@univerjs-pro/collaboration-client 0.2.3 → 0.2.4-alpha.0
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/es/index.js +1 -1
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +1 -2
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +1 -2
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +1 -2
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +1 -2
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +1 -2
- package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +1 -1
- package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +2 -2
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +1 -2
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -2
- package/lib/types/plugin.d.ts +1 -2
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +3 -2
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +3 -2
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -1
- package/lib/types/services/permission/permission.service.d.ts +1 -2
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +1 -1
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +1 -1
- package/lib/types/services/socket/collaboration-socket.service.d.ts +1 -1
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +1 -1
- package/lib/types/services/url/url.service.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +33 -35
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x3e92f2=_0x4256;(function(_0x13a191,_0x24fce6){const _0x43acda=_0x4256,_0x445299=_0x13a191();while(!![]){try{const _0x2e3a8c=-parseInt(_0x43acda(0x479))/0x1*(parseInt(_0x43acda(0x2a1))/0x2)+-parseInt(_0x43acda(0x435))/0x3*(-parseInt(_0x43acda(0x22d))/0x4)+-parseInt(_0x43acda(0x359))/0x5+parseInt(_0x43acda(0x2d8))/0x6*(parseInt(_0x43acda(0x40f))/0x7)+parseInt(_0x43acda(0x34d))/0x8*(parseInt(_0x43acda(0x1cf))/0x9)+parseInt(_0x43acda(0x3ef))/0xa*(-parseInt(_0x43acda(0x2d1))/0xb)+parseInt(_0x43acda(0x277))/0xc*(parseInt(_0x43acda(0x490))/0xd);if(_0x2e3a8c===_0x24fce6)break;else _0x445299['push'](_0x445299['shift']());}catch(_0x29a30c){_0x445299['push'](_0x445299['shift']());}}}(_0x2c8c,0xd7d6b));var Bs=Object['defineProperty'],ks=(_0x4961ee,_0x1ad393,_0x441496)=>_0x1ad393 in _0x4961ee?Bs(_0x4961ee,_0x1ad393,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x441496}):_0x4961ee[_0x1ad393]=_0x441496,l=(_0xc67931,_0x4d29b5,_0x38bb2e)=>ks(_0xc67931,typeof _0x4d29b5!=_0x3e92f2(0x399)?_0x4d29b5+'':_0x4d29b5,_0x38bb2e);import{Disposable as _0x1f0611,toDisposable as _0x38ac23,UniverInstanceType as _0x41ddf6,UserManagerService as _0x3614dc,IUniverInstanceService as _0x5f1ae0,DisposableCollection as _0x10ad9e,IConfigService as _0x523c70,ILogService as _0x46d807,ISnapshotServerService as _0x4e0f91,RxDisposable as _0x4c153b,LocaleService as _0x6789ab,ILocalStorageService as _0x1dfb89,Tools as _0x545ca3,ICommandService as _0x109aa8,JSONX as _0x578d98,IPermissionService as _0x4acf08,IUndoRedoService as _0x1e106e,sequenceExecute as _0x32c463,OnLifecycle as _0x405ab3,LifecycleStages as _0x57f2ea,CommandType as _0x1a41da,Rectangle as _0x301c8d,ThemeService as _0x441ca9,Workbook as _0x15b410,textEncoder as _0x518061,b64DecodeUnicode as _0x2439d9,LocalUndoRedoService as _0x13c2f6,IContextService as _0x114c9b,COLORS as _0x45d551,ColorKit as _0xbc8d5d,isInternalEditorID as _0x3ee33a,Plugin as _0x5e7441,IAuthzIoService as _0x309336,mergeOverrideWithDependencies as _0x2625cc,DependentOn as _0x35cc39}from'@univerjs/core';import{SheetsSelectionsService as _0xebd730,SetSelectionsOperation as _0x594d48,InsertSheetMutation as _0x37a75d,WorkbookEditablePermission as _0xd881f1,RefRangeService as _0x4071b4,EffectRefRangId as _0x1d561a,handleIRemoveRow as _0x58d14e,handleIRemoveCol as _0x46dbc2,handleMoveRange as _0x342dcd,handleInsertRow as _0xf69406,handleInsertRangeMoveRight as _0x41ab06,handleInsertRangeMoveDown as _0x324941,handleInsertCol as _0x392388,handleDeleteRangeMoveUp as _0x2558df,handleDeleteRangeMoveLeft as _0x374c46,runRefRangeMutations as _0x4b852b,SetWorksheetActivateCommand as _0x19d32b}from'@univerjs/sheets';import{MessageType as _0x4f4f06}from'@univerjs/design';import{IBeforeCloseService as _0x17e6fa,IMessageService as _0x5cfd22,INotificationService as _0x47f284,useObservable as _0x26ca96,BuiltInUIPart as _0x4f2b7f,IUIPartsService as _0x49a90c}from'@univerjs/ui';import{CollaborationEvent as _0x34e231,parseChangesetToProtocol as _0x24de41,RevisionService as _0xee930,isTransformMutationFailure as _0x3d6701,isTransformMutationsWithChangesetSuccess as _0x496a31,ITransformService as _0x1b279b,mapDocumentTypeToUniverType as _0x50ce5b,isTransformChangesetsSuccess as _0x27db11,CompressMutationService as _0x59ec89,parseProtocolChangeset as _0x3d7418,SnapshotService as _0x4d5681,isTransformMutationsWithChangesetFailure as _0x27cfca,UniverCollaborationPlugin as _0x5d8040}from'@univerjs-pro/collaboration';import{Inject as _0xbbf94a,createIdentifier as _0x3195f2,Injector as _0xa8f435,Optional as _0x3668b1}from'@wendellhu/redi';import{merge as _0x2b9a75,Subject as _0x440796,BehaviorSubject as _0x4d79d8,distinctUntilChanged as _0x569a4b,fromEvent as _0x236f67,of as _0x53ae42,takeUntil as _0x254c9c,debounceTime as _0x445532,filter as _0x56fcf7,switchMap as _0x10f218,combineLatest as _0x1d32ee,shareReplay as _0x839af7,mapTo as _0x582e14,concatMap as _0x4df13e}from'rxjs';import{map as _0x4ed52e,takeUntil as _0x8dafd9,take as _0x401b81,filter as _0x5e91b7,delay as _0x392c2d,shareReplay as _0x5d4314,switchMap as _0x3bc552}from'rxjs/operators';import{IMEInputManagerService as _0x3a8219,TextSelectionManagerService as _0x3781de,serializeTextRange as _0x167840,DocStateChangeManagerService as _0x250a10,SetTextSelectionsOperation as _0x13752b,RichTextEditingMutation as _0x403372,getDocObject as _0x14e6b6,DocSkeletonManagerService as _0x1e7be0}from'@univerjs/docs';import{HTTPService as _0x50f6b0,WebSocketService as _0x412516,IHTTPImplementation as _0x41641e,XHRHTTPImplementation as _0x4fc2a5,ThresholdInterceptorFactory as _0x43aece}from'@univerjs/network';import{ImageSourceType as _0x1f9734,ImageUploadStatusType as _0x1df9e0,IImageIoService as _0xb0775}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x2565bd,serializeRangeWithSheet as _0x4aaaf4}from'@univerjs/engine-formula';import _0x561342 from'lodash/debounce';import{Shape as _0x28d65b,Rect as _0x1385ec,Vector2 as _0x20338b,IRenderManagerService as _0x5bdf6a,NodePositionConvertToCursor as _0xc0d7bf,getColor as _0x5afff8,TEXT_RANGE_LAYER_INDEX as _0x563281,RegularPolygon as _0x49179d}from'@univerjs/engine-render';import{SheetSkeletonManagerService as _0x171d84,VIEWPORT_KEY as _0x30f673,getCoordByCell as _0x387ce0,getSheetObject as _0xa91384,SheetPermissionInitController as _0x368f1a}from'@univerjs/sheets-ui';import{useDependency as _0x1e1af6,connectInjector as _0x5396b8}from'@wendellhu/redi/react-bindings';import _0x12e564,{forwardRef as _0xa872f9,useRef as _0x562615,createElement as _0x405505}from'react';import _0x3f0cf9 from'clsx';import{IRemoteInstanceService as _0x2066c7}from'@univerjs/rpc';const Ji='SNAPSHOT_SERVER_URL_KEY',zi='/universer-api/snapshot',qi='SNAPSHOT_URL_KEY',Zi=_0x3e92f2(0x25c),Qi=0x7d0,en=_0x3e92f2(0x454),tn=_0x3e92f2(0x3fa),sn=_0x3e92f2(0x1e0),nn=0x7530,bs=_0x3e92f2(0x334),Ts=0x2710,rn=_0x3e92f2(0x2ff),on=0x4e20,an=_0x3e92f2(0x3ec),cn=0x3,hn=_0x3e92f2(0x23a),ln=0x3e8,_n=_0x3e92f2(0x44b),un='/universer-api/comb',dn='LOGIN_URL_KEY',fn=_0x3e92f2(0x2ea);var Rs=(_0x4292e7=>(_0x4292e7[_0x4292e7[_0x3e92f2(0x3c8)]=0x0]=_0x3e92f2(0x3c8),_0x4292e7[_0x4292e7['OK']=0x1]='OK',_0x4292e7[_0x4292e7[_0x3e92f2(0x4a6)]=0x2]=_0x3e92f2(0x4a6),_0x4292e7[_0x4292e7[_0x3e92f2(0x224)]=0x3]=_0x3e92f2(0x224),_0x4292e7[_0x4292e7[_0x3e92f2(0x426)]=0x4]=_0x3e92f2(0x426),_0x4292e7[_0x4292e7[_0x3e92f2(0x234)]=0x5]=_0x3e92f2(0x234),_0x4292e7[_0x4292e7['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x4292e7[_0x4292e7['INVALID_ARGUMENT']=0x7]=_0x3e92f2(0x46a),_0x4292e7[_0x4292e7[_0x3e92f2(0x381)]=0x8]=_0x3e92f2(0x381),_0x4292e7[_0x4292e7['COMPLETION_FINISHED']=0x9]=_0x3e92f2(0x429),_0x4292e7[_0x4292e7[_0x3e92f2(0x320)]=0x1389]=_0x3e92f2(0x320),_0x4292e7[_0x4292e7[_0x3e92f2(0x3f3)]=0x1771]=_0x3e92f2(0x3f3),_0x4292e7[_0x4292e7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3e92f2(0x363),_0x4292e7[_0x4292e7[_0x3e92f2(0x24f)]=0x1b59]=_0x3e92f2(0x24f),_0x4292e7[_0x4292e7[_0x3e92f2(0x31b)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4292e7[_0x4292e7[_0x3e92f2(0x281)]=0x1b5b]=_0x3e92f2(0x281),_0x4292e7[_0x4292e7['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3e92f2(0x247),_0x4292e7[_0x4292e7[_0x3e92f2(0x228)]=0x1f41]=_0x3e92f2(0x228),_0x4292e7[_0x4292e7['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3e92f2(0x2ae),_0x4292e7[_0x4292e7[_0x3e92f2(0x1c8)]=0x232a]=_0x3e92f2(0x1c8),_0x4292e7[_0x4292e7[_0x3e92f2(0x27a)]=0x232b]=_0x3e92f2(0x27a),_0x4292e7[_0x4292e7['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3e92f2(0x254),_0x4292e7[_0x4292e7[_0x3e92f2(0x39d)]=0x232d]=_0x3e92f2(0x39d),_0x4292e7[_0x4292e7[_0x3e92f2(0x23d)]=0x2711]=_0x3e92f2(0x23d),_0x4292e7[_0x4292e7[_0x3e92f2(0x47c)]=0x2712]=_0x3e92f2(0x47c),_0x4292e7[_0x4292e7[_0x3e92f2(0x4ad)]=-0x1]=_0x3e92f2(0x4ad),_0x4292e7))(Rs||{}),H=(_0x110c19=>(_0x110c19[_0x110c19[_0x3e92f2(0x1b6)]=0x0]=_0x3e92f2(0x1b6),_0x110c19[_0x110c19['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x110c19[_0x110c19[_0x3e92f2(0x241)]=0x2]='UNIVER_SHEET',_0x110c19[_0x110c19[_0x3e92f2(0x1c3)]=0x3]=_0x3e92f2(0x1c3),_0x110c19[_0x110c19[_0x3e92f2(0x4ad)]=-0x1]='UNRECOGNIZED',_0x110c19))(H||{}),I=(_0xf4b10e=>(_0xf4b10e[_0xf4b10e[_0x3e92f2(0x22c)]=0x0]='UNKNOWN_CMD',_0xf4b10e[_0xf4b10e['HELLO']=0x1]=_0x3e92f2(0x425),_0xf4b10e[_0xf4b10e[_0x3e92f2(0x481)]=0x2]=_0x3e92f2(0x481),_0xf4b10e[_0xf4b10e[_0x3e92f2(0x393)]=0x3]=_0x3e92f2(0x393),_0xf4b10e[_0xf4b10e[_0x3e92f2(0x32f)]=0x4]=_0x3e92f2(0x32f),_0xf4b10e[_0xf4b10e[_0x3e92f2(0x29a)]=0x5]=_0x3e92f2(0x29a),_0xf4b10e[_0xf4b10e[_0x3e92f2(0x3fd)]=0x6]='RECV',_0xf4b10e[_0xf4b10e[_0x3e92f2(0x4ad)]=-0x1]='UNRECOGNIZED',_0xf4b10e))(I||{}),Ut=(_0x14f64f=>(_0x14f64f[_0x14f64f[_0x3e92f2(0x2c8)]=0x0]=_0x3e92f2(0x2c8),_0x14f64f[_0x14f64f['OK']=0x1]='OK',_0x14f64f[_0x14f64f[_0x3e92f2(0x3a4)]=0x2]=_0x3e92f2(0x3a4),_0x14f64f[_0x14f64f['UNRECOGNIZED']=-0x1]=_0x3e92f2(0x4ad),_0x14f64f))(Ut||{}),mn=Object[_0x3e92f2(0x340)],gn=Object[_0x3e92f2(0x2d2)],Sn=(_0x10e421,_0x47da6d,_0x26fcc3,_0x3d1347)=>{for(var _0x3533ee=_0x3d1347>0x1?void 0x0:_0x3d1347?gn(_0x47da6d,_0x26fcc3):_0x47da6d,_0x538221=_0x10e421['length']-0x1,_0x3f26e5;_0x538221>=0x0;_0x538221--)(_0x3f26e5=_0x10e421[_0x538221])&&(_0x3533ee=(_0x3d1347?_0x3f26e5(_0x47da6d,_0x26fcc3,_0x3533ee):_0x3f26e5(_0x3533ee))||_0x3533ee);return _0x3d1347&&_0x3533ee&&mn(_0x47da6d,_0x26fcc3,_0x3533ee),_0x3533ee;},Kt=(_0x5ceb11,_0x2df306)=>(_0x180c23,_0x23ce03)=>_0x2df306(_0x180c23,_0x23ce03,_0x5ceb11);let ne=class extends _0x1f0611{constructor(_0x547e7a,_0x5312e1){const _0x11dcaf=_0x3e92f2;super(),l(this,_0x11dcaf(0x398),new Map()),(this[_0x11dcaf(0x1ef)]=_0x547e7a,this[_0x11dcaf(0x2f3)]=_0x5312e1,this[_0x11dcaf(0x280)](_0x38ac23(_0x2b9a75(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x41ddf6[_0x11dcaf(0x241)])[_0x11dcaf(0x407)](_0x4ed52e(_0x49abd0=>_0x49abd0[_0x11dcaf(0x47a)]())),this[_0x11dcaf(0x1ef)][_0x11dcaf(0x319)](_0x41ddf6[_0x11dcaf(0x2e1)])[_0x11dcaf(0x407)](_0x4ed52e(_0x131abf=>_0x131abf[_0x11dcaf(0x47a)]())),this[_0x11dcaf(0x1ef)][_0x11dcaf(0x319)](_0x41ddf6['UNIVER_SLIDE'])[_0x11dcaf(0x407)](_0x4ed52e(_0x5e48d3=>_0x5e48d3[_0x11dcaf(0x47a)]())))[_0x11dcaf(0x4be)](_0x2ec825=>this[_0x11dcaf(0x4a7)](_0x2ec825)))));}[_0x3e92f2(0x27c)](_0x32e28a){const _0x5688=_0x3e92f2;this[_0x5688(0x2f3)][_0x5688(0x27c)](_0x32e28a);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}['updateMember'](_0x289eda,_0x28f3e3){const _0x4f52fe=_0x3e92f2;let _0xf94eb8=this[_0x4f52fe(0x398)]['get'](_0x289eda);_0xf94eb8||(_0xf94eb8=new vn(),this[_0x4f52fe(0x398)][_0x4f52fe(0x2bc)](_0x289eda,_0xf94eb8)),_0xf94eb8['updateMember'](_0x28f3e3);}[_0x3e92f2(0x1a2)](_0x198b39,_0x1b5dd5){const _0x1512e0=_0x3e92f2,_0x4eaf85=this[_0x1512e0(0x398)][_0x1512e0(0x2d5)](_0x198b39);_0x4eaf85&&_0x4eaf85[_0x1512e0(0x1a2)](_0x1b5dd5);}[_0x3e92f2(0x44f)](_0xd49c01){const _0x3b49a5=_0x3e92f2;return this[_0x3b49a5(0x398)]['get'](_0xd49c01);}['getMember'](_0x33b9ce,_0x386386){const _0x225119=_0x3e92f2,_0x30d507=this[_0x225119(0x398)][_0x225119(0x2d5)](_0x33b9ce);if(_0x30d507)return _0x30d507[_0x225119(0x311)](_0x386386);}[_0x3e92f2(0x4a7)](_0x2fa812){const _0x3345f4=_0x3e92f2,_0x1ba948=this['_roomMembers'][_0x3345f4(0x2d5)](_0x2fa812);_0x1ba948&&(_0x1ba948[_0x3345f4(0x25d)](),this['_roomMembers'][_0x3345f4(0x36f)](_0x2fa812));}[_0x3e92f2(0x25d)](){this['_roomMembers']['forEach'](_0x23cf59=>_0x23cf59['dispose']()),this['_roomMembers']['clear']();}};ne=Sn([Kt(0x0,_0x5f1ae0),Kt(0x1,_0xbbf94a(_0x3614dc))],ne);function _0x4256(_0x589c55,_0x4c59d7){const _0x2c8c67=_0x2c8c();return _0x4256=function(_0x425665,_0x342c70){_0x425665=_0x425665-0x193;let _0x3b801f=_0x2c8c67[_0x425665];return _0x3b801f;},_0x4256(_0x589c55,_0x4c59d7);}class vn extends _0x1f0611{constructor(){const _0x458eb9=_0x3e92f2;super(...arguments),l(this,_0x458eb9(0x477),new Map());}[_0x3e92f2(0x25d)](){const _0x941e0e=_0x3e92f2;this[_0x941e0e(0x477)]['clear']();}['updateMember'](_0x2ae875){const _0x145483=_0x3e92f2;this[_0x145483(0x477)][_0x145483(0x2bc)](_0x2ae875[_0x145483(0x35a)],_0x2ae875);}[_0x3e92f2(0x1a2)](_0x4dba5b){const _0x47806f=_0x3e92f2;this['_members'][_0x47806f(0x36f)](_0x4dba5b);}['getMember'](_0x376cff){const _0x5ee0b3=_0x3e92f2;return this['_members'][_0x5ee0b3(0x2d5)](_0x376cff);}}function pn(_0x6ced89){const _0x18ae27=_0x3e92f2;var _0x296853,_0x3e3344,_0x40d5ff,_0x70bb29;const _0x5dbe79=_0x6ced89[_0x18ae27(0x208)],_0x1d00f8=JSON[_0x18ae27(0x47f)](_0x5dbe79);switch(_0x1d00f8['cmd']){case I[_0x18ae27(0x29a)]:case I[_0x18ae27(0x425)]:{const _0x1caf85=_0x1d00f8[_0x18ae27(0x297)];return{..._0x1d00f8,'data':_0x1caf85,'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};}case I[_0x18ae27(0x481)]:{const _0x348ec0=_0x1d00f8['joinRsp'];return{..._0x1d00f8,'data':_0x348ec0,'cmd':_0x1d00f8['cmd']};}case I[_0x18ae27(0x3fd)]:{const _0x19a65a=_0x1d00f8[_0x18ae27(0x255)];switch(_0x19a65a[_0x18ae27(0x1af)]){case _0x34e231[_0x18ae27(0x1c1)]:return{..._0x1d00f8,'data':{..._0x19a65a,'data':(_0x296853=_0x19a65a[_0x18ae27(0x3bb)])==null?void 0x0:_0x296853['cs']},'cmd':_0x1d00f8['cmd']};case _0x34e231['CHANGESET_ACK']:return{..._0x1d00f8,'data':{..._0x19a65a,'data':(_0x3e3344=_0x19a65a[_0x18ae27(0x21c)])==null?void 0x0:_0x3e3344['cs']},'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231['NEW_CHANGESETS']:return{..._0x1d00f8,'data':{..._0x19a65a,'data':(_0x40d5ff=_0x19a65a['newCsEvent'])==null?void 0x0:_0x40d5ff['cs']},'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231[_0x18ae27(0x201)]:return{..._0x1d00f8,'data':{..._0x19a65a,'data':(_0x70bb29=_0x19a65a[_0x18ae27(0x445)])==null?void 0x0:_0x70bb29['cs']},'cmd':_0x1d00f8['cmd']};case _0x34e231[_0x18ae27(0x226)]:return{..._0x1d00f8,'data':{..._0x19a65a,'data':_0x19a65a[_0x18ae27(0x1e1)]},'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231[_0x18ae27(0x3e0)]:return{..._0x1d00f8,'data':{..._0x19a65a,'data':_0x19a65a[_0x18ae27(0x309)]},'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231['USERS_LEAVE']:return{..._0x1d00f8,'data':{..._0x19a65a,'data':_0x19a65a[_0x18ae27(0x225)]},'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231[_0x18ae27(0x3b4)]:return{..._0x1d00f8,'data':{..._0x19a65a,'data':_0x19a65a['liveShareNewHost']},'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231[_0x18ae27(0x3d3)]:case _0x34e231[_0x18ae27(0x2d6)]:return{..._0x1d00f8,'data':{..._0x19a65a,'data':_0x19a65a[_0x18ae27(0x1eb)]},'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231[_0x18ae27(0x1cb)]:return{..._0x1d00f8,'data':{..._0x19a65a,'data':_0x19a65a[_0x18ae27(0x304)]},'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231['MSG_FOR_ERROR']:return{..._0x1d00f8,'data':_0x19a65a,'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231[_0x18ae27(0x1c4)]:return{..._0x1d00f8,'data':{..._0x19a65a,'data':_0x19a65a['commentUpdateEvent']},'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231[_0x18ae27(0x3be)]:return{..._0x1d00f8,'data':{..._0x19a65a,'data':_0x19a65a[_0x18ae27(0x3d9)]},'cmd':_0x1d00f8[_0x18ae27(0x1a1)]};case _0x34e231[_0x18ae27(0x45e)]:return{..._0x1d00f8,'data':{..._0x19a65a,'data':_0x19a65a['shouldCloseConn']},'cmd':_0x1d00f8['cmd']};default:return _0x1d00f8;}}default:return _0x1d00f8;}}function In(_0x2373b0){const _0x462d19=_0x3e92f2;switch(_0x2373b0[_0x462d19(0x1a1)]){case I['HEARTBEAT']:case I[_0x462d19(0x425)]:return JSON['stringify']({'cmd':_0x2373b0[_0x462d19(0x1a1)],'routeKey':_0x2373b0['routeKey']});case I[_0x462d19(0x32f)]:{let _0xdde9cb;switch(_0x2373b0[_0x462d19(0x208)][_0x462d19(0x1af)]){case _0x34e231[_0x462d19(0x226)]:{_0xdde9cb={'eventID':_0x34e231['UPDATE_CURSOR'],'updateCursorEvent':_0x2373b0[_0x462d19(0x208)][_0x462d19(0x208)]};break;}case _0x34e231[_0x462d19(0x462)]:{_0xdde9cb={'eventID':_0x34e231[_0x462d19(0x462)],'leaveEvent':_0x2373b0[_0x462d19(0x208)]['data']};break;}case _0x34e231['USERS_ENTER']:{_0xdde9cb={'eventID':_0x34e231[_0x462d19(0x3e0)],'joinEvent':_0x2373b0[_0x462d19(0x208)][_0x462d19(0x208)]};break;}case _0x34e231[_0x462d19(0x3b4)]:{_0xdde9cb={'eventID':_0x34e231['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2373b0[_0x462d19(0x208)][_0x462d19(0x208)]};break;}case _0x34e231[_0x462d19(0x2d6)]:{_0xdde9cb={'eventID':_0x34e231[_0x462d19(0x2d6)],'liveShareOperation':_0x2373b0[_0x462d19(0x208)][_0x462d19(0x208)]};break;}case _0x34e231[_0x462d19(0x1cb)]:{_0xdde9cb={'eventID':_0x34e231[_0x462d19(0x1cb)],'liveShareTerminate':_0x2373b0[_0x462d19(0x208)][_0x462d19(0x208)]};break;}case _0x34e231[_0x462d19(0x335)]:{_0xdde9cb={'eventID':_0x34e231[_0x462d19(0x335)],'liveShareRequestHost':_0x2373b0['data'][_0x462d19(0x208)]};break;}case _0x34e231[_0x462d19(0x3d3)]:{_0xdde9cb={'eventID':_0x34e231[_0x462d19(0x3d3)]};break;}default:_0xdde9cb={'eventID':_0x2373b0[_0x462d19(0x208)][_0x462d19(0x1af)]};}return JSON[_0x462d19(0x20d)]({'cmd':_0x2373b0['cmd'],'routeKey':_0x2373b0['routeKey'],'collaMsg':_0xdde9cb});}case I[_0x462d19(0x481)]:return JSON[_0x462d19(0x20d)]({'cmd':_0x2373b0[_0x462d19(0x1a1)],'routeKey':_0x2373b0[_0x462d19(0x3d8)],'joinReq':_0x2373b0[_0x462d19(0x208)]});case I[_0x462d19(0x393)]:return JSON[_0x462d19(0x20d)]({'cmd':_0x2373b0[_0x462d19(0x1a1)],'routeKey':_0x2373b0['routeKey'],'leaveReq':_0x2373b0[_0x462d19(0x208)]});default:throw new Error(_0x462d19(0x2f6));}}var En=Object[_0x3e92f2(0x340)],Cn=Object[_0x3e92f2(0x2d2)],bn=(_0x2774df,_0x5802ca,_0x56d7f8,_0x5d687b)=>{const _0x5bcb95=_0x3e92f2;for(var _0x53af55=_0x5d687b>0x1?void 0x0:_0x5d687b?Cn(_0x5802ca,_0x56d7f8):_0x5802ca,_0x34132b=_0x2774df[_0x5bcb95(0x1a4)]-0x1,_0x30f43a;_0x34132b>=0x0;_0x34132b--)(_0x30f43a=_0x2774df[_0x34132b])&&(_0x53af55=(_0x5d687b?_0x30f43a(_0x5802ca,_0x56d7f8,_0x53af55):_0x30f43a(_0x53af55))||_0x53af55);return _0x5d687b&&_0x53af55&&En(_0x5802ca,_0x56d7f8,_0x53af55),_0x53af55;},Ee=(_0x1f84bd,_0x65849d)=>(_0x1ba686,_0x2fc3cf)=>_0x65849d(_0x1ba686,_0x2fc3cf,_0x1f84bd);const Os=_0x3195f2(_0x3e92f2(0x2cd));function Tn(_0x4d277c,_0x35daff,_0x5cb55f){const _0x4ef394=_0x3e92f2;return _0x4d277c+'/'+_0x35daff+_0x4ef394(0x1e7)+_0x5cb55f+'/new_changes';}let gt=class{constructor(_0x5e6f47,_0x386380,_0x50c2b9,_0x4deaef,_0x478926){const _0x398bb2=_0x3e92f2;this[_0x398bb2(0x1a5)]=_0x5e6f47,this[_0x398bb2(0x25b)]=_0x386380,this['_configService']=_0x50c2b9,this[_0x398bb2(0x27b)]=_0x4deaef,this[_0x398bb2(0x21f)]=_0x478926;}[_0x3e92f2(0x37d)](_0xe1f381){const _0x1538b8=_0x3e92f2,_0xe53dc6=this[_0x1538b8(0x25b)]['createSocket'](_0xe1f381);if(!_0xe53dc6)throw new Error(_0x1538b8(0x2f5));const _0x58dfba=new _0x10ad9e(),_0x3b1f37=new _0x440796();_0x58dfba[_0x1538b8(0x35d)](_0x38ac23(_0xe53dc6[_0x1538b8(0x326)][_0x1538b8(0x4be)](_0x42e916=>_0x3b1f37[_0x1538b8(0x3ea)](_0x42e916)))),_0x58dfba[_0x1538b8(0x35d)](_0x38ac23(()=>_0x3b1f37[_0x1538b8(0x2e4)]()));const _0x592ec6=new _0x440796();_0x58dfba['add'](_0x38ac23(_0xe53dc6['error$'][_0x1538b8(0x4be)](_0x2b6003=>_0x592ec6[_0x1538b8(0x3ea)](_0x2b6003)))),_0x58dfba[_0x1538b8(0x35d)](_0x38ac23(()=>_0x592ec6[_0x1538b8(0x2e4)]()));const _0x38fe7a=new _0x440796();_0x58dfba[_0x1538b8(0x35d)](_0x38ac23(_0xe53dc6[_0x1538b8(0x40c)][_0x1538b8(0x4be)](_0x2b7d64=>{const _0x24c721=_0x1538b8,_0x456738=pn(_0x2b7d64);_0x38fe7a[_0x24c721(0x3ea)](_0x456738);}))),_0x58dfba[_0x1538b8(0x35d)](_0x38ac23(()=>_0x38fe7a[_0x1538b8(0x2e4)]()));const _0x1fbba3=()=>{const _0x4c7ab8=_0x1538b8;_0x592ec6[_0x4c7ab8(0x3ea)](new Event('connection\x20error')),_0x3b1f37[_0x4c7ab8(0x3ea)](new CloseEvent(_0x4c7ab8(0x2ab))),_0x3d49df[_0x4c7ab8(0x1ad)]();},_0x3d49df={'memberID':'','close$':_0x3b1f37[_0x1538b8(0x423)](),'error$':_0x592ec6['asObservable'](),'open$':_0xe53dc6[_0x1538b8(0x484)],'message$':_0x38fe7a[_0x1538b8(0x423)](),'send':_0x32225f=>{const _0x479a89=_0x1538b8;if(_0x32225f[_0x479a89(0x1a1)]===I[_0x479a89(0x32f)]){if(_0x32225f[_0x479a89(0x208)][_0x479a89(0x1af)]===_0x34e231[_0x479a89(0x44d)]){this['_submitChangeset'](_0x3d49df,_0x32225f[_0x479a89(0x208)])['catch'](_0x574256=>{const _0x16ec64=_0x479a89;this[_0x16ec64(0x27b)][_0x16ec64(0x23c)](_0x574256),_0x1fbba3();});return;}if(_0x32225f[_0x479a89(0x208)][_0x479a89(0x1af)]===_0x34e231[_0x479a89(0x2c4)]){const _0x5f8592=_0x32225f[_0x479a89(0x208)];this['_fetchMissChangesets'](_0x5f8592)['then'](_0xf3c5bf=>{const _0x53c845=_0x479a89;_0x38fe7a['next']({'cmd':I['RECV'],'code':Ut['OK'],'routeKey':_0x5f8592[_0x53c845(0x208)][_0x53c845(0x3ca)],'routeType':'','data':{'eventID':_0x34e231[_0x53c845(0x374)],'data':{'changesets':_0xf3c5bf}}});})[_0x479a89(0x466)](_0x58ebf7=>{const _0x3f87d1=_0x479a89;this[_0x3f87d1(0x27b)][_0x3f87d1(0x23c)](_0x58ebf7),_0x1fbba3();});return;}}_0xe53dc6['send'](In(_0x32225f));},'close':()=>{const _0x4f008c=_0x1538b8;_0xe53dc6[_0x4f008c(0x1ad)](),_0x58dfba[_0x4f008c(0x25d)]();}};return _0x3d49df;}async[_0x3e92f2(0x24b)](_0x4e84e0,_0x2e13cf){const _0x3d9089=_0x3e92f2;var _0x974fd9;const {unitType:_0x29ea58,unitID:_0x790483,changeset:_0x271ebf}=_0x2e13cf[_0x3d9089(0x208)],_0x2a54f8={'unitID':_0x790483,'memberID':_0x4e84e0['memberID'],'type':_0x29ea58,'changeset':_0x24de41(_0x271ebf)},_0x4ff43e=Tn((_0x974fd9=this[_0x3d9089(0x292)][_0x3d9089(0x361)](_n))!=null?_0x974fd9:un,_0x29ea58,_0x790483);try{await this[_0x3d9089(0x1a5)][_0x3d9089(0x2f9)](_0x4ff43e,{'body':_0x2a54f8});}catch(_0x27574f){throw this['_logService'][_0x3d9089(0x23c)](_0x3d9089(0x256),_0x3d9089(0x467)),_0x27574f;}}async[_0x3e92f2(0x4c4)](_0x255e74){const _0x35b204=_0x3e92f2,{unitID:_0x5860ed,from:_0x394b4b,to:_0x582892,unitType:_0x5da5e4}=_0x255e74[_0x35b204(0x208)];return(await this[_0x35b204(0x21f)][_0x35b204(0x39e)]({'metadata':void 0x0},{'unitID':_0x5860ed,'type':_0x5da5e4,'from':_0x394b4b,'to':_0x582892}))[_0x35b204(0x4c2)];}};gt=bn([Ee(0x0,_0xbbf94a(_0x50f6b0)),Ee(0x1,_0xbbf94a(_0x412516)),Ee(0x2,_0x523c70),Ee(0x3,_0x46d807),Ee(0x4,_0x4e0f91)],gt);class Ds{constructor(){const _0x12e1bf=_0x3e92f2;l(this,'_commentUpdate$',new _0x440796()),l(this,_0x12e1bf(0x1d2),this[_0x12e1bf(0x437)]['asObservable']());}[_0x3e92f2(0x3b5)](_0x36242c){const _0x29b878=_0x3e92f2;this[_0x29b878(0x437)][_0x29b878(0x3ea)](_0x36242c);}}var Rn=Object[_0x3e92f2(0x340)],On=Object[_0x3e92f2(0x2d2)],ws=(_0x595b55,_0x1f0c7a,_0x513d1c,_0x443ba5)=>{const _0xb2a3a3=_0x3e92f2;for(var _0x4c6cf3=_0x443ba5>0x1?void 0x0:_0x443ba5?On(_0x1f0c7a,_0x513d1c):_0x1f0c7a,_0x3c39d3=_0x595b55[_0xb2a3a3(0x1a4)]-0x1,_0x220a8f;_0x3c39d3>=0x0;_0x3c39d3--)(_0x220a8f=_0x595b55[_0x3c39d3])&&(_0x4c6cf3=(_0x443ba5?_0x220a8f(_0x1f0c7a,_0x513d1c,_0x4c6cf3):_0x220a8f(_0x4c6cf3))||_0x4c6cf3);return _0x443ba5&&_0x4c6cf3&&Rn(_0x1f0c7a,_0x513d1c,_0x4c6cf3),_0x4c6cf3;},M=(_0x846bac,_0x18e51b)=>(_0x3132bf,_0x227dba)=>_0x18e51b(_0x3132bf,_0x227dba,_0x846bac),de=(_0x34868a=>(_0x34868a[_0x34868a['IDLE']=0x0]=_0x3e92f2(0x46b),_0x34868a[_0x34868a[_0x3e92f2(0x2b5)]=0x1]='JOINING',_0x34868a[_0x34868a[_0x3e92f2(0x461)]=0x2]=_0x3e92f2(0x461),_0x34868a[_0x34868a[_0x3e92f2(0x405)]=0x3]=_0x3e92f2(0x405),_0x34868a))(de||{});let St=class extends _0x4c153b{constructor(_0xc9c2d3,_0x58923f,_0x44dff6,_0x49e8ad,_0x5d415a,_0x74d53a,_0x432edf,_0x5a8b47,_0x49a198){const _0x38faf5=_0x3e92f2;super(),l(this,_0x38faf5(0x377),new _0x4d79d8(0x0)),l(this,_0x38faf5(0x397),this[_0x38faf5(0x377)][_0x38faf5(0x423)]()),l(this,_0x38faf5(0x3a0),new _0x440796()),l(this,_0x38faf5(0x2c7),this[_0x38faf5(0x3a0)]['asObservable']()),l(this,_0x38faf5(0x32e)),l(this,_0x38faf5(0x28e)),l(this,_0x38faf5(0x1c9)),(this[_0x38faf5(0x2b1)]=_0xc9c2d3,this[_0x38faf5(0x27b)]=_0x44dff6,this[_0x38faf5(0x1ee)]=_0x49e8ad,this[_0x38faf5(0x458)]=_0x5d415a,this['_configService']=_0x74d53a,this[_0x38faf5(0x4b3)]=_0x432edf,this['_memberService']=_0x5a8b47,this[_0x38faf5(0x307)]=_0x49a198,_0x58923f[_0x38faf5(0x407)](_0x8dafd9(this[_0x38faf5(0x4b2)]))[_0x38faf5(0x4be)](_0x4c5572=>{const _0x3d9b42=_0x38faf5;var _0x30cf6d;typeof _0x4c5572>'u'||(this['_socket']=_0x4c5572,_0x4c5572?(this[_0x3d9b42(0x48d)](_0x4c5572),this[_0x3d9b42(0x28e)]=this[_0x3d9b42(0x32e)]['message$']['subscribe'](_0xe6326d=>{const _0x1f246f=_0x3d9b42;_0xe6326d[_0x1f246f(0x3d8)]===this[_0x1f246f(0x2b1)]&&this[_0x1f246f(0x26b)](_0xe6326d);})):(this['_sessionStatus$'][_0x3d9b42(0x3ea)](0x2),(_0x30cf6d=this[_0x3d9b42(0x28e)])==null||_0x30cf6d[_0x3d9b42(0x3b0)](),this[_0x3d9b42(0x28e)]=null));}),this[_0x38faf5(0x280)](this[_0x38faf5(0x1ee)]['registerOnClose'](()=>{const _0x39c975=_0x38faf5;var _0x2945cf;(_0x2945cf=this['_socket'])==null||_0x2945cf[_0x39c975(0x229)]({'cmd':I[_0x39c975(0x393)],'data':{'roomID':this[_0x39c975(0x2b1)]}});})));}get['sessionStatus'](){const _0x5319d0=_0x3e92f2;return this['_sessionStatus$'][_0x5319d0(0x43c)]();}['getMemberID'](){const _0x2cb276=_0x3e92f2;var _0x47c00e,_0x341c6b;return(_0x341c6b=(_0x47c00e=this[_0x2cb276(0x32e)])==null?void 0x0:_0x47c00e[_0x2cb276(0x35a)])!=null?_0x341c6b:null;}[_0x3e92f2(0x25d)](){const _0x484f36=_0x3e92f2;super[_0x484f36(0x25d)](),this['dispose$'][_0x484f36(0x3ea)](),this['dispose$'][_0x484f36(0x2e4)]();}[_0x3e92f2(0x26b)](_0x5727ff){const _0x3122aa=_0x3e92f2;_0x5727ff[_0x3122aa(0x1a1)]===I['JOIN']?this[_0x3122aa(0x1e9)](_0x5727ff):_0x5727ff[_0x3122aa(0x1a1)]===I[_0x3122aa(0x3fd)]&&this[_0x3122aa(0x4c9)](_0x5727ff);}[_0x3e92f2(0x48d)](_0xcab2f8){const _0x42772e=_0x3e92f2;this['_sessionStatus$']['next'](0x1),_0xcab2f8[_0x42772e(0x229)]({'cmd':I[_0x42772e(0x481)],'routeKey':this[_0x42772e(0x2b1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x42772e(0x2b1)]}]}});}[_0x3e92f2(0x1e9)](_0x4dd490){const _0x133835=_0x3e92f2;var _0xa69ad7;if(_0x4dd490[_0x133835(0x193)]===Ut[_0x133835(0x3a4)]){this[_0x133835(0x458)]['show']({'type':_0x4f4f06[_0x133835(0x1b1)],'content':this[_0x133835(0x4b3)]['t'](_0x133835(0x40a))}),this[_0x133835(0x377)][_0x133835(0x3ea)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x26bc88=(_0xa69ad7=_0x4dd490['data'][_0x133835(0x298)][this[_0x133835(0x2b1)]])==null?void 0x0:_0xa69ad7['members'];_0x26bc88&&_0x26bc88[_0x133835(0x1b8)](_0x4884c2=>this[_0x133835(0x29e)][_0x133835(0x244)](this[_0x133835(0x2b1)],_0x4884c2));}[_0x3e92f2(0x4c9)](_0xf2f175){const _0x3f90be=_0x3e92f2;try{const _0x31ef53=_0xf2f175['data'];switch(_0x31ef53[_0x3f90be(0x1af)]){case _0x34e231[_0x3f90be(0x3e0)]:this[_0x3f90be(0x36a)](_0x31ef53),this[_0x3f90be(0x3a0)][_0x3f90be(0x3ea)](_0x31ef53);break;case _0x34e231[_0x3f90be(0x462)]:this[_0x3f90be(0x2aa)](_0x31ef53),this[_0x3f90be(0x3a0)][_0x3f90be(0x3ea)](_0x31ef53);break;case _0x34e231[_0x3f90be(0x45b)]:this[_0x3f90be(0x413)](),this[_0x3f90be(0x3a0)][_0x3f90be(0x3ea)](_0x31ef53);break;case _0x34e231[_0x3f90be(0x4c3)]:this[_0x3f90be(0x27b)]['error'](_0x3f90be(0x376)+JSON['stringify'](_0x31ef53)),this['_event$'][_0x3f90be(0x3ea)](_0x31ef53);break;case _0x34e231['COMMENT_UPDATE']:this[_0x3f90be(0x307)][_0x3f90be(0x3b5)](_0x31ef53['data']),this['_event$']['next'](_0x31ef53);break;default:this[_0x3f90be(0x3a0)][_0x3f90be(0x3ea)](_0x31ef53);}}catch(_0x53545e){this[_0x3f90be(0x27b)][_0x3f90be(0x23c)](_0x53545e,_0xf2f175);}}[_0x3e92f2(0x36a)](_0x4921db){const _0xb271cf=_0x3e92f2;this[_0xb271cf(0x29e)]['updateMember'](this[_0xb271cf(0x2b1)],_0x4921db[_0xb271cf(0x208)]);}[_0x3e92f2(0x2aa)](_0x238911){const _0x5b141a=_0x3e92f2;this['_memberService']['removeMember'](this[_0x5b141a(0x2b1)],_0x238911['data'][_0x5b141a(0x35a)]);}async[_0x3e92f2(0x229)](_0x2f0ace,_0x28256f){const _0x188f40=_0x3e92f2;if(this[_0x188f40(0x411)]!==0x3||!this[_0x188f40(0x32e)])throw new Error(_0x188f40(0x19c));try{_0x2f0ace[_0x188f40(0x1af)]===_0x34e231[_0x188f40(0x1ce)]&&this['_scheduleCollaborationTimeoutTimer'](),this[_0x188f40(0x32e)][_0x188f40(0x229)]({'cmd':I[_0x188f40(0x32f)],'routeKey':_0x28256f,'routeType':'','data':_0x2f0ace});}catch(_0x5b5204){this['_logService'][_0x188f40(0x23c)](_0x5b5204);}}['_scheduleCollaborationTimeoutTimer'](){const _0x70971=_0x3e92f2;var _0x32876a;this['_collaborationTimeoutTimer']=window[_0x70971(0x33f)](()=>{const _0x220c24=_0x70971;this[_0x220c24(0x1c9)]=null,this['_messageService'][_0x220c24(0x3a7)]({'type':_0x4f4f06[_0x220c24(0x19f)],'content':this[_0x220c24(0x4b3)]['t'](_0x220c24(0x366))});},(_0x32876a=this[_0x70971(0x292)][_0x70971(0x361)](bs))!=null?_0x32876a:Ts);}[_0x3e92f2(0x413)](){const _0x1f706f=_0x3e92f2;this[_0x1f706f(0x1c9)]&&(clearTimeout(this[_0x1f706f(0x1c9)]),this[_0x1f706f(0x1c9)]=null);}};St=ws([M(0x2,_0x46d807),M(0x3,_0x17e6fa),M(0x4,_0x5cfd22),M(0x5,_0x523c70),M(0x6,_0xbbf94a(_0x6789ab)),M(0x7,_0xbbf94a(ne)),M(0x8,_0xbbf94a(Ds))],St);let ge=class extends _0x1f0611{constructor(_0xbf4629,_0x502c91,_0x568772,_0x3b0556,_0x3a345d,_0x4a8cd6){const _0x28311e=_0x3e92f2;super(),l(this,_0x28311e(0x1d7),new _0x4d79d8(void 0x0)),l(this,_0x28311e(0x38e),new Map()),l(this,_0x28311e(0x489),new _0x4d79d8(0x0)),l(this,_0x28311e(0x4a1),this[_0x28311e(0x489)][_0x28311e(0x423)]()),l(this,_0x28311e(0x26e),!0x1),l(this,_0x28311e(0x37a)),l(this,_0x28311e(0x23e)),l(this,_0x28311e(0x3e7)),l(this,_0x28311e(0x337),0x0),(this[_0x28311e(0x443)]=_0xbf4629,this[_0x28311e(0x4b3)]=_0x502c91,this[_0x28311e(0x458)]=_0x568772,this['_logService']=_0x3b0556,this[_0x28311e(0x292)]=_0x3a345d,this[_0x28311e(0x2af)]=_0x4a8cd6);}get['_socket'](){const _0x465501=_0x3e92f2;return this[_0x465501(0x1d7)][_0x465501(0x43c)]();}[_0x3e92f2(0x25d)](){const _0x22e1ac=_0x3e92f2;super['dispose'](),this[_0x22e1ac(0x38e)][_0x22e1ac(0x1b8)](_0x1f71a9=>_0x1f71a9[_0x22e1ac(0x25d)]()),this['_sessions'][_0x22e1ac(0x494)](),this[_0x22e1ac(0x489)][_0x22e1ac(0x2e4)]();}async[_0x3e92f2(0x3cc)](_0x1836d3){const _0x1fcfac=_0x3e92f2;if(this[_0x1fcfac(0x38e)]['has'](_0x1836d3))return this[_0x1fcfac(0x38e)][_0x1fcfac(0x2d5)](_0x1836d3);this['_tryEnsureSocket']();const _0x1deac6=this[_0x1fcfac(0x443)][_0x1fcfac(0x1df)](St,_0x1836d3,this[_0x1fcfac(0x1d7)]['asObservable']());return this[_0x1fcfac(0x38e)]['set'](_0x1836d3,_0x1deac6),_0x1deac6;}['_createSocket'](){const _0x27d385=_0x3e92f2;var _0x3ddcf0;const _0x2a2650=(_0x3ddcf0=this['_configService']['getConfig'](en))!=null?_0x3ddcf0:tn;return this[_0x27d385(0x2af)][_0x27d385(0x37d)](_0x2a2650);}[_0x3e92f2(0x1f9)](){const _0x413b4c=_0x3e92f2;try{const _0x2146c5=this[_0x413b4c(0x2e6)]();if(_0x2146c5){const _0x3baee6=_0x2146c5[_0x413b4c(0x229)];_0x2146c5[_0x413b4c(0x229)]=_0x57454d=>(this[_0x413b4c(0x19a)](),_0x3baee6[_0x413b4c(0x3ee)](_0x2146c5,[_0x57454d])),_0x2146c5['message$'][_0x413b4c(0x4be)](_0x43d684=>this[_0x413b4c(0x21a)](_0x2146c5,_0x43d684)),_0x2146c5[_0x413b4c(0x288)][_0x413b4c(0x407)](_0x401b81(0x1))[_0x413b4c(0x4be)](_0x50957c=>this[_0x413b4c(0x27b)][_0x413b4c(0x23c)](_0x413b4c(0x216),_0x50957c)),_0x2146c5[_0x413b4c(0x484)][_0x413b4c(0x407)](_0x401b81(0x1))[_0x413b4c(0x4be)](()=>{const _0x1df202=_0x413b4c;this[_0x1df202(0x456)](_0x2146c5);}),_0x2146c5['close$'][_0x413b4c(0x407)](_0x401b81(0x1))['subscribe'](_0x595bb0=>{const _0x42ec78=_0x413b4c;this[_0x42ec78(0x27b)][_0x42ec78(0x2f1)]('[CollaborationSessionService]',_0x42ec78(0x2ac),_0x595bb0),this[_0x42ec78(0x492)]();});}}catch(_0x1874e7){this[_0x413b4c(0x27b)]['error'](_0x1874e7),this['_onConnectionFailed']();}}[_0x3e92f2(0x456)](_0x6170c7){const _0x5f14af=_0x3e92f2;this[_0x5f14af(0x27b)]['debug'](_0x5f14af(0x48c),_0x5f14af(0x395)),_0x6170c7['send']({'cmd':I['HELLO']}),this[_0x5f14af(0x19a)]();}['_onConnectionFailed'](){const _0x2087ed=_0x3e92f2;var _0x4ef2e3;this[_0x2087ed(0x489)][_0x2087ed(0x3ea)](0x2),this[_0x2087ed(0x1d7)][_0x2087ed(0x3ea)](null),this[_0x2087ed(0x1bd)](),this[_0x2087ed(0x299)](),this[_0x2087ed(0x26e)]=!0x1,this[_0x2087ed(0x337)]<((_0x4ef2e3=this[_0x2087ed(0x292)]['getConfig'](an))!=null?_0x4ef2e3:cn)?(this[_0x2087ed(0x20c)](this[_0x2087ed(0x337)]),this[_0x2087ed(0x337)]+=0x1):this['_messageService']['show']({'type':_0x4f4f06[_0x2087ed(0x19f)],'content':this['_localeService']['t'](_0x2087ed(0x452))});}['_scheduleReconnection'](_0x246718){const _0x32186f=_0x3e92f2;var _0x5b6158;const _0x15b349=((_0x5b6158=this[_0x32186f(0x292)]['getConfig'](rn))!=null?_0x5b6158:on)*0x2**_0x246718;this[_0x32186f(0x458)][_0x32186f(0x3a7)]({'type':_0x4f4f06['Warning'],'content':this[_0x32186f(0x4b3)]['t'](_0x32186f(0x347))}),this[_0x32186f(0x3e7)]=setTimeout(()=>{const _0x97279b=_0x32186f;this[_0x97279b(0x1f9)](),clearTimeout(this[_0x97279b(0x3e7)]),this[_0x97279b(0x3e7)]=null;},_0x15b349);}[_0x3e92f2(0x19a)](){const _0x127f4d=_0x3e92f2;var _0x467ece;this[_0x127f4d(0x299)](),this[_0x127f4d(0x37a)]=setTimeout(()=>this[_0x127f4d(0x202)](),(_0x467ece=this[_0x127f4d(0x292)][_0x127f4d(0x361)](sn))!=null?_0x467ece:nn);}[_0x3e92f2(0x202)](){const _0x5198e8=_0x3e92f2;this['_socket'][_0x5198e8(0x229)]({'cmd':I[_0x5198e8(0x29a)]}),this[_0x5198e8(0x2e0)]();}[_0x3e92f2(0x2e0)](){const _0x396fac=_0x3e92f2;var _0x1ddd4b;this[_0x396fac(0x23e)]=setTimeout(()=>this[_0x396fac(0x492)](),(_0x1ddd4b=this[_0x396fac(0x292)]['getConfig'](bs))!=null?_0x1ddd4b:Ts);}[_0x3e92f2(0x21a)](_0x5672a7,_0x69408c){const _0x13d424=_0x3e92f2,{cmd:_0x471453}=_0x69408c;_0x471453===I[_0x13d424(0x425)]&&!this[_0x13d424(0x26e)]&&(_0x5672a7[_0x13d424(0x35a)]=_0x69408c['data']['memberID'],this[_0x13d424(0x1d7)][_0x13d424(0x3ea)](_0x5672a7),this[_0x13d424(0x489)][_0x13d424(0x3ea)](0x3),this[_0x13d424(0x26e)]=!0x0),_0x471453===I['HEARTBEAT']&&this[_0x13d424(0x1bd)](),this['_rescheduleHeartbeatEvent']();}['_clearHeartbeatTimer'](){const _0x3d9a59=_0x3e92f2;this[_0x3d9a59(0x37a)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x3d9a59(0x37a)]=null);}[_0x3e92f2(0x1bd)](){const _0x11320a=_0x3e92f2;this[_0x11320a(0x23e)]!=null&&(clearTimeout(this[_0x11320a(0x23e)]),this[_0x11320a(0x23e)]=null);}};ge=ws([M(0x0,_0xbbf94a(_0xa8f435)),M(0x1,_0xbbf94a(_0x6789ab)),M(0x2,_0x5cfd22),M(0x3,_0x46d807),M(0x4,_0x523c70),M(0x5,Os)],ge);var Dn=Object[_0x3e92f2(0x340)],wn=Object['getOwnPropertyDescriptor'],Pn=(_0x141400,_0x3bcbc9,_0x4b3474,_0x3d56b3)=>{const _0x12127b=_0x3e92f2;for(var _0xe80e94=_0x3d56b3>0x1?void 0x0:_0x3d56b3?wn(_0x3bcbc9,_0x4b3474):_0x3bcbc9,_0x3ab0a5=_0x141400[_0x12127b(0x1a4)]-0x1,_0x4cbefa;_0x3ab0a5>=0x0;_0x3ab0a5--)(_0x4cbefa=_0x141400[_0x3ab0a5])&&(_0xe80e94=(_0x3d56b3?_0x4cbefa(_0x3bcbc9,_0x4b3474,_0xe80e94):_0x4cbefa(_0xe80e94))||_0xe80e94);return _0x3d56b3&&_0xe80e94&&Dn(_0x3bcbc9,_0x4b3474,_0xe80e94),_0xe80e94;},Ce=(_0x404057,_0x8e900f)=>(_0x3b7cfe,_0x292d63)=>_0x8e900f(_0x3b7cfe,_0x292d63,_0x404057);let D=class extends _0x1f0611{constructor(_0x35bca6,_0x45d856,_0x7623b5,_0x6d86bf,_0x16f46b){const _0x32512a=_0x3e92f2;super(),l(this,'_cachedData',new Map()),l(this,'_saveTaskMap',new Map()),l(this,_0x32512a(0x1d3),!0x1),(this['_configService']=_0x35bca6,this['_localStorageService']=_0x45d856,this[_0x32512a(0x1ee)]=_0x7623b5,this[_0x32512a(0x4b3)]=_0x6d86bf,this[_0x32512a(0x49e)]=_0x16f46b,this[_0x32512a(0x453)]());}[_0x3e92f2(0x2b6)](){this['_disabled']=!0x0;}[_0x3e92f2(0x2cc)](){const _0x25da38=_0x3e92f2;this[_0x25da38(0x1d3)]=!0x1;}[_0x3e92f2(0x25d)](){const _0x2570d5=_0x3e92f2;this[_0x2570d5(0x47d)]()[_0x2570d5(0x31d)](()=>super['dispose']());}async['loadOfflineData'](_0x2a5284){const _0x4440b2=_0x3e92f2;return this['_disabled']?null:this[_0x4440b2(0x43b)][_0x4440b2(0x346)](Xt(_0x2a5284));}async['saveOfflineData'](_0x4ddec4,_0x315a8a){return!!this['_localStorageService']['setItem'](_0x4ddec4,_0x315a8a);}[_0x3e92f2(0x271)](_0x288a44,_0x5961c1,_0xc0f548,_0x26d631){const _0x50202a=_0x3e92f2,_0x4b8854=this['_revisionService']['getCurrentRevForDocument'](_0x288a44);this['_cachedData'][_0x50202a(0x2bc)](_0x288a44,{'unitID':_0x288a44,'type':_0x5961c1,'awaitingChangeset':_0xc0f548,'mutations':_0x26d631,'rev':_0x4b8854}),this[_0x50202a(0x4bb)][_0x50202a(0x31c)](_0x288a44)||this[_0x50202a(0x3a5)](_0x288a44);}[_0x3e92f2(0x3a5)](_0x1fc3f0){const _0x373a6a=_0x3e92f2,_0x2845b6=this['_getSaveTimeout']();_0x2845b6===0x0?this[_0x373a6a(0x349)](_0x1fc3f0):this[_0x373a6a(0x4bb)][_0x373a6a(0x2bc)](_0x1fc3f0,setTimeout(()=>this[_0x373a6a(0x349)](_0x1fc3f0),_0x2845b6));}[_0x3e92f2(0x291)](){const _0x11fcab=_0x3e92f2;var _0x4ddd58;return(_0x4ddd58=this[_0x11fcab(0x292)]['getConfig'](hn))!=null?_0x4ddd58:ln;}[_0x3e92f2(0x349)](_0x3c2962){const _0x3b76f5=_0x3e92f2,_0x1d7eea=this[_0x3b76f5(0x4bb)][_0x3b76f5(0x2d5)](_0x3c2962);return _0x1d7eea!==void 0x0&&window[_0x3b76f5(0x4b7)](_0x1d7eea),this[_0x3b76f5(0x43b)]['setItem'](Xt(_0x3c2962),this[_0x3b76f5(0x419)][_0x3b76f5(0x2d5)](_0x3c2962))[_0x3b76f5(0x31d)](()=>this[_0x3b76f5(0x4bb)]['delete'](_0x3c2962));}async[_0x3e92f2(0x47d)](){const _0x5d7c73=_0x3e92f2,_0x5ed523=[];this[_0x5d7c73(0x4bb)]['forEach']((_0x40e310,_0x4e0a22)=>{const _0x613d6=_0x5d7c73;window[_0x613d6(0x4b7)](_0x40e310),_0x5ed523[_0x613d6(0x2cb)](this[_0x613d6(0x349)](_0x4e0a22)[_0x613d6(0x31d)](()=>{const _0x1ddf52=_0x613d6;this[_0x1ddf52(0x4bb)][_0x1ddf52(0x36f)](_0x4e0a22);}));}),await Promise[_0x5d7c73(0x1a3)](_0x5ed523);}[_0x3e92f2(0x453)](){const _0x3baeea=_0x3e92f2;this[_0x3baeea(0x280)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x49c119=_0x3baeea;if(this['_saveTaskMap'][_0x49c119(0x457)])return this[_0x49c119(0x4b3)]['t']('collaboration-client.offline-data-not-saved');}));}};D=Pn([Ce(0x0,_0x523c70),Ce(0x1,_0x1dfb89),Ce(0x2,_0x17e6fa),Ce(0x3,_0xbbf94a(_0x6789ab)),Ce(0x4,_0xbbf94a(_0xee930))],D);function Xt(_0x4eda5b){return'unit-cache-'+_0x4eda5b;}const et=_0x3195f2(_0x3e92f2(0x3f8));var Ps=(_0x34a3a5=>(_0x34a3a5[_0x34a3a5['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x3e92f2(0x2dd),_0x34a3a5[_0x34a3a5[_0x3e92f2(0x480)]=0x1]='OTHER_CLIENTS_EDITING',_0x34a3a5))(Ps||{});const Jt=0x7530,zt=_0x3e92f2(0x1da);class Nn extends _0x1f0611{constructor(){const _0x582eac=_0x3e92f2;super(),l(this,_0x582eac(0x329),_0x545ca3['generateRandomId']()),l(this,_0x582eac(0x243),new Set()),l(this,_0x582eac(0x3db),new Map()),l(this,_0x582eac(0x416),null),l(this,_0x582eac(0x27d),new Map()),l(this,_0x582eac(0x3e4),new Map()),this[_0x582eac(0x35e)]();}[_0x3e92f2(0x25d)](){const _0x77f347=_0x3e92f2;super[_0x77f347(0x25d)](),this[_0x77f347(0x27d)][_0x77f347(0x1b8)]((_0x55eef1,_0xa1babe)=>this[_0x77f347(0x296)](_0xa1babe)),this[_0x77f347(0x416)]&&window[_0x77f347(0x1dd)](this['_heartbeatTimer']);}[_0x3e92f2(0x4c1)](_0x3a7f0e){const _0x204cc0=_0x3e92f2;return this[_0x204cc0(0x3c7)](_0x3a7f0e)['pipe'](_0x569a4b());}[_0x3e92f2(0x345)](_0x4da67e){const _0x174927=_0x3e92f2;this['_selfUnitIDs'][_0x174927(0x457)]===0x0&&this[_0x174927(0x32b)](),this['_selfUnitIDs'][_0x174927(0x35d)](_0x4da67e),this[_0x174927(0x1f4)]({'type':0x0,'memberID':this[_0x174927(0x329)],'unitIDs':[_0x4da67e],'isForwarded':!0x1});}[_0x3e92f2(0x46f)](_0x49daf0){const _0x5dfe38=_0x3e92f2;this[_0x5dfe38(0x243)][_0x5dfe38(0x36f)](_0x49daf0),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x5dfe38(0x1dd)](this[_0x5dfe38(0x416)]);}['_init'](){const _0x13ddcf=_0x3e92f2;this[_0x13ddcf(0x280)](_0x38ac23(_0x236f67(window,_0x13ddcf(0x2f2))['subscribe'](_0x2e3ddc=>{const _0x500456=_0x13ddcf;if(_0x2e3ddc['key']!==zt||!_0x2e3ddc[_0x500456(0x1c5)])return;const _0x1d5579=JSON[_0x500456(0x47f)](_0x2e3ddc[_0x500456(0x1c5)]);this[_0x500456(0x3c9)](_0x1d5579);}))),window[_0x13ddcf(0x33b)](_0x13ddcf(0x3d5),()=>this['_send']({'type':0x1,'memberID':this[_0x13ddcf(0x329)],'unitIDs':Array[_0x13ddcf(0x473)](this[_0x13ddcf(0x243)])}));}[_0x3e92f2(0x3c9)](_0x3ce087){const _0x3d7b7e=_0x3e92f2;switch(_0x3ce087[_0x3d7b7e(0x342)]){case 0x0:this[_0x3d7b7e(0x465)](_0x3ce087);break;case 0x1:this[_0x3d7b7e(0x45c)](_0x3ce087);break;case 0x2:this['_handleHeartbeatEvent'](_0x3ce087);break;}}[_0x3e92f2(0x465)](_0x545c28){const _0x2931ad=_0x3e92f2,{unitIDs:_0x1cb0af,memberID:_0xa711d9,isForwarded:_0x471a99}=_0x545c28;_0x1cb0af[_0x2931ad(0x1b8)](_0x26362d=>{const _0x365406=_0x2931ad;if(!_0x471a99&&this[_0x365406(0x3db)][_0x365406(0x31c)](_0x26362d)&&this[_0x365406(0x3c7)](_0x26362d)[_0x365406(0x3ea)](0x1),!this[_0x365406(0x3db)][_0x365406(0x31c)](_0x26362d)||!this[_0x365406(0x3db)][_0x365406(0x2d5)](_0x26362d)[_0x365406(0x31c)](_0xa711d9)){const _0x574245=this['_unitOnClients'][_0x365406(0x2d5)](_0x26362d)||new Set();_0x574245[_0x365406(0x35d)](_0xa711d9),this[_0x365406(0x3db)]['set'](_0x26362d,_0x574245),this['_scheduleClearOtherTimer'](_0xa711d9);}}),_0x471a99||this[_0x2931ad(0x1f4)]({'type':0x0,'memberID':this[_0x2931ad(0x329)],'unitIDs':[...this[_0x2931ad(0x243)]],'isForwarded':!0x0});}[_0x3e92f2(0x378)](_0x1a0259){const _0x410734=_0x3e92f2;this[_0x410734(0x296)](_0x1a0259);const _0x4c77dd=window[_0x410734(0x33f)](()=>{const _0x1cd227=_0x410734;this[_0x1cd227(0x3db)][_0x1cd227(0x1b8)](_0x54de1b=>{const _0x3f559a=_0x1cd227;_0x54de1b[_0x3f559a(0x36f)](_0x1a0259);});},Jt*0x2);this[_0x410734(0x27d)][_0x410734(0x2bc)](_0x1a0259,_0x4c77dd);}['_removeClearOtherTimer'](_0x32fa92){const _0x39ee11=_0x3e92f2;if(this[_0x39ee11(0x27d)]['has'](_0x32fa92)){const _0x33d0df=this['_clearOtherTimers']['get'](_0x32fa92);_0x33d0df&&window[_0x39ee11(0x4b7)](_0x33d0df),this[_0x39ee11(0x27d)][_0x39ee11(0x2bc)](_0x32fa92,null);}}[_0x3e92f2(0x45c)](_0x5908e4){const _0x5d5f04=_0x3e92f2,{memberID:_0x5c0ffd,unitIDs:_0x27e875}=_0x5908e4;_0x27e875[_0x5d5f04(0x1b8)](_0x43df0d=>{const _0x48ad30=_0x5d5f04;var _0x3febe5;const _0x3fc444=this[_0x48ad30(0x3db)][_0x48ad30(0x2d5)](_0x43df0d);_0x3fc444&&(_0x3fc444[_0x48ad30(0x36f)](_0x5c0ffd),(_0x3febe5=this[_0x48ad30(0x3c7)](_0x43df0d))==null||_0x3febe5[_0x48ad30(0x3ea)](_0x3fc444[_0x48ad30(0x457)]===0x0?0x0:0x1));}),this[_0x5d5f04(0x296)](_0x5c0ffd);}[_0x3e92f2(0x354)](_0x1e2564){const _0x1ed4b8=_0x3e92f2;this['_scheduleClearOtherTimer'](_0x1e2564[_0x1ed4b8(0x35a)]);}['_send'](_0x23da12){const _0x587ac7=_0x3e92f2;localStorage[_0x587ac7(0x3fc)](zt,JSON['stringify'](_0x23da12));}['_scheduleHeartbeat'](){const _0x4bf90d=_0x3e92f2;this['_heartbeatTimer']=window[_0x4bf90d(0x3bc)](()=>{const _0x41e45c=_0x4bf90d;this[_0x41e45c(0x1f4)]({'type':0x2,'memberID':this['_id']});},Jt);}[_0x3e92f2(0x3c7)](_0x4a2c15){const _0x13c52f=_0x3e92f2;return this[_0x13c52f(0x3e4)][_0x13c52f(0x31c)](_0x4a2c15)||this[_0x13c52f(0x3e4)][_0x13c52f(0x2bc)](_0x4a2c15,new _0x4d79d8(0x0)),this[_0x13c52f(0x3e4)][_0x13c52f(0x2d5)](_0x4a2c15);}}var Mn=Object['defineProperty'],An=Object[_0x3e92f2(0x2d2)],Un=(_0x4dd9cf,_0x35a244,_0x1f49f2,_0xcbdf11)=>{for(var _0x1bd486=_0xcbdf11>0x1?void 0x0:_0xcbdf11?An(_0x35a244,_0x1f49f2):_0x35a244,_0x20aca1=_0x4dd9cf['length']-0x1,_0x5e9538;_0x20aca1>=0x0;_0x20aca1--)(_0x5e9538=_0x4dd9cf[_0x20aca1])&&(_0x1bd486=(_0xcbdf11?_0x5e9538(_0x35a244,_0x1f49f2,_0x1bd486):_0x5e9538(_0x1bd486))||_0x1bd486);return _0xcbdf11&&_0x1bd486&&Mn(_0x35a244,_0x1f49f2,_0x1bd486),_0x1bd486;},qt=(_0x1d759e,_0x3a211a)=>(_0x142557,_0x3c972d)=>_0x3a211a(_0x142557,_0x3c972d,_0x1d759e);let Xe=class{constructor(_0x154e36,_0x17687c){const _0x346fa1=_0x3e92f2;this['_injector']=_0x154e36,this[_0x346fa1(0x22e)]=_0x17687c;}[_0x3e92f2(0x1f0)](_0x258664){const _0x979c18=_0x3e92f2;this[_0x979c18(0x468)](_0x258664),this[_0x979c18(0x246)](_0x258664);}['transformRemoteChangeset'](_0x88371d){const _0x1c3261=_0x3e92f2,_0x14f879=this[_0x1c3261(0x443)][_0x1c3261(0x2d5)](_0x3a8219),{redoCache:_0x44aaf0}=_0x14f879[_0x1c3261(0x24e)]();if(_0x44aaf0[_0x1c3261(0x1a4)]===0x0)return _0x88371d;let _0x1970e3=_0x545ca3[_0x1c3261(0x265)](_0x88371d[_0x1c3261(0x1d5)][0x0]);for(let _0x3cf133=0x0;_0x3cf133<_0x44aaf0['length'];_0x3cf133++){const _0x3b6fc6={'id':'doc.mutation.rich-text-editing','params':{..._0x44aaf0[_0x3cf133]}},_0x17a786=this['_transformService'][_0x1c3261(0x433)](_0x1970e3,_0x3b6fc6,!0x1);if(_0x3d6701(_0x17a786))throw _0x17a786['error'];_0x1970e3=_0x17a786[_0x1c3261(0x391)];}return{..._0x545ca3[_0x1c3261(0x265)](_0x88371d),'mutations':[_0x1970e3]};}['_transformUndoRedoStack'](_0x4c36b9){const _0x5e0cae=_0x3e92f2,_0x29e733=this['_injector'][_0x5e0cae(0x2d5)](_0x3a8219),{undoCache:_0x366abc,redoCache:_0x3b8f2d}=_0x29e733[_0x5e0cae(0x24e)]();if(_0x366abc[_0x5e0cae(0x1a4)]===0x0||_0x3b8f2d[_0x5e0cae(0x1a4)]===0x0)return;const _0x428305=[],_0x59f8c3=[];let _0x3b9826=_0x545ca3[_0x5e0cae(0x265)](_0x4c36b9[_0x5e0cae(0x1d5)][0x0]),_0x3f9255=_0x545ca3['deepClone'](_0x4c36b9[_0x5e0cae(0x1d5)][0x0]);for(let _0xf89428=_0x366abc[_0x5e0cae(0x1a4)]-0x1;_0xf89428>=0x0;_0xf89428--){const _0x22ae74={'id':'doc.mutation.rich-text-editing','params':{..._0x366abc[_0xf89428]}},_0x38e4da={'id':_0x5e0cae(0x215),'params':{..._0x3b8f2d[_0xf89428]}},_0xe8f069=this[_0x5e0cae(0x22e)][_0x5e0cae(0x433)](_0x3b9826,_0x22ae74,!0x1),_0x11ecc2=this[_0x5e0cae(0x22e)][_0x5e0cae(0x433)](_0x3f9255,_0x38e4da,!0x1);if(_0x3d6701(_0xe8f069))throw _0xe8f069[_0x5e0cae(0x23c)];if(_0x3d6701(_0x11ecc2))throw _0x11ecc2[_0x5e0cae(0x23c)];_0x428305[_0x5e0cae(0x213)](_0xe8f069[_0x5e0cae(0x2fb)][_0x5e0cae(0x394)]),_0x59f8c3[_0x5e0cae(0x213)](_0x11ecc2[_0x5e0cae(0x2fb)]['params']),_0x3b9826=_0xe8f069[_0x5e0cae(0x391)],_0x3f9255=_0x11ecc2[_0x5e0cae(0x391)];}_0x29e733[_0x5e0cae(0x210)]({'undoCache':_0x428305,'redoCache':_0x59f8c3});}[_0x3e92f2(0x246)](_0xd9ad92){const _0x3bcc54=_0x3e92f2,_0x2026f5=this['_injector'][_0x3bcc54(0x2d5)](_0x3a8219),_0x297b74=_0x2026f5['getActiveRange']();if(_0x297b74==null)return;const _0x55185b=[{'id':_0x3bcc54(0x215),'params':{'unitId':_0xd9ad92[_0x3bcc54(0x3ca)],'actions':null,'textRanges':[_0x297b74]}}],_0xc71137=this[_0x3bcc54(0x22e)][_0x3bcc54(0x242)](_0xd9ad92,_0x55185b);if(!_0x496a31(_0xc71137))throw _0xc71137[_0x3bcc54(0x23c)];const _0x3c28f1=_0xc71137[_0x3bcc54(0x2fb)][0x0][_0x3bcc54(0x394)]['textRanges'];Array[_0x3bcc54(0x48f)](_0x3c28f1)&&_0x3c28f1['length']&&_0x2026f5['setActiveRange'](_0x3c28f1[0x0]);}};Xe=Un([qt(0x0,_0xbbf94a(_0xa8f435)),qt(0x1,_0x1b279b)],Xe);var yn=Object[_0x3e92f2(0x340)],Ln=Object[_0x3e92f2(0x2d2)],$n=(_0x2644f5,_0xb77df6,_0x2b6c02,_0x483750)=>{const _0x50d5ee=_0x3e92f2;for(var _0x10b837=_0x483750>0x1?void 0x0:_0x483750?Ln(_0xb77df6,_0x2b6c02):_0xb77df6,_0x5276d9=_0x2644f5[_0x50d5ee(0x1a4)]-0x1,_0x5be296;_0x5276d9>=0x0;_0x5276d9--)(_0x5be296=_0x2644f5[_0x5276d9])&&(_0x10b837=(_0x483750?_0x5be296(_0xb77df6,_0x2b6c02,_0x10b837):_0x5be296(_0x10b837))||_0x10b837);return _0x483750&&_0x10b837&&yn(_0xb77df6,_0x2b6c02,_0x10b837),_0x10b837;},Zt=(_0x1470b7,_0x452e2d)=>(_0xfbc625,_0x3440ce)=>_0x452e2d(_0xfbc625,_0x3440ce,_0x1470b7);let Je=class{constructor(_0x20275d,_0x5623f3){const _0x2b5df0=_0x3e92f2;this[_0x2b5df0(0x443)]=_0x20275d,this[_0x2b5df0(0x22e)]=_0x5623f3;}[_0x3e92f2(0x2a3)](_0x4442e3){const _0x46e67e=_0x3e92f2;var _0x45bdca;const _0x11281f=this[_0x46e67e(0x443)][_0x46e67e(0x2d5)](_0x3781de),_0x39e8f2=(_0x45bdca=_0x11281f[_0x46e67e(0x344)]())!=null?_0x45bdca:[],_0x2d86c9=_0x39e8f2==null?void 0x0:_0x39e8f2[_0x46e67e(0x1be)](_0x167840);if(_0x2d86c9[_0x46e67e(0x1a4)]===0x0)return;const _0x3984eb=[{'id':_0x46e67e(0x215),'params':{'unitId':_0x4442e3[_0x46e67e(0x3ca)],'actions':null,'textRanges':_0x2d86c9}}],_0x4725ee=this[_0x46e67e(0x22e)][_0x46e67e(0x242)](_0x4442e3,_0x3984eb);if(!_0x496a31(_0x4725ee))throw _0x4725ee[_0x46e67e(0x23c)];const _0x1d560b=_0x4725ee[_0x46e67e(0x2fb)][0x0][_0x46e67e(0x394)][_0x46e67e(0x371)];Array[_0x46e67e(0x48f)](_0x1d560b)&&_0x1d560b[_0x46e67e(0x1a4)]&&_0x11281f[_0x46e67e(0x39f)](_0x1d560b,!0x1);}};Je=$n([Zt(0x0,_0xbbf94a(_0xa8f435)),Zt(0x1,_0x1b279b)],Je);function Ns(_0x4ae7bc){const _0x21ead4=_0x3e92f2;let _0x1e4efd='';for(const _0x2a00a9 of _0x4ae7bc){const {startOffset:_0x4a7b43,endOffset:_0x244ce8,isActive:_0x3f6109}=_0x2a00a9;_0x1e4efd[_0x21ead4(0x1a4)]&&(_0x1e4efd+=','),_0x1e4efd+=_0x4a7b43+':'+_0x244ce8+':'+(_0x3f6109?'1':'0');}return _0x1e4efd;}function jn(_0x42d76c){const _0x5e4ff8=_0x3e92f2,_0x450840=_0x42d76c[_0x5e4ff8(0x4bd)](','),_0x191d37=[];for(const _0x3be88c of _0x450840){const [_0x569df4,_0x548082,_0x10d8a3]=_0x3be88c['split'](':');_0x191d37['push']({'startOffset':Number(_0x569df4),'endOffset':Number(_0x548082),'collapsed':_0x569df4===_0x548082,'isActive':_0x10d8a3==='1'});}return _0x191d37[_0x5e4ff8(0x2db)](_0x4a758e=>_0x4a758e[_0x5e4ff8(0x488)])||(_0x191d37[0x0]['isActive']=!0x0),_0x191d37;}class yt extends _0x4c153b{constructor(){const _0x6a0361=_0x3e92f2;super(...arguments),l(this,_0x6a0361(0x408),new _0x4d79d8(null)),l(this,'collabCursorState$',this[_0x6a0361(0x408)]['asObservable']());}[_0x3e92f2(0x448)](_0x156ced){const _0x31c0f9=_0x3e92f2,{unitID:_0x141ae0,memberID:_0x31f3ce,textRanges:_0x3bbe25}=_0x156ced,_0x599bb6=Ns(_0x3bbe25),_0x146e57={'unitID':_0x141ae0,'memberID':_0x31f3ce,'selection':_0x599bb6};this['_collabCursorState$'][_0x31c0f9(0x3ea)](_0x146e57);}}var Hn=Object[_0x3e92f2(0x340)],xn=Object['getOwnPropertyDescriptor'],Fn=(_0x2965b1,_0x479425,_0x3dace0,_0x442c50)=>{for(var _0xa2d940=_0x442c50>0x1?void 0x0:_0x442c50?xn(_0x479425,_0x3dace0):_0x479425,_0x1b70ef=_0x2965b1['length']-0x1,_0x59fd2e;_0x1b70ef>=0x0;_0x1b70ef--)(_0x59fd2e=_0x2965b1[_0x1b70ef])&&(_0xa2d940=(_0x442c50?_0x59fd2e(_0x479425,_0x3dace0,_0xa2d940):_0x59fd2e(_0xa2d940))||_0xa2d940);return _0x442c50&&_0xa2d940&&Hn(_0x479425,_0x3dace0,_0xa2d940),_0xa2d940;},Qt=(_0xfa5439,_0x832892)=>(_0xe74e5,_0x18eca2)=>_0x832892(_0xe74e5,_0x18eca2,_0xfa5439);function Vn(_0x3f265e){const _0x362471=_0x3e92f2,{unitID:_0x10b25e,mutations:_0x24b9eb}=_0x3f265e;return{'unitId':_0x10b25e,'subUnitId':_0x24b9eb[0x0][_0x362471(0x394)][_0x362471(0x31a)]};}let ze=class{constructor(_0x4f018a,_0x36859e){const _0x27f85b=_0x3e92f2;this[_0x27f85b(0x443)]=_0x4f018a,this[_0x27f85b(0x22e)]=_0x36859e;}['transformSelections'](_0x2ad37a){const _0x388fe3=_0x3e92f2;var _0x5c5f2f,_0x2f6375,_0x2005f6;const _0x5f5463=this[_0x388fe3(0x443)][_0x388fe3(0x2d5)](_0xebd730),{unitId:_0x1c9b05,subUnitId:_0x496575}=Vn(_0x2ad37a),_0x5dc8d6=_0x5f5463[_0x388fe3(0x4b9)](_0x1c9b05)[_0x388fe3(0x344)]();if(_0x5dc8d6['length']===0x0||!_0x1c9b05||!_0x496575)return;const _0x2b048a=[{'id':_0x594d48['id'],'params':{'unitId':_0x1c9b05,'subUnitId':_0x496575,'selections':_0x545ca3['deepClone'](_0x5dc8d6)}}],_0xe2a208=this[_0x388fe3(0x22e)]['transformMutationsWithChangeset'](_0x2ad37a,_0x2b048a);if(!_0x496a31(_0xe2a208))throw _0xe2a208[_0x388fe3(0x23c)];const _0x2361bf=(_0x2005f6=(_0x2f6375=(_0x5c5f2f=_0xe2a208[_0x388fe3(0x2fb)][0x0])==null?void 0x0:_0x5c5f2f[_0x388fe3(0x394)])==null?void 0x0:_0x2f6375[_0x388fe3(0x4c0)])!=null?_0x2005f6:_0x5dc8d6;Array['isArray'](_0x2361bf)&&_0x2361bf[_0x388fe3(0x1a4)]&&this[_0x388fe3(0x443)][_0x388fe3(0x2d5)](_0x109aa8)['executeCommand'](_0x594d48['id'],{'unitId':_0x1c9b05,'subUnitId':_0x496575,'selections':_0x2361bf});}};ze=Fn([Qt(0x0,_0xbbf94a(_0xa8f435)),Qt(0x1,_0x1b279b)],ze);const Bn=new Set([_0x37a75d['id']]);function kn(_0x2eb567,_0x16b179,_0x5b2567,_0x39c46b,_0x106e1a){const _0x523141=_0x3e92f2;var _0x41a8d4,_0x547d78,_0x33d53c,_0x13d018;const _0x447eb4=[];for(const _0x294c78 of _0x2eb567)if(Bn[_0x523141(0x31c)](_0x294c78['id'])){if(_0x447eb4['length']>0x0)break;_0x447eb4['push'](_0x294c78);break;}else _0x447eb4['push'](_0x294c78);const _0xf77aef=(_0x547d78=(_0x41a8d4=_0x106e1a[_0x523141(0x3df)]())==null?void 0x0:_0x41a8d4[_0x523141(0x485)])!=null?_0x547d78:_0x523141(0x36e),_0x1600df=(_0x13d018=(_0x33d53c=_0x106e1a['getCurrentUser']())==null?void 0x0:_0x33d53c[_0x523141(0x35a)])!=null?_0x13d018:_0x523141(0x36e);return{'changeset':{'unitID':_0x16b179,'type':_0x50ce5b(_0x5b2567[_0x523141(0x2b7)](_0x16b179)),'baseRev':_0x39c46b['getCurrentRevForDocument'](_0x16b179),'revision':0x0,'userID':_0xf77aef,'memberID':_0x1600df,'mutations':_0x447eb4},'pendingMutations':_0x2eb567['slice'](_0x447eb4[_0x523141(0x1a4)])};}function Wn(_0xa0fd41,_0x2e17b8,_0x4c7d7e,_0x68da28,_0x2ece65){const _0x324532=_0x3e92f2;var _0x4ed7f0,_0x30c98a,_0x22e14a,_0x4c216b;const _0x3bafe1=[_0xa0fd41[_0x324532(0x379)]((_0x3086e3,_0x1fea06)=>{const _0x2b2740=_0x324532;var _0x3a5077;const {id:_0x3844a3}=_0x3086e3,{id:_0x21aa81,type:_0x355683}=_0x1fea06,_0x49d111=(_0x3a5077=_0x3086e3[_0x2b2740(0x394)])!=null?_0x3a5077:{'actions':null},_0x139d60=_0x1fea06[_0x2b2740(0x394)];if(_0x3844a3&&_0x3844a3!==_0x21aa81)throw new Error(_0x2b2740(0x4ae)+_0x3844a3+_0x2b2740(0x430)+_0x21aa81+'.');return{..._0x3086e3,'id':_0x21aa81,'type':_0x355683,'params':{'unitId':_0x139d60[_0x2b2740(0x3ae)],'textRanges':_0x139d60[_0x2b2740(0x371)],'actions':_0x578d98[_0x2b2740(0x3c2)](_0x49d111[_0x2b2740(0x4b5)],_0x139d60[_0x2b2740(0x4b5)])}};},{})],_0x46fb84=(_0x30c98a=(_0x4ed7f0=_0x2ece65[_0x324532(0x3df)]())==null?void 0x0:_0x4ed7f0[_0x324532(0x485)])!=null?_0x30c98a:_0x324532(0x36e),_0x52e3b8=(_0x4c216b=(_0x22e14a=_0x2ece65[_0x324532(0x3df)]())==null?void 0x0:_0x22e14a['memberID'])!=null?_0x4c216b:_0x324532(0x36e);return{'changeset':{'unitID':_0x2e17b8,'type':_0x50ce5b(_0x4c7d7e['getUnitType'](_0x2e17b8)),'baseRev':_0x68da28[_0x324532(0x232)](_0x2e17b8),'revision':0x0,'userID':_0x46fb84,'memberID':_0x52e3b8,'mutations':_0x3bafe1},'pendingMutations':[]};}var Gn=Object['defineProperty'],Yn=Object['getOwnPropertyDescriptor'],oe=(_0xea223e,_0x379bae,_0x554b13,_0x321df7)=>{const _0x323bb9=_0x3e92f2;for(var _0x47b7ab=_0x321df7>0x1?void 0x0:_0x321df7?Yn(_0x379bae,_0x554b13):_0x379bae,_0x114aab=_0xea223e[_0x323bb9(0x1a4)]-0x1,_0x25098b;_0x114aab>=0x0;_0x114aab--)(_0x25098b=_0xea223e[_0x114aab])&&(_0x47b7ab=(_0x321df7?_0x25098b(_0x379bae,_0x554b13,_0x47b7ab):_0x25098b(_0x47b7ab))||_0x47b7ab);return _0x321df7&&_0x47b7ab&&Gn(_0x379bae,_0x554b13,_0x47b7ab),_0x47b7ab;},m=(_0x5db5a7,_0x3dc9f9)=>(_0x1397b1,_0x3c975a)=>_0x3dc9f9(_0x1397b1,_0x3c975a,_0x5db5a7),P=(_0x3e4720=>(_0x3e4720[_0x3e92f2(0x41b)]=_0x3e92f2(0x495),_0x3e4720[_0x3e92f2(0x3dd)]='synced',_0x3e4720[_0x3e92f2(0x475)]='pending',_0x3e4720[_0x3e92f2(0x441)]='awaiting',_0x3e4720[_0x3e92f2(0x2ce)]=_0x3e92f2(0x301),_0x3e4720[_0x3e92f2(0x455)]=_0x3e92f2(0x40b),_0x3e4720['CONFLICT']='conflict',_0x3e4720[_0x3e92f2(0x461)]='offline',_0x3e4720))(P||{});class ae{constructor(_0x4f848e,_0x3dcbc9,_0x2b6db,_0x54eb3a,_0x5510e6,_0x15dfb4,_0x2fd74,_0x29c52d,_0x473eaf){const _0xcf1d6a=_0x3e92f2;l(this,'_awaitingChangeset',null),l(this,_0xcf1d6a(0x439),[]),(this[_0xcf1d6a(0x3ca)]=_0x4f848e,this[_0xcf1d6a(0x342)]=_0x3dcbc9,this['_handler']=_0x5510e6,this[_0xcf1d6a(0x1f2)]=_0x15dfb4,this[_0xcf1d6a(0x305)]=_0x2fd74,this[_0xcf1d6a(0x49e)]=_0x29c52d,this['_localCacheService']=_0x473eaf,this['_awaitingChangeset']=_0x2b6db,this[_0xcf1d6a(0x439)]=_0x54eb3a);}['_checkMissing'](_0x59849b){const _0x434773=_0x3e92f2,_0x4a40e7=this[_0x434773(0x49e)][_0x434773(0x232)](this[_0x434773(0x3ca)]);return _0x59849b['revision']>_0x4a40e7+0x1?(this[_0x434773(0x30d)][_0x434773(0x4c7)]({'from':_0x4a40e7,'to':_0x59849b['revision']-0x1}),!0x0):!0x1;}[_0x3e92f2(0x3c5)](_0x30eff9){const _0x138b45=_0x3e92f2;this[_0x138b45(0x305)][_0x138b45(0x250)](this[_0x138b45(0x3ca)],_0x30eff9);}[_0x3e92f2(0x2f0)](_0x152514){const _0x1a01ac=_0x3e92f2;var _0x2fe784,_0x4ca171;(_0x4ca171=(_0x2fe784=this[_0x1a01ac(0x30d)])[_0x1a01ac(0x313)])==null||_0x4ca171[_0x1a01ac(0x49a)](_0x2fe784,_0x152514);}[_0x3e92f2(0x3a1)](_0x4549af){const _0xb5ea1a=_0x3e92f2;var _0x1d963d,_0x55ca4e;return(_0x55ca4e=(_0x1d963d=this[_0xb5ea1a(0x30d)])[_0xb5ea1a(0x41f)])==null?void 0x0:_0x55ca4e[_0xb5ea1a(0x49a)](_0x1d963d,_0x4549af);}['_transformRemoteChangesetByIMECache'](_0x1877eb){const _0x5a3071=_0x3e92f2;var _0x64eba,_0x42deed,_0x294cd3;return(_0x294cd3=(_0x42deed=(_0x64eba=this[_0x5a3071(0x30d)])[_0x5a3071(0x3dc)])==null?void 0x0:_0x42deed[_0x5a3071(0x49a)](_0x64eba,_0x1877eb))!=null?_0x294cd3:_0x1877eb;}[_0x3e92f2(0x203)](_0x4c6e90){const _0xafa549=_0x3e92f2;var _0x48bf57,_0x4e6342;if(this[_0xafa549(0x342)]===H[_0xafa549(0x2e1)]){const {unitID:_0x5117b6,mutations:_0x53e0f3,memberID:_0x203f05}=_0x4c6e90,_0x1eaf29=_0x53e0f3[0x0]['params'][_0xafa549(0x371)];Array[_0xafa549(0x48f)](_0x1eaf29)&&_0x1eaf29['length']>0x0&&((_0x4e6342=(_0x48bf57=this['_handler'])[_0xafa549(0x369)])==null||_0x4e6342[_0xafa549(0x49a)](_0x48bf57,{'unitID':_0x5117b6,'memberID':_0x203f05,'textRanges':_0x1eaf29}));}}[_0x3e92f2(0x434)](){const _0x2dacc4=_0x3e92f2;this['_localCacheService']['updateOfflineData'](this[_0x2dacc4(0x3ca)],this[_0x2dacc4(0x342)],this[_0x2dacc4(0x4ca)],this[_0x2dacc4(0x439)]);}[_0x3e92f2(0x1fe)](){const _0x382921=_0x3e92f2;return this['_revisionService']['getCurrentRevForDocument'](this[_0x382921(0x3ca)]);}[_0x3e92f2(0x498)](){const _0x25c7a7=_0x3e92f2;this[_0x25c7a7(0x49e)][_0x25c7a7(0x282)](this['unitID']);}[_0x3e92f2(0x223)](_0x49f579){const _0x29adb4=_0x3e92f2;var _0x459a2a;const _0x1aeb7d=this[_0x29adb4(0x290)](_0x49f579),_0x23cbd2=_0x32c463(_0x1aeb7d[_0x29adb4(0x1d5)],this[_0x29adb4(0x1f2)],{'fromCollab':!0x0});if(!_0x23cbd2['result'])throw _0x23cbd2[_0x29adb4(0x23c)]instanceof Error?_0x23cbd2['error']:new Error((_0x459a2a=_0x23cbd2[_0x29adb4(0x23c)])!=null?_0x459a2a:_0x29adb4(0x4ab));this[_0x29adb4(0x3a1)](_0x1aeb7d),this[_0x29adb4(0x3c5)](_0x49f579),this[_0x29adb4(0x2f0)](_0x1aeb7d),this['_syncEditingCollabCursor'](_0x1aeb7d),this[_0x29adb4(0x498)]();}}let Ne=class extends ae{constructor(_0x3de755,_0x506b5e,_0x1b53d3,_0x2c55f3,_0x1292d1,_0x11e3c7,_0x54045c,_0x51a5c9,_0xd1ba63){const _0x39ec6c=_0x3e92f2;super(_0x3de755,_0x506b5e,null,[],_0x1b53d3,_0x51a5c9,_0x54045c,_0x2c55f3,_0x1292d1),l(this,_0x39ec6c(0x306),'synced'),(this['_injector']=_0x11e3c7,this[_0x39ec6c(0x27b)]=_0xd1ba63);}[_0x3e92f2(0x336)](_0x5a90e6){const _0x25d88c=_0x3e92f2,_0xa4977f=this[_0x25d88c(0x443)][_0x25d88c(0x1df)](k,this['unitID'],this['type'],[_0x5a90e6],this[_0x25d88c(0x30d)]);return _0xa4977f[_0x25d88c(0x1b5)](),_0xa4977f['_updateLocalCache'](),_0xa4977f;}['onRemoteChangeset'](_0x47ed41){const _0x1d1d78=_0x3e92f2;if(this[_0x1d1d78(0x219)](_0x47ed41))return this['_injector'][_0x1d1d78(0x1df)](G,this['unitID'],this[_0x1d1d78(0x342)],null,[],null,[_0x47ed41],this[_0x1d1d78(0x30d)]);try{return this[_0x1d1d78(0x223)](_0x47ed41),this;}catch(_0xcf14fa){return this[_0x1d1d78(0x27b)][_0x1d1d78(0x23c)](_0x1d1d78(0x23b),_0xcf14fa),this;}}['onRemoteAck'](){const _0x15f537=_0x3e92f2;throw new Error(_0x15f537(0x404));}[_0x3e92f2(0x257)](){const _0x2ff9b8=_0x3e92f2;throw new Error(_0x2ff9b8(0x263));}['toggleOffline'](){const _0x12597d=_0x3e92f2;return this[_0x12597d(0x443)][_0x12597d(0x1df)](z,this['unitID'],this[_0x12597d(0x342)],null,[],this[_0x12597d(0x30d)]);}[_0x3e92f2(0x239)](){return this;}[_0x3e92f2(0x1c0)](){const _0x196721=_0x3e92f2;throw new Error(_0x196721(0x284));}};Ne=oe([m(0x3,_0xbbf94a(_0xee930)),m(0x4,_0xbbf94a(D)),m(0x5,_0xbbf94a(_0xa8f435)),m(0x6,_0x1e106e),m(0x7,_0x109aa8),m(0x8,_0x46d807)],Ne);let k=class extends ae{constructor(_0x3832ce,_0x3bf1a7,_0x32fedf,_0x3f82fc,_0x2ef567,_0xe083b9,_0x5e0f8d,_0x5f1403,_0xd9fd13,_0x445def,_0x25f224,_0x4af88a,_0x5e2542,_0x57d656){const _0x481e29=_0x3e92f2;super(_0x3832ce,_0x3bf1a7,null,_0x32fedf,_0x3f82fc,_0x445def,_0x57d656,_0xe083b9,_0x5e0f8d),l(this,_0x481e29(0x306),_0x481e29(0x1b3)),l(this,_0x481e29(0x1a8),null),l(this,'_sendingTimer',null),(this['_injector']=_0x2ef567,this[_0x481e29(0x29e)]=_0x5f1403,this[_0x481e29(0x27b)]=_0xd9fd13,this[_0x481e29(0x292)]=_0x25f224,this['_transformService']=_0x4af88a,this[_0x481e29(0x1ef)]=_0x5e2542);}[_0x3e92f2(0x336)](_0x316160){const _0x2dcd89=_0x3e92f2;return this[_0x2dcd89(0x439)][_0x2dcd89(0x2cb)](_0x316160),this['_updateLocalCache'](),this;}[_0x3e92f2(0x3b9)](_0x248f14){const _0x547550=_0x3e92f2;if(this[_0x547550(0x219)](_0x248f14))return this[_0x547550(0x3ad)](),this[_0x547550(0x443)][_0x547550(0x1df)](G,this[_0x547550(0x3ca)],this['type'],null,this['_pendingMutations'],null,[_0x248f14],this[_0x547550(0x30d)]);try{const _0x1a5f17=this[_0x547550(0x22e)][_0x547550(0x242)](_0x248f14,this['_pendingMutations']);if(_0x496a31(_0x1a5f17)){const {c1Prime:_0xc2c89d,m2Prime:_0x4ec05c}=_0x1a5f17;this['_executeRemoteChangeset'](_0xc2c89d);const _0x4c9bb4=this[_0x547550(0x443)][_0x547550(0x1df)](k,this[_0x547550(0x3ca)],this[_0x547550(0x342)],_0x4ec05c,this[_0x547550(0x30d)]);return this['_clearScheduledTask'](),_0x4c9bb4['_schedule'](this[_0x547550(0x1a8)]?Math['max'](0x0,new Date()[_0x547550(0x302)]()-this[_0x547550(0x1a8)]):this[_0x547550(0x303)]()),_0x4c9bb4;}throw _0x1a5f17[_0x547550(0x23c)];}catch(_0x3352f7){return this['_logService'][_0x547550(0x23c)](_0x3352f7),this[_0x547550(0x236)](!0x1);}}[_0x3e92f2(0x2b4)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3e92f2(0x257)](){const _0x15e154=_0x3e92f2;throw new Error(_0x15e154(0x418));}['toggleOffline'](){const _0x4e53b2=_0x3e92f2;return this[_0x4e53b2(0x3ad)](),this[_0x4e53b2(0x443)][_0x4e53b2(0x1df)](z,this['unitID'],this[_0x4e53b2(0x342)],null,this[_0x4e53b2(0x439)],this[_0x4e53b2(0x30d)]);}[_0x3e92f2(0x239)](){return this;}[_0x3e92f2(0x1b5)](_0x1774c6){const _0x41519d=_0x3e92f2;_0x1774c6=_0x1774c6!=null?_0x1774c6:this['_getSendChangesetTimeout'](),this['_scheduleTimestamp']=new Date()[_0x41519d(0x302)](),this[_0x41519d(0x42c)]=setTimeout(()=>{const _0x32596=_0x41519d;this[_0x32596(0x3ad)]();let _0x128fa4=null;switch(this[_0x32596(0x342)]){case H[_0x32596(0x241)]:{_0x128fa4=kn(this[_0x32596(0x439)],this[_0x32596(0x3ca)],this[_0x32596(0x1ef)],this[_0x32596(0x49e)],this['_memberService']);break;}case H[_0x32596(0x2e1)]:{_0x128fa4=Wn(this[_0x32596(0x439)],this[_0x32596(0x3ca)],this[_0x32596(0x1ef)],this['_revisionService'],this[_0x32596(0x29e)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x32596(0x342)]+_0x32596(0x2df));}const {changeset:_0x144ba4,pendingMutations:_0x4e976e}=_0x128fa4;this[_0x32596(0x30d)]['onSendChangeset'](_0x144ba4);const _0x3c10df=_0x4e976e[_0x32596(0x1a4)]?this[_0x32596(0x443)]['createInstance'](W,this[_0x32596(0x3ca)],this[_0x32596(0x342)],_0x144ba4,_0x4e976e,this[_0x32596(0x30d)]):this[_0x32596(0x443)][_0x32596(0x1df)](J,this[_0x32596(0x3ca)],this[_0x32596(0x342)],_0x144ba4,this[_0x32596(0x30d)]);_0x3c10df[_0x32596(0x434)](),this['_handler'][_0x32596(0x2c1)](this,_0x3c10df);},_0x1774c6);}[_0x3e92f2(0x303)](){const _0x18bc29=_0x3e92f2;var _0x1d5b78;return(_0x1d5b78=this[_0x18bc29(0x292)][_0x18bc29(0x361)](Zi))!=null?_0x1d5b78:Qi;}[_0x3e92f2(0x1c0)](){const _0x241022=_0x3e92f2;throw new Error(_0x241022(0x207));}[_0x3e92f2(0x3ad)](){const _0x59a75f=_0x3e92f2;this[_0x59a75f(0x42c)]!=null&&(clearTimeout(this[_0x59a75f(0x42c)]),this[_0x59a75f(0x42c)]=null);}[_0x3e92f2(0x236)](_0x1826f2){const _0x42fb3b=_0x3e92f2;return this[_0x42fb3b(0x3ad)](),this[_0x42fb3b(0x443)][_0x42fb3b(0x1df)](re,this[_0x42fb3b(0x3ca)],this['type'],null,this[_0x42fb3b(0x439)],this[_0x42fb3b(0x30d)],_0x1826f2);}};k=oe([m(0x4,_0xbbf94a(_0xa8f435)),m(0x5,_0xbbf94a(_0xee930)),m(0x6,_0xbbf94a(D)),m(0x7,_0xbbf94a(ne)),m(0x8,_0x46d807),m(0x9,_0x109aa8),m(0xa,_0x523c70),m(0xb,_0x1b279b),m(0xc,_0x5f1ae0),m(0xd,_0x1e106e)],k);let J=class extends ae{constructor(_0x197cd8,_0x4d993d,_0x7ef141,_0x128f97,_0x452bac,_0x5544ab,_0x52884d,_0x3a1f75,_0x4e6d53,_0x190c02,_0x1bbd6c){const _0x26af63=_0x3e92f2;super(_0x197cd8,_0x4d993d,_0x7ef141,[],_0x128f97,_0x3a1f75,_0x1bbd6c,_0x5544ab,_0x52884d),l(this,'status',_0x26af63(0x3b2)),(this[_0x26af63(0x443)]=_0x452bac,this[_0x26af63(0x27b)]=_0x4e6d53,this[_0x26af63(0x22e)]=_0x190c02);}[_0x3e92f2(0x336)](_0x5e476e){const _0x213c0d=_0x3e92f2,_0x29b4a1=this[_0x213c0d(0x443)]['createInstance'](W,this[_0x213c0d(0x3ca)],this[_0x213c0d(0x342)],this['_awaitingChangeset'],[_0x5e476e],this[_0x213c0d(0x30d)]);return _0x29b4a1[_0x213c0d(0x434)](),_0x29b4a1;}[_0x3e92f2(0x3b9)](_0x214b53){const _0x5dfd54=_0x3e92f2;if(this[_0x5dfd54(0x219)](_0x214b53))return this[_0x5dfd54(0x443)][_0x5dfd54(0x1df)](G,this['unitID'],this[_0x5dfd54(0x342)],this[_0x5dfd54(0x4ca)],[],null,[_0x214b53],this['_handler']);try{const _0x5d5761=this[_0x5dfd54(0x22e)][_0x5dfd54(0x2c3)]([_0x214b53],[this[_0x5dfd54(0x4ca)]],!0x1);if(_0x27db11(_0x5d5761)){const {c1Prime:_0x43c06b,c2Prime:_0x49b466}=_0x5d5761;this[_0x5dfd54(0x223)](_0x43c06b[0x0]),_0x49b466[0x0]['baseRev']=this['_getCurrentRevision']();const _0x50ef95=this['_injector'][_0x5dfd54(0x1df)](J,this['unitID'],this['type'],_0x49b466[0x0],this[_0x5dfd54(0x30d)]);return _0x50ef95[_0x5dfd54(0x434)](),_0x50ef95;}return this['_onConflict'](!0x1);}catch(_0x2b2cd3){return this[_0x5dfd54(0x27b)]['error'](_0x2b2cd3),this[_0x5dfd54(0x236)](!0x1);}}[_0x3e92f2(0x2b4)](_0x282726){const _0x1cb292=_0x3e92f2,_0x5607f9=this[_0x1cb292(0x49e)]['getCurrentRevForDocument'](this[_0x1cb292(0x3ca)]);if(_0x282726['revision']<_0x5607f9-0x1)return this;if(this[_0x1cb292(0x219)](_0x282726))return this['_injector'][_0x1cb292(0x1df)](G,this[_0x1cb292(0x3ca)],this[_0x1cb292(0x342)],null,[],this[_0x1cb292(0x4ca)],[],this[_0x1cb292(0x30d)]);this[_0x1cb292(0x498)]();const _0x44a95c=this[_0x1cb292(0x443)][_0x1cb292(0x1df)](Ne,this['unitID'],this[_0x1cb292(0x342)],this['_handler']);return _0x44a95c[_0x1cb292(0x434)](),_0x44a95c;}['onRemoteRej'](_0x10e19b){const _0x4adfc5=_0x3e92f2;return this[_0x4adfc5(0x236)](!!(_0x10e19b!=null&&_0x10e19b[_0x4adfc5(0x30e)]));}['toggleOffline'](){const _0x52253b=_0x3e92f2;return this[_0x52253b(0x443)]['createInstance'](z,this[_0x52253b(0x3ca)],this[_0x52253b(0x342)],this[_0x52253b(0x4ca)],[],this[_0x52253b(0x30d)]);}[_0x3e92f2(0x239)](){return this;}[_0x3e92f2(0x1c0)](){const _0x282f66=_0x3e92f2;this[_0x282f66(0x30d)][_0x282f66(0x43a)](this[_0x282f66(0x4ca)]);}[_0x3e92f2(0x236)](_0x41e0e8){const _0x21ecf3=_0x3e92f2;return this['_injector']['createInstance'](re,this[_0x21ecf3(0x3ca)],this[_0x21ecf3(0x342)],this[_0x21ecf3(0x4ca)],[],this[_0x21ecf3(0x30d)],_0x41e0e8);}};J=oe([m(0x4,_0xbbf94a(_0xa8f435)),m(0x5,_0xbbf94a(_0xee930)),m(0x6,_0xbbf94a(D)),m(0x7,_0x109aa8),m(0x8,_0x46d807),m(0x9,_0x1b279b),m(0xa,_0x1e106e)],J);let W=class extends ae{constructor(_0x106ec1,_0x554ddd,_0x4074f3,_0x2c439b,_0x3280d7,_0x2ca8bb,_0x3d0ea7,_0x4c7496,_0x25e5b6,_0x3fc7d8,_0x3faa52,_0x2c9da2){const _0x3f900c=_0x3e92f2;super(_0x106ec1,_0x554ddd,_0x4074f3,_0x2c439b,_0x3280d7,_0x25e5b6,_0x2c9da2,_0x3d0ea7,_0x4c7496),l(this,_0x3f900c(0x306),_0x3f900c(0x301)),(this['_injector']=_0x2ca8bb,this['_logService']=_0x3fc7d8,this[_0x3f900c(0x22e)]=_0x3faa52);}['appendMutation'](_0x1350cc){const _0x97b7d1=_0x3e92f2;return this['_pendingMutations'][_0x97b7d1(0x2cb)](_0x1350cc),this;}[_0x3e92f2(0x3b9)](_0x5b3746){const _0xf86c05=_0x3e92f2;if(this[_0xf86c05(0x219)](_0x5b3746))return this[_0xf86c05(0x443)][_0xf86c05(0x1df)](G,this[_0xf86c05(0x3ca)],this[_0xf86c05(0x342)],this['_awaitingChangeset'],this[_0xf86c05(0x439)],null,[_0x5b3746],this[_0xf86c05(0x30d)]);try{const _0x406c0b=this[_0xf86c05(0x22e)]['transformChangesets']([_0x5b3746],[this[_0xf86c05(0x4ca)]],!0x1);if(_0x27db11(_0x406c0b)){const {c1Prime:_0x4e940e,c2Prime:_0x1ba4dd}=_0x406c0b,_0x18a80b=this[_0xf86c05(0x22e)][_0xf86c05(0x242)](_0x4e940e[0x0],this[_0xf86c05(0x439)]);if(_0x496a31(_0x18a80b)){const {c1Prime:_0x1ddb0d,m2Prime:_0x270c0b}=_0x18a80b;return this[_0xf86c05(0x223)](_0x1ddb0d),_0x1ba4dd[0x0][_0xf86c05(0x206)]=this['_getCurrentRevision'](),this['_injector']['createInstance'](W,this[_0xf86c05(0x3ca)],this[_0xf86c05(0x342)],_0x1ba4dd[0x0],_0x270c0b,this['_handler']);}throw _0x18a80b['error'];}throw _0x406c0b[_0xf86c05(0x23c)];}catch(_0xc3d2c8){return this[_0xf86c05(0x27b)][_0xf86c05(0x23c)](_0xc3d2c8),this[_0xf86c05(0x236)](!0x1);}}[_0x3e92f2(0x2b4)](_0x39492b){const _0xa23e9e=_0x3e92f2;if(this[_0xa23e9e(0x219)](_0x39492b))return this['_injector'][_0xa23e9e(0x1df)](G,this[_0xa23e9e(0x3ca)],this['type'],null,this[_0xa23e9e(0x439)],this[_0xa23e9e(0x4ca)],[],this[_0xa23e9e(0x30d)]);this[_0xa23e9e(0x498)]();const _0x526918=this[_0xa23e9e(0x443)]['createInstance'](k,this[_0xa23e9e(0x3ca)],this[_0xa23e9e(0x342)],this[_0xa23e9e(0x439)],this[_0xa23e9e(0x30d)]);return _0x526918[_0xa23e9e(0x1b5)](),_0x526918[_0xa23e9e(0x434)](),_0x526918;}[_0x3e92f2(0x257)](_0x5cc35f){const _0x26e6a8=_0x3e92f2;return this[_0x26e6a8(0x236)](!!(_0x5cc35f!=null&&_0x5cc35f[_0x26e6a8(0x30e)]));}[_0x3e92f2(0x373)](){const _0x169c91=_0x3e92f2;return this['_injector'][_0x169c91(0x1df)](z,this[_0x169c91(0x3ca)],this[_0x169c91(0x342)],this[_0x169c91(0x4ca)],this[_0x169c91(0x439)],this[_0x169c91(0x30d)]);}[_0x3e92f2(0x239)](){return this;}[_0x3e92f2(0x1c0)](){const _0x553c7a=_0x3e92f2;this[_0x553c7a(0x30d)][_0x553c7a(0x43a)](this[_0x553c7a(0x4ca)]);}[_0x3e92f2(0x236)](_0x4a6e5f){const _0x1b3ddd=_0x3e92f2;return this['_injector'][_0x1b3ddd(0x1df)](re,this[_0x1b3ddd(0x3ca)],this[_0x1b3ddd(0x342)],null,this[_0x1b3ddd(0x439)],this['_handler'],_0x4a6e5f);}};W=oe([m(0x5,_0xbbf94a(_0xa8f435)),m(0x6,_0xbbf94a(_0xee930)),m(0x7,_0xbbf94a(D)),m(0x8,_0x109aa8),m(0x9,_0x46d807),m(0xa,_0x1b279b),m(0xb,_0x1e106e)],W);let re=class extends ae{constructor(_0x44aad0,_0x2acd27,_0x193589,_0x2426e7,_0x469cdc,_0x8a3eee=!0x1,_0x4d3a3e,_0x3d3f34,_0x4480a7,_0x2170f0,_0x181d9d,_0x45b084,_0x39ba83){const _0x55ad0c=_0x3e92f2;super(_0x44aad0,_0x2acd27,_0x193589,_0x2426e7,_0x469cdc,_0x3d3f34,_0x4480a7,_0x181d9d,_0x2170f0),l(this,'status',_0x55ad0c(0x29d)),(this['_isPermissionRej']=_0x8a3eee,this['_permissionService']=_0x4d3a3e,this[_0x55ad0c(0x4b3)]=_0x45b084,this[_0x55ad0c(0x2bb)]=_0x39ba83,this[_0x55ad0c(0x222)](),this[_0x55ad0c(0x274)](),this[_0x55ad0c(0x3f5)]());}[_0x3e92f2(0x336)](){return this;}['onRemoteChangeset'](){return this;}[_0x3e92f2(0x2b4)](){return this;}['onRemoteRej'](){return this;}[_0x3e92f2(0x373)](){return this;}['toggleOnline'](){return this;}[_0x3e92f2(0x1c0)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3e92f2(0x274)](){const _0xbb9a25=_0x3e92f2;this['_localCacheService'][_0xbb9a25(0x271)](this['unitID'],this['type'],null,[]);}[_0x3e92f2(0x222)](){const _0x33bab7=_0x3e92f2;this[_0x33bab7(0x4a5)]?this['_notificationService'][_0x33bab7(0x3a7)]({'title':this[_0x33bab7(0x4b3)]['t'](_0x33bab7(0x37e)),'content':this[_0x33bab7(0x4b3)]['t'](_0x33bab7(0x3ed)),'type':_0x33bab7(0x23c),'duration':0x0}):this['_notificationService']['show']({'title':this['_localeService']['t'](_0x33bab7(0x32c)),'content':this['_localeService']['t'](_0x33bab7(0x2a5)),'type':_0x33bab7(0x23c),'duration':0x0});}[_0x3e92f2(0x3f5)](){const _0x3ac4b2=_0x3e92f2;this[_0x3ac4b2(0x3b3)][_0x3ac4b2(0x4a9)](new _0xd881f1(this['unitID'])['id'],!0x1);}};re=oe([m(0x6,_0xbbf94a(_0x4acf08)),m(0x7,_0x109aa8),m(0x8,_0x1e106e),m(0x9,_0xbbf94a(D)),m(0xa,_0xbbf94a(_0xee930)),m(0xb,_0xbbf94a(_0x6789ab)),m(0xc,_0x47f284)],re);let z=class extends ae{constructor(_0x15f927,_0x261d6a,_0x3bbf11,_0x1319f3,_0x4f19be,_0x5ab455,_0x544eb8,_0x5f3001,_0x758ed9,_0x16e298){const _0x3d0bf2=_0x3e92f2;super(_0x15f927,_0x261d6a,_0x3bbf11,_0x1319f3,_0x4f19be,_0x758ed9,_0x16e298,_0x544eb8,_0x5f3001),l(this,'status',_0x3d0bf2(0x258)),this[_0x3d0bf2(0x443)]=_0x5ab455;}['appendMutation'](_0x2e155e){const _0x269c0d=_0x3e92f2;return this[_0x269c0d(0x439)][_0x269c0d(0x2cb)](_0x2e155e),this[_0x269c0d(0x434)](),this;}[_0x3e92f2(0x3b9)](_0x4bf65f){const _0x5deff5=_0x3e92f2;throw new Error(_0x5deff5(0x1aa));}['onRemoteAck'](){const _0x21ed46=_0x3e92f2;throw new Error(_0x21ed46(0x37f));}[_0x3e92f2(0x257)](){const _0x33093a=_0x3e92f2;throw new Error(_0x33093a(0x34c));}[_0x3e92f2(0x373)](){return this;}[_0x3e92f2(0x239)](){const _0x3e3a73=_0x3e92f2,{_injector:_0x84f40,_pendingMutations:_0x57bb15,_awaitingChangeset:_0x56bf21,unitID:_0x421340,_handler:_0x3767fe,type:_0x386369}=this,_0x679725=Ms(_0x84f40,_0x421340,_0x386369,_0x56bf21,_0x57bb15,_0x3767fe);return _0x679725 instanceof k?_0x679725[_0x3e3a73(0x1b5)]():(_0x679725 instanceof W||_0x679725 instanceof J)&&_0x679725[_0x3e3a73(0x1c0)](),_0x679725;}[_0x3e92f2(0x1c0)](){const _0x5750df=_0x3e92f2;throw new Error(_0x5750df(0x25e));}};z=oe([m(0x5,_0xbbf94a(_0xa8f435)),m(0x6,_0xbbf94a(_0xee930)),m(0x7,_0xbbf94a(D)),m(0x8,_0x109aa8),m(0x9,_0x1e106e)],z);let G=class extends ae{constructor(_0x11db1c,_0x22bdef,_0x4091bf,_0x433bdf,_0x56cd4a,_0xd3cb2f,_0x7dcea4,_0x177bc1,_0x4d3d36,_0x3d2129,_0x22cdf0,_0x11f9a9,_0x284d18,_0x3f2772){const _0x968ea2=_0x3e92f2;super(_0x11db1c,_0x22bdef,_0x4091bf,_0x433bdf,_0x7dcea4,_0x11f9a9,_0x284d18,_0x4d3d36,_0x3d2129),l(this,_0x968ea2(0x306),_0x968ea2(0x40b)),(this[_0x968ea2(0x1bc)]=_0x56cd4a,this[_0x968ea2(0x460)]=_0xd3cb2f,this['_injector']=_0x177bc1,this[_0x968ea2(0x27b)]=_0x22cdf0,this[_0x968ea2(0x22e)]=_0x3f2772);}['onMissedChangesetFetched'](_0x264d1d){const _0x430ef1=_0x3e92f2;try{const _0x35d1c9=[..._0x264d1d,...this[_0x430ef1(0x460)]],_0x4eaf44=[this[_0x430ef1(0x4ca)]||this[_0x430ef1(0x1bc)]][_0x430ef1(0x2c5)](_0xf98727=>!!_0xf98727);let _0x40496a,_0x26c99d;if(_0x4eaf44[_0x430ef1(0x1a4)]){const _0x5c3cf8=this[_0x430ef1(0x22e)]['transformChangesets'](_0x35d1c9,_0x4eaf44,!0x1);if(!_0x27db11(_0x5c3cf8))throw _0x5c3cf8['error'];_0x40496a=_0x5c3cf8[_0x430ef1(0x2e7)],_0x26c99d=_0x5c3cf8[_0x430ef1(0x2e9)];}else _0x40496a=_0x35d1c9,_0x26c99d=[];let _0x562ad3=this[_0x430ef1(0x439)];_0x40496a['forEach'](_0x402da1=>{const _0x20d0ea=_0x430ef1;let _0x4fa775;if(_0x562ad3[_0x20d0ea(0x1a4)]){const _0x31ca7f=this[_0x20d0ea(0x22e)]['transformMutationsWithChangeset'](_0x402da1,_0x562ad3);if(!_0x496a31(_0x31ca7f))throw _0x31ca7f[_0x20d0ea(0x23c)];_0x4fa775=_0x31ca7f[_0x20d0ea(0x2e7)],_0x562ad3=_0x31ca7f[_0x20d0ea(0x2fb)];}else _0x4fa775=_0x402da1;this['_executeRemoteChangeset'](_0x4fa775);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x430ef1(0x4ca)]&&_0x26c99d[_0x430ef1(0x1a4)]&&(_0x26c99d[0x0][_0x430ef1(0x206)]=this[_0x430ef1(0x1fe)]());let _0x59b480;if(this[_0x430ef1(0x4ca)]&&_0x562ad3['length']!==0x0)_0x59b480=this[_0x430ef1(0x443)]['createInstance'](W,this[_0x430ef1(0x3ca)],this[_0x430ef1(0x342)],_0x26c99d[0x0],_0x562ad3,this[_0x430ef1(0x30d)]);else{if(this['_awaitingChangeset']&&_0x562ad3[_0x430ef1(0x1a4)]===0x0)_0x26c99d[0x0][_0x430ef1(0x206)]=this[_0x430ef1(0x1fe)](),_0x59b480=this[_0x430ef1(0x443)][_0x430ef1(0x1df)](J,this['unitID'],this[_0x430ef1(0x342)],_0x26c99d[0x0],this[_0x430ef1(0x30d)]);else{if(_0x562ad3[_0x430ef1(0x1a4)]!==0x0){const _0x24503d=this['_injector']['createInstance'](k,this[_0x430ef1(0x3ca)],this[_0x430ef1(0x342)],_0x562ad3,this[_0x430ef1(0x30d)]);_0x24503d[_0x430ef1(0x1b5)](),_0x59b480=_0x24503d;}else _0x59b480=this[_0x430ef1(0x443)]['createInstance'](Ne,this[_0x430ef1(0x3ca)],this['type'],this['_handler']);}}return _0x59b480[_0x430ef1(0x434)](),_0x59b480;}catch(_0x1540bf){return this[_0x430ef1(0x27b)][_0x430ef1(0x23c)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x1540bf),this[_0x430ef1(0x443)][_0x430ef1(0x1df)](re,this['unitID'],this[_0x430ef1(0x342)],this[_0x430ef1(0x4ca)],this[_0x430ef1(0x439)],this[_0x430ef1(0x30d)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3e92f2(0x336)](_0x3ea335){const _0x49395f=_0x3e92f2;return this[_0x49395f(0x439)][_0x49395f(0x2cb)](_0x3ea335),this;}['onRemoteChangeset'](_0x2e87c8){const _0x5e9866=_0x3e92f2;return this[_0x5e9866(0x460)][_0x5e9866(0x2cb)](_0x2e87c8),this;}[_0x3e92f2(0x2b4)](_0x3b5aca){const _0x5d22b9=_0x3e92f2;if(this[_0x5d22b9(0x4ca)])return this['_acknowledgedAwaitingChangeset']=this[_0x5d22b9(0x4ca)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x3cca9a){const _0x132884=_0x3e92f2;return this[_0x132884(0x236)](!!(_0x3cca9a!=null&&_0x3cca9a['isPermissionRej']));}[_0x3e92f2(0x373)](){const _0x1961eb=_0x3e92f2;return this[_0x1961eb(0x443)]['createInstance'](z,this['unitID'],this[_0x1961eb(0x342)],this[_0x1961eb(0x4ca)],this[_0x1961eb(0x439)],this[_0x1961eb(0x30d)]);}[_0x3e92f2(0x239)](){return this;}[_0x3e92f2(0x236)](_0x40b58d){const _0x158d77=_0x3e92f2;return this[_0x158d77(0x443)]['createInstance'](re,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x158d77(0x439)],this[_0x158d77(0x30d)],_0x40b58d);}};G=oe([m(0x7,_0xbbf94a(_0xa8f435)),m(0x8,_0xbbf94a(_0xee930)),m(0x9,_0xbbf94a(D)),m(0xa,_0x46d807),m(0xb,_0x109aa8),m(0xc,_0x1e106e),m(0xd,_0x1b279b)],G);function Ms(_0x327022,_0x55f5a2,_0x2a0fc9,_0x25658b,_0x28df7b,_0x13fd6b){const _0x3f48ae=_0x3e92f2;return _0x25658b&&_0x28df7b[_0x3f48ae(0x1a4)]?_0x327022[_0x3f48ae(0x1df)](W,_0x55f5a2,_0x2a0fc9,_0x25658b,_0x28df7b,_0x13fd6b):_0x25658b?_0x327022[_0x3f48ae(0x1df)](J,_0x55f5a2,_0x2a0fc9,_0x25658b,_0x13fd6b):_0x28df7b[_0x3f48ae(0x1a4)]?_0x327022[_0x3f48ae(0x1df)](k,_0x55f5a2,_0x2a0fc9,_0x28df7b,_0x13fd6b):_0x327022['createInstance'](Ne,_0x55f5a2,_0x2a0fc9,_0x13fd6b);}var Kn=Object['defineProperty'],Xn=Object['getOwnPropertyDescriptor'],tt=(_0x45296e,_0x435450,_0x2abadd,_0x37ba71)=>{for(var _0x566698=_0x37ba71>0x1?void 0x0:_0x37ba71?Xn(_0x435450,_0x2abadd):_0x435450,_0x4f6c42=_0x45296e['length']-0x1,_0x555a8f;_0x4f6c42>=0x0;_0x4f6c42--)(_0x555a8f=_0x45296e[_0x4f6c42])&&(_0x566698=(_0x37ba71?_0x555a8f(_0x435450,_0x2abadd,_0x566698):_0x555a8f(_0x566698))||_0x566698);return _0x37ba71&&_0x566698&&Kn(_0x435450,_0x2abadd,_0x566698),_0x566698;},S=(_0x1ce859,_0x253080)=>(_0x575309,_0x2a7057)=>_0x253080(_0x575309,_0x2a7057,_0x1ce859);let De=class extends _0x4c153b{constructor(_0x4ddd23,_0x36f9f9,_0x2f9497){const _0x38f73a=_0x3e92f2;super(),l(this,_0x38f73a(0x412),new Map()),l(this,_0x38f73a(0x1a6),new _0x440796()),(this[_0x38f73a(0x443)]=_0x4ddd23,this[_0x38f73a(0x1f8)]=_0x36f9f9,this[_0x38f73a(0x1ef)]=_0x2f9497,this[_0x38f73a(0x35e)]());}[_0x3e92f2(0x25d)](){const _0x25b78e=_0x3e92f2;super['dispose'](),this[_0x25b78e(0x412)]['forEach'](_0x349f53=>_0x349f53[_0x25b78e(0x25d)]()),this[_0x25b78e(0x412)][_0x25b78e(0x494)]();}[_0x3e92f2(0x3d6)](_0x10c3fd){const _0x30d1f6=_0x3e92f2;var _0x22bf87;return(_0x22bf87=this[_0x30d1f6(0x412)][_0x30d1f6(0x2d5)](_0x10c3fd))!=null?_0x22bf87:null;}['getCollabEntity$'](_0x348c97){const _0x12da36=_0x3e92f2,_0x57139e=this['getCollabEntity'](_0x348c97);return _0x57139e?_0x53ae42(_0x57139e):this['_entityInit$']['pipe'](_0x5e91b7(_0x3bcb30=>_0x3bcb30[_0x12da36(0x3ca)]===_0x348c97));}['_init'](){const _0x2a105e=_0x3e92f2;this[_0x2a105e(0x1ef)][_0x2a105e(0x2c9)](_0x41ddf6['UNIVER_SHEET'])['pipe'](_0x254c9c(this['dispose$']),_0x392c2d(0x10))[_0x2a105e(0x4be)](async _0x12edd9=>{const _0x5e965e=_0x2a105e,_0x357d88=_0x12edd9['getUnitId'](),_0x2e416f=await this[_0x5e965e(0x2f8)](_0x357d88,H[_0x5e965e(0x241)]);this[_0x5e965e(0x412)][_0x5e965e(0x2bc)](_0x357d88,_0x2e416f);}),this[_0x2a105e(0x1ef)][_0x2a105e(0x2c9)](_0x41ddf6['UNIVER_DOC'])[_0x2a105e(0x407)](_0x254c9c(this[_0x2a105e(0x4b2)]),_0x392c2d(0x10))['pipe'](_0x5e91b7(_0x5dd757=>!_0x5dd757[_0x2a105e(0x47a)]()[_0x2a105e(0x3f9)]('__')))[_0x2a105e(0x4be)](async _0x353adf=>{const _0xc4ccc1=_0x2a105e,_0x4208c7=_0x353adf[_0xc4ccc1(0x47a)](),_0x125646=await this[_0xc4ccc1(0x2f8)](_0x4208c7,H['UNIVER_DOC']);this[_0xc4ccc1(0x412)][_0xc4ccc1(0x2bc)](_0x4208c7,_0x125646);}),_0x2b9a75(this['_univerInstanceService'][_0x2a105e(0x319)](_0x41ddf6['UNIVER_SHEET']),this['_univerInstanceService'][_0x2a105e(0x319)](_0x41ddf6['UNIVER_DOC']))['pipe'](_0x254c9c(this[_0x2a105e(0x4b2)]))[_0x2a105e(0x4be)](_0x26614b=>{const _0x59b534=_0x2a105e,_0x556c0c=_0x26614b[_0x59b534(0x47a)](),_0x4bce6c=this[_0x59b534(0x412)][_0x59b534(0x2d5)](_0x556c0c);_0x4bce6c&&(_0x4bce6c['dispose'](),this[_0x59b534(0x412)][_0x59b534(0x36f)](_0x556c0c));});}async[_0x3e92f2(0x2f8)](_0x4f410b,_0x5577a8){const _0x192eaa=_0x3e92f2,_0x115e89=await this[_0x192eaa(0x1f8)][_0x192eaa(0x3cc)](_0x4f410b),_0x1bc04a=this[_0x192eaa(0x443)][_0x192eaa(0x1df)](this[_0x192eaa(0x286)](_0x5577a8),_0x4f410b,_0x5577a8,_0x115e89);return await _0x1bc04a['init'](),this[_0x192eaa(0x1a6)][_0x192eaa(0x3ea)](_0x1bc04a),_0x1bc04a;}[_0x3e92f2(0x286)](_0x5af4f6){const _0x3177b1=_0x3e92f2;switch(_0x5af4f6){case H[_0x3177b1(0x2e1)]:return vt;case H[_0x3177b1(0x241)]:return pt;default:throw new Error(_0x3177b1(0x36d)+_0x5af4f6);}}};De=tt([_0x405ab3(_0x57f2ea[_0x3e92f2(0x1e8)],De),S(0x0,_0xbbf94a(_0xa8f435)),S(0x1,_0xbbf94a(ge)),S(0x2,_0x5f1ae0)],De);let qe=class extends _0x4c153b{constructor(_0x5f5df2,_0x31d1bc,_0x542d42,_0xbf5d58,_0x17c99c,_0x55613a,_0x320712,_0x3ce628,_0x25e79b,_0x22b273,_0x19b654,_0x322d2b,_0x7778e7){const _0x19723b=_0x3e92f2;super(),l(this,'_state$',new _0x4d79d8(null)),l(this,'state$',this[_0x19723b(0x196)][_0x19723b(0x423)]()),l(this,'_state'),l(this,_0x19723b(0x34e),!0x1),l(this,_0x19723b(0x4a1),this[_0x19723b(0x321)]['pipe'](_0x4ed52e(_0x971e6c=>_0x971e6c?_0x971e6c['status']:P[_0x19723b(0x461)]),_0x5d4314(0x1))),l(this,_0x19723b(0x2cf),!0x1),l(this,_0x19723b(0x3cf),[]),(this[_0x19723b(0x3ca)]=_0x5f5df2,this['_type']=_0x31d1bc,this[_0x19723b(0x1ab)]=_0x542d42,this[_0x19723b(0x443)]=_0xbf5d58,this[_0x19723b(0x2d9)]=_0x17c99c,this[_0x19723b(0x331)]=_0x55613a,this[_0x19723b(0x4b3)]=_0x320712,this[_0x19723b(0x49e)]=_0x3ce628,this[_0x19723b(0x27b)]=_0x25e79b,this[_0x19723b(0x1f2)]=_0x22b273,this[_0x19723b(0x458)]=_0x19b654,this[_0x19723b(0x3b3)]=_0x322d2b,this[_0x19723b(0x32a)]=_0x7778e7);}get['state'](){const _0x3e39af=_0x3e92f2;return this[_0x3e39af(0x3a6)];}async[_0x3e92f2(0x3bd)](){const _0x2d36c1=_0x3e92f2;if(this[_0x2d36c1(0x450)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x2d36c1(0x35e)]();}[_0x3e92f2(0x440)](){const _0x2e7d9a=_0x3e92f2;return this[_0x2e7d9a(0x34e)]=!0x0,_0x38ac23(()=>{const _0x4a0201=_0x2e7d9a;this[_0x4a0201(0x34e)]=!0x1,this[_0x4a0201(0x384)]();});}[_0x3e92f2(0x499)](_0x12dadd){const _0x3d3fd8=_0x3e92f2;this[_0x3d3fd8(0x3a6)]=_0x12dadd,this[_0x3d3fd8(0x196)][_0x3d3fd8(0x3ea)](_0x12dadd);}async[_0x3e92f2(0x35e)](){const _0x94f476=_0x3e92f2;var _0x45c5ba;return this[_0x94f476(0x499)](await this[_0x94f476(0x355)]()),this[_0x94f476(0x32a)]&&((_0x45c5ba=this[_0x94f476(0x32a)])==null||_0x45c5ba[_0x94f476(0x345)](this[_0x94f476(0x3ca)]),this[_0x94f476(0x280)](_0x38ac23(this[_0x94f476(0x32a)]['getUnitStatus$'](this[_0x94f476(0x3ca)])[_0x94f476(0x4be)](_0x3122f9=>{const _0x1170a4=_0x94f476;this[_0x1170a4(0x27b)][_0x1170a4(0x2f1)](_0x1170a4(0x20e),_0x1170a4(0x493),_0x3122f9),_0x3122f9===Ps['OTHER_CLIENTS_EDITING']?(this[_0x1170a4(0x458)][_0x1170a4(0x3a7)]({'content':this[_0x1170a4(0x4b3)]['t'](_0x1170a4(0x44a)),'type':_0x4f4f06[_0x1170a4(0x1b1)]}),this['_permissionService'][_0x1170a4(0x4a9)](new _0xd881f1(this[_0x1170a4(0x3ca)])['id'],!0x1)):this[_0x1170a4(0x3b3)]['updatePermissionPoint'](new _0xd881f1(this[_0x1170a4(0x3ca)])['id'],!0x0);})))),this[_0x94f476(0x280)](_0x38ac23(this[_0x94f476(0x1ab)][_0x94f476(0x397)][_0x94f476(0x4be)](_0x5d3756=>{const _0x1e3eff=_0x94f476;_0x5d3756===de[_0x1e3eff(0x405)]?this['_toggleOnline']():_0x5d3756===de[_0x1e3eff(0x461)]&&this[_0x1e3eff(0x276)]();}))),this['disposeWithMe'](_0x38ac23(this['_session'][_0x94f476(0x2c7)][_0x94f476(0x4be)](_0x117a48=>{const _0x54750c=_0x94f476;try{switch(_0x117a48[_0x54750c(0x1af)]){case _0x34e231['NEW_CHANGESETS']:{this[_0x54750c(0x293)](_0x3d7418(_0x117a48[_0x54750c(0x208)]));break;}case _0x34e231[_0x54750c(0x45b)]:{this[_0x54750c(0x316)](_0x117a48[_0x54750c(0x208)]);break;}case _0x34e231['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x34e231[_0x54750c(0x374)]:{this[_0x54750c(0x238)](_0x117a48[_0x54750c(0x208)]['changesets']['map'](_0x1d9dea=>_0x3d7418(_0x1d9dea)));break;}case _0x34e231[_0x54750c(0x1c1)]:this[_0x54750c(0x262)]({'isPermissionRej':!0x0});}}catch(_0x3fb3ba){throw console[_0x54750c(0x23c)](_0x54750c(0x3ac),_0x3fb3ba),_0x3fb3ba;}}))),this[_0x94f476(0x3a6)];}[_0x3e92f2(0x389)](){const _0x274db2=_0x3e92f2;this[_0x274db2(0x2cf)]=!0x1;}[_0x3e92f2(0x38a)](){const _0x351885=_0x3e92f2;if(this[_0x351885(0x2cf)])throw new Error(_0x351885(0x35c));this['_transitionLocked']=!0x0;}[_0x3e92f2(0x45a)](_0x1fe8e5){const _0x36b01d=_0x3e92f2;this[_0x36b01d(0x38a)](),this['_updateState'](this['_state'][_0x36b01d(0x336)](_0x1fe8e5)),this['_unlockTransition']();}[_0x3e92f2(0x293)](_0xf05d7b){const _0x5e16e6=_0x3e92f2;if(!(_0xf05d7b['revision']<=this[_0x5e16e6(0x49e)][_0x5e16e6(0x232)](this[_0x5e16e6(0x3ca)]))){if(this[_0x5e16e6(0x34e)]){this[_0x5e16e6(0x3cf)]['push'](_0xf05d7b);return;}this['_applyRemoteChangeset'](_0xf05d7b);}}[_0x3e92f2(0x384)](){const _0x44064b=_0x3e92f2;this['_remoteChangesetQueue'][_0x44064b(0x1b8)](_0x2744f7=>this[_0x44064b(0x4bf)](_0x2744f7)),this[_0x44064b(0x3cf)]=[];}[_0x3e92f2(0x4bf)](_0x1b4d4b){const _0x54e5f7=_0x3e92f2,_0x2cfc71=this[_0x54e5f7(0x331)][_0x54e5f7(0x310)]['fetchThroughInterceptors'](this[_0x54e5f7(0x331)][_0x54e5f7(0x310)][_0x54e5f7(0x424)]()[_0x54e5f7(0x4c5)])(_0x1b4d4b[_0x54e5f7(0x1d5)],null)||_0x1b4d4b[_0x54e5f7(0x1d5)],_0x3ad5c8={..._0x1b4d4b,'mutations':_0x2cfc71};this['_lockTransition'](),this[_0x54e5f7(0x499)](this['_state'][_0x54e5f7(0x3b9)](_0x3ad5c8)),this[_0x54e5f7(0x389)]();}[_0x3e92f2(0x316)](_0x77b148){const _0x215d0e=_0x3e92f2;this[_0x215d0e(0x38a)](),this['_updateState'](this[_0x215d0e(0x3a6)][_0x215d0e(0x2b4)](_0x77b148)),this['_unlockTransition']();}['_onRemoteRejected'](_0x324653){const _0x2a8407=_0x3e92f2;this[_0x2a8407(0x38a)](),this[_0x2a8407(0x499)](this[_0x2a8407(0x3a6)][_0x2a8407(0x257)](_0x324653)),this[_0x2a8407(0x389)]();}[_0x3e92f2(0x238)](_0x38a90e){const _0x40f9ef=_0x3e92f2;if(!(this[_0x40f9ef(0x3a6)]instanceof G))throw new TypeError(_0x40f9ef(0x1c2));const _0x36b426=_0x38a90e['map'](_0x236a3c=>{const _0x495d79=_0x40f9ef,_0x8c037=this['_compressMutationService'][_0x495d79(0x310)]['fetchThroughInterceptors'](this[_0x495d79(0x331)][_0x495d79(0x310)][_0x495d79(0x424)]()[_0x495d79(0x4c5)])(_0x236a3c[_0x495d79(0x1d5)],null)||_0x236a3c[_0x495d79(0x1d5)];return{..._0x236a3c,'mutations':_0x8c037};});this[_0x40f9ef(0x38a)](),this[_0x40f9ef(0x499)](this['_state']['onMissedChangesetFetched'](_0x36b426)),this[_0x40f9ef(0x389)]();}['_toggleOffline'](){const _0x75b8d4=_0x3e92f2;this[_0x75b8d4(0x38a)](),this[_0x75b8d4(0x499)](this['_state'][_0x75b8d4(0x373)]()),this[_0x75b8d4(0x389)]();}[_0x3e92f2(0x1c7)](){const _0x17d391=_0x3e92f2;this[_0x17d391(0x38a)](),this['_updateState'](this[_0x17d391(0x3a6)][_0x17d391(0x239)]()),this[_0x17d391(0x389)]();}async[_0x3e92f2(0x355)](){return new Promise(_0x29d0c8=>{const _0x5c4e99=_0x4256;this['_session'][_0x5c4e99(0x397)]['pipe'](_0x401b81(0x1))[_0x5c4e99(0x4be)](async _0x5cdd13=>{const _0x4cae45=_0x5c4e99;_0x29d0c8(await this[_0x4cae45(0x24c)](_0x5cdd13===de[_0x4cae45(0x405)]));});});}[_0x3e92f2(0x3e2)](){const _0x445470=this['unitID'];return{'onStateChange':(_0x1ce1b4,_0x81c162)=>{const _0x40468a=_0x4256;if(_0x1ce1b4!==this[_0x40468a(0x3a6)])throw new Error(_0x40468a(0x47e)+_0x1ce1b4[_0x40468a(0x306)]+_0x40468a(0x2b0)+_0x81c162['status']+'\x0aCurrent:\x20'+this['_state'][_0x40468a(0x306)]);this[_0x40468a(0x499)](_0x81c162);},'onSendChangeset':_0x466bbc=>{const _0x76e027=_0x4256,_0x194420={'eventID':_0x34e231[_0x76e027(0x44d)],'data':{'unitID':_0x466bbc[_0x76e027(0x3ca)],'unitType':this[_0x76e027(0x1a9)],'changeset':_0x466bbc,'memberID':this[_0x76e027(0x1ab)]['getMemberID']()}};this[_0x76e027(0x1ab)][_0x76e027(0x229)](_0x194420,this[_0x76e027(0x3ca)]);},'onMissingChangesets':({from:_0x4cc422,to:_0x5b20b3})=>{const _0x303e9f=_0x4256;this['_logService'][_0x303e9f(0x2f1)](_0x303e9f(0x20e),_0x303e9f(0x4b0)+_0x4cc422+_0x303e9f(0x28d)+_0x5b20b3);const _0x26e19b={'eventID':_0x34e231[_0x303e9f(0x2c4)],'data':{'unitID':_0x445470,'unitType':this[_0x303e9f(0x1a9)],'from':_0x4cc422,'to':_0x5b20b3}};this[_0x303e9f(0x1ab)][_0x303e9f(0x229)](_0x26e19b,this[_0x303e9f(0x3ca)]);}};}async[_0x3e92f2(0x24c)](_0x55129b){const _0x101aa0=_0x3e92f2;var _0x18d9c0,_0x20694c;const _0x327f17=await this[_0x101aa0(0x2d9)][_0x101aa0(0x4bc)](this[_0x101aa0(0x3ca)]),_0x288a2b=(_0x18d9c0=_0x327f17==null?void 0x0:_0x327f17['mutations'])!=null?_0x18d9c0:[],_0x3b7eb9=(_0x20694c=_0x327f17==null?void 0x0:_0x327f17[_0x101aa0(0x2b2)])!=null?_0x20694c:null,_0x378caa=this[_0x101aa0(0x3ca)];try{this[_0x101aa0(0x42d)](_0x3b7eb9,_0x288a2b);}catch(_0x3bee80){this[_0x101aa0(0x27b)][_0x101aa0(0x23c)](_0x3bee80);}const _0x144a6f=this[_0x101aa0(0x3e2)]();if(_0x55129b){const _0xa64035=Ms(this[_0x101aa0(0x443)],_0x378caa,this[_0x101aa0(0x1a9)],_0x3b7eb9,_0x288a2b,_0x144a6f);return _0xa64035 instanceof k?_0xa64035[_0x101aa0(0x1b5)]():(_0xa64035 instanceof W||_0xa64035 instanceof J)&&_0xa64035[_0x101aa0(0x1c0)](),_0xa64035;}return this[_0x101aa0(0x443)][_0x101aa0(0x1df)](z,_0x378caa,this[_0x101aa0(0x1a9)],_0x3b7eb9,_0x288a2b,_0x144a6f);}[_0x3e92f2(0x42d)](_0x2f5f93,_0x57752){const _0x370a88=_0x3e92f2;var _0x13966c,_0x3a54b3;const _0x265743=this[_0x370a88(0x331)]['interceptor'][_0x370a88(0x3aa)](this[_0x370a88(0x331)][_0x370a88(0x310)][_0x370a88(0x424)]()['COMPRESS_MUTATION_APPLY']);(_0x13966c=_0x265743((_0x2f5f93==null?void 0x0:_0x2f5f93[_0x370a88(0x1d5)])||[],null))==null||_0x13966c['forEach'](_0x5cf18e=>this['_commandService'][_0x370a88(0x230)](_0x5cf18e['id'],_0x5cf18e[_0x370a88(0x394)])),(_0x3a54b3=_0x265743(_0x57752||[],null))==null||_0x3a54b3['forEach'](_0x1d7c75=>this[_0x370a88(0x1f2)]['executeCommand'](_0x1d7c75['id'],_0x1d7c75['params']));}};qe=tt([S(0x3,_0xbbf94a(_0xa8f435)),S(0x4,_0xbbf94a(D)),S(0x5,_0xbbf94a(_0x59ec89)),S(0x6,_0xbbf94a(_0x6789ab)),S(0x7,_0xbbf94a(_0xee930)),S(0x8,_0x46d807),S(0x9,_0x109aa8),S(0xa,_0x5cfd22),S(0xb,_0x4acf08),S(0xc,_0x3668b1(et))],qe);let vt=class extends qe{constructor(_0xf5fbfc,_0x467db8,_0x8aee47,_0x11cd01,_0x74fe2b,_0x3e574c,_0x133a4a,_0x153d98,_0x5cea1e,_0x50a9c2,_0x5d8ccc,_0x2f6951,_0x3a7786,_0x2f3ab1,_0x39b0dc,_0x264952,_0x4a8439){const _0x59a2f0=_0x3e92f2;super(_0xf5fbfc,_0x467db8,_0x8aee47,_0x11cd01,_0x74fe2b,_0x3e574c,_0x133a4a,_0x153d98,_0x3a7786,_0x2f3ab1,_0x39b0dc,_0x264952,_0x4a8439),this[_0x59a2f0(0x3ca)]=_0xf5fbfc,this[_0x59a2f0(0x342)]=_0x467db8,this[_0x59a2f0(0x29f)]=_0x8aee47,this[_0x59a2f0(0x432)]=_0x5cea1e,this[_0x59a2f0(0x368)]=_0x50a9c2,this[_0x59a2f0(0x2a7)]=_0x5d8ccc,this['_docSyncEditingCollabCursorService']=_0x2f6951;}['_createHandler'](){const _0x41d4a3=_0x3e92f2,_0x8eba39=super[_0x41d4a3(0x3e2)]();return _0x8eba39[_0x41d4a3(0x41f)]=_0x38d549=>this[_0x41d4a3(0x368)][_0x41d4a3(0x1f0)](_0x38d549),_0x8eba39[_0x41d4a3(0x313)]=_0x309f87=>this[_0x41d4a3(0x2a7)][_0x41d4a3(0x2a3)](_0x309f87),_0x8eba39[_0x41d4a3(0x369)]=_0x28c78e=>this['_docSyncEditingCollabCursorService'][_0x41d4a3(0x448)](_0x28c78e),_0x8eba39[_0x41d4a3(0x3dc)]=_0x2f9fda=>this[_0x41d4a3(0x368)][_0x41d4a3(0x322)](_0x2f9fda),_0x8eba39;}async[_0x3e92f2(0x35e)](){const _0x2d400a=_0x3e92f2,_0x186cb2=await super[_0x2d400a(0x35e)]();return this['_docStateChangeManagerService'][_0x2d400a(0x471)][_0x2d400a(0x407)](_0x254c9c(this[_0x2d400a(0x4b2)]))[_0x2d400a(0x4be)](_0x1993ab=>{const _0x45f3b7=_0x2d400a;if(_0x1993ab==null)return;const {unitId:_0x409209,redoState:_0x29242f,commandId:_0x4626d9}=_0x1993ab;if(_0x409209!==this['unitID'])return;const _0xeab98={'id':_0x4626d9,'type':_0x1a41da[_0x45f3b7(0x25a)],'params':{'unitId':_0x409209,'actions':_0x29242f['actions'],'textRanges':null}};this[_0x45f3b7(0x45a)](_0xeab98);}),_0x186cb2;}};vt=tt([S(0x3,_0xbbf94a(_0xa8f435)),S(0x4,_0xbbf94a(D)),S(0x5,_0xbbf94a(_0x59ec89)),S(0x6,_0xbbf94a(_0x6789ab)),S(0x7,_0xbbf94a(_0xee930)),S(0x8,_0xbbf94a(_0x250a10)),S(0x9,_0xbbf94a(Xe)),S(0xa,_0xbbf94a(Je)),S(0xb,_0xbbf94a(yt)),S(0xc,_0x46d807),S(0xd,_0x109aa8),S(0xe,_0x5cfd22),S(0xf,_0x4acf08),S(0x10,_0x3668b1(et))],vt);let pt=class extends qe{constructor(_0x1743c3,_0x4b3211,_0x3bbbb7,_0x19bb54,_0x11c30a,_0x17bcd0,_0x4586e9,_0x3d339c,_0x442a1a,_0x5cee88,_0x242d2f,_0x5d5699,_0x1d61ca,_0x50cdc3){const _0x3d8caf=_0x3e92f2;super(_0x1743c3,_0x4b3211,_0x3bbbb7,_0x19bb54,_0x11c30a,_0x17bcd0,_0x4586e9,_0x3d339c,_0x5cee88,_0x242d2f,_0x5d5699,_0x1d61ca,_0x50cdc3),this['unitID']=_0x1743c3,this['type']=_0x4b3211,this[_0x3d8caf(0x29f)]=_0x3bbbb7,this[_0x3d8caf(0x30c)]=_0x442a1a;}[_0x3e92f2(0x3e2)](){const _0x52c538=_0x3e92f2,_0x5dfafa=super[_0x52c538(0x3e2)]();return _0x5dfafa[_0x52c538(0x313)]=_0x114e97=>this[_0x52c538(0x30c)][_0x52c538(0x2a3)](_0x114e97),_0x5dfafa;}async[_0x3e92f2(0x35e)](){const _0x47a40b=_0x3e92f2,_0xc53850=await super[_0x47a40b(0x35e)]();return this[_0x47a40b(0x280)](this[_0x47a40b(0x1f2)][_0x47a40b(0x49c)]((_0x588aba,_0x20b90a)=>{const _0x30ab64=_0x47a40b;if(_0x588aba[_0x30ab64(0x342)]!==_0x1a41da['MUTATION']||_0x20b90a!=null&&_0x20b90a['fromCollab']||_0x20b90a!=null&&_0x20b90a[_0x30ab64(0x2da)])return;const _0x3fb58e=_0x588aba[_0x30ab64(0x394)];if((_0x3fb58e==null?void 0x0:_0x3fb58e[_0x30ab64(0x3ae)])!==this[_0x30ab64(0x3ca)])return;const _0x44526e=_0x588aba,_0x5a95c2=this[_0x30ab64(0x331)][_0x30ab64(0x310)][_0x30ab64(0x3aa)](this[_0x30ab64(0x331)][_0x30ab64(0x310)][_0x30ab64(0x424)]()[_0x30ab64(0x295)])([_0x44526e],null)||[_0x44526e];this[_0x30ab64(0x45a)](_0x5a95c2[0x0]);})),_0xc53850;}};pt=tt([S(0x3,_0xbbf94a(_0xa8f435)),S(0x4,_0xbbf94a(D)),S(0x5,_0xbbf94a(_0x59ec89)),S(0x6,_0xbbf94a(_0x6789ab)),S(0x7,_0xbbf94a(_0xee930)),S(0x8,_0xbbf94a(ze)),S(0x9,_0x46d807),S(0xa,_0x109aa8),S(0xb,_0x5cfd22),S(0xc,_0x4acf08),S(0xd,_0x3668b1(et))],pt);const es=['purple300',_0x3e92f2(0x414),_0x3e92f2(0x409),'red300',_0x3e92f2(0x390),'gold400'];class Lt extends _0x1f0611{constructor(){const _0x308eab=_0x3e92f2;super(...arguments),l(this,_0x308eab(0x2ba),new Map()),l(this,_0x308eab(0x449),0x0);}[_0x3e92f2(0x21d)](_0x21a3a2){const _0x4eb788=_0x3e92f2;if(this[_0x4eb788(0x2ba)]['has'](_0x21a3a2))return this[_0x4eb788(0x2ba)][_0x4eb788(0x2d5)](_0x21a3a2);const _0x2968a6=es[this[_0x4eb788(0x449)]];return this['_colorIndex']=(this[_0x4eb788(0x449)]+0x1)%es[_0x4eb788(0x1a4)],this['_assignedColors'][_0x4eb788(0x2bc)](_0x21a3a2,_0x2968a6),_0x2968a6;}}var Jn=Object[_0x3e92f2(0x340)],zn=Object['getOwnPropertyDescriptor'],qn=(_0x3c354f,_0x3b50b7,_0x222b30,_0x5d0ec5)=>{const _0x3329be=_0x3e92f2;for(var _0x5998ed=_0x5d0ec5>0x1?void 0x0:_0x5d0ec5?zn(_0x3b50b7,_0x222b30):_0x3b50b7,_0x13d9f5=_0x3c354f[_0x3329be(0x1a4)]-0x1,_0x2d54d7;_0x13d9f5>=0x0;_0x13d9f5--)(_0x2d54d7=_0x3c354f[_0x13d9f5])&&(_0x5998ed=(_0x5d0ec5?_0x2d54d7(_0x3b50b7,_0x222b30,_0x5998ed):_0x2d54d7(_0x5998ed))||_0x5998ed);return _0x5d0ec5&&_0x5998ed&&Jn(_0x3b50b7,_0x222b30,_0x5998ed),_0x5998ed;},he=(_0x107a90,_0x2c4493)=>(_0x414b11,_0x10c018)=>_0x2c4493(_0x414b11,_0x10c018,_0x107a90);const Zn=0x12c,Qn=0x64,er=()=>{let _0x56c3cc=[],_0x3d2b0c=!0x1;return _0x111ff1=>{_0x56c3cc['push'](_0x111ff1),_0x3d2b0c||(_0x3d2b0c=!0x0,setTimeout(()=>{const _0x91a87e=_0x4256;_0x56c3cc[_0x91a87e(0x1b8)](_0x2391e6=>_0x2391e6()),_0x56c3cc=[],_0x3d2b0c=!0x1;}));};};let It=class extends _0x4c153b{constructor(_0x184a34,_0x39ee52,_0x134563,_0x5402a2,_0x289ae2,_0x4376d4,_0x4619d9,_0x405cf3){const _0x27bc9f=_0x3e92f2;super(),l(this,_0x27bc9f(0x28a),!0x1),l(this,_0x27bc9f(0x35e),!0x1),l(this,_0x27bc9f(0x200),new _0x4d79d8(new Map())),l(this,_0x27bc9f(0x2ef),this['_cursorInfo$']['asObservable']()),l(this,_0x27bc9f(0x2b9),new _0x4d79d8([])),l(this,_0x27bc9f(0x436),this[_0x27bc9f(0x2b9)]['pipe'](_0x445532(Zn))),l(this,'_updateLocalCursor',_0x561342((_0x46e449,_0x277151)=>{const _0xfe17cb=_0x27bc9f,_0x278d83={'eventID':_0x34e231[_0xfe17cb(0x226)],'data':{'unitID':this[_0xfe17cb(0x3ca)],'memberID':this[_0xfe17cb(0x1ab)][_0xfe17cb(0x421)](),'selection':_0x4aaaf4(_0x46e449,_0x277151[_0xfe17cb(0x2b8)])}};this[_0xfe17cb(0x1ab)][_0xfe17cb(0x229)](_0x278d83,this['unitID']);},Qn)),(this[_0x27bc9f(0x3ca)]=_0x184a34,this['_session']=_0x39ee52,this['_injector']=_0x134563,this[_0x27bc9f(0x2ad)]=_0x5402a2,this[_0x27bc9f(0x29e)]=_0x289ae2,this['_univerInstanceService']=_0x4376d4,this[_0x27bc9f(0x1f2)]=_0x4619d9,this['_refRangeService']=_0x405cf3);}get[_0x3e92f2(0x253)](){const _0x1ec45f=_0x3e92f2;return this[_0x1ec45f(0x200)]['getValue']();}get[_0x3e92f2(0x1d6)](){const _0x187a84=_0x3e92f2;return this[_0x187a84(0x2b9)]['getValue']();}[_0x3e92f2(0x25d)](){const _0x4cc384=_0x3e92f2;super[_0x4cc384(0x25d)](),this['_cursorInfo$'][_0x4cc384(0x3ea)](new Map()),this[_0x4cc384(0x200)][_0x4cc384(0x2e4)](),this[_0x4cc384(0x2b9)][_0x4cc384(0x3ea)]([]),this['_roomMembers$']['complete']();}[_0x3e92f2(0x3bd)](){const _0x50f3de=_0x3e92f2;this[_0x50f3de(0x35e)]||(this[_0x50f3de(0x35e)]=!0x0,this[_0x50f3de(0x1ab)][_0x50f3de(0x397)]['pipe'](_0x254c9c(this['dispose$']))[_0x50f3de(0x4be)](_0x8516fe=>{const _0x2f5608=_0x50f3de;_0x8516fe===de[_0x2f5608(0x405)]?this[_0x2f5608(0x1c7)]():this[_0x2f5608(0x276)]();}),this[_0x50f3de(0x1ab)]['event$'][_0x50f3de(0x407)](_0x254c9c(this[_0x50f3de(0x4b2)]))[_0x50f3de(0x4be)](_0x3164c8=>{const _0x1a19b5=_0x50f3de,_0x2a40c4=_0x3164c8['eventID'];_0x2a40c4===_0x34e231['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3164c8),_0x2a40c4===_0x34e231[_0x1a19b5(0x462)]&&this[_0x1a19b5(0x261)](_0x3164c8);}),this['_onRefRangeChange'](),this[_0x50f3de(0x280)](this[_0x50f3de(0x1f2)][_0x50f3de(0x49c)](_0x473819=>{const _0x352b49=_0x50f3de;if(this[_0x352b49(0x28a)]&&_0x473819['id']===_0x594d48['id']&&_0x473819[_0x352b49(0x394)][_0x352b49(0x3ae)]===this[_0x352b49(0x3ca)]){const _0x375577=_0x473819[_0x352b49(0x394)];this[_0x352b49(0x332)](_0x375577[_0x352b49(0x31a)],_0x375577[_0x352b49(0x4c0)][0x0]);}})));}[_0x3e92f2(0x33a)](_0x501e30){const _0x4b3409=_0x3e92f2;var _0x1677f8,_0x19bdc9;const {memberID:_0x1bdeb8,selection:_0x4dd1fb}=_0x501e30[_0x4b3409(0x208)],{sheetName:_0x45f0a2,range:_0x18f479}=_0x2565bd(_0x4dd1fb),_0x1d306a={'name':(_0x19bdc9=(_0x1677f8=this['_memberService']['getMember'](this['unitID'],_0x1bdeb8))==null?void 0x0:_0x1677f8[_0x4b3409(0x2c2)])!=null?_0x19bdc9:_0x4b3409(0x2c0),'range':this[_0x4b3409(0x3de)](_0x45f0a2,_0x18f479),'sheetID':_0x45f0a2,'color':this[_0x4b3409(0x2ad)]['assignAColorForMemberID'](_0x1bdeb8),'selection':_0x4dd1fb},_0x2e4c16=this[_0x4b3409(0x253)];_0x2e4c16[_0x4b3409(0x2bc)](_0x1bdeb8,_0x1d306a),this[_0x4b3409(0x200)]['next'](_0x2e4c16);}[_0x3e92f2(0x261)](_0x34e14b){const _0x1c7d1e=_0x3e92f2,{memberID:_0x2dae0d}=_0x34e14b[_0x1c7d1e(0x208)],_0x46499d=this[_0x1c7d1e(0x253)];_0x46499d[_0x1c7d1e(0x36f)](_0x2dae0d),this[_0x1c7d1e(0x200)][_0x1c7d1e(0x3ea)](_0x46499d);}[_0x3e92f2(0x3de)](_0x15284a,_0x56657a){const _0x5951a4=_0x3e92f2;var _0x2ad4b8,_0x2f65b4;const _0x48d9e5=(_0x2f65b4=(_0x2ad4b8=this[_0x5951a4(0x1ef)]['getUniverSheetInstance'](this[_0x5951a4(0x3ca)]))==null?void 0x0:_0x2ad4b8[_0x5951a4(0x42f)](_0x15284a))==null?void 0x0:_0x2f65b4[_0x5951a4(0x294)]();return(_0x48d9e5==null?void 0x0:_0x48d9e5[_0x5951a4(0x491)](_0x5625b7=>_0x301c8d[_0x5951a4(0x2fe)](_0x5625b7,_0x56657a)))||_0x56657a;}[_0x3e92f2(0x1ae)](){const _0x254500=_0x3e92f2,_0x4e7de4=new _0x10ad9e(),_0x38c862=er(),_0x385b3e=()=>{const _0x2798a5=_0x4256;_0x4e7de4[_0x2798a5(0x25d)]();const _0x365fc7=(_0x14e5d4,_0x125bf0,_0x1fe261,_0x196054)=>{const _0x2a99e0=_0x2798a5;let _0x2cf84f=[];switch(_0x14e5d4['id']){case _0x1d561a[_0x2a99e0(0x37b)]:{_0x2cf84f=_0x374c46(_0x14e5d4,_0x196054);break;}case _0x1d561a['DeleteRangeMoveUpCommandId']:{_0x2cf84f=_0x2558df(_0x14e5d4,_0x196054);break;}case _0x1d561a['InsertColCommandId']:{_0x2cf84f=_0x392388(_0x14e5d4,_0x196054);break;}case _0x1d561a[_0x2a99e0(0x41d)]:{_0x2cf84f=_0x324941(_0x14e5d4,_0x196054);break;}case _0x1d561a[_0x2a99e0(0x351)]:{_0x2cf84f=_0x41ab06(_0x14e5d4,_0x196054);break;}case _0x1d561a[_0x2a99e0(0x49d)]:{_0x2cf84f=_0xf69406(_0x14e5d4,_0x196054);break;}case _0x1d561a[_0x2a99e0(0x33e)]:{_0x2cf84f=_0x342dcd(_0x14e5d4,_0x196054);break;}case _0x1d561a[_0x2a99e0(0x341)]:{_0x2cf84f=_0x46dbc2(_0x14e5d4,_0x196054);break;}case _0x1d561a[_0x2a99e0(0x3e5)]:{_0x2cf84f=_0x58d14e(_0x14e5d4,_0x196054);break;}}const _0xfaacd0=_0x4b852b(_0x2cf84f,_0x196054),_0x4b3bd5=this[_0x2a99e0(0x253)][_0x2a99e0(0x2d5)](_0x125bf0);if(_0x4b3bd5&&_0xfaacd0){const _0x13bc63={..._0x4b3bd5,'range':_0xfaacd0};this[_0x2a99e0(0x253)][_0x2a99e0(0x2bc)](_0x125bf0,_0x13bc63),_0x38c862(()=>{const _0x467dcc=_0x2a99e0,_0xd3ce70=this['_refRangeService']['registerRefRange'](_0xfaacd0,_0x5cfebb=>(_0xd3ce70[_0x467dcc(0x25d)](),_0x365fc7(_0x5cfebb,_0x125bf0,_0x1fe261,_0xfaacd0)));_0x4e7de4[_0x467dcc(0x35d)](_0xd3ce70);});}return{'redos':[],'undos':[]};};this[_0x2798a5(0x253)][_0x2798a5(0x1b8)]((_0x1a50b0,_0x16ba80)=>{const _0x2c267e=_0x2798a5,{range:_0x230cf7,sheetID:_0x9d384}=_0x1a50b0,_0x18c276=this[_0x2c267e(0x20b)][_0x2c267e(0x4cb)](_0x230cf7,_0x2c2d5b=>(_0x18c276[_0x2c267e(0x25d)](),_0x365fc7(_0x2c2d5b,_0x16ba80,_0x9d384,_0x230cf7)));_0x4e7de4[_0x2c267e(0x35d)](_0x18c276);});};this['disposeWithMe'](_0x38ac23(this['_cursorInfo$'][_0x254500(0x4be)](()=>{_0x385b3e();})));}[_0x3e92f2(0x1c7)](){const _0x3f86fd=_0x3e92f2;var _0x2972b9,_0x5ee5a7;if(this[_0x3f86fd(0x28a)]=!0x0,((_0x2972b9=this[_0x3f86fd(0x1ef)][_0x3f86fd(0x380)]())==null?void 0x0:_0x2972b9[_0x3f86fd(0x47a)]())!==this[_0x3f86fd(0x3ca)])return;const _0x20e8c4=(_0x5ee5a7=this['_injector'][_0x3f86fd(0x2d5)](_0xebd730)[_0x3f86fd(0x344)]())==null?void 0x0:_0x5ee5a7[0x0],_0x3cdd86=this[_0x3f86fd(0x1ef)]['getCurrentUnitForType'](_0x41ddf6[_0x3f86fd(0x241)])['getActiveSheet']();_0x20e8c4&&_0x3cdd86&&this[_0x3f86fd(0x332)](_0x3cdd86['getSheetId'](),_0x20e8c4);}[_0x3e92f2(0x276)](){this['_online']=!0x1;}};It=qn([he(0x2,_0xbbf94a(_0xa8f435)),he(0x3,_0xbbf94a(Lt)),he(0x4,_0xbbf94a(ne)),he(0x5,_0x5f1ae0),he(0x6,_0x109aa8),he(0x7,_0xbbf94a(_0x4071b4))],It);var tr=Object[_0x3e92f2(0x340)],sr=Object[_0x3e92f2(0x2d2)],ir=(_0x4a4c39,_0x36819f,_0x1f0ca6,_0x51af24)=>{const _0x4dac88=_0x3e92f2;for(var _0x24181a=_0x51af24>0x1?void 0x0:_0x51af24?sr(_0x36819f,_0x1f0ca6):_0x36819f,_0x227b7e=_0x4a4c39[_0x4dac88(0x1a4)]-0x1,_0xc9d765;_0x227b7e>=0x0;_0x227b7e--)(_0xc9d765=_0x4a4c39[_0x227b7e])&&(_0x24181a=(_0x51af24?_0xc9d765(_0x36819f,_0x1f0ca6,_0x24181a):_0xc9d765(_0x24181a))||_0x24181a);return _0x51af24&&_0x24181a&&tr(_0x36819f,_0x1f0ca6,_0x24181a),_0x24181a;},te=(_0x27daf0,_0x4baa95)=>(_0x265592,_0x4b32f3)=>_0x4baa95(_0x265592,_0x4b32f3,_0x27daf0);const nr=0x12c,rr=0x64;let Et=class extends _0x4c153b{constructor(_0x2395d6,_0x470a10,_0x3d32b5,_0x441137,_0xbdb8eb,_0xa67dfa,_0x3805eb,_0x3f478b,_0xfc2ca8){const _0x4424e1=_0x3e92f2;super(),l(this,_0x4424e1(0x28a),!0x1),l(this,'_init',!0x1),l(this,_0x4424e1(0x200),new _0x4d79d8(new Map())),l(this,_0x4424e1(0x2ef),this[_0x4424e1(0x200)][_0x4424e1(0x423)]()),l(this,'_roomMembers$',new _0x4d79d8([])),l(this,_0x4424e1(0x436),this[_0x4424e1(0x2b9)][_0x4424e1(0x407)](_0x445532(nr))),l(this,'_updateLocalCursor',_0x561342(_0x2c4dad=>{const _0x3d1399=_0x4424e1,_0x120b8e={'eventID':_0x34e231[_0x3d1399(0x226)],'data':{'unitID':this[_0x3d1399(0x3ca)],'memberID':this[_0x3d1399(0x1ab)][_0x3d1399(0x421)](),'selection':Ns(_0x2c4dad)}};this[_0x3d1399(0x1ab)][_0x3d1399(0x229)](_0x120b8e,this[_0x3d1399(0x3ca)]);},rr)),(this[_0x4424e1(0x3ca)]=_0x2395d6,this[_0x4424e1(0x1ab)]=_0x470a10,this[_0x4424e1(0x443)]=_0x3d32b5,this[_0x4424e1(0x2ad)]=_0x441137,this[_0x4424e1(0x29e)]=_0xbdb8eb,this[_0x4424e1(0x308)]=_0xa67dfa,this[_0x4424e1(0x22e)]=_0x3805eb,this[_0x4424e1(0x1ef)]=_0x3f478b,this[_0x4424e1(0x1f2)]=_0xfc2ca8);}get[_0x3e92f2(0x253)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x5cf1b0=_0x3e92f2;return this[_0x5cf1b0(0x2b9)][_0x5cf1b0(0x43c)]();}[_0x3e92f2(0x25d)](){const _0x3aea2d=_0x3e92f2;super[_0x3aea2d(0x25d)](),this[_0x3aea2d(0x200)][_0x3aea2d(0x3ea)](new Map()),this['_cursorInfo$'][_0x3aea2d(0x2e4)](),this[_0x3aea2d(0x2b9)]['next']([]),this[_0x3aea2d(0x2b9)][_0x3aea2d(0x2e4)]();}[_0x3e92f2(0x3bd)](){const _0x5e11f4=_0x3e92f2;this[_0x5e11f4(0x35e)]||(this[_0x5e11f4(0x35e)]=!0x0,this['_session'][_0x5e11f4(0x397)][_0x5e11f4(0x407)](_0x254c9c(this['dispose$']))[_0x5e11f4(0x4be)](_0x25ca80=>{const _0x2b9e36=_0x5e11f4;_0x25ca80===de['ONLINE']?this[_0x2b9e36(0x1c7)]():this[_0x2b9e36(0x276)]();}),this[_0x5e11f4(0x1ab)][_0x5e11f4(0x2c7)][_0x5e11f4(0x407)](_0x254c9c(this[_0x5e11f4(0x4b2)]))['subscribe'](_0x35b056=>{const _0x516894=_0x5e11f4,_0x595bed=_0x35b056[_0x516894(0x1af)];_0x595bed===_0x34e231['UPDATE_CURSOR']&&this[_0x516894(0x33a)](_0x35b056),_0x595bed===_0x34e231['USERS_LEAVE']&&this[_0x516894(0x261)](_0x35b056);}),this[_0x5e11f4(0x280)](this['_commandService'][_0x5e11f4(0x49c)](_0x121434=>{const _0x275184=_0x5e11f4,_0x57fa99=_0x121434[_0x275184(0x394)];_0x57fa99!=null&&this['_online']&&_0x121434['id']===_0x13752b['id']&&_0x57fa99[_0x275184(0x3ae)]===this[_0x275184(0x3ca)]&&_0x57fa99['isEditing']===!0x1&&this[_0x275184(0x332)](_0x57fa99['ranges']);})),this[_0x5e11f4(0x308)][_0x5e11f4(0x362)][_0x5e11f4(0x407)](_0x254c9c(this[_0x5e11f4(0x4b2)]))[_0x5e11f4(0x4be)](_0x3e02b7=>{const _0x5ba221=_0x5e11f4;if((_0x3e02b7==null?void 0x0:_0x3e02b7[_0x5ba221(0x3ca)])!==this[_0x5ba221(0x3ca)])return;const _0x176f4a={'eventID':_0x34e231['UPDATE_CURSOR'],'data':_0x3e02b7};this['_onCursorUpdate'](_0x176f4a);}),this['disposeWithMe'](this[_0x5e11f4(0x1f2)][_0x5e11f4(0x49c)](_0x41cc82=>{const _0x3fb8b0=_0x5e11f4;if(_0x41cc82[_0x3fb8b0(0x394)]==null)return;const _0xa6cf2b=_0x41cc82[_0x3fb8b0(0x394)];if(_0x41cc82['id']!==_0x403372['id']||_0xa6cf2b['unitId']!==this[_0x3fb8b0(0x3ca)])return;const _0x4451ab={'id':'doc.mutation.rich-text-editing','params':_0xa6cf2b},_0x368099=this[_0x3fb8b0(0x253)];for(const [_0x46d710,_0x3f9e20]of _0x368099){const _0x843fd4={'id':_0x3fb8b0(0x215),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3f9e20[_0x3fb8b0(0x4b1)]}},_0x422c72=this[_0x3fb8b0(0x22e)][_0x3fb8b0(0x433)](_0x4451ab,_0x843fd4,!0x1);if(_0x3d6701(_0x422c72))throw _0x422c72[_0x3fb8b0(0x23c)];_0x368099[_0x3fb8b0(0x2bc)](_0x46d710,{..._0x3f9e20,'ranges':_0x422c72[_0x3fb8b0(0x2fb)][_0x3fb8b0(0x394)][_0x3fb8b0(0x371)]});}queueMicrotask(()=>{const _0x2878a8=_0x3fb8b0;this[_0x2878a8(0x200)]['next'](_0x368099);});})));}[_0x3e92f2(0x33a)](_0x4847ca){const _0x30cc12=_0x3e92f2;var _0x32006b,_0x43ed69;const {memberID:_0x13d55e,selection:_0x3e7219}=_0x4847ca['data'],_0x317d1e=jn(_0x3e7219),_0x2d1008=(_0x43ed69=(_0x32006b=this[_0x30cc12(0x29e)][_0x30cc12(0x311)](this[_0x30cc12(0x3ca)],_0x13d55e))==null?void 0x0:_0x32006b[_0x30cc12(0x2c2)])!=null?_0x43ed69:_0x30cc12(0x2c0),_0x5565d1={'color':this['_colorAssignService'][_0x30cc12(0x21d)](_0x13d55e),'name':_0x2d1008,'ranges':_0x317d1e},_0x22c1ce=this[_0x30cc12(0x253)];_0x22c1ce['set'](_0x13d55e,_0x5565d1),this['_cursorInfo$'][_0x30cc12(0x3ea)](_0x22c1ce);}[_0x3e92f2(0x261)](_0x5556b6){const _0x2e296d=_0x3e92f2,{memberID:_0x1171c5}=_0x5556b6[_0x2e296d(0x208)],_0x1ba6ab=this[_0x2e296d(0x253)];_0x1ba6ab[_0x2e296d(0x36f)](_0x1171c5),this[_0x2e296d(0x200)]['next'](_0x1ba6ab);}[_0x3e92f2(0x1c7)](){const _0x19b044=_0x3e92f2;var _0x5dc15a;if(this[_0x19b044(0x28a)]=!0x0,((_0x5dc15a=this[_0x19b044(0x1ef)][_0x19b044(0x380)]())==null?void 0x0:_0x5dc15a[_0x19b044(0x47a)]())!==this['unitID'])return;const _0x332a17=this[_0x19b044(0x443)][_0x19b044(0x2d5)](_0x3781de)['getCurrentSelections'](),_0x4d7946=_0x332a17==null?void 0x0:_0x332a17[_0x19b044(0x1be)](_0x167840);Array[_0x19b044(0x48f)](_0x4d7946)&&_0x4d7946[_0x19b044(0x1a4)]>0x0&&this['_updateLocalCursor'](_0x4d7946);}['_toggleOffline'](){const _0x5b270a=_0x3e92f2;this[_0x5b270a(0x28a)]=!0x1;}};Et=ir([te(0x2,_0xbbf94a(_0xa8f435)),te(0x3,_0xbbf94a(Lt)),te(0x4,_0xbbf94a(ne)),te(0x5,_0xbbf94a(yt)),te(0x6,_0x1b279b),te(0x7,_0x5f1ae0),te(0x8,_0x109aa8)],Et);var or=Object['defineProperty'],ar=Object['getOwnPropertyDescriptor'],cr=(_0x50c7a4,_0x3b08b6,_0x5e189e,_0x48f39f)=>{for(var _0x5959d9=_0x48f39f>0x1?void 0x0:_0x48f39f?ar(_0x3b08b6,_0x5e189e):_0x3b08b6,_0x9750fc=_0x50c7a4['length']-0x1,_0x116a95;_0x9750fc>=0x0;_0x9750fc--)(_0x116a95=_0x50c7a4[_0x9750fc])&&(_0x5959d9=(_0x48f39f?_0x116a95(_0x3b08b6,_0x5e189e,_0x5959d9):_0x116a95(_0x5959d9))||_0x5959d9);return _0x48f39f&&_0x5959d9&&or(_0x3b08b6,_0x5e189e,_0x5959d9),_0x5959d9;},ct=(_0x340274,_0x2520bf)=>(_0x31b80c,_0x5d9661)=>_0x2520bf(_0x31b80c,_0x5d9661,_0x340274);let fe=class extends _0x4c153b{constructor(_0x44e3ea,_0x29631c,_0x532f4d){const _0x4d41d4=_0x3e92f2;super(),l(this,_0x4d41d4(0x412),new Map()),l(this,_0x4d41d4(0x1a6),new _0x440796()),(this['_univerInstanceService']=_0x44e3ea,this['_injector']=_0x29631c,this[_0x4d41d4(0x1f8)]=_0x532f4d,this[_0x4d41d4(0x35e)]());}[_0x3e92f2(0x25d)](){const _0x47eacd=_0x3e92f2;super[_0x47eacd(0x25d)](),this['_entityInit$'][_0x47eacd(0x2e4)](),this[_0x47eacd(0x412)]['forEach'](_0x34311d=>_0x34311d[_0x47eacd(0x25d)]());}[_0x3e92f2(0x235)](_0xbe6ef6){const _0xe3aee9=_0x3e92f2;return this['_entities'][_0xe3aee9(0x31c)](_0xbe6ef6)?this['_entities'][_0xe3aee9(0x2d5)](_0xbe6ef6)[_0xe3aee9(0x2ef)]:this['_entityInit$'][_0xe3aee9(0x407)](_0x56fcf7(_0x199507=>_0x199507[_0xe3aee9(0x3ca)]===_0xbe6ef6),_0x10f218(_0x3bd094=>_0x3bd094[_0xe3aee9(0x2ef)]));}['_init'](){const _0x5d9715=_0x3e92f2;this[_0x5d9715(0x1ef)][_0x5d9715(0x2c9)](_0x41ddf6['UNIVER_SHEET'])[_0x5d9715(0x407)](_0x254c9c(this[_0x5d9715(0x4b2)]))['subscribe'](async _0x103b68=>{const _0x5c0068=_0x5d9715,_0x5a47fa=_0x103b68['getUnitId'](),_0x32146c=await this[_0x5c0068(0x26d)](_0x5a47fa);this[_0x5c0068(0x1a6)][_0x5c0068(0x3ea)](_0x32146c),this['_entities']['set'](_0x5a47fa,_0x32146c);}),this['_univerInstanceService'][_0x5d9715(0x2c9)](_0x41ddf6[_0x5d9715(0x2e1)])[_0x5d9715(0x407)](_0x254c9c(this[_0x5d9715(0x4b2)]))[_0x5d9715(0x407)](_0x56fcf7(_0x2ba71e=>!_0x2ba71e[_0x5d9715(0x47a)]()[_0x5d9715(0x3f9)]('__')))[_0x5d9715(0x4be)](async _0xe4f9b4=>{const _0x2dc64b=_0x5d9715,_0x3eb874=_0xe4f9b4[_0x2dc64b(0x47a)](),_0x10ba37=await this[_0x2dc64b(0x24a)](_0x3eb874);this[_0x2dc64b(0x1a6)][_0x2dc64b(0x3ea)](_0x10ba37),this[_0x2dc64b(0x412)]['set'](_0x3eb874,_0x10ba37);}),_0x2b9a75(this[_0x5d9715(0x1ef)]['getTypeOfUnitDisposed$'](_0x41ddf6[_0x5d9715(0x2e1)]),this[_0x5d9715(0x1ef)][_0x5d9715(0x319)](_0x41ddf6[_0x5d9715(0x241)]))[_0x5d9715(0x407)](_0x254c9c(this[_0x5d9715(0x4b2)]))[_0x5d9715(0x4be)](_0x5765d5=>{const _0x3e3d5a=_0x5d9715,_0x3603c8=_0x5765d5[_0x3e3d5a(0x47a)](),_0x3b2339=this['_entities'][_0x3e3d5a(0x2d5)](_0x3603c8);_0x3b2339&&(_0x3b2339[_0x3e3d5a(0x25d)](),this[_0x3e3d5a(0x412)][_0x3e3d5a(0x36f)](_0x3603c8));});}async[_0x3e92f2(0x26d)](_0x508c0a){const _0x551ee1=_0x3e92f2,_0x280918=await this[_0x551ee1(0x1f8)][_0x551ee1(0x3cc)](_0x508c0a),_0x5eb18a=this[_0x551ee1(0x443)][_0x551ee1(0x1df)](It,_0x508c0a,_0x280918);return _0x5eb18a[_0x551ee1(0x3bd)](),_0x5eb18a;}async[_0x3e92f2(0x24a)](_0x2a2f70){const _0x495d18=_0x3e92f2,_0x38af12=await this['_collabSessionService'][_0x495d18(0x3cc)](_0x2a2f70),_0x3edee2=this[_0x495d18(0x443)]['createInstance'](Et,_0x2a2f70,_0x38af12);return _0x3edee2[_0x495d18(0x3bd)](),_0x3edee2;}};fe=cr([_0x405ab3(_0x57f2ea[_0x3e92f2(0x1e8)],fe),ct(0x0,_0x5f1ae0),ct(0x1,_0xbbf94a(_0xa8f435)),ct(0x2,_0xbbf94a(ge))],fe);const Me=0x14,ts=0xc8,ht=0x4,hr=0x5;function lr(_0x34d13f,_0x331dff){const _0x49227d=_0x3e92f2;let {radius:_0x496375,width:_0x4b9071,height:_0x273949}=_0x331dff;_0x496375=_0x496375!=null?_0x496375:0x0,_0x4b9071=_0x4b9071!=null?_0x4b9071:0x1e,_0x273949=_0x273949!=null?_0x273949:0x1e;let _0x3b5c2f=0x0,_0x17050c=0x0,_0xc9b14=0x0;_0x3b5c2f=_0x17050c=_0xc9b14=Math[_0x49227d(0x1cd)](_0x496375,_0x4b9071/0x2,_0x273949/0x2),_0x34d13f['beginPath'](),_0x34d13f['moveTo'](_0x3b5c2f,0x0),_0x34d13f[_0x49227d(0x4b6)](_0x4b9071-_0x17050c,0x0),_0x34d13f[_0x49227d(0x267)](_0x4b9071-_0x17050c,_0x17050c,_0x17050c,Math['PI']*0x3/0x2,0x0,!0x1),_0x34d13f[_0x49227d(0x4b6)](_0x4b9071,_0x273949-_0xc9b14),_0x34d13f[_0x49227d(0x267)](_0x4b9071-_0xc9b14,_0x273949-_0xc9b14,_0xc9b14,0x0,Math['PI']/0x2,!0x1),_0x34d13f['lineTo'](0x0,_0x273949),_0x34d13f[_0x49227d(0x4b6)](0x0,_0x3b5c2f),_0x34d13f[_0x49227d(0x267)](_0x3b5c2f,_0x3b5c2f,_0x3b5c2f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x34d13f['closePath'](),_0x331dff['fill']&&(_0x34d13f[_0x49227d(0x2c6)](),_0x34d13f['fillStyle']=_0x331dff[_0x49227d(0x364)],_0x331dff[_0x49227d(0x3ce)]==='evenodd'?_0x34d13f['fill'](_0x49227d(0x333)):_0x34d13f[_0x49227d(0x364)](),_0x34d13f[_0x49227d(0x4c6)]());}class st extends _0x28d65b{constructor(_0x2b1337,_0x34cfd3){const _0x53b6ce=_0x3e92f2;super(_0x2b1337,_0x34cfd3),l(this,_0x53b6ce(0x26f)),l(this,_0x53b6ce(0x367)),(this['color']=_0x34cfd3==null?void 0x0:_0x34cfd3['color'],this[_0x53b6ce(0x367)]=_0x34cfd3==null?void 0x0:_0x34cfd3['text']);}static[_0x3e92f2(0x42e)](_0x11fe8f,_0x51b0e8){const _0x3add17=_0x3e92f2,{text:_0x4f3ee6,color:_0x89d47c}=_0x51b0e8;_0x11fe8f[_0x3add17(0x2c6)](),_0x11fe8f[_0x3add17(0x2fa)]=_0x3add17(0x275);const _0x2e80a0=_0x11fe8f[_0x3add17(0x278)](_0x4f3ee6)[_0x3add17(0x43e)],_0x127376=Math['min'](_0x2e80a0+0x2*ht,ts);lr(_0x11fe8f,{'height':Me,'radius':0x4,'width':_0x127376,'fill':_0x89d47c,'evented':!0x1}),_0x11fe8f[_0x3add17(0x3e8)]=_0x3add17(0x2a0);const _0x4f895e=ht,_0x4d06fb=Me-hr,_0x538248=ts-0x2*ht;if(_0x2e80a0>_0x538248){let _0x149090='',_0x1f9d76=0x0;for(const _0x117e2d of _0x4f3ee6){const _0x4bf0bc=_0x11fe8f[_0x3add17(0x278)](_0x117e2d)[_0x3add17(0x43e)];if(_0x1f9d76+_0x4bf0bc<=_0x538248-_0x11fe8f['measureText'](_0x3add17(0x469))['width'])_0x149090+=_0x117e2d,_0x1f9d76+=_0x4bf0bc;else{_0x149090+=_0x3add17(0x469);break;}}_0x11fe8f[_0x3add17(0x1ff)](_0x149090,_0x4f895e,_0x4d06fb);}else _0x11fe8f[_0x3add17(0x1ff)](_0x4f3ee6,_0x4f895e,_0x4d06fb);_0x11fe8f['restore']();}[_0x3e92f2(0x2ed)](_0x5f4d58){st['drawWith'](_0x5f4d58,this);}}const _r=0x1,ur=1.5;class dr extends _0x28d65b{constructor(_0x550a03,_0x2a90b4){const _0x118e62=_0x3e92f2;super(_0x550a03,_0x2a90b4),l(this,'_color'),l(this,'_hovered',!0x1),l(this,_0x118e62(0x1b7)),l(this,_0x118e62(0x27e),''),l(this,_0x118e62(0x289),_0x118e62(0x41a)),(_0x2a90b4&&this[_0x118e62(0x2d0)](_0x2a90b4),this[_0x118e62(0x1fd)][_0x118e62(0x3d0)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x118e62(0x3d0)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3e92f2(0x2d0)](_0x51bb8c){const _0x18ed24=_0x3e92f2;var _0x5a6592,_0xbd8d97,_0x211c90,_0x25cb43,_0x459466;this[_0x18ed24(0x422)]=(_0x5a6592=_0x51bb8c[_0x18ed24(0x26f)])!=null?_0x5a6592:this[_0x18ed24(0x422)],this['_hovered']=(_0xbd8d97=_0x51bb8c[_0x18ed24(0x266)])!=null?_0xbd8d97:this[_0x18ed24(0x1b4)],this[_0x18ed24(0x1b7)]=(_0x211c90=_0x51bb8c[_0x18ed24(0x2b8)])!=null?_0x211c90:this[_0x18ed24(0x1b7)],this[_0x18ed24(0x27e)]=(_0x25cb43=_0x51bb8c[_0x18ed24(0x2c2)])!=null?_0x25cb43:this[_0x18ed24(0x27e)],this[_0x18ed24(0x289)]=(_0x459466=_0x51bb8c[_0x18ed24(0x272)])!=null?_0x459466:this['_labelPosition'],this['transformByState']({'width':_0x51bb8c['width'],'height':_0x51bb8c[_0x18ed24(0x44c)]});}['onMouseMove'](_0x21a441){const _0x26190f=_0x3e92f2,{row:_0x2d355f,column:_0x5a680e}=_0x21a441;if(_0x2d355f>=this[_0x26190f(0x1b7)][_0x26190f(0x1a0)]&&_0x2d355f<=this[_0x26190f(0x1b7)]['endRow']&&_0x5a680e>=this['_range'][_0x26190f(0x24d)]&&_0x5a680e<=this['_range'][_0x26190f(0x20a)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x26190f(0x2d0)]({'hovered':!0x1});}['triggerDblclick'](_0x485f15){return!0x1;}[_0x3e92f2(0x2ed)](_0x307a66){const _0x454df6=_0x3e92f2;_0x1385ec[_0x454df6(0x42e)](_0x307a66,{'width':this[_0x454df6(0x43e)],'height':this[_0x454df6(0x44c)],'strokeWidth':ur,'stroke':this[_0x454df6(0x422)],'evented':!0x1}),this[_0x454df6(0x1b4)]&&(_0x307a66[_0x454df6(0x2c6)](),_0x307a66[_0x454df6(0x251)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x454df6(0x33d)?0x0:-Me),st[_0x454df6(0x42e)](_0x307a66,{'text':this[_0x454df6(0x27e)],'color':this['_color']}),_0x307a66[_0x454df6(0x4c6)]());}}var fr=Object[_0x3e92f2(0x340)],mr=Object['getOwnPropertyDescriptor'],gr=(_0x16ff91,_0x471d00,_0x43f741,_0x3887e2)=>{const _0xddcaea=_0x3e92f2;for(var _0x5e7d76=_0x3887e2>0x1?void 0x0:_0x3887e2?mr(_0x471d00,_0x43f741):_0x471d00,_0x1c76a5=_0x16ff91[_0xddcaea(0x1a4)]-0x1,_0x476d60;_0x1c76a5>=0x0;_0x1c76a5--)(_0x476d60=_0x16ff91[_0x1c76a5])&&(_0x5e7d76=(_0x3887e2?_0x476d60(_0x471d00,_0x43f741,_0x5e7d76):_0x476d60(_0x5e7d76))||_0x5e7d76);return _0x3887e2&&_0x5e7d76&&fr(_0x471d00,_0x43f741,_0x5e7d76),_0x5e7d76;},$e=(_0x23d1fc,_0x76549)=>(_0x26d044,_0x1c8bc3)=>_0x76549(_0x26d044,_0x1c8bc3,_0x23d1fc);const Sr=0x1389;let Ve=class extends _0x4c153b{constructor(_0x2d889e,_0x5ad382,_0x4af750,_0x38ceb8){const _0x2ff2ed=_0x3e92f2;super(),l(this,_0x2ff2ed(0x463),new Set()),l(this,_0x2ff2ed(0x37c),null),(this[_0x2ff2ed(0x487)]=_0x2d889e,this[_0x2ff2ed(0x1ef)]=_0x5ad382,this['_renderManagerService']=_0x4af750,this[_0x2ff2ed(0x1bb)]=_0x38ceb8,this[_0x2ff2ed(0x35e)]());}get['_sheetSkeletonManagerService'](){const _0x40ee62=_0x3e92f2;return this['_renderManagerService'][_0x40ee62(0x46c)](this['_univerInstanceService'][_0x40ee62(0x1cc)](_0x41ddf6[_0x40ee62(0x241)])[_0x40ee62(0x47a)]())[_0x40ee62(0x2b3)](_0x171d84);}get['_unitId'](){const _0x118237=_0x3e92f2;return this[_0x118237(0x1ef)][_0x118237(0x1cc)](_0x41ddf6[_0x118237(0x241)])['getUnitId']();}[_0x3e92f2(0x35e)](){const _0x3d9b03=_0x3e92f2;this[_0x3d9b03(0x30f)][_0x3d9b03(0x28b)]['pipe'](_0x8dafd9(this[_0x3d9b03(0x4b2)]),_0x3bc552(_0x2dfb0b=>{const _0x4437f6=_0x3d9b03;if(_0x2dfb0b){const _0x466ddd=_0x2dfb0b[_0x4437f6(0x233)];return _0x1d32ee(this['_collabCursorController']['getCollabCursors$'](this[_0x4437f6(0x402)]),this[_0x4437f6(0x1bb)][_0x4437f6(0x29c)])[_0x4437f6(0x407)](_0x4ed52e(([_0x51fdaf,_0x5da7ca])=>{const _0x1f0ec9=_0x4437f6,_0x4721fc=new Map();return _0x51fdaf[_0x1f0ec9(0x1b8)]((_0xa5569d,_0x5a028f)=>{const _0x4d25de=_0x1f0ec9;if(_0xa5569d[_0x4d25de(0x4cd)]===_0x466ddd){const _0x4c9a45={..._0xa5569d};_0x4c9a45[_0x4d25de(0x26f)]=_0x5da7ca[_0xa5569d['color']],_0x4721fc[_0x4d25de(0x2bc)](_0x5a028f,_0x4c9a45);}}),{'skeleton':_0x2dfb0b,'cursors':_0x4721fc};}));}return _0x53ae42({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x33113e,cursors:_0x2bd95c})=>{const _0x31e474=_0x3d9b03;this[_0x31e474(0x22a)](),_0x33113e&&this[_0x31e474(0x312)](_0x33113e,_0x2bd95c);}),this[_0x3d9b03(0x30f)][_0x3d9b03(0x28b)][_0x3d9b03(0x4be)](_0x47b26c=>{const _0x2e4492=_0x3d9b03;if(_0x47b26c==null)return;const {skeleton:_0x21ad26}=_0x47b26c,_0x1c464b=this[_0x2e4492(0x4cc)][_0x2e4492(0x46c)](this['_unitId']),{scene:_0x4d3c84}=_0x1c464b;_0x4d3c84[_0x2e4492(0x357)][_0x2e4492(0x3d0)](_0x561342(_0x4a3d9a=>{const _0x2ea32a=_0x2e4492;var _0x4ccf80,_0x5877f4;const {offsetX:_0x2881b3,offsetY:_0x2e6823}=_0x4a3d9a,{x:_0x1f6b14,y:_0x2b059b}=_0x4d3c84['getRelativeToViewportCoord'](_0x20338b['FromArray']([_0x2881b3,_0x2e6823])),{scaleX:_0x3448a3,scaleY:_0x312143}=_0x4d3c84[_0x2ea32a(0x3e6)](),_0x83293e=_0x4d3c84[_0x2ea32a(0x283)](_0x30f673[_0x2ea32a(0x431)]),_0x44afee=_0x4d3c84[_0x2ea32a(0x314)](_0x20338b[_0x2ea32a(0x3f1)]([_0x1f6b14,_0x2b059b]),_0x83293e),_0x9362b=_0x21ad26[_0x2ea32a(0x31e)](_0x2881b3,_0x2e6823,_0x3448a3,_0x312143,_0x44afee);((_0x4ccf80=this[_0x2ea32a(0x37c)])==null?void 0x0:_0x4ccf80[_0x2ea32a(0x1f5)])===_0x9362b[_0x2ea32a(0x1f5)]&&((_0x5877f4=this[_0x2ea32a(0x37c)])==null?void 0x0:_0x5877f4[_0x2ea32a(0x197)])===_0x9362b[_0x2ea32a(0x197)]||this[_0x2ea32a(0x463)][_0x2ea32a(0x1b8)](_0x2fba89=>{const _0x2281c5=_0x2ea32a;_0x2fba89[_0x2281c5(0x42a)](_0x9362b);});},0x64));});}[_0x3e92f2(0x312)](_0x2ee0da,_0x2d77a5){const _0x2fb4c2=_0x3e92f2;var _0x1af1b4;const _0x4edc2b=(_0x1af1b4=this['_sheetSkeletonManagerService'][_0x2fb4c2(0x4ba)]())==null?void 0x0:_0x1af1b4[_0x2fb4c2(0x205)];if(!_0x4edc2b)return;const _0x45b373=this[_0x2fb4c2(0x1ba)]();if(!_0x45b373)return;this[_0x2fb4c2(0x463)][_0x2fb4c2(0x1b8)](_0x38900d=>{const _0x499cff=_0x2fb4c2;_0x38900d[_0x499cff(0x417)]();});const {scene:_0x1cabff}=_0x45b373,_0xf9b3d1=vr(Array[_0x2fb4c2(0x473)](_0x2d77a5['values']()))[_0x2fb4c2(0x1be)](_0x3195eb=>{const _0x4c9ca6=_0x2fb4c2,{color:_0x1c0231,range:_0x581a3e,name:_0x9751b9,selection:_0x1fb9f6,sheetID:_0xc3576}=_0x3195eb,{startColumn:_0x491e82,startRow:_0x58261f,endColumn:_0x41b781,endRow:_0x206747}=_0x581a3e,_0x2033d5=_0x387ce0(_0x58261f,_0x491e82,_0x1cabff,_0x4edc2b),_0x2c94ea=_0x387ce0(_0x206747,_0x41b781,_0x1cabff,_0x4edc2b),{columnHeaderHeightAndMarginTop:_0x681b3}=_0x4edc2b,{startX:_0x2f95e9,startY:_0x61acf6}=_0x2033d5,{endX:_0xf66445,endY:_0x19270b}=_0x2c94ea,_0x15d85c=_0xf66445-_0x2f95e9,_0x45f4bc=_0x19270b-_0x61acf6,_0x5aad84={'labelPosition':_0x61acf6-_0x681b3>=Me?_0x4c9ca6(0x41a):'bottom','sheetID':_0xc3576,'range':_0x581a3e,'color':_0x1c0231,'name':_0x9751b9,'selection':_0x1fb9f6,'left':_0x2f95e9,'top':_0x61acf6,'width':_0x15d85c,'height':_0x45f4bc,'evented':!0x1,'zIndex':Sr};return new dr(_0x9751b9,_0x5aad84);});_0x1cabff[_0x2fb4c2(0x350)](_0xf9b3d1,_r),this[_0x2fb4c2(0x463)]=new Set(_0xf9b3d1);}[_0x3e92f2(0x22a)](){const _0x137294=_0x3e92f2;var _0x32c773;(_0x32c773=this[_0x137294(0x463)])==null||_0x32c773[_0x137294(0x1b8)](_0x4a66ac=>_0x4a66ac[_0x137294(0x25d)]());}[_0x3e92f2(0x1ba)](){const _0xd5468d=_0x3e92f2;return _0xa91384(this['_univerInstanceService'],this[_0xd5468d(0x4cc)]);}};Ve=gr([_0x405ab3(_0x57f2ea['Steady'],Ve),$e(0x0,_0xbbf94a(fe)),$e(0x1,_0x5f1ae0),$e(0x2,_0x5bdf6a),$e(0x3,_0xbbf94a(_0x441ca9))],Ve);function vr(_0x19b4f9){const _0x40b2a5=_0x3e92f2,_0x42649b=new Map();return _0x19b4f9[_0x40b2a5(0x1b8)](_0x3fadf0=>{const _0x4e0cc5=_0x40b2a5;if(_0x42649b[_0x4e0cc5(0x31c)](_0x3fadf0[_0x4e0cc5(0x240)])){const _0x56081b=_0x42649b['get'](_0x3fadf0[_0x4e0cc5(0x240)]);_0x56081b[_0x4e0cc5(0x2c2)]+=',\x20'+_0x3fadf0['name'];}else _0x42649b['set'](_0x3fadf0['selection'],_0x3fadf0);}),Array[_0x40b2a5(0x473)](_0x42649b['values']());}var A=function(){const _0x3efe9b=_0x3e92f2;return A=Object[_0x3efe9b(0x3ab)]||function(_0x302725){const _0x5b42e6=_0x3efe9b;for(var _0x50b036,_0x11508f=0x1,_0x56602e=arguments[_0x5b42e6(0x1a4)];_0x11508f<_0x56602e;_0x11508f++){_0x50b036=arguments[_0x11508f];for(var _0x4829b2 in _0x50b036)Object[_0x5b42e6(0x42b)][_0x5b42e6(0x3b8)][_0x5b42e6(0x49a)](_0x50b036,_0x4829b2)&&(_0x302725[_0x4829b2]=_0x50b036[_0x4829b2]);}return _0x302725;},A[_0x3efe9b(0x3ee)](this,arguments);},pr=function(_0x54e37e,_0x3b99d3){const _0x46c65c=_0x3e92f2;var _0x2977cb={};for(var _0x401f7c in _0x54e37e)Object[_0x46c65c(0x42b)][_0x46c65c(0x3b8)][_0x46c65c(0x49a)](_0x54e37e,_0x401f7c)&&_0x3b99d3[_0x46c65c(0x328)](_0x401f7c)<0x0&&(_0x2977cb[_0x401f7c]=_0x54e37e[_0x401f7c]);if(_0x54e37e!=null&&typeof Object[_0x46c65c(0x2e2)]=='function'){for(var _0x55e694=0x0,_0x401f7c=Object['getOwnPropertySymbols'](_0x54e37e);_0x55e694<_0x401f7c[_0x46c65c(0x1a4)];_0x55e694++)_0x3b99d3[_0x46c65c(0x328)](_0x401f7c[_0x55e694])<0x0&&Object[_0x46c65c(0x42b)][_0x46c65c(0x2d4)][_0x46c65c(0x49a)](_0x54e37e,_0x401f7c[_0x55e694])&&(_0x2977cb[_0x401f7c[_0x55e694]]=_0x54e37e[_0x401f7c[_0x55e694]]);}return _0x2977cb;},$t=_0xa872f9(function(_0x209221,_0x5c74ca){const _0x3169bc=_0x3e92f2;var _0x431d36=_0x209221['icon'],_0x4d6e56=_0x209221['id'],_0x29118c=_0x209221[_0x3169bc(0x3fb)],_0x18f95b=_0x209221[_0x3169bc(0x324)],_0x495327=pr(_0x209221,[_0x3169bc(0x260),'id',_0x3169bc(0x3fb),_0x3169bc(0x324)]),_0x583364=_0x3169bc(0x38d)[_0x3169bc(0x2f7)](_0x4d6e56,'\x20')[_0x3169bc(0x2f7)](_0x29118c||'')['trim'](),_0x191a30=_0x562615('_'[_0x3169bc(0x2f7)](Cr()));return As(_0x431d36,''['concat'](_0x4d6e56),{'defIds':_0x431d36[_0x3169bc(0x231)],'idSuffix':_0x191a30[_0x3169bc(0x1d1)]},A({'ref':_0x5c74ca,'className':_0x583364},_0x495327),_0x18f95b);});function As(_0x37dade,_0x334e16,_0x24211f,_0x4d707d,_0x23c098){const _0x28c2ad=_0x3e92f2;return _0x405505(_0x37dade[_0x28c2ad(0x1ec)],A(A({'key':_0x334e16},Ir(_0x37dade,_0x24211f,_0x23c098)),_0x4d707d),(Er(_0x37dade,_0x24211f)[_0x28c2ad(0x396)]||[])[_0x28c2ad(0x1be)](function(_0x1a091,_0x56d659){const _0xe80b1b=_0x28c2ad;return As(_0x1a091,''[_0xe80b1b(0x2f7)](_0x334e16,'-')['concat'](_0x37dade[_0xe80b1b(0x1ec)],'-')[_0xe80b1b(0x2f7)](_0x56d659),_0x24211f,void 0x0,_0x23c098);}));}function Ir(_0xd65aa3,_0x5b4897,_0x9ae7bc){const _0x1a579d=_0x3e92f2;var _0xe60071=A({},_0xd65aa3[_0x1a579d(0x3c1)]);_0x9ae7bc!=null&&_0x9ae7bc[_0x1a579d(0x48e)]&&_0xe60071[_0x1a579d(0x364)]===_0x1a579d(0x48e)&&(_0xe60071[_0x1a579d(0x364)]=_0x9ae7bc[_0x1a579d(0x48e)]);var _0x50572b=_0x5b4897['defIds'];return!_0x50572b||_0x50572b[_0x1a579d(0x1a4)]===0x0||(_0xd65aa3[_0x1a579d(0x1ec)]==='use'&&_0xe60071[_0x1a579d(0x1ac)]&&(_0xe60071['xlink:href']=_0xe60071[_0x1a579d(0x1ac)]+_0x5b4897[_0x1a579d(0x470)]),Object[_0x1a579d(0x41c)](_0xe60071)[_0x1a579d(0x1b8)](function(_0x351bfd){const _0x194be8=_0x1a579d;var _0x47ae38=_0x351bfd[0x0],_0x38b1af=_0x351bfd[0x1];typeof _0x38b1af==_0x194be8(0x3f4)&&(_0xe60071[_0x47ae38]=_0x38b1af['replace'](/url\(#(.*)\)/,'url(#$1'[_0x194be8(0x2f7)](_0x5b4897[_0x194be8(0x470)],')')));})),_0xe60071;}function Er(_0x470b02,_0x33ad03){const _0x4c4814=_0x3e92f2;var _0x31ed6c,_0xff2750=_0x33ad03[_0x4c4814(0x231)];return!_0xff2750||_0xff2750[_0x4c4814(0x1a4)]===0x0?_0x470b02:_0x470b02[_0x4c4814(0x1ec)]===_0x4c4814(0x3d7)&&(!((_0x31ed6c=_0x470b02[_0x4c4814(0x396)])===null||_0x31ed6c===void 0x0)&&_0x31ed6c[_0x4c4814(0x1a4)])?A(A({},_0x470b02),{'children':_0x470b02[_0x4c4814(0x396)]['map'](function(_0x52ff09){const _0x53b2df=_0x4c4814;return typeof _0x52ff09[_0x53b2df(0x3c1)]['id']=='string'&&_0xff2750&&_0xff2750['indexOf'](_0x52ff09[_0x53b2df(0x3c1)]['id'])>-0x1?A(A({},_0x52ff09),{'attrs':A(A({},_0x52ff09['attrs']),{'id':_0x52ff09[_0x53b2df(0x3c1)]['id']+_0x33ad03[_0x53b2df(0x470)]})}):_0x52ff09;})}):_0x470b02;}function Cr(){const _0x3ba6c2=_0x3e92f2;return Math[_0x3ba6c2(0x1d0)]()[_0x3ba6c2(0x264)](0x24)[_0x3ba6c2(0x30a)](0x2,0x8);}$t[_0x3e92f2(0x2ee)]=_0x3e92f2(0x259);var br={'tag':_0x3e92f2(0x28c),'attrs':{'fill':_0x3e92f2(0x444),'viewBox':_0x3e92f2(0x427),'width':_0x3e92f2(0x483),'height':_0x3e92f2(0x483)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e92f2(0x212)},'children':[{'tag':_0x3e92f2(0x199),'attrs':{'stroke':_0x3e92f2(0x19e),'d':_0x3e92f2(0x3c0),'strokeLinecap':'round','strokeLinejoin':_0x3e92f2(0x209),'strokeWidth':1.2}}]},{'tag':_0x3e92f2(0x3d7),'attrs':{},'children':[{'tag':_0x3e92f2(0x227),'attrs':{'id':_0x3e92f2(0x27f)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x3e92f2(0x46d)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Us=_0xa872f9(function(_0x44bc6c,_0x4233fe){const _0x1126fa=_0x3e92f2;return _0x405505($t,Object[_0x1126fa(0x3ab)]({},_0x44bc6c,{'id':'off-line-single','ref':_0x4233fe,'icon':br}));});Us[_0x3e92f2(0x2ee)]=_0x3e92f2(0x39c);var Tr={'tag':_0x3e92f2(0x28c),'attrs':{'fill':_0x3e92f2(0x444),'viewBox':_0x3e92f2(0x2f4),'width':_0x3e92f2(0x483),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3e92f2(0x31f)},'children':[{'tag':_0x3e92f2(0x199),'attrs':{'stroke':_0x3e92f2(0x19e),'d':_0x3e92f2(0x382),'strokeLinecap':_0x3e92f2(0x209),'strokeLinejoin':_0x3e92f2(0x209),'strokeWidth':1.2}}]},{'tag':_0x3e92f2(0x3d7),'attrs':{},'children':[{'tag':_0x3e92f2(0x227),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x3e92f2(0x199),'attrs':{'fill':'#fff','d':_0x3e92f2(0x46d),'transform':_0x3e92f2(0x3d1)}}]}]}],'defIds':['on-line-single_clip0_910_349']},ys=_0xa872f9(function(_0x47a61e,_0xe8352){return _0x405505($t,Object['assign']({},_0x47a61e,{'id':'on-line-single','ref':_0xe8352,'icon':Tr}));});ys[_0x3e92f2(0x2ee)]='OnLineSingle';const Rr=_0x3e92f2(0x3af),Or=_0x3e92f2(0x2e3),Dr=_0x3e92f2(0x1b2),wr=_0x3e92f2(0x40e),Pr='univer-offline',be={'onlineStatusIcon':Rr,'onlineStatusTitle':Or,'onlineStatus':Dr,'online':wr,'offline':Pr};function Nr(_0x2fb5b9){const _0x296bd7=_0x3e92f2;switch(_0x2fb5b9){case P[_0x296bd7(0x461)]:return _0x296bd7(0x406);case P[_0x296bd7(0x2ec)]:return'collabStatus.conflict';case P[_0x296bd7(0x455)]:return _0x296bd7(0x2fd);case P['NOT_COLLAB']:return _0x296bd7(0x392);case P[_0x296bd7(0x475)]:case P['AWAITING']:case P[_0x296bd7(0x2ce)]:return'collabStatus.syncing';case P[_0x296bd7(0x3dd)]:return _0x296bd7(0x330);}}function Mr(_0x3d4172){const _0x88f9f9=_0x3e92f2,{status$:_0x2b9ad3}=_0x3d4172,_0x2d529e=_0x26ca96(_0x2b9ad3,P['NOT_COLLAB']),_0x359d9d=_0x1e1af6(_0x6789ab),_0x2d13e4=_0x2d529e!==P['OFFLINE'],_0x39d108=_0x359d9d['t'](Nr(_0x2d529e)),_0x54823f=_0x3f0cf9(be['onlineStatus'],{[be[_0x88f9f9(0x34a)]]:_0x2d13e4,[be[_0x88f9f9(0x258)]]:!_0x2d13e4}),_0x4bdbd6=_0x2d13e4?_0x12e564[_0x88f9f9(0x1de)](ys,null):_0x12e564['createElement'](Us,null);return _0x12e564[_0x88f9f9(0x1de)](_0x88f9f9(0x315),{'className':_0x54823f},_0x12e564[_0x88f9f9(0x1de)]('div',{'className':be[_0x88f9f9(0x420)]},_0x4bdbd6),_0x12e564[_0x88f9f9(0x1de)]('div',{'className':be[_0x88f9f9(0x3d2)]},_0x39d108));}var Ar=Object[_0x3e92f2(0x340)],Ur=Object['getOwnPropertyDescriptor'],yr=(_0x474a6b,_0x662c98,_0x22ae9a,_0x1924f9)=>{for(var _0x2df893=_0x1924f9>0x1?void 0x0:_0x1924f9?Ur(_0x662c98,_0x22ae9a):_0x662c98,_0x4ffbb6=_0x474a6b['length']-0x1,_0x4b192c;_0x4ffbb6>=0x0;_0x4ffbb6--)(_0x4b192c=_0x474a6b[_0x4ffbb6])&&(_0x2df893=(_0x1924f9?_0x4b192c(_0x662c98,_0x22ae9a,_0x2df893):_0x4b192c(_0x2df893))||_0x2df893);return _0x1924f9&&_0x2df893&&Ar(_0x662c98,_0x22ae9a,_0x2df893),_0x2df893;},je=(_0x14632a,_0x385127)=>(_0x528be3,_0x1530e0)=>_0x385127(_0x528be3,_0x1530e0,_0x14632a);let Be=class extends _0x1f0611{constructor(_0x38ed25,_0x3ed8fd,_0x4de8e7,_0x12edd8){const _0x31bf28=_0x3e92f2;super(),l(this,_0x31bf28(0x489),new _0x4d79d8(P['NOT_COLLAB'])),(this[_0x31bf28(0x1ef)]=_0x38ed25,this[_0x31bf28(0x3bf)]=_0x3ed8fd,this['_injector']=_0x4de8e7,this[_0x31bf28(0x464)]=_0x12edd8,this[_0x31bf28(0x459)](),this[_0x31bf28(0x268)]());}[_0x3e92f2(0x459)](){const _0x23170f=_0x3e92f2;this[_0x23170f(0x280)](this[_0x23170f(0x3bf)][_0x23170f(0x2bf)](_0x4f2b7f[_0x23170f(0x4af)],()=>_0x5396b8(Lr({'status$':this[_0x23170f(0x489)][_0x23170f(0x423)]()}),this['_injector'])));}[_0x3e92f2(0x268)](){const _0x5c25ce=_0x3e92f2;this[_0x5c25ce(0x280)](_0x38ac23(this[_0x5c25ce(0x1ef)][_0x5c25ce(0x21b)][_0x5c25ce(0x407)](_0x10f218(()=>{const _0x4bc2b1=_0x5c25ce,_0x167d1d=this[_0x4bc2b1(0x1ef)][_0x4bc2b1(0x380)]();return _0x167d1d?this[_0x4bc2b1(0x464)]['getCollabEntity$'](_0x167d1d[_0x4bc2b1(0x47a)]()):_0x53ae42(null);}),_0x10f218(_0x54c32d=>_0x54c32d?_0x54c32d[_0x5c25ce(0x4a1)]:_0x53ae42(P[_0x5c25ce(0x41b)])))[_0x5c25ce(0x4be)](_0x2347f7=>{const _0x5ccb95=_0x5c25ce;this['_status$'][_0x5ccb95(0x3ea)](_0x2347f7);})));}};Be=yr([_0x405ab3(_0x57f2ea[_0x3e92f2(0x1e8)],Be),je(0x0,_0x5f1ae0),je(0x1,_0x49a90c),je(0x2,_0xbbf94a(_0xa8f435)),je(0x3,_0xbbf94a(De))],Be);function Lr(_0x725896){const {status$:_0x44f6af}=_0x725896;return function(){const _0x2cf805=_0x4256;return _0x12e564[_0x2cf805(0x1de)](Mr,{'status$':_0x44f6af});};}const Ls=_0x3195f2(_0x3e92f2(0x3e3));var $r=Object[_0x3e92f2(0x340)],jr=Object[_0x3e92f2(0x2d2)],Hr=(_0x12b299,_0x56d496,_0x3c993c,_0x59a2b8)=>{const _0x41e90a=_0x3e92f2;for(var _0x3ef090=_0x59a2b8>0x1?void 0x0:_0x59a2b8?jr(_0x56d496,_0x3c993c):_0x56d496,_0x4ee151=_0x12b299[_0x41e90a(0x1a4)]-0x1,_0x348f93;_0x4ee151>=0x0;_0x4ee151--)(_0x348f93=_0x12b299[_0x4ee151])&&(_0x3ef090=(_0x59a2b8?_0x348f93(_0x56d496,_0x3c993c,_0x3ef090):_0x348f93(_0x3ef090))||_0x3ef090);return _0x59a2b8&&_0x3ef090&&$r(_0x56d496,_0x3c993c,_0x3ef090),_0x3ef090;},le=(_0x40604e,_0x376b37)=>(_0x299cb7,_0x4447db)=>_0x376b37(_0x299cb7,_0x4447db,_0x40604e);let ke=class extends _0x4c153b{constructor(_0x36403d,_0x36aa1c,_0x2bd49a,_0xc660c2,_0x2b21cf,_0x46846e){const _0x5c0a73=_0x3e92f2;super(),this[_0x5c0a73(0x4a2)]=_0x36403d,this[_0x5c0a73(0x27b)]=_0x36aa1c,this[_0x5c0a73(0x1f2)]=_0x2bd49a,this['_localCacheService']=_0xc660c2,this[_0x5c0a73(0x249)]=_0x2b21cf,_0x46846e?_0x46846e==null||_0x46846e['whenReady']()[_0x5c0a73(0x31d)](()=>this[_0x5c0a73(0x35e)]()):(this[_0x5c0a73(0x27b)][_0x5c0a73(0x2f1)](_0x5c0a73(0x1b0),_0x5c0a73(0x48b)),this[_0x5c0a73(0x35e)]());}async[_0x3e92f2(0x35e)](){const _0x1d88fe=_0x3e92f2,_0x31d6af=this[_0x1d88fe(0x4a2)][_0x1d88fe(0x2eb)](_0x1d88fe(0x4b4)),_0x4b9f18=this['_urlService'][_0x1d88fe(0x2eb)]('type');if(!_0x31d6af||!_0x4b9f18){this['_logService'][_0x1d88fe(0x2f1)]('[DataLoaderController]',_0x1d88fe(0x1d9));return;}switch(Number(_0x4b9f18)){case H[_0x1d88fe(0x241)]:{const _0xcb74d8=await this['_loadSheet'](_0x31d6af);this[_0x1d88fe(0x1db)](_0xcb74d8);break;}case H[_0x1d88fe(0x2e1)]:{await this['_loadDoc'](_0x31d6af);break;}default:{this[_0x1d88fe(0x27b)]['error'](_0x1d88fe(0x1b0),_0x1d88fe(0x43d));break;}}}async['_setupSubUnitSync'](_0x104000){const _0xe0713a=_0x3e92f2;await this[_0xe0713a(0x387)](_0x104000),_0x104000[_0xe0713a(0x3b6)]['pipe'](_0x254c9c(this[_0xe0713a(0x4b2)]))['subscribe'](_0x4f06df=>{const _0x57f3f3=_0xe0713a;_0x4f06df&&this[_0x57f3f3(0x403)](_0x4f06df);}),this['_urlService'][_0xe0713a(0x36c)]['pipe'](_0x254c9c(this[_0xe0713a(0x4b2)]))[_0xe0713a(0x4be)](()=>this[_0xe0713a(0x387)](_0x104000));}[_0x3e92f2(0x403)](_0x2046d0,_0x2355c9=!0x1){const _0xb0a1b9=_0x3e92f2,_0x55cabb=this[_0xb0a1b9(0x4a2)][_0xb0a1b9(0x2eb)]('subunit');_0x2046d0[_0xb0a1b9(0x1fb)]()!==_0x55cabb&&this[_0xb0a1b9(0x4a2)][_0xb0a1b9(0x385)](_0xb0a1b9(0x3e9),_0x2046d0[_0xb0a1b9(0x1fb)](),_0x2355c9);}async[_0x3e92f2(0x387)](_0x2bc142){const _0x2ac303=_0x3e92f2;var _0x233935;const _0x8b9390=this[_0x2ac303(0x4a2)]['getParam'](_0x2ac303(0x3e9));if(!_0x8b9390||!_0x2bc142[_0x2ac303(0x42f)](_0x8b9390)){const _0x7d0fee=_0x2bc142[_0x2ac303(0x2a6)]()[0x0],_0x32e119=_0x2bc142['getSheetBySheetId'](_0x7d0fee);if(!_0x32e119)return;this[_0x2ac303(0x403)](_0x32e119,!0x0),await this['_commandService'][_0x2ac303(0x230)](_0x19d32b['id'],{'unitId':_0x2bc142[_0x2ac303(0x47a)](),'subUnitId':_0x7d0fee});return;}((_0x233935=_0x2bc142[_0x2ac303(0x2d7)]())==null?void 0x0:_0x233935['getSheetId']())!==_0x8b9390&&await this[_0x2ac303(0x1f2)]['executeCommand'](_0x19d32b['id'],{'unitId':_0x2bc142[_0x2ac303(0x47a)](),'subUnitId':_0x8b9390});}async[_0x3e92f2(0x1d4)](_0x20ff51){const _0x4250fb=_0x3e92f2;let _0xfa2acd=0x0;const _0x65425d=await this['_localCacheService'][_0x4250fb(0x4bc)](_0x20ff51);return _0x65425d&&(_0x65425d[_0x4250fb(0x2b2)]||_0x65425d[_0x4250fb(0x1d5)][_0x4250fb(0x1a4)]!==0x0)&&(_0xfa2acd=_0x65425d[_0x4250fb(0x438)]),_0xfa2acd===0x0&&this[_0x4250fb(0x27b)][_0x4250fb(0x2f1)](_0x4250fb(0x1b0),_0x4250fb(0x2d3)),this[_0x4250fb(0x249)][_0x4250fb(0x339)](_0x20ff51,_0xfa2acd);}async[_0x3e92f2(0x237)](_0x18e064){const _0x43df67=_0x3e92f2;let _0x3e66f9=0x0;const _0x325de1=await this[_0x43df67(0x2d9)]['loadOfflineData'](_0x18e064);return _0x325de1&&(_0x325de1[_0x43df67(0x2b2)]||_0x325de1[_0x43df67(0x1d5)][_0x43df67(0x1a4)]!==0x0)&&(_0x3e66f9=_0x325de1['rev']),_0x3e66f9===0x0&&this[_0x43df67(0x27b)][_0x43df67(0x2f1)]('[DataLoaderController]',_0x43df67(0x2d3)),this['_snapshotService'][_0x43df67(0x1f7)](_0x18e064,_0x3e66f9);}};ke=Hr([_0x405ab3(_0x57f2ea[_0x3e92f2(0x1e8)],ke),le(0x0,Ls),le(0x1,_0x46d807),le(0x2,_0x109aa8),le(0x3,_0xbbf94a(D)),le(0x4,_0xbbf94a(_0x4d5681)),le(0x5,_0x3668b1(_0x2066c7))],ke);var xr=Object['defineProperty'],Fr=Object[_0x3e92f2(0x2d2)],Vr=(_0x7e162e,_0x3c3523,_0xdf078b,_0x522fb9)=>{const _0x26702e=_0x3e92f2;for(var _0x6ced67=_0x522fb9>0x1?void 0x0:_0x522fb9?Fr(_0x3c3523,_0xdf078b):_0x3c3523,_0x38c9ac=_0x7e162e[_0x26702e(0x1a4)]-0x1,_0x17e346;_0x38c9ac>=0x0;_0x38c9ac--)(_0x17e346=_0x7e162e[_0x38c9ac])&&(_0x6ced67=(_0x522fb9?_0x17e346(_0x3c3523,_0xdf078b,_0x6ced67):_0x17e346(_0x6ced67))||_0x6ced67);return _0x522fb9&&_0x6ced67&&xr(_0x3c3523,_0xdf078b,_0x6ced67),_0x6ced67;},ss=(_0x3cae2d,_0x1e8a94)=>(_0x25152a,_0x420645)=>_0x1e8a94(_0x25152a,_0x420645,_0x3cae2d);const Br=_0x3e92f2(0x26c),kr=_0x3e92f2(0x447);let We=class extends _0x1f0611{constructor(_0x337a18,_0x21461b){const _0x2bab03=_0x3e92f2;super(),this[_0x2bab03(0x1ef)]=_0x337a18,this[_0x2bab03(0x292)]=_0x21461b,this['_init']();}[_0x3e92f2(0x35e)](){const _0x233140=_0x3e92f2;this[_0x233140(0x280)](_0x38ac23(this['_univerInstanceService'][_0x233140(0x21b)]['subscribe'](()=>{const _0x231b63=_0x233140;var _0x27760a;const _0x5518c8=this[_0x231b63(0x1ef)][_0x231b63(0x380)]();let _0x2a4cbd=(_0x27760a=this[_0x231b63(0x292)][_0x231b63(0x361)](Br))!=null?_0x27760a:kr;_0x5518c8 instanceof _0x15b410&&(_0x2a4cbd=_0x5518c8['name']),document['title']=_0x2a4cbd;})));}};We=Vr([_0x405ab3(_0x57f2ea[_0x3e92f2(0x20f)],We),ss(0x0,_0x5f1ae0),ss(0x1,_0x523c70)],We);var Wr=Object['defineProperty'],Gr=Object[_0x3e92f2(0x2d2)],Yr=(_0x2025d2,_0x33702e,_0x1eac24,_0x46d895)=>{const _0x508ccd=_0x3e92f2;for(var _0x501942=_0x46d895>0x1?void 0x0:_0x46d895?Gr(_0x33702e,_0x1eac24):_0x33702e,_0x5b7636=_0x2025d2[_0x508ccd(0x1a4)]-0x1,_0x1a1d0f;_0x5b7636>=0x0;_0x5b7636--)(_0x1a1d0f=_0x2025d2[_0x5b7636])&&(_0x501942=(_0x46d895?_0x1a1d0f(_0x33702e,_0x1eac24,_0x501942):_0x1a1d0f(_0x501942))||_0x501942);return _0x46d895&&_0x501942&&Wr(_0x33702e,_0x1eac24,_0x501942),_0x501942;},is=(_0x4fb32f,_0x453534)=>(_0x3da238,_0x3e398a)=>_0x453534(_0x3da238,_0x3e398a,_0x4fb32f);let Ct=class{constructor(_0x5b2de8,_0x59d17d){const _0x5ede65=_0x3e92f2;this[_0x5ede65(0x292)]=_0x5b2de8,this[_0x5ede65(0x35f)]=_0x59d17d;}async['getUnitOnRev'](_0x51afb7,_0x1b6e32){const _0x4ff5c2=_0x3e92f2;var _0x56e1ee;const {unitID:_0x27d37f,type:_0x29019e,revision:_0x4475f6=0x0}=_0x1b6e32,_0x47bed0=this[_0x4ff5c2(0x318)]()+'/'+_0x29019e+_0x4ff5c2(0x1e7)+_0x27d37f+_0x4ff5c2(0x22b)+(_0x4475f6===0x1?0x0:_0x4475f6),_0xef166f=(await this[_0x4ff5c2(0x35f)][_0x4ff5c2(0x2d5)](_0x47bed0))[_0x4ff5c2(0x46e)],_0x26a6c8=(_0x56e1ee=_0xef166f[_0x4ff5c2(0x446)])==null?void 0x0:_0x56e1ee[_0x4ff5c2(0x348)];if(_0x26a6c8){const _0x5f21ed=_0x26a6c8==null?void 0x0:_0x26a6c8['originalMeta'],_0x1a9e72=_0x518061['encode'](_0x2439d9(_0x5f21ed));_0x26a6c8[_0x4ff5c2(0x29b)]=_0x1a9e72,Object[_0x4ff5c2(0x41c)](_0x26a6c8[_0x4ff5c2(0x1a7)])[_0x4ff5c2(0x1b8)](([,_0x5b8678])=>{const _0x1d9f24=_0x4ff5c2,_0xbbe425=_0x5b8678[_0x1d9f24(0x29b)],_0x1041c1=_0x518061['encode'](_0x2439d9(_0xbbe425));_0x5b8678['originalMeta']=_0x1041c1;});}return _0xef166f;}async[_0x3e92f2(0x30b)](_0x1a4812,_0x4e6883){const _0x4ffb20=_0x3e92f2,{unitID:_0x4ceda3,type:_0x4fb9d7,blockID:_0x3bf547}=_0x4e6883,_0x41eae0=this[_0x4ffb20(0x2fc)]()+'/'+_0x4fb9d7+_0x4ffb20(0x1e7)+_0x4ceda3+'/block/'+_0x3bf547;return(await this[_0x4ffb20(0x35f)][_0x4ffb20(0x2d5)](_0x41eae0))[_0x4ffb20(0x46e)];}async[_0x3e92f2(0x39e)](_0xca4f37,_0x549247){const _0x153c8c=_0x3e92f2,{unitID:_0x9ae6ab,type:_0x51a1a1,from:_0x424ddb,to:_0xd53516}=_0x549247,_0x5786d6=this[_0x153c8c(0x2fc)]()+'/'+_0x51a1a1+_0x153c8c(0x1e7)+_0x9ae6ab+_0x153c8c(0x365)+_0x424ddb+'&to='+_0xd53516;return(await this['_httpService'][_0x153c8c(0x2d5)](_0x5786d6))['body'];}[_0x3e92f2(0x318)](){const _0x4ae67c=_0x3e92f2;var _0x5a7c99;return(_0x5a7c99=this[_0x4ae67c(0x292)][_0x4ae67c(0x361)](qi))!=null?_0x5a7c99:this[_0x4ae67c(0x2fc)]();}[_0x3e92f2(0x2fc)](){const _0x4f4c41=_0x3e92f2;var _0x1ff68c;return(_0x1ff68c=this[_0x4f4c41(0x292)][_0x4f4c41(0x361)](Ji))!=null?_0x1ff68c:zi;}async[_0x3e92f2(0x19d)](_0x3ec5f0,_0x2b7940){const _0x4d9f48=_0x3e92f2,_0x131735=_0x4d9f48(0x1f1)+_0x2b7940[_0x4d9f48(0x342)]+_0x4d9f48(0x1e7)+_0x2b7940['unitID']+_0x4d9f48(0x2de);return(await this[_0x4d9f48(0x35f)][_0x4d9f48(0x2d5)](_0x131735,{'params':{'resourceId':JSON[_0x4d9f48(0x20d)](_0x2b7940[_0x4d9f48(0x269)])}}))['body'];}[_0x3e92f2(0x3b7)](){const _0x5ab4e4=_0x3e92f2;throw new Error(_0x5ab4e4(0x41e));}[_0x3e92f2(0x32d)](){const _0x52d187=_0x3e92f2;throw new Error(_0x52d187(0x41e));}[_0x3e92f2(0x23f)](){const _0x116862=_0x3e92f2;throw new Error(_0x116862(0x41e));}};Ct=Yr([is(0x0,_0x523c70),is(0x1,_0xbbf94a(_0x50f6b0))],Ct);var Kr=Object[_0x3e92f2(0x340)],Xr=Object[_0x3e92f2(0x2d2)],Jr=(_0x5ec31e,_0x5bcec4,_0x1c6970,_0x39ba59)=>{const _0xde4d70=_0x3e92f2;for(var _0x57c9a0=_0x39ba59>0x1?void 0x0:_0x39ba59?Xr(_0x5bcec4,_0x1c6970):_0x5bcec4,_0x2719e5=_0x5ec31e[_0xde4d70(0x1a4)]-0x1,_0x3bcf1e;_0x2719e5>=0x0;_0x2719e5--)(_0x3bcf1e=_0x5ec31e[_0x2719e5])&&(_0x57c9a0=(_0x39ba59?_0x3bcf1e(_0x5bcec4,_0x1c6970,_0x57c9a0):_0x3bcf1e(_0x57c9a0))||_0x57c9a0);return _0x39ba59&&_0x57c9a0&&Kr(_0x5bcec4,_0x1c6970,_0x57c9a0),_0x57c9a0;},Te=(_0x17a2c8,_0x2c4999)=>(_0xe22495,_0x223698)=>_0x2c4999(_0xe22495,_0x223698,_0x17a2c8);let bt=class extends _0x13c2f6{constructor(_0x3fe203,_0xaa9d71,_0x1fe3f5,_0x1c89d0,_0x37487d){super(_0x3fe203,_0xaa9d71,_0x1fe3f5),this['_transformService']=_0x1c89d0,this['_logService']=_0x37487d;}[_0x3e92f2(0x250)](_0x111760,_0x521a28){const _0x3b2810=_0x3e92f2,_0x3ebaca=this[_0x3b2810(0x3a9)](_0x111760);if(_0x3ebaca)try{const _0x4f11f2=this[_0x3b2810(0x323)](_0x3ebaca,_0x521a28);this[_0x3b2810(0x34b)](_0x111760,_0x4f11f2);}catch(_0x5e8bf9){this['_logService'][_0x3b2810(0x23c)]('[CollaborationUndoRedoService]',_0x5e8bf9),this[_0x3b2810(0x2ca)](_0x111760);}const _0xac13eb=this['_getRedoStack'](_0x111760);if(_0xac13eb)try{const _0x31bb8e=this[_0x3b2810(0x323)](_0xac13eb,_0x521a28);this['_substituteRedoStack'](_0x111760,_0x31bb8e);}catch(_0x5a954b){this[_0x3b2810(0x27b)][_0x3b2810(0x23c)](_0x5a954b),this[_0x3b2810(0x40d)](_0x111760);}}['_clearUndo'](_0x11ecbb){const _0x7fd591=_0x3e92f2,_0x5c8861=this[_0x7fd591(0x3a9)](_0x11ecbb);_0x5c8861&&(_0x5c8861[_0x7fd591(0x1a4)]=0x0,this[_0x7fd591(0x28f)]());}[_0x3e92f2(0x40d)](_0x3a9000){const _0x5bb971=_0x3e92f2,_0x45a238=this[_0x5bb971(0x45d)](_0x3a9000);_0x45a238&&(_0x45a238[_0x5bb971(0x1a4)]=0x0,this['_updateStatus']());}[_0x3e92f2(0x34b)](_0x4e75a0,_0x88047b){const _0x5f3a3e=_0x3e92f2;this['_undoStacks'][_0x5f3a3e(0x2bc)](_0x4e75a0,_0x88047b),this[_0x5f3a3e(0x28f)]();}[_0x3e92f2(0x386)](_0x6777c,_0x8197ec){const _0x464d2c=_0x3e92f2;this['_redoStacks'][_0x464d2c(0x2bc)](_0x6777c,_0x8197ec),this['_updateStatus']();}[_0x3e92f2(0x323)](_0x5e9227,_0x375a6e){const _0x5f5646=_0x3e92f2,_0x5cb246=[];let _0x20ec61=_0x375a6e,_0x3e8dd2=_0x375a6e;for(let _0x25da05=_0x5e9227['length']-0x1;_0x25da05>=0x0;_0x25da05--){const {unitID:_0x3e8dc0,undoMutations:_0x5c9d4e,redoMutations:_0x4c536b}=_0x5e9227[_0x25da05],_0x360f9e=this[_0x5f5646(0x22e)]['transformMutationsWithChangeset'](_0x20ec61,_0x5c9d4e),_0x510fc3=this[_0x5f5646(0x22e)][_0x5f5646(0x242)](_0x3e8dd2,_0x4c536b);if(_0x27cfca(_0x360f9e)||_0x27cfca(_0x510fc3)){this[_0x5f5646(0x27b)][_0x5f5646(0x23c)](_0x5f5646(0x38c),_0x5f5646(0x21e),_0x360f9e,_0x510fc3);break;}_0x20ec61=_0x360f9e['c1Prime'],_0x3e8dd2=_0x510fc3[_0x5f5646(0x2e7)],_0x5cb246[_0x5f5646(0x2cb)]({'unitID':_0x3e8dc0,'undoMutations':_0x360f9e[_0x5f5646(0x2fb)],'redoMutations':_0x510fc3[_0x5f5646(0x2fb)]});}return _0x5cb246[_0x5f5646(0x343)]();}};bt=Jr([Te(0x0,_0x5f1ae0),Te(0x1,_0x109aa8),Te(0x2,_0x114c9b),Te(0x3,_0x1b279b),Te(0x4,_0x46d807)],bt);class zr extends _0x4c153b{constructor(){const _0x1eaae1=_0x3e92f2;super(),l(this,_0x1eaae1(0x36c)),this[_0x1eaae1(0x36c)]=_0x236f67(window,_0x1eaae1(0x474))[_0x1eaae1(0x407)](_0x254c9c(this['dispose$']),_0x839af7(0x1),_0x582e14(void 0x0));}[_0x3e92f2(0x385)](_0x45790a,_0x2e9ecd,_0x135bca=!0x1){const _0x29693b=_0x3e92f2,_0x2a6c16=new URL(window[_0x29693b(0x252)][_0x29693b(0x270)]);_0x2a6c16['searchParams'][_0x29693b(0x2bc)](_0x45790a,_0x2e9ecd),_0x135bca?window[_0x29693b(0x1fc)][_0x29693b(0x1e2)]('','',_0x2a6c16[_0x29693b(0x264)]()):window[_0x29693b(0x1fc)]['pushState']('','',_0x2a6c16[_0x29693b(0x264)]());}[_0x3e92f2(0x4b8)](_0x51fa83,_0x2ec1e5=!0x1){const _0x22c83c=_0x3e92f2,_0x5eb55f=new URL(window[_0x22c83c(0x252)][_0x22c83c(0x270)]);_0x5eb55f[_0x22c83c(0x415)][_0x22c83c(0x36f)](_0x51fa83),_0x2ec1e5?window[_0x22c83c(0x1fc)][_0x22c83c(0x1e2)]('','',_0x5eb55f[_0x22c83c(0x264)]()):window[_0x22c83c(0x1fc)]['pushState']('','',_0x5eb55f[_0x22c83c(0x264)]());}['getParam'](_0x3d9255){const _0x56dc48=_0x3e92f2;var _0x441308;return(_0x441308=new URL(window[_0x56dc48(0x252)]['href'])[_0x56dc48(0x415)][_0x56dc48(0x2d5)](_0x3d9255))!=null?_0x441308:void 0x0;}}const lt=_0x3e92f2(0x3ba),qr=_0x3e92f2(0x451),He=0x6,Zr=1.5,_t=0x4,Qr=1.5,eo=_0x3e92f2(0x248);class to{constructor(_0x586dda,_0x2af316,_0xb82e82,_0xcd0c48){const _0x2aaa7a=_0x3e92f2;l(this,_0x2aaa7a(0x1dc),[]),l(this,_0x2aaa7a(0x3eb),null),l(this,_0x2aaa7a(0x3f7),null),l(this,_0x2aaa7a(0x3ff),null),l(this,_0x2aaa7a(0x43f),null),l(this,'_eventUnsubscribe',null),(this[_0x2aaa7a(0x3c3)]=_0x586dda,this[_0x2aaa7a(0x279)]=_0x2af316,this[_0x2aaa7a(0x2bd)]=_0xb82e82,this[_0x2aaa7a(0x478)]=_0xcd0c48,this[_0x2aaa7a(0x3da)]());}set[_0x3e92f2(0x1f3)](_0x481679){const _0x359f77=_0x3e92f2;_0x481679?(this[_0x359f77(0x3ff)]&&this['_anchorDot'][_0x359f77(0x33c)](),this[_0x359f77(0x3f7)]&&this[_0x359f77(0x3f7)][_0x359f77(0x3a7)]()):(this[_0x359f77(0x3ff)]&&this[_0x359f77(0x3ff)][_0x359f77(0x3a7)](),this[_0x359f77(0x3f7)]&&this[_0x359f77(0x3f7)][_0x359f77(0x33c)]());}[_0x3e92f2(0x25d)](){const _0x6a7e3e=_0x3e92f2;for(const _0xc90695 of this[_0x6a7e3e(0x1dc)])_0xc90695['dispose']();this['_textBubble']&&this[_0x6a7e3e(0x3f7)][_0x6a7e3e(0x25d)](),this[_0x6a7e3e(0x3ff)]&&this[_0x6a7e3e(0x3ff)][_0x6a7e3e(0x25d)](),this[_0x6a7e3e(0x3eb)]&&this[_0x6a7e3e(0x3eb)]['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x3e92f2(0x3da)](){const _0x59cc10=_0x3e92f2,{_docSkeleton:_0x21f7f8,_document:_0x5e5c75}=this,{color:_0x3c38fc,name:_0x29e9e5,ranges:_0x1c6a32}=this[_0x59cc10(0x3c3)],_0x5bc562=_0x5e5c75[_0x59cc10(0x1e6)](),{docsLeft:_0x48f25f,docsTop:_0xe6ac5f}=_0x5bc562,_0x336252=new _0xc0d7bf(_0x5bc562,_0x21f7f8);for(const {startOffset:_0x14a3d6,endOffset:_0x5a4e20,collapsed:_0x6b01aa,isActive:_0x962df3}of _0x1c6a32){const _0x5a5ef9=_0x21f7f8['findNodePositionByCharIndex'](_0x14a3d6),_0x37601e=_0x21f7f8[_0x59cc10(0x327)](_0x5a4e20);if(_0x962df3){const {contentBoxPointGroup:_0x238e46}=_0x336252[_0x59cc10(0x195)](_0x37601e,_0x37601e);if(_0x238e46['length']===0x0)continue;this[_0x59cc10(0x4ac)](_0x3c38fc,_0x238e46,_0x48f25f,_0xe6ac5f,_0x29e9e5),this['_eventUnsubscribe']=this['_handleHover']();}if(!_0x6b01aa){const {contentBoxPointGroup:_0x2cb6a9}=_0x336252[_0x59cc10(0x195)](_0x5a5ef9,_0x37601e);if(_0x2cb6a9['length']===0x0)continue;this[_0x59cc10(0x198)](_0x3c38fc,_0x2cb6a9,_0x48f25f,_0xe6ac5f);}}}[_0x3e92f2(0x4ac)](_0x21af6b,_0x5b94d6,_0x2391f7,_0x24967a,_0x287386){const _0x3f540b=_0x3e92f2,_0x5133e1=this[_0x3f540b(0x1bf)](_0x5b94d6),{left:_0x3f675b,top:_0x3b4bf1,height:_0x34cb29}=_0x5133e1,_0x433c03=this['_getScale'](),_0x5713f1=Qr/_0x433c03,_0x4ebf2c=new _0x1385ec(lt+_0x545ca3['generateRandomId'](He),{'left':_0x3f675b+_0x2391f7-_0x5713f1,'top':_0x3b4bf1+_0x24967a,'height':_0x34cb29,'width':Zr,'fill':_0x21af6b||_0x5afff8(_0x45d551[_0x3f540b(0x39a)],0x0),'strokeWidth':_0x5713f1,'stroke':eo,'evented':!0x0});this[_0x3f540b(0x3eb)]=_0x4ebf2c,this[_0x3f540b(0x279)][_0x3f540b(0x287)](_0x4ebf2c,_0x563281);const _0x319f85=new _0x1385ec(lt+_0x545ca3[_0x3f540b(0x3c4)](He),{'left':_0x3f675b+_0x2391f7-_0x5713f1,'top':_0x3b4bf1+_0x24967a-_t/0x2,'height':_t,'width':_t,'fill':_0x21af6b||_0x5afff8(_0x45d551[_0x3f540b(0x39a)],0x0),'strokeWidth':0x0,'stroke':_0x21af6b||_0x5afff8(_0x45d551['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x319f85,this[_0x3f540b(0x279)][_0x3f540b(0x287)](_0x319f85,_0x563281);const _0x3ec1eb=new st(lt+_0x545ca3[_0x3f540b(0x3c4)](He),{'left':_0x3f675b+_0x2391f7-_0x5713f1,'top':_0x3b4bf1+_0x24967a-Me,'text':_0x287386,'color':_0x21af6b});this['_textBubble']=_0x3ec1eb,this[_0x3f540b(0x279)][_0x3f540b(0x287)](_0x3ec1eb,_0x563281),this[_0x3f540b(0x1f3)]=!0x1;}['_handleHover'](){const _0x4d6856=_0x3e92f2,_0x43b5fb=this[_0x4d6856(0x3eb)][_0x4d6856(0x1fd)][_0x4d6856(0x3d0)](()=>{const _0x4828c8=_0x4d6856;this[_0x4828c8(0x1f3)]=!0x0;}),_0x261e48=this[_0x4d6856(0x3eb)][_0x4d6856(0x3e1)][_0x4d6856(0x3d0)](()=>{const _0x1f1729=_0x4d6856;this[_0x1f1729(0x43f)]&&clearTimeout(this['_hideTimer']),this[_0x1f1729(0x43f)]=setTimeout(()=>{const _0x331576=_0x1f1729;this[_0x331576(0x1f3)]=!0x1;},0x7d0);});return()=>{const _0x4abff6=_0x4d6856;_0x43b5fb[_0x4abff6(0x3b0)](),_0x261e48['unsubscribe']();};}[_0x3e92f2(0x198)](_0x4dca5f,_0x57dde3,_0x16e484,_0x1c9f82){const _0x5ca913=_0x3e92f2,_0x3a40fe=new _0xbc8d5d(_0x4dca5f)['setAlpha'](0.2)[_0x5ca913(0x245)](),_0x509bf3=new _0x49179d(qr+_0x545ca3[_0x5ca913(0x3c4)](He),{'pointsGroup':_0x57dde3,'fill':_0x3a40fe||_0x5afff8(_0x45d551[_0x5ca913(0x39a)],0.2),'left':_0x16e484,'top':_0x1c9f82,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5ca913(0x2cb)](_0x509bf3),this[_0x5ca913(0x279)][_0x5ca913(0x287)](_0x509bf3,_0x563281);}[_0x3e92f2(0x1bf)](_0x47a326){const _0x6f258c=_0x47a326[0x0],_0x25694d=_0x6f258c[0x0],_0x5089bd=_0x6f258c[0x2],{x:_0x3d41d5,y:_0x52768f}=_0x25694d,{x:_0x22b12b,y:_0x3d7898}=_0x5089bd;return{'left':_0x3d41d5,'top':_0x52768f,'width':_0x22b12b-_0x3d41d5,'height':_0x3d7898-_0x52768f};}[_0x3e92f2(0x3c6)](){const _0x3c13d6=_0x3e92f2,{scaleX:_0x57bb90,scaleY:_0x5de461}=this['_scene'][_0x3c13d6(0x3e6)]();return Math[_0x3c13d6(0x218)](_0x57bb90,_0x5de461);}}var so=Object[_0x3e92f2(0x340)],io=Object[_0x3e92f2(0x2d2)],no=(_0x352d74,_0x23314e,_0x3024c4,_0x314461)=>{const _0x22eb1f=_0x3e92f2;for(var _0x5eb649=_0x314461>0x1?void 0x0:_0x314461?io(_0x23314e,_0x3024c4):_0x23314e,_0x34b1ce=_0x352d74[_0x22eb1f(0x1a4)]-0x1,_0x3f5ea9;_0x34b1ce>=0x0;_0x34b1ce--)(_0x3f5ea9=_0x352d74[_0x34b1ce])&&(_0x5eb649=(_0x314461?_0x3f5ea9(_0x23314e,_0x3024c4,_0x5eb649):_0x3f5ea9(_0x5eb649))||_0x5eb649);return _0x314461&&_0x5eb649&&so(_0x23314e,_0x3024c4,_0x5eb649),_0x5eb649;},Re=(_0x48948c,_0xe59926)=>(_0x42be90,_0xde2211)=>_0xe59926(_0x42be90,_0xde2211,_0x48948c);let Ge=class extends _0x4c153b{constructor(_0x25fea9,_0x2df67c,_0x3847e5,_0xc63cc0,_0x1ea835){const _0x31e770=_0x3e92f2;super(),l(this,_0x31e770(0x463),[]),(this[_0x31e770(0x487)]=_0x25fea9,this[_0x31e770(0x1ef)]=_0x2df67c,this[_0x31e770(0x4cc)]=_0x3847e5,this[_0x31e770(0x221)]=_0xc63cc0,this[_0x31e770(0x1bb)]=_0x1ea835,this['_init']());}['_init'](){const _0x292424=_0x3e92f2;this[_0x292424(0x221)][_0x292424(0x28b)][_0x292424(0x407)](_0x8dafd9(this['dispose$']),_0x3bc552(_0x37b78e=>{const _0x15bdd9=_0x292424;if(_0x37b78e){const _0x1a2a54=_0x37b78e[_0x15bdd9(0x352)]()[_0x15bdd9(0x410)]()[_0x15bdd9(0x47a)]();return _0x1d32ee(this['_collabCursorController'][_0x15bdd9(0x235)](_0x1a2a54),this[_0x15bdd9(0x1bb)][_0x15bdd9(0x29c)])[_0x15bdd9(0x407)](_0x4ed52e(([_0x598fc4,_0x121082])=>({'skeleton':_0x37b78e,'cursors':[..._0x598fc4[_0x15bdd9(0x400)]()]['flatMap'](_0x4ca0bb=>({..._0x4ca0bb,'color':_0x121082[_0x4ca0bb[_0x15bdd9(0x26f)]]}))})));}return _0x53ae42({'skeleton':null,'cursors':[]});}))[_0x292424(0x4be)](({skeleton:_0x3b2d06,cursors:_0x547122})=>{const _0x1fede8=_0x292424;this[_0x1fede8(0x22a)](),_0x3b2d06&&this[_0x1fede8(0x312)](_0x3b2d06,_0x547122);});}['_updateCollabCursors'](_0x285f0b,_0x124f6a){const _0x40c384=_0x3e92f2,_0x435fed=this['_getDocObject']();if(_0x435fed==null)return;const {scene:_0x1a1f8b,document:_0x49e0bc}=_0x435fed,_0x54d27e=_0x124f6a[_0x40c384(0x1be)](_0x40ab7a=>new to(_0x40ab7a,_0x1a1f8b,_0x285f0b,_0x49e0bc));this[_0x40c384(0x463)]=_0x54d27e;}[_0x3e92f2(0x22a)](){const _0x1ba823=_0x3e92f2;this[_0x1ba823(0x463)][_0x1ba823(0x1b8)](_0x4a3f08=>_0x4a3f08[_0x1ba823(0x25d)]()),this[_0x1ba823(0x463)]=[];}[_0x3e92f2(0x285)](){const _0x3c9231=_0x3e92f2;return _0x14e6b6(this[_0x3c9231(0x1ef)],this[_0x3c9231(0x4cc)]);}};Ge=no([_0x405ab3(_0x57f2ea[_0x3e92f2(0x325)],Ge),Re(0x0,_0xbbf94a(fe)),Re(0x1,_0x5f1ae0),Re(0x2,_0x5bdf6a),Re(0x3,_0xbbf94a(_0x1e7be0)),Re(0x4,_0xbbf94a(_0x441ca9))],Ge);var ro=Object[_0x3e92f2(0x340)],oo=Object[_0x3e92f2(0x2d2)],ao=(_0x2eee88,_0x57d0d6,_0x3df2c9,_0x228a1e)=>{const _0x39ef11=_0x3e92f2;for(var _0x153564=_0x228a1e>0x1?void 0x0:_0x228a1e?oo(_0x57d0d6,_0x3df2c9):_0x57d0d6,_0x4a3037=_0x2eee88[_0x39ef11(0x1a4)]-0x1,_0x43ffbb;_0x4a3037>=0x0;_0x4a3037--)(_0x43ffbb=_0x2eee88[_0x4a3037])&&(_0x153564=(_0x228a1e?_0x43ffbb(_0x57d0d6,_0x3df2c9,_0x153564):_0x43ffbb(_0x153564))||_0x153564);return _0x228a1e&&_0x153564&&ro(_0x57d0d6,_0x3df2c9,_0x153564),_0x153564;},ut=(_0x5ae973,_0x41922c)=>(_0x37a8f7,_0x4def1f)=>_0x41922c(_0x37a8f7,_0x4def1f,_0x5ae973);let Ze=class{constructor(_0x100fca,_0x462866,_0x42ee03){const _0x11611c=_0x3e92f2;this[_0x11611c(0x292)]=_0x100fca,this[_0x11611c(0x35f)]=_0x462866,this[_0x11611c(0x375)]=_0x42ee03,this[_0x11611c(0x3bd)]();}[_0x3e92f2(0x3bd)](){const _0x2a0a4c=_0x3e92f2;this['_httpService'][_0x2a0a4c(0x4a8)]({'priority':0x1,'interceptor':(_0x1e7ac0,_0x5887b3)=>_0x5887b3(_0x1e7ac0)[_0x2a0a4c(0x407)](_0x4df13e(async _0x10c9ba=>{const _0x14767e=_0x2a0a4c,_0xd76187=_0x10c9ba;if(_0xd76187[_0x14767e(0x306)]===0x191&&window['confirm'](this[_0x14767e(0x375)]['t']('auth.needGotoLoginAlert'))){const _0x23b39c=window[_0x14767e(0x358)](window['location'][_0x14767e(0x270)]);window['location'][_0x14767e(0x270)]=this['_getLoginPath']()+_0x14767e(0x1e4)+_0x23b39c;}return _0xd76187;}))});}[_0x3e92f2(0x1ea)](){const _0x820d18=_0x3e92f2;var _0x35b3fe;return(_0x35b3fe=this[_0x820d18(0x292)][_0x820d18(0x361)](dn))!=null?_0x35b3fe:fn;}};function _0x2c8c(){const _0x80f7c2=['unitID','_getAPIPrefixPath','requireSession','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','fillRule','_remoteChangesetQueue','subscribeEvent','translate(.97)','onlineStatusTitle','LIVESHARE_FETCH_OPERATIONS','_initUnitPermissionChange','unload','getCollabEntity','defs','routeKey','updatePermissionObjEvent','_render','_unitOnClients','onTransformRemoteChangesetByIMECache','SYNCED','_getMergeRange','getCurrentUser','USERS_ENTER','onPointerLeave$','_createHandler','uni.network.url-service','_unitStatus','RemoveRowCommandId','getAncestorScale','_retryConnectingTimer','fillStyle','subunit','next','_anchor','RETRY_CONNECTING_MAX_COUNT','permission.content','apply','424360Fxwirp','_HTTPService','FromArray','ERROR_IMAGE_TYPE','SNAPSHOT_INVALID_SNAPSHOT','string','_disableEditing','enableAuthServer','_textBubble','univer-pro.collaboration-client.single-active-unit-service','startsWith','ws://127.0.0.1:8000/universer-api/comb/connect','className','setItem','RECV','socketService','_anchorDot','values','includes','_unitId','_updateURLWithCurrentState','[SyncedState]:\x20received\x20acknowledgement.','ONLINE','collabStatus.offline','pipe','_collabCursorState$','verdancy600','session.room-full','fetch_missing','message$','_clearRedo','univer-online','2611tgpVoa','getDataModel','sessionStatus','_entities','_clearCollaborationTimeoutTimer','jiqing500','searchParams','_heartbeatTimer','makeDirty','[PendingState]:\x20received\x20rejection.','_cachedData','top','NOT_COLLAB','entries','InsertRangeMoveDownCommandId','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onTransformIME','onlineStatusIcon','getMemberID','_color','asObservable','getInterceptPoints','HELLO','NOT_FOUND','0\x200\x2016\x2016','batchAllowed','COMPLETION_FINISHED','onMouseMove','prototype','_sendingTimer','_replayCachedMutations','drawWith','getSheetBySheetId','\x20-\x20','VIEW_MAIN','_docStateChangeManagerService','transformMutation','_updateLocalCache','51VmyfCs','roomMembers$','_commentUpdate$','rev','_pendingMutations','onSendChangeset','_localStorageService','getValue','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','width','_hideTimer','pauseCollaboration','AWAITING','append','_injector','none','csRejEvent','snapshot','Univer','syncEditingCollabCursor','_colorIndex','collaboration.single-unit.warning','COLLAB_SUBMIT_CHANGESET_URL','height','SUBMIT_CHANGESET','onload','getRoom','state','collab-text-range-','session.connection-failed','_setupBeforeClosingHandler','COLLAB_WEB_SOCKET_URL','FETCH_MISS','_onConnectionOpen','size','_messageService','_initStatusComponent','_onLocalMutation','CHANGESET_ACK','_handleLeaveEvent','_getRedoStack','SHOULD_CLOSE_CONN','collaboratorID','_queuedRemoteChangesets','OFFLINE','USERS_LEAVE','_cursors','_collaborationController','_handleJoinEvent','catch','submit\x20changeset\x20error!','_transformUndoRedoStack','...','INVALID_ARGUMENT','IDLE','getRenderById','M0\x200H16V16H0z','body','disposeUnit','idSuffix','docStateChange$','override','from','popstate','PENDING','/object/','_members','_document','118cYDYEk','getUnitId','updateCollaborator','YUUMI_URL_COL_OUT_OF_RANGE','_exhaustSavingTask','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','parse','OTHER_CLIENTS_EDITING','JOIN','createCollaborator','1em','open$','userID','FileId','_collabCursorController','isActive','_status$','put','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','[CollaborationSessionService]','_joinRoom','colorChannel1','isArray','1275794pYDfHf','find','_onConnectionFailed','editing\x20status\x20changed\x20to','clear','not_collab','collaborators','roles','_incrementRevisionNumber','_updateState','call','_getUploadFileURL','onCommandExecuted','InsertRowCommandId','_revisionService','_config','update','status$','_urlService','/-/object/list','_decreaseWaiting','_isPermissionRej','INTERNAL_ERROR','_removeRoom','registerHTTPInterceptor','updatePermissionPoint','ERROR_IMAGE','[CollaborationState]:\x20apply\x20error!','_drawAnchor','UNRECOGNIZED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','HEADER_MENU','fetching\x20missing\x20changesets\x20from\x20','ranges','dispose$','_localeService','unit','actions','lineTo','clearTimeout','removeParam','getWorkbookSelections','getCurrent','_saveTaskMap','loadOfflineData','split','subscribe','_applyRemoteChangeset','selections','getUnitStatus$','changesets','MSG_FOR_ERROR','_fetchMissChangesets','COMPRESS_MUTATION_APPLY','restore','onMissingChangesets','BASE64','_onRecvEvent','_awaitingChangeset','registerRefRange','_renderManagerService','sheetID','code','_initCloseConn','getRangePointData','_state$','row','_drawRange','path','_rescheduleHeartbeatEvent','create','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getResourcesRequest','currentColor','Error','startRow','cmd','removeMember','all','length','_http','_entityInit$','sheets','_scheduleTimestamp','_type','[OfflineState]:\x20received\x20changeset.','_session','xlink:href','close','_onRefRangeChange','eventID','[DataLoaderController]','Warning','univer-online-status','pending','_hovered','_schedule','UNIVER_UNKNOWN','_range','forEach','addImageSourceCache','_getSheetObject','_themeService','_acknowledgedAwaitingChangeset','_clearTimeoutTimer','map','_getAnchorBounding','resend','PERMISSION_REJ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','UNIVER_SLIDE','COMMENT_UPDATE','newValue','_getSignURL','_toggleOnline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collaborationTimeoutTimer','/-/object/-/batch_allowed','LIVESHARE_TERMINATE','getCurrentUnitForType','min','NEW_CHANGESETS','58257AcoIqh','random','current','commentUpdate$','_disabled','_loadSheet','mutations','roomMembers','_socket$','objectID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ACTIVE_UNIT_EVENT_CHANNEL','_setupSubUnitSync','_shapes','clearInterval','createElement','createInstance','HEARTBEAT_INTERVAL','updateCursorEvent','replaceState','_collaborationSessionService','?url=','ERROR_EXCEED_SIZE','getOffsetConfig','/unit/','Starting','_onJoinRoomEvent','_getLoginPath','liveShareOperation','tag','_replaceFileID','_beforeCloseService','_univerInstanceService','transformIMECache','/universer-api/snapshot/','_commandService','_hover','_send','column','UUID','loadDoc','_collabSessionService','_tryEnsureSocket','SUCCUSS','getSheetId','history','onPointerEnter$','_getCurrentRevision','fillText','_cursorInfo$','CHANGESET_REJ','_sendHeartbeat','_syncEditingCollabCursor','{fileID}','skeleton','baseRev','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','data','round','endColumn','_refRangeService','_scheduleReconnection','stringify','[CollaborationEntity]','Ready','setUndoRedoMutationParamsCache','pluginName','url(#off-line-single_clip0_910_343)','unshift','resolve','doc.mutation.rich-text-editing','[CollaborationSessionService]:\x20socket\x20error','_waitCount','max','_checkMissing','_onMessage','focused$','csAckEvent','assignAColorForMemberID','transformStack\x20failed!','_snapshotServerService','objectActions','_docSkeletonManagerService','_showConflictNotification','_executeRemoteChangeset','PERMISSION_DENIED','leaveEvent','UPDATE_CURSOR','clipPath','CONNECTOR_DATA_TOO_LARGE','send','_removeCollabCursors','/rev/','UNKNOWN_CMD','11656OrCWOV','_transformService','objectType','executeCommand','defIds','getCurrentRevForDocument','sheetId','UNAUTHENTICATED','getCollabCursors$','_onConflict','_loadDoc','_onFetchMissResult','toggleOnline','LOCAL_CACHE_INTERVAL','[CollaborationController]:\x20remote\x20changeset\x20applied\x20error.','error','YUUMI_UNABLE_LOAD_URL','_timeoutTimer','saveChangeset','selection','UNIVER_SHEET','transformMutationsWithChangeset','_selfUnitIDs','updateMember','toRgbString','_transformPreviousActiveRange','APPLY_PERMISSION_DENIED','rgba(255,\x20255,\x20255,\x200.01)','_snapshotService','_startDocCollabCursor','_submitChangeset','_createInitialStateImpl','startColumn','getUndoRedoMutationParamsCache','APPLY_REJECT','transformUndoRedo','transform','location','cursorInfo','LICENSE_EXPORT_SIZE_EXCEEDED','collaMsg','[CollaborationSession]','onRemoteRej','offline','UniverIcon','MUTATION','_ws','SEND_CHANGESET_TIMEOUT','dispose','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','objects','icon','_onCursorDelete','_onRemoteRejected','[SyncedState]:\x20received\x20rejection.','toString','deepClone','hovered','arc','_initStatusListener','resourceIDs','image/png','_onCombEvent','DEFAULT_FILE_NAME','_startSheetCollabCursor','_socketReady','color','href','updateOfflineData','labelPosition','_imageSourceCache','_clearLocalCache','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_toggleOffline','336tYqJeK','measureText','_scene','LICENSE_IMPORT_SIZE_EXCEEDED','_logService','setCurrentUser','_clearOtherTimers','_name','off-line-single_clip0_910_343','disposeWithMe','APPLY_REVISION_CONFILICT','incrementRevForDocument','getViewport','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getDocObject','_getCtorByUniverType','addObject','error$','_labelPosition','_online','currentSkeleton$','svg','\x20to\x20','_socketMessageSubscription','_updateStatus','_transformRemoteChangesetByIMECache','_getSaveTimeout','_configService','_onRemoteChangeset','getMergeData','COMPRESS_MUTATION_SEND','_removeClearOtherTimer','infoRsp','roomInfos','_clearHeartbeatTimer','HEARTBEAT','originalMeta','currentTheme$','conflict','_memberService','session','#FFF','15808FYSrSv','UNIVER_COLLABORATION_CLIENT_PLUGIN','transformSelections','collaborationUniverTypes','conflict.content','getUnhiddenWorksheets','_docTransformSelectionsService','/universer-api/authz','saveImage','_onUserLeave','connection\x20error','socket\x20close','_colorAssignService','LICENSE_MAX_UNITS_EXCEEDED','_socketService','\x0aAfter:\x20','_unitID','awaitingChangeset','with','onRemoteAck','JOINING','disableLocalCache','getUnitType','range','_roomMembers$','_assignedColors','_notificationService','set','_docSkeleton','file','registerComponent','Unknown\x20user','onStateChange','name','transformChangesets','FETCH_MISSING','filter','save','event$','UNKNOWN_CODE','getTypeOfUnitAdded$','_clearUndo','push','enableLocalCache','univer-pro.collaboration-client-socket-service','AWAITING_WITH_PENDING','_transitionLocked','setShapeProps','99TQhWzz','getOwnPropertyDescriptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','propertyIsEnumerable','get','LIVESHARE_OPERATION','getActiveSheet','4476gEPaSb','_localCacheService','onlyLocal','some','_change$','NO_OTHER_CLIENTS_EDITING','/resources','\x20in\x20_schedule.','_waitForHeartbeatResponse','UNIVER_DOC','getOwnPropertySymbols','univer-online-status-title','complete','reject','_createSocket','c1Prime','image/bmp','c2Prime','/universer-api/oidc/authpage','getParam','CONFLICT','_draw','displayName','cursorInfo$','_transformSelections','debug','storage','_userManagerService','0\x200\x2017\x2016','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','concat','_startCollaboration','post','font','m2Prime','_getAPIPrefix','collabStatus.fetchMiss','contains','RETRY_CONNECTING_INTERVAL','/allowed','awaiting_with_pending','getTime','_getSendChangesetTimeout','liveShareNewHost','_undoRedoService','status','_commentService','_syncEditingCollabCursorService','joinEvent','substring','getSheetBlock','_sheetTransformSelectionsService','_handler','isPermissionRej','_sheetSkeletonManagerService','interceptor','getMember','_updateCollabCursors','onTransformSelections','getVpScrollXYInfoByPosToVp','div','_onRemoteACK','setWaitCount','_getSnapshotAPIPrefix','getTypeOfUnitDisposed$','subUnitId','APPLY_NON_SEQUENTIAL_REVISION','has','then','getCellPositionByOffset','url(#on-line-single_clip0_910_349)','CHANGESET_REVISION_CONFILICT','state$','transformRemoteChangeset','_transformStack','extend','Steady','close$','findNodePositionByCharIndex','indexOf','_id','_singleActiveUnitService','_scheduleHeartbeat','conflict.title','saveSheetBlock','_socket','INGEST','collabStatus.synced','_compressMutationService','_updateLocalCursor','evenodd','HEARTBEAT_TIMEOUT','LIVESHARE_REQUEST_HOST','appendMutation','_retryCount','target','loadSheet','_onCursorUpdate','addEventListener','hide','bottom','MoveRangeCommandId','setTimeout','defineProperty','RemoveColCommandId','type','reverse','getCurrentSelections','editingUnit','getItem','session.will-retry','workbook','_saveCache','online','_substituteUndoStack','[OfflineState]:\x20received\x20rejection.','552RbuWMp','_collaborationPaused','initWorkbookPermissionChange','addObjects','InsertRangeMoveRightCommandId','getViewModel','allowed','_handleHeartbeatEvent','_createInitialState','json','onPointerMove$','encodeURIComponent','6618130VKuQWI','memberID','/role','[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.','add','_init','_httpService','collaboration.closeRoom','getConfig','collabCursorState$','SNAPSHOT_HAS_BEEN_REMOVED','fill','/fetchmissing?from=','session.collaboration-timeout','text','_docTransformIMECacheService','onSyncEditingCollabCursor','_onUserJoin','EXCHANGE_SIGN_URL_SERVER_URL_KEY','urlChange$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','unknown','delete','list','textRanges','_initModules','toggleOffline','PSEUDO_FETCH_MISSING_RESULT','localeService','save\x20fail\x20reason\x20is\x20','_sessionStatus$','_scheduleClearOtherTimer','reduce','_sendHeartbeatTimer','DeleteRangeMoveLeftCommandId','_lastPointer','createSocket','permission.title','[OfflineState]:\x20received\x20acknowledgement.','getFocusedUnit','TOO_MANY_REQUESTS','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','result','_exhaustRemoteChangesetQueue','setParam','_substituteRedoStack','_updateSubUnitFromURLParams','change$','_unlockTransition','_lockTransition','patch','[CollaborationUndoRedoService]','univerjs-icon\x20univerjs-icon-','_sessions','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','blue400','m1Prime','collabStatus.notCollab','LEAVE','params','socket\x20open.','children','sessionStatus$','_roomMembers','symbol','black','/object','OffLineSingle','LICENSE_DISTRO_REJECTED','fetchMissingChangesets','replaceTextRanges','_event$','_transformIMECache','getImage','/collaborator','FAIL','_scheduleSaving','_state','show','url','_getUndoStack','fetchThroughInterceptors','assign','Error\x20on\x20receiving\x20event','_clearScheduledTask','unitId','univer-online-status-icon','unsubscribe','getImageSourceCache','awaiting','_permissionService','LIVESHARE_NEW_HOST','onCommentUpdate','activeSheet$','saveSnapshot','hasOwnProperty','onRemoteChangeset','collab-text-anchor-','permissionRejEvent','setInterval','init','UPDATE_PERMISSION_OBJ','_uiPartsService','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','attrs','compose','_cursor','generateRandomId','_transformUndoredo','_getScale','_ensureSubject','UNDEFINED','_handleEvent'];_0x2c8c=function(){return _0x80f7c2;};return _0x2c8c();}Ze=ao([ut(0x0,_0x523c70),ut(0x1,_0xbbf94a(_0x50f6b0)),ut(0x2,_0xbbf94a(_0x6789ab))],Ze);var co=Object[_0x3e92f2(0x340)],ho=Object[_0x3e92f2(0x2d2)],lo=(_0x570d7a,_0x483366,_0x44cb9b,_0x50105d)=>{for(var _0x387138=_0x50105d>0x1?void 0x0:_0x50105d?ho(_0x483366,_0x44cb9b):_0x483366,_0x241482=_0x570d7a['length']-0x1,_0x455cde;_0x241482>=0x0;_0x241482--)(_0x455cde=_0x570d7a[_0x241482])&&(_0x387138=(_0x50105d?_0x455cde(_0x483366,_0x44cb9b,_0x387138):_0x455cde(_0x387138))||_0x387138);return _0x50105d&&_0x387138&&co(_0x483366,_0x44cb9b,_0x387138),_0x387138;},ns=(_0x341b36,_0x5bb30d)=>(_0xcee6d0,_0x366aa2)=>_0x5bb30d(_0xcee6d0,_0x366aa2,_0x341b36);const _o='AUTHZ_URL_KEY',uo=_0x3e92f2(0x2a8);let Tt=class{constructor(_0x5e95af,_0x25663f){const _0x18facd=_0x3e92f2;this[_0x18facd(0x3f0)]=_0x5e95af,this[_0x18facd(0x292)]=_0x25663f;}[_0x3e92f2(0x3cb)](){const _0x14f268=_0x3e92f2;var _0x114b6e;return(_0x114b6e=this[_0x14f268(0x292)][_0x14f268(0x361)](_o))!=null?_0x114b6e:uo;}async[_0x3e92f2(0x19b)](_0x20623e){const _0x5cc4e8=_0x3e92f2,_0x26de4b=this[_0x5cc4e8(0x3cb)]()+'/'+_0x20623e[_0x5cc4e8(0x22f)]+_0x5cc4e8(0x39b);return(await this[_0x5cc4e8(0x3f0)][_0x5cc4e8(0x2f9)](_0x26de4b,{'body':_0x20623e}))[_0x5cc4e8(0x46e)][_0x5cc4e8(0x1d8)]||'';}async[_0x3e92f2(0x370)](_0x3fcb16){const _0x34b8d7=_0x3e92f2,_0x243304=this[_0x34b8d7(0x3cb)]()+_0x34b8d7(0x4a3);return(await this['_HTTPService'][_0x34b8d7(0x2f9)](_0x243304,{'body':_0x3fcb16}))[_0x34b8d7(0x46e)][_0x34b8d7(0x25f)];}async[_0x3e92f2(0x4a0)](_0x131a2d){const _0xc717b=_0x3e92f2,_0x4ed60c=this[_0xc717b(0x3cb)]()+'/'+_0x131a2d['objectType']+_0xc717b(0x476)+_0x131a2d[_0xc717b(0x1d8)];await this['_HTTPService'][_0xc717b(0x48a)](_0x4ed60c,{'body':_0x131a2d});}async[_0x3e92f2(0x353)](_0xbc0e83){const _0x8ec753=_0x3e92f2,_0x6c812d=this[_0x8ec753(0x3cb)]()+'/'+_0xbc0e83[_0x8ec753(0x22f)]+_0x8ec753(0x476)+_0xbc0e83[_0x8ec753(0x1d8)]+_0x8ec753(0x300);return(await this[_0x8ec753(0x3f0)][_0x8ec753(0x2f9)](_0x6c812d,{'body':_0xbc0e83}))[_0x8ec753(0x46e)][_0x8ec753(0x4b5)];}async[_0x3e92f2(0x428)](_0x2889de){const _0x315608=_0x3e92f2,_0x1043a7=this[_0x315608(0x3cb)]()+_0x315608(0x1ca);return(await this[_0x315608(0x3f0)][_0x315608(0x2f9)](_0x1043a7,{'body':{'requests':_0x2889de}}))[_0x315608(0x46e)][_0x315608(0x220)];}async['listRoles'](_0x59a2e1){const _0x4ba7a1=_0x3e92f2,_0x45f5e6=this['_getAPIPrefixPath']()+'/'+_0x59a2e1[_0x4ba7a1(0x22f)]+_0x4ba7a1(0x35b),_0x4847d3=await this[_0x4ba7a1(0x3f0)][_0x4ba7a1(0x2f9)](_0x45f5e6,{'body':_0x59a2e1});return{'roles':_0x4847d3[_0x4ba7a1(0x46e)][_0x4ba7a1(0x497)],'actions':_0x4847d3['body'][_0x4ba7a1(0x4b5)]};}async['deleteCollaborator'](_0x5385e7){const _0x5400ad=_0x3e92f2,_0x19abc1=this[_0x5400ad(0x3cb)]()+_0x5400ad(0x3a3);await this[_0x5400ad(0x3f0)]['delete'](_0x19abc1,{'params':{'collaboratorID':_0x5385e7[_0x5400ad(0x45f)],'objectID':_0x5385e7[_0x5400ad(0x1d8)],'unitID':_0x5385e7[_0x5400ad(0x3ca)]}});}async[_0x3e92f2(0x47b)](_0x14d295){const _0x17ca38=_0x3e92f2,_0xf68cd5=this[_0x17ca38(0x3cb)]()+_0x17ca38(0x3a3);await this[_0x17ca38(0x3f0)][_0x17ca38(0x38b)](_0xf68cd5,{'body':_0x14d295});}async[_0x3e92f2(0x482)](_0x441f16){const _0x5eda20=_0x3e92f2,_0x54fdd7=this['_getAPIPrefixPath']()+_0x5eda20(0x3a3);await this[_0x5eda20(0x3f0)]['post'](_0x54fdd7,{'body':_0x441f16});}async['listCollaborators'](_0x1dc883){const _0x865b1c=_0x3e92f2,_0x2dacd1=this[_0x865b1c(0x3cb)]()+_0x865b1c(0x3a3);return(await this['_HTTPService'][_0x865b1c(0x2d5)](_0x2dacd1,{'params':{'objectID':_0x1dc883['objectID'],'unitID':_0x1dc883[_0x865b1c(0x3ca)]}}))[_0x865b1c(0x46e)][_0x865b1c(0x496)];}async['putCollaborators'](_0x30ac0c){const _0x205b63=_0x3e92f2,_0x5cd67b=this[_0x205b63(0x3cb)]()+_0x205b63(0x3a3);await this[_0x205b63(0x3f0)][_0x205b63(0x48a)](_0x5cd67b,{'body':_0x30ac0c});}};Tt=lo([ns(0x0,_0xbbf94a(_0x50f6b0)),ns(0x1,_0xbbf94a(_0x523c70))],Tt);var fo=Object['defineProperty'],mo=Object[_0x3e92f2(0x2d2)],go=(_0x51ea18,_0x4d2544,_0x1f08a4,_0x33f4b3)=>{const _0x11a415=_0x3e92f2;for(var _0x4b766c=_0x33f4b3>0x1?void 0x0:_0x33f4b3?mo(_0x4d2544,_0x1f08a4):_0x4d2544,_0x2b61f2=_0x51ea18[_0x11a415(0x1a4)]-0x1,_0x2b167b;_0x2b61f2>=0x0;_0x2b61f2--)(_0x2b167b=_0x51ea18[_0x2b61f2])&&(_0x4b766c=(_0x33f4b3?_0x2b167b(_0x4d2544,_0x1f08a4,_0x4b766c):_0x2b167b(_0x4b766c))||_0x4b766c);return _0x33f4b3&&_0x4b766c&&fo(_0x4d2544,_0x1f08a4,_0x4b766c),_0x4b766c;},rs=(_0xd7dd6a,_0x1c63d4)=>(_0x18d1e0,_0x27700e)=>_0x1c63d4(_0x18d1e0,_0x27700e,_0xd7dd6a);const So=[_0x3e92f2(0x26a),'image/jpeg','image/jpg','image/gif',_0x3e92f2(0x2e8)],vo=0x5*0x400*0x400,po=_0x3e92f2(0x3cd),Io='/universer-api/stream/file/upload',Eo=_0x3e92f2(0x36b),Co='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x4037e6,_0x5da858){const _0x557dcf=_0x3e92f2;l(this,'_waitCount',0x0),l(this,_0x557dcf(0x2dc),new _0x440796()),l(this,_0x557dcf(0x388),this[_0x557dcf(0x2dc)]),l(this,_0x557dcf(0x273),new Map()),(this['_httpService']=_0x4037e6,this[_0x557dcf(0x292)]=_0x5da858);}[_0x3e92f2(0x317)](_0x2527fb){this['_waitCount']=_0x2527fb,this['_change$']['next'](_0x2527fb);}[_0x3e92f2(0x3b1)](_0x640b29,_0x3758be){const _0x4903e0=_0x3e92f2;if(_0x3758be===_0x1f9734[_0x4903e0(0x4c8)]){const _0x48841d=new Image();return _0x48841d['src']=_0x640b29,_0x48841d;}return this[_0x4903e0(0x273)][_0x4903e0(0x2d5)](_0x640b29);}[_0x3e92f2(0x1b9)](_0x161e67,_0x446f94,_0x2d98dd){const _0x11b53f=_0x3e92f2;_0x446f94===_0x1f9734[_0x11b53f(0x4c8)]||_0x2d98dd==null||this['_imageSourceCache'][_0x11b53f(0x2bc)](_0x161e67,_0x2d98dd);}async[_0x3e92f2(0x3a2)](_0x35653b){const _0x4c348f=_0x3e92f2;try{const _0xf8a9ae=this['_replaceFileID'](this[_0x4c348f(0x1c6)](),''+_0x35653b),_0xdd709=(await this[_0x4c348f(0x35f)][_0x4c348f(0x2d5)](_0xf8a9ae))[_0x4c348f(0x46e)];return _0xdd709[_0x4c348f(0x23c)]&&_0xdd709[_0x4c348f(0x23c)][_0x4c348f(0x193)]===Rs['OK']?Promise[_0x4c348f(0x214)](_0xdd709[_0x4c348f(0x3a8)]):Promise[_0x4c348f(0x2e5)](_0xdd709[_0x4c348f(0x23c)]);}catch(_0xc9943f){return Promise[_0x4c348f(0x2e5)](_0xc9943f);}}async[_0x3e92f2(0x2a9)](_0x47ce27){const _0x2413ca=_0x3e92f2;let _0x2885c3='';if(!So[_0x2413ca(0x401)](_0x47ce27[_0x2413ca(0x342)]))return this[_0x2413ca(0x4a4)](),Promise[_0x2413ca(0x2e5)](new Error(_0x1df9e0[_0x2413ca(0x3f2)]));if(_0x47ce27[_0x2413ca(0x457)]>vo)return this[_0x2413ca(0x4a4)](),Promise[_0x2413ca(0x2e5)](new Error(_0x1df9e0[_0x2413ca(0x1e5)]));try{const _0x4c7bbd=new FormData();_0x4c7bbd[_0x2413ca(0x442)](_0x2413ca(0x2be),_0x47ce27);const _0x3ae363=this[_0x2413ca(0x49b)]()+'?size='+_0x47ce27['size'][_0x2413ca(0x264)](),_0x262b94=await(await fetch(_0x3ae363,{'method':'POST','body':_0x4c7bbd}))[_0x2413ca(0x356)]();if(typeof _0x262b94['FileId']!=_0x2413ca(0x3f4))return this[_0x2413ca(0x4a4)](),Promise[_0x2413ca(0x2e5)](new Error(_0x1df9e0[_0x2413ca(0x4aa)]));_0x2885c3=_0x262b94[_0x2413ca(0x486)];}catch{return this['_decreaseWaiting'](),Promise[_0x2413ca(0x2e5)](new Error(_0x1df9e0[_0x2413ca(0x4aa)]));}return new Promise((_0x1a1c3d,_0x44b5a9)=>{const _0x10ae56=_0x2413ca,_0x2726d1=new FileReader();_0x2726d1['readAsDataURL'](_0x47ce27),_0x2726d1[_0x10ae56(0x44e)]=_0x5b6f69=>{const _0x263b2b=_0x10ae56;var _0x50be0f;const _0x1941cd=(_0x50be0f=_0x5b6f69[_0x263b2b(0x338)])==null?void 0x0:_0x50be0f[_0x263b2b(0x383)];if(_0x1941cd==null){this[_0x263b2b(0x4a4)](),_0x44b5a9(new Error(_0x1df9e0['ERROR_IMAGE']));return;}const _0x29daca=_0x545ca3[_0x263b2b(0x3c4)](0x6);_0x1a1c3d({'imageId':_0x29daca,'imageSourceType':_0x1f9734[_0x263b2b(0x1f6)],'source':_0x2885c3,'base64Cache':_0x1941cd,'status':_0x1df9e0[_0x263b2b(0x1fa)]}),this[_0x263b2b(0x4a4)]();};});}[_0x3e92f2(0x49b)](){const _0x276353=_0x3e92f2;var _0x1ee034;return(_0x1ee034=this[_0x276353(0x292)][_0x276353(0x361)](po))!=null?_0x1ee034:Io;}[_0x3e92f2(0x1c6)](){const _0x2ee27b=_0x3e92f2;var _0x4ed926;return(_0x4ed926=this[_0x2ee27b(0x292)][_0x2ee27b(0x361)](Eo))!=null?_0x4ed926:Co;}[_0x3e92f2(0x1ed)](_0x21c3ad,_0x304e41){const _0x1c26c3=_0x3e92f2;return _0x21c3ad['replace'](_0x1c26c3(0x204),_0x304e41);}['_decreaseWaiting'](){const _0x4dd78b=_0x3e92f2;this[_0x4dd78b(0x217)]-=0x1,this[_0x4dd78b(0x2dc)][_0x4dd78b(0x3ea)](this[_0x4dd78b(0x217)]);}};Rt=go([rs(0x0,_0xbbf94a(_0x50f6b0)),rs(0x1,_0x523c70)],Rt);var bo=Object[_0x3e92f2(0x340)],To=Object[_0x3e92f2(0x2d2)],Ro=(_0x416b0d,_0x38f4f0,_0x256132,_0x3edab1)=>{const _0x1dcb8a=_0x3e92f2;for(var _0x3b5531=_0x3edab1>0x1?void 0x0:_0x3edab1?To(_0x38f4f0,_0x256132):_0x38f4f0,_0x6b6fe4=_0x416b0d[_0x1dcb8a(0x1a4)]-0x1,_0x16b0b3;_0x6b6fe4>=0x0;_0x6b6fe4--)(_0x16b0b3=_0x416b0d[_0x6b6fe4])&&(_0x3b5531=(_0x3edab1?_0x16b0b3(_0x38f4f0,_0x256132,_0x3b5531):_0x16b0b3(_0x3b5531))||_0x3b5531);return _0x3edab1&&_0x3b5531&&bo(_0x38f4f0,_0x256132,_0x3b5531),_0x3b5531;},Oe=(_0x29499a,_0x36a137)=>(_0x26d4ee,_0x1334bc)=>_0x36a137(_0x26d4ee,_0x1334bc,_0x29499a);let Ye=class extends _0x4c153b{constructor(_0x2a7991,_0x5a00d6,_0x5de316,_0x5ae8c4,_0x1d037f){const _0x1f33df=_0x3e92f2;super(),this['_injector']=_0x2a7991,this[_0x1f33df(0x1ef)]=_0x5a00d6,this[_0x1f33df(0x3b3)]=_0x5de316,this[_0x1f33df(0x1e3)]=_0x5ae8c4,this['_localeService']=_0x1d037f,this[_0x1f33df(0x3d4)](),this[_0x1f33df(0x194)]();}[_0x3e92f2(0x194)](){const _0x209bd1=_0x3e92f2,_0x4eacc0=async _0x452238=>{const _0x62ef46=_0x4256;(await this[_0x62ef46(0x1e3)][_0x62ef46(0x3cc)](_0x452238))[_0x62ef46(0x2c7)][_0x62ef46(0x407)](_0x5e91b7(_0x1d0024=>_0x1d0024['eventID']===_0x34e231[_0x62ef46(0x45e)]),_0x8dafd9(this[_0x62ef46(0x4b2)]))[_0x62ef46(0x4be)](_0x23b8c5=>{const _0x23344a=_0x62ef46,_0x4c967d=_0x23b8c5,{reason:_0x5c7fda}=_0x4c967d[_0x23344a(0x208)];this[_0x23344a(0x443)][_0x23344a(0x2d5)](_0x5cfd22)[_0x23344a(0x3a7)]({'type':_0x4f4f06[_0x23344a(0x19f)],'content':this[_0x23344a(0x4b3)]['t'](_0x23344a(0x360))+'('+_0x5c7fda+')'}),this[_0x23344a(0x3b3)][_0x23344a(0x4a9)](new _0xd881f1(_0x452238)['id'],!0x1);});};_0x2b9a75(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x41ddf6[_0x209bd1(0x241)]),this[_0x209bd1(0x1ef)][_0x209bd1(0x2c9)](_0x41ddf6[_0x209bd1(0x2e1)]))[_0x209bd1(0x407)](_0x4ed52e(_0x3af44e=>_0x3af44e[_0x209bd1(0x47a)]()),_0x5e91b7(_0x3a3a26=>!_0x3ee33a(_0x3a3a26)),_0x8dafd9(this[_0x209bd1(0x4b2)]))[_0x209bd1(0x4be)](_0x4ce865=>{_0x4eacc0(_0x4ce865);});}[_0x3e92f2(0x3d4)](){const _0xa3a753=_0x3e92f2,_0x2a83c9=async _0x26c08d=>{const _0x581daa=_0x4256;(await this[_0x581daa(0x1e3)]['requireSession'](_0x26c08d))[_0x581daa(0x2c7)][_0x581daa(0x407)](_0x5e91b7(_0x3ce281=>_0x3ce281[_0x581daa(0x1af)]===_0x34e231['UPDATE_PERMISSION_OBJ']),_0x8dafd9(this['dispose$']))[_0x581daa(0x4be)](_0x59fa80=>{const _0xdd0cca=_0x581daa,_0x27aecf=_0x59fa80,{objectId:_0x463716}=_0x27aecf['data'];_0x463716===_0x26c08d&&this[_0xdd0cca(0x443)][_0xdd0cca(0x2d5)](_0x368f1a)[_0xdd0cca(0x34f)](_0x26c08d);});};_0x2b9a75(this[_0xa3a753(0x1ef)][_0xa3a753(0x2c9)](_0x41ddf6[_0xa3a753(0x241)]),this['_univerInstanceService'][_0xa3a753(0x2c9)](_0x41ddf6[_0xa3a753(0x2e1)]))['pipe'](_0x4ed52e(_0x4cb038=>_0x4cb038[_0xa3a753(0x47a)]()),_0x5e91b7(_0x343201=>!_0x3ee33a(_0x343201)),_0x8dafd9(this['dispose$']))[_0xa3a753(0x4be)](_0xf637d=>{_0x2a83c9(_0xf637d);});}};Ye=Ro([_0x405ab3(_0x57f2ea[_0x3e92f2(0x1e8)],Ye),Oe(0x0,_0xbbf94a(_0xa8f435)),Oe(0x1,_0x5f1ae0),Oe(0x2,_0x4acf08),Oe(0x3,_0xbbf94a(ge)),Oe(0x4,_0xbbf94a(_0x6789ab))],Ye);var $s=Object[_0x3e92f2(0x340)],Oo=Object[_0x3e92f2(0x2d2)],Do=(_0x4f4d01,_0x5b5a44,_0x346177)=>_0x5b5a44 in _0x4f4d01?$s(_0x4f4d01,_0x5b5a44,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x346177}):_0x4f4d01[_0x5b5a44]=_0x346177,wo=(_0xc5b2bc,_0x2d30f3,_0x2b7c2f,_0x3ba505)=>{const _0x2df571=_0x3e92f2;for(var _0x33a626=_0x3ba505>0x1?void 0x0:_0x3ba505?Oo(_0x2d30f3,_0x2b7c2f):_0x2d30f3,_0x455946=_0xc5b2bc[_0x2df571(0x1a4)]-0x1,_0x29cffd;_0x455946>=0x0;_0x455946--)(_0x29cffd=_0xc5b2bc[_0x455946])&&(_0x33a626=(_0x3ba505?_0x29cffd(_0x2d30f3,_0x2b7c2f,_0x33a626):_0x29cffd(_0x33a626))||_0x33a626);return _0x3ba505&&_0x33a626&&$s(_0x2d30f3,_0x2b7c2f,_0x33a626),_0x33a626;},os=(_0xa5f16e,_0x3cdad1)=>(_0x3e53ce,_0x382649)=>_0x3cdad1(_0x3e53ce,_0x382649,_0xa5f16e),Po=(_0x574cfb,_0x57c5dd,_0x34f541)=>Do(_0x574cfb,_0x57c5dd+'',_0x34f541);const No=_0x3e92f2(0x2a2);let Ot=class extends _0x5e7441{constructor(_0x4f9ad8,_0x2124a7,_0x2c1364){const _0x365e50=_0x3e92f2;super(),this['_config']=_0x4f9ad8,this[_0x365e50(0x27b)]=_0x2124a7,this[_0x365e50(0x443)]=_0x2c1364;}['onStarting'](_0x4a7332){const _0x350a97=_0x3e92f2;var _0x310ecd,_0x3e056f,_0x52ec86,_0x48f0ef,_0x4b3b21;_0x4a7332['has'](_0x1e106e)&&this[_0x350a97(0x27b)][_0x350a97(0x23c)]('[UniverCollaborationClientPlugin]',_0x350a97(0x38f));let _0x576644=[[_0x1e106e,{'useClass':bt}],[ge],[Lt],[_0x50f6b0],[Ls,{'useClass':zr}],[ne],[D],[_0x412516],[ze],[Je],[Xe],[yt],[Ze],[Ds],[Ye],[Os,{'useClass':(_0x3e056f=(_0x310ecd=this[_0x350a97(0x49f)])==null?void 0x0:_0x310ecd[_0x350a97(0x3fe)])!=null?_0x3e056f:gt}],[_0x41641e,{'useClass':_0x4fc2a5}],[_0x4e0f91,{'useClass':Ct}],[_0x309336,{'useClass':Tt}],[_0xb0775,{'useClass':Rt}],[De],[ke],[Be],[We],[fe]];(_0x52ec86=this['_config'])!=null&&_0x52ec86['enableSingleActiveInstanceLock']&&_0x576644['push']([et,{'useClass':Nn}]),((_0x48f0ef=this['_config'])==null?void 0x0:_0x48f0ef[_0x350a97(0x2a4)])==null||this['_config'][_0x350a97(0x2a4)][_0x350a97(0x401)](_0x41ddf6[_0x350a97(0x241)])?_0x576644['push']([Ve]):this[_0x350a97(0x49f)]['collaborationUniverTypes'][_0x350a97(0x401)](_0x41ddf6[_0x350a97(0x2e1)])&&_0x576644[_0x350a97(0x2cb)]([Ge]),_0x576644=_0x2625cc(_0x576644,(_0x4b3b21=this[_0x350a97(0x49f)])==null?void 0x0:_0x4b3b21[_0x350a97(0x472)]),_0x576644[_0x350a97(0x1b8)](_0x1a56a1=>_0x4a7332[_0x350a97(0x35d)](_0x1a56a1)),_0x4a7332[_0x350a97(0x2d5)](_0x50f6b0)[_0x350a97(0x4a8)]({'priority':0x14,'interceptor':_0x43aece({'maxParallel':0x6})}),this[_0x350a97(0x372)]();}[_0x3e92f2(0x372)](){const _0x38b355=_0x3e92f2;var _0x1379de,_0x319bcf;(_0x1379de=this[_0x38b355(0x49f)])!=null&&_0x1379de['enableOfflineEditing']||this[_0x38b355(0x443)][_0x38b355(0x2d5)](D)['disableLocalCache'](),(_0x319bcf=this['_config'])!=null&&_0x319bcf[_0x38b355(0x3f6)]&&this[_0x38b355(0x443)][_0x38b355(0x2d5)](Ze);}};Po(Ot,_0x3e92f2(0x211),No),Ot=wo([_0x35cc39(_0x5d8040),os(0x1,_0x46d807),os(0x2,_0xbbf94a(_0xa8f435))],Ot);export{_o as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_n as COLLAB_SUBMIT_CHANGESET_URL_KEY,en as COLLAB_WEB_SOCKET_URL_KEY,De as CollaborationController,St as CollaborationSession,ge as CollaborationSessionService,gt as CollaborationSocketService,P as CollaborationStatus,Mr as CollaborationStatusDisplay,Ds as CommentService,ke as DataLoaderController,Be as DesktopCollaborationStatusDisplayController,sn as HEARTBEAT_INTERVAL_KEY,bs as HEARTBEAT_TIMEOUT_KEY,Os as ICollaborationSocketService,Ls as IURLService,hn as LOCAL_CACHE_INTERVAL_KEY,dn as LOGIN_URL_KEY,D as LocalCacheService,Zi as SEND_CHANGESET_TIMEOUT_KEY,Ji as SNAPSHOT_SERVER_URL_KEY,qi as SNAPSHOT_URL_KEY,de as SessionStatus,Ot as UniverCollaborationClientPlugin,zr as WebURLService,pn as deserializeToCombResponse,In as serializeCombRequest};
|
1
|
+
const _0xade8c=_0x4292;(function(_0x21b30c,_0x3923af){const _0x10a9c4=_0x4292,_0x524235=_0x21b30c();while(!![]){try{const _0x508c70=parseInt(_0x10a9c4(0x217))/0x1*(parseInt(_0x10a9c4(0xff))/0x2)+-parseInt(_0x10a9c4(0x354))/0x3*(parseInt(_0x10a9c4(0x1ac))/0x4)+-parseInt(_0x10a9c4(0x11e))/0x5*(parseInt(_0x10a9c4(0x245))/0x6)+-parseInt(_0x10a9c4(0x33d))/0x7+parseInt(_0x10a9c4(0x2d1))/0x8+-parseInt(_0x10a9c4(0x1e8))/0x9+parseInt(_0x10a9c4(0x190))/0xa;if(_0x508c70===_0x3923af)break;else _0x524235['push'](_0x524235['shift']());}catch(_0x570b09){_0x524235['push'](_0x524235['shift']());}}}(_0x2636,0x68c84));var Bs=Object['defineProperty'],ks=(_0x39d76b,_0x5862bb,_0x1aa289)=>_0x5862bb in _0x39d76b?Bs(_0x39d76b,_0x5862bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1aa289}):_0x39d76b[_0x5862bb]=_0x1aa289,l=(_0x542668,_0x459808,_0x58df3c)=>ks(_0x542668,typeof _0x459808!=_0xade8c(0x29e)?_0x459808+'':_0x459808,_0x58df3c);import{Disposable as _0x5297f3,toDisposable as _0x45cb21,UniverInstanceType as _0x9cd059,Inject as _0xd901da,UserManagerService as _0x371b9f,IUniverInstanceService as _0x3b87df,createIdentifier as _0xc3d169,DisposableCollection as _0x5e2383,IConfigService as _0x531a6b,ILogService as _0x255408,ISnapshotServerService as _0x5610c3,RxDisposable as _0x3fb7e3,LocaleService as _0x3fbf2b,Injector as _0x3c61ae,ILocalStorageService as _0x944e2d,Tools as _0x398800,ICommandService as _0x3f64f1,JSONX as _0x5d1c82,IPermissionService as _0x1b6020,IUndoRedoService as _0x1bc0b8,sequenceExecute as _0x45596a,OnLifecycle as _0x22ab7a,LifecycleStages as _0x35f1ee,Optional as _0x3badbf,CommandType as _0x25ba1e,Rectangle as _0x16c0da,ThemeService as _0x42d43e,useDependency as _0x2a3075,connectInjector as _0x5760b9,Workbook as _0x5e425c,textEncoder as _0x53c3e8,b64DecodeUnicode as _0x5ccd98,LocalUndoRedoService as _0x71087,IContextService as _0x23bea4,COLORS as _0x143f52,ColorKit as _0x410434,isInternalEditorID as _0x142b75,Plugin as _0xde0405,IAuthzIoService as _0x4e5c79,mergeOverrideWithDependencies as _0x2e36c0,DependentOn as _0x4bdc3b}from'@univerjs/core';import{SheetsSelectionsService as _0x49acad,SetSelectionsOperation as _0x45efda,InsertSheetMutation as _0x4fe9a1,WorkbookEditablePermission as _0xaddd59,RefRangeService as _0x2d1308,EffectRefRangId as _0x117f68,handleIRemoveRow as _0x4e9436,handleIRemoveCol as _0x4a8c83,handleMoveRange as _0x269fef,handleInsertRow as _0x59ae3e,handleInsertRangeMoveRight as _0x5acc49,handleInsertRangeMoveDown as _0x273ca7,handleInsertCol as _0x2fe4c1,handleDeleteRangeMoveUp as _0x1ec5bf,handleDeleteRangeMoveLeft as _0x4b1cd0,runRefRangeMutations as _0x40799b,SetWorksheetActivateCommand as _0x3fc4c1}from'@univerjs/sheets';import{MessageType as _0x4d4329}from'@univerjs/design';import{IBeforeCloseService as _0x477bf3,IMessageService as _0x48de42,INotificationService as _0x4cb594,useObservable as _0x190b58,BuiltInUIPart as _0x3b73a8,IUIPartsService as _0x6b2e9f}from'@univerjs/ui';import{CollaborationEvent as _0x1b9133,parseChangesetToProtocol as _0x391abe,RevisionService as _0x432311,isTransformMutationFailure as _0x1054d7,isTransformMutationsWithChangesetSuccess as _0x504c1f,ITransformService as _0x581964,mapDocumentTypeToUniverType as _0x19393c,isTransformChangesetsSuccess as _0x288394,CompressMutationService as _0x150830,parseProtocolChangeset as _0x28c9a8,SnapshotService as _0x570f37,isTransformMutationsWithChangesetFailure as _0xb6937e,UniverCollaborationPlugin as _0x4c40a3}from'@univerjs-pro/collaboration';import{merge as _0x52fd0c,Subject as _0x3718e0,BehaviorSubject as _0x1a37bf,distinctUntilChanged as _0x3cc420,fromEvent as _0x52fa92,of as _0x3ff30b,takeUntil as _0x2473df,debounceTime as _0x2ec9db,filter as _0x2a5048,switchMap as _0x2075a8,combineLatest as _0x5930bd,shareReplay as _0x23e965,mapTo as _0x53ba30,concatMap as _0x5af94b}from'rxjs';import{map as _0x176ea9,takeUntil as _0x68ef5b,take as _0x4efd5d,filter as _0x4c2296,delay as _0xf4f725,shareReplay as _0x3b73a3,switchMap as _0x1b27ff}from'rxjs/operators';import{IMEInputManagerService as _0x42fcd8,TextSelectionManagerService as _0x33f09e,serializeTextRange as _0x5b7fb3,DocStateChangeManagerService as _0x36a6d8,SetTextSelectionsOperation as _0x55ed86,RichTextEditingMutation as _0x372b8c,getDocObject as _0x570b80,DocSkeletonManagerService as _0x55bc8c}from'@univerjs/docs';import{HTTPService as _0x32bb9e,WebSocketService as _0x56a40f,MergeInterceptorFactory as _0x3f4d36,HTTPRequest as _0x2026b9,IHTTPImplementation as _0x2364b6,XHRHTTPImplementation as _0x11d4c7,ThresholdInterceptorFactory as _0x53aaa4}from'@univerjs/network';import{ImageSourceType as _0x146d1d,ImageUploadStatusType as _0x200c2c,IImageIoService as _0x355890}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x35f0e9,serializeRangeWithSheet as _0x1b1c8a}from'@univerjs/engine-formula';import _0x1ebe66 from'lodash/debounce';import{Shape as _0xd0c38,Rect as _0x2d5bd9,Vector2 as _0x4a4da3,IRenderManagerService as _0x1e26e7,NodePositionConvertToCursor as _0x362ef3,getColor as _0x42b6d4,TEXT_RANGE_LAYER_INDEX as _0x54aa29,RegularPolygon as _0x40800c}from'@univerjs/engine-render';import{SheetSkeletonManagerService as _0x3c67f3,VIEWPORT_KEY as _0x1eba95,getCoordByCell as _0x287034,getSheetObject as _0x2a0247,SheetPermissionInitController as _0x331505}from'@univerjs/sheets-ui';import _0xeb971e,{forwardRef as _0x27c31b,useRef as _0x5ddd21,createElement as _0x5a9803}from'react';import _0xf44121 from'clsx';function _0x4292(_0xd54a48,_0x57481d){const _0x263610=_0x2636();return _0x4292=function(_0x4292b7,_0x37895d){_0x4292b7=_0x4292b7-0x78;let _0x183a12=_0x263610[_0x4292b7];return _0x183a12;},_0x4292(_0xd54a48,_0x57481d);}import{IRemoteInstanceService as _0x56e60a}from'@univerjs/rpc';const zi=_0xade8c(0xe1),Zi='/universer-api/snapshot',Qi='SNAPSHOT_URL_KEY',en=_0xade8c(0xa2),tn=0x7d0,sn=_0xade8c(0xf9),nn=_0xade8c(0x19a),rn=_0xade8c(0x39f),on=0x7530,bs=_0xade8c(0x385),Ts=0x2710,an='RETRY_CONNECTING_INTERVAL',cn=0x4e20,hn='RETRY_CONNECTING_MAX_COUNT',ln=0x3,_n=_0xade8c(0xde),un=0x3e8,dn=_0xade8c(0x377),fn=_0xade8c(0x23f),mn='LOGIN_URL_KEY',gn='/universer-api/oidc/authpage';var Rs=(_0x25a34b=>(_0x25a34b[_0x25a34b[_0xade8c(0x278)]=0x0]=_0xade8c(0x278),_0x25a34b[_0x25a34b['OK']=0x1]='OK',_0x25a34b[_0x25a34b['INTERNAL_ERROR']=0x2]=_0xade8c(0x389),_0x25a34b[_0x25a34b[_0xade8c(0x1a8)]=0x3]=_0xade8c(0x1a8),_0x25a34b[_0x25a34b[_0xade8c(0xef)]=0x4]=_0xade8c(0xef),_0x25a34b[_0x25a34b[_0xade8c(0x232)]=0x5]=_0xade8c(0x232),_0x25a34b[_0x25a34b[_0xade8c(0x33c)]=0x6]=_0xade8c(0x33c),_0x25a34b[_0x25a34b[_0xade8c(0xd9)]=0x7]=_0xade8c(0xd9),_0x25a34b[_0x25a34b['TOO_MANY_REQUESTS']=0x8]=_0xade8c(0x2d8),_0x25a34b[_0x25a34b[_0xade8c(0x196)]=0x9]=_0xade8c(0x196),_0x25a34b[_0x25a34b[_0xade8c(0x27d)]=0x1389]=_0xade8c(0x27d),_0x25a34b[_0x25a34b[_0xade8c(0x11f)]=0x1771]=_0xade8c(0x11f),_0x25a34b[_0x25a34b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xade8c(0x90),_0x25a34b[_0x25a34b[_0xade8c(0xf6)]=0x1b59]=_0xade8c(0xf6),_0x25a34b[_0x25a34b[_0xade8c(0x3ad)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x25a34b[_0x25a34b[_0xade8c(0xfd)]=0x1b5b]=_0xade8c(0xfd),_0x25a34b[_0x25a34b[_0xade8c(0x30e)]=0x1b5c]=_0xade8c(0x30e),_0x25a34b[_0x25a34b[_0xade8c(0xb4)]=0x1f41]=_0xade8c(0xb4),_0x25a34b[_0x25a34b[_0xade8c(0x276)]=0x2329]=_0xade8c(0x276),_0x25a34b[_0x25a34b[_0xade8c(0x14f)]=0x232a]=_0xade8c(0x14f),_0x25a34b[_0x25a34b[_0xade8c(0xb5)]=0x232b]=_0xade8c(0xb5),_0x25a34b[_0x25a34b[_0xade8c(0x327)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x25a34b[_0x25a34b['LICENSE_DISTRO_REJECTED']=0x232d]=_0xade8c(0x394),_0x25a34b[_0x25a34b[_0xade8c(0x2bb)]=0x2711]=_0xade8c(0x2bb),_0x25a34b[_0x25a34b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xade8c(0x103),_0x25a34b[_0x25a34b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x25a34b))(Rs||{}),H=(_0x2505a2=>(_0x2505a2[_0x2505a2[_0xade8c(0xc5)]=0x0]=_0xade8c(0xc5),_0x2505a2[_0x2505a2[_0xade8c(0x1c7)]=0x1]='UNIVER_DOC',_0x2505a2[_0x2505a2[_0xade8c(0x3a3)]=0x2]=_0xade8c(0x3a3),_0x2505a2[_0x2505a2[_0xade8c(0x170)]=0x3]=_0xade8c(0x170),_0x2505a2[_0x2505a2['UNRECOGNIZED']=-0x1]=_0xade8c(0x36e),_0x2505a2))(H||{}),I=(_0x4322e2=>(_0x4322e2[_0x4322e2[_0xade8c(0x3a6)]=0x0]=_0xade8c(0x3a6),_0x4322e2[_0x4322e2['HELLO']=0x1]='HELLO',_0x4322e2[_0x4322e2[_0xade8c(0xa8)]=0x2]=_0xade8c(0xa8),_0x4322e2[_0x4322e2[_0xade8c(0x308)]=0x3]=_0xade8c(0x308),_0x4322e2[_0x4322e2['INGEST']=0x4]='INGEST',_0x4322e2[_0x4322e2[_0xade8c(0x1eb)]=0x5]=_0xade8c(0x1eb),_0x4322e2[_0x4322e2[_0xade8c(0x370)]=0x6]=_0xade8c(0x370),_0x4322e2[_0x4322e2[_0xade8c(0x36e)]=-0x1]=_0xade8c(0x36e),_0x4322e2))(I||{}),yt=(_0x22cef8=>(_0x22cef8[_0x22cef8[_0xade8c(0x1c0)]=0x0]='UNKNOWN_CODE',_0x22cef8[_0x22cef8['OK']=0x1]='OK',_0x22cef8[_0x22cef8[_0xade8c(0x140)]=0x2]=_0xade8c(0x140),_0x22cef8[_0x22cef8['UNRECOGNIZED']=-0x1]=_0xade8c(0x36e),_0x22cef8))(yt||{}),Sn=Object[_0xade8c(0x36b)],vn=Object[_0xade8c(0x22b)],pn=(_0x53e36c,_0x38424e,_0x5df1c5,_0x46e19d)=>{const _0xfd67c2=_0xade8c;for(var _0x17ef66=_0x46e19d>0x1?void 0x0:_0x46e19d?vn(_0x38424e,_0x5df1c5):_0x38424e,_0xcb4644=_0x53e36c[_0xfd67c2(0x331)]-0x1,_0x58d436;_0xcb4644>=0x0;_0xcb4644--)(_0x58d436=_0x53e36c[_0xcb4644])&&(_0x17ef66=(_0x46e19d?_0x58d436(_0x38424e,_0x5df1c5,_0x17ef66):_0x58d436(_0x17ef66))||_0x17ef66);return _0x46e19d&&_0x17ef66&&Sn(_0x38424e,_0x5df1c5,_0x17ef66),_0x17ef66;},Kt=(_0x5a0ae6,_0x48a509)=>(_0x2c6168,_0x5d9a80)=>_0x48a509(_0x2c6168,_0x5d9a80,_0x5a0ae6);let ne=class extends _0x5297f3{constructor(_0x5c04dd,_0xef95c){const _0x5e19c0=_0xade8c;super(),l(this,_0x5e19c0(0xf2),new Map()),(this[_0x5e19c0(0x1c2)]=_0x5c04dd,this[_0x5e19c0(0x1d9)]=_0xef95c,this[_0x5e19c0(0x1f1)](_0x45cb21(_0x52fd0c(this[_0x5e19c0(0x1c2)][_0x5e19c0(0x1a4)](_0x9cd059['UNIVER_SHEET'])[_0x5e19c0(0x2fe)](_0x176ea9(_0x1f9941=>_0x1f9941['getUnitId']())),this[_0x5e19c0(0x1c2)][_0x5e19c0(0x1a4)](_0x9cd059['UNIVER_DOC'])['pipe'](_0x176ea9(_0x318f67=>_0x318f67[_0x5e19c0(0x350)]())),this[_0x5e19c0(0x1c2)][_0x5e19c0(0x1a4)](_0x9cd059[_0x5e19c0(0x170)])['pipe'](_0x176ea9(_0x5059fb=>_0x5059fb['getUnitId']())))[_0x5e19c0(0xbf)](_0x258f93=>this[_0x5e19c0(0x20e)](_0x258f93)))));}[_0xade8c(0x174)](_0x147653){const _0x242f27=_0xade8c;this[_0x242f27(0x1d9)][_0x242f27(0x174)](_0x147653);}[_0xade8c(0x31f)](){const _0x5994be=_0xade8c;return this[_0x5994be(0x1d9)]['getCurrentUser']();}[_0xade8c(0x1ce)](_0x203037,_0x286bd5){const _0x529506=_0xade8c;let _0x46db06=this[_0x529506(0xf2)]['get'](_0x203037);_0x46db06||(_0x46db06=new In(),this[_0x529506(0xf2)][_0x529506(0xbd)](_0x203037,_0x46db06)),_0x46db06[_0x529506(0x1ce)](_0x286bd5);}[_0xade8c(0x32c)](_0x4b75a1,_0x54d24a){const _0x1b6998=_0xade8c,_0x37a6e7=this[_0x1b6998(0xf2)][_0x1b6998(0x275)](_0x4b75a1);_0x37a6e7&&_0x37a6e7[_0x1b6998(0x32c)](_0x54d24a);}[_0xade8c(0x2b2)](_0x1efd8f){const _0x1e85e9=_0xade8c;return this[_0x1e85e9(0xf2)][_0x1e85e9(0x275)](_0x1efd8f);}[_0xade8c(0xa5)](_0x6d9537,_0x2bb3ef){const _0x6d94c=_0xade8c,_0x479ffb=this['_roomMembers'][_0x6d94c(0x275)](_0x6d9537);if(_0x479ffb)return _0x479ffb[_0x6d94c(0xa5)](_0x2bb3ef);}[_0xade8c(0x20e)](_0x4d3ae7){const _0x3ff6c7=_0xade8c,_0x8210f6=this[_0x3ff6c7(0xf2)][_0x3ff6c7(0x275)](_0x4d3ae7);_0x8210f6&&(_0x8210f6[_0x3ff6c7(0x199)](),this[_0x3ff6c7(0xf2)][_0x3ff6c7(0x39d)](_0x4d3ae7));}[_0xade8c(0x199)](){const _0x5a6516=_0xade8c;this[_0x5a6516(0xf2)]['forEach'](_0x54e41e=>_0x54e41e['dispose']()),this[_0x5a6516(0xf2)][_0x5a6516(0x287)]();}};ne=pn([Kt(0x0,_0x3b87df),Kt(0x1,_0xd901da(_0x371b9f))],ne);class In extends _0x5297f3{constructor(){const _0x59fbbc=_0xade8c;super(...arguments),l(this,_0x59fbbc(0xc7),new Map());}['dispose'](){const _0x41ee51=_0xade8c;this[_0x41ee51(0xc7)][_0x41ee51(0x287)]();}[_0xade8c(0x1ce)](_0x4b8927){const _0x1dadbb=_0xade8c;this[_0x1dadbb(0xc7)][_0x1dadbb(0xbd)](_0x4b8927[_0x1dadbb(0x216)],_0x4b8927);}[_0xade8c(0x32c)](_0x41aa80){const _0x1c4e6c=_0xade8c;this['_members'][_0x1c4e6c(0x39d)](_0x41aa80);}[_0xade8c(0xa5)](_0x4a26c9){const _0x2d54f1=_0xade8c;return this[_0x2d54f1(0xc7)]['get'](_0x4a26c9);}}function En(_0x33a74d){const _0x219928=_0xade8c;var _0x5d91e5,_0x16e8ea,_0x7b1fe8,_0x5d6059;const _0x2b6881=_0x33a74d[_0x219928(0x19b)],_0x1a50c0=JSON['parse'](_0x2b6881);switch(_0x1a50c0[_0x219928(0x25f)]){case I['HEARTBEAT']:case I[_0x219928(0x219)]:{const _0x1a5581=_0x1a50c0[_0x219928(0x9b)];return{..._0x1a50c0,'data':_0x1a5581,'cmd':_0x1a50c0[_0x219928(0x25f)]};}case I[_0x219928(0xa8)]:{const _0x4b0ba8=_0x1a50c0[_0x219928(0xb0)];return{..._0x1a50c0,'data':_0x4b0ba8,'cmd':_0x1a50c0[_0x219928(0x25f)]};}case I['RECV']:{const _0x3fef90=_0x1a50c0[_0x219928(0x393)];switch(_0x3fef90['eventID']){case _0x1b9133['PERMISSION_REJ']:return{..._0x1a50c0,'data':{..._0x3fef90,'data':(_0x5d91e5=_0x3fef90[_0x219928(0x367)])==null?void 0x0:_0x5d91e5['cs']},'cmd':_0x1a50c0[_0x219928(0x25f)]};case _0x1b9133[_0x219928(0x29b)]:return{..._0x1a50c0,'data':{..._0x3fef90,'data':(_0x16e8ea=_0x3fef90[_0x219928(0x179)])==null?void 0x0:_0x16e8ea['cs']},'cmd':_0x1a50c0[_0x219928(0x25f)]};case _0x1b9133[_0x219928(0x1a9)]:return{..._0x1a50c0,'data':{..._0x3fef90,'data':(_0x7b1fe8=_0x3fef90['newCsEvent'])==null?void 0x0:_0x7b1fe8['cs']},'cmd':_0x1a50c0[_0x219928(0x25f)]};case _0x1b9133['CHANGESET_REJ']:return{..._0x1a50c0,'data':{..._0x3fef90,'data':(_0x5d6059=_0x3fef90[_0x219928(0xb9)])==null?void 0x0:_0x5d6059['cs']},'cmd':_0x1a50c0['cmd']};case _0x1b9133[_0x219928(0x390)]:return{..._0x1a50c0,'data':{..._0x3fef90,'data':_0x3fef90[_0x219928(0x10d)]},'cmd':_0x1a50c0[_0x219928(0x25f)]};case _0x1b9133[_0x219928(0x25a)]:return{..._0x1a50c0,'data':{..._0x3fef90,'data':_0x3fef90[_0x219928(0xe0)]},'cmd':_0x1a50c0[_0x219928(0x25f)]};case _0x1b9133[_0x219928(0x8b)]:return{..._0x1a50c0,'data':{..._0x3fef90,'data':_0x3fef90[_0x219928(0x36d)]},'cmd':_0x1a50c0[_0x219928(0x25f)]};case _0x1b9133[_0x219928(0x250)]:return{..._0x1a50c0,'data':{..._0x3fef90,'data':_0x3fef90['liveShareNewHost']},'cmd':_0x1a50c0['cmd']};case _0x1b9133['LIVESHARE_FETCH_OPERATIONS']:case _0x1b9133['LIVESHARE_OPERATION']:return{..._0x1a50c0,'data':{..._0x3fef90,'data':_0x3fef90[_0x219928(0x2a8)]},'cmd':_0x1a50c0[_0x219928(0x25f)]};case _0x1b9133[_0x219928(0xf8)]:return{..._0x1a50c0,'data':{..._0x3fef90,'data':_0x3fef90[_0x219928(0xe8)]},'cmd':_0x1a50c0[_0x219928(0x25f)]};case _0x1b9133[_0x219928(0x1a3)]:return{..._0x1a50c0,'data':_0x3fef90,'cmd':_0x1a50c0['cmd']};case _0x1b9133[_0x219928(0xdf)]:return{..._0x1a50c0,'data':{..._0x3fef90,'data':_0x3fef90[_0x219928(0x24b)]},'cmd':_0x1a50c0[_0x219928(0x25f)]};case _0x1b9133[_0x219928(0x130)]:return{..._0x1a50c0,'data':{..._0x3fef90,'data':_0x3fef90['updatePermissionObjEvent']},'cmd':_0x1a50c0[_0x219928(0x25f)]};case _0x1b9133['SHOULD_CLOSE_CONN']:return{..._0x1a50c0,'data':{..._0x3fef90,'data':_0x3fef90[_0x219928(0x3b7)]},'cmd':_0x1a50c0[_0x219928(0x25f)]};default:return _0x1a50c0;}}default:return _0x1a50c0;}}function Cn(_0x1bc10a){const _0x2b2f5e=_0xade8c;switch(_0x1bc10a[_0x2b2f5e(0x25f)]){case I['HEARTBEAT']:case I['HELLO']:return JSON[_0x2b2f5e(0x2b0)]({'cmd':_0x1bc10a['cmd'],'routeKey':_0x1bc10a['routeKey']});case I[_0x2b2f5e(0x315)]:{let _0x2ae2e2;switch(_0x1bc10a[_0x2b2f5e(0x19b)][_0x2b2f5e(0x13b)]){case _0x1b9133['UPDATE_CURSOR']:{_0x2ae2e2={'eventID':_0x1b9133[_0x2b2f5e(0x390)],'updateCursorEvent':_0x1bc10a['data'][_0x2b2f5e(0x19b)]};break;}case _0x1b9133['USERS_LEAVE']:{_0x2ae2e2={'eventID':_0x1b9133[_0x2b2f5e(0x8b)],'leaveEvent':_0x1bc10a[_0x2b2f5e(0x19b)][_0x2b2f5e(0x19b)]};break;}case _0x1b9133[_0x2b2f5e(0x25a)]:{_0x2ae2e2={'eventID':_0x1b9133[_0x2b2f5e(0x25a)],'joinEvent':_0x1bc10a[_0x2b2f5e(0x19b)][_0x2b2f5e(0x19b)]};break;}case _0x1b9133[_0x2b2f5e(0x250)]:{_0x2ae2e2={'eventID':_0x1b9133[_0x2b2f5e(0x250)],'liveShareNewHost':_0x1bc10a[_0x2b2f5e(0x19b)][_0x2b2f5e(0x19b)]};break;}case _0x1b9133[_0x2b2f5e(0x2a0)]:{_0x2ae2e2={'eventID':_0x1b9133['LIVESHARE_OPERATION'],'liveShareOperation':_0x1bc10a[_0x2b2f5e(0x19b)][_0x2b2f5e(0x19b)]};break;}case _0x1b9133[_0x2b2f5e(0xf8)]:{_0x2ae2e2={'eventID':_0x1b9133['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1bc10a['data'][_0x2b2f5e(0x19b)]};break;}case _0x1b9133[_0x2b2f5e(0x1cc)]:{_0x2ae2e2={'eventID':_0x1b9133[_0x2b2f5e(0x1cc)],'liveShareRequestHost':_0x1bc10a['data'][_0x2b2f5e(0x19b)]};break;}case _0x1b9133[_0x2b2f5e(0x259)]:{_0x2ae2e2={'eventID':_0x1b9133[_0x2b2f5e(0x259)]};break;}default:_0x2ae2e2={'eventID':_0x1bc10a[_0x2b2f5e(0x19b)]['eventID']};}return JSON[_0x2b2f5e(0x2b0)]({'cmd':_0x1bc10a[_0x2b2f5e(0x25f)],'routeKey':_0x1bc10a[_0x2b2f5e(0x2c5)],'collaMsg':_0x2ae2e2});}case I[_0x2b2f5e(0xa8)]:return JSON[_0x2b2f5e(0x2b0)]({'cmd':_0x1bc10a[_0x2b2f5e(0x25f)],'routeKey':_0x1bc10a[_0x2b2f5e(0x2c5)],'joinReq':_0x1bc10a[_0x2b2f5e(0x19b)]});case I[_0x2b2f5e(0x308)]:return JSON[_0x2b2f5e(0x2b0)]({'cmd':_0x1bc10a[_0x2b2f5e(0x25f)],'routeKey':_0x1bc10a[_0x2b2f5e(0x2c5)],'leaveReq':_0x1bc10a[_0x2b2f5e(0x19b)]});default:throw new Error(_0x2b2f5e(0x155));}}var bn=Object[_0xade8c(0x36b)],Tn=Object['getOwnPropertyDescriptor'],Rn=(_0x58b028,_0x23dfea,_0x593207,_0xae2026)=>{for(var _0x58a514=_0xae2026>0x1?void 0x0:_0xae2026?Tn(_0x23dfea,_0x593207):_0x23dfea,_0x1c692a=_0x58b028['length']-0x1,_0x1074a3;_0x1c692a>=0x0;_0x1c692a--)(_0x1074a3=_0x58b028[_0x1c692a])&&(_0x58a514=(_0xae2026?_0x1074a3(_0x23dfea,_0x593207,_0x58a514):_0x1074a3(_0x58a514))||_0x58a514);return _0xae2026&&_0x58a514&&bn(_0x23dfea,_0x593207,_0x58a514),_0x58a514;},Ee=(_0x4879c5,_0x18cac9)=>(_0x3ce321,_0x46430e)=>_0x18cac9(_0x3ce321,_0x46430e,_0x4879c5);const Os=_0xc3d169(_0xade8c(0x25d));function On(_0x163d19,_0x3ffc48,_0x18e210){const _0x5a2dbd=_0xade8c;return _0x163d19+'/'+_0x3ffc48+_0x5a2dbd(0x302)+_0x18e210+_0x5a2dbd(0x32e);}let gt=class{constructor(_0x3a207a,_0x272a1f,_0x1dfae9,_0x1259c9,_0x19969f){const _0x2af20c=_0xade8c;this[_0x2af20c(0x11b)]=_0x3a207a,this[_0x2af20c(0x335)]=_0x272a1f,this[_0x2af20c(0x253)]=_0x1dfae9,this[_0x2af20c(0x37f)]=_0x1259c9,this[_0x2af20c(0x355)]=_0x19969f;}['createSocket'](_0x122be5){const _0x392464=_0xade8c,_0x59178d=this['_ws']['createSocket'](_0x122be5);if(!_0x59178d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x1b6a3d=new _0x5e2383(),_0x3aa7c0=new _0x3718e0();_0x1b6a3d[_0x392464(0x21f)](_0x45cb21(_0x59178d[_0x392464(0x285)]['subscribe'](_0x159ff1=>_0x3aa7c0[_0x392464(0xab)](_0x159ff1)))),_0x1b6a3d[_0x392464(0x21f)](_0x45cb21(()=>_0x3aa7c0['complete']()));const _0xeb16a=new _0x3718e0();_0x1b6a3d[_0x392464(0x21f)](_0x45cb21(_0x59178d['error$'][_0x392464(0xbf)](_0x54ba92=>_0xeb16a['next'](_0x54ba92)))),_0x1b6a3d[_0x392464(0x21f)](_0x45cb21(()=>_0xeb16a[_0x392464(0x239)]()));const _0x45bf6d=new _0x3718e0();_0x1b6a3d[_0x392464(0x21f)](_0x45cb21(_0x59178d[_0x392464(0x20c)][_0x392464(0xbf)](_0x5d59be=>{const _0x2ad90c=_0x392464,_0x98ec8a=En(_0x5d59be);_0x45bf6d[_0x2ad90c(0xab)](_0x98ec8a);}))),_0x1b6a3d[_0x392464(0x21f)](_0x45cb21(()=>_0x45bf6d[_0x392464(0x239)]()));const _0x107b0c=()=>{const _0x2ea338=_0x392464;_0xeb16a[_0x2ea338(0xab)](new Event(_0x2ea338(0x13a))),_0x3aa7c0['next'](new CloseEvent(_0x2ea338(0x13a))),_0x743285['close']();},_0x743285={'memberID':'','close$':_0x3aa7c0['asObservable'](),'error$':_0xeb16a[_0x392464(0x329)](),'open$':_0x59178d['open$'],'message$':_0x45bf6d[_0x392464(0x329)](),'send':_0x54ffea=>{const _0x49b573=_0x392464;if(_0x54ffea[_0x49b573(0x25f)]===I[_0x49b573(0x315)]){if(_0x54ffea['data'][_0x49b573(0x13b)]===_0x1b9133[_0x49b573(0x35a)]){this[_0x49b573(0x391)](_0x743285,_0x54ffea[_0x49b573(0x19b)])[_0x49b573(0x23d)](_0xb9ffb2=>{const _0x555ece=_0x49b573;this[_0x555ece(0x37f)]['error'](_0xb9ffb2),_0x107b0c();});return;}if(_0x54ffea['data'][_0x49b573(0x13b)]===_0x1b9133[_0x49b573(0x34f)]){const _0x5c32a7=_0x54ffea[_0x49b573(0x19b)];this[_0x49b573(0x358)](_0x5c32a7)[_0x49b573(0x2dd)](_0x484349=>{const _0x500ed6=_0x49b573;_0x45bf6d[_0x500ed6(0xab)]({'cmd':I[_0x500ed6(0x370)],'code':yt['OK'],'routeKey':_0x5c32a7['data'][_0x500ed6(0x14d)],'routeType':'','data':{'eventID':_0x1b9133[_0x500ed6(0x25b)],'data':{'changesets':_0x484349}}});})[_0x49b573(0x23d)](_0x54a682=>{const _0x30eae1=_0x49b573;this[_0x30eae1(0x37f)][_0x30eae1(0x2cf)](_0x54a682),_0x107b0c();});return;}}_0x59178d['send'](Cn(_0x54ffea));},'close':()=>{const _0x29d813=_0x392464;_0x59178d[_0x29d813(0x17e)](),_0x1b6a3d[_0x29d813(0x199)]();}};return _0x743285;}async[_0xade8c(0x391)](_0x4372ec,_0x3f26a5){const _0x59b82b=_0xade8c;var _0x576ae2;const {unitType:_0x903c27,unitID:_0x27009a,changeset:_0x253338}=_0x3f26a5[_0x59b82b(0x19b)],_0x4b9ade={'unitID':_0x27009a,'memberID':_0x4372ec[_0x59b82b(0x216)],'type':_0x903c27,'changeset':_0x391abe(_0x253338)},_0x5b7e86=On((_0x576ae2=this[_0x59b82b(0x253)]['getConfig'](dn))!=null?_0x576ae2:fn,_0x903c27,_0x27009a);try{await this['_http'][_0x59b82b(0x35d)](_0x5b7e86,{'body':_0x4b9ade});}catch(_0x1217c8){throw this[_0x59b82b(0x37f)][_0x59b82b(0x2cf)]('[CollaborationSession]',_0x59b82b(0x305)),_0x1217c8;}}async[_0xade8c(0x358)](_0x2dff58){const _0x3459f3=_0xade8c,{unitID:_0x28ed22,from:_0xdb46cb,to:_0x42f5d5,unitType:_0x41e4bf}=_0x2dff58[_0x3459f3(0x19b)];return(await this[_0x3459f3(0x355)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x28ed22,'type':_0x41e4bf,'from':_0xdb46cb,'to':_0x42f5d5}))[_0x3459f3(0xe4)];}};gt=Rn([Ee(0x0,_0xd901da(_0x32bb9e)),Ee(0x1,_0xd901da(_0x56a40f)),Ee(0x2,_0x531a6b),Ee(0x3,_0x255408),Ee(0x4,_0x5610c3)],gt);class Ds{constructor(){const _0x23492c=_0xade8c;l(this,_0x23492c(0x8d),new _0x3718e0()),l(this,_0x23492c(0x115),this[_0x23492c(0x8d)][_0x23492c(0x329)]());}[_0xade8c(0x96)](_0x5c0ea8){const _0x179267=_0xade8c;this[_0x179267(0x8d)][_0x179267(0xab)](_0x5c0ea8);}}var Dn=Object[_0xade8c(0x36b)],Pn=Object[_0xade8c(0x22b)],Ps=(_0x351f34,_0x3c5a2e,_0x2659b6,_0x337e85)=>{const _0x12224b=_0xade8c;for(var _0x9fdb39=_0x337e85>0x1?void 0x0:_0x337e85?Pn(_0x3c5a2e,_0x2659b6):_0x3c5a2e,_0x4675e8=_0x351f34[_0x12224b(0x331)]-0x1,_0x2c1fa0;_0x4675e8>=0x0;_0x4675e8--)(_0x2c1fa0=_0x351f34[_0x4675e8])&&(_0x9fdb39=(_0x337e85?_0x2c1fa0(_0x3c5a2e,_0x2659b6,_0x9fdb39):_0x2c1fa0(_0x9fdb39))||_0x9fdb39);return _0x337e85&&_0x9fdb39&&Dn(_0x3c5a2e,_0x2659b6,_0x9fdb39),_0x9fdb39;},M=(_0x562975,_0x3af1d8)=>(_0x22db07,_0x1bdd7f)=>_0x3af1d8(_0x22db07,_0x1bdd7f,_0x562975),de=(_0x3e8c2e=>(_0x3e8c2e[_0x3e8c2e['IDLE']=0x0]=_0xade8c(0x3ac),_0x3e8c2e[_0x3e8c2e[_0xade8c(0x3b6)]=0x1]=_0xade8c(0x3b6),_0x3e8c2e[_0x3e8c2e['OFFLINE']=0x2]=_0xade8c(0x262),_0x3e8c2e[_0x3e8c2e['ONLINE']=0x3]=_0xade8c(0x241),_0x3e8c2e))(de||{});let St=class extends _0x3fb7e3{constructor(_0x3cb910,_0x19f58e,_0x4ca11b,_0x566164,_0x250393,_0x27ebfa,_0x23dfce,_0x29cb0b,_0x338d20){const _0x45c73f=_0xade8c;super(),l(this,_0x45c73f(0x2fa),new _0x1a37bf(0x0)),l(this,_0x45c73f(0x17f),this[_0x45c73f(0x2fa)]['asObservable']()),l(this,_0x45c73f(0x2b7),new _0x3718e0()),l(this,_0x45c73f(0x2ea),this[_0x45c73f(0x2b7)][_0x45c73f(0x329)]()),l(this,'_socket'),l(this,_0x45c73f(0x39a)),l(this,'_collaborationTimeoutTimer'),(this[_0x45c73f(0x34b)]=_0x3cb910,this[_0x45c73f(0x37f)]=_0x4ca11b,this[_0x45c73f(0x272)]=_0x566164,this[_0x45c73f(0x368)]=_0x250393,this['_configService']=_0x27ebfa,this[_0x45c73f(0x148)]=_0x23dfce,this[_0x45c73f(0x311)]=_0x29cb0b,this[_0x45c73f(0x388)]=_0x338d20,_0x19f58e['pipe'](_0x68ef5b(this[_0x45c73f(0x13d)]))['subscribe'](_0x4bc210=>{const _0x4e8b9e=_0x45c73f;var _0x5150c2;typeof _0x4bc210>'u'||(this[_0x4e8b9e(0x14c)]=_0x4bc210,_0x4bc210?(this[_0x4e8b9e(0x3a7)](_0x4bc210),this[_0x4e8b9e(0x39a)]=this[_0x4e8b9e(0x14c)][_0x4e8b9e(0x20c)][_0x4e8b9e(0xbf)](_0x18496e=>{const _0x5d64de=_0x4e8b9e;_0x18496e[_0x5d64de(0x2c5)]===this[_0x5d64de(0x34b)]&&this['_onCombEvent'](_0x18496e);})):(this[_0x4e8b9e(0x2fa)][_0x4e8b9e(0xab)](0x2),(_0x5150c2=this[_0x4e8b9e(0x39a)])==null||_0x5150c2['unsubscribe'](),this[_0x4e8b9e(0x39a)]=null));}),this[_0x45c73f(0x1f1)](this['_beforeCloseService'][_0x45c73f(0x3a8)](()=>{const _0xa8b2e3=_0x45c73f;var _0x106051;(_0x106051=this['_socket'])==null||_0x106051['send']({'cmd':I['LEAVE'],'data':{'roomID':this[_0xa8b2e3(0x34b)]}});})));}get['sessionStatus'](){const _0xa26297=_0xade8c;return this['_sessionStatus$'][_0xa26297(0x17d)]();}[_0xade8c(0xdc)](){const _0x5c25a9=_0xade8c;var _0x5c359f,_0x461e8c;return(_0x461e8c=(_0x5c359f=this[_0x5c25a9(0x14c)])==null?void 0x0:_0x5c359f[_0x5c25a9(0x216)])!=null?_0x461e8c:null;}[_0xade8c(0x199)](){const _0x551025=_0xade8c;super[_0x551025(0x199)](),this[_0x551025(0x13d)][_0x551025(0xab)](),this[_0x551025(0x13d)]['complete']();}[_0xade8c(0x17e)](){const _0x26646b=_0xade8c;var _0x1ec21d,_0x8a75f;(_0x1ec21d=this[_0x26646b(0x14c)])==null||_0x1ec21d[_0x26646b(0x18a)]({'cmd':I[_0x26646b(0x308)],'data':{'roomID':this[_0x26646b(0x34b)]}}),this[_0x26646b(0x2b7)][_0x26646b(0x239)](),this[_0x26646b(0x2fa)][_0x26646b(0x239)](),(_0x8a75f=this[_0x26646b(0x14c)])==null||_0x8a75f['close'](),this['dispose']();}[_0xade8c(0x3aa)](_0x9445f9){const _0x2fd48c=_0xade8c;_0x9445f9[_0x2fd48c(0x25f)]===I[_0x2fd48c(0xa8)]?this['_onJoinRoomEvent'](_0x9445f9):_0x9445f9[_0x2fd48c(0x25f)]===I[_0x2fd48c(0x370)]&&this[_0x2fd48c(0x347)](_0x9445f9);}['_joinRoom'](_0x21d843){const _0xee7f40=_0xade8c;this['_sessionStatus$'][_0xee7f40(0xab)](0x1),_0x21d843[_0xee7f40(0x18a)]({'cmd':I[_0xee7f40(0xa8)],'routeKey':this[_0xee7f40(0x34b)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0xade8c(0x274)](_0x142a77){const _0x5537a3=_0xade8c;var _0x5783be;if(_0x142a77[_0x5537a3(0x2d3)]===yt['FAIL']){this['_messageService'][_0x5537a3(0xfa)]({'type':_0x4d4329[_0x5537a3(0x398)],'content':this[_0x5537a3(0x148)]['t'](_0x5537a3(0x221))}),this[_0x5537a3(0x2fa)][_0x5537a3(0xab)](0x2);return;}this[_0x5537a3(0x2fa)]['next'](0x3);const _0x1c4c0f=(_0x5783be=_0x142a77['data']['roomInfos'][this[_0x5537a3(0x34b)]])==null?void 0x0:_0x5783be[_0x5537a3(0x279)];_0x1c4c0f&&_0x1c4c0f[_0x5537a3(0x2f2)](_0x46a7bd=>this['_memberService']['updateMember'](this[_0x5537a3(0x34b)],_0x46a7bd));}[_0xade8c(0x347)](_0x2c0e9f){const _0x24a36b=_0xade8c;try{const _0x28fc1c=_0x2c0e9f[_0x24a36b(0x19b)];switch(_0x28fc1c[_0x24a36b(0x13b)]){case _0x1b9133[_0x24a36b(0x25a)]:this[_0x24a36b(0xca)](_0x28fc1c),this['_event$'][_0x24a36b(0xab)](_0x28fc1c);break;case _0x1b9133[_0x24a36b(0x8b)]:this[_0x24a36b(0x357)](_0x28fc1c),this[_0x24a36b(0x2b7)]['next'](_0x28fc1c);break;case _0x1b9133[_0x24a36b(0x29b)]:this[_0x24a36b(0x1cd)](),this[_0x24a36b(0x2b7)][_0x24a36b(0xab)](_0x28fc1c);break;case _0x1b9133[_0x24a36b(0x1a3)]:this['_logService'][_0x24a36b(0x2cf)](_0x24a36b(0x1d4)+JSON[_0x24a36b(0x2b0)](_0x28fc1c)),this[_0x24a36b(0x2b7)][_0x24a36b(0xab)](_0x28fc1c);break;case _0x1b9133[_0x24a36b(0xdf)]:this['_commentService'][_0x24a36b(0x96)](_0x28fc1c[_0x24a36b(0x19b)]),this[_0x24a36b(0x2b7)][_0x24a36b(0xab)](_0x28fc1c);break;default:this[_0x24a36b(0x2b7)]['next'](_0x28fc1c);}}catch(_0x3c4978){this['_logService']['error'](_0x3c4978,_0x2c0e9f);}}[_0xade8c(0xca)](_0x14cdeb){const _0x1c7178=_0xade8c;this[_0x1c7178(0x311)]['updateMember'](this[_0x1c7178(0x34b)],_0x14cdeb['data']);}[_0xade8c(0x357)](_0x552388){const _0x561f38=_0xade8c;this[_0x561f38(0x311)]['removeMember'](this[_0x561f38(0x34b)],_0x552388[_0x561f38(0x19b)][_0x561f38(0x216)]);}async['send'](_0x5b826d,_0x2adbd8){const _0x22e1d7=_0xade8c;if(this[_0x22e1d7(0x273)]!==0x3||!this[_0x22e1d7(0x14c)])throw new Error(_0x22e1d7(0x231));try{_0x5b826d['eventID']===_0x1b9133['NEW_CHANGESETS']&&this[_0x22e1d7(0x159)](),this[_0x22e1d7(0x14c)]['send']({'cmd':I[_0x22e1d7(0x315)],'routeKey':_0x2adbd8,'routeType':'','data':_0x5b826d});}catch(_0x4b9973){this[_0x22e1d7(0x37f)][_0x22e1d7(0x2cf)](_0x4b9973);}}[_0xade8c(0x159)](){const _0x564789=_0xade8c;var _0x503560;this[_0x564789(0x286)]=window[_0x564789(0x234)](()=>{const _0x4d13f7=_0x564789;this[_0x4d13f7(0x286)]=null,this[_0x4d13f7(0x368)][_0x4d13f7(0xfa)]({'type':_0x4d4329[_0x4d13f7(0xbe)],'content':this[_0x4d13f7(0x148)]['t']('session.collaboration-timeout')});},(_0x503560=this[_0x564789(0x253)]['getConfig'](bs))!=null?_0x503560:Ts);}[_0xade8c(0x1cd)](){const _0x4b0a98=_0xade8c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4b0a98(0x286)]),this[_0x4b0a98(0x286)]=null);}};St=Ps([M(0x2,_0x255408),M(0x3,_0x477bf3),M(0x4,_0x48de42),M(0x5,_0x531a6b),M(0x6,_0xd901da(_0x3fbf2b)),M(0x7,_0xd901da(ne)),M(0x8,_0xd901da(Ds))],St);let ge=class extends _0x5297f3{constructor(_0x93a508,_0x6dd421,_0x161d81,_0x4fd5f1,_0x1d5b69,_0x31f97a){const _0x1c0072=_0xade8c;super(),l(this,_0x1c0072(0x2b4),new _0x1a37bf(void 0x0)),l(this,_0x1c0072(0x1c9),new Map()),l(this,_0x1c0072(0x257),new _0x1a37bf(0x0)),l(this,_0x1c0072(0x1ed),this['_status$'][_0x1c0072(0x329)]()),l(this,_0x1c0072(0x26a),!0x1),l(this,_0x1c0072(0x197)),l(this,_0x1c0072(0x2de)),l(this,'_retryConnectingTimer'),l(this,_0x1c0072(0x12e),0x0),(this[_0x1c0072(0xcc)]=_0x93a508,this['_localeService']=_0x6dd421,this['_messageService']=_0x161d81,this[_0x1c0072(0x37f)]=_0x4fd5f1,this['_configService']=_0x1d5b69,this['_socketService']=_0x31f97a);}get[_0xade8c(0x14c)](){const _0xdd0aba=_0xade8c;return this[_0xdd0aba(0x2b4)][_0xdd0aba(0x17d)]();}['dispose'](){const _0x553dc4=_0xade8c;super['dispose'](),this[_0x553dc4(0x1c9)]['forEach'](_0x1be397=>_0x1be397[_0x553dc4(0x199)]()),this['_sessions']['clear'](),this[_0x553dc4(0x257)]['complete']();}async[_0xade8c(0x12b)](_0x1c1923){const _0x49817a=_0xade8c;if(this[_0x49817a(0x1c9)][_0x49817a(0x1e7)](_0x1c1923))return this['_sessions'][_0x49817a(0x275)](_0x1c1923);this[_0x49817a(0x242)]();const _0x569f94=this[_0x49817a(0xcc)][_0x49817a(0x371)](St,_0x1c1923,this[_0x49817a(0x2b4)][_0x49817a(0x329)]());return this[_0x49817a(0x1c9)][_0x49817a(0xbd)](_0x1c1923,_0x569f94),_0x569f94;}[_0xade8c(0x38a)](_0x1db196){const _0x100c5a=_0xade8c;var _0x101697;const _0x2c2a3f=this[_0x100c5a(0x1c9)][_0x100c5a(0x275)](_0x1db196);_0x2c2a3f&&(this[_0x100c5a(0x1c9)][_0x100c5a(0x39d)](_0x1db196),_0x2c2a3f[_0x100c5a(0x17e)]()),this[_0x100c5a(0x1c9)]['size']||(_0x101697=this['_socket'])==null||_0x101697[_0x100c5a(0x17e)]();}['_createSocket'](){const _0xd779f7=_0xade8c;var _0x56f197;const _0x953530=(_0x56f197=this[_0xd779f7(0x253)][_0xd779f7(0x1df)](sn))!=null?_0x56f197:nn;return this[_0xd779f7(0x1b6)][_0xd779f7(0x133)](_0x953530);}[_0xade8c(0x242)](){const _0x10cec3=_0xade8c;try{const _0x28d583=this[_0x10cec3(0x1e5)]();if(_0x28d583){const _0x2d9b02=_0x28d583[_0x10cec3(0x18a)];_0x28d583['send']=_0x410133=>(this['_rescheduleHeartbeatEvent'](),_0x2d9b02[_0x10cec3(0x277)](_0x28d583,[_0x410133])),_0x28d583[_0x10cec3(0x20c)]['subscribe'](_0x5c22b0=>this['_onMessage'](_0x28d583,_0x5c22b0)),_0x28d583[_0x10cec3(0x1bf)][_0x10cec3(0x2fe)](_0x4efd5d(0x1))[_0x10cec3(0xbf)](_0x4928e1=>this[_0x10cec3(0x37f)]['error'](_0x10cec3(0x28a),_0x4928e1)),_0x28d583['open$']['pipe'](_0x4efd5d(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x28d583);}),_0x28d583[_0x10cec3(0x285)][_0x10cec3(0x2fe)](_0x4efd5d(0x1))[_0x10cec3(0xbf)](_0x4daaf4=>{const _0x4be295=_0x10cec3;this[_0x4be295(0x37f)][_0x4be295(0x180)]('[CollaborationSessionService]',_0x4be295(0x149),_0x4daaf4),this[_0x4be295(0x38b)]();});}}catch(_0x497487){this[_0x10cec3(0x37f)][_0x10cec3(0x2cf)](_0x497487),this[_0x10cec3(0x38b)]();}}[_0xade8c(0x160)](_0x216336){const _0x1a094c=_0xade8c;this['_logService'][_0x1a094c(0x180)](_0x1a094c(0x248),_0x1a094c(0x2e3)),_0x216336[_0x1a094c(0x18a)]({'cmd':I[_0x1a094c(0x219)]}),this[_0x1a094c(0x260)]();}[_0xade8c(0x38b)](){const _0x38cdc8=_0xade8c;var _0x105394;this[_0x38cdc8(0x257)][_0x38cdc8(0xab)](0x2),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this[_0x38cdc8(0x236)](),this[_0x38cdc8(0x26a)]=!0x1,this[_0x38cdc8(0x12e)]<((_0x105394=this[_0x38cdc8(0x253)][_0x38cdc8(0x1df)](hn))!=null?_0x105394:ln)?(this['_scheduleReconnection'](this[_0x38cdc8(0x12e)]),this[_0x38cdc8(0x12e)]+=0x1):this[_0x38cdc8(0x368)][_0x38cdc8(0xfa)]({'type':_0x4d4329[_0x38cdc8(0xbe)],'content':this['_localeService']['t'](_0x38cdc8(0x11c))});}[_0xade8c(0x1b5)](_0x4dda43){const _0x196abe=_0xade8c;var _0x46d726;const _0xac68b=((_0x46d726=this[_0x196abe(0x253)][_0x196abe(0x1df)](an))!=null?_0x46d726:cn)*0x2**_0x4dda43;this[_0x196abe(0x368)][_0x196abe(0xfa)]({'type':_0x4d4329['Warning'],'content':this['_localeService']['t']('session.will-retry')}),this[_0x196abe(0x26d)]=setTimeout(()=>{const _0x4759f1=_0x196abe;this[_0x4759f1(0x242)](),clearTimeout(this[_0x4759f1(0x26d)]),this['_retryConnectingTimer']=null;},_0xac68b);}[_0xade8c(0x260)](){const _0x102aa8=_0xade8c;var _0x46fc26;this[_0x102aa8(0x236)](),this[_0x102aa8(0x197)]=setTimeout(()=>this[_0x102aa8(0x2da)](),(_0x46fc26=this[_0x102aa8(0x253)][_0x102aa8(0x1df)](rn))!=null?_0x46fc26:on);}[_0xade8c(0x2da)](){const _0x28b203=_0xade8c;this[_0x28b203(0x14c)][_0x28b203(0x18a)]({'cmd':I[_0x28b203(0x1eb)]}),this['_waitForHeartbeatResponse']();}[_0xade8c(0x382)](){const _0x5803f7=_0xade8c;var _0x19c4c2;this[_0x5803f7(0x2de)]=setTimeout(()=>this[_0x5803f7(0x38b)](),(_0x19c4c2=this[_0x5803f7(0x253)][_0x5803f7(0x1df)](bs))!=null?_0x19c4c2:Ts);}[_0xade8c(0x1ea)](_0x46b920,_0x14e17d){const _0x35ff9b=_0xade8c,{cmd:_0x437575}=_0x14e17d;_0x437575===I[_0x35ff9b(0x219)]&&!this[_0x35ff9b(0x26a)]&&(_0x46b920[_0x35ff9b(0x216)]=_0x14e17d[_0x35ff9b(0x19b)][_0x35ff9b(0x216)],this['_socket$'][_0x35ff9b(0xab)](_0x46b920),this['_status$'][_0x35ff9b(0xab)](0x3),this[_0x35ff9b(0x26a)]=!0x0),_0x437575===I[_0x35ff9b(0x1eb)]&&this['_clearTimeoutTimer'](),this[_0x35ff9b(0x260)]();}[_0xade8c(0x236)](){const _0x1c47fc=_0xade8c;this[_0x1c47fc(0x197)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1c47fc(0x197)]=null);}[_0xade8c(0x127)](){const _0x57e3f7=_0xade8c;this[_0x57e3f7(0x2de)]!=null&&(clearTimeout(this[_0x57e3f7(0x2de)]),this['_timeoutTimer']=null);}};ge=Ps([M(0x0,_0xd901da(_0x3c61ae)),M(0x1,_0xd901da(_0x3fbf2b)),M(0x2,_0x48de42),M(0x3,_0x255408),M(0x4,_0x531a6b),M(0x5,Os)],ge);var wn=Object[_0xade8c(0x36b)],Nn=Object['getOwnPropertyDescriptor'],Mn=(_0x3d7949,_0x53476a,_0x5f9b89,_0x504fde)=>{const _0x5ad7a5=_0xade8c;for(var _0x545046=_0x504fde>0x1?void 0x0:_0x504fde?Nn(_0x53476a,_0x5f9b89):_0x53476a,_0x1144fe=_0x3d7949[_0x5ad7a5(0x331)]-0x1,_0xae66f6;_0x1144fe>=0x0;_0x1144fe--)(_0xae66f6=_0x3d7949[_0x1144fe])&&(_0x545046=(_0x504fde?_0xae66f6(_0x53476a,_0x5f9b89,_0x545046):_0xae66f6(_0x545046))||_0x545046);return _0x504fde&&_0x545046&&wn(_0x53476a,_0x5f9b89,_0x545046),_0x545046;},Ce=(_0x5cff04,_0x2c8066)=>(_0x3a951f,_0x5e5617)=>_0x2c8066(_0x3a951f,_0x5e5617,_0x5cff04);let D=class extends _0x5297f3{constructor(_0x2e9de0,_0x299797,_0x43c333,_0x39ca4b,_0xb9e059){const _0x822978=_0xade8c;super(),l(this,_0x822978(0x13f),new Map()),l(this,_0x822978(0x243),new Map()),l(this,'_disabled',!0x1),(this[_0x822978(0x253)]=_0x2e9de0,this['_localStorageService']=_0x299797,this[_0x822978(0x272)]=_0x43c333,this['_localeService']=_0x39ca4b,this[_0x822978(0x30a)]=_0xb9e059,this[_0x822978(0x295)]());}[_0xade8c(0x164)](){const _0x3077e5=_0xade8c;this[_0x3077e5(0x26b)]=!0x0;}[_0xade8c(0x3ab)](){const _0x10573a=_0xade8c;this[_0x10573a(0x26b)]=!0x1;}['dispose'](){const _0x42f673=_0xade8c;this[_0x42f673(0x163)]()[_0x42f673(0x2dd)](()=>super[_0x42f673(0x199)]());}async[_0xade8c(0x1c1)](_0x561713){const _0xbbbb28=_0xade8c;return this[_0xbbbb28(0x26b)]?null:this[_0xbbbb28(0x121)]['getItem'](Xt(_0x561713));}async[_0xade8c(0x2f9)](_0xb78ddb,_0x3eacaa){const _0x4e0816=_0xade8c;return!!this['_localStorageService'][_0x4e0816(0x284)](_0xb78ddb,_0x3eacaa);}['updateOfflineData'](_0x4b093,_0x352f81,_0xe733ad,_0x32a301){const _0xe5ab94=_0xade8c,_0x1a6ace=this[_0xe5ab94(0x30a)][_0xe5ab94(0x7e)](_0x4b093);this[_0xe5ab94(0x13f)]['set'](_0x4b093,{'unitID':_0x4b093,'type':_0x352f81,'awaitingChangeset':_0xe733ad,'mutations':_0x32a301,'rev':_0x1a6ace}),this[_0xe5ab94(0x243)][_0xe5ab94(0x1e7)](_0x4b093)||this[_0xe5ab94(0x173)](_0x4b093);}['_scheduleSaving'](_0x3b6dc1){const _0x245349=_0xade8c,_0x191cd0=this['_getSaveTimeout']();_0x191cd0===0x0?this[_0x245349(0x384)](_0x3b6dc1):this[_0x245349(0x243)][_0x245349(0xbd)](_0x3b6dc1,setTimeout(()=>this[_0x245349(0x384)](_0x3b6dc1),_0x191cd0));}[_0xade8c(0x9f)](){const _0x1b8f80=_0xade8c;var _0x4d1ce1;return(_0x4d1ce1=this[_0x1b8f80(0x253)][_0x1b8f80(0x1df)](_n))!=null?_0x4d1ce1:un;}[_0xade8c(0x384)](_0x58948e){const _0x594b5c=_0xade8c,_0x434b5b=this[_0x594b5c(0x243)][_0x594b5c(0x275)](_0x58948e);return _0x434b5b!==void 0x0&&window[_0x594b5c(0xc0)](_0x434b5b),this[_0x594b5c(0x121)][_0x594b5c(0x284)](Xt(_0x58948e),this[_0x594b5c(0x13f)][_0x594b5c(0x275)](_0x58948e))['then'](()=>this['_saveTaskMap']['delete'](_0x58948e));}async[_0xade8c(0x163)](){const _0x6eab45=_0xade8c,_0x161866=[];this[_0x6eab45(0x243)][_0x6eab45(0x2f2)]((_0x194786,_0x226505)=>{const _0x28bca3=_0x6eab45;window['clearTimeout'](_0x194786),_0x161866[_0x28bca3(0x142)](this[_0x28bca3(0x384)](_0x226505)['then'](()=>{const _0x2a2b06=_0x28bca3;this[_0x2a2b06(0x243)][_0x2a2b06(0x39d)](_0x226505);}));}),await Promise[_0x6eab45(0x342)](_0x161866);}[_0xade8c(0x295)](){const _0x3ab17f=_0xade8c;this[_0x3ab17f(0x1f1)](this['_beforeCloseService'][_0x3ab17f(0x101)](()=>{const _0x453e09=_0x3ab17f;if(this['_saveTaskMap'][_0x453e09(0x337)])return this['_localeService']['t'](_0x453e09(0x288));}));}};D=Mn([Ce(0x0,_0x531a6b),Ce(0x1,_0x944e2d),Ce(0x2,_0x477bf3),Ce(0x3,_0xd901da(_0x3fbf2b)),Ce(0x4,_0xd901da(_0x432311))],D);function Xt(_0x2e4aea){const _0x14c20e=_0xade8c;return _0x14c20e(0x32f)+_0x2e4aea;}const et=_0xc3d169(_0xade8c(0x2d6));var ws=(_0x58dc43=>(_0x58dc43[_0x58dc43[_0xade8c(0x2e1)]=0x0]=_0xade8c(0x2e1),_0x58dc43[_0x58dc43['OTHER_CLIENTS_EDITING']=0x1]=_0xade8c(0x30c),_0x58dc43))(ws||{});const Jt=0x7530,qt='ACTIVE_UNIT_EVENT_CHANNEL';class An extends _0x5297f3{constructor(){const _0x2e0d38=_0xade8c;super(),l(this,_0x2e0d38(0x1e0),_0x398800['generateRandomId']()),l(this,_0x2e0d38(0x21b),new Set()),l(this,'_unitOnClients',new Map()),l(this,_0x2e0d38(0x2f1),null),l(this,_0x2e0d38(0x139),new Map()),l(this,_0x2e0d38(0x1da),new Map()),this['_init']();}['dispose'](){const _0x167cad=_0xade8c;super['dispose'](),this[_0x167cad(0x139)]['forEach']((_0x230d3b,_0x36f397)=>this[_0x167cad(0x198)](_0x36f397)),this[_0x167cad(0x2f1)]&&window['clearInterval'](this[_0x167cad(0x2f1)]);}[_0xade8c(0x1be)](_0x4ce6da){return this['_ensureSubject'](_0x4ce6da)['pipe'](_0x3cc420());}[_0xade8c(0x128)](_0x51ddf6){const _0x1fbfe0=_0xade8c;this[_0x1fbfe0(0x21b)][_0x1fbfe0(0x337)]===0x0&&this[_0x1fbfe0(0x1f3)](),this['_selfUnitIDs'][_0x1fbfe0(0x21f)](_0x51ddf6),this[_0x1fbfe0(0xf1)]({'type':0x0,'memberID':this[_0x1fbfe0(0x1e0)],'unitIDs':[_0x51ddf6],'isForwarded':!0x1});}['disposeUnit'](_0x6cedfb){const _0x309282=_0xade8c;this[_0x309282(0x21b)][_0x309282(0x39d)](_0x6cedfb),this[_0x309282(0x21b)]['size']===0x0&&this[_0x309282(0x2f1)]&&window[_0x309282(0x2f5)](this[_0x309282(0x2f1)]);}['_init'](){const _0x324291=_0xade8c;this['disposeWithMe'](_0x45cb21(_0x52fa92(window,_0x324291(0x2b3))[_0x324291(0xbf)](_0x226cd7=>{const _0x53d723=_0x324291;if(_0x226cd7['key']!==qt||!_0x226cd7[_0x53d723(0x28b)])return;const _0x15df89=JSON['parse'](_0x226cd7['newValue']);this[_0x53d723(0x224)](_0x15df89);}))),window['addEventListener'](_0x324291(0x111),()=>this['_send']({'type':0x1,'memberID':this[_0x324291(0x1e0)],'unitIDs':Array[_0x324291(0x310)](this[_0x324291(0x21b)])}));}[_0xade8c(0x224)](_0x238693){const _0x2368cd=_0xade8c;switch(_0x238693[_0x2368cd(0x207)]){case 0x0:this['_handleJoinEvent'](_0x238693);break;case 0x1:this[_0x2368cd(0x339)](_0x238693);break;case 0x2:this[_0x2368cd(0x211)](_0x238693);break;}}['_handleJoinEvent'](_0x267161){const _0x1383ea=_0xade8c,{unitIDs:_0x5db4e2,memberID:_0x23083b,isForwarded:_0x27847a}=_0x267161;_0x5db4e2[_0x1383ea(0x2f2)](_0x2a211d=>{const _0xc766bd=_0x1383ea;if(!_0x27847a&&this[_0xc766bd(0x1fb)][_0xc766bd(0x1e7)](_0x2a211d)&&this[_0xc766bd(0x184)](_0x2a211d)['next'](0x1),!this[_0xc766bd(0x1fb)]['has'](_0x2a211d)||!this[_0xc766bd(0x1fb)][_0xc766bd(0x275)](_0x2a211d)['has'](_0x23083b)){const _0x533ea1=this['_unitOnClients']['get'](_0x2a211d)||new Set();_0x533ea1[_0xc766bd(0x21f)](_0x23083b),this[_0xc766bd(0x1fb)]['set'](_0x2a211d,_0x533ea1),this[_0xc766bd(0x30f)](_0x23083b);}}),_0x27847a||this[_0x1383ea(0xf1)]({'type':0x0,'memberID':this[_0x1383ea(0x1e0)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x30912b){const _0x7e0db3=_0xade8c;this[_0x7e0db3(0x198)](_0x30912b);const _0x22f94b=window[_0x7e0db3(0x234)](()=>{const _0xa1f496=_0x7e0db3;this[_0xa1f496(0x1fb)][_0xa1f496(0x2f2)](_0x1f0621=>{const _0x316a0f=_0xa1f496;_0x1f0621[_0x316a0f(0x39d)](_0x30912b);});},Jt*0x2);this[_0x7e0db3(0x139)]['set'](_0x30912b,_0x22f94b);}[_0xade8c(0x198)](_0x511956){const _0x1690e0=_0xade8c;if(this[_0x1690e0(0x139)]['has'](_0x511956)){const _0x432761=this[_0x1690e0(0x139)][_0x1690e0(0x275)](_0x511956);_0x432761&&window['clearTimeout'](_0x432761),this[_0x1690e0(0x139)][_0x1690e0(0xbd)](_0x511956,null);}}[_0xade8c(0x339)](_0x49499f){const _0x311efa=_0xade8c,{memberID:_0x3d8451,unitIDs:_0x3e10b7}=_0x49499f;_0x3e10b7[_0x311efa(0x2f2)](_0x492fb=>{const _0x2f4ec6=_0x311efa;var _0x21816a;const _0x58f307=this[_0x2f4ec6(0x1fb)][_0x2f4ec6(0x275)](_0x492fb);_0x58f307&&(_0x58f307[_0x2f4ec6(0x39d)](_0x3d8451),(_0x21816a=this[_0x2f4ec6(0x184)](_0x492fb))==null||_0x21816a[_0x2f4ec6(0xab)](_0x58f307[_0x2f4ec6(0x337)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x3d8451);}[_0xade8c(0x211)](_0x4c275f){const _0x5d1e9e=_0xade8c;this[_0x5d1e9e(0x30f)](_0x4c275f['memberID']);}[_0xade8c(0xf1)](_0x1df58e){const _0x37c3e1=_0xade8c;localStorage[_0x37c3e1(0x284)](qt,JSON[_0x37c3e1(0x2b0)](_0x1df58e));}[_0xade8c(0x1f3)](){const _0x1fc84f=_0xade8c;this['_heartbeatTimer']=window[_0x1fc84f(0x269)](()=>{const _0x47b496=_0x1fc84f;this[_0x47b496(0xf1)]({'type':0x2,'memberID':this[_0x47b496(0x1e0)]});},Jt);}[_0xade8c(0x184)](_0x2afa1d){const _0x54e14c=_0xade8c;return this[_0x54e14c(0x1da)][_0x54e14c(0x1e7)](_0x2afa1d)||this['_unitStatus']['set'](_0x2afa1d,new _0x1a37bf(0x0)),this[_0x54e14c(0x1da)][_0x54e14c(0x275)](_0x2afa1d);}}var yn=Object['defineProperty'],Un=Object[_0xade8c(0x22b)],Ln=(_0x244d15,_0x16b13f,_0x5b08f5,_0x549a36)=>{const _0x15bca9=_0xade8c;for(var _0x12c8f2=_0x549a36>0x1?void 0x0:_0x549a36?Un(_0x16b13f,_0x5b08f5):_0x16b13f,_0x15fc01=_0x244d15[_0x15bca9(0x331)]-0x1,_0x21d968;_0x15fc01>=0x0;_0x15fc01--)(_0x21d968=_0x244d15[_0x15fc01])&&(_0x12c8f2=(_0x549a36?_0x21d968(_0x16b13f,_0x5b08f5,_0x12c8f2):_0x21d968(_0x12c8f2))||_0x12c8f2);return _0x549a36&&_0x12c8f2&&yn(_0x16b13f,_0x5b08f5,_0x12c8f2),_0x12c8f2;},zt=(_0x4a2b89,_0x3f60c6)=>(_0x1dca1c,_0x247ef7)=>_0x3f60c6(_0x1dca1c,_0x247ef7,_0x4a2b89);let Xe=class{constructor(_0xe274b1,_0x16621e){this['_injector']=_0xe274b1,this['_transformService']=_0x16621e;}[_0xade8c(0x105)](_0x430bfb){const _0x3ebb69=_0xade8c;this[_0x3ebb69(0xce)](_0x430bfb),this[_0x3ebb69(0x84)](_0x430bfb);}[_0xade8c(0x17a)](_0x4be85c){const _0x43e9df=_0xade8c,_0x107255=this['_injector']['get'](_0x42fcd8),{redoCache:_0x4761ed}=_0x107255[_0x43e9df(0x237)]();if(_0x4761ed[_0x43e9df(0x331)]===0x0)return _0x4be85c;let _0x55e778=_0x398800[_0x43e9df(0x383)](_0x4be85c[_0x43e9df(0xf5)][0x0]);for(let _0x2cdff=0x0;_0x2cdff<_0x4761ed[_0x43e9df(0x331)];_0x2cdff++){const _0x160bcc={'id':_0x43e9df(0x39b),'params':{..._0x4761ed[_0x2cdff]}},_0xd82501=this[_0x43e9df(0x8e)][_0x43e9df(0xaa)](_0x55e778,_0x160bcc,!0x1);if(_0x1054d7(_0xd82501))throw _0xd82501[_0x43e9df(0x2cf)];_0x55e778=_0xd82501[_0x43e9df(0x16b)];}return{..._0x398800[_0x43e9df(0x383)](_0x4be85c),'mutations':[_0x55e778]};}[_0xade8c(0xce)](_0x304bec){const _0x354c16=_0xade8c,_0x262563=this['_injector'][_0x354c16(0x275)](_0x42fcd8),{undoCache:_0x348d9d,redoCache:_0x247af0}=_0x262563[_0x354c16(0x237)]();if(_0x348d9d['length']===0x0||_0x247af0[_0x354c16(0x331)]===0x0)return;const _0x1521e6=[],_0x92ee78=[];let _0x511c80=_0x398800['deepClone'](_0x304bec[_0x354c16(0xf5)][0x0]),_0x5ed1d8=_0x398800[_0x354c16(0x383)](_0x304bec[_0x354c16(0xf5)][0x0]);for(let _0x2c7216=_0x348d9d[_0x354c16(0x331)]-0x1;_0x2c7216>=0x0;_0x2c7216--){const _0x1a49c9={'id':_0x354c16(0x39b),'params':{..._0x348d9d[_0x2c7216]}},_0x3b687b={'id':_0x354c16(0x39b),'params':{..._0x247af0[_0x2c7216]}},_0x3df178=this[_0x354c16(0x8e)][_0x354c16(0xaa)](_0x511c80,_0x1a49c9,!0x1),_0x443b84=this[_0x354c16(0x8e)]['transformMutation'](_0x5ed1d8,_0x3b687b,!0x1);if(_0x1054d7(_0x3df178))throw _0x3df178[_0x354c16(0x2cf)];if(_0x1054d7(_0x443b84))throw _0x443b84[_0x354c16(0x2cf)];_0x1521e6[_0x354c16(0x14a)](_0x3df178[_0x354c16(0x244)][_0x354c16(0x27a)]),_0x92ee78[_0x354c16(0x14a)](_0x443b84[_0x354c16(0x244)][_0x354c16(0x27a)]),_0x511c80=_0x3df178[_0x354c16(0x16b)],_0x5ed1d8=_0x443b84[_0x354c16(0x16b)];}_0x262563[_0x354c16(0x9a)]({'undoCache':_0x1521e6,'redoCache':_0x92ee78});}[_0xade8c(0x84)](_0x11a583){const _0x5a114c=_0xade8c,_0x599849=this['_injector']['get'](_0x42fcd8),_0x210d52=_0x599849[_0x5a114c(0x2a3)]();if(_0x210d52==null)return;const _0x8d6817=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11a583[_0x5a114c(0x14d)],'actions':null,'textRanges':[_0x210d52]}}],_0x1a69b8=this[_0x5a114c(0x8e)][_0x5a114c(0x392)](_0x11a583,_0x8d6817);if(!_0x504c1f(_0x1a69b8))throw _0x1a69b8[_0x5a114c(0x2cf)];const _0xc3d9ff=_0x1a69b8[_0x5a114c(0x244)][0x0][_0x5a114c(0x27a)][_0x5a114c(0x22f)];Array[_0x5a114c(0xc9)](_0xc3d9ff)&&_0xc3d9ff['length']&&_0x599849[_0x5a114c(0x166)](_0xc3d9ff[0x0]);}};Xe=Ln([zt(0x0,_0xd901da(_0x3c61ae)),zt(0x1,_0x581964)],Xe);var $n=Object[_0xade8c(0x36b)],jn=Object[_0xade8c(0x22b)],Hn=(_0x6b3b49,_0x15ce14,_0xec830,_0x3af955)=>{for(var _0x44f2e4=_0x3af955>0x1?void 0x0:_0x3af955?jn(_0x15ce14,_0xec830):_0x15ce14,_0x5abb4c=_0x6b3b49['length']-0x1,_0xf8ac5e;_0x5abb4c>=0x0;_0x5abb4c--)(_0xf8ac5e=_0x6b3b49[_0x5abb4c])&&(_0x44f2e4=(_0x3af955?_0xf8ac5e(_0x15ce14,_0xec830,_0x44f2e4):_0xf8ac5e(_0x44f2e4))||_0x44f2e4);return _0x3af955&&_0x44f2e4&&$n(_0x15ce14,_0xec830,_0x44f2e4),_0x44f2e4;},Zt=(_0x411673,_0x1a0ccb)=>(_0x90df26,_0x34f2be)=>_0x1a0ccb(_0x90df26,_0x34f2be,_0x411673);let Je=class{constructor(_0x3ccf47,_0x43bc65){const _0x37e7f0=_0xade8c;this['_injector']=_0x3ccf47,this[_0x37e7f0(0x8e)]=_0x43bc65;}[_0xade8c(0x2f4)](_0x296c52){const _0x1a355d=_0xade8c;var _0x487946;const _0x3b422f=this['_injector'][_0x1a355d(0x275)](_0x33f09e),_0x5ca76a=(_0x487946=_0x3b422f[_0x1a355d(0x200)]())!=null?_0x487946:[],_0x189596=_0x5ca76a==null?void 0x0:_0x5ca76a[_0x1a355d(0x39e)](_0x5b7fb3);if(_0x189596[_0x1a355d(0x331)]===0x0)return;const _0x402d42=[{'id':_0x1a355d(0x39b),'params':{'unitId':_0x296c52[_0x1a355d(0x14d)],'actions':null,'textRanges':_0x189596}}],_0x978c8c=this['_transformService'][_0x1a355d(0x392)](_0x296c52,_0x402d42);if(!_0x504c1f(_0x978c8c))throw _0x978c8c['error'];const _0x29d1cc=_0x978c8c[_0x1a355d(0x244)][0x0]['params'][_0x1a355d(0x22f)];Array[_0x1a355d(0xc9)](_0x29d1cc)&&_0x29d1cc[_0x1a355d(0x331)]&&_0x3b422f[_0x1a355d(0x291)](_0x29d1cc,!0x1);}};Je=Hn([Zt(0x0,_0xd901da(_0x3c61ae)),Zt(0x1,_0x581964)],Je);function Ns(_0x42607d){const _0x48d54a=_0xade8c;let _0x2067d3='';for(const _0x57c6a2 of _0x42607d){const {startOffset:_0x6c8340,endOffset:_0x2aca13,isActive:_0x1615b5}=_0x57c6a2;_0x2067d3[_0x48d54a(0x331)]&&(_0x2067d3+=','),_0x2067d3+=_0x6c8340+':'+_0x2aca13+':'+(_0x1615b5?'1':'0');}return _0x2067d3;}function xn(_0xae30d4){const _0x2f85f1=_0xade8c,_0x3dbda6=_0xae30d4[_0x2f85f1(0x18c)](','),_0x1b3446=[];for(const _0x4acd12 of _0x3dbda6){const [_0xabed75,_0x5cb806,_0x186469]=_0x4acd12[_0x2f85f1(0x18c)](':');_0x1b3446[_0x2f85f1(0x142)]({'startOffset':Number(_0xabed75),'endOffset':Number(_0x5cb806),'collapsed':_0xabed75===_0x5cb806,'isActive':_0x186469==='1'});}return _0x1b3446[_0x2f85f1(0x2fb)](_0x563a1e=>_0x563a1e['isActive'])||(_0x1b3446[0x0]['isActive']=!0x0),_0x1b3446;}class Ut extends _0x3fb7e3{constructor(){const _0x5353d4=_0xade8c;super(...arguments),l(this,_0x5353d4(0x3a4),new _0x1a37bf(null)),l(this,_0x5353d4(0x144),this[_0x5353d4(0x3a4)][_0x5353d4(0x329)]());}[_0xade8c(0x297)](_0x2c1ccb){const _0x278c70=_0xade8c,{unitID:_0x5bc552,memberID:_0x36e805,textRanges:_0x2b6e82}=_0x2c1ccb,_0x2acc63=Ns(_0x2b6e82),_0x3482bf={'unitID':_0x5bc552,'memberID':_0x36e805,'selection':_0x2acc63};this['_collabCursorState$'][_0x278c70(0xab)](_0x3482bf);}}var Fn=Object[_0xade8c(0x36b)],Vn=Object[_0xade8c(0x22b)],Bn=(_0x4247b2,_0x5ba632,_0x55283e,_0x2332b6)=>{const _0x56d668=_0xade8c;for(var _0x300343=_0x2332b6>0x1?void 0x0:_0x2332b6?Vn(_0x5ba632,_0x55283e):_0x5ba632,_0x4ce389=_0x4247b2[_0x56d668(0x331)]-0x1,_0x34c8e7;_0x4ce389>=0x0;_0x4ce389--)(_0x34c8e7=_0x4247b2[_0x4ce389])&&(_0x300343=(_0x2332b6?_0x34c8e7(_0x5ba632,_0x55283e,_0x300343):_0x34c8e7(_0x300343))||_0x300343);return _0x2332b6&&_0x300343&&Fn(_0x5ba632,_0x55283e,_0x300343),_0x300343;},Qt=(_0x2ab113,_0x32470e)=>(_0xfdbb06,_0x8b375b)=>_0x32470e(_0xfdbb06,_0x8b375b,_0x2ab113);function kn(_0x9f407d){const _0x366065=_0xade8c,{unitID:_0x4ccdaf,mutations:_0x43b054}=_0x9f407d;return{'unitId':_0x4ccdaf,'subUnitId':_0x43b054[0x0][_0x366065(0x27a)][_0x366065(0x205)]};}let qe=class{constructor(_0x22cec8,_0x54dc63){this['_injector']=_0x22cec8,this['_transformService']=_0x54dc63;}[_0xade8c(0x2f4)](_0x49f737){const _0x22586d=_0xade8c;var _0x1c6ec9,_0x3138df,_0x1c07c3;const _0x3baf10=this[_0x22586d(0xcc)][_0x22586d(0x275)](_0x49acad),{unitId:_0x3fffab,subUnitId:_0x41e53f}=kn(_0x49f737),_0x1e2deb=_0x3baf10[_0x22586d(0x106)](_0x3fffab)[_0x22586d(0x200)]();if(_0x1e2deb[_0x22586d(0x331)]===0x0||!_0x3fffab||!_0x41e53f)return;const _0x40e612=[{'id':_0x45efda['id'],'params':{'unitId':_0x3fffab,'subUnitId':_0x41e53f,'selections':_0x398800['deepClone'](_0x1e2deb)}}],_0x589fb3=this[_0x22586d(0x8e)][_0x22586d(0x392)](_0x49f737,_0x40e612);if(!_0x504c1f(_0x589fb3))throw _0x589fb3[_0x22586d(0x2cf)];const _0x31e18e=(_0x1c07c3=(_0x3138df=(_0x1c6ec9=_0x589fb3[_0x22586d(0x244)][0x0])==null?void 0x0:_0x1c6ec9[_0x22586d(0x27a)])==null?void 0x0:_0x3138df[_0x22586d(0xb3)])!=null?_0x1c07c3:_0x1e2deb;Array[_0x22586d(0xc9)](_0x31e18e)&&_0x31e18e[_0x22586d(0x331)]&&this[_0x22586d(0xcc)][_0x22586d(0x275)](_0x3f64f1)['executeCommand'](_0x45efda['id'],{'unitId':_0x3fffab,'subUnitId':_0x41e53f,'selections':_0x31e18e});}};qe=Bn([Qt(0x0,_0xd901da(_0x3c61ae)),Qt(0x1,_0x581964)],qe);const Wn=new Set([_0x4fe9a1['id']]);function Gn(_0x18de21,_0x5524de,_0x277a62,_0x4d0548,_0x3dd1ec){const _0x5b2734=_0xade8c;var _0x49612d,_0xd13e47,_0x15b946,_0x9b6d9b;const _0x3c889b=[];for(const _0x90e587 of _0x18de21)if(Wn[_0x5b2734(0x1e7)](_0x90e587['id'])){if(_0x3c889b[_0x5b2734(0x331)]>0x0)break;_0x3c889b[_0x5b2734(0x142)](_0x90e587);break;}else _0x3c889b[_0x5b2734(0x142)](_0x90e587);const _0x4b106b=(_0xd13e47=(_0x49612d=_0x3dd1ec[_0x5b2734(0x31f)]())==null?void 0x0:_0x49612d[_0x5b2734(0xc8)])!=null?_0xd13e47:_0x5b2734(0xc2),_0x5a5ba1=(_0x9b6d9b=(_0x15b946=_0x3dd1ec[_0x5b2734(0x31f)]())==null?void 0x0:_0x15b946[_0x5b2734(0x216)])!=null?_0x9b6d9b:_0x5b2734(0xc2);return{'changeset':{'unitID':_0x5524de,'type':_0x19393c(_0x277a62[_0x5b2734(0x91)](_0x5524de)),'baseRev':_0x4d0548['getCurrentRevForDocument'](_0x5524de),'revision':0x0,'userID':_0x4b106b,'memberID':_0x5a5ba1,'mutations':_0x3c889b},'pendingMutations':_0x18de21[_0x5b2734(0x1e9)](_0x3c889b[_0x5b2734(0x331)])};}function Yn(_0x221371,_0x3db61c,_0x1dde23,_0x391f8e,_0xe57557){const _0x2176cd=_0xade8c;var _0x1f6945,_0x24e15c,_0x169f5f,_0x3f30b9;const _0x41505d=[_0x221371[_0x2176cd(0x214)]((_0x3f40bd,_0x375557)=>{const _0x47c5df=_0x2176cd;var _0x5e5ece;const {id:_0x4a0b35}=_0x3f40bd,{id:_0x42d702,type:_0x342eda}=_0x375557,_0x1085b1=(_0x5e5ece=_0x3f40bd['params'])!=null?_0x5e5ece:{'actions':null},_0x1e0b20=_0x375557[_0x47c5df(0x27a)];if(_0x4a0b35&&_0x4a0b35!==_0x42d702)throw new Error(_0x47c5df(0x270)+_0x4a0b35+_0x47c5df(0x372)+_0x42d702+'.');return{..._0x3f40bd,'id':_0x42d702,'type':_0x342eda,'params':{'unitId':_0x1e0b20[_0x47c5df(0x158)],'textRanges':_0x1e0b20['textRanges'],'actions':_0x5d1c82[_0x47c5df(0x1e6)](_0x1085b1[_0x47c5df(0x2ba)],_0x1e0b20['actions'])}};},{})],_0x51f46f=(_0x24e15c=(_0x1f6945=_0xe57557[_0x2176cd(0x31f)]())==null?void 0x0:_0x1f6945[_0x2176cd(0xc8)])!=null?_0x24e15c:'unknown',_0x178ccf=(_0x3f30b9=(_0x169f5f=_0xe57557[_0x2176cd(0x31f)]())==null?void 0x0:_0x169f5f[_0x2176cd(0x216)])!=null?_0x3f30b9:'unknown';return{'changeset':{'unitID':_0x3db61c,'type':_0x19393c(_0x1dde23['getUnitType'](_0x3db61c)),'baseRev':_0x391f8e[_0x2176cd(0x7e)](_0x3db61c),'revision':0x0,'userID':_0x51f46f,'memberID':_0x178ccf,'mutations':_0x41505d},'pendingMutations':[]};}var Kn=Object['defineProperty'],Xn=Object[_0xade8c(0x22b)],oe=(_0x1b182b,_0x1afebf,_0x4af33c,_0x286b9e)=>{const _0x1ecb93=_0xade8c;for(var _0x2c7520=_0x286b9e>0x1?void 0x0:_0x286b9e?Xn(_0x1afebf,_0x4af33c):_0x1afebf,_0x57f282=_0x1b182b[_0x1ecb93(0x331)]-0x1,_0x5e8c3a;_0x57f282>=0x0;_0x57f282--)(_0x5e8c3a=_0x1b182b[_0x57f282])&&(_0x2c7520=(_0x286b9e?_0x5e8c3a(_0x1afebf,_0x4af33c,_0x2c7520):_0x5e8c3a(_0x2c7520))||_0x2c7520);return _0x286b9e&&_0x2c7520&&Kn(_0x1afebf,_0x4af33c,_0x2c7520),_0x2c7520;},m=(_0x2c56cd,_0x55856d)=>(_0x458f21,_0x310e39)=>_0x55856d(_0x458f21,_0x310e39,_0x2c56cd),w=(_0x1d9dd3=>(_0x1d9dd3['NOT_COLLAB']=_0xade8c(0x1dc),_0x1d9dd3[_0xade8c(0xd0)]='synced',_0x1d9dd3[_0xade8c(0x116)]=_0xade8c(0x29a),_0x1d9dd3[_0xade8c(0x324)]=_0xade8c(0xcb),_0x1d9dd3[_0xade8c(0x22e)]=_0xade8c(0x169),_0x1d9dd3[_0xade8c(0x31d)]=_0xade8c(0x3ae),_0x1d9dd3['CONFLICT']=_0xade8c(0x187),_0x1d9dd3[_0xade8c(0x262)]=_0xade8c(0xcd),_0x1d9dd3))(w||{});class ae{constructor(_0x349fb6,_0x3c17b3,_0xa4f4ef,_0x2d5fc1,_0x1e40ff,_0x5a2acf,_0x12846b,_0x52b0ce,_0x1d1207){const _0x4d9c95=_0xade8c;l(this,'_awaitingChangeset',null),l(this,_0x4d9c95(0x34a),[]),(this[_0x4d9c95(0x14d)]=_0x349fb6,this[_0x4d9c95(0x207)]=_0x3c17b3,this[_0x4d9c95(0x289)]=_0x1e40ff,this[_0x4d9c95(0x1ba)]=_0x5a2acf,this[_0x4d9c95(0x240)]=_0x12846b,this[_0x4d9c95(0x30a)]=_0x52b0ce,this[_0x4d9c95(0xf7)]=_0x1d1207,this['_awaitingChangeset']=_0xa4f4ef,this[_0x4d9c95(0x34a)]=_0x2d5fc1);}[_0xade8c(0x3a9)](_0x34432c){const _0x158113=_0xade8c,_0x3fea2f=this[_0x158113(0x30a)]['getCurrentRevForDocument'](this[_0x158113(0x14d)]);return _0x34432c[_0x158113(0x212)]>_0x3fea2f+0x1?(this[_0x158113(0x289)][_0x158113(0x1fd)]({'from':_0x3fea2f,'to':_0x34432c[_0x158113(0x212)]-0x1}),!0x0):!0x1;}[_0xade8c(0x360)](_0x4ce768){const _0x270af4=_0xade8c;this[_0x270af4(0x240)][_0x270af4(0x31b)](this[_0x270af4(0x14d)],_0x4ce768);}[_0xade8c(0x26f)](_0x58f0a0){const _0x137c2=_0xade8c;var _0x1e2dbf,_0x5594b4;(_0x5594b4=(_0x1e2dbf=this[_0x137c2(0x289)])[_0x137c2(0x366)])==null||_0x5594b4[_0x137c2(0x33b)](_0x1e2dbf,_0x58f0a0);}['_transformIMECache'](_0x32a298){const _0x5db926=_0xade8c;var _0x56b49e,_0x347720;return(_0x347720=(_0x56b49e=this[_0x5db926(0x289)])[_0x5db926(0x1bc)])==null?void 0x0:_0x347720['call'](_0x56b49e,_0x32a298);}['_transformRemoteChangesetByIMECache'](_0x3e5a02){const _0x5bc975=_0xade8c;var _0x3b9e21,_0xb934d7,_0x30d43a;return(_0x30d43a=(_0xb934d7=(_0x3b9e21=this[_0x5bc975(0x289)])[_0x5bc975(0x161)])==null?void 0x0:_0xb934d7['call'](_0x3b9e21,_0x3e5a02))!=null?_0x30d43a:_0x3e5a02;}[_0xade8c(0x124)](_0xcf6e4e){const _0x389b5a=_0xade8c;var _0x178064,_0x4f2af2;if(this[_0x389b5a(0x207)]===H[_0x389b5a(0x1c7)]){const {unitID:_0x39e5de,mutations:_0x4a4220,memberID:_0x47100b}=_0xcf6e4e,_0x11bd4c=_0x4a4220[0x0]['params'][_0x389b5a(0x22f)];Array[_0x389b5a(0xc9)](_0x11bd4c)&&_0x11bd4c[_0x389b5a(0x331)]>0x0&&((_0x4f2af2=(_0x178064=this[_0x389b5a(0x289)])[_0x389b5a(0x2b8)])==null||_0x4f2af2['call'](_0x178064,{'unitID':_0x39e5de,'memberID':_0x47100b,'textRanges':_0x11bd4c}));}}[_0xade8c(0x386)](){const _0x27ee2d=_0xade8c;this[_0x27ee2d(0xf7)]['updateOfflineData'](this[_0x27ee2d(0x14d)],this['type'],this['_awaitingChangeset'],this[_0x27ee2d(0x34a)]);}[_0xade8c(0x268)](){const _0x358977=_0xade8c;return this[_0x358977(0x30a)][_0x358977(0x7e)](this['unitID']);}[_0xade8c(0x2d7)](){const _0x53dbc0=_0xade8c;this['_revisionService'][_0x53dbc0(0x2be)](this[_0x53dbc0(0x14d)]);}[_0xade8c(0x153)](_0x2a4422){const _0x49c526=_0xade8c;var _0x4333c8;const _0x409ecf=this['_transformRemoteChangesetByIMECache'](_0x2a4422),_0x1306a5=_0x45596a(_0x409ecf['mutations'],this[_0x49c526(0x1ba)],{'fromCollab':!0x0});if(!_0x1306a5[_0x49c526(0x24c)])throw _0x1306a5['error']instanceof Error?_0x1306a5['error']:new Error((_0x4333c8=_0x1306a5[_0x49c526(0x2cf)])!=null?_0x4333c8:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x409ecf),this['_transformUndoredo'](_0x2a4422),this[_0x49c526(0x26f)](_0x409ecf),this['_syncEditingCollabCursor'](_0x409ecf),this[_0x49c526(0x2d7)]();}}let Ne=class extends ae{constructor(_0x24299f,_0x527b7d,_0x12b53d,_0x2e55a3,_0x474657,_0x193d50,_0x2f04f6,_0x2cb249,_0x255454){const _0x4d6827=_0xade8c;super(_0x24299f,_0x527b7d,null,[],_0x12b53d,_0x2cb249,_0x2f04f6,_0x2e55a3,_0x474657),l(this,'status','synced'),(this[_0x4d6827(0xcc)]=_0x193d50,this[_0x4d6827(0x37f)]=_0x255454);}['appendMutation'](_0x1c15ce){const _0x39d139=_0xade8c,_0x2213cd=this[_0x39d139(0xcc)][_0x39d139(0x371)](k,this[_0x39d139(0x14d)],this['type'],[_0x1c15ce],this[_0x39d139(0x289)]);return _0x2213cd[_0x39d139(0x330)](),_0x2213cd[_0x39d139(0x386)](),_0x2213cd;}[_0xade8c(0x2cb)](_0x590a29){const _0x533723=_0xade8c;if(this[_0x533723(0x3a9)](_0x590a29))return this['_injector'][_0x533723(0x371)](G,this[_0x533723(0x14d)],this[_0x533723(0x207)],null,[],null,[_0x590a29],this[_0x533723(0x289)]);try{return this['_executeRemoteChangeset'](_0x590a29),this;}catch(_0x51e1cb){return this[_0x533723(0x37f)][_0x533723(0x2cf)](_0x533723(0x313),_0x51e1cb),this;}}[_0xade8c(0x25e)](){const _0x407c30=_0xade8c;throw new Error(_0x407c30(0xf4));}[_0xade8c(0xaf)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['toggleOffline'](){const _0x418712=_0xade8c;return this[_0x418712(0xcc)][_0x418712(0x371)](z,this['unitID'],this[_0x418712(0x207)],null,[],this[_0x418712(0x289)]);}[_0xade8c(0x27f)](){return this;}['resend'](){const _0x27a02e=_0xade8c;throw new Error(_0x27a02e(0xb2));}};Ne=oe([m(0x3,_0xd901da(_0x432311)),m(0x4,_0xd901da(D)),m(0x5,_0xd901da(_0x3c61ae)),m(0x6,_0x1bc0b8),m(0x7,_0x3f64f1),m(0x8,_0x255408)],Ne);let k=class extends ae{constructor(_0x488e7e,_0x11c402,_0xa3b98c,_0x3ed495,_0x174b77,_0x49bf1c,_0x4da62b,_0x52f726,_0x457813,_0x59bb19,_0x27d471,_0x3f91a5,_0x467407,_0x43a477){const _0x42af87=_0xade8c;super(_0x488e7e,_0x11c402,null,_0xa3b98c,_0x3ed495,_0x59bb19,_0x43a477,_0x49bf1c,_0x4da62b),l(this,_0x42af87(0x3b8),_0x42af87(0x29a)),l(this,_0x42af87(0x1b8),null),l(this,'_sendingTimer',null),(this['_injector']=_0x174b77,this[_0x42af87(0x311)]=_0x52f726,this[_0x42af87(0x37f)]=_0x457813,this[_0x42af87(0x253)]=_0x27d471,this[_0x42af87(0x8e)]=_0x3f91a5,this[_0x42af87(0x1c2)]=_0x467407);}['appendMutation'](_0x16aa09){const _0x28cd2f=_0xade8c;return this[_0x28cd2f(0x34a)][_0x28cd2f(0x142)](_0x16aa09),this[_0x28cd2f(0x386)](),this;}['onRemoteChangeset'](_0x11ea75){const _0x640b62=_0xade8c;if(this[_0x640b62(0x3a9)](_0x11ea75))return this[_0x640b62(0x28c)](),this[_0x640b62(0xcc)][_0x640b62(0x371)](G,this['unitID'],this[_0x640b62(0x207)],null,this[_0x640b62(0x34a)],null,[_0x11ea75],this[_0x640b62(0x289)]);try{const _0x354eb7=this['_transformService'][_0x640b62(0x392)](_0x11ea75,this[_0x640b62(0x34a)]);if(_0x504c1f(_0x354eb7)){const {c1Prime:_0x54bdf0,m2Prime:_0x377505}=_0x354eb7;this['_executeRemoteChangeset'](_0x54bdf0);const _0x1d4d80=this[_0x640b62(0xcc)][_0x640b62(0x371)](k,this['unitID'],this[_0x640b62(0x207)],_0x377505,this['_handler']);return this[_0x640b62(0x28c)](),_0x1d4d80[_0x640b62(0x330)](this[_0x640b62(0x1b8)]?Math[_0x640b62(0x23c)](0x0,new Date()[_0x640b62(0x126)]()-this[_0x640b62(0x1b8)]):this[_0x640b62(0x369)]()),_0x1d4d80;}throw _0x354eb7[_0x640b62(0x2cf)];}catch(_0x5f1fad){return this[_0x640b62(0x37f)][_0x640b62(0x2cf)](_0x5f1fad),this[_0x640b62(0x2d4)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['toggleOffline'](){const _0x2a77f3=_0xade8c;return this[_0x2a77f3(0x28c)](),this[_0x2a77f3(0xcc)][_0x2a77f3(0x371)](z,this[_0x2a77f3(0x14d)],this['type'],null,this[_0x2a77f3(0x34a)],this[_0x2a77f3(0x289)]);}['toggleOnline'](){return this;}[_0xade8c(0x330)](_0x182b2e){const _0x45946b=_0xade8c;_0x182b2e=_0x182b2e!=null?_0x182b2e:this[_0x45946b(0x369)](),this[_0x45946b(0x1b8)]=new Date()['getTime'](),this[_0x45946b(0x2e0)]=setTimeout(()=>{const _0x181c57=_0x45946b;this[_0x181c57(0x28c)]();let _0x129867=null;switch(this['type']){case H[_0x181c57(0x3a3)]:{_0x129867=Gn(this[_0x181c57(0x34a)],this[_0x181c57(0x14d)],this['_univerInstanceService'],this[_0x181c57(0x30a)],this[_0x181c57(0x311)]);break;}case H['UNIVER_DOC']:{_0x129867=Yn(this[_0x181c57(0x34a)],this[_0x181c57(0x14d)],this[_0x181c57(0x1c2)],this[_0x181c57(0x30a)],this[_0x181c57(0x311)]);break;}default:throw new Error(_0x181c57(0x2c7)+this['type']+_0x181c57(0x322));}const {changeset:_0x2f4f73,pendingMutations:_0x932448}=_0x129867;this[_0x181c57(0x289)][_0x181c57(0x1d3)](_0x2f4f73);const _0x5d78f2=_0x932448['length']?this['_injector'][_0x181c57(0x371)](W,this['unitID'],this[_0x181c57(0x207)],_0x2f4f73,_0x932448,this['_handler']):this['_injector'][_0x181c57(0x371)](q,this[_0x181c57(0x14d)],this['type'],_0x2f4f73,this['_handler']);_0x5d78f2[_0x181c57(0x386)](),this[_0x181c57(0x289)][_0x181c57(0x3b9)](this,_0x5d78f2);},_0x182b2e);}[_0xade8c(0x369)](){const _0x30e050=_0xade8c;var _0xd28c2b;return(_0xd28c2b=this[_0x30e050(0x253)][_0x30e050(0x1df)](en))!=null?_0xd28c2b:tn;}[_0xade8c(0x1a7)](){const _0x24d0d0=_0xade8c;throw new Error(_0x24d0d0(0x2e6));}[_0xade8c(0x28c)](){const _0x3041a4=_0xade8c;this[_0x3041a4(0x2e0)]!=null&&(clearTimeout(this[_0x3041a4(0x2e0)]),this[_0x3041a4(0x2e0)]=null);}[_0xade8c(0x2d4)](_0x96bb0e){const _0x28b413=_0xade8c;return this[_0x28b413(0x28c)](),this['_injector']['createInstance'](re,this[_0x28b413(0x14d)],this['type'],null,this[_0x28b413(0x34a)],this[_0x28b413(0x289)],_0x96bb0e);}};k=oe([m(0x4,_0xd901da(_0x3c61ae)),m(0x5,_0xd901da(_0x432311)),m(0x6,_0xd901da(D)),m(0x7,_0xd901da(ne)),m(0x8,_0x255408),m(0x9,_0x3f64f1),m(0xa,_0x531a6b),m(0xb,_0x581964),m(0xc,_0x3b87df),m(0xd,_0x1bc0b8)],k);let q=class extends ae{constructor(_0x1d39d8,_0x351017,_0x4297a4,_0x26103f,_0x28d90c,_0x53f47a,_0x2d59c9,_0x692759,_0x7b589f,_0x583c7b,_0x17ff7b){const _0x22da82=_0xade8c;super(_0x1d39d8,_0x351017,_0x4297a4,[],_0x26103f,_0x692759,_0x17ff7b,_0x53f47a,_0x2d59c9),l(this,'status',_0x22da82(0xcb)),(this[_0x22da82(0xcc)]=_0x28d90c,this[_0x22da82(0x37f)]=_0x7b589f,this[_0x22da82(0x8e)]=_0x583c7b);}[_0xade8c(0x2b6)](_0xa57ea9){const _0x88a2b2=_0xade8c,_0x22b1f3=this[_0x88a2b2(0xcc)]['createInstance'](W,this[_0x88a2b2(0x14d)],this['type'],this[_0x88a2b2(0x78)],[_0xa57ea9],this[_0x88a2b2(0x289)]);return _0x22b1f3[_0x88a2b2(0x386)](),_0x22b1f3;}[_0xade8c(0x2cb)](_0x295eb4){const _0x32ec93=_0xade8c;if(this[_0x32ec93(0x3a9)](_0x295eb4))return this['_injector'][_0x32ec93(0x371)](G,this[_0x32ec93(0x14d)],this[_0x32ec93(0x207)],this['_awaitingChangeset'],[],null,[_0x295eb4],this[_0x32ec93(0x289)]);try{const _0x2d9de8=this[_0x32ec93(0x8e)][_0x32ec93(0x218)]([_0x295eb4],[this[_0x32ec93(0x78)]],!0x1);if(_0x288394(_0x2d9de8)){const {c1Prime:_0x34f8ea,c2Prime:_0x520cb8}=_0x2d9de8;this['_executeRemoteChangeset'](_0x34f8ea[0x0]),_0x520cb8[0x0]['baseRev']=this[_0x32ec93(0x268)]();const _0x505c1a=this['_injector'][_0x32ec93(0x371)](q,this['unitID'],this[_0x32ec93(0x207)],_0x520cb8[0x0],this['_handler']);return _0x505c1a[_0x32ec93(0x386)](),_0x505c1a;}return this[_0x32ec93(0x2d4)](!0x1);}catch(_0x11f16e){return this[_0x32ec93(0x37f)][_0x32ec93(0x2cf)](_0x11f16e),this[_0x32ec93(0x2d4)](!0x1);}}[_0xade8c(0x25e)](_0x3e1b4e){const _0x5784bb=_0xade8c,_0x3b83fd=this[_0x5784bb(0x30a)]['getCurrentRevForDocument'](this['unitID']);if(_0x3e1b4e[_0x5784bb(0x212)]<_0x3b83fd-0x1)return this;if(this[_0x5784bb(0x3a9)](_0x3e1b4e))return this['_injector'][_0x5784bb(0x371)](G,this[_0x5784bb(0x14d)],this[_0x5784bb(0x207)],null,[],this[_0x5784bb(0x78)],[],this[_0x5784bb(0x289)]);this[_0x5784bb(0x2d7)]();const _0x1147d8=this['_injector']['createInstance'](Ne,this['unitID'],this['type'],this['_handler']);return _0x1147d8[_0x5784bb(0x386)](),_0x1147d8;}[_0xade8c(0xaf)](_0x249495){const _0x8b8500=_0xade8c;return this[_0x8b8500(0x2d4)](!!(_0x249495!=null&&_0x249495[_0x8b8500(0x151)]));}['toggleOffline'](){const _0xff8f6=_0xade8c;return this['_injector'][_0xff8f6(0x371)](z,this[_0xff8f6(0x14d)],this[_0xff8f6(0x207)],this[_0xff8f6(0x78)],[],this[_0xff8f6(0x289)]);}['toggleOnline'](){return this;}[_0xade8c(0x1a7)](){const _0x89aff9=_0xade8c;this[_0x89aff9(0x289)]['onSendChangeset'](this[_0x89aff9(0x78)]);}['_onConflict'](_0x571a16){const _0x5c5556=_0xade8c;return this[_0x5c5556(0xcc)][_0x5c5556(0x371)](re,this[_0x5c5556(0x14d)],this['type'],this[_0x5c5556(0x78)],[],this[_0x5c5556(0x289)],_0x571a16);}};q=oe([m(0x4,_0xd901da(_0x3c61ae)),m(0x5,_0xd901da(_0x432311)),m(0x6,_0xd901da(D)),m(0x7,_0x3f64f1),m(0x8,_0x255408),m(0x9,_0x581964),m(0xa,_0x1bc0b8)],q);let W=class extends ae{constructor(_0x29d5fd,_0x1027fa,_0x362c17,_0x4f255a,_0x23816d,_0x23d70a,_0x3bf95c,_0x30a218,_0xb757b0,_0x230384,_0x1bb6e0,_0x50ef05){const _0x4351aa=_0xade8c;super(_0x29d5fd,_0x1027fa,_0x362c17,_0x4f255a,_0x23816d,_0xb757b0,_0x50ef05,_0x3bf95c,_0x30a218),l(this,_0x4351aa(0x3b8),_0x4351aa(0x169)),(this[_0x4351aa(0xcc)]=_0x23d70a,this[_0x4351aa(0x37f)]=_0x230384,this['_transformService']=_0x1bb6e0);}[_0xade8c(0x2b6)](_0x53e2d1){const _0x527a1e=_0xade8c;return this[_0x527a1e(0x34a)][_0x527a1e(0x142)](_0x53e2d1),this;}['onRemoteChangeset'](_0x55869d){const _0x1c78ad=_0xade8c;if(this[_0x1c78ad(0x3a9)](_0x55869d))return this[_0x1c78ad(0xcc)][_0x1c78ad(0x371)](G,this['unitID'],this[_0x1c78ad(0x207)],this[_0x1c78ad(0x78)],this[_0x1c78ad(0x34a)],null,[_0x55869d],this['_handler']);try{const _0x4e42a3=this[_0x1c78ad(0x8e)][_0x1c78ad(0x218)]([_0x55869d],[this[_0x1c78ad(0x78)]],!0x1);if(_0x288394(_0x4e42a3)){const {c1Prime:_0x12e287,c2Prime:_0x1eb4b2}=_0x4e42a3,_0x15daa3=this[_0x1c78ad(0x8e)]['transformMutationsWithChangeset'](_0x12e287[0x0],this[_0x1c78ad(0x34a)]);if(_0x504c1f(_0x15daa3)){const {c1Prime:_0xeaf847,m2Prime:_0x4381ca}=_0x15daa3;return this[_0x1c78ad(0x153)](_0xeaf847),_0x1eb4b2[0x0]['baseRev']=this[_0x1c78ad(0x268)](),this[_0x1c78ad(0xcc)][_0x1c78ad(0x371)](W,this[_0x1c78ad(0x14d)],this['type'],_0x1eb4b2[0x0],_0x4381ca,this[_0x1c78ad(0x289)]);}throw _0x15daa3[_0x1c78ad(0x2cf)];}throw _0x4e42a3[_0x1c78ad(0x2cf)];}catch(_0x6a6a5d){return this['_logService']['error'](_0x6a6a5d),this['_onConflict'](!0x1);}}[_0xade8c(0x25e)](_0x38463c){const _0x3aa81a=_0xade8c;if(this[_0x3aa81a(0x3a9)](_0x38463c))return this[_0x3aa81a(0xcc)][_0x3aa81a(0x371)](G,this[_0x3aa81a(0x14d)],this[_0x3aa81a(0x207)],null,this[_0x3aa81a(0x34a)],this[_0x3aa81a(0x78)],[],this[_0x3aa81a(0x289)]);this[_0x3aa81a(0x2d7)]();const _0x17254e=this[_0x3aa81a(0xcc)]['createInstance'](k,this['unitID'],this['type'],this[_0x3aa81a(0x34a)],this[_0x3aa81a(0x289)]);return _0x17254e[_0x3aa81a(0x330)](),_0x17254e[_0x3aa81a(0x386)](),_0x17254e;}[_0xade8c(0xaf)](_0x19196d){const _0x512b25=_0xade8c;return this['_onConflict'](!!(_0x19196d!=null&&_0x19196d[_0x512b25(0x151)]));}[_0xade8c(0x11d)](){const _0x1229ef=_0xade8c;return this[_0x1229ef(0xcc)]['createInstance'](z,this['unitID'],this[_0x1229ef(0x207)],this[_0x1229ef(0x78)],this['_pendingMutations'],this[_0x1229ef(0x289)]);}['toggleOnline'](){return this;}[_0xade8c(0x1a7)](){const _0x20a993=_0xade8c;this[_0x20a993(0x289)][_0x20a993(0x1d3)](this[_0x20a993(0x78)]);}[_0xade8c(0x2d4)](_0x29c269){const _0x52aea1=_0xade8c;return this[_0x52aea1(0xcc)][_0x52aea1(0x371)](re,this[_0x52aea1(0x14d)],this[_0x52aea1(0x207)],null,this[_0x52aea1(0x34a)],this['_handler'],_0x29c269);}};W=oe([m(0x5,_0xd901da(_0x3c61ae)),m(0x6,_0xd901da(_0x432311)),m(0x7,_0xd901da(D)),m(0x8,_0x3f64f1),m(0x9,_0x255408),m(0xa,_0x581964),m(0xb,_0x1bc0b8)],W);let re=class extends ae{constructor(_0x273927,_0x5dcdbc,_0x42c690,_0x43f095,_0x38b8c2,_0x14510a=!0x1,_0x328e54,_0x482074,_0x337177,_0x44fa5a,_0x11d826,_0x53d0b0,_0x13eb18){const _0x1dbaab=_0xade8c;super(_0x273927,_0x5dcdbc,_0x42c690,_0x43f095,_0x38b8c2,_0x482074,_0x337177,_0x11d826,_0x44fa5a),l(this,_0x1dbaab(0x3b8),'conflict'),(this[_0x1dbaab(0x247)]=_0x14510a,this[_0x1dbaab(0x10f)]=_0x328e54,this[_0x1dbaab(0x148)]=_0x53d0b0,this[_0x1dbaab(0x19c)]=_0x13eb18,this[_0x1dbaab(0x2c0)](),this[_0x1dbaab(0x319)](),this[_0x1dbaab(0x11a)]());}[_0xade8c(0x2b6)](){return this;}['onRemoteChangeset'](){return this;}[_0xade8c(0x25e)](){return this;}[_0xade8c(0xaf)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0xade8c(0x1a7)](){const _0xb25f0a=_0xade8c;throw new Error(_0xb25f0a(0x20d));}[_0xade8c(0x319)](){const _0x3b6364=_0xade8c;this[_0x3b6364(0xf7)][_0x3b6364(0x15e)](this[_0x3b6364(0x14d)],this[_0x3b6364(0x207)],null,[]);}[_0xade8c(0x2c0)](){const _0x3db941=_0xade8c;this['_isPermissionRej']?this['_notificationService'][_0x3db941(0xfa)]({'title':this[_0x3db941(0x148)]['t']('permission.title'),'content':this[_0x3db941(0x148)]['t']('permission.content'),'type':_0x3db941(0x2cf),'duration':0x0}):this['_notificationService']['show']({'title':this[_0x3db941(0x148)]['t']('conflict.title'),'content':this['_localeService']['t']('conflict.content'),'type':'error','duration':0x0});}['_disableEditing'](){const _0x28935e=_0xade8c;this[_0x28935e(0x10f)][_0x28935e(0xd7)](new _0xaddd59(this[_0x28935e(0x14d)])['id'],!0x1);}};re=oe([m(0x6,_0xd901da(_0x1b6020)),m(0x7,_0x3f64f1),m(0x8,_0x1bc0b8),m(0x9,_0xd901da(D)),m(0xa,_0xd901da(_0x432311)),m(0xb,_0xd901da(_0x3fbf2b)),m(0xc,_0x4cb594)],re);let z=class extends ae{constructor(_0xbf1634,_0x1f7dff,_0x3930c0,_0x33e18e,_0x299507,_0x33ee90,_0x226701,_0x3433be,_0x1f8f7a,_0x4ca7e8){const _0x46d234=_0xade8c;super(_0xbf1634,_0x1f7dff,_0x3930c0,_0x33e18e,_0x299507,_0x1f8f7a,_0x4ca7e8,_0x226701,_0x3433be),l(this,'status',_0x46d234(0xcd)),this[_0x46d234(0xcc)]=_0x33ee90;}[_0xade8c(0x2b6)](_0x3def75){const _0x42e602=_0xade8c;return this[_0x42e602(0x34a)][_0x42e602(0x142)](_0x3def75),this[_0x42e602(0x386)](),this;}[_0xade8c(0x2cb)](_0x417ded){const _0x369c99=_0xade8c;throw new Error(_0x369c99(0x2bf));}[_0xade8c(0x25e)](){const _0x346106=_0xade8c;throw new Error(_0x346106(0xd8));}[_0xade8c(0xaf)](){const _0xf675c7=_0xade8c;throw new Error(_0xf675c7(0x1d2));}[_0xade8c(0x11d)](){return this;}['toggleOnline'](){const _0x130b7e=_0xade8c,{_injector:_0x5d6a41,_pendingMutations:_0x53dccf,_awaitingChangeset:_0x276f72,unitID:_0x789892,_handler:_0x390709,type:_0x2f5c1b}=this,_0x174d46=Ms(_0x5d6a41,_0x789892,_0x2f5c1b,_0x276f72,_0x53dccf,_0x390709);return _0x174d46 instanceof k?_0x174d46[_0x130b7e(0x330)]():(_0x174d46 instanceof W||_0x174d46 instanceof q)&&_0x174d46['resend'](),_0x174d46;}[_0xade8c(0x1a7)](){const _0x495fa9=_0xade8c;throw new Error(_0x495fa9(0xdd));}};z=oe([m(0x5,_0xd901da(_0x3c61ae)),m(0x6,_0xd901da(_0x432311)),m(0x7,_0xd901da(D)),m(0x8,_0x3f64f1),m(0x9,_0x1bc0b8)],z);let G=class extends ae{constructor(_0x26c004,_0x4abcfd,_0x5946cb,_0x14eef6,_0x123029,_0x3b3e9d,_0x3add7c,_0x441087,_0x59860c,_0xa4840f,_0x200c62,_0x3cb1b6,_0x59165f,_0x5e6fe5){const _0x439c66=_0xade8c;super(_0x26c004,_0x4abcfd,_0x5946cb,_0x14eef6,_0x3add7c,_0x3cb1b6,_0x59165f,_0x59860c,_0xa4840f),l(this,_0x439c66(0x3b8),_0x439c66(0x3ae)),(this[_0x439c66(0x1cb)]=_0x123029,this[_0x439c66(0x24a)]=_0x3b3e9d,this[_0x439c66(0xcc)]=_0x441087,this['_logService']=_0x200c62,this['_transformService']=_0x5e6fe5);}['onMissedChangesetFetched'](_0x18e2c4){const _0x4d90ce=_0xade8c;try{const _0x2995ee=[..._0x18e2c4,...this[_0x4d90ce(0x24a)]],_0x33854b=[this['_awaitingChangeset']||this[_0x4d90ce(0x1cb)]][_0x4d90ce(0x2a9)](_0x160949=>!!_0x160949);let _0x3a9f4a,_0x4d9240;if(_0x33854b[_0x4d90ce(0x331)]){const _0x26459d=this[_0x4d90ce(0x8e)][_0x4d90ce(0x218)](_0x2995ee,_0x33854b,!0x1);if(!_0x288394(_0x26459d))throw _0x26459d[_0x4d90ce(0x2cf)];_0x3a9f4a=_0x26459d['c1Prime'],_0x4d9240=_0x26459d[_0x4d90ce(0x195)];}else _0x3a9f4a=_0x2995ee,_0x4d9240=[];let _0x1b0568=this[_0x4d90ce(0x34a)];_0x3a9f4a[_0x4d90ce(0x2f2)](_0x5ff5fe=>{const _0x53b15e=_0x4d90ce;let _0xa4fa6c;if(_0x1b0568[_0x53b15e(0x331)]){const _0x491a5f=this[_0x53b15e(0x8e)][_0x53b15e(0x392)](_0x5ff5fe,_0x1b0568);if(!_0x504c1f(_0x491a5f))throw _0x491a5f[_0x53b15e(0x2cf)];_0xa4fa6c=_0x491a5f[_0x53b15e(0x233)],_0x1b0568=_0x491a5f['m2Prime'];}else _0xa4fa6c=_0x5ff5fe;this[_0x53b15e(0x153)](_0xa4fa6c);}),this[_0x4d90ce(0x1cb)]&&this[_0x4d90ce(0x2d7)](),this[_0x4d90ce(0x78)]&&_0x4d9240[_0x4d90ce(0x331)]&&(_0x4d9240[0x0][_0x4d90ce(0x2f0)]=this['_getCurrentRevision']());let _0x3cc308;if(this[_0x4d90ce(0x78)]&&_0x1b0568['length']!==0x0)_0x3cc308=this[_0x4d90ce(0xcc)][_0x4d90ce(0x371)](W,this[_0x4d90ce(0x14d)],this[_0x4d90ce(0x207)],_0x4d9240[0x0],_0x1b0568,this['_handler']);else{if(this['_awaitingChangeset']&&_0x1b0568['length']===0x0)_0x4d9240[0x0][_0x4d90ce(0x2f0)]=this[_0x4d90ce(0x268)](),_0x3cc308=this[_0x4d90ce(0xcc)][_0x4d90ce(0x371)](q,this['unitID'],this[_0x4d90ce(0x207)],_0x4d9240[0x0],this[_0x4d90ce(0x289)]);else{if(_0x1b0568['length']!==0x0){const _0x11dd33=this[_0x4d90ce(0xcc)][_0x4d90ce(0x371)](k,this[_0x4d90ce(0x14d)],this[_0x4d90ce(0x207)],_0x1b0568,this['_handler']);_0x11dd33['_schedule'](),_0x3cc308=_0x11dd33;}else _0x3cc308=this['_injector'][_0x4d90ce(0x371)](Ne,this['unitID'],this[_0x4d90ce(0x207)],this[_0x4d90ce(0x289)]);}}return _0x3cc308[_0x4d90ce(0x386)](),_0x3cc308;}catch(_0x33888d){return this[_0x4d90ce(0x37f)][_0x4d90ce(0x2cf)]('[FetchMissState]',_0x4d90ce(0xc4),_0x33888d),this[_0x4d90ce(0xcc)][_0x4d90ce(0x371)](re,this[_0x4d90ce(0x14d)],this[_0x4d90ce(0x207)],this[_0x4d90ce(0x78)],this[_0x4d90ce(0x34a)],this['_handler'],!0x1);}}[_0xade8c(0x1a7)](){const _0x5e6d1c=_0xade8c;throw new Error(_0x5e6d1c(0x1a5));}['appendMutation'](_0x3c2ac2){const _0x1df860=_0xade8c;return this[_0x1df860(0x34a)]['push'](_0x3c2ac2),this;}[_0xade8c(0x2cb)](_0x50649e){const _0x224d4c=_0xade8c;return this[_0x224d4c(0x24a)][_0x224d4c(0x142)](_0x50649e),this;}[_0xade8c(0x25e)](_0x3542d8){const _0x4c7381=_0xade8c;if(this[_0x4c7381(0x78)])return this[_0x4c7381(0x1cb)]=this[_0x4c7381(0x78)],this[_0x4c7381(0x78)]=null,this;throw new Error(_0x4c7381(0x15a));}[_0xade8c(0xaf)](_0x53f529){const _0x44b411=_0xade8c;return this[_0x44b411(0x2d4)](!!(_0x53f529!=null&&_0x53f529[_0x44b411(0x151)]));}[_0xade8c(0x11d)](){const _0xa1e36b=_0xade8c;return this['_injector']['createInstance'](z,this[_0xa1e36b(0x14d)],this['type'],this[_0xa1e36b(0x78)],this[_0xa1e36b(0x34a)],this['_handler']);}[_0xade8c(0x27f)](){return this;}['_onConflict'](_0x47c1f6){const _0x17beb1=_0xade8c;return this[_0x17beb1(0xcc)][_0x17beb1(0x371)](re,this[_0x17beb1(0x14d)],this[_0x17beb1(0x207)],this[_0x17beb1(0x78)],this['_pendingMutations'],this['_handler'],_0x47c1f6);}};G=oe([m(0x7,_0xd901da(_0x3c61ae)),m(0x8,_0xd901da(_0x432311)),m(0x9,_0xd901da(D)),m(0xa,_0x255408),m(0xb,_0x3f64f1),m(0xc,_0x1bc0b8),m(0xd,_0x581964)],G);function Ms(_0x512fec,_0x42a104,_0x44463d,_0x111821,_0x36684c,_0x4c246a){const _0x58ee30=_0xade8c;return _0x111821&&_0x36684c[_0x58ee30(0x331)]?_0x512fec[_0x58ee30(0x371)](W,_0x42a104,_0x44463d,_0x111821,_0x36684c,_0x4c246a):_0x111821?_0x512fec['createInstance'](q,_0x42a104,_0x44463d,_0x111821,_0x4c246a):_0x36684c[_0x58ee30(0x331)]?_0x512fec[_0x58ee30(0x371)](k,_0x42a104,_0x44463d,_0x36684c,_0x4c246a):_0x512fec[_0x58ee30(0x371)](Ne,_0x42a104,_0x44463d,_0x4c246a);}var Jn=Object[_0xade8c(0x36b)],qn=Object[_0xade8c(0x22b)],tt=(_0x41534c,_0x44eae0,_0x4cc2e2,_0x16cac8)=>{const _0x8d9a74=_0xade8c;for(var _0x9e18b3=_0x16cac8>0x1?void 0x0:_0x16cac8?qn(_0x44eae0,_0x4cc2e2):_0x44eae0,_0x997bc=_0x41534c[_0x8d9a74(0x331)]-0x1,_0x4ba834;_0x997bc>=0x0;_0x997bc--)(_0x4ba834=_0x41534c[_0x997bc])&&(_0x9e18b3=(_0x16cac8?_0x4ba834(_0x44eae0,_0x4cc2e2,_0x9e18b3):_0x4ba834(_0x9e18b3))||_0x9e18b3);return _0x16cac8&&_0x9e18b3&&Jn(_0x44eae0,_0x4cc2e2,_0x9e18b3),_0x9e18b3;},S=(_0x6ebbbe,_0x58114c)=>(_0x4f84c6,_0x1d54ef)=>_0x58114c(_0x4f84c6,_0x1d54ef,_0x6ebbbe);let De=class extends _0x3fb7e3{constructor(_0x56901d,_0x4a6730,_0x39b4a8){const _0x173b8a=_0xade8c;super(),l(this,_0x173b8a(0x306),new Map()),l(this,_0x173b8a(0x320),new _0x3718e0()),(this[_0x173b8a(0xcc)]=_0x56901d,this['_collabSessionService']=_0x4a6730,this[_0x173b8a(0x1c2)]=_0x39b4a8,this[_0x173b8a(0x312)]());}[_0xade8c(0x199)](){const _0x28a451=_0xade8c;super[_0x28a451(0x199)](),this[_0x28a451(0x306)][_0x28a451(0x2f2)](_0x41f8f5=>_0x41f8f5[_0x28a451(0x199)]()),this[_0x28a451(0x306)][_0x28a451(0x287)]();}[_0xade8c(0xa0)](_0x43a4f6){const _0x1c7ad1=_0xade8c;var _0x55095c;return(_0x55095c=this[_0x1c7ad1(0x306)][_0x1c7ad1(0x275)](_0x43a4f6))!=null?_0x55095c:null;}[_0xade8c(0x36a)](_0x523a2e){const _0x42ae8b=_0xade8c,_0x3c5a80=this[_0x42ae8b(0xa0)](_0x523a2e);return _0x3c5a80?_0x3ff30b(_0x3c5a80):this[_0x42ae8b(0x320)]['pipe'](_0x4c2296(_0x148474=>_0x148474[_0x42ae8b(0x14d)]===_0x523a2e));}[_0xade8c(0x312)](){const _0x3425bb=_0xade8c;this[_0x3425bb(0x1c2)][_0x3425bb(0x252)](_0x9cd059[_0x3425bb(0x3a3)])['pipe'](_0x2473df(this[_0x3425bb(0x13d)]),_0xf4f725(0x10))[_0x3425bb(0xbf)](async _0x132aa2=>{const _0x2799cf=_0x3425bb,_0x2cff99=_0x132aa2[_0x2799cf(0x350)](),_0x576ce0=await this[_0x2799cf(0x2ae)](_0x2cff99,H[_0x2799cf(0x3a3)]);this[_0x2799cf(0x306)][_0x2799cf(0xbd)](_0x2cff99,_0x576ce0);}),this[_0x3425bb(0x1c2)]['getTypeOfUnitAdded$'](_0x9cd059[_0x3425bb(0x1c7)])[_0x3425bb(0x2fe)](_0x2473df(this[_0x3425bb(0x13d)]),_0xf4f725(0x10))[_0x3425bb(0x2fe)](_0x4c2296(_0x29e649=>!_0x29e649['getUnitId']()[_0x3425bb(0xfc)]('__')))['subscribe'](async _0x5dc480=>{const _0x599e99=_0x3425bb,_0x151f0e=_0x5dc480[_0x599e99(0x350)](),_0xd0ec70=await this['_startCollaboration'](_0x151f0e,H[_0x599e99(0x1c7)]);this[_0x599e99(0x306)]['set'](_0x151f0e,_0xd0ec70);}),_0x52fd0c(this[_0x3425bb(0x1c2)][_0x3425bb(0x1a4)](_0x9cd059['UNIVER_SHEET']),this[_0x3425bb(0x1c2)][_0x3425bb(0x1a4)](_0x9cd059[_0x3425bb(0x1c7)]))['pipe'](_0x2473df(this[_0x3425bb(0x13d)]))[_0x3425bb(0xbf)](_0x490999=>{const _0x3028fa=_0x3425bb,_0x480dba=_0x490999[_0x3028fa(0x350)](),_0x481848=this[_0x3028fa(0x306)][_0x3028fa(0x275)](_0x480dba);_0x481848&&(_0x481848[_0x3028fa(0x199)](),this[_0x3028fa(0x306)]['delete'](_0x480dba));});}async[_0xade8c(0x2ae)](_0x19ae22,_0x127e4c){const _0x17fd54=_0xade8c,_0x15ad7f=await this['_collabSessionService'][_0x17fd54(0x12b)](_0x19ae22),_0x46cd09=this[_0x17fd54(0xcc)][_0x17fd54(0x371)](this[_0x17fd54(0x22d)](_0x127e4c),_0x19ae22,_0x127e4c,_0x15ad7f);return await _0x46cd09[_0x17fd54(0x254)](),this[_0x17fd54(0x320)][_0x17fd54(0xab)](_0x46cd09),_0x46cd09;}[_0xade8c(0x22d)](_0xed51fa){const _0x2f445f=_0xade8c;switch(_0xed51fa){case H[_0x2f445f(0x1c7)]:return vt;case H[_0x2f445f(0x3a3)]:return pt;default:throw new Error(_0x2f445f(0x300)+_0xed51fa);}}};De=tt([_0x22ab7a(_0x35f1ee[_0xade8c(0xd2)],De),S(0x0,_0xd901da(_0x3c61ae)),S(0x1,_0xd901da(ge)),S(0x2,_0x3b87df)],De);let ze=class extends _0x3fb7e3{constructor(_0x13c257,_0x5bf7d1,_0x516198,_0x2ee067,_0x144bd3,_0x3130f1,_0x3200c0,_0x548e66,_0x3a0774,_0x454f8c,_0x20708f,_0x599181,_0x497a8b){const _0x43ceb7=_0xade8c;super(),l(this,_0x43ceb7(0x141),new _0x1a37bf(null)),l(this,'state$',this['_state$'][_0x43ceb7(0x329)]()),l(this,_0x43ceb7(0xad)),l(this,_0x43ceb7(0x24d),!0x1),l(this,_0x43ceb7(0x1ed),this[_0x43ceb7(0x2c1)][_0x43ceb7(0x2fe)](_0x176ea9(_0x2a3409=>_0x2a3409?_0x2a3409[_0x43ceb7(0x3b8)]:w[_0x43ceb7(0x262)]),_0x3b73a3(0x1))),l(this,'_transitionLocked',!0x1),l(this,'_remoteChangesetQueue',[]),(this[_0x43ceb7(0x14d)]=_0x13c257,this[_0x43ceb7(0x10c)]=_0x5bf7d1,this[_0x43ceb7(0x8f)]=_0x516198,this[_0x43ceb7(0xcc)]=_0x2ee067,this['_localCacheService']=_0x144bd3,this[_0x43ceb7(0xb6)]=_0x3130f1,this['_localeService']=_0x3200c0,this['_revisionService']=_0x548e66,this[_0x43ceb7(0x37f)]=_0x3a0774,this['_commandService']=_0x454f8c,this[_0x43ceb7(0x368)]=_0x20708f,this[_0x43ceb7(0x10f)]=_0x599181,this['_singleActiveUnitService']=_0x497a8b);}get[_0xade8c(0x271)](){const _0x1dfbf4=_0xade8c;return this[_0x1dfbf4(0xad)];}async['init'](){const _0x420e33=_0xade8c;if(this['state'])throw new Error(_0x420e33(0x31a));await this[_0x420e33(0x312)]();}[_0xade8c(0x2d9)](){return this['_collaborationPaused']=!0x0,_0x45cb21(()=>{const _0x302742=_0x4292;this[_0x302742(0x24d)]=!0x1,this[_0x302742(0x299)]();});}[_0xade8c(0x3b0)](_0x190c4d){const _0x492ed3=_0xade8c;this[_0x492ed3(0xad)]=_0x190c4d,this[_0x492ed3(0x141)][_0x492ed3(0xab)](_0x190c4d);}async['_init'](){const _0x3bebe1=_0xade8c;var _0x2d716a;return this[_0x3bebe1(0x3b0)](await this[_0x3bebe1(0x396)]()),this['_singleActiveUnitService']&&((_0x2d716a=this[_0x3bebe1(0x97)])==null||_0x2d716a[_0x3bebe1(0x128)](this[_0x3bebe1(0x14d)]),this[_0x3bebe1(0x1f1)](_0x45cb21(this[_0x3bebe1(0x97)]['getUnitStatus$'](this[_0x3bebe1(0x14d)])[_0x3bebe1(0xbf)](_0x16f438=>{const _0x3babec=_0x3bebe1;this[_0x3babec(0x37f)]['debug'](_0x3babec(0x201),_0x3babec(0x113),_0x16f438),_0x16f438===ws[_0x3babec(0x30c)]?(this[_0x3babec(0x368)][_0x3babec(0xfa)]({'content':this['_localeService']['t'](_0x3babec(0x27b)),'type':_0x4d4329[_0x3babec(0x398)]}),this[_0x3babec(0x10f)][_0x3babec(0xd7)](new _0xaddd59(this[_0x3babec(0x14d)])['id'],!0x1)):this[_0x3babec(0x10f)][_0x3babec(0xd7)](new _0xaddd59(this['unitID'])['id'],!0x0);})))),this['disposeWithMe'](_0x45cb21(this['_session'][_0x3bebe1(0x17f)][_0x3bebe1(0xbf)](_0x2b4c73=>{const _0x18250e=_0x3bebe1;_0x2b4c73===de['ONLINE']?this[_0x18250e(0x318)]():_0x2b4c73===de[_0x18250e(0x262)]&&this['_toggleOffline']();}))),this['disposeWithMe'](_0x45cb21(this[_0x3bebe1(0x8f)]['event$'][_0x3bebe1(0xbf)](_0x37ac76=>{const _0x5ce55c=_0x3bebe1;try{switch(_0x37ac76[_0x5ce55c(0x13b)]){case _0x1b9133[_0x5ce55c(0x1a9)]:{this[_0x5ce55c(0x19e)](_0x28c9a8(_0x37ac76['data']));break;}case _0x1b9133[_0x5ce55c(0x29b)]:{this[_0x5ce55c(0x30b)](_0x37ac76[_0x5ce55c(0x19b)]);break;}case _0x1b9133['CHANGESET_REJ']:{this[_0x5ce55c(0xb7)]();break;}case _0x1b9133[_0x5ce55c(0x25b)]:{this[_0x5ce55c(0x109)](_0x37ac76[_0x5ce55c(0x19b)][_0x5ce55c(0xe4)][_0x5ce55c(0x39e)](_0x141642=>_0x28c9a8(_0x141642)));break;}case _0x1b9133['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x1beb88){throw console[_0x5ce55c(0x2cf)]('Error\x20on\x20receiving\x20event',_0x1beb88),_0x1beb88;}}))),this[_0x3bebe1(0xad)];}[_0xade8c(0x2e9)](){const _0x8207f9=_0xade8c;this[_0x8207f9(0x150)]=!0x1;}['_lockTransition'](){const _0x2ae4bf=_0xade8c;if(this[_0x2ae4bf(0x150)])throw new Error(_0x2ae4bf(0x31c));this[_0x2ae4bf(0x150)]=!0x0;}[_0xade8c(0x352)](_0x4e0913){const _0x434cfd=_0xade8c;this[_0x434cfd(0x2b5)](),this['_updateState'](this[_0x434cfd(0xad)][_0x434cfd(0x2b6)](_0x4e0913)),this[_0x434cfd(0x2e9)]();}[_0xade8c(0x19e)](_0x1a5cef){const _0x535a09=_0xade8c;if(!(_0x1a5cef[_0x535a09(0x212)]<=this[_0x535a09(0x30a)][_0x535a09(0x7e)](this[_0x535a09(0x14d)]))){if(this[_0x535a09(0x24d)]){this[_0x535a09(0xa3)][_0x535a09(0x142)](_0x1a5cef);return;}this[_0x535a09(0x229)](_0x1a5cef);}}[_0xade8c(0x299)](){const _0x521ca8=_0xade8c;this[_0x521ca8(0xa3)][_0x521ca8(0x2f2)](_0x12f5eb=>this[_0x521ca8(0x229)](_0x12f5eb)),this['_remoteChangesetQueue']=[];}[_0xade8c(0x229)](_0x31f4b7){const _0x5030c3=_0xade8c,_0x544f44=this[_0x5030c3(0xb6)]['interceptor'][_0x5030c3(0x1a1)](this['_compressMutationService'][_0x5030c3(0x1c4)]['getInterceptPoints']()[_0x5030c3(0x2c4)])(_0x31f4b7['mutations'],null)||_0x31f4b7['mutations'],_0x18252c={..._0x31f4b7,'mutations':_0x544f44};this[_0x5030c3(0x2b5)](),this['_updateState'](this[_0x5030c3(0xad)][_0x5030c3(0x2cb)](_0x18252c)),this[_0x5030c3(0x2e9)]();}[_0xade8c(0x30b)](_0x4743ef){const _0x20d042=_0xade8c;this[_0x20d042(0x2b5)](),this[_0x20d042(0x3b0)](this['_state']['onRemoteAck'](_0x4743ef)),this['_unlockTransition']();}[_0xade8c(0xb7)](_0x455b39){const _0x4a0576=_0xade8c;this[_0x4a0576(0x2b5)](),this[_0x4a0576(0x3b0)](this['_state'][_0x4a0576(0xaf)](_0x455b39)),this[_0x4a0576(0x2e9)]();}['_onFetchMissResult'](_0x585cb3){const _0x33f613=_0xade8c;if(!(this[_0x33f613(0xad)]instanceof G))throw new TypeError(_0x33f613(0x183));const _0x5a4d31=_0x585cb3['map'](_0x69dc9d=>{const _0x13b7f9=_0x33f613,_0x4dbd68=this['_compressMutationService'][_0x13b7f9(0x1c4)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x13b7f9(0x1c4)][_0x13b7f9(0x343)]()['COMPRESS_MUTATION_APPLY'])(_0x69dc9d[_0x13b7f9(0xf5)],null)||_0x69dc9d['mutations'];return{..._0x69dc9d,'mutations':_0x4dbd68};});this['_lockTransition'](),this[_0x33f613(0x3b0)](this[_0x33f613(0xad)][_0x33f613(0x37b)](_0x5a4d31)),this[_0x33f613(0x2e9)]();}[_0xade8c(0x209)](){const _0x1a53e2=_0xade8c;this[_0x1a53e2(0x2b5)](),this['_updateState'](this[_0x1a53e2(0xad)][_0x1a53e2(0x11d)]()),this[_0x1a53e2(0x2e9)]();}[_0xade8c(0x318)](){const _0xcd8cdf=_0xade8c;this[_0xcd8cdf(0x2b5)](),this[_0xcd8cdf(0x3b0)](this[_0xcd8cdf(0xad)][_0xcd8cdf(0x27f)]()),this[_0xcd8cdf(0x2e9)]();}async[_0xade8c(0x396)](){return new Promise(_0x2599ba=>{const _0xf9ee30=_0x4292;this[_0xf9ee30(0x8f)][_0xf9ee30(0x17f)][_0xf9ee30(0x2fe)](_0x4efd5d(0x1))[_0xf9ee30(0xbf)](async _0x90d580=>{const _0x49f410=_0xf9ee30;_0x2599ba(await this['_createInitialStateImpl'](_0x90d580===de[_0x49f410(0x241)]));});});}['_createHandler'](){const _0x17b786=_0xade8c,_0x2cd08d=this[_0x17b786(0x14d)];return{'onStateChange':(_0x46d870,_0x54b011)=>{const _0x1cdac7=_0x17b786;if(_0x46d870!==this[_0x1cdac7(0xad)])throw new Error(_0x1cdac7(0xf3)+_0x46d870[_0x1cdac7(0x3b8)]+_0x1cdac7(0x182)+_0x54b011['status']+'\x0aCurrent:\x20'+this['_state']['status']);this[_0x1cdac7(0x3b0)](_0x54b011);},'onSendChangeset':_0x1c3c1d=>{const _0x320115=_0x17b786,_0x156b85={'eventID':_0x1b9133[_0x320115(0x35a)],'data':{'unitID':_0x1c3c1d['unitID'],'unitType':this[_0x320115(0x10c)],'changeset':_0x1c3c1d,'memberID':this['_session']['getMemberID']()}};this[_0x320115(0x8f)][_0x320115(0x18a)](_0x156b85,this[_0x320115(0x14d)]);},'onMissingChangesets':({from:_0x471662,to:_0x12d738})=>{const _0x35deb1=_0x17b786;this[_0x35deb1(0x37f)][_0x35deb1(0x180)]('[CollaborationEntity]',_0x35deb1(0xa1)+_0x471662+'\x20to\x20'+_0x12d738);const _0x1154e5={'eventID':_0x1b9133[_0x35deb1(0x34f)],'data':{'unitID':_0x2cd08d,'unitType':this[_0x35deb1(0x10c)],'from':_0x471662,'to':_0x12d738}};this[_0x35deb1(0x8f)][_0x35deb1(0x18a)](_0x1154e5,this[_0x35deb1(0x14d)]);}};}async[_0xade8c(0x36c)](_0x25c2be){const _0x5036b1=_0xade8c;var _0x49976,_0x51393d;const _0x344050=await this[_0x5036b1(0xf7)][_0x5036b1(0x1c1)](this[_0x5036b1(0x14d)]),_0x3e7f7a=(_0x49976=_0x344050==null?void 0x0:_0x344050[_0x5036b1(0xf5)])!=null?_0x49976:[],_0x15a7da=(_0x51393d=_0x344050==null?void 0x0:_0x344050[_0x5036b1(0x206)])!=null?_0x51393d:null,_0x2b2782=this[_0x5036b1(0x14d)];try{this['_replayCachedMutations'](_0x15a7da,_0x3e7f7a);}catch(_0x5c531f){this['_logService'][_0x5036b1(0x2cf)](_0x5c531f);}const _0xf7dd4c=this[_0x5036b1(0xa7)]();if(_0x25c2be){const _0xd8dba0=Ms(this[_0x5036b1(0xcc)],_0x2b2782,this[_0x5036b1(0x10c)],_0x15a7da,_0x3e7f7a,_0xf7dd4c);return _0xd8dba0 instanceof k?_0xd8dba0['_schedule']():(_0xd8dba0 instanceof W||_0xd8dba0 instanceof q)&&_0xd8dba0[_0x5036b1(0x1a7)](),_0xd8dba0;}return this['_injector'][_0x5036b1(0x371)](z,_0x2b2782,this[_0x5036b1(0x10c)],_0x15a7da,_0x3e7f7a,_0xf7dd4c);}[_0xade8c(0x129)](_0x1ea1ad,_0x8f6027){const _0x53b74b=_0xade8c;var _0x3168f3,_0xe4d3fb;const _0x4ac9af=this[_0x53b74b(0xb6)][_0x53b74b(0x1c4)]['fetchThroughInterceptors'](this[_0x53b74b(0xb6)][_0x53b74b(0x1c4)][_0x53b74b(0x343)]()['COMPRESS_MUTATION_APPLY']);(_0x3168f3=_0x4ac9af((_0x1ea1ad==null?void 0x0:_0x1ea1ad[_0x53b74b(0xf5)])||[],null))==null||_0x3168f3['forEach'](_0x2e07c2=>this[_0x53b74b(0x1ba)][_0x53b74b(0x340)](_0x2e07c2['id'],_0x2e07c2['params'])),(_0xe4d3fb=_0x4ac9af(_0x8f6027||[],null))==null||_0xe4d3fb[_0x53b74b(0x2f2)](_0x1f6fcf=>this[_0x53b74b(0x1ba)]['executeCommand'](_0x1f6fcf['id'],_0x1f6fcf[_0x53b74b(0x27a)]));}};ze=tt([S(0x3,_0xd901da(_0x3c61ae)),S(0x4,_0xd901da(D)),S(0x5,_0xd901da(_0x150830)),S(0x6,_0xd901da(_0x3fbf2b)),S(0x7,_0xd901da(_0x432311)),S(0x8,_0x255408),S(0x9,_0x3f64f1),S(0xa,_0x48de42),S(0xb,_0x1b6020),S(0xc,_0x3badbf(et))],ze);let vt=class extends ze{constructor(_0x5924cb,_0x3d28ca,_0x45ac60,_0x18c30c,_0x326690,_0x151270,_0x115a24,_0x3982a1,_0x14268b,_0x527ce8,_0x182052,_0x529153,_0x4b0ec2,_0x2296a2,_0x2fbf34,_0xe6a5f0,_0x4fb299){const _0x155575=_0xade8c;super(_0x5924cb,_0x3d28ca,_0x45ac60,_0x18c30c,_0x326690,_0x151270,_0x115a24,_0x3982a1,_0x4b0ec2,_0x2296a2,_0x2fbf34,_0xe6a5f0,_0x4fb299),this[_0x155575(0x14d)]=_0x5924cb,this['type']=_0x3d28ca,this[_0x155575(0x1ef)]=_0x45ac60,this['_docStateChangeManagerService']=_0x14268b,this[_0x155575(0x157)]=_0x527ce8,this[_0x155575(0x3a2)]=_0x182052,this[_0x155575(0xb8)]=_0x529153;}[_0xade8c(0xa7)](){const _0x20285d=_0xade8c,_0x31b488=super['_createHandler']();return _0x31b488['onTransformIME']=_0x788139=>this['_docTransformIMECacheService'][_0x20285d(0x105)](_0x788139),_0x31b488[_0x20285d(0x366)]=_0x4ac55b=>this[_0x20285d(0x3a2)][_0x20285d(0x2f4)](_0x4ac55b),_0x31b488[_0x20285d(0x2b8)]=_0x5ece15=>this[_0x20285d(0xb8)][_0x20285d(0x297)](_0x5ece15),_0x31b488[_0x20285d(0x161)]=_0x5943af=>this[_0x20285d(0x157)][_0x20285d(0x17a)](_0x5943af),_0x31b488;}async['_init'](){const _0x35ef61=_0xade8c,_0x47c4ca=await super[_0x35ef61(0x312)]();return this['_docStateChangeManagerService']['docStateChange$'][_0x35ef61(0x2fe)](_0x2473df(this['dispose$']))[_0x35ef61(0xbf)](_0x2fc0dc=>{const _0x555691=_0x35ef61;if(_0x2fc0dc==null)return;const {unitId:_0xaf5ab9,redoState:_0xbd967a,commandId:_0xfb2fe}=_0x2fc0dc;if(_0xaf5ab9!==this[_0x555691(0x14d)])return;const _0x522b15={'id':_0xfb2fe,'type':_0x25ba1e[_0x555691(0x79)],'params':{'unitId':_0xaf5ab9,'actions':_0xbd967a[_0x555691(0x2ba)],'textRanges':null}};this[_0x555691(0x352)](_0x522b15);}),_0x47c4ca;}};vt=tt([S(0x3,_0xd901da(_0x3c61ae)),S(0x4,_0xd901da(D)),S(0x5,_0xd901da(_0x150830)),S(0x6,_0xd901da(_0x3fbf2b)),S(0x7,_0xd901da(_0x432311)),S(0x8,_0xd901da(_0x36a6d8)),S(0x9,_0xd901da(Xe)),S(0xa,_0xd901da(Je)),S(0xb,_0xd901da(Ut)),S(0xc,_0x255408),S(0xd,_0x3f64f1),S(0xe,_0x48de42),S(0xf,_0x1b6020),S(0x10,_0x3badbf(et))],vt);let pt=class extends ze{constructor(_0x5f18ae,_0x3a6692,_0xc7e70b,_0x4f11f9,_0x10c13c,_0x3215df,_0xf52d4,_0x5291d5,_0x3252ba,_0x4376bb,_0x2aea96,_0x250b43,_0x4ca628,_0x389e20){const _0x35cbd6=_0xade8c;super(_0x5f18ae,_0x3a6692,_0xc7e70b,_0x4f11f9,_0x10c13c,_0x3215df,_0xf52d4,_0x5291d5,_0x4376bb,_0x2aea96,_0x250b43,_0x4ca628,_0x389e20),this[_0x35cbd6(0x14d)]=_0x5f18ae,this[_0x35cbd6(0x207)]=_0x3a6692,this[_0x35cbd6(0x1ef)]=_0xc7e70b,this['_sheetTransformSelectionsService']=_0x3252ba;}[_0xade8c(0xa7)](){const _0x9f092f=_0xade8c,_0x44a92a=super[_0x9f092f(0xa7)]();return _0x44a92a['onTransformSelections']=_0x37d6a7=>this['_sheetTransformSelectionsService'][_0x9f092f(0x2f4)](_0x37d6a7),_0x44a92a;}async[_0xade8c(0x312)](){const _0x4906eb=_0xade8c,_0xfa0f0c=await super[_0x4906eb(0x312)]();return this['disposeWithMe'](this[_0x4906eb(0x1ba)][_0x4906eb(0x8a)]((_0x55769b,_0x4fad19)=>{const _0x1536af=_0x4906eb;if(_0x55769b[_0x1536af(0x207)]!==_0x25ba1e[_0x1536af(0x79)]||_0x4fad19!=null&&_0x4fad19[_0x1536af(0x177)]||_0x4fad19!=null&&_0x4fad19['onlyLocal'])return;const _0x3ae25a=_0x55769b[_0x1536af(0x27a)];if((_0x3ae25a==null?void 0x0:_0x3ae25a['unitId'])!==this[_0x1536af(0x14d)])return;const _0x41750a=_0x55769b,_0x7e0d42=this[_0x1536af(0xb6)]['interceptor'][_0x1536af(0x1a1)](this[_0x1536af(0xb6)][_0x1536af(0x1c4)][_0x1536af(0x343)]()[_0x1536af(0x7d)])([_0x41750a],null)||[_0x41750a];this['_onLocalMutation'](_0x7e0d42[0x0]);})),_0xfa0f0c;}};pt=tt([S(0x3,_0xd901da(_0x3c61ae)),S(0x4,_0xd901da(D)),S(0x5,_0xd901da(_0x150830)),S(0x6,_0xd901da(_0x3fbf2b)),S(0x7,_0xd901da(_0x432311)),S(0x8,_0xd901da(qe)),S(0x9,_0x255408),S(0xa,_0x3f64f1),S(0xb,_0x48de42),S(0xc,_0x1b6020),S(0xd,_0x3badbf(et))],pt);const es=[_0xade8c(0x2ff),_0xade8c(0x122),'verdancy600',_0xade8c(0x12f),_0xade8c(0x162),_0xade8c(0x2f6)];class Lt extends _0x5297f3{constructor(){const _0x5f445c=_0xade8c;super(...arguments),l(this,_0x5f445c(0x2aa),new Map()),l(this,_0x5f445c(0x37a),0x0);}['assignAColorForMemberID'](_0x29d1de){const _0x4412ed=_0xade8c;if(this[_0x4412ed(0x2aa)]['has'](_0x29d1de))return this[_0x4412ed(0x2aa)][_0x4412ed(0x275)](_0x29d1de);const _0x5b7cae=es[this[_0x4412ed(0x37a)]];return this[_0x4412ed(0x37a)]=(this[_0x4412ed(0x37a)]+0x1)%es['length'],this['_assignedColors'][_0x4412ed(0xbd)](_0x29d1de,_0x5b7cae),_0x5b7cae;}}var zn=Object['defineProperty'],Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x5c6b91,_0x192852,_0x4fb3de,_0x57125c)=>{for(var _0x480355=_0x57125c>0x1?void 0x0:_0x57125c?Zn(_0x192852,_0x4fb3de):_0x192852,_0x3ddca7=_0x5c6b91['length']-0x1,_0x313168;_0x3ddca7>=0x0;_0x3ddca7--)(_0x313168=_0x5c6b91[_0x3ddca7])&&(_0x480355=(_0x57125c?_0x313168(_0x192852,_0x4fb3de,_0x480355):_0x313168(_0x480355))||_0x480355);return _0x57125c&&_0x480355&&zn(_0x192852,_0x4fb3de,_0x480355),_0x480355;},he=(_0x15ec39,_0x2250d9)=>(_0x257be7,_0x48bc37)=>_0x2250d9(_0x257be7,_0x48bc37,_0x15ec39);const er=0x12c,tr=0x64,sr=()=>{let _0x4640ea=[],_0x1516ec=!0x1;return _0x20c656=>{_0x4640ea['push'](_0x20c656),_0x1516ec||(_0x1516ec=!0x0,setTimeout(()=>{const _0x249c2c=_0x4292;_0x4640ea[_0x249c2c(0x2f2)](_0x64d09=>_0x64d09()),_0x4640ea=[],_0x1516ec=!0x1;}));};};let It=class extends _0x3fb7e3{constructor(_0x58dc65,_0x4fc353,_0x4878fa,_0x525431,_0x31c13a,_0x2e170e,_0x30045b,_0x595467){const _0x1fa963=_0xade8c;super(),l(this,_0x1fa963(0x93),!0x1),l(this,_0x1fa963(0x312),!0x1),l(this,_0x1fa963(0x280),new _0x1a37bf(new Map())),l(this,'cursorInfo$',this[_0x1fa963(0x280)]['asObservable']()),l(this,_0x1fa963(0x225),new _0x1a37bf([])),l(this,_0x1fa963(0x35c),this[_0x1fa963(0x225)][_0x1fa963(0x2fe)](_0x2ec9db(er))),l(this,_0x1fa963(0x1c5),_0x1ebe66((_0x1aed9e,_0x2c4332)=>{const _0x45b4f1=_0x1fa963,_0xa66a41={'eventID':_0x1b9133[_0x45b4f1(0x390)],'data':{'unitID':this['unitID'],'memberID':this[_0x45b4f1(0x8f)]['getMemberID'](),'selection':_0x1b1c8a(_0x1aed9e,_0x2c4332[_0x45b4f1(0x2c3)])}};this[_0x45b4f1(0x8f)][_0x45b4f1(0x18a)](_0xa66a41,this[_0x45b4f1(0x14d)]);},tr)),(this[_0x1fa963(0x14d)]=_0x58dc65,this[_0x1fa963(0x8f)]=_0x4fc353,this['_injector']=_0x4878fa,this[_0x1fa963(0x258)]=_0x525431,this[_0x1fa963(0x311)]=_0x31c13a,this[_0x1fa963(0x1c2)]=_0x2e170e,this['_commandService']=_0x30045b,this['_refRangeService']=_0x595467);}get[_0xade8c(0x294)](){const _0x4211ec=_0xade8c;return this['_cursorInfo$'][_0x4211ec(0x17d)]();}get['roomMembers'](){const _0x4c4ab8=_0xade8c;return this[_0x4c4ab8(0x225)][_0x4c4ab8(0x17d)]();}[_0xade8c(0x199)](){const _0x2f780e=_0xade8c;super[_0x2f780e(0x199)](),this[_0x2f780e(0x280)][_0x2f780e(0xab)](new Map()),this[_0x2f780e(0x280)][_0x2f780e(0x239)](),this['_roomMembers$'][_0x2f780e(0xab)]([]),this['_roomMembers$'][_0x2f780e(0x239)]();}[_0xade8c(0x254)](){const _0x46a67b=_0xade8c;this[_0x46a67b(0x312)]||(this[_0x46a67b(0x312)]=!0x0,this['_session']['sessionStatus$'][_0x46a67b(0x2fe)](_0x2473df(this[_0x46a67b(0x13d)]))[_0x46a67b(0xbf)](_0x1f6c3e=>{const _0x32b169=_0x46a67b;_0x1f6c3e===de[_0x32b169(0x241)]?this[_0x32b169(0x318)]():this['_toggleOffline']();}),this[_0x46a67b(0x8f)][_0x46a67b(0x2ea)][_0x46a67b(0x2fe)](_0x2473df(this['dispose$']))[_0x46a67b(0xbf)](_0x1475be=>{const _0x17e634=_0x46a67b,_0x2ac722=_0x1475be[_0x17e634(0x13b)];_0x2ac722===_0x1b9133['UPDATE_CURSOR']&&this[_0x17e634(0x32d)](_0x1475be),_0x2ac722===_0x1b9133[_0x17e634(0x8b)]&&this[_0x17e634(0x1aa)](_0x1475be);}),this['_onRefRangeChange'](),this[_0x46a67b(0x1f1)](this[_0x46a67b(0x1ba)][_0x46a67b(0x8a)](_0x4b4c4c=>{const _0x189fec=_0x46a67b;if(this[_0x189fec(0x93)]&&_0x4b4c4c['id']===_0x45efda['id']&&_0x4b4c4c['params'][_0x189fec(0x158)]===this[_0x189fec(0x14d)]){const _0x359609=_0x4b4c4c['params'];this[_0x189fec(0x1c5)](_0x359609[_0x189fec(0x205)],_0x359609[_0x189fec(0xb3)][0x0]);}})));}[_0xade8c(0x32d)](_0x487874){const _0x30af03=_0xade8c;var _0x5967ba,_0xc53d49;const {memberID:_0x4fd97d,selection:_0x3e0ed3}=_0x487874[_0x30af03(0x19b)],{sheetName:_0x12229e,range:_0x2b1c8a}=_0x35f0e9(_0x3e0ed3),_0x279bb1={'name':(_0xc53d49=(_0x5967ba=this[_0x30af03(0x311)][_0x30af03(0xa5)](this[_0x30af03(0x14d)],_0x4fd97d))==null?void 0x0:_0x5967ba[_0x30af03(0x89)])!=null?_0xc53d49:_0x30af03(0x381),'range':this[_0x30af03(0x1b1)](_0x12229e,_0x2b1c8a),'sheetID':_0x12229e,'color':this[_0x30af03(0x258)]['assignAColorForMemberID'](_0x4fd97d),'selection':_0x3e0ed3},_0x942893=this[_0x30af03(0x294)];_0x942893[_0x30af03(0xbd)](_0x4fd97d,_0x279bb1),this['_cursorInfo$'][_0x30af03(0xab)](_0x942893);}[_0xade8c(0x1aa)](_0x35ff84){const _0x5e5ea4=_0xade8c,{memberID:_0x262508}=_0x35ff84[_0x5e5ea4(0x19b)],_0x5b7155=this[_0x5e5ea4(0x294)];_0x5b7155[_0x5e5ea4(0x39d)](_0x262508),this[_0x5e5ea4(0x280)][_0x5e5ea4(0xab)](_0x5b7155);}[_0xade8c(0x1b1)](_0x3c31d0,_0x4815c2){const _0x507e28=_0xade8c;var _0x5441df,_0x959ee5;const _0xb1a01e=(_0x959ee5=(_0x5441df=this[_0x507e28(0x1c2)][_0x507e28(0x351)](this['unitID']))==null?void 0x0:_0x5441df[_0x507e28(0x13e)](_0x3c31d0))==null?void 0x0:_0x959ee5['getMergeData']();return(_0xb1a01e==null?void 0x0:_0xb1a01e[_0x507e28(0x18f)](_0x245fa2=>_0x16c0da[_0x507e28(0x17b)](_0x245fa2,_0x4815c2)))||_0x4815c2;}[_0xade8c(0x3a5)](){const _0x4f6b21=new _0x5e2383(),_0x56e604=sr(),_0x4e14d3=()=>{const _0x47f40a=_0x4292;_0x4f6b21[_0x47f40a(0x199)]();const _0xf7e318=(_0x5e9f17,_0x2a104f,_0x3a606b,_0x552155)=>{const _0x42ae36=_0x47f40a;let _0x19a19a=[];switch(_0x5e9f17['id']){case _0x117f68[_0x42ae36(0x1ab)]:{_0x19a19a=_0x4b1cd0(_0x5e9f17,_0x552155);break;}case _0x117f68['DeleteRangeMoveUpCommandId']:{_0x19a19a=_0x1ec5bf(_0x5e9f17,_0x552155);break;}case _0x117f68[_0x42ae36(0x132)]:{_0x19a19a=_0x2fe4c1(_0x5e9f17,_0x552155);break;}case _0x117f68['InsertRangeMoveDownCommandId']:{_0x19a19a=_0x273ca7(_0x5e9f17,_0x552155);break;}case _0x117f68['InsertRangeMoveRightCommandId']:{_0x19a19a=_0x5acc49(_0x5e9f17,_0x552155);break;}case _0x117f68[_0x42ae36(0xe7)]:{_0x19a19a=_0x59ae3e(_0x5e9f17,_0x552155);break;}case _0x117f68[_0x42ae36(0xd1)]:{_0x19a19a=_0x269fef(_0x5e9f17,_0x552155);break;}case _0x117f68[_0x42ae36(0x1f4)]:{_0x19a19a=_0x4a8c83(_0x5e9f17,_0x552155);break;}case _0x117f68[_0x42ae36(0xee)]:{_0x19a19a=_0x4e9436(_0x5e9f17,_0x552155);break;}}const _0x32a099=_0x40799b(_0x19a19a,_0x552155),_0x43858b=this[_0x42ae36(0x294)]['get'](_0x2a104f);if(_0x43858b&&_0x32a099){const _0x40543c={..._0x43858b,'range':_0x32a099};this[_0x42ae36(0x294)][_0x42ae36(0xbd)](_0x2a104f,_0x40543c),_0x56e604(()=>{const _0x43c078=_0x42ae36,_0x17f43a=this[_0x43c078(0x37e)][_0x43c078(0x376)](_0x32a099,_0x370bf6=>(_0x17f43a[_0x43c078(0x199)](),_0xf7e318(_0x370bf6,_0x2a104f,_0x3a606b,_0x32a099)));_0x4f6b21[_0x43c078(0x21f)](_0x17f43a);});}return{'redos':[],'undos':[]};};this[_0x47f40a(0x294)]['forEach']((_0xa780b8,_0x8b9b7c)=>{const _0x2fb58a=_0x47f40a,{range:_0x33e838,sheetID:_0x3ec949}=_0xa780b8,_0xc863d9=this[_0x2fb58a(0x37e)][_0x2fb58a(0x376)](_0x33e838,_0x532b5b=>(_0xc863d9[_0x2fb58a(0x199)](),_0xf7e318(_0x532b5b,_0x8b9b7c,_0x3ec949,_0x33e838)));_0x4f6b21[_0x2fb58a(0x21f)](_0xc863d9);});};this['disposeWithMe'](_0x45cb21(this['_cursorInfo$']['subscribe'](()=>{_0x4e14d3();})));}['_toggleOnline'](){const _0x268019=_0xade8c;var _0x3f256d,_0x4ef46d;if(this['_online']=!0x0,((_0x3f256d=this[_0x268019(0x1c2)][_0x268019(0x16f)]())==null?void 0x0:_0x3f256d[_0x268019(0x350)]())!==this['unitID'])return;const _0x3de083=(_0x4ef46d=this['_injector'][_0x268019(0x275)](_0x49acad)[_0x268019(0x200)]())==null?void 0x0:_0x4ef46d[0x0],_0x42a17f=this[_0x268019(0x1c2)][_0x268019(0x227)](_0x9cd059[_0x268019(0x3a3)])[_0x268019(0x387)]();_0x3de083&&_0x42a17f&&this[_0x268019(0x1c5)](_0x42a17f[_0x268019(0x16e)](),_0x3de083);}['_toggleOffline'](){this['_online']=!0x1;}};It=Qn([he(0x2,_0xd901da(_0x3c61ae)),he(0x3,_0xd901da(Lt)),he(0x4,_0xd901da(ne)),he(0x5,_0x3b87df),he(0x6,_0x3f64f1),he(0x7,_0xd901da(_0x2d1308))],It);var ir=Object[_0xade8c(0x36b)],nr=Object['getOwnPropertyDescriptor'],rr=(_0xbfc68e,_0x206e04,_0x3d0741,_0x54e0b0)=>{for(var _0x1a21f9=_0x54e0b0>0x1?void 0x0:_0x54e0b0?nr(_0x206e04,_0x3d0741):_0x206e04,_0x5bae2f=_0xbfc68e['length']-0x1,_0x1648cb;_0x5bae2f>=0x0;_0x5bae2f--)(_0x1648cb=_0xbfc68e[_0x5bae2f])&&(_0x1a21f9=(_0x54e0b0?_0x1648cb(_0x206e04,_0x3d0741,_0x1a21f9):_0x1648cb(_0x1a21f9))||_0x1a21f9);return _0x54e0b0&&_0x1a21f9&&ir(_0x206e04,_0x3d0741,_0x1a21f9),_0x1a21f9;},te=(_0x199577,_0x4f4ab1)=>(_0x4071eb,_0x597822)=>_0x4f4ab1(_0x4071eb,_0x597822,_0x199577);const or=0x12c,ar=0x64;let Et=class extends _0x3fb7e3{constructor(_0x4040,_0x5c2b84,_0x4235ff,_0x203170,_0x2f0b50,_0x34527b,_0x380c63,_0x43984b,_0xcace45){const _0xc961d5=_0xade8c;super(),l(this,_0xc961d5(0x93),!0x1),l(this,_0xc961d5(0x312),!0x1),l(this,_0xc961d5(0x280),new _0x1a37bf(new Map())),l(this,_0xc961d5(0x3a0),this[_0xc961d5(0x280)]['asObservable']()),l(this,_0xc961d5(0x225),new _0x1a37bf([])),l(this,_0xc961d5(0x35c),this[_0xc961d5(0x225)][_0xc961d5(0x2fe)](_0x2ec9db(or))),l(this,'_updateLocalCursor',_0x1ebe66(_0x5e3d4b=>{const _0x5cc3c7=_0xc961d5,_0x16d805={'eventID':_0x1b9133[_0x5cc3c7(0x390)],'data':{'unitID':this['unitID'],'memberID':this[_0x5cc3c7(0x8f)][_0x5cc3c7(0xdc)](),'selection':Ns(_0x5e3d4b)}};this['_session'][_0x5cc3c7(0x18a)](_0x16d805,this[_0x5cc3c7(0x14d)]);},ar)),(this[_0xc961d5(0x14d)]=_0x4040,this[_0xc961d5(0x8f)]=_0x5c2b84,this[_0xc961d5(0xcc)]=_0x4235ff,this[_0xc961d5(0x258)]=_0x203170,this[_0xc961d5(0x311)]=_0x2f0b50,this[_0xc961d5(0x1e2)]=_0x34527b,this[_0xc961d5(0x8e)]=_0x380c63,this[_0xc961d5(0x1c2)]=_0x43984b,this[_0xc961d5(0x1ba)]=_0xcace45);}get[_0xade8c(0x294)](){const _0x4a0b55=_0xade8c;return this[_0x4a0b55(0x280)][_0x4a0b55(0x17d)]();}get[_0xade8c(0xe2)](){const _0x3ad072=_0xade8c;return this[_0x3ad072(0x225)]['getValue']();}[_0xade8c(0x199)](){const _0x33a77d=_0xade8c;super[_0x33a77d(0x199)](),this['_cursorInfo$'][_0x33a77d(0xab)](new Map()),this[_0x33a77d(0x280)]['complete'](),this[_0x33a77d(0x225)][_0x33a77d(0xab)]([]),this['_roomMembers$'][_0x33a77d(0x239)]();}['init'](){const _0x239c90=_0xade8c;this[_0x239c90(0x312)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x239c90(0x2fe)](_0x2473df(this['dispose$']))[_0x239c90(0xbf)](_0x35ad3f=>{const _0x1cd188=_0x239c90;_0x35ad3f===de[_0x1cd188(0x241)]?this[_0x1cd188(0x318)]():this['_toggleOffline']();}),this[_0x239c90(0x8f)][_0x239c90(0x2ea)][_0x239c90(0x2fe)](_0x2473df(this[_0x239c90(0x13d)]))[_0x239c90(0xbf)](_0xf2db09=>{const _0x55644b=_0x239c90,_0x4108fa=_0xf2db09['eventID'];_0x4108fa===_0x1b9133[_0x55644b(0x390)]&&this[_0x55644b(0x32d)](_0xf2db09),_0x4108fa===_0x1b9133[_0x55644b(0x8b)]&&this[_0x55644b(0x1aa)](_0xf2db09);}),this[_0x239c90(0x1f1)](this[_0x239c90(0x1ba)]['onCommandExecuted'](_0x3cd557=>{const _0x191651=_0x239c90,_0x26e6e4=_0x3cd557[_0x191651(0x27a)];_0x26e6e4!=null&&this[_0x191651(0x93)]&&_0x3cd557['id']===_0x55ed86['id']&&_0x26e6e4['unitId']===this[_0x191651(0x14d)]&&_0x26e6e4[_0x191651(0xe3)]===!0x1&&this[_0x191651(0x1c5)](_0x26e6e4['ranges']);})),this[_0x239c90(0x1e2)][_0x239c90(0x144)][_0x239c90(0x2fe)](_0x2473df(this[_0x239c90(0x13d)]))[_0x239c90(0xbf)](_0x564cd4=>{const _0x979ef0=_0x239c90;if((_0x564cd4==null?void 0x0:_0x564cd4[_0x979ef0(0x14d)])!==this[_0x979ef0(0x14d)])return;const _0x4f4f53={'eventID':_0x1b9133[_0x979ef0(0x390)],'data':_0x564cd4};this[_0x979ef0(0x32d)](_0x4f4f53);}),this[_0x239c90(0x1f1)](this['_commandService']['onCommandExecuted'](_0x33b8d9=>{const _0x4f8843=_0x239c90;if(_0x33b8d9[_0x4f8843(0x27a)]==null)return;const _0x475d26=_0x33b8d9[_0x4f8843(0x27a)];if(_0x33b8d9['id']!==_0x372b8c['id']||_0x475d26['unitId']!==this[_0x4f8843(0x14d)])return;const _0x50d2a6={'id':'doc.mutation.rich-text-editing','params':_0x475d26},_0x537402=this[_0x4f8843(0x294)];for(const [_0x32d64b,_0xde275]of _0x537402){const _0x279a83={'id':_0x4f8843(0x39b),'params':{'unitId':this[_0x4f8843(0x14d)],'actions':null,'textRanges':_0xde275[_0x4f8843(0x2a4)]}},_0x218cc1=this[_0x4f8843(0x8e)][_0x4f8843(0xaa)](_0x50d2a6,_0x279a83,!0x1);if(_0x1054d7(_0x218cc1))throw _0x218cc1[_0x4f8843(0x2cf)];_0x537402[_0x4f8843(0xbd)](_0x32d64b,{..._0xde275,'ranges':_0x218cc1[_0x4f8843(0x244)]['params'][_0x4f8843(0x22f)]});}queueMicrotask(()=>{const _0x5949fc=_0x4f8843;this[_0x5949fc(0x280)][_0x5949fc(0xab)](_0x537402);});})));}[_0xade8c(0x32d)](_0x5cbd59){const _0x3f0989=_0xade8c;var _0xfe5789,_0x3f4bfa;const {memberID:_0x264c98,selection:_0x511b95}=_0x5cbd59[_0x3f0989(0x19b)],_0x582ba4=xn(_0x511b95),_0x945ad7=(_0x3f4bfa=(_0xfe5789=this['_memberService'][_0x3f0989(0xa5)](this[_0x3f0989(0x14d)],_0x264c98))==null?void 0x0:_0xfe5789['name'])!=null?_0x3f4bfa:_0x3f0989(0x381),_0x9824d3={'color':this[_0x3f0989(0x258)][_0x3f0989(0x356)](_0x264c98),'name':_0x945ad7,'ranges':_0x582ba4},_0x27a25c=this[_0x3f0989(0x294)];_0x27a25c[_0x3f0989(0xbd)](_0x264c98,_0x9824d3),this[_0x3f0989(0x280)][_0x3f0989(0xab)](_0x27a25c);}['_onCursorDelete'](_0x5ca11b){const _0x9df0a9=_0xade8c,{memberID:_0x2b3cee}=_0x5ca11b['data'],_0x1fb4ef=this[_0x9df0a9(0x294)];_0x1fb4ef[_0x9df0a9(0x39d)](_0x2b3cee),this[_0x9df0a9(0x280)][_0x9df0a9(0xab)](_0x1fb4ef);}[_0xade8c(0x318)](){const _0x5f024f=_0xade8c;var _0x1e27f2;if(this[_0x5f024f(0x93)]=!0x0,((_0x1e27f2=this['_univerInstanceService'][_0x5f024f(0x16f)]())==null?void 0x0:_0x1e27f2[_0x5f024f(0x350)]())!==this[_0x5f024f(0x14d)])return;const _0x371742=this['_injector'][_0x5f024f(0x275)](_0x33f09e)[_0x5f024f(0x200)](),_0x49e943=_0x371742==null?void 0x0:_0x371742['map'](_0x5b7fb3);Array[_0x5f024f(0xc9)](_0x49e943)&&_0x49e943[_0x5f024f(0x331)]>0x0&&this[_0x5f024f(0x1c5)](_0x49e943);}[_0xade8c(0x209)](){const _0x1da93a=_0xade8c;this[_0x1da93a(0x93)]=!0x1;}};Et=rr([te(0x2,_0xd901da(_0x3c61ae)),te(0x3,_0xd901da(Lt)),te(0x4,_0xd901da(ne)),te(0x5,_0xd901da(Ut)),te(0x6,_0x581964),te(0x7,_0x3b87df),te(0x8,_0x3f64f1)],Et);var cr=Object[_0xade8c(0x36b)],hr=Object['getOwnPropertyDescriptor'],lr=(_0x4deff2,_0x311709,_0x3c9c92,_0x2a7abe)=>{const _0x53c650=_0xade8c;for(var _0x1403d1=_0x2a7abe>0x1?void 0x0:_0x2a7abe?hr(_0x311709,_0x3c9c92):_0x311709,_0x550948=_0x4deff2[_0x53c650(0x331)]-0x1,_0x5ec28f;_0x550948>=0x0;_0x550948--)(_0x5ec28f=_0x4deff2[_0x550948])&&(_0x1403d1=(_0x2a7abe?_0x5ec28f(_0x311709,_0x3c9c92,_0x1403d1):_0x5ec28f(_0x1403d1))||_0x1403d1);return _0x2a7abe&&_0x1403d1&&cr(_0x311709,_0x3c9c92,_0x1403d1),_0x1403d1;},ct=(_0x17baae,_0x5c201a)=>(_0x6e4d8b,_0x506bc5)=>_0x5c201a(_0x6e4d8b,_0x506bc5,_0x17baae);let fe=class extends _0x3fb7e3{constructor(_0x54ace0,_0x325f95,_0x5e79d4){const _0x543626=_0xade8c;super(),l(this,'_entities',new Map()),l(this,_0x543626(0x320),new _0x3718e0()),(this[_0x543626(0x1c2)]=_0x54ace0,this['_injector']=_0x325f95,this[_0x543626(0x2fd)]=_0x5e79d4,this[_0x543626(0x312)]());}['dispose'](){const _0x5dd0cb=_0xade8c;super[_0x5dd0cb(0x199)](),this['_entityInit$'][_0x5dd0cb(0x239)](),this[_0x5dd0cb(0x306)][_0x5dd0cb(0x2f2)](_0x51b32f=>_0x51b32f[_0x5dd0cb(0x199)]());}[_0xade8c(0x1f8)](_0x269a75){const _0x15c7de=_0xade8c;return this['_entities'][_0x15c7de(0x1e7)](_0x269a75)?this[_0x15c7de(0x306)][_0x15c7de(0x275)](_0x269a75)[_0x15c7de(0x3a0)]:this[_0x15c7de(0x320)][_0x15c7de(0x2fe)](_0x2a5048(_0x3e16d8=>_0x3e16d8[_0x15c7de(0x14d)]===_0x269a75),_0x2075a8(_0x37eee6=>_0x37eee6[_0x15c7de(0x3a0)]));}['_init'](){const _0x281a13=_0xade8c;this['_univerInstanceService'][_0x281a13(0x252)](_0x9cd059[_0x281a13(0x3a3)])[_0x281a13(0x2fe)](_0x2473df(this[_0x281a13(0x13d)]))[_0x281a13(0xbf)](async _0x28e18a=>{const _0x2e4285=_0x281a13,_0x1f8da6=_0x28e18a[_0x2e4285(0x350)](),_0x482291=await this[_0x2e4285(0x99)](_0x1f8da6);this[_0x2e4285(0x320)][_0x2e4285(0xab)](_0x482291),this['_entities']['set'](_0x1f8da6,_0x482291);}),this[_0x281a13(0x1c2)][_0x281a13(0x252)](_0x9cd059[_0x281a13(0x1c7)])[_0x281a13(0x2fe)](_0x2473df(this[_0x281a13(0x13d)]))[_0x281a13(0x2fe)](_0x2a5048(_0x3ff9c4=>!_0x3ff9c4['getUnitId']()[_0x281a13(0xfc)]('__')))[_0x281a13(0xbf)](async _0x48efa9=>{const _0x1d5dc9=_0x281a13,_0x21b5aa=_0x48efa9[_0x1d5dc9(0x350)](),_0x579848=await this[_0x1d5dc9(0x290)](_0x21b5aa);this['_entityInit$'][_0x1d5dc9(0xab)](_0x579848),this[_0x1d5dc9(0x306)][_0x1d5dc9(0xbd)](_0x21b5aa,_0x579848);}),_0x52fd0c(this[_0x281a13(0x1c2)][_0x281a13(0x1a4)](_0x9cd059[_0x281a13(0x1c7)]),this['_univerInstanceService'][_0x281a13(0x1a4)](_0x9cd059[_0x281a13(0x3a3)]))[_0x281a13(0x2fe)](_0x2473df(this[_0x281a13(0x13d)]))[_0x281a13(0xbf)](_0x12f577=>{const _0x562514=_0x281a13,_0x12df5a=_0x12f577[_0x562514(0x350)](),_0x1d9472=this[_0x562514(0x306)][_0x562514(0x275)](_0x12df5a);_0x1d9472&&(_0x1d9472[_0x562514(0x199)](),this['_entities'][_0x562514(0x39d)](_0x12df5a));});}async['_startSheetCollabCursor'](_0x10fcf5){const _0x27e700=_0xade8c,_0x5c6cd6=await this[_0x27e700(0x2fd)][_0x27e700(0x12b)](_0x10fcf5),_0x546ca4=this[_0x27e700(0xcc)][_0x27e700(0x371)](It,_0x10fcf5,_0x5c6cd6);return _0x546ca4['init'](),_0x546ca4;}async[_0xade8c(0x290)](_0xc04a07){const _0x4cbb40=_0xade8c,_0x439870=await this['_collabSessionService'][_0x4cbb40(0x12b)](_0xc04a07),_0x3a2b28=this[_0x4cbb40(0xcc)][_0x4cbb40(0x371)](Et,_0xc04a07,_0x439870);return _0x3a2b28['init'](),_0x3a2b28;}};fe=lr([_0x22ab7a(_0x35f1ee[_0xade8c(0xd2)],fe),ct(0x0,_0x3b87df),ct(0x1,_0xd901da(_0x3c61ae)),ct(0x2,_0xd901da(ge))],fe);const Me=0x14,ts=0xc8,ht=0x4,_r=0x5;function ur(_0x2633ae,_0x3e95d8){const _0x4afb53=_0xade8c;let {radius:_0x2e57a0,width:_0x1408e4,height:_0x3eef43}=_0x3e95d8;_0x2e57a0=_0x2e57a0!=null?_0x2e57a0:0x0,_0x1408e4=_0x1408e4!=null?_0x1408e4:0x1e,_0x3eef43=_0x3eef43!=null?_0x3eef43:0x1e;let _0x846488=0x0,_0x3f3135=0x0,_0x270cf0=0x0;_0x846488=_0x3f3135=_0x270cf0=Math[_0x4afb53(0x194)](_0x2e57a0,_0x1408e4/0x2,_0x3eef43/0x2),_0x2633ae['beginPath'](),_0x2633ae[_0x4afb53(0x37c)](_0x846488,0x0),_0x2633ae[_0x4afb53(0x18b)](_0x1408e4-_0x3f3135,0x0),_0x2633ae[_0x4afb53(0x165)](_0x1408e4-_0x3f3135,_0x3f3135,_0x3f3135,Math['PI']*0x3/0x2,0x0,!0x1),_0x2633ae[_0x4afb53(0x18b)](_0x1408e4,_0x3eef43-_0x270cf0),_0x2633ae[_0x4afb53(0x165)](_0x1408e4-_0x270cf0,_0x3eef43-_0x270cf0,_0x270cf0,0x0,Math['PI']/0x2,!0x1),_0x2633ae[_0x4afb53(0x18b)](0x0,_0x3eef43),_0x2633ae[_0x4afb53(0x18b)](0x0,_0x846488),_0x2633ae['arc'](_0x846488,_0x846488,_0x846488,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2633ae[_0x4afb53(0x29f)](),_0x3e95d8['fill']&&(_0x2633ae[_0x4afb53(0x325)](),_0x2633ae[_0x4afb53(0x1db)]=_0x3e95d8[_0x4afb53(0x204)],_0x3e95d8[_0x4afb53(0x1f0)]==='evenodd'?_0x2633ae[_0x4afb53(0x204)](_0x4afb53(0x112)):_0x2633ae['fill'](),_0x2633ae[_0x4afb53(0x191)]());}class st extends _0xd0c38{constructor(_0x2d2f70,_0x1fdc62){const _0x3eb6dc=_0xade8c;super(_0x2d2f70,_0x1fdc62),l(this,_0x3eb6dc(0xe6)),l(this,_0x3eb6dc(0x29c)),(this[_0x3eb6dc(0xe6)]=_0x1fdc62==null?void 0x0:_0x1fdc62[_0x3eb6dc(0xe6)],this[_0x3eb6dc(0x29c)]=_0x1fdc62==null?void 0x0:_0x1fdc62[_0x3eb6dc(0x29c)]);}static[_0xade8c(0x301)](_0x3fbd97,_0x37c93c){const _0x474765=_0xade8c,{text:_0x2dd524,color:_0x1b1c3d}=_0x37c93c;_0x3fbd97['save'](),_0x3fbd97['font']=_0x474765(0xc6);const _0xaf86c7=_0x3fbd97[_0x474765(0x1fc)](_0x2dd524)['width'],_0x557724=Math[_0x474765(0x194)](_0xaf86c7+0x2*ht,ts);ur(_0x3fbd97,{'height':Me,'radius':0x4,'width':_0x557724,'fill':_0x1b1c3d,'evented':!0x1}),_0x3fbd97[_0x474765(0x1db)]=_0x474765(0x264);const _0x3e722a=ht,_0x59dd9e=Me-_r,_0x5dfb0e=ts-0x2*ht;if(_0xaf86c7>_0x5dfb0e){let _0x2d060b='',_0x384039=0x0;for(const _0x438d57 of _0x2dd524){const _0x337d61=_0x3fbd97[_0x474765(0x1fc)](_0x438d57)['width'];if(_0x384039+_0x337d61<=_0x5dfb0e-_0x3fbd97[_0x474765(0x1fc)]('...')[_0x474765(0x9e)])_0x2d060b+=_0x438d57,_0x384039+=_0x337d61;else{_0x2d060b+=_0x474765(0x317);break;}}_0x3fbd97[_0x474765(0x1c3)](_0x2d060b,_0x3e722a,_0x59dd9e);}else _0x3fbd97['fillText'](_0x2dd524,_0x3e722a,_0x59dd9e);_0x3fbd97[_0x474765(0x191)]();}[_0xade8c(0x176)](_0x1000bd){st['drawWith'](_0x1000bd,this);}}const dr=0x1,fr=1.5;class mr extends _0xd0c38{constructor(_0x263a52,_0x28a6fd){const _0x4c4113=_0xade8c;super(_0x263a52,_0x28a6fd),l(this,_0x4c4113(0x16c)),l(this,_0x4c4113(0x304),!0x1),l(this,_0x4c4113(0x27e)),l(this,_0x4c4113(0xa9),''),l(this,_0x4c4113(0x307),'top'),(_0x28a6fd&&this[_0x4c4113(0x22c)](_0x28a6fd),this[_0x4c4113(0x1d1)][_0x4c4113(0x17c)](()=>this[_0x4c4113(0x22c)]({'hovered':!0x0})),this[_0x4c4113(0xba)][_0x4c4113(0x17c)](()=>this[_0x4c4113(0x22c)]({'hovered':!0x1})));}[_0xade8c(0x22c)](_0x5c9917){const _0xc0bf95=_0xade8c;var _0x131cc5,_0x5d28fb,_0x4c699a,_0x1bd3e8,_0x24373a;this['_color']=(_0x131cc5=_0x5c9917[_0xc0bf95(0xe6)])!=null?_0x131cc5:this['_color'],this['_hovered']=(_0x5d28fb=_0x5c9917[_0xc0bf95(0x1d5)])!=null?_0x5d28fb:this[_0xc0bf95(0x304)],this[_0xc0bf95(0x27e)]=(_0x4c699a=_0x5c9917['range'])!=null?_0x4c699a:this[_0xc0bf95(0x27e)],this[_0xc0bf95(0xa9)]=(_0x1bd3e8=_0x5c9917['name'])!=null?_0x1bd3e8:this['_name'],this[_0xc0bf95(0x307)]=(_0x24373a=_0x5c9917[_0xc0bf95(0x10e)])!=null?_0x24373a:this['_labelPosition'],this[_0xc0bf95(0x375)]({'width':_0x5c9917[_0xc0bf95(0x9e)],'height':_0x5c9917[_0xc0bf95(0x267)]});}[_0xade8c(0x2fc)](_0x2b85b7){const _0x2f3288=_0xade8c,{row:_0x77607a,column:_0x324ce2}=_0x2b85b7;if(_0x77607a>=this[_0x2f3288(0x27e)]['startRow']&&_0x77607a<=this[_0x2f3288(0x27e)][_0x2f3288(0x137)]&&_0x324ce2>=this['_range'][_0x2f3288(0x215)]&&_0x324ce2<=this[_0x2f3288(0x27e)][_0x2f3288(0x2cc)]){this[_0x2f3288(0x22c)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xade8c(0xeb)](_0x50366d){return!0x1;}[_0xade8c(0x176)](_0x284460){const _0x6aa118=_0xade8c;_0x2d5bd9['drawWith'](_0x284460,{'width':this[_0x6aa118(0x9e)],'height':this['height'],'strokeWidth':fr,'stroke':this[_0x6aa118(0x16c)],'evented':!0x1}),this['_hovered']&&(_0x284460[_0x6aa118(0x325)](),_0x284460[_0x6aa118(0x7f)](0x1,0x0,0x0,0x1,this[_0x6aa118(0x9e)],this['_labelPosition']===_0x6aa118(0x2ac)?0x0:-Me),st[_0x6aa118(0x301)](_0x284460,{'text':this[_0x6aa118(0xa9)],'color':this['_color']}),_0x284460[_0x6aa118(0x191)]());}}var gr=Object[_0xade8c(0x36b)],Sr=Object['getOwnPropertyDescriptor'],vr=(_0x46e265,_0x55ea1d,_0x4841d4,_0x202b6c)=>{const _0x9cccd9=_0xade8c;for(var _0x3c7db1=_0x202b6c>0x1?void 0x0:_0x202b6c?Sr(_0x55ea1d,_0x4841d4):_0x55ea1d,_0x33c6eb=_0x46e265[_0x9cccd9(0x331)]-0x1,_0x19d847;_0x33c6eb>=0x0;_0x33c6eb--)(_0x19d847=_0x46e265[_0x33c6eb])&&(_0x3c7db1=(_0x202b6c?_0x19d847(_0x55ea1d,_0x4841d4,_0x3c7db1):_0x19d847(_0x3c7db1))||_0x3c7db1);return _0x202b6c&&_0x3c7db1&&gr(_0x55ea1d,_0x4841d4,_0x3c7db1),_0x3c7db1;},$e=(_0x1f8354,_0x4831af)=>(_0x181f70,_0x35a479)=>_0x4831af(_0x181f70,_0x35a479,_0x1f8354);const pr=0x1389;let Ve=class extends _0x3fb7e3{constructor(_0x30e584,_0x4bcaf4,_0x24102d,_0x51ddef){const _0xec9ac1=_0xade8c;super(),l(this,_0xec9ac1(0x249),new Set()),l(this,_0xec9ac1(0x123),null),(this['_collabCursorController']=_0x30e584,this[_0xec9ac1(0x1c2)]=_0x4bcaf4,this['_renderManagerService']=_0x24102d,this[_0xec9ac1(0x26c)]=_0x51ddef,this[_0xec9ac1(0x312)]());}get['_sheetSkeletonManagerService'](){const _0x15fae5=_0xade8c;return this[_0x15fae5(0x2ec)][_0x15fae5(0x21a)](this[_0x15fae5(0x1c2)][_0x15fae5(0x227)](_0x9cd059[_0x15fae5(0x3a3)])[_0x15fae5(0x350)]())[_0x15fae5(0xbb)](_0x3c67f3);}get['_unitId'](){const _0x55b068=_0xade8c;return this[_0x55b068(0x1c2)][_0x55b068(0x227)](_0x9cd059[_0x55b068(0x3a3)])['getUnitId']();}['_init'](){const _0x12467c=_0xade8c;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x68ef5b(this[_0x12467c(0x13d)]),_0x1b27ff(_0x334e4d=>{const _0x1b782c=_0x12467c;if(_0x334e4d){const _0x2bb714=_0x334e4d[_0x1b782c(0x83)];return _0x5930bd(this[_0x1b782c(0x2e8)][_0x1b782c(0x1f8)](this[_0x1b782c(0x38c)]),this[_0x1b782c(0x26c)][_0x1b782c(0x30d)])['pipe'](_0x176ea9(([_0x507ef2,_0x11de09])=>{const _0x566fb6=_0x1b782c,_0x298fed=new Map();return _0x507ef2[_0x566fb6(0x2f2)]((_0x491e63,_0x43a060)=>{const _0x2be796=_0x566fb6;if(_0x491e63[_0x2be796(0x303)]===_0x2bb714){const _0x142966={..._0x491e63};_0x142966[_0x2be796(0xe6)]=_0x11de09[_0x491e63['color']],_0x298fed['set'](_0x43a060,_0x142966);}}),{'skeleton':_0x334e4d,'cursors':_0x298fed};}));}return _0x3ff30b({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x28cf45,cursors:_0x1f0862})=>{this['_removeCollabCursors'](),_0x28cf45&&this['_updateCollabCursors'](_0x28cf45,_0x1f0862);}),this['_sheetSkeletonManagerService'][_0x12467c(0x2ed)]['subscribe'](_0x187c90=>{const _0x24738e=_0x12467c;if(_0x187c90==null)return;const {skeleton:_0x1b4d40}=_0x187c90,_0x1c8ade=this[_0x24738e(0x2ec)]['getRenderById'](this['_unitId']),{scene:_0xdc13b}=_0x1c8ade;_0xdc13b[_0x24738e(0x12a)][_0x24738e(0x17c)](_0x1ebe66(_0x266f26=>{const _0x2d013e=_0x24738e;var _0x48e72c,_0x358deb;const {offsetX:_0x43f815,offsetY:_0x4aaf4e}=_0x266f26,{x:_0x161433,y:_0x397bac}=_0xdc13b[_0x2d013e(0x2ab)](_0x4a4da3[_0x2d013e(0x87)]([_0x43f815,_0x4aaf4e])),{scaleX:_0x30e582,scaleY:_0x2c850b}=_0xdc13b['getAncestorScale'](),_0x12087e=_0xdc13b[_0x2d013e(0x223)](_0x1eba95[_0x2d013e(0x2c6)]),_0x526264=_0xdc13b[_0x2d013e(0x265)](_0x4a4da3[_0x2d013e(0x87)]([_0x161433,_0x397bac]),_0x12087e),_0x1f8987=_0x1b4d40[_0x2d013e(0x2c8)](_0x43f815,_0x4aaf4e,_0x30e582,_0x2c850b,_0x526264);((_0x48e72c=this[_0x2d013e(0x123)])==null?void 0x0:_0x48e72c[_0x2d013e(0x10b)])===_0x1f8987[_0x2d013e(0x10b)]&&((_0x358deb=this[_0x2d013e(0x123)])==null?void 0x0:_0x358deb[_0x2d013e(0x1b2)])===_0x1f8987[_0x2d013e(0x1b2)]||this[_0x2d013e(0x249)][_0x2d013e(0x2f2)](_0x1b853d=>{_0x1b853d['onMouseMove'](_0x1f8987);});},0x64));});}['_updateCollabCursors'](_0x257b6c,_0x206af6){const _0x42d798=_0xade8c;var _0x5f466c;const _0x272a2c=(_0x5f466c=this['_sheetSkeletonManagerService'][_0x42d798(0x143)]())==null?void 0x0:_0x5f466c[_0x42d798(0x348)];if(!_0x272a2c)return;const _0x1788d9=this['_getSheetObject']();if(!_0x1788d9)return;this['_cursors'][_0x42d798(0x2f2)](_0x478fe4=>{const _0x3daf66=_0x42d798;_0x478fe4[_0x3daf66(0x2e5)]();});const {scene:_0x4579da}=_0x1788d9,_0x3d1c79=Ir(Array[_0x42d798(0x310)](_0x206af6[_0x42d798(0x1ee)]()))[_0x42d798(0x39e)](_0x436a91=>{const _0x227e57=_0x42d798,{color:_0x427f4c,range:_0x1deb93,name:_0x1fd310,selection:_0x3680c9,sheetID:_0x5718eb}=_0x436a91,{startColumn:_0x459328,startRow:_0x110a99,endColumn:_0x165774,endRow:_0x2aa6d6}=_0x1deb93,_0x329089=_0x287034(_0x110a99,_0x459328,_0x4579da,_0x272a2c),_0x43de15=_0x287034(_0x2aa6d6,_0x165774,_0x4579da,_0x272a2c),{columnHeaderHeightAndMarginTop:_0x3a3f7d}=_0x272a2c,{startX:_0x2add5b,startY:_0xca8adc}=_0x329089,{endX:_0x552b2a,endY:_0x1a29d9}=_0x43de15,_0x150b33=_0x552b2a-_0x2add5b,_0x2bb160=_0x1a29d9-_0xca8adc,_0x5948a7={'labelPosition':_0xca8adc-_0x3a3f7d>=Me?_0x227e57(0x1f6):_0x227e57(0x2ac),'sheetID':_0x5718eb,'range':_0x1deb93,'color':_0x427f4c,'name':_0x1fd310,'selection':_0x3680c9,'left':_0x2add5b,'top':_0xca8adc,'width':_0x150b33,'height':_0x2bb160,'evented':!0x1,'zIndex':pr};return new mr(_0x1fd310,_0x5948a7);});_0x4579da[_0x42d798(0x152)](_0x3d1c79,dr),this['_cursors']=new Set(_0x3d1c79);}[_0xade8c(0x2db)](){const _0x236e5f=_0xade8c;var _0x45c97b;(_0x45c97b=this['_cursors'])==null||_0x45c97b[_0x236e5f(0x2f2)](_0x55dda1=>_0x55dda1[_0x236e5f(0x199)]());}[_0xade8c(0xa4)](){const _0x58a0eb=_0xade8c;return _0x2a0247(this['_univerInstanceService'],this[_0x58a0eb(0x2ec)]);}};Ve=vr([_0x22ab7a(_0x35f1ee[_0xade8c(0x1a6)],Ve),$e(0x0,_0xd901da(fe)),$e(0x1,_0x3b87df),$e(0x2,_0x1e26e7),$e(0x3,_0xd901da(_0x42d43e))],Ve);function Ir(_0x212e7e){const _0x2e1ccd=_0xade8c,_0x34aa93=new Map();return _0x212e7e[_0x2e1ccd(0x2f2)](_0x3512c1=>{const _0x197cea=_0x2e1ccd;if(_0x34aa93[_0x197cea(0x1e7)](_0x3512c1['selection'])){const _0xca84f=_0x34aa93['get'](_0x3512c1[_0x197cea(0x2b9)]);_0xca84f['name']+=',\x20'+_0x3512c1[_0x197cea(0x89)];}else _0x34aa93[_0x197cea(0xbd)](_0x3512c1[_0x197cea(0x2b9)],_0x3512c1);}),Array[_0x2e1ccd(0x310)](_0x34aa93[_0x2e1ccd(0x1ee)]());}var A=function(){const _0xcad473=_0xade8c;return A=Object[_0xcad473(0x120)]||function(_0x3bb14e){const _0x9778f4=_0xcad473;for(var _0xef3b00,_0x47048f=0x1,_0x55d4dc=arguments['length'];_0x47048f<_0x55d4dc;_0x47048f++){_0xef3b00=arguments[_0x47048f];for(var _0x4fd98b in _0xef3b00)Object['prototype']['hasOwnProperty'][_0x9778f4(0x33b)](_0xef3b00,_0x4fd98b)&&(_0x3bb14e[_0x4fd98b]=_0xef3b00[_0x4fd98b]);}return _0x3bb14e;},A[_0xcad473(0x277)](this,arguments);},Er=function(_0x1980b9,_0x380e28){const _0x361970=_0xade8c;var _0x3203e9={};for(var _0x3f7850 in _0x1980b9)Object[_0x361970(0x2bc)][_0x361970(0x220)][_0x361970(0x33b)](_0x1980b9,_0x3f7850)&&_0x380e28[_0x361970(0x332)](_0x3f7850)<0x0&&(_0x3203e9[_0x3f7850]=_0x1980b9[_0x3f7850]);if(_0x1980b9!=null&&typeof Object[_0x361970(0x35b)]==_0x361970(0x26e)){for(var _0x4912cd=0x0,_0x3f7850=Object['getOwnPropertySymbols'](_0x1980b9);_0x4912cd<_0x3f7850[_0x361970(0x331)];_0x4912cd++)_0x380e28[_0x361970(0x332)](_0x3f7850[_0x4912cd])<0x0&&Object[_0x361970(0x2bc)][_0x361970(0x202)][_0x361970(0x33b)](_0x1980b9,_0x3f7850[_0x4912cd])&&(_0x3203e9[_0x3f7850[_0x4912cd]]=_0x1980b9[_0x3f7850[_0x4912cd]]);}return _0x3203e9;},$t=_0x27c31b(function(_0x3bd03d,_0x5762c3){const _0x858daf=_0xade8c;var _0x219f55=_0x3bd03d[_0x858daf(0x1d7)],_0x22647e=_0x3bd03d['id'],_0xc8177d=_0x3bd03d[_0x858daf(0x1b4)],_0x1f3f61=_0x3bd03d[_0x858daf(0x15c)],_0x4eb13d=Er(_0x3bd03d,[_0x858daf(0x1d7),'id',_0x858daf(0x1b4),_0x858daf(0x15c)]),_0x2c92ac='univerjs-icon\x20univerjs-icon-'[_0x858daf(0x131)](_0x22647e,'\x20')[_0x858daf(0x131)](_0xc8177d||'')[_0x858daf(0xac)](),_0xe6cb10=_0x5ddd21('_'['concat'](Tr()));return As(_0x219f55,''[_0x858daf(0x131)](_0x22647e),{'defIds':_0x219f55[_0x858daf(0x33e)],'idSuffix':_0xe6cb10['current']},A({'ref':_0x5762c3,'className':_0x2c92ac},_0x4eb13d),_0x1f3f61);});function As(_0x2177b7,_0xd515cc,_0x115529,_0x2d6381,_0x59ff77){const _0xa32a79=_0xade8c;return _0x5a9803(_0x2177b7[_0xa32a79(0xcf)],A(A({'key':_0xd515cc},Cr(_0x2177b7,_0x115529,_0x59ff77)),_0x2d6381),(br(_0x2177b7,_0x115529)[_0xa32a79(0x117)]||[])[_0xa32a79(0x39e)](function(_0x4cfb57,_0x225afb){const _0x51d783=_0xa32a79;return As(_0x4cfb57,''[_0x51d783(0x131)](_0xd515cc,'-')['concat'](_0x2177b7[_0x51d783(0xcf)],'-')[_0x51d783(0x131)](_0x225afb),_0x115529,void 0x0,_0x59ff77);}));}function Cr(_0x377258,_0x3120f2,_0x4d5b04){const _0x589845=_0xade8c;var _0x561803=A({},_0x377258[_0x589845(0xfe)]);_0x4d5b04!=null&&_0x4d5b04['colorChannel1']&&_0x561803[_0x589845(0x204)]===_0x589845(0xd3)&&(_0x561803[_0x589845(0x204)]=_0x4d5b04['colorChannel1']);var _0x45b7ae=_0x3120f2[_0x589845(0x33e)];return!_0x45b7ae||_0x45b7ae[_0x589845(0x331)]===0x0||(_0x377258[_0x589845(0xcf)]===_0x589845(0x314)&&_0x561803[_0x589845(0x2f7)]&&(_0x561803['xlink:href']=_0x561803[_0x589845(0x2f7)]+_0x3120f2[_0x589845(0x10a)]),Object[_0x589845(0x85)](_0x561803)[_0x589845(0x2f2)](function(_0x25f15a){const _0x5fa0c2=_0x589845;var _0x6ff8dc=_0x25f15a[0x0],_0x3ce2c5=_0x25f15a[0x1];typeof _0x3ce2c5==_0x5fa0c2(0x36f)&&(_0x561803[_0x6ff8dc]=_0x3ce2c5[_0x5fa0c2(0x14e)](/url\(#(.*)\)/,_0x5fa0c2(0x3b2)[_0x5fa0c2(0x131)](_0x3120f2['idSuffix'],')')));})),_0x561803;}function br(_0x5af1e8,_0x518251){const _0x3e7884=_0xade8c;var _0x17c860,_0x21247a=_0x518251[_0x3e7884(0x33e)];return!_0x21247a||_0x21247a[_0x3e7884(0x331)]===0x0?_0x5af1e8:_0x5af1e8['tag']==='defs'&&(!((_0x17c860=_0x5af1e8[_0x3e7884(0x117)])===null||_0x17c860===void 0x0)&&_0x17c860['length'])?A(A({},_0x5af1e8),{'children':_0x5af1e8['children'][_0x3e7884(0x39e)](function(_0x5defa7){const _0x575f71=_0x3e7884;return typeof _0x5defa7[_0x575f71(0xfe)]['id']==_0x575f71(0x36f)&&_0x21247a&&_0x21247a['indexOf'](_0x5defa7[_0x575f71(0xfe)]['id'])>-0x1?A(A({},_0x5defa7),{'attrs':A(A({},_0x5defa7[_0x575f71(0xfe)]),{'id':_0x5defa7[_0x575f71(0xfe)]['id']+_0x518251['idSuffix']})}):_0x5defa7;})}):_0x5af1e8;}function Tr(){const _0x4875b4=_0xade8c;return Math[_0x4875b4(0x107)]()[_0x4875b4(0x346)](0x24)[_0x4875b4(0x18e)](0x2,0x8);}$t['displayName']=_0xade8c(0x29d);var Rr={'tag':_0xade8c(0x16a),'attrs':{'fill':_0xade8c(0x1b7),'viewBox':_0xade8c(0x21c),'width':_0xade8c(0x1fe),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xade8c(0x1bd)},'children':[{'tag':_0xade8c(0x2dc),'attrs':{'stroke':_0xade8c(0xc3),'d':_0xade8c(0xb1),'strokeLinecap':_0xade8c(0x37d),'strokeLinejoin':_0xade8c(0x37d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xade8c(0x336),'attrs':{'id':_0xade8c(0x379)},'children':[{'tag':'path','attrs':{'fill':_0xade8c(0x374),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},ys=_0x27c31b(function(_0x568384,_0xec6212){return _0x5a9803($t,Object['assign']({},_0x568384,{'id':'off-line-single','ref':_0xec6212,'icon':Rr}));});ys[_0xade8c(0x88)]=_0xade8c(0x15f);var Or={'tag':'svg','attrs':{'fill':_0xade8c(0x1b7),'viewBox':_0xade8c(0x35f),'width':_0xade8c(0x1fe),'height':_0xade8c(0x1fe)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0xade8c(0x2dc),'attrs':{'stroke':_0xade8c(0xc3),'d':_0xade8c(0x95),'strokeLinecap':_0xade8c(0x37d),'strokeLinejoin':_0xade8c(0x37d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xade8c(0x336),'attrs':{'id':_0xade8c(0x19d)},'children':[{'tag':_0xade8c(0x2dc),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0xade8c(0x19d)]},Us=_0x27c31b(function(_0x5a118a,_0x996fd5){const _0xf1fdc2=_0xade8c;return _0x5a9803($t,Object['assign']({},_0x5a118a,{'id':_0xf1fdc2(0x359),'ref':_0x996fd5,'icon':Or}));});Us[_0xade8c(0x88)]=_0xade8c(0x261);const Dr=_0xade8c(0x27c),Pr='univer-online-status-title',wr='univer-online-status',Nr='univer-online',Mr=_0xade8c(0x1d6),be={'onlineStatusIcon':Dr,'onlineStatusTitle':Pr,'onlineStatus':wr,'online':Nr,'offline':Mr};function Ar(_0x10d2a1){const _0x366a91=_0xade8c;switch(_0x10d2a1){case w['OFFLINE']:return _0x366a91(0x172);case w[_0x366a91(0x395)]:return _0x366a91(0x298);case w[_0x366a91(0x31d)]:return'collabStatus.fetchMiss';case w[_0x366a91(0x7c)]:return _0x366a91(0x1e1);case w[_0x366a91(0x116)]:case w[_0x366a91(0x324)]:case w[_0x366a91(0x22e)]:return _0x366a91(0x2af);case w[_0x366a91(0xd0)]:return'collabStatus.synced';}}function yr(_0x21a744){const _0x4e6a97=_0xade8c,{status$:_0x136ece}=_0x21a744,_0x55d0b9=_0x190b58(_0x136ece,w[_0x4e6a97(0x7c)]),_0xe1e853=_0x2a3075(_0x3fbf2b),_0x37b6ec=_0x55d0b9!==w['OFFLINE'],_0x5dcbfc=_0xe1e853['t'](Ar(_0x55d0b9)),_0x21cb98=_0xf44121(be[_0x4e6a97(0x12c)],{[be[_0x4e6a97(0xda)]]:_0x37b6ec,[be[_0x4e6a97(0xcd)]]:!_0x37b6ec}),_0x11a243=_0x37b6ec?_0xeb971e[_0x4e6a97(0x98)](Us,null):_0xeb971e['createElement'](ys,null);return _0xeb971e[_0x4e6a97(0x98)](_0x4e6a97(0x24f),{'className':_0x21cb98},_0xeb971e[_0x4e6a97(0x98)]('div',{'className':be[_0x4e6a97(0x156)]},_0x11a243),_0xeb971e['createElement'](_0x4e6a97(0x24f),{'className':be[_0x4e6a97(0x22a)]},_0x5dcbfc));}var Ur=Object[_0xade8c(0x36b)],Lr=Object[_0xade8c(0x22b)],$r=(_0x50fdbc,_0x1b14f9,_0x14d0d3,_0x2eacdb)=>{const _0x247a13=_0xade8c;for(var _0x1502c7=_0x2eacdb>0x1?void 0x0:_0x2eacdb?Lr(_0x1b14f9,_0x14d0d3):_0x1b14f9,_0x375eda=_0x50fdbc[_0x247a13(0x331)]-0x1,_0x1e029f;_0x375eda>=0x0;_0x375eda--)(_0x1e029f=_0x50fdbc[_0x375eda])&&(_0x1502c7=(_0x2eacdb?_0x1e029f(_0x1b14f9,_0x14d0d3,_0x1502c7):_0x1e029f(_0x1502c7))||_0x1502c7);return _0x2eacdb&&_0x1502c7&&Ur(_0x1b14f9,_0x14d0d3,_0x1502c7),_0x1502c7;},je=(_0xb81627,_0x12b069)=>(_0x5367cb,_0x51542)=>_0x12b069(_0x5367cb,_0x51542,_0xb81627);let Be=class extends _0x5297f3{constructor(_0x24acbc,_0x490bd4,_0x34b888,_0x3285be){const _0xfff5d0=_0xade8c;super(),l(this,_0xfff5d0(0x257),new _0x1a37bf(w[_0xfff5d0(0x7c)])),(this[_0xfff5d0(0x1c2)]=_0x24acbc,this[_0xfff5d0(0x14b)]=_0x490bd4,this[_0xfff5d0(0xcc)]=_0x34b888,this[_0xfff5d0(0x1ca)]=_0x3285be,this[_0xfff5d0(0x1ae)](),this['_initStatusListener']());}[_0xade8c(0x1ae)](){const _0x17fa25=_0xade8c;this['disposeWithMe'](this[_0x17fa25(0x14b)][_0x17fa25(0x2e4)](_0x3b73a8['HEADER_MENU'],()=>_0x5760b9(jr({'status$':this[_0x17fa25(0x257)]['asObservable']()}),this[_0x17fa25(0xcc)])));}[_0xade8c(0x263)](){const _0x1ec2d8=_0xade8c;this['disposeWithMe'](_0x45cb21(this['_univerInstanceService'][_0x1ec2d8(0x2a2)]['pipe'](_0x2075a8(()=>{const _0x1366a4=_0x1ec2d8,_0x389427=this[_0x1366a4(0x1c2)][_0x1366a4(0x16f)]();return _0x389427?this[_0x1366a4(0x1ca)][_0x1366a4(0x36a)](_0x389427[_0x1366a4(0x350)]()):_0x3ff30b(null);}),_0x2075a8(_0x162c49=>_0x162c49?_0x162c49[_0x1ec2d8(0x1ed)]:_0x3ff30b(w[_0x1ec2d8(0x7c)])))[_0x1ec2d8(0xbf)](_0x5c2942=>{const _0x16fb09=_0x1ec2d8;this[_0x16fb09(0x257)][_0x16fb09(0xab)](_0x5c2942);})));}};Be=$r([_0x22ab7a(_0x35f1ee[_0xade8c(0xd2)],Be),je(0x0,_0x3b87df),je(0x1,_0x6b2e9f),je(0x2,_0xd901da(_0x3c61ae)),je(0x3,_0xd901da(De))],Be);function jr(_0x429f32){const {status$:_0x5691d7}=_0x429f32;return function(){return _0xeb971e['createElement'](yr,{'status$':_0x5691d7});};}function _0x2636(){const _0x11eca8=['setTimeout','_getSnapshotAPIPrefix','_clearHeartbeatTimer','getUndoRedoMutationParamsCache','override','complete','_snapshotService','resourceIDs','max','catch','whenReady','/universer-api/comb','_undoRedoService','ONLINE','_tryEnsureSocket','_saveTaskMap','m2Prime','30OKItbP','onload','_isPermissionRej','[CollaborationSessionService]','_cursors','_queuedRemoteChangesets','commentUpdateEvent','result','_collaborationPaused','popstate','div','LIVESHARE_NEW_HOST','/allowed','getTypeOfUnitAdded$','_configService','init','registerHTTPInterceptor','change$','_status$','_colorAssignService','LIVESHARE_FETCH_OPERATIONS','USERS_ENTER','PSEUDO_FETCH_MISSING_RESULT','auth.needGotoLoginAlert','univer-pro.collaboration-client-socket-service','onRemoteAck','cmd','_rescheduleHeartbeatEvent','OnLineSingle','OFFLINE','_initStatusListener','#FFF','getVpScrollXYInfoByPosToVp','append','height','_getCurrentRevision','setInterval','_socketReady','_disabled','_themeService','_retryConnectingTimer','function','_transformSelections','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','state','_beforeCloseService','sessionStatus','_onJoinRoomEvent','get','LICENSE_MAX_UNITS_EXCEEDED','apply','UNDEFINED','members','params','collaboration.single-unit.warning','univer-online-status-icon','CHANGESET_REVISION_CONFILICT','_range','toggleOnline','_cursorInfo$','flatMap','_redoStacks','loadDoc','setItem','close$','_collaborationTimeoutTimer','clear','collaboration-client.offline-data-not-saved','_handler','[CollaborationSessionService]:\x20socket\x20error','newValue','_clearScheduledTask','_clearUndo','unsubscribe','image/bmp','_startDocCollabCursor','replaceTextRanges','collaborationUniverTypes','_anchorDot','cursorInfo','_setupBeforeClosingHandler','_config','syncEditingCollabCursor','collabStatus.conflict','_exhaustRemoteChangesetQueue','pending','CHANGESET_ACK','text','UniverIcon','symbol','closePath','LIVESHARE_OPERATION','putCollaborators','focused$','getActiveRange','ranges','activeSheet$','_initUnitPermissionChange','socketService','liveShareOperation','filter','_assignedColors','getRelativeToViewportCoord','bottom','initWorkbookPermissionChange','_startCollaboration','collabStatus.syncing','stringify','_drawRange','getRoom','storage','_socket$','_lockTransition','appendMutation','_event$','onSyncEditingCollabCursor','selection','actions','YUUMI_UNABLE_LOAD_URL','prototype','responseType','incrementRevForDocument','[OfflineState]:\x20received\x20changeset.','_showConflictNotification','state$','body','range','COMPRESS_MUTATION_APPLY','routeKey','VIEW_MAIN','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getCellPositionByOffset','searchParams','requestParams','onRemoteChangeset','endColumn','image/jpg','sheets','error','{fileID}','2308376hXxWml','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','code','_onConflict','saveChangeset','univer-pro.collaboration-client.single-active-unit-service','_incrementRevisionNumber','TOO_MANY_REQUESTS','pauseCollaboration','_sendHeartbeat','_removeCollabCursors','path','then','_timeoutTimer','deleteCollaborator','_sendingTimer','NO_OTHER_CLIENTS_EDITING','&to=','socket\x20open.','registerComponent','makeDirty','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_hideTimer','_collabCursorController','_unlockTransition','event$','pluginName','_renderManagerService','currentSkeleton$','_initModules','BASE64','baseRev','_heartbeatTimer','forEach','_getLoginPath','transformSelections','clearInterval','gold400','xlink:href','confirm','saveOfflineData','_sessionStatus$','some','onMouseMove','_collabSessionService','pipe','purple300','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','drawWith','/unit/','sheetID','_hovered','submit\x20changeset\x20error!','_entities','_labelPosition','LEAVE','transformStack\x20failed!','_revisionService','_onRemoteACK','OTHER_CLIENTS_EDITING','currentTheme$','APPLY_PERMISSION_DENIED','_scheduleClearOtherTimer','from','_memberService','_init','[CollaborationController]:\x20remote\x20changeset\x20applied\x20error.','use','INGEST','localeService','...','_toggleOnline','_clearLocalCache','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','transformUndoRedo','[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.','FETCH_MISS','resolve','getCurrentUser','_entityInit$','_textBubble','\x20in\x20_schedule.','headers','AWAITING','save','_hover','LICENSE_EXPORT_SIZE_EXCEEDED','listCollaborators','asObservable','generateRandomId','[CollaborationUndoRedoService]','removeMember','_onCursorUpdate','/new_changes','unit-cache-','_schedule','length','indexOf','_initCloseConn','saveImage','_ws','clipPath','size','_handleHover','_handleLeaveEvent','_updateCollabCursors','call','ALREADY_EXISTS','5564622QTWKEi','defIds','originalMeta','executeCommand','_waitCount','all','getInterceptPoints','/fetchmissing?from=','SHOULD_CLOSE_CONN','toString','_onRecvEvent','skeleton','fetchMissingChangesets','_pendingMutations','_unitID','getDataModel','_cursor','encodeURIComponent','FETCH_MISSING','getUnitId','getUniverSheetInstance','_onLocalMutation','url','381ulUbWx','_snapshotServerService','assignAColorForMemberID','_onUserLeave','_fetchMissChangesets','on-line-single','SUBMIT_CHANGESET','getOwnPropertySymbols','roomMembers$','post','_drawAnchor','0\x200\x2017\x2016','_transformUndoredo','reverse','addObject','_collaborationSessionService','history','urlChange$','onTransformSelections','permissionRejEvent','_messageService','_getSendChangesetTimeout','getCollabEntity$','defineProperty','_createInitialStateImpl','leaveEvent','UNRECOGNIZED','string','RECV','createInstance','\x20-\x20','getViewModel','#fff','transformByState','registerRefRange','COLLAB_SUBMIT_CHANGESET_URL','target','off-line-single_clip0_910_343','_colorIndex','onMissedChangesetFetched','moveTo','round','_refRangeService','_logService','_getAPIPrefix','Unknown\x20user','_waitForHeartbeatResponse','deepClone','_saveCache','HEARTBEAT_TIMEOUT','_updateLocalCache','getActiveSheet','_commentService','INTERNAL_ERROR','closeSession','_onConnectionFailed','_unitId','objectType','enableSingleActiveInstanceLock','getParam','UPDATE_CURSOR','_submitChangeset','transformMutationsWithChangeset','collaMsg','LICENSE_DISTRO_REJECTED','CONFLICT','_createInitialState','FileId','Warning','UNIVER_COLLABORATION_CLIENT_PLUGIN','_socketMessageSubscription','doc.mutation.rich-text-editing','_getAPIPrefixPath','delete','map','HEARTBEAT_INTERVAL','cursorInfo$','_updateStatus','_docTransformSelectionsService','UNIVER_SHEET','_collabCursorState$','_onRefRangeChange','UNKNOWN_CMD','_joinRoom','registerOnClose','_checkMissing','_onCombEvent','enableLocalCache','IDLE','APPLY_NON_SEQUENTIAL_REVISION','fetch_missing','_decreaseWaiting','_updateState','collab-text-range-','url(#$1','removeParam','_getRedoStack','/universer-api/snapshot/','JOINING','shouldCloseConn','status','onStateChange','saveSnapshot','findNodePositionByCharIndex','_awaitingChangeset','MUTATION','enableOfflineEditing','batchAllowed','NOT_COLLAB','COMPRESS_MUTATION_SEND','getCurrentRevForDocument','transform','/-/object/-/batch_allowed','_document','Univer','sheetId','_transformPreviousActiveRange','entries','_shapes','FromArray','displayName','name','onCommandExecuted','USERS_LEAVE','getUnhiddenWorksheets','_commentUpdate$','_transformService','_session','SNAPSHOT_HAS_BEEN_REMOVED','getUnitType','black','_online','objects','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','onCommentUpdate','_singleActiveUnitService','createElement','_startSheetCollabCursor','setUndoRedoMutationParamsCache','infoRsp','_scene','_initMergeInterceptor','width','_getSaveTimeout','getCollabEntity','fetching\x20missing\x20changesets\x20from\x20','SEND_CHANGESET_TIMEOUT','_remoteChangesetQueue','_getSheetObject','getMember','_docSkeleton','_createHandler','JOIN','_name','transformMutation','next','trim','_state','_getUploadFileURL','onRemoteRej','joinRsp','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','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','selections','CONNECTOR_DATA_TOO_LARGE','LICENSE_IMPORT_SIZE_EXCEEDED','_compressMutationService','_onRemoteRejected','_docSyncEditingCollabCursorService','csRejEvent','onPointerLeave$','with','_substituteUndoStack','set','Error','subscribe','clearTimeout','json','unknown','currentColor','failed\x20to\x20apply\x20missed\x20changesets!','UNIVER_UNKNOWN','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_members','userID','isArray','_onUserJoin','awaiting','_injector','offline','_transformUndoRedoStack','tag','SYNCED','MoveRangeCommandId','Starting','colorChannel1','title','collab-text-anchor-','rev','updatePermissionPoint','[OfflineState]:\x20received\x20acknowledgement.','INVALID_ARGUMENT','online','patch','getMemberID','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LOCAL_CACHE_INTERVAL','COMMENT_UPDATE','joinEvent','SNAPSHOT_SERVER_URL_KEY','roomMembers','isEditing','changesets','ERROR_IMAGE_TYPE','color','InsertRowCommandId','liveShareNewHost','_anchor','/collaborator','triggerDblclick','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getSheetBlock','RemoveRowCommandId','NOT_FOUND','_setupSubUnitSync','_send','_roomMembers','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[SyncedState]:\x20received\x20acknowledgement.','mutations','APPLY_REJECT','_localCacheService','LIVESHARE_TERMINATE','COLLAB_WEB_SOCKET_URL','show','/resources','startsWith','APPLY_REVISION_CONFILICT','attrs','138914Aocjoc','_substituteRedoStack','registerBeforeClose','?size=','YUUMI_URL_COL_OUT_OF_RANGE','_docSkeletonManagerService','transformIMECache','getWorkbookSelections','random','/universer-api/stream/file/upload','_onFetchMissResult','idSuffix','column','_type','updateCursorEvent','labelPosition','_permissionService','[DataLoaderController]','unload','evenodd','editing\x20status\x20changed\x20to','listRoles','commentUpdate$','PENDING','children','getUnitOnRev','unit','_disableEditing','_http','session.connection-failed','toggleOffline','696070XeMBwY','SNAPSHOT_INVALID_SNAPSHOT','assign','_localStorageService','jiqing500','_lastPointer','_syncEditingCollabCursor','UUID','getTime','_clearTimeoutTimer','editingUnit','_replayCachedMutations','onPointerMove$','requireSession','onlineStatus','collaboration.closeRoom','_retryCount','red300','UPDATE_PERMISSION_OBJ','concat','InsertColCommandId','createSocket','getImage','replaceState','rgba(255,\x20255,\x20255,\x200.01)','endRow','subunit','_clearOtherTimers','connection\x20error','eventID','objectID','dispose$','getSheetBySheetId','_cachedData','FAIL','_state$','push','getCurrent','collabCursorState$','_loadSheet','href','_render','_localeService','socket\x20close','unshift','_uiPartsService','_socket','unitID','replace','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transitionLocked','isPermissionRej','addObjects','_executeRemoteChangeset','_updateSubUnitFromURLParams','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onlineStatusIcon','_docTransformIMECacheService','unitId','_scheduleCollaborationTimeoutTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','setParam','extend','image/gif','updateOfflineData','OffLineSingle','_onConnectionOpen','onTransformRemoteChangesetByIMECache','blue400','_exhaustSavingTask','disableLocalCache','arc','setActiveRange','_imageSourceCache','action','awaiting_with_pending','svg','m1Prime','_color','_HTTPService','getSheetId','getFocusedUnit','UNIVER_SLIDE','list','collabStatus.offline','_scheduleSaving','setCurrentUser','?url=','_draw','fromCollab','_urlService','csAckEvent','transformRemoteChangeset','contains','subscribeEvent','getValue','close','sessionStatus$','debug','_httpService','\x0aAfter:\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_ensureSubject','_getAnchorBounding','getAncestorScale','conflict','_loadDoc','ERROR_IMAGE','send','lineTo','split','/-/object/list','substring','find','13415120JcIxTc','restore','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_clearRedo','min','c2Prime','COMPLETION_FINISHED','_sendHeartbeatTimer','_removeClearOtherTimer','dispose','ws://127.0.0.1:8000/universer-api/comb/connect','data','_notificationService','on-line-single_clip0_910_349','_onRemoteChangeset','image/jpeg','[UniverCollaborationClientPlugin]','fetchThroughInterceptors','update','MSG_FOR_ERROR','getTypeOfUnitDisposed$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Steady','resend','PERMISSION_DENIED','NEW_CHANGESETS','_onCursorDelete','DeleteRangeMoveLeftCommandId','6344hXQjMI','_replaceFileID','_initStatusComponent','allowed','src','_getMergeRange','row','getRangePointData','className','_scheduleReconnection','_socketService','none','_scheduleTimestamp','collaborators','_commandService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onTransformIME','url(#off-line-single_clip0_910_343)','getUnitStatus$','error$','UNKNOWN_CODE','loadOfflineData','_univerInstanceService','fillText','interceptor','_updateLocalCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNIVER_DOC','_getUndoStack','_sessions','_collaborationController','_acknowledgedAwaitingChangeset','LIVESHARE_REQUEST_HOST','_clearCollaborationTimeoutTimer','updateMember','setAlpha','snapshot','onPointerEnter$','[OfflineState]:\x20received\x20rejection.','onSendChangeset','save\x20fail\x20reason\x20is\x20','hovered','univer-offline','icon','createCollaborator','_userManagerService','_unitStatus','fillStyle','not_collab','saveSheetBlock','location','getConfig','_id','collabStatus.notCollab','_syncEditingCollabCursorService','addImageSourceCache','workbook','_createSocket','compose','has','576801BxoJrQ','slice','_onMessage','HEARTBEAT','_updateURLWithCurrentState','status$','values','session','fillRule','disposeWithMe','put','_scheduleHeartbeat','RemoveColCommandId','includes','top','hide','getCollabCursors$','POST','pushState','_unitOnClients','measureText','onMissingChangesets','1em','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getCurrentSelections','[CollaborationEntity]','propertyIsEnumerable','reject','fill','subUnitId','awaitingChangeset','type','_undoStacks','_toggleOffline','_transformStack','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','message$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_removeRoom','method','_change$','_handleHeartbeatEvent','revision','onStarting','reduce','startColumn','memberID','8HPBTxi','transformChangesets','HELLO','getRenderById','_selfUnitIDs','0\x200\x2016\x2016','encode','/object/','add','hasOwnProperty','session.room-full','_eventUnsubscribe','getViewport','_handleEvent','_roomMembers$','_getDocObject','getCurrentUnitForType','loadSheet','_applyRemoteChangeset','onlineStatusTitle','getOwnPropertyDescriptor','setShapeProps','_getCtorByUniverType','AWAITING_WITH_PENDING','textRanges','AUTHZ_URL_KEY','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UNAUTHENTICATED','c1Prime'];_0x2636=function(){return _0x11eca8;};return _0x2636();}const Ls=_0xc3d169('uni.network.url-service');var Hr=Object[_0xade8c(0x36b)],xr=Object[_0xade8c(0x22b)],Fr=(_0x3d3a5c,_0x149518,_0x5201d0,_0x546a29)=>{const _0x5cc02f=_0xade8c;for(var _0x1a153a=_0x546a29>0x1?void 0x0:_0x546a29?xr(_0x149518,_0x5201d0):_0x149518,_0x22e87d=_0x3d3a5c[_0x5cc02f(0x331)]-0x1,_0x511ab6;_0x22e87d>=0x0;_0x22e87d--)(_0x511ab6=_0x3d3a5c[_0x22e87d])&&(_0x1a153a=(_0x546a29?_0x511ab6(_0x149518,_0x5201d0,_0x1a153a):_0x511ab6(_0x1a153a))||_0x1a153a);return _0x546a29&&_0x1a153a&&Hr(_0x149518,_0x5201d0,_0x1a153a),_0x1a153a;},le=(_0x129456,_0x4984c3)=>(_0x540af0,_0x335f28)=>_0x4984c3(_0x540af0,_0x335f28,_0x129456);let ke=class extends _0x3fb7e3{constructor(_0x3f46f0,_0x1305e2,_0x5e4b30,_0x142b50,_0x2596e3,_0x1aaf65){const _0x919f70=_0xade8c;super(),this[_0x919f70(0x178)]=_0x3f46f0,this['_logService']=_0x1305e2,this[_0x919f70(0x1ba)]=_0x5e4b30,this['_localCacheService']=_0x142b50,this['_snapshotService']=_0x2596e3,_0x1aaf65?_0x1aaf65==null||_0x1aaf65[_0x919f70(0x23e)]()[_0x919f70(0x2dd)](()=>this['_init']()):(this[_0x919f70(0x37f)][_0x919f70(0x180)](_0x919f70(0x110),_0x919f70(0x1c6)),this[_0x919f70(0x312)]());}async[_0xade8c(0x312)](){const _0x261e33=_0xade8c,_0x54bb0c=this[_0x261e33(0x178)][_0x261e33(0x38f)](_0x261e33(0x119)),_0x21cad7=this[_0x261e33(0x178)][_0x261e33(0x38f)](_0x261e33(0x207));if(!_0x54bb0c||!_0x21cad7){this[_0x261e33(0x37f)][_0x261e33(0x180)](_0x261e33(0x110),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x21cad7)){case H['UNIVER_SHEET']:{const _0x1bab17=await this['_loadSheet'](_0x54bb0c);this[_0x261e33(0xf0)](_0x1bab17);break;}case H[_0x261e33(0x1c7)]:{await this['_loadDoc'](_0x54bb0c);break;}default:{this[_0x261e33(0x37f)][_0x261e33(0x2cf)](_0x261e33(0x110),_0x261e33(0xec));break;}}}async[_0xade8c(0xf0)](_0x2a328f){const _0x487d89=_0xade8c;await this['_updateSubUnitFromURLParams'](_0x2a328f),_0x2a328f[_0x487d89(0x2a5)]['pipe'](_0x2473df(this['dispose$']))[_0x487d89(0xbf)](_0x5dbb10=>{const _0x45199a=_0x487d89;_0x5dbb10&&this[_0x45199a(0x1ec)](_0x5dbb10);}),this['_urlService'][_0x487d89(0x365)][_0x487d89(0x2fe)](_0x2473df(this[_0x487d89(0x13d)]))[_0x487d89(0xbf)](()=>this['_updateSubUnitFromURLParams'](_0x2a328f));}[_0xade8c(0x1ec)](_0x34560b,_0x17bd11=!0x1){const _0x9f272=_0xade8c,_0x82a769=this[_0x9f272(0x178)][_0x9f272(0x38f)]('subunit');_0x34560b[_0x9f272(0x16e)]()!==_0x82a769&&this[_0x9f272(0x178)]['setParam'](_0x9f272(0x138),_0x34560b[_0x9f272(0x16e)](),_0x17bd11);}async[_0xade8c(0x154)](_0x3d67b1){const _0x4b2dfa=_0xade8c;var _0x2126c9;const _0x31b5d3=this['_urlService'][_0x4b2dfa(0x38f)](_0x4b2dfa(0x138));if(!_0x31b5d3||!_0x3d67b1['getSheetBySheetId'](_0x31b5d3)){const _0x558804=_0x3d67b1[_0x4b2dfa(0x8c)]()[0x0],_0x2d14d3=_0x3d67b1[_0x4b2dfa(0x13e)](_0x558804);if(!_0x2d14d3)return;this['_updateURLWithCurrentState'](_0x2d14d3,!0x0),await this[_0x4b2dfa(0x1ba)][_0x4b2dfa(0x340)](_0x3fc4c1['id'],{'unitId':_0x3d67b1[_0x4b2dfa(0x350)](),'subUnitId':_0x558804});return;}((_0x2126c9=_0x3d67b1[_0x4b2dfa(0x387)]())==null?void 0x0:_0x2126c9['getSheetId']())!==_0x31b5d3&&await this[_0x4b2dfa(0x1ba)][_0x4b2dfa(0x340)](_0x3fc4c1['id'],{'unitId':_0x3d67b1[_0x4b2dfa(0x350)](),'subUnitId':_0x31b5d3});}async[_0xade8c(0x145)](_0x39366d){const _0x3557de=_0xade8c;let _0x50a74d=0x0;const _0x3d49fb=await this[_0x3557de(0xf7)][_0x3557de(0x1c1)](_0x39366d);return _0x3d49fb&&(_0x3d49fb[_0x3557de(0x206)]||_0x3d49fb[_0x3557de(0xf5)][_0x3557de(0x331)]!==0x0)&&(_0x50a74d=_0x3d49fb['rev']),_0x50a74d===0x0&&this[_0x3557de(0x37f)]['debug']('[DataLoaderController]',_0x3557de(0x1bb)),this[_0x3557de(0x23a)][_0x3557de(0x228)](_0x39366d,_0x50a74d);}async[_0xade8c(0x188)](_0x1f91b1){const _0x3aee7f=_0xade8c;let _0x2de90b=0x0;const _0x3f6ae4=await this['_localCacheService']['loadOfflineData'](_0x1f91b1);return _0x3f6ae4&&(_0x3f6ae4[_0x3aee7f(0x206)]||_0x3f6ae4['mutations'][_0x3aee7f(0x331)]!==0x0)&&(_0x2de90b=_0x3f6ae4[_0x3aee7f(0xd6)]),_0x2de90b===0x0&&this[_0x3aee7f(0x37f)][_0x3aee7f(0x180)](_0x3aee7f(0x110),_0x3aee7f(0x1bb)),this['_snapshotService'][_0x3aee7f(0x283)](_0x1f91b1,_0x2de90b);}};ke=Fr([_0x22ab7a(_0x35f1ee[_0xade8c(0xd2)],ke),le(0x0,Ls),le(0x1,_0x255408),le(0x2,_0x3f64f1),le(0x3,_0xd901da(D)),le(0x4,_0xd901da(_0x570f37)),le(0x5,_0x3badbf(_0x56e60a))],ke);var Vr=Object[_0xade8c(0x36b)],Br=Object[_0xade8c(0x22b)],kr=(_0x4f1625,_0x54a6b2,_0x5427d5,_0x3c4870)=>{const _0x188bc4=_0xade8c;for(var _0x27bdc2=_0x3c4870>0x1?void 0x0:_0x3c4870?Br(_0x54a6b2,_0x5427d5):_0x54a6b2,_0x5ba890=_0x4f1625[_0x188bc4(0x331)]-0x1,_0x1db57c;_0x5ba890>=0x0;_0x5ba890--)(_0x1db57c=_0x4f1625[_0x5ba890])&&(_0x27bdc2=(_0x3c4870?_0x1db57c(_0x54a6b2,_0x5427d5,_0x27bdc2):_0x1db57c(_0x27bdc2))||_0x27bdc2);return _0x3c4870&&_0x27bdc2&&Vr(_0x54a6b2,_0x5427d5,_0x27bdc2),_0x27bdc2;},ss=(_0x5ba953,_0x134228)=>(_0x31065,_0x6bc10d)=>_0x134228(_0x31065,_0x6bc10d,_0x5ba953);const Wr='DEFAULT_FILE_NAME',Gr=_0xade8c(0x82);let We=class extends _0x5297f3{constructor(_0xfcf379,_0x171474){const _0x2f93da=_0xade8c;super(),this[_0x2f93da(0x1c2)]=_0xfcf379,this['_configService']=_0x171474,this[_0x2f93da(0x312)]();}[_0xade8c(0x312)](){const _0x31b418=_0xade8c;this[_0x31b418(0x1f1)](_0x45cb21(this[_0x31b418(0x1c2)]['focused$']['subscribe'](()=>{const _0x357343=_0x31b418;var _0x43c724;const _0x1b9ba4=this[_0x357343(0x1c2)][_0x357343(0x16f)]();let _0x33c5a0=(_0x43c724=this[_0x357343(0x253)][_0x357343(0x1df)](Wr))!=null?_0x43c724:Gr;_0x1b9ba4 instanceof _0x5e425c&&(_0x33c5a0=_0x1b9ba4[_0x357343(0x89)]),document[_0x357343(0xd4)]=_0x33c5a0;})));}};We=kr([_0x22ab7a(_0x35f1ee['Ready'],We),ss(0x0,_0x3b87df),ss(0x1,_0x531a6b)],We);var Yr=Object[_0xade8c(0x36b)],Kr=Object[_0xade8c(0x22b)],Xr=(_0x35e769,_0x1eb717,_0x192c6e,_0x2f7cf5)=>{const _0xd7a99d=_0xade8c;for(var _0x1de1eb=_0x2f7cf5>0x1?void 0x0:_0x2f7cf5?Kr(_0x1eb717,_0x192c6e):_0x1eb717,_0xd6912f=_0x35e769[_0xd7a99d(0x331)]-0x1,_0x25556e;_0xd6912f>=0x0;_0xd6912f--)(_0x25556e=_0x35e769[_0xd6912f])&&(_0x1de1eb=(_0x2f7cf5?_0x25556e(_0x1eb717,_0x192c6e,_0x1de1eb):_0x25556e(_0x1de1eb))||_0x1de1eb);return _0x2f7cf5&&_0x1de1eb&&Yr(_0x1eb717,_0x192c6e,_0x1de1eb),_0x1de1eb;},is=(_0x218922,_0x36525c)=>(_0x5ade44,_0x51e03e)=>_0x36525c(_0x5ade44,_0x51e03e,_0x218922);let Ct=class{constructor(_0x399ee6,_0x15541e){const _0x30056e=_0xade8c;this['_configService']=_0x399ee6,this[_0x30056e(0x181)]=_0x15541e;}async[_0xade8c(0x118)](_0x534b77,_0x37eb5a){const _0x48be9b=_0xade8c;var _0x225016;const {unitID:_0x5de43c,type:_0x4d1ff9,revision:_0x5f3c78=0x0}=_0x37eb5a,_0x26dc9e=this[_0x48be9b(0x235)]()+'/'+_0x4d1ff9+'/unit/'+_0x5de43c+'/rev/'+(_0x5f3c78===0x1?0x0:_0x5f3c78),_0x5b3c1c=(await this['_httpService'][_0x48be9b(0x275)](_0x26dc9e))['body'],_0x453dca=(_0x225016=_0x5b3c1c[_0x48be9b(0x1d0)])==null?void 0x0:_0x225016[_0x48be9b(0x1e4)];if(_0x453dca){const _0x54af27=_0x453dca==null?void 0x0:_0x453dca[_0x48be9b(0x33f)],_0x15364c=_0x53c3e8['encode'](_0x5ccd98(_0x54af27));_0x453dca[_0x48be9b(0x33f)]=_0x15364c,Object[_0x48be9b(0x85)](_0x453dca[_0x48be9b(0x2ce)])[_0x48be9b(0x2f2)](([,_0x13796e])=>{const _0x3939df=_0x48be9b,_0x179696=_0x13796e[_0x3939df(0x33f)],_0x22f592=_0x53c3e8[_0x3939df(0x21d)](_0x5ccd98(_0x179696));_0x13796e['originalMeta']=_0x22f592;});}return _0x5b3c1c;}async[_0xade8c(0xed)](_0x3f0b2d,_0x47981d){const _0x5e2ef8=_0xade8c,{unitID:_0xc00a74,type:_0x52cd,blockID:_0x20709a}=_0x47981d,_0x53be0b=this[_0x5e2ef8(0x380)]()+'/'+_0x52cd+_0x5e2ef8(0x302)+_0xc00a74+'/block/'+_0x20709a;return(await this['_httpService'][_0x5e2ef8(0x275)](_0x53be0b))[_0x5e2ef8(0x2c2)];}async[_0xade8c(0x349)](_0x2e21e7,_0x307861){const _0x127bd3=_0xade8c,{unitID:_0x4626e3,type:_0x58ec19,from:_0xf5993f,to:_0x213cd7}=_0x307861,_0x2919b1=this[_0x127bd3(0x380)]()+'/'+_0x58ec19+_0x127bd3(0x302)+_0x4626e3+_0x127bd3(0x344)+_0xf5993f+_0x127bd3(0x2e2)+_0x213cd7;return(await this[_0x127bd3(0x181)][_0x127bd3(0x275)](_0x2919b1))['body'];}[_0xade8c(0x235)](){const _0x55d735=_0xade8c;var _0x232f0c;return(_0x232f0c=this['_configService'][_0x55d735(0x1df)](Qi))!=null?_0x232f0c:this['_getAPIPrefix']();}[_0xade8c(0x380)](){const _0x303a94=_0xade8c;var _0x13433e;return(_0x13433e=this[_0x303a94(0x253)][_0x303a94(0x1df)](zi))!=null?_0x13433e:Zi;}async['getResourcesRequest'](_0x341db0,_0x5adbaa){const _0x4d3848=_0xade8c,_0x469cc7=_0x4d3848(0x3b5)+_0x5adbaa[_0x4d3848(0x207)]+_0x4d3848(0x302)+_0x5adbaa[_0x4d3848(0x14d)]+_0x4d3848(0xfb);return(await this[_0x4d3848(0x181)][_0x4d3848(0x275)](_0x469cc7,{'params':{'resourceId':JSON[_0x4d3848(0x2b0)](_0x5adbaa[_0x4d3848(0x23b)])}}))[_0x4d3848(0x2c2)];}[_0xade8c(0x3ba)](){const _0x1c71d1=_0xade8c;throw new Error(_0x1c71d1(0x2d2));}[_0xade8c(0x1dd)](){const _0x475bb6=_0xade8c;throw new Error(_0x475bb6(0x2d2));}[_0xade8c(0x2d5)](){const _0x136669=_0xade8c;throw new Error(_0x136669(0x2d2));}};Ct=Xr([is(0x0,_0x531a6b),is(0x1,_0xd901da(_0x32bb9e))],Ct);var Jr=Object['defineProperty'],qr=Object['getOwnPropertyDescriptor'],zr=(_0x7ebd6a,_0x14dffc,_0x22e98a,_0x588390)=>{const _0x4756bd=_0xade8c;for(var _0x3be4d2=_0x588390>0x1?void 0x0:_0x588390?qr(_0x14dffc,_0x22e98a):_0x14dffc,_0x1894f7=_0x7ebd6a[_0x4756bd(0x331)]-0x1,_0x2c9378;_0x1894f7>=0x0;_0x1894f7--)(_0x2c9378=_0x7ebd6a[_0x1894f7])&&(_0x3be4d2=(_0x588390?_0x2c9378(_0x14dffc,_0x22e98a,_0x3be4d2):_0x2c9378(_0x3be4d2))||_0x3be4d2);return _0x588390&&_0x3be4d2&&Jr(_0x14dffc,_0x22e98a,_0x3be4d2),_0x3be4d2;},Te=(_0x33307a,_0x244708)=>(_0x4db355,_0x477bd5)=>_0x244708(_0x4db355,_0x477bd5,_0x33307a);let bt=class extends _0x71087{constructor(_0x19c550,_0x533137,_0x575449,_0x4de0eb,_0x32172f){const _0xdfba07=_0xade8c;super(_0x19c550,_0x533137,_0x575449),this[_0xdfba07(0x8e)]=_0x4de0eb,this[_0xdfba07(0x37f)]=_0x32172f;}[_0xade8c(0x31b)](_0x56cee2,_0xa594d){const _0x3ab9ca=_0xade8c,_0x3002f0=this['_getUndoStack'](_0x56cee2);if(_0x3002f0)try{const _0x299c1a=this[_0x3ab9ca(0x20a)](_0x3002f0,_0xa594d);this['_substituteUndoStack'](_0x56cee2,_0x299c1a);}catch(_0x39371b){this['_logService'][_0x3ab9ca(0x2cf)](_0x3ab9ca(0x32b),_0x39371b),this[_0x3ab9ca(0x28d)](_0x56cee2);}const _0x5a5194=this[_0x3ab9ca(0x3b4)](_0x56cee2);if(_0x5a5194)try{const _0x59db0b=this[_0x3ab9ca(0x20a)](_0x5a5194,_0xa594d);this[_0x3ab9ca(0x100)](_0x56cee2,_0x59db0b);}catch(_0x58dda3){this[_0x3ab9ca(0x37f)][_0x3ab9ca(0x2cf)](_0x58dda3),this['_clearRedo'](_0x56cee2);}}['_clearUndo'](_0x14c182){const _0xacc14a=_0xade8c,_0xa17487=this[_0xacc14a(0x1c8)](_0x14c182);_0xa17487&&(_0xa17487['length']=0x0,this['_updateStatus']());}[_0xade8c(0x193)](_0x5262e3){const _0xac9c58=_0xade8c,_0x250683=this[_0xac9c58(0x3b4)](_0x5262e3);_0x250683&&(_0x250683[_0xac9c58(0x331)]=0x0,this['_updateStatus']());}[_0xade8c(0xbc)](_0x1c9073,_0x2cdf26){const _0x269865=_0xade8c;this[_0x269865(0x208)]['set'](_0x1c9073,_0x2cdf26),this['_updateStatus']();}[_0xade8c(0x100)](_0x5c6b20,_0x4ebcba){const _0x3fe076=_0xade8c;this[_0x3fe076(0x282)][_0x3fe076(0xbd)](_0x5c6b20,_0x4ebcba),this[_0x3fe076(0x3a1)]();}['_transformStack'](_0x50ed5c,_0x5e7e7e){const _0x42ee66=_0xade8c,_0x23e4b4=[];let _0x46327d=_0x5e7e7e,_0x485371=_0x5e7e7e;for(let _0x302eba=_0x50ed5c[_0x42ee66(0x331)]-0x1;_0x302eba>=0x0;_0x302eba--){const {unitID:_0x28d0ea,undoMutations:_0x4743af,redoMutations:_0x3aa03f}=_0x50ed5c[_0x302eba],_0x286544=this['_transformService']['transformMutationsWithChangeset'](_0x46327d,_0x4743af),_0x2a4130=this[_0x42ee66(0x8e)][_0x42ee66(0x392)](_0x485371,_0x3aa03f);if(_0xb6937e(_0x286544)||_0xb6937e(_0x2a4130)){this['_logService'][_0x42ee66(0x2cf)]('[CollaborationUndoRedoService]',_0x42ee66(0x309),_0x286544,_0x2a4130);break;}_0x46327d=_0x286544['c1Prime'],_0x485371=_0x2a4130['c1Prime'],_0x23e4b4[_0x42ee66(0x142)]({'unitID':_0x28d0ea,'undoMutations':_0x286544[_0x42ee66(0x244)],'redoMutations':_0x2a4130[_0x42ee66(0x244)]});}return _0x23e4b4[_0x42ee66(0x361)]();}};bt=zr([Te(0x0,_0x3b87df),Te(0x1,_0x3f64f1),Te(0x2,_0x23bea4),Te(0x3,_0x581964),Te(0x4,_0x255408)],bt);class Zr extends _0x3fb7e3{constructor(){const _0x3423ad=_0xade8c;super(),l(this,'urlChange$'),this[_0x3423ad(0x365)]=_0x52fa92(window,_0x3423ad(0x24e))[_0x3423ad(0x2fe)](_0x2473df(this[_0x3423ad(0x13d)]),_0x23e965(0x1),_0x53ba30(void 0x0));}[_0xade8c(0x15b)](_0x1cabc5,_0x21b59a,_0x425415=!0x1){const _0xb83413=_0xade8c,_0x200a73=new URL(window['location'][_0xb83413(0x146)]);_0x200a73[_0xb83413(0x2c9)][_0xb83413(0xbd)](_0x1cabc5,_0x21b59a),_0x425415?window[_0xb83413(0x364)][_0xb83413(0x135)]('','',_0x200a73[_0xb83413(0x346)]()):window[_0xb83413(0x364)][_0xb83413(0x1fa)]('','',_0x200a73[_0xb83413(0x346)]());}[_0xade8c(0x3b3)](_0x1fedf5,_0x5228a2=!0x1){const _0x210d74=_0xade8c,_0x2a51b1=new URL(window['location']['href']);_0x2a51b1[_0x210d74(0x2c9)][_0x210d74(0x39d)](_0x1fedf5),_0x5228a2?window[_0x210d74(0x364)]['replaceState']('','',_0x2a51b1[_0x210d74(0x346)]()):window[_0x210d74(0x364)][_0x210d74(0x1fa)]('','',_0x2a51b1[_0x210d74(0x346)]());}[_0xade8c(0x38f)](_0x2f1829){const _0x1bcfe7=_0xade8c;var _0x28b882;return(_0x28b882=new URL(window[_0x1bcfe7(0x1de)][_0x1bcfe7(0x146)])[_0x1bcfe7(0x2c9)][_0x1bcfe7(0x275)](_0x2f1829))!=null?_0x28b882:void 0x0;}}const lt=_0xade8c(0xd5),Qr=_0xade8c(0x3b1),He=0x6,eo=1.5,_t=0x4,to=1.5,so=_0xade8c(0x136);class io{constructor(_0xa31ebc,_0x1ab78d,_0xc23989,_0x53d3e4){const _0x280ae9=_0xade8c;l(this,_0x280ae9(0x86),[]),l(this,'_anchor',null),l(this,_0x280ae9(0x321),null),l(this,_0x280ae9(0x293),null),l(this,_0x280ae9(0x2e7),null),l(this,_0x280ae9(0x222),null),(this[_0x280ae9(0x34d)]=_0xa31ebc,this[_0x280ae9(0x9c)]=_0x1ab78d,this[_0x280ae9(0xa6)]=_0xc23989,this[_0x280ae9(0x81)]=_0x53d3e4,this[_0x280ae9(0x147)]());}set[_0xade8c(0x326)](_0x4246fb){const _0xd97e5c=_0xade8c;_0x4246fb?(this[_0xd97e5c(0x293)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0xd97e5c(0x321)][_0xd97e5c(0xfa)]()):(this[_0xd97e5c(0x293)]&&this[_0xd97e5c(0x293)]['show'](),this[_0xd97e5c(0x321)]&&this['_textBubble'][_0xd97e5c(0x1f7)]());}[_0xade8c(0x199)](){const _0x4191c8=_0xade8c;for(const _0x5ccfe0 of this[_0x4191c8(0x86)])_0x5ccfe0['dispose']();this['_textBubble']&&this[_0x4191c8(0x321)][_0x4191c8(0x199)](),this['_anchorDot']&&this[_0x4191c8(0x293)][_0x4191c8(0x199)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x4191c8(0x222)]&&this[_0x4191c8(0x222)]();}[_0xade8c(0x147)](){const _0x291351=_0xade8c,{_docSkeleton:_0xef74ec,_document:_0x5c0be7}=this,{color:_0x33cd93,name:_0x13a06a,ranges:_0x3503ce}=this[_0x291351(0x34d)],_0x5b98a2=_0x5c0be7['getOffsetConfig'](),{docsLeft:_0x14a65c,docsTop:_0xa81c36}=_0x5b98a2,_0x369adc=new _0x362ef3(_0x5b98a2,_0xef74ec);for(const {startOffset:_0x1ba78e,endOffset:_0x11e124,collapsed:_0x296eba,isActive:_0x384045}of _0x3503ce){const _0x2a6aa8=_0xef74ec['findNodePositionByCharIndex'](_0x1ba78e),_0x549386=_0xef74ec[_0x291351(0x3bb)](_0x11e124);if(_0x384045){const {contentBoxPointGroup:_0x2d3310}=_0x369adc[_0x291351(0x1b3)](_0x549386,_0x549386);if(_0x2d3310[_0x291351(0x331)]===0x0)continue;this[_0x291351(0x35e)](_0x33cd93,_0x2d3310,_0x14a65c,_0xa81c36,_0x13a06a),this['_eventUnsubscribe']=this['_handleHover']();}if(!_0x296eba){const {contentBoxPointGroup:_0x1fcea9}=_0x369adc[_0x291351(0x1b3)](_0x2a6aa8,_0x549386);if(_0x1fcea9[_0x291351(0x331)]===0x0)continue;this['_drawRange'](_0x33cd93,_0x1fcea9,_0x14a65c,_0xa81c36);}}}['_drawAnchor'](_0xe9e49d,_0x5604e2,_0x5938cd,_0x46c4ec,_0x1d1a83){const _0x567acb=_0xade8c,_0x36075a=this[_0x567acb(0x185)](_0x5604e2),{left:_0x26e69d,top:_0x471462,height:_0xb13ba2}=_0x36075a,_0x1b48ad=this['_getScale'](),_0xf9241d=to/_0x1b48ad,_0x2ec568=new _0x2d5bd9(lt+_0x398800[_0x567acb(0x32a)](He),{'left':_0x26e69d+_0x5938cd-_0xf9241d,'top':_0x471462+_0x46c4ec,'height':_0xb13ba2,'width':eo,'fill':_0xe9e49d||_0x42b6d4(_0x143f52[_0x567acb(0x92)],0x0),'strokeWidth':_0xf9241d,'stroke':so,'evented':!0x0});this[_0x567acb(0xe9)]=_0x2ec568,this['_scene'][_0x567acb(0x362)](_0x2ec568,_0x54aa29);const _0x74e887=new _0x2d5bd9(lt+_0x398800[_0x567acb(0x32a)](He),{'left':_0x26e69d+_0x5938cd-_0xf9241d,'top':_0x471462+_0x46c4ec-_t/0x2,'height':_t,'width':_t,'fill':_0xe9e49d||_0x42b6d4(_0x143f52[_0x567acb(0x92)],0x0),'strokeWidth':0x0,'stroke':_0xe9e49d||_0x42b6d4(_0x143f52[_0x567acb(0x92)],0x0),'evented':!0x1});this[_0x567acb(0x293)]=_0x74e887,this[_0x567acb(0x9c)][_0x567acb(0x362)](_0x74e887,_0x54aa29);const _0x2d9bc3=new st(lt+_0x398800[_0x567acb(0x32a)](He),{'left':_0x26e69d+_0x5938cd-_0xf9241d,'top':_0x471462+_0x46c4ec-Me,'text':_0x1d1a83,'color':_0xe9e49d});this['_textBubble']=_0x2d9bc3,this[_0x567acb(0x9c)][_0x567acb(0x362)](_0x2d9bc3,_0x54aa29),this[_0x567acb(0x326)]=!0x1;}[_0xade8c(0x338)](){const _0xba3119=_0xade8c,_0x278e9a=this[_0xba3119(0xe9)]['onPointerEnter$'][_0xba3119(0x17c)](()=>{const _0x4e5296=_0xba3119;this[_0x4e5296(0x326)]=!0x0;}),_0x23c83f=this[_0xba3119(0xe9)][_0xba3119(0xba)][_0xba3119(0x17c)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x40b21b=_0x4292;this[_0x40b21b(0x326)]=!0x1;},0x7d0);});return()=>{const _0x2b2762=_0xba3119;_0x278e9a[_0x2b2762(0x28e)](),_0x23c83f[_0x2b2762(0x28e)]();};}[_0xade8c(0x2b1)](_0x4d2a6a,_0x53f27f,_0x578465,_0x13e79d){const _0x27339c=_0xade8c,_0x1dd199=new _0x410434(_0x4d2a6a)[_0x27339c(0x1cf)](0.2)['toRgbString'](),_0x369c1a=new _0x40800c(Qr+_0x398800[_0x27339c(0x32a)](He),{'pointsGroup':_0x53f27f,'fill':_0x1dd199||_0x42b6d4(_0x143f52['black'],0.2),'left':_0x578465,'top':_0x13e79d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27339c(0x86)][_0x27339c(0x142)](_0x369c1a),this[_0x27339c(0x9c)]['addObject'](_0x369c1a,_0x54aa29);}['_getAnchorBounding'](_0x2809a0){const _0x1a5f44=_0x2809a0[0x0],_0xd79ce7=_0x1a5f44[0x0],_0x1c11af=_0x1a5f44[0x2],{x:_0x2d522d,y:_0x234828}=_0xd79ce7,{x:_0x1a1a68,y:_0x1ced0a}=_0x1c11af;return{'left':_0x2d522d,'top':_0x234828,'width':_0x1a1a68-_0x2d522d,'height':_0x1ced0a-_0x234828};}['_getScale'](){const _0x3c56bb=_0xade8c,{scaleX:_0x26113d,scaleY:_0x9227ef}=this[_0x3c56bb(0x9c)][_0x3c56bb(0x186)]();return Math['max'](_0x26113d,_0x9227ef);}}var no=Object[_0xade8c(0x36b)],ro=Object[_0xade8c(0x22b)],oo=(_0x52d552,_0x562f50,_0x336ad5,_0x1dce85)=>{const _0x5d8b95=_0xade8c;for(var _0x218858=_0x1dce85>0x1?void 0x0:_0x1dce85?ro(_0x562f50,_0x336ad5):_0x562f50,_0x586194=_0x52d552[_0x5d8b95(0x331)]-0x1,_0x2ef767;_0x586194>=0x0;_0x586194--)(_0x2ef767=_0x52d552[_0x586194])&&(_0x218858=(_0x1dce85?_0x2ef767(_0x562f50,_0x336ad5,_0x218858):_0x2ef767(_0x218858))||_0x218858);return _0x1dce85&&_0x218858&&no(_0x562f50,_0x336ad5,_0x218858),_0x218858;},Re=(_0xb94e5e,_0x3ae1d5)=>(_0x4b2ef0,_0x27720e)=>_0x3ae1d5(_0x4b2ef0,_0x27720e,_0xb94e5e);let Ge=class extends _0x3fb7e3{constructor(_0x73b6f4,_0x22f8d3,_0x32dd91,_0x1865f4,_0x530448){const _0x3e6f78=_0xade8c;super(),l(this,_0x3e6f78(0x249),[]),(this['_collabCursorController']=_0x73b6f4,this['_univerInstanceService']=_0x22f8d3,this[_0x3e6f78(0x2ec)]=_0x32dd91,this[_0x3e6f78(0x104)]=_0x1865f4,this['_themeService']=_0x530448,this['_init']());}[_0xade8c(0x312)](){const _0x4c42d4=_0xade8c;this['_docSkeletonManagerService'][_0x4c42d4(0x2ed)][_0x4c42d4(0x2fe)](_0x68ef5b(this['dispose$']),_0x1b27ff(_0x51c784=>{const _0x3b14f0=_0x4c42d4;if(_0x51c784){const _0x5cb47d=_0x51c784[_0x3b14f0(0x373)]()[_0x3b14f0(0x34c)]()[_0x3b14f0(0x350)]();return _0x5930bd(this[_0x3b14f0(0x2e8)][_0x3b14f0(0x1f8)](_0x5cb47d),this[_0x3b14f0(0x26c)]['currentTheme$'])[_0x3b14f0(0x2fe)](_0x176ea9(([_0x47ab64,_0x1fc3c4])=>({'skeleton':_0x51c784,'cursors':[..._0x47ab64[_0x3b14f0(0x1ee)]()][_0x3b14f0(0x281)](_0x26cd15=>({..._0x26cd15,'color':_0x1fc3c4[_0x26cd15[_0x3b14f0(0xe6)]]}))})));}return _0x3ff30b({'skeleton':null,'cursors':[]});}))[_0x4c42d4(0xbf)](({skeleton:_0xeb4b83,cursors:_0x410816})=>{const _0x4636c7=_0x4c42d4;this[_0x4636c7(0x2db)](),_0xeb4b83&&this[_0x4636c7(0x33a)](_0xeb4b83,_0x410816);});}['_updateCollabCursors'](_0x377a12,_0xe11633){const _0x23ba18=_0xade8c,_0x1fa367=this['_getDocObject']();if(_0x1fa367==null)return;const {scene:_0xa29673,document:_0x4d6254}=_0x1fa367,_0x3f91f9=_0xe11633[_0x23ba18(0x39e)](_0x52572a=>new io(_0x52572a,_0xa29673,_0x377a12,_0x4d6254));this[_0x23ba18(0x249)]=_0x3f91f9;}[_0xade8c(0x2db)](){const _0x9021d6=_0xade8c;this[_0x9021d6(0x249)][_0x9021d6(0x2f2)](_0x43c5b5=>_0x43c5b5[_0x9021d6(0x199)]()),this['_cursors']=[];}[_0xade8c(0x226)](){const _0x3f4054=_0xade8c;return _0x570b80(this['_univerInstanceService'],this[_0x3f4054(0x2ec)]);}};Ge=oo([_0x22ab7a(_0x35f1ee[_0xade8c(0x1a6)],Ge),Re(0x0,_0xd901da(fe)),Re(0x1,_0x3b87df),Re(0x2,_0x1e26e7),Re(0x3,_0xd901da(_0x55bc8c)),Re(0x4,_0xd901da(_0x42d43e))],Ge);var ao=Object[_0xade8c(0x36b)],co=Object['getOwnPropertyDescriptor'],ho=(_0xc6422,_0x208374,_0x2dcdee,_0x637700)=>{const _0x2f9679=_0xade8c;for(var _0x92b3db=_0x637700>0x1?void 0x0:_0x637700?co(_0x208374,_0x2dcdee):_0x208374,_0x3f3da9=_0xc6422[_0x2f9679(0x331)]-0x1,_0x1f40fa;_0x3f3da9>=0x0;_0x3f3da9--)(_0x1f40fa=_0xc6422[_0x3f3da9])&&(_0x92b3db=(_0x637700?_0x1f40fa(_0x208374,_0x2dcdee,_0x92b3db):_0x1f40fa(_0x92b3db))||_0x92b3db);return _0x637700&&_0x92b3db&&ao(_0x208374,_0x2dcdee,_0x92b3db),_0x92b3db;},ut=(_0x45de26,_0x115097)=>(_0x3f4631,_0x39edc8)=>_0x115097(_0x3f4631,_0x39edc8,_0x45de26);let Ze=class{constructor(_0x2fb449,_0x2e7839,_0x8213d){const _0x10e414=_0xade8c;this[_0x10e414(0x253)]=_0x2fb449,this[_0x10e414(0x181)]=_0x2e7839,this[_0x10e414(0x316)]=_0x8213d,this[_0x10e414(0x254)]();}[_0xade8c(0x254)](){const _0x3c2490=_0xade8c;this[_0x3c2490(0x181)][_0x3c2490(0x255)]({'priority':0x1,'interceptor':(_0x1c34b9,_0x2f79d3)=>_0x2f79d3(_0x1c34b9)[_0x3c2490(0x2fe)](_0x5af94b(async _0x5de6ab=>{const _0x5f1db5=_0x3c2490,_0x5a5967=_0x5de6ab;if(_0x5a5967[_0x5f1db5(0x3b8)]===0x191&&window[_0x5f1db5(0x2f8)](this[_0x5f1db5(0x316)]['t'](_0x5f1db5(0x25c)))){const _0x266bcd=window[_0x5f1db5(0x34e)](window['location'][_0x5f1db5(0x146)]);window[_0x5f1db5(0x1de)][_0x5f1db5(0x146)]=this[_0x5f1db5(0x2f3)]()+_0x5f1db5(0x175)+_0x266bcd;}return _0x5a5967;}))});}['_getLoginPath'](){const _0x1d77aa=_0xade8c;var _0x4f2b6f;return(_0x4f2b6f=this[_0x1d77aa(0x253)][_0x1d77aa(0x1df)](mn))!=null?_0x4f2b6f:gn;}};Ze=ho([ut(0x0,_0x531a6b),ut(0x1,_0xd901da(_0x32bb9e)),ut(0x2,_0xd901da(_0x3fbf2b))],Ze);var lo=Object[_0xade8c(0x36b)],_o=Object[_0xade8c(0x22b)],uo=(_0x54d12a,_0x55f53f,_0x1aaeb9,_0x493d81)=>{const _0x19e287=_0xade8c;for(var _0x5a8ed4=_0x493d81>0x1?void 0x0:_0x493d81?_o(_0x55f53f,_0x1aaeb9):_0x55f53f,_0x30359d=_0x54d12a[_0x19e287(0x331)]-0x1,_0x32a83d;_0x30359d>=0x0;_0x30359d--)(_0x32a83d=_0x54d12a[_0x30359d])&&(_0x5a8ed4=(_0x493d81?_0x32a83d(_0x55f53f,_0x1aaeb9,_0x5a8ed4):_0x32a83d(_0x5a8ed4))||_0x5a8ed4);return _0x493d81&&_0x5a8ed4&&lo(_0x55f53f,_0x1aaeb9,_0x5a8ed4),_0x5a8ed4;},ns=(_0x319f38,_0x390eb5)=>(_0x455a0e,_0x205f1f)=>_0x390eb5(_0x455a0e,_0x205f1f,_0x319f38);const fo=_0xade8c(0x230),mo='/universer-api/authz';let Tt=class extends _0x5297f3{constructor(_0x2e0a07,_0x1fc6db){const _0x572985=_0xade8c;super(),this['_HTTPService']=_0x2e0a07,this[_0x572985(0x253)]=_0x1fc6db,this[_0x572985(0x9d)]();}['_initMergeInterceptor'](){const _0x45eeb7=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x3f4d36({'isMatch'(_0x5a5e23){const _0x5501c4=_0x4292;var _0x7e69e6;if(_0x5a5e23[_0x5501c4(0x20f)]===_0x5501c4(0x1f9)&&((_0x7e69e6=_0x5a5e23[_0x5501c4(0x2ca)])!=null&&_0x7e69e6[_0x5501c4(0x2c2)])){const {objectID:_0x3332b0,objectType:_0x41a35e}=_0x5a5e23[_0x5501c4(0x2ca)]['body']||{};if(!_0x3332b0||_0x41a35e===void 0x0)return!0x1;const _0x1700ce=_0x45eeb7['_getAPIPrefixPath']()+'/'+_0x41a35e+_0x5501c4(0x21e)+_0x3332b0+_0x5501c4(0x251);if(_0x5a5e23[_0x5501c4(0x353)]===_0x1700ce)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x499ce8){const _0x3a062a=_0x4292;var _0x1a7500;return(_0x1a7500=_0x499ce8['requestParams'])==null?void 0x0:_0x1a7500[_0x3a062a(0x2c2)];},'mergeParamsToRequest'(_0x3e5cc1,_0x3384dd){const _0x476da0=_0x4292,_0x3b708e=_0x45eeb7[_0x476da0(0x39c)]()+_0x476da0(0x80),_0x31917e=_0x3e5cc1[_0x476da0(0x214)]((_0x3b3e16,_0x1f5c2e)=>{const _0x3afdc7=_0x476da0,{unitID:_0x543313,objectID:_0xa1969d,objectType:_0x124a91,actions:_0x5a34e6}=_0x1f5c2e;return _0x3b3e16[_0x543313]||(_0x3b3e16[_0x543313]={}),_0x3b3e16[_0x543313][_0xa1969d]||(_0x3b3e16[_0x543313][_0xa1969d]={'objectID':_0xa1969d,'objectType':_0x124a91,'actions':[]}),_0x3b3e16[_0x543313][_0xa1969d][_0x3afdc7(0x2ba)][_0x3afdc7(0x142)](..._0x5a34e6),_0x3b3e16;},{}),_0x3ed059=[];for(const _0x1ac374 in _0x31917e)for(const _0x529569 in _0x31917e[_0x1ac374]){const {actions:_0x12b8bc,objectType:_0x3169ab}=_0x31917e[_0x1ac374][_0x529569],_0x2b19e0=[...new Set(_0x12b8bc)];_0x3ed059['push']({'unitID':_0x1ac374,'objectID':_0x529569,'objectType':_0x3169ab,'actions':_0x2b19e0});}return new _0x2026b9(_0x476da0(0x1f9),_0x3b708e,{'headers':_0x3384dd[_0x476da0(0x323)],'withCredentials':_0x3384dd['withCredentials'],'responseType':_0x3384dd[_0x476da0(0x2bd)],'body':{'requests':_0x3ed059}});}},{'distributeResult'(_0x4c0f7e,_0x3ef775){const {objectActions:_0x20e946}=_0x4c0f7e;return _0x3ef775['map'](_0x5ef4ba=>{const _0x4e449c=_0x4292,{unitID:_0xfa037f,objectID:_0x277789,actions:_0x4782ef}=_0x5ef4ba,_0x2c2311=_0x20e946[_0x4e449c(0x18f)](_0x1ea004=>_0x1ea004[_0x4e449c(0x14d)]===_0xfa037f&&_0x1ea004[_0x4e449c(0x13c)]===_0x277789),_0x170e6f=_0x4782ef[_0x4e449c(0x39e)](_0x4e45cc=>_0x2c2311==null?void 0x0:_0x2c2311['actions'][_0x4e449c(0x18f)](_0x25330d=>_0x25330d[_0x4e449c(0x168)]===_0x4e45cc))[_0x4e449c(0x2a9)](_0x33767a=>!!_0x33767a);return{'config':_0x5ef4ba,'result':{'actions':_0x170e6f,'error':_0x4c0f7e['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x57e776=_0xade8c;var _0x170628;return(_0x170628=this['_configService'][_0x57e776(0x1df)](fo))!=null?_0x170628:mo;}async['create'](_0x4cacb9){const _0x399375=_0xade8c,_0x3506bb=this[_0x399375(0x39c)]()+'/'+_0x4cacb9['objectType']+'/object';return(await this[_0x399375(0x16d)][_0x399375(0x35d)](_0x3506bb,{'body':_0x4cacb9}))[_0x399375(0x2c2)][_0x399375(0x13c)]||'';}async[_0xade8c(0x171)](_0x3c15f8){const _0x291728=_0xade8c,_0x5c69fe=this[_0x291728(0x39c)]()+_0x291728(0x18d);return(await this['_HTTPService']['post'](_0x5c69fe,{'body':_0x3c15f8}))['body'][_0x291728(0x94)];}async[_0xade8c(0x1a2)](_0x57378a){const _0x1f43c8=_0xade8c,_0x1e8b6a=this[_0x1f43c8(0x39c)]()+'/'+_0x57378a[_0x1f43c8(0x38d)]+_0x1f43c8(0x21e)+_0x57378a[_0x1f43c8(0x13c)];await this[_0x1f43c8(0x16d)][_0x1f43c8(0x1f2)](_0x1e8b6a,{'body':_0x57378a});}async[_0xade8c(0x1af)](_0x33815a){const _0x3f4c2e=_0xade8c,_0x569631=this[_0x3f4c2e(0x39c)]()+'/'+_0x33815a[_0x3f4c2e(0x38d)]+_0x3f4c2e(0x21e)+_0x33815a[_0x3f4c2e(0x13c)]+_0x3f4c2e(0x251);return(await this[_0x3f4c2e(0x16d)]['post'](_0x569631,{'body':_0x33815a}))[_0x3f4c2e(0x2c2)][_0x3f4c2e(0x2ba)];}async[_0xade8c(0x7b)](_0x21033c){const _0x5a53bc=_0xade8c,_0xf7078=this[_0x5a53bc(0x39c)]()+'/-/object/-/batch_allowed';return(await this[_0x5a53bc(0x16d)]['post'](_0xf7078,{'body':{'requests':_0x21033c}}))[_0x5a53bc(0x2c2)]['objectActions'];}async[_0xade8c(0x114)](_0x17c06d){const _0x11eec3=_0xade8c,_0x46dd91=this[_0x11eec3(0x39c)]()+'/'+_0x17c06d[_0x11eec3(0x38d)]+'/role',_0x395c8e=await this[_0x11eec3(0x16d)][_0x11eec3(0x35d)](_0x46dd91,{'body':_0x17c06d});return{'roles':_0x395c8e[_0x11eec3(0x2c2)]['roles'],'actions':_0x395c8e[_0x11eec3(0x2c2)][_0x11eec3(0x2ba)]};}async[_0xade8c(0x2df)](_0x40c501){const _0x44f41d=_0xade8c,_0x91a93d=this['_getAPIPrefixPath']()+_0x44f41d(0xea);await this[_0x44f41d(0x16d)]['delete'](_0x91a93d,{'params':{'collaboratorID':_0x40c501['collaboratorID'],'objectID':_0x40c501['objectID'],'unitID':_0x40c501['unitID']}});}async['updateCollaborator'](_0x428314){const _0x1dc261=_0xade8c,_0x13d310=this[_0x1dc261(0x39c)]()+_0x1dc261(0xea);await this[_0x1dc261(0x16d)][_0x1dc261(0xdb)](_0x13d310,{'body':_0x428314});}async[_0xade8c(0x1d8)](_0x1ffc8f){const _0x50cdfc=_0xade8c,_0x100139=this[_0x50cdfc(0x39c)]()+_0x50cdfc(0xea);await this[_0x50cdfc(0x16d)]['post'](_0x100139,{'body':_0x1ffc8f});}async[_0xade8c(0x328)](_0x39ad8b){const _0x161303=_0xade8c,_0xd5bf1f=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x161303(0x16d)]['get'](_0xd5bf1f,{'params':{'objectID':_0x39ad8b[_0x161303(0x13c)],'unitID':_0x39ad8b[_0x161303(0x14d)]}}))[_0x161303(0x2c2)][_0x161303(0x1b9)];}async[_0xade8c(0x2a1)](_0x4dda06){const _0x4da8de=_0xade8c,_0x59acfb=this[_0x4da8de(0x39c)]()+_0x4da8de(0xea);await this[_0x4da8de(0x16d)]['put'](_0x59acfb,{'body':_0x4dda06});}};Tt=uo([ns(0x0,_0xd901da(_0x32bb9e)),ns(0x1,_0xd901da(_0x531a6b))],Tt);var go=Object[_0xade8c(0x36b)],So=Object[_0xade8c(0x22b)],vo=(_0x72fd,_0x2c99eb,_0x3e5d01,_0xfc6e11)=>{const _0x110ca5=_0xade8c;for(var _0x55222f=_0xfc6e11>0x1?void 0x0:_0xfc6e11?So(_0x2c99eb,_0x3e5d01):_0x2c99eb,_0x45e01a=_0x72fd[_0x110ca5(0x331)]-0x1,_0x36059f;_0x45e01a>=0x0;_0x45e01a--)(_0x36059f=_0x72fd[_0x45e01a])&&(_0x55222f=(_0xfc6e11?_0x36059f(_0x2c99eb,_0x3e5d01,_0x55222f):_0x36059f(_0x55222f))||_0x55222f);return _0xfc6e11&&_0x55222f&&go(_0x2c99eb,_0x3e5d01,_0x55222f),_0x55222f;},rs=(_0x49fe72,_0x2011f3)=>(_0x24b988,_0x3fde2c)=>_0x2011f3(_0x24b988,_0x3fde2c,_0x49fe72);const po=['image/png',_0xade8c(0x19f),_0xade8c(0x2cd),_0xade8c(0x15d),_0xade8c(0x28f)],Io=0x5*0x400*0x400,Eo=_0xade8c(0x1ff),Co=_0xade8c(0x108),bo=_0xade8c(0x192),To='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x1209f2,_0x513f20){const _0x367d58=_0xade8c;l(this,'_waitCount',0x0),l(this,_0x367d58(0x210),new _0x3718e0()),l(this,_0x367d58(0x256),this[_0x367d58(0x210)]),l(this,_0x367d58(0x167),new Map()),(this['_httpService']=_0x1209f2,this['_configService']=_0x513f20);}['setWaitCount'](_0x4fa8fd){const _0x22e81b=_0xade8c;this[_0x22e81b(0x341)]=_0x4fa8fd,this['_change$'][_0x22e81b(0xab)](_0x4fa8fd);}['getImageSourceCache'](_0x2f9fae,_0xe551e4){const _0x39cfef=_0xade8c;if(_0xe551e4===_0x146d1d[_0x39cfef(0x2ef)]){const _0xb8c68d=new Image();return _0xb8c68d[_0x39cfef(0x1b0)]=_0x2f9fae,_0xb8c68d;}return this['_imageSourceCache'][_0x39cfef(0x275)](_0x2f9fae);}[_0xade8c(0x1e3)](_0x41c0fc,_0x57c441,_0x5cda94){const _0x5b142d=_0xade8c;_0x57c441===_0x146d1d['BASE64']||_0x5cda94==null||this[_0x5b142d(0x167)]['set'](_0x41c0fc,_0x5cda94);}async[_0xade8c(0x134)](_0x2e2432){const _0x32b499=_0xade8c;try{const _0x1f45e4=this[_0x32b499(0x1ad)](this['_getSignURL'](),''+_0x2e2432),_0x1601db=(await this[_0x32b499(0x181)][_0x32b499(0x275)](_0x1f45e4))['body'];return _0x1601db[_0x32b499(0x2cf)]&&_0x1601db[_0x32b499(0x2cf)][_0x32b499(0x2d3)]===Rs['OK']?Promise[_0x32b499(0x31e)](_0x1601db['url']):Promise[_0x32b499(0x203)](_0x1601db[_0x32b499(0x2cf)]);}catch(_0x5f31d2){return Promise[_0x32b499(0x203)](_0x5f31d2);}}async[_0xade8c(0x334)](_0x29e528){const _0x284706=_0xade8c;let _0x4ce1d9='';if(!po[_0x284706(0x1f5)](_0x29e528[_0x284706(0x207)]))return this[_0x284706(0x3af)](),Promise['reject'](new Error(_0x200c2c[_0x284706(0xe5)]));if(_0x29e528[_0x284706(0x337)]>Io)return this[_0x284706(0x3af)](),Promise[_0x284706(0x203)](new Error(_0x200c2c['ERROR_EXCEED_SIZE']));try{const _0x2ba97d=new FormData();_0x2ba97d[_0x284706(0x266)]('file',_0x29e528);const _0x59ca11=this[_0x284706(0xae)]()+_0x284706(0x102)+_0x29e528[_0x284706(0x337)]['toString'](),_0x4d9620=await(await fetch(_0x59ca11,{'method':_0x284706(0x1f9),'body':_0x2ba97d}))[_0x284706(0xc1)]();if(typeof _0x4d9620[_0x284706(0x397)]!=_0x284706(0x36f))return this[_0x284706(0x3af)](),Promise[_0x284706(0x203)](new Error(_0x200c2c[_0x284706(0x189)]));_0x4ce1d9=_0x4d9620[_0x284706(0x397)];}catch{return this['_decreaseWaiting'](),Promise[_0x284706(0x203)](new Error(_0x200c2c[_0x284706(0x189)]));}return new Promise((_0x31f856,_0x35ffac)=>{const _0x19e290=_0x284706,_0x2658ec=new FileReader();_0x2658ec['readAsDataURL'](_0x29e528),_0x2658ec[_0x19e290(0x246)]=_0x44e71e=>{const _0x56602d=_0x19e290;var _0x55444b;const _0x331ed8=(_0x55444b=_0x44e71e[_0x56602d(0x378)])==null?void 0x0:_0x55444b[_0x56602d(0x24c)];if(_0x331ed8==null){this[_0x56602d(0x3af)](),_0x35ffac(new Error(_0x200c2c[_0x56602d(0x189)]));return;}const _0x429da2=_0x398800[_0x56602d(0x32a)](0x6);_0x31f856({'imageId':_0x429da2,'imageSourceType':_0x146d1d[_0x56602d(0x125)],'source':_0x4ce1d9,'base64Cache':_0x331ed8,'status':_0x200c2c['SUCCUSS']}),this[_0x56602d(0x3af)]();};});}[_0xade8c(0xae)](){const _0x5c9bf9=_0xade8c;var _0x454375;return(_0x454375=this[_0x5c9bf9(0x253)][_0x5c9bf9(0x1df)](Eo))!=null?_0x454375:Co;}['_getSignURL'](){const _0x2e1208=_0xade8c;var _0x4f2962;return(_0x4f2962=this[_0x2e1208(0x253)][_0x2e1208(0x1df)](bo))!=null?_0x4f2962:To;}[_0xade8c(0x1ad)](_0x4a58b3,_0x213106){const _0x29f1f0=_0xade8c;return _0x4a58b3['replace'](_0x29f1f0(0x2d0),_0x213106);}[_0xade8c(0x3af)](){const _0x215341=_0xade8c;this[_0x215341(0x341)]-=0x1,this[_0x215341(0x210)][_0x215341(0xab)](this[_0x215341(0x341)]);}};Rt=vo([rs(0x0,_0xd901da(_0x32bb9e)),rs(0x1,_0x531a6b)],Rt);var Ro=Object[_0xade8c(0x36b)],Oo=Object['getOwnPropertyDescriptor'],Do=(_0x584669,_0x737f5e,_0x30d7e1,_0x50eab2)=>{const _0x3e51e6=_0xade8c;for(var _0x9841ea=_0x50eab2>0x1?void 0x0:_0x50eab2?Oo(_0x737f5e,_0x30d7e1):_0x737f5e,_0x44bfd2=_0x584669[_0x3e51e6(0x331)]-0x1,_0x39bdd1;_0x44bfd2>=0x0;_0x44bfd2--)(_0x39bdd1=_0x584669[_0x44bfd2])&&(_0x9841ea=(_0x50eab2?_0x39bdd1(_0x737f5e,_0x30d7e1,_0x9841ea):_0x39bdd1(_0x9841ea))||_0x9841ea);return _0x50eab2&&_0x9841ea&&Ro(_0x737f5e,_0x30d7e1,_0x9841ea),_0x9841ea;},Oe=(_0x34030d,_0x890b39)=>(_0x395c79,_0x1d8110)=>_0x890b39(_0x395c79,_0x1d8110,_0x34030d);let Ye=class extends _0x3fb7e3{constructor(_0x95a8af,_0x31963c,_0x4558a8,_0x547b33,_0xf40bc2){const _0x1b903e=_0xade8c;super(),this[_0x1b903e(0xcc)]=_0x95a8af,this[_0x1b903e(0x1c2)]=_0x31963c,this[_0x1b903e(0x10f)]=_0x4558a8,this[_0x1b903e(0x363)]=_0x547b33,this['_localeService']=_0xf40bc2,this[_0x1b903e(0x2a6)](),this[_0x1b903e(0x333)]();}[_0xade8c(0x333)](){const _0x3f13c6=_0xade8c,_0x3d6ddf=async _0x516525=>{const _0x5e29b1=_0x4292;(await this[_0x5e29b1(0x363)][_0x5e29b1(0x12b)](_0x516525))[_0x5e29b1(0x2ea)][_0x5e29b1(0x2fe)](_0x4c2296(_0x41a6db=>_0x41a6db['eventID']===_0x1b9133[_0x5e29b1(0x345)]),_0x68ef5b(this[_0x5e29b1(0x13d)]))[_0x5e29b1(0xbf)](_0x1905bd=>{const _0x309261=_0x5e29b1,_0x32a70e=_0x1905bd,{reason:_0x64e8e8}=_0x32a70e['data'];this['_injector'][_0x309261(0x275)](_0x48de42)[_0x309261(0xfa)]({'type':_0x4d4329[_0x309261(0xbe)],'content':this[_0x309261(0x148)]['t'](_0x309261(0x12d))+'('+_0x64e8e8+')'}),this[_0x309261(0x10f)][_0x309261(0xd7)](new _0xaddd59(_0x516525)['id'],!0x1),this[_0x309261(0x363)][_0x309261(0x38a)](_0x516525);});};_0x52fd0c(this[_0x3f13c6(0x1c2)][_0x3f13c6(0x252)](_0x9cd059[_0x3f13c6(0x3a3)]),this[_0x3f13c6(0x1c2)][_0x3f13c6(0x252)](_0x9cd059['UNIVER_DOC']))[_0x3f13c6(0x2fe)](_0x176ea9(_0x5cf426=>_0x5cf426[_0x3f13c6(0x350)]()),_0x4c2296(_0x1726cf=>!_0x142b75(_0x1726cf)),_0x68ef5b(this[_0x3f13c6(0x13d)]))[_0x3f13c6(0xbf)](_0x55fa33=>{_0x3d6ddf(_0x55fa33);});}[_0xade8c(0x2a6)](){const _0x21bf84=_0xade8c,_0x5bb891=async _0x2b71b6=>{const _0x16b545=_0x4292;(await this[_0x16b545(0x363)][_0x16b545(0x12b)](_0x2b71b6))[_0x16b545(0x2ea)]['pipe'](_0x4c2296(_0x4a2431=>_0x4a2431[_0x16b545(0x13b)]===_0x1b9133[_0x16b545(0x130)]),_0x68ef5b(this[_0x16b545(0x13d)]))[_0x16b545(0xbf)](_0x3888d5=>{const _0x5c22c8=_0x16b545,_0x404d2c=_0x3888d5,{objectId:_0x1f9ffc}=_0x404d2c[_0x5c22c8(0x19b)];_0x1f9ffc===_0x2b71b6&&this[_0x5c22c8(0xcc)]['get'](_0x331505)[_0x5c22c8(0x2ad)](_0x2b71b6);});};_0x52fd0c(this[_0x21bf84(0x1c2)]['getTypeOfUnitAdded$'](_0x9cd059[_0x21bf84(0x3a3)]),this[_0x21bf84(0x1c2)][_0x21bf84(0x252)](_0x9cd059[_0x21bf84(0x1c7)]))[_0x21bf84(0x2fe)](_0x176ea9(_0x54a8af=>_0x54a8af['getUnitId']()),_0x4c2296(_0x3377fe=>!_0x142b75(_0x3377fe)),_0x68ef5b(this[_0x21bf84(0x13d)]))[_0x21bf84(0xbf)](_0x2c84ac=>{_0x5bb891(_0x2c84ac);});}};Ye=Do([_0x22ab7a(_0x35f1ee['Starting'],Ye),Oe(0x0,_0xd901da(_0x3c61ae)),Oe(0x1,_0x3b87df),Oe(0x2,_0x1b6020),Oe(0x3,_0xd901da(ge)),Oe(0x4,_0xd901da(_0x3fbf2b))],Ye);var $s=Object['defineProperty'],Po=Object[_0xade8c(0x22b)],wo=(_0x3857c3,_0x105f8c,_0x736141)=>_0x105f8c in _0x3857c3?$s(_0x3857c3,_0x105f8c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x736141}):_0x3857c3[_0x105f8c]=_0x736141,No=(_0xb3d6f5,_0x1a140a,_0x5b21f2,_0x39674a)=>{const _0xe7dc2f=_0xade8c;for(var _0x21948e=_0x39674a>0x1?void 0x0:_0x39674a?Po(_0x1a140a,_0x5b21f2):_0x1a140a,_0x1dea34=_0xb3d6f5[_0xe7dc2f(0x331)]-0x1,_0x228e30;_0x1dea34>=0x0;_0x1dea34--)(_0x228e30=_0xb3d6f5[_0x1dea34])&&(_0x21948e=(_0x39674a?_0x228e30(_0x1a140a,_0x5b21f2,_0x21948e):_0x228e30(_0x21948e))||_0x21948e);return _0x39674a&&_0x21948e&&$s(_0x1a140a,_0x5b21f2,_0x21948e),_0x21948e;},os=(_0x3fecf2,_0x4aff5d)=>(_0x4951f2,_0x2a5cdc)=>_0x4aff5d(_0x4951f2,_0x2a5cdc,_0x3fecf2),Mo=(_0x5dcce4,_0x467940,_0x21ab84)=>wo(_0x5dcce4,_0x467940+'',_0x21ab84);const Ao=_0xade8c(0x399);let Ot=class extends _0xde0405{constructor(_0x575b4b,_0x23a671,_0x25f806){const _0x2b0687=_0xade8c;super(),this[_0x2b0687(0x296)]=_0x575b4b,this[_0x2b0687(0x37f)]=_0x23a671,this[_0x2b0687(0xcc)]=_0x25f806;}[_0xade8c(0x213)](_0x44f8cb){const _0x2f8458=_0xade8c;var _0x278b92,_0x38eed2,_0x581808,_0x1a7e30,_0x4eb7ed;_0x44f8cb[_0x2f8458(0x1e7)](_0x1bc0b8)&&this[_0x2f8458(0x37f)][_0x2f8458(0x2cf)](_0x2f8458(0x1a0),_0x2f8458(0x20b));let _0x5818ef=[[_0x1bc0b8,{'useClass':bt}],[ge],[Lt],[_0x32bb9e],[Ls,{'useClass':Zr}],[ne],[D],[_0x56a40f],[qe],[Je],[Xe],[Ut],[Ze],[Ds],[Ye],[Os,{'useClass':(_0x38eed2=(_0x278b92=this[_0x2f8458(0x296)])==null?void 0x0:_0x278b92[_0x2f8458(0x2a7)])!=null?_0x38eed2:gt}],[_0x2364b6,{'useClass':_0x11d4c7}],[_0x5610c3,{'useClass':Ct}],[_0x4e5c79,{'useClass':Tt}],[_0x355890,{'useClass':Rt}],[De],[ke],[Be],[We],[fe]];(_0x581808=this[_0x2f8458(0x296)])!=null&&_0x581808[_0x2f8458(0x38e)]&&_0x5818ef[_0x2f8458(0x142)]([et,{'useClass':An}]),((_0x1a7e30=this[_0x2f8458(0x296)])==null?void 0x0:_0x1a7e30['collaborationUniverTypes'])==null||this[_0x2f8458(0x296)][_0x2f8458(0x292)][_0x2f8458(0x1f5)](_0x9cd059[_0x2f8458(0x3a3)])?_0x5818ef[_0x2f8458(0x142)]([Ve]):this['_config'][_0x2f8458(0x292)][_0x2f8458(0x1f5)](_0x9cd059[_0x2f8458(0x1c7)])&&_0x5818ef[_0x2f8458(0x142)]([Ge]),_0x5818ef=_0x2e36c0(_0x5818ef,(_0x4eb7ed=this[_0x2f8458(0x296)])==null?void 0x0:_0x4eb7ed[_0x2f8458(0x238)]),_0x5818ef['forEach'](_0x2b87fb=>_0x44f8cb['add'](_0x2b87fb)),_0x44f8cb[_0x2f8458(0x275)](_0x32bb9e)[_0x2f8458(0x255)]({'priority':0x14,'interceptor':_0x53aaa4({'maxParallel':0x6})}),this[_0x2f8458(0x2ee)]();}[_0xade8c(0x2ee)](){const _0x48188b=_0xade8c;var _0x233635,_0x532fd2;(_0x233635=this[_0x48188b(0x296)])!=null&&_0x233635[_0x48188b(0x7a)]||this[_0x48188b(0xcc)][_0x48188b(0x275)](D)['disableLocalCache'](),(_0x532fd2=this[_0x48188b(0x296)])!=null&&_0x532fd2['enableAuthServer']&&this[_0x48188b(0xcc)]['get'](Ze);}};Mo(Ot,_0xade8c(0x2eb),Ao),Ot=No([_0x4bdc3b(_0x4c40a3),os(0x1,_0x255408),os(0x2,_0xd901da(_0x3c61ae))],Ot);export{fo as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,dn as COLLAB_SUBMIT_CHANGESET_URL_KEY,sn as COLLAB_WEB_SOCKET_URL_KEY,De as CollaborationController,St as CollaborationSession,ge as CollaborationSessionService,gt as CollaborationSocketService,w as CollaborationStatus,yr as CollaborationStatusDisplay,Ds as CommentService,ke as DataLoaderController,Be as DesktopCollaborationStatusDisplayController,rn as HEARTBEAT_INTERVAL_KEY,bs as HEARTBEAT_TIMEOUT_KEY,Os as ICollaborationSocketService,Ls as IURLService,_n as LOCAL_CACHE_INTERVAL_KEY,mn as LOGIN_URL_KEY,D as LocalCacheService,en as SEND_CHANGESET_TIMEOUT_KEY,zi as SNAPSHOT_SERVER_URL_KEY,Qi as SNAPSHOT_URL_KEY,de as SessionStatus,Ot as UniverCollaborationClientPlugin,Zr as WebURLService,En as deserializeToCombResponse,Cn as serializeCombRequest};
|