@univerjs-pro/collaboration-client 0.5.0-alpha.0 → 0.5.0-nightly.202411101605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x5bb7a4=_0x4081;(function(_0x24ad8d,_0xcf6b8){const _0xba6a5a=_0x4081,_0x4b30d0=_0x24ad8d();while(!![]){try{const _0x57ba32=-parseInt(_0xba6a5a(0x20e))/0x1*(-parseInt(_0xba6a5a(0x548))/0x2)+parseInt(_0xba6a5a(0x1c6))/0x3*(-parseInt(_0xba6a5a(0x207))/0x4)+parseInt(_0xba6a5a(0x190))/0x5*(-parseInt(_0xba6a5a(0x2d3))/0x6)+-parseInt(_0xba6a5a(0x483))/0x7+parseInt(_0xba6a5a(0x1db))/0x8+parseInt(_0xba6a5a(0x1fe))/0x9*(parseInt(_0xba6a5a(0x2d1))/0xa)+parseInt(_0xba6a5a(0x459))/0xb*(parseInt(_0xba6a5a(0x412))/0xc);if(_0x57ba32===_0xcf6b8)break;else _0x4b30d0['push'](_0x4b30d0['shift']());}catch(_0x1fc0c4){_0x4b30d0['push'](_0x4b30d0['shift']());}}}(_0x27da,0x99a97));var qi=Object['defineProperty'],Xi=(_0x192793,_0x3e93ca,_0x225043)=>_0x3e93ca in _0x192793?qi(_0x192793,_0x3e93ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x225043}):_0x192793[_0x3e93ca]=_0x225043,g=(_0x2e7815,_0x4ea96c,_0x124536)=>Xi(_0x2e7815,typeof _0x4ea96c!=_0x5bb7a4(0x477)?_0x4ea96c+'':_0x4ea96c,_0x124536);import{createIdentifier as _0x5ce9a5,Inject as _0x22a3e1,Disposable as _0x1caa36,DisposableCollection as _0x4e3306,toDisposable as _0x7884da,IConfigService as _0x2bb536,ILogService as _0x3efec9,UserManagerService as _0x28e0a3,UniverInstanceType as _0x10a997,IUniverInstanceService as _0x2e0534,LocaleService as _0x1fdc1b,Optional as _0x4f55bd,RxDisposable as _0x177a9e,Injector as _0x4c5160,Tools as _0x41d014,ILocalStorageService as _0x21f678,Rectangle as _0x49e4db,ICommandService as _0x1e58f0,DOC_RANGE_TYPE as _0x569c02,JSONX as _0x22592d,CommandType as _0x5bf26c,IPermissionService as _0x59e41b,IUndoRedoService as _0x131129,sequenceExecute as _0x9b12cf,debounce as _0x47386f,COLORS as _0x593100,ColorKit as _0x589dec,ThemeService as _0x58be32,fromEventSubject as _0x3a7a27,useDependency as _0xe664fe,connectInjector as _0x3048e7,Workbook as _0x31b79d,isInternalEditorID as _0x503b7a,LocalUndoRedoService as _0x26edca,IContextService as _0x6af9eb,DependentOn as _0x5008eb,Plugin as _0x1a3f69,touchDependencies as _0x3fa01f,IAuthzIoService as _0x2eb585,registerDependencies as _0x60d00f,mergeOverrideWithDependencies as _0x2c766a}from'@univerjs/core';import{Subject as _0x1b179a,merge as _0x4e4735,takeUntil as _0x52fa59,BehaviorSubject as _0x348a88,distinctUntilChanged as _0x2abb77,fromEvent as _0x565a18,ReplaySubject as _0x5c726e,take as _0x35f71d,map as _0x5809a7,shareReplay as _0x3f1879,of as _0x52cb6f,debounceTime as _0x12cfe4,filter as _0x3cb187,switchMap as _0x1e3e59,combineLatest as _0x4753e6,concatMap as _0x2d7fb7,mapTo as _0x287b5c}from'rxjs';import{map as _0x17141f,take as _0x4b07d5,filter as _0x5a0a20,delay as _0x1ce989,throttleTime as _0x3fef40,takeUntil as _0x216286,switchMap as _0x58ad60}from'rxjs/operators';import{MessageType as _0x3417d7,Tooltip as _0x4f930e}from'@univerjs/design';import{IBeforeCloseService as _0x3e0747,IMessageService as _0x38087f,INotificationService as _0x387815,useObservable as _0x3b686f,BuiltInUIPart as _0x5b1713,IUIPartsService as _0x2cb103}from'@univerjs/ui';import{HTTPService as _0x41156a,WebSocketService as _0x1275f8,MergeInterceptorFactory as _0xc40197,HTTPRequest as _0x3b9e80,UniverNetworkPlugin as _0x2fc5f3,ThresholdInterceptorFactory as _0x15339e}from'@univerjs/network';import{CollaborationEvent as _0x45d469,parseChangesetToProtocol as _0x2f96b4,ISnapshotServerService as _0x5bc59d,isTransformMutationFailure as _0x35b5b8,isTransformMutationsWithChangesetSuccess as _0x5f43ea,ITransformService as _0x2db4c4,RevisionService as _0x25150b,mapDocumentTypeToUniverType as _0x32a7fd,isTransformChangesetsSuccess as _0x3e05e4,CompressMutationService as _0x4b6791,parseProtocolChangeset as _0x34525f,SnapshotService as _0x2b1acd,textEncoder as _0x1a843b,b64DecodeUnicode as _0x286b30,isTransformMutationsWithChangesetFailure as _0x2a2494,UniverCollaborationPlugin as _0x1956e2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1b6586}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x4a315f,DocStateChangeManagerService as _0x1b1fa1,NodePositionConvertToCursor as _0x1e2d34,NodePositionConvertToRectRange as _0x2b0059,TEXT_RANGE_LAYER_INDEX as _0x417fa9,SetDocZoomRatioOperation as _0x595dd4}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x11487d,SetSelectionsOperation as _0x544c74,InsertSheetMutation as _0x2dfe93,EmptyMutation as _0x224c7f,WorkbookEditablePermission as _0x272dbd,RefRangeService as _0x180f23,EffectRefRangId as _0x34bde3,handleIRemoveRow as _0x399794,handleIRemoveCol as _0x74bb6c,handleMoveRange as _0x20726c,handleInsertRow as _0x5120ad,handleInsertRangeMoveRight as _0x3995ec,handleInsertRangeMoveDown as _0x595791,handleInsertCol as _0x490fbf,handleDeleteRangeMoveUp as _0xc12035,handleDeleteRangeMoveLeft as _0xd913ed,runRefRangeMutations as _0x4ea810,SetWorksheetActivateCommand as _0x3d9171}from'@univerjs/sheets';import{IRenderManagerService as _0x31d8f9,Shape as _0x4b8d3f,Rect as _0x4214fc,getColor as _0x140980,RegularPolygon as _0x18606b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2c9396,Vector2 as _0x3af8ad}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x4ce6e6,RichTextEditingMutation as _0x185e84,SetTextSelectionsOperation as _0x10288c,DocSkeletonManagerService as _0x386ab1}from'@univerjs/docs';import{ImageSourceType as _0x40ad48,ImageUploadStatusType as _0x1d459e,IImageIoService as _0x23cc94}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x231961,serializeRangeWithSheet as _0x5cd454}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x328715,VIEWPORT_KEY as _0x4bafe5,getCoordByCell as _0x5a0e3d,getSheetObject as _0x1d2c70,SheetPermissionInitController as _0x496cb9}from'@univerjs/sheets-ui';import _0x3fd601,{forwardRef as _0x5ecf43,useRef as _0x37367c,createElement as _0x438628,useCallback as _0x1f3798}from'react';import{IRemoteInstanceService as _0xfc52d5}from'@univerjs/rpc';const cr=_0x5bb7a4(0x195),hr=_0x5bb7a4(0x4c5),lr=_0x5bb7a4(0x3c3),Xc=_0x5bb7a4(0x552),_r=0x7d0,ur=_0x5bb7a4(0x1dc),dr=_0x5bb7a4(0x361),fr='HEARTBEAT_INTERVAL',vr=0x7530,bi=_0x5bb7a4(0x337),Ti=0x4e20,mr=0x4e20,pr=_0x5bb7a4(0x55c),gr=0x3,Sr=_0x5bb7a4(0x451),Ir=0x3e8,Cr=_0x5bb7a4(0x255),Er='/universer-api/comb',br=_0x5bb7a4(0x372),Tr=_0x5bb7a4(0x43c);var Ri=(_0x43d28d=>(_0x43d28d[_0x43d28d[_0x5bb7a4(0x225)]=0x0]=_0x5bb7a4(0x225),_0x43d28d[_0x43d28d['OK']=0x1]='OK',_0x43d28d[_0x43d28d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x43d28d[_0x43d28d[_0x5bb7a4(0x403)]=0x3]=_0x5bb7a4(0x403),_0x43d28d[_0x43d28d[_0x5bb7a4(0x33b)]=0x4]=_0x5bb7a4(0x33b),_0x43d28d[_0x43d28d['UNAUTHENTICATED']=0x5]=_0x5bb7a4(0x2ce),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ab)]=0x6]='ALREADY_EXISTS',_0x43d28d[_0x43d28d['INVALID_ARGUMENT']=0x7]=_0x5bb7a4(0x365),_0x43d28d[_0x43d28d[_0x5bb7a4(0x554)]=0x8]=_0x5bb7a4(0x554),_0x43d28d[_0x43d28d[_0x5bb7a4(0x468)]=0x9]=_0x5bb7a4(0x468),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ae)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x43d28d[_0x43d28d[_0x5bb7a4(0x3a9)]=0x1771]=_0x5bb7a4(0x3a9),_0x43d28d[_0x43d28d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5bb7a4(0x1f0),_0x43d28d[_0x43d28d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x43d28d[_0x43d28d[_0x5bb7a4(0x46a)]=0x1b59]=_0x5bb7a4(0x46a),_0x43d28d[_0x43d28d[_0x5bb7a4(0x564)]=0x1b5a]=_0x5bb7a4(0x564),_0x43d28d[_0x43d28d[_0x5bb7a4(0x4dc)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x43d28d[_0x43d28d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5bb7a4(0x219),_0x43d28d[_0x43d28d[_0x5bb7a4(0x289)]=0x1b5d]=_0x5bb7a4(0x289),_0x43d28d[_0x43d28d[_0x5bb7a4(0x298)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x43d28d[_0x43d28d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5bb7a4(0x507),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ec)]=0x232a]=_0x5bb7a4(0x3ec),_0x43d28d[_0x43d28d[_0x5bb7a4(0x45e)]=0x232b]=_0x5bb7a4(0x45e),_0x43d28d[_0x43d28d[_0x5bb7a4(0x55f)]=0x232c]=_0x5bb7a4(0x55f),_0x43d28d[_0x43d28d[_0x5bb7a4(0x51b)]=0x232d]=_0x5bb7a4(0x51b),_0x43d28d[_0x43d28d[_0x5bb7a4(0x345)]=0x2711]=_0x5bb7a4(0x345),_0x43d28d[_0x43d28d[_0x5bb7a4(0x573)]=0x2712]=_0x5bb7a4(0x573),_0x43d28d[_0x43d28d[_0x5bb7a4(0x549)]=0x2713]=_0x5bb7a4(0x549),_0x43d28d[_0x43d28d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5bb7a4(0x4bf),_0x43d28d[_0x43d28d[_0x5bb7a4(0x31e)]=-0x1]=_0x5bb7a4(0x31e),_0x43d28d))(Ri||{}),ce=(_0xd0b78b=>(_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4ec)]=0x0]=_0x5bb7a4(0x4ec),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x172)]=0x1]=_0x5bb7a4(0x172),_0xd0b78b[_0xd0b78b['UNIVER_SHEET']=0x2]=_0x5bb7a4(0x55b),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4b3)]=0x3]=_0x5bb7a4(0x4b3),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4c7)]=0x4]='UNIVER_PROJECT',_0xd0b78b[_0xd0b78b['UNRECOGNIZED']=-0x1]=_0x5bb7a4(0x31e),_0xd0b78b))(ce||{}),W=(_0x1f2de3=>(_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x204)]=0x0]=_0x5bb7a4(0x204),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x183)]=0x1]=_0x5bb7a4(0x183),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x542)]=0x2]=_0x5bb7a4(0x542),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x2a7)]=0x3]=_0x5bb7a4(0x2a7),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x200)]=0x4]=_0x5bb7a4(0x200),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x238)]=0x5]=_0x5bb7a4(0x238),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x297)]=0x6]=_0x5bb7a4(0x297),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x31e)]=-0x1]='UNRECOGNIZED',_0x1f2de3))(W||{}),Is=(_0x58dddf=>(_0x58dddf[_0x58dddf['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x58dddf[_0x58dddf['OK']=0x1]='OK',_0x58dddf[_0x58dddf[_0x5bb7a4(0x526)]=0x2]='FAIL',_0x58dddf[_0x58dddf[_0x5bb7a4(0x31e)]=-0x1]='UNRECOGNIZED',_0x58dddf))(Is||{}),yi=(_0x137d45=>(_0x137d45[_0x137d45[_0x5bb7a4(0x2e9)]=0x0]=_0x5bb7a4(0x2e9),_0x137d45[_0x137d45[_0x5bb7a4(0x197)]=0x1]='HttpImport',_0x137d45[_0x137d45[_0x5bb7a4(0x502)]=0x2]=_0x5bb7a4(0x502),_0x137d45[_0x137d45['UnitEmbedded']=0x3]=_0x5bb7a4(0x48f),_0x137d45[_0x137d45[_0x5bb7a4(0x54b)]=0x4]=_0x5bb7a4(0x54b),_0x137d45[_0x137d45[_0x5bb7a4(0x31e)]=-0x1]=_0x5bb7a4(0x31e),_0x137d45))(yi||{});const ie=_0x5bb7a4(0x1f9),Rr={};function yr(_0x45b5c9){const _0x293a22=_0x5bb7a4;var _0x301a87,_0xc1dc28,_0x2d495b,_0x56dfea,_0x5eb7b5;const _0x1c293a=_0x45b5c9['data'],_0x54c316=JSON[_0x293a22(0x57c)](_0x1c293a);switch(_0x54c316[_0x293a22(0x4d5)]){case W[_0x293a22(0x238)]:case W[_0x293a22(0x183)]:{const _0x316f46=_0x54c316[_0x293a22(0x51e)];return{..._0x54c316,'data':_0x316f46,'cmd':_0x54c316[_0x293a22(0x4d5)]};}case W[_0x293a22(0x542)]:{const _0x8b589f=_0x54c316[_0x293a22(0x3f9)];return{..._0x54c316,'data':_0x8b589f,'cmd':_0x54c316[_0x293a22(0x4d5)]};}case W[_0x293a22(0x297)]:{const _0x282169=_0x54c316[_0x293a22(0x21a)];switch(_0x282169['eventID']){case _0x45d469[_0x293a22(0x4fb)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x301a87=_0x282169[_0x293a22(0x3ba)])==null?void 0x0:_0x301a87['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x4a7)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0xc1dc28=_0x282169['csAckEvent'])==null?void 0x0:_0xc1dc28['cs']},'cmd':_0x54c316['cmd']};case _0x45d469[_0x293a22(0x4df)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x2d495b=_0x282169['newCsEvent'])==null?void 0x0:_0x2d495b['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x35b)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x56dfea=_0x282169[_0x293a22(0x469)])==null?void 0x0:_0x56dfea['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x259)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x5eb7b5=_0x282169[_0x293a22(0x3d5)])==null?void 0x0:_0x5eb7b5['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['UPDATE_CURSOR']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['updateCursorEvent']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x2a5)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x4b7)]},'cmd':_0x54c316['cmd']};case _0x45d469['USERS_LEAVE']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x4cd)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x31f)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x29e)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['LIVESHARE_FETCH_OPERATIONS']:case _0x45d469[_0x293a22(0x38c)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x49b)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['LIVESHARE_TERMINATE']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['liveShareNewHost']},'cmd':_0x54c316['cmd']};case _0x45d469[_0x293a22(0x407)]:return{..._0x54c316,'data':_0x282169,'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x34d)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x36f)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x508)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['updatePermissionObjEvent']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x413)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x398)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};default:return _0x54c316;}}default:return _0x54c316;}}function Or(_0x1b8bfc){const _0x16d4be=_0x5bb7a4;switch(_0x1b8bfc[_0x16d4be(0x4d5)]){case W['HEARTBEAT']:case W[_0x16d4be(0x183)]:return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)]});case W[_0x16d4be(0x200)]:{let _0xaa41cc;switch(_0x1b8bfc[_0x16d4be(0x2d5)]['eventID']){case _0x45d469[_0x16d4be(0x2cd)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x2cd)],'updateCursorEvent':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x489)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x489)],'leaveEvent':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x2a5)]:{_0xaa41cc={'eventID':_0x45d469['USERS_ENTER'],'joinEvent':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469['LIVESHARE_NEW_HOST']:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x31f)],'liveShareNewHost':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x38c)]:{_0xaa41cc={'eventID':_0x45d469['LIVESHARE_OPERATION'],'liveShareOperation':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x41d)]:{_0xaa41cc={'eventID':_0x45d469['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x2ed)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x2ed)],'liveShareRequestHost':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x43b)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x43b)]};break;}default:_0xaa41cc={'eventID':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x479)]};}return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'collaMsg':_0xaa41cc});}case W[_0x16d4be(0x542)]:return JSON['stringify']({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'joinReq':_0x1b8bfc[_0x16d4be(0x2d5)]});case W['LEAVE']:return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc['cmd'],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'leaveReq':_0x1b8bfc[_0x16d4be(0x2d5)]});default:throw new Error(_0x16d4be(0x1f7));}}var wr=Object['defineProperty'],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x2af9ec,_0x503585,_0x193e92,_0x583e94)=>{for(var _0x5c4c97=_0x583e94>0x1?void 0x0:_0x583e94?Dr(_0x503585,_0x193e92):_0x503585,_0x24b214=_0x2af9ec['length']-0x1,_0x131704;_0x24b214>=0x0;_0x24b214--)(_0x131704=_0x2af9ec[_0x24b214])&&(_0x5c4c97=(_0x583e94?_0x131704(_0x503585,_0x193e92,_0x5c4c97):_0x131704(_0x5c4c97))||_0x5c4c97);return _0x583e94&&_0x5c4c97&&wr(_0x503585,_0x193e92,_0x5c4c97),_0x5c4c97;},qe=(_0x18d833,_0x224e85)=>(_0x398617,_0x2a8f6b)=>_0x224e85(_0x398617,_0x2a8f6b,_0x18d833);const Oi=_0x5ce9a5(_0x5bb7a4(0x373));function Ur(_0x21a3ea,_0x5b1eda,_0x33f15d){return _0x21a3ea+'/'+_0x5b1eda+'/unit/'+_0x33f15d+'/new_changes';}let es=class extends _0x1caa36{constructor(_0x3f7db1,_0x11cd42,_0x5f0f47,_0x31a7c7,_0x45534a){const _0x165338=_0x5bb7a4;super(),this[_0x165338(0x582)]=_0x3f7db1,this[_0x165338(0x561)]=_0x11cd42,this[_0x165338(0x23e)]=_0x5f0f47,this[_0x165338(0x26e)]=_0x31a7c7,this['_snapshotServerService']=_0x45534a;}[_0x5bb7a4(0x343)](_0x3842d8){const _0x222f56=_0x5bb7a4,_0x2e5251=this[_0x222f56(0x561)][_0x222f56(0x343)](_0x3842d8);if(!_0x2e5251)throw new Error(_0x222f56(0x3c1));const _0x1ef4af=new _0x4e3306(),_0x5a5ea7=new _0x1b179a();_0x1ef4af[_0x222f56(0x570)](_0x2e5251[_0x222f56(0x339)][_0x222f56(0x519)](_0xc5f3d8=>_0x5a5ea7[_0x222f56(0x3ff)](_0xc5f3d8))),_0x1ef4af['add'](_0x7884da(()=>_0x5a5ea7[_0x222f56(0x313)]()));const _0x4b837d=new _0x1b179a();_0x1ef4af[_0x222f56(0x570)](_0x2e5251[_0x222f56(0x277)][_0x222f56(0x519)](_0x9e3923=>_0x4b837d[_0x222f56(0x3ff)](_0x9e3923))),_0x1ef4af[_0x222f56(0x570)](_0x7884da(()=>_0x4b837d[_0x222f56(0x313)]()));const _0xbe5845=new _0x1b179a();_0x1ef4af['add'](_0x2e5251[_0x222f56(0x35f)][_0x222f56(0x519)](_0x2c4738=>{const _0x5e9fcd=_0x222f56,_0x505236=yr(_0x2c4738);_0xbe5845[_0x5e9fcd(0x3ff)](_0x505236);})),_0x1ef4af[_0x222f56(0x570)](_0x7884da(()=>_0xbe5845['complete']()));let _0x5522e3;const _0xac8b45=()=>{const _0x49efe9=_0x222f56;_0x4b837d[_0x49efe9(0x3ff)](new Event(_0x49efe9(0x248))),_0x5a5ea7[_0x49efe9(0x3ff)](new CloseEvent(_0x49efe9(0x248))),_0x5522e3[_0x49efe9(0x27a)]();};return _0x5522e3={'memberID':'','close$':_0x5a5ea7[_0x222f56(0x1a6)](),'error$':_0x4b837d[_0x222f56(0x1a6)](),'open$':_0x2e5251[_0x222f56(0x3eb)],'message$':_0xbe5845['asObservable'](),'send':_0x5c30bb=>{const _0x4cb4a0=_0x222f56;if(_0x5c30bb[_0x4cb4a0(0x4d5)]===W['INGEST']){if(_0x5c30bb['data'][_0x4cb4a0(0x479)]===_0x45d469[_0x4cb4a0(0x1b5)]){this[_0x4cb4a0(0x34c)](_0x5522e3,_0x5c30bb[_0x4cb4a0(0x2d5)])[_0x4cb4a0(0x220)](_0x5eefa1=>{const _0x2e5234=_0x4cb4a0;this['_logService'][_0x2e5234(0x17b)](_0x5eefa1),_0xac8b45();});return;}if(_0x5c30bb['data'][_0x4cb4a0(0x479)]===_0x45d469['FETCH_MISSING']){const _0x5becb3=_0x5c30bb['data'];this[_0x4cb4a0(0x48c)](_0x5becb3)[_0x4cb4a0(0x40e)](_0x444026=>{_0xbe5845['next']({'cmd':W['RECV'],'code':Is['OK'],'routeKey':_0x5becb3['data']['unitID'],'routeType':'','data':{'eventID':_0x45d469['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x444026}}});})[_0x4cb4a0(0x220)](_0x18526b=>{const _0x33ba8f=_0x4cb4a0;this['_logService'][_0x33ba8f(0x17b)](_0x18526b),_0xac8b45();});return;}}_0x2e5251[_0x4cb4a0(0x45a)](Or(_0x5c30bb));},'close':()=>{const _0x589395=_0x222f56;_0x2e5251[_0x589395(0x27a)](),_0x1ef4af[_0x589395(0x4d2)]();}},_0x5522e3;}async['_submitChangeset'](_0x3c4dec,_0xd0d49e){const _0x5c1faa=_0x5bb7a4;var _0x5e5b50,_0x33428b;const {unitType:_0x596e6b,unitID:_0x6f1d1c,changeset:_0x29e5a9}=_0xd0d49e[_0x5c1faa(0x2d5)],_0x5a30d4={'unitID':_0x6f1d1c,'memberID':_0x3c4dec[_0x5c1faa(0x2a3)],'type':_0x596e6b,'changeset':_0x2f96b4(_0x29e5a9)},_0x271cb0=this['_configService'][_0x5c1faa(0x447)](Cr),_0x6722dc=this[_0x5c1faa(0x23e)][_0x5c1faa(0x447)](ie),_0x398d6f=Ur((_0x33428b=(_0x5e5b50=_0x6722dc==null?void 0x0:_0x6722dc[_0x5c1faa(0x347)])!=null?_0x5e5b50:_0x271cb0)!=null?_0x33428b:Er,_0x596e6b,_0x6f1d1c);try{await this['_http'][_0x5c1faa(0x495)](_0x398d6f,{'body':_0x5a30d4});}catch(_0x37e2c9){throw this[_0x5c1faa(0x26e)]['error'](_0x5c1faa(0x424),_0x5c1faa(0x2f7)),_0x37e2c9;}}async[_0x5bb7a4(0x48c)](_0x9fd737){const _0x3585dd=_0x5bb7a4,{unitID:_0xe4f67c,from:_0x9ded1c,to:_0x4bfc52,unitType:_0x2b9766}=_0x9fd737[_0x3585dd(0x2d5)];return(await this[_0x3585dd(0x505)][_0x3585dd(0x2b8)]({'metadata':void 0x0},{'unitID':_0xe4f67c,'type':_0x2b9766,'from':_0x9ded1c,'to':_0x4bfc52}))['changesets'];}};es=Pr([qe(0x0,_0x22a3e1(_0x41156a)),qe(0x1,_0x22a3e1(_0x1275f8)),qe(0x2,_0x2bb536),qe(0x3,_0x3efec9),qe(0x4,_0x5bc59d)],es);const Nr=_0x5bb7a4(0x164);function Ar(_0x125ef8){const _0x5b8b4b=_0x5bb7a4;return JSON['stringify'](_0x125ef8)[_0x5b8b4b(0x282)];}class wi{constructor(){const _0x2d5d47=_0x5bb7a4;g(this,_0x2d5d47(0x379),new _0x1b179a()),g(this,_0x2d5d47(0x17d),this[_0x2d5d47(0x379)]['asObservable']());}['onCommentUpdate'](_0x40ddb6){const _0x9f38a=_0x5bb7a4;this[_0x9f38a(0x379)][_0x9f38a(0x3ff)](_0x40ddb6);}}var Mr=Object[_0x5bb7a4(0x42b)],xr=Object[_0x5bb7a4(0x4e4)],Lr=(_0x166916,_0x3f83b3,_0x5c8a40,_0x34f32d)=>{const _0x3fb2c7=_0x5bb7a4;for(var _0x4bdfb5=_0x34f32d>0x1?void 0x0:_0x34f32d?xr(_0x3f83b3,_0x5c8a40):_0x3f83b3,_0x2c04d0=_0x166916[_0x3fb2c7(0x282)]-0x1,_0x18f6f8;_0x2c04d0>=0x0;_0x2c04d0--)(_0x18f6f8=_0x166916[_0x2c04d0])&&(_0x4bdfb5=(_0x34f32d?_0x18f6f8(_0x3f83b3,_0x5c8a40,_0x4bdfb5):_0x18f6f8(_0x4bdfb5))||_0x4bdfb5);return _0x34f32d&&_0x4bdfb5&&Mr(_0x3f83b3,_0x5c8a40,_0x4bdfb5),_0x4bdfb5;},Hs=(_0x234824,_0x2c1906)=>(_0x9e5ff0,_0x5be919)=>_0x2c1906(_0x9e5ff0,_0x5be919,_0x234824);let Ne=class extends _0x1caa36{constructor(_0x4041c0,_0x1d3af4){const _0x1ddaa9=_0x5bb7a4;super(),g(this,_0x1ddaa9(0x1df),new Map()),(this[_0x1ddaa9(0x21d)]=_0x4041c0,this[_0x1ddaa9(0x556)]=_0x1d3af4,this[_0x1ddaa9(0x368)](_0x7884da(_0x4e4735(this[_0x1ddaa9(0x21d)]['getTypeOfUnitDisposed$'](_0x10a997[_0x1ddaa9(0x55b)])[_0x1ddaa9(0x3f1)](_0x17141f(_0x510a53=>_0x510a53[_0x1ddaa9(0x322)]())),this[_0x1ddaa9(0x21d)][_0x1ddaa9(0x39a)](_0x10a997[_0x1ddaa9(0x172)])['pipe'](_0x17141f(_0x23e96c=>_0x23e96c[_0x1ddaa9(0x322)]())),this[_0x1ddaa9(0x21d)][_0x1ddaa9(0x39a)](_0x10a997[_0x1ddaa9(0x4b3)])[_0x1ddaa9(0x3f1)](_0x17141f(_0x33d5a3=>_0x33d5a3[_0x1ddaa9(0x322)]())))[_0x1ddaa9(0x519)](_0x529546=>this[_0x1ddaa9(0x562)](_0x529546)))));}['setCurrentUser'](_0x54e57a){const _0x4ff021=_0x5bb7a4;this['_userManagerService'][_0x4ff021(0x4fc)](_0x54e57a);}['getCurrentUser'](){const _0x3d0d1c=_0x5bb7a4;return this['_userManagerService'][_0x3d0d1c(0x3b9)]();}[_0x5bb7a4(0x4b2)](_0x43a481,_0x51081b){const _0x282152=_0x5bb7a4;let _0x3963ac=this[_0x282152(0x1df)][_0x282152(0x4f7)](_0x43a481);_0x3963ac||(_0x3963ac=new $r(),this['_roomMembers']['set'](_0x43a481,_0x3963ac)),_0x3963ac[_0x282152(0x4b2)](_0x51081b);}[_0x5bb7a4(0x4e6)](_0x235ecd,_0x36149c){const _0x5b020d=_0x5bb7a4,_0x87bb2c=this['_roomMembers'][_0x5b020d(0x4f7)](_0x235ecd);_0x87bb2c&&_0x87bb2c[_0x5b020d(0x4e6)](_0x36149c);}[_0x5bb7a4(0x2dd)](_0x4578d5){const _0x4ea8f1=_0x5bb7a4;return this[_0x4ea8f1(0x1df)][_0x4ea8f1(0x4f7)](_0x4578d5);}[_0x5bb7a4(0x25d)](_0x2b11ec,_0x306cdc){const _0x589b74=_0x5bb7a4,_0x47c14e=this['_roomMembers'][_0x589b74(0x4f7)](_0x2b11ec);if(_0x47c14e)return _0x47c14e[_0x589b74(0x25d)](_0x306cdc);}['_removeRoom'](_0x3626f5){const _0x4b4934=_0x5bb7a4,_0x3f1463=this['_roomMembers'][_0x4b4934(0x4f7)](_0x3626f5);_0x3f1463&&(_0x3f1463[_0x4b4934(0x4d2)](),this[_0x4b4934(0x1df)][_0x4b4934(0x3d8)](_0x3626f5));}[_0x5bb7a4(0x4d2)](){const _0x32964=_0x5bb7a4;this['_roomMembers'][_0x32964(0x312)](_0xad9e2b=>_0xad9e2b[_0x32964(0x4d2)]()),this[_0x32964(0x1df)]['clear']();}};Ne=Lr([Hs(0x0,_0x2e0534),Hs(0x1,_0x22a3e1(_0x28e0a3))],Ne);class $r extends _0x1caa36{constructor(){const _0x153be1=_0x5bb7a4;super(...arguments),g(this,_0x153be1(0x3dc),new Map());}[_0x5bb7a4(0x4d2)](){const _0x563cef=_0x5bb7a4;this[_0x563cef(0x3dc)]['clear']();}['updateMember'](_0x450c04){const _0x2c63e6=_0x5bb7a4;this[_0x2c63e6(0x3dc)][_0x2c63e6(0x441)](_0x450c04['memberID'],_0x450c04);}[_0x5bb7a4(0x4e6)](_0x23d7b7){const _0x5f2e65=_0x5bb7a4;this[_0x5f2e65(0x3dc)][_0x5f2e65(0x3d8)](_0x23d7b7);}[_0x5bb7a4(0x25d)](_0x1f3cbb){const _0x52b494=_0x5bb7a4;return this[_0x52b494(0x3dc)][_0x52b494(0x4f7)](_0x1f3cbb);}[_0x5bb7a4(0x26c)](){const _0xef2a60=_0x5bb7a4;return Array['from'](this[_0xef2a60(0x3dc)]['values']());}}var Hr=Object[_0x5bb7a4(0x42b)],jr=Object[_0x5bb7a4(0x4e4)],Br=(_0x279aac,_0x22af43,_0x25ec3f,_0x5bc6c6)=>{const _0xab57fe=_0x5bb7a4;for(var _0x2e6c4a=_0x5bc6c6>0x1?void 0x0:_0x5bc6c6?jr(_0x22af43,_0x25ec3f):_0x22af43,_0x577116=_0x279aac[_0xab57fe(0x282)]-0x1,_0x58410e;_0x577116>=0x0;_0x577116--)(_0x58410e=_0x279aac[_0x577116])&&(_0x2e6c4a=(_0x5bc6c6?_0x58410e(_0x22af43,_0x25ec3f,_0x2e6c4a):_0x58410e(_0x2e6c4a))||_0x2e6c4a);return _0x5bc6c6&&_0x2e6c4a&&Hr(_0x22af43,_0x25ec3f,_0x2e6c4a),_0x2e6c4a;},Ee=(_0xe69baf,_0x174681)=>(_0x4626ce,_0x29deb5)=>_0x174681(_0x4626ce,_0x29deb5,_0xe69baf),ve=(_0x4c6797=>(_0x4c6797[_0x4c6797['IDLE']=0x0]=_0x5bb7a4(0x444),_0x4c6797[_0x4c6797[_0x5bb7a4(0x213)]=0x1]='JOINING',_0x4c6797[_0x4c6797[_0x5bb7a4(0x23a)]=0x2]=_0x5bb7a4(0x23a),_0x4c6797[_0x4c6797[_0x5bb7a4(0x3e1)]=0x3]=_0x5bb7a4(0x3e1),_0x4c6797))(ve||{});let ts=class extends _0x177a9e{constructor(_0x443a38,_0x59999f,_0x351334,_0xd6b63c,_0x124e88,_0x1825d1,_0x2b890b,_0x64aa01,_0x34d8f9,_0x3f7885){const _0x556193=_0x5bb7a4;super(),g(this,_0x556193(0x20f),new _0x348a88(0x0)),g(this,_0x556193(0x17e),this['_sessionStatus$']['asObservable']()),g(this,_0x556193(0x57d),new _0x1b179a()),g(this,'event$',this['_event$'][_0x556193(0x1a6)]()),g(this,_0x556193(0x323)),g(this,_0x556193(0x417)),g(this,_0x556193(0x301)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x556193(0x1b1),null),(this[_0x556193(0x2ba)]=_0x443a38,this['_logService']=_0x351334,this[_0x556193(0x414)]=_0xd6b63c,this[_0x556193(0x2a2)]=_0x124e88,this['_configService']=_0x1825d1,this[_0x556193(0x4ab)]=_0x2b890b,this[_0x556193(0x49f)]=_0x64aa01,this[_0x556193(0x54a)]=_0x34d8f9,this[_0x556193(0x18c)]=_0x3f7885,this[_0x556193(0x512)]=!!this[_0x556193(0x18c)],_0x59999f[_0x556193(0x3f1)](_0x52fa59(this[_0x556193(0x492)]))[_0x556193(0x519)](_0x10b0a1=>{const _0x11055d=_0x556193;var _0x7f969d;typeof _0x10b0a1>'u'||(this[_0x11055d(0x323)]=_0x10b0a1,_0x10b0a1?(this[_0x11055d(0x3b3)](_0x10b0a1),this[_0x11055d(0x417)]=_0x10b0a1[_0x11055d(0x35f)]['subscribe'](_0x460e62=>{const _0x43ccac=_0x11055d;_0x460e62['routeKey']===this[_0x43ccac(0x2ba)]&&this[_0x43ccac(0x497)](_0x460e62);})):(this[_0x11055d(0x3f0)](),this['_sessionStatus$'][_0x11055d(0x3ff)](0x2),(_0x7f969d=this['_socketMessageSubscription'])==null||_0x7f969d[_0x11055d(0x1e1)](),this[_0x11055d(0x417)]=null));}),this[_0x556193(0x368)](this[_0x556193(0x414)][_0x556193(0x1f2)](()=>{const _0x281e81=_0x556193;var _0x1e7cdc;(_0x1e7cdc=this[_0x281e81(0x323)])==null||_0x1e7cdc[_0x281e81(0x45a)]({'cmd':W[_0x281e81(0x2a7)],'data':{'roomID':this[_0x281e81(0x2ba)]}});})));}get[_0x5bb7a4(0x397)](){const _0x2cc569=_0x5bb7a4;return this['_sessionStatus$'][_0x2cc569(0x43d)]();}[_0x5bb7a4(0x494)](){var _0x18d281,_0x1f1544;return(_0x1f1544=(_0x18d281=this['_socket'])==null?void 0x0:_0x18d281['memberID'])!=null?_0x1f1544:null;}[_0x5bb7a4(0x4d2)](){const _0x3b4175=_0x5bb7a4;super[_0x3b4175(0x4d2)](),this['dispose$'][_0x3b4175(0x3ff)](),this['dispose$']['complete']();}[_0x5bb7a4(0x27a)](){const _0x171949=_0x5bb7a4;var _0x3473f1,_0x4278f4;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3473f1=this['_socket'])==null||_0x3473f1[_0x171949(0x45a)]({'cmd':W[_0x171949(0x2a7)],'data':{'roomID':this[_0x171949(0x2ba)]}}),(_0x4278f4=this['_socket'])==null||_0x4278f4[_0x171949(0x27a)](),this['_event$'][_0x171949(0x313)](),this[_0x171949(0x20f)][_0x171949(0x313)](),this[_0x171949(0x4d2)]();}['_onCombEvent'](_0x1bd2ec){const _0x11557e=_0x5bb7a4;_0x1bd2ec[_0x11557e(0x4d5)]===W['JOIN']?this[_0x11557e(0x518)](_0x1bd2ec):_0x1bd2ec[_0x11557e(0x4d5)]===W[_0x11557e(0x297)]&&this['_onRecvEvent'](_0x1bd2ec);}[_0x5bb7a4(0x3b3)](_0x202c1a){const _0x2e8b46=_0x5bb7a4;this[_0x2e8b46(0x20f)][_0x2e8b46(0x3ff)](0x1),_0x202c1a[_0x2e8b46(0x45a)]({'cmd':W[_0x2e8b46(0x542)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2e8b46(0x2ba)]}]}});}['_onJoinRoomEvent'](_0x5477f0){const _0x19fedf=_0x5bb7a4;var _0x3f50ed;if(_0x5477f0[_0x19fedf(0x4bd)]===Is[_0x19fedf(0x526)]){this[_0x19fedf(0x2a2)][_0x19fedf(0x18e)]({'type':_0x3417d7[_0x19fedf(0x2ad)],'content':this[_0x19fedf(0x4ab)]['t'](_0x19fedf(0x1cd))}),this[_0x19fedf(0x20f)][_0x19fedf(0x3ff)](0x2);return;}this['_sessionStatus$'][_0x19fedf(0x3ff)](0x3);const _0x21a3d2=(_0x3f50ed=_0x5477f0['data']['roomInfos'][this[_0x19fedf(0x2ba)]])==null?void 0x0:_0x3f50ed[_0x19fedf(0x2cc)];_0x21a3d2&&_0x21a3d2[_0x19fedf(0x312)](_0x5a95f1=>this[_0x19fedf(0x49f)][_0x19fedf(0x4b2)](this[_0x19fedf(0x2ba)],_0x5a95f1));}[_0x5bb7a4(0x2a1)](_0x459d77){const _0x5c07f2=_0x5bb7a4;try{const _0x34bcf0=_0x459d77[_0x5c07f2(0x2d5)];switch(_0x34bcf0[_0x5c07f2(0x479)]){case _0x45d469[_0x5c07f2(0x2a5)]:this[_0x5c07f2(0x33a)](_0x34bcf0),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469['USERS_LEAVE']:this[_0x5c07f2(0x38d)](_0x34bcf0),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x4a7)]:case _0x45d469[_0x5c07f2(0x259)]:this[_0x5c07f2(0x32e)](),this['_clearCollaborationTimeoutTimer'](),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x407)]:this[_0x5c07f2(0x26e)][_0x5c07f2(0x17b)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5c07f2(0x303)](_0x34bcf0)),this['_event$']['next'](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x34d)]:this[_0x5c07f2(0x54a)][_0x5c07f2(0x461)](_0x34bcf0['data']),this['_event$']['next'](_0x34bcf0);break;default:this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);}}catch(_0x5ba8f5){this[_0x5c07f2(0x26e)][_0x5c07f2(0x17b)](_0x5ba8f5,_0x459d77);}}[_0x5bb7a4(0x33a)](_0x186756){const _0x2c9692=_0x5bb7a4;this['_memberService'][_0x2c9692(0x4b2)](this[_0x2c9692(0x2ba)],_0x186756[_0x2c9692(0x2d5)]);}[_0x5bb7a4(0x38d)](_0x43ecf5){const _0x49962c=_0x5bb7a4;this[_0x49962c(0x49f)][_0x49962c(0x4e6)](this[_0x49962c(0x2ba)],_0x43ecf5['data'][_0x49962c(0x2a3)]);}async['send'](_0x1da07e,_0x3f4b6f){const _0x34586b=_0x5bb7a4;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x34586b(0x533));try{_0x1da07e[_0x34586b(0x479)]===_0x45d469[_0x34586b(0x1b5)]&&(this[_0x34586b(0x24e)](),this[_0x34586b(0x51c)](_0x1da07e)),this['_socket'][_0x34586b(0x45a)]({'cmd':W[_0x34586b(0x200)],'routeKey':_0x3f4b6f,'routeType':'','data':_0x1da07e});}catch(_0x53d4b5){this[_0x34586b(0x26e)][_0x34586b(0x17b)](_0x53d4b5);}}[_0x5bb7a4(0x24e)](){const _0xb2f595=_0x5bb7a4;var _0x4caac5;this['_collaborationTimeoutTimer']=window[_0xb2f595(0x273)](()=>{const _0x62e03=_0xb2f595;this[_0x62e03(0x301)]=null,this['_messageService'][_0x62e03(0x18e)]({'type':_0x3417d7['Error'],'content':this[_0x62e03(0x4ab)]['t'](_0x62e03(0x3e8))});},(_0x4caac5=this[_0xb2f595(0x23e)]['getConfig'](bi))!=null?_0x4caac5:Ti);}[_0x5bb7a4(0x42a)](){const _0x4cadcd=_0x5bb7a4;this[_0x4cadcd(0x301)]&&(clearTimeout(this[_0x4cadcd(0x301)]),this[_0x4cadcd(0x301)]=null);}[_0x5bb7a4(0x51c)](_0x488b6c){const _0x477b73=_0x5bb7a4;if(!this[_0x477b73(0x512)])return;const {data:_0x2eae5a}=_0x488b6c,{unitID:_0x253247,changeset:_0x4232be}=_0x2eae5a,{mutations:_0x18bc7b,type:_0x4e9058}=_0x4232be;this['_telemetryInfo']={'unitId':_0x253247,'type':_0x4e9058,'startTime':performance[_0x477b73(0x3d2)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x18bc7b)};}[_0x5bb7a4(0x32e)](){const _0x93b3c9=_0x5bb7a4;if(this[_0x93b3c9(0x512)]){if(!this[_0x93b3c9(0x1b1)]){this['_logService'][_0x93b3c9(0x17b)](_0x93b3c9(0x424),_0x93b3c9(0x377));return;}this[_0x93b3c9(0x1b1)][_0x93b3c9(0x25b)]=performance[_0x93b3c9(0x3d2)](),this['_telemetryInfo'][_0x93b3c9(0x286)]=this[_0x93b3c9(0x1b1)][_0x93b3c9(0x25b)]-this[_0x93b3c9(0x1b1)][_0x93b3c9(0x22c)],this['_telemetryService'][_0x93b3c9(0x22f)](Nr,this[_0x93b3c9(0x1b1)]),this[_0x93b3c9(0x1b1)]=null;}}[_0x5bb7a4(0x3f0)](){const _0x7998b5=_0x5bb7a4;this[_0x7998b5(0x1b1)]=null;}};ts=Br([Ee(0x2,_0x3efec9),Ee(0x3,_0x3e0747),Ee(0x4,_0x38087f),Ee(0x5,_0x2bb536),Ee(0x6,_0x22a3e1(_0x1fdc1b)),Ee(0x7,_0x22a3e1(Ne)),Ee(0x8,_0x22a3e1(wi)),Ee(0x9,_0x4f55bd(_0x1b6586))],ts);var kr=Object[_0x5bb7a4(0x42b)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x49ca9f,_0x303c04,_0x17328e,_0x2bedb6)=>{const _0x56e0dd=_0x5bb7a4;for(var _0x24b59e=_0x2bedb6>0x1?void 0x0:_0x2bedb6?Wr(_0x303c04,_0x17328e):_0x303c04,_0x12d93e=_0x49ca9f[_0x56e0dd(0x282)]-0x1,_0x22e60c;_0x12d93e>=0x0;_0x12d93e--)(_0x22e60c=_0x49ca9f[_0x12d93e])&&(_0x24b59e=(_0x2bedb6?_0x22e60c(_0x303c04,_0x17328e,_0x24b59e):_0x22e60c(_0x24b59e))||_0x24b59e);return _0x2bedb6&&_0x24b59e&&kr(_0x303c04,_0x17328e,_0x24b59e),_0x24b59e;},je=(_0x8540b2,_0x3bd3c9)=>(_0x13305f,_0x5a6791)=>_0x3bd3c9(_0x13305f,_0x5a6791,_0x8540b2);let Ae=class extends _0x1caa36{constructor(_0x872892,_0x3f660e,_0x470a38,_0x1c35bb,_0x3fbfa8,_0x4392f7){const _0x52c720=_0x5bb7a4;super(),g(this,_0x52c720(0x27d),new _0x348a88(void 0x0)),g(this,_0x52c720(0x1ad),this[_0x52c720(0x27d)]['asObservable']()),g(this,_0x52c720(0x553),null),g(this,_0x52c720(0x446),new Map()),g(this,_0x52c720(0x281),new _0x348a88(ve[_0x52c720(0x444)])),g(this,_0x52c720(0x1ba),this[_0x52c720(0x281)][_0x52c720(0x1a6)]()),g(this,_0x52c720(0x33d),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x52c720(0x24b),0x0),g(this,_0x52c720(0x1d3)),g(this,_0x52c720(0x239)),(this['_injector']=_0x872892,this[_0x52c720(0x4ab)]=_0x3f660e,this[_0x52c720(0x2a2)]=_0x470a38,this[_0x52c720(0x26e)]=_0x1c35bb,this['_configService']=_0x3fbfa8,this['_socketService']=_0x4392f7,this[_0x52c720(0x20a)]());}get[_0x5bb7a4(0x323)](){return this['_socket$']['getValue']();}[_0x5bb7a4(0x20a)](){const _0x4f2913=_0x5bb7a4;this['_listenToOfflineEvent'](),this[_0x4f2913(0x1af)]();}[_0x5bb7a4(0x4d2)](){const _0x575502=_0x5bb7a4;super['dispose'](),this[_0x575502(0x446)][_0x575502(0x312)](_0x5abe7d=>_0x5abe7d[_0x575502(0x4d2)]()),this['_sessions'][_0x575502(0x395)](),this[_0x575502(0x281)][_0x575502(0x313)]();}async['requireSession'](_0x271f7b){const _0x33c085=_0x5bb7a4;if(this[_0x33c085(0x446)][_0x33c085(0x2e6)](_0x271f7b))return this[_0x33c085(0x446)][_0x33c085(0x4f7)](_0x271f7b);this['_tryEnsureSocket']();const _0x45b18f=this[_0x33c085(0x338)]['createInstance'](ts,_0x271f7b,this[_0x33c085(0x27d)][_0x33c085(0x1a6)]());return this[_0x33c085(0x446)][_0x33c085(0x441)](_0x271f7b,_0x45b18f),_0x45b18f;}[_0x5bb7a4(0x165)](_0x5d3450){const _0x265746=_0x5bb7a4;var _0x811c8e;const _0x52c9b4=this[_0x265746(0x446)][_0x265746(0x4f7)](_0x5d3450);_0x52c9b4&&(this['_sessions']['delete'](_0x5d3450),_0x52c9b4[_0x265746(0x27a)]()),this[_0x265746(0x446)]['size']||(_0x811c8e=this['_socket'])==null||_0x811c8e[_0x265746(0x27a)]();}['reconnect'](){const _0x958ae6=_0x5bb7a4;this[_0x958ae6(0x24b)]=0x0,this[_0x958ae6(0x279)]!=null&&(clearTimeout(this[_0x958ae6(0x279)]),this[_0x958ae6(0x279)]=null),this[_0x958ae6(0x280)]();}[_0x5bb7a4(0x218)](){const _0x5a75f2=_0x5bb7a4;var _0x105158,_0x23d12f;const _0x210852=this[_0x5a75f2(0x23e)][_0x5a75f2(0x447)](ur),_0x48e8c6=this[_0x5a75f2(0x23e)][_0x5a75f2(0x447)](ie),_0x45a566=(_0x23d12f=(_0x105158=_0x48e8c6==null?void 0x0:_0x48e8c6[_0x5a75f2(0x56c)])!=null?_0x105158:_0x210852)!=null?_0x23d12f:dr,_0x5c0b89=this[_0x5a75f2(0x19e)][_0x5a75f2(0x343)](_0x45a566);return this[_0x5a75f2(0x553)]=_0x5c0b89,_0x5c0b89;}[_0x5bb7a4(0x1e2)](){const _0x320533=_0x5bb7a4;var _0x2c0234,_0x240689;try{const _0x46b346=(_0x240689=(_0x2c0234=this[_0x320533(0x323)])!=null?_0x2c0234:this['_candidateSocket'])!=null?_0x240689:this[_0x320533(0x218)]();if(_0x46b346){const _0x38af31=_0x46b346[_0x320533(0x45a)];_0x46b346[_0x320533(0x45a)]=_0x3b4638=>(this[_0x320533(0x20d)](),_0x38af31['apply'](_0x46b346,[_0x3b4638])),_0x46b346[_0x320533(0x35f)][_0x320533(0x519)](_0x284c32=>this[_0x320533(0x2f0)](_0x46b346,_0x284c32)),_0x46b346['error$']['pipe'](_0x4b07d5(0x1))['subscribe'](_0x22ea0b=>this[_0x320533(0x26e)][_0x320533(0x17b)](_0x320533(0x528),_0x22ea0b)),_0x46b346[_0x320533(0x3eb)][_0x320533(0x3f1)](_0x4b07d5(0x1))[_0x320533(0x519)](()=>{const _0x59db01=_0x320533;this[_0x59db01(0x3e0)](_0x46b346);}),_0x46b346[_0x320533(0x339)][_0x320533(0x3f1)](_0x4b07d5(0x1))['subscribe'](_0x48044a=>{const _0x1cbae5=_0x320533;this['_logService']['debug'](_0x1cbae5(0x358),_0x1cbae5(0x425),_0x48044a),this[_0x1cbae5(0x1ef)]();});}}catch(_0x1ff35a){this['_logService'][_0x320533(0x17b)](_0x1ff35a),this[_0x320533(0x1ef)]();}}[_0x5bb7a4(0x3e0)](_0x530472){const _0x54c0f5=_0x5bb7a4;this['_logService'][_0x54c0f5(0x23c)](_0x54c0f5(0x358),_0x54c0f5(0x3bd)),_0x530472['send']({'cmd':W[_0x54c0f5(0x183)]}),this[_0x54c0f5(0x20d)]();}['_listenToOfflineEvent'](){const _0x494d0c=_0x5bb7a4;window['addEventListener'](_0x494d0c(0x4ed),()=>this[_0x494d0c(0x4b6)]());}[_0x5bb7a4(0x4b6)](){const _0x259b59=_0x5bb7a4;this[_0x259b59(0x33d)]=!0x1,this['_candidateSocket']=null,this[_0x259b59(0x281)]['next'](ve['OFFLINE']),this['_socket$'][_0x259b59(0x3ff)](null),this[_0x259b59(0x344)](),this[_0x259b59(0x296)]();}[_0x5bb7a4(0x1ef)](){const _0x52d390=_0x5bb7a4;var _0x4478e8;this[_0x52d390(0x4b6)](),this['_retryCount']<((_0x4478e8=this[_0x52d390(0x23e)][_0x52d390(0x447)](pr))!=null?_0x4478e8:gr)?(this['_messageService'][_0x52d390(0x18e)]({'key':'collaboration-session-retry','type':_0x3417d7[_0x52d390(0x2ad)],'content':this[_0x52d390(0x4ab)]['t'](_0x52d390(0x4a8))}),this[_0x52d390(0x280)]()):this['_messageService'][_0x52d390(0x18e)]({'key':_0x52d390(0x482),'type':_0x3417d7[_0x52d390(0x3cb)],'content':this[_0x52d390(0x4ab)]['t'](_0x52d390(0x46e))});}['_listenToOnlineEvent'](){const _0x37d8dd=_0x5bb7a4,_0x215f85=()=>{const _0x2f840d=_0x4081;this[_0x2f840d(0x323)]||this[_0x2f840d(0x328)]();},_0x22f093=()=>{const _0x1dc8d9=_0x4081;this[_0x1dc8d9(0x323)]||document[_0x1dc8d9(0x47b)]===_0x1dc8d9(0x2a8)||this['reconnect']();};window[_0x37d8dd(0x2ab)]('online',_0x215f85),document[_0x37d8dd(0x2ab)](_0x37d8dd(0x1f1),_0x22f093);}['_tryReconnect'](){const _0x54ae29=_0x5bb7a4;var _0x1c523d;const _0x5485fe=this[_0x54ae29(0x24b)],_0x68232a=this['_configService'][_0x54ae29(0x447)](ie),_0x410898=_0x5485fe===0x0?0x0:((_0x1c523d=_0x68232a==null?void 0x0:_0x68232a[_0x54ae29(0x306)])!=null?_0x1c523d:mr)*0x2**_0x5485fe;this[_0x54ae29(0x279)]=window['setTimeout'](()=>{const _0x3edfe7=_0x54ae29;clearTimeout(this[_0x3edfe7(0x279)]),this[_0x3edfe7(0x279)]=null,this['_tryEnsureSocket']();},_0x410898),this[_0x54ae29(0x24b)]+=0x1;}[_0x5bb7a4(0x2f0)](_0x41cf33,_0x4539b1){const _0xcb3279=_0x5bb7a4,{cmd:_0xa1399a}=_0x4539b1;_0xa1399a===W[_0xcb3279(0x183)]&&!this['_socketReady']&&(_0x41cf33[_0xcb3279(0x2a3)]=_0x4539b1[_0xcb3279(0x2d5)][_0xcb3279(0x2a3)],this['_socket$'][_0xcb3279(0x3ff)](_0x41cf33),this[_0xcb3279(0x281)][_0xcb3279(0x3ff)](ve['ONLINE']),this[_0xcb3279(0x33d)]=!0x0,this[_0xcb3279(0x553)]=null),_0xa1399a===W['HEARTBEAT']&&this[_0xcb3279(0x344)](),this['_rescheduleHeartbeat']();}[_0x5bb7a4(0x20d)](){const _0x9ea9a5=_0x5bb7a4;var _0x565efe;this[_0x9ea9a5(0x296)](),this['_sendHeartbeatTimer']=window[_0x9ea9a5(0x273)](()=>this[_0x9ea9a5(0x2e0)](),(_0x565efe=this[_0x9ea9a5(0x23e)][_0x9ea9a5(0x447)](fr))!=null?_0x565efe:vr);}[_0x5bb7a4(0x2e0)](){const _0x3f47ab=_0x5bb7a4;this['_socket'][_0x3f47ab(0x45a)]({'cmd':W['HEARTBEAT']}),this[_0x3f47ab(0x1a9)]();}[_0x5bb7a4(0x1a9)](){const _0x3de223=_0x5bb7a4;var _0x52a84c;this[_0x3de223(0x239)]=window[_0x3de223(0x273)](()=>this[_0x3de223(0x1ef)](),(_0x52a84c=this[_0x3de223(0x23e)][_0x3de223(0x447)](bi))!=null?_0x52a84c:Ti);}[_0x5bb7a4(0x296)](){const _0x103a15=_0x5bb7a4;this[_0x103a15(0x1d3)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x5bb7a4(0x344)](){const _0x57554c=_0x5bb7a4;this[_0x57554c(0x239)]!=null&&(clearTimeout(this[_0x57554c(0x239)]),this[_0x57554c(0x239)]=null);}};Ae=Fr([je(0x0,_0x22a3e1(_0x4c5160)),je(0x1,_0x22a3e1(_0x1fdc1b)),je(0x2,_0x38087f),je(0x3,_0x3efec9),je(0x4,_0x2bb536),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x5bb7a4(0x433)]((i+0x100)[_0x5bb7a4(0x2e5)](0x10)[_0x5bb7a4(0x3e2)](0x1));function Vr(_0x165e12,_0x5805ca=0x0){const _0x189db9=_0x5bb7a4;return(Y[_0x165e12[_0x5805ca+0x0]]+Y[_0x165e12[_0x5805ca+0x1]]+Y[_0x165e12[_0x5805ca+0x2]]+Y[_0x165e12[_0x5805ca+0x3]]+'-'+Y[_0x165e12[_0x5805ca+0x4]]+Y[_0x165e12[_0x5805ca+0x5]]+'-'+Y[_0x165e12[_0x5805ca+0x6]]+Y[_0x165e12[_0x5805ca+0x7]]+'-'+Y[_0x165e12[_0x5805ca+0x8]]+Y[_0x165e12[_0x5805ca+0x9]]+'-'+Y[_0x165e12[_0x5805ca+0xa]]+Y[_0x165e12[_0x5805ca+0xb]]+Y[_0x165e12[_0x5805ca+0xc]]+Y[_0x165e12[_0x5805ca+0xd]]+Y[_0x165e12[_0x5805ca+0xe]]+Y[_0x165e12[_0x5805ca+0xf]])[_0x189db9(0x163)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x52dc0b=_0x5bb7a4;if(!Nt){if(typeof crypto>'u'||!crypto[_0x52dc0b(0x342)])throw new Error(_0x52dc0b(0x39e));Nt=crypto[_0x52dc0b(0x342)]['bind'](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x5bb7a4(0x3ef)](crypto),js={'randomUUID':Kr};function zr(_0x3e344f,_0x2f2b14,_0x52a307){const _0x5e4eae=_0x5bb7a4;if(js[_0x5e4eae(0x335)]&&!_0x2f2b14&&!_0x3e344f)return js[_0x5e4eae(0x335)]();_0x3e344f=_0x3e344f||{};const _0x33e9d1=_0x3e344f[_0x5e4eae(0x453)]||(_0x3e344f[_0x5e4eae(0x2e1)]||Yr)();return _0x33e9d1[0x6]=_0x33e9d1[0x6]&0xf|0x40,_0x33e9d1[0x8]=_0x33e9d1[0x8]&0x3f|0x80,Vr(_0x33e9d1);}var qr=Object['defineProperty'],Xr=Object[_0x5bb7a4(0x4e4)],Jr=(_0x37e58d,_0x16ee5a,_0x2c5d8b,_0x3ea139)=>{const _0x34035e=_0x5bb7a4;for(var _0x4c1fd3=_0x3ea139>0x1?void 0x0:_0x3ea139?Xr(_0x16ee5a,_0x2c5d8b):_0x16ee5a,_0x99d74d=_0x37e58d[_0x34035e(0x282)]-0x1,_0x215e77;_0x99d74d>=0x0;_0x99d74d--)(_0x215e77=_0x37e58d[_0x99d74d])&&(_0x4c1fd3=(_0x3ea139?_0x215e77(_0x16ee5a,_0x2c5d8b,_0x4c1fd3):_0x215e77(_0x4c1fd3))||_0x4c1fd3);return _0x3ea139&&_0x4c1fd3&&qr(_0x16ee5a,_0x2c5d8b,_0x4c1fd3),_0x4c1fd3;},At=(_0x185651,_0xa4d28)=>(_0x3e906d,_0x5784f0)=>_0xa4d28(_0x3e906d,_0x5784f0,_0x185651);let ft=class{constructor(_0x5d79f2,_0x20e8aa,_0x477005){const _0x26cdf1=_0x5bb7a4;this[_0x26cdf1(0x338)]=_0x5d79f2,this[_0x26cdf1(0x1c5)]=_0x20e8aa,this[_0x26cdf1(0x262)]=_0x477005;}['transformIMECache'](_0x9d1624){const _0x20cc54=_0x5bb7a4;this['_transformUndoRedoStack'](_0x9d1624),this[_0x20cc54(0x1d9)](_0x9d1624);}['transformRemoteChangeset'](_0x23f3bf){const _0x3a6777=_0x5bb7a4,{unitID:_0x4bdd38}=_0x23f3bf,_0x380cc9=this[_0x3a6777(0x262)][_0x3a6777(0x177)](_0x4bdd38)[_0x3a6777(0x47c)](_0x4a315f),{redoCache:_0x2c2687}=_0x380cc9[_0x3a6777(0x222)]();if(_0x2c2687[_0x3a6777(0x282)]===0x0)return _0x23f3bf;let _0x1fbfe0=_0x41d014[_0x3a6777(0x1d2)](_0x23f3bf[_0x3a6777(0x47f)][0x0]);for(let _0x3a297a=0x0;_0x3a297a<_0x2c2687[_0x3a6777(0x282)];_0x3a297a++){const _0x1aec67={'id':_0x3a6777(0x557),'params':{..._0x2c2687[_0x3a297a]}},_0x4d467c=this[_0x3a6777(0x1c5)][_0x3a6777(0x4f0)](_0x1fbfe0,_0x1aec67,!0x1);if(_0x35b5b8(_0x4d467c))throw _0x4d467c[_0x3a6777(0x17b)];_0x1fbfe0=_0x4d467c[_0x3a6777(0x40a)];}return{..._0x41d014['deepClone'](_0x23f3bf),'mutations':[_0x1fbfe0]};}[_0x5bb7a4(0x1a4)](_0x396b6b){const _0x5e7f68=_0x5bb7a4,{unitID:_0x58840e}=_0x396b6b,_0x172e6a=this['_renderManagerService'][_0x5e7f68(0x177)](_0x58840e)['with'](_0x4a315f),{undoCache:_0x4d517b,redoCache:_0x1b1c91}=_0x172e6a[_0x5e7f68(0x222)]();if(_0x4d517b[_0x5e7f68(0x282)]===0x0||_0x1b1c91['length']===0x0)return;const _0xe93a36=[],_0x5efcee=[];let _0x458b92=_0x41d014[_0x5e7f68(0x1d2)](_0x396b6b['mutations'][0x0]),_0x1d9cd0=_0x41d014[_0x5e7f68(0x1d2)](_0x396b6b['mutations'][0x0]);for(let _0x8edd88=_0x4d517b['length']-0x1;_0x8edd88>=0x0;_0x8edd88--){const _0xfb9827={'id':_0x5e7f68(0x557),'params':{..._0x4d517b[_0x8edd88]}},_0x1ca1b2={'id':_0x5e7f68(0x557),'params':{..._0x1b1c91[_0x8edd88]}},_0x36c076=this[_0x5e7f68(0x1c5)][_0x5e7f68(0x4f0)](_0x458b92,_0xfb9827,!0x1),_0x5c1669=this[_0x5e7f68(0x1c5)][_0x5e7f68(0x4f0)](_0x1d9cd0,_0x1ca1b2,!0x1);if(_0x35b5b8(_0x36c076))throw _0x36c076['error'];if(_0x35b5b8(_0x5c1669))throw _0x5c1669[_0x5e7f68(0x17b)];_0xe93a36[_0x5e7f68(0x32b)](_0x36c076[_0x5e7f68(0x4d6)]['params']),_0x5efcee[_0x5e7f68(0x32b)](_0x5c1669[_0x5e7f68(0x4d6)]['params']),_0x458b92=_0x36c076[_0x5e7f68(0x40a)],_0x1d9cd0=_0x5c1669[_0x5e7f68(0x40a)];}_0x172e6a['setUndoRedoMutationParamsCache']({'undoCache':_0xe93a36,'redoCache':_0x5efcee});}[_0x5bb7a4(0x1d9)](_0x161188){const _0x5179b0=_0x5bb7a4,{unitID:_0x78b57b}=_0x161188,_0x24fba6=this['_renderManagerService']['getRenderById'](_0x78b57b)[_0x5179b0(0x47c)](_0x4a315f),_0x23fc7c=_0x24fba6[_0x5179b0(0x341)]();if(_0x23fc7c==null)return;const _0x54ba53=[{'id':_0x5179b0(0x557),'params':{'unitId':_0x161188[_0x5179b0(0x4c4)],'actions':null,'textRanges':[_0x23fc7c]}}],_0x553464=this[_0x5179b0(0x1c5)]['transformMutationsWithChangeset'](_0x161188,_0x54ba53);if(!_0x5f43ea(_0x553464))throw _0x553464['error'];const _0x3b9ad3=_0x553464[_0x5179b0(0x4d6)][0x0][_0x5179b0(0x3d9)]['textRanges'];Array[_0x5179b0(0x2f4)](_0x3b9ad3)&&_0x3b9ad3[_0x5179b0(0x282)]&&_0x24fba6[_0x5179b0(0x2b6)](_0x3b9ad3[0x0]);}};ft=Jr([At(0x0,_0x22a3e1(_0x4c5160)),At(0x1,_0x2db4c4),At(0x2,_0x31d8f9)],ft);var Zr=Object[_0x5bb7a4(0x42b)],Qr=Object[_0x5bb7a4(0x4e4)],eo=(_0x1415a8,_0x566779,_0x301e25,_0x26a44f)=>{const _0x2d4861=_0x5bb7a4;for(var _0x157122=_0x26a44f>0x1?void 0x0:_0x26a44f?Qr(_0x566779,_0x301e25):_0x566779,_0x5a585c=_0x1415a8[_0x2d4861(0x282)]-0x1,_0x37826c;_0x5a585c>=0x0;_0x5a585c--)(_0x37826c=_0x1415a8[_0x5a585c])&&(_0x157122=(_0x26a44f?_0x37826c(_0x566779,_0x301e25,_0x157122):_0x37826c(_0x157122))||_0x157122);return _0x26a44f&&_0x157122&&Zr(_0x566779,_0x301e25,_0x157122),_0x157122;},Xe=(_0x24928f,_0x47d195)=>(_0x30d281,_0x41dbc6)=>_0x47d195(_0x30d281,_0x41dbc6,_0x24928f);let q=class extends _0x1caa36{constructor(_0xdf690c,_0x84f84d,_0x37f2f1,_0x2067bc,_0x2e91ec){const _0x535338=_0x5bb7a4;super(),g(this,_0x535338(0x36a),new Map()),g(this,_0x535338(0x2f2),new Map()),g(this,_0x535338(0x318),!0x1),(this[_0x535338(0x23e)]=_0xdf690c,this[_0x535338(0x27f)]=_0x84f84d,this['_beforeCloseService']=_0x37f2f1,this['_localeService']=_0x2067bc,this['_revisionService']=_0x2e91ec,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x5bb7a4(0x3ca)](){this['_disabled']=!0x1;}[_0x5bb7a4(0x4d2)](){const _0x4b4066=_0x5bb7a4;this[_0x4b4066(0x550)]()[_0x4b4066(0x40e)](()=>super[_0x4b4066(0x4d2)]());}async['loadOfflineData'](_0x341984){const _0x558e66=_0x5bb7a4;return this[_0x558e66(0x318)]?null:this[_0x558e66(0x27f)][_0x558e66(0x400)](Bs(_0x341984));}async[_0x5bb7a4(0x16a)](_0x1cd4e5,_0x1bb653){const _0x4bb3df=_0x5bb7a4;return!!this[_0x4bb3df(0x27f)]['setItem'](_0x1cd4e5,_0x1bb653);}[_0x5bb7a4(0x21f)](_0x4647fa,_0x44a4f7,_0x30e7b7,_0x10ef7f){const _0x594952=_0x5bb7a4,_0x2fac64=this[_0x594952(0x54c)][_0x594952(0x3f5)](_0x4647fa);this[_0x594952(0x36a)][_0x594952(0x441)](_0x4647fa,{'unitID':_0x4647fa,'type':_0x44a4f7,'awaitingChangeset':_0x30e7b7,'mutations':_0x10ef7f,'rev':_0x2fac64}),this[_0x594952(0x2f2)][_0x594952(0x2e6)](_0x4647fa)||this['_scheduleSaving'](_0x4647fa);}[_0x5bb7a4(0x576)](_0x144e0c){const _0x10d236=_0x5bb7a4,_0x492f2f=this[_0x10d236(0x2ef)]();_0x492f2f===0x0?this[_0x10d236(0x3a2)](_0x144e0c):this[_0x10d236(0x2f2)][_0x10d236(0x441)](_0x144e0c,setTimeout(()=>this[_0x10d236(0x3a2)](_0x144e0c),_0x492f2f));}[_0x5bb7a4(0x2ef)](){const _0x2a567d=_0x5bb7a4;var _0x57fb1d;return(_0x57fb1d=this[_0x2a567d(0x23e)][_0x2a567d(0x447)](Sr))!=null?_0x57fb1d:Ir;}[_0x5bb7a4(0x3a2)](_0xf9d184){const _0x1b9cae=_0x5bb7a4,_0x50d843=this[_0x1b9cae(0x2f2)][_0x1b9cae(0x4f7)](_0xf9d184);return _0x50d843!==void 0x0&&window['clearTimeout'](_0x50d843),this['_localStorageService'][_0x1b9cae(0x411)](Bs(_0xf9d184),this[_0x1b9cae(0x36a)][_0x1b9cae(0x4f7)](_0xf9d184))[_0x1b9cae(0x40e)](()=>this[_0x1b9cae(0x2f2)][_0x1b9cae(0x3d8)](_0xf9d184));}async[_0x5bb7a4(0x550)](){const _0x592891=_0x5bb7a4,_0x3c6052=[];this[_0x592891(0x2f2)]['forEach']((_0x30afc7,_0x4e4298)=>{const _0x13be5e=_0x592891;window['clearTimeout'](_0x30afc7),_0x3c6052[_0x13be5e(0x433)](this['_saveCache'](_0x4e4298)[_0x13be5e(0x40e)](()=>{const _0x23f3c1=_0x13be5e;this[_0x23f3c1(0x2f2)][_0x23f3c1(0x3d8)](_0x4e4298);}));}),await Promise[_0x592891(0x231)](_0x3c6052);}[_0x5bb7a4(0x4e2)](){const _0x3955c4=_0x5bb7a4;this[_0x3955c4(0x368)](this[_0x3955c4(0x414)]['registerBeforeClose'](()=>{const _0x1bf112=_0x3955c4;if(this['_saveTaskMap'][_0x1bf112(0x35a)])return this[_0x1bf112(0x4ab)]['t'](_0x1bf112(0x17c));}));}};q=eo([Xe(0x0,_0x2bb536),Xe(0x1,_0x21f678),Xe(0x2,_0x3e0747),Xe(0x3,_0x22a3e1(_0x1fdc1b)),Xe(0x4,_0x22a3e1(_0x25150b))],q);function Bs(_0x259c3d){const _0x3648b6=_0x5bb7a4;return _0x3648b6(0x1ce)+_0x259c3d;}var to=Object[_0x5bb7a4(0x42b)],so=Object[_0x5bb7a4(0x4e4)],io=(_0x4a9d00,_0x3f95b7,_0xc67a32,_0x7e6241)=>{const _0x255234=_0x5bb7a4;for(var _0x1ced74=_0x7e6241>0x1?void 0x0:_0x7e6241?so(_0x3f95b7,_0xc67a32):_0x3f95b7,_0x561c76=_0x4a9d00[_0x255234(0x282)]-0x1,_0x1021f2;_0x561c76>=0x0;_0x561c76--)(_0x1021f2=_0x4a9d00[_0x561c76])&&(_0x1ced74=(_0x7e6241?_0x1021f2(_0x3f95b7,_0xc67a32,_0x1ced74):_0x1021f2(_0x1ced74))||_0x1ced74);return _0x7e6241&&_0x1ced74&&to(_0x3f95b7,_0xc67a32,_0x1ced74),_0x1ced74;},Mt=(_0x335613,_0x1f12ef)=>(_0x30fbcb,_0x4161b0)=>_0x1f12ef(_0x30fbcb,_0x4161b0,_0x335613);function no(_0x4a6464){const _0x1c7fc1=_0x5bb7a4,{unitID:_0x536e85,mutations:_0x4864bb}=_0x4a6464;return{'unitId':_0x536e85,'subUnitId':_0x4864bb[0x0][_0x1c7fc1(0x3d9)][_0x1c7fc1(0x1c9)]};}let vt=class{constructor(_0x3177d2,_0x558287,_0x54aa83){const _0x45bcb7=_0x5bb7a4;this[_0x45bcb7(0x338)]=_0x3177d2,this['_transformService']=_0x558287,this['_instanceService']=_0x54aa83;}[_0x5bb7a4(0x1a5)](_0x4d254d){const _0x5df2dd=_0x5bb7a4;var _0x400cf8,_0x6fdd09,_0x32dc67,_0x2424db;const _0x3785e5=this['_injector'][_0x5df2dd(0x4f7)](_0x11487d),{unitId:_0x1b6ad7,subUnitId:_0x30f9a0}=no(_0x4d254d),_0x24c8f9=_0x3785e5[_0x5df2dd(0x3a3)](_0x1b6ad7)[_0x5df2dd(0x171)](),_0x205ddc=(_0x6fdd09=(_0x400cf8=this[_0x5df2dd(0x194)][_0x5df2dd(0x406)](_0x1b6ad7))==null?void 0x0:_0x400cf8[_0x5df2dd(0x475)]())==null?void 0x0:_0x6fdd09['getSheetId']();if(_0x24c8f9[_0x5df2dd(0x282)]===0x0||!_0x1b6ad7||!_0x30f9a0)return;const _0x5bb8c2=[{'id':_0x544c74['id'],'params':{'unitId':_0x1b6ad7,'subUnitId':_0x205ddc,'selections':_0x41d014[_0x5df2dd(0x1d2)](_0x24c8f9)}}],_0x3054f4=this[_0x5df2dd(0x1c5)][_0x5df2dd(0x428)](_0x4d254d,_0x5bb8c2);if(!_0x5f43ea(_0x3054f4))throw _0x3054f4[_0x5df2dd(0x17b)];const _0x46e6d0=(_0x2424db=(_0x32dc67=_0x3054f4[_0x5df2dd(0x4d6)][0x0])==null?void 0x0:_0x32dc67['params'])==null?void 0x0:_0x2424db[_0x5df2dd(0x45d)];if(Array[_0x5df2dd(0x2f4)](_0x46e6d0)&&_0x46e6d0['length']){if(_0x46e6d0[_0x5df2dd(0x282)]===_0x5bb8c2[0x0][_0x5df2dd(0x3d9)][_0x5df2dd(0x45d)]['length']&&_0x46e6d0[_0x5df2dd(0x371)]((_0x5b98e2,_0x5cad59)=>_0x49e4db[_0x5df2dd(0x485)](_0x5b98e2[_0x5df2dd(0x2da)],_0x5bb8c2[0x0][_0x5df2dd(0x3d9)][_0x5df2dd(0x45d)][_0x5cad59][_0x5df2dd(0x2da)])))return;this['_injector'][_0x5df2dd(0x4f7)](_0x1e58f0)['executeCommand'](_0x544c74['id'],{'unitId':_0x1b6ad7,'subUnitId':_0x205ddc,'selections':_0x46e6d0});}}};vt=io([Mt(0x0,_0x22a3e1(_0x4c5160)),Mt(0x1,_0x2db4c4),Mt(0x2,_0x2e0534)],vt);const Rt=_0x5ce9a5('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x2632d8=>(_0x2632d8[_0x2632d8[_0x5bb7a4(0x1ee)]=0x0]=_0x5bb7a4(0x1ee),_0x2632d8[_0x2632d8['OTHER_CLIENTS_EDITING']=0x1]=_0x5bb7a4(0x1c1),_0x2632d8))(Di||{});const ks=0x7530,Ws=_0x5bb7a4(0x22e);class ro extends _0x1caa36{constructor(){const _0x4ca5a5=_0x5bb7a4;super(),g(this,'_id',_0x41d014[_0x4ca5a5(0x4d1)]()),g(this,'_selfUnitIDs',new Set()),g(this,'_unitOnClients',new Map()),g(this,_0x4ca5a5(0x367),null),g(this,'_clearOtherTimers',new Map()),g(this,'_unitStatus',new Map()),this[_0x4ca5a5(0x515)]();}[_0x5bb7a4(0x4d2)](){const _0x1b9cfc=_0x5bb7a4;super[_0x1b9cfc(0x4d2)](),this['_clearOtherTimers']['forEach']((_0x5607ad,_0x415a54)=>this[_0x1b9cfc(0x276)](_0x415a54)),this[_0x1b9cfc(0x367)]&&window[_0x1b9cfc(0x537)](this[_0x1b9cfc(0x367)]);}['getUnitStatus$'](_0x2b3f2c){const _0x6fea81=_0x5bb7a4;return this['_ensureSubject'](_0x2b3f2c)[_0x6fea81(0x3f1)](_0x2abb77());}['editingUnit'](_0x8b6095){const _0x114b05=_0x5bb7a4;this[_0x114b05(0x257)][_0x114b05(0x35a)]===0x0&&this[_0x114b05(0x2f9)](),this[_0x114b05(0x257)]['add'](_0x8b6095),this[_0x114b05(0x1c7)]({'type':0x0,'memberID':this[_0x114b05(0x452)],'unitIDs':[_0x8b6095],'isForwarded':!0x1});}['disposeUnit'](_0x1989f9){const _0x24efdd=_0x5bb7a4;this[_0x24efdd(0x257)][_0x24efdd(0x3d8)](_0x1989f9),this[_0x24efdd(0x257)][_0x24efdd(0x35a)]===0x0&&this[_0x24efdd(0x367)]&&window[_0x24efdd(0x537)](this['_heartbeatTimer']);}['_init'](){const _0x4fb89a=_0x5bb7a4;this[_0x4fb89a(0x368)](_0x7884da(_0x565a18(window,_0x4fb89a(0x3a5))[_0x4fb89a(0x519)](_0x1b1e28=>{const _0x317661=_0x4fb89a;if(_0x1b1e28[_0x317661(0x275)]!==Ws||!_0x1b1e28['newValue'])return;const _0x2ba492=JSON[_0x317661(0x57c)](_0x1b1e28[_0x317661(0x182)]);this[_0x317661(0x3bb)](_0x2ba492);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x4fb89a(0x452)],'unitIDs':Array['from'](this[_0x4fb89a(0x257)])}));}[_0x5bb7a4(0x3bb)](_0x411ea0){const _0x55d2a2=_0x5bb7a4;switch(_0x411ea0[_0x55d2a2(0x27e)]){case 0x0:this['_handleJoinEvent'](_0x411ea0);break;case 0x1:this[_0x55d2a2(0x1b4)](_0x411ea0);break;case 0x2:this[_0x55d2a2(0x383)](_0x411ea0);break;}}[_0x5bb7a4(0x340)](_0x1795ae){const _0x2da1a9=_0x5bb7a4,{unitIDs:_0x4626a6,memberID:_0x1bf1e7,isForwarded:_0x583ddf}=_0x1795ae;_0x4626a6['forEach'](_0x337ff9=>{const _0x273ba8=_0x4081;if(!_0x583ddf&&this[_0x273ba8(0x2f6)][_0x273ba8(0x2e6)](_0x337ff9)&&this['_ensureSubject'](_0x337ff9)['next'](0x1),!this[_0x273ba8(0x2f6)]['has'](_0x337ff9)||!this[_0x273ba8(0x2f6)][_0x273ba8(0x4f7)](_0x337ff9)['has'](_0x1bf1e7)){const _0x16f3ec=this[_0x273ba8(0x2f6)][_0x273ba8(0x4f7)](_0x337ff9)||new Set();_0x16f3ec[_0x273ba8(0x570)](_0x1bf1e7),this[_0x273ba8(0x2f6)][_0x273ba8(0x441)](_0x337ff9,_0x16f3ec),this[_0x273ba8(0x4b9)](_0x1bf1e7);}}),_0x583ddf||this[_0x2da1a9(0x1c7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2da1a9(0x257)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3a9414){const _0x58548f=_0x5bb7a4;this[_0x58548f(0x276)](_0x3a9414);const _0x4f5c91=window[_0x58548f(0x273)](()=>{const _0x1e234a=_0x58548f;this[_0x1e234a(0x2f6)][_0x1e234a(0x312)](_0x3a29f3=>{const _0xfdfbee=_0x1e234a;_0x3a29f3[_0xfdfbee(0x3d8)](_0x3a9414);});},ks*0x2);this[_0x58548f(0x355)]['set'](_0x3a9414,_0x4f5c91);}['_removeClearOtherTimer'](_0x3663a4){const _0x5105be=_0x5bb7a4;if(this[_0x5105be(0x355)]['has'](_0x3663a4)){const _0xa85783=this[_0x5105be(0x355)][_0x5105be(0x4f7)](_0x3663a4);_0xa85783&&window['clearTimeout'](_0xa85783),this[_0x5105be(0x355)][_0x5105be(0x441)](_0x3663a4,null);}}['_handleLeaveEvent'](_0x514da3){const _0x40a656=_0x5bb7a4,{memberID:_0x33df26,unitIDs:_0x118a30}=_0x514da3;_0x118a30[_0x40a656(0x312)](_0xe713bd=>{const _0x4ff75c=_0x40a656;var _0x13cf83;const _0x43b8dc=this[_0x4ff75c(0x2f6)][_0x4ff75c(0x4f7)](_0xe713bd);_0x43b8dc&&(_0x43b8dc[_0x4ff75c(0x3d8)](_0x33df26),(_0x13cf83=this[_0x4ff75c(0x51d)](_0xe713bd))==null||_0x13cf83[_0x4ff75c(0x3ff)](_0x43b8dc[_0x4ff75c(0x35a)]===0x0?0x0:0x1));}),this[_0x40a656(0x276)](_0x33df26);}['_handleHeartbeatEvent'](_0x2b2a5b){const _0x442df8=_0x5bb7a4;this['_scheduleClearOtherTimer'](_0x2b2a5b[_0x442df8(0x2a3)]);}[_0x5bb7a4(0x1c7)](_0x5119e0){const _0x84a86c=_0x5bb7a4;localStorage[_0x84a86c(0x411)](Ws,JSON[_0x84a86c(0x303)](_0x5119e0));}[_0x5bb7a4(0x2f9)](){const _0x4d207e=_0x5bb7a4;this[_0x4d207e(0x367)]=window[_0x4d207e(0x215)](()=>{const _0x1deb54=_0x4d207e;this[_0x1deb54(0x1c7)]({'type':0x2,'memberID':this[_0x1deb54(0x452)]});},ks);}[_0x5bb7a4(0x51d)](_0x351e5d){const _0x5305e1=_0x5bb7a4;return this[_0x5305e1(0x427)][_0x5305e1(0x2e6)](_0x351e5d)||this['_unitStatus'][_0x5305e1(0x441)](_0x351e5d,new _0x348a88(0x0)),this['_unitStatus'][_0x5305e1(0x4f7)](_0x351e5d);}}var oo=Object[_0x5bb7a4(0x42b)],ao=Object['getOwnPropertyDescriptor'],co=(_0x113839,_0x283493,_0x275afd,_0x38ae04)=>{const _0x50e246=_0x5bb7a4;for(var _0x4d26c8=_0x38ae04>0x1?void 0x0:_0x38ae04?ao(_0x283493,_0x275afd):_0x283493,_0x32ba13=_0x113839[_0x50e246(0x282)]-0x1,_0x2c1fc2;_0x32ba13>=0x0;_0x32ba13--)(_0x2c1fc2=_0x113839[_0x32ba13])&&(_0x4d26c8=(_0x38ae04?_0x2c1fc2(_0x283493,_0x275afd,_0x4d26c8):_0x2c1fc2(_0x4d26c8))||_0x4d26c8);return _0x38ae04&&_0x4d26c8&&oo(_0x283493,_0x275afd,_0x4d26c8),_0x4d26c8;},xt=(_0x28c068,_0x114171)=>(_0x2280b8,_0x2b4842)=>_0x114171(_0x2280b8,_0x2b4842,_0x28c068);let mt=class{constructor(_0x15834c,_0x1e64de,_0x433256){const _0x3d186a=_0x5bb7a4;this[_0x3d186a(0x338)]=_0x15834c,this[_0x3d186a(0x1c5)]=_0x1e64de,this['_docStateChangeManagerService']=_0x433256;}[_0x5bb7a4(0x302)](_0x2e88ef){const _0x38a62b=_0x5bb7a4;this[_0x38a62b(0x37b)](_0x2e88ef);}['transformRemoteChangeset'](_0x51599d){const _0x17b33e=_0x5bb7a4,{unitID:_0x12f027}=_0x51599d,{collaboration:_0x25bd68}=this[_0x17b33e(0x4de)][_0x17b33e(0x31a)](_0x12f027);if(_0x25bd68[_0x17b33e(0x282)]===0x0)return _0x51599d;let _0x367bb1=_0x41d014[_0x17b33e(0x1d2)](_0x51599d[_0x17b33e(0x47f)][0x0]);for(let _0x5e723f=0x0;_0x5e723f<_0x25bd68[_0x17b33e(0x282)];_0x5e723f++){const _0x245a8b={'id':_0x17b33e(0x557),'params':{'unitId':_0x25bd68[_0x5e723f][_0x17b33e(0x55d)],..._0x25bd68[_0x5e723f][_0x17b33e(0x1bf)]}},_0x208c70=this['_transformService'][_0x17b33e(0x4f0)](_0x367bb1,_0x245a8b,!0x1);if(_0x35b5b8(_0x208c70))throw _0x208c70['error'];_0x367bb1=_0x208c70[_0x17b33e(0x40a)];}return{..._0x41d014[_0x17b33e(0x1d2)](_0x51599d),'mutations':[_0x367bb1]};}[_0x5bb7a4(0x37b)](_0x4479b8){const _0x4b8aa7=_0x5bb7a4,{unitID:_0x195b9c}=_0x4479b8,{history:_0xe91dbf,collaboration:_0x58cab9}=this['_docStateChangeManagerService'][_0x4b8aa7(0x31a)](_0x195b9c);if(_0xe91dbf[_0x4b8aa7(0x282)]===0x0&&_0x58cab9[_0x4b8aa7(0x282)]===0x0)return;const _0x88a30d=[],_0x483d0c=[];let _0x509bf1=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8['mutations'][0x0]),_0x51a9d3=_0x41d014['deepClone'](_0x4479b8[_0x4b8aa7(0x47f)][0x0]);for(let _0x5b2141=_0xe91dbf[_0x4b8aa7(0x282)]-0x1;_0x5b2141>=0x0;_0x5b2141--){const _0x2be9f6={'id':_0x4b8aa7(0x557),'params':{'unitId':_0xe91dbf[_0x5b2141][_0x4b8aa7(0x55d)],..._0xe91dbf[_0x5b2141][_0x4b8aa7(0x4b1)]}},_0x2024e2={'id':_0x4b8aa7(0x557),'params':{'unitId':_0xe91dbf[_0x5b2141][_0x4b8aa7(0x55d)],..._0xe91dbf[_0x5b2141][_0x4b8aa7(0x1bf)]}},_0x3f3ffa=this[_0x4b8aa7(0x1c5)]['transformMutation'](_0x509bf1,_0x2be9f6,!0x1),_0x9769f1=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x51a9d3,_0x2024e2,!0x1);if(_0x35b5b8(_0x3f3ffa))throw _0x3f3ffa[_0x4b8aa7(0x17b)];if(_0x35b5b8(_0x9769f1))throw _0x9769f1['error'];_0x88a30d[_0x4b8aa7(0x32b)]({..._0xe91dbf[_0x5b2141],'undoState':_0x3f3ffa[_0x4b8aa7(0x4d6)]['params'],'redoState':_0x9769f1[_0x4b8aa7(0x4d6)]['params']}),_0x509bf1=_0x3f3ffa['m1Prime'],_0x51a9d3=_0x9769f1[_0x4b8aa7(0x40a)];}_0x509bf1=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8[_0x4b8aa7(0x47f)][0x0]),_0x51a9d3=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8[_0x4b8aa7(0x47f)][0x0]);for(let _0x5194d1=_0x58cab9['length']-0x1;_0x5194d1>=0x0;_0x5194d1--){const _0x1f5684={'id':_0x4b8aa7(0x557),'params':{'unitId':_0x58cab9[_0x5194d1][_0x4b8aa7(0x55d)],..._0x58cab9[_0x5194d1]['undoState']}},_0xc275a7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x58cab9[_0x5194d1][_0x4b8aa7(0x55d)],..._0x58cab9[_0x5194d1][_0x4b8aa7(0x1bf)]}},_0x1b97a3=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x509bf1,_0x1f5684,!0x1),_0x236200=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x51a9d3,_0xc275a7,!0x1);if(_0x35b5b8(_0x1b97a3))throw _0x1b97a3[_0x4b8aa7(0x17b)];if(_0x35b5b8(_0x236200))throw _0x236200['error'];_0x483d0c['unshift']({..._0x58cab9[_0x5194d1],'undoState':_0x1b97a3[_0x4b8aa7(0x4d6)][_0x4b8aa7(0x3d9)],'redoState':_0x236200[_0x4b8aa7(0x4d6)]['params']}),_0x509bf1=_0x1b97a3[_0x4b8aa7(0x40a)],_0x51a9d3=_0x236200[_0x4b8aa7(0x40a)];}this[_0x4b8aa7(0x4de)][_0x4b8aa7(0x32c)](_0x195b9c,{'history':_0x88a30d,'collaboration':_0x483d0c});}};mt=co([xt(0x0,_0x22a3e1(_0x4c5160)),xt(0x1,_0x2db4c4),xt(0x2,_0x22a3e1(_0x1b1fa1))],mt);function Pi(_0x50187b){const _0x514634=_0x5bb7a4;let _0x211ad6='';for(const _0x4e3710 of _0x50187b){const {startOffset:_0x2f6ed5,endOffset:_0x36e5d8,isActive:_0x24043b,rangeType:_0x215c58,segmentId:_0x48d285,segmentPage:_0x4e51fe}=_0x4e3710;_0x211ad6[_0x514634(0x282)]&&(_0x211ad6+=','),_0x211ad6+=_0x2f6ed5+':'+_0x36e5d8+':'+(_0x24043b?'1':'0')+':'+_0x215c58+':'+_0x48d285+':'+_0x4e51fe;}return _0x211ad6;}function ho(_0x568644){const _0x5e64b3=_0x5bb7a4,_0x564df5=_0x568644[_0x5e64b3(0x19d)](','),_0xe56c1d=[];for(const _0x11d6b9 of _0x564df5){const [_0x3eb31e,_0x62c7c4,_0x3187a,_0x2bd807,_0x22b1e1,_0x25dfeb]=_0x11d6b9[_0x5e64b3(0x19d)](':');_0xe56c1d[_0x5e64b3(0x433)]({'startOffset':Number(_0x3eb31e),'endOffset':Number(_0x62c7c4),'collapsed':_0x3eb31e===_0x62c7c4,'isActive':_0x3187a==='1','rangeType':_0x2bd807===_0x569c02[_0x5e64b3(0x211)]?_0x569c02['TEXT']:_0x569c02['RECT'],'segmentId':typeof _0x22b1e1==_0x5e64b3(0x40c)?String(_0x22b1e1):'','segmentPage':Number(_0x25dfeb!=null?_0x25dfeb:-0x1)});}return _0xe56c1d[_0x5e64b3(0x22b)](_0x117789=>_0x117789[_0x5e64b3(0x3d6)])||(_0xe56c1d[0x0][_0x5e64b3(0x3d6)]=!0x0),_0xe56c1d;}class Cs extends _0x177a9e{constructor(){const _0x2a1dff=_0x5bb7a4;super(...arguments),g(this,'_collabCursorState$',new _0x348a88(null)),g(this,_0x2a1dff(0x3e3),this[_0x2a1dff(0x480)][_0x2a1dff(0x1a6)]());}[_0x5bb7a4(0x4be)](_0x54428e){const _0x157282=_0x5bb7a4,{unitID:_0x16f811,memberID:_0x1946b7,textRanges:_0x4aa854}=_0x54428e,_0xf1c90a=Pi(_0x4aa854);if(_0xf1c90a==='')return;const _0xb9a56e={'unitID':_0x16f811,'memberID':_0x1946b7,'selection':_0xf1c90a};this[_0x157282(0x480)][_0x157282(0x3ff)](_0xb9a56e);}}var lo=Object[_0x5bb7a4(0x42b)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x55459c,_0x75ba39,_0x2de080,_0x2fa0fe)=>{const _0x13a3a1=_0x5bb7a4;for(var _0x44f906=_0x2fa0fe>0x1?void 0x0:_0x2fa0fe?_o(_0x75ba39,_0x2de080):_0x75ba39,_0xbb16=_0x55459c[_0x13a3a1(0x282)]-0x1,_0x5eb527;_0xbb16>=0x0;_0xbb16--)(_0x5eb527=_0x55459c[_0xbb16])&&(_0x44f906=(_0x2fa0fe?_0x5eb527(_0x75ba39,_0x2de080,_0x44f906):_0x5eb527(_0x44f906))||_0x44f906);return _0x2fa0fe&&_0x44f906&&lo(_0x75ba39,_0x2de080,_0x44f906),_0x44f906;},Fs=(_0x17adf6,_0x369d93)=>(_0xc17ed5,_0x5a1493)=>_0x369d93(_0xc17ed5,_0x5a1493,_0x17adf6);let pt=class{constructor(_0x120943,_0x705f1a){const _0x54007c=_0x5bb7a4;this[_0x54007c(0x338)]=_0x120943,this[_0x54007c(0x1c5)]=_0x705f1a;}[_0x5bb7a4(0x1a5)](_0x284dc0){const _0x34e9ce=_0x5bb7a4;var _0x5c9fdd;const _0x2b1cbe=this[_0x34e9ce(0x338)][_0x34e9ce(0x4f7)](_0x4ce6e6),_0x5c49b4=(_0x5c9fdd=_0x2b1cbe[_0x34e9ce(0x1c3)]())!=null?_0x5c9fdd:[];if(_0x5c49b4[_0x34e9ce(0x282)]===0x0)return;const _0x2b573a=_0x284dc0[_0x34e9ce(0x4c4)],_0x187a0a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b573a,'actions':null,'textRanges':_0x5c49b4}}],_0x7ea6f6=this['_transformService'][_0x34e9ce(0x428)](_0x284dc0,_0x187a0a);if(!_0x5f43ea(_0x7ea6f6))throw _0x7ea6f6[_0x34e9ce(0x17b)];const _0x1e81ce=_0x7ea6f6[_0x34e9ce(0x4d6)][0x0][_0x34e9ce(0x3d9)][_0x34e9ce(0x2a0)];Array[_0x34e9ce(0x2f4)](_0x1e81ce)&&_0x1e81ce[_0x34e9ce(0x282)]&&_0x2b1cbe[_0x34e9ce(0x2b5)](_0x1e81ce,{'unitId':_0x2b573a,'subUnitId':_0x2b573a},!0x1);}};pt=uo([Fs(0x0,_0x22a3e1(_0x4c5160)),Fs(0x1,_0x2db4c4)],pt);const fo=new Set([_0x2dfe93['id']]);function Vs(_0x1c67c8,_0x2c67d0,_0x46ada1,_0x43d1d8,_0x5bce87){const _0x148b45=_0x5bb7a4;var _0x234556,_0x13e3e0,_0x232e2c,_0x3ee699;const _0x66ae3d=[];for(const _0x430568 of _0x1c67c8)if(fo[_0x148b45(0x2e6)](_0x430568['id'])){if(_0x66ae3d[_0x148b45(0x282)]>0x0)break;_0x66ae3d[_0x148b45(0x433)](_0x430568);break;}else _0x66ae3d['push'](_0x430568);const _0x599c79=(_0x13e3e0=(_0x234556=_0x5bce87[_0x148b45(0x3b9)]())==null?void 0x0:_0x234556[_0x148b45(0x1e3)])!=null?_0x13e3e0:_0x148b45(0x329),_0x59d302=(_0x3ee699=(_0x232e2c=_0x5bce87['getCurrentUser']())==null?void 0x0:_0x232e2c[_0x148b45(0x2a3)])!=null?_0x3ee699:_0x148b45(0x329);return{'changeset':{'unitID':_0x2c67d0,'type':_0x32a7fd(_0x46ada1[_0x148b45(0x17f)](_0x2c67d0)),'baseRev':_0x43d1d8[_0x148b45(0x3f5)](_0x2c67d0),'revision':0x0,'userID':_0x599c79,'memberID':_0x59d302,'mutations':_0x66ae3d},'pendingMutations':_0x1c67c8[_0x148b45(0x3e2)](_0x66ae3d['length'])};}function vo(_0x300272,_0x4b0e30,_0x567380,_0x4f79bc,_0x3e5545){const _0x57d0b0=_0x5bb7a4;var _0x13740f,_0x3ec54a,_0x94178f,_0x3ef86e;const _0x5a9e7f=[_0x300272['reduce']((_0x34a7e0,_0x333702)=>{const _0x3854ed=_0x4081;var _0x34d3b8;const {id:_0x36fada}=_0x34a7e0,{id:_0x691a51,type:_0x35674a}=_0x333702,_0x7dfc7d=(_0x34d3b8=_0x34a7e0[_0x3854ed(0x3d9)])!=null?_0x34d3b8:{'actions':null},_0x325670=_0x333702[_0x3854ed(0x3d9)];if(_0x36fada&&_0x36fada!==_0x691a51)throw new Error(_0x3854ed(0x3a7)+_0x36fada+_0x3854ed(0x47d)+_0x691a51+'.');return{..._0x34a7e0,'id':_0x691a51,'type':_0x35674a,'params':{'unitId':_0x325670['unitId'],'textRanges':_0x325670[_0x3854ed(0x2a0)],'actions':_0x22592d[_0x3854ed(0x310)](_0x7dfc7d['actions'],_0x325670[_0x3854ed(0x37d)])}};},{})],_0x20093c=(_0x3ec54a=(_0x13740f=_0x3e5545['getCurrentUser']())==null?void 0x0:_0x13740f[_0x57d0b0(0x1e3)])!=null?_0x3ec54a:_0x57d0b0(0x329),_0x1a77f1=(_0x3ef86e=(_0x94178f=_0x3e5545[_0x57d0b0(0x3b9)]())==null?void 0x0:_0x94178f[_0x57d0b0(0x2a3)])!=null?_0x3ef86e:_0x57d0b0(0x329);return{'changeset':{'unitID':_0x4b0e30,'type':_0x32a7fd(_0x567380[_0x57d0b0(0x17f)](_0x4b0e30)),'baseRev':_0x4f79bc[_0x57d0b0(0x3f5)](_0x4b0e30),'revision':0x0,'userID':_0x20093c,'memberID':_0x1a77f1,'mutations':_0x5a9e7f},'pendingMutations':[]};}function Ui(_0x21d06c,_0xd49d08){const _0x3986cc=_0x5bb7a4,_0x72621f=new _0x5c726e(0x1);return setTimeout(()=>_0x72621f[_0x3986cc(0x3ff)](_0xd49d08),_0x21d06c),_0x72621f['asObservable']()['pipe'](_0x35f71d(0x1));}const mo={'id':_0x224c7f['id'],'type':_0x5bf26c[_0x5bb7a4(0x233)],'params':{}};var po=Object[_0x5bb7a4(0x42b)],go=Object[_0x5bb7a4(0x4e4)],Le=(_0x39e3d9,_0x3bab2d,_0x493e90,_0x380eef)=>{const _0x536c19=_0x5bb7a4;for(var _0x206a79=_0x380eef>0x1?void 0x0:_0x380eef?go(_0x3bab2d,_0x493e90):_0x3bab2d,_0x24da5c=_0x39e3d9[_0x536c19(0x282)]-0x1,_0xb7e8ac;_0x24da5c>=0x0;_0x24da5c--)(_0xb7e8ac=_0x39e3d9[_0x24da5c])&&(_0x206a79=(_0x380eef?_0xb7e8ac(_0x3bab2d,_0x493e90,_0x206a79):_0xb7e8ac(_0x206a79))||_0x206a79);return _0x380eef&&_0x206a79&&po(_0x3bab2d,_0x493e90,_0x206a79),_0x206a79;},A=(_0x59c37d,_0x3109bd)=>(_0x25270e,_0x1a00d4)=>_0x3109bd(_0x25270e,_0x1a00d4,_0x59c37d),J=(_0x30e597=>(_0x30e597[_0x5bb7a4(0x410)]='not_collab',_0x30e597[_0x5bb7a4(0x50e)]='synced',_0x30e597[_0x5bb7a4(0x4e8)]=_0x5bb7a4(0x28b),_0x30e597[_0x5bb7a4(0x2f3)]=_0x5bb7a4(0x31b),_0x30e597[_0x5bb7a4(0x256)]=_0x5bb7a4(0x2ca),_0x30e597[_0x5bb7a4(0x40b)]='fetch_missing',_0x30e597[_0x5bb7a4(0x287)]=_0x5bb7a4(0x438),_0x30e597[_0x5bb7a4(0x23a)]=_0x5bb7a4(0x4ed),_0x30e597))(J||{});const Ni=0xea60;class $e{constructor(_0xbedce3,_0x676562,_0x20e717,_0x42272f,_0x565360,_0x2719e8,_0x5063c9,_0x141868,_0x129906){const _0x477211=_0x5bb7a4;g(this,'_awaitingChangeset',null),g(this,'_pendingMutations',[]),(this[_0x477211(0x4c4)]=_0xbedce3,this[_0x477211(0x27e)]=_0x676562,this[_0x477211(0x29c)]=_0x565360,this[_0x477211(0x53f)]=_0x2719e8,this[_0x477211(0x4bc)]=_0x5063c9,this[_0x477211(0x54c)]=_0x141868,this[_0x477211(0x46d)]=_0x129906,this[_0x477211(0x364)]=_0x20e717,this['_pendingMutations']=_0x42272f);}['_checkMissing'](_0x4a96d0){const _0x4b5f85=_0x5bb7a4,_0xcde877=this['_revisionService'][_0x4b5f85(0x3f5)](this['unitID']);return _0x4a96d0['revision']>_0xcde877+0x1?(this['_handler'][_0x4b5f85(0x46b)]({'from':_0xcde877,'to':_0x4a96d0['revision']-0x1}),!0x0):!0x1;}[_0x5bb7a4(0x35e)](_0x567601){const _0x53cd8d=_0x5bb7a4;this[_0x53cd8d(0x4bc)]['transformUndoRedo'](this[_0x53cd8d(0x4c4)],_0x567601);}['_transformSelections'](_0x168b85){const _0x31c330=_0x5bb7a4;var _0x2c7084,_0x3a3b1f;(_0x3a3b1f=(_0x2c7084=this[_0x31c330(0x29c)])[_0x31c330(0x432)])==null||_0x3a3b1f[_0x31c330(0x1f6)](_0x2c7084,_0x168b85);}[_0x5bb7a4(0x16c)](_0x3c1eb9){const _0x35c4d7=_0x5bb7a4;var _0x3ea7df,_0x44a01f;return(_0x44a01f=(_0x3ea7df=this['_handler'])[_0x35c4d7(0x4a5)])==null?void 0x0:_0x44a01f[_0x35c4d7(0x1f6)](_0x3ea7df,_0x3c1eb9);}[_0x5bb7a4(0x242)](_0x2506ab){const _0x233fa4=_0x5bb7a4;var _0x22b4dc,_0x40cadb;return(_0x40cadb=(_0x22b4dc=this[_0x233fa4(0x29c)])[_0x233fa4(0x3e6)])==null?void 0x0:_0x40cadb[_0x233fa4(0x1f6)](_0x22b4dc,_0x2506ab);}[_0x5bb7a4(0x232)](_0x269576){const _0x259131=_0x5bb7a4;var _0x2a1c34,_0x286018,_0x1bfb99;return(_0x1bfb99=(_0x286018=(_0x2a1c34=this[_0x259131(0x29c)])[_0x259131(0x1bd)])==null?void 0x0:_0x286018['call'](_0x2a1c34,_0x269576))!=null?_0x1bfb99:_0x269576;}[_0x5bb7a4(0x22a)](_0xed76b6){const _0x3c6223=_0x5bb7a4;var _0x387da5,_0x4b3b8e,_0x150f51;return(_0x150f51=(_0x4b3b8e=(_0x387da5=this[_0x3c6223(0x29c)])[_0x3c6223(0x25f)])==null?void 0x0:_0x4b3b8e['call'](_0x387da5,_0xed76b6))!=null?_0x150f51:_0xed76b6;}[_0x5bb7a4(0x2f5)](_0x2ba6c2){const _0xa0769d=_0x5bb7a4;var _0x4391e0,_0x35edc9;if(this['type']===ce[_0xa0769d(0x172)]){const {unitID:_0x16675d,mutations:_0x2265c4,memberID:_0x30bd6d}=_0x2ba6c2,_0x2a6593=_0x2265c4[0x0][_0xa0769d(0x3d9)][_0xa0769d(0x2a0)];Array[_0xa0769d(0x2f4)](_0x2a6593)&&_0x2a6593[_0xa0769d(0x282)]>0x0&&((_0x35edc9=(_0x4391e0=this[_0xa0769d(0x29c)])[_0xa0769d(0x559)])==null||_0x35edc9[_0xa0769d(0x1f6)](_0x4391e0,{'unitID':_0x16675d,'memberID':_0x30bd6d,'textRanges':_0x2a6593}));}}['_updateLocalCache'](){const _0x48dd55=_0x5bb7a4;this[_0x48dd55(0x46d)][_0x48dd55(0x21f)](this[_0x48dd55(0x4c4)],this['type'],this[_0x48dd55(0x364)],this[_0x48dd55(0x309)]);}[_0x5bb7a4(0x1eb)](){const _0x44555a=_0x5bb7a4;return this[_0x44555a(0x54c)][_0x44555a(0x3f5)](this[_0x44555a(0x4c4)]);}[_0x5bb7a4(0x283)](){const _0x5c3abb=_0x5bb7a4;this[_0x5c3abb(0x54c)]['incrementRevOfUnit'](this[_0x5c3abb(0x4c4)]);}[_0x5bb7a4(0x541)](_0xb19fb7){const _0x540c90=_0x5bb7a4;var _0xb84850;let _0x5967df=this[_0x540c90(0x232)](_0xb19fb7);_0x5967df=this[_0x540c90(0x22a)](_0x5967df);const _0x256187=_0x9b12cf(_0x5967df[_0x540c90(0x47f)],this[_0x540c90(0x53f)],{'fromCollab':!0x0});if(!_0x256187[_0x540c90(0x1b0)])throw _0x256187[_0x540c90(0x17b)]instanceof Error?_0x256187[_0x540c90(0x17b)]:new Error((_0xb84850=_0x256187[_0x540c90(0x17b)])!=null?_0xb84850:'[CollaborationState]:\x20apply\x20error!');this[_0x540c90(0x16c)](_0x5967df),this[_0x540c90(0x242)](_0x5967df),this[_0x540c90(0x35e)](_0xb19fb7),this[_0x540c90(0x50d)](_0x5967df),this[_0x540c90(0x2f5)](_0x5967df),this[_0x540c90(0x283)]();}}let Fe=class extends $e{constructor(_0x4f9748,_0x5d67f8,_0x176d2c,_0x1bd1f0,_0x4a1f08,_0x49f08d,_0x33f884,_0x2aa533,_0x8f02fd,_0x52ab78){const _0x3b9efe=_0x5bb7a4;super(_0x4f9748,_0x5d67f8,null,[],_0x176d2c,_0x2aa533,_0x33f884,_0x1bd1f0,_0x4a1f08),g(this,'status',_0x3b9efe(0x4b0)),(this[_0x3b9efe(0x338)]=_0x49f08d,this[_0x3b9efe(0x26e)]=_0x8f02fd,this[_0x3b9efe(0x1c5)]=_0x52ab78);}[_0x5bb7a4(0x260)](_0x3e3518){const _0x2d3401=_0x5bb7a4,_0x807bd4=this[_0x2d3401(0x338)][_0x2d3401(0x30c)](pe,this[_0x2d3401(0x4c4)],this[_0x2d3401(0x27e)],[_0x3e3518],this['_handler']);return _0x807bd4[_0x2d3401(0x422)](),_0x807bd4[_0x2d3401(0x4f4)](),_0x807bd4;}[_0x5bb7a4(0x38e)](_0x4d15dc){const _0x8953c2=_0x5bb7a4;if(this[_0x8953c2(0x547)](_0x4d15dc))return this[_0x8953c2(0x338)]['createInstance'](he,this[_0x8953c2(0x4c4)],this[_0x8953c2(0x27e)],null,[],null,[_0x4d15dc],this['_handler']);try{const _0x523e02=this['_transformService'][_0x8953c2(0x428)](_0x4d15dc,[mo]);if(_0x5f43ea(_0x523e02)){const {c1Prime:_0x294cb0}=_0x523e02;return this[_0x8953c2(0x541)](_0x294cb0),this;}throw _0x523e02['error'];}catch(_0x419c10){return this[_0x8953c2(0x26e)][_0x8953c2(0x17b)](_0x419c10),this[_0x8953c2(0x2d2)](!0x1);}}[_0x5bb7a4(0x2d2)](_0x447e87){const _0x52cf8f=_0x5bb7a4;return this[_0x52cf8f(0x338)][_0x52cf8f(0x30c)](Re,this[_0x52cf8f(0x4c4)],this[_0x52cf8f(0x27e)],null,[],this[_0x52cf8f(0x29c)],_0x447e87);}[_0x5bb7a4(0x30e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5bb7a4(0x2eb)](){const _0x139052=_0x5bb7a4;throw new Error(_0x139052(0x3b1));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x214e5b=_0x5bb7a4;return this[_0x214e5b(0x338)][_0x214e5b(0x30c)](ye,this[_0x214e5b(0x4c4)],this[_0x214e5b(0x27e)],null,[],this[_0x214e5b(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}['resend'](){const _0x17a636=_0x5bb7a4;throw new Error(_0x17a636(0x3bf));}[_0x5bb7a4(0x560)](){const _0xce9466=_0x5bb7a4,_0x49d018=this[_0xce9466(0x54c)][_0xce9466(0x3f5)](this[_0xce9466(0x4c4)]);return this[_0xce9466(0x29c)][_0xce9466(0x46b)]({'from':_0x49d018,'to':0x0}),this[_0xce9466(0x338)]['createInstance'](he,this[_0xce9466(0x4c4)],this[_0xce9466(0x27e)],null,[],null,[],this['_handler']);}};Fe=Le([A(0x3,_0x22a3e1(_0x25150b)),A(0x4,_0x22a3e1(q)),A(0x5,_0x22a3e1(_0x4c5160)),A(0x6,_0x131129),A(0x7,_0x1e58f0),A(0x8,_0x3efec9),A(0x9,_0x2db4c4)],Fe);let pe=class extends $e{constructor(_0x3edbf4,_0x4c7db8,_0xa92ce8,_0xbfe2d9,_0x2a829f,_0x5be449,_0x1f75a3,_0xe82d45,_0x5d3c79,_0xaf7289,_0x2a3df2,_0x5238ed,_0xfd9cb1,_0x6ee37d){const _0x3d02de=_0x5bb7a4;super(_0x3edbf4,_0x4c7db8,null,_0xa92ce8,_0xbfe2d9,_0xaf7289,_0x6ee37d,_0x5be449,_0x1f75a3),g(this,_0x3d02de(0x1ff),_0x3d02de(0x28b)),g(this,_0x3d02de(0x39b),null),g(this,'_sendingTimer',null),(this[_0x3d02de(0x338)]=_0x2a829f,this[_0x3d02de(0x49f)]=_0xe82d45,this['_logService']=_0x5d3c79,this[_0x3d02de(0x23e)]=_0x2a3df2,this[_0x3d02de(0x1c5)]=_0x5238ed,this[_0x3d02de(0x21d)]=_0xfd9cb1);}[_0x5bb7a4(0x260)](_0x202ec8){const _0x373919=_0x5bb7a4;return this[_0x373919(0x309)][_0x373919(0x433)](_0x202ec8),this[_0x373919(0x4f4)](),this;}['onRemoteChangeset'](_0x51a5d2){const _0x259bc5=_0x5bb7a4;if(this[_0x259bc5(0x547)](_0x51a5d2))return this[_0x259bc5(0x3c2)](),this[_0x259bc5(0x338)][_0x259bc5(0x30c)](he,this[_0x259bc5(0x4c4)],this[_0x259bc5(0x27e)],null,this[_0x259bc5(0x309)],null,[_0x51a5d2],this[_0x259bc5(0x29c)]);try{const _0x49ad71=this['_transformService'][_0x259bc5(0x428)](_0x51a5d2,this[_0x259bc5(0x309)]);if(_0x5f43ea(_0x49ad71)){const {c1Prime:_0x5ac0dd,m2Prime:_0x32d2a4}=_0x49ad71;this[_0x259bc5(0x541)](_0x5ac0dd);const _0x27caa9=this[_0x259bc5(0x338)][_0x259bc5(0x30c)](pe,this['unitID'],this[_0x259bc5(0x27e)],_0x32d2a4,this[_0x259bc5(0x29c)]);return this[_0x259bc5(0x3c2)](),_0x27caa9[_0x259bc5(0x422)](this[_0x259bc5(0x39b)]?Math['max'](0x0,new Date()[_0x259bc5(0x2c2)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x27caa9;}throw _0x49ad71['error'];}catch(_0x189a2c){return this[_0x259bc5(0x26e)][_0x259bc5(0x17b)](_0x189a2c),this[_0x259bc5(0x2d2)](!0x1);}}[_0x5bb7a4(0x30e)](){const _0x5d1f65=_0x5bb7a4;throw new Error(_0x5d1f65(0x47a));}[_0x5bb7a4(0x2eb)](){const _0x49f3f7=_0x5bb7a4;throw new Error(_0x49f3f7(0x584));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x3cf014=_0x5bb7a4;return this[_0x3cf014(0x3c2)](),this[_0x3cf014(0x338)][_0x3cf014(0x30c)](ye,this[_0x3cf014(0x4c4)],this['type'],null,this[_0x3cf014(0x309)],this[_0x3cf014(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x422)](_0x36393a){const _0x27d283=_0x5bb7a4,_0x12df44=_0x36393a!=null?_0x36393a:this[_0x27d283(0x2be)]();this[_0x27d283(0x39b)]=new Date()[_0x27d283(0x2c2)](),this['_sendingTimer']=window[_0x27d283(0x273)](()=>{const _0x156f0a=_0x27d283;this[_0x156f0a(0x3c2)]();let _0x1af267=null;switch(this['type']){case ce[_0x156f0a(0x55b)]:{_0x1af267=Vs(this[_0x156f0a(0x309)],this[_0x156f0a(0x4c4)],this['_univerInstanceService'],this['_revisionService'],this[_0x156f0a(0x49f)]);break;}case ce['UNIVER_DOC']:{this['_pendingMutations'][_0x156f0a(0x371)](_0x12cb6c=>_0x12cb6c['id']===_0x185e84['id'])?_0x1af267=vo(this['_pendingMutations'],this[_0x156f0a(0x4c4)],this[_0x156f0a(0x21d)],this[_0x156f0a(0x54c)],this[_0x156f0a(0x49f)]):_0x1af267=Vs(this[_0x156f0a(0x309)],this[_0x156f0a(0x4c4)],this[_0x156f0a(0x21d)],this[_0x156f0a(0x54c)],this[_0x156f0a(0x49f)]);break;}default:throw new Error(_0x156f0a(0x17a)+this['type']+_0x156f0a(0x1a2));}const {changeset:_0x4d4613,pendingMutations:_0x5f52ba}=_0x1af267;this[_0x156f0a(0x29c)][_0x156f0a(0x2e8)](_0x4d4613);const _0x5cd02c=_0x5f52ba['length']?this[_0x156f0a(0x338)][_0x156f0a(0x30c)](ge,this['unitID'],this[_0x156f0a(0x27e)],_0x4d4613,_0x5f52ba,this[_0x156f0a(0x29c)],void 0x0):this['_injector'][_0x156f0a(0x30c)](Te,this['unitID'],this[_0x156f0a(0x27e)],_0x4d4613,this[_0x156f0a(0x29c)]);_0x5cd02c[_0x156f0a(0x4f4)](),this[_0x156f0a(0x29c)][_0x156f0a(0x4a0)](this,_0x5cd02c);},_0x12df44);}[_0x5bb7a4(0x2be)](){const _0x5cd9f6=_0x5bb7a4;var _0x53d744;const _0x5c6e95=this[_0x5cd9f6(0x23e)]['getConfig'](ie);return(_0x53d744=_0x5c6e95==null?void 0x0:_0x5c6e95[_0x5cd9f6(0x56a)])!=null?_0x53d744:_r;}['resend'](){const _0x443163=_0x5bb7a4;throw new Error(_0x443163(0x35d));}['_clearScheduledTask'](){const _0x599304=_0x5bb7a4;this['_sendingTimer']!=null&&(clearTimeout(this[_0x599304(0x3e7)]),this['_sendingTimer']=null);}[_0x5bb7a4(0x2d2)](_0x34971f){const _0x26c8c1=_0x5bb7a4;return this[_0x26c8c1(0x3c2)](),this[_0x26c8c1(0x338)]['createInstance'](Re,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x26c8c1(0x29c)],_0x34971f);}};pe=Le([A(0x4,_0x22a3e1(_0x4c5160)),A(0x5,_0x22a3e1(_0x25150b)),A(0x6,_0x22a3e1(q)),A(0x7,_0x22a3e1(Ne)),A(0x8,_0x3efec9),A(0x9,_0x1e58f0),A(0xa,_0x2bb536),A(0xb,_0x2db4c4),A(0xc,_0x2e0534),A(0xd,_0x131129)],pe);let Te=class extends $e{constructor(_0xd7a5d,_0x377c63,_0x24771b,_0x3770a5,_0x12f163,_0x2f880a,_0x2e10bf,_0x1d8b66,_0x47c7ed,_0xdbcfb4,_0x2d7a31){const _0x3e8a7e=_0x5bb7a4;super(_0xd7a5d,_0x377c63,_0x24771b,[],_0x3770a5,_0x1d8b66,_0x2d7a31,_0x2f880a,_0x2e10bf),g(this,_0x3e8a7e(0x1ff),_0x3e8a7e(0x31b)),g(this,_0x3e8a7e(0x54d),0x0),g(this,_0x3e8a7e(0x25e)),g(this,'_sender'),(this['_injector']=_0x12f163,this['_logService']=_0x47c7ed,this[_0x3e8a7e(0x1c5)]=_0xdbcfb4);}[_0x5bb7a4(0x260)](_0x69568c){const _0x5476c3=_0x5bb7a4;this[_0x5476c3(0x3c2)]();const _0x3300d8=this[_0x5476c3(0x338)][_0x5476c3(0x30c)](ge,this[_0x5476c3(0x4c4)],this[_0x5476c3(0x27e)],this[_0x5476c3(0x364)],[_0x69568c],this['_handler'],this[_0x5476c3(0x25e)]);return _0x3300d8[_0x5476c3(0x4f4)](),_0x3300d8;}[_0x5bb7a4(0x38e)](_0x1987ea){const _0x27c8b1=_0x5bb7a4;if(this[_0x27c8b1(0x547)](_0x1987ea))return this[_0x27c8b1(0x3c2)](),this['_injector']['createInstance'](he,this[_0x27c8b1(0x4c4)],this[_0x27c8b1(0x27e)],this[_0x27c8b1(0x364)],[],null,[_0x1987ea],this[_0x27c8b1(0x29c)]);try{const _0x160807=this['_transformService']['transformChangesets']([_0x1987ea],[this['_awaitingChangeset']],!0x1);if(_0x3e05e4(_0x160807)){const {c1Prime:_0xfa7f9b,c2Prime:_0x4bf791}=_0x160807;this[_0x27c8b1(0x541)](_0xfa7f9b[0x0]),_0x4bf791[0x0][_0x27c8b1(0x2b2)]=this[_0x27c8b1(0x1eb)](),this['_clearScheduledTask']();const _0x1670c5=this[_0x27c8b1(0x338)][_0x27c8b1(0x30c)](Te,this[_0x27c8b1(0x4c4)],this['type'],_0x4bf791[0x0],this[_0x27c8b1(0x29c)]);return _0x1670c5[_0x27c8b1(0x4f4)](),_0x1670c5;}return this[_0x27c8b1(0x2d2)](!0x1);}catch(_0x2d1112){return this[_0x27c8b1(0x26e)][_0x27c8b1(0x17b)](_0x2d1112),this['_onConflict'](!0x1);}}[_0x5bb7a4(0x30e)](_0x25cf1f){const _0x40a147=_0x5bb7a4;this['_clearScheduledTask']();const _0x26dcfa=this[_0x40a147(0x54c)][_0x40a147(0x3f5)](this[_0x40a147(0x4c4)]);if(_0x25cf1f[_0x40a147(0x571)]<_0x26dcfa-0x1)return this;if(this[_0x40a147(0x547)](_0x25cf1f))return this[_0x40a147(0x338)][_0x40a147(0x30c)](he,this[_0x40a147(0x4c4)],this[_0x40a147(0x27e)],null,[],this[_0x40a147(0x364)],[],this[_0x40a147(0x29c)]);this['_incrementRevisionNumber']();const _0x31ac54=this[_0x40a147(0x338)][_0x40a147(0x30c)](Fe,this[_0x40a147(0x4c4)],this[_0x40a147(0x27e)],this[_0x40a147(0x29c)]);return _0x31ac54[_0x40a147(0x4f4)](),_0x31ac54;}['onRemoteRej'](_0x321114){const _0x2598f4=_0x5bb7a4;return this[_0x2598f4(0x2d2)](!!(_0x321114!=null&&_0x321114['isPermissionRej']));}[_0x5bb7a4(0x49a)](_0x169954){const _0x4fd35c=_0x5bb7a4;return this[_0x4fd35c(0x54d)]>Ni?this[_0x4fd35c(0x30b)]():(this[_0x4fd35c(0x25e)]=Ui(this[_0x4fd35c(0x54d)],{'timeout':this[_0x4fd35c(0x54d)],'reqId':_0x169954[_0x4fd35c(0x3f6)]}),this[_0x4fd35c(0x292)]=this['_resendTimer'][_0x4fd35c(0x519)](({reqId:_0x558d7e,timeout:_0x5e5afe})=>{const _0x91b3c8=_0x4fd35c;this[_0x91b3c8(0x30a)](_0x558d7e,_0x5e5afe);}),this);}[_0x5bb7a4(0x30b)](){const _0x40d963=_0x5bb7a4;return this[_0x40d963(0x3c2)](),this[_0x40d963(0x338)][_0x40d963(0x30c)](ye,this[_0x40d963(0x4c4)],this[_0x40d963(0x27e)],this[_0x40d963(0x364)],[],this[_0x40d963(0x29c)]);}['toggleOnline'](){return this;}[_0x5bb7a4(0x581)](){const _0x3a0387=_0x5bb7a4;this[_0x3a0387(0x29c)][_0x3a0387(0x2e8)](this['_awaitingChangeset']);}[_0x5bb7a4(0x2d2)](_0x3a1da2){const _0x24aea3=_0x5bb7a4;return this['_clearScheduledTask'](),this[_0x24aea3(0x338)]['createInstance'](Re,this[_0x24aea3(0x4c4)],this[_0x24aea3(0x27e)],this[_0x24aea3(0x364)],[],this[_0x24aea3(0x29c)],_0x3a1da2);}['_resendWithTimeout'](_0x59ff6c,_0x53e340){const _0x3f71be=_0x5bb7a4;var _0x2b0e77;_0x59ff6c===((_0x2b0e77=this[_0x3f71be(0x364)])==null?void 0x0:_0x2b0e77[_0x3f71be(0x3f6)])&&(this[_0x3f71be(0x581)](),this[_0x3f71be(0x54d)]=_0x53e340===0x0?0x3e8:_0x53e340*0x2);}['_clearScheduledTask'](){const _0x592ff3=_0x5bb7a4;var _0x4590d8;(_0x4590d8=this[_0x592ff3(0x292)])==null||_0x4590d8[_0x592ff3(0x1e1)](),this[_0x592ff3(0x54d)]=0x0;}};Te=Le([A(0x4,_0x22a3e1(_0x4c5160)),A(0x5,_0x22a3e1(_0x25150b)),A(0x6,_0x22a3e1(q)),A(0x7,_0x1e58f0),A(0x8,_0x3efec9),A(0x9,_0x2db4c4),A(0xa,_0x131129)],Te);let ge=class extends $e{constructor(_0x1efed3,_0xa8f04c,_0x78e6dc,_0x57e36d,_0x140f71,_0x33fb05,_0x4a2951,_0x29b1bc,_0x1e6dc1,_0x54b23c,_0x403e00,_0x2b4835,_0x1b1bf0){const _0x2fdb6a=_0x5bb7a4;super(_0x1efed3,_0xa8f04c,_0x78e6dc,_0x57e36d,_0x140f71,_0x54b23c,_0x1b1bf0,_0x29b1bc,_0x1e6dc1),g(this,_0x2fdb6a(0x1ff),'awaiting_with_pending'),g(this,_0x2fdb6a(0x54d),0x0),g(this,_0x2fdb6a(0x25e)),g(this,'_sender'),(this[_0x2fdb6a(0x338)]=_0x4a2951,this[_0x2fdb6a(0x26e)]=_0x403e00,this['_transformService']=_0x2b4835,_0x33fb05&&(this['_resendTimer']=_0x33fb05,this[_0x2fdb6a(0x292)]=this[_0x2fdb6a(0x25e)][_0x2fdb6a(0x519)](({reqId:_0x3c6ab7,timeout:_0x4f5e11})=>{this['_resendWithTimeout'](_0x3c6ab7,_0x4f5e11);})));}[_0x5bb7a4(0x260)](_0x301768){const _0xfe3a8b=_0x5bb7a4;return this[_0xfe3a8b(0x309)][_0xfe3a8b(0x433)](_0x301768),this;}[_0x5bb7a4(0x38e)](_0x72562c){const _0x1e74a2=_0x5bb7a4;if(this['_checkMissing'](_0x72562c))return this[_0x1e74a2(0x3c2)](),this[_0x1e74a2(0x338)][_0x1e74a2(0x30c)](he,this[_0x1e74a2(0x4c4)],this[_0x1e74a2(0x27e)],this[_0x1e74a2(0x364)],this[_0x1e74a2(0x309)],null,[_0x72562c],this[_0x1e74a2(0x29c)]);try{const _0x1d67a3=this[_0x1e74a2(0x1c5)][_0x1e74a2(0x472)]([_0x72562c],[this[_0x1e74a2(0x364)]],!0x1);if(_0x3e05e4(_0x1d67a3)){const {c1Prime:_0x14b7c6,c2Prime:_0xad3774}=_0x1d67a3,_0x3d6f1d=this[_0x1e74a2(0x1c5)][_0x1e74a2(0x428)](_0x14b7c6[0x0],this[_0x1e74a2(0x309)]);if(_0x5f43ea(_0x3d6f1d)){const {c1Prime:_0x12b664,m2Prime:_0x447a0d}=_0x3d6f1d;return this['_executeRemoteChangeset'](_0x12b664),_0xad3774[0x0][_0x1e74a2(0x2b2)]=this[_0x1e74a2(0x1eb)](),this[_0x1e74a2(0x3c2)](),this[_0x1e74a2(0x338)][_0x1e74a2(0x30c)](ge,this[_0x1e74a2(0x4c4)],this[_0x1e74a2(0x27e)],_0xad3774[0x0],_0x447a0d,this[_0x1e74a2(0x29c)],void 0x0);}throw _0x3d6f1d[_0x1e74a2(0x17b)];}throw _0x1d67a3['error'];}catch(_0x566f4f){return this[_0x1e74a2(0x26e)][_0x1e74a2(0x17b)](_0x566f4f),this['_onConflict'](!0x1);}}[_0x5bb7a4(0x30e)](_0x1eca74){const _0x35ae03=_0x5bb7a4;if(this[_0x35ae03(0x3c2)](),this[_0x35ae03(0x547)](_0x1eca74))return this[_0x35ae03(0x338)][_0x35ae03(0x30c)](he,this[_0x35ae03(0x4c4)],this['type'],null,this[_0x35ae03(0x309)],this[_0x35ae03(0x364)],[],this[_0x35ae03(0x29c)]);this[_0x35ae03(0x283)]();const _0x5bfdb6=this[_0x35ae03(0x338)][_0x35ae03(0x30c)](pe,this[_0x35ae03(0x4c4)],this[_0x35ae03(0x27e)],this[_0x35ae03(0x309)],this['_handler']);return _0x5bfdb6['_schedule'](),_0x5bfdb6[_0x35ae03(0x4f4)](),_0x5bfdb6;}[_0x5bb7a4(0x2eb)](_0x36ea21){const _0x29fbae=_0x5bb7a4;return this[_0x29fbae(0x2d2)](!!(_0x36ea21!=null&&_0x36ea21[_0x29fbae(0x28d)]));}[_0x5bb7a4(0x49a)](_0x1b1f61){const _0x248e5e=_0x5bb7a4;return this['_resendTimeout']>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this[_0x248e5e(0x54d)],{'timeout':this[_0x248e5e(0x54d)],'reqId':_0x1b1f61[_0x248e5e(0x3f6)]}),this[_0x248e5e(0x292)]=this[_0x248e5e(0x25e)][_0x248e5e(0x519)](({reqId:_0x1f925a,timeout:_0x4cc888})=>{const _0x3e9fcd=_0x248e5e;this[_0x3e9fcd(0x30a)](_0x1f925a,_0x4cc888);}),this);}[_0x5bb7a4(0x30b)](){const _0x122bd1=_0x5bb7a4;return this[_0x122bd1(0x3c2)](),this[_0x122bd1(0x338)][_0x122bd1(0x30c)](ye,this[_0x122bd1(0x4c4)],this[_0x122bd1(0x27e)],this[_0x122bd1(0x364)],this[_0x122bd1(0x309)],this['_handler']);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x581)](){const _0x3b7fcd=_0x5bb7a4;this[_0x3b7fcd(0x29c)][_0x3b7fcd(0x2e8)](this['_awaitingChangeset']);}[_0x5bb7a4(0x2d2)](_0x132ae9){const _0x50f015=_0x5bb7a4;return this['_clearScheduledTask'](),this[_0x50f015(0x338)][_0x50f015(0x30c)](Re,this['unitID'],this[_0x50f015(0x27e)],null,this[_0x50f015(0x309)],this[_0x50f015(0x29c)],_0x132ae9);}[_0x5bb7a4(0x30a)](_0x57b0a2,_0x3f0182){const _0x3350d6=_0x5bb7a4;var _0x9d4fff;_0x57b0a2===((_0x9d4fff=this['_awaitingChangeset'])==null?void 0x0:_0x9d4fff[_0x3350d6(0x3f6)])&&(this[_0x3350d6(0x581)](),this['_resendTimeout']=_0x3f0182===0x0?0x3e8:_0x3f0182*0x2);}[_0x5bb7a4(0x3c2)](){const _0x27d76d=_0x5bb7a4;var _0x650e85;(_0x650e85=this['_sender'])==null||_0x650e85[_0x27d76d(0x1e1)](),this[_0x27d76d(0x54d)]=0x0;}};ge=Le([A(0x6,_0x22a3e1(_0x4c5160)),A(0x7,_0x22a3e1(_0x25150b)),A(0x8,_0x22a3e1(q)),A(0x9,_0x1e58f0),A(0xa,_0x3efec9),A(0xb,_0x2db4c4),A(0xc,_0x131129)],ge);let Re=class extends $e{constructor(_0x8d974a,_0x22ab48,_0x3638ba,_0x5aece5,_0x5e3b90,_0x4bd0c7=!0x1,_0x518759,_0x466762,_0xf49c70,_0x1e5061,_0x467672,_0x5c8895,_0x3cdaa3){const _0x539ea5=_0x5bb7a4;super(_0x8d974a,_0x22ab48,_0x3638ba,_0x5aece5,_0x5e3b90,_0x466762,_0xf49c70,_0x467672,_0x1e5061),g(this,_0x539ea5(0x1ff),'conflict'),(this[_0x539ea5(0x1ec)]=_0x4bd0c7,this[_0x539ea5(0x167)]=_0x518759,this[_0x539ea5(0x4ab)]=_0x5c8895,this[_0x539ea5(0x4da)]=_0x3cdaa3,this[_0x539ea5(0x389)](),this[_0x539ea5(0x234)](),this[_0x539ea5(0x3af)]());}[_0x5bb7a4(0x260)](){return this;}['onRemoteChangeset'](){return this;}[_0x5bb7a4(0x30e)](){return this;}[_0x5bb7a4(0x2eb)](){return this;}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){return this;}[_0x5bb7a4(0x387)](){return this;}['resend'](){const _0x354ef0=_0x5bb7a4;throw new Error(_0x354ef0(0x212));}['_clearLocalCache'](){const _0x253b7a=_0x5bb7a4;this[_0x253b7a(0x46d)]['updateOfflineData'](this[_0x253b7a(0x4c4)],this[_0x253b7a(0x27e)],null,[]);}[_0x5bb7a4(0x389)](){const _0x1c1f4b=_0x5bb7a4;this[_0x1c1f4b(0x1ec)]?this[_0x1c1f4b(0x4da)]['show']({'title':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x314)),'content':this['_localeService']['t'](_0x1c1f4b(0x456)),'type':'error','duration':0x0}):this[_0x1c1f4b(0x4da)][_0x1c1f4b(0x18e)]({'title':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x393)),'content':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x34e)),'type':_0x1c1f4b(0x17b),'duration':0x0});}[_0x5bb7a4(0x3af)](){const _0x2b215a=_0x5bb7a4;this['_permissionService'][_0x2b215a(0x3fc)](new _0x272dbd(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x22a3e1(_0x59e41b)),A(0x7,_0x1e58f0),A(0x8,_0x131129),A(0x9,_0x22a3e1(q)),A(0xa,_0x22a3e1(_0x25150b)),A(0xb,_0x22a3e1(_0x1fdc1b)),A(0xc,_0x387815)],Re);let ye=class extends $e{constructor(_0x5e356e,_0xbc2114,_0x42e877,_0xb80c0,_0x5b4f23,_0x13cc31,_0x12fffc,_0x25bcff,_0x467798,_0x2cdc0b){const _0x3f1d94=_0x5bb7a4;super(_0x5e356e,_0xbc2114,_0x42e877,_0xb80c0,_0x5b4f23,_0x467798,_0x2cdc0b,_0x12fffc,_0x25bcff),g(this,'status',_0x3f1d94(0x4ed)),this['_injector']=_0x13cc31;}['appendMutation'](_0x31e539){const _0x5b284c=_0x5bb7a4;return this[_0x5b284c(0x309)]['push'](_0x31e539),this[_0x5b284c(0x4f4)](),this;}[_0x5bb7a4(0x38e)](_0xdec1b0){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x4a1ed2=_0x5bb7a4;throw new Error(_0x4a1ed2(0x4f9));}[_0x5bb7a4(0x2eb)](){const _0x1e4f56=_0x5bb7a4;throw new Error(_0x1e4f56(0x2fd));}[_0x5bb7a4(0x49a)](){return this;}[_0x5bb7a4(0x30b)](){return this;}[_0x5bb7a4(0x387)](){const _0x4104cd=_0x5bb7a4,{_injector:_0x418423,_pendingMutations:_0x47887d,_awaitingChangeset:_0xe9d61d,unitID:_0x302f6a,_handler:_0x4c5b9b,type:_0x5627b5}=this,_0x7c122e=Ai(_0x418423,_0x302f6a,_0x5627b5,_0xe9d61d,_0x47887d,_0x4c5b9b);return _0x7c122e instanceof pe?_0x7c122e[_0x4104cd(0x422)]():(_0x7c122e instanceof ge||_0x7c122e instanceof Te)&&_0x7c122e[_0x4104cd(0x581)](),_0x7c122e;}[_0x5bb7a4(0x581)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x22a3e1(_0x4c5160)),A(0x6,_0x22a3e1(_0x25150b)),A(0x7,_0x22a3e1(q)),A(0x8,_0x1e58f0),A(0x9,_0x131129)],ye);let he=class extends $e{constructor(_0x36923c,_0x4f8976,_0x195090,_0x3c7a2b,_0xc069cd,_0x38a866,_0x3f1034,_0x4db5cd,_0x1d03dd,_0x52c7c1,_0xdbc544,_0x195b54,_0x7bcfa,_0x446d75){const _0x2100fd=_0x5bb7a4;super(_0x36923c,_0x4f8976,_0x195090,_0x3c7a2b,_0x3f1034,_0x195b54,_0x7bcfa,_0x1d03dd,_0x52c7c1),g(this,'status',_0x2100fd(0x4d8)),(this[_0x2100fd(0x566)]=_0xc069cd,this[_0x2100fd(0x291)]=_0x38a866,this[_0x2100fd(0x338)]=_0x4db5cd,this[_0x2100fd(0x26e)]=_0xdbc544,this['_transformService']=_0x446d75);}[_0x5bb7a4(0x4cf)](_0x5be906){const _0x12ebe6=_0x5bb7a4;try{const _0x30a8c0=[..._0x5be906,...this[_0x12ebe6(0x291)]],_0x2f1467=[this[_0x12ebe6(0x364)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x1ab752=>!!_0x1ab752);let _0x55b5d0,_0xc57d46;if(_0x2f1467[_0x12ebe6(0x282)]){const _0x5f5ddd=this[_0x12ebe6(0x1c5)][_0x12ebe6(0x472)](_0x30a8c0,_0x2f1467,!0x1);if(!_0x3e05e4(_0x5f5ddd))throw _0x5f5ddd[_0x12ebe6(0x17b)];_0x55b5d0=_0x5f5ddd['c1Prime'],_0xc57d46=_0x5f5ddd[_0x12ebe6(0x49d)];}else _0x55b5d0=_0x30a8c0,_0xc57d46=[];let _0x23d9e8=this['_pendingMutations'];_0x55b5d0[_0x12ebe6(0x312)](_0x5a1869=>{const _0x17e6a3=_0x12ebe6;let _0x146be5;if(_0x23d9e8[_0x17e6a3(0x282)]){const _0x220a1e=this[_0x17e6a3(0x1c5)][_0x17e6a3(0x428)](_0x5a1869,_0x23d9e8);if(!_0x5f43ea(_0x220a1e))throw _0x220a1e[_0x17e6a3(0x17b)];_0x146be5=_0x220a1e[_0x17e6a3(0x4a1)],_0x23d9e8=_0x220a1e[_0x17e6a3(0x4d6)];}else _0x146be5=_0x5a1869;this[_0x17e6a3(0x541)](_0x146be5);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0xc57d46[_0x12ebe6(0x282)]&&(_0xc57d46[0x0][_0x12ebe6(0x2b2)]=this[_0x12ebe6(0x1eb)]());let _0x5b872f;if(this[_0x12ebe6(0x364)]&&_0x23d9e8[_0x12ebe6(0x282)]!==0x0)_0x5b872f=this['_injector']['createInstance'](ge,this[_0x12ebe6(0x4c4)],this[_0x12ebe6(0x27e)],_0xc57d46[0x0],_0x23d9e8,this[_0x12ebe6(0x29c)],void 0x0);else{if(this[_0x12ebe6(0x364)]&&_0x23d9e8['length']===0x0)_0xc57d46[0x0][_0x12ebe6(0x2b2)]=this[_0x12ebe6(0x1eb)](),_0x5b872f=this[_0x12ebe6(0x338)][_0x12ebe6(0x30c)](Te,this['unitID'],this['type'],_0xc57d46[0x0],this[_0x12ebe6(0x29c)]);else{if(_0x23d9e8[_0x12ebe6(0x282)]!==0x0){const _0x3ea7ba=this['_injector'][_0x12ebe6(0x30c)](pe,this[_0x12ebe6(0x4c4)],this['type'],_0x23d9e8,this[_0x12ebe6(0x29c)]);_0x3ea7ba['_schedule'](),_0x5b872f=_0x3ea7ba;}else _0x5b872f=this['_injector'][_0x12ebe6(0x30c)](Fe,this[_0x12ebe6(0x4c4)],this['type'],this[_0x12ebe6(0x29c)]);}}return _0x5b872f[_0x12ebe6(0x4f4)](),_0x5b872f;}catch(_0x41e514){return this[_0x12ebe6(0x26e)]['error'](_0x12ebe6(0x2c6),_0x12ebe6(0x1cf),_0x41e514),this[_0x12ebe6(0x338)][_0x12ebe6(0x30c)](Re,this['unitID'],this[_0x12ebe6(0x27e)],this[_0x12ebe6(0x364)],this['_pendingMutations'],this[_0x12ebe6(0x29c)],!0x1);}}[_0x5bb7a4(0x581)](){const _0x3fc346=_0x5bb7a4;throw new Error(_0x3fc346(0x1fd));}[_0x5bb7a4(0x260)](_0x5e8762){const _0x59791a=_0x5bb7a4;return this[_0x59791a(0x309)][_0x59791a(0x433)](_0x5e8762),this;}[_0x5bb7a4(0x38e)](_0x15eb19){const _0x5e6bd5=_0x5bb7a4;return this[_0x5e6bd5(0x291)][_0x5e6bd5(0x433)](_0x15eb19),this;}[_0x5bb7a4(0x30e)](_0xef15d2){const _0x2ce8a4=_0x5bb7a4;if(this[_0x2ce8a4(0x364)])return this[_0x2ce8a4(0x566)]=this[_0x2ce8a4(0x364)],this[_0x2ce8a4(0x364)]=null,this;throw new Error(_0x2ce8a4(0x191));}[_0x5bb7a4(0x2eb)](_0x11e2ff){const _0x5d14e0=_0x5bb7a4;return this['_onConflict'](!!(_0x11e2ff!=null&&_0x11e2ff[_0x5d14e0(0x28d)]));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x15d5a6=_0x5bb7a4;return this[_0x15d5a6(0x338)][_0x15d5a6(0x30c)](ye,this[_0x15d5a6(0x4c4)],this[_0x15d5a6(0x27e)],this[_0x15d5a6(0x364)],this[_0x15d5a6(0x309)],this[_0x15d5a6(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x2d2)](_0x2675c1){const _0x583757=_0x5bb7a4;return this[_0x583757(0x338)][_0x583757(0x30c)](Re,this[_0x583757(0x4c4)],this[_0x583757(0x27e)],this[_0x583757(0x364)],this['_pendingMutations'],this[_0x583757(0x29c)],_0x2675c1);}};he=Le([A(0x7,_0x22a3e1(_0x4c5160)),A(0x8,_0x22a3e1(_0x25150b)),A(0x9,_0x22a3e1(q)),A(0xa,_0x3efec9),A(0xb,_0x1e58f0),A(0xc,_0x131129),A(0xd,_0x2db4c4)],he);function Ai(_0x81ed17,_0x3d6861,_0x10f9f5,_0x376e2e,_0x42bdb2,_0x58c084){const _0x50ce90=_0x5bb7a4;return _0x376e2e&&_0x42bdb2['length']?_0x81ed17[_0x50ce90(0x30c)](ge,_0x3d6861,_0x10f9f5,_0x376e2e,_0x42bdb2,_0x58c084,void 0x0):_0x376e2e?_0x81ed17[_0x50ce90(0x30c)](Te,_0x3d6861,_0x10f9f5,_0x376e2e,_0x58c084):_0x42bdb2[_0x50ce90(0x282)]?_0x81ed17[_0x50ce90(0x30c)](pe,_0x3d6861,_0x10f9f5,_0x42bdb2,_0x58c084):_0x81ed17[_0x50ce90(0x30c)](Fe,_0x3d6861,_0x10f9f5,_0x58c084);}var So=Object[_0x5bb7a4(0x42b)],Io=Object[_0x5bb7a4(0x4e4)],Es=(_0x4eb9a6,_0x1b1258,_0x4d71fd,_0x2de747)=>{const _0x1ae23a=_0x5bb7a4;for(var _0x39f262=_0x2de747>0x1?void 0x0:_0x2de747?Io(_0x1b1258,_0x4d71fd):_0x1b1258,_0x34c82e=_0x4eb9a6[_0x1ae23a(0x282)]-0x1,_0x231a0e;_0x34c82e>=0x0;_0x34c82e--)(_0x231a0e=_0x4eb9a6[_0x34c82e])&&(_0x39f262=(_0x2de747?_0x231a0e(_0x1b1258,_0x4d71fd,_0x39f262):_0x231a0e(_0x39f262))||_0x39f262);return _0x2de747&&_0x39f262&&So(_0x1b1258,_0x4d71fd,_0x39f262),_0x39f262;},H=(_0x177942,_0x402868)=>(_0x428581,_0x30817b)=>_0x402868(_0x428581,_0x30817b,_0x177942);let gt=class extends _0x177a9e{constructor(_0xff4696,_0x1133ae,_0x53d813,_0x4eba08,_0x247423,_0x26a6ca,_0x3f87da,_0x78ea06,_0x57d1b4,_0xdbdae9,_0x317c37,_0x4edc4,_0x3891a6){const _0x5b4ba2=_0x5bb7a4;super(),g(this,_0x5b4ba2(0x227),new _0x348a88(null)),g(this,_0x5b4ba2(0x40f),this['_state$']['asObservable']()),g(this,_0x5b4ba2(0x3fa)),g(this,_0x5b4ba2(0x4a4),!0x1),g(this,_0x5b4ba2(0x4e7),''),g(this,'_changesetReqId',0x0),g(this,_0x5b4ba2(0x1ba),this[_0x5b4ba2(0x40f)][_0x5b4ba2(0x3f1)](_0x5809a7(_0x314e26=>_0x314e26?_0x314e26[_0x5b4ba2(0x1ff)]:J['OFFLINE']),_0x3f1879(0x1))),g(this,_0x5b4ba2(0x4f8),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x5b4ba2(0x4c4)]=_0xff4696,this['session']=_0x1133ae,this[_0x5b4ba2(0x3a6)]=_0x53d813,this['_injector']=_0x4eba08,this[_0x5b4ba2(0x46d)]=_0x247423,this[_0x5b4ba2(0x421)]=_0x26a6ca,this['_localeService']=_0x3f87da,this[_0x5b4ba2(0x54c)]=_0x78ea06,this[_0x5b4ba2(0x26e)]=_0x57d1b4,this[_0x5b4ba2(0x53f)]=_0xdbdae9,this['_messageService']=_0x317c37,this['_permissionService']=_0x4edc4,this[_0x5b4ba2(0x41a)]=_0x3891a6);}get[_0x5bb7a4(0x2fa)](){const _0x1ef88f=_0x5bb7a4;return this[_0x1ef88f(0x3fa)];}async[_0x5bb7a4(0x1d6)](){const _0x5c1ee0=_0x5bb7a4;if(this[_0x5c1ee0(0x2fa)])throw new Error(_0x5c1ee0(0x1d8));await this[_0x5c1ee0(0x515)]();}[_0x5bb7a4(0x569)](){return this['_collaborationPaused']=!0x0,_0x7884da(()=>{const _0x1dd9a2=_0x4081;this[_0x1dd9a2(0x4a4)]=!0x1,this[_0x1dd9a2(0x43a)]();});}[_0x5bb7a4(0x263)](_0x339089){const _0x19af28=_0x5bb7a4;this[_0x19af28(0x3fa)]=_0x339089,this['_state$']['next'](_0x339089);}async['_init'](){const _0x2a4409=_0x5bb7a4;var _0xfc5c22;this[_0x2a4409(0x263)](await this[_0x2a4409(0x294)]()),this[_0x2a4409(0x41a)]&&((_0xfc5c22=this[_0x2a4409(0x41a)])==null||_0xfc5c22[_0x2a4409(0x30d)](this[_0x2a4409(0x4c4)]),this[_0x2a4409(0x368)](this[_0x2a4409(0x41a)][_0x2a4409(0x23b)](this['unitID'])[_0x2a4409(0x519)](_0x4f0e6b=>{const _0x159848=_0x2a4409;this[_0x159848(0x26e)][_0x159848(0x23c)](_0x159848(0x501),'editing\x20status\x20changed\x20to',_0x4f0e6b),_0x4f0e6b===Di['OTHER_CLIENTS_EDITING']?(this['_messageService'][_0x159848(0x18e)]({'content':this[_0x159848(0x4ab)]['t'](_0x159848(0x416)),'type':_0x3417d7[_0x159848(0x2ad)]}),this[_0x159848(0x167)]['updatePermissionPoint'](new _0x272dbd(this[_0x159848(0x4c4)])['id'],!0x1),this[_0x159848(0x167)][_0x159848(0x3bc)](!0x1)):(this['_permissionService'][_0x159848(0x3fc)](new _0x272dbd(this[_0x159848(0x4c4)])['id'],!0x0),this[_0x159848(0x167)][_0x159848(0x3bc)](!0x0));})));let _0x3fe2b1=!0x1;return this[_0x2a4409(0x368)](this[_0x2a4409(0x457)][_0x2a4409(0x17e)][_0x2a4409(0x519)](_0x5f34ae=>{const _0x20eb1e=_0x2a4409;_0x5f34ae===ve[_0x20eb1e(0x3e1)]?this[_0x20eb1e(0x55e)](_0x3fe2b1):_0x5f34ae===ve['OFFLINE']&&(_0x3fe2b1=!0x0,this['_toggleOffline']());})),this[_0x2a4409(0x368)](this[_0x2a4409(0x457)][_0x2a4409(0x3e4)]['subscribe'](_0x2cad80=>{const _0x152af0=_0x2a4409;try{switch(_0x2cad80[_0x152af0(0x479)]){case _0x45d469[_0x152af0(0x4df)]:{this['_onRemoteChangeset'](_0x34525f(_0x2cad80['data']));break;}case _0x45d469[_0x152af0(0x4a7)]:{this['_onRemoteACK'](_0x2cad80['data']);break;}case _0x45d469['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x45d469[_0x152af0(0x259)]:{this[_0x152af0(0x374)](_0x2cad80['data']);break;}case _0x45d469[_0x152af0(0x2c8)]:{this['_onFetchMissResult'](_0x2cad80['data'][_0x152af0(0x50c)][_0x152af0(0x2c9)](_0x3cfa75=>_0x34525f(_0x3cfa75)));break;}case _0x45d469[_0x152af0(0x4fb)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x22d164){throw console[_0x152af0(0x17b)](_0x152af0(0x52c),_0x22d164),_0x22d164;}})),this[_0x2a4409(0x3fa)];}[_0x5bb7a4(0x402)](){const _0x37d657=_0x5bb7a4;this[_0x37d657(0x4f8)]=!0x1;}[_0x5bb7a4(0x216)](){const _0x44d8a2=_0x5bb7a4;if(this['_transitionLocked'])throw new Error(_0x44d8a2(0x43f));this[_0x44d8a2(0x4f8)]=!0x0;}[_0x5bb7a4(0x3fd)](_0x2fc6bb){const _0x6804d5=_0x5bb7a4;this['_lockTransition'](),this[_0x6804d5(0x263)](this[_0x6804d5(0x3fa)][_0x6804d5(0x260)](_0x2fc6bb)),this[_0x6804d5(0x402)]();}[_0x5bb7a4(0x506)](_0x3eeb1b){const _0x3f7bbd=_0x5bb7a4;if(!(_0x3eeb1b[_0x3f7bbd(0x571)]<=this[_0x3f7bbd(0x54c)][_0x3f7bbd(0x3f5)](this[_0x3f7bbd(0x4c4)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x3f7bbd(0x433)](_0x3eeb1b);return;}this[_0x3f7bbd(0x1f5)](_0x3eeb1b);}}[_0x5bb7a4(0x43a)](){const _0x2fc1d1=_0x5bb7a4;this[_0x2fc1d1(0x42e)]['forEach'](_0x12987a=>this[_0x2fc1d1(0x1f5)](_0x12987a)),this[_0x2fc1d1(0x42e)]=[];}[_0x5bb7a4(0x1f5)](_0x1f594f){const _0x419737=_0x5bb7a4,_0x2ec486=this[_0x419737(0x421)][_0x419737(0x455)]['fetchThroughInterceptors'](this[_0x419737(0x421)][_0x419737(0x455)][_0x419737(0x330)]()['COMPRESS_MUTATION_APPLY'])(_0x1f594f['mutations'],null)||_0x1f594f['mutations'],_0xb3e089={..._0x1f594f,'mutations':_0x2ec486};this[_0x419737(0x216)](),this[_0x419737(0x263)](this[_0x419737(0x3fa)][_0x419737(0x38e)](_0xb3e089)),this['_unlockTransition']();}['_onRemoteACK'](_0x295fb8){const _0x25aaf7=_0x5bb7a4;this[_0x25aaf7(0x216)](),this[_0x25aaf7(0x263)](this['_state'][_0x25aaf7(0x30e)](_0x295fb8)),this[_0x25aaf7(0x402)]();}[_0x5bb7a4(0x3e9)](_0x3fa7d4){const _0x3c1875=_0x5bb7a4;this[_0x3c1875(0x216)](),this[_0x3c1875(0x263)](this['_state'][_0x3c1875(0x2eb)](_0x3fa7d4)),this['_unlockTransition']();}[_0x5bb7a4(0x374)](_0x23c2bc){const _0x397ca9=_0x5bb7a4;this[_0x397ca9(0x216)](),this[_0x397ca9(0x263)](this['_state']['onRemoteRetry'](_0x23c2bc)),this[_0x397ca9(0x402)]();}[_0x5bb7a4(0x37e)](_0x490256){const _0xb168e2=_0x5bb7a4;if(!(this[_0xb168e2(0x3fa)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x44992d=_0x490256[_0xb168e2(0x2c9)](_0x2fcd10=>{const _0x17fad2=_0xb168e2,_0x5b23a8=this[_0x17fad2(0x421)][_0x17fad2(0x455)]['fetchThroughInterceptors'](this[_0x17fad2(0x421)][_0x17fad2(0x455)][_0x17fad2(0x330)]()[_0x17fad2(0x4ac)])(_0x2fcd10[_0x17fad2(0x47f)],null)||_0x2fcd10[_0x17fad2(0x47f)];return{..._0x2fcd10,'mutations':_0x5b23a8};});this[_0xb168e2(0x216)](),this[_0xb168e2(0x263)](this[_0xb168e2(0x3fa)][_0xb168e2(0x4cf)](_0x44992d)),this[_0xb168e2(0x402)]();}['_toggleOffline'](){const _0xe1f5dc=_0x5bb7a4;this[_0xe1f5dc(0x216)](),this[_0xe1f5dc(0x263)](this['_state']['toggleOffline']()),this[_0xe1f5dc(0x402)]();}[_0x5bb7a4(0x55e)](_0x2de8d3=!0x1){const _0x16c7a3=_0x5bb7a4;this['_lockTransition'](),this[_0x16c7a3(0x263)](this['_state'][_0x16c7a3(0x387)]()),this[_0x16c7a3(0x402)]();const _0x1500ab=this[_0x16c7a3(0x3fa)];_0x2de8d3&&_0x1500ab instanceof Fe&&(this[_0x16c7a3(0x216)](),this[_0x16c7a3(0x263)](_0x1500ab[_0x16c7a3(0x560)]()),this['_unlockTransition']());}async[_0x5bb7a4(0x294)](){return new Promise(_0x3161ff=>{const _0x53703d=_0x4081;this['session'][_0x53703d(0x17e)]['pipe'](_0x35f71d(0x1))[_0x53703d(0x519)](async _0x360166=>{_0x3161ff(await this['_createInitialStateImpl'](_0x360166===ve['ONLINE']));});});}[_0x5bb7a4(0x4ef)](){const _0x44952b=_0x5bb7a4,_0x437e16=this[_0x44952b(0x4c4)];return{'onStateChange':(_0x249c57,_0x992ecd)=>{const _0x3bf766=_0x44952b;if(_0x249c57!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x249c57['status']+_0x3bf766(0x2d8)+_0x992ecd[_0x3bf766(0x1ff)]+_0x3bf766(0x168)+this[_0x3bf766(0x3fa)][_0x3bf766(0x1ff)]);this[_0x3bf766(0x263)](_0x992ecd);},'onSendChangeset':_0x513d0e=>{const _0x192ff3=_0x44952b;_0x513d0e[_0x192ff3(0x3dd)]||(_0x513d0e[_0x192ff3(0x3dd)]=this[_0x192ff3(0x4e7)],_0x513d0e[_0x192ff3(0x3f6)]=++this[_0x192ff3(0x437)]);const _0x1c3336={'eventID':_0x45d469['SUBMIT_CHANGESET'],'data':{'unitID':_0x513d0e[_0x192ff3(0x4c4)],'unitType':this[_0x192ff3(0x3a6)],'changeset':_0x513d0e,'memberID':this[_0x192ff3(0x457)][_0x192ff3(0x494)]()}};this[_0x192ff3(0x457)][_0x192ff3(0x45a)](_0x1c3336,this[_0x192ff3(0x4c4)]);},'onMissingChangesets':({from:_0x156357,to:_0x1f2b25})=>{const _0x563da9=_0x44952b;this[_0x563da9(0x26e)][_0x563da9(0x23c)](_0x563da9(0x501),_0x563da9(0x3ea)+_0x156357+_0x563da9(0x223)+_0x1f2b25);const _0x930275={'eventID':_0x45d469[_0x563da9(0x3ce)],'data':{'unitID':_0x437e16,'unitType':this[_0x563da9(0x3a6)],'from':_0x156357,'to':_0x1f2b25}};this['session'][_0x563da9(0x45a)](_0x930275,this[_0x563da9(0x4c4)]);}};}async[_0x5bb7a4(0x351)](_0x20b170){const _0x3274b4=_0x5bb7a4;var _0x4e6d63,_0x25b9db;const _0x17d3dc=await this['_localCacheService']['loadOfflineData'](this[_0x3274b4(0x4c4)]),_0x2b7cf6=(_0x4e6d63=_0x17d3dc==null?void 0x0:_0x17d3dc[_0x3274b4(0x47f)])!=null?_0x4e6d63:[],_0x1f541f=(_0x25b9db=_0x17d3dc==null?void 0x0:_0x17d3dc[_0x3274b4(0x25a)])!=null?_0x25b9db:null,_0x5e3e6e=!!(_0x1f541f!=null&&_0x1f541f['sid'])&&!!(_0x1f541f!=null&&_0x1f541f['reqId']);this[_0x3274b4(0x4e7)]=_0x5e3e6e?_0x1f541f[_0x3274b4(0x3dd)]:zr(),this['_changesetReqId']=_0x5e3e6e?_0x1f541f['reqId']:0x0;const _0x124076=this['unitID'];try{this[_0x3274b4(0x1ac)](_0x1f541f,_0x2b7cf6);}catch(_0x476b65){this[_0x3274b4(0x26e)][_0x3274b4(0x17b)](_0x476b65);}const _0x3244b9=this['_createHandler']();if(_0x20b170){const _0x3ccf52=Ai(this[_0x3274b4(0x338)],_0x124076,this[_0x3274b4(0x3a6)],_0x1f541f,_0x2b7cf6,_0x3244b9);return _0x3ccf52 instanceof pe?_0x3ccf52[_0x3274b4(0x422)]():(_0x3ccf52 instanceof ge||_0x3ccf52 instanceof Te)&&_0x3ccf52[_0x3274b4(0x581)](),_0x3ccf52;}return this['_injector']['createInstance'](ye,_0x124076,this[_0x3274b4(0x3a6)],_0x1f541f,_0x2b7cf6,_0x3244b9);}[_0x5bb7a4(0x1ac)](_0x2a8d1e,_0x4c5f1b){const _0x2f84bc=_0x5bb7a4;var _0x5f118e,_0x2433ea;const _0x333718=this['_compressMutationService'][_0x2f84bc(0x455)][_0x2f84bc(0x4fa)](this['_compressMutationService'][_0x2f84bc(0x455)][_0x2f84bc(0x330)]()['COMPRESS_MUTATION_APPLY']);(_0x5f118e=_0x333718((_0x2a8d1e==null?void 0x0:_0x2a8d1e[_0x2f84bc(0x47f)])||[],null))==null||_0x5f118e['forEach'](_0x9dd3f9=>this[_0x2f84bc(0x53f)]['executeCommand'](_0x9dd3f9['id'],_0x9dd3f9[_0x2f84bc(0x3d9)])),(_0x2433ea=_0x333718(_0x4c5f1b||[],null))==null||_0x2433ea[_0x2f84bc(0x312)](_0x253b93=>this['_commandService']['executeCommand'](_0x253b93['id'],_0x253b93[_0x2f84bc(0x3d9)]));}};gt=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x3efec9),H(0x9,_0x1e58f0),H(0xa,_0x38087f),H(0xb,_0x59e41b),H(0xc,_0x4f55bd(Rt))],gt);let ss=class extends gt{constructor(_0x3ca7e8,_0x41da10,_0x48c4bc,_0x1545ad,_0x54ca39,_0x133a9f,_0x2cea2b,_0x5f017f,_0x1d1cbe,_0x4e866e,_0x3076c6,_0x19cd28,_0x4489f2,_0x1aae28,_0x2c2a92,_0x1e3831,_0x5757f1,_0x5893ed){const _0x207e78=_0x5bb7a4;super(_0x3ca7e8,_0x48c4bc,_0x41da10,_0x1545ad,_0x54ca39,_0x133a9f,_0x2cea2b,_0x5f017f,_0x1aae28,_0x2c2a92,_0x1e3831,_0x5757f1,_0x5893ed),this[_0x207e78(0x4c4)]=_0x3ca7e8,this['type']=_0x41da10,this['_docStateChangeManagerService']=_0x1d1cbe,this[_0x207e78(0x360)]=_0x4e866e,this[_0x207e78(0x3d3)]=_0x3076c6,this[_0x207e78(0x36b)]=_0x19cd28,this[_0x207e78(0x491)]=_0x4489f2;}[_0x5bb7a4(0x4ef)](){const _0x496213=_0x5bb7a4,_0x4b906c=super[_0x496213(0x4ef)]();return _0x4b906c[_0x496213(0x4a5)]=_0x3af37e=>this[_0x496213(0x360)]['transformIMECache'](_0x3af37e),_0x4b906c['onTransformState']=_0x4ab242=>this[_0x496213(0x3d3)]['transformStateCache'](_0x4ab242),_0x4b906c[_0x496213(0x432)]=_0x9d45f9=>this[_0x496213(0x36b)]['transformSelections'](_0x9d45f9),_0x4b906c[_0x496213(0x559)]=_0x54fa55=>this[_0x496213(0x491)][_0x496213(0x4be)](_0x54fa55),_0x4b906c[_0x496213(0x1bd)]=_0x11465c=>this[_0x496213(0x360)][_0x496213(0x465)](_0x11465c),_0x4b906c[_0x496213(0x25f)]=_0x466ab7=>this[_0x496213(0x3d3)]['transformRemoteChangeset'](_0x466ab7),_0x4b906c;}async['_init'](){const _0x3c5a92=_0x5bb7a4,_0x121276=await super['_init']();return this[_0x3c5a92(0x4de)][_0x3c5a92(0x462)][_0x3c5a92(0x3f1)](_0x52fa59(this[_0x3c5a92(0x492)]))[_0x3c5a92(0x519)](_0x182eda=>{const _0xfefdac=_0x3c5a92;if(_0x182eda==null)return;const {unitId:_0x256e07,redoState:_0x102894,commandId:_0x2bff1d}=_0x182eda;if(_0x256e07!==this[_0xfefdac(0x4c4)])return;const _0x469098={'id':_0x2bff1d,'type':_0x5bf26c[_0xfefdac(0x233)],'params':{'unitId':_0x256e07,'actions':_0x102894[_0xfefdac(0x37d)],'textRanges':null}};this[_0xfefdac(0x3fd)](_0x469098);}),_0x121276;}};ss=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x22a3e1(_0x1b1fa1)),H(0x9,_0x22a3e1(ft)),H(0xa,_0x22a3e1(mt)),H(0xb,_0x22a3e1(pt)),H(0xc,_0x22a3e1(Cs)),H(0xd,_0x3efec9),H(0xe,_0x1e58f0),H(0xf,_0x38087f),H(0x10,_0x59e41b),H(0x11,_0x4f55bd(Rt))],ss);let is=class extends gt{constructor(_0x16a136,_0x5806d9,_0x1667f7,_0x39083f,_0x11c235,_0x157703,_0x1d73f9,_0x2bb8fa,_0x3033fb,_0x57aae5,_0x26942d,_0x175078,_0x4a3092,_0x53c827){const _0x49f276=_0x5bb7a4;super(_0x16a136,_0x1667f7,_0x5806d9,_0x39083f,_0x11c235,_0x157703,_0x1d73f9,_0x2bb8fa,_0x57aae5,_0x26942d,_0x175078,_0x4a3092,_0x53c827),this['unitID']=_0x16a136,this[_0x49f276(0x27e)]=_0x5806d9,this[_0x49f276(0x1a0)]=_0x3033fb;}[_0x5bb7a4(0x4ef)](){const _0x5017b5=_0x5bb7a4,_0x583849=super[_0x5017b5(0x4ef)]();return _0x583849[_0x5017b5(0x432)]=_0x2217a1=>this[_0x5017b5(0x1a0)][_0x5017b5(0x1a5)](_0x2217a1),_0x583849;}async[_0x5bb7a4(0x515)](){const _0x234f88=_0x5bb7a4,_0x4084f6=await super[_0x234f88(0x515)]();return this[_0x234f88(0x368)](this[_0x234f88(0x53f)][_0x234f88(0x498)]((_0x4961f4,_0xe6d680)=>{const _0x67853b=_0x234f88;if(_0x4961f4[_0x67853b(0x27e)]!==_0x5bf26c[_0x67853b(0x233)]||_0xe6d680!=null&&_0xe6d680['fromCollab']||_0xe6d680!=null&&_0xe6d680[_0x67853b(0x33f)])return;const _0x5ef1af=_0x4961f4[_0x67853b(0x3d9)];if((_0x5ef1af==null?void 0x0:_0x5ef1af[_0x67853b(0x55d)])!==this[_0x67853b(0x4c4)])return;const _0x3de7e2=_0x4961f4,_0x299f08=this[_0x67853b(0x421)][_0x67853b(0x455)]['fetchThroughInterceptors'](this[_0x67853b(0x421)][_0x67853b(0x455)][_0x67853b(0x330)]()[_0x67853b(0x201)])([_0x3de7e2],null)||[_0x3de7e2];this['_onLocalMutation'](_0x299f08[0x0]);})),_0x4084f6;}};is=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x22a3e1(vt)),H(0x9,_0x3efec9),H(0xa,_0x1e58f0),H(0xb,_0x38087f),H(0xc,_0x59e41b),H(0xd,_0x4f55bd(Rt))],is);var Co=Object[_0x5bb7a4(0x42b)],Eo=Object[_0x5bb7a4(0x4e4)],bo=(_0x1d82e9,_0x38bc05,_0x82a321,_0xafdaf9)=>{for(var _0x979d59=_0xafdaf9>0x1?void 0x0:_0xafdaf9?Eo(_0x38bc05,_0x82a321):_0x38bc05,_0x43c627=_0x1d82e9['length']-0x1,_0x38010b;_0x43c627>=0x0;_0x43c627--)(_0x38010b=_0x1d82e9[_0x43c627])&&(_0x979d59=(_0xafdaf9?_0x38010b(_0x38bc05,_0x82a321,_0x979d59):_0x38010b(_0x979d59))||_0x979d59);return _0xafdaf9&&_0x979d59&&Co(_0x38bc05,_0x82a321,_0x979d59),_0x979d59;},Lt=(_0x1aec3d,_0x55ce4c)=>(_0x5f088e,_0x436ada)=>_0x55ce4c(_0x5f088e,_0x436ada,_0x1aec3d);let it=class extends _0x177a9e{constructor(_0x349cca,_0x4637f4,_0x4a2e79){const _0x20a1d7=_0x5bb7a4;super(),g(this,_0x20a1d7(0x37a),new Map()),g(this,_0x20a1d7(0x3b4),new _0x1b179a()),(this[_0x20a1d7(0x338)]=_0x349cca,this[_0x20a1d7(0x575)]=_0x4637f4,this[_0x20a1d7(0x21d)]=_0x4a2e79,this[_0x20a1d7(0x515)]());}[_0x5bb7a4(0x4d2)](){const _0xedcab4=_0x5bb7a4;super[_0xedcab4(0x4d2)](),this[_0xedcab4(0x37a)]['forEach'](_0x37e41f=>_0x37e41f['dispose']()),this[_0xedcab4(0x37a)][_0xedcab4(0x395)]();}[_0x5bb7a4(0x2c5)](_0xae0cb8){const _0x13cfb5=_0x5bb7a4;var _0x3dd4b3;return(_0x3dd4b3=this[_0x13cfb5(0x37a)]['get'](_0xae0cb8))!=null?_0x3dd4b3:null;}[_0x5bb7a4(0x42f)](_0x1577f0){const _0x10bda5=_0x5bb7a4,_0x3bc605=this[_0x10bda5(0x2c5)](_0x1577f0);return _0x3bc605?_0x52cb6f(_0x3bc605):this['_entityInit$']['pipe'](_0x5a0a20(_0x7690ee=>_0x7690ee['unitID']===_0x1577f0));}[_0x5bb7a4(0x515)](){const _0x18b898=_0x5bb7a4;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10a997[_0x18b898(0x55b)])['pipe'](_0x52fa59(this[_0x18b898(0x492)]),_0x1ce989(0x10))[_0x18b898(0x519)](async _0xaff156=>{const _0x156112=_0x18b898,_0x9e85d1=_0xaff156[_0x156112(0x322)](),_0x52e061=await this[_0x156112(0x567)](_0x9e85d1,ce[_0x156112(0x55b)]);this['_entities'][_0x156112(0x441)](_0x9e85d1,_0x52e061);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10a997['UNIVER_DOC'])[_0x18b898(0x3f1)](_0x52fa59(this[_0x18b898(0x492)]),_0x1ce989(0x10))['pipe'](_0x5a0a20(_0x15fd4a=>!_0x15fd4a[_0x18b898(0x322)]()[_0x18b898(0x418)]('__')))[_0x18b898(0x519)](async _0x3cf8d1=>{const _0x54da12=_0x18b898,_0x5d3405=_0x3cf8d1[_0x54da12(0x322)](),_0xa133cb=await this['_startCollaboration'](_0x5d3405,ce[_0x54da12(0x172)]);this['_entities'][_0x54da12(0x441)](_0x5d3405,_0xa133cb);}),_0x4e4735(this[_0x18b898(0x21d)]['getTypeOfUnitDisposed$'](_0x10a997[_0x18b898(0x55b)]),this[_0x18b898(0x21d)][_0x18b898(0x39a)](_0x10a997[_0x18b898(0x172)]))[_0x18b898(0x3f1)](_0x52fa59(this[_0x18b898(0x492)]))[_0x18b898(0x519)](_0x3e6054=>{const _0x2bdedc=_0x18b898,_0x3019e4=_0x3e6054[_0x2bdedc(0x322)](),_0x3e53b6=this[_0x2bdedc(0x37a)]['get'](_0x3019e4);_0x3e53b6&&(_0x3e53b6[_0x2bdedc(0x4d2)](),this[_0x2bdedc(0x37a)][_0x2bdedc(0x3d8)](_0x3019e4));});}async[_0x5bb7a4(0x567)](_0x1b9919,_0x5dad69){const _0x32d7d8=_0x5bb7a4,_0x53c271=await this[_0x32d7d8(0x575)]['requireSession'](_0x1b9919),_0x359c04=this[_0x32d7d8(0x338)][_0x32d7d8(0x30c)](this[_0x32d7d8(0x2fe)](_0x5dad69),_0x1b9919,_0x5dad69,_0x53c271);return await _0x359c04['init'](),this[_0x32d7d8(0x3b4)][_0x32d7d8(0x3ff)](_0x359c04),_0x359c04;}[_0x5bb7a4(0x2fe)](_0x3451af){const _0x127d0c=_0x5bb7a4;switch(_0x3451af){case ce[_0x127d0c(0x172)]:return ss;case ce[_0x127d0c(0x55b)]:return is;default:throw new Error(_0x127d0c(0x19b)+_0x3451af);}}};it=bo([Lt(0x0,_0x22a3e1(_0x4c5160)),Lt(0x1,_0x22a3e1(Ae)),Lt(0x2,_0x2e0534)],it);const Gs=[_0x5bb7a4(0x3f4),_0x5bb7a4(0x4f2),'verdancy600',_0x5bb7a4(0x3c0),_0x5bb7a4(0x176),_0x5bb7a4(0x4bb)];class bs extends _0x1caa36{constructor(){const _0x578e57=_0x5bb7a4;super(...arguments),g(this,_0x578e57(0x2ee),new Map()),g(this,_0x578e57(0x56d),0x0);}[_0x5bb7a4(0x2cf)](_0x8da148){const _0x44271f=_0x5bb7a4;if(this[_0x44271f(0x2ee)][_0x44271f(0x2e6)](_0x8da148))return this[_0x44271f(0x2ee)]['get'](_0x8da148);const _0x5bbaed=Gs[this[_0x44271f(0x56d)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Gs[_0x44271f(0x282)],this[_0x44271f(0x2ee)][_0x44271f(0x441)](_0x8da148,_0x5bbaed),_0x5bbaed;}}var To=Object[_0x5bb7a4(0x42b)],Ro=Object[_0x5bb7a4(0x4e4)],yo=(_0x1e03c5,_0x5b38dc,_0x5075a7,_0x5c70ff)=>{const _0x387061=_0x5bb7a4;for(var _0x3c73fe=_0x5c70ff>0x1?void 0x0:_0x5c70ff?Ro(_0x5b38dc,_0x5075a7):_0x5b38dc,_0x125efd=_0x1e03c5[_0x387061(0x282)]-0x1,_0x27f605;_0x125efd>=0x0;_0x125efd--)(_0x27f605=_0x1e03c5[_0x125efd])&&(_0x3c73fe=(_0x5c70ff?_0x27f605(_0x5b38dc,_0x5075a7,_0x3c73fe):_0x27f605(_0x3c73fe))||_0x3c73fe);return _0x5c70ff&&_0x3c73fe&&To(_0x5b38dc,_0x5075a7,_0x3c73fe),_0x3c73fe;},Oe=(_0x5bd12c,_0x58aff3)=>(_0xe4761c,_0x2f81f1)=>_0x58aff3(_0xe4761c,_0x2f81f1,_0x5bd12c);const Oo=0x12c,wo=0x64;let ns=class extends _0x177a9e{constructor(_0x519625,_0x53814a,_0x2894b9,_0x5d336e,_0x497b88,_0x3da8ff,_0x4e8d6e,_0x14c337,_0x2caffb){const _0x350e99=_0x5bb7a4;super(),g(this,_0x350e99(0x2e3),!0x1),g(this,_0x350e99(0x515),!0x1),g(this,_0x350e99(0x299),new _0x348a88(new Map())),g(this,_0x350e99(0x52f),this[_0x350e99(0x299)][_0x350e99(0x1a6)]()),g(this,_0x350e99(0x208),new _0x348a88([])),g(this,_0x350e99(0x32f),this['_roomMembers$'][_0x350e99(0x3f1)](_0x12cfe4(Oo))),g(this,_0x350e99(0x2ff),_0x47386f(_0x21ff96=>{const _0x457ff5=_0x350e99,_0x4db5a8={'eventID':_0x45d469[_0x457ff5(0x2cd)],'data':{'unitID':this[_0x457ff5(0x4c4)],'memberID':this['_session']['getMemberID'](),'selection':Pi(_0x21ff96)}};this[_0x457ff5(0x42d)][_0x457ff5(0x45a)](_0x4db5a8,this[_0x457ff5(0x4c4)]);},wo)),(this[_0x350e99(0x4c4)]=_0x519625,this[_0x350e99(0x42d)]=_0x53814a,this[_0x350e99(0x338)]=_0x2894b9,this['_colorAssignService']=_0x5d336e,this['_memberService']=_0x497b88,this[_0x350e99(0x532)]=_0x3da8ff,this[_0x350e99(0x1c5)]=_0x4e8d6e,this[_0x350e99(0x21d)]=_0x14c337,this[_0x350e99(0x53f)]=_0x2caffb);}get[_0x5bb7a4(0x466)](){const _0x25896e=_0x5bb7a4;return this[_0x25896e(0x299)][_0x25896e(0x43d)]();}get[_0x5bb7a4(0x18b)](){const _0x1f52bb=_0x5bb7a4;return this[_0x1f52bb(0x208)][_0x1f52bb(0x43d)]();}[_0x5bb7a4(0x4d2)](){const _0x508ad6=_0x5bb7a4;super[_0x508ad6(0x4d2)](),this[_0x508ad6(0x299)][_0x508ad6(0x3ff)](new Map()),this[_0x508ad6(0x299)][_0x508ad6(0x313)](),this[_0x508ad6(0x208)]['next']([]),this['_roomMembers$'][_0x508ad6(0x313)]();}[_0x5bb7a4(0x1d6)](){const _0x5d96c4=_0x5bb7a4;this[_0x5d96c4(0x515)]||(this['_init']=!0x0,this[_0x5d96c4(0x42d)][_0x5d96c4(0x17e)]['pipe'](_0x52fa59(this['dispose$']))[_0x5d96c4(0x519)](_0x3c92ab=>{const _0x22fd49=_0x5d96c4;_0x3c92ab===ve[_0x22fd49(0x3e1)]?this[_0x22fd49(0x55e)]():this[_0x22fd49(0x534)]();}),this[_0x5d96c4(0x42d)]['event$']['pipe'](_0x52fa59(this[_0x5d96c4(0x492)]))[_0x5d96c4(0x519)](_0x5ac665=>{const _0x52a46d=_0x5d96c4,_0x1d23a8=_0x5ac665[_0x52a46d(0x479)];_0x1d23a8===_0x45d469[_0x52a46d(0x2cd)]&&this[_0x52a46d(0x170)](_0x5ac665),_0x1d23a8===_0x45d469[_0x52a46d(0x489)]&&this[_0x52a46d(0x272)](_0x5ac665);}),this[_0x5d96c4(0x368)](this[_0x5d96c4(0x53f)][_0x5d96c4(0x498)](_0x148ab9=>{const _0x3440ac=_0x5d96c4,_0x13e6a0=_0x148ab9[_0x3440ac(0x3d9)];_0x13e6a0!=null&&this['_online']&&_0x148ab9['id']===_0x10288c['id']&&_0x13e6a0[_0x3440ac(0x55d)]===this[_0x3440ac(0x4c4)]&&_0x13e6a0[_0x3440ac(0x4b5)]===!0x1&&_0x13e6a0[_0x3440ac(0x56e)][_0x3440ac(0x282)]>0x0&&this[_0x3440ac(0x2ff)](_0x13e6a0[_0x3440ac(0x56e)]);})),this[_0x5d96c4(0x532)]['collabCursorState$'][_0x5d96c4(0x3f1)](_0x52fa59(this[_0x5d96c4(0x492)]))['subscribe'](_0x1cd075=>{const _0x51d6d1=_0x5d96c4;if((_0x1cd075==null?void 0x0:_0x1cd075['unitID'])!==this[_0x51d6d1(0x4c4)])return;const _0x92d1b7={'eventID':_0x45d469[_0x51d6d1(0x2cd)],'data':_0x1cd075};this[_0x51d6d1(0x170)](_0x92d1b7);}),this[_0x5d96c4(0x368)](this[_0x5d96c4(0x53f)][_0x5d96c4(0x498)](_0x262267=>{const _0x14c85c=_0x5d96c4;if(_0x262267[_0x14c85c(0x3d9)]==null)return;const _0x4b1bef=_0x262267[_0x14c85c(0x3d9)];if(_0x262267['id']!==_0x185e84['id']||_0x4b1bef[_0x14c85c(0x55d)]!==this['unitID'])return;const _0x27df98={'id':'doc.mutation.rich-text-editing','params':_0x4b1bef},_0x3ff98b=this[_0x14c85c(0x466)];for(const [_0x396d77,_0x695cf1]of _0x3ff98b){const _0x18efa6={'id':_0x14c85c(0x557),'params':{'unitId':this[_0x14c85c(0x4c4)],'actions':null,'textRanges':_0x695cf1[_0x14c85c(0x56e)]}},_0x24e3f2=this[_0x14c85c(0x1c5)][_0x14c85c(0x4f0)](_0x27df98,_0x18efa6,!0x1);if(_0x35b5b8(_0x24e3f2))throw _0x24e3f2[_0x14c85c(0x17b)];_0x3ff98b[_0x14c85c(0x441)](_0x396d77,{..._0x695cf1,'ranges':_0x24e3f2[_0x14c85c(0x4d6)][_0x14c85c(0x3d9)][_0x14c85c(0x2a0)]});}queueMicrotask(()=>{const _0x4202ed=_0x14c85c;this[_0x4202ed(0x299)][_0x4202ed(0x3ff)](_0x3ff98b);});})));}['_onCursorUpdate'](_0x290ab2){const _0x43a34b=_0x5bb7a4;var _0x36ae1f,_0x1b5706;const {memberID:_0xca9b28,selection:_0x4bb6a8}=_0x290ab2[_0x43a34b(0x2d5)],_0x2cab56=ho(_0x4bb6a8),_0x4349b8=(_0x1b5706=(_0x36ae1f=this[_0x43a34b(0x49f)][_0x43a34b(0x25d)](this[_0x43a34b(0x4c4)],_0xca9b28))==null?void 0x0:_0x36ae1f[_0x43a34b(0x408)])!=null?_0x1b5706:'Unknown\x20user',_0xe9bf6e={'color':this[_0x43a34b(0x517)][_0x43a34b(0x2cf)](_0xca9b28),'name':_0x4349b8,'ranges':_0x2cab56},_0x245ece=this['cursorInfo'];_0x245ece[_0x43a34b(0x441)](_0xca9b28,_0xe9bf6e),this[_0x43a34b(0x299)][_0x43a34b(0x3ff)](_0x245ece);}['_onCursorDelete'](_0x5d9099){const _0x406697=_0x5bb7a4,{memberID:_0x5619ee}=_0x5d9099['data'],_0x1bb646=this[_0x406697(0x466)];_0x1bb646[_0x406697(0x3d8)](_0x5619ee),this[_0x406697(0x299)][_0x406697(0x3ff)](_0x1bb646);}[_0x5bb7a4(0x55e)](){const _0x257d77=_0x5bb7a4;var _0x30c90f;if(this[_0x257d77(0x2e3)]=!0x0,((_0x30c90f=this['_univerInstanceService'][_0x257d77(0x1dd)]())==null?void 0x0:_0x30c90f[_0x257d77(0x322)]())!==this[_0x257d77(0x4c4)])return;const _0x221339=this['_injector'][_0x257d77(0x4f7)](_0x4ce6e6)[_0x257d77(0x1c3)]();Array[_0x257d77(0x2f4)](_0x221339)&&_0x221339[_0x257d77(0x282)]>0x0&&this['_updateLocalCursor'](_0x221339);}[_0x5bb7a4(0x534)](){this['_online']=!0x1;}};ns=yo([Oe(0x2,_0x22a3e1(_0x4c5160)),Oe(0x3,_0x22a3e1(bs)),Oe(0x4,_0x22a3e1(Ne)),Oe(0x5,_0x22a3e1(Cs)),Oe(0x6,_0x2db4c4),Oe(0x7,_0x2e0534),Oe(0x8,_0x1e58f0)],ns);var Do=Object[_0x5bb7a4(0x42b)],Po=Object[_0x5bb7a4(0x4e4)],Uo=(_0xb957ce,_0x286a69,_0x36d0f5,_0x32b840)=>{const _0xb57c65=_0x5bb7a4;for(var _0x5c396c=_0x32b840>0x1?void 0x0:_0x32b840?Po(_0x286a69,_0x36d0f5):_0x286a69,_0x4c2d14=_0xb957ce[_0xb57c65(0x282)]-0x1,_0x27c021;_0x4c2d14>=0x0;_0x4c2d14--)(_0x27c021=_0xb957ce[_0x4c2d14])&&(_0x5c396c=(_0x32b840?_0x27c021(_0x286a69,_0x36d0f5,_0x5c396c):_0x27c021(_0x5c396c))||_0x5c396c);return _0x32b840&&_0x5c396c&&Do(_0x286a69,_0x36d0f5,_0x5c396c),_0x5c396c;},Be=(_0x44b6f1,_0x27ce8c)=>(_0x1493d6,_0x1f5274)=>_0x27ce8c(_0x1493d6,_0x1f5274,_0x44b6f1);const No=0x12c,Ao=0x64,Mo=()=>{let _0x442d41=[],_0x97be62=!0x1;return _0x1f35df=>{_0x442d41['push'](_0x1f35df),_0x97be62||(_0x97be62=!0x0,setTimeout(()=>{const _0x2f8f2a=_0x4081;_0x442d41[_0x2f8f2a(0x312)](_0x5dd382=>_0x5dd382()),_0x442d41=[],_0x97be62=!0x1;}));};};let rs=class extends _0x177a9e{constructor(_0x1c9140,_0x30f821,_0x19101a,_0x402c06,_0x4e7f1c,_0x83eccb,_0x35a41f,_0x45a503){const _0x70bef8=_0x5bb7a4;super(),g(this,_0x70bef8(0x2e3),!0x1),g(this,_0x70bef8(0x515),!0x1),g(this,'_cursorInfo$',new _0x348a88(new Map())),g(this,_0x70bef8(0x52f),this[_0x70bef8(0x299)]['asObservable']()),g(this,_0x70bef8(0x208),new _0x348a88([])),g(this,_0x70bef8(0x32f),this[_0x70bef8(0x208)][_0x70bef8(0x3f1)](_0x12cfe4(No))),g(this,_0x70bef8(0x2ff),_0x47386f((_0x4cb4df,_0x4782a8)=>{const _0x13fa09=_0x70bef8,_0x41cd4c={'eventID':_0x45d469['UPDATE_CURSOR'],'data':{'unitID':this[_0x13fa09(0x4c4)],'memberID':this[_0x13fa09(0x42d)]['getMemberID'](),'selection':_0x5cd454(_0x4cb4df,_0x4782a8[_0x13fa09(0x2da)])}};this['_session'][_0x13fa09(0x45a)](_0x41cd4c,this[_0x13fa09(0x4c4)]);},Ao)),(this['unitID']=_0x1c9140,this['_session']=_0x30f821,this[_0x70bef8(0x338)]=_0x19101a,this['_colorAssignService']=_0x402c06,this[_0x70bef8(0x49f)]=_0x4e7f1c,this['_univerInstanceService']=_0x83eccb,this['_commandService']=_0x35a41f,this[_0x70bef8(0x4db)]=_0x45a503);}get[_0x5bb7a4(0x466)](){const _0x3ab7be=_0x5bb7a4;return this['_cursorInfo$'][_0x3ab7be(0x43d)]();}get[_0x5bb7a4(0x18b)](){const _0x57a218=_0x5bb7a4;return this[_0x57a218(0x208)]['getValue']();}[_0x5bb7a4(0x4d2)](){const _0x4f1b96=_0x5bb7a4;super[_0x4f1b96(0x4d2)](),this[_0x4f1b96(0x299)][_0x4f1b96(0x3ff)](new Map()),this[_0x4f1b96(0x299)]['complete'](),this[_0x4f1b96(0x208)]['next']([]),this['_roomMembers$'][_0x4f1b96(0x313)]();}['init'](){const _0x13f09b=_0x5bb7a4;this['_init']||(this[_0x13f09b(0x515)]=!0x0,this[_0x13f09b(0x42d)]['sessionStatus$'][_0x13f09b(0x3f1)](_0x52fa59(this[_0x13f09b(0x492)]))['subscribe'](_0x35075b=>{const _0x1ba2db=_0x13f09b;_0x35075b===ve[_0x1ba2db(0x3e1)]?this[_0x1ba2db(0x55e)]():this[_0x1ba2db(0x534)]();}),this[_0x13f09b(0x42d)][_0x13f09b(0x3e4)]['pipe'](_0x52fa59(this[_0x13f09b(0x492)]))[_0x13f09b(0x519)](_0x5b261c=>{const _0x497afe=_0x13f09b,_0x3ba498=_0x5b261c['eventID'];_0x3ba498===_0x45d469[_0x497afe(0x2cd)]&&this[_0x497afe(0x170)](_0x5b261c),_0x3ba498===_0x45d469[_0x497afe(0x489)]&&this[_0x497afe(0x272)](_0x5b261c);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x13f09b(0x53f)]['onCommandExecuted'](_0x5e33d0=>{const _0xd39a2a=_0x13f09b;if(this[_0xd39a2a(0x2e3)]&&_0x5e33d0['id']===_0x544c74['id']&&_0x5e33d0[_0xd39a2a(0x3d9)][_0xd39a2a(0x55d)]===this['unitID']){const _0x39587a=_0x5e33d0[_0xd39a2a(0x3d9)];this[_0xd39a2a(0x2ff)](_0x39587a[_0xd39a2a(0x1c9)],_0x39587a['selections'][0x0]);}})));}[_0x5bb7a4(0x170)](_0x7f30f0){const _0x785518=_0x5bb7a4;var _0x4fb886,_0x26046;const {memberID:_0x4449c0,selection:_0x59f94f}=_0x7f30f0[_0x785518(0x2d5)],{sheetName:_0x424bb2,range:_0x2a23e8}=_0x231961(_0x59f94f),_0x4f9707={'name':(_0x26046=(_0x4fb886=this[_0x785518(0x49f)]['getMember'](this['unitID'],_0x4449c0))==null?void 0x0:_0x4fb886[_0x785518(0x408)])!=null?_0x26046:_0x785518(0x4fe),'range':this[_0x785518(0x46f)](_0x424bb2,_0x2a23e8),'sheetID':_0x424bb2,'color':this[_0x785518(0x517)][_0x785518(0x2cf)](_0x4449c0),'selection':_0x59f94f},_0x556828=this['cursorInfo'];_0x556828['set'](_0x4449c0,_0x4f9707),this[_0x785518(0x299)][_0x785518(0x3ff)](_0x556828);}[_0x5bb7a4(0x272)](_0x5c1b8c){const _0x143edc=_0x5bb7a4,{memberID:_0x142b96}=_0x5c1b8c['data'],_0x565f30=this[_0x143edc(0x466)];_0x565f30[_0x143edc(0x3d8)](_0x142b96),this[_0x143edc(0x299)][_0x143edc(0x3ff)](_0x565f30);}[_0x5bb7a4(0x46f)](_0x729cec,_0x492fe0){const _0x23c6dc=_0x5bb7a4;var _0xcf8860,_0x3dfe9c;const _0x380b9f=(_0x3dfe9c=(_0xcf8860=this[_0x23c6dc(0x21d)][_0x23c6dc(0x44c)](this['unitID']))==null?void 0x0:_0xcf8860['getSheetBySheetId'](_0x729cec))==null?void 0x0:_0x3dfe9c['getMergeData']();return(_0x380b9f==null?void 0x0:_0x380b9f['find'](_0x1a9712=>_0x49e4db[_0x23c6dc(0x2b3)](_0x1a9712,_0x492fe0)))||_0x492fe0;}[_0x5bb7a4(0x270)](){const _0x39c6bb=_0x5bb7a4,_0x103aab=new _0x4e3306(),_0x10ef5b=Mo(),_0x3cb06e=()=>{const _0xcfb336=_0x4081;_0x103aab['dispose']();const _0x2f8ceb=(_0x51e58b,_0x8dd2b6,_0x12fc89,_0x443f4d)=>{const _0x40b97c=_0x4081;let _0x3109f1=[];switch(_0x51e58b['id']){case _0x34bde3[_0x40b97c(0x53d)]:{_0x3109f1=_0xd913ed(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x1e5)]:{_0x3109f1=_0xc12035(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x230)]:{_0x3109f1=_0x490fbf(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x476)]:{_0x3109f1=_0x595791(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x311)]:{_0x3109f1=_0x3995ec(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x543)]:{_0x3109f1=_0x5120ad(_0x51e58b,_0x443f4d);break;}case _0x34bde3['MoveRangeCommandId']:{_0x3109f1=_0x20726c(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x445)]:{_0x3109f1=_0x74bb6c(_0x51e58b,_0x443f4d);break;}case _0x34bde3['RemoveRowCommandId']:{_0x3109f1=_0x399794(_0x51e58b,_0x443f4d);break;}}const _0x409f86=_0x4ea810(_0x3109f1,_0x443f4d),_0x3ca028=this[_0x40b97c(0x466)][_0x40b97c(0x4f7)](_0x8dd2b6);if(_0x3ca028&&_0x409f86){const _0x53474c={..._0x3ca028,'range':_0x409f86};this[_0x40b97c(0x466)][_0x40b97c(0x441)](_0x8dd2b6,_0x53474c),_0x10ef5b(()=>{const _0x1dd6e0=_0x40b97c,_0x4f1ae0=this['_refRangeService'][_0x1dd6e0(0x308)](_0x409f86,_0x519ebf=>(_0x4f1ae0[_0x1dd6e0(0x4d2)](),_0x2f8ceb(_0x519ebf,_0x8dd2b6,_0x12fc89,_0x409f86)));_0x103aab['add'](_0x4f1ae0);});}return{'redos':[],'undos':[]};};this[_0xcfb336(0x466)]['forEach']((_0x449fb5,_0x4b0f8c)=>{const _0x241f22=_0xcfb336,{range:_0x38e2c9,sheetID:_0x511393}=_0x449fb5,_0x7a8492=this[_0x241f22(0x4db)][_0x241f22(0x308)](_0x38e2c9,_0x37c86c=>(_0x7a8492[_0x241f22(0x4d2)](),_0x2f8ceb(_0x37c86c,_0x4b0f8c,_0x511393,_0x38e2c9)));_0x103aab[_0x241f22(0x570)](_0x7a8492);});};this[_0x39c6bb(0x368)](_0x7884da(this['_cursorInfo$']['subscribe'](()=>{_0x3cb06e();})));}[_0x5bb7a4(0x55e)](){const _0x1027f2=_0x5bb7a4;var _0x34939a,_0x5b23d5;if(this[_0x1027f2(0x2e3)]=!0x0,((_0x34939a=this[_0x1027f2(0x21d)][_0x1027f2(0x1dd)]())==null?void 0x0:_0x34939a['getUnitId']())!==this[_0x1027f2(0x4c4)])return;const _0x33530f=(_0x5b23d5=this['_injector']['get'](_0x11487d)[_0x1027f2(0x171)]())==null?void 0x0:_0x5b23d5[0x0],_0x1725db=this[_0x1027f2(0x21d)][_0x1027f2(0x583)](_0x10a997['UNIVER_SHEET'])['getActiveSheet']();_0x33530f&&_0x1725db&&this[_0x1027f2(0x2ff)](_0x1725db[_0x1027f2(0x192)](),_0x33530f);}[_0x5bb7a4(0x534)](){const _0x5e6986=_0x5bb7a4;this[_0x5e6986(0x2e3)]=!0x1;}};rs=Uo([Be(0x2,_0x22a3e1(_0x4c5160)),Be(0x3,_0x22a3e1(bs)),Be(0x4,_0x22a3e1(Ne)),Be(0x5,_0x2e0534),Be(0x6,_0x1e58f0),Be(0x7,_0x22a3e1(_0x180f23))],rs);var xo=Object[_0x5bb7a4(0x42b)],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x3dfd0b,_0x438922,_0x1a56b7,_0x3691a5)=>{const _0xf01ec0=_0x5bb7a4;for(var _0x390958=_0x3691a5>0x1?void 0x0:_0x3691a5?Lo(_0x438922,_0x1a56b7):_0x438922,_0x3acb40=_0x3dfd0b[_0xf01ec0(0x282)]-0x1,_0x3d92af;_0x3acb40>=0x0;_0x3acb40--)(_0x3d92af=_0x3dfd0b[_0x3acb40])&&(_0x390958=(_0x3691a5?_0x3d92af(_0x438922,_0x1a56b7,_0x390958):_0x3d92af(_0x390958))||_0x390958);return _0x3691a5&&_0x390958&&xo(_0x438922,_0x1a56b7,_0x390958),_0x390958;},$t=(_0x3d6510,_0x379f8f)=>(_0x28b568,_0x3dbfb8)=>_0x379f8f(_0x28b568,_0x3dbfb8,_0x3d6510);let Ve=class extends _0x177a9e{constructor(_0x25ebef,_0x20ec97,_0x30d000){const _0x2db7f7=_0x5bb7a4;super(),g(this,_0x2db7f7(0x37a),new Map()),g(this,'_entityInit$',new _0x1b179a()),(this[_0x2db7f7(0x21d)]=_0x25ebef,this[_0x2db7f7(0x338)]=_0x20ec97,this[_0x2db7f7(0x575)]=_0x30d000,this[_0x2db7f7(0x515)]());}[_0x5bb7a4(0x4d2)](){const _0x15ad81=_0x5bb7a4;super['dispose'](),this[_0x15ad81(0x3b4)][_0x15ad81(0x313)](),this[_0x15ad81(0x37a)][_0x15ad81(0x312)](_0x389025=>_0x389025[_0x15ad81(0x4d2)]());}['getCollabCursors$'](_0x42924e){const _0x5cf9c4=_0x5bb7a4;return this['_entities'][_0x5cf9c4(0x2e6)](_0x42924e)?this['_entities']['get'](_0x42924e)['cursorInfo$']:this[_0x5cf9c4(0x3b4)][_0x5cf9c4(0x3f1)](_0x3cb187(_0x571329=>_0x571329['unitID']===_0x42924e),_0x1e3e59(_0x363fc7=>_0x363fc7[_0x5cf9c4(0x52f)]));}[_0x5bb7a4(0x515)](){const _0x34d04c=_0x5bb7a4;this[_0x34d04c(0x21d)][_0x34d04c(0x4aa)](_0x10a997['UNIVER_SHEET'])[_0x34d04c(0x3f1)](_0x52fa59(this[_0x34d04c(0x492)]))[_0x34d04c(0x519)](async _0x15947d=>{const _0x1bd17c=_0x34d04c,_0x48e654=_0x15947d['getUnitId'](),_0x16584a=await this[_0x1bd17c(0x4c3)](_0x48e654);this[_0x1bd17c(0x3b4)][_0x1bd17c(0x3ff)](_0x16584a),this[_0x1bd17c(0x37a)][_0x1bd17c(0x441)](_0x48e654,_0x16584a);}),this[_0x34d04c(0x21d)][_0x34d04c(0x4aa)](_0x10a997[_0x34d04c(0x172)])[_0x34d04c(0x3f1)](_0x52fa59(this['dispose$']))[_0x34d04c(0x3f1)](_0x3cb187(_0xca1fba=>!_0xca1fba[_0x34d04c(0x322)]()[_0x34d04c(0x418)]('__')))[_0x34d04c(0x519)](async _0x40b74c=>{const _0x39d475=_0x34d04c,_0x4668c7=_0x40b74c[_0x39d475(0x322)](),_0x52892d=await this[_0x39d475(0x474)](_0x4668c7);this[_0x39d475(0x3b4)][_0x39d475(0x3ff)](_0x52892d),this[_0x39d475(0x37a)]['set'](_0x4668c7,_0x52892d);}),_0x4e4735(this['_univerInstanceService'][_0x34d04c(0x39a)](_0x10a997[_0x34d04c(0x172)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x10a997[_0x34d04c(0x55b)]))['pipe'](_0x52fa59(this[_0x34d04c(0x492)]))[_0x34d04c(0x519)](_0x4210f3=>{const _0x2f9c8d=_0x34d04c,_0x4f2f7e=_0x4210f3[_0x2f9c8d(0x322)](),_0x4a03a1=this['_entities'][_0x2f9c8d(0x4f7)](_0x4f2f7e);_0x4a03a1&&(_0x4a03a1[_0x2f9c8d(0x4d2)](),this[_0x2f9c8d(0x37a)][_0x2f9c8d(0x3d8)](_0x4f2f7e));});}async['_startSheetCollabCursor'](_0x23395f){const _0x1b5474=_0x5bb7a4,_0x23de9f=await this[_0x1b5474(0x575)]['requireSession'](_0x23395f),_0x1dd677=this[_0x1b5474(0x338)][_0x1b5474(0x30c)](rs,_0x23395f,_0x23de9f);return _0x1dd677['init'](),_0x1dd677;}async['_startDocCollabCursor'](_0x2afd6a){const _0x2920ba=_0x5bb7a4,_0x2fd856=await this[_0x2920ba(0x575)][_0x2920ba(0x2c7)](_0x2afd6a),_0x324109=this[_0x2920ba(0x338)][_0x2920ba(0x30c)](ns,_0x2afd6a,_0x2fd856);return _0x324109[_0x2920ba(0x1d6)](),_0x324109;}};Ve=$o([$t(0x0,_0x2e0534),$t(0x1,_0x22a3e1(_0x4c5160)),$t(0x2,_0x22a3e1(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x3913c0,_0x5ba156){const _0x869cc5=_0x5bb7a4;let {radius:_0x1bcf54,width:_0x18f252,height:_0xf50ddb}=_0x5ba156;_0x1bcf54=_0x1bcf54!=null?_0x1bcf54:0x0,_0x18f252=_0x18f252!=null?_0x18f252:0x1e,_0xf50ddb=_0xf50ddb!=null?_0xf50ddb:0x1e;let _0x1ce913=0x0,_0x25036f=0x0,_0x499977=0x0;_0x1ce913=_0x25036f=_0x499977=Math[_0x869cc5(0x443)](_0x1bcf54,_0x18f252/0x2,_0xf50ddb/0x2),_0x3913c0[_0x869cc5(0x336)](),_0x3913c0[_0x869cc5(0x4d4)](_0x1ce913,0x0),_0x3913c0[_0x869cc5(0x463)](_0x18f252-_0x25036f,0x0),_0x3913c0[_0x869cc5(0x449)](_0x18f252-_0x25036f,_0x25036f,_0x25036f,Math['PI']*0x3/0x2,0x0,!0x1),_0x3913c0[_0x869cc5(0x463)](_0x18f252,_0xf50ddb-_0x499977),_0x3913c0['arc'](_0x18f252-_0x499977,_0xf50ddb-_0x499977,_0x499977,0x0,Math['PI']/0x2,!0x1),_0x3913c0[_0x869cc5(0x463)](0x0,_0xf50ddb),_0x3913c0[_0x869cc5(0x463)](0x0,_0x1ce913),_0x3913c0[_0x869cc5(0x449)](_0x1ce913,_0x1ce913,_0x1ce913,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3913c0[_0x869cc5(0x3f2)](),_0x5ba156['fill']&&(_0x3913c0[_0x869cc5(0x33e)](),_0x3913c0[_0x869cc5(0x434)]=_0x5ba156[_0x869cc5(0x31c)],_0x5ba156[_0x869cc5(0x385)]===_0x869cc5(0x4ea)?_0x3913c0[_0x869cc5(0x31c)](_0x869cc5(0x4ea)):_0x3913c0[_0x869cc5(0x31c)](),_0x3913c0[_0x869cc5(0x574)]());}class yt extends _0x4b8d3f{constructor(_0x4a0347,_0x537e57){const _0xaeffb4=_0x5bb7a4;super(_0x4a0347,_0x537e57),g(this,_0xaeffb4(0x203)),g(this,_0xaeffb4(0x353)),(this['color']=_0x537e57==null?void 0x0:_0x537e57[_0xaeffb4(0x203)],this['text']=_0x537e57==null?void 0x0:_0x537e57[_0xaeffb4(0x353)]);}static[_0x5bb7a4(0x202)](_0xeeb684,_0x62adbf){const _0x95e8df=_0x5bb7a4,{text:_0x54a123,color:_0x476cda}=_0x62adbf;_0xeeb684[_0x95e8df(0x33e)](),_0xeeb684[_0x95e8df(0x3db)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xf8a811=_0xeeb684[_0x95e8df(0x38a)](_0x54a123)['width'],_0x337eb6=Math[_0x95e8df(0x443)](_0xf8a811+0x2*Ht,Ys);jo(_0xeeb684,{'height':nt,'radius':0x4,'width':_0x337eb6,'fill':_0x476cda,'evented':!0x1}),_0xeeb684[_0x95e8df(0x434)]=_0x95e8df(0x250);const _0x24fe7c=Ht,_0x75454b=nt-Ho,_0x214369=Ys-0x2*Ht;if(_0xf8a811>_0x214369){let _0x4a1f1f='',_0x2c0145=0x0;for(const _0x2270dd of _0x54a123){const _0x116813=_0xeeb684[_0x95e8df(0x38a)](_0x2270dd)['width'];if(_0x2c0145+_0x116813<=_0x214369-_0xeeb684[_0x95e8df(0x38a)](_0x95e8df(0x254))['width'])_0x4a1f1f+=_0x2270dd,_0x2c0145+=_0x116813;else{_0x4a1f1f+=_0x95e8df(0x254);break;}}_0xeeb684[_0x95e8df(0x1de)](_0x4a1f1f,_0x24fe7c,_0x75454b);}else _0xeeb684['fillText'](_0x54a123,_0x24fe7c,_0x75454b);_0xeeb684[_0x95e8df(0x574)]();}[_0x5bb7a4(0x3c7)](_0x414f40){yt['drawWith'](_0x414f40,this);}}const jt=_0x5bb7a4(0x53c),Bo='collab-text-range-',ko=_0x5bb7a4(0x4fd),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x5bb7a4(0x2de);class Ks{constructor(_0x5d0310,_0x5f10ef,_0x3512b1,_0x265d12){const _0x167a7e=_0x5bb7a4;g(this,_0x167a7e(0x381),[]),g(this,_0x167a7e(0x4c6),null),g(this,_0x167a7e(0x473),null),g(this,_0x167a7e(0x51f),null),g(this,'_hideTimer',null),g(this,'_eventUnsubscribe',null),(this[_0x167a7e(0x2b9)]=_0x5d0310,this[_0x167a7e(0x4d0)]=_0x5f10ef,this['_docSkeleton']=_0x3512b1,this['_document']=_0x265d12,this[_0x167a7e(0x21b)]());}set[_0x5bb7a4(0x363)](_0x1d85b4){const _0x4dc5cf=_0x5bb7a4;_0x1d85b4?(this[_0x4dc5cf(0x51f)]&&this[_0x4dc5cf(0x51f)]['hide'](),this[_0x4dc5cf(0x473)]&&this['_textBubble'][_0x4dc5cf(0x18e)]()):(this[_0x4dc5cf(0x51f)]&&this[_0x4dc5cf(0x51f)][_0x4dc5cf(0x18e)](),this[_0x4dc5cf(0x473)]&&this[_0x4dc5cf(0x473)]['hide']());}[_0x5bb7a4(0x4d2)](){const _0x10a3a9=_0x5bb7a4;for(const _0x4e227c of this[_0x10a3a9(0x381)])_0x4e227c[_0x10a3a9(0x4d2)]();this[_0x10a3a9(0x473)]&&this[_0x10a3a9(0x473)]['dispose'](),this[_0x10a3a9(0x51f)]&&this[_0x10a3a9(0x51f)][_0x10a3a9(0x4d2)](),this['_anchor']&&this[_0x10a3a9(0x4c6)][_0x10a3a9(0x4d2)](),this[_0x10a3a9(0x530)]&&this[_0x10a3a9(0x530)]();}[_0x5bb7a4(0x21b)](){const _0x5ce196=_0x5bb7a4;var _0x3c3304;const {_docSkeleton:_0x38a756,_document:_0x5c57d0}=this,{color:_0x530b50,name:_0x1babbc,ranges:_0x2cfdf3}=this[_0x5ce196(0x2b9)],_0x4b5f87=_0x5c57d0[_0x5ce196(0x1a7)](),{docsLeft:_0x3aba6d,docsTop:_0x1494ca}=_0x4b5f87,_0x402c4c=new _0x1e2d34(_0x4b5f87,_0x38a756);for(const {startOffset:_0x2d93b5,endOffset:_0x1fa160,rangeType:_0x2bd11b,segmentId:_0x42ba0e,segmentPage:_0x43dc4a,collapsed:_0x39951b,isActive:_0x102b7f}of _0x2cfdf3){const _0x56f8f7=_0x38a756['findNodePositionByCharIndex'](_0x2d93b5,!0x0,_0x42ba0e,_0x43dc4a);let _0xcd1851=_0x38a756[_0x5ce196(0x199)](_0x1fa160,!0x0,_0x42ba0e,_0x43dc4a);if(_0xcd1851==null&&(_0xcd1851=_0x38a756[_0x5ce196(0x199)](_0x1fa160-0x1,!0x1,_0x42ba0e,_0x43dc4a)),_0x102b7f){const {contentBoxPointGroup:_0x146e60}=_0x402c4c['getRangePointData'](_0xcd1851,_0xcd1851);if(_0x146e60[_0x5ce196(0x282)]===0x0)continue;this[_0x5ce196(0x4b4)](_0x530b50,_0x146e60,_0x3aba6d,_0x1494ca,_0x1babbc),this[_0x5ce196(0x530)]=this[_0x5ce196(0x46c)]();}if(_0x56f8f7&&_0xcd1851){if(_0x2bd11b===_0x569c02[_0x5ce196(0x503)]){const _0x2e8197=new _0x2b0059(_0x4b5f87,_0x38a756),{pointGroup:_0x2bef27}=(_0x3c3304=_0x2e8197[_0x5ce196(0x486)](_0x56f8f7,_0xcd1851))!=null?_0x3c3304:{};if(_0x2bef27==null||_0x2bef27[_0x5ce196(0x282)]===0x0)continue;this[_0x5ce196(0x4d7)](_0x530b50,_0x2bef27,_0x3aba6d,_0x1494ca);}else{if(!_0x39951b){const {borderBoxPointGroup:_0x262f4b}=_0x402c4c['getRangePointData'](_0x56f8f7,_0xcd1851);if(_0x262f4b[_0x5ce196(0x282)]===0x0)continue;this['_drawTextRange'](_0x530b50,_0x262f4b,_0x3aba6d,_0x1494ca);}}}}}[_0x5bb7a4(0x4b4)](_0xb77195,_0x12a0e2,_0x2c4945,_0x5942c5,_0x5b3215){const _0x75c254=_0x5bb7a4,_0x362d6b=this[_0x75c254(0x514)](_0x12a0e2),{left:_0xd25268,top:_0x41018a,height:_0x48ea1b}=_0x362d6b,_0x8115ae=this['_getScale'](),_0x5bb250=Fo/_0x8115ae,_0x5bd119=new _0x4214fc(jt+_0x41d014[_0x75c254(0x4d1)](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5,'height':_0x48ea1b,'width':Wo,'fill':_0xb77195||_0x140980(_0x593100[_0x75c254(0x1c2)],0x0),'strokeWidth':_0x5bb250,'stroke':Vo,'evented':!0x0});this[_0x75c254(0x4c6)]=_0x5bd119,this[_0x75c254(0x4d0)]['addObject'](_0x5bd119,_0x417fa9);const _0x445739=new _0x4214fc(jt+_0x41d014['generateRandomId'](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5-Bt/0x2,'height':Bt,'width':Bt,'fill':_0xb77195||_0x140980(_0x593100[_0x75c254(0x1c2)],0x0),'strokeWidth':0x0,'stroke':_0xb77195||_0x140980(_0x593100['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x445739,this['_scene'][_0x75c254(0x45b)](_0x445739,_0x417fa9);const _0x1ec620=new yt(jt+_0x41d014['generateRandomId'](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5-nt,'text':_0x5b3215,'color':_0xb77195});this[_0x75c254(0x473)]=_0x1ec620,this[_0x75c254(0x4d0)][_0x75c254(0x45b)](_0x1ec620,_0x417fa9),this['_hover']=!0x1;}[_0x5bb7a4(0x46c)](){const _0x52149c=_0x5bb7a4,_0x15ad9f=this['_anchor'][_0x52149c(0x26a)][_0x52149c(0x3b2)](()=>{const _0x62338c=_0x52149c;this[_0x62338c(0x363)]=!0x0;}),_0x4e478b=this[_0x52149c(0x4c6)][_0x52149c(0x33c)][_0x52149c(0x3b2)](()=>{const _0x2b812b=_0x52149c;this[_0x2b812b(0x2f8)]&&clearTimeout(this[_0x2b812b(0x2f8)]),this[_0x2b812b(0x2f8)]=setTimeout(()=>{const _0x23d42d=_0x2b812b;this[_0x23d42d(0x363)]=!0x1;},0x7d0);});return()=>{const _0x2a8a60=_0x52149c;_0x15ad9f[_0x2a8a60(0x1e1)](),_0x4e478b[_0x2a8a60(0x1e1)]();};}[_0x5bb7a4(0x228)](_0x10526e,_0x410434,_0x208d52,_0xc9503b){const _0x542d38=_0x5bb7a4,_0x1892b8=new _0x589dec(_0x10526e)['setAlpha'](0.2)[_0x542d38(0x3cd)](),_0x32c9bf=new _0x18606b(Bo+_0x41d014[_0x542d38(0x4d1)](Je),{'pointsGroup':_0x410434,'fill':_0x1892b8||_0x140980(_0x593100[_0x542d38(0x1c2)],0.2),'left':_0x208d52,'top':_0xc9503b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x542d38(0x381)][_0x542d38(0x433)](_0x32c9bf),this[_0x542d38(0x4d0)][_0x542d38(0x45b)](_0x32c9bf,_0x417fa9);}[_0x5bb7a4(0x4d7)](_0x2256d4,_0x206c4e,_0x32457f,_0x5035a1){const _0x487485=_0x5bb7a4,_0x3dc950=new _0x589dec(_0x2256d4)[_0x487485(0x350)](0.2)[_0x487485(0x3cd)](),_0x3de543=new _0x18606b(ko+_0x41d014[_0x487485(0x4d1)](Je),{'pointsGroup':_0x206c4e,'fill':_0x3dc950||_0x140980(_0x593100[_0x487485(0x1c2)],0.2),'left':_0x32457f,'top':_0x5035a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x487485(0x381)][_0x487485(0x433)](_0x3de543),this[_0x487485(0x4d0)][_0x487485(0x45b)](_0x3de543,_0x417fa9);}[_0x5bb7a4(0x514)](_0x37d692){const _0x361f39=_0x37d692[0x0],_0x343179=_0x361f39[0x0],_0x2cbee5=_0x361f39[0x2],{x:_0x3ae4ee,y:_0xa6928f}=_0x343179,{x:_0xfc65c4,y:_0x53e145}=_0x2cbee5;return{'left':_0x3ae4ee,'top':_0xa6928f,'width':_0xfc65c4-_0x3ae4ee,'height':_0x53e145-_0xa6928f};}[_0x5bb7a4(0x25c)](){const _0x3ad69c=_0x5bb7a4,{scaleX:_0x4e94ce,scaleY:_0x55bc90}=this['_scene'][_0x3ad69c(0x1c0)]();return Math[_0x3ad69c(0x173)](_0x4e94ce,_0x55bc90);}}var Go=Object['defineProperty'],Yo=Object[_0x5bb7a4(0x4e4)],Ko=(_0xf18326,_0x572cb6,_0x303802,_0x757047)=>{for(var _0x5a1c5f=_0x757047>0x1?void 0x0:_0x757047?Yo(_0x572cb6,_0x303802):_0x572cb6,_0x507f21=_0xf18326['length']-0x1,_0x5fef69;_0x507f21>=0x0;_0x507f21--)(_0x5fef69=_0xf18326[_0x507f21])&&(_0x5a1c5f=(_0x757047?_0x5fef69(_0x572cb6,_0x303802,_0x5a1c5f):_0x5fef69(_0x5a1c5f))||_0x5a1c5f);return _0x757047&&_0x5a1c5f&&Go(_0x572cb6,_0x303802,_0x5a1c5f),_0x5a1c5f;},ct=(_0x4d096b,_0x5c7fbe)=>(_0x5a4b0d,_0x56d7d0)=>_0x5c7fbe(_0x5a4b0d,_0x56d7d0,_0x4d096b);let os=class extends _0x177a9e{constructor(_0x503d59,_0x4f60e0,_0x1fdcd7,_0x210a56,_0x122f26){const _0x2dfb0f=_0x5bb7a4;super(),g(this,_0x2dfb0f(0x44a),[]),g(this,'_cursors',[]),(this[_0x2dfb0f(0x265)]=_0x503d59,this[_0x2dfb0f(0x4ee)]=_0x4f60e0,this[_0x2dfb0f(0x334)]=_0x1fdcd7,this[_0x2dfb0f(0x53f)]=_0x210a56,this[_0x2dfb0f(0x2b0)]=_0x122f26,this[_0x2dfb0f(0x515)]());}[_0x5bb7a4(0x515)](){const _0x281e9e=_0x5bb7a4,_0x14d274=this['_context']['unitId'],_0x4ce9ab=this[_0x281e9e(0x4ee)];this[_0x281e9e(0x368)](_0x4753e6([this['_collabCursorController']['getCollabCursors$'](_0x14d274),this[_0x281e9e(0x2b0)][_0x281e9e(0x356)]])[_0x281e9e(0x3f1)](_0x17141f(([_0x3350ca,_0x393eaa])=>({'skeleton':_0x4ce9ab['getSkeleton'](),'cursors':[..._0x3350ca[_0x281e9e(0x2d6)]()][_0x281e9e(0x401)](_0x2598b6=>({..._0x2598b6,'color':_0x393eaa[_0x2598b6[_0x281e9e(0x203)]]}))})))[_0x281e9e(0x519)](_0x410027=>{const _0x414021=_0x281e9e;if(this[_0x414021(0x2ec)](),_0x410027){const {skeleton:_0x403dfb,cursors:_0x5363e3}=_0x410027;this[_0x414021(0x52a)](_0x403dfb,_0x5363e3);}})),this[_0x281e9e(0x45c)](),this[_0x281e9e(0x354)]();}[_0x5bb7a4(0x52a)](_0x2294e2,_0x5c3f10){const _0x299820=_0x5bb7a4,{scene:_0x4c1995,mainComponent:_0x149da9}=this[_0x299820(0x265)],_0x550d15=_0x5c3f10[_0x299820(0x2c9)](_0x317935=>new Ks(_0x317935,_0x4c1995,_0x2294e2,_0x149da9));this[_0x299820(0x44a)]=_0x550d15,this['_cursors']=_0x5c3f10;}[_0x5bb7a4(0x488)](){const _0x213620=_0x5bb7a4;this[_0x213620(0x2ec)]();const {scene:_0x5a0d98,mainComponent:_0x5f3117}=this[_0x213620(0x265)],_0x978b86=this['_docSkeletonManagerService'][_0x213620(0x535)](),_0x7d98d9=this['_cursors']['map'](_0x1d9a98=>new Ks(_0x1d9a98,_0x5a0d98,_0x978b86,_0x5f3117));this[_0x213620(0x44a)]=_0x7d98d9;}['_removeCollabCursors'](){const _0x20e201=_0x5bb7a4;this[_0x20e201(0x44a)][_0x20e201(0x312)](_0xf68f90=>_0xf68f90[_0x20e201(0x4d2)]()),this[_0x20e201(0x44a)]=[];}[_0x5bb7a4(0x354)](){const _0x12bed0=_0x5bb7a4,_0x876d84=[_0x595dd4['id']];this[_0x12bed0(0x368)](this['_commandService'][_0x12bed0(0x498)](_0x3bc9dc=>{const _0xc2519a=_0x12bed0;_0x876d84[_0xc2519a(0x21c)](_0x3bc9dc['id'])&&_0x3bc9dc[_0xc2519a(0x3d9)][_0xc2519a(0x55d)]===this[_0xc2519a(0x265)][_0xc2519a(0x55d)]&&this[_0xc2519a(0x488)]();}));}[_0x5bb7a4(0x45c)](){const _0x32da2d=_0x5bb7a4;this[_0x32da2d(0x368)](_0x3a7a27(this[_0x32da2d(0x265)][_0x32da2d(0x48d)][_0x32da2d(0x3d7)])[_0x32da2d(0x3f1)](_0x5a0a20(_0x39d97f=>_0x39d97f['type']===_0x2c9396['resize']),_0x3fef40(0x10))[_0x32da2d(0x519)](()=>{const _0x3ab375=_0x32da2d;this[_0x3ab375(0x488)]();}));}};os=Ko([ct(0x1,_0x22a3e1(_0x386ab1)),ct(0x2,_0x22a3e1(Ve)),ct(0x3,_0x1e58f0),ct(0x4,_0x22a3e1(_0x58be32))],os);const zo=0x1,qo=1.5;class Xo extends _0x4b8d3f{constructor(_0xa6a5a3,_0x3f913b){const _0x1ad06b=_0x5bb7a4;super(_0xa6a5a3,_0x3f913b),g(this,_0x1ad06b(0x4e3)),g(this,'_hovered',!0x1),g(this,_0x1ad06b(0x2d4)),g(this,'_name',''),g(this,_0x1ad06b(0x278),'top'),g(this,_0x1ad06b(0x2ea)),(_0x3f913b&&this[_0x1ad06b(0x357)](_0x3f913b),this[_0x1ad06b(0x26a)][_0x1ad06b(0x3b2)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x1ad06b(0x3b2)](()=>this[_0x1ad06b(0x357)]({'hovered':!0x1})));}[_0x5bb7a4(0x357)](_0x356795){const _0x48bd70=_0x5bb7a4;var _0x7acc20,_0x1b4949,_0x5dfa44,_0x2e45d2,_0x576bfa,_0x5504f7;this[_0x48bd70(0x4e3)]=(_0x7acc20=_0x356795[_0x48bd70(0x203)])!=null?_0x7acc20:this['_color'],this[_0x48bd70(0x2d9)]=(_0x1b4949=_0x356795[_0x48bd70(0x3b7)])!=null?_0x1b4949:this['_hovered'],this['_range']=(_0x5dfa44=_0x356795[_0x48bd70(0x2da)])!=null?_0x5dfa44:this['_range'],this[_0x48bd70(0x527)]=(_0x2e45d2=_0x356795[_0x48bd70(0x408)])!=null?_0x2e45d2:this[_0x48bd70(0x527)],this[_0x48bd70(0x278)]=(_0x576bfa=_0x356795['labelPosition'])!=null?_0x576bfa:this[_0x48bd70(0x278)],this['_backgroundColor']=(_0x5504f7=_0x356795[_0x48bd70(0x244)])!=null?_0x5504f7:this[_0x48bd70(0x2ea)],this['transformByState']({'width':_0x356795[_0x48bd70(0x1ea)],'height':_0x356795[_0x48bd70(0x38f)]});}[_0x5bb7a4(0x32a)](_0x389391){const _0x4f7103=_0x5bb7a4,{row:_0x9f3475,column:_0x15d5cc}=_0x389391;if(_0x9f3475>=this['_range']['startRow']&&_0x9f3475<=this[_0x4f7103(0x2d4)]['endRow']&&_0x15d5cc>=this[_0x4f7103(0x2d4)][_0x4f7103(0x249)]&&_0x15d5cc<=this[_0x4f7103(0x2d4)][_0x4f7103(0x290)]){this[_0x4f7103(0x357)]({'hovered':!0x0});return;}this[_0x4f7103(0x357)]({'hovered':!0x1});}[_0x5bb7a4(0x3ed)](_0x49b6c1){return!0x1;}['_draw'](_0x3cc42a){const _0x588a1e=_0x5bb7a4;_0x4214fc[_0x588a1e(0x202)](_0x3cc42a,{'width':this['width'],'height':this[_0x588a1e(0x38f)],'strokeWidth':qo,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x588a1e(0x2d9)]&&(_0x3cc42a['save'](),_0x3cc42a['transform'](0x1,0x0,0x0,0x1,this[_0x588a1e(0x1ea)],this['_labelPosition']===_0x588a1e(0x1aa)?0x0:-nt),yt[_0x588a1e(0x202)](_0x3cc42a,{'text':this[_0x588a1e(0x527)],'color':this[_0x588a1e(0x4e3)]}),_0x3cc42a['restore']());}}var Jo=Object['defineProperty'],Zo=Object[_0x5bb7a4(0x4e4)],Qo=(_0x1f9582,_0x1980f6,_0x5304f7,_0x31bfe5)=>{const _0x6fdabd=_0x5bb7a4;for(var _0x4e053f=_0x31bfe5>0x1?void 0x0:_0x31bfe5?Zo(_0x1980f6,_0x5304f7):_0x1980f6,_0x1a85ab=_0x1f9582[_0x6fdabd(0x282)]-0x1,_0x2da638;_0x1a85ab>=0x0;_0x1a85ab--)(_0x2da638=_0x1f9582[_0x1a85ab])&&(_0x4e053f=(_0x31bfe5?_0x2da638(_0x1980f6,_0x5304f7,_0x4e053f):_0x2da638(_0x4e053f))||_0x4e053f);return _0x31bfe5&&_0x4e053f&&Jo(_0x1980f6,_0x5304f7,_0x4e053f),_0x4e053f;},kt=(_0x27ddcd,_0x5ef171)=>(_0x4bd639,_0x2b76ee)=>_0x5ef171(_0x4bd639,_0x2b76ee,_0x27ddcd);const ea=0x1389;let as=class extends _0x177a9e{constructor(_0x2a7c4f,_0x1bf540,_0x5f0fad,_0x346ef4){const _0x428baa=_0x5bb7a4;super(),g(this,_0x428baa(0x1cc),new Set()),g(this,'_lastPointer',null),(this[_0x428baa(0x265)]=_0x2a7c4f,this[_0x428baa(0x1e9)]=_0x1bf540,this['_collabCursorController']=_0x5f0fad,this[_0x428baa(0x2b0)]=_0x346ef4,this[_0x428baa(0x515)]());}[_0x5bb7a4(0x515)](){const _0x2b0769=_0x5bb7a4;this[_0x2b0769(0x1e9)][_0x2b0769(0x436)]['pipe'](_0x216286(this[_0x2b0769(0x492)]),_0x58ad60(_0x1abddb=>{const _0x1afc96=_0x2b0769;if(_0x1abddb){const _0xff6a8f=_0x1abddb['sheetId'];return _0x4753e6(this['_collabCursorController'][_0x1afc96(0x198)](this[_0x1afc96(0x265)]['unitId']),this[_0x1afc96(0x2b0)][_0x1afc96(0x356)])[_0x1afc96(0x3f1)](_0x17141f(([_0x18fd07,_0x424239])=>{const _0x5d8696=_0x1afc96,_0x49b68d=new Map();return _0x18fd07[_0x5d8696(0x312)]((_0x90ead4,_0x5cea7b)=>{const _0x5336dc=_0x5d8696;if(_0x90ead4[_0x5336dc(0x326)]===_0xff6a8f){const _0x4ff1ee={..._0x90ead4};_0x4ff1ee[_0x5336dc(0x203)]=_0x424239[_0x90ead4[_0x5336dc(0x203)]],_0x49b68d[_0x5336dc(0x441)](_0x5cea7b,_0x4ff1ee);}}),{'skeleton':_0x1abddb,'cursors':_0x49b68d};}));}return _0x52cb6f({'skeleton':null,'cursors':new Map()});}))[_0x2b0769(0x519)](({skeleton:_0x463c8b,cursors:_0xc1fa53})=>{const _0x496807=_0x2b0769;this[_0x496807(0x2ec)](),_0x463c8b&&this[_0x496807(0x52a)](_0x463c8b,_0xc1fa53);}),this[_0x2b0769(0x1e9)][_0x2b0769(0x436)][_0x2b0769(0x519)](_0x1d71cc=>{const _0x2811b1=_0x2b0769;if(_0x1d71cc==null)return;const {skeleton:_0x41f81e}=_0x1d71cc,{scene:_0x10c8a6}=this[_0x2811b1(0x265)];_0x10c8a6[_0x2811b1(0x565)][_0x2811b1(0x3b2)](_0x47386f(_0x4f9e43=>{const _0x1cb191=_0x2811b1;var _0xc66290,_0x533132;const {offsetX:_0x299efb,offsetY:_0x15b925}=_0x4f9e43,{x:_0x3591d8,y:_0x4efcdf}=_0x10c8a6[_0x1cb191(0x31d)](_0x3af8ad[_0x1cb191(0x20b)]([_0x299efb,_0x15b925])),{scaleX:_0x89457d,scaleY:_0x4e107f}=_0x10c8a6[_0x1cb191(0x1c0)](),_0x36197b=_0x10c8a6[_0x1cb191(0x20c)](_0x4bafe5[_0x1cb191(0x4cb)]),_0x5b1455=_0x10c8a6[_0x1cb191(0x3df)](_0x3af8ad['FromArray']([_0x3591d8,_0x4efcdf]),_0x36197b),_0x2d000b=_0x41f81e[_0x1cb191(0x3cf)](_0x299efb,_0x15b925,_0x89457d,_0x4e107f,_0x5b1455);((_0xc66290=this[_0x1cb191(0x4d9)])==null?void 0x0:_0xc66290[_0x1cb191(0x396)])===_0x2d000b[_0x1cb191(0x396)]&&((_0x533132=this[_0x1cb191(0x4d9)])==null?void 0x0:_0x533132[_0x1cb191(0x53e)])===_0x2d000b[_0x1cb191(0x53e)]||this[_0x1cb191(0x1cc)]['forEach'](_0x2fff86=>{_0x2fff86['onMouseMove'](_0x2d000b);});},0x64));});}['_updateCollabCursors'](_0x1de0e6,_0x367334){const _0xdabc75=_0x5bb7a4;var _0x3dacef;const _0x283ea9=(_0x3dacef=this[_0xdabc75(0x1e9)]['getCurrent']())==null?void 0x0:_0x3dacef['skeleton'];if(!_0x283ea9)return;const _0x4377ea=this['_getSheetObject']();if(!_0x4377ea)return;this[_0xdabc75(0x1cc)]['forEach'](_0x340c38=>{const _0x2d7e0a=_0xdabc75;_0x340c38[_0x2d7e0a(0x44b)]();});const {scene:_0x3ae7ca}=_0x4377ea,_0x31cc2c=ta(Array[_0xdabc75(0x348)](_0x367334['values']()))[_0xdabc75(0x2c9)](_0x510c4a=>{const _0xad36a1=_0xdabc75,{color:_0x41b5ee,range:_0x449d1a,name:_0x58104b,selection:_0x2c382d,sheetID:_0x311a43}=_0x510c4a,{startColumn:_0x1c9e43,startRow:_0xa5f115,endColumn:_0x2eb382,endRow:_0x391a32}=_0x449d1a,_0x97121a=_0x5a0e3d(_0xa5f115,_0x1c9e43,_0x3ae7ca,_0x283ea9),_0x473595=_0x5a0e3d(_0x391a32,_0x2eb382,_0x3ae7ca,_0x283ea9),{columnHeaderHeightAndMarginTop:_0x4e1168}=_0x283ea9,{startX:_0x3a6319,startY:_0x19b4d7}=_0x97121a,{endX:_0xc67a61,endY:_0x1b2e27}=_0x473595,_0x2076ba=_0xc67a61-_0x3a6319,_0x450ede=_0x1b2e27-_0x19b4d7,_0xc95cd9={'labelPosition':_0x19b4d7-_0x4e1168>=nt?_0xad36a1(0x235):_0xad36a1(0x1aa),'sheetID':_0x311a43,'range':_0x449d1a,'color':_0x41b5ee,'name':_0x58104b,'selection':_0x2c382d,'left':_0x3a6319,'top':_0x19b4d7,'width':_0x2076ba,'height':_0x450ede,'evented':!0x1,'zIndex':ea};return new Xo(_0x58104b,_0xc95cd9);});_0x3ae7ca[_0xdabc75(0x1c8)](_0x31cc2c,zo),this[_0xdabc75(0x1cc)]=new Set(_0x31cc2c);}['_removeCollabCursors'](){const _0x8fe7c9=_0x5bb7a4;var _0x143fe2;(_0x143fe2=this[_0x8fe7c9(0x1cc)])==null||_0x143fe2[_0x8fe7c9(0x312)](_0x2d340b=>_0x2d340b[_0x8fe7c9(0x4d2)]());}[_0x5bb7a4(0x370)](){const _0x4ea631=_0x5bb7a4;return _0x1d2c70(this[_0x4ea631(0x265)][_0x4ea631(0x243)],this[_0x4ea631(0x265)]);}};as=Qo([kt(0x1,_0x22a3e1(_0x328715)),kt(0x2,_0x22a3e1(Ve)),kt(0x3,_0x22a3e1(_0x58be32))],as);function ta(_0x40e28a){const _0x5626f3=new Map();return _0x40e28a['forEach'](_0x589af5=>{const _0x573b8f=_0x4081;if(_0x5626f3['has'](_0x589af5[_0x573b8f(0x24a)])){const _0x1a96d1=_0x5626f3[_0x573b8f(0x4f7)](_0x589af5[_0x573b8f(0x24a)]);_0x1a96d1[_0x573b8f(0x408)]+=',\x20'+_0x589af5[_0x573b8f(0x408)];}else _0x5626f3[_0x573b8f(0x441)](_0x589af5['selection'],_0x589af5);}),Array['from'](_0x5626f3['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x2154fa){const _0x1e9693=_0x5bb7a4;return _0x2154fa&&_0x2154fa[_0x1e9693(0x206)]&&Object[_0x1e9693(0x423)]['hasOwnProperty']['call'](_0x2154fa,'default')?_0x2154fa[_0x1e9693(0x458)]:_0x2154fa;}var Mi={'exports':{}},Ot={},sa=_0x3fd601,ia=Symbol[_0x5bb7a4(0x2b1)](_0x5bb7a4(0x41e)),na=Symbol['for'](_0x5bb7a4(0x317)),ra=Object[_0x5bb7a4(0x423)][_0x5bb7a4(0x440)],oa=sa[_0x5bb7a4(0x3a0)]['ReactCurrentOwner'],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4081(_0x914906,_0x47fb9a){const _0x27da31=_0x27da();return _0x4081=function(_0x408197,_0x1a5ddf){_0x408197=_0x408197-0x163;let _0x5cf0f7=_0x27da31[_0x408197];return _0x5cf0f7;},_0x4081(_0x914906,_0x47fb9a);}function xi(_0x2275c3,_0x24211e,_0xc86925){const _0x8de65b=_0x5bb7a4;var _0x3157a0,_0x572745={},_0x588a4f=null,_0x47ef96=null;_0xc86925!==void 0x0&&(_0x588a4f=''+_0xc86925),_0x24211e[_0x8de65b(0x275)]!==void 0x0&&(_0x588a4f=''+_0x24211e['key']),_0x24211e[_0x8de65b(0x3a8)]!==void 0x0&&(_0x47ef96=_0x24211e[_0x8de65b(0x3a8)]);for(_0x3157a0 in _0x24211e)ra[_0x8de65b(0x1f6)](_0x24211e,_0x3157a0)&&!aa[_0x8de65b(0x440)](_0x3157a0)&&(_0x572745[_0x3157a0]=_0x24211e[_0x3157a0]);if(_0x2275c3&&_0x2275c3[_0x8de65b(0x346)]){for(_0x3157a0 in(_0x24211e=_0x2275c3['defaultProps'],_0x24211e))_0x572745[_0x3157a0]===void 0x0&&(_0x572745[_0x3157a0]=_0x24211e[_0x3157a0]);}return{'$$typeof':ia,'type':_0x2275c3,'key':_0x588a4f,'ref':_0x47ef96,'props':_0x572745,'_owner':oa[_0x8de65b(0x51a)]};}Ot[_0x5bb7a4(0x1d7)]=na,Ot[_0x5bb7a4(0x2fc)]=xi,Ot[_0x5bb7a4(0x28f)]=xi,Mi[_0x5bb7a4(0x236)]=Ot;var we=Mi['exports'],ee=function(){const _0xb8d2e4=_0x5bb7a4;return ee=Object['assign']||function(_0x19c61c){const _0x333a9d=_0x4081;for(var _0x4aa01a,_0x12c265=0x1,_0x16c363=arguments[_0x333a9d(0x282)];_0x12c265<_0x16c363;_0x12c265++){_0x4aa01a=arguments[_0x12c265];for(var _0x2aac17 in _0x4aa01a)Object[_0x333a9d(0x423)][_0x333a9d(0x440)][_0x333a9d(0x1f6)](_0x4aa01a,_0x2aac17)&&(_0x19c61c[_0x2aac17]=_0x4aa01a[_0x2aac17]);}return _0x19c61c;},ee[_0xb8d2e4(0x568)](this,arguments);},ca=function(_0x16d1c1,_0x54c826){const _0x4b2a6f=_0x5bb7a4;var _0x223824={};for(var _0x31bf36 in _0x16d1c1)Object[_0x4b2a6f(0x423)][_0x4b2a6f(0x440)][_0x4b2a6f(0x1f6)](_0x16d1c1,_0x31bf36)&&_0x54c826[_0x4b2a6f(0x41f)](_0x31bf36)<0x0&&(_0x223824[_0x31bf36]=_0x16d1c1[_0x31bf36]);if(_0x16d1c1!=null&&typeof Object['getOwnPropertySymbols']==_0x4b2a6f(0x4b8)){for(var _0x1e5156=0x0,_0x31bf36=Object[_0x4b2a6f(0x404)](_0x16d1c1);_0x1e5156<_0x31bf36['length'];_0x1e5156++)_0x54c826['indexOf'](_0x31bf36[_0x1e5156])<0x0&&Object['prototype'][_0x4b2a6f(0x499)][_0x4b2a6f(0x1f6)](_0x16d1c1,_0x31bf36[_0x1e5156])&&(_0x223824[_0x31bf36[_0x1e5156]]=_0x16d1c1[_0x31bf36[_0x1e5156]]);}return _0x223824;},Ts=_0x5ecf43(function(_0x1ddc40,_0x43b0c2){const _0xad23e0=_0x5bb7a4;var _0x5d28c5=_0x1ddc40[_0xad23e0(0x37c)],_0x1ee06b=_0x1ddc40['id'],_0xe5ef59=_0x1ddc40[_0xad23e0(0x375)],_0xeddec2=_0x1ddc40[_0xad23e0(0x187)],_0x461f45=ca(_0x1ddc40,[_0xad23e0(0x37c),'id',_0xad23e0(0x375),_0xad23e0(0x187)]),_0x706c0e='univerjs-icon\x20univerjs-icon-'[_0xad23e0(0x196)](_0x1ee06b,'\x20')[_0xad23e0(0x196)](_0xe5ef59||'')['trim'](),_0x7e2bf1=_0x37367c('_'[_0xad23e0(0x196)](_a()));return Li(_0x5d28c5,''[_0xad23e0(0x196)](_0x1ee06b),{'defIds':_0x5d28c5[_0xad23e0(0x563)],'idSuffix':_0x7e2bf1[_0xad23e0(0x51a)]},ee({'ref':_0x43b0c2,'className':_0x706c0e},_0x461f45),_0xeddec2);});function Li(_0x2b54ed,_0x52661d,_0x17e91e,_0x525d15,_0x101f34){const _0x3a17ba=_0x5bb7a4;return _0x438628(_0x2b54ed[_0x3a17ba(0x266)],ee(ee({'key':_0x52661d},ha(_0x2b54ed,_0x17e91e,_0x101f34)),_0x525d15),(la(_0x2b54ed,_0x17e91e)[_0x3a17ba(0x4e1)]||[])[_0x3a17ba(0x2c9)](function(_0x59ac71,_0x212c34){const _0x454abf=_0x3a17ba;return Li(_0x59ac71,''[_0x454abf(0x196)](_0x52661d,'-')['concat'](_0x2b54ed['tag'],'-')[_0x454abf(0x196)](_0x212c34),_0x17e91e,void 0x0,_0x101f34);}));}function ha(_0x1aab5c,_0x483250,_0xd2ea14){const _0x1eda34=_0x5bb7a4;var _0x43c9d3=ee({},_0x1aab5c['attrs']);_0xd2ea14!=null&&_0xd2ea14[_0x1eda34(0x4e9)]&&_0x43c9d3[_0x1eda34(0x31c)]===_0x1eda34(0x4e9)&&(_0x43c9d3['fill']=_0xd2ea14[_0x1eda34(0x4e9)]);var _0x1e27c6=_0x483250[_0x1eda34(0x563)];return!_0x1e27c6||_0x1e27c6[_0x1eda34(0x282)]===0x0||(_0x1aab5c[_0x1eda34(0x266)]==='use'&&_0x43c9d3[_0x1eda34(0x4af)]&&(_0x43c9d3[_0x1eda34(0x4af)]=_0x43c9d3[_0x1eda34(0x4af)]+_0x483250[_0x1eda34(0x1b2)]),Object[_0x1eda34(0x420)](_0x43c9d3)['forEach'](function(_0x1f9a1d){const _0x4394d6=_0x1eda34;var _0xd76ecd=_0x1f9a1d[0x0],_0x19c8f4=_0x1f9a1d[0x1];typeof _0x19c8f4==_0x4394d6(0x40c)&&(_0x43c9d3[_0xd76ecd]=_0x19c8f4[_0x4394d6(0x464)](/url\(#(.*)\)/,_0x4394d6(0x41b)[_0x4394d6(0x196)](_0x483250[_0x4394d6(0x1b2)],')')));})),_0x43c9d3;}function la(_0x4fd75b,_0x1e111e){const _0x21bee2=_0x5bb7a4;var _0x192017,_0x4906ea=_0x1e111e[_0x21bee2(0x563)];return!_0x4906ea||_0x4906ea['length']===0x0?_0x4fd75b:_0x4fd75b[_0x21bee2(0x266)]==='defs'&&(!((_0x192017=_0x4fd75b[_0x21bee2(0x4e1)])===null||_0x192017===void 0x0)&&_0x192017[_0x21bee2(0x282)])?ee(ee({},_0x4fd75b),{'children':_0x4fd75b[_0x21bee2(0x4e1)][_0x21bee2(0x2c9)](function(_0x4ab114){const _0x598800=_0x21bee2;return typeof _0x4ab114['attrs']['id']==_0x598800(0x40c)&&_0x4906ea&&_0x4906ea[_0x598800(0x41f)](_0x4ab114[_0x598800(0x4ce)]['id'])>-0x1?ee(ee({},_0x4ab114),{'attrs':ee(ee({},_0x4ab114[_0x598800(0x4ce)]),{'id':_0x4ab114[_0x598800(0x4ce)]['id']+_0x1e111e[_0x598800(0x1b2)]})}):_0x4ab114;})}):_0x4fd75b;}function _a(){const _0xf87ae6=_0x5bb7a4;return Math[_0xf87ae6(0x453)]()[_0xf87ae6(0x2e5)](0x24)[_0xf87ae6(0x4c8)](0x2,0x8);}Ts['displayName']=_0x5bb7a4(0x166);var ua={'tag':'svg','attrs':{'fill':'none','viewBox':_0x5bb7a4(0x4e5),'width':'1em','height':_0x5bb7a4(0x467)},'children':[{'tag':'g','attrs':{'clipPath':_0x5bb7a4(0x22d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5bb7a4(0x56b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5bb7a4(0x3de),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x5bb7a4(0x2a4),'d':_0x5bb7a4(0x1e4)}}]}]}],'defIds':['off-line-single_clip0_910_343']},$i=_0x5ecf43(function(_0x38344f,_0x5af1c9){const _0xef1f58=_0x5bb7a4;return _0x438628(Ts,Object['assign']({},_0x38344f,{'id':_0xef1f58(0x478),'ref':_0x5af1c9,'icon':ua}));});$i[_0x5bb7a4(0x493)]=_0x5bb7a4(0x333);var da={'tag':'svg','attrs':{'fill':_0x5bb7a4(0x1e6),'viewBox':_0x5bb7a4(0x26b),'width':_0x5bb7a4(0x467),'height':_0x5bb7a4(0x467)},'children':[{'tag':'g','attrs':{'clipPath':_0x5bb7a4(0x3c5)},'children':[{'tag':_0x5bb7a4(0x327),'attrs':{'stroke':_0x5bb7a4(0x2e7),'d':_0x5bb7a4(0x388),'strokeLinecap':'round','strokeLinejoin':_0x5bb7a4(0x3fe),'strokeWidth':1.2}}]},{'tag':_0x5bb7a4(0x484),'attrs':{},'children':[{'tag':_0x5bb7a4(0x3de),'attrs':{'id':_0x5bb7a4(0x500)},'children':[{'tag':_0x5bb7a4(0x327),'attrs':{'fill':_0x5bb7a4(0x2a4),'d':_0x5bb7a4(0x1e4),'transform':_0x5bb7a4(0x35c)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Hi=_0x5ecf43(function(_0x1bceb9,_0x26d5cb){const _0x16be8e=_0x5bb7a4;return _0x438628(Ts,Object[_0x16be8e(0x1a1)]({},_0x1bceb9,{'id':_0x16be8e(0x1ae),'ref':_0x26d5cb,'icon':da}));});Hi[_0x5bb7a4(0x493)]=_0x5bb7a4(0x1da);function ji(_0x208658){const _0x1a10a9=_0x5bb7a4;var _0x37935d,_0x4bc55f,_0x208756='';if(typeof _0x208658==_0x1a10a9(0x40c)||typeof _0x208658==_0x1a10a9(0x2fb))_0x208756+=_0x208658;else{if(typeof _0x208658==_0x1a10a9(0x4a3)){if(Array[_0x1a10a9(0x2f4)](_0x208658)){var _0x40580e=_0x208658[_0x1a10a9(0x282)];for(_0x37935d=0x0;_0x37935d<_0x40580e;_0x37935d++)_0x208658[_0x37935d]&&(_0x4bc55f=ji(_0x208658[_0x37935d]))&&(_0x208756&&(_0x208756+='\x20'),_0x208756+=_0x4bc55f);}else{for(_0x4bc55f in _0x208658)_0x208658[_0x4bc55f]&&(_0x208756&&(_0x208756+='\x20'),_0x208756+=_0x4bc55f);}}}return _0x208756;}function fa(){for(var _0x342903,_0x195980,_0x38a75f=0x0,_0x257654='',_0xbcf8bb=arguments['length'];_0x38a75f<_0xbcf8bb;_0x38a75f++)(_0x342903=arguments[_0x38a75f])&&(_0x195980=ji(_0x342903))&&(_0x257654&&(_0x257654+='\x20'),_0x257654+=_0x195980);return _0x257654;}const va=_0x5bb7a4(0x18f),ma=_0x5bb7a4(0x1d1),pa=_0x5bb7a4(0x56f),ga='univer-online',Sa=_0x5bb7a4(0x261),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x328188){const _0x34e287=_0x5bb7a4;switch(_0x328188){case J[_0x34e287(0x23a)]:return _0x34e287(0x32d);case J[_0x34e287(0x287)]:return'collabStatus.conflict';case J[_0x34e287(0x40b)]:return _0x34e287(0x41c);case J['NOT_COLLAB']:return _0x34e287(0x470);case J[_0x34e287(0x2f3)]:case J[_0x34e287(0x256)]:return _0x34e287(0x185);case J[_0x34e287(0x50e)]:case J['PENDING']:return _0x34e287(0x28c);}}function Ca(_0x324751){const _0x1f906d=_0x5bb7a4,{status$:_0x2fb4fd}=_0x324751,_0x35432d=_0x3b686f(_0x2fb4fd,J['NOT_COLLAB']),_0x33eac8=_0xe664fe(_0x1fdc1b),_0xb4f404=_0xe664fe(Ae),_0x55a547=_0x35432d!==J[_0x1f906d(0x23a)],_0x27ae9c=_0x33eac8['t'](Ia(_0x35432d)),_0x1aede2=fa(Ze[_0x1f906d(0x221)],{[Ze[_0x1f906d(0x26d)]]:_0x55a547,[Ze['offline']]:!_0x55a547}),_0x29971f=_0x55a547?we[_0x1f906d(0x2fc)](Hi,{}):we[_0x1f906d(0x2fc)]($i,{}),_0x2047d=_0x1f3798(()=>{_0x55a547||_0xb4f404['reconnect']();},[_0x55a547,_0xb4f404]);function _0x23919d(){const _0x7af87a=_0x1f906d;return we[_0x7af87a(0x28f)]('div',{'className':_0x1aede2,'onClick':_0x2047d,'children':[we[_0x7af87a(0x2fc)](_0x7af87a(0x28e),{'className':Ze[_0x7af87a(0x4c2)],'children':_0x29971f}),we['jsx'](_0x7af87a(0x28e),{'className':Ze[_0x7af87a(0x321)],'children':_0x27ae9c})]});}return _0x55a547?_0x23919d():we[_0x1f906d(0x2fc)](_0x4f930e,{'title':_0x33eac8['t'](_0x1f906d(0x1e8)),'children':_0x23919d()});}var Ea=Object[_0x5bb7a4(0x42b)],ba=Object[_0x5bb7a4(0x4e4)],Ta=(_0x245122,_0x1d38d9,_0x19deda,_0x2c19f6)=>{const _0x5d4d8a=_0x5bb7a4;for(var _0x361528=_0x2c19f6>0x1?void 0x0:_0x2c19f6?ba(_0x1d38d9,_0x19deda):_0x1d38d9,_0x46f6c9=_0x245122[_0x5d4d8a(0x282)]-0x1,_0x521453;_0x46f6c9>=0x0;_0x46f6c9--)(_0x521453=_0x245122[_0x46f6c9])&&(_0x361528=(_0x2c19f6?_0x521453(_0x1d38d9,_0x19deda,_0x361528):_0x521453(_0x361528))||_0x361528);return _0x2c19f6&&_0x361528&&Ea(_0x1d38d9,_0x19deda,_0x361528),_0x361528;},ht=(_0x51812c,_0x5a060f)=>(_0x365065,_0x52414b)=>_0x5a060f(_0x365065,_0x52414b,_0x51812c);let St=class extends _0x1caa36{constructor(_0x1a6489,_0xaba21b,_0x291629,_0x4dfdfd){const _0x294a65=_0x5bb7a4;super(),g(this,_0x294a65(0x281),new _0x348a88(J[_0x294a65(0x410)])),(this[_0x294a65(0x21d)]=_0x1a6489,this[_0x294a65(0x47e)]=_0xaba21b,this['_injector']=_0x291629,this[_0x294a65(0x471)]=_0x4dfdfd,this[_0x294a65(0x1cb)](),this['_initStatusListener']());}[_0x5bb7a4(0x4f3)](){const _0x2bbbd4=_0x5bb7a4;this[_0x2bbbd4(0x368)](this['_univerInstanceService']['focused$'][_0x2bbbd4(0x3f1)](_0x1e3e59(()=>{const _0xa6a18d=_0x2bbbd4,_0x51f6e0=this[_0xa6a18d(0x21d)][_0xa6a18d(0x1dd)]();return _0x51f6e0?this[_0xa6a18d(0x471)][_0xa6a18d(0x42f)](_0x51f6e0[_0xa6a18d(0x322)]()):_0x52cb6f(null);}),_0x1e3e59(_0x485493=>_0x485493?_0x485493['status$']:_0x52cb6f(J['NOT_COLLAB'])))[_0x2bbbd4(0x519)](_0x56d5c6=>{const _0x374e07=_0x2bbbd4;this[_0x374e07(0x281)][_0x374e07(0x3ff)](_0x56d5c6);}));}['_initStatusComponent'](){const _0x495557=_0x5bb7a4;this['disposeWithMe'](this[_0x495557(0x47e)]['registerComponent'](_0x5b1713[_0x495557(0x539)],()=>_0x3048e7(Ra({'status$':this[_0x495557(0x281)][_0x495557(0x1a6)]()}),this[_0x495557(0x338)])));}};St=Ta([ht(0x0,_0x2e0534),ht(0x1,_0x2cb103),ht(0x2,_0x22a3e1(_0x4c5160)),ht(0x3,_0x22a3e1(it))],St);function Ra(_0x15b711){const {status$:_0x26a141}=_0x15b711;return function(){return we['jsx'](Ca,{'status$':_0x26a141});};}const Bi=_0x5ce9a5('uni.network.url-service');var ya=Object[_0x5bb7a4(0x42b)],Oa=Object[_0x5bb7a4(0x4e4)],wa=(_0x41be83,_0x48acb7,_0x7c0ee7,_0x5bac1d)=>{const _0x3acb84=_0x5bb7a4;for(var _0x1c9aee=_0x5bac1d>0x1?void 0x0:_0x5bac1d?Oa(_0x48acb7,_0x7c0ee7):_0x48acb7,_0x3ab693=_0x41be83[_0x3acb84(0x282)]-0x1,_0x3b73fb;_0x3ab693>=0x0;_0x3ab693--)(_0x3b73fb=_0x41be83[_0x3ab693])&&(_0x1c9aee=(_0x5bac1d?_0x3b73fb(_0x48acb7,_0x7c0ee7,_0x1c9aee):_0x3b73fb(_0x1c9aee))||_0x1c9aee);return _0x5bac1d&&_0x1c9aee&&ya(_0x48acb7,_0x7c0ee7,_0x1c9aee),_0x1c9aee;},ke=(_0x3d4f4e,_0x54a35f)=>(_0x4448bc,_0x3141d6)=>_0x54a35f(_0x4448bc,_0x3141d6,_0x3d4f4e);let It=class extends _0x177a9e{constructor(_0x312bf0,_0xd155f6,_0x1c27cc,_0x2651c1,_0x38f438,_0x146be8){const _0x1d1980=_0x5bb7a4;super(),this[_0x1d1980(0x538)]=_0x312bf0,this[_0x1d1980(0x26e)]=_0xd155f6,this[_0x1d1980(0x53f)]=_0x1c27cc,this[_0x1d1980(0x46d)]=_0x2651c1,this[_0x1d1980(0x496)]=_0x38f438,_0x146be8?_0x146be8==null||_0x146be8['whenReady']()[_0x1d1980(0x40e)](()=>this[_0x1d1980(0x515)]()):(this[_0x1d1980(0x26e)][_0x1d1980(0x23c)](_0x1d1980(0x392),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x5bb7a4(0x515)](){const _0x5e03f0=_0x5bb7a4,_0x97d4ce=this[_0x5e03f0(0x538)][_0x5e03f0(0x325)](_0x5e03f0(0x243)),_0x24a475=this['_urlService'][_0x5e03f0(0x325)](_0x5e03f0(0x27e));if(!_0x97d4ce||!_0x24a475){this['_logService']['debug'](_0x5e03f0(0x392),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x24a475)){case ce[_0x5e03f0(0x55b)]:{const _0xf7e357=await this['_loadSheet'](_0x97d4ce);this[_0x5e03f0(0x271)](_0xf7e357);break;}case ce[_0x5e03f0(0x172)]:{await this[_0x5e03f0(0x1f3)](_0x97d4ce);break;}default:{this[_0x5e03f0(0x26e)][_0x5e03f0(0x17b)](_0x5e03f0(0x392),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5bb7a4(0x271)](_0x3252fc){const _0x318ad6=_0x5bb7a4;await this['_updateSubUnitFromURLParams'](_0x3252fc),_0x3252fc['activeSheet$']['pipe'](_0x52fa59(this[_0x318ad6(0x492)]))[_0x318ad6(0x519)](_0x29751a=>{const _0x5c1819=_0x318ad6;_0x29751a&&this[_0x5c1819(0x545)](_0x29751a);}),this[_0x318ad6(0x538)]['urlChange$'][_0x318ad6(0x3f1)](_0x52fa59(this[_0x318ad6(0x492)]))[_0x318ad6(0x519)](()=>this[_0x318ad6(0x2e4)](_0x3252fc));}[_0x5bb7a4(0x545)](_0x14d637,_0x17864f=!0x1){const _0x45f904=_0x5bb7a4,_0x2e555e=this[_0x45f904(0x538)]['getParam'](_0x45f904(0x1a8));_0x14d637[_0x45f904(0x192)]()!==_0x2e555e&&this['_urlService'][_0x45f904(0x53b)](_0x45f904(0x1a8),_0x14d637[_0x45f904(0x192)](),_0x17864f);}async[_0x5bb7a4(0x2e4)](_0x12ef4b){const _0x19557a=_0x5bb7a4;var _0x5e649c;const _0x11552d=this[_0x19557a(0x538)][_0x19557a(0x325)](_0x19557a(0x1a8));if(!_0x11552d||!_0x12ef4b['getSheetBySheetId'](_0x11552d)){const _0x5314e0=_0x12ef4b[_0x19557a(0x2af)]()[0x0],_0x3693c4=_0x12ef4b[_0x19557a(0x29a)](_0x5314e0);if(!_0x3693c4)return;this[_0x19557a(0x545)](_0x3693c4,!0x0),await this['_commandService'][_0x19557a(0x175)](_0x3d9171['id'],{'unitId':_0x12ef4b[_0x19557a(0x322)](),'subUnitId':_0x5314e0});return;}((_0x5e649c=_0x12ef4b[_0x19557a(0x475)]())==null?void 0x0:_0x5e649c[_0x19557a(0x192)]())!==_0x11552d&&await this[_0x19557a(0x53f)][_0x19557a(0x175)](_0x3d9171['id'],{'unitId':_0x12ef4b[_0x19557a(0x322)](),'subUnitId':_0x11552d});}async['_loadSheet'](_0x30016c){const _0x818c30=_0x5bb7a4;let _0x3641ae=0x0;const _0x3d950f=await this[_0x818c30(0x46d)]['loadOfflineData'](_0x30016c);return _0x3d950f&&(_0x3d950f[_0x818c30(0x25a)]||_0x3d950f[_0x818c30(0x47f)][_0x818c30(0x282)]!==0x0)&&(_0x3641ae=_0x3d950f[_0x818c30(0x4eb)]),_0x3641ae===0x0&&this[_0x818c30(0x26e)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x818c30(0x496)]['loadSheet'](_0x30016c,_0x3641ae);}async[_0x5bb7a4(0x1f3)](_0x29e89a){const _0xe63997=_0x5bb7a4;let _0x260042=0x0;const _0x19d9b0=await this[_0xe63997(0x46d)][_0xe63997(0x426)](_0x29e89a);return _0x19d9b0&&(_0x19d9b0['awaitingChangeset']||_0x19d9b0[_0xe63997(0x47f)][_0xe63997(0x282)]!==0x0)&&(_0x260042=_0x19d9b0['rev']),_0x260042===0x0&&this[_0xe63997(0x26e)][_0xe63997(0x23c)](_0xe63997(0x392),_0xe63997(0x384)),this[_0xe63997(0x496)]['loadDoc'](_0x29e89a,_0x260042);}};It=wa([ke(0x0,Bi),ke(0x1,_0x3efec9),ke(0x2,_0x1e58f0),ke(0x3,_0x22a3e1(q)),ke(0x4,_0x22a3e1(_0x2b1acd)),ke(0x5,_0x4f55bd(_0xfc52d5))],It);var Da=Object[_0x5bb7a4(0x42b)],Pa=Object[_0x5bb7a4(0x4e4)],Ua=(_0x1add72,_0x3e9b5b,_0x1a46ff,_0x373fdc)=>{const _0x393be7=_0x5bb7a4;for(var _0xe3420=_0x373fdc>0x1?void 0x0:_0x373fdc?Pa(_0x3e9b5b,_0x1a46ff):_0x3e9b5b,_0xd2fe25=_0x1add72[_0x393be7(0x282)]-0x1,_0x5afad9;_0xd2fe25>=0x0;_0xd2fe25--)(_0x5afad9=_0x1add72[_0xd2fe25])&&(_0xe3420=(_0x373fdc?_0x5afad9(_0x3e9b5b,_0x1a46ff,_0xe3420):_0x5afad9(_0xe3420))||_0xe3420);return _0x373fdc&&_0xe3420&&Da(_0x3e9b5b,_0x1a46ff,_0xe3420),_0xe3420;},zs=(_0xf8d69a,_0x461190)=>(_0x40bdad,_0x231055)=>_0x461190(_0x40bdad,_0x231055,_0xf8d69a);const Na='DEFAULT_FILE_NAME',Aa=_0x5bb7a4(0x30f);let Ct=class extends _0x1caa36{constructor(_0x5a5fa5,_0x42acab){const _0x1f3eb0=_0x5bb7a4;super(),this[_0x1f3eb0(0x21d)]=_0x5a5fa5,this[_0x1f3eb0(0x23e)]=_0x42acab,this[_0x1f3eb0(0x515)]();}[_0x5bb7a4(0x515)](){const _0x3eb6a2=_0x5bb7a4;this[_0x3eb6a2(0x368)](this[_0x3eb6a2(0x21d)][_0x3eb6a2(0x274)][_0x3eb6a2(0x519)](()=>{const _0x44f0df=_0x3eb6a2;var _0x5f3cac;const _0x4ae9e7=this['_univerInstanceService'][_0x44f0df(0x1dd)]();let _0xca8668=(_0x5f3cac=this[_0x44f0df(0x23e)]['getConfig'](Na))!=null?_0x5f3cac:Aa;_0x4ae9e7 instanceof _0x31b79d&&(_0xca8668=_0x4ae9e7[_0x44f0df(0x408)]),document['title']=_0xca8668;}));}};Ct=Ua([zs(0x0,_0x2e0534),zs(0x1,_0x2bb536)],Ct);var Ma=Object[_0x5bb7a4(0x42b)],xa=Object[_0x5bb7a4(0x4e4)],La=(_0x426133,_0x28ad6f,_0x5a475c,_0x273172)=>{const _0x48d52c=_0x5bb7a4;for(var _0x22752e=_0x273172>0x1?void 0x0:_0x273172?xa(_0x28ad6f,_0x5a475c):_0x28ad6f,_0x3856d4=_0x426133[_0x48d52c(0x282)]-0x1,_0x47c441;_0x3856d4>=0x0;_0x3856d4--)(_0x47c441=_0x426133[_0x3856d4])&&(_0x22752e=(_0x273172?_0x47c441(_0x28ad6f,_0x5a475c,_0x22752e):_0x47c441(_0x22752e))||_0x22752e);return _0x273172&&_0x22752e&&Ma(_0x28ad6f,_0x5a475c,_0x22752e),_0x22752e;},Wt=(_0x5a37f1,_0x39c6b9)=>(_0x3aaa1b,_0x208050)=>_0x39c6b9(_0x3aaa1b,_0x208050,_0x5a37f1);let Et=class{constructor(_0x31f852,_0x5a1ca5,_0x1b2ff4){const _0x3aca2e=_0x5bb7a4;this[_0x3aca2e(0x23e)]=_0x31f852,this[_0x3aca2e(0x1be)]=_0x5a1ca5,this['localeService']=_0x1b2ff4,this['init']();}['init'](){const _0x15617e=_0x5bb7a4;this[_0x15617e(0x1be)][_0x15617e(0x4a6)]({'priority':0x1,'interceptor':(_0x239818,_0x475168)=>_0x475168(_0x239818)['pipe'](_0x2d7fb7(async _0x3f2204=>{const _0x5a5c6a=_0x15617e,_0x2675ee=_0x3f2204;if(_0x2675ee[_0x5a5c6a(0x1ff)]===0x191&&window[_0x5a5c6a(0x43e)](this[_0x5a5c6a(0x28a)]['t']('auth.needGotoLoginAlert'))){const _0x364b1c=window['encodeURIComponent'](window[_0x5a5c6a(0x521)][_0x5a5c6a(0x50b)]);window['location']['href']=this['_getLoginPath']()+_0x5a5c6a(0x2c1)+_0x364b1c;}return _0x2675ee;}))});}['_getLoginPath'](){const _0x268dd5=_0x5bb7a4;var _0x4e0cdd,_0x2a05bd;const _0x22188f=this[_0x268dd5(0x23e)][_0x268dd5(0x447)](br),_0xf46d8f=this[_0x268dd5(0x23e)]['getConfig'](ie);return(_0x2a05bd=(_0x4e0cdd=_0xf46d8f==null?void 0x0:_0xf46d8f['loginUrlKey'])!=null?_0x4e0cdd:_0x22188f)!=null?_0x2a05bd:Tr;}};Et=La([Wt(0x0,_0x2bb536),Wt(0x1,_0x22a3e1(_0x41156a)),Wt(0x2,_0x22a3e1(_0x1fdc1b))],Et);var $a=Object[_0x5bb7a4(0x42b)],Ha=Object[_0x5bb7a4(0x4e4)],ja=(_0x2111b7,_0x16440d,_0x2e75c9,_0x12aaa0)=>{const _0x55371d=_0x5bb7a4;for(var _0x15ba77=_0x12aaa0>0x1?void 0x0:_0x12aaa0?Ha(_0x16440d,_0x2e75c9):_0x16440d,_0x20e23d=_0x2111b7[_0x55371d(0x282)]-0x1,_0x283311;_0x20e23d>=0x0;_0x20e23d--)(_0x283311=_0x2111b7[_0x20e23d])&&(_0x15ba77=(_0x12aaa0?_0x283311(_0x16440d,_0x2e75c9,_0x15ba77):_0x283311(_0x15ba77))||_0x15ba77);return _0x12aaa0&&_0x15ba77&&$a(_0x16440d,_0x2e75c9,_0x15ba77),_0x15ba77;},qs=(_0xe54d84,_0x2fec05)=>(_0x81f98c,_0x13f49e)=>_0x2fec05(_0x81f98c,_0x13f49e,_0xe54d84);const Ba=_0x5bb7a4(0x305),ka=_0x5bb7a4(0x57a);let cs=class extends _0x1caa36{constructor(_0x337e3f,_0xeeed76){const _0x3e1c8d=_0x5bb7a4;super(),this[_0x3e1c8d(0x415)]=_0x337e3f,this[_0x3e1c8d(0x23e)]=_0xeeed76,this[_0x3e1c8d(0x184)]();}[_0x5bb7a4(0x184)](){const _0x3d21bb=_0x5bb7a4,_0x5455dc=this;this[_0x3d21bb(0x368)](this[_0x3d21bb(0x415)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xc40197({'isMatch'(_0x640954){const _0x798292=_0x3d21bb;var _0x4d5d2e;if(_0x640954[_0x798292(0x38b)]===_0x798292(0x2bf)&&((_0x4d5d2e=_0x640954[_0x798292(0x1bb)])!=null&&_0x4d5d2e[_0x798292(0x1ab)])){const {objectID:_0x18af39,objectType:_0x28d99d}=_0x640954[_0x798292(0x1bb)]['body']||{};if(!_0x18af39||_0x28d99d===void 0x0)return!0x1;const _0x4d61de=_0x5455dc[_0x798292(0x546)]()+'/'+_0x28d99d+_0x798292(0x29f)+_0x18af39+_0x798292(0x4ba);if(_0x640954[_0x798292(0x217)]===_0x4d61de)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x36a6fa){const _0x150d85=_0x3d21bb;var _0x1fbbc1;return(_0x1fbbc1=_0x36a6fa[_0x150d85(0x1bb)])==null?void 0x0:_0x1fbbc1[_0x150d85(0x1ab)];},'mergeParamsToRequest'(_0xa9c753,_0x4de8f0){const _0x4f24ed=_0x3d21bb,_0x353d66=_0x5455dc[_0x4f24ed(0x546)]()+_0x4f24ed(0x39c),_0xa44dd4=_0xa9c753['reduce']((_0x1080f5,_0x448fb7)=>{const _0x52ea56=_0x4f24ed,{unitID:_0x4656b3,objectID:_0x19cb45,objectType:_0x2696e9,actions:_0x537407}=_0x448fb7;return _0x1080f5[_0x4656b3]||(_0x1080f5[_0x4656b3]={}),_0x1080f5[_0x4656b3][_0x19cb45]||(_0x1080f5[_0x4656b3][_0x19cb45]={'objectID':_0x19cb45,'objectType':_0x2696e9,'actions':[]}),_0x1080f5[_0x4656b3][_0x19cb45][_0x52ea56(0x37d)]['push'](..._0x537407),_0x1080f5;},{}),_0x21eb5f=[];for(const _0x4dad5f in _0xa44dd4)for(const _0x95cf28 in _0xa44dd4[_0x4dad5f]){const {actions:_0xdbfcda,objectType:_0xa3ff60}=_0xa44dd4[_0x4dad5f][_0x95cf28],_0x43eb54=[...new Set(_0xdbfcda)];_0x21eb5f[_0x4f24ed(0x433)]({'unitID':_0x4dad5f,'objectID':_0x95cf28,'objectType':_0xa3ff60,'actions':_0x43eb54});}return new _0x3b9e80(_0x4f24ed(0x2bf),_0x353d66,{'headers':_0x4de8f0[_0x4f24ed(0x210)],'withCredentials':_0x4de8f0[_0x4f24ed(0x2db)],'responseType':_0x4de8f0[_0x4f24ed(0x2a6)],'body':{'requests':_0x21eb5f}});}},{'distributeResult'(_0x58ff1d,_0x7ead0d){const _0xc2a64d=_0x3d21bb,{objectActions:_0x4b9114}=_0x58ff1d;return _0x7ead0d[_0xc2a64d(0x2c9)](_0x2ef88e=>{const _0xde6e8=_0xc2a64d,{unitID:_0x1143bf,objectID:_0x2346e5,actions:_0x3f6e45}=_0x2ef88e,_0x4bde05=_0x4b9114[_0xde6e8(0x1e7)](_0x486a50=>_0x486a50[_0xde6e8(0x4c4)]===_0x1143bf&&_0x486a50[_0xde6e8(0x52b)]===_0x2346e5),_0x59ce76=_0x3f6e45['map'](_0x17143a=>_0x4bde05==null?void 0x0:_0x4bde05[_0xde6e8(0x37d)][_0xde6e8(0x1e7)](_0x3b3b4a=>_0x3b3b4a['action']===_0x17143a))['filter'](_0x2aaa0b=>!!_0x2aaa0b);return{'config':_0x2ef88e,'result':{'actions':_0x59ce76,'error':_0x58ff1d['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x3a9d26=_0x5bb7a4;var _0x21bb7b,_0x2ac0b5;const _0x457aae=this[_0x3a9d26(0x23e)]['getConfig'](Ba),_0x2c24e4=this['_configService'][_0x3a9d26(0x447)](ie);return(_0x2ac0b5=(_0x21bb7b=_0x2c24e4==null?void 0x0:_0x2c24e4[_0x3a9d26(0x366)])!=null?_0x21bb7b:_0x457aae)!=null?_0x2ac0b5:ka;}async['create'](_0x305cf6){const _0x57bcb3=_0x5bb7a4,_0xe8ef05=this[_0x57bcb3(0x546)]()+'/'+_0x305cf6[_0x57bcb3(0x320)]+'/object';return(await this[_0x57bcb3(0x415)][_0x57bcb3(0x495)](_0xe8ef05,{'body':_0x305cf6}))[_0x57bcb3(0x1ab)]['objectID']||'';}async['list'](_0x2d8a0a){const _0x8ff8f3=_0x5bb7a4,_0x31fe88=this['_getAPIPrefixPath']()+_0x8ff8f3(0x4c9);return(await this[_0x8ff8f3(0x415)]['post'](_0x31fe88,{'body':_0x2d8a0a}))[_0x8ff8f3(0x1ab)][_0x8ff8f3(0x448)];}async[_0x5bb7a4(0x3c9)](_0x444a4f){const _0x333a63=_0x5bb7a4,_0x3e3d77=this[_0x333a63(0x546)]()+'/'+_0x444a4f[_0x333a63(0x320)]+_0x333a63(0x29f)+_0x444a4f[_0x333a63(0x52b)];await this[_0x333a63(0x415)][_0x333a63(0x3f3)](_0x3e3d77,{'body':_0x444a4f});}async['allowed'](_0x1f6b9d){const _0x37a3a7=_0x5bb7a4,_0x16caf8=this[_0x37a3a7(0x546)]()+'/'+_0x1f6b9d[_0x37a3a7(0x320)]+'/object/'+_0x1f6b9d[_0x37a3a7(0x52b)]+_0x37a3a7(0x4ba);return(await this[_0x37a3a7(0x415)][_0x37a3a7(0x495)](_0x16caf8,{'body':_0x1f6b9d}))[_0x37a3a7(0x1ab)][_0x37a3a7(0x37d)];}async[_0x5bb7a4(0x4ca)](_0x32e4a1){const _0x46b205=_0x5bb7a4,_0x410a4c=this[_0x46b205(0x546)]()+_0x46b205(0x39c);return(await this[_0x46b205(0x415)][_0x46b205(0x495)](_0x410a4c,{'body':{'requests':_0x32e4a1}}))[_0x46b205(0x1ab)][_0x46b205(0x295)];}async[_0x5bb7a4(0x349)](_0xf6412f){const _0x1620a1=_0x5bb7a4,_0x4a21be=this[_0x1620a1(0x546)]()+'/'+_0xf6412f[_0x1620a1(0x320)]+_0x1620a1(0x246),_0x805b4e=await this[_0x1620a1(0x415)][_0x1620a1(0x495)](_0x4a21be,{'body':_0xf6412f});return{'roles':_0x805b4e['body'][_0x1620a1(0x24f)],'actions':_0x805b4e[_0x1620a1(0x1ab)]['actions']};}async['deleteCollaborator'](_0x287395){const _0x2ca896=_0x5bb7a4,_0x42bd94=this['_getAPIPrefixPath']()+_0x2ca896(0x205);await this['_HTTPService']['delete'](_0x42bd94,{'params':{'collaboratorID':_0x287395[_0x2ca896(0x4f1)],'objectID':_0x287395[_0x2ca896(0x52b)],'unitID':_0x287395[_0x2ca896(0x4c4)]}});}async[_0x5bb7a4(0x1d5)](_0x4d1e98){const _0x52027d=_0x5bb7a4,_0x19f9da=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x52027d(0x415)][_0x52027d(0x419)](_0x19f9da,{'body':_0x4d1e98});}async['createCollaborator'](_0x13a6d4){const _0x178549=_0x5bb7a4,_0x154dde=this[_0x178549(0x546)]()+'/collaborator';await this['_HTTPService'][_0x178549(0x495)](_0x154dde,{'body':_0x13a6d4});}async['listCollaborators'](_0x398699){const _0x296dbf=_0x5bb7a4,_0x595da9=this['_getAPIPrefixPath']()+_0x296dbf(0x205);return(await this[_0x296dbf(0x415)][_0x296dbf(0x4f7)](_0x595da9,{'params':{'objectID':_0x398699[_0x296dbf(0x52b)],'unitID':_0x398699[_0x296dbf(0x4c4)]}}))[_0x296dbf(0x1ab)][_0x296dbf(0x251)];}async['putCollaborators'](_0x268da8){const _0x3e7fe9=_0x5bb7a4,_0xeca651=this[_0x3e7fe9(0x546)]()+_0x3e7fe9(0x205);await this[_0x3e7fe9(0x415)][_0x3e7fe9(0x3f3)](_0xeca651,{'body':_0x268da8});}};cs=ja([qs(0x0,_0x22a3e1(_0x41156a)),qs(0x1,_0x22a3e1(_0x2bb536))],cs);var ki={'exports':{}};function Wa(_0x3c7511){const _0x4dc6ca=_0x5bb7a4;throw new Error(_0x4dc6ca(0x1ca)+_0x3c7511+_0x4dc6ca(0x37f));}var Ft={'exports':{}},Xs;function ue(){return Xs||(Xs=0x1,function(_0x475529,_0x1dd709){(function(_0x529364,_0x2f6882){const _0x2a22dc=_0x4081;_0x475529[_0x2a22dc(0x236)]=_0x2f6882();}(Z,function(){var _0x42a0db=_0x42a0db||function(_0x553ddd,_0x3dde1c){const _0x3f3660=_0x4081;var _0x5bdb32;if(typeof window<'u'&&window['crypto']&&(_0x5bdb32=window[_0x3f3660(0x577)]),typeof self<'u'&&self[_0x3f3660(0x577)]&&(_0x5bdb32=self[_0x3f3660(0x577)]),typeof globalThis<'u'&&globalThis[_0x3f3660(0x577)]&&(_0x5bdb32=globalThis[_0x3f3660(0x577)]),!_0x5bdb32&&typeof window<'u'&&window[_0x3f3660(0x193)]&&(_0x5bdb32=window[_0x3f3660(0x193)]),!_0x5bdb32&&typeof Z<'u'&&Z['crypto']&&(_0x5bdb32=Z['crypto']),!_0x5bdb32&&typeof Wa==_0x3f3660(0x4b8))try{_0x5bdb32=require(_0x3f3660(0x577));}catch{}var _0x57d27c=function(){const _0x4aa3ee=_0x3f3660;if(_0x5bdb32){if(typeof _0x5bdb32[_0x4aa3ee(0x342)]==_0x4aa3ee(0x4b8))try{return _0x5bdb32[_0x4aa3ee(0x342)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bdb32[_0x4aa3ee(0x2dc)]==_0x4aa3ee(0x4b8))try{return _0x5bdb32[_0x4aa3ee(0x2dc)](0x4)[_0x4aa3ee(0x511)]();}catch{}}throw new Error(_0x4aa3ee(0x55a));},_0x744bbb=Object[_0x3f3660(0x54f)]||(function(){function _0x273570(){}return function(_0x4ef8b4){const _0x3b5fd4=_0x4081;var _0x3a9735;return _0x273570[_0x3b5fd4(0x423)]=_0x4ef8b4,_0x3a9735=new _0x273570(),_0x273570['prototype']=null,_0x3a9735;};}()),_0x1ce432={},_0x3657fd=_0x1ce432[_0x3f3660(0x2f1)]={},_0x320273=_0x3657fd['Base']=(function(){return{'extend':function(_0x310a09){const _0x511be7=_0x4081;var _0x166e0d=_0x744bbb(this);return _0x310a09&&_0x166e0d['mixIn'](_0x310a09),(!_0x166e0d[_0x511be7(0x440)](_0x511be7(0x1d6))||this[_0x511be7(0x1d6)]===_0x166e0d[_0x511be7(0x1d6)])&&(_0x166e0d['init']=function(){_0x166e0d['$super']['init']['apply'](this,arguments);}),_0x166e0d['init'][_0x511be7(0x423)]=_0x166e0d,_0x166e0d[_0x511be7(0x4f6)]=this,_0x166e0d;},'create':function(){const _0x2ed2e9=_0x4081;var _0x23e75c=this[_0x2ed2e9(0x187)]();return _0x23e75c[_0x2ed2e9(0x1d6)][_0x2ed2e9(0x568)](_0x23e75c,arguments),_0x23e75c;},'init':function(){},'mixIn':function(_0x2ec74c){const _0x267f35=_0x4081;for(var _0x3fcc75 in _0x2ec74c)_0x2ec74c[_0x267f35(0x440)](_0x3fcc75)&&(this[_0x3fcc75]=_0x2ec74c[_0x3fcc75]);_0x2ec74c[_0x267f35(0x440)]('toString')&&(this[_0x267f35(0x2e5)]=_0x2ec74c[_0x267f35(0x2e5)]);},'clone':function(){const _0x5d1d4e=_0x4081;return this[_0x5d1d4e(0x1d6)][_0x5d1d4e(0x423)][_0x5d1d4e(0x187)](this);}};}()),_0x4e6877=_0x3657fd[_0x3f3660(0x1b3)]=_0x320273[_0x3f3660(0x187)]({'init':function(_0x5ce309,_0x4a96c9){const _0x5135ba=_0x3f3660;_0x5ce309=this[_0x5135ba(0x1fa)]=_0x5ce309||[],_0x4a96c9!=_0x3dde1c?this['sigBytes']=_0x4a96c9:this[_0x5135ba(0x3ad)]=_0x5ce309['length']*0x4;},'toString':function(_0x4d4d81){const _0x287310=_0x3f3660;return(_0x4d4d81||_0x330813)[_0x287310(0x303)](this);},'concat':function(_0x471f07){const _0x120df4=_0x3f3660;var _0x356d82=this[_0x120df4(0x1fa)],_0xe53259=_0x471f07[_0x120df4(0x1fa)],_0x3c1272=this['sigBytes'],_0x3d0f54=_0x471f07[_0x120df4(0x3ad)];if(this['clamp'](),_0x3c1272%0x4)for(var _0x184cff=0x0;_0x184cff<_0x3d0f54;_0x184cff++){var _0x688a5b=_0xe53259[_0x184cff>>>0x2]>>>0x18-_0x184cff%0x4*0x8&0xff;_0x356d82[_0x3c1272+_0x184cff>>>0x2]|=_0x688a5b<<0x18-(_0x3c1272+_0x184cff)%0x4*0x8;}else{for(var _0x473517=0x0;_0x473517<_0x3d0f54;_0x473517+=0x4)_0x356d82[_0x3c1272+_0x473517>>>0x2]=_0xe53259[_0x473517>>>0x2];}return this['sigBytes']+=_0x3d0f54,this;},'clamp':function(){const _0x204520=_0x3f3660;var _0x40211a=this[_0x204520(0x1fa)],_0x4d5e8d=this['sigBytes'];_0x40211a[_0x4d5e8d>>>0x2]&=0xffffffff<<0x20-_0x4d5e8d%0x4*0x8,_0x40211a[_0x204520(0x282)]=_0x553ddd[_0x204520(0x247)](_0x4d5e8d/0x4);},'clone':function(){const _0xcfd7a0=_0x3f3660;var _0x3c7123=_0x320273[_0xcfd7a0(0x431)][_0xcfd7a0(0x1f6)](this);return _0x3c7123['words']=this[_0xcfd7a0(0x1fa)]['slice'](0x0),_0x3c7123;},'random':function(_0x5cc9d1){const _0x1df3fa=_0x3f3660;for(var _0x1cca56=[],_0x23cb62=0x0;_0x23cb62<_0x5cc9d1;_0x23cb62+=0x4)_0x1cca56[_0x1df3fa(0x433)](_0x57d27c());return new _0x4e6877[(_0x1df3fa(0x1d6))](_0x1cca56,_0x5cc9d1);}}),_0x1e927c=_0x1ce432[_0x3f3660(0x522)]={},_0x330813=_0x1e927c[_0x3f3660(0x2ac)]={'stringify':function(_0xc040df){const _0x1cd01a=_0x3f3660;for(var _0x55998e=_0xc040df['words'],_0x5f411b=_0xc040df[_0x1cd01a(0x3ad)],_0x2a36d1=[],_0x245523=0x0;_0x245523<_0x5f411b;_0x245523++){var _0x43acc7=_0x55998e[_0x245523>>>0x2]>>>0x18-_0x245523%0x4*0x8&0xff;_0x2a36d1['push']((_0x43acc7>>>0x4)[_0x1cd01a(0x2e5)](0x10)),_0x2a36d1['push']((_0x43acc7&0xf)[_0x1cd01a(0x2e5)](0x10));}return _0x2a36d1[_0x1cd01a(0x258)]('');},'parse':function(_0x384969){const _0x15f8af=_0x3f3660;for(var _0x104c36=_0x384969[_0x15f8af(0x282)],_0x263113=[],_0x3d46c8=0x0;_0x3d46c8<_0x104c36;_0x3d46c8+=0x2)_0x263113[_0x3d46c8>>>0x3]|=parseInt(_0x384969['substr'](_0x3d46c8,0x2),0x10)<<0x18-_0x3d46c8%0x8*0x4;return new _0x4e6877[(_0x15f8af(0x1d6))](_0x263113,_0x104c36/0x2);}},_0x63663a=_0x1e927c[_0x3f3660(0x3c4)]={'stringify':function(_0x393ee3){const _0x154597=_0x3f3660;for(var _0x37797b=_0x393ee3[_0x154597(0x1fa)],_0x1cffa9=_0x393ee3[_0x154597(0x3ad)],_0xe9f584=[],_0x45807a=0x0;_0x45807a<_0x1cffa9;_0x45807a++){var _0x3e223b=_0x37797b[_0x45807a>>>0x2]>>>0x18-_0x45807a%0x4*0x8&0xff;_0xe9f584[_0x154597(0x433)](String[_0x154597(0x224)](_0x3e223b));}return _0xe9f584[_0x154597(0x258)]('');},'parse':function(_0x4f3bc6){const _0x4c7f63=_0x3f3660;for(var _0x33398a=_0x4f3bc6[_0x4c7f63(0x282)],_0x27ad43=[],_0x3bd8b8=0x0;_0x3bd8b8<_0x33398a;_0x3bd8b8++)_0x27ad43[_0x3bd8b8>>>0x2]|=(_0x4f3bc6[_0x4c7f63(0x4d3)](_0x3bd8b8)&0xff)<<0x18-_0x3bd8b8%0x4*0x8;return new _0x4e6877[(_0x4c7f63(0x1d6))](_0x27ad43,_0x33398a);}},_0x644e59=_0x1e927c['Utf8']={'stringify':function(_0x4c82a5){const _0x296e17=_0x3f3660;try{return decodeURIComponent(escape(_0x63663a[_0x296e17(0x303)](_0x4c82a5)));}catch{throw new Error(_0x296e17(0x3d0));}},'parse':function(_0x57158c){const _0x5d907f=_0x3f3660;return _0x63663a[_0x5d907f(0x57c)](unescape(encodeURIComponent(_0x57158c)));}},_0x4805f6=_0x3657fd[_0x3f3660(0x1b8)]=_0x320273['extend']({'reset':function(){const _0x120692=_0x3f3660;this['_data']=new _0x4e6877[(_0x120692(0x1d6))](),this['_nDataBytes']=0x0;},'_append':function(_0x5c4718){const _0x515456=_0x3f3660;typeof _0x5c4718==_0x515456(0x40c)&&(_0x5c4718=_0x644e59['parse'](_0x5c4718)),this['_data'][_0x515456(0x196)](_0x5c4718),this[_0x515456(0x3b8)]+=_0x5c4718[_0x515456(0x3ad)];},'_process':function(_0xa9cc5e){const _0x33af1b=_0x3f3660;var _0x2d2944,_0x4c488a=this[_0x33af1b(0x2a9)],_0x3f7730=_0x4c488a[_0x33af1b(0x1fa)],_0x3c1f29=_0x4c488a[_0x33af1b(0x3ad)],_0x10d0c4=this['blockSize'],_0x400adb=_0x10d0c4*0x4,_0x246ccb=_0x3c1f29/_0x400adb;_0xa9cc5e?_0x246ccb=_0x553ddd[_0x33af1b(0x247)](_0x246ccb):_0x246ccb=_0x553ddd[_0x33af1b(0x173)]((_0x246ccb|0x0)-this[_0x33af1b(0x1bc)],0x0);var _0x1f2413=_0x246ccb*_0x10d0c4,_0x189699=_0x553ddd[_0x33af1b(0x443)](_0x1f2413*0x4,_0x3c1f29);if(_0x1f2413){for(var _0x3980d2=0x0;_0x3980d2<_0x1f2413;_0x3980d2+=_0x10d0c4)this[_0x33af1b(0x54e)](_0x3f7730,_0x3980d2);_0x2d2944=_0x3f7730['splice'](0x0,_0x1f2413),_0x4c488a[_0x33af1b(0x3ad)]-=_0x189699;}return new _0x4e6877['init'](_0x2d2944,_0x189699);},'clone':function(){const _0x3ee1a6=_0x3f3660;var _0x5e7362=_0x320273[_0x3ee1a6(0x431)][_0x3ee1a6(0x1f6)](this);return _0x5e7362[_0x3ee1a6(0x2a9)]=this[_0x3ee1a6(0x2a9)][_0x3ee1a6(0x431)](),_0x5e7362;},'_minBufferSize':0x0});_0x3657fd['Hasher']=_0x4805f6['extend']({'cfg':_0x320273[_0x3f3660(0x187)](),'init':function(_0x378782){const _0x197361=_0x3f3660;this[_0x197361(0x181)]=this[_0x197361(0x181)][_0x197361(0x187)](_0x378782),this[_0x197361(0x2d7)]();},'reset':function(){const _0x228b50=_0x3f3660;_0x4805f6[_0x228b50(0x2d7)][_0x228b50(0x1f6)](this),this[_0x228b50(0x1c4)]();},'update':function(_0x5d5be8){const _0x377fb1=_0x3f3660;return this[_0x377fb1(0x362)](_0x5d5be8),this[_0x377fb1(0x16f)](),this;},'finalize':function(_0x4297c3){const _0xbe482c=_0x3f3660;_0x4297c3&&this['_append'](_0x4297c3);var _0x4886d8=this[_0xbe482c(0x555)]();return _0x4886d8;},'blockSize':0x10,'_createHelper':function(_0x4df4eb){return function(_0x1d9d21,_0x225419){const _0x195f3e=_0x4081;return new _0x4df4eb['init'](_0x225419)[_0x195f3e(0x2e2)](_0x1d9d21);};},'_createHmacHelper':function(_0x934465){return function(_0xf62b4f,_0x27967b){const _0x4b7fda=_0x4081;return new _0xc8f321[(_0x4b7fda(0x44e))][(_0x4b7fda(0x1d6))](_0x934465,_0x27967b)[_0x4b7fda(0x2e2)](_0xf62b4f);};}});var _0xc8f321=_0x1ce432[_0x3f3660(0x44d)]={};return _0x1ce432;}(Math);return _0x42a0db;}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Wi(){const _0x1e6bd5=_0x5bb7a4;return Js||(Js=0x1,function(_0x4ae74d,_0x324aad){(function(_0x478283,_0x232ec){const _0x43abd9=_0x4081;_0x4ae74d[_0x43abd9(0x236)]=_0x232ec(ue());}(Z,function(_0x1aed71){return(function(){const _0x2537cc=_0x4081;var _0x73af1f=_0x1aed71,_0x2449d0=_0x73af1f[_0x2537cc(0x2f1)],_0x573999=_0x2449d0[_0x2537cc(0x1b3)],_0x5aaa1f=_0x73af1f[_0x2537cc(0x522)];_0x5aaa1f['Base64']={'stringify':function(_0x31176c){const _0x5a217a=_0x2537cc;var _0x5b240b=_0x31176c[_0x5a217a(0x1fa)],_0x25fc4e=_0x31176c[_0x5a217a(0x3ad)],_0x32e068=this['_map'];_0x31176c[_0x5a217a(0x551)]();for(var _0x5e98f5=[],_0x5b88a7=0x0;_0x5b88a7<_0x25fc4e;_0x5b88a7+=0x3)for(var _0x4ee2cb=_0x5b240b[_0x5b88a7>>>0x2]>>>0x18-_0x5b88a7%0x4*0x8&0xff,_0x4b534e=_0x5b240b[_0x5b88a7+0x1>>>0x2]>>>0x18-(_0x5b88a7+0x1)%0x4*0x8&0xff,_0x122313=_0x5b240b[_0x5b88a7+0x2>>>0x2]>>>0x18-(_0x5b88a7+0x2)%0x4*0x8&0xff,_0x2858d0=_0x4ee2cb<<0x10|_0x4b534e<<0x8|_0x122313,_0x576349=0x0;_0x576349<0x4&&_0x5b88a7+_0x576349*0.75<_0x25fc4e;_0x576349++)_0x5e98f5[_0x5a217a(0x433)](_0x32e068['charAt'](_0x2858d0>>>0x6*(0x3-_0x576349)&0x3f));var _0x17fd68=_0x32e068['charAt'](0x40);if(_0x17fd68){for(;_0x5e98f5[_0x5a217a(0x282)]%0x4;)_0x5e98f5[_0x5a217a(0x433)](_0x17fd68);}return _0x5e98f5[_0x5a217a(0x258)]('');},'parse':function(_0x2ddb63){const _0x417b75=_0x2537cc;var _0x268dfe=_0x2ddb63[_0x417b75(0x282)],_0x133e93=this[_0x417b75(0x390)],_0xca00ef=this[_0x417b75(0x523)];if(!_0xca00ef){_0xca00ef=this[_0x417b75(0x523)]=[];for(var _0xf51d00=0x0;_0xf51d00<_0x133e93[_0x417b75(0x282)];_0xf51d00++)_0xca00ef[_0x133e93[_0x417b75(0x4d3)](_0xf51d00)]=_0xf51d00;}var _0x5effbb=_0x133e93[_0x417b75(0x504)](0x40);if(_0x5effbb){var _0x34f945=_0x2ddb63[_0x417b75(0x41f)](_0x5effbb);_0x34f945!==-0x1&&(_0x268dfe=_0x34f945);}return _0x307960(_0x2ddb63,_0x268dfe,_0xca00ef);},'_map':_0x2537cc(0x36d)};function _0x307960(_0x263ac5,_0x5341f4,_0xe3d65c){const _0x46b28b=_0x2537cc;for(var _0x4be8d7=[],_0x355cad=0x0,_0x5e5108=0x0;_0x5e5108<_0x5341f4;_0x5e5108++)if(_0x5e5108%0x4){var _0x5be495=_0xe3d65c[_0x263ac5[_0x46b28b(0x4d3)](_0x5e5108-0x1)]<<_0x5e5108%0x4*0x2,_0x56b987=_0xe3d65c[_0x263ac5[_0x46b28b(0x4d3)](_0x5e5108)]>>>0x6-_0x5e5108%0x4*0x2,_0x469f36=_0x5be495|_0x56b987;_0x4be8d7[_0x355cad>>>0x2]|=_0x469f36<<0x18-_0x355cad%0x4*0x8,_0x355cad++;}return _0x573999[_0x46b28b(0x54f)](_0x4be8d7,_0x355cad);}}()),_0x1aed71['enc']['Base64'];}));}(Vt)),Vt[_0x1e6bd5(0x236)];}var Gt={'exports':{}},Zs;function Fa(){const _0x1304f2=_0x5bb7a4;return Zs||(Zs=0x1,function(_0x154387,_0x4cd16a){(function(_0x2fec58,_0x40d5d3){_0x154387['exports']=_0x40d5d3(ue());}(Z,function(_0x435eac){const _0x4f102=_0x4081;return function(_0x1cd82b){const _0x460f07=_0x4081;var _0x2482fc=_0x435eac,_0x1db649=_0x2482fc[_0x460f07(0x2f1)],_0x50b064=_0x1db649[_0x460f07(0x1b3)],_0x271e0e=_0x1db649[_0x460f07(0x332)],_0x325cb2=_0x2482fc[_0x460f07(0x44d)],_0x1e0010=[];(function(){const _0x4507d7=_0x460f07;for(var _0x3eff33=0x0;_0x3eff33<0x40;_0x3eff33++)_0x1e0010[_0x3eff33]=_0x1cd82b[_0x4507d7(0x399)](_0x1cd82b[_0x4507d7(0x524)](_0x3eff33+0x1))*0x100000000|0x0;}());var _0x47b07f=_0x325cb2[_0x460f07(0x36c)]=_0x271e0e[_0x460f07(0x187)]({'_doReset':function(){const _0x1bb6a9=_0x460f07;this[_0x1bb6a9(0x53a)]=new _0x50b064[(_0x1bb6a9(0x1d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x57b406,_0x4cd6ae){const _0x200976=_0x460f07;for(var _0x1b37bd=0x0;_0x1b37bd<0x10;_0x1b37bd++){var _0x5379d3=_0x4cd6ae+_0x1b37bd,_0x2c7a1d=_0x57b406[_0x5379d3];_0x57b406[_0x5379d3]=(_0x2c7a1d<<0x8|_0x2c7a1d>>>0x18)&0xff00ff|(_0x2c7a1d<<0x18|_0x2c7a1d>>>0x8)&0xff00ff00;}var _0x5321ca=this[_0x200976(0x53a)][_0x200976(0x1fa)],_0x4755f2=_0x57b406[_0x4cd6ae+0x0],_0x1a4fd3=_0x57b406[_0x4cd6ae+0x1],_0x408d3b=_0x57b406[_0x4cd6ae+0x2],_0x203499=_0x57b406[_0x4cd6ae+0x3],_0x3156fe=_0x57b406[_0x4cd6ae+0x4],_0x3f3fbd=_0x57b406[_0x4cd6ae+0x5],_0x3e56ea=_0x57b406[_0x4cd6ae+0x6],_0x3a2c2a=_0x57b406[_0x4cd6ae+0x7],_0x295878=_0x57b406[_0x4cd6ae+0x8],_0x4572b7=_0x57b406[_0x4cd6ae+0x9],_0x712aab=_0x57b406[_0x4cd6ae+0xa],_0x236529=_0x57b406[_0x4cd6ae+0xb],_0x277708=_0x57b406[_0x4cd6ae+0xc],_0x1a31a1=_0x57b406[_0x4cd6ae+0xd],_0x7c0474=_0x57b406[_0x4cd6ae+0xe],_0x24d0b8=_0x57b406[_0x4cd6ae+0xf],_0x656c41=_0x5321ca[0x0],_0x570d6d=_0x5321ca[0x1],_0x2e07a0=_0x5321ca[0x2],_0x233209=_0x5321ca[0x3];_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4755f2,0x7,_0x1e0010[0x0]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x1a4fd3,0xc,_0x1e0010[0x1]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x408d3b,0x11,_0x1e0010[0x2]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x203499,0x16,_0x1e0010[0x3]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3156fe,0x7,_0x1e0010[0x4]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3f3fbd,0xc,_0x1e0010[0x5]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3e56ea,0x11,_0x1e0010[0x6]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3a2c2a,0x16,_0x1e0010[0x7]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x295878,0x7,_0x1e0010[0x8]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x4572b7,0xc,_0x1e0010[0x9]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x712aab,0x11,_0x1e0010[0xa]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x236529,0x16,_0x1e0010[0xb]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x277708,0x7,_0x1e0010[0xc]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x1a31a1,0xc,_0x1e0010[0xd]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x7c0474,0x11,_0x1e0010[0xe]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x24d0b8,0x16,_0x1e0010[0xf]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a4fd3,0x5,_0x1e0010[0x10]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3e56ea,0x9,_0x1e0010[0x11]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x236529,0xe,_0x1e0010[0x12]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x4755f2,0x14,_0x1e0010[0x13]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3f3fbd,0x5,_0x1e0010[0x14]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x712aab,0x9,_0x1e0010[0x15]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x24d0b8,0xe,_0x1e0010[0x16]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3156fe,0x14,_0x1e0010[0x17]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4572b7,0x5,_0x1e0010[0x18]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x7c0474,0x9,_0x1e0010[0x19]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x203499,0xe,_0x1e0010[0x1a]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x295878,0x14,_0x1e0010[0x1b]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a31a1,0x5,_0x1e0010[0x1c]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x408d3b,0x9,_0x1e0010[0x1d]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3a2c2a,0xe,_0x1e0010[0x1e]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x277708,0x14,_0x1e0010[0x1f]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3f3fbd,0x4,_0x1e0010[0x20]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x295878,0xb,_0x1e0010[0x21]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x236529,0x10,_0x1e0010[0x22]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x7c0474,0x17,_0x1e0010[0x23]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a4fd3,0x4,_0x1e0010[0x24]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3156fe,0xb,_0x1e0010[0x25]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3a2c2a,0x10,_0x1e0010[0x26]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x712aab,0x17,_0x1e0010[0x27]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a31a1,0x4,_0x1e0010[0x28]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x4755f2,0xb,_0x1e0010[0x29]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x203499,0x10,_0x1e0010[0x2a]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3e56ea,0x17,_0x1e0010[0x2b]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4572b7,0x4,_0x1e0010[0x2c]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x277708,0xb,_0x1e0010[0x2d]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x24d0b8,0x10,_0x1e0010[0x2e]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x408d3b,0x17,_0x1e0010[0x2f]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4755f2,0x6,_0x1e0010[0x30]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3a2c2a,0xa,_0x1e0010[0x31]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x7c0474,0xf,_0x1e0010[0x32]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3f3fbd,0x15,_0x1e0010[0x33]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x277708,0x6,_0x1e0010[0x34]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x203499,0xa,_0x1e0010[0x35]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x712aab,0xf,_0x1e0010[0x36]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x1a4fd3,0x15,_0x1e0010[0x37]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x295878,0x6,_0x1e0010[0x38]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x24d0b8,0xa,_0x1e0010[0x39]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3e56ea,0xf,_0x1e0010[0x3a]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x1a31a1,0x15,_0x1e0010[0x3b]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3156fe,0x6,_0x1e0010[0x3c]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x236529,0xa,_0x1e0010[0x3d]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x408d3b,0xf,_0x1e0010[0x3e]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x4572b7,0x15,_0x1e0010[0x3f]),_0x5321ca[0x0]=_0x5321ca[0x0]+_0x656c41|0x0,_0x5321ca[0x1]=_0x5321ca[0x1]+_0x570d6d|0x0,_0x5321ca[0x2]=_0x5321ca[0x2]+_0x2e07a0|0x0,_0x5321ca[0x3]=_0x5321ca[0x3]+_0x233209|0x0;},'_doFinalize':function(){const _0x5b1b40=_0x460f07;var _0x5ea5fa=this[_0x5b1b40(0x2a9)],_0x195aae=_0x5ea5fa['words'],_0x202fd9=this[_0x5b1b40(0x3b8)]*0x8,_0x3499b1=_0x5ea5fa[_0x5b1b40(0x3ad)]*0x8;_0x195aae[_0x3499b1>>>0x5]|=0x80<<0x18-_0x3499b1%0x20;var _0x397acd=_0x1cd82b[_0x5b1b40(0x23d)](_0x202fd9/0x100000000),_0x44f647=_0x202fd9;_0x195aae[(_0x3499b1+0x40>>>0x9<<0x4)+0xf]=(_0x397acd<<0x8|_0x397acd>>>0x18)&0xff00ff|(_0x397acd<<0x18|_0x397acd>>>0x8)&0xff00ff00,_0x195aae[(_0x3499b1+0x40>>>0x9<<0x4)+0xe]=(_0x44f647<<0x8|_0x44f647>>>0x18)&0xff00ff|(_0x44f647<<0x18|_0x44f647>>>0x8)&0xff00ff00,_0x5ea5fa[_0x5b1b40(0x3ad)]=(_0x195aae[_0x5b1b40(0x282)]+0x1)*0x4,this[_0x5b1b40(0x16f)]();for(var _0x44cea8=this['_hash'],_0x653a70=_0x44cea8[_0x5b1b40(0x1fa)],_0xc07b7c=0x0;_0xc07b7c<0x4;_0xc07b7c++){var _0x3ab5a4=_0x653a70[_0xc07b7c];_0x653a70[_0xc07b7c]=(_0x3ab5a4<<0x8|_0x3ab5a4>>>0x18)&0xff00ff|(_0x3ab5a4<<0x18|_0x3ab5a4>>>0x8)&0xff00ff00;}return _0x44cea8;},'clone':function(){const _0x3294e0=_0x460f07;var _0x5ef8bd=_0x271e0e[_0x3294e0(0x431)][_0x3294e0(0x1f6)](this);return _0x5ef8bd[_0x3294e0(0x53a)]=this[_0x3294e0(0x53a)][_0x3294e0(0x431)](),_0x5ef8bd;}});function _0x309cdc(_0x33d2be,_0x18cd00,_0x7fddb5,_0x126dbc,_0x1f7106,_0x5f0dc7,_0xabb8f6){var _0x389a48=_0x33d2be+(_0x18cd00&_0x7fddb5|~_0x18cd00&_0x126dbc)+_0x1f7106+_0xabb8f6;return(_0x389a48<<_0x5f0dc7|_0x389a48>>>0x20-_0x5f0dc7)+_0x18cd00;}function _0x233504(_0x57b570,_0x4f99db,_0x4899a8,_0x6fd66c,_0x758dea,_0x44424c,_0x550c21){var _0x5d3dac=_0x57b570+(_0x4f99db&_0x6fd66c|_0x4899a8&~_0x6fd66c)+_0x758dea+_0x550c21;return(_0x5d3dac<<_0x44424c|_0x5d3dac>>>0x20-_0x44424c)+_0x4f99db;}function _0x95bde1(_0x2490c5,_0x4afa55,_0x253341,_0xa54636,_0x5b9907,_0x1636d2,_0x28b665){var _0x425369=_0x2490c5+(_0x4afa55^_0x253341^_0xa54636)+_0x5b9907+_0x28b665;return(_0x425369<<_0x1636d2|_0x425369>>>0x20-_0x1636d2)+_0x4afa55;}function _0x56fb36(_0x758b2e,_0x5ba7a8,_0x1ac8ec,_0x2fb69d,_0x40a75b,_0x250dc2,_0x17b1e4){var _0x4b2a2f=_0x758b2e+(_0x1ac8ec^(_0x5ba7a8|~_0x2fb69d))+_0x40a75b+_0x17b1e4;return(_0x4b2a2f<<_0x250dc2|_0x4b2a2f>>>0x20-_0x250dc2)+_0x5ba7a8;}_0x2482fc[_0x460f07(0x36c)]=_0x271e0e[_0x460f07(0x3ee)](_0x47b07f),_0x2482fc[_0x460f07(0x285)]=_0x271e0e[_0x460f07(0x1d4)](_0x47b07f);}(Math),_0x435eac[_0x4f102(0x36c)];}));}(Gt)),Gt[_0x1304f2(0x236)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x6db3bd=_0x5bb7a4;return Qs||(Qs=0x1,function(_0x852991,_0x1a54bc){(function(_0x2c4a02,_0x6cd65d){_0x852991['exports']=_0x6cd65d(ue());}(Z,function(_0x583dab){return(function(){const _0x53f76b=_0x4081;var _0x42c67f=_0x583dab,_0x47f734=_0x42c67f[_0x53f76b(0x2f1)],_0x22efd6=_0x47f734[_0x53f76b(0x1b3)],_0xdb4653=_0x47f734[_0x53f76b(0x332)],_0x46f210=_0x42c67f[_0x53f76b(0x44d)],_0x3819ee=[],_0x4c7df2=_0x46f210[_0x53f76b(0x3b6)]=_0xdb4653[_0x53f76b(0x187)]({'_doReset':function(){const _0x571169=_0x53f76b;this[_0x571169(0x53a)]=new _0x22efd6[(_0x571169(0x1d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1c2222,_0x2315c6){const _0x4787d4=_0x53f76b;for(var _0x460f63=this[_0x4787d4(0x53a)]['words'],_0x5de972=_0x460f63[0x0],_0x259246=_0x460f63[0x1],_0x57f3d3=_0x460f63[0x2],_0xae7b73=_0x460f63[0x3],_0x131855=_0x460f63[0x4],_0x4dfc1a=0x0;_0x4dfc1a<0x50;_0x4dfc1a++){if(_0x4dfc1a<0x10)_0x3819ee[_0x4dfc1a]=_0x1c2222[_0x2315c6+_0x4dfc1a]|0x0;else{var _0x19e6f7=_0x3819ee[_0x4dfc1a-0x3]^_0x3819ee[_0x4dfc1a-0x8]^_0x3819ee[_0x4dfc1a-0xe]^_0x3819ee[_0x4dfc1a-0x10];_0x3819ee[_0x4dfc1a]=_0x19e6f7<<0x1|_0x19e6f7>>>0x1f;}var _0x1e0bfd=(_0x5de972<<0x5|_0x5de972>>>0x1b)+_0x131855+_0x3819ee[_0x4dfc1a];_0x4dfc1a<0x14?_0x1e0bfd+=(_0x259246&_0x57f3d3|~_0x259246&_0xae7b73)+0x5a827999:_0x4dfc1a<0x28?_0x1e0bfd+=(_0x259246^_0x57f3d3^_0xae7b73)+0x6ed9eba1:_0x4dfc1a<0x3c?_0x1e0bfd+=(_0x259246&_0x57f3d3|_0x259246&_0xae7b73|_0x57f3d3&_0xae7b73)-0x70e44324:_0x1e0bfd+=(_0x259246^_0x57f3d3^_0xae7b73)-0x359d3e2a,_0x131855=_0xae7b73,_0xae7b73=_0x57f3d3,_0x57f3d3=_0x259246<<0x1e|_0x259246>>>0x2,_0x259246=_0x5de972,_0x5de972=_0x1e0bfd;}_0x460f63[0x0]=_0x460f63[0x0]+_0x5de972|0x0,_0x460f63[0x1]=_0x460f63[0x1]+_0x259246|0x0,_0x460f63[0x2]=_0x460f63[0x2]+_0x57f3d3|0x0,_0x460f63[0x3]=_0x460f63[0x3]+_0xae7b73|0x0,_0x460f63[0x4]=_0x460f63[0x4]+_0x131855|0x0;},'_doFinalize':function(){const _0x24ac59=_0x53f76b;var _0x12c5bc=this[_0x24ac59(0x2a9)],_0x404c19=_0x12c5bc[_0x24ac59(0x1fa)],_0x1009ed=this['_nDataBytes']*0x8,_0x351e16=_0x12c5bc[_0x24ac59(0x3ad)]*0x8;return _0x404c19[_0x351e16>>>0x5]|=0x80<<0x18-_0x351e16%0x20,_0x404c19[(_0x351e16+0x40>>>0x9<<0x4)+0xe]=Math[_0x24ac59(0x23d)](_0x1009ed/0x100000000),_0x404c19[(_0x351e16+0x40>>>0x9<<0x4)+0xf]=_0x1009ed,_0x12c5bc[_0x24ac59(0x3ad)]=_0x404c19[_0x24ac59(0x282)]*0x4,this[_0x24ac59(0x16f)](),this[_0x24ac59(0x53a)];},'clone':function(){const _0x1963fc=_0x53f76b;var _0x2fb258=_0xdb4653['clone']['call'](this);return _0x2fb258[_0x1963fc(0x53a)]=this[_0x1963fc(0x53a)]['clone'](),_0x2fb258;}});_0x42c67f[_0x53f76b(0x3b6)]=_0xdb4653[_0x53f76b(0x3ee)](_0x4c7df2),_0x42c67f[_0x53f76b(0x531)]=_0xdb4653['_createHmacHelper'](_0x4c7df2);}()),_0x583dab['SHA1'];}));}(Kt)),Kt[_0x6db3bd(0x236)];}var zt={'exports':{}},ei;function Ga(){const _0xe0163e=_0x5bb7a4;return ei||(ei=0x1,function(_0x489453,_0x22f44e){(function(_0x2b8707,_0x446318){_0x489453['exports']=_0x446318(ue());}(Z,function(_0x25ea10){(function(){const _0x14d214=_0x4081;var _0x17c8a5=_0x25ea10,_0x5f4e9a=_0x17c8a5['lib'],_0x25ab74=_0x5f4e9a[_0x14d214(0x429)],_0x4554a3=_0x17c8a5[_0x14d214(0x522)],_0x361017=_0x4554a3[_0x14d214(0x331)],_0x5cd2e7=_0x17c8a5[_0x14d214(0x44d)];_0x5cd2e7['HMAC']=_0x25ab74[_0x14d214(0x187)]({'init':function(_0x213746,_0x3788a3){const _0x431feb=_0x14d214;_0x213746=this['_hasher']=new _0x213746[(_0x431feb(0x1d6))](),typeof _0x3788a3==_0x431feb(0x40c)&&(_0x3788a3=_0x361017[_0x431feb(0x57c)](_0x3788a3));var _0x39effd=_0x213746[_0x431feb(0x2c0)],_0x4c9226=_0x39effd*0x4;_0x3788a3['sigBytes']>_0x4c9226&&(_0x3788a3=_0x213746[_0x431feb(0x2e2)](_0x3788a3)),_0x3788a3[_0x431feb(0x551)]();for(var _0x3fdf05=this[_0x431feb(0x245)]=_0x3788a3[_0x431feb(0x431)](),_0xbf870d=this[_0x431feb(0x16d)]=_0x3788a3[_0x431feb(0x431)](),_0x12b72c=_0x3fdf05[_0x431feb(0x1fa)],_0x6ab7=_0xbf870d['words'],_0x13577d=0x0;_0x13577d<_0x39effd;_0x13577d++)_0x12b72c[_0x13577d]^=0x5c5c5c5c,_0x6ab7[_0x13577d]^=0x36363636;_0x3fdf05[_0x431feb(0x3ad)]=_0xbf870d['sigBytes']=_0x4c9226,this[_0x431feb(0x2d7)]();},'reset':function(){const _0xe9d616=_0x14d214;var _0x3daf79=this['_hasher'];_0x3daf79[_0xe9d616(0x2d7)](),_0x3daf79[_0xe9d616(0x3c9)](this[_0xe9d616(0x16d)]);},'update':function(_0x146ff3){const _0x277624=_0x14d214;return this['_hasher'][_0x277624(0x3c9)](_0x146ff3),this;},'finalize':function(_0x2b6cd3){const _0x25d959=_0x14d214;var _0x3497a8=this['_hasher'],_0x102c0=_0x3497a8['finalize'](_0x2b6cd3);_0x3497a8[_0x25d959(0x2d7)]();var _0x2cdb62=_0x3497a8[_0x25d959(0x2e2)](this['_oKey'][_0x25d959(0x431)]()[_0x25d959(0x196)](_0x102c0));return _0x2cdb62;}});}());}));}(zt)),zt[_0xe0163e(0x236)];}var ti;function Fi(){return ti||(ti=0x1,function(_0x31ee37,_0x3f2963){(function(_0xa06b0,_0x51f637,_0x1abac8){_0x31ee37['exports']=_0x51f637(ue(),Va(),Ga());}(Z,function(_0x48e2c1){return(function(){const _0x508f32=_0x4081;var _0x5c8d6b=_0x48e2c1,_0x21c4e0=_0x5c8d6b[_0x508f32(0x2f1)],_0x4e2bf4=_0x21c4e0[_0x508f32(0x429)],_0x4760e9=_0x21c4e0[_0x508f32(0x1b3)],_0x849efc=_0x5c8d6b[_0x508f32(0x44d)],_0x14b2ec=_0x849efc[_0x508f32(0x36c)],_0x4d7d11=_0x849efc['EvpKDF']=_0x4e2bf4['extend']({'cfg':_0x4e2bf4['extend']({'keySize':0x80/0x20,'hasher':_0x14b2ec,'iterations':0x1}),'init':function(_0x2d44bf){const _0x334f8b=_0x508f32;this['cfg']=this[_0x334f8b(0x181)][_0x334f8b(0x187)](_0x2d44bf);},'compute':function(_0x3a87d4,_0x5bac6e){const _0x11f0c0=_0x508f32;for(var _0x446f20,_0x599349=this[_0x11f0c0(0x181)],_0x199c95=_0x599349[_0x11f0c0(0x45f)][_0x11f0c0(0x54f)](),_0x2c7ffd=_0x4760e9[_0x11f0c0(0x54f)](),_0x54fb62=_0x2c7ffd['words'],_0x186150=_0x599349['keySize'],_0x3ab258=_0x599349[_0x11f0c0(0x1d0)];_0x54fb62[_0x11f0c0(0x282)]<_0x186150;){_0x446f20&&_0x199c95['update'](_0x446f20),_0x446f20=_0x199c95[_0x11f0c0(0x3c9)](_0x3a87d4)[_0x11f0c0(0x2e2)](_0x5bac6e),_0x199c95[_0x11f0c0(0x2d7)]();for(var _0x1bb496=0x1;_0x1bb496<_0x3ab258;_0x1bb496++)_0x446f20=_0x199c95[_0x11f0c0(0x2e2)](_0x446f20),_0x199c95['reset']();_0x2c7ffd[_0x11f0c0(0x196)](_0x446f20);}return _0x2c7ffd[_0x11f0c0(0x3ad)]=_0x186150*0x4,_0x2c7ffd;}});_0x5c8d6b['EvpKDF']=function(_0x1744f2,_0x109db0,_0x28d11f){const _0x219853=_0x508f32;return _0x4d7d11[_0x219853(0x54f)](_0x28d11f)['compute'](_0x1744f2,_0x109db0);};}()),_0x48e2c1['EvpKDF'];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0x225d35,_0x1fab56){(function(_0xddb8a3,_0xebdf5b,_0xf76766){const _0x3ca7f9=_0x4081;_0x225d35[_0x3ca7f9(0x236)]=_0xebdf5b(ue(),Fi());}(Z,function(_0x42cb16){const _0x1dd064=_0x4081;_0x42cb16['lib'][_0x1dd064(0x442)]||function(_0x5b7b97){const _0x2f2bb6=_0x1dd064;var _0x55ef83=_0x42cb16,_0x44cca4=_0x55ef83['lib'],_0x431a67=_0x44cca4[_0x2f2bb6(0x429)],_0x26fdbd=_0x44cca4['WordArray'],_0x9c453e=_0x44cca4[_0x2f2bb6(0x1b8)],_0x3b80a3=_0x55ef83[_0x2f2bb6(0x522)];_0x3b80a3['Utf8'];var _0x1d703f=_0x3b80a3[_0x2f2bb6(0x1fc)],_0x46df86=_0x55ef83['algo'],_0x5f44b6=_0x46df86[_0x2f2bb6(0x34b)],_0x15c5f1=_0x44cca4[_0x2f2bb6(0x442)]=_0x9c453e[_0x2f2bb6(0x187)]({'cfg':_0x431a67[_0x2f2bb6(0x187)](),'createEncryptor':function(_0x5e3615,_0x51a2e2){const _0x3e20fb=_0x2f2bb6;return this[_0x3e20fb(0x54f)](this[_0x3e20fb(0x529)],_0x5e3615,_0x51a2e2);},'createDecryptor':function(_0x52f101,_0x33eed1){return this['create'](this['_DEC_XFORM_MODE'],_0x52f101,_0x33eed1);},'init':function(_0x39bea6,_0x401027,_0x4d1f92){const _0x1c13d8=_0x2f2bb6;this[_0x1c13d8(0x181)]=this['cfg'][_0x1c13d8(0x187)](_0x4d1f92),this['_xformMode']=_0x39bea6,this[_0x1c13d8(0x24d)]=_0x401027,this['reset']();},'reset':function(){const _0x123161=_0x2f2bb6;_0x9c453e[_0x123161(0x2d7)]['call'](this),this[_0x123161(0x1c4)]();},'process':function(_0x2cd3a1){const _0x4c8f6b=_0x2f2bb6;return this[_0x4c8f6b(0x362)](_0x2cd3a1),this[_0x4c8f6b(0x16f)]();},'finalize':function(_0x454914){const _0x574d26=_0x2f2bb6;_0x454914&&this[_0x574d26(0x362)](_0x454914);var _0x20a64f=this[_0x574d26(0x555)]();return _0x20a64f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x20b599(_0x26cee0){const _0x43cd19=_0x4081;return typeof _0x26cee0==_0x43cd19(0x40c)?_0x2735c5:_0x4543a7;}return function(_0x53b697){return{'encrypt':function(_0x36c94b,_0x458863,_0x102411){return _0x20b599(_0x458863)['encrypt'](_0x53b697,_0x36c94b,_0x458863,_0x102411);},'decrypt':function(_0x9f01ee,_0x5abc96,_0x263375){const _0x360809=_0x4081;return _0x20b599(_0x5abc96)[_0x360809(0x27b)](_0x53b697,_0x9f01ee,_0x5abc96,_0x263375);}};};}())});_0x44cca4[_0x2f2bb6(0x4c0)]=_0x15c5f1[_0x2f2bb6(0x187)]({'_doFinalize':function(){const _0x4b4045=_0x2f2bb6;var _0xd47c86=this[_0x4b4045(0x16f)](!0x0);return _0xd47c86;},'blockSize':0x1});var _0x151d9f=_0x55ef83['mode']={},_0x1d4696=_0x44cca4[_0x2f2bb6(0x178)]=_0x431a67[_0x2f2bb6(0x187)]({'createEncryptor':function(_0x1c3de8,_0x560a9d){const _0x5662be=_0x2f2bb6;return this[_0x5662be(0x52e)][_0x5662be(0x54f)](_0x1c3de8,_0x560a9d);},'createDecryptor':function(_0x54c9f9,_0x395209){const _0x3b5c57=_0x2f2bb6;return this[_0x3b5c57(0x21e)][_0x3b5c57(0x54f)](_0x54c9f9,_0x395209);},'init':function(_0x32d6a1,_0x5f1d73){const _0x4ca9a1=_0x2f2bb6;this[_0x4ca9a1(0x378)]=_0x32d6a1,this[_0x4ca9a1(0x544)]=_0x5f1d73;}}),_0x42dfa5=_0x151d9f[_0x2f2bb6(0x4e0)]=(function(){const _0x18ae57=_0x2f2bb6;var _0x2f684f=_0x1d4696[_0x18ae57(0x187)]();_0x2f684f[_0x18ae57(0x52e)]=_0x2f684f[_0x18ae57(0x187)]({'processBlock':function(_0x62ad3,_0x2f7d18){const _0xb9f9e8=_0x18ae57;var _0x611256=this[_0xb9f9e8(0x378)],_0x4eb647=_0x611256[_0xb9f9e8(0x2c0)];_0x264633[_0xb9f9e8(0x1f6)](this,_0x62ad3,_0x2f7d18,_0x4eb647),_0x611256[_0xb9f9e8(0x188)](_0x62ad3,_0x2f7d18),this['_prevBlock']=_0x62ad3[_0xb9f9e8(0x3e2)](_0x2f7d18,_0x2f7d18+_0x4eb647);}}),_0x2f684f['Decryptor']=_0x2f684f[_0x18ae57(0x187)]({'processBlock':function(_0x3ad08c,_0xf6610a){const _0x28bb48=_0x18ae57;var _0x2f10b8=this[_0x28bb48(0x378)],_0x2a90c4=_0x2f10b8[_0x28bb48(0x2c0)],_0x1aa2bc=_0x3ad08c[_0x28bb48(0x3e2)](_0xf6610a,_0xf6610a+_0x2a90c4);_0x2f10b8[_0x28bb48(0x460)](_0x3ad08c,_0xf6610a),_0x264633[_0x28bb48(0x1f6)](this,_0x3ad08c,_0xf6610a,_0x2a90c4),this[_0x28bb48(0x169)]=_0x1aa2bc;}});function _0x264633(_0x189367,_0x501d7e,_0x2c8c0c){const _0x407ba8=_0x18ae57;var _0x568f4,_0x19dc4a=this['_iv'];_0x19dc4a?(_0x568f4=_0x19dc4a,this[_0x407ba8(0x544)]=_0x5b7b97):_0x568f4=this[_0x407ba8(0x169)];for(var _0x511654=0x0;_0x511654<_0x2c8c0c;_0x511654++)_0x189367[_0x501d7e+_0x511654]^=_0x568f4[_0x511654];}return _0x2f684f;}()),_0x496ac2=_0x55ef83['pad']={},_0x25c0f3=_0x496ac2[_0x2f2bb6(0x1ed)]={'pad':function(_0x53a1e6,_0x46f8a0){const _0x19e944=_0x2f2bb6;for(var _0x5919f9=_0x46f8a0*0x4,_0x2742d5=_0x5919f9-_0x53a1e6[_0x19e944(0x3ad)]%_0x5919f9,_0x1837e6=_0x2742d5<<0x18|_0x2742d5<<0x10|_0x2742d5<<0x8|_0x2742d5,_0x54c90a=[],_0x3fb44b=0x0;_0x3fb44b<_0x2742d5;_0x3fb44b+=0x4)_0x54c90a[_0x19e944(0x433)](_0x1837e6);var _0x948b2=_0x26fdbd['create'](_0x54c90a,_0x2742d5);_0x53a1e6[_0x19e944(0x196)](_0x948b2);},'unpad':function(_0xd0d498){const _0x402793=_0x2f2bb6;var _0x526a16=_0xd0d498[_0x402793(0x1fa)][_0xd0d498[_0x402793(0x3ad)]-0x1>>>0x2]&0xff;_0xd0d498[_0x402793(0x3ad)]-=_0x526a16;}};_0x44cca4[_0x2f2bb6(0x516)]=_0x15c5f1[_0x2f2bb6(0x187)]({'cfg':_0x15c5f1[_0x2f2bb6(0x181)][_0x2f2bb6(0x187)]({'mode':_0x42dfa5,'padding':_0x25c0f3}),'reset':function(){const _0x5f1b46=_0x2f2bb6;var _0x52601d;_0x15c5f1['reset'][_0x5f1b46(0x1f6)](this);var _0x1e653e=this[_0x5f1b46(0x181)],_0x194541=_0x1e653e['iv'],_0x5336c7=_0x1e653e[_0x5f1b46(0x490)];this['_xformMode']==this[_0x5f1b46(0x529)]?_0x52601d=_0x5336c7[_0x5f1b46(0x34a)]:(_0x52601d=_0x5336c7['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x5f1b46(0x580)][_0x5f1b46(0x439)]==_0x52601d?this['_mode'][_0x5f1b46(0x1d6)](this,_0x194541&&_0x194541['words']):(this[_0x5f1b46(0x580)]=_0x52601d['call'](_0x5336c7,this,_0x194541&&_0x194541[_0x5f1b46(0x1fa)]),this['_mode'][_0x5f1b46(0x439)]=_0x52601d);},'_doProcessBlock':function(_0x28e229,_0x4d6495){const _0x594ff2=_0x2f2bb6;this[_0x594ff2(0x580)][_0x594ff2(0x50f)](_0x28e229,_0x4d6495);},'_doFinalize':function(){const _0x1eb9ed=_0x2f2bb6;var _0x37da27,_0x4bfa8b=this[_0x1eb9ed(0x181)][_0x1eb9ed(0x4cc)];return this[_0x1eb9ed(0x241)]==this[_0x1eb9ed(0x529)]?(_0x4bfa8b[_0x1eb9ed(0x57e)](this[_0x1eb9ed(0x2a9)],this[_0x1eb9ed(0x2c0)]),_0x37da27=this['_process'](!0x0)):(_0x37da27=this[_0x1eb9ed(0x16f)](!0x0),_0x4bfa8b['unpad'](_0x37da27)),_0x37da27;},'blockSize':0x80/0x20});var _0xd75394=_0x44cca4['CipherParams']=_0x431a67[_0x2f2bb6(0x187)]({'init':function(_0x29caf6){const _0x2156e9=_0x2f2bb6;this[_0x2156e9(0x3a4)](_0x29caf6);},'toString':function(_0x40123d){return(_0x40123d||this['formatter'])['stringify'](this);}}),_0x2283bf=_0x55ef83[_0x2f2bb6(0x27c)]={},_0x1f9474=_0x2283bf[_0x2f2bb6(0x3aa)]={'stringify':function(_0x5df56e){const _0x601f9c=_0x2f2bb6;var _0x4022b7,_0x39736a=_0x5df56e[_0x601f9c(0x2bc)],_0x4383ec=_0x5df56e['salt'];return _0x4383ec?_0x4022b7=_0x26fdbd['create']([0x53616c74,0x65645f5f])['concat'](_0x4383ec)[_0x601f9c(0x196)](_0x39736a):_0x4022b7=_0x39736a,_0x4022b7[_0x601f9c(0x2e5)](_0x1d703f);},'parse':function(_0x596176){const _0x4e2c5a=_0x2f2bb6;var _0x50120e,_0x230d37=_0x1d703f[_0x4e2c5a(0x57c)](_0x596176),_0x1932ef=_0x230d37[_0x4e2c5a(0x1fa)];return _0x1932ef[0x0]==0x53616c74&&_0x1932ef[0x1]==0x65645f5f&&(_0x50120e=_0x26fdbd[_0x4e2c5a(0x54f)](_0x1932ef[_0x4e2c5a(0x3e2)](0x2,0x4)),_0x1932ef[_0x4e2c5a(0x307)](0x0,0x4),_0x230d37[_0x4e2c5a(0x3ad)]-=0x10),_0xd75394[_0x4e2c5a(0x54f)]({'ciphertext':_0x230d37,'salt':_0x50120e});}},_0x4543a7=_0x44cca4[_0x2f2bb6(0x3a1)]=_0x431a67[_0x2f2bb6(0x187)]({'cfg':_0x431a67[_0x2f2bb6(0x187)]({'format':_0x1f9474}),'encrypt':function(_0xb5696a,_0x179787,_0x18f2a5,_0x2b5118){const _0x503023=_0x2f2bb6;_0x2b5118=this['cfg'][_0x503023(0x187)](_0x2b5118);var _0x38600b=_0xb5696a[_0x503023(0x34a)](_0x18f2a5,_0x2b5118),_0x53810c=_0x38600b[_0x503023(0x2e2)](_0x179787),_0x37e88f=_0x38600b[_0x503023(0x181)];return _0xd75394[_0x503023(0x54f)]({'ciphertext':_0x53810c,'key':_0x18f2a5,'iv':_0x37e88f['iv'],'algorithm':_0xb5696a,'mode':_0x37e88f[_0x503023(0x490)],'padding':_0x37e88f[_0x503023(0x4cc)],'blockSize':_0xb5696a['blockSize'],'formatter':_0x2b5118[_0x503023(0x27c)]});},'decrypt':function(_0x90976d,_0x169170,_0x43e81f,_0x18cb40){const _0x16df18=_0x2f2bb6;_0x18cb40=this[_0x16df18(0x181)][_0x16df18(0x187)](_0x18cb40),_0x169170=this[_0x16df18(0x4f5)](_0x169170,_0x18cb40['format']);var _0x13f654=_0x90976d[_0x16df18(0x430)](_0x43e81f,_0x18cb40)[_0x16df18(0x2e2)](_0x169170[_0x16df18(0x2bc)]);return _0x13f654;},'_parse':function(_0x353665,_0x51dc39){const _0x3d35a1=_0x2f2bb6;return typeof _0x353665==_0x3d35a1(0x40c)?_0x51dc39[_0x3d35a1(0x57c)](_0x353665,this):_0x353665;}}),_0x1868f3=_0x55ef83[_0x2f2bb6(0x1a3)]={},_0x390967=_0x1868f3['OpenSSL']={'execute':function(_0xbb6769,_0x5d4f35,_0x1e9d21,_0x4d8ea9,_0x36d8a4){const _0x1761b2=_0x2f2bb6;if(_0x4d8ea9||(_0x4d8ea9=_0x26fdbd[_0x1761b2(0x453)](0x40/0x8)),_0x36d8a4)var _0x385a09=_0x5f44b6['create']({'keySize':_0x5d4f35+_0x1e9d21,'hasher':_0x36d8a4})[_0x1761b2(0x3fb)](_0xbb6769,_0x4d8ea9);else var _0x385a09=_0x5f44b6[_0x1761b2(0x54f)]({'keySize':_0x5d4f35+_0x1e9d21})[_0x1761b2(0x3fb)](_0xbb6769,_0x4d8ea9);var _0x37c85c=_0x26fdbd[_0x1761b2(0x54f)](_0x385a09[_0x1761b2(0x1fa)][_0x1761b2(0x3e2)](_0x5d4f35),_0x1e9d21*0x4);return _0x385a09['sigBytes']=_0x5d4f35*0x4,_0xd75394['create']({'key':_0x385a09,'iv':_0x37c85c,'salt':_0x4d8ea9});}},_0x2735c5=_0x44cca4[_0x2f2bb6(0x4a9)]=_0x4543a7[_0x2f2bb6(0x187)]({'cfg':_0x4543a7[_0x2f2bb6(0x181)][_0x2f2bb6(0x187)]({'kdf':_0x390967}),'encrypt':function(_0x3fdfb5,_0x2e9fb5,_0x314b84,_0x2e718d){const _0x784017=_0x2f2bb6;_0x2e718d=this[_0x784017(0x181)][_0x784017(0x187)](_0x2e718d);var _0x5844dc=_0x2e718d[_0x784017(0x1a3)][_0x784017(0x1f4)](_0x314b84,_0x3fdfb5[_0x784017(0x4dd)],_0x3fdfb5[_0x784017(0x3da)],_0x2e718d['salt'],_0x2e718d[_0x784017(0x45f)]);_0x2e718d['iv']=_0x5844dc['iv'];var _0x22b585=_0x4543a7[_0x784017(0x26f)][_0x784017(0x1f6)](this,_0x3fdfb5,_0x2e9fb5,_0x5844dc[_0x784017(0x275)],_0x2e718d);return _0x22b585[_0x784017(0x3a4)](_0x5844dc),_0x22b585;},'decrypt':function(_0x497b42,_0x38643d,_0x952065,_0x53ccb6){const _0x5ac3da=_0x2f2bb6;_0x53ccb6=this[_0x5ac3da(0x181)]['extend'](_0x53ccb6),_0x38643d=this[_0x5ac3da(0x4f5)](_0x38643d,_0x53ccb6[_0x5ac3da(0x27c)]);var _0x4bac45=_0x53ccb6[_0x5ac3da(0x1a3)][_0x5ac3da(0x1f4)](_0x952065,_0x497b42[_0x5ac3da(0x4dd)],_0x497b42[_0x5ac3da(0x3da)],_0x38643d[_0x5ac3da(0x293)],_0x53ccb6[_0x5ac3da(0x45f)]);_0x53ccb6['iv']=_0x4bac45['iv'];var _0x2a680b=_0x4543a7[_0x5ac3da(0x27b)][_0x5ac3da(0x1f6)](this,_0x497b42,_0x38643d,_0x4bac45[_0x5ac3da(0x275)],_0x53ccb6);return _0x2a680b;}});}();}));}(qt)),qt['exports'];}(function(_0x3c6fe6,_0xe65eab){(function(_0x107372,_0x278fa7,_0x2a742d){const _0xda62d9=_0x4081;_0x3c6fe6[_0xda62d9(0x236)]=_0x278fa7(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x5d40c2){const _0x59a048=_0x4081;return(function(){const _0x49c0cb=_0x4081;var _0x348ae9=_0x5d40c2,_0x1740f7=_0x348ae9[_0x49c0cb(0x2f1)],_0x1f88cb=_0x1740f7[_0x49c0cb(0x516)],_0x5d024e=_0x348ae9['algo'],_0x1cdb38=[],_0x34183d=[],_0x1c7153=[],_0x56a2fa=[],_0xf5150=[],_0x4f87a0=[],_0x43b877=[],_0x18e1f6=[],_0x5c6ace=[],_0x35991=[];(function(){for(var _0x1d58b7=[],_0x49e2a8=0x0;_0x49e2a8<0x100;_0x49e2a8++)_0x49e2a8<0x80?_0x1d58b7[_0x49e2a8]=_0x49e2a8<<0x1:_0x1d58b7[_0x49e2a8]=_0x49e2a8<<0x1^0x11b;for(var _0x4b15c5=0x0,_0x533ece=0x0,_0x49e2a8=0x0;_0x49e2a8<0x100;_0x49e2a8++){var _0x5184e0=_0x533ece^_0x533ece<<0x1^_0x533ece<<0x2^_0x533ece<<0x3^_0x533ece<<0x4;_0x5184e0=_0x5184e0>>>0x8^_0x5184e0&0xff^0x63,_0x1cdb38[_0x4b15c5]=_0x5184e0,_0x34183d[_0x5184e0]=_0x4b15c5;var _0x12226b=_0x1d58b7[_0x4b15c5],_0x14a85d=_0x1d58b7[_0x12226b],_0x976c54=_0x1d58b7[_0x14a85d],_0x23afb7=_0x1d58b7[_0x5184e0]*0x101^_0x5184e0*0x1010100;_0x1c7153[_0x4b15c5]=_0x23afb7<<0x18|_0x23afb7>>>0x8,_0x56a2fa[_0x4b15c5]=_0x23afb7<<0x10|_0x23afb7>>>0x10,_0xf5150[_0x4b15c5]=_0x23afb7<<0x8|_0x23afb7>>>0x18,_0x4f87a0[_0x4b15c5]=_0x23afb7;var _0x23afb7=_0x976c54*0x1010101^_0x14a85d*0x10001^_0x12226b*0x101^_0x4b15c5*0x1010100;_0x43b877[_0x5184e0]=_0x23afb7<<0x18|_0x23afb7>>>0x8,_0x18e1f6[_0x5184e0]=_0x23afb7<<0x10|_0x23afb7>>>0x10,_0x5c6ace[_0x5184e0]=_0x23afb7<<0x8|_0x23afb7>>>0x18,_0x35991[_0x5184e0]=_0x23afb7,_0x4b15c5?(_0x4b15c5=_0x12226b^_0x1d58b7[_0x1d58b7[_0x1d58b7[_0x976c54^_0x12226b]]],_0x533ece^=_0x1d58b7[_0x1d58b7[_0x533ece]]):_0x4b15c5=_0x533ece=0x1;}}());var _0x4424c4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5aad3c=_0x5d024e[_0x49c0cb(0x2c4)]=_0x1f88cb['extend']({'_doReset':function(){const _0x2d806f=_0x49c0cb;var _0x5e7691;if(!(this[_0x2d806f(0x2b7)]&&this['_keyPriorReset']===this[_0x2d806f(0x24d)])){for(var _0x418715=this[_0x2d806f(0x380)]=this[_0x2d806f(0x24d)],_0x450d95=_0x418715[_0x2d806f(0x1fa)],_0xd8ca1e=_0x418715['sigBytes']/0x4,_0x183b03=this[_0x2d806f(0x2b7)]=_0xd8ca1e+0x6,_0x2a9e2d=(_0x183b03+0x1)*0x4,_0x292d44=this[_0x2d806f(0x3d1)]=[],_0x1ab74d=0x0;_0x1ab74d<_0x2a9e2d;_0x1ab74d++)_0x1ab74d<_0xd8ca1e?_0x292d44[_0x1ab74d]=_0x450d95[_0x1ab74d]:(_0x5e7691=_0x292d44[_0x1ab74d-0x1],_0x1ab74d%_0xd8ca1e?_0xd8ca1e>0x6&&_0x1ab74d%_0xd8ca1e==0x4&&(_0x5e7691=_0x1cdb38[_0x5e7691>>>0x18]<<0x18|_0x1cdb38[_0x5e7691>>>0x10&0xff]<<0x10|_0x1cdb38[_0x5e7691>>>0x8&0xff]<<0x8|_0x1cdb38[_0x5e7691&0xff]):(_0x5e7691=_0x5e7691<<0x8|_0x5e7691>>>0x18,_0x5e7691=_0x1cdb38[_0x5e7691>>>0x18]<<0x18|_0x1cdb38[_0x5e7691>>>0x10&0xff]<<0x10|_0x1cdb38[_0x5e7691>>>0x8&0xff]<<0x8|_0x1cdb38[_0x5e7691&0xff],_0x5e7691^=_0x4424c4[_0x1ab74d/_0xd8ca1e|0x0]<<0x18),_0x292d44[_0x1ab74d]=_0x292d44[_0x1ab74d-_0xd8ca1e]^_0x5e7691);for(var _0x1b0842=this['_invKeySchedule']=[],_0xee9b2c=0x0;_0xee9b2c<_0x2a9e2d;_0xee9b2c++){var _0x1ab74d=_0x2a9e2d-_0xee9b2c;if(_0xee9b2c%0x4)var _0x5e7691=_0x292d44[_0x1ab74d];else var _0x5e7691=_0x292d44[_0x1ab74d-0x4];_0xee9b2c<0x4||_0x1ab74d<=0x4?_0x1b0842[_0xee9b2c]=_0x5e7691:_0x1b0842[_0xee9b2c]=_0x43b877[_0x1cdb38[_0x5e7691>>>0x18]]^_0x18e1f6[_0x1cdb38[_0x5e7691>>>0x10&0xff]]^_0x5c6ace[_0x1cdb38[_0x5e7691>>>0x8&0xff]]^_0x35991[_0x1cdb38[_0x5e7691&0xff]];}}},'encryptBlock':function(_0xd06df1,_0x410d84){const _0x71e8f7=_0x49c0cb;this['_doCryptBlock'](_0xd06df1,_0x410d84,this[_0x71e8f7(0x3d1)],_0x1c7153,_0x56a2fa,_0xf5150,_0x4f87a0,_0x1cdb38);},'decryptBlock':function(_0x22eb82,_0xcacd52){const _0x4ce6d9=_0x49c0cb;var _0x2c4ecd=_0x22eb82[_0xcacd52+0x1];_0x22eb82[_0xcacd52+0x1]=_0x22eb82[_0xcacd52+0x3],_0x22eb82[_0xcacd52+0x3]=_0x2c4ecd,this[_0x4ce6d9(0x34f)](_0x22eb82,_0xcacd52,this[_0x4ce6d9(0x369)],_0x43b877,_0x18e1f6,_0x5c6ace,_0x35991,_0x34183d);var _0x2c4ecd=_0x22eb82[_0xcacd52+0x1];_0x22eb82[_0xcacd52+0x1]=_0x22eb82[_0xcacd52+0x3],_0x22eb82[_0xcacd52+0x3]=_0x2c4ecd;},'_doCryptBlock':function(_0x296970,_0x44a3c0,_0xf85c06,_0xa19b6,_0x3dec56,_0x29678d,_0x396775,_0x125520){const _0x2d8305=_0x49c0cb;for(var _0x25f32c=this[_0x2d8305(0x2b7)],_0x4d7b01=_0x296970[_0x44a3c0]^_0xf85c06[0x0],_0x2ab42e=_0x296970[_0x44a3c0+0x1]^_0xf85c06[0x1],_0x118026=_0x296970[_0x44a3c0+0x2]^_0xf85c06[0x2],_0x548b6a=_0x296970[_0x44a3c0+0x3]^_0xf85c06[0x3],_0x17514f=0x4,_0x2b3bf6=0x1;_0x2b3bf6<_0x25f32c;_0x2b3bf6++){var _0x220d9f=_0xa19b6[_0x4d7b01>>>0x18]^_0x3dec56[_0x2ab42e>>>0x10&0xff]^_0x29678d[_0x118026>>>0x8&0xff]^_0x396775[_0x548b6a&0xff]^_0xf85c06[_0x17514f++],_0x14794f=_0xa19b6[_0x2ab42e>>>0x18]^_0x3dec56[_0x118026>>>0x10&0xff]^_0x29678d[_0x548b6a>>>0x8&0xff]^_0x396775[_0x4d7b01&0xff]^_0xf85c06[_0x17514f++],_0x5e0db8=_0xa19b6[_0x118026>>>0x18]^_0x3dec56[_0x548b6a>>>0x10&0xff]^_0x29678d[_0x4d7b01>>>0x8&0xff]^_0x396775[_0x2ab42e&0xff]^_0xf85c06[_0x17514f++],_0x3fe4f5=_0xa19b6[_0x548b6a>>>0x18]^_0x3dec56[_0x4d7b01>>>0x10&0xff]^_0x29678d[_0x2ab42e>>>0x8&0xff]^_0x396775[_0x118026&0xff]^_0xf85c06[_0x17514f++];_0x4d7b01=_0x220d9f,_0x2ab42e=_0x14794f,_0x118026=_0x5e0db8,_0x548b6a=_0x3fe4f5;}var _0x220d9f=(_0x125520[_0x4d7b01>>>0x18]<<0x18|_0x125520[_0x2ab42e>>>0x10&0xff]<<0x10|_0x125520[_0x118026>>>0x8&0xff]<<0x8|_0x125520[_0x548b6a&0xff])^_0xf85c06[_0x17514f++],_0x14794f=(_0x125520[_0x2ab42e>>>0x18]<<0x18|_0x125520[_0x118026>>>0x10&0xff]<<0x10|_0x125520[_0x548b6a>>>0x8&0xff]<<0x8|_0x125520[_0x4d7b01&0xff])^_0xf85c06[_0x17514f++],_0x5e0db8=(_0x125520[_0x118026>>>0x18]<<0x18|_0x125520[_0x548b6a>>>0x10&0xff]<<0x10|_0x125520[_0x4d7b01>>>0x8&0xff]<<0x8|_0x125520[_0x2ab42e&0xff])^_0xf85c06[_0x17514f++],_0x3fe4f5=(_0x125520[_0x548b6a>>>0x18]<<0x18|_0x125520[_0x4d7b01>>>0x10&0xff]<<0x10|_0x125520[_0x2ab42e>>>0x8&0xff]<<0x8|_0x125520[_0x118026&0xff])^_0xf85c06[_0x17514f++];_0x296970[_0x44a3c0]=_0x220d9f,_0x296970[_0x44a3c0+0x1]=_0x14794f,_0x296970[_0x44a3c0+0x2]=_0x5e0db8,_0x296970[_0x44a3c0+0x3]=_0x3fe4f5;},'keySize':0x100/0x20});_0x348ae9[_0x49c0cb(0x2c4)]=_0x1f88cb[_0x49c0cb(0x3ee)](_0x5aad3c);}()),_0x5d40c2[_0x59a048(0x2c4)];}));}(ki));var Ya=ki[_0x5bb7a4(0x236)];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x44b7b9,_0x37df8a){(function(_0x55a35a,_0x1173dd){const _0x239f9a=_0x4081;_0x44b7b9[_0x239f9a(0x236)]=_0x1173dd(ue());}(Z,function(_0x57819e){return _0x57819e['enc']['Utf8'];}));}(Gi));var qa=Gi[_0x5bb7a4(0x236)];const Xa=at(qa);var Yi={'exports':{}};(function(_0x215e92,_0x1c5792){(function(_0x2d2c8d,_0x12fd4e){const _0x204f59=_0x4081;_0x215e92[_0x204f59(0x236)]=_0x12fd4e(ue());}(Z,function(_0x35f3b9){const _0x4785f0=_0x4081;return(function(){const _0x374518=_0x4081;if(typeof ArrayBuffer==_0x374518(0x4b8)){var _0x10b2f9=_0x35f3b9,_0x5bff3a=_0x10b2f9['lib'],_0x1d925c=_0x5bff3a[_0x374518(0x1b3)],_0x25cc5d=_0x1d925c[_0x374518(0x1d6)],_0x7d0f0a=_0x1d925c[_0x374518(0x1d6)]=function(_0x47e372){const _0x16af44=_0x374518;if(_0x47e372 instanceof ArrayBuffer&&(_0x47e372=new Uint8Array(_0x47e372)),(_0x47e372 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x47e372 instanceof Uint8ClampedArray||_0x47e372 instanceof Int16Array||_0x47e372 instanceof Uint16Array||_0x47e372 instanceof Int32Array||_0x47e372 instanceof Uint32Array||_0x47e372 instanceof Float32Array||_0x47e372 instanceof Float64Array)&&(_0x47e372=new Uint8Array(_0x47e372[_0x16af44(0x57b)],_0x47e372[_0x16af44(0x2bd)],_0x47e372[_0x16af44(0x4ff)])),_0x47e372 instanceof Uint8Array){for(var _0xa0fcf8=_0x47e372['byteLength'],_0x2c2afd=[],_0x31d4e6=0x0;_0x31d4e6<_0xa0fcf8;_0x31d4e6++)_0x2c2afd[_0x31d4e6>>>0x2]|=_0x47e372[_0x31d4e6]<<0x18-_0x31d4e6%0x4*0x8;_0x25cc5d[_0x16af44(0x1f6)](this,_0x2c2afd,_0xa0fcf8);}else _0x25cc5d[_0x16af44(0x568)](this,arguments);};_0x7d0f0a['prototype']=_0x1d925c;}}()),_0x35f3b9['lib'][_0x4785f0(0x1b3)];}));}(Yi));var Ja=Yi['exports'];const Za=at(Ja);var Ki={'exports':{}};(function(_0x218af6,_0x9d0c7d){(function(_0x5eedf1,_0x1cf7fd,_0x10ae64){const _0x485ec0=_0x4081;_0x218af6[_0x485ec0(0x236)]=_0x1cf7fd(ue(),Vi());}(Z,function(_0x574897){const _0x3c4e59=_0x4081;return _0x574897[_0x3c4e59(0x57e)][_0x3c4e59(0x540)]={'pad':function(){},'unpad':function(){}},_0x574897[_0x3c4e59(0x57e)][_0x3c4e59(0x540)];}));}(Ki));var Qa=Ki[_0x5bb7a4(0x236)];const ec=at(Qa);function tc(_0x56c7f3,_0x1766a6){const _0x452570=_0x5bb7a4,_0x441abd=_0x1766a6-_0x56c7f3[_0x452570(0x282)]%_0x1766a6,_0x55b041=String[_0x452570(0x224)](_0x441abd)[_0x452570(0x39f)](_0x441abd);return _0x56c7f3+_0x55b041;}function sc(_0x4e54d2,_0x4825e2){const _0x484f86=_0x5bb7a4,_0x2ab157=Za['random'](0x10),_0x92660a=tc(_0x4e54d2,0x10),_0x243094=Ka['encrypt'](Xa[_0x484f86(0x57c)](_0x92660a),ii['parse'](_0x4825e2),{'iv':_0x2ab157,'padding':ec});return _0x2ab157[_0x484f86(0x196)](_0x243094[_0x484f86(0x2bc)])['toString'](ii);}function ic(){const _0x36e961=_0x5bb7a4,_0x34b503=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x34b503){const _0x5db3ee={'time':Math[_0x36e961(0x23d)](Date[_0x36e961(0x3d2)]()/0x3e8),'domain':location[_0x36e961(0x186)]};return sc(JSON[_0x36e961(0x303)](_0x5db3ee),_0x34b503);}}var nc=Object[_0x5bb7a4(0x42b)],rc=Object[_0x5bb7a4(0x4e4)],oc=(_0x3a5ca1,_0x19b160,_0x2e0749,_0x5089c9)=>{const _0x3bfc22=_0x5bb7a4;for(var _0x3b88ee=_0x5089c9>0x1?void 0x0:_0x5089c9?rc(_0x19b160,_0x2e0749):_0x19b160,_0x288fbf=_0x3a5ca1[_0x3bfc22(0x282)]-0x1,_0x102361;_0x288fbf>=0x0;_0x288fbf--)(_0x102361=_0x3a5ca1[_0x288fbf])&&(_0x3b88ee=(_0x5089c9?_0x102361(_0x19b160,_0x2e0749,_0x3b88ee):_0x102361(_0x3b88ee))||_0x3b88ee);return _0x5089c9&&_0x3b88ee&&nc(_0x19b160,_0x2e0749,_0x3b88ee),_0x3b88ee;},ac=(_0x2f5fd6,_0x1c3eda)=>(_0x460f5c,_0x48ab30)=>_0x1c3eda(_0x460f5c,_0x48ab30,_0x2f5fd6);let bt=class{constructor(_0x3fad23){const _0x20a47a=_0x5bb7a4;this[_0x20a47a(0x1be)]=_0x3fad23,this[_0x20a47a(0x42c)]();}['_initRequestHeader'](){const _0x3e7be3=_0x5bb7a4;this['_httpService'][_0x3e7be3(0x4a6)]({'interceptor':(_0x393f84,_0x9532ce)=>{const _0x543f9b=_0x3e7be3,_0x199a1a=_0x393f84['headers'],_0x558402=ic();return _0x558402&&_0x199a1a[_0x543f9b(0x441)](_0x543f9b(0x189),_0x558402),_0x9532ce(_0x393f84);}});}};bt=oc([ac(0x0,_0x22a3e1(_0x41156a))],bt);var cc=Object[_0x5bb7a4(0x42b)],hc=Object[_0x5bb7a4(0x4e4)],lc=(_0x8a3ca4,_0x15b08e,_0x297682,_0x1d28de)=>{const _0x214d8a=_0x5bb7a4;for(var _0x323a33=_0x1d28de>0x1?void 0x0:_0x1d28de?hc(_0x15b08e,_0x297682):_0x15b08e,_0x3a129a=_0x8a3ca4[_0x214d8a(0x282)]-0x1,_0x421024;_0x3a129a>=0x0;_0x3a129a--)(_0x421024=_0x8a3ca4[_0x3a129a])&&(_0x323a33=(_0x1d28de?_0x421024(_0x15b08e,_0x297682,_0x323a33):_0x421024(_0x323a33))||_0x323a33);return _0x1d28de&&_0x323a33&&cc(_0x15b08e,_0x297682,_0x323a33),_0x323a33;},Xt=(_0x59524a,_0x378327)=>(_0x3ad4d4,_0x289978)=>_0x378327(_0x3ad4d4,_0x289978,_0x59524a);const _c=[_0x5bb7a4(0x510),_0x5bb7a4(0x300),_0x5bb7a4(0x3f7),_0x5bb7a4(0x316),_0x5bb7a4(0x454)],uc=0x5*0x400*0x400,dc=_0x5bb7a4(0x435),fc=_0x5bb7a4(0x2c3),vc=_0x5bb7a4(0x36e),mc=_0x5bb7a4(0x16b);let hs=class{constructor(_0x475602,_0x16abbe,_0x587f99){const _0x22d446=_0x5bb7a4;g(this,_0x22d446(0x3ac),0x0),g(this,_0x22d446(0x2bb),new _0x1b179a()),g(this,_0x22d446(0x1fb),this[_0x22d446(0x2bb)]),g(this,_0x22d446(0x1e0),new Map()),(this[_0x22d446(0x1be)]=_0x475602,this[_0x22d446(0x23e)]=_0x16abbe,this['_univerInstanceService']=_0x587f99);}[_0x5bb7a4(0x572)](_0x37dea6){const _0x2ef9df=_0x5bb7a4;this['_waitCount']=_0x37dea6,this[_0x2ef9df(0x2bb)][_0x2ef9df(0x3ff)](_0x37dea6);}[_0x5bb7a4(0x4c1)](_0x5227b7,_0x27d765){const _0xfd9165=_0x5bb7a4;if(_0x27d765===_0x40ad48[_0xfd9165(0x39d)]){const _0x5d74d5=new Image();return _0x5d74d5[_0xfd9165(0x3b5)]=_0x5227b7,_0x5d74d5;}return this['_imageSourceCache'][_0xfd9165(0x4f7)](_0x5227b7);}[_0x5bb7a4(0x284)](_0x19997c,_0x976905,_0x5b20c8){const _0x50eb18=_0x5bb7a4;_0x976905===_0x40ad48[_0x50eb18(0x39d)]||_0x5b20c8==null||this[_0x50eb18(0x1e0)][_0x50eb18(0x441)](_0x19997c,_0x5b20c8);}async['getImage'](_0x53cf9b){const _0x1c858c=_0x5bb7a4;try{const _0x3795af=this[_0x1c858c(0x578)](this[_0x1c858c(0x4a2)](),''+_0x53cf9b),_0x206edd=(await this['_httpService'][_0x1c858c(0x4f7)](_0x3795af))['body'];if(_0x206edd[_0x1c858c(0x17b)]&&_0x206edd[_0x1c858c(0x17b)][_0x1c858c(0x4bd)]===Ri['OK']){const _0x18b0aa=new URL(_0x206edd[_0x1c858c(0x217)],this[_0x1c858c(0x304)]())[_0x1c858c(0x2e5)]();return Promise['resolve'](_0x18b0aa);}return Promise[_0x1c858c(0x288)](_0x206edd[_0x1c858c(0x17b)]);}catch(_0x2c87e8){return Promise['reject'](_0x2c87e8);}}async[_0x5bb7a4(0x2aa)](_0xf51e61){const _0x6e61c8=_0x5bb7a4;let _0x450d75='';if(!_c['includes'](_0xf51e61[_0x6e61c8(0x27e)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1d459e['ERROR_IMAGE_TYPE']));if(_0xf51e61[_0x6e61c8(0x35a)]>uc)return this[_0x6e61c8(0x487)](),Promise['reject'](new Error(_0x1d459e[_0x6e61c8(0x2b4)]));try{const _0x14c5b6=new FormData();_0x14c5b6[_0x6e61c8(0x391)]('file',_0xf51e61);const _0x3a790d=this[_0x6e61c8(0x21d)][_0x6e61c8(0x1dd)](),_0x284b7e=_0x3a790d==null?void 0x0:_0x3a790d[_0x6e61c8(0x322)]();if(!_0x284b7e)throw new Error(_0x6e61c8(0x252));const _0x14b4e9=this[_0x6e61c8(0x18d)]()+_0x6e61c8(0x253)+_0xf51e61[_0x6e61c8(0x35a)]['toString']()+_0x6e61c8(0x179)+yi[_0x6e61c8(0x48f)]+_0x6e61c8(0x209)+encodeURIComponent(_0x284b7e),_0x16339e=await(await fetch(_0x14b4e9,{'method':_0x6e61c8(0x2bf),'body':_0x14c5b6}))['json']();if(typeof _0x16339e[_0x6e61c8(0x352)]!=_0x6e61c8(0x40c))return this[_0x6e61c8(0x487)](),Promise['reject'](new Error(_0x1d459e[_0x6e61c8(0x3c6)]));_0x450d75=_0x16339e[_0x6e61c8(0x352)];}catch{return this[_0x6e61c8(0x487)](),Promise[_0x6e61c8(0x288)](new Error(_0x1d459e['ERROR_IMAGE']));}return new Promise((_0x25de52,_0x425521)=>{const _0x391fc8=_0x6e61c8,_0x365283=new FileReader();_0x365283[_0x391fc8(0x3c8)](_0xf51e61),_0x365283[_0x391fc8(0x264)]=_0x5ee3fb=>{const _0x128924=_0x391fc8;var _0x40ed4e;const _0x5079b9=(_0x40ed4e=_0x5ee3fb['target'])==null?void 0x0:_0x40ed4e[_0x128924(0x1b0)];if(_0x5079b9==null){this[_0x128924(0x487)](),_0x425521(new Error(_0x1d459e['ERROR_IMAGE']));return;}const _0x443ebe=_0x41d014[_0x128924(0x4d1)](0x6);_0x25de52({'imageId':_0x443ebe,'imageSourceType':_0x40ad48['UUID'],'source':_0x450d75,'base64Cache':_0x5079b9,'status':_0x1d459e[_0x128924(0x450)]}),this[_0x128924(0x487)]();};});}['_getUploadFileURL'](){const _0x26b021=_0x5bb7a4;var _0x2088c3,_0x3cdc04;const _0x147e5e=this['_configService'][_0x26b021(0x447)](dc),_0x1c0821=this[_0x26b021(0x23e)][_0x26b021(0x447)](ie);return(_0x3cdc04=(_0x2088c3=_0x1c0821==null?void 0x0:_0x1c0821['uploadFileServerUrl'])!=null?_0x2088c3:_0x147e5e)!=null?_0x3cdc04:fc;}['_getSignURL'](){const _0x329947=_0x5bb7a4;var _0x441826,_0x1d291f;const _0x18f882=this['_configService'][_0x329947(0x447)](vc),_0x914ec2=this[_0x329947(0x23e)][_0x329947(0x447)](ie);return(_0x1d291f=(_0x441826=_0x914ec2==null?void 0x0:_0x914ec2['signUrlServerUrl'])!=null?_0x441826:_0x18f882)!=null?_0x1d291f:mc;}['_getDownloadEndpointURL'](){const _0x3496b3=_0x5bb7a4;var _0x4672cd;const _0x145273=this[_0x3496b3(0x23e)][_0x3496b3(0x447)](ie);return(_0x4672cd=_0x145273==null?void 0x0:_0x145273[_0x3496b3(0x509)])!=null?_0x4672cd:location[_0x3496b3(0x525)];}[_0x5bb7a4(0x578)](_0x42129e,_0x337105){const _0x194a76=_0x5bb7a4;return _0x42129e['replace'](_0x194a76(0x44f),_0x337105);}[_0x5bb7a4(0x487)](){const _0x4b6188=_0x5bb7a4;this[_0x4b6188(0x3ac)]-=0x1,this[_0x4b6188(0x2bb)][_0x4b6188(0x3ff)](this[_0x4b6188(0x3ac)]);}};hs=lc([Xt(0x0,_0x22a3e1(_0x41156a)),Xt(0x1,_0x2bb536),Xt(0x2,_0x22a3e1(_0x2e0534))],hs);var pc=Object['defineProperty'],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x386d11,_0xd35466,_0x241309,_0x1b15b3)=>{for(var _0x30c828=_0x1b15b3>0x1?void 0x0:_0x1b15b3?gc(_0xd35466,_0x241309):_0xd35466,_0x6eb0c9=_0x386d11['length']-0x1,_0x9043a6;_0x6eb0c9>=0x0;_0x6eb0c9--)(_0x9043a6=_0x386d11[_0x6eb0c9])&&(_0x30c828=(_0x1b15b3?_0x9043a6(_0xd35466,_0x241309,_0x30c828):_0x9043a6(_0x30c828))||_0x30c828);return _0x1b15b3&&_0x30c828&&pc(_0xd35466,_0x241309,_0x30c828),_0x30c828;},Qe=(_0x5f00ae,_0xf1392f)=>(_0x7947b3,_0x379677)=>_0xf1392f(_0x7947b3,_0x379677,_0x5f00ae);let Tt=class extends _0x177a9e{constructor(_0x5f16f0,_0x3a1f03,_0x76bdf1,_0x472bda,_0x5e8d6c){const _0xdda2d8=_0x5bb7a4;super(),this[_0xdda2d8(0x338)]=_0x5f16f0,this['_univerInstanceService']=_0x3a1f03,this['_permissionService']=_0x76bdf1,this[_0xdda2d8(0x29b)]=_0x472bda,this[_0xdda2d8(0x4ab)]=_0x5e8d6c,this[_0xdda2d8(0x2d0)](),this[_0xdda2d8(0x513)]();}[_0x5bb7a4(0x513)](){const _0x1e1e6a=_0x5bb7a4,_0x24f0fc=async _0x1e8fda=>{const _0x4c2a8a=_0x4081;(await this['_collaborationSessionService'][_0x4c2a8a(0x2c7)](_0x1e8fda))[_0x4c2a8a(0x3e4)][_0x4c2a8a(0x3f1)](_0x5a0a20(_0x54f8e0=>_0x54f8e0[_0x4c2a8a(0x479)]===_0x45d469[_0x4c2a8a(0x413)]),_0x216286(this[_0x4c2a8a(0x492)]))['subscribe'](_0x208c67=>{const _0x3d9651=_0x4c2a8a,_0x4ce0fb=_0x208c67,{reason:_0x27c71f}=_0x4ce0fb['data'];this['_injector'][_0x3d9651(0x4f7)](_0x38087f)[_0x3d9651(0x18e)]({'type':_0x3417d7[_0x3d9651(0x3cb)],'content':this[_0x3d9651(0x4ab)]['t'](_0x3d9651(0x3f8))+'('+_0x27c71f+')'}),this[_0x3d9651(0x167)][_0x3d9651(0x3fc)](new _0x272dbd(_0x1e8fda)['id'],!0x1),this[_0x3d9651(0x29b)][_0x3d9651(0x165)](_0x1e8fda);});};_0x4e4735(this[_0x1e1e6a(0x21d)][_0x1e1e6a(0x4aa)](_0x10a997['UNIVER_SHEET']),this[_0x1e1e6a(0x21d)][_0x1e1e6a(0x4aa)](_0x10a997[_0x1e1e6a(0x172)]))[_0x1e1e6a(0x3f1)](_0x17141f(_0x1feb9f=>_0x1feb9f['getUnitId']()),_0x5a0a20(_0x40404f=>!_0x503b7a(_0x40404f)),_0x216286(this[_0x1e1e6a(0x492)]))[_0x1e1e6a(0x519)](_0x4e4962=>{_0x24f0fc(_0x4e4962);});}[_0x5bb7a4(0x2d0)](){const _0x294c57=_0x5bb7a4,_0x704bc8=async _0xa01953=>{const _0x58e53e=_0x4081;(await this[_0x58e53e(0x29b)][_0x58e53e(0x2c7)](_0xa01953))['event$'][_0x58e53e(0x3f1)](_0x5a0a20(_0x1626c7=>_0x1626c7[_0x58e53e(0x479)]===_0x45d469['UPDATE_PERMISSION_OBJ']),_0x216286(this[_0x58e53e(0x492)]))['subscribe'](_0x1eafa5=>{const _0x546d1b=_0x58e53e,_0x8f561b=_0x1eafa5,{objectId:_0x2d5de4}=_0x8f561b[_0x546d1b(0x2d5)],_0x2053c2=this[_0x546d1b(0x338)][_0x546d1b(0x4f7)](_0x496cb9);_0x2d5de4===_0xa01953?_0x2053c2[_0x546d1b(0x2df)](_0xa01953):_0x2053c2[_0x546d1b(0x324)](_0xa01953,_0x2d5de4);});};_0x4e4735(this[_0x294c57(0x21d)][_0x294c57(0x4aa)](_0x10a997['UNIVER_SHEET']),this[_0x294c57(0x21d)][_0x294c57(0x4aa)](_0x10a997[_0x294c57(0x172)]))[_0x294c57(0x3f1)](_0x17141f(_0x3fe619=>_0x3fe619[_0x294c57(0x322)]()),_0x5a0a20(_0x599710=>!_0x503b7a(_0x599710)),_0x216286(this[_0x294c57(0x492)]))['subscribe'](_0x548f91=>{_0x704bc8(_0x548f91);});}};Tt=Sc([Qe(0x0,_0x22a3e1(_0x4c5160)),Qe(0x1,_0x2e0534),Qe(0x2,_0x59e41b),Qe(0x3,_0x22a3e1(Ae)),Qe(0x4,_0x22a3e1(_0x1fdc1b))],Tt);var Ic=Object['defineProperty'],Cc=Object[_0x5bb7a4(0x4e4)],Ec=(_0x4184dc,_0x177743,_0x1087e6,_0x4218e9)=>{const _0x2a0b17=_0x5bb7a4;for(var _0x4d9cf8=_0x4218e9>0x1?void 0x0:_0x4218e9?Cc(_0x177743,_0x1087e6):_0x177743,_0x4abbfa=_0x4184dc[_0x2a0b17(0x282)]-0x1,_0x33b4ef;_0x4abbfa>=0x0;_0x4abbfa--)(_0x33b4ef=_0x4184dc[_0x4abbfa])&&(_0x4d9cf8=(_0x4218e9?_0x33b4ef(_0x177743,_0x1087e6,_0x4d9cf8):_0x33b4ef(_0x4d9cf8))||_0x4d9cf8);return _0x4218e9&&_0x4d9cf8&&Ic(_0x177743,_0x1087e6,_0x4d9cf8),_0x4d9cf8;},ni=(_0x433cb9,_0x162526)=>(_0xbd3340,_0x3a6994)=>_0x162526(_0xbd3340,_0x3a6994,_0x433cb9);let ls=class{constructor(_0x2ca354,_0x3eee8f){const _0x130a7f=_0x5bb7a4;this[_0x130a7f(0x23e)]=_0x2ca354,this[_0x130a7f(0x1be)]=_0x3eee8f;}async[_0x5bb7a4(0x481)](_0x1ad7c6,_0x41f102){const _0x180cc6=_0x5bb7a4;var _0x176004;const {unitID:_0xe46b31,type:_0x567bc2,revision:_0x5cd4c0=0x0}=_0x41f102,_0x39452d=this['_getSnapshotAPIPrefix']()+'/'+_0x567bc2+'/unit/'+_0xe46b31+_0x180cc6(0x1f8)+_0x5cd4c0,_0x13d9c2=(await this[_0x180cc6(0x1be)][_0x180cc6(0x4f7)](_0x39452d))['body'],_0xdf2817=(_0x176004=_0x13d9c2[_0x180cc6(0x49c)])==null?void 0x0:_0x176004[_0x180cc6(0x2cb)];if(_0xdf2817){const _0x514ca5=_0xdf2817==null?void 0x0:_0xdf2817[_0x180cc6(0x405)],_0x130e09=_0x1a843b['encode'](_0x286b30(_0x514ca5));_0xdf2817[_0x180cc6(0x405)]=_0x130e09,Object[_0x180cc6(0x420)](_0xdf2817['sheets'])[_0x180cc6(0x312)](([,_0x340201])=>{const _0x3c8831=_0x180cc6,_0x865ecd=_0x340201[_0x3c8831(0x405)],_0x215f3b=_0x1a843b[_0x3c8831(0x226)](_0x286b30(_0x865ecd));_0x340201[_0x3c8831(0x405)]=_0x215f3b;});}return _0x13d9c2;}async[_0x5bb7a4(0x50a)](_0x53dd63,_0x25793d){const _0x1d866f=_0x5bb7a4,{unitID:_0x283a74,type:_0x4de57f,blockID:_0x4f5538}=_0x25793d,_0x23d2a8=this['_getAPIPrefix']()+'/'+_0x4de57f+_0x1d866f(0x19a)+_0x283a74+_0x1d866f(0x237)+_0x4f5538;return(await this[_0x1d866f(0x1be)][_0x1d866f(0x4f7)](_0x23d2a8))[_0x1d866f(0x1ab)];}async[_0x5bb7a4(0x382)](_0x140bd5,_0x42b9aa){const _0x15eb72=_0x5bb7a4,{unitID:_0x16dce6,type:_0xf22e84,blockID:_0x26afcd}=_0x42b9aa,_0x393c82=this[_0x15eb72(0x48e)]()+_0x15eb72(0x237)+_0xf22e84+_0x15eb72(0x19a)+_0x16dce6+_0x15eb72(0x237)+_0x26afcd;return(await this['_httpService'][_0x15eb72(0x4f7)](_0x393c82))[_0x15eb72(0x1ab)];}async[_0x5bb7a4(0x2b8)](_0x48880e,_0x1d3008){const _0x5b37e3=_0x5bb7a4,{unitID:_0x3db179,type:_0x1aaeb3,from:_0x3690af,to:_0x20603a}=_0x1d3008,_0x4e82aa=this[_0x5b37e3(0x48e)]()+'/'+_0x1aaeb3+_0x5b37e3(0x19a)+_0x3db179+_0x5b37e3(0x24c)+_0x3690af+'&to='+_0x20603a;return(await this[_0x5b37e3(0x1be)]['get'](_0x4e82aa))[_0x5b37e3(0x1ab)];}[_0x5bb7a4(0x3b0)](){const _0x22086d=_0x5bb7a4;var _0x1ed1d7;return(_0x1ed1d7=this[_0x22086d(0x23e)]['getConfig'](lr))!=null?_0x1ed1d7:this[_0x22086d(0x48e)]();}[_0x5bb7a4(0x48e)](){const _0x32e109=_0x5bb7a4;var _0x954e6,_0x3b8095;const _0x58f87d=this[_0x32e109(0x23e)]['getConfig'](cr),_0x338a3f=this['_configService'][_0x32e109(0x447)](ie);return(_0x3b8095=(_0x954e6=_0x338a3f==null?void 0x0:_0x338a3f[_0x32e109(0x174)])!=null?_0x954e6:_0x58f87d)!=null?_0x3b8095:hr;}async[_0x5bb7a4(0x536)](_0x3268b8,_0x2eeb63){const _0x1ec566=_0x5bb7a4,_0x44af61=_0x1ec566(0x268)+_0x2eeb63['type']+_0x1ec566(0x19a)+_0x2eeb63[_0x1ec566(0x4c4)]+_0x1ec566(0x19c);return(await this[_0x1ec566(0x1be)]['get'](_0x44af61,{'params':{'resourceId':JSON[_0x1ec566(0x303)](_0x2eeb63[_0x1ec566(0x52d)])}}))[_0x1ec566(0x1ab)];}['saveSnapshot'](){const _0x37cd7f=_0x5bb7a4;throw new Error(_0x37cd7f(0x23f));}[_0x5bb7a4(0x3e5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bb7a4(0x1b9)](){const _0x4ee8d3=_0x5bb7a4;throw new Error(_0x4ee8d3(0x23f));}[_0x5bb7a4(0x48b)](){const _0x558fa4=_0x5bb7a4;throw new Error(_0x558fa4(0x23f));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ls=Ec([ni(0x0,_0x2bb536),ni(0x1,_0x22a3e1(_0x41156a))],ls);function _0x27da(){const _0x164b1c=['_changesetReqId','conflict','__creator','_exhaustRemoteChangesetQueue','LIVESHARE_FETCH_OPERATIONS','/universer-api/oidc/authpage','getValue','confirm','[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.','hasOwnProperty','set','Cipher','min','IDLE','RemoveColCommandId','_sessions','getConfig','objects','arc','_cursorShapes','makeDirty','getUniverSheetInstance','algo','HMAC','{fileID}','SUCCUSS','LOCAL_CACHE_INTERVAL','_id','random','image/bmp','interceptor','permission.content','session','default','1117897seqvgL','send','addObject','_initResize','selections','LICENSE_IMPORT_SIZE_EXCEEDED','hasher','decryptBlock','onCommentUpdate','docStateChange$','lineTo','replace','transformRemoteChangeset','cursorInfo','1em','COMPLETION_FINISHED','csRejEvent','APPLY_REJECT','onMissingChangesets','_handleHover','_localCacheService','session.connection-failed','_getMergeRange','collabStatus.notCollab','_collaborationController','transformChangesets','_textBubble','_startDocCollabCursor','getActiveSheet','InsertRangeMoveDownCommandId','symbol','off-line-single','eventID','[PendingState]:\x20received\x20acknowledgement.','visibilityState','with','\x20-\x20','_uiPartsService','mutations','_collabCursorState$','getUnitOnRev','collaboration-session-retry','3202997vyPSdz','defs','equals','getRangePointData','_decreaseWaiting','_refreshCollabCursors','USERS_LEAVE','[CollaborationUndoRedoService]','copyFileMeta','_fetchMissChangesets','engine','_getAPIPrefix','UnitEmbedded','mode','_docSyncEditingCollabCursorService','dispose$','displayName','getMemberID','post','_snapshotService','_onCombEvent','onCommandExecuted','propertyIsEnumerable','onRemoteRetry','liveShareOperation','snapshot','c2Prime','_clearUndo','_memberService','onStateChange','c1Prime','_getSignURL','object','_collaborationPaused','onTransformIME','registerHTTPInterceptor','CHANGESET_ACK','session.will-retry','PasswordBasedCipher','getTypeOfUnitAdded$','_localeService','COMPRESS_MUTATION_APPLY','_getUndoStack','_updateStatus','xlink:href','synced','undoState','updateMember','UNIVER_SLIDE','_drawAnchor','isEditing','_onOffline','joinEvent','function','_scheduleClearOtherTimer','/allowed','gold400','_undoRedoService','code','syncEditingCollabCursor','YUUMI_SUBSCRIPTION_NOT_FOUND','StreamCipher','getImageSourceCache','onlineStatusIcon','_startSheetCollabCursor','unitID','/universer-api/snapshot','_anchor','UNIVER_PROJECT','substring','/-/object/list','batchAllowed','VIEW_MAIN','padding','leaveEvent','attrs','onMissedChangesetFetched','_scene','generateRandomId','dispose','charCodeAt','moveTo','cmd','m2Prime','_drawRectRange','fetch_missing','_lastPointer','_notificationService','_refRangeService','APPLY_REVISION_CONFILICT','keySize','_docStateChangeManagerService','NEW_CHANGESETS','CBC','children','_setupBeforeClosingHandler','_color','getOwnPropertyDescriptor','0\x200\x2016\x2016','removeMember','_changesetSessionId','PENDING','colorChannel1','evenodd','rev','UNIVER_UNKNOWN','offline','_docSkeletonManagerService','_createHandler','transformMutation','collaboratorID','jiqing500','_initStatusListener','_updateLocalCache','_parse','$super','get','_transitionLocked','[OfflineState]:\x20received\x20acknowledgement.','fetchThroughInterceptors','PERMISSION_REJ','setCurrentUser','collab-rect-range-','Unknown\x20user','byteLength','on-line-single_clip0_910_349','[CollaborationEntity]','HttpExport','RECT','charAt','_snapshotServerService','_onRemoteChangeset','LICENSE_MAX_UNITS_EXCEEDED','UPDATE_PERMISSION_OBJ','downloadEndpointUrl','getSheetBlock','href','changesets','_transformSelections','SYNCED','processBlock','image/png','readInt32LE','_shouldReportTelemetry','_initCloseConn','_getAnchorBounding','_init','BlockCipher','_colorAssignService','_onJoinRoomEvent','subscribe','current','LICENSE_DISTRO_REJECTED','_startTelemetryCollaborationNewChangeset','_ensureSubject','infoRsp','_anchorDot','_initDependencies','location','enc','_reverseMap','sin','origin','FAIL','_name','[CollaborationSessionService]:\x20socket\x20error','_ENC_XFORM_MODE','_updateCollabCursors','objectID','Error\x20on\x20receiving\x20event','resourceIDs','Encryptor','cursorInfo$','_eventUnsubscribe','HmacSHA1','_syncEditingCollabCursorService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_toggleOffline','getSkeleton','getResourcesRequest','clearInterval','_urlService','HEADER_MENU','_hash','setParam','collab-text-anchor-','DeleteRangeMoveLeftCommandId','row','_commandService','NoPadding','_executeRemoteChangeset','JOIN','InsertRowCommandId','_iv','_updateURLWithCurrentState','_getAPIPrefixPath','_checkMissing','8wKAvKt','YUUMI_RATE_OVER_LIMIT','_commentService','UnitSnapshot','_revisionService','_resendTimeout','_doProcessBlock','create','exhaustSavingTask','clamp','SEND_CHANGESET_TIMEOUT','_candidateSocket','TOO_MANY_REQUESTS','_doFinalize','_userManagerService','doc.mutation.rich-text-editing','onStarting','onSyncEditingCollabCursor','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNIVER_SHEET','RETRY_CONNECTING_MAX_COUNT','unitId','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','fetchMiss','_ws','_removeRoom','defIds','APPLY_NON_SEQUENTIAL_REVISION','onPointerMove$','_acknowledgedAwaitingChangeset','_startCollaboration','apply','pauseCollaboration','sendChangesetTimeout','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','collabWebSocketUrl','_colorIndex','ranges','univer-online-status','add','revision','setWaitCount','YUUMI_URL_COL_OUT_OF_RANGE','restore','_collabSessionService','_scheduleSaving','crypto','_replaceFileID','_config','/universer-api/authz','buffer','parse','_event$','pad','onReady','_mode','resend','_http','getCurrentUnitForType','[PendingState]:\x20received\x20rejection.','toLowerCase','collaboration_new_changeset','closeSession','UniverIcon','_permissionService','\x0aCurrent:\x20','_prevBlock','saveOfflineData','/universer-api/file/{fileID}/sign-url','_transformIMECache','_iKey','_undoStacks','_process','_onCursorUpdate','getCurrentSelections','UNIVER_DOC','max','snapshotServerUrl','executeCommand','blue400','getRenderById','BlockCipherMode','&source=','[PendingState]:\x20unhandled\x20univer\x20type:\x20','error','collaboration-client.offline-data-not-saved','commentUpdate$','sessionStatus$','getUnitType','_redoStacks','cfg','newValue','HELLO','_initMergeInterceptor','collabStatus.syncing','hostname','extend','encryptBlock','x-univer-host','socketService','roomMembers','_telemetryService','_getUploadFileURL','show','univer-online-status-icon','35YGkQbB','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getSheetId','msCrypto','_instanceService','SNAPSHOT_SERVER_URL_KEY','concat','HttpImport','getCollabCursors$','findNodePositionByCharIndex','/unit/','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/resources','split','_socketService','searchParams','_sheetTransformSelectionsService','assign','\x20in\x20_schedule.','kdf','_transformUndoRedoStack','transformSelections','asObservable','getOffsetConfig','subunit','_waitForHeartbeatResponse','bottom','body','_replayCachedMutations','socket$','on-line-single','_listenToOnlineEvent','result','_telemetryInfo','idSuffix','WordArray','_handleLeaveEvent','SUBMIT_CHANGESET','override','_substituteUndoStack','BufferedBlockAlgorithm','saveChangeset','status$','requestParams','_minBufferSize','onTransformRemoteChangesetByIMECache','_httpService','redoState','getAncestorScale','OTHER_CLIENTS_EDITING','black','getDocRanges','_doReset','_transformService','7725xXbYgZ','_send','addObjects','subUnitId','Could\x20not\x20dynamically\x20require\x20\x22','_initStatusComponent','_cursors','session.room-full','unit-cache-','failed\x20to\x20apply\x20missed\x20changesets!','iterations','univer-online-status-title','deepClone','_sendHeartbeatTimer','_createHmacHelper','updateCollaborator','init','Fragment','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_transformPreviousActiveRange','OnLineSingle','308536Irzfao','COLLAB_WEB_SOCKET_URL','getFocusedUnit','fillText','_roomMembers','_imageSourceCache','unsubscribe','_tryEnsureSocket','userID','M0\x200H16V16H0z','DeleteRangeMoveUpCommandId','none','find','collab-client.tooltip.reconnect','_sheetSkeletonManagerService','width','_getCurrentRevision','_isPermissionRej','Pkcs7','NO_OTHER_CLIENTS_EDITING','_onConnectionFailed','SNAPSHOT_HAS_BEEN_REMOVED','visibilitychange','registerOnClose','_loadDoc','execute','_applyRemoteChangeset','call','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/rev/','collaboration-client.config','words','change$','Base64','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','9tLtwhW','status','INGEST','COMPRESS_MUTATION_SEND','drawWith','color','UNKNOWN_CMD','/collaborator','__esModule','232RuIhjN','_roomMembers$','&assign=','_initEventListeners','FromArray','getViewport','_rescheduleHeartbeat','141041LBqNaQ','_sessionStatus$','headers','TEXT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','JOINING','onRendered','setInterval','_lockTransition','url','_createSocket','APPLY_PERMISSION_DENIED','collaMsg','_render','includes','_univerInstanceService','Decryptor','updateOfflineData','catch','onlineStatus','getUndoRedoMutationParamsCache','\x20to\x20','fromCharCode','UNDEFINED','encode','_state$','_drawTextRange','_clearRedo','_transformRemoteChangesetByStateCache','some','startTime','url(#off-line-single_clip0_910_343)','ACTIVE_UNIT_EVENT_CHANNEL','capture','InsertColCommandId','all','_transformRemoteChangesetByIMECache','MUTATION','_clearLocalCache','top','exports','/block/','HEARTBEAT','_timeoutTimer','OFFLINE','getUnitStatus$','debug','floor','_configService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_substituteRedoStack','_xformMode','_transformStateCache','unit','backgroundColor','_oKey','/role','ceil','connection\x20error','startColumn','selection','_retryCount','/fetchmissing?from=','_key','_scheduleCollaborationTimeoutTimer','roles','#FFF','collaborators','unitId\x20is\x20not\x20found','?size=','...','COLLAB_SUBMIT_CHANGESET_URL','AWAITING_WITH_PENDING','_selfUnitIDs','join','CHANGESET_SHOULD_RETRY','awaitingChangeset','stopTime','_getScale','getMember','_resendTimer','onTransformRemoteChangesetByStateCache','appendMutation','univer-offline','_renderManagerService','_updateState','onload','_context','tag','_registerDependencies','/universer-api/snapshot/','_transformStack','onPointerEnter$','0\x200\x2017\x2016','getAllMembers','online','_logService','encrypt','_onRefRangeChange','_setupSubUnitSync','_onCursorDelete','setTimeout','focused$','key','_removeClearOtherTimer','error$','_labelPosition','_retryConnectingTimer','close','decrypt','format','_socket$','type','_localStorageService','_tryReconnect','_status$','length','_incrementRevisionNumber','addImageSourceCache','HmacMD5','duration','CONFLICT','reject','APPLY_DUPLICATED','localeService','pending','collabStatus.synced','isPermissionRej','div','jsxs','endColumn','_queuedRemoteChangesets','_sender','salt','_createInitialState','objectActions','_clearHeartbeatTimer','RECV','CONNECTOR_DATA_TOO_LARGE','_cursorInfo$','getSheetBySheetId','_collaborationSessionService','_handler','_getRedoStack','liveShareNewHost','/object/','textRanges','_onRecvEvent','_messageService','memberID','#fff','USERS_ENTER','responseType','LEAVE','hidden','_data','saveImage','addEventListener','Hex','Warning','routeKey','getUnhiddenWorksheets','_themeService','for','baseRev','contains','ERROR_EXCEED_SIZE','replaceDocRanges','setActiveRange','_nRounds','fetchMissingChangesets','_cursor','_unitID','_change$','ciphertext','byteOffset','_getSendChangesetTimeout','POST','blockSize','?url=','getTime','/universer-api/stream/file/upload','AES','getCollabEntity','[FetchMissState]','requireSession','PSEUDO_FETCH_MISSING_RESULT','map','awaiting_with_pending','workbook','members','UPDATE_CURSOR','UNAUTHENTICATED','assignAColorForMemberID','_initUnitPermissionChange','6098330bROpSk','_onConflict','415182dGHSDP','_range','data','values','reset','\x0aAfter:\x20','_hovered','range','withCredentials','randomBytes','getRoom','rgba(255,\x20255,\x20255,\x200.01)','initWorkbookPermissionChange','_sendHeartbeat','rng','finalize','_online','_updateSubUnitFromURLParams','toString','has','currentColor','onSendChangeset','Undefined','_backgroundColor','onRemoteRej','_removeCollabCursors','LIVESHARE_REQUEST_HOST','_assignedColors','_getSaveTimeout','_onMessage','lib','_saveTaskMap','AWAITING','isArray','_syncEditingCollabCursor','_unitOnClients','submit\x20changeset\x20error!','_hideTimer','_scheduleHeartbeat','state','number','jsx','[OfflineState]:\x20received\x20rejection.','_getCtorByUniverType','_updateLocalCursor','image/jpeg','_collaborationTimeoutTimer','transformStateCache','stringify','_getDownloadEndpointURL','AUTHZ_URL_KEY','retryConnectingInterval','splice','registerRefRange','_pendingMutations','_resendWithTimeout','toggleOffline','createInstance','editingUnit','onRemoteAck','Univer','compose','InsertRangeMoveRightCommandId','forEach','complete','permission.title','replaceState','image/gif','react.fragment','_disabled','enableAuthServer','getStateCache','awaiting','fill','getRelativeToViewportCoord','UNRECOGNIZED','LIVESHARE_NEW_HOST','objectType','onlineStatusTitle','getUnitId','_socket','refreshPermission','getParam','sheetID','path','reconnect','unknown','onMouseMove','unshift','setStateCache','collabStatus.offline','_stopTelemetryCollaborationNewChangeset','roomMembers$','getInterceptPoints','Utf8','Hasher','OffLineSingle','_collabCursorController','randomUUID','beginPath','HEARTBEAT_TIMEOUT','_injector','close$','_onUserJoin','NOT_FOUND','onPointerLeave$','_socketReady','save','onlyLocal','_handleJoinEvent','getActiveRange','getRandomValues','createSocket','_clearTimeoutTimer','YUUMI_UNABLE_LOAD_URL','defaultProps','collabSubmitChangesetUrl','from','listRoles','createEncryptor','EvpKDF','_submitChangeset','COMMENT_UPDATE','conflict.content','_doCryptBlock','setAlpha','_createInitialStateImpl','FileId','text','_initCommandExecutedListener','_clearOtherTimers','currentTheme$','setShapeProps','[CollaborationSessionService]','enableSingleActiveInstanceLock','size','CHANGESET_REJ','translate(.97)','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoredo','message$','_docTransformIMECacheService','ws://127.0.0.1:8000/universer-api/comb/connect','_append','_hover','_awaitingChangeset','INVALID_ARGUMENT','authzUrl','_heartbeatTimer','disposeWithMe','_invKeySchedule','_cachedData','_docTransformSelectionsService','MD5','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','EXCHANGE_SIGN_URL_SERVER_URL_KEY','commentUpdateEvent','_getSheetObject','every','LOGIN_URL_KEY','univer-pro.collaboration-client-socket-service','_onRemoteRetry','className','registerRenderModule','telemetry\x20info\x20is\x20not\x20initialized','_cipher','_commentUpdate$','_entities','_transformHistoryAndStateStack','icon','actions','_onFetchMissResult','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_keyPriorReset','_shapes','getDeserializedSheetBlock','_handleHeartbeatEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','fillRule','setConfig','toggleOnline','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','_showConflictNotification','measureText','method','LIVESHARE_OPERATION','_onUserLeave','onRemoteChangeset','height','_map','append','[DataLoaderController]','conflict.title','enableOfflineEditing','clear','column','sessionStatus','shouldCloseConn','abs','getTypeOfUnitDisposed$','_scheduleTimestamp','/-/object/-/batch_allowed','BASE64','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','repeat','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','SerializableCipher','_saveCache','getWorkbookSelections','mixIn','storage','_type','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','ref','SNAPSHOT_INVALID_SNAPSHOT','OpenSSL','ALREADY_EXISTS','_waitCount','sigBytes','CHANGESET_REVISION_CONFILICT','_disableEditing','_getSnapshotAPIPrefix','[SyncedState]:\x20received\x20rejection.','subscribeEvent','_joinRoom','_entityInit$','src','SHA1','hovered','_nDataBytes','getCurrentUser','permissionRejEvent','_handleEvent','setShowComponents','socket\x20open.','transformStack\x20failed!','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','red300','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_clearScheduledTask','SNAPSHOT_URL_KEY','Latin1','url(#on-line-single_clip0_910_349)','ERROR_IMAGE','_draw','readAsDataURL','update','enableLocalCache','Error','history','toRgbString','FETCH_MISSING','getCellPositionByOffset','Malformed\x20UTF-8\x20data','_keySchedule','now','_docTransformStateCacheService','pushState','csShouldRetryEvent','isActive','onTransformChange$','delete','params','ivSize','font','_members','sid','clipPath','getVpScrollXYInfoByPosToVp','_onConnectionOpen','ONLINE','slice','collabCursorState$','event$','saveSheetBlock','onTransformState','_sendingTimer','session.collaboration-timeout','_onRemoteRejected','fetching\x20missing\x20changesets\x20from\x20','open$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','triggerDblclick','_createHelper','bind','_throwTelemetryCollaborationNewChangeset','pipe','closePath','put','purple300','getCurrentRevOfUnit','reqId','image/jpg','collaboration.closeRoom','joinRsp','_state','compute','updatePermissionPoint','_onLocalMutation','round','next','getItem','flatMap','_unlockTransition','PERMISSION_DENIED','getOwnPropertySymbols','originalMeta','getUnit','MSG_FOR_ERROR','name','disableLocalCache','m1Prime','FETCH_MISS','string','_registerRenderDependencies','then','state$','NOT_COLLAB','setItem','60xAUrRe','SHOULD_CLOSE_CONN','_beforeCloseService','_HTTPService','collaboration.single-unit.warning','_socketMessageSubscription','startsWith','patch','_singleActiveUnitService','url(#$1','collabStatus.fetchMiss','LIVESHARE_TERMINATE','react.element','indexOf','entries','_compressMutationService','_schedule','prototype','[CollaborationSession]','socket\x20close','loadOfflineData','_unitStatus','transformMutationsWithChangeset','Base','_clearCollaborationTimeoutTimer','defineProperty','_initRequestHeader','_session','_remoteChangesetQueue','getCollabEntity$','createDecryptor','clone','onTransformSelections','push','fillStyle','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','currentSkeleton$'];_0x27da=function(){return _0x164b1c;};return _0x27da();}var bc=Object['defineProperty'],Tc=Object[_0x5bb7a4(0x4e4)],Rc=(_0x35f703,_0x498c92,_0x5d4a1e,_0x1fc3e8)=>{const _0x294557=_0x5bb7a4;for(var _0x5ce33a=_0x1fc3e8>0x1?void 0x0:_0x1fc3e8?Tc(_0x498c92,_0x5d4a1e):_0x498c92,_0x1fdff8=_0x35f703[_0x294557(0x282)]-0x1,_0x212648;_0x1fdff8>=0x0;_0x1fdff8--)(_0x212648=_0x35f703[_0x1fdff8])&&(_0x5ce33a=(_0x1fc3e8?_0x212648(_0x498c92,_0x5d4a1e,_0x5ce33a):_0x212648(_0x5ce33a))||_0x5ce33a);return _0x1fc3e8&&_0x5ce33a&&bc(_0x498c92,_0x5d4a1e,_0x5ce33a),_0x5ce33a;},et=(_0x4eeb34,_0x34c0ae)=>(_0x24bda2,_0xc320a2)=>_0x34c0ae(_0x24bda2,_0xc320a2,_0x4eeb34);let _s=class extends _0x26edca{constructor(_0x3d144d,_0x2b453b,_0x40e0a4,_0x121d72,_0x1ef676){const _0x4e9a4a=_0x5bb7a4;super(_0x3d144d,_0x2b453b,_0x40e0a4),this[_0x4e9a4a(0x1c5)]=_0x121d72,this[_0x4e9a4a(0x26e)]=_0x1ef676;}['transformUndoRedo'](_0x4679e5,_0x3d43f4){const _0x2fe294=_0x5bb7a4,_0x56ed23=this[_0x2fe294(0x4ad)](_0x4679e5);if(_0x56ed23)try{const _0x475a4a=this[_0x2fe294(0x269)](_0x56ed23,_0x3d43f4);this[_0x2fe294(0x1b7)](_0x4679e5,_0x475a4a);}catch(_0x4bc14d){this[_0x2fe294(0x26e)][_0x2fe294(0x17b)]('[CollaborationUndoRedoService]',_0x4bc14d),this['_clearUndo'](_0x4679e5);}const _0x26e55d=this[_0x2fe294(0x29d)](_0x4679e5);if(_0x26e55d)try{const _0x311bb4=this[_0x2fe294(0x269)](_0x26e55d,_0x3d43f4);this[_0x2fe294(0x240)](_0x4679e5,_0x311bb4);}catch(_0x3d0dfa){this[_0x2fe294(0x26e)]['error'](_0x3d0dfa),this[_0x2fe294(0x229)](_0x4679e5);}}[_0x5bb7a4(0x49e)](_0x379088){const _0x455075=_0x5bb7a4,_0x28bcac=this[_0x455075(0x4ad)](_0x379088);_0x28bcac&&(_0x28bcac['length']=0x0,this[_0x455075(0x4ae)]());}['_clearRedo'](_0x14b302){const _0x4e3ba7=_0x5bb7a4,_0x4e0102=this[_0x4e3ba7(0x29d)](_0x14b302);_0x4e0102&&(_0x4e0102[_0x4e3ba7(0x282)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x241f06,_0x2f0053){const _0x2abb5f=_0x5bb7a4;this[_0x2abb5f(0x16e)]['set'](_0x241f06,_0x2f0053),this[_0x2abb5f(0x4ae)]();}[_0x5bb7a4(0x240)](_0x3fd12f,_0x3e98ac){const _0x29af58=_0x5bb7a4;this[_0x29af58(0x180)][_0x29af58(0x441)](_0x3fd12f,_0x3e98ac),this[_0x29af58(0x4ae)]();}[_0x5bb7a4(0x269)](_0x2b71a5,_0x47dace){const _0x246f55=_0x5bb7a4,_0x1f6947=[];let _0x158986=_0x47dace,_0x3390ff=_0x47dace;for(let _0x1cf358=_0x2b71a5[_0x246f55(0x282)]-0x1;_0x1cf358>=0x0;_0x1cf358--){const {unitID:_0x51bdb3,undoMutations:_0x1fa29e,redoMutations:_0x1dd9d5}=_0x2b71a5[_0x1cf358],_0x1b6953=this['_transformService'][_0x246f55(0x428)](_0x158986,_0x1fa29e),_0x4b357c=this[_0x246f55(0x1c5)][_0x246f55(0x428)](_0x3390ff,_0x1dd9d5);if(_0x2a2494(_0x1b6953)||_0x2a2494(_0x4b357c)){this[_0x246f55(0x26e)][_0x246f55(0x17b)](_0x246f55(0x48a),_0x246f55(0x3be),_0x1b6953,_0x4b357c);break;}_0x158986=_0x1b6953['c1Prime'],_0x3390ff=_0x4b357c[_0x246f55(0x4a1)],_0x1f6947[_0x246f55(0x433)]({'unitID':_0x51bdb3,'undoMutations':_0x1b6953[_0x246f55(0x4d6)],'redoMutations':_0x4b357c[_0x246f55(0x4d6)]});}return _0x1f6947['reverse']();}};_s=Rc([et(0x0,_0x2e0534),et(0x1,_0x1e58f0),et(0x2,_0x6af9eb),et(0x3,_0x2db4c4),et(0x4,_0x3efec9)],_s);class yc extends _0x177a9e{constructor(){const _0x4176fd=_0x5bb7a4;super(),g(this,'urlChange$'),this['urlChange$']=_0x565a18(window,'popstate')[_0x4176fd(0x3f1)](_0x52fa59(this[_0x4176fd(0x492)]),_0x3f1879(0x1),_0x287b5c(void 0x0));}['setParam'](_0x59f095,_0x3a4473,_0x54170f=!0x1){const _0x115f06=_0x5bb7a4,_0x2890e1=new URL(window[_0x115f06(0x521)][_0x115f06(0x50b)]);_0x2890e1[_0x115f06(0x19f)]['set'](_0x59f095,_0x3a4473),_0x54170f?window[_0x115f06(0x3cc)][_0x115f06(0x315)]('','',_0x2890e1[_0x115f06(0x2e5)]()):window[_0x115f06(0x3cc)][_0x115f06(0x3d4)]('','',_0x2890e1[_0x115f06(0x2e5)]());}['removeParam'](_0x54dbb0,_0x2154d4=!0x1){const _0x10cbf8=_0x5bb7a4,_0x11bfda=new URL(window[_0x10cbf8(0x521)][_0x10cbf8(0x50b)]);_0x11bfda[_0x10cbf8(0x19f)][_0x10cbf8(0x3d8)](_0x54dbb0),_0x2154d4?window[_0x10cbf8(0x3cc)][_0x10cbf8(0x315)]('','',_0x11bfda['toString']()):window[_0x10cbf8(0x3cc)][_0x10cbf8(0x3d4)]('','',_0x11bfda[_0x10cbf8(0x2e5)]());}['getParam'](_0x3aba6c){const _0x5dd888=_0x5bb7a4;var _0x285717;return(_0x285717=new URL(window['location'][_0x5dd888(0x50b)])[_0x5dd888(0x19f)][_0x5dd888(0x4f7)](_0x3aba6c))!=null?_0x285717:void 0x0;}}var zi=Object[_0x5bb7a4(0x42b)],Oc=Object[_0x5bb7a4(0x4e4)],wc=(_0x4bdc06,_0x21979c,_0x4cb3a5)=>_0x21979c in _0x4bdc06?zi(_0x4bdc06,_0x21979c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cb3a5}):_0x4bdc06[_0x21979c]=_0x4cb3a5,Dc=(_0x258765,_0x3cb8f0,_0x5c61ef,_0x7df504)=>{const _0x144bd7=_0x5bb7a4;for(var _0x5889bd=_0x7df504>0x1?void 0x0:_0x7df504?Oc(_0x3cb8f0,_0x5c61ef):_0x3cb8f0,_0x252a14=_0x258765[_0x144bd7(0x282)]-0x1,_0x5869be;_0x252a14>=0x0;_0x252a14--)(_0x5869be=_0x258765[_0x252a14])&&(_0x5889bd=(_0x7df504?_0x5869be(_0x3cb8f0,_0x5c61ef,_0x5889bd):_0x5869be(_0x5889bd))||_0x5889bd);return _0x7df504&&_0x5889bd&&zi(_0x3cb8f0,_0x5c61ef,_0x5889bd),_0x5889bd;},lt=(_0x1e8c8a,_0x1bd5ea)=>(_0x5ce7e7,_0x1001d8)=>_0x1bd5ea(_0x5ce7e7,_0x1001d8,_0x1e8c8a),Pc=(_0xb303a9,_0x99dd6,_0x3bfc20)=>wc(_0xb303a9,_0x99dd6+'',_0x3bfc20);const Uc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x1a3f69{constructor(_0x8b1473=Rr,_0x4f19e5,_0x1ccf76,_0x1cb2b8,_0x517dfc){const _0x39322f=_0x5bb7a4;super(),this[_0x39322f(0x579)]=_0x8b1473,this[_0x39322f(0x26e)]=_0x4f19e5,this[_0x39322f(0x262)]=_0x1ccf76,this['_injector']=_0x1cb2b8,this[_0x39322f(0x23e)]=_0x517dfc;const {..._0x28a46b}=this['_config'];this[_0x39322f(0x23e)][_0x39322f(0x386)](ie,_0x28a46b);}[_0x5bb7a4(0x558)](){const _0x5c3d4d=_0x5bb7a4;this[_0x5c3d4d(0x267)](),this[_0x5c3d4d(0x520)]();}[_0x5bb7a4(0x57f)](){_0x3fa01f(this['_injector'],[[Ct]]);}[_0x5bb7a4(0x214)](){this['_registerRenderDependencies']();}[_0x5bb7a4(0x267)](){const _0x38f93c=_0x5bb7a4;var _0x41ed6b,_0x5b784f,_0x35fd16,_0x5e212f;this[_0x38f93c(0x338)][_0x38f93c(0x2e6)](_0x131129)&&this[_0x38f93c(0x26e)][_0x38f93c(0x17b)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1fcd21=[[_0x131129,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x1275f8],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x5b784f=(_0x41ed6b=this[_0x38f93c(0x579)])==null?void 0x0:_0x41ed6b[_0x38f93c(0x18a)])!=null?_0x5b784f:es}],[_0x5bc59d,{'useClass':ls}],[_0x2eb585,{'useClass':cs}],[_0x23cc94,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x35fd16=this[_0x38f93c(0x579)])!=null&&_0x35fd16[_0x38f93c(0x359)]&&_0x1fcd21[_0x38f93c(0x433)]([Rt,{'useClass':ro}]),_0x60d00f(this[_0x38f93c(0x338)],_0x2c766a(_0x1fcd21,(_0x5e212f=this[_0x38f93c(0x579)])==null?void 0x0:_0x5e212f[_0x38f93c(0x1b6)]));}[_0x5bb7a4(0x40d)](){const _0x538072=_0x5bb7a4;this[_0x538072(0x368)](this[_0x538072(0x262)][_0x538072(0x376)](_0x10a997['UNIVER_DOC'],[os])),this[_0x538072(0x368)](this[_0x538072(0x262)][_0x538072(0x376)](_0x10a997['UNIVER_SHEET'],[as]));}[_0x5bb7a4(0x520)](){const _0x43c46b=_0x5bb7a4;var _0x45ecf2,_0x2715ba;this['_injector']['get'](_0x41156a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x15339e({'maxParallel':0x6})}),(_0x45ecf2=this[_0x43c46b(0x579)])!=null&&_0x45ecf2[_0x43c46b(0x394)]||this[_0x43c46b(0x338)][_0x43c46b(0x4f7)](q)[_0x43c46b(0x409)](),(_0x2715ba=this[_0x43c46b(0x579)])!=null&&_0x2715ba[_0x43c46b(0x319)]&&_0x3fa01f(this[_0x43c46b(0x338)],[[Et]]),_0x3fa01f(this['_injector'],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,'pluginName',Uc),us=Dc([_0x5008eb(_0x1956e2,_0x2fc5f3),lt(0x1,_0x3efec9),lt(0x2,_0x31d8f9),lt(0x3,_0x22a3e1(_0x4c5160)),lt(0x4,_0x2bb536)],us);export{Ba as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Cr as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ca as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,fr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Sr as LOCAL_CACHE_INTERVAL_KEY,br as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,pr as RETRY_CONNECTING_MAX_COUNT_KEY,Xc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Xo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,Or as serializeCombRequest};
|
1
|
+
const _0x3f2ec9=_0x1414;(function(_0xeaa943,_0x4c2336){const _0x4663f7=_0x1414,_0x37648a=_0xeaa943();while(!![]){try{const _0x37d7ca=parseInt(_0x4663f7(0x4f8))/0x1+-parseInt(_0x4663f7(0x209))/0x2+-parseInt(_0x4663f7(0x520))/0x3*(parseInt(_0x4663f7(0x518))/0x4)+-parseInt(_0x4663f7(0x22b))/0x5+-parseInt(_0x4663f7(0x30f))/0x6+-parseInt(_0x4663f7(0x265))/0x7*(parseInt(_0x4663f7(0x4e0))/0x8)+-parseInt(_0x4663f7(0x331))/0x9*(-parseInt(_0x4663f7(0x451))/0xa);if(_0x37d7ca===_0x4c2336)break;else _0x37648a['push'](_0x37648a['shift']());}catch(_0x1a46bb){_0x37648a['push'](_0x37648a['shift']());}}}(_0x27e6,0xc0b69));var qi=Object['defineProperty'],Xi=(_0x38ba27,_0x87cc08,_0x4c9d84)=>_0x87cc08 in _0x38ba27?qi(_0x38ba27,_0x87cc08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c9d84}):_0x38ba27[_0x87cc08]=_0x4c9d84,g=(_0x102499,_0x1f0d00,_0x520c11)=>Xi(_0x102499,typeof _0x1f0d00!=_0x3f2ec9(0x3c1)?_0x1f0d00+'':_0x1f0d00,_0x520c11);import{createIdentifier as _0x229333,Inject as _0x127ed5,Disposable as _0x4bee31,DisposableCollection as _0x133ebf,toDisposable as _0x5d23c9,IConfigService as _0x5293d7,ILogService as _0x2a6a1c,UserManagerService as _0x2c4acc,UniverInstanceType as _0x1a8690,IUniverInstanceService as _0x4c4975,LocaleService as _0x4d6b84,Optional as _0x5c4d06,RxDisposable as _0x404743,Injector as _0x846a04,Tools as _0x109dec,ILocalStorageService as _0x249ce2,Rectangle as _0x4460be,ICommandService as _0x49a021,DOC_RANGE_TYPE as _0x5dc937,JSONX as _0x29a830,CommandType as _0x2597e7,IPermissionService as _0x178a2e,IUndoRedoService as _0x42df5e,sequenceExecute as _0x5e47e9,debounce as _0x58d671,COLORS as _0xc90d79,ColorKit as _0x1d6dd2,ThemeService as _0x164d1f,fromEventSubject as _0x132b42,useDependency as _0x167d10,connectInjector as _0x26398f,Workbook as _0x17fe54,isInternalEditorID as _0x93faba,LocalUndoRedoService as _0x568c65,IContextService as _0x4f5466,DependentOn as _0x5d40c8,Plugin as _0x2dcc71,touchDependencies as _0x1ab21b,IAuthzIoService as _0x491f3b,registerDependencies as _0x199895,mergeOverrideWithDependencies as _0x14a5de}from'@univerjs/core';import{Subject as _0xf004ca,merge as _0x54a5bf,takeUntil as _0x54e638,BehaviorSubject as _0x286de7,distinctUntilChanged as _0x585caa,fromEvent as _0x61e8c9,ReplaySubject as _0x49284b,take as _0x1f972f,map as _0xfcb617,shareReplay as _0xdc22d3,of as _0x2a9475,debounceTime as _0xa82325,filter as _0x33100e,switchMap as _0x20c82a,combineLatest as _0xf1dda2,concatMap as _0x2062d4,mapTo as _0x533c60}from'rxjs';import{map as _0x4f8f29,take as _0xe36e8c,filter as _0x2d77f8,delay as _0x1882f0,throttleTime as _0x102e6d,takeUntil as _0x40998a,switchMap as _0x39728f}from'rxjs/operators';import{MessageType as _0x196a0e,Tooltip as _0x175b19}from'@univerjs/design';import{IBeforeCloseService as _0x42b0b0,IMessageService as _0x79bb7b,INotificationService as _0x3a3e53,useObservable as _0x458a38,BuiltInUIPart as _0x290b7d,IUIPartsService as _0x38c0b8}from'@univerjs/ui';import{HTTPService as _0x1d93b0,WebSocketService as _0x18b495,MergeInterceptorFactory as _0x1dbafd,HTTPRequest as _0x651888,UniverNetworkPlugin as _0x291685,ThresholdInterceptorFactory as _0x527fac}from'@univerjs/network';import{CollaborationEvent as _0x371f1e,parseChangesetToProtocol as _0x125e13,ISnapshotServerService as _0x32dd62,isTransformMutationFailure as _0x1d55d1,isTransformMutationsWithChangesetSuccess as _0x678508,ITransformService as _0x1ba0e0,RevisionService as _0x5633d8,mapDocumentTypeToUniverType as _0x54ef7c,isTransformChangesetsSuccess as _0x213587,CompressMutationService as _0x2e95e0,parseProtocolChangeset as _0x39ab7f,SnapshotService as _0x155fc0,textEncoder as _0x1f0543,b64DecodeUnicode as _0x56d3fc,isTransformMutationsWithChangesetFailure as _0x1fb670,UniverCollaborationPlugin as _0x33b951}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5a864f}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x467f19,DocStateChangeManagerService as _0x2813e4,NodePositionConvertToCursor as _0x17e8b6,NodePositionConvertToRectRange as _0x4753f0,TEXT_RANGE_LAYER_INDEX as _0x31dbf7,SetDocZoomRatioOperation as _0x5456c4}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x3c5a27,SetSelectionsOperation as _0x57bc2c,InsertSheetMutation as _0x43bbdd,EmptyMutation as _0x181cd4,WorkbookEditablePermission as _0x4ea9fe,RefRangeService as _0x4ded6e,EffectRefRangId as _0x28cf41,handleIRemoveRow as _0x3a8c75,handleIRemoveCol as _0xf4c67b,handleMoveRange as _0x4a2b4b,handleInsertRow as _0x4b6f8f,handleInsertRangeMoveRight as _0x2f62b8,handleInsertRangeMoveDown as _0x36d87a,handleInsertCol as _0xcfcaf1,handleDeleteRangeMoveUp as _0x5272d2,handleDeleteRangeMoveLeft as _0x4fca05,runRefRangeMutations as _0x5c5021,SetWorksheetActivateCommand as _0x1942c4}from'@univerjs/sheets';import{IRenderManagerService as _0x249704,Shape as _0x53dc57,Rect as _0xe2e41c,getColor as _0xa01f1e,RegularPolygon as _0x5d55f4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4b2d3b,Vector2 as _0x4ad19}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x36c4dd,RichTextEditingMutation as _0x6aa10a,SetTextSelectionsOperation as _0x14c8d9,DocSkeletonManagerService as _0x8b6d29}from'@univerjs/docs';import{ImageSourceType as _0x9e0632,ImageUploadStatusType as _0x4bc378,IImageIoService as _0x52bb2a}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x583805,serializeRangeWithSheet as _0x874bec}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x51efae,VIEWPORT_KEY as _0x32c443,getCoordByCell as _0x216880,getSheetObject as _0x37efe0,SheetPermissionInitController as _0x7d20a1}from'@univerjs/sheets-ui';import _0x24121a,{forwardRef as _0x2f556d,useRef as _0x12decf,createElement as _0x3acef7,useCallback as _0x44f3c3}from'react';import{IRemoteInstanceService as _0xa1253}from'@univerjs/rpc';const cr='SNAPSHOT_SERVER_URL_KEY',hr=_0x3f2ec9(0x3eb),lr=_0x3f2ec9(0x48f),Xc=_0x3f2ec9(0x226),_r=0x7d0,ur=_0x3f2ec9(0x2b1),dr=_0x3f2ec9(0x583),fr='HEARTBEAT_INTERVAL',vr=0x7530,bi=_0x3f2ec9(0x3d0),Ti=0x4e20,mr=0x4e20,pr=_0x3f2ec9(0x1c9),gr=0x3,Sr=_0x3f2ec9(0x50c),Ir=0x3e8,Cr='COLLAB_SUBMIT_CHANGESET_URL',Er=_0x3f2ec9(0x493),br=_0x3f2ec9(0x2e5),Tr=_0x3f2ec9(0x28e);var Ri=(_0x5f250d=>(_0x5f250d[_0x5f250d['UNDEFINED']=0x0]=_0x3f2ec9(0x1df),_0x5f250d[_0x5f250d['OK']=0x1]='OK',_0x5f250d[_0x5f250d[_0x3f2ec9(0x407)]=0x2]=_0x3f2ec9(0x407),_0x5f250d[_0x5f250d['PERMISSION_DENIED']=0x3]=_0x3f2ec9(0x211),_0x5f250d[_0x5f250d[_0x3f2ec9(0x4d6)]=0x4]=_0x3f2ec9(0x4d6),_0x5f250d[_0x5f250d[_0x3f2ec9(0x4a4)]=0x5]='UNAUTHENTICATED',_0x5f250d[_0x5f250d[_0x3f2ec9(0x2ce)]=0x6]='ALREADY_EXISTS',_0x5f250d[_0x5f250d[_0x3f2ec9(0x559)]=0x7]='INVALID_ARGUMENT',_0x5f250d[_0x5f250d[_0x3f2ec9(0x361)]=0x8]=_0x3f2ec9(0x361),_0x5f250d[_0x5f250d[_0x3f2ec9(0x22e)]=0x9]=_0x3f2ec9(0x22e),_0x5f250d[_0x5f250d[_0x3f2ec9(0x5c0)]=0x1389]=_0x3f2ec9(0x5c0),_0x5f250d[_0x5f250d[_0x3f2ec9(0x3e1)]=0x1771]=_0x3f2ec9(0x3e1),_0x5f250d[_0x5f250d[_0x3f2ec9(0x47f)]=0x1772]=_0x3f2ec9(0x47f),_0x5f250d[_0x5f250d[_0x3f2ec9(0x52b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5f250d[_0x5f250d[_0x3f2ec9(0x242)]=0x1b59]=_0x3f2ec9(0x242),_0x5f250d[_0x5f250d[_0x3f2ec9(0x393)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5f250d[_0x5f250d[_0x3f2ec9(0x474)]=0x1b5b]=_0x3f2ec9(0x474),_0x5f250d[_0x5f250d[_0x3f2ec9(0x49e)]=0x1b5c]=_0x3f2ec9(0x49e),_0x5f250d[_0x5f250d[_0x3f2ec9(0x1fe)]=0x1b5d]=_0x3f2ec9(0x1fe),_0x5f250d[_0x5f250d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3f2ec9(0x358),_0x5f250d[_0x5f250d[_0x3f2ec9(0x4d4)]=0x2329]=_0x3f2ec9(0x4d4),_0x5f250d[_0x5f250d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3f2ec9(0x472),_0x5f250d[_0x5f250d[_0x3f2ec9(0x50d)]=0x232b]=_0x3f2ec9(0x50d),_0x5f250d[_0x5f250d[_0x3f2ec9(0x3ef)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5f250d[_0x5f250d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3f2ec9(0x2dc),_0x5f250d[_0x5f250d[_0x3f2ec9(0x33c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5f250d[_0x5f250d[_0x3f2ec9(0x5b1)]=0x2712]=_0x3f2ec9(0x5b1),_0x5f250d[_0x5f250d[_0x3f2ec9(0x584)]=0x2713]=_0x3f2ec9(0x584),_0x5f250d[_0x5f250d[_0x3f2ec9(0x305)]=0x2714]=_0x3f2ec9(0x305),_0x5f250d[_0x5f250d[_0x3f2ec9(0x4af)]=-0x1]=_0x3f2ec9(0x4af),_0x5f250d))(Ri||{}),ce=(_0xed0b65=>(_0xed0b65[_0xed0b65[_0x3f2ec9(0x25e)]=0x0]=_0x3f2ec9(0x25e),_0xed0b65[_0xed0b65[_0x3f2ec9(0x32a)]=0x1]=_0x3f2ec9(0x32a),_0xed0b65[_0xed0b65[_0x3f2ec9(0x54f)]=0x2]='UNIVER_SHEET',_0xed0b65[_0xed0b65[_0x3f2ec9(0x3f9)]=0x3]=_0x3f2ec9(0x3f9),_0xed0b65[_0xed0b65['UNIVER_PROJECT']=0x4]=_0x3f2ec9(0x2b0),_0xed0b65[_0xed0b65[_0x3f2ec9(0x4af)]=-0x1]='UNRECOGNIZED',_0xed0b65))(ce||{}),W=(_0x19515f=>(_0x19515f[_0x19515f[_0x3f2ec9(0x530)]=0x0]=_0x3f2ec9(0x530),_0x19515f[_0x19515f['HELLO']=0x1]=_0x3f2ec9(0x345),_0x19515f[_0x19515f[_0x3f2ec9(0x27d)]=0x2]=_0x3f2ec9(0x27d),_0x19515f[_0x19515f[_0x3f2ec9(0x284)]=0x3]='LEAVE',_0x19515f[_0x19515f[_0x3f2ec9(0x2a8)]=0x4]=_0x3f2ec9(0x2a8),_0x19515f[_0x19515f[_0x3f2ec9(0x4f6)]=0x5]=_0x3f2ec9(0x4f6),_0x19515f[_0x19515f[_0x3f2ec9(0x2cc)]=0x6]=_0x3f2ec9(0x2cc),_0x19515f[_0x19515f[_0x3f2ec9(0x4af)]=-0x1]='UNRECOGNIZED',_0x19515f))(W||{}),Is=(_0x9b753b=>(_0x9b753b[_0x9b753b['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x9b753b[_0x9b753b['OK']=0x1]='OK',_0x9b753b[_0x9b753b['FAIL']=0x2]='FAIL',_0x9b753b[_0x9b753b['UNRECOGNIZED']=-0x1]=_0x3f2ec9(0x4af),_0x9b753b))(Is||{}),yi=(_0x397549=>(_0x397549[_0x397549[_0x3f2ec9(0x4dd)]=0x0]=_0x3f2ec9(0x4dd),_0x397549[_0x397549['HttpImport']=0x1]='HttpImport',_0x397549[_0x397549[_0x3f2ec9(0x34f)]=0x2]=_0x3f2ec9(0x34f),_0x397549[_0x397549[_0x3f2ec9(0x3c8)]=0x3]='UnitEmbedded',_0x397549[_0x397549[_0x3f2ec9(0x1f4)]=0x4]=_0x3f2ec9(0x1f4),_0x397549[_0x397549[_0x3f2ec9(0x4af)]=-0x1]=_0x3f2ec9(0x4af),_0x397549))(yi||{});const ie=_0x3f2ec9(0x403),Rr={};function yr(_0x332cf5){const _0x3f2edb=_0x3f2ec9;var _0x475cec,_0x39efdc,_0x1f2855,_0x2cd3c5,_0x15e75e;const _0x278e31=_0x332cf5['data'],_0x5165f1=JSON[_0x3f2edb(0x224)](_0x278e31);switch(_0x5165f1[_0x3f2edb(0x1e2)]){case W[_0x3f2edb(0x4f6)]:case W[_0x3f2edb(0x345)]:{const _0x54d95e=_0x5165f1['infoRsp'];return{..._0x5165f1,'data':_0x54d95e,'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};}case W[_0x3f2edb(0x27d)]:{const _0x92df3f=_0x5165f1[_0x3f2edb(0x36e)];return{..._0x5165f1,'data':_0x92df3f,'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};}case W[_0x3f2edb(0x2cc)]:{const _0x269247=_0x5165f1[_0x3f2edb(0x3b1)];switch(_0x269247[_0x3f2edb(0x56b)]){case _0x371f1e[_0x3f2edb(0x292)]:return{..._0x5165f1,'data':{..._0x269247,'data':(_0x475cec=_0x269247[_0x3f2edb(0x4a1)])==null?void 0x0:_0x475cec['cs']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['CHANGESET_ACK']:return{..._0x5165f1,'data':{..._0x269247,'data':(_0x39efdc=_0x269247[_0x3f2edb(0x577)])==null?void 0x0:_0x39efdc['cs']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['NEW_CHANGESETS']:return{..._0x5165f1,'data':{..._0x269247,'data':(_0x1f2855=_0x269247[_0x3f2edb(0x457)])==null?void 0x0:_0x1f2855['cs']},'cmd':_0x5165f1['cmd']};case _0x371f1e['CHANGESET_REJ']:return{..._0x5165f1,'data':{..._0x269247,'data':(_0x2cd3c5=_0x269247[_0x3f2edb(0x327)])==null?void 0x0:_0x2cd3c5['cs']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e[_0x3f2edb(0x39f)]:return{..._0x5165f1,'data':{..._0x269247,'data':(_0x15e75e=_0x269247[_0x3f2edb(0x244)])==null?void 0x0:_0x15e75e['cs']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['UPDATE_CURSOR']:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247[_0x3f2edb(0x2b9)]},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['USERS_ENTER']:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247[_0x3f2edb(0x3d8)]},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e[_0x3f2edb(0x5d0)]:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247['leaveEvent']},'cmd':_0x5165f1['cmd']};case _0x371f1e['LIVESHARE_NEW_HOST']:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247['liveShareNewHost']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e[_0x3f2edb(0x479)]:case _0x371f1e[_0x3f2edb(0x405)]:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247[_0x3f2edb(0x1eb)]},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e[_0x3f2edb(0x300)]:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247['liveShareNewHost']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['MSG_FOR_ERROR']:return{..._0x5165f1,'data':_0x269247,'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['COMMENT_UPDATE']:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247[_0x3f2edb(0x43d)]},'cmd':_0x5165f1['cmd']};case _0x371f1e[_0x3f2edb(0x5a7)]:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247['updatePermissionObjEvent']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e[_0x3f2edb(0x4cf)]:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247[_0x3f2edb(0x384)]},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};default:return _0x5165f1;}}default:return _0x5165f1;}}function Or(_0x966014){const _0x5d3299=_0x3f2ec9;switch(_0x966014[_0x5d3299(0x1e2)]){case W[_0x5d3299(0x4f6)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x966014['cmd'],'routeKey':_0x966014['routeKey']});case W['INGEST']:{let _0x4e4e71;switch(_0x966014['data'][_0x5d3299(0x56b)]){case _0x371f1e['UPDATE_CURSOR']:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x217)],'updateCursorEvent':_0x966014[_0x5d3299(0x399)][_0x5d3299(0x399)]};break;}case _0x371f1e[_0x5d3299(0x5d0)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x5d0)],'leaveEvent':_0x966014[_0x5d3299(0x399)][_0x5d3299(0x399)]};break;}case _0x371f1e[_0x5d3299(0x54d)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x54d)],'joinEvent':_0x966014['data']['data']};break;}case _0x371f1e[_0x5d3299(0x4fa)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x4fa)],'liveShareNewHost':_0x966014['data']['data']};break;}case _0x371f1e['LIVESHARE_OPERATION']:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x405)],'liveShareOperation':_0x966014[_0x5d3299(0x399)]['data']};break;}case _0x371f1e[_0x5d3299(0x300)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x300)],'liveShareTerminate':_0x966014['data']['data']};break;}case _0x371f1e[_0x5d3299(0x372)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x372)],'liveShareRequestHost':_0x966014['data']['data']};break;}case _0x371f1e[_0x5d3299(0x479)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x479)]};break;}default:_0x4e4e71={'eventID':_0x966014[_0x5d3299(0x399)]['eventID']};}return JSON[_0x5d3299(0x5a1)]({'cmd':_0x966014['cmd'],'routeKey':_0x966014[_0x5d3299(0x4a3)],'collaMsg':_0x4e4e71});}case W['JOIN']:return JSON[_0x5d3299(0x5a1)]({'cmd':_0x966014[_0x5d3299(0x1e2)],'routeKey':_0x966014[_0x5d3299(0x4a3)],'joinReq':_0x966014[_0x5d3299(0x399)]});case W[_0x5d3299(0x284)]:return JSON['stringify']({'cmd':_0x966014[_0x5d3299(0x1e2)],'routeKey':_0x966014[_0x5d3299(0x4a3)],'leaveReq':_0x966014[_0x5d3299(0x399)]});default:throw new Error(_0x5d3299(0x3d7));}}var wr=Object[_0x3f2ec9(0x323)],Dr=Object[_0x3f2ec9(0x318)],Pr=(_0x35a002,_0x4de683,_0x343602,_0x393c12)=>{const _0xf5f400=_0x3f2ec9;for(var _0xb342c3=_0x393c12>0x1?void 0x0:_0x393c12?Dr(_0x4de683,_0x343602):_0x4de683,_0x36851b=_0x35a002[_0xf5f400(0x3a7)]-0x1,_0x4cd1af;_0x36851b>=0x0;_0x36851b--)(_0x4cd1af=_0x35a002[_0x36851b])&&(_0xb342c3=(_0x393c12?_0x4cd1af(_0x4de683,_0x343602,_0xb342c3):_0x4cd1af(_0xb342c3))||_0xb342c3);return _0x393c12&&_0xb342c3&&wr(_0x4de683,_0x343602,_0xb342c3),_0xb342c3;},qe=(_0xf062d0,_0x5490ea)=>(_0x755a53,_0x26be19)=>_0x5490ea(_0x755a53,_0x26be19,_0xf062d0);const Oi=_0x229333(_0x3f2ec9(0x33e));function Ur(_0x11bc1f,_0x73253c,_0x1aaf16){const _0x2feb9a=_0x3f2ec9;return _0x11bc1f+'/'+_0x73253c+_0x2feb9a(0x3d3)+_0x1aaf16+_0x2feb9a(0x21d);}let es=class extends _0x4bee31{constructor(_0x2b1b8a,_0x1df65d,_0x590972,_0x306362,_0x4f7a1e){const _0x599b63=_0x3f2ec9;super(),this[_0x599b63(0x418)]=_0x2b1b8a,this[_0x599b63(0x1d8)]=_0x1df65d,this[_0x599b63(0x5b4)]=_0x590972,this[_0x599b63(0x42f)]=_0x306362,this[_0x599b63(0x4a7)]=_0x4f7a1e;}[_0x3f2ec9(0x330)](_0x3ffb46){const _0x4555f4=_0x3f2ec9,_0x3fa17e=this[_0x4555f4(0x1d8)][_0x4555f4(0x330)](_0x3ffb46);if(!_0x3fa17e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2d3640=new _0x133ebf(),_0x2323e7=new _0xf004ca();_0x2d3640[_0x4555f4(0x304)](_0x3fa17e[_0x4555f4(0x302)]['subscribe'](_0x486a15=>_0x2323e7[_0x4555f4(0x3f5)](_0x486a15))),_0x2d3640[_0x4555f4(0x304)](_0x5d23c9(()=>_0x2323e7[_0x4555f4(0x492)]()));const _0x4bcde6=new _0xf004ca();_0x2d3640[_0x4555f4(0x304)](_0x3fa17e['error$'][_0x4555f4(0x27a)](_0x1378b1=>_0x4bcde6[_0x4555f4(0x3f5)](_0x1378b1))),_0x2d3640[_0x4555f4(0x304)](_0x5d23c9(()=>_0x4bcde6['complete']()));const _0x5c8203=new _0xf004ca();_0x2d3640[_0x4555f4(0x304)](_0x3fa17e['message$'][_0x4555f4(0x27a)](_0x51dc52=>{const _0x583a2e=_0x4555f4,_0x4d2919=yr(_0x51dc52);_0x5c8203[_0x583a2e(0x3f5)](_0x4d2919);})),_0x2d3640[_0x4555f4(0x304)](_0x5d23c9(()=>_0x5c8203['complete']()));let _0x3eb83b;const _0x33f704=()=>{const _0x16e10c=_0x4555f4;_0x4bcde6[_0x16e10c(0x3f5)](new Event(_0x16e10c(0x2c7))),_0x2323e7[_0x16e10c(0x3f5)](new CloseEvent('connection\x20error')),_0x3eb83b[_0x16e10c(0x2c3)]();};return _0x3eb83b={'memberID':'','close$':_0x2323e7['asObservable'](),'error$':_0x4bcde6[_0x4555f4(0x5d2)](),'open$':_0x3fa17e[_0x4555f4(0x5c1)],'message$':_0x5c8203[_0x4555f4(0x5d2)](),'send':_0x287732=>{const _0x5bcc96=_0x4555f4;if(_0x287732[_0x5bcc96(0x1e2)]===W[_0x5bcc96(0x2a8)]){if(_0x287732[_0x5bcc96(0x399)][_0x5bcc96(0x56b)]===_0x371f1e['SUBMIT_CHANGESET']){this[_0x5bcc96(0x450)](_0x3eb83b,_0x287732[_0x5bcc96(0x399)])['catch'](_0x1cb638=>{const _0x22932d=_0x5bcc96;this[_0x22932d(0x42f)][_0x22932d(0x3b5)](_0x1cb638),_0x33f704();});return;}if(_0x287732['data']['eventID']===_0x371f1e[_0x5bcc96(0x374)]){const _0x173d0e=_0x287732[_0x5bcc96(0x399)];this[_0x5bcc96(0x334)](_0x173d0e)[_0x5bcc96(0x33f)](_0xa06a44=>{const _0x5c5431=_0x5bcc96;_0x5c8203[_0x5c5431(0x3f5)]({'cmd':W[_0x5c5431(0x2cc)],'code':Is['OK'],'routeKey':_0x173d0e[_0x5c5431(0x399)][_0x5c5431(0x350)],'routeType':'','data':{'eventID':_0x371f1e[_0x5c5431(0x290)],'data':{'changesets':_0xa06a44}}});})[_0x5bcc96(0x1c8)](_0x5b829b=>{const _0x562530=_0x5bcc96;this[_0x562530(0x42f)][_0x562530(0x3b5)](_0x5b829b),_0x33f704();});return;}}_0x3fa17e[_0x5bcc96(0x446)](Or(_0x287732));},'close':()=>{const _0x38ebb6=_0x4555f4;_0x3fa17e[_0x38ebb6(0x2c3)](),_0x2d3640['dispose']();}},_0x3eb83b;}async[_0x3f2ec9(0x450)](_0x3ef735,_0xdc1b0d){const _0x41fd14=_0x3f2ec9;var _0xba37d1,_0xda286a;const {unitType:_0x199d2a,unitID:_0x584565,changeset:_0x45e9a9}=_0xdc1b0d[_0x41fd14(0x399)],_0xd89f4={'unitID':_0x584565,'memberID':_0x3ef735['memberID'],'type':_0x199d2a,'changeset':_0x125e13(_0x45e9a9)},_0x460079=this[_0x41fd14(0x5b4)][_0x41fd14(0x4d2)](Cr),_0x3830ed=this[_0x41fd14(0x5b4)]['getConfig'](ie),_0x21eda3=Ur((_0xda286a=(_0xba37d1=_0x3830ed==null?void 0x0:_0x3830ed[_0x41fd14(0x1dc)])!=null?_0xba37d1:_0x460079)!=null?_0xda286a:Er,_0x199d2a,_0x584565);try{await this['_http'][_0x41fd14(0x527)](_0x21eda3,{'body':_0xd89f4});}catch(_0x271939){throw this[_0x41fd14(0x42f)][_0x41fd14(0x3b5)]('[CollaborationSession]',_0x41fd14(0x40e)),_0x271939;}}async['_fetchMissChangesets'](_0x44f3f3){const _0x351c62=_0x3f2ec9,{unitID:_0x216369,from:_0x5ee05c,to:_0x515904,unitType:_0x27d2bc}=_0x44f3f3[_0x351c62(0x399)];return(await this[_0x351c62(0x4a7)][_0x351c62(0x3fb)]({'metadata':void 0x0},{'unitID':_0x216369,'type':_0x27d2bc,'from':_0x5ee05c,'to':_0x515904}))[_0x351c62(0x44e)];}};es=Pr([qe(0x0,_0x127ed5(_0x1d93b0)),qe(0x1,_0x127ed5(_0x18b495)),qe(0x2,_0x5293d7),qe(0x3,_0x2a6a1c),qe(0x4,_0x32dd62)],es);const Nr=_0x3f2ec9(0x521);function _0x1414(_0x2ec3b9,_0x33c08f){const _0x27e698=_0x27e6();return _0x1414=function(_0x141451,_0x5c9a70){_0x141451=_0x141451-0x1bc;let _0x34e79c=_0x27e698[_0x141451];return _0x34e79c;},_0x1414(_0x2ec3b9,_0x33c08f);}function Ar(_0x3f3ac7){const _0x2f392e=_0x3f2ec9;return JSON[_0x2f392e(0x5a1)](_0x3f3ac7)[_0x2f392e(0x3a7)];}class wi{constructor(){const _0x2a00e8=_0x3f2ec9;g(this,'_commentUpdate$',new _0xf004ca()),g(this,_0x2a00e8(0x56a),this[_0x2a00e8(0x4aa)][_0x2a00e8(0x5d2)]());}['onCommentUpdate'](_0x39d8e8){const _0x46bf6b=_0x3f2ec9;this[_0x46bf6b(0x4aa)][_0x46bf6b(0x3f5)](_0x39d8e8);}}var Mr=Object[_0x3f2ec9(0x323)],xr=Object[_0x3f2ec9(0x318)],Lr=(_0x2e5314,_0x52ecd0,_0x41c6d8,_0x13fa3b)=>{for(var _0xe89d7d=_0x13fa3b>0x1?void 0x0:_0x13fa3b?xr(_0x52ecd0,_0x41c6d8):_0x52ecd0,_0x1a5354=_0x2e5314['length']-0x1,_0x2c1969;_0x1a5354>=0x0;_0x1a5354--)(_0x2c1969=_0x2e5314[_0x1a5354])&&(_0xe89d7d=(_0x13fa3b?_0x2c1969(_0x52ecd0,_0x41c6d8,_0xe89d7d):_0x2c1969(_0xe89d7d))||_0xe89d7d);return _0x13fa3b&&_0xe89d7d&&Mr(_0x52ecd0,_0x41c6d8,_0xe89d7d),_0xe89d7d;},Hs=(_0x4dbe78,_0x49d3eb)=>(_0x4f4f67,_0x52a38c)=>_0x49d3eb(_0x4f4f67,_0x52a38c,_0x4dbe78);let Ne=class extends _0x4bee31{constructor(_0x47f287,_0x14babd){const _0x36438b=_0x3f2ec9;super(),g(this,'_roomMembers',new Map()),(this[_0x36438b(0x590)]=_0x47f287,this[_0x36438b(0x54b)]=_0x14babd,this[_0x36438b(0x324)](_0x5d23c9(_0x54a5bf(this[_0x36438b(0x590)][_0x36438b(0x31d)](_0x1a8690[_0x36438b(0x54f)])[_0x36438b(0x3c4)](_0x4f8f29(_0x4d504b=>_0x4d504b[_0x36438b(0x461)]())),this[_0x36438b(0x590)][_0x36438b(0x31d)](_0x1a8690[_0x36438b(0x32a)])[_0x36438b(0x3c4)](_0x4f8f29(_0x3c098d=>_0x3c098d[_0x36438b(0x461)]())),this[_0x36438b(0x590)][_0x36438b(0x31d)](_0x1a8690[_0x36438b(0x3f9)])[_0x36438b(0x3c4)](_0x4f8f29(_0x374dcf=>_0x374dcf['getUnitId']())))[_0x36438b(0x27a)](_0x12bf00=>this[_0x36438b(0x4b0)](_0x12bf00)))));}[_0x3f2ec9(0x2ab)](_0x18d3ac){const _0x524264=_0x3f2ec9;this['_userManagerService'][_0x524264(0x2ab)](_0x18d3ac);}[_0x3f2ec9(0x555)](){const _0x3ec15d=_0x3f2ec9;return this[_0x3ec15d(0x54b)][_0x3ec15d(0x555)]();}[_0x3f2ec9(0x3ab)](_0x496a9c,_0x531c59){const _0x11fef7=_0x3f2ec9;let _0x1438e9=this[_0x11fef7(0x25c)][_0x11fef7(0x333)](_0x496a9c);_0x1438e9||(_0x1438e9=new $r(),this[_0x11fef7(0x25c)][_0x11fef7(0x250)](_0x496a9c,_0x1438e9)),_0x1438e9['updateMember'](_0x531c59);}[_0x3f2ec9(0x2ea)](_0x8ea8e8,_0x219c27){const _0x2b231b=_0x3f2ec9,_0x43ec45=this[_0x2b231b(0x25c)][_0x2b231b(0x333)](_0x8ea8e8);_0x43ec45&&_0x43ec45[_0x2b231b(0x2ea)](_0x219c27);}[_0x3f2ec9(0x340)](_0x10b548){const _0x175a7e=_0x3f2ec9;return this[_0x175a7e(0x25c)]['get'](_0x10b548);}[_0x3f2ec9(0x44b)](_0x135aa5,_0x15daaf){const _0x9d3e01=_0x3f2ec9,_0x4b9200=this[_0x9d3e01(0x25c)][_0x9d3e01(0x333)](_0x135aa5);if(_0x4b9200)return _0x4b9200['getMember'](_0x15daaf);}[_0x3f2ec9(0x4b0)](_0x390eb2){const _0x154d65=_0x3f2ec9,_0x3d4a75=this['_roomMembers'][_0x154d65(0x333)](_0x390eb2);_0x3d4a75&&(_0x3d4a75[_0x154d65(0x385)](),this[_0x154d65(0x25c)][_0x154d65(0x1c4)](_0x390eb2));}[_0x3f2ec9(0x385)](){const _0x5c15a4=_0x3f2ec9;this[_0x5c15a4(0x25c)][_0x5c15a4(0x346)](_0x136d5d=>_0x136d5d[_0x5c15a4(0x385)]()),this[_0x5c15a4(0x25c)]['clear']();}};Ne=Lr([Hs(0x0,_0x4c4975),Hs(0x1,_0x127ed5(_0x2c4acc))],Ne);class $r extends _0x4bee31{constructor(){const _0x475106=_0x3f2ec9;super(...arguments),g(this,_0x475106(0x4da),new Map());}[_0x3f2ec9(0x385)](){const _0x4ea1fa=_0x3f2ec9;this[_0x4ea1fa(0x4da)][_0x4ea1fa(0x367)]();}[_0x3f2ec9(0x3ab)](_0x5aa975){const _0x1bbf63=_0x3f2ec9;this[_0x1bbf63(0x4da)][_0x1bbf63(0x250)](_0x5aa975[_0x1bbf63(0x3b6)],_0x5aa975);}[_0x3f2ec9(0x2ea)](_0x3b6954){const _0x3f86a9=_0x3f2ec9;this[_0x3f86a9(0x4da)][_0x3f86a9(0x1c4)](_0x3b6954);}[_0x3f2ec9(0x44b)](_0x473868){const _0x2959a2=_0x3f2ec9;return this[_0x2959a2(0x4da)][_0x2959a2(0x333)](_0x473868);}['getAllMembers'](){const _0x5a6305=_0x3f2ec9;return Array[_0x5a6305(0x424)](this['_members']['values']());}}var Hr=Object[_0x3f2ec9(0x323)],jr=Object[_0x3f2ec9(0x318)],Br=(_0x172d17,_0x23578f,_0x2bb7dd,_0x26a443)=>{const _0x48660d=_0x3f2ec9;for(var _0xd5ea3e=_0x26a443>0x1?void 0x0:_0x26a443?jr(_0x23578f,_0x2bb7dd):_0x23578f,_0x5ebbf7=_0x172d17[_0x48660d(0x3a7)]-0x1,_0x162623;_0x5ebbf7>=0x0;_0x5ebbf7--)(_0x162623=_0x172d17[_0x5ebbf7])&&(_0xd5ea3e=(_0x26a443?_0x162623(_0x23578f,_0x2bb7dd,_0xd5ea3e):_0x162623(_0xd5ea3e))||_0xd5ea3e);return _0x26a443&&_0xd5ea3e&&Hr(_0x23578f,_0x2bb7dd,_0xd5ea3e),_0xd5ea3e;},Ee=(_0x27023e,_0x84d1ab)=>(_0x24f6c4,_0x528086)=>_0x84d1ab(_0x24f6c4,_0x528086,_0x27023e),ve=(_0x2454b2=>(_0x2454b2[_0x2454b2[_0x3f2ec9(0x436)]=0x0]=_0x3f2ec9(0x436),_0x2454b2[_0x2454b2['JOINING']=0x1]=_0x3f2ec9(0x510),_0x2454b2[_0x2454b2[_0x3f2ec9(0x377)]=0x2]=_0x3f2ec9(0x377),_0x2454b2[_0x2454b2[_0x3f2ec9(0x34a)]=0x3]=_0x3f2ec9(0x34a),_0x2454b2))(ve||{});let ts=class extends _0x404743{constructor(_0x47a20c,_0x27516f,_0x24dfd3,_0x53843f,_0x3a4f4f,_0x1fa4bd,_0x308a76,_0xde9c9e,_0x473950,_0x2732f6){const _0x5400c2=_0x3f2ec9;super(),g(this,_0x5400c2(0x2a9),new _0x286de7(0x0)),g(this,_0x5400c2(0x4b4),this[_0x5400c2(0x2a9)]['asObservable']()),g(this,_0x5400c2(0x219),new _0xf004ca()),g(this,_0x5400c2(0x34d),this[_0x5400c2(0x219)][_0x5400c2(0x5d2)]()),g(this,_0x5400c2(0x1dd)),g(this,_0x5400c2(0x1e8)),g(this,_0x5400c2(0x441)),g(this,_0x5400c2(0x52c),!0x1),g(this,'_telemetryInfo',null),(this[_0x5400c2(0x316)]=_0x47a20c,this[_0x5400c2(0x42f)]=_0x24dfd3,this['_beforeCloseService']=_0x53843f,this[_0x5400c2(0x2b6)]=_0x3a4f4f,this[_0x5400c2(0x5b4)]=_0x1fa4bd,this[_0x5400c2(0x311)]=_0x308a76,this[_0x5400c2(0x444)]=_0xde9c9e,this[_0x5400c2(0x480)]=_0x473950,this[_0x5400c2(0x2aa)]=_0x2732f6,this[_0x5400c2(0x52c)]=!!this[_0x5400c2(0x2aa)],_0x27516f[_0x5400c2(0x3c4)](_0x54e638(this[_0x5400c2(0x3e8)]))[_0x5400c2(0x27a)](_0x13e351=>{const _0x780d15=_0x5400c2;var _0x43cdf6;typeof _0x13e351>'u'||(this[_0x780d15(0x1dd)]=_0x13e351,_0x13e351?(this[_0x780d15(0x3bc)](_0x13e351),this[_0x780d15(0x1e8)]=_0x13e351[_0x780d15(0x592)][_0x780d15(0x27a)](_0xcb6f29=>{const _0x897970=_0x780d15;_0xcb6f29[_0x897970(0x4a3)]===this[_0x897970(0x316)]&&this['_onCombEvent'](_0xcb6f29);})):(this[_0x780d15(0x20a)](),this[_0x780d15(0x2a9)][_0x780d15(0x3f5)](0x2),(_0x43cdf6=this[_0x780d15(0x1e8)])==null||_0x43cdf6[_0x780d15(0x4bb)](),this[_0x780d15(0x1e8)]=null));}),this[_0x5400c2(0x324)](this[_0x5400c2(0x2eb)][_0x5400c2(0x53a)](()=>{const _0x3dad66=_0x5400c2;var _0x3c5a82;(_0x3c5a82=this[_0x3dad66(0x1dd)])==null||_0x3c5a82[_0x3dad66(0x446)]({'cmd':W[_0x3dad66(0x284)],'data':{'roomID':this[_0x3dad66(0x316)]}});})));}get[_0x3f2ec9(0x237)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){const _0x4faba8=_0x3f2ec9;var _0x29b718,_0x2672ad;return(_0x2672ad=(_0x29b718=this[_0x4faba8(0x1dd)])==null?void 0x0:_0x29b718[_0x4faba8(0x3b6)])!=null?_0x2672ad:null;}[_0x3f2ec9(0x385)](){const _0x43323b=_0x3f2ec9;super[_0x43323b(0x385)](),this['dispose$'][_0x43323b(0x3f5)](),this['dispose$'][_0x43323b(0x492)]();}['close'](){const _0x5bcb00=_0x3f2ec9;var _0x4c7062,_0x2bbad8;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4c7062=this['_socket'])==null||_0x4c7062[_0x5bcb00(0x446)]({'cmd':W[_0x5bcb00(0x284)],'data':{'roomID':this['_unitID']}}),(_0x2bbad8=this[_0x5bcb00(0x1dd)])==null||_0x2bbad8[_0x5bcb00(0x2c3)](),this[_0x5bcb00(0x219)]['complete'](),this[_0x5bcb00(0x2a9)][_0x5bcb00(0x492)](),this['dispose']();}[_0x3f2ec9(0x24f)](_0x446468){const _0x235a74=_0x3f2ec9;_0x446468[_0x235a74(0x1e2)]===W[_0x235a74(0x27d)]?this[_0x235a74(0x360)](_0x446468):_0x446468[_0x235a74(0x1e2)]===W[_0x235a74(0x2cc)]&&this[_0x235a74(0x50b)](_0x446468);}[_0x3f2ec9(0x3bc)](_0x506694){const _0x2fd023=_0x3f2ec9;this[_0x2fd023(0x2a9)][_0x2fd023(0x3f5)](0x1),_0x506694[_0x2fd023(0x446)]({'cmd':W[_0x2fd023(0x27d)],'routeKey':this[_0x2fd023(0x316)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2fd023(0x316)]}]}});}[_0x3f2ec9(0x360)](_0x23322d){const _0x7af484=_0x3f2ec9;var _0x1a3421;if(_0x23322d[_0x7af484(0x366)]===Is['FAIL']){this['_messageService'][_0x7af484(0x59d)]({'type':_0x196a0e['Warning'],'content':this['_localeService']['t'](_0x7af484(0x2de))}),this[_0x7af484(0x2a9)][_0x7af484(0x3f5)](0x2);return;}this['_sessionStatus$'][_0x7af484(0x3f5)](0x3);const _0x529316=(_0x1a3421=_0x23322d[_0x7af484(0x399)]['roomInfos'][this[_0x7af484(0x316)]])==null?void 0x0:_0x1a3421['members'];_0x529316&&_0x529316[_0x7af484(0x346)](_0x3e55ca=>this[_0x7af484(0x444)][_0x7af484(0x3ab)](this[_0x7af484(0x316)],_0x3e55ca));}[_0x3f2ec9(0x50b)](_0x44f476){const _0x3eeb29=_0x3f2ec9;try{const _0x5346a1=_0x44f476['data'];switch(_0x5346a1['eventID']){case _0x371f1e['USERS_ENTER']:this[_0x3eeb29(0x294)](_0x5346a1),this[_0x3eeb29(0x219)][_0x3eeb29(0x3f5)](_0x5346a1);break;case _0x371f1e[_0x3eeb29(0x5d0)]:this['_onUserLeave'](_0x5346a1),this[_0x3eeb29(0x219)][_0x3eeb29(0x3f5)](_0x5346a1);break;case _0x371f1e[_0x3eeb29(0x254)]:case _0x371f1e['CHANGESET_SHOULD_RETRY']:this[_0x3eeb29(0x546)](),this[_0x3eeb29(0x307)](),this[_0x3eeb29(0x219)][_0x3eeb29(0x3f5)](_0x5346a1);break;case _0x371f1e['MSG_FOR_ERROR']:this[_0x3eeb29(0x42f)][_0x3eeb29(0x3b5)](_0x3eeb29(0x4c0)+JSON[_0x3eeb29(0x5a1)](_0x5346a1)),this[_0x3eeb29(0x219)]['next'](_0x5346a1);break;case _0x371f1e[_0x3eeb29(0x28f)]:this['_commentService'][_0x3eeb29(0x419)](_0x5346a1[_0x3eeb29(0x399)]),this[_0x3eeb29(0x219)][_0x3eeb29(0x3f5)](_0x5346a1);break;default:this[_0x3eeb29(0x219)][_0x3eeb29(0x3f5)](_0x5346a1);}}catch(_0x4e9018){this[_0x3eeb29(0x42f)][_0x3eeb29(0x3b5)](_0x4e9018,_0x44f476);}}[_0x3f2ec9(0x294)](_0x129ad2){const _0x2f2b6a=_0x3f2ec9;this[_0x2f2b6a(0x444)][_0x2f2b6a(0x3ab)](this[_0x2f2b6a(0x316)],_0x129ad2[_0x2f2b6a(0x399)]);}[_0x3f2ec9(0x26c)](_0x366511){const _0xb6a86d=_0x3f2ec9;this['_memberService'][_0xb6a86d(0x2ea)](this[_0xb6a86d(0x316)],_0x366511[_0xb6a86d(0x399)][_0xb6a86d(0x3b6)]);}async[_0x3f2ec9(0x446)](_0x2a6df8,_0xa6f6c4){const _0x789d76=_0x3f2ec9;if(this['sessionStatus']!==0x3||!this[_0x789d76(0x1dd)])throw new Error(_0x789d76(0x218));try{_0x2a6df8[_0x789d76(0x56b)]===_0x371f1e[_0x789d76(0x39e)]&&(this[_0x789d76(0x36c)](),this[_0x789d76(0x511)](_0x2a6df8)),this[_0x789d76(0x1dd)][_0x789d76(0x446)]({'cmd':W[_0x789d76(0x2a8)],'routeKey':_0xa6f6c4,'routeType':'','data':_0x2a6df8});}catch(_0x13e9d6){this['_logService'][_0x789d76(0x3b5)](_0x13e9d6);}}[_0x3f2ec9(0x36c)](){const _0x1af6d9=_0x3f2ec9;var _0x3ec938;this[_0x1af6d9(0x441)]=window[_0x1af6d9(0x222)](()=>{const _0x5e3ce3=_0x1af6d9;this[_0x5e3ce3(0x441)]=null,this[_0x5e3ce3(0x2b6)][_0x5e3ce3(0x59d)]({'type':_0x196a0e['Error'],'content':this[_0x5e3ce3(0x311)]['t'](_0x5e3ce3(0x38b))});},(_0x3ec938=this[_0x1af6d9(0x5b4)]['getConfig'](bi))!=null?_0x3ec938:Ti);}[_0x3f2ec9(0x307)](){const _0x3578a9=_0x3f2ec9;this[_0x3578a9(0x441)]&&(clearTimeout(this[_0x3578a9(0x441)]),this[_0x3578a9(0x441)]=null);}[_0x3f2ec9(0x511)](_0x6542f8){const _0xe587eb=_0x3f2ec9;if(!this[_0xe587eb(0x52c)])return;const {data:_0x3e2294}=_0x6542f8,{unitID:_0x278ea9,changeset:_0x46c422}=_0x3e2294,{mutations:_0xc9fa83,type:_0x16f8ef}=_0x46c422;this[_0xe587eb(0x4f0)]={'unitId':_0x278ea9,'type':_0x16f8ef,'startTime':performance[_0xe587eb(0x54e)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0xc9fa83)};}[_0x3f2ec9(0x546)](){const _0x52a233=_0x3f2ec9;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x52a233(0x42f)][_0x52a233(0x3b5)](_0x52a233(0x523),_0x52a233(0x232));return;}this['_telemetryInfo']['stopTime']=performance[_0x52a233(0x54e)](),this[_0x52a233(0x4f0)][_0x52a233(0x287)]=this['_telemetryInfo'][_0x52a233(0x430)]-this['_telemetryInfo'][_0x52a233(0x29a)],this[_0x52a233(0x2aa)]['capture'](Nr,this[_0x52a233(0x4f0)]),this[_0x52a233(0x4f0)]=null;}}[_0x3f2ec9(0x20a)](){const _0x2aeed7=_0x3f2ec9;this[_0x2aeed7(0x4f0)]=null;}};ts=Br([Ee(0x2,_0x2a6a1c),Ee(0x3,_0x42b0b0),Ee(0x4,_0x79bb7b),Ee(0x5,_0x5293d7),Ee(0x6,_0x127ed5(_0x4d6b84)),Ee(0x7,_0x127ed5(Ne)),Ee(0x8,_0x127ed5(wi)),Ee(0x9,_0x5c4d06(_0x5a864f))],ts);var kr=Object['defineProperty'],Wr=Object[_0x3f2ec9(0x318)],Fr=(_0xb88769,_0x114966,_0x1e61a8,_0x2acc05)=>{for(var _0x23c3f9=_0x2acc05>0x1?void 0x0:_0x2acc05?Wr(_0x114966,_0x1e61a8):_0x114966,_0x1a81c1=_0xb88769['length']-0x1,_0x40b85f;_0x1a81c1>=0x0;_0x1a81c1--)(_0x40b85f=_0xb88769[_0x1a81c1])&&(_0x23c3f9=(_0x2acc05?_0x40b85f(_0x114966,_0x1e61a8,_0x23c3f9):_0x40b85f(_0x23c3f9))||_0x23c3f9);return _0x2acc05&&_0x23c3f9&&kr(_0x114966,_0x1e61a8,_0x23c3f9),_0x23c3f9;},je=(_0x4fc008,_0x13005f)=>(_0x26072b,_0x1657b1)=>_0x13005f(_0x26072b,_0x1657b1,_0x4fc008);let Ae=class extends _0x4bee31{constructor(_0x198ef8,_0x420020,_0x612c6e,_0x25351e,_0x2fa9b5,_0x4b0c58){const _0x2526a1=_0x3f2ec9;super(),g(this,_0x2526a1(0x4a5),new _0x286de7(void 0x0)),g(this,'socket$',this[_0x2526a1(0x4a5)][_0x2526a1(0x5d2)]()),g(this,_0x2526a1(0x4a9),null),g(this,_0x2526a1(0x230),new Map()),g(this,_0x2526a1(0x1e5),new _0x286de7(ve[_0x2526a1(0x436)])),g(this,_0x2526a1(0x23d),this[_0x2526a1(0x1e5)][_0x2526a1(0x5d2)]()),g(this,_0x2526a1(0x4c5),!0x1),g(this,_0x2526a1(0x3aa)),g(this,_0x2526a1(0x484),0x0),g(this,'_sendHeartbeatTimer'),g(this,'_timeoutTimer'),(this[_0x2526a1(0x469)]=_0x198ef8,this[_0x2526a1(0x311)]=_0x420020,this[_0x2526a1(0x2b6)]=_0x612c6e,this[_0x2526a1(0x42f)]=_0x25351e,this[_0x2526a1(0x5b4)]=_0x2fa9b5,this['_socketService']=_0x4b0c58,this['_initEventListeners']());}get['_socket'](){const _0xef5d1b=_0x3f2ec9;return this['_socket$'][_0xef5d1b(0x31b)]();}['_initEventListeners'](){const _0x190555=_0x3f2ec9;this[_0x190555(0x231)](),this[_0x190555(0x566)]();}[_0x3f2ec9(0x385)](){const _0x1ee9e3=_0x3f2ec9;super[_0x1ee9e3(0x385)](),this['_sessions'][_0x1ee9e3(0x346)](_0x3224b3=>_0x3224b3['dispose']()),this[_0x1ee9e3(0x230)][_0x1ee9e3(0x367)](),this[_0x1ee9e3(0x1e5)]['complete']();}async[_0x3f2ec9(0x58e)](_0x5bde7c){const _0x12cb57=_0x3f2ec9;if(this['_sessions']['has'](_0x5bde7c))return this[_0x12cb57(0x230)]['get'](_0x5bde7c);this[_0x12cb57(0x256)]();const _0x40e141=this[_0x12cb57(0x469)]['createInstance'](ts,_0x5bde7c,this[_0x12cb57(0x4a5)][_0x12cb57(0x5d2)]());return this[_0x12cb57(0x230)][_0x12cb57(0x250)](_0x5bde7c,_0x40e141),_0x40e141;}[_0x3f2ec9(0x370)](_0x56e546){const _0x1c6ee8=_0x3f2ec9;var _0x1cc976;const _0x36195b=this[_0x1c6ee8(0x230)][_0x1c6ee8(0x333)](_0x56e546);_0x36195b&&(this[_0x1c6ee8(0x230)][_0x1c6ee8(0x1c4)](_0x56e546),_0x36195b['close']()),this['_sessions']['size']||(_0x1cc976=this['_socket'])==null||_0x1cc976[_0x1c6ee8(0x2c3)]();}[_0x3f2ec9(0x519)](){const _0x287471=_0x3f2ec9;this[_0x287471(0x484)]=0x0,this[_0x287471(0x3aa)]!=null&&(clearTimeout(this[_0x287471(0x3aa)]),this[_0x287471(0x3aa)]=null),this['_tryReconnect']();}[_0x3f2ec9(0x3c5)](){const _0x4e092a=_0x3f2ec9;var _0x5c169c,_0x204279;const _0x3711a5=this[_0x4e092a(0x5b4)][_0x4e092a(0x4d2)](ur),_0x58faee=this[_0x4e092a(0x5b4)][_0x4e092a(0x4d2)](ie),_0x1a51f9=(_0x204279=(_0x5c169c=_0x58faee==null?void 0x0:_0x58faee[_0x4e092a(0x413)])!=null?_0x5c169c:_0x3711a5)!=null?_0x204279:dr,_0xcea616=this[_0x4e092a(0x2d3)]['createSocket'](_0x1a51f9);return this['_candidateSocket']=_0xcea616,_0xcea616;}['_tryEnsureSocket'](){const _0x4e51c9=_0x3f2ec9;var _0x2244f1,_0x1a2b1d;try{const _0x24af18=(_0x1a2b1d=(_0x2244f1=this[_0x4e51c9(0x1dd)])!=null?_0x2244f1:this[_0x4e51c9(0x4a9)])!=null?_0x1a2b1d:this[_0x4e51c9(0x3c5)]();if(_0x24af18){const _0xff2075=_0x24af18[_0x4e51c9(0x446)];_0x24af18[_0x4e51c9(0x446)]=_0xba118a=>(this[_0x4e51c9(0x30b)](),_0xff2075[_0x4e51c9(0x437)](_0x24af18,[_0xba118a])),_0x24af18[_0x4e51c9(0x592)][_0x4e51c9(0x27a)](_0x4df359=>this[_0x4e51c9(0x5cc)](_0x24af18,_0x4df359)),_0x24af18['error$'][_0x4e51c9(0x3c4)](_0xe36e8c(0x1))[_0x4e51c9(0x27a)](_0x5dc4e3=>this['_logService'][_0x4e51c9(0x3b5)]('[CollaborationSessionService]:\x20socket\x20error',_0x5dc4e3)),_0x24af18[_0x4e51c9(0x5c1)]['pipe'](_0xe36e8c(0x1))[_0x4e51c9(0x27a)](()=>{const _0x94cba7=_0x4e51c9;this[_0x94cba7(0x4e3)](_0x24af18);}),_0x24af18['close$'][_0x4e51c9(0x3c4)](_0xe36e8c(0x1))[_0x4e51c9(0x27a)](_0x49c9e5=>{const _0x531684=_0x4e51c9;this[_0x531684(0x42f)][_0x531684(0x59b)](_0x531684(0x537),_0x531684(0x558),_0x49c9e5),this[_0x531684(0x200)]();});}}catch(_0x1514eb){this[_0x4e51c9(0x42f)][_0x4e51c9(0x3b5)](_0x1514eb),this['_onConnectionFailed']();}}[_0x3f2ec9(0x4e3)](_0x55d8b8){const _0x419ed2=_0x3f2ec9;this[_0x419ed2(0x42f)][_0x419ed2(0x59b)](_0x419ed2(0x537),'socket\x20open.'),_0x55d8b8['send']({'cmd':W[_0x419ed2(0x345)]}),this['_rescheduleHeartbeat']();}[_0x3f2ec9(0x231)](){const _0x4be94c=_0x3f2ec9;window[_0x4be94c(0x337)](_0x4be94c(0x37f),()=>this[_0x4be94c(0x285)]());}['_onOffline'](){const _0x38e735=_0x3f2ec9;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x38e735(0x3f5)](ve[_0x38e735(0x377)]),this['_socket$'][_0x38e735(0x3f5)](null),this[_0x38e735(0x5b6)](),this[_0x38e735(0x491)]();}[_0x3f2ec9(0x200)](){const _0x317f2f=_0x3f2ec9;var _0x115637;this[_0x317f2f(0x285)](),this[_0x317f2f(0x484)]<((_0x115637=this[_0x317f2f(0x5b4)][_0x317f2f(0x4d2)](pr))!=null?_0x115637:gr)?(this[_0x317f2f(0x2b6)]['show']({'key':_0x317f2f(0x4d0),'type':_0x196a0e[_0x317f2f(0x5d3)],'content':this['_localeService']['t'](_0x317f2f(0x44a))}),this[_0x317f2f(0x2a3)]()):this[_0x317f2f(0x2b6)]['show']({'key':_0x317f2f(0x4d0),'type':_0x196a0e[_0x317f2f(0x2be)],'content':this['_localeService']['t'](_0x317f2f(0x2bc))});}['_listenToOnlineEvent'](){const _0x3aa032=_0x3f2ec9,_0x3b31fa=()=>{const _0x1b04a2=_0x1414;this[_0x1b04a2(0x1dd)]||this[_0x1b04a2(0x519)]();},_0x3cdcb0=()=>{const _0x375920=_0x1414;this[_0x375920(0x1dd)]||document[_0x375920(0x31c)]===_0x375920(0x20c)||this[_0x375920(0x519)]();};window[_0x3aa032(0x337)]('online',_0x3b31fa),document['addEventListener']('visibilitychange',_0x3cdcb0);}[_0x3f2ec9(0x2a3)](){const _0x27f421=_0x3f2ec9;var _0x3fe930;const _0x1fd40e=this[_0x27f421(0x484)],_0x2584dd=this['_configService'][_0x27f421(0x4d2)](ie),_0x181e92=_0x1fd40e===0x0?0x0:((_0x3fe930=_0x2584dd==null?void 0x0:_0x2584dd[_0x27f421(0x1f7)])!=null?_0x3fe930:mr)*0x2**_0x1fd40e;this[_0x27f421(0x3aa)]=window[_0x27f421(0x222)](()=>{const _0x390bfe=_0x27f421;clearTimeout(this[_0x390bfe(0x3aa)]),this[_0x390bfe(0x3aa)]=null,this[_0x390bfe(0x256)]();},_0x181e92),this['_retryCount']+=0x1;}[_0x3f2ec9(0x5cc)](_0x37ac82,_0x3a9759){const _0x50ca79=_0x3f2ec9,{cmd:_0x7d2255}=_0x3a9759;_0x7d2255===W['HELLO']&&!this['_socketReady']&&(_0x37ac82[_0x50ca79(0x3b6)]=_0x3a9759[_0x50ca79(0x399)]['memberID'],this[_0x50ca79(0x4a5)]['next'](_0x37ac82),this['_status$']['next'](ve[_0x50ca79(0x34a)]),this[_0x50ca79(0x4c5)]=!0x0,this[_0x50ca79(0x4a9)]=null),_0x7d2255===W['HEARTBEAT']&&this[_0x50ca79(0x5b6)](),this[_0x50ca79(0x30b)]();}[_0x3f2ec9(0x30b)](){const _0x3b6544=_0x3f2ec9;var _0x466b73;this['_clearHeartbeatTimer'](),this[_0x3b6544(0x315)]=window[_0x3b6544(0x222)](()=>this['_sendHeartbeat'](),(_0x466b73=this[_0x3b6544(0x5b4)][_0x3b6544(0x4d2)](fr))!=null?_0x466b73:vr);}[_0x3f2ec9(0x58a)](){const _0x3b1250=_0x3f2ec9;this[_0x3b1250(0x1dd)][_0x3b1250(0x446)]({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x3f2ec9(0x52f)](){const _0x3d182e=_0x3f2ec9;var _0x593273;this[_0x3d182e(0x1d0)]=window[_0x3d182e(0x222)](()=>this['_onConnectionFailed'](),(_0x593273=this['_configService'][_0x3d182e(0x4d2)](bi))!=null?_0x593273:Ti);}[_0x3f2ec9(0x491)](){const _0x26f350=_0x3f2ec9;this[_0x26f350(0x315)]!=null&&(clearTimeout(this[_0x26f350(0x315)]),this['_sendHeartbeatTimer']=null);}[_0x3f2ec9(0x5b6)](){const _0x3d5866=_0x3f2ec9;this[_0x3d5866(0x1d0)]!=null&&(clearTimeout(this[_0x3d5866(0x1d0)]),this[_0x3d5866(0x1d0)]=null);}};Ae=Fr([je(0x0,_0x127ed5(_0x846a04)),je(0x1,_0x127ed5(_0x4d6b84)),je(0x2,_0x79bb7b),je(0x3,_0x2a6a1c),je(0x4,_0x5293d7),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x3f2ec9(0x496)]((i+0x100)['toString'](0x10)[_0x3f2ec9(0x43e)](0x1));function Vr(_0x36ad45,_0x493f8a=0x0){const _0x132460=_0x3f2ec9;return(Y[_0x36ad45[_0x493f8a+0x0]]+Y[_0x36ad45[_0x493f8a+0x1]]+Y[_0x36ad45[_0x493f8a+0x2]]+Y[_0x36ad45[_0x493f8a+0x3]]+'-'+Y[_0x36ad45[_0x493f8a+0x4]]+Y[_0x36ad45[_0x493f8a+0x5]]+'-'+Y[_0x36ad45[_0x493f8a+0x6]]+Y[_0x36ad45[_0x493f8a+0x7]]+'-'+Y[_0x36ad45[_0x493f8a+0x8]]+Y[_0x36ad45[_0x493f8a+0x9]]+'-'+Y[_0x36ad45[_0x493f8a+0xa]]+Y[_0x36ad45[_0x493f8a+0xb]]+Y[_0x36ad45[_0x493f8a+0xc]]+Y[_0x36ad45[_0x493f8a+0xd]]+Y[_0x36ad45[_0x493f8a+0xe]]+Y[_0x36ad45[_0x493f8a+0xf]])[_0x132460(0x344)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x305431=_0x3f2ec9;if(!Nt){if(typeof crypto>'u'||!crypto[_0x305431(0x50f)])throw new Error(_0x305431(0x2b2));Nt=crypto[_0x305431(0x50f)][_0x305431(0x5d9)](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x3f2ec9(0x5d9)](crypto),js={'randomUUID':Kr};function zr(_0x29b1fe,_0x30cef6,_0x1b6928){const _0x341191=_0x3f2ec9;if(js[_0x341191(0x41c)]&&!_0x30cef6&&!_0x29b1fe)return js['randomUUID']();_0x29b1fe=_0x29b1fe||{};const _0x53726c=_0x29b1fe[_0x341191(0x35b)]||(_0x29b1fe[_0x341191(0x3e3)]||Yr)();return _0x53726c[0x6]=_0x53726c[0x6]&0xf|0x40,_0x53726c[0x8]=_0x53726c[0x8]&0x3f|0x80,Vr(_0x53726c);}var qr=Object[_0x3f2ec9(0x323)],Xr=Object[_0x3f2ec9(0x318)],Jr=(_0x39eb24,_0x88fd1,_0xac69f2,_0x3ca28a)=>{const _0x19e4a2=_0x3f2ec9;for(var _0x3876c9=_0x3ca28a>0x1?void 0x0:_0x3ca28a?Xr(_0x88fd1,_0xac69f2):_0x88fd1,_0x4dac9c=_0x39eb24[_0x19e4a2(0x3a7)]-0x1,_0x40bafd;_0x4dac9c>=0x0;_0x4dac9c--)(_0x40bafd=_0x39eb24[_0x4dac9c])&&(_0x3876c9=(_0x3ca28a?_0x40bafd(_0x88fd1,_0xac69f2,_0x3876c9):_0x40bafd(_0x3876c9))||_0x3876c9);return _0x3ca28a&&_0x3876c9&&qr(_0x88fd1,_0xac69f2,_0x3876c9),_0x3876c9;},At=(_0x40f4a6,_0x4948aa)=>(_0x4a79fe,_0x134c30)=>_0x4948aa(_0x4a79fe,_0x134c30,_0x40f4a6);let ft=class{constructor(_0x5bba00,_0x25cd26,_0x1a47c4){const _0x4ff41b=_0x3f2ec9;this[_0x4ff41b(0x469)]=_0x5bba00,this[_0x4ff41b(0x251)]=_0x25cd26,this[_0x4ff41b(0x4b9)]=_0x1a47c4;}['transformIMECache'](_0x4536a1){const _0x6f6541=_0x3f2ec9;this[_0x6f6541(0x2f5)](_0x4536a1),this[_0x6f6541(0x3ee)](_0x4536a1);}[_0x3f2ec9(0x281)](_0x21fef0){const _0x5dd799=_0x3f2ec9,{unitID:_0x50d379}=_0x21fef0,_0xc324bb=this[_0x5dd799(0x4b9)]['getRenderById'](_0x50d379)[_0x5dd799(0x2af)](_0x467f19),{redoCache:_0x4c663c}=_0xc324bb[_0x5dd799(0x588)]();if(_0x4c663c[_0x5dd799(0x3a7)]===0x0)return _0x21fef0;let _0x47c22d=_0x109dec['deepClone'](_0x21fef0[_0x5dd799(0x3e6)][0x0]);for(let _0x238172=0x0;_0x238172<_0x4c663c['length'];_0x238172++){const _0x29e29f={'id':_0x5dd799(0x1f0),'params':{..._0x4c663c[_0x238172]}},_0x5b40b1=this[_0x5dd799(0x251)][_0x5dd799(0x401)](_0x47c22d,_0x29e29f,!0x1);if(_0x1d55d1(_0x5b40b1))throw _0x5b40b1[_0x5dd799(0x3b5)];_0x47c22d=_0x5b40b1[_0x5dd799(0x37e)];}return{..._0x109dec['deepClone'](_0x21fef0),'mutations':[_0x47c22d]};}[_0x3f2ec9(0x2f5)](_0x408769){const _0x3f6c62=_0x3f2ec9,{unitID:_0x4bf3f7}=_0x408769,_0x3303d7=this[_0x3f6c62(0x4b9)][_0x3f6c62(0x3f4)](_0x4bf3f7)[_0x3f6c62(0x2af)](_0x467f19),{undoCache:_0x40ddc5,redoCache:_0x21307d}=_0x3303d7[_0x3f6c62(0x588)]();if(_0x40ddc5[_0x3f6c62(0x3a7)]===0x0||_0x21307d['length']===0x0)return;const _0x3035f4=[],_0x207a02=[];let _0x32c141=_0x109dec[_0x3f6c62(0x3ff)](_0x408769[_0x3f6c62(0x3e6)][0x0]),_0x53e033=_0x109dec[_0x3f6c62(0x3ff)](_0x408769['mutations'][0x0]);for(let _0x470e8b=_0x40ddc5['length']-0x1;_0x470e8b>=0x0;_0x470e8b--){const _0x5677f2={'id':_0x3f6c62(0x1f0),'params':{..._0x40ddc5[_0x470e8b]}},_0xd1057a={'id':_0x3f6c62(0x1f0),'params':{..._0x21307d[_0x470e8b]}},_0x512ef6=this[_0x3f6c62(0x251)][_0x3f6c62(0x401)](_0x32c141,_0x5677f2,!0x1),_0x362f64=this[_0x3f6c62(0x251)][_0x3f6c62(0x401)](_0x53e033,_0xd1057a,!0x1);if(_0x1d55d1(_0x512ef6))throw _0x512ef6['error'];if(_0x1d55d1(_0x362f64))throw _0x362f64['error'];_0x3035f4[_0x3f6c62(0x4f2)](_0x512ef6[_0x3f6c62(0x38c)][_0x3f6c62(0x562)]),_0x207a02[_0x3f6c62(0x4f2)](_0x362f64[_0x3f6c62(0x38c)]['params']),_0x32c141=_0x512ef6['m1Prime'],_0x53e033=_0x362f64[_0x3f6c62(0x37e)];}_0x3303d7[_0x3f6c62(0x4a6)]({'undoCache':_0x3035f4,'redoCache':_0x207a02});}[_0x3f2ec9(0x3ee)](_0x268643){const _0x33c34c=_0x3f2ec9,{unitID:_0x216a5e}=_0x268643,_0x5a4c68=this[_0x33c34c(0x4b9)]['getRenderById'](_0x216a5e)[_0x33c34c(0x2af)](_0x467f19),_0x262ad1=_0x5a4c68[_0x33c34c(0x595)]();if(_0x262ad1==null)return;const _0x473488=[{'id':_0x33c34c(0x1f0),'params':{'unitId':_0x268643[_0x33c34c(0x350)],'actions':null,'textRanges':[_0x262ad1]}}],_0x48bb29=this['_transformService'][_0x33c34c(0x336)](_0x268643,_0x473488);if(!_0x678508(_0x48bb29))throw _0x48bb29[_0x33c34c(0x3b5)];const _0x1f2311=_0x48bb29['m2Prime'][0x0]['params']['textRanges'];Array[_0x33c34c(0x3a5)](_0x1f2311)&&_0x1f2311['length']&&_0x5a4c68[_0x33c34c(0x1cd)](_0x1f2311[0x0]);}};ft=Jr([At(0x0,_0x127ed5(_0x846a04)),At(0x1,_0x1ba0e0),At(0x2,_0x249704)],ft);var Zr=Object['defineProperty'],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x1637d2,_0x30def2,_0x265802,_0x1d6d5d)=>{const _0x1f26fd=_0x3f2ec9;for(var _0x455e03=_0x1d6d5d>0x1?void 0x0:_0x1d6d5d?Qr(_0x30def2,_0x265802):_0x30def2,_0x41e6a4=_0x1637d2[_0x1f26fd(0x3a7)]-0x1,_0x5d32e4;_0x41e6a4>=0x0;_0x41e6a4--)(_0x5d32e4=_0x1637d2[_0x41e6a4])&&(_0x455e03=(_0x1d6d5d?_0x5d32e4(_0x30def2,_0x265802,_0x455e03):_0x5d32e4(_0x455e03))||_0x455e03);return _0x1d6d5d&&_0x455e03&&Zr(_0x30def2,_0x265802,_0x455e03),_0x455e03;},Xe=(_0x529114,_0x19f52a)=>(_0x46fcc1,_0x4247a5)=>_0x19f52a(_0x46fcc1,_0x4247a5,_0x529114);let q=class extends _0x4bee31{constructor(_0x568118,_0x13f8c0,_0x39ee78,_0x428a31,_0x11ab39){const _0x5e23b9=_0x3f2ec9;super(),g(this,_0x5e23b9(0x225),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x5e23b9(0x270),!0x1),(this[_0x5e23b9(0x5b4)]=_0x568118,this[_0x5e23b9(0x433)]=_0x13f8c0,this[_0x5e23b9(0x2eb)]=_0x39ee78,this['_localeService']=_0x428a31,this[_0x5e23b9(0x2f8)]=_0x11ab39,this[_0x5e23b9(0x5ad)]());}[_0x3f2ec9(0x35f)](){const _0x37f1d5=_0x3f2ec9;this[_0x37f1d5(0x270)]=!0x0;}[_0x3f2ec9(0x514)](){const _0x20c8b1=_0x3f2ec9;this[_0x20c8b1(0x270)]=!0x1;}[_0x3f2ec9(0x385)](){const _0x419558=_0x3f2ec9;this[_0x419558(0x55f)]()[_0x419558(0x33f)](()=>super[_0x419558(0x385)]());}async['loadOfflineData'](_0x5ea4d0){const _0x4d7199=_0x3f2ec9;return this[_0x4d7199(0x270)]?null:this[_0x4d7199(0x433)][_0x4d7199(0x5ac)](Bs(_0x5ea4d0));}async[_0x3f2ec9(0x4e1)](_0x50fcac,_0x498627){const _0x1d7df8=_0x3f2ec9;return!!this[_0x1d7df8(0x433)]['setItem'](_0x50fcac,_0x498627);}[_0x3f2ec9(0x368)](_0xed5f52,_0x51a158,_0x949b95,_0xc314ac){const _0x2b77d8=_0x3f2ec9,_0xe6e592=this['_revisionService'][_0x2b77d8(0x51a)](_0xed5f52);this[_0x2b77d8(0x225)][_0x2b77d8(0x250)](_0xed5f52,{'unitID':_0xed5f52,'type':_0x51a158,'awaitingChangeset':_0x949b95,'mutations':_0xc314ac,'rev':_0xe6e592}),this[_0x2b77d8(0x2f9)][_0x2b77d8(0x25f)](_0xed5f52)||this['_scheduleSaving'](_0xed5f52);}[_0x3f2ec9(0x5aa)](_0x5b4f27){const _0x1dc248=_0x3f2ec9,_0x458185=this[_0x1dc248(0x386)]();_0x458185===0x0?this[_0x1dc248(0x3d4)](_0x5b4f27):this[_0x1dc248(0x2f9)][_0x1dc248(0x250)](_0x5b4f27,setTimeout(()=>this[_0x1dc248(0x3d4)](_0x5b4f27),_0x458185));}['_getSaveTimeout'](){const _0x3e56b0=_0x3f2ec9;var _0x55310a;return(_0x55310a=this[_0x3e56b0(0x5b4)][_0x3e56b0(0x4d2)](Sr))!=null?_0x55310a:Ir;}[_0x3f2ec9(0x3d4)](_0x232901){const _0x4134a3=_0x3f2ec9,_0x1bf4e5=this[_0x4134a3(0x2f9)]['get'](_0x232901);return _0x1bf4e5!==void 0x0&&window['clearTimeout'](_0x1bf4e5),this['_localStorageService'][_0x4134a3(0x34c)](Bs(_0x232901),this[_0x4134a3(0x225)][_0x4134a3(0x333)](_0x232901))[_0x4134a3(0x33f)](()=>this[_0x4134a3(0x2f9)]['delete'](_0x232901));}async[_0x3f2ec9(0x55f)](){const _0x2ee166=_0x3f2ec9,_0x52b90c=[];this[_0x2ee166(0x2f9)][_0x2ee166(0x346)]((_0x1192d4,_0x1bc7de)=>{const _0x2ca45e=_0x2ee166;window[_0x2ca45e(0x46c)](_0x1192d4),_0x52b90c[_0x2ca45e(0x496)](this['_saveCache'](_0x1bc7de)['then'](()=>{const _0x114fed=_0x2ca45e;this[_0x114fed(0x2f9)][_0x114fed(0x1c4)](_0x1bc7de);}));}),await Promise[_0x2ee166(0x5ba)](_0x52b90c);}['_setupBeforeClosingHandler'](){const _0x4fda3e=_0x3f2ec9;this[_0x4fda3e(0x324)](this[_0x4fda3e(0x2eb)]['registerBeforeClose'](()=>{const _0x2743b1=_0x4fda3e;if(this[_0x2743b1(0x2f9)][_0x2743b1(0x258)])return this[_0x2743b1(0x311)]['t'](_0x2743b1(0x3b2));}));}};q=eo([Xe(0x0,_0x5293d7),Xe(0x1,_0x249ce2),Xe(0x2,_0x42b0b0),Xe(0x3,_0x127ed5(_0x4d6b84)),Xe(0x4,_0x127ed5(_0x5633d8))],q);function Bs(_0x4017e5){const _0x32362a=_0x3f2ec9;return _0x32362a(0x1bc)+_0x4017e5;}var to=Object['defineProperty'],so=Object[_0x3f2ec9(0x318)],io=(_0x4d1b52,_0x35fcd4,_0x9b5872,_0x1a67bc)=>{const _0x1c9a0f=_0x3f2ec9;for(var _0x4fc2c7=_0x1a67bc>0x1?void 0x0:_0x1a67bc?so(_0x35fcd4,_0x9b5872):_0x35fcd4,_0x5d0713=_0x4d1b52[_0x1c9a0f(0x3a7)]-0x1,_0x2866e8;_0x5d0713>=0x0;_0x5d0713--)(_0x2866e8=_0x4d1b52[_0x5d0713])&&(_0x4fc2c7=(_0x1a67bc?_0x2866e8(_0x35fcd4,_0x9b5872,_0x4fc2c7):_0x2866e8(_0x4fc2c7))||_0x4fc2c7);return _0x1a67bc&&_0x4fc2c7&&to(_0x35fcd4,_0x9b5872,_0x4fc2c7),_0x4fc2c7;},Mt=(_0x3c91ab,_0x5b8c33)=>(_0x26f197,_0x28cf23)=>_0x5b8c33(_0x26f197,_0x28cf23,_0x3c91ab);function no(_0x4f152f){const _0x213aaf=_0x3f2ec9,{unitID:_0x2c594b,mutations:_0xddaa3d}=_0x4f152f;return{'unitId':_0x2c594b,'subUnitId':_0xddaa3d[0x0][_0x213aaf(0x562)][_0x213aaf(0x411)]};}let vt=class{constructor(_0x3ff781,_0x7d8466,_0x33cf62){const _0x2745e6=_0x3f2ec9;this['_injector']=_0x3ff781,this[_0x2745e6(0x251)]=_0x7d8466,this[_0x2745e6(0x1f1)]=_0x33cf62;}['transformSelections'](_0x4be907){const _0xb44ae=_0x3f2ec9;var _0x212f32,_0x451895,_0x2323e0,_0x3a10e0;const _0x43f697=this[_0xb44ae(0x469)][_0xb44ae(0x333)](_0x3c5a27),{unitId:_0x7129ae,subUnitId:_0x52d260}=no(_0x4be907),_0x2a6030=_0x43f697['getWorkbookSelections'](_0x7129ae)[_0xb44ae(0x53b)](),_0x504e53=(_0x451895=(_0x212f32=this[_0xb44ae(0x1f1)][_0xb44ae(0x32d)](_0x7129ae))==null?void 0x0:_0x212f32[_0xb44ae(0x567)]())==null?void 0x0:_0x451895[_0xb44ae(0x3fa)]();if(_0x2a6030[_0xb44ae(0x3a7)]===0x0||!_0x7129ae||!_0x52d260)return;const _0x5725e9=[{'id':_0x57bc2c['id'],'params':{'unitId':_0x7129ae,'subUnitId':_0x504e53,'selections':_0x109dec['deepClone'](_0x2a6030)}}],_0x3c5928=this['_transformService'][_0xb44ae(0x336)](_0x4be907,_0x5725e9);if(!_0x678508(_0x3c5928))throw _0x3c5928[_0xb44ae(0x3b5)];const _0x294be8=(_0x3a10e0=(_0x2323e0=_0x3c5928[_0xb44ae(0x38c)][0x0])==null?void 0x0:_0x2323e0[_0xb44ae(0x562)])==null?void 0x0:_0x3a10e0[_0xb44ae(0x4ed)];if(Array['isArray'](_0x294be8)&&_0x294be8[_0xb44ae(0x3a7)]){if(_0x294be8['length']===_0x5725e9[0x0][_0xb44ae(0x562)][_0xb44ae(0x4ed)][_0xb44ae(0x3a7)]&&_0x294be8[_0xb44ae(0x4fe)]((_0xf67c30,_0x18a50c)=>_0x4460be['equals'](_0xf67c30[_0xb44ae(0x4eb)],_0x5725e9[0x0][_0xb44ae(0x562)]['selections'][_0x18a50c]['range'])))return;this[_0xb44ae(0x469)][_0xb44ae(0x333)](_0x49a021)[_0xb44ae(0x1d2)](_0x57bc2c['id'],{'unitId':_0x7129ae,'subUnitId':_0x504e53,'selections':_0x294be8});}}};vt=io([Mt(0x0,_0x127ed5(_0x846a04)),Mt(0x1,_0x1ba0e0),Mt(0x2,_0x4c4975)],vt);const Rt=_0x229333('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x14e143=>(_0x14e143[_0x14e143['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x14e143[_0x14e143[_0x3f2ec9(0x277)]=0x1]=_0x3f2ec9(0x277),_0x14e143))(Di||{});const ks=0x7530,Ws=_0x3f2ec9(0x35e);class ro extends _0x4bee31{constructor(){const _0x5f464a=_0x3f2ec9;super(),g(this,'_id',_0x109dec['generateRandomId']()),g(this,'_selfUnitIDs',new Set()),g(this,_0x5f464a(0x1c0),new Map()),g(this,_0x5f464a(0x21f),null),g(this,_0x5f464a(0x355),new Map()),g(this,_0x5f464a(0x4b3),new Map()),this[_0x5f464a(0x51f)]();}[_0x3f2ec9(0x385)](){const _0x3244d8=_0x3f2ec9;super[_0x3244d8(0x385)](),this['_clearOtherTimers'][_0x3244d8(0x346)]((_0xda5ddf,_0x5a518a)=>this[_0x3244d8(0x487)](_0x5a518a)),this[_0x3244d8(0x21f)]&&window[_0x3244d8(0x4f3)](this[_0x3244d8(0x21f)]);}[_0x3f2ec9(0x362)](_0x14462d){const _0x2f0203=_0x3f2ec9;return this[_0x2f0203(0x4ad)](_0x14462d)['pipe'](_0x585caa());}['editingUnit'](_0x72a507){const _0x1cecf1=_0x3f2ec9;this[_0x1cecf1(0x1e9)][_0x1cecf1(0x258)]===0x0&&this[_0x1cecf1(0x5be)](),this['_selfUnitIDs']['add'](_0x72a507),this[_0x1cecf1(0x569)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x72a507],'isForwarded':!0x1});}[_0x3f2ec9(0x36d)](_0x1f0fd0){const _0x3ad9d6=_0x3f2ec9;this[_0x3ad9d6(0x1e9)][_0x3ad9d6(0x1c4)](_0x1f0fd0),this['_selfUnitIDs'][_0x3ad9d6(0x258)]===0x0&&this[_0x3ad9d6(0x21f)]&&window['clearInterval'](this[_0x3ad9d6(0x21f)]);}[_0x3f2ec9(0x51f)](){const _0x1a9619=_0x3f2ec9;this[_0x1a9619(0x324)](_0x5d23c9(_0x61e8c9(window,'storage')[_0x1a9619(0x27a)](_0x3336e4=>{const _0x2cdb2e=_0x1a9619;if(_0x3336e4[_0x2cdb2e(0x425)]!==Ws||!_0x3336e4['newValue'])return;const _0x332428=JSON[_0x2cdb2e(0x224)](_0x3336e4[_0x2cdb2e(0x328)]);this[_0x2cdb2e(0x275)](_0x332428);}))),window[_0x1a9619(0x337)](_0x1a9619(0x365),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1a9619(0x424)](this[_0x1a9619(0x1e9)])}));}[_0x3f2ec9(0x275)](_0x2c4668){const _0x281a94=_0x3f2ec9;switch(_0x2c4668['type']){case 0x0:this[_0x281a94(0x44f)](_0x2c4668);break;case 0x1:this[_0x281a94(0x24a)](_0x2c4668);break;case 0x2:this[_0x281a94(0x59a)](_0x2c4668);break;}}[_0x3f2ec9(0x44f)](_0x557f99){const _0x57e560=_0x3f2ec9,{unitIDs:_0x5aa7c0,memberID:_0x2fc82e,isForwarded:_0x1b82be}=_0x557f99;_0x5aa7c0[_0x57e560(0x346)](_0x539225=>{const _0x48f2e4=_0x57e560;if(!_0x1b82be&&this['_unitOnClients']['has'](_0x539225)&&this[_0x48f2e4(0x4ad)](_0x539225)['next'](0x1),!this['_unitOnClients'][_0x48f2e4(0x25f)](_0x539225)||!this[_0x48f2e4(0x1c0)][_0x48f2e4(0x333)](_0x539225)['has'](_0x2fc82e)){const _0x3d88ed=this[_0x48f2e4(0x1c0)][_0x48f2e4(0x333)](_0x539225)||new Set();_0x3d88ed[_0x48f2e4(0x304)](_0x2fc82e),this[_0x48f2e4(0x1c0)][_0x48f2e4(0x250)](_0x539225,_0x3d88ed),this['_scheduleClearOtherTimer'](_0x2fc82e);}}),_0x1b82be||this[_0x57e560(0x569)]({'type':0x0,'memberID':this[_0x57e560(0x246)],'unitIDs':[...this[_0x57e560(0x1e9)]],'isForwarded':!0x0});}[_0x3f2ec9(0x2b8)](_0x2dc481){const _0x3d60bb=_0x3f2ec9;this[_0x3d60bb(0x487)](_0x2dc481);const _0x3deadc=window[_0x3d60bb(0x222)](()=>{const _0x30cae9=_0x3d60bb;this['_unitOnClients'][_0x30cae9(0x346)](_0x542d13=>{const _0x5d39c9=_0x30cae9;_0x542d13[_0x5d39c9(0x1c4)](_0x2dc481);});},ks*0x2);this[_0x3d60bb(0x355)][_0x3d60bb(0x250)](_0x2dc481,_0x3deadc);}[_0x3f2ec9(0x487)](_0x10be00){const _0x2209e3=_0x3f2ec9;if(this[_0x2209e3(0x355)][_0x2209e3(0x25f)](_0x10be00)){const _0x2e06bd=this['_clearOtherTimers'][_0x2209e3(0x333)](_0x10be00);_0x2e06bd&&window[_0x2209e3(0x46c)](_0x2e06bd),this[_0x2209e3(0x355)][_0x2209e3(0x250)](_0x10be00,null);}}[_0x3f2ec9(0x24a)](_0x52b8d3){const _0x179d46=_0x3f2ec9,{memberID:_0x5c8f35,unitIDs:_0x385423}=_0x52b8d3;_0x385423['forEach'](_0x2fd608=>{const _0x19137f=_0x1414;var _0x265111;const _0x5e1308=this[_0x19137f(0x1c0)][_0x19137f(0x333)](_0x2fd608);_0x5e1308&&(_0x5e1308[_0x19137f(0x1c4)](_0x5c8f35),(_0x265111=this['_ensureSubject'](_0x2fd608))==null||_0x265111[_0x19137f(0x3f5)](_0x5e1308[_0x19137f(0x258)]===0x0?0x0:0x1));}),this[_0x179d46(0x487)](_0x5c8f35);}[_0x3f2ec9(0x59a)](_0x537d90){this['_scheduleClearOtherTimer'](_0x537d90['memberID']);}[_0x3f2ec9(0x569)](_0x11ee67){const _0x14e068=_0x3f2ec9;localStorage[_0x14e068(0x34c)](Ws,JSON[_0x14e068(0x5a1)](_0x11ee67));}[_0x3f2ec9(0x5be)](){const _0x181347=_0x3f2ec9;this['_heartbeatTimer']=window[_0x181347(0x227)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},ks);}[_0x3f2ec9(0x4ad)](_0x352321){const _0x667a41=_0x3f2ec9;return this[_0x667a41(0x4b3)][_0x667a41(0x25f)](_0x352321)||this[_0x667a41(0x4b3)][_0x667a41(0x250)](_0x352321,new _0x286de7(0x0)),this[_0x667a41(0x4b3)][_0x667a41(0x333)](_0x352321);}}var oo=Object[_0x3f2ec9(0x323)],ao=Object[_0x3f2ec9(0x318)],co=(_0x2071c,_0x2b76f9,_0x1cc97a,_0x4a1aa8)=>{const _0x5e3d7a=_0x3f2ec9;for(var _0x518fb4=_0x4a1aa8>0x1?void 0x0:_0x4a1aa8?ao(_0x2b76f9,_0x1cc97a):_0x2b76f9,_0x5cac4d=_0x2071c[_0x5e3d7a(0x3a7)]-0x1,_0x539765;_0x5cac4d>=0x0;_0x5cac4d--)(_0x539765=_0x2071c[_0x5cac4d])&&(_0x518fb4=(_0x4a1aa8?_0x539765(_0x2b76f9,_0x1cc97a,_0x518fb4):_0x539765(_0x518fb4))||_0x518fb4);return _0x4a1aa8&&_0x518fb4&&oo(_0x2b76f9,_0x1cc97a,_0x518fb4),_0x518fb4;},xt=(_0x4459ec,_0x44f2fc)=>(_0x20b45c,_0xf826ed)=>_0x44f2fc(_0x20b45c,_0xf826ed,_0x4459ec);let mt=class{constructor(_0x48e834,_0x408ca2,_0x2c85f2){const _0x5dda33=_0x3f2ec9;this['_injector']=_0x48e834,this[_0x5dda33(0x251)]=_0x408ca2,this[_0x5dda33(0x1c5)]=_0x2c85f2;}[_0x3f2ec9(0x5a0)](_0x36e577){this['_transformHistoryAndStateStack'](_0x36e577);}['transformRemoteChangeset'](_0x4d198a){const _0x470580=_0x3f2ec9,{unitID:_0x3f0430}=_0x4d198a,{collaboration:_0x40aa31}=this[_0x470580(0x1c5)][_0x470580(0x5c3)](_0x3f0430);if(_0x40aa31['length']===0x0)return _0x4d198a;let _0x2c36d6=_0x109dec[_0x470580(0x3ff)](_0x4d198a[_0x470580(0x3e6)][0x0]);for(let _0x38895e=0x0;_0x38895e<_0x40aa31[_0x470580(0x3a7)];_0x38895e++){const _0x3526db={'id':_0x470580(0x1f0),'params':{'unitId':_0x40aa31[_0x38895e][_0x470580(0x423)],..._0x40aa31[_0x38895e][_0x470580(0x4fc)]}},_0xb3ecec=this[_0x470580(0x251)][_0x470580(0x401)](_0x2c36d6,_0x3526db,!0x1);if(_0x1d55d1(_0xb3ecec))throw _0xb3ecec[_0x470580(0x3b5)];_0x2c36d6=_0xb3ecec[_0x470580(0x37e)];}return{..._0x109dec[_0x470580(0x3ff)](_0x4d198a),'mutations':[_0x2c36d6]};}[_0x3f2ec9(0x4b1)](_0x423055){const _0x4fd26c=_0x3f2ec9,{unitID:_0x4aa1d6}=_0x423055,{history:_0x4ff558,collaboration:_0x5743c4}=this['_docStateChangeManagerService'][_0x4fd26c(0x5c3)](_0x4aa1d6);if(_0x4ff558['length']===0x0&&_0x5743c4[_0x4fd26c(0x3a7)]===0x0)return;const _0x363c7b=[],_0x2e0671=[];let _0x39233c=_0x109dec['deepClone'](_0x423055[_0x4fd26c(0x3e6)][0x0]),_0x2c7cbf=_0x109dec[_0x4fd26c(0x3ff)](_0x423055[_0x4fd26c(0x3e6)][0x0]);for(let _0x1e085d=_0x4ff558['length']-0x1;_0x1e085d>=0x0;_0x1e085d--){const _0x2ca60f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ff558[_0x1e085d][_0x4fd26c(0x423)],..._0x4ff558[_0x1e085d][_0x4fd26c(0x488)]}},_0x2e5631={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ff558[_0x1e085d][_0x4fd26c(0x423)],..._0x4ff558[_0x1e085d][_0x4fd26c(0x4fc)]}},_0x2b3932=this['_transformService'][_0x4fd26c(0x401)](_0x39233c,_0x2ca60f,!0x1),_0x197cf3=this['_transformService'][_0x4fd26c(0x401)](_0x2c7cbf,_0x2e5631,!0x1);if(_0x1d55d1(_0x2b3932))throw _0x2b3932[_0x4fd26c(0x3b5)];if(_0x1d55d1(_0x197cf3))throw _0x197cf3[_0x4fd26c(0x3b5)];_0x363c7b['unshift']({..._0x4ff558[_0x1e085d],'undoState':_0x2b3932['m2Prime'][_0x4fd26c(0x562)],'redoState':_0x197cf3[_0x4fd26c(0x38c)][_0x4fd26c(0x562)]}),_0x39233c=_0x2b3932['m1Prime'],_0x2c7cbf=_0x197cf3['m1Prime'];}_0x39233c=_0x109dec[_0x4fd26c(0x3ff)](_0x423055[_0x4fd26c(0x3e6)][0x0]),_0x2c7cbf=_0x109dec[_0x4fd26c(0x3ff)](_0x423055['mutations'][0x0]);for(let _0x78a8b1=_0x5743c4[_0x4fd26c(0x3a7)]-0x1;_0x78a8b1>=0x0;_0x78a8b1--){const _0x28025a={'id':_0x4fd26c(0x1f0),'params':{'unitId':_0x5743c4[_0x78a8b1][_0x4fd26c(0x423)],..._0x5743c4[_0x78a8b1][_0x4fd26c(0x488)]}},_0x46cff9={'id':_0x4fd26c(0x1f0),'params':{'unitId':_0x5743c4[_0x78a8b1][_0x4fd26c(0x423)],..._0x5743c4[_0x78a8b1]['redoState']}},_0x176877=this[_0x4fd26c(0x251)]['transformMutation'](_0x39233c,_0x28025a,!0x1),_0x594e18=this[_0x4fd26c(0x251)][_0x4fd26c(0x401)](_0x2c7cbf,_0x46cff9,!0x1);if(_0x1d55d1(_0x176877))throw _0x176877[_0x4fd26c(0x3b5)];if(_0x1d55d1(_0x594e18))throw _0x594e18[_0x4fd26c(0x3b5)];_0x2e0671[_0x4fd26c(0x4f2)]({..._0x5743c4[_0x78a8b1],'undoState':_0x176877[_0x4fd26c(0x38c)][_0x4fd26c(0x562)],'redoState':_0x594e18[_0x4fd26c(0x38c)]['params']}),_0x39233c=_0x176877[_0x4fd26c(0x37e)],_0x2c7cbf=_0x594e18[_0x4fd26c(0x37e)];}this[_0x4fd26c(0x1c5)][_0x4fd26c(0x236)](_0x4aa1d6,{'history':_0x363c7b,'collaboration':_0x2e0671});}};mt=co([xt(0x0,_0x127ed5(_0x846a04)),xt(0x1,_0x1ba0e0),xt(0x2,_0x127ed5(_0x2813e4))],mt);function Pi(_0x25657e){const _0x2170a4=_0x3f2ec9;let _0x59879f='';for(const _0x592e46 of _0x25657e){const {startOffset:_0x54066e,endOffset:_0x19af17,isActive:_0x178e57,rangeType:_0x3e2b09,segmentId:_0x238da8,segmentPage:_0x49a96a}=_0x592e46;_0x59879f[_0x2170a4(0x3a7)]&&(_0x59879f+=','),_0x59879f+=_0x54066e+':'+_0x19af17+':'+(_0x178e57?'1':'0')+':'+_0x3e2b09+':'+_0x238da8+':'+_0x49a96a;}return _0x59879f;}function ho(_0x4ab79f){const _0xc05ed2=_0x3f2ec9,_0x5ef2d3=_0x4ab79f[_0xc05ed2(0x541)](','),_0x5d4fa9=[];for(const _0x11a086 of _0x5ef2d3){const [_0x1626bb,_0x400653,_0x41453b,_0xb8e7cb,_0x20e471,_0xac3d8f]=_0x11a086[_0xc05ed2(0x541)](':');_0x5d4fa9['push']({'startOffset':Number(_0x1626bb),'endOffset':Number(_0x400653),'collapsed':_0x1626bb===_0x400653,'isActive':_0x41453b==='1','rangeType':_0xb8e7cb===_0x5dc937[_0xc05ed2(0x5a2)]?_0x5dc937[_0xc05ed2(0x5a2)]:_0x5dc937[_0xc05ed2(0x447)],'segmentId':typeof _0x20e471==_0xc05ed2(0x506)?String(_0x20e471):'','segmentPage':Number(_0xac3d8f!=null?_0xac3d8f:-0x1)});}return _0x5d4fa9['some'](_0x5479dd=>_0x5479dd[_0xc05ed2(0x51e)])||(_0x5d4fa9[0x0][_0xc05ed2(0x51e)]=!0x0),_0x5d4fa9;}class Cs extends _0x404743{constructor(){const _0x2b01ff=_0x3f2ec9;super(...arguments),g(this,_0x2b01ff(0x1cf),new _0x286de7(null)),g(this,_0x2b01ff(0x524),this['_collabCursorState$'][_0x2b01ff(0x5d2)]());}['syncEditingCollabCursor'](_0x29da57){const _0x166b55=_0x3f2ec9,{unitID:_0x1c183b,memberID:_0x5e39f5,textRanges:_0xb7fcf8}=_0x29da57,_0x2a9ea4=Pi(_0xb7fcf8);if(_0x2a9ea4==='')return;const _0x18474e={'unitID':_0x1c183b,'memberID':_0x5e39f5,'selection':_0x2a9ea4};this[_0x166b55(0x1cf)]['next'](_0x18474e);}}var lo=Object[_0x3f2ec9(0x323)],_o=Object[_0x3f2ec9(0x318)],uo=(_0xb69bd1,_0x1df194,_0x34fc7e,_0x3fba31)=>{for(var _0x465819=_0x3fba31>0x1?void 0x0:_0x3fba31?_o(_0x1df194,_0x34fc7e):_0x1df194,_0x38cfde=_0xb69bd1['length']-0x1,_0x4fc384;_0x38cfde>=0x0;_0x38cfde--)(_0x4fc384=_0xb69bd1[_0x38cfde])&&(_0x465819=(_0x3fba31?_0x4fc384(_0x1df194,_0x34fc7e,_0x465819):_0x4fc384(_0x465819))||_0x465819);return _0x3fba31&&_0x465819&&lo(_0x1df194,_0x34fc7e,_0x465819),_0x465819;},Fs=(_0x26fbba,_0x5dbc82)=>(_0x10fd5a,_0xd5886f)=>_0x5dbc82(_0x10fd5a,_0xd5886f,_0x26fbba);let pt=class{constructor(_0x5c44ce,_0x1e50a2){const _0x26a071=_0x3f2ec9;this[_0x26a071(0x469)]=_0x5c44ce,this[_0x26a071(0x251)]=_0x1e50a2;}[_0x3f2ec9(0x234)](_0x8e0b8f){const _0x53cca9=_0x3f2ec9;var _0x50594f;const _0x466884=this['_injector'][_0x53cca9(0x333)](_0x36c4dd),_0x24b6cc=(_0x50594f=_0x466884['getDocRanges']())!=null?_0x50594f:[];if(_0x24b6cc[_0x53cca9(0x3a7)]===0x0)return;const _0x2693b5=_0x8e0b8f[_0x53cca9(0x350)],_0x59cfff=[{'id':_0x53cca9(0x1f0),'params':{'unitId':_0x2693b5,'actions':null,'textRanges':_0x24b6cc}}],_0x5afbdf=this['_transformService']['transformMutationsWithChangeset'](_0x8e0b8f,_0x59cfff);if(!_0x678508(_0x5afbdf))throw _0x5afbdf[_0x53cca9(0x3b5)];const _0x269017=_0x5afbdf[_0x53cca9(0x38c)][0x0][_0x53cca9(0x562)][_0x53cca9(0x2ac)];Array[_0x53cca9(0x3a5)](_0x269017)&&_0x269017[_0x53cca9(0x3a7)]&&_0x466884[_0x53cca9(0x56e)](_0x269017,{'unitId':_0x2693b5,'subUnitId':_0x2693b5},!0x1);}};pt=uo([Fs(0x0,_0x127ed5(_0x846a04)),Fs(0x1,_0x1ba0e0)],pt);const fo=new Set([_0x43bbdd['id']]);function Vs(_0x21561b,_0x1c718b,_0x107441,_0x453415,_0x5ac0f4){const _0x5dda64=_0x3f2ec9;var _0x464469,_0x1b5abb,_0x265961,_0x584fb7;const _0x397c3d=[];for(const _0x10092e of _0x21561b)if(fo[_0x5dda64(0x25f)](_0x10092e['id'])){if(_0x397c3d[_0x5dda64(0x3a7)]>0x0)break;_0x397c3d[_0x5dda64(0x496)](_0x10092e);break;}else _0x397c3d[_0x5dda64(0x496)](_0x10092e);const _0x3ee379=(_0x1b5abb=(_0x464469=_0x5ac0f4[_0x5dda64(0x555)]())==null?void 0x0:_0x464469[_0x5dda64(0x319)])!=null?_0x1b5abb:'unknown',_0x1e71de=(_0x584fb7=(_0x265961=_0x5ac0f4[_0x5dda64(0x555)]())==null?void 0x0:_0x265961['memberID'])!=null?_0x584fb7:'unknown';return{'changeset':{'unitID':_0x1c718b,'type':_0x54ef7c(_0x107441[_0x5dda64(0x247)](_0x1c718b)),'baseRev':_0x453415['getCurrentRevOfUnit'](_0x1c718b),'revision':0x0,'userID':_0x3ee379,'memberID':_0x1e71de,'mutations':_0x397c3d},'pendingMutations':_0x21561b[_0x5dda64(0x43e)](_0x397c3d[_0x5dda64(0x3a7)])};}function vo(_0x5396d,_0x517056,_0x3f634f,_0x4d1d7e,_0x3566bb){const _0xc9d889=_0x3f2ec9;var _0x49a717,_0x5d9433,_0xa431bd,_0x344f82;const _0x4098bc=[_0x5396d[_0xc9d889(0x228)]((_0x2b8f94,_0x3325c6)=>{const _0x1aefb1=_0xc9d889;var _0xa6089b;const {id:_0x8c4f64}=_0x2b8f94,{id:_0x43e620,type:_0x3ed2c5}=_0x3325c6,_0xd6d892=(_0xa6089b=_0x2b8f94[_0x1aefb1(0x562)])!=null?_0xa6089b:{'actions':null},_0x48cfd5=_0x3325c6[_0x1aefb1(0x562)];if(_0x8c4f64&&_0x8c4f64!==_0x43e620)throw new Error(_0x1aefb1(0x341)+_0x8c4f64+_0x1aefb1(0x3f7)+_0x43e620+'.');return{..._0x2b8f94,'id':_0x43e620,'type':_0x3ed2c5,'params':{'unitId':_0x48cfd5['unitId'],'textRanges':_0x48cfd5[_0x1aefb1(0x2ac)],'actions':_0x29a830[_0x1aefb1(0x24c)](_0xd6d892[_0x1aefb1(0x489)],_0x48cfd5[_0x1aefb1(0x489)])}};},{})],_0x34125d=(_0x5d9433=(_0x49a717=_0x3566bb[_0xc9d889(0x555)]())==null?void 0x0:_0x49a717[_0xc9d889(0x319)])!=null?_0x5d9433:'unknown',_0x383adc=(_0x344f82=(_0xa431bd=_0x3566bb[_0xc9d889(0x555)]())==null?void 0x0:_0xa431bd[_0xc9d889(0x3b6)])!=null?_0x344f82:_0xc9d889(0x55c);return{'changeset':{'unitID':_0x517056,'type':_0x54ef7c(_0x3f634f[_0xc9d889(0x247)](_0x517056)),'baseRev':_0x4d1d7e[_0xc9d889(0x51a)](_0x517056),'revision':0x0,'userID':_0x34125d,'memberID':_0x383adc,'mutations':_0x4098bc},'pendingMutations':[]};}function Ui(_0x37ced6,_0x1f5aaa){const _0x4dd615=_0x3f2ec9,_0x5be64c=new _0x49284b(0x1);return setTimeout(()=>_0x5be64c[_0x4dd615(0x3f5)](_0x1f5aaa),_0x37ced6),_0x5be64c['asObservable']()[_0x4dd615(0x3c4)](_0x1f972f(0x1));}const mo={'id':_0x181cd4['id'],'type':_0x2597e7[_0x3f2ec9(0x5af)],'params':{}};var po=Object['defineProperty'],go=Object[_0x3f2ec9(0x318)],Le=(_0x191a7a,_0x28301d,_0x4bba6a,_0x2d796f)=>{const _0x446e53=_0x3f2ec9;for(var _0xfcf613=_0x2d796f>0x1?void 0x0:_0x2d796f?go(_0x28301d,_0x4bba6a):_0x28301d,_0x1d80c6=_0x191a7a[_0x446e53(0x3a7)]-0x1,_0x505c54;_0x1d80c6>=0x0;_0x1d80c6--)(_0x505c54=_0x191a7a[_0x1d80c6])&&(_0xfcf613=(_0x2d796f?_0x505c54(_0x28301d,_0x4bba6a,_0xfcf613):_0x505c54(_0xfcf613))||_0xfcf613);return _0x2d796f&&_0xfcf613&&po(_0x28301d,_0x4bba6a,_0xfcf613),_0xfcf613;},A=(_0x902a75,_0x276a38)=>(_0x2e6fe3,_0x536bd9)=>_0x276a38(_0x2e6fe3,_0x536bd9,_0x902a75),J=(_0x579ff2=>(_0x579ff2['NOT_COLLAB']='not_collab',_0x579ff2[_0x3f2ec9(0x364)]=_0x3f2ec9(0x1e4),_0x579ff2['PENDING']=_0x3f2ec9(0x2b4),_0x579ff2[_0x3f2ec9(0x38f)]=_0x3f2ec9(0x4bd),_0x579ff2[_0x3f2ec9(0x534)]=_0x3f2ec9(0x4d8),_0x579ff2[_0x3f2ec9(0x35a)]=_0x3f2ec9(0x4dc),_0x579ff2['CONFLICT']=_0x3f2ec9(0x23c),_0x579ff2['OFFLINE']=_0x3f2ec9(0x37f),_0x579ff2))(J||{});const Ni=0xea60;class $e{constructor(_0x3ff3f0,_0xd9eabe,_0x9b2747,_0x43723f,_0x540915,_0x474c50,_0x1312b2,_0x34b9e2,_0x38d25d){const _0x488c2c=_0x3f2ec9;g(this,_0x488c2c(0x4c6),null),g(this,_0x488c2c(0x52a),[]),(this[_0x488c2c(0x350)]=_0x3ff3f0,this[_0x488c2c(0x4e4)]=_0xd9eabe,this[_0x488c2c(0x4ab)]=_0x540915,this['_commandService']=_0x474c50,this[_0x488c2c(0x40f)]=_0x1312b2,this[_0x488c2c(0x2f8)]=_0x34b9e2,this['_localCacheService']=_0x38d25d,this[_0x488c2c(0x4c6)]=_0x9b2747,this['_pendingMutations']=_0x43723f);}[_0x3f2ec9(0x2cf)](_0x4d1ae7){const _0x46fdc0=_0x3f2ec9,_0x3614a6=this[_0x46fdc0(0x2f8)][_0x46fdc0(0x51a)](this[_0x46fdc0(0x350)]);return _0x4d1ae7[_0x46fdc0(0x2d8)]>_0x3614a6+0x1?(this[_0x46fdc0(0x4ab)][_0x46fdc0(0x3c6)]({'from':_0x3614a6,'to':_0x4d1ae7[_0x46fdc0(0x2d8)]-0x1}),!0x0):!0x1;}[_0x3f2ec9(0x5c6)](_0x551c9f){const _0x5a32f5=_0x3f2ec9;this[_0x5a32f5(0x40f)][_0x5a32f5(0x599)](this[_0x5a32f5(0x350)],_0x551c9f);}[_0x3f2ec9(0x3da)](_0x48a547){const _0x42b3ee=_0x3f2ec9;var _0x454053,_0x38b088;(_0x38b088=(_0x454053=this[_0x42b3ee(0x4ab)])['onTransformSelections'])==null||_0x38b088[_0x42b3ee(0x570)](_0x454053,_0x48a547);}[_0x3f2ec9(0x415)](_0x5db6ac){const _0x18feb5=_0x3f2ec9;var _0x2779cb,_0x51b2dd;return(_0x51b2dd=(_0x2779cb=this[_0x18feb5(0x4ab)])[_0x18feb5(0x4e8)])==null?void 0x0:_0x51b2dd[_0x18feb5(0x570)](_0x2779cb,_0x5db6ac);}[_0x3f2ec9(0x24b)](_0x2666cf){const _0x430c5b=_0x3f2ec9;var _0x76bafd,_0x2f7d27;return(_0x2f7d27=(_0x76bafd=this[_0x430c5b(0x4ab)])[_0x430c5b(0x39a)])==null?void 0x0:_0x2f7d27[_0x430c5b(0x570)](_0x76bafd,_0x2666cf);}['_transformRemoteChangesetByIMECache'](_0x340360){const _0x119e0e=_0x3f2ec9;var _0x1d94a6,_0x69f766,_0x4ab146;return(_0x4ab146=(_0x69f766=(_0x1d94a6=this[_0x119e0e(0x4ab)])[_0x119e0e(0x3fc)])==null?void 0x0:_0x69f766[_0x119e0e(0x570)](_0x1d94a6,_0x340360))!=null?_0x4ab146:_0x340360;}[_0x3f2ec9(0x206)](_0x5d917a){const _0x3948e9=_0x3f2ec9;var _0x5eab48,_0xc4d106,_0x1b3e2d;return(_0x1b3e2d=(_0xc4d106=(_0x5eab48=this[_0x3948e9(0x4ab)])[_0x3948e9(0x32b)])==null?void 0x0:_0xc4d106[_0x3948e9(0x570)](_0x5eab48,_0x5d917a))!=null?_0x1b3e2d:_0x5d917a;}[_0x3f2ec9(0x2b3)](_0x181df9){const _0x69d752=_0x3f2ec9;var _0x20c79a,_0x2d446b;if(this[_0x69d752(0x4e4)]===ce['UNIVER_DOC']){const {unitID:_0x425ed3,mutations:_0x5d90c0,memberID:_0xfbdfff}=_0x181df9,_0x3798c1=_0x5d90c0[0x0][_0x69d752(0x562)][_0x69d752(0x2ac)];Array['isArray'](_0x3798c1)&&_0x3798c1['length']>0x0&&((_0x2d446b=(_0x20c79a=this[_0x69d752(0x4ab)])[_0x69d752(0x313)])==null||_0x2d446b[_0x69d752(0x570)](_0x20c79a,{'unitID':_0x425ed3,'memberID':_0xfbdfff,'textRanges':_0x3798c1}));}}[_0x3f2ec9(0x26e)](){const _0x23a650=_0x3f2ec9;this[_0x23a650(0x485)][_0x23a650(0x368)](this[_0x23a650(0x350)],this['type'],this[_0x23a650(0x4c6)],this[_0x23a650(0x52a)]);}['_getCurrentRevision'](){const _0x3977d9=_0x3f2ec9;return this[_0x3977d9(0x2f8)][_0x3977d9(0x51a)](this[_0x3977d9(0x350)]);}['_incrementRevisionNumber'](){const _0x5d8efa=_0x3f2ec9;this[_0x5d8efa(0x2f8)][_0x5d8efa(0x3b7)](this[_0x5d8efa(0x350)]);}[_0x3f2ec9(0x46d)](_0x52b7e8){const _0x45f577=_0x3f2ec9;var _0x4cdf9b;let _0x3b5864=this[_0x45f577(0x3ac)](_0x52b7e8);_0x3b5864=this[_0x45f577(0x206)](_0x3b5864);const _0x4c77f3=_0x5e47e9(_0x3b5864[_0x45f577(0x3e6)],this[_0x45f577(0x39b)],{'fromCollab':!0x0});if(!_0x4c77f3['result'])throw _0x4c77f3[_0x45f577(0x3b5)]instanceof Error?_0x4c77f3['error']:new Error((_0x4cdf9b=_0x4c77f3[_0x45f577(0x3b5)])!=null?_0x4cdf9b:_0x45f577(0x3d1));this[_0x45f577(0x415)](_0x3b5864),this[_0x45f577(0x24b)](_0x3b5864),this[_0x45f577(0x5c6)](_0x52b7e8),this['_transformSelections'](_0x3b5864),this[_0x45f577(0x2b3)](_0x3b5864),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x15304d,_0x5cd618,_0x5202e3,_0x526809,_0x1f68a9,_0x3480a0,_0x2fd3fe,_0x3715bc,_0x343ebc,_0x5c704d){const _0x54329c=_0x3f2ec9;super(_0x15304d,_0x5cd618,null,[],_0x5202e3,_0x3715bc,_0x2fd3fe,_0x526809,_0x1f68a9),g(this,_0x54329c(0x288),_0x54329c(0x1e4)),(this['_injector']=_0x3480a0,this['_logService']=_0x343ebc,this[_0x54329c(0x251)]=_0x5c704d);}[_0x3f2ec9(0x4bf)](_0x463ee1){const _0x30609a=_0x3f2ec9,_0x2ac51f=this[_0x30609a(0x469)][_0x30609a(0x262)](pe,this['unitID'],this[_0x30609a(0x4e4)],[_0x463ee1],this[_0x30609a(0x4ab)]);return _0x2ac51f[_0x30609a(0x5b3)](),_0x2ac51f[_0x30609a(0x26e)](),_0x2ac51f;}[_0x3f2ec9(0x1c6)](_0x2764de){const _0x5a3439=_0x3f2ec9;if(this[_0x5a3439(0x2cf)](_0x2764de))return this[_0x5a3439(0x469)][_0x5a3439(0x262)](he,this['unitID'],this['type'],null,[],null,[_0x2764de],this[_0x5a3439(0x4ab)]);try{const _0x1af537=this[_0x5a3439(0x251)][_0x5a3439(0x336)](_0x2764de,[mo]);if(_0x678508(_0x1af537)){const {c1Prime:_0x41b7d1}=_0x1af537;return this[_0x5a3439(0x46d)](_0x41b7d1),this;}throw _0x1af537[_0x5a3439(0x3b5)];}catch(_0x5658e8){return this[_0x5a3439(0x42f)][_0x5a3439(0x3b5)](_0x5658e8),this[_0x5a3439(0x37b)](!0x1);}}[_0x3f2ec9(0x37b)](_0x4a1c53){const _0x312f50=_0x3f2ec9;return this[_0x312f50(0x469)]['createInstance'](Re,this[_0x312f50(0x350)],this[_0x312f50(0x4e4)],null,[],this['_handler'],_0x4a1c53);}['onRemoteAck'](){const _0x3db1ae=_0x3f2ec9;throw new Error(_0x3db1ae(0x235));}[_0x3f2ec9(0x53c)](){const _0x48a442=_0x3f2ec9;throw new Error(_0x48a442(0x4c4));}[_0x3f2ec9(0x4d7)](){return this;}[_0x3f2ec9(0x509)](){const _0xafacad=_0x3f2ec9;return this[_0xafacad(0x469)][_0xafacad(0x262)](ye,this[_0xafacad(0x350)],this[_0xafacad(0x4e4)],null,[],this[_0xafacad(0x4ab)]);}[_0x3f2ec9(0x26a)](){return this;}['resend'](){const _0x57915a=_0x3f2ec9;throw new Error(_0x57915a(0x353));}['fetchMiss'](){const _0x1d3d39=_0x3f2ec9,_0x2641ab=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1d3d39(0x350)]);return this['_handler'][_0x1d3d39(0x3c6)]({'from':_0x2641ab,'to':0x0}),this['_injector'][_0x1d3d39(0x262)](he,this[_0x1d3d39(0x350)],this['type'],null,[],null,[],this[_0x1d3d39(0x4ab)]);}};Fe=Le([A(0x3,_0x127ed5(_0x5633d8)),A(0x4,_0x127ed5(q)),A(0x5,_0x127ed5(_0x846a04)),A(0x6,_0x42df5e),A(0x7,_0x49a021),A(0x8,_0x2a6a1c),A(0x9,_0x1ba0e0)],Fe);let pe=class extends $e{constructor(_0x22013d,_0x24d3ce,_0xe5667d,_0x2e6d9c,_0x441f76,_0x1f82a2,_0x12f78f,_0x4444fd,_0x5cdc92,_0x58bab7,_0x468474,_0x14ed58,_0x177590,_0x1ee6d4){const _0x150201=_0x3f2ec9;super(_0x22013d,_0x24d3ce,null,_0xe5667d,_0x2e6d9c,_0x58bab7,_0x1ee6d4,_0x1f82a2,_0x12f78f),g(this,_0x150201(0x288),_0x150201(0x2b4)),g(this,'_scheduleTimestamp',null),g(this,'_sendingTimer',null),(this[_0x150201(0x469)]=_0x441f76,this['_memberService']=_0x4444fd,this['_logService']=_0x5cdc92,this[_0x150201(0x5b4)]=_0x468474,this[_0x150201(0x251)]=_0x14ed58,this[_0x150201(0x590)]=_0x177590);}['appendMutation'](_0x1f0328){const _0x12b77f=_0x3f2ec9;return this[_0x12b77f(0x52a)][_0x12b77f(0x496)](_0x1f0328),this[_0x12b77f(0x26e)](),this;}[_0x3f2ec9(0x1c6)](_0x2abc2c){const _0x1ff518=_0x3f2ec9;if(this[_0x1ff518(0x2cf)](_0x2abc2c))return this[_0x1ff518(0x1ed)](),this[_0x1ff518(0x469)][_0x1ff518(0x262)](he,this[_0x1ff518(0x350)],this[_0x1ff518(0x4e4)],null,this[_0x1ff518(0x52a)],null,[_0x2abc2c],this[_0x1ff518(0x4ab)]);try{const _0x2af8de=this[_0x1ff518(0x251)][_0x1ff518(0x336)](_0x2abc2c,this[_0x1ff518(0x52a)]);if(_0x678508(_0x2af8de)){const {c1Prime:_0x3724d7,m2Prime:_0x3f558e}=_0x2af8de;this[_0x1ff518(0x46d)](_0x3724d7);const _0x549601=this[_0x1ff518(0x469)][_0x1ff518(0x262)](pe,this[_0x1ff518(0x350)],this[_0x1ff518(0x4e4)],_0x3f558e,this[_0x1ff518(0x4ab)]);return this['_clearScheduledTask'](),_0x549601[_0x1ff518(0x5b3)](this[_0x1ff518(0x20b)]?Math[_0x1ff518(0x34b)](0x0,new Date()['getTime']()-this[_0x1ff518(0x20b)]):this[_0x1ff518(0x579)]()),_0x549601;}throw _0x2af8de['error'];}catch(_0x125b25){return this[_0x1ff518(0x42f)][_0x1ff518(0x3b5)](_0x125b25),this[_0x1ff518(0x37b)](!0x1);}}[_0x3f2ec9(0x2fe)](){const _0xcc22d=_0x3f2ec9;throw new Error(_0xcc22d(0x50e));}[_0x3f2ec9(0x53c)](){const _0x1d4f38=_0x3f2ec9;throw new Error(_0x1d4f38(0x2d6));}['onRemoteRetry'](){return this;}[_0x3f2ec9(0x509)](){const _0x373d6e=_0x3f2ec9;return this['_clearScheduledTask'](),this[_0x373d6e(0x469)][_0x373d6e(0x262)](ye,this['unitID'],this[_0x373d6e(0x4e4)],null,this[_0x373d6e(0x52a)],this['_handler']);}[_0x3f2ec9(0x26a)](){return this;}['_schedule'](_0x1bb1da){const _0x4e64b6=_0x3f2ec9,_0x5b40d4=_0x1bb1da!=null?_0x1bb1da:this[_0x4e64b6(0x579)]();this[_0x4e64b6(0x20b)]=new Date()['getTime'](),this['_sendingTimer']=window[_0x4e64b6(0x222)](()=>{const _0x1bdfad=_0x4e64b6;this['_clearScheduledTask']();let _0x299d00=null;switch(this[_0x1bdfad(0x4e4)]){case ce[_0x1bdfad(0x54f)]:{_0x299d00=Vs(this[_0x1bdfad(0x52a)],this[_0x1bdfad(0x350)],this['_univerInstanceService'],this['_revisionService'],this[_0x1bdfad(0x444)]);break;}case ce['UNIVER_DOC']:{this[_0x1bdfad(0x52a)][_0x1bdfad(0x4fe)](_0x6e5e67=>_0x6e5e67['id']===_0x6aa10a['id'])?_0x299d00=vo(this[_0x1bdfad(0x52a)],this['unitID'],this[_0x1bdfad(0x590)],this[_0x1bdfad(0x2f8)],this[_0x1bdfad(0x444)]):_0x299d00=Vs(this[_0x1bdfad(0x52a)],this[_0x1bdfad(0x350)],this[_0x1bdfad(0x590)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x1bdfad(0x3d9)+this[_0x1bdfad(0x4e4)]+_0x1bdfad(0x3f8));}const {changeset:_0x2ac447,pendingMutations:_0x51b70c}=_0x299d00;this[_0x1bdfad(0x4ab)][_0x1bdfad(0x387)](_0x2ac447);const _0x538db2=_0x51b70c[_0x1bdfad(0x3a7)]?this['_injector']['createInstance'](ge,this[_0x1bdfad(0x350)],this[_0x1bdfad(0x4e4)],_0x2ac447,_0x51b70c,this[_0x1bdfad(0x4ab)],void 0x0):this[_0x1bdfad(0x469)][_0x1bdfad(0x262)](Te,this['unitID'],this[_0x1bdfad(0x4e4)],_0x2ac447,this[_0x1bdfad(0x4ab)]);_0x538db2[_0x1bdfad(0x26e)](),this[_0x1bdfad(0x4ab)]['onStateChange'](this,_0x538db2);},_0x5b40d4);}[_0x3f2ec9(0x579)](){const _0x8da721=_0x3f2ec9;var _0x3424ed;const _0x1ee3d5=this[_0x8da721(0x5b4)][_0x8da721(0x4d2)](ie);return(_0x3424ed=_0x1ee3d5==null?void 0x0:_0x1ee3d5['sendChangesetTimeout'])!=null?_0x3424ed:_r;}[_0x3f2ec9(0x1cc)](){const _0x5312d8=_0x3f2ec9;throw new Error(_0x5312d8(0x2a4));}[_0x3f2ec9(0x1ed)](){const _0x254be3=_0x3f2ec9;this[_0x254be3(0x4fd)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x254be3(0x4fd)]=null);}[_0x3f2ec9(0x37b)](_0x15af87){const _0x49e6c7=_0x3f2ec9;return this[_0x49e6c7(0x1ed)](),this['_injector'][_0x49e6c7(0x262)](Re,this[_0x49e6c7(0x350)],this[_0x49e6c7(0x4e4)],null,this[_0x49e6c7(0x52a)],this[_0x49e6c7(0x4ab)],_0x15af87);}};pe=Le([A(0x4,_0x127ed5(_0x846a04)),A(0x5,_0x127ed5(_0x5633d8)),A(0x6,_0x127ed5(q)),A(0x7,_0x127ed5(Ne)),A(0x8,_0x2a6a1c),A(0x9,_0x49a021),A(0xa,_0x5293d7),A(0xb,_0x1ba0e0),A(0xc,_0x4c4975),A(0xd,_0x42df5e)],pe);let Te=class extends $e{constructor(_0x11789b,_0x55ab39,_0x14efee,_0x27d3df,_0xeb8dfd,_0x13d980,_0x5c58f2,_0x3c6718,_0x4439fc,_0x22e8c0,_0x51e1c4){const _0x47d194=_0x3f2ec9;super(_0x11789b,_0x55ab39,_0x14efee,[],_0x27d3df,_0x3c6718,_0x51e1c4,_0x13d980,_0x5c58f2),g(this,_0x47d194(0x288),'awaiting'),g(this,_0x47d194(0x4be),0x0),g(this,_0x47d194(0x2e4)),g(this,_0x47d194(0x2a2)),(this[_0x47d194(0x469)]=_0xeb8dfd,this[_0x47d194(0x42f)]=_0x4439fc,this[_0x47d194(0x251)]=_0x22e8c0);}[_0x3f2ec9(0x4bf)](_0x48dfb3){const _0xd4a982=_0x3f2ec9;this[_0xd4a982(0x1ed)]();const _0xe7c6ba=this['_injector']['createInstance'](ge,this[_0xd4a982(0x350)],this[_0xd4a982(0x4e4)],this[_0xd4a982(0x4c6)],[_0x48dfb3],this[_0xd4a982(0x4ab)],this[_0xd4a982(0x2e4)]);return _0xe7c6ba[_0xd4a982(0x26e)](),_0xe7c6ba;}[_0x3f2ec9(0x1c6)](_0x48b8aa){const _0x116afd=_0x3f2ec9;if(this[_0x116afd(0x2cf)](_0x48b8aa))return this[_0x116afd(0x1ed)](),this[_0x116afd(0x469)][_0x116afd(0x262)](he,this[_0x116afd(0x350)],this[_0x116afd(0x4e4)],this[_0x116afd(0x4c6)],[],null,[_0x48b8aa],this['_handler']);try{const _0x2dee8c=this[_0x116afd(0x251)][_0x116afd(0x4e7)]([_0x48b8aa],[this[_0x116afd(0x4c6)]],!0x1);if(_0x213587(_0x2dee8c)){const {c1Prime:_0x3aec28,c2Prime:_0x15ec0f}=_0x2dee8c;this[_0x116afd(0x46d)](_0x3aec28[0x0]),_0x15ec0f[0x0][_0x116afd(0x4cb)]=this[_0x116afd(0x2cd)](),this[_0x116afd(0x1ed)]();const _0x528970=this[_0x116afd(0x469)][_0x116afd(0x262)](Te,this[_0x116afd(0x350)],this['type'],_0x15ec0f[0x0],this[_0x116afd(0x4ab)]);return _0x528970[_0x116afd(0x26e)](),_0x528970;}return this[_0x116afd(0x37b)](!0x1);}catch(_0x2cf686){return this['_logService'][_0x116afd(0x3b5)](_0x2cf686),this[_0x116afd(0x37b)](!0x1);}}[_0x3f2ec9(0x2fe)](_0x3dc683){const _0x24021d=_0x3f2ec9;this['_clearScheduledTask']();const _0x27a4f6=this[_0x24021d(0x2f8)][_0x24021d(0x51a)](this['unitID']);if(_0x3dc683[_0x24021d(0x2d8)]<_0x27a4f6-0x1)return this;if(this[_0x24021d(0x2cf)](_0x3dc683))return this[_0x24021d(0x469)][_0x24021d(0x262)](he,this[_0x24021d(0x350)],this[_0x24021d(0x4e4)],null,[],this['_awaitingChangeset'],[],this[_0x24021d(0x4ab)]);this[_0x24021d(0x1e7)]();const _0x3f81d1=this[_0x24021d(0x469)][_0x24021d(0x262)](Fe,this[_0x24021d(0x350)],this[_0x24021d(0x4e4)],this[_0x24021d(0x4ab)]);return _0x3f81d1[_0x24021d(0x26e)](),_0x3f81d1;}[_0x3f2ec9(0x53c)](_0x21f809){const _0x2cef9c=_0x3f2ec9;return this[_0x2cef9c(0x37b)](!!(_0x21f809!=null&&_0x21f809[_0x2cef9c(0x5c2)]));}[_0x3f2ec9(0x4d7)](_0x557e80){const _0x45bf81=_0x3f2ec9;return this['_resendTimeout']>Ni?this[_0x45bf81(0x509)]():(this[_0x45bf81(0x2e4)]=Ui(this[_0x45bf81(0x4be)],{'timeout':this['_resendTimeout'],'reqId':_0x557e80[_0x45bf81(0x3cb)]}),this[_0x45bf81(0x2a2)]=this[_0x45bf81(0x2e4)][_0x45bf81(0x27a)](({reqId:_0x1160c1,timeout:_0x414455})=>{const _0x3729cd=_0x45bf81;this[_0x3729cd(0x201)](_0x1160c1,_0x414455);}),this);}[_0x3f2ec9(0x509)](){const _0x52aa07=_0x3f2ec9;return this['_clearScheduledTask'](),this[_0x52aa07(0x469)][_0x52aa07(0x262)](ye,this[_0x52aa07(0x350)],this[_0x52aa07(0x4e4)],this[_0x52aa07(0x4c6)],[],this[_0x52aa07(0x4ab)]);}['toggleOnline'](){return this;}[_0x3f2ec9(0x1cc)](){const _0x2a3d21=_0x3f2ec9;this[_0x2a3d21(0x4ab)][_0x2a3d21(0x387)](this['_awaitingChangeset']);}[_0x3f2ec9(0x37b)](_0xef1633){const _0x5bdb1a=_0x3f2ec9;return this[_0x5bdb1a(0x1ed)](),this['_injector'][_0x5bdb1a(0x262)](Re,this[_0x5bdb1a(0x350)],this['type'],this[_0x5bdb1a(0x4c6)],[],this['_handler'],_0xef1633);}[_0x3f2ec9(0x201)](_0x5ccd23,_0xb3012a){const _0x3958e5=_0x3f2ec9;var _0x72f31e;_0x5ccd23===((_0x72f31e=this['_awaitingChangeset'])==null?void 0x0:_0x72f31e[_0x3958e5(0x3cb)])&&(this[_0x3958e5(0x1cc)](),this[_0x3958e5(0x4be)]=_0xb3012a===0x0?0x3e8:_0xb3012a*0x2);}[_0x3f2ec9(0x1ed)](){const _0x5376e4=_0x3f2ec9;var _0x46fb39;(_0x46fb39=this[_0x5376e4(0x2a2)])==null||_0x46fb39[_0x5376e4(0x4bb)](),this[_0x5376e4(0x4be)]=0x0;}};Te=Le([A(0x4,_0x127ed5(_0x846a04)),A(0x5,_0x127ed5(_0x5633d8)),A(0x6,_0x127ed5(q)),A(0x7,_0x49a021),A(0x8,_0x2a6a1c),A(0x9,_0x1ba0e0),A(0xa,_0x42df5e)],Te);let ge=class extends $e{constructor(_0xe9c8b0,_0x110bf4,_0x1526fa,_0x28941f,_0x3c72dc,_0x3aa61a,_0x504f6d,_0x5f1638,_0x56fd97,_0x2c692d,_0x58b2e0,_0x1bce8b,_0x4004af){const _0x57bd26=_0x3f2ec9;super(_0xe9c8b0,_0x110bf4,_0x1526fa,_0x28941f,_0x3c72dc,_0x2c692d,_0x4004af,_0x5f1638,_0x56fd97),g(this,_0x57bd26(0x288),_0x57bd26(0x4d8)),g(this,_0x57bd26(0x4be),0x0),g(this,_0x57bd26(0x2e4)),g(this,'_sender'),(this[_0x57bd26(0x469)]=_0x504f6d,this[_0x57bd26(0x42f)]=_0x58b2e0,this[_0x57bd26(0x251)]=_0x1bce8b,_0x3aa61a&&(this[_0x57bd26(0x2e4)]=_0x3aa61a,this['_sender']=this[_0x57bd26(0x2e4)][_0x57bd26(0x27a)](({reqId:_0xd1dcc6,timeout:_0xb79b31})=>{const _0x1c1cf7=_0x57bd26;this[_0x1c1cf7(0x201)](_0xd1dcc6,_0xb79b31);})));}['appendMutation'](_0x480215){const _0x1ac5c2=_0x3f2ec9;return this['_pendingMutations'][_0x1ac5c2(0x496)](_0x480215),this;}['onRemoteChangeset'](_0x247f5b){const _0x535445=_0x3f2ec9;if(this['_checkMissing'](_0x247f5b))return this[_0x535445(0x1ed)](),this[_0x535445(0x469)][_0x535445(0x262)](he,this['unitID'],this[_0x535445(0x4e4)],this['_awaitingChangeset'],this[_0x535445(0x52a)],null,[_0x247f5b],this[_0x535445(0x4ab)]);try{const _0x445817=this[_0x535445(0x251)][_0x535445(0x4e7)]([_0x247f5b],[this['_awaitingChangeset']],!0x1);if(_0x213587(_0x445817)){const {c1Prime:_0x2d626a,c2Prime:_0x483cee}=_0x445817,_0x4393f2=this[_0x535445(0x251)][_0x535445(0x336)](_0x2d626a[0x0],this[_0x535445(0x52a)]);if(_0x678508(_0x4393f2)){const {c1Prime:_0x425107,m2Prime:_0x1bb31e}=_0x4393f2;return this[_0x535445(0x46d)](_0x425107),_0x483cee[0x0][_0x535445(0x4cb)]=this[_0x535445(0x2cd)](),this['_clearScheduledTask'](),this[_0x535445(0x469)][_0x535445(0x262)](ge,this[_0x535445(0x350)],this['type'],_0x483cee[0x0],_0x1bb31e,this[_0x535445(0x4ab)],void 0x0);}throw _0x4393f2[_0x535445(0x3b5)];}throw _0x445817[_0x535445(0x3b5)];}catch(_0x509d9d){return this[_0x535445(0x42f)][_0x535445(0x3b5)](_0x509d9d),this[_0x535445(0x37b)](!0x1);}}['onRemoteAck'](_0x15c111){const _0x5c33c9=_0x3f2ec9;if(this[_0x5c33c9(0x1ed)](),this[_0x5c33c9(0x2cf)](_0x15c111))return this[_0x5c33c9(0x469)][_0x5c33c9(0x262)](he,this[_0x5c33c9(0x350)],this[_0x5c33c9(0x4e4)],null,this['_pendingMutations'],this[_0x5c33c9(0x4c6)],[],this[_0x5c33c9(0x4ab)]);this[_0x5c33c9(0x1e7)]();const _0x25a49f=this[_0x5c33c9(0x469)]['createInstance'](pe,this[_0x5c33c9(0x350)],this['type'],this[_0x5c33c9(0x52a)],this['_handler']);return _0x25a49f[_0x5c33c9(0x5b3)](),_0x25a49f['_updateLocalCache'](),_0x25a49f;}[_0x3f2ec9(0x53c)](_0x5429bd){const _0x1fbb6f=_0x3f2ec9;return this[_0x1fbb6f(0x37b)](!!(_0x5429bd!=null&&_0x5429bd[_0x1fbb6f(0x5c2)]));}['onRemoteRetry'](_0x139eb6){const _0x4c564f=_0x3f2ec9;return this['_resendTimeout']>Ni?this[_0x4c564f(0x509)]():(this[_0x4c564f(0x2e4)]=Ui(this[_0x4c564f(0x4be)],{'timeout':this[_0x4c564f(0x4be)],'reqId':_0x139eb6[_0x4c564f(0x3cb)]}),this[_0x4c564f(0x2a2)]=this[_0x4c564f(0x2e4)][_0x4c564f(0x27a)](({reqId:_0x1a0f92,timeout:_0x3b624c})=>{const _0xcd6117=_0x4c564f;this[_0xcd6117(0x201)](_0x1a0f92,_0x3b624c);}),this);}[_0x3f2ec9(0x509)](){const _0x2d7235=_0x3f2ec9;return this['_clearScheduledTask'](),this[_0x2d7235(0x469)][_0x2d7235(0x262)](ye,this['unitID'],this[_0x2d7235(0x4e4)],this[_0x2d7235(0x4c6)],this['_pendingMutations'],this[_0x2d7235(0x4ab)]);}[_0x3f2ec9(0x26a)](){return this;}[_0x3f2ec9(0x1cc)](){const _0xd671bc=_0x3f2ec9;this[_0xd671bc(0x4ab)][_0xd671bc(0x387)](this['_awaitingChangeset']);}[_0x3f2ec9(0x37b)](_0x34d783){const _0xcd9a2d=_0x3f2ec9;return this['_clearScheduledTask'](),this['_injector'][_0xcd9a2d(0x262)](Re,this[_0xcd9a2d(0x350)],this[_0xcd9a2d(0x4e4)],null,this[_0xcd9a2d(0x52a)],this[_0xcd9a2d(0x4ab)],_0x34d783);}[_0x3f2ec9(0x201)](_0x3c2cc8,_0x11e4a6){const _0xa253af=_0x3f2ec9;var _0x36b9cb;_0x3c2cc8===((_0x36b9cb=this['_awaitingChangeset'])==null?void 0x0:_0x36b9cb[_0xa253af(0x3cb)])&&(this[_0xa253af(0x1cc)](),this[_0xa253af(0x4be)]=_0x11e4a6===0x0?0x3e8:_0x11e4a6*0x2);}[_0x3f2ec9(0x1ed)](){const _0x38e71b=_0x3f2ec9;var _0x48e611;(_0x48e611=this[_0x38e71b(0x2a2)])==null||_0x48e611['unsubscribe'](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x127ed5(_0x846a04)),A(0x7,_0x127ed5(_0x5633d8)),A(0x8,_0x127ed5(q)),A(0x9,_0x49a021),A(0xa,_0x2a6a1c),A(0xb,_0x1ba0e0),A(0xc,_0x42df5e)],ge);let Re=class extends $e{constructor(_0x41a26d,_0xc2a417,_0x5af5b6,_0x10d57d,_0x197cca,_0x25cb80=!0x1,_0x951242,_0x304ddd,_0x51eac2,_0x1a66a0,_0x5e80cc,_0x52e4e5,_0x2029d8){const _0xa563c3=_0x3f2ec9;super(_0x41a26d,_0xc2a417,_0x5af5b6,_0x10d57d,_0x197cca,_0x304ddd,_0x51eac2,_0x5e80cc,_0x1a66a0),g(this,_0xa563c3(0x288),_0xa563c3(0x23c)),(this[_0xa563c3(0x1c1)]=_0x25cb80,this[_0xa563c3(0x2ff)]=_0x951242,this[_0xa563c3(0x311)]=_0x52e4e5,this[_0xa563c3(0x4ac)]=_0x2029d8,this[_0xa563c3(0x4c8)](),this[_0xa563c3(0x525)](),this[_0xa563c3(0x29c)]());}['appendMutation'](){return this;}[_0x3f2ec9(0x1c6)](){return this;}['onRemoteAck'](){return this;}[_0x3f2ec9(0x53c)](){return this;}['onRemoteRetry'](){return this;}[_0x3f2ec9(0x509)](){return this;}[_0x3f2ec9(0x26a)](){return this;}[_0x3f2ec9(0x1cc)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x18d594=_0x3f2ec9;this[_0x18d594(0x485)]['updateOfflineData'](this[_0x18d594(0x350)],this['type'],null,[]);}[_0x3f2ec9(0x4c8)](){const _0x52f31d=_0x3f2ec9;this[_0x52f31d(0x1c1)]?this['_notificationService'][_0x52f31d(0x59d)]({'title':this[_0x52f31d(0x311)]['t'](_0x52f31d(0x2e1)),'content':this[_0x52f31d(0x311)]['t'](_0x52f31d(0x2df)),'type':_0x52f31d(0x3b5),'duration':0x0}):this['_notificationService'][_0x52f31d(0x59d)]({'title':this[_0x52f31d(0x311)]['t']('conflict.title'),'content':this[_0x52f31d(0x311)]['t']('conflict.content'),'type':_0x52f31d(0x3b5),'duration':0x0});}[_0x3f2ec9(0x29c)](){const _0x57bdb5=_0x3f2ec9;this[_0x57bdb5(0x2ff)][_0x57bdb5(0x41e)](new _0x4ea9fe(this[_0x57bdb5(0x350)])['id'],!0x1);}};Re=Le([A(0x6,_0x127ed5(_0x178a2e)),A(0x7,_0x49a021),A(0x8,_0x42df5e),A(0x9,_0x127ed5(q)),A(0xa,_0x127ed5(_0x5633d8)),A(0xb,_0x127ed5(_0x4d6b84)),A(0xc,_0x3a3e53)],Re);let ye=class extends $e{constructor(_0x2d9d07,_0x5d0cb5,_0x2f69e2,_0x25bba4,_0x3674fa,_0x3cd050,_0x3fb4f,_0x48d4fc,_0x46ad8a,_0x1d3641){const _0x35ca72=_0x3f2ec9;super(_0x2d9d07,_0x5d0cb5,_0x2f69e2,_0x25bba4,_0x3674fa,_0x46ad8a,_0x1d3641,_0x3fb4f,_0x48d4fc),g(this,_0x35ca72(0x288),'offline'),this[_0x35ca72(0x469)]=_0x3cd050;}[_0x3f2ec9(0x4bf)](_0x46e001){const _0x1648f2=_0x3f2ec9;return this['_pendingMutations'][_0x1648f2(0x496)](_0x46e001),this['_updateLocalCache'](),this;}[_0x3f2ec9(0x1c6)](_0xc2b6b7){const _0x15a7fe=_0x3f2ec9;throw new Error(_0x15a7fe(0x356));}[_0x3f2ec9(0x2fe)](){const _0x262446=_0x3f2ec9;throw new Error(_0x262446(0x412));}['onRemoteRej'](){const _0x1c4cce=_0x3f2ec9;throw new Error(_0x1c4cce(0x310));}[_0x3f2ec9(0x4d7)](){return this;}[_0x3f2ec9(0x509)](){return this;}[_0x3f2ec9(0x26a)](){const {_injector:_0x2ab4b9,_pendingMutations:_0x537650,_awaitingChangeset:_0x423aff,unitID:_0x8cc26d,_handler:_0x35b50c,type:_0x5a67c0}=this,_0xaa2d27=Ai(_0x2ab4b9,_0x8cc26d,_0x5a67c0,_0x423aff,_0x537650,_0x35b50c);return _0xaa2d27 instanceof pe?_0xaa2d27['_schedule']():(_0xaa2d27 instanceof ge||_0xaa2d27 instanceof Te)&&_0xaa2d27['resend'](),_0xaa2d27;}[_0x3f2ec9(0x1cc)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x127ed5(_0x846a04)),A(0x6,_0x127ed5(_0x5633d8)),A(0x7,_0x127ed5(q)),A(0x8,_0x49a021),A(0x9,_0x42df5e)],ye);let he=class extends $e{constructor(_0x26cd03,_0xdf8e49,_0x133f74,_0x28880b,_0x7903bc,_0x4febfc,_0x14b827,_0x37a5e7,_0x1a7d7b,_0x26fa56,_0x5e677f,_0xa9f0ae,_0x4d3fec,_0x42c855){const _0x530239=_0x3f2ec9;super(_0x26cd03,_0xdf8e49,_0x133f74,_0x28880b,_0x14b827,_0xa9f0ae,_0x4d3fec,_0x1a7d7b,_0x26fa56),g(this,_0x530239(0x288),_0x530239(0x4dc)),(this['_acknowledgedAwaitingChangeset']=_0x7903bc,this[_0x530239(0x544)]=_0x4febfc,this['_injector']=_0x37a5e7,this[_0x530239(0x42f)]=_0x5e677f,this[_0x530239(0x251)]=_0x42c855);}[_0x3f2ec9(0x45b)](_0x417aac){const _0x11a5d1=_0x3f2ec9;try{const _0x44bc46=[..._0x417aac,...this[_0x11a5d1(0x544)]],_0x528f98=[this[_0x11a5d1(0x4c6)]||this[_0x11a5d1(0x398)]][_0x11a5d1(0x30c)](_0x304064=>!!_0x304064);let _0x410265,_0x34a96e;if(_0x528f98[_0x11a5d1(0x3a7)]){const _0x2cc1b5=this[_0x11a5d1(0x251)][_0x11a5d1(0x4e7)](_0x44bc46,_0x528f98,!0x1);if(!_0x213587(_0x2cc1b5))throw _0x2cc1b5[_0x11a5d1(0x3b5)];_0x410265=_0x2cc1b5[_0x11a5d1(0x3a0)],_0x34a96e=_0x2cc1b5[_0x11a5d1(0x3b8)];}else _0x410265=_0x44bc46,_0x34a96e=[];let _0xe6ff1c=this[_0x11a5d1(0x52a)];_0x410265[_0x11a5d1(0x346)](_0x323dd9=>{const _0x4c8260=_0x11a5d1;let _0x51e6d2;if(_0xe6ff1c[_0x4c8260(0x3a7)]){const _0x374ff4=this[_0x4c8260(0x251)]['transformMutationsWithChangeset'](_0x323dd9,_0xe6ff1c);if(!_0x678508(_0x374ff4))throw _0x374ff4[_0x4c8260(0x3b5)];_0x51e6d2=_0x374ff4[_0x4c8260(0x3a0)],_0xe6ff1c=_0x374ff4[_0x4c8260(0x38c)];}else _0x51e6d2=_0x323dd9;this['_executeRemoteChangeset'](_0x51e6d2);}),this['_acknowledgedAwaitingChangeset']&&this[_0x11a5d1(0x1e7)](),this[_0x11a5d1(0x4c6)]&&_0x34a96e[_0x11a5d1(0x3a7)]&&(_0x34a96e[0x0][_0x11a5d1(0x4cb)]=this['_getCurrentRevision']());let _0x3c944e;if(this[_0x11a5d1(0x4c6)]&&_0xe6ff1c[_0x11a5d1(0x3a7)]!==0x0)_0x3c944e=this[_0x11a5d1(0x469)]['createInstance'](ge,this[_0x11a5d1(0x350)],this['type'],_0x34a96e[0x0],_0xe6ff1c,this[_0x11a5d1(0x4ab)],void 0x0);else{if(this[_0x11a5d1(0x4c6)]&&_0xe6ff1c[_0x11a5d1(0x3a7)]===0x0)_0x34a96e[0x0][_0x11a5d1(0x4cb)]=this['_getCurrentRevision'](),_0x3c944e=this[_0x11a5d1(0x469)][_0x11a5d1(0x262)](Te,this[_0x11a5d1(0x350)],this[_0x11a5d1(0x4e4)],_0x34a96e[0x0],this[_0x11a5d1(0x4ab)]);else{if(_0xe6ff1c['length']!==0x0){const _0x2929e4=this[_0x11a5d1(0x469)][_0x11a5d1(0x262)](pe,this[_0x11a5d1(0x350)],this['type'],_0xe6ff1c,this[_0x11a5d1(0x4ab)]);_0x2929e4[_0x11a5d1(0x5b3)](),_0x3c944e=_0x2929e4;}else _0x3c944e=this[_0x11a5d1(0x469)]['createInstance'](Fe,this[_0x11a5d1(0x350)],this[_0x11a5d1(0x4e4)],this[_0x11a5d1(0x4ab)]);}}return _0x3c944e[_0x11a5d1(0x26e)](),_0x3c944e;}catch(_0x29bbed){return this[_0x11a5d1(0x42f)][_0x11a5d1(0x3b5)]('[FetchMissState]',_0x11a5d1(0x2b7),_0x29bbed),this[_0x11a5d1(0x469)][_0x11a5d1(0x262)](Re,this[_0x11a5d1(0x350)],this[_0x11a5d1(0x4e4)],this[_0x11a5d1(0x4c6)],this[_0x11a5d1(0x52a)],this[_0x11a5d1(0x4ab)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3f2ec9(0x4bf)](_0x1e1750){const _0x23a385=_0x3f2ec9;return this[_0x23a385(0x52a)][_0x23a385(0x496)](_0x1e1750),this;}[_0x3f2ec9(0x1c6)](_0x594c72){const _0x89b66b=_0x3f2ec9;return this[_0x89b66b(0x544)]['push'](_0x594c72),this;}[_0x3f2ec9(0x2fe)](_0x4164c7){const _0x5a8f5f=_0x3f2ec9;if(this[_0x5a8f5f(0x4c6)])return this[_0x5a8f5f(0x398)]=this[_0x5a8f5f(0x4c6)],this['_awaitingChangeset']=null,this;throw new Error(_0x5a8f5f(0x547));}[_0x3f2ec9(0x53c)](_0x3d7236){const _0x2c2b79=_0x3f2ec9;return this[_0x2c2b79(0x37b)](!!(_0x3d7236!=null&&_0x3d7236[_0x2c2b79(0x5c2)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x4364a5=_0x3f2ec9;return this[_0x4364a5(0x469)][_0x4364a5(0x262)](ye,this[_0x4364a5(0x350)],this['type'],this[_0x4364a5(0x4c6)],this[_0x4364a5(0x52a)],this[_0x4364a5(0x4ab)]);}[_0x3f2ec9(0x26a)](){return this;}[_0x3f2ec9(0x37b)](_0x2edb4f){const _0x34fecf=_0x3f2ec9;return this[_0x34fecf(0x469)]['createInstance'](Re,this[_0x34fecf(0x350)],this[_0x34fecf(0x4e4)],this[_0x34fecf(0x4c6)],this[_0x34fecf(0x52a)],this[_0x34fecf(0x4ab)],_0x2edb4f);}};he=Le([A(0x7,_0x127ed5(_0x846a04)),A(0x8,_0x127ed5(_0x5633d8)),A(0x9,_0x127ed5(q)),A(0xa,_0x2a6a1c),A(0xb,_0x49a021),A(0xc,_0x42df5e),A(0xd,_0x1ba0e0)],he);function Ai(_0xc782bd,_0x35aeff,_0x37e051,_0xcc2cd0,_0x4a40f5,_0x4311f6){const _0x1dac15=_0x3f2ec9;return _0xcc2cd0&&_0x4a40f5[_0x1dac15(0x3a7)]?_0xc782bd[_0x1dac15(0x262)](ge,_0x35aeff,_0x37e051,_0xcc2cd0,_0x4a40f5,_0x4311f6,void 0x0):_0xcc2cd0?_0xc782bd[_0x1dac15(0x262)](Te,_0x35aeff,_0x37e051,_0xcc2cd0,_0x4311f6):_0x4a40f5['length']?_0xc782bd[_0x1dac15(0x262)](pe,_0x35aeff,_0x37e051,_0x4a40f5,_0x4311f6):_0xc782bd[_0x1dac15(0x262)](Fe,_0x35aeff,_0x37e051,_0x4311f6);}var So=Object['defineProperty'],Io=Object['getOwnPropertyDescriptor'],Es=(_0x35d96d,_0x904dbc,_0x3ef83e,_0x360de1)=>{const _0x1539d9=_0x3f2ec9;for(var _0x38cba0=_0x360de1>0x1?void 0x0:_0x360de1?Io(_0x904dbc,_0x3ef83e):_0x904dbc,_0x57ecb4=_0x35d96d[_0x1539d9(0x3a7)]-0x1,_0x4bc229;_0x57ecb4>=0x0;_0x57ecb4--)(_0x4bc229=_0x35d96d[_0x57ecb4])&&(_0x38cba0=(_0x360de1?_0x4bc229(_0x904dbc,_0x3ef83e,_0x38cba0):_0x4bc229(_0x38cba0))||_0x38cba0);return _0x360de1&&_0x38cba0&&So(_0x904dbc,_0x3ef83e,_0x38cba0),_0x38cba0;},H=(_0x141ce9,_0x18580c)=>(_0x1a26db,_0x1b3759)=>_0x18580c(_0x1a26db,_0x1b3759,_0x141ce9);let gt=class extends _0x404743{constructor(_0x22bdf0,_0x33a912,_0x57b607,_0x48ebf7,_0xeb1d18,_0x550c03,_0x59a229,_0x41f9d5,_0x568731,_0xb2b895,_0x115af7,_0x5b3de9,_0x5633ae){const _0x5eae4d=_0x3f2ec9;super(),g(this,'_state$',new _0x286de7(null)),g(this,_0x5eae4d(0x3e0),this[_0x5eae4d(0x2ee)][_0x5eae4d(0x5d2)]()),g(this,_0x5eae4d(0x1c2)),g(this,_0x5eae4d(0x309),!0x1),g(this,_0x5eae4d(0x214),''),g(this,_0x5eae4d(0x274),0x0),g(this,'status$',this['state$'][_0x5eae4d(0x3c4)](_0xfcb617(_0x3a67f9=>_0x3a67f9?_0x3a67f9['status']:J[_0x5eae4d(0x377)]),_0xdc22d3(0x1))),g(this,_0x5eae4d(0x383),!0x1),g(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x22bdf0,this[_0x5eae4d(0x574)]=_0x33a912,this['_type']=_0x57b607,this[_0x5eae4d(0x469)]=_0x48ebf7,this[_0x5eae4d(0x485)]=_0xeb1d18,this['_compressMutationService']=_0x550c03,this[_0x5eae4d(0x311)]=_0x59a229,this[_0x5eae4d(0x2f8)]=_0x41f9d5,this[_0x5eae4d(0x42f)]=_0x568731,this[_0x5eae4d(0x39b)]=_0xb2b895,this[_0x5eae4d(0x2b6)]=_0x115af7,this[_0x5eae4d(0x2ff)]=_0x5b3de9,this[_0x5eae4d(0x596)]=_0x5633ae);}get[_0x3f2ec9(0x408)](){const _0x288d7c=_0x3f2ec9;return this[_0x288d7c(0x1c2)];}async[_0x3f2ec9(0x282)](){const _0x54663a=_0x3f2ec9;if(this[_0x54663a(0x408)])throw new Error(_0x54663a(0x223));await this[_0x54663a(0x51f)]();}[_0x3f2ec9(0x2dd)](){const _0x195b15=_0x3f2ec9;return this[_0x195b15(0x309)]=!0x0,_0x5d23c9(()=>{const _0x15229d=_0x195b15;this[_0x15229d(0x309)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3f2ec9(0x55b)](_0x128f99){const _0x4e0928=_0x3f2ec9;this[_0x4e0928(0x1c2)]=_0x128f99,this[_0x4e0928(0x2ee)][_0x4e0928(0x3f5)](_0x128f99);}async[_0x3f2ec9(0x51f)](){const _0x42127d=_0x3f2ec9;var _0x121cbc;this[_0x42127d(0x55b)](await this[_0x42127d(0x286)]()),this[_0x42127d(0x596)]&&((_0x121cbc=this[_0x42127d(0x596)])==null||_0x121cbc['editingUnit'](this[_0x42127d(0x350)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x42127d(0x362)](this[_0x42127d(0x350)])['subscribe'](_0x456ef7=>{const _0x2152c3=_0x42127d;this['_logService'][_0x2152c3(0x59b)](_0x2152c3(0x25d),_0x2152c3(0x25a),_0x456ef7),_0x456ef7===Di[_0x2152c3(0x277)]?(this[_0x2152c3(0x2b6)]['show']({'content':this[_0x2152c3(0x311)]['t'](_0x2152c3(0x4f4)),'type':_0x196a0e[_0x2152c3(0x5d3)]}),this[_0x2152c3(0x2ff)][_0x2152c3(0x41e)](new _0x4ea9fe(this['unitID'])['id'],!0x1),this['_permissionService'][_0x2152c3(0x3f1)](!0x1)):(this[_0x2152c3(0x2ff)][_0x2152c3(0x41e)](new _0x4ea9fe(this['unitID'])['id'],!0x0),this[_0x2152c3(0x2ff)][_0x2152c3(0x3f1)](!0x0));})));let _0x502991=!0x1;return this['disposeWithMe'](this['session'][_0x42127d(0x4b4)][_0x42127d(0x27a)](_0x665e79=>{const _0x362727=_0x42127d;_0x665e79===ve['ONLINE']?this[_0x362727(0x38a)](_0x502991):_0x665e79===ve['OFFLINE']&&(_0x502991=!0x0,this[_0x362727(0x2e9)]());})),this[_0x42127d(0x324)](this[_0x42127d(0x574)][_0x42127d(0x34d)][_0x42127d(0x27a)](_0x17f90a=>{const _0x4d0673=_0x42127d;try{switch(_0x17f90a[_0x4d0673(0x56b)]){case _0x371f1e[_0x4d0673(0x2d7)]:{this[_0x4d0673(0x5d1)](_0x39ab7f(_0x17f90a[_0x4d0673(0x399)]));break;}case _0x371f1e[_0x4d0673(0x254)]:{this['_onRemoteACK'](_0x17f90a[_0x4d0673(0x399)]);break;}case _0x371f1e[_0x4d0673(0x553)]:{this['_onRemoteRejected']();break;}case _0x371f1e['CHANGESET_SHOULD_RETRY']:{this[_0x4d0673(0x576)](_0x17f90a[_0x4d0673(0x399)]);break;}case _0x371f1e[_0x4d0673(0x290)]:{this['_onFetchMissResult'](_0x17f90a[_0x4d0673(0x399)]['changesets'][_0x4d0673(0x26f)](_0x31b869=>_0x39ab7f(_0x31b869)));break;}case _0x371f1e[_0x4d0673(0x292)]:this[_0x4d0673(0x3d2)]({'isPermissionRej':!0x0});}}catch(_0x51a80c){throw console[_0x4d0673(0x3b5)](_0x4d0673(0x4a8),_0x51a80c),_0x51a80c;}})),this[_0x42127d(0x1c2)];}['_unlockTransition'](){const _0x3cd562=_0x3f2ec9;this[_0x3cd562(0x383)]=!0x1;}[_0x3f2ec9(0x260)](){const _0x3dc7f9=_0x3f2ec9;if(this[_0x3dc7f9(0x383)])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;}['_onLocalMutation'](_0x2aef6c){const _0x200bf4=_0x3f2ec9;this[_0x200bf4(0x260)](),this['_updateState'](this[_0x200bf4(0x1c2)][_0x200bf4(0x4bf)](_0x2aef6c)),this[_0x200bf4(0x26d)]();}['_onRemoteChangeset'](_0x2c079b){const _0x38fc14=_0x3f2ec9;if(!(_0x2c079b[_0x38fc14(0x2d8)]<=this['_revisionService'][_0x38fc14(0x51a)](this[_0x38fc14(0x350)]))){if(this[_0x38fc14(0x309)]){this[_0x38fc14(0x1ca)][_0x38fc14(0x496)](_0x2c079b);return;}this['_applyRemoteChangeset'](_0x2c079b);}}[_0x3f2ec9(0x2c1)](){const _0x56c13a=_0x3f2ec9;this[_0x56c13a(0x1ca)]['forEach'](_0x296f85=>this[_0x56c13a(0x476)](_0x296f85)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x202bd1){const _0xd07d73=_0x3f2ec9,_0x27411b=this[_0xd07d73(0x349)][_0xd07d73(0x431)][_0xd07d73(0x466)](this[_0xd07d73(0x349)][_0xd07d73(0x431)][_0xd07d73(0x5d6)]()['COMPRESS_MUTATION_APPLY'])(_0x202bd1[_0xd07d73(0x3e6)],null)||_0x202bd1['mutations'],_0x43ecd9={..._0x202bd1,'mutations':_0x27411b};this[_0xd07d73(0x260)](),this['_updateState'](this[_0xd07d73(0x1c2)][_0xd07d73(0x1c6)](_0x43ecd9)),this['_unlockTransition']();}[_0x3f2ec9(0x1f5)](_0x465af6){const _0x13b8b5=_0x3f2ec9;this[_0x13b8b5(0x260)](),this['_updateState'](this['_state'][_0x13b8b5(0x2fe)](_0x465af6)),this[_0x13b8b5(0x26d)]();}[_0x3f2ec9(0x3d2)](_0x174125){const _0x18697a=_0x3f2ec9;this[_0x18697a(0x260)](),this[_0x18697a(0x55b)](this[_0x18697a(0x1c2)][_0x18697a(0x53c)](_0x174125)),this[_0x18697a(0x26d)]();}['_onRemoteRetry'](_0x453f44){const _0x14e2f6=_0x3f2ec9;this[_0x14e2f6(0x260)](),this[_0x14e2f6(0x55b)](this[_0x14e2f6(0x1c2)][_0x14e2f6(0x4d7)](_0x453f44)),this[_0x14e2f6(0x26d)]();}[_0x3f2ec9(0x4ec)](_0x3a1f73){const _0x514518=_0x3f2ec9;if(!(this[_0x514518(0x1c2)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x771ef6=_0x3a1f73[_0x514518(0x26f)](_0x61d66=>{const _0x4c3f5f=_0x514518,_0x333213=this[_0x4c3f5f(0x349)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x4c3f5f(0x431)]['getInterceptPoints']()[_0x4c3f5f(0x1f2)])(_0x61d66[_0x4c3f5f(0x3e6)],null)||_0x61d66[_0x4c3f5f(0x3e6)];return{..._0x61d66,'mutations':_0x333213};});this[_0x514518(0x260)](),this[_0x514518(0x55b)](this['_state'][_0x514518(0x45b)](_0x771ef6)),this[_0x514518(0x26d)]();}[_0x3f2ec9(0x2e9)](){const _0x3625a6=_0x3f2ec9;this[_0x3625a6(0x260)](),this[_0x3625a6(0x55b)](this[_0x3625a6(0x1c2)][_0x3625a6(0x509)]()),this[_0x3625a6(0x26d)]();}[_0x3f2ec9(0x38a)](_0x3bf9ee=!0x1){const _0x4d49ab=_0x3f2ec9;this[_0x4d49ab(0x260)](),this['_updateState'](this[_0x4d49ab(0x1c2)][_0x4d49ab(0x26a)]()),this[_0x4d49ab(0x26d)]();const _0x4625f0=this['_state'];_0x3bf9ee&&_0x4625f0 instanceof Fe&&(this['_lockTransition'](),this[_0x4d49ab(0x55b)](_0x4625f0[_0x4d49ab(0x467)]()),this[_0x4d49ab(0x26d)]());}async[_0x3f2ec9(0x286)](){return new Promise(_0x5353a9=>{const _0x1d9ed0=_0x1414;this[_0x1d9ed0(0x574)][_0x1d9ed0(0x4b4)][_0x1d9ed0(0x3c4)](_0x1f972f(0x1))[_0x1d9ed0(0x27a)](async _0x648f7d=>{const _0x4509cf=_0x1d9ed0;_0x5353a9(await this[_0x4509cf(0x27b)](_0x648f7d===ve['ONLINE']));});});}[_0x3f2ec9(0x475)](){const _0x2f47e3=_0x3f2ec9,_0x293d74=this[_0x2f47e3(0x350)];return{'onStateChange':(_0x2e5399,_0x5e56a5)=>{const _0x1d67a4=_0x2f47e3;if(_0x2e5399!==this['_state'])throw new Error(_0x1d67a4(0x4e6)+_0x2e5399[_0x1d67a4(0x288)]+_0x1d67a4(0x32f)+_0x5e56a5['status']+'\x0aCurrent:\x20'+this['_state'][_0x1d67a4(0x288)]);this[_0x1d67a4(0x55b)](_0x5e56a5);},'onSendChangeset':_0x256d72=>{const _0x5bdc49=_0x2f47e3;_0x256d72[_0x5bdc49(0x5c9)]||(_0x256d72[_0x5bdc49(0x5c9)]=this['_changesetSessionId'],_0x256d72[_0x5bdc49(0x3cb)]=++this[_0x5bdc49(0x274)]);const _0x1eccf4={'eventID':_0x371f1e['SUBMIT_CHANGESET'],'data':{'unitID':_0x256d72['unitID'],'unitType':this[_0x5bdc49(0x531)],'changeset':_0x256d72,'memberID':this[_0x5bdc49(0x574)][_0x5bdc49(0x526)]()}};this['session'][_0x5bdc49(0x446)](_0x1eccf4,this[_0x5bdc49(0x350)]);},'onMissingChangesets':({from:_0xba6ef8,to:_0x2d3c0})=>{const _0x16c138=_0x2f47e3;this[_0x16c138(0x42f)][_0x16c138(0x59b)](_0x16c138(0x25d),_0x16c138(0x4b5)+_0xba6ef8+_0x16c138(0x342)+_0x2d3c0);const _0xe9800a={'eventID':_0x371f1e['FETCH_MISSING'],'data':{'unitID':_0x293d74,'unitType':this[_0x16c138(0x531)],'from':_0xba6ef8,'to':_0x2d3c0}};this[_0x16c138(0x574)]['send'](_0xe9800a,this[_0x16c138(0x350)]);}};}async[_0x3f2ec9(0x27b)](_0x257237){const _0x5b4d83=_0x3f2ec9;var _0x1f1b0b,_0x458c2a;const _0x6c2f6e=await this[_0x5b4d83(0x485)][_0x5b4d83(0x53d)](this[_0x5b4d83(0x350)]),_0x238bf0=(_0x1f1b0b=_0x6c2f6e==null?void 0x0:_0x6c2f6e['mutations'])!=null?_0x1f1b0b:[],_0x3f09d0=(_0x458c2a=_0x6c2f6e==null?void 0x0:_0x6c2f6e[_0x5b4d83(0x3cf)])!=null?_0x458c2a:null,_0x108ff4=!!(_0x3f09d0!=null&&_0x3f09d0[_0x5b4d83(0x5c9)])&&!!(_0x3f09d0!=null&&_0x3f09d0[_0x5b4d83(0x3cb)]);this[_0x5b4d83(0x214)]=_0x108ff4?_0x3f09d0[_0x5b4d83(0x5c9)]:zr(),this[_0x5b4d83(0x274)]=_0x108ff4?_0x3f09d0['reqId']:0x0;const _0x1ba59c=this[_0x5b4d83(0x350)];try{this['_replayCachedMutations'](_0x3f09d0,_0x238bf0);}catch(_0x114d65){this[_0x5b4d83(0x42f)][_0x5b4d83(0x3b5)](_0x114d65);}const _0x3b4edd=this[_0x5b4d83(0x475)]();if(_0x257237){const _0x38321f=Ai(this[_0x5b4d83(0x469)],_0x1ba59c,this[_0x5b4d83(0x531)],_0x3f09d0,_0x238bf0,_0x3b4edd);return _0x38321f instanceof pe?_0x38321f[_0x5b4d83(0x5b3)]():(_0x38321f instanceof ge||_0x38321f instanceof Te)&&_0x38321f[_0x5b4d83(0x1cc)](),_0x38321f;}return this[_0x5b4d83(0x469)][_0x5b4d83(0x262)](ye,_0x1ba59c,this['_type'],_0x3f09d0,_0x238bf0,_0x3b4edd);}[_0x3f2ec9(0x427)](_0x296c7a,_0x4382b6){const _0x39c67a=_0x3f2ec9;var _0x1b2e7d,_0x31f5ee;const _0x40212b=this[_0x39c67a(0x349)][_0x39c67a(0x431)][_0x39c67a(0x466)](this['_compressMutationService'][_0x39c67a(0x431)][_0x39c67a(0x5d6)]()['COMPRESS_MUTATION_APPLY']);(_0x1b2e7d=_0x40212b((_0x296c7a==null?void 0x0:_0x296c7a[_0x39c67a(0x3e6)])||[],null))==null||_0x1b2e7d[_0x39c67a(0x346)](_0x2500eb=>this['_commandService'][_0x39c67a(0x1d2)](_0x2500eb['id'],_0x2500eb['params'])),(_0x31f5ee=_0x40212b(_0x4382b6||[],null))==null||_0x31f5ee[_0x39c67a(0x346)](_0x4f60be=>this[_0x39c67a(0x39b)][_0x39c67a(0x1d2)](_0x4f60be['id'],_0x4f60be[_0x39c67a(0x562)]));}};gt=Es([H(0x3,_0x127ed5(_0x846a04)),H(0x4,_0x127ed5(q)),H(0x5,_0x127ed5(_0x2e95e0)),H(0x6,_0x127ed5(_0x4d6b84)),H(0x7,_0x127ed5(_0x5633d8)),H(0x8,_0x2a6a1c),H(0x9,_0x49a021),H(0xa,_0x79bb7b),H(0xb,_0x178a2e),H(0xc,_0x5c4d06(Rt))],gt);let ss=class extends gt{constructor(_0x234a6a,_0xcd047e,_0x536a72,_0xf85ff,_0x2e7d4f,_0x4c2b79,_0x1c0ef8,_0x313b35,_0x11c6d9,_0x436968,_0x1fdda6,_0x1924d2,_0x28ce23,_0x35f6b2,_0x5532a0,_0x1482ff,_0x273896,_0x290984){const _0x5882bf=_0x3f2ec9;super(_0x234a6a,_0x536a72,_0xcd047e,_0xf85ff,_0x2e7d4f,_0x4c2b79,_0x1c0ef8,_0x313b35,_0x35f6b2,_0x5532a0,_0x1482ff,_0x273896,_0x290984),this[_0x5882bf(0x350)]=_0x234a6a,this[_0x5882bf(0x4e4)]=_0xcd047e,this['_docStateChangeManagerService']=_0x11c6d9,this[_0x5882bf(0x512)]=_0x436968,this[_0x5882bf(0x41a)]=_0x1fdda6,this[_0x5882bf(0x572)]=_0x1924d2,this[_0x5882bf(0x276)]=_0x28ce23;}['_createHandler'](){const _0x3d4ad1=_0x3f2ec9,_0x4c0dfa=super[_0x3d4ad1(0x475)]();return _0x4c0dfa[_0x3d4ad1(0x4e8)]=_0x14f1ae=>this['_docTransformIMECacheService'][_0x3d4ad1(0x4de)](_0x14f1ae),_0x4c0dfa[_0x3d4ad1(0x39a)]=_0x23d1b6=>this[_0x3d4ad1(0x41a)][_0x3d4ad1(0x5a0)](_0x23d1b6),_0x4c0dfa[_0x3d4ad1(0x3df)]=_0x3326a3=>this[_0x3d4ad1(0x572)]['transformSelections'](_0x3326a3),_0x4c0dfa[_0x3d4ad1(0x313)]=_0x996803=>this['_docSyncEditingCollabCursorService'][_0x3d4ad1(0x4d1)](_0x996803),_0x4c0dfa[_0x3d4ad1(0x3fc)]=_0x3edbf1=>this[_0x3d4ad1(0x512)][_0x3d4ad1(0x281)](_0x3edbf1),_0x4c0dfa[_0x3d4ad1(0x32b)]=_0x122284=>this[_0x3d4ad1(0x41a)]['transformRemoteChangeset'](_0x122284),_0x4c0dfa;}async[_0x3f2ec9(0x51f)](){const _0x374e68=_0x3f2ec9,_0x5be6b6=await super[_0x374e68(0x51f)]();return this[_0x374e68(0x1c5)]['docStateChange$'][_0x374e68(0x3c4)](_0x54e638(this[_0x374e68(0x3e8)]))[_0x374e68(0x27a)](_0x2f42d2=>{const _0x3f7069=_0x374e68;if(_0x2f42d2==null)return;const {unitId:_0x3be17d,redoState:_0x485b3d,commandId:_0x4a870c}=_0x2f42d2;if(_0x3be17d!==this[_0x3f7069(0x350)])return;const _0xfa2856={'id':_0x4a870c,'type':_0x2597e7[_0x3f7069(0x5af)],'params':{'unitId':_0x3be17d,'actions':_0x485b3d[_0x3f7069(0x489)],'textRanges':null}};this[_0x3f7069(0x1f3)](_0xfa2856);}),_0x5be6b6;}};ss=Es([H(0x3,_0x127ed5(_0x846a04)),H(0x4,_0x127ed5(q)),H(0x5,_0x127ed5(_0x2e95e0)),H(0x6,_0x127ed5(_0x4d6b84)),H(0x7,_0x127ed5(_0x5633d8)),H(0x8,_0x127ed5(_0x2813e4)),H(0x9,_0x127ed5(ft)),H(0xa,_0x127ed5(mt)),H(0xb,_0x127ed5(pt)),H(0xc,_0x127ed5(Cs)),H(0xd,_0x2a6a1c),H(0xe,_0x49a021),H(0xf,_0x79bb7b),H(0x10,_0x178a2e),H(0x11,_0x5c4d06(Rt))],ss);let is=class extends gt{constructor(_0xe863a6,_0x1cbc9a,_0x2508d4,_0x5d8807,_0x23817e,_0x5d97f2,_0x54e8,_0x6f5eb,_0x431c49,_0x142d32,_0x4a305c,_0x1a5b8f,_0x1d6167,_0x5ec6b3){const _0x1f6a8f=_0x3f2ec9;super(_0xe863a6,_0x2508d4,_0x1cbc9a,_0x5d8807,_0x23817e,_0x5d97f2,_0x54e8,_0x6f5eb,_0x142d32,_0x4a305c,_0x1a5b8f,_0x1d6167,_0x5ec6b3),this[_0x1f6a8f(0x350)]=_0xe863a6,this[_0x1f6a8f(0x4e4)]=_0x1cbc9a,this[_0x1f6a8f(0x5bd)]=_0x431c49;}['_createHandler'](){const _0x166222=_0x3f2ec9,_0xa79e48=super[_0x166222(0x475)]();return _0xa79e48[_0x166222(0x3df)]=_0x4eb287=>this[_0x166222(0x5bd)][_0x166222(0x234)](_0x4eb287),_0xa79e48;}async[_0x3f2ec9(0x51f)](){const _0x5d09bc=_0x3f2ec9,_0x5c000d=await super[_0x5d09bc(0x51f)]();return this[_0x5d09bc(0x324)](this[_0x5d09bc(0x39b)][_0x5d09bc(0x21e)]((_0x256182,_0x3b338d)=>{const _0x1e5578=_0x5d09bc;if(_0x256182['type']!==_0x2597e7[_0x1e5578(0x5af)]||_0x3b338d!=null&&_0x3b338d[_0x1e5578(0x501)]||_0x3b338d!=null&&_0x3b338d[_0x1e5578(0x404)])return;const _0x44182d=_0x256182[_0x1e5578(0x562)];if((_0x44182d==null?void 0x0:_0x44182d['unitId'])!==this['unitID'])return;const _0x2fb3d5=_0x256182,_0x1cc9ef=this[_0x1e5578(0x349)][_0x1e5578(0x431)]['fetchThroughInterceptors'](this[_0x1e5578(0x349)][_0x1e5578(0x431)]['getInterceptPoints']()[_0x1e5578(0x215)])([_0x2fb3d5],null)||[_0x2fb3d5];this['_onLocalMutation'](_0x1cc9ef[0x0]);})),_0x5c000d;}};is=Es([H(0x3,_0x127ed5(_0x846a04)),H(0x4,_0x127ed5(q)),H(0x5,_0x127ed5(_0x2e95e0)),H(0x6,_0x127ed5(_0x4d6b84)),H(0x7,_0x127ed5(_0x5633d8)),H(0x8,_0x127ed5(vt)),H(0x9,_0x2a6a1c),H(0xa,_0x49a021),H(0xb,_0x79bb7b),H(0xc,_0x178a2e),H(0xd,_0x5c4d06(Rt))],is);var Co=Object[_0x3f2ec9(0x323)],Eo=Object[_0x3f2ec9(0x318)],bo=(_0x3897e6,_0x1ded14,_0x555545,_0x21e8cd)=>{const _0x5a5d3f=_0x3f2ec9;for(var _0x5e07c7=_0x21e8cd>0x1?void 0x0:_0x21e8cd?Eo(_0x1ded14,_0x555545):_0x1ded14,_0x483fdd=_0x3897e6[_0x5a5d3f(0x3a7)]-0x1,_0x19ed1d;_0x483fdd>=0x0;_0x483fdd--)(_0x19ed1d=_0x3897e6[_0x483fdd])&&(_0x5e07c7=(_0x21e8cd?_0x19ed1d(_0x1ded14,_0x555545,_0x5e07c7):_0x19ed1d(_0x5e07c7))||_0x5e07c7);return _0x21e8cd&&_0x5e07c7&&Co(_0x1ded14,_0x555545,_0x5e07c7),_0x5e07c7;},Lt=(_0x478a58,_0x23a82a)=>(_0x4955d4,_0x3c7842)=>_0x23a82a(_0x4955d4,_0x3c7842,_0x478a58);let it=class extends _0x404743{constructor(_0x464dca,_0x293026,_0x1ee7a0){const _0x12d61e=_0x3f2ec9;super(),g(this,_0x12d61e(0x4b8),new Map()),g(this,_0x12d61e(0x5bb),new _0xf004ca()),(this[_0x12d61e(0x469)]=_0x464dca,this['_collabSessionService']=_0x293026,this[_0x12d61e(0x590)]=_0x1ee7a0,this[_0x12d61e(0x51f)]());}['dispose'](){const _0x4bacb2=_0x3f2ec9;super[_0x4bacb2(0x385)](),this['_entities']['forEach'](_0x84137d=>_0x84137d['dispose']()),this[_0x4bacb2(0x4b8)][_0x4bacb2(0x367)]();}[_0x3f2ec9(0x5c7)](_0x324025){const _0x3c3996=_0x3f2ec9;var _0xf767cb;return(_0xf767cb=this['_entities'][_0x3c3996(0x333)](_0x324025))!=null?_0xf767cb:null;}[_0x3f2ec9(0x382)](_0x46489f){const _0x4ba5d6=_0x3f2ec9,_0x2aae6e=this[_0x4ba5d6(0x5c7)](_0x46489f);return _0x2aae6e?_0x2a9475(_0x2aae6e):this[_0x4ba5d6(0x5bb)]['pipe'](_0x2d77f8(_0x55d24f=>_0x55d24f[_0x4ba5d6(0x350)]===_0x46489f));}['_init'](){const _0x5f32e4=_0x3f2ec9;this[_0x5f32e4(0x590)][_0x5f32e4(0x57b)](_0x1a8690[_0x5f32e4(0x54f)])['pipe'](_0x54e638(this[_0x5f32e4(0x3e8)]),_0x1882f0(0x10))[_0x5f32e4(0x27a)](async _0xc795c3=>{const _0xa66213=_0x5f32e4,_0x257350=_0xc795c3[_0xa66213(0x461)](),_0x1e5ea4=await this['_startCollaboration'](_0x257350,ce[_0xa66213(0x54f)]);this['_entities']['set'](_0x257350,_0x1e5ea4);}),this[_0x5f32e4(0x590)][_0x5f32e4(0x57b)](_0x1a8690[_0x5f32e4(0x32a)])[_0x5f32e4(0x3c4)](_0x54e638(this[_0x5f32e4(0x3e8)]),_0x1882f0(0x10))[_0x5f32e4(0x3c4)](_0x2d77f8(_0x551888=>!_0x551888[_0x5f32e4(0x461)]()[_0x5f32e4(0x4db)]('__')))['subscribe'](async _0x4d9bd3=>{const _0x4e01eb=_0x5f32e4,_0x370346=_0x4d9bd3[_0x4e01eb(0x461)](),_0x2572a9=await this[_0x4e01eb(0x33a)](_0x370346,ce[_0x4e01eb(0x32a)]);this[_0x4e01eb(0x4b8)][_0x4e01eb(0x250)](_0x370346,_0x2572a9);}),_0x54a5bf(this[_0x5f32e4(0x590)][_0x5f32e4(0x31d)](_0x1a8690[_0x5f32e4(0x54f)]),this[_0x5f32e4(0x590)]['getTypeOfUnitDisposed$'](_0x1a8690[_0x5f32e4(0x32a)]))[_0x5f32e4(0x3c4)](_0x54e638(this[_0x5f32e4(0x3e8)]))['subscribe'](_0x5c63c9=>{const _0x4878c6=_0x5f32e4,_0x2946c6=_0x5c63c9[_0x4878c6(0x461)](),_0x528491=this['_entities']['get'](_0x2946c6);_0x528491&&(_0x528491[_0x4878c6(0x385)](),this[_0x4878c6(0x4b8)][_0x4878c6(0x1c4)](_0x2946c6));});}async[_0x3f2ec9(0x33a)](_0xb88e84,_0x4f35b7){const _0x309cc9=_0x3f2ec9,_0x192059=await this[_0x309cc9(0x2db)][_0x309cc9(0x58e)](_0xb88e84),_0x418b09=this[_0x309cc9(0x469)][_0x309cc9(0x262)](this['_getCtorByUniverType'](_0x4f35b7),_0xb88e84,_0x4f35b7,_0x192059);return await _0x418b09[_0x309cc9(0x282)](),this['_entityInit$'][_0x309cc9(0x3f5)](_0x418b09),_0x418b09;}[_0x3f2ec9(0x2fb)](_0x5d5c79){const _0x442cab=_0x3f2ec9;switch(_0x5d5c79){case ce[_0x442cab(0x32a)]:return ss;case ce[_0x442cab(0x54f)]:return is;default:throw new Error(_0x442cab(0x257)+_0x5d5c79);}}};it=bo([Lt(0x0,_0x127ed5(_0x846a04)),Lt(0x1,_0x127ed5(Ae)),Lt(0x2,_0x4c4975)],it);const Gs=[_0x3f2ec9(0x3e2),_0x3f2ec9(0x266),'verdancy600',_0x3f2ec9(0x5c8),_0x3f2ec9(0x2f3),_0x3f2ec9(0x23e)];class bs extends _0x4bee31{constructor(){const _0xa5d1ad=_0x3f2ec9;super(...arguments),g(this,_0xa5d1ad(0x4e9),new Map()),g(this,_0xa5d1ad(0x1ff),0x0);}[_0x3f2ec9(0x56c)](_0x59d207){const _0x456e0e=_0x3f2ec9;if(this['_assignedColors'][_0x456e0e(0x25f)](_0x59d207))return this[_0x456e0e(0x4e9)][_0x456e0e(0x333)](_0x59d207);const _0x2ce6c3=Gs[this[_0x456e0e(0x1ff)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Gs[_0x456e0e(0x3a7)],this[_0x456e0e(0x4e9)]['set'](_0x59d207,_0x2ce6c3),_0x2ce6c3;}}var To=Object[_0x3f2ec9(0x323)],Ro=Object['getOwnPropertyDescriptor'],yo=(_0x436e37,_0x47470d,_0x4e130d,_0x46a018)=>{const _0x21179b=_0x3f2ec9;for(var _0x68b9ef=_0x46a018>0x1?void 0x0:_0x46a018?Ro(_0x47470d,_0x4e130d):_0x47470d,_0x13c6f9=_0x436e37[_0x21179b(0x3a7)]-0x1,_0x187807;_0x13c6f9>=0x0;_0x13c6f9--)(_0x187807=_0x436e37[_0x13c6f9])&&(_0x68b9ef=(_0x46a018?_0x187807(_0x47470d,_0x4e130d,_0x68b9ef):_0x187807(_0x68b9ef))||_0x68b9ef);return _0x46a018&&_0x68b9ef&&To(_0x47470d,_0x4e130d,_0x68b9ef),_0x68b9ef;},Oe=(_0x22866d,_0xc61082)=>(_0x420d4c,_0x175117)=>_0xc61082(_0x420d4c,_0x175117,_0x22866d);const Oo=0x12c,wo=0x64;function _0x27e6(){const _0x25ea8f=['_doReset','focused$','SNAPSHOT_HAS_BEEN_REMOVED','_commentService','_substituteRedoStack','lineTo','PasswordBasedCipher','_retryCount','_localCacheService','compute','_removeClearOtherTimer','undoState','actions','row','onMouseMove','...','none','collabStatus.syncing','SNAPSHOT_URL_KEY','getCollabCursors$','_clearHeartbeatTimer','complete','/universer-api/comb','repeat','FileId','push','?size=','withCredentials','_setupSubUnitSync','entries','abs','registerComponent','_DEC_XFORM_MODE','APPLY_PERMISSION_DENIED','makeDirty','_hover','permissionRejEvent','exports','routeKey','UNAUTHENTICATED','_socket$','setUndoRedoMutationParamsCache','_snapshotServerService','Error\x20on\x20receiving\x20event','_candidateSocket','_commentUpdate$','_handler','_notificationService','_ensureSubject','addObject','UNRECOGNIZED','_removeRoom','_transformHistoryAndStateStack','onPointerEnter$','_unitStatus','sessionStatus$','fetching\x20missing\x20changesets\x20from\x20','roomMembers$','Utf8','_entities','_renderManagerService','listCollaborators','unsubscribe','subunit','awaiting','_resendTimeout','appendMutation','save\x20fail\x20reason\x20is\x20','_initStatusListener','StreamCipher','/universer-api/stream/file/upload','[SyncedState]:\x20received\x20rejection.','_socketReady','_awaitingChangeset','DeleteRangeMoveUpCommandId','_showConflictNotification','[DataLoaderController]','_config','baseRev','addImageSourceCache','currentSkeleton$','_refRangeService','SHOULD_CLOSE_CONN','collaboration-session-retry','syncEditingCollabCursor','getConfig','getSheetBySheetId','LICENSE_MAX_UNITS_EXCEEDED','moveTo','NOT_FOUND','onRemoteRetry','awaiting_with_pending','_ENC_XFORM_MODE','_members','startsWith','fetch_missing','Undefined','transformIMECache','registerRefRange','14024JvPKuX','saveOfflineData','registerHTTPInterceptor','_onConnectionOpen','type','decrypt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','transformChangesets','onTransformIME','_assignedColors','_getRedoStack','range','_onFetchMissResult','selections','number','clipPath','_telemetryInfo','[UniverCollaborationClientPlugin]','unshift','clearInterval','collaboration.single-unit.warning','_initResize','HEARTBEAT','hovered','1198913SRXxnm','_getAPIPrefix','LIVESHARE_NEW_HOST','0\x200\x2016\x2016','redoState','_sendingTimer','every','_HTTPService','attrs','fromCollab','getSheetBlock','findNodePositionByCharIndex','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','endRow','string','sheetID','splice','toggleOffline','_initRequestHeader','_onRecvEvent','LOCAL_CACHE_INTERVAL','LICENSE_IMPORT_SIZE_EXCEEDED','[PendingState]:\x20received\x20acknowledgement.','getRandomValues','JOINING','_startTelemetryCollaborationNewChangeset','_docTransformIMECacheService','className','enableLocalCache','pad','_name','deleteCollaborator','12cmdaVe','reconnect','getCurrentRevOfUnit','getParam','_colorAssignService','padding','isActive','_init','237933VRxQWq','collaboration_new_changeset','objectType','[CollaborationSession]','collabCursorState$','_clearLocalCache','getMemberID','post','objects','__Key__','_pendingMutations','ENSURE_SNAPSHOT_EXECUTION','_shouldReportTelemetry','setWaitCount','/role','_waitForHeartbeatResponse','UNKNOWN_CMD','_type','trim','name','AWAITING_WITH_PENDING','_uiPartsService','setShapeProps','[CollaborationSessionService]','_cursorShapes','_initUnitPermissionChange','registerOnClose','getCurrentSelections','onRemoteRej','loadOfflineData','_anchor','_process','0\x200\x2017\x2016','split','_nDataBytes','/collaborator','_queuedRemoteChangesets','_invKeySchedule','_stopTelemetryCollaborationNewChangeset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getFocusedUnit','charCodeAt','cursorInfo$','_userManagerService','getRelativeToViewportCoord','USERS_ENTER','now','UNIVER_SHEET','getDeserializedSheetBlock','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','__creator','CHANGESET_REJ','_doCryptBlock','getCurrentUser','OffLineSingle','_cursors','socket\x20close','INVALID_ARGUMENT','idSuffix','_updateState','unknown','setConfig','values','exhaustSavingTask','/object','/-/object/-/batch_allowed','params','_replaceFileID','_removeCollabCursors','_online','_listenToOnlineEvent','getActiveSheet','_hideTimer','_send','commentUpdate$','eventID','assignAColorForMemberID','_session','replaceDocRanges','_eventUnsubscribe','call','top','_docTransformSelectionsService','_onRefRangeChange','session','pushState','_onRemoteRetry','csAckEvent','_updateStatus','_getSendChangesetTimeout','ERROR_IMAGE_TYPE','getTypeOfUnitAdded$','urlChange$','/allowed','body','off-line-single_clip0_910_343','join','onload','url','ws://127.0.0.1:8000/universer-api/comb/connect','YUUMI_RATE_OVER_LIMIT','_doProcessBlock','[CollaborationUndoRedoService]','AES','getUndoRedoMutationParamsCache','resourceIDs','_sendHeartbeat','saveSheetBlock','_getScale','encode','requireSession','BlockCipher','_univerInstanceService','_textBubble','message$','UniverIcon','_clearUndo','getActiveRange','_singleActiveUnitService','listRoles','_cipher','transformUndoRedo','_handleHeartbeatEvent','debug','createCollaborator','show','Cipher','find','transformStateCache','stringify','TEXT','collabStatus.synced','objectID','height','fillStyle','UPDATE_PERMISSION_OBJ','_doFinalize','HEADER_MENU','_scheduleSaving','isEditing','getItem','_setupBeforeClosingHandler','currentColor','MUTATION','_refreshCollabCursors','YUUMI_URL_COL_OUT_OF_RANGE','words','_schedule','_configService','signUrlServerUrl','_clearTimeoutTimer','_getAnchorBounding','replaceState','jsx','all','_entityInit$','Unknown\x20user','_sheetTransformSelectionsService','_scheduleHeartbeat','/block/','CHANGESET_REVISION_CONFILICT','open$','isPermissionRej','getStateCache','DeleteRangeMoveLeftCommandId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformUndoredo','getCollabEntity','red300','sid','_hash','blockSize','_onMessage','_decreaseWaiting','children','path','USERS_LEAVE','_onRemoteChangeset','asObservable','Warning','ciphertext','toString','getInterceptPoints','_iKey','randomBytes','bind','_getDownloadEndpointURL','unit-cache-','color','font','updateCollaborator','_unitOnClients','_isPermissionRej','_state','fillText','delete','_docStateChangeManagerService','onRemoteChangeset','format','catch','RETRY_CONNECTING_MAX_COUNT','_remoteChangesetQueue','activeSheet$','resend','setActiveRange','socketService','_collabCursorState$','_timeoutTimer','measureText','executeCommand','_xformMode','location','_updateLocalCursor','beginPath','on-line-single_clip0_910_349','_ws','_keyPriorReset','hostname','defs','collabSubmitChangesetUrl','_socket','image/jpg','UNDEFINED','SHA1','_onCursorDelete','cmd','url(#off-line-single_clip0_910_343)','synced','_status$','prototype','_incrementRevisionNumber','_socketMessageSubscription','_selfUnitIDs','loadDoc','liveShareOperation','Decryptor','_clearScheduledTask','copyFileMeta','_waitCount','doc.mutation.rich-text-editing','_instanceService','COMPRESS_MUTATION_APPLY','_onLocalMutation','UnitSnapshot','_onRemoteACK','createDecryptor','retryConnectingInterval','_drawTextRange','_scene','getLatestCsReqIdBySid','collaboratorID','width','_snapshotService','APPLY_DUPLICATED','_colorIndex','_onConnectionFailed','_resendWithTimeout','for','RemoveColCommandId','_color','svg','_transformRemoteChangesetByStateCache','loadSheet','_cursorInfo$','2465050tTlbbf','_throwTelemetryCollaborationNewChangeset','_scheduleTimestamp','hidden','_imageSourceCache','#FFF','Could\x20not\x20dynamically\x20require\x20\x22','Malformed\x20UTF-8\x20data','PERMISSION_DENIED','_getAPIPrefixPath','MD5','_changesetSessionId','COMPRESS_MUTATION_SEND','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','UPDATE_CURSOR','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_event$','onReady','onlineStatusIcon','downloadEndpointUrl','/new_changes','onCommandExecuted','_heartbeatTimer','_getUploadFileURL','salt','setTimeout','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','parse','_cachedData','SEND_CHANGESET_TIMEOUT','setInterval','reduce','_registerDependencies','mode','6396760doifnc','InsertRowCommandId','onTransformChange$','COMPLETION_FINISHED','_collaborationController','_sessions','_listenToOfflineEvent','telemetry\x20info\x20is\x20not\x20initialized','localeService','transformSelections','[SyncedState]:\x20received\x20acknowledgement.','setStateCache','sessionStatus','__esModule','use','ERROR_IMAGE','getUnhiddenWorksheets','conflict','status$','gold400','contains','_initCommandExecutedListener','_initCloseConn','APPLY_REJECT','ref','csShouldRetryEvent','keySize','_id','getUnitType','image/png','_initStatusComponent','_handleLeaveEvent','_transformStateCache','compose','clone','_mode','_onCombEvent','set','_transformService','#fff','collab-client.tooltip.reconnect','CHANGESET_ACK','reverse','_tryEnsureSocket','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','size','_createHmacHelper','editing\x20status\x20changed\x20to','sigBytes','_roomMembers','[CollaborationEntity]','UNIVER_UNKNOWN','has','_lockTransition','byteOffset','createInstance','_reverseMap','_loadSheet','2849WUGzXG','jiqing500','hasher','evenodd','requestParams','toggleOnline','getRangePointData','_onUserLeave','_unlockTransition','_updateLocalCache','map','_disabled','round','reject','getCellPositionByOffset','_changesetReqId','_handleEvent','_docSyncEditingCollabCursorService','OTHER_CLIENTS_EDITING','_loadDoc','InsertColCommandId','subscribe','_createInitialStateImpl','history','JOIN','off-line-single','getVpScrollXYInfoByPosToVp','generateRandomId','transformRemoteChangeset','init','/fetchmissing?from=','LEAVE','_onOffline','_createInitialState','duration','status','sheets','append','resize','byteLength','authzUrl','/universer-api/oidc/authpage','COMMENT_UPDATE','PSEUDO_FETCH_MISSING_RESULT','_startSheetCollabCursor','PERMISSION_REJ','/universer-api/authz','_onUserJoin','loginUrlKey','update','BlockCipherMode','getUnitOnRev','OnLineSingle','startTime','univer-offline','_disableEditing','collaboration.closeRoom','startRow','colorChannel1','hide','encodeURIComponent','_sender','_tryReconnect','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','readAsDataURL','restore','_render','INGEST','_sessionStatus$','_telemetryService','setCurrentUser','textRanges','target','put','with','UNIVER_PROJECT','COLLAB_WEB_SOCKET_URL','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_syncEditingCollabCursor','pending','href','_messageService','failed\x20to\x20apply\x20missed\x20changesets!','_scheduleClearOtherTimer','updateCursorEvent','subscribeEvent','includes','session.connection-failed','onlineStatusTitle','Error','_urlService','pluginName','_exhaustRemoteChangesetQueue','getSkeleton','close','collab-rect-range-','_cursor','InsertRangeMoveDownCommandId','connection\x20error','&source=','ranges','roomMembers','Base64','RECV','_getCurrentRevision','ALREADY_EXISTS','_checkMissing','getImageSourceCache','Base','reset','_socketService','_oKey','text','[PendingState]:\x20received\x20rejection.','NEW_CHANGESETS','revision','Latin1','_updateCollabCursors','_collabSessionService','LICENSE_DISTRO_REJECTED','pauseCollaboration','session.room-full','permission.content','extend','permission.title','_httpService','encrypt','_resendTimer','LOGIN_URL_KEY','univer-online-status-title','ERROR_EXCEED_SIZE','collabStatus.notCollab','_toggleOffline','removeMember','_beforeCloseService','resolve','HMAC','_state$','EvpKDF','setParam','_context','?url=','blue400','x-univer-host','_transformUndoRedoStack','FromArray','_minBufferSize','_revisionService','_saveTaskMap','src','_getCtorByUniverType','_updateURLWithCurrentState','unitId\x20is\x20not\x20found','onRemoteAck','_permissionService','LIVESHARE_TERMINATE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','close$','BufferedBlockAlgorithm','add','YUUMI_SUBSCRIPTION_NOT_FOUND','/universer-api/snapshot/','_clearCollaborationTimeoutTimer','rgba(255,\x20255,\x20255,\x200.01)','_collaborationPaused','min','_rescheduleHeartbeat','filter','_transformStack','bottom','5972820kSqZfa','[OfflineState]:\x20received\x20rejection.','_localeService','_hovered','onSyncEditingCollabCursor','getCurrent','_sendHeartbeatTimer','_unitID','getAncestorScale','getOwnPropertyDescriptor','userID','_data','getValue','visibilityState','getTypeOfUnitDisposed$','processBlock','tag','_iv','univer-online-status','fill','defineProperty','disposeWithMe','_getMergeRange','defaultProps','csRejEvent','newValue','clamp','UNIVER_DOC','onTransformRemoteChangesetByStateCache','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getUnit','RemoveRowCommandId','\x0aAfter:\x20','createSocket','42723RSNlBP','_handleHover','get','_fetchMissChangesets','floor','transformMutationsWithChangeset','addEventListener','registerRenderModule','Pkcs7','_startCollaboration','algo','YUUMI_UNABLE_LOAD_URL','PENDING','univer-pro.collaboration-client-socket-service','then','getRoom','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','\x20to\x20','headers','toLowerCase','HELLO','forEach','/rev/','snapshotServerUrl','_compressMutationService','ONLINE','max','setItem','event$','Hasher','HttpExport','unitID','_registerRenderDependencies','_drawRectRange','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ivSize','_clearOtherTimers','[OfflineState]:\x20received\x20changeset.','endColumn','CONNECTOR_DATA_TOO_LARGE','ceil','FETCH_MISS','random','collabStatus.fetchMiss','VIEW_MAIN','ACTIVE_UNIT_EVENT_CHANNEL','disableLocalCache','_onJoinRoomEvent','TOO_MANY_REQUESTS','getUnitStatus$','_backgroundColor','SYNCED','unload','code','clear','updateOfflineData','_anchorDot','startColumn','getOwnPropertySymbols','_scheduleCollaborationTimeoutTimer','disposeUnit','joinRsp','_docSkeleton','closeSession','div','LIVESHARE_REQUEST_HOST','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','FETCH_MISSING','msCrypto','closePath','OFFLINE','_startDocCollabCursor','react.element','_lastPointer','_onConflict','on-line-single','_onCursorUpdate','m1Prime','offline','displayName','getViewport','getCollabEntity$','_transitionLocked','shouldCloseConn','dispose','_getSaveTimeout','onSendChangeset','M0\x200H16V16H0z','_collaborationSessionService','_toggleOnline','session.collaboration-timeout','m2Prime','result','crypto','AWAITING','/-/object/list','image/gif','_document','APPLY_NON_SEQUENTIAL_REVISION','_range','getCurrentUnitForType','univerjs-icon\x20univerjs-icon-','url(#on-line-single_clip0_910_349)','_acknowledgedAwaitingChangeset','data','onTransformState','_commandService','change$','_getUndoStack','SUBMIT_CHANGESET','CHANGESET_SHOULD_RETRY','c1Prime','_themeService','_sheetSkeletonManagerService','_redoStacks','toRgbString','isArray','_shapes','length','replace','black','_retryConnectingTimer','updateMember','_transformRemoteChangesetByIMECache','indexOf','confirm','hasOwnProperty','formatter','collaMsg','collaboration-client.offline-data-not-saved','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','error','memberID','incrementRevOfUnit','c2Prime','NOT_COLLAB','_change$','enableSingleActiveInstanceLock','_joinRoom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','image/jpeg','icon','DEFAULT_FILE_NAME','symbol','snapshot','_hasher','pipe','_createSocket','onMissingChangesets','POST','UnitEmbedded','putCollaborators','UUID','reqId','AUTHZ_URL_KEY','_substituteUndoStack','url(#$1','awaitingChangeset','HEARTBEAT_TIMEOUT','[CollaborationState]:\x20apply\x20error!','_onRemoteRejected','/unit/','_saveCache','jsxs','decryptBlock','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','joinEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_transformSelections','finalize','assign','_append','arc','onTransformSelections','state$','SNAPSHOT_INVALID_SNAPSHOT','purple300','rng','skeleton','enableAuthServer','mutations','WordArray','dispose$','Hex','_labelPosition','/universer-api/snapshot','_roomMembers$','unit','_transformPreviousActiveRange','LICENSE_EXPORT_SIZE_EXCEEDED','InsertRangeMoveRightCommandId','setShowComponents','substr','refreshPermission','getRenderById','next','propertyIsEnumerable','\x20-\x20','\x20in\x20_schedule.','UNIVER_SLIDE','getSheetId','fetchMissingChangesets','onTransformRemoteChangesetByIMECache','create','1em','deepClone','xlink:href','transformMutation','createEncryptor','collaboration-client.config','onlyLocal','LIVESHARE_OPERATION','_draw','INTERNAL_ERROR','state','whenReady','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','lib','drawWith','Encryptor','submit\x20changeset\x20error!','_undoRedoService','enc','subUnitId','[OfflineState]:\x20received\x20acknowledgement.','collabWebSocketUrl','addObjects','_transformIMECache','function','_initMergeInterceptor','_http','onCommentUpdate','_docTransformStateCacheService','onlineStatus','randomUUID','uploadFileServerUrl','updatePermissionPoint','_keySchedule','_getSignURL','onRendered','column','unitId','from','key','action','_replayCachedMutations','getMergeData','cfg','engine','_collabCursorController','saveChangeset','save','encryptBlock','_logService','stopTime','interceptor','_getSheetObject','_localStorageService','react.fragment','override','IDLE','apply','_docSkeletonManagerService','OpenSSL','labelPosition','_getSnapshotAPIPrefix','_nRounds','commentUpdateEvent','slice','charAt','originalMeta','_collaborationTimeoutTimer','&assign=','cursorInfo','_memberService','searchParams','send','RECT','concat','responseType','session.will-retry','getMember','defIds','HmacMD5','changesets','_handleJoinEvent','_submitChangeset','8530XVcYfk','univer-online','selection','onPointerLeave$','currentTheme$','patch','newCsEvent','_updateSubUnitFromURLParams','SUCCUSS','mixIn','onMissedChangesetFetched','kdf','CBC','rev','fromCharCode','current','getUnitId','setAlpha','_initDependencies','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','_syncEditingCollabCursorService','fetchThroughInterceptors','fetchMiss','translate(.97)','_injector','_key','list','clearTimeout','_executeRemoteChangeset','_prevBlock','_clearRedo','object','collabStatus.conflict','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','$super','APPLY_REVISION_CONFILICT','_createHandler','_applyRemoteChangeset','/universer-api/file/{fileID}/sign-url','BASE64','LIVESHARE_FETCH_OPERATIONS','_createHelper','CONFLICT','default'];_0x27e6=function(){return _0x25ea8f;};return _0x27e6();}let ns=class extends _0x404743{constructor(_0x5c69b1,_0x4b0a8b,_0x4da223,_0x248740,_0x182387,_0x599d4b,_0x1c7994,_0x482047,_0x2b30f7){const _0x14f97f=_0x3f2ec9;super(),g(this,_0x14f97f(0x565),!0x1),g(this,'_init',!0x1),g(this,_0x14f97f(0x208),new _0x286de7(new Map())),g(this,'cursorInfo$',this['_cursorInfo$'][_0x14f97f(0x5d2)]()),g(this,_0x14f97f(0x3ec),new _0x286de7([])),g(this,_0x14f97f(0x4b6),this[_0x14f97f(0x3ec)]['pipe'](_0xa82325(Oo))),g(this,_0x14f97f(0x1d5),_0x58d671(_0x3edadf=>{const _0x1b1fbb=_0x14f97f,_0x29a78c={'eventID':_0x371f1e[_0x1b1fbb(0x217)],'data':{'unitID':this[_0x1b1fbb(0x350)],'memberID':this[_0x1b1fbb(0x56d)][_0x1b1fbb(0x526)](),'selection':Pi(_0x3edadf)}};this[_0x1b1fbb(0x56d)][_0x1b1fbb(0x446)](_0x29a78c,this['unitID']);},wo)),(this[_0x14f97f(0x350)]=_0x5c69b1,this[_0x14f97f(0x56d)]=_0x4b0a8b,this['_injector']=_0x4da223,this['_colorAssignService']=_0x248740,this[_0x14f97f(0x444)]=_0x182387,this[_0x14f97f(0x465)]=_0x599d4b,this['_transformService']=_0x1c7994,this['_univerInstanceService']=_0x482047,this[_0x14f97f(0x39b)]=_0x2b30f7);}get[_0x3f2ec9(0x443)](){const _0x27a4b9=_0x3f2ec9;return this[_0x27a4b9(0x208)][_0x27a4b9(0x31b)]();}get['roomMembers'](){const _0x41a644=_0x3f2ec9;return this[_0x41a644(0x3ec)][_0x41a644(0x31b)]();}[_0x3f2ec9(0x385)](){const _0x29c3d3=_0x3f2ec9;super[_0x29c3d3(0x385)](),this[_0x29c3d3(0x208)][_0x29c3d3(0x3f5)](new Map()),this[_0x29c3d3(0x208)][_0x29c3d3(0x492)](),this['_roomMembers$'][_0x29c3d3(0x3f5)]([]),this['_roomMembers$'][_0x29c3d3(0x492)]();}[_0x3f2ec9(0x282)](){const _0x19c21=_0x3f2ec9;this[_0x19c21(0x51f)]||(this['_init']=!0x0,this['_session'][_0x19c21(0x4b4)][_0x19c21(0x3c4)](_0x54e638(this[_0x19c21(0x3e8)]))[_0x19c21(0x27a)](_0x1a4450=>{const _0x23ee4a=_0x19c21;_0x1a4450===ve['ONLINE']?this['_toggleOnline']():this[_0x23ee4a(0x2e9)]();}),this['_session'][_0x19c21(0x34d)]['pipe'](_0x54e638(this[_0x19c21(0x3e8)]))[_0x19c21(0x27a)](_0x1f7c70=>{const _0x37a857=_0x19c21,_0x158d65=_0x1f7c70[_0x37a857(0x56b)];_0x158d65===_0x371f1e[_0x37a857(0x217)]&&this[_0x37a857(0x37d)](_0x1f7c70),_0x158d65===_0x371f1e[_0x37a857(0x5d0)]&&this[_0x37a857(0x1e1)](_0x1f7c70);}),this[_0x19c21(0x324)](this['_commandService'][_0x19c21(0x21e)](_0x2ab120=>{const _0x3e7ce2=_0x19c21,_0x2aeb8d=_0x2ab120['params'];_0x2aeb8d!=null&&this[_0x3e7ce2(0x565)]&&_0x2ab120['id']===_0x14c8d9['id']&&_0x2aeb8d[_0x3e7ce2(0x423)]===this[_0x3e7ce2(0x350)]&&_0x2aeb8d[_0x3e7ce2(0x5ab)]===!0x1&&_0x2aeb8d[_0x3e7ce2(0x2c9)][_0x3e7ce2(0x3a7)]>0x0&&this[_0x3e7ce2(0x1d5)](_0x2aeb8d[_0x3e7ce2(0x2c9)]);})),this[_0x19c21(0x465)]['collabCursorState$'][_0x19c21(0x3c4)](_0x54e638(this[_0x19c21(0x3e8)]))[_0x19c21(0x27a)](_0x2ea97d=>{const _0x44ca2b=_0x19c21;if((_0x2ea97d==null?void 0x0:_0x2ea97d[_0x44ca2b(0x350)])!==this[_0x44ca2b(0x350)])return;const _0x4d0fbd={'eventID':_0x371f1e[_0x44ca2b(0x217)],'data':_0x2ea97d};this['_onCursorUpdate'](_0x4d0fbd);}),this[_0x19c21(0x324)](this[_0x19c21(0x39b)][_0x19c21(0x21e)](_0xddd2f6=>{const _0x318cdf=_0x19c21;if(_0xddd2f6[_0x318cdf(0x562)]==null)return;const _0x539394=_0xddd2f6['params'];if(_0xddd2f6['id']!==_0x6aa10a['id']||_0x539394[_0x318cdf(0x423)]!==this['unitID'])return;const _0xb289e9={'id':_0x318cdf(0x1f0),'params':_0x539394},_0x16b90e=this[_0x318cdf(0x443)];for(const [_0x16073b,_0x50747e]of _0x16b90e){const _0x1dae29={'id':_0x318cdf(0x1f0),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x50747e['ranges']}},_0x3477f7=this[_0x318cdf(0x251)][_0x318cdf(0x401)](_0xb289e9,_0x1dae29,!0x1);if(_0x1d55d1(_0x3477f7))throw _0x3477f7[_0x318cdf(0x3b5)];_0x16b90e[_0x318cdf(0x250)](_0x16073b,{..._0x50747e,'ranges':_0x3477f7[_0x318cdf(0x38c)][_0x318cdf(0x562)]['textRanges']});}queueMicrotask(()=>{const _0x44e350=_0x318cdf;this[_0x44e350(0x208)][_0x44e350(0x3f5)](_0x16b90e);});})));}['_onCursorUpdate'](_0x5d9cbf){const _0x41e2ea=_0x3f2ec9;var _0x3ab1ad,_0x5ed7da;const {memberID:_0x5b0086,selection:_0x24a419}=_0x5d9cbf[_0x41e2ea(0x399)],_0x3dc6de=ho(_0x24a419),_0xf65fec=(_0x5ed7da=(_0x3ab1ad=this[_0x41e2ea(0x444)][_0x41e2ea(0x44b)](this[_0x41e2ea(0x350)],_0x5b0086))==null?void 0x0:_0x3ab1ad['name'])!=null?_0x5ed7da:_0x41e2ea(0x5bc),_0x3ac770={'color':this[_0x41e2ea(0x51c)][_0x41e2ea(0x56c)](_0x5b0086),'name':_0xf65fec,'ranges':_0x3dc6de},_0x4ee1a3=this[_0x41e2ea(0x443)];_0x4ee1a3[_0x41e2ea(0x250)](_0x5b0086,_0x3ac770),this[_0x41e2ea(0x208)][_0x41e2ea(0x3f5)](_0x4ee1a3);}[_0x3f2ec9(0x1e1)](_0xeebab3){const _0x438222=_0x3f2ec9,{memberID:_0x5d152a}=_0xeebab3[_0x438222(0x399)],_0x43592c=this['cursorInfo'];_0x43592c[_0x438222(0x1c4)](_0x5d152a),this[_0x438222(0x208)][_0x438222(0x3f5)](_0x43592c);}[_0x3f2ec9(0x38a)](){const _0x351381=_0x3f2ec9;var _0x1a883c;if(this[_0x351381(0x565)]=!0x0,((_0x1a883c=this[_0x351381(0x590)][_0x351381(0x548)]())==null?void 0x0:_0x1a883c[_0x351381(0x461)]())!==this[_0x351381(0x350)])return;const _0x35e4fb=this[_0x351381(0x469)][_0x351381(0x333)](_0x36c4dd)['getDocRanges']();Array[_0x351381(0x3a5)](_0x35e4fb)&&_0x35e4fb['length']>0x0&&this['_updateLocalCursor'](_0x35e4fb);}[_0x3f2ec9(0x2e9)](){const _0x102a30=_0x3f2ec9;this[_0x102a30(0x565)]=!0x1;}};ns=yo([Oe(0x2,_0x127ed5(_0x846a04)),Oe(0x3,_0x127ed5(bs)),Oe(0x4,_0x127ed5(Ne)),Oe(0x5,_0x127ed5(Cs)),Oe(0x6,_0x1ba0e0),Oe(0x7,_0x4c4975),Oe(0x8,_0x49a021)],ns);var Do=Object[_0x3f2ec9(0x323)],Po=Object[_0x3f2ec9(0x318)],Uo=(_0x1de457,_0x46d16e,_0x2ae4f0,_0x8d76d8)=>{const _0x54c546=_0x3f2ec9;for(var _0x214d37=_0x8d76d8>0x1?void 0x0:_0x8d76d8?Po(_0x46d16e,_0x2ae4f0):_0x46d16e,_0x3f37a7=_0x1de457[_0x54c546(0x3a7)]-0x1,_0x497aab;_0x3f37a7>=0x0;_0x3f37a7--)(_0x497aab=_0x1de457[_0x3f37a7])&&(_0x214d37=(_0x8d76d8?_0x497aab(_0x46d16e,_0x2ae4f0,_0x214d37):_0x497aab(_0x214d37))||_0x214d37);return _0x8d76d8&&_0x214d37&&Do(_0x46d16e,_0x2ae4f0,_0x214d37),_0x214d37;},Be=(_0x45f7bf,_0x4eedcd)=>(_0x2407a4,_0x49f8c6)=>_0x4eedcd(_0x2407a4,_0x49f8c6,_0x45f7bf);const No=0x12c,Ao=0x64,Mo=()=>{let _0x3bd4fe=[],_0x6f4689=!0x1;return _0x2e7a13=>{const _0x2763a3=_0x1414;_0x3bd4fe[_0x2763a3(0x496)](_0x2e7a13),_0x6f4689||(_0x6f4689=!0x0,setTimeout(()=>{const _0x3ead00=_0x2763a3;_0x3bd4fe[_0x3ead00(0x346)](_0x47a0e2=>_0x47a0e2()),_0x3bd4fe=[],_0x6f4689=!0x1;}));};};let rs=class extends _0x404743{constructor(_0x3f22c9,_0x21275b,_0x2408df,_0x17d9ab,_0x1e824b,_0x1fafbe,_0xb6f861,_0x2bc554){const _0x445f51=_0x3f2ec9;super(),g(this,_0x445f51(0x565),!0x1),g(this,_0x445f51(0x51f),!0x1),g(this,_0x445f51(0x208),new _0x286de7(new Map())),g(this,_0x445f51(0x54a),this[_0x445f51(0x208)][_0x445f51(0x5d2)]()),g(this,_0x445f51(0x3ec),new _0x286de7([])),g(this,_0x445f51(0x4b6),this['_roomMembers$'][_0x445f51(0x3c4)](_0xa82325(No))),g(this,_0x445f51(0x1d5),_0x58d671((_0xf6757a,_0x3f3d33)=>{const _0x4c515a=_0x445f51,_0x2bc044={'eventID':_0x371f1e[_0x4c515a(0x217)],'data':{'unitID':this[_0x4c515a(0x350)],'memberID':this[_0x4c515a(0x56d)][_0x4c515a(0x526)](),'selection':_0x874bec(_0xf6757a,_0x3f3d33[_0x4c515a(0x4eb)])}};this[_0x4c515a(0x56d)][_0x4c515a(0x446)](_0x2bc044,this[_0x4c515a(0x350)]);},Ao)),(this[_0x445f51(0x350)]=_0x3f22c9,this[_0x445f51(0x56d)]=_0x21275b,this[_0x445f51(0x469)]=_0x2408df,this[_0x445f51(0x51c)]=_0x17d9ab,this[_0x445f51(0x444)]=_0x1e824b,this['_univerInstanceService']=_0x1fafbe,this['_commandService']=_0xb6f861,this[_0x445f51(0x4ce)]=_0x2bc554);}get[_0x3f2ec9(0x443)](){const _0x552987=_0x3f2ec9;return this[_0x552987(0x208)]['getValue']();}get[_0x3f2ec9(0x2ca)](){const _0x43b0c0=_0x3f2ec9;return this[_0x43b0c0(0x3ec)]['getValue']();}[_0x3f2ec9(0x385)](){const _0x2ff5bb=_0x3f2ec9;super[_0x2ff5bb(0x385)](),this[_0x2ff5bb(0x208)][_0x2ff5bb(0x3f5)](new Map()),this[_0x2ff5bb(0x208)][_0x2ff5bb(0x492)](),this['_roomMembers$'][_0x2ff5bb(0x3f5)]([]),this[_0x2ff5bb(0x3ec)][_0x2ff5bb(0x492)]();}['init'](){const _0x20c48b=_0x3f2ec9;this['_init']||(this[_0x20c48b(0x51f)]=!0x0,this[_0x20c48b(0x56d)][_0x20c48b(0x4b4)]['pipe'](_0x54e638(this['dispose$']))[_0x20c48b(0x27a)](_0xdd9401=>{const _0x55dec0=_0x20c48b;_0xdd9401===ve['ONLINE']?this['_toggleOnline']():this[_0x55dec0(0x2e9)]();}),this['_session'][_0x20c48b(0x34d)][_0x20c48b(0x3c4)](_0x54e638(this['dispose$']))[_0x20c48b(0x27a)](_0x56af19=>{const _0x5a4015=_0x20c48b,_0x3158c1=_0x56af19[_0x5a4015(0x56b)];_0x3158c1===_0x371f1e[_0x5a4015(0x217)]&&this[_0x5a4015(0x37d)](_0x56af19),_0x3158c1===_0x371f1e['USERS_LEAVE']&&this['_onCursorDelete'](_0x56af19);}),this[_0x20c48b(0x573)](),this['disposeWithMe'](this['_commandService'][_0x20c48b(0x21e)](_0x24131=>{const _0x21033e=_0x20c48b;if(this[_0x21033e(0x565)]&&_0x24131['id']===_0x57bc2c['id']&&_0x24131[_0x21033e(0x562)][_0x21033e(0x423)]===this[_0x21033e(0x350)]){const _0x1ae38d=_0x24131[_0x21033e(0x562)];this[_0x21033e(0x1d5)](_0x1ae38d[_0x21033e(0x411)],_0x1ae38d[_0x21033e(0x4ed)][0x0]);}})));}[_0x3f2ec9(0x37d)](_0x1381b2){const _0x362a30=_0x3f2ec9;var _0x55a2ac,_0x528abe;const {memberID:_0x1a85a8,selection:_0x565fd0}=_0x1381b2[_0x362a30(0x399)],{sheetName:_0xb406eb,range:_0x54d777}=_0x583805(_0x565fd0),_0x45fc03={'name':(_0x528abe=(_0x55a2ac=this[_0x362a30(0x444)][_0x362a30(0x44b)](this[_0x362a30(0x350)],_0x1a85a8))==null?void 0x0:_0x55a2ac[_0x362a30(0x533)])!=null?_0x528abe:_0x362a30(0x5bc),'range':this[_0x362a30(0x325)](_0xb406eb,_0x54d777),'sheetID':_0xb406eb,'color':this[_0x362a30(0x51c)]['assignAColorForMemberID'](_0x1a85a8),'selection':_0x565fd0},_0x228d55=this[_0x362a30(0x443)];_0x228d55[_0x362a30(0x250)](_0x1a85a8,_0x45fc03),this[_0x362a30(0x208)][_0x362a30(0x3f5)](_0x228d55);}[_0x3f2ec9(0x1e1)](_0xf8901f){const _0x53449c=_0x3f2ec9,{memberID:_0x5cc9af}=_0xf8901f['data'],_0x5c9a40=this['cursorInfo'];_0x5c9a40[_0x53449c(0x1c4)](_0x5cc9af),this[_0x53449c(0x208)][_0x53449c(0x3f5)](_0x5c9a40);}[_0x3f2ec9(0x325)](_0x4836e7,_0x18a4dc){const _0x2e2d4c=_0x3f2ec9;var _0x129b2a,_0x509c69;const _0x36aeea=(_0x509c69=(_0x129b2a=this[_0x2e2d4c(0x590)]['getUniverSheetInstance'](this[_0x2e2d4c(0x350)]))==null?void 0x0:_0x129b2a['getSheetBySheetId'](_0x4836e7))==null?void 0x0:_0x509c69[_0x2e2d4c(0x428)]();return(_0x36aeea==null?void 0x0:_0x36aeea[_0x2e2d4c(0x59f)](_0x1922a6=>_0x4460be[_0x2e2d4c(0x23f)](_0x1922a6,_0x18a4dc)))||_0x18a4dc;}['_onRefRangeChange'](){const _0x8c2c8c=_0x3f2ec9,_0x4d1a4e=new _0x133ebf(),_0x13f64a=Mo(),_0x4509b4=()=>{const _0x543de2=_0x1414;_0x4d1a4e[_0x543de2(0x385)]();const _0x22fc2f=(_0x44107b,_0x39d620,_0x27d1f7,_0x14c962)=>{const _0x398cc5=_0x543de2;let _0x3d708b=[];switch(_0x44107b['id']){case _0x28cf41[_0x398cc5(0x5c4)]:{_0x3d708b=_0x4fca05(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x4c7)]:{_0x3d708b=_0x5272d2(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x279)]:{_0x3d708b=_0xcfcaf1(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x2c6)]:{_0x3d708b=_0x36d87a(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x3f0)]:{_0x3d708b=_0x2f62b8(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x22c)]:{_0x3d708b=_0x4b6f8f(_0x44107b,_0x14c962);break;}case _0x28cf41['MoveRangeCommandId']:{_0x3d708b=_0x4a2b4b(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x203)]:{_0x3d708b=_0xf4c67b(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x32e)]:{_0x3d708b=_0x3a8c75(_0x44107b,_0x14c962);break;}}const _0x57b7fa=_0x5c5021(_0x3d708b,_0x14c962),_0x25b986=this[_0x398cc5(0x443)][_0x398cc5(0x333)](_0x39d620);if(_0x25b986&&_0x57b7fa){const _0x49d650={..._0x25b986,'range':_0x57b7fa};this[_0x398cc5(0x443)]['set'](_0x39d620,_0x49d650),_0x13f64a(()=>{const _0x43665b=_0x398cc5,_0x4c158a=this[_0x43665b(0x4ce)]['registerRefRange'](_0x57b7fa,_0x3b30fe=>(_0x4c158a[_0x43665b(0x385)](),_0x22fc2f(_0x3b30fe,_0x39d620,_0x27d1f7,_0x57b7fa)));_0x4d1a4e[_0x43665b(0x304)](_0x4c158a);});}return{'redos':[],'undos':[]};};this[_0x543de2(0x443)]['forEach']((_0x546270,_0x1671c5)=>{const _0x2f05eb=_0x543de2,{range:_0x509fec,sheetID:_0x1dd62a}=_0x546270,_0x818337=this[_0x2f05eb(0x4ce)][_0x2f05eb(0x4df)](_0x509fec,_0x5b74b5=>(_0x818337[_0x2f05eb(0x385)](),_0x22fc2f(_0x5b74b5,_0x1671c5,_0x1dd62a,_0x509fec)));_0x4d1a4e[_0x2f05eb(0x304)](_0x818337);});};this[_0x8c2c8c(0x324)](_0x5d23c9(this[_0x8c2c8c(0x208)][_0x8c2c8c(0x27a)](()=>{_0x4509b4();})));}[_0x3f2ec9(0x38a)](){const _0x232d89=_0x3f2ec9;var _0x36eb63,_0xf9ce03;if(this[_0x232d89(0x565)]=!0x0,((_0x36eb63=this[_0x232d89(0x590)][_0x232d89(0x548)]())==null?void 0x0:_0x36eb63[_0x232d89(0x461)]())!==this['unitID'])return;const _0x4c94fd=(_0xf9ce03=this[_0x232d89(0x469)][_0x232d89(0x333)](_0x3c5a27)[_0x232d89(0x53b)]())==null?void 0x0:_0xf9ce03[0x0],_0x3ce571=this[_0x232d89(0x590)][_0x232d89(0x395)](_0x1a8690[_0x232d89(0x54f)])[_0x232d89(0x567)]();_0x4c94fd&&_0x3ce571&&this[_0x232d89(0x1d5)](_0x3ce571[_0x232d89(0x3fa)](),_0x4c94fd);}[_0x3f2ec9(0x2e9)](){const _0x9b8a62=_0x3f2ec9;this[_0x9b8a62(0x565)]=!0x1;}};rs=Uo([Be(0x2,_0x127ed5(_0x846a04)),Be(0x3,_0x127ed5(bs)),Be(0x4,_0x127ed5(Ne)),Be(0x5,_0x4c4975),Be(0x6,_0x49a021),Be(0x7,_0x127ed5(_0x4ded6e))],rs);var xo=Object['defineProperty'],Lo=Object[_0x3f2ec9(0x318)],$o=(_0xb8c934,_0x38ef8e,_0x3824e4,_0x528e88)=>{const _0x378689=_0x3f2ec9;for(var _0x132051=_0x528e88>0x1?void 0x0:_0x528e88?Lo(_0x38ef8e,_0x3824e4):_0x38ef8e,_0x53a147=_0xb8c934[_0x378689(0x3a7)]-0x1,_0x5a9ed4;_0x53a147>=0x0;_0x53a147--)(_0x5a9ed4=_0xb8c934[_0x53a147])&&(_0x132051=(_0x528e88?_0x5a9ed4(_0x38ef8e,_0x3824e4,_0x132051):_0x5a9ed4(_0x132051))||_0x132051);return _0x528e88&&_0x132051&&xo(_0x38ef8e,_0x3824e4,_0x132051),_0x132051;},$t=(_0x11ca2a,_0x1bd0cc)=>(_0x1826dd,_0xd74aae)=>_0x1bd0cc(_0x1826dd,_0xd74aae,_0x11ca2a);let Ve=class extends _0x404743{constructor(_0x2d54e4,_0x14a87d,_0x58170d){const _0x4b80f4=_0x3f2ec9;super(),g(this,_0x4b80f4(0x4b8),new Map()),g(this,_0x4b80f4(0x5bb),new _0xf004ca()),(this['_univerInstanceService']=_0x2d54e4,this['_injector']=_0x14a87d,this['_collabSessionService']=_0x58170d,this[_0x4b80f4(0x51f)]());}[_0x3f2ec9(0x385)](){const _0x99f213=_0x3f2ec9;super['dispose'](),this[_0x99f213(0x5bb)][_0x99f213(0x492)](),this[_0x99f213(0x4b8)][_0x99f213(0x346)](_0x243d91=>_0x243d91[_0x99f213(0x385)]());}[_0x3f2ec9(0x490)](_0x5e3b14){const _0x3c7458=_0x3f2ec9;return this[_0x3c7458(0x4b8)]['has'](_0x5e3b14)?this[_0x3c7458(0x4b8)][_0x3c7458(0x333)](_0x5e3b14)[_0x3c7458(0x54a)]:this[_0x3c7458(0x5bb)][_0x3c7458(0x3c4)](_0x33100e(_0x57b6ca=>_0x57b6ca[_0x3c7458(0x350)]===_0x5e3b14),_0x20c82a(_0x4e01a1=>_0x4e01a1[_0x3c7458(0x54a)]));}['_init'](){const _0x5811c5=_0x3f2ec9;this['_univerInstanceService'][_0x5811c5(0x57b)](_0x1a8690[_0x5811c5(0x54f)])['pipe'](_0x54e638(this[_0x5811c5(0x3e8)]))[_0x5811c5(0x27a)](async _0x9da03a=>{const _0x455fcc=_0x5811c5,_0x5b31e8=_0x9da03a[_0x455fcc(0x461)](),_0x17b16c=await this[_0x455fcc(0x291)](_0x5b31e8);this[_0x455fcc(0x5bb)][_0x455fcc(0x3f5)](_0x17b16c),this['_entities'][_0x455fcc(0x250)](_0x5b31e8,_0x17b16c);}),this[_0x5811c5(0x590)][_0x5811c5(0x57b)](_0x1a8690[_0x5811c5(0x32a)])[_0x5811c5(0x3c4)](_0x54e638(this[_0x5811c5(0x3e8)]))['pipe'](_0x33100e(_0xcfa703=>!_0xcfa703[_0x5811c5(0x461)]()['startsWith']('__')))[_0x5811c5(0x27a)](async _0x104c9b=>{const _0x4b44d3=_0x5811c5,_0xd038b7=_0x104c9b[_0x4b44d3(0x461)](),_0x4eb150=await this[_0x4b44d3(0x378)](_0xd038b7);this[_0x4b44d3(0x5bb)][_0x4b44d3(0x3f5)](_0x4eb150),this[_0x4b44d3(0x4b8)][_0x4b44d3(0x250)](_0xd038b7,_0x4eb150);}),_0x54a5bf(this[_0x5811c5(0x590)][_0x5811c5(0x31d)](_0x1a8690['UNIVER_DOC']),this[_0x5811c5(0x590)][_0x5811c5(0x31d)](_0x1a8690['UNIVER_SHEET']))['pipe'](_0x54e638(this[_0x5811c5(0x3e8)]))[_0x5811c5(0x27a)](_0x30fecb=>{const _0x7f1e4=_0x5811c5,_0x3d1539=_0x30fecb['getUnitId'](),_0x750052=this[_0x7f1e4(0x4b8)][_0x7f1e4(0x333)](_0x3d1539);_0x750052&&(_0x750052[_0x7f1e4(0x385)](),this[_0x7f1e4(0x4b8)][_0x7f1e4(0x1c4)](_0x3d1539));});}async[_0x3f2ec9(0x291)](_0x467682){const _0x28d94a=_0x3f2ec9,_0x2adda9=await this[_0x28d94a(0x2db)]['requireSession'](_0x467682),_0x1470af=this['_injector'][_0x28d94a(0x262)](rs,_0x467682,_0x2adda9);return _0x1470af['init'](),_0x1470af;}async[_0x3f2ec9(0x378)](_0x391534){const _0x3b53e0=_0x3f2ec9,_0x23b3e9=await this[_0x3b53e0(0x2db)][_0x3b53e0(0x58e)](_0x391534),_0x391143=this[_0x3b53e0(0x469)][_0x3b53e0(0x262)](ns,_0x391534,_0x23b3e9);return _0x391143['init'](),_0x391143;}};Ve=$o([$t(0x0,_0x4c4975),$t(0x1,_0x127ed5(_0x846a04)),$t(0x2,_0x127ed5(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x2bd191,_0x4019f8){const _0x498fe3=_0x3f2ec9;let {radius:_0x5d6e15,width:_0x4555a5,height:_0x4316a4}=_0x4019f8;_0x5d6e15=_0x5d6e15!=null?_0x5d6e15:0x0,_0x4555a5=_0x4555a5!=null?_0x4555a5:0x1e,_0x4316a4=_0x4316a4!=null?_0x4316a4:0x1e;let _0x5f0184=0x0,_0x4ee7e5=0x0,_0x1cb703=0x0;_0x5f0184=_0x4ee7e5=_0x1cb703=Math[_0x498fe3(0x30a)](_0x5d6e15,_0x4555a5/0x2,_0x4316a4/0x2),_0x2bd191[_0x498fe3(0x1d6)](),_0x2bd191[_0x498fe3(0x4d5)](_0x5f0184,0x0),_0x2bd191[_0x498fe3(0x482)](_0x4555a5-_0x4ee7e5,0x0),_0x2bd191[_0x498fe3(0x3de)](_0x4555a5-_0x4ee7e5,_0x4ee7e5,_0x4ee7e5,Math['PI']*0x3/0x2,0x0,!0x1),_0x2bd191[_0x498fe3(0x482)](_0x4555a5,_0x4316a4-_0x1cb703),_0x2bd191[_0x498fe3(0x3de)](_0x4555a5-_0x1cb703,_0x4316a4-_0x1cb703,_0x1cb703,0x0,Math['PI']/0x2,!0x1),_0x2bd191[_0x498fe3(0x482)](0x0,_0x4316a4),_0x2bd191['lineTo'](0x0,_0x5f0184),_0x2bd191['arc'](_0x5f0184,_0x5f0184,_0x5f0184,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2bd191[_0x498fe3(0x376)](),_0x4019f8[_0x498fe3(0x322)]&&(_0x2bd191[_0x498fe3(0x42d)](),_0x2bd191[_0x498fe3(0x5a6)]=_0x4019f8['fill'],_0x4019f8['fillRule']===_0x498fe3(0x268)?_0x2bd191[_0x498fe3(0x322)](_0x498fe3(0x268)):_0x2bd191[_0x498fe3(0x322)](),_0x2bd191[_0x498fe3(0x2a6)]());}class yt extends _0x53dc57{constructor(_0x53e8cb,_0x264cf0){const _0x1fe01d=_0x3f2ec9;super(_0x53e8cb,_0x264cf0),g(this,_0x1fe01d(0x1bd)),g(this,_0x1fe01d(0x2d5)),(this[_0x1fe01d(0x1bd)]=_0x264cf0==null?void 0x0:_0x264cf0[_0x1fe01d(0x1bd)],this[_0x1fe01d(0x2d5)]=_0x264cf0==null?void 0x0:_0x264cf0[_0x1fe01d(0x2d5)]);}static[_0x3f2ec9(0x40c)](_0x16a613,_0x556bee){const _0xa0346f=_0x3f2ec9,{text:_0x705715,color:_0x2c8be3}=_0x556bee;_0x16a613[_0xa0346f(0x42d)](),_0x16a613[_0xa0346f(0x1be)]=_0xa0346f(0x5c5);const _0xf4ef52=_0x16a613[_0xa0346f(0x1d1)](_0x705715)[_0xa0346f(0x1fc)],_0x1b3560=Math['min'](_0xf4ef52+0x2*Ht,Ys);jo(_0x16a613,{'height':nt,'radius':0x4,'width':_0x1b3560,'fill':_0x2c8be3,'evented':!0x1}),_0x16a613[_0xa0346f(0x5a6)]=_0xa0346f(0x20e);const _0x3c84f6=Ht,_0x527740=nt-Ho,_0x3a8399=Ys-0x2*Ht;if(_0xf4ef52>_0x3a8399){let _0x1b6b90='',_0x511849=0x0;for(const _0x1b2177 of _0x705715){const _0x12447c=_0x16a613[_0xa0346f(0x1d1)](_0x1b2177)[_0xa0346f(0x1fc)];if(_0x511849+_0x12447c<=_0x3a8399-_0x16a613[_0xa0346f(0x1d1)]('...')[_0xa0346f(0x1fc)])_0x1b6b90+=_0x1b2177,_0x511849+=_0x12447c;else{_0x1b6b90+=_0xa0346f(0x48c);break;}}_0x16a613[_0xa0346f(0x1c3)](_0x1b6b90,_0x3c84f6,_0x527740);}else _0x16a613[_0xa0346f(0x1c3)](_0x705715,_0x3c84f6,_0x527740);_0x16a613['restore']();}['_draw'](_0x432d5a){const _0xda2e95=_0x3f2ec9;yt[_0xda2e95(0x40c)](_0x432d5a,this);}}const jt='collab-text-anchor-',Bo='collab-text-range-',ko=_0x3f2ec9(0x2c4),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x3f2ec9(0x308);class Ks{constructor(_0x1512d0,_0x161404,_0xfc00a9,_0x681310){const _0x12eea5=_0x3f2ec9;g(this,_0x12eea5(0x3a6),[]),g(this,_0x12eea5(0x53e),null),g(this,_0x12eea5(0x591),null),g(this,_0x12eea5(0x369),null),g(this,_0x12eea5(0x568),null),g(this,_0x12eea5(0x56f),null),(this[_0x12eea5(0x2c5)]=_0x1512d0,this[_0x12eea5(0x1f9)]=_0x161404,this[_0x12eea5(0x36f)]=_0xfc00a9,this[_0x12eea5(0x392)]=_0x681310,this[_0x12eea5(0x2a7)]());}set['_hover'](_0xee244){const _0x21c68c=_0x3f2ec9;_0xee244?(this[_0x21c68c(0x369)]&&this[_0x21c68c(0x369)][_0x21c68c(0x2a0)](),this[_0x21c68c(0x591)]&&this[_0x21c68c(0x591)][_0x21c68c(0x59d)]()):(this['_anchorDot']&&this['_anchorDot'][_0x21c68c(0x59d)](),this[_0x21c68c(0x591)]&&this[_0x21c68c(0x591)][_0x21c68c(0x2a0)]());}[_0x3f2ec9(0x385)](){const _0x293de0=_0x3f2ec9;for(const _0x20b70a of this['_shapes'])_0x20b70a['dispose']();this[_0x293de0(0x591)]&&this[_0x293de0(0x591)][_0x293de0(0x385)](),this[_0x293de0(0x369)]&&this[_0x293de0(0x369)][_0x293de0(0x385)](),this['_anchor']&&this[_0x293de0(0x53e)][_0x293de0(0x385)](),this[_0x293de0(0x56f)]&&this[_0x293de0(0x56f)]();}[_0x3f2ec9(0x2a7)](){const _0x339631=_0x3f2ec9;var _0x550908;const {_docSkeleton:_0x3ea442,_document:_0x4bef24}=this,{color:_0x51d59b,name:_0x155154,ranges:_0x200a24}=this['_cursor'],_0x4e34cb=_0x4bef24['getOffsetConfig'](),{docsLeft:_0x199d21,docsTop:_0x315d77}=_0x4e34cb,_0x2a02dc=new _0x17e8b6(_0x4e34cb,_0x3ea442);for(const {startOffset:_0x364495,endOffset:_0x31741a,rangeType:_0x33ee36,segmentId:_0x238851,segmentPage:_0x5c9d33,collapsed:_0x30d362,isActive:_0x22a617}of _0x200a24){const _0x19ec3e=_0x3ea442[_0x339631(0x503)](_0x364495,!0x0,_0x238851,_0x5c9d33);let _0x15bbb1=_0x3ea442[_0x339631(0x503)](_0x31741a,!0x0,_0x238851,_0x5c9d33);if(_0x15bbb1==null&&(_0x15bbb1=_0x3ea442[_0x339631(0x503)](_0x31741a-0x1,!0x1,_0x238851,_0x5c9d33)),_0x22a617){const {contentBoxPointGroup:_0x72bbbf}=_0x2a02dc[_0x339631(0x26b)](_0x15bbb1,_0x15bbb1);if(_0x72bbbf[_0x339631(0x3a7)]===0x0)continue;this['_drawAnchor'](_0x51d59b,_0x72bbbf,_0x199d21,_0x315d77,_0x155154),this['_eventUnsubscribe']=this[_0x339631(0x332)]();}if(_0x19ec3e&&_0x15bbb1){if(_0x33ee36===_0x5dc937['RECT']){const _0x7fe731=new _0x4753f0(_0x4e34cb,_0x3ea442),{pointGroup:_0x59f4b3}=(_0x550908=_0x7fe731[_0x339631(0x26b)](_0x19ec3e,_0x15bbb1))!=null?_0x550908:{};if(_0x59f4b3==null||_0x59f4b3[_0x339631(0x3a7)]===0x0)continue;this[_0x339631(0x352)](_0x51d59b,_0x59f4b3,_0x199d21,_0x315d77);}else{if(!_0x30d362){const {borderBoxPointGroup:_0xccc64d}=_0x2a02dc[_0x339631(0x26b)](_0x19ec3e,_0x15bbb1);if(_0xccc64d[_0x339631(0x3a7)]===0x0)continue;this[_0x339631(0x1f8)](_0x51d59b,_0xccc64d,_0x199d21,_0x315d77);}}}}}['_drawAnchor'](_0x4cc6f9,_0x4f3d03,_0x586c91,_0x50ab41,_0x27ddc2){const _0x194719=_0x3f2ec9,_0x35625d=this['_getAnchorBounding'](_0x4f3d03),{left:_0xbf5727,top:_0x48ed80,height:_0x473789}=_0x35625d,_0x47652b=this['_getScale'](),_0x10342b=Fo/_0x47652b,_0x26fbfa=new _0xe2e41c(jt+_0x109dec[_0x194719(0x280)](Je),{'left':_0xbf5727+_0x586c91-_0x10342b,'top':_0x48ed80+_0x50ab41,'height':_0x473789,'width':Wo,'fill':_0x4cc6f9||_0xa01f1e(_0xc90d79[_0x194719(0x3a9)],0x0),'strokeWidth':_0x10342b,'stroke':Vo,'evented':!0x0});this['_anchor']=_0x26fbfa,this[_0x194719(0x1f9)][_0x194719(0x4ae)](_0x26fbfa,_0x31dbf7);const _0x16874c=new _0xe2e41c(jt+_0x109dec[_0x194719(0x280)](Je),{'left':_0xbf5727+_0x586c91-_0x10342b,'top':_0x48ed80+_0x50ab41-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x4cc6f9||_0xa01f1e(_0xc90d79[_0x194719(0x3a9)],0x0),'strokeWidth':0x0,'stroke':_0x4cc6f9||_0xa01f1e(_0xc90d79[_0x194719(0x3a9)],0x0),'evented':!0x1});this[_0x194719(0x369)]=_0x16874c,this[_0x194719(0x1f9)][_0x194719(0x4ae)](_0x16874c,_0x31dbf7);const _0x2e3487=new yt(jt+_0x109dec['generateRandomId'](Je),{'left':_0xbf5727+_0x586c91-_0x10342b,'top':_0x48ed80+_0x50ab41-nt,'text':_0x27ddc2,'color':_0x4cc6f9});this[_0x194719(0x591)]=_0x2e3487,this['_scene'][_0x194719(0x4ae)](_0x2e3487,_0x31dbf7),this[_0x194719(0x4a0)]=!0x1;}[_0x3f2ec9(0x332)](){const _0x2f9a9a=_0x3f2ec9,_0x38f21b=this[_0x2f9a9a(0x53e)][_0x2f9a9a(0x4b2)][_0x2f9a9a(0x2ba)](()=>{const _0x41ec69=_0x2f9a9a;this[_0x41ec69(0x4a0)]=!0x0;}),_0x354a94=this['_anchor'][_0x2f9a9a(0x454)]['subscribeEvent'](()=>{const _0x522a81=_0x2f9a9a;this['_hideTimer']&&clearTimeout(this[_0x522a81(0x568)]),this[_0x522a81(0x568)]=setTimeout(()=>{const _0x3ff0d6=_0x522a81;this[_0x3ff0d6(0x4a0)]=!0x1;},0x7d0);});return()=>{const _0x293ddf=_0x2f9a9a;_0x38f21b['unsubscribe'](),_0x354a94[_0x293ddf(0x4bb)]();};}[_0x3f2ec9(0x1f8)](_0x12001c,_0x432ab5,_0xefd3de,_0x3691ae){const _0x468556=_0x3f2ec9,_0x42bf49=new _0x1d6dd2(_0x12001c)['setAlpha'](0.2)['toRgbString'](),_0x535865=new _0x5d55f4(Bo+_0x109dec[_0x468556(0x280)](Je),{'pointsGroup':_0x432ab5,'fill':_0x42bf49||_0xa01f1e(_0xc90d79[_0x468556(0x3a9)],0.2),'left':_0xefd3de,'top':_0x3691ae,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x468556(0x3a6)][_0x468556(0x496)](_0x535865),this[_0x468556(0x1f9)][_0x468556(0x4ae)](_0x535865,_0x31dbf7);}[_0x3f2ec9(0x352)](_0x3dfa30,_0x5f4903,_0x291a94,_0x562eb9){const _0x151cdd=_0x3f2ec9,_0x60271e=new _0x1d6dd2(_0x3dfa30)[_0x151cdd(0x462)](0.2)[_0x151cdd(0x3a4)](),_0x55ce5d=new _0x5d55f4(ko+_0x109dec[_0x151cdd(0x280)](Je),{'pointsGroup':_0x5f4903,'fill':_0x60271e||_0xa01f1e(_0xc90d79['black'],0.2),'left':_0x291a94,'top':_0x562eb9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x151cdd(0x3a6)][_0x151cdd(0x496)](_0x55ce5d),this['_scene'][_0x151cdd(0x4ae)](_0x55ce5d,_0x31dbf7);}[_0x3f2ec9(0x5b7)](_0x41f761){const _0x4fe2c3=_0x41f761[0x0],_0x3ff405=_0x4fe2c3[0x0],_0x2701ba=_0x4fe2c3[0x2],{x:_0x1b7fd2,y:_0x59cb6a}=_0x3ff405,{x:_0x51a402,y:_0x554312}=_0x2701ba;return{'left':_0x1b7fd2,'top':_0x59cb6a,'width':_0x51a402-_0x1b7fd2,'height':_0x554312-_0x59cb6a};}[_0x3f2ec9(0x58c)](){const _0x2e787b=_0x3f2ec9,{scaleX:_0x5ab3cf,scaleY:_0x50b2c7}=this['_scene'][_0x2e787b(0x317)]();return Math[_0x2e787b(0x34b)](_0x5ab3cf,_0x50b2c7);}}var Go=Object['defineProperty'],Yo=Object['getOwnPropertyDescriptor'],Ko=(_0x2274bc,_0x484209,_0x3713e4,_0x5561b8)=>{const _0x621a03=_0x3f2ec9;for(var _0x4daada=_0x5561b8>0x1?void 0x0:_0x5561b8?Yo(_0x484209,_0x3713e4):_0x484209,_0x3e4d60=_0x2274bc[_0x621a03(0x3a7)]-0x1,_0x338c07;_0x3e4d60>=0x0;_0x3e4d60--)(_0x338c07=_0x2274bc[_0x3e4d60])&&(_0x4daada=(_0x5561b8?_0x338c07(_0x484209,_0x3713e4,_0x4daada):_0x338c07(_0x4daada))||_0x4daada);return _0x5561b8&&_0x4daada&&Go(_0x484209,_0x3713e4,_0x4daada),_0x4daada;},ct=(_0xa7923c,_0x59e335)=>(_0x54ef59,_0x128545)=>_0x59e335(_0x54ef59,_0x128545,_0xa7923c);let os=class extends _0x404743{constructor(_0x536cb1,_0x24f028,_0xcc4056,_0x358334,_0x3f5269){const _0x14e005=_0x3f2ec9;super(),g(this,_0x14e005(0x538),[]),g(this,_0x14e005(0x557),[]),(this['_context']=_0x536cb1,this['_docSkeletonManagerService']=_0x24f028,this[_0x14e005(0x42b)]=_0xcc4056,this[_0x14e005(0x39b)]=_0x358334,this[_0x14e005(0x3a1)]=_0x3f5269,this[_0x14e005(0x51f)]());}[_0x3f2ec9(0x51f)](){const _0x49eb7d=_0x3f2ec9,_0x1e05d5=this[_0x49eb7d(0x2f1)][_0x49eb7d(0x423)],_0x250200=this[_0x49eb7d(0x438)];this[_0x49eb7d(0x324)](_0xf1dda2([this[_0x49eb7d(0x42b)][_0x49eb7d(0x490)](_0x1e05d5),this[_0x49eb7d(0x3a1)]['currentTheme$']])[_0x49eb7d(0x3c4)](_0x4f8f29(([_0x32ca69,_0x3f4f7d])=>({'skeleton':_0x250200[_0x49eb7d(0x2c2)](),'cursors':[..._0x32ca69['values']()]['flatMap'](_0x41726d=>({..._0x41726d,'color':_0x3f4f7d[_0x41726d[_0x49eb7d(0x1bd)]]}))})))[_0x49eb7d(0x27a)](_0x11e97d=>{const _0x41f1fb=_0x49eb7d;if(this[_0x41f1fb(0x564)](),_0x11e97d){const {skeleton:_0x4f6587,cursors:_0x61f23c}=_0x11e97d;this[_0x41f1fb(0x2da)](_0x4f6587,_0x61f23c);}})),this['_initResize'](),this[_0x49eb7d(0x240)]();}[_0x3f2ec9(0x2da)](_0x386f31,_0x2d25c8){const _0xa81707=_0x3f2ec9,{scene:_0x5aee26,mainComponent:_0x5cf58a}=this[_0xa81707(0x2f1)],_0xa204f=_0x2d25c8[_0xa81707(0x26f)](_0x274a7b=>new Ks(_0x274a7b,_0x5aee26,_0x386f31,_0x5cf58a));this['_cursorShapes']=_0xa204f,this['_cursors']=_0x2d25c8;}[_0x3f2ec9(0x5b0)](){const _0x2b0217=_0x3f2ec9;this['_removeCollabCursors']();const {scene:_0x4d4509,mainComponent:_0x125a8b}=this[_0x2b0217(0x2f1)],_0x414eb6=this[_0x2b0217(0x438)][_0x2b0217(0x2c2)](),_0x4d679a=this[_0x2b0217(0x557)][_0x2b0217(0x26f)](_0x295824=>new Ks(_0x295824,_0x4d4509,_0x414eb6,_0x125a8b));this[_0x2b0217(0x538)]=_0x4d679a;}[_0x3f2ec9(0x564)](){const _0x4ab3f4=_0x3f2ec9;this[_0x4ab3f4(0x538)][_0x4ab3f4(0x346)](_0x4adbb2=>_0x4adbb2[_0x4ab3f4(0x385)]()),this['_cursorShapes']=[];}[_0x3f2ec9(0x240)](){const _0x4d3ce7=_0x3f2ec9,_0xb53176=[_0x5456c4['id']];this[_0x4d3ce7(0x324)](this[_0x4d3ce7(0x39b)]['onCommandExecuted'](_0x3b61c2=>{const _0x17f729=_0x4d3ce7;_0xb53176[_0x17f729(0x2bb)](_0x3b61c2['id'])&&_0x3b61c2[_0x17f729(0x562)][_0x17f729(0x423)]===this[_0x17f729(0x2f1)][_0x17f729(0x423)]&&this[_0x17f729(0x5b0)]();}));}[_0x3f2ec9(0x4f5)](){const _0x2131b5=_0x3f2ec9;this[_0x2131b5(0x324)](_0x132b42(this[_0x2131b5(0x2f1)][_0x2131b5(0x42a)][_0x2131b5(0x22d)])['pipe'](_0x2d77f8(_0x5ccae5=>_0x5ccae5[_0x2131b5(0x4e4)]===_0x4b2d3b[_0x2131b5(0x28b)]),_0x102e6d(0x10))[_0x2131b5(0x27a)](()=>{this['_refreshCollabCursors']();}));}};os=Ko([ct(0x1,_0x127ed5(_0x8b6d29)),ct(0x2,_0x127ed5(Ve)),ct(0x3,_0x49a021),ct(0x4,_0x127ed5(_0x164d1f))],os);const zo=0x1,qo=1.5;class Xo extends _0x53dc57{constructor(_0x5d97fd,_0x4ff0e8){const _0x58a8e9=_0x3f2ec9;super(_0x5d97fd,_0x4ff0e8),g(this,_0x58a8e9(0x204)),g(this,_0x58a8e9(0x312),!0x1),g(this,_0x58a8e9(0x394)),g(this,_0x58a8e9(0x516),''),g(this,_0x58a8e9(0x3ea),_0x58a8e9(0x571)),g(this,_0x58a8e9(0x363)),(_0x4ff0e8&&this[_0x58a8e9(0x536)](_0x4ff0e8),this['onPointerEnter$'][_0x58a8e9(0x2ba)](()=>this[_0x58a8e9(0x536)]({'hovered':!0x0})),this['onPointerLeave$'][_0x58a8e9(0x2ba)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3f2ec9(0x536)](_0x44db65){const _0x38d74a=_0x3f2ec9;var _0x5b05bb,_0x5affc1,_0x1ecbc9,_0x1e1abe,_0x5cffe3,_0x25116b;this[_0x38d74a(0x204)]=(_0x5b05bb=_0x44db65[_0x38d74a(0x1bd)])!=null?_0x5b05bb:this[_0x38d74a(0x204)],this[_0x38d74a(0x312)]=(_0x5affc1=_0x44db65[_0x38d74a(0x4f7)])!=null?_0x5affc1:this[_0x38d74a(0x312)],this[_0x38d74a(0x394)]=(_0x1ecbc9=_0x44db65['range'])!=null?_0x1ecbc9:this[_0x38d74a(0x394)],this['_name']=(_0x1e1abe=_0x44db65[_0x38d74a(0x533)])!=null?_0x1e1abe:this[_0x38d74a(0x516)],this[_0x38d74a(0x3ea)]=(_0x5cffe3=_0x44db65[_0x38d74a(0x43a)])!=null?_0x5cffe3:this['_labelPosition'],this['_backgroundColor']=(_0x25116b=_0x44db65['backgroundColor'])!=null?_0x25116b:this[_0x38d74a(0x363)],this['transformByState']({'width':_0x44db65[_0x38d74a(0x1fc)],'height':_0x44db65[_0x38d74a(0x5a5)]});}[_0x3f2ec9(0x48b)](_0x40293a){const _0x52f8e5=_0x3f2ec9,{row:_0x15c7e7,column:_0x414d5c}=_0x40293a;if(_0x15c7e7>=this[_0x52f8e5(0x394)][_0x52f8e5(0x29e)]&&_0x15c7e7<=this[_0x52f8e5(0x394)][_0x52f8e5(0x505)]&&_0x414d5c>=this[_0x52f8e5(0x394)][_0x52f8e5(0x36a)]&&_0x414d5c<=this[_0x52f8e5(0x394)][_0x52f8e5(0x357)]){this[_0x52f8e5(0x536)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4b9678){return!0x1;}[_0x3f2ec9(0x406)](_0x28b1ae){const _0x46f526=_0x3f2ec9;_0xe2e41c[_0x46f526(0x40c)](_0x28b1ae,{'width':this[_0x46f526(0x1fc)],'height':this['height'],'strokeWidth':qo,'stroke':this[_0x46f526(0x204)],'evented':!0x1,'fill':this[_0x46f526(0x363)]}),this[_0x46f526(0x312)]&&(_0x28b1ae['save'](),_0x28b1ae['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-nt),yt[_0x46f526(0x40c)](_0x28b1ae,{'text':this['_name'],'color':this[_0x46f526(0x204)]}),_0x28b1ae[_0x46f526(0x2a6)]());}}var Jo=Object['defineProperty'],Zo=Object[_0x3f2ec9(0x318)],Qo=(_0x15b608,_0x55f32b,_0x606ca2,_0x57294b)=>{const _0x6c348=_0x3f2ec9;for(var _0x1ea599=_0x57294b>0x1?void 0x0:_0x57294b?Zo(_0x55f32b,_0x606ca2):_0x55f32b,_0x390d76=_0x15b608[_0x6c348(0x3a7)]-0x1,_0x2dda30;_0x390d76>=0x0;_0x390d76--)(_0x2dda30=_0x15b608[_0x390d76])&&(_0x1ea599=(_0x57294b?_0x2dda30(_0x55f32b,_0x606ca2,_0x1ea599):_0x2dda30(_0x1ea599))||_0x1ea599);return _0x57294b&&_0x1ea599&&Jo(_0x55f32b,_0x606ca2,_0x1ea599),_0x1ea599;},kt=(_0x28aac6,_0x5d309c)=>(_0x22737f,_0x35685e)=>_0x5d309c(_0x22737f,_0x35685e,_0x28aac6);const ea=0x1389;let as=class extends _0x404743{constructor(_0x32f357,_0x51d9d5,_0x179e5e,_0x549dc6){const _0x41bf11=_0x3f2ec9;super(),g(this,_0x41bf11(0x557),new Set()),g(this,'_lastPointer',null),(this[_0x41bf11(0x2f1)]=_0x32f357,this[_0x41bf11(0x3a2)]=_0x51d9d5,this[_0x41bf11(0x42b)]=_0x179e5e,this[_0x41bf11(0x3a1)]=_0x549dc6,this[_0x41bf11(0x51f)]());}['_init'](){const _0x4a850d=_0x3f2ec9;this['_sheetSkeletonManagerService'][_0x4a850d(0x4cd)][_0x4a850d(0x3c4)](_0x40998a(this[_0x4a850d(0x3e8)]),_0x39728f(_0x58aae7=>{const _0x1efb3f=_0x4a850d;if(_0x58aae7){const _0x1257e4=_0x58aae7['sheetId'];return _0xf1dda2(this[_0x1efb3f(0x42b)][_0x1efb3f(0x490)](this[_0x1efb3f(0x2f1)][_0x1efb3f(0x423)]),this[_0x1efb3f(0x3a1)][_0x1efb3f(0x455)])[_0x1efb3f(0x3c4)](_0x4f8f29(([_0x9c5d47,_0x325000])=>{const _0x56752a=new Map();return _0x9c5d47['forEach']((_0x1d3a58,_0x1c2ed1)=>{const _0x4cf16e=_0x1414;if(_0x1d3a58[_0x4cf16e(0x507)]===_0x1257e4){const _0x5ed26f={..._0x1d3a58};_0x5ed26f['color']=_0x325000[_0x1d3a58['color']],_0x56752a[_0x4cf16e(0x250)](_0x1c2ed1,_0x5ed26f);}}),{'skeleton':_0x58aae7,'cursors':_0x56752a};}));}return _0x2a9475({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xdc2bfd,cursors:_0x361664})=>{this['_removeCollabCursors'](),_0xdc2bfd&&this['_updateCollabCursors'](_0xdc2bfd,_0x361664);}),this[_0x4a850d(0x3a2)][_0x4a850d(0x4cd)][_0x4a850d(0x27a)](_0x392a73=>{const _0x53d561=_0x4a850d;if(_0x392a73==null)return;const {skeleton:_0x57c67b}=_0x392a73,{scene:_0x21cbc2}=this[_0x53d561(0x2f1)];_0x21cbc2['onPointerMove$'][_0x53d561(0x2ba)](_0x58d671(_0x2cf1a3=>{const _0x1dbdbc=_0x53d561;var _0x4658c1,_0x23d0f0;const {offsetX:_0x5b9b62,offsetY:_0x1a0028}=_0x2cf1a3,{x:_0xeae687,y:_0x25cf58}=_0x21cbc2[_0x1dbdbc(0x54c)](_0x4ad19[_0x1dbdbc(0x2f6)]([_0x5b9b62,_0x1a0028])),{scaleX:_0x3671e2,scaleY:_0x4e2338}=_0x21cbc2['getAncestorScale'](),_0x21f99a=_0x21cbc2[_0x1dbdbc(0x381)](_0x32c443[_0x1dbdbc(0x35d)]),_0x17477b=_0x21cbc2[_0x1dbdbc(0x27f)](_0x4ad19['FromArray']([_0xeae687,_0x25cf58]),_0x21f99a),_0x1270d8=_0x57c67b[_0x1dbdbc(0x273)](_0x5b9b62,_0x1a0028,_0x3671e2,_0x4e2338,_0x17477b);((_0x4658c1=this['_lastPointer'])==null?void 0x0:_0x4658c1[_0x1dbdbc(0x422)])===_0x1270d8[_0x1dbdbc(0x422)]&&((_0x23d0f0=this[_0x1dbdbc(0x37a)])==null?void 0x0:_0x23d0f0['row'])===_0x1270d8[_0x1dbdbc(0x48a)]||this['_cursors'][_0x1dbdbc(0x346)](_0x45ba21=>{_0x45ba21['onMouseMove'](_0x1270d8);});},0x64));});}[_0x3f2ec9(0x2da)](_0x390e9b,_0x2225d4){const _0x21eff2=_0x3f2ec9;var _0x33a493;const _0x1553b3=(_0x33a493=this[_0x21eff2(0x3a2)][_0x21eff2(0x314)]())==null?void 0x0:_0x33a493[_0x21eff2(0x3e4)];if(!_0x1553b3)return;const _0x67164f=this['_getSheetObject']();if(!_0x67164f)return;this[_0x21eff2(0x557)][_0x21eff2(0x346)](_0x448804=>{const _0x739d66=_0x21eff2;_0x448804[_0x739d66(0x49f)]();});const {scene:_0x1e5c3d}=_0x67164f,_0xed528e=ta(Array['from'](_0x2225d4[_0x21eff2(0x55e)]()))[_0x21eff2(0x26f)](_0x5a03c8=>{const _0x161dc6=_0x21eff2,{color:_0x39ea1a,range:_0x368b28,name:_0x355381,selection:_0x155832,sheetID:_0x16c5f6}=_0x5a03c8,{startColumn:_0x18d04b,startRow:_0x52f93e,endColumn:_0x210cdf,endRow:_0x5dd738}=_0x368b28,_0x212df1=_0x216880(_0x52f93e,_0x18d04b,_0x1e5c3d,_0x1553b3),_0x4bc8ea=_0x216880(_0x5dd738,_0x210cdf,_0x1e5c3d,_0x1553b3),{columnHeaderHeightAndMarginTop:_0x569c82}=_0x1553b3,{startX:_0x469770,startY:_0x1c4960}=_0x212df1,{endX:_0x1f2ea1,endY:_0xefba18}=_0x4bc8ea,_0x557de1=_0x1f2ea1-_0x469770,_0x24949b=_0xefba18-_0x1c4960,_0x11a169={'labelPosition':_0x1c4960-_0x569c82>=nt?'top':_0x161dc6(0x30e),'sheetID':_0x16c5f6,'range':_0x368b28,'color':_0x39ea1a,'name':_0x355381,'selection':_0x155832,'left':_0x469770,'top':_0x1c4960,'width':_0x557de1,'height':_0x24949b,'evented':!0x1,'zIndex':ea};return new Xo(_0x355381,_0x11a169);});_0x1e5c3d[_0x21eff2(0x414)](_0xed528e,zo),this[_0x21eff2(0x557)]=new Set(_0xed528e);}[_0x3f2ec9(0x564)](){const _0x2ff0c8=_0x3f2ec9;var _0x836f38;(_0x836f38=this[_0x2ff0c8(0x557)])==null||_0x836f38[_0x2ff0c8(0x346)](_0x4c3d4e=>_0x4c3d4e[_0x2ff0c8(0x385)]());}[_0x3f2ec9(0x432)](){const _0x20920a=_0x3f2ec9;return _0x37efe0(this[_0x20920a(0x2f1)][_0x20920a(0x3ed)],this[_0x20920a(0x2f1)]);}};as=Qo([kt(0x1,_0x127ed5(_0x51efae)),kt(0x2,_0x127ed5(Ve)),kt(0x3,_0x127ed5(_0x164d1f))],as);function ta(_0x1d7571){const _0x43234b=_0x3f2ec9,_0x27f4f6=new Map();return _0x1d7571[_0x43234b(0x346)](_0x541208=>{const _0x32a19c=_0x43234b;if(_0x27f4f6[_0x32a19c(0x25f)](_0x541208[_0x32a19c(0x453)])){const _0x400372=_0x27f4f6[_0x32a19c(0x333)](_0x541208[_0x32a19c(0x453)]);_0x400372[_0x32a19c(0x533)]+=',\x20'+_0x541208['name'];}else _0x27f4f6['set'](_0x541208['selection'],_0x541208);}),Array[_0x43234b(0x424)](_0x27f4f6[_0x43234b(0x55e)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x195045){const _0x34f4cd=_0x3f2ec9;return _0x195045&&_0x195045[_0x34f4cd(0x238)]&&Object['prototype'][_0x34f4cd(0x3af)][_0x34f4cd(0x570)](_0x195045,'default')?_0x195045[_0x34f4cd(0x47c)]:_0x195045;}var Mi={'exports':{}},Ot={},sa=_0x24121a,ia=Symbol[_0x3f2ec9(0x202)](_0x3f2ec9(0x379)),na=Symbol[_0x3f2ec9(0x202)](_0x3f2ec9(0x434)),ra=Object[_0x3f2ec9(0x1e6)][_0x3f2ec9(0x3af)],oa=sa[_0x3f2ec9(0x216)]['ReactCurrentOwner'],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x5d3071,_0x63f670,_0x4fcb1c){const _0x2df7e8=_0x3f2ec9;var _0x14a6e9,_0x51d5d7={},_0x1b51b7=null,_0x591d8e=null;_0x4fcb1c!==void 0x0&&(_0x1b51b7=''+_0x4fcb1c),_0x63f670[_0x2df7e8(0x425)]!==void 0x0&&(_0x1b51b7=''+_0x63f670[_0x2df7e8(0x425)]),_0x63f670[_0x2df7e8(0x243)]!==void 0x0&&(_0x591d8e=_0x63f670[_0x2df7e8(0x243)]);for(_0x14a6e9 in _0x63f670)ra[_0x2df7e8(0x570)](_0x63f670,_0x14a6e9)&&!aa['hasOwnProperty'](_0x14a6e9)&&(_0x51d5d7[_0x14a6e9]=_0x63f670[_0x14a6e9]);if(_0x5d3071&&_0x5d3071['defaultProps']){for(_0x14a6e9 in(_0x63f670=_0x5d3071[_0x2df7e8(0x326)],_0x63f670))_0x51d5d7[_0x14a6e9]===void 0x0&&(_0x51d5d7[_0x14a6e9]=_0x63f670[_0x14a6e9]);}return{'$$typeof':ia,'type':_0x5d3071,'key':_0x1b51b7,'ref':_0x591d8e,'props':_0x51d5d7,'_owner':oa['current']};}Ot['Fragment']=na,Ot[_0x3f2ec9(0x5b9)]=xi,Ot[_0x3f2ec9(0x3d5)]=xi,Mi[_0x3f2ec9(0x4a2)]=Ot;var we=Mi['exports'],ee=function(){const _0x593c53=_0x3f2ec9;return ee=Object[_0x593c53(0x3dc)]||function(_0x24e166){const _0x43c4e6=_0x593c53;for(var _0x4fc931,_0x3acf65=0x1,_0xb2ce4d=arguments[_0x43c4e6(0x3a7)];_0x3acf65<_0xb2ce4d;_0x3acf65++){_0x4fc931=arguments[_0x3acf65];for(var _0x1f18b9 in _0x4fc931)Object[_0x43c4e6(0x1e6)][_0x43c4e6(0x3af)][_0x43c4e6(0x570)](_0x4fc931,_0x1f18b9)&&(_0x24e166[_0x1f18b9]=_0x4fc931[_0x1f18b9]);}return _0x24e166;},ee[_0x593c53(0x437)](this,arguments);},ca=function(_0x16af58,_0xf996cc){const _0x58c612=_0x3f2ec9;var _0x351240={};for(var _0x23071a in _0x16af58)Object[_0x58c612(0x1e6)]['hasOwnProperty'][_0x58c612(0x570)](_0x16af58,_0x23071a)&&_0xf996cc['indexOf'](_0x23071a)<0x0&&(_0x351240[_0x23071a]=_0x16af58[_0x23071a]);if(_0x16af58!=null&&typeof Object[_0x58c612(0x36b)]==_0x58c612(0x416)){for(var _0x19c098=0x0,_0x23071a=Object['getOwnPropertySymbols'](_0x16af58);_0x19c098<_0x23071a[_0x58c612(0x3a7)];_0x19c098++)_0xf996cc[_0x58c612(0x3ad)](_0x23071a[_0x19c098])<0x0&&Object['prototype'][_0x58c612(0x3f6)][_0x58c612(0x570)](_0x16af58,_0x23071a[_0x19c098])&&(_0x351240[_0x23071a[_0x19c098]]=_0x16af58[_0x23071a[_0x19c098]]);}return _0x351240;},Ts=_0x2f556d(function(_0x2ce4b2,_0x42d676){const _0xaaa369=_0x3f2ec9;var _0x4dad97=_0x2ce4b2[_0xaaa369(0x3bf)],_0x370784=_0x2ce4b2['id'],_0x5211c2=_0x2ce4b2[_0xaaa369(0x513)],_0x567b06=_0x2ce4b2[_0xaaa369(0x2e0)],_0x28ba89=ca(_0x2ce4b2,[_0xaaa369(0x3bf),'id',_0xaaa369(0x513),'extend']),_0x321fa8=_0xaaa369(0x396)[_0xaaa369(0x448)](_0x370784,'\x20')[_0xaaa369(0x448)](_0x5211c2||'')[_0xaaa369(0x532)](),_0x58b835=_0x12decf('_'[_0xaaa369(0x448)](_a()));return Li(_0x4dad97,''[_0xaaa369(0x448)](_0x370784),{'defIds':_0x4dad97[_0xaaa369(0x44c)],'idSuffix':_0x58b835[_0xaaa369(0x460)]},ee({'ref':_0x42d676,'className':_0x321fa8},_0x28ba89),_0x567b06);});function Li(_0xc5600d,_0x1d19d8,_0x40b3c7,_0x59edf9,_0x4e0064){const _0x625425=_0x3f2ec9;return _0x3acef7(_0xc5600d[_0x625425(0x31f)],ee(ee({'key':_0x1d19d8},ha(_0xc5600d,_0x40b3c7,_0x4e0064)),_0x59edf9),(la(_0xc5600d,_0x40b3c7)[_0x625425(0x5ce)]||[])[_0x625425(0x26f)](function(_0x55fefe,_0x272b79){const _0x250054=_0x625425;return Li(_0x55fefe,''[_0x250054(0x448)](_0x1d19d8,'-')[_0x250054(0x448)](_0xc5600d[_0x250054(0x31f)],'-')[_0x250054(0x448)](_0x272b79),_0x40b3c7,void 0x0,_0x4e0064);}));}function ha(_0x12c31c,_0x4de0de,_0x39aa62){const _0x4b1064=_0x3f2ec9;var _0x936567=ee({},_0x12c31c['attrs']);_0x39aa62!=null&&_0x39aa62[_0x4b1064(0x29f)]&&_0x936567[_0x4b1064(0x322)]===_0x4b1064(0x29f)&&(_0x936567[_0x4b1064(0x322)]=_0x39aa62[_0x4b1064(0x29f)]);var _0x5e5c03=_0x4de0de['defIds'];return!_0x5e5c03||_0x5e5c03[_0x4b1064(0x3a7)]===0x0||(_0x12c31c['tag']===_0x4b1064(0x239)&&_0x936567['xlink:href']&&(_0x936567[_0x4b1064(0x400)]=_0x936567[_0x4b1064(0x400)]+_0x4de0de['idSuffix']),Object[_0x4b1064(0x49a)](_0x936567)[_0x4b1064(0x346)](function(_0x4ceecc){const _0x5614cd=_0x4b1064;var _0x2504b6=_0x4ceecc[0x0],_0x22ac36=_0x4ceecc[0x1];typeof _0x22ac36==_0x5614cd(0x506)&&(_0x936567[_0x2504b6]=_0x22ac36[_0x5614cd(0x3a8)](/url\(#(.*)\)/,_0x5614cd(0x3ce)['concat'](_0x4de0de[_0x5614cd(0x55a)],')')));})),_0x936567;}function la(_0x1e08e5,_0x526b91){const _0x3d62a5=_0x3f2ec9;var _0x2b809f,_0x556b0f=_0x526b91[_0x3d62a5(0x44c)];return!_0x556b0f||_0x556b0f['length']===0x0?_0x1e08e5:_0x1e08e5[_0x3d62a5(0x31f)]===_0x3d62a5(0x1db)&&(!((_0x2b809f=_0x1e08e5['children'])===null||_0x2b809f===void 0x0)&&_0x2b809f['length'])?ee(ee({},_0x1e08e5),{'children':_0x1e08e5[_0x3d62a5(0x5ce)][_0x3d62a5(0x26f)](function(_0x3bc2b7){const _0x52c78e=_0x3d62a5;return typeof _0x3bc2b7[_0x52c78e(0x500)]['id']==_0x52c78e(0x506)&&_0x556b0f&&_0x556b0f[_0x52c78e(0x3ad)](_0x3bc2b7['attrs']['id'])>-0x1?ee(ee({},_0x3bc2b7),{'attrs':ee(ee({},_0x3bc2b7[_0x52c78e(0x500)]),{'id':_0x3bc2b7[_0x52c78e(0x500)]['id']+_0x526b91['idSuffix']})}):_0x3bc2b7;})}):_0x1e08e5;}function _a(){const _0x54895c=_0x3f2ec9;return Math[_0x54895c(0x35b)]()[_0x54895c(0x5d5)](0x24)['substring'](0x2,0x8);}Ts[_0x3f2ec9(0x380)]=_0x3f2ec9(0x593);var ua={'tag':_0x3f2ec9(0x205),'attrs':{'fill':_0x3f2ec9(0x48d),'viewBox':_0x3f2ec9(0x4fb),'width':'1em','height':_0x3f2ec9(0x3fe)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f2ec9(0x1e3)},'children':[{'tag':_0x3f2ec9(0x5cf),'attrs':{'stroke':'currentColor','d':_0x3f2ec9(0x40a),'strokeLinecap':_0x3f2ec9(0x271),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3f2ec9(0x4ef),'attrs':{'id':_0x3f2ec9(0x57f)},'children':[{'tag':_0x3f2ec9(0x5cf),'attrs':{'fill':_0x3f2ec9(0x252),'d':_0x3f2ec9(0x388)}}]}]}],'defIds':[_0x3f2ec9(0x57f)]},$i=_0x2f556d(function(_0xc2987c,_0x26dc00){const _0x56dd9f=_0x3f2ec9;return _0x3acef7(Ts,Object[_0x56dd9f(0x3dc)]({},_0xc2987c,{'id':_0x56dd9f(0x27e),'ref':_0x26dc00,'icon':ua}));});$i[_0x3f2ec9(0x380)]=_0x3f2ec9(0x556);var da={'tag':_0x3f2ec9(0x205),'attrs':{'fill':_0x3f2ec9(0x48d),'viewBox':_0x3f2ec9(0x540),'width':_0x3f2ec9(0x3fe),'height':_0x3f2ec9(0x3fe)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f2ec9(0x397)},'children':[{'tag':'path','attrs':{'stroke':_0x3f2ec9(0x5ae),'d':_0x3f2ec9(0x464),'strokeLinecap':'round','strokeLinejoin':_0x3f2ec9(0x271),'strokeWidth':1.2}}]},{'tag':_0x3f2ec9(0x1db),'attrs':{},'children':[{'tag':_0x3f2ec9(0x4ef),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x3f2ec9(0x252),'d':_0x3f2ec9(0x388),'transform':_0x3f2ec9(0x468)}}]}]}],'defIds':[_0x3f2ec9(0x1d7)]},Hi=_0x2f556d(function(_0x4e0fa3,_0x37e0ce){const _0x34f07b=_0x3f2ec9;return _0x3acef7(Ts,Object['assign']({},_0x4e0fa3,{'id':_0x34f07b(0x37c),'ref':_0x37e0ce,'icon':da}));});Hi[_0x3f2ec9(0x380)]=_0x3f2ec9(0x299);function ji(_0xe7d849){const _0x56329c=_0x3f2ec9;var _0x3ab018,_0x25b56a,_0x32f483='';if(typeof _0xe7d849=='string'||typeof _0xe7d849==_0x56329c(0x4ee))_0x32f483+=_0xe7d849;else{if(typeof _0xe7d849==_0x56329c(0x470)){if(Array['isArray'](_0xe7d849)){var _0x444042=_0xe7d849[_0x56329c(0x3a7)];for(_0x3ab018=0x0;_0x3ab018<_0x444042;_0x3ab018++)_0xe7d849[_0x3ab018]&&(_0x25b56a=ji(_0xe7d849[_0x3ab018]))&&(_0x32f483&&(_0x32f483+='\x20'),_0x32f483+=_0x25b56a);}else{for(_0x25b56a in _0xe7d849)_0xe7d849[_0x25b56a]&&(_0x32f483&&(_0x32f483+='\x20'),_0x32f483+=_0x25b56a);}}}return _0x32f483;}function fa(){const _0x1ab620=_0x3f2ec9;for(var _0x2a02e6,_0x18a909,_0x9ae62d=0x0,_0x326554='',_0x5ac71a=arguments[_0x1ab620(0x3a7)];_0x9ae62d<_0x5ac71a;_0x9ae62d++)(_0x2a02e6=arguments[_0x9ae62d])&&(_0x18a909=ji(_0x2a02e6))&&(_0x326554&&(_0x326554+='\x20'),_0x326554+=_0x18a909);return _0x326554;}const va='univer-online-status-icon',ma=_0x3f2ec9(0x2e6),pa=_0x3f2ec9(0x321),ga=_0x3f2ec9(0x452),Sa=_0x3f2ec9(0x29b),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x39224e){const _0x390ca3=_0x3f2ec9;switch(_0x39224e){case J[_0x390ca3(0x377)]:return'collabStatus.offline';case J[_0x390ca3(0x47b)]:return _0x390ca3(0x471);case J['FETCH_MISS']:return _0x390ca3(0x35c);case J[_0x390ca3(0x3b9)]:return _0x390ca3(0x2e8);case J[_0x390ca3(0x38f)]:case J[_0x390ca3(0x534)]:return _0x390ca3(0x48e);case J[_0x390ca3(0x364)]:case J[_0x390ca3(0x33d)]:return _0x390ca3(0x5a3);}}function Ca(_0x3b9528){const _0x3603c9=_0x3f2ec9,{status$:_0x143e9c}=_0x3b9528,_0xb9073=_0x458a38(_0x143e9c,J[_0x3603c9(0x3b9)]),_0x1c2e75=_0x167d10(_0x4d6b84),_0x160cae=_0x167d10(Ae),_0x3ebf4e=_0xb9073!==J['OFFLINE'],_0xcdd246=_0x1c2e75['t'](Ia(_0xb9073)),_0xd89caa=fa(Ze[_0x3603c9(0x41b)],{[Ze['online']]:_0x3ebf4e,[Ze[_0x3603c9(0x37f)]]:!_0x3ebf4e}),_0x611a1a=_0x3ebf4e?we['jsx'](Hi,{}):we[_0x3603c9(0x5b9)]($i,{}),_0x47056e=_0x44f3c3(()=>{_0x3ebf4e||_0x160cae['reconnect']();},[_0x3ebf4e,_0x160cae]);function _0x2331bb(){const _0x3eab52=_0x3603c9;return we[_0x3eab52(0x3d5)](_0x3eab52(0x371),{'className':_0xd89caa,'onClick':_0x47056e,'children':[we[_0x3eab52(0x5b9)]('div',{'className':Ze[_0x3eab52(0x21b)],'children':_0x611a1a}),we[_0x3eab52(0x5b9)](_0x3eab52(0x371),{'className':Ze[_0x3eab52(0x2bd)],'children':_0xcdd246})]});}return _0x3ebf4e?_0x2331bb():we[_0x3603c9(0x5b9)](_0x175b19,{'title':_0x1c2e75['t'](_0x3603c9(0x253)),'children':_0x2331bb()});}var Ea=Object[_0x3f2ec9(0x323)],ba=Object['getOwnPropertyDescriptor'],Ta=(_0x14f8cc,_0x93b93c,_0x3f7017,_0xe461fe)=>{const _0xbee950=_0x3f2ec9;for(var _0x408faf=_0xe461fe>0x1?void 0x0:_0xe461fe?ba(_0x93b93c,_0x3f7017):_0x93b93c,_0x16b505=_0x14f8cc[_0xbee950(0x3a7)]-0x1,_0x12fcfa;_0x16b505>=0x0;_0x16b505--)(_0x12fcfa=_0x14f8cc[_0x16b505])&&(_0x408faf=(_0xe461fe?_0x12fcfa(_0x93b93c,_0x3f7017,_0x408faf):_0x12fcfa(_0x408faf))||_0x408faf);return _0xe461fe&&_0x408faf&&Ea(_0x93b93c,_0x3f7017,_0x408faf),_0x408faf;},ht=(_0x31e3ee,_0x5158e3)=>(_0x2080ed,_0x51486c)=>_0x5158e3(_0x2080ed,_0x51486c,_0x31e3ee);let St=class extends _0x4bee31{constructor(_0x2db39f,_0x1d9c58,_0x29c45e,_0x78d11b){const _0x4bdffe=_0x3f2ec9;super(),g(this,_0x4bdffe(0x1e5),new _0x286de7(J[_0x4bdffe(0x3b9)])),(this[_0x4bdffe(0x590)]=_0x2db39f,this[_0x4bdffe(0x535)]=_0x1d9c58,this['_injector']=_0x29c45e,this[_0x4bdffe(0x22f)]=_0x78d11b,this[_0x4bdffe(0x249)](),this[_0x4bdffe(0x4c1)]());}[_0x3f2ec9(0x4c1)](){const _0x290c80=_0x3f2ec9;this[_0x290c80(0x324)](this[_0x290c80(0x590)][_0x290c80(0x47e)][_0x290c80(0x3c4)](_0x20c82a(()=>{const _0x163e8f=_0x290c80,_0x4c9170=this[_0x163e8f(0x590)]['getFocusedUnit']();return _0x4c9170?this[_0x163e8f(0x22f)]['getCollabEntity$'](_0x4c9170['getUnitId']()):_0x2a9475(null);}),_0x20c82a(_0x377d7b=>_0x377d7b?_0x377d7b[_0x290c80(0x23d)]:_0x2a9475(J[_0x290c80(0x3b9)])))['subscribe'](_0x5bb42c=>{const _0x1af960=_0x290c80;this[_0x1af960(0x1e5)]['next'](_0x5bb42c);}));}[_0x3f2ec9(0x249)](){const _0x172c55=_0x3f2ec9;this[_0x172c55(0x324)](this['_uiPartsService'][_0x172c55(0x49c)](_0x290b7d[_0x172c55(0x5a9)],()=>_0x26398f(Ra({'status$':this[_0x172c55(0x1e5)][_0x172c55(0x5d2)]()}),this[_0x172c55(0x469)])));}};St=Ta([ht(0x0,_0x4c4975),ht(0x1,_0x38c0b8),ht(0x2,_0x127ed5(_0x846a04)),ht(0x3,_0x127ed5(it))],St);function Ra(_0x56da32){const {status$:_0x70814f}=_0x56da32;return function(){const _0x346c13=_0x1414;return we[_0x346c13(0x5b9)](Ca,{'status$':_0x70814f});};}const Bi=_0x229333('uni.network.url-service');var ya=Object[_0x3f2ec9(0x323)],Oa=Object['getOwnPropertyDescriptor'],wa=(_0x2d5c7c,_0x41d155,_0x4ab0ef,_0x738a3a)=>{for(var _0xc27416=_0x738a3a>0x1?void 0x0:_0x738a3a?Oa(_0x41d155,_0x4ab0ef):_0x41d155,_0x5a1d43=_0x2d5c7c['length']-0x1,_0xe3857b;_0x5a1d43>=0x0;_0x5a1d43--)(_0xe3857b=_0x2d5c7c[_0x5a1d43])&&(_0xc27416=(_0x738a3a?_0xe3857b(_0x41d155,_0x4ab0ef,_0xc27416):_0xe3857b(_0xc27416))||_0xc27416);return _0x738a3a&&_0xc27416&&ya(_0x41d155,_0x4ab0ef,_0xc27416),_0xc27416;},ke=(_0x22d87f,_0x4fe071)=>(_0x252d41,_0x4c7934)=>_0x4fe071(_0x252d41,_0x4c7934,_0x22d87f);let It=class extends _0x404743{constructor(_0x4e1ce0,_0x24bcfb,_0x3e2795,_0x5ac43f,_0x42ea74,_0x434520){const _0x1cd85d=_0x3f2ec9;super(),this['_urlService']=_0x4e1ce0,this[_0x1cd85d(0x42f)]=_0x24bcfb,this[_0x1cd85d(0x39b)]=_0x3e2795,this['_localCacheService']=_0x5ac43f,this[_0x1cd85d(0x1fd)]=_0x42ea74,_0x434520?_0x434520==null||_0x434520[_0x1cd85d(0x409)]()[_0x1cd85d(0x33f)](()=>this[_0x1cd85d(0x51f)]()):(this[_0x1cd85d(0x42f)][_0x1cd85d(0x59b)](_0x1cd85d(0x4c9),_0x1cd85d(0x301)),this[_0x1cd85d(0x51f)]());}async[_0x3f2ec9(0x51f)](){const _0x455c96=_0x3f2ec9,_0x26e627=this['_urlService'][_0x455c96(0x51b)]('unit'),_0x5cbe4f=this[_0x455c96(0x2bf)][_0x455c96(0x51b)](_0x455c96(0x4e4));if(!_0x26e627||!_0x5cbe4f){this[_0x455c96(0x42f)][_0x455c96(0x59b)](_0x455c96(0x4c9),_0x455c96(0x3bd));return;}switch(Number(_0x5cbe4f)){case ce[_0x455c96(0x54f)]:{const _0xa5c34b=await this[_0x455c96(0x264)](_0x26e627);this[_0x455c96(0x499)](_0xa5c34b);break;}case ce['UNIVER_DOC']:{await this[_0x455c96(0x278)](_0x26e627);break;}default:{this['_logService'][_0x455c96(0x3b5)](_0x455c96(0x4c9),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x3f2ec9(0x499)](_0x47cf8d){const _0x421681=_0x3f2ec9;await this[_0x421681(0x458)](_0x47cf8d),_0x47cf8d[_0x421681(0x1cb)]['pipe'](_0x54e638(this['dispose$']))[_0x421681(0x27a)](_0x97b7b8=>{const _0xe0364e=_0x421681;_0x97b7b8&&this[_0xe0364e(0x2fc)](_0x97b7b8);}),this[_0x421681(0x2bf)][_0x421681(0x57c)]['pipe'](_0x54e638(this[_0x421681(0x3e8)]))[_0x421681(0x27a)](()=>this[_0x421681(0x458)](_0x47cf8d));}[_0x3f2ec9(0x2fc)](_0x29e40a,_0x527e3c=!0x1){const _0x8e828=_0x3f2ec9,_0xdc9b42=this[_0x8e828(0x2bf)][_0x8e828(0x51b)]('subunit');_0x29e40a[_0x8e828(0x3fa)]()!==_0xdc9b42&&this[_0x8e828(0x2bf)]['setParam'](_0x8e828(0x4bc),_0x29e40a['getSheetId'](),_0x527e3c);}async[_0x3f2ec9(0x458)](_0x43419a){const _0x44168a=_0x3f2ec9;var _0x4fed40;const _0x379292=this[_0x44168a(0x2bf)][_0x44168a(0x51b)](_0x44168a(0x4bc));if(!_0x379292||!_0x43419a[_0x44168a(0x4d3)](_0x379292)){const _0x47af77=_0x43419a[_0x44168a(0x23b)]()[0x0],_0x103db1=_0x43419a[_0x44168a(0x4d3)](_0x47af77);if(!_0x103db1)return;this[_0x44168a(0x2fc)](_0x103db1,!0x0),await this[_0x44168a(0x39b)][_0x44168a(0x1d2)](_0x1942c4['id'],{'unitId':_0x43419a[_0x44168a(0x461)](),'subUnitId':_0x47af77});return;}((_0x4fed40=_0x43419a['getActiveSheet']())==null?void 0x0:_0x4fed40[_0x44168a(0x3fa)]())!==_0x379292&&await this[_0x44168a(0x39b)][_0x44168a(0x1d2)](_0x1942c4['id'],{'unitId':_0x43419a['getUnitId'](),'subUnitId':_0x379292});}async[_0x3f2ec9(0x264)](_0xd29ac9){const _0x1eb6db=_0x3f2ec9;let _0x2dd34f=0x0;const _0x17aa0b=await this[_0x1eb6db(0x485)][_0x1eb6db(0x53d)](_0xd29ac9);return _0x17aa0b&&(_0x17aa0b[_0x1eb6db(0x3cf)]||_0x17aa0b[_0x1eb6db(0x3e6)][_0x1eb6db(0x3a7)]!==0x0)&&(_0x2dd34f=_0x17aa0b['rev']),_0x2dd34f===0x0&&this[_0x1eb6db(0x42f)][_0x1eb6db(0x59b)](_0x1eb6db(0x4c9),_0x1eb6db(0x3b4)),this[_0x1eb6db(0x1fd)][_0x1eb6db(0x207)](_0xd29ac9,_0x2dd34f);}async[_0x3f2ec9(0x278)](_0x23e95e){const _0x17aec4=_0x3f2ec9;let _0x5d7e0a=0x0;const _0x3fd221=await this[_0x17aec4(0x485)][_0x17aec4(0x53d)](_0x23e95e);return _0x3fd221&&(_0x3fd221[_0x17aec4(0x3cf)]||_0x3fd221['mutations']['length']!==0x0)&&(_0x5d7e0a=_0x3fd221[_0x17aec4(0x45e)]),_0x5d7e0a===0x0&&this[_0x17aec4(0x42f)][_0x17aec4(0x59b)](_0x17aec4(0x4c9),_0x17aec4(0x3b4)),this[_0x17aec4(0x1fd)][_0x17aec4(0x1ea)](_0x23e95e,_0x5d7e0a);}};It=wa([ke(0x0,Bi),ke(0x1,_0x2a6a1c),ke(0x2,_0x49a021),ke(0x3,_0x127ed5(q)),ke(0x4,_0x127ed5(_0x155fc0)),ke(0x5,_0x5c4d06(_0xa1253))],It);var Da=Object[_0x3f2ec9(0x323)],Pa=Object[_0x3f2ec9(0x318)],Ua=(_0x11b0ff,_0x2a7d60,_0x76e4c4,_0x117744)=>{const _0x3230ff=_0x3f2ec9;for(var _0xf4e65=_0x117744>0x1?void 0x0:_0x117744?Pa(_0x2a7d60,_0x76e4c4):_0x2a7d60,_0x223d52=_0x11b0ff[_0x3230ff(0x3a7)]-0x1,_0x50eb99;_0x223d52>=0x0;_0x223d52--)(_0x50eb99=_0x11b0ff[_0x223d52])&&(_0xf4e65=(_0x117744?_0x50eb99(_0x2a7d60,_0x76e4c4,_0xf4e65):_0x50eb99(_0xf4e65))||_0xf4e65);return _0x117744&&_0xf4e65&&Da(_0x2a7d60,_0x76e4c4,_0xf4e65),_0xf4e65;},zs=(_0x1eec0c,_0x2940d5)=>(_0x57103c,_0x9de9f9)=>_0x2940d5(_0x57103c,_0x9de9f9,_0x1eec0c);const Na=_0x3f2ec9(0x3c0),Aa='Univer';let Ct=class extends _0x4bee31{constructor(_0x85f456,_0x6a3edd){const _0xf1e019=_0x3f2ec9;super(),this[_0xf1e019(0x590)]=_0x85f456,this[_0xf1e019(0x5b4)]=_0x6a3edd,this[_0xf1e019(0x51f)]();}[_0x3f2ec9(0x51f)](){const _0x12a2ca=_0x3f2ec9;this[_0x12a2ca(0x324)](this['_univerInstanceService']['focused$'][_0x12a2ca(0x27a)](()=>{const _0x5bc4de=_0x12a2ca;var _0xf051b7;const _0x4eca06=this[_0x5bc4de(0x590)][_0x5bc4de(0x548)]();let _0x1923f2=(_0xf051b7=this[_0x5bc4de(0x5b4)][_0x5bc4de(0x4d2)](Na))!=null?_0xf051b7:Aa;_0x4eca06 instanceof _0x17fe54&&(_0x1923f2=_0x4eca06[_0x5bc4de(0x533)]),document['title']=_0x1923f2;}));}};Ct=Ua([zs(0x0,_0x4c4975),zs(0x1,_0x5293d7)],Ct);var Ma=Object[_0x3f2ec9(0x323)],xa=Object[_0x3f2ec9(0x318)],La=(_0x41d97a,_0x3ee115,_0x561a50,_0x41b379)=>{const _0x100348=_0x3f2ec9;for(var _0x11260a=_0x41b379>0x1?void 0x0:_0x41b379?xa(_0x3ee115,_0x561a50):_0x3ee115,_0x5515cf=_0x41d97a[_0x100348(0x3a7)]-0x1,_0x3ae489;_0x5515cf>=0x0;_0x5515cf--)(_0x3ae489=_0x41d97a[_0x5515cf])&&(_0x11260a=(_0x41b379?_0x3ae489(_0x3ee115,_0x561a50,_0x11260a):_0x3ae489(_0x11260a))||_0x11260a);return _0x41b379&&_0x11260a&&Ma(_0x3ee115,_0x561a50,_0x11260a),_0x11260a;},Wt=(_0x1b54c0,_0x2ae3d3)=>(_0x1ca300,_0x24cab0)=>_0x2ae3d3(_0x1ca300,_0x24cab0,_0x1b54c0);let Et=class{constructor(_0x3dcaf9,_0x33d270,_0x3d5398){const _0x11fb75=_0x3f2ec9;this['_configService']=_0x3dcaf9,this[_0x11fb75(0x2e2)]=_0x33d270,this[_0x11fb75(0x233)]=_0x3d5398,this[_0x11fb75(0x282)]();}[_0x3f2ec9(0x282)](){const _0x17cfb7=_0x3f2ec9;this[_0x17cfb7(0x2e2)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xf23332,_0x33856e)=>_0x33856e(_0xf23332)[_0x17cfb7(0x3c4)](_0x2062d4(async _0x4ce3ad=>{const _0x593de6=_0x17cfb7,_0x575bec=_0x4ce3ad;if(_0x575bec['status']===0x191&&window[_0x593de6(0x3ae)](this[_0x593de6(0x233)]['t']('auth.needGotoLoginAlert'))){const _0x6262a6=window[_0x593de6(0x2a1)](window['location']['href']);window['location'][_0x593de6(0x2b5)]=this['_getLoginPath']()+_0x593de6(0x2f2)+_0x6262a6;}return _0x575bec;}))});}['_getLoginPath'](){const _0x55936c=_0x3f2ec9;var _0x2973ca,_0x10e867;const _0x3080fd=this[_0x55936c(0x5b4)][_0x55936c(0x4d2)](br),_0x2c14fc=this['_configService'][_0x55936c(0x4d2)](ie);return(_0x10e867=(_0x2973ca=_0x2c14fc==null?void 0x0:_0x2c14fc[_0x55936c(0x295)])!=null?_0x2973ca:_0x3080fd)!=null?_0x10e867:Tr;}};Et=La([Wt(0x0,_0x5293d7),Wt(0x1,_0x127ed5(_0x1d93b0)),Wt(0x2,_0x127ed5(_0x4d6b84))],Et);var $a=Object[_0x3f2ec9(0x323)],Ha=Object[_0x3f2ec9(0x318)],ja=(_0x6d86be,_0x20fb97,_0x2c853c,_0x3e19d1)=>{for(var _0x359ec2=_0x3e19d1>0x1?void 0x0:_0x3e19d1?Ha(_0x20fb97,_0x2c853c):_0x20fb97,_0x3c4756=_0x6d86be['length']-0x1,_0x5c0cdd;_0x3c4756>=0x0;_0x3c4756--)(_0x5c0cdd=_0x6d86be[_0x3c4756])&&(_0x359ec2=(_0x3e19d1?_0x5c0cdd(_0x20fb97,_0x2c853c,_0x359ec2):_0x5c0cdd(_0x359ec2))||_0x359ec2);return _0x3e19d1&&_0x359ec2&&$a(_0x20fb97,_0x2c853c,_0x359ec2),_0x359ec2;},qs=(_0x3beb04,_0x2ae3d0)=>(_0x21cda4,_0xe7265f)=>_0x2ae3d0(_0x21cda4,_0xe7265f,_0x3beb04);const Ba=_0x3f2ec9(0x3cc),ka=_0x3f2ec9(0x293);let cs=class extends _0x4bee31{constructor(_0x1c85a0,_0x353f0d){const _0x18fcb4=_0x3f2ec9;super(),this[_0x18fcb4(0x4ff)]=_0x1c85a0,this[_0x18fcb4(0x5b4)]=_0x353f0d,this[_0x18fcb4(0x417)]();}[_0x3f2ec9(0x417)](){const _0x8dad37=_0x3f2ec9,_0x204d86=this;this[_0x8dad37(0x324)](this[_0x8dad37(0x4ff)][_0x8dad37(0x4e2)]({'priority':0x3e7,'interceptor':_0x1dbafd({'isMatch'(_0x4b72e8){const _0x3279c6=_0x8dad37;var _0xfacb91;if(_0x4b72e8['method']===_0x3279c6(0x3c7)&&((_0xfacb91=_0x4b72e8['requestParams'])!=null&&_0xfacb91[_0x3279c6(0x57e)])){const {objectID:_0x30da34,objectType:_0x15d120}=_0x4b72e8['requestParams'][_0x3279c6(0x57e)]||{};if(!_0x30da34||_0x15d120===void 0x0)return!0x1;const _0x2d2d28=_0x204d86[_0x3279c6(0x212)]()+'/'+_0x15d120+'/object/'+_0x30da34+_0x3279c6(0x57d);if(_0x4b72e8[_0x3279c6(0x582)]===_0x2d2d28)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xfe1cae){const _0x5ea94c=_0x8dad37;var _0x5792ca;return(_0x5792ca=_0xfe1cae[_0x5ea94c(0x269)])==null?void 0x0:_0x5792ca[_0x5ea94c(0x57e)];},'mergeParamsToRequest'(_0x2d9c66,_0x298427){const _0x36b5e9=_0x8dad37,_0x57fa8b=_0x204d86[_0x36b5e9(0x212)]()+_0x36b5e9(0x561),_0x2e6036=_0x2d9c66[_0x36b5e9(0x228)]((_0xe7cc79,_0x44d7de)=>{const _0x36dd85=_0x36b5e9,{unitID:_0x147754,objectID:_0x39839e,objectType:_0x707c6a,actions:_0x45fa70}=_0x44d7de;return _0xe7cc79[_0x147754]||(_0xe7cc79[_0x147754]={}),_0xe7cc79[_0x147754][_0x39839e]||(_0xe7cc79[_0x147754][_0x39839e]={'objectID':_0x39839e,'objectType':_0x707c6a,'actions':[]}),_0xe7cc79[_0x147754][_0x39839e][_0x36dd85(0x489)][_0x36dd85(0x496)](..._0x45fa70),_0xe7cc79;},{}),_0x4c7933=[];for(const _0x11d69a in _0x2e6036)for(const _0x116b9a in _0x2e6036[_0x11d69a]){const {actions:_0xf82223,objectType:_0x2ecfbb}=_0x2e6036[_0x11d69a][_0x116b9a],_0x4f0853=[...new Set(_0xf82223)];_0x4c7933['push']({'unitID':_0x11d69a,'objectID':_0x116b9a,'objectType':_0x2ecfbb,'actions':_0x4f0853});}return new _0x651888(_0x36b5e9(0x3c7),_0x57fa8b,{'headers':_0x298427[_0x36b5e9(0x343)],'withCredentials':_0x298427[_0x36b5e9(0x498)],'responseType':_0x298427[_0x36b5e9(0x449)],'body':{'requests':_0x4c7933}});}},{'distributeResult'(_0x2b877a,_0x4d05ce){const _0x411b4f=_0x8dad37,{objectActions:_0x1585dd}=_0x2b877a;return _0x4d05ce[_0x411b4f(0x26f)](_0x2e397c=>{const _0x4eab93=_0x411b4f,{unitID:_0x50f1b5,objectID:_0x4474b2,actions:_0x48fb6f}=_0x2e397c,_0x458c47=_0x1585dd[_0x4eab93(0x59f)](_0x5bde62=>_0x5bde62[_0x4eab93(0x350)]===_0x50f1b5&&_0x5bde62['objectID']===_0x4474b2),_0x2f1db5=_0x48fb6f[_0x4eab93(0x26f)](_0x5c0b8b=>_0x458c47==null?void 0x0:_0x458c47[_0x4eab93(0x489)]['find'](_0x3d829f=>_0x3d829f[_0x4eab93(0x426)]===_0x5c0b8b))['filter'](_0x2515d9=>!!_0x2515d9);return{'config':_0x2e397c,'result':{'actions':_0x2f1db5,'error':_0x2b877a['error']}};});}})}));}['_getAPIPrefixPath'](){const _0xda133=_0x3f2ec9;var _0x205e9e,_0x328f96;const _0x22a437=this[_0xda133(0x5b4)][_0xda133(0x4d2)](Ba),_0x438ec2=this[_0xda133(0x5b4)][_0xda133(0x4d2)](ie);return(_0x328f96=(_0x205e9e=_0x438ec2==null?void 0x0:_0x438ec2[_0xda133(0x28d)])!=null?_0x205e9e:_0x22a437)!=null?_0x328f96:ka;}async[_0x3f2ec9(0x3fd)](_0x5ab2cd){const _0x46444c=_0x3f2ec9,_0x160f1a=this[_0x46444c(0x212)]()+'/'+_0x5ab2cd['objectType']+_0x46444c(0x560);return(await this['_HTTPService'][_0x46444c(0x527)](_0x160f1a,{'body':_0x5ab2cd}))[_0x46444c(0x57e)][_0x46444c(0x5a4)]||'';}async[_0x3f2ec9(0x46b)](_0x829210){const _0x4eb2ec=_0x3f2ec9,_0x1b48fc=this[_0x4eb2ec(0x212)]()+_0x4eb2ec(0x390);return(await this[_0x4eb2ec(0x4ff)]['post'](_0x1b48fc,{'body':_0x829210}))[_0x4eb2ec(0x57e)][_0x4eb2ec(0x528)];}async[_0x3f2ec9(0x296)](_0x54f79e){const _0x54fedf=_0x3f2ec9,_0x3fd49f=this[_0x54fedf(0x212)]()+'/'+_0x54f79e['objectType']+'/object/'+_0x54f79e[_0x54fedf(0x5a4)];await this[_0x54fedf(0x4ff)][_0x54fedf(0x2ae)](_0x3fd49f,{'body':_0x54f79e});}async['allowed'](_0x773f1a){const _0x2518be=_0x3f2ec9,_0x4767fb=this[_0x2518be(0x212)]()+'/'+_0x773f1a[_0x2518be(0x522)]+'/object/'+_0x773f1a['objectID']+_0x2518be(0x57d);return(await this[_0x2518be(0x4ff)]['post'](_0x4767fb,{'body':_0x773f1a}))['body'][_0x2518be(0x489)];}async['batchAllowed'](_0xfd0f64){const _0x260280=_0x3f2ec9,_0x28a06d=this[_0x260280(0x212)]()+'/-/object/-/batch_allowed';return(await this[_0x260280(0x4ff)][_0x260280(0x527)](_0x28a06d,{'body':{'requests':_0xfd0f64}}))[_0x260280(0x57e)]['objectActions'];}async[_0x3f2ec9(0x597)](_0x2d06e7){const _0x4ec3ca=_0x3f2ec9,_0x3c2157=this['_getAPIPrefixPath']()+'/'+_0x2d06e7['objectType']+_0x4ec3ca(0x52e),_0x18e8cb=await this[_0x4ec3ca(0x4ff)][_0x4ec3ca(0x527)](_0x3c2157,{'body':_0x2d06e7});return{'roles':_0x18e8cb[_0x4ec3ca(0x57e)]['roles'],'actions':_0x18e8cb[_0x4ec3ca(0x57e)][_0x4ec3ca(0x489)]};}async[_0x3f2ec9(0x517)](_0x255b56){const _0x540fb7=_0x3f2ec9,_0x39103b=this['_getAPIPrefixPath']()+_0x540fb7(0x543);await this['_HTTPService'][_0x540fb7(0x1c4)](_0x39103b,{'params':{'collaboratorID':_0x255b56[_0x540fb7(0x1fb)],'objectID':_0x255b56[_0x540fb7(0x5a4)],'unitID':_0x255b56[_0x540fb7(0x350)]}});}async[_0x3f2ec9(0x1bf)](_0x1877c4){const _0x5ce86b=_0x3f2ec9,_0x2174a9=this[_0x5ce86b(0x212)]()+_0x5ce86b(0x543);await this['_HTTPService'][_0x5ce86b(0x456)](_0x2174a9,{'body':_0x1877c4});}async[_0x3f2ec9(0x59c)](_0x4a9eec){const _0x57ee1f=_0x3f2ec9,_0x20a4f7=this[_0x57ee1f(0x212)]()+'/collaborator';await this[_0x57ee1f(0x4ff)][_0x57ee1f(0x527)](_0x20a4f7,{'body':_0x4a9eec});}async[_0x3f2ec9(0x4ba)](_0x214f24){const _0x11a2f7=_0x3f2ec9,_0x1cab43=this[_0x11a2f7(0x212)]()+_0x11a2f7(0x543);return(await this[_0x11a2f7(0x4ff)][_0x11a2f7(0x333)](_0x1cab43,{'params':{'objectID':_0x214f24[_0x11a2f7(0x5a4)],'unitID':_0x214f24['unitID']}}))[_0x11a2f7(0x57e)]['collaborators'];}async[_0x3f2ec9(0x3c9)](_0x417559){const _0x537a6b=_0x3f2ec9,_0x8a11=this[_0x537a6b(0x212)]()+_0x537a6b(0x543);await this[_0x537a6b(0x4ff)][_0x537a6b(0x2ae)](_0x8a11,{'body':_0x417559});}};cs=ja([qs(0x0,_0x127ed5(_0x1d93b0)),qs(0x1,_0x127ed5(_0x5293d7))],cs);var ki={'exports':{}};function Wa(_0x20f427){const _0x31b72c=_0x3f2ec9;throw new Error(_0x31b72c(0x20f)+_0x20f427+_0x31b72c(0x551));}var Ft={'exports':{}},Xs;function ue(){const _0xedd49b=_0x3f2ec9;return Xs||(Xs=0x1,function(_0x514a15,_0x5a692a){(function(_0x3966cc,_0xd54d93){const _0x4de33d=_0x1414;_0x514a15[_0x4de33d(0x4a2)]=_0xd54d93();}(Z,function(){var _0xce0d7e=_0xce0d7e||function(_0xc34bb2,_0x4e42d6){const _0x5d6095=_0x1414;var _0x5a9b9c;if(typeof window<'u'&&window[_0x5d6095(0x38e)]&&(_0x5a9b9c=window['crypto']),typeof self<'u'&&self[_0x5d6095(0x38e)]&&(_0x5a9b9c=self[_0x5d6095(0x38e)]),typeof globalThis<'u'&&globalThis[_0x5d6095(0x38e)]&&(_0x5a9b9c=globalThis['crypto']),!_0x5a9b9c&&typeof window<'u'&&window[_0x5d6095(0x375)]&&(_0x5a9b9c=window[_0x5d6095(0x375)]),!_0x5a9b9c&&typeof Z<'u'&&Z[_0x5d6095(0x38e)]&&(_0x5a9b9c=Z[_0x5d6095(0x38e)]),!_0x5a9b9c&&typeof Wa=='function')try{_0x5a9b9c=require(_0x5d6095(0x38e));}catch{}var _0x2f3b44=function(){const _0x53f9b8=_0x5d6095;if(_0x5a9b9c){if(typeof _0x5a9b9c[_0x53f9b8(0x50f)]=='function')try{return _0x5a9b9c[_0x53f9b8(0x50f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5a9b9c[_0x53f9b8(0x5d8)]==_0x53f9b8(0x416))try{return _0x5a9b9c['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x53f9b8(0x373));},_0x2d8c46=Object[_0x5d6095(0x3fd)]||(function(){function _0x4dcace(){}return function(_0x4bdc2d){const _0x82fde7=_0x1414;var _0x1d05d5;return _0x4dcace['prototype']=_0x4bdc2d,_0x1d05d5=new _0x4dcace(),_0x4dcace[_0x82fde7(0x1e6)]=null,_0x1d05d5;};}()),_0x260c74={},_0x1ea3e6=_0x260c74[_0x5d6095(0x40b)]={},_0x252c35=_0x1ea3e6[_0x5d6095(0x2d1)]=(function(){return{'extend':function(_0x19c7e5){const _0x254cff=_0x1414;var _0x1d9db7=_0x2d8c46(this);return _0x19c7e5&&_0x1d9db7[_0x254cff(0x45a)](_0x19c7e5),(!_0x1d9db7[_0x254cff(0x3af)](_0x254cff(0x282))||this[_0x254cff(0x282)]===_0x1d9db7['init'])&&(_0x1d9db7['init']=function(){const _0xaf802a=_0x254cff;_0x1d9db7[_0xaf802a(0x473)]['init'][_0xaf802a(0x437)](this,arguments);}),_0x1d9db7[_0x254cff(0x282)][_0x254cff(0x1e6)]=_0x1d9db7,_0x1d9db7[_0x254cff(0x473)]=this,_0x1d9db7;},'create':function(){const _0x453111=_0x1414;var _0xb9c54e=this[_0x453111(0x2e0)]();return _0xb9c54e['init']['apply'](_0xb9c54e,arguments),_0xb9c54e;},'init':function(){},'mixIn':function(_0x1d8385){const _0xeebe5e=_0x1414;for(var _0x53fa6d in _0x1d8385)_0x1d8385['hasOwnProperty'](_0x53fa6d)&&(this[_0x53fa6d]=_0x1d8385[_0x53fa6d]);_0x1d8385[_0xeebe5e(0x3af)](_0xeebe5e(0x5d5))&&(this[_0xeebe5e(0x5d5)]=_0x1d8385[_0xeebe5e(0x5d5)]);},'clone':function(){const _0x4af381=_0x1414;return this[_0x4af381(0x282)][_0x4af381(0x1e6)][_0x4af381(0x2e0)](this);}};}()),_0x3a4025=_0x1ea3e6['WordArray']=_0x252c35[_0x5d6095(0x2e0)]({'init':function(_0x1e10ef,_0x58f951){const _0x31c10f=_0x5d6095;_0x1e10ef=this[_0x31c10f(0x5b2)]=_0x1e10ef||[],_0x58f951!=_0x4e42d6?this['sigBytes']=_0x58f951:this['sigBytes']=_0x1e10ef[_0x31c10f(0x3a7)]*0x4;},'toString':function(_0x35fd35){const _0x2d70c6=_0x5d6095;return(_0x35fd35||_0x469aad)[_0x2d70c6(0x5a1)](this);},'concat':function(_0x1b35c7){const _0x2913ae=_0x5d6095;var _0x15a990=this[_0x2913ae(0x5b2)],_0x2506bb=_0x1b35c7['words'],_0x4da1f3=this['sigBytes'],_0x296201=_0x1b35c7[_0x2913ae(0x25b)];if(this[_0x2913ae(0x329)](),_0x4da1f3%0x4)for(var _0x238e12=0x0;_0x238e12<_0x296201;_0x238e12++){var _0x21602a=_0x2506bb[_0x238e12>>>0x2]>>>0x18-_0x238e12%0x4*0x8&0xff;_0x15a990[_0x4da1f3+_0x238e12>>>0x2]|=_0x21602a<<0x18-(_0x4da1f3+_0x238e12)%0x4*0x8;}else{for(var _0x324981=0x0;_0x324981<_0x296201;_0x324981+=0x4)_0x15a990[_0x4da1f3+_0x324981>>>0x2]=_0x2506bb[_0x324981>>>0x2];}return this[_0x2913ae(0x25b)]+=_0x296201,this;},'clamp':function(){const _0x4e6668=_0x5d6095;var _0x4dc80d=this['words'],_0x5d4e39=this[_0x4e6668(0x25b)];_0x4dc80d[_0x5d4e39>>>0x2]&=0xffffffff<<0x20-_0x5d4e39%0x4*0x8,_0x4dc80d['length']=_0xc34bb2[_0x4e6668(0x359)](_0x5d4e39/0x4);},'clone':function(){const _0x3c1568=_0x5d6095;var _0x42794d=_0x252c35[_0x3c1568(0x24d)]['call'](this);return _0x42794d['words']=this['words'][_0x3c1568(0x43e)](0x0),_0x42794d;},'random':function(_0x4f5726){const _0x251dc8=_0x5d6095;for(var _0x2c12fe=[],_0x4b4ebd=0x0;_0x4b4ebd<_0x4f5726;_0x4b4ebd+=0x4)_0x2c12fe[_0x251dc8(0x496)](_0x2f3b44());return new _0x3a4025['init'](_0x2c12fe,_0x4f5726);}}),_0x30e37c=_0x260c74['enc']={},_0x469aad=_0x30e37c[_0x5d6095(0x3e9)]={'stringify':function(_0x4892ff){const _0x27c911=_0x5d6095;for(var _0x58ab2d=_0x4892ff[_0x27c911(0x5b2)],_0x1574f2=_0x4892ff[_0x27c911(0x25b)],_0x2ca31a=[],_0x605592=0x0;_0x605592<_0x1574f2;_0x605592++){var _0xbb5a92=_0x58ab2d[_0x605592>>>0x2]>>>0x18-_0x605592%0x4*0x8&0xff;_0x2ca31a[_0x27c911(0x496)]((_0xbb5a92>>>0x4)['toString'](0x10)),_0x2ca31a[_0x27c911(0x496)]((_0xbb5a92&0xf)['toString'](0x10));}return _0x2ca31a[_0x27c911(0x580)]('');},'parse':function(_0x4c7223){const _0x537129=_0x5d6095;for(var _0x4baa55=_0x4c7223[_0x537129(0x3a7)],_0x120778=[],_0x5dca6e=0x0;_0x5dca6e<_0x4baa55;_0x5dca6e+=0x2)_0x120778[_0x5dca6e>>>0x3]|=parseInt(_0x4c7223[_0x537129(0x3f2)](_0x5dca6e,0x2),0x10)<<0x18-_0x5dca6e%0x8*0x4;return new _0x3a4025['init'](_0x120778,_0x4baa55/0x2);}},_0x4082f4=_0x30e37c[_0x5d6095(0x2d9)]={'stringify':function(_0x3a4719){const _0x5f6658=_0x5d6095;for(var _0x4519ae=_0x3a4719['words'],_0x507e9c=_0x3a4719[_0x5f6658(0x25b)],_0x4765b7=[],_0x307355=0x0;_0x307355<_0x507e9c;_0x307355++){var _0x213765=_0x4519ae[_0x307355>>>0x2]>>>0x18-_0x307355%0x4*0x8&0xff;_0x4765b7[_0x5f6658(0x496)](String[_0x5f6658(0x45f)](_0x213765));}return _0x4765b7[_0x5f6658(0x580)]('');},'parse':function(_0x4ead90){const _0x6a8fbf=_0x5d6095;for(var _0x162524=_0x4ead90[_0x6a8fbf(0x3a7)],_0x199c18=[],_0x44f68a=0x0;_0x44f68a<_0x162524;_0x44f68a++)_0x199c18[_0x44f68a>>>0x2]|=(_0x4ead90[_0x6a8fbf(0x549)](_0x44f68a)&0xff)<<0x18-_0x44f68a%0x4*0x8;return new _0x3a4025[(_0x6a8fbf(0x282))](_0x199c18,_0x162524);}},_0x5c05cf=_0x30e37c[_0x5d6095(0x4b7)]={'stringify':function(_0x5838dc){const _0x2d5f3f=_0x5d6095;try{return decodeURIComponent(escape(_0x4082f4['stringify'](_0x5838dc)));}catch{throw new Error(_0x2d5f3f(0x210));}},'parse':function(_0x1fd143){const _0x19fe09=_0x5d6095;return _0x4082f4[_0x19fe09(0x224)](unescape(encodeURIComponent(_0x1fd143)));}},_0x59c51d=_0x1ea3e6['BufferedBlockAlgorithm']=_0x252c35[_0x5d6095(0x2e0)]({'reset':function(){const _0xf8ff86=_0x5d6095;this[_0xf8ff86(0x31a)]=new _0x3a4025['init'](),this[_0xf8ff86(0x542)]=0x0;},'_append':function(_0x3b528e){const _0x11dbf7=_0x5d6095;typeof _0x3b528e=='string'&&(_0x3b528e=_0x5c05cf[_0x11dbf7(0x224)](_0x3b528e)),this[_0x11dbf7(0x31a)][_0x11dbf7(0x448)](_0x3b528e),this[_0x11dbf7(0x542)]+=_0x3b528e['sigBytes'];},'_process':function(_0x1e623e){const _0x1acc59=_0x5d6095;var _0x30f766,_0x451768=this['_data'],_0x5de3c1=_0x451768[_0x1acc59(0x5b2)],_0x56c27a=_0x451768['sigBytes'],_0x380ab1=this[_0x1acc59(0x5cb)],_0x420ef1=_0x380ab1*0x4,_0x3f919b=_0x56c27a/_0x420ef1;_0x1e623e?_0x3f919b=_0xc34bb2['ceil'](_0x3f919b):_0x3f919b=_0xc34bb2[_0x1acc59(0x34b)]((_0x3f919b|0x0)-this[_0x1acc59(0x2f7)],0x0);var _0x3ed0b3=_0x3f919b*_0x380ab1,_0x2b692c=_0xc34bb2[_0x1acc59(0x30a)](_0x3ed0b3*0x4,_0x56c27a);if(_0x3ed0b3){for(var _0x31256f=0x0;_0x31256f<_0x3ed0b3;_0x31256f+=_0x380ab1)this[_0x1acc59(0x585)](_0x5de3c1,_0x31256f);_0x30f766=_0x5de3c1[_0x1acc59(0x508)](0x0,_0x3ed0b3),_0x451768[_0x1acc59(0x25b)]-=_0x2b692c;}return new _0x3a4025[(_0x1acc59(0x282))](_0x30f766,_0x2b692c);},'clone':function(){const _0x38cbaf=_0x5d6095;var _0x49d29b=_0x252c35[_0x38cbaf(0x24d)][_0x38cbaf(0x570)](this);return _0x49d29b['_data']=this[_0x38cbaf(0x31a)][_0x38cbaf(0x24d)](),_0x49d29b;},'_minBufferSize':0x0});_0x1ea3e6['Hasher']=_0x59c51d[_0x5d6095(0x2e0)]({'cfg':_0x252c35[_0x5d6095(0x2e0)](),'init':function(_0x1f219b){const _0xdb757b=_0x5d6095;this[_0xdb757b(0x429)]=this[_0xdb757b(0x429)][_0xdb757b(0x2e0)](_0x1f219b),this[_0xdb757b(0x2d2)]();},'reset':function(){const _0x4e6102=_0x5d6095;_0x59c51d[_0x4e6102(0x2d2)]['call'](this),this[_0x4e6102(0x47d)]();},'update':function(_0x5a4e65){const _0xce8794=_0x5d6095;return this[_0xce8794(0x3dd)](_0x5a4e65),this[_0xce8794(0x53f)](),this;},'finalize':function(_0x3459be){const _0x126bc8=_0x5d6095;_0x3459be&&this['_append'](_0x3459be);var _0x4c506c=this[_0x126bc8(0x5a8)]();return _0x4c506c;},'blockSize':0x10,'_createHelper':function(_0x43baf9){return function(_0x5c11b0,_0x2cd27c){const _0x34037d=_0x1414;return new _0x43baf9[(_0x34037d(0x282))](_0x2cd27c)[_0x34037d(0x3db)](_0x5c11b0);};},'_createHmacHelper':function(_0x34b341){return function(_0x379963,_0x49ef53){const _0x34af74=_0x1414;return new _0x13daf3[(_0x34af74(0x2ed))][(_0x34af74(0x282))](_0x34b341,_0x49ef53)['finalize'](_0x379963);};}});var _0x13daf3=_0x260c74[_0x5d6095(0x33b)]={};return _0x260c74;}(Math);return _0xce0d7e;}));}(Ft)),Ft[_0xedd49b(0x4a2)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x5ad6ce,_0x46da0f){(function(_0x3a2f41,_0x2236d6){const _0x44116d=_0x1414;_0x5ad6ce[_0x44116d(0x4a2)]=_0x2236d6(ue());}(Z,function(_0x3356c5){const _0x5433ea=_0x1414;return(function(){const _0x57453d=_0x1414;var _0x4b2774=_0x3356c5,_0x27b75b=_0x4b2774['lib'],_0x3674c2=_0x27b75b['WordArray'],_0x508a9f=_0x4b2774[_0x57453d(0x410)];_0x508a9f[_0x57453d(0x2cb)]={'stringify':function(_0xf9f4ef){const _0x2d9b24=_0x57453d;var _0x444b2a=_0xf9f4ef[_0x2d9b24(0x5b2)],_0x338d30=_0xf9f4ef[_0x2d9b24(0x25b)],_0x2bdac5=this['_map'];_0xf9f4ef[_0x2d9b24(0x329)]();for(var _0x109324=[],_0x49c220=0x0;_0x49c220<_0x338d30;_0x49c220+=0x3)for(var _0x19d00b=_0x444b2a[_0x49c220>>>0x2]>>>0x18-_0x49c220%0x4*0x8&0xff,_0x4765b4=_0x444b2a[_0x49c220+0x1>>>0x2]>>>0x18-(_0x49c220+0x1)%0x4*0x8&0xff,_0x5d72f5=_0x444b2a[_0x49c220+0x2>>>0x2]>>>0x18-(_0x49c220+0x2)%0x4*0x8&0xff,_0x268a3a=_0x19d00b<<0x10|_0x4765b4<<0x8|_0x5d72f5,_0x5d300a=0x0;_0x5d300a<0x4&&_0x49c220+_0x5d300a*0.75<_0x338d30;_0x5d300a++)_0x109324[_0x2d9b24(0x496)](_0x2bdac5['charAt'](_0x268a3a>>>0x6*(0x3-_0x5d300a)&0x3f));var _0x15c1d3=_0x2bdac5[_0x2d9b24(0x43f)](0x40);if(_0x15c1d3){for(;_0x109324[_0x2d9b24(0x3a7)]%0x4;)_0x109324[_0x2d9b24(0x496)](_0x15c1d3);}return _0x109324['join']('');},'parse':function(_0x46c723){const _0x473680=_0x57453d;var _0x4b3cdc=_0x46c723[_0x473680(0x3a7)],_0x36472e=this['_map'],_0x418f63=this[_0x473680(0x263)];if(!_0x418f63){_0x418f63=this[_0x473680(0x263)]=[];for(var _0x489811=0x0;_0x489811<_0x36472e[_0x473680(0x3a7)];_0x489811++)_0x418f63[_0x36472e['charCodeAt'](_0x489811)]=_0x489811;}var _0x58500e=_0x36472e[_0x473680(0x43f)](0x40);if(_0x58500e){var _0x15133e=_0x46c723[_0x473680(0x3ad)](_0x58500e);_0x15133e!==-0x1&&(_0x4b3cdc=_0x15133e);}return _0x1c8d24(_0x46c723,_0x4b3cdc,_0x418f63);},'_map':_0x57453d(0x32c)};function _0x1c8d24(_0x153acb,_0x4735bd,_0x491052){const _0x452acc=_0x57453d;for(var _0x375248=[],_0x5aba0b=0x0,_0x19b712=0x0;_0x19b712<_0x4735bd;_0x19b712++)if(_0x19b712%0x4){var _0x7735e9=_0x491052[_0x153acb[_0x452acc(0x549)](_0x19b712-0x1)]<<_0x19b712%0x4*0x2,_0x462714=_0x491052[_0x153acb[_0x452acc(0x549)](_0x19b712)]>>>0x6-_0x19b712%0x4*0x2,_0x543b7e=_0x7735e9|_0x462714;_0x375248[_0x5aba0b>>>0x2]|=_0x543b7e<<0x18-_0x5aba0b%0x4*0x8,_0x5aba0b++;}return _0x3674c2[_0x452acc(0x3fd)](_0x375248,_0x5aba0b);}}()),_0x3356c5[_0x5433ea(0x410)][_0x5433ea(0x2cb)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Fa(){const _0x57c81c=_0x3f2ec9;return Zs||(Zs=0x1,function(_0x3b6c7f,_0x103bcc){(function(_0x1f314f,_0x48d0c7){const _0x427b88=_0x1414;_0x3b6c7f[_0x427b88(0x4a2)]=_0x48d0c7(ue());}(Z,function(_0x3c7e1f){const _0x1e21c0=_0x1414;return function(_0x157594){const _0x42a33e=_0x1414;var _0x2bcca3=_0x3c7e1f,_0x48f7c1=_0x2bcca3[_0x42a33e(0x40b)],_0x441434=_0x48f7c1['WordArray'],_0x5980b7=_0x48f7c1[_0x42a33e(0x34e)],_0x3a58f7=_0x2bcca3[_0x42a33e(0x33b)],_0x49341d=[];(function(){const _0x229d4d=_0x42a33e;for(var _0x346229=0x0;_0x346229<0x40;_0x346229++)_0x49341d[_0x346229]=_0x157594[_0x229d4d(0x49b)](_0x157594['sin'](_0x346229+0x1))*0x100000000|0x0;}());var _0x423264=_0x3a58f7[_0x42a33e(0x213)]=_0x5980b7[_0x42a33e(0x2e0)]({'_doReset':function(){const _0xe04020=_0x42a33e;this[_0xe04020(0x5ca)]=new _0x441434['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x47dcc8,_0x3d8ea9){const _0x45a758=_0x42a33e;for(var _0x328b8f=0x0;_0x328b8f<0x10;_0x328b8f++){var _0x3de43e=_0x3d8ea9+_0x328b8f,_0x254d05=_0x47dcc8[_0x3de43e];_0x47dcc8[_0x3de43e]=(_0x254d05<<0x8|_0x254d05>>>0x18)&0xff00ff|(_0x254d05<<0x18|_0x254d05>>>0x8)&0xff00ff00;}var _0x32ab42=this[_0x45a758(0x5ca)][_0x45a758(0x5b2)],_0xd119f9=_0x47dcc8[_0x3d8ea9+0x0],_0x1474a7=_0x47dcc8[_0x3d8ea9+0x1],_0x1dfba4=_0x47dcc8[_0x3d8ea9+0x2],_0x4d5643=_0x47dcc8[_0x3d8ea9+0x3],_0x3c6081=_0x47dcc8[_0x3d8ea9+0x4],_0x599c75=_0x47dcc8[_0x3d8ea9+0x5],_0x1de120=_0x47dcc8[_0x3d8ea9+0x6],_0x3433fa=_0x47dcc8[_0x3d8ea9+0x7],_0x4728f0=_0x47dcc8[_0x3d8ea9+0x8],_0x162537=_0x47dcc8[_0x3d8ea9+0x9],_0x4d27a9=_0x47dcc8[_0x3d8ea9+0xa],_0x41ada6=_0x47dcc8[_0x3d8ea9+0xb],_0x428d77=_0x47dcc8[_0x3d8ea9+0xc],_0x2413b4=_0x47dcc8[_0x3d8ea9+0xd],_0x36c023=_0x47dcc8[_0x3d8ea9+0xe],_0x16e251=_0x47dcc8[_0x3d8ea9+0xf],_0xe5d4a5=_0x32ab42[0x0],_0x155b31=_0x32ab42[0x1],_0x33d916=_0x32ab42[0x2],_0x1cad14=_0x32ab42[0x3];_0xe5d4a5=_0x560e4f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0xd119f9,0x7,_0x49341d[0x0]),_0x1cad14=_0x560e4f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x1474a7,0xc,_0x49341d[0x1]),_0x33d916=_0x560e4f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x1dfba4,0x11,_0x49341d[0x2]),_0x155b31=_0x560e4f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x4d5643,0x16,_0x49341d[0x3]),_0xe5d4a5=_0x560e4f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x3c6081,0x7,_0x49341d[0x4]),_0x1cad14=_0x560e4f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x599c75,0xc,_0x49341d[0x5]),_0x33d916=_0x560e4f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x1de120,0x11,_0x49341d[0x6]),_0x155b31=_0x560e4f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x3433fa,0x16,_0x49341d[0x7]),_0xe5d4a5=_0x560e4f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x4728f0,0x7,_0x49341d[0x8]),_0x1cad14=_0x560e4f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x162537,0xc,_0x49341d[0x9]),_0x33d916=_0x560e4f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x4d27a9,0x11,_0x49341d[0xa]),_0x155b31=_0x560e4f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x41ada6,0x16,_0x49341d[0xb]),_0xe5d4a5=_0x560e4f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x428d77,0x7,_0x49341d[0xc]),_0x1cad14=_0x560e4f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x2413b4,0xc,_0x49341d[0xd]),_0x33d916=_0x560e4f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x36c023,0x11,_0x49341d[0xe]),_0x155b31=_0x560e4f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x16e251,0x16,_0x49341d[0xf]),_0xe5d4a5=_0x442c4b(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x1474a7,0x5,_0x49341d[0x10]),_0x1cad14=_0x442c4b(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x1de120,0x9,_0x49341d[0x11]),_0x33d916=_0x442c4b(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x41ada6,0xe,_0x49341d[0x12]),_0x155b31=_0x442c4b(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0xd119f9,0x14,_0x49341d[0x13]),_0xe5d4a5=_0x442c4b(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x599c75,0x5,_0x49341d[0x14]),_0x1cad14=_0x442c4b(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x4d27a9,0x9,_0x49341d[0x15]),_0x33d916=_0x442c4b(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x16e251,0xe,_0x49341d[0x16]),_0x155b31=_0x442c4b(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x3c6081,0x14,_0x49341d[0x17]),_0xe5d4a5=_0x442c4b(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x162537,0x5,_0x49341d[0x18]),_0x1cad14=_0x442c4b(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x36c023,0x9,_0x49341d[0x19]),_0x33d916=_0x442c4b(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x4d5643,0xe,_0x49341d[0x1a]),_0x155b31=_0x442c4b(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x4728f0,0x14,_0x49341d[0x1b]),_0xe5d4a5=_0x442c4b(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x2413b4,0x5,_0x49341d[0x1c]),_0x1cad14=_0x442c4b(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x1dfba4,0x9,_0x49341d[0x1d]),_0x33d916=_0x442c4b(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x3433fa,0xe,_0x49341d[0x1e]),_0x155b31=_0x442c4b(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x428d77,0x14,_0x49341d[0x1f]),_0xe5d4a5=_0x42487f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x599c75,0x4,_0x49341d[0x20]),_0x1cad14=_0x42487f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x4728f0,0xb,_0x49341d[0x21]),_0x33d916=_0x42487f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x41ada6,0x10,_0x49341d[0x22]),_0x155b31=_0x42487f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x36c023,0x17,_0x49341d[0x23]),_0xe5d4a5=_0x42487f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x1474a7,0x4,_0x49341d[0x24]),_0x1cad14=_0x42487f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x3c6081,0xb,_0x49341d[0x25]),_0x33d916=_0x42487f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x3433fa,0x10,_0x49341d[0x26]),_0x155b31=_0x42487f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x4d27a9,0x17,_0x49341d[0x27]),_0xe5d4a5=_0x42487f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x2413b4,0x4,_0x49341d[0x28]),_0x1cad14=_0x42487f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0xd119f9,0xb,_0x49341d[0x29]),_0x33d916=_0x42487f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x4d5643,0x10,_0x49341d[0x2a]),_0x155b31=_0x42487f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x1de120,0x17,_0x49341d[0x2b]),_0xe5d4a5=_0x42487f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x162537,0x4,_0x49341d[0x2c]),_0x1cad14=_0x42487f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x428d77,0xb,_0x49341d[0x2d]),_0x33d916=_0x42487f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x16e251,0x10,_0x49341d[0x2e]),_0x155b31=_0x42487f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x1dfba4,0x17,_0x49341d[0x2f]),_0xe5d4a5=_0x201db3(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0xd119f9,0x6,_0x49341d[0x30]),_0x1cad14=_0x201db3(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x3433fa,0xa,_0x49341d[0x31]),_0x33d916=_0x201db3(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x36c023,0xf,_0x49341d[0x32]),_0x155b31=_0x201db3(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x599c75,0x15,_0x49341d[0x33]),_0xe5d4a5=_0x201db3(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x428d77,0x6,_0x49341d[0x34]),_0x1cad14=_0x201db3(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x4d5643,0xa,_0x49341d[0x35]),_0x33d916=_0x201db3(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x4d27a9,0xf,_0x49341d[0x36]),_0x155b31=_0x201db3(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x1474a7,0x15,_0x49341d[0x37]),_0xe5d4a5=_0x201db3(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x4728f0,0x6,_0x49341d[0x38]),_0x1cad14=_0x201db3(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x16e251,0xa,_0x49341d[0x39]),_0x33d916=_0x201db3(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x1de120,0xf,_0x49341d[0x3a]),_0x155b31=_0x201db3(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x2413b4,0x15,_0x49341d[0x3b]),_0xe5d4a5=_0x201db3(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x3c6081,0x6,_0x49341d[0x3c]),_0x1cad14=_0x201db3(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x41ada6,0xa,_0x49341d[0x3d]),_0x33d916=_0x201db3(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x1dfba4,0xf,_0x49341d[0x3e]),_0x155b31=_0x201db3(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x162537,0x15,_0x49341d[0x3f]),_0x32ab42[0x0]=_0x32ab42[0x0]+_0xe5d4a5|0x0,_0x32ab42[0x1]=_0x32ab42[0x1]+_0x155b31|0x0,_0x32ab42[0x2]=_0x32ab42[0x2]+_0x33d916|0x0,_0x32ab42[0x3]=_0x32ab42[0x3]+_0x1cad14|0x0;},'_doFinalize':function(){const _0x459179=_0x42a33e;var _0x353a01=this[_0x459179(0x31a)],_0x5da34b=_0x353a01[_0x459179(0x5b2)],_0xe6c3b0=this[_0x459179(0x542)]*0x8,_0x475866=_0x353a01['sigBytes']*0x8;_0x5da34b[_0x475866>>>0x5]|=0x80<<0x18-_0x475866%0x20;var _0x145985=_0x157594['floor'](_0xe6c3b0/0x100000000),_0x252494=_0xe6c3b0;_0x5da34b[(_0x475866+0x40>>>0x9<<0x4)+0xf]=(_0x145985<<0x8|_0x145985>>>0x18)&0xff00ff|(_0x145985<<0x18|_0x145985>>>0x8)&0xff00ff00,_0x5da34b[(_0x475866+0x40>>>0x9<<0x4)+0xe]=(_0x252494<<0x8|_0x252494>>>0x18)&0xff00ff|(_0x252494<<0x18|_0x252494>>>0x8)&0xff00ff00,_0x353a01['sigBytes']=(_0x5da34b[_0x459179(0x3a7)]+0x1)*0x4,this[_0x459179(0x53f)]();for(var _0x1da7ba=this[_0x459179(0x5ca)],_0x1a0c5c=_0x1da7ba['words'],_0x36b76d=0x0;_0x36b76d<0x4;_0x36b76d++){var _0x17a61c=_0x1a0c5c[_0x36b76d];_0x1a0c5c[_0x36b76d]=(_0x17a61c<<0x8|_0x17a61c>>>0x18)&0xff00ff|(_0x17a61c<<0x18|_0x17a61c>>>0x8)&0xff00ff00;}return _0x1da7ba;},'clone':function(){const _0xe3f254=_0x42a33e;var _0x5289a2=_0x5980b7[_0xe3f254(0x24d)][_0xe3f254(0x570)](this);return _0x5289a2[_0xe3f254(0x5ca)]=this[_0xe3f254(0x5ca)][_0xe3f254(0x24d)](),_0x5289a2;}});function _0x560e4f(_0x233521,_0x10c579,_0x3dd96d,_0x8a1000,_0x2d15d5,_0x270552,_0x4dc553){var _0x13eca6=_0x233521+(_0x10c579&_0x3dd96d|~_0x10c579&_0x8a1000)+_0x2d15d5+_0x4dc553;return(_0x13eca6<<_0x270552|_0x13eca6>>>0x20-_0x270552)+_0x10c579;}function _0x442c4b(_0x128ce5,_0x2c50b7,_0x3bcf34,_0x4f68e3,_0x3b43d4,_0x3be1c7,_0x4c1298){var _0x490fe9=_0x128ce5+(_0x2c50b7&_0x4f68e3|_0x3bcf34&~_0x4f68e3)+_0x3b43d4+_0x4c1298;return(_0x490fe9<<_0x3be1c7|_0x490fe9>>>0x20-_0x3be1c7)+_0x2c50b7;}function _0x42487f(_0x7ac1dd,_0x3298b7,_0x5d786b,_0x391042,_0x34e775,_0x3d22e2,_0xe40e4d){var _0x1d1672=_0x7ac1dd+(_0x3298b7^_0x5d786b^_0x391042)+_0x34e775+_0xe40e4d;return(_0x1d1672<<_0x3d22e2|_0x1d1672>>>0x20-_0x3d22e2)+_0x3298b7;}function _0x201db3(_0x4f89a1,_0x2ece16,_0x432ed3,_0x18ab1f,_0x32de56,_0x4fbbd7,_0x4fee72){var _0x3435b9=_0x4f89a1+(_0x432ed3^(_0x2ece16|~_0x18ab1f))+_0x32de56+_0x4fee72;return(_0x3435b9<<_0x4fbbd7|_0x3435b9>>>0x20-_0x4fbbd7)+_0x2ece16;}_0x2bcca3[_0x42a33e(0x213)]=_0x5980b7['_createHelper'](_0x423264),_0x2bcca3[_0x42a33e(0x44d)]=_0x5980b7[_0x42a33e(0x259)](_0x423264);}(Math),_0x3c7e1f[_0x1e21c0(0x213)];}));}(Gt)),Gt[_0x57c81c(0x4a2)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x58018a=_0x3f2ec9;return Qs||(Qs=0x1,function(_0x25aedb,_0xd4eca){(function(_0x32891d,_0x4d9438){const _0x12f868=_0x1414;_0x25aedb[_0x12f868(0x4a2)]=_0x4d9438(ue());}(Z,function(_0x2705b6){const _0x11b01d=_0x1414;return(function(){const _0x4c3cb3=_0x1414;var _0x3ffb43=_0x2705b6,_0x4370fe=_0x3ffb43[_0x4c3cb3(0x40b)],_0x34d0c8=_0x4370fe[_0x4c3cb3(0x3e7)],_0x536038=_0x4370fe['Hasher'],_0x5d5653=_0x3ffb43[_0x4c3cb3(0x33b)],_0x36a91c=[],_0x212754=_0x5d5653[_0x4c3cb3(0x1e0)]=_0x536038['extend']({'_doReset':function(){const _0x5df9f3=_0x4c3cb3;this[_0x5df9f3(0x5ca)]=new _0x34d0c8[(_0x5df9f3(0x282))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1a3499,_0x22fdd4){const _0xbfe438=_0x4c3cb3;for(var _0xd801ae=this[_0xbfe438(0x5ca)][_0xbfe438(0x5b2)],_0x23f4bd=_0xd801ae[0x0],_0x2c576a=_0xd801ae[0x1],_0x13f740=_0xd801ae[0x2],_0x2a4a7f=_0xd801ae[0x3],_0x5e9280=_0xd801ae[0x4],_0x279212=0x0;_0x279212<0x50;_0x279212++){if(_0x279212<0x10)_0x36a91c[_0x279212]=_0x1a3499[_0x22fdd4+_0x279212]|0x0;else{var _0x3dafea=_0x36a91c[_0x279212-0x3]^_0x36a91c[_0x279212-0x8]^_0x36a91c[_0x279212-0xe]^_0x36a91c[_0x279212-0x10];_0x36a91c[_0x279212]=_0x3dafea<<0x1|_0x3dafea>>>0x1f;}var _0x4c43b7=(_0x23f4bd<<0x5|_0x23f4bd>>>0x1b)+_0x5e9280+_0x36a91c[_0x279212];_0x279212<0x14?_0x4c43b7+=(_0x2c576a&_0x13f740|~_0x2c576a&_0x2a4a7f)+0x5a827999:_0x279212<0x28?_0x4c43b7+=(_0x2c576a^_0x13f740^_0x2a4a7f)+0x6ed9eba1:_0x279212<0x3c?_0x4c43b7+=(_0x2c576a&_0x13f740|_0x2c576a&_0x2a4a7f|_0x13f740&_0x2a4a7f)-0x70e44324:_0x4c43b7+=(_0x2c576a^_0x13f740^_0x2a4a7f)-0x359d3e2a,_0x5e9280=_0x2a4a7f,_0x2a4a7f=_0x13f740,_0x13f740=_0x2c576a<<0x1e|_0x2c576a>>>0x2,_0x2c576a=_0x23f4bd,_0x23f4bd=_0x4c43b7;}_0xd801ae[0x0]=_0xd801ae[0x0]+_0x23f4bd|0x0,_0xd801ae[0x1]=_0xd801ae[0x1]+_0x2c576a|0x0,_0xd801ae[0x2]=_0xd801ae[0x2]+_0x13f740|0x0,_0xd801ae[0x3]=_0xd801ae[0x3]+_0x2a4a7f|0x0,_0xd801ae[0x4]=_0xd801ae[0x4]+_0x5e9280|0x0;},'_doFinalize':function(){const _0x28a898=_0x4c3cb3;var _0x27b67c=this[_0x28a898(0x31a)],_0x461f68=_0x27b67c[_0x28a898(0x5b2)],_0x59545a=this[_0x28a898(0x542)]*0x8,_0x56082f=_0x27b67c[_0x28a898(0x25b)]*0x8;return _0x461f68[_0x56082f>>>0x5]|=0x80<<0x18-_0x56082f%0x20,_0x461f68[(_0x56082f+0x40>>>0x9<<0x4)+0xe]=Math[_0x28a898(0x335)](_0x59545a/0x100000000),_0x461f68[(_0x56082f+0x40>>>0x9<<0x4)+0xf]=_0x59545a,_0x27b67c[_0x28a898(0x25b)]=_0x461f68[_0x28a898(0x3a7)]*0x4,this[_0x28a898(0x53f)](),this['_hash'];},'clone':function(){const _0xf1144d=_0x4c3cb3;var _0x2c1ea0=_0x536038[_0xf1144d(0x24d)][_0xf1144d(0x570)](this);return _0x2c1ea0['_hash']=this[_0xf1144d(0x5ca)][_0xf1144d(0x24d)](),_0x2c1ea0;}});_0x3ffb43[_0x4c3cb3(0x1e0)]=_0x536038['_createHelper'](_0x212754),_0x3ffb43['HmacSHA1']=_0x536038['_createHmacHelper'](_0x212754);}()),_0x2705b6[_0x11b01d(0x1e0)];}));}(Kt)),Kt[_0x58018a(0x4a2)];}var zt={'exports':{}},ei;function Ga(){const _0x41df07=_0x3f2ec9;return ei||(ei=0x1,function(_0x57db9a,_0x523bd5){(function(_0x5bfbc1,_0x4101a2){const _0x46b777=_0x1414;_0x57db9a[_0x46b777(0x4a2)]=_0x4101a2(ue());}(Z,function(_0x4ec432){(function(){const _0x43c701=_0x1414;var _0x2cdb2f=_0x4ec432,_0x3e5014=_0x2cdb2f[_0x43c701(0x40b)],_0xdc91ad=_0x3e5014[_0x43c701(0x2d1)],_0x4ae0a2=_0x2cdb2f[_0x43c701(0x410)],_0x4c2b26=_0x4ae0a2['Utf8'],_0x498d62=_0x2cdb2f[_0x43c701(0x33b)];_0x498d62[_0x43c701(0x2ed)]=_0xdc91ad[_0x43c701(0x2e0)]({'init':function(_0x4a3d20,_0xab3665){const _0x193592=_0x43c701;_0x4a3d20=this[_0x193592(0x3c3)]=new _0x4a3d20[(_0x193592(0x282))](),typeof _0xab3665=='string'&&(_0xab3665=_0x4c2b26[_0x193592(0x224)](_0xab3665));var _0x398494=_0x4a3d20[_0x193592(0x5cb)],_0xff7b15=_0x398494*0x4;_0xab3665[_0x193592(0x25b)]>_0xff7b15&&(_0xab3665=_0x4a3d20[_0x193592(0x3db)](_0xab3665)),_0xab3665[_0x193592(0x329)]();for(var _0x14cb70=this[_0x193592(0x2d4)]=_0xab3665['clone'](),_0x5651fc=this[_0x193592(0x5d7)]=_0xab3665[_0x193592(0x24d)](),_0x85f3ca=_0x14cb70[_0x193592(0x5b2)],_0x5cd86c=_0x5651fc[_0x193592(0x5b2)],_0x3e5049=0x0;_0x3e5049<_0x398494;_0x3e5049++)_0x85f3ca[_0x3e5049]^=0x5c5c5c5c,_0x5cd86c[_0x3e5049]^=0x36363636;_0x14cb70[_0x193592(0x25b)]=_0x5651fc[_0x193592(0x25b)]=_0xff7b15,this[_0x193592(0x2d2)]();},'reset':function(){const _0x120160=_0x43c701;var _0x448e9f=this[_0x120160(0x3c3)];_0x448e9f['reset'](),_0x448e9f['update'](this['_iKey']);},'update':function(_0x5f0cc1){const _0x5a84dc=_0x43c701;return this[_0x5a84dc(0x3c3)][_0x5a84dc(0x296)](_0x5f0cc1),this;},'finalize':function(_0x629260){const _0x38e82a=_0x43c701;var _0x4a2635=this[_0x38e82a(0x3c3)],_0x4e9087=_0x4a2635[_0x38e82a(0x3db)](_0x629260);_0x4a2635[_0x38e82a(0x2d2)]();var _0x2c3346=_0x4a2635['finalize'](this[_0x38e82a(0x2d4)][_0x38e82a(0x24d)]()['concat'](_0x4e9087));return _0x2c3346;}});}());}));}(zt)),zt[_0x41df07(0x4a2)];}var ti;function Fi(){const _0x40b1a2=_0x3f2ec9;return ti||(ti=0x1,function(_0x22fdb7,_0x392f32){(function(_0x28558c,_0xf707ee,_0x1c9a21){_0x22fdb7['exports']=_0xf707ee(ue(),Va(),Ga());}(Z,function(_0x487219){return(function(){const _0x798bbe=_0x1414;var _0x2eca73=_0x487219,_0x5afd26=_0x2eca73[_0x798bbe(0x40b)],_0x24fba0=_0x5afd26[_0x798bbe(0x2d1)],_0x4f116a=_0x5afd26[_0x798bbe(0x3e7)],_0x220c79=_0x2eca73['algo'],_0x5e1c18=_0x220c79[_0x798bbe(0x213)],_0x295795=_0x220c79[_0x798bbe(0x2ef)]=_0x24fba0[_0x798bbe(0x2e0)]({'cfg':_0x24fba0[_0x798bbe(0x2e0)]({'keySize':0x80/0x20,'hasher':_0x5e1c18,'iterations':0x1}),'init':function(_0x1bbfaf){const _0x5a897b=_0x798bbe;this['cfg']=this[_0x5a897b(0x429)][_0x5a897b(0x2e0)](_0x1bbfaf);},'compute':function(_0x608a93,_0x449762){const _0x4d63fe=_0x798bbe;for(var _0x1dc483,_0x51afff=this[_0x4d63fe(0x429)],_0x42c353=_0x51afff[_0x4d63fe(0x267)][_0x4d63fe(0x3fd)](),_0x4fae82=_0x4f116a[_0x4d63fe(0x3fd)](),_0x3aacc5=_0x4fae82['words'],_0x16ed91=_0x51afff[_0x4d63fe(0x245)],_0x41a191=_0x51afff['iterations'];_0x3aacc5[_0x4d63fe(0x3a7)]<_0x16ed91;){_0x1dc483&&_0x42c353[_0x4d63fe(0x296)](_0x1dc483),_0x1dc483=_0x42c353[_0x4d63fe(0x296)](_0x608a93)[_0x4d63fe(0x3db)](_0x449762),_0x42c353[_0x4d63fe(0x2d2)]();for(var _0x5804d6=0x1;_0x5804d6<_0x41a191;_0x5804d6++)_0x1dc483=_0x42c353[_0x4d63fe(0x3db)](_0x1dc483),_0x42c353[_0x4d63fe(0x2d2)]();_0x4fae82[_0x4d63fe(0x448)](_0x1dc483);}return _0x4fae82[_0x4d63fe(0x25b)]=_0x16ed91*0x4,_0x4fae82;}});_0x2eca73[_0x798bbe(0x2ef)]=function(_0x1c17e2,_0x5fad91,_0x5d9c49){const _0x25f53e=_0x798bbe;return _0x295795[_0x25f53e(0x3fd)](_0x5d9c49)[_0x25f53e(0x486)](_0x1c17e2,_0x5fad91);};}()),_0x487219['EvpKDF'];}));}(Yt)),Yt[_0x40b1a2(0x4a2)];}var qt={'exports':{}},si;function Vi(){const _0x5e91f4=_0x3f2ec9;return si||(si=0x1,function(_0x288edb,_0x30771c){(function(_0x175dae,_0x357ce5,_0x402b9d){const _0x45df0e=_0x1414;_0x288edb[_0x45df0e(0x4a2)]=_0x357ce5(ue(),Fi());}(Z,function(_0x20c94a){const _0x34cd01=_0x1414;_0x20c94a['lib'][_0x34cd01(0x59e)]||function(_0x3c3716){const _0x491638=_0x34cd01;var _0x2be3c0=_0x20c94a,_0x4fdd69=_0x2be3c0[_0x491638(0x40b)],_0x5d1056=_0x4fdd69['Base'],_0x2d4359=_0x4fdd69['WordArray'],_0x4fbac9=_0x4fdd69[_0x491638(0x303)],_0x53a1ce=_0x2be3c0['enc'];_0x53a1ce[_0x491638(0x4b7)];var _0x2a66c3=_0x53a1ce[_0x491638(0x2cb)],_0x33d39f=_0x2be3c0[_0x491638(0x33b)],_0x2730a8=_0x33d39f['EvpKDF'],_0x1e313c=_0x4fdd69[_0x491638(0x59e)]=_0x4fbac9[_0x491638(0x2e0)]({'cfg':_0x5d1056[_0x491638(0x2e0)](),'createEncryptor':function(_0x17aee2,_0x5325ef){const _0x1e622b=_0x491638;return this[_0x1e622b(0x3fd)](this[_0x1e622b(0x4d9)],_0x17aee2,_0x5325ef);},'createDecryptor':function(_0x1c9511,_0x7ee14e){const _0x5abcde=_0x491638;return this[_0x5abcde(0x3fd)](this[_0x5abcde(0x49d)],_0x1c9511,_0x7ee14e);},'init':function(_0x1e7af7,_0x3655c1,_0x426588){const _0x40f305=_0x491638;this[_0x40f305(0x429)]=this[_0x40f305(0x429)]['extend'](_0x426588),this[_0x40f305(0x1d3)]=_0x1e7af7,this[_0x40f305(0x46a)]=_0x3655c1,this[_0x40f305(0x2d2)]();},'reset':function(){const _0x1cbe25=_0x491638;_0x4fbac9[_0x1cbe25(0x2d2)][_0x1cbe25(0x570)](this),this['_doReset']();},'process':function(_0x3b4521){const _0x11e9b6=_0x491638;return this['_append'](_0x3b4521),this[_0x11e9b6(0x53f)]();},'finalize':function(_0x5976bd){const _0x45cae1=_0x491638;_0x5976bd&&this[_0x45cae1(0x3dd)](_0x5976bd);var _0x1876b2=this['_doFinalize']();return _0x1876b2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa62546(_0x4666b1){const _0xd94f73=_0x1414;return typeof _0x4666b1==_0xd94f73(0x506)?_0x215ac1:_0x29db89;}return function(_0x40c824){return{'encrypt':function(_0x287909,_0x17283d,_0x2258fd){const _0x59e898=_0x1414;return _0xa62546(_0x17283d)[_0x59e898(0x2e3)](_0x40c824,_0x287909,_0x17283d,_0x2258fd);},'decrypt':function(_0x4288f9,_0x6d1b25,_0x5317fb){const _0x146250=_0x1414;return _0xa62546(_0x6d1b25)[_0x146250(0x4e5)](_0x40c824,_0x4288f9,_0x6d1b25,_0x5317fb);}};};}())});_0x4fdd69[_0x491638(0x4c2)]=_0x1e313c[_0x491638(0x2e0)]({'_doFinalize':function(){const _0x1a254c=_0x491638;var _0x14dbc5=this[_0x1a254c(0x53f)](!0x0);return _0x14dbc5;},'blockSize':0x1});var _0x52865d=_0x2be3c0['mode']={},_0x4ca678=_0x4fdd69[_0x491638(0x297)]=_0x5d1056[_0x491638(0x2e0)]({'createEncryptor':function(_0x3e7562,_0x5555b8){const _0x4ac592=_0x491638;return this[_0x4ac592(0x40d)][_0x4ac592(0x3fd)](_0x3e7562,_0x5555b8);},'createDecryptor':function(_0x26a0fe,_0x3a633b){const _0x42a816=_0x491638;return this[_0x42a816(0x1ec)][_0x42a816(0x3fd)](_0x26a0fe,_0x3a633b);},'init':function(_0x569b20,_0x1f2e42){const _0x505671=_0x491638;this[_0x505671(0x598)]=_0x569b20,this[_0x505671(0x320)]=_0x1f2e42;}}),_0x307838=_0x52865d[_0x491638(0x45d)]=(function(){const _0x8f8f60=_0x491638;var _0x8ed7e9=_0x4ca678['extend']();_0x8ed7e9[_0x8f8f60(0x40d)]=_0x8ed7e9['extend']({'processBlock':function(_0x142ba6,_0x2c465c){const _0x4c81c3=_0x8f8f60;var _0x5ed322=this[_0x4c81c3(0x598)],_0xdef98=_0x5ed322[_0x4c81c3(0x5cb)];_0x4ff6d1[_0x4c81c3(0x570)](this,_0x142ba6,_0x2c465c,_0xdef98),_0x5ed322[_0x4c81c3(0x42e)](_0x142ba6,_0x2c465c),this[_0x4c81c3(0x46e)]=_0x142ba6[_0x4c81c3(0x43e)](_0x2c465c,_0x2c465c+_0xdef98);}}),_0x8ed7e9[_0x8f8f60(0x1ec)]=_0x8ed7e9[_0x8f8f60(0x2e0)]({'processBlock':function(_0x2b40d3,_0xe0eab6){const _0x3644a5=_0x8f8f60;var _0x8807f4=this[_0x3644a5(0x598)],_0xb70f88=_0x8807f4['blockSize'],_0x38d8bb=_0x2b40d3[_0x3644a5(0x43e)](_0xe0eab6,_0xe0eab6+_0xb70f88);_0x8807f4[_0x3644a5(0x3d6)](_0x2b40d3,_0xe0eab6),_0x4ff6d1[_0x3644a5(0x570)](this,_0x2b40d3,_0xe0eab6,_0xb70f88),this[_0x3644a5(0x46e)]=_0x38d8bb;}});function _0x4ff6d1(_0x45bc37,_0x5b00b5,_0x27ae5f){const _0x319e05=_0x8f8f60;var _0x45f475,_0x1cbbec=this[_0x319e05(0x320)];_0x1cbbec?(_0x45f475=_0x1cbbec,this['_iv']=_0x3c3716):_0x45f475=this[_0x319e05(0x46e)];for(var _0x2b820f=0x0;_0x2b820f<_0x27ae5f;_0x2b820f++)_0x45bc37[_0x5b00b5+_0x2b820f]^=_0x45f475[_0x2b820f];}return _0x8ed7e9;}()),_0x306123=_0x2be3c0[_0x491638(0x515)]={},_0x34c575=_0x306123[_0x491638(0x339)]={'pad':function(_0x383dc8,_0x40a1d7){const _0x2d953d=_0x491638;for(var _0x1d6b5e=_0x40a1d7*0x4,_0xff6340=_0x1d6b5e-_0x383dc8[_0x2d953d(0x25b)]%_0x1d6b5e,_0x7754b9=_0xff6340<<0x18|_0xff6340<<0x10|_0xff6340<<0x8|_0xff6340,_0x30dbd5=[],_0x397e19=0x0;_0x397e19<_0xff6340;_0x397e19+=0x4)_0x30dbd5[_0x2d953d(0x496)](_0x7754b9);var _0x5ff14a=_0x2d4359[_0x2d953d(0x3fd)](_0x30dbd5,_0xff6340);_0x383dc8['concat'](_0x5ff14a);},'unpad':function(_0xde53a7){const _0x3b8baa=_0x491638;var _0x2f52d6=_0xde53a7[_0x3b8baa(0x5b2)][_0xde53a7[_0x3b8baa(0x25b)]-0x1>>>0x2]&0xff;_0xde53a7['sigBytes']-=_0x2f52d6;}};_0x4fdd69['BlockCipher']=_0x1e313c['extend']({'cfg':_0x1e313c[_0x491638(0x429)]['extend']({'mode':_0x307838,'padding':_0x34c575}),'reset':function(){const _0x55c6f2=_0x491638;var _0x3003f5;_0x1e313c[_0x55c6f2(0x2d2)]['call'](this);var _0x5d3ff3=this[_0x55c6f2(0x429)],_0x4de140=_0x5d3ff3['iv'],_0x27cde5=_0x5d3ff3[_0x55c6f2(0x22a)];this[_0x55c6f2(0x1d3)]==this[_0x55c6f2(0x4d9)]?_0x3003f5=_0x27cde5[_0x55c6f2(0x402)]:(_0x3003f5=_0x27cde5['createDecryptor'],this['_minBufferSize']=0x1),this[_0x55c6f2(0x24e)]&&this[_0x55c6f2(0x24e)][_0x55c6f2(0x552)]==_0x3003f5?this[_0x55c6f2(0x24e)][_0x55c6f2(0x282)](this,_0x4de140&&_0x4de140[_0x55c6f2(0x5b2)]):(this[_0x55c6f2(0x24e)]=_0x3003f5['call'](_0x27cde5,this,_0x4de140&&_0x4de140[_0x55c6f2(0x5b2)]),this[_0x55c6f2(0x24e)]['__creator']=_0x3003f5);},'_doProcessBlock':function(_0x4f55b7,_0x2ef061){const _0x596cfa=_0x491638;this[_0x596cfa(0x24e)][_0x596cfa(0x31e)](_0x4f55b7,_0x2ef061);},'_doFinalize':function(){const _0x59953c=_0x491638;var _0x524175,_0x4bc05d=this['cfg'][_0x59953c(0x51d)];return this[_0x59953c(0x1d3)]==this[_0x59953c(0x4d9)]?(_0x4bc05d[_0x59953c(0x515)](this[_0x59953c(0x31a)],this[_0x59953c(0x5cb)]),_0x524175=this[_0x59953c(0x53f)](!0x0)):(_0x524175=this[_0x59953c(0x53f)](!0x0),_0x4bc05d['unpad'](_0x524175)),_0x524175;},'blockSize':0x80/0x20});var _0x38702d=_0x4fdd69['CipherParams']=_0x5d1056[_0x491638(0x2e0)]({'init':function(_0xdda199){this['mixIn'](_0xdda199);},'toString':function(_0x521636){const _0x497a18=_0x491638;return(_0x521636||this[_0x497a18(0x3b0)])[_0x497a18(0x5a1)](this);}}),_0x24cdc9=_0x2be3c0[_0x491638(0x1c7)]={},_0x9bb996=_0x24cdc9[_0x491638(0x439)]={'stringify':function(_0x1c041a){const _0x50cb2d=_0x491638;var _0x4a0b1e,_0x26b589=_0x1c041a[_0x50cb2d(0x5d4)],_0x4e74c6=_0x1c041a[_0x50cb2d(0x221)];return _0x4e74c6?_0x4a0b1e=_0x2d4359['create']([0x53616c74,0x65645f5f])['concat'](_0x4e74c6)['concat'](_0x26b589):_0x4a0b1e=_0x26b589,_0x4a0b1e['toString'](_0x2a66c3);},'parse':function(_0x222802){const _0x58eba9=_0x491638;var _0x152421,_0x41bd68=_0x2a66c3['parse'](_0x222802),_0x1fd0a8=_0x41bd68['words'];return _0x1fd0a8[0x0]==0x53616c74&&_0x1fd0a8[0x1]==0x65645f5f&&(_0x152421=_0x2d4359[_0x58eba9(0x3fd)](_0x1fd0a8['slice'](0x2,0x4)),_0x1fd0a8[_0x58eba9(0x508)](0x0,0x4),_0x41bd68[_0x58eba9(0x25b)]-=0x10),_0x38702d[_0x58eba9(0x3fd)]({'ciphertext':_0x41bd68,'salt':_0x152421});}},_0x29db89=_0x4fdd69['SerializableCipher']=_0x5d1056['extend']({'cfg':_0x5d1056[_0x491638(0x2e0)]({'format':_0x9bb996}),'encrypt':function(_0x184c65,_0x34f0ca,_0x2f3053,_0x13912d){const _0x5039f2=_0x491638;_0x13912d=this[_0x5039f2(0x429)]['extend'](_0x13912d);var _0x4c39da=_0x184c65[_0x5039f2(0x402)](_0x2f3053,_0x13912d),_0x6bdecc=_0x4c39da[_0x5039f2(0x3db)](_0x34f0ca),_0x1c0f09=_0x4c39da[_0x5039f2(0x429)];return _0x38702d['create']({'ciphertext':_0x6bdecc,'key':_0x2f3053,'iv':_0x1c0f09['iv'],'algorithm':_0x184c65,'mode':_0x1c0f09[_0x5039f2(0x22a)],'padding':_0x1c0f09['padding'],'blockSize':_0x184c65[_0x5039f2(0x5cb)],'formatter':_0x13912d[_0x5039f2(0x1c7)]});},'decrypt':function(_0x2c615e,_0x29e709,_0x4fbf35,_0x2c4bd7){const _0x275038=_0x491638;_0x2c4bd7=this[_0x275038(0x429)][_0x275038(0x2e0)](_0x2c4bd7),_0x29e709=this['_parse'](_0x29e709,_0x2c4bd7[_0x275038(0x1c7)]);var _0xf32bbc=_0x2c615e[_0x275038(0x1f6)](_0x4fbf35,_0x2c4bd7)['finalize'](_0x29e709[_0x275038(0x5d4)]);return _0xf32bbc;},'_parse':function(_0x120660,_0x4d23ff){return typeof _0x120660=='string'?_0x4d23ff['parse'](_0x120660,this):_0x120660;}}),_0x2fafec=_0x2be3c0[_0x491638(0x45c)]={},_0x7c9b21=_0x2fafec[_0x491638(0x439)]={'execute':function(_0x572541,_0x4dac93,_0x1354cd,_0x1676d7,_0x1e091e){const _0x2f7788=_0x491638;if(_0x1676d7||(_0x1676d7=_0x2d4359[_0x2f7788(0x35b)](0x40/0x8)),_0x1e091e)var _0x481437=_0x2730a8[_0x2f7788(0x3fd)]({'keySize':_0x4dac93+_0x1354cd,'hasher':_0x1e091e})[_0x2f7788(0x486)](_0x572541,_0x1676d7);else var _0x481437=_0x2730a8['create']({'keySize':_0x4dac93+_0x1354cd})[_0x2f7788(0x486)](_0x572541,_0x1676d7);var _0x12ad76=_0x2d4359[_0x2f7788(0x3fd)](_0x481437[_0x2f7788(0x5b2)][_0x2f7788(0x43e)](_0x4dac93),_0x1354cd*0x4);return _0x481437[_0x2f7788(0x25b)]=_0x4dac93*0x4,_0x38702d[_0x2f7788(0x3fd)]({'key':_0x481437,'iv':_0x12ad76,'salt':_0x1676d7});}},_0x215ac1=_0x4fdd69[_0x491638(0x483)]=_0x29db89[_0x491638(0x2e0)]({'cfg':_0x29db89['cfg'][_0x491638(0x2e0)]({'kdf':_0x7c9b21}),'encrypt':function(_0x4cdbae,_0x2f2979,_0x16e2ae,_0x4e7459){const _0x2df160=_0x491638;_0x4e7459=this[_0x2df160(0x429)]['extend'](_0x4e7459);var _0x502b33=_0x4e7459[_0x2df160(0x45c)]['execute'](_0x16e2ae,_0x4cdbae[_0x2df160(0x245)],_0x4cdbae[_0x2df160(0x354)],_0x4e7459[_0x2df160(0x221)],_0x4e7459[_0x2df160(0x267)]);_0x4e7459['iv']=_0x502b33['iv'];var _0x26a855=_0x29db89[_0x2df160(0x2e3)][_0x2df160(0x570)](this,_0x4cdbae,_0x2f2979,_0x502b33[_0x2df160(0x425)],_0x4e7459);return _0x26a855[_0x2df160(0x45a)](_0x502b33),_0x26a855;},'decrypt':function(_0x1c65c9,_0x546939,_0x3f4452,_0x5daae3){const _0x35c5d3=_0x491638;_0x5daae3=this[_0x35c5d3(0x429)][_0x35c5d3(0x2e0)](_0x5daae3),_0x546939=this['_parse'](_0x546939,_0x5daae3[_0x35c5d3(0x1c7)]);var _0x9cc6f6=_0x5daae3[_0x35c5d3(0x45c)]['execute'](_0x3f4452,_0x1c65c9['keySize'],_0x1c65c9[_0x35c5d3(0x354)],_0x546939[_0x35c5d3(0x221)],_0x5daae3[_0x35c5d3(0x267)]);_0x5daae3['iv']=_0x9cc6f6['iv'];var _0x380c34=_0x29db89[_0x35c5d3(0x4e5)][_0x35c5d3(0x570)](this,_0x1c65c9,_0x546939,_0x9cc6f6[_0x35c5d3(0x425)],_0x5daae3);return _0x380c34;}});}();}));}(qt)),qt[_0x5e91f4(0x4a2)];}(function(_0xb27875,_0x181d42){(function(_0x5385b5,_0x132134,_0x4586d4){_0xb27875['exports']=_0x132134(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x4b71e1){const _0x1f0896=_0x1414;return(function(){const _0x385926=_0x1414;var _0x12513c=_0x4b71e1,_0x2335b8=_0x12513c['lib'],_0xb3d8c9=_0x2335b8[_0x385926(0x58f)],_0x3f0eae=_0x12513c['algo'],_0x2eb360=[],_0x2825ad=[],_0x1b6ed0=[],_0x29b9e7=[],_0x1da067=[],_0xd1ebbf=[],_0x896173=[],_0x28fb45=[],_0x41257d=[],_0x27ec7c=[];(function(){for(var _0x3d3188=[],_0x215c96=0x0;_0x215c96<0x100;_0x215c96++)_0x215c96<0x80?_0x3d3188[_0x215c96]=_0x215c96<<0x1:_0x3d3188[_0x215c96]=_0x215c96<<0x1^0x11b;for(var _0x2556c1=0x0,_0x191626=0x0,_0x215c96=0x0;_0x215c96<0x100;_0x215c96++){var _0x1092fa=_0x191626^_0x191626<<0x1^_0x191626<<0x2^_0x191626<<0x3^_0x191626<<0x4;_0x1092fa=_0x1092fa>>>0x8^_0x1092fa&0xff^0x63,_0x2eb360[_0x2556c1]=_0x1092fa,_0x2825ad[_0x1092fa]=_0x2556c1;var _0x2785c2=_0x3d3188[_0x2556c1],_0x53de01=_0x3d3188[_0x2785c2],_0x1dc7e0=_0x3d3188[_0x53de01],_0x36bfb5=_0x3d3188[_0x1092fa]*0x101^_0x1092fa*0x1010100;_0x1b6ed0[_0x2556c1]=_0x36bfb5<<0x18|_0x36bfb5>>>0x8,_0x29b9e7[_0x2556c1]=_0x36bfb5<<0x10|_0x36bfb5>>>0x10,_0x1da067[_0x2556c1]=_0x36bfb5<<0x8|_0x36bfb5>>>0x18,_0xd1ebbf[_0x2556c1]=_0x36bfb5;var _0x36bfb5=_0x1dc7e0*0x1010101^_0x53de01*0x10001^_0x2785c2*0x101^_0x2556c1*0x1010100;_0x896173[_0x1092fa]=_0x36bfb5<<0x18|_0x36bfb5>>>0x8,_0x28fb45[_0x1092fa]=_0x36bfb5<<0x10|_0x36bfb5>>>0x10,_0x41257d[_0x1092fa]=_0x36bfb5<<0x8|_0x36bfb5>>>0x18,_0x27ec7c[_0x1092fa]=_0x36bfb5,_0x2556c1?(_0x2556c1=_0x2785c2^_0x3d3188[_0x3d3188[_0x3d3188[_0x1dc7e0^_0x2785c2]]],_0x191626^=_0x3d3188[_0x3d3188[_0x191626]]):_0x2556c1=_0x191626=0x1;}}());var _0xa06014=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x229f8e=_0x3f0eae[_0x385926(0x587)]=_0xb3d8c9['extend']({'_doReset':function(){const _0x4560a2=_0x385926;var _0x5aeb23;if(!(this[_0x4560a2(0x43c)]&&this[_0x4560a2(0x1d9)]===this[_0x4560a2(0x46a)])){for(var _0x39a96b=this[_0x4560a2(0x1d9)]=this[_0x4560a2(0x46a)],_0x244889=_0x39a96b[_0x4560a2(0x5b2)],_0x23d6e7=_0x39a96b[_0x4560a2(0x25b)]/0x4,_0x19132f=this[_0x4560a2(0x43c)]=_0x23d6e7+0x6,_0x2b9c2f=(_0x19132f+0x1)*0x4,_0x3f2693=this[_0x4560a2(0x41f)]=[],_0x41a3e1=0x0;_0x41a3e1<_0x2b9c2f;_0x41a3e1++)_0x41a3e1<_0x23d6e7?_0x3f2693[_0x41a3e1]=_0x244889[_0x41a3e1]:(_0x5aeb23=_0x3f2693[_0x41a3e1-0x1],_0x41a3e1%_0x23d6e7?_0x23d6e7>0x6&&_0x41a3e1%_0x23d6e7==0x4&&(_0x5aeb23=_0x2eb360[_0x5aeb23>>>0x18]<<0x18|_0x2eb360[_0x5aeb23>>>0x10&0xff]<<0x10|_0x2eb360[_0x5aeb23>>>0x8&0xff]<<0x8|_0x2eb360[_0x5aeb23&0xff]):(_0x5aeb23=_0x5aeb23<<0x8|_0x5aeb23>>>0x18,_0x5aeb23=_0x2eb360[_0x5aeb23>>>0x18]<<0x18|_0x2eb360[_0x5aeb23>>>0x10&0xff]<<0x10|_0x2eb360[_0x5aeb23>>>0x8&0xff]<<0x8|_0x2eb360[_0x5aeb23&0xff],_0x5aeb23^=_0xa06014[_0x41a3e1/_0x23d6e7|0x0]<<0x18),_0x3f2693[_0x41a3e1]=_0x3f2693[_0x41a3e1-_0x23d6e7]^_0x5aeb23);for(var _0x1d6af6=this[_0x4560a2(0x545)]=[],_0x16c70a=0x0;_0x16c70a<_0x2b9c2f;_0x16c70a++){var _0x41a3e1=_0x2b9c2f-_0x16c70a;if(_0x16c70a%0x4)var _0x5aeb23=_0x3f2693[_0x41a3e1];else var _0x5aeb23=_0x3f2693[_0x41a3e1-0x4];_0x16c70a<0x4||_0x41a3e1<=0x4?_0x1d6af6[_0x16c70a]=_0x5aeb23:_0x1d6af6[_0x16c70a]=_0x896173[_0x2eb360[_0x5aeb23>>>0x18]]^_0x28fb45[_0x2eb360[_0x5aeb23>>>0x10&0xff]]^_0x41257d[_0x2eb360[_0x5aeb23>>>0x8&0xff]]^_0x27ec7c[_0x2eb360[_0x5aeb23&0xff]];}}},'encryptBlock':function(_0x3e9d6c,_0x1cda01){this['_doCryptBlock'](_0x3e9d6c,_0x1cda01,this['_keySchedule'],_0x1b6ed0,_0x29b9e7,_0x1da067,_0xd1ebbf,_0x2eb360);},'decryptBlock':function(_0x3f4588,_0xf209e0){const _0x24df23=_0x385926;var _0x32e62f=_0x3f4588[_0xf209e0+0x1];_0x3f4588[_0xf209e0+0x1]=_0x3f4588[_0xf209e0+0x3],_0x3f4588[_0xf209e0+0x3]=_0x32e62f,this[_0x24df23(0x554)](_0x3f4588,_0xf209e0,this[_0x24df23(0x545)],_0x896173,_0x28fb45,_0x41257d,_0x27ec7c,_0x2825ad);var _0x32e62f=_0x3f4588[_0xf209e0+0x1];_0x3f4588[_0xf209e0+0x1]=_0x3f4588[_0xf209e0+0x3],_0x3f4588[_0xf209e0+0x3]=_0x32e62f;},'_doCryptBlock':function(_0x521509,_0x5ab48f,_0x225db3,_0x44ed8f,_0x4181c0,_0x1bc741,_0x10166c,_0x4b5242){const _0x40336e=_0x385926;for(var _0x2755e8=this[_0x40336e(0x43c)],_0x117cd6=_0x521509[_0x5ab48f]^_0x225db3[0x0],_0x1c443e=_0x521509[_0x5ab48f+0x1]^_0x225db3[0x1],_0x17b536=_0x521509[_0x5ab48f+0x2]^_0x225db3[0x2],_0x1d174b=_0x521509[_0x5ab48f+0x3]^_0x225db3[0x3],_0x4b24f9=0x4,_0x432131=0x1;_0x432131<_0x2755e8;_0x432131++){var _0x6384c1=_0x44ed8f[_0x117cd6>>>0x18]^_0x4181c0[_0x1c443e>>>0x10&0xff]^_0x1bc741[_0x17b536>>>0x8&0xff]^_0x10166c[_0x1d174b&0xff]^_0x225db3[_0x4b24f9++],_0x920981=_0x44ed8f[_0x1c443e>>>0x18]^_0x4181c0[_0x17b536>>>0x10&0xff]^_0x1bc741[_0x1d174b>>>0x8&0xff]^_0x10166c[_0x117cd6&0xff]^_0x225db3[_0x4b24f9++],_0x2683da=_0x44ed8f[_0x17b536>>>0x18]^_0x4181c0[_0x1d174b>>>0x10&0xff]^_0x1bc741[_0x117cd6>>>0x8&0xff]^_0x10166c[_0x1c443e&0xff]^_0x225db3[_0x4b24f9++],_0x5d0a8b=_0x44ed8f[_0x1d174b>>>0x18]^_0x4181c0[_0x117cd6>>>0x10&0xff]^_0x1bc741[_0x1c443e>>>0x8&0xff]^_0x10166c[_0x17b536&0xff]^_0x225db3[_0x4b24f9++];_0x117cd6=_0x6384c1,_0x1c443e=_0x920981,_0x17b536=_0x2683da,_0x1d174b=_0x5d0a8b;}var _0x6384c1=(_0x4b5242[_0x117cd6>>>0x18]<<0x18|_0x4b5242[_0x1c443e>>>0x10&0xff]<<0x10|_0x4b5242[_0x17b536>>>0x8&0xff]<<0x8|_0x4b5242[_0x1d174b&0xff])^_0x225db3[_0x4b24f9++],_0x920981=(_0x4b5242[_0x1c443e>>>0x18]<<0x18|_0x4b5242[_0x17b536>>>0x10&0xff]<<0x10|_0x4b5242[_0x1d174b>>>0x8&0xff]<<0x8|_0x4b5242[_0x117cd6&0xff])^_0x225db3[_0x4b24f9++],_0x2683da=(_0x4b5242[_0x17b536>>>0x18]<<0x18|_0x4b5242[_0x1d174b>>>0x10&0xff]<<0x10|_0x4b5242[_0x117cd6>>>0x8&0xff]<<0x8|_0x4b5242[_0x1c443e&0xff])^_0x225db3[_0x4b24f9++],_0x5d0a8b=(_0x4b5242[_0x1d174b>>>0x18]<<0x18|_0x4b5242[_0x117cd6>>>0x10&0xff]<<0x10|_0x4b5242[_0x1c443e>>>0x8&0xff]<<0x8|_0x4b5242[_0x17b536&0xff])^_0x225db3[_0x4b24f9++];_0x521509[_0x5ab48f]=_0x6384c1,_0x521509[_0x5ab48f+0x1]=_0x920981,_0x521509[_0x5ab48f+0x2]=_0x2683da,_0x521509[_0x5ab48f+0x3]=_0x5d0a8b;},'keySize':0x100/0x20});_0x12513c['AES']=_0xb3d8c9[_0x385926(0x47a)](_0x229f8e);}()),_0x4b71e1[_0x1f0896(0x587)];}));}(ki));var Ya=ki['exports'];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x2fd536,_0x328606){(function(_0x13a687,_0x16f4e5){const _0x51bc34=_0x1414;_0x2fd536[_0x51bc34(0x4a2)]=_0x16f4e5(ue());}(Z,function(_0xdd4375){const _0x49bf1e=_0x1414;return _0xdd4375[_0x49bf1e(0x410)]['Utf8'];}));}(Gi));var qa=Gi['exports'];const Xa=at(qa);var Yi={'exports':{}};(function(_0x394de8,_0x3c42b5){(function(_0x363cbc,_0x10d812){const _0x59c4f1=_0x1414;_0x394de8[_0x59c4f1(0x4a2)]=_0x10d812(ue());}(Z,function(_0x182a9f){const _0x17f590=_0x1414;return(function(){const _0x57da46=_0x1414;if(typeof ArrayBuffer==_0x57da46(0x416)){var _0x278630=_0x182a9f,_0x85966c=_0x278630['lib'],_0x3c132c=_0x85966c['WordArray'],_0x2061dd=_0x3c132c[_0x57da46(0x282)],_0x54b03f=_0x3c132c[_0x57da46(0x282)]=function(_0x575b9f){const _0x2b84ad=_0x57da46;if(_0x575b9f instanceof ArrayBuffer&&(_0x575b9f=new Uint8Array(_0x575b9f)),(_0x575b9f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x575b9f instanceof Uint8ClampedArray||_0x575b9f instanceof Int16Array||_0x575b9f instanceof Uint16Array||_0x575b9f instanceof Int32Array||_0x575b9f instanceof Uint32Array||_0x575b9f instanceof Float32Array||_0x575b9f instanceof Float64Array)&&(_0x575b9f=new Uint8Array(_0x575b9f['buffer'],_0x575b9f[_0x2b84ad(0x261)],_0x575b9f[_0x2b84ad(0x28c)])),_0x575b9f instanceof Uint8Array){for(var _0x559791=_0x575b9f[_0x2b84ad(0x28c)],_0x945dff=[],_0x5abbf1=0x0;_0x5abbf1<_0x559791;_0x5abbf1++)_0x945dff[_0x5abbf1>>>0x2]|=_0x575b9f[_0x5abbf1]<<0x18-_0x5abbf1%0x4*0x8;_0x2061dd[_0x2b84ad(0x570)](this,_0x945dff,_0x559791);}else _0x2061dd[_0x2b84ad(0x437)](this,arguments);};_0x54b03f[_0x57da46(0x1e6)]=_0x3c132c;}}()),_0x182a9f[_0x17f590(0x40b)][_0x17f590(0x3e7)];}));}(Yi));var Ja=Yi[_0x3f2ec9(0x4a2)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x2fcce2,_0x45ba69){(function(_0x3bf477,_0x1a83af,_0x4d6bf6){_0x2fcce2['exports']=_0x1a83af(ue(),Vi());}(Z,function(_0x4c9415){const _0x126416=_0x1414;return _0x4c9415[_0x126416(0x515)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4c9415[_0x126416(0x515)]['NoPadding'];}));}(Ki));var Qa=Ki[_0x3f2ec9(0x4a2)];const ec=at(Qa);function tc(_0x361bd0,_0x88c9cb){const _0x289ccf=_0x3f2ec9,_0x4e3b80=_0x88c9cb-_0x361bd0[_0x289ccf(0x3a7)]%_0x88c9cb,_0x11dca2=String[_0x289ccf(0x45f)](_0x4e3b80)[_0x289ccf(0x494)](_0x4e3b80);return _0x361bd0+_0x11dca2;}function sc(_0x5c1689,_0x51fbde){const _0x2ec705=_0x3f2ec9,_0x30f922=Za['random'](0x10),_0x1ca782=tc(_0x5c1689,0x10),_0x52dd16=Ka[_0x2ec705(0x2e3)](Xa[_0x2ec705(0x224)](_0x1ca782),ii[_0x2ec705(0x224)](_0x51fbde),{'iv':_0x30f922,'padding':ec});return _0x30f922['concat'](_0x52dd16[_0x2ec705(0x5d4)])[_0x2ec705(0x5d5)](ii);}function ic(){const _0x10f823=_0x3f2ec9,_0x366041=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x10f823(0x529)];if(_0x366041){const _0x4f6ddc={'time':Math[_0x10f823(0x335)](Date[_0x10f823(0x54e)]()/0x3e8),'domain':location[_0x10f823(0x1da)]};return sc(JSON[_0x10f823(0x5a1)](_0x4f6ddc),_0x366041);}}var nc=Object['defineProperty'],rc=Object[_0x3f2ec9(0x318)],oc=(_0xd281dd,_0x12746d,_0x1f6a1e,_0x379201)=>{for(var _0x55f54c=_0x379201>0x1?void 0x0:_0x379201?rc(_0x12746d,_0x1f6a1e):_0x12746d,_0xa70e27=_0xd281dd['length']-0x1,_0x472698;_0xa70e27>=0x0;_0xa70e27--)(_0x472698=_0xd281dd[_0xa70e27])&&(_0x55f54c=(_0x379201?_0x472698(_0x12746d,_0x1f6a1e,_0x55f54c):_0x472698(_0x55f54c))||_0x55f54c);return _0x379201&&_0x55f54c&&nc(_0x12746d,_0x1f6a1e,_0x55f54c),_0x55f54c;},ac=(_0x530573,_0x45c350)=>(_0x53e633,_0x365271)=>_0x45c350(_0x53e633,_0x365271,_0x530573);let bt=class{constructor(_0x43cbbe){const _0x285f03=_0x3f2ec9;this['_httpService']=_0x43cbbe,this[_0x285f03(0x50a)]();}['_initRequestHeader'](){const _0x10fc21=_0x3f2ec9;this[_0x10fc21(0x2e2)][_0x10fc21(0x4e2)]({'interceptor':(_0x8f4596,_0x76b6dd)=>{const _0x38a250=_0x10fc21,_0x55285d=_0x8f4596[_0x38a250(0x343)],_0x1191a7=ic();return _0x1191a7&&_0x55285d[_0x38a250(0x250)](_0x38a250(0x2f4),_0x1191a7),_0x76b6dd(_0x8f4596);}});}};bt=oc([ac(0x0,_0x127ed5(_0x1d93b0))],bt);var cc=Object['defineProperty'],hc=Object[_0x3f2ec9(0x318)],lc=(_0x18b2db,_0x45f2a7,_0x40254e,_0x4b308a)=>{for(var _0x41fec9=_0x4b308a>0x1?void 0x0:_0x4b308a?hc(_0x45f2a7,_0x40254e):_0x45f2a7,_0x3fa13b=_0x18b2db['length']-0x1,_0x484d5c;_0x3fa13b>=0x0;_0x3fa13b--)(_0x484d5c=_0x18b2db[_0x3fa13b])&&(_0x41fec9=(_0x4b308a?_0x484d5c(_0x45f2a7,_0x40254e,_0x41fec9):_0x484d5c(_0x41fec9))||_0x41fec9);return _0x4b308a&&_0x41fec9&&cc(_0x45f2a7,_0x40254e,_0x41fec9),_0x41fec9;},Xt=(_0x2f2ec4,_0x4b7e3f)=>(_0x495a17,_0x4fcb72)=>_0x4b7e3f(_0x495a17,_0x4fcb72,_0x2f2ec4);const _c=[_0x3f2ec9(0x248),_0x3f2ec9(0x3be),_0x3f2ec9(0x1de),_0x3f2ec9(0x391),'image/bmp'],uc=0x5*0x400*0x400,dc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',fc=_0x3f2ec9(0x4c3),vc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',mc=_0x3f2ec9(0x477);let hs=class{constructor(_0x39b263,_0x4289ab,_0x381002){const _0xbdaf5f=_0x3f2ec9;g(this,_0xbdaf5f(0x1ef),0x0),g(this,_0xbdaf5f(0x3ba),new _0xf004ca()),g(this,_0xbdaf5f(0x39c),this[_0xbdaf5f(0x3ba)]),g(this,'_imageSourceCache',new Map()),(this[_0xbdaf5f(0x2e2)]=_0x39b263,this[_0xbdaf5f(0x5b4)]=_0x4289ab,this[_0xbdaf5f(0x590)]=_0x381002);}[_0x3f2ec9(0x52d)](_0x970e22){const _0x397211=_0x3f2ec9;this[_0x397211(0x1ef)]=_0x970e22,this['_change$']['next'](_0x970e22);}[_0x3f2ec9(0x2d0)](_0x4d6b1c,_0x18b38c){const _0x3d059a=_0x3f2ec9;if(_0x18b38c===_0x9e0632[_0x3d059a(0x478)]){const _0x1e3679=new Image();return _0x1e3679[_0x3d059a(0x2fa)]=_0x4d6b1c,_0x1e3679;}return this[_0x3d059a(0x20d)][_0x3d059a(0x333)](_0x4d6b1c);}[_0x3f2ec9(0x4cc)](_0x44edfb,_0x493c64,_0x2744ba){const _0x5de09c=_0x3f2ec9;_0x493c64===_0x9e0632[_0x5de09c(0x478)]||_0x2744ba==null||this['_imageSourceCache']['set'](_0x44edfb,_0x2744ba);}async['getImage'](_0x138150){const _0x3b661e=_0x3f2ec9;try{const _0x5e06a2=this[_0x3b661e(0x563)](this[_0x3b661e(0x420)](),''+_0x138150),_0x19cc42=(await this[_0x3b661e(0x2e2)]['get'](_0x5e06a2))['body'];if(_0x19cc42['error']&&_0x19cc42[_0x3b661e(0x3b5)][_0x3b661e(0x366)]===Ri['OK']){const _0x51955b=new URL(_0x19cc42['url'],this[_0x3b661e(0x5da)]())[_0x3b661e(0x5d5)]();return Promise[_0x3b661e(0x2ec)](_0x51955b);}return Promise[_0x3b661e(0x272)](_0x19cc42['error']);}catch(_0x39fe39){return Promise[_0x3b661e(0x272)](_0x39fe39);}}async['saveImage'](_0xbc0091){const _0x18905c=_0x3f2ec9;let _0x7c6b34='';if(!_c[_0x18905c(0x2bb)](_0xbc0091[_0x18905c(0x4e4)]))return this[_0x18905c(0x5cd)](),Promise[_0x18905c(0x272)](new Error(_0x4bc378[_0x18905c(0x57a)]));if(_0xbc0091[_0x18905c(0x258)]>uc)return this['_decreaseWaiting'](),Promise[_0x18905c(0x272)](new Error(_0x4bc378[_0x18905c(0x2e7)]));try{const _0x5645fc=new FormData();_0x5645fc[_0x18905c(0x28a)]('file',_0xbc0091);const _0x40bce6=this[_0x18905c(0x590)]['getFocusedUnit'](),_0x46da80=_0x40bce6==null?void 0x0:_0x40bce6[_0x18905c(0x461)]();if(!_0x46da80)throw new Error(_0x18905c(0x2fd));const _0x924360=this[_0x18905c(0x220)]()+_0x18905c(0x497)+_0xbc0091[_0x18905c(0x258)][_0x18905c(0x5d5)]()+_0x18905c(0x2c8)+yi[_0x18905c(0x3c8)]+_0x18905c(0x442)+encodeURIComponent(_0x46da80),_0x3dc315=await(await fetch(_0x924360,{'method':'POST','body':_0x5645fc}))['json']();if(typeof _0x3dc315[_0x18905c(0x495)]!='string')return this[_0x18905c(0x5cd)](),Promise['reject'](new Error(_0x4bc378['ERROR_IMAGE']));_0x7c6b34=_0x3dc315[_0x18905c(0x495)];}catch{return this[_0x18905c(0x5cd)](),Promise[_0x18905c(0x272)](new Error(_0x4bc378['ERROR_IMAGE']));}return new Promise((_0x342199,_0x1921ab)=>{const _0x286414=_0x18905c,_0xf1ea27=new FileReader();_0xf1ea27[_0x286414(0x2a5)](_0xbc0091),_0xf1ea27[_0x286414(0x581)]=_0x51ecc6=>{const _0x5e9f93=_0x286414;var _0x377d39;const _0x221cd2=(_0x377d39=_0x51ecc6[_0x5e9f93(0x2ad)])==null?void 0x0:_0x377d39[_0x5e9f93(0x38d)];if(_0x221cd2==null){this[_0x5e9f93(0x5cd)](),_0x1921ab(new Error(_0x4bc378[_0x5e9f93(0x23a)]));return;}const _0x1ba9df=_0x109dec[_0x5e9f93(0x280)](0x6);_0x342199({'imageId':_0x1ba9df,'imageSourceType':_0x9e0632[_0x5e9f93(0x3ca)],'source':_0x7c6b34,'base64Cache':_0x221cd2,'status':_0x4bc378[_0x5e9f93(0x459)]}),this[_0x5e9f93(0x5cd)]();};});}['_getUploadFileURL'](){const _0x5a9363=_0x3f2ec9;var _0x957eba,_0x519871;const _0xe3b516=this[_0x5a9363(0x5b4)][_0x5a9363(0x4d2)](dc),_0x3d412f=this[_0x5a9363(0x5b4)]['getConfig'](ie);return(_0x519871=(_0x957eba=_0x3d412f==null?void 0x0:_0x3d412f[_0x5a9363(0x41d)])!=null?_0x957eba:_0xe3b516)!=null?_0x519871:fc;}[_0x3f2ec9(0x420)](){const _0x5840fe=_0x3f2ec9;var _0x54f23c,_0x79f88b;const _0xccd022=this[_0x5840fe(0x5b4)][_0x5840fe(0x4d2)](vc),_0x58775a=this[_0x5840fe(0x5b4)][_0x5840fe(0x4d2)](ie);return(_0x79f88b=(_0x54f23c=_0x58775a==null?void 0x0:_0x58775a[_0x5840fe(0x5b5)])!=null?_0x54f23c:_0xccd022)!=null?_0x79f88b:mc;}[_0x3f2ec9(0x5da)](){const _0x5816fb=_0x3f2ec9;var _0x31ef62;const _0x39c5b6=this[_0x5816fb(0x5b4)]['getConfig'](ie);return(_0x31ef62=_0x39c5b6==null?void 0x0:_0x39c5b6[_0x5816fb(0x21c)])!=null?_0x31ef62:location['origin'];}['_replaceFileID'](_0x15a411,_0x232446){const _0x431b98=_0x3f2ec9;return _0x15a411[_0x431b98(0x3a8)]('{fileID}',_0x232446);}[_0x3f2ec9(0x5cd)](){const _0x2d88f9=_0x3f2ec9;this[_0x2d88f9(0x1ef)]-=0x1,this[_0x2d88f9(0x3ba)][_0x2d88f9(0x3f5)](this[_0x2d88f9(0x1ef)]);}};hs=lc([Xt(0x0,_0x127ed5(_0x1d93b0)),Xt(0x1,_0x5293d7),Xt(0x2,_0x127ed5(_0x4c4975))],hs);var pc=Object[_0x3f2ec9(0x323)],gc=Object[_0x3f2ec9(0x318)],Sc=(_0x4b8fe2,_0x2b057d,_0x3000fe,_0x2bb8c6)=>{const _0x189ff7=_0x3f2ec9;for(var _0x2eed73=_0x2bb8c6>0x1?void 0x0:_0x2bb8c6?gc(_0x2b057d,_0x3000fe):_0x2b057d,_0x585cca=_0x4b8fe2[_0x189ff7(0x3a7)]-0x1,_0x2e9e55;_0x585cca>=0x0;_0x585cca--)(_0x2e9e55=_0x4b8fe2[_0x585cca])&&(_0x2eed73=(_0x2bb8c6?_0x2e9e55(_0x2b057d,_0x3000fe,_0x2eed73):_0x2e9e55(_0x2eed73))||_0x2eed73);return _0x2bb8c6&&_0x2eed73&&pc(_0x2b057d,_0x3000fe,_0x2eed73),_0x2eed73;},Qe=(_0x5ba4f8,_0x24bd55)=>(_0x286705,_0x207d8c)=>_0x24bd55(_0x286705,_0x207d8c,_0x5ba4f8);let Tt=class extends _0x404743{constructor(_0x46dd82,_0x300578,_0xf6509b,_0x4ea9cb,_0x584254){const _0x22f439=_0x3f2ec9;super(),this[_0x22f439(0x469)]=_0x46dd82,this[_0x22f439(0x590)]=_0x300578,this[_0x22f439(0x2ff)]=_0xf6509b,this[_0x22f439(0x389)]=_0x4ea9cb,this[_0x22f439(0x311)]=_0x584254,this[_0x22f439(0x539)](),this[_0x22f439(0x241)]();}['_initCloseConn'](){const _0x5753d8=_0x3f2ec9,_0x27ddb2=async _0x44c6a1=>{const _0x1fc9d2=_0x1414;(await this['_collaborationSessionService']['requireSession'](_0x44c6a1))[_0x1fc9d2(0x34d)][_0x1fc9d2(0x3c4)](_0x2d77f8(_0x582303=>_0x582303[_0x1fc9d2(0x56b)]===_0x371f1e[_0x1fc9d2(0x4cf)]),_0x40998a(this[_0x1fc9d2(0x3e8)]))[_0x1fc9d2(0x27a)](_0x43f706=>{const _0x5d4306=_0x1fc9d2,_0x168b89=_0x43f706,{reason:_0x4d5fa9}=_0x168b89[_0x5d4306(0x399)];this[_0x5d4306(0x469)]['get'](_0x79bb7b)[_0x5d4306(0x59d)]({'type':_0x196a0e[_0x5d4306(0x2be)],'content':this['_localeService']['t'](_0x5d4306(0x29d))+'('+_0x4d5fa9+')'}),this[_0x5d4306(0x2ff)]['updatePermissionPoint'](new _0x4ea9fe(_0x44c6a1)['id'],!0x1),this['_collaborationSessionService'][_0x5d4306(0x370)](_0x44c6a1);});};_0x54a5bf(this[_0x5753d8(0x590)][_0x5753d8(0x57b)](_0x1a8690[_0x5753d8(0x54f)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1a8690[_0x5753d8(0x32a)]))[_0x5753d8(0x3c4)](_0x4f8f29(_0x299a91=>_0x299a91[_0x5753d8(0x461)]()),_0x2d77f8(_0x1775c0=>!_0x93faba(_0x1775c0)),_0x40998a(this[_0x5753d8(0x3e8)]))[_0x5753d8(0x27a)](_0x5df437=>{_0x27ddb2(_0x5df437);});}[_0x3f2ec9(0x539)](){const _0x1a0164=_0x3f2ec9,_0x48d6df=async _0x412899=>{const _0x3b6435=_0x1414;(await this[_0x3b6435(0x389)]['requireSession'](_0x412899))[_0x3b6435(0x34d)][_0x3b6435(0x3c4)](_0x2d77f8(_0x2b68f6=>_0x2b68f6['eventID']===_0x371f1e[_0x3b6435(0x5a7)]),_0x40998a(this[_0x3b6435(0x3e8)]))[_0x3b6435(0x27a)](_0x560cdd=>{const _0x2e8cd1=_0x3b6435,_0xdba9b8=_0x560cdd,{objectId:_0x4cf6c7}=_0xdba9b8[_0x2e8cd1(0x399)],_0x2770bd=this[_0x2e8cd1(0x469)][_0x2e8cd1(0x333)](_0x7d20a1);_0x4cf6c7===_0x412899?_0x2770bd['initWorkbookPermissionChange'](_0x412899):_0x2770bd[_0x2e8cd1(0x3f3)](_0x412899,_0x4cf6c7);});};_0x54a5bf(this[_0x1a0164(0x590)][_0x1a0164(0x57b)](_0x1a8690['UNIVER_SHEET']),this[_0x1a0164(0x590)][_0x1a0164(0x57b)](_0x1a8690[_0x1a0164(0x32a)]))[_0x1a0164(0x3c4)](_0x4f8f29(_0x1ff5db=>_0x1ff5db['getUnitId']()),_0x2d77f8(_0x123559=>!_0x93faba(_0x123559)),_0x40998a(this[_0x1a0164(0x3e8)]))[_0x1a0164(0x27a)](_0x3644cc=>{_0x48d6df(_0x3644cc);});}};Tt=Sc([Qe(0x0,_0x127ed5(_0x846a04)),Qe(0x1,_0x4c4975),Qe(0x2,_0x178a2e),Qe(0x3,_0x127ed5(Ae)),Qe(0x4,_0x127ed5(_0x4d6b84))],Tt);var Ic=Object['defineProperty'],Cc=Object['getOwnPropertyDescriptor'],Ec=(_0x274c4e,_0x2d01ea,_0x1103ca,_0x30881b)=>{for(var _0x347ce7=_0x30881b>0x1?void 0x0:_0x30881b?Cc(_0x2d01ea,_0x1103ca):_0x2d01ea,_0x21a7dc=_0x274c4e['length']-0x1,_0x177ae6;_0x21a7dc>=0x0;_0x21a7dc--)(_0x177ae6=_0x274c4e[_0x21a7dc])&&(_0x347ce7=(_0x30881b?_0x177ae6(_0x2d01ea,_0x1103ca,_0x347ce7):_0x177ae6(_0x347ce7))||_0x347ce7);return _0x30881b&&_0x347ce7&&Ic(_0x2d01ea,_0x1103ca,_0x347ce7),_0x347ce7;},ni=(_0x1827fb,_0x49c6e8)=>(_0x2ca9de,_0x203e1a)=>_0x49c6e8(_0x2ca9de,_0x203e1a,_0x1827fb);let ls=class{constructor(_0x5e3739,_0x5e1434){const _0x5b07c4=_0x3f2ec9;this[_0x5b07c4(0x5b4)]=_0x5e3739,this['_httpService']=_0x5e1434;}async[_0x3f2ec9(0x298)](_0x26efdc,_0x3a7a4d){const _0x38c708=_0x3f2ec9;var _0x282b88;const {unitID:_0x51411d,type:_0x207a78,revision:_0x503ff0=0x0}=_0x3a7a4d,_0x3368c0=this['_getSnapshotAPIPrefix']()+'/'+_0x207a78+_0x38c708(0x3d3)+_0x51411d+_0x38c708(0x347)+_0x503ff0,_0x24b8a2=(await this[_0x38c708(0x2e2)]['get'](_0x3368c0))['body'],_0x59fa9b=(_0x282b88=_0x24b8a2[_0x38c708(0x3c2)])==null?void 0x0:_0x282b88['workbook'];if(_0x59fa9b){const _0x4e8c8d=_0x59fa9b==null?void 0x0:_0x59fa9b[_0x38c708(0x440)],_0x5b0560=_0x1f0543[_0x38c708(0x58d)](_0x56d3fc(_0x4e8c8d));_0x59fa9b[_0x38c708(0x440)]=_0x5b0560,Object[_0x38c708(0x49a)](_0x59fa9b[_0x38c708(0x289)])['forEach'](([,_0x487e2d])=>{const _0x24a6d5=_0x38c708,_0xdf48f=_0x487e2d[_0x24a6d5(0x440)],_0x78d7ab=_0x1f0543[_0x24a6d5(0x58d)](_0x56d3fc(_0xdf48f));_0x487e2d[_0x24a6d5(0x440)]=_0x78d7ab;});}return _0x24b8a2;}async[_0x3f2ec9(0x502)](_0xa3236d,_0x4484e6){const _0x356487=_0x3f2ec9,{unitID:_0x26edd7,type:_0x2bbe34,blockID:_0x212263}=_0x4484e6,_0x14e99c=this['_getAPIPrefix']()+'/'+_0x2bbe34+_0x356487(0x3d3)+_0x26edd7+'/block/'+_0x212263;return(await this[_0x356487(0x2e2)][_0x356487(0x333)](_0x14e99c))[_0x356487(0x57e)];}async[_0x3f2ec9(0x550)](_0xbf8213,_0x4b97e6){const _0x2a43dd=_0x3f2ec9,{unitID:_0x3fd391,type:_0x4e9573,blockID:_0x42872e}=_0x4b97e6,_0x55522a=this[_0x2a43dd(0x4f9)]()+_0x2a43dd(0x5bf)+_0x4e9573+'/unit/'+_0x3fd391+_0x2a43dd(0x5bf)+_0x42872e;return(await this[_0x2a43dd(0x2e2)][_0x2a43dd(0x333)](_0x55522a))['body'];}async[_0x3f2ec9(0x3fb)](_0x3095a3,_0x1ff1ea){const _0x526a5a=_0x3f2ec9,{unitID:_0xbc6128,type:_0x2b702f,from:_0x361762,to:_0x498b24}=_0x1ff1ea,_0x17f30c=this[_0x526a5a(0x4f9)]()+'/'+_0x2b702f+_0x526a5a(0x3d3)+_0xbc6128+_0x526a5a(0x283)+_0x361762+'&to='+_0x498b24;return(await this['_httpService'][_0x526a5a(0x333)](_0x17f30c))['body'];}[_0x3f2ec9(0x43b)](){const _0x4643f4=_0x3f2ec9;var _0x4f110f;return(_0x4f110f=this[_0x4643f4(0x5b4)][_0x4643f4(0x4d2)](lr))!=null?_0x4f110f:this['_getAPIPrefix']();}[_0x3f2ec9(0x4f9)](){const _0x517e9c=_0x3f2ec9;var _0x2d14d9,_0x422da5;const _0x287f40=this['_configService'][_0x517e9c(0x4d2)](cr),_0x43e161=this[_0x517e9c(0x5b4)][_0x517e9c(0x4d2)](ie);return(_0x422da5=(_0x2d14d9=_0x43e161==null?void 0x0:_0x43e161[_0x517e9c(0x348)])!=null?_0x2d14d9:_0x287f40)!=null?_0x422da5:hr;}async['getResourcesRequest'](_0x7ae5c7,_0x1762d0){const _0x1df8a6=_0x3f2ec9,_0x3fea93=_0x1df8a6(0x306)+_0x1762d0[_0x1df8a6(0x4e4)]+_0x1df8a6(0x3d3)+_0x1762d0['unitID']+'/resources';return(await this[_0x1df8a6(0x2e2)][_0x1df8a6(0x333)](_0x3fea93,{'params':{'resourceId':JSON[_0x1df8a6(0x5a1)](_0x1762d0[_0x1df8a6(0x589)])}}))['body'];}['saveSnapshot'](){const _0x60d5f4=_0x3f2ec9;throw new Error(_0x60d5f4(0x504));}[_0x3f2ec9(0x58b)](){const _0xf1a0d3=_0x3f2ec9;throw new Error(_0xf1a0d3(0x504));}[_0x3f2ec9(0x42c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f2ec9(0x1ee)](){const _0x1596a9=_0x3f2ec9;throw new Error(_0x1596a9(0x504));}[_0x3f2ec9(0x1fa)](){const _0x382abc=_0x3f2ec9;throw new Error(_0x382abc(0x504));}};ls=Ec([ni(0x0,_0x5293d7),ni(0x1,_0x127ed5(_0x1d93b0))],ls);var bc=Object['defineProperty'],Tc=Object['getOwnPropertyDescriptor'],Rc=(_0x28ad08,_0x518a86,_0x134a32,_0x2b5caf)=>{const _0xebfe31=_0x3f2ec9;for(var _0x2c65d2=_0x2b5caf>0x1?void 0x0:_0x2b5caf?Tc(_0x518a86,_0x134a32):_0x518a86,_0x452ae4=_0x28ad08[_0xebfe31(0x3a7)]-0x1,_0x24ebf0;_0x452ae4>=0x0;_0x452ae4--)(_0x24ebf0=_0x28ad08[_0x452ae4])&&(_0x2c65d2=(_0x2b5caf?_0x24ebf0(_0x518a86,_0x134a32,_0x2c65d2):_0x24ebf0(_0x2c65d2))||_0x2c65d2);return _0x2b5caf&&_0x2c65d2&&bc(_0x518a86,_0x134a32,_0x2c65d2),_0x2c65d2;},et=(_0x3d1769,_0x3586a2)=>(_0x57efe5,_0x5d6e41)=>_0x3586a2(_0x57efe5,_0x5d6e41,_0x3d1769);let _s=class extends _0x568c65{constructor(_0x2e1a71,_0x38940e,_0x4a2e9e,_0x22147b,_0x56dcf8){const _0x165b32=_0x3f2ec9;super(_0x2e1a71,_0x38940e,_0x4a2e9e),this[_0x165b32(0x251)]=_0x22147b,this['_logService']=_0x56dcf8;}['transformUndoRedo'](_0x4581e0,_0xc64e6b){const _0x3d476c=_0x3f2ec9,_0x45ebe1=this[_0x3d476c(0x39d)](_0x4581e0);if(_0x45ebe1)try{const _0x8779e0=this[_0x3d476c(0x30d)](_0x45ebe1,_0xc64e6b);this[_0x3d476c(0x3cd)](_0x4581e0,_0x8779e0);}catch(_0x38a6d3){this[_0x3d476c(0x42f)][_0x3d476c(0x3b5)](_0x3d476c(0x586),_0x38a6d3),this[_0x3d476c(0x594)](_0x4581e0);}const _0x4f5a98=this[_0x3d476c(0x4ea)](_0x4581e0);if(_0x4f5a98)try{const _0x1d039a=this['_transformStack'](_0x4f5a98,_0xc64e6b);this[_0x3d476c(0x481)](_0x4581e0,_0x1d039a);}catch(_0x51a722){this[_0x3d476c(0x42f)][_0x3d476c(0x3b5)](_0x51a722),this[_0x3d476c(0x46f)](_0x4581e0);}}[_0x3f2ec9(0x594)](_0x4bd78b){const _0x4caa02=_0x3f2ec9,_0x16a981=this[_0x4caa02(0x39d)](_0x4bd78b);_0x16a981&&(_0x16a981[_0x4caa02(0x3a7)]=0x0,this[_0x4caa02(0x578)]());}[_0x3f2ec9(0x46f)](_0x317730){const _0x23aadf=_0x3f2ec9,_0x5a8df6=this[_0x23aadf(0x4ea)](_0x317730);_0x5a8df6&&(_0x5a8df6[_0x23aadf(0x3a7)]=0x0,this[_0x23aadf(0x578)]());}[_0x3f2ec9(0x3cd)](_0x5800af,_0x38e214){const _0xa910dd=_0x3f2ec9;this['_undoStacks'][_0xa910dd(0x250)](_0x5800af,_0x38e214),this['_updateStatus']();}[_0x3f2ec9(0x481)](_0x59e68a,_0x325ca5){const _0x58c5ad=_0x3f2ec9;this[_0x58c5ad(0x3a3)][_0x58c5ad(0x250)](_0x59e68a,_0x325ca5),this[_0x58c5ad(0x578)]();}[_0x3f2ec9(0x30d)](_0x168898,_0x29b8d0){const _0x1fe832=_0x3f2ec9,_0x116968=[];let _0x224196=_0x29b8d0,_0x3b874b=_0x29b8d0;for(let _0xcee849=_0x168898[_0x1fe832(0x3a7)]-0x1;_0xcee849>=0x0;_0xcee849--){const {unitID:_0x1b78e1,undoMutations:_0x2d684a,redoMutations:_0x311b84}=_0x168898[_0xcee849],_0x439164=this[_0x1fe832(0x251)]['transformMutationsWithChangeset'](_0x224196,_0x2d684a),_0x395ef0=this['_transformService'][_0x1fe832(0x336)](_0x3b874b,_0x311b84);if(_0x1fb670(_0x439164)||_0x1fb670(_0x395ef0)){this['_logService'][_0x1fe832(0x3b5)](_0x1fe832(0x586),'transformStack\x20failed!',_0x439164,_0x395ef0);break;}_0x224196=_0x439164['c1Prime'],_0x3b874b=_0x395ef0[_0x1fe832(0x3a0)],_0x116968[_0x1fe832(0x496)]({'unitID':_0x1b78e1,'undoMutations':_0x439164['m2Prime'],'redoMutations':_0x395ef0[_0x1fe832(0x38c)]});}return _0x116968[_0x1fe832(0x255)]();}};_s=Rc([et(0x0,_0x4c4975),et(0x1,_0x49a021),et(0x2,_0x4f5466),et(0x3,_0x1ba0e0),et(0x4,_0x2a6a1c)],_s);class yc extends _0x404743{constructor(){const _0x17cbed=_0x3f2ec9;super(),g(this,_0x17cbed(0x57c)),this[_0x17cbed(0x57c)]=_0x61e8c9(window,'popstate')[_0x17cbed(0x3c4)](_0x54e638(this['dispose$']),_0xdc22d3(0x1),_0x533c60(void 0x0));}[_0x3f2ec9(0x2f0)](_0x5f367d,_0x3462e0,_0xb6b0b3=!0x1){const _0x3f3ad6=_0x3f2ec9,_0x464f44=new URL(window[_0x3f3ad6(0x1d4)][_0x3f3ad6(0x2b5)]);_0x464f44['searchParams'][_0x3f3ad6(0x250)](_0x5f367d,_0x3462e0),_0xb6b0b3?window[_0x3f3ad6(0x27c)]['replaceState']('','',_0x464f44['toString']()):window[_0x3f3ad6(0x27c)][_0x3f3ad6(0x575)]('','',_0x464f44['toString']());}['removeParam'](_0x26aa02,_0x202d23=!0x1){const _0x4f4e40=_0x3f2ec9,_0x2defda=new URL(window[_0x4f4e40(0x1d4)][_0x4f4e40(0x2b5)]);_0x2defda[_0x4f4e40(0x445)][_0x4f4e40(0x1c4)](_0x26aa02),_0x202d23?window[_0x4f4e40(0x27c)][_0x4f4e40(0x5b8)]('','',_0x2defda[_0x4f4e40(0x5d5)]()):window[_0x4f4e40(0x27c)][_0x4f4e40(0x575)]('','',_0x2defda[_0x4f4e40(0x5d5)]());}[_0x3f2ec9(0x51b)](_0x1e799b){const _0x2a77e3=_0x3f2ec9;var _0x4e2a02;return(_0x4e2a02=new URL(window[_0x2a77e3(0x1d4)][_0x2a77e3(0x2b5)])['searchParams'][_0x2a77e3(0x333)](_0x1e799b))!=null?_0x4e2a02:void 0x0;}}var zi=Object['defineProperty'],Oc=Object['getOwnPropertyDescriptor'],wc=(_0x25c12c,_0x2b6c83,_0x2b2f97)=>_0x2b6c83 in _0x25c12c?zi(_0x25c12c,_0x2b6c83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b2f97}):_0x25c12c[_0x2b6c83]=_0x2b2f97,Dc=(_0x4bbf72,_0x31577d,_0x25f02b,_0x5e6771)=>{const _0x3b3a7b=_0x3f2ec9;for(var _0x49ed8=_0x5e6771>0x1?void 0x0:_0x5e6771?Oc(_0x31577d,_0x25f02b):_0x31577d,_0x4a0f93=_0x4bbf72[_0x3b3a7b(0x3a7)]-0x1,_0x2e4eaf;_0x4a0f93>=0x0;_0x4a0f93--)(_0x2e4eaf=_0x4bbf72[_0x4a0f93])&&(_0x49ed8=(_0x5e6771?_0x2e4eaf(_0x31577d,_0x25f02b,_0x49ed8):_0x2e4eaf(_0x49ed8))||_0x49ed8);return _0x5e6771&&_0x49ed8&&zi(_0x31577d,_0x25f02b,_0x49ed8),_0x49ed8;},lt=(_0x79fa41,_0x152d28)=>(_0x28d04b,_0xe11b1a)=>_0x152d28(_0x28d04b,_0xe11b1a,_0x79fa41),Pc=(_0x2fc9b9,_0x30007f,_0x3b88b1)=>wc(_0x2fc9b9,_0x30007f+'',_0x3b88b1);const Uc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x2dcc71{constructor(_0x31add5=Rr,_0x23cb41,_0x768f37,_0x34ffa8,_0x5f0262){const _0x16eb39=_0x3f2ec9;super(),this['_config']=_0x31add5,this[_0x16eb39(0x42f)]=_0x23cb41,this['_renderManagerService']=_0x768f37,this[_0x16eb39(0x469)]=_0x34ffa8,this[_0x16eb39(0x5b4)]=_0x5f0262;const {..._0x4f8c35}=this[_0x16eb39(0x4ca)];this[_0x16eb39(0x5b4)][_0x16eb39(0x55d)](ie,_0x4f8c35);}['onStarting'](){const _0x1aa3bf=_0x3f2ec9;this['_registerDependencies'](),this[_0x1aa3bf(0x463)]();}[_0x3f2ec9(0x21a)](){const _0x35cef0=_0x3f2ec9;_0x1ab21b(this[_0x35cef0(0x469)],[[Ct]]);}[_0x3f2ec9(0x421)](){this['_registerRenderDependencies']();}[_0x3f2ec9(0x229)](){const _0x289897=_0x3f2ec9;var _0x1bfd5c,_0x84495c,_0x5ceec1,_0x398356;this[_0x289897(0x469)]['has'](_0x42df5e)&&this[_0x289897(0x42f)][_0x289897(0x3b5)](_0x289897(0x4f1),_0x289897(0x3b3));const _0x481b33=[[_0x42df5e,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x18b495],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x84495c=(_0x1bfd5c=this['_config'])==null?void 0x0:_0x1bfd5c[_0x289897(0x1ce)])!=null?_0x84495c:es}],[_0x32dd62,{'useClass':ls}],[_0x491f3b,{'useClass':cs}],[_0x52bb2a,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x5ceec1=this[_0x289897(0x4ca)])!=null&&_0x5ceec1[_0x289897(0x3bb)]&&_0x481b33[_0x289897(0x496)]([Rt,{'useClass':ro}]),_0x199895(this['_injector'],_0x14a5de(_0x481b33,(_0x398356=this[_0x289897(0x4ca)])==null?void 0x0:_0x398356[_0x289897(0x435)]));}[_0x3f2ec9(0x351)](){const _0x5a2aaf=_0x3f2ec9;this[_0x5a2aaf(0x324)](this[_0x5a2aaf(0x4b9)]['registerRenderModule'](_0x1a8690[_0x5a2aaf(0x32a)],[os])),this[_0x5a2aaf(0x324)](this[_0x5a2aaf(0x4b9)][_0x5a2aaf(0x338)](_0x1a8690['UNIVER_SHEET'],[as]));}[_0x3f2ec9(0x463)](){const _0x4778aa=_0x3f2ec9;var _0x55ecf2,_0x448e30;this[_0x4778aa(0x469)][_0x4778aa(0x333)](_0x1d93b0)[_0x4778aa(0x4e2)]({'priority':0x14,'interceptor':_0x527fac({'maxParallel':0x6})}),(_0x55ecf2=this[_0x4778aa(0x4ca)])!=null&&_0x55ecf2['enableOfflineEditing']||this[_0x4778aa(0x469)][_0x4778aa(0x333)](q)[_0x4778aa(0x35f)](),(_0x448e30=this['_config'])!=null&&_0x448e30[_0x4778aa(0x3e5)]&&_0x1ab21b(this[_0x4778aa(0x469)],[[Et]]),_0x1ab21b(this[_0x4778aa(0x469)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,_0x3f2ec9(0x2c0),Uc),us=Dc([_0x5d40c8(_0x33b951,_0x291685),lt(0x1,_0x2a6a1c),lt(0x2,_0x249704),lt(0x3,_0x127ed5(_0x846a04)),lt(0x4,_0x5293d7)],us);export{Ba as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Cr as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ca as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,fr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Sr as LOCAL_CACHE_INTERVAL_KEY,br as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,pr as RETRY_CONNECTING_MAX_COUNT_KEY,Xc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Xo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,Or as serializeCombRequest};
|