@univerjs-pro/collaboration-client 0.5.0-nightly.202411251606 → 0.5.0-nightly.202411271606
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 _0x50a7d0=_0xc944;(function(_0x3720ac,_0x7adca0){const _0x153dfe=_0xc944,_0x2241cb=_0x3720ac();while(!![]){try{const _0x50f4bc=parseInt(_0x153dfe(0x2f3))/0x1*(-parseInt(_0x153dfe(0x2f7))/0x2)+-parseInt(_0x153dfe(0x21a))/0x3*(-parseInt(_0x153dfe(0x39e))/0x4)+parseInt(_0x153dfe(0x4ad))/0x5+parseInt(_0x153dfe(0x269))/0x6*(parseInt(_0x153dfe(0x307))/0x7)+-parseInt(_0x153dfe(0x4d1))/0x8*(-parseInt(_0x153dfe(0x123))/0x9)+parseInt(_0x153dfe(0x436))/0xa*(parseInt(_0x153dfe(0x44a))/0xb)+-parseInt(_0x153dfe(0x1f2))/0xc;if(_0x50f4bc===_0x7adca0)break;else _0x2241cb['push'](_0x2241cb['shift']());}catch(_0x265f27){_0x2241cb['push'](_0x2241cb['shift']());}}}(_0x1283,0x3bc24));var sr=Object['defineProperty'],ir=(_0x542dc2,_0x34665b,_0x1b5b4f)=>_0x34665b in _0x542dc2?sr(_0x542dc2,_0x34665b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b5b4f}):_0x542dc2[_0x34665b]=_0x1b5b4f,g=(_0x296a0f,_0x577952,_0x2943c8)=>ir(_0x296a0f,typeof _0x577952!=_0x50a7d0(0x104)?_0x577952+'':_0x577952,_0x2943c8);import{createIdentifier as _0x17c099,Inject as _0x33026a,Disposable as _0x514939,DisposableCollection as _0x2912e1,toDisposable as _0xd370ea,IConfigService as _0x533505,ILogService as _0x299b7a,UserManagerService as _0x7e9e9e,UniverInstanceType as _0x40c566,IUniverInstanceService as _0x28b990,LocaleService as _0x21b13d,Optional as _0x380b11,RxDisposable as _0x2983d9,Injector as _0x17dae8,Tools as _0x378638,ILocalStorageService as _0xd46cc5,Rectangle as _0x18079f,ICommandService as _0x2e05f8,DOC_RANGE_TYPE as _0x2b344d,JSONX as _0x198357,CommandType as _0x30659a,IPermissionService as _0x20da8e,IUndoRedoService as _0x5b0e0d,sequenceExecute as _0x396518,debounce as _0x10313f,COLORS as _0x461fc5,ColorKit as _0x3567ae,ThemeService as _0x466ca0,fromEventSubject as _0x3f0bbd,useDependency as _0x4739ca,connectInjector as _0x5acef2,Workbook as _0xf4680a,MentionType as _0x1ebf2e,isInternalEditorID as _0x520839,LocalUndoRedoService as _0x2bc4a,IContextService as _0x1b8983,DependentOn as _0x449762,Plugin as _0x318b29,touchDependencies as _0x8eb2c0,IAuthzIoService as _0x1540fd,IMentionIOService as _0x5f0aab,registerDependencies as _0x154853,mergeOverrideWithDependencies as _0x3bf386}from'@univerjs/core';import{Subject as _0x5b148b,merge as _0x4a9003,takeUntil as _0x2b44f7,BehaviorSubject as _0x22472b,distinctUntilChanged as _0x1b81a6,fromEvent as _0x226128,ReplaySubject as _0x136f27,take as _0x5cbb3a,map as _0x4aea5f,shareReplay as _0x58d478,of as _0x40848f,debounceTime as _0x521a38,filter as _0x1e1f37,switchMap as _0x150ba9,combineLatest as _0x5bce60,concatMap as _0x320b34,mapTo as _0x5c5108}from'rxjs';import{map as _0xe5458e,take as _0x5dbd78,filter as _0x7d8aef,delay as _0x1b5247,throttleTime as _0x755a89,takeUntil as _0x3d76fb,switchMap as _0x147bb3}from'rxjs/operators';import{MessageType as _0x4eaed3,Tooltip as _0x208dab}from'@univerjs/design';import{HTTPService as _0x278722,WebSocketService as _0x2d5820,MergeInterceptorFactory as _0x528585,HTTPRequest as _0x5522e9,UniverNetworkPlugin as _0x1bc40e,ThresholdInterceptorFactory as _0x4a5979}from'@univerjs/network';import{IBeforeCloseService as _0x3a2a39,IMessageService as _0xa8b33d,INotificationService as _0x45333f,useObservable as _0x30f937,BuiltInUIPart as _0x1815bd,IUIPartsService as _0x43dd49}from'@univerjs/ui';import{CollaborationEvent as _0x26d642,parseChangesetToProtocol as _0x1b0c2c,ISnapshotServerService as _0x2647d5,isTransformMutationFailure as _0x2432d6,isTransformMutationsWithChangesetSuccess as _0x545fca,ITransformService as _0x4af41b,RevisionService as _0x50f245,mapDocumentTypeToUniverType as _0x3726a0,isTransformChangesetsSuccess as _0x22d91c,CompressMutationService as _0x11828c,parseProtocolChangeset as _0x1785c0,SnapshotService as _0x413c1b,textEncoder as _0x4a42d6,b64DecodeUnicode as _0x806675,isTransformMutationsWithChangesetFailure as _0x2a96c9,UniverCollaborationPlugin as _0x8096fe}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1ff87b}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x370f46,RichTextEditingMutation as _0x5e3fd9,SetTextSelectionsOperation as _0x11d07f,DocSkeletonManagerService as _0x10e516}from'@univerjs/docs';import{DocIMEInputManagerService as _0x250d28,DocStateChangeManagerService as _0x4ac2d0,IDocClipboardService as _0x3b4ce9,NodePositionConvertToCursor as _0x34ed6a,NodePositionConvertToRectRange as _0x16a980,TEXT_RANGE_LAYER_INDEX as _0x2d2bdf,SetDocZoomRatioOperation as _0x57b946}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x3a11a0,SetSelectionsOperation as _0x313c8a,InsertSheetMutation as _0x47f947,EmptyMutation as _0x2b292b,WorkbookEditablePermission as _0x442ff4,RefRangeService as _0x353c51,EffectRefRangId as _0x417021,handleIRemoveRow as _0x32a4f4,handleIRemoveCol as _0x5369f9,handleMoveRange as _0x28f3e9,handleInsertRow as _0x23c885,handleInsertRangeMoveRight as _0x40abdd,handleInsertRangeMoveDown as _0x51a436,handleInsertCol as _0x1eb2df,handleDeleteRangeMoveUp as _0x1e512b,handleDeleteRangeMoveLeft as _0x471bf3,runRefRangeMutations as _0x51f717,SetWorksheetActivateCommand as _0x418451}from'@univerjs/sheets';import{IRenderManagerService as _0x984cff,Shape as _0x1626cc,Rect as _0x502301,getColor as _0x267fcd,RegularPolygon as _0x2a0302,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xe166d6,Vector2 as _0x47811b}from'@univerjs/engine-render';import{IImageIoService as _0x4a51fd,ImageSourceType as _0x253162,ImageUploadStatusType as _0x4e08d9}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0xe6e903,serializeRangeWithSheet as _0x49a24a}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0xb45b1b,VIEWPORT_KEY as _0x54d40e,getCoordByCell as _0x1070d0,getSheetObject as _0x47d2a2,SheetPermissionInitController as _0x5a857a}from'@univerjs/sheets-ui';import _0x4b9c5e,{forwardRef as _0x447627,useRef as _0x244bad,createElement as _0x513a66,useCallback as _0x311bd9}from'react';import{IRemoteInstanceService as _0x14e6c9}from'@univerjs/rpc';const mn=_0x50a7d0(0x285),pn=_0x50a7d0(0x19b),gn=_0x50a7d0(0x38b),_h='SEND_CHANGESET_TIMEOUT',Sn=0x7d0,In=_0x50a7d0(0xd3),Cn=_0x50a7d0(0x3a8),En=_0x50a7d0(0x223),bn=_0x50a7d0(0x177),Tn=0x7530,Di='HEARTBEAT_TIMEOUT',Pi=0x4e20,Rn=0x4e20,On=_0x50a7d0(0x2db),yn=0x3,wn=_0x50a7d0(0xe6),Dn=0x3e8,Pn=_0x50a7d0(0x278),Un=_0x50a7d0(0x317),Nn=_0x50a7d0(0x272),An='/universer-api/oidc/authpage';var Ui=(_0x6d77d0=>(_0x6d77d0[_0x6d77d0['UNDEFINED']=0x0]='UNDEFINED',_0x6d77d0[_0x6d77d0['OK']=0x1]='OK',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x3b3)]=0x2]=_0x50a7d0(0x3b3),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x45e)]=0x3]=_0x50a7d0(0x45e),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x40d)]=0x4]=_0x50a7d0(0x40d),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x44f)]=0x5]=_0x50a7d0(0x44f),_0x6d77d0[_0x6d77d0['ALREADY_EXISTS']=0x6]=_0x50a7d0(0x2f6),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x253)]=0x7]=_0x50a7d0(0x253),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x126)]=0x8]='TOO_MANY_REQUESTS',_0x6d77d0[_0x6d77d0['COMPLETION_FINISHED']=0x9]=_0x50a7d0(0x3be),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x1a7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x302)]=0x1771]=_0x50a7d0(0x302),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x26e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x2c3)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x118)]=0x1b59]='APPLY_REJECT',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x3f9)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x6d77d0[_0x6d77d0['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x6d77d0[_0x6d77d0['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x50a7d0(0xc4),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x355)]=0x1b5d]=_0x50a7d0(0x355),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x2bb)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x131)]=0x2329]=_0x50a7d0(0x131),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x27d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x6d77d0[_0x6d77d0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x50a7d0(0x426),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x1ba)]=0x232c]=_0x50a7d0(0x1ba),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x3dd)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x1cc)]=0x2711]=_0x50a7d0(0x1cc),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x128)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x443)]=0x2713]=_0x50a7d0(0x443),_0x6d77d0[_0x6d77d0[_0x50a7d0(0xf2)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x356)]=-0x1]='UNRECOGNIZED',_0x6d77d0))(Ui||{}),ce=(_0x1583fe=>(_0x1583fe[_0x1583fe[_0x50a7d0(0x1a1)]=0x0]=_0x50a7d0(0x1a1),_0x1583fe[_0x1583fe['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1583fe[_0x1583fe[_0x50a7d0(0x331)]=0x2]=_0x50a7d0(0x331),_0x1583fe[_0x1583fe[_0x50a7d0(0x18a)]=0x3]=_0x50a7d0(0x18a),_0x1583fe[_0x1583fe[_0x50a7d0(0xc3)]=0x4]=_0x50a7d0(0xc3),_0x1583fe[_0x1583fe[_0x50a7d0(0x356)]=-0x1]='UNRECOGNIZED',_0x1583fe))(ce||{}),W=(_0x20f12e=>(_0x20f12e[_0x20f12e['UNKNOWN_CMD']=0x0]=_0x50a7d0(0x21b),_0x20f12e[_0x20f12e[_0x50a7d0(0x4ac)]=0x1]=_0x50a7d0(0x4ac),_0x20f12e[_0x20f12e[_0x50a7d0(0x197)]=0x2]=_0x50a7d0(0x197),_0x20f12e[_0x20f12e[_0x50a7d0(0x215)]=0x3]=_0x50a7d0(0x215),_0x20f12e[_0x20f12e[_0x50a7d0(0x35b)]=0x4]=_0x50a7d0(0x35b),_0x20f12e[_0x20f12e[_0x50a7d0(0x48b)]=0x5]=_0x50a7d0(0x48b),_0x20f12e[_0x20f12e['RECV']=0x6]=_0x50a7d0(0xb5),_0x20f12e[_0x20f12e['UNRECOGNIZED']=-0x1]=_0x50a7d0(0x356),_0x20f12e))(W||{}),bs=(_0x268386=>(_0x268386[_0x268386[_0x50a7d0(0x172)]=0x0]=_0x50a7d0(0x172),_0x268386[_0x268386['OK']=0x1]='OK',_0x268386[_0x268386[_0x50a7d0(0x204)]=0x2]=_0x50a7d0(0x204),_0x268386[_0x268386[_0x50a7d0(0xcb)]=0x3e9]=_0x50a7d0(0xcb),_0x268386[_0x268386[_0x50a7d0(0x2e3)]=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x268386[_0x268386[_0x50a7d0(0x356)]=-0x1]=_0x50a7d0(0x356),_0x268386))(bs||{}),Ni=(_0xea68ec=>(_0xea68ec[_0xea68ec['Undefined']=0x0]=_0x50a7d0(0x3ce),_0xea68ec[_0xea68ec[_0x50a7d0(0x129)]=0x1]=_0x50a7d0(0x129),_0xea68ec[_0xea68ec['HttpExport']=0x2]='HttpExport',_0xea68ec[_0xea68ec[_0x50a7d0(0x1f4)]=0x3]=_0x50a7d0(0x1f4),_0xea68ec[_0xea68ec[_0x50a7d0(0xcc)]=0x4]='UnitSnapshot',_0xea68ec[_0xea68ec[_0x50a7d0(0x356)]=-0x1]=_0x50a7d0(0x356),_0xea68ec))(Ni||{});const ee=_0x50a7d0(0x46f),Mn={};function xn(_0x1afe1a){const _0x5c09ac=_0x50a7d0;var _0xbe863a,_0x5a6efd,_0x3a7628,_0x4566ef,_0x28f273;const _0x37c006=_0x1afe1a[_0x5c09ac(0x274)],_0x3e1149=JSON[_0x5c09ac(0x47f)](_0x37c006);switch(_0x3e1149[_0x5c09ac(0xff)]){case W[_0x5c09ac(0x48b)]:case W[_0x5c09ac(0x4ac)]:{const _0x51eafa=_0x3e1149['infoRsp'];return{..._0x3e1149,'data':_0x51eafa,'cmd':_0x3e1149[_0x5c09ac(0xff)]};}case W[_0x5c09ac(0x197)]:{const _0x40a4df=_0x3e1149[_0x5c09ac(0x3e4)];return{..._0x3e1149,'data':_0x40a4df,'cmd':_0x3e1149[_0x5c09ac(0xff)]};}case W[_0x5c09ac(0xb5)]:{const _0x3ffc45=_0x3e1149[_0x5c09ac(0x48e)];switch(_0x3ffc45[_0x5c09ac(0x424)]){case _0x26d642[_0x5c09ac(0x32f)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0xbe863a=_0x3ffc45['permissionRejEvent'])==null?void 0x0:_0xbe863a['cs']},'cmd':_0x3e1149['cmd']};case _0x26d642[_0x5c09ac(0x26d)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x5a6efd=_0x3ffc45[_0x5c09ac(0x235)])==null?void 0x0:_0x5a6efd['cs']},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x3b8)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x3a7628=_0x3ffc45[_0x5c09ac(0x310)])==null?void 0x0:_0x3a7628['cs']},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642['CHANGESET_REJ']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x4566ef=_0x3ffc45[_0x5c09ac(0x35c)])==null?void 0x0:_0x4566ef['cs']},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642['CHANGESET_SHOULD_RETRY']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x28f273=_0x3ffc45['csShouldRetryEvent'])==null?void 0x0:_0x28f273['cs']},'cmd':_0x3e1149['cmd']};case _0x26d642['UPDATE_CURSOR']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x1a5)]},'cmd':_0x3e1149['cmd']};case _0x26d642[_0x5c09ac(0x3cd)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x325)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x348)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45['leaveEvent']},'cmd':_0x3e1149['cmd']};case _0x26d642[_0x5c09ac(0x13b)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x108)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x435)]:case _0x26d642[_0x5c09ac(0xd0)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x16d)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642['LIVESHARE_TERMINATE']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x108)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x3a4)]:return{..._0x3e1149,'data':_0x3ffc45,'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x11e)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x41d)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x407)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x415)]},'cmd':_0x3e1149['cmd']};case _0x26d642['SHOULD_CLOSE_CONN']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x3c7)]},'cmd':_0x3e1149['cmd']};default:return _0x3e1149;}}default:return _0x3e1149;}}function Ln(_0x410936){const _0x5d1381=_0x50a7d0;switch(_0x410936['cmd']){case W[_0x5d1381(0x48b)]:case W['HELLO']:return JSON[_0x5d1381(0x2d6)]({'cmd':_0x410936[_0x5d1381(0xff)],'routeKey':_0x410936[_0x5d1381(0x49c)]});case W[_0x5d1381(0x35b)]:{let _0x2c7eb0;switch(_0x410936[_0x5d1381(0x274)][_0x5d1381(0x424)]){case _0x26d642[_0x5d1381(0x4ca)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x4ca)],'updateCursorEvent':_0x410936[_0x5d1381(0x274)][_0x5d1381(0x274)]};break;}case _0x26d642[_0x5d1381(0x348)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x348)],'leaveEvent':_0x410936[_0x5d1381(0x274)]['data']};break;}case _0x26d642['USERS_ENTER']:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x3cd)],'joinEvent':_0x410936['data'][_0x5d1381(0x274)]};break;}case _0x26d642['LIVESHARE_NEW_HOST']:{_0x2c7eb0={'eventID':_0x26d642['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x410936['data'][_0x5d1381(0x274)]};break;}case _0x26d642[_0x5d1381(0xd0)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0xd0)],'liveShareOperation':_0x410936['data']['data']};break;}case _0x26d642[_0x5d1381(0x2cc)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x2cc)],'liveShareTerminate':_0x410936[_0x5d1381(0x274)][_0x5d1381(0x274)]};break;}case _0x26d642['LIVESHARE_REQUEST_HOST']:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x188)],'liveShareRequestHost':_0x410936[_0x5d1381(0x274)][_0x5d1381(0x274)]};break;}case _0x26d642[_0x5d1381(0x435)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x435)]};break;}default:_0x2c7eb0={'eventID':_0x410936['data'][_0x5d1381(0x424)]};}return JSON[_0x5d1381(0x2d6)]({'cmd':_0x410936[_0x5d1381(0xff)],'routeKey':_0x410936[_0x5d1381(0x49c)],'collaMsg':_0x2c7eb0});}case W['JOIN']:return JSON['stringify']({'cmd':_0x410936[_0x5d1381(0xff)],'routeKey':_0x410936[_0x5d1381(0x49c)],'joinReq':_0x410936[_0x5d1381(0x274)]});case W[_0x5d1381(0x215)]:return JSON[_0x5d1381(0x2d6)]({'cmd':_0x410936['cmd'],'routeKey':_0x410936[_0x5d1381(0x49c)],'leaveReq':_0x410936[_0x5d1381(0x274)]});default:throw new Error(_0x5d1381(0x288));}}var $n=Object['defineProperty'],Hn=Object['getOwnPropertyDescriptor'],jn=(_0x19bfe3,_0x35b696,_0x46cfbd,_0x939166)=>{const _0x33f84a=_0x50a7d0;for(var _0xd48c45=_0x939166>0x1?void 0x0:_0x939166?Hn(_0x35b696,_0x46cfbd):_0x35b696,_0x2f99d1=_0x19bfe3[_0x33f84a(0x1d0)]-0x1,_0x29ea67;_0x2f99d1>=0x0;_0x2f99d1--)(_0x29ea67=_0x19bfe3[_0x2f99d1])&&(_0xd48c45=(_0x939166?_0x29ea67(_0x35b696,_0x46cfbd,_0xd48c45):_0x29ea67(_0xd48c45))||_0xd48c45);return _0x939166&&_0xd48c45&&$n(_0x35b696,_0x46cfbd,_0xd48c45),_0xd48c45;},qe=(_0x2d8302,_0x4753d3)=>(_0x2db6ea,_0x21fc4b)=>_0x4753d3(_0x2db6ea,_0x21fc4b,_0x2d8302);const Ai=_0x17c099('univer-pro.collaboration-client-socket-service');function Bn(_0x5a438b,_0x98317e,_0x23a258){const _0x5b4216=_0x50a7d0;return _0x5a438b+'/'+_0x98317e+_0x5b4216(0x224)+_0x23a258+_0x5b4216(0xb0);}let ss=class extends _0x514939{constructor(_0x180da1,_0xc7894,_0x25bad7,_0xf29a72,_0x589bf8){const _0x2ae80e=_0x50a7d0;super(),this[_0x2ae80e(0x314)]=_0x180da1,this[_0x2ae80e(0xbf)]=_0xc7894,this[_0x2ae80e(0x3bb)]=_0x25bad7,this['_logService']=_0xf29a72,this[_0x2ae80e(0x18f)]=_0x589bf8;}[_0x50a7d0(0x374)](_0x1e8792){const _0x2c22b9=_0x50a7d0,_0x3dbb88=this['_ws'][_0x2c22b9(0x374)](_0x1e8792);if(!_0x3dbb88)throw new Error(_0x2c22b9(0x49f));const _0x5a9199=new _0x2912e1(),_0x4c1422=new _0x5b148b();_0x5a9199['add'](_0x3dbb88[_0x2c22b9(0x4a7)][_0x2c22b9(0x479)](_0x37c5b7=>_0x4c1422['next'](_0x37c5b7))),_0x5a9199[_0x2c22b9(0x366)](_0xd370ea(()=>_0x4c1422[_0x2c22b9(0x3c4)]()));const _0x1d1598=new _0x5b148b();_0x5a9199['add'](_0x3dbb88['error$'][_0x2c22b9(0x479)](_0x30a81e=>_0x1d1598[_0x2c22b9(0x492)](_0x30a81e))),_0x5a9199[_0x2c22b9(0x366)](_0xd370ea(()=>_0x1d1598[_0x2c22b9(0x3c4)]()));const _0xe5bb2e=new _0x5b148b();_0x5a9199[_0x2c22b9(0x366)](_0x3dbb88[_0x2c22b9(0x103)][_0x2c22b9(0x479)](_0x1d0789=>{const _0x1b730a=_0x2c22b9,_0x4abbc4=xn(_0x1d0789);_0xe5bb2e[_0x1b730a(0x492)](_0x4abbc4);})),_0x5a9199['add'](_0xd370ea(()=>_0xe5bb2e[_0x2c22b9(0x3c4)]()));let _0x4cf208;const _0x21f7bc=()=>{const _0x47cea3=_0x2c22b9;_0x1d1598['next'](new Event(_0x47cea3(0x1b1))),_0x4c1422[_0x47cea3(0x492)](new CloseEvent('connection\x20error')),_0x4cf208[_0x47cea3(0x42b)]();};return _0x4cf208={'memberID':'','close$':_0x4c1422['asObservable'](),'error$':_0x1d1598[_0x2c22b9(0x1e8)](),'open$':_0x3dbb88[_0x2c22b9(0x241)],'message$':_0xe5bb2e[_0x2c22b9(0x1e8)](),'send':_0x247c8c=>{const _0xb930a=_0x2c22b9;if(_0x247c8c[_0xb930a(0xff)]===W[_0xb930a(0x35b)]){if(_0x247c8c['data'][_0xb930a(0x424)]===_0x26d642['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x4cf208,_0x247c8c[_0xb930a(0x274)])['catch'](_0x37bea0=>{const _0x4a323c=_0xb930a;this[_0x4a323c(0x422)][_0x4a323c(0x3a2)](_0x37bea0),_0x21f7bc();});return;}if(_0x247c8c[_0xb930a(0x274)][_0xb930a(0x424)]===_0x26d642[_0xb930a(0x222)]){const _0x246b61=_0x247c8c[_0xb930a(0x274)];this['_fetchMissChangesets'](_0x246b61)[_0xb930a(0x119)](_0x2dbc54=>{const _0x214141=_0xb930a;_0xe5bb2e[_0x214141(0x492)]({'cmd':W[_0x214141(0xb5)],'code':bs['OK'],'routeKey':_0x246b61[_0x214141(0x274)][_0x214141(0xaa)],'routeType':'','data':{'eventID':_0x26d642[_0x214141(0xec)],'data':{'changesets':_0x2dbc54}}});})[_0xb930a(0x217)](_0x1b28e9=>{const _0x3081b4=_0xb930a;this[_0x3081b4(0x422)]['error'](_0x1b28e9),_0x21f7bc();});return;}}_0x3dbb88[_0xb930a(0x23c)](Ln(_0x247c8c));},'close':()=>{const _0x5df247=_0x2c22b9;_0x3dbb88[_0x5df247(0x42b)](),_0x5a9199['dispose']();}},_0x4cf208;}async[_0x50a7d0(0x3a3)](_0x2409cb,_0x34df5f){const _0x3145be=_0x50a7d0;var _0x22ca3e,_0x1e38af;const {unitType:_0x3d013c,unitID:_0x1961d1,changeset:_0x3eb2a3}=_0x34df5f[_0x3145be(0x274)],_0x1356ab={'unitID':_0x1961d1,'memberID':_0x2409cb['memberID'],'type':_0x3d013c,'changeset':_0x1b0c2c(_0x3eb2a3)},_0xa3baf4=this[_0x3145be(0x3bb)][_0x3145be(0x4c6)](Pn),_0x16bc1d=this[_0x3145be(0x3bb)][_0x3145be(0x4c6)](ee),_0x14c176=Bn((_0x1e38af=(_0x22ca3e=_0x16bc1d==null?void 0x0:_0x16bc1d[_0x3145be(0x47c)])!=null?_0x22ca3e:_0xa3baf4)!=null?_0x1e38af:Un,_0x3d013c,_0x1961d1);try{await this['_http']['post'](_0x14c176,{'body':_0x1356ab});}catch(_0x36535a){throw this[_0x3145be(0x422)][_0x3145be(0x3a2)](_0x3145be(0x417),_0x3145be(0x389)),_0x36535a;}}async[_0x50a7d0(0x3bc)](_0x29b481){const _0x1de73b=_0x50a7d0,{unitID:_0x271d67,from:_0x29b3a8,to:_0x177106,unitType:_0x5d0aac}=_0x29b481[_0x1de73b(0x274)];return(await this['_snapshotServerService'][_0x1de73b(0x392)]({'metadata':void 0x0},{'unitID':_0x271d67,'type':_0x5d0aac,'from':_0x29b3a8,'to':_0x177106}))[_0x1de73b(0xfa)];}};ss=jn([qe(0x0,_0x33026a(_0x278722)),qe(0x1,_0x33026a(_0x2d5820)),qe(0x2,_0x533505),qe(0x3,_0x299b7a),qe(0x4,_0x2647d5)],ss);const kn='collaboration_new_changeset';function Wn(_0x5f114b){const _0x4dfc98=_0x50a7d0;return JSON[_0x4dfc98(0x2d6)](_0x5f114b)[_0x4dfc98(0x1d0)];}class Mi{constructor(){const _0x59f43c=_0x50a7d0;g(this,'_commentUpdate$',new _0x5b148b()),g(this,'commentUpdate$',this[_0x59f43c(0xdb)][_0x59f43c(0x1e8)]());}['onCommentUpdate'](_0x285761){this['_commentUpdate$']['next'](_0x285761);}}var Fn=Object[_0x50a7d0(0x15c)],Vn=Object[_0x50a7d0(0x18b)],Gn=(_0x8c3914,_0xe4c5ee,_0x108fe3,_0x45551e)=>{const _0x54ae84=_0x50a7d0;for(var _0x3d1512=_0x45551e>0x1?void 0x0:_0x45551e?Vn(_0xe4c5ee,_0x108fe3):_0xe4c5ee,_0xedf349=_0x8c3914[_0x54ae84(0x1d0)]-0x1,_0x373899;_0xedf349>=0x0;_0xedf349--)(_0x373899=_0x8c3914[_0xedf349])&&(_0x3d1512=(_0x45551e?_0x373899(_0xe4c5ee,_0x108fe3,_0x3d1512):_0x373899(_0x3d1512))||_0x3d1512);return _0x45551e&&_0x3d1512&&Fn(_0xe4c5ee,_0x108fe3,_0x3d1512),_0x3d1512;},Ws=(_0x2ab125,_0x530cf3)=>(_0x1b7b52,_0x1c19a8)=>_0x530cf3(_0x1b7b52,_0x1c19a8,_0x2ab125);let Me=class extends _0x514939{constructor(_0x3b9bf8,_0x4ce08a){const _0x3f1095=_0x50a7d0;super(),g(this,_0x3f1095(0x4a3),new Map()),(this['_univerInstanceService']=_0x3b9bf8,this[_0x3f1095(0xae)]=_0x4ce08a,this[_0x3f1095(0x450)](_0xd370ea(_0x4a9003(this['_univerInstanceService'][_0x3f1095(0x42a)](_0x40c566['UNIVER_SHEET'])[_0x3f1095(0x157)](_0xe5458e(_0x446a78=>_0x446a78[_0x3f1095(0x14f)]())),this[_0x3f1095(0x283)]['getTypeOfUnitDisposed$'](_0x40c566[_0x3f1095(0x26b)])[_0x3f1095(0x157)](_0xe5458e(_0x3eb7d6=>_0x3eb7d6[_0x3f1095(0x14f)]())),this[_0x3f1095(0x283)]['getTypeOfUnitDisposed$'](_0x40c566['UNIVER_SLIDE'])[_0x3f1095(0x157)](_0xe5458e(_0x5a8dc5=>_0x5a8dc5['getUnitId']())))[_0x3f1095(0x479)](_0xfd3677=>this[_0x3f1095(0xc9)](_0xfd3677)))));}[_0x50a7d0(0x287)](_0x70e23c){const _0xfdef72=_0x50a7d0;this[_0xfdef72(0xae)][_0xfdef72(0x287)](_0x70e23c);}[_0x50a7d0(0x3e2)](){const _0x180973=_0x50a7d0;return this['_userManagerService'][_0x180973(0x3e2)]();}[_0x50a7d0(0x163)](_0x5e75c8,_0x5ce7f4){const _0x1de452=_0x50a7d0;let _0x47d10b=this['_roomMembers']['get'](_0x5e75c8);_0x47d10b||(_0x47d10b=new Yn(),this[_0x1de452(0x4a3)][_0x1de452(0x2ce)](_0x5e75c8,_0x47d10b)),_0x47d10b['updateMember'](_0x5ce7f4);}['removeMember'](_0x24fee6,_0x5d85b2){const _0x23965f=_0x50a7d0,_0x550a47=this[_0x23965f(0x4a3)][_0x23965f(0x373)](_0x24fee6);_0x550a47&&_0x550a47[_0x23965f(0x2ff)](_0x5d85b2);}['getRoom'](_0x566797){const _0x5d22e3=_0x50a7d0;return this[_0x5d22e3(0x4a3)][_0x5d22e3(0x373)](_0x566797);}['getMember'](_0x40ae34,_0x5e21a7){const _0x13bb6c=_0x50a7d0,_0x4177a7=this['_roomMembers'][_0x13bb6c(0x373)](_0x40ae34);if(_0x4177a7)return _0x4177a7[_0x13bb6c(0x34c)](_0x5e21a7);}[_0x50a7d0(0xc9)](_0x24ac4b){const _0x369a10=_0x50a7d0,_0x23f6f9=this[_0x369a10(0x4a3)][_0x369a10(0x373)](_0x24ac4b);_0x23f6f9&&(_0x23f6f9['dispose'](),this[_0x369a10(0x4a3)]['delete'](_0x24ac4b));}[_0x50a7d0(0x45c)](){const _0x2205b7=_0x50a7d0;this[_0x2205b7(0x4a3)][_0x2205b7(0x375)](_0x47c8b1=>_0x47c8b1[_0x2205b7(0x45c)]()),this[_0x2205b7(0x4a3)][_0x2205b7(0x21f)]();}};Me=Gn([Ws(0x0,_0x28b990),Ws(0x1,_0x33026a(_0x7e9e9e))],Me);class Yn extends _0x514939{constructor(){const _0x5d2b6b=_0x50a7d0;super(...arguments),g(this,_0x5d2b6b(0x2e8),new Map());}['dispose'](){const _0x3a2819=_0x50a7d0;this[_0x3a2819(0x2e8)]['clear']();}[_0x50a7d0(0x163)](_0x550717){const _0x2622bd=_0x50a7d0;this[_0x2622bd(0x2e8)][_0x2622bd(0x2ce)](_0x550717[_0x2622bd(0x13f)],_0x550717);}[_0x50a7d0(0x2ff)](_0x7a8bf3){const _0x18fd57=_0x50a7d0;this[_0x18fd57(0x2e8)][_0x18fd57(0x18d)](_0x7a8bf3);}['getMember'](_0x2454e3){const _0x32d147=_0x50a7d0;return this[_0x32d147(0x2e8)][_0x32d147(0x373)](_0x2454e3);}['getAllMembers'](){const _0x30d3a4=_0x50a7d0;return Array[_0x30d3a4(0x3bf)](this[_0x30d3a4(0x2e8)][_0x30d3a4(0x410)]());}}var Kn=Object['defineProperty'],zn=Object[_0x50a7d0(0x18b)],qn=(_0x570e5b,_0xdaf0b8,_0x2f2d48,_0x1a5d90)=>{const _0x241ada=_0x50a7d0;for(var _0x116634=_0x1a5d90>0x1?void 0x0:_0x1a5d90?zn(_0xdaf0b8,_0x2f2d48):_0xdaf0b8,_0x1f91d5=_0x570e5b[_0x241ada(0x1d0)]-0x1,_0x38626a;_0x1f91d5>=0x0;_0x1f91d5--)(_0x38626a=_0x570e5b[_0x1f91d5])&&(_0x116634=(_0x1a5d90?_0x38626a(_0xdaf0b8,_0x2f2d48,_0x116634):_0x38626a(_0x116634))||_0x116634);return _0x1a5d90&&_0x116634&&Kn(_0xdaf0b8,_0x2f2d48,_0x116634),_0x116634;},be=(_0x287b09,_0x212778)=>(_0x349a0d,_0x34dd60)=>_0x212778(_0x349a0d,_0x34dd60,_0x287b09),ve=(_0x2d0626=>(_0x2d0626[_0x2d0626[_0x50a7d0(0x3ea)]=0x0]=_0x50a7d0(0x3ea),_0x2d0626[_0x2d0626['JOINING']=0x1]=_0x50a7d0(0x4c5),_0x2d0626[_0x2d0626[_0x50a7d0(0x4a2)]=0x2]=_0x50a7d0(0x4a2),_0x2d0626[_0x2d0626['ONLINE']=0x3]='ONLINE',_0x2d0626))(ve||{});let is=class extends _0x2983d9{constructor(_0x427b63,_0x305547,_0x5d9ae7,_0x5d2249,_0x4fca08,_0x3172ac,_0xbe1aed,_0xf2b0a8,_0x158e40,_0x5dd209){const _0x44ec65=_0x50a7d0;super(),g(this,_0x44ec65(0x1e5),new _0x22472b(0x0)),g(this,'sessionStatus$',this[_0x44ec65(0x1e5)][_0x44ec65(0x1e8)]()),g(this,_0x44ec65(0x419),new _0x5b148b()),g(this,_0x44ec65(0x414),this[_0x44ec65(0x419)][_0x44ec65(0x1e8)]()),g(this,_0x44ec65(0x4ae)),g(this,'_socketMessageSubscription'),g(this,_0x44ec65(0xfd)),g(this,_0x44ec65(0x1c6),!0x1),g(this,'_telemetryInfo',null),(this[_0x44ec65(0x3d7)]=_0x427b63,this['_logService']=_0x5d9ae7,this[_0x44ec65(0x47b)]=_0x5d2249,this[_0x44ec65(0xdf)]=_0x4fca08,this[_0x44ec65(0x3bb)]=_0x3172ac,this['_localeService']=_0xbe1aed,this[_0x44ec65(0x35d)]=_0xf2b0a8,this[_0x44ec65(0x30b)]=_0x158e40,this[_0x44ec65(0x1dd)]=_0x5dd209,this[_0x44ec65(0x1c6)]=!!this['_telemetryService'],_0x305547[_0x44ec65(0x157)](_0x2b44f7(this[_0x44ec65(0x42e)]))[_0x44ec65(0x479)](_0x505dba=>{const _0x4eecfb=_0x44ec65;var _0x97a09a;typeof _0x505dba>'u'||(this[_0x4eecfb(0x4ae)]=_0x505dba,_0x505dba?(this['_joinRoom'](_0x505dba),this[_0x4eecfb(0x42f)]=_0x505dba[_0x4eecfb(0x103)][_0x4eecfb(0x479)](_0xbff601=>{const _0x3f2249=_0x4eecfb;_0xbff601[_0x3f2249(0x49c)]===this[_0x3f2249(0x3d7)]&&this['_onCombEvent'](_0xbff601);})):(this[_0x4eecfb(0xfb)](),this[_0x4eecfb(0x1e5)][_0x4eecfb(0x492)](0x2),(_0x97a09a=this['_socketMessageSubscription'])==null||_0x97a09a[_0x4eecfb(0x4b2)](),this[_0x4eecfb(0x42f)]=null));}),this[_0x44ec65(0x450)](this['_beforeCloseService'][_0x44ec65(0xd7)](()=>{const _0xb35bea=_0x44ec65;var _0xcfa50f;(_0xcfa50f=this['_socket'])==null||_0xcfa50f[_0xb35bea(0x23c)]({'cmd':W[_0xb35bea(0x215)],'data':{'roomID':this[_0xb35bea(0x3d7)]}});})));}get['sessionStatus'](){const _0x3d4a2=_0x50a7d0;return this[_0x3d4a2(0x1e5)][_0x3d4a2(0x185)]();}[_0x50a7d0(0x347)](){var _0x3a0069,_0x4a02d9;return(_0x4a02d9=(_0x3a0069=this['_socket'])==null?void 0x0:_0x3a0069['memberID'])!=null?_0x4a02d9:null;}['dispose'](){const _0x490d15=_0x50a7d0;super[_0x490d15(0x45c)](),this[_0x490d15(0x42e)][_0x490d15(0x492)](),this[_0x490d15(0x42e)]['complete']();}[_0x50a7d0(0x42b)](){const _0x51d960=_0x50a7d0;var _0x48277b,_0x45ece1;this['_throwTelemetryCollaborationNewChangeset'](),(_0x48277b=this['_socket'])==null||_0x48277b[_0x51d960(0x23c)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x45ece1=this[_0x51d960(0x4ae)])==null||_0x45ece1[_0x51d960(0x42b)](),this[_0x51d960(0x419)]['complete'](),this[_0x51d960(0x1e5)][_0x51d960(0x3c4)](),this[_0x51d960(0x45c)]();}[_0x50a7d0(0x341)](_0x59f559){const _0x34d971=_0x50a7d0;_0x59f559[_0x34d971(0xff)]===W[_0x34d971(0x197)]?this[_0x34d971(0x1ce)](_0x59f559):_0x59f559[_0x34d971(0xff)]===W['RECV']&&this['_onRecvEvent'](_0x59f559);}[_0x50a7d0(0x1b9)](_0xed96c2){const _0x2c754f=_0x50a7d0;this[_0x2c754f(0x1e5)]['next'](0x1),_0xed96c2[_0x2c754f(0x23c)]({'cmd':W[_0x2c754f(0x197)],'routeKey':this[_0x2c754f(0x3d7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2c754f(0x3d7)]}]}});}[_0x50a7d0(0x1ce)](_0x557299){const _0x3e9c4b=_0x50a7d0;var _0x54a242;if(_0x557299[_0x3e9c4b(0x48a)]===bs['FAIL']){this[_0x3e9c4b(0xdf)]['show']({'type':_0x4eaed3[_0x3e9c4b(0x4c9)],'content':this[_0x3e9c4b(0x193)]['t'](_0x3e9c4b(0x2c4))}),this['_sessionStatus$'][_0x3e9c4b(0x492)](0x2);return;}this[_0x3e9c4b(0x1e5)][_0x3e9c4b(0x492)](0x3);const _0x1ae639=(_0x54a242=_0x557299[_0x3e9c4b(0x274)][_0x3e9c4b(0x199)][this['_unitID']])==null?void 0x0:_0x54a242[_0x3e9c4b(0x3a7)];_0x1ae639&&_0x1ae639['forEach'](_0x5222e9=>this[_0x3e9c4b(0x35d)][_0x3e9c4b(0x163)](this[_0x3e9c4b(0x3d7)],_0x5222e9));}[_0x50a7d0(0x246)](_0x5a3c7a){const _0x10ceef=_0x50a7d0;try{const _0x24494c=_0x5a3c7a['data'];switch(_0x24494c[_0x10ceef(0x424)]){case _0x26d642['USERS_ENTER']:this[_0x10ceef(0x2b1)](_0x24494c),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x348)]:this[_0x10ceef(0x2fc)](_0x24494c),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x26d)]:case _0x26d642[_0x10ceef(0x354)]:this[_0x10ceef(0xf6)](),this[_0x10ceef(0x2b3)](),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x3a4)]:this[_0x10ceef(0x422)][_0x10ceef(0x3a2)](_0x10ceef(0x4cb)+JSON['stringify'](_0x24494c)),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x11e)]:this[_0x10ceef(0x30b)]['onCommentUpdate'](_0x24494c[_0x10ceef(0x274)]),this[_0x10ceef(0x419)]['next'](_0x24494c);break;default:this[_0x10ceef(0x419)]['next'](_0x24494c);}}catch(_0xd53578){this[_0x10ceef(0x422)][_0x10ceef(0x3a2)](_0xd53578,_0x5a3c7a);}}[_0x50a7d0(0x2b1)](_0x103720){const _0x877842=_0x50a7d0;this[_0x877842(0x35d)][_0x877842(0x163)](this[_0x877842(0x3d7)],_0x103720[_0x877842(0x274)]);}[_0x50a7d0(0x2fc)](_0x5c383e){const _0x2382c8=_0x50a7d0;this[_0x2382c8(0x35d)][_0x2382c8(0x2ff)](this['_unitID'],_0x5c383e[_0x2382c8(0x274)]['memberID']);}async[_0x50a7d0(0x23c)](_0x4a1e6f,_0x9c0cd5){const _0x266db6=_0x50a7d0;if(this['sessionStatus']!==0x3||!this[_0x266db6(0x4ae)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4a1e6f[_0x266db6(0x424)]===_0x26d642[_0x266db6(0x1e4)]&&(this[_0x266db6(0x2d1)](),this['_startTelemetryCollaborationNewChangeset'](_0x4a1e6f)),this['_socket'][_0x266db6(0x23c)]({'cmd':W[_0x266db6(0x35b)],'routeKey':_0x9c0cd5,'routeType':'','data':_0x4a1e6f});}catch(_0x284cbd){this[_0x266db6(0x422)][_0x266db6(0x3a2)](_0x284cbd);}}[_0x50a7d0(0x2d1)](){const _0x485aff=_0x50a7d0;var _0x51393e;this[_0x485aff(0xfd)]=window['setTimeout'](()=>{const _0x51e48f=_0x485aff;this['_collaborationTimeoutTimer']=null,this[_0x51e48f(0xdf)]['show']({'type':_0x4eaed3[_0x51e48f(0x282)],'content':this[_0x51e48f(0x193)]['t'](_0x51e48f(0x4be))});},(_0x51393e=this[_0x485aff(0x3bb)][_0x485aff(0x4c6)](Di))!=null?_0x51393e:Pi);}['_clearCollaborationTimeoutTimer'](){const _0x5b188d=_0x50a7d0;this[_0x5b188d(0xfd)]&&(clearTimeout(this[_0x5b188d(0xfd)]),this[_0x5b188d(0xfd)]=null);}[_0x50a7d0(0x40c)](_0x56caf8){const _0x5dadf0=_0x50a7d0;if(!this[_0x5dadf0(0x1c6)])return;const {data:_0xd7927a}=_0x56caf8,{unitID:_0x5e8c8a,changeset:_0x12caee}=_0xd7927a,{mutations:_0x5e4796,type:_0x12fb8f}=_0x12caee;this['_telemetryInfo']={'unitId':_0x5e8c8a,'type':_0x12fb8f,'startTime':performance[_0x5dadf0(0x15a)](),'stopTime':0x0,'duration':0x0,'size':Wn(_0x5e4796)};}[_0x50a7d0(0xf6)](){const _0x2e7d10=_0x50a7d0;if(this['_shouldReportTelemetry']){if(!this[_0x2e7d10(0x39d)]){this[_0x2e7d10(0x422)][_0x2e7d10(0x3a2)](_0x2e7d10(0x417),_0x2e7d10(0x467));return;}this[_0x2e7d10(0x39d)][_0x2e7d10(0x4d0)]=performance[_0x2e7d10(0x15a)](),this[_0x2e7d10(0x39d)]['duration']=this[_0x2e7d10(0x39d)][_0x2e7d10(0x4d0)]-this[_0x2e7d10(0x39d)]['startTime'],this[_0x2e7d10(0x1dd)][_0x2e7d10(0x2f0)](kn,this[_0x2e7d10(0x39d)]),this[_0x2e7d10(0x39d)]=null;}}[_0x50a7d0(0xfb)](){const _0x27228f=_0x50a7d0;this[_0x27228f(0x39d)]=null;}};is=qn([be(0x2,_0x299b7a),be(0x3,_0x3a2a39),be(0x4,_0xa8b33d),be(0x5,_0x533505),be(0x6,_0x33026a(_0x21b13d)),be(0x7,_0x33026a(Me)),be(0x8,_0x33026a(Mi)),be(0x9,_0x380b11(_0x1ff87b))],is);var Xn=Object['defineProperty'],Jn=Object[_0x50a7d0(0x18b)],Zn=(_0x318848,_0x381c16,_0x12285f,_0x2c036c)=>{for(var _0x25a3cf=_0x2c036c>0x1?void 0x0:_0x2c036c?Jn(_0x381c16,_0x12285f):_0x381c16,_0xaefc80=_0x318848['length']-0x1,_0x474f6f;_0xaefc80>=0x0;_0xaefc80--)(_0x474f6f=_0x318848[_0xaefc80])&&(_0x25a3cf=(_0x2c036c?_0x474f6f(_0x381c16,_0x12285f,_0x25a3cf):_0x474f6f(_0x25a3cf))||_0x25a3cf);return _0x2c036c&&_0x25a3cf&&Xn(_0x381c16,_0x12285f,_0x25a3cf),_0x25a3cf;},we=(_0x4590b3,_0x477702)=>(_0x16041d,_0x375273)=>_0x477702(_0x16041d,_0x375273,_0x4590b3);let xe=class extends _0x514939{constructor(_0x414a80,_0x97ac0b,_0x59ebc9,_0xd0459,_0x8a4089,_0x2f92e9,_0x4ae8c2){const _0x906537=_0x50a7d0;super(),g(this,_0x906537(0x4cd),new _0x22472b(void 0x0)),g(this,_0x906537(0x3e3),this[_0x906537(0x4cd)][_0x906537(0x1e8)]()),g(this,'_candidateSocket',null),g(this,_0x906537(0x1a6),new Map()),g(this,'_status$',new _0x22472b(ve[_0x906537(0x3ea)])),g(this,'status$',this[_0x906537(0x390)]['asObservable']()),g(this,_0x906537(0x31b),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x906537(0x421),0x0),g(this,_0x906537(0x12e)),g(this,_0x906537(0x22a)),(this[_0x906537(0x408)]=_0x414a80,this[_0x906537(0x193)]=_0x97ac0b,this[_0x906537(0xdf)]=_0x59ebc9,this[_0x906537(0x422)]=_0xd0459,this[_0x906537(0x3bb)]=_0x8a4089,this[_0x906537(0x247)]=_0x2f92e9,this[_0x906537(0x38a)]=_0x4ae8c2,this['_initEventListeners']());}get[_0x50a7d0(0x4ae)](){const _0x10abf9=_0x50a7d0;return this[_0x10abf9(0x4cd)][_0x10abf9(0x185)]();}[_0x50a7d0(0x3ac)](){const _0x414cdc=_0x50a7d0;this[_0x414cdc(0x213)](),this[_0x414cdc(0x400)]();}[_0x50a7d0(0x45c)](){const _0x463392=_0x50a7d0;super[_0x463392(0x45c)](),this[_0x463392(0x1a6)][_0x463392(0x375)](_0x1df7b2=>_0x1df7b2[_0x463392(0x45c)]()),this[_0x463392(0x1a6)]['clear'](),this[_0x463392(0x390)][_0x463392(0x3c4)]();}async[_0x50a7d0(0x30a)](_0x37cbb1){const _0x422cb7=_0x50a7d0;if(this[_0x422cb7(0x1a6)]['has'](_0x37cbb1))return this[_0x422cb7(0x1a6)][_0x422cb7(0x373)](_0x37cbb1);this[_0x422cb7(0x1d4)]();const _0x3650dd=this['_injector'][_0x422cb7(0xe7)](is,_0x37cbb1,this[_0x422cb7(0x4cd)][_0x422cb7(0x1e8)]());return this['_sessions'][_0x422cb7(0x2ce)](_0x37cbb1,_0x3650dd),_0x3650dd;}[_0x50a7d0(0xc1)](_0x29970a){const _0x4e8370=_0x50a7d0;var _0x377882;const _0x35071d=this[_0x4e8370(0x1a6)]['get'](_0x29970a);_0x35071d&&(this[_0x4e8370(0x1a6)]['delete'](_0x29970a),_0x35071d[_0x4e8370(0x42b)]()),this[_0x4e8370(0x1a6)][_0x4e8370(0x1e7)]||(_0x377882=this['_socket'])==null||_0x377882[_0x4e8370(0x42b)]();}[_0x50a7d0(0x466)](){const _0xf10e3f=_0x50a7d0;this['_retryCount']=0x0,this[_0xf10e3f(0x1f0)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xf10e3f(0x1f0)]=null),this[_0xf10e3f(0xb7)]();}async['_getSessionTicket'](){const _0x55dc03=_0x50a7d0;var _0x5c000a,_0x2e9cca,_0x4dae57;const _0x546281=this[_0x55dc03(0x3bb)][_0x55dc03(0x4c6)](ee),_0x589a83=(_0x5c000a=_0x546281==null?void 0x0:_0x546281[_0x55dc03(0x2ab)])!=null?_0x5c000a:En;return(_0x4dae57=(_0x2e9cca=(await this[_0x55dc03(0x38a)][_0x55dc03(0x373)](_0x589a83,{'headers':{'Content-Type':_0x55dc03(0x133)}}))['body'])==null?void 0x0:_0x2e9cca[_0x55dc03(0x37d)])!=null?_0x4dae57:'';}['_createSocketURL'](_0xe20f48){const _0x2e9a25=_0x50a7d0;var _0x38b60d,_0x4e73ed;const _0x1a6631=this['_configService'][_0x2e9a25(0x4c6)](In),_0x1bf7b3=this[_0x2e9a25(0x3bb)][_0x2e9a25(0x4c6)](ee),_0x15afd3=(_0x4e73ed=(_0x38b60d=_0x1bf7b3==null?void 0x0:_0x1bf7b3[_0x2e9a25(0x469)])!=null?_0x38b60d:_0x1a6631)!=null?_0x4e73ed:Cn,_0x26ae3b=new URL(_0x15afd3,window[_0x2e9a25(0x41a)]['origin']);return _0x26ae3b[_0x2e9a25(0x484)]['set']('sessionTicket',_0xe20f48),_0x26ae3b[_0x2e9a25(0x45a)]();}async[_0x50a7d0(0x1f9)](){const _0x5d3f47=_0x50a7d0,_0x3eed1b=await this[_0x5d3f47(0x2f5)](),_0x5ca9b0=this['_createSocketURL'](_0x3eed1b),_0x6a6939=this[_0x5d3f47(0x247)][_0x5d3f47(0x374)](_0x5ca9b0);return this['_candidateSocket']=_0x6a6939,_0x6a6939;}async[_0x50a7d0(0x1d4)](){const _0x33374e=_0x50a7d0;var _0x45cf8c,_0x104579;try{const _0x40c2a0=(_0x104579=(_0x45cf8c=this[_0x33374e(0x4ae)])!=null?_0x45cf8c:this['_candidateSocket'])!=null?_0x104579:await this[_0x33374e(0x1f9)]();if(_0x40c2a0){const _0x467753=_0x40c2a0[_0x33374e(0x23c)];_0x40c2a0[_0x33374e(0x23c)]=_0x2bd316=>(this[_0x33374e(0x2b5)](),_0x467753[_0x33374e(0x335)](_0x40c2a0,[_0x2bd316])),_0x40c2a0[_0x33374e(0x103)][_0x33374e(0x479)](_0x2edb70=>this['_onMessage'](_0x40c2a0,_0x2edb70)),_0x40c2a0[_0x33374e(0x432)][_0x33374e(0x157)](_0x5dbd78(0x1))['subscribe'](_0x508dcd=>this[_0x33374e(0x422)][_0x33374e(0x3a2)](_0x33374e(0x2b8),_0x508dcd)),_0x40c2a0[_0x33374e(0x241)][_0x33374e(0x157)](_0x5dbd78(0x1))[_0x33374e(0x479)](()=>{const _0x3c3181=_0x33374e;this[_0x3c3181(0x152)](_0x40c2a0);}),_0x40c2a0[_0x33374e(0x4a7)]['pipe'](_0x5dbd78(0x1))[_0x33374e(0x479)](_0x24c110=>{const _0x17dc49=_0x33374e;this['_logService'][_0x17dc49(0x165)](_0x17dc49(0x112),_0x17dc49(0x4cc),_0x24c110),this[_0x17dc49(0x448)]();});}}catch(_0x4f90fc){this[_0x33374e(0x422)]['error'](_0x4f90fc),this[_0x33374e(0x448)]();}}[_0x50a7d0(0x152)](_0x57f544){const _0x2ecd6c=_0x50a7d0;this['_logService'][_0x2ecd6c(0x165)](_0x2ecd6c(0x112),_0x2ecd6c(0x13e)),_0x57f544[_0x2ecd6c(0x23c)]({'cmd':W[_0x2ecd6c(0x4ac)]}),this[_0x2ecd6c(0x2b5)]();}[_0x50a7d0(0x213)](){const _0x1d657b=_0x50a7d0;window['addEventListener']('offline',()=>this[_0x1d657b(0x3cb)]());}[_0x50a7d0(0x3cb)](){const _0x2049aa=_0x50a7d0;this[_0x2049aa(0x31b)]=!0x1,this['_candidateSocket']=null,this[_0x2049aa(0x390)][_0x2049aa(0x492)](ve['OFFLINE']),this[_0x2049aa(0x4cd)][_0x2049aa(0x492)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x50a7d0(0x448)](){const _0x1b31f1=_0x50a7d0;var _0x1dca1e;this[_0x1b31f1(0x3cb)](),this['_retryCount']<((_0x1dca1e=this[_0x1b31f1(0x3bb)][_0x1b31f1(0x4c6)](On))!=null?_0x1dca1e:yn)?(this[_0x1b31f1(0xdf)][_0x1b31f1(0x179)]({'key':'collaboration-session-retry','type':_0x4eaed3[_0x1b31f1(0x4c9)],'content':this[_0x1b31f1(0x193)]['t'](_0x1b31f1(0x2c9))}),this[_0x1b31f1(0xb7)]()):this['_messageService'][_0x1b31f1(0x179)]({'key':_0x1b31f1(0x47d),'type':_0x4eaed3['Error'],'content':this[_0x1b31f1(0x193)]['t'](_0x1b31f1(0x4b6))});}[_0x50a7d0(0x400)](){const _0x5a5234=_0x50a7d0,_0x3238b2=()=>{const _0x44b9fa=_0xc944;this['_socket']||this[_0x44b9fa(0x466)]();},_0x51a65e=()=>{const _0x25199f=_0xc944;this['_socket']||document['visibilityState']==='hidden'||this[_0x25199f(0x466)]();};window[_0x5a5234(0x3ae)](_0x5a5234(0x1bc),_0x3238b2),document[_0x5a5234(0x3ae)](_0x5a5234(0x145),_0x51a65e);}[_0x50a7d0(0xb7)](){const _0x2b66e2=_0x50a7d0;var _0xe25588;const _0x4b8f70=this['_retryCount'],_0x31efa7=this[_0x2b66e2(0x3bb)][_0x2b66e2(0x4c6)](ee),_0x733aa5=_0x4b8f70===0x0?0x0:((_0xe25588=_0x31efa7==null?void 0x0:_0x31efa7['retryConnectingInterval'])!=null?_0xe25588:Rn)*0x2**_0x4b8f70;this['_retryConnectingTimer']=window['setTimeout'](()=>{const _0x2f4ea9=_0x2b66e2;clearTimeout(this['_retryConnectingTimer']),this[_0x2f4ea9(0x1f0)]=null,this[_0x2f4ea9(0x1d4)]();},_0x733aa5),this[_0x2b66e2(0x421)]+=0x1;}[_0x50a7d0(0x324)](_0x2f85d3,_0x221940){const _0x1318f5=_0x50a7d0,{cmd:_0x1f11bd}=_0x221940;_0x1f11bd===W['HELLO']&&!this[_0x1318f5(0x31b)]&&(_0x2f85d3[_0x1318f5(0x13f)]=_0x221940[_0x1318f5(0x274)][_0x1318f5(0x13f)],this[_0x1318f5(0x4cd)][_0x1318f5(0x492)](_0x2f85d3),this[_0x1318f5(0x390)][_0x1318f5(0x492)](ve[_0x1318f5(0x156)]),this[_0x1318f5(0x31b)]=!0x0,this[_0x1318f5(0x3ba)]=null),_0x1f11bd===W[_0x1318f5(0x48b)]&&this[_0x1318f5(0x1ed)](),this[_0x1318f5(0x2b5)]();}['_rescheduleHeartbeat'](){const _0x533d70=_0x50a7d0;var _0x25c25d;this[_0x533d70(0x427)](),this[_0x533d70(0x12e)]=window[_0x533d70(0x367)](()=>this[_0x533d70(0xfe)](),(_0x25c25d=this[_0x533d70(0x3bb)][_0x533d70(0x4c6)](bn))!=null?_0x25c25d:Tn);}[_0x50a7d0(0xfe)](){const _0x333253=_0x50a7d0;this[_0x333253(0x4ae)][_0x333253(0x23c)]({'cmd':W[_0x333253(0x48b)]}),this[_0x333253(0x477)]();}['_waitForHeartbeatResponse'](){const _0x35b998=_0x50a7d0;var _0x108720;this[_0x35b998(0x22a)]=window[_0x35b998(0x367)](()=>this['_onConnectionFailed'](),(_0x108720=this['_configService'][_0x35b998(0x4c6)](Di))!=null?_0x108720:Pi);}[_0x50a7d0(0x427)](){const _0xfef7d5=_0x50a7d0;this[_0xfef7d5(0x12e)]!=null&&(clearTimeout(this[_0xfef7d5(0x12e)]),this[_0xfef7d5(0x12e)]=null);}[_0x50a7d0(0x1ed)](){const _0x2af7aa=_0x50a7d0;this[_0x2af7aa(0x22a)]!=null&&(clearTimeout(this[_0x2af7aa(0x22a)]),this[_0x2af7aa(0x22a)]=null);}};xe=Zn([we(0x0,_0x33026a(_0x17dae8)),we(0x1,_0x33026a(_0x21b13d)),we(0x2,_0xa8b33d),we(0x3,_0x299b7a),we(0x4,_0x533505),we(0x5,Ai),we(0x6,_0x33026a(_0x278722))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x50a7d0(0xc6)]((i+0x100)[_0x50a7d0(0x45a)](0x10)[_0x50a7d0(0x2bf)](0x1));function Qn(_0xf5bf73,_0x2bf021=0x0){const _0x3a7e94=_0x50a7d0;return(Y[_0xf5bf73[_0x2bf021+0x0]]+Y[_0xf5bf73[_0x2bf021+0x1]]+Y[_0xf5bf73[_0x2bf021+0x2]]+Y[_0xf5bf73[_0x2bf021+0x3]]+'-'+Y[_0xf5bf73[_0x2bf021+0x4]]+Y[_0xf5bf73[_0x2bf021+0x5]]+'-'+Y[_0xf5bf73[_0x2bf021+0x6]]+Y[_0xf5bf73[_0x2bf021+0x7]]+'-'+Y[_0xf5bf73[_0x2bf021+0x8]]+Y[_0xf5bf73[_0x2bf021+0x9]]+'-'+Y[_0xf5bf73[_0x2bf021+0xa]]+Y[_0xf5bf73[_0x2bf021+0xb]]+Y[_0xf5bf73[_0x2bf021+0xc]]+Y[_0xf5bf73[_0x2bf021+0xd]]+Y[_0xf5bf73[_0x2bf021+0xe]]+Y[_0xf5bf73[_0x2bf021+0xf]])[_0x3a7e94(0xc2)]();}let Mt;const eo=new Uint8Array(0x10);function to(){const _0x4c14b4=_0x50a7d0;if(!Mt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4c14b4(0x32e));Mt=crypto['getRandomValues']['bind'](crypto);}return Mt(eo);}const so=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x50a7d0(0x412)][_0x50a7d0(0x2b2)](crypto),Fs={'randomUUID':so};function io(_0xe89f59,_0x296116,_0x4450ec){const _0x7fb854=_0x50a7d0;if(Fs[_0x7fb854(0x412)]&&!_0x296116&&!_0xe89f59)return Fs[_0x7fb854(0x412)]();_0xe89f59=_0xe89f59||{};const _0x731d72=_0xe89f59[_0x7fb854(0x220)]||(_0xe89f59[_0x7fb854(0x495)]||to)();return _0x731d72[0x6]=_0x731d72[0x6]&0xf|0x40,_0x731d72[0x8]=_0x731d72[0x8]&0x3f|0x80,Qn(_0x731d72);}var ro=Object[_0x50a7d0(0x15c)],no=Object[_0x50a7d0(0x18b)],oo=(_0x36c680,_0x2f0467,_0x4e3d6e,_0x427a9b)=>{const _0x46dfe6=_0x50a7d0;for(var _0xdf8388=_0x427a9b>0x1?void 0x0:_0x427a9b?no(_0x2f0467,_0x4e3d6e):_0x2f0467,_0x4e5275=_0x36c680[_0x46dfe6(0x1d0)]-0x1,_0xbcbdc9;_0x4e5275>=0x0;_0x4e5275--)(_0xbcbdc9=_0x36c680[_0x4e5275])&&(_0xdf8388=(_0x427a9b?_0xbcbdc9(_0x2f0467,_0x4e3d6e,_0xdf8388):_0xbcbdc9(_0xdf8388))||_0xdf8388);return _0x427a9b&&_0xdf8388&&ro(_0x2f0467,_0x4e3d6e,_0xdf8388),_0xdf8388;},xt=(_0x44eea1,_0x57d353)=>(_0x3e1318,_0x1f381d)=>_0x57d353(_0x3e1318,_0x1f381d,_0x44eea1);let vt=class{constructor(_0x5dee18,_0x1f1f91,_0xbfffaa){const _0x4f424d=_0x50a7d0;this[_0x4f424d(0x408)]=_0x5dee18,this[_0x4f424d(0x494)]=_0x1f1f91,this[_0x4f424d(0x1af)]=_0xbfffaa;}[_0x50a7d0(0xef)](_0x1a24f0){const _0x732d8f=_0x50a7d0;this[_0x732d8f(0x3c2)](_0x1a24f0),this[_0x732d8f(0x4ab)](_0x1a24f0);}['transformRemoteChangeset'](_0x3a9935){const _0x1de53e=_0x50a7d0,{unitID:_0x18f418}=_0x3a9935,_0x4755f8=this[_0x1de53e(0x1af)]['getRenderById'](_0x18f418)[_0x1de53e(0x378)](_0x250d28),{redoCache:_0x124ff3}=_0x4755f8[_0x1de53e(0x323)]();if(_0x124ff3[_0x1de53e(0x1d0)]===0x0)return _0x3a9935;let _0x48c367=_0x378638['deepClone'](_0x3a9935['mutations'][0x0]);for(let _0x528351=0x0;_0x528351<_0x124ff3[_0x1de53e(0x1d0)];_0x528351++){const _0x19b47d={'id':_0x1de53e(0xeb),'params':{..._0x124ff3[_0x528351]}},_0x52e0d8=this[_0x1de53e(0x494)][_0x1de53e(0x1da)](_0x48c367,_0x19b47d,!0x1);if(_0x2432d6(_0x52e0d8))throw _0x52e0d8['error'];_0x48c367=_0x52e0d8[_0x1de53e(0x1c1)];}return{..._0x378638[_0x1de53e(0x2fe)](_0x3a9935),'mutations':[_0x48c367]};}[_0x50a7d0(0x3c2)](_0x521b43){const _0x2814f1=_0x50a7d0,{unitID:_0x48b191}=_0x521b43,_0x165ab2=this['_renderManagerService'][_0x2814f1(0x328)](_0x48b191)['with'](_0x250d28),{undoCache:_0x214718,redoCache:_0x44bd3d}=_0x165ab2['getUndoRedoMutationParamsCache']();if(_0x214718[_0x2814f1(0x1d0)]===0x0||_0x44bd3d[_0x2814f1(0x1d0)]===0x0)return;const _0x50cd65=[],_0x2f66fe=[];let _0x5cbaf1=_0x378638[_0x2814f1(0x2fe)](_0x521b43[_0x2814f1(0x182)][0x0]),_0x3b5957=_0x378638[_0x2814f1(0x2fe)](_0x521b43[_0x2814f1(0x182)][0x0]);for(let _0x4e6ee0=_0x214718['length']-0x1;_0x4e6ee0>=0x0;_0x4e6ee0--){const _0xf8d1e7={'id':'doc.mutation.rich-text-editing','params':{..._0x214718[_0x4e6ee0]}},_0x5ba1b1={'id':_0x2814f1(0xeb),'params':{..._0x44bd3d[_0x4e6ee0]}},_0xac92a7=this[_0x2814f1(0x494)][_0x2814f1(0x1da)](_0x5cbaf1,_0xf8d1e7,!0x1),_0x5ef3b3=this[_0x2814f1(0x494)][_0x2814f1(0x1da)](_0x3b5957,_0x5ba1b1,!0x1);if(_0x2432d6(_0xac92a7))throw _0xac92a7[_0x2814f1(0x3a2)];if(_0x2432d6(_0x5ef3b3))throw _0x5ef3b3[_0x2814f1(0x3a2)];_0x50cd65['unshift'](_0xac92a7[_0x2814f1(0x37e)]['params']),_0x2f66fe['unshift'](_0x5ef3b3[_0x2814f1(0x37e)][_0x2814f1(0x4a8)]),_0x5cbaf1=_0xac92a7['m1Prime'],_0x3b5957=_0x5ef3b3[_0x2814f1(0x1c1)];}_0x165ab2[_0x2814f1(0x33e)]({'undoCache':_0x50cd65,'redoCache':_0x2f66fe});}[_0x50a7d0(0x4ab)](_0x434c71){const _0x44476a=_0x50a7d0,{unitID:_0x540ec2}=_0x434c71,_0x2ab2a9=this[_0x44476a(0x1af)]['getRenderById'](_0x540ec2)[_0x44476a(0x378)](_0x250d28),_0x50edd5=_0x2ab2a9[_0x44476a(0x38d)]();if(_0x50edd5==null)return;const _0x4551b4=[{'id':_0x44476a(0xeb),'params':{'unitId':_0x434c71[_0x44476a(0xaa)],'actions':null,'textRanges':[_0x50edd5]}}],_0x3c1e09=this[_0x44476a(0x494)]['transformMutationsWithChangeset'](_0x434c71,_0x4551b4);if(!_0x545fca(_0x3c1e09))throw _0x3c1e09[_0x44476a(0x3a2)];const _0x58478f=_0x3c1e09[_0x44476a(0x37e)][0x0][_0x44476a(0x4a8)][_0x44476a(0x238)];Array[_0x44476a(0x20e)](_0x58478f)&&_0x58478f[_0x44476a(0x1d0)]&&_0x2ab2a9['setActiveRange'](_0x58478f[0x0]);}};vt=oo([xt(0x0,_0x33026a(_0x17dae8)),xt(0x1,_0x4af41b),xt(0x2,_0x984cff)],vt);var ao=Object['defineProperty'],co=Object['getOwnPropertyDescriptor'],ho=(_0x5b3848,_0x1e434a,_0x2879f4,_0x2ac1b3)=>{for(var _0x3000d9=_0x2ac1b3>0x1?void 0x0:_0x2ac1b3?co(_0x1e434a,_0x2879f4):_0x1e434a,_0x33e582=_0x5b3848['length']-0x1,_0x1be806;_0x33e582>=0x0;_0x33e582--)(_0x1be806=_0x5b3848[_0x33e582])&&(_0x3000d9=(_0x2ac1b3?_0x1be806(_0x1e434a,_0x2879f4,_0x3000d9):_0x1be806(_0x3000d9))||_0x3000d9);return _0x2ac1b3&&_0x3000d9&&ao(_0x1e434a,_0x2879f4,_0x3000d9),_0x3000d9;},Xe=(_0x5504c9,_0x9e3602)=>(_0x1049ba,_0xfec98)=>_0x9e3602(_0x1049ba,_0xfec98,_0x5504c9);let q=class extends _0x514939{constructor(_0x5a1ffb,_0x270e1a,_0x3b2102,_0x51ea2b,_0x2e8f33){const _0x43d7ad=_0x50a7d0;super(),g(this,_0x43d7ad(0x273),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x43d7ad(0x2d2),!0x1),(this[_0x43d7ad(0x3bb)]=_0x5a1ffb,this[_0x43d7ad(0x476)]=_0x270e1a,this['_beforeCloseService']=_0x3b2102,this[_0x43d7ad(0x193)]=_0x51ea2b,this[_0x43d7ad(0x383)]=_0x2e8f33,this[_0x43d7ad(0x2b4)]());}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x4666eb=_0x50a7d0;this[_0x4666eb(0x2d2)]=!0x1;}[_0x50a7d0(0x45c)](){const _0x5ead55=_0x50a7d0;this[_0x5ead55(0x3fe)]()[_0x5ead55(0x119)](()=>super[_0x5ead55(0x45c)]());}async['loadOfflineData'](_0x528cf1){const _0x20b2d7=_0x50a7d0;return this[_0x20b2d7(0x2d2)]?null:this[_0x20b2d7(0x476)][_0x20b2d7(0x164)](Vs(_0x528cf1));}async[_0x50a7d0(0x3b4)](_0x47a8c4,_0x2767f3){const _0xa1a0b=_0x50a7d0;return!!this['_localStorageService'][_0xa1a0b(0x31a)](_0x47a8c4,_0x2767f3);}['updateOfflineData'](_0x4a08d3,_0x3ab629,_0x1ee768,_0x5b8983){const _0x4f2d71=_0x50a7d0,_0x4f4218=this[_0x4f2d71(0x383)]['getCurrentRevOfUnit'](_0x4a08d3);this[_0x4f2d71(0x273)][_0x4f2d71(0x2ce)](_0x4a08d3,{'unitID':_0x4a08d3,'type':_0x3ab629,'awaitingChangeset':_0x1ee768,'mutations':_0x5b8983,'rev':_0x4f4218}),this[_0x4f2d71(0xbe)][_0x4f2d71(0x28d)](_0x4a08d3)||this[_0x4f2d71(0x413)](_0x4a08d3);}[_0x50a7d0(0x413)](_0x1ac8a3){const _0x425ed8=_0x50a7d0,_0x36db2=this[_0x425ed8(0x2a9)]();_0x36db2===0x0?this[_0x425ed8(0xfc)](_0x1ac8a3):this['_saveTaskMap'][_0x425ed8(0x2ce)](_0x1ac8a3,setTimeout(()=>this['_saveCache'](_0x1ac8a3),_0x36db2));}['_getSaveTimeout'](){const _0x233a9a=_0x50a7d0;var _0x3bb188;return(_0x3bb188=this[_0x233a9a(0x3bb)][_0x233a9a(0x4c6)](wn))!=null?_0x3bb188:Dn;}[_0x50a7d0(0xfc)](_0x3c9b3c){const _0x532f02=_0x50a7d0,_0xac7d6e=this[_0x532f02(0xbe)][_0x532f02(0x373)](_0x3c9b3c);return _0xac7d6e!==void 0x0&&window[_0x532f02(0x4a4)](_0xac7d6e),this[_0x532f02(0x476)][_0x532f02(0x31a)](Vs(_0x3c9b3c),this[_0x532f02(0x273)][_0x532f02(0x373)](_0x3c9b3c))['then'](()=>this[_0x532f02(0xbe)]['delete'](_0x3c9b3c));}async['exhaustSavingTask'](){const _0x2e6c92=_0x50a7d0,_0x37eb0b=[];this['_saveTaskMap'][_0x2e6c92(0x375)]((_0x54b387,_0x3e6c06)=>{const _0x139d7d=_0x2e6c92;window[_0x139d7d(0x4a4)](_0x54b387),_0x37eb0b[_0x139d7d(0xc6)](this[_0x139d7d(0xfc)](_0x3e6c06)[_0x139d7d(0x119)](()=>{const _0x4d2113=_0x139d7d;this[_0x4d2113(0xbe)][_0x4d2113(0x18d)](_0x3e6c06);}));}),await Promise['all'](_0x37eb0b);}[_0x50a7d0(0x2b4)](){const _0xa388e0=_0x50a7d0;this['disposeWithMe'](this['_beforeCloseService'][_0xa388e0(0x43a)](()=>{const _0x453dce=_0xa388e0;if(this['_saveTaskMap'][_0x453dce(0x1e7)])return this[_0x453dce(0x193)]['t']('collaboration-client.offline-data-not-saved');}));}};q=ho([Xe(0x0,_0x533505),Xe(0x1,_0xd46cc5),Xe(0x2,_0x3a2a39),Xe(0x3,_0x33026a(_0x21b13d)),Xe(0x4,_0x33026a(_0x50f245))],q);function Vs(_0x13bf7f){const _0x32e9a3=_0x50a7d0;return _0x32e9a3(0x147)+_0x13bf7f;}var lo=Object[_0x50a7d0(0x15c)],_o=Object[_0x50a7d0(0x18b)],uo=(_0x43845b,_0xf76a4,_0x442692,_0x29be65)=>{const _0x41c0e0=_0x50a7d0;for(var _0x2548d3=_0x29be65>0x1?void 0x0:_0x29be65?_o(_0xf76a4,_0x442692):_0xf76a4,_0x5760a7=_0x43845b[_0x41c0e0(0x1d0)]-0x1,_0x748510;_0x5760a7>=0x0;_0x5760a7--)(_0x748510=_0x43845b[_0x5760a7])&&(_0x2548d3=(_0x29be65?_0x748510(_0xf76a4,_0x442692,_0x2548d3):_0x748510(_0x2548d3))||_0x2548d3);return _0x29be65&&_0x2548d3&&lo(_0xf76a4,_0x442692,_0x2548d3),_0x2548d3;},Lt=(_0x222089,_0x147d1e)=>(_0x8055ac,_0x2f5d01)=>_0x147d1e(_0x8055ac,_0x2f5d01,_0x222089);function fo(_0xfaf97){const _0x4e4159=_0x50a7d0,{unitID:_0x3be2c8,mutations:_0x116281}=_0xfaf97;return{'unitId':_0x3be2c8,'subUnitId':_0x116281[0x0][_0x4e4159(0x4a8)][_0x4e4159(0x376)]};}let mt=class{constructor(_0x17e377,_0x10db8d,_0x51c290){const _0x25ed9b=_0x50a7d0;this[_0x25ed9b(0x408)]=_0x17e377,this[_0x25ed9b(0x494)]=_0x10db8d,this['_instanceService']=_0x51c290;}['transformSelections'](_0x3bc6e2){const _0x4eb9f3=_0x50a7d0;var _0x43c8b2,_0x55c572,_0x7d5500,_0x31c1df;const _0x294836=this[_0x4eb9f3(0x408)][_0x4eb9f3(0x373)](_0x3a11a0),{unitId:_0x6fc43c,subUnitId:_0x1d96b4}=fo(_0x3bc6e2),_0x1c504d=_0x294836[_0x4eb9f3(0xe5)](_0x6fc43c)['getCurrentSelections'](),_0x22e4a3=(_0x55c572=(_0x43c8b2=this['_instanceService'][_0x4eb9f3(0x346)](_0x6fc43c))==null?void 0x0:_0x43c8b2['getActiveSheet']())==null?void 0x0:_0x55c572[_0x4eb9f3(0x1ef)]();if(_0x1c504d[_0x4eb9f3(0x1d0)]===0x0||!_0x6fc43c||!_0x1d96b4)return;const _0x221803=[{'id':_0x313c8a['id'],'params':{'unitId':_0x6fc43c,'subUnitId':_0x22e4a3,'selections':_0x378638[_0x4eb9f3(0x2fe)](_0x1c504d)}}],_0x21f99b=this[_0x4eb9f3(0x494)][_0x4eb9f3(0x31d)](_0x3bc6e2,_0x221803);if(!_0x545fca(_0x21f99b))throw _0x21f99b[_0x4eb9f3(0x3a2)];const _0x5e05a0=(_0x31c1df=(_0x7d5500=_0x21f99b[_0x4eb9f3(0x37e)][0x0])==null?void 0x0:_0x7d5500[_0x4eb9f3(0x4a8)])==null?void 0x0:_0x31c1df['selections'];if(Array['isArray'](_0x5e05a0)&&_0x5e05a0[_0x4eb9f3(0x1d0)]){if(_0x5e05a0[_0x4eb9f3(0x1d0)]===_0x221803[0x0][_0x4eb9f3(0x4a8)][_0x4eb9f3(0x48f)][_0x4eb9f3(0x1d0)]&&_0x5e05a0[_0x4eb9f3(0x18c)]((_0x2000f7,_0x8ab17f)=>_0x18079f['equals'](_0x2000f7['range'],_0x221803[0x0][_0x4eb9f3(0x4a8)][_0x4eb9f3(0x48f)][_0x8ab17f][_0x4eb9f3(0x2ba)])))return;this['_injector'][_0x4eb9f3(0x373)](_0x2e05f8)[_0x4eb9f3(0x368)](_0x313c8a['id'],{'unitId':_0x6fc43c,'subUnitId':_0x22e4a3,'selections':_0x5e05a0});}}};mt=uo([Lt(0x0,_0x33026a(_0x17dae8)),Lt(0x1,_0x4af41b),Lt(0x2,_0x28b990)],mt);const yt=_0x17c099(_0x50a7d0(0x2f9));var xi=(_0x366b98=>(_0x366b98[_0x366b98[_0x50a7d0(0xc8)]=0x0]=_0x50a7d0(0xc8),_0x366b98[_0x366b98[_0x50a7d0(0xe4)]=0x1]='OTHER_CLIENTS_EDITING',_0x366b98))(xi||{});const Gs=0x7530,Ys='ACTIVE_UNIT_EVENT_CHANNEL';class vo extends _0x514939{constructor(){const _0x67cae9=_0x50a7d0;super(),g(this,'_id',_0x378638['generateRandomId']()),g(this,_0x67cae9(0x329),new Set()),g(this,'_unitOnClients',new Map()),g(this,'_heartbeatTimer',null),g(this,_0x67cae9(0x2bc),new Map()),g(this,_0x67cae9(0x248),new Map()),this[_0x67cae9(0x1a9)]();}[_0x50a7d0(0x45c)](){const _0x23727f=_0x50a7d0;super['dispose'](),this[_0x23727f(0x2bc)][_0x23727f(0x375)]((_0x4b5dcb,_0x23c1c7)=>this['_removeClearOtherTimer'](_0x23c1c7)),this['_heartbeatTimer']&&window[_0x23727f(0x2df)](this['_heartbeatTimer']);}[_0x50a7d0(0x2c5)](_0x5a34b0){const _0x3a59dd=_0x50a7d0;return this['_ensureSubject'](_0x5a34b0)[_0x3a59dd(0x157)](_0x1b81a6());}[_0x50a7d0(0x20a)](_0x39df4a){const _0xe52f0a=_0x50a7d0;this[_0xe52f0a(0x329)][_0xe52f0a(0x1e7)]===0x0&&this[_0xe52f0a(0x107)](),this[_0xe52f0a(0x329)][_0xe52f0a(0x366)](_0x39df4a),this[_0xe52f0a(0x127)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x39df4a],'isForwarded':!0x1});}[_0x50a7d0(0x2a5)](_0x1ad531){const _0x4a5d93=_0x50a7d0;this[_0x4a5d93(0x329)][_0x4a5d93(0x18d)](_0x1ad531),this[_0x4a5d93(0x329)][_0x4a5d93(0x1e7)]===0x0&&this[_0x4a5d93(0x113)]&&window[_0x4a5d93(0x2df)](this[_0x4a5d93(0x113)]);}[_0x50a7d0(0x1a9)](){const _0x32b17f=_0x50a7d0;this[_0x32b17f(0x450)](_0xd370ea(_0x226128(window,_0x32b17f(0x262))[_0x32b17f(0x479)](_0x3ec82d=>{const _0x326cf6=_0x32b17f;if(_0x3ec82d[_0x326cf6(0x31f)]!==Ys||!_0x3ec82d[_0x326cf6(0x3a0)])return;const _0x250b2e=JSON[_0x326cf6(0x47f)](_0x3ec82d[_0x326cf6(0x3a0)]);this[_0x326cf6(0x41e)](_0x250b2e);}))),window[_0x32b17f(0x3ae)](_0x32b17f(0x158),()=>this[_0x32b17f(0x127)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x47f76d){const _0xba625e=_0x50a7d0;switch(_0x47f76d[_0xba625e(0x105)]){case 0x0:this[_0xba625e(0x382)](_0x47f76d);break;case 0x1:this[_0xba625e(0x1f1)](_0x47f76d);break;case 0x2:this[_0xba625e(0x1bd)](_0x47f76d);break;}}[_0x50a7d0(0x382)](_0x8c5bd1){const _0x5f1146=_0x50a7d0,{unitIDs:_0x570957,memberID:_0x49294d,isForwarded:_0x117dc5}=_0x8c5bd1;_0x570957[_0x5f1146(0x375)](_0x1f88ab=>{const _0x328be0=_0x5f1146;if(!_0x117dc5&&this[_0x328be0(0x121)][_0x328be0(0x28d)](_0x1f88ab)&&this['_ensureSubject'](_0x1f88ab)[_0x328be0(0x492)](0x1),!this[_0x328be0(0x121)][_0x328be0(0x28d)](_0x1f88ab)||!this[_0x328be0(0x121)][_0x328be0(0x373)](_0x1f88ab)[_0x328be0(0x28d)](_0x49294d)){const _0x549f05=this['_unitOnClients'][_0x328be0(0x373)](_0x1f88ab)||new Set();_0x549f05[_0x328be0(0x366)](_0x49294d),this['_unitOnClients'][_0x328be0(0x2ce)](_0x1f88ab,_0x549f05),this[_0x328be0(0xba)](_0x49294d);}}),_0x117dc5||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5f1146(0x329)]],'isForwarded':!0x0});}[_0x50a7d0(0xba)](_0x15852f){const _0x544822=_0x50a7d0;this[_0x544822(0x46d)](_0x15852f);const _0x295c9b=window['setTimeout'](()=>{const _0x56f6f2=_0x544822;this[_0x56f6f2(0x121)][_0x56f6f2(0x375)](_0x1d6853=>{const _0x3dd2be=_0x56f6f2;_0x1d6853[_0x3dd2be(0x18d)](_0x15852f);});},Gs*0x2);this[_0x544822(0x2bc)][_0x544822(0x2ce)](_0x15852f,_0x295c9b);}[_0x50a7d0(0x46d)](_0x29d3e3){const _0x42dae5=_0x50a7d0;if(this[_0x42dae5(0x2bc)][_0x42dae5(0x28d)](_0x29d3e3)){const _0x55c2ab=this[_0x42dae5(0x2bc)]['get'](_0x29d3e3);_0x55c2ab&&window['clearTimeout'](_0x55c2ab),this['_clearOtherTimers'][_0x42dae5(0x2ce)](_0x29d3e3,null);}}[_0x50a7d0(0x1f1)](_0x154b30){const _0xbda5fa=_0x50a7d0,{memberID:_0xd99fd2,unitIDs:_0x331692}=_0x154b30;_0x331692[_0xbda5fa(0x375)](_0x22369f=>{const _0x35c931=_0xbda5fa;var _0x4011a9;const _0x522315=this[_0x35c931(0x121)][_0x35c931(0x373)](_0x22369f);_0x522315&&(_0x522315[_0x35c931(0x18d)](_0xd99fd2),(_0x4011a9=this[_0x35c931(0x1fc)](_0x22369f))==null||_0x4011a9[_0x35c931(0x492)](_0x522315[_0x35c931(0x1e7)]===0x0?0x0:0x1));}),this[_0xbda5fa(0x46d)](_0xd99fd2);}['_handleHeartbeatEvent'](_0x43eae2){const _0x53b763=_0x50a7d0;this['_scheduleClearOtherTimer'](_0x43eae2[_0x53b763(0x13f)]);}['_send'](_0x194576){const _0x3b63f4=_0x50a7d0;localStorage[_0x3b63f4(0x31a)](Ys,JSON[_0x3b63f4(0x2d6)](_0x194576));}['_scheduleHeartbeat'](){const _0x51a7e1=_0x50a7d0;this[_0x51a7e1(0x113)]=window[_0x51a7e1(0x3dc)](()=>{const _0x487c9b=_0x51a7e1;this['_send']({'type':0x2,'memberID':this[_0x487c9b(0x16c)]});},Gs);}[_0x50a7d0(0x1fc)](_0x493e6c){const _0x4d36e8=_0x50a7d0;return this[_0x4d36e8(0x248)][_0x4d36e8(0x28d)](_0x493e6c)||this['_unitStatus'][_0x4d36e8(0x2ce)](_0x493e6c,new _0x22472b(0x0)),this[_0x4d36e8(0x248)][_0x4d36e8(0x373)](_0x493e6c);}}var mo=Object['defineProperty'],po=Object[_0x50a7d0(0x18b)],go=(_0x4cc51f,_0x4df7bb,_0x56e4ba,_0x41bf3a)=>{for(var _0x58998f=_0x41bf3a>0x1?void 0x0:_0x41bf3a?po(_0x4df7bb,_0x56e4ba):_0x4df7bb,_0x36386f=_0x4cc51f['length']-0x1,_0x259fff;_0x36386f>=0x0;_0x36386f--)(_0x259fff=_0x4cc51f[_0x36386f])&&(_0x58998f=(_0x41bf3a?_0x259fff(_0x4df7bb,_0x56e4ba,_0x58998f):_0x259fff(_0x58998f))||_0x58998f);return _0x41bf3a&&_0x58998f&&mo(_0x4df7bb,_0x56e4ba,_0x58998f),_0x58998f;},$t=(_0x17e86e,_0xe1fae9)=>(_0x3a09cc,_0x3f8ee7)=>_0xe1fae9(_0x3a09cc,_0x3f8ee7,_0x17e86e);let pt=class{constructor(_0x2df839,_0x2d030d,_0x551db7){const _0x5303b3=_0x50a7d0;this[_0x5303b3(0x408)]=_0x2df839,this[_0x5303b3(0x494)]=_0x2d030d,this[_0x5303b3(0x321)]=_0x551db7;}[_0x50a7d0(0x191)](_0x436dae){const _0x1eeaac=_0x50a7d0;this[_0x1eeaac(0x3b7)](_0x436dae);}[_0x50a7d0(0x3e5)](_0x58a428){const _0x4f4402=_0x50a7d0,{unitID:_0x66cd93}=_0x58a428,{collaboration:_0x22b241}=this[_0x4f4402(0x321)]['getStateCache'](_0x66cd93);if(_0x22b241['length']===0x0)return _0x58a428;let _0xf45b10=_0x378638['deepClone'](_0x58a428[_0x4f4402(0x182)][0x0]);for(let _0x51492c=0x0;_0x51492c<_0x22b241['length'];_0x51492c++){const _0x228690={'id':_0x4f4402(0xeb),'params':{'unitId':_0x22b241[_0x51492c]['unitId'],..._0x22b241[_0x51492c][_0x4f4402(0x2a6)]}},_0x42fe9b=this[_0x4f4402(0x494)][_0x4f4402(0x1da)](_0xf45b10,_0x228690,!0x1);if(_0x2432d6(_0x42fe9b))throw _0x42fe9b[_0x4f4402(0x3a2)];_0xf45b10=_0x42fe9b[_0x4f4402(0x1c1)];}return{..._0x378638['deepClone'](_0x58a428),'mutations':[_0xf45b10]};}['_transformHistoryAndStateStack'](_0xc24496){const _0x4d2892=_0x50a7d0,{unitID:_0x3323ca}=_0xc24496,{history:_0x3658a0,collaboration:_0x52c3bd}=this[_0x4d2892(0x321)]['getStateCache'](_0x3323ca);if(_0x3658a0[_0x4d2892(0x1d0)]===0x0&&_0x52c3bd[_0x4d2892(0x1d0)]===0x0)return;const _0x27639f=[],_0x5daf41=[];let _0x355db8=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]),_0x1a3611=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]);for(let _0x21d603=_0x3658a0[_0x4d2892(0x1d0)]-0x1;_0x21d603>=0x0;_0x21d603--){const _0x2c91e4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3658a0[_0x21d603][_0x4d2892(0x258)],..._0x3658a0[_0x21d603]['undoState']}},_0x473344={'id':_0x4d2892(0xeb),'params':{'unitId':_0x3658a0[_0x21d603][_0x4d2892(0x258)],..._0x3658a0[_0x21d603][_0x4d2892(0x2a6)]}},_0x41a19f=this[_0x4d2892(0x494)]['transformMutation'](_0x355db8,_0x2c91e4,!0x1),_0x6660c=this[_0x4d2892(0x494)][_0x4d2892(0x1da)](_0x1a3611,_0x473344,!0x1);if(_0x2432d6(_0x41a19f))throw _0x41a19f['error'];if(_0x2432d6(_0x6660c))throw _0x6660c[_0x4d2892(0x3a2)];_0x27639f['unshift']({..._0x3658a0[_0x21d603],'undoState':_0x41a19f[_0x4d2892(0x37e)][_0x4d2892(0x4a8)],'redoState':_0x6660c[_0x4d2892(0x37e)]['params']}),_0x355db8=_0x41a19f[_0x4d2892(0x1c1)],_0x1a3611=_0x6660c[_0x4d2892(0x1c1)];}_0x355db8=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]),_0x1a3611=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]);for(let _0x196133=_0x52c3bd[_0x4d2892(0x1d0)]-0x1;_0x196133>=0x0;_0x196133--){const _0x23ef36={'id':_0x4d2892(0xeb),'params':{'unitId':_0x52c3bd[_0x196133][_0x4d2892(0x258)],..._0x52c3bd[_0x196133][_0x4d2892(0x28e)]}},_0x554960={'id':_0x4d2892(0xeb),'params':{'unitId':_0x52c3bd[_0x196133][_0x4d2892(0x258)],..._0x52c3bd[_0x196133][_0x4d2892(0x2a6)]}},_0x2fc5c9=this['_transformService'][_0x4d2892(0x1da)](_0x355db8,_0x23ef36,!0x1),_0x3dd0cb=this[_0x4d2892(0x494)]['transformMutation'](_0x1a3611,_0x554960,!0x1);if(_0x2432d6(_0x2fc5c9))throw _0x2fc5c9['error'];if(_0x2432d6(_0x3dd0cb))throw _0x3dd0cb[_0x4d2892(0x3a2)];_0x5daf41[_0x4d2892(0x168)]({..._0x52c3bd[_0x196133],'undoState':_0x2fc5c9[_0x4d2892(0x37e)][_0x4d2892(0x4a8)],'redoState':_0x3dd0cb['m2Prime'][_0x4d2892(0x4a8)]}),_0x355db8=_0x2fc5c9[_0x4d2892(0x1c1)],_0x1a3611=_0x3dd0cb[_0x4d2892(0x1c1)];}this[_0x4d2892(0x321)][_0x4d2892(0x21d)](_0x3323ca,{'history':_0x27639f,'collaboration':_0x5daf41});}};pt=go([$t(0x0,_0x33026a(_0x17dae8)),$t(0x1,_0x4af41b),$t(0x2,_0x33026a(_0x4ac2d0))],pt);function Li(_0x1dd115){let _0xf4e4ca='';for(const _0x20b719 of _0x1dd115){const {startOffset:_0x52938d,endOffset:_0xfcc0c7,isActive:_0x49cda5,rangeType:_0x2325b3,segmentId:_0x24098c,segmentPage:_0x4507f3}=_0x20b719;_0xf4e4ca['length']&&(_0xf4e4ca+=','),_0xf4e4ca+=_0x52938d+':'+_0xfcc0c7+':'+(_0x49cda5?'1':'0')+':'+_0x2325b3+':'+_0x24098c+':'+_0x4507f3;}return _0xf4e4ca;}function So(_0x51197f){const _0x1561a5=_0x50a7d0,_0x4da699=_0x51197f[_0x1561a5(0xd8)](','),_0x185382=[];for(const _0xffadcc of _0x4da699){const [_0x120ca2,_0xd2b219,_0x53c95f,_0x12b220,_0x3005a6,_0x52f37e]=_0xffadcc[_0x1561a5(0xd8)](':');_0x185382[_0x1561a5(0xc6)]({'startOffset':Number(_0x120ca2),'endOffset':Number(_0xd2b219),'collapsed':_0x120ca2===_0xd2b219,'isActive':_0x53c95f==='1','rangeType':_0x12b220===_0x2b344d[_0x1561a5(0x1cb)]?_0x2b344d[_0x1561a5(0x1cb)]:_0x2b344d[_0x1561a5(0x357)],'segmentId':typeof _0x3005a6==_0x1561a5(0x218)?String(_0x3005a6):'','segmentPage':Number(_0x52f37e!=null?_0x52f37e:-0x1)});}return _0x185382[_0x1561a5(0x365)](_0x4350af=>_0x4350af['isActive'])||(_0x185382[0x0][_0x1561a5(0x28c)]=!0x0),_0x185382;}class Ts extends _0x2983d9{constructor(){const _0x6f9da2=_0x50a7d0;super(...arguments),g(this,'_collabCursorState$',new _0x22472b(null)),g(this,_0x6f9da2(0x388),this[_0x6f9da2(0x3fc)]['asObservable']());}[_0x50a7d0(0x4aa)](_0x5e0256){const _0x5d1e7c=_0x50a7d0,{unitID:_0x426ccf,memberID:_0x33b364,textRanges:_0x387f4c}=_0x5e0256,_0x30c1f3=Li(_0x387f4c);if(_0x30c1f3==='')return;const _0x4e82f1={'unitID':_0x426ccf,'memberID':_0x33b364,'selection':_0x30c1f3};this[_0x5d1e7c(0x3fc)][_0x5d1e7c(0x492)](_0x4e82f1);}}var Io=Object[_0x50a7d0(0x15c)],Co=Object[_0x50a7d0(0x18b)],Eo=(_0x22e539,_0x163a2a,_0x1f6607,_0x4c1ba0)=>{const _0x22d47c=_0x50a7d0;for(var _0x1ba67c=_0x4c1ba0>0x1?void 0x0:_0x4c1ba0?Co(_0x163a2a,_0x1f6607):_0x163a2a,_0x25eb91=_0x22e539[_0x22d47c(0x1d0)]-0x1,_0x16f2b9;_0x25eb91>=0x0;_0x25eb91--)(_0x16f2b9=_0x22e539[_0x25eb91])&&(_0x1ba67c=(_0x4c1ba0?_0x16f2b9(_0x163a2a,_0x1f6607,_0x1ba67c):_0x16f2b9(_0x1ba67c))||_0x1ba67c);return _0x4c1ba0&&_0x1ba67c&&Io(_0x163a2a,_0x1f6607,_0x1ba67c),_0x1ba67c;},Ks=(_0x4c22a4,_0x249937)=>(_0x1f33c2,_0x478287)=>_0x249937(_0x1f33c2,_0x478287,_0x4c22a4);let gt=class{constructor(_0x51fd1b,_0x1c144c){const _0x2c7606=_0x50a7d0;this[_0x2c7606(0x408)]=_0x51fd1b,this[_0x2c7606(0x494)]=_0x1c144c;}[_0x50a7d0(0x470)](_0x150ab8){const _0x1b85a2=_0x50a7d0;var _0x8722e0;const _0x4314e9=this[_0x1b85a2(0x408)]['get'](_0x370f46),_0x213f13=(_0x8722e0=_0x4314e9[_0x1b85a2(0x2ad)]())!=null?_0x8722e0:[];if(_0x213f13[_0x1b85a2(0x1d0)]===0x0)return;const _0x519882=_0x150ab8['unitID'],_0x389075=[{'id':_0x1b85a2(0xeb),'params':{'unitId':_0x519882,'actions':null,'textRanges':_0x213f13}}],_0xa2725=this[_0x1b85a2(0x494)][_0x1b85a2(0x31d)](_0x150ab8,_0x389075);if(!_0x545fca(_0xa2725))throw _0xa2725[_0x1b85a2(0x3a2)];const _0x197305=_0xa2725[_0x1b85a2(0x37e)][0x0]['params'][_0x1b85a2(0x238)];Array[_0x1b85a2(0x20e)](_0x197305)&&_0x197305['length']&&_0x4314e9[_0x1b85a2(0x25a)](_0x197305,{'unitId':_0x519882,'subUnitId':_0x519882},!0x1);}};gt=Eo([Ks(0x0,_0x33026a(_0x17dae8)),Ks(0x1,_0x4af41b)],gt);const bo=new Set([_0x47f947['id']]);function zs(_0x876ab4,_0x5dcb64,_0x1cd235,_0x1f502f,_0x19c09b){const _0xd9240d=_0x50a7d0;var _0x519d66,_0x324268,_0x49a56a,_0xcab886;const _0x38cdbd=[];for(const _0x4a7566 of _0x876ab4)if(bo[_0xd9240d(0x28d)](_0x4a7566['id'])){if(_0x38cdbd[_0xd9240d(0x1d0)]>0x0)break;_0x38cdbd[_0xd9240d(0xc6)](_0x4a7566);break;}else _0x38cdbd['push'](_0x4a7566);const _0x3085b7=(_0x324268=(_0x519d66=_0x19c09b[_0xd9240d(0x3e2)]())==null?void 0x0:_0x519d66['userID'])!=null?_0x324268:_0xd9240d(0xf8),_0x1b8849=(_0xcab886=(_0x49a56a=_0x19c09b[_0xd9240d(0x3e2)]())==null?void 0x0:_0x49a56a[_0xd9240d(0x13f)])!=null?_0xcab886:_0xd9240d(0xf8);return{'changeset':{'unitID':_0x5dcb64,'type':_0x3726a0(_0x1cd235[_0xd9240d(0x10d)](_0x5dcb64)),'baseRev':_0x1f502f[_0xd9240d(0x4cf)](_0x5dcb64),'revision':0x0,'userID':_0x3085b7,'memberID':_0x1b8849,'mutations':_0x38cdbd},'pendingMutations':_0x876ab4[_0xd9240d(0x2bf)](_0x38cdbd['length'])};}function To(_0x4b5b3e,_0x4854c6,_0x398fd8,_0x2189d9,_0x42786e){const _0x1620b5=_0x50a7d0;var _0xcd8720,_0x25a73a,_0x4910e3,_0x11463a;const _0x55a06a=[_0x4b5b3e[_0x1620b5(0x143)]((_0x38e329,_0x209bad)=>{const _0x25b3d3=_0x1620b5;var _0x585941;const {id:_0x36a90b}=_0x38e329,{id:_0xdd613a,type:_0x1d7eaf}=_0x209bad,_0x494127=(_0x585941=_0x38e329[_0x25b3d3(0x4a8)])!=null?_0x585941:{'actions':null},_0x3add27=_0x209bad[_0x25b3d3(0x4a8)];if(_0x36a90b&&_0x36a90b!==_0xdd613a)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x36a90b+'\x20-\x20'+_0xdd613a+'.');return{..._0x38e329,'id':_0xdd613a,'type':_0x1d7eaf,'params':{'unitId':_0x3add27[_0x25b3d3(0x258)],'textRanges':_0x3add27[_0x25b3d3(0x238)],'actions':_0x198357[_0x25b3d3(0x353)](_0x494127['actions'],_0x3add27[_0x25b3d3(0x433)])}};},{})],_0x1ba5be=(_0x25a73a=(_0xcd8720=_0x42786e[_0x1620b5(0x3e2)]())==null?void 0x0:_0xcd8720[_0x1620b5(0x3d3)])!=null?_0x25a73a:_0x1620b5(0xf8),_0x1a9368=(_0x11463a=(_0x4910e3=_0x42786e[_0x1620b5(0x3e2)]())==null?void 0x0:_0x4910e3['memberID'])!=null?_0x11463a:_0x1620b5(0xf8);return{'changeset':{'unitID':_0x4854c6,'type':_0x3726a0(_0x398fd8[_0x1620b5(0x10d)](_0x4854c6)),'baseRev':_0x2189d9[_0x1620b5(0x4cf)](_0x4854c6),'revision':0x0,'userID':_0x1ba5be,'memberID':_0x1a9368,'mutations':_0x55a06a},'pendingMutations':[]};}function $i(_0x30fa18,_0x187694){const _0x50d099=_0x50a7d0,_0xb8486e=new _0x136f27(0x1);return setTimeout(()=>_0xb8486e['next'](_0x187694),_0x30fa18),_0xb8486e['asObservable']()[_0x50d099(0x157)](_0x5cbb3a(0x1));}const Ro={'id':_0x2b292b['id'],'type':_0x30659a[_0x50a7d0(0x41f)],'params':{}};var Oo=Object[_0x50a7d0(0x15c)],yo=Object['getOwnPropertyDescriptor'],$e=(_0x1ba909,_0x530b38,_0x785105,_0x4eebe9)=>{const _0x3d8f73=_0x50a7d0;for(var _0x561deb=_0x4eebe9>0x1?void 0x0:_0x4eebe9?yo(_0x530b38,_0x785105):_0x530b38,_0x2b37ee=_0x1ba909[_0x3d8f73(0x1d0)]-0x1,_0x207e5f;_0x2b37ee>=0x0;_0x2b37ee--)(_0x207e5f=_0x1ba909[_0x2b37ee])&&(_0x561deb=(_0x4eebe9?_0x207e5f(_0x530b38,_0x785105,_0x561deb):_0x207e5f(_0x561deb))||_0x561deb);return _0x4eebe9&&_0x561deb&&Oo(_0x530b38,_0x785105,_0x561deb),_0x561deb;},A=(_0x260c95,_0x2a36c4)=>(_0x1433a5,_0x282f1c)=>_0x2a36c4(_0x1433a5,_0x282f1c,_0x260c95),J=(_0x2c8a9d=>(_0x2c8a9d['NOT_COLLAB']=_0x50a7d0(0x225),_0x2c8a9d['SYNCED']='synced',_0x2c8a9d['PENDING']=_0x50a7d0(0x14e),_0x2c8a9d[_0x50a7d0(0x30f)]=_0x50a7d0(0x114),_0x2c8a9d['AWAITING_WITH_PENDING']=_0x50a7d0(0x49e),_0x2c8a9d[_0x50a7d0(0x2cb)]=_0x50a7d0(0x401),_0x2c8a9d[_0x50a7d0(0x441)]='conflict',_0x2c8a9d[_0x50a7d0(0x4a2)]=_0x50a7d0(0x140),_0x2c8a9d))(J||{});const Hi=0xea60;class He{constructor(_0x28cc8f,_0x83a61c,_0x3cb097,_0x528d73,_0x26fa2e,_0x42634e,_0x57c585,_0x34c956,_0x570197){const _0x393a82=_0x50a7d0;g(this,_0x393a82(0x1aa),null),g(this,_0x393a82(0x196),[]),(this['unitID']=_0x28cc8f,this['type']=_0x83a61c,this[_0x393a82(0x106)]=_0x26fa2e,this[_0x393a82(0x293)]=_0x42634e,this['_undoRedoService']=_0x57c585,this[_0x393a82(0x383)]=_0x34c956,this[_0x393a82(0x251)]=_0x570197,this[_0x393a82(0x1aa)]=_0x3cb097,this['_pendingMutations']=_0x528d73);}[_0x50a7d0(0x195)](_0x42f3a1){const _0x171faa=_0x50a7d0,_0x3701ac=this[_0x171faa(0x383)][_0x171faa(0x4cf)](this[_0x171faa(0xaa)]);return _0x42f3a1[_0x171faa(0x29d)]>_0x3701ac+0x1?(this[_0x171faa(0x106)][_0x171faa(0xf7)]({'from':_0x3701ac,'to':_0x42f3a1[_0x171faa(0x29d)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x33bdb1){const _0x1812fd=_0x50a7d0;this[_0x1812fd(0x402)][_0x1812fd(0x30e)](this[_0x1812fd(0xaa)],_0x33bdb1);}['_transformSelections'](_0x182841){const _0x2276cb=_0x50a7d0;var _0x2b8ea2,_0x2f1d91;(_0x2f1d91=(_0x2b8ea2=this[_0x2276cb(0x106)])[_0x2276cb(0x233)])==null||_0x2f1d91[_0x2276cb(0x2a1)](_0x2b8ea2,_0x182841);}['_transformIMECache'](_0x2851db){const _0x3f5a52=_0x50a7d0;var _0x41e30f,_0x1d0d1e;return(_0x1d0d1e=(_0x41e30f=this[_0x3f5a52(0x106)])[_0x3f5a52(0x301)])==null?void 0x0:_0x1d0d1e[_0x3f5a52(0x2a1)](_0x41e30f,_0x2851db);}[_0x50a7d0(0x3f6)](_0x831b7b){const _0x30994f=_0x50a7d0;var _0x3a3ff5,_0x4f6c83;return(_0x4f6c83=(_0x3a3ff5=this[_0x30994f(0x106)])[_0x30994f(0xc0)])==null?void 0x0:_0x4f6c83[_0x30994f(0x2a1)](_0x3a3ff5,_0x831b7b);}[_0x50a7d0(0x3af)](_0x41c3f6){const _0x34da82=_0x50a7d0;var _0x3ed1a0,_0x54bbef,_0x1b30e9;return(_0x1b30e9=(_0x54bbef=(_0x3ed1a0=this[_0x34da82(0x106)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x54bbef[_0x34da82(0x2a1)](_0x3ed1a0,_0x41c3f6))!=null?_0x1b30e9:_0x41c3f6;}[_0x50a7d0(0x1d8)](_0x5ab38c){const _0x4b61ae=_0x50a7d0;var _0x30ffd1,_0x1e304b,_0x104eb6;return(_0x104eb6=(_0x1e304b=(_0x30ffd1=this[_0x4b61ae(0x106)])[_0x4b61ae(0xdd)])==null?void 0x0:_0x1e304b['call'](_0x30ffd1,_0x5ab38c))!=null?_0x104eb6:_0x5ab38c;}['_syncEditingCollabCursor'](_0x11b840){const _0x5776e6=_0x50a7d0;var _0x176ece,_0x421546;if(this[_0x5776e6(0x105)]===ce[_0x5776e6(0x26b)]){const {unitID:_0x37eade,mutations:_0x49091d,memberID:_0x33e5cc}=_0x11b840,_0x3eb364=_0x49091d[0x0][_0x5776e6(0x4a8)][_0x5776e6(0x238)];Array[_0x5776e6(0x20e)](_0x3eb364)&&_0x3eb364[_0x5776e6(0x1d0)]>0x0&&((_0x421546=(_0x176ece=this[_0x5776e6(0x106)])[_0x5776e6(0x16f)])==null||_0x421546[_0x5776e6(0x2a1)](_0x176ece,{'unitID':_0x37eade,'memberID':_0x33e5cc,'textRanges':_0x3eb364}));}}['_updateLocalCache'](){const _0x549aae=_0x50a7d0;this[_0x549aae(0x251)]['updateOfflineData'](this['unitID'],this[_0x549aae(0x105)],this[_0x549aae(0x1aa)],this[_0x549aae(0x196)]);}[_0x50a7d0(0x465)](){const _0x31d009=_0x50a7d0;return this[_0x31d009(0x383)]['getCurrentRevOfUnit'](this[_0x31d009(0xaa)]);}['_incrementRevisionNumber'](){const _0x16c025=_0x50a7d0;this[_0x16c025(0x383)][_0x16c025(0x3aa)](this[_0x16c025(0xaa)]);}[_0x50a7d0(0x130)](_0x2f3467){const _0x3c94bc=_0x50a7d0;var _0x4dcd65;let _0x5c57e8=this[_0x3c94bc(0x3af)](_0x2f3467);_0x5c57e8=this[_0x3c94bc(0x1d8)](_0x5c57e8);const _0x349758=_0x396518(_0x5c57e8[_0x3c94bc(0x182)],this['_commandService'],{'fromCollab':!0x0});if(!_0x349758['result'])throw _0x349758[_0x3c94bc(0x3a2)]instanceof Error?_0x349758['error']:new Error((_0x4dcd65=_0x349758[_0x3c94bc(0x3a2)])!=null?_0x4dcd65:_0x3c94bc(0x3df));this[_0x3c94bc(0x344)](_0x5c57e8),this[_0x3c94bc(0x3f6)](_0x5c57e8),this[_0x3c94bc(0x2f1)](_0x2f3467),this[_0x3c94bc(0x4bd)](_0x5c57e8),this[_0x3c94bc(0x192)](_0x5c57e8),this[_0x3c94bc(0x2e1)]();}}let Fe=class extends He{constructor(_0x1905dd,_0x237865,_0x138ab8,_0x40d8ee,_0x709427,_0x55d2eb,_0x2931db,_0x1c502c,_0x163712,_0x2c576e){const _0x38e527=_0x50a7d0;super(_0x1905dd,_0x237865,null,[],_0x138ab8,_0x1c502c,_0x2931db,_0x40d8ee,_0x709427),g(this,_0x38e527(0x295),_0x38e527(0x4b1)),(this[_0x38e527(0x408)]=_0x55d2eb,this[_0x38e527(0x422)]=_0x163712,this[_0x38e527(0x494)]=_0x2c576e);}[_0x50a7d0(0x442)](_0x12a543){const _0x194ad2=_0x50a7d0,_0x1ccffe=this[_0x194ad2(0x408)]['createInstance'](pe,this[_0x194ad2(0xaa)],this[_0x194ad2(0x105)],[_0x12a543],this[_0x194ad2(0x106)]);return _0x1ccffe[_0x194ad2(0x245)](),_0x1ccffe[_0x194ad2(0x461)](),_0x1ccffe;}[_0x50a7d0(0x13c)](_0x5b9197){const _0x38cbc2=_0x50a7d0;if(this[_0x38cbc2(0x195)](_0x5b9197))return this[_0x38cbc2(0x408)]['createInstance'](he,this[_0x38cbc2(0xaa)],this['type'],null,[],null,[_0x5b9197],this['_handler']);try{const _0x24c678=this[_0x38cbc2(0x494)][_0x38cbc2(0x31d)](_0x5b9197,[Ro]);if(_0x545fca(_0x24c678)){const {c1Prime:_0x2fdfe4}=_0x24c678;return this[_0x38cbc2(0x130)](_0x2fdfe4),this;}throw _0x24c678[_0x38cbc2(0x3a2)];}catch(_0x55b907){return this[_0x38cbc2(0x422)]['error'](_0x55b907),this[_0x38cbc2(0x498)](!0x1);}}[_0x50a7d0(0x498)](_0x364617){const _0x4e578f=_0x50a7d0;return this['_injector'][_0x4e578f(0xe7)](Oe,this[_0x4e578f(0xaa)],this[_0x4e578f(0x105)],null,[],this['_handler'],_0x364617);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x50a7d0(0x395)](){const _0x2f05ad=_0x50a7d0;throw new Error(_0x2f05ad(0x122));}['onRemoteRetry'](){return this;}[_0x50a7d0(0x2b9)](){const _0x2cf074=_0x50a7d0;return this[_0x2cf074(0x408)]['createInstance'](ye,this[_0x2cf074(0xaa)],this['type'],null,[],this[_0x2cf074(0x106)]);}['toggleOnline'](){return this;}['resend'](){const _0x3fd049=_0x50a7d0;throw new Error(_0x3fd049(0x3c9));}[_0x50a7d0(0x1b2)](){const _0x1d13a7=_0x50a7d0,_0x5b169b=this[_0x1d13a7(0x383)]['getCurrentRevOfUnit'](this[_0x1d13a7(0xaa)]);return this[_0x1d13a7(0x106)]['onMissingChangesets']({'from':_0x5b169b,'to':0x0}),this[_0x1d13a7(0x408)][_0x1d13a7(0xe7)](he,this[_0x1d13a7(0xaa)],this[_0x1d13a7(0x105)],null,[],null,[],this['_handler']);}};Fe=$e([A(0x3,_0x33026a(_0x50f245)),A(0x4,_0x33026a(q)),A(0x5,_0x33026a(_0x17dae8)),A(0x6,_0x5b0e0d),A(0x7,_0x2e05f8),A(0x8,_0x299b7a),A(0x9,_0x4af41b)],Fe);let pe=class extends He{constructor(_0x5a3234,_0x30967f,_0x54b2c7,_0x2b7dad,_0x4051cf,_0x1098a9,_0x366dc4,_0x58eaef,_0xeaa740,_0xdca6b7,_0x3358b7,_0x52212d,_0x413856,_0x528ea1){const _0x538f54=_0x50a7d0;super(_0x5a3234,_0x30967f,null,_0x54b2c7,_0x2b7dad,_0xdca6b7,_0x528ea1,_0x1098a9,_0x366dc4),g(this,_0x538f54(0x295),_0x538f54(0x14e)),g(this,'_scheduleTimestamp',null),g(this,'_sendingTimer',null),(this['_injector']=_0x4051cf,this[_0x538f54(0x35d)]=_0x58eaef,this[_0x538f54(0x422)]=_0xeaa740,this[_0x538f54(0x3bb)]=_0x3358b7,this[_0x538f54(0x494)]=_0x52212d,this[_0x538f54(0x283)]=_0x413856);}[_0x50a7d0(0x442)](_0x3d95ee){const _0x1d8a12=_0x50a7d0;return this[_0x1d8a12(0x196)]['push'](_0x3d95ee),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x43f34e){const _0x2a558f=_0x50a7d0;if(this[_0x2a558f(0x195)](_0x43f34e))return this[_0x2a558f(0x2c1)](),this[_0x2a558f(0x408)][_0x2a558f(0xe7)](he,this[_0x2a558f(0xaa)],this['type'],null,this[_0x2a558f(0x196)],null,[_0x43f34e],this[_0x2a558f(0x106)]);try{const _0x37fe60=this['_transformService'][_0x2a558f(0x31d)](_0x43f34e,this[_0x2a558f(0x196)]);if(_0x545fca(_0x37fe60)){const {c1Prime:_0x1ad57f,m2Prime:_0x4dae5d}=_0x37fe60;this['_executeRemoteChangeset'](_0x1ad57f);const _0x903813=this['_injector'][_0x2a558f(0xe7)](pe,this['unitID'],this[_0x2a558f(0x105)],_0x4dae5d,this['_handler']);return this['_clearScheduledTask'](),_0x903813[_0x2a558f(0x245)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x2a558f(0x4bb)]()),_0x903813;}throw _0x37fe60[_0x2a558f(0x3a2)];}catch(_0x5bc727){return this['_logService'][_0x2a558f(0x3a2)](_0x5bc727),this['_onConflict'](!0x1);}}[_0x50a7d0(0x3e8)](){const _0x1407c7=_0x50a7d0;throw new Error(_0x1407c7(0x491));}['onRemoteRej'](){const _0x51cb1e=_0x50a7d0;throw new Error(_0x51cb1e(0x425));}[_0x50a7d0(0x29b)](){return this;}[_0x50a7d0(0x2b9)](){const _0xae98a8=_0x50a7d0;return this[_0xae98a8(0x2c1)](),this[_0xae98a8(0x408)]['createInstance'](ye,this[_0xae98a8(0xaa)],this[_0xae98a8(0x105)],null,this[_0xae98a8(0x196)],this[_0xae98a8(0x106)]);}[_0x50a7d0(0x30d)](){return this;}['_schedule'](_0x54b8c8){const _0x4e1bb9=_0x50a7d0,_0xd4444e=_0x54b8c8!=null?_0x54b8c8:this[_0x4e1bb9(0x4bb)]();this[_0x4e1bb9(0x1f7)]=new Date()['getTime'](),this['_sendingTimer']=window['setTimeout'](()=>{const _0x4d7b67=_0x4e1bb9;this[_0x4d7b67(0x2c1)]();let _0xd26c96=null;switch(this[_0x4d7b67(0x105)]){case ce[_0x4d7b67(0x331)]:{_0xd26c96=zs(this[_0x4d7b67(0x196)],this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x283)],this[_0x4d7b67(0x383)],this[_0x4d7b67(0x35d)]);break;}case ce['UNIVER_DOC']:{this['_pendingMutations'][_0x4d7b67(0x18c)](_0x24a6c3=>_0x24a6c3['id']===_0x5e3fd9['id'])?_0xd26c96=To(this[_0x4d7b67(0x196)],this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x283)],this[_0x4d7b67(0x383)],this[_0x4d7b67(0x35d)]):_0xd26c96=zs(this[_0x4d7b67(0x196)],this['unitID'],this[_0x4d7b67(0x283)],this[_0x4d7b67(0x383)],this[_0x4d7b67(0x35d)]);break;}default:throw new Error(_0x4d7b67(0x1e9)+this['type']+_0x4d7b67(0x257));}const {changeset:_0x112d45,pendingMutations:_0x21ebfb}=_0xd26c96;this[_0x4d7b67(0x106)][_0x4d7b67(0x17a)](_0x112d45);const _0x43c3b8=_0x21ebfb[_0x4d7b67(0x1d0)]?this['_injector'][_0x4d7b67(0xe7)](ge,this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x105)],_0x112d45,_0x21ebfb,this[_0x4d7b67(0x106)],void 0x0):this[_0x4d7b67(0x408)][_0x4d7b67(0xe7)](Re,this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x105)],_0x112d45,this[_0x4d7b67(0x106)]);_0x43c3b8[_0x4d7b67(0x461)](),this[_0x4d7b67(0x106)][_0x4d7b67(0x3ad)](this,_0x43c3b8);},_0xd4444e);}['_getSendChangesetTimeout'](){const _0x483e8f=_0x50a7d0;var _0xda0355;const _0x5696d1=this['_configService'][_0x483e8f(0x4c6)](ee);return(_0xda0355=_0x5696d1==null?void 0x0:_0x5696d1[_0x483e8f(0x12d)])!=null?_0xda0355:Sn;}[_0x50a7d0(0x3d1)](){const _0x1ce0a3=_0x50a7d0;throw new Error(_0x1ce0a3(0x26c));}[_0x50a7d0(0x2c1)](){const _0x8837f9=_0x50a7d0;this[_0x8837f9(0xe8)]!=null&&(clearTimeout(this[_0x8837f9(0xe8)]),this[_0x8837f9(0xe8)]=null);}['_onConflict'](_0x3740ae){const _0x141d72=_0x50a7d0;return this[_0x141d72(0x2c1)](),this[_0x141d72(0x408)]['createInstance'](Oe,this[_0x141d72(0xaa)],this[_0x141d72(0x105)],null,this[_0x141d72(0x196)],this['_handler'],_0x3740ae);}};pe=$e([A(0x4,_0x33026a(_0x17dae8)),A(0x5,_0x33026a(_0x50f245)),A(0x6,_0x33026a(q)),A(0x7,_0x33026a(Me)),A(0x8,_0x299b7a),A(0x9,_0x2e05f8),A(0xa,_0x533505),A(0xb,_0x4af41b),A(0xc,_0x28b990),A(0xd,_0x5b0e0d)],pe);let Re=class extends He{constructor(_0x52b2a3,_0x9c0b8d,_0x1652a4,_0xf2ab3c,_0x43d450,_0xca0dfe,_0x4b9ef6,_0x2b1034,_0x550433,_0x258963,_0x2e595e){const _0x27bf4c=_0x50a7d0;super(_0x52b2a3,_0x9c0b8d,_0x1652a4,[],_0xf2ab3c,_0x2b1034,_0x2e595e,_0xca0dfe,_0x4b9ef6),g(this,_0x27bf4c(0x295),_0x27bf4c(0x114)),g(this,_0x27bf4c(0x212),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x27bf4c(0x408)]=_0x43d450,this['_logService']=_0x550433,this[_0x27bf4c(0x494)]=_0x258963);}['appendMutation'](_0xe64053){const _0x210462=_0x50a7d0;this[_0x210462(0x2c1)]();const _0xa3a174=this[_0x210462(0x408)][_0x210462(0xe7)](ge,this[_0x210462(0xaa)],this[_0x210462(0x105)],this[_0x210462(0x1aa)],[_0xe64053],this['_handler'],this[_0x210462(0x160)]);return _0xa3a174[_0x210462(0x461)](),_0xa3a174;}['onRemoteChangeset'](_0x38cad0){const _0x598eb2=_0x50a7d0;if(this[_0x598eb2(0x195)](_0x38cad0))return this[_0x598eb2(0x2c1)](),this[_0x598eb2(0x408)][_0x598eb2(0xe7)](he,this[_0x598eb2(0xaa)],this[_0x598eb2(0x105)],this[_0x598eb2(0x1aa)],[],null,[_0x38cad0],this[_0x598eb2(0x106)]);try{const _0x282117=this[_0x598eb2(0x494)]['transformChangesets']([_0x38cad0],[this[_0x598eb2(0x1aa)]],!0x1);if(_0x22d91c(_0x282117)){const {c1Prime:_0xfcb90d,c2Prime:_0x1907f3}=_0x282117;this[_0x598eb2(0x130)](_0xfcb90d[0x0]),_0x1907f3[0x0]['baseRev']=this[_0x598eb2(0x465)](),this[_0x598eb2(0x2c1)]();const _0x3af899=this[_0x598eb2(0x408)][_0x598eb2(0xe7)](Re,this['unitID'],this[_0x598eb2(0x105)],_0x1907f3[0x0],this['_handler']);return _0x3af899[_0x598eb2(0x461)](),_0x3af899;}return this[_0x598eb2(0x498)](!0x1);}catch(_0x4ff7e9){return this[_0x598eb2(0x422)]['error'](_0x4ff7e9),this[_0x598eb2(0x498)](!0x1);}}[_0x50a7d0(0x3e8)](_0x113b61){const _0x11fa84=_0x50a7d0;this[_0x11fa84(0x2c1)]();const _0x586046=this['_revisionService'][_0x11fa84(0x4cf)](this[_0x11fa84(0xaa)]);if(_0x113b61[_0x11fa84(0x29d)]<_0x586046-0x1)return this;if(this['_checkMissing'](_0x113b61))return this['_injector'][_0x11fa84(0xe7)](he,this['unitID'],this[_0x11fa84(0x105)],null,[],this[_0x11fa84(0x1aa)],[],this[_0x11fa84(0x106)]);this['_incrementRevisionNumber']();const _0x4c9deb=this['_injector'][_0x11fa84(0xe7)](Fe,this[_0x11fa84(0xaa)],this[_0x11fa84(0x105)],this['_handler']);return _0x4c9deb['_updateLocalCache'](),_0x4c9deb;}[_0x50a7d0(0x395)](_0xa220f0){const _0x3d8a6d=_0x50a7d0;return this[_0x3d8a6d(0x498)](!!(_0xa220f0!=null&&_0xa220f0[_0x3d8a6d(0x260)]));}['onRemoteRetry'](_0x2fdafd){const _0x4a9a5a=_0x50a7d0;return this[_0x4a9a5a(0x212)]>Hi?this[_0x4a9a5a(0x2b9)]():(this[_0x4a9a5a(0x160)]=$i(this[_0x4a9a5a(0x212)],{'timeout':this['_resendTimeout'],'reqId':_0x2fdafd[_0x4a9a5a(0x243)]}),this['_sender']=this[_0x4a9a5a(0x160)][_0x4a9a5a(0x479)](({reqId:_0x489405,timeout:_0x55353e})=>{const _0x1a42f6=_0x4a9a5a;this[_0x1a42f6(0x167)](_0x489405,_0x55353e);}),this);}['toggleOffline'](){const _0x35df89=_0x50a7d0;return this[_0x35df89(0x2c1)](),this[_0x35df89(0x408)][_0x35df89(0xe7)](ye,this[_0x35df89(0xaa)],this[_0x35df89(0x105)],this[_0x35df89(0x1aa)],[],this[_0x35df89(0x106)]);}[_0x50a7d0(0x30d)](){return this;}[_0x50a7d0(0x3d1)](){const _0x1a4974=_0x50a7d0;this[_0x1a4974(0x106)][_0x1a4974(0x17a)](this['_awaitingChangeset']);}[_0x50a7d0(0x498)](_0x19a2ce){const _0x336dfb=_0x50a7d0;return this[_0x336dfb(0x2c1)](),this['_injector']['createInstance'](Oe,this[_0x336dfb(0xaa)],this[_0x336dfb(0x105)],this[_0x336dfb(0x1aa)],[],this[_0x336dfb(0x106)],_0x19a2ce);}[_0x50a7d0(0x167)](_0x221435,_0x562378){const _0x4f6a7e=_0x50a7d0;var _0x3b358d;_0x221435===((_0x3b358d=this[_0x4f6a7e(0x1aa)])==null?void 0x0:_0x3b358d['reqId'])&&(this[_0x4f6a7e(0x3d1)](),this[_0x4f6a7e(0x212)]=_0x562378===0x0?0x3e8:_0x562378*0x2);}[_0x50a7d0(0x2c1)](){const _0x5c7918=_0x50a7d0;var _0x16e265;(_0x16e265=this[_0x5c7918(0x411)])==null||_0x16e265[_0x5c7918(0x4b2)](),this[_0x5c7918(0x212)]=0x0;}};Re=$e([A(0x4,_0x33026a(_0x17dae8)),A(0x5,_0x33026a(_0x50f245)),A(0x6,_0x33026a(q)),A(0x7,_0x2e05f8),A(0x8,_0x299b7a),A(0x9,_0x4af41b),A(0xa,_0x5b0e0d)],Re);let ge=class extends He{constructor(_0x4d84a9,_0x4820f2,_0x5be511,_0x49f57b,_0x148ed0,_0x18480c,_0x50754b,_0x313fa6,_0x50cfb3,_0x48b013,_0x189a2a,_0x4e5c4a,_0x457f53){const _0xb80f65=_0x50a7d0;super(_0x4d84a9,_0x4820f2,_0x5be511,_0x49f57b,_0x148ed0,_0x48b013,_0x457f53,_0x313fa6,_0x50cfb3),g(this,_0xb80f65(0x295),_0xb80f65(0x49e)),g(this,'_resendTimeout',0x0),g(this,_0xb80f65(0x160)),g(this,'_sender'),(this[_0xb80f65(0x408)]=_0x50754b,this['_logService']=_0x189a2a,this[_0xb80f65(0x494)]=_0x4e5c4a,_0x18480c&&(this[_0xb80f65(0x160)]=_0x18480c,this[_0xb80f65(0x411)]=this[_0xb80f65(0x160)][_0xb80f65(0x479)](({reqId:_0x108e60,timeout:_0x5ed197})=>{this['_resendWithTimeout'](_0x108e60,_0x5ed197);})));}[_0x50a7d0(0x442)](_0x59bb31){const _0xb5d625=_0x50a7d0;return this[_0xb5d625(0x196)][_0xb5d625(0xc6)](_0x59bb31),this;}[_0x50a7d0(0x13c)](_0x44e2c4){const _0x19bfb6=_0x50a7d0;if(this['_checkMissing'](_0x44e2c4))return this[_0x19bfb6(0x2c1)](),this['_injector'][_0x19bfb6(0xe7)](he,this['unitID'],this['type'],this[_0x19bfb6(0x1aa)],this[_0x19bfb6(0x196)],null,[_0x44e2c4],this[_0x19bfb6(0x106)]);try{const _0x3dcdaf=this[_0x19bfb6(0x494)][_0x19bfb6(0x100)]([_0x44e2c4],[this[_0x19bfb6(0x1aa)]],!0x1);if(_0x22d91c(_0x3dcdaf)){const {c1Prime:_0x1ba192,c2Prime:_0x21f54c}=_0x3dcdaf,_0x4e8481=this[_0x19bfb6(0x494)][_0x19bfb6(0x31d)](_0x1ba192[0x0],this['_pendingMutations']);if(_0x545fca(_0x4e8481)){const {c1Prime:_0x2c29fe,m2Prime:_0x4523ae}=_0x4e8481;return this['_executeRemoteChangeset'](_0x2c29fe),_0x21f54c[0x0][_0x19bfb6(0x170)]=this['_getCurrentRevision'](),this[_0x19bfb6(0x2c1)](),this[_0x19bfb6(0x408)][_0x19bfb6(0xe7)](ge,this['unitID'],this[_0x19bfb6(0x105)],_0x21f54c[0x0],_0x4523ae,this[_0x19bfb6(0x106)],void 0x0);}throw _0x4e8481[_0x19bfb6(0x3a2)];}throw _0x3dcdaf[_0x19bfb6(0x3a2)];}catch(_0x5a39a9){return this['_logService'][_0x19bfb6(0x3a2)](_0x5a39a9),this[_0x19bfb6(0x498)](!0x1);}}['onRemoteAck'](_0x2d8432){const _0x3d7ee5=_0x50a7d0;if(this['_clearScheduledTask'](),this[_0x3d7ee5(0x195)](_0x2d8432))return this[_0x3d7ee5(0x408)][_0x3d7ee5(0xe7)](he,this['unitID'],this['type'],null,this[_0x3d7ee5(0x196)],this['_awaitingChangeset'],[],this[_0x3d7ee5(0x106)]);this[_0x3d7ee5(0x2e1)]();const _0x1844b1=this[_0x3d7ee5(0x408)][_0x3d7ee5(0xe7)](pe,this[_0x3d7ee5(0xaa)],this[_0x3d7ee5(0x105)],this['_pendingMutations'],this[_0x3d7ee5(0x106)]);return _0x1844b1[_0x3d7ee5(0x245)](),_0x1844b1[_0x3d7ee5(0x461)](),_0x1844b1;}[_0x50a7d0(0x395)](_0x2ce8d1){const _0x4c6100=_0x50a7d0;return this[_0x4c6100(0x498)](!!(_0x2ce8d1!=null&&_0x2ce8d1[_0x4c6100(0x260)]));}[_0x50a7d0(0x29b)](_0x5e48de){const _0x35a759=_0x50a7d0;return this[_0x35a759(0x212)]>Hi?this[_0x35a759(0x2b9)]():(this[_0x35a759(0x160)]=$i(this[_0x35a759(0x212)],{'timeout':this['_resendTimeout'],'reqId':_0x5e48de[_0x35a759(0x243)]}),this[_0x35a759(0x411)]=this['_resendTimer'][_0x35a759(0x479)](({reqId:_0x58d6b0,timeout:_0x3ac83d})=>{const _0x1745d8=_0x35a759;this[_0x1745d8(0x167)](_0x58d6b0,_0x3ac83d);}),this);}[_0x50a7d0(0x2b9)](){const _0x308bce=_0x50a7d0;return this['_clearScheduledTask'](),this[_0x308bce(0x408)][_0x308bce(0xe7)](ye,this[_0x308bce(0xaa)],this[_0x308bce(0x105)],this[_0x308bce(0x1aa)],this[_0x308bce(0x196)],this[_0x308bce(0x106)]);}[_0x50a7d0(0x30d)](){return this;}[_0x50a7d0(0x3d1)](){const _0x55836e=_0x50a7d0;this[_0x55836e(0x106)][_0x55836e(0x17a)](this[_0x55836e(0x1aa)]);}[_0x50a7d0(0x498)](_0x183992){const _0x30ea3b=_0x50a7d0;return this[_0x30ea3b(0x2c1)](),this[_0x30ea3b(0x408)][_0x30ea3b(0xe7)](Oe,this[_0x30ea3b(0xaa)],this['type'],null,this[_0x30ea3b(0x196)],this[_0x30ea3b(0x106)],_0x183992);}['_resendWithTimeout'](_0x219753,_0x44a01b){const _0x4aa2cb=_0x50a7d0;var _0xec7fe9;_0x219753===((_0xec7fe9=this[_0x4aa2cb(0x1aa)])==null?void 0x0:_0xec7fe9[_0x4aa2cb(0x243)])&&(this[_0x4aa2cb(0x3d1)](),this[_0x4aa2cb(0x212)]=_0x44a01b===0x0?0x3e8:_0x44a01b*0x2);}[_0x50a7d0(0x2c1)](){const _0x38c303=_0x50a7d0;var _0x2ee85b;(_0x2ee85b=this[_0x38c303(0x411)])==null||_0x2ee85b[_0x38c303(0x4b2)](),this['_resendTimeout']=0x0;}};ge=$e([A(0x6,_0x33026a(_0x17dae8)),A(0x7,_0x33026a(_0x50f245)),A(0x8,_0x33026a(q)),A(0x9,_0x2e05f8),A(0xa,_0x299b7a),A(0xb,_0x4af41b),A(0xc,_0x5b0e0d)],ge);let Oe=class extends He{constructor(_0x22ebe1,_0x3b4b95,_0x270593,_0x3ccc70,_0x58284c,_0x5695a8=!0x1,_0x3bd8fe,_0x2bc7fa,_0x408eea,_0x1cff89,_0x1252b1,_0x508c2b,_0x639674){const _0x320b2e=_0x50a7d0;super(_0x22ebe1,_0x3b4b95,_0x270593,_0x3ccc70,_0x58284c,_0x2bc7fa,_0x408eea,_0x1252b1,_0x1cff89),g(this,'status',_0x320b2e(0x312)),(this[_0x320b2e(0x33a)]=_0x5695a8,this[_0x320b2e(0x135)]=_0x3bd8fe,this['_localeService']=_0x508c2b,this[_0x320b2e(0x276)]=_0x639674,this['_showConflictNotification'](),this[_0x320b2e(0x36b)](),this[_0x320b2e(0x332)]());}[_0x50a7d0(0x442)](){return this;}[_0x50a7d0(0x13c)](){return this;}[_0x50a7d0(0x3e8)](){return this;}[_0x50a7d0(0x395)](){return this;}[_0x50a7d0(0x29b)](){return this;}[_0x50a7d0(0x2b9)](){return this;}[_0x50a7d0(0x30d)](){return this;}[_0x50a7d0(0x3d1)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x2f84e9=_0x50a7d0;this[_0x2f84e9(0x251)][_0x2f84e9(0x306)](this['unitID'],this['type'],null,[]);}[_0x50a7d0(0x34f)](){const _0x292e81=_0x50a7d0;this['_isPermissionRej']?this[_0x292e81(0x276)][_0x292e81(0x179)]({'title':this[_0x292e81(0x193)]['t'](_0x292e81(0xb8)),'content':this[_0x292e81(0x193)]['t'](_0x292e81(0x48d)),'type':_0x292e81(0x3a2),'duration':0x0}):this[_0x292e81(0x276)][_0x292e81(0x179)]({'title':this[_0x292e81(0x193)]['t'](_0x292e81(0x21c)),'content':this[_0x292e81(0x193)]['t'](_0x292e81(0x453)),'type':_0x292e81(0x3a2),'duration':0x0});}['_disableEditing'](){const _0x435150=_0x50a7d0;this['_permissionService'][_0x435150(0x142)](new _0x442ff4(this[_0x435150(0xaa)])['id'],!0x1);}};Oe=$e([A(0x6,_0x33026a(_0x20da8e)),A(0x7,_0x2e05f8),A(0x8,_0x5b0e0d),A(0x9,_0x33026a(q)),A(0xa,_0x33026a(_0x50f245)),A(0xb,_0x33026a(_0x21b13d)),A(0xc,_0x45333f)],Oe);let ye=class extends He{constructor(_0x586599,_0x150197,_0x40c39c,_0x3ccdb4,_0x3a2582,_0x25ea8e,_0x2b3da7,_0x1b773c,_0x2d3359,_0x323c82){const _0x1cf574=_0x50a7d0;super(_0x586599,_0x150197,_0x40c39c,_0x3ccdb4,_0x3a2582,_0x2d3359,_0x323c82,_0x2b3da7,_0x1b773c),g(this,_0x1cf574(0x295),'offline'),this['_injector']=_0x25ea8e;}[_0x50a7d0(0x442)](_0x2236a0){const _0xc4c981=_0x50a7d0;return this[_0xc4c981(0x196)]['push'](_0x2236a0),this['_updateLocalCache'](),this;}[_0x50a7d0(0x13c)](_0x4f8270){const _0x46e123=_0x50a7d0;throw new Error(_0x46e123(0x499));}['onRemoteAck'](){const _0x4331f1=_0x50a7d0;throw new Error(_0x4331f1(0x2c6));}[_0x50a7d0(0x395)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x50a7d0(0x29b)](){return this;}[_0x50a7d0(0x2b9)](){return this;}[_0x50a7d0(0x30d)](){const {_injector:_0x39152b,_pendingMutations:_0x37fc2d,_awaitingChangeset:_0xeedad8,unitID:_0xce18ff,_handler:_0x37710e,type:_0x615554}=this,_0x2528ee=ji(_0x39152b,_0xce18ff,_0x615554,_0xeedad8,_0x37fc2d,_0x37710e);return _0x2528ee instanceof pe?_0x2528ee['_schedule']():(_0x2528ee instanceof ge||_0x2528ee instanceof Re)&&_0x2528ee['resend'](),_0x2528ee;}[_0x50a7d0(0x3d1)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=$e([A(0x5,_0x33026a(_0x17dae8)),A(0x6,_0x33026a(_0x50f245)),A(0x7,_0x33026a(q)),A(0x8,_0x2e05f8),A(0x9,_0x5b0e0d)],ye);let he=class extends He{constructor(_0x5dff0a,_0x247064,_0x1292a8,_0x31c932,_0x3f95e2,_0xba962a,_0x5e7bd3,_0x233deb,_0x543ac5,_0x1ed990,_0x202b76,_0x106800,_0x25e3d9,_0x40b52e){const _0x3544a2=_0x50a7d0;super(_0x5dff0a,_0x247064,_0x1292a8,_0x31c932,_0x5e7bd3,_0x106800,_0x25e3d9,_0x543ac5,_0x1ed990),g(this,'status',_0x3544a2(0x401)),(this[_0x3544a2(0x267)]=_0x3f95e2,this[_0x3544a2(0x43e)]=_0xba962a,this['_injector']=_0x233deb,this[_0x3544a2(0x422)]=_0x202b76,this[_0x3544a2(0x494)]=_0x40b52e);}['onMissedChangesetFetched'](_0x53fb39){const _0x3d58e2=_0x50a7d0;try{const _0x1a85d7=[..._0x53fb39,...this['_queuedRemoteChangesets']],_0x45f766=[this[_0x3d58e2(0x1aa)]||this[_0x3d58e2(0x267)]][_0x3d58e2(0x4ba)](_0x1e7fc6=>!!_0x1e7fc6);let _0x1b6a0b,_0x3dbc18;if(_0x45f766[_0x3d58e2(0x1d0)]){const _0xbb209a=this['_transformService'][_0x3d58e2(0x100)](_0x1a85d7,_0x45f766,!0x1);if(!_0x22d91c(_0xbb209a))throw _0xbb209a[_0x3d58e2(0x3a2)];_0x1b6a0b=_0xbb209a[_0x3d58e2(0x345)],_0x3dbc18=_0xbb209a[_0x3d58e2(0xcd)];}else _0x1b6a0b=_0x1a85d7,_0x3dbc18=[];let _0x1742fb=this[_0x3d58e2(0x196)];_0x1b6a0b[_0x3d58e2(0x375)](_0xc99d9c=>{const _0x344d0a=_0x3d58e2;let _0x4ab201;if(_0x1742fb[_0x344d0a(0x1d0)]){const _0x1ba115=this[_0x344d0a(0x494)][_0x344d0a(0x31d)](_0xc99d9c,_0x1742fb);if(!_0x545fca(_0x1ba115))throw _0x1ba115[_0x344d0a(0x3a2)];_0x4ab201=_0x1ba115[_0x344d0a(0x345)],_0x1742fb=_0x1ba115[_0x344d0a(0x37e)];}else _0x4ab201=_0xc99d9c;this['_executeRemoteChangeset'](_0x4ab201);}),this[_0x3d58e2(0x267)]&&this[_0x3d58e2(0x2e1)](),this[_0x3d58e2(0x1aa)]&&_0x3dbc18['length']&&(_0x3dbc18[0x0][_0x3d58e2(0x170)]=this[_0x3d58e2(0x465)]());let _0x53540f;if(this[_0x3d58e2(0x1aa)]&&_0x1742fb[_0x3d58e2(0x1d0)]!==0x0)_0x53540f=this[_0x3d58e2(0x408)][_0x3d58e2(0xe7)](ge,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],_0x3dbc18[0x0],_0x1742fb,this['_handler'],void 0x0);else{if(this[_0x3d58e2(0x1aa)]&&_0x1742fb[_0x3d58e2(0x1d0)]===0x0)_0x3dbc18[0x0]['baseRev']=this[_0x3d58e2(0x465)](),_0x53540f=this[_0x3d58e2(0x408)][_0x3d58e2(0xe7)](Re,this['unitID'],this[_0x3d58e2(0x105)],_0x3dbc18[0x0],this[_0x3d58e2(0x106)]);else{if(_0x1742fb[_0x3d58e2(0x1d0)]!==0x0){const _0x7538ac=this['_injector'][_0x3d58e2(0xe7)](pe,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],_0x1742fb,this[_0x3d58e2(0x106)]);_0x7538ac[_0x3d58e2(0x245)](),_0x53540f=_0x7538ac;}else _0x53540f=this[_0x3d58e2(0x408)][_0x3d58e2(0xe7)](Fe,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],this[_0x3d58e2(0x106)]);}}return _0x53540f[_0x3d58e2(0x461)](),_0x53540f;}catch(_0x50a9a8){return this['_logService'][_0x3d58e2(0x3a2)]('[FetchMissState]',_0x3d58e2(0xf4),_0x50a9a8),this[_0x3d58e2(0x408)]['createInstance'](Oe,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],this[_0x3d58e2(0x1aa)],this['_pendingMutations'],this[_0x3d58e2(0x106)],!0x1);}}[_0x50a7d0(0x3d1)](){const _0x169d4a=_0x50a7d0;throw new Error(_0x169d4a(0xcf));}[_0x50a7d0(0x442)](_0x3f050c){const _0x4adbd9=_0x50a7d0;return this[_0x4adbd9(0x196)][_0x4adbd9(0xc6)](_0x3f050c),this;}[_0x50a7d0(0x13c)](_0x1bb189){const _0x2ba612=_0x50a7d0;return this[_0x2ba612(0x43e)][_0x2ba612(0xc6)](_0x1bb189),this;}['onRemoteAck'](_0x29bd24){const _0xe8f69=_0x50a7d0;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0xe8f69(0x1aa)],this[_0xe8f69(0x1aa)]=null,this;throw new Error(_0xe8f69(0x255));}[_0x50a7d0(0x395)](_0x29b485){const _0x2d3933=_0x50a7d0;return this[_0x2d3933(0x498)](!!(_0x29b485!=null&&_0x29b485[_0x2d3933(0x260)]));}['onRemoteRetry'](){return this;}[_0x50a7d0(0x2b9)](){const _0x4361c9=_0x50a7d0;return this['_injector']['createInstance'](ye,this[_0x4361c9(0xaa)],this[_0x4361c9(0x105)],this[_0x4361c9(0x1aa)],this[_0x4361c9(0x196)],this[_0x4361c9(0x106)]);}['toggleOnline'](){return this;}['_onConflict'](_0x29a01d){const _0x83ac06=_0x50a7d0;return this[_0x83ac06(0x408)][_0x83ac06(0xe7)](Oe,this[_0x83ac06(0xaa)],this[_0x83ac06(0x105)],this[_0x83ac06(0x1aa)],this[_0x83ac06(0x196)],this[_0x83ac06(0x106)],_0x29a01d);}};he=$e([A(0x7,_0x33026a(_0x17dae8)),A(0x8,_0x33026a(_0x50f245)),A(0x9,_0x33026a(q)),A(0xa,_0x299b7a),A(0xb,_0x2e05f8),A(0xc,_0x5b0e0d),A(0xd,_0x4af41b)],he);function ji(_0x4b25ed,_0x40a611,_0x2654f0,_0x2b9d91,_0x26e89c,_0x3676e2){const _0x26dba2=_0x50a7d0;return _0x2b9d91&&_0x26e89c['length']?_0x4b25ed[_0x26dba2(0xe7)](ge,_0x40a611,_0x2654f0,_0x2b9d91,_0x26e89c,_0x3676e2,void 0x0):_0x2b9d91?_0x4b25ed[_0x26dba2(0xe7)](Re,_0x40a611,_0x2654f0,_0x2b9d91,_0x3676e2):_0x26e89c['length']?_0x4b25ed[_0x26dba2(0xe7)](pe,_0x40a611,_0x2654f0,_0x26e89c,_0x3676e2):_0x4b25ed[_0x26dba2(0xe7)](Fe,_0x40a611,_0x2654f0,_0x3676e2);}var wo=Object[_0x50a7d0(0x15c)],Do=Object[_0x50a7d0(0x18b)],Rs=(_0x26a471,_0x3cfe1a,_0x34e43c,_0x5da298)=>{const _0x15b091=_0x50a7d0;for(var _0x346be7=_0x5da298>0x1?void 0x0:_0x5da298?Do(_0x3cfe1a,_0x34e43c):_0x3cfe1a,_0x5b100e=_0x26a471[_0x15b091(0x1d0)]-0x1,_0x153d31;_0x5b100e>=0x0;_0x5b100e--)(_0x153d31=_0x26a471[_0x5b100e])&&(_0x346be7=(_0x5da298?_0x153d31(_0x3cfe1a,_0x34e43c,_0x346be7):_0x153d31(_0x346be7))||_0x346be7);return _0x5da298&&_0x346be7&&wo(_0x3cfe1a,_0x34e43c,_0x346be7),_0x346be7;},H=(_0x588ee5,_0x502f9d)=>(_0x4bfbbd,_0x24972f)=>_0x502f9d(_0x4bfbbd,_0x24972f,_0x588ee5);let St=class extends _0x2983d9{constructor(_0x8469bd,_0x2d079e,_0x242c58,_0x32bd10,_0x4cbd23,_0xa69280,_0x303b7f,_0x3957e0,_0x38a85f,_0x5ac446,_0x4cefbe,_0x28694e,_0x296bc7){const _0x3eb1d4=_0x50a7d0;super(),g(this,_0x3eb1d4(0x134),new _0x22472b(null)),g(this,'state$',this[_0x3eb1d4(0x134)][_0x3eb1d4(0x1e8)]()),g(this,_0x3eb1d4(0xaf)),g(this,_0x3eb1d4(0x11d),!0x1),g(this,_0x3eb1d4(0x2dd),''),g(this,_0x3eb1d4(0x102),0x0),g(this,_0x3eb1d4(0x361),this['state$'][_0x3eb1d4(0x157)](_0x4aea5f(_0x12bb24=>_0x12bb24?_0x12bb24['status']:J['OFFLINE']),_0x58d478(0x1))),g(this,_0x3eb1d4(0x41c),!0x1),g(this,_0x3eb1d4(0x174),[]),(this[_0x3eb1d4(0xaa)]=_0x8469bd,this[_0x3eb1d4(0xd5)]=_0x2d079e,this[_0x3eb1d4(0x46e)]=_0x242c58,this[_0x3eb1d4(0x408)]=_0x32bd10,this['_localCacheService']=_0x4cbd23,this[_0x3eb1d4(0x47a)]=_0xa69280,this[_0x3eb1d4(0x193)]=_0x303b7f,this[_0x3eb1d4(0x383)]=_0x3957e0,this[_0x3eb1d4(0x422)]=_0x38a85f,this[_0x3eb1d4(0x293)]=_0x5ac446,this[_0x3eb1d4(0xdf)]=_0x4cefbe,this[_0x3eb1d4(0x135)]=_0x28694e,this[_0x3eb1d4(0x3f8)]=_0x296bc7);}get[_0x50a7d0(0x3bd)](){const _0x4b6bbd=_0x50a7d0;return this[_0x4b6bbd(0xaf)];}async[_0x50a7d0(0x237)](){const _0x1e351c=_0x50a7d0;if(this[_0x1e351c(0x3bd)])throw new Error(_0x1e351c(0x396));await this[_0x1e351c(0x1a9)]();}[_0x50a7d0(0x34a)](){const _0x2ab81f=_0x50a7d0;return this[_0x2ab81f(0x11d)]=!0x0,_0xd370ea(()=>{const _0x39e103=_0x2ab81f;this[_0x39e103(0x11d)]=!0x1,this[_0x39e103(0x2da)]();});}[_0x50a7d0(0x44b)](_0x28642f){const _0x10d2b8=_0x50a7d0;this[_0x10d2b8(0xaf)]=_0x28642f,this['_state$']['next'](_0x28642f);}async[_0x50a7d0(0x1a9)](){const _0x9bbd0c=_0x50a7d0;var _0x1c297a;this[_0x9bbd0c(0x44b)](await this['_createInitialState']()),this[_0x9bbd0c(0x3f8)]&&((_0x1c297a=this[_0x9bbd0c(0x3f8)])==null||_0x1c297a[_0x9bbd0c(0x20a)](this[_0x9bbd0c(0xaa)]),this[_0x9bbd0c(0x450)](this[_0x9bbd0c(0x3f8)][_0x9bbd0c(0x2c5)](this[_0x9bbd0c(0xaa)])[_0x9bbd0c(0x479)](_0x1260ca=>{const _0x286e89=_0x9bbd0c;this[_0x286e89(0x422)][_0x286e89(0x165)](_0x286e89(0x296),_0x286e89(0x473),_0x1260ca),_0x1260ca===xi[_0x286e89(0xe4)]?(this[_0x286e89(0xdf)][_0x286e89(0x179)]({'content':this[_0x286e89(0x193)]['t'](_0x286e89(0xc5)),'type':_0x4eaed3[_0x286e89(0x4c9)]}),this[_0x286e89(0x135)][_0x286e89(0x142)](new _0x442ff4(this['unitID'])['id'],!0x1),this[_0x286e89(0x135)][_0x286e89(0x44d)](!0x1)):(this[_0x286e89(0x135)][_0x286e89(0x142)](new _0x442ff4(this[_0x286e89(0xaa)])['id'],!0x0),this['_permissionService'][_0x286e89(0x44d)](!0x0));})));let _0x32c114=!0x1;return this[_0x9bbd0c(0x450)](this[_0x9bbd0c(0xd5)][_0x9bbd0c(0x294)][_0x9bbd0c(0x479)](_0x34cca6=>{const _0x3d459e=_0x9bbd0c;_0x34cca6===ve[_0x3d459e(0x156)]?this[_0x3d459e(0x1f6)](_0x32c114):_0x34cca6===ve[_0x3d459e(0x4a2)]&&(_0x32c114=!0x0,this[_0x3d459e(0x1a0)]());})),this['disposeWithMe'](this[_0x9bbd0c(0xd5)]['event$']['subscribe'](_0xc11fff=>{const _0x3e9221=_0x9bbd0c;try{switch(_0xc11fff[_0x3e9221(0x424)]){case _0x26d642['NEW_CHANGESETS']:{this[_0x3e9221(0x25d)](_0x1785c0(_0xc11fff[_0x3e9221(0x274)]));break;}case _0x26d642['CHANGESET_ACK']:{this[_0x3e9221(0x2c7)](_0xc11fff[_0x3e9221(0x274)]);break;}case _0x26d642[_0x3e9221(0xb1)]:{this[_0x3e9221(0x2a0)]();break;}case _0x26d642[_0x3e9221(0x354)]:{this[_0x3e9221(0x219)](_0xc11fff[_0x3e9221(0x274)]);break;}case _0x26d642[_0x3e9221(0xec)]:{this[_0x3e9221(0x3eb)](_0xc11fff[_0x3e9221(0x274)][_0x3e9221(0xfa)][_0x3e9221(0x360)](_0xa927c=>_0x1785c0(_0xa927c)));break;}case _0x26d642['PERMISSION_REJ']:this[_0x3e9221(0x2a0)]({'isPermissionRej':!0x0});}}catch(_0x310bc0){throw console[_0x3e9221(0x3a2)](_0x3e9221(0x1b8),_0x310bc0),_0x310bc0;}})),this[_0x9bbd0c(0xaf)];}[_0x50a7d0(0x316)](){const _0x2316c0=_0x50a7d0;this[_0x2316c0(0x41c)]=!0x1;}[_0x50a7d0(0x2e7)](){const _0x519ba3=_0x50a7d0;if(this[_0x519ba3(0x41c)])throw new Error(_0x519ba3(0xee));this['_transitionLocked']=!0x0;}[_0x50a7d0(0x2fd)](_0x3a8cd8){const _0x17e23d=_0x50a7d0;this[_0x17e23d(0x2e7)](),this[_0x17e23d(0x44b)](this[_0x17e23d(0xaf)][_0x17e23d(0x442)](_0x3a8cd8)),this[_0x17e23d(0x316)]();}[_0x50a7d0(0x25d)](_0x33ffdf){const _0x34f1dd=_0x50a7d0;if(!(_0x33ffdf['revision']<=this[_0x34f1dd(0x383)][_0x34f1dd(0x4cf)](this[_0x34f1dd(0xaa)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x34f1dd(0xc6)](_0x33ffdf);return;}this[_0x34f1dd(0x4bf)](_0x33ffdf);}}[_0x50a7d0(0x2da)](){const _0x371d5e=_0x50a7d0;this[_0x371d5e(0x174)][_0x371d5e(0x375)](_0x1aeed8=>this[_0x371d5e(0x4bf)](_0x1aeed8)),this['_remoteChangesetQueue']=[];}[_0x50a7d0(0x4bf)](_0x72abd2){const _0x2fd264=_0x50a7d0,_0x1c0c00=this['_compressMutationService'][_0x2fd264(0x482)]['fetchThroughInterceptors'](this[_0x2fd264(0x47a)][_0x2fd264(0x482)][_0x2fd264(0x27a)]()[_0x2fd264(0x3d2)])(_0x72abd2['mutations'],null)||_0x72abd2[_0x2fd264(0x182)],_0x59f1b1={..._0x72abd2,'mutations':_0x1c0c00};this[_0x2fd264(0x2e7)](),this[_0x2fd264(0x44b)](this['_state'][_0x2fd264(0x13c)](_0x59f1b1)),this[_0x2fd264(0x316)]();}[_0x50a7d0(0x2c7)](_0x3b0cb5){const _0x3deed7=_0x50a7d0;this[_0x3deed7(0x2e7)](),this['_updateState'](this[_0x3deed7(0xaf)]['onRemoteAck'](_0x3b0cb5)),this[_0x3deed7(0x316)]();}[_0x50a7d0(0x2a0)](_0x3b6e41){const _0x258d95=_0x50a7d0;this[_0x258d95(0x2e7)](),this['_updateState'](this[_0x258d95(0xaf)]['onRemoteRej'](_0x3b6e41)),this[_0x258d95(0x316)]();}[_0x50a7d0(0x219)](_0x425fdb){const _0x4b357b=_0x50a7d0;this['_lockTransition'](),this[_0x4b357b(0x44b)](this['_state'][_0x4b357b(0x29b)](_0x425fdb)),this[_0x4b357b(0x316)]();}[_0x50a7d0(0x3eb)](_0x3529db){const _0xa6b5bb=_0x50a7d0;if(!(this[_0xa6b5bb(0xaf)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4694d1=_0x3529db['map'](_0x162486=>{const _0x57b0f2=_0xa6b5bb,_0x2f9333=this[_0x57b0f2(0x47a)][_0x57b0f2(0x482)][_0x57b0f2(0xf1)](this[_0x57b0f2(0x47a)][_0x57b0f2(0x482)][_0x57b0f2(0x27a)]()[_0x57b0f2(0x3d2)])(_0x162486['mutations'],null)||_0x162486[_0x57b0f2(0x182)];return{..._0x162486,'mutations':_0x2f9333};});this['_lockTransition'](),this[_0xa6b5bb(0x44b)](this[_0xa6b5bb(0xaf)]['onMissedChangesetFetched'](_0x4694d1)),this[_0xa6b5bb(0x316)]();}[_0x50a7d0(0x1a0)](){const _0x360636=_0x50a7d0;this['_lockTransition'](),this[_0x360636(0x44b)](this[_0x360636(0xaf)][_0x360636(0x2b9)]()),this[_0x360636(0x316)]();}[_0x50a7d0(0x1f6)](_0x12d4b1=!0x1){const _0x2a2db8=_0x50a7d0;this[_0x2a2db8(0x2e7)](),this[_0x2a2db8(0x44b)](this[_0x2a2db8(0xaf)][_0x2a2db8(0x30d)]()),this[_0x2a2db8(0x316)]();const _0x348745=this['_state'];_0x12d4b1&&_0x348745 instanceof Fe&&(this['_lockTransition'](),this[_0x2a2db8(0x44b)](_0x348745[_0x2a2db8(0x1b2)]()),this[_0x2a2db8(0x316)]());}async['_createInitialState'](){return new Promise(_0x1e8f87=>{const _0x440a44=_0xc944;this['session'][_0x440a44(0x294)]['pipe'](_0x5cbb3a(0x1))[_0x440a44(0x479)](async _0x29da96=>{const _0x1f61f8=_0x440a44;_0x1e8f87(await this[_0x1f61f8(0x180)](_0x29da96===ve[_0x1f61f8(0x156)]));});});}[_0x50a7d0(0x455)](){const _0x4ba68c=_0x50a7d0,_0x15a718=this[_0x4ba68c(0xaa)];return{'onStateChange':(_0x204d44,_0x193076)=>{const _0x338378=_0x4ba68c;if(_0x204d44!==this['_state'])throw new Error(_0x338378(0x29a)+_0x204d44[_0x338378(0x295)]+'\x0aAfter:\x20'+_0x193076[_0x338378(0x295)]+_0x338378(0x2de)+this[_0x338378(0xaf)]['status']);this[_0x338378(0x44b)](_0x193076);},'onSendChangeset':_0x837e72=>{const _0x4acc72=_0x4ba68c;_0x837e72['sid']||(_0x837e72['sid']=this[_0x4acc72(0x2dd)],_0x837e72[_0x4acc72(0x243)]=++this['_changesetReqId']);const _0x133913={'eventID':_0x26d642['SUBMIT_CHANGESET'],'data':{'unitID':_0x837e72['unitID'],'unitType':this['_type'],'changeset':_0x837e72,'memberID':this['session'][_0x4acc72(0x347)]()}};this['session'][_0x4acc72(0x23c)](_0x133913,this[_0x4acc72(0xaa)]);},'onMissingChangesets':({from:_0x39980c,to:_0xe3df18})=>{const _0x35c90e=_0x4ba68c;this[_0x35c90e(0x422)][_0x35c90e(0x165)](_0x35c90e(0x296),_0x35c90e(0xdc)+_0x39980c+_0x35c90e(0x3f2)+_0xe3df18);const _0x1b91c1={'eventID':_0x26d642['FETCH_MISSING'],'data':{'unitID':_0x15a718,'unitType':this[_0x35c90e(0x46e)],'from':_0x39980c,'to':_0xe3df18}};this[_0x35c90e(0xd5)][_0x35c90e(0x23c)](_0x1b91c1,this[_0x35c90e(0xaa)]);}};}async['_createInitialStateImpl'](_0x1a742c){const _0x3be2df=_0x50a7d0;var _0x16c238,_0x4a598b;const _0x1e69d1=await this['_localCacheService'][_0x3be2df(0x342)](this[_0x3be2df(0xaa)]),_0x50765b=(_0x16c238=_0x1e69d1==null?void 0x0:_0x1e69d1[_0x3be2df(0x182)])!=null?_0x16c238:[],_0x5aa305=(_0x4a598b=_0x1e69d1==null?void 0x0:_0x1e69d1[_0x3be2df(0x16a)])!=null?_0x4a598b:null,_0x493a88=!!(_0x5aa305!=null&&_0x5aa305[_0x3be2df(0x291)])&&!!(_0x5aa305!=null&&_0x5aa305[_0x3be2df(0x243)]);this[_0x3be2df(0x2dd)]=_0x493a88?_0x5aa305['sid']:io(),this[_0x3be2df(0x102)]=_0x493a88?_0x5aa305['reqId']:0x0;const _0x1d5378=this[_0x3be2df(0xaa)];try{this[_0x3be2df(0x487)](_0x5aa305,_0x50765b);}catch(_0x15c796){this['_logService'][_0x3be2df(0x3a2)](_0x15c796);}const _0x3515e9=this['_createHandler']();if(_0x1a742c){const _0x15fac6=ji(this[_0x3be2df(0x408)],_0x1d5378,this[_0x3be2df(0x46e)],_0x5aa305,_0x50765b,_0x3515e9);return _0x15fac6 instanceof pe?_0x15fac6['_schedule']():(_0x15fac6 instanceof ge||_0x15fac6 instanceof Re)&&_0x15fac6[_0x3be2df(0x3d1)](),_0x15fac6;}return this[_0x3be2df(0x408)][_0x3be2df(0xe7)](ye,_0x1d5378,this[_0x3be2df(0x46e)],_0x5aa305,_0x50765b,_0x3515e9);}[_0x50a7d0(0x487)](_0x21a914,_0x4a45e4){const _0x210cbf=_0x50a7d0;var _0x5f57cb,_0x35f88d;const _0x81016c=this[_0x210cbf(0x47a)][_0x210cbf(0x482)][_0x210cbf(0xf1)](this[_0x210cbf(0x47a)][_0x210cbf(0x482)][_0x210cbf(0x27a)]()[_0x210cbf(0x3d2)]);(_0x5f57cb=_0x81016c((_0x21a914==null?void 0x0:_0x21a914[_0x210cbf(0x182)])||[],null))==null||_0x5f57cb[_0x210cbf(0x375)](_0x4be2c8=>this[_0x210cbf(0x293)][_0x210cbf(0x368)](_0x4be2c8['id'],_0x4be2c8['params'])),(_0x35f88d=_0x81016c(_0x4a45e4||[],null))==null||_0x35f88d[_0x210cbf(0x375)](_0x4cf341=>this[_0x210cbf(0x293)]['executeCommand'](_0x4cf341['id'],_0x4cf341[_0x210cbf(0x4a8)]));}};St=Rs([H(0x3,_0x33026a(_0x17dae8)),H(0x4,_0x33026a(q)),H(0x5,_0x33026a(_0x11828c)),H(0x6,_0x33026a(_0x21b13d)),H(0x7,_0x33026a(_0x50f245)),H(0x8,_0x299b7a),H(0x9,_0x2e05f8),H(0xa,_0xa8b33d),H(0xb,_0x20da8e),H(0xc,_0x380b11(yt))],St);let rs=class extends St{constructor(_0x254533,_0x30124d,_0x37458e,_0x10a673,_0x482c0d,_0x1e634b,_0x535522,_0x56e6b7,_0x1e5935,_0x58f91e,_0x5dbc75,_0xd793c8,_0x46f9e8,_0x2822d0,_0x33cb83,_0x1446e0,_0x1ae22d,_0x17b1ec){const _0xf200c1=_0x50a7d0;super(_0x254533,_0x37458e,_0x30124d,_0x10a673,_0x482c0d,_0x1e634b,_0x535522,_0x56e6b7,_0x2822d0,_0x33cb83,_0x1446e0,_0x1ae22d,_0x17b1ec),this[_0xf200c1(0xaa)]=_0x254533,this[_0xf200c1(0x105)]=_0x30124d,this[_0xf200c1(0x321)]=_0x1e5935,this['_docTransformIMECacheService']=_0x58f91e,this[_0xf200c1(0x431)]=_0x5dbc75,this[_0xf200c1(0x4c3)]=_0xd793c8,this[_0xf200c1(0xd4)]=_0x46f9e8;}[_0x50a7d0(0x455)](){const _0x3fdf9c=_0x50a7d0,_0x15b82a=super[_0x3fdf9c(0x455)]();return _0x15b82a['onTransformIME']=_0x3d88fc=>this['_docTransformIMECacheService']['transformIMECache'](_0x3d88fc),_0x15b82a[_0x3fdf9c(0xc0)]=_0x2d100e=>this[_0x3fdf9c(0x431)]['transformStateCache'](_0x2d100e),_0x15b82a[_0x3fdf9c(0x233)]=_0x1993cf=>this['_docTransformSelectionsService'][_0x3fdf9c(0x470)](_0x1993cf),_0x15b82a[_0x3fdf9c(0x16f)]=_0x282cdd=>this[_0x3fdf9c(0xd4)][_0x3fdf9c(0x4aa)](_0x282cdd),_0x15b82a[_0x3fdf9c(0x14a)]=_0x2cd8d1=>this[_0x3fdf9c(0x27f)]['transformRemoteChangeset'](_0x2cd8d1),_0x15b82a[_0x3fdf9c(0xdd)]=_0x3ee88c=>this['_docTransformStateCacheService'][_0x3fdf9c(0x3e5)](_0x3ee88c),_0x15b82a;}async[_0x50a7d0(0x1a9)](){const _0x1a13f2=_0x50a7d0,_0x5e1df9=await super[_0x1a13f2(0x1a9)]();return this[_0x1a13f2(0x450)](this[_0x1a13f2(0x321)][_0x1a13f2(0x231)]['pipe'](_0x2b44f7(this[_0x1a13f2(0x42e)]))[_0x1a13f2(0x479)](_0x18d33b=>{const _0x9b1ded=_0x1a13f2;if(_0x18d33b==null)return;const {unitId:_0xae8e37,redoState:_0x238f76,commandId:_0x2dd6c2}=_0x18d33b;if(_0xae8e37!==this[_0x9b1ded(0xaa)])return;const _0x1cb5f6={'id':_0x2dd6c2,'type':_0x30659a[_0x9b1ded(0x41f)],'params':{'unitId':_0xae8e37,'actions':_0x238f76[_0x9b1ded(0x433)],'textRanges':null}};this[_0x9b1ded(0x2fd)](_0x1cb5f6);})),this['disposeWithMe'](this[_0x1a13f2(0x293)][_0x1a13f2(0x2c8)]((_0x90b0cc,_0x2cd501)=>{const _0x3a2218=_0x1a13f2;if(_0x90b0cc['type']!==_0x30659a[_0x3a2218(0x41f)]||_0x2cd501!=null&&_0x2cd501[_0x3a2218(0x336)]||_0x2cd501!=null&&_0x2cd501[_0x3a2218(0x1ad)]||_0x90b0cc['id']===_0x5e3fd9['id'])return;const _0x1e9403=_0x90b0cc[_0x3a2218(0x4a8)];if((_0x1e9403==null?void 0x0:_0x1e9403['unitId'])!==this['unitID'])return;const _0x5c1e02=_0x90b0cc,_0x531b51=this[_0x3a2218(0x47a)][_0x3a2218(0x482)][_0x3a2218(0xf1)](this[_0x3a2218(0x47a)][_0x3a2218(0x482)]['getInterceptPoints']()[_0x3a2218(0x25c)])([_0x5c1e02],null)||[_0x5c1e02];this[_0x3a2218(0x2fd)](_0x531b51[0x0]);})),_0x5e1df9;}};rs=Rs([H(0x3,_0x33026a(_0x17dae8)),H(0x4,_0x33026a(q)),H(0x5,_0x33026a(_0x11828c)),H(0x6,_0x33026a(_0x21b13d)),H(0x7,_0x33026a(_0x50f245)),H(0x8,_0x33026a(_0x4ac2d0)),H(0x9,_0x33026a(vt)),H(0xa,_0x33026a(pt)),H(0xb,_0x33026a(gt)),H(0xc,_0x33026a(Ts)),H(0xd,_0x299b7a),H(0xe,_0x2e05f8),H(0xf,_0xa8b33d),H(0x10,_0x20da8e),H(0x11,_0x380b11(yt))],rs);let ns=class extends St{constructor(_0x2e6ab2,_0x2ecd73,_0x27c188,_0x1edb3f,_0x44f931,_0x5afbaf,_0x31f2c0,_0x3a9641,_0x29d86d,_0x52ef0e,_0x5a3e1a,_0x5d4248,_0xbb3925,_0x5d7dfb){const _0x2fd650=_0x50a7d0;super(_0x2e6ab2,_0x27c188,_0x2ecd73,_0x1edb3f,_0x44f931,_0x5afbaf,_0x31f2c0,_0x3a9641,_0x52ef0e,_0x5a3e1a,_0x5d4248,_0xbb3925,_0x5d7dfb),this[_0x2fd650(0xaa)]=_0x2e6ab2,this[_0x2fd650(0x105)]=_0x2ecd73,this['_sheetTransformSelectionsService']=_0x29d86d;}[_0x50a7d0(0x455)](){const _0x36f63a=_0x50a7d0,_0x84068f=super[_0x36f63a(0x455)]();return _0x84068f[_0x36f63a(0x233)]=_0x588635=>this['_sheetTransformSelectionsService'][_0x36f63a(0x470)](_0x588635),_0x84068f;}async[_0x50a7d0(0x1a9)](){const _0x35b6c1=_0x50a7d0,_0x2df28c=await super[_0x35b6c1(0x1a9)]();return this[_0x35b6c1(0x450)](this['_commandService']['onCommandExecuted']((_0x57aa7f,_0xe82c97)=>{const _0x47be35=_0x35b6c1;if(_0x57aa7f[_0x47be35(0x105)]!==_0x30659a['MUTATION']||_0xe82c97!=null&&_0xe82c97[_0x47be35(0x336)]||_0xe82c97!=null&&_0xe82c97['onlyLocal'])return;const _0xaf1d6e=_0x57aa7f[_0x47be35(0x4a8)];if((_0xaf1d6e==null?void 0x0:_0xaf1d6e[_0x47be35(0x258)])!==this['unitID'])return;const _0x447c20=_0x57aa7f,_0x12ca19=this[_0x47be35(0x47a)][_0x47be35(0x482)]['fetchThroughInterceptors'](this[_0x47be35(0x47a)][_0x47be35(0x482)][_0x47be35(0x27a)]()[_0x47be35(0x25c)])([_0x447c20],null)||[_0x447c20];this[_0x47be35(0x2fd)](_0x12ca19[0x0]);})),_0x2df28c;}};ns=Rs([H(0x3,_0x33026a(_0x17dae8)),H(0x4,_0x33026a(q)),H(0x5,_0x33026a(_0x11828c)),H(0x6,_0x33026a(_0x21b13d)),H(0x7,_0x33026a(_0x50f245)),H(0x8,_0x33026a(mt)),H(0x9,_0x299b7a),H(0xa,_0x2e05f8),H(0xb,_0xa8b33d),H(0xc,_0x20da8e),H(0xd,_0x380b11(yt))],ns);var Po=Object[_0x50a7d0(0x15c)],Uo=Object[_0x50a7d0(0x18b)],No=(_0x4b09f1,_0x20cbef,_0x5e3e66,_0x47d512)=>{for(var _0x10c1b2=_0x47d512>0x1?void 0x0:_0x47d512?Uo(_0x20cbef,_0x5e3e66):_0x20cbef,_0x168b46=_0x4b09f1['length']-0x1,_0xd90142;_0x168b46>=0x0;_0x168b46--)(_0xd90142=_0x4b09f1[_0x168b46])&&(_0x10c1b2=(_0x47d512?_0xd90142(_0x20cbef,_0x5e3e66,_0x10c1b2):_0xd90142(_0x10c1b2))||_0x10c1b2);return _0x47d512&&_0x10c1b2&&Po(_0x20cbef,_0x5e3e66,_0x10c1b2),_0x10c1b2;},Ht=(_0x569716,_0x5d0992)=>(_0x44a43c,_0x265e3a)=>_0x5d0992(_0x44a43c,_0x265e3a,_0x569716);let it=class extends _0x2983d9{constructor(_0x4e01f5,_0x2022be,_0x5d8cf8){const _0x5d61a0=_0x50a7d0;super(),g(this,_0x5d61a0(0x27e),new Map()),g(this,_0x5d61a0(0x178),new _0x5b148b()),(this[_0x5d61a0(0x408)]=_0x4e01f5,this[_0x5d61a0(0x10a)]=_0x2022be,this['_univerInstanceService']=_0x5d8cf8,this[_0x5d61a0(0x1a9)]());}[_0x50a7d0(0x45c)](){const _0xd9d0c9=_0x50a7d0;super[_0xd9d0c9(0x45c)](),this['_entities']['forEach'](_0x80ab8b=>_0x80ab8b[_0xd9d0c9(0x45c)]()),this['_entities'][_0xd9d0c9(0x21f)]();}[_0x50a7d0(0x447)](_0x19d76b){const _0xcc9364=_0x50a7d0;var _0x81a7d9;return(_0x81a7d9=this[_0xcc9364(0x27e)]['get'](_0x19d76b))!=null?_0x81a7d9:null;}[_0x50a7d0(0x29e)](_0x26d0dd){const _0x273b73=_0x50a7d0,_0x556dc6=this[_0x273b73(0x447)](_0x26d0dd);return _0x556dc6?_0x40848f(_0x556dc6):this[_0x273b73(0x178)][_0x273b73(0x157)](_0x7d8aef(_0xdceed=>_0xdceed[_0x273b73(0xaa)]===_0x26d0dd));}[_0x50a7d0(0x1a9)](){const _0x393c4b=_0x50a7d0;this[_0x393c4b(0x283)][_0x393c4b(0x162)](_0x40c566[_0x393c4b(0x331)])[_0x393c4b(0x157)](_0x2b44f7(this[_0x393c4b(0x42e)]),_0x1b5247(0x10))['subscribe'](async _0x21ade9=>{const _0x4dc474=_0x393c4b,_0x468ef8=_0x21ade9[_0x4dc474(0x14f)](),_0x277530=await this[_0x4dc474(0x39f)](_0x468ef8,ce[_0x4dc474(0x331)]);this[_0x4dc474(0x27e)]['set'](_0x468ef8,_0x277530);}),this['_univerInstanceService'][_0x393c4b(0x162)](_0x40c566['UNIVER_DOC'])[_0x393c4b(0x157)](_0x2b44f7(this[_0x393c4b(0x42e)]),_0x1b5247(0x10))[_0x393c4b(0x157)](_0x7d8aef(_0x2ca681=>!_0x2ca681[_0x393c4b(0x14f)]()[_0x393c4b(0x115)]('__')))[_0x393c4b(0x479)](async _0x5d81d7=>{const _0x223e84=_0x393c4b,_0x47545b=_0x5d81d7['getUnitId'](),_0x2e71dd=await this['_startCollaboration'](_0x47545b,ce[_0x223e84(0x26b)]);this[_0x223e84(0x27e)][_0x223e84(0x2ce)](_0x47545b,_0x2e71dd);}),_0x4a9003(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x40c566[_0x393c4b(0x331)]),this[_0x393c4b(0x283)][_0x393c4b(0x42a)](_0x40c566['UNIVER_DOC']))['pipe'](_0x2b44f7(this[_0x393c4b(0x42e)]))['subscribe'](_0x195e1b=>{const _0x5793f5=_0x393c4b,_0x563290=_0x195e1b[_0x5793f5(0x14f)](),_0x9d50c6=this[_0x5793f5(0x27e)][_0x5793f5(0x373)](_0x563290);_0x9d50c6&&(_0x9d50c6[_0x5793f5(0x45c)](),this[_0x5793f5(0x27e)][_0x5793f5(0x18d)](_0x563290));});}async[_0x50a7d0(0x39f)](_0x5a320e,_0x3b4be2){const _0xc5e915=_0x50a7d0,_0x20ddc1=await this[_0xc5e915(0x10a)][_0xc5e915(0x30a)](_0x5a320e),_0x25fb0b=this[_0xc5e915(0x408)]['createInstance'](this[_0xc5e915(0x364)](_0x3b4be2),_0x5a320e,_0x3b4be2,_0x20ddc1);return await _0x25fb0b[_0xc5e915(0x237)](),this[_0xc5e915(0x178)][_0xc5e915(0x492)](_0x25fb0b),_0x25fb0b;}['_getCtorByUniverType'](_0x4beb8f){const _0x2e6e4e=_0x50a7d0;switch(_0x4beb8f){case ce[_0x2e6e4e(0x26b)]:return rs;case ce['UNIVER_SHEET']:return ns;default:throw new Error(_0x2e6e4e(0x3fa)+_0x4beb8f);}}};it=No([Ht(0x0,_0x33026a(_0x17dae8)),Ht(0x1,_0x33026a(xe)),Ht(0x2,_0x28b990)],it);var Ao=Object[_0x50a7d0(0x15c)],Mo=Object['getOwnPropertyDescriptor'],xo=(_0xcb5dea,_0x494261,_0x155330,_0x86f6fa)=>{const _0x58b952=_0x50a7d0;for(var _0x32c8de=_0x86f6fa>0x1?void 0x0:_0x86f6fa?Mo(_0x494261,_0x155330):_0x494261,_0x47aa51=_0xcb5dea[_0x58b952(0x1d0)]-0x1,_0x49a07c;_0x47aa51>=0x0;_0x47aa51--)(_0x49a07c=_0xcb5dea[_0x47aa51])&&(_0x32c8de=(_0x86f6fa?_0x49a07c(_0x494261,_0x155330,_0x32c8de):_0x49a07c(_0x32c8de))||_0x32c8de);return _0x86f6fa&&_0x32c8de&&Ao(_0x494261,_0x155330,_0x32c8de),_0x32c8de;},qs=(_0x51df45,_0xcbe758)=>(_0x43e52e,_0x2f857f)=>_0xcbe758(_0x43e52e,_0x2f857f,_0x51df45);let It=class extends _0x2983d9{constructor(_0x5716a5,_0x494493){const _0x47b2cd=_0x50a7d0;super(),this['_docClipboardService']=_0x5716a5,this[_0x47b2cd(0x3b6)]=_0x494493,this['_init']();}[_0x50a7d0(0x1a9)](){const _0x11f90a=_0x50a7d0,_0x2a41ba=this;this['disposeWithMe'](this['_docClipboardService'][_0x11f90a(0x275)]({'onBeforePasteImage':async _0x44766b=>{const _0x356eec=_0x11f90a,_0x49bd2a=await _0x2a41ba['_imageIoService'][_0x356eec(0x4b7)](_0x44766b);return _0x49bd2a?{'source':_0x49bd2a[_0x356eec(0x290)],'imageSourceType':_0x49bd2a[_0x356eec(0x49d)]}:null;}}));}};It=xo([qs(0x0,_0x3b4ce9),qs(0x1,_0x4a51fd)],It);const Xs=[_0x50a7d0(0x2c2),_0x50a7d0(0x330),_0x50a7d0(0x481),_0x50a7d0(0x437),_0x50a7d0(0x2f8),_0x50a7d0(0x20b)];class Os extends _0x514939{constructor(){const _0x531191=_0x50a7d0;super(...arguments),g(this,_0x531191(0x1b3),new Map()),g(this,'_colorIndex',0x0);}[_0x50a7d0(0x17e)](_0x21f09b){const _0x29b6ff=_0x50a7d0;if(this[_0x29b6ff(0x1b3)]['has'](_0x21f09b))return this[_0x29b6ff(0x1b3)][_0x29b6ff(0x373)](_0x21f09b);const _0x13f025=Xs[this[_0x29b6ff(0x318)]];return this[_0x29b6ff(0x318)]=(this[_0x29b6ff(0x318)]+0x1)%Xs[_0x29b6ff(0x1d0)],this[_0x29b6ff(0x1b3)]['set'](_0x21f09b,_0x13f025),_0x13f025;}}var Lo=Object['defineProperty'],$o=Object[_0x50a7d0(0x18b)],Ho=(_0x4e6cb6,_0x2969e1,_0x20d13b,_0x522ddd)=>{const _0x55fa41=_0x50a7d0;for(var _0x5a825b=_0x522ddd>0x1?void 0x0:_0x522ddd?$o(_0x2969e1,_0x20d13b):_0x2969e1,_0x4c8866=_0x4e6cb6[_0x55fa41(0x1d0)]-0x1,_0x15cf01;_0x4c8866>=0x0;_0x4c8866--)(_0x15cf01=_0x4e6cb6[_0x4c8866])&&(_0x5a825b=(_0x522ddd?_0x15cf01(_0x2969e1,_0x20d13b,_0x5a825b):_0x15cf01(_0x5a825b))||_0x5a825b);return _0x522ddd&&_0x5a825b&&Lo(_0x2969e1,_0x20d13b,_0x5a825b),_0x5a825b;},De=(_0x4d792e,_0x4d026e)=>(_0x32573c,_0x423e0e)=>_0x4d026e(_0x32573c,_0x423e0e,_0x4d792e);const jo=0x12c,Bo=0x64;function _0x1283(){const _0x86e0ba=['joinEvent','collaboratorID','_anchorDot','getRenderById','_selfUnitIDs','top','collaboration.closeRoom','salt','_getUploadFileURL','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','PERMISSION_REJ','jiqing500','UNIVER_SHEET','_disableEditing','_createHmacHelper','_urlService','apply','fromCollab','assign','_drawRectRange','Cipher','_isPermissionRej','pushState','/object','roomMembers','setUndoRedoMutationParamsCache','univerjs-icon\x20univerjs-icon-','attrs','_onCombEvent','loadOfflineData','Could\x20not\x20dynamically\x20require\x20\x22','_transformIMECache','c1Prime','getUnit','getMemberID','USERS_LEAVE','getUnitOnRev','pauseCollaboration','__Key__','getMember','round','enableOfflineEditing','_showConflictNotification','/universer-api/file/{fileID}/sign-url','ref','_HTTPService','compose','CHANGESET_SHOULD_RETRY','APPLY_DUPLICATED','UNRECOGNIZED','RECT','deleteCollaborator','byteOffset','row','INGEST','csRejEvent','_memberService','_collaborationSessionService','enableSingleActiveInstanceLock','map','status$','_getScale','finalize','_getCtorByUniverType','some','add','setTimeout','executeCommand','_process','InsertRangeMoveRightCommandId','_clearLocalCache','function','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','FromArray','AWAITING_WITH_PENDING','react.element','NoPadding','_hash','get','createSocket','forEach','subUnitId','_getUndoStack','with','entries','?size=','_docSkeleton','_decreaseWaiting','ticket','m2Prime','repeat','defIds','{fileID}','_handleJoinEvent','_revisionService','onlineStatus','_context','localeService','&source=','collabCursorState$','submit\x20changeset\x20error!','_httpService','SNAPSHOT_URL_KEY','_snapshotService','getActiveRange','_cursor','_shapes','_status$','getOwnPropertySymbols','fetchMissingChangesets','_handleHover','_onCursorDelete','onRemoteRej','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','collabStatus.conflict','setAlpha','_eventUnsubscribe','find','_keySchedule','_data','_telemetryInfo','24rMZDYT','_startCollaboration','newValue','SHOULD_CLOSE_CONN','error','_submitChangeset','MSG_FOR_ERROR','CipherParams','byteLength','members','ws://127.0.0.1:8000/universer-api/comb/connect','_getAPIPrefix','incrementRevOfUnit','onPointerEnter$','_initEventListeners','onStateChange','addEventListener','_transformRemoteChangesetByIMECache','UniverIcon','_updateSubUnitFromURLParams','clone','INTERNAL_ERROR','saveOfflineData','_initUnitPermissionChange','_imageIoService','_transformHistoryAndStateStack','NEW_CHANGESETS','setWaitCount','_candidateSocket','_configService','_fetchMissChangesets','state','COMPLETION_FINISHED','from','ERROR_EXCEED_SIZE','onMouseMove','_transformUndoRedoStack','object','complete','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Malformed\x20UTF-8\x20data','shouldCloseConn','loadSheet','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getAPIPrefixPath','_onOffline','url(#off-line-single_clip0_910_343)','USERS_ENTER','Undefined','onReady','_name','resend','COMPRESS_MUTATION_APPLY','userID','sheetID','initWorkbookPermissionChange','_startDocCollabCursor','_unitID','fillStyle','_hideTimer','_themeService','PasswordBasedCipher','setInterval','LICENSE_DISTRO_REJECTED','headers','[CollaborationState]:\x20apply\x20error!','saveChangeset','_loadDoc','getCurrentUser','socket$','joinRsp','transformRemoteChangeset','evenodd','mixIn','onRemoteAck','authzUrl','IDLE','_onFetchMissResult','AES','...','_online','tag','_colorAssignService','unitId\x20is\x20not\x20found','\x20to\x20','_backgroundColor','avatar','color','_transformStateCache','__creator','_singleActiveUnitService','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getDownloadEndpointURL','_collabCursorState$','decryptBlock','exhaustSavingTask','_nDataBytes','_listenToOnlineEvent','fetch_missing','_undoRedoService','href','formatter','_xformMode','univer-online-status','UPDATE_PERMISSION_OBJ','_injector','includes','univer-online','url','_startTelemetryCollaborationNewChangeset','NOT_FOUND','_getRedoStack','_initDependencies','values','_sender','randomUUID','_scheduleSaving','event$','updatePermissionObjEvent','_getSignURL','[CollaborationSession]','_loadSheet','_event$','location','displayName','_transitionLocked','commentUpdateEvent','_handleEvent','MUTATION','UNIVER_COLLABORATION_CLIENT_PLUGIN','_retryCount','_logService','_ENC_XFORM_MODE','eventID','[PendingState]:\x20received\x20rejection.','LICENSE_IMPORT_SIZE_EXCEEDED','_clearHeartbeatTimer','NOT_COLLAB','enc','getTypeOfUnitDisposed$','close','append','override','dispose$','_socketMessageSubscription','getCollabCursors$','_docTransformStateCacheService','error$','actions','registerHTTPInterceptor','LIVESHARE_FETCH_OPERATIONS','4891070nLWRJE','red300','_sheetSkeletonManagerService','HmacMD5','registerBeforeClose','AUTHZ_URL_KEY','collabStatus.offline','_session','_queuedRemoteChangesets','_transformStack','reject','CONFLICT','appendMutation','YUUMI_RATE_OVER_LIMIT','readAsDataURL','words','_docSkeletonManagerService','getCollabEntity','_onConnectionFailed','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','11OLpPdZ','_updateState','findNodePositionByCharIndex','setShowComponents','_clearUndo','UNAUTHENTICATED','disposeWithMe','People','height','conflict.content','getOffsetConfig','_createHandler','_scene','listCollaborators','hasher','_updateLocalCursor','toString','univer-online-status-icon','dispose','updateCollaborator','PERMISSION_DENIED','className','getParam','_updateLocalCache','post','subject','enableAuthServer','_getCurrentRevision','reconnect','telemetry\x20info\x20is\x20not\x20initialized','Utf8','collabWebSocketUrl','off-line-single','_drawTextRange','_registerDependencies','_removeClearOtherTimer','_type','collaboration-client.config','transformSelections','univer-offline','ivSize','editing\x20status\x20changed\x20to','putCollaborators','DeleteRangeMoveLeftCommandId','_localStorageService','_waitForHeartbeatResponse','engine','subscribe','_compressMutationService','_beforeCloseService','collabSubmitChangesetUrl','collaboration-session-retry','backgroundColor','parse','exports','verdancy600','interceptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','searchParams','processBlock','text','_replayCachedMutations','_removeCollabCursors','EvpKDF','code','HEARTBEAT','body','permission.content','collaMsg','selections','collabStatus.syncing','[PendingState]:\x20received\x20acknowledgement.','next','makeDirty','_transformService','rng','$super','FileId','_onConflict','[OfflineState]:\x20received\x20changeset.','toRgbString','column','routeKey','imageSourceType','awaiting_with_pending','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getImageSourceCache','/universer-api/stream/file/upload','OFFLINE','_roomMembers','clearTimeout','getCurrent','collabStatus.synced','close$','params','execute','syncEditingCollabCursor','_transformPreviousActiveRange','HELLO','777520vZRFuT','_socket','_substituteRedoStack','Hasher','synced','unsubscribe','_getMergeRange','_initStatusListener','_cipher','session.connection-failed','saveImage','registerRefRange','title','filter','_getSendChangesetTimeout','clipPath','_transformSelections','session.collaboration-timeout','_applyRemoteChangeset','_iv','xlink:href','_substituteUndoStack','_docTransformSelectionsService','currentTheme$','JOINING','getConfig','?url=','react.fragment','Warning','UPDATE_CURSOR','save\x20fail\x20reason\x20is\x20','socket\x20close','_socket$','_textBubble','getCurrentRevOfUnit','stopTime','8taGCFJ','POST','unitID','objectType','_redoStacks','_nRounds','_userManagerService','_state','/new_changes','CHANGESET_REJ','_initResize','method','/allowed','RECV','colorChannel1','_tryReconnect','permission.title','roomMembers$','_scheduleClearOtherTimer','url(#$1','Univer','/object/','_saveTaskMap','_ws','onTransformState','closeSession','toLowerCase','UNIVER_PROJECT','APPLY_PERMISSION_DENIED','collaboration.single-unit.warning','push','_collaborationController','NO_OTHER_CLIENTS_EDITING','_removeRoom','reset','JOIN_ROOM_FULL','UnitSnapshot','c2Prime','ranges','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_OPERATION','[DataLoaderController]','format','COLLAB_WEB_SOCKET_URL','_docSyncEditingCollabCursorService','session','_doCryptBlock','registerOnClose','split','trim','_document','_commentUpdate$','fetching\x20missing\x20changesets\x20from\x20','onTransformRemoteChangesetByStateCache','lib','_messageService','file','_oKey','bottom','splice','OTHER_CLIENTS_EDITING','getWorkbookSelections','LOCAL_CACHE_INTERVAL','createInstance','_sendingTimer','put','sin','doc.mutation.rich-text-editing','PSEUDO_FETCH_MISSING_RESULT','onTransformChange$','[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.','transformIMECache','div','fetchThroughInterceptors','YUUMI_SUBSCRIPTION_NOT_FOUND','getVpScrollXYInfoByPosToVp','failed\x20to\x20apply\x20missed\x20changesets!','mode','_stopTelemetryCollaborationNewChangeset','onMissingChangesets','unknown','/-/object/-/batch_allowed','changesets','_throwTelemetryCollaborationNewChangeset','_saveCache','_collaborationTimeoutTimer','_sendHeartbeat','cmd','transformChangesets','resolve','_changesetReqId','message$','symbol','type','_handler','_scheduleHeartbeat','liveShareNewHost','_getSnapshotAPIPrefix','_collabSessionService','propertyIsEnumerable','_refreshCollabCursors','getUnitType','concat','blockSize','collaborators','Base','[CollaborationSessionService]','_heartbeatTimer','awaiting','startsWith','HMAC','min','APPLY_REJECT','then','/resources','join','_anchor','_collaborationPaused','COMMENT_UPDATE','msCrypto','Decryptor','_unitOnClients','[SyncedState]:\x20received\x20rejection.','2919087pVCDXk','off-line-single_clip0_910_343','name','TOO_MANY_REQUESTS','_send','YUUMI_URL_COL_OUT_OF_RANGE','HttpImport','generateRandomId','InsertRangeMoveDownCommandId','Pkcs7','sendChangesetTimeout','_sendHeartbeatTimer','_collabCursorController','_executeRemoteChangeset','LICENSE_MAX_UNITS_EXCEEDED','icon','application/json','_state$','_permissionService','_doReset','update','compute','_map','hostname','LIVESHARE_NEW_HOST','onRemoteChangeset','[UniverCollaborationClientPlugin]','socket\x20open.','memberID','offline','on-line-single_clip0_910_349','updatePermissionPoint','reduce','_initStatusComponent','visibilitychange','cfg','unit-cache-','startColumn','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','onTransformRemoteChangesetByIMECache','arc','Latin1','getSkeleton','pending','getUnitId','_parse','moveTo','_onConnectionOpen','createEncryptor','addObject','prototype','ONLINE','pipe','unload','cursorInfo$','now','MoveRangeCommandId','defineProperty','isEditing','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','black','_resendTimer','_syncEditingCollabCursorService','getTypeOfUnitAdded$','updateMember','getItem','debug','confirm','_resendWithTimeout','unshift','saveSheetBlock','awaitingChangeset','image/png','_id','liveShareOperation','InsertColCommandId','onSyncEditingCollabCursor','baseRev','focused$','UNKNOWN_CODE','hovered','_remoteChangesetQueue','_hasher','MD5','HEARTBEAT_INTERVAL','_entityInit$','show','onSendChangeset','_invKeySchedule','default','clamp','assignAColorForMemberID','iterations','_createInitialStateImpl','children','mutations','ciphertext','#FFF','getValue','sheetId','on-line-single','LIVESHARE_REQUEST_HOST','collab-client.tooltip.reconnect','UNIVER_SLIDE','getOwnPropertyDescriptor','every','delete','_cursorShapes','_snapshotServerService','0\x200\x2017\x2016','transformStateCache','_syncEditingCollabCursor','_localeService','unpad','_checkMissing','_pendingMutations','JOIN','_registerRenderDependencies','roomInfos','_keyPriorReset','/universer-api/snapshot','OpenSSL','substring','EXCHANGE_SIGN_URL_SERVER_URL_KEY','restore','_toggleOffline','UNIVER_UNKNOWN','_cursors','HmacSHA1','/universer-api/authz','updateCursorEvent','_sessions','CHANGESET_REVISION_CONFILICT','sigBytes','_init','_awaitingChangeset','none','onPointerLeave$','onlyLocal','resourceIDs','_renderManagerService','_replaceFileID','connection\x20error','fetchMiss','_assignedColors','replaceState','_render','onload','idSuffix','Error\x20on\x20receiving\x20event','_joinRoom','LICENSE_EXPORT_SIZE_EXCEEDED','Base64','online','_handleHeartbeatEvent','_change$','SHA1','_getLoginPath','m1Prime','_minBufferSize','transform','save','_updateStatus','_shouldReportTelemetry','setConfig','univer-online-status-title','subscribeEvent','snapshot','TEXT','YUUMI_UNABLE_LOAD_URL','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','_onJoinRoomEvent','[CollaborationUndoRedoService]','length','_hover','saveSnapshot','closePath','_tryEnsureSocket','keySize','change$','_getAnchorBounding','_transformRemoteChangesetByStateCache','unit','transformMutation','addImageSourceCache','hide','_telemetryService','cursorInfo','_initMergeInterceptor','collab-text-range-','urlChange$','src','withCredentials','SUBMIT_CHANGESET','_sessionStatus$','_color','size','asObservable','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_config','subunit','originalMeta','_clearTimeoutTimer','#fff','getSheetId','_retryConnectingTimer','_handleLeaveEvent','8411244tyVeEA','_initRequestHeader','UnitEmbedded','_draw','_toggleOnline','_scheduleTimestamp','_iKey','_createSocket','buffer','_updateURLWithCurrentState','_ensureSubject','currentSkeleton$','BASE64','_reverseMap','_roomMembers$','_imageSourceCache','Encryptor','onRendered','FAIL','list','path','encryptBlock','charAt','lineTo','editingUnit','gold400','charCodeAt','/-/object/list','isArray','_startSheetCollabCursor','_onRefRangeChange','_onCursorUpdate','_resendTimeout','_listenToOfflineEvent','defs','LEAVE','startRow','catch','string','_onRemoteRetry','80769yDPYXf','UNKNOWN_CMD','conflict.title','setStateCache','pad','clear','random','patch','FETCH_MISSING','/universer-api/user/session-ticket','/unit/','not_collab','replace','selection','removeParam','extend','_timeoutTimer','StreamCipher','/collaborator','createDecryptor','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','collabStatus.fetchMiss','getSheetBlock','docStateChange$','flatMap','onTransformSelections','pluginName','csAckEvent','setParam','init','textRanges','_doFinalize','_DEC_XFORM_MODE','PENDING','send','objectID','getSheetBySheetId','jsx','/rev/','open$','ReactCurrentOwner','reqId','_lastPointer','_schedule','_onRecvEvent','_socketService','_unitStatus','fromCharCode','ERROR_IMAGE','abs','create','for','batchAllowed','&to=','OffLineSingle','_localCacheService','_hovered','INVALID_ARGUMENT','fillText','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getDeserializedSheetBlock','\x20in\x20_schedule.','unitId','auth.needGotoLoginAlert','replaceDocRanges','url(#on-line-single_clip0_910_349)','COMPRESS_MUTATION_SEND','_onRemoteChangeset','_mode','getRangePointData','isPermissionRej','_updateCollabCursors','storage','algo','onStarting','action','requestParams','_acknowledgedAwaitingChangeset','_uiPartsService','6YbWHqb','ceil','UNIVER_DOC','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_ACK','SNAPSHOT_HAS_BEEN_REMOVED','rev','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','1em','LOGIN_URL_KEY','_cachedData','data','addClipboardHook','_notificationService','disableLocalCache','COLLAB_SUBMIT_CHANGESET_URL','decrypt','getInterceptPoints','getUniverSheetInstance','origin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_entities','_docTransformIMECacheService','_refRangeService','WordArray','Error','_univerInstanceService','BufferedBlockAlgorithm','SNAPSHOT_SERVER_URL_KEY','getRandomValues','setCurrentUser','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Hex','setShapeProps','_doProcessBlock','isActive','has','undoState','floor','source','sid','json','_commandService','sessionStatus$','status','[CollaborationEntity]','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','rgba(255,\x20255,\x20255,\x200.01)','indexOf','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onRemoteRetry','current','revision','getCollabEntity$','copyFileMeta','_onRemoteRejected','call','/block/','UUID','_clearRedo','disposeUnit','redoState','encode','HEADER_MENU','_getSaveTimeout','_prevBlock','wsSessionTicketUrl','_cursorInfo$','getDocRanges','image/jpeg','createCollaborator','defaultProps','_onUserJoin','bind','_clearCollaborationTimeoutTimer','_setupBeforeClosingHandler','_rescheduleHeartbeat','beginPath','_key','[CollaborationSessionService]:\x20socket\x20error','toggleOffline','range','CONNECTOR_DATA_TOO_LARGE','_clearOtherTimers','0\x200\x2016\x2016','RemoveRowCommandId','slice','encodeURIComponent','_clearScheduledTask','purple300','ENSURE_SNAPSHOT_EXECUTION','session.room-full','getUnitStatus$','[OfflineState]:\x20received\x20acknowledgement.','_onRemoteACK','onCommandExecuted','session.will-retry','width','FETCH_MISS','LIVESHARE_TERMINATE','roles','set','BlockCipher','allowed','_scheduleCollaborationTimeoutTimer','_disabled','endColumn','history','crypto','stringify','measureText','getAncestorScale','SYNCED','_exhaustRemoteChangesetQueue','RETRY_CONNECTING_MAX_COUNT','onlineStatusIcon','_changesetSessionId','\x0aCurrent:\x20','clearInterval','collab-rect-range-','_incrementRevisionNumber','_range','JOIN_ROOM_NOT_ALLOWED','drawWith','_initCommandExecutedListener','registerRenderModule','_lockTransition','_members','listRoles','hasOwnProperty','randomBytes','Unknown\x20user','_append','snapshotServerUrl','currentColor','capture','_transformUndoredo','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','49mcWWcP','getMergeData','_getSessionTicket','ALREADY_EXISTS','16158zmXhFj','blue400','univer-pro.collaboration-client.single-active-unit-service','downloadEndpointUrl','CBC','_onUserLeave','_onLocalMutation','deepClone','removeMember','responseType','onTransformIME','SNAPSHOT_INVALID_SNAPSHOT','getViewport','__esModule','getUnhiddenWorksheets','updateOfflineData','1477616tHCGKh','padding','_waitCount','requireSession','_commentService','PERSON','toggleOnline','transformUndoRedo','AWAITING','newCsEvent','getFocusedUnit','conflict','/universer-api/snapshot/','_http','_getSheetObject','_unlockTransition','/universer-api/comb','_colorIndex','max','setItem','_socketReady','encrypt','transformMutationsWithChangeset','_labelPosition','key','jsxs','_docStateChangeManagerService','fill','getUndoRedoMutationParamsCache','_onMessage'];_0x1283=function(){return _0x86e0ba;};return _0x1283();}let os=class extends _0x2983d9{constructor(_0x2a33ff,_0x38764c,_0x3b0b7d,_0x24648c,_0x422eda,_0xbead3d,_0x1fea34,_0x5d3c0b,_0x2433b7){const _0x10fd0f=_0x50a7d0;super(),g(this,'_online',!0x1),g(this,_0x10fd0f(0x1a9),!0x1),g(this,_0x10fd0f(0x2ac),new _0x22472b(new Map())),g(this,_0x10fd0f(0x159),this['_cursorInfo$'][_0x10fd0f(0x1e8)]()),g(this,_0x10fd0f(0x200),new _0x22472b([])),g(this,'roomMembers$',this[_0x10fd0f(0x200)][_0x10fd0f(0x157)](_0x521a38(jo))),g(this,_0x10fd0f(0x459),_0x10313f(_0xc15217=>{const _0x42dadd=_0x10fd0f,_0x4308cf={'eventID':_0x26d642[_0x42dadd(0x4ca)],'data':{'unitID':this[_0x42dadd(0xaa)],'memberID':this[_0x42dadd(0x43d)][_0x42dadd(0x347)](),'selection':Li(_0xc15217)}};this[_0x42dadd(0x43d)]['send'](_0x4308cf,this['unitID']);},Bo)),(this['unitID']=_0x2a33ff,this[_0x10fd0f(0x43d)]=_0x38764c,this[_0x10fd0f(0x408)]=_0x3b0b7d,this['_colorAssignService']=_0x24648c,this[_0x10fd0f(0x35d)]=_0x422eda,this[_0x10fd0f(0x161)]=_0xbead3d,this[_0x10fd0f(0x494)]=_0x1fea34,this[_0x10fd0f(0x283)]=_0x5d3c0b,this[_0x10fd0f(0x293)]=_0x2433b7);}get[_0x50a7d0(0x1de)](){const _0x1c8a16=_0x50a7d0;return this['_cursorInfo$'][_0x1c8a16(0x185)]();}get[_0x50a7d0(0x33d)](){const _0x2fc873=_0x50a7d0;return this[_0x2fc873(0x200)]['getValue']();}[_0x50a7d0(0x45c)](){const _0x1eb571=_0x50a7d0;super[_0x1eb571(0x45c)](),this[_0x1eb571(0x2ac)][_0x1eb571(0x492)](new Map()),this[_0x1eb571(0x2ac)]['complete'](),this[_0x1eb571(0x200)]['next']([]),this[_0x1eb571(0x200)][_0x1eb571(0x3c4)]();}[_0x50a7d0(0x237)](){const _0x50c065=_0x50a7d0;this[_0x50c065(0x1a9)]||(this[_0x50c065(0x1a9)]=!0x0,this['_session'][_0x50c065(0x294)]['pipe'](_0x2b44f7(this['dispose$']))[_0x50c065(0x479)](_0x5e4856=>{const _0x306672=_0x50c065;_0x5e4856===ve[_0x306672(0x156)]?this[_0x306672(0x1f6)]():this[_0x306672(0x1a0)]();}),this[_0x50c065(0x43d)]['event$']['pipe'](_0x2b44f7(this[_0x50c065(0x42e)]))[_0x50c065(0x479)](_0x2117fb=>{const _0x5f41af=_0x50c065,_0x3734e5=_0x2117fb[_0x5f41af(0x424)];_0x3734e5===_0x26d642['UPDATE_CURSOR']&&this[_0x5f41af(0x211)](_0x2117fb),_0x3734e5===_0x26d642[_0x5f41af(0x348)]&&this[_0x5f41af(0x394)](_0x2117fb);}),this[_0x50c065(0x450)](this[_0x50c065(0x293)][_0x50c065(0x2c8)](_0x3cb9cf=>{const _0x320273=_0x50c065,_0xb99532=_0x3cb9cf[_0x320273(0x4a8)];_0xb99532!=null&&this['_online']&&_0x3cb9cf['id']===_0x11d07f['id']&&_0xb99532[_0x320273(0x258)]===this['unitID']&&_0xb99532[_0x320273(0x15d)]===!0x1&&_0xb99532[_0x320273(0xce)][_0x320273(0x1d0)]>0x0&&this[_0x320273(0x459)](_0xb99532[_0x320273(0xce)]);})),this['_syncEditingCollabCursorService'][_0x50c065(0x388)][_0x50c065(0x157)](_0x2b44f7(this[_0x50c065(0x42e)]))[_0x50c065(0x479)](_0x400247=>{const _0x3cd834=_0x50c065;if((_0x400247==null?void 0x0:_0x400247[_0x3cd834(0xaa)])!==this[_0x3cd834(0xaa)])return;const _0x12ac30={'eventID':_0x26d642[_0x3cd834(0x4ca)],'data':_0x400247};this['_onCursorUpdate'](_0x12ac30);}),this[_0x50c065(0x450)](this[_0x50c065(0x293)]['onCommandExecuted'](_0x302bb4=>{const _0x6d056f=_0x50c065;if(_0x302bb4[_0x6d056f(0x4a8)]==null)return;const _0x276d47=_0x302bb4[_0x6d056f(0x4a8)];if(_0x302bb4['id']!==_0x5e3fd9['id']||_0x276d47['unitId']!==this[_0x6d056f(0xaa)])return;const _0x132db2={'id':_0x6d056f(0xeb),'params':_0x276d47},_0x3a36f5=this[_0x6d056f(0x1de)];for(const [_0x5408be,_0x339a8b]of _0x3a36f5){const _0x4d3e24={'id':_0x6d056f(0xeb),'params':{'unitId':this[_0x6d056f(0xaa)],'actions':null,'textRanges':_0x339a8b[_0x6d056f(0xce)]}},_0x2a9bf7=this['_transformService'][_0x6d056f(0x1da)](_0x132db2,_0x4d3e24,!0x1);if(_0x2432d6(_0x2a9bf7))throw _0x2a9bf7[_0x6d056f(0x3a2)];_0x3a36f5['set'](_0x5408be,{..._0x339a8b,'ranges':_0x2a9bf7['m2Prime'][_0x6d056f(0x4a8)][_0x6d056f(0x238)]});}queueMicrotask(()=>{const _0xa09ca=_0x6d056f;this[_0xa09ca(0x2ac)]['next'](_0x3a36f5);});})));}[_0x50a7d0(0x211)](_0xb149f4){const _0x3e0051=_0x50a7d0;var _0x593631,_0x196085;const {memberID:_0x6e8645,selection:_0x447e97}=_0xb149f4['data'],_0x480602=So(_0x447e97),_0x176c7a=(_0x196085=(_0x593631=this[_0x3e0051(0x35d)][_0x3e0051(0x34c)](this['unitID'],_0x6e8645))==null?void 0x0:_0x593631[_0x3e0051(0x125)])!=null?_0x196085:'Unknown\x20user',_0x418fa9={'color':this[_0x3e0051(0x3f0)][_0x3e0051(0x17e)](_0x6e8645),'name':_0x176c7a,'ranges':_0x480602},_0xae5a38=this['cursorInfo'];_0xae5a38[_0x3e0051(0x2ce)](_0x6e8645,_0x418fa9),this[_0x3e0051(0x2ac)]['next'](_0xae5a38);}[_0x50a7d0(0x394)](_0x3026dc){const _0x459b36=_0x50a7d0,{memberID:_0x58b832}=_0x3026dc['data'],_0x2641c8=this[_0x459b36(0x1de)];_0x2641c8[_0x459b36(0x18d)](_0x58b832),this['_cursorInfo$']['next'](_0x2641c8);}[_0x50a7d0(0x1f6)](){const _0x495193=_0x50a7d0;var _0x3c1400;if(this[_0x495193(0x3ee)]=!0x0,((_0x3c1400=this[_0x495193(0x283)][_0x495193(0x311)]())==null?void 0x0:_0x3c1400[_0x495193(0x14f)]())!==this['unitID'])return;const _0x4d88f1=this[_0x495193(0x408)][_0x495193(0x373)](_0x370f46)[_0x495193(0x2ad)]();Array[_0x495193(0x20e)](_0x4d88f1)&&_0x4d88f1[_0x495193(0x1d0)]>0x0&&this[_0x495193(0x459)](_0x4d88f1);}['_toggleOffline'](){const _0x16e908=_0x50a7d0;this[_0x16e908(0x3ee)]=!0x1;}};os=Ho([De(0x2,_0x33026a(_0x17dae8)),De(0x3,_0x33026a(Os)),De(0x4,_0x33026a(Me)),De(0x5,_0x33026a(Ts)),De(0x6,_0x4af41b),De(0x7,_0x28b990),De(0x8,_0x2e05f8)],os);var ko=Object[_0x50a7d0(0x15c)],Wo=Object['getOwnPropertyDescriptor'],Fo=(_0x55f3cf,_0x155c62,_0x294fe0,_0xed47f9)=>{const _0x4d3d5b=_0x50a7d0;for(var _0xbb1d41=_0xed47f9>0x1?void 0x0:_0xed47f9?Wo(_0x155c62,_0x294fe0):_0x155c62,_0x491a81=_0x55f3cf[_0x4d3d5b(0x1d0)]-0x1,_0x1358ee;_0x491a81>=0x0;_0x491a81--)(_0x1358ee=_0x55f3cf[_0x491a81])&&(_0xbb1d41=(_0xed47f9?_0x1358ee(_0x155c62,_0x294fe0,_0xbb1d41):_0x1358ee(_0xbb1d41))||_0xbb1d41);return _0xed47f9&&_0xbb1d41&&ko(_0x155c62,_0x294fe0,_0xbb1d41),_0xbb1d41;},Be=(_0x2c1948,_0x4d20c3)=>(_0x525028,_0x2f738e)=>_0x4d20c3(_0x525028,_0x2f738e,_0x2c1948);const Vo=0x12c,Go=0x64,Yo=()=>{let _0x41badd=[],_0x32d515=!0x1;return _0x14540e=>{const _0x89fe45=_0xc944;_0x41badd[_0x89fe45(0xc6)](_0x14540e),_0x32d515||(_0x32d515=!0x0,setTimeout(()=>{_0x41badd['forEach'](_0x531041=>_0x531041()),_0x41badd=[],_0x32d515=!0x1;}));};};let as=class extends _0x2983d9{constructor(_0x2b00d6,_0x5ddcc8,_0x569df5,_0xe24e0f,_0x255cf1,_0x2af552,_0xda412d,_0x343406){const _0x2d2adb=_0x50a7d0;super(),g(this,_0x2d2adb(0x3ee),!0x1),g(this,_0x2d2adb(0x1a9),!0x1),g(this,_0x2d2adb(0x2ac),new _0x22472b(new Map())),g(this,_0x2d2adb(0x159),this['_cursorInfo$'][_0x2d2adb(0x1e8)]()),g(this,_0x2d2adb(0x200),new _0x22472b([])),g(this,_0x2d2adb(0xb9),this[_0x2d2adb(0x200)]['pipe'](_0x521a38(Vo))),g(this,_0x2d2adb(0x459),_0x10313f((_0x2573bf,_0x1cd2e6)=>{const _0x38906c=_0x2d2adb,_0x442153={'eventID':_0x26d642[_0x38906c(0x4ca)],'data':{'unitID':this['unitID'],'memberID':this[_0x38906c(0x43d)][_0x38906c(0x347)](),'selection':_0x49a24a(_0x2573bf,_0x1cd2e6['range'])}};this[_0x38906c(0x43d)][_0x38906c(0x23c)](_0x442153,this['unitID']);},Go)),(this['unitID']=_0x2b00d6,this[_0x2d2adb(0x43d)]=_0x5ddcc8,this['_injector']=_0x569df5,this['_colorAssignService']=_0xe24e0f,this[_0x2d2adb(0x35d)]=_0x255cf1,this[_0x2d2adb(0x283)]=_0x2af552,this[_0x2d2adb(0x293)]=_0xda412d,this[_0x2d2adb(0x280)]=_0x343406);}get[_0x50a7d0(0x1de)](){const _0x557737=_0x50a7d0;return this[_0x557737(0x2ac)][_0x557737(0x185)]();}get[_0x50a7d0(0x33d)](){const _0x532672=_0x50a7d0;return this[_0x532672(0x200)]['getValue']();}[_0x50a7d0(0x45c)](){const _0x2c89f0=_0x50a7d0;super[_0x2c89f0(0x45c)](),this[_0x2c89f0(0x2ac)][_0x2c89f0(0x492)](new Map()),this[_0x2c89f0(0x2ac)][_0x2c89f0(0x3c4)](),this[_0x2c89f0(0x200)]['next']([]),this[_0x2c89f0(0x200)]['complete']();}['init'](){const _0x3162a8=_0x50a7d0;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$']['pipe'](_0x2b44f7(this['dispose$']))[_0x3162a8(0x479)](_0x32673b=>{const _0x19b042=_0x3162a8;_0x32673b===ve[_0x19b042(0x156)]?this[_0x19b042(0x1f6)]():this[_0x19b042(0x1a0)]();}),this[_0x3162a8(0x43d)][_0x3162a8(0x414)]['pipe'](_0x2b44f7(this['dispose$']))[_0x3162a8(0x479)](_0x4b3bc5=>{const _0x1af0a7=_0x3162a8,_0x510f2b=_0x4b3bc5[_0x1af0a7(0x424)];_0x510f2b===_0x26d642[_0x1af0a7(0x4ca)]&&this[_0x1af0a7(0x211)](_0x4b3bc5),_0x510f2b===_0x26d642[_0x1af0a7(0x348)]&&this['_onCursorDelete'](_0x4b3bc5);}),this[_0x3162a8(0x210)](),this[_0x3162a8(0x450)](this['_commandService'][_0x3162a8(0x2c8)](_0x265074=>{const _0x4b9819=_0x3162a8;if(this[_0x4b9819(0x3ee)]&&_0x265074['id']===_0x313c8a['id']&&_0x265074[_0x4b9819(0x4a8)][_0x4b9819(0x258)]===this[_0x4b9819(0xaa)]){const _0x52b883=_0x265074[_0x4b9819(0x4a8)];this[_0x4b9819(0x459)](_0x52b883[_0x4b9819(0x376)],_0x52b883[_0x4b9819(0x48f)][0x0]);}})));}[_0x50a7d0(0x211)](_0x26aaab){const _0x98670a=_0x50a7d0;var _0x10e175,_0x4c87cb;const {memberID:_0x116667,selection:_0x21b3c5}=_0x26aaab[_0x98670a(0x274)],{sheetName:_0x3e4079,range:_0x34c838}=_0xe6e903(_0x21b3c5),_0x44599e={'name':(_0x4c87cb=(_0x10e175=this[_0x98670a(0x35d)]['getMember'](this[_0x98670a(0xaa)],_0x116667))==null?void 0x0:_0x10e175[_0x98670a(0x125)])!=null?_0x4c87cb:_0x98670a(0x2ec),'range':this['_getMergeRange'](_0x3e4079,_0x34c838),'sheetID':_0x3e4079,'color':this[_0x98670a(0x3f0)][_0x98670a(0x17e)](_0x116667),'selection':_0x21b3c5},_0x344bd3=this[_0x98670a(0x1de)];_0x344bd3['set'](_0x116667,_0x44599e),this[_0x98670a(0x2ac)][_0x98670a(0x492)](_0x344bd3);}[_0x50a7d0(0x394)](_0x5b3651){const _0x54f78c=_0x50a7d0,{memberID:_0x1c62a6}=_0x5b3651[_0x54f78c(0x274)],_0x31446a=this['cursorInfo'];_0x31446a[_0x54f78c(0x18d)](_0x1c62a6),this[_0x54f78c(0x2ac)][_0x54f78c(0x492)](_0x31446a);}[_0x50a7d0(0x4b3)](_0x268f89,_0x5f073b){const _0x10dc77=_0x50a7d0;var _0x5dfa3d,_0x25382f;const _0x2a095d=(_0x25382f=(_0x5dfa3d=this[_0x10dc77(0x283)][_0x10dc77(0x27b)](this['unitID']))==null?void 0x0:_0x5dfa3d[_0x10dc77(0x23e)](_0x268f89))==null?void 0x0:_0x25382f[_0x10dc77(0x2f4)]();return(_0x2a095d==null?void 0x0:_0x2a095d[_0x10dc77(0x39a)](_0x2c0e4e=>_0x18079f['contains'](_0x2c0e4e,_0x5f073b)))||_0x5f073b;}['_onRefRangeChange'](){const _0x3126c8=_0x50a7d0,_0x4ed92d=new _0x2912e1(),_0x19d0a6=Yo(),_0x5b29eb=()=>{const _0x194c79=_0xc944;_0x4ed92d[_0x194c79(0x45c)]();const _0x2dd0fe=(_0x109c22,_0x1b3604,_0x3d158a,_0x20014c)=>{const _0x305da9=_0x194c79;let _0x4e6b3d=[];switch(_0x109c22['id']){case _0x417021[_0x305da9(0x475)]:{_0x4e6b3d=_0x471bf3(_0x109c22,_0x20014c);break;}case _0x417021['DeleteRangeMoveUpCommandId']:{_0x4e6b3d=_0x1e512b(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x16e)]:{_0x4e6b3d=_0x1eb2df(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x12b)]:{_0x4e6b3d=_0x51a436(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x36a)]:{_0x4e6b3d=_0x40abdd(_0x109c22,_0x20014c);break;}case _0x417021['InsertRowCommandId']:{_0x4e6b3d=_0x23c885(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x15b)]:{_0x4e6b3d=_0x28f3e9(_0x109c22,_0x20014c);break;}case _0x417021['RemoveColCommandId']:{_0x4e6b3d=_0x5369f9(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x2be)]:{_0x4e6b3d=_0x32a4f4(_0x109c22,_0x20014c);break;}}const _0x52525d=_0x51f717(_0x4e6b3d,_0x20014c),_0xad89a0=this[_0x305da9(0x1de)][_0x305da9(0x373)](_0x1b3604);if(_0xad89a0&&_0x52525d){const _0x1cb8fa={..._0xad89a0,'range':_0x52525d};this['cursorInfo'][_0x305da9(0x2ce)](_0x1b3604,_0x1cb8fa),_0x19d0a6(()=>{const _0x32742b=_0x305da9,_0x407707=this['_refRangeService']['registerRefRange'](_0x52525d,_0x1b9250=>(_0x407707[_0x32742b(0x45c)](),_0x2dd0fe(_0x1b9250,_0x1b3604,_0x3d158a,_0x52525d)));_0x4ed92d[_0x32742b(0x366)](_0x407707);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x10714f,_0x3996d3)=>{const _0x90d711=_0x194c79,{range:_0x32cf0e,sheetID:_0x2cc926}=_0x10714f,_0xa9e31c=this[_0x90d711(0x280)][_0x90d711(0x4b8)](_0x32cf0e,_0x576dc7=>(_0xa9e31c['dispose'](),_0x2dd0fe(_0x576dc7,_0x3996d3,_0x2cc926,_0x32cf0e)));_0x4ed92d[_0x90d711(0x366)](_0xa9e31c);});};this[_0x3126c8(0x450)](_0xd370ea(this[_0x3126c8(0x2ac)][_0x3126c8(0x479)](()=>{_0x5b29eb();})));}['_toggleOnline'](){const _0xf60f16=_0x50a7d0;var _0x3de7fd,_0x50ab73;if(this[_0xf60f16(0x3ee)]=!0x0,((_0x3de7fd=this[_0xf60f16(0x283)]['getFocusedUnit']())==null?void 0x0:_0x3de7fd[_0xf60f16(0x14f)]())!==this[_0xf60f16(0xaa)])return;const _0x5acd67=(_0x50ab73=this['_injector']['get'](_0x3a11a0)['getCurrentSelections']())==null?void 0x0:_0x50ab73[0x0],_0x21c87e=this['_univerInstanceService']['getCurrentUnitForType'](_0x40c566[_0xf60f16(0x331)])['getActiveSheet']();_0x5acd67&&_0x21c87e&&this[_0xf60f16(0x459)](_0x21c87e['getSheetId'](),_0x5acd67);}[_0x50a7d0(0x1a0)](){const _0x205279=_0x50a7d0;this[_0x205279(0x3ee)]=!0x1;}};as=Fo([Be(0x2,_0x33026a(_0x17dae8)),Be(0x3,_0x33026a(Os)),Be(0x4,_0x33026a(Me)),Be(0x5,_0x28b990),Be(0x6,_0x2e05f8),Be(0x7,_0x33026a(_0x353c51))],as);var Ko=Object[_0x50a7d0(0x15c)],zo=Object[_0x50a7d0(0x18b)],qo=(_0x1b1986,_0x3f3d36,_0x2ce1ae,_0x350b1d)=>{const _0x1ad75f=_0x50a7d0;for(var _0x550c57=_0x350b1d>0x1?void 0x0:_0x350b1d?zo(_0x3f3d36,_0x2ce1ae):_0x3f3d36,_0x5a3419=_0x1b1986[_0x1ad75f(0x1d0)]-0x1,_0x4af76c;_0x5a3419>=0x0;_0x5a3419--)(_0x4af76c=_0x1b1986[_0x5a3419])&&(_0x550c57=(_0x350b1d?_0x4af76c(_0x3f3d36,_0x2ce1ae,_0x550c57):_0x4af76c(_0x550c57))||_0x550c57);return _0x350b1d&&_0x550c57&&Ko(_0x3f3d36,_0x2ce1ae,_0x550c57),_0x550c57;},jt=(_0x1d9b50,_0x1f9f17)=>(_0x5e1a30,_0x117126)=>_0x1f9f17(_0x5e1a30,_0x117126,_0x1d9b50);let Ve=class extends _0x2983d9{constructor(_0x4c7c37,_0x52c498,_0x2d6399){const _0x1e01fe=_0x50a7d0;super(),g(this,'_entities',new Map()),g(this,_0x1e01fe(0x178),new _0x5b148b()),(this[_0x1e01fe(0x283)]=_0x4c7c37,this[_0x1e01fe(0x408)]=_0x52c498,this[_0x1e01fe(0x10a)]=_0x2d6399,this[_0x1e01fe(0x1a9)]());}[_0x50a7d0(0x45c)](){const _0x4f15fb=_0x50a7d0;super[_0x4f15fb(0x45c)](),this[_0x4f15fb(0x178)][_0x4f15fb(0x3c4)](),this['_entities']['forEach'](_0x1b30c3=>_0x1b30c3[_0x4f15fb(0x45c)]());}['getCollabCursors$'](_0x579291){const _0x35ee70=_0x50a7d0;return this['_entities'][_0x35ee70(0x28d)](_0x579291)?this[_0x35ee70(0x27e)]['get'](_0x579291)[_0x35ee70(0x159)]:this[_0x35ee70(0x178)]['pipe'](_0x1e1f37(_0x48bbea=>_0x48bbea[_0x35ee70(0xaa)]===_0x579291),_0x150ba9(_0x26e6e3=>_0x26e6e3[_0x35ee70(0x159)]));}[_0x50a7d0(0x1a9)](){const _0x37a6bd=_0x50a7d0;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x40c566[_0x37a6bd(0x331)])[_0x37a6bd(0x157)](_0x2b44f7(this['dispose$']))['subscribe'](async _0x2842b9=>{const _0x2536f6=_0x37a6bd,_0x8b1f9d=_0x2842b9[_0x2536f6(0x14f)](),_0x6297b7=await this['_startSheetCollabCursor'](_0x8b1f9d);this['_entityInit$'][_0x2536f6(0x492)](_0x6297b7),this[_0x2536f6(0x27e)][_0x2536f6(0x2ce)](_0x8b1f9d,_0x6297b7);}),this[_0x37a6bd(0x283)][_0x37a6bd(0x162)](_0x40c566['UNIVER_DOC'])[_0x37a6bd(0x157)](_0x2b44f7(this[_0x37a6bd(0x42e)]))[_0x37a6bd(0x157)](_0x1e1f37(_0x432800=>!_0x432800[_0x37a6bd(0x14f)]()[_0x37a6bd(0x115)]('__')))[_0x37a6bd(0x479)](async _0x31f7b1=>{const _0x54ce58=_0x37a6bd,_0x2b1928=_0x31f7b1[_0x54ce58(0x14f)](),_0x44a842=await this[_0x54ce58(0x3d6)](_0x2b1928);this[_0x54ce58(0x178)]['next'](_0x44a842),this['_entities']['set'](_0x2b1928,_0x44a842);}),_0x4a9003(this['_univerInstanceService'][_0x37a6bd(0x42a)](_0x40c566[_0x37a6bd(0x26b)]),this['_univerInstanceService'][_0x37a6bd(0x42a)](_0x40c566[_0x37a6bd(0x331)]))[_0x37a6bd(0x157)](_0x2b44f7(this[_0x37a6bd(0x42e)]))[_0x37a6bd(0x479)](_0x1dafbc=>{const _0x14d220=_0x37a6bd,_0x3ed0fe=_0x1dafbc[_0x14d220(0x14f)](),_0x4dba41=this[_0x14d220(0x27e)][_0x14d220(0x373)](_0x3ed0fe);_0x4dba41&&(_0x4dba41[_0x14d220(0x45c)](),this[_0x14d220(0x27e)][_0x14d220(0x18d)](_0x3ed0fe));});}async[_0x50a7d0(0x20f)](_0x4fc37b){const _0x156c88=_0x50a7d0,_0x10f0df=await this[_0x156c88(0x10a)]['requireSession'](_0x4fc37b),_0x29f2f5=this[_0x156c88(0x408)][_0x156c88(0xe7)](as,_0x4fc37b,_0x10f0df);return _0x29f2f5[_0x156c88(0x237)](),_0x29f2f5;}async[_0x50a7d0(0x3d6)](_0x452e61){const _0x2461b8=_0x50a7d0,_0x4fbd81=await this[_0x2461b8(0x10a)]['requireSession'](_0x452e61),_0x4edacc=this[_0x2461b8(0x408)]['createInstance'](os,_0x452e61,_0x4fbd81);return _0x4edacc[_0x2461b8(0x237)](),_0x4edacc;}};Ve=qo([jt(0x0,_0x28b990),jt(0x1,_0x33026a(_0x17dae8)),jt(0x2,_0x33026a(xe))],Ve);const rt=0x14,Js=0xc8,Bt=0x4,Xo=0x5;function Jo(_0x36b85e,_0x5c3a00){const _0x434f62=_0x50a7d0;let {radius:_0x173c8c,width:_0x19ef6c,height:_0x4084fd}=_0x5c3a00;_0x173c8c=_0x173c8c!=null?_0x173c8c:0x0,_0x19ef6c=_0x19ef6c!=null?_0x19ef6c:0x1e,_0x4084fd=_0x4084fd!=null?_0x4084fd:0x1e;let _0x4fe4dd=0x0,_0x4a6be1=0x0,_0x17148c=0x0;_0x4fe4dd=_0x4a6be1=_0x17148c=Math['min'](_0x173c8c,_0x19ef6c/0x2,_0x4084fd/0x2),_0x36b85e[_0x434f62(0x2b6)](),_0x36b85e[_0x434f62(0x151)](_0x4fe4dd,0x0),_0x36b85e[_0x434f62(0x209)](_0x19ef6c-_0x4a6be1,0x0),_0x36b85e[_0x434f62(0x14b)](_0x19ef6c-_0x4a6be1,_0x4a6be1,_0x4a6be1,Math['PI']*0x3/0x2,0x0,!0x1),_0x36b85e[_0x434f62(0x209)](_0x19ef6c,_0x4084fd-_0x17148c),_0x36b85e[_0x434f62(0x14b)](_0x19ef6c-_0x17148c,_0x4084fd-_0x17148c,_0x17148c,0x0,Math['PI']/0x2,!0x1),_0x36b85e[_0x434f62(0x209)](0x0,_0x4084fd),_0x36b85e[_0x434f62(0x209)](0x0,_0x4fe4dd),_0x36b85e[_0x434f62(0x14b)](_0x4fe4dd,_0x4fe4dd,_0x4fe4dd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36b85e[_0x434f62(0x1d3)](),_0x5c3a00[_0x434f62(0x322)]&&(_0x36b85e['save'](),_0x36b85e[_0x434f62(0x3d8)]=_0x5c3a00[_0x434f62(0x322)],_0x5c3a00['fillRule']==='evenodd'?_0x36b85e[_0x434f62(0x322)](_0x434f62(0x3e6)):_0x36b85e[_0x434f62(0x322)](),_0x36b85e[_0x434f62(0x19f)]());}class wt extends _0x1626cc{constructor(_0x14dd1e,_0x3122a3){const _0x339530=_0x50a7d0;super(_0x14dd1e,_0x3122a3),g(this,_0x339530(0x3f5)),g(this,_0x339530(0x486)),(this[_0x339530(0x3f5)]=_0x3122a3==null?void 0x0:_0x3122a3[_0x339530(0x3f5)],this[_0x339530(0x486)]=_0x3122a3==null?void 0x0:_0x3122a3['text']);}static['drawWith'](_0x2dbd8e,_0x2f2af8){const _0x42239a=_0x50a7d0,{text:_0x3f967b,color:_0x339e2c}=_0x2f2af8;_0x2dbd8e[_0x42239a(0x1c4)](),_0x2dbd8e['font']=_0x42239a(0x36d);const _0x258391=_0x2dbd8e[_0x42239a(0x2d7)](_0x3f967b)['width'],_0x2ffd55=Math[_0x42239a(0x117)](_0x258391+0x2*Bt,Js);Jo(_0x2dbd8e,{'height':rt,'radius':0x4,'width':_0x2ffd55,'fill':_0x339e2c,'evented':!0x1}),_0x2dbd8e['fillStyle']=_0x42239a(0x184);const _0x31b586=Bt,_0x548576=rt-Xo,_0x4059e5=Js-0x2*Bt;if(_0x258391>_0x4059e5){let _0x17caad='',_0x5f328b=0x0;for(const _0x2c8133 of _0x3f967b){const _0x40e0ae=_0x2dbd8e['measureText'](_0x2c8133)[_0x42239a(0x2ca)];if(_0x5f328b+_0x40e0ae<=_0x4059e5-_0x2dbd8e[_0x42239a(0x2d7)](_0x42239a(0x3ed))[_0x42239a(0x2ca)])_0x17caad+=_0x2c8133,_0x5f328b+=_0x40e0ae;else{_0x17caad+='...';break;}}_0x2dbd8e['fillText'](_0x17caad,_0x31b586,_0x548576);}else _0x2dbd8e[_0x42239a(0x254)](_0x3f967b,_0x31b586,_0x548576);_0x2dbd8e[_0x42239a(0x19f)]();}[_0x50a7d0(0x1f5)](_0x5f2c9d){const _0x2a4e46=_0x50a7d0;wt[_0x2a4e46(0x2e4)](_0x5f2c9d,this);}}const kt='collab-text-anchor-',Zo=_0x50a7d0(0x1e0),Qo=_0x50a7d0(0x2e0),Je=0x6,ea=1.5,Wt=0x4,ta=1.5,sa=_0x50a7d0(0x298);class Zs{constructor(_0x325cb3,_0xc87e7c,_0x268ce2,_0x3c536a){const _0x58a8ee=_0x50a7d0;g(this,_0x58a8ee(0x38f),[]),g(this,_0x58a8ee(0x11c),null),g(this,_0x58a8ee(0x4ce),null),g(this,_0x58a8ee(0x327),null),g(this,_0x58a8ee(0x3d9),null),g(this,_0x58a8ee(0x399),null),(this[_0x58a8ee(0x38e)]=_0x325cb3,this[_0x58a8ee(0x456)]=_0xc87e7c,this[_0x58a8ee(0x37b)]=_0x268ce2,this[_0x58a8ee(0xda)]=_0x3c536a,this[_0x58a8ee(0x1b5)]());}set[_0x50a7d0(0x1d1)](_0x1a0bc8){const _0x2396cd=_0x50a7d0;_0x1a0bc8?(this[_0x2396cd(0x327)]&&this[_0x2396cd(0x327)][_0x2396cd(0x1dc)](),this[_0x2396cd(0x4ce)]&&this[_0x2396cd(0x4ce)]['show']()):(this[_0x2396cd(0x327)]&&this[_0x2396cd(0x327)]['show'](),this[_0x2396cd(0x4ce)]&&this[_0x2396cd(0x4ce)][_0x2396cd(0x1dc)]());}[_0x50a7d0(0x45c)](){const _0x2386a6=_0x50a7d0;for(const _0x2391fc of this['_shapes'])_0x2391fc[_0x2386a6(0x45c)]();this[_0x2386a6(0x4ce)]&&this[_0x2386a6(0x4ce)][_0x2386a6(0x45c)](),this[_0x2386a6(0x327)]&&this[_0x2386a6(0x327)][_0x2386a6(0x45c)](),this[_0x2386a6(0x11c)]&&this[_0x2386a6(0x11c)][_0x2386a6(0x45c)](),this[_0x2386a6(0x399)]&&this[_0x2386a6(0x399)]();}[_0x50a7d0(0x1b5)](){const _0x3a6ce3=_0x50a7d0;var _0x1c478e;const {_docSkeleton:_0x1e3f1,_document:_0x169ca5}=this,{color:_0x77cb67,name:_0x5e0f02,ranges:_0x4e4d29}=this[_0x3a6ce3(0x38e)],_0xc1ac40=_0x169ca5[_0x3a6ce3(0x454)](),{docsLeft:_0x4030a9,docsTop:_0x4c02c9}=_0xc1ac40,_0x4b5f12=new _0x34ed6a(_0xc1ac40,_0x1e3f1);for(const {startOffset:_0x5ce112,endOffset:_0x114150,rangeType:_0x36f36f,segmentId:_0x159caa,segmentPage:_0x204c68,collapsed:_0x3f702c,isActive:_0x4214e2}of _0x4e4d29){const _0xd70088=_0x1e3f1[_0x3a6ce3(0x44c)](_0x5ce112,!0x0,_0x159caa,_0x204c68);let _0xf90af4=_0x1e3f1[_0x3a6ce3(0x44c)](_0x114150,!0x0,_0x159caa,_0x204c68);if(_0xf90af4==null&&(_0xf90af4=_0x1e3f1[_0x3a6ce3(0x44c)](_0x114150-0x1,!0x1,_0x159caa,_0x204c68)),_0x4214e2){const {contentBoxPointGroup:_0x3e1a66}=_0x4b5f12[_0x3a6ce3(0x25f)](_0xf90af4,_0xf90af4);if(_0x3e1a66[_0x3a6ce3(0x1d0)]===0x0)continue;this['_drawAnchor'](_0x77cb67,_0x3e1a66,_0x4030a9,_0x4c02c9,_0x5e0f02),this[_0x3a6ce3(0x399)]=this[_0x3a6ce3(0x393)]();}if(_0xd70088&&_0xf90af4){if(_0x36f36f===_0x2b344d[_0x3a6ce3(0x357)]){const _0x410b91=new _0x16a980(_0xc1ac40,_0x1e3f1),{pointGroup:_0x51a979}=(_0x1c478e=_0x410b91[_0x3a6ce3(0x25f)](_0xd70088,_0xf90af4))!=null?_0x1c478e:{};if(_0x51a979==null||_0x51a979[_0x3a6ce3(0x1d0)]===0x0)continue;this[_0x3a6ce3(0x338)](_0x77cb67,_0x51a979,_0x4030a9,_0x4c02c9);}else{if(!_0x3f702c){const {borderBoxPointGroup:_0x48098c}=_0x4b5f12[_0x3a6ce3(0x25f)](_0xd70088,_0xf90af4);if(_0x48098c['length']===0x0)continue;this[_0x3a6ce3(0x46b)](_0x77cb67,_0x48098c,_0x4030a9,_0x4c02c9);}}}}}['_drawAnchor'](_0x3a1b81,_0x4f7a23,_0xdb37de,_0x11bca8,_0x196d96){const _0x3c0dd2=_0x50a7d0,_0x461ebe=this[_0x3c0dd2(0x1d7)](_0x4f7a23),{left:_0xd6c73c,top:_0xdd7288,height:_0x493130}=_0x461ebe,_0x59e858=this[_0x3c0dd2(0x362)](),_0x570c3a=ta/_0x59e858,_0x201292=new _0x502301(kt+_0x378638[_0x3c0dd2(0x12a)](Je),{'left':_0xd6c73c+_0xdb37de-_0x570c3a,'top':_0xdd7288+_0x11bca8,'height':_0x493130,'width':ea,'fill':_0x3a1b81||_0x267fcd(_0x461fc5[_0x3c0dd2(0x15f)],0x0),'strokeWidth':_0x570c3a,'stroke':sa,'evented':!0x0});this[_0x3c0dd2(0x11c)]=_0x201292,this['_scene'][_0x3c0dd2(0x154)](_0x201292,_0x2d2bdf);const _0x17eceb=new _0x502301(kt+_0x378638[_0x3c0dd2(0x12a)](Je),{'left':_0xd6c73c+_0xdb37de-_0x570c3a,'top':_0xdd7288+_0x11bca8-Wt/0x2,'height':Wt,'width':Wt,'fill':_0x3a1b81||_0x267fcd(_0x461fc5[_0x3c0dd2(0x15f)],0x0),'strokeWidth':0x0,'stroke':_0x3a1b81||_0x267fcd(_0x461fc5[_0x3c0dd2(0x15f)],0x0),'evented':!0x1});this[_0x3c0dd2(0x327)]=_0x17eceb,this[_0x3c0dd2(0x456)]['addObject'](_0x17eceb,_0x2d2bdf);const _0x4e2e5f=new wt(kt+_0x378638[_0x3c0dd2(0x12a)](Je),{'left':_0xd6c73c+_0xdb37de-_0x570c3a,'top':_0xdd7288+_0x11bca8-rt,'text':_0x196d96,'color':_0x3a1b81});this['_textBubble']=_0x4e2e5f,this['_scene']['addObject'](_0x4e2e5f,_0x2d2bdf),this[_0x3c0dd2(0x1d1)]=!0x1;}[_0x50a7d0(0x393)](){const _0x18f5cf=_0x50a7d0,_0x5e2bdb=this[_0x18f5cf(0x11c)][_0x18f5cf(0x3ab)][_0x18f5cf(0x1c9)](()=>{const _0x5861e6=_0x18f5cf;this[_0x5861e6(0x1d1)]=!0x0;}),_0x59f13b=this['_anchor'][_0x18f5cf(0x1ac)]['subscribeEvent'](()=>{const _0x369a6a=_0x18f5cf;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x369a6a(0x3d9)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x209a59=_0x18f5cf;_0x5e2bdb[_0x209a59(0x4b2)](),_0x59f13b[_0x209a59(0x4b2)]();};}['_drawTextRange'](_0x3a132d,_0x46f0cb,_0xdff8c9,_0x5d9d21){const _0x445c01=_0x50a7d0,_0x447d8e=new _0x3567ae(_0x3a132d)[_0x445c01(0x398)](0.2)['toRgbString'](),_0x3cd262=new _0x2a0302(Zo+_0x378638[_0x445c01(0x12a)](Je),{'pointsGroup':_0x46f0cb,'fill':_0x447d8e||_0x267fcd(_0x461fc5[_0x445c01(0x15f)],0.2),'left':_0xdff8c9,'top':_0x5d9d21,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x445c01(0x38f)][_0x445c01(0xc6)](_0x3cd262),this['_scene'][_0x445c01(0x154)](_0x3cd262,_0x2d2bdf);}[_0x50a7d0(0x338)](_0x52d8a2,_0x11a8f7,_0x265adb,_0x5ee66f){const _0x4e3703=_0x50a7d0,_0x11383c=new _0x3567ae(_0x52d8a2)[_0x4e3703(0x398)](0.2)[_0x4e3703(0x49a)](),_0x5a7ce4=new _0x2a0302(Qo+_0x378638[_0x4e3703(0x12a)](Je),{'pointsGroup':_0x11a8f7,'fill':_0x11383c||_0x267fcd(_0x461fc5[_0x4e3703(0x15f)],0.2),'left':_0x265adb,'top':_0x5ee66f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e3703(0x38f)]['push'](_0x5a7ce4),this['_scene'][_0x4e3703(0x154)](_0x5a7ce4,_0x2d2bdf);}[_0x50a7d0(0x1d7)](_0x4c7e4e){const _0x52802d=_0x4c7e4e[0x0],_0x1f974b=_0x52802d[0x0],_0x3fee62=_0x52802d[0x2],{x:_0x539afe,y:_0x5b92f7}=_0x1f974b,{x:_0x781ef,y:_0x396d99}=_0x3fee62;return{'left':_0x539afe,'top':_0x5b92f7,'width':_0x781ef-_0x539afe,'height':_0x396d99-_0x5b92f7};}[_0x50a7d0(0x362)](){const _0xc1a347=_0x50a7d0,{scaleX:_0xec05af,scaleY:_0x49c86f}=this[_0xc1a347(0x456)]['getAncestorScale']();return Math[_0xc1a347(0x319)](_0xec05af,_0x49c86f);}}var ia=Object[_0x50a7d0(0x15c)],ra=Object[_0x50a7d0(0x18b)],na=(_0x1672c6,_0x336655,_0x359bb7,_0x3c012a)=>{const _0x5c4413=_0x50a7d0;for(var _0x241326=_0x3c012a>0x1?void 0x0:_0x3c012a?ra(_0x336655,_0x359bb7):_0x336655,_0x36669d=_0x1672c6[_0x5c4413(0x1d0)]-0x1,_0x1d7011;_0x36669d>=0x0;_0x36669d--)(_0x1d7011=_0x1672c6[_0x36669d])&&(_0x241326=(_0x3c012a?_0x1d7011(_0x336655,_0x359bb7,_0x241326):_0x1d7011(_0x241326))||_0x241326);return _0x3c012a&&_0x241326&&ia(_0x336655,_0x359bb7,_0x241326),_0x241326;},ct=(_0x3dc01e,_0x235e7b)=>(_0x1223a,_0x1fb885)=>_0x235e7b(_0x1223a,_0x1fb885,_0x3dc01e);let cs=class extends _0x2983d9{constructor(_0x2886fd,_0x40a0ba,_0x2b17f6,_0x20ccdf,_0x5aaaf0){const _0x51414b=_0x50a7d0;super(),g(this,'_cursorShapes',[]),g(this,_0x51414b(0x1a2),[]),(this['_context']=_0x2886fd,this[_0x51414b(0x446)]=_0x40a0ba,this[_0x51414b(0x12f)]=_0x2b17f6,this['_commandService']=_0x20ccdf,this[_0x51414b(0x3da)]=_0x5aaaf0,this['_init']());}['_init'](){const _0x228864=_0x50a7d0,_0x412c0d=this[_0x228864(0x385)][_0x228864(0x258)],_0xd4348f=this['_docSkeletonManagerService'];this[_0x228864(0x450)](_0x5bce60([this[_0x228864(0x12f)]['getCollabCursors$'](_0x412c0d),this[_0x228864(0x3da)][_0x228864(0x4c4)]])['pipe'](_0xe5458e(([_0x152a07,_0x5e2508])=>({'skeleton':_0xd4348f[_0x228864(0x14d)](),'cursors':[..._0x152a07['values']()][_0x228864(0x232)](_0x21c5a4=>({..._0x21c5a4,'color':_0x5e2508[_0x21c5a4[_0x228864(0x3f5)]]}))})))[_0x228864(0x479)](_0x23c809=>{const _0xa8ca6c=_0x228864;if(this[_0xa8ca6c(0x488)](),_0x23c809){const {skeleton:_0x199873,cursors:_0x1e68fe}=_0x23c809;this[_0xa8ca6c(0x261)](_0x199873,_0x1e68fe);}})),this[_0x228864(0xb2)](),this[_0x228864(0x2e5)]();}[_0x50a7d0(0x261)](_0x3d6f1a,_0x4171f9){const _0x37098d=_0x50a7d0,{scene:_0x498f07,mainComponent:_0x46d16f}=this['_context'],_0x14c207=_0x4171f9[_0x37098d(0x360)](_0x1c5cb7=>new Zs(_0x1c5cb7,_0x498f07,_0x3d6f1a,_0x46d16f));this['_cursorShapes']=_0x14c207,this[_0x37098d(0x1a2)]=_0x4171f9;}['_refreshCollabCursors'](){const _0x1b1a78=_0x50a7d0;this[_0x1b1a78(0x488)]();const {scene:_0x50c40c,mainComponent:_0x370d7b}=this['_context'],_0x20c487=this[_0x1b1a78(0x446)][_0x1b1a78(0x14d)](),_0x27ca94=this['_cursors']['map'](_0x38f8f8=>new Zs(_0x38f8f8,_0x50c40c,_0x20c487,_0x370d7b));this[_0x1b1a78(0x18e)]=_0x27ca94;}[_0x50a7d0(0x488)](){const _0x4b1afe=_0x50a7d0;this['_cursorShapes']['forEach'](_0x3c6119=>_0x3c6119[_0x4b1afe(0x45c)]()),this['_cursorShapes']=[];}[_0x50a7d0(0x2e5)](){const _0x4d14d6=_0x50a7d0,_0x2630ff=[_0x57b946['id']];this['disposeWithMe'](this[_0x4d14d6(0x293)]['onCommandExecuted'](_0x14eab6=>{const _0x2a2dfb=_0x4d14d6;_0x2630ff[_0x2a2dfb(0x409)](_0x14eab6['id'])&&_0x14eab6[_0x2a2dfb(0x4a8)][_0x2a2dfb(0x258)]===this[_0x2a2dfb(0x385)]['unitId']&&this[_0x2a2dfb(0x10c)]();}));}['_initResize'](){const _0x17fb0c=_0x50a7d0;this[_0x17fb0c(0x450)](_0x3f0bbd(this[_0x17fb0c(0x385)][_0x17fb0c(0x478)][_0x17fb0c(0xed)])['pipe'](_0x7d8aef(_0x32d4b1=>_0x32d4b1[_0x17fb0c(0x105)]===_0xe166d6['resize']),_0x755a89(0x10))[_0x17fb0c(0x479)](()=>{const _0x39d90b=_0x17fb0c;this[_0x39d90b(0x10c)]();}));}};cs=na([ct(0x1,_0x33026a(_0x10e516)),ct(0x2,_0x33026a(Ve)),ct(0x3,_0x2e05f8),ct(0x4,_0x33026a(_0x466ca0))],cs);const oa=0x1,aa=1.5;class ca extends _0x1626cc{constructor(_0x56685e,_0x332a76){const _0x8b1299=_0x50a7d0;super(_0x56685e,_0x332a76),g(this,_0x8b1299(0x1e6)),g(this,_0x8b1299(0x252),!0x1),g(this,_0x8b1299(0x2e2)),g(this,_0x8b1299(0x3d0),''),g(this,_0x8b1299(0x31e),_0x8b1299(0x32a)),g(this,_0x8b1299(0x3f3)),(_0x332a76&&this[_0x8b1299(0x28a)](_0x332a76),this[_0x8b1299(0x3ab)]['subscribeEvent'](()=>this[_0x8b1299(0x28a)]({'hovered':!0x0})),this[_0x8b1299(0x1ac)][_0x8b1299(0x1c9)](()=>this[_0x8b1299(0x28a)]({'hovered':!0x1})));}[_0x50a7d0(0x28a)](_0x340a41){const _0x16beb7=_0x50a7d0;var _0x5e5840,_0x54eeee,_0x21aa52,_0x480513,_0x1edc68,_0x32348b;this[_0x16beb7(0x1e6)]=(_0x5e5840=_0x340a41[_0x16beb7(0x3f5)])!=null?_0x5e5840:this[_0x16beb7(0x1e6)],this[_0x16beb7(0x252)]=(_0x54eeee=_0x340a41[_0x16beb7(0x173)])!=null?_0x54eeee:this[_0x16beb7(0x252)],this['_range']=(_0x21aa52=_0x340a41[_0x16beb7(0x2ba)])!=null?_0x21aa52:this[_0x16beb7(0x2e2)],this[_0x16beb7(0x3d0)]=(_0x480513=_0x340a41[_0x16beb7(0x125)])!=null?_0x480513:this[_0x16beb7(0x3d0)],this[_0x16beb7(0x31e)]=(_0x1edc68=_0x340a41['labelPosition'])!=null?_0x1edc68:this[_0x16beb7(0x31e)],this[_0x16beb7(0x3f3)]=(_0x32348b=_0x340a41[_0x16beb7(0x47e)])!=null?_0x32348b:this[_0x16beb7(0x3f3)],this['transformByState']({'width':_0x340a41[_0x16beb7(0x2ca)],'height':_0x340a41[_0x16beb7(0x452)]});}[_0x50a7d0(0x3c1)](_0x5c1614){const _0x25de5a=_0x50a7d0,{row:_0x159881,column:_0x2b588c}=_0x5c1614;if(_0x159881>=this['_range'][_0x25de5a(0x216)]&&_0x159881<=this[_0x25de5a(0x2e2)]['endRow']&&_0x2b588c>=this['_range'][_0x25de5a(0x148)]&&_0x2b588c<=this['_range'][_0x25de5a(0x2d3)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x25de5a(0x28a)]({'hovered':!0x1});}['triggerDblclick'](_0xbc1ab2){return!0x1;}[_0x50a7d0(0x1f5)](_0xda9457){const _0x1a32ab=_0x50a7d0;_0x502301[_0x1a32ab(0x2e4)](_0xda9457,{'width':this[_0x1a32ab(0x2ca)],'height':this[_0x1a32ab(0x452)],'strokeWidth':aa,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1a32ab(0x252)]&&(_0xda9457[_0x1a32ab(0x1c4)](),_0xda9457[_0x1a32ab(0x1c3)](0x1,0x0,0x0,0x1,this[_0x1a32ab(0x2ca)],this[_0x1a32ab(0x31e)]===_0x1a32ab(0xe2)?0x0:-rt),wt[_0x1a32ab(0x2e4)](_0xda9457,{'text':this[_0x1a32ab(0x3d0)],'color':this['_color']}),_0xda9457[_0x1a32ab(0x19f)]());}}var ha=Object[_0x50a7d0(0x15c)],la=Object[_0x50a7d0(0x18b)],_a=(_0x409b34,_0x583c62,_0x5b05e2,_0x2352a5)=>{for(var _0x4ab2c2=_0x2352a5>0x1?void 0x0:_0x2352a5?la(_0x583c62,_0x5b05e2):_0x583c62,_0x3ea81a=_0x409b34['length']-0x1,_0x5e5f63;_0x3ea81a>=0x0;_0x3ea81a--)(_0x5e5f63=_0x409b34[_0x3ea81a])&&(_0x4ab2c2=(_0x2352a5?_0x5e5f63(_0x583c62,_0x5b05e2,_0x4ab2c2):_0x5e5f63(_0x4ab2c2))||_0x4ab2c2);return _0x2352a5&&_0x4ab2c2&&ha(_0x583c62,_0x5b05e2,_0x4ab2c2),_0x4ab2c2;},Ft=(_0x1a5b5f,_0x3d2f54)=>(_0x4723a8,_0x362580)=>_0x3d2f54(_0x4723a8,_0x362580,_0x1a5b5f);const ua=0x1389;let hs=class extends _0x2983d9{constructor(_0x47fedc,_0x5a6a31,_0x194c73,_0x1d3fb6){const _0x31f7fb=_0x50a7d0;super(),g(this,_0x31f7fb(0x1a2),new Set()),g(this,'_lastPointer',null),(this[_0x31f7fb(0x385)]=_0x47fedc,this[_0x31f7fb(0x438)]=_0x5a6a31,this[_0x31f7fb(0x12f)]=_0x194c73,this['_themeService']=_0x1d3fb6,this[_0x31f7fb(0x1a9)]());}[_0x50a7d0(0x1a9)](){const _0x4ed610=_0x50a7d0;this[_0x4ed610(0x438)]['currentSkeleton$'][_0x4ed610(0x157)](_0x3d76fb(this['dispose$']),_0x147bb3(_0xc4d912=>{const _0x3344f1=_0x4ed610;if(_0xc4d912){const _0x1d7ea2=_0xc4d912[_0x3344f1(0x186)];return _0x5bce60(this['_collabCursorController'][_0x3344f1(0x430)](this['_context']['unitId']),this[_0x3344f1(0x3da)][_0x3344f1(0x4c4)])[_0x3344f1(0x157)](_0xe5458e(([_0x142f6c,_0x48725e])=>{const _0x4f84d1=_0x3344f1,_0x1c39ea=new Map();return _0x142f6c[_0x4f84d1(0x375)]((_0x34ae65,_0x4afa5d)=>{const _0x47f850=_0x4f84d1;if(_0x34ae65[_0x47f850(0x3d4)]===_0x1d7ea2){const _0xff1188={..._0x34ae65};_0xff1188['color']=_0x48725e[_0x34ae65[_0x47f850(0x3f5)]],_0x1c39ea['set'](_0x4afa5d,_0xff1188);}}),{'skeleton':_0xc4d912,'cursors':_0x1c39ea};}));}return _0x40848f({'skeleton':null,'cursors':new Map()});}))[_0x4ed610(0x479)](({skeleton:_0x2dc729,cursors:_0x3f8281})=>{const _0xc0f90f=_0x4ed610;this['_removeCollabCursors'](),_0x2dc729&&this[_0xc0f90f(0x261)](_0x2dc729,_0x3f8281);}),this[_0x4ed610(0x438)][_0x4ed610(0x1fd)][_0x4ed610(0x479)](_0x4ba1fe=>{const _0x4a33f7=_0x4ed610;if(_0x4ba1fe==null)return;const {skeleton:_0x20f5da}=_0x4ba1fe,{scene:_0x373cff}=this[_0x4a33f7(0x385)];_0x373cff['onPointerMove$'][_0x4a33f7(0x1c9)](_0x10313f(_0x598267=>{const _0xe6bf5c=_0x4a33f7;var _0x2bae5b,_0x3d977a;const {offsetX:_0x1a74ad,offsetY:_0x441ff8}=_0x598267,{x:_0x28b425,y:_0x436a93}=_0x373cff['getRelativeToViewportCoord'](_0x47811b[_0xe6bf5c(0x36e)]([_0x1a74ad,_0x441ff8])),{scaleX:_0x20134e,scaleY:_0x407286}=_0x373cff[_0xe6bf5c(0x2d8)](),_0x1ce047=_0x373cff[_0xe6bf5c(0x303)](_0x54d40e['VIEW_MAIN']),_0x30868e=_0x373cff[_0xe6bf5c(0xf3)](_0x47811b['FromArray']([_0x28b425,_0x436a93]),_0x1ce047),_0x167e88=_0x20f5da['getCellPositionByOffset'](_0x1a74ad,_0x441ff8,_0x20134e,_0x407286,_0x30868e);((_0x2bae5b=this['_lastPointer'])==null?void 0x0:_0x2bae5b[_0xe6bf5c(0x49b)])===_0x167e88[_0xe6bf5c(0x49b)]&&((_0x3d977a=this[_0xe6bf5c(0x244)])==null?void 0x0:_0x3d977a[_0xe6bf5c(0x35a)])===_0x167e88[_0xe6bf5c(0x35a)]||this[_0xe6bf5c(0x1a2)]['forEach'](_0x2860b9=>{_0x2860b9['onMouseMove'](_0x167e88);});},0x64));});}[_0x50a7d0(0x261)](_0x4fd153,_0x427f4d){const _0x26b6d1=_0x50a7d0;var _0x2b9155;const _0x3919e5=(_0x2b9155=this[_0x26b6d1(0x438)][_0x26b6d1(0x4a5)]())==null?void 0x0:_0x2b9155['skeleton'];if(!_0x3919e5)return;const _0x2e601a=this[_0x26b6d1(0x315)]();if(!_0x2e601a)return;this['_cursors']['forEach'](_0x26929a=>{const _0x19d744=_0x26b6d1;_0x26929a[_0x19d744(0x493)]();});const {scene:_0x3cbbc9}=_0x2e601a,_0x84a473=da(Array[_0x26b6d1(0x3bf)](_0x427f4d[_0x26b6d1(0x410)]()))['map'](_0x517841=>{const _0x418dd2=_0x26b6d1,{color:_0x515b96,range:_0x258fa2,name:_0x3d29a3,selection:_0x4b7c4c,sheetID:_0x27a21c}=_0x517841,{startColumn:_0x337128,startRow:_0x33cac0,endColumn:_0xe1e4de,endRow:_0x30ca95}=_0x258fa2,_0x42a6e2=_0x1070d0(_0x33cac0,_0x337128,_0x3cbbc9,_0x3919e5),_0x5d3dde=_0x1070d0(_0x30ca95,_0xe1e4de,_0x3cbbc9,_0x3919e5),{columnHeaderHeightAndMarginTop:_0x51cc24}=_0x3919e5,{startX:_0x3415eb,startY:_0x19933f}=_0x42a6e2,{endX:_0x290dbf,endY:_0x584691}=_0x5d3dde,_0x5a9acd=_0x290dbf-_0x3415eb,_0x3f2d3d=_0x584691-_0x19933f,_0x467391={'labelPosition':_0x19933f-_0x51cc24>=rt?_0x418dd2(0x32a):'bottom','sheetID':_0x27a21c,'range':_0x258fa2,'color':_0x515b96,'name':_0x3d29a3,'selection':_0x4b7c4c,'left':_0x3415eb,'top':_0x19933f,'width':_0x5a9acd,'height':_0x3f2d3d,'evented':!0x1,'zIndex':ua};return new ca(_0x3d29a3,_0x467391);});_0x3cbbc9['addObjects'](_0x84a473,oa),this[_0x26b6d1(0x1a2)]=new Set(_0x84a473);}[_0x50a7d0(0x488)](){const _0x24c34f=_0x50a7d0;var _0x121099;(_0x121099=this[_0x24c34f(0x1a2)])==null||_0x121099[_0x24c34f(0x375)](_0xe05d4e=>_0xe05d4e[_0x24c34f(0x45c)]());}['_getSheetObject'](){const _0x49a8a9=_0x50a7d0;return _0x47d2a2(this['_context'][_0x49a8a9(0x1d9)],this['_context']);}};hs=_a([Ft(0x1,_0x33026a(_0xb45b1b)),Ft(0x2,_0x33026a(Ve)),Ft(0x3,_0x33026a(_0x466ca0))],hs);function da(_0x17b230){const _0x5edca7=_0x50a7d0,_0x55e1e5=new Map();return _0x17b230['forEach'](_0x6df9d8=>{const _0x408d2f=_0xc944;if(_0x55e1e5[_0x408d2f(0x28d)](_0x6df9d8[_0x408d2f(0x227)])){const _0x281314=_0x55e1e5['get'](_0x6df9d8[_0x408d2f(0x227)]);_0x281314[_0x408d2f(0x125)]+=',\x20'+_0x6df9d8['name'];}else _0x55e1e5[_0x408d2f(0x2ce)](_0x6df9d8['selection'],_0x6df9d8);}),Array[_0x5edca7(0x3bf)](_0x55e1e5['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0xfc4ad5){const _0x43d9ac=_0x50a7d0;return _0xfc4ad5&&_0xfc4ad5[_0x43d9ac(0x304)]&&Object[_0x43d9ac(0x155)][_0x43d9ac(0x2ea)][_0x43d9ac(0x2a1)](_0xfc4ad5,_0x43d9ac(0x17c))?_0xfc4ad5[_0x43d9ac(0x17c)]:_0xfc4ad5;}var Bi={'exports':{}},Dt={},fa=_0x4b9c5e,va=Symbol[_0x50a7d0(0x24d)](_0x50a7d0(0x370)),ma=Symbol[_0x50a7d0(0x24d)](_0x50a7d0(0x4c8)),pa=Object[_0x50a7d0(0x155)][_0x50a7d0(0x2ea)],ga=fa['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x50a7d0(0x242)],Sa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function ki(_0xa25987,_0x1e629c,_0x1f415c){const _0x4e72be=_0x50a7d0;var _0x5e9d63,_0x3f448f={},_0x4e66ab=null,_0x2d8830=null;_0x1f415c!==void 0x0&&(_0x4e66ab=''+_0x1f415c),_0x1e629c['key']!==void 0x0&&(_0x4e66ab=''+_0x1e629c[_0x4e72be(0x31f)]),_0x1e629c[_0x4e72be(0x351)]!==void 0x0&&(_0x2d8830=_0x1e629c[_0x4e72be(0x351)]);for(_0x5e9d63 in _0x1e629c)pa[_0x4e72be(0x2a1)](_0x1e629c,_0x5e9d63)&&!Sa[_0x4e72be(0x2ea)](_0x5e9d63)&&(_0x3f448f[_0x5e9d63]=_0x1e629c[_0x5e9d63]);if(_0xa25987&&_0xa25987[_0x4e72be(0x2b0)]){for(_0x5e9d63 in(_0x1e629c=_0xa25987['defaultProps'],_0x1e629c))_0x3f448f[_0x5e9d63]===void 0x0&&(_0x3f448f[_0x5e9d63]=_0x1e629c[_0x5e9d63]);}return{'$$typeof':va,'type':_0xa25987,'key':_0x4e66ab,'ref':_0x2d8830,'props':_0x3f448f,'_owner':ga[_0x4e72be(0x29c)]};}Dt['Fragment']=ma,Dt[_0x50a7d0(0x23f)]=ki,Dt[_0x50a7d0(0x320)]=ki,Bi[_0x50a7d0(0x480)]=Dt;var Pe=Bi[_0x50a7d0(0x480)],se=function(){const _0xc8a612=_0x50a7d0;return se=Object[_0xc8a612(0x337)]||function(_0x470526){const _0x4984d8=_0xc8a612;for(var _0x1aa514,_0x47de3a=0x1,_0x568002=arguments[_0x4984d8(0x1d0)];_0x47de3a<_0x568002;_0x47de3a++){_0x1aa514=arguments[_0x47de3a];for(var _0xa8f7c2 in _0x1aa514)Object[_0x4984d8(0x155)]['hasOwnProperty']['call'](_0x1aa514,_0xa8f7c2)&&(_0x470526[_0xa8f7c2]=_0x1aa514[_0xa8f7c2]);}return _0x470526;},se[_0xc8a612(0x335)](this,arguments);},Ia=function(_0x2661f6,_0x52f355){const _0x3dffdd=_0x50a7d0;var _0xfadb02={};for(var _0x1264ff in _0x2661f6)Object[_0x3dffdd(0x155)]['hasOwnProperty'][_0x3dffdd(0x2a1)](_0x2661f6,_0x1264ff)&&_0x52f355['indexOf'](_0x1264ff)<0x0&&(_0xfadb02[_0x1264ff]=_0x2661f6[_0x1264ff]);if(_0x2661f6!=null&&typeof Object[_0x3dffdd(0x391)]==_0x3dffdd(0x36c)){for(var _0x50b907=0x0,_0x1264ff=Object[_0x3dffdd(0x391)](_0x2661f6);_0x50b907<_0x1264ff[_0x3dffdd(0x1d0)];_0x50b907++)_0x52f355['indexOf'](_0x1264ff[_0x50b907])<0x0&&Object['prototype'][_0x3dffdd(0x10b)][_0x3dffdd(0x2a1)](_0x2661f6,_0x1264ff[_0x50b907])&&(_0xfadb02[_0x1264ff[_0x50b907]]=_0x2661f6[_0x1264ff[_0x50b907]]);}return _0xfadb02;},ys=_0x447627(function(_0x4a20bb,_0x430225){const _0x1a002f=_0x50a7d0;var _0xa0b81=_0x4a20bb[_0x1a002f(0x132)],_0x5f2f96=_0x4a20bb['id'],_0xbf310e=_0x4a20bb[_0x1a002f(0x45f)],_0x1136d4=_0x4a20bb[_0x1a002f(0x229)],_0x511032=Ia(_0x4a20bb,[_0x1a002f(0x132),'id',_0x1a002f(0x45f),_0x1a002f(0x229)]),_0x4a8160=_0x1a002f(0x33f)[_0x1a002f(0x10e)](_0x5f2f96,'\x20')['concat'](_0xbf310e||'')[_0x1a002f(0xd9)](),_0xd22f1a=_0x244bad('_'[_0x1a002f(0x10e)](ba()));return Wi(_0xa0b81,''[_0x1a002f(0x10e)](_0x5f2f96),{'defIds':_0xa0b81['defIds'],'idSuffix':_0xd22f1a[_0x1a002f(0x29c)]},se({'ref':_0x430225,'className':_0x4a8160},_0x511032),_0x1136d4);});function Wi(_0x490c1d,_0x2288ac,_0x2dfcba,_0x359109,_0x42b62b){const _0x35eb12=_0x50a7d0;return _0x513a66(_0x490c1d[_0x35eb12(0x3ef)],se(se({'key':_0x2288ac},Ca(_0x490c1d,_0x2dfcba,_0x42b62b)),_0x359109),(Ea(_0x490c1d,_0x2dfcba)[_0x35eb12(0x181)]||[])[_0x35eb12(0x360)](function(_0x2e46fa,_0x5e194b){const _0x26d1a6=_0x35eb12;return Wi(_0x2e46fa,''['concat'](_0x2288ac,'-')['concat'](_0x490c1d[_0x26d1a6(0x3ef)],'-')[_0x26d1a6(0x10e)](_0x5e194b),_0x2dfcba,void 0x0,_0x42b62b);}));}function Ca(_0x154cfa,_0x64c966,_0x20707f){const _0x8e219d=_0x50a7d0;var _0x307bc9=se({},_0x154cfa[_0x8e219d(0x340)]);_0x20707f!=null&&_0x20707f[_0x8e219d(0xb6)]&&_0x307bc9[_0x8e219d(0x322)]===_0x8e219d(0xb6)&&(_0x307bc9['fill']=_0x20707f['colorChannel1']);var _0x521d4d=_0x64c966[_0x8e219d(0x380)];return!_0x521d4d||_0x521d4d[_0x8e219d(0x1d0)]===0x0||(_0x154cfa['tag']==='use'&&_0x307bc9[_0x8e219d(0x4c1)]&&(_0x307bc9[_0x8e219d(0x4c1)]=_0x307bc9[_0x8e219d(0x4c1)]+_0x64c966[_0x8e219d(0x1b7)]),Object[_0x8e219d(0x379)](_0x307bc9)[_0x8e219d(0x375)](function(_0x3630fa){const _0x2b5e98=_0x8e219d;var _0x3c7c60=_0x3630fa[0x0],_0x3a545d=_0x3630fa[0x1];typeof _0x3a545d==_0x2b5e98(0x218)&&(_0x307bc9[_0x3c7c60]=_0x3a545d[_0x2b5e98(0x226)](/url\(#(.*)\)/,_0x2b5e98(0xbb)[_0x2b5e98(0x10e)](_0x64c966[_0x2b5e98(0x1b7)],')')));})),_0x307bc9;}function Ea(_0x3c3096,_0x4a31fd){const _0x1d6042=_0x50a7d0;var _0x410b3b,_0x51a933=_0x4a31fd[_0x1d6042(0x380)];return!_0x51a933||_0x51a933[_0x1d6042(0x1d0)]===0x0?_0x3c3096:_0x3c3096[_0x1d6042(0x3ef)]===_0x1d6042(0x214)&&(!((_0x410b3b=_0x3c3096[_0x1d6042(0x181)])===null||_0x410b3b===void 0x0)&&_0x410b3b[_0x1d6042(0x1d0)])?se(se({},_0x3c3096),{'children':_0x3c3096[_0x1d6042(0x181)][_0x1d6042(0x360)](function(_0x57e616){const _0x5dc8d1=_0x1d6042;return typeof _0x57e616[_0x5dc8d1(0x340)]['id']==_0x5dc8d1(0x218)&&_0x51a933&&_0x51a933[_0x5dc8d1(0x299)](_0x57e616['attrs']['id'])>-0x1?se(se({},_0x57e616),{'attrs':se(se({},_0x57e616[_0x5dc8d1(0x340)]),{'id':_0x57e616['attrs']['id']+_0x4a31fd[_0x5dc8d1(0x1b7)]})}):_0x57e616;})}):_0x3c3096;}function ba(){const _0x38213e=_0x50a7d0;return Math[_0x38213e(0x220)]()['toString'](0x24)[_0x38213e(0x19d)](0x2,0x8);}ys['displayName']=_0x50a7d0(0x3b0);var Ta={'tag':'svg','attrs':{'fill':_0x50a7d0(0x1ab),'viewBox':_0x50a7d0(0x2bd),'width':_0x50a7d0(0x271),'height':_0x50a7d0(0x271)},'children':[{'tag':'g','attrs':{'clipPath':_0x50a7d0(0x3cc)},'children':[{'tag':_0x50a7d0(0x206),'attrs':{'stroke':_0x50a7d0(0x2ef),'d':_0x50a7d0(0x149),'strokeLinecap':_0x50a7d0(0x34d),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x50a7d0(0x214),'attrs':{},'children':[{'tag':_0x50a7d0(0x4bc),'attrs':{'id':_0x50a7d0(0x124)},'children':[{'tag':_0x50a7d0(0x206),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},Fi=_0x447627(function(_0x556ac0,_0x58b91f){const _0x26587f=_0x50a7d0;return _0x513a66(ys,Object[_0x26587f(0x337)]({},_0x556ac0,{'id':_0x26587f(0x46a),'ref':_0x58b91f,'icon':Ta}));});Fi[_0x50a7d0(0x41b)]=_0x50a7d0(0x250);var Ra={'tag':'svg','attrs':{'fill':_0x50a7d0(0x1ab),'viewBox':_0x50a7d0(0x190),'width':_0x50a7d0(0x271),'height':_0x50a7d0(0x271)},'children':[{'tag':'g','attrs':{'clipPath':_0x50a7d0(0x25b)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x50a7d0(0x1cd),'strokeLinecap':_0x50a7d0(0x34d),'strokeLinejoin':_0x50a7d0(0x34d),'strokeWidth':1.2}}]},{'tag':_0x50a7d0(0x214),'attrs':{},'children':[{'tag':_0x50a7d0(0x4bc),'attrs':{'id':_0x50a7d0(0x141)},'children':[{'tag':_0x50a7d0(0x206),'attrs':{'fill':_0x50a7d0(0x1ee),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},Vi=_0x447627(function(_0x233b4e,_0x12720c){const _0x7af440=_0x50a7d0;return _0x513a66(ys,Object[_0x7af440(0x337)]({},_0x233b4e,{'id':_0x7af440(0x187),'ref':_0x12720c,'icon':Ra}));});Vi[_0x50a7d0(0x41b)]='OnLineSingle';function Gi(_0x3bcaf0){const _0x5a168e=_0x50a7d0;var _0x1a41b4,_0x5e3221,_0x535f13='';if(typeof _0x3bcaf0=='string'||typeof _0x3bcaf0=='number')_0x535f13+=_0x3bcaf0;else{if(typeof _0x3bcaf0==_0x5a168e(0x3c3)){if(Array[_0x5a168e(0x20e)](_0x3bcaf0)){var _0x2c9810=_0x3bcaf0[_0x5a168e(0x1d0)];for(_0x1a41b4=0x0;_0x1a41b4<_0x2c9810;_0x1a41b4++)_0x3bcaf0[_0x1a41b4]&&(_0x5e3221=Gi(_0x3bcaf0[_0x1a41b4]))&&(_0x535f13&&(_0x535f13+='\x20'),_0x535f13+=_0x5e3221);}else{for(_0x5e3221 in _0x3bcaf0)_0x3bcaf0[_0x5e3221]&&(_0x535f13&&(_0x535f13+='\x20'),_0x535f13+=_0x5e3221);}}}return _0x535f13;}function Oa(){const _0x17b0e6=_0x50a7d0;for(var _0x430360,_0x2e9d73,_0x527667=0x0,_0x5de755='',_0x2d338b=arguments[_0x17b0e6(0x1d0)];_0x527667<_0x2d338b;_0x527667++)(_0x430360=arguments[_0x527667])&&(_0x2e9d73=Gi(_0x430360))&&(_0x5de755&&(_0x5de755+='\x20'),_0x5de755+=_0x2e9d73);return _0x5de755;}const ya=_0x50a7d0(0x45b),wa=_0x50a7d0(0x1c8),Da=_0x50a7d0(0x406),Pa=_0x50a7d0(0x40a),Ua=_0x50a7d0(0x471),Ze={'onlineStatusIcon':ya,'onlineStatusTitle':wa,'onlineStatus':Da,'online':Pa,'offline':Ua};function Na(_0x18f8aa){const _0x218b75=_0x50a7d0;switch(_0x18f8aa){case J[_0x218b75(0x4a2)]:return _0x218b75(0x43c);case J[_0x218b75(0x441)]:return _0x218b75(0x397);case J['FETCH_MISS']:return _0x218b75(0x22f);case J[_0x218b75(0x428)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x218b75(0x36f)]:return _0x218b75(0x490);case J[_0x218b75(0x2d9)]:case J[_0x218b75(0x23b)]:return _0x218b75(0x4a6);}}function Aa(_0x298c4a){const _0x12f807=_0x50a7d0,{status$:_0x327ea0}=_0x298c4a,_0x4ed109=_0x30f937(_0x327ea0,J[_0x12f807(0x428)]),_0x2b3a11=_0x4739ca(_0x21b13d),_0x448825=_0x4739ca(xe),_0x481235=_0x4ed109!==J[_0x12f807(0x4a2)],_0x46c568=_0x2b3a11['t'](Na(_0x4ed109)),_0x3d6c10=Oa(Ze[_0x12f807(0x384)],{[Ze[_0x12f807(0x1bc)]]:_0x481235,[Ze[_0x12f807(0x140)]]:!_0x481235}),_0x34030a=_0x481235?Pe[_0x12f807(0x23f)](Vi,{}):Pe[_0x12f807(0x23f)](Fi,{}),_0x387d26=_0x311bd9(()=>{const _0x5be047=_0x12f807;_0x481235||_0x448825[_0x5be047(0x466)]();},[_0x481235,_0x448825]);function _0x20ec19(){const _0x5e451e=_0x12f807;return Pe[_0x5e451e(0x320)]('div',{'className':_0x3d6c10,'onClick':_0x387d26,'children':[Pe[_0x5e451e(0x23f)](_0x5e451e(0xf0),{'className':Ze[_0x5e451e(0x2dc)],'children':_0x34030a}),Pe[_0x5e451e(0x23f)](_0x5e451e(0xf0),{'className':Ze['onlineStatusTitle'],'children':_0x46c568})]});}return _0x481235?_0x20ec19():Pe[_0x12f807(0x23f)](_0x208dab,{'title':_0x2b3a11['t'](_0x12f807(0x189)),'children':_0x20ec19()});}var Ma=Object[_0x50a7d0(0x15c)],xa=Object['getOwnPropertyDescriptor'],La=(_0x43e91c,_0x14f5e4,_0x4a35e9,_0x549721)=>{const _0x46a9f8=_0x50a7d0;for(var _0x3c4288=_0x549721>0x1?void 0x0:_0x549721?xa(_0x14f5e4,_0x4a35e9):_0x14f5e4,_0x273aaa=_0x43e91c[_0x46a9f8(0x1d0)]-0x1,_0x4c8726;_0x273aaa>=0x0;_0x273aaa--)(_0x4c8726=_0x43e91c[_0x273aaa])&&(_0x3c4288=(_0x549721?_0x4c8726(_0x14f5e4,_0x4a35e9,_0x3c4288):_0x4c8726(_0x3c4288))||_0x3c4288);return _0x549721&&_0x3c4288&&Ma(_0x14f5e4,_0x4a35e9,_0x3c4288),_0x3c4288;},ht=(_0x402010,_0x30fc7b)=>(_0x26b221,_0x13e2f6)=>_0x30fc7b(_0x26b221,_0x13e2f6,_0x402010);let Ct=class extends _0x514939{constructor(_0x1542b1,_0x81f375,_0x12e373,_0x3764ef){const _0x6da674=_0x50a7d0;super(),g(this,_0x6da674(0x390),new _0x22472b(J[_0x6da674(0x428)])),(this['_univerInstanceService']=_0x1542b1,this[_0x6da674(0x268)]=_0x81f375,this['_injector']=_0x12e373,this['_collaborationController']=_0x3764ef,this[_0x6da674(0x144)](),this[_0x6da674(0x4b4)]());}[_0x50a7d0(0x4b4)](){const _0x38a0aa=_0x50a7d0;this['disposeWithMe'](this[_0x38a0aa(0x283)][_0x38a0aa(0x171)]['pipe'](_0x150ba9(()=>{const _0x1306e7=_0x38a0aa,_0x27c827=this['_univerInstanceService'][_0x1306e7(0x311)]();return _0x27c827?this[_0x1306e7(0xc7)][_0x1306e7(0x29e)](_0x27c827[_0x1306e7(0x14f)]()):_0x40848f(null);}),_0x150ba9(_0x3a3a8f=>_0x3a3a8f?_0x3a3a8f[_0x38a0aa(0x361)]:_0x40848f(J[_0x38a0aa(0x428)])))[_0x38a0aa(0x479)](_0x3feb22=>{const _0x28207b=_0x38a0aa;this[_0x28207b(0x390)][_0x28207b(0x492)](_0x3feb22);}));}[_0x50a7d0(0x144)](){const _0x2a1b9d=_0x50a7d0;this[_0x2a1b9d(0x450)](this['_uiPartsService']['registerComponent'](_0x1815bd[_0x2a1b9d(0x2a8)],()=>_0x5acef2($a({'status$':this[_0x2a1b9d(0x390)][_0x2a1b9d(0x1e8)]()}),this[_0x2a1b9d(0x408)])));}};Ct=La([ht(0x0,_0x28b990),ht(0x1,_0x43dd49),ht(0x2,_0x33026a(_0x17dae8)),ht(0x3,_0x33026a(it))],Ct);function $a(_0x19cfe8){const {status$:_0x3d853a}=_0x19cfe8;return function(){return Pe['jsx'](Aa,{'status$':_0x3d853a});};}const Yi=_0x17c099('uni.network.url-service');var Ha=Object['defineProperty'],ja=Object[_0x50a7d0(0x18b)],Ba=(_0x413470,_0x59cc8d,_0x4bc95a,_0x2337a0)=>{for(var _0x47930e=_0x2337a0>0x1?void 0x0:_0x2337a0?ja(_0x59cc8d,_0x4bc95a):_0x59cc8d,_0x2b4997=_0x413470['length']-0x1,_0x53ee34;_0x2b4997>=0x0;_0x2b4997--)(_0x53ee34=_0x413470[_0x2b4997])&&(_0x47930e=(_0x2337a0?_0x53ee34(_0x59cc8d,_0x4bc95a,_0x47930e):_0x53ee34(_0x47930e))||_0x47930e);return _0x2337a0&&_0x47930e&&Ha(_0x59cc8d,_0x4bc95a,_0x47930e),_0x47930e;},ke=(_0x349854,_0x5228c5)=>(_0xfd88fb,_0x15c342)=>_0x5228c5(_0xfd88fb,_0x15c342,_0x349854);let Et=class extends _0x2983d9{constructor(_0x5dd0aa,_0x2b16c8,_0x4cb698,_0x87bef,_0x4d85d6,_0x534ab3){const _0x29f960=_0x50a7d0;super(),this['_urlService']=_0x5dd0aa,this['_logService']=_0x2b16c8,this[_0x29f960(0x293)]=_0x4cb698,this[_0x29f960(0x251)]=_0x87bef,this[_0x29f960(0x38c)]=_0x4d85d6,_0x534ab3?_0x534ab3==null||_0x534ab3['whenReady']()[_0x29f960(0x119)](()=>this[_0x29f960(0x1a9)]()):(this[_0x29f960(0x422)][_0x29f960(0x165)]('[DataLoaderController]',_0x29f960(0x15e)),this[_0x29f960(0x1a9)]());}async['_init'](){const _0x2ba4fa=_0x50a7d0,_0x571167=this[_0x2ba4fa(0x334)][_0x2ba4fa(0x460)](_0x2ba4fa(0x1d9)),_0x1513a9=this[_0x2ba4fa(0x334)][_0x2ba4fa(0x460)]('type');if(!_0x571167||!_0x1513a9){this[_0x2ba4fa(0x422)][_0x2ba4fa(0x165)]('[DataLoaderController]',_0x2ba4fa(0x449));return;}switch(Number(_0x1513a9)){case ce['UNIVER_SHEET']:{const _0x5b53ce=await this[_0x2ba4fa(0x418)](_0x571167);this['_setupSubUnitSync'](_0x5b53ce);break;}case ce['UNIVER_DOC']:{await this[_0x2ba4fa(0x3e1)](_0x571167);break;}default:{this[_0x2ba4fa(0x422)][_0x2ba4fa(0x3a2)]('[DataLoaderController]',_0x2ba4fa(0x270));break;}}}async['_setupSubUnitSync'](_0x228f25){const _0x4b4939=_0x50a7d0;await this[_0x4b4939(0x3b1)](_0x228f25),_0x228f25['activeSheet$'][_0x4b4939(0x157)](_0x2b44f7(this[_0x4b4939(0x42e)]))[_0x4b4939(0x479)](_0x6646e5=>{const _0x26c621=_0x4b4939;_0x6646e5&&this[_0x26c621(0x1fb)](_0x6646e5);}),this[_0x4b4939(0x334)][_0x4b4939(0x1e1)][_0x4b4939(0x157)](_0x2b44f7(this[_0x4b4939(0x42e)]))[_0x4b4939(0x479)](()=>this['_updateSubUnitFromURLParams'](_0x228f25));}[_0x50a7d0(0x1fb)](_0x25044d,_0x4bcfc4=!0x1){const _0x11f1c1=_0x50a7d0,_0x13ff56=this[_0x11f1c1(0x334)][_0x11f1c1(0x460)](_0x11f1c1(0x1eb));_0x25044d['getSheetId']()!==_0x13ff56&&this[_0x11f1c1(0x334)][_0x11f1c1(0x236)](_0x11f1c1(0x1eb),_0x25044d[_0x11f1c1(0x1ef)](),_0x4bcfc4);}async[_0x50a7d0(0x3b1)](_0x231bac){const _0x35c2ee=_0x50a7d0;var _0x458c86;const _0x3d3656=this['_urlService'][_0x35c2ee(0x460)](_0x35c2ee(0x1eb));if(!_0x3d3656||!_0x231bac[_0x35c2ee(0x23e)](_0x3d3656)){const _0x37122c=_0x231bac[_0x35c2ee(0x305)]()[0x0],_0x3ad09a=_0x231bac['getSheetBySheetId'](_0x37122c);if(!_0x3ad09a)return;this['_updateURLWithCurrentState'](_0x3ad09a,!0x0),await this[_0x35c2ee(0x293)][_0x35c2ee(0x368)](_0x418451['id'],{'unitId':_0x231bac[_0x35c2ee(0x14f)](),'subUnitId':_0x37122c});return;}((_0x458c86=_0x231bac['getActiveSheet']())==null?void 0x0:_0x458c86[_0x35c2ee(0x1ef)]())!==_0x3d3656&&await this[_0x35c2ee(0x293)][_0x35c2ee(0x368)](_0x418451['id'],{'unitId':_0x231bac['getUnitId'](),'subUnitId':_0x3d3656});}async[_0x50a7d0(0x418)](_0xe4506d){const _0x403c60=_0x50a7d0;let _0x5d3f84=0x0;const _0x1ac91f=await this[_0x403c60(0x251)]['loadOfflineData'](_0xe4506d);return _0x1ac91f&&(_0x1ac91f[_0x403c60(0x16a)]||_0x1ac91f[_0x403c60(0x182)][_0x403c60(0x1d0)]!==0x0)&&(_0x5d3f84=_0x1ac91f[_0x403c60(0x26f)]),_0x5d3f84===0x0&&this[_0x403c60(0x422)]['debug']('[DataLoaderController]',_0x403c60(0x483)),this[_0x403c60(0x38c)][_0x403c60(0x3c8)](_0xe4506d,_0x5d3f84);}async[_0x50a7d0(0x3e1)](_0x4c4cd8){const _0x2423c2=_0x50a7d0;let _0x196e32=0x0;const _0x81c6be=await this[_0x2423c2(0x251)][_0x2423c2(0x342)](_0x4c4cd8);return _0x81c6be&&(_0x81c6be['awaitingChangeset']||_0x81c6be['mutations'][_0x2423c2(0x1d0)]!==0x0)&&(_0x196e32=_0x81c6be[_0x2423c2(0x26f)]),_0x196e32===0x0&&this['_logService']['debug'](_0x2423c2(0xd1),_0x2423c2(0x483)),this[_0x2423c2(0x38c)]['loadDoc'](_0x4c4cd8,_0x196e32);}};Et=Ba([ke(0x0,Yi),ke(0x1,_0x299b7a),ke(0x2,_0x2e05f8),ke(0x3,_0x33026a(q)),ke(0x4,_0x33026a(_0x413c1b)),ke(0x5,_0x380b11(_0x14e6c9))],Et);var ka=Object[_0x50a7d0(0x15c)],Wa=Object['getOwnPropertyDescriptor'],Fa=(_0x1ba0d7,_0x5773a2,_0x427156,_0x420c2c)=>{for(var _0x22bba3=_0x420c2c>0x1?void 0x0:_0x420c2c?Wa(_0x5773a2,_0x427156):_0x5773a2,_0x1f8e8c=_0x1ba0d7['length']-0x1,_0x8493a6;_0x1f8e8c>=0x0;_0x1f8e8c--)(_0x8493a6=_0x1ba0d7[_0x1f8e8c])&&(_0x22bba3=(_0x420c2c?_0x8493a6(_0x5773a2,_0x427156,_0x22bba3):_0x8493a6(_0x22bba3))||_0x22bba3);return _0x420c2c&&_0x22bba3&&ka(_0x5773a2,_0x427156,_0x22bba3),_0x22bba3;},Qs=(_0x385db6,_0x3eddc2)=>(_0x3717b0,_0x536741)=>_0x3eddc2(_0x3717b0,_0x536741,_0x385db6);const Va='DEFAULT_FILE_NAME',Ga=_0x50a7d0(0xbc);let bt=class extends _0x514939{constructor(_0x451eb4,_0x26d302){const _0x26e016=_0x50a7d0;super(),this[_0x26e016(0x283)]=_0x451eb4,this[_0x26e016(0x3bb)]=_0x26d302,this['_init']();}['_init'](){const _0xfa8eb4=_0x50a7d0;this['disposeWithMe'](this[_0xfa8eb4(0x283)]['focused$'][_0xfa8eb4(0x479)](()=>{const _0x53af8a=_0xfa8eb4;var _0x1595f5;const _0x375a56=this[_0x53af8a(0x283)][_0x53af8a(0x311)]();let _0x3f0b12=(_0x1595f5=this[_0x53af8a(0x3bb)]['getConfig'](Va))!=null?_0x1595f5:Ga;_0x375a56 instanceof _0xf4680a&&(_0x3f0b12=_0x375a56[_0x53af8a(0x125)]),document[_0x53af8a(0x4b9)]=_0x3f0b12;}));}};bt=Fa([Qs(0x0,_0x28b990),Qs(0x1,_0x533505)],bt);var Ya=Object[_0x50a7d0(0x15c)],Ka=Object[_0x50a7d0(0x18b)],za=(_0x286f29,_0x4911eb,_0x1371b5,_0x170f71)=>{const _0x221505=_0x50a7d0;for(var _0x196e25=_0x170f71>0x1?void 0x0:_0x170f71?Ka(_0x4911eb,_0x1371b5):_0x4911eb,_0x59e9b6=_0x286f29[_0x221505(0x1d0)]-0x1,_0x39cc91;_0x59e9b6>=0x0;_0x59e9b6--)(_0x39cc91=_0x286f29[_0x59e9b6])&&(_0x196e25=(_0x170f71?_0x39cc91(_0x4911eb,_0x1371b5,_0x196e25):_0x39cc91(_0x196e25))||_0x196e25);return _0x170f71&&_0x196e25&&Ya(_0x4911eb,_0x1371b5,_0x196e25),_0x196e25;},Vt=(_0x46015f,_0x373477)=>(_0x1fab72,_0x26f52f)=>_0x373477(_0x1fab72,_0x26f52f,_0x46015f);let Tt=class{constructor(_0x37900a,_0x4780b2,_0x3804c5){const _0x3eb9bb=_0x50a7d0;this[_0x3eb9bb(0x3bb)]=_0x37900a,this['_httpService']=_0x4780b2,this[_0x3eb9bb(0x386)]=_0x3804c5,this['init']();}[_0x50a7d0(0x237)](){const _0x21bf49=_0x50a7d0;this[_0x21bf49(0x38a)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x10ee09,_0x53cebb)=>_0x53cebb(_0x10ee09)['pipe'](_0x320b34(async _0x3d3138=>{const _0x3d1429=_0x21bf49,_0x30a10c=_0x3d3138;if(_0x30a10c['status']===0x191&&window[_0x3d1429(0x166)](this[_0x3d1429(0x386)]['t'](_0x3d1429(0x259)))){const _0x2b9c34=window[_0x3d1429(0x2c0)](window[_0x3d1429(0x41a)]['href']);window['location'][_0x3d1429(0x403)]=this['_getLoginPath']()+_0x3d1429(0x4c7)+_0x2b9c34;}return _0x30a10c;}))});}[_0x50a7d0(0x1c0)](){const _0x3ba2a6=_0x50a7d0;var _0x2a8f2f,_0xa5b188;const _0x4c35e3=this['_configService'][_0x3ba2a6(0x4c6)](Nn),_0x55080a=this[_0x3ba2a6(0x3bb)][_0x3ba2a6(0x4c6)](ee);return(_0xa5b188=(_0x2a8f2f=_0x55080a==null?void 0x0:_0x55080a['loginUrlKey'])!=null?_0x2a8f2f:_0x4c35e3)!=null?_0xa5b188:An;}};Tt=za([Vt(0x0,_0x533505),Vt(0x1,_0x33026a(_0x278722)),Vt(0x2,_0x33026a(_0x21b13d))],Tt);var qa=Object[_0x50a7d0(0x15c)],Xa=Object[_0x50a7d0(0x18b)],Ja=(_0x556fe8,_0x17b803,_0x2a9792,_0x42679a)=>{for(var _0x35d6b5=_0x42679a>0x1?void 0x0:_0x42679a?Xa(_0x17b803,_0x2a9792):_0x17b803,_0x53aed8=_0x556fe8['length']-0x1,_0x1d822a;_0x53aed8>=0x0;_0x53aed8--)(_0x1d822a=_0x556fe8[_0x53aed8])&&(_0x35d6b5=(_0x42679a?_0x1d822a(_0x17b803,_0x2a9792,_0x35d6b5):_0x1d822a(_0x35d6b5))||_0x35d6b5);return _0x42679a&&_0x35d6b5&&qa(_0x17b803,_0x2a9792,_0x35d6b5),_0x35d6b5;},ei=(_0x59c863,_0x4eca7f)=>(_0x17fa19,_0x2d1aee)=>_0x4eca7f(_0x17fa19,_0x2d1aee,_0x59c863);const Ki=_0x50a7d0(0x43b),Za='/universer-api/authz';let ls=class extends _0x514939{constructor(_0x1a5985,_0x2f8dfa){const _0x18b039=_0x50a7d0;super(),this[_0x18b039(0x352)]=_0x1a5985,this[_0x18b039(0x3bb)]=_0x2f8dfa,this[_0x18b039(0x1df)]();}[_0x50a7d0(0x1df)](){const _0x1e6739=_0x50a7d0,_0x1b939c=this;this['disposeWithMe'](this[_0x1e6739(0x352)][_0x1e6739(0x434)]({'priority':0x3e7,'interceptor':_0x528585({'isMatch'(_0x3e0780){const _0x813d39=_0x1e6739;var _0x47ef4d;if(_0x3e0780[_0x813d39(0xb3)]===_0x813d39(0xa9)&&((_0x47ef4d=_0x3e0780[_0x813d39(0x266)])!=null&&_0x47ef4d[_0x813d39(0x48c)])){const {objectID:_0x15898b,objectType:_0x19698f}=_0x3e0780[_0x813d39(0x266)][_0x813d39(0x48c)]||{};if(!_0x15898b||_0x19698f===void 0x0)return!0x1;const _0x296c59=_0x1b939c[_0x813d39(0x3ca)]()+'/'+_0x19698f+_0x813d39(0xbd)+_0x15898b+_0x813d39(0xb4);if(_0x3e0780[_0x813d39(0x40b)]===_0x296c59)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x32738f){const _0x3857e2=_0x1e6739;var _0x198fb8;return(_0x198fb8=_0x32738f[_0x3857e2(0x266)])==null?void 0x0:_0x198fb8[_0x3857e2(0x48c)];},'mergeParamsToRequest'(_0xbf7d1e,_0x5eb020){const _0xc51512=_0x1e6739,_0x5abc62=_0x1b939c[_0xc51512(0x3ca)]()+_0xc51512(0xf9),_0x30caa8=_0xbf7d1e['reduce']((_0x31a78f,_0x23220a)=>{const _0x427f27=_0xc51512,{unitID:_0x31a67f,objectID:_0x3c1d16,objectType:_0x3c2549,actions:_0xd65050}=_0x23220a;return _0x31a78f[_0x31a67f]||(_0x31a78f[_0x31a67f]={}),_0x31a78f[_0x31a67f][_0x3c1d16]||(_0x31a78f[_0x31a67f][_0x3c1d16]={'objectID':_0x3c1d16,'objectType':_0x3c2549,'actions':[]}),_0x31a78f[_0x31a67f][_0x3c1d16][_0x427f27(0x433)][_0x427f27(0xc6)](..._0xd65050),_0x31a78f;},{}),_0x4ef49f=[];for(const _0x1e7513 in _0x30caa8)for(const _0x285fb8 in _0x30caa8[_0x1e7513]){const {actions:_0x2f1f92,objectType:_0xdf768f}=_0x30caa8[_0x1e7513][_0x285fb8],_0x526c06=[...new Set(_0x2f1f92)];_0x4ef49f[_0xc51512(0xc6)]({'unitID':_0x1e7513,'objectID':_0x285fb8,'objectType':_0xdf768f,'actions':_0x526c06});}return new _0x5522e9(_0xc51512(0xa9),_0x5abc62,{'headers':_0x5eb020[_0xc51512(0x3de)],'withCredentials':_0x5eb020[_0xc51512(0x1e3)],'responseType':_0x5eb020[_0xc51512(0x300)],'body':{'requests':_0x4ef49f}});}},{'distributeResult'(_0x435bd0,_0x484650){const _0x4ebcf8=_0x1e6739,{objectActions:_0x3e36a6}=_0x435bd0;return _0x484650[_0x4ebcf8(0x360)](_0x3434c9=>{const _0xbb0958=_0x4ebcf8,{unitID:_0x355397,objectID:_0xd2cdea,actions:_0x94f116}=_0x3434c9,_0x49c2d2=_0x3e36a6[_0xbb0958(0x39a)](_0x1f7524=>_0x1f7524[_0xbb0958(0xaa)]===_0x355397&&_0x1f7524['objectID']===_0xd2cdea),_0x48fff4=_0x94f116[_0xbb0958(0x360)](_0x1d399b=>_0x49c2d2==null?void 0x0:_0x49c2d2[_0xbb0958(0x433)]['find'](_0x8e8030=>_0x8e8030[_0xbb0958(0x265)]===_0x1d399b))[_0xbb0958(0x4ba)](_0x162ae4=>!!_0x162ae4);return{'config':_0x3434c9,'result':{'actions':_0x48fff4,'error':_0x435bd0[_0xbb0958(0x3a2)]}};});}})}));}[_0x50a7d0(0x3ca)](){const _0x2e2fab=_0x50a7d0;var _0x184844,_0xdc07b3;const _0x5cd3fb=this[_0x2e2fab(0x3bb)][_0x2e2fab(0x4c6)](Ki),_0x3c2a1e=this[_0x2e2fab(0x3bb)]['getConfig'](ee);return(_0xdc07b3=(_0x184844=_0x3c2a1e==null?void 0x0:_0x3c2a1e[_0x2e2fab(0x3e9)])!=null?_0x184844:_0x5cd3fb)!=null?_0xdc07b3:Za;}async[_0x50a7d0(0x24c)](_0x1ede51){const _0x16858a=_0x50a7d0,_0x41835a=this['_getAPIPrefixPath']()+'/'+_0x1ede51['objectType']+_0x16858a(0x33c);return(await this['_HTTPService']['post'](_0x41835a,{'body':_0x1ede51}))['body'][_0x16858a(0x23d)]||'';}async[_0x50a7d0(0x205)](_0x114423){const _0xe10d19=_0x50a7d0,_0x5aeb20=this[_0xe10d19(0x3ca)]()+_0xe10d19(0x20d);return(await this[_0xe10d19(0x352)]['post'](_0x5aeb20,{'body':_0x114423}))[_0xe10d19(0x48c)]['objects'];}async['update'](_0x5d1719){const _0x1f8870=_0x50a7d0,_0x5b2614=this[_0x1f8870(0x3ca)]()+'/'+_0x5d1719[_0x1f8870(0xab)]+_0x1f8870(0xbd)+_0x5d1719[_0x1f8870(0x23d)];await this[_0x1f8870(0x352)][_0x1f8870(0xe9)](_0x5b2614,{'body':_0x5d1719});}async[_0x50a7d0(0x2d0)](_0x128b94){const _0x5525f1=_0x50a7d0,_0x232c5a=this[_0x5525f1(0x3ca)]()+'/'+_0x128b94['objectType']+'/object/'+_0x128b94[_0x5525f1(0x23d)]+_0x5525f1(0xb4);return(await this[_0x5525f1(0x352)][_0x5525f1(0x462)](_0x232c5a,{'body':_0x128b94}))[_0x5525f1(0x48c)][_0x5525f1(0x433)];}async[_0x50a7d0(0x24e)](_0x2bb6ed){const _0x3f45b8=_0x50a7d0,_0x57e931=this[_0x3f45b8(0x3ca)]()+_0x3f45b8(0xf9);return(await this['_HTTPService'][_0x3f45b8(0x462)](_0x57e931,{'body':{'requests':_0x2bb6ed}}))[_0x3f45b8(0x48c)]['objectActions'];}async[_0x50a7d0(0x2e9)](_0x162a11){const _0x32326d=_0x50a7d0,_0x22c346=this[_0x32326d(0x3ca)]()+'/'+_0x162a11[_0x32326d(0xab)]+'/role',_0xf4376e=await this[_0x32326d(0x352)][_0x32326d(0x462)](_0x22c346,{'body':_0x162a11});return{'roles':_0xf4376e[_0x32326d(0x48c)][_0x32326d(0x2cd)],'actions':_0xf4376e[_0x32326d(0x48c)][_0x32326d(0x433)]};}async[_0x50a7d0(0x358)](_0x180d93){const _0x3a67a2=_0x50a7d0,_0xcd1812=this[_0x3a67a2(0x3ca)]()+_0x3a67a2(0x22c);await this['_HTTPService']['delete'](_0xcd1812,{'params':{'collaboratorID':_0x180d93[_0x3a67a2(0x326)],'objectID':_0x180d93[_0x3a67a2(0x23d)],'unitID':_0x180d93[_0x3a67a2(0xaa)]}});}async[_0x50a7d0(0x45d)](_0x974f50){const _0x512ed4=_0x50a7d0,_0x6a062c=this[_0x512ed4(0x3ca)]()+_0x512ed4(0x22c);await this[_0x512ed4(0x352)][_0x512ed4(0x221)](_0x6a062c,{'body':_0x974f50});}async[_0x50a7d0(0x2af)](_0xd999c6){const _0x37d3c3=_0x50a7d0,_0x4d116f=this['_getAPIPrefixPath']()+_0x37d3c3(0x22c);await this[_0x37d3c3(0x352)]['post'](_0x4d116f,{'body':_0xd999c6});}async[_0x50a7d0(0x457)](_0x324c6f){const _0x2ad2a0=_0x50a7d0,_0x1de86c=this['_getAPIPrefixPath']()+_0x2ad2a0(0x22c);return(await this[_0x2ad2a0(0x352)][_0x2ad2a0(0x373)](_0x1de86c,{'params':{'objectID':_0x324c6f['objectID'],'unitID':_0x324c6f['unitID']}}))[_0x2ad2a0(0x48c)][_0x2ad2a0(0x110)];}async[_0x50a7d0(0x474)](_0x24548a){const _0x423873=_0x50a7d0,_0x510d49=this[_0x423873(0x3ca)]()+'/collaborator';await this[_0x423873(0x352)][_0x423873(0xe9)](_0x510d49,{'body':_0x24548a});}};ls=Ja([ei(0x0,_0x33026a(_0x278722)),ei(0x1,_0x33026a(_0x533505))],ls);var zi={'exports':{}};function Qa(_0x5d1fa7){const _0x45a4ae=_0x50a7d0;throw new Error(_0x45a4ae(0x343)+_0x5d1fa7+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Gt={'exports':{}},ti;function ue(){const _0x30ba81=_0x50a7d0;return ti||(ti=0x1,function(_0x1d648e,_0x97baaf){(function(_0xfc4064,_0x168a0f){const _0x48988e=_0xc944;_0x1d648e[_0x48988e(0x480)]=_0x168a0f();}(Z,function(){var _0x5698b2=_0x5698b2||function(_0x1e0bc3,_0x5ea41b){const _0x2697b3=_0xc944;var _0x232d0a;if(typeof window<'u'&&window[_0x2697b3(0x2d5)]&&(_0x232d0a=window[_0x2697b3(0x2d5)]),typeof self<'u'&&self[_0x2697b3(0x2d5)]&&(_0x232d0a=self[_0x2697b3(0x2d5)]),typeof globalThis<'u'&&globalThis[_0x2697b3(0x2d5)]&&(_0x232d0a=globalThis[_0x2697b3(0x2d5)]),!_0x232d0a&&typeof window<'u'&&window[_0x2697b3(0x11f)]&&(_0x232d0a=window[_0x2697b3(0x11f)]),!_0x232d0a&&typeof Z<'u'&&Z[_0x2697b3(0x2d5)]&&(_0x232d0a=Z[_0x2697b3(0x2d5)]),!_0x232d0a&&typeof Qa==_0x2697b3(0x36c))try{_0x232d0a=require(_0x2697b3(0x2d5));}catch{}var _0xfc31e2=function(){const _0x686a91=_0x2697b3;if(_0x232d0a){if(typeof _0x232d0a[_0x686a91(0x286)]==_0x686a91(0x36c))try{return _0x232d0a[_0x686a91(0x286)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x232d0a[_0x686a91(0x2eb)]==_0x686a91(0x36c))try{return _0x232d0a[_0x686a91(0x2eb)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x686a91(0x22e));},_0x37470d=Object[_0x2697b3(0x24c)]||(function(){function _0x482120(){}return function(_0x560e35){const _0x378245=_0xc944;var _0x50d9cc;return _0x482120[_0x378245(0x155)]=_0x560e35,_0x50d9cc=new _0x482120(),_0x482120[_0x378245(0x155)]=null,_0x50d9cc;};}()),_0xadaf4f={},_0x324e5d=_0xadaf4f[_0x2697b3(0xde)]={},_0x12444e=_0x324e5d[_0x2697b3(0x111)]=(function(){return{'extend':function(_0x16c96a){const _0xebfa8c=_0xc944;var _0x2ef387=_0x37470d(this);return _0x16c96a&&_0x2ef387[_0xebfa8c(0x3e7)](_0x16c96a),(!_0x2ef387[_0xebfa8c(0x2ea)]('init')||this[_0xebfa8c(0x237)]===_0x2ef387[_0xebfa8c(0x237)])&&(_0x2ef387['init']=function(){const _0x35776f=_0xebfa8c;_0x2ef387['$super'][_0x35776f(0x237)][_0x35776f(0x335)](this,arguments);}),_0x2ef387[_0xebfa8c(0x237)]['prototype']=_0x2ef387,_0x2ef387[_0xebfa8c(0x496)]=this,_0x2ef387;},'create':function(){const _0xff1874=_0xc944;var _0x36e986=this['extend']();return _0x36e986[_0xff1874(0x237)][_0xff1874(0x335)](_0x36e986,arguments),_0x36e986;},'init':function(){},'mixIn':function(_0x113b31){const _0x455abf=_0xc944;for(var _0x3a614e in _0x113b31)_0x113b31[_0x455abf(0x2ea)](_0x3a614e)&&(this[_0x3a614e]=_0x113b31[_0x3a614e]);_0x113b31[_0x455abf(0x2ea)]('toString')&&(this[_0x455abf(0x45a)]=_0x113b31['toString']);},'clone':function(){const _0xd1baa3=_0xc944;return this[_0xd1baa3(0x237)]['prototype'][_0xd1baa3(0x229)](this);}};}()),_0x3631a4=_0x324e5d[_0x2697b3(0x281)]=_0x12444e[_0x2697b3(0x229)]({'init':function(_0x2c7888,_0x555610){const _0x3191fc=_0x2697b3;_0x2c7888=this[_0x3191fc(0x445)]=_0x2c7888||[],_0x555610!=_0x5ea41b?this[_0x3191fc(0x1a8)]=_0x555610:this[_0x3191fc(0x1a8)]=_0x2c7888['length']*0x4;},'toString':function(_0x205fc4){const _0x3348ed=_0x2697b3;return(_0x205fc4||_0x31ad16)[_0x3348ed(0x2d6)](this);},'concat':function(_0x36f31a){const _0x568442=_0x2697b3;var _0x1fded6=this[_0x568442(0x445)],_0x41e8a1=_0x36f31a['words'],_0x4fd530=this['sigBytes'],_0x5d0308=_0x36f31a['sigBytes'];if(this[_0x568442(0x17d)](),_0x4fd530%0x4)for(var _0x4621a2=0x0;_0x4621a2<_0x5d0308;_0x4621a2++){var _0xf646b6=_0x41e8a1[_0x4621a2>>>0x2]>>>0x18-_0x4621a2%0x4*0x8&0xff;_0x1fded6[_0x4fd530+_0x4621a2>>>0x2]|=_0xf646b6<<0x18-(_0x4fd530+_0x4621a2)%0x4*0x8;}else{for(var _0x267d93=0x0;_0x267d93<_0x5d0308;_0x267d93+=0x4)_0x1fded6[_0x4fd530+_0x267d93>>>0x2]=_0x41e8a1[_0x267d93>>>0x2];}return this[_0x568442(0x1a8)]+=_0x5d0308,this;},'clamp':function(){const _0xd5cda1=_0x2697b3;var _0x4b8fbe=this[_0xd5cda1(0x445)],_0x4fd035=this[_0xd5cda1(0x1a8)];_0x4b8fbe[_0x4fd035>>>0x2]&=0xffffffff<<0x20-_0x4fd035%0x4*0x8,_0x4b8fbe[_0xd5cda1(0x1d0)]=_0x1e0bc3[_0xd5cda1(0x26a)](_0x4fd035/0x4);},'clone':function(){const _0x3a50f5=_0x2697b3;var _0xb8b8a4=_0x12444e[_0x3a50f5(0x3b2)]['call'](this);return _0xb8b8a4[_0x3a50f5(0x445)]=this['words'][_0x3a50f5(0x2bf)](0x0),_0xb8b8a4;},'random':function(_0x4568f5){const _0x152eb0=_0x2697b3;for(var _0x4f511b=[],_0x2f6390=0x0;_0x2f6390<_0x4568f5;_0x2f6390+=0x4)_0x4f511b[_0x152eb0(0xc6)](_0xfc31e2());return new _0x3631a4['init'](_0x4f511b,_0x4568f5);}}),_0x27f9b3=_0xadaf4f['enc']={},_0x31ad16=_0x27f9b3[_0x2697b3(0x289)]={'stringify':function(_0x1d44e9){const _0x5749b6=_0x2697b3;for(var _0x317a21=_0x1d44e9[_0x5749b6(0x445)],_0x1f0aea=_0x1d44e9[_0x5749b6(0x1a8)],_0x2cc28e=[],_0x5b71d6=0x0;_0x5b71d6<_0x1f0aea;_0x5b71d6++){var _0x532de7=_0x317a21[_0x5b71d6>>>0x2]>>>0x18-_0x5b71d6%0x4*0x8&0xff;_0x2cc28e[_0x5749b6(0xc6)]((_0x532de7>>>0x4)[_0x5749b6(0x45a)](0x10)),_0x2cc28e[_0x5749b6(0xc6)]((_0x532de7&0xf)[_0x5749b6(0x45a)](0x10));}return _0x2cc28e[_0x5749b6(0x11b)]('');},'parse':function(_0x52537d){const _0x12f76a=_0x2697b3;for(var _0x8885e2=_0x52537d[_0x12f76a(0x1d0)],_0x15719e=[],_0x44b4c3=0x0;_0x44b4c3<_0x8885e2;_0x44b4c3+=0x2)_0x15719e[_0x44b4c3>>>0x3]|=parseInt(_0x52537d['substr'](_0x44b4c3,0x2),0x10)<<0x18-_0x44b4c3%0x8*0x4;return new _0x3631a4['init'](_0x15719e,_0x8885e2/0x2);}},_0xdadb45=_0x27f9b3[_0x2697b3(0x14c)]={'stringify':function(_0x10b6de){const _0x12da7d=_0x2697b3;for(var _0x209c92=_0x10b6de[_0x12da7d(0x445)],_0x243870=_0x10b6de[_0x12da7d(0x1a8)],_0x205c11=[],_0x3ede3d=0x0;_0x3ede3d<_0x243870;_0x3ede3d++){var _0x2f35a2=_0x209c92[_0x3ede3d>>>0x2]>>>0x18-_0x3ede3d%0x4*0x8&0xff;_0x205c11[_0x12da7d(0xc6)](String[_0x12da7d(0x249)](_0x2f35a2));}return _0x205c11[_0x12da7d(0x11b)]('');},'parse':function(_0x4b548){const _0x2cb046=_0x2697b3;for(var _0x3d71e2=_0x4b548[_0x2cb046(0x1d0)],_0x3a9d19=[],_0x1ec017=0x0;_0x1ec017<_0x3d71e2;_0x1ec017++)_0x3a9d19[_0x1ec017>>>0x2]|=(_0x4b548[_0x2cb046(0x20c)](_0x1ec017)&0xff)<<0x18-_0x1ec017%0x4*0x8;return new _0x3631a4[(_0x2cb046(0x237))](_0x3a9d19,_0x3d71e2);}},_0x34d3bc=_0x27f9b3[_0x2697b3(0x468)]={'stringify':function(_0xab20b6){const _0x1310c9=_0x2697b3;try{return decodeURIComponent(escape(_0xdadb45['stringify'](_0xab20b6)));}catch{throw new Error(_0x1310c9(0x3c6));}},'parse':function(_0x5c0499){return _0xdadb45['parse'](unescape(encodeURIComponent(_0x5c0499)));}},_0x159bec=_0x324e5d[_0x2697b3(0x284)]=_0x12444e[_0x2697b3(0x229)]({'reset':function(){const _0x34c40b=_0x2697b3;this[_0x34c40b(0x39c)]=new _0x3631a4['init'](),this[_0x34c40b(0x3ff)]=0x0;},'_append':function(_0x38360b){const _0x573ae6=_0x2697b3;typeof _0x38360b==_0x573ae6(0x218)&&(_0x38360b=_0x34d3bc[_0x573ae6(0x47f)](_0x38360b)),this[_0x573ae6(0x39c)]['concat'](_0x38360b),this['_nDataBytes']+=_0x38360b[_0x573ae6(0x1a8)];},'_process':function(_0x33f302){const _0xa2f50b=_0x2697b3;var _0x1c0e81,_0x51b4a3=this[_0xa2f50b(0x39c)],_0x274680=_0x51b4a3['words'],_0x5e3ad7=_0x51b4a3[_0xa2f50b(0x1a8)],_0x4cb9ad=this['blockSize'],_0x4a80aa=_0x4cb9ad*0x4,_0x10c66c=_0x5e3ad7/_0x4a80aa;_0x33f302?_0x10c66c=_0x1e0bc3[_0xa2f50b(0x26a)](_0x10c66c):_0x10c66c=_0x1e0bc3[_0xa2f50b(0x319)]((_0x10c66c|0x0)-this[_0xa2f50b(0x1c2)],0x0);var _0xc655ef=_0x10c66c*_0x4cb9ad,_0x51fbb3=_0x1e0bc3['min'](_0xc655ef*0x4,_0x5e3ad7);if(_0xc655ef){for(var _0x2c1983=0x0;_0x2c1983<_0xc655ef;_0x2c1983+=_0x4cb9ad)this[_0xa2f50b(0x28b)](_0x274680,_0x2c1983);_0x1c0e81=_0x274680['splice'](0x0,_0xc655ef),_0x51b4a3[_0xa2f50b(0x1a8)]-=_0x51fbb3;}return new _0x3631a4['init'](_0x1c0e81,_0x51fbb3);},'clone':function(){const _0x1d5445=_0x2697b3;var _0x51cbfc=_0x12444e[_0x1d5445(0x3b2)][_0x1d5445(0x2a1)](this);return _0x51cbfc[_0x1d5445(0x39c)]=this['_data']['clone'](),_0x51cbfc;},'_minBufferSize':0x0});_0x324e5d[_0x2697b3(0x4b0)]=_0x159bec[_0x2697b3(0x229)]({'cfg':_0x12444e[_0x2697b3(0x229)](),'init':function(_0xe58cc5){const _0xd5d07f=_0x2697b3;this[_0xd5d07f(0x146)]=this[_0xd5d07f(0x146)][_0xd5d07f(0x229)](_0xe58cc5),this[_0xd5d07f(0xca)]();},'reset':function(){const _0x30d74c=_0x2697b3;_0x159bec[_0x30d74c(0xca)][_0x30d74c(0x2a1)](this),this['_doReset']();},'update':function(_0x4296ac){const _0x17975b=_0x2697b3;return this[_0x17975b(0x2ed)](_0x4296ac),this[_0x17975b(0x369)](),this;},'finalize':function(_0x19f622){_0x19f622&&this['_append'](_0x19f622);var _0x3ebff7=this['_doFinalize']();return _0x3ebff7;},'blockSize':0x10,'_createHelper':function(_0x2cdee9){return function(_0x11fd2d,_0x562698){const _0x4b5bf8=_0xc944;return new _0x2cdee9[(_0x4b5bf8(0x237))](_0x562698)[_0x4b5bf8(0x363)](_0x11fd2d);};},'_createHmacHelper':function(_0xb31df){return function(_0x21d11a,_0x4ffb07){const _0x48c726=_0xc944;return new _0x13e4b4['HMAC'][(_0x48c726(0x237))](_0xb31df,_0x4ffb07)[_0x48c726(0x363)](_0x21d11a);};}});var _0x13e4b4=_0xadaf4f[_0x2697b3(0x263)]={};return _0xadaf4f;}(Math);return _0x5698b2;}));}(Gt)),Gt[_0x30ba81(0x480)];}var Yt={'exports':{}},si;function qi(){const _0x4fb252=_0x50a7d0;return si||(si=0x1,function(_0x3a97bf,_0x26f764){(function(_0x3cfff9,_0x1f9206){const _0x5ef279=_0xc944;_0x3a97bf[_0x5ef279(0x480)]=_0x1f9206(ue());}(Z,function(_0x2671ef){const _0x45774e=_0xc944;return(function(){const _0x5ae488=_0xc944;var _0x2f1b98=_0x2671ef,_0x51273e=_0x2f1b98['lib'],_0x48073a=_0x51273e['WordArray'],_0x172e16=_0x2f1b98['enc'];_0x172e16['Base64']={'stringify':function(_0x5e580d){const _0x4e9cc5=_0xc944;var _0x5d13ed=_0x5e580d['words'],_0x401674=_0x5e580d[_0x4e9cc5(0x1a8)],_0x156150=this['_map'];_0x5e580d[_0x4e9cc5(0x17d)]();for(var _0x569f5f=[],_0x4b93a5=0x0;_0x4b93a5<_0x401674;_0x4b93a5+=0x3)for(var _0x359f01=_0x5d13ed[_0x4b93a5>>>0x2]>>>0x18-_0x4b93a5%0x4*0x8&0xff,_0x299e13=_0x5d13ed[_0x4b93a5+0x1>>>0x2]>>>0x18-(_0x4b93a5+0x1)%0x4*0x8&0xff,_0x1840e7=_0x5d13ed[_0x4b93a5+0x2>>>0x2]>>>0x18-(_0x4b93a5+0x2)%0x4*0x8&0xff,_0x381b2b=_0x359f01<<0x10|_0x299e13<<0x8|_0x1840e7,_0x4c84d9=0x0;_0x4c84d9<0x4&&_0x4b93a5+_0x4c84d9*0.75<_0x401674;_0x4c84d9++)_0x569f5f[_0x4e9cc5(0xc6)](_0x156150[_0x4e9cc5(0x208)](_0x381b2b>>>0x6*(0x3-_0x4c84d9)&0x3f));var _0x85a6ca=_0x156150['charAt'](0x40);if(_0x85a6ca){for(;_0x569f5f['length']%0x4;)_0x569f5f[_0x4e9cc5(0xc6)](_0x85a6ca);}return _0x569f5f[_0x4e9cc5(0x11b)]('');},'parse':function(_0x42337e){const _0x50d4d1=_0xc944;var _0x3ab55d=_0x42337e['length'],_0x2249a4=this[_0x50d4d1(0x139)],_0x482ac7=this[_0x50d4d1(0x1ff)];if(!_0x482ac7){_0x482ac7=this[_0x50d4d1(0x1ff)]=[];for(var _0xa09c34=0x0;_0xa09c34<_0x2249a4[_0x50d4d1(0x1d0)];_0xa09c34++)_0x482ac7[_0x2249a4['charCodeAt'](_0xa09c34)]=_0xa09c34;}var _0xe378e=_0x2249a4[_0x50d4d1(0x208)](0x40);if(_0xe378e){var _0xac9eb1=_0x42337e[_0x50d4d1(0x299)](_0xe378e);_0xac9eb1!==-0x1&&(_0x3ab55d=_0xac9eb1);}return _0x3f118e(_0x42337e,_0x3ab55d,_0x482ac7);},'_map':_0x5ae488(0x2f2)};function _0x3f118e(_0x310d69,_0x409115,_0x362e9a){const _0x4a15c2=_0x5ae488;for(var _0x2ed958=[],_0x4585f5=0x0,_0x52fe5f=0x0;_0x52fe5f<_0x409115;_0x52fe5f++)if(_0x52fe5f%0x4){var _0x287254=_0x362e9a[_0x310d69[_0x4a15c2(0x20c)](_0x52fe5f-0x1)]<<_0x52fe5f%0x4*0x2,_0x1085a9=_0x362e9a[_0x310d69['charCodeAt'](_0x52fe5f)]>>>0x6-_0x52fe5f%0x4*0x2,_0x303598=_0x287254|_0x1085a9;_0x2ed958[_0x4585f5>>>0x2]|=_0x303598<<0x18-_0x4585f5%0x4*0x8,_0x4585f5++;}return _0x48073a['create'](_0x2ed958,_0x4585f5);}}()),_0x2671ef[_0x45774e(0x429)][_0x45774e(0x1bb)];}));}(Yt)),Yt[_0x4fb252(0x480)];}var Kt={'exports':{}},ii;function ec(){return ii||(ii=0x1,function(_0x3b6e5a,_0x26f1c6){(function(_0x2c7a04,_0x12b011){const _0x1f5238=_0xc944;_0x3b6e5a[_0x1f5238(0x480)]=_0x12b011(ue());}(Z,function(_0x2068fe){const _0x13d792=_0xc944;return function(_0x177345){const _0x25b43f=_0xc944;var _0x376e6f=_0x2068fe,_0x1d24fc=_0x376e6f['lib'],_0x2946c5=_0x1d24fc[_0x25b43f(0x281)],_0x1b1f8d=_0x1d24fc[_0x25b43f(0x4b0)],_0x155436=_0x376e6f[_0x25b43f(0x263)],_0x361ac1=[];(function(){const _0x37be05=_0x25b43f;for(var _0x5e0546=0x0;_0x5e0546<0x40;_0x5e0546++)_0x361ac1[_0x5e0546]=_0x177345[_0x37be05(0x24b)](_0x177345[_0x37be05(0xea)](_0x5e0546+0x1))*0x100000000|0x0;}());var _0x174263=_0x155436['MD5']=_0x1b1f8d[_0x25b43f(0x229)]({'_doReset':function(){const _0x133b06=_0x25b43f;this['_hash']=new _0x2946c5[(_0x133b06(0x237))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1ec91f,_0x4b6db5){const _0xb966f5=_0x25b43f;for(var _0x382f51=0x0;_0x382f51<0x10;_0x382f51++){var _0x565871=_0x4b6db5+_0x382f51,_0x5b856b=_0x1ec91f[_0x565871];_0x1ec91f[_0x565871]=(_0x5b856b<<0x8|_0x5b856b>>>0x18)&0xff00ff|(_0x5b856b<<0x18|_0x5b856b>>>0x8)&0xff00ff00;}var _0x350e8d=this[_0xb966f5(0x372)][_0xb966f5(0x445)],_0x655ef4=_0x1ec91f[_0x4b6db5+0x0],_0x472ef4=_0x1ec91f[_0x4b6db5+0x1],_0x4c5026=_0x1ec91f[_0x4b6db5+0x2],_0x5c5d40=_0x1ec91f[_0x4b6db5+0x3],_0x37a6b1=_0x1ec91f[_0x4b6db5+0x4],_0x19c91d=_0x1ec91f[_0x4b6db5+0x5],_0x23c360=_0x1ec91f[_0x4b6db5+0x6],_0x40e564=_0x1ec91f[_0x4b6db5+0x7],_0x22b01e=_0x1ec91f[_0x4b6db5+0x8],_0x6c186f=_0x1ec91f[_0x4b6db5+0x9],_0xbec02b=_0x1ec91f[_0x4b6db5+0xa],_0x200ab2=_0x1ec91f[_0x4b6db5+0xb],_0x4dcebe=_0x1ec91f[_0x4b6db5+0xc],_0x3bc524=_0x1ec91f[_0x4b6db5+0xd],_0x4320d1=_0x1ec91f[_0x4b6db5+0xe],_0x396e59=_0x1ec91f[_0x4b6db5+0xf],_0x41220b=_0x350e8d[0x0],_0x4661dc=_0x350e8d[0x1],_0x2d3d16=_0x350e8d[0x2],_0x3c1839=_0x350e8d[0x3];_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x655ef4,0x7,_0x361ac1[0x0]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x472ef4,0xc,_0x361ac1[0x1]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4c5026,0x11,_0x361ac1[0x2]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x5c5d40,0x16,_0x361ac1[0x3]),_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x37a6b1,0x7,_0x361ac1[0x4]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x19c91d,0xc,_0x361ac1[0x5]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x23c360,0x11,_0x361ac1[0x6]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x40e564,0x16,_0x361ac1[0x7]),_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x22b01e,0x7,_0x361ac1[0x8]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x6c186f,0xc,_0x361ac1[0x9]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0xbec02b,0x11,_0x361ac1[0xa]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x200ab2,0x16,_0x361ac1[0xb]),_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x4dcebe,0x7,_0x361ac1[0xc]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x3bc524,0xc,_0x361ac1[0xd]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4320d1,0x11,_0x361ac1[0xe]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x396e59,0x16,_0x361ac1[0xf]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x472ef4,0x5,_0x361ac1[0x10]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x23c360,0x9,_0x361ac1[0x11]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x200ab2,0xe,_0x361ac1[0x12]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x655ef4,0x14,_0x361ac1[0x13]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x19c91d,0x5,_0x361ac1[0x14]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0xbec02b,0x9,_0x361ac1[0x15]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x396e59,0xe,_0x361ac1[0x16]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x37a6b1,0x14,_0x361ac1[0x17]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x6c186f,0x5,_0x361ac1[0x18]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x4320d1,0x9,_0x361ac1[0x19]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x5c5d40,0xe,_0x361ac1[0x1a]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x22b01e,0x14,_0x361ac1[0x1b]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x3bc524,0x5,_0x361ac1[0x1c]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x4c5026,0x9,_0x361ac1[0x1d]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x40e564,0xe,_0x361ac1[0x1e]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x4dcebe,0x14,_0x361ac1[0x1f]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x19c91d,0x4,_0x361ac1[0x20]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x22b01e,0xb,_0x361ac1[0x21]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x200ab2,0x10,_0x361ac1[0x22]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x4320d1,0x17,_0x361ac1[0x23]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x472ef4,0x4,_0x361ac1[0x24]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x37a6b1,0xb,_0x361ac1[0x25]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x40e564,0x10,_0x361ac1[0x26]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0xbec02b,0x17,_0x361ac1[0x27]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x3bc524,0x4,_0x361ac1[0x28]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x655ef4,0xb,_0x361ac1[0x29]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x5c5d40,0x10,_0x361ac1[0x2a]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x23c360,0x17,_0x361ac1[0x2b]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x6c186f,0x4,_0x361ac1[0x2c]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x4dcebe,0xb,_0x361ac1[0x2d]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x396e59,0x10,_0x361ac1[0x2e]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x4c5026,0x17,_0x361ac1[0x2f]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x655ef4,0x6,_0x361ac1[0x30]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x40e564,0xa,_0x361ac1[0x31]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4320d1,0xf,_0x361ac1[0x32]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x19c91d,0x15,_0x361ac1[0x33]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x4dcebe,0x6,_0x361ac1[0x34]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x5c5d40,0xa,_0x361ac1[0x35]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0xbec02b,0xf,_0x361ac1[0x36]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x472ef4,0x15,_0x361ac1[0x37]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x22b01e,0x6,_0x361ac1[0x38]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x396e59,0xa,_0x361ac1[0x39]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x23c360,0xf,_0x361ac1[0x3a]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x3bc524,0x15,_0x361ac1[0x3b]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x37a6b1,0x6,_0x361ac1[0x3c]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x200ab2,0xa,_0x361ac1[0x3d]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4c5026,0xf,_0x361ac1[0x3e]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x6c186f,0x15,_0x361ac1[0x3f]),_0x350e8d[0x0]=_0x350e8d[0x0]+_0x41220b|0x0,_0x350e8d[0x1]=_0x350e8d[0x1]+_0x4661dc|0x0,_0x350e8d[0x2]=_0x350e8d[0x2]+_0x2d3d16|0x0,_0x350e8d[0x3]=_0x350e8d[0x3]+_0x3c1839|0x0;},'_doFinalize':function(){const _0x3c0403=_0x25b43f;var _0x897056=this['_data'],_0xd708f3=_0x897056[_0x3c0403(0x445)],_0x20bd57=this[_0x3c0403(0x3ff)]*0x8,_0x1fa521=_0x897056[_0x3c0403(0x1a8)]*0x8;_0xd708f3[_0x1fa521>>>0x5]|=0x80<<0x18-_0x1fa521%0x20;var _0x1ab8cd=_0x177345[_0x3c0403(0x28f)](_0x20bd57/0x100000000),_0x4f8f3=_0x20bd57;_0xd708f3[(_0x1fa521+0x40>>>0x9<<0x4)+0xf]=(_0x1ab8cd<<0x8|_0x1ab8cd>>>0x18)&0xff00ff|(_0x1ab8cd<<0x18|_0x1ab8cd>>>0x8)&0xff00ff00,_0xd708f3[(_0x1fa521+0x40>>>0x9<<0x4)+0xe]=(_0x4f8f3<<0x8|_0x4f8f3>>>0x18)&0xff00ff|(_0x4f8f3<<0x18|_0x4f8f3>>>0x8)&0xff00ff00,_0x897056[_0x3c0403(0x1a8)]=(_0xd708f3[_0x3c0403(0x1d0)]+0x1)*0x4,this[_0x3c0403(0x369)]();for(var _0x583ab9=this[_0x3c0403(0x372)],_0x2df6c8=_0x583ab9[_0x3c0403(0x445)],_0x374ee3=0x0;_0x374ee3<0x4;_0x374ee3++){var _0x39f5a1=_0x2df6c8[_0x374ee3];_0x2df6c8[_0x374ee3]=(_0x39f5a1<<0x8|_0x39f5a1>>>0x18)&0xff00ff|(_0x39f5a1<<0x18|_0x39f5a1>>>0x8)&0xff00ff00;}return _0x583ab9;},'clone':function(){const _0x58ec50=_0x25b43f;var _0xadb911=_0x1b1f8d[_0x58ec50(0x3b2)][_0x58ec50(0x2a1)](this);return _0xadb911[_0x58ec50(0x372)]=this[_0x58ec50(0x372)][_0x58ec50(0x3b2)](),_0xadb911;}});function _0x123240(_0x23b8c4,_0x43d331,_0x3ad984,_0x850360,_0x4365c0,_0x1e3e4e,_0x381268){var _0x2d4be7=_0x23b8c4+(_0x43d331&_0x3ad984|~_0x43d331&_0x850360)+_0x4365c0+_0x381268;return(_0x2d4be7<<_0x1e3e4e|_0x2d4be7>>>0x20-_0x1e3e4e)+_0x43d331;}function _0x387c74(_0xda78f5,_0x539bb4,_0x3a2f42,_0x28c049,_0x2d4b69,_0x5d115d,_0x4a4950){var _0x50fcd1=_0xda78f5+(_0x539bb4&_0x28c049|_0x3a2f42&~_0x28c049)+_0x2d4b69+_0x4a4950;return(_0x50fcd1<<_0x5d115d|_0x50fcd1>>>0x20-_0x5d115d)+_0x539bb4;}function _0x1086ce(_0x2ca9b0,_0x45e05f,_0x4482d8,_0x1b8138,_0xa4b8e1,_0x16514a,_0x45648f){var _0x15b0cd=_0x2ca9b0+(_0x45e05f^_0x4482d8^_0x1b8138)+_0xa4b8e1+_0x45648f;return(_0x15b0cd<<_0x16514a|_0x15b0cd>>>0x20-_0x16514a)+_0x45e05f;}function _0x5d47f5(_0x511c53,_0x3faa4c,_0x3a2bdd,_0x1391ab,_0x5565cd,_0x251fdd,_0x4d629e){var _0x3590ad=_0x511c53+(_0x3a2bdd^(_0x3faa4c|~_0x1391ab))+_0x5565cd+_0x4d629e;return(_0x3590ad<<_0x251fdd|_0x3590ad>>>0x20-_0x251fdd)+_0x3faa4c;}_0x376e6f[_0x25b43f(0x176)]=_0x1b1f8d['_createHelper'](_0x174263),_0x376e6f[_0x25b43f(0x439)]=_0x1b1f8d[_0x25b43f(0x333)](_0x174263);}(Math),_0x2068fe[_0x13d792(0x176)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},qt={'exports':{}},ri;function tc(){const _0x179b4c=_0x50a7d0;return ri||(ri=0x1,function(_0x3eda93,_0x5ebfb5){(function(_0x47f55a,_0x5e3604){const _0x4d01e2=_0xc944;_0x3eda93[_0x4d01e2(0x480)]=_0x5e3604(ue());}(Z,function(_0x499830){const _0x229e00=_0xc944;return(function(){const _0x2d31d9=_0xc944;var _0x5daf17=_0x499830,_0x2d90eb=_0x5daf17[_0x2d31d9(0xde)],_0x1ccc5c=_0x2d90eb['WordArray'],_0x316e77=_0x2d90eb[_0x2d31d9(0x4b0)],_0x92dec2=_0x5daf17['algo'],_0x607f66=[],_0x13bb31=_0x92dec2['SHA1']=_0x316e77[_0x2d31d9(0x229)]({'_doReset':function(){const _0x51054a=_0x2d31d9;this['_hash']=new _0x1ccc5c[(_0x51054a(0x237))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x564a90,_0x1de542){const _0x9486f4=_0x2d31d9;for(var _0x25e9e2=this[_0x9486f4(0x372)][_0x9486f4(0x445)],_0x274881=_0x25e9e2[0x0],_0x5b1256=_0x25e9e2[0x1],_0xbe69ba=_0x25e9e2[0x2],_0x42784e=_0x25e9e2[0x3],_0x2e3ff1=_0x25e9e2[0x4],_0x4b5e7b=0x0;_0x4b5e7b<0x50;_0x4b5e7b++){if(_0x4b5e7b<0x10)_0x607f66[_0x4b5e7b]=_0x564a90[_0x1de542+_0x4b5e7b]|0x0;else{var _0x1da282=_0x607f66[_0x4b5e7b-0x3]^_0x607f66[_0x4b5e7b-0x8]^_0x607f66[_0x4b5e7b-0xe]^_0x607f66[_0x4b5e7b-0x10];_0x607f66[_0x4b5e7b]=_0x1da282<<0x1|_0x1da282>>>0x1f;}var _0x1d76d8=(_0x274881<<0x5|_0x274881>>>0x1b)+_0x2e3ff1+_0x607f66[_0x4b5e7b];_0x4b5e7b<0x14?_0x1d76d8+=(_0x5b1256&_0xbe69ba|~_0x5b1256&_0x42784e)+0x5a827999:_0x4b5e7b<0x28?_0x1d76d8+=(_0x5b1256^_0xbe69ba^_0x42784e)+0x6ed9eba1:_0x4b5e7b<0x3c?_0x1d76d8+=(_0x5b1256&_0xbe69ba|_0x5b1256&_0x42784e|_0xbe69ba&_0x42784e)-0x70e44324:_0x1d76d8+=(_0x5b1256^_0xbe69ba^_0x42784e)-0x359d3e2a,_0x2e3ff1=_0x42784e,_0x42784e=_0xbe69ba,_0xbe69ba=_0x5b1256<<0x1e|_0x5b1256>>>0x2,_0x5b1256=_0x274881,_0x274881=_0x1d76d8;}_0x25e9e2[0x0]=_0x25e9e2[0x0]+_0x274881|0x0,_0x25e9e2[0x1]=_0x25e9e2[0x1]+_0x5b1256|0x0,_0x25e9e2[0x2]=_0x25e9e2[0x2]+_0xbe69ba|0x0,_0x25e9e2[0x3]=_0x25e9e2[0x3]+_0x42784e|0x0,_0x25e9e2[0x4]=_0x25e9e2[0x4]+_0x2e3ff1|0x0;},'_doFinalize':function(){const _0x475d83=_0x2d31d9;var _0x30e666=this[_0x475d83(0x39c)],_0x19bc5b=_0x30e666[_0x475d83(0x445)],_0x3b63c8=this[_0x475d83(0x3ff)]*0x8,_0x2cbd77=_0x30e666[_0x475d83(0x1a8)]*0x8;return _0x19bc5b[_0x2cbd77>>>0x5]|=0x80<<0x18-_0x2cbd77%0x20,_0x19bc5b[(_0x2cbd77+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3b63c8/0x100000000),_0x19bc5b[(_0x2cbd77+0x40>>>0x9<<0x4)+0xf]=_0x3b63c8,_0x30e666[_0x475d83(0x1a8)]=_0x19bc5b[_0x475d83(0x1d0)]*0x4,this[_0x475d83(0x369)](),this[_0x475d83(0x372)];},'clone':function(){const _0x1202f6=_0x2d31d9;var _0x468ce3=_0x316e77[_0x1202f6(0x3b2)]['call'](this);return _0x468ce3[_0x1202f6(0x372)]=this[_0x1202f6(0x372)][_0x1202f6(0x3b2)](),_0x468ce3;}});_0x5daf17[_0x2d31d9(0x1bf)]=_0x316e77['_createHelper'](_0x13bb31),_0x5daf17[_0x2d31d9(0x1a3)]=_0x316e77[_0x2d31d9(0x333)](_0x13bb31);}()),_0x499830[_0x229e00(0x1bf)];}));}(qt)),qt[_0x179b4c(0x480)];}var Xt={'exports':{}},ni;function sc(){const _0x52697a=_0x50a7d0;return ni||(ni=0x1,function(_0x22987c,_0x48341d){(function(_0x20d919,_0x1b87e0){const _0x236ed4=_0xc944;_0x22987c[_0x236ed4(0x480)]=_0x1b87e0(ue());}(Z,function(_0x5c1c18){(function(){const _0x30635a=_0xc944;var _0x44f8ab=_0x5c1c18,_0x1cf644=_0x44f8ab[_0x30635a(0xde)],_0x3306fa=_0x1cf644[_0x30635a(0x111)],_0xe93fea=_0x44f8ab[_0x30635a(0x429)],_0x3d2e67=_0xe93fea[_0x30635a(0x468)],_0x42ccb0=_0x44f8ab[_0x30635a(0x263)];_0x42ccb0[_0x30635a(0x116)]=_0x3306fa[_0x30635a(0x229)]({'init':function(_0x58052e,_0x3f0003){const _0x313601=_0x30635a;_0x58052e=this['_hasher']=new _0x58052e[(_0x313601(0x237))](),typeof _0x3f0003=='string'&&(_0x3f0003=_0x3d2e67[_0x313601(0x47f)](_0x3f0003));var _0x371534=_0x58052e[_0x313601(0x10f)],_0x3312fd=_0x371534*0x4;_0x3f0003[_0x313601(0x1a8)]>_0x3312fd&&(_0x3f0003=_0x58052e[_0x313601(0x363)](_0x3f0003)),_0x3f0003[_0x313601(0x17d)]();for(var _0x2576a6=this['_oKey']=_0x3f0003[_0x313601(0x3b2)](),_0x49994b=this['_iKey']=_0x3f0003[_0x313601(0x3b2)](),_0x6aa149=_0x2576a6['words'],_0x326c7b=_0x49994b[_0x313601(0x445)],_0x168b72=0x0;_0x168b72<_0x371534;_0x168b72++)_0x6aa149[_0x168b72]^=0x5c5c5c5c,_0x326c7b[_0x168b72]^=0x36363636;_0x2576a6[_0x313601(0x1a8)]=_0x49994b[_0x313601(0x1a8)]=_0x3312fd,this['reset']();},'reset':function(){const _0x1b5437=_0x30635a;var _0x30b539=this[_0x1b5437(0x175)];_0x30b539[_0x1b5437(0xca)](),_0x30b539['update'](this[_0x1b5437(0x1f8)]);},'update':function(_0x515c03){const _0x1b9890=_0x30635a;return this[_0x1b9890(0x175)][_0x1b9890(0x137)](_0x515c03),this;},'finalize':function(_0x3a1945){const _0x5d344c=_0x30635a;var _0x1a0806=this[_0x5d344c(0x175)],_0x3227d7=_0x1a0806[_0x5d344c(0x363)](_0x3a1945);_0x1a0806['reset']();var _0x57c57e=_0x1a0806[_0x5d344c(0x363)](this[_0x5d344c(0xe1)]['clone']()[_0x5d344c(0x10e)](_0x3227d7));return _0x57c57e;}});}());}));}(Xt)),Xt[_0x52697a(0x480)];}var oi;function _0xc944(_0x5cdb6b,_0x1d047a){const _0x12838f=_0x1283();return _0xc944=function(_0xc944c9,_0x3db4ed){_0xc944c9=_0xc944c9-0xa9;let _0x1556bc=_0x12838f[_0xc944c9];return _0x1556bc;},_0xc944(_0x5cdb6b,_0x1d047a);}function Xi(){const _0x20d52c=_0x50a7d0;return oi||(oi=0x1,function(_0x5138bd,_0x5a61e9){(function(_0x1ee41b,_0x2dbac4,_0x38a981){const _0x437e14=_0xc944;_0x5138bd[_0x437e14(0x480)]=_0x2dbac4(ue(),tc(),sc());}(Z,function(_0x461d1a){const _0x4d6a55=_0xc944;return(function(){const _0xb8a41f=_0xc944;var _0x452ead=_0x461d1a,_0x4c5f5e=_0x452ead[_0xb8a41f(0xde)],_0x266a1d=_0x4c5f5e[_0xb8a41f(0x111)],_0x179c9d=_0x4c5f5e[_0xb8a41f(0x281)],_0x5b92e4=_0x452ead[_0xb8a41f(0x263)],_0x203d29=_0x5b92e4[_0xb8a41f(0x176)],_0x107074=_0x5b92e4[_0xb8a41f(0x489)]=_0x266a1d[_0xb8a41f(0x229)]({'cfg':_0x266a1d[_0xb8a41f(0x229)]({'keySize':0x80/0x20,'hasher':_0x203d29,'iterations':0x1}),'init':function(_0xdeb99f){const _0x5df228=_0xb8a41f;this['cfg']=this[_0x5df228(0x146)][_0x5df228(0x229)](_0xdeb99f);},'compute':function(_0x4ebdb9,_0x5d6bad){const _0x1c570a=_0xb8a41f;for(var _0x593cce,_0x110f42=this[_0x1c570a(0x146)],_0x3d26f3=_0x110f42['hasher'][_0x1c570a(0x24c)](),_0x53e9d6=_0x179c9d[_0x1c570a(0x24c)](),_0x1ecd9e=_0x53e9d6[_0x1c570a(0x445)],_0x94f39a=_0x110f42[_0x1c570a(0x1d5)],_0x2e5de0=_0x110f42[_0x1c570a(0x17f)];_0x1ecd9e[_0x1c570a(0x1d0)]<_0x94f39a;){_0x593cce&&_0x3d26f3[_0x1c570a(0x137)](_0x593cce),_0x593cce=_0x3d26f3[_0x1c570a(0x137)](_0x4ebdb9)[_0x1c570a(0x363)](_0x5d6bad),_0x3d26f3['reset']();for(var _0xc9bbe4=0x1;_0xc9bbe4<_0x2e5de0;_0xc9bbe4++)_0x593cce=_0x3d26f3[_0x1c570a(0x363)](_0x593cce),_0x3d26f3['reset']();_0x53e9d6['concat'](_0x593cce);}return _0x53e9d6[_0x1c570a(0x1a8)]=_0x94f39a*0x4,_0x53e9d6;}});_0x452ead[_0xb8a41f(0x489)]=function(_0x28c4a8,_0x271e71,_0x4e5b79){const _0xd31311=_0xb8a41f;return _0x107074[_0xd31311(0x24c)](_0x4e5b79)['compute'](_0x28c4a8,_0x271e71);};}()),_0x461d1a[_0x4d6a55(0x489)];}));}(zt)),zt[_0x20d52c(0x480)];}var Jt={'exports':{}},ai;function Ji(){return ai||(ai=0x1,function(_0xaa95e3,_0x444ad5){(function(_0x55b202,_0x14831e,_0x2cb20a){const _0x20fcf6=_0xc944;_0xaa95e3[_0x20fcf6(0x480)]=_0x14831e(ue(),Xi());}(Z,function(_0x1299eb){const _0x156645=_0xc944;_0x1299eb[_0x156645(0xde)][_0x156645(0x339)]||function(_0x15c027){const _0x486992=_0x156645;var _0x1b2f13=_0x1299eb,_0x19f3c6=_0x1b2f13[_0x486992(0xde)],_0x4d7c81=_0x19f3c6[_0x486992(0x111)],_0x387b5f=_0x19f3c6['WordArray'],_0xdea24d=_0x19f3c6[_0x486992(0x284)],_0x3787ce=_0x1b2f13['enc'];_0x3787ce[_0x486992(0x468)];var _0x4431ea=_0x3787ce[_0x486992(0x1bb)],_0x1b8734=_0x1b2f13['algo'],_0x5aed02=_0x1b8734[_0x486992(0x489)],_0xebff5c=_0x19f3c6[_0x486992(0x339)]=_0xdea24d[_0x486992(0x229)]({'cfg':_0x4d7c81['extend'](),'createEncryptor':function(_0x4e8584,_0x2c3ace){const _0x217c16=_0x486992;return this[_0x217c16(0x24c)](this[_0x217c16(0x423)],_0x4e8584,_0x2c3ace);},'createDecryptor':function(_0x308628,_0x457cb1){const _0x16eafc=_0x486992;return this[_0x16eafc(0x24c)](this[_0x16eafc(0x23a)],_0x308628,_0x457cb1);},'init':function(_0x4b667a,_0x474839,_0x43a3fb){const _0x235342=_0x486992;this[_0x235342(0x146)]=this['cfg'][_0x235342(0x229)](_0x43a3fb),this['_xformMode']=_0x4b667a,this['_key']=_0x474839,this[_0x235342(0xca)]();},'reset':function(){const _0x24012b=_0x486992;_0xdea24d[_0x24012b(0xca)][_0x24012b(0x2a1)](this),this[_0x24012b(0x136)]();},'process':function(_0x585a66){const _0x351e0d=_0x486992;return this[_0x351e0d(0x2ed)](_0x585a66),this[_0x351e0d(0x369)]();},'finalize':function(_0x4b1337){const _0x25ba82=_0x486992;_0x4b1337&&this[_0x25ba82(0x2ed)](_0x4b1337);var _0x5c8c63=this[_0x25ba82(0x239)]();return _0x5c8c63;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4ec66e(_0x4e8122){const _0x3d4391=_0xc944;return typeof _0x4e8122==_0x3d4391(0x218)?_0x456286:_0x1de5a6;}return function(_0x100ac1){return{'encrypt':function(_0x23c601,_0x254a28,_0x472fac){const _0x277514=_0xc944;return _0x4ec66e(_0x254a28)[_0x277514(0x31c)](_0x100ac1,_0x23c601,_0x254a28,_0x472fac);},'decrypt':function(_0x1502c3,_0x2353d1,_0xe1e692){const _0x1dfaaa=_0xc944;return _0x4ec66e(_0x2353d1)[_0x1dfaaa(0x279)](_0x100ac1,_0x1502c3,_0x2353d1,_0xe1e692);}};};}())});_0x19f3c6[_0x486992(0x22b)]=_0xebff5c[_0x486992(0x229)]({'_doFinalize':function(){const _0x5b2f76=_0x486992;var _0x48e703=this[_0x5b2f76(0x369)](!0x0);return _0x48e703;},'blockSize':0x1});var _0x1a5710=_0x1b2f13[_0x486992(0xf5)]={},_0x30dda7=_0x19f3c6['BlockCipherMode']=_0x4d7c81['extend']({'createEncryptor':function(_0x3aeaf1,_0xccc46a){const _0x9915a2=_0x486992;return this[_0x9915a2(0x202)][_0x9915a2(0x24c)](_0x3aeaf1,_0xccc46a);},'createDecryptor':function(_0x4ab455,_0x5e370c){const _0x45448e=_0x486992;return this[_0x45448e(0x120)][_0x45448e(0x24c)](_0x4ab455,_0x5e370c);},'init':function(_0x2c66ed,_0x3e7f94){const _0x4430c3=_0x486992;this[_0x4430c3(0x4b5)]=_0x2c66ed,this[_0x4430c3(0x4c0)]=_0x3e7f94;}}),_0x4a6e45=_0x1a5710[_0x486992(0x2fb)]=(function(){const _0x2087be=_0x486992;var _0x3f15a9=_0x30dda7[_0x2087be(0x229)]();_0x3f15a9[_0x2087be(0x202)]=_0x3f15a9[_0x2087be(0x229)]({'processBlock':function(_0x5df569,_0x283975){const _0x3cd14b=_0x2087be;var _0x4c3ec9=this[_0x3cd14b(0x4b5)],_0xb74dc0=_0x4c3ec9[_0x3cd14b(0x10f)];_0x5e97df[_0x3cd14b(0x2a1)](this,_0x5df569,_0x283975,_0xb74dc0),_0x4c3ec9[_0x3cd14b(0x207)](_0x5df569,_0x283975),this[_0x3cd14b(0x2aa)]=_0x5df569[_0x3cd14b(0x2bf)](_0x283975,_0x283975+_0xb74dc0);}}),_0x3f15a9['Decryptor']=_0x3f15a9[_0x2087be(0x229)]({'processBlock':function(_0x547b57,_0x4f1bda){const _0x135073=_0x2087be;var _0x8da143=this['_cipher'],_0x259f37=_0x8da143[_0x135073(0x10f)],_0x2b077d=_0x547b57[_0x135073(0x2bf)](_0x4f1bda,_0x4f1bda+_0x259f37);_0x8da143[_0x135073(0x3fd)](_0x547b57,_0x4f1bda),_0x5e97df['call'](this,_0x547b57,_0x4f1bda,_0x259f37),this[_0x135073(0x2aa)]=_0x2b077d;}});function _0x5e97df(_0x1f73e6,_0x3f502b,_0x2af4b6){const _0xe81238=_0x2087be;var _0x137b0b,_0x4a3fe7=this[_0xe81238(0x4c0)];_0x4a3fe7?(_0x137b0b=_0x4a3fe7,this[_0xe81238(0x4c0)]=_0x15c027):_0x137b0b=this['_prevBlock'];for(var _0x3c42fa=0x0;_0x3c42fa<_0x2af4b6;_0x3c42fa++)_0x1f73e6[_0x3f502b+_0x3c42fa]^=_0x137b0b[_0x3c42fa];}return _0x3f15a9;}()),_0x4ee198=_0x1b2f13[_0x486992(0x21e)]={},_0x3e14fe=_0x4ee198[_0x486992(0x12c)]={'pad':function(_0x1f2acb,_0x582833){const _0x517fe2=_0x486992;for(var _0x7db2cf=_0x582833*0x4,_0x245cb4=_0x7db2cf-_0x1f2acb[_0x517fe2(0x1a8)]%_0x7db2cf,_0x7cb303=_0x245cb4<<0x18|_0x245cb4<<0x10|_0x245cb4<<0x8|_0x245cb4,_0x220bcf=[],_0x1a703d=0x0;_0x1a703d<_0x245cb4;_0x1a703d+=0x4)_0x220bcf['push'](_0x7cb303);var _0x46ce9b=_0x387b5f['create'](_0x220bcf,_0x245cb4);_0x1f2acb[_0x517fe2(0x10e)](_0x46ce9b);},'unpad':function(_0x41df51){const _0xd67c83=_0x486992;var _0x33dce8=_0x41df51[_0xd67c83(0x445)][_0x41df51[_0xd67c83(0x1a8)]-0x1>>>0x2]&0xff;_0x41df51[_0xd67c83(0x1a8)]-=_0x33dce8;}};_0x19f3c6[_0x486992(0x2cf)]=_0xebff5c[_0x486992(0x229)]({'cfg':_0xebff5c[_0x486992(0x146)]['extend']({'mode':_0x4a6e45,'padding':_0x3e14fe}),'reset':function(){const _0x146fa4=_0x486992;var _0x302809;_0xebff5c['reset']['call'](this);var _0x3fa89b=this[_0x146fa4(0x146)],_0x326060=_0x3fa89b['iv'],_0x393b61=_0x3fa89b['mode'];this[_0x146fa4(0x405)]==this[_0x146fa4(0x423)]?_0x302809=_0x393b61[_0x146fa4(0x153)]:(_0x302809=_0x393b61[_0x146fa4(0x22d)],this[_0x146fa4(0x1c2)]=0x1),this[_0x146fa4(0x25e)]&&this['_mode'][_0x146fa4(0x3f7)]==_0x302809?this[_0x146fa4(0x25e)][_0x146fa4(0x237)](this,_0x326060&&_0x326060[_0x146fa4(0x445)]):(this['_mode']=_0x302809[_0x146fa4(0x2a1)](_0x393b61,this,_0x326060&&_0x326060[_0x146fa4(0x445)]),this[_0x146fa4(0x25e)][_0x146fa4(0x3f7)]=_0x302809);},'_doProcessBlock':function(_0x1aaec2,_0x284a02){const _0x270879=_0x486992;this[_0x270879(0x25e)][_0x270879(0x485)](_0x1aaec2,_0x284a02);},'_doFinalize':function(){const _0x3c70ed=_0x486992;var _0x759ee,_0xa7ae0d=this[_0x3c70ed(0x146)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0xa7ae0d[_0x3c70ed(0x21e)](this[_0x3c70ed(0x39c)],this[_0x3c70ed(0x10f)]),_0x759ee=this[_0x3c70ed(0x369)](!0x0)):(_0x759ee=this[_0x3c70ed(0x369)](!0x0),_0xa7ae0d[_0x3c70ed(0x194)](_0x759ee)),_0x759ee;},'blockSize':0x80/0x20});var _0x1158c2=_0x19f3c6[_0x486992(0x3a5)]=_0x4d7c81[_0x486992(0x229)]({'init':function(_0x5be310){const _0xe4261c=_0x486992;this[_0xe4261c(0x3e7)](_0x5be310);},'toString':function(_0x21af49){const _0x53730b=_0x486992;return(_0x21af49||this[_0x53730b(0x404)])['stringify'](this);}}),_0x557a06=_0x1b2f13[_0x486992(0xd2)]={},_0x14d4e1=_0x557a06['OpenSSL']={'stringify':function(_0x56b5d7){const _0x414134=_0x486992;var _0x1ab6d2,_0x32f37a=_0x56b5d7[_0x414134(0x183)],_0x277988=_0x56b5d7[_0x414134(0x32c)];return _0x277988?_0x1ab6d2=_0x387b5f['create']([0x53616c74,0x65645f5f])[_0x414134(0x10e)](_0x277988)['concat'](_0x32f37a):_0x1ab6d2=_0x32f37a,_0x1ab6d2[_0x414134(0x45a)](_0x4431ea);},'parse':function(_0xf5a408){const _0x11f30a=_0x486992;var _0x42a085,_0xd5f525=_0x4431ea['parse'](_0xf5a408),_0x2cb2a7=_0xd5f525[_0x11f30a(0x445)];return _0x2cb2a7[0x0]==0x53616c74&&_0x2cb2a7[0x1]==0x65645f5f&&(_0x42a085=_0x387b5f[_0x11f30a(0x24c)](_0x2cb2a7['slice'](0x2,0x4)),_0x2cb2a7[_0x11f30a(0xe3)](0x0,0x4),_0xd5f525[_0x11f30a(0x1a8)]-=0x10),_0x1158c2[_0x11f30a(0x24c)]({'ciphertext':_0xd5f525,'salt':_0x42a085});}},_0x1de5a6=_0x19f3c6['SerializableCipher']=_0x4d7c81[_0x486992(0x229)]({'cfg':_0x4d7c81[_0x486992(0x229)]({'format':_0x14d4e1}),'encrypt':function(_0x457745,_0x3f1e64,_0x26ebe6,_0x542c88){const _0x1fa0bc=_0x486992;_0x542c88=this[_0x1fa0bc(0x146)]['extend'](_0x542c88);var _0x2bd283=_0x457745[_0x1fa0bc(0x153)](_0x26ebe6,_0x542c88),_0x5f03f7=_0x2bd283['finalize'](_0x3f1e64),_0x30d988=_0x2bd283[_0x1fa0bc(0x146)];return _0x1158c2[_0x1fa0bc(0x24c)]({'ciphertext':_0x5f03f7,'key':_0x26ebe6,'iv':_0x30d988['iv'],'algorithm':_0x457745,'mode':_0x30d988[_0x1fa0bc(0xf5)],'padding':_0x30d988[_0x1fa0bc(0x308)],'blockSize':_0x457745[_0x1fa0bc(0x10f)],'formatter':_0x542c88[_0x1fa0bc(0xd2)]});},'decrypt':function(_0x5cf78f,_0x4bad6a,_0xd210a5,_0x3e5906){const _0xdc5019=_0x486992;_0x3e5906=this[_0xdc5019(0x146)]['extend'](_0x3e5906),_0x4bad6a=this[_0xdc5019(0x150)](_0x4bad6a,_0x3e5906[_0xdc5019(0xd2)]);var _0x4512c4=_0x5cf78f['createDecryptor'](_0xd210a5,_0x3e5906)[_0xdc5019(0x363)](_0x4bad6a['ciphertext']);return _0x4512c4;},'_parse':function(_0x3b4eab,_0x3b949d){return typeof _0x3b4eab=='string'?_0x3b949d['parse'](_0x3b4eab,this):_0x3b4eab;}}),_0x3089ee=_0x1b2f13['kdf']={},_0x3ba1a9=_0x3089ee[_0x486992(0x19c)]={'execute':function(_0x6d51df,_0x91b2aa,_0x245e4b,_0x404f0b,_0x28f9c7){const _0x5a60a4=_0x486992;if(_0x404f0b||(_0x404f0b=_0x387b5f['random'](0x40/0x8)),_0x28f9c7)var _0x3aefd2=_0x5aed02['create']({'keySize':_0x91b2aa+_0x245e4b,'hasher':_0x28f9c7})[_0x5a60a4(0x138)](_0x6d51df,_0x404f0b);else var _0x3aefd2=_0x5aed02['create']({'keySize':_0x91b2aa+_0x245e4b})[_0x5a60a4(0x138)](_0x6d51df,_0x404f0b);var _0x42ad99=_0x387b5f['create'](_0x3aefd2['words'][_0x5a60a4(0x2bf)](_0x91b2aa),_0x245e4b*0x4);return _0x3aefd2[_0x5a60a4(0x1a8)]=_0x91b2aa*0x4,_0x1158c2[_0x5a60a4(0x24c)]({'key':_0x3aefd2,'iv':_0x42ad99,'salt':_0x404f0b});}},_0x456286=_0x19f3c6[_0x486992(0x3db)]=_0x1de5a6['extend']({'cfg':_0x1de5a6[_0x486992(0x146)][_0x486992(0x229)]({'kdf':_0x3ba1a9}),'encrypt':function(_0x402d85,_0x2d2673,_0x1e546f,_0x39c266){const _0x28501d=_0x486992;_0x39c266=this[_0x28501d(0x146)]['extend'](_0x39c266);var _0x2f8505=_0x39c266['kdf'][_0x28501d(0x4a9)](_0x1e546f,_0x402d85[_0x28501d(0x1d5)],_0x402d85[_0x28501d(0x472)],_0x39c266[_0x28501d(0x32c)],_0x39c266[_0x28501d(0x458)]);_0x39c266['iv']=_0x2f8505['iv'];var _0x481887=_0x1de5a6[_0x28501d(0x31c)]['call'](this,_0x402d85,_0x2d2673,_0x2f8505[_0x28501d(0x31f)],_0x39c266);return _0x481887[_0x28501d(0x3e7)](_0x2f8505),_0x481887;},'decrypt':function(_0x403a57,_0x2dedef,_0x5e1782,_0x247f0e){const _0x426dff=_0x486992;_0x247f0e=this[_0x426dff(0x146)][_0x426dff(0x229)](_0x247f0e),_0x2dedef=this[_0x426dff(0x150)](_0x2dedef,_0x247f0e['format']);var _0x280488=_0x247f0e['kdf']['execute'](_0x5e1782,_0x403a57[_0x426dff(0x1d5)],_0x403a57[_0x426dff(0x472)],_0x2dedef[_0x426dff(0x32c)],_0x247f0e[_0x426dff(0x458)]);_0x247f0e['iv']=_0x280488['iv'];var _0x2e30bc=_0x1de5a6[_0x426dff(0x279)]['call'](this,_0x403a57,_0x2dedef,_0x280488[_0x426dff(0x31f)],_0x247f0e);return _0x2e30bc;}});}();}));}(Jt)),Jt['exports'];}(function(_0x4a5aad,_0x219c5b){(function(_0x15e51e,_0xe29774,_0x4a44dc){const _0x29f55a=_0xc944;_0x4a5aad[_0x29f55a(0x480)]=_0xe29774(ue(),qi(),ec(),Xi(),Ji());}(Z,function(_0x1eec4d){const _0x11cf1c=_0xc944;return(function(){const _0x604d7b=_0xc944;var _0x53d13c=_0x1eec4d,_0xb38d15=_0x53d13c[_0x604d7b(0xde)],_0xdd3a63=_0xb38d15[_0x604d7b(0x2cf)],_0x4e578a=_0x53d13c[_0x604d7b(0x263)],_0x2e5438=[],_0x2d44bb=[],_0x5727a9=[],_0x42df13=[],_0x731e0=[],_0x48a60f=[],_0xbe057a=[],_0x5e238e=[],_0x2512ff=[],_0x4cd99a=[];(function(){for(var _0x45c0bc=[],_0x264c47=0x0;_0x264c47<0x100;_0x264c47++)_0x264c47<0x80?_0x45c0bc[_0x264c47]=_0x264c47<<0x1:_0x45c0bc[_0x264c47]=_0x264c47<<0x1^0x11b;for(var _0x4860d8=0x0,_0x2344f7=0x0,_0x264c47=0x0;_0x264c47<0x100;_0x264c47++){var _0x575aff=_0x2344f7^_0x2344f7<<0x1^_0x2344f7<<0x2^_0x2344f7<<0x3^_0x2344f7<<0x4;_0x575aff=_0x575aff>>>0x8^_0x575aff&0xff^0x63,_0x2e5438[_0x4860d8]=_0x575aff,_0x2d44bb[_0x575aff]=_0x4860d8;var _0xb4954b=_0x45c0bc[_0x4860d8],_0x3c4b1f=_0x45c0bc[_0xb4954b],_0x4c564e=_0x45c0bc[_0x3c4b1f],_0x3e2a67=_0x45c0bc[_0x575aff]*0x101^_0x575aff*0x1010100;_0x5727a9[_0x4860d8]=_0x3e2a67<<0x18|_0x3e2a67>>>0x8,_0x42df13[_0x4860d8]=_0x3e2a67<<0x10|_0x3e2a67>>>0x10,_0x731e0[_0x4860d8]=_0x3e2a67<<0x8|_0x3e2a67>>>0x18,_0x48a60f[_0x4860d8]=_0x3e2a67;var _0x3e2a67=_0x4c564e*0x1010101^_0x3c4b1f*0x10001^_0xb4954b*0x101^_0x4860d8*0x1010100;_0xbe057a[_0x575aff]=_0x3e2a67<<0x18|_0x3e2a67>>>0x8,_0x5e238e[_0x575aff]=_0x3e2a67<<0x10|_0x3e2a67>>>0x10,_0x2512ff[_0x575aff]=_0x3e2a67<<0x8|_0x3e2a67>>>0x18,_0x4cd99a[_0x575aff]=_0x3e2a67,_0x4860d8?(_0x4860d8=_0xb4954b^_0x45c0bc[_0x45c0bc[_0x45c0bc[_0x4c564e^_0xb4954b]]],_0x2344f7^=_0x45c0bc[_0x45c0bc[_0x2344f7]]):_0x4860d8=_0x2344f7=0x1;}}());var _0x58fa76=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xa660cc=_0x4e578a[_0x604d7b(0x3ec)]=_0xdd3a63[_0x604d7b(0x229)]({'_doReset':function(){const _0x1d5901=_0x604d7b;var _0xb95b80;if(!(this[_0x1d5901(0xad)]&&this[_0x1d5901(0x19a)]===this[_0x1d5901(0x2b7)])){for(var _0x328e67=this[_0x1d5901(0x19a)]=this[_0x1d5901(0x2b7)],_0x1f2545=_0x328e67[_0x1d5901(0x445)],_0x482e4b=_0x328e67[_0x1d5901(0x1a8)]/0x4,_0x2a19e7=this[_0x1d5901(0xad)]=_0x482e4b+0x6,_0x2c6853=(_0x2a19e7+0x1)*0x4,_0x3aaac6=this[_0x1d5901(0x39b)]=[],_0x4a6813=0x0;_0x4a6813<_0x2c6853;_0x4a6813++)_0x4a6813<_0x482e4b?_0x3aaac6[_0x4a6813]=_0x1f2545[_0x4a6813]:(_0xb95b80=_0x3aaac6[_0x4a6813-0x1],_0x4a6813%_0x482e4b?_0x482e4b>0x6&&_0x4a6813%_0x482e4b==0x4&&(_0xb95b80=_0x2e5438[_0xb95b80>>>0x18]<<0x18|_0x2e5438[_0xb95b80>>>0x10&0xff]<<0x10|_0x2e5438[_0xb95b80>>>0x8&0xff]<<0x8|_0x2e5438[_0xb95b80&0xff]):(_0xb95b80=_0xb95b80<<0x8|_0xb95b80>>>0x18,_0xb95b80=_0x2e5438[_0xb95b80>>>0x18]<<0x18|_0x2e5438[_0xb95b80>>>0x10&0xff]<<0x10|_0x2e5438[_0xb95b80>>>0x8&0xff]<<0x8|_0x2e5438[_0xb95b80&0xff],_0xb95b80^=_0x58fa76[_0x4a6813/_0x482e4b|0x0]<<0x18),_0x3aaac6[_0x4a6813]=_0x3aaac6[_0x4a6813-_0x482e4b]^_0xb95b80);for(var _0x514594=this[_0x1d5901(0x17b)]=[],_0x32b96f=0x0;_0x32b96f<_0x2c6853;_0x32b96f++){var _0x4a6813=_0x2c6853-_0x32b96f;if(_0x32b96f%0x4)var _0xb95b80=_0x3aaac6[_0x4a6813];else var _0xb95b80=_0x3aaac6[_0x4a6813-0x4];_0x32b96f<0x4||_0x4a6813<=0x4?_0x514594[_0x32b96f]=_0xb95b80:_0x514594[_0x32b96f]=_0xbe057a[_0x2e5438[_0xb95b80>>>0x18]]^_0x5e238e[_0x2e5438[_0xb95b80>>>0x10&0xff]]^_0x2512ff[_0x2e5438[_0xb95b80>>>0x8&0xff]]^_0x4cd99a[_0x2e5438[_0xb95b80&0xff]];}}},'encryptBlock':function(_0xb9c13f,_0x4258aa){const _0x4b09b9=_0x604d7b;this[_0x4b09b9(0xd6)](_0xb9c13f,_0x4258aa,this[_0x4b09b9(0x39b)],_0x5727a9,_0x42df13,_0x731e0,_0x48a60f,_0x2e5438);},'decryptBlock':function(_0x283c1a,_0x42e45c){const _0x1a0054=_0x604d7b;var _0x846566=_0x283c1a[_0x42e45c+0x1];_0x283c1a[_0x42e45c+0x1]=_0x283c1a[_0x42e45c+0x3],_0x283c1a[_0x42e45c+0x3]=_0x846566,this[_0x1a0054(0xd6)](_0x283c1a,_0x42e45c,this['_invKeySchedule'],_0xbe057a,_0x5e238e,_0x2512ff,_0x4cd99a,_0x2d44bb);var _0x846566=_0x283c1a[_0x42e45c+0x1];_0x283c1a[_0x42e45c+0x1]=_0x283c1a[_0x42e45c+0x3],_0x283c1a[_0x42e45c+0x3]=_0x846566;},'_doCryptBlock':function(_0x2b3092,_0x10f4ad,_0x58df07,_0x4935ac,_0x226363,_0x1c21fa,_0x3fceab,_0x5d7601){for(var _0x5918c1=this['_nRounds'],_0x50206d=_0x2b3092[_0x10f4ad]^_0x58df07[0x0],_0x15e1a7=_0x2b3092[_0x10f4ad+0x1]^_0x58df07[0x1],_0x38e8f0=_0x2b3092[_0x10f4ad+0x2]^_0x58df07[0x2],_0x2e43d6=_0x2b3092[_0x10f4ad+0x3]^_0x58df07[0x3],_0x392cfb=0x4,_0x40d131=0x1;_0x40d131<_0x5918c1;_0x40d131++){var _0x1c7aae=_0x4935ac[_0x50206d>>>0x18]^_0x226363[_0x15e1a7>>>0x10&0xff]^_0x1c21fa[_0x38e8f0>>>0x8&0xff]^_0x3fceab[_0x2e43d6&0xff]^_0x58df07[_0x392cfb++],_0x154602=_0x4935ac[_0x15e1a7>>>0x18]^_0x226363[_0x38e8f0>>>0x10&0xff]^_0x1c21fa[_0x2e43d6>>>0x8&0xff]^_0x3fceab[_0x50206d&0xff]^_0x58df07[_0x392cfb++],_0x140b9d=_0x4935ac[_0x38e8f0>>>0x18]^_0x226363[_0x2e43d6>>>0x10&0xff]^_0x1c21fa[_0x50206d>>>0x8&0xff]^_0x3fceab[_0x15e1a7&0xff]^_0x58df07[_0x392cfb++],_0x222dd0=_0x4935ac[_0x2e43d6>>>0x18]^_0x226363[_0x50206d>>>0x10&0xff]^_0x1c21fa[_0x15e1a7>>>0x8&0xff]^_0x3fceab[_0x38e8f0&0xff]^_0x58df07[_0x392cfb++];_0x50206d=_0x1c7aae,_0x15e1a7=_0x154602,_0x38e8f0=_0x140b9d,_0x2e43d6=_0x222dd0;}var _0x1c7aae=(_0x5d7601[_0x50206d>>>0x18]<<0x18|_0x5d7601[_0x15e1a7>>>0x10&0xff]<<0x10|_0x5d7601[_0x38e8f0>>>0x8&0xff]<<0x8|_0x5d7601[_0x2e43d6&0xff])^_0x58df07[_0x392cfb++],_0x154602=(_0x5d7601[_0x15e1a7>>>0x18]<<0x18|_0x5d7601[_0x38e8f0>>>0x10&0xff]<<0x10|_0x5d7601[_0x2e43d6>>>0x8&0xff]<<0x8|_0x5d7601[_0x50206d&0xff])^_0x58df07[_0x392cfb++],_0x140b9d=(_0x5d7601[_0x38e8f0>>>0x18]<<0x18|_0x5d7601[_0x2e43d6>>>0x10&0xff]<<0x10|_0x5d7601[_0x50206d>>>0x8&0xff]<<0x8|_0x5d7601[_0x15e1a7&0xff])^_0x58df07[_0x392cfb++],_0x222dd0=(_0x5d7601[_0x2e43d6>>>0x18]<<0x18|_0x5d7601[_0x50206d>>>0x10&0xff]<<0x10|_0x5d7601[_0x15e1a7>>>0x8&0xff]<<0x8|_0x5d7601[_0x38e8f0&0xff])^_0x58df07[_0x392cfb++];_0x2b3092[_0x10f4ad]=_0x1c7aae,_0x2b3092[_0x10f4ad+0x1]=_0x154602,_0x2b3092[_0x10f4ad+0x2]=_0x140b9d,_0x2b3092[_0x10f4ad+0x3]=_0x222dd0;},'keySize':0x100/0x20});_0x53d13c['AES']=_0xdd3a63['_createHelper'](_0xa660cc);}()),_0x1eec4d[_0x11cf1c(0x3ec)];}));}(zi));var ic=zi[_0x50a7d0(0x480)];const rc=at(ic);var nc=qi();const ci=at(nc);var Zi={'exports':{}};(function(_0xe39910,_0x95a916){(function(_0x4b6d95,_0x4998c4){const _0x36da08=_0xc944;_0xe39910[_0x36da08(0x480)]=_0x4998c4(ue());}(Z,function(_0x5f1695){const _0x69aede=_0xc944;return _0x5f1695[_0x69aede(0x429)][_0x69aede(0x468)];}));}(Zi));var oc=Zi[_0x50a7d0(0x480)];const ac=at(oc);var Qi={'exports':{}};(function(_0x252527,_0x147f87){(function(_0x1176d5,_0x550135){const _0x56f8c1=_0xc944;_0x252527[_0x56f8c1(0x480)]=_0x550135(ue());}(Z,function(_0xc9903c){const _0x36dcc8=_0xc944;return(function(){const _0x5ed382=_0xc944;if(typeof ArrayBuffer==_0x5ed382(0x36c)){var _0x44f071=_0xc9903c,_0x35bf71=_0x44f071['lib'],_0x4cf2d2=_0x35bf71['WordArray'],_0x3440fa=_0x4cf2d2[_0x5ed382(0x237)],_0x51eedc=_0x4cf2d2[_0x5ed382(0x237)]=function(_0x2830a0){const _0x3a79b0=_0x5ed382;if(_0x2830a0 instanceof ArrayBuffer&&(_0x2830a0=new Uint8Array(_0x2830a0)),(_0x2830a0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2830a0 instanceof Uint8ClampedArray||_0x2830a0 instanceof Int16Array||_0x2830a0 instanceof Uint16Array||_0x2830a0 instanceof Int32Array||_0x2830a0 instanceof Uint32Array||_0x2830a0 instanceof Float32Array||_0x2830a0 instanceof Float64Array)&&(_0x2830a0=new Uint8Array(_0x2830a0[_0x3a79b0(0x1fa)],_0x2830a0[_0x3a79b0(0x359)],_0x2830a0[_0x3a79b0(0x3a6)])),_0x2830a0 instanceof Uint8Array){for(var _0x4f8341=_0x2830a0[_0x3a79b0(0x3a6)],_0x14ea20=[],_0xf9885=0x0;_0xf9885<_0x4f8341;_0xf9885++)_0x14ea20[_0xf9885>>>0x2]|=_0x2830a0[_0xf9885]<<0x18-_0xf9885%0x4*0x8;_0x3440fa[_0x3a79b0(0x2a1)](this,_0x14ea20,_0x4f8341);}else _0x3440fa[_0x3a79b0(0x335)](this,arguments);};_0x51eedc[_0x5ed382(0x155)]=_0x4cf2d2;}}()),_0xc9903c[_0x36dcc8(0xde)]['WordArray'];}));}(Qi));var cc=Qi[_0x50a7d0(0x480)];const hc=at(cc);var er={'exports':{}};(function(_0x4edeec,_0x50f1ae){(function(_0x1264d8,_0xcf8a05,_0x3f8cb7){const _0x2b411a=_0xc944;_0x4edeec[_0x2b411a(0x480)]=_0xcf8a05(ue(),Ji());}(Z,function(_0x5d0a26){const _0x211281=_0xc944;return _0x5d0a26[_0x211281(0x21e)][_0x211281(0x371)]={'pad':function(){},'unpad':function(){}},_0x5d0a26[_0x211281(0x21e)][_0x211281(0x371)];}));}(er));var lc=er[_0x50a7d0(0x480)];const _c=at(lc);function uc(_0x106420,_0x2e3b03){const _0x21fd13=_0x50a7d0,_0x4774c8=_0x2e3b03-_0x106420[_0x21fd13(0x1d0)]%_0x2e3b03,_0x578279=String['fromCharCode'](_0x4774c8)[_0x21fd13(0x37f)](_0x4774c8);return _0x106420+_0x578279;}function dc(_0x263555,_0x5d1b1c){const _0x50e15d=_0x50a7d0,_0x10a786=hc[_0x50e15d(0x220)](0x10),_0x1191bc=uc(_0x263555,0x10),_0x375f36=rc[_0x50e15d(0x31c)](ac[_0x50e15d(0x47f)](_0x1191bc),ci['parse'](_0x5d1b1c),{'iv':_0x10a786,'padding':_c});return _0x10a786['concat'](_0x375f36[_0x50e15d(0x183)])[_0x50e15d(0x45a)](ci);}function fc(){const _0xfe9c5d=_0x50a7d0,_0x4f964e=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xfe9c5d(0x34b)];if(_0x4f964e){const _0x122c48={'time':Math[_0xfe9c5d(0x28f)](Date[_0xfe9c5d(0x15a)]()/0x3e8),'domain':location[_0xfe9c5d(0x13a)]};return dc(JSON[_0xfe9c5d(0x2d6)](_0x122c48),_0x4f964e);}}var vc=Object[_0x50a7d0(0x15c)],mc=Object[_0x50a7d0(0x18b)],pc=(_0xa398ed,_0x5cb77f,_0x464590,_0x153352)=>{const _0x20e1a2=_0x50a7d0;for(var _0x1acb38=_0x153352>0x1?void 0x0:_0x153352?mc(_0x5cb77f,_0x464590):_0x5cb77f,_0x11bbbd=_0xa398ed[_0x20e1a2(0x1d0)]-0x1,_0x26be38;_0x11bbbd>=0x0;_0x11bbbd--)(_0x26be38=_0xa398ed[_0x11bbbd])&&(_0x1acb38=(_0x153352?_0x26be38(_0x5cb77f,_0x464590,_0x1acb38):_0x26be38(_0x1acb38))||_0x1acb38);return _0x153352&&_0x1acb38&&vc(_0x5cb77f,_0x464590,_0x1acb38),_0x1acb38;},gc=(_0x2b1dc8,_0x1f8f8a)=>(_0x70eaf1,_0x1e7ba8)=>_0x1f8f8a(_0x70eaf1,_0x1e7ba8,_0x2b1dc8);let Rt=class{constructor(_0x284d0a){const _0x5682e7=_0x50a7d0;this[_0x5682e7(0x38a)]=_0x284d0a,this[_0x5682e7(0x1f3)]();}[_0x50a7d0(0x1f3)](){const _0x554f8f=_0x50a7d0;this['_httpService'][_0x554f8f(0x434)]({'interceptor':(_0x2fb707,_0x51042c)=>{const _0x2b7f0d=_0x554f8f,_0x2e1f91=_0x2fb707[_0x2b7f0d(0x3de)],_0x2c3ac6=fc();return _0x2c3ac6&&_0x2e1f91[_0x2b7f0d(0x2ce)]('x-univer-host',_0x2c3ac6),_0x51042c(_0x2fb707);}});}};Rt=pc([gc(0x0,_0x33026a(_0x278722))],Rt);var Sc=Object[_0x50a7d0(0x15c)],Ic=Object[_0x50a7d0(0x18b)],Cc=(_0x124d16,_0x565b2b,_0x59dcfc,_0x382892)=>{const _0x29b592=_0x50a7d0;for(var _0x5387f8=_0x382892>0x1?void 0x0:_0x382892?Ic(_0x565b2b,_0x59dcfc):_0x565b2b,_0xf44418=_0x124d16[_0x29b592(0x1d0)]-0x1,_0x375c33;_0xf44418>=0x0;_0xf44418--)(_0x375c33=_0x124d16[_0xf44418])&&(_0x5387f8=(_0x382892?_0x375c33(_0x565b2b,_0x59dcfc,_0x5387f8):_0x375c33(_0x5387f8))||_0x5387f8);return _0x382892&&_0x5387f8&&Sc(_0x565b2b,_0x59dcfc,_0x5387f8),_0x5387f8;},Zt=(_0x548b45,_0x32ad1d)=>(_0x121149,_0x49f055)=>_0x32ad1d(_0x121149,_0x49f055,_0x548b45);const Ec=[_0x50a7d0(0x16b),_0x50a7d0(0x2ae),'image/jpg','image/gif','image/bmp'],bc=0x5*0x400*0x400,Tc=_0x50a7d0(0x297),Rc=_0x50a7d0(0x4a1),Oc=_0x50a7d0(0x19e),yc=_0x50a7d0(0x350);let _s=class{constructor(_0x53f0c7,_0x92e20b,_0x10fe6b){const _0x24c98f=_0x50a7d0;g(this,_0x24c98f(0x309),0x0),g(this,_0x24c98f(0x1be),new _0x5b148b()),g(this,_0x24c98f(0x1d6),this['_change$']),g(this,'_imageSourceCache',new Map()),(this[_0x24c98f(0x38a)]=_0x53f0c7,this[_0x24c98f(0x3bb)]=_0x92e20b,this[_0x24c98f(0x283)]=_0x10fe6b);}[_0x50a7d0(0x3b9)](_0x1acc92){const _0x9edf04=_0x50a7d0;this[_0x9edf04(0x309)]=_0x1acc92,this[_0x9edf04(0x1be)][_0x9edf04(0x492)](_0x1acc92);}[_0x50a7d0(0x4a0)](_0x3f0b9f,_0x10bd91){const _0x31c40e=_0x50a7d0;if(_0x10bd91===_0x253162[_0x31c40e(0x1fe)]){const _0x264193=new Image();return _0x264193[_0x31c40e(0x1e2)]=_0x3f0b9f,_0x264193;}return this[_0x31c40e(0x201)][_0x31c40e(0x373)](_0x3f0b9f);}[_0x50a7d0(0x1db)](_0xc07f4d,_0x45360d,_0x5ba696){const _0x42c18f=_0x50a7d0;_0x45360d===_0x253162[_0x42c18f(0x1fe)]||_0x5ba696==null||this[_0x42c18f(0x201)][_0x42c18f(0x2ce)](_0xc07f4d,_0x5ba696);}async['getImage'](_0x449ace){const _0x196b9c=_0x50a7d0;try{const _0x429a60=this[_0x196b9c(0x1b0)](this[_0x196b9c(0x416)](),''+_0x449ace),_0x36cfd6=(await this[_0x196b9c(0x38a)]['get'](_0x429a60))[_0x196b9c(0x48c)];if(_0x36cfd6[_0x196b9c(0x3a2)]&&_0x36cfd6['error'][_0x196b9c(0x48a)]===Ui['OK']){const _0x48c75c=new URL(_0x36cfd6[_0x196b9c(0x40b)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x196b9c(0x101)](_0x48c75c);}return Promise[_0x196b9c(0x440)](_0x36cfd6[_0x196b9c(0x3a2)]);}catch(_0x3d343c){return Promise['reject'](_0x3d343c);}}async[_0x50a7d0(0x4b7)](_0x3606db){const _0x4325c5=_0x50a7d0;let _0x4d4073='';if(!Ec[_0x4325c5(0x409)](_0x3606db[_0x4325c5(0x105)]))return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9['ERROR_IMAGE_TYPE']));if(_0x3606db[_0x4325c5(0x1e7)]>bc)return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9[_0x4325c5(0x3c0)]));try{const _0x13b716=new FormData();_0x13b716[_0x4325c5(0x42c)](_0x4325c5(0xe0),_0x3606db);const _0xbf7b39=this[_0x4325c5(0x283)][_0x4325c5(0x311)](),_0x6fc3c7=_0xbf7b39==null?void 0x0:_0xbf7b39[_0x4325c5(0x14f)]();if(!_0x6fc3c7)throw new Error(_0x4325c5(0x3f1));const _0x55298d=this[_0x4325c5(0x32d)]()+_0x4325c5(0x37a)+_0x3606db[_0x4325c5(0x1e7)][_0x4325c5(0x45a)]()+_0x4325c5(0x387)+Ni[_0x4325c5(0x1f4)]+'&assign='+encodeURIComponent(_0x6fc3c7),_0x4ed929=await(await fetch(_0x55298d,{'method':'POST','body':_0x13b716}))[_0x4325c5(0x292)]();if(typeof _0x4ed929[_0x4325c5(0x497)]!='string')return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9[_0x4325c5(0x24a)]));_0x4d4073=_0x4ed929[_0x4325c5(0x497)];}catch{return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9['ERROR_IMAGE']));}return new Promise((_0x222087,_0x1d04ac)=>{const _0x36164a=_0x4325c5,_0x362b62=new FileReader();_0x362b62[_0x36164a(0x444)](_0x3606db),_0x362b62[_0x36164a(0x1b6)]=_0x487760=>{const _0x1e998b=_0x36164a;var _0x165b63;const _0x3314ca=(_0x165b63=_0x487760['target'])==null?void 0x0:_0x165b63['result'];if(_0x3314ca==null){this['_decreaseWaiting'](),_0x1d04ac(new Error(_0x4e08d9[_0x1e998b(0x24a)]));return;}const _0x49ec02=_0x378638['generateRandomId'](0x6);_0x222087({'imageId':_0x49ec02,'imageSourceType':_0x253162[_0x1e998b(0x2a3)],'source':_0x4d4073,'base64Cache':_0x3314ca,'status':_0x4e08d9['SUCCUSS']}),this[_0x1e998b(0x37c)]();};});}[_0x50a7d0(0x32d)](){const _0x48bb35=_0x50a7d0;var _0x588341,_0x555dce;const _0x27ad45=this['_configService'][_0x48bb35(0x4c6)](Tc),_0x3c4747=this[_0x48bb35(0x3bb)]['getConfig'](ee);return(_0x555dce=(_0x588341=_0x3c4747==null?void 0x0:_0x3c4747['uploadFileServerUrl'])!=null?_0x588341:_0x27ad45)!=null?_0x555dce:Rc;}[_0x50a7d0(0x416)](){const _0x2e7358=_0x50a7d0;var _0x4793e1,_0x9b05e8;const _0x462246=this[_0x2e7358(0x3bb)][_0x2e7358(0x4c6)](Oc),_0x55f8c1=this[_0x2e7358(0x3bb)][_0x2e7358(0x4c6)](ee);return(_0x9b05e8=(_0x4793e1=_0x55f8c1==null?void 0x0:_0x55f8c1['signUrlServerUrl'])!=null?_0x4793e1:_0x462246)!=null?_0x9b05e8:yc;}[_0x50a7d0(0x3fb)](){const _0x5e8e08=_0x50a7d0;var _0x57c644;const _0xccba4f=this[_0x5e8e08(0x3bb)][_0x5e8e08(0x4c6)](ee);return(_0x57c644=_0xccba4f==null?void 0x0:_0xccba4f[_0x5e8e08(0x2fa)])!=null?_0x57c644:location[_0x5e8e08(0x27c)];}[_0x50a7d0(0x1b0)](_0x467582,_0x3020bf){const _0x18a8d3=_0x50a7d0;return _0x467582[_0x18a8d3(0x226)](_0x18a8d3(0x381),_0x3020bf);}[_0x50a7d0(0x37c)](){const _0x5ecad0=_0x50a7d0;this[_0x5ecad0(0x309)]-=0x1,this[_0x5ecad0(0x1be)][_0x5ecad0(0x492)](this['_waitCount']);}};_s=Cc([Zt(0x0,_0x33026a(_0x278722)),Zt(0x1,_0x533505),Zt(0x2,_0x33026a(_0x28b990))],_s);var wc=Object[_0x50a7d0(0x15c)],Dc=Object[_0x50a7d0(0x18b)],Pc=(_0x40494a,_0x5ebf8c,_0xaadcad,_0x4b04e8)=>{const _0x425d03=_0x50a7d0;for(var _0x8e304d=_0x4b04e8>0x1?void 0x0:_0x4b04e8?Dc(_0x5ebf8c,_0xaadcad):_0x5ebf8c,_0x416a69=_0x40494a[_0x425d03(0x1d0)]-0x1,_0x24d222;_0x416a69>=0x0;_0x416a69--)(_0x24d222=_0x40494a[_0x416a69])&&(_0x8e304d=(_0x4b04e8?_0x24d222(_0x5ebf8c,_0xaadcad,_0x8e304d):_0x24d222(_0x8e304d))||_0x8e304d);return _0x4b04e8&&_0x8e304d&&wc(_0x5ebf8c,_0xaadcad,_0x8e304d),_0x8e304d;},hi=(_0x403c70,_0x24b39d)=>(_0x169d8f,_0x1e5978)=>_0x24b39d(_0x169d8f,_0x1e5978,_0x403c70);const Uc=_0x50a7d0(0x1a4);let us=class{constructor(_0x29cfa1,_0x21a8dd){this['_configService']=_0x29cfa1,this['_HTTPService']=_0x21a8dd;}[_0x50a7d0(0x3ca)](){const _0x4d8591=_0x50a7d0;var _0x2ec33b,_0x2f5547;const _0x40e05e=this[_0x4d8591(0x3bb)]['getConfig'](Ki),_0x1dd891=this[_0x4d8591(0x3bb)]['getConfig'](ee);return(_0x2f5547=(_0x2ec33b=_0x1dd891==null?void 0x0:_0x1dd891['authzUrl'])!=null?_0x2ec33b:_0x40e05e)!=null?_0x2f5547:Uc;}async[_0x50a7d0(0x205)](_0x308999){const _0x131b11=_0x50a7d0,_0x4d3f48=this[_0x131b11(0x3ca)]()+_0x131b11(0x22c);return{'list':[{'title':_0x131b11(0x451),'mentions':(await this[_0x131b11(0x352)]['get'](_0x4d3f48,{'params':{'objectID':_0x308999['unitId'],'unitID':_0x308999[_0x131b11(0x258)]}}))[_0x131b11(0x48c)]['collaborators']['map'](_0x40986d=>({'objectId':_0x40986d['id'],'name':_0x40986d[_0x131b11(0x463)][_0x131b11(0x125)],'metadata':{'icon':_0x40986d[_0x131b11(0x463)][_0x131b11(0x3f4)]},'label':_0x40986d[_0x131b11(0x463)][_0x131b11(0x125)],'objectType':_0x1ebf2e[_0x131b11(0x30c)]})),'metadata':{},'type':_0x1ebf2e[_0x131b11(0x30c)]}]};}};us=Pc([hi(0x0,_0x33026a(_0x533505)),hi(0x1,_0x33026a(_0x278722))],us);var Nc=Object[_0x50a7d0(0x15c)],Ac=Object[_0x50a7d0(0x18b)],Mc=(_0x47208b,_0x55a36f,_0x37175d,_0x31be91)=>{const _0x596e22=_0x50a7d0;for(var _0x3d9f9b=_0x31be91>0x1?void 0x0:_0x31be91?Ac(_0x55a36f,_0x37175d):_0x55a36f,_0x2c94dd=_0x47208b[_0x596e22(0x1d0)]-0x1,_0x546bf2;_0x2c94dd>=0x0;_0x2c94dd--)(_0x546bf2=_0x47208b[_0x2c94dd])&&(_0x3d9f9b=(_0x31be91?_0x546bf2(_0x55a36f,_0x37175d,_0x3d9f9b):_0x546bf2(_0x3d9f9b))||_0x3d9f9b);return _0x31be91&&_0x3d9f9b&&Nc(_0x55a36f,_0x37175d,_0x3d9f9b),_0x3d9f9b;},Qe=(_0x5b4aa9,_0x42db01)=>(_0x331d95,_0x17b003)=>_0x42db01(_0x331d95,_0x17b003,_0x5b4aa9);let Ot=class extends _0x2983d9{constructor(_0x5879af,_0x397c6d,_0x5a085d,_0x12a47c,_0x57d325){const _0x35c8e0=_0x50a7d0;super(),this['_injector']=_0x5879af,this[_0x35c8e0(0x283)]=_0x397c6d,this[_0x35c8e0(0x135)]=_0x5a085d,this[_0x35c8e0(0x35e)]=_0x12a47c,this[_0x35c8e0(0x193)]=_0x57d325,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){const _0x4f8d56=_0x50a7d0,_0x166933=async _0xd11d1e=>{const _0xa9c48a=_0xc944;(await this[_0xa9c48a(0x35e)][_0xa9c48a(0x30a)](_0xd11d1e))['event$']['pipe'](_0x7d8aef(_0x18c1d4=>_0x18c1d4[_0xa9c48a(0x424)]===_0x26d642[_0xa9c48a(0x3a1)]),_0x3d76fb(this[_0xa9c48a(0x42e)]))[_0xa9c48a(0x479)](_0x306c82=>{const _0x201457=_0xa9c48a,_0x3cae01=_0x306c82,{reason:_0x937e42}=_0x3cae01[_0x201457(0x274)];this[_0x201457(0x408)][_0x201457(0x373)](_0xa8b33d)[_0x201457(0x179)]({'type':_0x4eaed3[_0x201457(0x282)],'content':this['_localeService']['t'](_0x201457(0x32b))+'('+_0x937e42+')'}),this['_permissionService'][_0x201457(0x142)](new _0x442ff4(_0xd11d1e)['id'],!0x1),this[_0x201457(0x35e)][_0x201457(0xc1)](_0xd11d1e);});};_0x4a9003(this[_0x4f8d56(0x283)][_0x4f8d56(0x162)](_0x40c566['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x40c566[_0x4f8d56(0x26b)]))[_0x4f8d56(0x157)](_0xe5458e(_0x97b3b2=>_0x97b3b2[_0x4f8d56(0x14f)]()),_0x7d8aef(_0x4b42f8=>!_0x520839(_0x4b42f8)),_0x3d76fb(this[_0x4f8d56(0x42e)]))[_0x4f8d56(0x479)](_0x877630=>{_0x166933(_0x877630);});}[_0x50a7d0(0x3b5)](){const _0x4a7961=_0x50a7d0,_0x214ccb=async _0x278be7=>{const _0x184146=_0xc944;(await this[_0x184146(0x35e)][_0x184146(0x30a)](_0x278be7))[_0x184146(0x414)]['pipe'](_0x7d8aef(_0x393673=>_0x393673[_0x184146(0x424)]===_0x26d642['UPDATE_PERMISSION_OBJ']),_0x3d76fb(this[_0x184146(0x42e)]))[_0x184146(0x479)](_0x8ea0=>{const _0x20d4e6=_0x184146,_0x370b1e=_0x8ea0,{objectId:_0x2b27f9}=_0x370b1e['data'],_0xc24c90=this[_0x20d4e6(0x408)][_0x20d4e6(0x373)](_0x5a857a);_0x2b27f9===_0x278be7?_0xc24c90[_0x20d4e6(0x3d5)](_0x278be7):_0xc24c90['refreshPermission'](_0x278be7,_0x2b27f9);});};_0x4a9003(this[_0x4a7961(0x283)][_0x4a7961(0x162)](_0x40c566[_0x4a7961(0x331)]),this[_0x4a7961(0x283)]['getTypeOfUnitAdded$'](_0x40c566['UNIVER_DOC']))['pipe'](_0xe5458e(_0x2718be=>_0x2718be[_0x4a7961(0x14f)]()),_0x7d8aef(_0x4c4476=>!_0x520839(_0x4c4476)),_0x3d76fb(this[_0x4a7961(0x42e)]))['subscribe'](_0x4b2541=>{_0x214ccb(_0x4b2541);});}};Ot=Mc([Qe(0x0,_0x33026a(_0x17dae8)),Qe(0x1,_0x28b990),Qe(0x2,_0x20da8e),Qe(0x3,_0x33026a(xe)),Qe(0x4,_0x33026a(_0x21b13d))],Ot);var xc=Object['defineProperty'],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x26f9f8,_0x2238c6,_0x3fc1ea,_0x235ffd)=>{for(var _0x3c9795=_0x235ffd>0x1?void 0x0:_0x235ffd?Lc(_0x2238c6,_0x3fc1ea):_0x2238c6,_0x5d5b08=_0x26f9f8['length']-0x1,_0x3d4869;_0x5d5b08>=0x0;_0x5d5b08--)(_0x3d4869=_0x26f9f8[_0x5d5b08])&&(_0x3c9795=(_0x235ffd?_0x3d4869(_0x2238c6,_0x3fc1ea,_0x3c9795):_0x3d4869(_0x3c9795))||_0x3c9795);return _0x235ffd&&_0x3c9795&&xc(_0x2238c6,_0x3fc1ea,_0x3c9795),_0x3c9795;},li=(_0x493214,_0x594363)=>(_0x5c5587,_0x17b349)=>_0x594363(_0x5c5587,_0x17b349,_0x493214);let ds=class{constructor(_0x2adaa3,_0x2e240f){const _0x2494d2=_0x50a7d0;this[_0x2494d2(0x3bb)]=_0x2adaa3,this[_0x2494d2(0x38a)]=_0x2e240f;}async[_0x50a7d0(0x349)](_0x3d0a2d,_0x51b5f4){const _0x3cf68c=_0x50a7d0;var _0x8c979e;const {unitID:_0x36fd5c,type:_0x17f0c3,revision:_0x1f44a8=0x0}=_0x51b5f4,_0x3ef924=this[_0x3cf68c(0x109)]()+'/'+_0x17f0c3+'/unit/'+_0x36fd5c+_0x3cf68c(0x240)+_0x1f44a8,_0x12d922=(await this[_0x3cf68c(0x38a)][_0x3cf68c(0x373)](_0x3ef924))['body'],_0x26f066=(_0x8c979e=_0x12d922[_0x3cf68c(0x1ca)])==null?void 0x0:_0x8c979e['workbook'];if(_0x26f066){const _0x3e4623=_0x26f066==null?void 0x0:_0x26f066['originalMeta'],_0x1bd2ee=_0x4a42d6[_0x3cf68c(0x2a7)](_0x806675(_0x3e4623));_0x26f066[_0x3cf68c(0x1ec)]=_0x1bd2ee,Object[_0x3cf68c(0x379)](_0x26f066['sheets'])[_0x3cf68c(0x375)](([,_0x3fcad8])=>{const _0x5031b4=_0x3cf68c,_0x4a5f32=_0x3fcad8['originalMeta'],_0x1bc785=_0x4a42d6[_0x5031b4(0x2a7)](_0x806675(_0x4a5f32));_0x3fcad8[_0x5031b4(0x1ec)]=_0x1bc785;});}return _0x12d922;}async[_0x50a7d0(0x230)](_0x100fdf,_0x5b3bfb){const _0x80f3fc=_0x50a7d0,{unitID:_0xf787c9,type:_0x3e4b4f,blockID:_0x464c9d}=_0x5b3bfb,_0xef94f9=this['_getAPIPrefix']()+'/'+_0x3e4b4f+_0x80f3fc(0x224)+_0xf787c9+'/block/'+_0x464c9d;return(await this['_httpService'][_0x80f3fc(0x373)](_0xef94f9))[_0x80f3fc(0x48c)];}async[_0x50a7d0(0x256)](_0xceec6,_0x2891fd){const _0x1cbb76=_0x50a7d0,{unitID:_0x201a43,type:_0x44fed0,blockID:_0x1389f9}=_0x2891fd,_0x2bdb11=this[_0x1cbb76(0x3a9)]()+_0x1cbb76(0x2a2)+_0x44fed0+_0x1cbb76(0x224)+_0x201a43+_0x1cbb76(0x2a2)+_0x1389f9;return(await this[_0x1cbb76(0x38a)][_0x1cbb76(0x373)](_0x2bdb11))['body'];}async[_0x50a7d0(0x392)](_0x26a48b,_0x38d7bc){const _0x312fa8=_0x50a7d0,{unitID:_0x5610f2,type:_0x2f6844,from:_0x20d14c,to:_0x606869}=_0x38d7bc,_0x25aeea=this[_0x312fa8(0x3a9)]()+'/'+_0x2f6844+'/unit/'+_0x5610f2+'/fetchmissing?from='+_0x20d14c+_0x312fa8(0x24f)+_0x606869;return(await this[_0x312fa8(0x38a)]['get'](_0x25aeea))[_0x312fa8(0x48c)];}['_getSnapshotAPIPrefix'](){const _0x2d6d8e=_0x50a7d0;var _0x4cb593;return(_0x4cb593=this['_configService'][_0x2d6d8e(0x4c6)](gn))!=null?_0x4cb593:this[_0x2d6d8e(0x3a9)]();}['_getAPIPrefix'](){const _0x1a15bf=_0x50a7d0;var _0x57392a,_0x461259;const _0x2a5718=this[_0x1a15bf(0x3bb)][_0x1a15bf(0x4c6)](mn),_0x3e0838=this[_0x1a15bf(0x3bb)][_0x1a15bf(0x4c6)](ee);return(_0x461259=(_0x57392a=_0x3e0838==null?void 0x0:_0x3e0838[_0x1a15bf(0x2ee)])!=null?_0x57392a:_0x2a5718)!=null?_0x461259:pn;}async['getResourcesRequest'](_0x42cd8d,_0x5cce02){const _0x3e1e17=_0x50a7d0,_0x25f085=_0x3e1e17(0x313)+_0x5cce02[_0x3e1e17(0x105)]+_0x3e1e17(0x224)+_0x5cce02[_0x3e1e17(0xaa)]+_0x3e1e17(0x11a);return(await this['_httpService'][_0x3e1e17(0x373)](_0x25f085,{'params':{'resourceId':JSON['stringify'](_0x5cce02[_0x3e1e17(0x1ae)])}}))['body'];}[_0x50a7d0(0x1d2)](){const _0x23330e=_0x50a7d0;throw new Error(_0x23330e(0x3c5));}[_0x50a7d0(0x169)](){const _0x3bded7=_0x50a7d0;throw new Error(_0x3bded7(0x3c5));}[_0x50a7d0(0x3e0)](){const _0x32ef94=_0x50a7d0;throw new Error(_0x32ef94(0x3c5));}[_0x50a7d0(0x29f)](){const _0x5d1716=_0x50a7d0;throw new Error(_0x5d1716(0x3c5));}['getLatestCsReqIdBySid'](){const _0x465f0d=_0x50a7d0;throw new Error(_0x465f0d(0x3c5));}};ds=$c([li(0x0,_0x533505),li(0x1,_0x33026a(_0x278722))],ds);var Hc=Object[_0x50a7d0(0x15c)],jc=Object[_0x50a7d0(0x18b)],Bc=(_0x3d83ed,_0x2b6f21,_0x81bc6b,_0x2c6804)=>{const _0x195e4e=_0x50a7d0;for(var _0x2ece17=_0x2c6804>0x1?void 0x0:_0x2c6804?jc(_0x2b6f21,_0x81bc6b):_0x2b6f21,_0x534971=_0x3d83ed[_0x195e4e(0x1d0)]-0x1,_0x59b11b;_0x534971>=0x0;_0x534971--)(_0x59b11b=_0x3d83ed[_0x534971])&&(_0x2ece17=(_0x2c6804?_0x59b11b(_0x2b6f21,_0x81bc6b,_0x2ece17):_0x59b11b(_0x2ece17))||_0x2ece17);return _0x2c6804&&_0x2ece17&&Hc(_0x2b6f21,_0x81bc6b,_0x2ece17),_0x2ece17;},et=(_0x5e13e5,_0xf7173c)=>(_0x595e00,_0x458d07)=>_0xf7173c(_0x595e00,_0x458d07,_0x5e13e5);let fs=class extends _0x2bc4a{constructor(_0x396d2f,_0x6cc794,_0x537169,_0x4aed3e,_0x3c9726){const _0x2363b0=_0x50a7d0;super(_0x396d2f,_0x6cc794,_0x537169),this[_0x2363b0(0x494)]=_0x4aed3e,this[_0x2363b0(0x422)]=_0x3c9726;}['transformUndoRedo'](_0x463e40,_0x58e34f){const _0x3578de=_0x50a7d0,_0x4d930e=this[_0x3578de(0x377)](_0x463e40);if(_0x4d930e)try{const _0x148e3d=this[_0x3578de(0x43f)](_0x4d930e,_0x58e34f);this[_0x3578de(0x4c2)](_0x463e40,_0x148e3d);}catch(_0x2cf3bd){this[_0x3578de(0x422)]['error'](_0x3578de(0x1cf),_0x2cf3bd),this[_0x3578de(0x44e)](_0x463e40);}const _0x23bb25=this[_0x3578de(0x40e)](_0x463e40);if(_0x23bb25)try{const _0x4a53cf=this['_transformStack'](_0x23bb25,_0x58e34f);this[_0x3578de(0x4af)](_0x463e40,_0x4a53cf);}catch(_0x243804){this['_logService'][_0x3578de(0x3a2)](_0x243804),this[_0x3578de(0x2a4)](_0x463e40);}}[_0x50a7d0(0x44e)](_0x41e2ca){const _0x198cae=_0x50a7d0,_0x127f54=this[_0x198cae(0x377)](_0x41e2ca);_0x127f54&&(_0x127f54[_0x198cae(0x1d0)]=0x0,this[_0x198cae(0x1c5)]());}[_0x50a7d0(0x2a4)](_0x2fff44){const _0x4d5ea6=_0x50a7d0,_0xfad35e=this[_0x4d5ea6(0x40e)](_0x2fff44);_0xfad35e&&(_0xfad35e['length']=0x0,this['_updateStatus']());}[_0x50a7d0(0x4c2)](_0xdfe5b,_0x432aec){const _0x117350=_0x50a7d0;this['_undoStacks'][_0x117350(0x2ce)](_0xdfe5b,_0x432aec),this[_0x117350(0x1c5)]();}[_0x50a7d0(0x4af)](_0x4f54c4,_0x3e5833){const _0x2fba5f=_0x50a7d0;this[_0x2fba5f(0xac)][_0x2fba5f(0x2ce)](_0x4f54c4,_0x3e5833),this['_updateStatus']();}[_0x50a7d0(0x43f)](_0x106e3c,_0xda3982){const _0x1f1b7e=_0x50a7d0,_0x110ed4=[];let _0x369253=_0xda3982,_0x17dcbe=_0xda3982;for(let _0x5a48f5=_0x106e3c[_0x1f1b7e(0x1d0)]-0x1;_0x5a48f5>=0x0;_0x5a48f5--){const {unitID:_0x40c537,undoMutations:_0x4fdaf1,redoMutations:_0x4d644c}=_0x106e3c[_0x5a48f5],_0x1e7e9d=this[_0x1f1b7e(0x494)][_0x1f1b7e(0x31d)](_0x369253,_0x4fdaf1),_0x1f34aa=this[_0x1f1b7e(0x494)][_0x1f1b7e(0x31d)](_0x17dcbe,_0x4d644c);if(_0x2a96c9(_0x1e7e9d)||_0x2a96c9(_0x1f34aa)){this['_logService'][_0x1f1b7e(0x3a2)](_0x1f1b7e(0x1cf),'transformStack\x20failed!',_0x1e7e9d,_0x1f34aa);break;}_0x369253=_0x1e7e9d[_0x1f1b7e(0x345)],_0x17dcbe=_0x1f34aa[_0x1f1b7e(0x345)],_0x110ed4[_0x1f1b7e(0xc6)]({'unitID':_0x40c537,'undoMutations':_0x1e7e9d['m2Prime'],'redoMutations':_0x1f34aa[_0x1f1b7e(0x37e)]});}return _0x110ed4['reverse']();}};fs=Bc([et(0x0,_0x28b990),et(0x1,_0x2e05f8),et(0x2,_0x1b8983),et(0x3,_0x4af41b),et(0x4,_0x299b7a)],fs);class kc extends _0x2983d9{constructor(){const _0x1d1e9f=_0x50a7d0;super(),g(this,_0x1d1e9f(0x1e1)),this[_0x1d1e9f(0x1e1)]=_0x226128(window,'popstate')['pipe'](_0x2b44f7(this[_0x1d1e9f(0x42e)]),_0x58d478(0x1),_0x5c5108(void 0x0));}[_0x50a7d0(0x236)](_0xb0379b,_0xb29f22,_0x473af5=!0x1){const _0x3b4908=_0x50a7d0,_0x8ba623=new URL(window['location']['href']);_0x8ba623[_0x3b4908(0x484)][_0x3b4908(0x2ce)](_0xb0379b,_0xb29f22),_0x473af5?window[_0x3b4908(0x2d4)][_0x3b4908(0x1b4)]('','',_0x8ba623[_0x3b4908(0x45a)]()):window[_0x3b4908(0x2d4)][_0x3b4908(0x33b)]('','',_0x8ba623[_0x3b4908(0x45a)]());}[_0x50a7d0(0x228)](_0x40d615,_0x1e14ae=!0x1){const _0x3bc39e=_0x50a7d0,_0x3ad560=new URL(window[_0x3bc39e(0x41a)][_0x3bc39e(0x403)]);_0x3ad560[_0x3bc39e(0x484)]['delete'](_0x40d615),_0x1e14ae?window[_0x3bc39e(0x2d4)][_0x3bc39e(0x1b4)]('','',_0x3ad560[_0x3bc39e(0x45a)]()):window[_0x3bc39e(0x2d4)][_0x3bc39e(0x33b)]('','',_0x3ad560['toString']());}[_0x50a7d0(0x460)](_0x57c189){const _0x3ae67c=_0x50a7d0;var _0xfb39ea;return(_0xfb39ea=new URL(window[_0x3ae67c(0x41a)][_0x3ae67c(0x403)])[_0x3ae67c(0x484)][_0x3ae67c(0x373)](_0x57c189))!=null?_0xfb39ea:void 0x0;}}var tr=Object[_0x50a7d0(0x15c)],Wc=Object[_0x50a7d0(0x18b)],Fc=(_0x15529e,_0x5d3c9f,_0x161379)=>_0x5d3c9f in _0x15529e?tr(_0x15529e,_0x5d3c9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x161379}):_0x15529e[_0x5d3c9f]=_0x161379,Vc=(_0x5addd5,_0x452fc0,_0x1a53fc,_0x5cadf5)=>{const _0x36a0db=_0x50a7d0;for(var _0x3f0e88=_0x5cadf5>0x1?void 0x0:_0x5cadf5?Wc(_0x452fc0,_0x1a53fc):_0x452fc0,_0x3800db=_0x5addd5[_0x36a0db(0x1d0)]-0x1,_0x5dce9d;_0x3800db>=0x0;_0x3800db--)(_0x5dce9d=_0x5addd5[_0x3800db])&&(_0x3f0e88=(_0x5cadf5?_0x5dce9d(_0x452fc0,_0x1a53fc,_0x3f0e88):_0x5dce9d(_0x3f0e88))||_0x3f0e88);return _0x5cadf5&&_0x3f0e88&&tr(_0x452fc0,_0x1a53fc,_0x3f0e88),_0x3f0e88;},lt=(_0x1c7470,_0x7770ac)=>(_0x3882b7,_0xc5c11f)=>_0x7770ac(_0x3882b7,_0xc5c11f,_0x1c7470),Gc=(_0x3b1be1,_0x1f1369,_0x2c27c7)=>Fc(_0x3b1be1,_0x1f1369+'',_0x2c27c7);const Yc=_0x50a7d0(0x420);let vs=class extends _0x318b29{constructor(_0x3f59e3=Mn,_0x5a5d22,_0x2da2f3,_0x1f8a92,_0x19d95d){const _0x329e89=_0x50a7d0;super(),this[_0x329e89(0x1ea)]=_0x3f59e3,this['_logService']=_0x5a5d22,this[_0x329e89(0x1af)]=_0x2da2f3,this[_0x329e89(0x408)]=_0x1f8a92,this[_0x329e89(0x3bb)]=_0x19d95d;const {..._0x103ff9}=this[_0x329e89(0x1ea)];this['_configService'][_0x329e89(0x1c7)](ee,_0x103ff9);}[_0x50a7d0(0x264)](){const _0x4be045=_0x50a7d0;this[_0x4be045(0x46c)](),this[_0x4be045(0x40f)]();}[_0x50a7d0(0x3cf)](){const _0x3b71dc=_0x50a7d0;_0x8eb2c0(this[_0x3b71dc(0x408)],[[bt],[It]]);}[_0x50a7d0(0x203)](){const _0x1bdd1e=_0x50a7d0;this[_0x1bdd1e(0x198)]();}[_0x50a7d0(0x46c)](){const _0x23c6f9=_0x50a7d0;var _0x54222a,_0xf60463,_0x3e292f,_0x26d784;this[_0x23c6f9(0x408)][_0x23c6f9(0x28d)](_0x5b0e0d)&&this[_0x23c6f9(0x422)][_0x23c6f9(0x3a2)](_0x23c6f9(0x13d),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4f32e9=[[_0x5b0e0d,{'useClass':fs}],[xe],[Os],[Yi,{'useClass':kc}],[Me],[q],[_0x2d5820],[mt],[gt],[vt],[pt],[Ts],[Tt],[Rt],[Mi],[Ot],[Ai,{'useClass':(_0xf60463=(_0x54222a=this[_0x23c6f9(0x1ea)])==null?void 0x0:_0x54222a['socketService'])!=null?_0xf60463:ss}],[_0x2647d5,{'useClass':ds}],[_0x1540fd,{'useClass':ls}],[_0x4a51fd,{'useClass':_s}],[_0x5f0aab,{'useClass':us}],[it],[Et],[Ct],[bt],[Ve],[It]];(_0x3e292f=this[_0x23c6f9(0x1ea)])!=null&&_0x3e292f[_0x23c6f9(0x35f)]&&_0x4f32e9[_0x23c6f9(0xc6)]([yt,{'useClass':vo}]),_0x154853(this[_0x23c6f9(0x408)],_0x3bf386(_0x4f32e9,(_0x26d784=this['_config'])==null?void 0x0:_0x26d784[_0x23c6f9(0x42d)]));}[_0x50a7d0(0x198)](){const _0x4ac07c=_0x50a7d0;this[_0x4ac07c(0x450)](this[_0x4ac07c(0x1af)][_0x4ac07c(0x2e6)](_0x40c566['UNIVER_DOC'],[cs])),this[_0x4ac07c(0x450)](this[_0x4ac07c(0x1af)][_0x4ac07c(0x2e6)](_0x40c566[_0x4ac07c(0x331)],[hs]));}[_0x50a7d0(0x40f)](){const _0x44dd1e=_0x50a7d0;var _0xdb7583,_0x103fb4;this[_0x44dd1e(0x408)][_0x44dd1e(0x373)](_0x278722)[_0x44dd1e(0x434)]({'priority':0x14,'interceptor':_0x4a5979({'maxParallel':0x6})}),(_0xdb7583=this['_config'])!=null&&_0xdb7583[_0x44dd1e(0x34e)]||this[_0x44dd1e(0x408)]['get'](q)[_0x44dd1e(0x277)](),(_0x103fb4=this[_0x44dd1e(0x1ea)])!=null&&_0x103fb4[_0x44dd1e(0x464)]&&_0x8eb2c0(this[_0x44dd1e(0x408)],[[Tt]]),_0x8eb2c0(this['_injector'],[[Rt],[Ve],[Et],[it],[Ct],[Ot]]);}};Gc(vs,_0x50a7d0(0x234),Yc),vs=Vc([_0x449762(_0x8096fe,_0x1bc40e),lt(0x1,_0x299b7a),lt(0x2,_0x984cff),lt(0x3,_0x33026a(_0x17dae8)),lt(0x4,_0x533505)],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 _0x59f468=_0x2eda;(function(_0x19329e,_0x1dfb52){const _0xc55efd=_0x2eda,_0x3745cc=_0x19329e();while(!![]){try{const _0x11e10=-parseInt(_0xc55efd(0x1a1))/0x1+parseInt(_0xc55efd(0x473))/0x2+parseInt(_0xc55efd(0x198))/0x3+-parseInt(_0xc55efd(0x31d))/0x4+-parseInt(_0xc55efd(0x2a3))/0x5*(-parseInt(_0xc55efd(0x586))/0x6)+parseInt(_0xc55efd(0x34c))/0x7*(parseInt(_0xc55efd(0x486))/0x8)+-parseInt(_0xc55efd(0x3e5))/0x9*(parseInt(_0xc55efd(0x3a0))/0xa);if(_0x11e10===_0x1dfb52)break;else _0x3745cc['push'](_0x3745cc['shift']());}catch(_0x42f540){_0x3745cc['push'](_0x3745cc['shift']());}}}(_0x23ae,0x87628));var ar=Object[_0x59f468(0x29a)],cr=(_0x362191,_0x17b7ba,_0x3530bf)=>_0x17b7ba in _0x362191?ar(_0x362191,_0x17b7ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3530bf}):_0x362191[_0x17b7ba]=_0x3530bf,g=(_0x321bb5,_0x26ac0b,_0x1b1a23)=>cr(_0x321bb5,typeof _0x26ac0b!=_0x59f468(0x5ab)?_0x26ac0b+'':_0x26ac0b,_0x1b1a23);import{createIdentifier as _0x4fa8ac,Inject as _0x222038,Disposable as _0x19fe63,DisposableCollection as _0x2fc363,toDisposable as _0x510055,IConfigService as _0x486aed,ILogService as _0x37805d,UserManagerService as _0x581f13,UniverInstanceType as _0x52550e,IUniverInstanceService as _0xd7de45,LocaleService as _0x52880d,Optional as _0x3a5345,RxDisposable as _0x2c59cd,Injector as _0x2e1c56,Tools as _0x218f61,ILocalStorageService as _0x18521c,Rectangle as _0x23bbd9,ICommandService as _0x1e017f,DOC_RANGE_TYPE as _0x638c4d,JSONX as _0x728319,CommandType as _0x2a05e3,IPermissionService as _0x593390,IUndoRedoService as _0x2d2527,sequenceExecute as _0x504024,debounce as _0x14f2b0,COLORS as _0x41eb8e,ColorKit as _0x5d65d0,ThemeService as _0x5e056c,fromEventSubject as _0x5742c0,useDependency as _0x45c214,connectInjector as _0x4ec1ab,Workbook as _0x2b04ff,MentionType as _0xf50cab,isInternalEditorID as _0x1db883,LocalUndoRedoService as _0x2432d3,IContextService as _0xe6d98,DependentOn as _0x9ba82c,Plugin as _0x113ffe,touchDependencies as _0x4c0f56,IAuthzIoService as _0x18f660,IMentionIOService as _0x454d7e,registerDependencies as _0x33f43b,mergeOverrideWithDependencies as _0x996ab4}from'@univerjs/core';import{Subject as _0xd6475b,merge as _0x5becde,takeUntil as _0x2eaf5f,BehaviorSubject as _0x1f1fc6,distinctUntilChanged as _0x42e448,fromEvent as _0x92f771,ReplaySubject as _0x3b5418,take as _0x3fe09f,map as _0x36b286,shareReplay as _0x2ff007,of as _0x38a752,debounceTime as _0x477823,filter as _0x54e74d,switchMap as _0x2bc5b0,combineLatest as _0x6f207e,concatMap as _0x3b543c,mapTo as _0x467ca9}from'rxjs';import{map as _0x3968e0,take as _0x44e846,filter as _0x3c73ca,delay as _0x1d896a,throttleTime as _0x2e516c,takeUntil as _0x1eb937,switchMap as _0x29e5a7}from'rxjs/operators';import{MessageType as _0x47f0e7,Tooltip as _0x27c3d7}from'@univerjs/design';import{HTTPService as _0x216536,WebSocketService as _0x5cdeee,MergeInterceptorFactory as _0x388d52,HTTPRequest as _0x55add6,UniverNetworkPlugin as _0x3b21ea,ThresholdInterceptorFactory as _0x5df05e}from'@univerjs/network';import{IBeforeCloseService as _0x28b31b,IMessageService as _0x3bbf26,INotificationService as _0x5126dc,useObservable as _0x1bba2d,BuiltInUIPart as _0x17cc0c,IUIPartsService as _0x52c347}from'@univerjs/ui';import{CollaborationEvent as _0x8a32d4,parseChangesetToProtocol as _0x51288e,ISnapshotServerService as _0x24bd52,isTransformMutationFailure as _0x18387e,isTransformMutationsWithChangesetSuccess as _0x4d7745,ITransformService as _0x4cb437,RevisionService as _0x21f454,mapDocumentTypeToUniverType as _0x152c8d,isTransformChangesetsSuccess as _0x5cd3ce,CompressMutationService as _0x117e38,parseProtocolChangeset as _0x33ed1d,SnapshotService as _0x1381aa,textEncoder as _0x4e5a09,b64DecodeUnicode as _0x1a2e07,isTransformMutationsWithChangesetFailure as _0x571511,UniverCollaborationPlugin as _0x551335}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x30dd3c}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x4768db,RichTextEditingMutation as _0x2bf5bd,SetTextSelectionsOperation as _0x403062,DocSkeletonManagerService as _0x379b20}from'@univerjs/docs';import{DocIMEInputManagerService as _0x3c4a23,DocStateChangeManagerService as _0x2a72d5,IDocClipboardService as _0x33630a,NodePositionConvertToCursor as _0x4cd065,NodePositionConvertToRectRange as _0x28e160,TEXT_RANGE_LAYER_INDEX as _0x43455b,SetDocZoomRatioOperation as _0xe0c4b}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x49c3d1,SetSelectionsOperation as _0x20d3bf,InsertSheetMutation as _0x37dbf5,EmptyMutation as _0x86642a,WorkbookEditablePermission as _0x4ef6a0,RefRangeService as _0x4214dd,EffectRefRangId as _0x41e7aa,handleIRemoveRow as _0x27bb0b,handleIRemoveCol as _0x8f8b06,handleMoveRange as _0x10af59,handleInsertRow as _0xdf91b0,handleInsertRangeMoveRight as _0x4172fd,handleInsertRangeMoveDown as _0x4c153f,handleInsertCol as _0x51dcac,handleDeleteRangeMoveUp as _0x19d6d3,handleDeleteRangeMoveLeft as _0x32e871,runRefRangeMutations as _0x56b84c,SetWorksheetActivateCommand as _0x4cb6da}from'@univerjs/sheets';import{IRenderManagerService as _0x4e56e4,Shape as _0x37149c,Rect as _0x3648be,getColor as _0x3f199f,RegularPolygon as _0xea7f00,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x401d9d,Vector2 as _0x4a7985}from'@univerjs/engine-render';import{IImageIoService as _0x3c5ccf,ImageSourceType as _0x35508e,ImageUploadStatusType as _0x38d426}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x47b496,serializeRangeWithSheet as _0x44ca9e}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4b35a2,VIEWPORT_KEY as _0xa2565b,getCoordByCell as _0x21c55c,getSheetObject as _0x3b93a6,SheetPermissionInitController as _0x548674}from'@univerjs/sheets-ui';import _0x2470a1,{forwardRef as _0x3575fb,useRef as _0x516cf1,createElement as _0x3d1e83,useCallback as _0x585c84}from'react';import{IRemoteInstanceService as _0x45ceae}from'@univerjs/rpc';const Cn=_0x59f468(0x1bb),En=_0x59f468(0x482),bn=_0x59f468(0x4e8),yh=_0x59f468(0x53e),Tn=0x7d0,Rn=_0x59f468(0x3ef),On=_0x59f468(0x284),yn=_0x59f468(0x343),wn=_0x59f468(0x409),Dn=0x7530,Bi='HEARTBEAT_TIMEOUT',ki=0x4e20,Pn=0x4e20,Un='RETRY_CONNECTING_MAX_COUNT',Nn=0x3,An=_0x59f468(0x466),Mn=0x3e8,xn=_0x59f468(0x4a2),Ln=_0x59f468(0x1f8),$n='LOGIN_URL_KEY',Hn='/universer-api/oidc/authpage';var Wi=(_0x101635=>(_0x101635[_0x101635[_0x59f468(0x546)]=0x0]=_0x59f468(0x546),_0x101635[_0x101635['OK']=0x1]='OK',_0x101635[_0x101635[_0x59f468(0x373)]=0x2]='INTERNAL_ERROR',_0x101635[_0x101635[_0x59f468(0x551)]=0x3]=_0x59f468(0x551),_0x101635[_0x101635[_0x59f468(0x53f)]=0x4]=_0x59f468(0x53f),_0x101635[_0x101635[_0x59f468(0x4f0)]=0x5]=_0x59f468(0x4f0),_0x101635[_0x101635[_0x59f468(0x261)]=0x6]='ALREADY_EXISTS',_0x101635[_0x101635['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x101635[_0x101635[_0x59f468(0x266)]=0x8]=_0x59f468(0x266),_0x101635[_0x101635['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x101635[_0x101635[_0x59f468(0x2e6)]=0x1389]=_0x59f468(0x2e6),_0x101635[_0x101635[_0x59f468(0x589)]=0x1771]=_0x59f468(0x589),_0x101635[_0x101635[_0x59f468(0x288)]=0x1772]=_0x59f468(0x288),_0x101635[_0x101635[_0x59f468(0x41c)]=0x1773]=_0x59f468(0x41c),_0x101635[_0x101635[_0x59f468(0x474)]=0x1b59]=_0x59f468(0x474),_0x101635[_0x101635[_0x59f468(0x3c2)]=0x1b5a]=_0x59f468(0x3c2),_0x101635[_0x101635[_0x59f468(0x313)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x101635[_0x101635['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x59f468(0x339),_0x101635[_0x101635[_0x59f468(0x379)]=0x1b5d]=_0x59f468(0x379),_0x101635[_0x101635[_0x59f468(0x37f)]=0x1f41]=_0x59f468(0x37f),_0x101635[_0x101635[_0x59f468(0x380)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x101635[_0x101635[_0x59f468(0x46f)]=0x232a]=_0x59f468(0x46f),_0x101635[_0x101635['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x59f468(0x50e),_0x101635[_0x101635['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x101635[_0x101635[_0x59f468(0x4e7)]=0x232d]=_0x59f468(0x4e7),_0x101635[_0x101635['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x59f468(0x241),_0x101635[_0x101635['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x59f468(0x2bb),_0x101635[_0x101635[_0x59f468(0x5a2)]=0x2713]=_0x59f468(0x5a2),_0x101635[_0x101635[_0x59f468(0x3cc)]=0x2714]=_0x59f468(0x3cc),_0x101635[_0x101635[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x101635))(Wi||{}),ae=(_0x382723=>(_0x382723[_0x382723[_0x59f468(0x2cc)]=0x0]=_0x59f468(0x2cc),_0x382723[_0x382723[_0x59f468(0x4f9)]=0x1]=_0x59f468(0x4f9),_0x382723[_0x382723[_0x59f468(0x2b0)]=0x2]=_0x59f468(0x2b0),_0x382723[_0x382723[_0x59f468(0x4b5)]=0x3]=_0x59f468(0x4b5),_0x382723[_0x382723[_0x59f468(0x1bd)]=0x4]=_0x59f468(0x1bd),_0x382723[_0x382723['UNRECOGNIZED']=-0x1]=_0x59f468(0x411),_0x382723))(ae||{}),W=(_0x7108de=>(_0x7108de[_0x7108de[_0x59f468(0x1ea)]=0x0]=_0x59f468(0x1ea),_0x7108de[_0x7108de[_0x59f468(0x2eb)]=0x1]=_0x59f468(0x2eb),_0x7108de[_0x7108de[_0x59f468(0x576)]=0x2]=_0x59f468(0x576),_0x7108de[_0x7108de[_0x59f468(0x2f7)]=0x3]=_0x59f468(0x2f7),_0x7108de[_0x7108de[_0x59f468(0x5a6)]=0x4]=_0x59f468(0x5a6),_0x7108de[_0x7108de['HEARTBEAT']=0x5]=_0x59f468(0x28b),_0x7108de[_0x7108de['RECV']=0x6]='RECV',_0x7108de[_0x7108de[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x7108de))(W||{}),ws=(_0x38d4b7=>(_0x38d4b7[_0x38d4b7['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x38d4b7[_0x38d4b7['OK']=0x1]='OK',_0x38d4b7[_0x38d4b7[_0x59f468(0x565)]=0x2]=_0x59f468(0x565),_0x38d4b7[_0x38d4b7[_0x59f468(0x447)]=0x3e9]=_0x59f468(0x447),_0x38d4b7[_0x38d4b7['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x59f468(0x34b),_0x38d4b7[_0x38d4b7[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x38d4b7))(ws||{}),Fi=(_0x1a24bc=>(_0x1a24bc[_0x1a24bc[_0x59f468(0x218)]=0x0]=_0x59f468(0x218),_0x1a24bc[_0x1a24bc[_0x59f468(0x297)]=0x1]=_0x59f468(0x297),_0x1a24bc[_0x1a24bc[_0x59f468(0x4be)]=0x2]=_0x59f468(0x4be),_0x1a24bc[_0x1a24bc[_0x59f468(0x508)]=0x3]=_0x59f468(0x508),_0x1a24bc[_0x1a24bc['UnitSnapshot']=0x4]=_0x59f468(0x47e),_0x1a24bc[_0x1a24bc[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x1a24bc))(Fi||{});const Q=_0x59f468(0x4e1),jn={};function Bn(_0xc8e31e){const _0x1b5b2a=_0x59f468;var _0x54a1a4,_0x432e15,_0x2b94ee,_0x5beb18,_0x50faaa;const _0x47e2b3=_0xc8e31e['data'],_0x2d761b=JSON[_0x1b5b2a(0x2e1)](_0x47e2b3);switch(_0x2d761b[_0x1b5b2a(0x3a3)]){case W[_0x1b5b2a(0x28b)]:case W[_0x1b5b2a(0x2eb)]:{const _0x43f1aa=_0x2d761b[_0x1b5b2a(0x57c)];return{..._0x2d761b,'data':_0x43f1aa,'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};}case W['JOIN']:{const _0x1065cc=_0x2d761b[_0x1b5b2a(0x45c)];return{..._0x2d761b,'data':_0x1065cc,'cmd':_0x2d761b['cmd']};}case W[_0x1b5b2a(0x3a2)]:{const _0xeeeb3=_0x2d761b[_0x1b5b2a(0x353)];switch(_0xeeeb3['eventID']){case _0x8a32d4[_0x1b5b2a(0x398)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x54a1a4=_0xeeeb3[_0x1b5b2a(0x40f)])==null?void 0x0:_0x54a1a4['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['CHANGESET_ACK']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x432e15=_0xeeeb3[_0x1b5b2a(0x226)])==null?void 0x0:_0x432e15['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x1f9)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x2b94ee=_0xeeeb3['newCsEvent'])==null?void 0x0:_0x2b94ee['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x245)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x5beb18=_0xeeeb3[_0x1b5b2a(0x535)])==null?void 0x0:_0x5beb18['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x445)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x50faaa=_0xeeeb3['csShouldRetryEvent'])==null?void 0x0:_0x50faaa['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x563)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x4cd)]},'cmd':_0x2d761b['cmd']};case _0x8a32d4['USERS_ENTER']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x4fe)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x23b)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3['leaveEvent']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x212)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x43d)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x462)]:case _0x8a32d4[_0x1b5b2a(0x330)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x38e)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['LIVESHARE_TERMINATE']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3['liveShareNewHost']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['MSG_FOR_ERROR']:return{..._0x2d761b,'data':_0xeeeb3,'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x2e2)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3['commentUpdateEvent']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['UPDATE_PERMISSION_OBJ']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x2cd)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x518)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x27f)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};default:return _0x2d761b;}}default:return _0x2d761b;}}function kn(_0x1d804f){const _0x572106=_0x59f468;switch(_0x1d804f[_0x572106(0x3a3)]){case W[_0x572106(0x28b)]:case W[_0x572106(0x2eb)]:return JSON[_0x572106(0x3fc)]({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)]});case W[_0x572106(0x5a6)]:{let _0x2dadfb;switch(_0x1d804f[_0x572106(0x233)][_0x572106(0x1b1)]){case _0x8a32d4[_0x572106(0x563)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x563)],'updateCursorEvent':_0x1d804f[_0x572106(0x233)]['data']};break;}case _0x8a32d4[_0x572106(0x23b)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x23b)],'leaveEvent':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x350)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x350)],'joinEvent':_0x1d804f[_0x572106(0x233)]['data']};break;}case _0x8a32d4[_0x572106(0x212)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x212)],'liveShareNewHost':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x330)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x330)],'liveShareOperation':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x56e)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x56e)],'liveShareTerminate':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4['LIVESHARE_REQUEST_HOST']:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x5b3)],'liveShareRequestHost':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x462)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x462)]};break;}default:_0x2dadfb={'eventID':_0x1d804f[_0x572106(0x233)][_0x572106(0x1b1)]};}return JSON['stringify']({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)],'collaMsg':_0x2dadfb});}case W['JOIN']:return JSON['stringify']({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)],'joinReq':_0x1d804f[_0x572106(0x233)]});case W[_0x572106(0x2f7)]:return JSON[_0x572106(0x3fc)]({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)],'leaveReq':_0x1d804f[_0x572106(0x233)]});default:throw new Error(_0x572106(0x34a));}}var Wn=Object[_0x59f468(0x29a)],Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x57243a,_0x16d055,_0x65047d,_0x46463e)=>{for(var _0x591fee=_0x46463e>0x1?void 0x0:_0x46463e?Fn(_0x16d055,_0x65047d):_0x16d055,_0x535951=_0x57243a['length']-0x1,_0x1581a4;_0x535951>=0x0;_0x535951--)(_0x1581a4=_0x57243a[_0x535951])&&(_0x591fee=(_0x46463e?_0x1581a4(_0x16d055,_0x65047d,_0x591fee):_0x1581a4(_0x591fee))||_0x591fee);return _0x46463e&&_0x591fee&&Wn(_0x16d055,_0x65047d,_0x591fee),_0x591fee;},qe=(_0x43417f,_0xd3a5ae)=>(_0x1b67f4,_0x5a63f7)=>_0xd3a5ae(_0x1b67f4,_0x5a63f7,_0x43417f);const Vi=_0x4fa8ac(_0x59f468(0x3d4));function Gn(_0x210b9e,_0x19dcd7,_0x3f64de){const _0x5eddcc=_0x59f468;return _0x210b9e+'/'+_0x19dcd7+_0x5eddcc(0x20c)+_0x3f64de+'/new_changes';}let as=class extends _0x19fe63{constructor(_0x143ee7,_0x44dd0c,_0x12d254,_0x575160,_0x4422b7){const _0x6a096f=_0x59f468;super(),this[_0x6a096f(0x3a5)]=_0x143ee7,this[_0x6a096f(0x262)]=_0x44dd0c,this['_configService']=_0x12d254,this[_0x6a096f(0x3b6)]=_0x575160,this[_0x6a096f(0x29d)]=_0x4422b7;}[_0x59f468(0x1d4)](_0x30babf){const _0x2c06c4=_0x59f468,_0x3aa6a8=this[_0x2c06c4(0x262)][_0x2c06c4(0x1d4)](_0x30babf);if(!_0x3aa6a8)throw new Error(_0x2c06c4(0x22b));const _0x5b5085=new _0x2fc363(),_0x35a528=new _0xd6475b();_0x5b5085[_0x2c06c4(0x3ab)](_0x3aa6a8[_0x2c06c4(0x45e)][_0x2c06c4(0x347)](_0x1f72e4=>_0x35a528[_0x2c06c4(0x307)](_0x1f72e4))),_0x5b5085[_0x2c06c4(0x3ab)](_0x510055(()=>_0x35a528[_0x2c06c4(0x3ee)]()));const _0x28d55f=new _0xd6475b();_0x5b5085[_0x2c06c4(0x3ab)](_0x3aa6a8[_0x2c06c4(0x1b6)][_0x2c06c4(0x347)](_0xe82f0e=>_0x28d55f[_0x2c06c4(0x307)](_0xe82f0e))),_0x5b5085[_0x2c06c4(0x3ab)](_0x510055(()=>_0x28d55f[_0x2c06c4(0x3ee)]()));const _0x539d9d=new _0xd6475b();_0x5b5085[_0x2c06c4(0x3ab)](_0x3aa6a8[_0x2c06c4(0x464)][_0x2c06c4(0x347)](_0x31386c=>{const _0x19b42f=_0x2c06c4,_0x2e3a86=Bn(_0x31386c);_0x539d9d[_0x19b42f(0x307)](_0x2e3a86);})),_0x5b5085[_0x2c06c4(0x3ab)](_0x510055(()=>_0x539d9d['complete']()));let _0x3db18c;const _0x90b614=()=>{const _0x55b3f7=_0x2c06c4;_0x28d55f[_0x55b3f7(0x307)](new Event(_0x55b3f7(0x23e))),_0x35a528['next'](new CloseEvent(_0x55b3f7(0x23e))),_0x3db18c[_0x55b3f7(0x459)]();};return _0x3db18c={'memberID':'','close$':_0x35a528[_0x2c06c4(0x472)](),'error$':_0x28d55f['asObservable'](),'open$':_0x3aa6a8[_0x2c06c4(0x4a0)],'message$':_0x539d9d[_0x2c06c4(0x472)](),'send':_0x50b558=>{const _0x3568d1=_0x2c06c4;if(_0x50b558[_0x3568d1(0x3a3)]===W[_0x3568d1(0x5a6)]){if(_0x50b558[_0x3568d1(0x233)][_0x3568d1(0x1b1)]===_0x8a32d4[_0x3568d1(0x5a8)]){this[_0x3568d1(0x559)](_0x3db18c,_0x50b558['data'])['catch'](_0xe326db=>{const _0x2c8f23=_0x3568d1;this[_0x2c8f23(0x3b6)][_0x2c8f23(0x1ec)](_0xe326db),_0x90b614();});return;}if(_0x50b558[_0x3568d1(0x233)][_0x3568d1(0x1b1)]===_0x8a32d4[_0x3568d1(0x443)]){const _0x381612=_0x50b558[_0x3568d1(0x233)];this[_0x3568d1(0x440)](_0x381612)[_0x3568d1(0x4dd)](_0x33fbc3=>{const _0x3ce6ae=_0x3568d1;_0x539d9d[_0x3ce6ae(0x307)]({'cmd':W[_0x3ce6ae(0x3a2)],'code':ws['OK'],'routeKey':_0x381612[_0x3ce6ae(0x233)][_0x3ce6ae(0x405)],'routeType':'','data':{'eventID':_0x8a32d4[_0x3ce6ae(0x48d)],'data':{'changesets':_0x33fbc3}}});})[_0x3568d1(0x1e1)](_0x28cfd4=>{const _0x9317d3=_0x3568d1;this[_0x9317d3(0x3b6)]['error'](_0x28cfd4),_0x90b614();});return;}}_0x3aa6a8[_0x3568d1(0x286)](kn(_0x50b558));},'close':()=>{const _0x5c3c14=_0x2c06c4;_0x3aa6a8[_0x5c3c14(0x459)](),_0x5b5085[_0x5c3c14(0x1ba)]();}},_0x3db18c;}async[_0x59f468(0x559)](_0x107068,_0x1142c2){const _0x4d81f5=_0x59f468;var _0x4fbd21,_0x525975;const {unitType:_0x2caf5f,unitID:_0x50929b,changeset:_0x583eff}=_0x1142c2[_0x4d81f5(0x233)],_0x239731={'unitID':_0x50929b,'memberID':_0x107068[_0x4d81f5(0x31e)],'type':_0x2caf5f,'changeset':_0x51288e(_0x583eff)},_0x375556=this['_configService']['getConfig'](xn),_0x977117=this[_0x4d81f5(0x58b)][_0x4d81f5(0x55d)](Q),_0x499e05=Gn((_0x525975=(_0x4fbd21=_0x977117==null?void 0x0:_0x977117[_0x4d81f5(0x43c)])!=null?_0x4fbd21:_0x375556)!=null?_0x525975:Ln,_0x2caf5f,_0x50929b);try{await this['_http'][_0x4d81f5(0x32e)](_0x499e05,{'body':_0x239731});}catch(_0x3dc4f8){throw this[_0x4d81f5(0x3b6)][_0x4d81f5(0x1ec)](_0x4d81f5(0x276),_0x4d81f5(0x291)),_0x3dc4f8;}}async['_fetchMissChangesets'](_0x23a726){const _0x46f96b=_0x59f468,{unitID:_0x123c78,from:_0x57286d,to:_0x4b4395,unitType:_0x55df90}=_0x23a726['data'];return(await this[_0x46f96b(0x29d)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x123c78,'type':_0x55df90,'from':_0x57286d,'to':_0x4b4395}))['changesets'];}};as=Vn([qe(0x0,_0x222038(_0x216536)),qe(0x1,_0x222038(_0x5cdeee)),qe(0x2,_0x486aed),qe(0x3,_0x37805d),qe(0x4,_0x24bd52)],as);const Yn=_0x59f468(0x55f);function Kn(_0xda19a9){const _0x2b2c75=_0x59f468;return JSON[_0x2b2c75(0x3fc)](_0xda19a9)[_0x2b2c75(0x21a)];}class Gi{constructor(){const _0x17a13c=_0x59f468;g(this,_0x17a13c(0x548),new _0xd6475b()),g(this,_0x17a13c(0x57e),this[_0x17a13c(0x548)][_0x17a13c(0x472)]());}[_0x59f468(0x4fa)](_0x4e5a2d){const _0x3ff7cd=_0x59f468;this[_0x3ff7cd(0x548)][_0x3ff7cd(0x307)](_0x4e5a2d);}}var qn=Object[_0x59f468(0x29a)],zn=Object['getOwnPropertyDescriptor'],Xn=(_0x1cef08,_0x2e16a6,_0x14f7b2,_0x4d9622)=>{const _0x10aae1=_0x59f468;for(var _0x405e61=_0x4d9622>0x1?void 0x0:_0x4d9622?zn(_0x2e16a6,_0x14f7b2):_0x2e16a6,_0xdd0eb2=_0x1cef08[_0x10aae1(0x21a)]-0x1,_0x2700e5;_0xdd0eb2>=0x0;_0xdd0eb2--)(_0x2700e5=_0x1cef08[_0xdd0eb2])&&(_0x405e61=(_0x4d9622?_0x2700e5(_0x2e16a6,_0x14f7b2,_0x405e61):_0x2700e5(_0x405e61))||_0x405e61);return _0x4d9622&&_0x405e61&&qn(_0x2e16a6,_0x14f7b2,_0x405e61),_0x405e61;},Ks=(_0x5ca33d,_0x49c7ed)=>(_0x8e0690,_0x337eb9)=>_0x49c7ed(_0x8e0690,_0x337eb9,_0x5ca33d);let Ae=class extends _0x19fe63{constructor(_0x14d5d7,_0x8b66e2){const _0x4ddfae=_0x59f468;super(),g(this,'_roomMembers',new Map()),(this[_0x4ddfae(0x525)]=_0x14d5d7,this[_0x4ddfae(0x19c)]=_0x8b66e2,this['disposeWithMe'](_0x510055(_0x5becde(this[_0x4ddfae(0x525)]['getTypeOfUnitDisposed$'](_0x52550e[_0x4ddfae(0x2b0)])['pipe'](_0x3968e0(_0x2f993c=>_0x2f993c[_0x4ddfae(0x25c)]())),this[_0x4ddfae(0x525)][_0x4ddfae(0x31a)](_0x52550e['UNIVER_DOC'])[_0x4ddfae(0x318)](_0x3968e0(_0x244168=>_0x244168[_0x4ddfae(0x25c)]())),this['_univerInstanceService'][_0x4ddfae(0x31a)](_0x52550e[_0x4ddfae(0x4b5)])[_0x4ddfae(0x318)](_0x3968e0(_0x3fa584=>_0x3fa584[_0x4ddfae(0x25c)]())))[_0x4ddfae(0x347)](_0x27e477=>this['_removeRoom'](_0x27e477)))));}[_0x59f468(0x1a4)](_0x1ffe46){const _0x48f6fd=_0x59f468;this['_userManagerService'][_0x48f6fd(0x1a4)](_0x1ffe46);}[_0x59f468(0x542)](){const _0x576720=_0x59f468;return this[_0x576720(0x19c)][_0x576720(0x542)]();}['updateMember'](_0x227c44,_0x1c5724){const _0x1a73dd=_0x59f468;let _0x352a9b=this[_0x1a73dd(0x500)][_0x1a73dd(0x25d)](_0x227c44);_0x352a9b||(_0x352a9b=new Jn(),this[_0x1a73dd(0x500)][_0x1a73dd(0x279)](_0x227c44,_0x352a9b)),_0x352a9b[_0x1a73dd(0x3aa)](_0x1c5724);}[_0x59f468(0x211)](_0x556493,_0x5f2aac){const _0x52e657=_0x59f468,_0x574167=this[_0x52e657(0x500)]['get'](_0x556493);_0x574167&&_0x574167[_0x52e657(0x211)](_0x5f2aac);}[_0x59f468(0x2c7)](_0x2a9e0c){const _0x5e5a39=_0x59f468;return this[_0x5e5a39(0x500)]['get'](_0x2a9e0c);}[_0x59f468(0x2ac)](_0x584a49,_0x38ff4a){const _0x5a7661=_0x59f468,_0x43cdaa=this[_0x5a7661(0x500)][_0x5a7661(0x25d)](_0x584a49);if(_0x43cdaa)return _0x43cdaa['getMember'](_0x38ff4a);}[_0x59f468(0x39a)](_0x2ebb26){const _0x38b6e4=_0x59f468,_0x1786d7=this[_0x38b6e4(0x500)][_0x38b6e4(0x25d)](_0x2ebb26);_0x1786d7&&(_0x1786d7[_0x38b6e4(0x1ba)](),this[_0x38b6e4(0x500)][_0x38b6e4(0x29e)](_0x2ebb26));}['dispose'](){const _0x438645=_0x59f468;this[_0x438645(0x500)]['forEach'](_0x24bbad=>_0x24bbad[_0x438645(0x1ba)]()),this[_0x438645(0x500)][_0x438645(0x58a)]();}};Ae=Xn([Ks(0x0,_0xd7de45),Ks(0x1,_0x222038(_0x581f13))],Ae);class Jn extends _0x19fe63{constructor(){const _0x409238=_0x59f468;super(...arguments),g(this,_0x409238(0x26c),new Map());}[_0x59f468(0x1ba)](){const _0x5f8f5b=_0x59f468;this[_0x5f8f5b(0x26c)][_0x5f8f5b(0x58a)]();}['updateMember'](_0x2eebb6){const _0x1becba=_0x59f468;this[_0x1becba(0x26c)][_0x1becba(0x279)](_0x2eebb6['memberID'],_0x2eebb6);}[_0x59f468(0x211)](_0xe99f6){const _0x128126=_0x59f468;this['_members'][_0x128126(0x29e)](_0xe99f6);}[_0x59f468(0x2ac)](_0x468437){const _0x56902b=_0x59f468;return this[_0x56902b(0x26c)][_0x56902b(0x25d)](_0x468437);}[_0x59f468(0x3e9)](){const _0x270948=_0x59f468;return Array['from'](this[_0x270948(0x26c)]['values']());}}var Zn=Object[_0x59f468(0x29a)],Qn=Object[_0x59f468(0x368)],eo=(_0x283de2,_0x322505,_0x47bb18,_0x64fb86)=>{for(var _0x45af6f=_0x64fb86>0x1?void 0x0:_0x64fb86?Qn(_0x322505,_0x47bb18):_0x322505,_0x1b9edc=_0x283de2['length']-0x1,_0xc26426;_0x1b9edc>=0x0;_0x1b9edc--)(_0xc26426=_0x283de2[_0x1b9edc])&&(_0x45af6f=(_0x64fb86?_0xc26426(_0x322505,_0x47bb18,_0x45af6f):_0xc26426(_0x45af6f))||_0x45af6f);return _0x64fb86&&_0x45af6f&&Zn(_0x322505,_0x47bb18,_0x45af6f),_0x45af6f;},Ee=(_0xe9a733,_0x51b3f6)=>(_0x1acbbf,_0x4c0db7)=>_0x51b3f6(_0x1acbbf,_0x4c0db7,_0xe9a733),fe=(_0x44505e=>(_0x44505e[_0x44505e[_0x59f468(0x27d)]=0x0]='IDLE',_0x44505e[_0x44505e[_0x59f468(0x3e7)]=0x1]=_0x59f468(0x3e7),_0x44505e[_0x44505e[_0x59f468(0x37c)]=0x2]=_0x59f468(0x37c),_0x44505e[_0x44505e[_0x59f468(0x3b5)]=0x3]=_0x59f468(0x3b5),_0x44505e))(fe||{});let cs=class extends _0x2c59cd{constructor(_0x246a41,_0x1a2fac,_0x2868b7,_0x2a18d6,_0x53be9c,_0x5d7107,_0x59c84d,_0x5e0e5a,_0x392935,_0x4d8018){const _0x1bfb55=_0x59f468;super(),g(this,_0x1bfb55(0x1fa),new _0x1f1fc6(0x0)),g(this,_0x1bfb55(0x27b),this[_0x1bfb55(0x1fa)][_0x1bfb55(0x472)]()),g(this,_0x1bfb55(0x4fc),new _0xd6475b()),g(this,_0x1bfb55(0x529),this['_event$'][_0x1bfb55(0x472)]()),g(this,_0x1bfb55(0x588)),g(this,_0x1bfb55(0x3d7)),g(this,_0x1bfb55(0x3f6)),g(this,'_shouldReportTelemetry',!0x1),g(this,'_telemetryInfo',null),(this[_0x1bfb55(0x403)]=_0x246a41,this[_0x1bfb55(0x3b6)]=_0x2868b7,this[_0x1bfb55(0x54b)]=_0x2a18d6,this[_0x1bfb55(0x3bb)]=_0x53be9c,this[_0x1bfb55(0x58b)]=_0x5d7107,this['_localeService']=_0x59c84d,this['_memberService']=_0x5e0e5a,this[_0x1bfb55(0x578)]=_0x392935,this[_0x1bfb55(0x450)]=_0x4d8018,this[_0x1bfb55(0x545)]=!!this[_0x1bfb55(0x450)],_0x1a2fac[_0x1bfb55(0x318)](_0x2eaf5f(this[_0x1bfb55(0x2c5)]))[_0x1bfb55(0x347)](_0x2527c5=>{const _0x1cae7f=_0x1bfb55;var _0x19dea9;typeof _0x2527c5>'u'||(this[_0x1cae7f(0x588)]=_0x2527c5,_0x2527c5?(this[_0x1cae7f(0x21e)](_0x2527c5),this[_0x1cae7f(0x3d7)]=_0x2527c5[_0x1cae7f(0x464)][_0x1cae7f(0x347)](_0x55e1e2=>{const _0x92a804=_0x1cae7f;_0x55e1e2[_0x92a804(0x1c3)]===this[_0x92a804(0x403)]&&this[_0x92a804(0x3a9)](_0x55e1e2);})):(this[_0x1cae7f(0x308)](),this[_0x1cae7f(0x1fa)][_0x1cae7f(0x307)](0x2),(_0x19dea9=this[_0x1cae7f(0x3d7)])==null||_0x19dea9[_0x1cae7f(0x372)](),this[_0x1cae7f(0x3d7)]=null));}),this[_0x1bfb55(0x4e2)](this['_beforeCloseService'][_0x1bfb55(0x3c1)](()=>{const _0x5c7650=_0x1bfb55;var _0xa672a3;(_0xa672a3=this[_0x5c7650(0x588)])==null||_0xa672a3[_0x5c7650(0x286)]({'cmd':W[_0x5c7650(0x2f7)],'data':{'roomID':this[_0x5c7650(0x403)]}});})));}get[_0x59f468(0x3f1)](){const _0x2c3429=_0x59f468;return this['_sessionStatus$'][_0x2c3429(0x44d)]();}[_0x59f468(0x34f)](){const _0x5974f8=_0x59f468;var _0x485457,_0x28034c;return(_0x28034c=(_0x485457=this[_0x5974f8(0x588)])==null?void 0x0:_0x485457['memberID'])!=null?_0x28034c:null;}['dispose'](){const _0x2c1940=_0x59f468;super['dispose'](),this[_0x2c1940(0x2c5)]['next'](),this['dispose$'][_0x2c1940(0x3ee)]();}[_0x59f468(0x459)](){const _0x580023=_0x59f468;var _0x45e6b7,_0x1bd62c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x45e6b7=this[_0x580023(0x588)])==null||_0x45e6b7['send']({'cmd':W[_0x580023(0x2f7)],'data':{'roomID':this['_unitID']}}),(_0x1bd62c=this[_0x580023(0x588)])==null||_0x1bd62c[_0x580023(0x459)](),this[_0x580023(0x4fc)][_0x580023(0x3ee)](),this[_0x580023(0x1fa)][_0x580023(0x3ee)](),this['dispose']();}['_onCombEvent'](_0x5211ca){const _0x477788=_0x59f468;_0x5211ca[_0x477788(0x3a3)]===W['JOIN']?this[_0x477788(0x51b)](_0x5211ca):_0x5211ca[_0x477788(0x3a3)]===W['RECV']&&this[_0x477788(0x269)](_0x5211ca);}[_0x59f468(0x21e)](_0x1f8802){const _0xac8a60=_0x59f468;this[_0xac8a60(0x1fa)]['next'](0x1),_0x1f8802[_0xac8a60(0x286)]({'cmd':W[_0xac8a60(0x576)],'routeKey':this[_0xac8a60(0x403)],'routeType':'','data':{'rooms':[{'roomID':this[_0xac8a60(0x403)]}]}});}[_0x59f468(0x51b)](_0x2a3a3a){const _0x7a2e47=_0x59f468;var _0x468dd0;if(_0x2a3a3a[_0x7a2e47(0x2b1)]===ws[_0x7a2e47(0x565)]){this['_messageService'][_0x7a2e47(0x31c)]({'type':_0x47f0e7[_0x7a2e47(0x19a)],'content':this[_0x7a2e47(0x58c)]['t']('session.room-full')}),this[_0x7a2e47(0x1fa)][_0x7a2e47(0x307)](0x2);return;}this[_0x7a2e47(0x1fa)]['next'](0x3);const _0x1d6270=(_0x468dd0=_0x2a3a3a[_0x7a2e47(0x233)][_0x7a2e47(0x5a9)][this[_0x7a2e47(0x403)]])==null?void 0x0:_0x468dd0['members'];_0x1d6270&&_0x1d6270[_0x7a2e47(0x3b0)](_0x343c77=>this[_0x7a2e47(0x43b)][_0x7a2e47(0x3aa)](this[_0x7a2e47(0x403)],_0x343c77));}['_onRecvEvent'](_0x53b355){const _0x3e7bc0=_0x59f468;try{const _0x21c059=_0x53b355['data'];switch(_0x21c059[_0x3e7bc0(0x1b1)]){case _0x8a32d4['USERS_ENTER']:this['_onUserJoin'](_0x21c059),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4[_0x3e7bc0(0x23b)]:this[_0x3e7bc0(0x5ad)](_0x21c059),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4[_0x3e7bc0(0x3ea)]:case _0x8a32d4[_0x3e7bc0(0x445)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3e7bc0(0x448)](),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4[_0x3e7bc0(0x201)]:this[_0x3e7bc0(0x3b6)][_0x3e7bc0(0x1ec)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3e7bc0(0x3fc)](_0x21c059)),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4['COMMENT_UPDATE']:this['_commentService'][_0x3e7bc0(0x4fa)](_0x21c059['data']),this['_event$'][_0x3e7bc0(0x307)](_0x21c059);break;default:this[_0x3e7bc0(0x4fc)][_0x3e7bc0(0x307)](_0x21c059);}}catch(_0x20b8d0){this[_0x3e7bc0(0x3b6)][_0x3e7bc0(0x1ec)](_0x20b8d0,_0x53b355);}}[_0x59f468(0x274)](_0x42349a){const _0x29429a=_0x59f468;this[_0x29429a(0x43b)]['updateMember'](this['_unitID'],_0x42349a[_0x29429a(0x233)]);}[_0x59f468(0x5ad)](_0x45fe39){const _0x5ed72c=_0x59f468;this[_0x5ed72c(0x43b)][_0x5ed72c(0x211)](this[_0x5ed72c(0x403)],_0x45fe39[_0x5ed72c(0x233)][_0x5ed72c(0x31e)]);}async[_0x59f468(0x286)](_0x5dc2ca,_0x22177b){const _0x35b5e3=_0x59f468;if(this[_0x35b5e3(0x3f1)]!==0x3||!this[_0x35b5e3(0x588)])throw new Error(_0x35b5e3(0x50b));try{_0x5dc2ca[_0x35b5e3(0x1b1)]===_0x8a32d4[_0x35b5e3(0x5a8)]&&(this[_0x35b5e3(0x256)](),this[_0x35b5e3(0x455)](_0x5dc2ca)),this[_0x35b5e3(0x588)][_0x35b5e3(0x286)]({'cmd':W[_0x35b5e3(0x5a6)],'routeKey':_0x22177b,'routeType':'','data':_0x5dc2ca});}catch(_0x475837){this[_0x35b5e3(0x3b6)][_0x35b5e3(0x1ec)](_0x475837);}}[_0x59f468(0x256)](){const _0x474a6c=_0x59f468;var _0x5674f7;this['_collaborationTimeoutTimer']=window['setTimeout'](()=>{const _0x529edd=_0x2eda;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x529edd(0x31c)]({'type':_0x47f0e7['Error'],'content':this['_localeService']['t'](_0x529edd(0x1a7))});},(_0x5674f7=this['_configService'][_0x474a6c(0x55d)](Bi))!=null?_0x5674f7:ki);}[_0x59f468(0x448)](){const _0x227aa2=_0x59f468;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x227aa2(0x3f6)]=null);}[_0x59f468(0x455)](_0x263284){const _0xd90046=_0x59f468;if(!this[_0xd90046(0x545)])return;const {data:_0xd5584}=_0x263284,{unitID:_0x4d9035,changeset:_0x24d7f8}=_0xd5584,{mutations:_0x1f30f8,type:_0x4a90f7}=_0x24d7f8;this[_0xd90046(0x413)]={'unitId':_0x4d9035,'type':_0x4a90f7,'startTime':performance[_0xd90046(0x1db)](),'stopTime':0x0,'duration':0x0,'size':Kn(_0x1f30f8)};}[_0x59f468(0x536)](){const _0x40cfac=_0x59f468;if(this['_shouldReportTelemetry']){if(!this[_0x40cfac(0x413)]){this[_0x40cfac(0x3b6)][_0x40cfac(0x1ec)](_0x40cfac(0x276),_0x40cfac(0x3d3));return;}this[_0x40cfac(0x413)]['stopTime']=performance['now'](),this[_0x40cfac(0x413)][_0x40cfac(0x490)]=this[_0x40cfac(0x413)]['stopTime']-this['_telemetryInfo'][_0x40cfac(0x543)],this[_0x40cfac(0x450)][_0x40cfac(0x325)](Yn,this[_0x40cfac(0x413)]),this[_0x40cfac(0x413)]=null;}}[_0x59f468(0x308)](){this['_telemetryInfo']=null;}};cs=eo([Ee(0x2,_0x37805d),Ee(0x3,_0x28b31b),Ee(0x4,_0x3bbf26),Ee(0x5,_0x486aed),Ee(0x6,_0x222038(_0x52880d)),Ee(0x7,_0x222038(Ae)),Ee(0x8,_0x222038(Gi)),Ee(0x9,_0x3a5345(_0x30dd3c))],cs);var to=Object[_0x59f468(0x29a)],so=Object['getOwnPropertyDescriptor'],io=(_0x3a160d,_0x20c0de,_0x2ea421,_0x4e2613)=>{for(var _0x300309=_0x4e2613>0x1?void 0x0:_0x4e2613?so(_0x20c0de,_0x2ea421):_0x20c0de,_0x19284c=_0x3a160d['length']-0x1,_0x4f3783;_0x19284c>=0x0;_0x19284c--)(_0x4f3783=_0x3a160d[_0x19284c])&&(_0x300309=(_0x4e2613?_0x4f3783(_0x20c0de,_0x2ea421,_0x300309):_0x4f3783(_0x300309))||_0x300309);return _0x4e2613&&_0x300309&&to(_0x20c0de,_0x2ea421,_0x300309),_0x300309;},ye=(_0x12db5b,_0x4e8ee9)=>(_0x148ef0,_0x10783e)=>_0x4e8ee9(_0x148ef0,_0x10783e,_0x12db5b);let Me=class extends _0x19fe63{constructor(_0x2061c9,_0x5e2f2f,_0x5d3a99,_0x8db620,_0x4429ce,_0x94bc9d,_0x4f3354){const _0x3763e2=_0x59f468;super(),g(this,'_socket$',new _0x1f1fc6(void 0x0)),g(this,'socket$',this['_socket$']['asObservable']()),g(this,_0x3763e2(0x4ad),null),g(this,'_sessions',new Map()),g(this,_0x3763e2(0x1c6),new _0x1f1fc6(fe[_0x3763e2(0x27d)])),g(this,_0x3763e2(0x215),this['_status$']['asObservable']()),g(this,_0x3763e2(0x24c),!0x1),g(this,_0x3763e2(0x59b)),g(this,_0x3763e2(0x3fe),0x0),g(this,_0x3763e2(0x49d)),g(this,'_timeoutTimer'),(this[_0x3763e2(0x351)]=_0x2061c9,this['_localeService']=_0x5e2f2f,this['_messageService']=_0x5d3a99,this['_logService']=_0x8db620,this[_0x3763e2(0x58b)]=_0x4429ce,this[_0x3763e2(0x2a2)]=_0x94bc9d,this['_httpService']=_0x4f3354,this[_0x3763e2(0x4d1)]());}get[_0x59f468(0x588)](){const _0x5e21fe=_0x59f468;return this[_0x5e21fe(0x1b2)]['getValue']();}[_0x59f468(0x4d1)](){const _0x422637=_0x59f468;this[_0x422637(0x498)](),this['_listenToOnlineEvent']();}[_0x59f468(0x1ba)](){const _0x3808f4=_0x59f468;super[_0x3808f4(0x1ba)](),this[_0x3808f4(0x476)][_0x3808f4(0x3b0)](_0xe177e6=>_0xe177e6['dispose']()),this[_0x3808f4(0x476)][_0x3808f4(0x58a)](),this[_0x3808f4(0x1c6)][_0x3808f4(0x3ee)]();}async[_0x59f468(0x55c)](_0x1341df){const _0x1a0ef2=_0x59f468;if(this['_sessions'][_0x1a0ef2(0x309)](_0x1341df))return this[_0x1a0ef2(0x476)][_0x1a0ef2(0x25d)](_0x1341df);this[_0x1a0ef2(0x304)]();const _0x34ea12=this[_0x1a0ef2(0x351)][_0x1a0ef2(0x2d8)](cs,_0x1341df,this[_0x1a0ef2(0x1b2)][_0x1a0ef2(0x472)]());return this[_0x1a0ef2(0x476)][_0x1a0ef2(0x279)](_0x1341df,_0x34ea12),_0x34ea12;}['closeSession'](_0x3e5c5b){const _0x5c8ce3=_0x59f468;var _0x5a7a42;const _0x3da0e2=this[_0x5c8ce3(0x476)][_0x5c8ce3(0x25d)](_0x3e5c5b);_0x3da0e2&&(this[_0x5c8ce3(0x476)][_0x5c8ce3(0x29e)](_0x3e5c5b),_0x3da0e2['close']()),this[_0x5c8ce3(0x476)][_0x5c8ce3(0x49b)]||(_0x5a7a42=this[_0x5c8ce3(0x588)])==null||_0x5a7a42[_0x5c8ce3(0x459)]();}[_0x59f468(0x587)](){const _0x3fa704=_0x59f468;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3fa704(0x59b)]),this['_retryConnectingTimer']=null),this[_0x3fa704(0x40a)]();}async[_0x59f468(0x4a7)](){const _0x2c04d0=_0x59f468;var _0x845952,_0x19d8c1,_0x4c1f16;const _0x42bfd7=this[_0x2c04d0(0x58b)][_0x2c04d0(0x55d)](Q),_0x5af8c3=(_0x845952=_0x42bfd7==null?void 0x0:_0x42bfd7[_0x2c04d0(0x24e)])!=null?_0x845952:yn;return(_0x4c1f16=(_0x19d8c1=(await this[_0x2c04d0(0x2e7)][_0x2c04d0(0x25d)](_0x5af8c3,{'headers':{'Content-Type':_0x2c04d0(0x595)}}))[_0x2c04d0(0x444)])==null?void 0x0:_0x19d8c1['ticket'])!=null?_0x4c1f16:'';}[_0x59f468(0x1bf)](_0x533a10){const _0x157314=_0x59f468;var _0x3e894a,_0x7866c2;const _0x30f0ae=this[_0x157314(0x58b)][_0x157314(0x55d)](Rn),_0x376c83=this[_0x157314(0x58b)][_0x157314(0x55d)](Q),_0x367b29=(_0x7866c2=(_0x3e894a=_0x376c83==null?void 0x0:_0x376c83[_0x157314(0x255)])!=null?_0x3e894a:_0x30f0ae)!=null?_0x7866c2:On,_0x453909=new URL(_0x367b29,window[_0x157314(0x30e)][_0x157314(0x4d7)]);return _0x453909[_0x157314(0x4f2)][_0x157314(0x279)](_0x157314(0x40c),_0x533a10),_0x453909[_0x157314(0x4a1)]();}async[_0x59f468(0x1c2)](){const _0xbd84c8=_0x59f468,_0x50cd3f=await this[_0xbd84c8(0x4a7)](),_0x295c51=this[_0xbd84c8(0x1bf)](_0x50cd3f),_0x11c564=this['_socketService']['createSocket'](_0x295c51);return this['_candidateSocket']=_0x11c564,_0x11c564;}async[_0x59f468(0x304)](){const _0x1a3a66=_0x59f468;var _0x216029,_0x3c696a;try{const _0x241742=(_0x3c696a=(_0x216029=this[_0x1a3a66(0x588)])!=null?_0x216029:this[_0x1a3a66(0x4ad)])!=null?_0x3c696a:await this[_0x1a3a66(0x1c2)]();if(_0x241742){const _0x7ea728=_0x241742[_0x1a3a66(0x286)];_0x241742[_0x1a3a66(0x286)]=_0x1433e1=>(this['_rescheduleHeartbeat'](),_0x7ea728['apply'](_0x241742,[_0x1433e1])),_0x241742[_0x1a3a66(0x464)][_0x1a3a66(0x347)](_0x3c1e84=>this['_onMessage'](_0x241742,_0x3c1e84)),_0x241742[_0x1a3a66(0x1b6)][_0x1a3a66(0x318)](_0x44e846(0x1))[_0x1a3a66(0x347)](_0x20c6d4=>this[_0x1a3a66(0x3b6)][_0x1a3a66(0x1ec)](_0x1a3a66(0x439),_0x20c6d4)),_0x241742[_0x1a3a66(0x4a0)][_0x1a3a66(0x318)](_0x44e846(0x1))[_0x1a3a66(0x347)](()=>{const _0x5b3ac0=_0x1a3a66;this[_0x5b3ac0(0x227)](_0x241742);}),_0x241742[_0x1a3a66(0x45e)]['pipe'](_0x44e846(0x1))['subscribe'](_0x1bada4=>{const _0x42d01d=_0x1a3a66;this[_0x42d01d(0x3b6)][_0x42d01d(0x48b)]('[CollaborationSessionService]',_0x42d01d(0x4b3),_0x1bada4),this[_0x42d01d(0x1f3)]();});}}catch(_0x1bda03){this[_0x1a3a66(0x3b6)]['error'](_0x1bda03),this[_0x1a3a66(0x1f3)]();}}[_0x59f468(0x227)](_0x6fa55){const _0x463724=_0x59f468;this['_logService'][_0x463724(0x48b)]('[CollaborationSessionService]',_0x463724(0x352)),_0x6fa55[_0x463724(0x286)]({'cmd':W[_0x463724(0x2eb)]}),this[_0x463724(0x397)]();}[_0x59f468(0x498)](){const _0x283fbd=_0x59f468;window[_0x283fbd(0x59a)](_0x283fbd(0x553),()=>this[_0x283fbd(0x33d)]());}['_onOffline'](){const _0x188f59=_0x59f468;this[_0x188f59(0x24c)]=!0x1,this[_0x188f59(0x4ad)]=null,this['_status$'][_0x188f59(0x307)](fe[_0x188f59(0x37c)]),this['_socket$'][_0x188f59(0x307)](null),this['_clearTimeoutTimer'](),this[_0x188f59(0x3bf)]();}[_0x59f468(0x1f3)](){const _0x485285=_0x59f468;var _0x468926;this[_0x485285(0x33d)](),this[_0x485285(0x3fe)]<((_0x468926=this[_0x485285(0x58b)][_0x485285(0x55d)](Un))!=null?_0x468926:Nn)?(this[_0x485285(0x3bb)][_0x485285(0x31c)]({'key':_0x485285(0x407),'type':_0x47f0e7['Warning'],'content':this[_0x485285(0x58c)]['t']('session.will-retry')}),this[_0x485285(0x40a)]()):this['_messageService'][_0x485285(0x31c)]({'key':_0x485285(0x407),'type':_0x47f0e7['Error'],'content':this[_0x485285(0x58c)]['t'](_0x485285(0x1d6))});}[_0x59f468(0x4c2)](){const _0x5c3ca5=_0x59f468,_0x257acf=()=>{const _0x1724d8=_0x2eda;this[_0x1724d8(0x588)]||this[_0x1724d8(0x587)]();},_0x34a932=()=>{const _0x1e762b=_0x2eda;this[_0x1e762b(0x588)]||document[_0x1e762b(0x583)]===_0x1e762b(0x345)||this[_0x1e762b(0x587)]();};window[_0x5c3ca5(0x59a)](_0x5c3ca5(0x56b),_0x257acf),document[_0x5c3ca5(0x59a)](_0x5c3ca5(0x434),_0x34a932);}[_0x59f468(0x40a)](){const _0x350d2c=_0x59f468;var _0x49372c;const _0x4d4319=this[_0x350d2c(0x3fe)],_0x5235cb=this[_0x350d2c(0x58b)][_0x350d2c(0x55d)](Q),_0x825202=_0x4d4319===0x0?0x0:((_0x49372c=_0x5235cb==null?void 0x0:_0x5235cb[_0x350d2c(0x479)])!=null?_0x49372c:Pn)*0x2**_0x4d4319;this[_0x350d2c(0x59b)]=window[_0x350d2c(0x2b7)](()=>{const _0x2a3b6d=_0x350d2c;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x2a3b6d(0x304)]();},_0x825202),this[_0x350d2c(0x3fe)]+=0x1;}['_onMessage'](_0x2c5b82,_0x23009e){const _0xa20fe5=_0x59f468,{cmd:_0x28a19a}=_0x23009e;_0x28a19a===W[_0xa20fe5(0x2eb)]&&!this[_0xa20fe5(0x24c)]&&(_0x2c5b82[_0xa20fe5(0x31e)]=_0x23009e['data']['memberID'],this['_socket$']['next'](_0x2c5b82),this[_0xa20fe5(0x1c6)]['next'](fe[_0xa20fe5(0x3b5)]),this[_0xa20fe5(0x24c)]=!0x0,this[_0xa20fe5(0x4ad)]=null),_0x28a19a===W[_0xa20fe5(0x28b)]&&this[_0xa20fe5(0x477)](),this['_rescheduleHeartbeat']();}[_0x59f468(0x397)](){const _0x532260=_0x59f468;var _0x27ecb8;this[_0x532260(0x3bf)](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this[_0x532260(0x3d2)](),(_0x27ecb8=this[_0x532260(0x58b)][_0x532260(0x55d)](wn))!=null?_0x27ecb8:Dn);}[_0x59f468(0x3d2)](){const _0x5a2191=_0x59f468;this[_0x5a2191(0x588)][_0x5a2191(0x286)]({'cmd':W['HEARTBEAT']}),this[_0x5a2191(0x454)]();}[_0x59f468(0x454)](){const _0x2c404c=_0x59f468;var _0x53cbb2;this[_0x2c404c(0x534)]=window['setTimeout'](()=>this[_0x2c404c(0x1f3)](),(_0x53cbb2=this[_0x2c404c(0x58b)][_0x2c404c(0x55d)](Bi))!=null?_0x53cbb2:ki);}[_0x59f468(0x3bf)](){const _0x3983fb=_0x59f468;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3983fb(0x49d)]),this[_0x3983fb(0x49d)]=null);}[_0x59f468(0x477)](){const _0x40e69c=_0x59f468;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x40e69c(0x534)]),this[_0x40e69c(0x534)]=null);}};Me=io([ye(0x0,_0x222038(_0x2e1c56)),ye(0x1,_0x222038(_0x52880d)),ye(0x2,_0x3bbf26),ye(0x3,_0x37805d),ye(0x4,_0x486aed),ye(0x5,Vi),ye(0x6,_0x222038(_0x216536))],Me);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x59f468(0x4cf)]((i+0x100)[_0x59f468(0x4a1)](0x10)[_0x59f468(0x38c)](0x1));function ro(_0x2eefd0,_0xbffe89=0x0){const _0xaa1864=_0x59f468;return(Y[_0x2eefd0[_0xbffe89+0x0]]+Y[_0x2eefd0[_0xbffe89+0x1]]+Y[_0x2eefd0[_0xbffe89+0x2]]+Y[_0x2eefd0[_0xbffe89+0x3]]+'-'+Y[_0x2eefd0[_0xbffe89+0x4]]+Y[_0x2eefd0[_0xbffe89+0x5]]+'-'+Y[_0x2eefd0[_0xbffe89+0x6]]+Y[_0x2eefd0[_0xbffe89+0x7]]+'-'+Y[_0x2eefd0[_0xbffe89+0x8]]+Y[_0x2eefd0[_0xbffe89+0x9]]+'-'+Y[_0x2eefd0[_0xbffe89+0xa]]+Y[_0x2eefd0[_0xbffe89+0xb]]+Y[_0x2eefd0[_0xbffe89+0xc]]+Y[_0x2eefd0[_0xbffe89+0xd]]+Y[_0x2eefd0[_0xbffe89+0xe]]+Y[_0x2eefd0[_0xbffe89+0xf]])[_0xaa1864(0x4c8)]();}let Vt;const no=new Uint8Array(0x10);function oo(){const _0x58fb55=_0x59f468;if(!Vt){if(typeof crypto>'u'||!crypto[_0x58fb55(0x4cc)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Vt=crypto[_0x58fb55(0x4cc)]['bind'](crypto);}return Vt(no);}const ao=typeof crypto<'u'&&crypto[_0x59f468(0x5aa)]&&crypto[_0x59f468(0x5aa)]['bind'](crypto),qs={'randomUUID':ao};function co(_0x488ff9,_0x1ef65a,_0x234c70){const _0x1b4e94=_0x59f468;if(qs[_0x1b4e94(0x5aa)]&&!_0x1ef65a&&!_0x488ff9)return qs[_0x1b4e94(0x5aa)]();_0x488ff9=_0x488ff9||{};const _0x556a0f=_0x488ff9[_0x1b4e94(0x585)]||(_0x488ff9[_0x1b4e94(0x4ab)]||oo)();return _0x556a0f[0x6]=_0x556a0f[0x6]&0xf|0x40,_0x556a0f[0x8]=_0x556a0f[0x8]&0x3f|0x80,ro(_0x556a0f);}var ho=Object[_0x59f468(0x29a)],lo=Object[_0x59f468(0x368)],_o=(_0x1ff5b5,_0x236b0a,_0x4f4d26,_0x59754d)=>{const _0x1eb969=_0x59f468;for(var _0x34fe4c=_0x59754d>0x1?void 0x0:_0x59754d?lo(_0x236b0a,_0x4f4d26):_0x236b0a,_0x59a982=_0x1ff5b5[_0x1eb969(0x21a)]-0x1,_0xf83bfe;_0x59a982>=0x0;_0x59a982--)(_0xf83bfe=_0x1ff5b5[_0x59a982])&&(_0x34fe4c=(_0x59754d?_0xf83bfe(_0x236b0a,_0x4f4d26,_0x34fe4c):_0xf83bfe(_0x34fe4c))||_0x34fe4c);return _0x59754d&&_0x34fe4c&&ho(_0x236b0a,_0x4f4d26,_0x34fe4c),_0x34fe4c;},Gt=(_0x598b5c,_0x6b3d6a)=>(_0x446095,_0x166d32)=>_0x6b3d6a(_0x446095,_0x166d32,_0x598b5c);let Ot=class{constructor(_0x41b1a6,_0x56d89b,_0x49966e){const _0x1ad2ba=_0x59f468;this[_0x1ad2ba(0x351)]=_0x41b1a6,this['_transformService']=_0x56d89b,this[_0x1ad2ba(0x342)]=_0x49966e;}[_0x59f468(0x35f)](_0x515c4c){const _0x21431c=_0x59f468;this[_0x21431c(0x4df)](_0x515c4c),this[_0x21431c(0x358)](_0x515c4c);}[_0x59f468(0x425)](_0x21fdd4){const _0x4f8c9d=_0x59f468,{unitID:_0x238869}=_0x21fdd4,_0x4d04e2=this[_0x4f8c9d(0x342)][_0x4f8c9d(0x4cb)](_0x238869)[_0x4f8c9d(0x461)](_0x3c4a23),{redoCache:_0x3bc9c8}=_0x4d04e2['getUndoRedoMutationParamsCache']();if(_0x3bc9c8[_0x4f8c9d(0x21a)]===0x0)return _0x21fdd4;let _0x13799f=_0x218f61[_0x4f8c9d(0x217)](_0x21fdd4[_0x4f8c9d(0x1a2)][0x0]);for(let _0x1788bc=0x0;_0x1788bc<_0x3bc9c8['length'];_0x1788bc++){const _0x26577a={'id':'doc.mutation.rich-text-editing','params':{..._0x3bc9c8[_0x1788bc]}},_0x1ebd6a=this[_0x4f8c9d(0x24f)][_0x4f8c9d(0x591)](_0x13799f,_0x26577a,!0x1);if(_0x18387e(_0x1ebd6a))throw _0x1ebd6a[_0x4f8c9d(0x1ec)];_0x13799f=_0x1ebd6a[_0x4f8c9d(0x590)];}return{..._0x218f61[_0x4f8c9d(0x217)](_0x21fdd4),'mutations':[_0x13799f]};}[_0x59f468(0x4df)](_0x2961fd){const _0x4e0bc5=_0x59f468,{unitID:_0x558fdd}=_0x2961fd,_0x26c1c3=this['_renderManagerService'][_0x4e0bc5(0x4cb)](_0x558fdd)['with'](_0x3c4a23),{undoCache:_0x27e555,redoCache:_0x42dd01}=_0x26c1c3[_0x4e0bc5(0x1b8)]();if(_0x27e555[_0x4e0bc5(0x21a)]===0x0||_0x42dd01['length']===0x0)return;const _0x361eda=[],_0x34b1c7=[];let _0x5cf353=_0x218f61['deepClone'](_0x2961fd[_0x4e0bc5(0x1a2)][0x0]),_0x596920=_0x218f61[_0x4e0bc5(0x217)](_0x2961fd['mutations'][0x0]);for(let _0x4a4dd5=_0x27e555['length']-0x1;_0x4a4dd5>=0x0;_0x4a4dd5--){const _0x1d4625={'id':'doc.mutation.rich-text-editing','params':{..._0x27e555[_0x4a4dd5]}},_0x38e371={'id':_0x4e0bc5(0x392),'params':{..._0x42dd01[_0x4a4dd5]}},_0x5c2713=this[_0x4e0bc5(0x24f)]['transformMutation'](_0x5cf353,_0x1d4625,!0x1),_0x5248a5=this['_transformService'][_0x4e0bc5(0x591)](_0x596920,_0x38e371,!0x1);if(_0x18387e(_0x5c2713))throw _0x5c2713[_0x4e0bc5(0x1ec)];if(_0x18387e(_0x5248a5))throw _0x5248a5[_0x4e0bc5(0x1ec)];_0x361eda[_0x4e0bc5(0x39e)](_0x5c2713[_0x4e0bc5(0x388)][_0x4e0bc5(0x4c3)]),_0x34b1c7[_0x4e0bc5(0x39e)](_0x5248a5['m2Prime'][_0x4e0bc5(0x4c3)]),_0x5cf353=_0x5c2713[_0x4e0bc5(0x590)],_0x596920=_0x5248a5[_0x4e0bc5(0x590)];}_0x26c1c3['setUndoRedoMutationParamsCache']({'undoCache':_0x361eda,'redoCache':_0x34b1c7});}['_transformPreviousActiveRange'](_0x276bd6){const _0x5bf46e=_0x59f468,{unitID:_0x248caa}=_0x276bd6,_0x21038=this[_0x5bf46e(0x342)][_0x5bf46e(0x4cb)](_0x248caa)['with'](_0x3c4a23),_0x6a0054=_0x21038[_0x5bf46e(0x492)]();if(_0x6a0054==null)return;const _0x256ddf=[{'id':_0x5bf46e(0x392),'params':{'unitId':_0x276bd6[_0x5bf46e(0x405)],'actions':null,'textRanges':[_0x6a0054]}}],_0x44301c=this[_0x5bf46e(0x24f)][_0x5bf46e(0x3ce)](_0x276bd6,_0x256ddf);if(!_0x4d7745(_0x44301c))throw _0x44301c[_0x5bf46e(0x1ec)];const _0x2cdab4=_0x44301c['m2Prime'][0x0][_0x5bf46e(0x4c3)][_0x5bf46e(0x5a1)];Array[_0x5bf46e(0x53a)](_0x2cdab4)&&_0x2cdab4['length']&&_0x21038[_0x5bf46e(0x235)](_0x2cdab4[0x0]);}};Ot=_o([Gt(0x0,_0x222038(_0x2e1c56)),Gt(0x1,_0x4cb437),Gt(0x2,_0x4e56e4)],Ot);var uo=Object['defineProperty'],fo=Object[_0x59f468(0x368)],vo=(_0x52d76c,_0x2394e2,_0x14b9ea,_0xd0ccba)=>{const _0x2393b9=_0x59f468;for(var _0x142ae1=_0xd0ccba>0x1?void 0x0:_0xd0ccba?fo(_0x2394e2,_0x14b9ea):_0x2394e2,_0x258d73=_0x52d76c[_0x2393b9(0x21a)]-0x1,_0x226b88;_0x258d73>=0x0;_0x258d73--)(_0x226b88=_0x52d76c[_0x258d73])&&(_0x142ae1=(_0xd0ccba?_0x226b88(_0x2394e2,_0x14b9ea,_0x142ae1):_0x226b88(_0x142ae1))||_0x142ae1);return _0xd0ccba&&_0x142ae1&&uo(_0x2394e2,_0x14b9ea,_0x142ae1),_0x142ae1;},ze=(_0x38a8c4,_0x1b00b0)=>(_0x22bf6a,_0x4cccac)=>_0x1b00b0(_0x22bf6a,_0x4cccac,_0x38a8c4);let z=class extends _0x19fe63{constructor(_0x2f25eb,_0x16d8d3,_0x26e7d2,_0x2d7f4d,_0x1f8405){const _0x1961e4=_0x59f468;super(),g(this,_0x1961e4(0x35e),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x1961e4(0x431),!0x1),(this['_configService']=_0x2f25eb,this[_0x1961e4(0x264)]=_0x16d8d3,this['_beforeCloseService']=_0x26e7d2,this[_0x1961e4(0x58c)]=_0x2d7f4d,this['_revisionService']=_0x1f8405,this[_0x1961e4(0x354)]());}[_0x59f468(0x1a8)](){const _0x57ea5b=_0x59f468;this[_0x57ea5b(0x431)]=!0x0;}[_0x59f468(0x5a7)](){this['_disabled']=!0x1;}[_0x59f468(0x1ba)](){const _0x5da46d=_0x59f468;this[_0x5da46d(0x574)]()[_0x5da46d(0x4dd)](()=>super[_0x5da46d(0x1ba)]());}async[_0x59f468(0x4e6)](_0x32ed3f){const _0x2b1108=_0x59f468;return this[_0x2b1108(0x431)]?null:this[_0x2b1108(0x264)]['getItem'](zs(_0x32ed3f));}async[_0x59f468(0x4a9)](_0x3c73a8,_0x29920c){const _0x4062dc=_0x59f468;return!!this[_0x4062dc(0x264)][_0x4062dc(0x238)](_0x3c73a8,_0x29920c);}[_0x59f468(0x2d2)](_0x305408,_0x4183f3,_0x500489,_0x24e3c9){const _0x144f1b=_0x59f468,_0x2ea82e=this[_0x144f1b(0x2b9)]['getCurrentRevOfUnit'](_0x305408);this[_0x144f1b(0x35e)]['set'](_0x305408,{'unitID':_0x305408,'type':_0x4183f3,'awaitingChangeset':_0x500489,'mutations':_0x24e3c9,'rev':_0x2ea82e}),this[_0x144f1b(0x4d2)][_0x144f1b(0x309)](_0x305408)||this[_0x144f1b(0x26f)](_0x305408);}['_scheduleSaving'](_0x45830c){const _0x3f1dbd=_0x59f468,_0x4d01f1=this['_getSaveTimeout']();_0x4d01f1===0x0?this['_saveCache'](_0x45830c):this[_0x3f1dbd(0x4d2)]['set'](_0x45830c,setTimeout(()=>this[_0x3f1dbd(0x208)](_0x45830c),_0x4d01f1));}[_0x59f468(0x28f)](){const _0x29157e=_0x59f468;var _0x4d247f;return(_0x4d247f=this[_0x29157e(0x58b)][_0x29157e(0x55d)](An))!=null?_0x4d247f:Mn;}[_0x59f468(0x208)](_0x70f44f){const _0x58b9a3=_0x59f468,_0x595a63=this[_0x58b9a3(0x4d2)][_0x58b9a3(0x25d)](_0x70f44f);return _0x595a63!==void 0x0&&window[_0x58b9a3(0x384)](_0x595a63),this[_0x58b9a3(0x264)][_0x58b9a3(0x238)](zs(_0x70f44f),this['_cachedData']['get'](_0x70f44f))[_0x58b9a3(0x4dd)](()=>this['_saveTaskMap']['delete'](_0x70f44f));}async[_0x59f468(0x574)](){const _0x29abe1=_0x59f468,_0x2eb4d7=[];this['_saveTaskMap'][_0x29abe1(0x3b0)]((_0x323bc2,_0x380bbb)=>{const _0x8d0ca3=_0x29abe1;window['clearTimeout'](_0x323bc2),_0x2eb4d7[_0x8d0ca3(0x4cf)](this[_0x8d0ca3(0x208)](_0x380bbb)[_0x8d0ca3(0x4dd)](()=>{const _0x5e551b=_0x8d0ca3;this[_0x5e551b(0x4d2)][_0x5e551b(0x29e)](_0x380bbb);}));}),await Promise['all'](_0x2eb4d7);}['_setupBeforeClosingHandler'](){const _0x6d5e46=_0x59f468;this['disposeWithMe'](this['_beforeCloseService'][_0x6d5e46(0x4c9)](()=>{const _0x290023=_0x6d5e46;if(this[_0x290023(0x4d2)][_0x290023(0x49b)])return this[_0x290023(0x58c)]['t'](_0x290023(0x414));}));}};z=vo([ze(0x0,_0x486aed),ze(0x1,_0x18521c),ze(0x2,_0x28b31b),ze(0x3,_0x222038(_0x52880d)),ze(0x4,_0x222038(_0x21f454))],z);function zs(_0x40932e){const _0x4a2914=_0x59f468;return _0x4a2914(0x31f)+_0x40932e;}var po=Object[_0x59f468(0x29a)],mo=Object[_0x59f468(0x368)],go=(_0x2cd5d9,_0x4e4eab,_0x16e557,_0x2b141f)=>{for(var _0x4cef0b=_0x2b141f>0x1?void 0x0:_0x2b141f?mo(_0x4e4eab,_0x16e557):_0x4e4eab,_0xa96ecf=_0x2cd5d9['length']-0x1,_0x54c9c2;_0xa96ecf>=0x0;_0xa96ecf--)(_0x54c9c2=_0x2cd5d9[_0xa96ecf])&&(_0x4cef0b=(_0x2b141f?_0x54c9c2(_0x4e4eab,_0x16e557,_0x4cef0b):_0x54c9c2(_0x4cef0b))||_0x4cef0b);return _0x2b141f&&_0x4cef0b&&po(_0x4e4eab,_0x16e557,_0x4cef0b),_0x4cef0b;},Yt=(_0x537067,_0x187fb2)=>(_0x201ee8,_0x51a8da)=>_0x187fb2(_0x201ee8,_0x51a8da,_0x537067);function So(_0x3598f6){const {unitID:_0x29e132,mutations:_0x349ce3}=_0x3598f6;return{'unitId':_0x29e132,'subUnitId':_0x349ce3[0x0]['params']['subUnitId']};}let yt=class{constructor(_0xf4e065,_0x28ed26,_0x54e38e){const _0x1173f0=_0x59f468;this[_0x1173f0(0x351)]=_0xf4e065,this['_transformService']=_0x28ed26,this['_instanceService']=_0x54e38e;}[_0x59f468(0x391)](_0x2efe0a){const _0x27181e=_0x59f468;var _0x46a6b9,_0x443931,_0x2d1f39,_0x1c6f6b;const _0x53ba0b=this[_0x27181e(0x351)][_0x27181e(0x25d)](_0x49c3d1),{unitId:_0x114f70,subUnitId:_0x3f46ca}=So(_0x2efe0a),_0x46f6fe=_0x53ba0b[_0x27181e(0x499)](_0x114f70)['getCurrentSelections'](),_0x3056a1=(_0x443931=(_0x46a6b9=this[_0x27181e(0x46c)][_0x27181e(0x579)](_0x114f70))==null?void 0x0:_0x46a6b9[_0x27181e(0x561)]())==null?void 0x0:_0x443931[_0x27181e(0x51d)]();if(_0x46f6fe[_0x27181e(0x21a)]===0x0||!_0x114f70||!_0x3f46ca)return;const _0x3df75b=[{'id':_0x20d3bf['id'],'params':{'unitId':_0x114f70,'subUnitId':_0x3056a1,'selections':_0x218f61[_0x27181e(0x217)](_0x46f6fe)}}],_0x5f650a=this[_0x27181e(0x24f)][_0x27181e(0x3ce)](_0x2efe0a,_0x3df75b);if(!_0x4d7745(_0x5f650a))throw _0x5f650a[_0x27181e(0x1ec)];const _0x389fbf=(_0x1c6f6b=(_0x2d1f39=_0x5f650a[_0x27181e(0x388)][0x0])==null?void 0x0:_0x2d1f39[_0x27181e(0x4c3)])==null?void 0x0:_0x1c6f6b[_0x27181e(0x365)];if(Array[_0x27181e(0x53a)](_0x389fbf)&&_0x389fbf[_0x27181e(0x21a)]){if(_0x389fbf[_0x27181e(0x21a)]===_0x3df75b[0x0][_0x27181e(0x4c3)]['selections'][_0x27181e(0x21a)]&&_0x389fbf[_0x27181e(0x3f7)]((_0x38fb2b,_0x53396f)=>_0x23bbd9[_0x27181e(0x37e)](_0x38fb2b[_0x27181e(0x1d8)],_0x3df75b[0x0][_0x27181e(0x4c3)][_0x27181e(0x365)][_0x53396f]['range'])))return;this[_0x27181e(0x351)]['get'](_0x1e017f)['executeCommand'](_0x20d3bf['id'],{'unitId':_0x114f70,'subUnitId':_0x3056a1,'selections':_0x389fbf});}}};yt=go([Yt(0x0,_0x222038(_0x2e1c56)),Yt(0x1,_0x4cb437),Yt(0x2,_0xd7de45)],yt);const Ht=_0x4fa8ac(_0x59f468(0x246));var Yi=(_0x245ff7=>(_0x245ff7[_0x245ff7[_0x59f468(0x2e5)]=0x0]=_0x59f468(0x2e5),_0x245ff7[_0x245ff7[_0x59f468(0x5a5)]=0x1]=_0x59f468(0x5a5),_0x245ff7))(Yi||{});const Xs=0x7530,Js=_0x59f468(0x49c);class Io extends _0x19fe63{constructor(){const _0x16ab26=_0x59f468;super(),g(this,_0x16ab26(0x1d5),_0x218f61[_0x16ab26(0x278)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x16ab26(0x19f),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x16ab26(0x572),new Map()),g(this,_0x16ab26(0x3f4),new Map()),this[_0x16ab26(0x59d)]();}[_0x59f468(0x1ba)](){const _0x27a31d=_0x59f468;super[_0x27a31d(0x1ba)](),this[_0x27a31d(0x572)][_0x27a31d(0x3b0)]((_0x8c61ba,_0x2f2074)=>this[_0x27a31d(0x205)](_0x2f2074)),this[_0x27a31d(0x470)]&&window[_0x27a31d(0x4c6)](this['_heartbeatTimer']);}[_0x59f468(0x42f)](_0x351137){const _0x21f9ff=_0x59f468;return this[_0x21f9ff(0x4b8)](_0x351137)[_0x21f9ff(0x318)](_0x42e448());}[_0x59f468(0x3a8)](_0x3bdba5){const _0x5b58d1=_0x59f468;this['_selfUnitIDs'][_0x5b58d1(0x49b)]===0x0&&this[_0x5b58d1(0x5a4)](),this['_selfUnitIDs']['add'](_0x3bdba5),this[_0x5b58d1(0x3e2)]({'type':0x0,'memberID':this[_0x5b58d1(0x1d5)],'unitIDs':[_0x3bdba5],'isForwarded':!0x1});}[_0x59f468(0x287)](_0x213398){const _0x3fbbd1=_0x59f468;this[_0x3fbbd1(0x408)][_0x3fbbd1(0x29e)](_0x213398),this[_0x3fbbd1(0x408)][_0x3fbbd1(0x49b)]===0x0&&this[_0x3fbbd1(0x470)]&&window[_0x3fbbd1(0x4c6)](this[_0x3fbbd1(0x470)]);}[_0x59f468(0x59d)](){const _0x5bf136=_0x59f468;this['disposeWithMe'](_0x510055(_0x92f771(window,_0x5bf136(0x1ad))[_0x5bf136(0x347)](_0x1af89a=>{const _0x9b5334=_0x5bf136;if(_0x1af89a['key']!==Js||!_0x1af89a['newValue'])return;const _0x12725a=JSON[_0x9b5334(0x2e1)](_0x1af89a[_0x9b5334(0x2f4)]);this[_0x9b5334(0x2ad)](_0x12725a);}))),window[_0x5bf136(0x59a)](_0x5bf136(0x220),()=>this[_0x5bf136(0x3e2)]({'type':0x1,'memberID':this[_0x5bf136(0x1d5)],'unitIDs':Array[_0x5bf136(0x30f)](this[_0x5bf136(0x408)])}));}[_0x59f468(0x2ad)](_0x1aafbc){const _0x399a89=_0x59f468;switch(_0x1aafbc[_0x399a89(0x2b2)]){case 0x0:this[_0x399a89(0x19b)](_0x1aafbc);break;case 0x1:this['_handleLeaveEvent'](_0x1aafbc);break;case 0x2:this[_0x399a89(0x22c)](_0x1aafbc);break;}}[_0x59f468(0x19b)](_0x1ccf59){const _0x1e488c=_0x59f468,{unitIDs:_0x1f4765,memberID:_0x47f3e0,isForwarded:_0x49a9a0}=_0x1ccf59;_0x1f4765[_0x1e488c(0x3b0)](_0x50bffb=>{const _0x163f09=_0x1e488c;if(!_0x49a9a0&&this[_0x163f09(0x19f)][_0x163f09(0x309)](_0x50bffb)&&this[_0x163f09(0x4b8)](_0x50bffb)['next'](0x1),!this['_unitOnClients'][_0x163f09(0x309)](_0x50bffb)||!this[_0x163f09(0x19f)][_0x163f09(0x25d)](_0x50bffb)[_0x163f09(0x309)](_0x47f3e0)){const _0x52b1ce=this[_0x163f09(0x19f)][_0x163f09(0x25d)](_0x50bffb)||new Set();_0x52b1ce[_0x163f09(0x3ab)](_0x47f3e0),this[_0x163f09(0x19f)][_0x163f09(0x279)](_0x50bffb,_0x52b1ce),this[_0x163f09(0x2da)](_0x47f3e0);}}),_0x49a9a0||this[_0x1e488c(0x3e2)]({'type':0x0,'memberID':this[_0x1e488c(0x1d5)],'unitIDs':[...this[_0x1e488c(0x408)]],'isForwarded':!0x0});}[_0x59f468(0x2da)](_0x483cf7){const _0x2574dd=_0x59f468;this[_0x2574dd(0x205)](_0x483cf7);const _0x435d48=window[_0x2574dd(0x2b7)](()=>{const _0x3fd294=_0x2574dd;this[_0x3fd294(0x19f)]['forEach'](_0x133b70=>{_0x133b70['delete'](_0x483cf7);});},Xs*0x2);this[_0x2574dd(0x572)][_0x2574dd(0x279)](_0x483cf7,_0x435d48);}[_0x59f468(0x205)](_0xf36209){const _0x3dc1ce=_0x59f468;if(this['_clearOtherTimers'][_0x3dc1ce(0x309)](_0xf36209)){const _0x44b45f=this[_0x3dc1ce(0x572)][_0x3dc1ce(0x25d)](_0xf36209);_0x44b45f&&window[_0x3dc1ce(0x384)](_0x44b45f),this[_0x3dc1ce(0x572)][_0x3dc1ce(0x279)](_0xf36209,null);}}['_handleLeaveEvent'](_0x187a8d){const _0x49adbd=_0x59f468,{memberID:_0x2793cb,unitIDs:_0x43369d}=_0x187a8d;_0x43369d[_0x49adbd(0x3b0)](_0x32daff=>{const _0x5e33c8=_0x49adbd;var _0x3e209e;const _0x11b0f6=this[_0x5e33c8(0x19f)][_0x5e33c8(0x25d)](_0x32daff);_0x11b0f6&&(_0x11b0f6[_0x5e33c8(0x29e)](_0x2793cb),(_0x3e209e=this[_0x5e33c8(0x4b8)](_0x32daff))==null||_0x3e209e[_0x5e33c8(0x307)](_0x11b0f6[_0x5e33c8(0x49b)]===0x0?0x0:0x1));}),this[_0x49adbd(0x205)](_0x2793cb);}['_handleHeartbeatEvent'](_0x5badd7){const _0x550f12=_0x59f468;this[_0x550f12(0x2da)](_0x5badd7[_0x550f12(0x31e)]);}['_send'](_0x4b7033){const _0x1a30c2=_0x59f468;localStorage[_0x1a30c2(0x238)](Js,JSON[_0x1a30c2(0x3fc)](_0x4b7033));}[_0x59f468(0x5a4)](){const _0x4eb0ae=_0x59f468;this[_0x4eb0ae(0x470)]=window[_0x4eb0ae(0x540)](()=>{const _0x5e831a=_0x4eb0ae;this['_send']({'type':0x2,'memberID':this[_0x5e831a(0x1d5)]});},Xs);}['_ensureSubject'](_0x10d92a){const _0x310c71=_0x59f468;return this[_0x310c71(0x3f4)]['has'](_0x10d92a)||this[_0x310c71(0x3f4)][_0x310c71(0x279)](_0x10d92a,new _0x1f1fc6(0x0)),this[_0x310c71(0x3f4)][_0x310c71(0x25d)](_0x10d92a);}}var Co=Object[_0x59f468(0x29a)],Eo=Object[_0x59f468(0x368)],bo=(_0x2051ff,_0x39843b,_0x3edae1,_0x226307)=>{const _0xd6284=_0x59f468;for(var _0x5618e4=_0x226307>0x1?void 0x0:_0x226307?Eo(_0x39843b,_0x3edae1):_0x39843b,_0x5d34e8=_0x2051ff[_0xd6284(0x21a)]-0x1,_0x28ba2a;_0x5d34e8>=0x0;_0x5d34e8--)(_0x28ba2a=_0x2051ff[_0x5d34e8])&&(_0x5618e4=(_0x226307?_0x28ba2a(_0x39843b,_0x3edae1,_0x5618e4):_0x28ba2a(_0x5618e4))||_0x5618e4);return _0x226307&&_0x5618e4&&Co(_0x39843b,_0x3edae1,_0x5618e4),_0x5618e4;},Kt=(_0xc2789c,_0xc8878a)=>(_0x19ddeb,_0x2ad07c)=>_0xc8878a(_0x19ddeb,_0x2ad07c,_0xc2789c);let wt=class{constructor(_0x4c7893,_0x2a302c,_0x67a4f4){const _0x46d356=_0x59f468;this[_0x46d356(0x351)]=_0x4c7893,this[_0x46d356(0x24f)]=_0x2a302c,this[_0x46d356(0x5b4)]=_0x67a4f4;}['transformStateCache'](_0x1c9bb2){this['_transformHistoryAndStateStack'](_0x1c9bb2);}[_0x59f468(0x425)](_0x8a6bbb){const _0x8daa69=_0x59f468,{unitID:_0x424c91}=_0x8a6bbb,{collaboration:_0x58540c}=this[_0x8daa69(0x5b4)]['getStateCache'](_0x424c91);if(_0x58540c['length']===0x0)return _0x8a6bbb;let _0x24fd03=_0x218f61[_0x8daa69(0x217)](_0x8a6bbb[_0x8daa69(0x1a2)][0x0]);for(let _0x197df8=0x0;_0x197df8<_0x58540c[_0x8daa69(0x21a)];_0x197df8++){const _0x5cc67c={'id':_0x8daa69(0x392),'params':{'unitId':_0x58540c[_0x197df8]['unitId'],..._0x58540c[_0x197df8][_0x8daa69(0x248)]}},_0x5e9da5=this['_transformService'][_0x8daa69(0x591)](_0x24fd03,_0x5cc67c,!0x1);if(_0x18387e(_0x5e9da5))throw _0x5e9da5[_0x8daa69(0x1ec)];_0x24fd03=_0x5e9da5['m1Prime'];}return{..._0x218f61[_0x8daa69(0x217)](_0x8a6bbb),'mutations':[_0x24fd03]};}[_0x59f468(0x484)](_0x1fb719){const _0x3dcfec=_0x59f468,{unitID:_0x4da50b}=_0x1fb719,{history:_0x388ef4,collaboration:_0x564bf0}=this['_docStateChangeManagerService']['getStateCache'](_0x4da50b);if(_0x388ef4['length']===0x0&&_0x564bf0[_0x3dcfec(0x21a)]===0x0)return;const _0x29711e=[],_0x5c2603=[];let _0x312a27=_0x218f61['deepClone'](_0x1fb719[_0x3dcfec(0x1a2)][0x0]),_0x3c2c2c=_0x218f61['deepClone'](_0x1fb719[_0x3dcfec(0x1a2)][0x0]);for(let _0x155da3=_0x388ef4['length']-0x1;_0x155da3>=0x0;_0x155da3--){const _0x1fc5bb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x388ef4[_0x155da3][_0x3dcfec(0x51a)],..._0x388ef4[_0x155da3]['undoState']}},_0x2b0759={'id':_0x3dcfec(0x392),'params':{'unitId':_0x388ef4[_0x155da3]['unitId'],..._0x388ef4[_0x155da3][_0x3dcfec(0x248)]}},_0x421c9b=this[_0x3dcfec(0x24f)]['transformMutation'](_0x312a27,_0x1fc5bb,!0x1),_0x46a64f=this[_0x3dcfec(0x24f)][_0x3dcfec(0x591)](_0x3c2c2c,_0x2b0759,!0x1);if(_0x18387e(_0x421c9b))throw _0x421c9b['error'];if(_0x18387e(_0x46a64f))throw _0x46a64f['error'];_0x29711e[_0x3dcfec(0x39e)]({..._0x388ef4[_0x155da3],'undoState':_0x421c9b[_0x3dcfec(0x388)][_0x3dcfec(0x4c3)],'redoState':_0x46a64f[_0x3dcfec(0x388)][_0x3dcfec(0x4c3)]}),_0x312a27=_0x421c9b[_0x3dcfec(0x590)],_0x3c2c2c=_0x46a64f[_0x3dcfec(0x590)];}_0x312a27=_0x218f61[_0x3dcfec(0x217)](_0x1fb719[_0x3dcfec(0x1a2)][0x0]),_0x3c2c2c=_0x218f61[_0x3dcfec(0x217)](_0x1fb719['mutations'][0x0]);for(let _0x43c195=_0x564bf0[_0x3dcfec(0x21a)]-0x1;_0x43c195>=0x0;_0x43c195--){const _0x3797e9={'id':_0x3dcfec(0x392),'params':{'unitId':_0x564bf0[_0x43c195][_0x3dcfec(0x51a)],..._0x564bf0[_0x43c195]['undoState']}},_0x188a52={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x564bf0[_0x43c195]['unitId'],..._0x564bf0[_0x43c195][_0x3dcfec(0x248)]}},_0x55da5b=this[_0x3dcfec(0x24f)]['transformMutation'](_0x312a27,_0x3797e9,!0x1),_0x1b129c=this[_0x3dcfec(0x24f)]['transformMutation'](_0x3c2c2c,_0x188a52,!0x1);if(_0x18387e(_0x55da5b))throw _0x55da5b[_0x3dcfec(0x1ec)];if(_0x18387e(_0x1b129c))throw _0x1b129c[_0x3dcfec(0x1ec)];_0x5c2603[_0x3dcfec(0x39e)]({..._0x564bf0[_0x43c195],'undoState':_0x55da5b['m2Prime'][_0x3dcfec(0x4c3)],'redoState':_0x1b129c[_0x3dcfec(0x388)][_0x3dcfec(0x4c3)]}),_0x312a27=_0x55da5b[_0x3dcfec(0x590)],_0x3c2c2c=_0x1b129c[_0x3dcfec(0x590)];}this[_0x3dcfec(0x5b4)][_0x3dcfec(0x240)](_0x4da50b,{'history':_0x29711e,'collaboration':_0x5c2603});}};wt=bo([Kt(0x0,_0x222038(_0x2e1c56)),Kt(0x1,_0x4cb437),Kt(0x2,_0x222038(_0x2a72d5))],wt);function Ki(_0x2ce5f7){let _0x14c158='';for(const _0xbef104 of _0x2ce5f7){const {startOffset:_0x1eb3f2,endOffset:_0x4ecfdf,isActive:_0x4cbff4,rangeType:_0xce6cdb,segmentId:_0x907fcd,segmentPage:_0x2762c3}=_0xbef104;_0x14c158['length']&&(_0x14c158+=','),_0x14c158+=_0x1eb3f2+':'+_0x4ecfdf+':'+(_0x4cbff4?'1':'0')+':'+_0xce6cdb+':'+_0x907fcd+':'+_0x2762c3;}return _0x14c158;}function To(_0x32e5c8){const _0x5bbf28=_0x59f468,_0x109b20=_0x32e5c8['split'](','),_0x8e4c40=[];for(const _0x4c0a65 of _0x109b20){const [_0x3af8d8,_0x20d4d2,_0x4820da,_0x3fedfd,_0x1e4223,_0x4efe5b]=_0x4c0a65['split'](':');_0x8e4c40[_0x5bbf28(0x4cf)]({'startOffset':Number(_0x3af8d8),'endOffset':Number(_0x20d4d2),'collapsed':_0x3af8d8===_0x20d4d2,'isActive':_0x4820da==='1','rangeType':_0x3fedfd===_0x638c4d['TEXT']?_0x638c4d[_0x5bbf28(0x509)]:_0x638c4d['RECT'],'segmentId':typeof _0x1e4223==_0x5bbf28(0x2fb)?String(_0x1e4223):'','segmentPage':Number(_0x4efe5b!=null?_0x4efe5b:-0x1)});}return _0x8e4c40[_0x5bbf28(0x3d8)](_0x2a8084=>_0x2a8084[_0x5bbf28(0x29f)])||(_0x8e4c40[0x0][_0x5bbf28(0x29f)]=!0x0),_0x8e4c40;}class Ds extends _0x2c59cd{constructor(){const _0x45e7f0=_0x59f468;super(...arguments),g(this,_0x45e7f0(0x292),new _0x1f1fc6(null)),g(this,'collabCursorState$',this['_collabCursorState$'][_0x45e7f0(0x472)]());}['syncEditingCollabCursor'](_0x39ebf4){const _0x1c340e=_0x59f468,{unitID:_0x49b679,memberID:_0xd17e4f,textRanges:_0x1d0ff5}=_0x39ebf4,_0x19d05a=Ki(_0x1d0ff5);if(_0x19d05a==='')return;const _0x6aa70c={'unitID':_0x49b679,'memberID':_0xd17e4f,'selection':_0x19d05a};this[_0x1c340e(0x292)][_0x1c340e(0x307)](_0x6aa70c);}}var Ro=Object[_0x59f468(0x29a)],Oo=Object['getOwnPropertyDescriptor'],yo=(_0x452b02,_0x472986,_0x5eb8a9,_0x3029bf)=>{const _0x2ac7fd=_0x59f468;for(var _0x51fe57=_0x3029bf>0x1?void 0x0:_0x3029bf?Oo(_0x472986,_0x5eb8a9):_0x472986,_0x17ed2b=_0x452b02[_0x2ac7fd(0x21a)]-0x1,_0x58911d;_0x17ed2b>=0x0;_0x17ed2b--)(_0x58911d=_0x452b02[_0x17ed2b])&&(_0x51fe57=(_0x3029bf?_0x58911d(_0x472986,_0x5eb8a9,_0x51fe57):_0x58911d(_0x51fe57))||_0x51fe57);return _0x3029bf&&_0x51fe57&&Ro(_0x472986,_0x5eb8a9,_0x51fe57),_0x51fe57;},Zs=(_0x201d69,_0x326238)=>(_0x13c424,_0x2c929d)=>_0x326238(_0x13c424,_0x2c929d,_0x201d69);function _0x23ae(){const _0x15cbc9=['univer-online-status','_collaborationTimeoutTimer','every','_HTTPService','padding','Base64','_initDependencies','stringify','fill','_retryCount','_collabSessionService','jsxs','_resendWithTimeout','DeleteRangeMoveUpCommandId','_unitID','getUniverSheetInstance','unitID','responseType','collaboration-session-retry','_selfUnitIDs','HEARTBEAT_INTERVAL','_tryReconnect','batchAllowed','sessionTicket','/universer-api/authz','objectType','permissionRejEvent','resize','UNRECOGNIZED','headers','_telemetryInfo','collaboration-client.offline-data-not-saved','_applyRemoteChangeset','onlineStatus','reqId','_getCtorByUniverType','addObjects','_substituteUndoStack','splice','ENSURE_SNAPSHOT_EXECUTION','onRemoteChangeset','_getSendChangesetTimeout','transformUndoRedo','trim','_changesetSessionId','_lockTransition','children','\x0aAfter:\x20','transformRemoteChangeset','objectID','arc','hasher','pad','min','sendChangesetTimeout','[OfflineState]:\x20received\x20changeset.','Utf8','_refreshCollabCursors','getUnitStatus$','colorChannel1','_disabled','_incrementRevisionNumber','default','visibilitychange','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','rgba(255,\x20255,\x20255,\x200.01)','NOT_COLLAB','[CollaborationSessionService]:\x20socket\x20error','transformStack\x20failed!','_memberService','collabSubmitChangesetUrl','liveShareNewHost','init','blockSize','_fetchMissChangesets','getOwnPropertySymbols','registerHTTPInterceptor','FETCH_MISSING','body','CHANGESET_SHOULD_RETRY','collaboratorID','JOIN_ROOM_FULL','_clearCollaborationTimeoutTimer','encodeURIComponent','getRangePointData','for','UNIVER_COLLABORATION_CLIENT_PLUGIN','getValue','_cursors','update','_telemetryService','userID','_doReset','defs','_waitForHeartbeatResponse','_startTelemetryCollaborationNewChangeset','max','purple300','onPointerEnter$','close','black','0\x200\x2017\x2016','joinRsp','collaboration.closeRoom','close$','InsertRangeMoveDownCommandId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','with','LIVESHARE_FETCH_OPERATIONS','_collaborationSessionService','message$','_initResize','LOCAL_CACHE_INTERVAL','assign','_hash','clamp','collabStatus.synced','imageSourceType','_instanceService','[OfflineState]:\x20received\x20rejection.','/collaborator','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_heartbeatTimer','getResourcesRequest','asObservable','1523654DGtWGE','APPLY_REJECT','Error\x20on\x20receiving\x20event','_sessions','_clearTimeoutTimer','color','retryConnectingInterval','_entities','kdf','_oKey','key','UnitSnapshot','_doFinalize','_color','setConfig','/universer-api/snapshot','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformHistoryAndStateStack','createDecryptor','16EdIRvu','propertyIsEnumerable','onRemoteAck','fetch_missing','_nDataBytes','debug','name','PSEUDO_FETCH_MISSING_RESULT','title','enc','duration','_exhaustRemoteChangesetQueue','getActiveRange','originalMeta','_initStatusListener','isPermissionRej','EvpKDF','COMPRESS_MUTATION_APPLY','_listenToOfflineEvent','getWorkbookSelections','DEFAULT_FILE_NAME','size','ACTIVE_UNIT_EVENT_CHANNEL','_sendHeartbeatTimer','_replayCachedMutations','COMPRESS_MUTATION_SEND','open$','toString','COLLAB_SUBMIT_CHANGESET_URL','_updateSubUnitFromURLParams','source','[CollaborationState]:\x20apply\x20error!','MD5','_getSessionTicket','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','saveOfflineData','PasswordBasedCipher','rng','_executeRemoteChangeset','_candidateSocket','resend','AES','attrs','univer-online-status-icon','pending','socket\x20close','popstate','UNIVER_SLIDE','_remoteChangesetQueue','_document','_ensureSubject','OnLineSingle','replaceState','algo','rev','lib','HttpExport','_imageSourceCache','MUTATION','sheetId','_listenToOnlineEvent','params','assignAColorForMemberID','list','clearInterval','fillStyle','toLowerCase','registerBeforeClose','conflict.title','getRenderById','getRandomValues','updateCursorEvent','listRoles','push','triggerDblclick','_initEventListeners','_saveTaskMap','_uiPartsService','currentSkeleton$','_sendingTimer','registerRefRange','origin','[PendingState]:\x20unhandled\x20univer\x20type:\x20','readInt32LE','_hover','AWAITING_WITH_PENDING','drawWith','then','unit','_transformUndoRedoStack','__creator','collaboration-client.config','disposeWithMe','url(#off-line-single_clip0_910_343)','_updateLocalCache','path','loadOfflineData','LICENSE_DISTRO_REJECTED','SNAPSHOT_URL_KEY','values','clone','_urlService','SYNCED','compose','0\x200\x2016\x2016','fetchThroughInterceptors','UNAUTHENTICATED','on-line-single','searchParams','_pendingMutations','mode','reject','_colorAssignService','BlockCipher','setParam','UNIVER_DOC','onCommentUpdate','_xformMode','_event$','_createInitialState','joinEvent','StreamCipher','_roomMembers','sin','_colorIndex','onTransformSelections','text','_startCollaboration','pushState','SHA1','UnitEmbedded','TEXT','_sheetSkeletonManagerService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','urlChange$','reduce','LICENSE_IMPORT_SIZE_EXCEEDED','collabStatus.fetchMiss','onStateChange','clipPath','red300','_singleActiveUnitService','closeSession','NoPadding','translate(.97)','_substituteRedoStack','SHOULD_CLOSE_CONN','encode','unitId','_onJoinRoomEvent','function','getSheetId','awaiting_with_pending','reverse','words','extend','_config','_iKey','image/jpg','_univerInstanceService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','roles','_process','event$','_state$','fromCharCode','FileId','_onConflict','_initMergeInterceptor','getSkeleton','onTransformIME','onRemoteRetry','filter','syncEditingCollabCursor','_timeoutTimer','csRejEvent','_stopTelemetryCollaborationNewChangeset','_docClipboardService','unitId\x20is\x20not\x20found','history','isArray','RemoveColCommandId','put','workbook','SEND_CHANGESET_TIMEOUT','NOT_FOUND','setInterval','interceptor','getCurrentUser','startTime','_disableEditing','_shouldReportTelemetry','UNDEFINED','getLatestCsReqIdBySid','_commentUpdate$','xlink:href','jsx','_beforeCloseService','url(#on-line-single_clip0_910_349)','_commandService','_labelPosition','_context','InsertColCommandId','PERMISSION_DENIED','AWAITING','offline','_collabCursorController','RECT','Base','cursorInfo$','getCurrentUnitForType','_submitChangeset','url(#$1','_transformIMECache','requireSession','getConfig','_toggleOffline','collaboration_new_changeset','[DataLoaderController]','getActiveSheet','BASE64','UPDATE_CURSOR','_startSheetCollabCursor','FAIL','byteLength','number','_lastPointer','_handler','onTransformState','online','_type','getOffsetConfig','LIVESHARE_TERMINATE','state$','collaboration.single-unit.warning','[PendingState]:\x20received\x20rejection.','_clearOtherTimers','_transformRemoteChangesetByIMECache','exhaustSavingTask','sid','JOIN','currentTheme$','_commentService','getUnit','_getAPIPrefix','__esModule','infoRsp','focused$','commentUpdate$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CONFLICT','_syncEditingCollabCursor','_append','visibilityState','actions','random','3666gkTxsZ','reconnect','_socket','SNAPSHOT_INVALID_SNAPSHOT','clear','_configService','_localeService','_range','onMouseMove','encryptBlock','m1Prime','transformMutation','POST','apply','transformChangesets','application/json','_nRounds','not_collab','closePath','Malformed\x20UTF-8\x20data','addEventListener','_retryConnectingTimer','getUnhiddenWorksheets','_init','_changesetReqId','_anchor','AUTHZ_URL_KEY','textRanges','YUUMI_RATE_OVER_LIMIT','charCodeAt','_scheduleHeartbeat','OTHER_CLIENTS_EDITING','INGEST','enableLocalCache','SUBMIT_CHANGESET','roomInfos','randomUUID','symbol','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','_onUserLeave','onMissedChangesetFetched','_DEC_XFORM_MODE','/object/','loadDoc','Unknown\x20user','LIVESHARE_REQUEST_HOST','_docStateChangeManagerService','_onRemoteRetry','Hex','\x20to\x20','evenodd','_render','3008697RHvAGJ','_parse','Warning','_handleJoinEvent','_userManagerService','getCellPositionByOffset','_backgroundColor','_unitOnClients','_anchorDot','985380KouijM','mutations','verdancy600','setCurrentUser','loadSheet','_registerDependencies','session.collaboration-timeout','disableLocalCache','formatter','onSyncEditingCollabCursor','method','mixIn','storage','HmacMD5','$super','fetchMissingChangesets','eventID','_socket$','/resources','keySize','current','error$','_keyPriorReset','getUndoRedoMutationParamsCache','listCollaborators','dispose','SNAPSHOT_SERVER_URL_KEY','loginUrlKey','UNIVER_PROJECT','_roomMembers$','_createSocketURL','_key','icon','_createSocket','routeKey','_docTransformIMECacheService','setAlpha','_status$','execute','onPointerLeave$','height','_localCacheService','_undoRedoService','Decryptor','setWaitCount','_hovered','enableSingleActiveInstanceLock','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','MoveRangeCommandId','&source=','prototype','createSocket','_id','session.connection-failed','PERSON','range','onSendChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','now','setShowComponents','_cursor','[OfflineState]:\x20received\x20acknowledgement.','moveTo','font','catch','_waitCount','roomMembers$','_getUploadFileURL','onload','confirm','_draw','status','_updateCollabCursors','UNKNOWN_CMD','iterations','error','ERROR_IMAGE','_sender','_hasher','svg','_updateState','hide','_onConnectionFailed','width','/allowed','auth.needGotoLoginAlert','unknown','/universer-api/comb','NEW_CHANGESETS','_sessionStatus$','engine','_online','Encryptor','Univer','_onFetchMissResult','_resendTimeout','MSG_FOR_ERROR','action','encrypt','authzUrl','_removeClearOtherTimer','startColumn','Hasher','_saveCache','_themeService','_notificationService','_docSkeleton','/unit/','Latin1','failed\x20to\x20apply\x20missed\x20changesets!','WordArray','univer-online-status-title','removeMember','LIVESHARE_NEW_HOST','_onRemoteChangeset','_onCursorDelete','status$','processBlock','deepClone','Undefined','getInterceptPoints','length','_getLoginPath','_onRemoteACK','subunit','_joinRoom','getSheetBySheetId','unload','_eventUnsubscribe','/role','/block/','BlockCipherMode','defIds','csAckEvent','_onConnectionOpen','toRgbString','restore','_doCryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_handleHeartbeatEvent','change$','findNodePositionByCharIndex','cursorInfo','charAt','signUrlServerUrl','onTransformRemoteChangesetByStateCache','data','readAsDataURL','setActiveRange','onRemoteRej','addImageSourceCache','setItem','[UniverCollaborationClientPlugin]','_showConflictNotification','USERS_LEAVE','onReady','uploadFileServerUrl','connection\x20error','reset','setStateCache','YUUMI_UNABLE_LOAD_URL','getTypeOfUnitAdded$','getUnitType','_change$','CHANGESET_REJ','univer-pro.collaboration-client.single-active-unit-service','repeat','redoState','/-/object/-/batch_allowed','startRow','state','_socketReady','getDocRanges','wsSessionTicketUrl','_transformService','none','getTime','create','bottom','collaborators','collabWebSocketUrl','_scheduleCollaborationTimeoutTimer','toggleOffline','_queuedRemoteChangesets','FromArray','contains','beginPath','getUnitId','get','requestParams','_transformRemoteChangesetByStateCache','saveSnapshot','ALREADY_EXISTS','_ws','[SyncedState]:\x20received\x20acknowledgement.','_localStorageService','format','TOO_MANY_REQUESTS','image/png','_keySchedule','_onRecvEvent','_iv','round','_members','uni.network.url-service','ERROR_IMAGE_TYPE','_scheduleSaving','labelPosition','join','measureText','use','_onUserJoin','appendMutation','[CollaborationSession]','displayName','generateRandomId','set','_snapshotService','sessionStatus$','makeDirty','IDLE','collabStatus.notCollab','shouldCloseConn','_clearLocalCache','conflict','getCollabCursors$','ciphertext','ws://127.0.0.1:8000/universer-api/comb/connect','_ENC_XFORM_MODE','send','disposeUnit','SNAPSHOT_HAS_BEEN_REMOVED','_loadDoc','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','HEARTBEAT','_refRangeService','_drawRectRange','onMissingChangesets','_getSaveTimeout','_data','submit\x20changeset\x20error!','_collabCursorState$','column','json','ERROR_EXCEED_SIZE','_doProcessBlock','HttpImport','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','defineProperty','_resendTimer','_initCloseConn','_snapshotServerService','delete','isActive','onTransformRemoteChangesetByIMECache','\x20-\x20','_socketService','6415sWZITU','_getDownloadEndpointURL','find','editing\x20status\x20changed\x20to','_scene','Error','SerializableCipher','_startDocCollabCursor','react.fragment','getMember','_handleEvent','gold400','_minBufferSize','UNIVER_SHEET','code','type','saveImage','className','getCollabEntity$','session','setTimeout','_transformStateCache','_revisionService','_map','YUUMI_URL_COL_OUT_OF_RANGE','roomMembers','_initRequestHeader','_collaborationPaused','_transformUndoredo','OpenSSL','executeCommand','_getMergeRange','PENDING','getDeserializedSheetBlock','dispose$','_createHelper','getRoom','_docSkeletonManagerService','onlyLocal','RemoveRowCommandId','url','UNIVER_UNKNOWN','updatePermissionObjEvent','replace','decryptBlock','ceil','FETCH_MISS','updateOfflineData','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','_onCursorUpdate','_decreaseWaiting','tag','incrementRevOfUnit','createInstance','HMAC','_scheduleClearOtherTimer','setShapeProps','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startsWith','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','toggleOnline','__Key__','parse','COMMENT_UPDATE','UPDATE_PERMISSION_OBJ','_getAPIPrefixPath','NO_OTHER_CLIENTS_EDITING','CHANGESET_REVISION_CONFILICT','_httpService','_acknowledgedAwaitingChangeset','objects','collab-rect-range-','HELLO','_shapes','off-line-single_clip0_910_343','_transitionLocked','registerComponent','href','_setupSubUnitSync','entries','VIEW_MAIN','newValue','_prevBlock','_undoStacks','LEAVE','includes','_reverseMap','SUCCUSS','string','currentColor','/universer-api/file/{fileID}/sign-url','collab-text-range-','deleteCollaborator','_invKeySchedule','crypto','_mode','sigBytes','_tryEnsureSocket','target','UUID','next','_throwTelemetryCollaborationNewChangeset','has','image/gif','Fragment','putCollaborators','div','location','from','save','_cipher','_loadSheet','APPLY_REVISION_CONFILICT','salt','_removeCollabCursors','floor','subject','pipe','InsertRowCommandId','getTypeOfUnitDisposed$','onPointerMove$','show','2664220CShdCc','memberID','unit-cache-','_checkMissing','baseRev','compute','_toggleOnline','sheets','capture','_entityInit$','msCrypto','updateCollaborator','onTransformChange$','_initStatusComponent','_cursorInfo$','_isPermissionRej','_cursorShapes','post','registerRenderModule','LIVESHARE_OPERATION','_state','_compressMutationService','_updateLocalCursor','_sheetTransformSelectionsService','_permissionService','OffLineSingle','endColumn','fillText','APPLY_PERMISSION_DENIED','c2Prime','refreshPermission','_hideTimer','_onOffline','Cipher','_onLocalMutation','concat','CipherParams','_renderManagerService','/universer-api/user/session-ticket','_assignedColors','hidden','hasOwnProperty','subscribe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRefRangeChange','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','JOIN_ROOM_NOT_ALLOWED','2807455ewyFPL','awaiting','_clearUndo','getMemberID','USERS_ENTER','_injector','socket\x20open.','collaMsg','_setupBeforeClosingHandler','getCurrentRevOfUnit','_session','BufferedBlockAlgorithm','_transformPreviousActiveRange','_getSignURL','src','getAncestorScale','enableAuthServer','_scheduleTimestamp','_cachedData','transformIMECache','M0\x200H16V16H0z','HEADER_MENU','initWorkbookPermissionChange','_getScale','_collaborationController','selections','univer-offline','_syncEditingCollabCursorService','getOwnPropertyDescriptor','_unlockTransition','randomBytes','_createInitialStateImpl','_getUndoStack','map','getImageSourceCache','onlineStatusIcon','getFocusedUnit','byteOffset','unsubscribe','INTERNAL_ERROR','socketService','Could\x20not\x20dynamically\x20require\x20\x22','univerjs-icon\x20univerjs-icon-','cfg','idSuffix','APPLY_DUPLICATED','substr','finalize','OFFLINE','replaceDocRanges','equals','CONNECTOR_DATA_TOO_LARGE','LICENSE_MAX_UNITS_EXCEEDED','_getCurrentRevision','row','lineTo','clearTimeout','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','\x20in\x20_schedule.','fetchMiss','m2Prime','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_replaceFileID','permission.title','slice','selection','liveShareOperation','_handleHover','/-/object/list','transformSelections','doc.mutation.rich-text-editing','revision','pluginName','#fff','_docTransformStateCacheService','_rescheduleHeartbeat','PERMISSION_REJ','saveSheetBlock','_removeRoom','resourceIDs','ranges','_updateURLWithCurrentState','unshift','[CollaborationEntity]','5723990ZOYvrf','substring','RECV','cmd','getCurrent','_http','_initUnitPermissionChange','_onRemoteRejected','editingUnit','_onCombEvent','updateMember','add','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_updateStatus','_textBubble','endRow','forEach','_registerRenderDependencies','getRelativeToViewportCoord','InsertRangeMoveRightCommandId','exports','ONLINE','_logService','onCommandExecuted','/universer-api/snapshot/','_getAnchorBounding','top','_messageService','getSheetBlock','file','{fileID}','_clearHeartbeatTimer','ivSize','registerOnClose','APPLY_NON_SEQUENTIAL_REVISION','_schedule','ReactCurrentOwner','HmacSHA1','createEncryptor','defaultProps','override','decrypt','updatePermissionPoint','transformByState','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearRedo','transformMutationsWithChangeset','getViewport','ref','subscribeEvent','_sendHeartbeat','telemetry\x20info\x20is\x20not\x20initialized','univer-pro.collaboration-client-socket-service','resolve','_name','_socketMessageSubscription','some','append','c1Prime','People','1em','abs','_createHandler','/universer-api/stream/file/upload','indexOf','_getRedoStack','_send','call','_clearScheduledTask','18CvORtV','_transformStack','JOINING','Pkcs7','getAllMembers','CHANGESET_ACK','removeParam','getParam','_createHmacHelper','complete','COLLAB_WEB_SOCKET_URL','[FetchMissState]','sessionStatus','_awaitingChangeset','_transformSelections','_unitStatus'];_0x23ae=function(){return _0x15cbc9;};return _0x23ae();}let Dt=class{constructor(_0x4b9dcd,_0x203ab3){const _0xcf3752=_0x59f468;this[_0xcf3752(0x351)]=_0x4b9dcd,this['_transformService']=_0x203ab3;}['transformSelections'](_0x49d733){const _0x4dd01f=_0x59f468;var _0x2b51c0;const _0x3afabe=this[_0x4dd01f(0x351)][_0x4dd01f(0x25d)](_0x4768db),_0x30c9e9=(_0x2b51c0=_0x3afabe[_0x4dd01f(0x24d)]())!=null?_0x2b51c0:[];if(_0x30c9e9['length']===0x0)return;const _0x2e8ca7=_0x49d733[_0x4dd01f(0x405)],_0x326421=[{'id':_0x4dd01f(0x392),'params':{'unitId':_0x2e8ca7,'actions':null,'textRanges':_0x30c9e9}}],_0x3b8f19=this['_transformService']['transformMutationsWithChangeset'](_0x49d733,_0x326421);if(!_0x4d7745(_0x3b8f19))throw _0x3b8f19[_0x4dd01f(0x1ec)];const _0x4ccfc2=_0x3b8f19[_0x4dd01f(0x388)][0x0][_0x4dd01f(0x4c3)][_0x4dd01f(0x5a1)];Array['isArray'](_0x4ccfc2)&&_0x4ccfc2[_0x4dd01f(0x21a)]&&_0x3afabe[_0x4dd01f(0x37d)](_0x4ccfc2,{'unitId':_0x2e8ca7,'subUnitId':_0x2e8ca7},!0x1);}};Dt=yo([Zs(0x0,_0x222038(_0x2e1c56)),Zs(0x1,_0x4cb437)],Dt);const wo=new Set([_0x37dbf5['id']]);function Qs(_0x41da43,_0x5458fa,_0x2434f1,_0x3f210a,_0x4cdc9c){const _0x2d0430=_0x59f468;var _0x12bdbb,_0x97ff69,_0x6a8586,_0x5c81fb;const _0x751281=[];for(const _0x3fd887 of _0x41da43)if(wo[_0x2d0430(0x309)](_0x3fd887['id'])){if(_0x751281[_0x2d0430(0x21a)]>0x0)break;_0x751281[_0x2d0430(0x4cf)](_0x3fd887);break;}else _0x751281['push'](_0x3fd887);const _0x50ac31=(_0x97ff69=(_0x12bdbb=_0x4cdc9c[_0x2d0430(0x542)]())==null?void 0x0:_0x12bdbb[_0x2d0430(0x451)])!=null?_0x97ff69:'unknown',_0x24398f=(_0x5c81fb=(_0x6a8586=_0x4cdc9c[_0x2d0430(0x542)]())==null?void 0x0:_0x6a8586['memberID'])!=null?_0x5c81fb:_0x2d0430(0x1f7);return{'changeset':{'unitID':_0x5458fa,'type':_0x152c8d(_0x2434f1['getUnitType'](_0x5458fa)),'baseRev':_0x3f210a[_0x2d0430(0x355)](_0x5458fa),'revision':0x0,'userID':_0x50ac31,'memberID':_0x24398f,'mutations':_0x751281},'pendingMutations':_0x41da43['slice'](_0x751281[_0x2d0430(0x21a)])};}function Do(_0x2b0b44,_0x445f93,_0x30e5ab,_0x408079,_0x52d176){const _0x15f084=_0x59f468;var _0xa139eb,_0x43a16f,_0x4f9df0,_0x26600f;const _0x2d828a=[_0x2b0b44[_0x15f084(0x50d)]((_0x28d907,_0x2b1b59)=>{const _0x22f093=_0x15f084;var _0x1c9f48;const {id:_0x33a69c}=_0x28d907,{id:_0x1199fa,type:_0x2d8e5a}=_0x2b1b59,_0x1446cc=(_0x1c9f48=_0x28d907['params'])!=null?_0x1c9f48:{'actions':null},_0xb387d5=_0x2b1b59[_0x22f093(0x4c3)];if(_0x33a69c&&_0x33a69c!==_0x1199fa)throw new Error(_0x22f093(0x28a)+_0x33a69c+_0x22f093(0x2a1)+_0x1199fa+'.');return{..._0x28d907,'id':_0x1199fa,'type':_0x2d8e5a,'params':{'unitId':_0xb387d5[_0x22f093(0x51a)],'textRanges':_0xb387d5[_0x22f093(0x5a1)],'actions':_0x728319[_0x22f093(0x4ed)](_0x1446cc[_0x22f093(0x584)],_0xb387d5[_0x22f093(0x584)])}};},{})],_0x13cae5=(_0x43a16f=(_0xa139eb=_0x52d176[_0x15f084(0x542)]())==null?void 0x0:_0xa139eb['userID'])!=null?_0x43a16f:_0x15f084(0x1f7),_0x186f2a=(_0x26600f=(_0x4f9df0=_0x52d176[_0x15f084(0x542)]())==null?void 0x0:_0x4f9df0[_0x15f084(0x31e)])!=null?_0x26600f:_0x15f084(0x1f7);return{'changeset':{'unitID':_0x445f93,'type':_0x152c8d(_0x30e5ab[_0x15f084(0x243)](_0x445f93)),'baseRev':_0x408079[_0x15f084(0x355)](_0x445f93),'revision':0x0,'userID':_0x13cae5,'memberID':_0x186f2a,'mutations':_0x2d828a},'pendingMutations':[]};}function qi(_0x18bd39,_0x23f060){const _0x171a71=_0x59f468,_0x985612=new _0x3b5418(0x1);return setTimeout(()=>_0x985612[_0x171a71(0x307)](_0x23f060),_0x18bd39),_0x985612[_0x171a71(0x472)]()[_0x171a71(0x318)](_0x3fe09f(0x1));}const Po={'id':_0x86642a['id'],'type':_0x2a05e3['MUTATION'],'params':{}};var Uo=Object[_0x59f468(0x29a)],No=Object['getOwnPropertyDescriptor'],Le=(_0x1ab56e,_0x37db4d,_0xf34022,_0x184f21)=>{const _0x4a7f61=_0x59f468;for(var _0x23d4a2=_0x184f21>0x1?void 0x0:_0x184f21?No(_0x37db4d,_0xf34022):_0x37db4d,_0x5ce934=_0x1ab56e[_0x4a7f61(0x21a)]-0x1,_0x577592;_0x5ce934>=0x0;_0x5ce934--)(_0x577592=_0x1ab56e[_0x5ce934])&&(_0x23d4a2=(_0x184f21?_0x577592(_0x37db4d,_0xf34022,_0x23d4a2):_0x577592(_0x23d4a2))||_0x23d4a2);return _0x184f21&&_0x23d4a2&&Uo(_0x37db4d,_0xf34022,_0x23d4a2),_0x23d4a2;},A=(_0x496e96,_0x424835)=>(_0xcc7d22,_0x4c34c1)=>_0x424835(_0xcc7d22,_0x4c34c1,_0x496e96),J=(_0x45e1f1=>(_0x45e1f1[_0x59f468(0x438)]=_0x59f468(0x597),_0x45e1f1['SYNCED']='synced',_0x45e1f1[_0x59f468(0x2c3)]=_0x59f468(0x4b2),_0x45e1f1[_0x59f468(0x552)]=_0x59f468(0x34d),_0x45e1f1[_0x59f468(0x4db)]=_0x59f468(0x51e),_0x45e1f1[_0x59f468(0x2d1)]=_0x59f468(0x489),_0x45e1f1[_0x59f468(0x580)]=_0x59f468(0x281),_0x45e1f1[_0x59f468(0x37c)]=_0x59f468(0x553),_0x45e1f1))(J||{});const zi=0xea60;class $e{constructor(_0xd60221,_0x1b9dae,_0x2c0a10,_0x2a22ae,_0x2d5c67,_0x10a1c7,_0x1ecca3,_0x1e98f1,_0x293106){const _0x1f6c8b=_0x59f468;g(this,_0x1f6c8b(0x3f2),null),g(this,_0x1f6c8b(0x4f3),[]),(this[_0x1f6c8b(0x405)]=_0xd60221,this[_0x1f6c8b(0x2b2)]=_0x1b9dae,this[_0x1f6c8b(0x569)]=_0x2d5c67,this[_0x1f6c8b(0x54d)]=_0x10a1c7,this[_0x1f6c8b(0x1cb)]=_0x1ecca3,this[_0x1f6c8b(0x2b9)]=_0x1e98f1,this[_0x1f6c8b(0x1ca)]=_0x293106,this[_0x1f6c8b(0x3f2)]=_0x2c0a10,this['_pendingMutations']=_0x2a22ae);}['_checkMissing'](_0x22e3d7){const _0x2e302c=_0x59f468,_0x649e45=this[_0x2e302c(0x2b9)][_0x2e302c(0x355)](this[_0x2e302c(0x405)]);return _0x22e3d7['revision']>_0x649e45+0x1?(this[_0x2e302c(0x569)]['onMissingChangesets']({'from':_0x649e45,'to':_0x22e3d7[_0x2e302c(0x393)]-0x1}),!0x0):!0x1;}[_0x59f468(0x2bf)](_0x40dc94){const _0xb78e32=_0x59f468;this['_undoRedoService'][_0xb78e32(0x41f)](this[_0xb78e32(0x405)],_0x40dc94);}[_0x59f468(0x3f3)](_0x4c9ce4){const _0x4308f4=_0x59f468;var _0x29c033,_0x23df53;(_0x23df53=(_0x29c033=this['_handler'])[_0x4308f4(0x503)])==null||_0x23df53[_0x4308f4(0x3e3)](_0x29c033,_0x4c9ce4);}[_0x59f468(0x55b)](_0x240584){const _0x375767=_0x59f468;var _0x363528,_0x179b57;return(_0x179b57=(_0x363528=this[_0x375767(0x569)])[_0x375767(0x530)])==null?void 0x0:_0x179b57[_0x375767(0x3e3)](_0x363528,_0x240584);}[_0x59f468(0x2b8)](_0x551e0d){const _0x4eee02=_0x59f468;var _0x12e4ee,_0x2d8553;return(_0x2d8553=(_0x12e4ee=this['_handler'])[_0x4eee02(0x56a)])==null?void 0x0:_0x2d8553[_0x4eee02(0x3e3)](_0x12e4ee,_0x551e0d);}[_0x59f468(0x573)](_0x503b8f){const _0x2e2f9b=_0x59f468;var _0xd1f70,_0x3635c6,_0x294aea;return(_0x294aea=(_0x3635c6=(_0xd1f70=this['_handler'])[_0x2e2f9b(0x2a0)])==null?void 0x0:_0x3635c6[_0x2e2f9b(0x3e3)](_0xd1f70,_0x503b8f))!=null?_0x294aea:_0x503b8f;}[_0x59f468(0x25f)](_0x55d1ec){const _0x23093f=_0x59f468;var _0x254135,_0x179f0e,_0x242672;return(_0x242672=(_0x179f0e=(_0x254135=this[_0x23093f(0x569)])[_0x23093f(0x232)])==null?void 0x0:_0x179f0e[_0x23093f(0x3e3)](_0x254135,_0x55d1ec))!=null?_0x242672:_0x55d1ec;}[_0x59f468(0x581)](_0x209ae6){const _0x2d5b97=_0x59f468;var _0x19777d,_0x205438;if(this[_0x2d5b97(0x2b2)]===ae['UNIVER_DOC']){const {unitID:_0x31fbeb,mutations:_0xcea448,memberID:_0xa77330}=_0x209ae6,_0xd20bce=_0xcea448[0x0][_0x2d5b97(0x4c3)][_0x2d5b97(0x5a1)];Array['isArray'](_0xd20bce)&&_0xd20bce[_0x2d5b97(0x21a)]>0x0&&((_0x205438=(_0x19777d=this[_0x2d5b97(0x569)])[_0x2d5b97(0x1aa)])==null||_0x205438[_0x2d5b97(0x3e3)](_0x19777d,{'unitID':_0x31fbeb,'memberID':_0xa77330,'textRanges':_0xd20bce}));}}['_updateLocalCache'](){const _0x5bcb00=_0x59f468;this[_0x5bcb00(0x1ca)][_0x5bcb00(0x2d2)](this[_0x5bcb00(0x405)],this['type'],this[_0x5bcb00(0x3f2)],this[_0x5bcb00(0x4f3)]);}[_0x59f468(0x381)](){const _0x233c84=_0x59f468;return this[_0x233c84(0x2b9)][_0x233c84(0x355)](this[_0x233c84(0x405)]);}['_incrementRevisionNumber'](){const _0x50f027=_0x59f468;this[_0x50f027(0x2b9)][_0x50f027(0x2d7)](this[_0x50f027(0x405)]);}[_0x59f468(0x4ac)](_0x469716){const _0x7cc9d7=_0x59f468;var _0x1fdf47;let _0x578fe8=this[_0x7cc9d7(0x573)](_0x469716);_0x578fe8=this[_0x7cc9d7(0x25f)](_0x578fe8);const _0x3dccc0=_0x504024(_0x578fe8[_0x7cc9d7(0x1a2)],this[_0x7cc9d7(0x54d)],{'fromCollab':!0x0});if(!_0x3dccc0['result'])throw _0x3dccc0[_0x7cc9d7(0x1ec)]instanceof Error?_0x3dccc0[_0x7cc9d7(0x1ec)]:new Error((_0x1fdf47=_0x3dccc0['error'])!=null?_0x1fdf47:_0x7cc9d7(0x4a5));this[_0x7cc9d7(0x55b)](_0x578fe8),this[_0x7cc9d7(0x2b8)](_0x578fe8),this[_0x7cc9d7(0x2bf)](_0x469716),this[_0x7cc9d7(0x3f3)](_0x578fe8),this[_0x7cc9d7(0x581)](_0x578fe8),this[_0x7cc9d7(0x432)]();}}let We=class extends $e{constructor(_0x175922,_0x280b5a,_0x51ffff,_0x2bac98,_0x5aa0bf,_0x18a23a,_0x49dad7,_0x2d49d3,_0x326ffc,_0x2b4a46){const _0x14e015=_0x59f468;super(_0x175922,_0x280b5a,null,[],_0x51ffff,_0x2d49d3,_0x49dad7,_0x2bac98,_0x5aa0bf),g(this,_0x14e015(0x1e8),'synced'),(this['_injector']=_0x18a23a,this[_0x14e015(0x3b6)]=_0x326ffc,this[_0x14e015(0x24f)]=_0x2b4a46);}['appendMutation'](_0x2777bf){const _0xf22783=_0x59f468,_0x4a0534=this['_injector']['createInstance'](pe,this[_0xf22783(0x405)],this[_0xf22783(0x2b2)],[_0x2777bf],this['_handler']);return _0x4a0534[_0xf22783(0x3c3)](),_0x4a0534[_0xf22783(0x4e4)](),_0x4a0534;}[_0x59f468(0x41d)](_0xd88549){const _0x372dae=_0x59f468;if(this[_0x372dae(0x320)](_0xd88549))return this[_0x372dae(0x351)]['createInstance'](ce,this['unitID'],this['type'],null,[],null,[_0xd88549],this[_0x372dae(0x569)]);try{const _0x5d50ee=this[_0x372dae(0x24f)][_0x372dae(0x3ce)](_0xd88549,[Po]);if(_0x4d7745(_0x5d50ee)){const {c1Prime:_0x20a055}=_0x5d50ee;return this[_0x372dae(0x4ac)](_0x20a055),this;}throw _0x5d50ee['error'];}catch(_0x5c23dd){return this[_0x372dae(0x3b6)]['error'](_0x5c23dd),this['_onConflict'](!0x1);}}[_0x59f468(0x52d)](_0x280961){const _0x15a5fc=_0x59f468;return this[_0x15a5fc(0x351)][_0x15a5fc(0x2d8)](Re,this[_0x15a5fc(0x405)],this[_0x15a5fc(0x2b2)],null,[],this[_0x15a5fc(0x569)],_0x280961);}[_0x59f468(0x488)](){const _0x2896f9=_0x59f468;throw new Error(_0x2896f9(0x263));}[_0x59f468(0x236)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x59f468(0x531)](){return this;}[_0x59f468(0x257)](){const _0x47188f=_0x59f468;return this['_injector'][_0x47188f(0x2d8)](Oe,this[_0x47188f(0x405)],this[_0x47188f(0x2b2)],null,[],this[_0x47188f(0x569)]);}[_0x59f468(0x2df)](){return this;}[_0x59f468(0x4ae)](){const _0x236f06=_0x59f468;throw new Error(_0x236f06(0x435));}[_0x59f468(0x387)](){const _0x37a74f=_0x59f468,_0x374faf=this[_0x37a74f(0x2b9)][_0x37a74f(0x355)](this[_0x37a74f(0x405)]);return this[_0x37a74f(0x569)][_0x37a74f(0x28e)]({'from':_0x374faf,'to':0x0}),this['_injector']['createInstance'](ce,this[_0x37a74f(0x405)],this[_0x37a74f(0x2b2)],null,[],null,[],this['_handler']);}};We=Le([A(0x3,_0x222038(_0x21f454)),A(0x4,_0x222038(z)),A(0x5,_0x222038(_0x2e1c56)),A(0x6,_0x2d2527),A(0x7,_0x1e017f),A(0x8,_0x37805d),A(0x9,_0x4cb437)],We);let pe=class extends $e{constructor(_0x367a8a,_0x58c512,_0x3a379e,_0x1182e2,_0x4c8cb3,_0x4694ea,_0x15c673,_0x5647aa,_0x3806a7,_0x1a8d10,_0x1bd20d,_0x49a233,_0x37bdf2,_0x15c88a){const _0x45ca88=_0x59f468;super(_0x367a8a,_0x58c512,null,_0x3a379e,_0x1182e2,_0x1a8d10,_0x15c88a,_0x4694ea,_0x15c673),g(this,_0x45ca88(0x1e8),_0x45ca88(0x4b2)),g(this,'_scheduleTimestamp',null),g(this,'_sendingTimer',null),(this[_0x45ca88(0x351)]=_0x4c8cb3,this['_memberService']=_0x5647aa,this[_0x45ca88(0x3b6)]=_0x3806a7,this[_0x45ca88(0x58b)]=_0x1bd20d,this['_transformService']=_0x49a233,this['_univerInstanceService']=_0x37bdf2);}[_0x59f468(0x275)](_0x4048ca){const _0x1134a5=_0x59f468;return this['_pendingMutations'][_0x1134a5(0x4cf)](_0x4048ca),this['_updateLocalCache'](),this;}[_0x59f468(0x41d)](_0x492126){const _0xbcf25f=_0x59f468;if(this['_checkMissing'](_0x492126))return this[_0xbcf25f(0x3e4)](),this[_0xbcf25f(0x351)][_0xbcf25f(0x2d8)](ce,this[_0xbcf25f(0x405)],this[_0xbcf25f(0x2b2)],null,this[_0xbcf25f(0x4f3)],null,[_0x492126],this[_0xbcf25f(0x569)]);try{const _0x2ad01a=this['_transformService'][_0xbcf25f(0x3ce)](_0x492126,this['_pendingMutations']);if(_0x4d7745(_0x2ad01a)){const {c1Prime:_0x2a8927,m2Prime:_0x544841}=_0x2ad01a;this[_0xbcf25f(0x4ac)](_0x2a8927);const _0x514e8c=this[_0xbcf25f(0x351)]['createInstance'](pe,this[_0xbcf25f(0x405)],this[_0xbcf25f(0x2b2)],_0x544841,this['_handler']);return this[_0xbcf25f(0x3e4)](),_0x514e8c['_schedule'](this[_0xbcf25f(0x35d)]?Math[_0xbcf25f(0x456)](0x0,new Date()[_0xbcf25f(0x251)]()-this[_0xbcf25f(0x35d)]):this[_0xbcf25f(0x41e)]()),_0x514e8c;}throw _0x2ad01a['error'];}catch(_0x36245c){return this[_0xbcf25f(0x3b6)][_0xbcf25f(0x1ec)](_0x36245c),this[_0xbcf25f(0x52d)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3b9c61=_0x59f468;throw new Error(_0x3b9c61(0x571));}['onRemoteRetry'](){return this;}[_0x59f468(0x257)](){const _0x24c437=_0x59f468;return this[_0x24c437(0x3e4)](),this[_0x24c437(0x351)][_0x24c437(0x2d8)](Oe,this[_0x24c437(0x405)],this[_0x24c437(0x2b2)],null,this[_0x24c437(0x4f3)],this[_0x24c437(0x569)]);}['toggleOnline'](){return this;}['_schedule'](_0x350313){const _0x3ea993=_0x59f468,_0x55f6e6=_0x350313!=null?_0x350313:this[_0x3ea993(0x41e)]();this[_0x3ea993(0x35d)]=new Date()[_0x3ea993(0x251)](),this[_0x3ea993(0x4d5)]=window[_0x3ea993(0x2b7)](()=>{const _0x1aa2c3=_0x3ea993;this[_0x1aa2c3(0x3e4)]();let _0x54aa94=null;switch(this[_0x1aa2c3(0x2b2)]){case ae['UNIVER_SHEET']:{_0x54aa94=Qs(this['_pendingMutations'],this[_0x1aa2c3(0x405)],this[_0x1aa2c3(0x525)],this[_0x1aa2c3(0x2b9)],this[_0x1aa2c3(0x43b)]);break;}case ae[_0x1aa2c3(0x4f9)]:{this[_0x1aa2c3(0x4f3)][_0x1aa2c3(0x3f7)](_0x1d880c=>_0x1d880c['id']===_0x2bf5bd['id'])?_0x54aa94=Do(this['_pendingMutations'],this['unitID'],this[_0x1aa2c3(0x525)],this[_0x1aa2c3(0x2b9)],this['_memberService']):_0x54aa94=Qs(this[_0x1aa2c3(0x4f3)],this[_0x1aa2c3(0x405)],this[_0x1aa2c3(0x525)],this[_0x1aa2c3(0x2b9)],this[_0x1aa2c3(0x43b)]);break;}default:throw new Error(_0x1aa2c3(0x4d8)+this[_0x1aa2c3(0x2b2)]+_0x1aa2c3(0x386));}const {changeset:_0xc821b,pendingMutations:_0x1caabb}=_0x54aa94;this[_0x1aa2c3(0x569)][_0x1aa2c3(0x1d9)](_0xc821b);const _0x2a4cce=_0x1caabb[_0x1aa2c3(0x21a)]?this[_0x1aa2c3(0x351)][_0x1aa2c3(0x2d8)](me,this[_0x1aa2c3(0x405)],this['type'],_0xc821b,_0x1caabb,this[_0x1aa2c3(0x569)],void 0x0):this[_0x1aa2c3(0x351)][_0x1aa2c3(0x2d8)](Te,this[_0x1aa2c3(0x405)],this['type'],_0xc821b,this[_0x1aa2c3(0x569)]);_0x2a4cce[_0x1aa2c3(0x4e4)](),this[_0x1aa2c3(0x569)][_0x1aa2c3(0x510)](this,_0x2a4cce);},_0x55f6e6);}[_0x59f468(0x41e)](){const _0x55f6b1=_0x59f468;var _0xb55429;const _0x5cb86f=this[_0x55f6b1(0x58b)][_0x55f6b1(0x55d)](Q);return(_0xb55429=_0x5cb86f==null?void 0x0:_0x5cb86f[_0x55f6b1(0x42b)])!=null?_0xb55429:Tn;}[_0x59f468(0x4ae)](){const _0x2038af=_0x59f468;throw new Error(_0x2038af(0x385));}[_0x59f468(0x3e4)](){const _0x1f9e0b=_0x59f468;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1f9e0b(0x4d5)]),this[_0x1f9e0b(0x4d5)]=null);}[_0x59f468(0x52d)](_0x5750d9){const _0x430310=_0x59f468;return this[_0x430310(0x3e4)](),this['_injector']['createInstance'](Re,this[_0x430310(0x405)],this[_0x430310(0x2b2)],null,this[_0x430310(0x4f3)],this[_0x430310(0x569)],_0x5750d9);}};pe=Le([A(0x4,_0x222038(_0x2e1c56)),A(0x5,_0x222038(_0x21f454)),A(0x6,_0x222038(z)),A(0x7,_0x222038(Ae)),A(0x8,_0x37805d),A(0x9,_0x1e017f),A(0xa,_0x486aed),A(0xb,_0x4cb437),A(0xc,_0xd7de45),A(0xd,_0x2d2527)],pe);let Te=class extends $e{constructor(_0x12e0ef,_0x1b5014,_0xef6258,_0x15492b,_0x27708d,_0x307dc2,_0x56d4e6,_0x2b7a88,_0x5ac1fe,_0x168c5c,_0x1d74db){const _0x2ca5f6=_0x59f468;super(_0x12e0ef,_0x1b5014,_0xef6258,[],_0x15492b,_0x2b7a88,_0x1d74db,_0x307dc2,_0x56d4e6),g(this,_0x2ca5f6(0x1e8),_0x2ca5f6(0x34d)),g(this,_0x2ca5f6(0x200),0x0),g(this,_0x2ca5f6(0x29b)),g(this,'_sender'),(this[_0x2ca5f6(0x351)]=_0x27708d,this[_0x2ca5f6(0x3b6)]=_0x5ac1fe,this[_0x2ca5f6(0x24f)]=_0x168c5c);}[_0x59f468(0x275)](_0x487bdb){const _0x3f3296=_0x59f468;this[_0x3f3296(0x3e4)]();const _0x35cd2a=this[_0x3f3296(0x351)][_0x3f3296(0x2d8)](me,this['unitID'],this[_0x3f3296(0x2b2)],this[_0x3f3296(0x3f2)],[_0x487bdb],this[_0x3f3296(0x569)],this[_0x3f3296(0x29b)]);return _0x35cd2a['_updateLocalCache'](),_0x35cd2a;}[_0x59f468(0x41d)](_0x13ed71){const _0xf2734a=_0x59f468;if(this[_0xf2734a(0x320)](_0x13ed71))return this[_0xf2734a(0x3e4)](),this[_0xf2734a(0x351)][_0xf2734a(0x2d8)](ce,this[_0xf2734a(0x405)],this['type'],this[_0xf2734a(0x3f2)],[],null,[_0x13ed71],this[_0xf2734a(0x569)]);try{const _0x29a9ea=this[_0xf2734a(0x24f)]['transformChangesets']([_0x13ed71],[this['_awaitingChangeset']],!0x1);if(_0x5cd3ce(_0x29a9ea)){const {c1Prime:_0x1e33a2,c2Prime:_0x5b1f51}=_0x29a9ea;this['_executeRemoteChangeset'](_0x1e33a2[0x0]),_0x5b1f51[0x0][_0xf2734a(0x321)]=this[_0xf2734a(0x381)](),this[_0xf2734a(0x3e4)]();const _0xe1dc11=this[_0xf2734a(0x351)]['createInstance'](Te,this[_0xf2734a(0x405)],this['type'],_0x5b1f51[0x0],this[_0xf2734a(0x569)]);return _0xe1dc11['_updateLocalCache'](),_0xe1dc11;}return this[_0xf2734a(0x52d)](!0x1);}catch(_0x13c204){return this[_0xf2734a(0x3b6)][_0xf2734a(0x1ec)](_0x13c204),this[_0xf2734a(0x52d)](!0x1);}}[_0x59f468(0x488)](_0x10dc7b){const _0x2b9dc6=_0x59f468;this[_0x2b9dc6(0x3e4)]();const _0x2a7d7f=this[_0x2b9dc6(0x2b9)][_0x2b9dc6(0x355)](this[_0x2b9dc6(0x405)]);if(_0x10dc7b[_0x2b9dc6(0x393)]<_0x2a7d7f-0x1)return this;if(this[_0x2b9dc6(0x320)](_0x10dc7b))return this['_injector'][_0x2b9dc6(0x2d8)](ce,this[_0x2b9dc6(0x405)],this['type'],null,[],this[_0x2b9dc6(0x3f2)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x44629c=this['_injector'][_0x2b9dc6(0x2d8)](We,this['unitID'],this['type'],this[_0x2b9dc6(0x569)]);return _0x44629c[_0x2b9dc6(0x4e4)](),_0x44629c;}[_0x59f468(0x236)](_0x5db1a4){const _0x3260d5=_0x59f468;return this[_0x3260d5(0x52d)](!!(_0x5db1a4!=null&&_0x5db1a4[_0x3260d5(0x495)]));}[_0x59f468(0x531)](_0x8f6520){const _0x3bbc90=_0x59f468;return this[_0x3bbc90(0x200)]>zi?this['toggleOffline']():(this[_0x3bbc90(0x29b)]=qi(this[_0x3bbc90(0x200)],{'timeout':this[_0x3bbc90(0x200)],'reqId':_0x8f6520[_0x3bbc90(0x417)]}),this[_0x3bbc90(0x1ee)]=this[_0x3bbc90(0x29b)][_0x3bbc90(0x347)](({reqId:_0x594fc4,timeout:_0x18291b})=>{const _0x20377f=_0x3bbc90;this[_0x20377f(0x401)](_0x594fc4,_0x18291b);}),this);}[_0x59f468(0x257)](){const _0x3eb22e=_0x59f468;return this[_0x3eb22e(0x3e4)](),this[_0x3eb22e(0x351)][_0x3eb22e(0x2d8)](Oe,this[_0x3eb22e(0x405)],this[_0x3eb22e(0x2b2)],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x59f468(0x4ae)](){const _0x164472=_0x59f468;this[_0x164472(0x569)][_0x164472(0x1d9)](this['_awaitingChangeset']);}[_0x59f468(0x52d)](_0x44fe02){const _0x6f5634=_0x59f468;return this[_0x6f5634(0x3e4)](),this['_injector']['createInstance'](Re,this[_0x6f5634(0x405)],this[_0x6f5634(0x2b2)],this[_0x6f5634(0x3f2)],[],this['_handler'],_0x44fe02);}[_0x59f468(0x401)](_0x514132,_0x2ea1e1){const _0x2cf6fe=_0x59f468;var _0x4af82c;_0x514132===((_0x4af82c=this[_0x2cf6fe(0x3f2)])==null?void 0x0:_0x4af82c[_0x2cf6fe(0x417)])&&(this['resend'](),this[_0x2cf6fe(0x200)]=_0x2ea1e1===0x0?0x3e8:_0x2ea1e1*0x2);}['_clearScheduledTask'](){const _0x1e587d=_0x59f468;var _0x575cf9;(_0x575cf9=this['_sender'])==null||_0x575cf9[_0x1e587d(0x372)](),this['_resendTimeout']=0x0;}};Te=Le([A(0x4,_0x222038(_0x2e1c56)),A(0x5,_0x222038(_0x21f454)),A(0x6,_0x222038(z)),A(0x7,_0x1e017f),A(0x8,_0x37805d),A(0x9,_0x4cb437),A(0xa,_0x2d2527)],Te);let me=class extends $e{constructor(_0x2381ed,_0x46da9b,_0x2f1cd9,_0x380c94,_0x32f25d,_0x3c899a,_0x3e8ce1,_0x3d3e16,_0xb57027,_0x36415d,_0x12ac0b,_0xd80ff0,_0x360344){const _0x27a30b=_0x59f468;super(_0x2381ed,_0x46da9b,_0x2f1cd9,_0x380c94,_0x32f25d,_0x36415d,_0x360344,_0x3d3e16,_0xb57027),g(this,'status',_0x27a30b(0x51e)),g(this,'_resendTimeout',0x0),g(this,_0x27a30b(0x29b)),g(this,_0x27a30b(0x1ee)),(this['_injector']=_0x3e8ce1,this['_logService']=_0x12ac0b,this['_transformService']=_0xd80ff0,_0x3c899a&&(this['_resendTimer']=_0x3c899a,this[_0x27a30b(0x1ee)]=this[_0x27a30b(0x29b)][_0x27a30b(0x347)](({reqId:_0x103e1a,timeout:_0x2de8e9})=>{const _0x40577f=_0x27a30b;this[_0x40577f(0x401)](_0x103e1a,_0x2de8e9);})));}[_0x59f468(0x275)](_0x3c33d0){const _0x5ae3fd=_0x59f468;return this[_0x5ae3fd(0x4f3)][_0x5ae3fd(0x4cf)](_0x3c33d0),this;}[_0x59f468(0x41d)](_0x361987){const _0x261744=_0x59f468;if(this['_checkMissing'](_0x361987))return this['_clearScheduledTask'](),this[_0x261744(0x351)][_0x261744(0x2d8)](ce,this['unitID'],this[_0x261744(0x2b2)],this[_0x261744(0x3f2)],this[_0x261744(0x4f3)],null,[_0x361987],this['_handler']);try{const _0x5d13b2=this['_transformService'][_0x261744(0x594)]([_0x361987],[this[_0x261744(0x3f2)]],!0x1);if(_0x5cd3ce(_0x5d13b2)){const {c1Prime:_0x1ec5b3,c2Prime:_0x28d4a1}=_0x5d13b2,_0x1be380=this[_0x261744(0x24f)][_0x261744(0x3ce)](_0x1ec5b3[0x0],this[_0x261744(0x4f3)]);if(_0x4d7745(_0x1be380)){const {c1Prime:_0x4f603d,m2Prime:_0x3a69e8}=_0x1be380;return this[_0x261744(0x4ac)](_0x4f603d),_0x28d4a1[0x0][_0x261744(0x321)]=this[_0x261744(0x381)](),this['_clearScheduledTask'](),this[_0x261744(0x351)][_0x261744(0x2d8)](me,this[_0x261744(0x405)],this[_0x261744(0x2b2)],_0x28d4a1[0x0],_0x3a69e8,this[_0x261744(0x569)],void 0x0);}throw _0x1be380[_0x261744(0x1ec)];}throw _0x5d13b2['error'];}catch(_0x382d96){return this[_0x261744(0x3b6)][_0x261744(0x1ec)](_0x382d96),this[_0x261744(0x52d)](!0x1);}}[_0x59f468(0x488)](_0x3a830c){const _0x417d90=_0x59f468;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x3a830c))return this[_0x417d90(0x351)]['createInstance'](ce,this[_0x417d90(0x405)],this[_0x417d90(0x2b2)],null,this[_0x417d90(0x4f3)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xc47c7d=this[_0x417d90(0x351)][_0x417d90(0x2d8)](pe,this[_0x417d90(0x405)],this[_0x417d90(0x2b2)],this[_0x417d90(0x4f3)],this[_0x417d90(0x569)]);return _0xc47c7d['_schedule'](),_0xc47c7d[_0x417d90(0x4e4)](),_0xc47c7d;}['onRemoteRej'](_0x21b97f){const _0x54359f=_0x59f468;return this[_0x54359f(0x52d)](!!(_0x21b97f!=null&&_0x21b97f[_0x54359f(0x495)]));}[_0x59f468(0x531)](_0x3c5054){const _0x172da6=_0x59f468;return this['_resendTimeout']>zi?this[_0x172da6(0x257)]():(this[_0x172da6(0x29b)]=qi(this['_resendTimeout'],{'timeout':this[_0x172da6(0x200)],'reqId':_0x3c5054[_0x172da6(0x417)]}),this[_0x172da6(0x1ee)]=this[_0x172da6(0x29b)]['subscribe'](({reqId:_0x205b0b,timeout:_0xf5bb28})=>{const _0x1d5577=_0x172da6;this[_0x1d5577(0x401)](_0x205b0b,_0xf5bb28);}),this);}[_0x59f468(0x257)](){const _0x5eec53=_0x59f468;return this['_clearScheduledTask'](),this[_0x5eec53(0x351)]['createInstance'](Oe,this[_0x5eec53(0x405)],this[_0x5eec53(0x2b2)],this[_0x5eec53(0x3f2)],this[_0x5eec53(0x4f3)],this[_0x5eec53(0x569)]);}[_0x59f468(0x2df)](){return this;}[_0x59f468(0x4ae)](){const _0xbbfc3e=_0x59f468;this[_0xbbfc3e(0x569)]['onSendChangeset'](this[_0xbbfc3e(0x3f2)]);}[_0x59f468(0x52d)](_0x25ce3e){const _0x3dcc00=_0x59f468;return this[_0x3dcc00(0x3e4)](),this[_0x3dcc00(0x351)][_0x3dcc00(0x2d8)](Re,this[_0x3dcc00(0x405)],this[_0x3dcc00(0x2b2)],null,this[_0x3dcc00(0x4f3)],this[_0x3dcc00(0x569)],_0x25ce3e);}[_0x59f468(0x401)](_0x3cb77b,_0x2acc22){const _0x460510=_0x59f468;var _0x410ff3;_0x3cb77b===((_0x410ff3=this[_0x460510(0x3f2)])==null?void 0x0:_0x410ff3['reqId'])&&(this[_0x460510(0x4ae)](),this[_0x460510(0x200)]=_0x2acc22===0x0?0x3e8:_0x2acc22*0x2);}[_0x59f468(0x3e4)](){const _0x35eec0=_0x59f468;var _0x5b695d;(_0x5b695d=this[_0x35eec0(0x1ee)])==null||_0x5b695d['unsubscribe'](),this[_0x35eec0(0x200)]=0x0;}};me=Le([A(0x6,_0x222038(_0x2e1c56)),A(0x7,_0x222038(_0x21f454)),A(0x8,_0x222038(z)),A(0x9,_0x1e017f),A(0xa,_0x37805d),A(0xb,_0x4cb437),A(0xc,_0x2d2527)],me);let Re=class extends $e{constructor(_0x550e6f,_0x2e1762,_0x5232f7,_0x3b03f7,_0x59de5b,_0x1c1b78=!0x1,_0x3c62b0,_0x275655,_0x129cbc,_0x582e62,_0x107980,_0x142ac4,_0x374af5){const _0x37b35e=_0x59f468;super(_0x550e6f,_0x2e1762,_0x5232f7,_0x3b03f7,_0x59de5b,_0x275655,_0x129cbc,_0x107980,_0x582e62),g(this,'status',_0x37b35e(0x281)),(this[_0x37b35e(0x32c)]=_0x1c1b78,this[_0x37b35e(0x335)]=_0x3c62b0,this[_0x37b35e(0x58c)]=_0x142ac4,this['_notificationService']=_0x374af5,this[_0x37b35e(0x23a)](),this[_0x37b35e(0x280)](),this[_0x37b35e(0x544)]());}['appendMutation'](){return this;}[_0x59f468(0x41d)](){return this;}[_0x59f468(0x488)](){return this;}[_0x59f468(0x236)](){return this;}[_0x59f468(0x531)](){return this;}[_0x59f468(0x257)](){return this;}[_0x59f468(0x2df)](){return this;}[_0x59f468(0x4ae)](){const _0x5ad564=_0x59f468;throw new Error(_0x5ad564(0x1da));}[_0x59f468(0x280)](){const _0x1aa549=_0x59f468;this['_localCacheService'][_0x1aa549(0x2d2)](this[_0x1aa549(0x405)],this[_0x1aa549(0x2b2)],null,[]);}[_0x59f468(0x23a)](){const _0x881d81=_0x59f468;this['_isPermissionRej']?this['_notificationService'][_0x881d81(0x31c)]({'title':this[_0x881d81(0x58c)]['t'](_0x881d81(0x38b)),'content':this[_0x881d81(0x58c)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x881d81(0x20a)][_0x881d81(0x31c)]({'title':this['_localeService']['t'](_0x881d81(0x4ca)),'content':this['_localeService']['t']('conflict.content'),'type':'error','duration':0x0});}[_0x59f468(0x544)](){const _0x5bc19b=_0x59f468;this[_0x5bc19b(0x335)][_0x5bc19b(0x3ca)](new _0x4ef6a0(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x222038(_0x593390)),A(0x7,_0x1e017f),A(0x8,_0x2d2527),A(0x9,_0x222038(z)),A(0xa,_0x222038(_0x21f454)),A(0xb,_0x222038(_0x52880d)),A(0xc,_0x5126dc)],Re);let Oe=class extends $e{constructor(_0x36a104,_0x2baf6c,_0x5c87e8,_0x205cdd,_0x2f57b3,_0x5147b7,_0x46e288,_0x26b9ae,_0x3f8aea,_0x362d00){const _0x1b0ddd=_0x59f468;super(_0x36a104,_0x2baf6c,_0x5c87e8,_0x205cdd,_0x2f57b3,_0x3f8aea,_0x362d00,_0x46e288,_0x26b9ae),g(this,'status',_0x1b0ddd(0x553)),this['_injector']=_0x5147b7;}[_0x59f468(0x275)](_0x5a45ee){const _0x3299c0=_0x59f468;return this['_pendingMutations']['push'](_0x5a45ee),this[_0x3299c0(0x4e4)](),this;}[_0x59f468(0x41d)](_0x57b790){const _0x306b2b=_0x59f468;throw new Error(_0x306b2b(0x42c));}['onRemoteAck'](){const _0x1ed206=_0x59f468;throw new Error(_0x1ed206(0x1de));}[_0x59f468(0x236)](){const _0x228e5b=_0x59f468;throw new Error(_0x228e5b(0x46d));}[_0x59f468(0x531)](){return this;}['toggleOffline'](){return this;}[_0x59f468(0x2df)](){const _0x9d56a7=_0x59f468,{_injector:_0x2d81fd,_pendingMutations:_0x2774a4,_awaitingChangeset:_0x4e11fb,unitID:_0x3e6c03,_handler:_0x131c13,type:_0x52d558}=this,_0xa40358=Xi(_0x2d81fd,_0x3e6c03,_0x52d558,_0x4e11fb,_0x2774a4,_0x131c13);return _0xa40358 instanceof pe?_0xa40358[_0x9d56a7(0x3c3)]():(_0xa40358 instanceof me||_0xa40358 instanceof Te)&&_0xa40358[_0x9d56a7(0x4ae)](),_0xa40358;}[_0x59f468(0x4ae)](){const _0x540bf9=_0x59f468;throw new Error(_0x540bf9(0x483));}};Oe=Le([A(0x5,_0x222038(_0x2e1c56)),A(0x6,_0x222038(_0x21f454)),A(0x7,_0x222038(z)),A(0x8,_0x1e017f),A(0x9,_0x2d2527)],Oe);let ce=class extends $e{constructor(_0xb56214,_0x575b6d,_0x253bf9,_0xa5c335,_0x149af5,_0x184a9c,_0x14a42d,_0x4e1f5e,_0x20744a,_0x1ae6b7,_0x17cd6a,_0x391b98,_0x203556,_0x38e3a0){const _0x324984=_0x59f468;super(_0xb56214,_0x575b6d,_0x253bf9,_0xa5c335,_0x14a42d,_0x391b98,_0x203556,_0x20744a,_0x1ae6b7),g(this,'status',_0x324984(0x489)),(this[_0x324984(0x2e8)]=_0x149af5,this['_queuedRemoteChangesets']=_0x184a9c,this['_injector']=_0x4e1f5e,this[_0x324984(0x3b6)]=_0x17cd6a,this['_transformService']=_0x38e3a0);}[_0x59f468(0x5ae)](_0x44f5aa){const _0x93317d=_0x59f468;try{const _0x13ae75=[..._0x44f5aa,...this[_0x93317d(0x258)]],_0x36f01e=[this[_0x93317d(0x3f2)]||this[_0x93317d(0x2e8)]][_0x93317d(0x532)](_0x5bc3e0=>!!_0x5bc3e0);let _0x277e7b,_0x45484f;if(_0x36f01e[_0x93317d(0x21a)]){const _0x501649=this['_transformService']['transformChangesets'](_0x13ae75,_0x36f01e,!0x1);if(!_0x5cd3ce(_0x501649))throw _0x501649[_0x93317d(0x1ec)];_0x277e7b=_0x501649['c1Prime'],_0x45484f=_0x501649[_0x93317d(0x33a)];}else _0x277e7b=_0x13ae75,_0x45484f=[];let _0x47acde=this['_pendingMutations'];_0x277e7b['forEach'](_0x10acbb=>{const _0x32b015=_0x93317d;let _0x62345c;if(_0x47acde[_0x32b015(0x21a)]){const _0xf912f0=this[_0x32b015(0x24f)]['transformMutationsWithChangeset'](_0x10acbb,_0x47acde);if(!_0x4d7745(_0xf912f0))throw _0xf912f0[_0x32b015(0x1ec)];_0x62345c=_0xf912f0[_0x32b015(0x3da)],_0x47acde=_0xf912f0['m2Prime'];}else _0x62345c=_0x10acbb;this[_0x32b015(0x4ac)](_0x62345c);}),this[_0x93317d(0x2e8)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x45484f[_0x93317d(0x21a)]&&(_0x45484f[0x0]['baseRev']=this[_0x93317d(0x381)]());let _0x121de2;if(this[_0x93317d(0x3f2)]&&_0x47acde['length']!==0x0)_0x121de2=this[_0x93317d(0x351)]['createInstance'](me,this[_0x93317d(0x405)],this[_0x93317d(0x2b2)],_0x45484f[0x0],_0x47acde,this[_0x93317d(0x569)],void 0x0);else{if(this[_0x93317d(0x3f2)]&&_0x47acde[_0x93317d(0x21a)]===0x0)_0x45484f[0x0][_0x93317d(0x321)]=this[_0x93317d(0x381)](),_0x121de2=this[_0x93317d(0x351)][_0x93317d(0x2d8)](Te,this['unitID'],this[_0x93317d(0x2b2)],_0x45484f[0x0],this[_0x93317d(0x569)]);else{if(_0x47acde[_0x93317d(0x21a)]!==0x0){const _0x45701f=this[_0x93317d(0x351)][_0x93317d(0x2d8)](pe,this[_0x93317d(0x405)],this[_0x93317d(0x2b2)],_0x47acde,this['_handler']);_0x45701f[_0x93317d(0x3c3)](),_0x121de2=_0x45701f;}else _0x121de2=this[_0x93317d(0x351)]['createInstance'](We,this['unitID'],this['type'],this[_0x93317d(0x569)]);}}return _0x121de2[_0x93317d(0x4e4)](),_0x121de2;}catch(_0x289076){return this[_0x93317d(0x3b6)][_0x93317d(0x1ec)](_0x93317d(0x3f0),_0x93317d(0x20e),_0x289076),this['_injector']['createInstance'](Re,this[_0x93317d(0x405)],this['type'],this[_0x93317d(0x3f2)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x59f468(0x4ae)](){const _0x6098d6=_0x59f468;throw new Error(_0x6098d6(0x460));}[_0x59f468(0x275)](_0x41ac9f){const _0x581727=_0x59f468;return this[_0x581727(0x4f3)][_0x581727(0x4cf)](_0x41ac9f),this;}[_0x59f468(0x41d)](_0x243905){const _0x4441ea=_0x59f468;return this[_0x4441ea(0x258)]['push'](_0x243905),this;}[_0x59f468(0x488)](_0x15549c){const _0x226bb6=_0x59f468;if(this['_awaitingChangeset'])return this[_0x226bb6(0x2e8)]=this[_0x226bb6(0x3f2)],this[_0x226bb6(0x3f2)]=null,this;throw new Error(_0x226bb6(0x348));}[_0x59f468(0x236)](_0x20c768){const _0x37bd02=_0x59f468;return this[_0x37bd02(0x52d)](!!(_0x20c768!=null&&_0x20c768['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x59f468(0x257)](){const _0x4a8ef2=_0x59f468;return this[_0x4a8ef2(0x351)]['createInstance'](Oe,this[_0x4a8ef2(0x405)],this[_0x4a8ef2(0x2b2)],this[_0x4a8ef2(0x3f2)],this[_0x4a8ef2(0x4f3)],this['_handler']);}['toggleOnline'](){return this;}[_0x59f468(0x52d)](_0x134146){const _0x4c1e26=_0x59f468;return this[_0x4c1e26(0x351)][_0x4c1e26(0x2d8)](Re,this[_0x4c1e26(0x405)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x134146);}};ce=Le([A(0x7,_0x222038(_0x2e1c56)),A(0x8,_0x222038(_0x21f454)),A(0x9,_0x222038(z)),A(0xa,_0x37805d),A(0xb,_0x1e017f),A(0xc,_0x2d2527),A(0xd,_0x4cb437)],ce);function Xi(_0x167572,_0x5dfc34,_0x24e3bb,_0x5132d2,_0x3c93eb,_0x2eda95){const _0x448087=_0x59f468;return _0x5132d2&&_0x3c93eb[_0x448087(0x21a)]?_0x167572[_0x448087(0x2d8)](me,_0x5dfc34,_0x24e3bb,_0x5132d2,_0x3c93eb,_0x2eda95,void 0x0):_0x5132d2?_0x167572[_0x448087(0x2d8)](Te,_0x5dfc34,_0x24e3bb,_0x5132d2,_0x2eda95):_0x3c93eb[_0x448087(0x21a)]?_0x167572[_0x448087(0x2d8)](pe,_0x5dfc34,_0x24e3bb,_0x3c93eb,_0x2eda95):_0x167572['createInstance'](We,_0x5dfc34,_0x24e3bb,_0x2eda95);}var Ao=Object[_0x59f468(0x29a)],Mo=Object[_0x59f468(0x368)],Ps=(_0x5b8e84,_0xf868c3,_0x1a0132,_0x5cb726)=>{const _0x17dedb=_0x59f468;for(var _0x4c4231=_0x5cb726>0x1?void 0x0:_0x5cb726?Mo(_0xf868c3,_0x1a0132):_0xf868c3,_0x1ebb67=_0x5b8e84[_0x17dedb(0x21a)]-0x1,_0x1d6266;_0x1ebb67>=0x0;_0x1ebb67--)(_0x1d6266=_0x5b8e84[_0x1ebb67])&&(_0x4c4231=(_0x5cb726?_0x1d6266(_0xf868c3,_0x1a0132,_0x4c4231):_0x1d6266(_0x4c4231))||_0x4c4231);return _0x5cb726&&_0x4c4231&&Ao(_0xf868c3,_0x1a0132,_0x4c4231),_0x4c4231;},H=(_0x444a21,_0x1222ad)=>(_0x5e8e83,_0x7bec1b)=>_0x1222ad(_0x5e8e83,_0x7bec1b,_0x444a21);let Pt=class extends _0x2c59cd{constructor(_0x822706,_0x6b53af,_0x18201a,_0x59f732,_0x5996b4,_0x3a3358,_0x58342e,_0x319dd6,_0x3ada91,_0x213e14,_0x299145,_0x251fe1,_0x25d762){const _0x3a6961=_0x59f468;super(),g(this,_0x3a6961(0x52a),new _0x1f1fc6(null)),g(this,'state$',this[_0x3a6961(0x52a)][_0x3a6961(0x472)]()),g(this,_0x3a6961(0x331)),g(this,_0x3a6961(0x2be),!0x1),g(this,_0x3a6961(0x421),''),g(this,_0x3a6961(0x59e),0x0),g(this,'status$',this[_0x3a6961(0x56f)][_0x3a6961(0x318)](_0x36b286(_0x2bdb43=>_0x2bdb43?_0x2bdb43['status']:J['OFFLINE']),_0x2ff007(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x3a6961(0x4b6),[]),(this[_0x3a6961(0x405)]=_0x822706,this['session']=_0x6b53af,this[_0x3a6961(0x56c)]=_0x18201a,this[_0x3a6961(0x351)]=_0x59f732,this[_0x3a6961(0x1ca)]=_0x5996b4,this['_compressMutationService']=_0x3a3358,this[_0x3a6961(0x58c)]=_0x58342e,this[_0x3a6961(0x2b9)]=_0x319dd6,this['_logService']=_0x3ada91,this[_0x3a6961(0x54d)]=_0x213e14,this[_0x3a6961(0x3bb)]=_0x299145,this[_0x3a6961(0x335)]=_0x251fe1,this['_singleActiveUnitService']=_0x25d762);}get[_0x59f468(0x24b)](){const _0x49152a=_0x59f468;return this[_0x49152a(0x331)];}async['init'](){const _0xb1ae6a=_0x59f468;if(this[_0xb1ae6a(0x24b)])throw new Error(_0xb1ae6a(0x436));await this[_0xb1ae6a(0x59d)]();}['pauseCollaboration'](){const _0x40d414=_0x59f468;return this[_0x40d414(0x2be)]=!0x0,_0x510055(()=>{const _0x13cdb4=_0x40d414;this[_0x13cdb4(0x2be)]=!0x1,this[_0x13cdb4(0x491)]();});}[_0x59f468(0x1f1)](_0x348fc1){const _0xa17adb=_0x59f468;this[_0xa17adb(0x331)]=_0x348fc1,this[_0xa17adb(0x52a)][_0xa17adb(0x307)](_0x348fc1);}async['_init'](){const _0x557566=_0x59f468;var _0x5d8e73;this[_0x557566(0x1f1)](await this['_createInitialState']()),this[_0x557566(0x513)]&&((_0x5d8e73=this[_0x557566(0x513)])==null||_0x5d8e73[_0x557566(0x3a8)](this['unitID']),this[_0x557566(0x4e2)](this['_singleActiveUnitService'][_0x557566(0x42f)](this[_0x557566(0x405)])[_0x557566(0x347)](_0x9e7e7=>{const _0x28b19d=_0x557566;this['_logService']['debug'](_0x28b19d(0x39f),_0x28b19d(0x2a6),_0x9e7e7),_0x9e7e7===Yi[_0x28b19d(0x5a5)]?(this[_0x28b19d(0x3bb)][_0x28b19d(0x31c)]({'content':this[_0x28b19d(0x58c)]['t'](_0x28b19d(0x570)),'type':_0x47f0e7[_0x28b19d(0x19a)]}),this['_permissionService'][_0x28b19d(0x3ca)](new _0x4ef6a0(this[_0x28b19d(0x405)])['id'],!0x1),this[_0x28b19d(0x335)][_0x28b19d(0x1dc)](!0x1)):(this[_0x28b19d(0x335)][_0x28b19d(0x3ca)](new _0x4ef6a0(this[_0x28b19d(0x405)])['id'],!0x0),this[_0x28b19d(0x335)][_0x28b19d(0x1dc)](!0x0));})));let _0x292cc3=!0x1;return this[_0x557566(0x4e2)](this[_0x557566(0x2b6)][_0x557566(0x27b)][_0x557566(0x347)](_0x6d26f0=>{const _0x14a996=_0x557566;_0x6d26f0===fe['ONLINE']?this['_toggleOnline'](_0x292cc3):_0x6d26f0===fe[_0x14a996(0x37c)]&&(_0x292cc3=!0x0,this[_0x14a996(0x55e)]());})),this[_0x557566(0x4e2)](this[_0x557566(0x2b6)][_0x557566(0x529)][_0x557566(0x347)](_0x7834c1=>{const _0x385411=_0x557566;try{switch(_0x7834c1[_0x385411(0x1b1)]){case _0x8a32d4[_0x385411(0x1f9)]:{this[_0x385411(0x213)](_0x33ed1d(_0x7834c1[_0x385411(0x233)]));break;}case _0x8a32d4[_0x385411(0x3ea)]:{this[_0x385411(0x21c)](_0x7834c1[_0x385411(0x233)]);break;}case _0x8a32d4['CHANGESET_REJ']:{this[_0x385411(0x3a7)]();break;}case _0x8a32d4[_0x385411(0x445)]:{this[_0x385411(0x5b5)](_0x7834c1[_0x385411(0x233)]);break;}case _0x8a32d4[_0x385411(0x48d)]:{this['_onFetchMissResult'](_0x7834c1[_0x385411(0x233)]['changesets'][_0x385411(0x36d)](_0x5c9319=>_0x33ed1d(_0x5c9319)));break;}case _0x8a32d4[_0x385411(0x398)]:this[_0x385411(0x3a7)]({'isPermissionRej':!0x0});}}catch(_0x4bc432){throw console[_0x385411(0x1ec)](_0x385411(0x475),_0x4bc432),_0x4bc432;}})),this[_0x557566(0x331)];}[_0x59f468(0x369)](){this['_transitionLocked']=!0x1;}[_0x59f468(0x422)](){const _0x1532b9=_0x59f468;if(this[_0x1532b9(0x2ee)])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[_0x1532b9(0x2ee)]=!0x0;}['_onLocalMutation'](_0x3902e6){const _0x3eebbf=_0x59f468;this[_0x3eebbf(0x422)](),this[_0x3eebbf(0x1f1)](this[_0x3eebbf(0x331)]['appendMutation'](_0x3902e6)),this[_0x3eebbf(0x369)]();}[_0x59f468(0x213)](_0x428e32){const _0x51eb27=_0x59f468;if(!(_0x428e32[_0x51eb27(0x393)]<=this['_revisionService'][_0x51eb27(0x355)](this[_0x51eb27(0x405)]))){if(this[_0x51eb27(0x2be)]){this[_0x51eb27(0x4b6)]['push'](_0x428e32);return;}this[_0x51eb27(0x415)](_0x428e32);}}[_0x59f468(0x491)](){const _0x3ae950=_0x59f468;this[_0x3ae950(0x4b6)][_0x3ae950(0x3b0)](_0x44050d=>this[_0x3ae950(0x415)](_0x44050d)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x52f69d){const _0x504f3b=_0x59f468,_0x48b3b1=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x504f3b(0x332)]['interceptor'][_0x504f3b(0x219)]()[_0x504f3b(0x497)])(_0x52f69d[_0x504f3b(0x1a2)],null)||_0x52f69d['mutations'],_0x1fb507={..._0x52f69d,'mutations':_0x48b3b1};this[_0x504f3b(0x422)](),this['_updateState'](this[_0x504f3b(0x331)][_0x504f3b(0x41d)](_0x1fb507)),this[_0x504f3b(0x369)]();}[_0x59f468(0x21c)](_0x4ae605){const _0x3482b4=_0x59f468;this['_lockTransition'](),this[_0x3482b4(0x1f1)](this[_0x3482b4(0x331)][_0x3482b4(0x488)](_0x4ae605)),this['_unlockTransition']();}[_0x59f468(0x3a7)](_0x288d57){const _0x4c3ea1=_0x59f468;this['_lockTransition'](),this[_0x4c3ea1(0x1f1)](this[_0x4c3ea1(0x331)][_0x4c3ea1(0x236)](_0x288d57)),this[_0x4c3ea1(0x369)]();}['_onRemoteRetry'](_0x1f403a){const _0x41144e=_0x59f468;this[_0x41144e(0x422)](),this[_0x41144e(0x1f1)](this[_0x41144e(0x331)][_0x41144e(0x531)](_0x1f403a)),this[_0x41144e(0x369)]();}[_0x59f468(0x1ff)](_0x4feaa2){const _0x35ad46=_0x59f468;if(!(this[_0x35ad46(0x331)]instanceof ce))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x57d456=_0x4feaa2[_0x35ad46(0x36d)](_0x5afcfb=>{const _0x4114d1=_0x35ad46,_0x1db40f=this['_compressMutationService'][_0x4114d1(0x541)]['fetchThroughInterceptors'](this[_0x4114d1(0x332)][_0x4114d1(0x541)][_0x4114d1(0x219)]()[_0x4114d1(0x497)])(_0x5afcfb[_0x4114d1(0x1a2)],null)||_0x5afcfb['mutations'];return{..._0x5afcfb,'mutations':_0x1db40f};});this[_0x35ad46(0x422)](),this[_0x35ad46(0x1f1)](this['_state']['onMissedChangesetFetched'](_0x57d456)),this[_0x35ad46(0x369)]();}[_0x59f468(0x55e)](){const _0x1d49a5=_0x59f468;this[_0x1d49a5(0x422)](),this[_0x1d49a5(0x1f1)](this[_0x1d49a5(0x331)]['toggleOffline']()),this[_0x1d49a5(0x369)]();}[_0x59f468(0x323)](_0x42fe3b=!0x1){const _0xa8baf3=_0x59f468;this[_0xa8baf3(0x422)](),this[_0xa8baf3(0x1f1)](this['_state'][_0xa8baf3(0x2df)]()),this['_unlockTransition']();const _0x2c1bdf=this[_0xa8baf3(0x331)];_0x42fe3b&&_0x2c1bdf instanceof We&&(this['_lockTransition'](),this[_0xa8baf3(0x1f1)](_0x2c1bdf[_0xa8baf3(0x387)]()),this['_unlockTransition']());}async[_0x59f468(0x4fd)](){return new Promise(_0x34171b=>{const _0x7be041=_0x2eda;this[_0x7be041(0x2b6)][_0x7be041(0x27b)][_0x7be041(0x318)](_0x3fe09f(0x1))['subscribe'](async _0x1982cc=>{const _0x203a96=_0x7be041;_0x34171b(await this[_0x203a96(0x36b)](_0x1982cc===fe[_0x203a96(0x3b5)]));});});}[_0x59f468(0x3de)](){const _0x3ed153=_0x59f468,_0x4dd9e0=this[_0x3ed153(0x405)];return{'onStateChange':(_0x202d8d,_0x1ef2a5)=>{const _0x4c47b6=_0x3ed153;if(_0x202d8d!==this[_0x4c47b6(0x331)])throw new Error(_0x4c47b6(0x3ac)+_0x202d8d['status']+_0x4c47b6(0x424)+_0x1ef2a5['status']+'\x0aCurrent:\x20'+this['_state'][_0x4c47b6(0x1e8)]);this[_0x4c47b6(0x1f1)](_0x1ef2a5);},'onSendChangeset':_0x1fc7a7=>{const _0x575420=_0x3ed153;_0x1fc7a7['sid']||(_0x1fc7a7[_0x575420(0x575)]=this['_changesetSessionId'],_0x1fc7a7[_0x575420(0x417)]=++this[_0x575420(0x59e)]);const _0x13decf={'eventID':_0x8a32d4[_0x575420(0x5a8)],'data':{'unitID':_0x1fc7a7[_0x575420(0x405)],'unitType':this[_0x575420(0x56c)],'changeset':_0x1fc7a7,'memberID':this[_0x575420(0x2b6)][_0x575420(0x34f)]()}};this[_0x575420(0x2b6)][_0x575420(0x286)](_0x13decf,this[_0x575420(0x405)]);},'onMissingChangesets':({from:_0x570c53,to:_0x1f514b})=>{const _0x136d3f=_0x3ed153;this[_0x136d3f(0x3b6)][_0x136d3f(0x48b)](_0x136d3f(0x39f),'fetching\x20missing\x20changesets\x20from\x20'+_0x570c53+_0x136d3f(0x5b7)+_0x1f514b);const _0xc8b04={'eventID':_0x8a32d4[_0x136d3f(0x443)],'data':{'unitID':_0x4dd9e0,'unitType':this['_type'],'from':_0x570c53,'to':_0x1f514b}};this[_0x136d3f(0x2b6)][_0x136d3f(0x286)](_0xc8b04,this[_0x136d3f(0x405)]);}};}async[_0x59f468(0x36b)](_0x39028f){const _0x23de42=_0x59f468;var _0x64a7bd,_0x57aabf;const _0x11aa2e=await this['_localCacheService'][_0x23de42(0x4e6)](this[_0x23de42(0x405)]),_0xc25b62=(_0x64a7bd=_0x11aa2e==null?void 0x0:_0x11aa2e['mutations'])!=null?_0x64a7bd:[],_0x2e643e=(_0x57aabf=_0x11aa2e==null?void 0x0:_0x11aa2e['awaitingChangeset'])!=null?_0x57aabf:null,_0x43884e=!!(_0x2e643e!=null&&_0x2e643e[_0x23de42(0x575)])&&!!(_0x2e643e!=null&&_0x2e643e[_0x23de42(0x417)]);this[_0x23de42(0x421)]=_0x43884e?_0x2e643e[_0x23de42(0x575)]:co(),this[_0x23de42(0x59e)]=_0x43884e?_0x2e643e[_0x23de42(0x417)]:0x0;const _0x516763=this[_0x23de42(0x405)];try{this[_0x23de42(0x49e)](_0x2e643e,_0xc25b62);}catch(_0x176924){this[_0x23de42(0x3b6)][_0x23de42(0x1ec)](_0x176924);}const _0x333221=this[_0x23de42(0x3de)]();if(_0x39028f){const _0x148698=Xi(this[_0x23de42(0x351)],_0x516763,this[_0x23de42(0x56c)],_0x2e643e,_0xc25b62,_0x333221);return _0x148698 instanceof pe?_0x148698['_schedule']():(_0x148698 instanceof me||_0x148698 instanceof Te)&&_0x148698[_0x23de42(0x4ae)](),_0x148698;}return this[_0x23de42(0x351)][_0x23de42(0x2d8)](Oe,_0x516763,this[_0x23de42(0x56c)],_0x2e643e,_0xc25b62,_0x333221);}[_0x59f468(0x49e)](_0xd6a725,_0x247773){const _0x12bef0=_0x59f468;var _0x17f6fc,_0x232580;const _0xdb8e05=this[_0x12bef0(0x332)][_0x12bef0(0x541)][_0x12bef0(0x4ef)](this[_0x12bef0(0x332)][_0x12bef0(0x541)]['getInterceptPoints']()[_0x12bef0(0x497)]);(_0x17f6fc=_0xdb8e05((_0xd6a725==null?void 0x0:_0xd6a725[_0x12bef0(0x1a2)])||[],null))==null||_0x17f6fc[_0x12bef0(0x3b0)](_0x27bafa=>this[_0x12bef0(0x54d)][_0x12bef0(0x2c1)](_0x27bafa['id'],_0x27bafa['params'])),(_0x232580=_0xdb8e05(_0x247773||[],null))==null||_0x232580[_0x12bef0(0x3b0)](_0x2ba5b3=>this[_0x12bef0(0x54d)][_0x12bef0(0x2c1)](_0x2ba5b3['id'],_0x2ba5b3[_0x12bef0(0x4c3)]));}};Pt=Ps([H(0x3,_0x222038(_0x2e1c56)),H(0x4,_0x222038(z)),H(0x5,_0x222038(_0x117e38)),H(0x6,_0x222038(_0x52880d)),H(0x7,_0x222038(_0x21f454)),H(0x8,_0x37805d),H(0x9,_0x1e017f),H(0xa,_0x3bbf26),H(0xb,_0x593390),H(0xc,_0x3a5345(Ht))],Pt);let hs=class extends Pt{constructor(_0x2e6248,_0x1a9cf3,_0x1af99a,_0x1a1886,_0x419a23,_0x950513,_0x555ebd,_0x22d858,_0x18843a,_0x3a6881,_0x229cbb,_0x4f5c8c,_0x1ee1d0,_0x4f9aad,_0x462fcc,_0x3f7a70,_0x4f19c0,_0x1fd579){const _0x50b001=_0x59f468;super(_0x2e6248,_0x1af99a,_0x1a9cf3,_0x1a1886,_0x419a23,_0x950513,_0x555ebd,_0x22d858,_0x4f9aad,_0x462fcc,_0x3f7a70,_0x4f19c0,_0x1fd579),this[_0x50b001(0x405)]=_0x2e6248,this['type']=_0x1a9cf3,this[_0x50b001(0x5b4)]=_0x18843a,this[_0x50b001(0x1c4)]=_0x3a6881,this[_0x50b001(0x396)]=_0x229cbb,this['_docTransformSelectionsService']=_0x4f5c8c,this['_docSyncEditingCollabCursorService']=_0x1ee1d0;}['_createHandler'](){const _0x318399=_0x59f468,_0x7e4ee6=super[_0x318399(0x3de)]();return _0x7e4ee6[_0x318399(0x530)]=_0x133403=>this[_0x318399(0x1c4)][_0x318399(0x35f)](_0x133403),_0x7e4ee6[_0x318399(0x56a)]=_0x1eb73e=>this[_0x318399(0x396)]['transformStateCache'](_0x1eb73e),_0x7e4ee6['onTransformSelections']=_0x397851=>this['_docTransformSelectionsService'][_0x318399(0x391)](_0x397851),_0x7e4ee6[_0x318399(0x1aa)]=_0x582e05=>this['_docSyncEditingCollabCursorService'][_0x318399(0x533)](_0x582e05),_0x7e4ee6[_0x318399(0x2a0)]=_0x5d0590=>this['_docTransformIMECacheService'][_0x318399(0x425)](_0x5d0590),_0x7e4ee6[_0x318399(0x232)]=_0x4c8537=>this[_0x318399(0x396)][_0x318399(0x425)](_0x4c8537),_0x7e4ee6;}async['_init'](){const _0x232b4a=_0x59f468,_0x3b57a1=await super[_0x232b4a(0x59d)]();return this['disposeWithMe'](this[_0x232b4a(0x5b4)]['docStateChange$'][_0x232b4a(0x318)](_0x2eaf5f(this[_0x232b4a(0x2c5)]))['subscribe'](_0x10fd9b=>{const _0x55dcc6=_0x232b4a;if(_0x10fd9b==null)return;const {unitId:_0x340dc2,redoState:_0x417162,commandId:_0x762558}=_0x10fd9b;if(_0x340dc2!==this[_0x55dcc6(0x405)])return;const _0x3592a2={'id':_0x762558,'type':_0x2a05e3[_0x55dcc6(0x4c0)],'params':{'unitId':_0x340dc2,'actions':_0x417162[_0x55dcc6(0x584)],'textRanges':null}};this[_0x55dcc6(0x33f)](_0x3592a2);})),this[_0x232b4a(0x4e2)](this[_0x232b4a(0x54d)][_0x232b4a(0x3b7)]((_0x58bfd8,_0x37e82a)=>{const _0x23a45a=_0x232b4a;if(_0x58bfd8['type']!==_0x2a05e3[_0x23a45a(0x4c0)]||_0x37e82a!=null&&_0x37e82a['fromCollab']||_0x37e82a!=null&&_0x37e82a[_0x23a45a(0x2c9)]||_0x58bfd8['id']===_0x2bf5bd['id'])return;const _0x3f610b=_0x58bfd8['params'];if((_0x3f610b==null?void 0x0:_0x3f610b[_0x23a45a(0x51a)])!==this[_0x23a45a(0x405)])return;const _0x4a86b6=_0x58bfd8,_0x2e44de=this[_0x23a45a(0x332)][_0x23a45a(0x541)][_0x23a45a(0x4ef)](this[_0x23a45a(0x332)][_0x23a45a(0x541)][_0x23a45a(0x219)]()[_0x23a45a(0x49f)])([_0x4a86b6],null)||[_0x4a86b6];this[_0x23a45a(0x33f)](_0x2e44de[0x0]);})),_0x3b57a1;}};hs=Ps([H(0x3,_0x222038(_0x2e1c56)),H(0x4,_0x222038(z)),H(0x5,_0x222038(_0x117e38)),H(0x6,_0x222038(_0x52880d)),H(0x7,_0x222038(_0x21f454)),H(0x8,_0x222038(_0x2a72d5)),H(0x9,_0x222038(Ot)),H(0xa,_0x222038(wt)),H(0xb,_0x222038(Dt)),H(0xc,_0x222038(Ds)),H(0xd,_0x37805d),H(0xe,_0x1e017f),H(0xf,_0x3bbf26),H(0x10,_0x593390),H(0x11,_0x3a5345(Ht))],hs);let ls=class extends Pt{constructor(_0x538b8e,_0x294ee7,_0x5687dd,_0x1403f5,_0x1f87e9,_0x158516,_0x5dcca3,_0xf22c7e,_0x9d5b30,_0x1e4930,_0x1b7a05,_0x37d2dd,_0x125525,_0x5f0b19){const _0x486bed=_0x59f468;super(_0x538b8e,_0x5687dd,_0x294ee7,_0x1403f5,_0x1f87e9,_0x158516,_0x5dcca3,_0xf22c7e,_0x1e4930,_0x1b7a05,_0x37d2dd,_0x125525,_0x5f0b19),this['unitID']=_0x538b8e,this[_0x486bed(0x2b2)]=_0x294ee7,this[_0x486bed(0x334)]=_0x9d5b30;}['_createHandler'](){const _0x42da3c=_0x59f468,_0x5e4baa=super['_createHandler']();return _0x5e4baa[_0x42da3c(0x503)]=_0xf253aa=>this['_sheetTransformSelectionsService'][_0x42da3c(0x391)](_0xf253aa),_0x5e4baa;}async[_0x59f468(0x59d)](){const _0x2b1fe7=_0x59f468,_0x3a5f86=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x2b1fe7(0x3b7)]((_0x35d037,_0x3a262d)=>{const _0x2d306f=_0x2b1fe7;if(_0x35d037[_0x2d306f(0x2b2)]!==_0x2a05e3['MUTATION']||_0x3a262d!=null&&_0x3a262d['fromCollab']||_0x3a262d!=null&&_0x3a262d[_0x2d306f(0x2c9)])return;const _0x514fc8=_0x35d037[_0x2d306f(0x4c3)];if((_0x514fc8==null?void 0x0:_0x514fc8[_0x2d306f(0x51a)])!==this[_0x2d306f(0x405)])return;const _0x4c6ded=_0x35d037,_0x2f9822=this['_compressMutationService'][_0x2d306f(0x541)][_0x2d306f(0x4ef)](this[_0x2d306f(0x332)][_0x2d306f(0x541)][_0x2d306f(0x219)]()['COMPRESS_MUTATION_SEND'])([_0x4c6ded],null)||[_0x4c6ded];this['_onLocalMutation'](_0x2f9822[0x0]);})),_0x3a5f86;}};ls=Ps([H(0x3,_0x222038(_0x2e1c56)),H(0x4,_0x222038(z)),H(0x5,_0x222038(_0x117e38)),H(0x6,_0x222038(_0x52880d)),H(0x7,_0x222038(_0x21f454)),H(0x8,_0x222038(yt)),H(0x9,_0x37805d),H(0xa,_0x1e017f),H(0xb,_0x3bbf26),H(0xc,_0x593390),H(0xd,_0x3a5345(Ht))],ls);var xo=Object[_0x59f468(0x29a)],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x267b4b,_0x2bb357,_0x487e4e,_0x24574c)=>{const _0x999944=_0x59f468;for(var _0x481ff7=_0x24574c>0x1?void 0x0:_0x24574c?Lo(_0x2bb357,_0x487e4e):_0x2bb357,_0x430f2a=_0x267b4b[_0x999944(0x21a)]-0x1,_0xcf23bb;_0x430f2a>=0x0;_0x430f2a--)(_0xcf23bb=_0x267b4b[_0x430f2a])&&(_0x481ff7=(_0x24574c?_0xcf23bb(_0x2bb357,_0x487e4e,_0x481ff7):_0xcf23bb(_0x481ff7))||_0x481ff7);return _0x24574c&&_0x481ff7&&xo(_0x2bb357,_0x487e4e,_0x481ff7),_0x481ff7;},qt=(_0x498d09,_0x44176c)=>(_0x1598f2,_0x47e8b1)=>_0x44176c(_0x1598f2,_0x47e8b1,_0x498d09);let it=class extends _0x2c59cd{constructor(_0x1ff0e1,_0xb1401f,_0x5d33ab){const _0x397882=_0x59f468;super(),g(this,'_entities',new Map()),g(this,_0x397882(0x326),new _0xd6475b()),(this[_0x397882(0x351)]=_0x1ff0e1,this[_0x397882(0x3ff)]=_0xb1401f,this['_univerInstanceService']=_0x5d33ab,this['_init']());}['dispose'](){const _0x26fded=_0x59f468;super[_0x26fded(0x1ba)](),this[_0x26fded(0x47a)][_0x26fded(0x3b0)](_0x338641=>_0x338641[_0x26fded(0x1ba)]()),this[_0x26fded(0x47a)][_0x26fded(0x58a)]();}['getCollabEntity'](_0x392718){const _0x4c78b3=_0x59f468;var _0x10cde9;return(_0x10cde9=this[_0x4c78b3(0x47a)][_0x4c78b3(0x25d)](_0x392718))!=null?_0x10cde9:null;}['getCollabEntity$'](_0x7b60e){const _0x215599=_0x59f468,_0x30ebb5=this['getCollabEntity'](_0x7b60e);return _0x30ebb5?_0x38a752(_0x30ebb5):this['_entityInit$'][_0x215599(0x318)](_0x3c73ca(_0x10e691=>_0x10e691[_0x215599(0x405)]===_0x7b60e));}[_0x59f468(0x59d)](){const _0x1d9295=_0x59f468;this[_0x1d9295(0x525)][_0x1d9295(0x242)](_0x52550e[_0x1d9295(0x2b0)])['pipe'](_0x2eaf5f(this[_0x1d9295(0x2c5)]),_0x1d896a(0x10))[_0x1d9295(0x347)](async _0x36c293=>{const _0x13f62e=_0x1d9295,_0x1d12df=_0x36c293[_0x13f62e(0x25c)](),_0x2d5eb2=await this[_0x13f62e(0x505)](_0x1d12df,ae[_0x13f62e(0x2b0)]);this[_0x13f62e(0x47a)][_0x13f62e(0x279)](_0x1d12df,_0x2d5eb2);}),this[_0x1d9295(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x1d9295(0x4f9)])[_0x1d9295(0x318)](_0x2eaf5f(this['dispose$']),_0x1d896a(0x10))['pipe'](_0x3c73ca(_0x1412c1=>!_0x1412c1['getUnitId']()[_0x1d9295(0x2dd)]('__')))['subscribe'](async _0x12f2f9=>{const _0x20db32=_0x1d9295,_0x31ce3d=_0x12f2f9[_0x20db32(0x25c)](),_0x32cc39=await this[_0x20db32(0x505)](_0x31ce3d,ae[_0x20db32(0x4f9)]);this[_0x20db32(0x47a)]['set'](_0x31ce3d,_0x32cc39);}),_0x5becde(this[_0x1d9295(0x525)][_0x1d9295(0x31a)](_0x52550e[_0x1d9295(0x2b0)]),this[_0x1d9295(0x525)][_0x1d9295(0x31a)](_0x52550e[_0x1d9295(0x4f9)]))[_0x1d9295(0x318)](_0x2eaf5f(this['dispose$']))['subscribe'](_0x35f938=>{const _0x2fd596=_0x1d9295,_0x1647ff=_0x35f938[_0x2fd596(0x25c)](),_0x6df25e=this[_0x2fd596(0x47a)][_0x2fd596(0x25d)](_0x1647ff);_0x6df25e&&(_0x6df25e[_0x2fd596(0x1ba)](),this[_0x2fd596(0x47a)][_0x2fd596(0x29e)](_0x1647ff));});}async[_0x59f468(0x505)](_0x174462,_0x23c44b){const _0x238fe8=_0x59f468,_0x387357=await this[_0x238fe8(0x3ff)][_0x238fe8(0x55c)](_0x174462),_0x3e1e0f=this[_0x238fe8(0x351)][_0x238fe8(0x2d8)](this['_getCtorByUniverType'](_0x23c44b),_0x174462,_0x23c44b,_0x387357);return await _0x3e1e0f[_0x238fe8(0x43e)](),this['_entityInit$'][_0x238fe8(0x307)](_0x3e1e0f),_0x3e1e0f;}[_0x59f468(0x418)](_0x4632b3){const _0x24a7bd=_0x59f468;switch(_0x4632b3){case ae[_0x24a7bd(0x4f9)]:return hs;case ae[_0x24a7bd(0x2b0)]:return ls;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4632b3);}}};it=$o([qt(0x0,_0x222038(_0x2e1c56)),qt(0x1,_0x222038(Me)),qt(0x2,_0xd7de45)],it);var Ho=Object[_0x59f468(0x29a)],jo=Object[_0x59f468(0x368)],Bo=(_0x44d3f1,_0x1473c1,_0x246d30,_0x218eb5)=>{const _0x12f7e0=_0x59f468;for(var _0x20b5d9=_0x218eb5>0x1?void 0x0:_0x218eb5?jo(_0x1473c1,_0x246d30):_0x1473c1,_0x5ae4c9=_0x44d3f1[_0x12f7e0(0x21a)]-0x1,_0x56d30b;_0x5ae4c9>=0x0;_0x5ae4c9--)(_0x56d30b=_0x44d3f1[_0x5ae4c9])&&(_0x20b5d9=(_0x218eb5?_0x56d30b(_0x1473c1,_0x246d30,_0x20b5d9):_0x56d30b(_0x20b5d9))||_0x20b5d9);return _0x218eb5&&_0x20b5d9&&Ho(_0x1473c1,_0x246d30,_0x20b5d9),_0x20b5d9;},ei=(_0x1cf39a,_0x3c790c)=>(_0x591ac3,_0x41e97e)=>_0x3c790c(_0x591ac3,_0x41e97e,_0x1cf39a);let Ut=class extends _0x2c59cd{constructor(_0x2766f2,_0x3eee0b){const _0x3f22cc=_0x59f468;super(),this[_0x3f22cc(0x537)]=_0x2766f2,this['_imageIoService']=_0x3eee0b,this[_0x3f22cc(0x59d)]();}[_0x59f468(0x59d)](){const _0x31339d=_0x59f468,_0x3df110=this;this[_0x31339d(0x4e2)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x57483c=>{const _0x2bfd43=_0x31339d,_0x6c61ec=await _0x3df110['_imageIoService']['saveImage'](_0x57483c);return _0x6c61ec?{'source':_0x6c61ec[_0x2bfd43(0x4a4)],'imageSourceType':_0x6c61ec[_0x2bfd43(0x46b)]}:null;}}));}};Ut=Bo([ei(0x0,_0x33630a),ei(0x1,_0x3c5ccf)],Ut);const ti=[_0x59f468(0x457),'jiqing500',_0x59f468(0x1a3),_0x59f468(0x512),'blue400',_0x59f468(0x2ae)];class Us extends _0x19fe63{constructor(){const _0x55d878=_0x59f468;super(...arguments),g(this,_0x55d878(0x344),new Map()),g(this,_0x55d878(0x502),0x0);}['assignAColorForMemberID'](_0x522c12){const _0x5bc729=_0x59f468;if(this[_0x5bc729(0x344)][_0x5bc729(0x309)](_0x522c12))return this[_0x5bc729(0x344)][_0x5bc729(0x25d)](_0x522c12);const _0x20af53=ti[this[_0x5bc729(0x502)]];return this[_0x5bc729(0x502)]=(this[_0x5bc729(0x502)]+0x1)%ti['length'],this[_0x5bc729(0x344)][_0x5bc729(0x279)](_0x522c12,_0x20af53),_0x20af53;}}var ko=Object[_0x59f468(0x29a)],Wo=Object[_0x59f468(0x368)],Fo=(_0x30e626,_0x580087,_0x511889,_0x34a598)=>{const _0x1f4cc7=_0x59f468;for(var _0x28ab91=_0x34a598>0x1?void 0x0:_0x34a598?Wo(_0x580087,_0x511889):_0x580087,_0x3c5446=_0x30e626[_0x1f4cc7(0x21a)]-0x1,_0x30bf79;_0x3c5446>=0x0;_0x3c5446--)(_0x30bf79=_0x30e626[_0x3c5446])&&(_0x28ab91=(_0x34a598?_0x30bf79(_0x580087,_0x511889,_0x28ab91):_0x30bf79(_0x28ab91))||_0x28ab91);return _0x34a598&&_0x28ab91&&ko(_0x580087,_0x511889,_0x28ab91),_0x28ab91;},we=(_0x4e40d3,_0x16885a)=>(_0x148004,_0x127fbc)=>_0x16885a(_0x148004,_0x127fbc,_0x4e40d3);const Vo=0x12c,Go=0x64;let _s=class extends _0x2c59cd{constructor(_0x16aaad,_0x2e8b7b,_0x42aafe,_0x41b51c,_0x433f33,_0x46de47,_0x3e6aa6,_0x4f743f,_0x3e083c){const _0x14928e=_0x59f468;super(),g(this,_0x14928e(0x1fc),!0x1),g(this,_0x14928e(0x59d),!0x1),g(this,_0x14928e(0x32b),new _0x1f1fc6(new Map())),g(this,_0x14928e(0x557),this[_0x14928e(0x32b)][_0x14928e(0x472)]()),g(this,_0x14928e(0x1be),new _0x1f1fc6([])),g(this,_0x14928e(0x1e3),this['_roomMembers$'][_0x14928e(0x318)](_0x477823(Vo))),g(this,'_updateLocalCursor',_0x14f2b0(_0x5e23a2=>{const _0x5e3d34=_0x14928e,_0x29f08c={'eventID':_0x8a32d4[_0x5e3d34(0x563)],'data':{'unitID':this['unitID'],'memberID':this[_0x5e3d34(0x356)][_0x5e3d34(0x34f)](),'selection':Ki(_0x5e23a2)}};this[_0x5e3d34(0x356)][_0x5e3d34(0x286)](_0x29f08c,this['unitID']);},Go)),(this[_0x14928e(0x405)]=_0x16aaad,this['_session']=_0x2e8b7b,this[_0x14928e(0x351)]=_0x42aafe,this['_colorAssignService']=_0x41b51c,this['_memberService']=_0x433f33,this[_0x14928e(0x367)]=_0x46de47,this[_0x14928e(0x24f)]=_0x3e6aa6,this[_0x14928e(0x525)]=_0x4f743f,this[_0x14928e(0x54d)]=_0x3e083c);}get['cursorInfo'](){const _0x63140a=_0x59f468;return this[_0x63140a(0x32b)]['getValue']();}get[_0x59f468(0x2bc)](){const _0x53636e=_0x59f468;return this[_0x53636e(0x1be)]['getValue']();}[_0x59f468(0x1ba)](){const _0x3ed939=_0x59f468;super['dispose'](),this[_0x3ed939(0x32b)][_0x3ed939(0x307)](new Map()),this['_cursorInfo$'][_0x3ed939(0x3ee)](),this['_roomMembers$']['next']([]),this[_0x3ed939(0x1be)][_0x3ed939(0x3ee)]();}[_0x59f468(0x43e)](){const _0x1adb1e=_0x59f468;this[_0x1adb1e(0x59d)]||(this['_init']=!0x0,this[_0x1adb1e(0x356)][_0x1adb1e(0x27b)][_0x1adb1e(0x318)](_0x2eaf5f(this['dispose$']))[_0x1adb1e(0x347)](_0x310f0a=>{const _0x118f08=_0x1adb1e;_0x310f0a===fe[_0x118f08(0x3b5)]?this['_toggleOnline']():this[_0x118f08(0x55e)]();}),this[_0x1adb1e(0x356)][_0x1adb1e(0x529)][_0x1adb1e(0x318)](_0x2eaf5f(this[_0x1adb1e(0x2c5)]))[_0x1adb1e(0x347)](_0x3a7f74=>{const _0x13a486=_0x1adb1e,_0x35baf0=_0x3a7f74[_0x13a486(0x1b1)];_0x35baf0===_0x8a32d4[_0x13a486(0x563)]&&this[_0x13a486(0x2d4)](_0x3a7f74),_0x35baf0===_0x8a32d4['USERS_LEAVE']&&this['_onCursorDelete'](_0x3a7f74);}),this[_0x1adb1e(0x4e2)](this[_0x1adb1e(0x54d)][_0x1adb1e(0x3b7)](_0x4b341b=>{const _0x15df94=_0x1adb1e,_0x4e3503=_0x4b341b['params'];_0x4e3503!=null&&this[_0x15df94(0x1fc)]&&_0x4b341b['id']===_0x403062['id']&&_0x4e3503['unitId']===this['unitID']&&_0x4e3503['isEditing']===!0x1&&_0x4e3503[_0x15df94(0x39c)][_0x15df94(0x21a)]>0x0&&this[_0x15df94(0x333)](_0x4e3503[_0x15df94(0x39c)]);})),this[_0x1adb1e(0x367)]['collabCursorState$']['pipe'](_0x2eaf5f(this['dispose$']))[_0x1adb1e(0x347)](_0x1ff4b7=>{const _0x1263c1=_0x1adb1e;if((_0x1ff4b7==null?void 0x0:_0x1ff4b7[_0x1263c1(0x405)])!==this['unitID'])return;const _0x2780d8={'eventID':_0x8a32d4[_0x1263c1(0x563)],'data':_0x1ff4b7};this[_0x1263c1(0x2d4)](_0x2780d8);}),this['disposeWithMe'](this[_0x1adb1e(0x54d)]['onCommandExecuted'](_0x5bda13=>{const _0x356869=_0x1adb1e;if(_0x5bda13['params']==null)return;const _0xeb8d3a=_0x5bda13[_0x356869(0x4c3)];if(_0x5bda13['id']!==_0x2bf5bd['id']||_0xeb8d3a[_0x356869(0x51a)]!==this[_0x356869(0x405)])return;const _0x649272={'id':_0x356869(0x392),'params':_0xeb8d3a},_0x9222b0=this[_0x356869(0x22f)];for(const [_0x3724c5,_0x15a469]of _0x9222b0){const _0x1f16fc={'id':_0x356869(0x392),'params':{'unitId':this[_0x356869(0x405)],'actions':null,'textRanges':_0x15a469[_0x356869(0x39c)]}},_0x560db2=this[_0x356869(0x24f)][_0x356869(0x591)](_0x649272,_0x1f16fc,!0x1);if(_0x18387e(_0x560db2))throw _0x560db2[_0x356869(0x1ec)];_0x9222b0[_0x356869(0x279)](_0x3724c5,{..._0x15a469,'ranges':_0x560db2[_0x356869(0x388)][_0x356869(0x4c3)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x9222b0);});})));}['_onCursorUpdate'](_0x948f1b){const _0x249ae6=_0x59f468;var _0x377e02,_0x7c5c7b;const {memberID:_0xcf929,selection:_0xaf6a35}=_0x948f1b['data'],_0x59f440=To(_0xaf6a35),_0x3c5207=(_0x7c5c7b=(_0x377e02=this[_0x249ae6(0x43b)][_0x249ae6(0x2ac)](this[_0x249ae6(0x405)],_0xcf929))==null?void 0x0:_0x377e02['name'])!=null?_0x7c5c7b:_0x249ae6(0x5b2),_0x4b6260={'color':this[_0x249ae6(0x4f6)][_0x249ae6(0x4c4)](_0xcf929),'name':_0x3c5207,'ranges':_0x59f440},_0x47c12d=this[_0x249ae6(0x22f)];_0x47c12d[_0x249ae6(0x279)](_0xcf929,_0x4b6260),this[_0x249ae6(0x32b)]['next'](_0x47c12d);}[_0x59f468(0x214)](_0x1bf2c5){const _0x4de03d=_0x59f468,{memberID:_0xb59269}=_0x1bf2c5['data'],_0x1fbb84=this[_0x4de03d(0x22f)];_0x1fbb84[_0x4de03d(0x29e)](_0xb59269),this[_0x4de03d(0x32b)][_0x4de03d(0x307)](_0x1fbb84);}[_0x59f468(0x323)](){const _0x4eadd0=_0x59f468;var _0x5d87a0;if(this['_online']=!0x0,((_0x5d87a0=this[_0x4eadd0(0x525)][_0x4eadd0(0x370)]())==null?void 0x0:_0x5d87a0['getUnitId']())!==this['unitID'])return;const _0x395c46=this['_injector'][_0x4eadd0(0x25d)](_0x4768db)[_0x4eadd0(0x24d)]();Array[_0x4eadd0(0x53a)](_0x395c46)&&_0x395c46[_0x4eadd0(0x21a)]>0x0&&this[_0x4eadd0(0x333)](_0x395c46);}[_0x59f468(0x55e)](){const _0x1e62ca=_0x59f468;this[_0x1e62ca(0x1fc)]=!0x1;}};_s=Fo([we(0x2,_0x222038(_0x2e1c56)),we(0x3,_0x222038(Us)),we(0x4,_0x222038(Ae)),we(0x5,_0x222038(Ds)),we(0x6,_0x4cb437),we(0x7,_0xd7de45),we(0x8,_0x1e017f)],_s);var Yo=Object['defineProperty'],Ko=Object['getOwnPropertyDescriptor'],qo=(_0x361d3f,_0x131558,_0x448b9f,_0x2a2c1a)=>{const _0xd04b6b=_0x59f468;for(var _0x310c72=_0x2a2c1a>0x1?void 0x0:_0x2a2c1a?Ko(_0x131558,_0x448b9f):_0x131558,_0x3c33b7=_0x361d3f[_0xd04b6b(0x21a)]-0x1,_0xdb992b;_0x3c33b7>=0x0;_0x3c33b7--)(_0xdb992b=_0x361d3f[_0x3c33b7])&&(_0x310c72=(_0x2a2c1a?_0xdb992b(_0x131558,_0x448b9f,_0x310c72):_0xdb992b(_0x310c72))||_0x310c72);return _0x2a2c1a&&_0x310c72&&Yo(_0x131558,_0x448b9f,_0x310c72),_0x310c72;},je=(_0x308486,_0x1a3c81)=>(_0x1a4598,_0xb7db85)=>_0x1a3c81(_0x1a4598,_0xb7db85,_0x308486);const zo=0x12c,Xo=0x64,Jo=()=>{let _0x270ea3=[],_0x2b8263=!0x1;return _0x599e07=>{const _0x1be400=_0x2eda;_0x270ea3[_0x1be400(0x4cf)](_0x599e07),_0x2b8263||(_0x2b8263=!0x0,setTimeout(()=>{const _0x2a66b3=_0x1be400;_0x270ea3[_0x2a66b3(0x3b0)](_0x4291fb=>_0x4291fb()),_0x270ea3=[],_0x2b8263=!0x1;}));};};let us=class extends _0x2c59cd{constructor(_0x4142d3,_0x3f8a71,_0x4799a1,_0x5208b1,_0x3afa5a,_0x2ce31c,_0x398d01,_0x28e670){const _0x3bc1f2=_0x59f468;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,'_cursorInfo$',new _0x1f1fc6(new Map())),g(this,_0x3bc1f2(0x557),this[_0x3bc1f2(0x32b)]['asObservable']()),g(this,'_roomMembers$',new _0x1f1fc6([])),g(this,_0x3bc1f2(0x1e3),this[_0x3bc1f2(0x1be)][_0x3bc1f2(0x318)](_0x477823(zo))),g(this,_0x3bc1f2(0x333),_0x14f2b0((_0x363ec5,_0xc1777b)=>{const _0xcb02d7=_0x3bc1f2,_0x8eaaad={'eventID':_0x8a32d4['UPDATE_CURSOR'],'data':{'unitID':this[_0xcb02d7(0x405)],'memberID':this[_0xcb02d7(0x356)][_0xcb02d7(0x34f)](),'selection':_0x44ca9e(_0x363ec5,_0xc1777b[_0xcb02d7(0x1d8)])}};this[_0xcb02d7(0x356)]['send'](_0x8eaaad,this[_0xcb02d7(0x405)]);},Xo)),(this['unitID']=_0x4142d3,this[_0x3bc1f2(0x356)]=_0x3f8a71,this[_0x3bc1f2(0x351)]=_0x4799a1,this[_0x3bc1f2(0x4f6)]=_0x5208b1,this['_memberService']=_0x3afa5a,this['_univerInstanceService']=_0x2ce31c,this['_commandService']=_0x398d01,this[_0x3bc1f2(0x28c)]=_0x28e670);}get['cursorInfo'](){const _0x4f98da=_0x59f468;return this[_0x4f98da(0x32b)][_0x4f98da(0x44d)]();}get[_0x59f468(0x2bc)](){const _0x12511f=_0x59f468;return this[_0x12511f(0x1be)]['getValue']();}[_0x59f468(0x1ba)](){const _0x2d8684=_0x59f468;super[_0x2d8684(0x1ba)](),this['_cursorInfo$'][_0x2d8684(0x307)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$']['next']([]),this[_0x2d8684(0x1be)][_0x2d8684(0x3ee)]();}[_0x59f468(0x43e)](){const _0x57bde8=_0x59f468;this[_0x57bde8(0x59d)]||(this['_init']=!0x0,this[_0x57bde8(0x356)][_0x57bde8(0x27b)][_0x57bde8(0x318)](_0x2eaf5f(this['dispose$']))[_0x57bde8(0x347)](_0x66b323=>{const _0x1e3531=_0x57bde8;_0x66b323===fe['ONLINE']?this[_0x1e3531(0x323)]():this[_0x1e3531(0x55e)]();}),this['_session'][_0x57bde8(0x529)][_0x57bde8(0x318)](_0x2eaf5f(this[_0x57bde8(0x2c5)]))[_0x57bde8(0x347)](_0x7f705a=>{const _0x48ddb8=_0x57bde8,_0x1c947f=_0x7f705a[_0x48ddb8(0x1b1)];_0x1c947f===_0x8a32d4[_0x48ddb8(0x563)]&&this['_onCursorUpdate'](_0x7f705a),_0x1c947f===_0x8a32d4[_0x48ddb8(0x23b)]&&this[_0x48ddb8(0x214)](_0x7f705a);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x57bde8(0x3b7)](_0x37dcba=>{const _0x35e24e=_0x57bde8;if(this[_0x35e24e(0x1fc)]&&_0x37dcba['id']===_0x20d3bf['id']&&_0x37dcba[_0x35e24e(0x4c3)][_0x35e24e(0x51a)]===this[_0x35e24e(0x405)]){const _0xa15940=_0x37dcba[_0x35e24e(0x4c3)];this[_0x35e24e(0x333)](_0xa15940['subUnitId'],_0xa15940[_0x35e24e(0x365)][0x0]);}})));}[_0x59f468(0x2d4)](_0x183bae){const _0x18eff1=_0x59f468;var _0x5d4cff,_0x1db6bd;const {memberID:_0x241c45,selection:_0x27b40a}=_0x183bae[_0x18eff1(0x233)],{sheetName:_0x3cabf1,range:_0x13255f}=_0x47b496(_0x27b40a),_0x595ed1={'name':(_0x1db6bd=(_0x5d4cff=this[_0x18eff1(0x43b)][_0x18eff1(0x2ac)](this[_0x18eff1(0x405)],_0x241c45))==null?void 0x0:_0x5d4cff[_0x18eff1(0x48c)])!=null?_0x1db6bd:'Unknown\x20user','range':this[_0x18eff1(0x2c2)](_0x3cabf1,_0x13255f),'sheetID':_0x3cabf1,'color':this[_0x18eff1(0x4f6)][_0x18eff1(0x4c4)](_0x241c45),'selection':_0x27b40a},_0x5da440=this[_0x18eff1(0x22f)];_0x5da440[_0x18eff1(0x279)](_0x241c45,_0x595ed1),this[_0x18eff1(0x32b)]['next'](_0x5da440);}[_0x59f468(0x214)](_0x7d2f89){const _0xacff0c=_0x59f468,{memberID:_0x2bd8a7}=_0x7d2f89['data'],_0xafb614=this['cursorInfo'];_0xafb614[_0xacff0c(0x29e)](_0x2bd8a7),this['_cursorInfo$'][_0xacff0c(0x307)](_0xafb614);}['_getMergeRange'](_0x3512db,_0x3145b8){const _0x2b18ba=_0x59f468;var _0x355a6d,_0x257f34;const _0x100ccd=(_0x257f34=(_0x355a6d=this[_0x2b18ba(0x525)][_0x2b18ba(0x404)](this[_0x2b18ba(0x405)]))==null?void 0x0:_0x355a6d[_0x2b18ba(0x21f)](_0x3512db))==null?void 0x0:_0x257f34['getMergeData']();return(_0x100ccd==null?void 0x0:_0x100ccd['find'](_0x423cef=>_0x23bbd9[_0x2b18ba(0x25a)](_0x423cef,_0x3145b8)))||_0x3145b8;}[_0x59f468(0x349)](){const _0x199582=_0x59f468,_0x78d4cc=new _0x2fc363(),_0x57f123=Jo(),_0x462fba=()=>{const _0x38d39d=_0x2eda;_0x78d4cc[_0x38d39d(0x1ba)]();const _0x5b83b3=(_0x497ddd,_0x1de744,_0x18891c,_0x1b5813)=>{const _0x538b87=_0x38d39d;let _0x30c429=[];switch(_0x497ddd['id']){case _0x41e7aa['DeleteRangeMoveLeftCommandId']:{_0x30c429=_0x32e871(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x402)]:{_0x30c429=_0x19d6d3(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x550)]:{_0x30c429=_0x51dcac(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x45f)]:{_0x30c429=_0x4c153f(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x3b3)]:{_0x30c429=_0x4172fd(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x319)]:{_0x30c429=_0xdf91b0(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x1d1)]:{_0x30c429=_0x10af59(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x53b)]:{_0x30c429=_0x8f8b06(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x2ca)]:{_0x30c429=_0x27bb0b(_0x497ddd,_0x1b5813);break;}}const _0x4b3375=_0x56b84c(_0x30c429,_0x1b5813),_0x53cda3=this['cursorInfo'][_0x538b87(0x25d)](_0x1de744);if(_0x53cda3&&_0x4b3375){const _0x45c59c={..._0x53cda3,'range':_0x4b3375};this[_0x538b87(0x22f)][_0x538b87(0x279)](_0x1de744,_0x45c59c),_0x57f123(()=>{const _0x1a4c31=_0x538b87,_0x2993f6=this['_refRangeService'][_0x1a4c31(0x4d6)](_0x4b3375,_0x5b9885=>(_0x2993f6[_0x1a4c31(0x1ba)](),_0x5b83b3(_0x5b9885,_0x1de744,_0x18891c,_0x4b3375)));_0x78d4cc[_0x1a4c31(0x3ab)](_0x2993f6);});}return{'redos':[],'undos':[]};};this[_0x38d39d(0x22f)]['forEach']((_0x92a1a5,_0x1a0b9d)=>{const _0x181f8a=_0x38d39d,{range:_0x3276a8,sheetID:_0xda2f73}=_0x92a1a5,_0x3d8f94=this['_refRangeService'][_0x181f8a(0x4d6)](_0x3276a8,_0x4b4b52=>(_0x3d8f94[_0x181f8a(0x1ba)](),_0x5b83b3(_0x4b4b52,_0x1a0b9d,_0xda2f73,_0x3276a8)));_0x78d4cc[_0x181f8a(0x3ab)](_0x3d8f94);});};this['disposeWithMe'](_0x510055(this[_0x199582(0x32b)][_0x199582(0x347)](()=>{_0x462fba();})));}['_toggleOnline'](){const _0x21f221=_0x59f468;var _0x21ac1c,_0x233c41;if(this[_0x21f221(0x1fc)]=!0x0,((_0x21ac1c=this[_0x21f221(0x525)][_0x21f221(0x370)]())==null?void 0x0:_0x21ac1c[_0x21f221(0x25c)]())!==this[_0x21f221(0x405)])return;const _0x9271ea=(_0x233c41=this['_injector'][_0x21f221(0x25d)](_0x49c3d1)['getCurrentSelections']())==null?void 0x0:_0x233c41[0x0],_0x2efe85=this[_0x21f221(0x525)][_0x21f221(0x558)](_0x52550e[_0x21f221(0x2b0)])[_0x21f221(0x561)]();_0x9271ea&&_0x2efe85&&this[_0x21f221(0x333)](_0x2efe85[_0x21f221(0x51d)](),_0x9271ea);}[_0x59f468(0x55e)](){const _0x1407ab=_0x59f468;this[_0x1407ab(0x1fc)]=!0x1;}};us=qo([je(0x2,_0x222038(_0x2e1c56)),je(0x3,_0x222038(Us)),je(0x4,_0x222038(Ae)),je(0x5,_0xd7de45),je(0x6,_0x1e017f),je(0x7,_0x222038(_0x4214dd))],us);var Zo=Object[_0x59f468(0x29a)],Qo=Object[_0x59f468(0x368)],ea=(_0x2bc09f,_0x900f5b,_0x126578,_0x4e68ca)=>{const _0x3892ad=_0x59f468;for(var _0x56513b=_0x4e68ca>0x1?void 0x0:_0x4e68ca?Qo(_0x900f5b,_0x126578):_0x900f5b,_0x16a13b=_0x2bc09f[_0x3892ad(0x21a)]-0x1,_0x59942e;_0x16a13b>=0x0;_0x16a13b--)(_0x59942e=_0x2bc09f[_0x16a13b])&&(_0x56513b=(_0x4e68ca?_0x59942e(_0x900f5b,_0x126578,_0x56513b):_0x59942e(_0x56513b))||_0x56513b);return _0x4e68ca&&_0x56513b&&Zo(_0x900f5b,_0x126578,_0x56513b),_0x56513b;},zt=(_0x512f84,_0xb3c334)=>(_0x43727f,_0x5bc4b8)=>_0xb3c334(_0x43727f,_0x5bc4b8,_0x512f84);let Fe=class extends _0x2c59cd{constructor(_0x1f06ef,_0x1f71e7,_0x1943f3){const _0x3cb223=_0x59f468;super(),g(this,'_entities',new Map()),g(this,_0x3cb223(0x326),new _0xd6475b()),(this['_univerInstanceService']=_0x1f06ef,this[_0x3cb223(0x351)]=_0x1f71e7,this[_0x3cb223(0x3ff)]=_0x1943f3,this[_0x3cb223(0x59d)]());}['dispose'](){const _0x2e5829=_0x59f468;super[_0x2e5829(0x1ba)](),this[_0x2e5829(0x326)]['complete'](),this['_entities'][_0x2e5829(0x3b0)](_0x4adedd=>_0x4adedd[_0x2e5829(0x1ba)]());}[_0x59f468(0x282)](_0x2318dd){const _0x261c8b=_0x59f468;return this['_entities'][_0x261c8b(0x309)](_0x2318dd)?this[_0x261c8b(0x47a)][_0x261c8b(0x25d)](_0x2318dd)[_0x261c8b(0x557)]:this[_0x261c8b(0x326)]['pipe'](_0x54e74d(_0x50417a=>_0x50417a[_0x261c8b(0x405)]===_0x2318dd),_0x2bc5b0(_0x39ff85=>_0x39ff85[_0x261c8b(0x557)]));}['_init'](){const _0x5181c5=_0x59f468;this[_0x5181c5(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x5181c5(0x2b0)])['pipe'](_0x2eaf5f(this['dispose$']))[_0x5181c5(0x347)](async _0x364f0a=>{const _0x3aad6a=_0x5181c5,_0x4fec14=_0x364f0a['getUnitId'](),_0x5e2cf2=await this['_startSheetCollabCursor'](_0x4fec14);this[_0x3aad6a(0x326)][_0x3aad6a(0x307)](_0x5e2cf2),this[_0x3aad6a(0x47a)][_0x3aad6a(0x279)](_0x4fec14,_0x5e2cf2);}),this[_0x5181c5(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x5181c5(0x4f9)])['pipe'](_0x2eaf5f(this[_0x5181c5(0x2c5)]))[_0x5181c5(0x318)](_0x54e74d(_0x4b1ae1=>!_0x4b1ae1['getUnitId']()[_0x5181c5(0x2dd)]('__')))['subscribe'](async _0x42f55a=>{const _0x130724=_0x5181c5,_0x1998bc=_0x42f55a[_0x130724(0x25c)](),_0x574183=await this[_0x130724(0x2aa)](_0x1998bc);this[_0x130724(0x326)]['next'](_0x574183),this['_entities'][_0x130724(0x279)](_0x1998bc,_0x574183);}),_0x5becde(this[_0x5181c5(0x525)][_0x5181c5(0x31a)](_0x52550e[_0x5181c5(0x4f9)]),this[_0x5181c5(0x525)][_0x5181c5(0x31a)](_0x52550e['UNIVER_SHEET']))['pipe'](_0x2eaf5f(this[_0x5181c5(0x2c5)]))[_0x5181c5(0x347)](_0x5709bf=>{const _0x56a5ea=_0x5181c5,_0x3603db=_0x5709bf[_0x56a5ea(0x25c)](),_0x2f091d=this[_0x56a5ea(0x47a)][_0x56a5ea(0x25d)](_0x3603db);_0x2f091d&&(_0x2f091d[_0x56a5ea(0x1ba)](),this[_0x56a5ea(0x47a)]['delete'](_0x3603db));});}async[_0x59f468(0x564)](_0x2cfdf3){const _0x33c5a7=_0x59f468,_0x43d78c=await this['_collabSessionService'][_0x33c5a7(0x55c)](_0x2cfdf3),_0x3fe275=this[_0x33c5a7(0x351)][_0x33c5a7(0x2d8)](us,_0x2cfdf3,_0x43d78c);return _0x3fe275['init'](),_0x3fe275;}async[_0x59f468(0x2aa)](_0x4ad680){const _0x2b6d95=_0x59f468,_0x768970=await this[_0x2b6d95(0x3ff)][_0x2b6d95(0x55c)](_0x4ad680),_0xfbc415=this[_0x2b6d95(0x351)]['createInstance'](_s,_0x4ad680,_0x768970);return _0xfbc415[_0x2b6d95(0x43e)](),_0xfbc415;}};Fe=ea([zt(0x0,_0xd7de45),zt(0x1,_0x222038(_0x2e1c56)),zt(0x2,_0x222038(Me))],Fe);const rt=0x14,si=0xc8,Xt=0x4,ta=0x5;function sa(_0x6d0bd6,_0x579a90){const _0x53680b=_0x59f468;let {radius:_0x5d0cc8,width:_0x2da928,height:_0x519303}=_0x579a90;_0x5d0cc8=_0x5d0cc8!=null?_0x5d0cc8:0x0,_0x2da928=_0x2da928!=null?_0x2da928:0x1e,_0x519303=_0x519303!=null?_0x519303:0x1e;let _0x169ed9=0x0,_0x59780e=0x0,_0x599dc4=0x0;_0x169ed9=_0x59780e=_0x599dc4=Math[_0x53680b(0x42a)](_0x5d0cc8,_0x2da928/0x2,_0x519303/0x2),_0x6d0bd6[_0x53680b(0x25b)](),_0x6d0bd6[_0x53680b(0x1df)](_0x169ed9,0x0),_0x6d0bd6[_0x53680b(0x383)](_0x2da928-_0x59780e,0x0),_0x6d0bd6['arc'](_0x2da928-_0x59780e,_0x59780e,_0x59780e,Math['PI']*0x3/0x2,0x0,!0x1),_0x6d0bd6[_0x53680b(0x383)](_0x2da928,_0x519303-_0x599dc4),_0x6d0bd6[_0x53680b(0x427)](_0x2da928-_0x599dc4,_0x519303-_0x599dc4,_0x599dc4,0x0,Math['PI']/0x2,!0x1),_0x6d0bd6[_0x53680b(0x383)](0x0,_0x519303),_0x6d0bd6[_0x53680b(0x383)](0x0,_0x169ed9),_0x6d0bd6['arc'](_0x169ed9,_0x169ed9,_0x169ed9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6d0bd6[_0x53680b(0x598)](),_0x579a90['fill']&&(_0x6d0bd6['save'](),_0x6d0bd6[_0x53680b(0x4c7)]=_0x579a90[_0x53680b(0x3fd)],_0x579a90['fillRule']===_0x53680b(0x5b8)?_0x6d0bd6[_0x53680b(0x3fd)](_0x53680b(0x5b8)):_0x6d0bd6[_0x53680b(0x3fd)](),_0x6d0bd6[_0x53680b(0x229)]());}class jt extends _0x37149c{constructor(_0x5bdc84,_0x23b466){const _0x21e957=_0x59f468;super(_0x5bdc84,_0x23b466),g(this,_0x21e957(0x478)),g(this,_0x21e957(0x504)),(this[_0x21e957(0x478)]=_0x23b466==null?void 0x0:_0x23b466[_0x21e957(0x478)],this['text']=_0x23b466==null?void 0x0:_0x23b466['text']);}static[_0x59f468(0x4dc)](_0x1f7614,_0x42c933){const _0x2d466a=_0x59f468,{text:_0x73504c,color:_0x57b303}=_0x42c933;_0x1f7614[_0x2d466a(0x310)](),_0x1f7614[_0x2d466a(0x1e0)]=_0x2d466a(0x299);const _0x43adb2=_0x1f7614[_0x2d466a(0x272)](_0x73504c)[_0x2d466a(0x1f4)],_0x49dbde=Math[_0x2d466a(0x42a)](_0x43adb2+0x2*Xt,si);sa(_0x1f7614,{'height':rt,'radius':0x4,'width':_0x49dbde,'fill':_0x57b303,'evented':!0x1}),_0x1f7614[_0x2d466a(0x4c7)]='#FFF';const _0xa34b57=Xt,_0x34bdf7=rt-ta,_0x539405=si-0x2*Xt;if(_0x43adb2>_0x539405){let _0x54ae5d='',_0x4963fa=0x0;for(const _0x51f9fc of _0x73504c){const _0x47ec34=_0x1f7614[_0x2d466a(0x272)](_0x51f9fc)[_0x2d466a(0x1f4)];if(_0x4963fa+_0x47ec34<=_0x539405-_0x1f7614[_0x2d466a(0x272)]('...')[_0x2d466a(0x1f4)])_0x54ae5d+=_0x51f9fc,_0x4963fa+=_0x47ec34;else{_0x54ae5d+='...';break;}}_0x1f7614[_0x2d466a(0x338)](_0x54ae5d,_0xa34b57,_0x34bdf7);}else _0x1f7614['fillText'](_0x73504c,_0xa34b57,_0x34bdf7);_0x1f7614[_0x2d466a(0x229)]();}[_0x59f468(0x1e7)](_0x1c72f3){const _0x514406=_0x59f468;jt[_0x514406(0x4dc)](_0x1c72f3,this);}}const Jt='collab-text-anchor-',ia=_0x59f468(0x2fe),ra=_0x59f468(0x2ea),Xe=0x6,na=1.5,Zt=0x4,oa=1.5,aa=_0x59f468(0x437);class ii{constructor(_0x14e435,_0x553492,_0x2e6d30,_0x575fd4){const _0xbce41d=_0x59f468;g(this,'_shapes',[]),g(this,'_anchor',null),g(this,_0xbce41d(0x3ae),null),g(this,_0xbce41d(0x1a0),null),g(this,'_hideTimer',null),g(this,_0xbce41d(0x221),null),(this[_0xbce41d(0x1dd)]=_0x14e435,this[_0xbce41d(0x2a7)]=_0x553492,this[_0xbce41d(0x20b)]=_0x2e6d30,this[_0xbce41d(0x4b7)]=_0x575fd4,this[_0xbce41d(0x197)]());}set['_hover'](_0x2ed77f){const _0x7c397e=_0x59f468;_0x2ed77f?(this[_0x7c397e(0x1a0)]&&this[_0x7c397e(0x1a0)][_0x7c397e(0x1f2)](),this['_textBubble']&&this[_0x7c397e(0x3ae)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x7c397e(0x31c)](),this['_textBubble']&&this[_0x7c397e(0x3ae)][_0x7c397e(0x1f2)]());}['dispose'](){const _0x313ec9=_0x59f468;for(const _0x29763d of this[_0x313ec9(0x2ec)])_0x29763d[_0x313ec9(0x1ba)]();this[_0x313ec9(0x3ae)]&&this[_0x313ec9(0x3ae)][_0x313ec9(0x1ba)](),this[_0x313ec9(0x1a0)]&&this[_0x313ec9(0x1a0)][_0x313ec9(0x1ba)](),this['_anchor']&&this[_0x313ec9(0x59f)][_0x313ec9(0x1ba)](),this[_0x313ec9(0x221)]&&this[_0x313ec9(0x221)]();}[_0x59f468(0x197)](){const _0x12385b=_0x59f468;var _0x4c270b;const {_docSkeleton:_0x4a1462,_document:_0x2d1210}=this,{color:_0x3873c8,name:_0x29124c,ranges:_0xf359da}=this[_0x12385b(0x1dd)],_0xc1ad12=_0x2d1210[_0x12385b(0x56d)](),{docsLeft:_0x5cc23d,docsTop:_0x65ebf8}=_0xc1ad12,_0x4db97c=new _0x4cd065(_0xc1ad12,_0x4a1462);for(const {startOffset:_0x5d9b83,endOffset:_0x1ec5a5,rangeType:_0x9dba01,segmentId:_0xcef74,segmentPage:_0x26e6aa,collapsed:_0x32d38d,isActive:_0x51fb5f}of _0xf359da){const _0x548314=_0x4a1462[_0x12385b(0x22e)](_0x5d9b83,!0x0,_0xcef74,_0x26e6aa);let _0x1f25a9=_0x4a1462[_0x12385b(0x22e)](_0x1ec5a5,!0x0,_0xcef74,_0x26e6aa);if(_0x1f25a9==null&&(_0x1f25a9=_0x4a1462['findNodePositionByCharIndex'](_0x1ec5a5-0x1,!0x1,_0xcef74,_0x26e6aa)),_0x51fb5f){const {contentBoxPointGroup:_0x7cb2db}=_0x4db97c[_0x12385b(0x44a)](_0x1f25a9,_0x1f25a9);if(_0x7cb2db[_0x12385b(0x21a)]===0x0)continue;this['_drawAnchor'](_0x3873c8,_0x7cb2db,_0x5cc23d,_0x65ebf8,_0x29124c),this[_0x12385b(0x221)]=this[_0x12385b(0x38f)]();}if(_0x548314&&_0x1f25a9){if(_0x9dba01===_0x638c4d[_0x12385b(0x555)]){const _0x360ccf=new _0x28e160(_0xc1ad12,_0x4a1462),{pointGroup:_0x465988}=(_0x4c270b=_0x360ccf[_0x12385b(0x44a)](_0x548314,_0x1f25a9))!=null?_0x4c270b:{};if(_0x465988==null||_0x465988[_0x12385b(0x21a)]===0x0)continue;this[_0x12385b(0x28d)](_0x3873c8,_0x465988,_0x5cc23d,_0x65ebf8);}else{if(!_0x32d38d){const {borderBoxPointGroup:_0x5b811b}=_0x4db97c[_0x12385b(0x44a)](_0x548314,_0x1f25a9);if(_0x5b811b[_0x12385b(0x21a)]===0x0)continue;this['_drawTextRange'](_0x3873c8,_0x5b811b,_0x5cc23d,_0x65ebf8);}}}}}['_drawAnchor'](_0x3d88b8,_0x336114,_0x3a6965,_0x223b03,_0x3eb33e){const _0x25f515=_0x59f468,_0x3bb1c2=this[_0x25f515(0x3b9)](_0x336114),{left:_0x5da9b2,top:_0x27ad56,height:_0x330825}=_0x3bb1c2,_0x6f3bf3=this[_0x25f515(0x363)](),_0x18ab48=oa/_0x6f3bf3,_0x596ca9=new _0x3648be(Jt+_0x218f61[_0x25f515(0x278)](Xe),{'left':_0x5da9b2+_0x3a6965-_0x18ab48,'top':_0x27ad56+_0x223b03,'height':_0x330825,'width':na,'fill':_0x3d88b8||_0x3f199f(_0x41eb8e[_0x25f515(0x45a)],0x0),'strokeWidth':_0x18ab48,'stroke':aa,'evented':!0x0});this[_0x25f515(0x59f)]=_0x596ca9,this[_0x25f515(0x2a7)][_0x25f515(0x298)](_0x596ca9,_0x43455b);const _0xe6765c=new _0x3648be(Jt+_0x218f61['generateRandomId'](Xe),{'left':_0x5da9b2+_0x3a6965-_0x18ab48,'top':_0x27ad56+_0x223b03-Zt/0x2,'height':Zt,'width':Zt,'fill':_0x3d88b8||_0x3f199f(_0x41eb8e[_0x25f515(0x45a)],0x0),'strokeWidth':0x0,'stroke':_0x3d88b8||_0x3f199f(_0x41eb8e[_0x25f515(0x45a)],0x0),'evented':!0x1});this[_0x25f515(0x1a0)]=_0xe6765c,this['_scene']['addObject'](_0xe6765c,_0x43455b);const _0x2dc09d=new jt(Jt+_0x218f61[_0x25f515(0x278)](Xe),{'left':_0x5da9b2+_0x3a6965-_0x18ab48,'top':_0x27ad56+_0x223b03-rt,'text':_0x3eb33e,'color':_0x3d88b8});this[_0x25f515(0x3ae)]=_0x2dc09d,this['_scene'][_0x25f515(0x298)](_0x2dc09d,_0x43455b),this[_0x25f515(0x4da)]=!0x1;}[_0x59f468(0x38f)](){const _0x2f2e22=_0x59f468,_0x55ef03=this[_0x2f2e22(0x59f)][_0x2f2e22(0x458)][_0x2f2e22(0x3d1)](()=>{this['_hover']=!0x0;}),_0x23ba05=this[_0x2f2e22(0x59f)][_0x2f2e22(0x1c8)][_0x2f2e22(0x3d1)](()=>{const _0x40a3ca=_0x2f2e22;this[_0x40a3ca(0x33c)]&&clearTimeout(this[_0x40a3ca(0x33c)]),this[_0x40a3ca(0x33c)]=setTimeout(()=>{const _0x2caee4=_0x40a3ca;this[_0x2caee4(0x4da)]=!0x1;},0x7d0);});return()=>{_0x55ef03['unsubscribe'](),_0x23ba05['unsubscribe']();};}['_drawTextRange'](_0x5848e8,_0x5d5525,_0x4550cc,_0x15ef58){const _0x57041d=_0x59f468,_0x48e919=new _0x5d65d0(_0x5848e8)['setAlpha'](0.2)[_0x57041d(0x228)](),_0x24246f=new _0xea7f00(ia+_0x218f61['generateRandomId'](Xe),{'pointsGroup':_0x5d5525,'fill':_0x48e919||_0x3f199f(_0x41eb8e[_0x57041d(0x45a)],0.2),'left':_0x4550cc,'top':_0x15ef58,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x57041d(0x2ec)][_0x57041d(0x4cf)](_0x24246f),this[_0x57041d(0x2a7)]['addObject'](_0x24246f,_0x43455b);}[_0x59f468(0x28d)](_0x446cc3,_0x426b00,_0x3943c6,_0x2f780e){const _0x4b4a29=_0x59f468,_0x4c2e62=new _0x5d65d0(_0x446cc3)[_0x4b4a29(0x1c5)](0.2)[_0x4b4a29(0x228)](),_0x15f5e0=new _0xea7f00(ra+_0x218f61[_0x4b4a29(0x278)](Xe),{'pointsGroup':_0x426b00,'fill':_0x4c2e62||_0x3f199f(_0x41eb8e[_0x4b4a29(0x45a)],0.2),'left':_0x3943c6,'top':_0x2f780e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b4a29(0x2ec)][_0x4b4a29(0x4cf)](_0x15f5e0),this[_0x4b4a29(0x2a7)][_0x4b4a29(0x298)](_0x15f5e0,_0x43455b);}['_getAnchorBounding'](_0x8edd0){const _0x1b2e9b=_0x8edd0[0x0],_0x118852=_0x1b2e9b[0x0],_0x1ee17f=_0x1b2e9b[0x2],{x:_0x264328,y:_0x1c90e0}=_0x118852,{x:_0x532791,y:_0x5883b3}=_0x1ee17f;return{'left':_0x264328,'top':_0x1c90e0,'width':_0x532791-_0x264328,'height':_0x5883b3-_0x1c90e0};}[_0x59f468(0x363)](){const _0x19483e=_0x59f468,{scaleX:_0x422f96,scaleY:_0x4b5d22}=this[_0x19483e(0x2a7)]['getAncestorScale']();return Math[_0x19483e(0x456)](_0x422f96,_0x4b5d22);}}var ca=Object[_0x59f468(0x29a)],ha=Object[_0x59f468(0x368)],la=(_0xa79d2b,_0x21a0b0,_0x579013,_0x338f95)=>{for(var _0x1ee20a=_0x338f95>0x1?void 0x0:_0x338f95?ha(_0x21a0b0,_0x579013):_0x21a0b0,_0x5bc8b5=_0xa79d2b['length']-0x1,_0xe049a;_0x5bc8b5>=0x0;_0x5bc8b5--)(_0xe049a=_0xa79d2b[_0x5bc8b5])&&(_0x1ee20a=(_0x338f95?_0xe049a(_0x21a0b0,_0x579013,_0x1ee20a):_0xe049a(_0x1ee20a))||_0x1ee20a);return _0x338f95&&_0x1ee20a&&ca(_0x21a0b0,_0x579013,_0x1ee20a),_0x1ee20a;},ct=(_0x5adbf5,_0x2e7330)=>(_0x51beb5,_0x5ef658)=>_0x2e7330(_0x51beb5,_0x5ef658,_0x5adbf5);let ds=class extends _0x2c59cd{constructor(_0x574fcf,_0x931236,_0x5af883,_0x1180f0,_0x26f9d2){const _0x5ee078=_0x59f468;super(),g(this,_0x5ee078(0x32d),[]),g(this,_0x5ee078(0x44e),[]),(this[_0x5ee078(0x54f)]=_0x574fcf,this[_0x5ee078(0x2c8)]=_0x931236,this[_0x5ee078(0x554)]=_0x5af883,this[_0x5ee078(0x54d)]=_0x1180f0,this[_0x5ee078(0x209)]=_0x26f9d2,this['_init']());}[_0x59f468(0x59d)](){const _0x335b78=_0x59f468,_0x13bcd5=this[_0x335b78(0x54f)][_0x335b78(0x51a)],_0x432403=this[_0x335b78(0x2c8)];this['disposeWithMe'](_0x6f207e([this[_0x335b78(0x554)][_0x335b78(0x282)](_0x13bcd5),this[_0x335b78(0x209)][_0x335b78(0x577)]])[_0x335b78(0x318)](_0x3968e0(([_0x3b84f8,_0x239098])=>({'skeleton':_0x432403['getSkeleton'](),'cursors':[..._0x3b84f8[_0x335b78(0x4e9)]()]['flatMap'](_0x46f535=>({..._0x46f535,'color':_0x239098[_0x46f535[_0x335b78(0x478)]]}))})))[_0x335b78(0x347)](_0x584177=>{const _0xcdee6=_0x335b78;if(this['_removeCollabCursors'](),_0x584177){const {skeleton:_0xc47219,cursors:_0x1f326f}=_0x584177;this[_0xcdee6(0x1e9)](_0xc47219,_0x1f326f);}})),this[_0x335b78(0x465)](),this['_initCommandExecutedListener']();}[_0x59f468(0x1e9)](_0x273c18,_0x5c21aa){const _0x16808d=_0x59f468,{scene:_0x4eede3,mainComponent:_0x1ade3e}=this[_0x16808d(0x54f)],_0x23363e=_0x5c21aa[_0x16808d(0x36d)](_0xae43c7=>new ii(_0xae43c7,_0x4eede3,_0x273c18,_0x1ade3e));this[_0x16808d(0x32d)]=_0x23363e,this['_cursors']=_0x5c21aa;}[_0x59f468(0x42e)](){const _0x2e20b0=_0x59f468;this[_0x2e20b0(0x315)]();const {scene:_0x1f741d,mainComponent:_0x3e4ae1}=this[_0x2e20b0(0x54f)],_0x207a7e=this[_0x2e20b0(0x2c8)][_0x2e20b0(0x52f)](),_0x4f2a07=this[_0x2e20b0(0x44e)][_0x2e20b0(0x36d)](_0x52e390=>new ii(_0x52e390,_0x1f741d,_0x207a7e,_0x3e4ae1));this[_0x2e20b0(0x32d)]=_0x4f2a07;}[_0x59f468(0x315)](){const _0x3ab5f6=_0x59f468;this[_0x3ab5f6(0x32d)][_0x3ab5f6(0x3b0)](_0x10240e=>_0x10240e[_0x3ab5f6(0x1ba)]()),this[_0x3ab5f6(0x32d)]=[];}['_initCommandExecutedListener'](){const _0x4438a0=_0x59f468,_0x39b984=[_0xe0c4b['id']];this[_0x4438a0(0x4e2)](this['_commandService'][_0x4438a0(0x3b7)](_0x1867b8=>{const _0x173cdf=_0x4438a0;_0x39b984[_0x173cdf(0x2f8)](_0x1867b8['id'])&&_0x1867b8['params']['unitId']===this[_0x173cdf(0x54f)][_0x173cdf(0x51a)]&&this['_refreshCollabCursors']();}));}[_0x59f468(0x465)](){const _0x2cf9a4=_0x59f468;this['disposeWithMe'](_0x5742c0(this[_0x2cf9a4(0x54f)][_0x2cf9a4(0x1fb)][_0x2cf9a4(0x329)])[_0x2cf9a4(0x318)](_0x3c73ca(_0xe090a8=>_0xe090a8[_0x2cf9a4(0x2b2)]===_0x401d9d[_0x2cf9a4(0x410)]),_0x2e516c(0x10))[_0x2cf9a4(0x347)](()=>{const _0x2df17d=_0x2cf9a4;this[_0x2df17d(0x42e)]();}));}};ds=la([ct(0x1,_0x222038(_0x379b20)),ct(0x2,_0x222038(Fe)),ct(0x3,_0x1e017f),ct(0x4,_0x222038(_0x5e056c))],ds);const _a=0x1,ua=1.5;class da extends _0x37149c{constructor(_0x2a96de,_0x580228){const _0x400bc4=_0x59f468;super(_0x2a96de,_0x580228),g(this,_0x400bc4(0x480)),g(this,'_hovered',!0x1),g(this,_0x400bc4(0x58d)),g(this,_0x400bc4(0x3d6),''),g(this,_0x400bc4(0x54e),_0x400bc4(0x3ba)),g(this,'_backgroundColor'),(_0x580228&&this[_0x400bc4(0x2db)](_0x580228),this['onPointerEnter$'][_0x400bc4(0x3d1)](()=>this[_0x400bc4(0x2db)]({'hovered':!0x0})),this[_0x400bc4(0x1c8)]['subscribeEvent'](()=>this[_0x400bc4(0x2db)]({'hovered':!0x1})));}[_0x59f468(0x2db)](_0x2a6d20){const _0x3fd718=_0x59f468;var _0x53aa80,_0x1a863c,_0x15b4ee,_0x16aa85,_0x439177,_0xcd0838;this[_0x3fd718(0x480)]=(_0x53aa80=_0x2a6d20[_0x3fd718(0x478)])!=null?_0x53aa80:this[_0x3fd718(0x480)],this[_0x3fd718(0x1ce)]=(_0x1a863c=_0x2a6d20['hovered'])!=null?_0x1a863c:this['_hovered'],this['_range']=(_0x15b4ee=_0x2a6d20[_0x3fd718(0x1d8)])!=null?_0x15b4ee:this[_0x3fd718(0x58d)],this[_0x3fd718(0x3d6)]=(_0x16aa85=_0x2a6d20[_0x3fd718(0x48c)])!=null?_0x16aa85:this['_name'],this[_0x3fd718(0x54e)]=(_0x439177=_0x2a6d20[_0x3fd718(0x270)])!=null?_0x439177:this[_0x3fd718(0x54e)],this[_0x3fd718(0x19e)]=(_0xcd0838=_0x2a6d20['backgroundColor'])!=null?_0xcd0838:this[_0x3fd718(0x19e)],this[_0x3fd718(0x3cb)]({'width':_0x2a6d20[_0x3fd718(0x1f4)],'height':_0x2a6d20['height']});}[_0x59f468(0x58e)](_0xe24477){const _0x472371=_0x59f468,{row:_0x300854,column:_0x4e62f3}=_0xe24477;if(_0x300854>=this[_0x472371(0x58d)][_0x472371(0x24a)]&&_0x300854<=this['_range'][_0x472371(0x3af)]&&_0x4e62f3>=this['_range'][_0x472371(0x206)]&&_0x4e62f3<=this[_0x472371(0x58d)][_0x472371(0x337)]){this[_0x472371(0x2db)]({'hovered':!0x0});return;}this[_0x472371(0x2db)]({'hovered':!0x1});}[_0x59f468(0x4d0)](_0x2d320a){return!0x1;}[_0x59f468(0x1e7)](_0x55ee15){const _0x55bccf=_0x59f468;_0x3648be['drawWith'](_0x55ee15,{'width':this[_0x55bccf(0x1f4)],'height':this[_0x55bccf(0x1c9)],'strokeWidth':ua,'stroke':this[_0x55bccf(0x480)],'evented':!0x1,'fill':this[_0x55bccf(0x19e)]}),this[_0x55bccf(0x1ce)]&&(_0x55ee15[_0x55bccf(0x310)](),_0x55ee15['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x55bccf(0x253)?0x0:-rt),jt[_0x55bccf(0x4dc)](_0x55ee15,{'text':this['_name'],'color':this[_0x55bccf(0x480)]}),_0x55ee15[_0x55bccf(0x229)]());}}var fa=Object[_0x59f468(0x29a)],va=Object[_0x59f468(0x368)],pa=(_0x2094c2,_0x905510,_0x21bc12,_0x56171c)=>{const _0x42bbae=_0x59f468;for(var _0x5cbc8c=_0x56171c>0x1?void 0x0:_0x56171c?va(_0x905510,_0x21bc12):_0x905510,_0x40707d=_0x2094c2[_0x42bbae(0x21a)]-0x1,_0x4286be;_0x40707d>=0x0;_0x40707d--)(_0x4286be=_0x2094c2[_0x40707d])&&(_0x5cbc8c=(_0x56171c?_0x4286be(_0x905510,_0x21bc12,_0x5cbc8c):_0x4286be(_0x5cbc8c))||_0x5cbc8c);return _0x56171c&&_0x5cbc8c&&fa(_0x905510,_0x21bc12,_0x5cbc8c),_0x5cbc8c;},Qt=(_0x224909,_0x1578c7)=>(_0x459962,_0xc69d1c)=>_0x1578c7(_0x459962,_0xc69d1c,_0x224909);const ma=0x1389;let fs=class extends _0x2c59cd{constructor(_0x4f508d,_0x331312,_0x31a61b,_0x11b853){const _0x3eacc0=_0x59f468;super(),g(this,_0x3eacc0(0x44e),new Set()),g(this,_0x3eacc0(0x568),null),(this[_0x3eacc0(0x54f)]=_0x4f508d,this[_0x3eacc0(0x50a)]=_0x331312,this[_0x3eacc0(0x554)]=_0x31a61b,this[_0x3eacc0(0x209)]=_0x11b853,this[_0x3eacc0(0x59d)]());}[_0x59f468(0x59d)](){const _0x24a514=_0x59f468;this[_0x24a514(0x50a)]['currentSkeleton$']['pipe'](_0x1eb937(this['dispose$']),_0x29e5a7(_0x22dcf3=>{const _0x254984=_0x24a514;if(_0x22dcf3){const _0x4dce05=_0x22dcf3[_0x254984(0x4c1)];return _0x6f207e(this[_0x254984(0x554)]['getCollabCursors$'](this[_0x254984(0x54f)][_0x254984(0x51a)]),this[_0x254984(0x209)]['currentTheme$'])[_0x254984(0x318)](_0x3968e0(([_0x3f003f,_0x3ef077])=>{const _0x1c2228=new Map();return _0x3f003f['forEach']((_0x452687,_0x166bf2)=>{const _0x2753c2=_0x2eda;if(_0x452687['sheetID']===_0x4dce05){const _0x2c52d7={..._0x452687};_0x2c52d7[_0x2753c2(0x478)]=_0x3ef077[_0x452687['color']],_0x1c2228[_0x2753c2(0x279)](_0x166bf2,_0x2c52d7);}}),{'skeleton':_0x22dcf3,'cursors':_0x1c2228};}));}return _0x38a752({'skeleton':null,'cursors':new Map()});}))[_0x24a514(0x347)](({skeleton:_0x3708e0,cursors:_0xaa7487})=>{const _0x782ab7=_0x24a514;this[_0x782ab7(0x315)](),_0x3708e0&&this[_0x782ab7(0x1e9)](_0x3708e0,_0xaa7487);}),this[_0x24a514(0x50a)][_0x24a514(0x4d4)][_0x24a514(0x347)](_0x2f12ef=>{const _0x2d8a00=_0x24a514;if(_0x2f12ef==null)return;const {skeleton:_0x3c30b2}=_0x2f12ef,{scene:_0x447105}=this[_0x2d8a00(0x54f)];_0x447105[_0x2d8a00(0x31b)][_0x2d8a00(0x3d1)](_0x14f2b0(_0x28eb72=>{const _0x20dbc3=_0x2d8a00;var _0x2d7cf1,_0x18040f;const {offsetX:_0x46289b,offsetY:_0x16d1d3}=_0x28eb72,{x:_0x6f5988,y:_0x27ee20}=_0x447105[_0x20dbc3(0x3b2)](_0x4a7985[_0x20dbc3(0x259)]([_0x46289b,_0x16d1d3])),{scaleX:_0x10bba6,scaleY:_0xea1e81}=_0x447105[_0x20dbc3(0x35b)](),_0x29e024=_0x447105[_0x20dbc3(0x3cf)](_0xa2565b[_0x20dbc3(0x2f3)]),_0x1f7500=_0x447105['getVpScrollXYInfoByPosToVp'](_0x4a7985[_0x20dbc3(0x259)]([_0x6f5988,_0x27ee20]),_0x29e024),_0x4bbddb=_0x3c30b2[_0x20dbc3(0x19d)](_0x46289b,_0x16d1d3,_0x10bba6,_0xea1e81,_0x1f7500);((_0x2d7cf1=this[_0x20dbc3(0x568)])==null?void 0x0:_0x2d7cf1[_0x20dbc3(0x293)])===_0x4bbddb[_0x20dbc3(0x293)]&&((_0x18040f=this['_lastPointer'])==null?void 0x0:_0x18040f[_0x20dbc3(0x382)])===_0x4bbddb[_0x20dbc3(0x382)]||this[_0x20dbc3(0x44e)][_0x20dbc3(0x3b0)](_0x54f95e=>{const _0x3b76fe=_0x20dbc3;_0x54f95e[_0x3b76fe(0x58e)](_0x4bbddb);});},0x64));});}['_updateCollabCursors'](_0x4e4f2e,_0x12fdbb){const _0x281dee=_0x59f468;var _0x52e8a3;const _0x7873b3=(_0x52e8a3=this[_0x281dee(0x50a)][_0x281dee(0x3a4)]())==null?void 0x0:_0x52e8a3['skeleton'];if(!_0x7873b3)return;const _0x5578de=this['_getSheetObject']();if(!_0x5578de)return;this[_0x281dee(0x44e)][_0x281dee(0x3b0)](_0x57b1ce=>{const _0x8176a2=_0x281dee;_0x57b1ce[_0x8176a2(0x27c)]();});const {scene:_0x214483}=_0x5578de,_0x4b06b9=ga(Array[_0x281dee(0x30f)](_0x12fdbb['values']()))[_0x281dee(0x36d)](_0x240629=>{const _0x1a91ed=_0x281dee,{color:_0x2574c7,range:_0x2059d3,name:_0x593e2f,selection:_0x2ae551,sheetID:_0x4e16ba}=_0x240629,{startColumn:_0x6f91,startRow:_0x24731b,endColumn:_0x4876ef,endRow:_0x451ed4}=_0x2059d3,_0x37502f=_0x21c55c(_0x24731b,_0x6f91,_0x214483,_0x7873b3),_0x22125d=_0x21c55c(_0x451ed4,_0x4876ef,_0x214483,_0x7873b3),{columnHeaderHeightAndMarginTop:_0x9a263d}=_0x7873b3,{startX:_0x4f3123,startY:_0x44c761}=_0x37502f,{endX:_0x52035f,endY:_0x260421}=_0x22125d,_0x368b56=_0x52035f-_0x4f3123,_0x45bbc6=_0x260421-_0x44c761,_0x3f9f31={'labelPosition':_0x44c761-_0x9a263d>=rt?_0x1a91ed(0x3ba):_0x1a91ed(0x253),'sheetID':_0x4e16ba,'range':_0x2059d3,'color':_0x2574c7,'name':_0x593e2f,'selection':_0x2ae551,'left':_0x4f3123,'top':_0x44c761,'width':_0x368b56,'height':_0x45bbc6,'evented':!0x1,'zIndex':ma};return new da(_0x593e2f,_0x3f9f31);});_0x214483[_0x281dee(0x419)](_0x4b06b9,_a),this[_0x281dee(0x44e)]=new Set(_0x4b06b9);}[_0x59f468(0x315)](){const _0x404541=_0x59f468;var _0x5d38ef;(_0x5d38ef=this[_0x404541(0x44e)])==null||_0x5d38ef[_0x404541(0x3b0)](_0x132890=>_0x132890[_0x404541(0x1ba)]());}['_getSheetObject'](){const _0x3cd6fa=_0x59f468;return _0x3b93a6(this['_context'][_0x3cd6fa(0x4de)],this[_0x3cd6fa(0x54f)]);}};fs=pa([Qt(0x1,_0x222038(_0x4b35a2)),Qt(0x2,_0x222038(Fe)),Qt(0x3,_0x222038(_0x5e056c))],fs);function ga(_0x5693c6){const _0x28415d=_0x59f468,_0x5c6335=new Map();return _0x5693c6[_0x28415d(0x3b0)](_0x3d309f=>{const _0x155d19=_0x28415d;if(_0x5c6335[_0x155d19(0x309)](_0x3d309f['selection'])){const _0x20d84f=_0x5c6335[_0x155d19(0x25d)](_0x3d309f[_0x155d19(0x38d)]);_0x20d84f['name']+=',\x20'+_0x3d309f[_0x155d19(0x48c)];}else _0x5c6335[_0x155d19(0x279)](_0x3d309f[_0x155d19(0x38d)],_0x3d309f);}),Array[_0x28415d(0x30f)](_0x5c6335[_0x28415d(0x4e9)]());}var es=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x4d8ce6){const _0x5e3af3=_0x59f468;return _0x4d8ce6&&_0x4d8ce6[_0x5e3af3(0x57b)]&&Object[_0x5e3af3(0x1d3)][_0x5e3af3(0x346)][_0x5e3af3(0x3e3)](_0x4d8ce6,_0x5e3af3(0x433))?_0x4d8ce6[_0x5e3af3(0x433)]:_0x4d8ce6;}var ts={'exports':{}},Je={},ri;function Sa(){const _0x2e0fce=_0x59f468;if(ri)return Je;ri=0x1;var _0x485154=_0x2470a1,_0x4b7aef=Symbol[_0x2e0fce(0x44b)]('react.element'),_0x27da55=Symbol[_0x2e0fce(0x44b)](_0x2e0fce(0x2ab)),_0x5f2acc=Object[_0x2e0fce(0x1d3)]['hasOwnProperty'],_0x1be81e=_0x485154['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x2e0fce(0x3c4)],_0x575235={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0xd1a37a(_0x24fc6f,_0xf74e20,_0x1b4379){const _0x5526fd=_0x2e0fce;var _0x1bfd1d,_0x38323f={},_0x327e16=null,_0x4d5944=null;_0x1b4379!==void 0x0&&(_0x327e16=''+_0x1b4379),_0xf74e20['key']!==void 0x0&&(_0x327e16=''+_0xf74e20['key']),_0xf74e20[_0x5526fd(0x3d0)]!==void 0x0&&(_0x4d5944=_0xf74e20[_0x5526fd(0x3d0)]);for(_0x1bfd1d in _0xf74e20)_0x5f2acc['call'](_0xf74e20,_0x1bfd1d)&&!_0x575235[_0x5526fd(0x346)](_0x1bfd1d)&&(_0x38323f[_0x1bfd1d]=_0xf74e20[_0x1bfd1d]);if(_0x24fc6f&&_0x24fc6f['defaultProps']){for(_0x1bfd1d in(_0xf74e20=_0x24fc6f[_0x5526fd(0x3c7)],_0xf74e20))_0x38323f[_0x1bfd1d]===void 0x0&&(_0x38323f[_0x1bfd1d]=_0xf74e20[_0x1bfd1d]);}return{'$$typeof':_0x4b7aef,'type':_0x24fc6f,'key':_0x327e16,'ref':_0x4d5944,'props':_0x38323f,'_owner':_0x1be81e['current']};}return Je[_0x2e0fce(0x30b)]=_0x27da55,Je[_0x2e0fce(0x54a)]=_0xd1a37a,Je[_0x2e0fce(0x400)]=_0xd1a37a,Je;}var ni;function Ia(){const _0x1f94f4=_0x59f468;return ni||(ni=0x1,ts[_0x1f94f4(0x3b4)]=Sa()),ts[_0x1f94f4(0x3b4)];}var De=Ia(),te=function(){const _0x390895=_0x59f468;return te=Object[_0x390895(0x467)]||function(_0x207ed5){const _0x2ba969=_0x390895;for(var _0x5454f2,_0x5854b0=0x1,_0x409320=arguments['length'];_0x5854b0<_0x409320;_0x5854b0++){_0x5454f2=arguments[_0x5854b0];for(var _0x14570e in _0x5454f2)Object[_0x2ba969(0x1d3)][_0x2ba969(0x346)][_0x2ba969(0x3e3)](_0x5454f2,_0x14570e)&&(_0x207ed5[_0x14570e]=_0x5454f2[_0x14570e]);}return _0x207ed5;},te[_0x390895(0x593)](this,arguments);},Ca=function(_0x5e0d36,_0x54b851){const _0x48062c=_0x59f468;var _0xe0d31a={};for(var _0x51e184 in _0x5e0d36)Object[_0x48062c(0x1d3)]['hasOwnProperty'][_0x48062c(0x3e3)](_0x5e0d36,_0x51e184)&&_0x54b851[_0x48062c(0x3e0)](_0x51e184)<0x0&&(_0xe0d31a[_0x51e184]=_0x5e0d36[_0x51e184]);if(_0x5e0d36!=null&&typeof Object[_0x48062c(0x441)]==_0x48062c(0x51c)){for(var _0x2933c1=0x0,_0x51e184=Object[_0x48062c(0x441)](_0x5e0d36);_0x2933c1<_0x51e184[_0x48062c(0x21a)];_0x2933c1++)_0x54b851[_0x48062c(0x3e0)](_0x51e184[_0x2933c1])<0x0&&Object[_0x48062c(0x1d3)][_0x48062c(0x487)]['call'](_0x5e0d36,_0x51e184[_0x2933c1])&&(_0xe0d31a[_0x51e184[_0x2933c1]]=_0x5e0d36[_0x51e184[_0x2933c1]]);}return _0xe0d31a;},Ns=_0x3575fb(function(_0x402f40,_0x7fbd21){const _0x548583=_0x59f468;var _0x21f33b=_0x402f40['icon'],_0x376f06=_0x402f40['id'],_0x233a85=_0x402f40[_0x548583(0x2b4)],_0x114c00=_0x402f40[_0x548583(0x521)],_0x3309ea=Ca(_0x402f40,[_0x548583(0x1c1),'id',_0x548583(0x2b4),_0x548583(0x521)]),_0x593a3b=_0x548583(0x376)['concat'](_0x376f06,'\x20')[_0x548583(0x340)](_0x233a85||'')[_0x548583(0x420)](),_0x412515=_0x516cf1('_'[_0x548583(0x340)](Ta()));return Ji(_0x21f33b,''[_0x548583(0x340)](_0x376f06),{'defIds':_0x21f33b[_0x548583(0x225)],'idSuffix':_0x412515[_0x548583(0x1b5)]},te({'ref':_0x7fbd21,'className':_0x593a3b},_0x3309ea),_0x114c00);});function Ji(_0x5d2b01,_0x4e9179,_0xd680a5,_0x27e349,_0x49f662){const _0x282caa=_0x59f468;return _0x3d1e83(_0x5d2b01['tag'],te(te({'key':_0x4e9179},Ea(_0x5d2b01,_0xd680a5,_0x49f662)),_0x27e349),(ba(_0x5d2b01,_0xd680a5)[_0x282caa(0x423)]||[])[_0x282caa(0x36d)](function(_0x57fac5,_0x180be3){const _0x99a5d6=_0x282caa;return Ji(_0x57fac5,''[_0x99a5d6(0x340)](_0x4e9179,'-')['concat'](_0x5d2b01[_0x99a5d6(0x2d6)],'-')[_0x99a5d6(0x340)](_0x180be3),_0xd680a5,void 0x0,_0x49f662);}));}function Ea(_0x34a8f9,_0x53aa86,_0x575ada){const _0x3195ff=_0x59f468;var _0x186015=te({},_0x34a8f9['attrs']);_0x575ada!=null&&_0x575ada[_0x3195ff(0x430)]&&_0x186015[_0x3195ff(0x3fd)]==='colorChannel1'&&(_0x186015['fill']=_0x575ada['colorChannel1']);var _0x834784=_0x53aa86[_0x3195ff(0x225)];return!_0x834784||_0x834784[_0x3195ff(0x21a)]===0x0||(_0x34a8f9[_0x3195ff(0x2d6)]===_0x3195ff(0x273)&&_0x186015[_0x3195ff(0x549)]&&(_0x186015[_0x3195ff(0x549)]=_0x186015[_0x3195ff(0x549)]+_0x53aa86[_0x3195ff(0x378)]),Object[_0x3195ff(0x2f2)](_0x186015)[_0x3195ff(0x3b0)](function(_0x374bfb){const _0x4ce457=_0x3195ff;var _0x1ca2ae=_0x374bfb[0x0],_0x50f3fd=_0x374bfb[0x1];typeof _0x50f3fd==_0x4ce457(0x2fb)&&(_0x186015[_0x1ca2ae]=_0x50f3fd[_0x4ce457(0x2ce)](/url\(#(.*)\)/,_0x4ce457(0x55a)[_0x4ce457(0x340)](_0x53aa86[_0x4ce457(0x378)],')')));})),_0x186015;}function ba(_0x45e49b,_0x178e8f){const _0x1ce5c4=_0x59f468;var _0x330bc4,_0x8d3cea=_0x178e8f[_0x1ce5c4(0x225)];return!_0x8d3cea||_0x8d3cea[_0x1ce5c4(0x21a)]===0x0?_0x45e49b:_0x45e49b[_0x1ce5c4(0x2d6)]==='defs'&&(!((_0x330bc4=_0x45e49b[_0x1ce5c4(0x423)])===null||_0x330bc4===void 0x0)&&_0x330bc4[_0x1ce5c4(0x21a)])?te(te({},_0x45e49b),{'children':_0x45e49b['children'][_0x1ce5c4(0x36d)](function(_0x2af8d6){const _0x4ffa94=_0x1ce5c4;return typeof _0x2af8d6[_0x4ffa94(0x4b0)]['id']==_0x4ffa94(0x2fb)&&_0x8d3cea&&_0x8d3cea[_0x4ffa94(0x3e0)](_0x2af8d6[_0x4ffa94(0x4b0)]['id'])>-0x1?te(te({},_0x2af8d6),{'attrs':te(te({},_0x2af8d6['attrs']),{'id':_0x2af8d6[_0x4ffa94(0x4b0)]['id']+_0x178e8f[_0x4ffa94(0x378)]})}):_0x2af8d6;})}):_0x45e49b;}function Ta(){const _0x403c5e=_0x59f468;return Math['random']()[_0x403c5e(0x4a1)](0x24)[_0x403c5e(0x3a1)](0x2,0x8);}Ns[_0x59f468(0x277)]='UniverIcon';var Ra={'tag':'svg','attrs':{'fill':'none','viewBox':_0x59f468(0x4ee),'width':'1em','height':_0x59f468(0x3dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x59f468(0x4e3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x59f468(0x2d3),'strokeLinecap':_0x59f468(0x26b),'strokeLinejoin':_0x59f468(0x26b),'strokeWidth':1.2}}]},{'tag':_0x59f468(0x453),'attrs':{},'children':[{'tag':_0x59f468(0x511),'attrs':{'id':_0x59f468(0x2ed)},'children':[{'tag':'path','attrs':{'fill':_0x59f468(0x395),'d':_0x59f468(0x360)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Zi=_0x3575fb(function(_0x3f35bf,_0x1bb87a){return _0x3d1e83(Ns,Object['assign']({},_0x3f35bf,{'id':'off-line-single','ref':_0x1bb87a,'icon':Ra}));});Zi[_0x59f468(0x277)]=_0x59f468(0x336);var Oa={'tag':_0x59f468(0x1f0),'attrs':{'fill':_0x59f468(0x250),'viewBox':_0x59f468(0x45b),'width':_0x59f468(0x3dc),'height':_0x59f468(0x3dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x59f468(0x54c)},'children':[{'tag':_0x59f468(0x4e5),'attrs':{'stroke':_0x59f468(0x2fc),'d':_0x59f468(0x5ac),'strokeLinecap':_0x59f468(0x26b),'strokeLinejoin':_0x59f468(0x26b),'strokeWidth':1.2}}]},{'tag':_0x59f468(0x453),'attrs':{},'children':[{'tag':_0x59f468(0x511),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x59f468(0x4e5),'attrs':{'fill':_0x59f468(0x395),'d':'M0\x200H16V16H0z','transform':_0x59f468(0x516)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Qi=_0x3575fb(function(_0x22f255,_0x55aca1){const _0x55e0e6=_0x59f468;return _0x3d1e83(Ns,Object[_0x55e0e6(0x467)]({},_0x22f255,{'id':_0x55e0e6(0x4f1),'ref':_0x55aca1,'icon':Oa}));});Qi['displayName']=_0x59f468(0x4b9);function er(_0xd9cbb9){const _0xecfd1d=_0x59f468;var _0x15d63a,_0x2555b6,_0x40bcf5='';if(typeof _0xd9cbb9==_0xecfd1d(0x2fb)||typeof _0xd9cbb9==_0xecfd1d(0x567))_0x40bcf5+=_0xd9cbb9;else{if(typeof _0xd9cbb9=='object'){if(Array['isArray'](_0xd9cbb9)){var _0x463a9b=_0xd9cbb9[_0xecfd1d(0x21a)];for(_0x15d63a=0x0;_0x15d63a<_0x463a9b;_0x15d63a++)_0xd9cbb9[_0x15d63a]&&(_0x2555b6=er(_0xd9cbb9[_0x15d63a]))&&(_0x40bcf5&&(_0x40bcf5+='\x20'),_0x40bcf5+=_0x2555b6);}else{for(_0x2555b6 in _0xd9cbb9)_0xd9cbb9[_0x2555b6]&&(_0x40bcf5&&(_0x40bcf5+='\x20'),_0x40bcf5+=_0x2555b6);}}}return _0x40bcf5;}function ya(){const _0x30cc63=_0x59f468;for(var _0x54b70f,_0x18f8c3,_0x2e4d16=0x0,_0x440cc4='',_0x2916aa=arguments[_0x30cc63(0x21a)];_0x2e4d16<_0x2916aa;_0x2e4d16++)(_0x54b70f=arguments[_0x2e4d16])&&(_0x18f8c3=er(_0x54b70f))&&(_0x440cc4&&(_0x440cc4+='\x20'),_0x440cc4+=_0x18f8c3);return _0x440cc4;}const wa=_0x59f468(0x4b1),Da=_0x59f468(0x210),Pa=_0x59f468(0x3f5),Ua='univer-online',Na=_0x59f468(0x366),Ze={'onlineStatusIcon':wa,'onlineStatusTitle':Da,'onlineStatus':Pa,'online':Ua,'offline':Na};function Aa(_0x7e92f6){const _0x27e7af=_0x59f468;switch(_0x7e92f6){case J['OFFLINE']:return'collabStatus.offline';case J[_0x27e7af(0x580)]:return'collabStatus.conflict';case J[_0x27e7af(0x2d1)]:return _0x27e7af(0x50f);case J[_0x27e7af(0x438)]:return _0x27e7af(0x27e);case J[_0x27e7af(0x552)]:case J[_0x27e7af(0x4db)]:return'collabStatus.syncing';case J[_0x27e7af(0x4ec)]:case J['PENDING']:return _0x27e7af(0x46a);}}function Ma(_0xc85610){const _0x3f0305=_0x59f468,{status$:_0x12571f}=_0xc85610,_0x37589f=_0x1bba2d(_0x12571f,J['NOT_COLLAB']),_0x38fa30=_0x45c214(_0x52880d),_0x33a7d8=_0x45c214(Me),_0x3b17f3=_0x37589f!==J['OFFLINE'],_0x58f942=_0x38fa30['t'](Aa(_0x37589f)),_0x4aafba=ya(Ze[_0x3f0305(0x416)],{[Ze[_0x3f0305(0x56b)]]:_0x3b17f3,[Ze[_0x3f0305(0x553)]]:!_0x3b17f3}),_0x47d099=_0x3b17f3?De[_0x3f0305(0x54a)](Qi,{}):De[_0x3f0305(0x54a)](Zi,{}),_0x269edb=_0x585c84(()=>{const _0x284788=_0x3f0305;_0x3b17f3||_0x33a7d8[_0x284788(0x587)]();},[_0x3b17f3,_0x33a7d8]);function _0x1dbef7(){const _0x116011=_0x3f0305;return De[_0x116011(0x400)](_0x116011(0x30d),{'className':_0x4aafba,'onClick':_0x269edb,'children':[De['jsx'](_0x116011(0x30d),{'className':Ze[_0x116011(0x36f)],'children':_0x47d099}),De[_0x116011(0x54a)](_0x116011(0x30d),{'className':Ze['onlineStatusTitle'],'children':_0x58f942})]});}return _0x3b17f3?_0x1dbef7():De['jsx'](_0x27c3d7,{'title':_0x38fa30['t']('collab-client.tooltip.reconnect'),'children':_0x1dbef7()});}var xa=Object[_0x59f468(0x29a)],La=Object[_0x59f468(0x368)],$a=(_0x101e69,_0x527443,_0x161fbd,_0x3d86d6)=>{const _0x537c46=_0x59f468;for(var _0x344384=_0x3d86d6>0x1?void 0x0:_0x3d86d6?La(_0x527443,_0x161fbd):_0x527443,_0x20629b=_0x101e69[_0x537c46(0x21a)]-0x1,_0x5d05f2;_0x20629b>=0x0;_0x20629b--)(_0x5d05f2=_0x101e69[_0x20629b])&&(_0x344384=(_0x3d86d6?_0x5d05f2(_0x527443,_0x161fbd,_0x344384):_0x5d05f2(_0x344384))||_0x344384);return _0x3d86d6&&_0x344384&&xa(_0x527443,_0x161fbd,_0x344384),_0x344384;},ht=(_0x49fdbb,_0x25eefd)=>(_0x5e48e2,_0x23ad2c)=>_0x25eefd(_0x5e48e2,_0x23ad2c,_0x49fdbb);let Nt=class extends _0x19fe63{constructor(_0x2f306d,_0x5ee46e,_0x3bd581,_0x54cd7e){const _0x3cd82a=_0x59f468;super(),g(this,_0x3cd82a(0x1c6),new _0x1f1fc6(J[_0x3cd82a(0x438)])),(this[_0x3cd82a(0x525)]=_0x2f306d,this[_0x3cd82a(0x4d3)]=_0x5ee46e,this[_0x3cd82a(0x351)]=_0x3bd581,this[_0x3cd82a(0x364)]=_0x54cd7e,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x59f468(0x494)](){const _0x2e4ba0=_0x59f468;this[_0x2e4ba0(0x4e2)](this['_univerInstanceService'][_0x2e4ba0(0x57d)]['pipe'](_0x2bc5b0(()=>{const _0x75ee19=_0x2e4ba0,_0x33bc4a=this[_0x75ee19(0x525)][_0x75ee19(0x370)]();return _0x33bc4a?this[_0x75ee19(0x364)][_0x75ee19(0x2b5)](_0x33bc4a[_0x75ee19(0x25c)]()):_0x38a752(null);}),_0x2bc5b0(_0x34d9f3=>_0x34d9f3?_0x34d9f3[_0x2e4ba0(0x215)]:_0x38a752(J[_0x2e4ba0(0x438)])))[_0x2e4ba0(0x347)](_0x241734=>{const _0x416afa=_0x2e4ba0;this[_0x416afa(0x1c6)][_0x416afa(0x307)](_0x241734);}));}[_0x59f468(0x32a)](){const _0x2f49b5=_0x59f468;this[_0x2f49b5(0x4e2)](this['_uiPartsService'][_0x2f49b5(0x2ef)](_0x17cc0c[_0x2f49b5(0x361)],()=>_0x4ec1ab(Ha({'status$':this['_status$']['asObservable']()}),this[_0x2f49b5(0x351)])));}};Nt=$a([ht(0x0,_0xd7de45),ht(0x1,_0x52c347),ht(0x2,_0x222038(_0x2e1c56)),ht(0x3,_0x222038(it))],Nt);function Ha(_0x47a185){const {status$:_0x47daf0}=_0x47a185;return function(){const _0x1873f6=_0x2eda;return De[_0x1873f6(0x54a)](Ma,{'status$':_0x47daf0});};}const tr=_0x4fa8ac(_0x59f468(0x26d));var ja=Object[_0x59f468(0x29a)],Ba=Object[_0x59f468(0x368)],ka=(_0x218d3f,_0x2e5e41,_0x26716a,_0xafc503)=>{const _0x737054=_0x59f468;for(var _0x3e887e=_0xafc503>0x1?void 0x0:_0xafc503?Ba(_0x2e5e41,_0x26716a):_0x2e5e41,_0x21b4fe=_0x218d3f[_0x737054(0x21a)]-0x1,_0x53c10b;_0x21b4fe>=0x0;_0x21b4fe--)(_0x53c10b=_0x218d3f[_0x21b4fe])&&(_0x3e887e=(_0xafc503?_0x53c10b(_0x2e5e41,_0x26716a,_0x3e887e):_0x53c10b(_0x3e887e))||_0x3e887e);return _0xafc503&&_0x3e887e&&ja(_0x2e5e41,_0x26716a,_0x3e887e),_0x3e887e;},Be=(_0x3f108d,_0x150200)=>(_0x1179d6,_0x184295)=>_0x150200(_0x1179d6,_0x184295,_0x3f108d);let At=class extends _0x2c59cd{constructor(_0x5cea6b,_0x1d32a4,_0x3c0c82,_0x40448f,_0x1a8b66,_0x4eca1d){const _0x1e5136=_0x59f468;super(),this[_0x1e5136(0x4eb)]=_0x5cea6b,this[_0x1e5136(0x3b6)]=_0x1d32a4,this['_commandService']=_0x3c0c82,this[_0x1e5136(0x1ca)]=_0x40448f,this[_0x1e5136(0x27a)]=_0x1a8b66,_0x4eca1d?_0x4eca1d==null||_0x4eca1d['whenReady']()[_0x1e5136(0x4dd)](()=>this[_0x1e5136(0x59d)]()):(this[_0x1e5136(0x3b6)][_0x1e5136(0x48b)](_0x1e5136(0x560),_0x1e5136(0x2dc)),this[_0x1e5136(0x59d)]());}async[_0x59f468(0x59d)](){const _0x1d40eb=_0x59f468,_0x9716c0=this[_0x1d40eb(0x4eb)][_0x1d40eb(0x3ec)](_0x1d40eb(0x4de)),_0x18f8cf=this[_0x1d40eb(0x4eb)][_0x1d40eb(0x3ec)](_0x1d40eb(0x2b2));if(!_0x9716c0||!_0x18f8cf){this[_0x1d40eb(0x3b6)][_0x1d40eb(0x48b)](_0x1d40eb(0x560),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x18f8cf)){case ae[_0x1d40eb(0x2b0)]:{const _0x39fc89=await this[_0x1d40eb(0x312)](_0x9716c0);this[_0x1d40eb(0x2f1)](_0x39fc89);break;}case ae[_0x1d40eb(0x4f9)]:{await this[_0x1d40eb(0x289)](_0x9716c0);break;}default:{this[_0x1d40eb(0x3b6)][_0x1d40eb(0x1ec)](_0x1d40eb(0x560),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x59f468(0x2f1)](_0x5eb710){const _0x65c87f=_0x59f468;await this[_0x65c87f(0x4a3)](_0x5eb710),_0x5eb710['activeSheet$']['pipe'](_0x2eaf5f(this[_0x65c87f(0x2c5)]))[_0x65c87f(0x347)](_0x3401d3=>{const _0x386a14=_0x65c87f;_0x3401d3&&this[_0x386a14(0x39d)](_0x3401d3);}),this[_0x65c87f(0x4eb)]['urlChange$']['pipe'](_0x2eaf5f(this[_0x65c87f(0x2c5)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x5eb710));}[_0x59f468(0x39d)](_0xf0543,_0x5cb57b=!0x1){const _0x1a1e24=_0x59f468,_0x1ae7fe=this[_0x1a1e24(0x4eb)][_0x1a1e24(0x3ec)](_0x1a1e24(0x21d));_0xf0543[_0x1a1e24(0x51d)]()!==_0x1ae7fe&&this[_0x1a1e24(0x4eb)][_0x1a1e24(0x4f8)](_0x1a1e24(0x21d),_0xf0543['getSheetId'](),_0x5cb57b);}async[_0x59f468(0x4a3)](_0x5b654e){const _0x5de28b=_0x59f468;var _0x4557cd;const _0x4848a4=this[_0x5de28b(0x4eb)][_0x5de28b(0x3ec)](_0x5de28b(0x21d));if(!_0x4848a4||!_0x5b654e['getSheetBySheetId'](_0x4848a4)){const _0x1c16b1=_0x5b654e[_0x5de28b(0x59c)]()[0x0],_0x4612b2=_0x5b654e['getSheetBySheetId'](_0x1c16b1);if(!_0x4612b2)return;this[_0x5de28b(0x39d)](_0x4612b2,!0x0),await this[_0x5de28b(0x54d)]['executeCommand'](_0x4cb6da['id'],{'unitId':_0x5b654e['getUnitId'](),'subUnitId':_0x1c16b1});return;}((_0x4557cd=_0x5b654e[_0x5de28b(0x561)]())==null?void 0x0:_0x4557cd['getSheetId']())!==_0x4848a4&&await this['_commandService']['executeCommand'](_0x4cb6da['id'],{'unitId':_0x5b654e['getUnitId'](),'subUnitId':_0x4848a4});}async[_0x59f468(0x312)](_0x3af50c){const _0x1b2dda=_0x59f468;let _0x2d7e04=0x0;const _0xabfd7=await this[_0x1b2dda(0x1ca)]['loadOfflineData'](_0x3af50c);return _0xabfd7&&(_0xabfd7['awaitingChangeset']||_0xabfd7['mutations']['length']!==0x0)&&(_0x2d7e04=_0xabfd7[_0x1b2dda(0x4bc)]),_0x2d7e04===0x0&&this[_0x1b2dda(0x3b6)][_0x1b2dda(0x48b)](_0x1b2dda(0x560),_0x1b2dda(0x389)),this['_snapshotService'][_0x1b2dda(0x1a5)](_0x3af50c,_0x2d7e04);}async[_0x59f468(0x289)](_0x5e9fc3){const _0x49e2a6=_0x59f468;let _0x112472=0x0;const _0x131578=await this['_localCacheService']['loadOfflineData'](_0x5e9fc3);return _0x131578&&(_0x131578['awaitingChangeset']||_0x131578[_0x49e2a6(0x1a2)]['length']!==0x0)&&(_0x112472=_0x131578[_0x49e2a6(0x4bc)]),_0x112472===0x0&&this[_0x49e2a6(0x3b6)]['debug']('[DataLoaderController]',_0x49e2a6(0x389)),this['_snapshotService'][_0x49e2a6(0x5b1)](_0x5e9fc3,_0x112472);}};At=ka([Be(0x0,tr),Be(0x1,_0x37805d),Be(0x2,_0x1e017f),Be(0x3,_0x222038(z)),Be(0x4,_0x222038(_0x1381aa)),Be(0x5,_0x3a5345(_0x45ceae))],At);var Wa=Object[_0x59f468(0x29a)],Fa=Object[_0x59f468(0x368)],Va=(_0x5c9159,_0x198368,_0x413f15,_0x45cf08)=>{const _0xa2406c=_0x59f468;for(var _0xfcf9a=_0x45cf08>0x1?void 0x0:_0x45cf08?Fa(_0x198368,_0x413f15):_0x198368,_0x1cda40=_0x5c9159[_0xa2406c(0x21a)]-0x1,_0x176533;_0x1cda40>=0x0;_0x1cda40--)(_0x176533=_0x5c9159[_0x1cda40])&&(_0xfcf9a=(_0x45cf08?_0x176533(_0x198368,_0x413f15,_0xfcf9a):_0x176533(_0xfcf9a))||_0xfcf9a);return _0x45cf08&&_0xfcf9a&&Wa(_0x198368,_0x413f15,_0xfcf9a),_0xfcf9a;},oi=(_0x1cbb66,_0x3089b2)=>(_0x465026,_0x13fbd1)=>_0x3089b2(_0x465026,_0x13fbd1,_0x1cbb66);const Ga=_0x59f468(0x49a),Ya=_0x59f468(0x1fe);let Mt=class extends _0x19fe63{constructor(_0x6fd784,_0x57419c){const _0x5a79d9=_0x59f468;super(),this['_univerInstanceService']=_0x6fd784,this[_0x5a79d9(0x58b)]=_0x57419c,this['_init']();}[_0x59f468(0x59d)](){const _0x2b96a6=_0x59f468;this[_0x2b96a6(0x4e2)](this[_0x2b96a6(0x525)][_0x2b96a6(0x57d)]['subscribe'](()=>{const _0x2d349a=_0x2b96a6;var _0x533e1b;const _0x1b43d1=this[_0x2d349a(0x525)][_0x2d349a(0x370)]();let _0x69803c=(_0x533e1b=this[_0x2d349a(0x58b)][_0x2d349a(0x55d)](Ga))!=null?_0x533e1b:Ya;_0x1b43d1 instanceof _0x2b04ff&&(_0x69803c=_0x1b43d1['name']),document[_0x2d349a(0x48e)]=_0x69803c;}));}};Mt=Va([oi(0x0,_0xd7de45),oi(0x1,_0x486aed)],Mt);var Ka=Object[_0x59f468(0x29a)],qa=Object[_0x59f468(0x368)],za=(_0x4be214,_0x375efe,_0x23c1b4,_0x104d4f)=>{const _0x368d1a=_0x59f468;for(var _0x2adf89=_0x104d4f>0x1?void 0x0:_0x104d4f?qa(_0x375efe,_0x23c1b4):_0x375efe,_0xf4bb2=_0x4be214[_0x368d1a(0x21a)]-0x1,_0x3f3dda;_0xf4bb2>=0x0;_0xf4bb2--)(_0x3f3dda=_0x4be214[_0xf4bb2])&&(_0x2adf89=(_0x104d4f?_0x3f3dda(_0x375efe,_0x23c1b4,_0x2adf89):_0x3f3dda(_0x2adf89))||_0x2adf89);return _0x104d4f&&_0x2adf89&&Ka(_0x375efe,_0x23c1b4,_0x2adf89),_0x2adf89;},ss=(_0x31a39a,_0xe60cfc)=>(_0x1efa02,_0x3fa4d3)=>_0xe60cfc(_0x1efa02,_0x3fa4d3,_0x31a39a);let xt=class{constructor(_0x21f29b,_0x3cb867,_0x57dd8d){const _0x5e405d=_0x59f468;this['_configService']=_0x21f29b,this[_0x5e405d(0x2e7)]=_0x3cb867,this['localeService']=_0x57dd8d,this[_0x5e405d(0x43e)]();}[_0x59f468(0x43e)](){const _0xf0b163=_0x59f468;this[_0xf0b163(0x2e7)][_0xf0b163(0x442)]({'priority':0x1,'interceptor':(_0x2e244a,_0x5eda27)=>_0x5eda27(_0x2e244a)['pipe'](_0x3b543c(async _0x39d736=>{const _0x506e55=_0xf0b163,_0x128310=_0x39d736;if(_0x128310[_0x506e55(0x1e8)]===0x191&&window[_0x506e55(0x1e6)](this['localeService']['t'](_0x506e55(0x1f6)))){const _0xb625c=window[_0x506e55(0x449)](window[_0x506e55(0x30e)][_0x506e55(0x2f0)]);window[_0x506e55(0x30e)][_0x506e55(0x2f0)]=this[_0x506e55(0x21b)]()+'?url='+_0xb625c;}return _0x128310;}))});}[_0x59f468(0x21b)](){const _0x100d3d=_0x59f468;var _0x135783,_0x4242e8;const _0x5bec0d=this[_0x100d3d(0x58b)][_0x100d3d(0x55d)]($n),_0xb60bad=this[_0x100d3d(0x58b)][_0x100d3d(0x55d)](Q);return(_0x4242e8=(_0x135783=_0xb60bad==null?void 0x0:_0xb60bad[_0x100d3d(0x1bc)])!=null?_0x135783:_0x5bec0d)!=null?_0x4242e8:Hn;}};xt=za([ss(0x0,_0x486aed),ss(0x1,_0x222038(_0x216536)),ss(0x2,_0x222038(_0x52880d))],xt);var Xa=Object[_0x59f468(0x29a)],Ja=Object[_0x59f468(0x368)],Za=(_0x854e93,_0x4b43c3,_0x78e6c7,_0x570072)=>{const _0x1dfb56=_0x59f468;for(var _0xcac14c=_0x570072>0x1?void 0x0:_0x570072?Ja(_0x4b43c3,_0x78e6c7):_0x4b43c3,_0x46d04f=_0x854e93[_0x1dfb56(0x21a)]-0x1,_0x8430fa;_0x46d04f>=0x0;_0x46d04f--)(_0x8430fa=_0x854e93[_0x46d04f])&&(_0xcac14c=(_0x570072?_0x8430fa(_0x4b43c3,_0x78e6c7,_0xcac14c):_0x8430fa(_0xcac14c))||_0xcac14c);return _0x570072&&_0xcac14c&&Xa(_0x4b43c3,_0x78e6c7,_0xcac14c),_0xcac14c;},ai=(_0x1b5a50,_0xa08d83)=>(_0x62e21e,_0x3eab98)=>_0xa08d83(_0x62e21e,_0x3eab98,_0x1b5a50);const sr=_0x59f468(0x5a0),Qa='/universer-api/authz';let vs=class extends _0x19fe63{constructor(_0x582a96,_0x454172){const _0x3953ea=_0x59f468;super(),this[_0x3953ea(0x3f8)]=_0x582a96,this[_0x3953ea(0x58b)]=_0x454172,this[_0x3953ea(0x52e)]();}['_initMergeInterceptor'](){const _0x53a2ee=_0x59f468,_0x33a361=this;this['disposeWithMe'](this[_0x53a2ee(0x3f8)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x388d52({'isMatch'(_0x560da9){const _0x5de8a4=_0x53a2ee;var _0x297c3e;if(_0x560da9[_0x5de8a4(0x1ab)]===_0x5de8a4(0x592)&&((_0x297c3e=_0x560da9[_0x5de8a4(0x25e)])!=null&&_0x297c3e[_0x5de8a4(0x444)])){const {objectID:_0x20f729,objectType:_0x1d660c}=_0x560da9[_0x5de8a4(0x25e)][_0x5de8a4(0x444)]||{};if(!_0x20f729||_0x1d660c===void 0x0)return!0x1;const _0x4e931f=_0x33a361['_getAPIPrefixPath']()+'/'+_0x1d660c+_0x5de8a4(0x5b0)+_0x20f729+_0x5de8a4(0x1f5);if(_0x560da9[_0x5de8a4(0x2cb)]===_0x4e931f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x723613){const _0x567287=_0x53a2ee;var _0x53d5c9;return(_0x53d5c9=_0x723613[_0x567287(0x25e)])==null?void 0x0:_0x53d5c9[_0x567287(0x444)];},'mergeParamsToRequest'(_0x116077,_0xfbcbab){const _0xa6093c=_0x53a2ee,_0x544d59=_0x33a361[_0xa6093c(0x2e4)]()+_0xa6093c(0x249),_0x22c109=_0x116077[_0xa6093c(0x50d)]((_0x4eb040,_0x117ec4)=>{const _0x2c537e=_0xa6093c,{unitID:_0x208ecd,objectID:_0xf5d0de,objectType:_0x469929,actions:_0x2d0a6e}=_0x117ec4;return _0x4eb040[_0x208ecd]||(_0x4eb040[_0x208ecd]={}),_0x4eb040[_0x208ecd][_0xf5d0de]||(_0x4eb040[_0x208ecd][_0xf5d0de]={'objectID':_0xf5d0de,'objectType':_0x469929,'actions':[]}),_0x4eb040[_0x208ecd][_0xf5d0de]['actions'][_0x2c537e(0x4cf)](..._0x2d0a6e),_0x4eb040;},{}),_0x35496c=[];for(const _0x41cd60 in _0x22c109)for(const _0x3ec39a in _0x22c109[_0x41cd60]){const {actions:_0x61369e,objectType:_0x5088ae}=_0x22c109[_0x41cd60][_0x3ec39a],_0x386c7f=[...new Set(_0x61369e)];_0x35496c['push']({'unitID':_0x41cd60,'objectID':_0x3ec39a,'objectType':_0x5088ae,'actions':_0x386c7f});}return new _0x55add6(_0xa6093c(0x592),_0x544d59,{'headers':_0xfbcbab[_0xa6093c(0x412)],'withCredentials':_0xfbcbab['withCredentials'],'responseType':_0xfbcbab[_0xa6093c(0x406)],'body':{'requests':_0x35496c}});}},{'distributeResult'(_0x34c36e,_0x463ac8){const _0x57fcee=_0x53a2ee,{objectActions:_0x51f830}=_0x34c36e;return _0x463ac8[_0x57fcee(0x36d)](_0x150b90=>{const _0x30d359=_0x57fcee,{unitID:_0x5665f8,objectID:_0x43da1e,actions:_0x48487c}=_0x150b90,_0xca1387=_0x51f830[_0x30d359(0x2a5)](_0x19ab1a=>_0x19ab1a[_0x30d359(0x405)]===_0x5665f8&&_0x19ab1a['objectID']===_0x43da1e),_0x41fca0=_0x48487c[_0x30d359(0x36d)](_0x1b7620=>_0xca1387==null?void 0x0:_0xca1387[_0x30d359(0x584)]['find'](_0x1e8125=>_0x1e8125[_0x30d359(0x202)]===_0x1b7620))[_0x30d359(0x532)](_0x302a3c=>!!_0x302a3c);return{'config':_0x150b90,'result':{'actions':_0x41fca0,'error':_0x34c36e[_0x30d359(0x1ec)]}};});}})}));}[_0x59f468(0x2e4)](){const _0x3105fe=_0x59f468;var _0x48c7eb,_0x556ae2;const _0x5a1609=this['_configService'][_0x3105fe(0x55d)](sr),_0x44c55e=this['_configService'][_0x3105fe(0x55d)](Q);return(_0x556ae2=(_0x48c7eb=_0x44c55e==null?void 0x0:_0x44c55e[_0x3105fe(0x204)])!=null?_0x48c7eb:_0x5a1609)!=null?_0x556ae2:Qa;}async[_0x59f468(0x252)](_0x43e7c2){const _0x6d2e2f=_0x59f468,_0x2ee433=this[_0x6d2e2f(0x2e4)]()+'/'+_0x43e7c2[_0x6d2e2f(0x40e)]+'/object';return(await this[_0x6d2e2f(0x3f8)][_0x6d2e2f(0x32e)](_0x2ee433,{'body':_0x43e7c2}))[_0x6d2e2f(0x444)]['objectID']||'';}async[_0x59f468(0x4c5)](_0x3f27b7){const _0x3f23bb=_0x59f468,_0x35a60a=this['_getAPIPrefixPath']()+_0x3f23bb(0x390);return(await this[_0x3f23bb(0x3f8)]['post'](_0x35a60a,{'body':_0x3f27b7}))['body'][_0x3f23bb(0x2e9)];}async[_0x59f468(0x44f)](_0x2c0c6a){const _0x33fd40=_0x59f468,_0x2bc83b=this[_0x33fd40(0x2e4)]()+'/'+_0x2c0c6a[_0x33fd40(0x40e)]+'/object/'+_0x2c0c6a[_0x33fd40(0x426)];await this[_0x33fd40(0x3f8)]['put'](_0x2bc83b,{'body':_0x2c0c6a});}async['allowed'](_0xf8d1b3){const _0x576cd6=_0x59f468,_0x212ac3=this[_0x576cd6(0x2e4)]()+'/'+_0xf8d1b3['objectType']+_0x576cd6(0x5b0)+_0xf8d1b3['objectID']+_0x576cd6(0x1f5);return(await this[_0x576cd6(0x3f8)]['post'](_0x212ac3,{'body':_0xf8d1b3}))['body'][_0x576cd6(0x584)];}async[_0x59f468(0x40b)](_0x564537){const _0x14ffa6=_0x59f468,_0xdcb8a5=this['_getAPIPrefixPath']()+_0x14ffa6(0x249);return(await this[_0x14ffa6(0x3f8)][_0x14ffa6(0x32e)](_0xdcb8a5,{'body':{'requests':_0x564537}}))[_0x14ffa6(0x444)]['objectActions'];}async[_0x59f468(0x4ce)](_0x447cba){const _0x482b03=_0x59f468,_0xfcd1b1=this[_0x482b03(0x2e4)]()+'/'+_0x447cba[_0x482b03(0x40e)]+_0x482b03(0x222),_0x2b5af2=await this[_0x482b03(0x3f8)][_0x482b03(0x32e)](_0xfcd1b1,{'body':_0x447cba});return{'roles':_0x2b5af2[_0x482b03(0x444)][_0x482b03(0x527)],'actions':_0x2b5af2[_0x482b03(0x444)][_0x482b03(0x584)]};}async[_0x59f468(0x2ff)](_0x214a19){const _0x575b0c=_0x59f468,_0x504311=this[_0x575b0c(0x2e4)]()+_0x575b0c(0x46e);await this[_0x575b0c(0x3f8)]['delete'](_0x504311,{'params':{'collaboratorID':_0x214a19[_0x575b0c(0x446)],'objectID':_0x214a19[_0x575b0c(0x426)],'unitID':_0x214a19[_0x575b0c(0x405)]}});}async[_0x59f468(0x328)](_0x218da1){const _0x265255=_0x59f468,_0x4bbdc3=this[_0x265255(0x2e4)]()+_0x265255(0x46e);await this[_0x265255(0x3f8)]['patch'](_0x4bbdc3,{'body':_0x218da1});}async['createCollaborator'](_0x385324){const _0x11c926=_0x59f468,_0xec7e93=this[_0x11c926(0x2e4)]()+_0x11c926(0x46e);await this['_HTTPService'][_0x11c926(0x32e)](_0xec7e93,{'body':_0x385324});}async[_0x59f468(0x1b9)](_0x1b3908){const _0x1c3f6e=_0x59f468,_0x298352=this[_0x1c3f6e(0x2e4)]()+'/collaborator';return(await this[_0x1c3f6e(0x3f8)]['get'](_0x298352,{'params':{'objectID':_0x1b3908[_0x1c3f6e(0x426)],'unitID':_0x1b3908[_0x1c3f6e(0x405)]}}))[_0x1c3f6e(0x444)][_0x1c3f6e(0x254)];}async[_0x59f468(0x30c)](_0x949468){const _0x281186=_0x59f468,_0xfb3817=this[_0x281186(0x2e4)]()+'/collaborator';await this['_HTTPService'][_0x281186(0x53c)](_0xfb3817,{'body':_0x949468});}};vs=Za([ai(0x0,_0x222038(_0x216536)),ai(0x1,_0x222038(_0x486aed))],vs);var ut={'exports':{}};function ec(_0x462015){const _0x19c6c9=_0x59f468;throw new Error(_0x19c6c9(0x375)+_0x462015+_0x19c6c9(0x1d0));}var dt={'exports':{}},tc=dt['exports'],ci;function _e(){const _0x5b7067=_0x59f468;return ci||(ci=0x1,function(_0x456327,_0x142e0b){(function(_0x283458,_0x177703){const _0x3c6498=_0x2eda;_0x456327[_0x3c6498(0x3b4)]=_0x177703();}(tc,function(){var _0x3eff25=_0x3eff25||function(_0x5c3397,_0xacacf){const _0x238342=_0x2eda;var _0x5b762d;if(typeof window<'u'&&window[_0x238342(0x301)]&&(_0x5b762d=window[_0x238342(0x301)]),typeof self<'u'&&self[_0x238342(0x301)]&&(_0x5b762d=self[_0x238342(0x301)]),typeof globalThis<'u'&&globalThis[_0x238342(0x301)]&&(_0x5b762d=globalThis[_0x238342(0x301)]),!_0x5b762d&&typeof window<'u'&&window[_0x238342(0x327)]&&(_0x5b762d=window[_0x238342(0x327)]),!_0x5b762d&&typeof es<'u'&&es[_0x238342(0x301)]&&(_0x5b762d=es['crypto']),!_0x5b762d&&typeof ec==_0x238342(0x51c))try{_0x5b762d=require(_0x238342(0x301));}catch{}var _0x4576ff=function(){const _0xa265b1=_0x238342;if(_0x5b762d){if(typeof _0x5b762d[_0xa265b1(0x4cc)]==_0xa265b1(0x51c))try{return _0x5b762d[_0xa265b1(0x4cc)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5b762d[_0xa265b1(0x36a)]=='function')try{return _0x5b762d[_0xa265b1(0x36a)](0x4)[_0xa265b1(0x4d9)]();}catch{}}throw new Error(_0xa265b1(0x4a8));},_0x4fee0a=Object['create']||(function(){function _0x2c5c6c(){}return function(_0x2c90af){const _0x4b7b79=_0x2eda;var _0x4db8e0;return _0x2c5c6c[_0x4b7b79(0x1d3)]=_0x2c90af,_0x4db8e0=new _0x2c5c6c(),_0x2c5c6c[_0x4b7b79(0x1d3)]=null,_0x4db8e0;};}()),_0x2b374a={},_0x5cc472=_0x2b374a[_0x238342(0x4bd)]={},_0x3ef94c=_0x5cc472[_0x238342(0x556)]=(function(){return{'extend':function(_0x30593e){const _0x21cd10=_0x2eda;var _0x2d90a2=_0x4fee0a(this);return _0x30593e&&_0x2d90a2[_0x21cd10(0x1ac)](_0x30593e),(!_0x2d90a2[_0x21cd10(0x346)](_0x21cd10(0x43e))||this['init']===_0x2d90a2['init'])&&(_0x2d90a2['init']=function(){const _0x24d383=_0x21cd10;_0x2d90a2[_0x24d383(0x1af)][_0x24d383(0x43e)]['apply'](this,arguments);}),_0x2d90a2[_0x21cd10(0x43e)][_0x21cd10(0x1d3)]=_0x2d90a2,_0x2d90a2[_0x21cd10(0x1af)]=this,_0x2d90a2;},'create':function(){const _0x30ecc5=_0x2eda;var _0x2643ba=this[_0x30ecc5(0x521)]();return _0x2643ba[_0x30ecc5(0x43e)][_0x30ecc5(0x593)](_0x2643ba,arguments),_0x2643ba;},'init':function(){},'mixIn':function(_0x2df298){const _0x40ec06=_0x2eda;for(var _0x2a0639 in _0x2df298)_0x2df298[_0x40ec06(0x346)](_0x2a0639)&&(this[_0x2a0639]=_0x2df298[_0x2a0639]);_0x2df298[_0x40ec06(0x346)](_0x40ec06(0x4a1))&&(this['toString']=_0x2df298['toString']);},'clone':function(){const _0x5ae18f=_0x2eda;return this[_0x5ae18f(0x43e)][_0x5ae18f(0x1d3)][_0x5ae18f(0x521)](this);}};}()),_0x14417d=_0x5cc472[_0x238342(0x20f)]=_0x3ef94c['extend']({'init':function(_0xebc4cb,_0x12f663){const _0x139982=_0x238342;_0xebc4cb=this[_0x139982(0x520)]=_0xebc4cb||[],_0x12f663!=_0xacacf?this[_0x139982(0x303)]=_0x12f663:this[_0x139982(0x303)]=_0xebc4cb[_0x139982(0x21a)]*0x4;},'toString':function(_0x35d9c4){const _0x2d9396=_0x238342;return(_0x35d9c4||_0x3f9b76)[_0x2d9396(0x3fc)](this);},'concat':function(_0x51b2b5){const _0x518a16=_0x238342;var _0x9ee004=this[_0x518a16(0x520)],_0x497e77=_0x51b2b5[_0x518a16(0x520)],_0x56305f=this[_0x518a16(0x303)],_0x3974af=_0x51b2b5['sigBytes'];if(this[_0x518a16(0x469)](),_0x56305f%0x4)for(var _0x1fed97=0x0;_0x1fed97<_0x3974af;_0x1fed97++){var _0x151e57=_0x497e77[_0x1fed97>>>0x2]>>>0x18-_0x1fed97%0x4*0x8&0xff;_0x9ee004[_0x56305f+_0x1fed97>>>0x2]|=_0x151e57<<0x18-(_0x56305f+_0x1fed97)%0x4*0x8;}else{for(var _0x38fb01=0x0;_0x38fb01<_0x3974af;_0x38fb01+=0x4)_0x9ee004[_0x56305f+_0x38fb01>>>0x2]=_0x497e77[_0x38fb01>>>0x2];}return this['sigBytes']+=_0x3974af,this;},'clamp':function(){const _0x41552d=_0x238342;var _0x1f0a75=this[_0x41552d(0x520)],_0x500a79=this[_0x41552d(0x303)];_0x1f0a75[_0x500a79>>>0x2]&=0xffffffff<<0x20-_0x500a79%0x4*0x8,_0x1f0a75[_0x41552d(0x21a)]=_0x5c3397[_0x41552d(0x2d0)](_0x500a79/0x4);},'clone':function(){const _0x7fe244=_0x238342;var _0x4f8b1c=_0x3ef94c[_0x7fe244(0x4ea)][_0x7fe244(0x3e3)](this);return _0x4f8b1c[_0x7fe244(0x520)]=this[_0x7fe244(0x520)][_0x7fe244(0x38c)](0x0),_0x4f8b1c;},'random':function(_0x967aad){const _0x47814c=_0x238342;for(var _0x81a00a=[],_0xc74901=0x0;_0xc74901<_0x967aad;_0xc74901+=0x4)_0x81a00a[_0x47814c(0x4cf)](_0x4576ff());return new _0x14417d[(_0x47814c(0x43e))](_0x81a00a,_0x967aad);}}),_0x208ea8=_0x2b374a['enc']={},_0x3f9b76=_0x208ea8[_0x238342(0x5b6)]={'stringify':function(_0xea8a64){const _0xb7781d=_0x238342;for(var _0x363f63=_0xea8a64[_0xb7781d(0x520)],_0x5b522a=_0xea8a64[_0xb7781d(0x303)],_0x66f40d=[],_0x50961b=0x0;_0x50961b<_0x5b522a;_0x50961b++){var _0x2532b2=_0x363f63[_0x50961b>>>0x2]>>>0x18-_0x50961b%0x4*0x8&0xff;_0x66f40d[_0xb7781d(0x4cf)]((_0x2532b2>>>0x4)[_0xb7781d(0x4a1)](0x10)),_0x66f40d[_0xb7781d(0x4cf)]((_0x2532b2&0xf)['toString'](0x10));}return _0x66f40d[_0xb7781d(0x271)]('');},'parse':function(_0x519c48){const _0x891c98=_0x238342;for(var _0x315b95=_0x519c48[_0x891c98(0x21a)],_0x2afc58=[],_0x2bbf62=0x0;_0x2bbf62<_0x315b95;_0x2bbf62+=0x2)_0x2afc58[_0x2bbf62>>>0x3]|=parseInt(_0x519c48[_0x891c98(0x37a)](_0x2bbf62,0x2),0x10)<<0x18-_0x2bbf62%0x8*0x4;return new _0x14417d[(_0x891c98(0x43e))](_0x2afc58,_0x315b95/0x2);}},_0x4e6f35=_0x208ea8[_0x238342(0x20d)]={'stringify':function(_0x52a607){const _0x12f02=_0x238342;for(var _0x519a51=_0x52a607[_0x12f02(0x520)],_0x502ef9=_0x52a607['sigBytes'],_0x248c94=[],_0x544072=0x0;_0x544072<_0x502ef9;_0x544072++){var _0x502799=_0x519a51[_0x544072>>>0x2]>>>0x18-_0x544072%0x4*0x8&0xff;_0x248c94[_0x12f02(0x4cf)](String['fromCharCode'](_0x502799));}return _0x248c94[_0x12f02(0x271)]('');},'parse':function(_0x55f125){const _0x44d632=_0x238342;for(var _0x1f3ef9=_0x55f125[_0x44d632(0x21a)],_0x174703=[],_0x402099=0x0;_0x402099<_0x1f3ef9;_0x402099++)_0x174703[_0x402099>>>0x2]|=(_0x55f125[_0x44d632(0x5a3)](_0x402099)&0xff)<<0x18-_0x402099%0x4*0x8;return new _0x14417d[(_0x44d632(0x43e))](_0x174703,_0x1f3ef9);}},_0x5ab51e=_0x208ea8[_0x238342(0x42d)]={'stringify':function(_0x66848){const _0x1647c6=_0x238342;try{return decodeURIComponent(escape(_0x4e6f35[_0x1647c6(0x3fc)](_0x66848)));}catch{throw new Error(_0x1647c6(0x599));}},'parse':function(_0x22b0ae){return _0x4e6f35['parse'](unescape(encodeURIComponent(_0x22b0ae)));}},_0x39560d=_0x5cc472[_0x238342(0x357)]=_0x3ef94c['extend']({'reset':function(){const _0x30a992=_0x238342;this['_data']=new _0x14417d[(_0x30a992(0x43e))](),this[_0x30a992(0x48a)]=0x0;},'_append':function(_0x2d9585){const _0x59e1f2=_0x238342;typeof _0x2d9585=='string'&&(_0x2d9585=_0x5ab51e[_0x59e1f2(0x2e1)](_0x2d9585)),this[_0x59e1f2(0x290)][_0x59e1f2(0x340)](_0x2d9585),this['_nDataBytes']+=_0x2d9585[_0x59e1f2(0x303)];},'_process':function(_0x5bd13e){const _0x53ba1d=_0x238342;var _0x388010,_0x5f3274=this['_data'],_0x2ee167=_0x5f3274[_0x53ba1d(0x520)],_0x1060bf=_0x5f3274['sigBytes'],_0x53444d=this[_0x53ba1d(0x43f)],_0xcc92c6=_0x53444d*0x4,_0xf081a7=_0x1060bf/_0xcc92c6;_0x5bd13e?_0xf081a7=_0x5c3397['ceil'](_0xf081a7):_0xf081a7=_0x5c3397[_0x53ba1d(0x456)]((_0xf081a7|0x0)-this[_0x53ba1d(0x2af)],0x0);var _0x8050c3=_0xf081a7*_0x53444d,_0x34fb8b=_0x5c3397[_0x53ba1d(0x42a)](_0x8050c3*0x4,_0x1060bf);if(_0x8050c3){for(var _0x43153a=0x0;_0x43153a<_0x8050c3;_0x43153a+=_0x53444d)this[_0x53ba1d(0x296)](_0x2ee167,_0x43153a);_0x388010=_0x2ee167[_0x53ba1d(0x41b)](0x0,_0x8050c3),_0x5f3274[_0x53ba1d(0x303)]-=_0x34fb8b;}return new _0x14417d[(_0x53ba1d(0x43e))](_0x388010,_0x34fb8b);},'clone':function(){const _0x5ee033=_0x238342;var _0x282aa8=_0x3ef94c[_0x5ee033(0x4ea)][_0x5ee033(0x3e3)](this);return _0x282aa8['_data']=this[_0x5ee033(0x290)][_0x5ee033(0x4ea)](),_0x282aa8;},'_minBufferSize':0x0});_0x5cc472[_0x238342(0x207)]=_0x39560d[_0x238342(0x521)]({'cfg':_0x3ef94c['extend'](),'init':function(_0x3218ed){const _0x5a36d2=_0x238342;this['cfg']=this[_0x5a36d2(0x377)][_0x5a36d2(0x521)](_0x3218ed),this['reset']();},'reset':function(){const _0x26fb95=_0x238342;_0x39560d[_0x26fb95(0x23f)][_0x26fb95(0x3e3)](this),this[_0x26fb95(0x452)]();},'update':function(_0xfcce9d){const _0x4bca83=_0x238342;return this[_0x4bca83(0x582)](_0xfcce9d),this[_0x4bca83(0x528)](),this;},'finalize':function(_0x24157c){const _0x10a1b6=_0x238342;_0x24157c&&this['_append'](_0x24157c);var _0x5af95d=this[_0x10a1b6(0x47f)]();return _0x5af95d;},'blockSize':0x10,'_createHelper':function(_0x3f3644){return function(_0x152435,_0x43bb58){const _0x4c7774=_0x2eda;return new _0x3f3644[(_0x4c7774(0x43e))](_0x43bb58)[_0x4c7774(0x37b)](_0x152435);};},'_createHmacHelper':function(_0x589cf2){return function(_0x10e1b1,_0x2dc1c0){const _0x252ac4=_0x2eda;return new _0x550eb1[(_0x252ac4(0x2d9))][(_0x252ac4(0x43e))](_0x589cf2,_0x2dc1c0)['finalize'](_0x10e1b1);};}});var _0x550eb1=_0x2b374a['algo']={};return _0x2b374a;}(Math);return _0x3eff25;}));}(dt)),dt[_0x5b7067(0x3b4)];}var ft={'exports':{}},sc=ft[_0x59f468(0x3b4)],hi;function ir(){const _0x441946=_0x59f468;return hi||(hi=0x1,function(_0x3026e7,_0x54baf9){(function(_0xebcc83,_0x87650d){const _0x10e300=_0x2eda;_0x3026e7[_0x10e300(0x3b4)]=_0x87650d(_e());}(sc,function(_0x4821f5){const _0x1f23c3=_0x2eda;return(function(){const _0x51054d=_0x2eda;var _0x3cd8d0=_0x4821f5,_0x13f725=_0x3cd8d0[_0x51054d(0x4bd)],_0x10a6f2=_0x13f725[_0x51054d(0x20f)],_0x16570f=_0x3cd8d0[_0x51054d(0x48f)];_0x16570f[_0x51054d(0x3fa)]={'stringify':function(_0x2ebb8b){const _0x53121c=_0x51054d;var _0x29d57e=_0x2ebb8b[_0x53121c(0x520)],_0x35ec5f=_0x2ebb8b[_0x53121c(0x303)],_0x3d74df=this[_0x53121c(0x2ba)];_0x2ebb8b[_0x53121c(0x469)]();for(var _0x167707=[],_0x306403=0x0;_0x306403<_0x35ec5f;_0x306403+=0x3)for(var _0x3bbb81=_0x29d57e[_0x306403>>>0x2]>>>0x18-_0x306403%0x4*0x8&0xff,_0x18d50b=_0x29d57e[_0x306403+0x1>>>0x2]>>>0x18-(_0x306403+0x1)%0x4*0x8&0xff,_0x47a7a9=_0x29d57e[_0x306403+0x2>>>0x2]>>>0x18-(_0x306403+0x2)%0x4*0x8&0xff,_0x466647=_0x3bbb81<<0x10|_0x18d50b<<0x8|_0x47a7a9,_0x2b5f40=0x0;_0x2b5f40<0x4&&_0x306403+_0x2b5f40*0.75<_0x35ec5f;_0x2b5f40++)_0x167707['push'](_0x3d74df[_0x53121c(0x230)](_0x466647>>>0x6*(0x3-_0x2b5f40)&0x3f));var _0x165af9=_0x3d74df[_0x53121c(0x230)](0x40);if(_0x165af9){for(;_0x167707[_0x53121c(0x21a)]%0x4;)_0x167707[_0x53121c(0x4cf)](_0x165af9);}return _0x167707[_0x53121c(0x271)]('');},'parse':function(_0xe2c7c7){const _0x7e96b6=_0x51054d;var _0x46add5=_0xe2c7c7[_0x7e96b6(0x21a)],_0x31fb97=this['_map'],_0x42c4ec=this[_0x7e96b6(0x2f9)];if(!_0x42c4ec){_0x42c4ec=this['_reverseMap']=[];for(var _0x514768=0x0;_0x514768<_0x31fb97[_0x7e96b6(0x21a)];_0x514768++)_0x42c4ec[_0x31fb97[_0x7e96b6(0x5a3)](_0x514768)]=_0x514768;}var _0x3ae705=_0x31fb97['charAt'](0x40);if(_0x3ae705){var _0x4b6807=_0xe2c7c7[_0x7e96b6(0x3e0)](_0x3ae705);_0x4b6807!==-0x1&&(_0x46add5=_0x4b6807);}return _0x585d28(_0xe2c7c7,_0x46add5,_0x42c4ec);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x585d28(_0x26bcc4,_0x5b9987,_0x230749){const _0x4ab42d=_0x51054d;for(var _0xff75f8=[],_0x5ab00c=0x0,_0x4ed7d4=0x0;_0x4ed7d4<_0x5b9987;_0x4ed7d4++)if(_0x4ed7d4%0x4){var _0x497dce=_0x230749[_0x26bcc4[_0x4ab42d(0x5a3)](_0x4ed7d4-0x1)]<<_0x4ed7d4%0x4*0x2,_0x353f59=_0x230749[_0x26bcc4[_0x4ab42d(0x5a3)](_0x4ed7d4)]>>>0x6-_0x4ed7d4%0x4*0x2,_0x3a82cc=_0x497dce|_0x353f59;_0xff75f8[_0x5ab00c>>>0x2]|=_0x3a82cc<<0x18-_0x5ab00c%0x4*0x8,_0x5ab00c++;}return _0x10a6f2[_0x4ab42d(0x252)](_0xff75f8,_0x5ab00c);}}()),_0x4821f5[_0x1f23c3(0x48f)]['Base64'];}));}(ft)),ft[_0x441946(0x3b4)];}var vt={'exports':{}},ic=vt[_0x59f468(0x3b4)],li;function rc(){const _0x43d22b=_0x59f468;return li||(li=0x1,function(_0x42dd52,_0x267775){(function(_0x5dec87,_0x4151e2){const _0x295291=_0x2eda;_0x42dd52[_0x295291(0x3b4)]=_0x4151e2(_e());}(ic,function(_0x2072d6){const _0x5f1146=_0x2eda;return function(_0xf8896d){const _0x50d5a6=_0x2eda;var _0x5444e2=_0x2072d6,_0x371eae=_0x5444e2['lib'],_0xfd8660=_0x371eae[_0x50d5a6(0x20f)],_0x2f5d0e=_0x371eae[_0x50d5a6(0x207)],_0x1d240a=_0x5444e2[_0x50d5a6(0x4bb)],_0x21d010=[];(function(){const _0x13b8ef=_0x50d5a6;for(var _0x32bca0=0x0;_0x32bca0<0x40;_0x32bca0++)_0x21d010[_0x32bca0]=_0xf8896d[_0x13b8ef(0x3dd)](_0xf8896d[_0x13b8ef(0x501)](_0x32bca0+0x1))*0x100000000|0x0;}());var _0x8b9f8f=_0x1d240a['MD5']=_0x2f5d0e[_0x50d5a6(0x521)]({'_doReset':function(){const _0x237704=_0x50d5a6;this[_0x237704(0x468)]=new _0xfd8660['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3b2fa1,_0x50155e){const _0x2d9a2d=_0x50d5a6;for(var _0x596991=0x0;_0x596991<0x10;_0x596991++){var _0x437858=_0x50155e+_0x596991,_0x316c2d=_0x3b2fa1[_0x437858];_0x3b2fa1[_0x437858]=(_0x316c2d<<0x8|_0x316c2d>>>0x18)&0xff00ff|(_0x316c2d<<0x18|_0x316c2d>>>0x8)&0xff00ff00;}var _0x45e525=this[_0x2d9a2d(0x468)][_0x2d9a2d(0x520)],_0x405853=_0x3b2fa1[_0x50155e+0x0],_0x27bb3d=_0x3b2fa1[_0x50155e+0x1],_0xe09037=_0x3b2fa1[_0x50155e+0x2],_0x2bb617=_0x3b2fa1[_0x50155e+0x3],_0x1d6470=_0x3b2fa1[_0x50155e+0x4],_0x3ae9d4=_0x3b2fa1[_0x50155e+0x5],_0x33bcc1=_0x3b2fa1[_0x50155e+0x6],_0x188d07=_0x3b2fa1[_0x50155e+0x7],_0x3a4900=_0x3b2fa1[_0x50155e+0x8],_0x26781b=_0x3b2fa1[_0x50155e+0x9],_0x5f1fb0=_0x3b2fa1[_0x50155e+0xa],_0x4f71a1=_0x3b2fa1[_0x50155e+0xb],_0x598270=_0x3b2fa1[_0x50155e+0xc],_0x1da5e1=_0x3b2fa1[_0x50155e+0xd],_0x43f46b=_0x3b2fa1[_0x50155e+0xe],_0x16f58a=_0x3b2fa1[_0x50155e+0xf],_0x213497=_0x45e525[0x0],_0x3d71f9=_0x45e525[0x1],_0x3d40ef=_0x45e525[0x2],_0x49105a=_0x45e525[0x3];_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x405853,0x7,_0x21d010[0x0]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x27bb3d,0xc,_0x21d010[0x1]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0xe09037,0x11,_0x21d010[0x2]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x2bb617,0x16,_0x21d010[0x3]),_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1d6470,0x7,_0x21d010[0x4]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x3ae9d4,0xc,_0x21d010[0x5]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x33bcc1,0x11,_0x21d010[0x6]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x188d07,0x16,_0x21d010[0x7]),_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3a4900,0x7,_0x21d010[0x8]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x26781b,0xc,_0x21d010[0x9]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x5f1fb0,0x11,_0x21d010[0xa]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x4f71a1,0x16,_0x21d010[0xb]),_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x598270,0x7,_0x21d010[0xc]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x1da5e1,0xc,_0x21d010[0xd]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x43f46b,0x11,_0x21d010[0xe]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x16f58a,0x16,_0x21d010[0xf]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x27bb3d,0x5,_0x21d010[0x10]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x33bcc1,0x9,_0x21d010[0x11]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x4f71a1,0xe,_0x21d010[0x12]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x405853,0x14,_0x21d010[0x13]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3ae9d4,0x5,_0x21d010[0x14]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x5f1fb0,0x9,_0x21d010[0x15]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x16f58a,0xe,_0x21d010[0x16]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x1d6470,0x14,_0x21d010[0x17]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x26781b,0x5,_0x21d010[0x18]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x43f46b,0x9,_0x21d010[0x19]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x2bb617,0xe,_0x21d010[0x1a]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x3a4900,0x14,_0x21d010[0x1b]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1da5e1,0x5,_0x21d010[0x1c]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0xe09037,0x9,_0x21d010[0x1d]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x188d07,0xe,_0x21d010[0x1e]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x598270,0x14,_0x21d010[0x1f]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3ae9d4,0x4,_0x21d010[0x20]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x3a4900,0xb,_0x21d010[0x21]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x4f71a1,0x10,_0x21d010[0x22]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x43f46b,0x17,_0x21d010[0x23]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x27bb3d,0x4,_0x21d010[0x24]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x1d6470,0xb,_0x21d010[0x25]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x188d07,0x10,_0x21d010[0x26]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x5f1fb0,0x17,_0x21d010[0x27]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1da5e1,0x4,_0x21d010[0x28]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x405853,0xb,_0x21d010[0x29]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x2bb617,0x10,_0x21d010[0x2a]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x33bcc1,0x17,_0x21d010[0x2b]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x26781b,0x4,_0x21d010[0x2c]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x598270,0xb,_0x21d010[0x2d]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x16f58a,0x10,_0x21d010[0x2e]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0xe09037,0x17,_0x21d010[0x2f]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x405853,0x6,_0x21d010[0x30]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x188d07,0xa,_0x21d010[0x31]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x43f46b,0xf,_0x21d010[0x32]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x3ae9d4,0x15,_0x21d010[0x33]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x598270,0x6,_0x21d010[0x34]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x2bb617,0xa,_0x21d010[0x35]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x5f1fb0,0xf,_0x21d010[0x36]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x27bb3d,0x15,_0x21d010[0x37]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3a4900,0x6,_0x21d010[0x38]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x16f58a,0xa,_0x21d010[0x39]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x33bcc1,0xf,_0x21d010[0x3a]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x1da5e1,0x15,_0x21d010[0x3b]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1d6470,0x6,_0x21d010[0x3c]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x4f71a1,0xa,_0x21d010[0x3d]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0xe09037,0xf,_0x21d010[0x3e]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x26781b,0x15,_0x21d010[0x3f]),_0x45e525[0x0]=_0x45e525[0x0]+_0x213497|0x0,_0x45e525[0x1]=_0x45e525[0x1]+_0x3d71f9|0x0,_0x45e525[0x2]=_0x45e525[0x2]+_0x3d40ef|0x0,_0x45e525[0x3]=_0x45e525[0x3]+_0x49105a|0x0;},'_doFinalize':function(){const _0x1a5776=_0x50d5a6;var _0x15c215=this[_0x1a5776(0x290)],_0x3d39f9=_0x15c215['words'],_0x5758f8=this[_0x1a5776(0x48a)]*0x8,_0x269591=_0x15c215[_0x1a5776(0x303)]*0x8;_0x3d39f9[_0x269591>>>0x5]|=0x80<<0x18-_0x269591%0x20;var _0x7a2300=_0xf8896d[_0x1a5776(0x316)](_0x5758f8/0x100000000),_0x329026=_0x5758f8;_0x3d39f9[(_0x269591+0x40>>>0x9<<0x4)+0xf]=(_0x7a2300<<0x8|_0x7a2300>>>0x18)&0xff00ff|(_0x7a2300<<0x18|_0x7a2300>>>0x8)&0xff00ff00,_0x3d39f9[(_0x269591+0x40>>>0x9<<0x4)+0xe]=(_0x329026<<0x8|_0x329026>>>0x18)&0xff00ff|(_0x329026<<0x18|_0x329026>>>0x8)&0xff00ff00,_0x15c215[_0x1a5776(0x303)]=(_0x3d39f9['length']+0x1)*0x4,this[_0x1a5776(0x528)]();for(var _0x5a95e8=this[_0x1a5776(0x468)],_0x115f8b=_0x5a95e8[_0x1a5776(0x520)],_0x17b0ae=0x0;_0x17b0ae<0x4;_0x17b0ae++){var _0x2568df=_0x115f8b[_0x17b0ae];_0x115f8b[_0x17b0ae]=(_0x2568df<<0x8|_0x2568df>>>0x18)&0xff00ff|(_0x2568df<<0x18|_0x2568df>>>0x8)&0xff00ff00;}return _0x5a95e8;},'clone':function(){const _0x3970ca=_0x50d5a6;var _0x381af8=_0x2f5d0e[_0x3970ca(0x4ea)][_0x3970ca(0x3e3)](this);return _0x381af8[_0x3970ca(0x468)]=this[_0x3970ca(0x468)][_0x3970ca(0x4ea)](),_0x381af8;}});function _0xc07d9c(_0x46a02d,_0x17b1e6,_0x10c21e,_0x398468,_0x19afb1,_0x4dd816,_0x5951ac){var _0x1c4d1a=_0x46a02d+(_0x17b1e6&_0x10c21e|~_0x17b1e6&_0x398468)+_0x19afb1+_0x5951ac;return(_0x1c4d1a<<_0x4dd816|_0x1c4d1a>>>0x20-_0x4dd816)+_0x17b1e6;}function _0x99bb4(_0x559b77,_0x110c7c,_0xf19dd,_0xbcb79a,_0x48adc3,_0xc5fec9,_0x2927c2){var _0x4162d2=_0x559b77+(_0x110c7c&_0xbcb79a|_0xf19dd&~_0xbcb79a)+_0x48adc3+_0x2927c2;return(_0x4162d2<<_0xc5fec9|_0x4162d2>>>0x20-_0xc5fec9)+_0x110c7c;}function _0x16d7c9(_0x49afa2,_0x23bfde,_0x4cd36e,_0x1fc43b,_0x9cf55b,_0x62b792,_0x405e47){var _0x2d1303=_0x49afa2+(_0x23bfde^_0x4cd36e^_0x1fc43b)+_0x9cf55b+_0x405e47;return(_0x2d1303<<_0x62b792|_0x2d1303>>>0x20-_0x62b792)+_0x23bfde;}function _0x40399c(_0xac0c99,_0x3438e2,_0x58eb92,_0x238f44,_0x498bc7,_0x2d2c07,_0x8c2f48){var _0xa6a1ac=_0xac0c99+(_0x58eb92^(_0x3438e2|~_0x238f44))+_0x498bc7+_0x8c2f48;return(_0xa6a1ac<<_0x2d2c07|_0xa6a1ac>>>0x20-_0x2d2c07)+_0x3438e2;}_0x5444e2[_0x50d5a6(0x4a6)]=_0x2f5d0e['_createHelper'](_0x8b9f8f),_0x5444e2[_0x50d5a6(0x1ae)]=_0x2f5d0e[_0x50d5a6(0x3ed)](_0x8b9f8f);}(Math),_0x2072d6[_0x5f1146(0x4a6)];}));}(vt)),vt[_0x43d22b(0x3b4)];}var pt={'exports':{}},mt={'exports':{}},nc=mt[_0x59f468(0x3b4)],_i;function oc(){const _0x301a7c=_0x59f468;return _i||(_i=0x1,function(_0x4960f9,_0x4b0b9a){(function(_0x443d0a,_0x4e3d90){const _0x2bdebd=_0x2eda;_0x4960f9[_0x2bdebd(0x3b4)]=_0x4e3d90(_e());}(nc,function(_0x445354){const _0x36380e=_0x2eda;return(function(){const _0x3e9a5d=_0x2eda;var _0x4a8c81=_0x445354,_0x5205c1=_0x4a8c81[_0x3e9a5d(0x4bd)],_0x2ee72d=_0x5205c1[_0x3e9a5d(0x20f)],_0x2fd878=_0x5205c1[_0x3e9a5d(0x207)],_0xfa188=_0x4a8c81[_0x3e9a5d(0x4bb)],_0x4e604a=[],_0x3bb9bd=_0xfa188[_0x3e9a5d(0x507)]=_0x2fd878[_0x3e9a5d(0x521)]({'_doReset':function(){const _0x2ada27=_0x3e9a5d;this[_0x2ada27(0x468)]=new _0x2ee72d[(_0x2ada27(0x43e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x48c7be,_0x53dc86){const _0x1e8ea6=_0x3e9a5d;for(var _0x5c2e76=this['_hash'][_0x1e8ea6(0x520)],_0x57f514=_0x5c2e76[0x0],_0x1e7811=_0x5c2e76[0x1],_0x35e64d=_0x5c2e76[0x2],_0x436a68=_0x5c2e76[0x3],_0x56a252=_0x5c2e76[0x4],_0x3bc27c=0x0;_0x3bc27c<0x50;_0x3bc27c++){if(_0x3bc27c<0x10)_0x4e604a[_0x3bc27c]=_0x48c7be[_0x53dc86+_0x3bc27c]|0x0;else{var _0x26139d=_0x4e604a[_0x3bc27c-0x3]^_0x4e604a[_0x3bc27c-0x8]^_0x4e604a[_0x3bc27c-0xe]^_0x4e604a[_0x3bc27c-0x10];_0x4e604a[_0x3bc27c]=_0x26139d<<0x1|_0x26139d>>>0x1f;}var _0x1f571d=(_0x57f514<<0x5|_0x57f514>>>0x1b)+_0x56a252+_0x4e604a[_0x3bc27c];_0x3bc27c<0x14?_0x1f571d+=(_0x1e7811&_0x35e64d|~_0x1e7811&_0x436a68)+0x5a827999:_0x3bc27c<0x28?_0x1f571d+=(_0x1e7811^_0x35e64d^_0x436a68)+0x6ed9eba1:_0x3bc27c<0x3c?_0x1f571d+=(_0x1e7811&_0x35e64d|_0x1e7811&_0x436a68|_0x35e64d&_0x436a68)-0x70e44324:_0x1f571d+=(_0x1e7811^_0x35e64d^_0x436a68)-0x359d3e2a,_0x56a252=_0x436a68,_0x436a68=_0x35e64d,_0x35e64d=_0x1e7811<<0x1e|_0x1e7811>>>0x2,_0x1e7811=_0x57f514,_0x57f514=_0x1f571d;}_0x5c2e76[0x0]=_0x5c2e76[0x0]+_0x57f514|0x0,_0x5c2e76[0x1]=_0x5c2e76[0x1]+_0x1e7811|0x0,_0x5c2e76[0x2]=_0x5c2e76[0x2]+_0x35e64d|0x0,_0x5c2e76[0x3]=_0x5c2e76[0x3]+_0x436a68|0x0,_0x5c2e76[0x4]=_0x5c2e76[0x4]+_0x56a252|0x0;},'_doFinalize':function(){const _0x4ca9e0=_0x3e9a5d;var _0x4f691f=this[_0x4ca9e0(0x290)],_0x382568=_0x4f691f[_0x4ca9e0(0x520)],_0x903d79=this[_0x4ca9e0(0x48a)]*0x8,_0x556c70=_0x4f691f[_0x4ca9e0(0x303)]*0x8;return _0x382568[_0x556c70>>>0x5]|=0x80<<0x18-_0x556c70%0x20,_0x382568[(_0x556c70+0x40>>>0x9<<0x4)+0xe]=Math[_0x4ca9e0(0x316)](_0x903d79/0x100000000),_0x382568[(_0x556c70+0x40>>>0x9<<0x4)+0xf]=_0x903d79,_0x4f691f[_0x4ca9e0(0x303)]=_0x382568['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x5c2a9f=_0x3e9a5d;var _0x4eaf7a=_0x2fd878[_0x5c2a9f(0x4ea)][_0x5c2a9f(0x3e3)](this);return _0x4eaf7a[_0x5c2a9f(0x468)]=this[_0x5c2a9f(0x468)][_0x5c2a9f(0x4ea)](),_0x4eaf7a;}});_0x4a8c81['SHA1']=_0x2fd878[_0x3e9a5d(0x2c6)](_0x3bb9bd),_0x4a8c81[_0x3e9a5d(0x3c5)]=_0x2fd878[_0x3e9a5d(0x3ed)](_0x3bb9bd);}()),_0x445354[_0x36380e(0x507)];}));}(mt)),mt[_0x301a7c(0x3b4)];}var gt={'exports':{}},ac=gt[_0x59f468(0x3b4)],ui;function cc(){const _0x18fab7=_0x59f468;return ui||(ui=0x1,function(_0x6b8049,_0x42e944){(function(_0xd4a0e3,_0x1b7cbb){_0x6b8049['exports']=_0x1b7cbb(_e());}(ac,function(_0x36a7be){(function(){const _0x56b481=_0x2eda;var _0x1f1dbc=_0x36a7be,_0x5d0f07=_0x1f1dbc['lib'],_0x4fbf6d=_0x5d0f07['Base'],_0x3f156d=_0x1f1dbc[_0x56b481(0x48f)],_0x4697d1=_0x3f156d['Utf8'],_0x3cdca6=_0x1f1dbc[_0x56b481(0x4bb)];_0x3cdca6[_0x56b481(0x2d9)]=_0x4fbf6d[_0x56b481(0x521)]({'init':function(_0x1daeef,_0x588bfc){const _0x10b389=_0x56b481;_0x1daeef=this[_0x10b389(0x1ef)]=new _0x1daeef[(_0x10b389(0x43e))](),typeof _0x588bfc==_0x10b389(0x2fb)&&(_0x588bfc=_0x4697d1[_0x10b389(0x2e1)](_0x588bfc));var _0x275a72=_0x1daeef[_0x10b389(0x43f)],_0xe3c2bf=_0x275a72*0x4;_0x588bfc[_0x10b389(0x303)]>_0xe3c2bf&&(_0x588bfc=_0x1daeef['finalize'](_0x588bfc)),_0x588bfc['clamp']();for(var _0x20b24d=this[_0x10b389(0x47c)]=_0x588bfc[_0x10b389(0x4ea)](),_0x13d2d0=this[_0x10b389(0x523)]=_0x588bfc['clone'](),_0x203b9d=_0x20b24d[_0x10b389(0x520)],_0x4f86c3=_0x13d2d0[_0x10b389(0x520)],_0x458595=0x0;_0x458595<_0x275a72;_0x458595++)_0x203b9d[_0x458595]^=0x5c5c5c5c,_0x4f86c3[_0x458595]^=0x36363636;_0x20b24d[_0x10b389(0x303)]=_0x13d2d0[_0x10b389(0x303)]=_0xe3c2bf,this[_0x10b389(0x23f)]();},'reset':function(){const _0x56538f=_0x56b481;var _0xb068e=this['_hasher'];_0xb068e[_0x56538f(0x23f)](),_0xb068e[_0x56538f(0x44f)](this['_iKey']);},'update':function(_0x6cd3ab){const _0xc3feeb=_0x56b481;return this[_0xc3feeb(0x1ef)][_0xc3feeb(0x44f)](_0x6cd3ab),this;},'finalize':function(_0x12450d){const _0x4a136d=_0x56b481;var _0xf15e71=this[_0x4a136d(0x1ef)],_0x1f2414=_0xf15e71[_0x4a136d(0x37b)](_0x12450d);_0xf15e71[_0x4a136d(0x23f)]();var _0x57c41c=_0xf15e71[_0x4a136d(0x37b)](this[_0x4a136d(0x47c)][_0x4a136d(0x4ea)]()['concat'](_0x1f2414));return _0x57c41c;}});}());}));}(gt)),gt[_0x18fab7(0x3b4)];}var hc=pt['exports'],di;function rr(){const _0x48bb14=_0x59f468;return di||(di=0x1,function(_0x58f14d,_0xd2ce4e){(function(_0x437609,_0x7be9a5,_0xca541){const _0x493287=_0x2eda;_0x58f14d[_0x493287(0x3b4)]=_0x7be9a5(_e(),oc(),cc());}(hc,function(_0x4e3c25){const _0x26df9f=_0x2eda;return(function(){const _0x44e1e2=_0x2eda;var _0x1bf590=_0x4e3c25,_0x3b73e9=_0x1bf590[_0x44e1e2(0x4bd)],_0x5d3daa=_0x3b73e9['Base'],_0x4f6cdd=_0x3b73e9[_0x44e1e2(0x20f)],_0x119568=_0x1bf590[_0x44e1e2(0x4bb)],_0x56bbfe=_0x119568['MD5'],_0x5684d8=_0x119568['EvpKDF']=_0x5d3daa[_0x44e1e2(0x521)]({'cfg':_0x5d3daa[_0x44e1e2(0x521)]({'keySize':0x80/0x20,'hasher':_0x56bbfe,'iterations':0x1}),'init':function(_0x1059b0){const _0x2c9fee=_0x44e1e2;this[_0x2c9fee(0x377)]=this[_0x2c9fee(0x377)][_0x2c9fee(0x521)](_0x1059b0);},'compute':function(_0x15f3a4,_0x300c41){const _0xb00ed5=_0x44e1e2;for(var _0x4a4de8,_0x627e38=this[_0xb00ed5(0x377)],_0x1cf0dd=_0x627e38['hasher'][_0xb00ed5(0x252)](),_0x14337f=_0x4f6cdd['create'](),_0x110bdb=_0x14337f[_0xb00ed5(0x520)],_0x4e5648=_0x627e38[_0xb00ed5(0x1b4)],_0x13541c=_0x627e38[_0xb00ed5(0x1eb)];_0x110bdb[_0xb00ed5(0x21a)]<_0x4e5648;){_0x4a4de8&&_0x1cf0dd[_0xb00ed5(0x44f)](_0x4a4de8),_0x4a4de8=_0x1cf0dd['update'](_0x15f3a4)[_0xb00ed5(0x37b)](_0x300c41),_0x1cf0dd[_0xb00ed5(0x23f)]();for(var _0x4b5133=0x1;_0x4b5133<_0x13541c;_0x4b5133++)_0x4a4de8=_0x1cf0dd[_0xb00ed5(0x37b)](_0x4a4de8),_0x1cf0dd[_0xb00ed5(0x23f)]();_0x14337f[_0xb00ed5(0x340)](_0x4a4de8);}return _0x14337f[_0xb00ed5(0x303)]=_0x4e5648*0x4,_0x14337f;}});_0x1bf590[_0x44e1e2(0x496)]=function(_0x2385bb,_0x46cee2,_0x425b4f){const _0x29a4bd=_0x44e1e2;return _0x5684d8[_0x29a4bd(0x252)](_0x425b4f)[_0x29a4bd(0x322)](_0x2385bb,_0x46cee2);};}()),_0x4e3c25[_0x26df9f(0x496)];}));}(pt)),pt[_0x48bb14(0x3b4)];}var St={'exports':{}},lc=St[_0x59f468(0x3b4)],fi;function nr(){return fi||(fi=0x1,function(_0x4820d0,_0x5cc1e5){(function(_0x14355d,_0x3c32d5,_0x5ab4b9){const _0x36872d=_0x2eda;_0x4820d0[_0x36872d(0x3b4)]=_0x3c32d5(_e(),rr());}(lc,function(_0x268d26){const _0x28e0bc=_0x2eda;_0x268d26[_0x28e0bc(0x4bd)][_0x28e0bc(0x33e)]||function(_0x36f00a){const _0x18d6ed=_0x28e0bc;var _0x1e24c5=_0x268d26,_0x162862=_0x1e24c5[_0x18d6ed(0x4bd)],_0x3a544d=_0x162862['Base'],_0xb8523b=_0x162862['WordArray'],_0x5bfefc=_0x162862['BufferedBlockAlgorithm'],_0x128e15=_0x1e24c5[_0x18d6ed(0x48f)];_0x128e15[_0x18d6ed(0x42d)];var _0x827a8e=_0x128e15[_0x18d6ed(0x3fa)],_0x1c5a87=_0x1e24c5['algo'],_0x2c646c=_0x1c5a87['EvpKDF'],_0x4bd35e=_0x162862['Cipher']=_0x5bfefc[_0x18d6ed(0x521)]({'cfg':_0x3a544d[_0x18d6ed(0x521)](),'createEncryptor':function(_0x587f4c,_0x4f64f8){return this['create'](this['_ENC_XFORM_MODE'],_0x587f4c,_0x4f64f8);},'createDecryptor':function(_0x11c4c7,_0x4792bd){const _0x1cc97b=_0x18d6ed;return this[_0x1cc97b(0x252)](this[_0x1cc97b(0x5af)],_0x11c4c7,_0x4792bd);},'init':function(_0xf68b6d,_0x402ea1,_0x582f0b){const _0x29c879=_0x18d6ed;this[_0x29c879(0x377)]=this[_0x29c879(0x377)][_0x29c879(0x521)](_0x582f0b),this[_0x29c879(0x4fb)]=_0xf68b6d,this[_0x29c879(0x1c0)]=_0x402ea1,this[_0x29c879(0x23f)]();},'reset':function(){const _0x24631b=_0x18d6ed;_0x5bfefc[_0x24631b(0x23f)][_0x24631b(0x3e3)](this),this[_0x24631b(0x452)]();},'process':function(_0x2eb3cf){const _0x53ac2e=_0x18d6ed;return this[_0x53ac2e(0x582)](_0x2eb3cf),this[_0x53ac2e(0x528)]();},'finalize':function(_0x3ea41a){const _0xfe696=_0x18d6ed;_0x3ea41a&&this[_0xfe696(0x582)](_0x3ea41a);var _0x59fa79=this[_0xfe696(0x47f)]();return _0x59fa79;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2301a6(_0x58ace9){const _0xa0f020=_0x2eda;return typeof _0x58ace9==_0xa0f020(0x2fb)?_0x3ad5bb:_0x1ec272;}return function(_0x1d54ef){return{'encrypt':function(_0x328c1a,_0x3b4e34,_0x4c12a4){return _0x2301a6(_0x3b4e34)['encrypt'](_0x1d54ef,_0x328c1a,_0x3b4e34,_0x4c12a4);},'decrypt':function(_0x352db7,_0x7fbb28,_0x435dad){const _0x2964b1=_0x2eda;return _0x2301a6(_0x7fbb28)[_0x2964b1(0x3c9)](_0x1d54ef,_0x352db7,_0x7fbb28,_0x435dad);}};};}())});_0x162862[_0x18d6ed(0x4ff)]=_0x4bd35e[_0x18d6ed(0x521)]({'_doFinalize':function(){const _0xe584b1=_0x18d6ed;var _0x1c5d69=this[_0xe584b1(0x528)](!0x0);return _0x1c5d69;},'blockSize':0x1});var _0x5e65ff=_0x1e24c5[_0x18d6ed(0x4f4)]={},_0x597080=_0x162862[_0x18d6ed(0x224)]=_0x3a544d[_0x18d6ed(0x521)]({'createEncryptor':function(_0x3ef086,_0x4ba15e){const _0x286e75=_0x18d6ed;return this[_0x286e75(0x1fd)][_0x286e75(0x252)](_0x3ef086,_0x4ba15e);},'createDecryptor':function(_0x3c9e17,_0x310fcc){const _0x5c15f1=_0x18d6ed;return this[_0x5c15f1(0x1cc)][_0x5c15f1(0x252)](_0x3c9e17,_0x310fcc);},'init':function(_0x477a90,_0x2b04d8){const _0x2960c0=_0x18d6ed;this[_0x2960c0(0x311)]=_0x477a90,this['_iv']=_0x2b04d8;}}),_0x28499a=_0x5e65ff['CBC']=(function(){const _0x2e31ae=_0x18d6ed;var _0x1337f7=_0x597080[_0x2e31ae(0x521)]();_0x1337f7[_0x2e31ae(0x1fd)]=_0x1337f7[_0x2e31ae(0x521)]({'processBlock':function(_0x445051,_0x41d128){const _0x5ea5f3=_0x2e31ae;var _0x189500=this['_cipher'],_0x39c6c5=_0x189500[_0x5ea5f3(0x43f)];_0x34c72e['call'](this,_0x445051,_0x41d128,_0x39c6c5),_0x189500[_0x5ea5f3(0x58f)](_0x445051,_0x41d128),this[_0x5ea5f3(0x2f5)]=_0x445051[_0x5ea5f3(0x38c)](_0x41d128,_0x41d128+_0x39c6c5);}}),_0x1337f7[_0x2e31ae(0x1cc)]=_0x1337f7[_0x2e31ae(0x521)]({'processBlock':function(_0x4e2443,_0x501537){const _0x429919=_0x2e31ae;var _0x27896e=this[_0x429919(0x311)],_0x1cee2f=_0x27896e['blockSize'],_0xf1b94d=_0x4e2443[_0x429919(0x38c)](_0x501537,_0x501537+_0x1cee2f);_0x27896e[_0x429919(0x2cf)](_0x4e2443,_0x501537),_0x34c72e[_0x429919(0x3e3)](this,_0x4e2443,_0x501537,_0x1cee2f),this['_prevBlock']=_0xf1b94d;}});function _0x34c72e(_0x2e6e98,_0x17f5b0,_0x450948){const _0x58d6a7=_0x2e31ae;var _0x242749,_0x501272=this['_iv'];_0x501272?(_0x242749=_0x501272,this[_0x58d6a7(0x26a)]=_0x36f00a):_0x242749=this[_0x58d6a7(0x2f5)];for(var _0x1f543a=0x0;_0x1f543a<_0x450948;_0x1f543a++)_0x2e6e98[_0x17f5b0+_0x1f543a]^=_0x242749[_0x1f543a];}return _0x1337f7;}()),_0x2a07c4=_0x1e24c5[_0x18d6ed(0x429)]={},_0x2b6545=_0x2a07c4[_0x18d6ed(0x3e8)]={'pad':function(_0x494a5e,_0x4fbde1){const _0x5153f6=_0x18d6ed;for(var _0x1d6d1d=_0x4fbde1*0x4,_0x424586=_0x1d6d1d-_0x494a5e[_0x5153f6(0x303)]%_0x1d6d1d,_0x30e2fd=_0x424586<<0x18|_0x424586<<0x10|_0x424586<<0x8|_0x424586,_0x35cf9c=[],_0x4bb3e7=0x0;_0x4bb3e7<_0x424586;_0x4bb3e7+=0x4)_0x35cf9c['push'](_0x30e2fd);var _0x2c1f02=_0xb8523b[_0x5153f6(0x252)](_0x35cf9c,_0x424586);_0x494a5e[_0x5153f6(0x340)](_0x2c1f02);},'unpad':function(_0x26204d){const _0x4d0fd3=_0x18d6ed;var _0x4d3e73=_0x26204d[_0x4d0fd3(0x520)][_0x26204d[_0x4d0fd3(0x303)]-0x1>>>0x2]&0xff;_0x26204d['sigBytes']-=_0x4d3e73;}};_0x162862[_0x18d6ed(0x4f7)]=_0x4bd35e[_0x18d6ed(0x521)]({'cfg':_0x4bd35e['cfg']['extend']({'mode':_0x28499a,'padding':_0x2b6545}),'reset':function(){const _0x166495=_0x18d6ed;var _0x514fb0;_0x4bd35e[_0x166495(0x23f)][_0x166495(0x3e3)](this);var _0x5d5ae6=this[_0x166495(0x377)],_0x503aeb=_0x5d5ae6['iv'],_0xa8bef5=_0x5d5ae6['mode'];this['_xformMode']==this[_0x166495(0x285)]?_0x514fb0=_0xa8bef5[_0x166495(0x3c6)]:(_0x514fb0=_0xa8bef5['createDecryptor'],this['_minBufferSize']=0x1),this[_0x166495(0x302)]&&this[_0x166495(0x302)][_0x166495(0x4e0)]==_0x514fb0?this[_0x166495(0x302)]['init'](this,_0x503aeb&&_0x503aeb[_0x166495(0x520)]):(this['_mode']=_0x514fb0['call'](_0xa8bef5,this,_0x503aeb&&_0x503aeb[_0x166495(0x520)]),this[_0x166495(0x302)][_0x166495(0x4e0)]=_0x514fb0);},'_doProcessBlock':function(_0x2c8f68,_0x5303c8){const _0x49dc2e=_0x18d6ed;this[_0x49dc2e(0x302)][_0x49dc2e(0x216)](_0x2c8f68,_0x5303c8);},'_doFinalize':function(){const _0xa6fc2c=_0x18d6ed;var _0x2c881d,_0x47cc06=this[_0xa6fc2c(0x377)][_0xa6fc2c(0x3f9)];return this['_xformMode']==this[_0xa6fc2c(0x285)]?(_0x47cc06[_0xa6fc2c(0x429)](this[_0xa6fc2c(0x290)],this[_0xa6fc2c(0x43f)]),_0x2c881d=this['_process'](!0x0)):(_0x2c881d=this[_0xa6fc2c(0x528)](!0x0),_0x47cc06['unpad'](_0x2c881d)),_0x2c881d;},'blockSize':0x80/0x20});var _0x36f9ed=_0x162862[_0x18d6ed(0x341)]=_0x3a544d[_0x18d6ed(0x521)]({'init':function(_0x284d61){const _0x4e9eb5=_0x18d6ed;this[_0x4e9eb5(0x1ac)](_0x284d61);},'toString':function(_0x20f7b9){const _0x27860f=_0x18d6ed;return(_0x20f7b9||this[_0x27860f(0x1a9)])[_0x27860f(0x3fc)](this);}}),_0x43a53f=_0x1e24c5[_0x18d6ed(0x265)]={},_0xf6964e=_0x43a53f[_0x18d6ed(0x2c0)]={'stringify':function(_0x1a9573){const _0x535c45=_0x18d6ed;var _0x25e92b,_0x25acc8=_0x1a9573[_0x535c45(0x283)],_0x4f0f1b=_0x1a9573[_0x535c45(0x314)];return _0x4f0f1b?_0x25e92b=_0xb8523b[_0x535c45(0x252)]([0x53616c74,0x65645f5f])['concat'](_0x4f0f1b)['concat'](_0x25acc8):_0x25e92b=_0x25acc8,_0x25e92b[_0x535c45(0x4a1)](_0x827a8e);},'parse':function(_0x2f8509){const _0x1301a3=_0x18d6ed;var _0x187ca7,_0x5e2c1a=_0x827a8e['parse'](_0x2f8509),_0xa3b810=_0x5e2c1a[_0x1301a3(0x520)];return _0xa3b810[0x0]==0x53616c74&&_0xa3b810[0x1]==0x65645f5f&&(_0x187ca7=_0xb8523b['create'](_0xa3b810[_0x1301a3(0x38c)](0x2,0x4)),_0xa3b810['splice'](0x0,0x4),_0x5e2c1a[_0x1301a3(0x303)]-=0x10),_0x36f9ed[_0x1301a3(0x252)]({'ciphertext':_0x5e2c1a,'salt':_0x187ca7});}},_0x1ec272=_0x162862[_0x18d6ed(0x2a9)]=_0x3a544d[_0x18d6ed(0x521)]({'cfg':_0x3a544d['extend']({'format':_0xf6964e}),'encrypt':function(_0x35dbce,_0xe36941,_0x323623,_0xfc8581){const _0x2887f5=_0x18d6ed;_0xfc8581=this[_0x2887f5(0x377)][_0x2887f5(0x521)](_0xfc8581);var _0x1777b0=_0x35dbce[_0x2887f5(0x3c6)](_0x323623,_0xfc8581),_0x30e1f6=_0x1777b0[_0x2887f5(0x37b)](_0xe36941),_0x2dc8ad=_0x1777b0[_0x2887f5(0x377)];return _0x36f9ed['create']({'ciphertext':_0x30e1f6,'key':_0x323623,'iv':_0x2dc8ad['iv'],'algorithm':_0x35dbce,'mode':_0x2dc8ad['mode'],'padding':_0x2dc8ad[_0x2887f5(0x3f9)],'blockSize':_0x35dbce['blockSize'],'formatter':_0xfc8581['format']});},'decrypt':function(_0x198685,_0x38573c,_0x537b3e,_0x195d28){const _0xd39c74=_0x18d6ed;_0x195d28=this[_0xd39c74(0x377)]['extend'](_0x195d28),_0x38573c=this[_0xd39c74(0x199)](_0x38573c,_0x195d28[_0xd39c74(0x265)]);var _0x528882=_0x198685[_0xd39c74(0x485)](_0x537b3e,_0x195d28)['finalize'](_0x38573c[_0xd39c74(0x283)]);return _0x528882;},'_parse':function(_0x2d1a1c,_0x180ba4){const _0x187f99=_0x18d6ed;return typeof _0x2d1a1c==_0x187f99(0x2fb)?_0x180ba4[_0x187f99(0x2e1)](_0x2d1a1c,this):_0x2d1a1c;}}),_0x196a46=_0x1e24c5[_0x18d6ed(0x47b)]={},_0x5451f0=_0x196a46[_0x18d6ed(0x2c0)]={'execute':function(_0x4a844c,_0x5e03cd,_0x8be130,_0x4afb7f,_0x5e286e){const _0x226623=_0x18d6ed;if(_0x4afb7f||(_0x4afb7f=_0xb8523b[_0x226623(0x585)](0x40/0x8)),_0x5e286e)var _0x5f36cc=_0x2c646c['create']({'keySize':_0x5e03cd+_0x8be130,'hasher':_0x5e286e})[_0x226623(0x322)](_0x4a844c,_0x4afb7f);else var _0x5f36cc=_0x2c646c[_0x226623(0x252)]({'keySize':_0x5e03cd+_0x8be130})['compute'](_0x4a844c,_0x4afb7f);var _0x2af239=_0xb8523b['create'](_0x5f36cc[_0x226623(0x520)][_0x226623(0x38c)](_0x5e03cd),_0x8be130*0x4);return _0x5f36cc[_0x226623(0x303)]=_0x5e03cd*0x4,_0x36f9ed[_0x226623(0x252)]({'key':_0x5f36cc,'iv':_0x2af239,'salt':_0x4afb7f});}},_0x3ad5bb=_0x162862[_0x18d6ed(0x4aa)]=_0x1ec272[_0x18d6ed(0x521)]({'cfg':_0x1ec272[_0x18d6ed(0x377)][_0x18d6ed(0x521)]({'kdf':_0x5451f0}),'encrypt':function(_0x3db119,_0xbe5dbd,_0x587cdb,_0x2b033f){const _0xe2d2e9=_0x18d6ed;_0x2b033f=this['cfg'][_0xe2d2e9(0x521)](_0x2b033f);var _0x52db95=_0x2b033f['kdf'][_0xe2d2e9(0x1c7)](_0x587cdb,_0x3db119[_0xe2d2e9(0x1b4)],_0x3db119[_0xe2d2e9(0x3c0)],_0x2b033f[_0xe2d2e9(0x314)],_0x2b033f[_0xe2d2e9(0x428)]);_0x2b033f['iv']=_0x52db95['iv'];var _0x3baf83=_0x1ec272[_0xe2d2e9(0x203)][_0xe2d2e9(0x3e3)](this,_0x3db119,_0xbe5dbd,_0x52db95[_0xe2d2e9(0x47d)],_0x2b033f);return _0x3baf83['mixIn'](_0x52db95),_0x3baf83;},'decrypt':function(_0x51f857,_0x40bb97,_0x5152da,_0x2a9b6f){const _0x29f691=_0x18d6ed;_0x2a9b6f=this[_0x29f691(0x377)][_0x29f691(0x521)](_0x2a9b6f),_0x40bb97=this[_0x29f691(0x199)](_0x40bb97,_0x2a9b6f[_0x29f691(0x265)]);var _0xa15a62=_0x2a9b6f[_0x29f691(0x47b)][_0x29f691(0x1c7)](_0x5152da,_0x51f857[_0x29f691(0x1b4)],_0x51f857[_0x29f691(0x3c0)],_0x40bb97[_0x29f691(0x314)],_0x2a9b6f[_0x29f691(0x428)]);_0x2a9b6f['iv']=_0xa15a62['iv'];var _0x59a9b5=_0x1ec272[_0x29f691(0x3c9)][_0x29f691(0x3e3)](this,_0x51f857,_0x40bb97,_0xa15a62[_0x29f691(0x47d)],_0x2a9b6f);return _0x59a9b5;}});}();}));}(St)),St['exports'];}var _c=ut[_0x59f468(0x3b4)],vi;function uc(){return vi||(vi=0x1,function(_0x1bcfbe,_0x532b8b){(function(_0x1b81c5,_0x673a66,_0x5eca41){const _0x3e96d8=_0x2eda;_0x1bcfbe[_0x3e96d8(0x3b4)]=_0x673a66(_e(),ir(),rc(),rr(),nr());}(_c,function(_0x1bdbf9){const _0x322501=_0x2eda;return(function(){const _0x6a4b58=_0x2eda;var _0x25a314=_0x1bdbf9,_0x37afdd=_0x25a314[_0x6a4b58(0x4bd)],_0x2c5695=_0x37afdd['BlockCipher'],_0x358bf7=_0x25a314['algo'],_0x28bc66=[],_0x2a38fe=[],_0x5e0868=[],_0x43ee97=[],_0x470885=[],_0x5bb578=[],_0x338313=[],_0x55b36a=[],_0x3b518f=[],_0x1ee1df=[];(function(){for(var _0x176c32=[],_0xb5cd64=0x0;_0xb5cd64<0x100;_0xb5cd64++)_0xb5cd64<0x80?_0x176c32[_0xb5cd64]=_0xb5cd64<<0x1:_0x176c32[_0xb5cd64]=_0xb5cd64<<0x1^0x11b;for(var _0x6cc5d7=0x0,_0x218af0=0x0,_0xb5cd64=0x0;_0xb5cd64<0x100;_0xb5cd64++){var _0x4676d3=_0x218af0^_0x218af0<<0x1^_0x218af0<<0x2^_0x218af0<<0x3^_0x218af0<<0x4;_0x4676d3=_0x4676d3>>>0x8^_0x4676d3&0xff^0x63,_0x28bc66[_0x6cc5d7]=_0x4676d3,_0x2a38fe[_0x4676d3]=_0x6cc5d7;var _0x27e7b9=_0x176c32[_0x6cc5d7],_0x3c328f=_0x176c32[_0x27e7b9],_0x24a973=_0x176c32[_0x3c328f],_0x73f7c0=_0x176c32[_0x4676d3]*0x101^_0x4676d3*0x1010100;_0x5e0868[_0x6cc5d7]=_0x73f7c0<<0x18|_0x73f7c0>>>0x8,_0x43ee97[_0x6cc5d7]=_0x73f7c0<<0x10|_0x73f7c0>>>0x10,_0x470885[_0x6cc5d7]=_0x73f7c0<<0x8|_0x73f7c0>>>0x18,_0x5bb578[_0x6cc5d7]=_0x73f7c0;var _0x73f7c0=_0x24a973*0x1010101^_0x3c328f*0x10001^_0x27e7b9*0x101^_0x6cc5d7*0x1010100;_0x338313[_0x4676d3]=_0x73f7c0<<0x18|_0x73f7c0>>>0x8,_0x55b36a[_0x4676d3]=_0x73f7c0<<0x10|_0x73f7c0>>>0x10,_0x3b518f[_0x4676d3]=_0x73f7c0<<0x8|_0x73f7c0>>>0x18,_0x1ee1df[_0x4676d3]=_0x73f7c0,_0x6cc5d7?(_0x6cc5d7=_0x27e7b9^_0x176c32[_0x176c32[_0x176c32[_0x24a973^_0x27e7b9]]],_0x218af0^=_0x176c32[_0x176c32[_0x218af0]]):_0x6cc5d7=_0x218af0=0x1;}}());var _0x11c369=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1c9ef2=_0x358bf7['AES']=_0x2c5695['extend']({'_doReset':function(){const _0xaa2d55=_0x6a4b58;var _0x3415f0;if(!(this[_0xaa2d55(0x596)]&&this['_keyPriorReset']===this['_key'])){for(var _0x392ce9=this[_0xaa2d55(0x1b7)]=this[_0xaa2d55(0x1c0)],_0x286963=_0x392ce9['words'],_0x1227fc=_0x392ce9['sigBytes']/0x4,_0x472e37=this[_0xaa2d55(0x596)]=_0x1227fc+0x6,_0x459e7d=(_0x472e37+0x1)*0x4,_0x3d6847=this[_0xaa2d55(0x268)]=[],_0x5a2413=0x0;_0x5a2413<_0x459e7d;_0x5a2413++)_0x5a2413<_0x1227fc?_0x3d6847[_0x5a2413]=_0x286963[_0x5a2413]:(_0x3415f0=_0x3d6847[_0x5a2413-0x1],_0x5a2413%_0x1227fc?_0x1227fc>0x6&&_0x5a2413%_0x1227fc==0x4&&(_0x3415f0=_0x28bc66[_0x3415f0>>>0x18]<<0x18|_0x28bc66[_0x3415f0>>>0x10&0xff]<<0x10|_0x28bc66[_0x3415f0>>>0x8&0xff]<<0x8|_0x28bc66[_0x3415f0&0xff]):(_0x3415f0=_0x3415f0<<0x8|_0x3415f0>>>0x18,_0x3415f0=_0x28bc66[_0x3415f0>>>0x18]<<0x18|_0x28bc66[_0x3415f0>>>0x10&0xff]<<0x10|_0x28bc66[_0x3415f0>>>0x8&0xff]<<0x8|_0x28bc66[_0x3415f0&0xff],_0x3415f0^=_0x11c369[_0x5a2413/_0x1227fc|0x0]<<0x18),_0x3d6847[_0x5a2413]=_0x3d6847[_0x5a2413-_0x1227fc]^_0x3415f0);for(var _0xc21f6b=this[_0xaa2d55(0x300)]=[],_0x498234=0x0;_0x498234<_0x459e7d;_0x498234++){var _0x5a2413=_0x459e7d-_0x498234;if(_0x498234%0x4)var _0x3415f0=_0x3d6847[_0x5a2413];else var _0x3415f0=_0x3d6847[_0x5a2413-0x4];_0x498234<0x4||_0x5a2413<=0x4?_0xc21f6b[_0x498234]=_0x3415f0:_0xc21f6b[_0x498234]=_0x338313[_0x28bc66[_0x3415f0>>>0x18]]^_0x55b36a[_0x28bc66[_0x3415f0>>>0x10&0xff]]^_0x3b518f[_0x28bc66[_0x3415f0>>>0x8&0xff]]^_0x1ee1df[_0x28bc66[_0x3415f0&0xff]];}}},'encryptBlock':function(_0x15c9f3,_0x26bd19){const _0xed6f5b=_0x6a4b58;this[_0xed6f5b(0x22a)](_0x15c9f3,_0x26bd19,this[_0xed6f5b(0x268)],_0x5e0868,_0x43ee97,_0x470885,_0x5bb578,_0x28bc66);},'decryptBlock':function(_0xf8d3cd,_0x11cba4){const _0x5b7556=_0x6a4b58;var _0x9c1a63=_0xf8d3cd[_0x11cba4+0x1];_0xf8d3cd[_0x11cba4+0x1]=_0xf8d3cd[_0x11cba4+0x3],_0xf8d3cd[_0x11cba4+0x3]=_0x9c1a63,this[_0x5b7556(0x22a)](_0xf8d3cd,_0x11cba4,this[_0x5b7556(0x300)],_0x338313,_0x55b36a,_0x3b518f,_0x1ee1df,_0x2a38fe);var _0x9c1a63=_0xf8d3cd[_0x11cba4+0x1];_0xf8d3cd[_0x11cba4+0x1]=_0xf8d3cd[_0x11cba4+0x3],_0xf8d3cd[_0x11cba4+0x3]=_0x9c1a63;},'_doCryptBlock':function(_0x5ebe96,_0x16b425,_0x27b909,_0x1fc9f3,_0x1c9c02,_0xf1f892,_0x9c7a25,_0x401d2f){const _0x3d6196=_0x6a4b58;for(var _0x5f4c25=this[_0x3d6196(0x596)],_0x3d5288=_0x5ebe96[_0x16b425]^_0x27b909[0x0],_0x394cfb=_0x5ebe96[_0x16b425+0x1]^_0x27b909[0x1],_0x1b690e=_0x5ebe96[_0x16b425+0x2]^_0x27b909[0x2],_0x276da1=_0x5ebe96[_0x16b425+0x3]^_0x27b909[0x3],_0x235997=0x4,_0x52046f=0x1;_0x52046f<_0x5f4c25;_0x52046f++){var _0x5492e2=_0x1fc9f3[_0x3d5288>>>0x18]^_0x1c9c02[_0x394cfb>>>0x10&0xff]^_0xf1f892[_0x1b690e>>>0x8&0xff]^_0x9c7a25[_0x276da1&0xff]^_0x27b909[_0x235997++],_0x48f18d=_0x1fc9f3[_0x394cfb>>>0x18]^_0x1c9c02[_0x1b690e>>>0x10&0xff]^_0xf1f892[_0x276da1>>>0x8&0xff]^_0x9c7a25[_0x3d5288&0xff]^_0x27b909[_0x235997++],_0xfccd49=_0x1fc9f3[_0x1b690e>>>0x18]^_0x1c9c02[_0x276da1>>>0x10&0xff]^_0xf1f892[_0x3d5288>>>0x8&0xff]^_0x9c7a25[_0x394cfb&0xff]^_0x27b909[_0x235997++],_0x352565=_0x1fc9f3[_0x276da1>>>0x18]^_0x1c9c02[_0x3d5288>>>0x10&0xff]^_0xf1f892[_0x394cfb>>>0x8&0xff]^_0x9c7a25[_0x1b690e&0xff]^_0x27b909[_0x235997++];_0x3d5288=_0x5492e2,_0x394cfb=_0x48f18d,_0x1b690e=_0xfccd49,_0x276da1=_0x352565;}var _0x5492e2=(_0x401d2f[_0x3d5288>>>0x18]<<0x18|_0x401d2f[_0x394cfb>>>0x10&0xff]<<0x10|_0x401d2f[_0x1b690e>>>0x8&0xff]<<0x8|_0x401d2f[_0x276da1&0xff])^_0x27b909[_0x235997++],_0x48f18d=(_0x401d2f[_0x394cfb>>>0x18]<<0x18|_0x401d2f[_0x1b690e>>>0x10&0xff]<<0x10|_0x401d2f[_0x276da1>>>0x8&0xff]<<0x8|_0x401d2f[_0x3d5288&0xff])^_0x27b909[_0x235997++],_0xfccd49=(_0x401d2f[_0x1b690e>>>0x18]<<0x18|_0x401d2f[_0x276da1>>>0x10&0xff]<<0x10|_0x401d2f[_0x3d5288>>>0x8&0xff]<<0x8|_0x401d2f[_0x394cfb&0xff])^_0x27b909[_0x235997++],_0x352565=(_0x401d2f[_0x276da1>>>0x18]<<0x18|_0x401d2f[_0x3d5288>>>0x10&0xff]<<0x10|_0x401d2f[_0x394cfb>>>0x8&0xff]<<0x8|_0x401d2f[_0x1b690e&0xff])^_0x27b909[_0x235997++];_0x5ebe96[_0x16b425]=_0x5492e2,_0x5ebe96[_0x16b425+0x1]=_0x48f18d,_0x5ebe96[_0x16b425+0x2]=_0xfccd49,_0x5ebe96[_0x16b425+0x3]=_0x352565;},'keySize':0x100/0x20});_0x25a314[_0x6a4b58(0x4af)]=_0x2c5695[_0x6a4b58(0x2c6)](_0x1c9ef2);}()),_0x1bdbf9[_0x322501(0x4af)];}));}(ut)),ut['exports'];}var dc=uc();const fc=at(dc);var vc=ir();const pi=at(vc);var It={'exports':{}},pc=It['exports'],mi;function mc(){const _0x2efc9f=_0x59f468;return mi||(mi=0x1,function(_0x1f2836,_0x36b995){(function(_0x3523e0,_0x239004){const _0x538512=_0x2eda;_0x1f2836[_0x538512(0x3b4)]=_0x239004(_e());}(pc,function(_0x3f1b78){const _0x413cd3=_0x2eda;return _0x3f1b78[_0x413cd3(0x48f)][_0x413cd3(0x42d)];}));}(It)),It[_0x2efc9f(0x3b4)];}var gc=mc();const Sc=at(gc);var Ct={'exports':{}},Ic=Ct[_0x59f468(0x3b4)],gi;function Cc(){const _0x2b3570=_0x59f468;return gi||(gi=0x1,function(_0x58d755,_0x556429){(function(_0x5a36e3,_0x129051){_0x58d755['exports']=_0x129051(_e());}(Ic,function(_0x2cb480){const _0x19760c=_0x2eda;return(function(){const _0x2149bb=_0x2eda;if(typeof ArrayBuffer==_0x2149bb(0x51c)){var _0x4238f4=_0x2cb480,_0x3345c4=_0x4238f4[_0x2149bb(0x4bd)],_0x57166b=_0x3345c4[_0x2149bb(0x20f)],_0x3fce16=_0x57166b['init'],_0x2e68f7=_0x57166b[_0x2149bb(0x43e)]=function(_0x94c1be){const _0xe975cf=_0x2149bb;if(_0x94c1be instanceof ArrayBuffer&&(_0x94c1be=new Uint8Array(_0x94c1be)),(_0x94c1be instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x94c1be instanceof Uint8ClampedArray||_0x94c1be instanceof Int16Array||_0x94c1be instanceof Uint16Array||_0x94c1be instanceof Int32Array||_0x94c1be instanceof Uint32Array||_0x94c1be instanceof Float32Array||_0x94c1be instanceof Float64Array)&&(_0x94c1be=new Uint8Array(_0x94c1be['buffer'],_0x94c1be[_0xe975cf(0x371)],_0x94c1be[_0xe975cf(0x566)])),_0x94c1be instanceof Uint8Array){for(var _0x1a981f=_0x94c1be[_0xe975cf(0x566)],_0x3d05aa=[],_0x383456=0x0;_0x383456<_0x1a981f;_0x383456++)_0x3d05aa[_0x383456>>>0x2]|=_0x94c1be[_0x383456]<<0x18-_0x383456%0x4*0x8;_0x3fce16[_0xe975cf(0x3e3)](this,_0x3d05aa,_0x1a981f);}else _0x3fce16['apply'](this,arguments);};_0x2e68f7[_0x2149bb(0x1d3)]=_0x57166b;}}()),_0x2cb480[_0x19760c(0x4bd)]['WordArray'];}));}(Ct)),Ct[_0x2b3570(0x3b4)];}var Ec=Cc();const bc=at(Ec);var Et={'exports':{}},Tc=Et[_0x59f468(0x3b4)],Si;function Rc(){return Si||(Si=0x1,function(_0x5a747f,_0x2b9c1f){(function(_0x13ee73,_0x10df32,_0x5cd6d1){_0x5a747f['exports']=_0x10df32(_e(),nr());}(Tc,function(_0x555881){const _0x4743fb=_0x2eda;return _0x555881['pad'][_0x4743fb(0x515)]={'pad':function(){},'unpad':function(){}},_0x555881[_0x4743fb(0x429)][_0x4743fb(0x515)];}));}(Et)),Et['exports'];}var Oc=Rc();const yc=at(Oc);function wc(_0x1ba7ed,_0x38ebfd){const _0xa12dee=_0x59f468,_0x866da9=_0x38ebfd-_0x1ba7ed[_0xa12dee(0x21a)]%_0x38ebfd,_0x534fb6=String[_0xa12dee(0x52b)](_0x866da9)[_0xa12dee(0x247)](_0x866da9);return _0x1ba7ed+_0x534fb6;}function Dc(_0x1eb741,_0x4cc683){const _0x403a0c=_0x59f468,_0x23acf4=bc[_0x403a0c(0x585)](0x10),_0x54db07=wc(_0x1eb741,0x10),_0x3bda6c=fc[_0x403a0c(0x203)](Sc[_0x403a0c(0x2e1)](_0x54db07),pi[_0x403a0c(0x2e1)](_0x4cc683),{'iv':_0x23acf4,'padding':yc});return _0x23acf4['concat'](_0x3bda6c['ciphertext'])[_0x403a0c(0x4a1)](pi);}function Pc(){const _0x156668=_0x59f468,_0x946a89=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x156668(0x2e0)];if(_0x946a89){const _0x2d35c9={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return Dc(JSON[_0x156668(0x3fc)](_0x2d35c9),_0x946a89);}}var Uc=Object[_0x59f468(0x29a)],Nc=Object['getOwnPropertyDescriptor'],Ac=(_0x48b6a1,_0x25cca7,_0x2ddf79,_0x2f6f66)=>{const _0x4efcb3=_0x59f468;for(var _0x141ae1=_0x2f6f66>0x1?void 0x0:_0x2f6f66?Nc(_0x25cca7,_0x2ddf79):_0x25cca7,_0x28f066=_0x48b6a1[_0x4efcb3(0x21a)]-0x1,_0x2f2963;_0x28f066>=0x0;_0x28f066--)(_0x2f2963=_0x48b6a1[_0x28f066])&&(_0x141ae1=(_0x2f6f66?_0x2f2963(_0x25cca7,_0x2ddf79,_0x141ae1):_0x2f2963(_0x141ae1))||_0x141ae1);return _0x2f6f66&&_0x141ae1&&Uc(_0x25cca7,_0x2ddf79,_0x141ae1),_0x141ae1;},Mc=(_0x32254e,_0x5465df)=>(_0x2f14db,_0x2016f2)=>_0x5465df(_0x2f14db,_0x2016f2,_0x32254e);let Lt=class{constructor(_0x5b06db){const _0x595932=_0x59f468;this[_0x595932(0x2e7)]=_0x5b06db,this[_0x595932(0x2bd)]();}['_initRequestHeader'](){const _0x535a66=_0x59f468;this['_httpService'][_0x535a66(0x442)]({'interceptor':(_0x3b66f9,_0xb6fb72)=>{const _0x2debed=_0x535a66,_0x26de44=_0x3b66f9['headers'],_0x4537e1=Pc();return _0x4537e1&&_0x26de44[_0x2debed(0x279)]('x-univer-host',_0x4537e1),_0xb6fb72(_0x3b66f9);}});}};Lt=Ac([Mc(0x0,_0x222038(_0x216536))],Lt);var xc=Object[_0x59f468(0x29a)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x4db7ab,_0x1a549a,_0x1026b3,_0x50ef03)=>{for(var _0x2d4fcd=_0x50ef03>0x1?void 0x0:_0x50ef03?Lc(_0x1a549a,_0x1026b3):_0x1a549a,_0x20088c=_0x4db7ab['length']-0x1,_0x6c8287;_0x20088c>=0x0;_0x20088c--)(_0x6c8287=_0x4db7ab[_0x20088c])&&(_0x2d4fcd=(_0x50ef03?_0x6c8287(_0x1a549a,_0x1026b3,_0x2d4fcd):_0x6c8287(_0x2d4fcd))||_0x2d4fcd);return _0x50ef03&&_0x2d4fcd&&xc(_0x1a549a,_0x1026b3,_0x2d4fcd),_0x2d4fcd;},is=(_0x23eb83,_0x5102db)=>(_0x3a2a9b,_0x1e19de)=>_0x5102db(_0x3a2a9b,_0x1e19de,_0x23eb83);const Hc=[_0x59f468(0x267),'image/jpeg',_0x59f468(0x524),_0x59f468(0x30a),'image/bmp'],jc=0x5*0x400*0x400,Bc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',kc=_0x59f468(0x3df),Wc=_0x59f468(0x57f),Fc=_0x59f468(0x2fd);let ps=class{constructor(_0xa8205b,_0xb33a94,_0x29d6d1){const _0x4f93d1=_0x59f468;g(this,'_waitCount',0x0),g(this,_0x4f93d1(0x244),new _0xd6475b()),g(this,_0x4f93d1(0x22d),this['_change$']),g(this,'_imageSourceCache',new Map()),(this['_httpService']=_0xa8205b,this[_0x4f93d1(0x58b)]=_0xb33a94,this[_0x4f93d1(0x525)]=_0x29d6d1);}[_0x59f468(0x1cd)](_0x1ce532){const _0x12d038=_0x59f468;this[_0x12d038(0x1e2)]=_0x1ce532,this['_change$'][_0x12d038(0x307)](_0x1ce532);}[_0x59f468(0x36e)](_0x559cc2,_0x4e252b){const _0x3a77ec=_0x59f468;if(_0x4e252b===_0x35508e[_0x3a77ec(0x562)]){const _0x4f6252=new Image();return _0x4f6252[_0x3a77ec(0x35a)]=_0x559cc2,_0x4f6252;}return this[_0x3a77ec(0x4bf)][_0x3a77ec(0x25d)](_0x559cc2);}[_0x59f468(0x237)](_0x3cf42f,_0xc2ad33,_0x5d0b56){const _0x513f90=_0x59f468;_0xc2ad33===_0x35508e[_0x513f90(0x562)]||_0x5d0b56==null||this[_0x513f90(0x4bf)][_0x513f90(0x279)](_0x3cf42f,_0x5d0b56);}async['getImage'](_0x11e21d){const _0x3be694=_0x59f468;try{const _0x5cf60d=this[_0x3be694(0x38a)](this[_0x3be694(0x359)](),''+_0x11e21d),_0x4b0f3a=(await this[_0x3be694(0x2e7)][_0x3be694(0x25d)](_0x5cf60d))['body'];if(_0x4b0f3a[_0x3be694(0x1ec)]&&_0x4b0f3a[_0x3be694(0x1ec)][_0x3be694(0x2b1)]===Wi['OK']){const _0x485d94=new URL(_0x4b0f3a[_0x3be694(0x2cb)],this[_0x3be694(0x2a4)]())[_0x3be694(0x4a1)]();return Promise[_0x3be694(0x3d5)](_0x485d94);}return Promise['reject'](_0x4b0f3a[_0x3be694(0x1ec)]);}catch(_0x366eb8){return Promise[_0x3be694(0x4f5)](_0x366eb8);}}async[_0x59f468(0x2b3)](_0xf4eb33){const _0x5eb59e=_0x59f468;let _0x59abb9='';if(!Hc[_0x5eb59e(0x2f8)](_0xf4eb33[_0x5eb59e(0x2b2)]))return this[_0x5eb59e(0x2d5)](),Promise[_0x5eb59e(0x4f5)](new Error(_0x38d426[_0x5eb59e(0x26e)]));if(_0xf4eb33[_0x5eb59e(0x49b)]>jc)return this[_0x5eb59e(0x2d5)](),Promise[_0x5eb59e(0x4f5)](new Error(_0x38d426[_0x5eb59e(0x295)]));try{const _0x40d9a4=new FormData();_0x40d9a4[_0x5eb59e(0x3d9)](_0x5eb59e(0x3bd),_0xf4eb33);const _0x42e917=this[_0x5eb59e(0x525)][_0x5eb59e(0x370)](),_0x5944cd=_0x42e917==null?void 0x0:_0x42e917[_0x5eb59e(0x25c)]();if(!_0x5944cd)throw new Error(_0x5eb59e(0x538));const _0x391f6d=this[_0x5eb59e(0x1e4)]()+'?size='+_0xf4eb33['size'][_0x5eb59e(0x4a1)]()+_0x5eb59e(0x1d2)+Fi[_0x5eb59e(0x508)]+'&assign='+encodeURIComponent(_0x5944cd),_0x2cf97e=await(await fetch(_0x391f6d,{'method':'POST','body':_0x40d9a4}))[_0x5eb59e(0x294)]();if(typeof _0x2cf97e[_0x5eb59e(0x52c)]!=_0x5eb59e(0x2fb))return this[_0x5eb59e(0x2d5)](),Promise['reject'](new Error(_0x38d426[_0x5eb59e(0x1ed)]));_0x59abb9=_0x2cf97e[_0x5eb59e(0x52c)];}catch{return this[_0x5eb59e(0x2d5)](),Promise['reject'](new Error(_0x38d426[_0x5eb59e(0x1ed)]));}return new Promise((_0x31f3d2,_0x1d7023)=>{const _0x36f472=_0x5eb59e,_0x15d011=new FileReader();_0x15d011[_0x36f472(0x234)](_0xf4eb33),_0x15d011[_0x36f472(0x1e5)]=_0x411887=>{const _0x52e713=_0x36f472;var _0x2df928;const _0xedffc6=(_0x2df928=_0x411887[_0x52e713(0x305)])==null?void 0x0:_0x2df928['result'];if(_0xedffc6==null){this[_0x52e713(0x2d5)](),_0x1d7023(new Error(_0x38d426[_0x52e713(0x1ed)]));return;}const _0x350052=_0x218f61[_0x52e713(0x278)](0x6);_0x31f3d2({'imageId':_0x350052,'imageSourceType':_0x35508e[_0x52e713(0x306)],'source':_0x59abb9,'base64Cache':_0xedffc6,'status':_0x38d426[_0x52e713(0x2fa)]}),this[_0x52e713(0x2d5)]();};});}[_0x59f468(0x1e4)](){const _0x4e32f5=_0x59f468;var _0xd1b3c,_0x21dad1;const _0x5ec708=this[_0x4e32f5(0x58b)][_0x4e32f5(0x55d)](Bc),_0x221f00=this[_0x4e32f5(0x58b)][_0x4e32f5(0x55d)](Q);return(_0x21dad1=(_0xd1b3c=_0x221f00==null?void 0x0:_0x221f00[_0x4e32f5(0x23d)])!=null?_0xd1b3c:_0x5ec708)!=null?_0x21dad1:kc;}[_0x59f468(0x359)](){const _0x14795e=_0x59f468;var _0x155a59,_0x5400ac;const _0x1e306b=this[_0x14795e(0x58b)]['getConfig'](Wc),_0xa14724=this[_0x14795e(0x58b)][_0x14795e(0x55d)](Q);return(_0x5400ac=(_0x155a59=_0xa14724==null?void 0x0:_0xa14724[_0x14795e(0x231)])!=null?_0x155a59:_0x1e306b)!=null?_0x5400ac:Fc;}[_0x59f468(0x2a4)](){const _0x5a017b=_0x59f468;var _0x5b3032;const _0x301bc3=this[_0x5a017b(0x58b)]['getConfig'](Q);return(_0x5b3032=_0x301bc3==null?void 0x0:_0x301bc3['downloadEndpointUrl'])!=null?_0x5b3032:location[_0x5a017b(0x4d7)];}[_0x59f468(0x38a)](_0xe73684,_0x663c4a){const _0xae4380=_0x59f468;return _0xe73684['replace'](_0xae4380(0x3be),_0x663c4a);}[_0x59f468(0x2d5)](){const _0x386cc1=_0x59f468;this[_0x386cc1(0x1e2)]-=0x1,this[_0x386cc1(0x244)][_0x386cc1(0x307)](this[_0x386cc1(0x1e2)]);}};ps=$c([is(0x0,_0x222038(_0x216536)),is(0x1,_0x486aed),is(0x2,_0x222038(_0xd7de45))],ps);var Vc=Object[_0x59f468(0x29a)],Gc=Object[_0x59f468(0x368)],Yc=(_0x331e14,_0x101247,_0x5168f8,_0x35dfb0)=>{const _0xbb74e8=_0x59f468;for(var _0x47ea86=_0x35dfb0>0x1?void 0x0:_0x35dfb0?Gc(_0x101247,_0x5168f8):_0x101247,_0x53565d=_0x331e14[_0xbb74e8(0x21a)]-0x1,_0x1a8038;_0x53565d>=0x0;_0x53565d--)(_0x1a8038=_0x331e14[_0x53565d])&&(_0x47ea86=(_0x35dfb0?_0x1a8038(_0x101247,_0x5168f8,_0x47ea86):_0x1a8038(_0x47ea86))||_0x47ea86);return _0x35dfb0&&_0x47ea86&&Vc(_0x101247,_0x5168f8,_0x47ea86),_0x47ea86;},Ii=(_0x7d7cbd,_0x3f730f)=>(_0x2b6a8f,_0x1f48e4)=>_0x3f730f(_0x2b6a8f,_0x1f48e4,_0x7d7cbd);const Kc=_0x59f468(0x40d);let ms=class{constructor(_0x359505,_0x5f5326){const _0x3bc821=_0x59f468;this['_configService']=_0x359505,this[_0x3bc821(0x3f8)]=_0x5f5326;}[_0x59f468(0x2e4)](){const _0x468607=_0x59f468;var _0x328f2c,_0xa8d0d0;const _0x19b732=this['_configService'][_0x468607(0x55d)](sr),_0x347645=this[_0x468607(0x58b)][_0x468607(0x55d)](Q);return(_0xa8d0d0=(_0x328f2c=_0x347645==null?void 0x0:_0x347645[_0x468607(0x204)])!=null?_0x328f2c:_0x19b732)!=null?_0xa8d0d0:Kc;}async[_0x59f468(0x4c5)](_0x1b7c6b){const _0x14f8f3=_0x59f468,_0x14553a=this[_0x14f8f3(0x2e4)]()+_0x14f8f3(0x46e);return{'list':[{'title':_0x14f8f3(0x3db),'mentions':(await this['_HTTPService'][_0x14f8f3(0x25d)](_0x14553a,{'params':{'objectID':_0x1b7c6b[_0x14f8f3(0x51a)],'unitID':_0x1b7c6b[_0x14f8f3(0x51a)]}}))['body'][_0x14f8f3(0x254)][_0x14f8f3(0x36d)](_0xb25302=>({'objectId':_0xb25302['id'],'name':_0xb25302[_0x14f8f3(0x317)]['name'],'metadata':{'icon':_0xb25302[_0x14f8f3(0x317)]['avatar']},'label':_0xb25302[_0x14f8f3(0x317)][_0x14f8f3(0x48c)],'objectType':_0xf50cab[_0x14f8f3(0x1d7)]})),'metadata':{},'type':_0xf50cab['PERSON']}]};}};ms=Yc([Ii(0x0,_0x222038(_0x486aed)),Ii(0x1,_0x222038(_0x216536))],ms);var qc=Object[_0x59f468(0x29a)],zc=Object[_0x59f468(0x368)],Xc=(_0x49d232,_0x120339,_0x5cf560,_0x3a0bfa)=>{const _0x120e71=_0x59f468;for(var _0x3a1ab2=_0x3a0bfa>0x1?void 0x0:_0x3a0bfa?zc(_0x120339,_0x5cf560):_0x120339,_0x4ef3f0=_0x49d232[_0x120e71(0x21a)]-0x1,_0x49c09d;_0x4ef3f0>=0x0;_0x4ef3f0--)(_0x49c09d=_0x49d232[_0x4ef3f0])&&(_0x3a1ab2=(_0x3a0bfa?_0x49c09d(_0x120339,_0x5cf560,_0x3a1ab2):_0x49c09d(_0x3a1ab2))||_0x3a1ab2);return _0x3a0bfa&&_0x3a1ab2&&qc(_0x120339,_0x5cf560,_0x3a1ab2),_0x3a1ab2;},Qe=(_0x1dc94a,_0x186d26)=>(_0x2df58c,_0x450808)=>_0x186d26(_0x2df58c,_0x450808,_0x1dc94a);let $t=class extends _0x2c59cd{constructor(_0x554c80,_0x4b9f4f,_0x256451,_0x45babc,_0x567b43){const _0x792d76=_0x59f468;super(),this[_0x792d76(0x351)]=_0x554c80,this[_0x792d76(0x525)]=_0x4b9f4f,this[_0x792d76(0x335)]=_0x256451,this[_0x792d76(0x463)]=_0x45babc,this[_0x792d76(0x58c)]=_0x567b43,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x59f468(0x29c)](){const _0x459797=_0x59f468,_0xc1e2d7=async _0x1614e5=>{const _0x2cbffb=_0x2eda;(await this[_0x2cbffb(0x463)][_0x2cbffb(0x55c)](_0x1614e5))['event$'][_0x2cbffb(0x318)](_0x3c73ca(_0x29a1c5=>_0x29a1c5['eventID']===_0x8a32d4[_0x2cbffb(0x518)]),_0x1eb937(this[_0x2cbffb(0x2c5)]))[_0x2cbffb(0x347)](_0x3b355c=>{const _0x2be811=_0x2cbffb,_0x28079b=_0x3b355c,{reason:_0x369745}=_0x28079b[_0x2be811(0x233)];this[_0x2be811(0x351)][_0x2be811(0x25d)](_0x3bbf26)[_0x2be811(0x31c)]({'type':_0x47f0e7[_0x2be811(0x2a8)],'content':this[_0x2be811(0x58c)]['t'](_0x2be811(0x45d))+'('+_0x369745+')'}),this[_0x2be811(0x335)]['updatePermissionPoint'](new _0x4ef6a0(_0x1614e5)['id'],!0x1),this['_collaborationSessionService'][_0x2be811(0x514)](_0x1614e5);});};_0x5becde(this[_0x459797(0x525)][_0x459797(0x242)](_0x52550e[_0x459797(0x2b0)]),this[_0x459797(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x459797(0x4f9)]))['pipe'](_0x3968e0(_0x5e94cc=>_0x5e94cc[_0x459797(0x25c)]()),_0x3c73ca(_0x2bde4=>!_0x1db883(_0x2bde4)),_0x1eb937(this[_0x459797(0x2c5)]))[_0x459797(0x347)](_0x3789af=>{_0xc1e2d7(_0x3789af);});}[_0x59f468(0x3a6)](){const _0x498972=_0x59f468,_0xa2a0c1=async _0x1b7a4d=>{const _0x4e939c=_0x2eda;(await this[_0x4e939c(0x463)][_0x4e939c(0x55c)](_0x1b7a4d))[_0x4e939c(0x529)][_0x4e939c(0x318)](_0x3c73ca(_0x4a0d00=>_0x4a0d00[_0x4e939c(0x1b1)]===_0x8a32d4[_0x4e939c(0x2e3)]),_0x1eb937(this['dispose$']))['subscribe'](_0x50fb15=>{const _0xba26e0=_0x4e939c,_0x19123f=_0x50fb15,{objectId:_0x9b693d}=_0x19123f[_0xba26e0(0x233)],_0x3e84bb=this['_injector']['get'](_0x548674);_0x9b693d===_0x1b7a4d?_0x3e84bb[_0xba26e0(0x362)](_0x1b7a4d):_0x3e84bb[_0xba26e0(0x33b)](_0x1b7a4d,_0x9b693d);});};_0x5becde(this[_0x498972(0x525)][_0x498972(0x242)](_0x52550e[_0x498972(0x2b0)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x52550e[_0x498972(0x4f9)]))[_0x498972(0x318)](_0x3968e0(_0x1c9f5f=>_0x1c9f5f[_0x498972(0x25c)]()),_0x3c73ca(_0x3baa18=>!_0x1db883(_0x3baa18)),_0x1eb937(this[_0x498972(0x2c5)]))[_0x498972(0x347)](_0x38fc3b=>{_0xa2a0c1(_0x38fc3b);});}};$t=Xc([Qe(0x0,_0x222038(_0x2e1c56)),Qe(0x1,_0xd7de45),Qe(0x2,_0x593390),Qe(0x3,_0x222038(Me)),Qe(0x4,_0x222038(_0x52880d))],$t);var Jc=Object['defineProperty'],Zc=Object[_0x59f468(0x368)],Qc=(_0x24616d,_0x5b4607,_0x614ba0,_0x1686e1)=>{for(var _0x53f12c=_0x1686e1>0x1?void 0x0:_0x1686e1?Zc(_0x5b4607,_0x614ba0):_0x5b4607,_0x4a3d10=_0x24616d['length']-0x1,_0x30f6bb;_0x4a3d10>=0x0;_0x4a3d10--)(_0x30f6bb=_0x24616d[_0x4a3d10])&&(_0x53f12c=(_0x1686e1?_0x30f6bb(_0x5b4607,_0x614ba0,_0x53f12c):_0x30f6bb(_0x53f12c))||_0x53f12c);return _0x1686e1&&_0x53f12c&&Jc(_0x5b4607,_0x614ba0,_0x53f12c),_0x53f12c;},Ci=(_0x38c0ae,_0xe07ae1)=>(_0x598a47,_0x81cdde)=>_0xe07ae1(_0x598a47,_0x81cdde,_0x38c0ae);let gs=class{constructor(_0x2dba44,_0x2d0b18){const _0x5adc1c=_0x59f468;this[_0x5adc1c(0x58b)]=_0x2dba44,this[_0x5adc1c(0x2e7)]=_0x2d0b18;}async['getUnitOnRev'](_0x4db05a,_0x24e12b){const _0x16bdbe=_0x59f468;var _0x44ad27;const {unitID:_0x40a9aa,type:_0x100072,revision:_0xad6f30=0x0}=_0x24e12b,_0x5600ea=this['_getSnapshotAPIPrefix']()+'/'+_0x100072+_0x16bdbe(0x20c)+_0x40a9aa+'/rev/'+_0xad6f30,_0x525596=(await this[_0x16bdbe(0x2e7)][_0x16bdbe(0x25d)](_0x5600ea))[_0x16bdbe(0x444)],_0x520bbc=(_0x44ad27=_0x525596['snapshot'])==null?void 0x0:_0x44ad27[_0x16bdbe(0x53d)];if(_0x520bbc){const _0x225d31=_0x520bbc==null?void 0x0:_0x520bbc['originalMeta'],_0x36ab34=_0x4e5a09[_0x16bdbe(0x519)](_0x1a2e07(_0x225d31));_0x520bbc['originalMeta']=_0x36ab34,Object[_0x16bdbe(0x2f2)](_0x520bbc[_0x16bdbe(0x324)])[_0x16bdbe(0x3b0)](([,_0x20e92f])=>{const _0x3a2968=_0x16bdbe,_0x356656=_0x20e92f[_0x3a2968(0x493)],_0x430e01=_0x4e5a09[_0x3a2968(0x519)](_0x1a2e07(_0x356656));_0x20e92f[_0x3a2968(0x493)]=_0x430e01;});}return _0x525596;}async[_0x59f468(0x3bc)](_0x138849,_0x10545f){const _0x1c4a93=_0x59f468,{unitID:_0xaf9bb6,type:_0x46064b,blockID:_0x7e2aba}=_0x10545f,_0x258127=this[_0x1c4a93(0x57a)]()+'/'+_0x46064b+_0x1c4a93(0x20c)+_0xaf9bb6+_0x1c4a93(0x223)+_0x7e2aba;return(await this[_0x1c4a93(0x2e7)]['get'](_0x258127))[_0x1c4a93(0x444)];}async[_0x59f468(0x2c4)](_0x32eef2,_0x9651d0){const _0x39690f=_0x59f468,{unitID:_0x352302,type:_0x4d3a17,blockID:_0x3dc965}=_0x9651d0,_0x2f2cb4=this[_0x39690f(0x57a)]()+_0x39690f(0x223)+_0x4d3a17+_0x39690f(0x20c)+_0x352302+'/block/'+_0x3dc965;return(await this[_0x39690f(0x2e7)][_0x39690f(0x25d)](_0x2f2cb4))[_0x39690f(0x444)];}async[_0x59f468(0x1b0)](_0x9c89e6,_0x4c797d){const _0x2b0c33=_0x59f468,{unitID:_0x478f1d,type:_0x2c88a4,from:_0x5ede18,to:_0x59efb3}=_0x4c797d,_0x41f98e=this[_0x2b0c33(0x57a)]()+'/'+_0x2c88a4+'/unit/'+_0x478f1d+'/fetchmissing?from='+_0x5ede18+'&to='+_0x59efb3;return(await this[_0x2b0c33(0x2e7)]['get'](_0x41f98e))[_0x2b0c33(0x444)];}['_getSnapshotAPIPrefix'](){const _0x52a60a=_0x59f468;var _0x575e00;return(_0x575e00=this[_0x52a60a(0x58b)][_0x52a60a(0x55d)](bn))!=null?_0x575e00:this[_0x52a60a(0x57a)]();}[_0x59f468(0x57a)](){const _0x1ffe39=_0x59f468;var _0x31ae2d,_0x10f25a;const _0x14d1de=this['_configService'][_0x1ffe39(0x55d)](Cn),_0xad7c63=this[_0x1ffe39(0x58b)]['getConfig'](Q);return(_0x10f25a=(_0x31ae2d=_0xad7c63==null?void 0x0:_0xad7c63['snapshotServerUrl'])!=null?_0x31ae2d:_0x14d1de)!=null?_0x10f25a:En;}async[_0x59f468(0x471)](_0x20a655,_0x16d6b5){const _0x2b625e=_0x59f468,_0x12e49f=_0x2b625e(0x3b8)+_0x16d6b5['type']+_0x2b625e(0x20c)+_0x16d6b5[_0x2b625e(0x405)]+_0x2b625e(0x1b3);return(await this[_0x2b625e(0x2e7)][_0x2b625e(0x25d)](_0x12e49f,{'params':{'resourceId':JSON[_0x2b625e(0x3fc)](_0x16d6b5[_0x2b625e(0x39b)])}}))['body'];}[_0x59f468(0x260)](){const _0x3e1cca=_0x59f468;throw new Error(_0x3e1cca(0x2de));}[_0x59f468(0x399)](){const _0x495ca2=_0x59f468;throw new Error(_0x495ca2(0x2de));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){const _0x4bdaca=_0x59f468;throw new Error(_0x4bdaca(0x2de));}[_0x59f468(0x547)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};gs=Qc([Ci(0x0,_0x486aed),Ci(0x1,_0x222038(_0x216536))],gs);var eh=Object[_0x59f468(0x29a)],th=Object[_0x59f468(0x368)],sh=(_0x58c1a0,_0x35884d,_0x4f1602,_0x4da412)=>{const _0x457fcb=_0x59f468;for(var _0x359ddc=_0x4da412>0x1?void 0x0:_0x4da412?th(_0x35884d,_0x4f1602):_0x35884d,_0x423e33=_0x58c1a0[_0x457fcb(0x21a)]-0x1,_0x3b9ec6;_0x423e33>=0x0;_0x423e33--)(_0x3b9ec6=_0x58c1a0[_0x423e33])&&(_0x359ddc=(_0x4da412?_0x3b9ec6(_0x35884d,_0x4f1602,_0x359ddc):_0x3b9ec6(_0x359ddc))||_0x359ddc);return _0x4da412&&_0x359ddc&&eh(_0x35884d,_0x4f1602,_0x359ddc),_0x359ddc;},et=(_0x369449,_0x4852d7)=>(_0x3613f7,_0x358fd3)=>_0x4852d7(_0x3613f7,_0x358fd3,_0x369449);function _0x2eda(_0x4668f8,_0x15c4e7){const _0x23ae78=_0x23ae();return _0x2eda=function(_0x2edabb,_0x2436d8){_0x2edabb=_0x2edabb-0x197;let _0x5066d1=_0x23ae78[_0x2edabb];return _0x5066d1;},_0x2eda(_0x4668f8,_0x15c4e7);}let Ss=class extends _0x2432d3{constructor(_0x2b7d4d,_0x1707e7,_0x2ca9ef,_0x35c92d,_0xa1b1b0){const _0x586ab0=_0x59f468;super(_0x2b7d4d,_0x1707e7,_0x2ca9ef),this[_0x586ab0(0x24f)]=_0x35c92d,this[_0x586ab0(0x3b6)]=_0xa1b1b0;}['transformUndoRedo'](_0x1b58c4,_0x5d5311){const _0x3ef622=_0x59f468,_0x186f98=this[_0x3ef622(0x36c)](_0x1b58c4);if(_0x186f98)try{const _0x409539=this[_0x3ef622(0x3e6)](_0x186f98,_0x5d5311);this[_0x3ef622(0x41a)](_0x1b58c4,_0x409539);}catch(_0x2864e4){this[_0x3ef622(0x3b6)]['error']('[CollaborationUndoRedoService]',_0x2864e4),this[_0x3ef622(0x34e)](_0x1b58c4);}const _0x305712=this[_0x3ef622(0x3e1)](_0x1b58c4);if(_0x305712)try{const _0x42fbe1=this[_0x3ef622(0x3e6)](_0x305712,_0x5d5311);this[_0x3ef622(0x517)](_0x1b58c4,_0x42fbe1);}catch(_0x4231cb){this[_0x3ef622(0x3b6)]['error'](_0x4231cb),this[_0x3ef622(0x3cd)](_0x1b58c4);}}[_0x59f468(0x34e)](_0x273938){const _0x329f9a=_0x59f468,_0x272ea0=this[_0x329f9a(0x36c)](_0x273938);_0x272ea0&&(_0x272ea0['length']=0x0,this[_0x329f9a(0x3ad)]());}[_0x59f468(0x3cd)](_0x40e60c){const _0x40a10f=_0x59f468,_0x372de9=this[_0x40a10f(0x3e1)](_0x40e60c);_0x372de9&&(_0x372de9[_0x40a10f(0x21a)]=0x0,this[_0x40a10f(0x3ad)]());}[_0x59f468(0x41a)](_0x23f9e5,_0x1f9818){const _0x183256=_0x59f468;this[_0x183256(0x2f6)][_0x183256(0x279)](_0x23f9e5,_0x1f9818),this[_0x183256(0x3ad)]();}[_0x59f468(0x517)](_0x3a0bd5,_0x3f58c4){const _0x279107=_0x59f468;this['_redoStacks'][_0x279107(0x279)](_0x3a0bd5,_0x3f58c4),this[_0x279107(0x3ad)]();}['_transformStack'](_0x751f31,_0x3b1c70){const _0x6f28f0=_0x59f468,_0x150fe5=[];let _0x4a8870=_0x3b1c70,_0x22d461=_0x3b1c70;for(let _0x171ebd=_0x751f31['length']-0x1;_0x171ebd>=0x0;_0x171ebd--){const {unitID:_0x152011,undoMutations:_0x74765b,redoMutations:_0x4c161b}=_0x751f31[_0x171ebd],_0x4e5672=this['_transformService'][_0x6f28f0(0x3ce)](_0x4a8870,_0x74765b),_0x18309c=this[_0x6f28f0(0x24f)][_0x6f28f0(0x3ce)](_0x22d461,_0x4c161b);if(_0x571511(_0x4e5672)||_0x571511(_0x18309c)){this[_0x6f28f0(0x3b6)][_0x6f28f0(0x1ec)]('[CollaborationUndoRedoService]',_0x6f28f0(0x43a),_0x4e5672,_0x18309c);break;}_0x4a8870=_0x4e5672[_0x6f28f0(0x3da)],_0x22d461=_0x18309c[_0x6f28f0(0x3da)],_0x150fe5[_0x6f28f0(0x4cf)]({'unitID':_0x152011,'undoMutations':_0x4e5672['m2Prime'],'redoMutations':_0x18309c[_0x6f28f0(0x388)]});}return _0x150fe5[_0x6f28f0(0x51f)]();}};Ss=sh([et(0x0,_0xd7de45),et(0x1,_0x1e017f),et(0x2,_0xe6d98),et(0x3,_0x4cb437),et(0x4,_0x37805d)],Ss);class ih extends _0x2c59cd{constructor(){const _0x59a75e=_0x59f468;super(),g(this,_0x59a75e(0x50c)),this[_0x59a75e(0x50c)]=_0x92f771(window,_0x59a75e(0x4b4))[_0x59a75e(0x318)](_0x2eaf5f(this[_0x59a75e(0x2c5)]),_0x2ff007(0x1),_0x467ca9(void 0x0));}['setParam'](_0x4e7ca9,_0x44302e,_0x3b057a=!0x1){const _0x5ad8cb=_0x59f468,_0x2f918e=new URL(window['location'][_0x5ad8cb(0x2f0)]);_0x2f918e[_0x5ad8cb(0x4f2)][_0x5ad8cb(0x279)](_0x4e7ca9,_0x44302e),_0x3b057a?window[_0x5ad8cb(0x539)][_0x5ad8cb(0x4ba)]('','',_0x2f918e[_0x5ad8cb(0x4a1)]()):window[_0x5ad8cb(0x539)]['pushState']('','',_0x2f918e['toString']());}[_0x59f468(0x3eb)](_0x54a5db,_0x1f3269=!0x1){const _0x1aae4c=_0x59f468,_0x14bdc2=new URL(window[_0x1aae4c(0x30e)]['href']);_0x14bdc2[_0x1aae4c(0x4f2)][_0x1aae4c(0x29e)](_0x54a5db),_0x1f3269?window[_0x1aae4c(0x539)]['replaceState']('','',_0x14bdc2[_0x1aae4c(0x4a1)]()):window['history'][_0x1aae4c(0x506)]('','',_0x14bdc2[_0x1aae4c(0x4a1)]());}['getParam'](_0x13b498){const _0x16fd36=_0x59f468;var _0x11215f;return(_0x11215f=new URL(window[_0x16fd36(0x30e)][_0x16fd36(0x2f0)])['searchParams'][_0x16fd36(0x25d)](_0x13b498))!=null?_0x11215f:void 0x0;}}var or=Object[_0x59f468(0x29a)],rh=Object[_0x59f468(0x368)],nh=(_0x349c1f,_0x243087,_0x50da23)=>_0x243087 in _0x349c1f?or(_0x349c1f,_0x243087,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50da23}):_0x349c1f[_0x243087]=_0x50da23,oh=(_0x167055,_0x5b1276,_0x280fbf,_0x55261f)=>{const _0x5348bc=_0x59f468;for(var _0x219a42=_0x55261f>0x1?void 0x0:_0x55261f?rh(_0x5b1276,_0x280fbf):_0x5b1276,_0x3d3115=_0x167055[_0x5348bc(0x21a)]-0x1,_0x3e2c25;_0x3d3115>=0x0;_0x3d3115--)(_0x3e2c25=_0x167055[_0x3d3115])&&(_0x219a42=(_0x55261f?_0x3e2c25(_0x5b1276,_0x280fbf,_0x219a42):_0x3e2c25(_0x219a42))||_0x219a42);return _0x55261f&&_0x219a42&&or(_0x5b1276,_0x280fbf,_0x219a42),_0x219a42;},lt=(_0x47a1ce,_0x17fb30)=>(_0x4bea7b,_0x4be872)=>_0x17fb30(_0x4bea7b,_0x4be872,_0x47a1ce),ah=(_0x4410ec,_0x26cb20,_0x17f003)=>nh(_0x4410ec,_0x26cb20+'',_0x17f003);const ch=_0x59f468(0x44c);let Is=class extends _0x113ffe{constructor(_0x2e0ee1=jn,_0x59e19d,_0x416254,_0x111541,_0x424a7a){const _0x5d8b17=_0x59f468;super(),this[_0x5d8b17(0x522)]=_0x2e0ee1,this[_0x5d8b17(0x3b6)]=_0x59e19d,this[_0x5d8b17(0x342)]=_0x416254,this['_injector']=_0x111541,this[_0x5d8b17(0x58b)]=_0x424a7a;const {..._0x574e69}=this[_0x5d8b17(0x522)];this[_0x5d8b17(0x58b)][_0x5d8b17(0x481)](Q,_0x574e69);}['onStarting'](){const _0x26b565=_0x59f468;this[_0x26b565(0x1a6)](),this[_0x26b565(0x3fb)]();}[_0x59f468(0x23c)](){const _0x52bb9c=_0x59f468;_0x4c0f56(this[_0x52bb9c(0x351)],[[Mt],[Ut]]);}['onRendered'](){const _0x1b9a8=_0x59f468;this[_0x1b9a8(0x3b1)]();}[_0x59f468(0x1a6)](){const _0x30eeac=_0x59f468;var _0x33db8e,_0x2fb251,_0x13687d,_0x3fe09e;this[_0x30eeac(0x351)][_0x30eeac(0x309)](_0x2d2527)&&this[_0x30eeac(0x3b6)]['error'](_0x30eeac(0x239),_0x30eeac(0x526));const _0x122338=[[_0x2d2527,{'useClass':Ss}],[Me],[Us],[tr,{'useClass':ih}],[Ae],[z],[_0x5cdeee],[yt],[Dt],[Ot],[wt],[Ds],[xt],[Lt],[Gi],[$t],[Vi,{'useClass':(_0x2fb251=(_0x33db8e=this[_0x30eeac(0x522)])==null?void 0x0:_0x33db8e[_0x30eeac(0x374)])!=null?_0x2fb251:as}],[_0x24bd52,{'useClass':gs}],[_0x18f660,{'useClass':vs}],[_0x3c5ccf,{'useClass':ps}],[_0x454d7e,{'useClass':ms}],[it],[At],[Nt],[Mt],[Fe],[Ut]];(_0x13687d=this[_0x30eeac(0x522)])!=null&&_0x13687d[_0x30eeac(0x1cf)]&&_0x122338[_0x30eeac(0x4cf)]([Ht,{'useClass':Io}]),_0x33f43b(this[_0x30eeac(0x351)],_0x996ab4(_0x122338,(_0x3fe09e=this['_config'])==null?void 0x0:_0x3fe09e[_0x30eeac(0x3c8)]));}[_0x59f468(0x3b1)](){const _0xf38f8d=_0x59f468;this[_0xf38f8d(0x4e2)](this[_0xf38f8d(0x342)][_0xf38f8d(0x32f)](_0x52550e[_0xf38f8d(0x4f9)],[ds])),this['disposeWithMe'](this[_0xf38f8d(0x342)]['registerRenderModule'](_0x52550e[_0xf38f8d(0x2b0)],[fs]));}[_0x59f468(0x3fb)](){const _0x54771c=_0x59f468;var _0x38f133,_0x193a86;this['_injector']['get'](_0x216536)[_0x54771c(0x442)]({'priority':0x14,'interceptor':_0x5df05e({'maxParallel':0x6})}),(_0x38f133=this[_0x54771c(0x522)])!=null&&_0x38f133['enableOfflineEditing']||this['_injector']['get'](z)[_0x54771c(0x1a8)](),(_0x193a86=this['_config'])!=null&&_0x193a86[_0x54771c(0x35c)]&&_0x4c0f56(this[_0x54771c(0x351)],[[xt]]),_0x4c0f56(this[_0x54771c(0x351)],[[Lt],[Fe],[At],[it],[Nt],[$t]]);}};ah(Is,_0x59f468(0x394),ch),Is=oh([_0x9ba82c(_0x551335,_0x3b21ea),lt(0x1,_0x37805d),lt(0x2,_0x4e56e4),lt(0x3,_0x222038(_0x2e1c56)),lt(0x4,_0x486aed)],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};
|