@univerjs-pro/collaboration-client 0.5.0 → 0.5.1-nightly.202412011605
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/controllers/collaboration/collaboration-state.d.ts +1 -1
- package/lib/types/controllers/config.schema.d.ts +1 -1
- package/lib/types/index.d.ts +3 -2
- package/lib/types/locale/fr-FR.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +4 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +7 -0
- package/lib/types/services/image-remote/image-io.service.d.ts +1 -1
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +6 -2
- package/lib/types/services/socket/collaboration-socket.service.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/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 +23 -21
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x28ced3=_0x5087;(function(_0xf6e9d8,_0x187d28){const _0x10871f=_0x5087,_0x3ea273=_0xf6e9d8();while(!![]){try{const _0x9c6479=-parseInt(_0x10871f(0x15b))/0x1+parseInt(_0x10871f(0x376))/0x2*(-parseInt(_0x10871f(0x50a))/0x3)+-parseInt(_0x10871f(0x12a))/0x4+parseInt(_0x10871f(0x1da))/0x5*(parseInt(_0x10871f(0x4b7))/0x6)+-parseInt(_0x10871f(0x3f4))/0x7+-parseInt(_0x10871f(0x24e))/0x8*(parseInt(_0x10871f(0x16b))/0x9)+parseInt(_0x10871f(0x166))/0xa*(parseInt(_0x10871f(0x337))/0xb);if(_0x9c6479===_0x187d28)break;else _0x3ea273['push'](_0x3ea273['shift']());}catch(_0x4c71d7){_0x3ea273['push'](_0x3ea273['shift']());}}}(_0x1eba,0x7b281));var sr=Object[_0x28ced3(0x4e5)],ir=(_0x230d24,_0x25930d,_0x5e18b2)=>_0x25930d in _0x230d24?sr(_0x230d24,_0x25930d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e18b2}):_0x230d24[_0x25930d]=_0x5e18b2,g=(_0x218723,_0x18511d,_0x39d02f)=>ir(_0x218723,typeof _0x18511d!=_0x28ced3(0x17e)?_0x18511d+'':_0x18511d,_0x39d02f);import{createIdentifier as _0x59c894,Inject as _0x4dc79e,Disposable as _0x4b4314,DisposableCollection as _0x1ddd9a,toDisposable as _0x504803,IConfigService as _0x4267,ILogService as _0x1b2c35,UserManagerService as _0x1a660f,UniverInstanceType as _0x432165,IUniverInstanceService as _0x3f5641,LocaleService as _0x9d81ca,Optional as _0x452242,RxDisposable as _0x143369,Injector as _0x4ea20b,Tools as _0x504575,ILocalStorageService as _0x2502b3,Rectangle as _0x34983c,ICommandService as _0x10f0f3,DOC_RANGE_TYPE as _0x349d72,JSONX as _0x2c710c,CommandType as _0x12a4b6,IPermissionService as _0x12318d,IUndoRedoService as _0x5c75aa,sequenceExecute as _0x1b4ec0,debounce as _0x508135,COLORS as _0x2063c9,ColorKit as _0x4e501b,ThemeService as _0x2884a8,fromEventSubject as _0x318de8,useDependency as _0x33cc12,connectInjector as _0x3c5f22,Workbook as _0x4645c6,MentionType as _0x4b9625,isInternalEditorID as _0x479da3,LocalUndoRedoService as _0x480147,IContextService as _0x53d76c,DependentOn as _0x9b46b7,Plugin as _0x343076,touchDependencies as _0x174ba0,IAuthzIoService as _0x52f7ba,IMentionIOService as _0x44ae78,registerDependencies as _0x21d619,mergeOverrideWithDependencies as _0x5e78a8}from'@univerjs/core';import{Subject as _0x3c0db6,merge as _0x16bd1c,takeUntil as _0x23d390,BehaviorSubject as _0x1eab12,distinctUntilChanged as _0x2eddff,fromEvent as _0x150ad0,ReplaySubject as _0x3b2356,take as _0x2a1ef3,map as _0x3ec3a7,shareReplay as _0x216b1f,of as _0x3a82ee,debounceTime as _0x2b0873,filter as _0x134828,switchMap as _0x2e52a8,combineLatest as _0x408d8f,concatMap as _0x4a2f46,mapTo as _0x3cf738}from'rxjs';import{map as _0x997ff7,take as _0x457ded,filter as _0x59126f,delay as _0x33dee2,throttleTime as _0x39be24,takeUntil as _0x4008ce,switchMap as _0x13ac02}from'rxjs/operators';import{MessageType as _0x116338,Tooltip as _0x1e76c0}from'@univerjs/design';import{HTTPService as _0x327304,WebSocketService as _0x52909e,MergeInterceptorFactory as _0x3eda92,HTTPRequest as _0x2a5160,UniverNetworkPlugin as _0xf8fb58,ThresholdInterceptorFactory as _0x12738b}from'@univerjs/network';import{IBeforeCloseService as _0x4705f1,IMessageService as _0x27f618,INotificationService as _0x375396,useObservable as _0x1a2879,BuiltInUIPart as _0x5599d0,IUIPartsService as _0xf6eb1f}from'@univerjs/ui';import{CollaborationEvent as _0x4fedc8,parseChangesetToProtocol as _0x999555,ISnapshotServerService as _0x2db733,isTransformMutationFailure as _0x490046,isTransformMutationsWithChangesetSuccess as _0x6f1506,ITransformService as _0x56dcb7,RevisionService as _0x1dece0,mapDocumentTypeToUniverType as _0x3a9b85,isTransformChangesetsSuccess as _0x225cfd,CompressMutationService as _0x1a90c4,parseProtocolChangeset as _0x17f3f6,SnapshotService as _0x19655c,textEncoder as _0x39d010,b64DecodeUnicode as _0x524215,isTransformMutationsWithChangesetFailure as _0x40dd4a,UniverCollaborationPlugin as _0x7e5e81}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1888f4}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x41c6ac,RichTextEditingMutation as _0x4b4a47,SetTextSelectionsOperation as _0x19495d,DocSkeletonManagerService as _0x1acbad}from'@univerjs/docs';import{DocIMEInputManagerService as _0x1727f3,DocStateChangeManagerService as _0x1ad43c,IDocClipboardService as _0x2404dd,NodePositionConvertToCursor as _0x53db90,NodePositionConvertToRectRange as _0x4d9fac,TEXT_RANGE_LAYER_INDEX as _0x25aa05,SetDocZoomRatioOperation as _0x268669}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x5c8e36,SetSelectionsOperation as _0x5b97c7,InsertSheetMutation as _0x5de45a,EmptyMutation as _0x712add,WorkbookEditablePermission as _0x675da3,RefRangeService as _0x2d45d4,EffectRefRangId as _0x9b4f6e,handleIRemoveRow as _0x2e1560,handleIRemoveCol as _0x3c97b2,handleMoveRange as _0x1d068d,handleInsertRow as _0xdcd2db,handleInsertRangeMoveRight as _0x261c8e,handleInsertRangeMoveDown as _0x551668,handleInsertCol as _0x3ec1f8,handleDeleteRangeMoveUp as _0x512a99,handleDeleteRangeMoveLeft as _0x4df27f,runRefRangeMutations as _0x49b9c3,SetWorksheetActivateCommand as _0x324a33}from'@univerjs/sheets';import{IRenderManagerService as _0x35a6f3,Shape as _0x4b03c5,Rect as _0x2fe146,getColor as _0x41560e,RegularPolygon as _0x4fef52,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5bf89e,Vector2 as _0x26a81a}from'@univerjs/engine-render';import{IImageIoService as _0x189923,ImageSourceType as _0x5eb02a,ImageUploadStatusType as _0x368011}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x4bd8b7,serializeRangeWithSheet as _0x19b162}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x45a610,VIEWPORT_KEY as _0x3371f3,getCoordByCell as _0x1a4e8f,getSheetObject as _0x36ca39,SheetPermissionInitController as _0x20ded5}from'@univerjs/sheets-ui';import _0x4ae409,{forwardRef as _0x5775b9,useRef as _0x3840ee,createElement as _0x43869a,useCallback as _0x463542}from'react';import{IRemoteInstanceService as _0x22c7e2}from'@univerjs/rpc';const mn=_0x28ced3(0x19a),pn='/universer-api/snapshot',gn=_0x28ced3(0x430),_h=_0x28ced3(0x2b0),Sn=0x7d0,In='COLLAB_WEB_SOCKET_URL',Cn=_0x28ced3(0x208),En=_0x28ced3(0x25c),bn=_0x28ced3(0x2e9),Tn=0x7530,Di=_0x28ced3(0x4d6),Pi=0x4e20,Rn=0x4e20,On=_0x28ced3(0x3d2),yn=0x3,wn=_0x28ced3(0x441),Dn=0x3e8,Pn='COLLAB_SUBMIT_CHANGESET_URL',Un=_0x28ced3(0x357),Nn='LOGIN_URL_KEY',An=_0x28ced3(0x51d);var Ui=(_0x5bf66d=>(_0x5bf66d[_0x5bf66d[_0x28ced3(0x139)]=0x0]=_0x28ced3(0x139),_0x5bf66d[_0x5bf66d['OK']=0x1]='OK',_0x5bf66d[_0x5bf66d[_0x28ced3(0x1aa)]=0x2]=_0x28ced3(0x1aa),_0x5bf66d[_0x5bf66d[_0x28ced3(0x13c)]=0x3]='PERMISSION_DENIED',_0x5bf66d[_0x5bf66d[_0x28ced3(0x21a)]=0x4]=_0x28ced3(0x21a),_0x5bf66d[_0x5bf66d[_0x28ced3(0x158)]=0x5]=_0x28ced3(0x158),_0x5bf66d[_0x5bf66d[_0x28ced3(0x1cc)]=0x6]=_0x28ced3(0x1cc),_0x5bf66d[_0x5bf66d[_0x28ced3(0x1ff)]=0x7]=_0x28ced3(0x1ff),_0x5bf66d[_0x5bf66d[_0x28ced3(0x42e)]=0x8]=_0x28ced3(0x42e),_0x5bf66d[_0x5bf66d[_0x28ced3(0x1ca)]=0x9]=_0x28ced3(0x1ca),_0x5bf66d[_0x5bf66d[_0x28ced3(0x2a9)]=0x1389]=_0x28ced3(0x2a9),_0x5bf66d[_0x5bf66d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x28ced3(0x505),_0x5bf66d[_0x5bf66d[_0x28ced3(0x1d9)]=0x1772]=_0x28ced3(0x1d9),_0x5bf66d[_0x5bf66d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x28ced3(0x470),_0x5bf66d[_0x5bf66d[_0x28ced3(0x301)]=0x1b59]='APPLY_REJECT',_0x5bf66d[_0x5bf66d[_0x28ced3(0x3f8)]=0x1b5a]=_0x28ced3(0x3f8),_0x5bf66d[_0x5bf66d[_0x28ced3(0x32d)]=0x1b5b]=_0x28ced3(0x32d),_0x5bf66d[_0x5bf66d[_0x28ced3(0x546)]=0x1b5c]=_0x28ced3(0x546),_0x5bf66d[_0x5bf66d[_0x28ced3(0x476)]=0x1b5d]=_0x28ced3(0x476),_0x5bf66d[_0x5bf66d[_0x28ced3(0x2c5)]=0x1f41]=_0x28ced3(0x2c5),_0x5bf66d[_0x5bf66d[_0x28ced3(0x28e)]=0x2329]=_0x28ced3(0x28e),_0x5bf66d[_0x5bf66d[_0x28ced3(0x262)]=0x232a]=_0x28ced3(0x262),_0x5bf66d[_0x5bf66d[_0x28ced3(0x432)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5bf66d[_0x5bf66d[_0x28ced3(0x286)]=0x232c]=_0x28ced3(0x286),_0x5bf66d[_0x5bf66d[_0x28ced3(0x3f5)]=0x232d]=_0x28ced3(0x3f5),_0x5bf66d[_0x5bf66d[_0x28ced3(0x435)]=0x2711]=_0x28ced3(0x435),_0x5bf66d[_0x5bf66d[_0x28ced3(0x217)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5bf66d[_0x5bf66d[_0x28ced3(0x280)]=0x2713]=_0x28ced3(0x280),_0x5bf66d[_0x5bf66d[_0x28ced3(0x40b)]=0x2714]=_0x28ced3(0x40b),_0x5bf66d[_0x5bf66d[_0x28ced3(0x426)]=-0x1]=_0x28ced3(0x426),_0x5bf66d))(Ui||{}),ce=(_0x131ba1=>(_0x131ba1[_0x131ba1[_0x28ced3(0x165)]=0x0]=_0x28ced3(0x165),_0x131ba1[_0x131ba1['UNIVER_DOC']=0x1]=_0x28ced3(0x21c),_0x131ba1[_0x131ba1[_0x28ced3(0x550)]=0x2]=_0x28ced3(0x550),_0x131ba1[_0x131ba1[_0x28ced3(0x1a1)]=0x3]='UNIVER_SLIDE',_0x131ba1[_0x131ba1[_0x28ced3(0x40a)]=0x4]=_0x28ced3(0x40a),_0x131ba1[_0x131ba1[_0x28ced3(0x426)]=-0x1]=_0x28ced3(0x426),_0x131ba1))(ce||{}),W=(_0x41fcf0=>(_0x41fcf0[_0x41fcf0[_0x28ced3(0x24d)]=0x0]=_0x28ced3(0x24d),_0x41fcf0[_0x41fcf0['HELLO']=0x1]=_0x28ced3(0x1a2),_0x41fcf0[_0x41fcf0[_0x28ced3(0x1e2)]=0x2]=_0x28ced3(0x1e2),_0x41fcf0[_0x41fcf0[_0x28ced3(0x54b)]=0x3]=_0x28ced3(0x54b),_0x41fcf0[_0x41fcf0[_0x28ced3(0x20a)]=0x4]=_0x28ced3(0x20a),_0x41fcf0[_0x41fcf0['HEARTBEAT']=0x5]=_0x28ced3(0x30a),_0x41fcf0[_0x41fcf0[_0x28ced3(0x40f)]=0x6]=_0x28ced3(0x40f),_0x41fcf0[_0x41fcf0[_0x28ced3(0x426)]=-0x1]='UNRECOGNIZED',_0x41fcf0))(W||{}),bs=(_0x50bf42=>(_0x50bf42[_0x50bf42['UNKNOWN_CODE']=0x0]=_0x28ced3(0x26a),_0x50bf42[_0x50bf42['OK']=0x1]='OK',_0x50bf42[_0x50bf42[_0x28ced3(0x2aa)]=0x2]=_0x28ced3(0x2aa),_0x50bf42[_0x50bf42[_0x28ced3(0x45d)]=0x3e9]=_0x28ced3(0x45d),_0x50bf42[_0x50bf42[_0x28ced3(0x4d2)]=0x3ea]=_0x28ced3(0x4d2),_0x50bf42[_0x50bf42[_0x28ced3(0x426)]=-0x1]=_0x28ced3(0x426),_0x50bf42))(bs||{}),Ni=(_0xc5de8a=>(_0xc5de8a[_0xc5de8a[_0x28ced3(0x3d9)]=0x0]=_0x28ced3(0x3d9),_0xc5de8a[_0xc5de8a[_0x28ced3(0x2cd)]=0x1]='HttpImport',_0xc5de8a[_0xc5de8a['HttpExport']=0x2]=_0x28ced3(0x22c),_0xc5de8a[_0xc5de8a[_0x28ced3(0x41f)]=0x3]=_0x28ced3(0x41f),_0xc5de8a[_0xc5de8a[_0x28ced3(0x1cb)]=0x4]=_0x28ced3(0x1cb),_0xc5de8a[_0xc5de8a[_0x28ced3(0x426)]=-0x1]=_0x28ced3(0x426),_0xc5de8a))(Ni||{});const ee=_0x28ced3(0x16d),Mn={};function xn(_0x23fe21){const _0x3ba984=_0x28ced3;var _0x177d5d,_0x30f8f9,_0x2eb203,_0xb9cd7f,_0x40aa8c;const _0x2cc5e4=_0x23fe21[_0x3ba984(0x326)],_0x1ab379=JSON[_0x3ba984(0x4c4)](_0x2cc5e4);switch(_0x1ab379[_0x3ba984(0x4ee)]){case W[_0x3ba984(0x30a)]:case W[_0x3ba984(0x1a2)]:{const _0x365176=_0x1ab379['infoRsp'];return{..._0x1ab379,'data':_0x365176,'cmd':_0x1ab379[_0x3ba984(0x4ee)]};}case W[_0x3ba984(0x1e2)]:{const _0x12df05=_0x1ab379[_0x3ba984(0x33d)];return{..._0x1ab379,'data':_0x12df05,'cmd':_0x1ab379['cmd']};}case W['RECV']:{const _0x5e8917=_0x1ab379[_0x3ba984(0x19f)];switch(_0x5e8917['eventID']){case _0x4fedc8[_0x3ba984(0x28d)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':(_0x177d5d=_0x5e8917['permissionRejEvent'])==null?void 0x0:_0x177d5d['cs']},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8[_0x3ba984(0x3c4)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':(_0x30f8f9=_0x5e8917[_0x3ba984(0x215)])==null?void 0x0:_0x30f8f9['cs']},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8[_0x3ba984(0x4ac)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':(_0x2eb203=_0x5e8917['newCsEvent'])==null?void 0x0:_0x2eb203['cs']},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8[_0x3ba984(0x443)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':(_0xb9cd7f=_0x5e8917[_0x3ba984(0x4f3)])==null?void 0x0:_0xb9cd7f['cs']},'cmd':_0x1ab379['cmd']};case _0x4fedc8[_0x3ba984(0x1a3)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':(_0x40aa8c=_0x5e8917['csShouldRetryEvent'])==null?void 0x0:_0x40aa8c['cs']},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8['UPDATE_CURSOR']:return{..._0x1ab379,'data':{..._0x5e8917,'data':_0x5e8917['updateCursorEvent']},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8[_0x3ba984(0x237)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':_0x5e8917[_0x3ba984(0x54d)]},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8['USERS_LEAVE']:return{..._0x1ab379,'data':{..._0x5e8917,'data':_0x5e8917[_0x3ba984(0x310)]},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8[_0x3ba984(0x3c5)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':_0x5e8917[_0x3ba984(0x31a)]},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8['LIVESHARE_FETCH_OPERATIONS']:case _0x4fedc8[_0x3ba984(0x167)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':_0x5e8917[_0x3ba984(0x390)]},'cmd':_0x1ab379['cmd']};case _0x4fedc8[_0x3ba984(0x26c)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':_0x5e8917[_0x3ba984(0x31a)]},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8[_0x3ba984(0x482)]:return{..._0x1ab379,'data':_0x5e8917,'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8[_0x3ba984(0x382)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':_0x5e8917[_0x3ba984(0x256)]},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8[_0x3ba984(0x185)]:return{..._0x1ab379,'data':{..._0x5e8917,'data':_0x5e8917['updatePermissionObjEvent']},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};case _0x4fedc8['SHOULD_CLOSE_CONN']:return{..._0x1ab379,'data':{..._0x5e8917,'data':_0x5e8917['shouldCloseConn']},'cmd':_0x1ab379[_0x3ba984(0x4ee)]};default:return _0x1ab379;}}default:return _0x1ab379;}}function Ln(_0x40f8b2){const _0x107100=_0x28ced3;switch(_0x40f8b2[_0x107100(0x4ee)]){case W[_0x107100(0x30a)]:case W['HELLO']:return JSON[_0x107100(0x27b)]({'cmd':_0x40f8b2[_0x107100(0x4ee)],'routeKey':_0x40f8b2[_0x107100(0x147)]});case W[_0x107100(0x20a)]:{let _0x4e7c8b;switch(_0x40f8b2[_0x107100(0x326)]['eventID']){case _0x4fedc8[_0x107100(0x2e1)]:{_0x4e7c8b={'eventID':_0x4fedc8['UPDATE_CURSOR'],'updateCursorEvent':_0x40f8b2[_0x107100(0x326)]['data']};break;}case _0x4fedc8[_0x107100(0x252)]:{_0x4e7c8b={'eventID':_0x4fedc8[_0x107100(0x252)],'leaveEvent':_0x40f8b2['data'][_0x107100(0x326)]};break;}case _0x4fedc8[_0x107100(0x237)]:{_0x4e7c8b={'eventID':_0x4fedc8[_0x107100(0x237)],'joinEvent':_0x40f8b2[_0x107100(0x326)][_0x107100(0x326)]};break;}case _0x4fedc8['LIVESHARE_NEW_HOST']:{_0x4e7c8b={'eventID':_0x4fedc8[_0x107100(0x3c5)],'liveShareNewHost':_0x40f8b2[_0x107100(0x326)][_0x107100(0x326)]};break;}case _0x4fedc8[_0x107100(0x167)]:{_0x4e7c8b={'eventID':_0x4fedc8[_0x107100(0x167)],'liveShareOperation':_0x40f8b2['data'][_0x107100(0x326)]};break;}case _0x4fedc8[_0x107100(0x26c)]:{_0x4e7c8b={'eventID':_0x4fedc8[_0x107100(0x26c)],'liveShareTerminate':_0x40f8b2[_0x107100(0x326)]['data']};break;}case _0x4fedc8[_0x107100(0x371)]:{_0x4e7c8b={'eventID':_0x4fedc8['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x40f8b2[_0x107100(0x326)][_0x107100(0x326)]};break;}case _0x4fedc8[_0x107100(0x41e)]:{_0x4e7c8b={'eventID':_0x4fedc8[_0x107100(0x41e)]};break;}default:_0x4e7c8b={'eventID':_0x40f8b2[_0x107100(0x326)][_0x107100(0x1cd)]};}return JSON['stringify']({'cmd':_0x40f8b2[_0x107100(0x4ee)],'routeKey':_0x40f8b2[_0x107100(0x147)],'collaMsg':_0x4e7c8b});}case W['JOIN']:return JSON[_0x107100(0x27b)]({'cmd':_0x40f8b2[_0x107100(0x4ee)],'routeKey':_0x40f8b2[_0x107100(0x147)],'joinReq':_0x40f8b2[_0x107100(0x326)]});case W['LEAVE']:return JSON[_0x107100(0x27b)]({'cmd':_0x40f8b2[_0x107100(0x4ee)],'routeKey':_0x40f8b2['routeKey'],'leaveReq':_0x40f8b2[_0x107100(0x326)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var $n=Object['defineProperty'],Hn=Object[_0x28ced3(0x23d)],jn=(_0x1ce753,_0x184001,_0xc7a2ee,_0x2310c0)=>{const _0x45ce2d=_0x28ced3;for(var _0x26ca98=_0x2310c0>0x1?void 0x0:_0x2310c0?Hn(_0x184001,_0xc7a2ee):_0x184001,_0x48de7b=_0x1ce753[_0x45ce2d(0x311)]-0x1,_0x414281;_0x48de7b>=0x0;_0x48de7b--)(_0x414281=_0x1ce753[_0x48de7b])&&(_0x26ca98=(_0x2310c0?_0x414281(_0x184001,_0xc7a2ee,_0x26ca98):_0x414281(_0x26ca98))||_0x26ca98);return _0x2310c0&&_0x26ca98&&$n(_0x184001,_0xc7a2ee,_0x26ca98),_0x26ca98;},qe=(_0x45663e,_0x33c7a3)=>(_0x3eaafc,_0x118d47)=>_0x33c7a3(_0x3eaafc,_0x118d47,_0x45663e);const Ai=_0x59c894(_0x28ced3(0x130));function Bn(_0x5285f3,_0xab30e0,_0x4200de){const _0x6a7e1a=_0x28ced3;return _0x5285f3+'/'+_0xab30e0+_0x6a7e1a(0x3d6)+_0x4200de+'/new_changes';}let ss=class extends _0x4b4314{constructor(_0x71718c,_0x107d1c,_0x1d60ba,_0x3c7fea,_0x2117b8){const _0x9729d=_0x28ced3;super(),this[_0x9729d(0x3b3)]=_0x71718c,this[_0x9729d(0x52c)]=_0x107d1c,this[_0x9729d(0x3f3)]=_0x1d60ba,this['_logService']=_0x3c7fea,this[_0x9729d(0x23c)]=_0x2117b8;}['createSocket'](_0x3862fd){const _0x16212=_0x28ced3,_0x5c9362=this[_0x16212(0x52c)][_0x16212(0x4f0)](_0x3862fd);if(!_0x5c9362)throw new Error(_0x16212(0x4d8));const _0xf2102c=new _0x1ddd9a(),_0x2635d1=new _0x3c0db6();_0xf2102c[_0x16212(0x530)](_0x5c9362['close$'][_0x16212(0x293)](_0x209321=>_0x2635d1[_0x16212(0x14b)](_0x209321))),_0xf2102c[_0x16212(0x530)](_0x504803(()=>_0x2635d1['complete']()));const _0x1bbd47=new _0x3c0db6();_0xf2102c[_0x16212(0x530)](_0x5c9362[_0x16212(0x479)][_0x16212(0x293)](_0x24c8fd=>_0x1bbd47[_0x16212(0x14b)](_0x24c8fd))),_0xf2102c['add'](_0x504803(()=>_0x1bbd47[_0x16212(0x21f)]()));const _0x11d432=new _0x3c0db6();_0xf2102c[_0x16212(0x530)](_0x5c9362[_0x16212(0x33b)][_0x16212(0x293)](_0x137cbe=>{const _0x17a4b3=_0x16212,_0x71b520=xn(_0x137cbe);_0x11d432[_0x17a4b3(0x14b)](_0x71b520);})),_0xf2102c[_0x16212(0x530)](_0x504803(()=>_0x11d432[_0x16212(0x21f)]()));let _0x2d85ae;const _0x5eb7a9=()=>{const _0x22f88b=_0x16212;_0x1bbd47[_0x22f88b(0x14b)](new Event(_0x22f88b(0x1b9))),_0x2635d1['next'](new CloseEvent(_0x22f88b(0x1b9))),_0x2d85ae[_0x22f88b(0x3c8)]();};return _0x2d85ae={'memberID':'','close$':_0x2635d1[_0x16212(0x18b)](),'error$':_0x1bbd47[_0x16212(0x18b)](),'open$':_0x5c9362[_0x16212(0x188)],'message$':_0x11d432['asObservable'](),'send':_0x5d1d2a=>{const _0x178ba8=_0x16212;if(_0x5d1d2a[_0x178ba8(0x4ee)]===W['INGEST']){if(_0x5d1d2a[_0x178ba8(0x326)]['eventID']===_0x4fedc8['SUBMIT_CHANGESET']){this[_0x178ba8(0x389)](_0x2d85ae,_0x5d1d2a[_0x178ba8(0x326)])[_0x178ba8(0x42d)](_0x5ce34a=>{this['_logService']['error'](_0x5ce34a),_0x5eb7a9();});return;}if(_0x5d1d2a[_0x178ba8(0x326)][_0x178ba8(0x1cd)]===_0x4fedc8[_0x178ba8(0x4b0)]){const _0x240641=_0x5d1d2a[_0x178ba8(0x326)];this[_0x178ba8(0x218)](_0x240641)[_0x178ba8(0x48c)](_0x2bd19c=>{const _0x4d25ea=_0x178ba8;_0x11d432[_0x4d25ea(0x14b)]({'cmd':W['RECV'],'code':bs['OK'],'routeKey':_0x240641[_0x4d25ea(0x326)]['unitID'],'routeType':'','data':{'eventID':_0x4fedc8[_0x4d25ea(0x378)],'data':{'changesets':_0x2bd19c}}});})[_0x178ba8(0x42d)](_0x51f349=>{const _0x4c56b1=_0x178ba8;this[_0x4c56b1(0x427)][_0x4c56b1(0x25b)](_0x51f349),_0x5eb7a9();});return;}}_0x5c9362[_0x178ba8(0x1f2)](Ln(_0x5d1d2a));},'close':()=>{const _0x1f74e0=_0x16212;_0x5c9362[_0x1f74e0(0x3c8)](),_0xf2102c['dispose']();}},_0x2d85ae;}async[_0x28ced3(0x389)](_0x35d650,_0x52852b){const _0x3256a7=_0x28ced3;var _0x247740,_0x5ce921;const {unitType:_0x12c41f,unitID:_0x29df72,changeset:_0x1c2567}=_0x52852b[_0x3256a7(0x326)],_0x566622={'unitID':_0x29df72,'memberID':_0x35d650[_0x3256a7(0x2b6)],'type':_0x12c41f,'changeset':_0x999555(_0x1c2567)},_0x5b3175=this[_0x3256a7(0x3f3)][_0x3256a7(0x4bd)](Pn),_0x480e3b=this[_0x3256a7(0x3f3)][_0x3256a7(0x4bd)](ee),_0x4cfa1b=Bn((_0x5ce921=(_0x247740=_0x480e3b==null?void 0x0:_0x480e3b[_0x3256a7(0x143)])!=null?_0x247740:_0x5b3175)!=null?_0x5ce921:Un,_0x12c41f,_0x29df72);try{await this[_0x3256a7(0x3b3)][_0x3256a7(0x1af)](_0x4cfa1b,{'body':_0x566622});}catch(_0x119868){throw this['_logService'][_0x3256a7(0x25b)](_0x3256a7(0x329),_0x3256a7(0x39d)),_0x119868;}}async['_fetchMissChangesets'](_0x50916b){const _0x333fc4=_0x28ced3,{unitID:_0x1d03d4,from:_0x6b866a,to:_0x34eed7,unitType:_0x31f2c5}=_0x50916b['data'];return(await this[_0x333fc4(0x23c)][_0x333fc4(0x168)]({'metadata':void 0x0},{'unitID':_0x1d03d4,'type':_0x31f2c5,'from':_0x6b866a,'to':_0x34eed7}))[_0x333fc4(0x535)];}};ss=jn([qe(0x0,_0x4dc79e(_0x327304)),qe(0x1,_0x4dc79e(_0x52909e)),qe(0x2,_0x4267),qe(0x3,_0x1b2c35),qe(0x4,_0x2db733)],ss);const kn='collaboration_new_changeset';function Wn(_0x1ea8e6){const _0x13acf4=_0x28ced3;return JSON[_0x13acf4(0x27b)](_0x1ea8e6)[_0x13acf4(0x311)];}class Mi{constructor(){const _0x6a7056=_0x28ced3;g(this,'_commentUpdate$',new _0x3c0db6()),g(this,_0x6a7056(0x173),this[_0x6a7056(0x3cc)][_0x6a7056(0x18b)]());}[_0x28ced3(0x2f4)](_0x18de88){const _0x505fb3=_0x28ced3;this[_0x505fb3(0x3cc)][_0x505fb3(0x14b)](_0x18de88);}}var Fn=Object['defineProperty'],Vn=Object[_0x28ced3(0x23d)],Gn=(_0x2291d6,_0x11e17e,_0x484251,_0x386dfc)=>{const _0x522df2=_0x28ced3;for(var _0xc17486=_0x386dfc>0x1?void 0x0:_0x386dfc?Vn(_0x11e17e,_0x484251):_0x11e17e,_0x39ad8a=_0x2291d6[_0x522df2(0x311)]-0x1,_0x5eb36e;_0x39ad8a>=0x0;_0x39ad8a--)(_0x5eb36e=_0x2291d6[_0x39ad8a])&&(_0xc17486=(_0x386dfc?_0x5eb36e(_0x11e17e,_0x484251,_0xc17486):_0x5eb36e(_0xc17486))||_0xc17486);return _0x386dfc&&_0xc17486&&Fn(_0x11e17e,_0x484251,_0xc17486),_0xc17486;},Ws=(_0xc10047,_0x3c7866)=>(_0x33b9cf,_0x1a6882)=>_0x3c7866(_0x33b9cf,_0x1a6882,_0xc10047);let Me=class extends _0x4b4314{constructor(_0x167881,_0x2eebbd){const _0x111f92=_0x28ced3;super(),g(this,'_roomMembers',new Map()),(this[_0x111f92(0x1f9)]=_0x167881,this[_0x111f92(0x35e)]=_0x2eebbd,this[_0x111f92(0x1a6)](_0x504803(_0x16bd1c(this[_0x111f92(0x1f9)][_0x111f92(0x556)](_0x432165[_0x111f92(0x550)])['pipe'](_0x997ff7(_0x181fc8=>_0x181fc8[_0x111f92(0x367)]())),this[_0x111f92(0x1f9)][_0x111f92(0x556)](_0x432165['UNIVER_DOC'])[_0x111f92(0x154)](_0x997ff7(_0x5c00b2=>_0x5c00b2[_0x111f92(0x367)]())),this[_0x111f92(0x1f9)][_0x111f92(0x556)](_0x432165[_0x111f92(0x1a1)])[_0x111f92(0x154)](_0x997ff7(_0x1958f8=>_0x1958f8[_0x111f92(0x367)]())))[_0x111f92(0x293)](_0x5e75f3=>this['_removeRoom'](_0x5e75f3)))));}['setCurrentUser'](_0x4cd823){const _0x4aa34e=_0x28ced3;this['_userManagerService'][_0x4aa34e(0x498)](_0x4cd823);}[_0x28ced3(0x20e)](){const _0x9aa386=_0x28ced3;return this[_0x9aa386(0x35e)][_0x9aa386(0x20e)]();}[_0x28ced3(0x1c7)](_0x62e639,_0x35881d){const _0x55fddf=_0x28ced3;let _0x3c60b5=this['_roomMembers'][_0x55fddf(0x177)](_0x62e639);_0x3c60b5||(_0x3c60b5=new Yn(),this[_0x55fddf(0x532)][_0x55fddf(0x32a)](_0x62e639,_0x3c60b5)),_0x3c60b5['updateMember'](_0x35881d);}[_0x28ced3(0x29f)](_0x36245b,_0x1426f4){const _0x409fe7=_0x28ced3,_0x25e892=this[_0x409fe7(0x532)]['get'](_0x36245b);_0x25e892&&_0x25e892[_0x409fe7(0x29f)](_0x1426f4);}['getRoom'](_0x314293){const _0x58c6a2=_0x28ced3;return this[_0x58c6a2(0x532)][_0x58c6a2(0x177)](_0x314293);}['getMember'](_0x497f53,_0x42dc62){const _0x4d39a4=_0x28ced3,_0x589f0b=this['_roomMembers'][_0x4d39a4(0x177)](_0x497f53);if(_0x589f0b)return _0x589f0b[_0x4d39a4(0x428)](_0x42dc62);}['_removeRoom'](_0x470ec3){const _0x31a160=_0x28ced3,_0x43db9c=this[_0x31a160(0x532)][_0x31a160(0x177)](_0x470ec3);_0x43db9c&&(_0x43db9c[_0x31a160(0x20f)](),this[_0x31a160(0x532)][_0x31a160(0x488)](_0x470ec3));}[_0x28ced3(0x20f)](){const _0x1a40e0=_0x28ced3;this['_roomMembers'][_0x1a40e0(0x2ea)](_0x53e17e=>_0x53e17e['dispose']()),this[_0x1a40e0(0x532)][_0x1a40e0(0x38a)]();}};Me=Gn([Ws(0x0,_0x3f5641),Ws(0x1,_0x4dc79e(_0x1a660f))],Me);class Yn extends _0x4b4314{constructor(){const _0x3bc11a=_0x28ced3;super(...arguments),g(this,_0x3bc11a(0x462),new Map());}[_0x28ced3(0x20f)](){const _0x4108ae=_0x28ced3;this[_0x4108ae(0x462)][_0x4108ae(0x38a)]();}[_0x28ced3(0x1c7)](_0x179ec1){const _0x39a0cb=_0x28ced3;this[_0x39a0cb(0x462)][_0x39a0cb(0x32a)](_0x179ec1['memberID'],_0x179ec1);}['removeMember'](_0x1bafd0){const _0xb0fe9d=_0x28ced3;this[_0xb0fe9d(0x462)][_0xb0fe9d(0x488)](_0x1bafd0);}[_0x28ced3(0x428)](_0x2b95cb){return this['_members']['get'](_0x2b95cb);}[_0x28ced3(0x50e)](){const _0x278475=_0x28ced3;return Array['from'](this[_0x278475(0x462)][_0x278475(0x3e2)]());}}var Kn=Object[_0x28ced3(0x4e5)],zn=Object[_0x28ced3(0x23d)],qn=(_0x30f864,_0x10b83b,_0x1e6ebc,_0x1afa55)=>{const _0x1dce33=_0x28ced3;for(var _0x2981e7=_0x1afa55>0x1?void 0x0:_0x1afa55?zn(_0x10b83b,_0x1e6ebc):_0x10b83b,_0x3849c6=_0x30f864[_0x1dce33(0x311)]-0x1,_0x14f029;_0x3849c6>=0x0;_0x3849c6--)(_0x14f029=_0x30f864[_0x3849c6])&&(_0x2981e7=(_0x1afa55?_0x14f029(_0x10b83b,_0x1e6ebc,_0x2981e7):_0x14f029(_0x2981e7))||_0x2981e7);return _0x1afa55&&_0x2981e7&&Kn(_0x10b83b,_0x1e6ebc,_0x2981e7),_0x2981e7;},be=(_0x182d2d,_0x47a4f6)=>(_0x7ef45b,_0x25bb58)=>_0x47a4f6(_0x7ef45b,_0x25bb58,_0x182d2d),ve=(_0xe026d1=>(_0xe026d1[_0xe026d1[_0x28ced3(0x490)]=0x0]=_0x28ced3(0x490),_0xe026d1[_0xe026d1[_0x28ced3(0x3a3)]=0x1]=_0x28ced3(0x3a3),_0xe026d1[_0xe026d1[_0x28ced3(0x350)]=0x2]=_0x28ced3(0x350),_0xe026d1[_0xe026d1[_0x28ced3(0x4a6)]=0x3]=_0x28ced3(0x4a6),_0xe026d1))(ve||{});let is=class extends _0x143369{constructor(_0x1f0c55,_0x82d793,_0x2db546,_0x3f235a,_0x5bd6d1,_0x59aaac,_0x15161c,_0x2ca9d8,_0x2b1004,_0xac62ba){const _0x5b26bb=_0x28ced3;super(),g(this,_0x5b26bb(0x300),new _0x1eab12(0x0)),g(this,_0x5b26bb(0x17a),this[_0x5b26bb(0x300)][_0x5b26bb(0x18b)]()),g(this,_0x5b26bb(0x175),new _0x3c0db6()),g(this,_0x5b26bb(0x27e),this['_event$']['asObservable']()),g(this,_0x5b26bb(0x523)),g(this,_0x5b26bb(0x359)),g(this,_0x5b26bb(0x35f)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x5b26bb(0x14a),null),(this[_0x5b26bb(0x1be)]=_0x1f0c55,this['_logService']=_0x2db546,this[_0x5b26bb(0x319)]=_0x3f235a,this[_0x5b26bb(0x4ce)]=_0x5bd6d1,this[_0x5b26bb(0x3f3)]=_0x59aaac,this[_0x5b26bb(0x340)]=_0x15161c,this['_memberService']=_0x2ca9d8,this[_0x5b26bb(0x342)]=_0x2b1004,this[_0x5b26bb(0x4b5)]=_0xac62ba,this[_0x5b26bb(0x1b5)]=!!this[_0x5b26bb(0x4b5)],_0x82d793[_0x5b26bb(0x154)](_0x23d390(this[_0x5b26bb(0x4a3)]))[_0x5b26bb(0x293)](_0x1861de=>{const _0x3666a7=_0x5b26bb;var _0x4803f1;typeof _0x1861de>'u'||(this['_socket']=_0x1861de,_0x1861de?(this['_joinRoom'](_0x1861de),this[_0x3666a7(0x359)]=_0x1861de[_0x3666a7(0x33b)][_0x3666a7(0x293)](_0x4f188f=>{const _0x369a54=_0x3666a7;_0x4f188f[_0x369a54(0x147)]===this[_0x369a54(0x1be)]&&this['_onCombEvent'](_0x4f188f);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3666a7(0x300)][_0x3666a7(0x14b)](0x2),(_0x4803f1=this['_socketMessageSubscription'])==null||_0x4803f1[_0x3666a7(0x43d)](),this[_0x3666a7(0x359)]=null));}),this[_0x5b26bb(0x1a6)](this[_0x5b26bb(0x319)]['registerOnClose'](()=>{const _0x4017f0=_0x5b26bb;var _0x6360a8;(_0x6360a8=this[_0x4017f0(0x523)])==null||_0x6360a8[_0x4017f0(0x1f2)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x4017f0(0x1be)]}});})));}get['sessionStatus'](){const _0xe47a14=_0x28ced3;return this[_0xe47a14(0x300)]['getValue']();}[_0x28ced3(0x534)](){const _0x4926c5=_0x28ced3;var _0x2b5c4d,_0x5c3f2f;return(_0x5c3f2f=(_0x2b5c4d=this['_socket'])==null?void 0x0:_0x2b5c4d[_0x4926c5(0x2b6)])!=null?_0x5c3f2f:null;}[_0x28ced3(0x20f)](){const _0x429fd6=_0x28ced3;super[_0x429fd6(0x20f)](),this[_0x429fd6(0x4a3)]['next'](),this['dispose$'][_0x429fd6(0x21f)]();}['close'](){const _0x253919=_0x28ced3;var _0x4a6828,_0x2b7866;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4a6828=this[_0x253919(0x523)])==null||_0x4a6828[_0x253919(0x1f2)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x253919(0x1be)]}}),(_0x2b7866=this['_socket'])==null||_0x2b7866[_0x253919(0x3c8)](),this['_event$'][_0x253919(0x21f)](),this[_0x253919(0x300)]['complete'](),this[_0x253919(0x20f)]();}[_0x28ced3(0x12c)](_0x94a2f0){const _0x2f55bc=_0x28ced3;_0x94a2f0[_0x2f55bc(0x4ee)]===W[_0x2f55bc(0x1e2)]?this['_onJoinRoomEvent'](_0x94a2f0):_0x94a2f0[_0x2f55bc(0x4ee)]===W[_0x2f55bc(0x40f)]&&this[_0x2f55bc(0x2c2)](_0x94a2f0);}[_0x28ced3(0x405)](_0x249958){const _0x492538=_0x28ced3;this['_sessionStatus$'][_0x492538(0x14b)](0x1),_0x249958[_0x492538(0x1f2)]({'cmd':W[_0x492538(0x1e2)],'routeKey':this[_0x492538(0x1be)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x587160){const _0x5b50b7=_0x28ced3;var _0x4a26d8;if(_0x587160['code']===bs[_0x5b50b7(0x2aa)]){this[_0x5b50b7(0x4ce)][_0x5b50b7(0x3dd)]({'type':_0x116338[_0x5b50b7(0x18d)],'content':this[_0x5b50b7(0x340)]['t'](_0x5b50b7(0x14d))}),this[_0x5b50b7(0x300)][_0x5b50b7(0x14b)](0x2);return;}this[_0x5b50b7(0x300)][_0x5b50b7(0x14b)](0x3);const _0x391484=(_0x4a26d8=_0x587160['data'][_0x5b50b7(0x520)][this['_unitID']])==null?void 0x0:_0x4a26d8[_0x5b50b7(0x318)];_0x391484&&_0x391484[_0x5b50b7(0x2ea)](_0x4b161a=>this['_memberService'][_0x5b50b7(0x1c7)](this[_0x5b50b7(0x1be)],_0x4b161a));}[_0x28ced3(0x2c2)](_0x7de7c4){const _0x5ea50d=_0x28ced3;try{const _0xbe984=_0x7de7c4[_0x5ea50d(0x326)];switch(_0xbe984['eventID']){case _0x4fedc8['USERS_ENTER']:this[_0x5ea50d(0x135)](_0xbe984),this['_event$']['next'](_0xbe984);break;case _0x4fedc8[_0x5ea50d(0x252)]:this[_0x5ea50d(0x521)](_0xbe984),this['_event$'][_0x5ea50d(0x14b)](_0xbe984);break;case _0x4fedc8[_0x5ea50d(0x3c4)]:case _0x4fedc8['CHANGESET_SHOULD_RETRY']:this[_0x5ea50d(0x4e0)](),this['_clearCollaborationTimeoutTimer'](),this[_0x5ea50d(0x175)][_0x5ea50d(0x14b)](_0xbe984);break;case _0x4fedc8['MSG_FOR_ERROR']:this[_0x5ea50d(0x427)][_0x5ea50d(0x25b)](_0x5ea50d(0x302)+JSON[_0x5ea50d(0x27b)](_0xbe984)),this['_event$']['next'](_0xbe984);break;case _0x4fedc8[_0x5ea50d(0x382)]:this[_0x5ea50d(0x342)][_0x5ea50d(0x2f4)](_0xbe984[_0x5ea50d(0x326)]),this['_event$'][_0x5ea50d(0x14b)](_0xbe984);break;default:this[_0x5ea50d(0x175)]['next'](_0xbe984);}}catch(_0x57cbec){this['_logService'][_0x5ea50d(0x25b)](_0x57cbec,_0x7de7c4);}}[_0x28ced3(0x135)](_0x87ed48){const _0x389f9=_0x28ced3;this[_0x389f9(0x409)][_0x389f9(0x1c7)](this[_0x389f9(0x1be)],_0x87ed48[_0x389f9(0x326)]);}['_onUserLeave'](_0x20bacf){const _0x8299eb=_0x28ced3;this[_0x8299eb(0x409)]['removeMember'](this[_0x8299eb(0x1be)],_0x20bacf[_0x8299eb(0x326)][_0x8299eb(0x2b6)]);}async[_0x28ced3(0x1f2)](_0x275915,_0x574cc0){const _0x5a4254=_0x28ced3;if(this[_0x5a4254(0x171)]!==0x3||!this['_socket'])throw new Error(_0x5a4254(0x515));try{_0x275915['eventID']===_0x4fedc8[_0x5a4254(0x246)]&&(this[_0x5a4254(0x45f)](),this[_0x5a4254(0x191)](_0x275915)),this[_0x5a4254(0x523)][_0x5a4254(0x1f2)]({'cmd':W[_0x5a4254(0x20a)],'routeKey':_0x574cc0,'routeType':'','data':_0x275915});}catch(_0x5e4b5f){this[_0x5a4254(0x427)][_0x5a4254(0x25b)](_0x5e4b5f);}}[_0x28ced3(0x45f)](){const _0x699d52=_0x28ced3;var _0x4a535b;this[_0x699d52(0x35f)]=window['setTimeout'](()=>{const _0x126efb=_0x699d52;this[_0x126efb(0x35f)]=null,this[_0x126efb(0x4ce)][_0x126efb(0x3dd)]({'type':_0x116338[_0x126efb(0x2da)],'content':this[_0x126efb(0x340)]['t']('session.collaboration-timeout')});},(_0x4a535b=this[_0x699d52(0x3f3)][_0x699d52(0x4bd)](Di))!=null?_0x4a535b:Pi);}[_0x28ced3(0x3f0)](){const _0x3a2362=_0x28ced3;this[_0x3a2362(0x35f)]&&(clearTimeout(this[_0x3a2362(0x35f)]),this[_0x3a2362(0x35f)]=null);}[_0x28ced3(0x191)](_0x14ed4b){const _0x1fc910=_0x28ced3;if(!this[_0x1fc910(0x1b5)])return;const {data:_0x5dd4d3}=_0x14ed4b,{unitID:_0x1087bb,changeset:_0x3c5c65}=_0x5dd4d3,{mutations:_0x566b58,type:_0x38ff64}=_0x3c5c65;this[_0x1fc910(0x14a)]={'unitId':_0x1087bb,'type':_0x38ff64,'startTime':performance[_0x1fc910(0x1e0)](),'stopTime':0x0,'duration':0x0,'size':Wn(_0x566b58)};}[_0x28ced3(0x4e0)](){const _0xc08e09=_0x28ced3;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService'][_0xc08e09(0x25b)](_0xc08e09(0x329),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xc08e09(0x14a)][_0xc08e09(0x170)]=performance[_0xc08e09(0x1e0)](),this['_telemetryInfo'][_0xc08e09(0x2ec)]=this[_0xc08e09(0x14a)]['stopTime']-this[_0xc08e09(0x14a)][_0xc08e09(0x509)],this[_0xc08e09(0x4b5)][_0xc08e09(0x53d)](kn,this[_0xc08e09(0x14a)]),this[_0xc08e09(0x14a)]=null;}}[_0x28ced3(0x1c6)](){const _0x42634a=_0x28ced3;this[_0x42634a(0x14a)]=null;}};is=qn([be(0x2,_0x1b2c35),be(0x3,_0x4705f1),be(0x4,_0x27f618),be(0x5,_0x4267),be(0x6,_0x4dc79e(_0x9d81ca)),be(0x7,_0x4dc79e(Me)),be(0x8,_0x4dc79e(Mi)),be(0x9,_0x452242(_0x1888f4))],is);var Xn=Object[_0x28ced3(0x4e5)],Jn=Object['getOwnPropertyDescriptor'],Zn=(_0x5a7426,_0xb80a53,_0x36cb3c,_0x44b5b2)=>{for(var _0x30502f=_0x44b5b2>0x1?void 0x0:_0x44b5b2?Jn(_0xb80a53,_0x36cb3c):_0xb80a53,_0x1fc867=_0x5a7426['length']-0x1,_0x1c0def;_0x1fc867>=0x0;_0x1fc867--)(_0x1c0def=_0x5a7426[_0x1fc867])&&(_0x30502f=(_0x44b5b2?_0x1c0def(_0xb80a53,_0x36cb3c,_0x30502f):_0x1c0def(_0x30502f))||_0x30502f);return _0x44b5b2&&_0x30502f&&Xn(_0xb80a53,_0x36cb3c,_0x30502f),_0x30502f;},we=(_0x124605,_0x14b2c6)=>(_0x41490c,_0x1c8f96)=>_0x14b2c6(_0x41490c,_0x1c8f96,_0x124605);let xe=class extends _0x4b4314{constructor(_0x4db53b,_0x169a15,_0x3354e3,_0x2ea5a9,_0x425592,_0x3489a1,_0x269413){const _0x22df41=_0x28ced3;super(),g(this,_0x22df41(0x33e),new _0x1eab12(void 0x0)),g(this,_0x22df41(0x48a),this[_0x22df41(0x33e)]['asObservable']()),g(this,'_candidateSocket',null),g(this,_0x22df41(0x3e7),new Map()),g(this,_0x22df41(0x4c5),new _0x1eab12(ve[_0x22df41(0x490)])),g(this,'status$',this[_0x22df41(0x4c5)]['asObservable']()),g(this,_0x22df41(0x297),!0x1),g(this,_0x22df41(0x179)),g(this,'_retryCount',0x0),g(this,_0x22df41(0x156)),g(this,_0x22df41(0x2b7)),(this['_injector']=_0x4db53b,this[_0x22df41(0x340)]=_0x169a15,this['_messageService']=_0x3354e3,this['_logService']=_0x2ea5a9,this[_0x22df41(0x3f3)]=_0x425592,this['_socketService']=_0x3489a1,this[_0x22df41(0x195)]=_0x269413,this[_0x22df41(0x266)]());}get[_0x28ced3(0x523)](){const _0x3815c6=_0x28ced3;return this[_0x3815c6(0x33e)][_0x3815c6(0x13d)]();}[_0x28ced3(0x266)](){const _0x3d97ab=_0x28ced3;this[_0x3d97ab(0x4e1)](),this[_0x3d97ab(0x54e)]();}[_0x28ced3(0x20f)](){const _0x5d82f2=_0x28ced3;super[_0x5d82f2(0x20f)](),this[_0x5d82f2(0x3e7)][_0x5d82f2(0x2ea)](_0x4fa733=>_0x4fa733[_0x5d82f2(0x20f)]()),this[_0x5d82f2(0x3e7)][_0x5d82f2(0x38a)](),this['_status$'][_0x5d82f2(0x21f)]();}async[_0x28ced3(0x18c)](_0x44828e){const _0x47ab7b=_0x28ced3;if(this[_0x47ab7b(0x3e7)]['has'](_0x44828e))return this[_0x47ab7b(0x3e7)][_0x47ab7b(0x177)](_0x44828e);this['_tryEnsureSocket']();const _0x92aef6=this[_0x47ab7b(0x23f)][_0x47ab7b(0x140)](is,_0x44828e,this[_0x47ab7b(0x33e)]['asObservable']());return this[_0x47ab7b(0x3e7)]['set'](_0x44828e,_0x92aef6),_0x92aef6;}[_0x28ced3(0x182)](_0x14485d){const _0x1072ea=_0x28ced3;var _0x7e5625;const _0x3e0aed=this[_0x1072ea(0x3e7)][_0x1072ea(0x177)](_0x14485d);_0x3e0aed&&(this['_sessions'][_0x1072ea(0x488)](_0x14485d),_0x3e0aed[_0x1072ea(0x3c8)]()),this[_0x1072ea(0x3e7)][_0x1072ea(0x457)]||(_0x7e5625=this['_socket'])==null||_0x7e5625[_0x1072ea(0x3c8)]();}[_0x28ced3(0x486)](){const _0x5996c2=_0x28ced3;this['_retryCount']=0x0,this[_0x5996c2(0x179)]!=null&&(clearTimeout(this[_0x5996c2(0x179)]),this[_0x5996c2(0x179)]=null),this['_tryReconnect']();}async[_0x28ced3(0x3bb)](){const _0x92895e=_0x28ced3;var _0x22fa6d,_0x3e3d87,_0xbed5a9;const _0x27bbc8=this['_configService'][_0x92895e(0x4bd)](ee),_0x3a9093=(_0x22fa6d=_0x27bbc8==null?void 0x0:_0x27bbc8[_0x92895e(0x4bf)])!=null?_0x22fa6d:En;return(_0xbed5a9=(_0x3e3d87=(await this[_0x92895e(0x195)][_0x92895e(0x177)](_0x3a9093,{'headers':{'Content-Type':_0x92895e(0x44f)}}))[_0x92895e(0x43e)])==null?void 0x0:_0x3e3d87[_0x92895e(0x206)])!=null?_0xbed5a9:'';}[_0x28ced3(0x3e5)](_0x2b6fb0){const _0x398242=_0x28ced3;var _0xd791cc,_0x1fc239;const _0xb7f3bb=this[_0x398242(0x3f3)][_0x398242(0x4bd)](In),_0x337d0c=this['_configService'][_0x398242(0x4bd)](ee),_0x2dd4c5=(_0x1fc239=(_0xd791cc=_0x337d0c==null?void 0x0:_0x337d0c[_0x398242(0x50b)])!=null?_0xd791cc:_0xb7f3bb)!=null?_0x1fc239:Cn,_0x4f10c2=new URL(_0x2dd4c5,window[_0x398242(0x2c8)]['origin']);return _0x4f10c2['searchParams']['set'](_0x398242(0x553),_0x2b6fb0),_0x4f10c2[_0x398242(0x383)]();}async[_0x28ced3(0x3aa)](){const _0x3d43b0=_0x28ced3,_0x187d40=await this[_0x3d43b0(0x3bb)](),_0x5d6108=this[_0x3d43b0(0x3e5)](_0x187d40),_0xb10982=this['_socketService'][_0x3d43b0(0x4f0)](_0x5d6108);return this['_candidateSocket']=_0xb10982,_0xb10982;}async['_tryEnsureSocket'](){const _0x583786=_0x28ced3;var _0x32d887,_0x1b36bf;try{const _0x3cf00e=(_0x1b36bf=(_0x32d887=this['_socket'])!=null?_0x32d887:this[_0x583786(0x1b1)])!=null?_0x1b36bf:await this[_0x583786(0x3aa)]();if(_0x3cf00e){const _0x5579d8=_0x3cf00e[_0x583786(0x1f2)];_0x3cf00e[_0x583786(0x1f2)]=_0x5e7f24=>(this['_rescheduleHeartbeat'](),_0x5579d8[_0x583786(0x4d0)](_0x3cf00e,[_0x5e7f24])),_0x3cf00e[_0x583786(0x33b)]['subscribe'](_0x5b97db=>this['_onMessage'](_0x3cf00e,_0x5b97db)),_0x3cf00e[_0x583786(0x479)][_0x583786(0x154)](_0x457ded(0x1))['subscribe'](_0x50e526=>this[_0x583786(0x427)][_0x583786(0x25b)](_0x583786(0x1a5),_0x50e526)),_0x3cf00e[_0x583786(0x188)]['pipe'](_0x457ded(0x1))[_0x583786(0x293)](()=>{this['_onConnectionOpen'](_0x3cf00e);}),_0x3cf00e[_0x583786(0x15d)]['pipe'](_0x457ded(0x1))[_0x583786(0x293)](_0x566560=>{const _0x5f175f=_0x583786;this[_0x5f175f(0x427)][_0x5f175f(0x522)](_0x5f175f(0x506),_0x5f175f(0x1e4),_0x566560),this[_0x5f175f(0x2ed)]();});}}catch(_0x46c0b4){this[_0x583786(0x427)][_0x583786(0x25b)](_0x46c0b4),this[_0x583786(0x2ed)]();}}[_0x28ced3(0x536)](_0x26a42d){const _0x44a21b=_0x28ced3;this[_0x44a21b(0x427)][_0x44a21b(0x522)](_0x44a21b(0x506),_0x44a21b(0x316)),_0x26a42d[_0x44a21b(0x1f2)]({'cmd':W[_0x44a21b(0x1a2)]}),this['_rescheduleHeartbeat']();}[_0x28ced3(0x4e1)](){const _0x3e218c=_0x28ced3;window[_0x3e218c(0x43b)](_0x3e218c(0x12d),()=>this['_onOffline']());}[_0x28ced3(0x3fb)](){const _0x39cfe6=_0x28ced3;this[_0x39cfe6(0x297)]=!0x1,this[_0x39cfe6(0x1b1)]=null,this[_0x39cfe6(0x4c5)][_0x39cfe6(0x14b)](ve[_0x39cfe6(0x350)]),this['_socket$'][_0x39cfe6(0x14b)](null),this[_0x39cfe6(0x516)](),this[_0x39cfe6(0x500)]();}[_0x28ced3(0x2ed)](){const _0x26f34d=_0x28ced3;var _0x587949;this[_0x26f34d(0x3fb)](),this[_0x26f34d(0x3c1)]<((_0x587949=this[_0x26f34d(0x3f3)][_0x26f34d(0x4bd)](On))!=null?_0x587949:yn)?(this[_0x26f34d(0x4ce)][_0x26f34d(0x3dd)]({'key':_0x26f34d(0x52b),'type':_0x116338[_0x26f34d(0x18d)],'content':this[_0x26f34d(0x340)]['t']('session.will-retry')}),this['_tryReconnect']()):this[_0x26f34d(0x4ce)][_0x26f34d(0x3dd)]({'key':_0x26f34d(0x52b),'type':_0x116338['Error'],'content':this[_0x26f34d(0x340)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x4f0ea0=_0x28ced3,_0x3c4f6b=()=>{const _0x1135e1=_0x5087;this[_0x1135e1(0x523)]||this['reconnect']();},_0x303f00=()=>{const _0x1c2c28=_0x5087;this[_0x1c2c28(0x523)]||document[_0x1c2c28(0x304)]===_0x1c2c28(0x22d)||this['reconnect']();};window[_0x4f0ea0(0x43b)](_0x4f0ea0(0x543),_0x3c4f6b),document[_0x4f0ea0(0x43b)](_0x4f0ea0(0x1d0),_0x303f00);}[_0x28ced3(0x41d)](){const _0x18da95=_0x28ced3;var _0x2df8a9;const _0x27fca8=this[_0x18da95(0x3c1)],_0x1fd9d5=this['_configService'][_0x18da95(0x4bd)](ee),_0x425806=_0x27fca8===0x0?0x0:((_0x2df8a9=_0x1fd9d5==null?void 0x0:_0x1fd9d5[_0x18da95(0x138)])!=null?_0x2df8a9:Rn)*0x2**_0x27fca8;this[_0x18da95(0x179)]=window['setTimeout'](()=>{const _0x23ce23=_0x18da95;clearTimeout(this[_0x23ce23(0x179)]),this[_0x23ce23(0x179)]=null,this[_0x23ce23(0x2ca)]();},_0x425806),this[_0x18da95(0x3c1)]+=0x1;}[_0x28ced3(0x28c)](_0x3c9728,_0x524066){const _0x1da737=_0x28ced3,{cmd:_0x11aa78}=_0x524066;_0x11aa78===W[_0x1da737(0x1a2)]&&!this[_0x1da737(0x297)]&&(_0x3c9728['memberID']=_0x524066[_0x1da737(0x326)][_0x1da737(0x2b6)],this[_0x1da737(0x33e)][_0x1da737(0x14b)](_0x3c9728),this['_status$'][_0x1da737(0x14b)](ve[_0x1da737(0x4a6)]),this[_0x1da737(0x297)]=!0x0,this[_0x1da737(0x1b1)]=null),_0x11aa78===W[_0x1da737(0x30a)]&&this[_0x1da737(0x516)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){const _0x429f93=_0x28ced3;var _0x48d10c;this['_clearHeartbeatTimer'](),this[_0x429f93(0x156)]=window['setTimeout'](()=>this[_0x429f93(0x4ec)](),(_0x48d10c=this[_0x429f93(0x3f3)][_0x429f93(0x4bd)](bn))!=null?_0x48d10c:Tn);}[_0x28ced3(0x4ec)](){const _0x86e4d8=_0x28ced3;this[_0x86e4d8(0x523)]['send']({'cmd':W[_0x86e4d8(0x30a)]}),this['_waitForHeartbeatResponse']();}[_0x28ced3(0x418)](){const _0xc6a627=_0x28ced3;var _0x20e51d;this[_0xc6a627(0x2b7)]=window[_0xc6a627(0x3b2)](()=>this[_0xc6a627(0x2ed)](),(_0x20e51d=this[_0xc6a627(0x3f3)][_0xc6a627(0x4bd)](Di))!=null?_0x20e51d:Pi);}[_0x28ced3(0x500)](){const _0x5e8640=_0x28ced3;this[_0x5e8640(0x156)]!=null&&(clearTimeout(this[_0x5e8640(0x156)]),this[_0x5e8640(0x156)]=null);}[_0x28ced3(0x516)](){const _0x485c26=_0x28ced3;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x485c26(0x2b7)]),this[_0x485c26(0x2b7)]=null);}};xe=Zn([we(0x0,_0x4dc79e(_0x4ea20b)),we(0x1,_0x4dc79e(_0x9d81ca)),we(0x2,_0x27f618),we(0x3,_0x1b2c35),we(0x4,_0x4267),we(0x5,Ai),we(0x6,_0x4dc79e(_0x327304))],xe);function _0x1eba(){const _0x559875=['clipPath','_keySchedule','getUnhiddenWorksheets','image/jpeg','_onLocalMutation','flatMap','_unitOnClients','_joinRoom','requestParams','backgroundColor','/object/','_memberService','UNIVER_PROJECT','YUUMI_SUBSCRIPTION_NOT_FOUND','_onRemoteACK','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','M0\x200H16V16H0z','RECV','_iKey','PENDING','BlockCipher','SHOULD_CLOSE_CONN','getTypeOfUnitAdded$','InsertRowCommandId','getUniverSheetInstance','_resendTimeout','_waitForHeartbeatResponse','cursorInfo$','hasOwnProperty','_localStorageService','getSheetId','_tryReconnect','LIVESHARE_FETCH_OPERATIONS','UnitEmbedded','_transformStateCache','revision','transformSelections','split','_getSaveTimeout','getStateCache','UNRECOGNIZED','_logService','getMember','triggerDblclick','_loadDoc','onReady','_onRemoteRejected','catch','TOO_MANY_REQUESTS','_collaborationController','SNAPSHOT_URL_KEY','OTHER_CLIENTS_EDITING','LICENSE_IMPORT_SIZE_EXCEEDED','_lastPointer','onlineStatusIcon','YUUMI_UNABLE_LOAD_URL','mutations','sheetId','_hideTimer','getMergeData','AUTHZ_URL_KEY','addEventListener','_selfUnitIDs','unsubscribe','body','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onRemoteAck','LOCAL_CACHE_INTERVAL','createEncryptor','CHANGESET_REJ','awaiting','_shapes','saveImage','InsertRangeMoveRightCommandId','labelPosition','unshift','collaboration.closeRoom','closePath','subject','save','urlChange$','application/json','replaceState','ref','/fetchmissing?from=','getUnitStatus$','result','unit','use','size','loadOfflineData','ivSize','_assignedColors','xlink:href','toLowerCase','JOIN_ROOM_FULL','padding','_scheduleCollaborationTimeoutTimer','_range','min','_members','addObjects','beginPath','FETCH_MISS','fetching\x20missing\x20changesets\x20from\x20','indexOf','/-/object/list','children','_getAnchorBounding','append','_onCursorUpdate','_getUndoStack','FileId','onPointerLeave$','ENSURE_SNAPSHOT_EXECUTION','Cipher','_registerRenderDependencies','currentTheme$','_init','getCurrentUnitForType','APPLY_DUPLICATED','call','fetchThroughInterceptors','error$','measureText','reject','_collabSessionService','encode','newValue','_resendWithTimeout','_awaitingChangeset','_hasher','MSG_FOR_ERROR','reverse','_getCurrentRevision','_notificationService','reconnect','cfg','delete','_uiPartsService','socket$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','then','_changesetReqId','_decreaseWaiting','SerializableCipher','IDLE','[OfflineState]:\x20received\x20acknowledgement.','_handler','toRgbString','_undoStacks','algo','_imageIoService','Decryptor','setCurrentUser','roles','_anchor','fromCollab','getCollabEntity','_updateState','userID','Univer','off-line-single','incrementRevOfUnit','div','dispose$','0\x200\x2017\x2016','[CollaborationEntity]','ONLINE','awaiting_with_pending','getAncestorScale','_removeClearOtherTimer','getActiveSheet','red300','NEW_CHANGESETS','executeCommand','originalMeta','_type','FETCH_MISSING','_updateLocalCache','authzUrl','ACTIVE_UNIT_EVENT_CHANNEL','_sheetTransformSelectionsService','_telemetryService','_sender','102lBUWXQ','_reverseMap','_createInitialState','unpad','randomBytes','colorChannel1','getConfig','_minBufferSize','wsSessionTicketUrl','readInt32LE','BufferedBlockAlgorithm','_transformPreviousActiveRange','onlyLocal','parse','_status$','clamp','_registerDependencies','displayName','_replaceFileID','history','/role','_id','all','_messageService','enc','apply','color','JOIN_ROOM_NOT_ALLOWED','Encryptor','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','disposeUnit','HEARTBEAT_TIMEOUT','/object','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_clearOtherTimers','selection','url','change$','_initRequestHeader','Pkcs7','_stopTelemetryCollaborationNewChangeset','_listenToOfflineEvent','_ensureSubject','lineTo','_instanceService','defineProperty','_onFetchMissResult','clone','NO_OTHER_CLIENTS_EDITING','_initUnitPermissionChange','_process','_initDependencies','_sendHeartbeat','_onRemoteRetry','cmd','includes','createSocket','getResourcesRequest','transformIMECache','csRejEvent','\x20in\x20_schedule.','_heartbeatTimer','_onCursorDelete','_transformStack','getViewport','OffLineSingle','enableLocalCache','Error\x20on\x20receiving\x20event','file','_replayCachedMutations','[SyncedState]:\x20received\x20rejection.','?size=','_clearHeartbeatTimer','_drawAnchor','pluginName','text','Base64','SNAPSHOT_INVALID_SNAPSHOT','[CollaborationSessionService]','[CollaborationUndoRedoService]','row','startTime','8460wTQDIs','collabWebSocketUrl','_transformSelections','_unitStatus','getAllMembers','salt','status$','endColumn','_singleActiveUnitService','CBC','defIds','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_clearTimeoutTimer','editing\x20status\x20changed\x20to','ERROR_IMAGE','propertyIsEnumerable','_collabCursorController','getFocusedUnit','RECT','/universer-api/oidc/authpage','_collaborationSessionService','workbook','roomInfos','_onUserLeave','debug','_socket','repeat','_doCryptBlock','_saveTaskMap','_disableEditing','HMAC','findNodePositionByCharIndex','PasswordBasedCipher','collaboration-session-retry','_ws','splice','allowed','_snapshotService','add','setUndoRedoMutationParamsCache','_roomMembers','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getMemberID','changesets','_onConnectionOpen','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','image/jpg','registerRefRange','syncEditingCollabCursor','skeleton','enableSingleActiveInstanceLock','capture','_docTransformSelectionsService','_nRounds','synced','react.fragment','undoState','online','1em','decrypt','APPLY_PERMISSION_DENIED','getUnit','batchAllowed','enableOfflineEditing','getUndoRedoMutationParamsCache','LEAVE','bind','joinEvent','_listenToOnlineEvent','_entities','UNIVER_SHEET','finalize','hasher','sessionTicket','slice','compose','getTypeOfUnitDisposed$','4003576mXTAKB','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onCombEvent','offline','ceil','\x20-\x20','univer-pro.collaboration-client-socket-service','current','onPointerEnter$','getDocRanges','url(#$1','_onUserJoin','_getAPIPrefixPath','_mode','retryConnectingInterval','UNDEFINED','registerBeforeClose','_acknowledgedAwaitingChangeset','PERMISSION_DENIED','getValue','baseRev','onRemoteRetry','createInstance','font','_sendingTimer','collabSubmitChangesetUrl','assignAColorForMemberID','PERSON','Malformed\x20UTF-8\x20data','routeKey','awaitingChangeset','resolve','_telemetryInfo','next','svg','session.room-full','_sheetSkeletonManagerService','AES','create','withCredentials','_transitionLocked','$super','pipe','restore','_sendHeartbeatTimer','conflict.title','UNAUTHENTICATED','range','resourceIDs','410789QvHcjP','_compressMutationService','close$','_cursor','round','getOffsetConfig','translate(.97)','_docSyncEditingCollabCursorService','purple300','focused$','UNIVER_UNKNOWN','10OMIvzH','LIVESHARE_OPERATION','fetchMissingChangesets','_clearLocalCache','drawWith','738OQhavi','_colorAssignService','collaboration-client.config','c1Prime','saveOfflineData','stopTime','sessionStatus','clearInterval','commentUpdate$','params','_event$','saveSnapshot','get','_getScale','_retryConnectingTimer','sessionStatus$','pad','_context','subscribeEvent','symbol','byteOffset','_toggleOffline','_getSignURL','closeSession','objectID','_incrementRevisionNumber','UPDATE_PERMISSION_OBJ','/resources','_refRangeService','open$','toggleOffline','_imageSourceCache','asObservable','requireSession','Warning','reset','_getSnapshotAPIPrefix','_name','_startTelemetryCollaborationNewChangeset','setItem','_initStatusComponent','Hex','_httpService','getCellPositionByOffset','className','listCollaborators','_getSheetObject','SNAPSHOT_SERVER_URL_KEY','_ENC_XFORM_MODE','startRow','jsx','_undoRedoService','collaMsg','reduce','UNIVER_SLIDE','HELLO','CHANGESET_SHOULD_RETRY','unitID','[CollaborationSessionService]:\x20socket\x20error','disposeWithMe','isActive','_schedule','attrs','INTERNAL_ERROR','_xformMode','_updateCollabCursors','roomMembers','deleteCollaborator','post','default','_candidateSocket','kdf','/-/object/-/batch_allowed','lib','_shouldReportTelemetry','Base','_unlockTransition','session','connection\x20error','onPointerMove$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_key','_hash','_unitID','_transformHistoryAndStateStack','transformChangesets','roomMembers$','Could\x20not\x20dynamically\x20require\x20\x22','MD5','resize','headers','_throwTelemetryCollaborationNewChangeset','updateMember','_removeCollabCursors','_scheduleClearOtherTimer','COMPLETION_FINISHED','UnitSnapshot','ALREADY_EXISTS','eventID','arc','avatar','visibilitychange','_clearScheduledTask','path','TEXT','_transformRemoteChangesetByStateCache','charCodeAt','icon','blockSize','max','SNAPSHOT_HAS_BEEN_REMOVED','8810GRmhHN','_eventUnsubscribe','getItem','collab-rect-range-','_anchorDot','collaborators','now','/universer-api/snapshot/','JOIN','push','socket\x20close','_substituteUndoStack','copyFileMeta','evenodd','objectType','_data','editingUnit','univer-online-status','_labelPosition','transformStateCache','_changesetSessionId','MoveRangeCommandId','state','confirm','send','floor','getUnitOnRev','onlineStatusTitle','addImageSourceCache','loadDoc','_cachedData','_univerInstanceService','bottom','_docSkeleton','_startSheetCollabCursor','POST','getSheetBySheetId','INVALID_ARGUMENT','ranges','from','_createHelper','_docTransformIMECacheService','[SyncedState]:\x20received\x20acknowledgement.','black','ticket','_initMergeInterceptor','ws://127.0.0.1:8000/universer-api/comb/connect','_lockTransition','INGEST','Unknown\x20user','transformStack\x20failed!','pushState','getCurrentUser','dispose','cursorInfo','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','addObject','_map','_clearRedo','csAckEvent','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_URL_COL_OUT_OF_RANGE','_fetchMissChangesets','getWorkbookSelections','NOT_FOUND','decryptBlock','UNIVER_DOC','subUnitId','prototype','complete','off-line-single_clip0_910_343','_append','_scheduleSaving','0\x200\x2016\x2016','idSuffix','_isPermissionRej','_startCollaboration','unitId\x20is\x20not\x20found','createCollaborator','_cursors','buffer','pauseCollaboration','HttpExport','hidden','getTime','_executeRemoteChangeset','replaceDocRanges','_themeService','collabCursorState$','every','onTransformState','none','json','USERS_ENTER','has','_setupBeforeClosingHandler','_clearUndo','_cipher','_snapshotServerService','getOwnPropertyDescriptor','sendChangesetTimeout','_injector','_draw','_saveCache','processBlock','_hover','moveTo','onSyncEditingCollabCursor','SUBMIT_CHANGESET','mixIn','_change$','extend','concat','encodeURIComponent','snapshotServerUrl','UNKNOWN_CMD','31376QIeRjx','_roomMembers$','entries','readAsDataURL','USERS_LEAVE','uploadFileServerUrl','_transformRemoteChangesetByIMECache','__creator','commentUpdateEvent','_disabled','onTransformRemoteChangesetByStateCache','_toggleOnline','HEADER_MENU','error','/universer-api/user/session-ticket','activeSheet$','_getRedoStack','currentSkeleton$','_redoStacks','_color','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','updatePermissionPoint','socketService','random','_initEventListeners','onRendered','auth.needGotoLoginAlert','univer-pro.collaboration-client.single-active-unit-service','UNKNOWN_CODE','encryptBlock','LIVESHARE_TERMINATE','_hovered','rgba(255,\x20255,\x20255,\x200.01)','imageSourceType','abs','map','_collaborationPaused','updateOfflineData','_getUploadFileURL','_initResize','_applyRemoteChangeset','downloadEndpointUrl','EvpKDF','_drawTextRange','onMouseMove','stringify','some','[PendingState]:\x20received\x20rejection.','event$','top','YUUMI_RATE_OVER_LIMIT','collabStatus.offline','_colorIndex','textRanges','unitId','_state','LICENSE_EXPORT_SIZE_EXCEEDED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadSheet','column','width','failed\x20to\x20apply\x20missed\x20changesets!','_onMessage','PERMISSION_REJ','LICENSE_MAX_UNITS_EXCEEDED','onTransformSelections','_refreshCollabCursors','_exhaustRemoteChangesetQueue','_createHmacHelper','subscribe','onTransformChange$','FromArray','univer-offline','_socketReady','encrypt','RemoveRowCommandId','/allowed','unknown','_updateLocalCursor','collabStatus.fetchMiss','setShowComponents','removeMember','_send','clearTimeout','init','trim','getCollabCursors$','getRandomValues','m1Prime','registerHTTPInterceptor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CHANGESET_REVISION_CONFILICT','FAIL','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onStateChange','onMissedChangesetFetched','signUrlServerUrl','_scheduleHeartbeat','SEND_CHANGESET_TIMEOUT','setStateCache','doc.mutation.rich-text-editing','_localCacheService','_session','substr','memberID','_timeoutTimer','_revisionService','conflict','unit-cache-','sheetID','assign','getCollabEntity$','NOT_COLLAB','collabStatus.conflict','action','DeleteRangeMoveLeftCommandId','_onRecvEvent','_online','words','CONNECTOR_DATA_TOO_LARGE','onlineStatus','defaultProps','location','format','_tryEnsureSocket','_state$','onCommandExecuted','HttpImport','_nDataBytes','function','transformByState','__esModule','InsertColCommandId','code','onRemoteChangeset','_getCtorByUniverType','getImageSourceCache','ReactCurrentOwner','fetchMiss','on-line-single','Error','_syncEditingCollabCursorService','onTransformRemoteChangesetByIMECache','transform','onRemoteRej','_pendingMutations','formatter','UPDATE_CURSOR','_handleEvent','subunit','onTransformIME','COMPRESS_MUTATION_SEND','generateRandomId','_cursorShapes','transformUndoRedo','HEARTBEAT_INTERVAL','forEach','randomUUID','duration','_onConnectionFailed','deepClone','ERROR_EXCEED_SIZE','MUTATION','m2Prime','jsxs','_checkMissing','onCommentUpdate','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','put','crypto','_parse','with','_document','DeleteRangeMoveUpCommandId','BlockCipherMode','href','fillStyle','_HTTPService','_sessionStatus$','APPLY_REJECT','save\x20fail\x20reason\x20is\x20','hide','visibilityState','collabStatus.syncing','Latin1','univer-online','compute','_handleLeaveEvent','HEARTBEAT','image/bmp','join','redoState','_textBubble','onSendChangeset','leaveEvent','length','OnLineSingle','makeDirty','hostname','getRenderById','socket\x20open.','SUCCUSS','members','_beforeCloseService','liveShareNewHost','_handleHeartbeatEvent','type','_iv','_renderManagerService','_remoteChangesetQueue','_scene','setWaitCount','_resendTimer','CipherParams','sigBytes','getSkeleton','data','_updateStatus','_waitCount','[CollaborationSession]','set','setActiveRange','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_REVISION_CONFILICT','_DEC_XFORM_MODE','msCrypto','OpenSSL','_transformUndoRedoStack','collaboration.single-unit.warning','permission.title','_getSendChangesetTimeout','/rev/','HmacMD5','39611902qzwgPY','number','title','collab-client.tooltip.reconnect','message$','_initCloseConn','joinRsp','_socket$','getImage','_localeService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_commentService','image/png','getInterceptPoints','getRangePointData','_updateURLWithCurrentState','uni.network.url-service','_keyPriorReset','isPermissionRej','UniverIcon','putCollaborators','fetch_missing','_entityInit$','[FetchMissState]','NoPadding','OFFLINE','fill','name','AWAITING_WITH_PENDING','_handleHover','fillText','height','/universer-api/comb','for','_socketMessageSubscription','_syncEditingCollabCursor','_collabCursorState$','defs','reqId','_userManagerService','_collaborationTimeoutTimer','[OfflineState]:\x20received\x20changeset.','_onConflict','on-line-single_clip0_910_349','url(#on-line-single_clip0_910_349)','_doFinalize','...','gold400','getUnitId','#fff','ERROR_IMAGE_TYPE','_render','startColumn','_createHandler','registerComponent','?url=','_backgroundColor','getParam','LIVESHARE_REQUEST_HOST','univer-online-status-icon','key','currentColor','snapshot','408TfgPBG','_docStateChangeManagerService','PSEUDO_FETCH_MISSING_RESULT','_getDownloadEndpointURL','_queuedRemoteChangesets','DEFAULT_FILE_NAME','getCurrentSelections','_prevBlock','sin','getVpScrollXYInfoByPosToVp','_showConflictNotification','COMPRESS_MUTATION_APPLY','COMMENT_UPDATE','toString','fillRule','selections','disableLocalCache','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_drawRectRange','_submitChangeset','clear','Hasher','interceptor','\x0aAfter:\x20','collab-text-anchor-','rev','liveShareOperation','createDecryptor','/block/','searchParams','exports','collab-text-range-','url(#off-line-single_clip0_910_343)','getCurrent','_startDocCollabCursor','_docClipboardService','replace','AWAITING','_transformUndoredo','submit\x20changeset\x20error!','setShapeProps','People','setAlpha','execute','setConfig','JOINING','registerRenderModule','fromCharCode','pending','_permissionService','permission.content','status','_createSocket','appendMutation','setParam','_getMergeRange','keySize','\x0aCurrent:\x20','_docTransformStateCacheService','mode','setTimeout','_http','/collaborator','[UniverCollaborationClientPlugin]','_updateSubUnitFromURLParams','_handleJoinEvent','_transformIMECache','transformMutationsWithChangeset','unload','_getSessionTicket','__Key__','engine','_doReset','getOwnPropertySymbols','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_retryCount','univerjs-icon\x20univerjs-icon-','SHA1','CHANGESET_ACK','LIVESHARE_NEW_HOST','resend','isArray','close','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','enableAuthServer','_urlService','_commentUpdate$','ciphertext','objectActions','src','_getLoginPath','state$','RETRY_CONNECTING_MAX_COUNT','_scheduleTimestamp','string','transformRemoteChangeset','/unit/','WordArray','_transformService','Undefined','tag','Utf8','find','show','_initCommandExecutedListener','actions','_getAPIPrefix','getCurrentRevOfUnit','values','isEditing','_loadSheet','_createSocketURL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_sessions','sid','_config','SYNCED','getUnitType','list','toggleOnline','_commandService','/universer-api/authz','_clearCollaborationTimeoutTimer','getActiveRange','_setupSubUnitSync','_configService','5726140GNkbaQ','LICENSE_DISTRO_REJECTED','conflict.content','transformMutation','APPLY_NON_SEQUENTIAL_REVISION','onMissingChangesets','[DataLoaderController]','_onOffline','update','_cursorInfo$'];_0x1eba=function(){return _0x559875;};return _0x1eba();}const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x28ced3(0x1e3)]((i+0x100)[_0x28ced3(0x383)](0x10)[_0x28ced3(0x554)](0x1));function Qn(_0x35a7f0,_0x5893aa=0x0){const _0xf7d610=_0x28ced3;return(Y[_0x35a7f0[_0x5893aa+0x0]]+Y[_0x35a7f0[_0x5893aa+0x1]]+Y[_0x35a7f0[_0x5893aa+0x2]]+Y[_0x35a7f0[_0x5893aa+0x3]]+'-'+Y[_0x35a7f0[_0x5893aa+0x4]]+Y[_0x35a7f0[_0x5893aa+0x5]]+'-'+Y[_0x35a7f0[_0x5893aa+0x6]]+Y[_0x35a7f0[_0x5893aa+0x7]]+'-'+Y[_0x35a7f0[_0x5893aa+0x8]]+Y[_0x35a7f0[_0x5893aa+0x9]]+'-'+Y[_0x35a7f0[_0x5893aa+0xa]]+Y[_0x35a7f0[_0x5893aa+0xb]]+Y[_0x35a7f0[_0x5893aa+0xc]]+Y[_0x35a7f0[_0x5893aa+0xd]]+Y[_0x35a7f0[_0x5893aa+0xe]]+Y[_0x35a7f0[_0x5893aa+0xf]])[_0xf7d610(0x45c)]();}let Mt;const eo=new Uint8Array(0x10);function to(){const _0x55f0c6=_0x28ced3;if(!Mt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Mt=crypto[_0x55f0c6(0x2a5)][_0x55f0c6(0x54c)](crypto);}return Mt(eo);}const so=typeof crypto<'u'&&crypto[_0x28ced3(0x2eb)]&&crypto['randomUUID'][_0x28ced3(0x54c)](crypto),Fs={'randomUUID':so};function io(_0x213f6c,_0x556ec3,_0x2ab7a4){const _0x2a258d=_0x28ced3;if(Fs[_0x2a258d(0x2eb)]&&!_0x556ec3&&!_0x213f6c)return Fs['randomUUID']();_0x213f6c=_0x213f6c||{};const _0xa2bdf5=_0x213f6c[_0x2a258d(0x265)]||(_0x213f6c['rng']||to)();return _0xa2bdf5[0x6]=_0xa2bdf5[0x6]&0xf|0x40,_0xa2bdf5[0x8]=_0xa2bdf5[0x8]&0x3f|0x80,Qn(_0xa2bdf5);}var ro=Object[_0x28ced3(0x4e5)],no=Object[_0x28ced3(0x23d)],oo=(_0x409d89,_0x1b964a,_0x41f49a,_0x47d8fe)=>{for(var _0x21589d=_0x47d8fe>0x1?void 0x0:_0x47d8fe?no(_0x1b964a,_0x41f49a):_0x1b964a,_0x28498b=_0x409d89['length']-0x1,_0x5e9670;_0x28498b>=0x0;_0x28498b--)(_0x5e9670=_0x409d89[_0x28498b])&&(_0x21589d=(_0x47d8fe?_0x5e9670(_0x1b964a,_0x41f49a,_0x21589d):_0x5e9670(_0x21589d))||_0x21589d);return _0x47d8fe&&_0x21589d&&ro(_0x1b964a,_0x41f49a,_0x21589d),_0x21589d;},xt=(_0x284f65,_0x695b64)=>(_0x2ada76,_0x1e870e)=>_0x695b64(_0x2ada76,_0x1e870e,_0x284f65);let vt=class{constructor(_0x263194,_0x5d0fae,_0x3ded8c){const _0x341a20=_0x28ced3;this[_0x341a20(0x23f)]=_0x263194,this['_transformService']=_0x5d0fae,this[_0x341a20(0x31e)]=_0x3ded8c;}['transformIMECache'](_0x367ac0){const _0x548e2f=_0x28ced3;this[_0x548e2f(0x331)](_0x367ac0),this[_0x548e2f(0x4c2)](_0x367ac0);}[_0x28ced3(0x3d5)](_0x5b7547){const _0x1ce9d1=_0x28ced3,{unitID:_0x17251b}=_0x5b7547,_0x32c9e3=this[_0x1ce9d1(0x31e)][_0x1ce9d1(0x315)](_0x17251b)[_0x1ce9d1(0x2f9)](_0x1727f3),{redoCache:_0x3186e1}=_0x32c9e3[_0x1ce9d1(0x54a)]();if(_0x3186e1[_0x1ce9d1(0x311)]===0x0)return _0x5b7547;let _0x202919=_0x504575['deepClone'](_0x5b7547['mutations'][0x0]);for(let _0x5d0563=0x0;_0x5d0563<_0x3186e1[_0x1ce9d1(0x311)];_0x5d0563++){const _0xed9f3d={'id':_0x1ce9d1(0x2b2),'params':{..._0x3186e1[_0x5d0563]}},_0x3beec7=this['_transformService'][_0x1ce9d1(0x3f7)](_0x202919,_0xed9f3d,!0x1);if(_0x490046(_0x3beec7))throw _0x3beec7[_0x1ce9d1(0x25b)];_0x202919=_0x3beec7[_0x1ce9d1(0x2a6)];}return{..._0x504575[_0x1ce9d1(0x2ee)](_0x5b7547),'mutations':[_0x202919]};}[_0x28ced3(0x331)](_0x509104){const _0x1d2561=_0x28ced3,{unitID:_0x3586c3}=_0x509104,_0x4a81bb=this[_0x1d2561(0x31e)]['getRenderById'](_0x3586c3)['with'](_0x1727f3),{undoCache:_0x2cc408,redoCache:_0x1678ac}=_0x4a81bb[_0x1d2561(0x54a)]();if(_0x2cc408[_0x1d2561(0x311)]===0x0||_0x1678ac[_0x1d2561(0x311)]===0x0)return;const _0x3d9b27=[],_0x325abb=[];let _0x4be67e=_0x504575['deepClone'](_0x509104[_0x1d2561(0x436)][0x0]),_0x83dd0c=_0x504575['deepClone'](_0x509104['mutations'][0x0]);for(let _0x1c39ca=_0x2cc408[_0x1d2561(0x311)]-0x1;_0x1c39ca>=0x0;_0x1c39ca--){const _0x4633b3={'id':_0x1d2561(0x2b2),'params':{..._0x2cc408[_0x1c39ca]}},_0x3365c3={'id':_0x1d2561(0x2b2),'params':{..._0x1678ac[_0x1c39ca]}},_0x194c2b=this[_0x1d2561(0x3d8)][_0x1d2561(0x3f7)](_0x4be67e,_0x4633b3,!0x1),_0x391028=this['_transformService']['transformMutation'](_0x83dd0c,_0x3365c3,!0x1);if(_0x490046(_0x194c2b))throw _0x194c2b['error'];if(_0x490046(_0x391028))throw _0x391028[_0x1d2561(0x25b)];_0x3d9b27[_0x1d2561(0x449)](_0x194c2b[_0x1d2561(0x2f1)]['params']),_0x325abb[_0x1d2561(0x449)](_0x391028[_0x1d2561(0x2f1)][_0x1d2561(0x174)]),_0x4be67e=_0x194c2b['m1Prime'],_0x83dd0c=_0x391028[_0x1d2561(0x2a6)];}_0x4a81bb[_0x1d2561(0x531)]({'undoCache':_0x3d9b27,'redoCache':_0x325abb});}[_0x28ced3(0x4c2)](_0x49146f){const _0x160963=_0x28ced3,{unitID:_0x3183f4}=_0x49146f,_0x52d926=this[_0x160963(0x31e)][_0x160963(0x315)](_0x3183f4)['with'](_0x1727f3),_0x507050=_0x52d926[_0x160963(0x3f1)]();if(_0x507050==null)return;const _0x56b6c9=[{'id':_0x160963(0x2b2),'params':{'unitId':_0x49146f[_0x160963(0x1a4)],'actions':null,'textRanges':[_0x507050]}}],_0x49a385=this[_0x160963(0x3d8)][_0x160963(0x3b9)](_0x49146f,_0x56b6c9);if(!_0x6f1506(_0x49a385))throw _0x49a385[_0x160963(0x25b)];const _0x279717=_0x49a385['m2Prime'][0x0][_0x160963(0x174)][_0x160963(0x283)];Array['isArray'](_0x279717)&&_0x279717[_0x160963(0x311)]&&_0x52d926[_0x160963(0x32b)](_0x279717[0x0]);}};vt=oo([xt(0x0,_0x4dc79e(_0x4ea20b)),xt(0x1,_0x56dcb7),xt(0x2,_0x35a6f3)],vt);var ao=Object[_0x28ced3(0x4e5)],co=Object['getOwnPropertyDescriptor'],ho=(_0x35ec76,_0x5444db,_0x15fcd5,_0x450587)=>{const _0xbdeb98=_0x28ced3;for(var _0x76baeb=_0x450587>0x1?void 0x0:_0x450587?co(_0x5444db,_0x15fcd5):_0x5444db,_0x5db098=_0x35ec76[_0xbdeb98(0x311)]-0x1,_0x31e41b;_0x5db098>=0x0;_0x5db098--)(_0x31e41b=_0x35ec76[_0x5db098])&&(_0x76baeb=(_0x450587?_0x31e41b(_0x5444db,_0x15fcd5,_0x76baeb):_0x31e41b(_0x76baeb))||_0x76baeb);return _0x450587&&_0x76baeb&&ao(_0x5444db,_0x15fcd5,_0x76baeb),_0x76baeb;},Xe=(_0x46aeff,_0x22ea5e)=>(_0x103a09,_0x3354f3)=>_0x22ea5e(_0x103a09,_0x3354f3,_0x46aeff);function _0x5087(_0x7dfe00,_0x24fc7c){const _0x1eba98=_0x1eba();return _0x5087=function(_0x508701,_0x4a7edc){_0x508701=_0x508701-0x12a;let _0x42c72f=_0x1eba98[_0x508701];return _0x42c72f;},_0x5087(_0x7dfe00,_0x24fc7c);}let q=class extends _0x4b4314{constructor(_0x1b4fd9,_0x56a662,_0x180682,_0x20a5ed,_0xd0a81b){const _0x474bd2=_0x28ced3;super(),g(this,'_cachedData',new Map()),g(this,_0x474bd2(0x526),new Map()),g(this,_0x474bd2(0x257),!0x1),(this[_0x474bd2(0x3f3)]=_0x1b4fd9,this['_localStorageService']=_0x56a662,this[_0x474bd2(0x319)]=_0x180682,this[_0x474bd2(0x340)]=_0x20a5ed,this[_0x474bd2(0x2b8)]=_0xd0a81b,this[_0x474bd2(0x239)]());}[_0x28ced3(0x386)](){this['_disabled']=!0x0;}[_0x28ced3(0x4fa)](){const _0x3a31b2=_0x28ced3;this[_0x3a31b2(0x257)]=!0x1;}[_0x28ced3(0x20f)](){const _0x21edab=_0x28ced3;this['exhaustSavingTask']()[_0x21edab(0x48c)](()=>super[_0x21edab(0x20f)]());}async[_0x28ced3(0x458)](_0x190e28){const _0x446d9e=_0x28ced3;return this[_0x446d9e(0x257)]?null:this[_0x446d9e(0x41b)][_0x446d9e(0x1dc)](Vs(_0x190e28));}async[_0x28ced3(0x16f)](_0x3d153e,_0x2b0204){const _0x52687d=_0x28ced3;return!!this[_0x52687d(0x41b)][_0x52687d(0x192)](_0x3d153e,_0x2b0204);}[_0x28ced3(0x273)](_0x2e67a1,_0xff376b,_0x2fc5fd,_0x334707){const _0x392723=_0x28ced3,_0x408514=this['_revisionService'][_0x392723(0x3e1)](_0x2e67a1);this[_0x392723(0x1f8)]['set'](_0x2e67a1,{'unitID':_0x2e67a1,'type':_0xff376b,'awaitingChangeset':_0x2fc5fd,'mutations':_0x334707,'rev':_0x408514}),this[_0x392723(0x526)][_0x392723(0x238)](_0x2e67a1)||this[_0x392723(0x222)](_0x2e67a1);}['_scheduleSaving'](_0x196eb3){const _0x4c0889=_0x28ced3,_0x1b7499=this[_0x4c0889(0x424)]();_0x1b7499===0x0?this['_saveCache'](_0x196eb3):this[_0x4c0889(0x526)][_0x4c0889(0x32a)](_0x196eb3,setTimeout(()=>this['_saveCache'](_0x196eb3),_0x1b7499));}[_0x28ced3(0x424)](){const _0x4d3fbd=_0x28ced3;var _0x164abe;return(_0x164abe=this['_configService'][_0x4d3fbd(0x4bd)](wn))!=null?_0x164abe:Dn;}[_0x28ced3(0x241)](_0x24cbf1){const _0x1595bd=_0x28ced3,_0x636118=this[_0x1595bd(0x526)][_0x1595bd(0x177)](_0x24cbf1);return _0x636118!==void 0x0&&window[_0x1595bd(0x2a1)](_0x636118),this[_0x1595bd(0x41b)][_0x1595bd(0x192)](Vs(_0x24cbf1),this[_0x1595bd(0x1f8)]['get'](_0x24cbf1))['then'](()=>this[_0x1595bd(0x526)][_0x1595bd(0x488)](_0x24cbf1));}async['exhaustSavingTask'](){const _0x4d4516=_0x28ced3,_0x2da146=[];this['_saveTaskMap'][_0x4d4516(0x2ea)]((_0x1c6a88,_0xd33e12)=>{const _0x45c327=_0x4d4516;window[_0x45c327(0x2a1)](_0x1c6a88),_0x2da146['push'](this[_0x45c327(0x241)](_0xd33e12)[_0x45c327(0x48c)](()=>{const _0x839073=_0x45c327;this['_saveTaskMap'][_0x839073(0x488)](_0xd33e12);}));}),await Promise[_0x4d4516(0x4cd)](_0x2da146);}['_setupBeforeClosingHandler'](){const _0x199ee8=_0x28ced3;this[_0x199ee8(0x1a6)](this[_0x199ee8(0x319)][_0x199ee8(0x13a)](()=>{const _0x47a5c7=_0x199ee8;if(this['_saveTaskMap'][_0x47a5c7(0x457)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}};q=ho([Xe(0x0,_0x4267),Xe(0x1,_0x2502b3),Xe(0x2,_0x4705f1),Xe(0x3,_0x4dc79e(_0x9d81ca)),Xe(0x4,_0x4dc79e(_0x1dece0))],q);function Vs(_0xcf780e){const _0x5999a9=_0x28ced3;return _0x5999a9(0x2ba)+_0xcf780e;}var lo=Object[_0x28ced3(0x4e5)],_o=Object[_0x28ced3(0x23d)],uo=(_0x3f1b0b,_0x4c4e67,_0x872163,_0x1f5373)=>{const _0x5b2455=_0x28ced3;for(var _0x198fe2=_0x1f5373>0x1?void 0x0:_0x1f5373?_o(_0x4c4e67,_0x872163):_0x4c4e67,_0x4619ee=_0x3f1b0b[_0x5b2455(0x311)]-0x1,_0x5ef826;_0x4619ee>=0x0;_0x4619ee--)(_0x5ef826=_0x3f1b0b[_0x4619ee])&&(_0x198fe2=(_0x1f5373?_0x5ef826(_0x4c4e67,_0x872163,_0x198fe2):_0x5ef826(_0x198fe2))||_0x198fe2);return _0x1f5373&&_0x198fe2&&lo(_0x4c4e67,_0x872163,_0x198fe2),_0x198fe2;},Lt=(_0x2c13a0,_0x42db7f)=>(_0x430d0d,_0x5cc90d)=>_0x42db7f(_0x430d0d,_0x5cc90d,_0x2c13a0);function fo(_0x1d9f50){const _0x185152=_0x28ced3,{unitID:_0x7bb9d1,mutations:_0x4fa37b}=_0x1d9f50;return{'unitId':_0x7bb9d1,'subUnitId':_0x4fa37b[0x0][_0x185152(0x174)][_0x185152(0x21d)]};}let mt=class{constructor(_0x1f1449,_0x1f3bfe,_0x3f4fbc){const _0x481d3d=_0x28ced3;this['_injector']=_0x1f1449,this['_transformService']=_0x1f3bfe,this[_0x481d3d(0x4e4)]=_0x3f4fbc;}[_0x28ced3(0x422)](_0x158290){const _0x515c62=_0x28ced3;var _0x4545b9,_0x34347f,_0x463aa1,_0x38b9b0;const _0x4fa638=this[_0x515c62(0x23f)][_0x515c62(0x177)](_0x5c8e36),{unitId:_0x14eb2c,subUnitId:_0x32ead8}=fo(_0x158290),_0x30cc88=_0x4fa638[_0x515c62(0x219)](_0x14eb2c)[_0x515c62(0x37c)](),_0x40a018=(_0x34347f=(_0x4545b9=this[_0x515c62(0x4e4)][_0x515c62(0x547)](_0x14eb2c))==null?void 0x0:_0x4545b9[_0x515c62(0x4aa)]())==null?void 0x0:_0x34347f['getSheetId']();if(_0x30cc88[_0x515c62(0x311)]===0x0||!_0x14eb2c||!_0x32ead8)return;const _0x42fa44=[{'id':_0x5b97c7['id'],'params':{'unitId':_0x14eb2c,'subUnitId':_0x40a018,'selections':_0x504575['deepClone'](_0x30cc88)}}],_0xf3b148=this['_transformService'][_0x515c62(0x3b9)](_0x158290,_0x42fa44);if(!_0x6f1506(_0xf3b148))throw _0xf3b148[_0x515c62(0x25b)];const _0x44f3d4=(_0x38b9b0=(_0x463aa1=_0xf3b148['m2Prime'][0x0])==null?void 0x0:_0x463aa1[_0x515c62(0x174)])==null?void 0x0:_0x38b9b0[_0x515c62(0x385)];if(Array['isArray'](_0x44f3d4)&&_0x44f3d4['length']){if(_0x44f3d4['length']===_0x42fa44[0x0][_0x515c62(0x174)][_0x515c62(0x385)]['length']&&_0x44f3d4[_0x515c62(0x233)]((_0xb3d1ba,_0x51085b)=>_0x34983c['equals'](_0xb3d1ba[_0x515c62(0x159)],_0x42fa44[0x0][_0x515c62(0x174)][_0x515c62(0x385)][_0x51085b][_0x515c62(0x159)])))return;this[_0x515c62(0x23f)]['get'](_0x10f0f3)[_0x515c62(0x4ad)](_0x5b97c7['id'],{'unitId':_0x14eb2c,'subUnitId':_0x40a018,'selections':_0x44f3d4});}}};mt=uo([Lt(0x0,_0x4dc79e(_0x4ea20b)),Lt(0x1,_0x56dcb7),Lt(0x2,_0x3f5641)],mt);const yt=_0x59c894(_0x28ced3(0x269));var xi=(_0x4207d4=>(_0x4207d4[_0x4207d4[_0x28ced3(0x4e8)]=0x0]=_0x28ced3(0x4e8),_0x4207d4[_0x4207d4[_0x28ced3(0x431)]=0x1]=_0x28ced3(0x431),_0x4207d4))(xi||{});const Gs=0x7530,Ys=_0x28ced3(0x4b3);class vo extends _0x4b4314{constructor(){const _0xe02110=_0x28ced3;super(),g(this,'_id',_0x504575[_0xe02110(0x2e6)]()),g(this,_0xe02110(0x43c),new Set()),g(this,_0xe02110(0x404),new Map()),g(this,'_heartbeatTimer',null),g(this,_0xe02110(0x4da),new Map()),g(this,_0xe02110(0x50d),new Map()),this[_0xe02110(0x474)]();}[_0x28ced3(0x20f)](){const _0x18f01b=_0x28ced3;super[_0x18f01b(0x20f)](),this[_0x18f01b(0x4da)][_0x18f01b(0x2ea)]((_0x12e07c,_0x4391be)=>this[_0x18f01b(0x4a9)](_0x4391be)),this[_0x18f01b(0x4f5)]&&window['clearInterval'](this[_0x18f01b(0x4f5)]);}[_0x28ced3(0x453)](_0x51d683){const _0x2e0d5e=_0x28ced3;return this[_0x2e0d5e(0x4e2)](_0x51d683)[_0x2e0d5e(0x154)](_0x2eddff());}[_0x28ced3(0x1ea)](_0x1d8fe7){const _0x2cbec7=_0x28ced3;this[_0x2cbec7(0x43c)][_0x2cbec7(0x457)]===0x0&&this[_0x2cbec7(0x2af)](),this['_selfUnitIDs'][_0x2cbec7(0x530)](_0x1d8fe7),this[_0x2cbec7(0x2a0)]({'type':0x0,'memberID':this[_0x2cbec7(0x4cc)],'unitIDs':[_0x1d8fe7],'isForwarded':!0x1});}[_0x28ced3(0x4d5)](_0x3d0b8d){const _0x4e7765=_0x28ced3;this['_selfUnitIDs'][_0x4e7765(0x488)](_0x3d0b8d),this['_selfUnitIDs'][_0x4e7765(0x457)]===0x0&&this['_heartbeatTimer']&&window[_0x4e7765(0x172)](this[_0x4e7765(0x4f5)]);}[_0x28ced3(0x474)](){const _0x58c31d=_0x28ced3;this[_0x58c31d(0x1a6)](_0x504803(_0x150ad0(window,'storage')[_0x58c31d(0x293)](_0x226347=>{const _0x31f7a7=_0x58c31d;if(_0x226347[_0x31f7a7(0x373)]!==Ys||!_0x226347[_0x31f7a7(0x47e)])return;const _0x3a5003=JSON[_0x31f7a7(0x4c4)](_0x226347[_0x31f7a7(0x47e)]);this['_handleEvent'](_0x3a5003);}))),window[_0x58c31d(0x43b)](_0x58c31d(0x3ba),()=>this[_0x58c31d(0x2a0)]({'type':0x1,'memberID':this[_0x58c31d(0x4cc)],'unitIDs':Array[_0x58c31d(0x201)](this[_0x58c31d(0x43c)])}));}[_0x28ced3(0x2e2)](_0x237346){const _0x3e20db=_0x28ced3;switch(_0x237346['type']){case 0x0:this[_0x3e20db(0x3b7)](_0x237346);break;case 0x1:this['_handleLeaveEvent'](_0x237346);break;case 0x2:this[_0x3e20db(0x31b)](_0x237346);break;}}['_handleJoinEvent'](_0x53bede){const _0x1e6b09=_0x28ced3,{unitIDs:_0x58a3bf,memberID:_0x1cd292,isForwarded:_0x1e0cb2}=_0x53bede;_0x58a3bf['forEach'](_0x2c6222=>{const _0xaf4572=_0x5087;if(!_0x1e0cb2&&this[_0xaf4572(0x404)][_0xaf4572(0x238)](_0x2c6222)&&this['_ensureSubject'](_0x2c6222)['next'](0x1),!this[_0xaf4572(0x404)]['has'](_0x2c6222)||!this[_0xaf4572(0x404)][_0xaf4572(0x177)](_0x2c6222)[_0xaf4572(0x238)](_0x1cd292)){const _0x49bd96=this[_0xaf4572(0x404)][_0xaf4572(0x177)](_0x2c6222)||new Set();_0x49bd96[_0xaf4572(0x530)](_0x1cd292),this[_0xaf4572(0x404)][_0xaf4572(0x32a)](_0x2c6222,_0x49bd96),this[_0xaf4572(0x1c9)](_0x1cd292);}}),_0x1e0cb2||this[_0x1e6b09(0x2a0)]({'type':0x0,'memberID':this[_0x1e6b09(0x4cc)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2ba8df){const _0x57c6d3=_0x28ced3;this['_removeClearOtherTimer'](_0x2ba8df);const _0x2dc745=window['setTimeout'](()=>{const _0x3aa8a7=_0x5087;this[_0x3aa8a7(0x404)][_0x3aa8a7(0x2ea)](_0x481f2a=>{const _0xb9b3dd=_0x3aa8a7;_0x481f2a[_0xb9b3dd(0x488)](_0x2ba8df);});},Gs*0x2);this[_0x57c6d3(0x4da)][_0x57c6d3(0x32a)](_0x2ba8df,_0x2dc745);}[_0x28ced3(0x4a9)](_0x2276e7){const _0x4dc7c4=_0x28ced3;if(this[_0x4dc7c4(0x4da)][_0x4dc7c4(0x238)](_0x2276e7)){const _0x4c8d61=this[_0x4dc7c4(0x4da)]['get'](_0x2276e7);_0x4c8d61&&window[_0x4dc7c4(0x2a1)](_0x4c8d61),this['_clearOtherTimers']['set'](_0x2276e7,null);}}[_0x28ced3(0x309)](_0x1a0063){const _0x128f6b=_0x28ced3,{memberID:_0x20896a,unitIDs:_0x2c3e16}=_0x1a0063;_0x2c3e16[_0x128f6b(0x2ea)](_0xbae468=>{const _0xac8baf=_0x128f6b;var _0x19a0c0;const _0xd6b0f5=this[_0xac8baf(0x404)][_0xac8baf(0x177)](_0xbae468);_0xd6b0f5&&(_0xd6b0f5[_0xac8baf(0x488)](_0x20896a),(_0x19a0c0=this[_0xac8baf(0x4e2)](_0xbae468))==null||_0x19a0c0[_0xac8baf(0x14b)](_0xd6b0f5[_0xac8baf(0x457)]===0x0?0x0:0x1));}),this[_0x128f6b(0x4a9)](_0x20896a);}[_0x28ced3(0x31b)](_0x202999){const _0x18604a=_0x28ced3;this[_0x18604a(0x1c9)](_0x202999[_0x18604a(0x2b6)]);}[_0x28ced3(0x2a0)](_0x48b80e){const _0x1c6cb4=_0x28ced3;localStorage[_0x1c6cb4(0x192)](Ys,JSON[_0x1c6cb4(0x27b)](_0x48b80e));}[_0x28ced3(0x2af)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4504f1=_0x5087;this[_0x4504f1(0x2a0)]({'type':0x2,'memberID':this[_0x4504f1(0x4cc)]});},Gs);}[_0x28ced3(0x4e2)](_0x43fece){const _0xe9aec3=_0x28ced3;return this[_0xe9aec3(0x50d)][_0xe9aec3(0x238)](_0x43fece)||this[_0xe9aec3(0x50d)][_0xe9aec3(0x32a)](_0x43fece,new _0x1eab12(0x0)),this[_0xe9aec3(0x50d)][_0xe9aec3(0x177)](_0x43fece);}}var mo=Object[_0x28ced3(0x4e5)],po=Object['getOwnPropertyDescriptor'],go=(_0x806614,_0x4c2ba4,_0x45a03e,_0x15df96)=>{for(var _0x4e4ff4=_0x15df96>0x1?void 0x0:_0x15df96?po(_0x4c2ba4,_0x45a03e):_0x4c2ba4,_0xef968d=_0x806614['length']-0x1,_0x404c3c;_0xef968d>=0x0;_0xef968d--)(_0x404c3c=_0x806614[_0xef968d])&&(_0x4e4ff4=(_0x15df96?_0x404c3c(_0x4c2ba4,_0x45a03e,_0x4e4ff4):_0x404c3c(_0x4e4ff4))||_0x4e4ff4);return _0x15df96&&_0x4e4ff4&&mo(_0x4c2ba4,_0x45a03e,_0x4e4ff4),_0x4e4ff4;},$t=(_0x4d2a29,_0x2b9975)=>(_0x210fee,_0x1f75a6)=>_0x2b9975(_0x210fee,_0x1f75a6,_0x4d2a29);let pt=class{constructor(_0x49fbda,_0xd455ec,_0x2b0677){const _0x547055=_0x28ced3;this[_0x547055(0x23f)]=_0x49fbda,this[_0x547055(0x3d8)]=_0xd455ec,this[_0x547055(0x377)]=_0x2b0677;}[_0x28ced3(0x1ed)](_0x56a96f){const _0x2d08ef=_0x28ced3;this[_0x2d08ef(0x1bf)](_0x56a96f);}[_0x28ced3(0x3d5)](_0x21045b){const _0x3ac053=_0x28ced3,{unitID:_0x51ce02}=_0x21045b,{collaboration:_0x2e87e9}=this['_docStateChangeManagerService'][_0x3ac053(0x425)](_0x51ce02);if(_0x2e87e9[_0x3ac053(0x311)]===0x0)return _0x21045b;let _0x1dc2b3=_0x504575[_0x3ac053(0x2ee)](_0x21045b['mutations'][0x0]);for(let _0x237272=0x0;_0x237272<_0x2e87e9['length'];_0x237272++){const _0x430e26={'id':_0x3ac053(0x2b2),'params':{'unitId':_0x2e87e9[_0x237272][_0x3ac053(0x284)],..._0x2e87e9[_0x237272][_0x3ac053(0x30d)]}},_0x259024=this['_transformService'][_0x3ac053(0x3f7)](_0x1dc2b3,_0x430e26,!0x1);if(_0x490046(_0x259024))throw _0x259024['error'];_0x1dc2b3=_0x259024[_0x3ac053(0x2a6)];}return{..._0x504575[_0x3ac053(0x2ee)](_0x21045b),'mutations':[_0x1dc2b3]};}[_0x28ced3(0x1bf)](_0x396676){const _0x15bb91=_0x28ced3,{unitID:_0x132df5}=_0x396676,{history:_0x4e89f2,collaboration:_0xb957a}=this['_docStateChangeManagerService']['getStateCache'](_0x132df5);if(_0x4e89f2[_0x15bb91(0x311)]===0x0&&_0xb957a[_0x15bb91(0x311)]===0x0)return;const _0x573353=[],_0x22fed2=[];let _0x172a2d=_0x504575[_0x15bb91(0x2ee)](_0x396676[_0x15bb91(0x436)][0x0]),_0x279cd8=_0x504575[_0x15bb91(0x2ee)](_0x396676[_0x15bb91(0x436)][0x0]);for(let _0xa12932=_0x4e89f2[_0x15bb91(0x311)]-0x1;_0xa12932>=0x0;_0xa12932--){const _0x3981b2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e89f2[_0xa12932][_0x15bb91(0x284)],..._0x4e89f2[_0xa12932]['undoState']}},_0x1e3f4d={'id':_0x15bb91(0x2b2),'params':{'unitId':_0x4e89f2[_0xa12932][_0x15bb91(0x284)],..._0x4e89f2[_0xa12932][_0x15bb91(0x30d)]}},_0x90dce8=this[_0x15bb91(0x3d8)][_0x15bb91(0x3f7)](_0x172a2d,_0x3981b2,!0x1),_0xcb8a31=this[_0x15bb91(0x3d8)][_0x15bb91(0x3f7)](_0x279cd8,_0x1e3f4d,!0x1);if(_0x490046(_0x90dce8))throw _0x90dce8[_0x15bb91(0x25b)];if(_0x490046(_0xcb8a31))throw _0xcb8a31[_0x15bb91(0x25b)];_0x573353[_0x15bb91(0x449)]({..._0x4e89f2[_0xa12932],'undoState':_0x90dce8[_0x15bb91(0x2f1)][_0x15bb91(0x174)],'redoState':_0xcb8a31['m2Prime']['params']}),_0x172a2d=_0x90dce8['m1Prime'],_0x279cd8=_0xcb8a31[_0x15bb91(0x2a6)];}_0x172a2d=_0x504575[_0x15bb91(0x2ee)](_0x396676[_0x15bb91(0x436)][0x0]),_0x279cd8=_0x504575[_0x15bb91(0x2ee)](_0x396676[_0x15bb91(0x436)][0x0]);for(let _0x330060=_0xb957a['length']-0x1;_0x330060>=0x0;_0x330060--){const _0x56149a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb957a[_0x330060][_0x15bb91(0x284)],..._0xb957a[_0x330060][_0x15bb91(0x542)]}},_0x407cec={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb957a[_0x330060]['unitId'],..._0xb957a[_0x330060][_0x15bb91(0x30d)]}},_0x18dd50=this['_transformService'][_0x15bb91(0x3f7)](_0x172a2d,_0x56149a,!0x1),_0x14acc4=this[_0x15bb91(0x3d8)][_0x15bb91(0x3f7)](_0x279cd8,_0x407cec,!0x1);if(_0x490046(_0x18dd50))throw _0x18dd50[_0x15bb91(0x25b)];if(_0x490046(_0x14acc4))throw _0x14acc4['error'];_0x22fed2[_0x15bb91(0x449)]({..._0xb957a[_0x330060],'undoState':_0x18dd50['m2Prime'][_0x15bb91(0x174)],'redoState':_0x14acc4[_0x15bb91(0x2f1)][_0x15bb91(0x174)]}),_0x172a2d=_0x18dd50[_0x15bb91(0x2a6)],_0x279cd8=_0x14acc4['m1Prime'];}this[_0x15bb91(0x377)][_0x15bb91(0x2b1)](_0x132df5,{'history':_0x573353,'collaboration':_0x22fed2});}};pt=go([$t(0x0,_0x4dc79e(_0x4ea20b)),$t(0x1,_0x56dcb7),$t(0x2,_0x4dc79e(_0x1ad43c))],pt);function Li(_0x593ff9){const _0x39c803=_0x28ced3;let _0x328d26='';for(const _0x3fc4b2 of _0x593ff9){const {startOffset:_0x54cc24,endOffset:_0x485b98,isActive:_0x58cb8c,rangeType:_0x1f3427,segmentId:_0x3e0305,segmentPage:_0x1e0fa2}=_0x3fc4b2;_0x328d26[_0x39c803(0x311)]&&(_0x328d26+=','),_0x328d26+=_0x54cc24+':'+_0x485b98+':'+(_0x58cb8c?'1':'0')+':'+_0x1f3427+':'+_0x3e0305+':'+_0x1e0fa2;}return _0x328d26;}function So(_0x4d291d){const _0x597d23=_0x28ced3,_0x219dda=_0x4d291d['split'](','),_0x487dc4=[];for(const _0x44ff05 of _0x219dda){const [_0x5d89be,_0x5c1a23,_0x51306e,_0x35914d,_0x2d09ff,_0x4951af]=_0x44ff05[_0x597d23(0x423)](':');_0x487dc4[_0x597d23(0x1e3)]({'startOffset':Number(_0x5d89be),'endOffset':Number(_0x5c1a23),'collapsed':_0x5d89be===_0x5c1a23,'isActive':_0x51306e==='1','rangeType':_0x35914d===_0x349d72[_0x597d23(0x1d3)]?_0x349d72[_0x597d23(0x1d3)]:_0x349d72[_0x597d23(0x51c)],'segmentId':typeof _0x2d09ff=='string'?String(_0x2d09ff):'','segmentPage':Number(_0x4951af!=null?_0x4951af:-0x1)});}return _0x487dc4[_0x597d23(0x27c)](_0x184675=>_0x184675[_0x597d23(0x1a7)])||(_0x487dc4[0x0][_0x597d23(0x1a7)]=!0x0),_0x487dc4;}class Ts extends _0x143369{constructor(){const _0x4f6d73=_0x28ced3;super(...arguments),g(this,_0x4f6d73(0x35b),new _0x1eab12(null)),g(this,_0x4f6d73(0x232),this[_0x4f6d73(0x35b)]['asObservable']());}['syncEditingCollabCursor'](_0x521edf){const _0x583951=_0x28ced3,{unitID:_0x499875,memberID:_0x169f9c,textRanges:_0x26e4a5}=_0x521edf,_0x75da52=Li(_0x26e4a5);if(_0x75da52==='')return;const _0x2310e0={'unitID':_0x499875,'memberID':_0x169f9c,'selection':_0x75da52};this[_0x583951(0x35b)][_0x583951(0x14b)](_0x2310e0);}}var Io=Object['defineProperty'],Co=Object['getOwnPropertyDescriptor'],Eo=(_0x585cac,_0x38bf45,_0x4af14f,_0x2e5b7a)=>{const _0x2639c6=_0x28ced3;for(var _0x132006=_0x2e5b7a>0x1?void 0x0:_0x2e5b7a?Co(_0x38bf45,_0x4af14f):_0x38bf45,_0x1708fe=_0x585cac[_0x2639c6(0x311)]-0x1,_0x100c6b;_0x1708fe>=0x0;_0x1708fe--)(_0x100c6b=_0x585cac[_0x1708fe])&&(_0x132006=(_0x2e5b7a?_0x100c6b(_0x38bf45,_0x4af14f,_0x132006):_0x100c6b(_0x132006))||_0x132006);return _0x2e5b7a&&_0x132006&&Io(_0x38bf45,_0x4af14f,_0x132006),_0x132006;},Ks=(_0x39e384,_0x370868)=>(_0x488fdb,_0xbf02cb)=>_0x370868(_0x488fdb,_0xbf02cb,_0x39e384);let gt=class{constructor(_0x51a94a,_0xae2890){const _0x30600b=_0x28ced3;this['_injector']=_0x51a94a,this[_0x30600b(0x3d8)]=_0xae2890;}[_0x28ced3(0x422)](_0x2da97d){const _0x4c7d63=_0x28ced3;var _0x17e2e2;const _0x443c56=this['_injector']['get'](_0x41c6ac),_0x640414=(_0x17e2e2=_0x443c56[_0x4c7d63(0x133)]())!=null?_0x17e2e2:[];if(_0x640414[_0x4c7d63(0x311)]===0x0)return;const _0x264578=_0x2da97d['unitID'],_0xbc5fab=[{'id':_0x4c7d63(0x2b2),'params':{'unitId':_0x264578,'actions':null,'textRanges':_0x640414}}],_0x2c3417=this[_0x4c7d63(0x3d8)][_0x4c7d63(0x3b9)](_0x2da97d,_0xbc5fab);if(!_0x6f1506(_0x2c3417))throw _0x2c3417[_0x4c7d63(0x25b)];const _0x18c725=_0x2c3417['m2Prime'][0x0][_0x4c7d63(0x174)][_0x4c7d63(0x283)];Array[_0x4c7d63(0x3c7)](_0x18c725)&&_0x18c725[_0x4c7d63(0x311)]&&_0x443c56[_0x4c7d63(0x230)](_0x18c725,{'unitId':_0x264578,'subUnitId':_0x264578},!0x1);}};gt=Eo([Ks(0x0,_0x4dc79e(_0x4ea20b)),Ks(0x1,_0x56dcb7)],gt);const bo=new Set([_0x5de45a['id']]);function zs(_0x5f1528,_0x533529,_0x2060c8,_0x1c0683,_0x10b159){const _0x7b72b5=_0x28ced3;var _0x55e8ba,_0x5fe235,_0x2e6c04,_0x7d3167;const _0x939fe0=[];for(const _0x597c2a of _0x5f1528)if(bo['has'](_0x597c2a['id'])){if(_0x939fe0[_0x7b72b5(0x311)]>0x0)break;_0x939fe0[_0x7b72b5(0x1e3)](_0x597c2a);break;}else _0x939fe0[_0x7b72b5(0x1e3)](_0x597c2a);const _0x264f11=(_0x5fe235=(_0x55e8ba=_0x10b159[_0x7b72b5(0x20e)]())==null?void 0x0:_0x55e8ba[_0x7b72b5(0x49e)])!=null?_0x5fe235:_0x7b72b5(0x29b),_0x5bb5d2=(_0x7d3167=(_0x2e6c04=_0x10b159[_0x7b72b5(0x20e)]())==null?void 0x0:_0x2e6c04['memberID'])!=null?_0x7d3167:'unknown';return{'changeset':{'unitID':_0x533529,'type':_0x3a9b85(_0x2060c8[_0x7b72b5(0x3eb)](_0x533529)),'baseRev':_0x1c0683[_0x7b72b5(0x3e1)](_0x533529),'revision':0x0,'userID':_0x264f11,'memberID':_0x5bb5d2,'mutations':_0x939fe0},'pendingMutations':_0x5f1528['slice'](_0x939fe0[_0x7b72b5(0x311)])};}function To(_0x48611e,_0x43f260,_0x108d53,_0x2faf94,_0x15652a){const _0x50a52f=_0x28ced3;var _0x4a24b4,_0x3e1db5,_0x300178,_0x33806b;const _0x1a5c62=[_0x48611e[_0x50a52f(0x1a0)]((_0x1fd78b,_0x2a71ca)=>{const _0x392ee3=_0x50a52f;var _0x4b79b5;const {id:_0x1e5487}=_0x1fd78b,{id:_0x3c7201,type:_0x5dacc9}=_0x2a71ca,_0x43f209=(_0x4b79b5=_0x1fd78b[_0x392ee3(0x174)])!=null?_0x4b79b5:{'actions':null},_0x4fd439=_0x2a71ca[_0x392ee3(0x174)];if(_0x1e5487&&_0x1e5487!==_0x3c7201)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1e5487+_0x392ee3(0x12f)+_0x3c7201+'.');return{..._0x1fd78b,'id':_0x3c7201,'type':_0x5dacc9,'params':{'unitId':_0x4fd439[_0x392ee3(0x284)],'textRanges':_0x4fd439[_0x392ee3(0x283)],'actions':_0x2c710c[_0x392ee3(0x555)](_0x43f209[_0x392ee3(0x3df)],_0x4fd439[_0x392ee3(0x3df)])}};},{})],_0x4302ff=(_0x3e1db5=(_0x4a24b4=_0x15652a[_0x50a52f(0x20e)]())==null?void 0x0:_0x4a24b4[_0x50a52f(0x49e)])!=null?_0x3e1db5:'unknown',_0x1d11b6=(_0x33806b=(_0x300178=_0x15652a[_0x50a52f(0x20e)]())==null?void 0x0:_0x300178[_0x50a52f(0x2b6)])!=null?_0x33806b:'unknown';return{'changeset':{'unitID':_0x43f260,'type':_0x3a9b85(_0x108d53[_0x50a52f(0x3eb)](_0x43f260)),'baseRev':_0x2faf94[_0x50a52f(0x3e1)](_0x43f260),'revision':0x0,'userID':_0x4302ff,'memberID':_0x1d11b6,'mutations':_0x1a5c62},'pendingMutations':[]};}function $i(_0x5c4423,_0x4d9608){const _0x5ca4bd=_0x28ced3,_0x5beb03=new _0x3b2356(0x1);return setTimeout(()=>_0x5beb03[_0x5ca4bd(0x14b)](_0x4d9608),_0x5c4423),_0x5beb03[_0x5ca4bd(0x18b)]()[_0x5ca4bd(0x154)](_0x2a1ef3(0x1));}const Ro={'id':_0x712add['id'],'type':_0x12a4b6[_0x28ced3(0x2f0)],'params':{}};var Oo=Object['defineProperty'],yo=Object[_0x28ced3(0x23d)],$e=(_0xf90b76,_0x2d525c,_0x46daae,_0x45c262)=>{const _0x13e973=_0x28ced3;for(var _0x87ed73=_0x45c262>0x1?void 0x0:_0x45c262?yo(_0x2d525c,_0x46daae):_0x2d525c,_0x3f904f=_0xf90b76[_0x13e973(0x311)]-0x1,_0x4a4e52;_0x3f904f>=0x0;_0x3f904f--)(_0x4a4e52=_0xf90b76[_0x3f904f])&&(_0x87ed73=(_0x45c262?_0x4a4e52(_0x2d525c,_0x46daae,_0x87ed73):_0x4a4e52(_0x87ed73))||_0x87ed73);return _0x45c262&&_0x87ed73&&Oo(_0x2d525c,_0x46daae,_0x87ed73),_0x87ed73;},A=(_0x51bd18,_0x4cf53f)=>(_0x339629,_0x3b9fe4)=>_0x4cf53f(_0x339629,_0x3b9fe4,_0x51bd18),J=(_0x2852b4=>(_0x2852b4[_0x28ced3(0x2be)]='not_collab',_0x2852b4[_0x28ced3(0x3ea)]=_0x28ced3(0x540),_0x2852b4[_0x28ced3(0x411)]=_0x28ced3(0x3a6),_0x2852b4[_0x28ced3(0x39b)]=_0x28ced3(0x444),_0x2852b4['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x2852b4[_0x28ced3(0x465)]=_0x28ced3(0x34c),_0x2852b4['CONFLICT']='conflict',_0x2852b4['OFFLINE']='offline',_0x2852b4))(J||{});const Hi=0xea60;class He{constructor(_0x10df9f,_0x36eb12,_0x6a92b,_0x3a52ee,_0x300b5a,_0x5b915d,_0x9190f,_0xb53a8a,_0x4cb3d3){const _0x320d64=_0x28ced3;g(this,'_awaitingChangeset',null),g(this,_0x320d64(0x2df),[]),(this[_0x320d64(0x1a4)]=_0x10df9f,this['type']=_0x36eb12,this['_handler']=_0x300b5a,this[_0x320d64(0x3ee)]=_0x5b915d,this['_undoRedoService']=_0x9190f,this[_0x320d64(0x2b8)]=_0xb53a8a,this[_0x320d64(0x2b3)]=_0x4cb3d3,this[_0x320d64(0x480)]=_0x6a92b,this['_pendingMutations']=_0x3a52ee);}[_0x28ced3(0x2f3)](_0x5c797b){const _0x3b681c=_0x28ced3,_0x5bee88=this[_0x3b681c(0x2b8)][_0x3b681c(0x3e1)](this[_0x3b681c(0x1a4)]);return _0x5c797b['revision']>_0x5bee88+0x1?(this[_0x3b681c(0x492)][_0x3b681c(0x3f9)]({'from':_0x5bee88,'to':_0x5c797b[_0x3b681c(0x421)]-0x1}),!0x0):!0x1;}[_0x28ced3(0x39c)](_0x1ed011){const _0x293e38=_0x28ced3;this[_0x293e38(0x19e)][_0x293e38(0x2e8)](this[_0x293e38(0x1a4)],_0x1ed011);}[_0x28ced3(0x50c)](_0x14ea3e){const _0x4960b7=_0x28ced3;var _0x162434,_0x2b1309;(_0x2b1309=(_0x162434=this[_0x4960b7(0x492)])[_0x4960b7(0x28f)])==null||_0x2b1309[_0x4960b7(0x477)](_0x162434,_0x14ea3e);}[_0x28ced3(0x3b8)](_0x26bc54){const _0xf812c8=_0x28ced3;var _0x55f232,_0x2d8a94;return(_0x2d8a94=(_0x55f232=this[_0xf812c8(0x492)])[_0xf812c8(0x2e4)])==null?void 0x0:_0x2d8a94[_0xf812c8(0x477)](_0x55f232,_0x26bc54);}['_transformStateCache'](_0xed6fa0){const _0x5c57b7=_0x28ced3;var _0x3247f6,_0x4e3201;return(_0x4e3201=(_0x3247f6=this[_0x5c57b7(0x492)])[_0x5c57b7(0x234)])==null?void 0x0:_0x4e3201[_0x5c57b7(0x477)](_0x3247f6,_0xed6fa0);}[_0x28ced3(0x254)](_0x26e61a){const _0x49d909=_0x28ced3;var _0x187bdc,_0x5c03b9,_0x2a8a8e;return(_0x2a8a8e=(_0x5c03b9=(_0x187bdc=this['_handler'])[_0x49d909(0x2dc)])==null?void 0x0:_0x5c03b9['call'](_0x187bdc,_0x26e61a))!=null?_0x2a8a8e:_0x26e61a;}[_0x28ced3(0x1d4)](_0x34af8b){const _0x58bba9=_0x28ced3;var _0x539ca2,_0x15b9ad,_0x118db9;return(_0x118db9=(_0x15b9ad=(_0x539ca2=this[_0x58bba9(0x492)])[_0x58bba9(0x258)])==null?void 0x0:_0x15b9ad[_0x58bba9(0x477)](_0x539ca2,_0x34af8b))!=null?_0x118db9:_0x34af8b;}[_0x28ced3(0x35a)](_0x176214){const _0x1dea9b=_0x28ced3;var _0x323aa7,_0x30ac20;if(this['type']===ce['UNIVER_DOC']){const {unitID:_0x5ebcbe,mutations:_0x2751d7,memberID:_0x1808fe}=_0x176214,_0x5e2d2e=_0x2751d7[0x0][_0x1dea9b(0x174)][_0x1dea9b(0x283)];Array[_0x1dea9b(0x3c7)](_0x5e2d2e)&&_0x5e2d2e[_0x1dea9b(0x311)]>0x0&&((_0x30ac20=(_0x323aa7=this[_0x1dea9b(0x492)])[_0x1dea9b(0x245)])==null||_0x30ac20[_0x1dea9b(0x477)](_0x323aa7,{'unitID':_0x5ebcbe,'memberID':_0x1808fe,'textRanges':_0x5e2d2e}));}}[_0x28ced3(0x4b1)](){const _0x2371cc=_0x28ced3;this[_0x2371cc(0x2b3)][_0x2371cc(0x273)](this[_0x2371cc(0x1a4)],this[_0x2371cc(0x31c)],this[_0x2371cc(0x480)],this[_0x2371cc(0x2df)]);}[_0x28ced3(0x484)](){const _0x5220bb=_0x28ced3;return this[_0x5220bb(0x2b8)][_0x5220bb(0x3e1)](this[_0x5220bb(0x1a4)]);}['_incrementRevisionNumber'](){const _0x18cec4=_0x28ced3;this[_0x18cec4(0x2b8)][_0x18cec4(0x4a1)](this[_0x18cec4(0x1a4)]);}[_0x28ced3(0x22f)](_0x19880e){const _0x3484c7=_0x28ced3;var _0x652dae;let _0x7a3019=this[_0x3484c7(0x254)](_0x19880e);_0x7a3019=this[_0x3484c7(0x1d4)](_0x7a3019);const _0x53d5dd=_0x1b4ec0(_0x7a3019[_0x3484c7(0x436)],this[_0x3484c7(0x3ee)],{'fromCollab':!0x0});if(!_0x53d5dd[_0x3484c7(0x454)])throw _0x53d5dd[_0x3484c7(0x25b)]instanceof Error?_0x53d5dd[_0x3484c7(0x25b)]:new Error((_0x652dae=_0x53d5dd['error'])!=null?_0x652dae:'[CollaborationState]:\x20apply\x20error!');this[_0x3484c7(0x3b8)](_0x7a3019),this[_0x3484c7(0x420)](_0x7a3019),this[_0x3484c7(0x39c)](_0x19880e),this['_transformSelections'](_0x7a3019),this[_0x3484c7(0x35a)](_0x7a3019),this[_0x3484c7(0x184)]();}}let Fe=class extends He{constructor(_0x1843f8,_0x4f16df,_0x1745a9,_0x58e218,_0x20c8aa,_0x1f302d,_0x5b9af9,_0x343a9a,_0x49baa4,_0xcdddcd){const _0x15c954=_0x28ced3;super(_0x1843f8,_0x4f16df,null,[],_0x1745a9,_0x343a9a,_0x5b9af9,_0x58e218,_0x20c8aa),g(this,'status',_0x15c954(0x540)),(this[_0x15c954(0x23f)]=_0x1f302d,this[_0x15c954(0x427)]=_0x49baa4,this[_0x15c954(0x3d8)]=_0xcdddcd);}['appendMutation'](_0x457571){const _0x45e157=_0x28ced3,_0x6961c6=this[_0x45e157(0x23f)]['createInstance'](pe,this[_0x45e157(0x1a4)],this['type'],[_0x457571],this[_0x45e157(0x492)]);return _0x6961c6[_0x45e157(0x1a8)](),_0x6961c6['_updateLocalCache'](),_0x6961c6;}['onRemoteChangeset'](_0x2f6076){const _0x3c5759=_0x28ced3;if(this[_0x3c5759(0x2f3)](_0x2f6076))return this[_0x3c5759(0x23f)]['createInstance'](he,this['unitID'],this[_0x3c5759(0x31c)],null,[],null,[_0x2f6076],this['_handler']);try{const _0x2a48e7=this[_0x3c5759(0x3d8)][_0x3c5759(0x3b9)](_0x2f6076,[Ro]);if(_0x6f1506(_0x2a48e7)){const {c1Prime:_0x577ff2}=_0x2a48e7;return this[_0x3c5759(0x22f)](_0x577ff2),this;}throw _0x2a48e7['error'];}catch(_0x172804){return this[_0x3c5759(0x427)][_0x3c5759(0x25b)](_0x172804),this['_onConflict'](!0x1);}}[_0x28ced3(0x361)](_0x3d6ed4){const _0x4520c2=_0x28ced3;return this[_0x4520c2(0x23f)][_0x4520c2(0x140)](Oe,this[_0x4520c2(0x1a4)],this[_0x4520c2(0x31c)],null,[],this[_0x4520c2(0x492)],_0x3d6ed4);}['onRemoteAck'](){const _0x181b7c=_0x28ced3;throw new Error(_0x181b7c(0x204));}[_0x28ced3(0x2de)](){const _0x38f698=_0x28ced3;throw new Error(_0x38f698(0x4fe));}[_0x28ced3(0x13f)](){return this;}['toggleOffline'](){const _0x6709b8=_0x28ced3;return this[_0x6709b8(0x23f)][_0x6709b8(0x140)](ye,this['unitID'],this[_0x6709b8(0x31c)],null,[],this[_0x6709b8(0x492)]);}[_0x28ced3(0x3ed)](){return this;}[_0x28ced3(0x3c6)](){const _0x15ebff=_0x28ced3;throw new Error(_0x15ebff(0x387));}[_0x28ced3(0x2d8)](){const _0x2a2bc4=_0x28ced3,_0x4c0a3c=this[_0x2a2bc4(0x2b8)][_0x2a2bc4(0x3e1)](this[_0x2a2bc4(0x1a4)]);return this[_0x2a2bc4(0x492)][_0x2a2bc4(0x3f9)]({'from':_0x4c0a3c,'to':0x0}),this[_0x2a2bc4(0x23f)][_0x2a2bc4(0x140)](he,this[_0x2a2bc4(0x1a4)],this[_0x2a2bc4(0x31c)],null,[],null,[],this[_0x2a2bc4(0x492)]);}};Fe=$e([A(0x3,_0x4dc79e(_0x1dece0)),A(0x4,_0x4dc79e(q)),A(0x5,_0x4dc79e(_0x4ea20b)),A(0x6,_0x5c75aa),A(0x7,_0x10f0f3),A(0x8,_0x1b2c35),A(0x9,_0x56dcb7)],Fe);let pe=class extends He{constructor(_0x43ae71,_0x20731d,_0x53ade9,_0x343f51,_0x4dcedb,_0x143329,_0x145fc9,_0x4b292e,_0x2523b6,_0x482a92,_0x412817,_0x595ac0,_0x37d91f,_0x2d87e0){const _0x2c896d=_0x28ced3;super(_0x43ae71,_0x20731d,null,_0x53ade9,_0x343f51,_0x482a92,_0x2d87e0,_0x143329,_0x145fc9),g(this,'status',_0x2c896d(0x3a6)),g(this,_0x2c896d(0x3d3),null),g(this,_0x2c896d(0x142),null),(this[_0x2c896d(0x23f)]=_0x4dcedb,this[_0x2c896d(0x409)]=_0x4b292e,this[_0x2c896d(0x427)]=_0x2523b6,this[_0x2c896d(0x3f3)]=_0x412817,this[_0x2c896d(0x3d8)]=_0x595ac0,this[_0x2c896d(0x1f9)]=_0x37d91f);}[_0x28ced3(0x3ab)](_0x360618){const _0x5afc79=_0x28ced3;return this['_pendingMutations'][_0x5afc79(0x1e3)](_0x360618),this[_0x5afc79(0x4b1)](),this;}[_0x28ced3(0x2d4)](_0x556f40){const _0x3e80fc=_0x28ced3;if(this[_0x3e80fc(0x2f3)](_0x556f40))return this[_0x3e80fc(0x1d1)](),this[_0x3e80fc(0x23f)][_0x3e80fc(0x140)](he,this['unitID'],this[_0x3e80fc(0x31c)],null,this['_pendingMutations'],null,[_0x556f40],this[_0x3e80fc(0x492)]);try{const _0x475f9d=this[_0x3e80fc(0x3d8)]['transformMutationsWithChangeset'](_0x556f40,this['_pendingMutations']);if(_0x6f1506(_0x475f9d)){const {c1Prime:_0xee93b8,m2Prime:_0x395024}=_0x475f9d;this[_0x3e80fc(0x22f)](_0xee93b8);const _0x179e2c=this[_0x3e80fc(0x23f)][_0x3e80fc(0x140)](pe,this[_0x3e80fc(0x1a4)],this[_0x3e80fc(0x31c)],_0x395024,this['_handler']);return this[_0x3e80fc(0x1d1)](),_0x179e2c[_0x3e80fc(0x1a8)](this[_0x3e80fc(0x3d3)]?Math[_0x3e80fc(0x1d8)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x3e80fc(0x334)]()),_0x179e2c;}throw _0x475f9d['error'];}catch(_0x3b9a12){return this[_0x3e80fc(0x427)][_0x3e80fc(0x25b)](_0x3b9a12),this[_0x3e80fc(0x361)](!0x1);}}[_0x28ced3(0x440)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x28ced3(0x2de)](){const _0x39bde7=_0x28ced3;throw new Error(_0x39bde7(0x27d));}[_0x28ced3(0x13f)](){return this;}[_0x28ced3(0x189)](){const _0x222000=_0x28ced3;return this[_0x222000(0x1d1)](),this['_injector'][_0x222000(0x140)](ye,this[_0x222000(0x1a4)],this[_0x222000(0x31c)],null,this[_0x222000(0x2df)],this[_0x222000(0x492)]);}[_0x28ced3(0x3ed)](){return this;}['_schedule'](_0x3dcc1d){const _0x2c4439=_0x28ced3,_0x57cbf8=_0x3dcc1d!=null?_0x3dcc1d:this[_0x2c4439(0x334)]();this[_0x2c4439(0x3d3)]=new Date()[_0x2c4439(0x22e)](),this['_sendingTimer']=window[_0x2c4439(0x3b2)](()=>{const _0x3fbdda=_0x2c4439;this[_0x3fbdda(0x1d1)]();let _0x422ad3=null;switch(this[_0x3fbdda(0x31c)]){case ce[_0x3fbdda(0x550)]:{_0x422ad3=zs(this[_0x3fbdda(0x2df)],this['unitID'],this['_univerInstanceService'],this[_0x3fbdda(0x2b8)],this[_0x3fbdda(0x409)]);break;}case ce[_0x3fbdda(0x21c)]:{this['_pendingMutations'][_0x3fbdda(0x233)](_0x192153=>_0x192153['id']===_0x4b4a47['id'])?_0x422ad3=To(this['_pendingMutations'],this['unitID'],this[_0x3fbdda(0x1f9)],this[_0x3fbdda(0x2b8)],this['_memberService']):_0x422ad3=zs(this[_0x3fbdda(0x2df)],this[_0x3fbdda(0x1a4)],this['_univerInstanceService'],this['_revisionService'],this[_0x3fbdda(0x409)]);break;}default:throw new Error(_0x3fbdda(0x12b)+this[_0x3fbdda(0x31c)]+_0x3fbdda(0x4f4));}const {changeset:_0x1fa5b9,pendingMutations:_0x1f962c}=_0x422ad3;this[_0x3fbdda(0x492)][_0x3fbdda(0x30f)](_0x1fa5b9);const _0x4fa78e=_0x1f962c[_0x3fbdda(0x311)]?this['_injector']['createInstance'](ge,this[_0x3fbdda(0x1a4)],this[_0x3fbdda(0x31c)],_0x1fa5b9,_0x1f962c,this['_handler'],void 0x0):this['_injector'][_0x3fbdda(0x140)](Re,this[_0x3fbdda(0x1a4)],this['type'],_0x1fa5b9,this[_0x3fbdda(0x492)]);_0x4fa78e['_updateLocalCache'](),this[_0x3fbdda(0x492)][_0x3fbdda(0x2ac)](this,_0x4fa78e);},_0x57cbf8);}[_0x28ced3(0x334)](){const _0x3b09de=_0x28ced3;var _0x5e82de;const _0x1b4692=this['_configService'][_0x3b09de(0x4bd)](ee);return(_0x5e82de=_0x1b4692==null?void 0x0:_0x1b4692[_0x3b09de(0x23e)])!=null?_0x5e82de:Sn;}[_0x28ced3(0x3c6)](){const _0x398fd2=_0x28ced3;throw new Error(_0x398fd2(0x32c));}['_clearScheduledTask'](){const _0x1e3e8e=_0x28ced3;this[_0x1e3e8e(0x142)]!=null&&(clearTimeout(this[_0x1e3e8e(0x142)]),this[_0x1e3e8e(0x142)]=null);}[_0x28ced3(0x361)](_0x2ea324){const _0x3abc16=_0x28ced3;return this['_clearScheduledTask'](),this['_injector'][_0x3abc16(0x140)](Oe,this[_0x3abc16(0x1a4)],this[_0x3abc16(0x31c)],null,this[_0x3abc16(0x2df)],this['_handler'],_0x2ea324);}};pe=$e([A(0x4,_0x4dc79e(_0x4ea20b)),A(0x5,_0x4dc79e(_0x1dece0)),A(0x6,_0x4dc79e(q)),A(0x7,_0x4dc79e(Me)),A(0x8,_0x1b2c35),A(0x9,_0x10f0f3),A(0xa,_0x4267),A(0xb,_0x56dcb7),A(0xc,_0x3f5641),A(0xd,_0x5c75aa)],pe);let Re=class extends He{constructor(_0x17702c,_0x52f05b,_0x29e855,_0x169851,_0x53d388,_0xf2bb43,_0x8db951,_0x38b0a8,_0x323656,_0x36921b,_0x39e7f9){const _0x3e4c13=_0x28ced3;super(_0x17702c,_0x52f05b,_0x29e855,[],_0x169851,_0x38b0a8,_0x39e7f9,_0xf2bb43,_0x8db951),g(this,_0x3e4c13(0x3a9),_0x3e4c13(0x444)),g(this,_0x3e4c13(0x417),0x0),g(this,_0x3e4c13(0x322)),g(this,_0x3e4c13(0x4b6)),(this['_injector']=_0x53d388,this[_0x3e4c13(0x427)]=_0x323656,this[_0x3e4c13(0x3d8)]=_0x36921b);}[_0x28ced3(0x3ab)](_0xdae840){const _0x379b99=_0x28ced3;this['_clearScheduledTask']();const _0x594739=this['_injector'][_0x379b99(0x140)](ge,this[_0x379b99(0x1a4)],this['type'],this[_0x379b99(0x480)],[_0xdae840],this[_0x379b99(0x492)],this['_resendTimer']);return _0x594739['_updateLocalCache'](),_0x594739;}[_0x28ced3(0x2d4)](_0x45e48f){const _0x4c077c=_0x28ced3;if(this[_0x4c077c(0x2f3)](_0x45e48f))return this[_0x4c077c(0x1d1)](),this[_0x4c077c(0x23f)][_0x4c077c(0x140)](he,this[_0x4c077c(0x1a4)],this[_0x4c077c(0x31c)],this[_0x4c077c(0x480)],[],null,[_0x45e48f],this[_0x4c077c(0x492)]);try{const _0x518111=this['_transformService'][_0x4c077c(0x1c0)]([_0x45e48f],[this[_0x4c077c(0x480)]],!0x1);if(_0x225cfd(_0x518111)){const {c1Prime:_0x2a441d,c2Prime:_0x47433f}=_0x518111;this['_executeRemoteChangeset'](_0x2a441d[0x0]),_0x47433f[0x0][_0x4c077c(0x13e)]=this[_0x4c077c(0x484)](),this['_clearScheduledTask']();const _0x37055d=this[_0x4c077c(0x23f)][_0x4c077c(0x140)](Re,this['unitID'],this[_0x4c077c(0x31c)],_0x47433f[0x0],this[_0x4c077c(0x492)]);return _0x37055d[_0x4c077c(0x4b1)](),_0x37055d;}return this[_0x4c077c(0x361)](!0x1);}catch(_0x3de2ab){return this[_0x4c077c(0x427)][_0x4c077c(0x25b)](_0x3de2ab),this[_0x4c077c(0x361)](!0x1);}}[_0x28ced3(0x440)](_0x265eac){const _0xcf0ab4=_0x28ced3;this[_0xcf0ab4(0x1d1)]();const _0x1dcfe9=this[_0xcf0ab4(0x2b8)][_0xcf0ab4(0x3e1)](this[_0xcf0ab4(0x1a4)]);if(_0x265eac[_0xcf0ab4(0x421)]<_0x1dcfe9-0x1)return this;if(this[_0xcf0ab4(0x2f3)](_0x265eac))return this[_0xcf0ab4(0x23f)][_0xcf0ab4(0x140)](he,this[_0xcf0ab4(0x1a4)],this[_0xcf0ab4(0x31c)],null,[],this[_0xcf0ab4(0x480)],[],this[_0xcf0ab4(0x492)]);this[_0xcf0ab4(0x184)]();const _0x53852d=this[_0xcf0ab4(0x23f)][_0xcf0ab4(0x140)](Fe,this[_0xcf0ab4(0x1a4)],this[_0xcf0ab4(0x31c)],this[_0xcf0ab4(0x492)]);return _0x53852d[_0xcf0ab4(0x4b1)](),_0x53852d;}[_0x28ced3(0x2de)](_0x1e3ed7){const _0x4e44b6=_0x28ced3;return this[_0x4e44b6(0x361)](!!(_0x1e3ed7!=null&&_0x1e3ed7[_0x4e44b6(0x349)]));}['onRemoteRetry'](_0x394531){const _0x117752=_0x28ced3;return this['_resendTimeout']>Hi?this[_0x117752(0x189)]():(this[_0x117752(0x322)]=$i(this['_resendTimeout'],{'timeout':this[_0x117752(0x417)],'reqId':_0x394531[_0x117752(0x35d)]}),this['_sender']=this[_0x117752(0x322)][_0x117752(0x293)](({reqId:_0x1da839,timeout:_0x378937})=>{const _0x479127=_0x117752;this[_0x479127(0x47f)](_0x1da839,_0x378937);}),this);}[_0x28ced3(0x189)](){const _0x384808=_0x28ced3;return this[_0x384808(0x1d1)](),this['_injector']['createInstance'](ye,this[_0x384808(0x1a4)],this['type'],this['_awaitingChangeset'],[],this['_handler']);}[_0x28ced3(0x3ed)](){return this;}[_0x28ced3(0x3c6)](){const _0x4e26cb=_0x28ced3;this['_handler'][_0x4e26cb(0x30f)](this[_0x4e26cb(0x480)]);}['_onConflict'](_0x3a93c7){const _0x34e461=_0x28ced3;return this[_0x34e461(0x1d1)](),this[_0x34e461(0x23f)][_0x34e461(0x140)](Oe,this['unitID'],this[_0x34e461(0x31c)],this['_awaitingChangeset'],[],this['_handler'],_0x3a93c7);}[_0x28ced3(0x47f)](_0x12468d,_0x601178){const _0x16ed31=_0x28ced3;var _0x1221d0;_0x12468d===((_0x1221d0=this[_0x16ed31(0x480)])==null?void 0x0:_0x1221d0[_0x16ed31(0x35d)])&&(this[_0x16ed31(0x3c6)](),this[_0x16ed31(0x417)]=_0x601178===0x0?0x3e8:_0x601178*0x2);}[_0x28ced3(0x1d1)](){const _0x36c7d2=_0x28ced3;var _0x433dba;(_0x433dba=this[_0x36c7d2(0x4b6)])==null||_0x433dba[_0x36c7d2(0x43d)](),this[_0x36c7d2(0x417)]=0x0;}};Re=$e([A(0x4,_0x4dc79e(_0x4ea20b)),A(0x5,_0x4dc79e(_0x1dece0)),A(0x6,_0x4dc79e(q)),A(0x7,_0x10f0f3),A(0x8,_0x1b2c35),A(0x9,_0x56dcb7),A(0xa,_0x5c75aa)],Re);let ge=class extends He{constructor(_0x5d82f7,_0x276748,_0xd57dc1,_0x37bf27,_0x3ac21c,_0x16bcfb,_0x111aac,_0x7dff2d,_0x28c118,_0x43798c,_0xf1587,_0x28fe44,_0x43991f){const _0x16cd94=_0x28ced3;super(_0x5d82f7,_0x276748,_0xd57dc1,_0x37bf27,_0x3ac21c,_0x43798c,_0x43991f,_0x7dff2d,_0x28c118),g(this,'status',_0x16cd94(0x4a7)),g(this,_0x16cd94(0x417),0x0),g(this,_0x16cd94(0x322)),g(this,_0x16cd94(0x4b6)),(this[_0x16cd94(0x23f)]=_0x111aac,this[_0x16cd94(0x427)]=_0xf1587,this[_0x16cd94(0x3d8)]=_0x28fe44,_0x16bcfb&&(this[_0x16cd94(0x322)]=_0x16bcfb,this[_0x16cd94(0x4b6)]=this[_0x16cd94(0x322)][_0x16cd94(0x293)](({reqId:_0x90dd2,timeout:_0x5283fa})=>{const _0xb8b70=_0x16cd94;this[_0xb8b70(0x47f)](_0x90dd2,_0x5283fa);})));}[_0x28ced3(0x3ab)](_0x3bed52){const _0x45711e=_0x28ced3;return this[_0x45711e(0x2df)]['push'](_0x3bed52),this;}[_0x28ced3(0x2d4)](_0x10935d){const _0x2a1a6f=_0x28ced3;if(this[_0x2a1a6f(0x2f3)](_0x10935d))return this[_0x2a1a6f(0x1d1)](),this['_injector'][_0x2a1a6f(0x140)](he,this['unitID'],this[_0x2a1a6f(0x31c)],this['_awaitingChangeset'],this[_0x2a1a6f(0x2df)],null,[_0x10935d],this[_0x2a1a6f(0x492)]);try{const _0x58160d=this['_transformService'][_0x2a1a6f(0x1c0)]([_0x10935d],[this[_0x2a1a6f(0x480)]],!0x1);if(_0x225cfd(_0x58160d)){const {c1Prime:_0x23eb1a,c2Prime:_0xb8ca61}=_0x58160d,_0x48092e=this[_0x2a1a6f(0x3d8)]['transformMutationsWithChangeset'](_0x23eb1a[0x0],this[_0x2a1a6f(0x2df)]);if(_0x6f1506(_0x48092e)){const {c1Prime:_0x2b6a8b,m2Prime:_0x1b952f}=_0x48092e;return this[_0x2a1a6f(0x22f)](_0x2b6a8b),_0xb8ca61[0x0][_0x2a1a6f(0x13e)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x2a1a6f(0x23f)][_0x2a1a6f(0x140)](ge,this[_0x2a1a6f(0x1a4)],this['type'],_0xb8ca61[0x0],_0x1b952f,this['_handler'],void 0x0);}throw _0x48092e[_0x2a1a6f(0x25b)];}throw _0x58160d['error'];}catch(_0x219a99){return this['_logService'][_0x2a1a6f(0x25b)](_0x219a99),this[_0x2a1a6f(0x361)](!0x1);}}[_0x28ced3(0x440)](_0x1ef189){const _0x248222=_0x28ced3;if(this[_0x248222(0x1d1)](),this[_0x248222(0x2f3)](_0x1ef189))return this['_injector']['createInstance'](he,this['unitID'],this[_0x248222(0x31c)],null,this[_0x248222(0x2df)],this[_0x248222(0x480)],[],this[_0x248222(0x492)]);this[_0x248222(0x184)]();const _0x49016e=this['_injector']['createInstance'](pe,this[_0x248222(0x1a4)],this[_0x248222(0x31c)],this[_0x248222(0x2df)],this[_0x248222(0x492)]);return _0x49016e[_0x248222(0x1a8)](),_0x49016e[_0x248222(0x4b1)](),_0x49016e;}[_0x28ced3(0x2de)](_0x1d6bbc){const _0x51e546=_0x28ced3;return this[_0x51e546(0x361)](!!(_0x1d6bbc!=null&&_0x1d6bbc[_0x51e546(0x349)]));}['onRemoteRetry'](_0xaacb5b){const _0x45c01b=_0x28ced3;return this[_0x45c01b(0x417)]>Hi?this[_0x45c01b(0x189)]():(this[_0x45c01b(0x322)]=$i(this[_0x45c01b(0x417)],{'timeout':this[_0x45c01b(0x417)],'reqId':_0xaacb5b[_0x45c01b(0x35d)]}),this[_0x45c01b(0x4b6)]=this[_0x45c01b(0x322)][_0x45c01b(0x293)](({reqId:_0x387fc8,timeout:_0x1ba6cf})=>{const _0x5dabe2=_0x45c01b;this[_0x5dabe2(0x47f)](_0x387fc8,_0x1ba6cf);}),this);}[_0x28ced3(0x189)](){const _0x2a58ca=_0x28ced3;return this[_0x2a58ca(0x1d1)](),this[_0x2a58ca(0x23f)][_0x2a58ca(0x140)](ye,this[_0x2a58ca(0x1a4)],this['type'],this[_0x2a58ca(0x480)],this['_pendingMutations'],this[_0x2a58ca(0x492)]);}[_0x28ced3(0x3ed)](){return this;}[_0x28ced3(0x3c6)](){const _0xf58b61=_0x28ced3;this[_0xf58b61(0x492)][_0xf58b61(0x30f)](this[_0xf58b61(0x480)]);}[_0x28ced3(0x361)](_0x571402){const _0x565687=_0x28ced3;return this[_0x565687(0x1d1)](),this[_0x565687(0x23f)][_0x565687(0x140)](Oe,this[_0x565687(0x1a4)],this['type'],null,this[_0x565687(0x2df)],this[_0x565687(0x492)],_0x571402);}['_resendWithTimeout'](_0x2aac3b,_0x39f5f2){const _0x1edc05=_0x28ced3;var _0x54a502;_0x2aac3b===((_0x54a502=this[_0x1edc05(0x480)])==null?void 0x0:_0x54a502[_0x1edc05(0x35d)])&&(this[_0x1edc05(0x3c6)](),this[_0x1edc05(0x417)]=_0x39f5f2===0x0?0x3e8:_0x39f5f2*0x2);}[_0x28ced3(0x1d1)](){const _0x27c035=_0x28ced3;var _0x2fd6bb;(_0x2fd6bb=this[_0x27c035(0x4b6)])==null||_0x2fd6bb['unsubscribe'](),this[_0x27c035(0x417)]=0x0;}};ge=$e([A(0x6,_0x4dc79e(_0x4ea20b)),A(0x7,_0x4dc79e(_0x1dece0)),A(0x8,_0x4dc79e(q)),A(0x9,_0x10f0f3),A(0xa,_0x1b2c35),A(0xb,_0x56dcb7),A(0xc,_0x5c75aa)],ge);let Oe=class extends He{constructor(_0x2f0282,_0x139618,_0x534ae9,_0x12ab93,_0x106417,_0x50d0ca=!0x1,_0x21d435,_0x265f6f,_0x7f786,_0x3cc32c,_0x119426,_0x550fa5,_0xf36755){const _0x1465a1=_0x28ced3;super(_0x2f0282,_0x139618,_0x534ae9,_0x12ab93,_0x106417,_0x265f6f,_0x7f786,_0x119426,_0x3cc32c),g(this,'status',_0x1465a1(0x2b9)),(this[_0x1465a1(0x225)]=_0x50d0ca,this[_0x1465a1(0x3a7)]=_0x21d435,this[_0x1465a1(0x340)]=_0x550fa5,this[_0x1465a1(0x485)]=_0xf36755,this['_showConflictNotification'](),this[_0x1465a1(0x169)](),this[_0x1465a1(0x527)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x28ced3(0x2de)](){return this;}['onRemoteRetry'](){return this;}[_0x28ced3(0x189)](){return this;}[_0x28ced3(0x3ed)](){return this;}[_0x28ced3(0x3c6)](){const _0x58f488=_0x28ced3;throw new Error(_0x58f488(0x3c9));}[_0x28ced3(0x169)](){const _0x19fbbc=_0x28ced3;this[_0x19fbbc(0x2b3)][_0x19fbbc(0x273)](this[_0x19fbbc(0x1a4)],this[_0x19fbbc(0x31c)],null,[]);}[_0x28ced3(0x380)](){const _0x5bfbbb=_0x28ced3;this[_0x5bfbbb(0x225)]?this[_0x5bfbbb(0x485)][_0x5bfbbb(0x3dd)]({'title':this['_localeService']['t'](_0x5bfbbb(0x333)),'content':this[_0x5bfbbb(0x340)]['t'](_0x5bfbbb(0x3a8)),'type':_0x5bfbbb(0x25b),'duration':0x0}):this[_0x5bfbbb(0x485)][_0x5bfbbb(0x3dd)]({'title':this[_0x5bfbbb(0x340)]['t'](_0x5bfbbb(0x157)),'content':this[_0x5bfbbb(0x340)]['t'](_0x5bfbbb(0x3f6)),'type':_0x5bfbbb(0x25b),'duration':0x0});}[_0x28ced3(0x527)](){const _0x5893fc=_0x28ced3;this[_0x5893fc(0x3a7)][_0x5893fc(0x263)](new _0x675da3(this[_0x5893fc(0x1a4)])['id'],!0x1);}};Oe=$e([A(0x6,_0x4dc79e(_0x12318d)),A(0x7,_0x10f0f3),A(0x8,_0x5c75aa),A(0x9,_0x4dc79e(q)),A(0xa,_0x4dc79e(_0x1dece0)),A(0xb,_0x4dc79e(_0x9d81ca)),A(0xc,_0x375396)],Oe);let ye=class extends He{constructor(_0x38b1ad,_0xc5179,_0x146bd2,_0x2d09e1,_0x130085,_0x45f4b4,_0x502680,_0x11a9d7,_0x345d5f,_0x5dd0c1){const _0x65e9d3=_0x28ced3;super(_0x38b1ad,_0xc5179,_0x146bd2,_0x2d09e1,_0x130085,_0x345d5f,_0x5dd0c1,_0x502680,_0x11a9d7),g(this,_0x65e9d3(0x3a9),'offline'),this['_injector']=_0x45f4b4;}[_0x28ced3(0x3ab)](_0x1acafb){const _0x248334=_0x28ced3;return this['_pendingMutations']['push'](_0x1acafb),this[_0x248334(0x4b1)](),this;}['onRemoteChangeset'](_0x59c8d6){const _0x11347a=_0x28ced3;throw new Error(_0x11347a(0x360));}[_0x28ced3(0x440)](){const _0x547629=_0x28ced3;throw new Error(_0x547629(0x491));}[_0x28ced3(0x2de)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x28ced3(0x13f)](){return this;}[_0x28ced3(0x189)](){return this;}[_0x28ced3(0x3ed)](){const _0x3c4506=_0x28ced3,{_injector:_0x2a3182,_pendingMutations:_0x3bb7e5,_awaitingChangeset:_0x26756d,unitID:_0x1e563a,_handler:_0x329e51,type:_0x5b6dcc}=this,_0x54063f=ji(_0x2a3182,_0x1e563a,_0x5b6dcc,_0x26756d,_0x3bb7e5,_0x329e51);return _0x54063f instanceof pe?_0x54063f['_schedule']():(_0x54063f instanceof ge||_0x54063f instanceof Re)&&_0x54063f[_0x3c4506(0x3c6)](),_0x54063f;}[_0x28ced3(0x3c6)](){const _0x3ef49d=_0x28ced3;throw new Error(_0x3ef49d(0x48b));}};ye=$e([A(0x5,_0x4dc79e(_0x4ea20b)),A(0x6,_0x4dc79e(_0x1dece0)),A(0x7,_0x4dc79e(q)),A(0x8,_0x10f0f3),A(0x9,_0x5c75aa)],ye);let he=class extends He{constructor(_0x19cc92,_0xbdee7a,_0x51159d,_0xd58661,_0x2ca2f5,_0x1e4fba,_0x2b0189,_0x19b3d4,_0xed5fb6,_0x3de3ff,_0x9806eb,_0x3c92b9,_0xb4a380,_0x2ce823){const _0x132802=_0x28ced3;super(_0x19cc92,_0xbdee7a,_0x51159d,_0xd58661,_0x2b0189,_0x3c92b9,_0xb4a380,_0xed5fb6,_0x3de3ff),g(this,_0x132802(0x3a9),_0x132802(0x34c)),(this['_acknowledgedAwaitingChangeset']=_0x2ca2f5,this[_0x132802(0x37a)]=_0x1e4fba,this['_injector']=_0x19b3d4,this[_0x132802(0x427)]=_0x9806eb,this[_0x132802(0x3d8)]=_0x2ce823);}[_0x28ced3(0x2ad)](_0x41f733){const _0x85d305=_0x28ced3;try{const _0x3ea849=[..._0x41f733,...this[_0x85d305(0x37a)]],_0x77d74d=[this[_0x85d305(0x480)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x521c80=>!!_0x521c80);let _0x2d7ff9,_0x5b7c79;if(_0x77d74d[_0x85d305(0x311)]){const _0x4818f0=this[_0x85d305(0x3d8)][_0x85d305(0x1c0)](_0x3ea849,_0x77d74d,!0x1);if(!_0x225cfd(_0x4818f0))throw _0x4818f0['error'];_0x2d7ff9=_0x4818f0[_0x85d305(0x16e)],_0x5b7c79=_0x4818f0['c2Prime'];}else _0x2d7ff9=_0x3ea849,_0x5b7c79=[];let _0x1fef90=this[_0x85d305(0x2df)];_0x2d7ff9[_0x85d305(0x2ea)](_0x547b46=>{const _0x57c84b=_0x85d305;let _0x50aae0;if(_0x1fef90[_0x57c84b(0x311)]){const _0x766a5a=this[_0x57c84b(0x3d8)][_0x57c84b(0x3b9)](_0x547b46,_0x1fef90);if(!_0x6f1506(_0x766a5a))throw _0x766a5a[_0x57c84b(0x25b)];_0x50aae0=_0x766a5a[_0x57c84b(0x16e)],_0x1fef90=_0x766a5a[_0x57c84b(0x2f1)];}else _0x50aae0=_0x547b46;this[_0x57c84b(0x22f)](_0x50aae0);}),this['_acknowledgedAwaitingChangeset']&&this[_0x85d305(0x184)](),this[_0x85d305(0x480)]&&_0x5b7c79[_0x85d305(0x311)]&&(_0x5b7c79[0x0][_0x85d305(0x13e)]=this['_getCurrentRevision']());let _0x1071a8;if(this['_awaitingChangeset']&&_0x1fef90[_0x85d305(0x311)]!==0x0)_0x1071a8=this[_0x85d305(0x23f)]['createInstance'](ge,this[_0x85d305(0x1a4)],this[_0x85d305(0x31c)],_0x5b7c79[0x0],_0x1fef90,this[_0x85d305(0x492)],void 0x0);else{if(this[_0x85d305(0x480)]&&_0x1fef90[_0x85d305(0x311)]===0x0)_0x5b7c79[0x0][_0x85d305(0x13e)]=this[_0x85d305(0x484)](),_0x1071a8=this[_0x85d305(0x23f)]['createInstance'](Re,this['unitID'],this['type'],_0x5b7c79[0x0],this[_0x85d305(0x492)]);else{if(_0x1fef90[_0x85d305(0x311)]!==0x0){const _0x17222d=this[_0x85d305(0x23f)][_0x85d305(0x140)](pe,this[_0x85d305(0x1a4)],this['type'],_0x1fef90,this[_0x85d305(0x492)]);_0x17222d[_0x85d305(0x1a8)](),_0x1071a8=_0x17222d;}else _0x1071a8=this['_injector']['createInstance'](Fe,this[_0x85d305(0x1a4)],this['type'],this[_0x85d305(0x492)]);}}return _0x1071a8[_0x85d305(0x4b1)](),_0x1071a8;}catch(_0x3d2719){return this[_0x85d305(0x427)][_0x85d305(0x25b)](_0x85d305(0x34e),_0x85d305(0x28b),_0x3d2719),this['_injector'][_0x85d305(0x140)](Oe,this[_0x85d305(0x1a4)],this[_0x85d305(0x31c)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x28ced3(0x3c6)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x28ced3(0x3ab)](_0x24c1dd){const _0x433f38=_0x28ced3;return this['_pendingMutations'][_0x433f38(0x1e3)](_0x24c1dd),this;}[_0x28ced3(0x2d4)](_0x16a826){const _0x58b982=_0x28ced3;return this[_0x58b982(0x37a)]['push'](_0x16a826),this;}[_0x28ced3(0x440)](_0x4a1491){const _0x5587cd=_0x28ced3;if(this[_0x5587cd(0x480)])return this[_0x5587cd(0x13b)]=this[_0x5587cd(0x480)],this[_0x5587cd(0x480)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x28ced3(0x2de)](_0x43ff4f){const _0x5b95f1=_0x28ced3;return this['_onConflict'](!!(_0x43ff4f!=null&&_0x43ff4f[_0x5b95f1(0x349)]));}[_0x28ced3(0x13f)](){return this;}[_0x28ced3(0x189)](){const _0x14da5c=_0x28ced3;return this[_0x14da5c(0x23f)][_0x14da5c(0x140)](ye,this[_0x14da5c(0x1a4)],this[_0x14da5c(0x31c)],this[_0x14da5c(0x480)],this[_0x14da5c(0x2df)],this[_0x14da5c(0x492)]);}[_0x28ced3(0x3ed)](){return this;}[_0x28ced3(0x361)](_0x36c827){const _0x39a3a1=_0x28ced3;return this['_injector'][_0x39a3a1(0x140)](Oe,this[_0x39a3a1(0x1a4)],this['type'],this[_0x39a3a1(0x480)],this[_0x39a3a1(0x2df)],this[_0x39a3a1(0x492)],_0x36c827);}};he=$e([A(0x7,_0x4dc79e(_0x4ea20b)),A(0x8,_0x4dc79e(_0x1dece0)),A(0x9,_0x4dc79e(q)),A(0xa,_0x1b2c35),A(0xb,_0x10f0f3),A(0xc,_0x5c75aa),A(0xd,_0x56dcb7)],he);function ji(_0x330316,_0x571bc2,_0x5d3556,_0x4d98fb,_0x843ca4,_0x1dad4f){const _0xabe1a1=_0x28ced3;return _0x4d98fb&&_0x843ca4['length']?_0x330316[_0xabe1a1(0x140)](ge,_0x571bc2,_0x5d3556,_0x4d98fb,_0x843ca4,_0x1dad4f,void 0x0):_0x4d98fb?_0x330316[_0xabe1a1(0x140)](Re,_0x571bc2,_0x5d3556,_0x4d98fb,_0x1dad4f):_0x843ca4[_0xabe1a1(0x311)]?_0x330316[_0xabe1a1(0x140)](pe,_0x571bc2,_0x5d3556,_0x843ca4,_0x1dad4f):_0x330316[_0xabe1a1(0x140)](Fe,_0x571bc2,_0x5d3556,_0x1dad4f);}var wo=Object[_0x28ced3(0x4e5)],Do=Object[_0x28ced3(0x23d)],Rs=(_0x45bfb1,_0x4ede78,_0xe18358,_0x4cfb02)=>{const _0xfcc995=_0x28ced3;for(var _0x3ca281=_0x4cfb02>0x1?void 0x0:_0x4cfb02?Do(_0x4ede78,_0xe18358):_0x4ede78,_0x50a5ae=_0x45bfb1[_0xfcc995(0x311)]-0x1,_0x5891f4;_0x50a5ae>=0x0;_0x50a5ae--)(_0x5891f4=_0x45bfb1[_0x50a5ae])&&(_0x3ca281=(_0x4cfb02?_0x5891f4(_0x4ede78,_0xe18358,_0x3ca281):_0x5891f4(_0x3ca281))||_0x3ca281);return _0x4cfb02&&_0x3ca281&&wo(_0x4ede78,_0xe18358,_0x3ca281),_0x3ca281;},H=(_0x5940a8,_0x14b61e)=>(_0x15a98a,_0x1e90d4)=>_0x14b61e(_0x15a98a,_0x1e90d4,_0x5940a8);let St=class extends _0x143369{constructor(_0x974605,_0x27e79d,_0x5b3d9f,_0x5df30a,_0x51386c,_0x2ff3b3,_0x40233a,_0xf1e8f8,_0x24f79a,_0x1d736b,_0x47f797,_0xfd339c,_0x55ab0f){const _0x20cb50=_0x28ced3;super(),g(this,_0x20cb50(0x2cb),new _0x1eab12(null)),g(this,_0x20cb50(0x3d1),this[_0x20cb50(0x2cb)][_0x20cb50(0x18b)]()),g(this,_0x20cb50(0x285)),g(this,_0x20cb50(0x272),!0x1),g(this,_0x20cb50(0x1ee),''),g(this,_0x20cb50(0x48d),0x0),g(this,_0x20cb50(0x510),this[_0x20cb50(0x3d1)][_0x20cb50(0x154)](_0x3ec3a7(_0x5f3cbf=>_0x5f3cbf?_0x5f3cbf[_0x20cb50(0x3a9)]:J[_0x20cb50(0x350)]),_0x216b1f(0x1))),g(this,_0x20cb50(0x152),!0x1),g(this,_0x20cb50(0x31f),[]),(this[_0x20cb50(0x1a4)]=_0x974605,this['session']=_0x27e79d,this['_type']=_0x5b3d9f,this[_0x20cb50(0x23f)]=_0x5df30a,this['_localCacheService']=_0x51386c,this[_0x20cb50(0x15c)]=_0x2ff3b3,this[_0x20cb50(0x340)]=_0x40233a,this[_0x20cb50(0x2b8)]=_0xf1e8f8,this[_0x20cb50(0x427)]=_0x24f79a,this[_0x20cb50(0x3ee)]=_0x1d736b,this[_0x20cb50(0x4ce)]=_0x47f797,this['_permissionService']=_0xfd339c,this[_0x20cb50(0x512)]=_0x55ab0f);}get[_0x28ced3(0x1f0)](){const _0x32d953=_0x28ced3;return this[_0x32d953(0x285)];}async[_0x28ced3(0x2a2)](){const _0x1c000a=_0x28ced3;if(this[_0x1c000a(0x1f0)])throw new Error(_0x1c000a(0x2ab));await this[_0x1c000a(0x474)]();}[_0x28ced3(0x22b)](){const _0x3d7f9c=_0x28ced3;return this[_0x3d7f9c(0x272)]=!0x0,_0x504803(()=>{const _0x1c5eaa=_0x3d7f9c;this[_0x1c5eaa(0x272)]=!0x1,this[_0x1c5eaa(0x291)]();});}[_0x28ced3(0x49d)](_0xbc1bd9){const _0x2468cc=_0x28ced3;this[_0x2468cc(0x285)]=_0xbc1bd9,this[_0x2468cc(0x2cb)][_0x2468cc(0x14b)](_0xbc1bd9);}async[_0x28ced3(0x474)](){const _0x16d937=_0x28ced3;var _0x43d121;this[_0x16d937(0x49d)](await this[_0x16d937(0x4b9)]()),this[_0x16d937(0x512)]&&((_0x43d121=this[_0x16d937(0x512)])==null||_0x43d121[_0x16d937(0x1ea)](this['unitID']),this[_0x16d937(0x1a6)](this[_0x16d937(0x512)][_0x16d937(0x453)](this[_0x16d937(0x1a4)])[_0x16d937(0x293)](_0x19f201=>{const _0x32e6eb=_0x16d937;this[_0x32e6eb(0x427)][_0x32e6eb(0x522)](_0x32e6eb(0x4a5),_0x32e6eb(0x517),_0x19f201),_0x19f201===xi[_0x32e6eb(0x431)]?(this[_0x32e6eb(0x4ce)][_0x32e6eb(0x3dd)]({'content':this[_0x32e6eb(0x340)]['t'](_0x32e6eb(0x332)),'type':_0x116338[_0x32e6eb(0x18d)]}),this[_0x32e6eb(0x3a7)][_0x32e6eb(0x263)](new _0x675da3(this['unitID'])['id'],!0x1),this['_permissionService'][_0x32e6eb(0x29e)](!0x1)):(this[_0x32e6eb(0x3a7)]['updatePermissionPoint'](new _0x675da3(this[_0x32e6eb(0x1a4)])['id'],!0x0),this[_0x32e6eb(0x3a7)][_0x32e6eb(0x29e)](!0x0));})));let _0x5108df=!0x1;return this[_0x16d937(0x1a6)](this[_0x16d937(0x1b8)][_0x16d937(0x17a)][_0x16d937(0x293)](_0x3c16e5=>{const _0x2f4b88=_0x16d937;_0x3c16e5===ve[_0x2f4b88(0x4a6)]?this['_toggleOnline'](_0x5108df):_0x3c16e5===ve[_0x2f4b88(0x350)]&&(_0x5108df=!0x0,this[_0x2f4b88(0x180)]());})),this[_0x16d937(0x1a6)](this[_0x16d937(0x1b8)][_0x16d937(0x27e)][_0x16d937(0x293)](_0x564368=>{const _0x4c471f=_0x16d937;try{switch(_0x564368[_0x4c471f(0x1cd)]){case _0x4fedc8[_0x4c471f(0x4ac)]:{this['_onRemoteChangeset'](_0x17f3f6(_0x564368[_0x4c471f(0x326)]));break;}case _0x4fedc8[_0x4c471f(0x3c4)]:{this[_0x4c471f(0x40c)](_0x564368[_0x4c471f(0x326)]);break;}case _0x4fedc8[_0x4c471f(0x443)]:{this[_0x4c471f(0x42c)]();break;}case _0x4fedc8[_0x4c471f(0x1a3)]:{this[_0x4c471f(0x4ed)](_0x564368['data']);break;}case _0x4fedc8[_0x4c471f(0x378)]:{this['_onFetchMissResult'](_0x564368[_0x4c471f(0x326)][_0x4c471f(0x535)][_0x4c471f(0x271)](_0x53dc31=>_0x17f3f6(_0x53dc31)));break;}case _0x4fedc8[_0x4c471f(0x28d)]:this[_0x4c471f(0x42c)]({'isPermissionRej':!0x0});}}catch(_0x30ee02){throw console[_0x4c471f(0x25b)](_0x4c471f(0x4fb),_0x30ee02),_0x30ee02;}})),this[_0x16d937(0x285)];}['_unlockTransition'](){const _0x5ab451=_0x28ced3;this[_0x5ab451(0x152)]=!0x1;}[_0x28ced3(0x209)](){if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x28ced3(0x402)](_0x540bf0){const _0x107ca0=_0x28ced3;this['_lockTransition'](),this[_0x107ca0(0x49d)](this[_0x107ca0(0x285)][_0x107ca0(0x3ab)](_0x540bf0)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x356867){const _0x2b7e03=_0x28ced3;if(!(_0x356867[_0x2b7e03(0x421)]<=this['_revisionService'][_0x2b7e03(0x3e1)](this[_0x2b7e03(0x1a4)]))){if(this[_0x2b7e03(0x272)]){this[_0x2b7e03(0x31f)]['push'](_0x356867);return;}this[_0x2b7e03(0x276)](_0x356867);}}['_exhaustRemoteChangesetQueue'](){const _0x3359ef=_0x28ced3;this[_0x3359ef(0x31f)][_0x3359ef(0x2ea)](_0x28377b=>this[_0x3359ef(0x276)](_0x28377b)),this[_0x3359ef(0x31f)]=[];}[_0x28ced3(0x276)](_0xa7cfec){const _0x2a36a2=_0x28ced3,_0x367b35=this[_0x2a36a2(0x15c)][_0x2a36a2(0x38c)][_0x2a36a2(0x478)](this[_0x2a36a2(0x15c)]['interceptor'][_0x2a36a2(0x344)]()['COMPRESS_MUTATION_APPLY'])(_0xa7cfec['mutations'],null)||_0xa7cfec[_0x2a36a2(0x436)],_0x2f47b3={..._0xa7cfec,'mutations':_0x367b35};this[_0x2a36a2(0x209)](),this[_0x2a36a2(0x49d)](this['_state'][_0x2a36a2(0x2d4)](_0x2f47b3)),this[_0x2a36a2(0x1b7)]();}['_onRemoteACK'](_0x2de4b1){const _0x575b16=_0x28ced3;this[_0x575b16(0x209)](),this[_0x575b16(0x49d)](this['_state']['onRemoteAck'](_0x2de4b1)),this['_unlockTransition']();}[_0x28ced3(0x42c)](_0x64dc6b){const _0x524305=_0x28ced3;this[_0x524305(0x209)](),this[_0x524305(0x49d)](this[_0x524305(0x285)]['onRemoteRej'](_0x64dc6b)),this[_0x524305(0x1b7)]();}[_0x28ced3(0x4ed)](_0x44b08f){const _0x185b8c=_0x28ced3;this[_0x185b8c(0x209)](),this[_0x185b8c(0x49d)](this[_0x185b8c(0x285)][_0x185b8c(0x13f)](_0x44b08f)),this[_0x185b8c(0x1b7)]();}[_0x28ced3(0x4e6)](_0x2cf15c){const _0x2b08d7=_0x28ced3;if(!(this[_0x2b08d7(0x285)]instanceof he))throw new TypeError(_0x2b08d7(0x4d4));const _0x2eaf7e=_0x2cf15c[_0x2b08d7(0x271)](_0x5e7d25=>{const _0x50ebf0=_0x2b08d7,_0x1dbfa7=this[_0x50ebf0(0x15c)][_0x50ebf0(0x38c)][_0x50ebf0(0x478)](this[_0x50ebf0(0x15c)][_0x50ebf0(0x38c)][_0x50ebf0(0x344)]()[_0x50ebf0(0x381)])(_0x5e7d25[_0x50ebf0(0x436)],null)||_0x5e7d25[_0x50ebf0(0x436)];return{..._0x5e7d25,'mutations':_0x1dbfa7};});this[_0x2b08d7(0x209)](),this[_0x2b08d7(0x49d)](this[_0x2b08d7(0x285)][_0x2b08d7(0x2ad)](_0x2eaf7e)),this[_0x2b08d7(0x1b7)]();}[_0x28ced3(0x180)](){const _0xfdd636=_0x28ced3;this['_lockTransition'](),this[_0xfdd636(0x49d)](this[_0xfdd636(0x285)][_0xfdd636(0x189)]()),this[_0xfdd636(0x1b7)]();}[_0x28ced3(0x259)](_0x11fb07=!0x1){const _0x4b316d=_0x28ced3;this[_0x4b316d(0x209)](),this[_0x4b316d(0x49d)](this[_0x4b316d(0x285)][_0x4b316d(0x3ed)]()),this['_unlockTransition']();const _0x1f16e4=this['_state'];_0x11fb07&&_0x1f16e4 instanceof Fe&&(this[_0x4b316d(0x209)](),this[_0x4b316d(0x49d)](_0x1f16e4['fetchMiss']()),this['_unlockTransition']());}async[_0x28ced3(0x4b9)](){return new Promise(_0x15d561=>{const _0x46060e=_0x5087;this[_0x46060e(0x1b8)][_0x46060e(0x17a)][_0x46060e(0x154)](_0x2a1ef3(0x1))[_0x46060e(0x293)](async _0x2ce7fa=>{const _0x21e242=_0x46060e;_0x15d561(await this['_createInitialStateImpl'](_0x2ce7fa===ve[_0x21e242(0x4a6)]));});});}[_0x28ced3(0x36c)](){const _0xd13b75=_0x28ced3,_0x2fa283=this[_0xd13b75(0x1a4)];return{'onStateChange':(_0x2fb446,_0x459de8)=>{const _0x1ba2c9=_0xd13b75;if(_0x2fb446!==this['_state'])throw new Error(_0x1ba2c9(0x43f)+_0x2fb446[_0x1ba2c9(0x3a9)]+_0x1ba2c9(0x38d)+_0x459de8[_0x1ba2c9(0x3a9)]+_0x1ba2c9(0x3af)+this['_state'][_0x1ba2c9(0x3a9)]);this[_0x1ba2c9(0x49d)](_0x459de8);},'onSendChangeset':_0xa9f6ec=>{const _0x1ebaa6=_0xd13b75;_0xa9f6ec[_0x1ebaa6(0x3e8)]||(_0xa9f6ec['sid']=this['_changesetSessionId'],_0xa9f6ec[_0x1ebaa6(0x35d)]=++this['_changesetReqId']);const _0x2c7cff={'eventID':_0x4fedc8[_0x1ebaa6(0x246)],'data':{'unitID':_0xa9f6ec[_0x1ebaa6(0x1a4)],'unitType':this[_0x1ebaa6(0x4af)],'changeset':_0xa9f6ec,'memberID':this[_0x1ebaa6(0x1b8)]['getMemberID']()}};this[_0x1ebaa6(0x1b8)][_0x1ebaa6(0x1f2)](_0x2c7cff,this[_0x1ebaa6(0x1a4)]);},'onMissingChangesets':({from:_0x905c19,to:_0x4aff4b})=>{const _0x2c30d4=_0xd13b75;this[_0x2c30d4(0x427)][_0x2c30d4(0x522)](_0x2c30d4(0x4a5),_0x2c30d4(0x466)+_0x905c19+'\x20to\x20'+_0x4aff4b);const _0x903f15={'eventID':_0x4fedc8['FETCH_MISSING'],'data':{'unitID':_0x2fa283,'unitType':this[_0x2c30d4(0x4af)],'from':_0x905c19,'to':_0x4aff4b}};this[_0x2c30d4(0x1b8)][_0x2c30d4(0x1f2)](_0x903f15,this[_0x2c30d4(0x1a4)]);}};}async['_createInitialStateImpl'](_0x31cab4){const _0x2b4230=_0x28ced3;var _0x7e8dd,_0x1ba39d;const _0x4d2647=await this['_localCacheService'][_0x2b4230(0x458)](this[_0x2b4230(0x1a4)]),_0xa095f1=(_0x7e8dd=_0x4d2647==null?void 0x0:_0x4d2647[_0x2b4230(0x436)])!=null?_0x7e8dd:[],_0x51b76b=(_0x1ba39d=_0x4d2647==null?void 0x0:_0x4d2647[_0x2b4230(0x148)])!=null?_0x1ba39d:null,_0xf0967f=!!(_0x51b76b!=null&&_0x51b76b['sid'])&&!!(_0x51b76b!=null&&_0x51b76b['reqId']);this['_changesetSessionId']=_0xf0967f?_0x51b76b[_0x2b4230(0x3e8)]:io(),this[_0x2b4230(0x48d)]=_0xf0967f?_0x51b76b[_0x2b4230(0x35d)]:0x0;const _0x52b877=this[_0x2b4230(0x1a4)];try{this[_0x2b4230(0x4fd)](_0x51b76b,_0xa095f1);}catch(_0x29a068){this['_logService']['error'](_0x29a068);}const _0x5f146a=this[_0x2b4230(0x36c)]();if(_0x31cab4){const _0x87ec1b=ji(this[_0x2b4230(0x23f)],_0x52b877,this[_0x2b4230(0x4af)],_0x51b76b,_0xa095f1,_0x5f146a);return _0x87ec1b instanceof pe?_0x87ec1b[_0x2b4230(0x1a8)]():(_0x87ec1b instanceof ge||_0x87ec1b instanceof Re)&&_0x87ec1b[_0x2b4230(0x3c6)](),_0x87ec1b;}return this['_injector'][_0x2b4230(0x140)](ye,_0x52b877,this[_0x2b4230(0x4af)],_0x51b76b,_0xa095f1,_0x5f146a);}[_0x28ced3(0x4fd)](_0x465d13,_0x37e2b0){const _0x39dcc1=_0x28ced3;var _0xaa0f5c,_0x4f9849;const _0x88cbee=this[_0x39dcc1(0x15c)][_0x39dcc1(0x38c)][_0x39dcc1(0x478)](this[_0x39dcc1(0x15c)]['interceptor'][_0x39dcc1(0x344)]()[_0x39dcc1(0x381)]);(_0xaa0f5c=_0x88cbee((_0x465d13==null?void 0x0:_0x465d13[_0x39dcc1(0x436)])||[],null))==null||_0xaa0f5c[_0x39dcc1(0x2ea)](_0x4dbb2f=>this[_0x39dcc1(0x3ee)][_0x39dcc1(0x4ad)](_0x4dbb2f['id'],_0x4dbb2f[_0x39dcc1(0x174)])),(_0x4f9849=_0x88cbee(_0x37e2b0||[],null))==null||_0x4f9849[_0x39dcc1(0x2ea)](_0x2f4929=>this['_commandService'][_0x39dcc1(0x4ad)](_0x2f4929['id'],_0x2f4929[_0x39dcc1(0x174)]));}};St=Rs([H(0x3,_0x4dc79e(_0x4ea20b)),H(0x4,_0x4dc79e(q)),H(0x5,_0x4dc79e(_0x1a90c4)),H(0x6,_0x4dc79e(_0x9d81ca)),H(0x7,_0x4dc79e(_0x1dece0)),H(0x8,_0x1b2c35),H(0x9,_0x10f0f3),H(0xa,_0x27f618),H(0xb,_0x12318d),H(0xc,_0x452242(yt))],St);let rs=class extends St{constructor(_0xbb86ec,_0x59ea3f,_0x14c0fa,_0x356861,_0x2a7274,_0x5b52d7,_0x510f80,_0x58ec89,_0x4f9b26,_0x1ef959,_0x24ae3b,_0x110adc,_0x4c7932,_0x1e8b6a,_0x37081f,_0x39774b,_0x132018,_0x29f0d5){const _0x35242c=_0x28ced3;super(_0xbb86ec,_0x14c0fa,_0x59ea3f,_0x356861,_0x2a7274,_0x5b52d7,_0x510f80,_0x58ec89,_0x1e8b6a,_0x37081f,_0x39774b,_0x132018,_0x29f0d5),this[_0x35242c(0x1a4)]=_0xbb86ec,this['type']=_0x59ea3f,this[_0x35242c(0x377)]=_0x4f9b26,this[_0x35242c(0x203)]=_0x1ef959,this[_0x35242c(0x3b0)]=_0x24ae3b,this['_docTransformSelectionsService']=_0x110adc,this[_0x35242c(0x162)]=_0x4c7932;}[_0x28ced3(0x36c)](){const _0x1780de=_0x28ced3,_0x260cc9=super[_0x1780de(0x36c)]();return _0x260cc9[_0x1780de(0x2e4)]=_0x1c63ef=>this[_0x1780de(0x203)][_0x1780de(0x4f2)](_0x1c63ef),_0x260cc9[_0x1780de(0x234)]=_0x37577a=>this[_0x1780de(0x3b0)][_0x1780de(0x1ed)](_0x37577a),_0x260cc9[_0x1780de(0x28f)]=_0x4b9a3d=>this[_0x1780de(0x53e)][_0x1780de(0x422)](_0x4b9a3d),_0x260cc9[_0x1780de(0x245)]=_0x3b8ae4=>this[_0x1780de(0x162)][_0x1780de(0x53a)](_0x3b8ae4),_0x260cc9[_0x1780de(0x2dc)]=_0x26e678=>this[_0x1780de(0x203)]['transformRemoteChangeset'](_0x26e678),_0x260cc9[_0x1780de(0x258)]=_0x469ced=>this[_0x1780de(0x3b0)]['transformRemoteChangeset'](_0x469ced),_0x260cc9;}async[_0x28ced3(0x474)](){const _0x451e2e=_0x28ced3,_0x4dbadc=await super['_init']();return this[_0x451e2e(0x1a6)](this[_0x451e2e(0x377)]['docStateChange$'][_0x451e2e(0x154)](_0x23d390(this['dispose$']))[_0x451e2e(0x293)](_0x35436f=>{const _0x5556f5=_0x451e2e;if(_0x35436f==null)return;const {unitId:_0xbf40,redoState:_0x1ae584,commandId:_0x262c99}=_0x35436f;if(_0xbf40!==this[_0x5556f5(0x1a4)])return;const _0x36730c={'id':_0x262c99,'type':_0x12a4b6[_0x5556f5(0x2f0)],'params':{'unitId':_0xbf40,'actions':_0x1ae584[_0x5556f5(0x3df)],'textRanges':null}};this['_onLocalMutation'](_0x36730c);})),this[_0x451e2e(0x1a6)](this['_commandService'][_0x451e2e(0x2cc)]((_0x226528,_0x2f022d)=>{const _0x4f2d99=_0x451e2e;if(_0x226528[_0x4f2d99(0x31c)]!==_0x12a4b6[_0x4f2d99(0x2f0)]||_0x2f022d!=null&&_0x2f022d['fromCollab']||_0x2f022d!=null&&_0x2f022d[_0x4f2d99(0x4c3)]||_0x226528['id']===_0x4b4a47['id'])return;const _0xa70cdf=_0x226528[_0x4f2d99(0x174)];if((_0xa70cdf==null?void 0x0:_0xa70cdf[_0x4f2d99(0x284)])!==this[_0x4f2d99(0x1a4)])return;const _0x350254=_0x226528,_0x58a3df=this[_0x4f2d99(0x15c)][_0x4f2d99(0x38c)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x4f2d99(0x38c)][_0x4f2d99(0x344)]()[_0x4f2d99(0x2e5)])([_0x350254],null)||[_0x350254];this['_onLocalMutation'](_0x58a3df[0x0]);})),_0x4dbadc;}};rs=Rs([H(0x3,_0x4dc79e(_0x4ea20b)),H(0x4,_0x4dc79e(q)),H(0x5,_0x4dc79e(_0x1a90c4)),H(0x6,_0x4dc79e(_0x9d81ca)),H(0x7,_0x4dc79e(_0x1dece0)),H(0x8,_0x4dc79e(_0x1ad43c)),H(0x9,_0x4dc79e(vt)),H(0xa,_0x4dc79e(pt)),H(0xb,_0x4dc79e(gt)),H(0xc,_0x4dc79e(Ts)),H(0xd,_0x1b2c35),H(0xe,_0x10f0f3),H(0xf,_0x27f618),H(0x10,_0x12318d),H(0x11,_0x452242(yt))],rs);let ns=class extends St{constructor(_0xa8ee5e,_0x5f03e2,_0x15be4c,_0x4c93f8,_0xd68f44,_0x3fc54e,_0x336cfb,_0x1cfd4b,_0x12a7fc,_0x4dde8d,_0x437f1f,_0x5272ea,_0x2d30a1,_0x5cbb3f){const _0x4cd875=_0x28ced3;super(_0xa8ee5e,_0x15be4c,_0x5f03e2,_0x4c93f8,_0xd68f44,_0x3fc54e,_0x336cfb,_0x1cfd4b,_0x4dde8d,_0x437f1f,_0x5272ea,_0x2d30a1,_0x5cbb3f),this[_0x4cd875(0x1a4)]=_0xa8ee5e,this['type']=_0x5f03e2,this['_sheetTransformSelectionsService']=_0x12a7fc;}[_0x28ced3(0x36c)](){const _0x2faa40=_0x28ced3,_0x412bc2=super['_createHandler']();return _0x412bc2[_0x2faa40(0x28f)]=_0x2ea422=>this[_0x2faa40(0x4b4)][_0x2faa40(0x422)](_0x2ea422),_0x412bc2;}async[_0x28ced3(0x474)](){const _0x45c57f=_0x28ced3,_0x2ad221=await super[_0x45c57f(0x474)]();return this[_0x45c57f(0x1a6)](this[_0x45c57f(0x3ee)][_0x45c57f(0x2cc)]((_0x189b99,_0x481655)=>{const _0x12cc10=_0x45c57f;if(_0x189b99[_0x12cc10(0x31c)]!==_0x12a4b6[_0x12cc10(0x2f0)]||_0x481655!=null&&_0x481655[_0x12cc10(0x49b)]||_0x481655!=null&&_0x481655[_0x12cc10(0x4c3)])return;const _0x138052=_0x189b99['params'];if((_0x138052==null?void 0x0:_0x138052[_0x12cc10(0x284)])!==this[_0x12cc10(0x1a4)])return;const _0x47dfe4=_0x189b99,_0x248818=this[_0x12cc10(0x15c)][_0x12cc10(0x38c)][_0x12cc10(0x478)](this[_0x12cc10(0x15c)]['interceptor'][_0x12cc10(0x344)]()[_0x12cc10(0x2e5)])([_0x47dfe4],null)||[_0x47dfe4];this[_0x12cc10(0x402)](_0x248818[0x0]);})),_0x2ad221;}};ns=Rs([H(0x3,_0x4dc79e(_0x4ea20b)),H(0x4,_0x4dc79e(q)),H(0x5,_0x4dc79e(_0x1a90c4)),H(0x6,_0x4dc79e(_0x9d81ca)),H(0x7,_0x4dc79e(_0x1dece0)),H(0x8,_0x4dc79e(mt)),H(0x9,_0x1b2c35),H(0xa,_0x10f0f3),H(0xb,_0x27f618),H(0xc,_0x12318d),H(0xd,_0x452242(yt))],ns);var Po=Object[_0x28ced3(0x4e5)],Uo=Object['getOwnPropertyDescriptor'],No=(_0x39fdde,_0x177cd4,_0x341ec1,_0x4a0310)=>{const _0x523489=_0x28ced3;for(var _0x455a48=_0x4a0310>0x1?void 0x0:_0x4a0310?Uo(_0x177cd4,_0x341ec1):_0x177cd4,_0x5a141e=_0x39fdde[_0x523489(0x311)]-0x1,_0x5780fd;_0x5a141e>=0x0;_0x5a141e--)(_0x5780fd=_0x39fdde[_0x5a141e])&&(_0x455a48=(_0x4a0310?_0x5780fd(_0x177cd4,_0x341ec1,_0x455a48):_0x5780fd(_0x455a48))||_0x455a48);return _0x4a0310&&_0x455a48&&Po(_0x177cd4,_0x341ec1,_0x455a48),_0x455a48;},Ht=(_0x4d646b,_0x5b80a1)=>(_0x7ec92c,_0x26e9d9)=>_0x5b80a1(_0x7ec92c,_0x26e9d9,_0x4d646b);let it=class extends _0x143369{constructor(_0x59131f,_0x14aa21,_0x35e3df){const _0x51b301=_0x28ced3;super(),g(this,_0x51b301(0x54f),new Map()),g(this,'_entityInit$',new _0x3c0db6()),(this[_0x51b301(0x23f)]=_0x59131f,this[_0x51b301(0x47c)]=_0x14aa21,this['_univerInstanceService']=_0x35e3df,this[_0x51b301(0x474)]());}[_0x28ced3(0x20f)](){const _0x4cc4a9=_0x28ced3;super[_0x4cc4a9(0x20f)](),this['_entities'][_0x4cc4a9(0x2ea)](_0x3e3e93=>_0x3e3e93['dispose']()),this[_0x4cc4a9(0x54f)][_0x4cc4a9(0x38a)]();}[_0x28ced3(0x49c)](_0x37fffa){const _0x40e54b=_0x28ced3;var _0x4b9e23;return(_0x4b9e23=this[_0x40e54b(0x54f)][_0x40e54b(0x177)](_0x37fffa))!=null?_0x4b9e23:null;}['getCollabEntity$'](_0x11d739){const _0x4a0622=_0x28ced3,_0x3d14f9=this[_0x4a0622(0x49c)](_0x11d739);return _0x3d14f9?_0x3a82ee(_0x3d14f9):this['_entityInit$']['pipe'](_0x59126f(_0x40f96e=>_0x40f96e['unitID']===_0x11d739));}['_init'](){const _0x331d52=_0x28ced3;this[_0x331d52(0x1f9)][_0x331d52(0x414)](_0x432165[_0x331d52(0x550)])['pipe'](_0x23d390(this[_0x331d52(0x4a3)]),_0x33dee2(0x10))[_0x331d52(0x293)](async _0xd8805f=>{const _0x1548c2=_0x331d52,_0x4f66e8=_0xd8805f[_0x1548c2(0x367)](),_0x2378f0=await this[_0x1548c2(0x226)](_0x4f66e8,ce[_0x1548c2(0x550)]);this['_entities']['set'](_0x4f66e8,_0x2378f0);}),this[_0x331d52(0x1f9)][_0x331d52(0x414)](_0x432165[_0x331d52(0x21c)])[_0x331d52(0x154)](_0x23d390(this[_0x331d52(0x4a3)]),_0x33dee2(0x10))['pipe'](_0x59126f(_0x2c21b7=>!_0x2c21b7[_0x331d52(0x367)]()['startsWith']('__')))['subscribe'](async _0x4c4eef=>{const _0xe4040c=_0x331d52,_0x484c3b=_0x4c4eef['getUnitId'](),_0x2c8913=await this[_0xe4040c(0x226)](_0x484c3b,ce[_0xe4040c(0x21c)]);this[_0xe4040c(0x54f)][_0xe4040c(0x32a)](_0x484c3b,_0x2c8913);}),_0x16bd1c(this[_0x331d52(0x1f9)][_0x331d52(0x556)](_0x432165[_0x331d52(0x550)]),this[_0x331d52(0x1f9)][_0x331d52(0x556)](_0x432165[_0x331d52(0x21c)]))[_0x331d52(0x154)](_0x23d390(this[_0x331d52(0x4a3)]))[_0x331d52(0x293)](_0x389ab7=>{const _0x10c95a=_0x331d52,_0x4582cb=_0x389ab7[_0x10c95a(0x367)](),_0xc34f64=this['_entities'][_0x10c95a(0x177)](_0x4582cb);_0xc34f64&&(_0xc34f64['dispose'](),this['_entities'][_0x10c95a(0x488)](_0x4582cb));});}async['_startCollaboration'](_0x383e6f,_0x2517f4){const _0x59aa0c=_0x28ced3,_0x54496b=await this[_0x59aa0c(0x47c)][_0x59aa0c(0x18c)](_0x383e6f),_0x345686=this['_injector'][_0x59aa0c(0x140)](this[_0x59aa0c(0x2d5)](_0x2517f4),_0x383e6f,_0x2517f4,_0x54496b);return await _0x345686[_0x59aa0c(0x2a2)](),this[_0x59aa0c(0x34d)][_0x59aa0c(0x14b)](_0x345686),_0x345686;}[_0x28ced3(0x2d5)](_0x5aa9ab){const _0x5584c3=_0x28ced3;switch(_0x5aa9ab){case ce[_0x5584c3(0x21c)]:return rs;case ce[_0x5584c3(0x550)]:return ns;default:throw new Error(_0x5584c3(0x3e6)+_0x5aa9ab);}}};it=No([Ht(0x0,_0x4dc79e(_0x4ea20b)),Ht(0x1,_0x4dc79e(xe)),Ht(0x2,_0x3f5641)],it);var Ao=Object[_0x28ced3(0x4e5)],Mo=Object[_0x28ced3(0x23d)],xo=(_0x61c0d,_0x477dbb,_0x190647,_0x455006)=>{for(var _0x4ba83f=_0x455006>0x1?void 0x0:_0x455006?Mo(_0x477dbb,_0x190647):_0x477dbb,_0x486531=_0x61c0d['length']-0x1,_0x4a7ad7;_0x486531>=0x0;_0x486531--)(_0x4a7ad7=_0x61c0d[_0x486531])&&(_0x4ba83f=(_0x455006?_0x4a7ad7(_0x477dbb,_0x190647,_0x4ba83f):_0x4a7ad7(_0x4ba83f))||_0x4ba83f);return _0x455006&&_0x4ba83f&&Ao(_0x477dbb,_0x190647,_0x4ba83f),_0x4ba83f;},qs=(_0x35c1bd,_0x20816e)=>(_0x23cbeb,_0x3e5bb4)=>_0x20816e(_0x23cbeb,_0x3e5bb4,_0x35c1bd);let It=class extends _0x143369{constructor(_0x20dcac,_0x4ad83a){const _0x2cb15b=_0x28ced3;super(),this[_0x2cb15b(0x399)]=_0x20dcac,this[_0x2cb15b(0x496)]=_0x4ad83a,this[_0x2cb15b(0x474)]();}[_0x28ced3(0x474)](){const _0x534e5b=_0x28ced3,_0x45b070=this;this[_0x534e5b(0x1a6)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x318da8=>{const _0x547845=_0x534e5b,_0x2dd71c=await _0x45b070['_imageIoService']['saveImage'](_0x318da8);return _0x2dd71c?{'source':_0x2dd71c['source'],'imageSourceType':_0x2dd71c[_0x547845(0x26f)]}:null;}}));}};It=xo([qs(0x0,_0x2404dd),qs(0x1,_0x189923)],It);const Xs=[_0x28ced3(0x163),'jiqing500','verdancy600',_0x28ced3(0x4ab),'blue400',_0x28ced3(0x366)];class Os extends _0x4b4314{constructor(){const _0xb632fe=_0x28ced3;super(...arguments),g(this,_0xb632fe(0x45a),new Map()),g(this,_0xb632fe(0x282),0x0);}[_0x28ced3(0x144)](_0x4ee92d){const _0x577621=_0x28ced3;if(this[_0x577621(0x45a)]['has'](_0x4ee92d))return this['_assignedColors'][_0x577621(0x177)](_0x4ee92d);const _0x4d574c=Xs[this[_0x577621(0x282)]];return this[_0x577621(0x282)]=(this[_0x577621(0x282)]+0x1)%Xs['length'],this[_0x577621(0x45a)][_0x577621(0x32a)](_0x4ee92d,_0x4d574c),_0x4d574c;}}var Lo=Object[_0x28ced3(0x4e5)],$o=Object[_0x28ced3(0x23d)],Ho=(_0x287fb7,_0xbded6a,_0x19d13d,_0x5abefa)=>{for(var _0x596990=_0x5abefa>0x1?void 0x0:_0x5abefa?$o(_0xbded6a,_0x19d13d):_0xbded6a,_0x310c0d=_0x287fb7['length']-0x1,_0x350053;_0x310c0d>=0x0;_0x310c0d--)(_0x350053=_0x287fb7[_0x310c0d])&&(_0x596990=(_0x5abefa?_0x350053(_0xbded6a,_0x19d13d,_0x596990):_0x350053(_0x596990))||_0x596990);return _0x5abefa&&_0x596990&&Lo(_0xbded6a,_0x19d13d,_0x596990),_0x596990;},De=(_0x2dea0c,_0x315f48)=>(_0x5123fe,_0x2fb9a2)=>_0x315f48(_0x5123fe,_0x2fb9a2,_0x2dea0c);const jo=0x12c,Bo=0x64;let os=class extends _0x143369{constructor(_0x214785,_0xccc7e5,_0x2f1e62,_0x3cfde3,_0x5eb6db,_0x365b39,_0x3bb01a,_0x3cb52a,_0x109f24){const _0x2f775e=_0x28ced3;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,_0x2f775e(0x3fd),new _0x1eab12(new Map())),g(this,_0x2f775e(0x419),this[_0x2f775e(0x3fd)][_0x2f775e(0x18b)]()),g(this,_0x2f775e(0x24f),new _0x1eab12([])),g(this,_0x2f775e(0x1c1),this['_roomMembers$'][_0x2f775e(0x154)](_0x2b0873(jo))),g(this,_0x2f775e(0x29c),_0x508135(_0x3867b7=>{const _0x1427c8=_0x2f775e,_0x5cb0a2={'eventID':_0x4fedc8[_0x1427c8(0x2e1)],'data':{'unitID':this['unitID'],'memberID':this[_0x1427c8(0x2b4)][_0x1427c8(0x534)](),'selection':Li(_0x3867b7)}};this[_0x1427c8(0x2b4)][_0x1427c8(0x1f2)](_0x5cb0a2,this['unitID']);},Bo)),(this[_0x2f775e(0x1a4)]=_0x214785,this['_session']=_0xccc7e5,this[_0x2f775e(0x23f)]=_0x2f1e62,this[_0x2f775e(0x16c)]=_0x3cfde3,this[_0x2f775e(0x409)]=_0x5eb6db,this[_0x2f775e(0x2db)]=_0x365b39,this['_transformService']=_0x3bb01a,this[_0x2f775e(0x1f9)]=_0x3cb52a,this[_0x2f775e(0x3ee)]=_0x109f24);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x4e232b=_0x28ced3;return this[_0x4e232b(0x24f)]['getValue']();}['dispose'](){const _0xaf25e8=_0x28ced3;super[_0xaf25e8(0x20f)](),this[_0xaf25e8(0x3fd)][_0xaf25e8(0x14b)](new Map()),this[_0xaf25e8(0x3fd)][_0xaf25e8(0x21f)](),this[_0xaf25e8(0x24f)][_0xaf25e8(0x14b)]([]),this[_0xaf25e8(0x24f)]['complete']();}[_0x28ced3(0x2a2)](){const _0x3094a2=_0x28ced3;this[_0x3094a2(0x474)]||(this['_init']=!0x0,this['_session']['sessionStatus$']['pipe'](_0x23d390(this[_0x3094a2(0x4a3)]))[_0x3094a2(0x293)](_0x2f0d61=>{const _0x50b45c=_0x3094a2;_0x2f0d61===ve[_0x50b45c(0x4a6)]?this[_0x50b45c(0x259)]():this[_0x50b45c(0x180)]();}),this['_session']['event$']['pipe'](_0x23d390(this[_0x3094a2(0x4a3)]))[_0x3094a2(0x293)](_0x1b9e3a=>{const _0x169c7a=_0x3094a2,_0x183363=_0x1b9e3a[_0x169c7a(0x1cd)];_0x183363===_0x4fedc8[_0x169c7a(0x2e1)]&&this['_onCursorUpdate'](_0x1b9e3a),_0x183363===_0x4fedc8[_0x169c7a(0x252)]&&this[_0x169c7a(0x4f6)](_0x1b9e3a);}),this[_0x3094a2(0x1a6)](this['_commandService'][_0x3094a2(0x2cc)](_0x2437ff=>{const _0x348b36=_0x3094a2,_0x81b90e=_0x2437ff[_0x348b36(0x174)];_0x81b90e!=null&&this[_0x348b36(0x2c3)]&&_0x2437ff['id']===_0x19495d['id']&&_0x81b90e[_0x348b36(0x284)]===this[_0x348b36(0x1a4)]&&_0x81b90e[_0x348b36(0x3e3)]===!0x1&&_0x81b90e[_0x348b36(0x200)][_0x348b36(0x311)]>0x0&&this[_0x348b36(0x29c)](_0x81b90e[_0x348b36(0x200)]);})),this[_0x3094a2(0x2db)][_0x3094a2(0x232)]['pipe'](_0x23d390(this[_0x3094a2(0x4a3)]))[_0x3094a2(0x293)](_0x214386=>{const _0x2c3254=_0x3094a2;if((_0x214386==null?void 0x0:_0x214386['unitID'])!==this['unitID'])return;const _0x57f02e={'eventID':_0x4fedc8[_0x2c3254(0x2e1)],'data':_0x214386};this[_0x2c3254(0x46c)](_0x57f02e);}),this['disposeWithMe'](this[_0x3094a2(0x3ee)][_0x3094a2(0x2cc)](_0x1281e4=>{const _0x26cd98=_0x3094a2;if(_0x1281e4[_0x26cd98(0x174)]==null)return;const _0x5d55ec=_0x1281e4[_0x26cd98(0x174)];if(_0x1281e4['id']!==_0x4b4a47['id']||_0x5d55ec[_0x26cd98(0x284)]!==this['unitID'])return;const _0x3ba580={'id':_0x26cd98(0x2b2),'params':_0x5d55ec},_0x379689=this['cursorInfo'];for(const [_0x5973a2,_0x3f5696]of _0x379689){const _0x90bf64={'id':_0x26cd98(0x2b2),'params':{'unitId':this[_0x26cd98(0x1a4)],'actions':null,'textRanges':_0x3f5696[_0x26cd98(0x200)]}},_0x1ca5b6=this[_0x26cd98(0x3d8)]['transformMutation'](_0x3ba580,_0x90bf64,!0x1);if(_0x490046(_0x1ca5b6))throw _0x1ca5b6[_0x26cd98(0x25b)];_0x379689[_0x26cd98(0x32a)](_0x5973a2,{..._0x3f5696,'ranges':_0x1ca5b6[_0x26cd98(0x2f1)][_0x26cd98(0x174)][_0x26cd98(0x283)]});}queueMicrotask(()=>{const _0x5ebefc=_0x26cd98;this[_0x5ebefc(0x3fd)][_0x5ebefc(0x14b)](_0x379689);});})));}[_0x28ced3(0x46c)](_0x5199e0){const _0x8a59c1=_0x28ced3;var _0x1fcf25,_0x3da152;const {memberID:_0x459d78,selection:_0x46083a}=_0x5199e0[_0x8a59c1(0x326)],_0x68efaf=So(_0x46083a),_0x1e1b16=(_0x3da152=(_0x1fcf25=this['_memberService'][_0x8a59c1(0x428)](this['unitID'],_0x459d78))==null?void 0x0:_0x1fcf25[_0x8a59c1(0x352)])!=null?_0x3da152:_0x8a59c1(0x20b),_0x782410={'color':this[_0x8a59c1(0x16c)][_0x8a59c1(0x144)](_0x459d78),'name':_0x1e1b16,'ranges':_0x68efaf},_0xeba4a5=this[_0x8a59c1(0x210)];_0xeba4a5[_0x8a59c1(0x32a)](_0x459d78,_0x782410),this['_cursorInfo$'][_0x8a59c1(0x14b)](_0xeba4a5);}[_0x28ced3(0x4f6)](_0x3b4240){const _0x54925b=_0x28ced3,{memberID:_0x25350b}=_0x3b4240[_0x54925b(0x326)],_0x13d819=this[_0x54925b(0x210)];_0x13d819['delete'](_0x25350b),this[_0x54925b(0x3fd)][_0x54925b(0x14b)](_0x13d819);}[_0x28ced3(0x259)](){const _0x549d02=_0x28ced3;var _0x45df29;if(this[_0x549d02(0x2c3)]=!0x0,((_0x45df29=this['_univerInstanceService'][_0x549d02(0x51b)]())==null?void 0x0:_0x45df29[_0x549d02(0x367)]())!==this[_0x549d02(0x1a4)])return;const _0x4526b4=this[_0x549d02(0x23f)][_0x549d02(0x177)](_0x41c6ac)['getDocRanges']();Array[_0x549d02(0x3c7)](_0x4526b4)&&_0x4526b4[_0x549d02(0x311)]>0x0&&this[_0x549d02(0x29c)](_0x4526b4);}[_0x28ced3(0x180)](){const _0x335ac5=_0x28ced3;this[_0x335ac5(0x2c3)]=!0x1;}};os=Ho([De(0x2,_0x4dc79e(_0x4ea20b)),De(0x3,_0x4dc79e(Os)),De(0x4,_0x4dc79e(Me)),De(0x5,_0x4dc79e(Ts)),De(0x6,_0x56dcb7),De(0x7,_0x3f5641),De(0x8,_0x10f0f3)],os);var ko=Object['defineProperty'],Wo=Object['getOwnPropertyDescriptor'],Fo=(_0x2264b6,_0x552344,_0x2ec8f7,_0x47d247)=>{for(var _0xc3d18d=_0x47d247>0x1?void 0x0:_0x47d247?Wo(_0x552344,_0x2ec8f7):_0x552344,_0x189629=_0x2264b6['length']-0x1,_0x49f9d8;_0x189629>=0x0;_0x189629--)(_0x49f9d8=_0x2264b6[_0x189629])&&(_0xc3d18d=(_0x47d247?_0x49f9d8(_0x552344,_0x2ec8f7,_0xc3d18d):_0x49f9d8(_0xc3d18d))||_0xc3d18d);return _0x47d247&&_0xc3d18d&&ko(_0x552344,_0x2ec8f7,_0xc3d18d),_0xc3d18d;},Be=(_0x1d332f,_0x1fbdd2)=>(_0x3ddf63,_0x1dadb)=>_0x1fbdd2(_0x3ddf63,_0x1dadb,_0x1d332f);const Vo=0x12c,Go=0x64,Yo=()=>{let _0x3ac5dd=[],_0x117432=!0x1;return _0x2cb300=>{_0x3ac5dd['push'](_0x2cb300),_0x117432||(_0x117432=!0x0,setTimeout(()=>{_0x3ac5dd['forEach'](_0x5d8439=>_0x5d8439()),_0x3ac5dd=[],_0x117432=!0x1;}));};};let as=class extends _0x143369{constructor(_0x4f8e19,_0x49e301,_0x403ee0,_0x9d5145,_0x12e83a,_0x5ed15c,_0x5815b0,_0x49871a){const _0x20b3fe=_0x28ced3;super(),g(this,_0x20b3fe(0x2c3),!0x1),g(this,_0x20b3fe(0x474),!0x1),g(this,_0x20b3fe(0x3fd),new _0x1eab12(new Map())),g(this,_0x20b3fe(0x419),this['_cursorInfo$'][_0x20b3fe(0x18b)]()),g(this,_0x20b3fe(0x24f),new _0x1eab12([])),g(this,_0x20b3fe(0x1c1),this[_0x20b3fe(0x24f)][_0x20b3fe(0x154)](_0x2b0873(Vo))),g(this,'_updateLocalCursor',_0x508135((_0x394401,_0x435a85)=>{const _0x4be3e0=_0x20b3fe,_0x20e4d8={'eventID':_0x4fedc8[_0x4be3e0(0x2e1)],'data':{'unitID':this[_0x4be3e0(0x1a4)],'memberID':this[_0x4be3e0(0x2b4)][_0x4be3e0(0x534)](),'selection':_0x19b162(_0x394401,_0x435a85[_0x4be3e0(0x159)])}};this[_0x4be3e0(0x2b4)][_0x4be3e0(0x1f2)](_0x20e4d8,this[_0x4be3e0(0x1a4)]);},Go)),(this[_0x20b3fe(0x1a4)]=_0x4f8e19,this[_0x20b3fe(0x2b4)]=_0x49e301,this[_0x20b3fe(0x23f)]=_0x403ee0,this[_0x20b3fe(0x16c)]=_0x9d5145,this[_0x20b3fe(0x409)]=_0x12e83a,this[_0x20b3fe(0x1f9)]=_0x5ed15c,this[_0x20b3fe(0x3ee)]=_0x5815b0,this[_0x20b3fe(0x187)]=_0x49871a);}get[_0x28ced3(0x210)](){const _0x5802a7=_0x28ced3;return this['_cursorInfo$'][_0x5802a7(0x13d)]();}get[_0x28ced3(0x1ad)](){const _0x240550=_0x28ced3;return this[_0x240550(0x24f)][_0x240550(0x13d)]();}[_0x28ced3(0x20f)](){const _0x2c91d8=_0x28ced3;super[_0x2c91d8(0x20f)](),this[_0x2c91d8(0x3fd)]['next'](new Map()),this['_cursorInfo$'][_0x2c91d8(0x21f)](),this[_0x2c91d8(0x24f)][_0x2c91d8(0x14b)]([]),this[_0x2c91d8(0x24f)][_0x2c91d8(0x21f)]();}[_0x28ced3(0x2a2)](){const _0x58394e=_0x28ced3;this[_0x58394e(0x474)]||(this['_init']=!0x0,this[_0x58394e(0x2b4)][_0x58394e(0x17a)][_0x58394e(0x154)](_0x23d390(this[_0x58394e(0x4a3)]))[_0x58394e(0x293)](_0x5c811b=>{const _0x3a2cfd=_0x58394e;_0x5c811b===ve['ONLINE']?this['_toggleOnline']():this[_0x3a2cfd(0x180)]();}),this[_0x58394e(0x2b4)][_0x58394e(0x27e)]['pipe'](_0x23d390(this[_0x58394e(0x4a3)]))[_0x58394e(0x293)](_0x2a14a7=>{const _0x1c3bda=_0x58394e,_0x55b5c1=_0x2a14a7[_0x1c3bda(0x1cd)];_0x55b5c1===_0x4fedc8[_0x1c3bda(0x2e1)]&&this[_0x1c3bda(0x46c)](_0x2a14a7),_0x55b5c1===_0x4fedc8[_0x1c3bda(0x252)]&&this[_0x1c3bda(0x4f6)](_0x2a14a7);}),this['_onRefRangeChange'](),this[_0x58394e(0x1a6)](this[_0x58394e(0x3ee)]['onCommandExecuted'](_0x456420=>{const _0x2149bb=_0x58394e;if(this[_0x2149bb(0x2c3)]&&_0x456420['id']===_0x5b97c7['id']&&_0x456420['params'][_0x2149bb(0x284)]===this[_0x2149bb(0x1a4)]){const _0x504449=_0x456420[_0x2149bb(0x174)];this[_0x2149bb(0x29c)](_0x504449[_0x2149bb(0x21d)],_0x504449['selections'][0x0]);}})));}[_0x28ced3(0x46c)](_0x4a436d){const _0x3679e9=_0x28ced3;var _0x4a143c,_0x5d1368;const {memberID:_0x338e54,selection:_0x1ef7a7}=_0x4a436d[_0x3679e9(0x326)],{sheetName:_0x12a24e,range:_0xe7860}=_0x4bd8b7(_0x1ef7a7),_0x837b61={'name':(_0x5d1368=(_0x4a143c=this[_0x3679e9(0x409)][_0x3679e9(0x428)](this[_0x3679e9(0x1a4)],_0x338e54))==null?void 0x0:_0x4a143c[_0x3679e9(0x352)])!=null?_0x5d1368:_0x3679e9(0x20b),'range':this['_getMergeRange'](_0x12a24e,_0xe7860),'sheetID':_0x12a24e,'color':this[_0x3679e9(0x16c)][_0x3679e9(0x144)](_0x338e54),'selection':_0x1ef7a7},_0x415b34=this[_0x3679e9(0x210)];_0x415b34['set'](_0x338e54,_0x837b61),this[_0x3679e9(0x3fd)][_0x3679e9(0x14b)](_0x415b34);}[_0x28ced3(0x4f6)](_0x2c400f){const _0x4148ab=_0x28ced3,{memberID:_0x38b49d}=_0x2c400f[_0x4148ab(0x326)],_0x277fa5=this['cursorInfo'];_0x277fa5[_0x4148ab(0x488)](_0x38b49d),this[_0x4148ab(0x3fd)][_0x4148ab(0x14b)](_0x277fa5);}[_0x28ced3(0x3ad)](_0xccb5fe,_0x596c26){const _0x16ee0f=_0x28ced3;var _0x52ad36,_0x195673;const _0x1e0fcf=(_0x195673=(_0x52ad36=this['_univerInstanceService'][_0x16ee0f(0x416)](this[_0x16ee0f(0x1a4)]))==null?void 0x0:_0x52ad36[_0x16ee0f(0x1fe)](_0xccb5fe))==null?void 0x0:_0x195673[_0x16ee0f(0x439)]();return(_0x1e0fcf==null?void 0x0:_0x1e0fcf[_0x16ee0f(0x3dc)](_0x3f10a4=>_0x34983c['contains'](_0x3f10a4,_0x596c26)))||_0x596c26;}['_onRefRangeChange'](){const _0x3c751f=_0x28ced3,_0x1d5dc1=new _0x1ddd9a(),_0x375cde=Yo(),_0x414181=()=>{const _0x4d3d60=_0x5087;_0x1d5dc1['dispose']();const _0xeeed23=(_0x158114,_0x3c3194,_0x4b216f,_0x46d4bd)=>{const _0x46dd2e=_0x5087;let _0x583554=[];switch(_0x158114['id']){case _0x9b4f6e[_0x46dd2e(0x2c1)]:{_0x583554=_0x4df27f(_0x158114,_0x46d4bd);break;}case _0x9b4f6e[_0x46dd2e(0x2fb)]:{_0x583554=_0x512a99(_0x158114,_0x46d4bd);break;}case _0x9b4f6e[_0x46dd2e(0x2d2)]:{_0x583554=_0x3ec1f8(_0x158114,_0x46d4bd);break;}case _0x9b4f6e['InsertRangeMoveDownCommandId']:{_0x583554=_0x551668(_0x158114,_0x46d4bd);break;}case _0x9b4f6e[_0x46dd2e(0x447)]:{_0x583554=_0x261c8e(_0x158114,_0x46d4bd);break;}case _0x9b4f6e[_0x46dd2e(0x415)]:{_0x583554=_0xdcd2db(_0x158114,_0x46d4bd);break;}case _0x9b4f6e[_0x46dd2e(0x1ef)]:{_0x583554=_0x1d068d(_0x158114,_0x46d4bd);break;}case _0x9b4f6e['RemoveColCommandId']:{_0x583554=_0x3c97b2(_0x158114,_0x46d4bd);break;}case _0x9b4f6e[_0x46dd2e(0x299)]:{_0x583554=_0x2e1560(_0x158114,_0x46d4bd);break;}}const _0x28bc46=_0x49b9c3(_0x583554,_0x46d4bd),_0x279614=this[_0x46dd2e(0x210)][_0x46dd2e(0x177)](_0x3c3194);if(_0x279614&&_0x28bc46){const _0x2b5897={..._0x279614,'range':_0x28bc46};this[_0x46dd2e(0x210)][_0x46dd2e(0x32a)](_0x3c3194,_0x2b5897),_0x375cde(()=>{const _0x82baa3=_0x46dd2e,_0x7095a4=this[_0x82baa3(0x187)]['registerRefRange'](_0x28bc46,_0x31a0f0=>(_0x7095a4[_0x82baa3(0x20f)](),_0xeeed23(_0x31a0f0,_0x3c3194,_0x4b216f,_0x28bc46)));_0x1d5dc1[_0x82baa3(0x530)](_0x7095a4);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4d3d60(0x2ea)]((_0xed342f,_0x1e51fa)=>{const _0x12de02=_0x4d3d60,{range:_0x349be7,sheetID:_0x42d3c2}=_0xed342f,_0x3c6be2=this[_0x12de02(0x187)][_0x12de02(0x539)](_0x349be7,_0x4a2925=>(_0x3c6be2[_0x12de02(0x20f)](),_0xeeed23(_0x4a2925,_0x1e51fa,_0x42d3c2,_0x349be7)));_0x1d5dc1[_0x12de02(0x530)](_0x3c6be2);});};this[_0x3c751f(0x1a6)](_0x504803(this[_0x3c751f(0x3fd)][_0x3c751f(0x293)](()=>{_0x414181();})));}['_toggleOnline'](){const _0x482d6a=_0x28ced3;var _0x492abe,_0x36bfa8;if(this[_0x482d6a(0x2c3)]=!0x0,((_0x492abe=this[_0x482d6a(0x1f9)][_0x482d6a(0x51b)]())==null?void 0x0:_0x492abe[_0x482d6a(0x367)]())!==this[_0x482d6a(0x1a4)])return;const _0x13eef1=(_0x36bfa8=this['_injector'][_0x482d6a(0x177)](_0x5c8e36)['getCurrentSelections']())==null?void 0x0:_0x36bfa8[0x0],_0xd7e452=this[_0x482d6a(0x1f9)][_0x482d6a(0x475)](_0x432165[_0x482d6a(0x550)])['getActiveSheet']();_0x13eef1&&_0xd7e452&&this['_updateLocalCursor'](_0xd7e452[_0x482d6a(0x41c)](),_0x13eef1);}[_0x28ced3(0x180)](){this['_online']=!0x1;}};as=Fo([Be(0x2,_0x4dc79e(_0x4ea20b)),Be(0x3,_0x4dc79e(Os)),Be(0x4,_0x4dc79e(Me)),Be(0x5,_0x3f5641),Be(0x6,_0x10f0f3),Be(0x7,_0x4dc79e(_0x2d45d4))],as);var Ko=Object[_0x28ced3(0x4e5)],zo=Object[_0x28ced3(0x23d)],qo=(_0xb94be8,_0x50ed6c,_0x55855d,_0x3a3103)=>{const _0x4de3f5=_0x28ced3;for(var _0x1067f4=_0x3a3103>0x1?void 0x0:_0x3a3103?zo(_0x50ed6c,_0x55855d):_0x50ed6c,_0xdd9a9c=_0xb94be8[_0x4de3f5(0x311)]-0x1,_0x15beaa;_0xdd9a9c>=0x0;_0xdd9a9c--)(_0x15beaa=_0xb94be8[_0xdd9a9c])&&(_0x1067f4=(_0x3a3103?_0x15beaa(_0x50ed6c,_0x55855d,_0x1067f4):_0x15beaa(_0x1067f4))||_0x1067f4);return _0x3a3103&&_0x1067f4&&Ko(_0x50ed6c,_0x55855d,_0x1067f4),_0x1067f4;},jt=(_0x43e7da,_0x5afde9)=>(_0x176f4c,_0xef7cf0)=>_0x5afde9(_0x176f4c,_0xef7cf0,_0x43e7da);let Ve=class extends _0x143369{constructor(_0x5bda6d,_0x5755ba,_0x168441){const _0x20503e=_0x28ced3;super(),g(this,_0x20503e(0x54f),new Map()),g(this,_0x20503e(0x34d),new _0x3c0db6()),(this['_univerInstanceService']=_0x5bda6d,this['_injector']=_0x5755ba,this[_0x20503e(0x47c)]=_0x168441,this['_init']());}[_0x28ced3(0x20f)](){const _0x1059d7=_0x28ced3;super[_0x1059d7(0x20f)](),this[_0x1059d7(0x34d)][_0x1059d7(0x21f)](),this['_entities'][_0x1059d7(0x2ea)](_0x4bc618=>_0x4bc618[_0x1059d7(0x20f)]());}[_0x28ced3(0x2a4)](_0x5772c5){const _0x36826a=_0x28ced3;return this['_entities'][_0x36826a(0x238)](_0x5772c5)?this[_0x36826a(0x54f)][_0x36826a(0x177)](_0x5772c5)['cursorInfo$']:this[_0x36826a(0x34d)][_0x36826a(0x154)](_0x134828(_0x382804=>_0x382804[_0x36826a(0x1a4)]===_0x5772c5),_0x2e52a8(_0x69621d=>_0x69621d['cursorInfo$']));}[_0x28ced3(0x474)](){const _0xb9fbed=_0x28ced3;this[_0xb9fbed(0x1f9)][_0xb9fbed(0x414)](_0x432165[_0xb9fbed(0x550)])[_0xb9fbed(0x154)](_0x23d390(this[_0xb9fbed(0x4a3)]))[_0xb9fbed(0x293)](async _0x236755=>{const _0x341c99=_0xb9fbed,_0x59f089=_0x236755[_0x341c99(0x367)](),_0x5a00de=await this[_0x341c99(0x1fc)](_0x59f089);this['_entityInit$'][_0x341c99(0x14b)](_0x5a00de),this[_0x341c99(0x54f)][_0x341c99(0x32a)](_0x59f089,_0x5a00de);}),this[_0xb9fbed(0x1f9)]['getTypeOfUnitAdded$'](_0x432165['UNIVER_DOC'])[_0xb9fbed(0x154)](_0x23d390(this[_0xb9fbed(0x4a3)]))[_0xb9fbed(0x154)](_0x134828(_0x2592b=>!_0x2592b[_0xb9fbed(0x367)]()['startsWith']('__')))[_0xb9fbed(0x293)](async _0x286d8d=>{const _0x377267=_0xb9fbed,_0x5a7992=_0x286d8d['getUnitId'](),_0x8f0ecc=await this[_0x377267(0x398)](_0x5a7992);this[_0x377267(0x34d)][_0x377267(0x14b)](_0x8f0ecc),this[_0x377267(0x54f)][_0x377267(0x32a)](_0x5a7992,_0x8f0ecc);}),_0x16bd1c(this[_0xb9fbed(0x1f9)]['getTypeOfUnitDisposed$'](_0x432165[_0xb9fbed(0x21c)]),this[_0xb9fbed(0x1f9)][_0xb9fbed(0x556)](_0x432165[_0xb9fbed(0x550)]))['pipe'](_0x23d390(this[_0xb9fbed(0x4a3)]))[_0xb9fbed(0x293)](_0x51e6e2=>{const _0x487035=_0xb9fbed,_0xb63e4d=_0x51e6e2['getUnitId'](),_0x66a84f=this[_0x487035(0x54f)][_0x487035(0x177)](_0xb63e4d);_0x66a84f&&(_0x66a84f[_0x487035(0x20f)](),this[_0x487035(0x54f)][_0x487035(0x488)](_0xb63e4d));});}async[_0x28ced3(0x1fc)](_0x25f003){const _0x282032=_0x28ced3,_0x2887b9=await this[_0x282032(0x47c)]['requireSession'](_0x25f003),_0x52c731=this[_0x282032(0x23f)][_0x282032(0x140)](as,_0x25f003,_0x2887b9);return _0x52c731[_0x282032(0x2a2)](),_0x52c731;}async['_startDocCollabCursor'](_0x3dbc0d){const _0x252464=_0x28ced3,_0x5a8c6e=await this[_0x252464(0x47c)][_0x252464(0x18c)](_0x3dbc0d),_0x4fe5bf=this[_0x252464(0x23f)][_0x252464(0x140)](os,_0x3dbc0d,_0x5a8c6e);return _0x4fe5bf['init'](),_0x4fe5bf;}};Ve=qo([jt(0x0,_0x3f5641),jt(0x1,_0x4dc79e(_0x4ea20b)),jt(0x2,_0x4dc79e(xe))],Ve);const rt=0x14,Js=0xc8,Bt=0x4,Xo=0x5;function Jo(_0x16e92d,_0x57a892){const _0x262092=_0x28ced3;let {radius:_0x563181,width:_0x792314,height:_0x25f0f2}=_0x57a892;_0x563181=_0x563181!=null?_0x563181:0x0,_0x792314=_0x792314!=null?_0x792314:0x1e,_0x25f0f2=_0x25f0f2!=null?_0x25f0f2:0x1e;let _0x2bf0ec=0x0,_0x33cdb3=0x0,_0x53d597=0x0;_0x2bf0ec=_0x33cdb3=_0x53d597=Math['min'](_0x563181,_0x792314/0x2,_0x25f0f2/0x2),_0x16e92d[_0x262092(0x464)](),_0x16e92d[_0x262092(0x244)](_0x2bf0ec,0x0),_0x16e92d[_0x262092(0x4e3)](_0x792314-_0x33cdb3,0x0),_0x16e92d[_0x262092(0x1ce)](_0x792314-_0x33cdb3,_0x33cdb3,_0x33cdb3,Math['PI']*0x3/0x2,0x0,!0x1),_0x16e92d[_0x262092(0x4e3)](_0x792314,_0x25f0f2-_0x53d597),_0x16e92d[_0x262092(0x1ce)](_0x792314-_0x53d597,_0x25f0f2-_0x53d597,_0x53d597,0x0,Math['PI']/0x2,!0x1),_0x16e92d['lineTo'](0x0,_0x25f0f2),_0x16e92d['lineTo'](0x0,_0x2bf0ec),_0x16e92d[_0x262092(0x1ce)](_0x2bf0ec,_0x2bf0ec,_0x2bf0ec,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x16e92d[_0x262092(0x44b)](),_0x57a892[_0x262092(0x351)]&&(_0x16e92d[_0x262092(0x44d)](),_0x16e92d[_0x262092(0x2fe)]=_0x57a892['fill'],_0x57a892[_0x262092(0x384)]===_0x262092(0x1e7)?_0x16e92d[_0x262092(0x351)](_0x262092(0x1e7)):_0x16e92d[_0x262092(0x351)](),_0x16e92d[_0x262092(0x155)]());}class wt extends _0x4b03c5{constructor(_0x28ec1c,_0xe37ea1){const _0x5bff5f=_0x28ced3;super(_0x28ec1c,_0xe37ea1),g(this,_0x5bff5f(0x4d1)),g(this,_0x5bff5f(0x503)),(this['color']=_0xe37ea1==null?void 0x0:_0xe37ea1[_0x5bff5f(0x4d1)],this[_0x5bff5f(0x503)]=_0xe37ea1==null?void 0x0:_0xe37ea1[_0x5bff5f(0x503)]);}static[_0x28ced3(0x16a)](_0x3de72e,_0x50e7cc){const _0x5ce115=_0x28ced3,{text:_0x47ff83,color:_0x2430d9}=_0x50e7cc;_0x3de72e[_0x5ce115(0x44d)](),_0x3de72e[_0x5ce115(0x141)]=_0x5ce115(0x216);const _0x2c483d=_0x3de72e[_0x5ce115(0x47a)](_0x47ff83)[_0x5ce115(0x28a)],_0x5a49ff=Math[_0x5ce115(0x461)](_0x2c483d+0x2*Bt,Js);Jo(_0x3de72e,{'height':rt,'radius':0x4,'width':_0x5a49ff,'fill':_0x2430d9,'evented':!0x1}),_0x3de72e['fillStyle']='#FFF';const _0x4bfa86=Bt,_0x40026b=rt-Xo,_0x2b0f0d=Js-0x2*Bt;if(_0x2c483d>_0x2b0f0d){let _0x35b012='',_0x30001a=0x0;for(const _0x11ef78 of _0x47ff83){const _0x29f164=_0x3de72e['measureText'](_0x11ef78)[_0x5ce115(0x28a)];if(_0x30001a+_0x29f164<=_0x2b0f0d-_0x3de72e[_0x5ce115(0x47a)](_0x5ce115(0x365))['width'])_0x35b012+=_0x11ef78,_0x30001a+=_0x29f164;else{_0x35b012+=_0x5ce115(0x365);break;}}_0x3de72e['fillText'](_0x35b012,_0x4bfa86,_0x40026b);}else _0x3de72e[_0x5ce115(0x355)](_0x47ff83,_0x4bfa86,_0x40026b);_0x3de72e[_0x5ce115(0x155)]();}[_0x28ced3(0x240)](_0xb92810){const _0x1d7b9b=_0x28ced3;wt[_0x1d7b9b(0x16a)](_0xb92810,this);}}const kt=_0x28ced3(0x38e),Zo=_0x28ced3(0x395),Qo=_0x28ced3(0x1dd),Je=0x6,ea=1.5,Wt=0x4,ta=1.5,sa=_0x28ced3(0x26e);class Zs{constructor(_0x3af606,_0xae81fc,_0x3f7fa3,_0x427fe4){const _0x5cc3e4=_0x28ced3;g(this,_0x5cc3e4(0x445),[]),g(this,_0x5cc3e4(0x49a),null),g(this,_0x5cc3e4(0x30e),null),g(this,'_anchorDot',null),g(this,_0x5cc3e4(0x438),null),g(this,_0x5cc3e4(0x1db),null),(this[_0x5cc3e4(0x15e)]=_0x3af606,this[_0x5cc3e4(0x320)]=_0xae81fc,this[_0x5cc3e4(0x1fb)]=_0x3f7fa3,this[_0x5cc3e4(0x2fa)]=_0x427fe4,this[_0x5cc3e4(0x36a)]());}set[_0x28ced3(0x243)](_0x4dcbaf){const _0x8a6d9=_0x28ced3;_0x4dcbaf?(this[_0x8a6d9(0x1de)]&&this[_0x8a6d9(0x1de)][_0x8a6d9(0x303)](),this[_0x8a6d9(0x30e)]&&this[_0x8a6d9(0x30e)][_0x8a6d9(0x3dd)]()):(this[_0x8a6d9(0x1de)]&&this[_0x8a6d9(0x1de)][_0x8a6d9(0x3dd)](),this[_0x8a6d9(0x30e)]&&this[_0x8a6d9(0x30e)][_0x8a6d9(0x303)]());}[_0x28ced3(0x20f)](){const _0x4ea34b=_0x28ced3;for(const _0x34a35e of this[_0x4ea34b(0x445)])_0x34a35e[_0x4ea34b(0x20f)]();this[_0x4ea34b(0x30e)]&&this['_textBubble']['dispose'](),this[_0x4ea34b(0x1de)]&&this[_0x4ea34b(0x1de)][_0x4ea34b(0x20f)](),this['_anchor']&&this[_0x4ea34b(0x49a)][_0x4ea34b(0x20f)](),this['_eventUnsubscribe']&&this[_0x4ea34b(0x1db)]();}[_0x28ced3(0x36a)](){const _0x19f8d6=_0x28ced3;var _0x4c245a;const {_docSkeleton:_0x64e08e,_document:_0x5ede29}=this,{color:_0x4b8826,name:_0x1519e3,ranges:_0x19b941}=this[_0x19f8d6(0x15e)],_0x1731b1=_0x5ede29[_0x19f8d6(0x160)](),{docsLeft:_0x3f2508,docsTop:_0x119699}=_0x1731b1,_0x4b23ec=new _0x53db90(_0x1731b1,_0x64e08e);for(const {startOffset:_0x3c61cc,endOffset:_0x5f4148,rangeType:_0x7113d3,segmentId:_0x7c19e6,segmentPage:_0x1b73d6,collapsed:_0x59aede,isActive:_0x450108}of _0x19b941){const _0xac8399=_0x64e08e[_0x19f8d6(0x529)](_0x3c61cc,!0x0,_0x7c19e6,_0x1b73d6);let _0x3c815f=_0x64e08e['findNodePositionByCharIndex'](_0x5f4148,!0x0,_0x7c19e6,_0x1b73d6);if(_0x3c815f==null&&(_0x3c815f=_0x64e08e[_0x19f8d6(0x529)](_0x5f4148-0x1,!0x1,_0x7c19e6,_0x1b73d6)),_0x450108){const {contentBoxPointGroup:_0x4a1edf}=_0x4b23ec['getRangePointData'](_0x3c815f,_0x3c815f);if(_0x4a1edf[_0x19f8d6(0x311)]===0x0)continue;this[_0x19f8d6(0x501)](_0x4b8826,_0x4a1edf,_0x3f2508,_0x119699,_0x1519e3),this[_0x19f8d6(0x1db)]=this[_0x19f8d6(0x354)]();}if(_0xac8399&&_0x3c815f){if(_0x7113d3===_0x349d72[_0x19f8d6(0x51c)]){const _0xa17675=new _0x4d9fac(_0x1731b1,_0x64e08e),{pointGroup:_0x4c41c4}=(_0x4c245a=_0xa17675['getRangePointData'](_0xac8399,_0x3c815f))!=null?_0x4c245a:{};if(_0x4c41c4==null||_0x4c41c4[_0x19f8d6(0x311)]===0x0)continue;this[_0x19f8d6(0x388)](_0x4b8826,_0x4c41c4,_0x3f2508,_0x119699);}else{if(!_0x59aede){const {borderBoxPointGroup:_0x463a6b}=_0x4b23ec[_0x19f8d6(0x345)](_0xac8399,_0x3c815f);if(_0x463a6b[_0x19f8d6(0x311)]===0x0)continue;this[_0x19f8d6(0x279)](_0x4b8826,_0x463a6b,_0x3f2508,_0x119699);}}}}}[_0x28ced3(0x501)](_0x2161c9,_0x4536f7,_0x24ba26,_0x415f97,_0x347672){const _0x52cf52=_0x28ced3,_0xd15ccc=this['_getAnchorBounding'](_0x4536f7),{left:_0x28e120,top:_0x49eaa0,height:_0x2182de}=_0xd15ccc,_0x358baf=this[_0x52cf52(0x178)](),_0x5ca6ec=ta/_0x358baf,_0x4b8004=new _0x2fe146(kt+_0x504575[_0x52cf52(0x2e6)](Je),{'left':_0x28e120+_0x24ba26-_0x5ca6ec,'top':_0x49eaa0+_0x415f97,'height':_0x2182de,'width':ea,'fill':_0x2161c9||_0x41560e(_0x2063c9[_0x52cf52(0x205)],0x0),'strokeWidth':_0x5ca6ec,'stroke':sa,'evented':!0x0});this[_0x52cf52(0x49a)]=_0x4b8004,this['_scene'][_0x52cf52(0x212)](_0x4b8004,_0x25aa05);const _0x126814=new _0x2fe146(kt+_0x504575[_0x52cf52(0x2e6)](Je),{'left':_0x28e120+_0x24ba26-_0x5ca6ec,'top':_0x49eaa0+_0x415f97-Wt/0x2,'height':Wt,'width':Wt,'fill':_0x2161c9||_0x41560e(_0x2063c9[_0x52cf52(0x205)],0x0),'strokeWidth':0x0,'stroke':_0x2161c9||_0x41560e(_0x2063c9['black'],0x0),'evented':!0x1});this[_0x52cf52(0x1de)]=_0x126814,this['_scene'][_0x52cf52(0x212)](_0x126814,_0x25aa05);const _0x3a7fdf=new wt(kt+_0x504575['generateRandomId'](Je),{'left':_0x28e120+_0x24ba26-_0x5ca6ec,'top':_0x49eaa0+_0x415f97-rt,'text':_0x347672,'color':_0x2161c9});this[_0x52cf52(0x30e)]=_0x3a7fdf,this[_0x52cf52(0x320)][_0x52cf52(0x212)](_0x3a7fdf,_0x25aa05),this[_0x52cf52(0x243)]=!0x1;}[_0x28ced3(0x354)](){const _0x3d8f49=_0x28ced3,_0x1fa9b7=this[_0x3d8f49(0x49a)][_0x3d8f49(0x132)][_0x3d8f49(0x17d)](()=>{const _0x35d70b=_0x3d8f49;this[_0x35d70b(0x243)]=!0x0;}),_0x5cf3f2=this[_0x3d8f49(0x49a)][_0x3d8f49(0x46f)][_0x3d8f49(0x17d)](()=>{const _0x4f1472=_0x3d8f49;this[_0x4f1472(0x438)]&&clearTimeout(this[_0x4f1472(0x438)]),this[_0x4f1472(0x438)]=setTimeout(()=>{const _0x36eebf=_0x4f1472;this[_0x36eebf(0x243)]=!0x1;},0x7d0);});return()=>{const _0x29d7c9=_0x3d8f49;_0x1fa9b7[_0x29d7c9(0x43d)](),_0x5cf3f2[_0x29d7c9(0x43d)]();};}[_0x28ced3(0x279)](_0xbb74e4,_0x4c316c,_0x4bb857,_0x5b791b){const _0x2acd10=_0x28ced3,_0x45b0c1=new _0x4e501b(_0xbb74e4)[_0x2acd10(0x3a0)](0.2)[_0x2acd10(0x493)](),_0xfc829e=new _0x4fef52(Zo+_0x504575[_0x2acd10(0x2e6)](Je),{'pointsGroup':_0x4c316c,'fill':_0x45b0c1||_0x41560e(_0x2063c9[_0x2acd10(0x205)],0.2),'left':_0x4bb857,'top':_0x5b791b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2acd10(0x1e3)](_0xfc829e),this[_0x2acd10(0x320)][_0x2acd10(0x212)](_0xfc829e,_0x25aa05);}['_drawRectRange'](_0x34ec2a,_0xc79038,_0x556c71,_0x58572e){const _0x30cbf4=_0x28ced3,_0x4f474a=new _0x4e501b(_0x34ec2a)[_0x30cbf4(0x3a0)](0.2)[_0x30cbf4(0x493)](),_0x19552c=new _0x4fef52(Qo+_0x504575['generateRandomId'](Je),{'pointsGroup':_0xc79038,'fill':_0x4f474a||_0x41560e(_0x2063c9[_0x30cbf4(0x205)],0.2),'left':_0x556c71,'top':_0x58572e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30cbf4(0x445)][_0x30cbf4(0x1e3)](_0x19552c),this[_0x30cbf4(0x320)][_0x30cbf4(0x212)](_0x19552c,_0x25aa05);}[_0x28ced3(0x46a)](_0x5a75c8){const _0x2adb30=_0x5a75c8[0x0],_0xa0a4a=_0x2adb30[0x0],_0x1de6d9=_0x2adb30[0x2],{x:_0x262428,y:_0x2964d0}=_0xa0a4a,{x:_0x8a6379,y:_0x1b91ce}=_0x1de6d9;return{'left':_0x262428,'top':_0x2964d0,'width':_0x8a6379-_0x262428,'height':_0x1b91ce-_0x2964d0};}[_0x28ced3(0x178)](){const _0x71d104=_0x28ced3,{scaleX:_0x7ade32,scaleY:_0x4d61de}=this[_0x71d104(0x320)][_0x71d104(0x4a8)]();return Math[_0x71d104(0x1d8)](_0x7ade32,_0x4d61de);}}var ia=Object[_0x28ced3(0x4e5)],ra=Object[_0x28ced3(0x23d)],na=(_0xf19a53,_0x21120b,_0xc79545,_0x1a8fd6)=>{const _0x758629=_0x28ced3;for(var _0x2c0b48=_0x1a8fd6>0x1?void 0x0:_0x1a8fd6?ra(_0x21120b,_0xc79545):_0x21120b,_0x50eb62=_0xf19a53[_0x758629(0x311)]-0x1,_0x33bee9;_0x50eb62>=0x0;_0x50eb62--)(_0x33bee9=_0xf19a53[_0x50eb62])&&(_0x2c0b48=(_0x1a8fd6?_0x33bee9(_0x21120b,_0xc79545,_0x2c0b48):_0x33bee9(_0x2c0b48))||_0x2c0b48);return _0x1a8fd6&&_0x2c0b48&&ia(_0x21120b,_0xc79545,_0x2c0b48),_0x2c0b48;},ct=(_0xff7cfd,_0x1ef3f5)=>(_0x1f1fe1,_0x75cde8)=>_0x1ef3f5(_0x1f1fe1,_0x75cde8,_0xff7cfd);let cs=class extends _0x143369{constructor(_0x140cce,_0xbb30bb,_0x123acc,_0x5a7bdf,_0x1060b0){const _0x1bf992=_0x28ced3;super(),g(this,_0x1bf992(0x2e7),[]),g(this,_0x1bf992(0x229),[]),(this[_0x1bf992(0x17c)]=_0x140cce,this['_docSkeletonManagerService']=_0xbb30bb,this['_collabCursorController']=_0x123acc,this[_0x1bf992(0x3ee)]=_0x5a7bdf,this[_0x1bf992(0x231)]=_0x1060b0,this[_0x1bf992(0x474)]());}[_0x28ced3(0x474)](){const _0x389497=_0x28ced3,_0x477e9a=this[_0x389497(0x17c)][_0x389497(0x284)],_0x22a0b5=this['_docSkeletonManagerService'];this[_0x389497(0x1a6)](_0x408d8f([this[_0x389497(0x51a)][_0x389497(0x2a4)](_0x477e9a),this[_0x389497(0x231)][_0x389497(0x473)]])[_0x389497(0x154)](_0x997ff7(([_0x388e9f,_0x5aed21])=>({'skeleton':_0x22a0b5[_0x389497(0x325)](),'cursors':[..._0x388e9f[_0x389497(0x3e2)]()][_0x389497(0x403)](_0x19190f=>({..._0x19190f,'color':_0x5aed21[_0x19190f[_0x389497(0x4d1)]]}))})))[_0x389497(0x293)](_0x4d926f=>{const _0x24a349=_0x389497;if(this[_0x24a349(0x1c8)](),_0x4d926f){const {skeleton:_0x27427c,cursors:_0x4d7b4e}=_0x4d926f;this[_0x24a349(0x1ac)](_0x27427c,_0x4d7b4e);}})),this['_initResize'](),this[_0x389497(0x3de)]();}['_updateCollabCursors'](_0x127cc2,_0x489750){const _0xfcc2b1=_0x28ced3,{scene:_0x316768,mainComponent:_0x2e6f21}=this['_context'],_0x1dec38=_0x489750[_0xfcc2b1(0x271)](_0x4b006f=>new Zs(_0x4b006f,_0x316768,_0x127cc2,_0x2e6f21));this[_0xfcc2b1(0x2e7)]=_0x1dec38,this[_0xfcc2b1(0x229)]=_0x489750;}[_0x28ced3(0x290)](){const _0x2d03a8=_0x28ced3;this[_0x2d03a8(0x1c8)]();const {scene:_0x514078,mainComponent:_0x260535}=this[_0x2d03a8(0x17c)],_0x2e4309=this['_docSkeletonManagerService']['getSkeleton'](),_0x16c02a=this[_0x2d03a8(0x229)][_0x2d03a8(0x271)](_0x32f94e=>new Zs(_0x32f94e,_0x514078,_0x2e4309,_0x260535));this[_0x2d03a8(0x2e7)]=_0x16c02a;}[_0x28ced3(0x1c8)](){const _0x4b3825=_0x28ced3;this[_0x4b3825(0x2e7)][_0x4b3825(0x2ea)](_0x13663d=>_0x13663d[_0x4b3825(0x20f)]()),this[_0x4b3825(0x2e7)]=[];}[_0x28ced3(0x3de)](){const _0x5235f7=_0x28ced3,_0x20de68=[_0x268669['id']];this[_0x5235f7(0x1a6)](this[_0x5235f7(0x3ee)][_0x5235f7(0x2cc)](_0x159ca5=>{const _0x4548c8=_0x5235f7;_0x20de68[_0x4548c8(0x4ef)](_0x159ca5['id'])&&_0x159ca5[_0x4548c8(0x174)][_0x4548c8(0x284)]===this[_0x4548c8(0x17c)][_0x4548c8(0x284)]&&this['_refreshCollabCursors']();}));}[_0x28ced3(0x275)](){const _0x180630=_0x28ced3;this[_0x180630(0x1a6)](_0x318de8(this[_0x180630(0x17c)][_0x180630(0x3bd)][_0x180630(0x294)])[_0x180630(0x154)](_0x59126f(_0x484ada=>_0x484ada[_0x180630(0x31c)]===_0x5bf89e[_0x180630(0x1c4)]),_0x39be24(0x10))[_0x180630(0x293)](()=>{const _0x4affe9=_0x180630;this[_0x4affe9(0x290)]();}));}};cs=na([ct(0x1,_0x4dc79e(_0x1acbad)),ct(0x2,_0x4dc79e(Ve)),ct(0x3,_0x10f0f3),ct(0x4,_0x4dc79e(_0x2884a8))],cs);const oa=0x1,aa=1.5;class ca extends _0x4b03c5{constructor(_0x1a4e4b,_0x2bb5b1){const _0x30cca2=_0x28ced3;super(_0x1a4e4b,_0x2bb5b1),g(this,_0x30cca2(0x261)),g(this,'_hovered',!0x1),g(this,_0x30cca2(0x460)),g(this,_0x30cca2(0x190),''),g(this,'_labelPosition',_0x30cca2(0x27f)),g(this,_0x30cca2(0x36f)),(_0x2bb5b1&&this[_0x30cca2(0x39e)](_0x2bb5b1),this['onPointerEnter$'][_0x30cca2(0x17d)](()=>this[_0x30cca2(0x39e)]({'hovered':!0x0})),this[_0x30cca2(0x46f)]['subscribeEvent'](()=>this[_0x30cca2(0x39e)]({'hovered':!0x1})));}['setShapeProps'](_0x59855e){const _0x124912=_0x28ced3;var _0xfe810d,_0x1711d6,_0x1d67ec,_0x1c9af9,_0x29fdb3,_0x270a6f;this[_0x124912(0x261)]=(_0xfe810d=_0x59855e[_0x124912(0x4d1)])!=null?_0xfe810d:this[_0x124912(0x261)],this[_0x124912(0x26d)]=(_0x1711d6=_0x59855e['hovered'])!=null?_0x1711d6:this[_0x124912(0x26d)],this['_range']=(_0x1d67ec=_0x59855e[_0x124912(0x159)])!=null?_0x1d67ec:this['_range'],this[_0x124912(0x190)]=(_0x1c9af9=_0x59855e[_0x124912(0x352)])!=null?_0x1c9af9:this[_0x124912(0x190)],this[_0x124912(0x1ec)]=(_0x29fdb3=_0x59855e[_0x124912(0x448)])!=null?_0x29fdb3:this[_0x124912(0x1ec)],this[_0x124912(0x36f)]=(_0x270a6f=_0x59855e[_0x124912(0x407)])!=null?_0x270a6f:this[_0x124912(0x36f)],this[_0x124912(0x2d0)]({'width':_0x59855e[_0x124912(0x28a)],'height':_0x59855e[_0x124912(0x356)]});}[_0x28ced3(0x27a)](_0x25b0cf){const _0x5bf89f=_0x28ced3,{row:_0x456c73,column:_0x2c13cd}=_0x25b0cf;if(_0x456c73>=this[_0x5bf89f(0x460)][_0x5bf89f(0x19c)]&&_0x456c73<=this[_0x5bf89f(0x460)]['endRow']&&_0x2c13cd>=this[_0x5bf89f(0x460)][_0x5bf89f(0x36b)]&&_0x2c13cd<=this[_0x5bf89f(0x460)][_0x5bf89f(0x511)]){this[_0x5bf89f(0x39e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x28ced3(0x429)](_0x4c05a7){return!0x1;}['_draw'](_0x2e4b8f){const _0x255b86=_0x28ced3;_0x2fe146[_0x255b86(0x16a)](_0x2e4b8f,{'width':this[_0x255b86(0x28a)],'height':this[_0x255b86(0x356)],'strokeWidth':aa,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x255b86(0x26d)]&&(_0x2e4b8f[_0x255b86(0x44d)](),_0x2e4b8f[_0x255b86(0x2dd)](0x1,0x0,0x0,0x1,this[_0x255b86(0x28a)],this[_0x255b86(0x1ec)]==='bottom'?0x0:-rt),wt[_0x255b86(0x16a)](_0x2e4b8f,{'text':this['_name'],'color':this['_color']}),_0x2e4b8f[_0x255b86(0x155)]());}}var ha=Object['defineProperty'],la=Object[_0x28ced3(0x23d)],_a=(_0x1d1915,_0x322413,_0x20da0c,_0x49cd61)=>{for(var _0x1433a8=_0x49cd61>0x1?void 0x0:_0x49cd61?la(_0x322413,_0x20da0c):_0x322413,_0x2736b5=_0x1d1915['length']-0x1,_0x1cb14b;_0x2736b5>=0x0;_0x2736b5--)(_0x1cb14b=_0x1d1915[_0x2736b5])&&(_0x1433a8=(_0x49cd61?_0x1cb14b(_0x322413,_0x20da0c,_0x1433a8):_0x1cb14b(_0x1433a8))||_0x1433a8);return _0x49cd61&&_0x1433a8&&ha(_0x322413,_0x20da0c,_0x1433a8),_0x1433a8;},Ft=(_0x181992,_0x45c390)=>(_0x2c931d,_0x32b900)=>_0x45c390(_0x2c931d,_0x32b900,_0x181992);const ua=0x1389;let hs=class extends _0x143369{constructor(_0xd2ed85,_0x482274,_0x4eab40,_0x4b7dca){const _0x428ce3=_0x28ced3;super(),g(this,_0x428ce3(0x229),new Set()),g(this,'_lastPointer',null),(this[_0x428ce3(0x17c)]=_0xd2ed85,this[_0x428ce3(0x14e)]=_0x482274,this['_collabCursorController']=_0x4eab40,this[_0x428ce3(0x231)]=_0x4b7dca,this[_0x428ce3(0x474)]());}['_init'](){const _0x27255a=_0x28ced3;this[_0x27255a(0x14e)][_0x27255a(0x25f)][_0x27255a(0x154)](_0x4008ce(this[_0x27255a(0x4a3)]),_0x13ac02(_0x48c22a=>{const _0x1fd398=_0x27255a;if(_0x48c22a){const _0xa29a96=_0x48c22a[_0x1fd398(0x437)];return _0x408d8f(this[_0x1fd398(0x51a)][_0x1fd398(0x2a4)](this[_0x1fd398(0x17c)][_0x1fd398(0x284)]),this[_0x1fd398(0x231)]['currentTheme$'])['pipe'](_0x997ff7(([_0x2a6643,_0xe98379])=>{const _0x2ce0ac=_0x1fd398,_0x935978=new Map();return _0x2a6643[_0x2ce0ac(0x2ea)]((_0x4fdf8a,_0x31697e)=>{const _0x27e082=_0x2ce0ac;if(_0x4fdf8a[_0x27e082(0x2bb)]===_0xa29a96){const _0x544f0d={..._0x4fdf8a};_0x544f0d['color']=_0xe98379[_0x4fdf8a['color']],_0x935978[_0x27e082(0x32a)](_0x31697e,_0x544f0d);}}),{'skeleton':_0x48c22a,'cursors':_0x935978};}));}return _0x3a82ee({'skeleton':null,'cursors':new Map()});}))[_0x27255a(0x293)](({skeleton:_0x35cdce,cursors:_0x44a5eb})=>{const _0x3e42=_0x27255a;this[_0x3e42(0x1c8)](),_0x35cdce&&this[_0x3e42(0x1ac)](_0x35cdce,_0x44a5eb);}),this[_0x27255a(0x14e)][_0x27255a(0x25f)][_0x27255a(0x293)](_0x166e4f=>{const _0x371ce1=_0x27255a;if(_0x166e4f==null)return;const {skeleton:_0x1a1b23}=_0x166e4f,{scene:_0x34c765}=this[_0x371ce1(0x17c)];_0x34c765[_0x371ce1(0x1ba)][_0x371ce1(0x17d)](_0x508135(_0xacf7b2=>{const _0x5dd89a=_0x371ce1;var _0x208a56,_0x335310;const {offsetX:_0x7e1b7d,offsetY:_0x2271b5}=_0xacf7b2,{x:_0x1399c1,y:_0x3883f4}=_0x34c765['getRelativeToViewportCoord'](_0x26a81a['FromArray']([_0x7e1b7d,_0x2271b5])),{scaleX:_0x419d55,scaleY:_0x389eac}=_0x34c765[_0x5dd89a(0x4a8)](),_0x1047a7=_0x34c765[_0x5dd89a(0x4f8)](_0x3371f3['VIEW_MAIN']),_0x13f5a3=_0x34c765[_0x5dd89a(0x37f)](_0x26a81a[_0x5dd89a(0x295)]([_0x1399c1,_0x3883f4]),_0x1047a7),_0x1586d3=_0x1a1b23[_0x5dd89a(0x196)](_0x7e1b7d,_0x2271b5,_0x419d55,_0x389eac,_0x13f5a3);((_0x208a56=this[_0x5dd89a(0x433)])==null?void 0x0:_0x208a56[_0x5dd89a(0x289)])===_0x1586d3[_0x5dd89a(0x289)]&&((_0x335310=this[_0x5dd89a(0x433)])==null?void 0x0:_0x335310[_0x5dd89a(0x508)])===_0x1586d3[_0x5dd89a(0x508)]||this[_0x5dd89a(0x229)][_0x5dd89a(0x2ea)](_0xc32dcc=>{const _0x50c460=_0x5dd89a;_0xc32dcc[_0x50c460(0x27a)](_0x1586d3);});},0x64));});}[_0x28ced3(0x1ac)](_0x12cf60,_0x16f931){const _0x848cc9=_0x28ced3;var _0xbae0d0;const _0x375c31=(_0xbae0d0=this[_0x848cc9(0x14e)][_0x848cc9(0x397)]())==null?void 0x0:_0xbae0d0[_0x848cc9(0x53b)];if(!_0x375c31)return;const _0x2ac3ab=this[_0x848cc9(0x199)]();if(!_0x2ac3ab)return;this[_0x848cc9(0x229)]['forEach'](_0xd6803a=>{const _0x2f91d3=_0x848cc9;_0xd6803a[_0x2f91d3(0x313)]();});const {scene:_0x1d3e9f}=_0x2ac3ab,_0x503b23=da(Array[_0x848cc9(0x201)](_0x16f931[_0x848cc9(0x3e2)]()))[_0x848cc9(0x271)](_0x19039a=>{const _0x519738=_0x848cc9,{color:_0x3b7e2a,range:_0x303220,name:_0x3f5cf3,selection:_0x2662b8,sheetID:_0x20e510}=_0x19039a,{startColumn:_0x3dde95,startRow:_0x540e7f,endColumn:_0x43dc28,endRow:_0x3cd38f}=_0x303220,_0x4557cc=_0x1a4e8f(_0x540e7f,_0x3dde95,_0x1d3e9f,_0x375c31),_0x4bae30=_0x1a4e8f(_0x3cd38f,_0x43dc28,_0x1d3e9f,_0x375c31),{columnHeaderHeightAndMarginTop:_0x2f49de}=_0x375c31,{startX:_0x3c36f9,startY:_0x268579}=_0x4557cc,{endX:_0x513646,endY:_0x2f7157}=_0x4bae30,_0xe0e291=_0x513646-_0x3c36f9,_0x16440b=_0x2f7157-_0x268579,_0x246d3a={'labelPosition':_0x268579-_0x2f49de>=rt?_0x519738(0x27f):_0x519738(0x1fa),'sheetID':_0x20e510,'range':_0x303220,'color':_0x3b7e2a,'name':_0x3f5cf3,'selection':_0x2662b8,'left':_0x3c36f9,'top':_0x268579,'width':_0xe0e291,'height':_0x16440b,'evented':!0x1,'zIndex':ua};return new ca(_0x3f5cf3,_0x246d3a);});_0x1d3e9f[_0x848cc9(0x463)](_0x503b23,oa),this[_0x848cc9(0x229)]=new Set(_0x503b23);}[_0x28ced3(0x1c8)](){const _0x293e8c=_0x28ced3;var _0x571691;(_0x571691=this['_cursors'])==null||_0x571691[_0x293e8c(0x2ea)](_0x13fba9=>_0x13fba9[_0x293e8c(0x20f)]());}[_0x28ced3(0x199)](){const _0x29bc44=_0x28ced3;return _0x36ca39(this[_0x29bc44(0x17c)][_0x29bc44(0x455)],this['_context']);}};hs=_a([Ft(0x1,_0x4dc79e(_0x45a610)),Ft(0x2,_0x4dc79e(Ve)),Ft(0x3,_0x4dc79e(_0x2884a8))],hs);function da(_0x8bdabc){const _0x12cfab=_0x28ced3,_0x297aea=new Map();return _0x8bdabc[_0x12cfab(0x2ea)](_0x40e787=>{const _0x5e8f47=_0x12cfab;if(_0x297aea['has'](_0x40e787[_0x5e8f47(0x4db)])){const _0x1afd93=_0x297aea[_0x5e8f47(0x177)](_0x40e787[_0x5e8f47(0x4db)]);_0x1afd93[_0x5e8f47(0x352)]+=',\x20'+_0x40e787[_0x5e8f47(0x352)];}else _0x297aea[_0x5e8f47(0x32a)](_0x40e787[_0x5e8f47(0x4db)],_0x40e787);}),Array[_0x12cfab(0x201)](_0x297aea[_0x12cfab(0x3e2)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x2daa5f){const _0x25b6cc=_0x28ced3;return _0x2daa5f&&_0x2daa5f[_0x25b6cc(0x2d1)]&&Object['prototype'][_0x25b6cc(0x41a)][_0x25b6cc(0x477)](_0x2daa5f,_0x25b6cc(0x1b0))?_0x2daa5f[_0x25b6cc(0x1b0)]:_0x2daa5f;}var Bi={'exports':{}},Dt={},fa=_0x4ae409,va=Symbol['for']('react.element'),ma=Symbol[_0x28ced3(0x358)](_0x28ced3(0x541)),pa=Object['prototype'][_0x28ced3(0x41a)],ga=fa['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x28ced3(0x2d7)],Sa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function ki(_0x34ebdc,_0x317fab,_0x2f883e){const _0x732ed7=_0x28ced3;var _0x17e03a,_0x30936f={},_0x36cd3c=null,_0x40a755=null;_0x2f883e!==void 0x0&&(_0x36cd3c=''+_0x2f883e),_0x317fab[_0x732ed7(0x373)]!==void 0x0&&(_0x36cd3c=''+_0x317fab[_0x732ed7(0x373)]),_0x317fab[_0x732ed7(0x451)]!==void 0x0&&(_0x40a755=_0x317fab['ref']);for(_0x17e03a in _0x317fab)pa[_0x732ed7(0x477)](_0x317fab,_0x17e03a)&&!Sa['hasOwnProperty'](_0x17e03a)&&(_0x30936f[_0x17e03a]=_0x317fab[_0x17e03a]);if(_0x34ebdc&&_0x34ebdc[_0x732ed7(0x2c7)]){for(_0x17e03a in(_0x317fab=_0x34ebdc[_0x732ed7(0x2c7)],_0x317fab))_0x30936f[_0x17e03a]===void 0x0&&(_0x30936f[_0x17e03a]=_0x317fab[_0x17e03a]);}return{'$$typeof':va,'type':_0x34ebdc,'key':_0x36cd3c,'ref':_0x40a755,'props':_0x30936f,'_owner':ga[_0x732ed7(0x131)]};}Dt['Fragment']=ma,Dt[_0x28ced3(0x19d)]=ki,Dt[_0x28ced3(0x2f2)]=ki,Bi[_0x28ced3(0x394)]=Dt;var Pe=Bi['exports'],se=function(){const _0xb1d0d3=_0x28ced3;return se=Object[_0xb1d0d3(0x2bc)]||function(_0x3c3bd3){const _0x2d2f71=_0xb1d0d3;for(var _0x2e49f9,_0x4cfab1=0x1,_0x56286a=arguments[_0x2d2f71(0x311)];_0x4cfab1<_0x56286a;_0x4cfab1++){_0x2e49f9=arguments[_0x4cfab1];for(var _0x1ec2f5 in _0x2e49f9)Object[_0x2d2f71(0x21e)]['hasOwnProperty'][_0x2d2f71(0x477)](_0x2e49f9,_0x1ec2f5)&&(_0x3c3bd3[_0x1ec2f5]=_0x2e49f9[_0x1ec2f5]);}return _0x3c3bd3;},se[_0xb1d0d3(0x4d0)](this,arguments);},Ia=function(_0x33e02a,_0x57c643){const _0x125072=_0x28ced3;var _0x540776={};for(var _0x16071b in _0x33e02a)Object[_0x125072(0x21e)][_0x125072(0x41a)][_0x125072(0x477)](_0x33e02a,_0x16071b)&&_0x57c643[_0x125072(0x467)](_0x16071b)<0x0&&(_0x540776[_0x16071b]=_0x33e02a[_0x16071b]);if(_0x33e02a!=null&&typeof Object[_0x125072(0x3bf)]==_0x125072(0x2cf)){for(var _0x4d8751=0x0,_0x16071b=Object[_0x125072(0x3bf)](_0x33e02a);_0x4d8751<_0x16071b[_0x125072(0x311)];_0x4d8751++)_0x57c643[_0x125072(0x467)](_0x16071b[_0x4d8751])<0x0&&Object[_0x125072(0x21e)][_0x125072(0x519)][_0x125072(0x477)](_0x33e02a,_0x16071b[_0x4d8751])&&(_0x540776[_0x16071b[_0x4d8751]]=_0x33e02a[_0x16071b[_0x4d8751]]);}return _0x540776;},ys=_0x5775b9(function(_0x1b00a0,_0x7de5b4){const _0x5168fe=_0x28ced3;var _0x38e0b4=_0x1b00a0[_0x5168fe(0x1d6)],_0x39bf8b=_0x1b00a0['id'],_0x2ac323=_0x1b00a0['className'],_0x71f01e=_0x1b00a0[_0x5168fe(0x249)],_0x267e1d=Ia(_0x1b00a0,[_0x5168fe(0x1d6),'id',_0x5168fe(0x197),'extend']),_0x438f61=_0x5168fe(0x3c2)[_0x5168fe(0x24a)](_0x39bf8b,'\x20')[_0x5168fe(0x24a)](_0x2ac323||'')[_0x5168fe(0x2a3)](),_0x35ba6c=_0x3840ee('_'[_0x5168fe(0x24a)](ba()));return Wi(_0x38e0b4,''[_0x5168fe(0x24a)](_0x39bf8b),{'defIds':_0x38e0b4[_0x5168fe(0x514)],'idSuffix':_0x35ba6c[_0x5168fe(0x131)]},se({'ref':_0x7de5b4,'className':_0x438f61},_0x267e1d),_0x71f01e);});function Wi(_0x54c3db,_0x2974cd,_0x338aea,_0x4f1cee,_0x33818b){const _0x3d52e0=_0x28ced3;return _0x43869a(_0x54c3db[_0x3d52e0(0x3da)],se(se({'key':_0x2974cd},Ca(_0x54c3db,_0x338aea,_0x33818b)),_0x4f1cee),(Ea(_0x54c3db,_0x338aea)[_0x3d52e0(0x469)]||[])['map'](function(_0x528125,_0x4b5d2d){const _0x2de2e6=_0x3d52e0;return Wi(_0x528125,''[_0x2de2e6(0x24a)](_0x2974cd,'-')[_0x2de2e6(0x24a)](_0x54c3db[_0x2de2e6(0x3da)],'-')['concat'](_0x4b5d2d),_0x338aea,void 0x0,_0x33818b);}));}function Ca(_0x18bd99,_0xb28df3,_0x29987e){const _0x47e8f8=_0x28ced3;var _0x43485a=se({},_0x18bd99[_0x47e8f8(0x1a9)]);_0x29987e!=null&&_0x29987e[_0x47e8f8(0x4bc)]&&_0x43485a[_0x47e8f8(0x351)]===_0x47e8f8(0x4bc)&&(_0x43485a['fill']=_0x29987e[_0x47e8f8(0x4bc)]);var _0x1d0ca2=_0xb28df3[_0x47e8f8(0x514)];return!_0x1d0ca2||_0x1d0ca2['length']===0x0||(_0x18bd99[_0x47e8f8(0x3da)]===_0x47e8f8(0x456)&&_0x43485a[_0x47e8f8(0x45b)]&&(_0x43485a[_0x47e8f8(0x45b)]=_0x43485a['xlink:href']+_0xb28df3['idSuffix']),Object[_0x47e8f8(0x250)](_0x43485a)[_0x47e8f8(0x2ea)](function(_0x42248e){const _0x3b4a74=_0x47e8f8;var _0x1bc0fa=_0x42248e[0x0],_0x23e982=_0x42248e[0x1];typeof _0x23e982=='string'&&(_0x43485a[_0x1bc0fa]=_0x23e982[_0x3b4a74(0x39a)](/url\(#(.*)\)/,_0x3b4a74(0x134)[_0x3b4a74(0x24a)](_0xb28df3[_0x3b4a74(0x224)],')')));})),_0x43485a;}function Ea(_0x44f68a,_0x2566f1){const _0x44e3d8=_0x28ced3;var _0x993f5e,_0x2dc7f0=_0x2566f1[_0x44e3d8(0x514)];return!_0x2dc7f0||_0x2dc7f0[_0x44e3d8(0x311)]===0x0?_0x44f68a:_0x44f68a[_0x44e3d8(0x3da)]===_0x44e3d8(0x35c)&&(!((_0x993f5e=_0x44f68a['children'])===null||_0x993f5e===void 0x0)&&_0x993f5e[_0x44e3d8(0x311)])?se(se({},_0x44f68a),{'children':_0x44f68a[_0x44e3d8(0x469)][_0x44e3d8(0x271)](function(_0x2ca245){const _0x139f64=_0x44e3d8;return typeof _0x2ca245[_0x139f64(0x1a9)]['id']=='string'&&_0x2dc7f0&&_0x2dc7f0[_0x139f64(0x467)](_0x2ca245[_0x139f64(0x1a9)]['id'])>-0x1?se(se({},_0x2ca245),{'attrs':se(se({},_0x2ca245[_0x139f64(0x1a9)]),{'id':_0x2ca245[_0x139f64(0x1a9)]['id']+_0x2566f1['idSuffix']})}):_0x2ca245;})}):_0x44f68a;}function ba(){const _0x43d197=_0x28ced3;return Math['random']()[_0x43d197(0x383)](0x24)['substring'](0x2,0x8);}ys[_0x28ced3(0x4c8)]=_0x28ced3(0x34a);var Ta={'tag':_0x28ced3(0x14c),'attrs':{'fill':_0x28ced3(0x235),'viewBox':_0x28ced3(0x223),'width':_0x28ced3(0x544),'height':_0x28ced3(0x544)},'children':[{'tag':'g','attrs':{'clipPath':_0x28ced3(0x396)},'children':[{'tag':_0x28ced3(0x1d2),'attrs':{'stroke':_0x28ced3(0x374),'d':_0x28ced3(0x2f5),'strokeLinecap':'round','strokeLinejoin':_0x28ced3(0x15f),'strokeWidth':1.2}}]},{'tag':_0x28ced3(0x35c),'attrs':{},'children':[{'tag':_0x28ced3(0x3fe),'attrs':{'id':_0x28ced3(0x220)},'children':[{'tag':'path','attrs':{'fill':_0x28ced3(0x368),'d':_0x28ced3(0x40e)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Fi=_0x5775b9(function(_0xf89d8d,_0x47b932){const _0x30a7c1=_0x28ced3;return _0x43869a(ys,Object[_0x30a7c1(0x2bc)]({},_0xf89d8d,{'id':_0x30a7c1(0x4a0),'ref':_0x47b932,'icon':Ta}));});Fi[_0x28ced3(0x4c8)]=_0x28ced3(0x4f9);var Ra={'tag':_0x28ced3(0x14c),'attrs':{'fill':'none','viewBox':_0x28ced3(0x4a4),'width':_0x28ced3(0x544),'height':_0x28ced3(0x544)},'children':[{'tag':'g','attrs':{'clipPath':_0x28ced3(0x363)},'children':[{'tag':_0x28ced3(0x1d2),'attrs':{'stroke':_0x28ced3(0x374),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x28ced3(0x15f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x28ced3(0x35c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x28ced3(0x362)},'children':[{'tag':_0x28ced3(0x1d2),'attrs':{'fill':_0x28ced3(0x368),'d':'M0\x200H16V16H0z','transform':_0x28ced3(0x161)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Vi=_0x5775b9(function(_0x5d3c86,_0x2d058d){const _0x2fe8df=_0x28ced3;return _0x43869a(ys,Object[_0x2fe8df(0x2bc)]({},_0x5d3c86,{'id':_0x2fe8df(0x2d9),'ref':_0x2d058d,'icon':Ra}));});Vi[_0x28ced3(0x4c8)]=_0x28ced3(0x312);function Gi(_0x1f623c){const _0x144a79=_0x28ced3;var _0x2a8939,_0x549f31,_0x327d61='';if(typeof _0x1f623c==_0x144a79(0x3d4)||typeof _0x1f623c==_0x144a79(0x338))_0x327d61+=_0x1f623c;else{if(typeof _0x1f623c=='object'){if(Array[_0x144a79(0x3c7)](_0x1f623c)){var _0x5990ff=_0x1f623c[_0x144a79(0x311)];for(_0x2a8939=0x0;_0x2a8939<_0x5990ff;_0x2a8939++)_0x1f623c[_0x2a8939]&&(_0x549f31=Gi(_0x1f623c[_0x2a8939]))&&(_0x327d61&&(_0x327d61+='\x20'),_0x327d61+=_0x549f31);}else{for(_0x549f31 in _0x1f623c)_0x1f623c[_0x549f31]&&(_0x327d61&&(_0x327d61+='\x20'),_0x327d61+=_0x549f31);}}}return _0x327d61;}function Oa(){const _0x2fbec9=_0x28ced3;for(var _0x5ea598,_0x36a8f1,_0x26937e=0x0,_0xda0b6b='',_0x465253=arguments[_0x2fbec9(0x311)];_0x26937e<_0x465253;_0x26937e++)(_0x5ea598=arguments[_0x26937e])&&(_0x36a8f1=Gi(_0x5ea598))&&(_0xda0b6b&&(_0xda0b6b+='\x20'),_0xda0b6b+=_0x36a8f1);return _0xda0b6b;}const ya=_0x28ced3(0x372),wa='univer-online-status-title',Da=_0x28ced3(0x1eb),Pa=_0x28ced3(0x307),Ua=_0x28ced3(0x296),Ze={'onlineStatusIcon':ya,'onlineStatusTitle':wa,'onlineStatus':Da,'online':Pa,'offline':Ua};function Na(_0x377628){const _0x3baa9f=_0x28ced3;switch(_0x377628){case J[_0x3baa9f(0x350)]:return _0x3baa9f(0x281);case J['CONFLICT']:return _0x3baa9f(0x2bf);case J['FETCH_MISS']:return _0x3baa9f(0x29d);case J['NOT_COLLAB']:return'collabStatus.notCollab';case J[_0x3baa9f(0x39b)]:case J[_0x3baa9f(0x353)]:return _0x3baa9f(0x305);case J['SYNCED']:case J[_0x3baa9f(0x411)]:return'collabStatus.synced';}}function Aa(_0x535c51){const _0xc502cf=_0x28ced3,{status$:_0x51dac2}=_0x535c51,_0x3a1533=_0x1a2879(_0x51dac2,J[_0xc502cf(0x2be)]),_0x12af75=_0x33cc12(_0x9d81ca),_0x466b5c=_0x33cc12(xe),_0x44d6a5=_0x3a1533!==J['OFFLINE'],_0x5867dd=_0x12af75['t'](Na(_0x3a1533)),_0x25eb78=Oa(Ze[_0xc502cf(0x2c6)],{[Ze[_0xc502cf(0x543)]]:_0x44d6a5,[Ze['offline']]:!_0x44d6a5}),_0x3996af=_0x44d6a5?Pe[_0xc502cf(0x19d)](Vi,{}):Pe[_0xc502cf(0x19d)](Fi,{}),_0x4dd1ad=_0x463542(()=>{const _0x2daffe=_0xc502cf;_0x44d6a5||_0x466b5c[_0x2daffe(0x486)]();},[_0x44d6a5,_0x466b5c]);function _0x32ef33(){const _0x143479=_0xc502cf;return Pe['jsxs']('div',{'className':_0x25eb78,'onClick':_0x4dd1ad,'children':[Pe[_0x143479(0x19d)](_0x143479(0x4a2),{'className':Ze[_0x143479(0x434)],'children':_0x3996af}),Pe[_0x143479(0x19d)](_0x143479(0x4a2),{'className':Ze[_0x143479(0x1f5)],'children':_0x5867dd})]});}return _0x44d6a5?_0x32ef33():Pe[_0xc502cf(0x19d)](_0x1e76c0,{'title':_0x12af75['t'](_0xc502cf(0x33a)),'children':_0x32ef33()});}var Ma=Object['defineProperty'],xa=Object[_0x28ced3(0x23d)],La=(_0x28259e,_0x2643b6,_0x2551fe,_0x42b721)=>{const _0xb3fe6f=_0x28ced3;for(var _0x1267ea=_0x42b721>0x1?void 0x0:_0x42b721?xa(_0x2643b6,_0x2551fe):_0x2643b6,_0x55389e=_0x28259e[_0xb3fe6f(0x311)]-0x1,_0x67803a;_0x55389e>=0x0;_0x55389e--)(_0x67803a=_0x28259e[_0x55389e])&&(_0x1267ea=(_0x42b721?_0x67803a(_0x2643b6,_0x2551fe,_0x1267ea):_0x67803a(_0x1267ea))||_0x1267ea);return _0x42b721&&_0x1267ea&&Ma(_0x2643b6,_0x2551fe,_0x1267ea),_0x1267ea;},ht=(_0x228c38,_0x132c37)=>(_0x2deca3,_0x4085bd)=>_0x132c37(_0x2deca3,_0x4085bd,_0x228c38);let Ct=class extends _0x4b4314{constructor(_0x8d275f,_0x57a993,_0x2ae21a,_0x4cd7b7){const _0x5eb239=_0x28ced3;super(),g(this,_0x5eb239(0x4c5),new _0x1eab12(J['NOT_COLLAB'])),(this[_0x5eb239(0x1f9)]=_0x8d275f,this[_0x5eb239(0x489)]=_0x57a993,this[_0x5eb239(0x23f)]=_0x2ae21a,this[_0x5eb239(0x42f)]=_0x4cd7b7,this['_initStatusComponent'](),this['_initStatusListener']());}['_initStatusListener'](){const _0x24f0e6=_0x28ced3;this[_0x24f0e6(0x1a6)](this[_0x24f0e6(0x1f9)]['focused$']['pipe'](_0x2e52a8(()=>{const _0x21b037=_0x24f0e6,_0x3df429=this[_0x21b037(0x1f9)][_0x21b037(0x51b)]();return _0x3df429?this[_0x21b037(0x42f)][_0x21b037(0x2bd)](_0x3df429[_0x21b037(0x367)]()):_0x3a82ee(null);}),_0x2e52a8(_0x40bbe4=>_0x40bbe4?_0x40bbe4[_0x24f0e6(0x510)]:_0x3a82ee(J[_0x24f0e6(0x2be)])))[_0x24f0e6(0x293)](_0x1962e0=>{const _0x47c281=_0x24f0e6;this[_0x47c281(0x4c5)][_0x47c281(0x14b)](_0x1962e0);}));}[_0x28ced3(0x193)](){const _0x75856a=_0x28ced3;this[_0x75856a(0x1a6)](this[_0x75856a(0x489)][_0x75856a(0x36d)](_0x5599d0[_0x75856a(0x25a)],()=>_0x3c5f22($a({'status$':this[_0x75856a(0x4c5)][_0x75856a(0x18b)]()}),this[_0x75856a(0x23f)])));}};Ct=La([ht(0x0,_0x3f5641),ht(0x1,_0xf6eb1f),ht(0x2,_0x4dc79e(_0x4ea20b)),ht(0x3,_0x4dc79e(it))],Ct);function $a(_0x35ff45){const {status$:_0x1184b7}=_0x35ff45;return function(){const _0x3542a9=_0x5087;return Pe[_0x3542a9(0x19d)](Aa,{'status$':_0x1184b7});};}const Yi=_0x59c894(_0x28ced3(0x347));var Ha=Object[_0x28ced3(0x4e5)],ja=Object[_0x28ced3(0x23d)],Ba=(_0x20f50a,_0x26b5f7,_0x9c9f64,_0x4ee0fa)=>{for(var _0x49fc17=_0x4ee0fa>0x1?void 0x0:_0x4ee0fa?ja(_0x26b5f7,_0x9c9f64):_0x26b5f7,_0x4cb36f=_0x20f50a['length']-0x1,_0x4e37b5;_0x4cb36f>=0x0;_0x4cb36f--)(_0x4e37b5=_0x20f50a[_0x4cb36f])&&(_0x49fc17=(_0x4ee0fa?_0x4e37b5(_0x26b5f7,_0x9c9f64,_0x49fc17):_0x4e37b5(_0x49fc17))||_0x49fc17);return _0x4ee0fa&&_0x49fc17&&Ha(_0x26b5f7,_0x9c9f64,_0x49fc17),_0x49fc17;},ke=(_0x4a88e9,_0x254066)=>(_0x45cda9,_0x116a3c)=>_0x254066(_0x45cda9,_0x116a3c,_0x4a88e9);let Et=class extends _0x143369{constructor(_0x238d4b,_0x537d37,_0x1fd6eb,_0x5ac71a,_0x387675,_0x5261e6){const _0x23589a=_0x28ced3;super(),this[_0x23589a(0x3cb)]=_0x238d4b,this[_0x23589a(0x427)]=_0x537d37,this[_0x23589a(0x3ee)]=_0x1fd6eb,this[_0x23589a(0x2b3)]=_0x5ac71a,this[_0x23589a(0x52f)]=_0x387675,_0x5261e6?_0x5261e6==null||_0x5261e6['whenReady']()['then'](()=>this[_0x23589a(0x474)]()):(this['_logService'][_0x23589a(0x522)](_0x23589a(0x3fa),_0x23589a(0x2a8)),this[_0x23589a(0x474)]());}async['_init'](){const _0x4e511e=_0x28ced3,_0x4d9584=this['_urlService']['getParam']('unit'),_0x14e3e8=this[_0x4e511e(0x3cb)]['getParam'](_0x4e511e(0x31c));if(!_0x4d9584||!_0x14e3e8){this[_0x4e511e(0x427)][_0x4e511e(0x522)]('[DataLoaderController]',_0x4e511e(0x287));return;}switch(Number(_0x14e3e8)){case ce[_0x4e511e(0x550)]:{const _0x2822ed=await this[_0x4e511e(0x3e4)](_0x4d9584);this[_0x4e511e(0x3f2)](_0x2822ed);break;}case ce[_0x4e511e(0x21c)]:{await this[_0x4e511e(0x42a)](_0x4d9584);break;}default:{this['_logService'][_0x4e511e(0x25b)](_0x4e511e(0x3fa),_0x4e511e(0x40d));break;}}}async[_0x28ced3(0x3f2)](_0x31a8ed){const _0x2f9bbc=_0x28ced3;await this[_0x2f9bbc(0x3b6)](_0x31a8ed),_0x31a8ed[_0x2f9bbc(0x25d)][_0x2f9bbc(0x154)](_0x23d390(this[_0x2f9bbc(0x4a3)]))[_0x2f9bbc(0x293)](_0xa3b4aa=>{_0xa3b4aa&&this['_updateURLWithCurrentState'](_0xa3b4aa);}),this['_urlService'][_0x2f9bbc(0x44e)][_0x2f9bbc(0x154)](_0x23d390(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x31a8ed));}['_updateURLWithCurrentState'](_0xb6eb04,_0x112ab6=!0x1){const _0x1b3f09=_0x28ced3,_0x316de0=this['_urlService'][_0x1b3f09(0x370)](_0x1b3f09(0x2e3));_0xb6eb04['getSheetId']()!==_0x316de0&&this[_0x1b3f09(0x3cb)][_0x1b3f09(0x3ac)](_0x1b3f09(0x2e3),_0xb6eb04[_0x1b3f09(0x41c)](),_0x112ab6);}async['_updateSubUnitFromURLParams'](_0x541110){const _0x4de576=_0x28ced3;var _0x24bf5a;const _0x3ec112=this[_0x4de576(0x3cb)]['getParam'](_0x4de576(0x2e3));if(!_0x3ec112||!_0x541110[_0x4de576(0x1fe)](_0x3ec112)){const _0x149c31=_0x541110[_0x4de576(0x400)]()[0x0],_0x49e76e=_0x541110['getSheetBySheetId'](_0x149c31);if(!_0x49e76e)return;this[_0x4de576(0x346)](_0x49e76e,!0x0),await this[_0x4de576(0x3ee)][_0x4de576(0x4ad)](_0x324a33['id'],{'unitId':_0x541110[_0x4de576(0x367)](),'subUnitId':_0x149c31});return;}((_0x24bf5a=_0x541110[_0x4de576(0x4aa)]())==null?void 0x0:_0x24bf5a['getSheetId']())!==_0x3ec112&&await this['_commandService'][_0x4de576(0x4ad)](_0x324a33['id'],{'unitId':_0x541110['getUnitId'](),'subUnitId':_0x3ec112});}async[_0x28ced3(0x3e4)](_0x3f1ba9){const _0x4f9696=_0x28ced3;let _0x41d986=0x0;const _0x5d1ff9=await this[_0x4f9696(0x2b3)][_0x4f9696(0x458)](_0x3f1ba9);return _0x5d1ff9&&(_0x5d1ff9[_0x4f9696(0x148)]||_0x5d1ff9[_0x4f9696(0x436)][_0x4f9696(0x311)]!==0x0)&&(_0x41d986=_0x5d1ff9[_0x4f9696(0x38f)]),_0x41d986===0x0&&this[_0x4f9696(0x427)]['debug'](_0x4f9696(0x3fa),_0x4f9696(0x211)),this[_0x4f9696(0x52f)][_0x4f9696(0x288)](_0x3f1ba9,_0x41d986);}async[_0x28ced3(0x42a)](_0x3e86e1){const _0x2cb731=_0x28ced3;let _0x4b3c15=0x0;const _0x3d11a1=await this[_0x2cb731(0x2b3)][_0x2cb731(0x458)](_0x3e86e1);return _0x3d11a1&&(_0x3d11a1[_0x2cb731(0x148)]||_0x3d11a1[_0x2cb731(0x436)][_0x2cb731(0x311)]!==0x0)&&(_0x4b3c15=_0x3d11a1[_0x2cb731(0x38f)]),_0x4b3c15===0x0&&this[_0x2cb731(0x427)]['debug'](_0x2cb731(0x3fa),_0x2cb731(0x211)),this[_0x2cb731(0x52f)][_0x2cb731(0x1f7)](_0x3e86e1,_0x4b3c15);}};Et=Ba([ke(0x0,Yi),ke(0x1,_0x1b2c35),ke(0x2,_0x10f0f3),ke(0x3,_0x4dc79e(q)),ke(0x4,_0x4dc79e(_0x19655c)),ke(0x5,_0x452242(_0x22c7e2))],Et);var ka=Object[_0x28ced3(0x4e5)],Wa=Object['getOwnPropertyDescriptor'],Fa=(_0x594f0b,_0x585869,_0x15daa0,_0x4e8b20)=>{const _0x4219ec=_0x28ced3;for(var _0x28d73c=_0x4e8b20>0x1?void 0x0:_0x4e8b20?Wa(_0x585869,_0x15daa0):_0x585869,_0x4c553e=_0x594f0b[_0x4219ec(0x311)]-0x1,_0x253f76;_0x4c553e>=0x0;_0x4c553e--)(_0x253f76=_0x594f0b[_0x4c553e])&&(_0x28d73c=(_0x4e8b20?_0x253f76(_0x585869,_0x15daa0,_0x28d73c):_0x253f76(_0x28d73c))||_0x28d73c);return _0x4e8b20&&_0x28d73c&&ka(_0x585869,_0x15daa0,_0x28d73c),_0x28d73c;},Qs=(_0x4bb1e1,_0x1a32c9)=>(_0x50051a,_0x23f544)=>_0x1a32c9(_0x50051a,_0x23f544,_0x4bb1e1);const Va=_0x28ced3(0x37b),Ga=_0x28ced3(0x49f);let bt=class extends _0x4b4314{constructor(_0x2ddf2e,_0x39c977){const _0xa71947=_0x28ced3;super(),this[_0xa71947(0x1f9)]=_0x2ddf2e,this[_0xa71947(0x3f3)]=_0x39c977,this[_0xa71947(0x474)]();}[_0x28ced3(0x474)](){const _0x45abd8=_0x28ced3;this[_0x45abd8(0x1a6)](this[_0x45abd8(0x1f9)][_0x45abd8(0x164)][_0x45abd8(0x293)](()=>{const _0x5c76cf=_0x45abd8;var _0x523d18;const _0x5f2eab=this[_0x5c76cf(0x1f9)][_0x5c76cf(0x51b)]();let _0x51245d=(_0x523d18=this[_0x5c76cf(0x3f3)]['getConfig'](Va))!=null?_0x523d18:Ga;_0x5f2eab instanceof _0x4645c6&&(_0x51245d=_0x5f2eab[_0x5c76cf(0x352)]),document[_0x5c76cf(0x339)]=_0x51245d;}));}};bt=Fa([Qs(0x0,_0x3f5641),Qs(0x1,_0x4267)],bt);var Ya=Object[_0x28ced3(0x4e5)],Ka=Object[_0x28ced3(0x23d)],za=(_0x3c58e6,_0x5171a5,_0x587b8a,_0xfba43)=>{const _0x1fa264=_0x28ced3;for(var _0x11f543=_0xfba43>0x1?void 0x0:_0xfba43?Ka(_0x5171a5,_0x587b8a):_0x5171a5,_0x2ff8fb=_0x3c58e6[_0x1fa264(0x311)]-0x1,_0x409428;_0x2ff8fb>=0x0;_0x2ff8fb--)(_0x409428=_0x3c58e6[_0x2ff8fb])&&(_0x11f543=(_0xfba43?_0x409428(_0x5171a5,_0x587b8a,_0x11f543):_0x409428(_0x11f543))||_0x11f543);return _0xfba43&&_0x11f543&&Ya(_0x5171a5,_0x587b8a,_0x11f543),_0x11f543;},Vt=(_0xa9de9,_0x48b52a)=>(_0x24c474,_0x1b7f1a)=>_0x48b52a(_0x24c474,_0x1b7f1a,_0xa9de9);let Tt=class{constructor(_0x30f94e,_0x5c0603,_0x182380){const _0x5e4e15=_0x28ced3;this[_0x5e4e15(0x3f3)]=_0x30f94e,this[_0x5e4e15(0x195)]=_0x5c0603,this['localeService']=_0x182380,this['init']();}['init'](){const _0x5c6b4b=_0x28ced3;this[_0x5c6b4b(0x195)][_0x5c6b4b(0x2a7)]({'priority':0x1,'interceptor':(_0x2c3329,_0x36a37a)=>_0x36a37a(_0x2c3329)['pipe'](_0x4a2f46(async _0x996682=>{const _0x3e8fbd=_0x5c6b4b,_0x586b05=_0x996682;if(_0x586b05[_0x3e8fbd(0x3a9)]===0x191&&window[_0x3e8fbd(0x1f1)](this['localeService']['t'](_0x3e8fbd(0x268)))){const _0x265e63=window[_0x3e8fbd(0x24b)](window[_0x3e8fbd(0x2c8)]['href']);window[_0x3e8fbd(0x2c8)][_0x3e8fbd(0x2fd)]=this[_0x3e8fbd(0x3d0)]()+_0x3e8fbd(0x36e)+_0x265e63;}return _0x586b05;}))});}[_0x28ced3(0x3d0)](){const _0x1f60f5=_0x28ced3;var _0x57a1d5,_0x53315f;const _0x147a69=this[_0x1f60f5(0x3f3)]['getConfig'](Nn),_0x3bbd92=this[_0x1f60f5(0x3f3)][_0x1f60f5(0x4bd)](ee);return(_0x53315f=(_0x57a1d5=_0x3bbd92==null?void 0x0:_0x3bbd92['loginUrlKey'])!=null?_0x57a1d5:_0x147a69)!=null?_0x53315f:An;}};Tt=za([Vt(0x0,_0x4267),Vt(0x1,_0x4dc79e(_0x327304)),Vt(0x2,_0x4dc79e(_0x9d81ca))],Tt);var qa=Object[_0x28ced3(0x4e5)],Xa=Object[_0x28ced3(0x23d)],Ja=(_0x32d4ad,_0x3f7e2d,_0x49ce82,_0xa1432)=>{const _0x52f75f=_0x28ced3;for(var _0x3ff2bd=_0xa1432>0x1?void 0x0:_0xa1432?Xa(_0x3f7e2d,_0x49ce82):_0x3f7e2d,_0x284e9a=_0x32d4ad[_0x52f75f(0x311)]-0x1,_0x25ca88;_0x284e9a>=0x0;_0x284e9a--)(_0x25ca88=_0x32d4ad[_0x284e9a])&&(_0x3ff2bd=(_0xa1432?_0x25ca88(_0x3f7e2d,_0x49ce82,_0x3ff2bd):_0x25ca88(_0x3ff2bd))||_0x3ff2bd);return _0xa1432&&_0x3ff2bd&&qa(_0x3f7e2d,_0x49ce82,_0x3ff2bd),_0x3ff2bd;},ei=(_0x173dff,_0x3dbb04)=>(_0x1193a4,_0x16b171)=>_0x3dbb04(_0x1193a4,_0x16b171,_0x173dff);const Ki=_0x28ced3(0x43a),Za='/universer-api/authz';let ls=class extends _0x4b4314{constructor(_0x3a46d7,_0x311c59){const _0x10a068=_0x28ced3;super(),this[_0x10a068(0x2ff)]=_0x3a46d7,this[_0x10a068(0x3f3)]=_0x311c59,this[_0x10a068(0x207)]();}['_initMergeInterceptor'](){const _0x13ff92=_0x28ced3,_0x53bded=this;this[_0x13ff92(0x1a6)](this[_0x13ff92(0x2ff)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x3eda92({'isMatch'(_0x3b55db){const _0x508750=_0x13ff92;var _0x24ab00;if(_0x3b55db['method']==='POST'&&((_0x24ab00=_0x3b55db['requestParams'])!=null&&_0x24ab00[_0x508750(0x43e)])){const {objectID:_0x13517d,objectType:_0x453982}=_0x3b55db['requestParams'][_0x508750(0x43e)]||{};if(!_0x13517d||_0x453982===void 0x0)return!0x1;const _0x5e9eee=_0x53bded[_0x508750(0x136)]()+'/'+_0x453982+_0x508750(0x408)+_0x13517d+_0x508750(0x29a);if(_0x3b55db[_0x508750(0x4dc)]===_0x5e9eee)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x324da0){const _0x5ca333=_0x13ff92;var _0x5bb8a2;return(_0x5bb8a2=_0x324da0[_0x5ca333(0x406)])==null?void 0x0:_0x5bb8a2['body'];},'mergeParamsToRequest'(_0x526a8e,_0x45be15){const _0x26ede8=_0x13ff92,_0x3a8622=_0x53bded['_getAPIPrefixPath']()+_0x26ede8(0x1b3),_0x17f2f1=_0x526a8e[_0x26ede8(0x1a0)]((_0x19a532,_0x493087)=>{const _0x2c1469=_0x26ede8,{unitID:_0x511bb9,objectID:_0x36f6f3,objectType:_0x3297b8,actions:_0x5d93f1}=_0x493087;return _0x19a532[_0x511bb9]||(_0x19a532[_0x511bb9]={}),_0x19a532[_0x511bb9][_0x36f6f3]||(_0x19a532[_0x511bb9][_0x36f6f3]={'objectID':_0x36f6f3,'objectType':_0x3297b8,'actions':[]}),_0x19a532[_0x511bb9][_0x36f6f3][_0x2c1469(0x3df)]['push'](..._0x5d93f1),_0x19a532;},{}),_0x440e23=[];for(const _0x2a1410 in _0x17f2f1)for(const _0x183c1d in _0x17f2f1[_0x2a1410]){const {actions:_0x32c926,objectType:_0x533f4c}=_0x17f2f1[_0x2a1410][_0x183c1d],_0x487415=[...new Set(_0x32c926)];_0x440e23['push']({'unitID':_0x2a1410,'objectID':_0x183c1d,'objectType':_0x533f4c,'actions':_0x487415});}return new _0x2a5160(_0x26ede8(0x1fd),_0x3a8622,{'headers':_0x45be15[_0x26ede8(0x1c5)],'withCredentials':_0x45be15[_0x26ede8(0x151)],'responseType':_0x45be15['responseType'],'body':{'requests':_0x440e23}});}},{'distributeResult'(_0x55bdda,_0x35cf1c){const _0x5caf87=_0x13ff92,{objectActions:_0x33a340}=_0x55bdda;return _0x35cf1c[_0x5caf87(0x271)](_0x5e6e8d=>{const _0x2ba0c5=_0x5caf87,{unitID:_0x3016fc,objectID:_0xcacba2,actions:_0x53ed64}=_0x5e6e8d,_0x3fdaeb=_0x33a340['find'](_0x450430=>_0x450430['unitID']===_0x3016fc&&_0x450430['objectID']===_0xcacba2),_0x1a10f5=_0x53ed64[_0x2ba0c5(0x271)](_0x442af0=>_0x3fdaeb==null?void 0x0:_0x3fdaeb['actions'][_0x2ba0c5(0x3dc)](_0x324606=>_0x324606[_0x2ba0c5(0x2c0)]===_0x442af0))['filter'](_0x20387c=>!!_0x20387c);return{'config':_0x5e6e8d,'result':{'actions':_0x1a10f5,'error':_0x55bdda[_0x2ba0c5(0x25b)]}};});}})}));}[_0x28ced3(0x136)](){const _0x274dae=_0x28ced3;var _0x40b895,_0x5a3242;const _0x22bcb4=this[_0x274dae(0x3f3)][_0x274dae(0x4bd)](Ki),_0x2d3c79=this[_0x274dae(0x3f3)][_0x274dae(0x4bd)](ee);return(_0x5a3242=(_0x40b895=_0x2d3c79==null?void 0x0:_0x2d3c79[_0x274dae(0x4b2)])!=null?_0x40b895:_0x22bcb4)!=null?_0x5a3242:Za;}async[_0x28ced3(0x150)](_0x2e3d4d){const _0x485b4f=_0x28ced3,_0x23f9c8=this[_0x485b4f(0x136)]()+'/'+_0x2e3d4d[_0x485b4f(0x1e8)]+_0x485b4f(0x4d7);return(await this[_0x485b4f(0x2ff)]['post'](_0x23f9c8,{'body':_0x2e3d4d}))[_0x485b4f(0x43e)][_0x485b4f(0x183)]||'';}async[_0x28ced3(0x3ec)](_0xdcdb49){const _0x2f4ecd=_0x28ced3,_0x10d586=this['_getAPIPrefixPath']()+_0x2f4ecd(0x468);return(await this[_0x2f4ecd(0x2ff)]['post'](_0x10d586,{'body':_0xdcdb49}))['body']['objects'];}async[_0x28ced3(0x3fc)](_0x55e9f5){const _0x48447e=_0x28ced3,_0x2e6847=this[_0x48447e(0x136)]()+'/'+_0x55e9f5[_0x48447e(0x1e8)]+_0x48447e(0x408)+_0x55e9f5['objectID'];await this[_0x48447e(0x2ff)][_0x48447e(0x2f6)](_0x2e6847,{'body':_0x55e9f5});}async[_0x28ced3(0x52e)](_0x4d5419){const _0x5664db=_0x28ced3,_0x2b76fc=this[_0x5664db(0x136)]()+'/'+_0x4d5419[_0x5664db(0x1e8)]+_0x5664db(0x408)+_0x4d5419[_0x5664db(0x183)]+_0x5664db(0x29a);return(await this[_0x5664db(0x2ff)]['post'](_0x2b76fc,{'body':_0x4d5419}))[_0x5664db(0x43e)][_0x5664db(0x3df)];}async[_0x28ced3(0x548)](_0x39b0a6){const _0x4813a3=_0x28ced3,_0x9167e5=this[_0x4813a3(0x136)]()+_0x4813a3(0x1b3);return(await this[_0x4813a3(0x2ff)][_0x4813a3(0x1af)](_0x9167e5,{'body':{'requests':_0x39b0a6}}))[_0x4813a3(0x43e)][_0x4813a3(0x3ce)];}async['listRoles'](_0x233cfb){const _0x1c400f=_0x28ced3,_0x296874=this[_0x1c400f(0x136)]()+'/'+_0x233cfb['objectType']+_0x1c400f(0x4cb),_0xcd3466=await this[_0x1c400f(0x2ff)][_0x1c400f(0x1af)](_0x296874,{'body':_0x233cfb});return{'roles':_0xcd3466[_0x1c400f(0x43e)][_0x1c400f(0x499)],'actions':_0xcd3466[_0x1c400f(0x43e)]['actions']};}async[_0x28ced3(0x1ae)](_0xd4c414){const _0x22e33e=_0x28ced3,_0x1a1582=this[_0x22e33e(0x136)]()+_0x22e33e(0x3b4);await this[_0x22e33e(0x2ff)][_0x22e33e(0x488)](_0x1a1582,{'params':{'collaboratorID':_0xd4c414['collaboratorID'],'objectID':_0xd4c414[_0x22e33e(0x183)],'unitID':_0xd4c414['unitID']}});}async['updateCollaborator'](_0x15aea2){const _0x5e8e6a=_0x28ced3,_0x4d96cf=this[_0x5e8e6a(0x136)]()+'/collaborator';await this[_0x5e8e6a(0x2ff)]['patch'](_0x4d96cf,{'body':_0x15aea2});}async[_0x28ced3(0x228)](_0x905410){const _0x4a8037=_0x28ced3,_0x405fb4=this[_0x4a8037(0x136)]()+_0x4a8037(0x3b4);await this['_HTTPService'][_0x4a8037(0x1af)](_0x405fb4,{'body':_0x905410});}async[_0x28ced3(0x198)](_0x390c6a){const _0x2616d6=_0x28ced3,_0x5dfa4d=this[_0x2616d6(0x136)]()+'/collaborator';return(await this[_0x2616d6(0x2ff)]['get'](_0x5dfa4d,{'params':{'objectID':_0x390c6a[_0x2616d6(0x183)],'unitID':_0x390c6a[_0x2616d6(0x1a4)]}}))['body'][_0x2616d6(0x1df)];}async[_0x28ced3(0x34b)](_0x3e015d){const _0x46bc43=_0x28ced3,_0x105b55=this[_0x46bc43(0x136)]()+_0x46bc43(0x3b4);await this[_0x46bc43(0x2ff)]['put'](_0x105b55,{'body':_0x3e015d});}};ls=Ja([ei(0x0,_0x4dc79e(_0x327304)),ei(0x1,_0x4dc79e(_0x4267))],ls);var zi={'exports':{}};function Qa(_0x16786c){const _0x459920=_0x28ced3;throw new Error(_0x459920(0x1c2)+_0x16786c+_0x459920(0x533));}var Gt={'exports':{}},ti;function ue(){const _0x112453=_0x28ced3;return ti||(ti=0x1,function(_0x4c352b,_0xceee7c){(function(_0x194b0d,_0x53a899){const _0x1edbc1=_0x5087;_0x4c352b[_0x1edbc1(0x394)]=_0x53a899();}(Z,function(){var _0x4f6650=_0x4f6650||function(_0x1e9cbf,_0x3681f){const _0x4b3df7=_0x5087;var _0x2e9a0a;if(typeof window<'u'&&window[_0x4b3df7(0x2f7)]&&(_0x2e9a0a=window[_0x4b3df7(0x2f7)]),typeof self<'u'&&self[_0x4b3df7(0x2f7)]&&(_0x2e9a0a=self[_0x4b3df7(0x2f7)]),typeof globalThis<'u'&&globalThis[_0x4b3df7(0x2f7)]&&(_0x2e9a0a=globalThis[_0x4b3df7(0x2f7)]),!_0x2e9a0a&&typeof window<'u'&&window[_0x4b3df7(0x32f)]&&(_0x2e9a0a=window[_0x4b3df7(0x32f)]),!_0x2e9a0a&&typeof Z<'u'&&Z[_0x4b3df7(0x2f7)]&&(_0x2e9a0a=Z[_0x4b3df7(0x2f7)]),!_0x2e9a0a&&typeof Qa==_0x4b3df7(0x2cf))try{_0x2e9a0a=require(_0x4b3df7(0x2f7));}catch{}var _0x5d0304=function(){const _0x3b0902=_0x4b3df7;if(_0x2e9a0a){if(typeof _0x2e9a0a['getRandomValues']=='function')try{return _0x2e9a0a[_0x3b0902(0x2a5)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2e9a0a[_0x3b0902(0x4bb)]==_0x3b0902(0x2cf))try{return _0x2e9a0a[_0x3b0902(0x4bb)](0x4)[_0x3b0902(0x4c0)]();}catch{}}throw new Error(_0x3b0902(0x3c0));},_0x77c45a=Object['create']||(function(){function _0x337709(){}return function(_0x539a01){const _0x556958=_0x5087;var _0x15a56d;return _0x337709[_0x556958(0x21e)]=_0x539a01,_0x15a56d=new _0x337709(),_0x337709[_0x556958(0x21e)]=null,_0x15a56d;};}()),_0x3e3b5f={},_0x31694b=_0x3e3b5f[_0x4b3df7(0x1b4)]={},_0x362049=_0x31694b['Base']=(function(){return{'extend':function(_0x3f26d7){const _0xf29e42=_0x5087;var _0x553467=_0x77c45a(this);return _0x3f26d7&&_0x553467[_0xf29e42(0x247)](_0x3f26d7),(!_0x553467[_0xf29e42(0x41a)](_0xf29e42(0x2a2))||this['init']===_0x553467[_0xf29e42(0x2a2)])&&(_0x553467[_0xf29e42(0x2a2)]=function(){const _0x1037d6=_0xf29e42;_0x553467[_0x1037d6(0x153)][_0x1037d6(0x2a2)][_0x1037d6(0x4d0)](this,arguments);}),_0x553467[_0xf29e42(0x2a2)][_0xf29e42(0x21e)]=_0x553467,_0x553467['$super']=this,_0x553467;},'create':function(){const _0x11e24f=_0x5087;var _0x55cbae=this[_0x11e24f(0x249)]();return _0x55cbae[_0x11e24f(0x2a2)][_0x11e24f(0x4d0)](_0x55cbae,arguments),_0x55cbae;},'init':function(){},'mixIn':function(_0x30368e){const _0x43fb05=_0x5087;for(var _0x3a85dc in _0x30368e)_0x30368e[_0x43fb05(0x41a)](_0x3a85dc)&&(this[_0x3a85dc]=_0x30368e[_0x3a85dc]);_0x30368e[_0x43fb05(0x41a)](_0x43fb05(0x383))&&(this[_0x43fb05(0x383)]=_0x30368e[_0x43fb05(0x383)]);},'clone':function(){const _0x1dfaf8=_0x5087;return this['init'][_0x1dfaf8(0x21e)][_0x1dfaf8(0x249)](this);}};}()),_0x5bd184=_0x31694b['WordArray']=_0x362049[_0x4b3df7(0x249)]({'init':function(_0x577156,_0x5acd83){const _0x3d679f=_0x4b3df7;_0x577156=this[_0x3d679f(0x2c4)]=_0x577156||[],_0x5acd83!=_0x3681f?this[_0x3d679f(0x324)]=_0x5acd83:this[_0x3d679f(0x324)]=_0x577156[_0x3d679f(0x311)]*0x4;},'toString':function(_0x4c3f09){return(_0x4c3f09||_0x530e15)['stringify'](this);},'concat':function(_0x301e51){const _0x512ff5=_0x4b3df7;var _0x487ed8=this[_0x512ff5(0x2c4)],_0x3b5636=_0x301e51['words'],_0x1e9cc4=this[_0x512ff5(0x324)],_0x4c7dd5=_0x301e51[_0x512ff5(0x324)];if(this[_0x512ff5(0x4c6)](),_0x1e9cc4%0x4)for(var _0x218272=0x0;_0x218272<_0x4c7dd5;_0x218272++){var _0x52318c=_0x3b5636[_0x218272>>>0x2]>>>0x18-_0x218272%0x4*0x8&0xff;_0x487ed8[_0x1e9cc4+_0x218272>>>0x2]|=_0x52318c<<0x18-(_0x1e9cc4+_0x218272)%0x4*0x8;}else{for(var _0x367840=0x0;_0x367840<_0x4c7dd5;_0x367840+=0x4)_0x487ed8[_0x1e9cc4+_0x367840>>>0x2]=_0x3b5636[_0x367840>>>0x2];}return this[_0x512ff5(0x324)]+=_0x4c7dd5,this;},'clamp':function(){const _0x57b607=_0x4b3df7;var _0xce8494=this[_0x57b607(0x2c4)],_0x448a57=this['sigBytes'];_0xce8494[_0x448a57>>>0x2]&=0xffffffff<<0x20-_0x448a57%0x4*0x8,_0xce8494[_0x57b607(0x311)]=_0x1e9cbf['ceil'](_0x448a57/0x4);},'clone':function(){const _0x2e4805=_0x4b3df7;var _0x5bc89e=_0x362049[_0x2e4805(0x4e7)][_0x2e4805(0x477)](this);return _0x5bc89e[_0x2e4805(0x2c4)]=this[_0x2e4805(0x2c4)][_0x2e4805(0x554)](0x0),_0x5bc89e;},'random':function(_0x1c02d9){const _0x531121=_0x4b3df7;for(var _0x41ac76=[],_0x34b8a4=0x0;_0x34b8a4<_0x1c02d9;_0x34b8a4+=0x4)_0x41ac76[_0x531121(0x1e3)](_0x5d0304());return new _0x5bd184['init'](_0x41ac76,_0x1c02d9);}}),_0x24fc27=_0x3e3b5f[_0x4b3df7(0x4cf)]={},_0x530e15=_0x24fc27[_0x4b3df7(0x194)]={'stringify':function(_0x19e633){const _0x2e050f=_0x4b3df7;for(var _0x291815=_0x19e633['words'],_0x3365e8=_0x19e633[_0x2e050f(0x324)],_0x492360=[],_0xda00dd=0x0;_0xda00dd<_0x3365e8;_0xda00dd++){var _0x3cc827=_0x291815[_0xda00dd>>>0x2]>>>0x18-_0xda00dd%0x4*0x8&0xff;_0x492360[_0x2e050f(0x1e3)]((_0x3cc827>>>0x4)[_0x2e050f(0x383)](0x10)),_0x492360[_0x2e050f(0x1e3)]((_0x3cc827&0xf)[_0x2e050f(0x383)](0x10));}return _0x492360[_0x2e050f(0x30c)]('');},'parse':function(_0x1f2f97){const _0x4d9959=_0x4b3df7;for(var _0x2267fc=_0x1f2f97[_0x4d9959(0x311)],_0x56dcc1=[],_0x7fdc5c=0x0;_0x7fdc5c<_0x2267fc;_0x7fdc5c+=0x2)_0x56dcc1[_0x7fdc5c>>>0x3]|=parseInt(_0x1f2f97[_0x4d9959(0x2b5)](_0x7fdc5c,0x2),0x10)<<0x18-_0x7fdc5c%0x8*0x4;return new _0x5bd184[(_0x4d9959(0x2a2))](_0x56dcc1,_0x2267fc/0x2);}},_0x55a2d7=_0x24fc27[_0x4b3df7(0x306)]={'stringify':function(_0x150bdd){const _0x24f42f=_0x4b3df7;for(var _0x50d5ce=_0x150bdd[_0x24f42f(0x2c4)],_0x67a85c=_0x150bdd[_0x24f42f(0x324)],_0x2b7e8a=[],_0x175226=0x0;_0x175226<_0x67a85c;_0x175226++){var _0x49beb5=_0x50d5ce[_0x175226>>>0x2]>>>0x18-_0x175226%0x4*0x8&0xff;_0x2b7e8a[_0x24f42f(0x1e3)](String['fromCharCode'](_0x49beb5));}return _0x2b7e8a[_0x24f42f(0x30c)]('');},'parse':function(_0x35c891){const _0x1eb649=_0x4b3df7;for(var _0x475a40=_0x35c891[_0x1eb649(0x311)],_0xdcb5cc=[],_0xc523b0=0x0;_0xc523b0<_0x475a40;_0xc523b0++)_0xdcb5cc[_0xc523b0>>>0x2]|=(_0x35c891[_0x1eb649(0x1d5)](_0xc523b0)&0xff)<<0x18-_0xc523b0%0x4*0x8;return new _0x5bd184[(_0x1eb649(0x2a2))](_0xdcb5cc,_0x475a40);}},_0x3935d6=_0x24fc27[_0x4b3df7(0x3db)]={'stringify':function(_0x1e0761){const _0xfff001=_0x4b3df7;try{return decodeURIComponent(escape(_0x55a2d7[_0xfff001(0x27b)](_0x1e0761)));}catch{throw new Error(_0xfff001(0x146));}},'parse':function(_0x1c1598){const _0x123399=_0x4b3df7;return _0x55a2d7[_0x123399(0x4c4)](unescape(encodeURIComponent(_0x1c1598)));}},_0x4870aa=_0x31694b[_0x4b3df7(0x4c1)]=_0x362049[_0x4b3df7(0x249)]({'reset':function(){const _0x503d14=_0x4b3df7;this[_0x503d14(0x1e9)]=new _0x5bd184[(_0x503d14(0x2a2))](),this[_0x503d14(0x2ce)]=0x0;},'_append':function(_0x291ed8){const _0x2a29ff=_0x4b3df7;typeof _0x291ed8=='string'&&(_0x291ed8=_0x3935d6['parse'](_0x291ed8)),this[_0x2a29ff(0x1e9)]['concat'](_0x291ed8),this[_0x2a29ff(0x2ce)]+=_0x291ed8['sigBytes'];},'_process':function(_0x2ba24e){const _0x1e3891=_0x4b3df7;var _0x54a696,_0x5cb048=this[_0x1e3891(0x1e9)],_0x2ec268=_0x5cb048[_0x1e3891(0x2c4)],_0x22c758=_0x5cb048[_0x1e3891(0x324)],_0x1192f6=this[_0x1e3891(0x1d7)],_0xe5055c=_0x1192f6*0x4,_0x219c6f=_0x22c758/_0xe5055c;_0x2ba24e?_0x219c6f=_0x1e9cbf[_0x1e3891(0x12e)](_0x219c6f):_0x219c6f=_0x1e9cbf[_0x1e3891(0x1d8)]((_0x219c6f|0x0)-this['_minBufferSize'],0x0);var _0xf10a5a=_0x219c6f*_0x1192f6,_0x2ad58b=_0x1e9cbf['min'](_0xf10a5a*0x4,_0x22c758);if(_0xf10a5a){for(var _0x16d081=0x0;_0x16d081<_0xf10a5a;_0x16d081+=_0x1192f6)this['_doProcessBlock'](_0x2ec268,_0x16d081);_0x54a696=_0x2ec268[_0x1e3891(0x52d)](0x0,_0xf10a5a),_0x5cb048[_0x1e3891(0x324)]-=_0x2ad58b;}return new _0x5bd184[(_0x1e3891(0x2a2))](_0x54a696,_0x2ad58b);},'clone':function(){const _0x293a0a=_0x4b3df7;var _0x342f48=_0x362049[_0x293a0a(0x4e7)]['call'](this);return _0x342f48[_0x293a0a(0x1e9)]=this[_0x293a0a(0x1e9)][_0x293a0a(0x4e7)](),_0x342f48;},'_minBufferSize':0x0});_0x31694b[_0x4b3df7(0x38b)]=_0x4870aa[_0x4b3df7(0x249)]({'cfg':_0x362049['extend'](),'init':function(_0x10a92f){const _0x4f03c=_0x4b3df7;this[_0x4f03c(0x487)]=this['cfg'][_0x4f03c(0x249)](_0x10a92f),this[_0x4f03c(0x18e)]();},'reset':function(){_0x4870aa['reset']['call'](this),this['_doReset']();},'update':function(_0x167d65){const _0x51514f=_0x4b3df7;return this['_append'](_0x167d65),this[_0x51514f(0x4ea)](),this;},'finalize':function(_0x561655){const _0x3bc261=_0x4b3df7;_0x561655&&this[_0x3bc261(0x221)](_0x561655);var _0xcd4178=this[_0x3bc261(0x364)]();return _0xcd4178;},'blockSize':0x10,'_createHelper':function(_0x3a67b2){return function(_0x2f18c4,_0x491964){const _0x590ed6=_0x5087;return new _0x3a67b2[(_0x590ed6(0x2a2))](_0x491964)[_0x590ed6(0x551)](_0x2f18c4);};},'_createHmacHelper':function(_0x1bde89){return function(_0x578634,_0x373aef){const _0x3ff91a=_0x5087;return new _0x46ad74['HMAC'][(_0x3ff91a(0x2a2))](_0x1bde89,_0x373aef)['finalize'](_0x578634);};}});var _0x46ad74=_0x3e3b5f['algo']={};return _0x3e3b5f;}(Math);return _0x4f6650;}));}(Gt)),Gt[_0x112453(0x394)];}var Yt={'exports':{}},si;function qi(){return si||(si=0x1,function(_0x3cfd94,_0x1a6a9b){(function(_0x2bf6b2,_0x3dc2ef){const _0x47b7f7=_0x5087;_0x3cfd94[_0x47b7f7(0x394)]=_0x3dc2ef(ue());}(Z,function(_0x245906){const _0x35ceab=_0x5087;return(function(){const _0x43fed4=_0x5087;var _0x2022f5=_0x245906,_0x26acf0=_0x2022f5['lib'],_0x5c740=_0x26acf0['WordArray'],_0x6a773=_0x2022f5['enc'];_0x6a773[_0x43fed4(0x504)]={'stringify':function(_0x41b3c9){const _0x5886d3=_0x43fed4;var _0xd317a8=_0x41b3c9[_0x5886d3(0x2c4)],_0x207820=_0x41b3c9[_0x5886d3(0x324)],_0x573af7=this[_0x5886d3(0x213)];_0x41b3c9['clamp']();for(var _0x3acda8=[],_0x5498ea=0x0;_0x5498ea<_0x207820;_0x5498ea+=0x3)for(var _0x110f17=_0xd317a8[_0x5498ea>>>0x2]>>>0x18-_0x5498ea%0x4*0x8&0xff,_0x2fd02f=_0xd317a8[_0x5498ea+0x1>>>0x2]>>>0x18-(_0x5498ea+0x1)%0x4*0x8&0xff,_0x1bb422=_0xd317a8[_0x5498ea+0x2>>>0x2]>>>0x18-(_0x5498ea+0x2)%0x4*0x8&0xff,_0x13e07a=_0x110f17<<0x10|_0x2fd02f<<0x8|_0x1bb422,_0x513ae0=0x0;_0x513ae0<0x4&&_0x5498ea+_0x513ae0*0.75<_0x207820;_0x513ae0++)_0x3acda8[_0x5886d3(0x1e3)](_0x573af7['charAt'](_0x13e07a>>>0x6*(0x3-_0x513ae0)&0x3f));var _0x547719=_0x573af7['charAt'](0x40);if(_0x547719){for(;_0x3acda8[_0x5886d3(0x311)]%0x4;)_0x3acda8[_0x5886d3(0x1e3)](_0x547719);}return _0x3acda8[_0x5886d3(0x30c)]('');},'parse':function(_0x808c90){const _0x5cb02d=_0x43fed4;var _0x449d4f=_0x808c90[_0x5cb02d(0x311)],_0x3c849b=this['_map'],_0x4867da=this[_0x5cb02d(0x4b8)];if(!_0x4867da){_0x4867da=this['_reverseMap']=[];for(var _0x4de95e=0x0;_0x4de95e<_0x3c849b[_0x5cb02d(0x311)];_0x4de95e++)_0x4867da[_0x3c849b['charCodeAt'](_0x4de95e)]=_0x4de95e;}var _0x23aef0=_0x3c849b['charAt'](0x40);if(_0x23aef0){var _0x599519=_0x808c90[_0x5cb02d(0x467)](_0x23aef0);_0x599519!==-0x1&&(_0x449d4f=_0x599519);}return _0x4a07c5(_0x808c90,_0x449d4f,_0x4867da);},'_map':_0x43fed4(0x1bb)};function _0x4a07c5(_0x5b7386,_0x42efe6,_0x2e1797){const _0x50dbe7=_0x43fed4;for(var _0x225050=[],_0x5c95b7=0x0,_0x2095b1=0x0;_0x2095b1<_0x42efe6;_0x2095b1++)if(_0x2095b1%0x4){var _0x2a2cf2=_0x2e1797[_0x5b7386[_0x50dbe7(0x1d5)](_0x2095b1-0x1)]<<_0x2095b1%0x4*0x2,_0x2f9215=_0x2e1797[_0x5b7386[_0x50dbe7(0x1d5)](_0x2095b1)]>>>0x6-_0x2095b1%0x4*0x2,_0x57717a=_0x2a2cf2|_0x2f9215;_0x225050[_0x5c95b7>>>0x2]|=_0x57717a<<0x18-_0x5c95b7%0x4*0x8,_0x5c95b7++;}return _0x5c740[_0x50dbe7(0x150)](_0x225050,_0x5c95b7);}}()),_0x245906[_0x35ceab(0x4cf)]['Base64'];}));}(Yt)),Yt['exports'];}var Kt={'exports':{}},ii;function ec(){const _0x5efc63=_0x28ced3;return ii||(ii=0x1,function(_0x3b957e,_0x412268){(function(_0x373c56,_0x278773){const _0x359005=_0x5087;_0x3b957e[_0x359005(0x394)]=_0x278773(ue());}(Z,function(_0x145e9a){return function(_0x9ecb7d){const _0x461aae=_0x5087;var _0x2d5249=_0x145e9a,_0x51541b=_0x2d5249['lib'],_0x5047df=_0x51541b[_0x461aae(0x3d7)],_0x37e548=_0x51541b[_0x461aae(0x38b)],_0x34f921=_0x2d5249['algo'],_0x27524a=[];(function(){const _0x369ec1=_0x461aae;for(var _0x1a8a79=0x0;_0x1a8a79<0x40;_0x1a8a79++)_0x27524a[_0x1a8a79]=_0x9ecb7d[_0x369ec1(0x270)](_0x9ecb7d[_0x369ec1(0x37e)](_0x1a8a79+0x1))*0x100000000|0x0;}());var _0x33b7d9=_0x34f921[_0x461aae(0x1c3)]=_0x37e548[_0x461aae(0x249)]({'_doReset':function(){const _0x1c5f43=_0x461aae;this[_0x1c5f43(0x1bd)]=new _0x5047df[(_0x1c5f43(0x2a2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x6a420,_0x32704f){const _0x480634=_0x461aae;for(var _0x2dbb5f=0x0;_0x2dbb5f<0x10;_0x2dbb5f++){var _0x22d7e2=_0x32704f+_0x2dbb5f,_0xe2cb39=_0x6a420[_0x22d7e2];_0x6a420[_0x22d7e2]=(_0xe2cb39<<0x8|_0xe2cb39>>>0x18)&0xff00ff|(_0xe2cb39<<0x18|_0xe2cb39>>>0x8)&0xff00ff00;}var _0xbbfa19=this['_hash'][_0x480634(0x2c4)],_0x1b1b29=_0x6a420[_0x32704f+0x0],_0x297cd5=_0x6a420[_0x32704f+0x1],_0x2776d2=_0x6a420[_0x32704f+0x2],_0x558c46=_0x6a420[_0x32704f+0x3],_0x4d9cb0=_0x6a420[_0x32704f+0x4],_0x220e02=_0x6a420[_0x32704f+0x5],_0x111eb0=_0x6a420[_0x32704f+0x6],_0xc7eedc=_0x6a420[_0x32704f+0x7],_0x4e7a00=_0x6a420[_0x32704f+0x8],_0x3418fb=_0x6a420[_0x32704f+0x9],_0x1cf4a0=_0x6a420[_0x32704f+0xa],_0xbb530a=_0x6a420[_0x32704f+0xb],_0x571107=_0x6a420[_0x32704f+0xc],_0x51b807=_0x6a420[_0x32704f+0xd],_0x21c045=_0x6a420[_0x32704f+0xe],_0x255b8a=_0x6a420[_0x32704f+0xf],_0x311c9a=_0xbbfa19[0x0],_0x46cfb5=_0xbbfa19[0x1],_0x185853=_0xbbfa19[0x2],_0xef9c5b=_0xbbfa19[0x3];_0x311c9a=_0x433946(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x1b1b29,0x7,_0x27524a[0x0]),_0xef9c5b=_0x433946(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x297cd5,0xc,_0x27524a[0x1]),_0x185853=_0x433946(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x2776d2,0x11,_0x27524a[0x2]),_0x46cfb5=_0x433946(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x558c46,0x16,_0x27524a[0x3]),_0x311c9a=_0x433946(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x4d9cb0,0x7,_0x27524a[0x4]),_0xef9c5b=_0x433946(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x220e02,0xc,_0x27524a[0x5]),_0x185853=_0x433946(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x111eb0,0x11,_0x27524a[0x6]),_0x46cfb5=_0x433946(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0xc7eedc,0x16,_0x27524a[0x7]),_0x311c9a=_0x433946(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x4e7a00,0x7,_0x27524a[0x8]),_0xef9c5b=_0x433946(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x3418fb,0xc,_0x27524a[0x9]),_0x185853=_0x433946(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x1cf4a0,0x11,_0x27524a[0xa]),_0x46cfb5=_0x433946(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0xbb530a,0x16,_0x27524a[0xb]),_0x311c9a=_0x433946(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x571107,0x7,_0x27524a[0xc]),_0xef9c5b=_0x433946(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x51b807,0xc,_0x27524a[0xd]),_0x185853=_0x433946(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x21c045,0x11,_0x27524a[0xe]),_0x46cfb5=_0x433946(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x255b8a,0x16,_0x27524a[0xf]),_0x311c9a=_0x348e05(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x297cd5,0x5,_0x27524a[0x10]),_0xef9c5b=_0x348e05(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x111eb0,0x9,_0x27524a[0x11]),_0x185853=_0x348e05(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0xbb530a,0xe,_0x27524a[0x12]),_0x46cfb5=_0x348e05(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x1b1b29,0x14,_0x27524a[0x13]),_0x311c9a=_0x348e05(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x220e02,0x5,_0x27524a[0x14]),_0xef9c5b=_0x348e05(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x1cf4a0,0x9,_0x27524a[0x15]),_0x185853=_0x348e05(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x255b8a,0xe,_0x27524a[0x16]),_0x46cfb5=_0x348e05(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x4d9cb0,0x14,_0x27524a[0x17]),_0x311c9a=_0x348e05(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x3418fb,0x5,_0x27524a[0x18]),_0xef9c5b=_0x348e05(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x21c045,0x9,_0x27524a[0x19]),_0x185853=_0x348e05(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x558c46,0xe,_0x27524a[0x1a]),_0x46cfb5=_0x348e05(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x4e7a00,0x14,_0x27524a[0x1b]),_0x311c9a=_0x348e05(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x51b807,0x5,_0x27524a[0x1c]),_0xef9c5b=_0x348e05(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x2776d2,0x9,_0x27524a[0x1d]),_0x185853=_0x348e05(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0xc7eedc,0xe,_0x27524a[0x1e]),_0x46cfb5=_0x348e05(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x571107,0x14,_0x27524a[0x1f]),_0x311c9a=_0x13384c(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x220e02,0x4,_0x27524a[0x20]),_0xef9c5b=_0x13384c(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x4e7a00,0xb,_0x27524a[0x21]),_0x185853=_0x13384c(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0xbb530a,0x10,_0x27524a[0x22]),_0x46cfb5=_0x13384c(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x21c045,0x17,_0x27524a[0x23]),_0x311c9a=_0x13384c(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x297cd5,0x4,_0x27524a[0x24]),_0xef9c5b=_0x13384c(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x4d9cb0,0xb,_0x27524a[0x25]),_0x185853=_0x13384c(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0xc7eedc,0x10,_0x27524a[0x26]),_0x46cfb5=_0x13384c(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x1cf4a0,0x17,_0x27524a[0x27]),_0x311c9a=_0x13384c(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x51b807,0x4,_0x27524a[0x28]),_0xef9c5b=_0x13384c(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x1b1b29,0xb,_0x27524a[0x29]),_0x185853=_0x13384c(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x558c46,0x10,_0x27524a[0x2a]),_0x46cfb5=_0x13384c(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x111eb0,0x17,_0x27524a[0x2b]),_0x311c9a=_0x13384c(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x3418fb,0x4,_0x27524a[0x2c]),_0xef9c5b=_0x13384c(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x571107,0xb,_0x27524a[0x2d]),_0x185853=_0x13384c(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x255b8a,0x10,_0x27524a[0x2e]),_0x46cfb5=_0x13384c(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x2776d2,0x17,_0x27524a[0x2f]),_0x311c9a=_0x47944f(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x1b1b29,0x6,_0x27524a[0x30]),_0xef9c5b=_0x47944f(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0xc7eedc,0xa,_0x27524a[0x31]),_0x185853=_0x47944f(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x21c045,0xf,_0x27524a[0x32]),_0x46cfb5=_0x47944f(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x220e02,0x15,_0x27524a[0x33]),_0x311c9a=_0x47944f(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x571107,0x6,_0x27524a[0x34]),_0xef9c5b=_0x47944f(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x558c46,0xa,_0x27524a[0x35]),_0x185853=_0x47944f(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x1cf4a0,0xf,_0x27524a[0x36]),_0x46cfb5=_0x47944f(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x297cd5,0x15,_0x27524a[0x37]),_0x311c9a=_0x47944f(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x4e7a00,0x6,_0x27524a[0x38]),_0xef9c5b=_0x47944f(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0x255b8a,0xa,_0x27524a[0x39]),_0x185853=_0x47944f(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x111eb0,0xf,_0x27524a[0x3a]),_0x46cfb5=_0x47944f(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x51b807,0x15,_0x27524a[0x3b]),_0x311c9a=_0x47944f(_0x311c9a,_0x46cfb5,_0x185853,_0xef9c5b,_0x4d9cb0,0x6,_0x27524a[0x3c]),_0xef9c5b=_0x47944f(_0xef9c5b,_0x311c9a,_0x46cfb5,_0x185853,_0xbb530a,0xa,_0x27524a[0x3d]),_0x185853=_0x47944f(_0x185853,_0xef9c5b,_0x311c9a,_0x46cfb5,_0x2776d2,0xf,_0x27524a[0x3e]),_0x46cfb5=_0x47944f(_0x46cfb5,_0x185853,_0xef9c5b,_0x311c9a,_0x3418fb,0x15,_0x27524a[0x3f]),_0xbbfa19[0x0]=_0xbbfa19[0x0]+_0x311c9a|0x0,_0xbbfa19[0x1]=_0xbbfa19[0x1]+_0x46cfb5|0x0,_0xbbfa19[0x2]=_0xbbfa19[0x2]+_0x185853|0x0,_0xbbfa19[0x3]=_0xbbfa19[0x3]+_0xef9c5b|0x0;},'_doFinalize':function(){const _0x3dc93b=_0x461aae;var _0xaf1135=this[_0x3dc93b(0x1e9)],_0x173a04=_0xaf1135[_0x3dc93b(0x2c4)],_0x9391ba=this[_0x3dc93b(0x2ce)]*0x8,_0x43094c=_0xaf1135[_0x3dc93b(0x324)]*0x8;_0x173a04[_0x43094c>>>0x5]|=0x80<<0x18-_0x43094c%0x20;var _0x3cfdb2=_0x9ecb7d[_0x3dc93b(0x1f3)](_0x9391ba/0x100000000),_0x488665=_0x9391ba;_0x173a04[(_0x43094c+0x40>>>0x9<<0x4)+0xf]=(_0x3cfdb2<<0x8|_0x3cfdb2>>>0x18)&0xff00ff|(_0x3cfdb2<<0x18|_0x3cfdb2>>>0x8)&0xff00ff00,_0x173a04[(_0x43094c+0x40>>>0x9<<0x4)+0xe]=(_0x488665<<0x8|_0x488665>>>0x18)&0xff00ff|(_0x488665<<0x18|_0x488665>>>0x8)&0xff00ff00,_0xaf1135['sigBytes']=(_0x173a04[_0x3dc93b(0x311)]+0x1)*0x4,this[_0x3dc93b(0x4ea)]();for(var _0x2ac915=this['_hash'],_0x193278=_0x2ac915['words'],_0x1d503c=0x0;_0x1d503c<0x4;_0x1d503c++){var _0x4071e6=_0x193278[_0x1d503c];_0x193278[_0x1d503c]=(_0x4071e6<<0x8|_0x4071e6>>>0x18)&0xff00ff|(_0x4071e6<<0x18|_0x4071e6>>>0x8)&0xff00ff00;}return _0x2ac915;},'clone':function(){const _0x2b3c14=_0x461aae;var _0x374791=_0x37e548[_0x2b3c14(0x4e7)][_0x2b3c14(0x477)](this);return _0x374791['_hash']=this[_0x2b3c14(0x1bd)]['clone'](),_0x374791;}});function _0x433946(_0x27f056,_0x2edaec,_0x6c8d8a,_0x305c75,_0x27165d,_0xbe0f61,_0x358ad8){var _0x91e8a9=_0x27f056+(_0x2edaec&_0x6c8d8a|~_0x2edaec&_0x305c75)+_0x27165d+_0x358ad8;return(_0x91e8a9<<_0xbe0f61|_0x91e8a9>>>0x20-_0xbe0f61)+_0x2edaec;}function _0x348e05(_0x15d1b9,_0x56a56d,_0x46c37b,_0x5c00f7,_0xb32c23,_0x4607cc,_0x5290b9){var _0x3a5283=_0x15d1b9+(_0x56a56d&_0x5c00f7|_0x46c37b&~_0x5c00f7)+_0xb32c23+_0x5290b9;return(_0x3a5283<<_0x4607cc|_0x3a5283>>>0x20-_0x4607cc)+_0x56a56d;}function _0x13384c(_0x3cf5b1,_0x5ee4cf,_0x34a2bc,_0x17ad9a,_0x227579,_0x183f00,_0x239411){var _0x23709d=_0x3cf5b1+(_0x5ee4cf^_0x34a2bc^_0x17ad9a)+_0x227579+_0x239411;return(_0x23709d<<_0x183f00|_0x23709d>>>0x20-_0x183f00)+_0x5ee4cf;}function _0x47944f(_0x3f409b,_0x109724,_0x42d90c,_0x484643,_0x1ae472,_0x377246,_0x4167fc){var _0x479248=_0x3f409b+(_0x42d90c^(_0x109724|~_0x484643))+_0x1ae472+_0x4167fc;return(_0x479248<<_0x377246|_0x479248>>>0x20-_0x377246)+_0x109724;}_0x2d5249[_0x461aae(0x1c3)]=_0x37e548[_0x461aae(0x202)](_0x33b7d9),_0x2d5249[_0x461aae(0x336)]=_0x37e548[_0x461aae(0x292)](_0x33b7d9);}(Math),_0x145e9a['MD5'];}));}(Kt)),Kt[_0x5efc63(0x394)];}var zt={'exports':{}},qt={'exports':{}},ri;function tc(){const _0x504598=_0x28ced3;return ri||(ri=0x1,function(_0x5c23fe,_0x3d345a){(function(_0x486db0,_0x4d654d){const _0x1e4d08=_0x5087;_0x5c23fe[_0x1e4d08(0x394)]=_0x4d654d(ue());}(Z,function(_0x40a581){const _0x62377c=_0x5087;return(function(){const _0x5b7a59=_0x5087;var _0x28b7dd=_0x40a581,_0x26ddeb=_0x28b7dd[_0x5b7a59(0x1b4)],_0x46528f=_0x26ddeb['WordArray'],_0x49ea85=_0x26ddeb[_0x5b7a59(0x38b)],_0x2d55e4=_0x28b7dd['algo'],_0x453154=[],_0x2cc636=_0x2d55e4[_0x5b7a59(0x3c3)]=_0x49ea85[_0x5b7a59(0x249)]({'_doReset':function(){const _0x159d9b=_0x5b7a59;this['_hash']=new _0x46528f[(_0x159d9b(0x2a2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xed1714,_0x570469){const _0x36293a=_0x5b7a59;for(var _0x617a19=this[_0x36293a(0x1bd)][_0x36293a(0x2c4)],_0x95e30b=_0x617a19[0x0],_0x4e3ba5=_0x617a19[0x1],_0x2c4931=_0x617a19[0x2],_0x102de1=_0x617a19[0x3],_0x8df98f=_0x617a19[0x4],_0x224617=0x0;_0x224617<0x50;_0x224617++){if(_0x224617<0x10)_0x453154[_0x224617]=_0xed1714[_0x570469+_0x224617]|0x0;else{var _0x4328c2=_0x453154[_0x224617-0x3]^_0x453154[_0x224617-0x8]^_0x453154[_0x224617-0xe]^_0x453154[_0x224617-0x10];_0x453154[_0x224617]=_0x4328c2<<0x1|_0x4328c2>>>0x1f;}var _0x1396c6=(_0x95e30b<<0x5|_0x95e30b>>>0x1b)+_0x8df98f+_0x453154[_0x224617];_0x224617<0x14?_0x1396c6+=(_0x4e3ba5&_0x2c4931|~_0x4e3ba5&_0x102de1)+0x5a827999:_0x224617<0x28?_0x1396c6+=(_0x4e3ba5^_0x2c4931^_0x102de1)+0x6ed9eba1:_0x224617<0x3c?_0x1396c6+=(_0x4e3ba5&_0x2c4931|_0x4e3ba5&_0x102de1|_0x2c4931&_0x102de1)-0x70e44324:_0x1396c6+=(_0x4e3ba5^_0x2c4931^_0x102de1)-0x359d3e2a,_0x8df98f=_0x102de1,_0x102de1=_0x2c4931,_0x2c4931=_0x4e3ba5<<0x1e|_0x4e3ba5>>>0x2,_0x4e3ba5=_0x95e30b,_0x95e30b=_0x1396c6;}_0x617a19[0x0]=_0x617a19[0x0]+_0x95e30b|0x0,_0x617a19[0x1]=_0x617a19[0x1]+_0x4e3ba5|0x0,_0x617a19[0x2]=_0x617a19[0x2]+_0x2c4931|0x0,_0x617a19[0x3]=_0x617a19[0x3]+_0x102de1|0x0,_0x617a19[0x4]=_0x617a19[0x4]+_0x8df98f|0x0;},'_doFinalize':function(){const _0x174ad8=_0x5b7a59;var _0x375fa0=this[_0x174ad8(0x1e9)],_0x5d62ad=_0x375fa0[_0x174ad8(0x2c4)],_0x528c51=this['_nDataBytes']*0x8,_0x59e8ab=_0x375fa0[_0x174ad8(0x324)]*0x8;return _0x5d62ad[_0x59e8ab>>>0x5]|=0x80<<0x18-_0x59e8ab%0x20,_0x5d62ad[(_0x59e8ab+0x40>>>0x9<<0x4)+0xe]=Math[_0x174ad8(0x1f3)](_0x528c51/0x100000000),_0x5d62ad[(_0x59e8ab+0x40>>>0x9<<0x4)+0xf]=_0x528c51,_0x375fa0[_0x174ad8(0x324)]=_0x5d62ad[_0x174ad8(0x311)]*0x4,this[_0x174ad8(0x4ea)](),this[_0x174ad8(0x1bd)];},'clone':function(){const _0x470a83=_0x5b7a59;var _0x1f7679=_0x49ea85[_0x470a83(0x4e7)][_0x470a83(0x477)](this);return _0x1f7679['_hash']=this['_hash'][_0x470a83(0x4e7)](),_0x1f7679;}});_0x28b7dd[_0x5b7a59(0x3c3)]=_0x49ea85[_0x5b7a59(0x202)](_0x2cc636),_0x28b7dd['HmacSHA1']=_0x49ea85[_0x5b7a59(0x292)](_0x2cc636);}()),_0x40a581[_0x62377c(0x3c3)];}));}(qt)),qt[_0x504598(0x394)];}var Xt={'exports':{}},ni;function sc(){const _0x1dd9fe=_0x28ced3;return ni||(ni=0x1,function(_0x350cf,_0x46d7cb){(function(_0x5a56e6,_0x2fa3cb){const _0x28de5e=_0x5087;_0x350cf[_0x28de5e(0x394)]=_0x2fa3cb(ue());}(Z,function(_0x4bbe71){(function(){const _0x136a32=_0x5087;var _0x56c95d=_0x4bbe71,_0x4a72bd=_0x56c95d[_0x136a32(0x1b4)],_0x45ddf5=_0x4a72bd[_0x136a32(0x1b6)],_0x526b05=_0x56c95d[_0x136a32(0x4cf)],_0x238be2=_0x526b05[_0x136a32(0x3db)],_0x342787=_0x56c95d[_0x136a32(0x495)];_0x342787[_0x136a32(0x528)]=_0x45ddf5[_0x136a32(0x249)]({'init':function(_0x565601,_0x33f6d1){const _0x826539=_0x136a32;_0x565601=this[_0x826539(0x481)]=new _0x565601[(_0x826539(0x2a2))](),typeof _0x33f6d1==_0x826539(0x3d4)&&(_0x33f6d1=_0x238be2[_0x826539(0x4c4)](_0x33f6d1));var _0x40d2ba=_0x565601[_0x826539(0x1d7)],_0xa505ed=_0x40d2ba*0x4;_0x33f6d1[_0x826539(0x324)]>_0xa505ed&&(_0x33f6d1=_0x565601[_0x826539(0x551)](_0x33f6d1)),_0x33f6d1[_0x826539(0x4c6)]();for(var _0xda9416=this['_oKey']=_0x33f6d1[_0x826539(0x4e7)](),_0xe5e1d4=this[_0x826539(0x410)]=_0x33f6d1['clone'](),_0x4c702c=_0xda9416['words'],_0x197020=_0xe5e1d4[_0x826539(0x2c4)],_0x2c84d5=0x0;_0x2c84d5<_0x40d2ba;_0x2c84d5++)_0x4c702c[_0x2c84d5]^=0x5c5c5c5c,_0x197020[_0x2c84d5]^=0x36363636;_0xda9416[_0x826539(0x324)]=_0xe5e1d4[_0x826539(0x324)]=_0xa505ed,this['reset']();},'reset':function(){const _0x5aeec5=_0x136a32;var _0x7e8a0f=this['_hasher'];_0x7e8a0f[_0x5aeec5(0x18e)](),_0x7e8a0f[_0x5aeec5(0x3fc)](this['_iKey']);},'update':function(_0x2923fa){const _0x510c79=_0x136a32;return this[_0x510c79(0x481)][_0x510c79(0x3fc)](_0x2923fa),this;},'finalize':function(_0x3a4a6b){const _0x503034=_0x136a32;var _0x4b72c1=this['_hasher'],_0x4e4162=_0x4b72c1[_0x503034(0x551)](_0x3a4a6b);_0x4b72c1['reset']();var _0x55b1d1=_0x4b72c1[_0x503034(0x551)](this['_oKey'][_0x503034(0x4e7)]()[_0x503034(0x24a)](_0x4e4162));return _0x55b1d1;}});}());}));}(Xt)),Xt[_0x1dd9fe(0x394)];}var oi;function Xi(){const _0x2a012a=_0x28ced3;return oi||(oi=0x1,function(_0x47cdbe,_0x385322){(function(_0x24c186,_0x49d76b,_0xa761ce){_0x47cdbe['exports']=_0x49d76b(ue(),tc(),sc());}(Z,function(_0x3c987c){const _0x57002b=_0x5087;return(function(){const _0x54747c=_0x5087;var _0x2bf441=_0x3c987c,_0xd0e6e6=_0x2bf441[_0x54747c(0x1b4)],_0x36447c=_0xd0e6e6[_0x54747c(0x1b6)],_0x314bf1=_0xd0e6e6['WordArray'],_0x433b4c=_0x2bf441[_0x54747c(0x495)],_0x2bbd86=_0x433b4c[_0x54747c(0x1c3)],_0x2bed86=_0x433b4c['EvpKDF']=_0x36447c[_0x54747c(0x249)]({'cfg':_0x36447c[_0x54747c(0x249)]({'keySize':0x80/0x20,'hasher':_0x2bbd86,'iterations':0x1}),'init':function(_0x10a4eb){const _0x316d3e=_0x54747c;this[_0x316d3e(0x487)]=this[_0x316d3e(0x487)][_0x316d3e(0x249)](_0x10a4eb);},'compute':function(_0x4d2b3b,_0x2dd24a){const _0x78d542=_0x54747c;for(var _0x1f2365,_0x36f3cb=this[_0x78d542(0x487)],_0x46e84a=_0x36f3cb[_0x78d542(0x552)]['create'](),_0xb45659=_0x314bf1[_0x78d542(0x150)](),_0x1d3b17=_0xb45659[_0x78d542(0x2c4)],_0x913e70=_0x36f3cb[_0x78d542(0x3ae)],_0x5edc0b=_0x36f3cb['iterations'];_0x1d3b17['length']<_0x913e70;){_0x1f2365&&_0x46e84a[_0x78d542(0x3fc)](_0x1f2365),_0x1f2365=_0x46e84a['update'](_0x4d2b3b)[_0x78d542(0x551)](_0x2dd24a),_0x46e84a[_0x78d542(0x18e)]();for(var _0x10b522=0x1;_0x10b522<_0x5edc0b;_0x10b522++)_0x1f2365=_0x46e84a[_0x78d542(0x551)](_0x1f2365),_0x46e84a['reset']();_0xb45659[_0x78d542(0x24a)](_0x1f2365);}return _0xb45659[_0x78d542(0x324)]=_0x913e70*0x4,_0xb45659;}});_0x2bf441[_0x54747c(0x278)]=function(_0x13821f,_0x23471c,_0x5047a5){const _0x9dd0b4=_0x54747c;return _0x2bed86[_0x9dd0b4(0x150)](_0x5047a5)['compute'](_0x13821f,_0x23471c);};}()),_0x3c987c[_0x57002b(0x278)];}));}(zt)),zt[_0x2a012a(0x394)];}var Jt={'exports':{}},ai;function Ji(){return ai||(ai=0x1,function(_0x5c644c,_0x999ec3){(function(_0x20ad33,_0x256c67,_0x10caf0){_0x5c644c['exports']=_0x256c67(ue(),Xi());}(Z,function(_0x578d11){const _0x1c11ba=_0x5087;_0x578d11[_0x1c11ba(0x1b4)][_0x1c11ba(0x471)]||function(_0x42dcf9){const _0x1c10c9=_0x1c11ba;var _0x5aad0b=_0x578d11,_0xbad42f=_0x5aad0b['lib'],_0x5be6fc=_0xbad42f[_0x1c10c9(0x1b6)],_0x588ae3=_0xbad42f[_0x1c10c9(0x3d7)],_0x84449=_0xbad42f['BufferedBlockAlgorithm'],_0x110830=_0x5aad0b[_0x1c10c9(0x4cf)];_0x110830[_0x1c10c9(0x3db)];var _0x2d0d98=_0x110830[_0x1c10c9(0x504)],_0x59a90c=_0x5aad0b[_0x1c10c9(0x495)],_0x22c43a=_0x59a90c[_0x1c10c9(0x278)],_0x513e16=_0xbad42f[_0x1c10c9(0x471)]=_0x84449['extend']({'cfg':_0x5be6fc[_0x1c10c9(0x249)](),'createEncryptor':function(_0x41694e,_0x18111c){const _0x2085c2=_0x1c10c9;return this[_0x2085c2(0x150)](this[_0x2085c2(0x19b)],_0x41694e,_0x18111c);},'createDecryptor':function(_0xdda882,_0x2723cd){const _0x282ecf=_0x1c10c9;return this[_0x282ecf(0x150)](this[_0x282ecf(0x32e)],_0xdda882,_0x2723cd);},'init':function(_0x45abe5,_0x4b39c6,_0x4f326c){const _0x4f194f=_0x1c10c9;this[_0x4f194f(0x487)]=this[_0x4f194f(0x487)][_0x4f194f(0x249)](_0x4f326c),this[_0x4f194f(0x1ab)]=_0x45abe5,this[_0x4f194f(0x1bc)]=_0x4b39c6,this[_0x4f194f(0x18e)]();},'reset':function(){const _0x4aaed1=_0x1c10c9;_0x84449['reset']['call'](this),this[_0x4aaed1(0x3be)]();},'process':function(_0x31d055){const _0x66d040=_0x1c10c9;return this[_0x66d040(0x221)](_0x31d055),this['_process']();},'finalize':function(_0x2619e0){_0x2619e0&&this['_append'](_0x2619e0);var _0x5172a0=this['_doFinalize']();return _0x5172a0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5a2408(_0x253f7a){const _0xce4e6a=_0x5087;return typeof _0x253f7a==_0xce4e6a(0x3d4)?_0x43c07f:_0x14e4b5;}return function(_0x32e288){return{'encrypt':function(_0x3613c0,_0x4fbdb7,_0x2bcef1){const _0x2f75ed=_0x5087;return _0x5a2408(_0x4fbdb7)[_0x2f75ed(0x298)](_0x32e288,_0x3613c0,_0x4fbdb7,_0x2bcef1);},'decrypt':function(_0x5efc27,_0x4cf798,_0x5b6712){const _0x1931e5=_0x5087;return _0x5a2408(_0x4cf798)[_0x1931e5(0x545)](_0x32e288,_0x5efc27,_0x4cf798,_0x5b6712);}};};}())});_0xbad42f['StreamCipher']=_0x513e16[_0x1c10c9(0x249)]({'_doFinalize':function(){const _0x292118=_0x1c10c9;var _0x4918a3=this[_0x292118(0x4ea)](!0x0);return _0x4918a3;},'blockSize':0x1});var _0x4d9087=_0x5aad0b[_0x1c10c9(0x3b1)]={},_0x15ee69=_0xbad42f[_0x1c10c9(0x2fc)]=_0x5be6fc[_0x1c10c9(0x249)]({'createEncryptor':function(_0x439a79,_0x1ba222){const _0xb484d4=_0x1c10c9;return this[_0xb484d4(0x4d3)][_0xb484d4(0x150)](_0x439a79,_0x1ba222);},'createDecryptor':function(_0xc541d5,_0x1e74c7){const _0x196e26=_0x1c10c9;return this[_0x196e26(0x497)][_0x196e26(0x150)](_0xc541d5,_0x1e74c7);},'init':function(_0xcdf08,_0x232381){const _0x2cb7ce=_0x1c10c9;this[_0x2cb7ce(0x23b)]=_0xcdf08,this[_0x2cb7ce(0x31d)]=_0x232381;}}),_0x4e44e1=_0x4d9087[_0x1c10c9(0x513)]=(function(){const _0x317c71=_0x1c10c9;var _0x18d511=_0x15ee69['extend']();_0x18d511[_0x317c71(0x4d3)]=_0x18d511[_0x317c71(0x249)]({'processBlock':function(_0x5eb990,_0x332408){const _0x1cd691=_0x317c71;var _0x317e7b=this[_0x1cd691(0x23b)],_0x4dbf10=_0x317e7b[_0x1cd691(0x1d7)];_0x5320e8[_0x1cd691(0x477)](this,_0x5eb990,_0x332408,_0x4dbf10),_0x317e7b[_0x1cd691(0x26b)](_0x5eb990,_0x332408),this[_0x1cd691(0x37d)]=_0x5eb990[_0x1cd691(0x554)](_0x332408,_0x332408+_0x4dbf10);}}),_0x18d511['Decryptor']=_0x18d511[_0x317c71(0x249)]({'processBlock':function(_0x5ddb3c,_0x308878){const _0x466741=_0x317c71;var _0xda0da7=this['_cipher'],_0x3dbee5=_0xda0da7[_0x466741(0x1d7)],_0x323027=_0x5ddb3c[_0x466741(0x554)](_0x308878,_0x308878+_0x3dbee5);_0xda0da7[_0x466741(0x21b)](_0x5ddb3c,_0x308878),_0x5320e8[_0x466741(0x477)](this,_0x5ddb3c,_0x308878,_0x3dbee5),this[_0x466741(0x37d)]=_0x323027;}});function _0x5320e8(_0x3e3d1d,_0x1fec5e,_0x18e64d){const _0xe5ee3f=_0x317c71;var _0x41c06c,_0x50c20a=this[_0xe5ee3f(0x31d)];_0x50c20a?(_0x41c06c=_0x50c20a,this[_0xe5ee3f(0x31d)]=_0x42dcf9):_0x41c06c=this[_0xe5ee3f(0x37d)];for(var _0x47e064=0x0;_0x47e064<_0x18e64d;_0x47e064++)_0x3e3d1d[_0x1fec5e+_0x47e064]^=_0x41c06c[_0x47e064];}return _0x18d511;}()),_0x1636fa=_0x5aad0b['pad']={},_0x5966e7=_0x1636fa[_0x1c10c9(0x4df)]={'pad':function(_0x1f9d5a,_0x2c538e){const _0x527ab4=_0x1c10c9;for(var _0x2be12d=_0x2c538e*0x4,_0x26d551=_0x2be12d-_0x1f9d5a[_0x527ab4(0x324)]%_0x2be12d,_0x572364=_0x26d551<<0x18|_0x26d551<<0x10|_0x26d551<<0x8|_0x26d551,_0x402e26=[],_0x5cccae=0x0;_0x5cccae<_0x26d551;_0x5cccae+=0x4)_0x402e26[_0x527ab4(0x1e3)](_0x572364);var _0x5c5928=_0x588ae3[_0x527ab4(0x150)](_0x402e26,_0x26d551);_0x1f9d5a[_0x527ab4(0x24a)](_0x5c5928);},'unpad':function(_0x249cac){const _0x4fed55=_0x1c10c9;var _0x2f7b35=_0x249cac[_0x4fed55(0x2c4)][_0x249cac['sigBytes']-0x1>>>0x2]&0xff;_0x249cac['sigBytes']-=_0x2f7b35;}};_0xbad42f[_0x1c10c9(0x412)]=_0x513e16[_0x1c10c9(0x249)]({'cfg':_0x513e16[_0x1c10c9(0x487)][_0x1c10c9(0x249)]({'mode':_0x4e44e1,'padding':_0x5966e7}),'reset':function(){const _0x147e2a=_0x1c10c9;var _0x4a8fed;_0x513e16[_0x147e2a(0x18e)][_0x147e2a(0x477)](this);var _0x393b86=this[_0x147e2a(0x487)],_0x1e5740=_0x393b86['iv'],_0x3688ab=_0x393b86[_0x147e2a(0x3b1)];this['_xformMode']==this[_0x147e2a(0x19b)]?_0x4a8fed=_0x3688ab[_0x147e2a(0x442)]:(_0x4a8fed=_0x3688ab[_0x147e2a(0x391)],this[_0x147e2a(0x4be)]=0x1),this[_0x147e2a(0x137)]&&this[_0x147e2a(0x137)][_0x147e2a(0x255)]==_0x4a8fed?this['_mode'][_0x147e2a(0x2a2)](this,_0x1e5740&&_0x1e5740['words']):(this[_0x147e2a(0x137)]=_0x4a8fed[_0x147e2a(0x477)](_0x3688ab,this,_0x1e5740&&_0x1e5740[_0x147e2a(0x2c4)]),this['_mode'][_0x147e2a(0x255)]=_0x4a8fed);},'_doProcessBlock':function(_0x2fb64e,_0x440f4a){const _0x19b826=_0x1c10c9;this['_mode'][_0x19b826(0x242)](_0x2fb64e,_0x440f4a);},'_doFinalize':function(){const _0x16bbdc=_0x1c10c9;var _0x627078,_0x416a5c=this[_0x16bbdc(0x487)][_0x16bbdc(0x45e)];return this[_0x16bbdc(0x1ab)]==this[_0x16bbdc(0x19b)]?(_0x416a5c[_0x16bbdc(0x17b)](this[_0x16bbdc(0x1e9)],this[_0x16bbdc(0x1d7)]),_0x627078=this['_process'](!0x0)):(_0x627078=this[_0x16bbdc(0x4ea)](!0x0),_0x416a5c[_0x16bbdc(0x4ba)](_0x627078)),_0x627078;},'blockSize':0x80/0x20});var _0x48f5b2=_0xbad42f[_0x1c10c9(0x323)]=_0x5be6fc[_0x1c10c9(0x249)]({'init':function(_0x2f5799){this['mixIn'](_0x2f5799);},'toString':function(_0x53c2be){const _0x5b9bed=_0x1c10c9;return(_0x53c2be||this[_0x5b9bed(0x2e0)])[_0x5b9bed(0x27b)](this);}}),_0x24527a=_0x5aad0b['format']={},_0x1f602b=_0x24527a[_0x1c10c9(0x330)]={'stringify':function(_0x102c06){const _0xecb753=_0x1c10c9;var _0x5bb28f,_0x477c4a=_0x102c06['ciphertext'],_0x990018=_0x102c06[_0xecb753(0x50f)];return _0x990018?_0x5bb28f=_0x588ae3[_0xecb753(0x150)]([0x53616c74,0x65645f5f])[_0xecb753(0x24a)](_0x990018)[_0xecb753(0x24a)](_0x477c4a):_0x5bb28f=_0x477c4a,_0x5bb28f['toString'](_0x2d0d98);},'parse':function(_0x5d6778){const _0x12a47=_0x1c10c9;var _0xfd6148,_0x1f948a=_0x2d0d98[_0x12a47(0x4c4)](_0x5d6778),_0x2950ca=_0x1f948a[_0x12a47(0x2c4)];return _0x2950ca[0x0]==0x53616c74&&_0x2950ca[0x1]==0x65645f5f&&(_0xfd6148=_0x588ae3[_0x12a47(0x150)](_0x2950ca[_0x12a47(0x554)](0x2,0x4)),_0x2950ca['splice'](0x0,0x4),_0x1f948a['sigBytes']-=0x10),_0x48f5b2[_0x12a47(0x150)]({'ciphertext':_0x1f948a,'salt':_0xfd6148});}},_0x14e4b5=_0xbad42f[_0x1c10c9(0x48f)]=_0x5be6fc[_0x1c10c9(0x249)]({'cfg':_0x5be6fc['extend']({'format':_0x1f602b}),'encrypt':function(_0x201b97,_0x56f06b,_0x2fea0e,_0x43f564){const _0x35e99f=_0x1c10c9;_0x43f564=this[_0x35e99f(0x487)][_0x35e99f(0x249)](_0x43f564);var _0x5e4df9=_0x201b97['createEncryptor'](_0x2fea0e,_0x43f564),_0x503ab=_0x5e4df9['finalize'](_0x56f06b),_0x19497f=_0x5e4df9[_0x35e99f(0x487)];return _0x48f5b2[_0x35e99f(0x150)]({'ciphertext':_0x503ab,'key':_0x2fea0e,'iv':_0x19497f['iv'],'algorithm':_0x201b97,'mode':_0x19497f[_0x35e99f(0x3b1)],'padding':_0x19497f[_0x35e99f(0x45e)],'blockSize':_0x201b97[_0x35e99f(0x1d7)],'formatter':_0x43f564[_0x35e99f(0x2c9)]});},'decrypt':function(_0x4c397c,_0x5ac20b,_0x97757b,_0x2ddcd8){const _0x2b0021=_0x1c10c9;_0x2ddcd8=this[_0x2b0021(0x487)]['extend'](_0x2ddcd8),_0x5ac20b=this[_0x2b0021(0x2f8)](_0x5ac20b,_0x2ddcd8[_0x2b0021(0x2c9)]);var _0x3ab5ac=_0x4c397c['createDecryptor'](_0x97757b,_0x2ddcd8)[_0x2b0021(0x551)](_0x5ac20b[_0x2b0021(0x3cd)]);return _0x3ab5ac;},'_parse':function(_0x2bd0dc,_0x3acb31){const _0x33360b=_0x1c10c9;return typeof _0x2bd0dc==_0x33360b(0x3d4)?_0x3acb31[_0x33360b(0x4c4)](_0x2bd0dc,this):_0x2bd0dc;}}),_0x4a3e90=_0x5aad0b[_0x1c10c9(0x1b2)]={},_0x5bf3c1=_0x4a3e90[_0x1c10c9(0x330)]={'execute':function(_0x26c2d6,_0x121048,_0x508f13,_0x12bd04,_0x3fe7c6){const _0x552ffb=_0x1c10c9;if(_0x12bd04||(_0x12bd04=_0x588ae3[_0x552ffb(0x265)](0x40/0x8)),_0x3fe7c6)var _0x44088e=_0x22c43a[_0x552ffb(0x150)]({'keySize':_0x121048+_0x508f13,'hasher':_0x3fe7c6})[_0x552ffb(0x308)](_0x26c2d6,_0x12bd04);else var _0x44088e=_0x22c43a['create']({'keySize':_0x121048+_0x508f13})[_0x552ffb(0x308)](_0x26c2d6,_0x12bd04);var _0x3d84aa=_0x588ae3[_0x552ffb(0x150)](_0x44088e['words'][_0x552ffb(0x554)](_0x121048),_0x508f13*0x4);return _0x44088e[_0x552ffb(0x324)]=_0x121048*0x4,_0x48f5b2['create']({'key':_0x44088e,'iv':_0x3d84aa,'salt':_0x12bd04});}},_0x43c07f=_0xbad42f[_0x1c10c9(0x52a)]=_0x14e4b5[_0x1c10c9(0x249)]({'cfg':_0x14e4b5[_0x1c10c9(0x487)]['extend']({'kdf':_0x5bf3c1}),'encrypt':function(_0x5daefb,_0x2c65b9,_0x535725,_0xb20641){const _0x1572ab=_0x1c10c9;_0xb20641=this['cfg']['extend'](_0xb20641);var _0x504649=_0xb20641[_0x1572ab(0x1b2)][_0x1572ab(0x3a1)](_0x535725,_0x5daefb[_0x1572ab(0x3ae)],_0x5daefb[_0x1572ab(0x459)],_0xb20641[_0x1572ab(0x50f)],_0xb20641[_0x1572ab(0x552)]);_0xb20641['iv']=_0x504649['iv'];var _0x3c7c05=_0x14e4b5['encrypt'][_0x1572ab(0x477)](this,_0x5daefb,_0x2c65b9,_0x504649[_0x1572ab(0x373)],_0xb20641);return _0x3c7c05[_0x1572ab(0x247)](_0x504649),_0x3c7c05;},'decrypt':function(_0x1a8e62,_0x475586,_0xa253c7,_0xf34f99){const _0x526822=_0x1c10c9;_0xf34f99=this[_0x526822(0x487)][_0x526822(0x249)](_0xf34f99),_0x475586=this['_parse'](_0x475586,_0xf34f99['format']);var _0x135b87=_0xf34f99['kdf']['execute'](_0xa253c7,_0x1a8e62['keySize'],_0x1a8e62['ivSize'],_0x475586[_0x526822(0x50f)],_0xf34f99[_0x526822(0x552)]);_0xf34f99['iv']=_0x135b87['iv'];var _0x5f0d10=_0x14e4b5[_0x526822(0x545)][_0x526822(0x477)](this,_0x1a8e62,_0x475586,_0x135b87[_0x526822(0x373)],_0xf34f99);return _0x5f0d10;}});}();}));}(Jt)),Jt['exports'];}(function(_0x48e91f,_0x2f0ecc){(function(_0x523953,_0x36709a,_0x4f0d9f){const _0x14bc90=_0x5087;_0x48e91f[_0x14bc90(0x394)]=_0x36709a(ue(),qi(),ec(),Xi(),Ji());}(Z,function(_0x172a3d){const _0x2fee41=_0x5087;return(function(){const _0xaf9f5f=_0x5087;var _0x47edef=_0x172a3d,_0x11b7c0=_0x47edef[_0xaf9f5f(0x1b4)],_0x12eebe=_0x11b7c0[_0xaf9f5f(0x412)],_0x6825e1=_0x47edef[_0xaf9f5f(0x495)],_0x4329e1=[],_0x919c99=[],_0x542433=[],_0x531354=[],_0x10530c=[],_0x381b1e=[],_0x2c92bf=[],_0x84d589=[],_0x42094b=[],_0x34325a=[];(function(){for(var _0x28d544=[],_0x51217d=0x0;_0x51217d<0x100;_0x51217d++)_0x51217d<0x80?_0x28d544[_0x51217d]=_0x51217d<<0x1:_0x28d544[_0x51217d]=_0x51217d<<0x1^0x11b;for(var _0x21aba8=0x0,_0x51ca9c=0x0,_0x51217d=0x0;_0x51217d<0x100;_0x51217d++){var _0x3dc342=_0x51ca9c^_0x51ca9c<<0x1^_0x51ca9c<<0x2^_0x51ca9c<<0x3^_0x51ca9c<<0x4;_0x3dc342=_0x3dc342>>>0x8^_0x3dc342&0xff^0x63,_0x4329e1[_0x21aba8]=_0x3dc342,_0x919c99[_0x3dc342]=_0x21aba8;var _0x4c131c=_0x28d544[_0x21aba8],_0x4e1dd7=_0x28d544[_0x4c131c],_0x16516f=_0x28d544[_0x4e1dd7],_0x6e26d0=_0x28d544[_0x3dc342]*0x101^_0x3dc342*0x1010100;_0x542433[_0x21aba8]=_0x6e26d0<<0x18|_0x6e26d0>>>0x8,_0x531354[_0x21aba8]=_0x6e26d0<<0x10|_0x6e26d0>>>0x10,_0x10530c[_0x21aba8]=_0x6e26d0<<0x8|_0x6e26d0>>>0x18,_0x381b1e[_0x21aba8]=_0x6e26d0;var _0x6e26d0=_0x16516f*0x1010101^_0x4e1dd7*0x10001^_0x4c131c*0x101^_0x21aba8*0x1010100;_0x2c92bf[_0x3dc342]=_0x6e26d0<<0x18|_0x6e26d0>>>0x8,_0x84d589[_0x3dc342]=_0x6e26d0<<0x10|_0x6e26d0>>>0x10,_0x42094b[_0x3dc342]=_0x6e26d0<<0x8|_0x6e26d0>>>0x18,_0x34325a[_0x3dc342]=_0x6e26d0,_0x21aba8?(_0x21aba8=_0x4c131c^_0x28d544[_0x28d544[_0x28d544[_0x16516f^_0x4c131c]]],_0x51ca9c^=_0x28d544[_0x28d544[_0x51ca9c]]):_0x21aba8=_0x51ca9c=0x1;}}());var _0x4ad2f1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x229b5b=_0x6825e1['AES']=_0x12eebe[_0xaf9f5f(0x249)]({'_doReset':function(){const _0x3fe5df=_0xaf9f5f;var _0x28197e;if(!(this[_0x3fe5df(0x53f)]&&this['_keyPriorReset']===this[_0x3fe5df(0x1bc)])){for(var _0x3d5a78=this[_0x3fe5df(0x348)]=this['_key'],_0x5067e3=_0x3d5a78['words'],_0x30b46f=_0x3d5a78[_0x3fe5df(0x324)]/0x4,_0x11feb2=this[_0x3fe5df(0x53f)]=_0x30b46f+0x6,_0x5e10a4=(_0x11feb2+0x1)*0x4,_0x5c3036=this['_keySchedule']=[],_0x254689=0x0;_0x254689<_0x5e10a4;_0x254689++)_0x254689<_0x30b46f?_0x5c3036[_0x254689]=_0x5067e3[_0x254689]:(_0x28197e=_0x5c3036[_0x254689-0x1],_0x254689%_0x30b46f?_0x30b46f>0x6&&_0x254689%_0x30b46f==0x4&&(_0x28197e=_0x4329e1[_0x28197e>>>0x18]<<0x18|_0x4329e1[_0x28197e>>>0x10&0xff]<<0x10|_0x4329e1[_0x28197e>>>0x8&0xff]<<0x8|_0x4329e1[_0x28197e&0xff]):(_0x28197e=_0x28197e<<0x8|_0x28197e>>>0x18,_0x28197e=_0x4329e1[_0x28197e>>>0x18]<<0x18|_0x4329e1[_0x28197e>>>0x10&0xff]<<0x10|_0x4329e1[_0x28197e>>>0x8&0xff]<<0x8|_0x4329e1[_0x28197e&0xff],_0x28197e^=_0x4ad2f1[_0x254689/_0x30b46f|0x0]<<0x18),_0x5c3036[_0x254689]=_0x5c3036[_0x254689-_0x30b46f]^_0x28197e);for(var _0x4de09c=this['_invKeySchedule']=[],_0xc32fb0=0x0;_0xc32fb0<_0x5e10a4;_0xc32fb0++){var _0x254689=_0x5e10a4-_0xc32fb0;if(_0xc32fb0%0x4)var _0x28197e=_0x5c3036[_0x254689];else var _0x28197e=_0x5c3036[_0x254689-0x4];_0xc32fb0<0x4||_0x254689<=0x4?_0x4de09c[_0xc32fb0]=_0x28197e:_0x4de09c[_0xc32fb0]=_0x2c92bf[_0x4329e1[_0x28197e>>>0x18]]^_0x84d589[_0x4329e1[_0x28197e>>>0x10&0xff]]^_0x42094b[_0x4329e1[_0x28197e>>>0x8&0xff]]^_0x34325a[_0x4329e1[_0x28197e&0xff]];}}},'encryptBlock':function(_0x249c1d,_0x1147a1){const _0x50b265=_0xaf9f5f;this['_doCryptBlock'](_0x249c1d,_0x1147a1,this[_0x50b265(0x3ff)],_0x542433,_0x531354,_0x10530c,_0x381b1e,_0x4329e1);},'decryptBlock':function(_0x2a6c89,_0x42e41d){const _0x33bec0=_0xaf9f5f;var _0x19a29a=_0x2a6c89[_0x42e41d+0x1];_0x2a6c89[_0x42e41d+0x1]=_0x2a6c89[_0x42e41d+0x3],_0x2a6c89[_0x42e41d+0x3]=_0x19a29a,this[_0x33bec0(0x525)](_0x2a6c89,_0x42e41d,this['_invKeySchedule'],_0x2c92bf,_0x84d589,_0x42094b,_0x34325a,_0x919c99);var _0x19a29a=_0x2a6c89[_0x42e41d+0x1];_0x2a6c89[_0x42e41d+0x1]=_0x2a6c89[_0x42e41d+0x3],_0x2a6c89[_0x42e41d+0x3]=_0x19a29a;},'_doCryptBlock':function(_0xfad064,_0x4e1b1e,_0x34e4ab,_0x125c4c,_0x4b3730,_0x1a133a,_0x36c5fe,_0x5f01c9){const _0x4eae62=_0xaf9f5f;for(var _0x581065=this[_0x4eae62(0x53f)],_0x11bee9=_0xfad064[_0x4e1b1e]^_0x34e4ab[0x0],_0x2ab2c1=_0xfad064[_0x4e1b1e+0x1]^_0x34e4ab[0x1],_0x49af90=_0xfad064[_0x4e1b1e+0x2]^_0x34e4ab[0x2],_0x385808=_0xfad064[_0x4e1b1e+0x3]^_0x34e4ab[0x3],_0x549b2c=0x4,_0x3ce97e=0x1;_0x3ce97e<_0x581065;_0x3ce97e++){var _0x1e568e=_0x125c4c[_0x11bee9>>>0x18]^_0x4b3730[_0x2ab2c1>>>0x10&0xff]^_0x1a133a[_0x49af90>>>0x8&0xff]^_0x36c5fe[_0x385808&0xff]^_0x34e4ab[_0x549b2c++],_0x142aea=_0x125c4c[_0x2ab2c1>>>0x18]^_0x4b3730[_0x49af90>>>0x10&0xff]^_0x1a133a[_0x385808>>>0x8&0xff]^_0x36c5fe[_0x11bee9&0xff]^_0x34e4ab[_0x549b2c++],_0xf25beb=_0x125c4c[_0x49af90>>>0x18]^_0x4b3730[_0x385808>>>0x10&0xff]^_0x1a133a[_0x11bee9>>>0x8&0xff]^_0x36c5fe[_0x2ab2c1&0xff]^_0x34e4ab[_0x549b2c++],_0x130df3=_0x125c4c[_0x385808>>>0x18]^_0x4b3730[_0x11bee9>>>0x10&0xff]^_0x1a133a[_0x2ab2c1>>>0x8&0xff]^_0x36c5fe[_0x49af90&0xff]^_0x34e4ab[_0x549b2c++];_0x11bee9=_0x1e568e,_0x2ab2c1=_0x142aea,_0x49af90=_0xf25beb,_0x385808=_0x130df3;}var _0x1e568e=(_0x5f01c9[_0x11bee9>>>0x18]<<0x18|_0x5f01c9[_0x2ab2c1>>>0x10&0xff]<<0x10|_0x5f01c9[_0x49af90>>>0x8&0xff]<<0x8|_0x5f01c9[_0x385808&0xff])^_0x34e4ab[_0x549b2c++],_0x142aea=(_0x5f01c9[_0x2ab2c1>>>0x18]<<0x18|_0x5f01c9[_0x49af90>>>0x10&0xff]<<0x10|_0x5f01c9[_0x385808>>>0x8&0xff]<<0x8|_0x5f01c9[_0x11bee9&0xff])^_0x34e4ab[_0x549b2c++],_0xf25beb=(_0x5f01c9[_0x49af90>>>0x18]<<0x18|_0x5f01c9[_0x385808>>>0x10&0xff]<<0x10|_0x5f01c9[_0x11bee9>>>0x8&0xff]<<0x8|_0x5f01c9[_0x2ab2c1&0xff])^_0x34e4ab[_0x549b2c++],_0x130df3=(_0x5f01c9[_0x385808>>>0x18]<<0x18|_0x5f01c9[_0x11bee9>>>0x10&0xff]<<0x10|_0x5f01c9[_0x2ab2c1>>>0x8&0xff]<<0x8|_0x5f01c9[_0x49af90&0xff])^_0x34e4ab[_0x549b2c++];_0xfad064[_0x4e1b1e]=_0x1e568e,_0xfad064[_0x4e1b1e+0x1]=_0x142aea,_0xfad064[_0x4e1b1e+0x2]=_0xf25beb,_0xfad064[_0x4e1b1e+0x3]=_0x130df3;},'keySize':0x100/0x20});_0x47edef[_0xaf9f5f(0x14f)]=_0x12eebe['_createHelper'](_0x229b5b);}()),_0x172a3d[_0x2fee41(0x14f)];}));}(zi));var ic=zi[_0x28ced3(0x394)];const rc=at(ic);var nc=qi();const ci=at(nc);var Zi={'exports':{}};(function(_0x2cde4c,_0x3b4552){(function(_0x2811ad,_0x30e6e1){const _0x2d344d=_0x5087;_0x2cde4c[_0x2d344d(0x394)]=_0x30e6e1(ue());}(Z,function(_0x41b522){return _0x41b522['enc']['Utf8'];}));}(Zi));var oc=Zi[_0x28ced3(0x394)];const ac=at(oc);var Qi={'exports':{}};(function(_0x44f1c2,_0x2ef7fc){(function(_0x17909f,_0x2b6ad4){const _0x493313=_0x5087;_0x44f1c2[_0x493313(0x394)]=_0x2b6ad4(ue());}(Z,function(_0x26bafa){const _0x4ebed5=_0x5087;return(function(){const _0x39b011=_0x5087;if(typeof ArrayBuffer=='function'){var _0x3d11d4=_0x26bafa,_0x7d5a6d=_0x3d11d4[_0x39b011(0x1b4)],_0x18a691=_0x7d5a6d[_0x39b011(0x3d7)],_0x2d44da=_0x18a691[_0x39b011(0x2a2)],_0x5adb1=_0x18a691['init']=function(_0x3ee5cb){const _0x2dc6d0=_0x39b011;if(_0x3ee5cb instanceof ArrayBuffer&&(_0x3ee5cb=new Uint8Array(_0x3ee5cb)),(_0x3ee5cb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3ee5cb instanceof Uint8ClampedArray||_0x3ee5cb instanceof Int16Array||_0x3ee5cb instanceof Uint16Array||_0x3ee5cb instanceof Int32Array||_0x3ee5cb instanceof Uint32Array||_0x3ee5cb instanceof Float32Array||_0x3ee5cb instanceof Float64Array)&&(_0x3ee5cb=new Uint8Array(_0x3ee5cb[_0x2dc6d0(0x22a)],_0x3ee5cb[_0x2dc6d0(0x17f)],_0x3ee5cb['byteLength'])),_0x3ee5cb instanceof Uint8Array){for(var _0x507276=_0x3ee5cb['byteLength'],_0x23f82f=[],_0x9cc12a=0x0;_0x9cc12a<_0x507276;_0x9cc12a++)_0x23f82f[_0x9cc12a>>>0x2]|=_0x3ee5cb[_0x9cc12a]<<0x18-_0x9cc12a%0x4*0x8;_0x2d44da[_0x2dc6d0(0x477)](this,_0x23f82f,_0x507276);}else _0x2d44da[_0x2dc6d0(0x4d0)](this,arguments);};_0x5adb1['prototype']=_0x18a691;}}()),_0x26bafa[_0x4ebed5(0x1b4)][_0x4ebed5(0x3d7)];}));}(Qi));var cc=Qi[_0x28ced3(0x394)];const hc=at(cc);var er={'exports':{}};(function(_0x5e728e,_0x36817f){(function(_0x42e533,_0x517c11,_0x1ad4e6){_0x5e728e['exports']=_0x517c11(ue(),Ji());}(Z,function(_0x15742a){const _0xbb5552=_0x5087;return _0x15742a[_0xbb5552(0x17b)][_0xbb5552(0x34f)]={'pad':function(){},'unpad':function(){}},_0x15742a[_0xbb5552(0x17b)][_0xbb5552(0x34f)];}));}(er));var lc=er[_0x28ced3(0x394)];const _c=at(lc);function uc(_0x3d03fd,_0x2f723b){const _0x16538a=_0x28ced3,_0x138b5a=_0x2f723b-_0x3d03fd[_0x16538a(0x311)]%_0x2f723b,_0x5d6136=String[_0x16538a(0x3a5)](_0x138b5a)[_0x16538a(0x524)](_0x138b5a);return _0x3d03fd+_0x5d6136;}function dc(_0x3945c3,_0xc050f3){const _0x34d2ca=_0x28ced3,_0x16e79e=hc[_0x34d2ca(0x265)](0x10),_0x39ed35=uc(_0x3945c3,0x10),_0x900794=rc[_0x34d2ca(0x298)](ac['parse'](_0x39ed35),ci[_0x34d2ca(0x4c4)](_0xc050f3),{'iv':_0x16e79e,'padding':_c});return _0x16e79e[_0x34d2ca(0x24a)](_0x900794[_0x34d2ca(0x3cd)])[_0x34d2ca(0x383)](ci);}function fc(){const _0x2f7b83=_0x28ced3,_0x2fb922=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2f7b83(0x3bc)];if(_0x2fb922){const _0xf4c45a={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x2f7b83(0x314)]};return dc(JSON[_0x2f7b83(0x27b)](_0xf4c45a),_0x2fb922);}}var vc=Object[_0x28ced3(0x4e5)],mc=Object[_0x28ced3(0x23d)],pc=(_0x5710a2,_0x57f015,_0x2987ac,_0x3f0ba0)=>{const _0x5657b3=_0x28ced3;for(var _0x40922f=_0x3f0ba0>0x1?void 0x0:_0x3f0ba0?mc(_0x57f015,_0x2987ac):_0x57f015,_0x4647bf=_0x5710a2[_0x5657b3(0x311)]-0x1,_0x197a16;_0x4647bf>=0x0;_0x4647bf--)(_0x197a16=_0x5710a2[_0x4647bf])&&(_0x40922f=(_0x3f0ba0?_0x197a16(_0x57f015,_0x2987ac,_0x40922f):_0x197a16(_0x40922f))||_0x40922f);return _0x3f0ba0&&_0x40922f&&vc(_0x57f015,_0x2987ac,_0x40922f),_0x40922f;},gc=(_0x121645,_0x582b8d)=>(_0x3923f9,_0x3d7a85)=>_0x582b8d(_0x3923f9,_0x3d7a85,_0x121645);let Rt=class{constructor(_0xdd8ead){const _0x3d53de=_0x28ced3;this[_0x3d53de(0x195)]=_0xdd8ead,this[_0x3d53de(0x4de)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0xf5c32a,_0x1dbb3b)=>{const _0x5565c2=_0x5087,_0x5d4c28=_0xf5c32a['headers'],_0x3f7ffe=fc();return _0x3f7ffe&&_0x5d4c28[_0x5565c2(0x32a)]('x-univer-host',_0x3f7ffe),_0x1dbb3b(_0xf5c32a);}});}};Rt=pc([gc(0x0,_0x4dc79e(_0x327304))],Rt);var Sc=Object[_0x28ced3(0x4e5)],Ic=Object[_0x28ced3(0x23d)],Cc=(_0x1f7cbd,_0x5a8189,_0x24c102,_0x62cbc4)=>{for(var _0x1316ee=_0x62cbc4>0x1?void 0x0:_0x62cbc4?Ic(_0x5a8189,_0x24c102):_0x5a8189,_0x90491e=_0x1f7cbd['length']-0x1,_0x4e33b7;_0x90491e>=0x0;_0x90491e--)(_0x4e33b7=_0x1f7cbd[_0x90491e])&&(_0x1316ee=(_0x62cbc4?_0x4e33b7(_0x5a8189,_0x24c102,_0x1316ee):_0x4e33b7(_0x1316ee))||_0x1316ee);return _0x62cbc4&&_0x1316ee&&Sc(_0x5a8189,_0x24c102,_0x1316ee),_0x1316ee;},Zt=(_0x38fd37,_0x1ccdf6)=>(_0x4aae6e,_0x236578)=>_0x1ccdf6(_0x4aae6e,_0x236578,_0x38fd37);const Ec=[_0x28ced3(0x343),_0x28ced3(0x401),_0x28ced3(0x538),'image/gif',_0x28ced3(0x30b)],bc=0x5*0x400*0x400,Tc=_0x28ced3(0x4d9),Rc='/universer-api/stream/file/upload',Oc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',yc='/universer-api/file/{fileID}/sign-url';let _s=class{constructor(_0x394a79,_0x4842e7,_0x17c6d1){const _0x4f5b83=_0x28ced3;g(this,_0x4f5b83(0x328),0x0),g(this,_0x4f5b83(0x248),new _0x3c0db6()),g(this,_0x4f5b83(0x4dd),this[_0x4f5b83(0x248)]),g(this,_0x4f5b83(0x18a),new Map()),(this['_httpService']=_0x394a79,this['_configService']=_0x4842e7,this[_0x4f5b83(0x1f9)]=_0x17c6d1);}[_0x28ced3(0x321)](_0x33722e){const _0x3bdec3=_0x28ced3;this[_0x3bdec3(0x328)]=_0x33722e,this['_change$'][_0x3bdec3(0x14b)](_0x33722e);}[_0x28ced3(0x2d6)](_0x2a4a44,_0x1812f9){const _0x47e1b7=_0x28ced3;if(_0x1812f9===_0x5eb02a['BASE64']){const _0x2d1d58=new Image();return _0x2d1d58[_0x47e1b7(0x3cf)]=_0x2a4a44,_0x2d1d58;}return this[_0x47e1b7(0x18a)][_0x47e1b7(0x177)](_0x2a4a44);}[_0x28ced3(0x1f6)](_0x37f7de,_0x3c6120,_0x635fc2){const _0x5c01fb=_0x28ced3;_0x3c6120===_0x5eb02a['BASE64']||_0x635fc2==null||this[_0x5c01fb(0x18a)][_0x5c01fb(0x32a)](_0x37f7de,_0x635fc2);}async[_0x28ced3(0x33f)](_0xa917f9){const _0x5c4ec7=_0x28ced3;try{const _0x248eab=this[_0x5c4ec7(0x4c9)](this[_0x5c4ec7(0x181)](),''+_0xa917f9),_0x3c605a=(await this[_0x5c4ec7(0x195)][_0x5c4ec7(0x177)](_0x248eab))['body'];if(_0x3c605a[_0x5c4ec7(0x25b)]&&_0x3c605a[_0x5c4ec7(0x25b)][_0x5c4ec7(0x2d3)]===Ui['OK']){const _0x266eae=new URL(_0x3c605a[_0x5c4ec7(0x4dc)],this[_0x5c4ec7(0x379)]())['toString']();return Promise[_0x5c4ec7(0x149)](_0x266eae);}return Promise[_0x5c4ec7(0x47b)](_0x3c605a['error']);}catch(_0x2b99fe){return Promise[_0x5c4ec7(0x47b)](_0x2b99fe);}}async[_0x28ced3(0x446)](_0x226caf){const _0x1b1277=_0x28ced3;let _0x158b51='';if(!Ec[_0x1b1277(0x4ef)](_0x226caf[_0x1b1277(0x31c)]))return this[_0x1b1277(0x48e)](),Promise[_0x1b1277(0x47b)](new Error(_0x368011[_0x1b1277(0x369)]));if(_0x226caf[_0x1b1277(0x457)]>bc)return this[_0x1b1277(0x48e)](),Promise['reject'](new Error(_0x368011[_0x1b1277(0x2ef)]));try{const _0x2e542e=new FormData();_0x2e542e[_0x1b1277(0x46b)](_0x1b1277(0x4fc),_0x226caf);const _0x57c0ea=this['_univerInstanceService']['getFocusedUnit'](),_0x447c2f=_0x57c0ea==null?void 0x0:_0x57c0ea['getUnitId']();if(!_0x447c2f)throw new Error(_0x1b1277(0x227));const _0x1b646d=this['_getUploadFileURL']()+_0x1b1277(0x4ff)+_0x226caf[_0x1b1277(0x457)][_0x1b1277(0x383)]()+'&source='+Ni['UnitEmbedded']+'&assign='+encodeURIComponent(_0x447c2f),_0x252c36=await(await fetch(_0x1b646d,{'method':'POST','body':_0x2e542e}))[_0x1b1277(0x236)]();if(typeof _0x252c36[_0x1b1277(0x46e)]!=_0x1b1277(0x3d4))return this[_0x1b1277(0x48e)](),Promise[_0x1b1277(0x47b)](new Error(_0x368011['ERROR_IMAGE']));_0x158b51=_0x252c36[_0x1b1277(0x46e)];}catch{return this[_0x1b1277(0x48e)](),Promise[_0x1b1277(0x47b)](new Error(_0x368011[_0x1b1277(0x518)]));}return new Promise((_0x37a551,_0x1611cb)=>{const _0x580b0c=_0x1b1277,_0x518170=new FileReader();_0x518170[_0x580b0c(0x251)](_0x226caf),_0x518170['onload']=_0x2db705=>{const _0x1b051d=_0x580b0c;var _0x52b392;const _0x1a7e28=(_0x52b392=_0x2db705['target'])==null?void 0x0:_0x52b392[_0x1b051d(0x454)];if(_0x1a7e28==null){this['_decreaseWaiting'](),_0x1611cb(new Error(_0x368011['ERROR_IMAGE']));return;}const _0xe42432=_0x504575[_0x1b051d(0x2e6)](0x6);_0x37a551({'imageId':_0xe42432,'imageSourceType':_0x5eb02a['UUID'],'source':_0x158b51,'base64Cache':_0x1a7e28,'status':_0x368011[_0x1b051d(0x317)]}),this[_0x1b051d(0x48e)]();};});}[_0x28ced3(0x274)](){const _0x2e4a71=_0x28ced3;var _0x4e3ff2,_0x25e5d4;const _0x327f82=this[_0x2e4a71(0x3f3)][_0x2e4a71(0x4bd)](Tc),_0x42b37e=this[_0x2e4a71(0x3f3)][_0x2e4a71(0x4bd)](ee);return(_0x25e5d4=(_0x4e3ff2=_0x42b37e==null?void 0x0:_0x42b37e[_0x2e4a71(0x253)])!=null?_0x4e3ff2:_0x327f82)!=null?_0x25e5d4:Rc;}['_getSignURL'](){const _0x48a5b0=_0x28ced3;var _0x3f8162,_0xf7f527;const _0x11b8e1=this[_0x48a5b0(0x3f3)][_0x48a5b0(0x4bd)](Oc),_0x3595a3=this[_0x48a5b0(0x3f3)][_0x48a5b0(0x4bd)](ee);return(_0xf7f527=(_0x3f8162=_0x3595a3==null?void 0x0:_0x3595a3[_0x48a5b0(0x2ae)])!=null?_0x3f8162:_0x11b8e1)!=null?_0xf7f527:yc;}[_0x28ced3(0x379)](){const _0x293454=_0x28ced3;var _0x55fa2f;const _0x42d96f=this[_0x293454(0x3f3)][_0x293454(0x4bd)](ee);return(_0x55fa2f=_0x42d96f==null?void 0x0:_0x42d96f[_0x293454(0x277)])!=null?_0x55fa2f:location['origin'];}[_0x28ced3(0x4c9)](_0x2d514c,_0x4e5212){const _0x494a27=_0x28ced3;return _0x2d514c[_0x494a27(0x39a)]('{fileID}',_0x4e5212);}[_0x28ced3(0x48e)](){const _0x923b4d=_0x28ced3;this[_0x923b4d(0x328)]-=0x1,this[_0x923b4d(0x248)][_0x923b4d(0x14b)](this[_0x923b4d(0x328)]);}};_s=Cc([Zt(0x0,_0x4dc79e(_0x327304)),Zt(0x1,_0x4267),Zt(0x2,_0x4dc79e(_0x3f5641))],_s);var wc=Object[_0x28ced3(0x4e5)],Dc=Object[_0x28ced3(0x23d)],Pc=(_0xd3a294,_0x5c44e1,_0x334805,_0x268aab)=>{for(var _0x4faae5=_0x268aab>0x1?void 0x0:_0x268aab?Dc(_0x5c44e1,_0x334805):_0x5c44e1,_0x2ec748=_0xd3a294['length']-0x1,_0x58cebd;_0x2ec748>=0x0;_0x2ec748--)(_0x58cebd=_0xd3a294[_0x2ec748])&&(_0x4faae5=(_0x268aab?_0x58cebd(_0x5c44e1,_0x334805,_0x4faae5):_0x58cebd(_0x4faae5))||_0x4faae5);return _0x268aab&&_0x4faae5&&wc(_0x5c44e1,_0x334805,_0x4faae5),_0x4faae5;},hi=(_0x296018,_0x440fd6)=>(_0x57fccf,_0x31dfc8)=>_0x440fd6(_0x57fccf,_0x31dfc8,_0x296018);const Uc=_0x28ced3(0x3ef);let us=class{constructor(_0x1fd1ee,_0x5695c4){const _0x1f48a3=_0x28ced3;this[_0x1f48a3(0x3f3)]=_0x1fd1ee,this['_HTTPService']=_0x5695c4;}[_0x28ced3(0x136)](){const _0x1773cc=_0x28ced3;var _0x3d8f67,_0x4e8e21;const _0x59bfdb=this[_0x1773cc(0x3f3)][_0x1773cc(0x4bd)](Ki),_0x4ea3f1=this[_0x1773cc(0x3f3)][_0x1773cc(0x4bd)](ee);return(_0x4e8e21=(_0x3d8f67=_0x4ea3f1==null?void 0x0:_0x4ea3f1[_0x1773cc(0x4b2)])!=null?_0x3d8f67:_0x59bfdb)!=null?_0x4e8e21:Uc;}async[_0x28ced3(0x3ec)](_0x4f2f07){const _0xc134ff=_0x28ced3,_0x21be65=this[_0xc134ff(0x136)]()+_0xc134ff(0x3b4);return{'list':[{'title':_0xc134ff(0x39f),'mentions':(await this[_0xc134ff(0x2ff)][_0xc134ff(0x177)](_0x21be65,{'params':{'objectID':_0x4f2f07[_0xc134ff(0x284)],'unitID':_0x4f2f07[_0xc134ff(0x284)]}}))[_0xc134ff(0x43e)]['collaborators']['map'](_0x27d60d=>({'objectId':_0x27d60d['id'],'name':_0x27d60d[_0xc134ff(0x44c)][_0xc134ff(0x352)],'metadata':{'icon':_0x27d60d['subject'][_0xc134ff(0x1cf)]},'label':_0x27d60d[_0xc134ff(0x44c)][_0xc134ff(0x352)],'objectType':_0x4b9625[_0xc134ff(0x145)]})),'metadata':{},'type':_0x4b9625[_0xc134ff(0x145)]}]};}};us=Pc([hi(0x0,_0x4dc79e(_0x4267)),hi(0x1,_0x4dc79e(_0x327304))],us);var Nc=Object[_0x28ced3(0x4e5)],Ac=Object[_0x28ced3(0x23d)],Mc=(_0x55b774,_0x577277,_0x2a52c3,_0x1b6cf9)=>{const _0x595650=_0x28ced3;for(var _0x4240ab=_0x1b6cf9>0x1?void 0x0:_0x1b6cf9?Ac(_0x577277,_0x2a52c3):_0x577277,_0x23aff4=_0x55b774[_0x595650(0x311)]-0x1,_0x3c6d33;_0x23aff4>=0x0;_0x23aff4--)(_0x3c6d33=_0x55b774[_0x23aff4])&&(_0x4240ab=(_0x1b6cf9?_0x3c6d33(_0x577277,_0x2a52c3,_0x4240ab):_0x3c6d33(_0x4240ab))||_0x4240ab);return _0x1b6cf9&&_0x4240ab&&Nc(_0x577277,_0x2a52c3,_0x4240ab),_0x4240ab;},Qe=(_0xe62f5a,_0x4707e3)=>(_0x2a395d,_0x5e036b)=>_0x4707e3(_0x2a395d,_0x5e036b,_0xe62f5a);let Ot=class extends _0x143369{constructor(_0x46ef80,_0x21ce89,_0x14fde4,_0x27d414,_0x35f936){const _0x45ca17=_0x28ced3;super(),this[_0x45ca17(0x23f)]=_0x46ef80,this[_0x45ca17(0x1f9)]=_0x21ce89,this[_0x45ca17(0x3a7)]=_0x14fde4,this['_collaborationSessionService']=_0x27d414,this['_localeService']=_0x35f936,this[_0x45ca17(0x4e9)](),this[_0x45ca17(0x33c)]();}[_0x28ced3(0x33c)](){const _0x243fa3=_0x28ced3,_0x1564da=async _0xf4d0f2=>{const _0x4b6fb2=_0x5087;(await this[_0x4b6fb2(0x51e)]['requireSession'](_0xf4d0f2))[_0x4b6fb2(0x27e)][_0x4b6fb2(0x154)](_0x59126f(_0x75b9c0=>_0x75b9c0[_0x4b6fb2(0x1cd)]===_0x4fedc8[_0x4b6fb2(0x413)]),_0x4008ce(this[_0x4b6fb2(0x4a3)]))[_0x4b6fb2(0x293)](_0x161885=>{const _0x4ebc76=_0x4b6fb2,_0x40f615=_0x161885,{reason:_0x57cbdc}=_0x40f615[_0x4ebc76(0x326)];this[_0x4ebc76(0x23f)][_0x4ebc76(0x177)](_0x27f618)[_0x4ebc76(0x3dd)]({'type':_0x116338[_0x4ebc76(0x2da)],'content':this[_0x4ebc76(0x340)]['t'](_0x4ebc76(0x44a))+'('+_0x57cbdc+')'}),this[_0x4ebc76(0x3a7)]['updatePermissionPoint'](new _0x675da3(_0xf4d0f2)['id'],!0x1),this['_collaborationSessionService'][_0x4ebc76(0x182)](_0xf4d0f2);});};_0x16bd1c(this[_0x243fa3(0x1f9)]['getTypeOfUnitAdded$'](_0x432165[_0x243fa3(0x550)]),this[_0x243fa3(0x1f9)][_0x243fa3(0x414)](_0x432165[_0x243fa3(0x21c)]))[_0x243fa3(0x154)](_0x997ff7(_0x593a82=>_0x593a82[_0x243fa3(0x367)]()),_0x59126f(_0x580bd1=>!_0x479da3(_0x580bd1)),_0x4008ce(this[_0x243fa3(0x4a3)]))[_0x243fa3(0x293)](_0x4eb1e2=>{_0x1564da(_0x4eb1e2);});}[_0x28ced3(0x4e9)](){const _0xfbe82=_0x28ced3,_0xd9fe57=async _0x3da53a=>{const _0x4b956d=_0x5087;(await this['_collaborationSessionService'][_0x4b956d(0x18c)](_0x3da53a))[_0x4b956d(0x27e)][_0x4b956d(0x154)](_0x59126f(_0x4144ed=>_0x4144ed[_0x4b956d(0x1cd)]===_0x4fedc8[_0x4b956d(0x185)]),_0x4008ce(this[_0x4b956d(0x4a3)]))[_0x4b956d(0x293)](_0x492575=>{const _0x158a08=_0x4b956d,_0x3a277f=_0x492575,{objectId:_0x17cc1d}=_0x3a277f[_0x158a08(0x326)],_0x3aea39=this[_0x158a08(0x23f)][_0x158a08(0x177)](_0x20ded5);_0x17cc1d===_0x3da53a?_0x3aea39['initWorkbookPermissionChange'](_0x3da53a):_0x3aea39['refreshPermission'](_0x3da53a,_0x17cc1d);});};_0x16bd1c(this[_0xfbe82(0x1f9)][_0xfbe82(0x414)](_0x432165[_0xfbe82(0x550)]),this[_0xfbe82(0x1f9)][_0xfbe82(0x414)](_0x432165[_0xfbe82(0x21c)]))[_0xfbe82(0x154)](_0x997ff7(_0x1554eb=>_0x1554eb[_0xfbe82(0x367)]()),_0x59126f(_0xb22c3f=>!_0x479da3(_0xb22c3f)),_0x4008ce(this[_0xfbe82(0x4a3)]))['subscribe'](_0x2a3712=>{_0xd9fe57(_0x2a3712);});}};Ot=Mc([Qe(0x0,_0x4dc79e(_0x4ea20b)),Qe(0x1,_0x3f5641),Qe(0x2,_0x12318d),Qe(0x3,_0x4dc79e(xe)),Qe(0x4,_0x4dc79e(_0x9d81ca))],Ot);var xc=Object[_0x28ced3(0x4e5)],Lc=Object[_0x28ced3(0x23d)],$c=(_0x192471,_0x56d0fb,_0x3009c2,_0x394e9a)=>{const _0x31294a=_0x28ced3;for(var _0x3ec2db=_0x394e9a>0x1?void 0x0:_0x394e9a?Lc(_0x56d0fb,_0x3009c2):_0x56d0fb,_0x23cfb6=_0x192471[_0x31294a(0x311)]-0x1,_0x35426d;_0x23cfb6>=0x0;_0x23cfb6--)(_0x35426d=_0x192471[_0x23cfb6])&&(_0x3ec2db=(_0x394e9a?_0x35426d(_0x56d0fb,_0x3009c2,_0x3ec2db):_0x35426d(_0x3ec2db))||_0x3ec2db);return _0x394e9a&&_0x3ec2db&&xc(_0x56d0fb,_0x3009c2,_0x3ec2db),_0x3ec2db;},li=(_0x4e537f,_0xeb5fb1)=>(_0x21cb13,_0x22b3a7)=>_0xeb5fb1(_0x21cb13,_0x22b3a7,_0x4e537f);let ds=class{constructor(_0x2e9d1b,_0x279aef){const _0x10b897=_0x28ced3;this['_configService']=_0x2e9d1b,this[_0x10b897(0x195)]=_0x279aef;}async[_0x28ced3(0x1f4)](_0x2088e3,_0x5ecc14){const _0x1c305e=_0x28ced3;var _0x4dc7ac;const {unitID:_0x19c863,type:_0x91389,revision:_0x4bf47c=0x0}=_0x5ecc14,_0x5a2b43=this[_0x1c305e(0x18f)]()+'/'+_0x91389+'/unit/'+_0x19c863+_0x1c305e(0x335)+_0x4bf47c,_0x7c9c70=(await this[_0x1c305e(0x195)][_0x1c305e(0x177)](_0x5a2b43))['body'],_0x4d5a61=(_0x4dc7ac=_0x7c9c70[_0x1c305e(0x375)])==null?void 0x0:_0x4dc7ac[_0x1c305e(0x51f)];if(_0x4d5a61){const _0x4d74aa=_0x4d5a61==null?void 0x0:_0x4d5a61[_0x1c305e(0x4ae)],_0x54f52d=_0x39d010[_0x1c305e(0x47d)](_0x524215(_0x4d74aa));_0x4d5a61[_0x1c305e(0x4ae)]=_0x54f52d,Object['entries'](_0x4d5a61['sheets'])[_0x1c305e(0x2ea)](([,_0x32bb63])=>{const _0x76cf6e=_0x1c305e,_0x33d142=_0x32bb63['originalMeta'],_0x2af44a=_0x39d010['encode'](_0x524215(_0x33d142));_0x32bb63[_0x76cf6e(0x4ae)]=_0x2af44a;});}return _0x7c9c70;}async['getSheetBlock'](_0x365393,_0x205820){const _0x3174a9=_0x28ced3,{unitID:_0x3c3951,type:_0x49df00,blockID:_0x19c4a0}=_0x205820,_0x53dfa9=this['_getAPIPrefix']()+'/'+_0x49df00+_0x3174a9(0x3d6)+_0x3c3951+'/block/'+_0x19c4a0;return(await this[_0x3174a9(0x195)][_0x3174a9(0x177)](_0x53dfa9))['body'];}async['getDeserializedSheetBlock'](_0x3f550c,_0x27b48a){const _0x49bb0a=_0x28ced3,{unitID:_0x5a474b,type:_0xc8d66f,blockID:_0x5844cc}=_0x27b48a,_0x3482e1=this['_getAPIPrefix']()+_0x49bb0a(0x392)+_0xc8d66f+_0x49bb0a(0x3d6)+_0x5a474b+'/block/'+_0x5844cc;return(await this['_httpService'][_0x49bb0a(0x177)](_0x3482e1))[_0x49bb0a(0x43e)];}async[_0x28ced3(0x168)](_0x4f391d,_0x3e73a1){const _0x8c57b4=_0x28ced3,{unitID:_0x1f9357,type:_0x1cac5e,from:_0x3c0183,to:_0x5cfd34}=_0x3e73a1,_0x106e4d=this[_0x8c57b4(0x3e0)]()+'/'+_0x1cac5e+_0x8c57b4(0x3d6)+_0x1f9357+_0x8c57b4(0x452)+_0x3c0183+'&to='+_0x5cfd34;return(await this[_0x8c57b4(0x195)][_0x8c57b4(0x177)](_0x106e4d))[_0x8c57b4(0x43e)];}[_0x28ced3(0x18f)](){const _0x4a09f4=_0x28ced3;var _0x38734a;return(_0x38734a=this[_0x4a09f4(0x3f3)][_0x4a09f4(0x4bd)](gn))!=null?_0x38734a:this[_0x4a09f4(0x3e0)]();}[_0x28ced3(0x3e0)](){const _0x3e70ed=_0x28ced3;var _0x26230f,_0x2f5404;const _0x50e1a7=this[_0x3e70ed(0x3f3)][_0x3e70ed(0x4bd)](mn),_0x14393a=this[_0x3e70ed(0x3f3)][_0x3e70ed(0x4bd)](ee);return(_0x2f5404=(_0x26230f=_0x14393a==null?void 0x0:_0x14393a[_0x3e70ed(0x24c)])!=null?_0x26230f:_0x50e1a7)!=null?_0x2f5404:pn;}async[_0x28ced3(0x4f1)](_0x430ee2,_0x2de650){const _0x4fbff7=_0x28ced3,_0x1eed04=_0x4fbff7(0x1e1)+_0x2de650[_0x4fbff7(0x31c)]+_0x4fbff7(0x3d6)+_0x2de650[_0x4fbff7(0x1a4)]+_0x4fbff7(0x186);return(await this[_0x4fbff7(0x195)][_0x4fbff7(0x177)](_0x1eed04,{'params':{'resourceId':JSON[_0x4fbff7(0x27b)](_0x2de650[_0x4fbff7(0x15a)])}}))['body'];}[_0x28ced3(0x176)](){const _0x5b6803=_0x28ced3;throw new Error(_0x5b6803(0x537));}['saveSheetBlock'](){const _0x534693=_0x28ced3;throw new Error(_0x534693(0x537));}['saveChangeset'](){const _0x19522c=_0x28ced3;throw new Error(_0x19522c(0x537));}[_0x28ced3(0x1e6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ds=$c([li(0x0,_0x4267),li(0x1,_0x4dc79e(_0x327304))],ds);var Hc=Object[_0x28ced3(0x4e5)],jc=Object['getOwnPropertyDescriptor'],Bc=(_0x1892a6,_0x442e40,_0x57e6b8,_0x1011ad)=>{const _0x166cab=_0x28ced3;for(var _0x5837ef=_0x1011ad>0x1?void 0x0:_0x1011ad?jc(_0x442e40,_0x57e6b8):_0x442e40,_0x2cd498=_0x1892a6[_0x166cab(0x311)]-0x1,_0x334bb7;_0x2cd498>=0x0;_0x2cd498--)(_0x334bb7=_0x1892a6[_0x2cd498])&&(_0x5837ef=(_0x1011ad?_0x334bb7(_0x442e40,_0x57e6b8,_0x5837ef):_0x334bb7(_0x5837ef))||_0x5837ef);return _0x1011ad&&_0x5837ef&&Hc(_0x442e40,_0x57e6b8,_0x5837ef),_0x5837ef;},et=(_0x4c2b00,_0x38c095)=>(_0x18329f,_0x285ef2)=>_0x38c095(_0x18329f,_0x285ef2,_0x4c2b00);let fs=class extends _0x480147{constructor(_0x40661a,_0x5898ad,_0x117249,_0xb2c635,_0x535c74){const _0x46abac=_0x28ced3;super(_0x40661a,_0x5898ad,_0x117249),this[_0x46abac(0x3d8)]=_0xb2c635,this[_0x46abac(0x427)]=_0x535c74;}[_0x28ced3(0x2e8)](_0x466eda,_0x5766a2){const _0x357605=_0x28ced3,_0x2dc8e6=this[_0x357605(0x46d)](_0x466eda);if(_0x2dc8e6)try{const _0x2caa70=this[_0x357605(0x4f7)](_0x2dc8e6,_0x5766a2);this['_substituteUndoStack'](_0x466eda,_0x2caa70);}catch(_0x2c61c6){this[_0x357605(0x427)][_0x357605(0x25b)]('[CollaborationUndoRedoService]',_0x2c61c6),this[_0x357605(0x23a)](_0x466eda);}const _0x1fbfd5=this['_getRedoStack'](_0x466eda);if(_0x1fbfd5)try{const _0x5aa796=this[_0x357605(0x4f7)](_0x1fbfd5,_0x5766a2);this['_substituteRedoStack'](_0x466eda,_0x5aa796);}catch(_0x632dfe){this[_0x357605(0x427)][_0x357605(0x25b)](_0x632dfe),this[_0x357605(0x214)](_0x466eda);}}[_0x28ced3(0x23a)](_0x23d063){const _0x3cf757=_0x28ced3,_0x17f1de=this['_getUndoStack'](_0x23d063);_0x17f1de&&(_0x17f1de[_0x3cf757(0x311)]=0x0,this[_0x3cf757(0x327)]());}[_0x28ced3(0x214)](_0x2ccc0a){const _0x4c9f2e=_0x28ced3,_0x327b45=this[_0x4c9f2e(0x25e)](_0x2ccc0a);_0x327b45&&(_0x327b45['length']=0x0,this[_0x4c9f2e(0x327)]());}[_0x28ced3(0x1e5)](_0x24267a,_0x14da32){const _0x30746e=_0x28ced3;this[_0x30746e(0x494)][_0x30746e(0x32a)](_0x24267a,_0x14da32),this[_0x30746e(0x327)]();}['_substituteRedoStack'](_0x29aac3,_0x604fc4){const _0x42db83=_0x28ced3;this[_0x42db83(0x260)]['set'](_0x29aac3,_0x604fc4),this[_0x42db83(0x327)]();}[_0x28ced3(0x4f7)](_0x52b46a,_0x28f556){const _0x4e6cd8=_0x28ced3,_0x20f0af=[];let _0x541c4c=_0x28f556,_0x5bc1da=_0x28f556;for(let _0x12b17b=_0x52b46a['length']-0x1;_0x12b17b>=0x0;_0x12b17b--){const {unitID:_0x254dd3,undoMutations:_0x2d998e,redoMutations:_0x592d04}=_0x52b46a[_0x12b17b],_0x27c75d=this[_0x4e6cd8(0x3d8)]['transformMutationsWithChangeset'](_0x541c4c,_0x2d998e),_0x179eaf=this[_0x4e6cd8(0x3d8)][_0x4e6cd8(0x3b9)](_0x5bc1da,_0x592d04);if(_0x40dd4a(_0x27c75d)||_0x40dd4a(_0x179eaf)){this[_0x4e6cd8(0x427)][_0x4e6cd8(0x25b)](_0x4e6cd8(0x507),_0x4e6cd8(0x20c),_0x27c75d,_0x179eaf);break;}_0x541c4c=_0x27c75d['c1Prime'],_0x5bc1da=_0x179eaf['c1Prime'],_0x20f0af[_0x4e6cd8(0x1e3)]({'unitID':_0x254dd3,'undoMutations':_0x27c75d['m2Prime'],'redoMutations':_0x179eaf['m2Prime']});}return _0x20f0af[_0x4e6cd8(0x483)]();}};fs=Bc([et(0x0,_0x3f5641),et(0x1,_0x10f0f3),et(0x2,_0x53d76c),et(0x3,_0x56dcb7),et(0x4,_0x1b2c35)],fs);class kc extends _0x143369{constructor(){const _0x413d0f=_0x28ced3;super(),g(this,_0x413d0f(0x44e)),this[_0x413d0f(0x44e)]=_0x150ad0(window,'popstate')[_0x413d0f(0x154)](_0x23d390(this['dispose$']),_0x216b1f(0x1),_0x3cf738(void 0x0));}[_0x28ced3(0x3ac)](_0xd365e8,_0x3673e1,_0x1fad14=!0x1){const _0x34fa82=_0x28ced3,_0x6f6966=new URL(window[_0x34fa82(0x2c8)][_0x34fa82(0x2fd)]);_0x6f6966[_0x34fa82(0x393)][_0x34fa82(0x32a)](_0xd365e8,_0x3673e1),_0x1fad14?window[_0x34fa82(0x4ca)][_0x34fa82(0x450)]('','',_0x6f6966[_0x34fa82(0x383)]()):window['history'][_0x34fa82(0x20d)]('','',_0x6f6966[_0x34fa82(0x383)]());}['removeParam'](_0x289ac7,_0x546e95=!0x1){const _0x1877ac=_0x28ced3,_0x155417=new URL(window[_0x1877ac(0x2c8)][_0x1877ac(0x2fd)]);_0x155417[_0x1877ac(0x393)][_0x1877ac(0x488)](_0x289ac7),_0x546e95?window['history'][_0x1877ac(0x450)]('','',_0x155417[_0x1877ac(0x383)]()):window['history'][_0x1877ac(0x20d)]('','',_0x155417[_0x1877ac(0x383)]());}[_0x28ced3(0x370)](_0x2a6b99){const _0x44687c=_0x28ced3;var _0x41a823;return(_0x41a823=new URL(window[_0x44687c(0x2c8)][_0x44687c(0x2fd)])[_0x44687c(0x393)]['get'](_0x2a6b99))!=null?_0x41a823:void 0x0;}}var tr=Object['defineProperty'],Wc=Object[_0x28ced3(0x23d)],Fc=(_0x1c35db,_0x342515,_0x177bae)=>_0x342515 in _0x1c35db?tr(_0x1c35db,_0x342515,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x177bae}):_0x1c35db[_0x342515]=_0x177bae,Vc=(_0x224de3,_0x23fc8a,_0x5af78f,_0x348c50)=>{const _0x1e776e=_0x28ced3;for(var _0x59fb5c=_0x348c50>0x1?void 0x0:_0x348c50?Wc(_0x23fc8a,_0x5af78f):_0x23fc8a,_0x3b50a4=_0x224de3[_0x1e776e(0x311)]-0x1,_0x12912e;_0x3b50a4>=0x0;_0x3b50a4--)(_0x12912e=_0x224de3[_0x3b50a4])&&(_0x59fb5c=(_0x348c50?_0x12912e(_0x23fc8a,_0x5af78f,_0x59fb5c):_0x12912e(_0x59fb5c))||_0x59fb5c);return _0x348c50&&_0x59fb5c&&tr(_0x23fc8a,_0x5af78f,_0x59fb5c),_0x59fb5c;},lt=(_0xa88bc1,_0x4950e8)=>(_0x48d0c5,_0x1ad400)=>_0x4950e8(_0x48d0c5,_0x1ad400,_0xa88bc1),Gc=(_0x47fe4e,_0x3bbca0,_0x40b25b)=>Fc(_0x47fe4e,_0x3bbca0+'',_0x40b25b);const Yc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let vs=class extends _0x343076{constructor(_0x291911=Mn,_0x5b7542,_0x3b6de4,_0xec143f,_0x2d0134){const _0xab7120=_0x28ced3;super(),this['_config']=_0x291911,this[_0xab7120(0x427)]=_0x5b7542,this[_0xab7120(0x31e)]=_0x3b6de4,this[_0xab7120(0x23f)]=_0xec143f,this[_0xab7120(0x3f3)]=_0x2d0134;const {..._0xc89971}=this['_config'];this[_0xab7120(0x3f3)][_0xab7120(0x3a2)](ee,_0xc89971);}['onStarting'](){const _0x300e22=_0x28ced3;this[_0x300e22(0x4c7)](),this[_0x300e22(0x4eb)]();}[_0x28ced3(0x42b)](){const _0x443aba=_0x28ced3;_0x174ba0(this[_0x443aba(0x23f)],[[bt],[It]]);}[_0x28ced3(0x267)](){this['_registerRenderDependencies']();}[_0x28ced3(0x4c7)](){const _0x3cf8f6=_0x28ced3;var _0xc81bd4,_0x4d91b4,_0x2d286e,_0x21a043;this['_injector'][_0x3cf8f6(0x238)](_0x5c75aa)&&this[_0x3cf8f6(0x427)]['error'](_0x3cf8f6(0x3b5),_0x3cf8f6(0x341));const _0x398324=[[_0x5c75aa,{'useClass':fs}],[xe],[Os],[Yi,{'useClass':kc}],[Me],[q],[_0x52909e],[mt],[gt],[vt],[pt],[Ts],[Tt],[Rt],[Mi],[Ot],[Ai,{'useClass':(_0x4d91b4=(_0xc81bd4=this['_config'])==null?void 0x0:_0xc81bd4[_0x3cf8f6(0x264)])!=null?_0x4d91b4:ss}],[_0x2db733,{'useClass':ds}],[_0x52f7ba,{'useClass':ls}],[_0x189923,{'useClass':_s}],[_0x44ae78,{'useClass':us}],[it],[Et],[Ct],[bt],[Ve],[It]];(_0x2d286e=this[_0x3cf8f6(0x3e9)])!=null&&_0x2d286e[_0x3cf8f6(0x53c)]&&_0x398324[_0x3cf8f6(0x1e3)]([yt,{'useClass':vo}]),_0x21d619(this[_0x3cf8f6(0x23f)],_0x5e78a8(_0x398324,(_0x21a043=this[_0x3cf8f6(0x3e9)])==null?void 0x0:_0x21a043['override']));}[_0x28ced3(0x472)](){const _0x1a8217=_0x28ced3;this[_0x1a8217(0x1a6)](this[_0x1a8217(0x31e)][_0x1a8217(0x3a4)](_0x432165[_0x1a8217(0x21c)],[cs])),this[_0x1a8217(0x1a6)](this[_0x1a8217(0x31e)][_0x1a8217(0x3a4)](_0x432165[_0x1a8217(0x550)],[hs]));}[_0x28ced3(0x4eb)](){const _0x3572c1=_0x28ced3;var _0x195939,_0x59d4ee;this[_0x3572c1(0x23f)][_0x3572c1(0x177)](_0x327304)[_0x3572c1(0x2a7)]({'priority':0x14,'interceptor':_0x12738b({'maxParallel':0x6})}),(_0x195939=this[_0x3572c1(0x3e9)])!=null&&_0x195939[_0x3572c1(0x549)]||this[_0x3572c1(0x23f)]['get'](q)[_0x3572c1(0x386)](),(_0x59d4ee=this[_0x3572c1(0x3e9)])!=null&&_0x59d4ee[_0x3572c1(0x3ca)]&&_0x174ba0(this[_0x3572c1(0x23f)],[[Tt]]),_0x174ba0(this[_0x3572c1(0x23f)],[[Rt],[Ve],[Et],[it],[Ct],[Ot]]);}};Gc(vs,_0x28ced3(0x502),Yc),vs=Vc([_0x9b46b7(_0x7e5e81,_0xf8fb58),lt(0x1,_0x1b2c35),lt(0x2,_0x35a6f3),lt(0x3,_0x4dc79e(_0x4ea20b)),lt(0x4,_0x4267)],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 _0x1c91cb=_0x1b68;(function(_0x519544,_0x3a807c){const _0x29cfa9=_0x1b68,_0x294875=_0x519544();while(!![]){try{const _0x4cfa42=-parseInt(_0x29cfa9(0xec))/0x1+parseInt(_0x29cfa9(0x241))/0x2+-parseInt(_0x29cfa9(0xf8))/0x3+parseInt(_0x29cfa9(0x18c))/0x4*(parseInt(_0x29cfa9(0x391))/0x5)+parseInt(_0x29cfa9(0x354))/0x6*(parseInt(_0x29cfa9(0x38f))/0x7)+parseInt(_0x29cfa9(0x22d))/0x8+-parseInt(_0x29cfa9(0x3ab))/0x9;if(_0x4cfa42===_0x3a807c)break;else _0x294875['push'](_0x294875['shift']());}catch(_0x27bb9e){_0x294875['push'](_0x294875['shift']());}}}(_0x1547,0x9e2ec));var cr=Object[_0x1c91cb(0x502)],hr=(_0x18d8ca,_0xbf83f5,_0x574c55)=>_0xbf83f5 in _0x18d8ca?cr(_0x18d8ca,_0xbf83f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x574c55}):_0x18d8ca[_0xbf83f5]=_0x574c55,g=(_0x4271dd,_0x380c53,_0x110867)=>hr(_0x4271dd,typeof _0x380c53!=_0x1c91cb(0x18d)?_0x380c53+'':_0x380c53,_0x110867);import{createIdentifier as _0x418c93,Inject as _0x5beccd,Disposable as _0x4b86a3,DisposableCollection as _0x70760,toDisposable as _0x20cd7e,IConfigService as _0x385706,ILogService as _0x535daf,UserManagerService as _0x438cf8,UniverInstanceType as _0x2579e6,IUniverInstanceService as _0x5283d0,LocaleService as _0x1f9468,Optional as _0x231330,RxDisposable as _0x30a9be,Injector as _0x21398d,Tools as _0xdb11bc,ILocalStorageService as _0x3fd67f,Rectangle as _0xd9e0ac,ICommandService as _0x3abf69,DOC_RANGE_TYPE as _0x4ec437,JSONX as _0x1eeca2,CommandType as _0x172fb0,IPermissionService as _0x143818,IUndoRedoService as _0x3ac068,sequenceExecute as _0x8a411b,debounce as _0x2ae209,COLORS as _0x497c90,ColorKit as _0x3e2833,ThemeService as _0x5aed82,fromEventSubject as _0x26f08a,useDependency as _0xf90a9a,connectInjector as _0x7290b,Workbook as _0x27bfec,MentionType as _0x1866e3,isInternalEditorID as _0xf17b58,LocalUndoRedoService as _0x195474,IContextService as _0x2f3e14,DependentOn as _0x313217,Plugin as _0x41c2ab,touchDependencies as _0x3b7115,IAuthzIoService as _0x4cbfe7,IMentionIOService as _0x3fa18d,registerDependencies as _0x453377,mergeOverrideWithDependencies as _0x1fb426}from'@univerjs/core';import{Subject as _0x20b5e4,merge as _0x10a92b,takeUntil as _0x13e2dd,BehaviorSubject as _0x3eae3e,distinctUntilChanged as _0x1b17f9,fromEvent as _0x262ff3,ReplaySubject as _0xfad99a,take as _0xc66db6,map as _0x22336c,shareReplay as _0x527819,of as _0x5684b5,debounceTime as _0x4f9fe9,filter as _0x58d7d5,switchMap as _0x284c9e,combineLatest as _0x46617f,concatMap as _0x463a33,mapTo as _0x1c3c7f}from'rxjs';import{map as _0x349821,take as _0x284a7d,filter as _0x2b7dcf,delay as _0x3681f4,throttleTime as _0x1be23b,takeUntil as _0x35b742,switchMap as _0x2d30e6}from'rxjs/operators';import{MessageType as _0x25a468,Tooltip as _0x1e30b7}from'@univerjs/design';import{HTTPService as _0x170656,WebSocketService as _0x11b680,MergeInterceptorFactory as _0x1e8357,HTTPRequest as _0x456f0a,UniverNetworkPlugin as _0x5a0ef5,ThresholdInterceptorFactory as _0x108d46}from'@univerjs/network';import{IBeforeCloseService as _0x20e5a2,IMessageService as _0x452fb7,INotificationService as _0x5eb221,useObservable as _0x1989ef,BuiltInUIPart as _0x1d2b19,IUIPartsService as _0x284aee}from'@univerjs/ui';import{CollaborationEvent as _0x596510,parseChangesetToProtocol as _0x129112,ISnapshotServerService as _0x2fb7b6,isTransformMutationFailure as _0x55d097,isTransformMutationsWithChangesetSuccess as _0x9a9448,ITransformService as _0x3e892f,RevisionService as _0x122db5,mapDocumentTypeToUniverType as _0x5b4ad1,isTransformChangesetsSuccess as _0x1830da,CompressMutationService as _0xd5c410,parseProtocolChangeset as _0x2b33ab,SnapshotService as _0x2c6ceb,textEncoder as _0x1a2f26,b64DecodeUnicode as _0x5aa388,isTransformMutationsWithChangesetFailure as _0xf8d699,UniverCollaborationPlugin as _0x373846}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1e0a01}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x2c4ba8,RichTextEditingMutation as _0x361a8e,SetTextSelectionsOperation as _0x179116,DocSkeletonManagerService as _0x102d0a}from'@univerjs/docs';import{DocIMEInputManagerService as _0x469f87,DocStateChangeManagerService as _0x114dd9,IDocClipboardService as _0x4c9a70,NodePositionConvertToCursor as _0x547f0b,NodePositionConvertToRectRange as _0x4eb35f,TEXT_RANGE_LAYER_INDEX as _0x39605e,SetDocZoomRatioOperation as _0x59c233}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x18f66c,SetSelectionsOperation as _0x9d2051,InsertSheetMutation as _0x5b0a93,EmptyMutation as _0x45d336,WorkbookEditablePermission as _0x203d63,RefRangeService as _0x21d590,EffectRefRangId as _0x218568,handleIRemoveRow as _0x46d2b7,handleIRemoveCol as _0x1733d2,handleMoveRange as _0x41dd5c,handleInsertRow as _0x20d25a,handleInsertRangeMoveRight as _0x5ed561,handleInsertRangeMoveDown as _0xf022af,handleInsertCol as _0x535c55,handleDeleteRangeMoveUp as _0x42d3e8,handleDeleteRangeMoveLeft as _0x4ec771,runRefRangeMutations as _0xf60041,SetWorksheetActivateCommand as _0x4eaf31}from'@univerjs/sheets';import{IRenderManagerService as _0x2e1553,Shape as _0xee85de,Rect as _0x327377,getColor as _0x211346,RegularPolygon as _0x218a16,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x26561d,Vector2 as _0x488e28,SHEET_VIEWPORT_KEY as _0x1481cf}from'@univerjs/engine-render';import{IImageIoService as _0x36aea0,ImageSourceType as _0x306135,ImageUploadStatusType as _0x2435a2}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x29e425,serializeRangeWithSheet as _0x14f421}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x51ae50,getCoordByCell as _0x13f873,getSheetObject as _0x125563,SheetPermissionInitController as _0x4a5f54}from'@univerjs/sheets-ui';import _0x2e260c,{forwardRef as _0x5e0549,useRef as _0x5ff133,createElement as _0x49f7b2,useCallback as _0x50f9f7}from'react';import{IRemoteInstanceService as _0x473fe8}from'@univerjs/rpc';const En=_0x1c91cb(0x35a),bn=_0x1c91cb(0x3f8),Tn=_0x1c91cb(0x19d),wh=_0x1c91cb(0x411),Rn=0x7d0,On=_0x1c91cb(0x17e),yn='ws://127.0.0.1:8000/universer-api/comb/connect',wn=_0x1c91cb(0x1ee),Dn=_0x1c91cb(0x37b),Pn=0x7530,ki='HEARTBEAT_TIMEOUT',Wi=0x4e20,Nn=0x4e20,Un=_0x1c91cb(0x483),An=0x3,Mn=_0x1c91cb(0x155),xn=0x3e8,Ln=_0x1c91cb(0x3c1),$n='/universer-api/comb',Hn=_0x1c91cb(0x42a),jn=_0x1c91cb(0x50c);var Fi=(_0x48a5e9=>(_0x48a5e9[_0x48a5e9[_0x1c91cb(0x453)]=0x0]=_0x1c91cb(0x453),_0x48a5e9[_0x48a5e9['OK']=0x1]='OK',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x220)]=0x2]=_0x1c91cb(0x220),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x4e8)]=0x3]=_0x1c91cb(0x4e8),_0x48a5e9[_0x48a5e9[_0x1c91cb(0xf2)]=0x4]=_0x1c91cb(0xf2),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x3fd)]=0x5]=_0x1c91cb(0x3fd),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x2d7)]=0x6]=_0x1c91cb(0x2d7),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x16b)]=0x7]=_0x1c91cb(0x16b),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x3d5)]=0x8]='TOO_MANY_REQUESTS',_0x48a5e9[_0x48a5e9['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x191)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x3b6)]=0x1771]=_0x1c91cb(0x3b6),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x307)]=0x1772]=_0x1c91cb(0x307),_0x48a5e9[_0x48a5e9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1c91cb(0x1c0),_0x48a5e9[_0x48a5e9[_0x1c91cb(0xed)]=0x1b59]=_0x1c91cb(0xed),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x1b3)]=0x1b5a]=_0x1c91cb(0x1b3),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x3b3)]=0x1b5b]=_0x1c91cb(0x3b3),_0x48a5e9[_0x48a5e9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1c91cb(0x236),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x414)]=0x1b5d]='APPLY_DUPLICATED',_0x48a5e9[_0x48a5e9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x118)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x204)]=0x232a]=_0x1c91cb(0x204),_0x48a5e9[_0x48a5e9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1c91cb(0x4ca),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x129)]=0x232c]=_0x1c91cb(0x129),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x22a)]=0x232d]=_0x1c91cb(0x22a),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x490)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x48a5e9[_0x48a5e9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x19a)]=0x2713]=_0x1c91cb(0x19a),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x3d4)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x159)]=-0x1]=_0x1c91cb(0x159),_0x48a5e9))(Fi||{}),ae=(_0x17dae7=>(_0x17dae7[_0x17dae7[_0x1c91cb(0x4f5)]=0x0]=_0x1c91cb(0x4f5),_0x17dae7[_0x17dae7[_0x1c91cb(0x18f)]=0x1]=_0x1c91cb(0x18f),_0x17dae7[_0x17dae7[_0x1c91cb(0x169)]=0x2]='UNIVER_SHEET',_0x17dae7[_0x17dae7[_0x1c91cb(0x1f6)]=0x3]=_0x1c91cb(0x1f6),_0x17dae7[_0x17dae7[_0x1c91cb(0x147)]=0x4]=_0x1c91cb(0x147),_0x17dae7[_0x17dae7[_0x1c91cb(0x159)]=-0x1]=_0x1c91cb(0x159),_0x17dae7))(ae||{}),W=(_0x411c41=>(_0x411c41[_0x411c41['UNKNOWN_CMD']=0x0]=_0x1c91cb(0xf3),_0x411c41[_0x411c41['HELLO']=0x1]=_0x1c91cb(0x176),_0x411c41[_0x411c41[_0x1c91cb(0x3c2)]=0x2]='JOIN',_0x411c41[_0x411c41[_0x1c91cb(0x194)]=0x3]='LEAVE',_0x411c41[_0x411c41['INGEST']=0x4]='INGEST',_0x411c41[_0x411c41[_0x1c91cb(0x183)]=0x5]=_0x1c91cb(0x183),_0x411c41[_0x411c41[_0x1c91cb(0x2db)]=0x6]=_0x1c91cb(0x2db),_0x411c41[_0x411c41[_0x1c91cb(0x159)]=-0x1]=_0x1c91cb(0x159),_0x411c41))(W||{}),Pe=(_0x4cb1a9=>(_0x4cb1a9[_0x4cb1a9[_0x1c91cb(0x4cb)]=0x0]=_0x1c91cb(0x4cb),_0x4cb1a9[_0x4cb1a9['OK']=0x1]='OK',_0x4cb1a9[_0x4cb1a9[_0x1c91cb(0x259)]=0x2]=_0x1c91cb(0x259),_0x4cb1a9[_0x4cb1a9[_0x1c91cb(0x133)]=0x3e9]='JOIN_ROOM_FULL',_0x4cb1a9[_0x4cb1a9['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4cb1a9[_0x4cb1a9['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x1c91cb(0x156),_0x4cb1a9[_0x4cb1a9[_0x1c91cb(0x323)]=0x3ec]=_0x1c91cb(0x323),_0x4cb1a9[_0x4cb1a9[_0x1c91cb(0x159)]=-0x1]=_0x1c91cb(0x159),_0x4cb1a9))(Pe||{}),Vi=(_0xbed4b1=>(_0xbed4b1[_0xbed4b1['Undefined']=0x0]='Undefined',_0xbed4b1[_0xbed4b1[_0x1c91cb(0x249)]=0x1]=_0x1c91cb(0x249),_0xbed4b1[_0xbed4b1[_0x1c91cb(0x168)]=0x2]=_0x1c91cb(0x168),_0xbed4b1[_0xbed4b1['UnitEmbedded']=0x3]=_0x1c91cb(0x2a9),_0xbed4b1[_0xbed4b1['UnitSnapshot']=0x4]=_0x1c91cb(0x39e),_0xbed4b1[_0xbed4b1[_0x1c91cb(0x159)]=-0x1]='UNRECOGNIZED',_0xbed4b1))(Vi||{});const Q=_0x1c91cb(0x1b8),Bn={};function kn(_0x271c2a){const _0x5d9145=_0x1c91cb;var _0x112f0f,_0x738b14,_0x2dee1e,_0x75106,_0x35521a;const _0x95552=_0x271c2a[_0x5d9145(0x202)],_0x9e3131=JSON[_0x5d9145(0x4f3)](_0x95552);switch(_0x9e3131[_0x5d9145(0x385)]){case W['HEARTBEAT']:case W[_0x5d9145(0x176)]:{const _0x51ee23=_0x9e3131[_0x5d9145(0x182)];return{..._0x9e3131,'data':_0x51ee23,'cmd':_0x9e3131[_0x5d9145(0x385)]};}case W[_0x5d9145(0x3c2)]:{const _0x23b45c=_0x9e3131[_0x5d9145(0x26f)];return{..._0x9e3131,'data':_0x23b45c,'cmd':_0x9e3131[_0x5d9145(0x385)]};}case W[_0x5d9145(0x2db)]:{const _0x5dbc70=_0x9e3131[_0x5d9145(0x18b)];switch(_0x5dbc70[_0x5d9145(0x42b)]){case _0x596510[_0x5d9145(0x2bf)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':(_0x112f0f=_0x5dbc70['permissionRejEvent'])==null?void 0x0:_0x112f0f['cs']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x376)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':(_0x738b14=_0x5dbc70[_0x5d9145(0x3f7)])==null?void 0x0:_0x738b14['cs']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x105)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':(_0x2dee1e=_0x5dbc70[_0x5d9145(0x15e)])==null?void 0x0:_0x2dee1e['cs']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x3b4)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':(_0x75106=_0x5dbc70[_0x5d9145(0x1a2)])==null?void 0x0:_0x75106['cs']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x111)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':(_0x35521a=_0x5dbc70['csShouldRetryEvent'])==null?void 0x0:_0x35521a['cs']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x19c)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x130)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x336)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x2cf)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510['USERS_LEAVE']:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x1f5)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x3a9)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x125)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x48a)]:case _0x596510[_0x5d9145(0x38d)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70['liveShareOperation']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x462)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x125)]},'cmd':_0x9e3131['cmd']};case _0x596510[_0x5d9145(0x2b0)]:return{..._0x9e3131,'data':_0x5dbc70,'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x28e)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0xfa)]},'cmd':_0x9e3131['cmd']};case _0x596510[_0x5d9145(0x2f0)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x16d)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510['SHOULD_CLOSE_CONN']:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x321)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};default:return _0x9e3131;}}default:return _0x9e3131;}}function Wn(_0x225a48){const _0x5203e2=_0x1c91cb;switch(_0x225a48[_0x5203e2(0x385)]){case W['HEARTBEAT']:case W['HELLO']:return JSON[_0x5203e2(0x397)]({'cmd':_0x225a48['cmd'],'routeKey':_0x225a48[_0x5203e2(0x2ab)]});case W[_0x5203e2(0x458)]:{let _0x2621bf;switch(_0x225a48['data'][_0x5203e2(0x42b)]){case _0x596510[_0x5203e2(0x19c)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x19c)],'updateCursorEvent':_0x225a48[_0x5203e2(0x202)][_0x5203e2(0x202)]};break;}case _0x596510['USERS_LEAVE']:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x137)],'leaveEvent':_0x225a48[_0x5203e2(0x202)][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x336)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x336)],'joinEvent':_0x225a48['data'][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x3a9)]:{_0x2621bf={'eventID':_0x596510['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x225a48['data'][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x38d)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x38d)],'liveShareOperation':_0x225a48[_0x5203e2(0x202)][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x462)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x462)],'liveShareTerminate':_0x225a48[_0x5203e2(0x202)][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x4a0)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x4a0)],'liveShareRequestHost':_0x225a48[_0x5203e2(0x202)][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x48a)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x48a)]};break;}default:_0x2621bf={'eventID':_0x225a48['data'][_0x5203e2(0x42b)]};}return JSON[_0x5203e2(0x397)]({'cmd':_0x225a48[_0x5203e2(0x385)],'routeKey':_0x225a48[_0x5203e2(0x2ab)],'collaMsg':_0x2621bf});}case W[_0x5203e2(0x3c2)]:return JSON[_0x5203e2(0x397)]({'cmd':_0x225a48[_0x5203e2(0x385)],'routeKey':_0x225a48[_0x5203e2(0x2ab)],'joinReq':_0x225a48[_0x5203e2(0x202)]});case W[_0x5203e2(0x194)]:return JSON[_0x5203e2(0x397)]({'cmd':_0x225a48[_0x5203e2(0x385)],'routeKey':_0x225a48[_0x5203e2(0x2ab)],'leaveReq':_0x225a48[_0x5203e2(0x202)]});default:throw new Error(_0x5203e2(0x16a));}}var Fn=Object[_0x1c91cb(0x502)],Vn=Object[_0x1c91cb(0x439)],Gn=(_0x16234a,_0x293ef2,_0xd6ef21,_0x491e93)=>{for(var _0x440183=_0x491e93>0x1?void 0x0:_0x491e93?Vn(_0x293ef2,_0xd6ef21):_0x293ef2,_0x474fde=_0x16234a['length']-0x1,_0x41ba12;_0x474fde>=0x0;_0x474fde--)(_0x41ba12=_0x16234a[_0x474fde])&&(_0x440183=(_0x491e93?_0x41ba12(_0x293ef2,_0xd6ef21,_0x440183):_0x41ba12(_0x440183))||_0x440183);return _0x491e93&&_0x440183&&Fn(_0x293ef2,_0xd6ef21,_0x440183),_0x440183;},ze=(_0x39a9cd,_0x1f3fa2)=>(_0x2c3c25,_0x3889d8)=>_0x1f3fa2(_0x2c3c25,_0x3889d8,_0x39a9cd);const Gi=_0x418c93('univer-pro.collaboration-client-socket-service');function Yn(_0x270e27,_0x461489,_0x2341f4){const _0x1209e5=_0x1c91cb;return _0x270e27+'/'+_0x461489+'/unit/'+_0x2341f4+_0x1209e5(0x4a9);}let cs=class extends _0x4b86a3{constructor(_0x40575d,_0x4825c4,_0x569d88,_0x233743,_0x562043){const _0x244ce4=_0x1c91cb;super(),this['_http']=_0x40575d,this[_0x244ce4(0x222)]=_0x4825c4,this[_0x244ce4(0x379)]=_0x569d88,this[_0x244ce4(0x2fc)]=_0x233743,this['_snapshotServerService']=_0x562043;}[_0x1c91cb(0x41c)](_0x5ddfbf){const _0x125aea=_0x1c91cb,_0x285a68=this[_0x125aea(0x222)][_0x125aea(0x41c)](_0x5ddfbf);if(!_0x285a68)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x249ef3=new _0x70760(),_0x42f1ee=new _0x20b5e4();_0x249ef3[_0x125aea(0x277)](_0x285a68[_0x125aea(0x127)][_0x125aea(0x432)](_0x5ebf5b=>_0x42f1ee[_0x125aea(0x1eb)](_0x5ebf5b))),_0x249ef3[_0x125aea(0x277)](_0x20cd7e(()=>_0x42f1ee[_0x125aea(0x404)]()));const _0x2f94b3=new _0x20b5e4();_0x249ef3[_0x125aea(0x277)](_0x285a68[_0x125aea(0x31f)][_0x125aea(0x432)](_0x1365c8=>_0x2f94b3['next'](_0x1365c8))),_0x249ef3[_0x125aea(0x277)](_0x20cd7e(()=>_0x2f94b3['complete']()));const _0x4fbdd2=new _0x20b5e4();_0x249ef3['add'](_0x285a68[_0x125aea(0x405)][_0x125aea(0x432)](_0x578f6=>{const _0x3a5771=_0x125aea,_0x386aca=kn(_0x578f6);_0x4fbdd2[_0x3a5771(0x1eb)](_0x386aca);})),_0x249ef3['add'](_0x20cd7e(()=>_0x4fbdd2[_0x125aea(0x404)]()));let _0x36078f;const _0x5a1f9f=()=>{const _0x59af05=_0x125aea;_0x2f94b3[_0x59af05(0x1eb)](new Event(_0x59af05(0x4c6))),_0x42f1ee['next'](new CloseEvent(_0x59af05(0x4c6))),_0x36078f['close']();};return _0x36078f={'memberID':'','close$':_0x42f1ee[_0x125aea(0x141)](),'error$':_0x2f94b3['asObservable'](),'open$':_0x285a68[_0x125aea(0x1c8)],'message$':_0x4fbdd2['asObservable'](),'send':_0x2a6a33=>{const _0x11f110=_0x125aea;if(_0x2a6a33[_0x11f110(0x385)]===W[_0x11f110(0x458)]){if(_0x2a6a33[_0x11f110(0x202)][_0x11f110(0x42b)]===_0x596510[_0x11f110(0x304)]){this['_submitChangeset'](_0x36078f,_0x2a6a33[_0x11f110(0x202)])['catch'](_0x1d77c9=>{const _0x259485=_0x11f110;this['_logService'][_0x259485(0x4d3)](_0x1d77c9),_0x5a1f9f();});return;}if(_0x2a6a33[_0x11f110(0x202)][_0x11f110(0x42b)]===_0x596510['FETCH_MISSING']){const _0xef49ef=_0x2a6a33[_0x11f110(0x202)];this[_0x11f110(0x14b)](_0xef49ef)['then'](_0x1b8b84=>{const _0x249b23=_0x11f110;_0x4fbdd2[_0x249b23(0x1eb)]({'cmd':W[_0x249b23(0x2db)],'code':Pe['OK'],'routeKey':_0xef49ef['data'][_0x249b23(0x1ab)],'routeType':'','data':{'eventID':_0x596510[_0x249b23(0x143)],'data':{'changesets':_0x1b8b84}}});})['catch'](_0x14f4d8=>{const _0x1fe0df=_0x11f110;this['_logService'][_0x1fe0df(0x4d3)](_0x14f4d8),_0x5a1f9f();});return;}}_0x285a68['send'](Wn(_0x2a6a33));},'close':()=>{const _0x1f7d0a=_0x125aea;_0x285a68[_0x1f7d0a(0x136)](),_0x249ef3['dispose']();}},_0x36078f;}async['_submitChangeset'](_0x1c7b9e,_0x1a39a7){const _0x5163b0=_0x1c91cb;var _0x19727f,_0x3b5b6c;const {unitType:_0x1697c9,unitID:_0x12992c,changeset:_0x3f4c31}=_0x1a39a7[_0x5163b0(0x202)],_0x4169e2={'unitID':_0x12992c,'memberID':_0x1c7b9e['memberID'],'type':_0x1697c9,'changeset':_0x129112(_0x3f4c31)},_0x4f0200=this[_0x5163b0(0x379)][_0x5163b0(0x34d)](Ln),_0x178cb2=this[_0x5163b0(0x379)]['getConfig'](Q),_0x3d899f=Yn((_0x3b5b6c=(_0x19727f=_0x178cb2==null?void 0x0:_0x178cb2['collabSubmitChangesetUrl'])!=null?_0x19727f:_0x4f0200)!=null?_0x3b5b6c:$n,_0x1697c9,_0x12992c);try{await this[_0x5163b0(0x378)][_0x5163b0(0x40b)](_0x3d899f,{'body':_0x4169e2});}catch(_0x5390b2){throw this[_0x5163b0(0x2fc)]['error'](_0x5163b0(0x508),_0x5163b0(0x1e9)),_0x5390b2;}}async[_0x1c91cb(0x14b)](_0xcb33f1){const _0x4b8179=_0x1c91cb,{unitID:_0x422c2b,from:_0x26f53e,to:_0x4ed632,unitType:_0x41c230}=_0xcb33f1[_0x4b8179(0x202)];return(await this['_snapshotServerService'][_0x4b8179(0x135)]({'metadata':void 0x0},{'unitID':_0x422c2b,'type':_0x41c230,'from':_0x26f53e,'to':_0x4ed632}))[_0x4b8179(0x1ad)];}};cs=Gn([ze(0x0,_0x5beccd(_0x170656)),ze(0x1,_0x5beccd(_0x11b680)),ze(0x2,_0x385706),ze(0x3,_0x535daf),ze(0x4,_0x2fb7b6)],cs);const Kn='collaboration_new_changeset';function qn(_0x4fcb68){const _0x5d5567=_0x1c91cb;return JSON[_0x5d5567(0x397)](_0x4fcb68)[_0x5d5567(0x38b)];}class Yi{constructor(){const _0x4020a8=_0x1c91cb;g(this,_0x4020a8(0x4eb),new _0x20b5e4()),g(this,'commentUpdate$',this[_0x4020a8(0x4eb)][_0x4020a8(0x141)]());}[_0x1c91cb(0x450)](_0x4360f5){const _0x1a1474=_0x1c91cb;this[_0x1a1474(0x4eb)]['next'](_0x4360f5);}}var zn=Object[_0x1c91cb(0x502)],Xn=Object[_0x1c91cb(0x439)],Jn=(_0x45a871,_0x90e2d2,_0x2f3db4,_0x3bf442)=>{const _0xa02c9=_0x1c91cb;for(var _0x25c85a=_0x3bf442>0x1?void 0x0:_0x3bf442?Xn(_0x90e2d2,_0x2f3db4):_0x90e2d2,_0x397886=_0x45a871[_0xa02c9(0x38b)]-0x1,_0x3ef5fe;_0x397886>=0x0;_0x397886--)(_0x3ef5fe=_0x45a871[_0x397886])&&(_0x25c85a=(_0x3bf442?_0x3ef5fe(_0x90e2d2,_0x2f3db4,_0x25c85a):_0x3ef5fe(_0x25c85a))||_0x25c85a);return _0x3bf442&&_0x25c85a&&zn(_0x90e2d2,_0x2f3db4,_0x25c85a),_0x25c85a;},Ks=(_0x17beab,_0x1d2f40)=>(_0x3cb855,_0x58d4c0)=>_0x1d2f40(_0x3cb855,_0x58d4c0,_0x17beab);let Me=class extends _0x4b86a3{constructor(_0x14677e,_0x48b95b){const _0x38ac4e=_0x1c91cb;super(),g(this,_0x38ac4e(0x294),new Map()),(this[_0x38ac4e(0x494)]=_0x14677e,this[_0x38ac4e(0x27b)]=_0x48b95b,this[_0x38ac4e(0x29c)](_0x20cd7e(_0x10a92b(this[_0x38ac4e(0x494)][_0x38ac4e(0x392)](_0x2579e6[_0x38ac4e(0x169)])['pipe'](_0x349821(_0x1a8803=>_0x1a8803[_0x38ac4e(0x2f3)]())),this[_0x38ac4e(0x494)][_0x38ac4e(0x392)](_0x2579e6['UNIVER_DOC'])['pipe'](_0x349821(_0x5980bc=>_0x5980bc[_0x38ac4e(0x2f3)]())),this[_0x38ac4e(0x494)]['getTypeOfUnitDisposed$'](_0x2579e6['UNIVER_SLIDE'])[_0x38ac4e(0x1c3)](_0x349821(_0x727ce1=>_0x727ce1[_0x38ac4e(0x2f3)]())))[_0x38ac4e(0x432)](_0x272418=>this[_0x38ac4e(0x1df)](_0x272418)))));}[_0x1c91cb(0x4e6)](_0x1d9a5d){this['_userManagerService']['setCurrentUser'](_0x1d9a5d);}[_0x1c91cb(0x232)](){const _0x530f6f=_0x1c91cb;return this[_0x530f6f(0x27b)][_0x530f6f(0x232)]();}[_0x1c91cb(0x3a4)](_0x2cb851,_0x43b791){const _0xcc26a3=_0x1c91cb;let _0x19024b=this[_0xcc26a3(0x294)]['get'](_0x2cb851);_0x19024b||(_0x19024b=new Zn(),this['_roomMembers'][_0xcc26a3(0x1e5)](_0x2cb851,_0x19024b)),_0x19024b[_0xcc26a3(0x3a4)](_0x43b791);}['removeMember'](_0x5efa55,_0x50503d){const _0x36bfd0=_0x1c91cb,_0x39cc37=this[_0x36bfd0(0x294)][_0x36bfd0(0x470)](_0x5efa55);_0x39cc37&&_0x39cc37['removeMember'](_0x50503d);}[_0x1c91cb(0x16f)](_0x5a31a4){const _0x59c344=_0x1c91cb;return this[_0x59c344(0x294)][_0x59c344(0x470)](_0x5a31a4);}['getMember'](_0x321f86,_0x16b7e2){const _0x376b11=_0x1c91cb,_0x239a68=this[_0x376b11(0x294)][_0x376b11(0x470)](_0x321f86);if(_0x239a68)return _0x239a68[_0x376b11(0x270)](_0x16b7e2);}[_0x1c91cb(0x1df)](_0x2765fb){const _0x1dfd74=_0x1c91cb,_0x11cca4=this[_0x1dfd74(0x294)]['get'](_0x2765fb);_0x11cca4&&(_0x11cca4['dispose'](),this['_roomMembers']['delete'](_0x2765fb));}[_0x1c91cb(0x345)](){const _0x24a5f0=_0x1c91cb;this[_0x24a5f0(0x294)][_0x24a5f0(0x180)](_0x576539=>_0x576539[_0x24a5f0(0x345)]()),this[_0x24a5f0(0x294)][_0x24a5f0(0x45b)]();}};function _0x1547(){const _0x3d0b90=['FromArray','withCredentials','putCollaborators','_onLocalMutation','_onJoinRoomEvent','generateRandomId','/collaborator','CHANGESET_ACK','_nDataBytes','_http','_configService','\x20-\x20','HEARTBEAT_INTERVAL','getStateCache','_onRemoteRejected','concat','_drawRectRange','/universer-api/snapshot/','onRemoteRej','[SyncedState]:\x20received\x20rejection.','onTransformState','_registerRenderDependencies','cmd','some','_iKey','Hasher','VIEW_MAIN','skeleton','length','onTransformIME','LIVESHARE_OPERATION','_localCacheService','805HRvwzB','collabStatus.conflict','3778305ovlBWY','getTypeOfUnitDisposed$','ref','_disabled','PERSON','_docTransformStateCacheService','stringify','byteOffset','_colorIndex','_socketService','BlockCipher','/universer-api/stream/file/upload','objectActions','UnitSnapshot','DeleteRangeMoveUpCommandId','Latin1','fetchThroughInterceptors','_unlockTransition','_sendHeartbeat','updateMember','&source=','_state','crypto','getMergeData','LIVESHARE_NEW_HOST','_draw','933201mLzylL','sessionTicket','_refreshCollabCursors','row','_acknowledgedAwaitingChangeset','cursorInfo','updatePermissionPoint','current','APPLY_REVISION_CONFILICT','CHANGESET_REJ','status$','SNAPSHOT_INVALID_SNAPSHOT','_updateSubUnitFromURLParams','indexOf','_docSkeleton','[CollaborationEntity]','[CollaborationSessionService]','_waitForHeartbeatResponse','collab-text-anchor-','collab-text-range-','onMissingChangesets','_docStateChangeManagerService','COLLAB_SUBMIT_CHANGESET_URL','JOIN','_getScale','_onFetchMissResult','univer-offline','format','_doProcessBlock','_snapshotService','permission.title','_transformIMECache','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','unitId','assignAColorForMemberID','_toggleOffline','getUndoRedoMutationParamsCache','getSkeleton','_docClipboardService','_getAPIPrefix','_parse','YUUMI_SUBSCRIPTION_NOT_FOUND','TOO_MANY_REQUESTS','removeMember','_startCollaboration','onStarting','_singleActiveUnitService','map','getCollabCursors$','userID','c2Prime','url','_iv','_showConflictNotification','createCollaborator','_backgroundColor','_localStorageService','awaiting','?url=','ERROR_IMAGE_TYPE','getCellPositionByOffset','copyFileMeta','colorChannel1','TEXT','0\x200\x2016\x2016','rgba(255,\x20255,\x20255,\x200.01)','_clearLocalCache','_drawAnchor','_getLoginPath','session','storage','resolve','session.room-full','range','_clearScheduledTask','has','csAckEvent','/universer-api/snapshot','image/jpg','conflict.title','updateOfflineData','_transformStack','UNAUTHENTICATED','exports','_getSaveTimeout','_createSocket','HMAC','_throwTelemetryCollaborationNewChangeset','[CollaborationState]:\x20apply\x20error!','complete','message$','state','executeCommand','roomMembers$','_type','_removeClearOtherTimer','post','[OfflineState]:\x20received\x20acknowledgement.','MoveRangeCommandId','black','jsx','_tryReconnect','SEND_CHANGESET_TIMEOUT','getRangePointData','isEditing','APPLY_DUPLICATED','_hover','_append','onTransformRemoteChangesetByIMECache','processBlock','addClipboardHook','_onRefRangeChange','setParam','createSocket','purple300','removeParam','getValue','enableOfflineEditing','round','react.fragment','unshift','_shapes','beginPath','_initMergeInterceptor','_transformSelections','telemetry\x20info\x20is\x20not\x20initialized','encode','LOGIN_URL_KEY','eventID','RECT','session.room-not-exists','_createInitialState','ciphertext','toggleOffline','_queuedRemoteChangesets','subscribe','JOIN_ROOM_NOT_EXISTS','_candidateSocket','[SyncedState]:\x20received\x20acknowledgement.','_onRemoteACK','localeService','_collaborationPaused','getOwnPropertyDescriptor','getRandomValues','_clearUndo','Pkcs7','_context','_timeoutTimer','list','/-/object/-/batch_allowed','use','redoState','fetching\x20missing\x20changesets\x20from\x20','_event$','RemoveRowCommandId','finalize','transformUndoRedo','getCurrentRevOfUnit','_clearOtherTimers','/universer-api/authz','_getSendChangesetTimeout','unitId\x20is\x20not\x20found','[CollaborationUndoRedoService]','compose','enableAuthServer','onCommentUpdate','find','SYNCED','UNDEFINED','getUnitStatus$','code','unit','src','INGEST','salt','headers','clear','_checkMissing','_HTTPService','_retryCount','revision','measureText','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','LIVESHARE_TERMINATE','_key','target','_clearTimeoutTimer','_send','_clearHeartbeatTimer','incrementRevOfUnit','algo','BufferedBlockAlgorithm','_updateCollabCursors','sessionStatus','WordArray','_onConnectionOpen','fromCharCode','get','roles','_color','encodeURIComponent','_loadSheet','getViewport','onPointerEnter$','_keyPriorReset','_httpService','_map','_docSkeletonManagerService','_updateLocalCursor','resend','_doFinalize','Base','_sendingTimer','_socketReady','transformStack\x20failed!','getVpScrollXYInfoByPosToVp','RETRY_CONNECTING_MAX_COUNT','_socket','onTransformSelections','objectID','onlineStatusTitle','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','...','LIVESHARE_FETCH_OPERATIONS','setShowComponents','hasOwnProperty','_beforeCloseService','_cursors','displayName','YUUMI_UNABLE_LOAD_URL','loginUrlKey','_unitOnClients','currentColor','_univerInstanceService','_docSyncEditingCollabCursorService','off-line-single_clip0_910_343','0\x200\x2017\x2016','fillRule','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_initCommandExecutedListener','number','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity','image/jpeg','assign','LIVESHARE_REQUEST_HOST','_registerDependencies','PasswordBasedCipher','ONLINE','pushState','[FetchMissState]','onRemoteAck','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','every','/new_changes','whenReady','action','Unknown\x20user','getInterceptPoints','editingUnit','FETCH_MISSING','_applyRemoteChangeset','sheets','getUnit','getParam','_hasher','_cipher','NO_OTHER_CLIENTS_EDITING','ranges','fillText','_compressMutationService','_decreaseWaiting','setUndoRedoMutationParamsCache','onMissedChangesetFetched','duration','originalMeta','_messageService','_doReset','push','/object','type','[DataLoaderController]','authzUrl','connection\x20error','_initResize','offline','enableLocalCache','LICENSE_IMPORT_SIZE_EXCEEDED','UNKNOWN_CODE','HmacMD5','_imageSourceCache','_cursorShapes','reverse','randomUUID','selection','closeSession','error','arc','save','_eventUnsubscribe','updateCollaborator','_isPermissionRej','wsSessionTicketUrl','_retryConnectingTimer','clamp','_transformRemoteChangesetByIMECache','[CollaborationSessionService]:\x20socket\x20error','collabWebSocketUrl','icon','_prevBlock','_docTransformIMECacheService','findNodePositionByCharIndex','result','AES','_updateLocalCache','setCurrentUser','/universer-api/file/{fileID}/sign-url','PERMISSION_DENIED','_getSheetObject','_selfUnitIDs','_commentUpdate$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_changesetReqId','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','values','retryConnectingInterval','_onRecvEvent','getImage','parse','transformMutation','UNIVER_UNKNOWN','/object/','buffer','unknown','_executeRemoteChangeset','replaceState','_scheduleCollaborationTimeoutTimer','registerRefRange','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','setAlpha','_remoteChangesetQueue','_substituteUndoStack','defineProperty','_getCurrentRevision','collab-rect-range-','transformIMECache','UNIVER_COLLABORATION_CLIENT_PLUGIN','gold400','[CollaborationSession]','_nRounds','randomBytes','_session','/universer-api/oidc/authpage','_initRequestHeader','_heartbeatTimer','_onConnectionFailed','verdancy600','_minBufferSize','snapshot','refreshPermission','NoPadding','_telemetryInfo','_getDownloadEndpointURL','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_themeService','getTypeOfUnitAdded$','xlink:href','_range','_drawTextRange','1256827XCcaZd','APPLY_REJECT','\x0aCurrent:\x20','loadDoc','status','_rescheduleHeartbeat','NOT_FOUND','UNKNOWN_CMD','sheetId','from','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_substituteRedoStack','286938ihDCzF','_onUserLeave','commentUpdateEvent','_updateURLWithCurrentState','addObject','toString','onSyncEditingCollabCursor','call','BASE64','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CONFLICT','lib','getSheetBlock','NEW_CHANGESETS','_sessionStatus$','_collabSessionService','extend','_collaborationController','size','InsertColCommandId','rng','createEncryptor','setInterval','engine','/rev/','CHANGESET_SHOULD_RETRY','collabStatus.syncing','_lastPointer','fetchMiss','floor','title','change$','LICENSE_MAX_UNITS_EXCEEDED','collaboration.closeRoom','_assignedColors','_change$','labelPosition','image/gif','_transformPreviousActiveRange','InsertRowCommandId','_imageIoService','sigBytes','_process','?size=','_replayCachedMutations','liveShareNewHost','_handleJoinEvent','close$','focused$','LICENSE_EXPORT_SIZE_EXCEEDED','onload','batchAllowed','_changesetSessionId','OFFLINE','DEFAULT_FILE_NAME','/block/','updateCursorEvent','conflict.content','endColumn','JOIN_ROOM_FULL','m1Prime','fetchMissingChangesets','close','USERS_LEAVE','session.join-failed','_handleHeartbeatEvent','SHA1','snapshotServerUrl','url(#off-line-single_clip0_910_343)','textRanges','text','People','react.element','asObservable','OffLineSingle','PSEUDO_FETCH_MISSING_RESULT','_tryEnsureSocket','includes','JOINING','UNIVER_PROJECT','onTransformRemoteChangesetByStateCache','getActiveRange','saveImage','_fetchMissChangesets','PENDING','attrs','_undoStacks','_colorAssignService','_mode','function','selections','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','reject','LOCAL_CACHE_INTERVAL','JOIN_ROOM_PERMISSION_DENIED','univer-online-status-title','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','searchParams','triggerDblclick','onStateChange','saveChangeset','newCsEvent','_removeCollabCursors','delete','compute','_updateStatus','unpad','SUCCUSS','fill','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','roomMembers','HttpExport','UNIVER_SHEET','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','INVALID_ARGUMENT','synced','updatePermissionObjEvent','startsWith','getRoom','cfg','_sender','subject','min','onRemoteChangeset','jsxs','HELLO','awaitingChangeset','_handleLeaveEvent','MD5','__Key__','registerOnClose','encryptBlock','flatMap','COLLAB_WEB_SOCKET_URL','getCollabEntity$','forEach','collaborators','infoRsp','HEARTBEAT','socket$','getRelativeToViewportCoord','disableLocalCache','getWorkbookSelections','_data','reset','filter','collaMsg','4biNDPX','symbol','image/bmp','UNIVER_DOC','enableSingleActiveInstanceLock','CHANGESET_REVISION_CONFILICT','newValue','currentTheme$','LEAVE','split','[PendingState]:\x20received\x20rejection.','lineTo','x-univer-host','Utf8','YUUMI_RATE_OVER_LIMIT','_getCtorByUniverType','UPDATE_CURSOR','SNAPSHOT_URL_KEY','method','_roomMembers$','_urlService','collabStatus.notCollab','csRejEvent','UniverIcon','dispose$','/role','_scheduleSaving','state$','startColumn','_getUndoStack','_id','unitID','_handler','changesets','_collabCursorController','setTimeout','resourceIDs','[PendingState]:\x20received\x20acknowledgement.','origin','APPLY_NON_SEQUENTIAL_REVISION','responseType','_resendWithTimeout','children','_pendingMutations','collaboration-client.config','Malformed\x20UTF-8\x20data','override','_permissionService','initWorkbookPermissionChange','getTime','onPointerLeave$','pluginName','ENSURE_SNAPSHOT_EXECUTION','_document','_createSocketURL','pipe','session.room-cnt-exceeds','stopTime','then','restore','open$','uploadFileServerUrl','_invKeySchedule','sin','_initUnitPermissionChange','transformRemoteChangeset','rev','transformSelections','decrypt','_socket$','addImageSourceCache','startTime','defs','Could\x20not\x20dynamically\x20require\x20\x22','getUnitOnRev','_setupSubUnitSync','isActive','not_collab','fillStyle','unit-cache-','formatter','hasher','syncEditingCollabCursor','_removeRoom','saveOfflineData','reconnect','loadSheet','_lockTransition','getMemberID','set','_exhaustRemoteChangesetQueue','getLatestCsReqIdBySid','reqId','submit\x20changeset\x20error!','_init','next','downloadEndpointUrl','kdf','/universer-api/user/session-ticket','mixIn','_collaborationSessionService','Cipher','c1Prime','editing\x20status\x20changed\x20to','patch','leaveEvent','UNIVER_SLIDE','onReady','charAt','body','_anchor','session.connection-failed','execute','_startDocCollabCursor','for','create','_onRemoteChangeset','_telemetryService','data','collaboration-session-retry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getRenderById','online','_status$','_saveTaskMap','1em','_initDependencies','m2Prime','EvpKDF','_onCursorDelete','_onConflict','workbook','fetch_missing','SerializableCipher','NOT_COLLAB','toggleOnline','COMPRESS_MUTATION_APPLY','getUnitType','\x20to\x20','/fetchmissing?from=','_online','_scene','_collaborationTimeoutTimer','_getSessionTicket','collabStatus.offline','path','getItem','idSuffix','INTERNAL_ERROR','_onCursorUpdate','_ws','_toggleOnline','_xformMode','_getMergeRange','_loadDoc','clearInterval','all','_entityInit$','LICENSE_DISTRO_REJECTED','_awaitingChangeset','history','848560tOqvbn','_transitionLocked','_startTelemetryCollaborationNewChangeset','_onMessage','_shouldReportTelemetry','getCurrentUser','collaboratorID','undoState','doc.mutation.rich-text-editing','APPLY_PERMISSION_DENIED','__creator','debug','onPointerMove$','_notificationService','encrypt','json','Warning','onMouseMove','onCommandExecuted','getCurrent','1118724daDoSk','_createHmacHelper','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleClearOtherTimer','prototype','AWAITING','_transformService','init','HttpImport','saveSnapshot','Encryptor','defIds','words','onlyLocal','subscribeEvent','subunit','sid','AUTHZ_URL_KEY','isPermissionRej','univer-online-status-icon','random','_joinRoom','color','unload','FAIL','url(#$1','_getAPIPrefixPath','_listenToOfflineEvent','Base64','ivSize','registerComponent','repeat','_onRemoteRetry','registerHTTPInterceptor','baseRev','endRow','CBC','socket\x20close','onTransformChange$','top','_transformUndoredo','byteLength','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','deepClone','_cachedData','joinRsp','getMember','appendMutation','OpenSSL','_ensureSubject','getCurrentSelections','red300','svg','add','event$','blue400','_hash','_userManagerService','contains','_refRangeService','pad','getActiveSheet','_initStatusComponent','_commandService','COMPRESS_MUTATION_SEND','IDLE','sheetID','transformChangesets','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','registerRenderModule','ACTIVE_UNIT_EVENT_CHANNEL','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','now','_unitStatus','_undoRedoService','getImageSourceCache','COMMENT_UPDATE','getUniverSheetInstance','_sessions','keySize','readAsDataURL','collabStatus.synced','_roomMembers','sessionStatus$','session.will-retry','max','currentSkeleton$','_syncEditingCollabCursor','addObjects','_cursorInfo$','disposeWithMe','drawWith','propertyIsEnumerable','_injector','BlockCipherMode','_getRedoStack','_setupBeforeClosingHandler','interceptor','_sendHeartbeatTimer','toRgbString','Error','_config','_handleEvent','UnitEmbedded','_commentService','routeKey','update','_hideTimer','_transformUndoRedoStack','_createHandler','MSG_FOR_ERROR','_hovered','_resendTimeout','getAncestorScale','failed\x20to\x20apply\x20missed\x20changesets!','source','requireSession','_transformStateCache','exhaustSavingTask','M0\x200H16V16H0z','permission.content','/-/object/list','RemoveColCommandId','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','auth.needGotoLoginAlert','PERMISSION_REJ','_reverseMap','div','location','_name','_unitID','/allowed','iterations','column','splice','hide','unsubscribe','slice','univer-online','$super','avatar','joinEvent','show','_updateState','OTHER_CLIENTS_EDITING','_textBubble','#FFF','_scheduleTimestamp','tag','ALREADY_EXISTS','append','file','sendChangesetTimeout','RECV','_clearCollaborationTimeoutTimer','pending','_disableEditing','_incrementRevisionNumber','key','_DEC_XFORM_MODE','getSheetBySheetId','requestParams','mutations','FETCH_MISS','fromCollab','cursorInfo$','apply','memberID','on-line-single_clip0_910_349','getOffsetConfig','_collabCursorState$','backgroundColor','_uiPartsService','_getSignURL','UPDATE_PERMISSION_OBJ','MUTATION','_entities','getUnitId','send','trim','on-line-single','getAllMembers','join','_localeService','transformMutationsWithChangeset','collab-client.tooltip.reconnect','_logService','_scheduleHeartbeat','moveTo','conflict','createDecryptor','POST','_getAnchorBounding','socket\x20open.','SUBMIT_CHANGESET','HmacSHA1','transformStateCache','SNAPSHOT_HAS_BEEN_REMOVED','listCollaborators','subUnitId','_instanceService','setWaitCount','_initStatusListener','height','getFocusedUnit','_cursor','reduce','_createHelper','InsertRangeMoveDownCommandId','_handleHover','onSendChangeset','_labelPosition','transform','collaboration-client.offline-data-not-saved','_renderManagerService','SHOULD_CLOSE_CONN','clone','width','ceil','_resendTimer','_memberService','error$','_transformHistoryAndStateStack','shouldCloseConn','image/png','GLOBAL_ROOMS_CNT_EXCEEDS','_onOffline','awaiting_with_pending','_socketMessageSubscription','actions','_members','setShapeProps','_startSheetCollabCursor','padding','with','_transformRemoteChangesetByStateCache','clearTimeout','replaceDocRanges','objectType','_sheetSkeletonManagerService','name','addEventListener','put','params','USERS_ENTER','getOwnPropertySymbols','isArray','_revisionService','href','mode','\x0aAfter:\x20','_doCryptBlock','objects','&assign=','_schedule','getSnapshotAPIPath','_getUploadFileURL','[OfflineState]:\x20received\x20rejection.','_clearRedo','dispose','_initCloseConn','_saveCache','_syncEditingCollabCursorService','#fff','getCurrentUnitForType','univer-online-status','collaboration.single-unit.warning','getConfig','bottom','default','className','AWAITING_WITH_PENDING','evenodd','loadOfflineData','35634wDKFLO','equals','collabCursorState$','url(#on-line-single_clip0_910_349)','_anchorDot','getSheetId','SNAPSHOT_SERVER_URL_KEY','getUnhiddenWorksheets','translate(.97)','CipherParams','_ENC_XFORM_MODE','_initEventListeners','_onCombEvent','/unit/','onRemoteRetry','_createInitialStateImpl','_waitCount','Univer','string','blockSize','Decryptor','docStateChange$','replace','createInstance','getDeserializedSheetBlock','enc','none'];_0x1547=function(){return _0x3d0b90;};return _0x1547();}Me=Jn([Ks(0x0,_0x5283d0),Ks(0x1,_0x5beccd(_0x438cf8))],Me);class Zn extends _0x4b86a3{constructor(){const _0x3ceb7f=_0x1c91cb;super(...arguments),g(this,_0x3ceb7f(0x328),new Map());}[_0x1c91cb(0x345)](){const _0x58d76b=_0x1c91cb;this[_0x58d76b(0x328)][_0x58d76b(0x45b)]();}['updateMember'](_0x1760e1){const _0x14c345=_0x1c91cb;this['_members'][_0x14c345(0x1e5)](_0x1760e1[_0x14c345(0x2e9)],_0x1760e1);}[_0x1c91cb(0x3d6)](_0x52e58b){const _0x4eaa39=_0x1c91cb;this[_0x4eaa39(0x328)]['delete'](_0x52e58b);}[_0x1c91cb(0x270)](_0x10fecb){const _0x220ca2=_0x1c91cb;return this[_0x220ca2(0x328)][_0x220ca2(0x470)](_0x10fecb);}[_0x1c91cb(0x2f7)](){const _0x36fddb=_0x1c91cb;return Array[_0x36fddb(0xf5)](this[_0x36fddb(0x328)][_0x36fddb(0x4ef)]());}}var Qn=Object[_0x1c91cb(0x502)],eo=Object[_0x1c91cb(0x439)],to=(_0x55f8d3,_0x1bcb15,_0x6bc53f,_0x50c973)=>{const _0x18a44c=_0x1c91cb;for(var _0x54ab26=_0x50c973>0x1?void 0x0:_0x50c973?eo(_0x1bcb15,_0x6bc53f):_0x1bcb15,_0x325fa7=_0x55f8d3[_0x18a44c(0x38b)]-0x1,_0x519e5b;_0x325fa7>=0x0;_0x325fa7--)(_0x519e5b=_0x55f8d3[_0x325fa7])&&(_0x54ab26=(_0x50c973?_0x519e5b(_0x1bcb15,_0x6bc53f,_0x54ab26):_0x519e5b(_0x54ab26))||_0x54ab26);return _0x50c973&&_0x54ab26&&Qn(_0x1bcb15,_0x6bc53f,_0x54ab26),_0x54ab26;},Ee=(_0x110b38,_0x2819dd)=>(_0xb760ed,_0x52753e)=>_0x2819dd(_0xb760ed,_0x52753e,_0x110b38),fe=(_0xadabe3=>(_0xadabe3[_0xadabe3[_0x1c91cb(0x283)]=0x0]=_0x1c91cb(0x283),_0xadabe3[_0xadabe3['JOINING']=0x1]=_0x1c91cb(0x146),_0xadabe3[_0xadabe3[_0x1c91cb(0x12d)]=0x2]='OFFLINE',_0xadabe3[_0xadabe3[_0x1c91cb(0x4a3)]=0x3]=_0x1c91cb(0x4a3),_0xadabe3))(fe||{});const qs={[Pe['FAIL']]:_0x1c91cb(0x138),[Pe[_0x1c91cb(0x133)]]:_0x1c91cb(0x3f3),[Pe[_0x1c91cb(0x433)]]:_0x1c91cb(0x42d),[Pe[_0x1c91cb(0x156)]]:'session.room-permission-denied',[Pe[_0x1c91cb(0x323)]]:_0x1c91cb(0x1c4)};let hs=class extends _0x30a9be{constructor(_0x5c0ba0,_0x342a57,_0x5b2e6d,_0x1081fe,_0x5d21eb,_0x3da970,_0x354b37,_0x570eef,_0x3b1d08,_0x5a6750){const _0x40c8b2=_0x1c91cb;super(),g(this,_0x40c8b2(0x106),new _0x3eae3e(0x0)),g(this,_0x40c8b2(0x295),this['_sessionStatus$'][_0x40c8b2(0x141)]()),g(this,'_event$',new _0x20b5e4()),g(this,_0x40c8b2(0x278),this['_event$'][_0x40c8b2(0x141)]()),g(this,_0x40c8b2(0x484)),g(this,_0x40c8b2(0x326)),g(this,_0x40c8b2(0x21a)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x40c8b2(0xe4),null),(this[_0x40c8b2(0x2c4)]=_0x5c0ba0,this[_0x40c8b2(0x2fc)]=_0x5b2e6d,this[_0x40c8b2(0x48d)]=_0x1081fe,this['_messageService']=_0x5d21eb,this[_0x40c8b2(0x379)]=_0x3da970,this[_0x40c8b2(0x2f9)]=_0x354b37,this['_memberService']=_0x570eef,this[_0x40c8b2(0x2aa)]=_0x3b1d08,this['_telemetryService']=_0x5a6750,this[_0x40c8b2(0x231)]=!!this[_0x40c8b2(0x201)],_0x342a57[_0x40c8b2(0x1c3)](_0x13e2dd(this['dispose$']))[_0x40c8b2(0x432)](_0x2703a4=>{const _0x2c2fe7=_0x40c8b2;var _0x28146c;typeof _0x2703a4>'u'||(this[_0x2c2fe7(0x484)]=_0x2703a4,_0x2703a4?(this[_0x2c2fe7(0x256)](_0x2703a4),this[_0x2c2fe7(0x326)]=_0x2703a4[_0x2c2fe7(0x405)][_0x2c2fe7(0x432)](_0x178082=>{const _0x638e3c=_0x2c2fe7;_0x178082['routeKey']===this[_0x638e3c(0x2c4)]&&this[_0x638e3c(0x360)](_0x178082);})):(this[_0x2c2fe7(0x402)](),this[_0x2c2fe7(0x106)][_0x2c2fe7(0x1eb)](0x2),(_0x28146c=this['_socketMessageSubscription'])==null||_0x28146c[_0x2c2fe7(0x2ca)](),this[_0x2c2fe7(0x326)]=null));}),this['disposeWithMe'](this['_beforeCloseService'][_0x40c8b2(0x17b)](()=>{const _0x4ad671=_0x40c8b2;var _0x3b82e7;(_0x3b82e7=this[_0x4ad671(0x484)])==null||_0x3b82e7[_0x4ad671(0x2f4)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x4ad671(0x2c4)]}});})));}get[_0x1c91cb(0x46c)](){const _0x349556=_0x1c91cb;return this[_0x349556(0x106)]['getValue']();}['getMemberID'](){const _0x5a5327=_0x1c91cb;var _0x216463,_0x4cd456;return(_0x4cd456=(_0x216463=this[_0x5a5327(0x484)])==null?void 0x0:_0x216463['memberID'])!=null?_0x4cd456:null;}[_0x1c91cb(0x345)](){const _0x16c239=_0x1c91cb;super[_0x16c239(0x345)](),this[_0x16c239(0x1a4)][_0x16c239(0x1eb)](),this[_0x16c239(0x1a4)]['complete']();}[_0x1c91cb(0x136)](){const _0x7d86fc=_0x1c91cb;var _0xd9db0d,_0xf7885c;this[_0x7d86fc(0x402)](),(_0xd9db0d=this[_0x7d86fc(0x484)])==null||_0xd9db0d[_0x7d86fc(0x2f4)]({'cmd':W[_0x7d86fc(0x194)],'data':{'roomID':this[_0x7d86fc(0x2c4)]}}),(_0xf7885c=this['_socket'])==null||_0xf7885c[_0x7d86fc(0x136)](),this[_0x7d86fc(0x444)][_0x7d86fc(0x404)](),this['_sessionStatus$'][_0x7d86fc(0x404)](),this[_0x7d86fc(0x345)]();}[_0x1c91cb(0x360)](_0x427bc5){const _0x11e0e8=_0x1c91cb;_0x427bc5['cmd']===W['JOIN']?this['_onJoinRoomEvent'](_0x427bc5):_0x427bc5[_0x11e0e8(0x385)]===W[_0x11e0e8(0x2db)]&&this[_0x11e0e8(0x4f1)](_0x427bc5);}[_0x1c91cb(0x256)](_0x164c68){const _0x234f5e=_0x1c91cb;this['_sessionStatus$'][_0x234f5e(0x1eb)](0x1),_0x164c68[_0x234f5e(0x2f4)]({'cmd':W[_0x234f5e(0x3c2)],'routeKey':this[_0x234f5e(0x2c4)],'routeType':'','data':{'rooms':[{'roomID':this[_0x234f5e(0x2c4)]}]}});}[_0x1c91cb(0x373)](_0x4c711e){const _0x5b5e3a=_0x1c91cb;var _0x24fe93;if(_0x4c711e[_0x5b5e3a(0x455)]in qs){this[_0x5b5e3a(0x4bf)][_0x5b5e3a(0x2d0)]({'type':_0x25a468[_0x5b5e3a(0x23d)],'content':this[_0x5b5e3a(0x2f9)]['t'](qs[_0x4c711e[_0x5b5e3a(0x455)]])}),this[_0x5b5e3a(0x106)][_0x5b5e3a(0x1eb)](0x2);return;}this[_0x5b5e3a(0x106)][_0x5b5e3a(0x1eb)](0x3);const _0x38100f=(_0x24fe93=_0x4c711e[_0x5b5e3a(0x202)]['roomInfos'][this[_0x5b5e3a(0x2c4)]])==null?void 0x0:_0x24fe93['members'];_0x38100f&&_0x38100f[_0x5b5e3a(0x180)](_0x2d81f6=>this['_memberService']['updateMember'](this[_0x5b5e3a(0x2c4)],_0x2d81f6));}[_0x1c91cb(0x4f1)](_0x38fbea){const _0x3171f1=_0x1c91cb;try{const _0x46957c=_0x38fbea[_0x3171f1(0x202)];switch(_0x46957c[_0x3171f1(0x42b)]){case _0x596510[_0x3171f1(0x336)]:this['_onUserJoin'](_0x46957c),this[_0x3171f1(0x444)][_0x3171f1(0x1eb)](_0x46957c);break;case _0x596510[_0x3171f1(0x137)]:this[_0x3171f1(0xf9)](_0x46957c),this[_0x3171f1(0x444)][_0x3171f1(0x1eb)](_0x46957c);break;case _0x596510[_0x3171f1(0x376)]:case _0x596510[_0x3171f1(0x111)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3171f1(0x2dc)](),this['_event$'][_0x3171f1(0x1eb)](_0x46957c);break;case _0x596510[_0x3171f1(0x2b0)]:this[_0x3171f1(0x2fc)][_0x3171f1(0x4d3)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3171f1(0x397)](_0x46957c)),this[_0x3171f1(0x444)][_0x3171f1(0x1eb)](_0x46957c);break;case _0x596510[_0x3171f1(0x28e)]:this['_commentService'][_0x3171f1(0x450)](_0x46957c[_0x3171f1(0x202)]),this[_0x3171f1(0x444)][_0x3171f1(0x1eb)](_0x46957c);break;default:this[_0x3171f1(0x444)][_0x3171f1(0x1eb)](_0x46957c);}}catch(_0x4d1668){this[_0x3171f1(0x2fc)][_0x3171f1(0x4d3)](_0x4d1668,_0x38fbea);}}['_onUserJoin'](_0x2185c1){const _0x15afc2=_0x1c91cb;this['_memberService'][_0x15afc2(0x3a4)](this['_unitID'],_0x2185c1['data']);}[_0x1c91cb(0xf9)](_0xa2ca84){const _0x57a5db=_0x1c91cb;this['_memberService'][_0x57a5db(0x3d6)](this[_0x57a5db(0x2c4)],_0xa2ca84[_0x57a5db(0x202)][_0x57a5db(0x2e9)]);}async[_0x1c91cb(0x2f4)](_0x422593,_0x48f09b){const _0xb136ee=_0x1c91cb;if(this[_0xb136ee(0x46c)]!==0x3||!this[_0xb136ee(0x484)])throw new Error(_0xb136ee(0x101));try{_0x422593['eventID']===_0x596510['SUBMIT_CHANGESET']&&(this[_0xb136ee(0x4fb)](),this['_startTelemetryCollaborationNewChangeset'](_0x422593)),this['_socket'][_0xb136ee(0x2f4)]({'cmd':W['INGEST'],'routeKey':_0x48f09b,'routeType':'','data':_0x422593});}catch(_0xf03303){this[_0xb136ee(0x2fc)][_0xb136ee(0x4d3)](_0xf03303);}}[_0x1c91cb(0x4fb)](){const _0x2b845c=_0x1c91cb;var _0x56432a;this['_collaborationTimeoutTimer']=window[_0x2b845c(0x1af)](()=>{const _0x2bd451=_0x2b845c;this[_0x2bd451(0x21a)]=null,this['_messageService'][_0x2bd451(0x2d0)]({'type':_0x25a468['Error'],'content':this[_0x2bd451(0x2f9)]['t']('session.collaboration-timeout')});},(_0x56432a=this['_configService'][_0x2b845c(0x34d)](ki))!=null?_0x56432a:Wi);}[_0x1c91cb(0x2dc)](){const _0x55b6a9=_0x1c91cb;this[_0x55b6a9(0x21a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x1c91cb(0x22f)](_0x4e4193){const _0x24e029=_0x1c91cb;if(!this[_0x24e029(0x231)])return;const {data:_0x3caec1}=_0x4e4193,{unitID:_0x512403,changeset:_0x382f3b}=_0x3caec1,{mutations:_0x16ea13,type:_0x10e6f5}=_0x382f3b;this[_0x24e029(0xe4)]={'unitId':_0x512403,'type':_0x10e6f5,'startTime':performance[_0x24e029(0x28a)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x16ea13)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x3ec8e2=_0x1c91cb;if(this['_shouldReportTelemetry']){if(!this[_0x3ec8e2(0xe4)]){this['_logService'][_0x3ec8e2(0x4d3)](_0x3ec8e2(0x508),_0x3ec8e2(0x428));return;}this[_0x3ec8e2(0xe4)][_0x3ec8e2(0x1c5)]=performance[_0x3ec8e2(0x28a)](),this[_0x3ec8e2(0xe4)][_0x3ec8e2(0x4bd)]=this[_0x3ec8e2(0xe4)][_0x3ec8e2(0x1c5)]-this[_0x3ec8e2(0xe4)][_0x3ec8e2(0x1d3)],this[_0x3ec8e2(0x201)]['capture'](Kn,this[_0x3ec8e2(0xe4)]),this[_0x3ec8e2(0xe4)]=null;}}[_0x1c91cb(0x402)](){const _0x1d34b9=_0x1c91cb;this[_0x1d34b9(0xe4)]=null;}};hs=to([Ee(0x2,_0x535daf),Ee(0x3,_0x20e5a2),Ee(0x4,_0x452fb7),Ee(0x5,_0x385706),Ee(0x6,_0x5beccd(_0x1f9468)),Ee(0x7,_0x5beccd(Me)),Ee(0x8,_0x5beccd(Yi)),Ee(0x9,_0x231330(_0x1e0a01))],hs);var so=Object[_0x1c91cb(0x502)],io=Object[_0x1c91cb(0x439)],ro=(_0x4a36a5,_0x4b10c8,_0x227651,_0x2d0849)=>{const _0x158f81=_0x1c91cb;for(var _0x3dca21=_0x2d0849>0x1?void 0x0:_0x2d0849?io(_0x4b10c8,_0x227651):_0x4b10c8,_0x50739c=_0x4a36a5[_0x158f81(0x38b)]-0x1,_0x5bd2a8;_0x50739c>=0x0;_0x50739c--)(_0x5bd2a8=_0x4a36a5[_0x50739c])&&(_0x3dca21=(_0x2d0849?_0x5bd2a8(_0x4b10c8,_0x227651,_0x3dca21):_0x5bd2a8(_0x3dca21))||_0x3dca21);return _0x2d0849&&_0x3dca21&&so(_0x4b10c8,_0x227651,_0x3dca21),_0x3dca21;},ye=(_0x3bc324,_0x46f7a1)=>(_0x10c787,_0x3d5f35)=>_0x46f7a1(_0x10c787,_0x3d5f35,_0x3bc324);let xe=class extends _0x4b86a3{constructor(_0x411562,_0x1afdc3,_0x23147c,_0x2f1cc3,_0x36b56b,_0x127998,_0x4cbda0){const _0x335630=_0x1c91cb;super(),g(this,'_socket$',new _0x3eae3e(void 0x0)),g(this,_0x335630(0x184),this[_0x335630(0x1d1)]['asObservable']()),g(this,'_candidateSocket',null),g(this,_0x335630(0x290),new Map()),g(this,'_status$',new _0x3eae3e(fe['IDLE'])),g(this,_0x335630(0x3b5),this[_0x335630(0x207)][_0x335630(0x141)]()),g(this,_0x335630(0x480),!0x1),g(this,_0x335630(0x4da)),g(this,'_retryCount',0x0),g(this,_0x335630(0x2a4)),g(this,_0x335630(0x43e)),(this[_0x335630(0x29f)]=_0x411562,this['_localeService']=_0x1afdc3,this['_messageService']=_0x23147c,this['_logService']=_0x2f1cc3,this['_configService']=_0x36b56b,this[_0x335630(0x39a)]=_0x127998,this[_0x335630(0x478)]=_0x4cbda0,this[_0x335630(0x35f)]());}get[_0x1c91cb(0x484)](){const _0xda6308=_0x1c91cb;return this[_0xda6308(0x1d1)][_0xda6308(0x41f)]();}['_initEventListeners'](){const _0x47c50f=_0x1c91cb;this[_0x47c50f(0x25c)](),this['_listenToOnlineEvent']();}[_0x1c91cb(0x345)](){const _0x748d58=_0x1c91cb;super[_0x748d58(0x345)](),this[_0x748d58(0x290)][_0x748d58(0x180)](_0x5da580=>_0x5da580[_0x748d58(0x345)]()),this[_0x748d58(0x290)][_0x748d58(0x45b)](),this[_0x748d58(0x207)]['complete']();}async[_0x1c91cb(0x2b6)](_0x2b91d0){const _0x1555e6=_0x1c91cb;if(this[_0x1555e6(0x290)][_0x1555e6(0x3f6)](_0x2b91d0))return this[_0x1555e6(0x290)][_0x1555e6(0x470)](_0x2b91d0);this[_0x1555e6(0x144)]();const _0x1bfb05=this[_0x1555e6(0x29f)]['createInstance'](hs,_0x2b91d0,this[_0x1555e6(0x1d1)][_0x1555e6(0x141)]());return this['_sessions'][_0x1555e6(0x1e5)](_0x2b91d0,_0x1bfb05),_0x1bfb05;}[_0x1c91cb(0x4d2)](_0x587f31){const _0xf214e9=_0x1c91cb;var _0x2bc31f;const _0x37f88f=this[_0xf214e9(0x290)][_0xf214e9(0x470)](_0x587f31);_0x37f88f&&(this[_0xf214e9(0x290)][_0xf214e9(0x160)](_0x587f31),_0x37f88f['close']()),this['_sessions'][_0xf214e9(0x10a)]||(_0x2bc31f=this[_0xf214e9(0x484)])==null||_0x2bc31f[_0xf214e9(0x136)]();}[_0x1c91cb(0x1e1)](){const _0xfcdf83=_0x1c91cb;this['_retryCount']=0x0,this[_0xfcdf83(0x4da)]!=null&&(clearTimeout(this[_0xfcdf83(0x4da)]),this[_0xfcdf83(0x4da)]=null),this[_0xfcdf83(0x410)]();}async[_0x1c91cb(0x21b)](){const _0x181b4f=_0x1c91cb;var _0x35c97d,_0x2db9b7,_0x1d45e4;const _0x4af99c=this[_0x181b4f(0x379)][_0x181b4f(0x34d)](Q),_0x206f19=(_0x35c97d=_0x4af99c==null?void 0x0:_0x4af99c[_0x181b4f(0x4d9)])!=null?_0x35c97d:wn;return(_0x1d45e4=(_0x2db9b7=(await this[_0x181b4f(0x478)][_0x181b4f(0x470)](_0x206f19,{'headers':{'Content-Type':'application/json'}}))[_0x181b4f(0x1f9)])==null?void 0x0:_0x2db9b7['ticket'])!=null?_0x1d45e4:'';}[_0x1c91cb(0x1c2)](_0x2dd455){const _0x5219db=_0x1c91cb;var _0x481f97,_0x2566dd;const _0x121389=this['_configService'][_0x5219db(0x34d)](On),_0x41bb7e=this['_configService'][_0x5219db(0x34d)](Q),_0x2a33b3=(_0x2566dd=(_0x481f97=_0x41bb7e==null?void 0x0:_0x41bb7e[_0x5219db(0x4de)])!=null?_0x481f97:_0x121389)!=null?_0x2566dd:yn,_0x2aecf1=new URL(_0x2a33b3,window['location'][_0x5219db(0x1b2)]);return _0x2aecf1['searchParams']['set'](_0x5219db(0x3ac),_0x2dd455),_0x2aecf1['toString']();}async[_0x1c91cb(0x400)](){const _0x5c586a=_0x1c91cb,_0x29216b=await this[_0x5c586a(0x21b)](),_0x26a68a=this[_0x5c586a(0x1c2)](_0x29216b),_0x3970e1=this[_0x5c586a(0x39a)][_0x5c586a(0x41c)](_0x26a68a);return this[_0x5c586a(0x434)]=_0x3970e1,_0x3970e1;}async[_0x1c91cb(0x144)](){const _0x33baf7=_0x1c91cb;var _0x154611,_0x18a87e;try{const _0x211099=(_0x18a87e=(_0x154611=this[_0x33baf7(0x484)])!=null?_0x154611:this[_0x33baf7(0x434)])!=null?_0x18a87e:await this[_0x33baf7(0x400)]();if(_0x211099){const _0x4efe70=_0x211099[_0x33baf7(0x2f4)];_0x211099[_0x33baf7(0x2f4)]=_0x2a97f2=>(this[_0x33baf7(0xf1)](),_0x4efe70[_0x33baf7(0x2e8)](_0x211099,[_0x2a97f2])),_0x211099[_0x33baf7(0x405)][_0x33baf7(0x432)](_0x3f65af=>this['_onMessage'](_0x211099,_0x3f65af)),_0x211099[_0x33baf7(0x31f)][_0x33baf7(0x1c3)](_0x284a7d(0x1))['subscribe'](_0x484bc5=>this[_0x33baf7(0x2fc)][_0x33baf7(0x4d3)](_0x33baf7(0x4dd),_0x484bc5)),_0x211099[_0x33baf7(0x1c8)][_0x33baf7(0x1c3)](_0x284a7d(0x1))['subscribe'](()=>{const _0x3b9521=_0x33baf7;this[_0x3b9521(0x46e)](_0x211099);}),_0x211099['close$'][_0x33baf7(0x1c3)](_0x284a7d(0x1))[_0x33baf7(0x432)](_0x874ccc=>{const _0x2d67ef=_0x33baf7;this[_0x2d67ef(0x2fc)][_0x2d67ef(0x238)](_0x2d67ef(0x3bb),_0x2d67ef(0x266),_0x874ccc),this['_onConnectionFailed']();});}}catch(_0x2643dc){this[_0x33baf7(0x2fc)][_0x33baf7(0x4d3)](_0x2643dc),this[_0x33baf7(0xde)]();}}['_onConnectionOpen'](_0x49c106){const _0x5cd4ee=_0x1c91cb;this[_0x5cd4ee(0x2fc)]['debug'](_0x5cd4ee(0x3bb),_0x5cd4ee(0x303)),_0x49c106[_0x5cd4ee(0x2f4)]({'cmd':W[_0x5cd4ee(0x176)]}),this[_0x5cd4ee(0xf1)]();}[_0x1c91cb(0x25c)](){const _0x464a86=_0x1c91cb;window['addEventListener'](_0x464a86(0x4c8),()=>this[_0x464a86(0x324)]());}[_0x1c91cb(0x324)](){const _0x12d114=_0x1c91cb;this['_socketReady']=!0x1,this[_0x12d114(0x434)]=null,this[_0x12d114(0x207)][_0x12d114(0x1eb)](fe['OFFLINE']),this[_0x12d114(0x1d1)][_0x12d114(0x1eb)](null),this[_0x12d114(0x465)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){const _0x24999c=_0x1c91cb;var _0x3320d0;this[_0x24999c(0x324)](),this['_retryCount']<((_0x3320d0=this[_0x24999c(0x379)]['getConfig'](Un))!=null?_0x3320d0:An)?(this[_0x24999c(0x4bf)][_0x24999c(0x2d0)]({'key':_0x24999c(0x203),'type':_0x25a468[_0x24999c(0x23d)],'content':this['_localeService']['t'](_0x24999c(0x296))}),this[_0x24999c(0x410)]()):this[_0x24999c(0x4bf)][_0x24999c(0x2d0)]({'key':'collaboration-session-retry','type':_0x25a468[_0x24999c(0x2a6)],'content':this[_0x24999c(0x2f9)]['t'](_0x24999c(0x1fb))});}['_listenToOnlineEvent'](){const _0x3f6315=_0x1c91cb,_0x4fa21c=()=>{const _0x439102=_0x1b68;this[_0x439102(0x484)]||this[_0x439102(0x1e1)]();},_0x13b7c1=()=>{const _0x5c9a6c=_0x1b68;this[_0x5c9a6c(0x484)]||document['visibilityState']==='hidden'||this[_0x5c9a6c(0x1e1)]();};window[_0x3f6315(0x333)](_0x3f6315(0x206),_0x4fa21c),document[_0x3f6315(0x333)]('visibilitychange',_0x13b7c1);}[_0x1c91cb(0x410)](){const _0x524d87=_0x1c91cb;var _0x3b06e9;const _0x2d4423=this['_retryCount'],_0x376ffc=this['_configService'][_0x524d87(0x34d)](Q),_0x31c82f=_0x2d4423===0x0?0x0:((_0x3b06e9=_0x376ffc==null?void 0x0:_0x376ffc[_0x524d87(0x4f0)])!=null?_0x3b06e9:Nn)*0x2**_0x2d4423;this[_0x524d87(0x4da)]=window[_0x524d87(0x1af)](()=>{const _0x504670=_0x524d87;clearTimeout(this[_0x504670(0x4da)]),this[_0x504670(0x4da)]=null,this[_0x504670(0x144)]();},_0x31c82f),this[_0x524d87(0x45e)]+=0x1;}[_0x1c91cb(0x230)](_0x3defd7,_0x4de5a1){const _0x3dabf4=_0x1c91cb,{cmd:_0x25a993}=_0x4de5a1;_0x25a993===W['HELLO']&&!this[_0x3dabf4(0x480)]&&(_0x3defd7['memberID']=_0x4de5a1[_0x3dabf4(0x202)][_0x3dabf4(0x2e9)],this[_0x3dabf4(0x1d1)][_0x3dabf4(0x1eb)](_0x3defd7),this['_status$'][_0x3dabf4(0x1eb)](fe[_0x3dabf4(0x4a3)]),this[_0x3dabf4(0x480)]=!0x0,this[_0x3dabf4(0x434)]=null),_0x25a993===W['HEARTBEAT']&&this[_0x3dabf4(0x465)](),this[_0x3dabf4(0xf1)]();}['_rescheduleHeartbeat'](){const _0x36d0d9=_0x1c91cb;var _0x2e9c3b;this[_0x36d0d9(0x467)](),this['_sendHeartbeatTimer']=window[_0x36d0d9(0x1af)](()=>this[_0x36d0d9(0x3a3)](),(_0x2e9c3b=this[_0x36d0d9(0x379)][_0x36d0d9(0x34d)](Dn))!=null?_0x2e9c3b:Pn);}['_sendHeartbeat'](){const _0x5d9236=_0x1c91cb;this[_0x5d9236(0x484)][_0x5d9236(0x2f4)]({'cmd':W['HEARTBEAT']}),this[_0x5d9236(0x3bc)]();}[_0x1c91cb(0x3bc)](){const _0x2f5d8b=_0x1c91cb;var _0x48ae85;this[_0x2f5d8b(0x43e)]=window[_0x2f5d8b(0x1af)](()=>this['_onConnectionFailed'](),(_0x48ae85=this['_configService'][_0x2f5d8b(0x34d)](ki))!=null?_0x48ae85:Wi);}[_0x1c91cb(0x467)](){const _0x2c8422=_0x1c91cb;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2c8422(0x2a4)]=null);}['_clearTimeoutTimer'](){const _0x3b1c00=_0x1c91cb;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3b1c00(0x43e)]),this[_0x3b1c00(0x43e)]=null);}};xe=ro([ye(0x0,_0x5beccd(_0x21398d)),ye(0x1,_0x5beccd(_0x1f9468)),ye(0x2,_0x452fb7),ye(0x3,_0x535daf),ye(0x4,_0x385706),ye(0x5,Gi),ye(0x6,_0x5beccd(_0x170656))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)['toString'](0x10)[_0x1c91cb(0x2cb)](0x1));function no(_0x3a013a,_0x2d37dc=0x0){return(Y[_0x3a013a[_0x2d37dc+0x0]]+Y[_0x3a013a[_0x2d37dc+0x1]]+Y[_0x3a013a[_0x2d37dc+0x2]]+Y[_0x3a013a[_0x2d37dc+0x3]]+'-'+Y[_0x3a013a[_0x2d37dc+0x4]]+Y[_0x3a013a[_0x2d37dc+0x5]]+'-'+Y[_0x3a013a[_0x2d37dc+0x6]]+Y[_0x3a013a[_0x2d37dc+0x7]]+'-'+Y[_0x3a013a[_0x2d37dc+0x8]]+Y[_0x3a013a[_0x2d37dc+0x9]]+'-'+Y[_0x3a013a[_0x2d37dc+0xa]]+Y[_0x3a013a[_0x2d37dc+0xb]]+Y[_0x3a013a[_0x2d37dc+0xc]]+Y[_0x3a013a[_0x2d37dc+0xd]]+Y[_0x3a013a[_0x2d37dc+0xe]]+Y[_0x3a013a[_0x2d37dc+0xf]])['toLowerCase']();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x31812d=_0x1c91cb;if(!Gt){if(typeof crypto>'u'||!crypto[_0x31812d(0x43a)])throw new Error(_0x31812d(0xe6));Gt=crypto[_0x31812d(0x43a)]['bind'](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x1c91cb(0x4d0)]['bind'](crypto),zs={'randomUUID':co};function ho(_0x231755,_0x3fb085,_0x21ffa4){const _0x32b93a=_0x1c91cb;if(zs[_0x32b93a(0x4d0)]&&!_0x3fb085&&!_0x231755)return zs['randomUUID']();_0x231755=_0x231755||{};const _0xddc539=_0x231755[_0x32b93a(0x255)]||(_0x231755[_0x32b93a(0x10c)]||ao)();return _0xddc539[0x6]=_0xddc539[0x6]&0xf|0x40,_0xddc539[0x8]=_0xddc539[0x8]&0x3f|0x80,no(_0xddc539);}var lo=Object[_0x1c91cb(0x502)],_o=Object[_0x1c91cb(0x439)],uo=(_0x4cdb8b,_0x3afba0,_0x5b9335,_0x266839)=>{for(var _0x35d20c=_0x266839>0x1?void 0x0:_0x266839?_o(_0x3afba0,_0x5b9335):_0x3afba0,_0x36f5da=_0x4cdb8b['length']-0x1,_0x38a584;_0x36f5da>=0x0;_0x36f5da--)(_0x38a584=_0x4cdb8b[_0x36f5da])&&(_0x35d20c=(_0x266839?_0x38a584(_0x3afba0,_0x5b9335,_0x35d20c):_0x38a584(_0x35d20c))||_0x35d20c);return _0x266839&&_0x35d20c&&lo(_0x3afba0,_0x5b9335,_0x35d20c),_0x35d20c;},Yt=(_0x509ccb,_0x36645f)=>(_0x11f0d8,_0x58550c)=>_0x36645f(_0x11f0d8,_0x58550c,_0x509ccb);let yt=class{constructor(_0x3a7a42,_0x379186,_0x86ef80){const _0x5546a4=_0x1c91cb;this['_injector']=_0x3a7a42,this['_transformService']=_0x379186,this[_0x5546a4(0x318)]=_0x86ef80;}[_0x1c91cb(0x505)](_0x319092){const _0x18ff6d=_0x1c91cb;this[_0x18ff6d(0x2ae)](_0x319092),this[_0x18ff6d(0x11e)](_0x319092);}[_0x1c91cb(0x1cd)](_0x17476f){const _0x2a9158=_0x1c91cb,{unitID:_0xdf382a}=_0x17476f,_0x47ceb4=this[_0x2a9158(0x318)]['getRenderById'](_0xdf382a)[_0x2a9158(0x32c)](_0x469f87),{redoCache:_0x27974e}=_0x47ceb4[_0x2a9158(0x3cf)]();if(_0x27974e[_0x2a9158(0x38b)]===0x0)return _0x17476f;let _0x4c5721=_0xdb11bc[_0x2a9158(0x26d)](_0x17476f[_0x2a9158(0x2e4)][0x0]);for(let _0x280ad2=0x0;_0x280ad2<_0x27974e['length'];_0x280ad2++){const _0x3399f7={'id':'doc.mutation.rich-text-editing','params':{..._0x27974e[_0x280ad2]}},_0x2a959e=this['_transformService']['transformMutation'](_0x4c5721,_0x3399f7,!0x1);if(_0x55d097(_0x2a959e))throw _0x2a959e[_0x2a9158(0x4d3)];_0x4c5721=_0x2a959e['m1Prime'];}return{..._0xdb11bc[_0x2a9158(0x26d)](_0x17476f),'mutations':[_0x4c5721]};}[_0x1c91cb(0x2ae)](_0x4b7696){const _0x18514b=_0x1c91cb,{unitID:_0xdebcf3}=_0x4b7696,_0x253cf3=this['_renderManagerService']['getRenderById'](_0xdebcf3)[_0x18514b(0x32c)](_0x469f87),{undoCache:_0x14fa42,redoCache:_0x196502}=_0x253cf3[_0x18514b(0x3cf)]();if(_0x14fa42['length']===0x0||_0x196502[_0x18514b(0x38b)]===0x0)return;const _0x464394=[],_0x4819b3=[];let _0x4a19ed=_0xdb11bc[_0x18514b(0x26d)](_0x4b7696['mutations'][0x0]),_0x16e620=_0xdb11bc[_0x18514b(0x26d)](_0x4b7696['mutations'][0x0]);for(let _0x471338=_0x14fa42[_0x18514b(0x38b)]-0x1;_0x471338>=0x0;_0x471338--){const _0x6b442a={'id':_0x18514b(0x235),'params':{..._0x14fa42[_0x471338]}},_0x653889={'id':_0x18514b(0x235),'params':{..._0x196502[_0x471338]}},_0x4f9fcc=this[_0x18514b(0x247)][_0x18514b(0x4f4)](_0x4a19ed,_0x6b442a,!0x1),_0x5597bf=this[_0x18514b(0x247)][_0x18514b(0x4f4)](_0x16e620,_0x653889,!0x1);if(_0x55d097(_0x4f9fcc))throw _0x4f9fcc[_0x18514b(0x4d3)];if(_0x55d097(_0x5597bf))throw _0x5597bf[_0x18514b(0x4d3)];_0x464394[_0x18514b(0x423)](_0x4f9fcc[_0x18514b(0x20b)]['params']),_0x4819b3['unshift'](_0x5597bf[_0x18514b(0x20b)][_0x18514b(0x335)]),_0x4a19ed=_0x4f9fcc['m1Prime'],_0x16e620=_0x5597bf[_0x18514b(0x134)];}_0x253cf3[_0x18514b(0x4bb)]({'undoCache':_0x464394,'redoCache':_0x4819b3});}[_0x1c91cb(0x11e)](_0x1cbca4){const _0x415411=_0x1c91cb,{unitID:_0xa25681}=_0x1cbca4,_0x53610d=this[_0x415411(0x318)][_0x415411(0x205)](_0xa25681)[_0x415411(0x32c)](_0x469f87),_0x32aec3=_0x53610d[_0x415411(0x149)]();if(_0x32aec3==null)return;const _0x2cc736=[{'id':_0x415411(0x235),'params':{'unitId':_0x1cbca4[_0x415411(0x1ab)],'actions':null,'textRanges':[_0x32aec3]}}],_0x59fc51=this[_0x415411(0x247)][_0x415411(0x2fa)](_0x1cbca4,_0x2cc736);if(!_0x9a9448(_0x59fc51))throw _0x59fc51[_0x415411(0x4d3)];const _0x32af4c=_0x59fc51[_0x415411(0x20b)][0x0][_0x415411(0x335)]['textRanges'];Array[_0x415411(0x338)](_0x32af4c)&&_0x32af4c[_0x415411(0x38b)]&&_0x53610d['setActiveRange'](_0x32af4c[0x0]);}};yt=uo([Yt(0x0,_0x5beccd(_0x21398d)),Yt(0x1,_0x3e892f),Yt(0x2,_0x2e1553)],yt);var fo=Object[_0x1c91cb(0x502)],vo=Object[_0x1c91cb(0x439)],po=(_0x1db145,_0x4e60ef,_0x2c1c5b,_0xca4afa)=>{for(var _0xba0a1b=_0xca4afa>0x1?void 0x0:_0xca4afa?vo(_0x4e60ef,_0x2c1c5b):_0x4e60ef,_0xc7149e=_0x1db145['length']-0x1,_0x427e2a;_0xc7149e>=0x0;_0xc7149e--)(_0x427e2a=_0x1db145[_0xc7149e])&&(_0xba0a1b=(_0xca4afa?_0x427e2a(_0x4e60ef,_0x2c1c5b,_0xba0a1b):_0x427e2a(_0xba0a1b))||_0xba0a1b);return _0xca4afa&&_0xba0a1b&&fo(_0x4e60ef,_0x2c1c5b,_0xba0a1b),_0xba0a1b;},Xe=(_0x47e832,_0x3045cc)=>(_0x83aef5,_0x24b13)=>_0x3045cc(_0x83aef5,_0x24b13,_0x47e832);let z=class extends _0x4b86a3{constructor(_0x56e032,_0x2f47ba,_0x3a7ff6,_0x4d6976,_0x2c4b89){const _0x37b9e0=_0x1c91cb;super(),g(this,_0x37b9e0(0x26e),new Map()),g(this,_0x37b9e0(0x208),new Map()),g(this,_0x37b9e0(0x394),!0x1),(this[_0x37b9e0(0x379)]=_0x56e032,this[_0x37b9e0(0x3e3)]=_0x2f47ba,this[_0x37b9e0(0x48d)]=_0x3a7ff6,this[_0x37b9e0(0x2f9)]=_0x4d6976,this[_0x37b9e0(0x339)]=_0x2c4b89,this[_0x37b9e0(0x2a2)]());}[_0x1c91cb(0x186)](){const _0x3bb7ea=_0x1c91cb;this[_0x3bb7ea(0x394)]=!0x0;}[_0x1c91cb(0x4c9)](){const _0x24b33f=_0x1c91cb;this[_0x24b33f(0x394)]=!0x1;}[_0x1c91cb(0x345)](){const _0x5ccdf6=_0x1c91cb;this[_0x5ccdf6(0x2b8)]()['then'](()=>super[_0x5ccdf6(0x345)]());}async[_0x1c91cb(0x353)](_0x1f3512){const _0x6e861e=_0x1c91cb;return this[_0x6e861e(0x394)]?null:this[_0x6e861e(0x3e3)][_0x6e861e(0x21e)](Xs(_0x1f3512));}async[_0x1c91cb(0x1e0)](_0xff74a5,_0x410f70){const _0x53fa1f=_0x1c91cb;return!!this[_0x53fa1f(0x3e3)]['setItem'](_0xff74a5,_0x410f70);}['updateOfflineData'](_0x23b684,_0x2b5203,_0x3079e4,_0x4a4789){const _0x7214c9=_0x1c91cb,_0x5a3ff9=this[_0x7214c9(0x339)][_0x7214c9(0x448)](_0x23b684);this[_0x7214c9(0x26e)][_0x7214c9(0x1e5)](_0x23b684,{'unitID':_0x23b684,'type':_0x2b5203,'awaitingChangeset':_0x3079e4,'mutations':_0x4a4789,'rev':_0x5a3ff9}),this['_saveTaskMap'][_0x7214c9(0x3f6)](_0x23b684)||this[_0x7214c9(0x1a6)](_0x23b684);}['_scheduleSaving'](_0x446de6){const _0x5f0536=_0x1c91cb,_0x581aea=this[_0x5f0536(0x3ff)]();_0x581aea===0x0?this[_0x5f0536(0x347)](_0x446de6):this[_0x5f0536(0x208)][_0x5f0536(0x1e5)](_0x446de6,setTimeout(()=>this['_saveCache'](_0x446de6),_0x581aea));}[_0x1c91cb(0x3ff)](){const _0x241c5b=_0x1c91cb;var _0x35d4fa;return(_0x35d4fa=this[_0x241c5b(0x379)][_0x241c5b(0x34d)](Mn))!=null?_0x35d4fa:xn;}['_saveCache'](_0x154a56){const _0x2d6f35=_0x1c91cb,_0x56ea33=this[_0x2d6f35(0x208)][_0x2d6f35(0x470)](_0x154a56);return _0x56ea33!==void 0x0&&window[_0x2d6f35(0x32e)](_0x56ea33),this[_0x2d6f35(0x3e3)]['setItem'](Xs(_0x154a56),this['_cachedData'][_0x2d6f35(0x470)](_0x154a56))[_0x2d6f35(0x1c6)](()=>this[_0x2d6f35(0x208)][_0x2d6f35(0x160)](_0x154a56));}async['exhaustSavingTask'](){const _0x11b215=_0x1c91cb,_0x7810eb=[];this[_0x11b215(0x208)]['forEach']((_0x4a35d7,_0x50b9e1)=>{const _0x1762e8=_0x11b215;window['clearTimeout'](_0x4a35d7),_0x7810eb['push'](this[_0x1762e8(0x347)](_0x50b9e1)[_0x1762e8(0x1c6)](()=>{const _0x59110e=_0x1762e8;this[_0x59110e(0x208)]['delete'](_0x50b9e1);}));}),await Promise[_0x11b215(0x228)](_0x7810eb);}[_0x1c91cb(0x2a2)](){const _0x27ae9a=_0x1c91cb;this[_0x27ae9a(0x29c)](this[_0x27ae9a(0x48d)]['registerBeforeClose'](()=>{const _0x44ec85=_0x27ae9a;if(this['_saveTaskMap'][_0x44ec85(0x10a)])return this[_0x44ec85(0x2f9)]['t'](_0x44ec85(0x317));}));}};z=po([Xe(0x0,_0x385706),Xe(0x1,_0x3fd67f),Xe(0x2,_0x20e5a2),Xe(0x3,_0x5beccd(_0x1f9468)),Xe(0x4,_0x5beccd(_0x122db5))],z);function Xs(_0x11aa40){const _0x29e9e5=_0x1c91cb;return _0x29e9e5(0x1db)+_0x11aa40;}var mo=Object['defineProperty'],go=Object['getOwnPropertyDescriptor'],So=(_0x2b40be,_0x1b7278,_0xe97899,_0x371ac8)=>{for(var _0x2d4523=_0x371ac8>0x1?void 0x0:_0x371ac8?go(_0x1b7278,_0xe97899):_0x1b7278,_0x8d932e=_0x2b40be['length']-0x1,_0x3c3353;_0x8d932e>=0x0;_0x8d932e--)(_0x3c3353=_0x2b40be[_0x8d932e])&&(_0x2d4523=(_0x371ac8?_0x3c3353(_0x1b7278,_0xe97899,_0x2d4523):_0x3c3353(_0x2d4523))||_0x2d4523);return _0x371ac8&&_0x2d4523&&mo(_0x1b7278,_0xe97899,_0x2d4523),_0x2d4523;},Kt=(_0x3a3db1,_0x1d27b1)=>(_0x7fe075,_0x17a46d)=>_0x1d27b1(_0x7fe075,_0x17a46d,_0x3a3db1);function Io(_0x3aabec){const _0x8d0769=_0x1c91cb,{unitID:_0x5554a9,mutations:_0x48ddb3}=_0x3aabec;return{'unitId':_0x5554a9,'subUnitId':_0x48ddb3[0x0][_0x8d0769(0x335)]['subUnitId']};}let wt=class{constructor(_0x4592e0,_0x527f39,_0x2bb7ed){const _0x365b9d=_0x1c91cb;this[_0x365b9d(0x29f)]=_0x4592e0,this[_0x365b9d(0x247)]=_0x527f39,this[_0x365b9d(0x30a)]=_0x2bb7ed;}[_0x1c91cb(0x1cf)](_0x2fa653){const _0x295f6c=_0x1c91cb;var _0x490b09,_0x144c78,_0x4398dc,_0x451a10;const _0x564e86=this[_0x295f6c(0x29f)]['get'](_0x18f66c),{unitId:_0x332630,subUnitId:_0x2a406f}=Io(_0x2fa653),_0x461c80=_0x564e86[_0x295f6c(0x187)](_0x332630)[_0x295f6c(0x274)](),_0x3e7c3d=(_0x144c78=(_0x490b09=this['_instanceService'][_0x295f6c(0x4b2)](_0x332630))==null?void 0x0:_0x490b09[_0x295f6c(0x27f)]())==null?void 0x0:_0x144c78[_0x295f6c(0x359)]();if(_0x461c80['length']===0x0||!_0x332630||!_0x2a406f)return;const _0x5cf64f=[{'id':_0x9d2051['id'],'params':{'unitId':_0x332630,'subUnitId':_0x3e7c3d,'selections':_0xdb11bc[_0x295f6c(0x26d)](_0x461c80)}}],_0x2b8a95=this[_0x295f6c(0x247)][_0x295f6c(0x2fa)](_0x2fa653,_0x5cf64f);if(!_0x9a9448(_0x2b8a95))throw _0x2b8a95['error'];const _0x4c8202=(_0x451a10=(_0x4398dc=_0x2b8a95[_0x295f6c(0x20b)][0x0])==null?void 0x0:_0x4398dc[_0x295f6c(0x335)])==null?void 0x0:_0x451a10[_0x295f6c(0x152)];if(Array[_0x295f6c(0x338)](_0x4c8202)&&_0x4c8202['length']){if(_0x4c8202[_0x295f6c(0x38b)]===_0x5cf64f[0x0][_0x295f6c(0x335)][_0x295f6c(0x152)][_0x295f6c(0x38b)]&&_0x4c8202[_0x295f6c(0x4a8)]((_0x3ed76c,_0x391030)=>_0xd9e0ac[_0x295f6c(0x355)](_0x3ed76c['range'],_0x5cf64f[0x0][_0x295f6c(0x335)]['selections'][_0x391030]['range'])))return;this[_0x295f6c(0x29f)][_0x295f6c(0x470)](_0x3abf69)['executeCommand'](_0x9d2051['id'],{'unitId':_0x332630,'subUnitId':_0x3e7c3d,'selections':_0x4c8202});}}};wt=So([Kt(0x0,_0x5beccd(_0x21398d)),Kt(0x1,_0x3e892f),Kt(0x2,_0x5283d0)],wt);const jt=_0x418c93('univer-pro.collaboration-client.single-active-unit-service');var Ki=(_0x5ba1ec=>(_0x5ba1ec[_0x5ba1ec[_0x1c91cb(0x4b6)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5ba1ec[_0x5ba1ec[_0x1c91cb(0x2d2)]=0x1]=_0x1c91cb(0x2d2),_0x5ba1ec))(Ki||{});const Js=0x7530,Zs=_0x1c91cb(0x288);class Co extends _0x4b86a3{constructor(){const _0x4166c0=_0x1c91cb;super(),g(this,_0x4166c0(0x1aa),_0xdb11bc[_0x4166c0(0x374)]()),g(this,_0x4166c0(0x4ea),new Set()),g(this,_0x4166c0(0x492),new Map()),g(this,_0x4166c0(0xdd),null),g(this,_0x4166c0(0x449),new Map()),g(this,_0x4166c0(0x28b),new Map()),this['_init']();}[_0x1c91cb(0x345)](){const _0xb98d66=_0x1c91cb;super['dispose'](),this['_clearOtherTimers'][_0xb98d66(0x180)]((_0x58775d,_0x32adb4)=>this[_0xb98d66(0x40a)](_0x32adb4)),this[_0xb98d66(0xdd)]&&window[_0xb98d66(0x227)](this[_0xb98d66(0xdd)]);}[_0x1c91cb(0x454)](_0x588f75){const _0x2edb3c=_0x1c91cb;return this[_0x2edb3c(0x273)](_0x588f75)['pipe'](_0x1b17f9());}[_0x1c91cb(0x4ae)](_0x43855e){const _0x4fb11d=_0x1c91cb;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x4fb11d(0x4ea)][_0x4fb11d(0x277)](_0x43855e),this[_0x4fb11d(0x466)]({'type':0x0,'memberID':this[_0x4fb11d(0x1aa)],'unitIDs':[_0x43855e],'isForwarded':!0x1});}['disposeUnit'](_0x18a581){const _0xc2ab09=_0x1c91cb;this[_0xc2ab09(0x4ea)][_0xc2ab09(0x160)](_0x18a581),this[_0xc2ab09(0x4ea)][_0xc2ab09(0x10a)]===0x0&&this[_0xc2ab09(0xdd)]&&window[_0xc2ab09(0x227)](this[_0xc2ab09(0xdd)]);}[_0x1c91cb(0x1ea)](){const _0x54ffcc=_0x1c91cb;this[_0x54ffcc(0x29c)](_0x20cd7e(_0x262ff3(window,_0x54ffcc(0x3f1))[_0x54ffcc(0x432)](_0x4b361a=>{const _0x21d761=_0x54ffcc;if(_0x4b361a[_0x21d761(0x2e0)]!==Zs||!_0x4b361a[_0x21d761(0x192)])return;const _0x5b7d48=JSON[_0x21d761(0x4f3)](_0x4b361a[_0x21d761(0x192)]);this[_0x21d761(0x2a8)](_0x5b7d48);}))),window[_0x54ffcc(0x333)](_0x54ffcc(0x258),()=>this[_0x54ffcc(0x466)]({'type':0x1,'memberID':this[_0x54ffcc(0x1aa)],'unitIDs':Array[_0x54ffcc(0xf5)](this[_0x54ffcc(0x4ea)])}));}['_handleEvent'](_0x48581f){const _0x22677c=_0x1c91cb;switch(_0x48581f[_0x22677c(0x4c3)]){case 0x0:this[_0x22677c(0x126)](_0x48581f);break;case 0x1:this[_0x22677c(0x178)](_0x48581f);break;case 0x2:this[_0x22677c(0x139)](_0x48581f);break;}}[_0x1c91cb(0x126)](_0x11d8b1){const _0x5b86da=_0x1c91cb,{unitIDs:_0x110d69,memberID:_0x35a865,isForwarded:_0x204642}=_0x11d8b1;_0x110d69[_0x5b86da(0x180)](_0x174f94=>{const _0x2fa99f=_0x5b86da;if(!_0x204642&&this['_unitOnClients'][_0x2fa99f(0x3f6)](_0x174f94)&&this[_0x2fa99f(0x273)](_0x174f94)[_0x2fa99f(0x1eb)](0x1),!this[_0x2fa99f(0x492)][_0x2fa99f(0x3f6)](_0x174f94)||!this['_unitOnClients'][_0x2fa99f(0x470)](_0x174f94)[_0x2fa99f(0x3f6)](_0x35a865)){const _0x5931fc=this[_0x2fa99f(0x492)][_0x2fa99f(0x470)](_0x174f94)||new Set();_0x5931fc[_0x2fa99f(0x277)](_0x35a865),this['_unitOnClients'][_0x2fa99f(0x1e5)](_0x174f94,_0x5931fc),this[_0x2fa99f(0x244)](_0x35a865);}}),_0x204642||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5b86da(0x4ea)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x355f33){const _0x3660e6=_0x1c91cb;this[_0x3660e6(0x40a)](_0x355f33);const _0x3b83ee=window[_0x3660e6(0x1af)](()=>{const _0x28c397=_0x3660e6;this['_unitOnClients'][_0x28c397(0x180)](_0x5bba74=>{const _0x36c8ed=_0x28c397;_0x5bba74[_0x36c8ed(0x160)](_0x355f33);});},Js*0x2);this[_0x3660e6(0x449)][_0x3660e6(0x1e5)](_0x355f33,_0x3b83ee);}[_0x1c91cb(0x40a)](_0x35731b){const _0x1af998=_0x1c91cb;if(this[_0x1af998(0x449)]['has'](_0x35731b)){const _0xa34cb7=this['_clearOtherTimers'][_0x1af998(0x470)](_0x35731b);_0xa34cb7&&window[_0x1af998(0x32e)](_0xa34cb7),this[_0x1af998(0x449)][_0x1af998(0x1e5)](_0x35731b,null);}}['_handleLeaveEvent'](_0x8c36f3){const _0x332e5f=_0x1c91cb,{memberID:_0x26ee5b,unitIDs:_0x10d385}=_0x8c36f3;_0x10d385[_0x332e5f(0x180)](_0x144c3c=>{const _0x51cf86=_0x332e5f;var _0x3472d6;const _0x35c6b0=this[_0x51cf86(0x492)][_0x51cf86(0x470)](_0x144c3c);_0x35c6b0&&(_0x35c6b0[_0x51cf86(0x160)](_0x26ee5b),(_0x3472d6=this[_0x51cf86(0x273)](_0x144c3c))==null||_0x3472d6['next'](_0x35c6b0['size']===0x0?0x0:0x1));}),this[_0x332e5f(0x40a)](_0x26ee5b);}[_0x1c91cb(0x139)](_0x2cafe3){const _0x4735bb=_0x1c91cb;this[_0x4735bb(0x244)](_0x2cafe3[_0x4735bb(0x2e9)]);}[_0x1c91cb(0x466)](_0x21168e){const _0x1519df=_0x1c91cb;localStorage['setItem'](Zs,JSON[_0x1519df(0x397)](_0x21168e));}[_0x1c91cb(0x2fd)](){const _0x36059f=_0x1c91cb;this[_0x36059f(0xdd)]=window[_0x36059f(0x10e)](()=>{const _0x26f830=_0x36059f;this[_0x26f830(0x466)]({'type':0x2,'memberID':this[_0x26f830(0x1aa)]});},Js);}[_0x1c91cb(0x273)](_0x57f488){const _0x32f344=_0x1c91cb;return this[_0x32f344(0x28b)]['has'](_0x57f488)||this[_0x32f344(0x28b)][_0x32f344(0x1e5)](_0x57f488,new _0x3eae3e(0x0)),this[_0x32f344(0x28b)][_0x32f344(0x470)](_0x57f488);}}var Eo=Object[_0x1c91cb(0x502)],bo=Object[_0x1c91cb(0x439)],To=(_0xf1be50,_0x3a535d,_0x2ffe6f,_0x235bde)=>{const _0x313173=_0x1c91cb;for(var _0x1fa1b5=_0x235bde>0x1?void 0x0:_0x235bde?bo(_0x3a535d,_0x2ffe6f):_0x3a535d,_0x368bfc=_0xf1be50[_0x313173(0x38b)]-0x1,_0x52ce07;_0x368bfc>=0x0;_0x368bfc--)(_0x52ce07=_0xf1be50[_0x368bfc])&&(_0x1fa1b5=(_0x235bde?_0x52ce07(_0x3a535d,_0x2ffe6f,_0x1fa1b5):_0x52ce07(_0x1fa1b5))||_0x1fa1b5);return _0x235bde&&_0x1fa1b5&&Eo(_0x3a535d,_0x2ffe6f,_0x1fa1b5),_0x1fa1b5;},qt=(_0x21082b,_0x21de6f)=>(_0x38ba5a,_0x389d1d)=>_0x21de6f(_0x38ba5a,_0x389d1d,_0x21082b);let Dt=class{constructor(_0x11307b,_0xe4ca1d,_0xdb672a){const _0x559fbc=_0x1c91cb;this[_0x559fbc(0x29f)]=_0x11307b,this[_0x559fbc(0x247)]=_0xe4ca1d,this[_0x559fbc(0x3c0)]=_0xdb672a;}[_0x1c91cb(0x306)](_0xe1626c){const _0x16abd5=_0x1c91cb;this[_0x16abd5(0x320)](_0xe1626c);}[_0x1c91cb(0x1cd)](_0x352309){const _0x5a7858=_0x1c91cb,{unitID:_0x328c1e}=_0x352309,{collaboration:_0x207833}=this[_0x5a7858(0x3c0)][_0x5a7858(0x37c)](_0x328c1e);if(_0x207833[_0x5a7858(0x38b)]===0x0)return _0x352309;let _0x431049=_0xdb11bc[_0x5a7858(0x26d)](_0x352309[_0x5a7858(0x2e4)][0x0]);for(let _0x3ba3aa=0x0;_0x3ba3aa<_0x207833[_0x5a7858(0x38b)];_0x3ba3aa++){const _0x16009a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x207833[_0x3ba3aa]['unitId'],..._0x207833[_0x3ba3aa][_0x5a7858(0x442)]}},_0x16050d=this['_transformService'][_0x5a7858(0x4f4)](_0x431049,_0x16009a,!0x1);if(_0x55d097(_0x16050d))throw _0x16050d[_0x5a7858(0x4d3)];_0x431049=_0x16050d['m1Prime'];}return{..._0xdb11bc['deepClone'](_0x352309),'mutations':[_0x431049]};}['_transformHistoryAndStateStack'](_0x33a24c){const _0x37dedf=_0x1c91cb,{unitID:_0x580fa0}=_0x33a24c,{history:_0x526349,collaboration:_0x1ef00}=this[_0x37dedf(0x3c0)][_0x37dedf(0x37c)](_0x580fa0);if(_0x526349[_0x37dedf(0x38b)]===0x0&&_0x1ef00[_0x37dedf(0x38b)]===0x0)return;const _0x2057e1=[],_0x279c1b=[];let _0x3eaea4=_0xdb11bc[_0x37dedf(0x26d)](_0x33a24c[_0x37dedf(0x2e4)][0x0]),_0x58a7ab=_0xdb11bc[_0x37dedf(0x26d)](_0x33a24c['mutations'][0x0]);for(let _0x3b2e5e=_0x526349[_0x37dedf(0x38b)]-0x1;_0x3b2e5e>=0x0;_0x3b2e5e--){const _0x24cb8c={'id':_0x37dedf(0x235),'params':{'unitId':_0x526349[_0x3b2e5e]['unitId'],..._0x526349[_0x3b2e5e][_0x37dedf(0x234)]}},_0x247700={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x526349[_0x3b2e5e]['unitId'],..._0x526349[_0x3b2e5e][_0x37dedf(0x442)]}},_0x1dcd35=this['_transformService'][_0x37dedf(0x4f4)](_0x3eaea4,_0x24cb8c,!0x1),_0x3cde13=this['_transformService'][_0x37dedf(0x4f4)](_0x58a7ab,_0x247700,!0x1);if(_0x55d097(_0x1dcd35))throw _0x1dcd35['error'];if(_0x55d097(_0x3cde13))throw _0x3cde13[_0x37dedf(0x4d3)];_0x2057e1[_0x37dedf(0x423)]({..._0x526349[_0x3b2e5e],'undoState':_0x1dcd35[_0x37dedf(0x20b)][_0x37dedf(0x335)],'redoState':_0x3cde13[_0x37dedf(0x20b)]['params']}),_0x3eaea4=_0x1dcd35[_0x37dedf(0x134)],_0x58a7ab=_0x3cde13[_0x37dedf(0x134)];}_0x3eaea4=_0xdb11bc[_0x37dedf(0x26d)](_0x33a24c[_0x37dedf(0x2e4)][0x0]),_0x58a7ab=_0xdb11bc['deepClone'](_0x33a24c[_0x37dedf(0x2e4)][0x0]);for(let _0x710b77=_0x1ef00[_0x37dedf(0x38b)]-0x1;_0x710b77>=0x0;_0x710b77--){const _0x300116={'id':_0x37dedf(0x235),'params':{'unitId':_0x1ef00[_0x710b77][_0x37dedf(0x3cc)],..._0x1ef00[_0x710b77]['undoState']}},_0x470890={'id':_0x37dedf(0x235),'params':{'unitId':_0x1ef00[_0x710b77][_0x37dedf(0x3cc)],..._0x1ef00[_0x710b77]['redoState']}},_0x19e1ad=this[_0x37dedf(0x247)][_0x37dedf(0x4f4)](_0x3eaea4,_0x300116,!0x1),_0x1e56b3=this[_0x37dedf(0x247)][_0x37dedf(0x4f4)](_0x58a7ab,_0x470890,!0x1);if(_0x55d097(_0x19e1ad))throw _0x19e1ad[_0x37dedf(0x4d3)];if(_0x55d097(_0x1e56b3))throw _0x1e56b3[_0x37dedf(0x4d3)];_0x279c1b[_0x37dedf(0x423)]({..._0x1ef00[_0x710b77],'undoState':_0x19e1ad[_0x37dedf(0x20b)][_0x37dedf(0x335)],'redoState':_0x1e56b3[_0x37dedf(0x20b)]['params']}),_0x3eaea4=_0x19e1ad[_0x37dedf(0x134)],_0x58a7ab=_0x1e56b3[_0x37dedf(0x134)];}this[_0x37dedf(0x3c0)]['setStateCache'](_0x580fa0,{'history':_0x2057e1,'collaboration':_0x279c1b});}};Dt=To([qt(0x0,_0x5beccd(_0x21398d)),qt(0x1,_0x3e892f),qt(0x2,_0x5beccd(_0x114dd9))],Dt);function qi(_0x2956be){const _0x4039ec=_0x1c91cb;let _0x5254af='';for(const _0x44dbb6 of _0x2956be){const {startOffset:_0x30580d,endOffset:_0x54a02b,isActive:_0x3489a1,rangeType:_0x25f0b7,segmentId:_0x5ac7ef,segmentPage:_0xc1dddd}=_0x44dbb6;_0x5254af[_0x4039ec(0x38b)]&&(_0x5254af+=','),_0x5254af+=_0x30580d+':'+_0x54a02b+':'+(_0x3489a1?'1':'0')+':'+_0x25f0b7+':'+_0x5ac7ef+':'+_0xc1dddd;}return _0x5254af;}function Ro(_0xe85a82){const _0xbcf264=_0x1c91cb,_0x2ea568=_0xe85a82['split'](','),_0x446549=[];for(const _0x462e32 of _0x2ea568){const [_0x9a707f,_0x1e7e4b,_0x530a34,_0x578d00,_0x3755dc,_0x1b83b4]=_0x462e32[_0xbcf264(0x195)](':');_0x446549['push']({'startOffset':Number(_0x9a707f),'endOffset':Number(_0x1e7e4b),'collapsed':_0x9a707f===_0x1e7e4b,'isActive':_0x530a34==='1','rangeType':_0x578d00===_0x4ec437['TEXT']?_0x4ec437[_0xbcf264(0x3ea)]:_0x4ec437[_0xbcf264(0x42c)],'segmentId':typeof _0x3755dc==_0xbcf264(0x366)?String(_0x3755dc):'','segmentPage':Number(_0x1b83b4!=null?_0x1b83b4:-0x1)});}return _0x446549[_0xbcf264(0x386)](_0x9659=>_0x9659[_0xbcf264(0x1d8)])||(_0x446549[0x0][_0xbcf264(0x1d8)]=!0x0),_0x446549;}class Ds extends _0x30a9be{constructor(){const _0x464df2=_0x1c91cb;super(...arguments),g(this,'_collabCursorState$',new _0x3eae3e(null)),g(this,'collabCursorState$',this[_0x464df2(0x2ec)][_0x464df2(0x141)]());}[_0x1c91cb(0x1de)](_0x3227e1){const _0x563305=_0x1c91cb,{unitID:_0x1ad690,memberID:_0x1e469a,textRanges:_0x4c1bf8}=_0x3227e1,_0x53dadc=qi(_0x4c1bf8);if(_0x53dadc==='')return;const _0x59a299={'unitID':_0x1ad690,'memberID':_0x1e469a,'selection':_0x53dadc};this[_0x563305(0x2ec)]['next'](_0x59a299);}}var Oo=Object[_0x1c91cb(0x502)],yo=Object[_0x1c91cb(0x439)],wo=(_0x63836a,_0x1c22dd,_0x255ed4,_0x421579)=>{const _0x31bd61=_0x1c91cb;for(var _0x453d44=_0x421579>0x1?void 0x0:_0x421579?yo(_0x1c22dd,_0x255ed4):_0x1c22dd,_0x44fcf8=_0x63836a[_0x31bd61(0x38b)]-0x1,_0x58a4c8;_0x44fcf8>=0x0;_0x44fcf8--)(_0x58a4c8=_0x63836a[_0x44fcf8])&&(_0x453d44=(_0x421579?_0x58a4c8(_0x1c22dd,_0x255ed4,_0x453d44):_0x58a4c8(_0x453d44))||_0x453d44);return _0x421579&&_0x453d44&&Oo(_0x1c22dd,_0x255ed4,_0x453d44),_0x453d44;},Qs=(_0x5c4dc2,_0x2f88c7)=>(_0x26ed48,_0x3bfe7b)=>_0x2f88c7(_0x26ed48,_0x3bfe7b,_0x5c4dc2);let Pt=class{constructor(_0x475537,_0x558578){const _0x2282ae=_0x1c91cb;this[_0x2282ae(0x29f)]=_0x475537,this[_0x2282ae(0x247)]=_0x558578;}['transformSelections'](_0x52c3e3){const _0xd443c=_0x1c91cb;var _0x355bbb;const _0x38bb3e=this['_injector'][_0xd443c(0x470)](_0x2c4ba8),_0x27037c=(_0x355bbb=_0x38bb3e['getDocRanges']())!=null?_0x355bbb:[];if(_0x27037c[_0xd443c(0x38b)]===0x0)return;const _0x3fefa5=_0x52c3e3[_0xd443c(0x1ab)],_0x490dc1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3fefa5,'actions':null,'textRanges':_0x27037c}}],_0x50fdb9=this[_0xd443c(0x247)][_0xd443c(0x2fa)](_0x52c3e3,_0x490dc1);if(!_0x9a9448(_0x50fdb9))throw _0x50fdb9[_0xd443c(0x4d3)];const _0x1c0c2f=_0x50fdb9[_0xd443c(0x20b)][0x0][_0xd443c(0x335)][_0xd443c(0x13d)];Array[_0xd443c(0x338)](_0x1c0c2f)&&_0x1c0c2f[_0xd443c(0x38b)]&&_0x38bb3e[_0xd443c(0x32f)](_0x1c0c2f,{'unitId':_0x3fefa5,'subUnitId':_0x3fefa5},!0x1);}};Pt=wo([Qs(0x0,_0x5beccd(_0x21398d)),Qs(0x1,_0x3e892f)],Pt);function _0x1b68(_0x31af49,_0x54c29e){const _0x15470f=_0x1547();return _0x1b68=function(_0x1b683c,_0x290871){_0x1b683c=_0x1b683c-0xdc;let _0x5972e1=_0x15470f[_0x1b683c];return _0x5972e1;},_0x1b68(_0x31af49,_0x54c29e);}const Do=new Set([_0x5b0a93['id']]);function ei(_0x68df5d,_0x4a54de,_0x42aa01,_0x200838,_0x48da3c){const _0x2a1033=_0x1c91cb;var _0x59ac06,_0x5d87da,_0x2ac53d,_0x330b81;const _0x5d1bbb=[];for(const _0x1c1060 of _0x68df5d)if(Do[_0x2a1033(0x3f6)](_0x1c1060['id'])){if(_0x5d1bbb[_0x2a1033(0x38b)]>0x0)break;_0x5d1bbb[_0x2a1033(0x4c1)](_0x1c1060);break;}else _0x5d1bbb[_0x2a1033(0x4c1)](_0x1c1060);const _0x4f992c=(_0x5d87da=(_0x59ac06=_0x48da3c[_0x2a1033(0x232)]())==null?void 0x0:_0x59ac06[_0x2a1033(0x3dc)])!=null?_0x5d87da:_0x2a1033(0x4f8),_0x184a04=(_0x330b81=(_0x2ac53d=_0x48da3c['getCurrentUser']())==null?void 0x0:_0x2ac53d[_0x2a1033(0x2e9)])!=null?_0x330b81:_0x2a1033(0x4f8);return{'changeset':{'unitID':_0x4a54de,'type':_0x5b4ad1(_0x42aa01[_0x2a1033(0x215)](_0x4a54de)),'baseRev':_0x200838[_0x2a1033(0x448)](_0x4a54de),'revision':0x0,'userID':_0x4f992c,'memberID':_0x184a04,'mutations':_0x5d1bbb},'pendingMutations':_0x68df5d[_0x2a1033(0x2cb)](_0x5d1bbb['length'])};}function Po(_0x589ccf,_0x173706,_0x51dcde,_0x4fa062,_0xa17f36){const _0x20ece7=_0x1c91cb;var _0x45a465,_0x4c3102,_0x244f28,_0x143fd7;const _0x5cf08d=[_0x589ccf['reduce']((_0x56e9ae,_0x2b6377)=>{const _0x5f4be2=_0x1b68;var _0x35345e;const {id:_0x537828}=_0x56e9ae,{id:_0x55e000,type:_0x448cd1}=_0x2b6377,_0x4e2f56=(_0x35345e=_0x56e9ae[_0x5f4be2(0x335)])!=null?_0x35345e:{'actions':null},_0x39c677=_0x2b6377[_0x5f4be2(0x335)];if(_0x537828&&_0x537828!==_0x55e000)throw new Error(_0x5f4be2(0x499)+_0x537828+_0x5f4be2(0x37a)+_0x55e000+'.');return{..._0x56e9ae,'id':_0x55e000,'type':_0x448cd1,'params':{'unitId':_0x39c677[_0x5f4be2(0x3cc)],'textRanges':_0x39c677[_0x5f4be2(0x13d)],'actions':_0x1eeca2[_0x5f4be2(0x44e)](_0x4e2f56['actions'],_0x39c677[_0x5f4be2(0x327)])}};},{})],_0x43e8e8=(_0x4c3102=(_0x45a465=_0xa17f36[_0x20ece7(0x232)]())==null?void 0x0:_0x45a465[_0x20ece7(0x3dc)])!=null?_0x4c3102:_0x20ece7(0x4f8),_0x519db7=(_0x143fd7=(_0x244f28=_0xa17f36[_0x20ece7(0x232)]())==null?void 0x0:_0x244f28[_0x20ece7(0x2e9)])!=null?_0x143fd7:_0x20ece7(0x4f8);return{'changeset':{'unitID':_0x173706,'type':_0x5b4ad1(_0x51dcde[_0x20ece7(0x215)](_0x173706)),'baseRev':_0x4fa062['getCurrentRevOfUnit'](_0x173706),'revision':0x0,'userID':_0x43e8e8,'memberID':_0x519db7,'mutations':_0x5cf08d},'pendingMutations':[]};}function zi(_0x41f2af,_0x1bf64a){const _0x146305=_0x1c91cb,_0x2513ee=new _0xfad99a(0x1);return setTimeout(()=>_0x2513ee[_0x146305(0x1eb)](_0x1bf64a),_0x41f2af),_0x2513ee[_0x146305(0x141)]()[_0x146305(0x1c3)](_0xc66db6(0x1));}const No={'id':_0x45d336['id'],'type':_0x172fb0['MUTATION'],'params':{}};var Uo=Object['defineProperty'],Ao=Object[_0x1c91cb(0x439)],$e=(_0x18bd69,_0x1f8a0d,_0x5f1d55,_0x28d3fb)=>{const _0x362103=_0x1c91cb;for(var _0x2e8b65=_0x28d3fb>0x1?void 0x0:_0x28d3fb?Ao(_0x1f8a0d,_0x5f1d55):_0x1f8a0d,_0x1dd6fc=_0x18bd69[_0x362103(0x38b)]-0x1,_0x59dce6;_0x1dd6fc>=0x0;_0x1dd6fc--)(_0x59dce6=_0x18bd69[_0x1dd6fc])&&(_0x2e8b65=(_0x28d3fb?_0x59dce6(_0x1f8a0d,_0x5f1d55,_0x2e8b65):_0x59dce6(_0x2e8b65))||_0x2e8b65);return _0x28d3fb&&_0x2e8b65&&Uo(_0x1f8a0d,_0x5f1d55,_0x2e8b65),_0x2e8b65;},A=(_0x9a88c2,_0x222c32)=>(_0x5e0644,_0x3316d0)=>_0x222c32(_0x5e0644,_0x3316d0,_0x9a88c2),J=(_0x41b24e=>(_0x41b24e['NOT_COLLAB']=_0x1c91cb(0x1d9),_0x41b24e[_0x1c91cb(0x452)]=_0x1c91cb(0x16c),_0x41b24e[_0x1c91cb(0x14c)]='pending',_0x41b24e[_0x1c91cb(0x246)]=_0x1c91cb(0x3e4),_0x41b24e[_0x1c91cb(0x351)]=_0x1c91cb(0x325),_0x41b24e['FETCH_MISS']=_0x1c91cb(0x210),_0x41b24e[_0x1c91cb(0x102)]=_0x1c91cb(0x2ff),_0x41b24e[_0x1c91cb(0x12d)]=_0x1c91cb(0x4c8),_0x41b24e))(J||{});const Xi=0xea60;class He{constructor(_0x5c27f9,_0x243d5b,_0x37bad5,_0x54507a,_0x401217,_0x36cfe9,_0x25c4e9,_0x59afa1,_0x2e2b72){const _0x28683a=_0x1c91cb;g(this,_0x28683a(0x22b),null),g(this,_0x28683a(0x1b7),[]),(this['unitID']=_0x5c27f9,this[_0x28683a(0x4c3)]=_0x243d5b,this['_handler']=_0x401217,this[_0x28683a(0x281)]=_0x36cfe9,this[_0x28683a(0x28c)]=_0x25c4e9,this[_0x28683a(0x339)]=_0x59afa1,this[_0x28683a(0x38e)]=_0x2e2b72,this[_0x28683a(0x22b)]=_0x37bad5,this[_0x28683a(0x1b7)]=_0x54507a);}[_0x1c91cb(0x45c)](_0x5b6b50){const _0x76a914=_0x1c91cb,_0x1ce2d7=this[_0x76a914(0x339)]['getCurrentRevOfUnit'](this[_0x76a914(0x1ab)]);return _0x5b6b50[_0x76a914(0x45f)]>_0x1ce2d7+0x1?(this[_0x76a914(0x1ac)]['onMissingChangesets']({'from':_0x1ce2d7,'to':_0x5b6b50[_0x76a914(0x45f)]-0x1}),!0x0):!0x1;}[_0x1c91cb(0x269)](_0x1f6b5c){const _0x1b1c33=_0x1c91cb;this['_undoRedoService'][_0x1b1c33(0x447)](this['unitID'],_0x1f6b5c);}[_0x1c91cb(0x427)](_0x1bbe34){const _0xf4cf56=_0x1c91cb;var _0x545e1c,_0x143921;(_0x143921=(_0x545e1c=this[_0xf4cf56(0x1ac)])['onTransformSelections'])==null||_0x143921[_0xf4cf56(0xff)](_0x545e1c,_0x1bbe34);}['_transformIMECache'](_0x17f4d7){var _0x12dc56,_0x4fca1e;return(_0x4fca1e=(_0x12dc56=this['_handler'])['onTransformIME'])==null?void 0x0:_0x4fca1e['call'](_0x12dc56,_0x17f4d7);}[_0x1c91cb(0x2b7)](_0x2af484){const _0x4d8830=_0x1c91cb;var _0x344e00,_0x3be72d;return(_0x3be72d=(_0x344e00=this[_0x4d8830(0x1ac)])['onTransformState'])==null?void 0x0:_0x3be72d[_0x4d8830(0xff)](_0x344e00,_0x2af484);}[_0x1c91cb(0x4dc)](_0x5b9dfc){const _0x530305=_0x1c91cb;var _0x369c1f,_0x83170a,_0x43ecde;return(_0x43ecde=(_0x83170a=(_0x369c1f=this[_0x530305(0x1ac)])[_0x530305(0x417)])==null?void 0x0:_0x83170a[_0x530305(0xff)](_0x369c1f,_0x5b9dfc))!=null?_0x43ecde:_0x5b9dfc;}[_0x1c91cb(0x32d)](_0x4c8943){const _0x23bb77=_0x1c91cb;var _0x5d08f7,_0x3d582f,_0x5f43b7;return(_0x5f43b7=(_0x3d582f=(_0x5d08f7=this['_handler'])[_0x23bb77(0x148)])==null?void 0x0:_0x3d582f[_0x23bb77(0xff)](_0x5d08f7,_0x4c8943))!=null?_0x5f43b7:_0x4c8943;}['_syncEditingCollabCursor'](_0x47e97c){const _0x1f3194=_0x1c91cb;var _0xb89653,_0xdb1d00;if(this[_0x1f3194(0x4c3)]===ae['UNIVER_DOC']){const {unitID:_0x278208,mutations:_0x201458,memberID:_0x155b7f}=_0x47e97c,_0x2cd9d6=_0x201458[0x0]['params'][_0x1f3194(0x13d)];Array[_0x1f3194(0x338)](_0x2cd9d6)&&_0x2cd9d6[_0x1f3194(0x38b)]>0x0&&((_0xdb1d00=(_0xb89653=this['_handler'])[_0x1f3194(0xfe)])==null||_0xdb1d00[_0x1f3194(0xff)](_0xb89653,{'unitID':_0x278208,'memberID':_0x155b7f,'textRanges':_0x2cd9d6}));}}['_updateLocalCache'](){const _0x674acf=_0x1c91cb;this[_0x674acf(0x38e)][_0x674acf(0x3fb)](this[_0x674acf(0x1ab)],this['type'],this[_0x674acf(0x22b)],this[_0x674acf(0x1b7)]);}['_getCurrentRevision'](){const _0x31eb5c=_0x1c91cb;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x31eb5c(0x1ab)]);}['_incrementRevisionNumber'](){const _0x36c191=_0x1c91cb;this[_0x36c191(0x339)][_0x36c191(0x468)](this[_0x36c191(0x1ab)]);}['_executeRemoteChangeset'](_0x513569){const _0x1c02f2=_0x1c91cb;var _0x4b0c1f;let _0x10c289=this['_transformRemoteChangesetByIMECache'](_0x513569);_0x10c289=this[_0x1c02f2(0x32d)](_0x10c289);const _0x2d5d11=_0x8a411b(_0x10c289[_0x1c02f2(0x2e4)],this[_0x1c02f2(0x281)],{'fromCollab':!0x0});if(!_0x2d5d11[_0x1c02f2(0x4e3)])throw _0x2d5d11[_0x1c02f2(0x4d3)]instanceof Error?_0x2d5d11['error']:new Error((_0x4b0c1f=_0x2d5d11['error'])!=null?_0x4b0c1f:_0x1c02f2(0x403));this[_0x1c02f2(0x3ca)](_0x10c289),this[_0x1c02f2(0x2b7)](_0x10c289),this[_0x1c02f2(0x269)](_0x513569),this['_transformSelections'](_0x10c289),this[_0x1c02f2(0x299)](_0x10c289),this[_0x1c02f2(0x2df)]();}}let Fe=class extends He{constructor(_0x47967c,_0x1d8e36,_0x36d088,_0x172bd7,_0x4ebccd,_0x394dee,_0x4859bc,_0xbf1cbe,_0x72fca6,_0x5a0a1c){const _0x23b1d5=_0x1c91cb;super(_0x47967c,_0x1d8e36,null,[],_0x36d088,_0xbf1cbe,_0x4859bc,_0x172bd7,_0x4ebccd),g(this,_0x23b1d5(0xf0),'synced'),(this[_0x23b1d5(0x29f)]=_0x394dee,this[_0x23b1d5(0x2fc)]=_0x72fca6,this['_transformService']=_0x5a0a1c);}[_0x1c91cb(0x271)](_0x1eec13){const _0x4c7bac=_0x1c91cb,_0x2d7032=this[_0x4c7bac(0x29f)][_0x4c7bac(0x36b)](pe,this[_0x4c7bac(0x1ab)],this[_0x4c7bac(0x4c3)],[_0x1eec13],this['_handler']);return _0x2d7032['_schedule'](),_0x2d7032[_0x4c7bac(0x4e5)](),_0x2d7032;}['onRemoteChangeset'](_0x12b1cf){const _0x1b3882=_0x1c91cb;if(this[_0x1b3882(0x45c)](_0x12b1cf))return this[_0x1b3882(0x29f)]['createInstance'](ce,this[_0x1b3882(0x1ab)],this['type'],null,[],null,[_0x12b1cf],this[_0x1b3882(0x1ac)]);try{const _0x100274=this[_0x1b3882(0x247)]['transformMutationsWithChangeset'](_0x12b1cf,[No]);if(_0x9a9448(_0x100274)){const {c1Prime:_0x513667}=_0x100274;return this[_0x1b3882(0x4f9)](_0x513667),this;}throw _0x100274[_0x1b3882(0x4d3)];}catch(_0x154eea){return this['_logService']['error'](_0x154eea),this[_0x1b3882(0x20e)](!0x1);}}[_0x1c91cb(0x20e)](_0x40d5f9){const _0x139e63=_0x1c91cb;return this['_injector']['createInstance'](Re,this[_0x139e63(0x1ab)],this['type'],null,[],this[_0x139e63(0x1ac)],_0x40d5f9);}[_0x1c91cb(0x4a6)](){const _0x2d449e=_0x1c91cb;throw new Error(_0x2d449e(0x435));}['onRemoteRej'](){const _0x41831f=_0x1c91cb;throw new Error(_0x41831f(0x382));}[_0x1c91cb(0x362)](){return this;}[_0x1c91cb(0x430)](){const _0x5ec768=_0x1c91cb;return this['_injector']['createInstance'](Oe,this[_0x5ec768(0x1ab)],this['type'],null,[],this[_0x5ec768(0x1ac)]);}[_0x1c91cb(0x213)](){return this;}[_0x1c91cb(0x47c)](){const _0x6c02f9=_0x1c91cb;throw new Error(_0x6c02f9(0x49c));}[_0x1c91cb(0x114)](){const _0x25777e=_0x1c91cb,_0x457eae=this[_0x25777e(0x339)][_0x25777e(0x448)](this['unitID']);return this[_0x25777e(0x1ac)][_0x25777e(0x3bf)]({'from':_0x457eae,'to':0x0}),this[_0x25777e(0x29f)][_0x25777e(0x36b)](ce,this[_0x25777e(0x1ab)],this[_0x25777e(0x4c3)],null,[],null,[],this[_0x25777e(0x1ac)]);}};Fe=$e([A(0x3,_0x5beccd(_0x122db5)),A(0x4,_0x5beccd(z)),A(0x5,_0x5beccd(_0x21398d)),A(0x6,_0x3ac068),A(0x7,_0x3abf69),A(0x8,_0x535daf),A(0x9,_0x3e892f)],Fe);let pe=class extends He{constructor(_0x27ea5b,_0x291558,_0x57d395,_0x59aa0d,_0x13272b,_0x91be22,_0x3cfb3b,_0x29ea04,_0x2d5344,_0x339a12,_0x478fa9,_0x296bbf,_0x15f123,_0x3de2e9){const _0x6967fd=_0x1c91cb;super(_0x27ea5b,_0x291558,null,_0x57d395,_0x59aa0d,_0x339a12,_0x3de2e9,_0x91be22,_0x3cfb3b),g(this,_0x6967fd(0xf0),_0x6967fd(0x2dd)),g(this,_0x6967fd(0x2d5),null),g(this,_0x6967fd(0x47f),null),(this['_injector']=_0x13272b,this[_0x6967fd(0x31e)]=_0x29ea04,this[_0x6967fd(0x2fc)]=_0x2d5344,this['_configService']=_0x478fa9,this[_0x6967fd(0x247)]=_0x296bbf,this['_univerInstanceService']=_0x15f123);}[_0x1c91cb(0x271)](_0x165678){const _0x12396b=_0x1c91cb;return this[_0x12396b(0x1b7)][_0x12396b(0x4c1)](_0x165678),this[_0x12396b(0x4e5)](),this;}['onRemoteChangeset'](_0xafd3b0){const _0x3a2aa7=_0x1c91cb;if(this[_0x3a2aa7(0x45c)](_0xafd3b0))return this[_0x3a2aa7(0x3f5)](),this[_0x3a2aa7(0x29f)]['createInstance'](ce,this['unitID'],this['type'],null,this[_0x3a2aa7(0x1b7)],null,[_0xafd3b0],this['_handler']);try{const _0x23e399=this[_0x3a2aa7(0x247)]['transformMutationsWithChangeset'](_0xafd3b0,this['_pendingMutations']);if(_0x9a9448(_0x23e399)){const {c1Prime:_0x594cd9,m2Prime:_0x13cb39}=_0x23e399;this['_executeRemoteChangeset'](_0x594cd9);const _0x102f62=this['_injector'][_0x3a2aa7(0x36b)](pe,this['unitID'],this[_0x3a2aa7(0x4c3)],_0x13cb39,this['_handler']);return this[_0x3a2aa7(0x3f5)](),_0x102f62[_0x3a2aa7(0x340)](this[_0x3a2aa7(0x2d5)]?Math['max'](0x0,new Date()['getTime']()-this[_0x3a2aa7(0x2d5)]):this[_0x3a2aa7(0x44b)]()),_0x102f62;}throw _0x23e399[_0x3a2aa7(0x4d3)];}catch(_0x216fc3){return this[_0x3a2aa7(0x2fc)][_0x3a2aa7(0x4d3)](_0x216fc3),this[_0x3a2aa7(0x20e)](!0x1);}}[_0x1c91cb(0x4a6)](){const _0x506d06=_0x1c91cb;throw new Error(_0x506d06(0x1b1));}[_0x1c91cb(0x381)](){const _0x367b01=_0x1c91cb;throw new Error(_0x367b01(0x196));}[_0x1c91cb(0x362)](){return this;}[_0x1c91cb(0x430)](){const _0x14059d=_0x1c91cb;return this['_clearScheduledTask'](),this[_0x14059d(0x29f)][_0x14059d(0x36b)](Oe,this[_0x14059d(0x1ab)],this[_0x14059d(0x4c3)],null,this[_0x14059d(0x1b7)],this[_0x14059d(0x1ac)]);}['toggleOnline'](){return this;}[_0x1c91cb(0x340)](_0x508dd3){const _0x674c06=_0x1c91cb,_0x253c9b=_0x508dd3!=null?_0x508dd3:this[_0x674c06(0x44b)]();this['_scheduleTimestamp']=new Date()[_0x674c06(0x1bd)](),this['_sendingTimer']=window[_0x674c06(0x1af)](()=>{const _0x3cf71d=_0x674c06;this[_0x3cf71d(0x3f5)]();let _0x2f9e48=null;switch(this[_0x3cf71d(0x4c3)]){case ae[_0x3cf71d(0x169)]:{_0x2f9e48=ei(this[_0x3cf71d(0x1b7)],this[_0x3cf71d(0x1ab)],this[_0x3cf71d(0x494)],this[_0x3cf71d(0x339)],this['_memberService']);break;}case ae[_0x3cf71d(0x18f)]:{this[_0x3cf71d(0x1b7)]['every'](_0x271b74=>_0x271b74['id']===_0x361a8e['id'])?_0x2f9e48=Po(this[_0x3cf71d(0x1b7)],this[_0x3cf71d(0x1ab)],this[_0x3cf71d(0x494)],this[_0x3cf71d(0x339)],this[_0x3cf71d(0x31e)]):_0x2f9e48=ei(this[_0x3cf71d(0x1b7)],this[_0x3cf71d(0x1ab)],this[_0x3cf71d(0x494)],this['_revisionService'],this[_0x3cf71d(0x31e)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3cf71d(0x4c3)]+'\x20in\x20_schedule.');}const {changeset:_0x117a5,pendingMutations:_0xe34db6}=_0x2f9e48;this[_0x3cf71d(0x1ac)][_0x3cf71d(0x314)](_0x117a5);const _0x25fd44=_0xe34db6[_0x3cf71d(0x38b)]?this[_0x3cf71d(0x29f)][_0x3cf71d(0x36b)](me,this[_0x3cf71d(0x1ab)],this[_0x3cf71d(0x4c3)],_0x117a5,_0xe34db6,this[_0x3cf71d(0x1ac)],void 0x0):this[_0x3cf71d(0x29f)][_0x3cf71d(0x36b)](Te,this['unitID'],this[_0x3cf71d(0x4c3)],_0x117a5,this[_0x3cf71d(0x1ac)]);_0x25fd44[_0x3cf71d(0x4e5)](),this[_0x3cf71d(0x1ac)][_0x3cf71d(0x15c)](this,_0x25fd44);},_0x253c9b);}[_0x1c91cb(0x44b)](){const _0xfc3fec=_0x1c91cb;var _0x4ab7f8;const _0x14390b=this['_configService']['getConfig'](Q);return(_0x4ab7f8=_0x14390b==null?void 0x0:_0x14390b[_0xfc3fec(0x2da)])!=null?_0x4ab7f8:Rn;}[_0x1c91cb(0x47c)](){const _0xbb79db=_0x1c91cb;throw new Error(_0xbb79db(0x4a7));}[_0x1c91cb(0x3f5)](){const _0x5a672d=_0x1c91cb;this[_0x5a672d(0x47f)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x1c91cb(0x20e)](_0x465e2a){const _0x21cd89=_0x1c91cb;return this[_0x21cd89(0x3f5)](),this[_0x21cd89(0x29f)][_0x21cd89(0x36b)](Re,this[_0x21cd89(0x1ab)],this[_0x21cd89(0x4c3)],null,this[_0x21cd89(0x1b7)],this['_handler'],_0x465e2a);}};pe=$e([A(0x4,_0x5beccd(_0x21398d)),A(0x5,_0x5beccd(_0x122db5)),A(0x6,_0x5beccd(z)),A(0x7,_0x5beccd(Me)),A(0x8,_0x535daf),A(0x9,_0x3abf69),A(0xa,_0x385706),A(0xb,_0x3e892f),A(0xc,_0x5283d0),A(0xd,_0x3ac068)],pe);let Te=class extends He{constructor(_0x41394b,_0x3fe971,_0x16bfd4,_0x5d2f86,_0x541256,_0x325858,_0x5084ae,_0x72ccd4,_0x5f563d,_0x318436,_0x26ce29){const _0x13cb4e=_0x1c91cb;super(_0x41394b,_0x3fe971,_0x16bfd4,[],_0x5d2f86,_0x72ccd4,_0x26ce29,_0x325858,_0x5084ae),g(this,'status',_0x13cb4e(0x3e4)),g(this,_0x13cb4e(0x2b2),0x0),g(this,_0x13cb4e(0x31d)),g(this,_0x13cb4e(0x171)),(this[_0x13cb4e(0x29f)]=_0x541256,this['_logService']=_0x5f563d,this['_transformService']=_0x318436);}[_0x1c91cb(0x271)](_0xcdf603){const _0xa376a7=_0x1c91cb;this['_clearScheduledTask']();const _0x30e1da=this[_0xa376a7(0x29f)][_0xa376a7(0x36b)](me,this[_0xa376a7(0x1ab)],this[_0xa376a7(0x4c3)],this[_0xa376a7(0x22b)],[_0xcdf603],this['_handler'],this['_resendTimer']);return _0x30e1da[_0xa376a7(0x4e5)](),_0x30e1da;}['onRemoteChangeset'](_0x158b77){const _0x5b1b3a=_0x1c91cb;if(this[_0x5b1b3a(0x45c)](_0x158b77))return this[_0x5b1b3a(0x3f5)](),this[_0x5b1b3a(0x29f)][_0x5b1b3a(0x36b)](ce,this[_0x5b1b3a(0x1ab)],this[_0x5b1b3a(0x4c3)],this[_0x5b1b3a(0x22b)],[],null,[_0x158b77],this[_0x5b1b3a(0x1ac)]);try{const _0x345bb9=this[_0x5b1b3a(0x247)][_0x5b1b3a(0x285)]([_0x158b77],[this[_0x5b1b3a(0x22b)]],!0x1);if(_0x1830da(_0x345bb9)){const {c1Prime:_0x414b33,c2Prime:_0xf0fb97}=_0x345bb9;this[_0x5b1b3a(0x4f9)](_0x414b33[0x0]),_0xf0fb97[0x0][_0x5b1b3a(0x263)]=this['_getCurrentRevision'](),this[_0x5b1b3a(0x3f5)]();const _0x2d24cd=this[_0x5b1b3a(0x29f)][_0x5b1b3a(0x36b)](Te,this[_0x5b1b3a(0x1ab)],this[_0x5b1b3a(0x4c3)],_0xf0fb97[0x0],this[_0x5b1b3a(0x1ac)]);return _0x2d24cd[_0x5b1b3a(0x4e5)](),_0x2d24cd;}return this[_0x5b1b3a(0x20e)](!0x1);}catch(_0x3e4712){return this[_0x5b1b3a(0x2fc)][_0x5b1b3a(0x4d3)](_0x3e4712),this[_0x5b1b3a(0x20e)](!0x1);}}[_0x1c91cb(0x4a6)](_0x4762b4){const _0x2634c4=_0x1c91cb;this['_clearScheduledTask']();const _0x2b3d80=this[_0x2634c4(0x339)][_0x2634c4(0x448)](this[_0x2634c4(0x1ab)]);if(_0x4762b4[_0x2634c4(0x45f)]<_0x2b3d80-0x1)return this;if(this[_0x2634c4(0x45c)](_0x4762b4))return this[_0x2634c4(0x29f)][_0x2634c4(0x36b)](ce,this[_0x2634c4(0x1ab)],this[_0x2634c4(0x4c3)],null,[],this['_awaitingChangeset'],[],this[_0x2634c4(0x1ac)]);this[_0x2634c4(0x2df)]();const _0x27b182=this[_0x2634c4(0x29f)]['createInstance'](Fe,this[_0x2634c4(0x1ab)],this[_0x2634c4(0x4c3)],this[_0x2634c4(0x1ac)]);return _0x27b182[_0x2634c4(0x4e5)](),_0x27b182;}[_0x1c91cb(0x381)](_0x3db352){const _0x2569c4=_0x1c91cb;return this[_0x2569c4(0x20e)](!!(_0x3db352!=null&&_0x3db352[_0x2569c4(0x253)]));}['onRemoteRetry'](_0x467143){const _0xf1b13f=_0x1c91cb;return this['_resendTimeout']>Xi?this[_0xf1b13f(0x430)]():(this[_0xf1b13f(0x31d)]=zi(this['_resendTimeout'],{'timeout':this[_0xf1b13f(0x2b2)],'reqId':_0x467143[_0xf1b13f(0x1e8)]}),this['_sender']=this[_0xf1b13f(0x31d)][_0xf1b13f(0x432)](({reqId:_0x5a6216,timeout:_0x4c19c5})=>{const _0xf5e84d=_0xf1b13f;this[_0xf5e84d(0x1b5)](_0x5a6216,_0x4c19c5);}),this);}[_0x1c91cb(0x430)](){const _0x1d6287=_0x1c91cb;return this[_0x1d6287(0x3f5)](),this[_0x1d6287(0x29f)][_0x1d6287(0x36b)](Oe,this[_0x1d6287(0x1ab)],this[_0x1d6287(0x4c3)],this[_0x1d6287(0x22b)],[],this[_0x1d6287(0x1ac)]);}[_0x1c91cb(0x213)](){return this;}[_0x1c91cb(0x47c)](){const _0x4c6b10=_0x1c91cb;this[_0x4c6b10(0x1ac)][_0x4c6b10(0x314)](this['_awaitingChangeset']);}[_0x1c91cb(0x20e)](_0x5e0420){const _0xfe076f=_0x1c91cb;return this['_clearScheduledTask'](),this['_injector'][_0xfe076f(0x36b)](Re,this['unitID'],this[_0xfe076f(0x4c3)],this[_0xfe076f(0x22b)],[],this[_0xfe076f(0x1ac)],_0x5e0420);}[_0x1c91cb(0x1b5)](_0x46848e,_0x32ac11){const _0x33ca66=_0x1c91cb;var _0x40a1da;_0x46848e===((_0x40a1da=this[_0x33ca66(0x22b)])==null?void 0x0:_0x40a1da['reqId'])&&(this['resend'](),this[_0x33ca66(0x2b2)]=_0x32ac11===0x0?0x3e8:_0x32ac11*0x2);}[_0x1c91cb(0x3f5)](){const _0x54384f=_0x1c91cb;var _0xc45bb6;(_0xc45bb6=this['_sender'])==null||_0xc45bb6[_0x54384f(0x2ca)](),this[_0x54384f(0x2b2)]=0x0;}};Te=$e([A(0x4,_0x5beccd(_0x21398d)),A(0x5,_0x5beccd(_0x122db5)),A(0x6,_0x5beccd(z)),A(0x7,_0x3abf69),A(0x8,_0x535daf),A(0x9,_0x3e892f),A(0xa,_0x3ac068)],Te);let me=class extends He{constructor(_0x3a53ed,_0x4470c7,_0x5c6b31,_0x1046d9,_0x5e877e,_0x46cbee,_0x188797,_0x1e4ca3,_0x4a0092,_0x55ac9b,_0x5e3a27,_0x34bd0e,_0x4ee80a){const _0x566b69=_0x1c91cb;super(_0x3a53ed,_0x4470c7,_0x5c6b31,_0x1046d9,_0x5e877e,_0x55ac9b,_0x4ee80a,_0x1e4ca3,_0x4a0092),g(this,_0x566b69(0xf0),_0x566b69(0x325)),g(this,_0x566b69(0x2b2),0x0),g(this,_0x566b69(0x31d)),g(this,'_sender'),(this[_0x566b69(0x29f)]=_0x188797,this[_0x566b69(0x2fc)]=_0x5e3a27,this[_0x566b69(0x247)]=_0x34bd0e,_0x46cbee&&(this['_resendTimer']=_0x46cbee,this[_0x566b69(0x171)]=this[_0x566b69(0x31d)][_0x566b69(0x432)](({reqId:_0x42bb46,timeout:_0x4727bd})=>{const _0xf19e73=_0x566b69;this[_0xf19e73(0x1b5)](_0x42bb46,_0x4727bd);})));}[_0x1c91cb(0x271)](_0x40c567){const _0x5a1a95=_0x1c91cb;return this[_0x5a1a95(0x1b7)]['push'](_0x40c567),this;}[_0x1c91cb(0x174)](_0x3a3018){const _0x4d2cef=_0x1c91cb;if(this[_0x4d2cef(0x45c)](_0x3a3018))return this[_0x4d2cef(0x3f5)](),this[_0x4d2cef(0x29f)]['createInstance'](ce,this[_0x4d2cef(0x1ab)],this[_0x4d2cef(0x4c3)],this[_0x4d2cef(0x22b)],this[_0x4d2cef(0x1b7)],null,[_0x3a3018],this[_0x4d2cef(0x1ac)]);try{const _0x537f40=this[_0x4d2cef(0x247)]['transformChangesets']([_0x3a3018],[this[_0x4d2cef(0x22b)]],!0x1);if(_0x1830da(_0x537f40)){const {c1Prime:_0x41d3c3,c2Prime:_0x38aacb}=_0x537f40,_0x1162aa=this[_0x4d2cef(0x247)][_0x4d2cef(0x2fa)](_0x41d3c3[0x0],this[_0x4d2cef(0x1b7)]);if(_0x9a9448(_0x1162aa)){const {c1Prime:_0x2687f0,m2Prime:_0x3fe470}=_0x1162aa;return this['_executeRemoteChangeset'](_0x2687f0),_0x38aacb[0x0][_0x4d2cef(0x263)]=this['_getCurrentRevision'](),this[_0x4d2cef(0x3f5)](),this[_0x4d2cef(0x29f)][_0x4d2cef(0x36b)](me,this[_0x4d2cef(0x1ab)],this['type'],_0x38aacb[0x0],_0x3fe470,this[_0x4d2cef(0x1ac)],void 0x0);}throw _0x1162aa[_0x4d2cef(0x4d3)];}throw _0x537f40[_0x4d2cef(0x4d3)];}catch(_0x50f2d7){return this[_0x4d2cef(0x2fc)][_0x4d2cef(0x4d3)](_0x50f2d7),this[_0x4d2cef(0x20e)](!0x1);}}[_0x1c91cb(0x4a6)](_0x157f73){const _0xde791b=_0x1c91cb;if(this[_0xde791b(0x3f5)](),this[_0xde791b(0x45c)](_0x157f73))return this[_0xde791b(0x29f)]['createInstance'](ce,this['unitID'],this[_0xde791b(0x4c3)],null,this[_0xde791b(0x1b7)],this[_0xde791b(0x22b)],[],this[_0xde791b(0x1ac)]);this[_0xde791b(0x2df)]();const _0x256e42=this[_0xde791b(0x29f)][_0xde791b(0x36b)](pe,this[_0xde791b(0x1ab)],this[_0xde791b(0x4c3)],this[_0xde791b(0x1b7)],this[_0xde791b(0x1ac)]);return _0x256e42[_0xde791b(0x340)](),_0x256e42[_0xde791b(0x4e5)](),_0x256e42;}[_0x1c91cb(0x381)](_0x317287){const _0x49602c=_0x1c91cb;return this['_onConflict'](!!(_0x317287!=null&&_0x317287[_0x49602c(0x253)]));}[_0x1c91cb(0x362)](_0xdeb3f8){const _0x341588=_0x1c91cb;return this[_0x341588(0x2b2)]>Xi?this[_0x341588(0x430)]():(this[_0x341588(0x31d)]=zi(this[_0x341588(0x2b2)],{'timeout':this['_resendTimeout'],'reqId':_0xdeb3f8[_0x341588(0x1e8)]}),this[_0x341588(0x171)]=this[_0x341588(0x31d)][_0x341588(0x432)](({reqId:_0x3aa1f2,timeout:_0x2cb804})=>{const _0x240b65=_0x341588;this[_0x240b65(0x1b5)](_0x3aa1f2,_0x2cb804);}),this);}[_0x1c91cb(0x430)](){const _0x34f34e=_0x1c91cb;return this[_0x34f34e(0x3f5)](),this['_injector'][_0x34f34e(0x36b)](Oe,this[_0x34f34e(0x1ab)],this['type'],this[_0x34f34e(0x22b)],this[_0x34f34e(0x1b7)],this['_handler']);}[_0x1c91cb(0x213)](){return this;}[_0x1c91cb(0x47c)](){const _0x3d40a3=_0x1c91cb;this[_0x3d40a3(0x1ac)][_0x3d40a3(0x314)](this['_awaitingChangeset']);}['_onConflict'](_0x5647a1){const _0x3e3abc=_0x1c91cb;return this[_0x3e3abc(0x3f5)](),this[_0x3e3abc(0x29f)][_0x3e3abc(0x36b)](Re,this[_0x3e3abc(0x1ab)],this[_0x3e3abc(0x4c3)],null,this[_0x3e3abc(0x1b7)],this[_0x3e3abc(0x1ac)],_0x5647a1);}[_0x1c91cb(0x1b5)](_0x4d776a,_0x5db9b2){const _0x3daeca=_0x1c91cb;var _0x4480f0;_0x4d776a===((_0x4480f0=this['_awaitingChangeset'])==null?void 0x0:_0x4480f0[_0x3daeca(0x1e8)])&&(this['resend'](),this[_0x3daeca(0x2b2)]=_0x5db9b2===0x0?0x3e8:_0x5db9b2*0x2);}[_0x1c91cb(0x3f5)](){const _0xced149=_0x1c91cb;var _0x1fc19d;(_0x1fc19d=this[_0xced149(0x171)])==null||_0x1fc19d[_0xced149(0x2ca)](),this['_resendTimeout']=0x0;}};me=$e([A(0x6,_0x5beccd(_0x21398d)),A(0x7,_0x5beccd(_0x122db5)),A(0x8,_0x5beccd(z)),A(0x9,_0x3abf69),A(0xa,_0x535daf),A(0xb,_0x3e892f),A(0xc,_0x3ac068)],me);let Re=class extends He{constructor(_0x53a946,_0x582640,_0x3225e4,_0x228109,_0x543826,_0x449ec2=!0x1,_0x16b7a8,_0x466d63,_0x2f5615,_0x25292a,_0x9f5a04,_0x40e483,_0xce5e54){const _0x41aa54=_0x1c91cb;super(_0x53a946,_0x582640,_0x3225e4,_0x228109,_0x543826,_0x466d63,_0x2f5615,_0x9f5a04,_0x25292a),g(this,_0x41aa54(0xf0),'conflict'),(this[_0x41aa54(0x4d8)]=_0x449ec2,this[_0x41aa54(0x1bb)]=_0x16b7a8,this[_0x41aa54(0x2f9)]=_0x40e483,this['_notificationService']=_0xce5e54,this[_0x41aa54(0x3e0)](),this[_0x41aa54(0x3ed)](),this[_0x41aa54(0x2de)]());}[_0x1c91cb(0x271)](){return this;}['onRemoteChangeset'](){return this;}[_0x1c91cb(0x4a6)](){return this;}['onRemoteRej'](){return this;}[_0x1c91cb(0x362)](){return this;}['toggleOffline'](){return this;}[_0x1c91cb(0x213)](){return this;}[_0x1c91cb(0x47c)](){const _0x187bab=_0x1c91cb;throw new Error(_0x187bab(0x166));}[_0x1c91cb(0x3ed)](){const _0x3f5d82=_0x1c91cb;this[_0x3f5d82(0x38e)][_0x3f5d82(0x3fb)](this[_0x3f5d82(0x1ab)],this['type'],null,[]);}[_0x1c91cb(0x3e0)](){const _0x5b2019=_0x1c91cb;this['_isPermissionRej']?this[_0x5b2019(0x23a)][_0x5b2019(0x2d0)]({'title':this[_0x5b2019(0x2f9)]['t'](_0x5b2019(0x3c9)),'content':this[_0x5b2019(0x2f9)]['t'](_0x5b2019(0x2ba)),'type':_0x5b2019(0x4d3),'duration':0x0}):this[_0x5b2019(0x23a)][_0x5b2019(0x2d0)]({'title':this[_0x5b2019(0x2f9)]['t'](_0x5b2019(0x3fa)),'content':this[_0x5b2019(0x2f9)]['t'](_0x5b2019(0x131)),'type':'error','duration':0x0});}[_0x1c91cb(0x2de)](){const _0x1dedf0=_0x1c91cb;this['_permissionService'][_0x1dedf0(0x3b1)](new _0x203d63(this['unitID'])['id'],!0x1);}};Re=$e([A(0x6,_0x5beccd(_0x143818)),A(0x7,_0x3abf69),A(0x8,_0x3ac068),A(0x9,_0x5beccd(z)),A(0xa,_0x5beccd(_0x122db5)),A(0xb,_0x5beccd(_0x1f9468)),A(0xc,_0x5eb221)],Re);let Oe=class extends He{constructor(_0x4ea02c,_0x1d0ff1,_0x4240bf,_0x473f8c,_0x49a8a2,_0x230567,_0x3a47cc,_0x2e13ab,_0x8456c8,_0x4e3b99){const _0x3e675b=_0x1c91cb;super(_0x4ea02c,_0x1d0ff1,_0x4240bf,_0x473f8c,_0x49a8a2,_0x8456c8,_0x4e3b99,_0x3a47cc,_0x2e13ab),g(this,'status',_0x3e675b(0x4c8)),this['_injector']=_0x230567;}[_0x1c91cb(0x271)](_0x5d1df3){const _0x1b06a5=_0x1c91cb;return this[_0x1b06a5(0x1b7)][_0x1b06a5(0x4c1)](_0x5d1df3),this[_0x1b06a5(0x4e5)](),this;}[_0x1c91cb(0x174)](_0xec45a1){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1c91cb(0x4a6)](){const _0x575e47=_0x1c91cb;throw new Error(_0x575e47(0x40c));}['onRemoteRej'](){const _0x217f00=_0x1c91cb;throw new Error(_0x217f00(0x343));}['onRemoteRetry'](){return this;}[_0x1c91cb(0x430)](){return this;}[_0x1c91cb(0x213)](){const _0xea3165=_0x1c91cb,{_injector:_0x1480fc,_pendingMutations:_0x38970b,_awaitingChangeset:_0x52057f,unitID:_0x2300eb,_handler:_0x2867c6,type:_0x519e68}=this,_0x3c13a2=Ji(_0x1480fc,_0x2300eb,_0x519e68,_0x52057f,_0x38970b,_0x2867c6);return _0x3c13a2 instanceof pe?_0x3c13a2['_schedule']():(_0x3c13a2 instanceof me||_0x3c13a2 instanceof Te)&&_0x3c13a2[_0xea3165(0x47c)](),_0x3c13a2;}['resend'](){const _0x1ce505=_0x1c91cb;throw new Error(_0x1ce505(0x4ec));}};Oe=$e([A(0x5,_0x5beccd(_0x21398d)),A(0x6,_0x5beccd(_0x122db5)),A(0x7,_0x5beccd(z)),A(0x8,_0x3abf69),A(0x9,_0x3ac068)],Oe);let ce=class extends He{constructor(_0x4df7c0,_0x106589,_0x191ecd,_0x5846bb,_0x493d6c,_0x10f7e0,_0x385ead,_0x1dd2bd,_0x2f7148,_0x53b749,_0x50369d,_0x16f77e,_0x54a52c,_0x1e34cd){const _0x2aed72=_0x1c91cb;super(_0x4df7c0,_0x106589,_0x191ecd,_0x5846bb,_0x385ead,_0x16f77e,_0x54a52c,_0x2f7148,_0x53b749),g(this,_0x2aed72(0xf0),_0x2aed72(0x210)),(this[_0x2aed72(0x3af)]=_0x493d6c,this['_queuedRemoteChangesets']=_0x10f7e0,this[_0x2aed72(0x29f)]=_0x1dd2bd,this[_0x2aed72(0x2fc)]=_0x50369d,this['_transformService']=_0x1e34cd);}[_0x1c91cb(0x4bc)](_0x22f572){const _0x594967=_0x1c91cb;try{const _0x37466a=[..._0x22f572,...this[_0x594967(0x431)]],_0x47df4a=[this[_0x594967(0x22b)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x5216aa=>!!_0x5216aa);let _0x52d8a0,_0x1319ac;if(_0x47df4a[_0x594967(0x38b)]){const _0x33db33=this[_0x594967(0x247)][_0x594967(0x285)](_0x37466a,_0x47df4a,!0x1);if(!_0x1830da(_0x33db33))throw _0x33db33[_0x594967(0x4d3)];_0x52d8a0=_0x33db33[_0x594967(0x1f2)],_0x1319ac=_0x33db33[_0x594967(0x3dd)];}else _0x52d8a0=_0x37466a,_0x1319ac=[];let _0x50a966=this[_0x594967(0x1b7)];_0x52d8a0[_0x594967(0x180)](_0x4f6fba=>{const _0x3098a9=_0x594967;let _0xc0bb03;if(_0x50a966['length']){const _0x19094a=this[_0x3098a9(0x247)][_0x3098a9(0x2fa)](_0x4f6fba,_0x50a966);if(!_0x9a9448(_0x19094a))throw _0x19094a['error'];_0xc0bb03=_0x19094a[_0x3098a9(0x1f2)],_0x50a966=_0x19094a['m2Prime'];}else _0xc0bb03=_0x4f6fba;this[_0x3098a9(0x4f9)](_0xc0bb03);}),this[_0x594967(0x3af)]&&this[_0x594967(0x2df)](),this[_0x594967(0x22b)]&&_0x1319ac[_0x594967(0x38b)]&&(_0x1319ac[0x0][_0x594967(0x263)]=this['_getCurrentRevision']());let _0x102fc5;if(this['_awaitingChangeset']&&_0x50a966[_0x594967(0x38b)]!==0x0)_0x102fc5=this[_0x594967(0x29f)][_0x594967(0x36b)](me,this[_0x594967(0x1ab)],this[_0x594967(0x4c3)],_0x1319ac[0x0],_0x50a966,this['_handler'],void 0x0);else{if(this[_0x594967(0x22b)]&&_0x50a966[_0x594967(0x38b)]===0x0)_0x1319ac[0x0][_0x594967(0x263)]=this[_0x594967(0x503)](),_0x102fc5=this[_0x594967(0x29f)][_0x594967(0x36b)](Te,this['unitID'],this[_0x594967(0x4c3)],_0x1319ac[0x0],this[_0x594967(0x1ac)]);else{if(_0x50a966[_0x594967(0x38b)]!==0x0){const _0x2a6d33=this['_injector'][_0x594967(0x36b)](pe,this['unitID'],this[_0x594967(0x4c3)],_0x50a966,this[_0x594967(0x1ac)]);_0x2a6d33[_0x594967(0x340)](),_0x102fc5=_0x2a6d33;}else _0x102fc5=this[_0x594967(0x29f)][_0x594967(0x36b)](Fe,this['unitID'],this['type'],this[_0x594967(0x1ac)]);}}return _0x102fc5['_updateLocalCache'](),_0x102fc5;}catch(_0x185c38){return this[_0x594967(0x2fc)][_0x594967(0x4d3)](_0x594967(0x4a5),_0x594967(0x2b4),_0x185c38),this[_0x594967(0x29f)]['createInstance'](Re,this[_0x594967(0x1ab)],this[_0x594967(0x4c3)],this['_awaitingChangeset'],this[_0x594967(0x1b7)],this['_handler'],!0x1);}}['resend'](){const _0x45ae20=_0x1c91cb;throw new Error(_0x45ae20(0x243));}[_0x1c91cb(0x271)](_0x4abfbd){const _0x381a9e=_0x1c91cb;return this[_0x381a9e(0x1b7)][_0x381a9e(0x4c1)](_0x4abfbd),this;}[_0x1c91cb(0x174)](_0x4af9c9){const _0x2bfafc=_0x1c91cb;return this[_0x2bfafc(0x431)][_0x2bfafc(0x4c1)](_0x4af9c9),this;}['onRemoteAck'](_0x4e213a){const _0x116e00=_0x1c91cb;if(this[_0x116e00(0x22b)])return this['_acknowledgedAwaitingChangeset']=this[_0x116e00(0x22b)],this[_0x116e00(0x22b)]=null,this;throw new Error(_0x116e00(0x461));}[_0x1c91cb(0x381)](_0x1bb4ad){const _0x14ede0=_0x1c91cb;return this['_onConflict'](!!(_0x1bb4ad!=null&&_0x1bb4ad[_0x14ede0(0x253)]));}['onRemoteRetry'](){return this;}[_0x1c91cb(0x430)](){const _0x2b3a01=_0x1c91cb;return this[_0x2b3a01(0x29f)][_0x2b3a01(0x36b)](Oe,this[_0x2b3a01(0x1ab)],this[_0x2b3a01(0x4c3)],this['_awaitingChangeset'],this[_0x2b3a01(0x1b7)],this[_0x2b3a01(0x1ac)]);}['toggleOnline'](){return this;}[_0x1c91cb(0x20e)](_0x3330ff){const _0x543ab3=_0x1c91cb;return this['_injector'][_0x543ab3(0x36b)](Re,this['unitID'],this[_0x543ab3(0x4c3)],this['_awaitingChangeset'],this[_0x543ab3(0x1b7)],this[_0x543ab3(0x1ac)],_0x3330ff);}};ce=$e([A(0x7,_0x5beccd(_0x21398d)),A(0x8,_0x5beccd(_0x122db5)),A(0x9,_0x5beccd(z)),A(0xa,_0x535daf),A(0xb,_0x3abf69),A(0xc,_0x3ac068),A(0xd,_0x3e892f)],ce);function Ji(_0x570b07,_0x11fcf4,_0xd21dad,_0x5888c1,_0x2d4905,_0x157e30){const _0xbb146a=_0x1c91cb;return _0x5888c1&&_0x2d4905[_0xbb146a(0x38b)]?_0x570b07[_0xbb146a(0x36b)](me,_0x11fcf4,_0xd21dad,_0x5888c1,_0x2d4905,_0x157e30,void 0x0):_0x5888c1?_0x570b07[_0xbb146a(0x36b)](Te,_0x11fcf4,_0xd21dad,_0x5888c1,_0x157e30):_0x2d4905['length']?_0x570b07[_0xbb146a(0x36b)](pe,_0x11fcf4,_0xd21dad,_0x2d4905,_0x157e30):_0x570b07[_0xbb146a(0x36b)](Fe,_0x11fcf4,_0xd21dad,_0x157e30);}var Mo=Object[_0x1c91cb(0x502)],xo=Object[_0x1c91cb(0x439)],Ps=(_0x1bc000,_0x573770,_0x382275,_0x460f6d)=>{const _0x542928=_0x1c91cb;for(var _0x23dd35=_0x460f6d>0x1?void 0x0:_0x460f6d?xo(_0x573770,_0x382275):_0x573770,_0x575e5d=_0x1bc000[_0x542928(0x38b)]-0x1,_0x4d8835;_0x575e5d>=0x0;_0x575e5d--)(_0x4d8835=_0x1bc000[_0x575e5d])&&(_0x23dd35=(_0x460f6d?_0x4d8835(_0x573770,_0x382275,_0x23dd35):_0x4d8835(_0x23dd35))||_0x23dd35);return _0x460f6d&&_0x23dd35&&Mo(_0x573770,_0x382275,_0x23dd35),_0x23dd35;},H=(_0x589c69,_0x224d1e)=>(_0x444572,_0x55c542)=>_0x224d1e(_0x444572,_0x55c542,_0x589c69);let Nt=class extends _0x30a9be{constructor(_0x3bd42b,_0x4b18bc,_0x31863d,_0x2ff4fd,_0x2dd080,_0x526803,_0x11da32,_0x2c87d2,_0x580060,_0x4d306e,_0x1f6899,_0x4f4b0c,_0x141326){const _0x3f336d=_0x1c91cb;super(),g(this,'_state$',new _0x3eae3e(null)),g(this,'state$',this['_state$'][_0x3f336d(0x141)]()),g(this,_0x3f336d(0x3a6)),g(this,_0x3f336d(0x438),!0x1),g(this,_0x3f336d(0x12c),''),g(this,_0x3f336d(0x4ed),0x0),g(this,_0x3f336d(0x3b5),this[_0x3f336d(0x1a7)][_0x3f336d(0x1c3)](_0x22336c(_0x20bfd3=>_0x20bfd3?_0x20bfd3[_0x3f336d(0xf0)]:J[_0x3f336d(0x12d)]),_0x527819(0x1))),g(this,_0x3f336d(0x22e),!0x1),g(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x3bd42b,this[_0x3f336d(0x3f0)]=_0x4b18bc,this['_type']=_0x31863d,this['_injector']=_0x2ff4fd,this['_localCacheService']=_0x2dd080,this[_0x3f336d(0x4b9)]=_0x526803,this[_0x3f336d(0x2f9)]=_0x11da32,this[_0x3f336d(0x339)]=_0x2c87d2,this['_logService']=_0x580060,this[_0x3f336d(0x281)]=_0x4d306e,this[_0x3f336d(0x4bf)]=_0x1f6899,this[_0x3f336d(0x1bb)]=_0x4f4b0c,this['_singleActiveUnitService']=_0x141326);}get[_0x1c91cb(0x406)](){return this['_state'];}async['init'](){const _0x316035=_0x1c91cb;if(this[_0x316035(0x406)])throw new Error(_0x316035(0x26b));await this[_0x316035(0x1ea)]();}['pauseCollaboration'](){const _0x589719=_0x1c91cb;return this[_0x589719(0x438)]=!0x0,_0x20cd7e(()=>{const _0xc83d3=_0x589719;this[_0xc83d3(0x438)]=!0x1,this[_0xc83d3(0x1e6)]();});}[_0x1c91cb(0x2d1)](_0xdc4514){const _0x4eb9d4=_0x1c91cb;this[_0x4eb9d4(0x3a6)]=_0xdc4514,this['_state$'][_0x4eb9d4(0x1eb)](_0xdc4514);}async['_init'](){const _0x2e52a5=_0x1c91cb;var _0x3efab6;this['_updateState'](await this['_createInitialState']()),this[_0x2e52a5(0x3d9)]&&((_0x3efab6=this[_0x2e52a5(0x3d9)])==null||_0x3efab6[_0x2e52a5(0x4ae)](this[_0x2e52a5(0x1ab)]),this[_0x2e52a5(0x29c)](this[_0x2e52a5(0x3d9)]['getUnitStatus$'](this['unitID'])[_0x2e52a5(0x432)](_0x3ca654=>{const _0x114642=_0x2e52a5;this[_0x114642(0x2fc)][_0x114642(0x238)]('[CollaborationEntity]',_0x114642(0x1f3),_0x3ca654),_0x3ca654===Ki[_0x114642(0x2d2)]?(this[_0x114642(0x4bf)]['show']({'content':this[_0x114642(0x2f9)]['t'](_0x114642(0x34c)),'type':_0x25a468['Warning']}),this[_0x114642(0x1bb)][_0x114642(0x3b1)](new _0x203d63(this[_0x114642(0x1ab)])['id'],!0x1),this[_0x114642(0x1bb)][_0x114642(0x48b)](!0x1)):(this['_permissionService'][_0x114642(0x3b1)](new _0x203d63(this[_0x114642(0x1ab)])['id'],!0x0),this['_permissionService'][_0x114642(0x48b)](!0x0));})));let _0x3ce8ef=!0x1;return this[_0x2e52a5(0x29c)](this[_0x2e52a5(0x3f0)][_0x2e52a5(0x295)][_0x2e52a5(0x432)](_0x161217=>{const _0x3cafce=_0x2e52a5;_0x161217===fe[_0x3cafce(0x4a3)]?this[_0x3cafce(0x223)](_0x3ce8ef):_0x161217===fe[_0x3cafce(0x12d)]&&(_0x3ce8ef=!0x0,this[_0x3cafce(0x3ce)]());})),this[_0x2e52a5(0x29c)](this[_0x2e52a5(0x3f0)][_0x2e52a5(0x278)]['subscribe'](_0x3f2299=>{const _0x5a233a=_0x2e52a5;try{switch(_0x3f2299[_0x5a233a(0x42b)]){case _0x596510[_0x5a233a(0x105)]:{this[_0x5a233a(0x200)](_0x2b33ab(_0x3f2299[_0x5a233a(0x202)]));break;}case _0x596510[_0x5a233a(0x376)]:{this[_0x5a233a(0x436)](_0x3f2299[_0x5a233a(0x202)]);break;}case _0x596510[_0x5a233a(0x3b4)]:{this[_0x5a233a(0x37d)]();break;}case _0x596510[_0x5a233a(0x111)]:{this[_0x5a233a(0x261)](_0x3f2299[_0x5a233a(0x202)]);break;}case _0x596510[_0x5a233a(0x143)]:{this[_0x5a233a(0x3c4)](_0x3f2299[_0x5a233a(0x202)][_0x5a233a(0x1ad)][_0x5a233a(0x3da)](_0x2f53df=>_0x2b33ab(_0x2f53df)));break;}case _0x596510[_0x5a233a(0x2bf)]:this[_0x5a233a(0x37d)]({'isPermissionRej':!0x0});}}catch(_0x228a34){throw console[_0x5a233a(0x4d3)]('Error\x20on\x20receiving\x20event',_0x228a34),_0x228a34;}})),this[_0x2e52a5(0x3a6)];}[_0x1c91cb(0x3a2)](){const _0xb550ae=_0x1c91cb;this[_0xb550ae(0x22e)]=!0x1;}[_0x1c91cb(0x1e3)](){const _0x17001c=_0x1c91cb;if(this[_0x17001c(0x22e)])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[_0x17001c(0x22e)]=!0x0;}[_0x1c91cb(0x372)](_0x5b1207){const _0xbd01ac=_0x1c91cb;this[_0xbd01ac(0x1e3)](),this[_0xbd01ac(0x2d1)](this['_state'][_0xbd01ac(0x271)](_0x5b1207)),this[_0xbd01ac(0x3a2)]();}['_onRemoteChangeset'](_0x793407){const _0x2f7fb7=_0x1c91cb;if(!(_0x793407['revision']<=this[_0x2f7fb7(0x339)][_0x2f7fb7(0x448)](this[_0x2f7fb7(0x1ab)]))){if(this['_collaborationPaused']){this[_0x2f7fb7(0x500)][_0x2f7fb7(0x4c1)](_0x793407);return;}this[_0x2f7fb7(0x4b0)](_0x793407);}}['_exhaustRemoteChangesetQueue'](){const _0xa96ef9=_0x1c91cb;this[_0xa96ef9(0x500)]['forEach'](_0x779936=>this['_applyRemoteChangeset'](_0x779936)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x286636){const _0x5ba3eb=_0x1c91cb,_0x352cc6=this[_0x5ba3eb(0x4b9)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x286636[_0x5ba3eb(0x2e4)],null)||_0x286636[_0x5ba3eb(0x2e4)],_0x572179={..._0x286636,'mutations':_0x352cc6};this[_0x5ba3eb(0x1e3)](),this[_0x5ba3eb(0x2d1)](this['_state'][_0x5ba3eb(0x174)](_0x572179)),this[_0x5ba3eb(0x3a2)]();}[_0x1c91cb(0x436)](_0x2a2819){const _0x540b63=_0x1c91cb;this['_lockTransition'](),this[_0x540b63(0x2d1)](this[_0x540b63(0x3a6)][_0x540b63(0x4a6)](_0x2a2819)),this[_0x540b63(0x3a2)]();}['_onRemoteRejected'](_0x127a23){const _0x317c5a=_0x1c91cb;this['_lockTransition'](),this[_0x317c5a(0x2d1)](this[_0x317c5a(0x3a6)][_0x317c5a(0x381)](_0x127a23)),this['_unlockTransition']();}[_0x1c91cb(0x261)](_0x2f5c96){const _0x308c93=_0x1c91cb;this[_0x308c93(0x1e3)](),this[_0x308c93(0x2d1)](this[_0x308c93(0x3a6)][_0x308c93(0x362)](_0x2f5c96)),this[_0x308c93(0x3a2)]();}[_0x1c91cb(0x3c4)](_0x87b8df){const _0x532c06=_0x1c91cb;if(!(this[_0x532c06(0x3a6)]instanceof ce))throw new TypeError(_0x532c06(0x4fd));const _0x5b67dd=_0x87b8df[_0x532c06(0x3da)](_0xd3fba6=>{const _0x1eb39f=_0x532c06,_0x5ecbb2=this[_0x1eb39f(0x4b9)][_0x1eb39f(0x2a3)][_0x1eb39f(0x3a1)](this[_0x1eb39f(0x4b9)][_0x1eb39f(0x2a3)][_0x1eb39f(0x4ad)]()[_0x1eb39f(0x214)])(_0xd3fba6[_0x1eb39f(0x2e4)],null)||_0xd3fba6[_0x1eb39f(0x2e4)];return{..._0xd3fba6,'mutations':_0x5ecbb2};});this[_0x532c06(0x1e3)](),this[_0x532c06(0x2d1)](this[_0x532c06(0x3a6)][_0x532c06(0x4bc)](_0x5b67dd)),this['_unlockTransition']();}['_toggleOffline'](){const _0x56ab9b=_0x1c91cb;this[_0x56ab9b(0x1e3)](),this['_updateState'](this[_0x56ab9b(0x3a6)][_0x56ab9b(0x430)]()),this[_0x56ab9b(0x3a2)]();}['_toggleOnline'](_0x2e2a76=!0x1){const _0x2893c6=_0x1c91cb;this[_0x2893c6(0x1e3)](),this[_0x2893c6(0x2d1)](this[_0x2893c6(0x3a6)][_0x2893c6(0x213)]()),this[_0x2893c6(0x3a2)]();const _0x29510d=this['_state'];_0x2e2a76&&_0x29510d instanceof Fe&&(this[_0x2893c6(0x1e3)](),this['_updateState'](_0x29510d['fetchMiss']()),this[_0x2893c6(0x3a2)]());}async[_0x1c91cb(0x42e)](){return new Promise(_0xe01b63=>{const _0x3dbce0=_0x1b68;this['session'][_0x3dbce0(0x295)][_0x3dbce0(0x1c3)](_0xc66db6(0x1))['subscribe'](async _0x577e5e=>{const _0x29223f=_0x3dbce0;_0xe01b63(await this[_0x29223f(0x363)](_0x577e5e===fe[_0x29223f(0x4a3)]));});});}[_0x1c91cb(0x2af)](){const _0x246f2e=_0x1c91cb,_0x145bc7=this[_0x246f2e(0x1ab)];return{'onStateChange':(_0x5a3f24,_0xc46999)=>{const _0x3b874c=_0x246f2e;if(_0x5a3f24!==this[_0x3b874c(0x3a6)])throw new Error(_0x3b874c(0x289)+_0x5a3f24[_0x3b874c(0xf0)]+_0x3b874c(0x33c)+_0xc46999['status']+_0x3b874c(0xee)+this[_0x3b874c(0x3a6)][_0x3b874c(0xf0)]);this['_updateState'](_0xc46999);},'onSendChangeset':_0xbd5544=>{const _0x54f098=_0x246f2e;_0xbd5544['sid']||(_0xbd5544[_0x54f098(0x251)]=this[_0x54f098(0x12c)],_0xbd5544[_0x54f098(0x1e8)]=++this['_changesetReqId']);const _0x18e415={'eventID':_0x596510[_0x54f098(0x304)],'data':{'unitID':_0xbd5544[_0x54f098(0x1ab)],'unitType':this[_0x54f098(0x409)],'changeset':_0xbd5544,'memberID':this[_0x54f098(0x3f0)]['getMemberID']()}};this[_0x54f098(0x3f0)][_0x54f098(0x2f4)](_0x18e415,this['unitID']);},'onMissingChangesets':({from:_0x25b4de,to:_0xc21ad7})=>{const _0x592a08=_0x246f2e;this[_0x592a08(0x2fc)][_0x592a08(0x238)](_0x592a08(0x3ba),_0x592a08(0x443)+_0x25b4de+_0x592a08(0x216)+_0xc21ad7);const _0x5c18ea={'eventID':_0x596510[_0x592a08(0x4af)],'data':{'unitID':_0x145bc7,'unitType':this[_0x592a08(0x409)],'from':_0x25b4de,'to':_0xc21ad7}};this[_0x592a08(0x3f0)][_0x592a08(0x2f4)](_0x5c18ea,this['unitID']);}};}async[_0x1c91cb(0x363)](_0x493c2a){const _0x4a6b3b=_0x1c91cb;var _0x4d4118,_0x25cb54;const _0x4a8d9e=await this[_0x4a6b3b(0x38e)][_0x4a6b3b(0x353)](this['unitID']),_0x5867d9=(_0x4d4118=_0x4a8d9e==null?void 0x0:_0x4a8d9e[_0x4a6b3b(0x2e4)])!=null?_0x4d4118:[],_0x510c17=(_0x25cb54=_0x4a8d9e==null?void 0x0:_0x4a8d9e[_0x4a6b3b(0x177)])!=null?_0x25cb54:null,_0x10967e=!!(_0x510c17!=null&&_0x510c17['sid'])&&!!(_0x510c17!=null&&_0x510c17[_0x4a6b3b(0x1e8)]);this[_0x4a6b3b(0x12c)]=_0x10967e?_0x510c17[_0x4a6b3b(0x251)]:ho(),this['_changesetReqId']=_0x10967e?_0x510c17[_0x4a6b3b(0x1e8)]:0x0;const _0xf2309a=this[_0x4a6b3b(0x1ab)];try{this[_0x4a6b3b(0x124)](_0x510c17,_0x5867d9);}catch(_0x5225c5){this[_0x4a6b3b(0x2fc)][_0x4a6b3b(0x4d3)](_0x5225c5);}const _0x41ed27=this[_0x4a6b3b(0x2af)]();if(_0x493c2a){const _0x545552=Ji(this['_injector'],_0xf2309a,this[_0x4a6b3b(0x409)],_0x510c17,_0x5867d9,_0x41ed27);return _0x545552 instanceof pe?_0x545552[_0x4a6b3b(0x340)]():(_0x545552 instanceof me||_0x545552 instanceof Te)&&_0x545552[_0x4a6b3b(0x47c)](),_0x545552;}return this[_0x4a6b3b(0x29f)]['createInstance'](Oe,_0xf2309a,this['_type'],_0x510c17,_0x5867d9,_0x41ed27);}[_0x1c91cb(0x124)](_0x37cf42,_0xaecfdb){const _0x377f1b=_0x1c91cb;var _0x9cf42c,_0xabeef;const _0x356f88=this[_0x377f1b(0x4b9)][_0x377f1b(0x2a3)][_0x377f1b(0x3a1)](this['_compressMutationService'][_0x377f1b(0x2a3)]['getInterceptPoints']()[_0x377f1b(0x214)]);(_0x9cf42c=_0x356f88((_0x37cf42==null?void 0x0:_0x37cf42[_0x377f1b(0x2e4)])||[],null))==null||_0x9cf42c['forEach'](_0x1aa5c3=>this[_0x377f1b(0x281)][_0x377f1b(0x407)](_0x1aa5c3['id'],_0x1aa5c3[_0x377f1b(0x335)])),(_0xabeef=_0x356f88(_0xaecfdb||[],null))==null||_0xabeef['forEach'](_0x20b6fc=>this[_0x377f1b(0x281)][_0x377f1b(0x407)](_0x20b6fc['id'],_0x20b6fc[_0x377f1b(0x335)]));}};Nt=Ps([H(0x3,_0x5beccd(_0x21398d)),H(0x4,_0x5beccd(z)),H(0x5,_0x5beccd(_0xd5c410)),H(0x6,_0x5beccd(_0x1f9468)),H(0x7,_0x5beccd(_0x122db5)),H(0x8,_0x535daf),H(0x9,_0x3abf69),H(0xa,_0x452fb7),H(0xb,_0x143818),H(0xc,_0x231330(jt))],Nt);let ls=class extends Nt{constructor(_0x43cc03,_0x5ed22a,_0x4b5d02,_0x134f8a,_0x40dbd1,_0x3ea39d,_0x8aa9ed,_0x3d4d2e,_0x552729,_0x3e8a97,_0x16d2f1,_0x10bbd0,_0x5733af,_0x470ec0,_0x38a3a1,_0x5e28c1,_0x2ad7ab,_0x42cea0){const _0x1d280d=_0x1c91cb;super(_0x43cc03,_0x4b5d02,_0x5ed22a,_0x134f8a,_0x40dbd1,_0x3ea39d,_0x8aa9ed,_0x3d4d2e,_0x470ec0,_0x38a3a1,_0x5e28c1,_0x2ad7ab,_0x42cea0),this[_0x1d280d(0x1ab)]=_0x43cc03,this[_0x1d280d(0x4c3)]=_0x5ed22a,this[_0x1d280d(0x3c0)]=_0x552729,this[_0x1d280d(0x4e1)]=_0x3e8a97,this[_0x1d280d(0x396)]=_0x16d2f1,this['_docTransformSelectionsService']=_0x10bbd0,this[_0x1d280d(0x495)]=_0x5733af;}['_createHandler'](){const _0x25cad4=_0x1c91cb,_0x5da020=super[_0x25cad4(0x2af)]();return _0x5da020[_0x25cad4(0x38c)]=_0x56237d=>this[_0x25cad4(0x4e1)]['transformIMECache'](_0x56237d),_0x5da020[_0x25cad4(0x383)]=_0x417fbb=>this[_0x25cad4(0x396)][_0x25cad4(0x306)](_0x417fbb),_0x5da020[_0x25cad4(0x485)]=_0x534046=>this['_docTransformSelectionsService'][_0x25cad4(0x1cf)](_0x534046),_0x5da020['onSyncEditingCollabCursor']=_0x37f7ea=>this[_0x25cad4(0x495)]['syncEditingCollabCursor'](_0x37f7ea),_0x5da020['onTransformRemoteChangesetByIMECache']=_0x16d4f0=>this[_0x25cad4(0x4e1)][_0x25cad4(0x1cd)](_0x16d4f0),_0x5da020[_0x25cad4(0x148)]=_0x5c12cf=>this[_0x25cad4(0x396)]['transformRemoteChangeset'](_0x5c12cf),_0x5da020;}async[_0x1c91cb(0x1ea)](){const _0x5c2e10=_0x1c91cb,_0x248a37=await super['_init']();return this[_0x5c2e10(0x29c)](this[_0x5c2e10(0x3c0)][_0x5c2e10(0x369)]['pipe'](_0x13e2dd(this[_0x5c2e10(0x1a4)]))[_0x5c2e10(0x432)](_0x2055b7=>{const _0x2fe201=_0x5c2e10;if(_0x2055b7==null)return;const {unitId:_0x5dabd7,redoState:_0xbb360a,commandId:_0x302657}=_0x2055b7;if(_0x5dabd7!==this[_0x2fe201(0x1ab)])return;const _0x184b5c={'id':_0x302657,'type':_0x172fb0[_0x2fe201(0x2f1)],'params':{'unitId':_0x5dabd7,'actions':_0xbb360a['actions'],'textRanges':null}};this[_0x2fe201(0x372)](_0x184b5c);})),this[_0x5c2e10(0x29c)](this[_0x5c2e10(0x281)][_0x5c2e10(0x23f)]((_0x296d33,_0x5a3531)=>{const _0x25505f=_0x5c2e10;if(_0x296d33[_0x25505f(0x4c3)]!==_0x172fb0[_0x25505f(0x2f1)]||_0x5a3531!=null&&_0x5a3531['fromCollab']||_0x5a3531!=null&&_0x5a3531['onlyLocal']||_0x296d33['id']===_0x361a8e['id'])return;const _0x18a500=_0x296d33[_0x25505f(0x335)];if((_0x18a500==null?void 0x0:_0x18a500[_0x25505f(0x3cc)])!==this[_0x25505f(0x1ab)])return;const _0x353b71=_0x296d33,_0x1fed04=this[_0x25505f(0x4b9)][_0x25505f(0x2a3)][_0x25505f(0x3a1)](this[_0x25505f(0x4b9)][_0x25505f(0x2a3)][_0x25505f(0x4ad)]()['COMPRESS_MUTATION_SEND'])([_0x353b71],null)||[_0x353b71];this[_0x25505f(0x372)](_0x1fed04[0x0]);})),_0x248a37;}};ls=Ps([H(0x3,_0x5beccd(_0x21398d)),H(0x4,_0x5beccd(z)),H(0x5,_0x5beccd(_0xd5c410)),H(0x6,_0x5beccd(_0x1f9468)),H(0x7,_0x5beccd(_0x122db5)),H(0x8,_0x5beccd(_0x114dd9)),H(0x9,_0x5beccd(yt)),H(0xa,_0x5beccd(Dt)),H(0xb,_0x5beccd(Pt)),H(0xc,_0x5beccd(Ds)),H(0xd,_0x535daf),H(0xe,_0x3abf69),H(0xf,_0x452fb7),H(0x10,_0x143818),H(0x11,_0x231330(jt))],ls);let _s=class extends Nt{constructor(_0x11cd29,_0x3572bf,_0x53322a,_0x3ce0b8,_0x5d46f5,_0x2a5180,_0x357375,_0x2752e2,_0x2722a2,_0x36e347,_0x10ccba,_0x48340d,_0x661d21,_0x374293){const _0x533f57=_0x1c91cb;super(_0x11cd29,_0x53322a,_0x3572bf,_0x3ce0b8,_0x5d46f5,_0x2a5180,_0x357375,_0x2752e2,_0x36e347,_0x10ccba,_0x48340d,_0x661d21,_0x374293),this[_0x533f57(0x1ab)]=_0x11cd29,this[_0x533f57(0x4c3)]=_0x3572bf,this['_sheetTransformSelectionsService']=_0x2722a2;}['_createHandler'](){const _0x288b34=_0x1c91cb,_0x49023b=super[_0x288b34(0x2af)]();return _0x49023b['onTransformSelections']=_0x4d6427=>this['_sheetTransformSelectionsService'][_0x288b34(0x1cf)](_0x4d6427),_0x49023b;}async[_0x1c91cb(0x1ea)](){const _0x29c846=_0x1c91cb,_0x2d6a8e=await super[_0x29c846(0x1ea)]();return this[_0x29c846(0x29c)](this[_0x29c846(0x281)][_0x29c846(0x23f)]((_0x2c285c,_0x3da114)=>{const _0x3af407=_0x29c846;if(_0x2c285c['type']!==_0x172fb0['MUTATION']||_0x3da114!=null&&_0x3da114[_0x3af407(0x2e6)]||_0x3da114!=null&&_0x3da114[_0x3af407(0x24e)])return;const _0x3578b7=_0x2c285c['params'];if((_0x3578b7==null?void 0x0:_0x3578b7[_0x3af407(0x3cc)])!==this[_0x3af407(0x1ab)])return;const _0x352f27=_0x2c285c,_0x46601a=this[_0x3af407(0x4b9)][_0x3af407(0x2a3)][_0x3af407(0x3a1)](this[_0x3af407(0x4b9)][_0x3af407(0x2a3)][_0x3af407(0x4ad)]()[_0x3af407(0x282)])([_0x352f27],null)||[_0x352f27];this[_0x3af407(0x372)](_0x46601a[0x0]);})),_0x2d6a8e;}};_s=Ps([H(0x3,_0x5beccd(_0x21398d)),H(0x4,_0x5beccd(z)),H(0x5,_0x5beccd(_0xd5c410)),H(0x6,_0x5beccd(_0x1f9468)),H(0x7,_0x5beccd(_0x122db5)),H(0x8,_0x5beccd(wt)),H(0x9,_0x535daf),H(0xa,_0x3abf69),H(0xb,_0x452fb7),H(0xc,_0x143818),H(0xd,_0x231330(jt))],_s);var Lo=Object[_0x1c91cb(0x502)],$o=Object[_0x1c91cb(0x439)],Ho=(_0x3ac1b4,_0xfc2e9e,_0x3e7d79,_0x274c1f)=>{const _0x3866b4=_0x1c91cb;for(var _0x1af9b6=_0x274c1f>0x1?void 0x0:_0x274c1f?$o(_0xfc2e9e,_0x3e7d79):_0xfc2e9e,_0x397104=_0x3ac1b4[_0x3866b4(0x38b)]-0x1,_0x54150d;_0x397104>=0x0;_0x397104--)(_0x54150d=_0x3ac1b4[_0x397104])&&(_0x1af9b6=(_0x274c1f?_0x54150d(_0xfc2e9e,_0x3e7d79,_0x1af9b6):_0x54150d(_0x1af9b6))||_0x1af9b6);return _0x274c1f&&_0x1af9b6&&Lo(_0xfc2e9e,_0x3e7d79,_0x1af9b6),_0x1af9b6;},zt=(_0xccfab4,_0x3a75d0)=>(_0x460498,_0x4efabc)=>_0x3a75d0(_0x460498,_0x4efabc,_0xccfab4);let rt=class extends _0x30a9be{constructor(_0x4c4990,_0x20803e,_0x23ef48){const _0x519ebe=_0x1c91cb;super(),g(this,'_entities',new Map()),g(this,_0x519ebe(0x229),new _0x20b5e4()),(this['_injector']=_0x4c4990,this[_0x519ebe(0x107)]=_0x20803e,this[_0x519ebe(0x494)]=_0x23ef48,this[_0x519ebe(0x1ea)]());}[_0x1c91cb(0x345)](){const _0x1b8e33=_0x1c91cb;super[_0x1b8e33(0x345)](),this['_entities'][_0x1b8e33(0x180)](_0x51d125=>_0x51d125[_0x1b8e33(0x345)]()),this[_0x1b8e33(0x2f2)]['clear']();}[_0x1c91cb(0x49d)](_0x367121){const _0x1dab3a=_0x1c91cb;var _0x4284d6;return(_0x4284d6=this[_0x1dab3a(0x2f2)][_0x1dab3a(0x470)](_0x367121))!=null?_0x4284d6:null;}['getCollabEntity$'](_0x2136d5){const _0x3a3c6a=_0x1c91cb,_0xc1a763=this['getCollabEntity'](_0x2136d5);return _0xc1a763?_0x5684b5(_0xc1a763):this[_0x3a3c6a(0x229)][_0x3a3c6a(0x1c3)](_0x2b7dcf(_0x14aa8e=>_0x14aa8e[_0x3a3c6a(0x1ab)]===_0x2136d5));}[_0x1c91cb(0x1ea)](){const _0x1dbaf8=_0x1c91cb;this[_0x1dbaf8(0x494)][_0x1dbaf8(0xe8)](_0x2579e6[_0x1dbaf8(0x169)])['pipe'](_0x13e2dd(this[_0x1dbaf8(0x1a4)]),_0x3681f4(0x10))[_0x1dbaf8(0x432)](async _0x496d71=>{const _0x3203c0=_0x1dbaf8,_0x4d581f=_0x496d71['getUnitId'](),_0x5d813a=await this[_0x3203c0(0x3d7)](_0x4d581f,ae[_0x3203c0(0x169)]);this[_0x3203c0(0x2f2)]['set'](_0x4d581f,_0x5d813a);}),this[_0x1dbaf8(0x494)]['getTypeOfUnitAdded$'](_0x2579e6[_0x1dbaf8(0x18f)])[_0x1dbaf8(0x1c3)](_0x13e2dd(this[_0x1dbaf8(0x1a4)]),_0x3681f4(0x10))[_0x1dbaf8(0x1c3)](_0x2b7dcf(_0x5a575e=>!_0x5a575e['getUnitId']()[_0x1dbaf8(0x16e)]('__')))[_0x1dbaf8(0x432)](async _0x47ca31=>{const _0x3b7622=_0x1dbaf8,_0x17fbe1=_0x47ca31[_0x3b7622(0x2f3)](),_0x52586b=await this['_startCollaboration'](_0x17fbe1,ae[_0x3b7622(0x18f)]);this[_0x3b7622(0x2f2)]['set'](_0x17fbe1,_0x52586b);}),_0x10a92b(this[_0x1dbaf8(0x494)][_0x1dbaf8(0x392)](_0x2579e6['UNIVER_SHEET']),this[_0x1dbaf8(0x494)][_0x1dbaf8(0x392)](_0x2579e6['UNIVER_DOC']))[_0x1dbaf8(0x1c3)](_0x13e2dd(this[_0x1dbaf8(0x1a4)]))[_0x1dbaf8(0x432)](_0xf59601=>{const _0x3bb14e=_0x1dbaf8,_0x378970=_0xf59601[_0x3bb14e(0x2f3)](),_0x470780=this['_entities'][_0x3bb14e(0x470)](_0x378970);_0x470780&&(_0x470780[_0x3bb14e(0x345)](),this[_0x3bb14e(0x2f2)]['delete'](_0x378970));});}async[_0x1c91cb(0x3d7)](_0x20cfaf,_0x320ca1){const _0x27513a=_0x1c91cb,_0x203a7e=await this[_0x27513a(0x107)][_0x27513a(0x2b6)](_0x20cfaf),_0x5a7806=this[_0x27513a(0x29f)][_0x27513a(0x36b)](this[_0x27513a(0x19b)](_0x320ca1),_0x20cfaf,_0x320ca1,_0x203a7e);return await _0x5a7806['init'](),this['_entityInit$'][_0x27513a(0x1eb)](_0x5a7806),_0x5a7806;}[_0x1c91cb(0x19b)](_0x267355){const _0x472f4b=_0x1c91cb;switch(_0x267355){case ae[_0x472f4b(0x18f)]:return ls;case ae[_0x472f4b(0x169)]:return _s;default:throw new Error(_0x472f4b(0x153)+_0x267355);}}};rt=Ho([zt(0x0,_0x5beccd(_0x21398d)),zt(0x1,_0x5beccd(xe)),zt(0x2,_0x5283d0)],rt);var jo=Object[_0x1c91cb(0x502)],Bo=Object[_0x1c91cb(0x439)],ko=(_0x122a36,_0x32e5a8,_0x5d1292,_0x2ff15d)=>{for(var _0x57c722=_0x2ff15d>0x1?void 0x0:_0x2ff15d?Bo(_0x32e5a8,_0x5d1292):_0x32e5a8,_0x522ccf=_0x122a36['length']-0x1,_0x3e29;_0x522ccf>=0x0;_0x522ccf--)(_0x3e29=_0x122a36[_0x522ccf])&&(_0x57c722=(_0x2ff15d?_0x3e29(_0x32e5a8,_0x5d1292,_0x57c722):_0x3e29(_0x57c722))||_0x57c722);return _0x2ff15d&&_0x57c722&&jo(_0x32e5a8,_0x5d1292,_0x57c722),_0x57c722;},ti=(_0x4648ca,_0x1d75b7)=>(_0x11f7d4,_0x4c591e)=>_0x1d75b7(_0x11f7d4,_0x4c591e,_0x4648ca);let Ut=class extends _0x30a9be{constructor(_0x401293,_0x2de9bc){const _0x803f42=_0x1c91cb;super(),this[_0x803f42(0x3d1)]=_0x401293,this[_0x803f42(0x120)]=_0x2de9bc,this[_0x803f42(0x1ea)]();}[_0x1c91cb(0x1ea)](){const _0x1d0ab9=_0x1c91cb,_0x5b681b=this;this[_0x1d0ab9(0x29c)](this['_docClipboardService'][_0x1d0ab9(0x419)]({'onBeforePasteImage':async _0xade541=>{const _0x3ef5d7=_0x1d0ab9,_0xf4aea9=await _0x5b681b['_imageIoService'][_0x3ef5d7(0x14a)](_0xade541);return _0xf4aea9?{'source':_0xf4aea9[_0x3ef5d7(0x2b5)],'imageSourceType':_0xf4aea9['imageSourceType']}:null;}}));}};Ut=ko([ti(0x0,_0x4c9a70),ti(0x1,_0x36aea0)],Ut);const si=[_0x1c91cb(0x41d),'jiqing500',_0x1c91cb(0xdf),_0x1c91cb(0x275),_0x1c91cb(0x279),_0x1c91cb(0x507)];class Ns extends _0x4b86a3{constructor(){const _0x2436d5=_0x1c91cb;super(...arguments),g(this,_0x2436d5(0x11a),new Map()),g(this,'_colorIndex',0x0);}[_0x1c91cb(0x3cd)](_0x21bde8){const _0x2c948a=_0x1c91cb;if(this[_0x2c948a(0x11a)][_0x2c948a(0x3f6)](_0x21bde8))return this[_0x2c948a(0x11a)][_0x2c948a(0x470)](_0x21bde8);const _0x1eaf67=si[this[_0x2c948a(0x399)]];return this[_0x2c948a(0x399)]=(this['_colorIndex']+0x1)%si[_0x2c948a(0x38b)],this['_assignedColors']['set'](_0x21bde8,_0x1eaf67),_0x1eaf67;}}var Wo=Object[_0x1c91cb(0x502)],Fo=Object[_0x1c91cb(0x439)],Vo=(_0x28d8e4,_0x11a3f1,_0x48779e,_0x1c9b11)=>{const _0x564f70=_0x1c91cb;for(var _0x3004ee=_0x1c9b11>0x1?void 0x0:_0x1c9b11?Fo(_0x11a3f1,_0x48779e):_0x11a3f1,_0x564171=_0x28d8e4[_0x564f70(0x38b)]-0x1,_0x31423b;_0x564171>=0x0;_0x564171--)(_0x31423b=_0x28d8e4[_0x564171])&&(_0x3004ee=(_0x1c9b11?_0x31423b(_0x11a3f1,_0x48779e,_0x3004ee):_0x31423b(_0x3004ee))||_0x3004ee);return _0x1c9b11&&_0x3004ee&&Wo(_0x11a3f1,_0x48779e,_0x3004ee),_0x3004ee;},we=(_0x2bea61,_0x10ef6e)=>(_0x42a067,_0x2d0d91)=>_0x10ef6e(_0x42a067,_0x2d0d91,_0x2bea61);const Go=0x12c,Yo=0x64;let us=class extends _0x30a9be{constructor(_0x3c144b,_0x28b7e4,_0xdfdb5c,_0x2195ba,_0x1ee251,_0x42eea1,_0x3b99ff,_0x362f9f,_0x542f53){const _0x1990af=_0x1c91cb;super(),g(this,_0x1990af(0x218),!0x1),g(this,'_init',!0x1),g(this,_0x1990af(0x29b),new _0x3eae3e(new Map())),g(this,_0x1990af(0x2e7),this['_cursorInfo$'][_0x1990af(0x141)]()),g(this,_0x1990af(0x19f),new _0x3eae3e([])),g(this,_0x1990af(0x408),this[_0x1990af(0x19f)][_0x1990af(0x1c3)](_0x4f9fe9(Go))),g(this,_0x1990af(0x47b),_0x2ae209(_0x5dc2a9=>{const _0x3fca62=_0x1990af,_0x125525={'eventID':_0x596510[_0x3fca62(0x19c)],'data':{'unitID':this[_0x3fca62(0x1ab)],'memberID':this['_session'][_0x3fca62(0x1e4)](),'selection':qi(_0x5dc2a9)}};this[_0x3fca62(0x50b)][_0x3fca62(0x2f4)](_0x125525,this[_0x3fca62(0x1ab)]);},Yo)),(this[_0x1990af(0x1ab)]=_0x3c144b,this['_session']=_0x28b7e4,this[_0x1990af(0x29f)]=_0xdfdb5c,this[_0x1990af(0x14f)]=_0x2195ba,this[_0x1990af(0x31e)]=_0x1ee251,this[_0x1990af(0x348)]=_0x42eea1,this[_0x1990af(0x247)]=_0x3b99ff,this[_0x1990af(0x494)]=_0x362f9f,this[_0x1990af(0x281)]=_0x542f53);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x1c91cb(0x167)](){const _0x5724d0=_0x1c91cb;return this[_0x5724d0(0x19f)][_0x5724d0(0x41f)]();}[_0x1c91cb(0x345)](){const _0x526205=_0x1c91cb;super['dispose'](),this['_cursorInfo$'][_0x526205(0x1eb)](new Map()),this['_cursorInfo$'][_0x526205(0x404)](),this[_0x526205(0x19f)][_0x526205(0x1eb)]([]),this[_0x526205(0x19f)][_0x526205(0x404)]();}[_0x1c91cb(0x248)](){const _0x50383f=_0x1c91cb;this['_init']||(this[_0x50383f(0x1ea)]=!0x0,this[_0x50383f(0x50b)]['sessionStatus$'][_0x50383f(0x1c3)](_0x13e2dd(this[_0x50383f(0x1a4)]))[_0x50383f(0x432)](_0x18611a=>{const _0x475dee=_0x50383f;_0x18611a===fe[_0x475dee(0x4a3)]?this[_0x475dee(0x223)]():this[_0x475dee(0x3ce)]();}),this[_0x50383f(0x50b)]['event$'][_0x50383f(0x1c3)](_0x13e2dd(this[_0x50383f(0x1a4)]))[_0x50383f(0x432)](_0x4ae2a1=>{const _0x3d12f6=_0x50383f,_0x21ad10=_0x4ae2a1[_0x3d12f6(0x42b)];_0x21ad10===_0x596510[_0x3d12f6(0x19c)]&&this[_0x3d12f6(0x221)](_0x4ae2a1),_0x21ad10===_0x596510[_0x3d12f6(0x137)]&&this[_0x3d12f6(0x20d)](_0x4ae2a1);}),this[_0x50383f(0x29c)](this[_0x50383f(0x281)][_0x50383f(0x23f)](_0x13f9bd=>{const _0x2d0eb2=_0x50383f,_0x2986d4=_0x13f9bd[_0x2d0eb2(0x335)];_0x2986d4!=null&&this[_0x2d0eb2(0x218)]&&_0x13f9bd['id']===_0x179116['id']&&_0x2986d4['unitId']===this[_0x2d0eb2(0x1ab)]&&_0x2986d4[_0x2d0eb2(0x413)]===!0x1&&_0x2986d4[_0x2d0eb2(0x4b7)][_0x2d0eb2(0x38b)]>0x0&&this[_0x2d0eb2(0x47b)](_0x2986d4[_0x2d0eb2(0x4b7)]);})),this[_0x50383f(0x348)][_0x50383f(0x356)][_0x50383f(0x1c3)](_0x13e2dd(this['dispose$']))[_0x50383f(0x432)](_0x1123a6=>{const _0x58cb87=_0x50383f;if((_0x1123a6==null?void 0x0:_0x1123a6['unitID'])!==this[_0x58cb87(0x1ab)])return;const _0x452be8={'eventID':_0x596510['UPDATE_CURSOR'],'data':_0x1123a6};this[_0x58cb87(0x221)](_0x452be8);}),this[_0x50383f(0x29c)](this[_0x50383f(0x281)]['onCommandExecuted'](_0x2a3cb0=>{const _0x28593a=_0x50383f;if(_0x2a3cb0[_0x28593a(0x335)]==null)return;const _0x4ac429=_0x2a3cb0[_0x28593a(0x335)];if(_0x2a3cb0['id']!==_0x361a8e['id']||_0x4ac429[_0x28593a(0x3cc)]!==this[_0x28593a(0x1ab)])return;const _0x3c1a77={'id':_0x28593a(0x235),'params':_0x4ac429},_0x3ea880=this[_0x28593a(0x3b0)];for(const [_0x51acb2,_0x213e33]of _0x3ea880){const _0xa97c3e={'id':_0x28593a(0x235),'params':{'unitId':this[_0x28593a(0x1ab)],'actions':null,'textRanges':_0x213e33[_0x28593a(0x4b7)]}},_0x31dc33=this['_transformService'][_0x28593a(0x4f4)](_0x3c1a77,_0xa97c3e,!0x1);if(_0x55d097(_0x31dc33))throw _0x31dc33[_0x28593a(0x4d3)];_0x3ea880[_0x28593a(0x1e5)](_0x51acb2,{..._0x213e33,'ranges':_0x31dc33[_0x28593a(0x20b)][_0x28593a(0x335)][_0x28593a(0x13d)]});}queueMicrotask(()=>{const _0x1a8a45=_0x28593a;this[_0x1a8a45(0x29b)][_0x1a8a45(0x1eb)](_0x3ea880);});})));}[_0x1c91cb(0x221)](_0x32e2e5){const _0x4257ca=_0x1c91cb;var _0x391292,_0x2ebceb;const {memberID:_0xfac1e8,selection:_0x20477f}=_0x32e2e5[_0x4257ca(0x202)],_0x5cb5a2=Ro(_0x20477f),_0x4edbfa=(_0x2ebceb=(_0x391292=this[_0x4257ca(0x31e)][_0x4257ca(0x270)](this['unitID'],_0xfac1e8))==null?void 0x0:_0x391292[_0x4257ca(0x332)])!=null?_0x2ebceb:_0x4257ca(0x4ac),_0x4adfe1={'color':this[_0x4257ca(0x14f)][_0x4257ca(0x3cd)](_0xfac1e8),'name':_0x4edbfa,'ranges':_0x5cb5a2},_0x1aac95=this[_0x4257ca(0x3b0)];_0x1aac95[_0x4257ca(0x1e5)](_0xfac1e8,_0x4adfe1),this['_cursorInfo$'][_0x4257ca(0x1eb)](_0x1aac95);}[_0x1c91cb(0x20d)](_0x509599){const _0x29672c=_0x1c91cb,{memberID:_0x254f13}=_0x509599[_0x29672c(0x202)],_0x58906f=this[_0x29672c(0x3b0)];_0x58906f['delete'](_0x254f13),this['_cursorInfo$'][_0x29672c(0x1eb)](_0x58906f);}[_0x1c91cb(0x223)](){const _0xaf420f=_0x1c91cb;var _0x1b8358;if(this[_0xaf420f(0x218)]=!0x0,((_0x1b8358=this[_0xaf420f(0x494)][_0xaf420f(0x30e)]())==null?void 0x0:_0x1b8358[_0xaf420f(0x2f3)]())!==this[_0xaf420f(0x1ab)])return;const _0x16f6d2=this[_0xaf420f(0x29f)]['get'](_0x2c4ba8)['getDocRanges']();Array[_0xaf420f(0x338)](_0x16f6d2)&&_0x16f6d2[_0xaf420f(0x38b)]>0x0&&this[_0xaf420f(0x47b)](_0x16f6d2);}[_0x1c91cb(0x3ce)](){const _0x22798d=_0x1c91cb;this[_0x22798d(0x218)]=!0x1;}};us=Vo([we(0x2,_0x5beccd(_0x21398d)),we(0x3,_0x5beccd(Ns)),we(0x4,_0x5beccd(Me)),we(0x5,_0x5beccd(Ds)),we(0x6,_0x3e892f),we(0x7,_0x5283d0),we(0x8,_0x3abf69)],us);var Ko=Object[_0x1c91cb(0x502)],qo=Object[_0x1c91cb(0x439)],zo=(_0x36c6bb,_0x4d11bc,_0x1e8e67,_0x3e147e)=>{const _0x23b2bc=_0x1c91cb;for(var _0x391f01=_0x3e147e>0x1?void 0x0:_0x3e147e?qo(_0x4d11bc,_0x1e8e67):_0x4d11bc,_0x246763=_0x36c6bb[_0x23b2bc(0x38b)]-0x1,_0x2a461b;_0x246763>=0x0;_0x246763--)(_0x2a461b=_0x36c6bb[_0x246763])&&(_0x391f01=(_0x3e147e?_0x2a461b(_0x4d11bc,_0x1e8e67,_0x391f01):_0x2a461b(_0x391f01))||_0x391f01);return _0x3e147e&&_0x391f01&&Ko(_0x4d11bc,_0x1e8e67,_0x391f01),_0x391f01;},Be=(_0x316a76,_0x49f643)=>(_0x2a5071,_0x4ec6eb)=>_0x49f643(_0x2a5071,_0x4ec6eb,_0x316a76);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x46737b=[],_0x44bda=!0x1;return _0x456219=>{const _0x27e3d1=_0x1b68;_0x46737b[_0x27e3d1(0x4c1)](_0x456219),_0x44bda||(_0x44bda=!0x0,setTimeout(()=>{const _0x4d0700=_0x27e3d1;_0x46737b[_0x4d0700(0x180)](_0x39893d=>_0x39893d()),_0x46737b=[],_0x44bda=!0x1;}));};};let ds=class extends _0x30a9be{constructor(_0x1c4591,_0x32f39d,_0x3064d5,_0x4782c9,_0x270d45,_0x36f5b2,_0x5959ed,_0x3ee27c){const _0x14161e=_0x1c91cb;super(),g(this,_0x14161e(0x218),!0x1),g(this,_0x14161e(0x1ea),!0x1),g(this,_0x14161e(0x29b),new _0x3eae3e(new Map())),g(this,_0x14161e(0x2e7),this['_cursorInfo$'][_0x14161e(0x141)]()),g(this,_0x14161e(0x19f),new _0x3eae3e([])),g(this,_0x14161e(0x408),this[_0x14161e(0x19f)][_0x14161e(0x1c3)](_0x4f9fe9(Xo))),g(this,_0x14161e(0x47b),_0x2ae209((_0x47e542,_0x2a781e)=>{const _0x208793=_0x14161e,_0x557950={'eventID':_0x596510['UPDATE_CURSOR'],'data':{'unitID':this[_0x208793(0x1ab)],'memberID':this[_0x208793(0x50b)][_0x208793(0x1e4)](),'selection':_0x14f421(_0x47e542,_0x2a781e[_0x208793(0x3f4)])}};this[_0x208793(0x50b)][_0x208793(0x2f4)](_0x557950,this['unitID']);},Jo)),(this['unitID']=_0x1c4591,this[_0x14161e(0x50b)]=_0x32f39d,this[_0x14161e(0x29f)]=_0x3064d5,this[_0x14161e(0x14f)]=_0x4782c9,this[_0x14161e(0x31e)]=_0x270d45,this[_0x14161e(0x494)]=_0x36f5b2,this[_0x14161e(0x281)]=_0x5959ed,this[_0x14161e(0x27d)]=_0x3ee27c);}get['cursorInfo'](){const _0x52faa6=_0x1c91cb;return this[_0x52faa6(0x29b)][_0x52faa6(0x41f)]();}get[_0x1c91cb(0x167)](){const _0x3312c8=_0x1c91cb;return this[_0x3312c8(0x19f)][_0x3312c8(0x41f)]();}[_0x1c91cb(0x345)](){const _0x131bf9=_0x1c91cb;super[_0x131bf9(0x345)](),this[_0x131bf9(0x29b)][_0x131bf9(0x1eb)](new Map()),this[_0x131bf9(0x29b)]['complete'](),this[_0x131bf9(0x19f)]['next']([]),this[_0x131bf9(0x19f)][_0x131bf9(0x404)]();}[_0x1c91cb(0x248)](){const _0x573e7a=_0x1c91cb;this[_0x573e7a(0x1ea)]||(this[_0x573e7a(0x1ea)]=!0x0,this['_session']['sessionStatus$'][_0x573e7a(0x1c3)](_0x13e2dd(this[_0x573e7a(0x1a4)]))['subscribe'](_0xd6925c=>{const _0x1621d1=_0x573e7a;_0xd6925c===fe['ONLINE']?this[_0x1621d1(0x223)]():this[_0x1621d1(0x3ce)]();}),this[_0x573e7a(0x50b)]['event$'][_0x573e7a(0x1c3)](_0x13e2dd(this[_0x573e7a(0x1a4)]))[_0x573e7a(0x432)](_0x5af709=>{const _0x4eeb99=_0x573e7a,_0x3ac014=_0x5af709[_0x4eeb99(0x42b)];_0x3ac014===_0x596510['UPDATE_CURSOR']&&this[_0x4eeb99(0x221)](_0x5af709),_0x3ac014===_0x596510[_0x4eeb99(0x137)]&&this['_onCursorDelete'](_0x5af709);}),this[_0x573e7a(0x41a)](),this[_0x573e7a(0x29c)](this[_0x573e7a(0x281)][_0x573e7a(0x23f)](_0x48f540=>{const _0x53b8f1=_0x573e7a;if(this['_online']&&_0x48f540['id']===_0x9d2051['id']&&_0x48f540[_0x53b8f1(0x335)][_0x53b8f1(0x3cc)]===this[_0x53b8f1(0x1ab)]){const _0x3cbfa=_0x48f540[_0x53b8f1(0x335)];this[_0x53b8f1(0x47b)](_0x3cbfa[_0x53b8f1(0x309)],_0x3cbfa[_0x53b8f1(0x152)][0x0]);}})));}[_0x1c91cb(0x221)](_0x3e192d){const _0x19057f=_0x1c91cb;var _0x5476c2,_0x14abf8;const {memberID:_0x1f90db,selection:_0x392298}=_0x3e192d[_0x19057f(0x202)],{sheetName:_0x417f6b,range:_0x87230f}=_0x29e425(_0x392298),_0x11e963={'name':(_0x14abf8=(_0x5476c2=this[_0x19057f(0x31e)][_0x19057f(0x270)](this['unitID'],_0x1f90db))==null?void 0x0:_0x5476c2[_0x19057f(0x332)])!=null?_0x14abf8:_0x19057f(0x4ac),'range':this[_0x19057f(0x225)](_0x417f6b,_0x87230f),'sheetID':_0x417f6b,'color':this[_0x19057f(0x14f)][_0x19057f(0x3cd)](_0x1f90db),'selection':_0x392298},_0x590f85=this[_0x19057f(0x3b0)];_0x590f85[_0x19057f(0x1e5)](_0x1f90db,_0x11e963),this[_0x19057f(0x29b)][_0x19057f(0x1eb)](_0x590f85);}['_onCursorDelete'](_0x1db47a){const _0x43cbd2=_0x1c91cb,{memberID:_0x2d4fd2}=_0x1db47a[_0x43cbd2(0x202)],_0x5971ec=this[_0x43cbd2(0x3b0)];_0x5971ec[_0x43cbd2(0x160)](_0x2d4fd2),this[_0x43cbd2(0x29b)][_0x43cbd2(0x1eb)](_0x5971ec);}['_getMergeRange'](_0x5529b9,_0x109ccc){const _0xe453a=_0x1c91cb;var _0x348257,_0x41dc76;const _0x58d895=(_0x41dc76=(_0x348257=this[_0xe453a(0x494)][_0xe453a(0x28f)](this[_0xe453a(0x1ab)]))==null?void 0x0:_0x348257[_0xe453a(0x2e2)](_0x5529b9))==null?void 0x0:_0x41dc76[_0xe453a(0x3a8)]();return(_0x58d895==null?void 0x0:_0x58d895[_0xe453a(0x451)](_0x5e6cc7=>_0xd9e0ac[_0xe453a(0x27c)](_0x5e6cc7,_0x109ccc)))||_0x109ccc;}[_0x1c91cb(0x41a)](){const _0x3db147=_0x1c91cb,_0x172a6c=new _0x70760(),_0x41e38d=Zo(),_0x1e5fd1=()=>{const _0x587686=_0x1b68;_0x172a6c['dispose']();const _0x43f6e3=(_0x2bfbfc,_0x2d0c2a,_0x289282,_0x4e12f0)=>{const _0x59c103=_0x1b68;let _0x52f29a=[];switch(_0x2bfbfc['id']){case _0x218568['DeleteRangeMoveLeftCommandId']:{_0x52f29a=_0x4ec771(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x39f)]:{_0x52f29a=_0x42d3e8(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x10b)]:{_0x52f29a=_0x535c55(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x312)]:{_0x52f29a=_0xf022af(_0x2bfbfc,_0x4e12f0);break;}case _0x218568['InsertRangeMoveRightCommandId']:{_0x52f29a=_0x5ed561(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x11f)]:{_0x52f29a=_0x20d25a(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x40d)]:{_0x52f29a=_0x41dd5c(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x2bc)]:{_0x52f29a=_0x1733d2(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x445)]:{_0x52f29a=_0x46d2b7(_0x2bfbfc,_0x4e12f0);break;}}const _0x45cd47=_0xf60041(_0x52f29a,_0x4e12f0),_0x343bd1=this[_0x59c103(0x3b0)][_0x59c103(0x470)](_0x2d0c2a);if(_0x343bd1&&_0x45cd47){const _0x514481={..._0x343bd1,'range':_0x45cd47};this['cursorInfo'][_0x59c103(0x1e5)](_0x2d0c2a,_0x514481),_0x41e38d(()=>{const _0x451138=_0x59c103,_0x151581=this[_0x451138(0x27d)][_0x451138(0x4fc)](_0x45cd47,_0x3f191a=>(_0x151581[_0x451138(0x345)](),_0x43f6e3(_0x3f191a,_0x2d0c2a,_0x289282,_0x45cd47)));_0x172a6c[_0x451138(0x277)](_0x151581);});}return{'redos':[],'undos':[]};};this[_0x587686(0x3b0)]['forEach']((_0x15cb99,_0x593911)=>{const _0x280000=_0x587686,{range:_0x37407f,sheetID:_0xf1f8a2}=_0x15cb99,_0x32bdcc=this[_0x280000(0x27d)][_0x280000(0x4fc)](_0x37407f,_0x63082d=>(_0x32bdcc[_0x280000(0x345)](),_0x43f6e3(_0x63082d,_0x593911,_0xf1f8a2,_0x37407f)));_0x172a6c[_0x280000(0x277)](_0x32bdcc);});};this[_0x3db147(0x29c)](_0x20cd7e(this[_0x3db147(0x29b)][_0x3db147(0x432)](()=>{_0x1e5fd1();})));}[_0x1c91cb(0x223)](){const _0x49465f=_0x1c91cb;var _0x12cbfc,_0x2ae451;if(this[_0x49465f(0x218)]=!0x0,((_0x12cbfc=this[_0x49465f(0x494)][_0x49465f(0x30e)]())==null?void 0x0:_0x12cbfc[_0x49465f(0x2f3)]())!==this[_0x49465f(0x1ab)])return;const _0x6ef03d=(_0x2ae451=this[_0x49465f(0x29f)]['get'](_0x18f66c)[_0x49465f(0x274)]())==null?void 0x0:_0x2ae451[0x0],_0x4265a0=this[_0x49465f(0x494)][_0x49465f(0x34a)](_0x2579e6[_0x49465f(0x169)])[_0x49465f(0x27f)]();_0x6ef03d&&_0x4265a0&&this[_0x49465f(0x47b)](_0x4265a0[_0x49465f(0x359)](),_0x6ef03d);}[_0x1c91cb(0x3ce)](){const _0x283b36=_0x1c91cb;this[_0x283b36(0x218)]=!0x1;}};ds=zo([Be(0x2,_0x5beccd(_0x21398d)),Be(0x3,_0x5beccd(Ns)),Be(0x4,_0x5beccd(Me)),Be(0x5,_0x5283d0),Be(0x6,_0x3abf69),Be(0x7,_0x5beccd(_0x21d590))],ds);var Qo=Object[_0x1c91cb(0x502)],ea=Object[_0x1c91cb(0x439)],ta=(_0x3d8ce8,_0x5d6ee7,_0x1465d9,_0x25a808)=>{const _0xc1dcce=_0x1c91cb;for(var _0x121c1d=_0x25a808>0x1?void 0x0:_0x25a808?ea(_0x5d6ee7,_0x1465d9):_0x5d6ee7,_0x237e86=_0x3d8ce8[_0xc1dcce(0x38b)]-0x1,_0x1f4b92;_0x237e86>=0x0;_0x237e86--)(_0x1f4b92=_0x3d8ce8[_0x237e86])&&(_0x121c1d=(_0x25a808?_0x1f4b92(_0x5d6ee7,_0x1465d9,_0x121c1d):_0x1f4b92(_0x121c1d))||_0x121c1d);return _0x25a808&&_0x121c1d&&Qo(_0x5d6ee7,_0x1465d9,_0x121c1d),_0x121c1d;},Xt=(_0x16d3f2,_0x382504)=>(_0x196518,_0x5b814a)=>_0x382504(_0x196518,_0x5b814a,_0x16d3f2);let Ve=class extends _0x30a9be{constructor(_0x5aa37d,_0x27cc77,_0x40e784){const _0x4606ab=_0x1c91cb;super(),g(this,_0x4606ab(0x2f2),new Map()),g(this,_0x4606ab(0x229),new _0x20b5e4()),(this[_0x4606ab(0x494)]=_0x5aa37d,this[_0x4606ab(0x29f)]=_0x27cc77,this[_0x4606ab(0x107)]=_0x40e784,this[_0x4606ab(0x1ea)]());}['dispose'](){const _0x2e592f=_0x1c91cb;super[_0x2e592f(0x345)](),this[_0x2e592f(0x229)][_0x2e592f(0x404)](),this['_entities'][_0x2e592f(0x180)](_0x2e60c3=>_0x2e60c3[_0x2e592f(0x345)]());}['getCollabCursors$'](_0x199b8b){const _0x1351db=_0x1c91cb;return this[_0x1351db(0x2f2)][_0x1351db(0x3f6)](_0x199b8b)?this[_0x1351db(0x2f2)][_0x1351db(0x470)](_0x199b8b)[_0x1351db(0x2e7)]:this[_0x1351db(0x229)][_0x1351db(0x1c3)](_0x58d7d5(_0x44cfc5=>_0x44cfc5[_0x1351db(0x1ab)]===_0x199b8b),_0x284c9e(_0x8e7b95=>_0x8e7b95[_0x1351db(0x2e7)]));}[_0x1c91cb(0x1ea)](){const _0x25e251=_0x1c91cb;this[_0x25e251(0x494)][_0x25e251(0xe8)](_0x2579e6[_0x25e251(0x169)])['pipe'](_0x13e2dd(this['dispose$']))[_0x25e251(0x432)](async _0x44e4e4=>{const _0x1abe7a=_0x25e251,_0x42a10a=_0x44e4e4[_0x1abe7a(0x2f3)](),_0x42e06f=await this[_0x1abe7a(0x32a)](_0x42a10a);this[_0x1abe7a(0x229)][_0x1abe7a(0x1eb)](_0x42e06f),this[_0x1abe7a(0x2f2)]['set'](_0x42a10a,_0x42e06f);}),this['_univerInstanceService'][_0x25e251(0xe8)](_0x2579e6[_0x25e251(0x18f)])[_0x25e251(0x1c3)](_0x13e2dd(this[_0x25e251(0x1a4)]))['pipe'](_0x58d7d5(_0x4fa111=>!_0x4fa111[_0x25e251(0x2f3)]()[_0x25e251(0x16e)]('__')))[_0x25e251(0x432)](async _0x181512=>{const _0x4bfef=_0x25e251,_0x13399a=_0x181512[_0x4bfef(0x2f3)](),_0x278a24=await this[_0x4bfef(0x1fd)](_0x13399a);this['_entityInit$'][_0x4bfef(0x1eb)](_0x278a24),this[_0x4bfef(0x2f2)][_0x4bfef(0x1e5)](_0x13399a,_0x278a24);}),_0x10a92b(this['_univerInstanceService'][_0x25e251(0x392)](_0x2579e6['UNIVER_DOC']),this[_0x25e251(0x494)][_0x25e251(0x392)](_0x2579e6[_0x25e251(0x169)]))[_0x25e251(0x1c3)](_0x13e2dd(this['dispose$']))[_0x25e251(0x432)](_0x2c9994=>{const _0x10f7fd=_0x25e251,_0x5966e9=_0x2c9994[_0x10f7fd(0x2f3)](),_0x33e0ad=this[_0x10f7fd(0x2f2)][_0x10f7fd(0x470)](_0x5966e9);_0x33e0ad&&(_0x33e0ad['dispose'](),this['_entities']['delete'](_0x5966e9));});}async[_0x1c91cb(0x32a)](_0x16ffc2){const _0x3ae7d1=_0x1c91cb,_0x57df9a=await this[_0x3ae7d1(0x107)][_0x3ae7d1(0x2b6)](_0x16ffc2),_0x2a3246=this[_0x3ae7d1(0x29f)][_0x3ae7d1(0x36b)](ds,_0x16ffc2,_0x57df9a);return _0x2a3246[_0x3ae7d1(0x248)](),_0x2a3246;}async[_0x1c91cb(0x1fd)](_0x4f390f){const _0x568707=_0x1c91cb,_0x413a15=await this[_0x568707(0x107)][_0x568707(0x2b6)](_0x4f390f),_0x1d5f4e=this[_0x568707(0x29f)][_0x568707(0x36b)](us,_0x4f390f,_0x413a15);return _0x1d5f4e[_0x568707(0x248)](),_0x1d5f4e;}};Ve=ta([Xt(0x0,_0x5283d0),Xt(0x1,_0x5beccd(_0x21398d)),Xt(0x2,_0x5beccd(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x4b231e,_0x323af4){const _0x3f905f=_0x1c91cb;let {radius:_0x114f33,width:_0x2bf7b0,height:_0x2e3b60}=_0x323af4;_0x114f33=_0x114f33!=null?_0x114f33:0x0,_0x2bf7b0=_0x2bf7b0!=null?_0x2bf7b0:0x1e,_0x2e3b60=_0x2e3b60!=null?_0x2e3b60:0x1e;let _0x42ff2b=0x0,_0x2027e9=0x0,_0x25b8bc=0x0;_0x42ff2b=_0x2027e9=_0x25b8bc=Math[_0x3f905f(0x173)](_0x114f33,_0x2bf7b0/0x2,_0x2e3b60/0x2),_0x4b231e[_0x3f905f(0x425)](),_0x4b231e[_0x3f905f(0x2fe)](_0x42ff2b,0x0),_0x4b231e[_0x3f905f(0x197)](_0x2bf7b0-_0x2027e9,0x0),_0x4b231e['arc'](_0x2bf7b0-_0x2027e9,_0x2027e9,_0x2027e9,Math['PI']*0x3/0x2,0x0,!0x1),_0x4b231e[_0x3f905f(0x197)](_0x2bf7b0,_0x2e3b60-_0x25b8bc),_0x4b231e['arc'](_0x2bf7b0-_0x25b8bc,_0x2e3b60-_0x25b8bc,_0x25b8bc,0x0,Math['PI']/0x2,!0x1),_0x4b231e['lineTo'](0x0,_0x2e3b60),_0x4b231e[_0x3f905f(0x197)](0x0,_0x42ff2b),_0x4b231e[_0x3f905f(0x4d4)](_0x42ff2b,_0x42ff2b,_0x42ff2b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4b231e['closePath'](),_0x323af4[_0x3f905f(0x165)]&&(_0x4b231e[_0x3f905f(0x4d5)](),_0x4b231e[_0x3f905f(0x1da)]=_0x323af4[_0x3f905f(0x165)],_0x323af4[_0x3f905f(0x498)]===_0x3f905f(0x352)?_0x4b231e['fill'](_0x3f905f(0x352)):_0x4b231e[_0x3f905f(0x165)](),_0x4b231e[_0x3f905f(0x1c7)]());}class Bt extends _0xee85de{constructor(_0x4e4947,_0x253af2){const _0x452b54=_0x1c91cb;super(_0x4e4947,_0x253af2),g(this,_0x452b54(0x257)),g(this,_0x452b54(0x13e)),(this['color']=_0x253af2==null?void 0x0:_0x253af2['color'],this[_0x452b54(0x13e)]=_0x253af2==null?void 0x0:_0x253af2[_0x452b54(0x13e)]);}static['drawWith'](_0x1ecb0e,_0x2110d7){const _0x32ad2b=_0x1c91cb,{text:_0x2e34d0,color:_0x438355}=_0x2110d7;_0x1ecb0e[_0x32ad2b(0x4d5)](),_0x1ecb0e['font']=_0x32ad2b(0x3cb);const _0x1e44f0=_0x1ecb0e[_0x32ad2b(0x460)](_0x2e34d0)[_0x32ad2b(0x31b)],_0x209fa2=Math['min'](_0x1e44f0+0x2*Jt,ii);ia(_0x1ecb0e,{'height':nt,'radius':0x4,'width':_0x209fa2,'fill':_0x438355,'evented':!0x1}),_0x1ecb0e['fillStyle']=_0x32ad2b(0x2d4);const _0x4ffff3=Jt,_0x3be8a7=nt-sa,_0x4d1d7e=ii-0x2*Jt;if(_0x1e44f0>_0x4d1d7e){let _0x237320='',_0x1ca413=0x0;for(const _0x2e069d of _0x2e34d0){const _0xf04a7e=_0x1ecb0e[_0x32ad2b(0x460)](_0x2e069d)[_0x32ad2b(0x31b)];if(_0x1ca413+_0xf04a7e<=_0x4d1d7e-_0x1ecb0e[_0x32ad2b(0x460)](_0x32ad2b(0x489))[_0x32ad2b(0x31b)])_0x237320+=_0x2e069d,_0x1ca413+=_0xf04a7e;else{_0x237320+=_0x32ad2b(0x489);break;}}_0x1ecb0e[_0x32ad2b(0x4b8)](_0x237320,_0x4ffff3,_0x3be8a7);}else _0x1ecb0e[_0x32ad2b(0x4b8)](_0x2e34d0,_0x4ffff3,_0x3be8a7);_0x1ecb0e[_0x32ad2b(0x1c7)]();}[_0x1c91cb(0x3aa)](_0x7f2300){const _0x228edf=_0x1c91cb;Bt[_0x228edf(0x29d)](_0x7f2300,this);}}const Zt=_0x1c91cb(0x3bd),ra=_0x1c91cb(0x3be),na=_0x1c91cb(0x504),Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca=_0x1c91cb(0x3ec);class ri{constructor(_0x22fb95,_0x38885a,_0x206282,_0xaf1765){const _0x58364e=_0x1c91cb;g(this,_0x58364e(0x424),[]),g(this,_0x58364e(0x1fa),null),g(this,_0x58364e(0x2d3),null),g(this,_0x58364e(0x358),null),g(this,'_hideTimer',null),g(this,_0x58364e(0x4d6),null),(this[_0x58364e(0x30f)]=_0x22fb95,this['_scene']=_0x38885a,this[_0x58364e(0x3b9)]=_0x206282,this[_0x58364e(0x1c1)]=_0xaf1765,this['_render']());}set[_0x1c91cb(0x415)](_0x5913d5){const _0x2e105a=_0x1c91cb;_0x5913d5?(this['_anchorDot']&&this['_anchorDot'][_0x2e105a(0x2c9)](),this[_0x2e105a(0x2d3)]&&this[_0x2e105a(0x2d3)][_0x2e105a(0x2d0)]()):(this[_0x2e105a(0x358)]&&this[_0x2e105a(0x358)]['show'](),this[_0x2e105a(0x2d3)]&&this['_textBubble'][_0x2e105a(0x2c9)]());}['dispose'](){const _0x2fa345=_0x1c91cb;for(const _0x58b9e9 of this['_shapes'])_0x58b9e9[_0x2fa345(0x345)]();this[_0x2fa345(0x2d3)]&&this[_0x2fa345(0x2d3)][_0x2fa345(0x345)](),this[_0x2fa345(0x358)]&&this[_0x2fa345(0x358)][_0x2fa345(0x345)](),this[_0x2fa345(0x1fa)]&&this['_anchor'][_0x2fa345(0x345)](),this[_0x2fa345(0x4d6)]&&this['_eventUnsubscribe']();}['_render'](){const _0x3a1f2d=_0x1c91cb;var _0x8ed216;const {_docSkeleton:_0x112563,_document:_0x1934ff}=this,{color:_0x2f35ee,name:_0x187b93,ranges:_0x3b4899}=this[_0x3a1f2d(0x30f)],_0x219195=_0x1934ff[_0x3a1f2d(0x2eb)](),{docsLeft:_0x2c10f2,docsTop:_0x4e05d0}=_0x219195,_0x4b2b01=new _0x547f0b(_0x219195,_0x112563);for(const {startOffset:_0x2c4703,endOffset:_0x5f12f3,rangeType:_0x28eaeb,segmentId:_0x10b49e,segmentPage:_0x5d2bfe,collapsed:_0x224c93,isActive:_0x574120}of _0x3b4899){const _0x361981=_0x112563[_0x3a1f2d(0x4e2)](_0x2c4703,!0x0,_0x10b49e,_0x5d2bfe);let _0x394749=_0x112563[_0x3a1f2d(0x4e2)](_0x5f12f3,!0x0,_0x10b49e,_0x5d2bfe);if(_0x394749==null&&(_0x394749=_0x112563[_0x3a1f2d(0x4e2)](_0x5f12f3-0x1,!0x1,_0x10b49e,_0x5d2bfe)),_0x574120){const {contentBoxPointGroup:_0x13ce40}=_0x4b2b01['getRangePointData'](_0x394749,_0x394749);if(_0x13ce40['length']===0x0)continue;this[_0x3a1f2d(0x3ee)](_0x2f35ee,_0x13ce40,_0x2c10f2,_0x4e05d0,_0x187b93),this[_0x3a1f2d(0x4d6)]=this[_0x3a1f2d(0x313)]();}if(_0x361981&&_0x394749){if(_0x28eaeb===_0x4ec437[_0x3a1f2d(0x42c)]){const _0x247120=new _0x4eb35f(_0x219195,_0x112563),{pointGroup:_0x3b58a4}=(_0x8ed216=_0x247120[_0x3a1f2d(0x412)](_0x361981,_0x394749))!=null?_0x8ed216:{};if(_0x3b58a4==null||_0x3b58a4['length']===0x0)continue;this[_0x3a1f2d(0x37f)](_0x2f35ee,_0x3b58a4,_0x2c10f2,_0x4e05d0);}else{if(!_0x224c93){const {borderBoxPointGroup:_0x580487}=_0x4b2b01['getRangePointData'](_0x361981,_0x394749);if(_0x580487[_0x3a1f2d(0x38b)]===0x0)continue;this[_0x3a1f2d(0xeb)](_0x2f35ee,_0x580487,_0x2c10f2,_0x4e05d0);}}}}}[_0x1c91cb(0x3ee)](_0x2e1441,_0x86b592,_0x2adf44,_0x7adbf6,_0x1c584b){const _0x14556b=_0x1c91cb,_0x188089=this[_0x14556b(0x302)](_0x86b592),{left:_0x22b65a,top:_0x5db442,height:_0x2af643}=_0x188089,_0x38b7fb=this['_getScale'](),_0x3bc199=aa/_0x38b7fb,_0x32737b=new _0x327377(Zt+_0xdb11bc['generateRandomId'](Je),{'left':_0x22b65a+_0x2adf44-_0x3bc199,'top':_0x5db442+_0x7adbf6,'height':_0x2af643,'width':oa,'fill':_0x2e1441||_0x211346(_0x497c90['black'],0x0),'strokeWidth':_0x3bc199,'stroke':ca,'evented':!0x0});this[_0x14556b(0x1fa)]=_0x32737b,this[_0x14556b(0x219)][_0x14556b(0xfc)](_0x32737b,_0x39605e);const _0x553fd8=new _0x327377(Zt+_0xdb11bc[_0x14556b(0x374)](Je),{'left':_0x22b65a+_0x2adf44-_0x3bc199,'top':_0x5db442+_0x7adbf6-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x2e1441||_0x211346(_0x497c90['black'],0x0),'strokeWidth':0x0,'stroke':_0x2e1441||_0x211346(_0x497c90[_0x14556b(0x40e)],0x0),'evented':!0x1});this[_0x14556b(0x358)]=_0x553fd8,this[_0x14556b(0x219)][_0x14556b(0xfc)](_0x553fd8,_0x39605e);const _0x2c0ce7=new Bt(Zt+_0xdb11bc[_0x14556b(0x374)](Je),{'left':_0x22b65a+_0x2adf44-_0x3bc199,'top':_0x5db442+_0x7adbf6-nt,'text':_0x1c584b,'color':_0x2e1441});this[_0x14556b(0x2d3)]=_0x2c0ce7,this[_0x14556b(0x219)][_0x14556b(0xfc)](_0x2c0ce7,_0x39605e),this[_0x14556b(0x415)]=!0x1;}[_0x1c91cb(0x313)](){const _0x30d242=_0x1c91cb,_0x304e8a=this['_anchor']['onPointerEnter$'][_0x30d242(0x24f)](()=>{const _0x13dc3b=_0x30d242;this[_0x13dc3b(0x415)]=!0x0;}),_0x29c4f7=this[_0x30d242(0x1fa)][_0x30d242(0x1be)][_0x30d242(0x24f)](()=>{const _0x4f71aa=_0x30d242;this[_0x4f71aa(0x2ad)]&&clearTimeout(this[_0x4f71aa(0x2ad)]),this[_0x4f71aa(0x2ad)]=setTimeout(()=>{const _0x5ceacb=_0x4f71aa;this[_0x5ceacb(0x415)]=!0x1;},0x7d0);});return()=>{const _0x3556ed=_0x30d242;_0x304e8a[_0x3556ed(0x2ca)](),_0x29c4f7[_0x3556ed(0x2ca)]();};}[_0x1c91cb(0xeb)](_0x166019,_0x1ad1f3,_0x48b204,_0x3c3896){const _0x4dd3d8=_0x1c91cb,_0x30428f=new _0x3e2833(_0x166019)[_0x4dd3d8(0x4ff)](0.2)[_0x4dd3d8(0x2a5)](),_0x5586a2=new _0x218a16(ra+_0xdb11bc[_0x4dd3d8(0x374)](Je),{'pointsGroup':_0x1ad1f3,'fill':_0x30428f||_0x211346(_0x497c90[_0x4dd3d8(0x40e)],0.2),'left':_0x48b204,'top':_0x3c3896,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4dd3d8(0x424)][_0x4dd3d8(0x4c1)](_0x5586a2),this[_0x4dd3d8(0x219)]['addObject'](_0x5586a2,_0x39605e);}[_0x1c91cb(0x37f)](_0x1ac80d,_0x52e3c7,_0x2bccfa,_0x1488a8){const _0xc52c9=_0x1c91cb,_0x18703b=new _0x3e2833(_0x1ac80d)[_0xc52c9(0x4ff)](0.2)[_0xc52c9(0x2a5)](),_0x2f3bde=new _0x218a16(na+_0xdb11bc[_0xc52c9(0x374)](Je),{'pointsGroup':_0x52e3c7,'fill':_0x18703b||_0x211346(_0x497c90['black'],0.2),'left':_0x2bccfa,'top':_0x1488a8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc52c9(0x424)][_0xc52c9(0x4c1)](_0x2f3bde),this[_0xc52c9(0x219)][_0xc52c9(0xfc)](_0x2f3bde,_0x39605e);}['_getAnchorBounding'](_0x243dce){const _0x2f9835=_0x243dce[0x0],_0x461da9=_0x2f9835[0x0],_0xb9fedf=_0x2f9835[0x2],{x:_0x5461ae,y:_0x4e18d3}=_0x461da9,{x:_0x321f3e,y:_0x5b7f73}=_0xb9fedf;return{'left':_0x5461ae,'top':_0x4e18d3,'width':_0x321f3e-_0x5461ae,'height':_0x5b7f73-_0x4e18d3};}[_0x1c91cb(0x3c3)](){const _0x4d3002=_0x1c91cb,{scaleX:_0x6a043a,scaleY:_0x32af39}=this[_0x4d3002(0x219)]['getAncestorScale']();return Math['max'](_0x6a043a,_0x32af39);}}var ha=Object[_0x1c91cb(0x502)],la=Object[_0x1c91cb(0x439)],_a=(_0x5c4e05,_0x9b18d6,_0x2d984e,_0x5b7d43)=>{const _0x576a3a=_0x1c91cb;for(var _0x3ce669=_0x5b7d43>0x1?void 0x0:_0x5b7d43?la(_0x9b18d6,_0x2d984e):_0x9b18d6,_0x8169e0=_0x5c4e05[_0x576a3a(0x38b)]-0x1,_0x35068b;_0x8169e0>=0x0;_0x8169e0--)(_0x35068b=_0x5c4e05[_0x8169e0])&&(_0x3ce669=(_0x5b7d43?_0x35068b(_0x9b18d6,_0x2d984e,_0x3ce669):_0x35068b(_0x3ce669))||_0x3ce669);return _0x5b7d43&&_0x3ce669&&ha(_0x9b18d6,_0x2d984e,_0x3ce669),_0x3ce669;},ht=(_0x2e73ce,_0x467a0b)=>(_0x1f318a,_0x7faca4)=>_0x467a0b(_0x1f318a,_0x7faca4,_0x2e73ce);let fs=class extends _0x30a9be{constructor(_0x122469,_0x3efbf7,_0x2ddec7,_0x1c3410,_0x209213){const _0x565c48=_0x1c91cb;super(),g(this,_0x565c48(0x4ce),[]),g(this,_0x565c48(0x48e),[]),(this[_0x565c48(0x43d)]=_0x122469,this[_0x565c48(0x47a)]=_0x3efbf7,this['_collabCursorController']=_0x2ddec7,this[_0x565c48(0x281)]=_0x1c3410,this[_0x565c48(0xe7)]=_0x209213,this[_0x565c48(0x1ea)]());}[_0x1c91cb(0x1ea)](){const _0x5ceef3=_0x1c91cb,_0x16324d=this[_0x5ceef3(0x43d)][_0x5ceef3(0x3cc)],_0x1d352d=this[_0x5ceef3(0x47a)];this['disposeWithMe'](_0x46617f([this[_0x5ceef3(0x1ae)][_0x5ceef3(0x3db)](_0x16324d),this[_0x5ceef3(0xe7)]['currentTheme$']])[_0x5ceef3(0x1c3)](_0x349821(([_0x5e6a35,_0x455a95])=>({'skeleton':_0x1d352d[_0x5ceef3(0x3d0)](),'cursors':[..._0x5e6a35[_0x5ceef3(0x4ef)]()][_0x5ceef3(0x17d)](_0x3138a8=>({..._0x3138a8,'color':_0x455a95[_0x3138a8[_0x5ceef3(0x257)]]}))})))[_0x5ceef3(0x432)](_0x1e82ef=>{const _0x33c1de=_0x5ceef3;if(this[_0x33c1de(0x15f)](),_0x1e82ef){const {skeleton:_0xcb6efd,cursors:_0x308a27}=_0x1e82ef;this['_updateCollabCursors'](_0xcb6efd,_0x308a27);}})),this[_0x5ceef3(0x4c7)](),this[_0x5ceef3(0x49a)]();}[_0x1c91cb(0x46b)](_0x2f8f85,_0x16b33b){const _0x480be1=_0x1c91cb,{scene:_0x585e7b,mainComponent:_0x4cd8c5}=this['_context'],_0x457b95=_0x16b33b[_0x480be1(0x3da)](_0x2db413=>new ri(_0x2db413,_0x585e7b,_0x2f8f85,_0x4cd8c5));this[_0x480be1(0x4ce)]=_0x457b95,this[_0x480be1(0x48e)]=_0x16b33b;}[_0x1c91cb(0x3ad)](){const _0x58bff4=_0x1c91cb;this[_0x58bff4(0x15f)]();const {scene:_0x32146c,mainComponent:_0x39751a}=this[_0x58bff4(0x43d)],_0x5a5cc8=this[_0x58bff4(0x47a)][_0x58bff4(0x3d0)](),_0x28762a=this[_0x58bff4(0x48e)][_0x58bff4(0x3da)](_0x31d721=>new ri(_0x31d721,_0x32146c,_0x5a5cc8,_0x39751a));this[_0x58bff4(0x4ce)]=_0x28762a;}[_0x1c91cb(0x15f)](){const _0x4565d7=_0x1c91cb;this[_0x4565d7(0x4ce)][_0x4565d7(0x180)](_0xd3465c=>_0xd3465c[_0x4565d7(0x345)]()),this[_0x4565d7(0x4ce)]=[];}[_0x1c91cb(0x49a)](){const _0xa9edb3=_0x1c91cb,_0x64be7c=[_0x59c233['id']];this['disposeWithMe'](this[_0xa9edb3(0x281)][_0xa9edb3(0x23f)](_0x33ccac=>{const _0x209cd3=_0xa9edb3;_0x64be7c[_0x209cd3(0x145)](_0x33ccac['id'])&&_0x33ccac[_0x209cd3(0x335)][_0x209cd3(0x3cc)]===this[_0x209cd3(0x43d)][_0x209cd3(0x3cc)]&&this['_refreshCollabCursors']();}));}[_0x1c91cb(0x4c7)](){const _0x127601=_0x1c91cb;this[_0x127601(0x29c)](_0x26f08a(this[_0x127601(0x43d)][_0x127601(0x10f)][_0x127601(0x267)])[_0x127601(0x1c3)](_0x2b7dcf(_0x5bc8a2=>_0x5bc8a2['type']===_0x26561d['resize']),_0x1be23b(0x10))[_0x127601(0x432)](()=>{const _0x3053a2=_0x127601;this[_0x3053a2(0x3ad)]();}));}};fs=_a([ht(0x1,_0x5beccd(_0x102d0a)),ht(0x2,_0x5beccd(Ve)),ht(0x3,_0x3abf69),ht(0x4,_0x5beccd(_0x5aed82))],fs);const ua=0x1,da=1.5;class fa extends _0xee85de{constructor(_0x180fe5,_0x516148){const _0x33d32f=_0x1c91cb;super(_0x180fe5,_0x516148),g(this,_0x33d32f(0x472)),g(this,_0x33d32f(0x2b1),!0x1),g(this,_0x33d32f(0xea)),g(this,_0x33d32f(0x2c3),''),g(this,'_labelPosition',_0x33d32f(0x268)),g(this,'_backgroundColor'),(_0x516148&&this[_0x33d32f(0x329)](_0x516148),this[_0x33d32f(0x476)][_0x33d32f(0x24f)](()=>this[_0x33d32f(0x329)]({'hovered':!0x0})),this[_0x33d32f(0x1be)]['subscribeEvent'](()=>this[_0x33d32f(0x329)]({'hovered':!0x1})));}['setShapeProps'](_0x1f890c){const _0x3cfdaf=_0x1c91cb;var _0x337f05,_0x59f2d0,_0x394863,_0x440fa6,_0x356eaa,_0x565ddb;this[_0x3cfdaf(0x472)]=(_0x337f05=_0x1f890c[_0x3cfdaf(0x257)])!=null?_0x337f05:this['_color'],this[_0x3cfdaf(0x2b1)]=(_0x59f2d0=_0x1f890c['hovered'])!=null?_0x59f2d0:this['_hovered'],this[_0x3cfdaf(0xea)]=(_0x394863=_0x1f890c[_0x3cfdaf(0x3f4)])!=null?_0x394863:this['_range'],this['_name']=(_0x440fa6=_0x1f890c[_0x3cfdaf(0x332)])!=null?_0x440fa6:this['_name'],this[_0x3cfdaf(0x315)]=(_0x356eaa=_0x1f890c[_0x3cfdaf(0x11c)])!=null?_0x356eaa:this[_0x3cfdaf(0x315)],this[_0x3cfdaf(0x3e2)]=(_0x565ddb=_0x1f890c[_0x3cfdaf(0x2ed)])!=null?_0x565ddb:this['_backgroundColor'],this['transformByState']({'width':_0x1f890c[_0x3cfdaf(0x31b)],'height':_0x1f890c[_0x3cfdaf(0x30d)]});}[_0x1c91cb(0x23e)](_0x4953cc){const _0x5d2442=_0x1c91cb,{row:_0x31066c,column:_0x5983e9}=_0x4953cc;if(_0x31066c>=this[_0x5d2442(0xea)]['startRow']&&_0x31066c<=this[_0x5d2442(0xea)][_0x5d2442(0x264)]&&_0x5983e9>=this[_0x5d2442(0xea)][_0x5d2442(0x1a8)]&&_0x5983e9<=this[_0x5d2442(0xea)][_0x5d2442(0x132)]){this[_0x5d2442(0x329)]({'hovered':!0x0});return;}this[_0x5d2442(0x329)]({'hovered':!0x1});}[_0x1c91cb(0x15b)](_0x403642){return!0x1;}['_draw'](_0x4082c6){const _0x52706d=_0x1c91cb;_0x327377['drawWith'](_0x4082c6,{'width':this[_0x52706d(0x31b)],'height':this['height'],'strokeWidth':da,'stroke':this[_0x52706d(0x472)],'evented':!0x1,'fill':this[_0x52706d(0x3e2)]}),this[_0x52706d(0x2b1)]&&(_0x4082c6[_0x52706d(0x4d5)](),_0x4082c6[_0x52706d(0x316)](0x1,0x0,0x0,0x1,this[_0x52706d(0x31b)],this[_0x52706d(0x315)]==='bottom'?0x0:-nt),Bt[_0x52706d(0x29d)](_0x4082c6,{'text':this[_0x52706d(0x2c3)],'color':this[_0x52706d(0x472)]}),_0x4082c6[_0x52706d(0x1c7)]());}}var va=Object[_0x1c91cb(0x502)],pa=Object[_0x1c91cb(0x439)],ma=(_0x25b505,_0x4c2545,_0x516991,_0x3ebbfc)=>{const _0x46ce7f=_0x1c91cb;for(var _0x42e201=_0x3ebbfc>0x1?void 0x0:_0x3ebbfc?pa(_0x4c2545,_0x516991):_0x4c2545,_0x40f40d=_0x25b505[_0x46ce7f(0x38b)]-0x1,_0x5e2c32;_0x40f40d>=0x0;_0x40f40d--)(_0x5e2c32=_0x25b505[_0x40f40d])&&(_0x42e201=(_0x3ebbfc?_0x5e2c32(_0x4c2545,_0x516991,_0x42e201):_0x5e2c32(_0x42e201))||_0x42e201);return _0x3ebbfc&&_0x42e201&&va(_0x4c2545,_0x516991,_0x42e201),_0x42e201;},es=(_0x5ce88d,_0x1b9853)=>(_0x121210,_0x384e1a)=>_0x1b9853(_0x121210,_0x384e1a,_0x5ce88d);const ga=0x1389;let vs=class extends _0x30a9be{constructor(_0x124e5f,_0x351ac2,_0x490226,_0x1f2456){const _0x1c68fd=_0x1c91cb;super(),g(this,_0x1c68fd(0x48e),new Set()),g(this,_0x1c68fd(0x113),null),(this[_0x1c68fd(0x43d)]=_0x124e5f,this[_0x1c68fd(0x331)]=_0x351ac2,this[_0x1c68fd(0x1ae)]=_0x490226,this[_0x1c68fd(0xe7)]=_0x1f2456,this[_0x1c68fd(0x1ea)]());}[_0x1c91cb(0x1ea)](){const _0x4db14e=_0x1c91cb;this[_0x4db14e(0x331)][_0x4db14e(0x298)]['pipe'](_0x35b742(this['dispose$']),_0x2d30e6(_0x3842e8=>{const _0x5a3089=_0x4db14e;if(_0x3842e8){const _0x32b3ae=_0x3842e8[_0x5a3089(0xf4)];return _0x46617f(this['_collabCursorController'][_0x5a3089(0x3db)](this[_0x5a3089(0x43d)][_0x5a3089(0x3cc)]),this[_0x5a3089(0xe7)][_0x5a3089(0x193)])[_0x5a3089(0x1c3)](_0x349821(([_0x5988e8,_0x343801])=>{const _0x1cd13d=_0x5a3089,_0x27cdb4=new Map();return _0x5988e8[_0x1cd13d(0x180)]((_0x5369f5,_0x2da954)=>{const _0x4013ce=_0x1cd13d;if(_0x5369f5[_0x4013ce(0x284)]===_0x32b3ae){const _0x526da1={..._0x5369f5};_0x526da1['color']=_0x343801[_0x5369f5[_0x4013ce(0x257)]],_0x27cdb4[_0x4013ce(0x1e5)](_0x2da954,_0x526da1);}}),{'skeleton':_0x3842e8,'cursors':_0x27cdb4};}));}return _0x5684b5({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x551535,cursors:_0x42c3d8})=>{const _0x4a3574=_0x4db14e;this['_removeCollabCursors'](),_0x551535&&this[_0x4a3574(0x46b)](_0x551535,_0x42c3d8);}),this[_0x4db14e(0x331)][_0x4db14e(0x298)][_0x4db14e(0x432)](_0x467683=>{const _0x35ceca=_0x4db14e;if(_0x467683==null)return;const {skeleton:_0x312a41}=_0x467683,{scene:_0xb670eb}=this[_0x35ceca(0x43d)];_0xb670eb[_0x35ceca(0x239)][_0x35ceca(0x24f)](_0x2ae209(_0x694938=>{const _0x4c23df=_0x35ceca;var _0x350c7f,_0x16488d;const {offsetX:_0x33435e,offsetY:_0x49c620}=_0x694938,{x:_0x4a6dd5,y:_0x2dc454}=_0xb670eb[_0x4c23df(0x185)](_0x488e28[_0x4c23df(0x36f)]([_0x33435e,_0x49c620])),{scaleX:_0x51203a,scaleY:_0x35e5da}=_0xb670eb[_0x4c23df(0x2b3)](),_0x4b0173=_0xb670eb[_0x4c23df(0x475)](_0x1481cf[_0x4c23df(0x389)]),_0x30e4d5=_0xb670eb[_0x4c23df(0x482)](_0x488e28[_0x4c23df(0x36f)]([_0x4a6dd5,_0x2dc454]),_0x4b0173),_0x29f036=_0x312a41[_0x4c23df(0x3e7)](_0x33435e,_0x49c620,_0x51203a,_0x35e5da,_0x30e4d5);((_0x350c7f=this[_0x4c23df(0x113)])==null?void 0x0:_0x350c7f[_0x4c23df(0x2c7)])===_0x29f036[_0x4c23df(0x2c7)]&&((_0x16488d=this['_lastPointer'])==null?void 0x0:_0x16488d['row'])===_0x29f036[_0x4c23df(0x3ae)]||this[_0x4c23df(0x48e)][_0x4c23df(0x180)](_0x84c285=>{_0x84c285['onMouseMove'](_0x29f036);});},0x64));});}[_0x1c91cb(0x46b)](_0x1479c7,_0x44fd2f){const _0x5040ed=_0x1c91cb;var _0x1cb124;const _0x49b049=(_0x1cb124=this[_0x5040ed(0x331)][_0x5040ed(0x240)]())==null?void 0x0:_0x1cb124[_0x5040ed(0x38a)];if(!_0x49b049)return;const _0x33f186=this[_0x5040ed(0x4e9)]();if(!_0x33f186)return;this[_0x5040ed(0x48e)]['forEach'](_0x8cdcae=>{_0x8cdcae['makeDirty']();});const {scene:_0x3499b1}=_0x33f186,_0x5bad3e=Sa(Array['from'](_0x44fd2f['values']()))[_0x5040ed(0x3da)](_0x104d35=>{const _0x4f46aa=_0x5040ed,{color:_0xfb865b,range:_0x222bca,name:_0x3d9b4c,selection:_0x4d0292,sheetID:_0x248f9f}=_0x104d35,{startColumn:_0x30a933,startRow:_0x480fed,endColumn:_0x3d2e63,endRow:_0x15fb09}=_0x222bca,_0x472e73=_0x13f873(_0x480fed,_0x30a933,_0x3499b1,_0x49b049),_0x4c8069=_0x13f873(_0x15fb09,_0x3d2e63,_0x3499b1,_0x49b049),{columnHeaderHeightAndMarginTop:_0x2f96e1}=_0x49b049,{startX:_0x51d96e,startY:_0x24d3ca}=_0x472e73,{endX:_0x329050,endY:_0x275eec}=_0x4c8069,_0x3444ce=_0x329050-_0x51d96e,_0x184852=_0x275eec-_0x24d3ca,_0x1ef2d4={'labelPosition':_0x24d3ca-_0x2f96e1>=nt?'top':_0x4f46aa(0x34e),'sheetID':_0x248f9f,'range':_0x222bca,'color':_0xfb865b,'name':_0x3d9b4c,'selection':_0x4d0292,'left':_0x51d96e,'top':_0x24d3ca,'width':_0x3444ce,'height':_0x184852,'evented':!0x1,'zIndex':ga};return new fa(_0x3d9b4c,_0x1ef2d4);});_0x3499b1[_0x5040ed(0x29a)](_0x5bad3e,ua),this[_0x5040ed(0x48e)]=new Set(_0x5bad3e);}[_0x1c91cb(0x15f)](){const _0x2f42f0=_0x1c91cb;var _0xd832e4;(_0xd832e4=this[_0x2f42f0(0x48e)])==null||_0xd832e4[_0x2f42f0(0x180)](_0x59e129=>_0x59e129[_0x2f42f0(0x345)]());}[_0x1c91cb(0x4e9)](){const _0x2ae9bd=_0x1c91cb;return _0x125563(this['_context'][_0x2ae9bd(0x456)],this[_0x2ae9bd(0x43d)]);}};vs=ma([es(0x1,_0x5beccd(_0x51ae50)),es(0x2,_0x5beccd(Ve)),es(0x3,_0x5beccd(_0x5aed82))],vs);function Sa(_0x5f567a){const _0x39a939=_0x1c91cb,_0x2dd22d=new Map();return _0x5f567a[_0x39a939(0x180)](_0x48e8a7=>{const _0x3f0b2e=_0x39a939;if(_0x2dd22d[_0x3f0b2e(0x3f6)](_0x48e8a7[_0x3f0b2e(0x4d1)])){const _0x342e4f=_0x2dd22d[_0x3f0b2e(0x470)](_0x48e8a7[_0x3f0b2e(0x4d1)]);_0x342e4f[_0x3f0b2e(0x332)]+=',\x20'+_0x48e8a7[_0x3f0b2e(0x332)];}else _0x2dd22d[_0x3f0b2e(0x1e5)](_0x48e8a7[_0x3f0b2e(0x4d1)],_0x48e8a7);}),Array['from'](_0x2dd22d['values']());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x5453e3){const _0x49429c=_0x1c91cb;return _0x5453e3&&_0x5453e3['__esModule']&&Object[_0x49429c(0x245)][_0x49429c(0x48c)][_0x49429c(0xff)](_0x5453e3,_0x49429c(0x34f))?_0x5453e3[_0x49429c(0x34f)]:_0x5453e3;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x1ba18d=_0x1c91cb;if(ni)return Ze;ni=0x1;var _0x30f3f8=_0x2e260c,_0x51d21a=Symbol['for'](_0x1ba18d(0x140)),_0x17ec34=Symbol[_0x1ba18d(0x1fe)](_0x1ba18d(0x422)),_0x19fdca=Object[_0x1ba18d(0x245)][_0x1ba18d(0x48c)],_0x196b80=_0x30f3f8[_0x1ba18d(0x26c)]['ReactCurrentOwner'],_0x2e0c75={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x293e46(_0x25f6d2,_0x47d878,_0x144855){const _0x484838=_0x1ba18d;var _0x45e1d1,_0x1771a5={},_0x4db4b1=null,_0x396fa6=null;_0x144855!==void 0x0&&(_0x4db4b1=''+_0x144855),_0x47d878[_0x484838(0x2e0)]!==void 0x0&&(_0x4db4b1=''+_0x47d878[_0x484838(0x2e0)]),_0x47d878[_0x484838(0x393)]!==void 0x0&&(_0x396fa6=_0x47d878[_0x484838(0x393)]);for(_0x45e1d1 in _0x47d878)_0x19fdca[_0x484838(0xff)](_0x47d878,_0x45e1d1)&&!_0x2e0c75[_0x484838(0x48c)](_0x45e1d1)&&(_0x1771a5[_0x45e1d1]=_0x47d878[_0x45e1d1]);if(_0x25f6d2&&_0x25f6d2['defaultProps']){for(_0x45e1d1 in(_0x47d878=_0x25f6d2['defaultProps'],_0x47d878))_0x1771a5[_0x45e1d1]===void 0x0&&(_0x1771a5[_0x45e1d1]=_0x47d878[_0x45e1d1]);}return{'$$typeof':_0x51d21a,'type':_0x25f6d2,'key':_0x4db4b1,'ref':_0x396fa6,'props':_0x1771a5,'_owner':_0x196b80[_0x484838(0x3b2)]};}return Ze['Fragment']=_0x17ec34,Ze[_0x1ba18d(0x40f)]=_0x293e46,Ze['jsxs']=_0x293e46,Ze;}var oi;function Ca(){const _0x5a24e7=_0x1c91cb;return oi||(oi=0x1,ss[_0x5a24e7(0x3fe)]=Ia()),ss['exports'];}var De=Ca(),te=function(){const _0xa06fbb=_0x1c91cb;return te=Object[_0xa06fbb(0x49f)]||function(_0x34da72){const _0xc02b5c=_0xa06fbb;for(var _0xe3c126,_0x3f5d7c=0x1,_0x286f1e=arguments[_0xc02b5c(0x38b)];_0x3f5d7c<_0x286f1e;_0x3f5d7c++){_0xe3c126=arguments[_0x3f5d7c];for(var _0xd70698 in _0xe3c126)Object[_0xc02b5c(0x245)][_0xc02b5c(0x48c)][_0xc02b5c(0xff)](_0xe3c126,_0xd70698)&&(_0x34da72[_0xd70698]=_0xe3c126[_0xd70698]);}return _0x34da72;},te[_0xa06fbb(0x2e8)](this,arguments);},Ea=function(_0x49f751,_0xc4511e){const _0x38795d=_0x1c91cb;var _0x4f4ddd={};for(var _0x21ebb0 in _0x49f751)Object['prototype'][_0x38795d(0x48c)][_0x38795d(0xff)](_0x49f751,_0x21ebb0)&&_0xc4511e[_0x38795d(0x3b8)](_0x21ebb0)<0x0&&(_0x4f4ddd[_0x21ebb0]=_0x49f751[_0x21ebb0]);if(_0x49f751!=null&&typeof Object[_0x38795d(0x337)]==_0x38795d(0x151)){for(var _0x118b08=0x0,_0x21ebb0=Object[_0x38795d(0x337)](_0x49f751);_0x118b08<_0x21ebb0['length'];_0x118b08++)_0xc4511e[_0x38795d(0x3b8)](_0x21ebb0[_0x118b08])<0x0&&Object[_0x38795d(0x245)][_0x38795d(0x29e)]['call'](_0x49f751,_0x21ebb0[_0x118b08])&&(_0x4f4ddd[_0x21ebb0[_0x118b08]]=_0x49f751[_0x21ebb0[_0x118b08]]);}return _0x4f4ddd;},Us=_0x5e0549(function(_0x316e09,_0x158bb2){const _0x197060=_0x1c91cb;var _0x34fcc3=_0x316e09['icon'],_0x360ca6=_0x316e09['id'],_0x5801d3=_0x316e09[_0x197060(0x350)],_0x294ef0=_0x316e09[_0x197060(0x108)],_0x3a4485=Ea(_0x316e09,[_0x197060(0x4df),'id',_0x197060(0x350),_0x197060(0x108)]),_0x1e072b='univerjs-icon\x20univerjs-icon-'['concat'](_0x360ca6,'\x20')[_0x197060(0x37e)](_0x5801d3||'')[_0x197060(0x2f5)](),_0xd5378e=_0x5ff133('_'[_0x197060(0x37e)](Ra()));return Zi(_0x34fcc3,''[_0x197060(0x37e)](_0x360ca6),{'defIds':_0x34fcc3[_0x197060(0x24c)],'idSuffix':_0xd5378e[_0x197060(0x3b2)]},te({'ref':_0x158bb2,'className':_0x1e072b},_0x3a4485),_0x294ef0);});function Zi(_0x531aca,_0x511ee8,_0x5e8ebb,_0x47e5b5,_0xa63c08){const _0x1c2d79=_0x1c91cb;return _0x49f7b2(_0x531aca[_0x1c2d79(0x2d6)],te(te({'key':_0x511ee8},ba(_0x531aca,_0x5e8ebb,_0xa63c08)),_0x47e5b5),(Ta(_0x531aca,_0x5e8ebb)[_0x1c2d79(0x1b6)]||[])[_0x1c2d79(0x3da)](function(_0x306ef4,_0x468a8f){const _0x3f805e=_0x1c2d79;return Zi(_0x306ef4,''[_0x3f805e(0x37e)](_0x511ee8,'-')['concat'](_0x531aca[_0x3f805e(0x2d6)],'-')[_0x3f805e(0x37e)](_0x468a8f),_0x5e8ebb,void 0x0,_0xa63c08);}));}function ba(_0x12cc00,_0x422b88,_0x1c8f81){const _0x200872=_0x1c91cb;var _0x992bca=te({},_0x12cc00[_0x200872(0x14d)]);_0x1c8f81!=null&&_0x1c8f81[_0x200872(0x3e9)]&&_0x992bca['fill']===_0x200872(0x3e9)&&(_0x992bca['fill']=_0x1c8f81[_0x200872(0x3e9)]);var _0x5945c4=_0x422b88[_0x200872(0x24c)];return!_0x5945c4||_0x5945c4[_0x200872(0x38b)]===0x0||(_0x12cc00[_0x200872(0x2d6)]===_0x200872(0x441)&&_0x992bca[_0x200872(0xe9)]&&(_0x992bca[_0x200872(0xe9)]=_0x992bca[_0x200872(0xe9)]+_0x422b88['idSuffix']),Object['entries'](_0x992bca)['forEach'](function(_0x292431){const _0x3c16f6=_0x200872;var _0x37bc8d=_0x292431[0x0],_0x47f10e=_0x292431[0x1];typeof _0x47f10e=='string'&&(_0x992bca[_0x37bc8d]=_0x47f10e[_0x3c16f6(0x36a)](/url\(#(.*)\)/,_0x3c16f6(0x25a)[_0x3c16f6(0x37e)](_0x422b88['idSuffix'],')')));})),_0x992bca;}function Ta(_0x257466,_0x9d1e9){const _0x87617c=_0x1c91cb;var _0x5903ca,_0x2aea85=_0x9d1e9[_0x87617c(0x24c)];return!_0x2aea85||_0x2aea85['length']===0x0?_0x257466:_0x257466[_0x87617c(0x2d6)]==='defs'&&(!((_0x5903ca=_0x257466['children'])===null||_0x5903ca===void 0x0)&&_0x5903ca[_0x87617c(0x38b)])?te(te({},_0x257466),{'children':_0x257466['children'][_0x87617c(0x3da)](function(_0x4d723d){const _0x3efe85=_0x87617c;return typeof _0x4d723d[_0x3efe85(0x14d)]['id']==_0x3efe85(0x366)&&_0x2aea85&&_0x2aea85['indexOf'](_0x4d723d['attrs']['id'])>-0x1?te(te({},_0x4d723d),{'attrs':te(te({},_0x4d723d[_0x3efe85(0x14d)]),{'id':_0x4d723d[_0x3efe85(0x14d)]['id']+_0x9d1e9[_0x3efe85(0x21f)]})}):_0x4d723d;})}):_0x257466;}function Ra(){const _0x4a4894=_0x1c91cb;return Math[_0x4a4894(0x255)]()[_0x4a4894(0xfd)](0x24)['substring'](0x2,0x8);}Us[_0x1c91cb(0x48f)]=_0x1c91cb(0x1a3);var Oa={'tag':_0x1c91cb(0x276),'attrs':{'fill':_0x1c91cb(0x36e),'viewBox':_0x1c91cb(0x3eb),'width':_0x1c91cb(0x209),'height':_0x1c91cb(0x209)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c91cb(0x13c)},'children':[{'tag':_0x1c91cb(0x21d),'attrs':{'stroke':_0x1c91cb(0x493),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1c91cb(0x421),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1c91cb(0x1d4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1c91cb(0x496)},'children':[{'tag':_0x1c91cb(0x21d),'attrs':{'fill':_0x1c91cb(0x349),'d':_0x1c91cb(0x2b9)}}]}]}],'defIds':[_0x1c91cb(0x496)]},Qi=_0x5e0549(function(_0x9267aa,_0x270755){return _0x49f7b2(Us,Object['assign']({},_0x9267aa,{'id':'off-line-single','ref':_0x270755,'icon':Oa}));});Qi[_0x1c91cb(0x48f)]=_0x1c91cb(0x142);var ya={'tag':_0x1c91cb(0x276),'attrs':{'fill':'none','viewBox':_0x1c91cb(0x497),'width':'1em','height':_0x1c91cb(0x209)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c91cb(0x357)},'children':[{'tag':_0x1c91cb(0x21d),'attrs':{'stroke':_0x1c91cb(0x493),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1c91cb(0x421),'strokeLinejoin':_0x1c91cb(0x421),'strokeWidth':1.2}}]},{'tag':_0x1c91cb(0x1d4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1c91cb(0x2ea)},'children':[{'tag':_0x1c91cb(0x21d),'attrs':{'fill':_0x1c91cb(0x349),'d':_0x1c91cb(0x2b9),'transform':_0x1c91cb(0x35c)}}]}]}],'defIds':[_0x1c91cb(0x2ea)]},er=_0x5e0549(function(_0x45bd49,_0x13692e){const _0x2c10af=_0x1c91cb;return _0x49f7b2(Us,Object[_0x2c10af(0x49f)]({},_0x45bd49,{'id':_0x2c10af(0x2f6),'ref':_0x13692e,'icon':ya}));});er['displayName']='OnLineSingle';function tr(_0x2adbe9){const _0xc5828e=_0x1c91cb;var _0x194bf7,_0x1ef5ab,_0x443770='';if(typeof _0x2adbe9==_0xc5828e(0x366)||typeof _0x2adbe9==_0xc5828e(0x49b))_0x443770+=_0x2adbe9;else{if(typeof _0x2adbe9=='object'){if(Array[_0xc5828e(0x338)](_0x2adbe9)){var _0x5221c8=_0x2adbe9[_0xc5828e(0x38b)];for(_0x194bf7=0x0;_0x194bf7<_0x5221c8;_0x194bf7++)_0x2adbe9[_0x194bf7]&&(_0x1ef5ab=tr(_0x2adbe9[_0x194bf7]))&&(_0x443770&&(_0x443770+='\x20'),_0x443770+=_0x1ef5ab);}else{for(_0x1ef5ab in _0x2adbe9)_0x2adbe9[_0x1ef5ab]&&(_0x443770&&(_0x443770+='\x20'),_0x443770+=_0x1ef5ab);}}}return _0x443770;}function wa(){const _0x428ef7=_0x1c91cb;for(var _0x476fa5,_0x4d3a8b,_0x52cd65=0x0,_0x7b2375='',_0x1aee7a=arguments[_0x428ef7(0x38b)];_0x52cd65<_0x1aee7a;_0x52cd65++)(_0x476fa5=arguments[_0x52cd65])&&(_0x4d3a8b=tr(_0x476fa5))&&(_0x7b2375&&(_0x7b2375+='\x20'),_0x7b2375+=_0x4d3a8b);return _0x7b2375;}const Da=_0x1c91cb(0x254),Pa=_0x1c91cb(0x157),Na=_0x1c91cb(0x34b),Ua=_0x1c91cb(0x2cc),Aa=_0x1c91cb(0x3c5),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x3ae973){const _0x2493a3=_0x1c91cb;switch(_0x3ae973){case J['OFFLINE']:return _0x2493a3(0x21c);case J['CONFLICT']:return _0x2493a3(0x390);case J[_0x2493a3(0x2e5)]:return'collabStatus.fetchMiss';case J['NOT_COLLAB']:return _0x2493a3(0x1a1);case J[_0x2493a3(0x246)]:case J[_0x2493a3(0x351)]:return _0x2493a3(0x112);case J[_0x2493a3(0x452)]:case J[_0x2493a3(0x14c)]:return _0x2493a3(0x293);}}function xa(_0x32eddb){const _0x3e44d3=_0x1c91cb,{status$:_0xdcc826}=_0x32eddb,_0x52ed56=_0x1989ef(_0xdcc826,J['NOT_COLLAB']),_0x73f306=_0xf90a9a(_0x1f9468),_0x78aae5=_0xf90a9a(xe),_0x336ebe=_0x52ed56!==J[_0x3e44d3(0x12d)],_0x4e0b8e=_0x73f306['t'](Ma(_0x52ed56)),_0x2127af=wa(Qe['onlineStatus'],{[Qe[_0x3e44d3(0x206)]]:_0x336ebe,[Qe[_0x3e44d3(0x4c8)]]:!_0x336ebe}),_0x321ecc=_0x336ebe?De['jsx'](er,{}):De['jsx'](Qi,{}),_0x788670=_0x50f9f7(()=>{const _0x18f33f=_0x3e44d3;_0x336ebe||_0x78aae5[_0x18f33f(0x1e1)]();},[_0x336ebe,_0x78aae5]);function _0x594373(){const _0x38b644=_0x3e44d3;return De[_0x38b644(0x175)](_0x38b644(0x2c1),{'className':_0x2127af,'onClick':_0x788670,'children':[De[_0x38b644(0x40f)](_0x38b644(0x2c1),{'className':Qe['onlineStatusIcon'],'children':_0x321ecc}),De[_0x38b644(0x40f)]('div',{'className':Qe[_0x38b644(0x487)],'children':_0x4e0b8e})]});}return _0x336ebe?_0x594373():De[_0x3e44d3(0x40f)](_0x1e30b7,{'title':_0x73f306['t'](_0x3e44d3(0x2fb)),'children':_0x594373()});}var La=Object[_0x1c91cb(0x502)],$a=Object[_0x1c91cb(0x439)],Ha=(_0xf7096a,_0x2953fe,_0x421046,_0x25af7f)=>{const _0x41404d=_0x1c91cb;for(var _0x4b4c3d=_0x25af7f>0x1?void 0x0:_0x25af7f?$a(_0x2953fe,_0x421046):_0x2953fe,_0x510d82=_0xf7096a[_0x41404d(0x38b)]-0x1,_0x21e511;_0x510d82>=0x0;_0x510d82--)(_0x21e511=_0xf7096a[_0x510d82])&&(_0x4b4c3d=(_0x25af7f?_0x21e511(_0x2953fe,_0x421046,_0x4b4c3d):_0x21e511(_0x4b4c3d))||_0x4b4c3d);return _0x25af7f&&_0x4b4c3d&&La(_0x2953fe,_0x421046,_0x4b4c3d),_0x4b4c3d;},lt=(_0x3fe8ca,_0x1bc895)=>(_0x343e28,_0x3a366c)=>_0x1bc895(_0x343e28,_0x3a366c,_0x3fe8ca);let At=class extends _0x4b86a3{constructor(_0x1b78c5,_0x45ce61,_0x24d289,_0x23c626){const _0x29f7e0=_0x1c91cb;super(),g(this,_0x29f7e0(0x207),new _0x3eae3e(J['NOT_COLLAB'])),(this[_0x29f7e0(0x494)]=_0x1b78c5,this[_0x29f7e0(0x2ee)]=_0x45ce61,this[_0x29f7e0(0x29f)]=_0x24d289,this[_0x29f7e0(0x109)]=_0x23c626,this['_initStatusComponent'](),this[_0x29f7e0(0x30c)]());}[_0x1c91cb(0x30c)](){const _0x51e005=_0x1c91cb;this[_0x51e005(0x29c)](this[_0x51e005(0x494)][_0x51e005(0x128)][_0x51e005(0x1c3)](_0x284c9e(()=>{const _0x35b458=_0x51e005,_0x2863a7=this[_0x35b458(0x494)][_0x35b458(0x30e)]();return _0x2863a7?this[_0x35b458(0x109)][_0x35b458(0x17f)](_0x2863a7['getUnitId']()):_0x5684b5(null);}),_0x284c9e(_0x2b3f06=>_0x2b3f06?_0x2b3f06[_0x51e005(0x3b5)]:_0x5684b5(J[_0x51e005(0x212)])))[_0x51e005(0x432)](_0x4c370b=>{this['_status$']['next'](_0x4c370b);}));}[_0x1c91cb(0x280)](){const _0x172c01=_0x1c91cb;this[_0x172c01(0x29c)](this[_0x172c01(0x2ee)][_0x172c01(0x25f)](_0x1d2b19['HEADER_MENU'],()=>_0x7290b(ja({'status$':this['_status$'][_0x172c01(0x141)]()}),this[_0x172c01(0x29f)])));}};At=Ha([lt(0x0,_0x5283d0),lt(0x1,_0x284aee),lt(0x2,_0x5beccd(_0x21398d)),lt(0x3,_0x5beccd(rt))],At);function ja(_0x569068){const {status$:_0x362a9a}=_0x569068;return function(){return De['jsx'](xa,{'status$':_0x362a9a});};}const sr=_0x418c93('uni.network.url-service');var Ba=Object['defineProperty'],ka=Object[_0x1c91cb(0x439)],Wa=(_0x132193,_0x161e43,_0x19487b,_0x461222)=>{const _0x35c559=_0x1c91cb;for(var _0x464327=_0x461222>0x1?void 0x0:_0x461222?ka(_0x161e43,_0x19487b):_0x161e43,_0x23e924=_0x132193[_0x35c559(0x38b)]-0x1,_0x4ed7f5;_0x23e924>=0x0;_0x23e924--)(_0x4ed7f5=_0x132193[_0x23e924])&&(_0x464327=(_0x461222?_0x4ed7f5(_0x161e43,_0x19487b,_0x464327):_0x4ed7f5(_0x464327))||_0x464327);return _0x461222&&_0x464327&&Ba(_0x161e43,_0x19487b,_0x464327),_0x464327;},ke=(_0x16e8e8,_0x1161b9)=>(_0x295a86,_0x5b680d)=>_0x1161b9(_0x295a86,_0x5b680d,_0x16e8e8);let Mt=class extends _0x30a9be{constructor(_0x1e1d99,_0x218248,_0x2eb62e,_0x3d3956,_0x52f90e,_0x458c1a){const _0x41dd8f=_0x1c91cb;super(),this[_0x41dd8f(0x1a0)]=_0x1e1d99,this[_0x41dd8f(0x2fc)]=_0x218248,this[_0x41dd8f(0x281)]=_0x2eb62e,this[_0x41dd8f(0x38e)]=_0x3d3956,this[_0x41dd8f(0x3c8)]=_0x52f90e,_0x458c1a?_0x458c1a==null||_0x458c1a[_0x41dd8f(0x4aa)]()['then'](()=>this[_0x41dd8f(0x1ea)]()):(this[_0x41dd8f(0x2fc)][_0x41dd8f(0x238)](_0x41dd8f(0x4c4),_0x41dd8f(0x158)),this[_0x41dd8f(0x1ea)]());}async[_0x1c91cb(0x1ea)](){const _0x5c5bbf=_0x1c91cb,_0x31cd8c=this[_0x5c5bbf(0x1a0)][_0x5c5bbf(0x4b3)]('unit'),_0x52fd40=this[_0x5c5bbf(0x1a0)][_0x5c5bbf(0x4b3)](_0x5c5bbf(0x4c3));if(!_0x31cd8c||!_0x52fd40){this[_0x5c5bbf(0x2fc)][_0x5c5bbf(0x238)](_0x5c5bbf(0x4c4),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x52fd40)){case ae['UNIVER_SHEET']:{const _0x4e59c6=await this[_0x5c5bbf(0x474)](_0x31cd8c);this['_setupSubUnitSync'](_0x4e59c6);break;}case ae[_0x5c5bbf(0x18f)]:{await this[_0x5c5bbf(0x226)](_0x31cd8c);break;}default:{this[_0x5c5bbf(0x2fc)][_0x5c5bbf(0x4d3)](_0x5c5bbf(0x4c4),_0x5c5bbf(0x488));break;}}}async[_0x1c91cb(0x1d7)](_0x1befd6){const _0x2c3497=_0x1c91cb;await this[_0x2c3497(0x3b7)](_0x1befd6),_0x1befd6['activeSheet$']['pipe'](_0x13e2dd(this[_0x2c3497(0x1a4)]))[_0x2c3497(0x432)](_0x446e39=>{_0x446e39&&this['_updateURLWithCurrentState'](_0x446e39);}),this[_0x2c3497(0x1a0)]['urlChange$'][_0x2c3497(0x1c3)](_0x13e2dd(this[_0x2c3497(0x1a4)]))[_0x2c3497(0x432)](()=>this[_0x2c3497(0x3b7)](_0x1befd6));}[_0x1c91cb(0xfb)](_0x1767b1,_0x1c784d=!0x1){const _0x5ca87f=_0x1c91cb,_0x3a2039=this[_0x5ca87f(0x1a0)][_0x5ca87f(0x4b3)](_0x5ca87f(0x250));_0x1767b1['getSheetId']()!==_0x3a2039&&this[_0x5ca87f(0x1a0)][_0x5ca87f(0x41b)](_0x5ca87f(0x250),_0x1767b1[_0x5ca87f(0x359)](),_0x1c784d);}async[_0x1c91cb(0x3b7)](_0x32d223){const _0x313372=_0x1c91cb;var _0x15b66e;const _0x4d2947=this[_0x313372(0x1a0)][_0x313372(0x4b3)](_0x313372(0x250));if(!_0x4d2947||!_0x32d223[_0x313372(0x2e2)](_0x4d2947)){const _0x26bb07=_0x32d223[_0x313372(0x35b)]()[0x0],_0x2e9e86=_0x32d223['getSheetBySheetId'](_0x26bb07);if(!_0x2e9e86)return;this[_0x313372(0xfb)](_0x2e9e86,!0x0),await this[_0x313372(0x281)][_0x313372(0x407)](_0x4eaf31['id'],{'unitId':_0x32d223['getUnitId'](),'subUnitId':_0x26bb07});return;}((_0x15b66e=_0x32d223[_0x313372(0x27f)]())==null?void 0x0:_0x15b66e[_0x313372(0x359)]())!==_0x4d2947&&await this[_0x313372(0x281)]['executeCommand'](_0x4eaf31['id'],{'unitId':_0x32d223[_0x313372(0x2f3)](),'subUnitId':_0x4d2947});}async[_0x1c91cb(0x474)](_0x42bf32){const _0x1eaad4=_0x1c91cb;let _0x2ef5e8=0x0;const _0x126eb2=await this['_localCacheService']['loadOfflineData'](_0x42bf32);return _0x126eb2&&(_0x126eb2[_0x1eaad4(0x177)]||_0x126eb2[_0x1eaad4(0x2e4)][_0x1eaad4(0x38b)]!==0x0)&&(_0x2ef5e8=_0x126eb2[_0x1eaad4(0x1ce)]),_0x2ef5e8===0x0&&this[_0x1eaad4(0x2fc)][_0x1eaad4(0x238)](_0x1eaad4(0x4c4),_0x1eaad4(0x286)),this[_0x1eaad4(0x3c8)][_0x1eaad4(0x1e2)](_0x42bf32,_0x2ef5e8);}async[_0x1c91cb(0x226)](_0x26c5c8){const _0x9603f9=_0x1c91cb;let _0x197613=0x0;const _0x5884ad=await this[_0x9603f9(0x38e)]['loadOfflineData'](_0x26c5c8);return _0x5884ad&&(_0x5884ad['awaitingChangeset']||_0x5884ad['mutations'][_0x9603f9(0x38b)]!==0x0)&&(_0x197613=_0x5884ad[_0x9603f9(0x1ce)]),_0x197613===0x0&&this[_0x9603f9(0x2fc)][_0x9603f9(0x238)](_0x9603f9(0x4c4),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x9603f9(0x3c8)][_0x9603f9(0xef)](_0x26c5c8,_0x197613);}};Mt=Wa([ke(0x0,sr),ke(0x1,_0x535daf),ke(0x2,_0x3abf69),ke(0x3,_0x5beccd(z)),ke(0x4,_0x5beccd(_0x2c6ceb)),ke(0x5,_0x231330(_0x473fe8))],Mt);var Fa=Object[_0x1c91cb(0x502)],Va=Object[_0x1c91cb(0x439)],Ga=(_0x5a6637,_0x1fb5de,_0x3ecc3b,_0x34dc3d)=>{const _0x2487c4=_0x1c91cb;for(var _0x5e429a=_0x34dc3d>0x1?void 0x0:_0x34dc3d?Va(_0x1fb5de,_0x3ecc3b):_0x1fb5de,_0x12ba2b=_0x5a6637[_0x2487c4(0x38b)]-0x1,_0x12d5dc;_0x12ba2b>=0x0;_0x12ba2b--)(_0x12d5dc=_0x5a6637[_0x12ba2b])&&(_0x5e429a=(_0x34dc3d?_0x12d5dc(_0x1fb5de,_0x3ecc3b,_0x5e429a):_0x12d5dc(_0x5e429a))||_0x5e429a);return _0x34dc3d&&_0x5e429a&&Fa(_0x1fb5de,_0x3ecc3b,_0x5e429a),_0x5e429a;},ai=(_0x55f42b,_0x45c594)=>(_0x3066b6,_0x1f5fbb)=>_0x45c594(_0x3066b6,_0x1f5fbb,_0x55f42b);const Ya=_0x1c91cb(0x12e),Ka=_0x1c91cb(0x365);let xt=class extends _0x4b86a3{constructor(_0x3ed6e6,_0x383da2){const _0x29aecb=_0x1c91cb;super(),this['_univerInstanceService']=_0x3ed6e6,this[_0x29aecb(0x379)]=_0x383da2,this['_init']();}[_0x1c91cb(0x1ea)](){const _0x3744fc=_0x1c91cb;this[_0x3744fc(0x29c)](this['_univerInstanceService'][_0x3744fc(0x128)]['subscribe'](()=>{const _0x11f95b=_0x3744fc;var _0x4371c4;const _0x7c1dc4=this[_0x11f95b(0x494)][_0x11f95b(0x30e)]();let _0x4bdb1a=(_0x4371c4=this[_0x11f95b(0x379)]['getConfig'](Ya))!=null?_0x4371c4:Ka;_0x7c1dc4 instanceof _0x27bfec&&(_0x4bdb1a=_0x7c1dc4['name']),document[_0x11f95b(0x116)]=_0x4bdb1a;}));}};xt=Ga([ai(0x0,_0x5283d0),ai(0x1,_0x385706)],xt);var qa=Object[_0x1c91cb(0x502)],za=Object['getOwnPropertyDescriptor'],Xa=(_0x11f344,_0x1a33fb,_0x27c75f,_0xe89b82)=>{const _0x49d6bc=_0x1c91cb;for(var _0x435fd8=_0xe89b82>0x1?void 0x0:_0xe89b82?za(_0x1a33fb,_0x27c75f):_0x1a33fb,_0x5261ee=_0x11f344[_0x49d6bc(0x38b)]-0x1,_0x48af99;_0x5261ee>=0x0;_0x5261ee--)(_0x48af99=_0x11f344[_0x5261ee])&&(_0x435fd8=(_0xe89b82?_0x48af99(_0x1a33fb,_0x27c75f,_0x435fd8):_0x48af99(_0x435fd8))||_0x435fd8);return _0xe89b82&&_0x435fd8&&qa(_0x1a33fb,_0x27c75f,_0x435fd8),_0x435fd8;},is=(_0x21881f,_0x31fe8a)=>(_0x508822,_0x367b4e)=>_0x31fe8a(_0x508822,_0x367b4e,_0x21881f);let Lt=class{constructor(_0x4014f2,_0x5ddd66,_0x39c95e){const _0xfa4899=_0x1c91cb;this[_0xfa4899(0x379)]=_0x4014f2,this[_0xfa4899(0x478)]=_0x5ddd66,this[_0xfa4899(0x437)]=_0x39c95e,this[_0xfa4899(0x248)]();}[_0x1c91cb(0x248)](){const _0x4a1559=_0x1c91cb;this[_0x4a1559(0x478)][_0x4a1559(0x262)]({'priority':0x1,'interceptor':(_0x3392e3,_0xc7d144)=>_0xc7d144(_0x3392e3)[_0x4a1559(0x1c3)](_0x463a33(async _0x3c711c=>{const _0x26513d=_0x4a1559,_0x57c848=_0x3c711c;if(_0x57c848[_0x26513d(0xf0)]===0x191&&window['confirm'](this[_0x26513d(0x437)]['t'](_0x26513d(0x2be)))){const _0x11a912=window[_0x26513d(0x473)](window[_0x26513d(0x2c2)][_0x26513d(0x33a)]);window[_0x26513d(0x2c2)][_0x26513d(0x33a)]=this[_0x26513d(0x3ef)]()+_0x26513d(0x3e5)+_0x11a912;}return _0x57c848;}))});}[_0x1c91cb(0x3ef)](){const _0x4859c0=_0x1c91cb;var _0x8dc363,_0x9b7dcd;const _0x4a937c=this[_0x4859c0(0x379)][_0x4859c0(0x34d)](Hn),_0x5ab9ce=this[_0x4859c0(0x379)][_0x4859c0(0x34d)](Q);return(_0x9b7dcd=(_0x8dc363=_0x5ab9ce==null?void 0x0:_0x5ab9ce[_0x4859c0(0x491)])!=null?_0x8dc363:_0x4a937c)!=null?_0x9b7dcd:jn;}};Lt=Xa([is(0x0,_0x385706),is(0x1,_0x5beccd(_0x170656)),is(0x2,_0x5beccd(_0x1f9468))],Lt);var Ja=Object['defineProperty'],Za=Object['getOwnPropertyDescriptor'],Qa=(_0x776cab,_0x291827,_0x49736b,_0x19c40a)=>{const _0x105de0=_0x1c91cb;for(var _0x2608db=_0x19c40a>0x1?void 0x0:_0x19c40a?Za(_0x291827,_0x49736b):_0x291827,_0x5b01f7=_0x776cab[_0x105de0(0x38b)]-0x1,_0x2e066b;_0x5b01f7>=0x0;_0x5b01f7--)(_0x2e066b=_0x776cab[_0x5b01f7])&&(_0x2608db=(_0x19c40a?_0x2e066b(_0x291827,_0x49736b,_0x2608db):_0x2e066b(_0x2608db))||_0x2608db);return _0x19c40a&&_0x2608db&&Ja(_0x291827,_0x49736b,_0x2608db),_0x2608db;},ci=(_0xa05c6e,_0x4f1961)=>(_0x38311a,_0x36bc88)=>_0x4f1961(_0x38311a,_0x36bc88,_0xa05c6e);const ir=_0x1c91cb(0x252),ec=_0x1c91cb(0x44a);let ps=class extends _0x4b86a3{constructor(_0xdabc4f,_0x144fd0){const _0x3d9418=_0x1c91cb;super(),this[_0x3d9418(0x45d)]=_0xdabc4f,this[_0x3d9418(0x379)]=_0x144fd0,this[_0x3d9418(0x426)]();}[_0x1c91cb(0x426)](){const _0x55d831=_0x1c91cb,_0x27900f=this;this['disposeWithMe'](this[_0x55d831(0x45d)][_0x55d831(0x262)]({'priority':0x3e7,'interceptor':_0x1e8357({'isMatch'(_0x349c06){const _0x1e9b4c=_0x55d831;var _0x25ee5a;if(_0x349c06[_0x1e9b4c(0x19e)]===_0x1e9b4c(0x301)&&((_0x25ee5a=_0x349c06['requestParams'])!=null&&_0x25ee5a[_0x1e9b4c(0x1f9)])){const {objectID:_0x2644eb,objectType:_0x251797}=_0x349c06['requestParams'][_0x1e9b4c(0x1f9)]||{};if(!_0x2644eb||_0x251797===void 0x0)return!0x1;const _0x12372a=_0x27900f[_0x1e9b4c(0x25b)]()+'/'+_0x251797+_0x1e9b4c(0x4f6)+_0x2644eb+_0x1e9b4c(0x2c5);if(_0x349c06[_0x1e9b4c(0x3de)]===_0x12372a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a499d){const _0x33e095=_0x55d831;var _0x33d0b6;return(_0x33d0b6=_0x4a499d[_0x33e095(0x2e3)])==null?void 0x0:_0x33d0b6[_0x33e095(0x1f9)];},'mergeParamsToRequest'(_0x1e6464,_0x347fcb){const _0x9924f1=_0x55d831,_0x1c8bb4=_0x27900f['_getAPIPrefixPath']()+_0x9924f1(0x440),_0x5eb858=_0x1e6464[_0x9924f1(0x310)]((_0x1e382c,_0x4a6ff3)=>{const {unitID:_0x3e3e7f,objectID:_0x539484,objectType:_0x488916,actions:_0xae7600}=_0x4a6ff3;return _0x1e382c[_0x3e3e7f]||(_0x1e382c[_0x3e3e7f]={}),_0x1e382c[_0x3e3e7f][_0x539484]||(_0x1e382c[_0x3e3e7f][_0x539484]={'objectID':_0x539484,'objectType':_0x488916,'actions':[]}),_0x1e382c[_0x3e3e7f][_0x539484]['actions']['push'](..._0xae7600),_0x1e382c;},{}),_0x4ce99b=[];for(const _0x17b1b7 in _0x5eb858)for(const _0x6144ce in _0x5eb858[_0x17b1b7]){const {actions:_0x4bc7d9,objectType:_0x4c6189}=_0x5eb858[_0x17b1b7][_0x6144ce],_0x401bd4=[...new Set(_0x4bc7d9)];_0x4ce99b['push']({'unitID':_0x17b1b7,'objectID':_0x6144ce,'objectType':_0x4c6189,'actions':_0x401bd4});}return new _0x456f0a('POST',_0x1c8bb4,{'headers':_0x347fcb[_0x9924f1(0x45a)],'withCredentials':_0x347fcb[_0x9924f1(0x370)],'responseType':_0x347fcb[_0x9924f1(0x1b4)],'body':{'requests':_0x4ce99b}});}},{'distributeResult'(_0x3f4ff0,_0xdc61eb){const {objectActions:_0x5901c4}=_0x3f4ff0;return _0xdc61eb['map'](_0x2630b5=>{const _0x514dd7=_0x1b68,{unitID:_0x3bca98,objectID:_0x3fe287,actions:_0xb30e93}=_0x2630b5,_0x327924=_0x5901c4[_0x514dd7(0x451)](_0x5485f2=>_0x5485f2[_0x514dd7(0x1ab)]===_0x3bca98&&_0x5485f2[_0x514dd7(0x486)]===_0x3fe287),_0x3e4936=_0xb30e93[_0x514dd7(0x3da)](_0x3b18de=>_0x327924==null?void 0x0:_0x327924[_0x514dd7(0x327)]['find'](_0x417f68=>_0x417f68[_0x514dd7(0x4ab)]===_0x3b18de))[_0x514dd7(0x18a)](_0x10031c=>!!_0x10031c);return{'config':_0x2630b5,'result':{'actions':_0x3e4936,'error':_0x3f4ff0[_0x514dd7(0x4d3)]}};});}})}));}['_getAPIPrefixPath'](){const _0x305725=_0x1c91cb;var _0x53b40e,_0x9b67c2;const _0x450214=this[_0x305725(0x379)]['getConfig'](ir),_0x1e2c3e=this[_0x305725(0x379)][_0x305725(0x34d)](Q);return(_0x9b67c2=(_0x53b40e=_0x1e2c3e==null?void 0x0:_0x1e2c3e[_0x305725(0x4c5)])!=null?_0x53b40e:_0x450214)!=null?_0x9b67c2:ec;}async[_0x1c91cb(0x1ff)](_0x38ecc7){const _0xd86b2a=_0x1c91cb,_0x50c34c=this['_getAPIPrefixPath']()+'/'+_0x38ecc7['objectType']+_0xd86b2a(0x4c2);return(await this[_0xd86b2a(0x45d)]['post'](_0x50c34c,{'body':_0x38ecc7}))['body'][_0xd86b2a(0x486)]||'';}async['list'](_0x1ebafc){const _0x36df2f=_0x1c91cb,_0x200e56=this['_getAPIPrefixPath']()+_0x36df2f(0x2bb);return(await this[_0x36df2f(0x45d)]['post'](_0x200e56,{'body':_0x1ebafc}))['body'][_0x36df2f(0x33e)];}async['update'](_0x651360){const _0x18efd1=_0x1c91cb,_0x56ef99=this['_getAPIPrefixPath']()+'/'+_0x651360[_0x18efd1(0x330)]+'/object/'+_0x651360[_0x18efd1(0x486)];await this['_HTTPService']['put'](_0x56ef99,{'body':_0x651360});}async['allowed'](_0x220b5d){const _0x5cc1c0=_0x1c91cb,_0x4ae29a=this[_0x5cc1c0(0x25b)]()+'/'+_0x220b5d[_0x5cc1c0(0x330)]+_0x5cc1c0(0x4f6)+_0x220b5d[_0x5cc1c0(0x486)]+_0x5cc1c0(0x2c5);return(await this['_HTTPService'][_0x5cc1c0(0x40b)](_0x4ae29a,{'body':_0x220b5d}))[_0x5cc1c0(0x1f9)][_0x5cc1c0(0x327)];}async[_0x1c91cb(0x12b)](_0x36276d){const _0x3b63fa=_0x1c91cb,_0x2da0ba=this[_0x3b63fa(0x25b)]()+_0x3b63fa(0x440);return(await this[_0x3b63fa(0x45d)][_0x3b63fa(0x40b)](_0x2da0ba,{'body':{'requests':_0x36276d}}))[_0x3b63fa(0x1f9)][_0x3b63fa(0x39d)];}async['listRoles'](_0x4e6e5c){const _0x2508b3=_0x1c91cb,_0x80b47a=this[_0x2508b3(0x25b)]()+'/'+_0x4e6e5c[_0x2508b3(0x330)]+_0x2508b3(0x1a5),_0x14ef4c=await this[_0x2508b3(0x45d)][_0x2508b3(0x40b)](_0x80b47a,{'body':_0x4e6e5c});return{'roles':_0x14ef4c[_0x2508b3(0x1f9)][_0x2508b3(0x471)],'actions':_0x14ef4c[_0x2508b3(0x1f9)][_0x2508b3(0x327)]};}async['deleteCollaborator'](_0x1c5f06){const _0x2b1f22=_0x1c91cb,_0x5a99bc=this[_0x2b1f22(0x25b)]()+_0x2b1f22(0x375);await this['_HTTPService'][_0x2b1f22(0x160)](_0x5a99bc,{'params':{'collaboratorID':_0x1c5f06[_0x2b1f22(0x233)],'objectID':_0x1c5f06['objectID'],'unitID':_0x1c5f06[_0x2b1f22(0x1ab)]}});}async[_0x1c91cb(0x4d7)](_0x1f3046){const _0x53f049=_0x1c91cb,_0x3360b0=this[_0x53f049(0x25b)]()+_0x53f049(0x375);await this[_0x53f049(0x45d)][_0x53f049(0x1f4)](_0x3360b0,{'body':_0x1f3046});}async[_0x1c91cb(0x3e1)](_0xe3399c){const _0x55b65c=_0x1c91cb,_0x3cd9ca=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x55b65c(0x45d)][_0x55b65c(0x40b)](_0x3cd9ca,{'body':_0xe3399c});}async[_0x1c91cb(0x308)](_0x43bc5b){const _0x385f7e=_0x1c91cb,_0x472305=this[_0x385f7e(0x25b)]()+'/collaborator';return(await this[_0x385f7e(0x45d)][_0x385f7e(0x470)](_0x472305,{'params':{'objectID':_0x43bc5b[_0x385f7e(0x486)],'unitID':_0x43bc5b[_0x385f7e(0x1ab)]}}))[_0x385f7e(0x1f9)]['collaborators'];}async[_0x1c91cb(0x371)](_0x9af9b){const _0x1e5d01=_0x1c91cb,_0x59d106=this['_getAPIPrefixPath']()+_0x1e5d01(0x375);await this[_0x1e5d01(0x45d)][_0x1e5d01(0x334)](_0x59d106,{'body':_0x9af9b});}};ps=Qa([ci(0x0,_0x5beccd(_0x170656)),ci(0x1,_0x5beccd(_0x385706))],ps);var dt={'exports':{}};function tc(_0x754e77){const _0x3e7177=_0x1c91cb;throw new Error(_0x3e7177(0x1d5)+_0x754e77+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var ft={'exports':{}},sc=ft[_0x1c91cb(0x3fe)],hi;function _e(){const _0x6a9b9d=_0x1c91cb;return hi||(hi=0x1,function(_0xa34a27,_0x26025a){(function(_0x2d334a,_0x403ae8){_0xa34a27['exports']=_0x403ae8();}(sc,function(){var _0x150394=_0x150394||function(_0x1e5cb7,_0x403f36){const _0xd5a52d=_0x1b68;var _0xc030ad;if(typeof window<'u'&&window[_0xd5a52d(0x3a7)]&&(_0xc030ad=window[_0xd5a52d(0x3a7)]),typeof self<'u'&&self['crypto']&&(_0xc030ad=self[_0xd5a52d(0x3a7)]),typeof globalThis<'u'&&globalThis[_0xd5a52d(0x3a7)]&&(_0xc030ad=globalThis[_0xd5a52d(0x3a7)]),!_0xc030ad&&typeof window<'u'&&window['msCrypto']&&(_0xc030ad=window['msCrypto']),!_0xc030ad&&typeof ts<'u'&&ts[_0xd5a52d(0x3a7)]&&(_0xc030ad=ts['crypto']),!_0xc030ad&&typeof tc=='function')try{_0xc030ad=require(_0xd5a52d(0x3a7));}catch{}var _0x240b91=function(){const _0x422143=_0xd5a52d;if(_0xc030ad){if(typeof _0xc030ad[_0x422143(0x43a)]==_0x422143(0x151))try{return _0xc030ad['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xc030ad['randomBytes']=='function')try{return _0xc030ad[_0x422143(0x50a)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x422143(0x2bd));},_0x25c775=Object[_0xd5a52d(0x1ff)]||(function(){function _0x3b93a3(){}return function(_0xa736a2){const _0x45fca6=_0x1b68;var _0x54c422;return _0x3b93a3[_0x45fca6(0x245)]=_0xa736a2,_0x54c422=new _0x3b93a3(),_0x3b93a3[_0x45fca6(0x245)]=null,_0x54c422;};}()),_0x38eed9={},_0x38ee40=_0x38eed9['lib']={},_0x1fdfcd=_0x38ee40[_0xd5a52d(0x47e)]=(function(){return{'extend':function(_0x2b4601){const _0x5d66af=_0x1b68;var _0x3483ed=_0x25c775(this);return _0x2b4601&&_0x3483ed['mixIn'](_0x2b4601),(!_0x3483ed[_0x5d66af(0x48c)](_0x5d66af(0x248))||this[_0x5d66af(0x248)]===_0x3483ed[_0x5d66af(0x248)])&&(_0x3483ed[_0x5d66af(0x248)]=function(){const _0x38acf8=_0x5d66af;_0x3483ed[_0x38acf8(0x2cd)][_0x38acf8(0x248)]['apply'](this,arguments);}),_0x3483ed['init']['prototype']=_0x3483ed,_0x3483ed[_0x5d66af(0x2cd)]=this,_0x3483ed;},'create':function(){const _0x37d9c4=_0x1b68;var _0x523fbb=this[_0x37d9c4(0x108)]();return _0x523fbb['init'][_0x37d9c4(0x2e8)](_0x523fbb,arguments),_0x523fbb;},'init':function(){},'mixIn':function(_0xfce2a9){const _0x33d1e2=_0x1b68;for(var _0x5381a6 in _0xfce2a9)_0xfce2a9[_0x33d1e2(0x48c)](_0x5381a6)&&(this[_0x5381a6]=_0xfce2a9[_0x5381a6]);_0xfce2a9[_0x33d1e2(0x48c)](_0x33d1e2(0xfd))&&(this[_0x33d1e2(0xfd)]=_0xfce2a9[_0x33d1e2(0xfd)]);},'clone':function(){const _0x33fc9d=_0x1b68;return this[_0x33fc9d(0x248)]['prototype'][_0x33fc9d(0x108)](this);}};}()),_0x58c3a6=_0x38ee40[_0xd5a52d(0x46d)]=_0x1fdfcd[_0xd5a52d(0x108)]({'init':function(_0x2b0560,_0x4f4824){const _0x474e89=_0xd5a52d;_0x2b0560=this['words']=_0x2b0560||[],_0x4f4824!=_0x403f36?this[_0x474e89(0x121)]=_0x4f4824:this[_0x474e89(0x121)]=_0x2b0560['length']*0x4;},'toString':function(_0xe30594){return(_0xe30594||_0x2c0550)['stringify'](this);},'concat':function(_0x30e1e6){const _0x5f061e=_0xd5a52d;var _0x442718=this['words'],_0x57b5f2=_0x30e1e6[_0x5f061e(0x24d)],_0x3ed0ac=this[_0x5f061e(0x121)],_0x1a0ce2=_0x30e1e6[_0x5f061e(0x121)];if(this[_0x5f061e(0x4db)](),_0x3ed0ac%0x4)for(var _0x299574=0x0;_0x299574<_0x1a0ce2;_0x299574++){var _0x24caf2=_0x57b5f2[_0x299574>>>0x2]>>>0x18-_0x299574%0x4*0x8&0xff;_0x442718[_0x3ed0ac+_0x299574>>>0x2]|=_0x24caf2<<0x18-(_0x3ed0ac+_0x299574)%0x4*0x8;}else{for(var _0x475528=0x0;_0x475528<_0x1a0ce2;_0x475528+=0x4)_0x442718[_0x3ed0ac+_0x475528>>>0x2]=_0x57b5f2[_0x475528>>>0x2];}return this[_0x5f061e(0x121)]+=_0x1a0ce2,this;},'clamp':function(){const _0x1aa74a=_0xd5a52d;var _0x10dfe9=this[_0x1aa74a(0x24d)],_0x2ea512=this[_0x1aa74a(0x121)];_0x10dfe9[_0x2ea512>>>0x2]&=0xffffffff<<0x20-_0x2ea512%0x4*0x8,_0x10dfe9['length']=_0x1e5cb7[_0x1aa74a(0x31c)](_0x2ea512/0x4);},'clone':function(){const _0x21b3d3=_0xd5a52d;var _0x5bb2e7=_0x1fdfcd['clone']['call'](this);return _0x5bb2e7[_0x21b3d3(0x24d)]=this[_0x21b3d3(0x24d)][_0x21b3d3(0x2cb)](0x0),_0x5bb2e7;},'random':function(_0x10fb4c){const _0x7ba10e=_0xd5a52d;for(var _0x4b04c4=[],_0x26acbd=0x0;_0x26acbd<_0x10fb4c;_0x26acbd+=0x4)_0x4b04c4['push'](_0x240b91());return new _0x58c3a6[(_0x7ba10e(0x248))](_0x4b04c4,_0x10fb4c);}}),_0xbaaf92=_0x38eed9[_0xd5a52d(0x36d)]={},_0x2c0550=_0xbaaf92['Hex']={'stringify':function(_0x54bc63){const _0x7156db=_0xd5a52d;for(var _0x4ec0fc=_0x54bc63[_0x7156db(0x24d)],_0x7d9c29=_0x54bc63['sigBytes'],_0xdf07df=[],_0x290241=0x0;_0x290241<_0x7d9c29;_0x290241++){var _0x19189d=_0x4ec0fc[_0x290241>>>0x2]>>>0x18-_0x290241%0x4*0x8&0xff;_0xdf07df[_0x7156db(0x4c1)]((_0x19189d>>>0x4)[_0x7156db(0xfd)](0x10)),_0xdf07df[_0x7156db(0x4c1)]((_0x19189d&0xf)[_0x7156db(0xfd)](0x10));}return _0xdf07df['join']('');},'parse':function(_0x494e1b){const _0x213637=_0xd5a52d;for(var _0x1874f3=_0x494e1b[_0x213637(0x38b)],_0xa1a2d9=[],_0x520b95=0x0;_0x520b95<_0x1874f3;_0x520b95+=0x2)_0xa1a2d9[_0x520b95>>>0x3]|=parseInt(_0x494e1b['substr'](_0x520b95,0x2),0x10)<<0x18-_0x520b95%0x8*0x4;return new _0x58c3a6['init'](_0xa1a2d9,_0x1874f3/0x2);}},_0x5a50a1=_0xbaaf92[_0xd5a52d(0x3a0)]={'stringify':function(_0x3bb9de){const _0x444eec=_0xd5a52d;for(var _0x357908=_0x3bb9de[_0x444eec(0x24d)],_0x15e9cf=_0x3bb9de[_0x444eec(0x121)],_0x21ecfe=[],_0x5b5657=0x0;_0x5b5657<_0x15e9cf;_0x5b5657++){var _0x3eff40=_0x357908[_0x5b5657>>>0x2]>>>0x18-_0x5b5657%0x4*0x8&0xff;_0x21ecfe[_0x444eec(0x4c1)](String[_0x444eec(0x46f)](_0x3eff40));}return _0x21ecfe[_0x444eec(0x2f8)]('');},'parse':function(_0x126899){const _0xe02fba=_0xd5a52d;for(var _0xda0fc2=_0x126899[_0xe02fba(0x38b)],_0x379d3c=[],_0x36907a=0x0;_0x36907a<_0xda0fc2;_0x36907a++)_0x379d3c[_0x36907a>>>0x2]|=(_0x126899['charCodeAt'](_0x36907a)&0xff)<<0x18-_0x36907a%0x4*0x8;return new _0x58c3a6[(_0xe02fba(0x248))](_0x379d3c,_0xda0fc2);}},_0x3d7412=_0xbaaf92[_0xd5a52d(0x199)]={'stringify':function(_0xfc9dbe){const _0x4c3ab2=_0xd5a52d;try{return decodeURIComponent(escape(_0x5a50a1[_0x4c3ab2(0x397)](_0xfc9dbe)));}catch{throw new Error(_0x4c3ab2(0x1b9));}},'parse':function(_0x14d2f9){return _0x5a50a1['parse'](unescape(encodeURIComponent(_0x14d2f9)));}},_0x48d117=_0x38ee40[_0xd5a52d(0x46a)]=_0x1fdfcd[_0xd5a52d(0x108)]({'reset':function(){const _0x2a02ea=_0xd5a52d;this['_data']=new _0x58c3a6[(_0x2a02ea(0x248))](),this[_0x2a02ea(0x377)]=0x0;},'_append':function(_0x1ba2b8){const _0x2f1193=_0xd5a52d;typeof _0x1ba2b8=='string'&&(_0x1ba2b8=_0x3d7412[_0x2f1193(0x4f3)](_0x1ba2b8)),this[_0x2f1193(0x188)]['concat'](_0x1ba2b8),this[_0x2f1193(0x377)]+=_0x1ba2b8[_0x2f1193(0x121)];},'_process':function(_0x573e30){const _0x1b4541=_0xd5a52d;var _0x20dc7a,_0x3cd9d8=this['_data'],_0x5d365b=_0x3cd9d8[_0x1b4541(0x24d)],_0x190042=_0x3cd9d8[_0x1b4541(0x121)],_0x5273fc=this[_0x1b4541(0x367)],_0x57ea34=_0x5273fc*0x4,_0x54aeb4=_0x190042/_0x57ea34;_0x573e30?_0x54aeb4=_0x1e5cb7[_0x1b4541(0x31c)](_0x54aeb4):_0x54aeb4=_0x1e5cb7[_0x1b4541(0x297)]((_0x54aeb4|0x0)-this[_0x1b4541(0xe0)],0x0);var _0x13f7ad=_0x54aeb4*_0x5273fc,_0x20caff=_0x1e5cb7[_0x1b4541(0x173)](_0x13f7ad*0x4,_0x190042);if(_0x13f7ad){for(var _0x4958c2=0x0;_0x4958c2<_0x13f7ad;_0x4958c2+=_0x5273fc)this[_0x1b4541(0x3c7)](_0x5d365b,_0x4958c2);_0x20dc7a=_0x5d365b[_0x1b4541(0x2c8)](0x0,_0x13f7ad),_0x3cd9d8[_0x1b4541(0x121)]-=_0x20caff;}return new _0x58c3a6[(_0x1b4541(0x248))](_0x20dc7a,_0x20caff);},'clone':function(){const _0x1be412=_0xd5a52d;var _0x3f8603=_0x1fdfcd[_0x1be412(0x31a)][_0x1be412(0xff)](this);return _0x3f8603['_data']=this['_data'][_0x1be412(0x31a)](),_0x3f8603;},'_minBufferSize':0x0});_0x38ee40[_0xd5a52d(0x388)]=_0x48d117[_0xd5a52d(0x108)]({'cfg':_0x1fdfcd[_0xd5a52d(0x108)](),'init':function(_0x7e04f){const _0x5039ba=_0xd5a52d;this[_0x5039ba(0x170)]=this[_0x5039ba(0x170)][_0x5039ba(0x108)](_0x7e04f),this['reset']();},'reset':function(){const _0x44ba8b=_0xd5a52d;_0x48d117['reset']['call'](this),this[_0x44ba8b(0x4c0)]();},'update':function(_0x36c9fa){const _0x2ddb2a=_0xd5a52d;return this[_0x2ddb2a(0x416)](_0x36c9fa),this[_0x2ddb2a(0x122)](),this;},'finalize':function(_0x487cad){const _0xf82e27=_0xd5a52d;_0x487cad&&this[_0xf82e27(0x416)](_0x487cad);var _0x45bc60=this[_0xf82e27(0x47d)]();return _0x45bc60;},'blockSize':0x10,'_createHelper':function(_0x282d2f){return function(_0x31ae7e,_0x198f8f){const _0x4149da=_0x1b68;return new _0x282d2f[(_0x4149da(0x248))](_0x198f8f)[_0x4149da(0x446)](_0x31ae7e);};},'_createHmacHelper':function(_0x5a2974){return function(_0x3b6ea6,_0x2f6fcc){const _0x14270e=_0x1b68;return new _0x2557ee[(_0x14270e(0x401))][(_0x14270e(0x248))](_0x5a2974,_0x2f6fcc)['finalize'](_0x3b6ea6);};}});var _0x2557ee=_0x38eed9[_0xd5a52d(0x469)]={};return _0x38eed9;}(Math);return _0x150394;}));}(ft)),ft[_0x6a9b9d(0x3fe)];}var vt={'exports':{}},ic=vt['exports'],li;function rr(){const _0x26a24a=_0x1c91cb;return li||(li=0x1,function(_0x3b2d8e,_0xbc432f){(function(_0x1a87c6,_0x4fceeb){_0x3b2d8e['exports']=_0x4fceeb(_e());}(ic,function(_0x44bb3c){const _0x4f1a72=_0x1b68;return(function(){const _0x8a7c47=_0x1b68;var _0x55be75=_0x44bb3c,_0x372203=_0x55be75[_0x8a7c47(0x103)],_0x1bf735=_0x372203[_0x8a7c47(0x46d)],_0x3c189c=_0x55be75[_0x8a7c47(0x36d)];_0x3c189c['Base64']={'stringify':function(_0x2f35f4){const _0x4d98eb=_0x8a7c47;var _0x81467c=_0x2f35f4[_0x4d98eb(0x24d)],_0x5dfd10=_0x2f35f4[_0x4d98eb(0x121)],_0x560647=this['_map'];_0x2f35f4[_0x4d98eb(0x4db)]();for(var _0x18d074=[],_0x123313=0x0;_0x123313<_0x5dfd10;_0x123313+=0x3)for(var _0x49c350=_0x81467c[_0x123313>>>0x2]>>>0x18-_0x123313%0x4*0x8&0xff,_0x4d22fd=_0x81467c[_0x123313+0x1>>>0x2]>>>0x18-(_0x123313+0x1)%0x4*0x8&0xff,_0xaab3d1=_0x81467c[_0x123313+0x2>>>0x2]>>>0x18-(_0x123313+0x2)%0x4*0x8&0xff,_0x1b5131=_0x49c350<<0x10|_0x4d22fd<<0x8|_0xaab3d1,_0x3c491d=0x0;_0x3c491d<0x4&&_0x123313+_0x3c491d*0.75<_0x5dfd10;_0x3c491d++)_0x18d074[_0x4d98eb(0x4c1)](_0x560647['charAt'](_0x1b5131>>>0x6*(0x3-_0x3c491d)&0x3f));var _0xb91301=_0x560647['charAt'](0x40);if(_0xb91301){for(;_0x18d074[_0x4d98eb(0x38b)]%0x4;)_0x18d074[_0x4d98eb(0x4c1)](_0xb91301);}return _0x18d074['join']('');},'parse':function(_0xfb455f){const _0x3664e1=_0x8a7c47;var _0x3f910f=_0xfb455f[_0x3664e1(0x38b)],_0x10ec3d=this[_0x3664e1(0x479)],_0x23c50e=this[_0x3664e1(0x2c0)];if(!_0x23c50e){_0x23c50e=this['_reverseMap']=[];for(var _0x4d1c01=0x0;_0x4d1c01<_0x10ec3d[_0x3664e1(0x38b)];_0x4d1c01++)_0x23c50e[_0x10ec3d['charCodeAt'](_0x4d1c01)]=_0x4d1c01;}var _0x13a898=_0x10ec3d[_0x3664e1(0x1f8)](0x40);if(_0x13a898){var _0x29a251=_0xfb455f['indexOf'](_0x13a898);_0x29a251!==-0x1&&(_0x3f910f=_0x29a251);}return _0x3fe6d7(_0xfb455f,_0x3f910f,_0x23c50e);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x3fe6d7(_0x546442,_0x9f28a7,_0x173351){const _0x4a3b45=_0x8a7c47;for(var _0x54d6c6=[],_0x47638e=0x0,_0x410c11=0x0;_0x410c11<_0x9f28a7;_0x410c11++)if(_0x410c11%0x4){var _0x3bfac0=_0x173351[_0x546442['charCodeAt'](_0x410c11-0x1)]<<_0x410c11%0x4*0x2,_0x4e738b=_0x173351[_0x546442['charCodeAt'](_0x410c11)]>>>0x6-_0x410c11%0x4*0x2,_0x309c05=_0x3bfac0|_0x4e738b;_0x54d6c6[_0x47638e>>>0x2]|=_0x309c05<<0x18-_0x47638e%0x4*0x8,_0x47638e++;}return _0x1bf735[_0x4a3b45(0x1ff)](_0x54d6c6,_0x47638e);}}()),_0x44bb3c['enc'][_0x4f1a72(0x25d)];}));}(vt)),vt[_0x26a24a(0x3fe)];}var pt={'exports':{}},rc=pt[_0x1c91cb(0x3fe)],_i;function nc(){const _0xf6a7cf=_0x1c91cb;return _i||(_i=0x1,function(_0x2138a9,_0x1b29c4){(function(_0x2296cf,_0x59e8c8){const _0x4da28b=_0x1b68;_0x2138a9[_0x4da28b(0x3fe)]=_0x59e8c8(_e());}(rc,function(_0xb2efcb){const _0x44b05f=_0x1b68;return function(_0x16e081){const _0x5aa905=_0x1b68;var _0x2bba8b=_0xb2efcb,_0x24af38=_0x2bba8b[_0x5aa905(0x103)],_0x275139=_0x24af38[_0x5aa905(0x46d)],_0x39e98f=_0x24af38[_0x5aa905(0x388)],_0x573539=_0x2bba8b[_0x5aa905(0x469)],_0x4561d1=[];(function(){const _0x4803da=_0x5aa905;for(var _0x2f6b93=0x0;_0x2f6b93<0x40;_0x2f6b93++)_0x4561d1[_0x2f6b93]=_0x16e081['abs'](_0x16e081[_0x4803da(0x1cb)](_0x2f6b93+0x1))*0x100000000|0x0;}());var _0x2aad5b=_0x573539[_0x5aa905(0x179)]=_0x39e98f[_0x5aa905(0x108)]({'_doReset':function(){const _0x49b30d=_0x5aa905;this[_0x49b30d(0x27a)]=new _0x275139['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x565169,_0x457b97){const _0x4bea8a=_0x5aa905;for(var _0x331bc5=0x0;_0x331bc5<0x10;_0x331bc5++){var _0x30ef99=_0x457b97+_0x331bc5,_0x83897c=_0x565169[_0x30ef99];_0x565169[_0x30ef99]=(_0x83897c<<0x8|_0x83897c>>>0x18)&0xff00ff|(_0x83897c<<0x18|_0x83897c>>>0x8)&0xff00ff00;}var _0x1865e3=this[_0x4bea8a(0x27a)][_0x4bea8a(0x24d)],_0x529f16=_0x565169[_0x457b97+0x0],_0x271d4c=_0x565169[_0x457b97+0x1],_0x1b4b02=_0x565169[_0x457b97+0x2],_0x5e118e=_0x565169[_0x457b97+0x3],_0x18026b=_0x565169[_0x457b97+0x4],_0x56352c=_0x565169[_0x457b97+0x5],_0x285174=_0x565169[_0x457b97+0x6],_0x45b019=_0x565169[_0x457b97+0x7],_0x454e7b=_0x565169[_0x457b97+0x8],_0x210f30=_0x565169[_0x457b97+0x9],_0x3538f9=_0x565169[_0x457b97+0xa],_0x34714d=_0x565169[_0x457b97+0xb],_0x555b1a=_0x565169[_0x457b97+0xc],_0x3547d8=_0x565169[_0x457b97+0xd],_0x2a8a8c=_0x565169[_0x457b97+0xe],_0x4e347a=_0x565169[_0x457b97+0xf],_0x25e1ef=_0x1865e3[0x0],_0x48146b=_0x1865e3[0x1],_0x39d58e=_0x1865e3[0x2],_0x8ee2a2=_0x1865e3[0x3];_0x25e1ef=_0x3328eb(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x529f16,0x7,_0x4561d1[0x0]),_0x8ee2a2=_0x3328eb(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x271d4c,0xc,_0x4561d1[0x1]),_0x39d58e=_0x3328eb(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x1b4b02,0x11,_0x4561d1[0x2]),_0x48146b=_0x3328eb(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x5e118e,0x16,_0x4561d1[0x3]),_0x25e1ef=_0x3328eb(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x18026b,0x7,_0x4561d1[0x4]),_0x8ee2a2=_0x3328eb(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x56352c,0xc,_0x4561d1[0x5]),_0x39d58e=_0x3328eb(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x285174,0x11,_0x4561d1[0x6]),_0x48146b=_0x3328eb(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x45b019,0x16,_0x4561d1[0x7]),_0x25e1ef=_0x3328eb(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x454e7b,0x7,_0x4561d1[0x8]),_0x8ee2a2=_0x3328eb(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x210f30,0xc,_0x4561d1[0x9]),_0x39d58e=_0x3328eb(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x3538f9,0x11,_0x4561d1[0xa]),_0x48146b=_0x3328eb(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x34714d,0x16,_0x4561d1[0xb]),_0x25e1ef=_0x3328eb(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x555b1a,0x7,_0x4561d1[0xc]),_0x8ee2a2=_0x3328eb(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x3547d8,0xc,_0x4561d1[0xd]),_0x39d58e=_0x3328eb(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x2a8a8c,0x11,_0x4561d1[0xe]),_0x48146b=_0x3328eb(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x4e347a,0x16,_0x4561d1[0xf]),_0x25e1ef=_0x3d81b3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x271d4c,0x5,_0x4561d1[0x10]),_0x8ee2a2=_0x3d81b3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x285174,0x9,_0x4561d1[0x11]),_0x39d58e=_0x3d81b3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x34714d,0xe,_0x4561d1[0x12]),_0x48146b=_0x3d81b3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x529f16,0x14,_0x4561d1[0x13]),_0x25e1ef=_0x3d81b3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x56352c,0x5,_0x4561d1[0x14]),_0x8ee2a2=_0x3d81b3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x3538f9,0x9,_0x4561d1[0x15]),_0x39d58e=_0x3d81b3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x4e347a,0xe,_0x4561d1[0x16]),_0x48146b=_0x3d81b3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x18026b,0x14,_0x4561d1[0x17]),_0x25e1ef=_0x3d81b3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x210f30,0x5,_0x4561d1[0x18]),_0x8ee2a2=_0x3d81b3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x2a8a8c,0x9,_0x4561d1[0x19]),_0x39d58e=_0x3d81b3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x5e118e,0xe,_0x4561d1[0x1a]),_0x48146b=_0x3d81b3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x454e7b,0x14,_0x4561d1[0x1b]),_0x25e1ef=_0x3d81b3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x3547d8,0x5,_0x4561d1[0x1c]),_0x8ee2a2=_0x3d81b3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x1b4b02,0x9,_0x4561d1[0x1d]),_0x39d58e=_0x3d81b3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x45b019,0xe,_0x4561d1[0x1e]),_0x48146b=_0x3d81b3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x555b1a,0x14,_0x4561d1[0x1f]),_0x25e1ef=_0x3191f3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x56352c,0x4,_0x4561d1[0x20]),_0x8ee2a2=_0x3191f3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x454e7b,0xb,_0x4561d1[0x21]),_0x39d58e=_0x3191f3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x34714d,0x10,_0x4561d1[0x22]),_0x48146b=_0x3191f3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x2a8a8c,0x17,_0x4561d1[0x23]),_0x25e1ef=_0x3191f3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x271d4c,0x4,_0x4561d1[0x24]),_0x8ee2a2=_0x3191f3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x18026b,0xb,_0x4561d1[0x25]),_0x39d58e=_0x3191f3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x45b019,0x10,_0x4561d1[0x26]),_0x48146b=_0x3191f3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x3538f9,0x17,_0x4561d1[0x27]),_0x25e1ef=_0x3191f3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x3547d8,0x4,_0x4561d1[0x28]),_0x8ee2a2=_0x3191f3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x529f16,0xb,_0x4561d1[0x29]),_0x39d58e=_0x3191f3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x5e118e,0x10,_0x4561d1[0x2a]),_0x48146b=_0x3191f3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x285174,0x17,_0x4561d1[0x2b]),_0x25e1ef=_0x3191f3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x210f30,0x4,_0x4561d1[0x2c]),_0x8ee2a2=_0x3191f3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x555b1a,0xb,_0x4561d1[0x2d]),_0x39d58e=_0x3191f3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x4e347a,0x10,_0x4561d1[0x2e]),_0x48146b=_0x3191f3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x1b4b02,0x17,_0x4561d1[0x2f]),_0x25e1ef=_0x87dc0(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x529f16,0x6,_0x4561d1[0x30]),_0x8ee2a2=_0x87dc0(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x45b019,0xa,_0x4561d1[0x31]),_0x39d58e=_0x87dc0(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x2a8a8c,0xf,_0x4561d1[0x32]),_0x48146b=_0x87dc0(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x56352c,0x15,_0x4561d1[0x33]),_0x25e1ef=_0x87dc0(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x555b1a,0x6,_0x4561d1[0x34]),_0x8ee2a2=_0x87dc0(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x5e118e,0xa,_0x4561d1[0x35]),_0x39d58e=_0x87dc0(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x3538f9,0xf,_0x4561d1[0x36]),_0x48146b=_0x87dc0(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x271d4c,0x15,_0x4561d1[0x37]),_0x25e1ef=_0x87dc0(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x454e7b,0x6,_0x4561d1[0x38]),_0x8ee2a2=_0x87dc0(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x4e347a,0xa,_0x4561d1[0x39]),_0x39d58e=_0x87dc0(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x285174,0xf,_0x4561d1[0x3a]),_0x48146b=_0x87dc0(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x3547d8,0x15,_0x4561d1[0x3b]),_0x25e1ef=_0x87dc0(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x18026b,0x6,_0x4561d1[0x3c]),_0x8ee2a2=_0x87dc0(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x34714d,0xa,_0x4561d1[0x3d]),_0x39d58e=_0x87dc0(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x1b4b02,0xf,_0x4561d1[0x3e]),_0x48146b=_0x87dc0(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x210f30,0x15,_0x4561d1[0x3f]),_0x1865e3[0x0]=_0x1865e3[0x0]+_0x25e1ef|0x0,_0x1865e3[0x1]=_0x1865e3[0x1]+_0x48146b|0x0,_0x1865e3[0x2]=_0x1865e3[0x2]+_0x39d58e|0x0,_0x1865e3[0x3]=_0x1865e3[0x3]+_0x8ee2a2|0x0;},'_doFinalize':function(){const _0x5054b4=_0x5aa905;var _0x14a7bb=this[_0x5054b4(0x188)],_0xd83288=_0x14a7bb['words'],_0x17d98f=this['_nDataBytes']*0x8,_0x2320c5=_0x14a7bb[_0x5054b4(0x121)]*0x8;_0xd83288[_0x2320c5>>>0x5]|=0x80<<0x18-_0x2320c5%0x20;var _0x258259=_0x16e081[_0x5054b4(0x115)](_0x17d98f/0x100000000),_0x4792bc=_0x17d98f;_0xd83288[(_0x2320c5+0x40>>>0x9<<0x4)+0xf]=(_0x258259<<0x8|_0x258259>>>0x18)&0xff00ff|(_0x258259<<0x18|_0x258259>>>0x8)&0xff00ff00,_0xd83288[(_0x2320c5+0x40>>>0x9<<0x4)+0xe]=(_0x4792bc<<0x8|_0x4792bc>>>0x18)&0xff00ff|(_0x4792bc<<0x18|_0x4792bc>>>0x8)&0xff00ff00,_0x14a7bb[_0x5054b4(0x121)]=(_0xd83288[_0x5054b4(0x38b)]+0x1)*0x4,this[_0x5054b4(0x122)]();for(var _0x56487b=this[_0x5054b4(0x27a)],_0x354a9c=_0x56487b[_0x5054b4(0x24d)],_0x52362e=0x0;_0x52362e<0x4;_0x52362e++){var _0x344ede=_0x354a9c[_0x52362e];_0x354a9c[_0x52362e]=(_0x344ede<<0x8|_0x344ede>>>0x18)&0xff00ff|(_0x344ede<<0x18|_0x344ede>>>0x8)&0xff00ff00;}return _0x56487b;},'clone':function(){const _0x3ff927=_0x5aa905;var _0x2a3bf3=_0x39e98f[_0x3ff927(0x31a)][_0x3ff927(0xff)](this);return _0x2a3bf3[_0x3ff927(0x27a)]=this[_0x3ff927(0x27a)][_0x3ff927(0x31a)](),_0x2a3bf3;}});function _0x3328eb(_0xb17047,_0x317fec,_0x9ea783,_0x4bf335,_0x4bda8a,_0x2690f2,_0x16af55){var _0x431ab1=_0xb17047+(_0x317fec&_0x9ea783|~_0x317fec&_0x4bf335)+_0x4bda8a+_0x16af55;return(_0x431ab1<<_0x2690f2|_0x431ab1>>>0x20-_0x2690f2)+_0x317fec;}function _0x3d81b3(_0x44b259,_0x30a09e,_0x2a3d81,_0x41df5a,_0x314afa,_0x284b70,_0x16cbe2){var _0x4f2f01=_0x44b259+(_0x30a09e&_0x41df5a|_0x2a3d81&~_0x41df5a)+_0x314afa+_0x16cbe2;return(_0x4f2f01<<_0x284b70|_0x4f2f01>>>0x20-_0x284b70)+_0x30a09e;}function _0x3191f3(_0x6a3c93,_0xbe378a,_0x45e0f6,_0x4f9f46,_0x8666d,_0x3055fb,_0xf3d492){var _0x2f1c66=_0x6a3c93+(_0xbe378a^_0x45e0f6^_0x4f9f46)+_0x8666d+_0xf3d492;return(_0x2f1c66<<_0x3055fb|_0x2f1c66>>>0x20-_0x3055fb)+_0xbe378a;}function _0x87dc0(_0x3fc8c3,_0x3f9a5b,_0xd8c7b5,_0x197c2e,_0xde06b1,_0x508a72,_0x4c8434){var _0x30b44a=_0x3fc8c3+(_0xd8c7b5^(_0x3f9a5b|~_0x197c2e))+_0xde06b1+_0x4c8434;return(_0x30b44a<<_0x508a72|_0x30b44a>>>0x20-_0x508a72)+_0x3f9a5b;}_0x2bba8b['MD5']=_0x39e98f[_0x5aa905(0x311)](_0x2aad5b),_0x2bba8b[_0x5aa905(0x4cc)]=_0x39e98f[_0x5aa905(0x242)](_0x2aad5b);}(Math),_0xb2efcb[_0x44b05f(0x179)];}));}(pt)),pt[_0xf6a7cf(0x3fe)];}var mt={'exports':{}},gt={'exports':{}},oc=gt[_0x1c91cb(0x3fe)],ui;function ac(){return ui||(ui=0x1,function(_0x41931b,_0x1dda55){(function(_0x4c4c3d,_0x19c0ae){const _0x38a1b5=_0x1b68;_0x41931b[_0x38a1b5(0x3fe)]=_0x19c0ae(_e());}(oc,function(_0x2dcc87){const _0x197565=_0x1b68;return(function(){const _0x1dbfb0=_0x1b68;var _0x138f17=_0x2dcc87,_0x351e09=_0x138f17['lib'],_0x408add=_0x351e09['WordArray'],_0x45ad99=_0x351e09[_0x1dbfb0(0x388)],_0x3c1e35=_0x138f17['algo'],_0x53d71c=[],_0x47f050=_0x3c1e35[_0x1dbfb0(0x13a)]=_0x45ad99['extend']({'_doReset':function(){const _0x449af=_0x1dbfb0;this[_0x449af(0x27a)]=new _0x408add[(_0x449af(0x248))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x55f027,_0x49cc0d){const _0x7a0937=_0x1dbfb0;for(var _0x35f03e=this[_0x7a0937(0x27a)][_0x7a0937(0x24d)],_0x238e33=_0x35f03e[0x0],_0x95ddb9=_0x35f03e[0x1],_0x146e08=_0x35f03e[0x2],_0x364517=_0x35f03e[0x3],_0x1c424e=_0x35f03e[0x4],_0x553b7e=0x0;_0x553b7e<0x50;_0x553b7e++){if(_0x553b7e<0x10)_0x53d71c[_0x553b7e]=_0x55f027[_0x49cc0d+_0x553b7e]|0x0;else{var _0x428374=_0x53d71c[_0x553b7e-0x3]^_0x53d71c[_0x553b7e-0x8]^_0x53d71c[_0x553b7e-0xe]^_0x53d71c[_0x553b7e-0x10];_0x53d71c[_0x553b7e]=_0x428374<<0x1|_0x428374>>>0x1f;}var _0x16008e=(_0x238e33<<0x5|_0x238e33>>>0x1b)+_0x1c424e+_0x53d71c[_0x553b7e];_0x553b7e<0x14?_0x16008e+=(_0x95ddb9&_0x146e08|~_0x95ddb9&_0x364517)+0x5a827999:_0x553b7e<0x28?_0x16008e+=(_0x95ddb9^_0x146e08^_0x364517)+0x6ed9eba1:_0x553b7e<0x3c?_0x16008e+=(_0x95ddb9&_0x146e08|_0x95ddb9&_0x364517|_0x146e08&_0x364517)-0x70e44324:_0x16008e+=(_0x95ddb9^_0x146e08^_0x364517)-0x359d3e2a,_0x1c424e=_0x364517,_0x364517=_0x146e08,_0x146e08=_0x95ddb9<<0x1e|_0x95ddb9>>>0x2,_0x95ddb9=_0x238e33,_0x238e33=_0x16008e;}_0x35f03e[0x0]=_0x35f03e[0x0]+_0x238e33|0x0,_0x35f03e[0x1]=_0x35f03e[0x1]+_0x95ddb9|0x0,_0x35f03e[0x2]=_0x35f03e[0x2]+_0x146e08|0x0,_0x35f03e[0x3]=_0x35f03e[0x3]+_0x364517|0x0,_0x35f03e[0x4]=_0x35f03e[0x4]+_0x1c424e|0x0;},'_doFinalize':function(){const _0x5964a1=_0x1dbfb0;var _0x157f62=this[_0x5964a1(0x188)],_0x5c6bb1=_0x157f62[_0x5964a1(0x24d)],_0xf3580=this[_0x5964a1(0x377)]*0x8,_0x41e4b1=_0x157f62[_0x5964a1(0x121)]*0x8;return _0x5c6bb1[_0x41e4b1>>>0x5]|=0x80<<0x18-_0x41e4b1%0x20,_0x5c6bb1[(_0x41e4b1+0x40>>>0x9<<0x4)+0xe]=Math[_0x5964a1(0x115)](_0xf3580/0x100000000),_0x5c6bb1[(_0x41e4b1+0x40>>>0x9<<0x4)+0xf]=_0xf3580,_0x157f62[_0x5964a1(0x121)]=_0x5c6bb1[_0x5964a1(0x38b)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x34ffee=_0x1dbfb0;var _0x3e5f50=_0x45ad99['clone'][_0x34ffee(0xff)](this);return _0x3e5f50[_0x34ffee(0x27a)]=this[_0x34ffee(0x27a)]['clone'](),_0x3e5f50;}});_0x138f17[_0x1dbfb0(0x13a)]=_0x45ad99[_0x1dbfb0(0x311)](_0x47f050),_0x138f17[_0x1dbfb0(0x305)]=_0x45ad99['_createHmacHelper'](_0x47f050);}()),_0x2dcc87[_0x197565(0x13a)];}));}(gt)),gt['exports'];}var St={'exports':{}},cc=St[_0x1c91cb(0x3fe)],di;function hc(){const _0x1a7d5b=_0x1c91cb;return di||(di=0x1,function(_0x3a95d7,_0x521186){(function(_0x5f3e6c,_0x47eefe){_0x3a95d7['exports']=_0x47eefe(_e());}(cc,function(_0xb91416){(function(){const _0x3c78ad=_0x1b68;var _0x4a09c6=_0xb91416,_0x1122a6=_0x4a09c6[_0x3c78ad(0x103)],_0x39691c=_0x1122a6[_0x3c78ad(0x47e)],_0x175fbd=_0x4a09c6[_0x3c78ad(0x36d)],_0x1911d6=_0x175fbd[_0x3c78ad(0x199)],_0x20e12e=_0x4a09c6[_0x3c78ad(0x469)];_0x20e12e[_0x3c78ad(0x401)]=_0x39691c[_0x3c78ad(0x108)]({'init':function(_0xcbe794,_0x5ed7f4){const _0x31f92b=_0x3c78ad;_0xcbe794=this[_0x31f92b(0x4b4)]=new _0xcbe794['init'](),typeof _0x5ed7f4==_0x31f92b(0x366)&&(_0x5ed7f4=_0x1911d6[_0x31f92b(0x4f3)](_0x5ed7f4));var _0xe3712=_0xcbe794[_0x31f92b(0x367)],_0x44bde4=_0xe3712*0x4;_0x5ed7f4['sigBytes']>_0x44bde4&&(_0x5ed7f4=_0xcbe794[_0x31f92b(0x446)](_0x5ed7f4)),_0x5ed7f4[_0x31f92b(0x4db)]();for(var _0x3d1e7c=this['_oKey']=_0x5ed7f4[_0x31f92b(0x31a)](),_0x561558=this[_0x31f92b(0x387)]=_0x5ed7f4['clone'](),_0x58033a=_0x3d1e7c[_0x31f92b(0x24d)],_0x54cfb1=_0x561558[_0x31f92b(0x24d)],_0x3c0974=0x0;_0x3c0974<_0xe3712;_0x3c0974++)_0x58033a[_0x3c0974]^=0x5c5c5c5c,_0x54cfb1[_0x3c0974]^=0x36363636;_0x3d1e7c[_0x31f92b(0x121)]=_0x561558[_0x31f92b(0x121)]=_0x44bde4,this[_0x31f92b(0x189)]();},'reset':function(){const _0x34a5b4=_0x3c78ad;var _0x396fa0=this[_0x34a5b4(0x4b4)];_0x396fa0[_0x34a5b4(0x189)](),_0x396fa0['update'](this[_0x34a5b4(0x387)]);},'update':function(_0x2f34da){const _0x5a593f=_0x3c78ad;return this[_0x5a593f(0x4b4)][_0x5a593f(0x2ac)](_0x2f34da),this;},'finalize':function(_0x3fa8ba){const _0x257809=_0x3c78ad;var _0x12775d=this[_0x257809(0x4b4)],_0xef695c=_0x12775d[_0x257809(0x446)](_0x3fa8ba);_0x12775d[_0x257809(0x189)]();var _0x5cf61d=_0x12775d['finalize'](this['_oKey'][_0x257809(0x31a)]()[_0x257809(0x37e)](_0xef695c));return _0x5cf61d;}});}());}));}(St)),St[_0x1a7d5b(0x3fe)];}var lc=mt[_0x1c91cb(0x3fe)],fi;function nr(){const _0x2d9457=_0x1c91cb;return fi||(fi=0x1,function(_0x47d535,_0x5c6ebc){(function(_0x13381f,_0x53bee6,_0x2469d4){const _0x1f80ac=_0x1b68;_0x47d535[_0x1f80ac(0x3fe)]=_0x53bee6(_e(),ac(),hc());}(lc,function(_0x323758){return(function(){const _0x9b0fd8=_0x1b68;var _0x1c2f3c=_0x323758,_0x45d546=_0x1c2f3c[_0x9b0fd8(0x103)],_0xc3c2d0=_0x45d546['Base'],_0x33929e=_0x45d546[_0x9b0fd8(0x46d)],_0x36f5d8=_0x1c2f3c[_0x9b0fd8(0x469)],_0x2f667e=_0x36f5d8[_0x9b0fd8(0x179)],_0xaa527a=_0x36f5d8['EvpKDF']=_0xc3c2d0[_0x9b0fd8(0x108)]({'cfg':_0xc3c2d0['extend']({'keySize':0x80/0x20,'hasher':_0x2f667e,'iterations':0x1}),'init':function(_0x2c4a6a){const _0x29966f=_0x9b0fd8;this[_0x29966f(0x170)]=this[_0x29966f(0x170)][_0x29966f(0x108)](_0x2c4a6a);},'compute':function(_0x366959,_0x542798){const _0x13e2cc=_0x9b0fd8;for(var _0x1b3919,_0x2638c6=this[_0x13e2cc(0x170)],_0x51074f=_0x2638c6['hasher']['create'](),_0x229b90=_0x33929e[_0x13e2cc(0x1ff)](),_0x1f63db=_0x229b90[_0x13e2cc(0x24d)],_0x24456e=_0x2638c6[_0x13e2cc(0x291)],_0xc3b0fa=_0x2638c6[_0x13e2cc(0x2c6)];_0x1f63db[_0x13e2cc(0x38b)]<_0x24456e;){_0x1b3919&&_0x51074f[_0x13e2cc(0x2ac)](_0x1b3919),_0x1b3919=_0x51074f[_0x13e2cc(0x2ac)](_0x366959)[_0x13e2cc(0x446)](_0x542798),_0x51074f['reset']();for(var _0x41114e=0x1;_0x41114e<_0xc3b0fa;_0x41114e++)_0x1b3919=_0x51074f[_0x13e2cc(0x446)](_0x1b3919),_0x51074f[_0x13e2cc(0x189)]();_0x229b90[_0x13e2cc(0x37e)](_0x1b3919);}return _0x229b90[_0x13e2cc(0x121)]=_0x24456e*0x4,_0x229b90;}});_0x1c2f3c['EvpKDF']=function(_0x84cc11,_0x237b86,_0x29454f){const _0x488838=_0x9b0fd8;return _0xaa527a[_0x488838(0x1ff)](_0x29454f)[_0x488838(0x161)](_0x84cc11,_0x237b86);};}()),_0x323758['EvpKDF'];}));}(mt)),mt[_0x2d9457(0x3fe)];}var It={'exports':{}},_c=It[_0x1c91cb(0x3fe)],vi;function or(){return vi||(vi=0x1,function(_0x551c69,_0x43001d){(function(_0x1689b6,_0x3b01a4,_0x4591ce){const _0x6a513a=_0x1b68;_0x551c69[_0x6a513a(0x3fe)]=_0x3b01a4(_e(),nr());}(_c,function(_0x449ef2){const _0x206968=_0x1b68;_0x449ef2[_0x206968(0x103)][_0x206968(0x1f1)]||function(_0x570933){const _0x10ee32=_0x206968;var _0x1ea3c6=_0x449ef2,_0x4b0a30=_0x1ea3c6[_0x10ee32(0x103)],_0x26abd8=_0x4b0a30[_0x10ee32(0x47e)],_0x559dde=_0x4b0a30['WordArray'],_0x1eff25=_0x4b0a30[_0x10ee32(0x46a)],_0x19ee68=_0x1ea3c6[_0x10ee32(0x36d)];_0x19ee68[_0x10ee32(0x199)];var _0x1839a2=_0x19ee68[_0x10ee32(0x25d)],_0x20fa2e=_0x1ea3c6['algo'],_0x5928b4=_0x20fa2e[_0x10ee32(0x20c)],_0x3776ef=_0x4b0a30[_0x10ee32(0x1f1)]=_0x1eff25[_0x10ee32(0x108)]({'cfg':_0x26abd8['extend'](),'createEncryptor':function(_0x87ffe8,_0x445618){const _0x406f6e=_0x10ee32;return this[_0x406f6e(0x1ff)](this['_ENC_XFORM_MODE'],_0x87ffe8,_0x445618);},'createDecryptor':function(_0x1d9b13,_0x110ad4){const _0x2f30fe=_0x10ee32;return this[_0x2f30fe(0x1ff)](this[_0x2f30fe(0x2e1)],_0x1d9b13,_0x110ad4);},'init':function(_0x473429,_0x37b086,_0x524cdb){const _0x5d4383=_0x10ee32;this[_0x5d4383(0x170)]=this['cfg'][_0x5d4383(0x108)](_0x524cdb),this[_0x5d4383(0x224)]=_0x473429,this['_key']=_0x37b086,this[_0x5d4383(0x189)]();},'reset':function(){const _0x4f6b65=_0x10ee32;_0x1eff25[_0x4f6b65(0x189)]['call'](this),this[_0x4f6b65(0x4c0)]();},'process':function(_0x4638e1){const _0x3f41af=_0x10ee32;return this[_0x3f41af(0x416)](_0x4638e1),this[_0x3f41af(0x122)]();},'finalize':function(_0x1ab9d2){_0x1ab9d2&&this['_append'](_0x1ab9d2);var _0x5e00cf=this['_doFinalize']();return _0x5e00cf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2b23bf(_0x4daa18){return typeof _0x4daa18=='string'?_0x15466b:_0x445c0c;}return function(_0x4a45f6){return{'encrypt':function(_0x5132da,_0x465358,_0x10dd8d){const _0x4e737d=_0x1b68;return _0x2b23bf(_0x465358)[_0x4e737d(0x23b)](_0x4a45f6,_0x5132da,_0x465358,_0x10dd8d);},'decrypt':function(_0x343915,_0x13dba1,_0x7215d3){const _0x801462=_0x1b68;return _0x2b23bf(_0x13dba1)[_0x801462(0x1d0)](_0x4a45f6,_0x343915,_0x13dba1,_0x7215d3);}};};}())});_0x4b0a30['StreamCipher']=_0x3776ef[_0x10ee32(0x108)]({'_doFinalize':function(){var _0xfb25f1=this['_process'](!0x0);return _0xfb25f1;},'blockSize':0x1});var _0x3cd4a8=_0x1ea3c6[_0x10ee32(0x33b)]={},_0x215f82=_0x4b0a30[_0x10ee32(0x2a0)]=_0x26abd8[_0x10ee32(0x108)]({'createEncryptor':function(_0x496149,_0x54ee01){const _0x4a9bba=_0x10ee32;return this[_0x4a9bba(0x24b)]['create'](_0x496149,_0x54ee01);},'createDecryptor':function(_0x562e1,_0xd82f96){const _0xc08084=_0x10ee32;return this['Decryptor'][_0xc08084(0x1ff)](_0x562e1,_0xd82f96);},'init':function(_0x4753a2,_0x27c13d){const _0x3686b2=_0x10ee32;this[_0x3686b2(0x4b5)]=_0x4753a2,this[_0x3686b2(0x3df)]=_0x27c13d;}}),_0x11bf10=_0x3cd4a8[_0x10ee32(0x265)]=(function(){const _0x1916a1=_0x10ee32;var _0x56db31=_0x215f82[_0x1916a1(0x108)]();_0x56db31[_0x1916a1(0x24b)]=_0x56db31[_0x1916a1(0x108)]({'processBlock':function(_0x4f07ad,_0x4854a8){const _0x5a18e4=_0x1916a1;var _0x352bb4=this[_0x5a18e4(0x4b5)],_0x5cb38a=_0x352bb4['blockSize'];_0x21dd81[_0x5a18e4(0xff)](this,_0x4f07ad,_0x4854a8,_0x5cb38a),_0x352bb4[_0x5a18e4(0x17c)](_0x4f07ad,_0x4854a8),this[_0x5a18e4(0x4e0)]=_0x4f07ad[_0x5a18e4(0x2cb)](_0x4854a8,_0x4854a8+_0x5cb38a);}}),_0x56db31[_0x1916a1(0x368)]=_0x56db31[_0x1916a1(0x108)]({'processBlock':function(_0x3cb25b,_0x5674e0){const _0x18c0b9=_0x1916a1;var _0x49ab06=this[_0x18c0b9(0x4b5)],_0x52e03b=_0x49ab06['blockSize'],_0x54f41d=_0x3cb25b[_0x18c0b9(0x2cb)](_0x5674e0,_0x5674e0+_0x52e03b);_0x49ab06['decryptBlock'](_0x3cb25b,_0x5674e0),_0x21dd81[_0x18c0b9(0xff)](this,_0x3cb25b,_0x5674e0,_0x52e03b),this['_prevBlock']=_0x54f41d;}});function _0x21dd81(_0x8a1264,_0x514e49,_0x635e9f){const _0x56b16f=_0x1916a1;var _0x4f7ac9,_0x52040e=this['_iv'];_0x52040e?(_0x4f7ac9=_0x52040e,this[_0x56b16f(0x3df)]=_0x570933):_0x4f7ac9=this[_0x56b16f(0x4e0)];for(var _0x15294a=0x0;_0x15294a<_0x635e9f;_0x15294a++)_0x8a1264[_0x514e49+_0x15294a]^=_0x4f7ac9[_0x15294a];}return _0x56db31;}()),_0x11755c=_0x1ea3c6['pad']={},_0x2fbdab=_0x11755c[_0x10ee32(0x43c)]={'pad':function(_0x57bc09,_0xf53e58){const _0x19f88d=_0x10ee32;for(var _0x1b1f52=_0xf53e58*0x4,_0x154b10=_0x1b1f52-_0x57bc09[_0x19f88d(0x121)]%_0x1b1f52,_0x5ed1b4=_0x154b10<<0x18|_0x154b10<<0x10|_0x154b10<<0x8|_0x154b10,_0x2781f3=[],_0x35e010=0x0;_0x35e010<_0x154b10;_0x35e010+=0x4)_0x2781f3[_0x19f88d(0x4c1)](_0x5ed1b4);var _0x2874d3=_0x559dde['create'](_0x2781f3,_0x154b10);_0x57bc09[_0x19f88d(0x37e)](_0x2874d3);},'unpad':function(_0x5c1044){const _0x2a8b90=_0x10ee32;var _0x26b4f8=_0x5c1044[_0x2a8b90(0x24d)][_0x5c1044[_0x2a8b90(0x121)]-0x1>>>0x2]&0xff;_0x5c1044[_0x2a8b90(0x121)]-=_0x26b4f8;}};_0x4b0a30[_0x10ee32(0x39b)]=_0x3776ef[_0x10ee32(0x108)]({'cfg':_0x3776ef[_0x10ee32(0x170)][_0x10ee32(0x108)]({'mode':_0x11bf10,'padding':_0x2fbdab}),'reset':function(){const _0x2f0ea9=_0x10ee32;var _0x3eac6b;_0x3776ef[_0x2f0ea9(0x189)][_0x2f0ea9(0xff)](this);var _0x574f98=this['cfg'],_0x5af7e3=_0x574f98['iv'],_0x1038ac=_0x574f98[_0x2f0ea9(0x33b)];this[_0x2f0ea9(0x224)]==this[_0x2f0ea9(0x35e)]?_0x3eac6b=_0x1038ac['createEncryptor']:(_0x3eac6b=_0x1038ac[_0x2f0ea9(0x300)],this['_minBufferSize']=0x1),this[_0x2f0ea9(0x150)]&&this[_0x2f0ea9(0x150)]['__creator']==_0x3eac6b?this[_0x2f0ea9(0x150)][_0x2f0ea9(0x248)](this,_0x5af7e3&&_0x5af7e3['words']):(this[_0x2f0ea9(0x150)]=_0x3eac6b[_0x2f0ea9(0xff)](_0x1038ac,this,_0x5af7e3&&_0x5af7e3['words']),this[_0x2f0ea9(0x150)][_0x2f0ea9(0x237)]=_0x3eac6b);},'_doProcessBlock':function(_0x4a24a8,_0x89e717){const _0x2395a8=_0x10ee32;this[_0x2395a8(0x150)][_0x2395a8(0x418)](_0x4a24a8,_0x89e717);},'_doFinalize':function(){const _0x9edafc=_0x10ee32;var _0x134f5a,_0x44201f=this[_0x9edafc(0x170)][_0x9edafc(0x32b)];return this['_xformMode']==this[_0x9edafc(0x35e)]?(_0x44201f[_0x9edafc(0x27e)](this[_0x9edafc(0x188)],this[_0x9edafc(0x367)]),_0x134f5a=this[_0x9edafc(0x122)](!0x0)):(_0x134f5a=this[_0x9edafc(0x122)](!0x0),_0x44201f[_0x9edafc(0x163)](_0x134f5a)),_0x134f5a;},'blockSize':0x80/0x20});var _0x1e5c82=_0x4b0a30[_0x10ee32(0x35d)]=_0x26abd8[_0x10ee32(0x108)]({'init':function(_0x1a7231){const _0x5ec8d5=_0x10ee32;this[_0x5ec8d5(0x1ef)](_0x1a7231);},'toString':function(_0x2d105e){const _0x13b56d=_0x10ee32;return(_0x2d105e||this[_0x13b56d(0x1dc)])[_0x13b56d(0x397)](this);}}),_0x11cd12=_0x1ea3c6[_0x10ee32(0x3c6)]={},_0x1385f1=_0x11cd12[_0x10ee32(0x272)]={'stringify':function(_0x279a9a){const _0x5911f8=_0x10ee32;var _0x1da233,_0x280751=_0x279a9a['ciphertext'],_0x1696ec=_0x279a9a['salt'];return _0x1696ec?_0x1da233=_0x559dde[_0x5911f8(0x1ff)]([0x53616c74,0x65645f5f])[_0x5911f8(0x37e)](_0x1696ec)[_0x5911f8(0x37e)](_0x280751):_0x1da233=_0x280751,_0x1da233['toString'](_0x1839a2);},'parse':function(_0x4856b7){const _0x404ce5=_0x10ee32;var _0x24ceba,_0x151331=_0x1839a2['parse'](_0x4856b7),_0x1838c8=_0x151331[_0x404ce5(0x24d)];return _0x1838c8[0x0]==0x53616c74&&_0x1838c8[0x1]==0x65645f5f&&(_0x24ceba=_0x559dde['create'](_0x1838c8['slice'](0x2,0x4)),_0x1838c8[_0x404ce5(0x2c8)](0x0,0x4),_0x151331['sigBytes']-=0x10),_0x1e5c82[_0x404ce5(0x1ff)]({'ciphertext':_0x151331,'salt':_0x24ceba});}},_0x445c0c=_0x4b0a30[_0x10ee32(0x211)]=_0x26abd8['extend']({'cfg':_0x26abd8['extend']({'format':_0x1385f1}),'encrypt':function(_0x11976b,_0x535565,_0x2e5eb5,_0x29060f){const _0x1602f2=_0x10ee32;_0x29060f=this[_0x1602f2(0x170)]['extend'](_0x29060f);var _0x18e2ab=_0x11976b[_0x1602f2(0x10d)](_0x2e5eb5,_0x29060f),_0x43e398=_0x18e2ab[_0x1602f2(0x446)](_0x535565),_0x5971c2=_0x18e2ab['cfg'];return _0x1e5c82['create']({'ciphertext':_0x43e398,'key':_0x2e5eb5,'iv':_0x5971c2['iv'],'algorithm':_0x11976b,'mode':_0x5971c2[_0x1602f2(0x33b)],'padding':_0x5971c2['padding'],'blockSize':_0x11976b[_0x1602f2(0x367)],'formatter':_0x29060f[_0x1602f2(0x3c6)]});},'decrypt':function(_0x913157,_0x5edd44,_0x562f84,_0x7e760f){const _0x50867e=_0x10ee32;_0x7e760f=this['cfg'][_0x50867e(0x108)](_0x7e760f),_0x5edd44=this[_0x50867e(0x3d3)](_0x5edd44,_0x7e760f[_0x50867e(0x3c6)]);var _0x182863=_0x913157[_0x50867e(0x300)](_0x562f84,_0x7e760f)[_0x50867e(0x446)](_0x5edd44[_0x50867e(0x42f)]);return _0x182863;},'_parse':function(_0x19aa9f,_0x46ca85){const _0x5f0983=_0x10ee32;return typeof _0x19aa9f==_0x5f0983(0x366)?_0x46ca85['parse'](_0x19aa9f,this):_0x19aa9f;}}),_0x782fa1=_0x1ea3c6[_0x10ee32(0x1ed)]={},_0x345780=_0x782fa1['OpenSSL']={'execute':function(_0x4d8861,_0x38b292,_0xe73e51,_0x46b311,_0x2480a6){const _0x5752d=_0x10ee32;if(_0x46b311||(_0x46b311=_0x559dde['random'](0x40/0x8)),_0x2480a6)var _0x182d3e=_0x5928b4[_0x5752d(0x1ff)]({'keySize':_0x38b292+_0xe73e51,'hasher':_0x2480a6})[_0x5752d(0x161)](_0x4d8861,_0x46b311);else var _0x182d3e=_0x5928b4[_0x5752d(0x1ff)]({'keySize':_0x38b292+_0xe73e51})[_0x5752d(0x161)](_0x4d8861,_0x46b311);var _0x1a6c44=_0x559dde[_0x5752d(0x1ff)](_0x182d3e[_0x5752d(0x24d)][_0x5752d(0x2cb)](_0x38b292),_0xe73e51*0x4);return _0x182d3e['sigBytes']=_0x38b292*0x4,_0x1e5c82['create']({'key':_0x182d3e,'iv':_0x1a6c44,'salt':_0x46b311});}},_0x15466b=_0x4b0a30[_0x10ee32(0x4a2)]=_0x445c0c['extend']({'cfg':_0x445c0c[_0x10ee32(0x170)][_0x10ee32(0x108)]({'kdf':_0x345780}),'encrypt':function(_0x4f783b,_0x25be3e,_0x3c58c2,_0x2f6031){const _0x3f319b=_0x10ee32;_0x2f6031=this[_0x3f319b(0x170)]['extend'](_0x2f6031);var _0x14cd53=_0x2f6031[_0x3f319b(0x1ed)][_0x3f319b(0x1fc)](_0x3c58c2,_0x4f783b[_0x3f319b(0x291)],_0x4f783b[_0x3f319b(0x25e)],_0x2f6031[_0x3f319b(0x459)],_0x2f6031[_0x3f319b(0x1dd)]);_0x2f6031['iv']=_0x14cd53['iv'];var _0x4fe633=_0x445c0c[_0x3f319b(0x23b)][_0x3f319b(0xff)](this,_0x4f783b,_0x25be3e,_0x14cd53[_0x3f319b(0x2e0)],_0x2f6031);return _0x4fe633[_0x3f319b(0x1ef)](_0x14cd53),_0x4fe633;},'decrypt':function(_0x4f6602,_0x974c0d,_0x51482d,_0x3f9d6f){const _0x21e564=_0x10ee32;_0x3f9d6f=this[_0x21e564(0x170)]['extend'](_0x3f9d6f),_0x974c0d=this[_0x21e564(0x3d3)](_0x974c0d,_0x3f9d6f['format']);var _0x306362=_0x3f9d6f[_0x21e564(0x1ed)][_0x21e564(0x1fc)](_0x51482d,_0x4f6602['keySize'],_0x4f6602['ivSize'],_0x974c0d[_0x21e564(0x459)],_0x3f9d6f[_0x21e564(0x1dd)]);_0x3f9d6f['iv']=_0x306362['iv'];var _0x1cf668=_0x445c0c[_0x21e564(0x1d0)]['call'](this,_0x4f6602,_0x974c0d,_0x306362[_0x21e564(0x2e0)],_0x3f9d6f);return _0x1cf668;}});}();}));}(It)),It['exports'];}var uc=dt['exports'],pi;function dc(){const _0x76e98c=_0x1c91cb;return pi||(pi=0x1,function(_0x39c5c1,_0x53c5ea){(function(_0x3f4a27,_0xbba92f,_0x121d30){const _0x42edfd=_0x1b68;_0x39c5c1[_0x42edfd(0x3fe)]=_0xbba92f(_e(),rr(),nc(),nr(),or());}(uc,function(_0xf53aa3){const _0xc75dbc=_0x1b68;return(function(){const _0x4e6d8d=_0x1b68;var _0x18e9c6=_0xf53aa3,_0x5dcffc=_0x18e9c6[_0x4e6d8d(0x103)],_0x164237=_0x5dcffc[_0x4e6d8d(0x39b)],_0x1b3ddf=_0x18e9c6[_0x4e6d8d(0x469)],_0xb4049=[],_0x2c4eb7=[],_0x2cb8a8=[],_0x285a29=[],_0x210584=[],_0x17cf3a=[],_0x3b73e9=[],_0xd372a8=[],_0x110b33=[],_0x3f7aa8=[];(function(){for(var _0x152d6d=[],_0x50e3cd=0x0;_0x50e3cd<0x100;_0x50e3cd++)_0x50e3cd<0x80?_0x152d6d[_0x50e3cd]=_0x50e3cd<<0x1:_0x152d6d[_0x50e3cd]=_0x50e3cd<<0x1^0x11b;for(var _0x1191c8=0x0,_0x5a9118=0x0,_0x50e3cd=0x0;_0x50e3cd<0x100;_0x50e3cd++){var _0x474f05=_0x5a9118^_0x5a9118<<0x1^_0x5a9118<<0x2^_0x5a9118<<0x3^_0x5a9118<<0x4;_0x474f05=_0x474f05>>>0x8^_0x474f05&0xff^0x63,_0xb4049[_0x1191c8]=_0x474f05,_0x2c4eb7[_0x474f05]=_0x1191c8;var _0x316fb3=_0x152d6d[_0x1191c8],_0x215594=_0x152d6d[_0x316fb3],_0x191b6f=_0x152d6d[_0x215594],_0xdff769=_0x152d6d[_0x474f05]*0x101^_0x474f05*0x1010100;_0x2cb8a8[_0x1191c8]=_0xdff769<<0x18|_0xdff769>>>0x8,_0x285a29[_0x1191c8]=_0xdff769<<0x10|_0xdff769>>>0x10,_0x210584[_0x1191c8]=_0xdff769<<0x8|_0xdff769>>>0x18,_0x17cf3a[_0x1191c8]=_0xdff769;var _0xdff769=_0x191b6f*0x1010101^_0x215594*0x10001^_0x316fb3*0x101^_0x1191c8*0x1010100;_0x3b73e9[_0x474f05]=_0xdff769<<0x18|_0xdff769>>>0x8,_0xd372a8[_0x474f05]=_0xdff769<<0x10|_0xdff769>>>0x10,_0x110b33[_0x474f05]=_0xdff769<<0x8|_0xdff769>>>0x18,_0x3f7aa8[_0x474f05]=_0xdff769,_0x1191c8?(_0x1191c8=_0x316fb3^_0x152d6d[_0x152d6d[_0x152d6d[_0x191b6f^_0x316fb3]]],_0x5a9118^=_0x152d6d[_0x152d6d[_0x5a9118]]):_0x1191c8=_0x5a9118=0x1;}}());var _0x1afc66=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x46dd05=_0x1b3ddf[_0x4e6d8d(0x4e4)]=_0x164237['extend']({'_doReset':function(){const _0x1c448d=_0x4e6d8d;var _0x54ff84;if(!(this[_0x1c448d(0x509)]&&this['_keyPriorReset']===this['_key'])){for(var _0x30ad7c=this[_0x1c448d(0x477)]=this[_0x1c448d(0x463)],_0x2ea399=_0x30ad7c[_0x1c448d(0x24d)],_0x382155=_0x30ad7c['sigBytes']/0x4,_0x5b1d5c=this[_0x1c448d(0x509)]=_0x382155+0x6,_0x36fbcd=(_0x5b1d5c+0x1)*0x4,_0x53088d=this['_keySchedule']=[],_0x2ed4e6=0x0;_0x2ed4e6<_0x36fbcd;_0x2ed4e6++)_0x2ed4e6<_0x382155?_0x53088d[_0x2ed4e6]=_0x2ea399[_0x2ed4e6]:(_0x54ff84=_0x53088d[_0x2ed4e6-0x1],_0x2ed4e6%_0x382155?_0x382155>0x6&&_0x2ed4e6%_0x382155==0x4&&(_0x54ff84=_0xb4049[_0x54ff84>>>0x18]<<0x18|_0xb4049[_0x54ff84>>>0x10&0xff]<<0x10|_0xb4049[_0x54ff84>>>0x8&0xff]<<0x8|_0xb4049[_0x54ff84&0xff]):(_0x54ff84=_0x54ff84<<0x8|_0x54ff84>>>0x18,_0x54ff84=_0xb4049[_0x54ff84>>>0x18]<<0x18|_0xb4049[_0x54ff84>>>0x10&0xff]<<0x10|_0xb4049[_0x54ff84>>>0x8&0xff]<<0x8|_0xb4049[_0x54ff84&0xff],_0x54ff84^=_0x1afc66[_0x2ed4e6/_0x382155|0x0]<<0x18),_0x53088d[_0x2ed4e6]=_0x53088d[_0x2ed4e6-_0x382155]^_0x54ff84);for(var _0x2efb6a=this[_0x1c448d(0x1ca)]=[],_0x5a6109=0x0;_0x5a6109<_0x36fbcd;_0x5a6109++){var _0x2ed4e6=_0x36fbcd-_0x5a6109;if(_0x5a6109%0x4)var _0x54ff84=_0x53088d[_0x2ed4e6];else var _0x54ff84=_0x53088d[_0x2ed4e6-0x4];_0x5a6109<0x4||_0x2ed4e6<=0x4?_0x2efb6a[_0x5a6109]=_0x54ff84:_0x2efb6a[_0x5a6109]=_0x3b73e9[_0xb4049[_0x54ff84>>>0x18]]^_0xd372a8[_0xb4049[_0x54ff84>>>0x10&0xff]]^_0x110b33[_0xb4049[_0x54ff84>>>0x8&0xff]]^_0x3f7aa8[_0xb4049[_0x54ff84&0xff]];}}},'encryptBlock':function(_0x55cb92,_0x500d7b){const _0x15f418=_0x4e6d8d;this[_0x15f418(0x33d)](_0x55cb92,_0x500d7b,this['_keySchedule'],_0x2cb8a8,_0x285a29,_0x210584,_0x17cf3a,_0xb4049);},'decryptBlock':function(_0x1f45ee,_0x1416bd){const _0x49da02=_0x4e6d8d;var _0x4f3a2e=_0x1f45ee[_0x1416bd+0x1];_0x1f45ee[_0x1416bd+0x1]=_0x1f45ee[_0x1416bd+0x3],_0x1f45ee[_0x1416bd+0x3]=_0x4f3a2e,this[_0x49da02(0x33d)](_0x1f45ee,_0x1416bd,this[_0x49da02(0x1ca)],_0x3b73e9,_0xd372a8,_0x110b33,_0x3f7aa8,_0x2c4eb7);var _0x4f3a2e=_0x1f45ee[_0x1416bd+0x1];_0x1f45ee[_0x1416bd+0x1]=_0x1f45ee[_0x1416bd+0x3],_0x1f45ee[_0x1416bd+0x3]=_0x4f3a2e;},'_doCryptBlock':function(_0x193575,_0x7ecaf6,_0x292261,_0x5eeb8f,_0x2bf9cd,_0x1f79d5,_0x3faf0d,_0x113f27){for(var _0x67b23b=this['_nRounds'],_0x343de3=_0x193575[_0x7ecaf6]^_0x292261[0x0],_0x48b16c=_0x193575[_0x7ecaf6+0x1]^_0x292261[0x1],_0x1741a4=_0x193575[_0x7ecaf6+0x2]^_0x292261[0x2],_0x44eb77=_0x193575[_0x7ecaf6+0x3]^_0x292261[0x3],_0x3d2196=0x4,_0x797913=0x1;_0x797913<_0x67b23b;_0x797913++){var _0x2129a8=_0x5eeb8f[_0x343de3>>>0x18]^_0x2bf9cd[_0x48b16c>>>0x10&0xff]^_0x1f79d5[_0x1741a4>>>0x8&0xff]^_0x3faf0d[_0x44eb77&0xff]^_0x292261[_0x3d2196++],_0x108cc4=_0x5eeb8f[_0x48b16c>>>0x18]^_0x2bf9cd[_0x1741a4>>>0x10&0xff]^_0x1f79d5[_0x44eb77>>>0x8&0xff]^_0x3faf0d[_0x343de3&0xff]^_0x292261[_0x3d2196++],_0xd2bbbb=_0x5eeb8f[_0x1741a4>>>0x18]^_0x2bf9cd[_0x44eb77>>>0x10&0xff]^_0x1f79d5[_0x343de3>>>0x8&0xff]^_0x3faf0d[_0x48b16c&0xff]^_0x292261[_0x3d2196++],_0x7d9853=_0x5eeb8f[_0x44eb77>>>0x18]^_0x2bf9cd[_0x343de3>>>0x10&0xff]^_0x1f79d5[_0x48b16c>>>0x8&0xff]^_0x3faf0d[_0x1741a4&0xff]^_0x292261[_0x3d2196++];_0x343de3=_0x2129a8,_0x48b16c=_0x108cc4,_0x1741a4=_0xd2bbbb,_0x44eb77=_0x7d9853;}var _0x2129a8=(_0x113f27[_0x343de3>>>0x18]<<0x18|_0x113f27[_0x48b16c>>>0x10&0xff]<<0x10|_0x113f27[_0x1741a4>>>0x8&0xff]<<0x8|_0x113f27[_0x44eb77&0xff])^_0x292261[_0x3d2196++],_0x108cc4=(_0x113f27[_0x48b16c>>>0x18]<<0x18|_0x113f27[_0x1741a4>>>0x10&0xff]<<0x10|_0x113f27[_0x44eb77>>>0x8&0xff]<<0x8|_0x113f27[_0x343de3&0xff])^_0x292261[_0x3d2196++],_0xd2bbbb=(_0x113f27[_0x1741a4>>>0x18]<<0x18|_0x113f27[_0x44eb77>>>0x10&0xff]<<0x10|_0x113f27[_0x343de3>>>0x8&0xff]<<0x8|_0x113f27[_0x48b16c&0xff])^_0x292261[_0x3d2196++],_0x7d9853=(_0x113f27[_0x44eb77>>>0x18]<<0x18|_0x113f27[_0x343de3>>>0x10&0xff]<<0x10|_0x113f27[_0x48b16c>>>0x8&0xff]<<0x8|_0x113f27[_0x1741a4&0xff])^_0x292261[_0x3d2196++];_0x193575[_0x7ecaf6]=_0x2129a8,_0x193575[_0x7ecaf6+0x1]=_0x108cc4,_0x193575[_0x7ecaf6+0x2]=_0xd2bbbb,_0x193575[_0x7ecaf6+0x3]=_0x7d9853;},'keySize':0x100/0x20});_0x18e9c6[_0x4e6d8d(0x4e4)]=_0x164237[_0x4e6d8d(0x311)](_0x46dd05);}()),_0xf53aa3[_0xc75dbc(0x4e4)];}));}(dt)),dt[_0x76e98c(0x3fe)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct[_0x1c91cb(0x3fe)],gi;function gc(){const _0x2d814a=_0x1c91cb;return gi||(gi=0x1,function(_0x2ce36,_0x4700c5){(function(_0x44d4c5,_0x12c761){const _0x31d712=_0x1b68;_0x2ce36[_0x31d712(0x3fe)]=_0x12c761(_e());}(mc,function(_0x47ebd6){const _0x239a0c=_0x1b68;return _0x47ebd6[_0x239a0c(0x36d)]['Utf8'];}));}(Ct)),Ct[_0x2d814a(0x3fe)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et['exports'],Si;function Ec(){const _0x31e1df=_0x1c91cb;return Si||(Si=0x1,function(_0x17702b,_0x3f466c){(function(_0x437bf6,_0x34c005){_0x17702b['exports']=_0x34c005(_e());}(Cc,function(_0x138614){const _0x10e577=_0x1b68;return(function(){const _0x2dd671=_0x1b68;if(typeof ArrayBuffer==_0x2dd671(0x151)){var _0x24f341=_0x138614,_0x170f0a=_0x24f341[_0x2dd671(0x103)],_0x4847fc=_0x170f0a['WordArray'],_0x67b182=_0x4847fc[_0x2dd671(0x248)],_0x3aca3=_0x4847fc[_0x2dd671(0x248)]=function(_0x29e163){const _0x486ce8=_0x2dd671;if(_0x29e163 instanceof ArrayBuffer&&(_0x29e163=new Uint8Array(_0x29e163)),(_0x29e163 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x29e163 instanceof Uint8ClampedArray||_0x29e163 instanceof Int16Array||_0x29e163 instanceof Uint16Array||_0x29e163 instanceof Int32Array||_0x29e163 instanceof Uint32Array||_0x29e163 instanceof Float32Array||_0x29e163 instanceof Float64Array)&&(_0x29e163=new Uint8Array(_0x29e163[_0x486ce8(0x4f7)],_0x29e163[_0x486ce8(0x398)],_0x29e163[_0x486ce8(0x26a)])),_0x29e163 instanceof Uint8Array){for(var _0x440896=_0x29e163[_0x486ce8(0x26a)],_0x21ff8b=[],_0x1fa03f=0x0;_0x1fa03f<_0x440896;_0x1fa03f++)_0x21ff8b[_0x1fa03f>>>0x2]|=_0x29e163[_0x1fa03f]<<0x18-_0x1fa03f%0x4*0x8;_0x67b182['call'](this,_0x21ff8b,_0x440896);}else _0x67b182[_0x486ce8(0x2e8)](this,arguments);};_0x3aca3['prototype']=_0x4847fc;}}()),_0x138614['lib'][_0x10e577(0x46d)];}));}(Et)),Et[_0x31e1df(0x3fe)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt[_0x1c91cb(0x3fe)],Ii;function Oc(){const _0x5cc4fa=_0x1c91cb;return Ii||(Ii=0x1,function(_0x138e04,_0x2481a7){(function(_0x48a0e6,_0x2e258c,_0x447bc8){_0x138e04['exports']=_0x2e258c(_e(),or());}(Rc,function(_0x428856){const _0x510136=_0x1b68;return _0x428856[_0x510136(0x27e)][_0x510136(0xe3)]={'pad':function(){},'unpad':function(){}},_0x428856[_0x510136(0x27e)][_0x510136(0xe3)];}));}(bt)),bt[_0x5cc4fa(0x3fe)];}var yc=Oc();const wc=ct(yc);function Dc(_0x5c4586,_0x11c526){const _0x2a6e19=_0x1c91cb,_0x33ddbf=_0x11c526-_0x5c4586[_0x2a6e19(0x38b)]%_0x11c526,_0x223d24=String[_0x2a6e19(0x46f)](_0x33ddbf)[_0x2a6e19(0x260)](_0x33ddbf);return _0x5c4586+_0x223d24;}function Pc(_0x28050a,_0x845d){const _0x587d03=_0x1c91cb,_0x47fff9=Tc[_0x587d03(0x255)](0x10),_0x1068a2=Dc(_0x28050a,0x10),_0x3c6f4f=vc[_0x587d03(0x23b)](Ic[_0x587d03(0x4f3)](_0x1068a2),mi[_0x587d03(0x4f3)](_0x845d),{'iv':_0x47fff9,'padding':wc});return _0x47fff9[_0x587d03(0x37e)](_0x3c6f4f[_0x587d03(0x42f)])['toString'](mi);}function Nc(){const _0x919f42=_0x1c91cb,_0x5328b2=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x919f42(0x17a)];if(_0x5328b2){const _0x37c000={'time':Math['floor'](Date[_0x919f42(0x28a)]()/0x3e8),'domain':location['hostname']};return Pc(JSON[_0x919f42(0x397)](_0x37c000),_0x5328b2);}}var Uc=Object[_0x1c91cb(0x502)],Ac=Object['getOwnPropertyDescriptor'],Mc=(_0x476870,_0xa9be32,_0xb5eaa1,_0x24e1e7)=>{const _0x48800a=_0x1c91cb;for(var _0xb80648=_0x24e1e7>0x1?void 0x0:_0x24e1e7?Ac(_0xa9be32,_0xb5eaa1):_0xa9be32,_0x5c15e2=_0x476870[_0x48800a(0x38b)]-0x1,_0x4cf921;_0x5c15e2>=0x0;_0x5c15e2--)(_0x4cf921=_0x476870[_0x5c15e2])&&(_0xb80648=(_0x24e1e7?_0x4cf921(_0xa9be32,_0xb5eaa1,_0xb80648):_0x4cf921(_0xb80648))||_0xb80648);return _0x24e1e7&&_0xb80648&&Uc(_0xa9be32,_0xb5eaa1,_0xb80648),_0xb80648;},xc=(_0xdd7a5e,_0x4c8c43)=>(_0x4ed26d,_0x75505b)=>_0x4c8c43(_0x4ed26d,_0x75505b,_0xdd7a5e);let $t=class{constructor(_0x3a7d9a){const _0x10c990=_0x1c91cb;this[_0x10c990(0x478)]=_0x3a7d9a,this[_0x10c990(0xdc)]();}['_initRequestHeader'](){const _0x2eb47d=_0x1c91cb;this[_0x2eb47d(0x478)]['registerHTTPInterceptor']({'interceptor':(_0x19b17c,_0x37f61c)=>{const _0x25cf26=_0x2eb47d,_0xc18e79=_0x19b17c[_0x25cf26(0x45a)],_0x2f1121=Nc();return _0x2f1121&&_0xc18e79[_0x25cf26(0x1e5)](_0x25cf26(0x198),_0x2f1121),_0x37f61c(_0x19b17c);}});}};$t=Mc([xc(0x0,_0x5beccd(_0x170656))],$t);var Lc=Object[_0x1c91cb(0x502)],$c=Object[_0x1c91cb(0x439)],Hc=(_0x238cd5,_0xcea4ed,_0x3634cf,_0x2492f5)=>{for(var _0x3ed8cd=_0x2492f5>0x1?void 0x0:_0x2492f5?$c(_0xcea4ed,_0x3634cf):_0xcea4ed,_0x45e71e=_0x238cd5['length']-0x1,_0x194470;_0x45e71e>=0x0;_0x45e71e--)(_0x194470=_0x238cd5[_0x45e71e])&&(_0x3ed8cd=(_0x2492f5?_0x194470(_0xcea4ed,_0x3634cf,_0x3ed8cd):_0x194470(_0x3ed8cd))||_0x3ed8cd);return _0x2492f5&&_0x3ed8cd&&Lc(_0xcea4ed,_0x3634cf,_0x3ed8cd),_0x3ed8cd;},rs=(_0x5b4131,_0x3786a9)=>(_0x3058fe,_0x596be7)=>_0x3786a9(_0x3058fe,_0x596be7,_0x5b4131);const jc=[_0x1c91cb(0x322),_0x1c91cb(0x49e),_0x1c91cb(0x3f9),_0x1c91cb(0x11d),_0x1c91cb(0x18e)],Bc=0x5*0x400*0x400,kc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Wc=_0x1c91cb(0x39c),Fc=_0x1c91cb(0x4fe),Vc=_0x1c91cb(0x4e7);let ms=class{constructor(_0x1d3807,_0x195079,_0x45956a){const _0x43e795=_0x1c91cb;g(this,'_waitCount',0x0),g(this,_0x43e795(0x11b),new _0x20b5e4()),g(this,_0x43e795(0x117),this[_0x43e795(0x11b)]),g(this,_0x43e795(0x4cd),new Map()),(this[_0x43e795(0x478)]=_0x1d3807,this['_configService']=_0x195079,this[_0x43e795(0x494)]=_0x45956a);}[_0x1c91cb(0x30b)](_0x216b05){const _0x3f41f2=_0x1c91cb;this[_0x3f41f2(0x364)]=_0x216b05,this[_0x3f41f2(0x11b)]['next'](_0x216b05);}[_0x1c91cb(0x28d)](_0x3ef2f8,_0x35aa2f){const _0x142d7a=_0x1c91cb;if(_0x35aa2f===_0x306135[_0x142d7a(0x100)]){const _0x1be6bc=new Image();return _0x1be6bc[_0x142d7a(0x457)]=_0x3ef2f8,_0x1be6bc;}return this[_0x142d7a(0x4cd)]['get'](_0x3ef2f8);}[_0x1c91cb(0x1d2)](_0x16ad4f,_0x170a17,_0x3576cd){const _0x7950=_0x1c91cb;_0x170a17===_0x306135['BASE64']||_0x3576cd==null||this[_0x7950(0x4cd)][_0x7950(0x1e5)](_0x16ad4f,_0x3576cd);}async[_0x1c91cb(0x4f2)](_0x13a67e){const _0x206227=_0x1c91cb;try{const _0x2551aa=this['_replaceFileID'](this[_0x206227(0x2ef)](),''+_0x13a67e),_0xbeb900=(await this[_0x206227(0x478)]['get'](_0x2551aa))[_0x206227(0x1f9)];if(_0xbeb900['error']&&_0xbeb900[_0x206227(0x4d3)]['code']===Fi['OK']){const _0x35cd13=new URL(_0xbeb900[_0x206227(0x3de)],this[_0x206227(0xe5)]())['toString']();return Promise[_0x206227(0x3f2)](_0x35cd13);}return Promise['reject'](_0xbeb900[_0x206227(0x4d3)]);}catch(_0x53469c){return Promise[_0x206227(0x154)](_0x53469c);}}async[_0x1c91cb(0x14a)](_0x270232){const _0x284893=_0x1c91cb;let _0x136e14='';if(!jc['includes'](_0x270232[_0x284893(0x4c3)]))return this[_0x284893(0x4ba)](),Promise[_0x284893(0x154)](new Error(_0x2435a2[_0x284893(0x3e6)]));if(_0x270232[_0x284893(0x10a)]>Bc)return this[_0x284893(0x4ba)](),Promise[_0x284893(0x154)](new Error(_0x2435a2['ERROR_EXCEED_SIZE']));try{const _0x267fc4=new FormData();_0x267fc4[_0x284893(0x2d8)](_0x284893(0x2d9),_0x270232);const _0x9c6b5f=this['_univerInstanceService'][_0x284893(0x30e)](),_0x26a44f=_0x9c6b5f==null?void 0x0:_0x9c6b5f[_0x284893(0x2f3)]();if(!_0x26a44f)throw new Error(_0x284893(0x44c));const _0x8328c9=this['_getUploadFileURL']()+_0x284893(0x123)+_0x270232[_0x284893(0x10a)]['toString']()+_0x284893(0x3a5)+Vi[_0x284893(0x2a9)]+_0x284893(0x33f)+encodeURIComponent(_0x26a44f),_0x552b0c=await(await fetch(_0x8328c9,{'method':'POST','body':_0x267fc4}))[_0x284893(0x23c)]();if(typeof _0x552b0c['FileId']!=_0x284893(0x366))return this['_decreaseWaiting'](),Promise[_0x284893(0x154)](new Error(_0x2435a2['ERROR_IMAGE']));_0x136e14=_0x552b0c['FileId'];}catch{return this[_0x284893(0x4ba)](),Promise[_0x284893(0x154)](new Error(_0x2435a2['ERROR_IMAGE']));}return new Promise((_0x4a1d70,_0x39068c)=>{const _0x2848c2=_0x284893,_0x5d3620=new FileReader();_0x5d3620[_0x2848c2(0x292)](_0x270232),_0x5d3620[_0x2848c2(0x12a)]=_0x44ed3a=>{const _0x42e8ad=_0x2848c2;var _0xd1f245;const _0x10c17f=(_0xd1f245=_0x44ed3a[_0x42e8ad(0x464)])==null?void 0x0:_0xd1f245[_0x42e8ad(0x4e3)];if(_0x10c17f==null){this[_0x42e8ad(0x4ba)](),_0x39068c(new Error(_0x2435a2['ERROR_IMAGE']));return;}const _0x40e598=_0xdb11bc[_0x42e8ad(0x374)](0x6);_0x4a1d70({'imageId':_0x40e598,'imageSourceType':_0x306135['UUID'],'source':_0x136e14,'base64Cache':_0x10c17f,'status':_0x2435a2[_0x42e8ad(0x164)]}),this[_0x42e8ad(0x4ba)]();};});}[_0x1c91cb(0x342)](){const _0x7633b4=_0x1c91cb;var _0x935bea,_0x1c9a4a;const _0x32d115=this[_0x7633b4(0x379)][_0x7633b4(0x34d)](kc),_0x56e459=this[_0x7633b4(0x379)][_0x7633b4(0x34d)](Q);return(_0x1c9a4a=(_0x935bea=_0x56e459==null?void 0x0:_0x56e459[_0x7633b4(0x1c9)])!=null?_0x935bea:_0x32d115)!=null?_0x1c9a4a:Wc;}[_0x1c91cb(0x2ef)](){const _0x31a624=_0x1c91cb;var _0x413ec0,_0x5116ae;const _0x4b52ce=this[_0x31a624(0x379)][_0x31a624(0x34d)](Fc),_0x5230ae=this[_0x31a624(0x379)][_0x31a624(0x34d)](Q);return(_0x5116ae=(_0x413ec0=_0x5230ae==null?void 0x0:_0x5230ae['signUrlServerUrl'])!=null?_0x413ec0:_0x4b52ce)!=null?_0x5116ae:Vc;}[_0x1c91cb(0xe5)](){const _0x1bb78a=_0x1c91cb;var _0x1672f5;const _0x3a68f2=this['_configService'][_0x1bb78a(0x34d)](Q);return(_0x1672f5=_0x3a68f2==null?void 0x0:_0x3a68f2[_0x1bb78a(0x1ec)])!=null?_0x1672f5:location['origin'];}['_replaceFileID'](_0x4193ff,_0x3f85cf){return _0x4193ff['replace']('{fileID}',_0x3f85cf);}[_0x1c91cb(0x4ba)](){const _0x378819=_0x1c91cb;this[_0x378819(0x364)]-=0x1,this[_0x378819(0x11b)][_0x378819(0x1eb)](this['_waitCount']);}};ms=Hc([rs(0x0,_0x5beccd(_0x170656)),rs(0x1,_0x385706),rs(0x2,_0x5beccd(_0x5283d0))],ms);var Gc=Object[_0x1c91cb(0x502)],Yc=Object[_0x1c91cb(0x439)],Kc=(_0x243054,_0x4c9a16,_0xa763ae,_0x1903fb)=>{const _0x2f7d49=_0x1c91cb;for(var _0x8231c8=_0x1903fb>0x1?void 0x0:_0x1903fb?Yc(_0x4c9a16,_0xa763ae):_0x4c9a16,_0x380419=_0x243054[_0x2f7d49(0x38b)]-0x1,_0x4212e6;_0x380419>=0x0;_0x380419--)(_0x4212e6=_0x243054[_0x380419])&&(_0x8231c8=(_0x1903fb?_0x4212e6(_0x4c9a16,_0xa763ae,_0x8231c8):_0x4212e6(_0x8231c8))||_0x8231c8);return _0x1903fb&&_0x8231c8&&Gc(_0x4c9a16,_0xa763ae,_0x8231c8),_0x8231c8;},Ci=(_0x4646e2,_0x1ce764)=>(_0x49c3c4,_0x1a4bc7)=>_0x1ce764(_0x49c3c4,_0x1a4bc7,_0x4646e2);const qc=_0x1c91cb(0x44a);let gs=class{constructor(_0x297089,_0x3911e8){const _0x3314f6=_0x1c91cb;this[_0x3314f6(0x379)]=_0x297089,this[_0x3314f6(0x45d)]=_0x3911e8;}[_0x1c91cb(0x25b)](){const _0x450c64=_0x1c91cb;var _0x33435c,_0x1a951b;const _0x27a3e7=this[_0x450c64(0x379)][_0x450c64(0x34d)](ir),_0x496a60=this['_configService']['getConfig'](Q);return(_0x1a951b=(_0x33435c=_0x496a60==null?void 0x0:_0x496a60['authzUrl'])!=null?_0x33435c:_0x27a3e7)!=null?_0x1a951b:qc;}async[_0x1c91cb(0x43f)](_0x2a9883){const _0x392532=_0x1c91cb,_0x26cecf=this[_0x392532(0x25b)]()+_0x392532(0x375);return{'list':[{'title':_0x392532(0x13f),'mentions':(await this['_HTTPService'][_0x392532(0x470)](_0x26cecf,{'params':{'objectID':_0x2a9883['unitId'],'unitID':_0x2a9883[_0x392532(0x3cc)]}}))[_0x392532(0x1f9)][_0x392532(0x181)][_0x392532(0x3da)](_0x25f46a=>({'objectId':_0x25f46a['id'],'name':_0x25f46a[_0x392532(0x172)][_0x392532(0x332)],'metadata':{'icon':_0x25f46a[_0x392532(0x172)][_0x392532(0x2ce)]},'label':_0x25f46a[_0x392532(0x172)][_0x392532(0x332)],'objectType':_0x1866e3[_0x392532(0x395)]})),'metadata':{},'type':_0x1866e3[_0x392532(0x395)]}]};}};gs=Kc([Ci(0x0,_0x5beccd(_0x385706)),Ci(0x1,_0x5beccd(_0x170656))],gs);var zc=Object['defineProperty'],Xc=Object[_0x1c91cb(0x439)],Jc=(_0x2f157b,_0x5dd7ff,_0x28866b,_0xc18cd)=>{const _0x39e8c6=_0x1c91cb;for(var _0x3af6e2=_0xc18cd>0x1?void 0x0:_0xc18cd?Xc(_0x5dd7ff,_0x28866b):_0x5dd7ff,_0x22def9=_0x2f157b[_0x39e8c6(0x38b)]-0x1,_0x5a9092;_0x22def9>=0x0;_0x22def9--)(_0x5a9092=_0x2f157b[_0x22def9])&&(_0x3af6e2=(_0xc18cd?_0x5a9092(_0x5dd7ff,_0x28866b,_0x3af6e2):_0x5a9092(_0x3af6e2))||_0x3af6e2);return _0xc18cd&&_0x3af6e2&&zc(_0x5dd7ff,_0x28866b,_0x3af6e2),_0x3af6e2;},et=(_0xb7e8bc,_0x49e642)=>(_0x39ed00,_0x40fe7c)=>_0x49e642(_0x39ed00,_0x40fe7c,_0xb7e8bc);let Ht=class extends _0x30a9be{constructor(_0x515a9f,_0x1f12de,_0x3db4af,_0x49172c,_0x11d0b5){const _0x51dbb3=_0x1c91cb;super(),this['_injector']=_0x515a9f,this['_univerInstanceService']=_0x1f12de,this['_permissionService']=_0x3db4af,this[_0x51dbb3(0x1f0)]=_0x49172c,this[_0x51dbb3(0x2f9)]=_0x11d0b5,this['_initUnitPermissionChange'](),this[_0x51dbb3(0x346)]();}[_0x1c91cb(0x346)](){const _0x37d751=_0x1c91cb,_0x28fabd=async _0x35208d=>{const _0x6c620e=_0x1b68;(await this['_collaborationSessionService'][_0x6c620e(0x2b6)](_0x35208d))[_0x6c620e(0x278)][_0x6c620e(0x1c3)](_0x2b7dcf(_0x53254a=>_0x53254a['eventID']===_0x596510[_0x6c620e(0x319)]),_0x35b742(this[_0x6c620e(0x1a4)]))[_0x6c620e(0x432)](_0x216cb2=>{const _0x31b73=_0x6c620e,_0x56f30e=_0x216cb2,{reason:_0x543318}=_0x56f30e['data'];this[_0x31b73(0x29f)][_0x31b73(0x470)](_0x452fb7)[_0x31b73(0x2d0)]({'type':_0x25a468['Error'],'content':this[_0x31b73(0x2f9)]['t'](_0x31b73(0x119))+'('+_0x543318+')'}),this[_0x31b73(0x1bb)][_0x31b73(0x3b1)](new _0x203d63(_0x35208d)['id'],!0x1),this['_collaborationSessionService'][_0x31b73(0x4d2)](_0x35208d);});};_0x10a92b(this[_0x37d751(0x494)][_0x37d751(0xe8)](_0x2579e6[_0x37d751(0x169)]),this[_0x37d751(0x494)][_0x37d751(0xe8)](_0x2579e6[_0x37d751(0x18f)]))[_0x37d751(0x1c3)](_0x349821(_0x1f31aa=>_0x1f31aa[_0x37d751(0x2f3)]()),_0x2b7dcf(_0x851f5d=>!_0xf17b58(_0x851f5d)),_0x35b742(this['dispose$']))[_0x37d751(0x432)](_0x2674e2=>{_0x28fabd(_0x2674e2);});}[_0x1c91cb(0x1cc)](){const _0x53b606=_0x1c91cb,_0x3043be=async _0x471b5c=>{const _0x2a2919=_0x1b68;(await this[_0x2a2919(0x1f0)][_0x2a2919(0x2b6)](_0x471b5c))[_0x2a2919(0x278)][_0x2a2919(0x1c3)](_0x2b7dcf(_0x8335ca=>_0x8335ca['eventID']===_0x596510[_0x2a2919(0x2f0)]),_0x35b742(this[_0x2a2919(0x1a4)]))['subscribe'](_0x2fbb5c=>{const _0x4d3894=_0x2a2919,_0x41816a=_0x2fbb5c,{objectId:_0x2cdecc}=_0x41816a[_0x4d3894(0x202)],_0x1d6d53=this[_0x4d3894(0x29f)][_0x4d3894(0x470)](_0x4a5f54);_0x2cdecc===_0x471b5c?_0x1d6d53[_0x4d3894(0x1bc)](_0x471b5c):_0x1d6d53[_0x4d3894(0xe2)](_0x471b5c,_0x2cdecc);});};_0x10a92b(this[_0x53b606(0x494)]['getTypeOfUnitAdded$'](_0x2579e6[_0x53b606(0x169)]),this[_0x53b606(0x494)]['getTypeOfUnitAdded$'](_0x2579e6['UNIVER_DOC']))[_0x53b606(0x1c3)](_0x349821(_0x2035db=>_0x2035db[_0x53b606(0x2f3)]()),_0x2b7dcf(_0x2921c3=>!_0xf17b58(_0x2921c3)),_0x35b742(this[_0x53b606(0x1a4)]))['subscribe'](_0x42619a=>{_0x3043be(_0x42619a);});}};Ht=Jc([et(0x0,_0x5beccd(_0x21398d)),et(0x1,_0x5283d0),et(0x2,_0x143818),et(0x3,_0x5beccd(xe)),et(0x4,_0x5beccd(_0x1f9468))],Ht);var Zc=Object[_0x1c91cb(0x502)],Qc=Object[_0x1c91cb(0x439)],eh=(_0x39e7db,_0x6dcc25,_0x1ec518,_0x36c1c8)=>{const _0x51e82a=_0x1c91cb;for(var _0x5112f6=_0x36c1c8>0x1?void 0x0:_0x36c1c8?Qc(_0x6dcc25,_0x1ec518):_0x6dcc25,_0xd5e615=_0x39e7db[_0x51e82a(0x38b)]-0x1,_0x2d53b6;_0xd5e615>=0x0;_0xd5e615--)(_0x2d53b6=_0x39e7db[_0xd5e615])&&(_0x5112f6=(_0x36c1c8?_0x2d53b6(_0x6dcc25,_0x1ec518,_0x5112f6):_0x2d53b6(_0x5112f6))||_0x5112f6);return _0x36c1c8&&_0x5112f6&&Zc(_0x6dcc25,_0x1ec518,_0x5112f6),_0x5112f6;},Ei=(_0x34480d,_0x346daf)=>(_0xecb713,_0x1430d2)=>_0x346daf(_0xecb713,_0x1430d2,_0x34480d);let Ss=class{constructor(_0x1adc8d,_0x443064){const _0x4506bd=_0x1c91cb;this[_0x4506bd(0x379)]=_0x1adc8d,this[_0x4506bd(0x478)]=_0x443064;}async[_0x1c91cb(0x1d6)](_0x305ce5,_0x58b5cb){const _0x3a9dad=_0x1c91cb;var _0x3891d0;const {unitID:_0x2389a5,type:_0x5f16e0,revision:_0x219c1e=0x0}=_0x58b5cb,_0x1f98d5=this[_0x3a9dad(0x341)]()+'/'+_0x5f16e0+_0x3a9dad(0x361)+_0x2389a5+_0x3a9dad(0x110)+_0x219c1e,_0x54eb94=(await this['_httpService'][_0x3a9dad(0x470)](_0x1f98d5))[_0x3a9dad(0x1f9)],_0x153779=(_0x3891d0=_0x54eb94[_0x3a9dad(0xe1)])==null?void 0x0:_0x3891d0[_0x3a9dad(0x20f)];if(_0x153779){const _0x159edb=_0x153779==null?void 0x0:_0x153779[_0x3a9dad(0x4be)],_0x436580=_0x1a2f26[_0x3a9dad(0x429)](_0x5aa388(_0x159edb));_0x153779[_0x3a9dad(0x4be)]=_0x436580,Object['entries'](_0x153779[_0x3a9dad(0x4b1)])['forEach'](([,_0x1f7385])=>{const _0x38ca6e=_0x3a9dad,_0x3801f4=_0x1f7385[_0x38ca6e(0x4be)],_0x1962d=_0x1a2f26[_0x38ca6e(0x429)](_0x5aa388(_0x3801f4));_0x1f7385[_0x38ca6e(0x4be)]=_0x1962d;});}return _0x54eb94;}async[_0x1c91cb(0x104)](_0x12e6e0,_0x59cb00){const _0xd32fbb=_0x1c91cb,{unitID:_0x2b9ff4,type:_0x39b2a4,blockID:_0x1e1957}=_0x59cb00,_0x1db0f0=this[_0xd32fbb(0x3d2)]()+'/'+_0x39b2a4+_0xd32fbb(0x361)+_0x2b9ff4+_0xd32fbb(0x12f)+_0x1e1957;return(await this[_0xd32fbb(0x478)]['get'](_0x1db0f0))[_0xd32fbb(0x1f9)];}async[_0x1c91cb(0x36c)](_0x2f6a0f,_0x35de79){const _0xc05ac1=_0x1c91cb,{unitID:_0x2a30a8,type:_0x1838e8,blockID:_0x58123a}=_0x35de79,_0xd0ca00=this[_0xc05ac1(0x3d2)]()+_0xc05ac1(0x12f)+_0x1838e8+_0xc05ac1(0x361)+_0x2a30a8+_0xc05ac1(0x12f)+_0x58123a;return(await this[_0xc05ac1(0x478)][_0xc05ac1(0x470)](_0xd0ca00))[_0xc05ac1(0x1f9)];}async[_0x1c91cb(0x135)](_0x4b3cab,_0x1aec54){const _0x287f8c=_0x1c91cb,{unitID:_0x557f4e,type:_0x27bc0a,from:_0x3149cf,to:_0x3ceb85}=_0x1aec54,_0x3f152a=this['_getAPIPrefix']()+'/'+_0x27bc0a+_0x287f8c(0x361)+_0x557f4e+_0x287f8c(0x217)+_0x3149cf+'&to='+_0x3ceb85;return(await this[_0x287f8c(0x478)]['get'](_0x3f152a))[_0x287f8c(0x1f9)];}[_0x1c91cb(0x341)](){const _0x472751=_0x1c91cb;var _0x544075;return(_0x544075=this['_configService'][_0x472751(0x34d)](Tn))!=null?_0x544075:this['_getAPIPrefix']();}[_0x1c91cb(0x3d2)](){const _0x59c538=_0x1c91cb;var _0x33c9d0,_0x429728;const _0x3228dc=this[_0x59c538(0x379)][_0x59c538(0x34d)](En),_0x3df8f0=this['_configService']['getConfig'](Q);return(_0x429728=(_0x33c9d0=_0x3df8f0==null?void 0x0:_0x3df8f0[_0x59c538(0x13b)])!=null?_0x33c9d0:_0x3228dc)!=null?_0x429728:bn;}async['getResourcesRequest'](_0x515397,_0x96a48b){const _0x59719c=_0x1c91cb,_0x40d908=_0x59719c(0x380)+_0x96a48b['type']+'/unit/'+_0x96a48b[_0x59719c(0x1ab)]+'/resources';return(await this['_httpService'][_0x59719c(0x470)](_0x40d908,{'params':{'resourceId':JSON[_0x59719c(0x397)](_0x96a48b[_0x59719c(0x1b0)])}}))[_0x59719c(0x1f9)];}[_0x1c91cb(0x24a)](){const _0x5c4370=_0x1c91cb;throw new Error(_0x5c4370(0x4ee));}['saveSheetBlock'](){const _0x1a5269=_0x1c91cb;throw new Error(_0x1a5269(0x4ee));}[_0x1c91cb(0x15d)](){const _0x5c76ad=_0x1c91cb;throw new Error(_0x5c76ad(0x4ee));}[_0x1c91cb(0x3e8)](){const _0x257585=_0x1c91cb;throw new Error(_0x257585(0x4ee));}[_0x1c91cb(0x1e7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ss=eh([Ei(0x0,_0x385706),Ei(0x1,_0x5beccd(_0x170656))],Ss);var th=Object['defineProperty'],sh=Object['getOwnPropertyDescriptor'],ih=(_0x4c877e,_0x2fa606,_0x3db32e,_0x233170)=>{const _0x3ed379=_0x1c91cb;for(var _0x333074=_0x233170>0x1?void 0x0:_0x233170?sh(_0x2fa606,_0x3db32e):_0x2fa606,_0x13eb3a=_0x4c877e[_0x3ed379(0x38b)]-0x1,_0x8182e8;_0x13eb3a>=0x0;_0x13eb3a--)(_0x8182e8=_0x4c877e[_0x13eb3a])&&(_0x333074=(_0x233170?_0x8182e8(_0x2fa606,_0x3db32e,_0x333074):_0x8182e8(_0x333074))||_0x333074);return _0x233170&&_0x333074&&th(_0x2fa606,_0x3db32e,_0x333074),_0x333074;},tt=(_0x90a7a8,_0x514730)=>(_0x331223,_0x564756)=>_0x514730(_0x331223,_0x564756,_0x90a7a8);let Is=class extends _0x195474{constructor(_0x3fddc7,_0x117993,_0x2467f2,_0x94726,_0x1c28b0){const _0x505cd1=_0x1c91cb;super(_0x3fddc7,_0x117993,_0x2467f2),this[_0x505cd1(0x247)]=_0x94726,this[_0x505cd1(0x2fc)]=_0x1c28b0;}[_0x1c91cb(0x447)](_0x485cb3,_0x5c1f95){const _0x46f0bc=_0x1c91cb,_0x3ff980=this[_0x46f0bc(0x1a9)](_0x485cb3);if(_0x3ff980)try{const _0x4acb6a=this[_0x46f0bc(0x3fc)](_0x3ff980,_0x5c1f95);this[_0x46f0bc(0x501)](_0x485cb3,_0x4acb6a);}catch(_0x46b261){this[_0x46f0bc(0x2fc)]['error'](_0x46f0bc(0x44d),_0x46b261),this[_0x46f0bc(0x43b)](_0x485cb3);}const _0x4a2fab=this['_getRedoStack'](_0x485cb3);if(_0x4a2fab)try{const _0x39c675=this[_0x46f0bc(0x3fc)](_0x4a2fab,_0x5c1f95);this[_0x46f0bc(0xf7)](_0x485cb3,_0x39c675);}catch(_0x3e2971){this[_0x46f0bc(0x2fc)][_0x46f0bc(0x4d3)](_0x3e2971),this[_0x46f0bc(0x344)](_0x485cb3);}}['_clearUndo'](_0x19df44){const _0x321460=_0x1c91cb,_0x3136d8=this[_0x321460(0x1a9)](_0x19df44);_0x3136d8&&(_0x3136d8['length']=0x0,this['_updateStatus']());}[_0x1c91cb(0x344)](_0x42b6da){const _0x13029=_0x1c91cb,_0x4f3966=this[_0x13029(0x2a1)](_0x42b6da);_0x4f3966&&(_0x4f3966[_0x13029(0x38b)]=0x0,this[_0x13029(0x162)]());}[_0x1c91cb(0x501)](_0x151003,_0x469171){const _0x37f7dc=_0x1c91cb;this[_0x37f7dc(0x14e)][_0x37f7dc(0x1e5)](_0x151003,_0x469171),this[_0x37f7dc(0x162)]();}[_0x1c91cb(0xf7)](_0x1fcba6,_0x51912a){const _0xc08a0e=_0x1c91cb;this['_redoStacks']['set'](_0x1fcba6,_0x51912a),this[_0xc08a0e(0x162)]();}[_0x1c91cb(0x3fc)](_0x2592fe,_0x38e58f){const _0x1560f4=_0x1c91cb,_0x5885cd=[];let _0x3af2f2=_0x38e58f,_0x8a8a5c=_0x38e58f;for(let _0x373e8b=_0x2592fe[_0x1560f4(0x38b)]-0x1;_0x373e8b>=0x0;_0x373e8b--){const {unitID:_0x209384,undoMutations:_0x5b7c2b,redoMutations:_0x36c091}=_0x2592fe[_0x373e8b],_0x1c0667=this['_transformService']['transformMutationsWithChangeset'](_0x3af2f2,_0x5b7c2b),_0x26d9f6=this['_transformService']['transformMutationsWithChangeset'](_0x8a8a5c,_0x36c091);if(_0xf8d699(_0x1c0667)||_0xf8d699(_0x26d9f6)){this['_logService'][_0x1560f4(0x4d3)](_0x1560f4(0x44d),_0x1560f4(0x481),_0x1c0667,_0x26d9f6);break;}_0x3af2f2=_0x1c0667[_0x1560f4(0x1f2)],_0x8a8a5c=_0x26d9f6[_0x1560f4(0x1f2)],_0x5885cd[_0x1560f4(0x4c1)]({'unitID':_0x209384,'undoMutations':_0x1c0667[_0x1560f4(0x20b)],'redoMutations':_0x26d9f6[_0x1560f4(0x20b)]});}return _0x5885cd[_0x1560f4(0x4cf)]();}};Is=ih([tt(0x0,_0x5283d0),tt(0x1,_0x3abf69),tt(0x2,_0x2f3e14),tt(0x3,_0x3e892f),tt(0x4,_0x535daf)],Is);class rh extends _0x30a9be{constructor(){const _0x1afc33=_0x1c91cb;super(),g(this,'urlChange$'),this['urlChange$']=_0x262ff3(window,'popstate')['pipe'](_0x13e2dd(this[_0x1afc33(0x1a4)]),_0x527819(0x1),_0x1c3c7f(void 0x0));}[_0x1c91cb(0x41b)](_0x468a3c,_0x4fe9f8,_0x4bad1b=!0x1){const _0xd262b1=_0x1c91cb,_0x35fc3e=new URL(window[_0xd262b1(0x2c2)][_0xd262b1(0x33a)]);_0x35fc3e[_0xd262b1(0x15a)][_0xd262b1(0x1e5)](_0x468a3c,_0x4fe9f8),_0x4bad1b?window[_0xd262b1(0x22c)][_0xd262b1(0x4fa)]('','',_0x35fc3e['toString']()):window[_0xd262b1(0x22c)][_0xd262b1(0x4a4)]('','',_0x35fc3e[_0xd262b1(0xfd)]());}[_0x1c91cb(0x41e)](_0x397c8c,_0x422caa=!0x1){const _0x18b80c=_0x1c91cb,_0x4dc5b7=new URL(window[_0x18b80c(0x2c2)]['href']);_0x4dc5b7[_0x18b80c(0x15a)]['delete'](_0x397c8c),_0x422caa?window[_0x18b80c(0x22c)][_0x18b80c(0x4fa)]('','',_0x4dc5b7['toString']()):window[_0x18b80c(0x22c)]['pushState']('','',_0x4dc5b7[_0x18b80c(0xfd)]());}[_0x1c91cb(0x4b3)](_0x1b20e7){const _0x734c09=_0x1c91cb;var _0x17cd43;return(_0x17cd43=new URL(window[_0x734c09(0x2c2)][_0x734c09(0x33a)])[_0x734c09(0x15a)][_0x734c09(0x470)](_0x1b20e7))!=null?_0x17cd43:void 0x0;}}var ar=Object[_0x1c91cb(0x502)],nh=Object[_0x1c91cb(0x439)],oh=(_0x4dda00,_0x535a76,_0x3d2307)=>_0x535a76 in _0x4dda00?ar(_0x4dda00,_0x535a76,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d2307}):_0x4dda00[_0x535a76]=_0x3d2307,ah=(_0x4b079c,_0x1b05ec,_0xd35912,_0x275d9c)=>{const _0x35f2d9=_0x1c91cb;for(var _0x11b4e0=_0x275d9c>0x1?void 0x0:_0x275d9c?nh(_0x1b05ec,_0xd35912):_0x1b05ec,_0x57044c=_0x4b079c[_0x35f2d9(0x38b)]-0x1,_0x48bac4;_0x57044c>=0x0;_0x57044c--)(_0x48bac4=_0x4b079c[_0x57044c])&&(_0x11b4e0=(_0x275d9c?_0x48bac4(_0x1b05ec,_0xd35912,_0x11b4e0):_0x48bac4(_0x11b4e0))||_0x11b4e0);return _0x275d9c&&_0x11b4e0&&ar(_0x1b05ec,_0xd35912,_0x11b4e0),_0x11b4e0;},_t=(_0x584bdf,_0xbcac0a)=>(_0x13da73,_0x1d4666)=>_0xbcac0a(_0x13da73,_0x1d4666,_0x584bdf),ch=(_0x2d49ab,_0x1ddbc6,_0x1da1ad)=>oh(_0x2d49ab,_0x1ddbc6+'',_0x1da1ad);const hh=_0x1c91cb(0x506);let Cs=class extends _0x41c2ab{constructor(_0xaa48b2=Bn,_0x42f8cb,_0x324755,_0x420ef4,_0x2c5629){const _0x31f65f=_0x1c91cb;super(),this[_0x31f65f(0x2a7)]=_0xaa48b2,this[_0x31f65f(0x2fc)]=_0x42f8cb,this[_0x31f65f(0x318)]=_0x324755,this[_0x31f65f(0x29f)]=_0x420ef4,this[_0x31f65f(0x379)]=_0x2c5629;const {..._0x444440}=this[_0x31f65f(0x2a7)];this[_0x31f65f(0x379)]['setConfig'](Q,_0x444440);}[_0x1c91cb(0x3d8)](){const _0x5d8d47=_0x1c91cb;this[_0x5d8d47(0x4a1)](),this[_0x5d8d47(0x20a)]();}[_0x1c91cb(0x1f7)](){const _0x1bb12a=_0x1c91cb;_0x3b7115(this[_0x1bb12a(0x29f)],[[xt],[Ut]]);}['onRendered'](){const _0x25330e=_0x1c91cb;this[_0x25330e(0x384)]();}['_registerDependencies'](){const _0x5d6067=_0x1c91cb;var _0x379ea1,_0x4fb249,_0x3cf1f6,_0x1e1f30;this[_0x5d6067(0x29f)]['has'](_0x3ac068)&&this[_0x5d6067(0x2fc)][_0x5d6067(0x4d3)]('[UniverCollaborationClientPlugin]',_0x5d6067(0xf6));const _0x27be80=[[_0x3ac068,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x11b680],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0x4fb249=(_0x379ea1=this['_config'])==null?void 0x0:_0x379ea1['socketService'])!=null?_0x4fb249:cs}],[_0x2fb7b6,{'useClass':Ss}],[_0x4cbfe7,{'useClass':ps}],[_0x36aea0,{'useClass':ms}],[_0x3fa18d,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x3cf1f6=this['_config'])!=null&&_0x3cf1f6[_0x5d6067(0x190)]&&_0x27be80[_0x5d6067(0x4c1)]([jt,{'useClass':Co}]),_0x453377(this[_0x5d6067(0x29f)],_0x1fb426(_0x27be80,(_0x1e1f30=this['_config'])==null?void 0x0:_0x1e1f30[_0x5d6067(0x1ba)]));}['_registerRenderDependencies'](){const _0x2624c6=_0x1c91cb;this[_0x2624c6(0x29c)](this[_0x2624c6(0x318)][_0x2624c6(0x287)](_0x2579e6[_0x2624c6(0x18f)],[fs])),this['disposeWithMe'](this[_0x2624c6(0x318)][_0x2624c6(0x287)](_0x2579e6[_0x2624c6(0x169)],[vs]));}[_0x1c91cb(0x20a)](){const _0xa56aa8=_0x1c91cb;var _0x5b86a6,_0x2cd62e;this[_0xa56aa8(0x29f)]['get'](_0x170656)[_0xa56aa8(0x262)]({'priority':0x14,'interceptor':_0x108d46({'maxParallel':0x6})}),(_0x5b86a6=this[_0xa56aa8(0x2a7)])!=null&&_0x5b86a6[_0xa56aa8(0x420)]||this[_0xa56aa8(0x29f)][_0xa56aa8(0x470)](z)[_0xa56aa8(0x186)](),(_0x2cd62e=this[_0xa56aa8(0x2a7)])!=null&&_0x2cd62e[_0xa56aa8(0x44f)]&&_0x3b7115(this[_0xa56aa8(0x29f)],[[Lt]]),_0x3b7115(this['_injector'],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,_0x1c91cb(0x1bf),hh),Cs=ah([_0x313217(_0x373846,_0x5a0ef5),_t(0x1,_0x535daf),_t(0x2,_0x2e1553),_t(0x3,_0x5beccd(_0x21398d)),_t(0x4,_0x385706)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
|