@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505101606 → 0.7.0-nightly.202505111606
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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x20b139=_0x5d52;(function(_0x3718cf,_0x2a46d9){const _0x741552=_0x5d52,_0x4b8711=_0x3718cf();while(!![]){try{const _0x36693b=-parseInt(_0x741552(0xbc))/0x1*(parseInt(_0x741552(0xcc))/0x2)+-parseInt(_0x741552(0x257))/0x3+-parseInt(_0x741552(0x1e2))/0x4+-parseInt(_0x741552(0x1c6))/0x5+-parseInt(_0x741552(0xa6))/0x6+-parseInt(_0x741552(0x17b))/0x7*(parseInt(_0x741552(0xa0))/0x8)+parseInt(_0x741552(0x16c))/0x9;if(_0x36693b===_0x2a46d9)break;else _0x4b8711['push'](_0x4b8711['shift']());}catch(_0x1e4f44){_0x4b8711['push'](_0x4b8711['shift']());}}}(_0x30d7,0xc3a8a));var $t=Object[_0x20b139(0x212)],xt=(_0x13a9d0,_0x90951c,_0x3be7a2)=>_0x90951c in _0x13a9d0?$t(_0x13a9d0,_0x90951c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3be7a2}):_0x13a9d0[_0x90951c]=_0x3be7a2,_=(_0x5940bc,_0xdad0bc,_0x5898e3)=>xt(_0x5940bc,typeof _0xdad0bc!=_0x20b139(0x162)?_0xdad0bc+'':_0xdad0bc,_0x5898e3);import{MemberService as _0x4f0c96,SessionStatus as _0x2c301f,CollaborationSessionService as _0x1900dc,CollaborationStatus as _0x5acaa6,CollaborationController as _0x51ace9,ILocalCacheService as _0x523410,CollaborationUIEventService as _0x2c1ed3,CollaborationUIEventId as _0x4d7561,DataLoaderService as _0x483742,DocCollaborationEntity as _0x5dfab1,getLocalCacheKey as _0x561f22,LOCAL_CACHE_INTERVAL as _0x3b56b5,LOCAL_CACHE_INTERVAL_KEY as _0x126106,UniverCollaborationClientPlugin as _0xcb9af3,CollaborationSocketService as _0x3d362a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x387f67,DEFAULT_WS_SESSION_TICKET_URL as _0xfaae5d,UnitStatus as _0x192e86,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x41931d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5566a5}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4b656f,Disposable as _0x5a2508,DOC_RANGE_TYPE as _0x2395f6,Inject as _0x1c939e,Injector as _0x4daa5d,IUniverInstanceService as _0x2f34d9,ICommandService as _0x34a904,debounce as _0x14627e,Rectangle as _0xeb5f92,DisposableCollection as _0x373641,toDisposable as _0x3f9328,UniverInstanceType as _0x32fc71,Tools as _0x43fda4,COLORS as _0x393f59,ColorKit as _0xe4fb6f,ThemeService as _0x1057be,fromEventSubject as _0x3fcce7,LocaleService as _0x267399,createIdentifier as _0x146ef2,ILogService as _0x2fbb6e,Optional as _0x2da723,Workbook as _0x2b5572,CommandType as _0x2a14d0,IConfigService as _0xa45751,ILocalStorageService as _0x210c61,DependentOn as _0x8de594,Plugin as _0x23b7c3,merge as _0x33c406,registerDependencies as _0x1b9e6a,mergeOverrideWithDependencies as _0x3baab2,touchDependencies as _0xa3ab0,generateRandomId as _0x5aaced}from'@univerjs/core';import{Shape as _0x3cd147,Rect as _0x272062,getColor as _0x1e30fa,RegularPolygon as _0xa18cb4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x15bfa6,Vector2 as _0x2861bc,SHEET_VIEWPORT_KEY as _0x39eb9b,IRenderManagerService as _0x40468d}from'@univerjs/engine-render';import{ISocketService as _0x1daee3,WebSocketService as _0x348d3f,HTTPService as _0x125174}from'@univerjs/network';import{IDocClipboardService as _0x4592f0,NodePositionConvertToCursor as _0x162b4e,NodePositionConvertToRectRange as _0x3d1e20,TEXT_RANGE_LAYER_INDEX as _0x30b795,SetDocZoomRatioOperation as _0x18710d,DocIMEInputManagerService as _0x446116,DocStateChangeManagerService as _0x865217}from'@univerjs/docs-ui';import{IImageIoService as _0x5559a8}from'@univerjs/drawing';import{BehaviorSubject as _0x11085f,debounceTime as _0xf893be,takeUntil as _0xf25cf2,Subject as _0x30acea,filter as _0x5db483,switchMap as _0x526d31,merge as _0x512e80,combineLatest as _0x789c20,of as _0x5f43bc,fromEvent as _0xbcf92,shareReplay as _0x3281e3,mapTo as _0x39f3db,distinctUntilChanged as _0x1c85aa}from'rxjs';import{SetTextSelectionsOperation as _0x437d4a,RichTextEditingMutation as _0x4644fc,DocSelectionManagerService as _0x243b30,DocSkeletonManagerService as _0x2d32d6}from'@univerjs/docs';import{ITransformService as _0x46cdfe,CollaborationEvent as _0x52635f,isTransformMutationFailure as _0x225519,isTransformMutationsWithChangesetSuccess as _0x3c3130,RevisionService as _0x2ba716,ISnapshotServerService as _0x529d3d}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3cff28,serializeRangeWithSheet as _0x3ecefd}from'@univerjs/engine-formula';import{RefRangeService as _0x33c7cc,SetSelectionsOperation as _0x841254,SheetsSelectionsService as _0x3a20ea,EffectRefRangId as _0x2f11e5,handleIRemoveRow as _0x26218f,handleIRemoveCol as _0xf234b8,handleMoveRange as _0x20cddb,handleInsertRow as _0x4f4288,handleInsertRangeMoveRight as _0xb3ff0,handleInsertRangeMoveDown as _0x33fb2c,handleInsertCol as _0x3ff9c7,handleDeleteRangeMoveUp as _0x5ebc96,handleDeleteRangeMoveLeft as _0x152b31,runRefRangeMutations as _0x9cca88,SetWorksheetActivateCommand as _0x464c2f}from'@univerjs/sheets';import{map as _0x57e253,filter as _0x590b18,throttleTime as _0x136d33,takeUntil as _0x40be45,switchMap as _0x3e28bc}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1bb44c,getCoordByCell as _0x253f7b,getSheetObject as _0x21c351}from'@univerjs/sheets-ui';import{jsx as _0x54050e,jsxs as _0x47d5bd}from'react/jsx-runtime';import{useObservable as _0x49e1f4,useDependency as _0xc0ebc1,IUIPartsService as _0x1385aa,BuiltInUIPart as _0x10fb44,connectInjector as _0x1da372,IBeforeCloseService as _0x353adc,IMessageService as _0x25fc68,INotificationService as _0x20e76c}from'@univerjs/ui';import{Tooltip as _0x29f031,clsx as _0x3a78ae,MessageType as _0x3be6fd}from'@univerjs/design';import{forwardRef as _0x3cab69,useRef as _0x5d5a14,createElement as _0x5e0bcf,useCallback as _0x497736}from'react';import{IRemoteInstanceService as _0xdc6926}from'@univerjs/rpc';var ci=Object[_0x20b139(0x1b2)],li=(_0x1946ce,_0x2a887e,_0x556035,_0x3bc90f)=>{const _0x6b6194=_0x20b139;for(var _0x37f894=_0x3bc90f>0x1?void 0x0:_0x3bc90f?ci(_0x2a887e,_0x556035):_0x2a887e,_0x3f6463=_0x1946ce[_0x6b6194(0x106)]-0x1,_0x33ae9b;_0x3f6463>=0x0;_0x3f6463--)(_0x33ae9b=_0x1946ce[_0x3f6463])&&(_0x37f894=_0x33ae9b(_0x37f894)||_0x37f894);return _0x37f894;},Je=(_0x2d8e9b,_0x49b405)=>(_0x16825c,_0x224ce2)=>_0x49b405(_0x16825c,_0x224ce2,_0x2d8e9b);let Ne=class extends _0x4b656f{constructor(_0x138bd6,_0x17cc40){const _0x4dd895=_0x20b139;super(),this[_0x4dd895(0xdf)]=_0x138bd6,this[_0x4dd895(0x1d3)]=_0x17cc40,this[_0x4dd895(0x27b)]();}[_0x20b139(0x27b)](){const _0x19a8cb=_0x20b139,_0xb574a4=this;this['disposeWithMe'](this[_0x19a8cb(0xdf)]['addClipboardHook']({'onBeforePasteImage':async _0x4f8f5f=>{const _0x3e9c9e=_0x19a8cb,_0xd83ddb=await _0xb574a4[_0x3e9c9e(0x1d3)]['saveImage'](_0x4f8f5f);return _0xd83ddb?{'source':_0xd83ddb[_0x3e9c9e(0x1ce)],'imageSourceType':_0xd83ddb[_0x3e9c9e(0x1c2)]}:null;}}));}};Ne=li([Je(0x0,_0x4592f0),Je(0x1,_0x5559a8)],Ne);const Ze=[_0x20b139(0x26c),_0x20b139(0x217),_0x20b139(0x1ca),_0x20b139(0x147),_0x20b139(0x26b),_0x20b139(0x277)];class ke extends _0x5a2508{constructor(){const _0x21fd91=_0x20b139;super(...arguments),_(this,_0x21fd91(0x207),new Map()),_(this,_0x21fd91(0x15e),0x0);}[_0x20b139(0x1d1)](_0x4e1daa){const _0x24b1c8=_0x20b139;if(this[_0x24b1c8(0x207)][_0x24b1c8(0x23b)](_0x4e1daa))return this[_0x24b1c8(0x207)][_0x24b1c8(0x1b7)](_0x4e1daa);const _0x51ba40=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0x24b1c8(0x15e)]+0x1)%Ze[_0x24b1c8(0x106)],this[_0x24b1c8(0x207)]['set'](_0x4e1daa,_0x51ba40),_0x51ba40;}}function Tt(_0x400b4c){let _0x52ad74='';for(const _0x16336d of _0x400b4c){const {startOffset:_0x1eed3e,endOffset:_0x504ef6,isActive:_0x37054a,rangeType:_0x48a088,segmentId:_0x15ecbf,segmentPage:_0x3f32af}=_0x16336d;_0x52ad74['length']&&(_0x52ad74+=','),_0x52ad74+=_0x1eed3e+':'+_0x504ef6+':'+(_0x37054a?'1':'0')+':'+_0x48a088+':'+_0x15ecbf+':'+_0x3f32af;}return _0x52ad74;}function _i(_0x522830){const _0x2499e9=_0x20b139,_0x5a8f4e=_0x522830[_0x2499e9(0x23e)](','),_0x28c90a=[];for(const _0x5c002e of _0x5a8f4e){const [_0x220444,_0x44f1f1,_0xdbdc69,_0x8979a,_0x211fd0,_0x345681]=_0x5c002e[_0x2499e9(0x23e)](':');_0x28c90a[_0x2499e9(0x285)]({'startOffset':Number(_0x220444),'endOffset':Number(_0x44f1f1),'collapsed':_0x220444===_0x44f1f1,'isActive':_0xdbdc69==='1','rangeType':_0x8979a===_0x2395f6[_0x2499e9(0x19f)]?_0x2395f6[_0x2499e9(0x19f)]:_0x2395f6[_0x2499e9(0x114)],'segmentId':typeof _0x211fd0==_0x2499e9(0x22b)?String(_0x211fd0):'','segmentPage':Number(_0x345681!=null?_0x345681:-0x1)});}return _0x28c90a[_0x2499e9(0x213)](_0x120c30=>_0x120c30[_0x2499e9(0x20e)])||(_0x28c90a[0x0][_0x2499e9(0x20e)]=!0x0),_0x28c90a;}class He extends _0x4b656f{constructor(){const _0x7cf29c=_0x20b139;super(...arguments),_(this,_0x7cf29c(0xce),new _0x11085f(null)),_(this,_0x7cf29c(0x9c),this[_0x7cf29c(0xce)]['asObservable']());}['syncEditingCollabCursor'](_0x5f2c41){const _0x3c964e=_0x20b139,{unitID:_0x182185,memberID:_0x18f5e7,textRanges:_0x5daf59}=_0x5f2c41,_0x313d6b=Tt(_0x5daf59);if(_0x313d6b==='')return;const _0x347255={'unitID':_0x182185,'memberID':_0x18f5e7,'selection':_0x313d6b};this[_0x3c964e(0xce)][_0x3c964e(0x12f)](_0x347255);}}var hi=Object[_0x20b139(0x1b2)],ui=(_0x52eba8,_0x1cbba1,_0x4e3e8f,_0x37f7e1)=>{for(var _0x384feb=_0x37f7e1>0x1?void 0x0:_0x37f7e1?hi(_0x1cbba1,_0x4e3e8f):_0x1cbba1,_0x4e437c=_0x52eba8['length']-0x1,_0x56e9e5;_0x4e437c>=0x0;_0x4e437c--)(_0x56e9e5=_0x52eba8[_0x4e437c])&&(_0x384feb=_0x56e9e5(_0x384feb)||_0x384feb);return _0x384feb;},L=(_0x138fde,_0x5b5af8)=>(_0x241faa,_0x4192a9)=>_0x5b5af8(_0x241faa,_0x4192a9,_0x138fde);const di=0x12c,fi=0x64;let Ue=class extends _0x4b656f{constructor(_0x3afd6c,_0x8d2c9c,_0x3a916d,_0x11cba0,_0x293be4,_0x4c504e,_0x20657c,_0x50be9b,_0x411aac){const _0x20423c=_0x20b139;super(),_(this,_0x20423c(0x11a),!0x1),_(this,'_init',!0x1),_(this,_0x20423c(0x136),new _0x11085f(new Map())),_(this,_0x20423c(0x1d5),this['_cursorInfo$'][_0x20423c(0x202)]()),_(this,_0x20423c(0x1e0),new _0x11085f([])),_(this,_0x20423c(0x109),this[_0x20423c(0x1e0)][_0x20423c(0x199)](_0xf893be(di))),_(this,_0x20423c(0xe4),_0x14627e(_0x32d6e1=>{const _0x9e9bce=_0x20423c,_0x4f831e={'eventID':_0x52635f['UPDATE_CURSOR'],'data':{'unitID':this[_0x9e9bce(0x18c)],'memberID':this[_0x9e9bce(0x1ea)]['getMemberID'](),'selection':Tt(_0x32d6e1)}};this[_0x9e9bce(0x1ea)]['send'](_0x4f831e,this[_0x9e9bce(0x18c)]);},fi)),(this[_0x20423c(0x18c)]=_0x3afd6c,this[_0x20423c(0x1ea)]=_0x8d2c9c,this['_injector']=_0x3a916d,this['_colorAssignService']=_0x11cba0,this['_memberService']=_0x293be4,this[_0x20423c(0x293)]=_0x4c504e,this['_transformService']=_0x20657c,this[_0x20423c(0x226)]=_0x50be9b,this[_0x20423c(0x122)]=_0x411aac);}get['cursorInfo'](){const _0x1bc141=_0x20b139;return this[_0x1bc141(0x136)][_0x1bc141(0x23c)]();}get[_0x20b139(0x198)](){const _0x1f401c=_0x20b139;return this[_0x1f401c(0x1e0)][_0x1f401c(0x23c)]();}['dispose'](){const _0x53bfb3=_0x20b139;super[_0x53bfb3(0x186)](),this[_0x53bfb3(0x136)]['next'](new Map()),this[_0x53bfb3(0x136)][_0x53bfb3(0x181)](),this[_0x53bfb3(0x1e0)][_0x53bfb3(0x12f)]([]),this[_0x53bfb3(0x1e0)][_0x53bfb3(0x181)]();}[_0x20b139(0x1bf)](){const _0x1f1073=_0x20b139;this['_init']||(this['_init']=!0x0,this[_0x1f1073(0x1ea)][_0x1f1073(0x132)][_0x1f1073(0x199)](_0xf25cf2(this[_0x1f1073(0xe8)]))[_0x1f1073(0x1c8)](_0x444b9e=>{const _0x465143=_0x1f1073;_0x444b9e===_0x2c301f[_0x465143(0x1b5)]?this[_0x465143(0x111)]():this[_0x465143(0x265)]();}),this[_0x1f1073(0x1ea)][_0x1f1073(0x135)][_0x1f1073(0x199)](_0xf25cf2(this[_0x1f1073(0xe8)]))[_0x1f1073(0x1c8)](_0xd5717c=>{const _0x4e2a6b=_0x1f1073,_0x37907e=_0xd5717c['eventID'];_0x37907e===_0x52635f[_0x4e2a6b(0xef)]&&this['_onCursorUpdate'](_0xd5717c),_0x37907e===_0x52635f['USERS_LEAVE']&&this['_onCursorDelete'](_0xd5717c);}),this['disposeWithMe'](this[_0x1f1073(0x122)]['onCommandExecuted'](_0x2ffe6b=>{const _0x18897f=_0x1f1073,_0x5b89da=_0x2ffe6b[_0x18897f(0x120)];_0x5b89da!=null&&this['_online']&&_0x2ffe6b['id']===_0x437d4a['id']&&_0x5b89da[_0x18897f(0x1ec)]===this['unitID']&&_0x5b89da[_0x18897f(0x22d)]===!0x1&&_0x5b89da[_0x18897f(0x19a)][_0x18897f(0x106)]>0x0&&this[_0x18897f(0xe4)](_0x5b89da[_0x18897f(0x19a)]);})),this['_syncEditingCollabCursorService'][_0x1f1073(0x9c)][_0x1f1073(0x199)](_0xf25cf2(this[_0x1f1073(0xe8)]))[_0x1f1073(0x1c8)](_0x5a7266=>{const _0x48b201=_0x1f1073;if((_0x5a7266==null?void 0x0:_0x5a7266[_0x48b201(0x18c)])!==this[_0x48b201(0x18c)])return;const _0x481b8a={'eventID':_0x52635f['UPDATE_CURSOR'],'data':_0x5a7266};this[_0x48b201(0x299)](_0x481b8a);}),this[_0x1f1073(0x1f7)](this[_0x1f1073(0x122)][_0x1f1073(0x98)](_0x9260bf=>{const _0x299d40=_0x1f1073;if(_0x9260bf[_0x299d40(0x120)]==null)return;const _0xd2bcc8=_0x9260bf[_0x299d40(0x120)];if(_0x9260bf['id']!==_0x4644fc['id']||_0xd2bcc8['unitId']!==this[_0x299d40(0x18c)])return;const _0xea92c1={'id':_0x299d40(0x210),'params':_0xd2bcc8},_0x261add=this[_0x299d40(0xb9)];for(const [_0x460ef7,_0x4f4b73]of _0x261add){const _0x366147={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4f4b73[_0x299d40(0x19a)]}},_0x1eab90=this[_0x299d40(0xe7)][_0x299d40(0x160)](_0xea92c1,_0x366147,!0x1);if(_0x225519(_0x1eab90))throw _0x1eab90['error'];_0x261add[_0x299d40(0x188)](_0x460ef7,{..._0x4f4b73,'ranges':_0x1eab90[_0x299d40(0x21d)][_0x299d40(0x120)]['textRanges']});}queueMicrotask(()=>{const _0x6fd3af=_0x299d40;this[_0x6fd3af(0x136)][_0x6fd3af(0x12f)](_0x261add);});})));}[_0x20b139(0x299)](_0x665c24){const _0x49fa99=_0x20b139;var _0x1d73f1,_0x42a63c;const {memberID:_0x1d4dc1,selection:_0x455189}=_0x665c24[_0x49fa99(0x171)],_0x257243=_i(_0x455189),_0x3f1781=(_0x42a63c=(_0x1d73f1=this[_0x49fa99(0x1ba)]['getMember'](this[_0x49fa99(0x18c)],_0x1d4dc1))==null?void 0x0:_0x1d73f1[_0x49fa99(0x246)])!=null?_0x42a63c:_0x49fa99(0x1e3),_0x34a95e={'color':this[_0x49fa99(0x12d)][_0x49fa99(0x1d1)](_0x1d4dc1),'name':_0x3f1781,'ranges':_0x257243},_0x3bc2cd=this[_0x49fa99(0xb9)];_0x3bc2cd[_0x49fa99(0x188)](_0x1d4dc1,_0x34a95e),this['_cursorInfo$'][_0x49fa99(0x12f)](_0x3bc2cd);}['_onCursorDelete'](_0x3cfa13){const _0x23f058=_0x20b139,{memberID:_0x42f317}=_0x3cfa13[_0x23f058(0x171)],_0x2e2e95=this[_0x23f058(0xb9)];_0x2e2e95[_0x23f058(0x21e)](_0x42f317),this['_cursorInfo$'][_0x23f058(0x12f)](_0x2e2e95);}[_0x20b139(0x111)](){const _0x394396=_0x20b139;var _0x5f15e4;if(this[_0x394396(0x11a)]=!0x0,((_0x5f15e4=this[_0x394396(0x226)][_0x394396(0x17f)]())==null?void 0x0:_0x5f15e4[_0x394396(0x24d)]())!==this[_0x394396(0x18c)])return;const _0x45befe=this[_0x394396(0x252)][_0x394396(0x1b7)](_0x243b30)[_0x394396(0x235)]();Array[_0x394396(0xb8)](_0x45befe)&&_0x45befe[_0x394396(0x106)]>0x0&&this[_0x394396(0xe4)](_0x45befe);}[_0x20b139(0x265)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x1c939e(_0x4daa5d)),L(0x3,_0x1c939e(ke)),L(0x4,_0x1c939e(_0x4f0c96)),L(0x5,_0x1c939e(He)),L(0x6,_0x46cdfe),L(0x7,_0x2f34d9),L(0x8,_0x34a904)],Ue);var Si=Object[_0x20b139(0x1b2)],mi=(_0x470190,_0x3de03e,_0x59eb3a,_0x3f45bb)=>{const _0x105c7d=_0x20b139;for(var _0x3c6ca3=_0x3f45bb>0x1?void 0x0:_0x3f45bb?Si(_0x3de03e,_0x59eb3a):_0x3de03e,_0x53be2f=_0x470190[_0x105c7d(0x106)]-0x1,_0x55eed0;_0x53be2f>=0x0;_0x53be2f--)(_0x55eed0=_0x470190[_0x53be2f])&&(_0x3c6ca3=_0x55eed0(_0x3c6ca3)||_0x3c6ca3);return _0x3c6ca3;},x=(_0x311e64,_0x4ecd52)=>(_0xc575e2,_0x3cc972)=>_0x4ecd52(_0xc575e2,_0x3cc972,_0x311e64);const gi=0x12c,Ii=0x64,vi=()=>{let _0x45ca29=[],_0x3722d8=!0x1;return _0x1e7e20=>{_0x45ca29['push'](_0x1e7e20),_0x3722d8||(_0x3722d8=!0x0,setTimeout(()=>{const _0xf7420=_0x5d52;_0x45ca29[_0xf7420(0x205)](_0xa6ad62=>_0xa6ad62()),_0x45ca29=[],_0x3722d8=!0x1;}));};};let Me=class extends _0x4b656f{constructor(_0x4707e5,_0x112970,_0x502862,_0x139c0c,_0x566a89,_0x1e7778,_0x2dd0a6,_0x57e41d){const _0x25d21e=_0x20b139;super(),_(this,'_online',!0x1),_(this,_0x25d21e(0x27b),!0x1),_(this,_0x25d21e(0x136),new _0x11085f(new Map())),_(this,'cursorInfo$',this[_0x25d21e(0x136)][_0x25d21e(0x202)]()),_(this,_0x25d21e(0x1e0),new _0x11085f([])),_(this,'roomMembers$',this[_0x25d21e(0x1e0)]['pipe'](_0xf893be(gi))),_(this,_0x25d21e(0xe4),_0x14627e((_0x252a41,_0x54f81d)=>{const _0x49680c=_0x25d21e,_0x3cde36={'eventID':_0x52635f[_0x49680c(0xef)],'data':{'unitID':this[_0x49680c(0x18c)],'memberID':this[_0x49680c(0x1ea)][_0x49680c(0x223)](),'selection':_0x3ecefd(_0x252a41,_0x54f81d[_0x49680c(0x1d4)])}};this[_0x49680c(0x1ea)][_0x49680c(0xcb)](_0x3cde36,this[_0x49680c(0x18c)]);},Ii)),(this[_0x25d21e(0x18c)]=_0x4707e5,this[_0x25d21e(0x1ea)]=_0x112970,this[_0x25d21e(0x252)]=_0x502862,this[_0x25d21e(0x12d)]=_0x139c0c,this[_0x25d21e(0x1ba)]=_0x566a89,this[_0x25d21e(0x226)]=_0x1e7778,this[_0x25d21e(0x122)]=_0x2dd0a6,this['_refRangeService']=_0x57e41d);}get[_0x20b139(0xb9)](){const _0x621456=_0x20b139;return this[_0x621456(0x136)][_0x621456(0x23c)]();}get[_0x20b139(0x198)](){const _0x398f1f=_0x20b139;return this[_0x398f1f(0x1e0)][_0x398f1f(0x23c)]();}[_0x20b139(0x186)](){const _0x5c23fc=_0x20b139;super[_0x5c23fc(0x186)](),this[_0x5c23fc(0x136)][_0x5c23fc(0x12f)](new Map()),this['_cursorInfo$'][_0x5c23fc(0x181)](),this[_0x5c23fc(0x1e0)]['next']([]),this[_0x5c23fc(0x1e0)][_0x5c23fc(0x181)]();}[_0x20b139(0x1bf)](){const _0x36430c=_0x20b139;this[_0x36430c(0x27b)]||(this['_init']=!0x0,this[_0x36430c(0x1ea)][_0x36430c(0x132)][_0x36430c(0x199)](_0xf25cf2(this['dispose$']))['subscribe'](_0xa7ddbd=>{const _0x358ab2=_0x36430c;_0xa7ddbd===_0x2c301f[_0x358ab2(0x1b5)]?this[_0x358ab2(0x111)]():this['_toggleOffline']();}),this[_0x36430c(0x1ea)][_0x36430c(0x135)][_0x36430c(0x199)](_0xf25cf2(this[_0x36430c(0xe8)]))[_0x36430c(0x1c8)](_0x2e8afb=>{const _0x591b0d=_0x36430c,_0x14be77=_0x2e8afb[_0x591b0d(0x165)];_0x14be77===_0x52635f[_0x591b0d(0xef)]&&this[_0x591b0d(0x299)](_0x2e8afb),_0x14be77===_0x52635f[_0x591b0d(0xa9)]&&this[_0x591b0d(0x272)](_0x2e8afb);}),this['_onRefRangeChange'](),this[_0x36430c(0x1f7)](this['_commandService'][_0x36430c(0x98)](_0x47ea69=>{const _0x27ce21=_0x36430c;if(this[_0x27ce21(0x11a)]&&_0x47ea69['id']===_0x841254['id']&&_0x47ea69['params'][_0x27ce21(0x1ec)]===this[_0x27ce21(0x18c)]){const _0x21534d=_0x47ea69[_0x27ce21(0x120)];this['_updateLocalCursor'](_0x21534d[_0x27ce21(0xd2)],_0x21534d[_0x27ce21(0x1a2)][0x0]);}})));}['_onCursorUpdate'](_0x330a7c){const _0x195361=_0x20b139;var _0x521d09,_0x25b46a;const {memberID:_0x561eb8,selection:_0x2fbb3c}=_0x330a7c[_0x195361(0x171)],{sheetName:_0x582ba4,range:_0x46b5be}=_0x3cff28(_0x2fbb3c),_0x52c680={'name':(_0x25b46a=(_0x521d09=this['_memberService'][_0x195361(0x1b8)](this[_0x195361(0x18c)],_0x561eb8))==null?void 0x0:_0x521d09[_0x195361(0x246)])!=null?_0x25b46a:'Unknown\x20user','range':this[_0x195361(0x26f)](_0x582ba4,_0x46b5be),'sheetID':_0x582ba4,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x561eb8),'selection':_0x2fbb3c},_0xd2333b=this[_0x195361(0xb9)];_0xd2333b[_0x195361(0x188)](_0x561eb8,_0x52c680),this[_0x195361(0x136)]['next'](_0xd2333b);}[_0x20b139(0x272)](_0x496c0b){const _0x326358=_0x20b139,{memberID:_0x50be80}=_0x496c0b['data'],_0x4dd362=this[_0x326358(0xb9)];_0x4dd362[_0x326358(0x21e)](_0x50be80),this[_0x326358(0x136)]['next'](_0x4dd362);}[_0x20b139(0x26f)](_0x2e963b,_0x310585){const _0x3eeec8=_0x20b139;var _0x4cd047,_0x42bf98;const _0xe86eb4=(_0x42bf98=(_0x4cd047=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x3eeec8(0x18c)]))==null?void 0x0:_0x4cd047['getSheetBySheetId'](_0x2e963b))==null?void 0x0:_0x42bf98[_0x3eeec8(0x236)]();return(_0xe86eb4==null?void 0x0:_0xe86eb4['find'](_0xf30cea=>_0xeb5f92[_0x3eeec8(0xd4)](_0xf30cea,_0x310585)))||_0x310585;}['_onRefRangeChange'](){const _0x622b14=_0x20b139,_0x14c254=new _0x373641(),_0x144bf1=vi(),_0x354010=()=>{const _0x508109=_0x5d52;_0x14c254[_0x508109(0x186)]();const _0x37340f=(_0x268d01,_0x1e00ff,_0x465c0d,_0x5d7528)=>{const _0xfeb118=_0x508109;let _0x3b0c99=[];switch(_0x268d01['id']){case _0x2f11e5[_0xfeb118(0x1a8)]:{_0x3b0c99=_0x152b31(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0xae)]:{_0x3b0c99=_0x5ebc96(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0xd7)]:{_0x3b0c99=_0x3ff9c7(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x1d0)]:{_0x3b0c99=_0x33fb2c(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x10c)]:{_0x3b0c99=_0xb3ff0(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x1cb)]:{_0x3b0c99=_0x4f4288(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x145)]:{_0x3b0c99=_0x20cddb(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x119)]:{_0x3b0c99=_0xf234b8(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x1f0)]:{_0x3b0c99=_0x26218f(_0x268d01,_0x5d7528);break;}}const _0xd207d3=_0x9cca88(_0x3b0c99,_0x5d7528),_0x46c1fa=this[_0xfeb118(0xb9)]['get'](_0x1e00ff);if(_0x46c1fa&&_0xd207d3){const _0x30d90c={..._0x46c1fa,'range':_0xd207d3};this[_0xfeb118(0xb9)][_0xfeb118(0x188)](_0x1e00ff,_0x30d90c),_0x144bf1(()=>{const _0x3b4179=_0xfeb118,_0x551e78=this['_refRangeService'][_0x3b4179(0x1ab)](_0xd207d3,_0x5d91ca=>(_0x551e78[_0x3b4179(0x186)](),_0x37340f(_0x5d91ca,_0x1e00ff,_0x465c0d,_0xd207d3)));_0x14c254['add'](_0x551e78);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x508109(0x205)]((_0xe1a5ab,_0x747e4b)=>{const _0x15fd52=_0x508109,{range:_0x5f1139,sheetID:_0x150088}=_0xe1a5ab,_0x370206=this[_0x15fd52(0x143)][_0x15fd52(0x1ab)](_0x5f1139,_0x503baa=>(_0x370206[_0x15fd52(0x186)](),_0x37340f(_0x503baa,_0x747e4b,_0x150088,_0x5f1139)));_0x14c254[_0x15fd52(0x289)](_0x370206);});};this[_0x622b14(0x1f7)](_0x3f9328(this[_0x622b14(0x136)][_0x622b14(0x1c8)](()=>{_0x354010();})));}[_0x20b139(0x111)](){const _0x133b2c=_0x20b139;var _0x477edf,_0x5979ed;if(this['_online']=!0x0,((_0x477edf=this[_0x133b2c(0x226)][_0x133b2c(0x17f)]())==null?void 0x0:_0x477edf[_0x133b2c(0x24d)]())!==this[_0x133b2c(0x18c)])return;const _0x2360b1=(_0x5979ed=this[_0x133b2c(0x252)][_0x133b2c(0x1b7)](_0x3a20ea)[_0x133b2c(0xf1)]())==null?void 0x0:_0x5979ed[0x0],_0x13c9b1=this[_0x133b2c(0x226)][_0x133b2c(0x128)](_0x32fc71[_0x133b2c(0x1d7)])[_0x133b2c(0x268)]();_0x2360b1&&_0x13c9b1&&this[_0x133b2c(0xe4)](_0x13c9b1['getSheetId'](),_0x2360b1);}[_0x20b139(0x265)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x1c939e(_0x4daa5d)),x(0x3,_0x1c939e(ke)),x(0x4,_0x1c939e(_0x4f0c96)),x(0x5,_0x2f34d9),x(0x6,_0x34a904),x(0x7,_0x1c939e(_0x33c7cc))],Me);var pi=Object[_0x20b139(0x1b2)],Ci=(_0x186b23,_0x42f34d,_0x1b4297,_0x24a364)=>{const _0x59628a=_0x20b139;for(var _0x42e46e=_0x24a364>0x1?void 0x0:_0x24a364?pi(_0x42f34d,_0x1b4297):_0x42f34d,_0x2b81b9=_0x186b23[_0x59628a(0x106)]-0x1,_0xcaf846;_0x2b81b9>=0x0;_0x2b81b9--)(_0xcaf846=_0x186b23[_0x2b81b9])&&(_0x42e46e=_0xcaf846(_0x42e46e)||_0x42e46e);return _0x42e46e;},Se=(_0x2b33f7,_0x3a251d)=>(_0x4c5a08,_0x332602)=>_0x3a251d(_0x4c5a08,_0x332602,_0x2b33f7);let H=class extends _0x4b656f{constructor(_0x4c029c,_0x203a75,_0x1aa5c7){const _0x3ee1c8=_0x20b139;super(),_(this,_0x3ee1c8(0xbd),new Map()),_(this,_0x3ee1c8(0x1bc),new _0x30acea()),(this['_univerInstanceService']=_0x4c029c,this[_0x3ee1c8(0x252)]=_0x203a75,this[_0x3ee1c8(0x125)]=_0x1aa5c7,this[_0x3ee1c8(0x27b)]());}['dispose'](){const _0x5d660d=_0x20b139;super['dispose'](),this[_0x5d660d(0x1bc)]['complete'](),this['_entities'][_0x5d660d(0x205)](_0x1eb44a=>_0x1eb44a[_0x5d660d(0x186)]());}[_0x20b139(0x121)](_0x176247){const _0x5912f0=_0x20b139;return this[_0x5912f0(0xbd)][_0x5912f0(0x23b)](_0x176247)?this[_0x5912f0(0xbd)][_0x5912f0(0x1b7)](_0x176247)[_0x5912f0(0x1d5)]:this[_0x5912f0(0x1bc)]['pipe'](_0x5db483(_0x391d2d=>_0x391d2d[_0x5912f0(0x18c)]===_0x176247),_0x526d31(_0x24ecf5=>_0x24ecf5[_0x5912f0(0x1d5)]));}[_0x20b139(0x27b)](){const _0x29a31f=_0x20b139;this[_0x29a31f(0x226)]['getTypeOfUnitAdded$'](_0x32fc71[_0x29a31f(0x1d7)])[_0x29a31f(0x199)](_0xf25cf2(this[_0x29a31f(0xe8)]))[_0x29a31f(0x1c8)](async _0x38e250=>{const _0x44c6d8=_0x29a31f,_0x4fef04=_0x38e250[_0x44c6d8(0x24d)](),_0x1ede16=await this['_startSheetCollabCursor'](_0x4fef04);this[_0x44c6d8(0x1bc)][_0x44c6d8(0x12f)](_0x1ede16),this[_0x44c6d8(0xbd)][_0x44c6d8(0x188)](_0x4fef04,_0x1ede16);}),this[_0x29a31f(0x226)][_0x29a31f(0x1ef)](_0x32fc71[_0x29a31f(0xc0)])[_0x29a31f(0x199)](_0xf25cf2(this[_0x29a31f(0xe8)]))['pipe'](_0x5db483(_0x31f255=>!_0x31f255[_0x29a31f(0x24d)]()[_0x29a31f(0x1cd)]('__')))[_0x29a31f(0x1c8)](async _0x373bf3=>{const _0x544a79=_0x29a31f,_0x3670c6=_0x373bf3[_0x544a79(0x24d)](),_0x3c7934=await this[_0x544a79(0x25b)](_0x3670c6);this[_0x544a79(0x1bc)][_0x544a79(0x12f)](_0x3c7934),this[_0x544a79(0xbd)][_0x544a79(0x188)](_0x3670c6,_0x3c7934);}),_0x512e80(this[_0x29a31f(0x226)][_0x29a31f(0xe1)](_0x32fc71['UNIVER_DOC']),this[_0x29a31f(0x226)]['getTypeOfUnitDisposed$'](_0x32fc71[_0x29a31f(0x1d7)]))[_0x29a31f(0x199)](_0xf25cf2(this[_0x29a31f(0xe8)]))[_0x29a31f(0x1c8)](_0x255747=>{const _0xcede2=_0x29a31f,_0x2de1c1=_0x255747['getUnitId'](),_0x9156d=this[_0xcede2(0xbd)][_0xcede2(0x1b7)](_0x2de1c1);_0x9156d&&(_0x9156d[_0xcede2(0x186)](),this[_0xcede2(0xbd)][_0xcede2(0x21e)](_0x2de1c1));});}async['_startSheetCollabCursor'](_0xf67b7){const _0x202bca=_0x20b139,_0x1fd2e4=await this['_collabSessionService'][_0x202bca(0x178)](_0xf67b7),_0x4f6db9=this['_injector'][_0x202bca(0x1c0)](Me,_0xf67b7,_0x1fd2e4);return _0x4f6db9['init'](),_0x4f6db9;}async[_0x20b139(0x25b)](_0x2989c6){const _0x4bfe9a=_0x20b139,_0xedc013=await this['_collabSessionService']['requireSession'](_0x2989c6),_0x2005d2=this['_injector'][_0x4bfe9a(0x1c0)](Ue,_0x2989c6,_0xedc013);return _0x2005d2[_0x4bfe9a(0x1bf)](),_0x2005d2;}};H=Ci([Se(0x0,_0x2f34d9),Se(0x1,_0x1c939e(_0x4daa5d)),Se(0x2,_0x1c939e(_0x1900dc))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x1a154e,_0x2323a9){const _0x5bd980=_0x20b139;let {radius:_0x52b9a9,width:_0x347026,height:_0x3c8925}=_0x2323a9;_0x52b9a9=_0x52b9a9!=null?_0x52b9a9:0x0,_0x347026=_0x347026!=null?_0x347026:0x1e,_0x3c8925=_0x3c8925!=null?_0x3c8925:0x1e;let _0x2c1c75=0x0,_0x1b1a1f=0x0,_0x4bc205=0x0;_0x2c1c75=_0x1b1a1f=_0x4bc205=Math[_0x5bd980(0x13f)](_0x52b9a9,_0x347026/0x2,_0x3c8925/0x2),_0x1a154e['beginPath'](),_0x1a154e[_0x5bd980(0xee)](_0x2c1c75,0x0),_0x1a154e[_0x5bd980(0x221)](_0x347026-_0x1b1a1f,0x0),_0x1a154e[_0x5bd980(0x15c)](_0x347026-_0x1b1a1f,_0x1b1a1f,_0x1b1a1f,Math['PI']*0x3/0x2,0x0,!0x1),_0x1a154e[_0x5bd980(0x221)](_0x347026,_0x3c8925-_0x4bc205),_0x1a154e[_0x5bd980(0x15c)](_0x347026-_0x4bc205,_0x3c8925-_0x4bc205,_0x4bc205,0x0,Math['PI']/0x2,!0x1),_0x1a154e['lineTo'](0x0,_0x3c8925),_0x1a154e['lineTo'](0x0,_0x2c1c75),_0x1a154e[_0x5bd980(0x15c)](_0x2c1c75,_0x2c1c75,_0x2c1c75,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1a154e[_0x5bd980(0xe5)](),_0x2323a9[_0x5bd980(0xb5)]&&(_0x1a154e[_0x5bd980(0xf0)](),_0x1a154e[_0x5bd980(0x222)]=_0x2323a9[_0x5bd980(0xb5)],_0x2323a9['fillRule']===_0x5bd980(0x1a1)?_0x1a154e[_0x5bd980(0xb5)](_0x5bd980(0x1a1)):_0x1a154e[_0x5bd980(0xb5)](),_0x1a154e[_0x5bd980(0x229)]());}class he extends _0x3cd147{constructor(_0x5bfbe5,_0x20f68f){const _0x543814=_0x20b139;super(_0x5bfbe5,_0x20f68f),_(this,_0x543814(0x1ac)),_(this,_0x543814(0x24e)),(this[_0x543814(0x1ac)]=_0x20f68f==null?void 0x0:_0x20f68f[_0x543814(0x1ac)],this[_0x543814(0x24e)]=_0x20f68f==null?void 0x0:_0x20f68f['text']);}static['drawWith'](_0x11688a,_0x2cf9b3){const _0x574023=_0x20b139,{text:_0x33b863,color:_0xb76a63}=_0x2cf9b3;_0x11688a['save'](),_0x11688a[_0x574023(0x12a)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x19ff3e=_0x11688a[_0x574023(0x19c)](_0x33b863)[_0x574023(0x1da)],_0x539830=Math['min'](_0x19ff3e+0x2*me,Qe);Oi(_0x11688a,{'height':ee,'radius':0x4,'width':_0x539830,'fill':_0xb76a63}),_0x11688a[_0x574023(0x222)]='#FFF';const _0x1b06a5=me,_0x5a83a7=ee-Ei,_0x145526=Qe-0x2*me;if(_0x19ff3e>_0x145526){let _0x4d24f5='',_0x16ad76=0x0;for(const _0x215ec4 of _0x33b863){const _0x16a360=_0x11688a['measureText'](_0x215ec4)[_0x574023(0x1da)];if(_0x16ad76+_0x16a360<=_0x145526-_0x11688a[_0x574023(0x19c)]('...')[_0x574023(0x1da)])_0x4d24f5+=_0x215ec4,_0x16ad76+=_0x16a360;else{_0x4d24f5+=_0x574023(0x26e);break;}}_0x11688a[_0x574023(0xf8)](_0x4d24f5,_0x1b06a5,_0x5a83a7);}else _0x11688a[_0x574023(0xf8)](_0x33b863,_0x1b06a5,_0x5a83a7);_0x11688a[_0x574023(0x229)]();}['_draw'](_0x3b01e1){he['drawWith'](_0x3b01e1,this);}}const ge='collab-text-anchor-',bi='collab-text-range-',Ti=_0x20b139(0x256),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x20b139(0xdc);class qe{constructor(_0x1cafb7,_0x1f16f1,_0x16dc7e,_0xdaf1d5){const _0x208a83=_0x20b139;_(this,_0x208a83(0x9d),[]),_(this,_0x208a83(0x11c),null),_(this,_0x208a83(0x269),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x1cafb7,this[_0x208a83(0x17d)]=_0x1f16f1,this[_0x208a83(0x245)]=_0x16dc7e,this[_0x208a83(0x173)]=_0xdaf1d5,this['_render']());}set['_hover'](_0x502dee){const _0x1ee4b8=_0x20b139;_0x502dee?(this['_anchorDot']&&this[_0x1ee4b8(0x1f2)]['hide'](),this[_0x1ee4b8(0x269)]&&this[_0x1ee4b8(0x269)][_0x1ee4b8(0x201)]()):(this[_0x1ee4b8(0x1f2)]&&this['_anchorDot'][_0x1ee4b8(0x201)](),this[_0x1ee4b8(0x269)]&&this[_0x1ee4b8(0x269)]['hide']());}[_0x20b139(0x186)](){const _0x523831=_0x20b139;for(const _0x180ed4 of this[_0x523831(0x9d)])_0x180ed4[_0x523831(0x186)]();this[_0x523831(0x269)]&&this['_textBubble'][_0x523831(0x186)](),this[_0x523831(0x1f2)]&&this[_0x523831(0x1f2)]['dispose'](),this['_anchor']&&this[_0x523831(0x11c)][_0x523831(0x186)](),this['_eventUnsubscribe']&&this[_0x523831(0x14b)]();}[_0x20b139(0xe3)](){const _0x3a4b94=_0x20b139;var _0x2650c0;const {_docSkeleton:_0x256ab5,_document:_0x271029}=this,{color:_0x29eeae,name:_0x17da73,ranges:_0x4add37}=this['_cursor'],_0x56eb11=_0x271029[_0x3a4b94(0x1dd)](),{docsLeft:_0x45b83c,docsTop:_0x169df3}=_0x56eb11,_0x5345d2=new _0x162b4e(_0x56eb11,_0x256ab5);for(const {startOffset:_0x4198b8,endOffset:_0x41f8ed,rangeType:_0x447bae,segmentId:_0x290534,segmentPage:_0x365ef3,collapsed:_0x320a53,isActive:_0x37fb89}of _0x4add37){const _0x26c5db=_0x256ab5[_0x3a4b94(0x286)](_0x4198b8,!0x0,_0x290534,_0x365ef3);let _0x326b90=_0x256ab5['findNodePositionByCharIndex'](_0x41f8ed,!0x0,_0x290534,_0x365ef3);if(_0x326b90==null&&(_0x326b90=_0x256ab5[_0x3a4b94(0x286)](_0x41f8ed-0x1,!0x1,_0x290534,_0x365ef3)),_0x37fb89){const {contentBoxPointGroup:_0x225b83}=_0x5345d2[_0x3a4b94(0x291)](_0x326b90,_0x326b90);if(_0x225b83[_0x3a4b94(0x106)]===0x0)continue;this[_0x3a4b94(0x21b)](_0x29eeae,_0x225b83,_0x45b83c,_0x169df3,_0x17da73),this[_0x3a4b94(0x14b)]=this[_0x3a4b94(0x13d)]();}if(_0x26c5db&&_0x326b90){if(_0x447bae===_0x2395f6['RECT']){const _0x5d7067=new _0x3d1e20(_0x56eb11,_0x256ab5),{pointGroup:_0x53a112}=(_0x2650c0=_0x5d7067[_0x3a4b94(0x291)](_0x26c5db,_0x326b90))!=null?_0x2650c0:{};if(_0x53a112==null||_0x53a112[_0x3a4b94(0x106)]===0x0)continue;this[_0x3a4b94(0x27d)](_0x29eeae,_0x53a112,_0x45b83c,_0x169df3);}else{if(!_0x320a53){const {borderBoxPointGroup:_0x20d34b}=_0x5345d2[_0x3a4b94(0x291)](_0x26c5db,_0x326b90);if(_0x20d34b[_0x3a4b94(0x106)]===0x0)continue;this[_0x3a4b94(0xdd)](_0x29eeae,_0x20d34b,_0x45b83c,_0x169df3);}}}}}[_0x20b139(0x21b)](_0x4ce874,_0x7d3ee0,_0x4b32da,_0x81c53d,_0x2d8745){const _0x1cf575=_0x20b139,_0x5869ca=this[_0x1cf575(0xac)](_0x7d3ee0),{left:_0x52dc7f,top:_0x4a6713,height:_0x4a6331}=_0x5869ca,_0x1a7a8e=this['_getScale'](),_0x4069f5=Di/_0x1a7a8e,_0x233bc4=new _0x272062(ge+_0x43fda4[_0x1cf575(0x27a)](X),{'left':_0x52dc7f+_0x4b32da-_0x4069f5,'top':_0x4a6713+_0x81c53d,'height':_0x4a6331,'width':Ri,'fill':_0x4ce874||_0x1e30fa(_0x393f59[_0x1cf575(0x266)],0x0),'strokeWidth':_0x4069f5,'stroke':Ni,'evented':!0x0});this[_0x1cf575(0x11c)]=_0x233bc4,this[_0x1cf575(0x17d)][_0x1cf575(0x1fe)](_0x233bc4,_0x30b795);const _0x20bc28=new _0x272062(ge+_0x43fda4[_0x1cf575(0x27a)](X),{'left':_0x52dc7f+_0x4b32da-_0x4069f5,'top':_0x4a6713+_0x81c53d-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x4ce874||_0x1e30fa(_0x393f59['black'],0x0),'strokeWidth':0x0,'stroke':_0x4ce874||_0x1e30fa(_0x393f59[_0x1cf575(0x266)],0x0),'evented':!0x1});this[_0x1cf575(0x1f2)]=_0x20bc28,this[_0x1cf575(0x17d)][_0x1cf575(0x1fe)](_0x20bc28,_0x30b795);const _0x2a5c0e=new he(ge+_0x43fda4['generateRandomId'](X),{'left':_0x52dc7f+_0x4b32da-_0x4069f5,'top':_0x4a6713+_0x81c53d-ee,'text':_0x2d8745,'color':_0x4ce874});this['_textBubble']=_0x2a5c0e,this[_0x1cf575(0x17d)][_0x1cf575(0x1fe)](_0x2a5c0e,_0x30b795),this[_0x1cf575(0x22e)]=!0x1;}[_0x20b139(0x13d)](){const _0x33b940=_0x20b139,_0x249f2e=this[_0x33b940(0x11c)]['onPointerEnter$'][_0x33b940(0x242)](()=>{const _0x2044b0=_0x33b940;this[_0x2044b0(0x22e)]=!0x0;}),_0x155718=this[_0x33b940(0x11c)][_0x33b940(0xeb)]['subscribeEvent'](()=>{const _0x1d477a=_0x33b940;this[_0x1d477a(0x19e)]&&clearTimeout(this[_0x1d477a(0x19e)]),this[_0x1d477a(0x19e)]=setTimeout(()=>{const _0x1bda56=_0x1d477a;this[_0x1bda56(0x22e)]=!0x1;},0x7d0);});return()=>{const _0x2f1c4f=_0x33b940;_0x249f2e[_0x2f1c4f(0x206)](),_0x155718[_0x2f1c4f(0x206)]();};}[_0x20b139(0xdd)](_0x4f354a,_0x5a04f5,_0x3e5fbc,_0xf0af1f){const _0x2776bf=_0x20b139,_0x5b13ff=new _0xe4fb6f(_0x4f354a)['setAlpha'](0.2)[_0x2776bf(0xb0)](),_0x1fc81b=new _0xa18cb4(bi+_0x43fda4['generateRandomId'](X),{'pointsGroup':_0x5a04f5,'fill':_0x5b13ff||_0x1e30fa(_0x393f59[_0x2776bf(0x266)],0.2),'left':_0x3e5fbc,'top':_0xf0af1f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2776bf(0x9d)][_0x2776bf(0x285)](_0x1fc81b),this[_0x2776bf(0x17d)][_0x2776bf(0x1fe)](_0x1fc81b,_0x30b795);}[_0x20b139(0x27d)](_0x40d91a,_0x5e6d59,_0x2d9d39,_0x457c3e){const _0x169620=_0x20b139,_0x1a646b=new _0xe4fb6f(_0x40d91a)[_0x169620(0xd1)](0.2)[_0x169620(0xb0)](),_0x5a9d06=new _0xa18cb4(Ti+_0x43fda4[_0x169620(0x27a)](X),{'pointsGroup':_0x5e6d59,'fill':_0x1a646b||_0x1e30fa(_0x393f59[_0x169620(0x266)],0.2),'left':_0x2d9d39,'top':_0x457c3e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x169620(0x9d)][_0x169620(0x285)](_0x5a9d06),this[_0x169620(0x17d)][_0x169620(0x1fe)](_0x5a9d06,_0x30b795);}[_0x20b139(0xac)](_0x5ab512){const _0x2b5da4=_0x5ab512[0x0],_0x398fd1=_0x2b5da4[0x0],_0x3b3d55=_0x2b5da4[0x2],{x:_0x23f8bc,y:_0x2c5150}=_0x398fd1,{x:_0x516473,y:_0x1ed4af}=_0x3b3d55;return{'left':_0x23f8bc,'top':_0x2c5150,'width':_0x516473-_0x23f8bc,'height':_0x1ed4af-_0x2c5150};}[_0x20b139(0x131)](){const _0xc72ae3=_0x20b139,{scaleX:_0x2ca164,scaleY:_0x286e8f}=this[_0xc72ae3(0x17d)]['getAncestorScale']();return Math[_0xc72ae3(0x28a)](_0x2ca164,_0x286e8f);}}var Ui=Object[_0x20b139(0x1b2)],Mi=(_0x5cde34,_0x858146,_0x4bb1e4,_0x15a046)=>{for(var _0x29fdca=_0x15a046>0x1?void 0x0:_0x15a046?Ui(_0x858146,_0x4bb1e4):_0x858146,_0x2fb1d5=_0x5cde34['length']-0x1,_0x194ca2;_0x2fb1d5>=0x0;_0x2fb1d5--)(_0x194ca2=_0x5cde34[_0x2fb1d5])&&(_0x29fdca=_0x194ca2(_0x29fdca)||_0x29fdca);return _0x29fdca;},Z=(_0x1568b2,_0x125585)=>(_0x422188,_0x98499f)=>_0x125585(_0x422188,_0x98499f,_0x1568b2);let Pe=class extends _0x4b656f{constructor(_0x240389,_0x19ef31,_0x1649aa,_0x2c9bba,_0x23b27c){const _0xc7bedc=_0x20b139;super(),_(this,_0xc7bedc(0xf7),[]),_(this,_0xc7bedc(0x260),[]),(this[_0xc7bedc(0x247)]=_0x240389,this[_0xc7bedc(0x166)]=_0x19ef31,this[_0xc7bedc(0x12c)]=_0x1649aa,this['_commandService']=_0x2c9bba,this['_themeService']=_0x23b27c,this['_init']());}['_init'](){const _0x1b338f=_0x20b139,_0x4e18df=this[_0x1b338f(0x247)][_0x1b338f(0x1ec)],_0x1df7f2=this['_docSkeletonManagerService'];this[_0x1b338f(0x1f7)](_0x789c20([this[_0x1b338f(0x12c)][_0x1b338f(0x121)](_0x4e18df),this[_0x1b338f(0x287)][_0x1b338f(0x192)]])[_0x1b338f(0x199)](_0x57e253(([_0x2b5971,_0x5d55ef])=>({'skeleton':_0x1df7f2[_0x1b338f(0x20a)](),'cursors':[..._0x2b5971['values']()][_0x1b338f(0x102)](_0xd3d964=>({..._0xd3d964,'color':this[_0x1b338f(0x287)][_0x1b338f(0x184)](_0xd3d964[_0x1b338f(0x1ac)])}))})))[_0x1b338f(0x1c8)](_0x313a67=>{const _0x49c172=_0x1b338f;if(this['_removeCollabCursors'](),_0x313a67){const {skeleton:_0x1d8880,cursors:_0x2180a4}=_0x313a67;this[_0x49c172(0x170)](_0x1d8880,_0x2180a4);}})),this[_0x1b338f(0x174)](),this[_0x1b338f(0x176)]();}[_0x20b139(0x170)](_0x57cd37,_0x518cb8){const _0x371eaa=_0x20b139,{scene:_0x1aed62,mainComponent:_0x19d61e}=this[_0x371eaa(0x247)],_0x23478=_0x518cb8[_0x371eaa(0xda)](_0x46bfb9=>new qe(_0x46bfb9,_0x1aed62,_0x57cd37,_0x19d61e));this['_cursorShapes']=_0x23478,this[_0x371eaa(0x260)]=_0x518cb8;}[_0x20b139(0xaf)](){const _0x4f50e5=_0x20b139;this[_0x4f50e5(0x175)]();const {scene:_0x5f430b,mainComponent:_0x14084d}=this[_0x4f50e5(0x247)],_0x332d1c=this[_0x4f50e5(0x166)]['getSkeleton'](),_0x23b7a1=this[_0x4f50e5(0x260)]['map'](_0x3ca989=>new qe(_0x3ca989,_0x5f430b,_0x332d1c,_0x14084d));this[_0x4f50e5(0xf7)]=_0x23b7a1;}[_0x20b139(0x175)](){const _0x1cf532=_0x20b139;this['_cursorShapes'][_0x1cf532(0x205)](_0x186ce=>_0x186ce[_0x1cf532(0x186)]()),this[_0x1cf532(0xf7)]=[];}[_0x20b139(0x176)](){const _0x4ea83d=_0x20b139,_0x5898da=[_0x18710d['id']];this['disposeWithMe'](this[_0x4ea83d(0x122)][_0x4ea83d(0x98)](_0x5caea1=>{const _0x1d5192=_0x4ea83d;_0x5898da['includes'](_0x5caea1['id'])&&_0x5caea1[_0x1d5192(0x120)]['unitId']===this[_0x1d5192(0x247)][_0x1d5192(0x1ec)]&&this[_0x1d5192(0xaf)]();}));}['_initResize'](){const _0x3a43a0=_0x20b139;this['disposeWithMe'](_0x3fcce7(this[_0x3a43a0(0x247)][_0x3a43a0(0xf2)][_0x3a43a0(0x15d)])[_0x3a43a0(0x199)](_0x590b18(_0x5c8522=>_0x5c8522[_0x3a43a0(0x103)]===_0x15bfa6[_0x3a43a0(0x141)]),_0x136d33(0x10))[_0x3a43a0(0x1c8)](()=>{const _0x5c9305=_0x3a43a0;this[_0x5c9305(0xaf)]();}));}};Pe=Mi([Z(0x1,_0x1c939e(_0x2d32d6)),Z(0x2,_0x1c939e(H)),Z(0x3,_0x34a904),Z(0x4,_0x1c939e(_0x1057be))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x3cd147{constructor(_0x587d10,_0x2ba29e){const _0x5e858e=_0x20b139;super(_0x587d10,_0x2ba29e),_(this,_0x5e858e(0x104)),_(this,_0x5e858e(0x113),!0x1),_(this,_0x5e858e(0x228)),_(this,_0x5e858e(0x10b),''),_(this,_0x5e858e(0x150),_0x5e858e(0x10d)),_(this,_0x5e858e(0x23d)),(_0x2ba29e&&this[_0x5e858e(0x1be)](_0x2ba29e),this[_0x5e858e(0x231)][_0x5e858e(0x242)](()=>this[_0x5e858e(0x1be)]({'hovered':!0x0})),this[_0x5e858e(0xeb)][_0x5e858e(0x242)](()=>this[_0x5e858e(0x1be)]({'hovered':!0x1})));}[_0x20b139(0x1be)](_0x2defce){const _0x3627d5=_0x20b139;var _0x1d5f85,_0x37444d,_0x370fb4,_0x599650,_0x320b26,_0x1db38a;this[_0x3627d5(0x104)]=(_0x1d5f85=_0x2defce[_0x3627d5(0x1ac)])!=null?_0x1d5f85:this[_0x3627d5(0x104)],this[_0x3627d5(0x113)]=(_0x37444d=_0x2defce[_0x3627d5(0x127)])!=null?_0x37444d:this[_0x3627d5(0x113)],this[_0x3627d5(0x228)]=(_0x370fb4=_0x2defce[_0x3627d5(0x1d4)])!=null?_0x370fb4:this['_range'],this[_0x3627d5(0x10b)]=(_0x599650=_0x2defce[_0x3627d5(0x246)])!=null?_0x599650:this[_0x3627d5(0x10b)],this[_0x3627d5(0x150)]=(_0x320b26=_0x2defce[_0x3627d5(0x239)])!=null?_0x320b26:this['_labelPosition'],this[_0x3627d5(0x23d)]=(_0x1db38a=_0x2defce[_0x3627d5(0xfc)])!=null?_0x1db38a:this['_backgroundColor'],this['transformByState']({'width':_0x2defce[_0x3627d5(0x1da)],'height':_0x2defce[_0x3627d5(0x108)]});}[_0x20b139(0x248)](_0x36ca7a){const _0x139ca2=_0x20b139,{row:_0x4f40ed,column:_0x537160}=_0x36ca7a;if(_0x4f40ed>=this[_0x139ca2(0x228)][_0x139ca2(0x1b4)]&&_0x4f40ed<=this[_0x139ca2(0x228)][_0x139ca2(0xaa)]&&_0x537160>=this['_range'][_0x139ca2(0xb2)]&&_0x537160<=this[_0x139ca2(0x228)][_0x139ca2(0x233)]){this[_0x139ca2(0x1be)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x20b139(0x1f6)](_0x13494c){return!0x1;}['_draw'](_0x269b80){const _0x33a563=_0x20b139;_0x272062['drawWith'](_0x269b80,{'width':this['width'],'height':this[_0x33a563(0x108)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x33a563(0x113)]&&(_0x269b80[_0x33a563(0xf0)](),_0x269b80['transform'](0x1,0x0,0x0,0x1,this[_0x33a563(0x1da)],this[_0x33a563(0x150)]===_0x33a563(0x227)?0x0:-0x14),he[_0x33a563(0x10f)](_0x269b80,{'text':this[_0x33a563(0x10b)],'color':this['_color']}),_0x269b80[_0x33a563(0x229)]());}}var Ai=Object[_0x20b139(0x1b2)],yi=(_0x2e97f2,_0x2656e9,_0x1dea93,_0x4df7d7)=>{const _0x434c6b=_0x20b139;for(var _0x46fd39=_0x4df7d7>0x1?void 0x0:_0x4df7d7?Ai(_0x2656e9,_0x1dea93):_0x2656e9,_0x391ac1=_0x2e97f2[_0x434c6b(0x106)]-0x1,_0x189983;_0x391ac1>=0x0;_0x391ac1--)(_0x189983=_0x2e97f2[_0x391ac1])&&(_0x46fd39=_0x189983(_0x46fd39)||_0x46fd39);return _0x46fd39;},ve=(_0x323143,_0x5bdc85)=>(_0x22c870,_0x9cc751)=>_0x5bdc85(_0x22c870,_0x9cc751,_0x323143);const $i=0x1389;let Le=class extends _0x4b656f{constructor(_0xf4f3aa,_0x7e31c6,_0x1128a3,_0x205c83){const _0x5645a0=_0x20b139;super(),_(this,_0x5645a0(0x260),new Set()),_(this,_0x5645a0(0xdb),null),(this[_0x5645a0(0x247)]=_0xf4f3aa,this['_sheetSkeletonManagerService']=_0x7e31c6,this[_0x5645a0(0x12c)]=_0x1128a3,this[_0x5645a0(0x287)]=_0x205c83,this['_init']());}[_0x20b139(0x27b)](){const _0x4b6348=_0x20b139;this['_sheetSkeletonManagerService'][_0x4b6348(0xa1)][_0x4b6348(0x199)](_0x40be45(this['dispose$']),_0x3e28bc(_0x4ad577=>{const _0x514e8f=_0x4b6348;if(_0x4ad577){const _0x2d32c9=_0x4ad577['sheetId'];return _0x789c20(this[_0x514e8f(0x12c)][_0x514e8f(0x121)](this['_context'][_0x514e8f(0x1ec)]),this[_0x514e8f(0x287)][_0x514e8f(0x192)])['pipe'](_0x57e253(([_0x1d540a,_0x3b2f86])=>{const _0x5290e3=_0x514e8f,_0x30910e=new Map();return _0x1d540a[_0x5290e3(0x205)]((_0x33f1d9,_0xf5f2c5)=>{const _0x1e6f46=_0x5290e3;if(_0x33f1d9[_0x1e6f46(0x244)]===_0x2d32c9){const _0x587c84={..._0x33f1d9};_0x587c84[_0x1e6f46(0x1ac)]=this[_0x1e6f46(0x287)][_0x1e6f46(0x184)](_0x33f1d9['color']),_0x30910e[_0x1e6f46(0x188)](_0xf5f2c5,_0x587c84);}}),{'skeleton':_0x4ad577,'cursors':_0x30910e};}));}return _0x5f43bc({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x472d3c,cursors:_0x1c4770})=>{const _0x5e0cce=_0x4b6348;this[_0x5e0cce(0x175)](),_0x472d3c&&this[_0x5e0cce(0x170)](_0x472d3c,_0x1c4770);}),this[_0x4b6348(0xd3)][_0x4b6348(0xa1)][_0x4b6348(0x1c8)](_0x30689a=>{const _0x8de9db=_0x4b6348;if(_0x30689a==null)return;const {skeleton:_0x1a3e4c}=_0x30689a,{scene:_0x246dbe}=this[_0x8de9db(0x247)];_0x246dbe[_0x8de9db(0x24f)][_0x8de9db(0x242)](_0x14627e(_0x45b70e=>{const _0x4263d7=_0x8de9db;var _0x169be5,_0x26a1f0;const {offsetX:_0x5ac700,offsetY:_0x262eaf}=_0x45b70e,{x:_0x5e6bb3,y:_0x3fd9ff}=_0x246dbe[_0x4263d7(0x253)](_0x2861bc['FromArray']([_0x5ac700,_0x262eaf])),{scaleX:_0x25e3a3,scaleY:_0x144615}=_0x246dbe[_0x4263d7(0x25a)](),_0x462bf9=_0x246dbe['getViewport'](_0x39eb9b[_0x4263d7(0x133)]),_0x530c0c=_0x246dbe['getVpScrollXYInfoByPosToVp'](_0x2861bc[_0x4263d7(0x230)]([_0x5e6bb3,_0x3fd9ff]),_0x462bf9),_0x8033d7=_0x1a3e4c['getCellPositionByOffset'](_0x5ac700,_0x262eaf,_0x25e3a3,_0x144615,_0x530c0c);((_0x169be5=this['_lastPointer'])==null?void 0x0:_0x169be5[_0x4263d7(0xba)])===_0x8033d7[_0x4263d7(0xba)]&&((_0x26a1f0=this[_0x4263d7(0xdb)])==null?void 0x0:_0x26a1f0[_0x4263d7(0xb1)])===_0x8033d7[_0x4263d7(0xb1)]||this[_0x4263d7(0x260)][_0x4263d7(0x205)](_0x551696=>{_0x551696['onMouseMove'](_0x8033d7);});},0x64));});}['_updateCollabCursors'](_0x277b0e,_0x54488e){const _0x2e9504=_0x20b139;var _0x5c3278;const _0xfcea3b=(_0x5c3278=this[_0x2e9504(0xd3)][_0x2e9504(0x280)]())==null?void 0x0:_0x5c3278[_0x2e9504(0xd9)];if(!_0xfcea3b)return;const _0xba8d1d=this[_0x2e9504(0x281)]();if(!_0xba8d1d)return;this[_0x2e9504(0x260)][_0x2e9504(0x205)](_0x536e1d=>{const _0x23089a=_0x2e9504;_0x536e1d[_0x23089a(0x1c9)]();});const {scene:_0x1d76a0}=_0xba8d1d,_0x7d95b5=xi(Array[_0x2e9504(0x1ae)](_0x54488e[_0x2e9504(0x139)]()))[_0x2e9504(0xda)](_0x56c1af=>{const _0x19ba1c=_0x2e9504,{color:_0x3958e6,range:_0x4fc0b6,name:_0x16d959,selection:_0x2a5a8d,sheetID:_0x54634c}=_0x56c1af,{startColumn:_0x224aa6,startRow:_0x555737,endColumn:_0x5478cf,endRow:_0x4fa0e9}=_0x4fc0b6,_0x2b1eef=_0x253f7b(_0x555737,_0x224aa6,_0x1d76a0,_0xfcea3b),_0x483b2c=_0x253f7b(_0x4fa0e9,_0x5478cf,_0x1d76a0,_0xfcea3b),{columnHeaderHeightAndMarginTop:_0x5c14c1}=_0xfcea3b,{startX:_0x12f44f,startY:_0x2b72ab}=_0x2b1eef,{endX:_0x2ba011,endY:_0x4effa2}=_0x483b2c,_0x153efd=_0x2ba011-_0x12f44f,_0x289bb5=_0x4effa2-_0x2b72ab,_0x3d19e1={'labelPosition':_0x2b72ab-_0x5c14c1>=ee?_0x19ba1c(0x10d):'bottom','sheetID':_0x54634c,'range':_0x4fc0b6,'color':_0x3958e6,'name':_0x16d959,'selection':_0x2a5a8d,'left':_0x12f44f,'top':_0x2b72ab,'width':_0x153efd,'height':_0x289bb5,'evented':!0x1,'zIndex':$i};return new wi(_0x16d959,_0x3d19e1);});_0x1d76a0[_0x2e9504(0x1f5)](_0x7d95b5,Pi),this['_cursors']=new Set(_0x7d95b5);}[_0x20b139(0x175)](){const _0x286696=_0x20b139;var _0x1ec439;(_0x1ec439=this[_0x286696(0x260)])==null||_0x1ec439[_0x286696(0x205)](_0x54d429=>_0x54d429[_0x286696(0x186)]());}[_0x20b139(0x281)](){const _0xf74c9a=_0x20b139;return _0x21c351(this[_0xf74c9a(0x247)][_0xf74c9a(0xc5)],this['_context']);}};Le=yi([ve(0x1,_0x1c939e(_0x1bb44c)),ve(0x2,_0x1c939e(H)),ve(0x3,_0x1c939e(_0x1057be))],Le);function xi(_0x4e934f){const _0x562935=_0x20b139,_0x82829d=new Map();return _0x4e934f[_0x562935(0x205)](_0x439785=>{const _0x4ae7de=_0x562935;if(_0x82829d[_0x4ae7de(0x23b)](_0x439785['selection'])){const _0x37c000=_0x82829d['get'](_0x439785[_0x4ae7de(0x290)]);_0x37c000[_0x4ae7de(0x246)]+=',\x20'+_0x439785[_0x4ae7de(0x246)];}else _0x82829d['set'](_0x439785[_0x4ae7de(0x290)],_0x439785);}),Array[_0x562935(0x1ae)](_0x82829d[_0x562935(0x139)]());}var v=function(){const _0x480dda=_0x20b139;return v=Object['assign']||function(_0x4d4788){const _0xef7e83=_0x5d52;for(var _0x7cf065,_0x781353=0x1,_0x5c4e3d=arguments[_0xef7e83(0x106)];_0x781353<_0x5c4e3d;_0x781353++){_0x7cf065=arguments[_0x781353];for(var _0x10d071 in _0x7cf065)Object[_0xef7e83(0x126)]['hasOwnProperty'][_0xef7e83(0x18d)](_0x7cf065,_0x10d071)&&(_0x4d4788[_0x10d071]=_0x7cf065[_0x10d071]);}return _0x4d4788;},v[_0x480dda(0x225)](this,arguments);},Bi=function(_0x41286b,_0x18b798){const _0x3b0c71=_0x20b139;var _0x1e8695={};for(var _0x4ce55d in _0x41286b)Object['prototype'][_0x3b0c71(0x1a9)]['call'](_0x41286b,_0x4ce55d)&&_0x18b798[_0x3b0c71(0x26d)](_0x4ce55d)<0x0&&(_0x1e8695[_0x4ce55d]=_0x41286b[_0x4ce55d]);if(_0x41286b!=null&&typeof Object[_0x3b0c71(0x1d2)]==_0x3b0c71(0x149)){for(var _0xd7ea64=0x0,_0x4ce55d=Object[_0x3b0c71(0x1d2)](_0x41286b);_0xd7ea64<_0x4ce55d[_0x3b0c71(0x106)];_0xd7ea64++)_0x18b798[_0x3b0c71(0x26d)](_0x4ce55d[_0xd7ea64])<0x0&&Object[_0x3b0c71(0x126)][_0x3b0c71(0x177)][_0x3b0c71(0x18d)](_0x41286b,_0x4ce55d[_0xd7ea64])&&(_0x1e8695[_0x4ce55d[_0xd7ea64]]=_0x41286b[_0x4ce55d[_0xd7ea64]]);}return _0x1e8695;},je=_0x3cab69(function(_0x30e5c9,_0x953f01){const _0x489940=_0x20b139;var _0x2deed4=_0x30e5c9[_0x489940(0x19b)],_0x48082a=_0x30e5c9['id'],_0x5100d4=_0x30e5c9[_0x489940(0x20b)],_0x60ab88=_0x30e5c9[_0x489940(0x1fd)],_0x43d15a=Bi(_0x30e5c9,[_0x489940(0x19b),'id',_0x489940(0x20b),'extend']),_0xf14844=_0x489940(0x1a3)['concat'](_0x48082a,'\x20')['concat'](_0x5100d4||'')[_0x489940(0xf9)](),_0x32652c=_0x5d5a14('_'[_0x489940(0x107)](ji()));return Rt(_0x2deed4,''[_0x489940(0x107)](_0x48082a),{'defIds':_0x2deed4[_0x489940(0xe0)],'idSuffix':_0x32652c[_0x489940(0x200)]},v({'ref':_0x953f01,'className':_0xf14844},_0x43d15a),_0x60ab88);});function Rt(_0x2d3818,_0x3e1dc7,_0x3b663f,_0x550934,_0x289ba0){const _0x263f38=_0x20b139;return _0x5e0bcf(_0x2d3818[_0x263f38(0x243)],v(v({'key':_0x3e1dc7},ki(_0x2d3818,_0x3b663f,_0x289ba0)),_0x550934),(Hi(_0x2d3818,_0x3b663f)[_0x263f38(0x1df)]||[])[_0x263f38(0xda)](function(_0x1cbfd9,_0x589388){const _0x4e4dcf=_0x263f38;return Rt(_0x1cbfd9,''[_0x4e4dcf(0x107)](_0x3e1dc7,'-')[_0x4e4dcf(0x107)](_0x2d3818[_0x4e4dcf(0x243)],'-')[_0x4e4dcf(0x107)](_0x589388),_0x3b663f,void 0x0,_0x289ba0);}));}function ki(_0x486b11,_0x56208d,_0x304f34){const _0x135132=_0x20b139;var _0x27f148=v({},_0x486b11[_0x135132(0x10a)]);_0x304f34!=null&&_0x304f34['colorChannel1']&&_0x27f148[_0x135132(0xb5)]===_0x135132(0xd0)&&(_0x27f148[_0x135132(0xb5)]=_0x304f34[_0x135132(0xd0)]),_0x486b11[_0x135132(0x243)]===_0x135132(0x250)&&_0x27f148['id']&&(_0x27f148['id']=_0x27f148['id']+_0x56208d[_0x135132(0x218)]),Object['entries'](_0x27f148)[_0x135132(0x205)](function(_0x3aded2){const _0x41b247=_0x135132;var _0x17ef4e=_0x3aded2[0x0],_0x559345=_0x3aded2[0x1];_0x17ef4e===_0x41b247(0x250)&&typeof _0x559345==_0x41b247(0x22b)&&(_0x27f148[_0x17ef4e]=_0x559345[_0x41b247(0x21c)](/url\(#(.*)\)/,_0x41b247(0x154)[_0x41b247(0x107)](_0x56208d[_0x41b247(0x218)],')')));});var _0x52b6b9=_0x56208d['defIds'];return!_0x52b6b9||_0x52b6b9['length']===0x0||(_0x486b11[_0x135132(0x243)]===_0x135132(0xea)&&_0x27f148[_0x135132(0xe9)]&&(_0x27f148[_0x135132(0xe9)]=_0x27f148[_0x135132(0xe9)]+_0x56208d['idSuffix']),Object['entries'](_0x27f148)[_0x135132(0x205)](function(_0x35e809){const _0x24ea87=_0x135132;var _0x5f3fb0=_0x35e809[0x0],_0x2e9ea6=_0x35e809[0x1];typeof _0x2e9ea6==_0x24ea87(0x22b)&&(_0x27f148[_0x5f3fb0]=_0x2e9ea6['replace'](/url\(#(.*)\)/,_0x24ea87(0x154)['concat'](_0x56208d[_0x24ea87(0x218)],')')));})),_0x27f148;}function Hi(_0x2578e1,_0x13d5c1){const _0x29bb31=_0x20b139;var _0xf59967,_0x57cb0c=_0x13d5c1[_0x29bb31(0xe0)];return!_0x57cb0c||_0x57cb0c['length']===0x0?_0x2578e1:_0x2578e1[_0x29bb31(0x243)]===_0x29bb31(0x1e9)&&(!((_0xf59967=_0x2578e1[_0x29bb31(0x1df)])===null||_0xf59967===void 0x0)&&_0xf59967[_0x29bb31(0x106)])?v(v({},_0x2578e1),{'children':_0x2578e1['children'][_0x29bb31(0xda)](function(_0x155eae){const _0x3560ed=_0x29bb31;return typeof _0x155eae[_0x3560ed(0x10a)]['id']==_0x3560ed(0x22b)&&_0x57cb0c&&_0x57cb0c[_0x3560ed(0x26d)](_0x155eae[_0x3560ed(0x10a)]['id'])>-0x1?v(v({},_0x155eae),{'attrs':v(v({},_0x155eae[_0x3560ed(0x10a)]),{'id':_0x155eae[_0x3560ed(0x10a)]['id']+_0x13d5c1[_0x3560ed(0x218)]})}):_0x155eae;})}):_0x2578e1;}function ji(){const _0x9c38d0=_0x20b139;return Math[_0x9c38d0(0x153)]()[_0x9c38d0(0xb7)](0x24)['substring'](0x2,0x8);}je[_0x20b139(0x292)]=_0x20b139(0x183);var Yi={'tag':_0x20b139(0xc8),'attrs':{'fill':_0x20b139(0x9f),'viewBox':'0\x200\x2016\x2016','width':_0x20b139(0x179),'height':_0x20b139(0x179)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x20b139(0x1c1),'attrs':{'stroke':_0x20b139(0x1e7),'d':_0x20b139(0x296),'strokeLinecap':_0x20b139(0x14d),'strokeLinejoin':_0x20b139(0x14d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x20b139(0xab),'attrs':{'id':_0x20b139(0xde)},'children':[{'tag':_0x20b139(0x1c1),'attrs':{'fill':_0x20b139(0x298),'d':_0x20b139(0x190)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x3cab69(function(_0xe849c7,_0x141370){const _0x5f39ad=_0x20b139;return _0x5e0bcf(je,Object[_0x5f39ad(0x27f)]({},_0xe849c7,{'id':_0x5f39ad(0x208),'ref':_0x141370,'icon':Yi}));});Dt[_0x20b139(0x292)]='OffLineSingle';var Fi={'tag':_0x20b139(0xc8),'attrs':{'fill':_0x20b139(0x9f),'viewBox':'0\x200\x2017\x2016','width':_0x20b139(0x179),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x20b139(0x20c)},'children':[{'tag':_0x20b139(0x1c1),'attrs':{'stroke':_0x20b139(0x1e7),'d':_0x20b139(0x1d9),'strokeLinecap':_0x20b139(0x14d),'strokeLinejoin':_0x20b139(0x14d),'strokeWidth':1.2}}]},{'tag':_0x20b139(0x1e9),'attrs':{},'children':[{'tag':_0x20b139(0xab),'attrs':{'id':_0x20b139(0x28d)},'children':[{'tag':_0x20b139(0x1c1),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x20b139(0x11e)}}]}]}],'defIds':[_0x20b139(0x28d)]},Nt=_0x3cab69(function(_0x262fa7,_0x34cf76){const _0x12e60f=_0x20b139;return _0x5e0bcf(je,Object['assign']({},_0x262fa7,{'id':_0x12e60f(0x155),'ref':_0x34cf76,'icon':Fi}));});function _0x5d52(_0x3f90d9,_0x49b239){const _0x30d780=_0x30d7();return _0x5d52=function(_0x5d5273,_0xee9cb1){_0x5d5273=_0x5d5273-0x98;let _0x3ddb87=_0x30d780[_0x5d5273];return _0x3ddb87;},_0x5d52(_0x3f90d9,_0x49b239);}Nt[_0x20b139(0x292)]='OnLineSingle';function Wi(_0x359179){const _0x413e78=_0x20b139;switch(_0x359179){case _0x5acaa6[_0x413e78(0xb6)]:return _0x413e78(0xfb);case _0x5acaa6[_0x413e78(0xe6)]:return _0x413e78(0x13e);case _0x5acaa6[_0x413e78(0x1a7)]:return'collabStatus.fetchMiss';case _0x5acaa6[_0x413e78(0xd5)]:return _0x413e78(0x156);case _0x5acaa6[_0x413e78(0x1e8)]:case _0x5acaa6[_0x413e78(0xc1)]:return'collabStatus.syncing';case _0x5acaa6[_0x413e78(0x16e)]:case _0x5acaa6['PENDING']:return'collabStatus.synced';}}function Vi(_0x3c95cc){const _0x4dbe75=_0x20b139,{status$:_0x7ae7c7}=_0x3c95cc,_0x4d4198=_0x49e1f4(_0x7ae7c7,_0x5acaa6[_0x4dbe75(0xd5)]),_0x4cdad3=_0xc0ebc1(_0x267399),_0x4844c2=_0xc0ebc1(_0x1900dc),_0xe0a70f=_0x4d4198!==_0x5acaa6[_0x4dbe75(0xb6)],_0x44fd15=_0x4cdad3['t'](Wi(_0x4d4198)),_0x5df437=_0xe0a70f?_0x54050e(Nt,{}):_0x54050e(Dt,{}),_0x283a20=_0x497736(()=>{const _0x11b8e6=_0x4dbe75;_0xe0a70f||_0x4844c2[_0x11b8e6(0x15f)]();},[_0xe0a70f,_0x4844c2]);function _0x5d0019(){const _0x150be3=_0x4dbe75;return _0x47d5bd('div',{'className':_0x150be3(0x130),'onClick':_0x283a20,'children':[_0x54050e(_0x150be3(0x117),{'className':_0x3a78ae(_0x150be3(0x137),_0xe0a70f?_0x150be3(0x140):'univer-text-red-500'),'children':_0x5df437}),_0x54050e(_0x150be3(0x117),{'className':_0x150be3(0x1f1),'children':_0x44fd15})]});}return _0xe0a70f?_0x5d0019():_0x54050e(_0x29f031,{'title':_0x4cdad3['t'](_0x4dbe75(0xf5)),'children':_0x5d0019()});}var Xi=Object[_0x20b139(0x1b2)],Gi=(_0x59d647,_0x5e2049,_0x1a9fc0,_0x3d541e)=>{const _0x4c0cba=_0x20b139;for(var _0x52d682=_0x3d541e>0x1?void 0x0:_0x3d541e?Xi(_0x5e2049,_0x1a9fc0):_0x5e2049,_0x3c1b1b=_0x59d647[_0x4c0cba(0x106)]-0x1,_0x2e0677;_0x3c1b1b>=0x0;_0x3c1b1b--)(_0x2e0677=_0x59d647[_0x3c1b1b])&&(_0x52d682=_0x2e0677(_0x52d682)||_0x52d682);return _0x52d682;},Q=(_0x2defc2,_0x5e4d8d)=>(_0x29a162,_0x44923d)=>_0x5e4d8d(_0x29a162,_0x44923d,_0x2defc2);let te=class extends _0x5a2508{constructor(_0x2b5197,_0x344c85,_0x5b31b5,_0x5a0b23){const _0x1d81da=_0x20b139;super(),_(this,_0x1d81da(0x1d6),new _0x11085f(_0x5acaa6[_0x1d81da(0xd5)])),(this['_univerInstanceService']=_0x2b5197,this['_injector']=_0x344c85,this[_0x1d81da(0x1fc)]=_0x5b31b5,this[_0x1d81da(0x1f9)]=_0x5a0b23,this[_0x1d81da(0x276)](),this[_0x1d81da(0x1f3)]());}[_0x20b139(0x1f3)](){const _0x739a8b=_0x20b139;this['disposeWithMe'](this[_0x739a8b(0x226)][_0x739a8b(0x259)][_0x739a8b(0x199)](_0x526d31(()=>{const _0x3d6db6=_0x739a8b,_0x40d606=this[_0x3d6db6(0x226)][_0x3d6db6(0x17f)]();return _0x40d606?this[_0x3d6db6(0x1fc)][_0x3d6db6(0x101)](_0x40d606[_0x3d6db6(0x24d)]()):_0x5f43bc(null);}),_0x526d31(_0x18d458=>_0x18d458?_0x18d458[_0x739a8b(0x112)]:_0x5f43bc(_0x5acaa6[_0x739a8b(0xd5)])))['subscribe'](_0xd434bd=>{const _0x15014d=_0x739a8b;this['_status$'][_0x15014d(0x12f)](_0xd434bd);}));}[_0x20b139(0x276)](){const _0x2b79da=_0x20b139;this[_0x2b79da(0x1f7)](this[_0x2b79da(0x1f9)][_0x2b79da(0x20d)](_0x10fb44[_0x2b79da(0x1fa)],()=>_0x1da372(Ki({'status$':this['_status$'][_0x2b79da(0x202)]()}),this[_0x2b79da(0x252)])));}};te=Gi([Q(0x0,_0x2f34d9),Q(0x1,_0x1c939e(_0x4daa5d)),Q(0x2,_0x1c939e(_0x51ace9)),Q(0x3,_0x1385aa)],te);function Ki(_0x21493b){const {status$:_0x2f4e38}=_0x21493b;return function(){return _0x54050e(Vi,{'status$':_0x2f4e38});};}var zi=Object[_0x20b139(0x1b2)],Ji=(_0x691ee,_0x176f41,_0x3179ed,_0x1b4d79)=>{const _0x13e557=_0x20b139;for(var _0x351ade=_0x1b4d79>0x1?void 0x0:_0x1b4d79?zi(_0x176f41,_0x3179ed):_0x176f41,_0x270dd8=_0x691ee[_0x13e557(0x106)]-0x1,_0x71505;_0x270dd8>=0x0;_0x270dd8--)(_0x71505=_0x691ee[_0x270dd8])&&(_0x351ade=_0x71505(_0x351ade)||_0x351ade);return _0x351ade;},B=(_0xe29d58,_0xcb918e)=>(_0x220d88,_0x4bb4cc)=>_0xcb918e(_0x220d88,_0x4bb4cc,_0xe29d58);let se=class extends _0x5a2508{constructor(_0x26568a,_0x225858,_0x361438,_0x4e9f64,_0x71ce79,_0x60e8ba){const _0x51ce74=_0x20b139;super(),this[_0x51ce74(0x16a)]=_0x26568a,this[_0x51ce74(0x144)]=_0x225858,this[_0x51ce74(0xfd)]=_0x361438,this['_messageService']=_0x4e9f64,this[_0x51ce74(0x27e)]=_0x71ce79,this[_0x51ce74(0x232)]=_0x60e8ba,this['_setupBeforeClosingHandler'](),this[_0x51ce74(0x18a)]();}['_setupBeforeClosingHandler'](){const _0x8f245=_0x20b139;this['disposeWithMe'](this[_0x8f245(0x16a)][_0x8f245(0x194)](()=>{const _0x508189=_0x8f245;if(this[_0x508189(0x144)][_0x508189(0x214)][_0x508189(0xec)])return this[_0x508189(0x232)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x20b139(0x18a)](){const _0x46750e=_0x20b139;this[_0x46750e(0x1f7)](this[_0x46750e(0xfd)]['event$']['subscribe'](_0x9116b2=>{const _0x4e9db5=_0x46750e;_0x9116b2['id']===_0x4d7561['OTHER_CLIENT_EDITING']&&this[_0x4e9db5(0x99)]['show']({'type':_0x3be6fd[_0x4e9db5(0x100)],'content':this[_0x4e9db5(0x232)]['t']('collaboration.single-unit.warning')}),_0x9116b2['id']===_0x4d7561['CLOSE_ROOM']&&this[_0x4e9db5(0x99)][_0x4e9db5(0x201)]({'type':_0x3be6fd[_0x4e9db5(0x100)],'content':this[_0x4e9db5(0x232)]['t'](_0x4e9db5(0xc9))}),_0x9116b2['id']===_0x4d7561[_0x4e9db5(0x25d)]&&this['_notificationService'][_0x4e9db5(0x201)]({'title':this[_0x4e9db5(0x232)]['t'](_0x4e9db5(0x1a6)),'content':this[_0x4e9db5(0x232)]['t']('permission.content'),'type':_0x4e9db5(0x209),'duration':0x0}),_0x9116b2['id']===_0x4d7561[_0x4e9db5(0xe6)]&&this[_0x4e9db5(0x99)][_0x4e9db5(0x201)]({'type':_0x3be6fd[_0x4e9db5(0x1c5)],'content':this[_0x4e9db5(0x232)]['t'](_0x4e9db5(0xc9))+'('+_0x9116b2['data']+')'}),_0x9116b2['id']===_0x4d7561['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x3be6fd['Warning'],'content':this[_0x4e9db5(0x232)]['t'](_0x9116b2[_0x4e9db5(0x171)]||'')}),_0x9116b2['id']===_0x4d7561[_0x4e9db5(0x1b6)]&&this[_0x4e9db5(0x99)][_0x4e9db5(0x201)]({'type':_0x3be6fd[_0x4e9db5(0x100)],'content':this[_0x4e9db5(0x232)]['t'](_0x4e9db5(0x172))}),_0x9116b2['id']===_0x4d7561[_0x4e9db5(0x17e)]&&this['_messageService'][_0x4e9db5(0x201)]({'type':_0x3be6fd[_0x4e9db5(0x1c5)],'content':this[_0x4e9db5(0x232)]['t'](_0x4e9db5(0x1de))}),_0x9116b2['id']===_0x4d7561[_0x4e9db5(0x279)]&&this[_0x4e9db5(0x99)]['show']({'type':_0x3be6fd[_0x4e9db5(0x1c5)],'content':this['_localeService']['t'](_0x4e9db5(0x278))});}));}};se=Ji([B(0x0,_0x353adc),B(0x1,_0x523410),B(0x2,_0x1c939e(_0x2c1ed3)),B(0x3,_0x25fc68),B(0x4,_0x20e76c),B(0x5,_0x1c939e(_0x267399))],se);const Zi=_0x20b139(0x16d),et={},Ut=_0x146ef2(_0x20b139(0x9a));var Qi=Object[_0x20b139(0x1b2)],qi=(_0x4bc041,_0x4394d5,_0x7c0fb4,_0x40c74a)=>{const _0x4015d4=_0x20b139;for(var _0x373579=_0x40c74a>0x1?void 0x0:_0x40c74a?Qi(_0x4394d5,_0x7c0fb4):_0x4394d5,_0x17cbce=_0x4bc041[_0x4015d4(0x106)]-0x1,_0x4eac7b;_0x17cbce>=0x0;_0x17cbce--)(_0x4eac7b=_0x4bc041[_0x17cbce])&&(_0x373579=_0x4eac7b(_0x373579)||_0x373579);return _0x373579;},G=(_0x299437,_0x222c35)=>(_0x44b7de,_0x3f255c)=>_0x222c35(_0x44b7de,_0x3f255c,_0x299437);let ie=class extends _0x4b656f{constructor(_0x3a7a62,_0x54072c,_0x30fb7b,_0xd1dd63,_0x2b662e){const _0x173655=_0x20b139;super(),this[_0x173655(0x21a)]=_0x3a7a62,this['_logService']=_0x54072c,this[_0x173655(0x122)]=_0x30fb7b,this[_0x173655(0x275)]=_0xd1dd63,_0x2b662e?_0x2b662e==null||_0x2b662e[_0x173655(0x1e1)]()['then'](()=>this[_0x173655(0x27b)]()):(this['_logService'][_0x173655(0x1c7)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x20b139(0x27b)](){const _0x2f7347=_0x20b139,_0xe11676=this[_0x2f7347(0x21a)]['getParam'](_0x2f7347(0xc5)),_0x5128d5=this[_0x2f7347(0x21a)][_0x2f7347(0x22f)](_0x2f7347(0x103)),_0x147330=this['_urlService'][_0x2f7347(0x22f)]('subunit');if(!_0xe11676||!_0x5128d5){this[_0x2f7347(0x294)][_0x2f7347(0x1c7)](_0x2f7347(0x23f),_0x2f7347(0xc3));return;}const _0x3688b2=await this[_0x2f7347(0x275)][_0x2f7347(0x1af)](_0xe11676,Number(_0x5128d5),_0x147330);_0x3688b2&&_0x3688b2 instanceof _0x2b5572&&this[_0x2f7347(0x123)](_0x3688b2);}async[_0x20b139(0x123)](_0x37a05b){const _0x53d572=_0x20b139;await this[_0x53d572(0x196)](_0x37a05b),_0x37a05b['activeSheet$'][_0x53d572(0x199)](_0xf25cf2(this[_0x53d572(0xe8)]))[_0x53d572(0x1c8)](_0x1d3de6=>{const _0x466ae9=_0x53d572;_0x1d3de6&&this[_0x466ae9(0x203)](_0x1d3de6);}),this[_0x53d572(0x21a)][_0x53d572(0x237)][_0x53d572(0x199)](_0xf25cf2(this[_0x53d572(0xe8)]))[_0x53d572(0x1c8)](()=>this['_updateSubUnitFromURLParams'](_0x37a05b));}[_0x20b139(0x203)](_0x581927,_0x2eedbc=!0x1){const _0x1dd685=_0x20b139,_0x487608=this[_0x1dd685(0x21a)][_0x1dd685(0x22f)](_0x1dd685(0x27c));_0x581927[_0x1dd685(0x1bd)]()!==_0x487608&&this['_urlService'][_0x1dd685(0x1e4)]('subunit',_0x581927[_0x1dd685(0x1bd)](),_0x2eedbc);}async[_0x20b139(0x196)](_0x48c7e9){const _0x28bba7=_0x20b139;var _0x49ed35;const _0x42c63a=this['_urlService'][_0x28bba7(0x22f)](_0x28bba7(0x27c));if(!_0x42c63a||!_0x48c7e9[_0x28bba7(0x29a)](_0x42c63a)){const _0x4fb0fc=_0x48c7e9[_0x28bba7(0x295)]()[0x0],_0x16fc9c=_0x48c7e9[_0x28bba7(0x29a)](_0x4fb0fc);if(!_0x16fc9c)return;this[_0x28bba7(0x203)](_0x16fc9c,!0x0),await this[_0x28bba7(0x122)][_0x28bba7(0x191)](_0x464c2f['id'],{'unitId':_0x48c7e9['getUnitId'](),'subUnitId':_0x4fb0fc});return;}((_0x49ed35=_0x48c7e9[_0x28bba7(0x268)]())==null?void 0x0:_0x49ed35[_0x28bba7(0x1bd)]())!==_0x42c63a&&await this[_0x28bba7(0x122)][_0x28bba7(0x191)](_0x464c2f['id'],{'unitId':_0x48c7e9[_0x28bba7(0x24d)](),'subUnitId':_0x42c63a});}};ie=qi([G(0x0,Ut),G(0x1,_0x2fbb6e),G(0x2,_0x34a904),G(0x3,_0x1c939e(_0x483742)),G(0x4,_0x2da723(_0xdc6926))],ie);var en=Object[_0x20b139(0x1b2)],tn=(_0x1ba202,_0xe4eaf8,_0x2c4146,_0x244436)=>{const _0x4276cf=_0x20b139;for(var _0x21e301=_0x244436>0x1?void 0x0:_0x244436?en(_0xe4eaf8,_0x2c4146):_0xe4eaf8,_0x526862=_0x1ba202[_0x4276cf(0x106)]-0x1,_0x327f2c;_0x526862>=0x0;_0x526862--)(_0x327f2c=_0x1ba202[_0x526862])&&(_0x21e301=_0x327f2c(_0x21e301)||_0x21e301);return _0x21e301;},pe=(_0x1349c8,_0x3d4cd3)=>(_0x3b2bd7,_0xa0648f)=>_0x3d4cd3(_0x3b2bd7,_0xa0648f,_0x1349c8);let ne=class{constructor(_0x521082,_0x39afd2,_0x1470ad){const _0x3be540=_0x20b139;this[_0x3be540(0x252)]=_0x521082,this[_0x3be540(0xe7)]=_0x39afd2,this['_renderManagerService']=_0x1470ad;}[_0x20b139(0x10e)](_0x4dec36){const _0x368de2=_0x20b139;this['_transformUndoRedoStack'](_0x4dec36),this[_0x368de2(0x24c)](_0x4dec36);}['transformRemoteChangeset'](_0x4de316){const _0x2d651c=_0x20b139,{unitID:_0x50def7}=_0x4de316,_0x40f968=this['_renderManagerService'][_0x2d651c(0x1f8)](_0x50def7)[_0x2d651c(0xfe)](_0x446116),{redoCache:_0x31ba22}=_0x40f968[_0x2d651c(0x159)]();if(_0x31ba22[_0x2d651c(0x106)]===0x0)return _0x4de316;let _0x33093e=_0x43fda4['deepClone'](_0x4de316['mutations'][0x0]);for(let _0x3efb1e=0x0;_0x3efb1e<_0x31ba22[_0x2d651c(0x106)];_0x3efb1e++){const _0x1c687a={'id':_0x2d651c(0x210),'params':{..._0x31ba22[_0x3efb1e]}},_0x4af8c2=this['_transformService']['transformMutation'](_0x33093e,_0x1c687a,!0x1);if(_0x225519(_0x4af8c2))throw _0x4af8c2[_0x2d651c(0x209)];_0x33093e=_0x4af8c2['m1Prime'];}return{..._0x43fda4[_0x2d651c(0x105)](_0x4de316),'mutations':[_0x33093e]};}[_0x20b139(0xbb)](_0x9bc69f){const _0x53ffb2=_0x20b139,{unitID:_0x1bc626}=_0x9bc69f,_0x51df55=this['_renderManagerService'][_0x53ffb2(0x1f8)](_0x1bc626)[_0x53ffb2(0xfe)](_0x446116),{undoCache:_0x5f42bc,redoCache:_0x933243}=_0x51df55[_0x53ffb2(0x159)]();if(_0x5f42bc[_0x53ffb2(0x106)]===0x0||_0x933243[_0x53ffb2(0x106)]===0x0)return;const _0x5e6c11=[],_0x2e145e=[];let _0x5510f0=_0x43fda4['deepClone'](_0x9bc69f[_0x53ffb2(0x195)][0x0]),_0x35cb1d=_0x43fda4[_0x53ffb2(0x105)](_0x9bc69f['mutations'][0x0]);for(let _0x2d8243=_0x5f42bc[_0x53ffb2(0x106)]-0x1;_0x2d8243>=0x0;_0x2d8243--){const _0xb5aec5={'id':_0x53ffb2(0x210),'params':{..._0x5f42bc[_0x2d8243]}},_0x296840={'id':_0x53ffb2(0x210),'params':{..._0x933243[_0x2d8243]}},_0x351845=this[_0x53ffb2(0xe7)][_0x53ffb2(0x160)](_0x5510f0,_0xb5aec5,!0x1),_0x5c3fb9=this[_0x53ffb2(0xe7)][_0x53ffb2(0x160)](_0x35cb1d,_0x296840,!0x1);if(_0x225519(_0x351845))throw _0x351845[_0x53ffb2(0x209)];if(_0x225519(_0x5c3fb9))throw _0x5c3fb9[_0x53ffb2(0x209)];_0x5e6c11[_0x53ffb2(0x238)](_0x351845[_0x53ffb2(0x21d)][_0x53ffb2(0x120)]),_0x2e145e[_0x53ffb2(0x238)](_0x5c3fb9[_0x53ffb2(0x21d)][_0x53ffb2(0x120)]),_0x5510f0=_0x351845['m1Prime'],_0x35cb1d=_0x5c3fb9['m1Prime'];}_0x51df55['setUndoRedoMutationParamsCache']({'undoCache':_0x5e6c11,'redoCache':_0x2e145e});}[_0x20b139(0x24c)](_0xfbccf6){const _0x4f8454=_0x20b139,{unitID:_0x39d579}=_0xfbccf6,_0x49487e=this[_0x4f8454(0x261)][_0x4f8454(0x1f8)](_0x39d579)[_0x4f8454(0xfe)](_0x446116),_0x4040ce=_0x49487e[_0x4f8454(0x15a)]();if(_0x4040ce==null)return;const _0x3b8377=[{'id':_0x4f8454(0x210),'params':{'unitId':_0xfbccf6[_0x4f8454(0x18c)],'actions':null,'textRanges':[_0x4040ce]}}],_0x55c63c=this[_0x4f8454(0xe7)][_0x4f8454(0x273)](_0xfbccf6,_0x3b8377);if(!_0x3c3130(_0x55c63c))throw _0x55c63c[_0x4f8454(0x209)];const _0xff851e=_0x55c63c[_0x4f8454(0x21d)][0x0][_0x4f8454(0x120)][_0x4f8454(0xa2)];Array[_0x4f8454(0xb8)](_0xff851e)&&_0xff851e[_0x4f8454(0x106)]&&_0x49487e[_0x4f8454(0x25f)](_0xff851e[0x0]);}};ne=tn([pe(0x0,_0x1c939e(_0x4daa5d)),pe(0x1,_0x46cdfe),pe(0x2,_0x40468d)],ne);var sn=Object[_0x20b139(0x1b2)],nn=(_0x2cd7f3,_0x1ed972,_0x5f423d,_0x262dad)=>{const _0xd5630c=_0x20b139;for(var _0x28a9dd=_0x262dad>0x1?void 0x0:_0x262dad?sn(_0x1ed972,_0x5f423d):_0x1ed972,_0x4a7cc2=_0x2cd7f3[_0xd5630c(0x106)]-0x1,_0x1cabbf;_0x4a7cc2>=0x0;_0x4a7cc2--)(_0x1cabbf=_0x2cd7f3[_0x4a7cc2])&&(_0x28a9dd=_0x1cabbf(_0x28a9dd)||_0x28a9dd);return _0x28a9dd;},Ce=(_0x1319e5,_0x5c43ae)=>(_0x56209e,_0x14ef12)=>_0x5c43ae(_0x56209e,_0x14ef12,_0x1319e5);let re=class{constructor(_0x55a954,_0x34f041,_0x2a6e43){const _0x1d0eff=_0x20b139;this[_0x1d0eff(0x252)]=_0x55a954,this[_0x1d0eff(0xe7)]=_0x34f041,this[_0x1d0eff(0x146)]=_0x2a6e43;}[_0x20b139(0x262)](_0x4ef672){const _0x2520e4=_0x20b139;this[_0x2520e4(0x1e6)](_0x4ef672);}[_0x20b139(0x13a)](_0x4e78bd){const _0x5be781=_0x20b139,{unitID:_0x373c4d}=_0x4e78bd,{collaboration:_0x12d705}=this[_0x5be781(0x146)][_0x5be781(0x1dc)](_0x373c4d);if(_0x12d705[_0x5be781(0x106)]===0x0)return _0x4e78bd;let _0x5c4802=_0x43fda4[_0x5be781(0x105)](_0x4e78bd[_0x5be781(0x195)][0x0]);for(let _0x2d7c2c=0x0;_0x2d7c2c<_0x12d705[_0x5be781(0x106)];_0x2d7c2c++){const _0x26ec68={'id':_0x5be781(0x210),'params':{'unitId':_0x12d705[_0x2d7c2c][_0x5be781(0x1ec)],..._0x12d705[_0x2d7c2c]['redoState']}},_0x2578bc=this[_0x5be781(0xe7)][_0x5be781(0x160)](_0x5c4802,_0x26ec68,!0x1);if(_0x225519(_0x2578bc))throw _0x2578bc[_0x5be781(0x209)];_0x5c4802=_0x2578bc[_0x5be781(0x167)];}return{..._0x43fda4['deepClone'](_0x4e78bd),'mutations':[_0x5c4802]};}[_0x20b139(0x1e6)](_0x4f35ab){const _0x229dda=_0x20b139,{unitID:_0x5e95d6}=_0x4f35ab,{history:_0x440ecc,collaboration:_0x580d84}=this[_0x229dda(0x146)][_0x229dda(0x1dc)](_0x5e95d6);if(_0x440ecc[_0x229dda(0x106)]===0x0&&_0x580d84[_0x229dda(0x106)]===0x0)return;const _0x16a35a=[],_0x3cd740=[];let _0x46d67c=_0x43fda4[_0x229dda(0x105)](_0x4f35ab[_0x229dda(0x195)][0x0]),_0x302f92=_0x43fda4[_0x229dda(0x105)](_0x4f35ab[_0x229dda(0x195)][0x0]);for(let _0x1c9891=_0x440ecc[_0x229dda(0x106)]-0x1;_0x1c9891>=0x0;_0x1c9891--){const _0x567f66={'id':_0x229dda(0x210),'params':{'unitId':_0x440ecc[_0x1c9891][_0x229dda(0x1ec)],..._0x440ecc[_0x1c9891]['undoState']}},_0x11338a={'id':_0x229dda(0x210),'params':{'unitId':_0x440ecc[_0x1c9891][_0x229dda(0x1ec)],..._0x440ecc[_0x1c9891][_0x229dda(0xf6)]}},_0x3a8aa3=this[_0x229dda(0xe7)][_0x229dda(0x160)](_0x46d67c,_0x567f66,!0x1),_0x39e697=this[_0x229dda(0xe7)]['transformMutation'](_0x302f92,_0x11338a,!0x1);if(_0x225519(_0x3a8aa3))throw _0x3a8aa3['error'];if(_0x225519(_0x39e697))throw _0x39e697[_0x229dda(0x209)];_0x16a35a[_0x229dda(0x238)]({..._0x440ecc[_0x1c9891],'undoState':_0x3a8aa3[_0x229dda(0x21d)][_0x229dda(0x120)],'redoState':_0x39e697[_0x229dda(0x21d)][_0x229dda(0x120)]}),_0x46d67c=_0x3a8aa3[_0x229dda(0x167)],_0x302f92=_0x39e697['m1Prime'];}_0x46d67c=_0x43fda4[_0x229dda(0x105)](_0x4f35ab[_0x229dda(0x195)][0x0]),_0x302f92=_0x43fda4[_0x229dda(0x105)](_0x4f35ab[_0x229dda(0x195)][0x0]);for(let _0x450c8d=_0x580d84[_0x229dda(0x106)]-0x1;_0x450c8d>=0x0;_0x450c8d--){const _0x2d3c24={'id':_0x229dda(0x210),'params':{'unitId':_0x580d84[_0x450c8d][_0x229dda(0x1ec)],..._0x580d84[_0x450c8d][_0x229dda(0xa8)]}},_0x10879a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x580d84[_0x450c8d]['unitId'],..._0x580d84[_0x450c8d][_0x229dda(0xf6)]}},_0x4b1b24=this['_transformService'][_0x229dda(0x160)](_0x46d67c,_0x2d3c24,!0x1),_0x4246da=this[_0x229dda(0xe7)][_0x229dda(0x160)](_0x302f92,_0x10879a,!0x1);if(_0x225519(_0x4b1b24))throw _0x4b1b24[_0x229dda(0x209)];if(_0x225519(_0x4246da))throw _0x4246da[_0x229dda(0x209)];_0x3cd740[_0x229dda(0x238)]({..._0x580d84[_0x450c8d],'undoState':_0x4b1b24[_0x229dda(0x21d)][_0x229dda(0x120)],'redoState':_0x4246da[_0x229dda(0x21d)][_0x229dda(0x120)]}),_0x46d67c=_0x4b1b24[_0x229dda(0x167)],_0x302f92=_0x4246da['m1Prime'];}this[_0x229dda(0x146)][_0x229dda(0xbf)](_0x5e95d6,{'history':_0x16a35a,'collaboration':_0x3cd740});}};re=nn([Ce(0x0,_0x1c939e(_0x4daa5d)),Ce(0x1,_0x46cdfe),Ce(0x2,_0x1c939e(_0x865217))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x328f17,_0x25523a,_0x4833d2,_0x553e79)=>{for(var _0x3be0a9=_0x553e79>0x1?void 0x0:_0x553e79?rn(_0x25523a,_0x4833d2):_0x25523a,_0x457a80=_0x328f17['length']-0x1,_0xb7002;_0x457a80>=0x0;_0x457a80--)(_0xb7002=_0x328f17[_0x457a80])&&(_0x3be0a9=_0xb7002(_0x3be0a9)||_0x3be0a9);return _0x3be0a9;},tt=(_0x3f0281,_0x29431f)=>(_0x46f563,_0x3cb41c)=>_0x29431f(_0x46f563,_0x3cb41c,_0x3f0281);let oe=class{constructor(_0x1efc16,_0x31ff9a){const _0x250cbc=_0x20b139;this[_0x250cbc(0x252)]=_0x1efc16,this['_transformService']=_0x31ff9a;}[_0x20b139(0xd6)](_0x2d24c7){const _0x147eda=_0x20b139;var _0x2b3ed1;const _0x25dcde=this[_0x147eda(0x252)][_0x147eda(0x1b7)](_0x243b30),_0x4eecbb=(_0x2b3ed1=_0x25dcde[_0x147eda(0x235)]())!=null?_0x2b3ed1:[];if(_0x4eecbb[_0x147eda(0x106)]===0x0)return;const _0x4cf789=_0x2d24c7[_0x147eda(0x18c)],_0x109ebb=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cf789,'actions':null,'textRanges':_0x4eecbb}}],_0xd6c9ff=this['_transformService'][_0x147eda(0x273)](_0x2d24c7,_0x109ebb);if(!_0x3c3130(_0xd6c9ff))throw _0xd6c9ff[_0x147eda(0x209)];const _0x25caab=_0xd6c9ff[_0x147eda(0x21d)][0x0][_0x147eda(0x120)][_0x147eda(0xa2)];Array[_0x147eda(0xb8)](_0x25caab)&&_0x25caab['length']&&_0x25dcde[_0x147eda(0x161)](_0x25caab,{'unitId':_0x4cf789,'subUnitId':_0x4cf789},!0x1);}};oe=on([tt(0x0,_0x1c939e(_0x4daa5d)),tt(0x1,_0x46cdfe)],oe);var an=Object[_0x20b139(0x1b2)],cn=(_0x28e936,_0x56a6f6,_0x308a3e,_0x4c9c1a)=>{const _0x52cf42=_0x20b139;for(var _0x133dae=_0x4c9c1a>0x1?void 0x0:_0x4c9c1a?an(_0x56a6f6,_0x308a3e):_0x56a6f6,_0x90bd14=_0x28e936[_0x52cf42(0x106)]-0x1,_0x5dd040;_0x90bd14>=0x0;_0x90bd14--)(_0x5dd040=_0x28e936[_0x90bd14])&&(_0x133dae=_0x5dd040(_0x133dae)||_0x133dae);return _0x133dae;},U=(_0x1c7767,_0x40651e)=>(_0x23b7af,_0x32e9f1)=>_0x40651e(_0x23b7af,_0x32e9f1,_0x1c7767);let ae=class extends _0x5a2508{constructor(_0x572b96,_0x478375,_0x16c645,_0x5269f4,_0x3e2a0d,_0x309afc,_0x38c8fc,_0x52490f){const _0x1220b1=_0x20b139;super(),_(this,_0x1220b1(0x1d6),new _0x11085f(_0x5acaa6[_0x1220b1(0xd5)])),(this['_docStateChangeManagerService']=_0x572b96,this[_0x1220b1(0x1fc)]=_0x478375,this[_0x1220b1(0xbe)]=_0x16c645,this[_0x1220b1(0x216)]=_0x5269f4,this[_0x1220b1(0x1ee)]=_0x3e2a0d,this[_0x1220b1(0x283)]=_0x309afc,this[_0x1220b1(0x99)]=_0x38c8fc,this['_localeService']=_0x52490f,this[_0x1220b1(0x129)]());}[_0x20b139(0x129)](){const _0x14ae80=_0x20b139;this[_0x14ae80(0x1f7)](this[_0x14ae80(0x1fc)][_0x14ae80(0x1b3)][_0x14ae80(0x1c8)](_0x4ba1b2=>{const _0x45a860=_0x14ae80,_0x3f5e48=this[_0x45a860(0x146)][_0x45a860(0x189)][_0x45a860(0x1c8)](_0xe009f5=>{const _0x52f944=_0x45a860;if(_0xe009f5==null)return;const {unitId:_0xc6602e,redoState:_0x4a337c,commandId:_0x18055d}=_0xe009f5;if(_0xc6602e!==_0x4ba1b2[_0x52f944(0x18c)])return;const _0x259a0e={'id':_0x18055d,'type':_0x2a14d0[_0x52f944(0xa7)],'params':{'unitId':_0xc6602e,'actions':_0x4a337c[_0x52f944(0x14f)],'textRanges':null}};_0x4ba1b2[_0x52f944(0x1ed)](_0x259a0e);});if(_0x4ba1b2[_0x45a860(0x1f7)](_0x3f5e48),_0x4ba1b2 instanceof _0x5dfab1){const _0x156286={'onTransformIME':_0x429f45=>this[_0x45a860(0xbe)][_0x45a860(0x10e)](_0x429f45),'onTransformState':_0x8afe76=>this[_0x45a860(0x216)]['transformStateCache'](_0x8afe76),'onTransformSelections':_0x171f51=>this[_0x45a860(0x1ee)]['transformSelections'](_0x171f51),'onSyncEditingCollabCursor':_0x5724cd=>this[_0x45a860(0x283)][_0x45a860(0x110)](_0x5724cd),'onTransformRemoteChangesetByIMECache':_0x52fdac=>this[_0x45a860(0xbe)][_0x45a860(0x13a)](_0x52fdac),'onTransformRemoteChangesetByStateCache':_0xff68e8=>this[_0x45a860(0x216)][_0x45a860(0x13a)](_0xff68e8)};_0x4ba1b2[_0x45a860(0x18b)](_0x156286);}}));}};ae=cn([U(0x0,_0x1c939e(_0x865217)),U(0x1,_0x1c939e(_0x51ace9)),U(0x2,_0x1c939e(ne)),U(0x3,_0x1c939e(re)),U(0x4,_0x1c939e(oe)),U(0x5,_0x1c939e(He)),U(0x6,_0x25fc68),U(0x7,_0x1c939e(_0x267399))],ae);function _0x30d7(){const _0x210d8a=['_entityInit$','getSheetId','setShapeProps','init','createInstance','path','imageSourceType','saveOfflineData','CONNECTOR_DATA_TOO_LARGE','Error','3452745empVdA','debug','subscribe','makeDirty','green.600','InsertRowCommandId','getUnitStatus$','startsWith','source','href','InsertRangeMoveDownCommandId','assignAColorForMemberID','getOwnPropertySymbols','_imageIoService','range','cursorInfo$','_status$','UNIVER_SHEET','COMPLETION_FINISHED','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','width','onStarting','getStateCache','getOffsetConfig','session.connection-failed','children','_roomMembers$','whenReady','4067452HbNmFO','Unknown\x20user','setParam','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_transformHistoryAndStateStack','currentColor','AWAITING','defs','_session','application/json','unitId','onLocalMutation','_docTransformSelectionsService','getTypeOfUnitAdded$','RemoveRowCommandId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_anchorDot','_initStatusListener','registerRenderModule','addObjects','triggerDblclick','disposeWithMe','getRenderById','_uiPartsService','HEADER_MENU','ticket','_collaborationController','extend','addObject','runOnServer','current','show','asObservable','_updateURLWithCurrentState','disposeUnit','forEach','unsubscribe','_assignedColors','off-line-single','error','getSkeleton','className','url(#on-line-single_clip0_910_349)','registerComponent','isActive','INTERNAL_ERROR','doc.mutation.rich-text-editing','UNDEFINED','defineProperty','some','saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_docTransformStateCacheService','jiqing.500','idSuffix','PY_RUNTIME_SCRIPT_ERROR','_urlService','_drawAnchor','replace','m2Prime','delete','_disabled','popstate','lineTo','fillStyle','getMemberID','LICENSE_EXPORT_SIZE_EXCEEDED','apply','_univerInstanceService','bottom','_range','restore','unload','string','_initDependencies','isEditing','_hover','getParam','FromArray','onPointerEnter$','_localeService','endColumn','_scheduleSaving','getDocRanges','getMergeData','urlChange$','unshift','labelPosition','setConfig','has','getValue','_backgroundColor','split','[CollaborationDataLoaderController]','EMAIL_HAS_BEEN_BOUND','_config','subscribeEvent','tag','sheetID','_docSkeleton','name','_context','onMouseMove','clearInterval','then','_unitStatus','_transformPreviousActiveRange','getUnitId','text','onPointerMove$','mask','pluginName','_injector','getRelativeToViewportCoord','_handleEvent','_registerDependencies','collab-rect-range-','4254660lRzWuH','LICENSE_IMPORT_SIZE_EXCEEDED','focused$','getAncestorScale','_startDocCollabCursor','_getSaveTimeout','PERMISSION_DENIED','getConfig','setActiveRange','_cursors','_renderManagerService','transformStateCache','pushState','runId','_toggleOffline','black','invokeId','getActiveSheet','_textBubble','ACTIVE_UNIT_EVENT_CHANNEL','blue.400','purple.300','indexOf','...','_getMergeRange','_cachedData','_createSocketURL','_onCursorDelete','transformMutationsWithChangeset','CHANGESET_REVISION_CONFILICT','_dataLoaderService','_initStatusComponent','yellow.400','session.collaboration-timeout','SUBMIT_CHANGESET_TIMEOUT','generateRandomId','_init','subunit','_drawRectRange','_notificationService','assign','getCurrent','_getSheetObject','ENSURE_SNAPSHOT_EXECUTION','_docSyncEditingCollabCursorService','SNAPSHOT_HAS_BEEN_REMOVED','push','findNodePositionByCharIndex','_themeService','body','add','max','APPLY_REJECT','_revisionService','on-line-single_clip0_910_349','_ensureSubject','updateOfflineData','selection','getRangePointData','displayName','_syncEditingCollabCursorService','_logService','getUnhiddenWorksheets','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','YUUMI_TABLE_NOT_FOUND_IN_UNIT','#fff','_onCursorUpdate','getSheetBySheetId','_selfUnitIDs','onCommandExecuted','_messageService','uni.network.url-service','INVITE_CODE_ALREADY_BOUND','collabCursorState$','_shapes','MOBILE_HAS_BEEN_BOUND','none','936OTfHls','currentSkeleton$','textRanges','setInterval','INVITE_CODE_REQUIRED','clearTimeout','3564948uagZVB','MUTATION','undoState','USERS_LEAVE','endRow','clipPath','_getAnchorBounding','_registerRenderDependencies','DeleteRangeMoveUpCommandId','_refreshCollabCursors','toRgbString','row','startColumn','_scheduleHeartbeat','SNAPSHOT_INVALID_SNAPSHOT','fill','OFFLINE','toString','isArray','cursorInfo','column','_transformUndoRedoStack','311uswhOK','_entities','_docTransformIMECacheService','setStateCache','UNIVER_DOC','AWAITING_WITH_PENDING','post','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_httpService','unit','stringify','LOGIN_FAILED','svg','collaboration.closeRoom','APPLY_REVISION_CONFILICT','send','2318YufiFn','OTHER_CLIENTS_EDITING','_collabCursorState$','_clearOtherTimers','colorChannel1','setAlpha','subUnitId','_sheetSkeletonManagerService','contains','NOT_COLLAB','transformSelections','InsertColCommandId','createSocket','skeleton','map','_lastPointer','rgba(255,\x20255,\x20255,\x200.01)','_drawTextRange','off-line-single_clip0_910_343','_docClipboardService','defIds','getTypeOfUnitDisposed$','key','_render','_updateLocalCursor','closePath','CONFLICT','_transformService','dispose$','xlink:href','use','onPointerLeave$','size','executionId','moveTo','UPDATE_CURSOR','save','getCurrentSelections','engine','_heartbeatTimer','_localStorageService','collab-client.tooltip.reconnect','redoState','_cursorShapes','fillText','trim','INVALID_ARGUMENT','collabStatus.offline','backgroundColor','_collaborationUIEventService','with','UNRECOGNIZED','Warning','getCollabEntity$','flatMap','type','_color','deepClone','length','concat','height','roomMembers$','attrs','_name','InsertRangeMoveRightCommandId','top','transformIMECache','drawWith','syncEditingCollabCursor','_toggleOnline','status$','_hovered','RECT','all','wsSessionTicketUrl','div','_send','RemoveColCommandId','_online','_saveTaskMap','_anchor','_saveCache','translate(.97)','APPLY_NON_SEQUENTIAL_REVISION','params','getCollabCursors$','_commandService','_setupSubUnitSync','LICENSE_MAX_UNITS_EXCEEDED','_collabSessionService','prototype','hovered','getCurrentUnitForType','_initEntityListener','font','newValue','_collabCursorController','_colorAssignService','_id','next','univer-flex\x20univer-items-center','_getScale','sessionStatus$','VIEW_MAIN','sessionTicket','event$','_cursorInfo$','univer-flex\x20univer-mr-2\x20univer-text-xl','NO_OTHER_CLIENTS_EDITING','values','transformRemoteChangeset','YUUMI_UNABLE_LOAD_URL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_handleHover','collabStatus.conflict','min','univer-text-green-500','resize','enableLocalCache','_refRangeService','_localCacheService','MoveRangeCommandId','_docStateChangeManagerService','red.300','INVITE_CODE_HAS_BEEN_UES','function','YUUMI_ASYNCIO_CANCELLED','_eventUnsubscribe','history','round','LICENSE_DISTRO_REJECTED','actions','_labelPosition','addEventListener','YUUMI_URL_COL_OUT_OF_RANGE','random','url(#$1','on-line-single','collabStatus.notCollab','YUUMI_RATE_OVER_LIMIT','_getSessionTicket','getUndoRedoMutationParamsCache','getActiveRange','replaceState','arc','onTransformChange$','_colorIndex','reconnect','transformMutation','replaceDocRanges','symbol','ALREADY_EXISTS','_scheduleClearOtherTimer','eventID','_docSkeletonManagerService','m1Prime','location','disableLocalCache','_beforeCloseService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','57715524anhznT','collaboration-client-ui.config','SYNCED','_handleLeaveEvent','_updateCollabCursors','data','session.will-retry','_document','_initResize','_removeCollabCursors','_initCommandExecutedListener','propertyIsEnumerable','requireSession','1em','searchParams','91609wPAiUX','_handleJoinEvent','_scene','SOCKET_FAILED','getFocusedUnit','Failed','complete','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverIcon','getColorFromTheme','loadOfflineData','dispose','_removeClearOtherTimer','set','docStateChange$','_initEvent','addHandlerCallback','unitID','call','YUUMI_NO_CUBOID_FOR_QUESTION','setItem','M0\x200H16V16H0z','executeCommand','currentTheme$','override','registerBeforeClose','mutations','_updateSubUnitFromURLParams','UNAUTHENTICATED','roomMembers','pipe','ranges','icon','measureText','_configService','_hideTimer','TEXT','editingUnit','evenodd','selections','univerjs-icon\x20univerjs-icon-','INVALID_INVITE_CODE','_instanceService','permission.title','FETCH_MISS','DeleteRangeMoveLeftCommandId','hasOwnProperty','NOT_FOUND','registerRefRange','color','_unitOnClients','from','loadUnit','exhaustSavingTask','_handleHeartbeatEvent','getOwnPropertyDescriptor','entityInit$','startRow','ONLINE','SOCKET_FAILED_RETRY','get','getMember','getCurrentRevOfUnit','_memberService','APPLY_PERMISSION_DENIED'];_0x30d7=function(){return _0x210d8a;};return _0x30d7();}var ln=Object[_0x20b139(0x1b2)],_n=(_0x8854ac,_0x7165a,_0x319c23,_0x3d4fb8)=>{const _0x50d60c=_0x20b139;for(var _0x48db3c=_0x3d4fb8>0x1?void 0x0:_0x3d4fb8?ln(_0x7165a,_0x319c23):_0x7165a,_0x1ae818=_0x8854ac[_0x50d60c(0x106)]-0x1,_0x7b49b4;_0x1ae818>=0x0;_0x1ae818--)(_0x7b49b4=_0x8854ac[_0x1ae818])&&(_0x48db3c=_0x7b49b4(_0x48db3c)||_0x48db3c);return _0x48db3c;},Ee=(_0x258e9c,_0x5f0132)=>(_0x1890dd,_0x2333c8)=>_0x5f0132(_0x1890dd,_0x2333c8,_0x258e9c);let we=class extends _0x5a2508{constructor(_0x419122,_0x299874,_0x4a7f2e){const _0x55e363=_0x20b139;super(),_(this,_0x55e363(0x270),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x55e363(0x21f),!0x1),(this['_configService']=_0x419122,this[_0x55e363(0xf4)]=_0x299874,this[_0x55e363(0x28c)]=_0x4a7f2e);}[_0x20b139(0x169)](){const _0x111e23=_0x20b139;this[_0x111e23(0x21f)]=!0x0;}[_0x20b139(0x142)](){const _0x5d45b7=_0x20b139;this[_0x5d45b7(0x21f)]=!0x1;}get[_0x20b139(0x214)](){const _0x94cfe4=_0x20b139;return this[_0x94cfe4(0x11b)];}[_0x20b139(0x186)](){const _0x1e596a=_0x20b139;this[_0x1e596a(0x1b0)]()[_0x1e596a(0x24a)](()=>super[_0x1e596a(0x186)]());}async[_0x20b139(0x185)](_0x4e5836){const _0x2e569b=_0x20b139;return this[_0x2e569b(0x21f)]?null:this[_0x2e569b(0xf4)]['getItem'](_0x561f22(_0x4e5836));}async[_0x20b139(0x1c3)](_0x463631,_0x5ed70f){const _0xb33990=_0x20b139;return!!this[_0xb33990(0xf4)][_0xb33990(0x18f)](_0x463631,_0x5ed70f);}[_0x20b139(0x28f)](_0x5147f9,_0x418c39,_0x49f174,_0x1dc108){const _0x130520=_0x20b139,_0x2342e4=this[_0x130520(0x28c)][_0x130520(0x1b9)](_0x5147f9);this[_0x130520(0x270)]['set'](_0x5147f9,{'unitID':_0x5147f9,'type':_0x418c39,'awaitingChangeset':_0x49f174,'mutations':_0x1dc108,'rev':_0x2342e4}),this[_0x130520(0x11b)]['has'](_0x5147f9)||this[_0x130520(0x234)](_0x5147f9);}[_0x20b139(0x234)](_0x338f78){const _0x37440d=_0x20b139,_0x237048=this[_0x37440d(0x25c)]();_0x237048===0x0?this[_0x37440d(0x11d)](_0x338f78):this[_0x37440d(0x11b)]['set'](_0x338f78,setTimeout(()=>this[_0x37440d(0x11d)](_0x338f78),_0x237048));}[_0x20b139(0x25c)](){const _0x35a859=_0x20b139;var _0x4660c8;return(_0x4660c8=this[_0x35a859(0x19d)]['getConfig'](_0x126106))!=null?_0x4660c8:_0x3b56b5;}[_0x20b139(0x11d)](_0x26a371){const _0x593a5c=_0x20b139,_0x3db27a=this[_0x593a5c(0x11b)][_0x593a5c(0x1b7)](_0x26a371);return _0x3db27a!==void 0x0&&window[_0x593a5c(0xa5)](_0x3db27a),this['_localStorageService'][_0x593a5c(0x18f)](_0x561f22(_0x26a371),this[_0x593a5c(0x270)][_0x593a5c(0x1b7)](_0x26a371))[_0x593a5c(0x24a)](()=>this['_saveTaskMap'][_0x593a5c(0x21e)](_0x26a371));}async[_0x20b139(0x1b0)](){const _0x240d7c=_0x20b139,_0x580eae=[];this['_saveTaskMap'][_0x240d7c(0x205)]((_0x209199,_0x228ba2)=>{const _0x11965c=_0x240d7c;window[_0x11965c(0xa5)](_0x209199),_0x580eae['push'](this[_0x11965c(0x11d)](_0x228ba2)[_0x11965c(0x24a)](()=>{const _0x2cad48=_0x11965c;this[_0x2cad48(0x11b)][_0x2cad48(0x21e)](_0x228ba2);}));}),await Promise[_0x240d7c(0x115)](_0x580eae);}};we=_n([Ee(0x0,_0xa45751),Ee(0x1,_0x210c61),Ee(0x2,_0x1c939e(_0x2ba716))],we);class hn extends _0x4b656f{constructor(){const _0x540a25=_0x20b139;super(),_(this,_0x540a25(0x237)),this[_0x540a25(0x237)]=_0xbcf92(window,_0x540a25(0x220))[_0x540a25(0x199)](_0xf25cf2(this['dispose$']),_0x3281e3(0x1),_0x39f3db(void 0x0));}[_0x20b139(0x1e4)](_0x1b0a9a,_0x541251,_0x29703f=!0x1){const _0x3cfa7f=_0x20b139,_0x44a864=new URL(window[_0x3cfa7f(0x168)][_0x3cfa7f(0x1cf)]);_0x44a864[_0x3cfa7f(0x17a)][_0x3cfa7f(0x188)](_0x1b0a9a,_0x541251),_0x29703f?window[_0x3cfa7f(0x14c)]['replaceState']('','',_0x44a864[_0x3cfa7f(0xb7)]()):window[_0x3cfa7f(0x14c)][_0x3cfa7f(0x263)]('','',_0x44a864[_0x3cfa7f(0xb7)]());}['removeParam'](_0x18ff1d,_0x427769=!0x1){const _0x1841c6=_0x20b139,_0x151578=new URL(window[_0x1841c6(0x168)]['href']);_0x151578[_0x1841c6(0x17a)]['delete'](_0x18ff1d),_0x427769?window[_0x1841c6(0x14c)][_0x1841c6(0x15b)]('','',_0x151578[_0x1841c6(0xb7)]()):window[_0x1841c6(0x14c)]['pushState']('','',_0x151578[_0x1841c6(0xb7)]());}[_0x20b139(0x22f)](_0x42de7d){const _0x4ef72b=_0x20b139;var _0x362fd9;return(_0x362fd9=new URL(window['location'][_0x4ef72b(0x1cf)])[_0x4ef72b(0x17a)][_0x4ef72b(0x1b7)](_0x42de7d))!=null?_0x362fd9:void 0x0;}}var un=Object[_0x20b139(0x212)],dn=Object[_0x20b139(0x1b2)],fn=(_0x32d0c0,_0x14387b,_0x14b87e)=>_0x14387b in _0x32d0c0?un(_0x32d0c0,_0x14387b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14b87e}):_0x32d0c0[_0x14387b]=_0x14b87e,Sn=(_0x5eb9f9,_0x26026c,_0x3ec6cb,_0x3b631f)=>{const _0x5433c3=_0x20b139;for(var _0x3d5ceb=_0x3b631f>0x1?void 0x0:_0x3b631f?dn(_0x26026c,_0x3ec6cb):_0x26026c,_0x2a05eb=_0x5eb9f9[_0x5433c3(0x106)]-0x1,_0x357016;_0x2a05eb>=0x0;_0x2a05eb--)(_0x357016=_0x5eb9f9[_0x2a05eb])&&(_0x3d5ceb=_0x357016(_0x3d5ceb)||_0x3d5ceb);return _0x3d5ceb;},Oe=(_0x146ae9,_0x1416f5)=>(_0x3f33c2,_0x1dcf4b)=>_0x1416f5(_0x3f33c2,_0x1dcf4b,_0x146ae9),mn=(_0xa95713,_0x44afdd,_0x25742a)=>fn(_0xa95713,_0x44afdd+'',_0x25742a);const gn=_0x20b139(0x1e5);let Ae=class extends _0x23b7c3{constructor(_0x404b36=et,_0x80d3b7,_0x19470a,_0x5279dd){const _0x4e0861=_0x20b139;super(),this['_config']=_0x404b36,this[_0x4e0861(0x261)]=_0x80d3b7,this[_0x4e0861(0x252)]=_0x19470a,this[_0x4e0861(0x19d)]=_0x5279dd;const {..._0x50fa94}=_0x33c406({},et,this[_0x4e0861(0x241)]);this[_0x4e0861(0x19d)][_0x4e0861(0x23a)](Zi,_0x50fa94);}[_0x20b139(0x1db)](){const _0x557324=_0x20b139;this[_0x557324(0x255)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x20b139(0x255)](){const _0x10fd75=_0x20b139;var _0x1d1727;const _0x28d3c0=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1daee3,{'useClass':_0x348d3f}],[_0x523410,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1b9e6a(this[_0x10fd75(0x252)],_0x3baab2(_0x28d3c0,(_0x1d1727=this[_0x10fd75(0x241)])==null?void 0x0:_0x1d1727[_0x10fd75(0x193)]));}[_0x20b139(0xad)](){const _0x3746ae=_0x20b139;this[_0x3746ae(0x1f7)](this[_0x3746ae(0x261)]['registerRenderModule'](_0x32fc71['UNIVER_DOC'],[Pe])),this[_0x3746ae(0x1f7)](this[_0x3746ae(0x261)][_0x3746ae(0x1f4)](_0x32fc71[_0x3746ae(0x1d7)],[Le]));}[_0x20b139(0x22c)](){_0xa3ab0(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x20b139(0x251),gn),Ae=Sn([_0x8de594(_0xcb9af3),Oe(0x1,_0x40468d),Oe(0x2,_0x1c939e(_0x4daa5d)),Oe(0x3,_0xa45751)],Ae);var In=Object[_0x20b139(0x1b2)],vn=(_0x4a48a4,_0x51401c,_0x41455e,_0x205df9)=>{const _0x36e588=_0x20b139;for(var _0x27ed61=_0x205df9>0x1?void 0x0:_0x205df9?In(_0x51401c,_0x41455e):_0x51401c,_0x1e733b=_0x4a48a4[_0x36e588(0x106)]-0x1,_0x1c4c10;_0x1e733b>=0x0;_0x1e733b--)(_0x1c4c10=_0x4a48a4[_0x1e733b])&&(_0x27ed61=_0x1c4c10(_0x27ed61)||_0x27ed61);return _0x27ed61;},K=(_0x4775e5,_0x1a5e6b)=>(_0x232ae6,_0x5baed2)=>_0x1a5e6b(_0x232ae6,_0x5baed2,_0x4775e5);let st=class extends _0x3d362a{constructor(_0x35caa4,_0x146f9f,_0x2de259,_0x455a8a,_0x2e51d9){super(_0x35caa4,_0x146f9f,_0x2de259,_0x455a8a,_0x2e51d9);}async[_0x20b139(0xd8)](_0x2c1bfe){const _0x10a2a0=_0x20b139,_0x1e7e3e=await this[_0x10a2a0(0x158)](),_0x31daab=this[_0x10a2a0(0x271)](_0x2c1bfe,_0x1e7e3e);return this['_doCreateSocket'](_0x31daab);}[_0x20b139(0x271)](_0x4bd7a8,_0x31e59c){const _0x372741=_0x20b139,_0x371a99=typeof window>'u'?new URL(_0x4bd7a8):new URL(_0x4bd7a8,window[_0x372741(0x168)]['origin']);_0x371a99[_0x372741(0x17a)][_0x372741(0x188)](_0x372741(0x134),_0x31e59c);const _0x38e54b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x372741(0x168)]['search']);return _0x38e54b['get'](_0x372741(0x264))&&_0x371a99['searchParams'][_0x372741(0x188)](_0x372741(0x264),_0x38e54b[_0x372741(0x1b7)](_0x372741(0x264))),_0x371a99[_0x372741(0xb7)]();}async[_0x20b139(0x158)](){const _0x16675b=_0x20b139;var _0x29f66b,_0x3da738,_0x2b8a2d;const _0xfc10ef=this['_configService']['getConfig'](_0x387f67),_0x127764=(_0x29f66b=_0xfc10ef==null?void 0x0:_0xfc10ef[_0x16675b(0x116)])!=null?_0x29f66b:_0xfaae5d;return(_0x2b8a2d=(_0x3da738=(await this[_0x16675b(0xc4)][_0x16675b(0x1b7)](_0x127764,{'headers':{'Content-Type':_0x16675b(0x1eb)}}))[_0x16675b(0x288)])==null?void 0x0:_0x3da738[_0x16675b(0x1fb)])!=null?_0x2b8a2d:'';}};st=vn([K(0x0,_0x1c939e(_0x4daa5d)),K(0x1,_0x1c939e(_0x125174)),K(0x2,_0xa45751),K(0x3,_0x2fbb6e),K(0x4,_0x529d3d)],st);const it=0x7530,nt=_0x20b139(0x26a);class jn extends _0x5a2508{constructor(){const _0x11e622=_0x20b139;super(),_(this,_0x11e622(0x12e),_0x5aaced()),_(this,'_selfUnitIDs',new Set()),_(this,_0x11e622(0x1ad),new Map()),_(this,_0x11e622(0xf3),null),_(this,_0x11e622(0xcf),new Map()),_(this,_0x11e622(0x24b),new Map()),this[_0x11e622(0x27b)]();}[_0x20b139(0x186)](){const _0x505545=_0x20b139;super[_0x505545(0x186)](),this[_0x505545(0xcf)][_0x505545(0x205)]((_0x19cc0f,_0x219432)=>this['_removeClearOtherTimer'](_0x219432)),this['_heartbeatTimer']&&window[_0x505545(0x249)](this[_0x505545(0xf3)]);}[_0x20b139(0x1cc)](_0x51f8a0){const _0x18b343=_0x20b139;return this[_0x18b343(0x28e)](_0x51f8a0)['pipe'](_0x1c85aa());}[_0x20b139(0x1a0)](_0x5cc129){const _0x371e03=_0x20b139;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x371e03(0x29b)][_0x371e03(0x289)](_0x5cc129),this['_send']({'type':0x0,'memberID':this[_0x371e03(0x12e)],'unitIDs':[_0x5cc129],'isForwarded':!0x1});}[_0x20b139(0x204)](_0x5d0970){const _0x481962=_0x20b139;this[_0x481962(0x29b)][_0x481962(0x21e)](_0x5d0970),this[_0x481962(0x29b)][_0x481962(0xec)]===0x0&&this[_0x481962(0xf3)]&&window[_0x481962(0x249)](this[_0x481962(0xf3)]);}['_init'](){const _0xcf7404=_0x20b139;this[_0xcf7404(0x1f7)](_0x3f9328(_0xbcf92(window,'storage')['subscribe'](_0x3b581c=>{const _0x37b10f=_0xcf7404;if(_0x3b581c[_0x37b10f(0xe2)]!==nt||!_0x3b581c[_0x37b10f(0x12b)])return;const _0x1d2671=JSON['parse'](_0x3b581c['newValue']);this['_handleEvent'](_0x1d2671);}))),window[_0xcf7404(0x151)](_0xcf7404(0x22a),()=>this['_send']({'type':0x1,'memberID':this[_0xcf7404(0x12e)],'unitIDs':Array[_0xcf7404(0x1ae)](this[_0xcf7404(0x29b)])}));}[_0x20b139(0x254)](_0x20dcef){const _0x4d6f8c=_0x20b139;switch(_0x20dcef[_0x4d6f8c(0x103)]){case 0x0:this[_0x4d6f8c(0x17c)](_0x20dcef);break;case 0x1:this['_handleLeaveEvent'](_0x20dcef);break;case 0x2:this[_0x4d6f8c(0x1b1)](_0x20dcef);break;}}[_0x20b139(0x17c)](_0x3e1d05){const _0x2b739d=_0x20b139,{unitIDs:_0x532b98,memberID:_0x404775,isForwarded:_0x2a92d6}=_0x3e1d05;_0x532b98[_0x2b739d(0x205)](_0x1fbd9d=>{const _0x567ee0=_0x2b739d;if(!_0x2a92d6&&this[_0x567ee0(0x1ad)][_0x567ee0(0x23b)](_0x1fbd9d)&&this[_0x567ee0(0x28e)](_0x1fbd9d)['next'](_0x192e86[_0x567ee0(0xcd)]),!this[_0x567ee0(0x1ad)][_0x567ee0(0x23b)](_0x1fbd9d)||!this['_unitOnClients'][_0x567ee0(0x1b7)](_0x1fbd9d)[_0x567ee0(0x23b)](_0x404775)){const _0x426ed2=this[_0x567ee0(0x1ad)][_0x567ee0(0x1b7)](_0x1fbd9d)||new Set();_0x426ed2[_0x567ee0(0x289)](_0x404775),this[_0x567ee0(0x1ad)][_0x567ee0(0x188)](_0x1fbd9d,_0x426ed2),this[_0x567ee0(0x164)](_0x404775);}}),_0x2a92d6||this[_0x2b739d(0x118)]({'type':0x0,'memberID':this[_0x2b739d(0x12e)],'unitIDs':[...this[_0x2b739d(0x29b)]],'isForwarded':!0x0});}[_0x20b139(0x164)](_0x317a53){const _0x48d5e5=_0x20b139;this[_0x48d5e5(0x187)](_0x317a53);const _0x1fb670=window['setTimeout'](()=>{const _0x241653=_0x48d5e5;this[_0x241653(0x1ad)]['forEach'](_0x271506=>{_0x271506['delete'](_0x317a53);});},it*0x2);this[_0x48d5e5(0xcf)][_0x48d5e5(0x188)](_0x317a53,_0x1fb670);}[_0x20b139(0x187)](_0x12ae01){const _0x369a2e=_0x20b139;if(this['_clearOtherTimers'][_0x369a2e(0x23b)](_0x12ae01)){const _0x59fa95=this[_0x369a2e(0xcf)][_0x369a2e(0x1b7)](_0x12ae01);_0x59fa95&&window['clearTimeout'](_0x59fa95),this[_0x369a2e(0xcf)]['set'](_0x12ae01,null);}}[_0x20b139(0x16f)](_0x508c1d){const _0x42313b=_0x20b139,{memberID:_0x5f4e7f,unitIDs:_0x1ed295}=_0x508c1d;_0x1ed295[_0x42313b(0x205)](_0xa7ab2c=>{const _0x1f59b8=_0x42313b;var _0x204fcb;const _0x531e0a=this['_unitOnClients'][_0x1f59b8(0x1b7)](_0xa7ab2c);_0x531e0a&&(_0x531e0a['delete'](_0x5f4e7f),(_0x204fcb=this[_0x1f59b8(0x28e)](_0xa7ab2c))==null||_0x204fcb['next'](_0x531e0a[_0x1f59b8(0xec)]===0x0?_0x192e86['NO_OTHER_CLIENTS_EDITING']:_0x192e86[_0x1f59b8(0xcd)]));}),this[_0x42313b(0x187)](_0x5f4e7f);}[_0x20b139(0x1b1)](_0x25843b){this['_scheduleClearOtherTimer'](_0x25843b['memberID']);}[_0x20b139(0x118)](_0x4be85a){const _0x2c7945=_0x20b139;localStorage[_0x2c7945(0x18f)](nt,JSON[_0x2c7945(0xc6)](_0x4be85a));}[_0x20b139(0xb3)](){const _0x2afc74=_0x20b139;this[_0x2afc74(0xf3)]=window[_0x2afc74(0xa3)](()=>{const _0x47ce7d=_0x2afc74;this[_0x47ce7d(0x118)]({'type':0x2,'memberID':this[_0x47ce7d(0x12e)]});},it);}['_ensureSubject'](_0x22ccf0){const _0xc4c957=_0x20b139;return this[_0xc4c957(0x24b)][_0xc4c957(0x23b)](_0x22ccf0)||this[_0xc4c957(0x24b)][_0xc4c957(0x188)](_0x22ccf0,new _0x11085f(_0x192e86[_0xc4c957(0x138)])),this[_0xc4c957(0x24b)]['get'](_0x22ccf0);}}var Mt=(_0x36c8c8=>(_0x36c8c8[_0x36c8c8[_0x20b139(0x211)]=0x0]=_0x20b139(0x211),_0x36c8c8[_0x36c8c8['OK']=0x1]='OK',_0x36c8c8[_0x36c8c8[_0x20b139(0x20f)]=0x2]='INTERNAL_ERROR',_0x36c8c8[_0x36c8c8[_0x20b139(0x25d)]=0x3]=_0x20b139(0x25d),_0x36c8c8[_0x36c8c8[_0x20b139(0x1aa)]=0x4]=_0x20b139(0x1aa),_0x36c8c8[_0x36c8c8[_0x20b139(0x197)]=0x5]='UNAUTHENTICATED',_0x36c8c8[_0x36c8c8[_0x20b139(0x163)]=0x6]=_0x20b139(0x163),_0x36c8c8[_0x36c8c8['INVALID_ARGUMENT']=0x7]=_0x20b139(0xfa),_0x36c8c8[_0x36c8c8['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x36c8c8[_0x36c8c8[_0x20b139(0x1d8)]=0x9]='COMPLETION_FINISHED',_0x36c8c8[_0x36c8c8[_0x20b139(0xc7)]=0xa]='LOGIN_FAILED',_0x36c8c8[_0x36c8c8[_0x20b139(0x274)]=0x1389]=_0x20b139(0x274),_0x36c8c8[_0x36c8c8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x20b139(0xb4),_0x36c8c8[_0x36c8c8[_0x20b139(0x284)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x36c8c8[_0x36c8c8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x20b139(0x282),_0x36c8c8[_0x36c8c8[_0x20b139(0x28b)]=0x1b59]='APPLY_REJECT',_0x36c8c8[_0x36c8c8[_0x20b139(0x11f)]=0x1b5a]=_0x20b139(0x11f),_0x36c8c8[_0x36c8c8[_0x20b139(0xca)]=0x1b5b]=_0x20b139(0xca),_0x36c8c8[_0x36c8c8[_0x20b139(0x1bb)]=0x1b5c]=_0x20b139(0x1bb),_0x36c8c8[_0x36c8c8['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x36c8c8[_0x36c8c8[_0x20b139(0x1c4)]=0x1f41]=_0x20b139(0x1c4),_0x36c8c8[_0x36c8c8[_0x20b139(0x124)]=0x2329]=_0x20b139(0x124),_0x36c8c8[_0x36c8c8[_0x20b139(0x215)]=0x232a]=_0x20b139(0x215),_0x36c8c8[_0x36c8c8[_0x20b139(0x258)]=0x232b]=_0x20b139(0x258),_0x36c8c8[_0x36c8c8[_0x20b139(0x224)]=0x232c]=_0x20b139(0x224),_0x36c8c8[_0x36c8c8[_0x20b139(0x14e)]=0x232d]=_0x20b139(0x14e),_0x36c8c8[_0x36c8c8['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x20b139(0x13b),_0x36c8c8[_0x36c8c8[_0x20b139(0x152)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x36c8c8[_0x36c8c8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x20b139(0x157),_0x36c8c8[_0x36c8c8[_0x20b139(0x182)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x36c8c8[_0x36c8c8[_0x20b139(0x18e)]=0x271a]=_0x20b139(0x18e),_0x36c8c8[_0x36c8c8['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x20b139(0x14a),_0x36c8c8[_0x36c8c8[_0x20b139(0x297)]=0x271c]=_0x20b139(0x297),_0x36c8c8[_0x36c8c8['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x36c8c8[_0x36c8c8[_0x20b139(0x13c)]=0x271e]=_0x20b139(0x13c),_0x36c8c8[_0x36c8c8['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x36c8c8[_0x36c8c8[_0x20b139(0x219)]=0x2af9]=_0x20b139(0x219),_0x36c8c8[_0x36c8c8[_0x20b139(0x148)]=0x2ee1]=_0x20b139(0x148),_0x36c8c8[_0x36c8c8[_0x20b139(0x1a4)]=0x2ee2]=_0x20b139(0x1a4),_0x36c8c8[_0x36c8c8[_0x20b139(0xa4)]=0x2ee3]=_0x20b139(0xa4),_0x36c8c8[_0x36c8c8['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x36c8c8[_0x36c8c8[_0x20b139(0x9b)]=0x2ee5]=_0x20b139(0x9b),_0x36c8c8[_0x36c8c8['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x36c8c8[_0x36c8c8[_0x20b139(0x9e)]=0x32ca]=_0x20b139(0x9e),_0x36c8c8[_0x36c8c8[_0x20b139(0x240)]=0x32cb]=_0x20b139(0x240),_0x36c8c8[_0x36c8c8[_0x20b139(0xff)]=-0x1]=_0x20b139(0xff),_0x36c8c8))(Mt||{}),pn=Object[_0x20b139(0x1b2)],Cn=(_0x350fec,_0x42bb99,_0x26dde8,_0x374c15)=>{for(var _0x4c2144=_0x374c15>0x1?void 0x0:_0x374c15?pn(_0x42bb99,_0x26dde8):_0x42bb99,_0x45da43=_0x350fec['length']-0x1,_0x408689;_0x45da43>=0x0;_0x45da43--)(_0x408689=_0x350fec[_0x45da43])&&(_0x4c2144=_0x408689(_0x4c2144)||_0x4c2144);return _0x4c2144;},be=(_0x2233ab,_0xce5bba)=>(_0x3c31de,_0x3613f5)=>_0xce5bba(_0x3c31de,_0x3613f5,_0x2233ab);let rt=class extends _0x5a2508{constructor(_0x52a6e4,_0x4b313a,_0x14406e){const _0x1ec52d=_0x20b139;super(),this['_instanceService']=_0x52a6e4,this[_0x1ec52d(0xc4)]=_0x4b313a,this[_0x1ec52d(0x19d)]=_0x14406e;}async[_0x20b139(0x1ff)](_0x339b4d,_0x7be48e,_0x1ff7f2,..._0x3d0f3c){const _0x3969ef=_0x20b139;var _0x453e4e,_0xf41c67,_0x486f0f,_0xf49fe5;const _0x38884d=this[_0x3969ef(0x1a5)][_0x3969ef(0x17f)]();if(!_0x38884d)throw new Error(_0x3969ef(0x16b));const _0x2da73c=((_0x453e4e=this[_0x3969ef(0x19d)][_0x3969ef(0x25e)](_0x41931d))!=null?_0x453e4e:_0x5566a5)+'/'+_0x339b4d+'/run/'+_0x7be48e,_0x156ae0=new URL(window['location'][_0x3969ef(0x1cf)]),_0x143194={'scriptId':_0x339b4d,'runId':(_0xf41c67=_0x156ae0[_0x3969ef(0x17a)][_0x3969ef(0x1b7)](_0x3969ef(0x264)))!=null?_0xf41c67:'','function':_0x7be48e,'unitId':_0x38884d['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x3d0f3c),'invokeId':(_0x486f0f=_0x1ff7f2[_0x3969ef(0x267)])!=null?_0x486f0f:'','executionId':(_0xf49fe5=_0x1ff7f2[_0x3969ef(0xed)])!=null?_0xf49fe5:''};try{const _0x122494=await this['_httpService'][_0x3969ef(0xc2)](_0x2da73c,{'body':_0x143194});return _0x122494[_0x3969ef(0x288)][_0x3969ef(0x209)]&&_0x122494[_0x3969ef(0x288)][_0x3969ef(0x209)]['code']!==Mt['OK']?_0x3969ef(0x180):_0x122494[_0x3969ef(0x288)]['result'];}catch{return _0x3969ef(0x180);}}};rt=Cn([be(0x0,_0x2f34d9),be(0x1,_0x1c939e(_0x125174)),be(0x2,_0xa45751)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x1ce192=_0x1f26;(function(_0x300c6a,_0x2e54f6){const _0x510580=_0x1f26,_0x3a7ff6=_0x300c6a();while(!![]){try{const _0x567da9=-parseInt(_0x510580(0xe3))/0x1+parseInt(_0x510580(0x209))/0x2*(parseInt(_0x510580(0x265))/0x3)+parseInt(_0x510580(0xf8))/0x4+-parseInt(_0x510580(0x243))/0x5+-parseInt(_0x510580(0x19b))/0x6+-parseInt(_0x510580(0x2a3))/0x7*(-parseInt(_0x510580(0x26f))/0x8)+-parseInt(_0x510580(0x20d))/0x9*(-parseInt(_0x510580(0x21e))/0xa);if(_0x567da9===_0x2e54f6)break;else _0x3a7ff6['push'](_0x3a7ff6['shift']());}catch(_0x1e27e5){_0x3a7ff6['push'](_0x3a7ff6['shift']());}}}(_0x2e5a,0x33771));var $t=Object[_0x1ce192(0x1d9)],xt=(_0x28c9a8,_0x565e3a,_0x16b919)=>_0x565e3a in _0x28c9a8?$t(_0x28c9a8,_0x565e3a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16b919}):_0x28c9a8[_0x565e3a]=_0x16b919,_=(_0x382273,_0x50aaec,_0x547cc3)=>xt(_0x382273,typeof _0x50aaec!=_0x1ce192(0x197)?_0x50aaec+'':_0x50aaec,_0x547cc3);import{MemberService as _0x53729d,SessionStatus as _0x26cf17,CollaborationSessionService as _0x458a2a,CollaborationStatus as _0xd8eb28,CollaborationController as _0x1d56ae,ILocalCacheService as _0x3751ef,CollaborationUIEventService as _0x2b1aaa,CollaborationUIEventId as _0x58cd25,DataLoaderService as _0x58bccf,DocCollaborationEntity as _0x519b51,getLocalCacheKey as _0x9bac37,LOCAL_CACHE_INTERVAL as _0x322ff2,LOCAL_CACHE_INTERVAL_KEY as _0x3c7680,UniverCollaborationClientPlugin as _0x47332e,CollaborationSocketService as _0x4ad6cf,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x125ae8,DEFAULT_WS_SESSION_TICKET_URL as _0x414d52,UnitStatus as _0x2c453f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4f8726,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4c4402}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x9333b3,Disposable as _0x144de6,DOC_RANGE_TYPE as _0xc0b8ed,Inject as _0x239987,Injector as _0x5e9505,IUniverInstanceService as _0x4179c4,ICommandService as _0x21faa8,debounce as _0x4430f3,Rectangle as _0x35de71,DisposableCollection as _0x287b6b,toDisposable as _0x510264,UniverInstanceType as _0x51aa91,Tools as _0x21666c,COLORS as _0x42ea7a,ColorKit as _0x5bc39a,ThemeService as _0x55cd6f,fromEventSubject as _0x9385cd,LocaleService as _0x27c61b,createIdentifier as _0x3e7cb4,ILogService as _0x38b36c,Optional as _0x52e39b,Workbook as _0x3d8fbc,CommandType as _0x427c64,IConfigService as _0x565b71,ILocalStorageService as _0x459f4d,DependentOn as _0x5a04db,Plugin as _0x44768a,merge as _0x4ad380,registerDependencies as _0x22c7e6,mergeOverrideWithDependencies as _0x51226e,touchDependencies as _0x463f81,generateRandomId as _0x121979}from'@univerjs/core';import{Shape as _0x5de337,Rect as _0x5c3620,getColor as _0x2cf75c,RegularPolygon as _0x44e725,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5d1f36,Vector2 as _0x117315,SHEET_VIEWPORT_KEY as _0x24eaa1,IRenderManagerService as _0x3614ca}from'@univerjs/engine-render';function _0x2e5a(){const _0x2ff8ec=['subUnitId','data','getCurrentRevOfUnit','getSkeleton','/run/','_assignedColors','RemoveColCommandId','disposeWithMe','history','set','drawWith','onRendered','split','type','url(#$1','getTypeOfUnitAdded$','_startDocCollabCursor','INVITE_CODE_ALREADY_BOUND','origin','_initEntityListener','invokeId','_commandService','USER_NOT_INVITED_CODE','startRow','_anchorDot','m2Prime','asObservable','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','disableLocalCache','idSuffix','_hideTimer','purple.300','setParam','getConfig','mutations','attrs','_cachedData','defineProperty','LICENSE_IMPORT_SIZE_EXCEEDED','getTypeOfUnitDisposed$','setInterval','_heartbeatTimer','getOwnPropertyDescriptor','_instanceService','indexOf','arc','endColumn','toRgbString','children','textRanges','getRangePointData','session.will-retry','PY_RUNTIME_SCRIPT_ERROR','_dataLoaderService','setShapeProps','beginPath','setConfig','_send','_docClipboardService','_localStorageService','sessionStatus$','[CollaborationDataLoaderController]','_cursorInfo$','_toggleOffline','VIEW_MAIN','getUnitStatus$','AWAITING','_config','_cursors','lineTo','newValue','_createSocketURL','TEXT','ONLINE','_onRefRangeChange','_beforeCloseService','APPLY_DUPLICATED','onTransformChange$','InsertRangeMoveDownCommandId','registerRefRange','UNDEFINED','_disabled','bottom','setUndoRedoMutationParamsCache','icon','4834PEgvwv','transform','unshift','LICENSE_MAX_UNITS_EXCEEDED','885627hxxKBP','permission.title','_transformUndoRedoStack','endRow','call','forEach','on-line-single_clip0_910_349','href','with','assignAColorForMemberID','triggerDblclick','PENDING','hide','updateOfflineData','_id','collab-text-range-','width','30kEOeBU','getStateCache','result','uni.network.url-service','fillText','getMergeData','_docSkeletonManagerService','_draw','get','onMouseMove','NOT_COLLAB','redoState','error','tag','setTimeout','restore','_scheduleSaving','currentColor','getAncestorScale','INVALID_ARGUMENT','displayName','_urlService','height','skeleton','_getScale','push','delete','YUUMI_UNABLE_LOAD_URL','unit','range','_getMergeRange','values','getFocusedUnit','_status$','collabStatus.notCollab','_syncEditingCollabCursorService','_updateCollabCursors','348435XiFUdl','_colorAssignService','addObject','currentSkeleton$','sheetID','collabStatus.conflict','YUUMI_NO_CUBOID_FOR_QUESTION','transformIMECache','docStateChange$','_scheduleHeartbeat','_entityInit$','params','_docTransformSelectionsService','RemoveRowCommandId','pushState','imageSourceType','WECHAT_HAS_BEEN_BOUND','_handleLeaveEvent','translate(.97)','onPointerMove$','collab-text-anchor-','transformSelections','_collabSessionService','body','CONNECTOR_DATA_TOO_LARGE','getValue','color','_selfUnitIDs','replace','getCollabCursors$','_updateURLWithCurrentState','_initStatusComponent','propertyIsEnumerable','getViewport','60LXmGgi','on-line-single','saveImage','_backgroundColor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','pluginName','min','clearTimeout','_ensureSubject','whenReady','8NWgesR','_name','_messageService','HEADER_MENU','_memberService','_color','roomMembers','_initResize','complete','registerComponent','flatMap','unload','executionId','_refRangeService','_docSyncEditingCollabCursorService','_themeService','has','hasOwnProperty','_removeCollabCursors','init','1em','_labelPosition','getOwnPropertySymbols','size','exhaustSavingTask','M0\x200H16V16H0z','ENSURE_SNAPSHOT_EXECUTION','SNAPSHOT_INVALID_SNAPSHOT','_scheduleClearOtherTimer','text','_registerDependencies','_scene','mask','UNAUTHENTICATED','labelPosition','createSocket','currentTheme$','NOT_FOUND','getUnhiddenWorksheets','_unitOnClients','_logService','getRenderById','_onCursorUpdate','getActiveRange','_context','_httpService','OFFLINE','_docTransformStateCacheService','dispose','blue.400','SOCKET_FAILED_RETRY','next','2421685lbdpzG','UPDATE_CURSOR','getUndoRedoMutationParamsCache','APPLY_PERMISSION_DENIED','createInstance','clipPath','EMAIL_HAS_BEEN_BOUND','getColorFromTheme','green.600','unitId','deepClone','UniverIcon','FromArray','UNIVER_DOC','cursorInfo$','_univerInstanceService','location','generateRandomId','popstate','...','toString','Error','requireSession','_hover','_transformPreviousActiveRange','session.connection-failed','cursorInfo','NO_OTHER_CLIENTS_EDITING','clearInterval','MUTATION','UNIVER_SHEET','random','_init','INVITE_CODE_REQUIRED','font','_colorIndex','memberID','assign','INVITE_CODE_HAS_BEEN_UES','none','_entities','addHandlerCallback','loadOfflineData','ALREADY_EXISTS','hovered','path','concat','onPointerLeave$','_notificationService','defs','getActiveSheet','_handleHover','getRelativeToViewportCoord','138727UkyuSG','post','0\x200\x2017\x2016','saveOfflineData','_session','_configService','_removeClearOtherTimer','selection','getParam','_shapes','measureText','_startSheetCollabCursor','_cursor','OffLineSingle','m1Prime','_updateSubUnitFromURLParams','getCurrentSelections','_hovered','storage','OTHER_CLIENT_EDITING','getCurrentUnitForType','555452LhSCck','_getSheetObject','_getSessionTicket','_anchor','send','transformMutation','_docTransformIMECacheService','_toggleOnline','_drawTextRange','show','prototype','subunit','startsWith','moveTo','disposeUnit','fillStyle','entries','code','colorChannel1','onStarting','collaboration-client.offline-data-not-saved','add','findNodePositionByCharIndex','Unknown\x20user','override','search','_docStateChangeManagerService','CHANGESET_REVISION_CONFILICT','getUnitId','includes','executeCommand','_onCursorDelete','_cursorShapes','max','COMPLETION_FINISHED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_localeService','searchParams','string','collabCursorState$','permission.content','row','_eventUnsubscribe','_collabCursorController','APPLY_REVISION_CONFILICT','jiqing.500','getSheetId','FETCH_MISS','enableLocalCache','_getSaveTimeout','_handleEvent','LICENSE_EXPORT_SIZE_EXCEEDED','name','_transformHistoryAndStateStack','collaboration.closeRoom','then','getSheetBySheetId','ACTIVE_UNIT_EVENT_CHANNEL','_collaborationController','INTERNAL_ERROR','from','dispose$','transformMutationsWithChangeset','#fff','unsubscribe','map','TOO_MANY_REQUESTS','fill','isActive','entityInit$','_handleJoinEvent','USERS_LEAVE','isArray','doc.mutation.rich-text-editing','sessionTicket','_setupSubUnitSync','use','unitID','LICENSE_DISTRO_REJECTED','undoState','_online','onPointerEnter$','YUUMI_ALL_TABLES_IS_INVALID','RECT','_textBubble','_collaborationUIEventService','_updateLocalCursor','OTHER_CLIENTS_EDITING','subscribe','setActiveRange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_collabCursorState$','getDocRanges','roomMembers$','off-line-single_clip0_910_343','_saveTaskMap','saveTaskMap','_imageIoService','PERMISSION_DENIED','_renderManagerService','round','length','debug','svg','_initCommandExecutedListener','_render','startColumn','pipe','_localCacheService','_initStatusListener','0\x200\x2016\x2016','YUUMI_SUBSCRIPTION_NOT_FOUND','status$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defIds','collabStatus.fetchMiss','_roomMembers$','yellow.400','_transformService','_drawAnchor','InsertColCommandId','function','_refreshCollabCursors','DeleteRangeMoveLeftCommandId','_injector','evenodd','urlChange$','replaceState','_range','INVALID_INVITE_CODE','AWAITING_WITH_PENDING','fillRule','onLocalMutation','isEditing','SNAPSHOT_HAS_BEEN_REMOVED','UNRECOGNIZED','addEventListener','_clearOtherTimers','YUUMI_URL_COL_OUT_OF_RANGE','apply','getMemberID','univer-flex\x20univer-mr-2\x20univer-text-xl','InsertRowCommandId','_sheetSkeletonManagerService','Warning','_saveCache','className','xlink:href','editingUnit','getCollabEntity$','collab-client.tooltip.reconnect','column','LOGIN_FAILED','_lastPointer','YUUMI_AI_RUN_FAILED','application/json','_unitStatus','onCommandExecuted','univer-flex\x20univer-items-center','symbol','#FFF','_drawRectRange','transformRemoteChangeset','2454912hpzRqL','setItem','MoveRangeCommandId','_revisionService','ranges','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','wsSessionTicketUrl','transformStateCache','addClipboardHook','getVpScrollXYInfoByPosToVp','save','event$','subscribeEvent','syncEditingCollabCursor','reconnect','black','stringify','Failed','_registerRenderDependencies','_initDependencies','url(#off-line-single_clip0_910_343)','div','MOBILE_HAS_BEEN_BOUND','eventID','url(#on-line-single_clip0_910_349)'];_0x2e5a=function(){return _0x2ff8ec;};return _0x2e5a();}import{ISocketService as _0x59252d,WebSocketService as _0x1d88e3,HTTPService as _0x52a080}from'@univerjs/network';import{IDocClipboardService as _0x306d0b,NodePositionConvertToCursor as _0x300c2a,NodePositionConvertToRectRange as _0x297647,TEXT_RANGE_LAYER_INDEX as _0x4f75cf,SetDocZoomRatioOperation as _0x3b04bc,DocIMEInputManagerService as _0x5bf910,DocStateChangeManagerService as _0x44c46b}from'@univerjs/docs-ui';import{IImageIoService as _0x42d835}from'@univerjs/drawing';import{BehaviorSubject as _0x5cf3b0,debounceTime as _0x5da0b0,takeUntil as _0x2acf27,Subject as _0x3f3452,filter as _0x3fbef3,switchMap as _0x16edd9,merge as _0x1c3275,combineLatest as _0x13860d,of as _0x3b737f,fromEvent as _0x235b00,shareReplay as _0x3e6529,mapTo as _0x183d2f,distinctUntilChanged as _0x43362a}from'rxjs';import{SetTextSelectionsOperation as _0x540f11,RichTextEditingMutation as _0x56a8b2,DocSelectionManagerService as _0x17cabf,DocSkeletonManagerService as _0x5865}from'@univerjs/docs';import{ITransformService as _0x1fab30,CollaborationEvent as _0x3a24e3,isTransformMutationFailure as _0x11fd4d,isTransformMutationsWithChangesetSuccess as _0x172225,RevisionService as _0x259ea7,ISnapshotServerService as _0x34c05e}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x80501f,serializeRangeWithSheet as _0x3bdd9f}from'@univerjs/engine-formula';import{RefRangeService as _0x24dcde,SetSelectionsOperation as _0x8c6a20,SheetsSelectionsService as _0x11f5bc,EffectRefRangId as _0x2ccfdd,handleIRemoveRow as _0x5b0100,handleIRemoveCol as _0x1adb7a,handleMoveRange as _0x5878aa,handleInsertRow as _0x15d6de,handleInsertRangeMoveRight as _0x3f50a4,handleInsertRangeMoveDown as _0x1eb9bd,handleInsertCol as _0x14711a,handleDeleteRangeMoveUp as _0xe99322,handleDeleteRangeMoveLeft as _0xe7258b,runRefRangeMutations as _0x392cb3,SetWorksheetActivateCommand as _0x26e932}from'@univerjs/sheets';import{map as _0x49ce09,filter as _0x2472f7,throttleTime as _0x1abbe2,takeUntil as _0x2ebefe,switchMap as _0x40b245}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2fb0e8,getCoordByCell as _0x39c976,getSheetObject as _0x492348}from'@univerjs/sheets-ui';import{jsx as _0x588b07,jsxs as _0x547480}from'react/jsx-runtime';import{useObservable as _0xc2398f,useDependency as _0x184e79,IUIPartsService as _0x3f1933,BuiltInUIPart as _0x5dee2b,connectInjector as _0x2ea3d0,IBeforeCloseService as _0x15bba7,IMessageService as _0xd35ac0,INotificationService as _0x3b1ed0}from'@univerjs/ui';import{Tooltip as _0xbcee8f,clsx as _0x4bc9b1,MessageType as _0x1a4d8c}from'@univerjs/design';import{forwardRef as _0x411f73,useRef as _0x112251,createElement as _0x23b1a3,useCallback as _0x4da205}from'react';import{IRemoteInstanceService as _0x105082}from'@univerjs/rpc';var ci=Object[_0x1ce192(0x1de)],li=(_0x2e6154,_0x5e5cc6,_0x341a74,_0x5349b3)=>{for(var _0x4dc113=_0x5349b3>0x1?void 0x0:_0x5349b3?ci(_0x5e5cc6,_0x341a74):_0x5e5cc6,_0x1751fa=_0x2e6154['length']-0x1,_0x396de5;_0x1751fa>=0x0;_0x1751fa--)(_0x396de5=_0x2e6154[_0x1751fa])&&(_0x4dc113=_0x396de5(_0x4dc113)||_0x4dc113);return _0x4dc113;},Je=(_0x2c9335,_0xdbb4cd)=>(_0x3b5712,_0x2a43f1)=>_0xdbb4cd(_0x3b5712,_0x2a43f1,_0x2c9335);let Ne=class extends _0x9333b3{constructor(_0xd1d29d,_0x36c897){const _0xfa607=_0x1ce192;super(),this[_0xfa607(0x1ee)]=_0xd1d29d,this[_0xfa607(0x159)]=_0x36c897,this[_0xfa607(0x2c3)]();}[_0x1ce192(0x2c3)](){const _0x5d1e74=_0x1ce192,_0x47423e=this;this['disposeWithMe'](this[_0x5d1e74(0x1ee)][_0x5d1e74(0x1a3)]({'onBeforePasteImage':async _0x1c1fb2=>{const _0x3eed0b=_0x5d1e74,_0x44cd44=await _0x47423e['_imageIoService'][_0x3eed0b(0x267)](_0x1c1fb2);return _0x44cd44?{'source':_0x44cd44['source'],'imageSourceType':_0x44cd44[_0x3eed0b(0x252)]}:null;}}));}};Ne=li([Je(0x0,_0x306d0b),Je(0x1,_0x42d835)],Ne);const Ze=[_0x1ce192(0x1d3),_0x1ce192(0x125),_0x1ce192(0x2ab),'red.300',_0x1ce192(0x2a0),_0x1ce192(0x16d)];class ke extends _0x144de6{constructor(){const _0x55d3e8=_0x1ce192;super(...arguments),_(this,_0x55d3e8(0x1b9),new Map()),_(this,_0x55d3e8(0x2c6),0x0);}[_0x1ce192(0x216)](_0x45417c){const _0x2a0a56=_0x1ce192;if(this[_0x2a0a56(0x1b9)][_0x2a0a56(0x27f)](_0x45417c))return this[_0x2a0a56(0x1b9)][_0x2a0a56(0x226)](_0x45417c);const _0x17ce22=Ze[this[_0x2a0a56(0x2c6)]];return this[_0x2a0a56(0x2c6)]=(this['_colorIndex']+0x1)%Ze[_0x2a0a56(0x15d)],this[_0x2a0a56(0x1b9)][_0x2a0a56(0x1bd)](_0x45417c,_0x17ce22),_0x17ce22;}}function Tt(_0x2b1af3){const _0x27980e=_0x1ce192;let _0x7c258b='';for(const _0x569685 of _0x2b1af3){const {startOffset:_0x1ce549,endOffset:_0x3dee9e,isActive:_0x4affbf,rangeType:_0x49dfe5,segmentId:_0x26ed51,segmentPage:_0x369cd2}=_0x569685;_0x7c258b[_0x27980e(0x15d)]&&(_0x7c258b+=','),_0x7c258b+=_0x1ce549+':'+_0x3dee9e+':'+(_0x4affbf?'1':'0')+':'+_0x49dfe5+':'+_0x26ed51+':'+_0x369cd2;}return _0x7c258b;}function _i(_0x187c2c){const _0x2299f5=_0x1ce192,_0x2c7e6e=_0x187c2c[_0x2299f5(0x1c0)](','),_0x1e0ee4=[];for(const _0x320971 of _0x2c7e6e){const [_0x5d247d,_0x4e4e5c,_0x5b425d,_0x258978,_0xcccbf8,_0x4708c2]=_0x320971[_0x2299f5(0x1c0)](':');_0x1e0ee4[_0x2299f5(0x237)]({'startOffset':Number(_0x5d247d),'endOffset':Number(_0x4e4e5c),'collapsed':_0x5d247d===_0x4e4e5c,'isActive':_0x5b425d==='1','rangeType':_0x258978===_0xc0b8ed[_0x2299f5(0x1fc)]?_0xc0b8ed[_0x2299f5(0x1fc)]:_0xc0b8ed[_0x2299f5(0x14b)],'segmentId':typeof _0xcccbf8=='string'?String(_0xcccbf8):'','segmentPage':Number(_0x4708c2!=null?_0x4708c2:-0x1)});}return _0x1e0ee4['some'](_0x1b5091=>_0x1b5091['isActive'])||(_0x1e0ee4[0x0][_0x2299f5(0x13c)]=!0x0),_0x1e0ee4;}class He extends _0x9333b3{constructor(){const _0x2bc889=_0x1ce192;super(...arguments),_(this,_0x2bc889(0x153),new _0x5cf3b0(null)),_(this,_0x2bc889(0x11f),this[_0x2bc889(0x153)]['asObservable']());}['syncEditingCollabCursor'](_0x311636){const _0x491d50=_0x1ce192,{unitID:_0x692cad,memberID:_0x4a9f60,textRanges:_0x56723a}=_0x311636,_0x299a1e=Tt(_0x56723a);if(_0x299a1e==='')return;const _0x25741b={'unitID':_0x692cad,'memberID':_0x4a9f60,'selection':_0x299a1e};this['_collabCursorState$'][_0x491d50(0x2a2)](_0x25741b);}}var hi=Object[_0x1ce192(0x1de)],ui=(_0x5b5942,_0x2c3297,_0x3ad83d,_0x122066)=>{const _0x36dded=_0x1ce192;for(var _0x22ad9f=_0x122066>0x1?void 0x0:_0x122066?hi(_0x2c3297,_0x3ad83d):_0x2c3297,_0x21e8c9=_0x5b5942[_0x36dded(0x15d)]-0x1,_0x4e9333;_0x21e8c9>=0x0;_0x21e8c9--)(_0x4e9333=_0x5b5942[_0x21e8c9])&&(_0x22ad9f=_0x4e9333(_0x22ad9f)||_0x22ad9f);return _0x22ad9f;},L=(_0x10a871,_0xb4672c)=>(_0x3603c6,_0x18df56)=>_0xb4672c(_0x3603c6,_0x18df56,_0x10a871);const di=0x12c,fi=0x64;let Ue=class extends _0x9333b3{constructor(_0x2e83e0,_0x539036,_0x13bc98,_0x5534bd,_0x1826fc,_0x2608b0,_0x40e0bf,_0x1aeb73,_0x2dec9b){const _0x435f21=_0x1ce192;super(),_(this,_0x435f21(0x148),!0x1),_(this,_0x435f21(0x2c3),!0x1),_(this,_0x435f21(0x1f2),new _0x5cf3b0(new Map())),_(this,_0x435f21(0x2b1),this[_0x435f21(0x1f2)][_0x435f21(0x1ce)]()),_(this,_0x435f21(0x16c),new _0x5cf3b0([])),_(this,_0x435f21(0x155),this[_0x435f21(0x16c)][_0x435f21(0x163)](_0x5da0b0(di))),_(this,_0x435f21(0x14e),_0x4430f3(_0x18bf1a=>{const _0x31a741=_0x435f21,_0x3502e3={'eventID':_0x3a24e3['UPDATE_CURSOR'],'data':{'unitID':this[_0x31a741(0x145)],'memberID':this[_0x31a741(0xe7)]['getMemberID'](),'selection':Tt(_0x18bf1a)}};this['_session']['send'](_0x3502e3,this[_0x31a741(0x145)]);},fi)),(this[_0x435f21(0x145)]=_0x2e83e0,this['_session']=_0x539036,this[_0x435f21(0x174)]=_0x13bc98,this[_0x435f21(0x244)]=_0x5534bd,this[_0x435f21(0x273)]=_0x1826fc,this['_syncEditingCollabCursorService']=_0x2608b0,this['_transformService']=_0x40e0bf,this[_0x435f21(0x2b2)]=_0x1aeb73,this['_commandService']=_0x2dec9b);}get[_0x1ce192(0x2bd)](){const _0x1a89ea=_0x1ce192;return this[_0x1a89ea(0x1f2)][_0x1a89ea(0x25c)]();}get[_0x1ce192(0x275)](){const _0x2320b6=_0x1ce192;return this['_roomMembers$'][_0x2320b6(0x25c)]();}[_0x1ce192(0x29f)](){const _0x496695=_0x1ce192;super[_0x496695(0x29f)](),this[_0x496695(0x1f2)]['next'](new Map()),this['_cursorInfo$'][_0x496695(0x277)](),this['_roomMembers$'][_0x496695(0x2a2)]([]),this[_0x496695(0x16c)][_0x496695(0x277)]();}['init'](){const _0x102102=_0x1ce192;this[_0x102102(0x2c3)]||(this[_0x102102(0x2c3)]=!0x0,this['_session'][_0x102102(0x1f0)][_0x102102(0x163)](_0x2acf27(this['dispose$']))['subscribe'](_0x2fc447=>{const _0x5479ea=_0x102102;_0x2fc447===_0x26cf17[_0x5479ea(0x1fd)]?this[_0x5479ea(0xff)]():this[_0x5479ea(0x1f3)]();}),this[_0x102102(0xe7)][_0x102102(0x1a6)][_0x102102(0x163)](_0x2acf27(this[_0x102102(0x135)]))[_0x102102(0x150)](_0x3b0175=>{const _0x4c3879=_0x102102,_0x498eee=_0x3b0175[_0x4c3879(0x1b2)];_0x498eee===_0x3a24e3['UPDATE_CURSOR']&&this[_0x4c3879(0x299)](_0x3b0175),_0x498eee===_0x3a24e3[_0x4c3879(0x13f)]&&this[_0x4c3879(0x117)](_0x3b0175);}),this[_0x102102(0x1bb)](this[_0x102102(0x1c9)][_0x102102(0x195)](_0x7736fe=>{const _0xaa022b=_0x102102,_0x44c656=_0x7736fe['params'];_0x44c656!=null&&this['_online']&&_0x7736fe['id']===_0x540f11['id']&&_0x44c656[_0xaa022b(0x2ac)]===this[_0xaa022b(0x145)]&&_0x44c656[_0xaa022b(0x17d)]===!0x1&&_0x44c656[_0xaa022b(0x19f)][_0xaa022b(0x15d)]>0x0&&this['_updateLocalCursor'](_0x44c656['ranges']);})),this[_0x102102(0x241)]['collabCursorState$'][_0x102102(0x163)](_0x2acf27(this[_0x102102(0x135)]))['subscribe'](_0x20096d=>{const _0x17301a=_0x102102;if((_0x20096d==null?void 0x0:_0x20096d[_0x17301a(0x145)])!==this[_0x17301a(0x145)])return;const _0x453881={'eventID':_0x3a24e3[_0x17301a(0x2a4)],'data':_0x20096d};this[_0x17301a(0x299)](_0x453881);}),this[_0x102102(0x1bb)](this[_0x102102(0x1c9)][_0x102102(0x195)](_0x3ca156=>{const _0x1b4a52=_0x102102;if(_0x3ca156[_0x1b4a52(0x24e)]==null)return;const _0x596902=_0x3ca156[_0x1b4a52(0x24e)];if(_0x3ca156['id']!==_0x56a8b2['id']||_0x596902[_0x1b4a52(0x2ac)]!==this['unitID'])return;const _0x363fad={'id':_0x1b4a52(0x141),'params':_0x596902},_0x5d4cce=this[_0x1b4a52(0x2bd)];for(const [_0x20497a,_0x5ad1db]of _0x5d4cce){const _0x3e1b56={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1b4a52(0x145)],'actions':null,'textRanges':_0x5ad1db[_0x1b4a52(0x19f)]}},_0x3c7d47=this[_0x1b4a52(0x16e)][_0x1b4a52(0xfd)](_0x363fad,_0x3e1b56,!0x1);if(_0x11fd4d(_0x3c7d47))throw _0x3c7d47[_0x1b4a52(0x22a)];_0x5d4cce[_0x1b4a52(0x1bd)](_0x20497a,{..._0x5ad1db,'ranges':_0x3c7d47[_0x1b4a52(0x1cd)][_0x1b4a52(0x24e)][_0x1b4a52(0x1e5)]});}queueMicrotask(()=>{const _0x5e254e=_0x1b4a52;this[_0x5e254e(0x1f2)][_0x5e254e(0x2a2)](_0x5d4cce);});})));}[_0x1ce192(0x299)](_0x3556ce){const _0x47d410=_0x1ce192;var _0x1374ed,_0x3c5d1f;const {memberID:_0x5d7f53,selection:_0x1a0ff6}=_0x3556ce['data'],_0x125d2d=_i(_0x1a0ff6),_0x559c5d=(_0x3c5d1f=(_0x1374ed=this[_0x47d410(0x273)]['getMember'](this[_0x47d410(0x145)],_0x5d7f53))==null?void 0x0:_0x1374ed[_0x47d410(0x12c)])!=null?_0x3c5d1f:_0x47d410(0x10f),_0xa57291={'color':this['_colorAssignService'][_0x47d410(0x216)](_0x5d7f53),'name':_0x559c5d,'ranges':_0x125d2d},_0x198f1e=this[_0x47d410(0x2bd)];_0x198f1e[_0x47d410(0x1bd)](_0x5d7f53,_0xa57291),this[_0x47d410(0x1f2)]['next'](_0x198f1e);}['_onCursorDelete'](_0x2de325){const _0x286b11=_0x1ce192,{memberID:_0x258770}=_0x2de325['data'],_0x9d6b80=this[_0x286b11(0x2bd)];_0x9d6b80['delete'](_0x258770),this[_0x286b11(0x1f2)][_0x286b11(0x2a2)](_0x9d6b80);}[_0x1ce192(0xff)](){const _0x478396=_0x1ce192;var _0x977b73;if(this['_online']=!0x0,((_0x977b73=this[_0x478396(0x2b2)][_0x478396(0x23e)]())==null?void 0x0:_0x977b73['getUnitId']())!==this['unitID'])return;const _0x2d60ad=this[_0x478396(0x174)][_0x478396(0x226)](_0x17cabf)['getDocRanges']();Array[_0x478396(0x140)](_0x2d60ad)&&_0x2d60ad[_0x478396(0x15d)]>0x0&&this[_0x478396(0x14e)](_0x2d60ad);}[_0x1ce192(0x1f3)](){const _0x731fe3=_0x1ce192;this[_0x731fe3(0x148)]=!0x1;}};Ue=ui([L(0x2,_0x239987(_0x5e9505)),L(0x3,_0x239987(ke)),L(0x4,_0x239987(_0x53729d)),L(0x5,_0x239987(He)),L(0x6,_0x1fab30),L(0x7,_0x4179c4),L(0x8,_0x21faa8)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x415b26,_0x10fc89,_0x13e65f,_0x1dbdfa)=>{const _0x5b3c4b=_0x1ce192;for(var _0x2b1365=_0x1dbdfa>0x1?void 0x0:_0x1dbdfa?Si(_0x10fc89,_0x13e65f):_0x10fc89,_0x4ceb37=_0x415b26[_0x5b3c4b(0x15d)]-0x1,_0x452b40;_0x4ceb37>=0x0;_0x4ceb37--)(_0x452b40=_0x415b26[_0x4ceb37])&&(_0x2b1365=_0x452b40(_0x2b1365)||_0x2b1365);return _0x2b1365;},x=(_0x1c422b,_0xc3c1f2)=>(_0x4dc805,_0x326a18)=>_0xc3c1f2(_0x4dc805,_0x326a18,_0x1c422b);const gi=0x12c,Ii=0x64,vi=()=>{let _0x105281=[],_0x9a30e1=!0x1;return _0x418952=>{_0x105281['push'](_0x418952),_0x9a30e1||(_0x9a30e1=!0x0,setTimeout(()=>{_0x105281['forEach'](_0x12a3de=>_0x12a3de()),_0x105281=[],_0x9a30e1=!0x1;}));};};let Me=class extends _0x9333b3{constructor(_0x30624b,_0x39b28b,_0x3b428c,_0x1cbc1b,_0x536bc9,_0x3db93b,_0x97922b,_0x3d5f0f){const _0x2736a0=_0x1ce192;super(),_(this,_0x2736a0(0x148),!0x1),_(this,_0x2736a0(0x2c3),!0x1),_(this,_0x2736a0(0x1f2),new _0x5cf3b0(new Map())),_(this,'cursorInfo$',this[_0x2736a0(0x1f2)]['asObservable']()),_(this,_0x2736a0(0x16c),new _0x5cf3b0([])),_(this,'roomMembers$',this['_roomMembers$'][_0x2736a0(0x163)](_0x5da0b0(gi))),_(this,_0x2736a0(0x14e),_0x4430f3((_0x12f21c,_0x53c43b)=>{const _0x554664=_0x2736a0,_0x8569c9={'eventID':_0x3a24e3[_0x554664(0x2a4)],'data':{'unitID':this[_0x554664(0x145)],'memberID':this['_session'][_0x554664(0x184)](),'selection':_0x3bdd9f(_0x12f21c,_0x53c43b[_0x554664(0x23b)])}};this[_0x554664(0xe7)][_0x554664(0xfc)](_0x8569c9,this[_0x554664(0x145)]);},Ii)),(this[_0x2736a0(0x145)]=_0x30624b,this[_0x2736a0(0xe7)]=_0x39b28b,this[_0x2736a0(0x174)]=_0x3b428c,this[_0x2736a0(0x244)]=_0x1cbc1b,this['_memberService']=_0x536bc9,this[_0x2736a0(0x2b2)]=_0x3db93b,this[_0x2736a0(0x1c9)]=_0x97922b,this['_refRangeService']=_0x3d5f0f);}get[_0x1ce192(0x2bd)](){const _0x3a3091=_0x1ce192;return this[_0x3a3091(0x1f2)]['getValue']();}get['roomMembers'](){const _0xcdb357=_0x1ce192;return this[_0xcdb357(0x16c)][_0xcdb357(0x25c)]();}['dispose'](){const _0x448148=_0x1ce192;super[_0x448148(0x29f)](),this[_0x448148(0x1f2)]['next'](new Map()),this['_cursorInfo$'][_0x448148(0x277)](),this[_0x448148(0x16c)]['next']([]),this[_0x448148(0x16c)][_0x448148(0x277)]();}[_0x1ce192(0x282)](){const _0x72c6c4=_0x1ce192;this['_init']||(this['_init']=!0x0,this[_0x72c6c4(0xe7)]['sessionStatus$'][_0x72c6c4(0x163)](_0x2acf27(this[_0x72c6c4(0x135)]))[_0x72c6c4(0x150)](_0xb3f05f=>{const _0x4ebe37=_0x72c6c4;_0xb3f05f===_0x26cf17['ONLINE']?this[_0x4ebe37(0xff)]():this['_toggleOffline']();}),this['_session'][_0x72c6c4(0x1a6)][_0x72c6c4(0x163)](_0x2acf27(this[_0x72c6c4(0x135)]))[_0x72c6c4(0x150)](_0x2e9b0a=>{const _0x1cb8a2=_0x72c6c4,_0x5af445=_0x2e9b0a[_0x1cb8a2(0x1b2)];_0x5af445===_0x3a24e3[_0x1cb8a2(0x2a4)]&&this['_onCursorUpdate'](_0x2e9b0a),_0x5af445===_0x3a24e3[_0x1cb8a2(0x13f)]&&this['_onCursorDelete'](_0x2e9b0a);}),this[_0x72c6c4(0x1fe)](),this[_0x72c6c4(0x1bb)](this[_0x72c6c4(0x1c9)]['onCommandExecuted'](_0x31370e=>{const _0x549c6a=_0x72c6c4;if(this[_0x549c6a(0x148)]&&_0x31370e['id']===_0x8c6a20['id']&&_0x31370e[_0x549c6a(0x24e)][_0x549c6a(0x2ac)]===this[_0x549c6a(0x145)]){const _0x547c99=_0x31370e['params'];this[_0x549c6a(0x14e)](_0x547c99[_0x549c6a(0x1b4)],_0x547c99['selections'][0x0]);}})));}['_onCursorUpdate'](_0x579a52){const _0xd42208=_0x1ce192;var _0x5f3c77,_0x13290e;const {memberID:_0x42f0ee,selection:_0x246397}=_0x579a52[_0xd42208(0x1b5)],{sheetName:_0x3c9318,range:_0x5c4a4d}=_0x80501f(_0x246397),_0x181632={'name':(_0x13290e=(_0x5f3c77=this[_0xd42208(0x273)]['getMember'](this['unitID'],_0x42f0ee))==null?void 0x0:_0x5f3c77['name'])!=null?_0x13290e:_0xd42208(0x10f),'range':this['_getMergeRange'](_0x3c9318,_0x5c4a4d),'sheetID':_0x3c9318,'color':this['_colorAssignService'][_0xd42208(0x216)](_0x42f0ee),'selection':_0x246397},_0x44ab5f=this[_0xd42208(0x2bd)];_0x44ab5f[_0xd42208(0x1bd)](_0x42f0ee,_0x181632),this[_0xd42208(0x1f2)][_0xd42208(0x2a2)](_0x44ab5f);}['_onCursorDelete'](_0x4ac94d){const _0x135634=_0x1ce192,{memberID:_0x708f5c}=_0x4ac94d['data'],_0x484eb4=this[_0x135634(0x2bd)];_0x484eb4[_0x135634(0x238)](_0x708f5c),this[_0x135634(0x1f2)][_0x135634(0x2a2)](_0x484eb4);}[_0x1ce192(0x23c)](_0x576d1f,_0x24aeb2){const _0x460961=_0x1ce192;var _0x4259ae,_0xcf7622;const _0x350a88=(_0xcf7622=(_0x4259ae=this[_0x460961(0x2b2)]['getUniverSheetInstance'](this[_0x460961(0x145)]))==null?void 0x0:_0x4259ae[_0x460961(0x130)](_0x576d1f))==null?void 0x0:_0xcf7622[_0x460961(0x223)]();return(_0x350a88==null?void 0x0:_0x350a88['find'](_0x36afe7=>_0x35de71['contains'](_0x36afe7,_0x24aeb2)))||_0x24aeb2;}['_onRefRangeChange'](){const _0x308314=_0x1ce192,_0x18f076=new _0x287b6b(),_0x5aed8f=vi(),_0x48ffc0=()=>{const _0x199e84=_0x1f26;_0x18f076[_0x199e84(0x29f)]();const _0x421f04=(_0x22c825,_0x3f3e31,_0x200a10,_0x1915ac)=>{const _0x3f3230=_0x199e84;let _0x51675f=[];switch(_0x22c825['id']){case _0x2ccfdd[_0x3f3230(0x173)]:{_0x51675f=_0xe7258b(_0x22c825,_0x1915ac);break;}case _0x2ccfdd['DeleteRangeMoveUpCommandId']:{_0x51675f=_0xe99322(_0x22c825,_0x1915ac);break;}case _0x2ccfdd[_0x3f3230(0x170)]:{_0x51675f=_0x14711a(_0x22c825,_0x1915ac);break;}case _0x2ccfdd[_0x3f3230(0x202)]:{_0x51675f=_0x1eb9bd(_0x22c825,_0x1915ac);break;}case _0x2ccfdd['InsertRangeMoveRightCommandId']:{_0x51675f=_0x3f50a4(_0x22c825,_0x1915ac);break;}case _0x2ccfdd[_0x3f3230(0x186)]:{_0x51675f=_0x15d6de(_0x22c825,_0x1915ac);break;}case _0x2ccfdd[_0x3f3230(0x19d)]:{_0x51675f=_0x5878aa(_0x22c825,_0x1915ac);break;}case _0x2ccfdd[_0x3f3230(0x1ba)]:{_0x51675f=_0x1adb7a(_0x22c825,_0x1915ac);break;}case _0x2ccfdd[_0x3f3230(0x250)]:{_0x51675f=_0x5b0100(_0x22c825,_0x1915ac);break;}}const _0x4c921a=_0x392cb3(_0x51675f,_0x1915ac),_0x21d173=this['cursorInfo']['get'](_0x3f3e31);if(_0x21d173&&_0x4c921a){const _0x294054={..._0x21d173,'range':_0x4c921a};this['cursorInfo']['set'](_0x3f3e31,_0x294054),_0x5aed8f(()=>{const _0x5c8235=_0x3f3230,_0x515baf=this[_0x5c8235(0x27c)][_0x5c8235(0x203)](_0x4c921a,_0x5da86e=>(_0x515baf['dispose'](),_0x421f04(_0x5da86e,_0x3f3e31,_0x200a10,_0x4c921a)));_0x18f076[_0x5c8235(0x10d)](_0x515baf);});}return{'redos':[],'undos':[]};};this[_0x199e84(0x2bd)]['forEach']((_0x58b3d2,_0x21bbaa)=>{const _0x526143=_0x199e84,{range:_0x1657d3,sheetID:_0x71d002}=_0x58b3d2,_0x5d54de=this[_0x526143(0x27c)][_0x526143(0x203)](_0x1657d3,_0x1a4bee=>(_0x5d54de[_0x526143(0x29f)](),_0x421f04(_0x1a4bee,_0x21bbaa,_0x71d002,_0x1657d3)));_0x18f076[_0x526143(0x10d)](_0x5d54de);});};this['disposeWithMe'](_0x510264(this[_0x308314(0x1f2)]['subscribe'](()=>{_0x48ffc0();})));}[_0x1ce192(0xff)](){const _0x56dcac=_0x1ce192;var _0x173d01,_0x59dc70;if(this[_0x56dcac(0x148)]=!0x0,((_0x173d01=this['_univerInstanceService'][_0x56dcac(0x23e)]())==null?void 0x0:_0x173d01[_0x56dcac(0x114)]())!==this[_0x56dcac(0x145)])return;const _0x2390c4=(_0x59dc70=this[_0x56dcac(0x174)][_0x56dcac(0x226)](_0x11f5bc)[_0x56dcac(0xf3)]())==null?void 0x0:_0x59dc70[0x0],_0x132f6e=this[_0x56dcac(0x2b2)][_0x56dcac(0xf7)](_0x51aa91[_0x56dcac(0x2c1)])[_0x56dcac(0xe0)]();_0x2390c4&&_0x132f6e&&this[_0x56dcac(0x14e)](_0x132f6e[_0x56dcac(0x126)](),_0x2390c4);}[_0x1ce192(0x1f3)](){const _0x3d1018=_0x1ce192;this[_0x3d1018(0x148)]=!0x1;}};Me=mi([x(0x2,_0x239987(_0x5e9505)),x(0x3,_0x239987(ke)),x(0x4,_0x239987(_0x53729d)),x(0x5,_0x4179c4),x(0x6,_0x21faa8),x(0x7,_0x239987(_0x24dcde))],Me);var pi=Object[_0x1ce192(0x1de)],Ci=(_0x4d9dd9,_0x4a6733,_0x11c05d,_0x16b81d)=>{const _0x186818=_0x1ce192;for(var _0x3b4136=_0x16b81d>0x1?void 0x0:_0x16b81d?pi(_0x4a6733,_0x11c05d):_0x4a6733,_0x12dc9e=_0x4d9dd9[_0x186818(0x15d)]-0x1,_0x729a39;_0x12dc9e>=0x0;_0x12dc9e--)(_0x729a39=_0x4d9dd9[_0x12dc9e])&&(_0x3b4136=_0x729a39(_0x3b4136)||_0x3b4136);return _0x3b4136;},Se=(_0x2c4038,_0x14b3c3)=>(_0x13b9e7,_0x142495)=>_0x14b3c3(_0x13b9e7,_0x142495,_0x2c4038);let H=class extends _0x9333b3{constructor(_0xcaba7e,_0x2da9f5,_0x14bc77){const _0x2d7f01=_0x1ce192;super(),_(this,'_entities',new Map()),_(this,_0x2d7f01(0x24d),new _0x3f3452()),(this['_univerInstanceService']=_0xcaba7e,this[_0x2d7f01(0x174)]=_0x2da9f5,this[_0x2d7f01(0x259)]=_0x14bc77,this['_init']());}['dispose'](){const _0x24aeb5=_0x1ce192;super[_0x24aeb5(0x29f)](),this[_0x24aeb5(0x24d)][_0x24aeb5(0x277)](),this[_0x24aeb5(0x2cb)][_0x24aeb5(0x212)](_0x175b09=>_0x175b09['dispose']());}[_0x1ce192(0x260)](_0x54b3a4){const _0x288a6d=_0x1ce192;return this[_0x288a6d(0x2cb)][_0x288a6d(0x27f)](_0x54b3a4)?this['_entities'][_0x288a6d(0x226)](_0x54b3a4)['cursorInfo$']:this[_0x288a6d(0x24d)][_0x288a6d(0x163)](_0x3fbef3(_0x3c4d66=>_0x3c4d66[_0x288a6d(0x145)]===_0x54b3a4),_0x16edd9(_0x560368=>_0x560368[_0x288a6d(0x2b1)]));}['_init'](){const _0x2cac36=_0x1ce192;this[_0x2cac36(0x2b2)]['getTypeOfUnitAdded$'](_0x51aa91[_0x2cac36(0x2c1)])[_0x2cac36(0x163)](_0x2acf27(this[_0x2cac36(0x135)]))[_0x2cac36(0x150)](async _0x3a4d25=>{const _0xc276ec=_0x2cac36,_0x40941d=_0x3a4d25['getUnitId'](),_0x477596=await this[_0xc276ec(0xee)](_0x40941d);this['_entityInit$']['next'](_0x477596),this[_0xc276ec(0x2cb)][_0xc276ec(0x1bd)](_0x40941d,_0x477596);}),this[_0x2cac36(0x2b2)][_0x2cac36(0x1c3)](_0x51aa91['UNIVER_DOC'])[_0x2cac36(0x163)](_0x2acf27(this[_0x2cac36(0x135)]))[_0x2cac36(0x163)](_0x3fbef3(_0x17f097=>!_0x17f097[_0x2cac36(0x114)]()[_0x2cac36(0x104)]('__')))['subscribe'](async _0x12e217=>{const _0x1d359e=_0x2cac36,_0x5a5cdf=_0x12e217['getUnitId'](),_0x268500=await this[_0x1d359e(0x1c4)](_0x5a5cdf);this['_entityInit$'][_0x1d359e(0x2a2)](_0x268500),this[_0x1d359e(0x2cb)]['set'](_0x5a5cdf,_0x268500);}),_0x1c3275(this[_0x2cac36(0x2b2)][_0x2cac36(0x1db)](_0x51aa91[_0x2cac36(0x2b0)]),this[_0x2cac36(0x2b2)][_0x2cac36(0x1db)](_0x51aa91[_0x2cac36(0x2c1)]))[_0x2cac36(0x163)](_0x2acf27(this[_0x2cac36(0x135)]))[_0x2cac36(0x150)](_0x377bc1=>{const _0x1dca3b=_0x2cac36,_0x1bc1bd=_0x377bc1[_0x1dca3b(0x114)](),_0x42dcbb=this[_0x1dca3b(0x2cb)][_0x1dca3b(0x226)](_0x1bc1bd);_0x42dcbb&&(_0x42dcbb['dispose'](),this['_entities'][_0x1dca3b(0x238)](_0x1bc1bd));});}async['_startSheetCollabCursor'](_0x595ff9){const _0x587e49=_0x1ce192,_0x4108b3=await this[_0x587e49(0x259)][_0x587e49(0x2b9)](_0x595ff9),_0x4692b1=this[_0x587e49(0x174)][_0x587e49(0x2a7)](Me,_0x595ff9,_0x4108b3);return _0x4692b1[_0x587e49(0x282)](),_0x4692b1;}async[_0x1ce192(0x1c4)](_0x5d21bc){const _0x1feae6=_0x1ce192,_0x4c86ef=await this[_0x1feae6(0x259)][_0x1feae6(0x2b9)](_0x5d21bc),_0x401bcc=this[_0x1feae6(0x174)][_0x1feae6(0x2a7)](Ue,_0x5d21bc,_0x4c86ef);return _0x401bcc[_0x1feae6(0x282)](),_0x401bcc;}};H=Ci([Se(0x0,_0x4179c4),Se(0x1,_0x239987(_0x5e9505)),Se(0x2,_0x239987(_0x458a2a))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x28ee10,_0x2ae59b){const _0x383bd6=_0x1ce192;let {radius:_0xa77ff8,width:_0x20325b,height:_0xc67671}=_0x2ae59b;_0xa77ff8=_0xa77ff8!=null?_0xa77ff8:0x0,_0x20325b=_0x20325b!=null?_0x20325b:0x1e,_0xc67671=_0xc67671!=null?_0xc67671:0x1e;let _0x4812a4=0x0,_0x3ff9fa=0x0,_0xda8dcc=0x0;_0x4812a4=_0x3ff9fa=_0xda8dcc=Math[_0x383bd6(0x26b)](_0xa77ff8,_0x20325b/0x2,_0xc67671/0x2),_0x28ee10[_0x383bd6(0x1eb)](),_0x28ee10[_0x383bd6(0x105)](_0x4812a4,0x0),_0x28ee10[_0x383bd6(0x1f9)](_0x20325b-_0x3ff9fa,0x0),_0x28ee10[_0x383bd6(0x1e1)](_0x20325b-_0x3ff9fa,_0x3ff9fa,_0x3ff9fa,Math['PI']*0x3/0x2,0x0,!0x1),_0x28ee10[_0x383bd6(0x1f9)](_0x20325b,_0xc67671-_0xda8dcc),_0x28ee10['arc'](_0x20325b-_0xda8dcc,_0xc67671-_0xda8dcc,_0xda8dcc,0x0,Math['PI']/0x2,!0x1),_0x28ee10[_0x383bd6(0x1f9)](0x0,_0xc67671),_0x28ee10[_0x383bd6(0x1f9)](0x0,_0x4812a4),_0x28ee10[_0x383bd6(0x1e1)](_0x4812a4,_0x4812a4,_0x4812a4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x28ee10['closePath'](),_0x2ae59b[_0x383bd6(0x13b)]&&(_0x28ee10['save'](),_0x28ee10[_0x383bd6(0x107)]=_0x2ae59b[_0x383bd6(0x13b)],_0x2ae59b[_0x383bd6(0x17b)]===_0x383bd6(0x175)?_0x28ee10['fill'](_0x383bd6(0x175)):_0x28ee10['fill'](),_0x28ee10['restore']());}class he extends _0x5de337{constructor(_0x504d92,_0x294e70){const _0x9bc994=_0x1ce192;super(_0x504d92,_0x294e70),_(this,'color'),_(this,_0x9bc994(0x28c)),(this['color']=_0x294e70==null?void 0x0:_0x294e70['color'],this[_0x9bc994(0x28c)]=_0x294e70==null?void 0x0:_0x294e70[_0x9bc994(0x28c)]);}static[_0x1ce192(0x1be)](_0x35f4ba,_0x370959){const _0x5e9df4=_0x1ce192,{text:_0x32e52b,color:_0x3868c0}=_0x370959;_0x35f4ba[_0x5e9df4(0x1a5)](),_0x35f4ba[_0x5e9df4(0x2c5)]=_0x5e9df4(0x152);const _0x414671=_0x35f4ba[_0x5e9df4(0xed)](_0x32e52b)['width'],_0x26cba9=Math[_0x5e9df4(0x26b)](_0x414671+0x2*me,Qe);Oi(_0x35f4ba,{'height':ee,'radius':0x4,'width':_0x26cba9,'fill':_0x3868c0}),_0x35f4ba[_0x5e9df4(0x107)]=_0x5e9df4(0x198);const _0x416183=me,_0x5f0cb7=ee-Ei,_0x1e7274=Qe-0x2*me;if(_0x414671>_0x1e7274){let _0x5345db='',_0x56d92a=0x0;for(const _0x472e73 of _0x32e52b){const _0x22ca23=_0x35f4ba[_0x5e9df4(0xed)](_0x472e73)[_0x5e9df4(0x21d)];if(_0x56d92a+_0x22ca23<=_0x1e7274-_0x35f4ba['measureText'](_0x5e9df4(0x2b6))[_0x5e9df4(0x21d)])_0x5345db+=_0x472e73,_0x56d92a+=_0x22ca23;else{_0x5345db+=_0x5e9df4(0x2b6);break;}}_0x35f4ba[_0x5e9df4(0x222)](_0x5345db,_0x416183,_0x5f0cb7);}else _0x35f4ba['fillText'](_0x32e52b,_0x416183,_0x5f0cb7);_0x35f4ba['restore']();}[_0x1ce192(0x225)](_0x60bbc8){const _0x5f00f8=_0x1ce192;he[_0x5f00f8(0x1be)](_0x60bbc8,this);}}const ge=_0x1ce192(0x257),bi=_0x1ce192(0x21c),Ti='collab-rect-range-',X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x3a482f,_0x238a2d,_0x526989,_0x11020c){const _0x1d62bf=_0x1ce192;_(this,_0x1d62bf(0xec),[]),_(this,_0x1d62bf(0xfb),null),_(this,'_textBubble',null),_(this,_0x1d62bf(0x1cc),null),_(this,_0x1d62bf(0x1d2),null),_(this,_0x1d62bf(0x122),null),(this[_0x1d62bf(0xef)]=_0x3a482f,this[_0x1d62bf(0x28e)]=_0x238a2d,this['_docSkeleton']=_0x526989,this['_document']=_0x11020c,this[_0x1d62bf(0x161)]());}set['_hover'](_0x410b4f){const _0x235473=_0x1ce192;_0x410b4f?(this['_anchorDot']&&this['_anchorDot'][_0x235473(0x219)](),this[_0x235473(0x14c)]&&this[_0x235473(0x14c)][_0x235473(0x101)]()):(this[_0x235473(0x1cc)]&&this['_anchorDot'][_0x235473(0x101)](),this[_0x235473(0x14c)]&&this[_0x235473(0x14c)][_0x235473(0x219)]());}[_0x1ce192(0x29f)](){const _0xa773ed=_0x1ce192;for(const _0x526b43 of this[_0xa773ed(0xec)])_0x526b43['dispose']();this[_0xa773ed(0x14c)]&&this['_textBubble'][_0xa773ed(0x29f)](),this[_0xa773ed(0x1cc)]&&this[_0xa773ed(0x1cc)][_0xa773ed(0x29f)](),this[_0xa773ed(0xfb)]&&this[_0xa773ed(0xfb)][_0xa773ed(0x29f)](),this[_0xa773ed(0x122)]&&this['_eventUnsubscribe']();}[_0x1ce192(0x161)](){const _0x106a66=_0x1ce192;var _0x1b8997;const {_docSkeleton:_0x2a089b,_document:_0x53da30}=this,{color:_0x19c06f,name:_0x191811,ranges:_0x9044c5}=this[_0x106a66(0xef)],_0x235eb3=_0x53da30['getOffsetConfig'](),{docsLeft:_0x44d274,docsTop:_0x1fbcd8}=_0x235eb3,_0x5418b9=new _0x300c2a(_0x235eb3,_0x2a089b);for(const {startOffset:_0x2ce27b,endOffset:_0x7da794,rangeType:_0x87ae32,segmentId:_0x315c12,segmentPage:_0x4f12ca,collapsed:_0x4b53d3,isActive:_0x53c3b1}of _0x9044c5){const _0x585c1b=_0x2a089b[_0x106a66(0x10e)](_0x2ce27b,!0x0,_0x315c12,_0x4f12ca);let _0x33319e=_0x2a089b[_0x106a66(0x10e)](_0x7da794,!0x0,_0x315c12,_0x4f12ca);if(_0x33319e==null&&(_0x33319e=_0x2a089b['findNodePositionByCharIndex'](_0x7da794-0x1,!0x1,_0x315c12,_0x4f12ca)),_0x53c3b1){const {contentBoxPointGroup:_0x4372f8}=_0x5418b9['getRangePointData'](_0x33319e,_0x33319e);if(_0x4372f8['length']===0x0)continue;this['_drawAnchor'](_0x19c06f,_0x4372f8,_0x44d274,_0x1fbcd8,_0x191811),this[_0x106a66(0x122)]=this[_0x106a66(0xe1)]();}if(_0x585c1b&&_0x33319e){if(_0x87ae32===_0xc0b8ed['RECT']){const _0x37a08f=new _0x297647(_0x235eb3,_0x2a089b),{pointGroup:_0x279a4d}=(_0x1b8997=_0x37a08f[_0x106a66(0x1e6)](_0x585c1b,_0x33319e))!=null?_0x1b8997:{};if(_0x279a4d==null||_0x279a4d[_0x106a66(0x15d)]===0x0)continue;this[_0x106a66(0x199)](_0x19c06f,_0x279a4d,_0x44d274,_0x1fbcd8);}else{if(!_0x4b53d3){const {borderBoxPointGroup:_0x1d78e9}=_0x5418b9[_0x106a66(0x1e6)](_0x585c1b,_0x33319e);if(_0x1d78e9[_0x106a66(0x15d)]===0x0)continue;this['_drawTextRange'](_0x19c06f,_0x1d78e9,_0x44d274,_0x1fbcd8);}}}}}[_0x1ce192(0x16f)](_0x249cbe,_0x48736b,_0x581709,_0x89af95,_0x198a41){const _0x1b617f=_0x1ce192,_0x46ec77=this['_getAnchorBounding'](_0x48736b),{left:_0x32b19f,top:_0x4c3435,height:_0x3cf840}=_0x46ec77,_0x55bbdf=this[_0x1b617f(0x236)](),_0x5a7adf=Di/_0x55bbdf,_0x2cc39f=new _0x5c3620(ge+_0x21666c[_0x1b617f(0x2b4)](X),{'left':_0x32b19f+_0x581709-_0x5a7adf,'top':_0x4c3435+_0x89af95,'height':_0x3cf840,'width':Ri,'fill':_0x249cbe||_0x2cf75c(_0x42ea7a[_0x1b617f(0x1aa)],0x0),'strokeWidth':_0x5a7adf,'stroke':Ni,'evented':!0x0});this[_0x1b617f(0xfb)]=_0x2cc39f,this[_0x1b617f(0x28e)][_0x1b617f(0x245)](_0x2cc39f,_0x4f75cf);const _0x9e9522=new _0x5c3620(ge+_0x21666c['generateRandomId'](X),{'left':_0x32b19f+_0x581709-_0x5a7adf,'top':_0x4c3435+_0x89af95-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x249cbe||_0x2cf75c(_0x42ea7a[_0x1b617f(0x1aa)],0x0),'strokeWidth':0x0,'stroke':_0x249cbe||_0x2cf75c(_0x42ea7a[_0x1b617f(0x1aa)],0x0),'evented':!0x1});this[_0x1b617f(0x1cc)]=_0x9e9522,this[_0x1b617f(0x28e)][_0x1b617f(0x245)](_0x9e9522,_0x4f75cf);const _0x491d1b=new he(ge+_0x21666c['generateRandomId'](X),{'left':_0x32b19f+_0x581709-_0x5a7adf,'top':_0x4c3435+_0x89af95-ee,'text':_0x198a41,'color':_0x249cbe});this[_0x1b617f(0x14c)]=_0x491d1b,this['_scene'][_0x1b617f(0x245)](_0x491d1b,_0x4f75cf),this[_0x1b617f(0x2ba)]=!0x1;}[_0x1ce192(0xe1)](){const _0x5a70c3=_0x1ce192,_0x48e91a=this[_0x5a70c3(0xfb)][_0x5a70c3(0x149)][_0x5a70c3(0x1a7)](()=>{this['_hover']=!0x0;}),_0x27cc0a=this[_0x5a70c3(0xfb)][_0x5a70c3(0xdd)][_0x5a70c3(0x1a7)](()=>{const _0x5c538c=_0x5a70c3;this[_0x5c538c(0x1d2)]&&clearTimeout(this[_0x5c538c(0x1d2)]),this[_0x5c538c(0x1d2)]=setTimeout(()=>{const _0x43a1e8=_0x5c538c;this[_0x43a1e8(0x2ba)]=!0x1;},0x7d0);});return()=>{const _0x5b579e=_0x5a70c3;_0x48e91a[_0x5b579e(0x138)](),_0x27cc0a[_0x5b579e(0x138)]();};}[_0x1ce192(0x100)](_0x5cfbc4,_0x78c5a1,_0x125b80,_0x5c7624){const _0x2d812=_0x1ce192,_0x2b11cc=new _0x5bc39a(_0x5cfbc4)['setAlpha'](0.2)[_0x2d812(0x1e3)](),_0x36b374=new _0x44e725(bi+_0x21666c[_0x2d812(0x2b4)](X),{'pointsGroup':_0x78c5a1,'fill':_0x2b11cc||_0x2cf75c(_0x42ea7a[_0x2d812(0x1aa)],0.2),'left':_0x125b80,'top':_0x5c7624,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d812(0xec)][_0x2d812(0x237)](_0x36b374),this[_0x2d812(0x28e)][_0x2d812(0x245)](_0x36b374,_0x4f75cf);}[_0x1ce192(0x199)](_0x4857ac,_0x320481,_0x54b28f,_0x35e126){const _0x115aa6=_0x1ce192,_0x380604=new _0x5bc39a(_0x4857ac)['setAlpha'](0.2)[_0x115aa6(0x1e3)](),_0x210ba7=new _0x44e725(Ti+_0x21666c[_0x115aa6(0x2b4)](X),{'pointsGroup':_0x320481,'fill':_0x380604||_0x2cf75c(_0x42ea7a[_0x115aa6(0x1aa)],0.2),'left':_0x54b28f,'top':_0x35e126,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x115aa6(0xec)]['push'](_0x210ba7),this[_0x115aa6(0x28e)][_0x115aa6(0x245)](_0x210ba7,_0x4f75cf);}['_getAnchorBounding'](_0x49cf02){const _0x474b99=_0x49cf02[0x0],_0x332a04=_0x474b99[0x0],_0x1e6eeb=_0x474b99[0x2],{x:_0x4ce2d6,y:_0x346be5}=_0x332a04,{x:_0x563246,y:_0x4ded48}=_0x1e6eeb;return{'left':_0x4ce2d6,'top':_0x346be5,'width':_0x563246-_0x4ce2d6,'height':_0x4ded48-_0x346be5};}[_0x1ce192(0x236)](){const _0xd8341e=_0x1ce192,{scaleX:_0x11056,scaleY:_0x23100b}=this[_0xd8341e(0x28e)][_0xd8341e(0x230)]();return Math[_0xd8341e(0x119)](_0x11056,_0x23100b);}}var Ui=Object[_0x1ce192(0x1de)],Mi=(_0x2daace,_0x113708,_0x1f3ee5,_0x16db61)=>{const _0x145537=_0x1ce192;for(var _0x5ba246=_0x16db61>0x1?void 0x0:_0x16db61?Ui(_0x113708,_0x1f3ee5):_0x113708,_0x53c9f4=_0x2daace[_0x145537(0x15d)]-0x1,_0x444456;_0x53c9f4>=0x0;_0x53c9f4--)(_0x444456=_0x2daace[_0x53c9f4])&&(_0x5ba246=_0x444456(_0x5ba246)||_0x5ba246);return _0x5ba246;},Z=(_0x4d9575,_0x4732a7)=>(_0x44cee5,_0x35a12f)=>_0x4732a7(_0x44cee5,_0x35a12f,_0x4d9575);let Pe=class extends _0x9333b3{constructor(_0x13d427,_0x387a8a,_0x67c600,_0x3b9047,_0x5b6a11){const _0x52745c=_0x1ce192;super(),_(this,_0x52745c(0x118),[]),_(this,_0x52745c(0x1f8),[]),(this[_0x52745c(0x29b)]=_0x13d427,this['_docSkeletonManagerService']=_0x387a8a,this[_0x52745c(0x123)]=_0x67c600,this[_0x52745c(0x1c9)]=_0x3b9047,this[_0x52745c(0x27e)]=_0x5b6a11,this[_0x52745c(0x2c3)]());}[_0x1ce192(0x2c3)](){const _0x3b97b8=_0x1ce192,_0x3a78a9=this[_0x3b97b8(0x29b)][_0x3b97b8(0x2ac)],_0x310bb5=this[_0x3b97b8(0x224)];this['disposeWithMe'](_0x13860d([this['_collabCursorController'][_0x3b97b8(0x260)](_0x3a78a9),this[_0x3b97b8(0x27e)]['currentTheme$']])[_0x3b97b8(0x163)](_0x49ce09(([_0x340154,_0x20fd25])=>({'skeleton':_0x310bb5['getSkeleton'](),'cursors':[..._0x340154['values']()][_0x3b97b8(0x279)](_0x34f382=>({..._0x34f382,'color':this['_themeService'][_0x3b97b8(0x2aa)](_0x34f382[_0x3b97b8(0x25d)])}))})))[_0x3b97b8(0x150)](_0x24bc7=>{const _0x5d9878=_0x3b97b8;if(this[_0x5d9878(0x281)](),_0x24bc7){const {skeleton:_0x4577d8,cursors:_0x434226}=_0x24bc7;this['_updateCollabCursors'](_0x4577d8,_0x434226);}})),this[_0x3b97b8(0x276)](),this[_0x3b97b8(0x160)]();}[_0x1ce192(0x242)](_0x24a157,_0x187cf2){const _0x50bbf9=_0x1ce192,{scene:_0x2dee83,mainComponent:_0x4a2539}=this[_0x50bbf9(0x29b)],_0x1a1a91=_0x187cf2[_0x50bbf9(0x139)](_0x27f044=>new qe(_0x27f044,_0x2dee83,_0x24a157,_0x4a2539));this[_0x50bbf9(0x118)]=_0x1a1a91,this[_0x50bbf9(0x1f8)]=_0x187cf2;}[_0x1ce192(0x172)](){const _0x2ff4c2=_0x1ce192;this['_removeCollabCursors']();const {scene:_0xea3473,mainComponent:_0x37dee2}=this[_0x2ff4c2(0x29b)],_0xe50a29=this['_docSkeletonManagerService'][_0x2ff4c2(0x1b7)](),_0x55b280=this[_0x2ff4c2(0x1f8)][_0x2ff4c2(0x139)](_0x30e655=>new qe(_0x30e655,_0xea3473,_0xe50a29,_0x37dee2));this[_0x2ff4c2(0x118)]=_0x55b280;}[_0x1ce192(0x281)](){const _0x2868cc=_0x1ce192;this[_0x2868cc(0x118)]['forEach'](_0x2cbb14=>_0x2cbb14[_0x2868cc(0x29f)]()),this[_0x2868cc(0x118)]=[];}[_0x1ce192(0x160)](){const _0x97d34e=_0x1ce192,_0x51ffb8=[_0x3b04bc['id']];this['disposeWithMe'](this['_commandService'][_0x97d34e(0x195)](_0x167935=>{const _0x16fded=_0x97d34e;_0x51ffb8[_0x16fded(0x115)](_0x167935['id'])&&_0x167935[_0x16fded(0x24e)][_0x16fded(0x2ac)]===this[_0x16fded(0x29b)][_0x16fded(0x2ac)]&&this[_0x16fded(0x172)]();}));}['_initResize'](){const _0x5e2689=_0x1ce192;this['disposeWithMe'](_0x9385cd(this['_context']['engine'][_0x5e2689(0x201)])[_0x5e2689(0x163)](_0x2472f7(_0x5ee81c=>_0x5ee81c['type']===_0x5d1f36['resize']),_0x1abbe2(0x10))[_0x5e2689(0x150)](()=>{const _0x18520a=_0x5e2689;this[_0x18520a(0x172)]();}));}};Pe=Mi([Z(0x1,_0x239987(_0x5865)),Z(0x2,_0x239987(H)),Z(0x3,_0x21faa8),Z(0x4,_0x239987(_0x55cd6f))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x5de337{constructor(_0x579bf2,_0x279387){const _0x3fe202=_0x1ce192;super(_0x579bf2,_0x279387),_(this,_0x3fe202(0x274)),_(this,_0x3fe202(0xf4),!0x1),_(this,_0x3fe202(0x178)),_(this,_0x3fe202(0x270),''),_(this,_0x3fe202(0x284),'top'),_(this,_0x3fe202(0x268)),(_0x279387&&this['setShapeProps'](_0x279387),this[_0x3fe202(0x149)][_0x3fe202(0x1a7)](()=>this[_0x3fe202(0x1ea)]({'hovered':!0x0})),this[_0x3fe202(0xdd)]['subscribeEvent'](()=>this[_0x3fe202(0x1ea)]({'hovered':!0x1})));}[_0x1ce192(0x1ea)](_0x1d1fc8){const _0xc55b69=_0x1ce192;var _0x15d58d,_0x3a77b1,_0x7937f1,_0x53b491,_0x5e6129,_0x2b5f3a;this[_0xc55b69(0x274)]=(_0x15d58d=_0x1d1fc8[_0xc55b69(0x25d)])!=null?_0x15d58d:this[_0xc55b69(0x274)],this[_0xc55b69(0xf4)]=(_0x3a77b1=_0x1d1fc8[_0xc55b69(0x2cf)])!=null?_0x3a77b1:this[_0xc55b69(0xf4)],this[_0xc55b69(0x178)]=(_0x7937f1=_0x1d1fc8['range'])!=null?_0x7937f1:this[_0xc55b69(0x178)],this[_0xc55b69(0x270)]=(_0x53b491=_0x1d1fc8[_0xc55b69(0x12c)])!=null?_0x53b491:this[_0xc55b69(0x270)],this['_labelPosition']=(_0x5e6129=_0x1d1fc8[_0xc55b69(0x291)])!=null?_0x5e6129:this[_0xc55b69(0x284)],this['_backgroundColor']=(_0x2b5f3a=_0x1d1fc8['backgroundColor'])!=null?_0x2b5f3a:this[_0xc55b69(0x268)],this['transformByState']({'width':_0x1d1fc8['width'],'height':_0x1d1fc8[_0xc55b69(0x234)]});}['onMouseMove'](_0x5e6d43){const _0x180023=_0x1ce192,{row:_0xaf0d1a,column:_0x2eb095}=_0x5e6d43;if(_0xaf0d1a>=this['_range'][_0x180023(0x1cb)]&&_0xaf0d1a<=this[_0x180023(0x178)][_0x180023(0x210)]&&_0x2eb095>=this[_0x180023(0x178)][_0x180023(0x162)]&&_0x2eb095<=this[_0x180023(0x178)][_0x180023(0x1e2)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x180023(0x1ea)]({'hovered':!0x1});}[_0x1ce192(0x217)](_0x374183){return!0x1;}[_0x1ce192(0x225)](_0x4540c8){const _0x36d908=_0x1ce192;_0x5c3620['drawWith'](_0x4540c8,{'width':this[_0x36d908(0x21d)],'height':this[_0x36d908(0x234)],'strokeWidth':Li,'stroke':this[_0x36d908(0x274)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x36d908(0xf4)]&&(_0x4540c8[_0x36d908(0x1a5)](),_0x4540c8[_0x36d908(0x20a)](0x1,0x0,0x0,0x1,this[_0x36d908(0x21d)],this[_0x36d908(0x284)]===_0x36d908(0x206)?0x0:-0x14),he[_0x36d908(0x1be)](_0x4540c8,{'text':this['_name'],'color':this[_0x36d908(0x274)]}),_0x4540c8[_0x36d908(0x22d)]());}}var Ai=Object[_0x1ce192(0x1de)],yi=(_0x2aec7d,_0x5ca956,_0x33fc92,_0x2cc889)=>{const _0x20d011=_0x1ce192;for(var _0x384110=_0x2cc889>0x1?void 0x0:_0x2cc889?Ai(_0x5ca956,_0x33fc92):_0x5ca956,_0x4b4d39=_0x2aec7d[_0x20d011(0x15d)]-0x1,_0x599acd;_0x4b4d39>=0x0;_0x4b4d39--)(_0x599acd=_0x2aec7d[_0x4b4d39])&&(_0x384110=_0x599acd(_0x384110)||_0x384110);return _0x384110;},ve=(_0x5c8983,_0x2c745c)=>(_0x3f19e2,_0x2293ec)=>_0x2c745c(_0x3f19e2,_0x2293ec,_0x5c8983);const $i=0x1389;let Le=class extends _0x9333b3{constructor(_0x42415b,_0xfed1f3,_0x13531e,_0x4bb875){const _0x3d6623=_0x1ce192;super(),_(this,'_cursors',new Set()),_(this,_0x3d6623(0x191),null),(this['_context']=_0x42415b,this[_0x3d6623(0x187)]=_0xfed1f3,this[_0x3d6623(0x123)]=_0x13531e,this[_0x3d6623(0x27e)]=_0x4bb875,this['_init']());}[_0x1ce192(0x2c3)](){const _0x1ad14b=_0x1ce192;this[_0x1ad14b(0x187)]['currentSkeleton$'][_0x1ad14b(0x163)](_0x2ebefe(this[_0x1ad14b(0x135)]),_0x40b245(_0x55dce3=>{const _0x343f86=_0x1ad14b;if(_0x55dce3){const _0x2fbb0d=_0x55dce3['sheetId'];return _0x13860d(this['_collabCursorController']['getCollabCursors$'](this[_0x343f86(0x29b)]['unitId']),this['_themeService'][_0x343f86(0x293)])[_0x343f86(0x163)](_0x49ce09(([_0x2f8f3b,_0x12b010])=>{const _0xd93742=_0x343f86,_0x21acc1=new Map();return _0x2f8f3b[_0xd93742(0x212)]((_0x43b0ac,_0x2ab3b3)=>{const _0x229f08=_0xd93742;if(_0x43b0ac[_0x229f08(0x247)]===_0x2fbb0d){const _0xb848c7={..._0x43b0ac};_0xb848c7[_0x229f08(0x25d)]=this['_themeService'][_0x229f08(0x2aa)](_0x43b0ac[_0x229f08(0x25d)]),_0x21acc1[_0x229f08(0x1bd)](_0x2ab3b3,_0xb848c7);}}),{'skeleton':_0x55dce3,'cursors':_0x21acc1};}));}return _0x3b737f({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2096ae,cursors:_0x1e5be2})=>{const _0x3c4db3=_0x1ad14b;this[_0x3c4db3(0x281)](),_0x2096ae&&this[_0x3c4db3(0x242)](_0x2096ae,_0x1e5be2);}),this[_0x1ad14b(0x187)][_0x1ad14b(0x246)]['subscribe'](_0x1d4705=>{const _0x1adc16=_0x1ad14b;if(_0x1d4705==null)return;const {skeleton:_0x46d509}=_0x1d4705,{scene:_0x449eaf}=this[_0x1adc16(0x29b)];_0x449eaf[_0x1adc16(0x256)][_0x1adc16(0x1a7)](_0x4430f3(_0x45697d=>{const _0xb3701a=_0x1adc16;var _0x394b17,_0x2bf3ad;const {offsetX:_0x5e35b4,offsetY:_0x5807b0}=_0x45697d,{x:_0xf3269b,y:_0x2f38b4}=_0x449eaf[_0xb3701a(0xe2)](_0x117315['FromArray']([_0x5e35b4,_0x5807b0])),{scaleX:_0x112cd1,scaleY:_0x362b9e}=_0x449eaf['getAncestorScale'](),_0x17b9a6=_0x449eaf[_0xb3701a(0x264)](_0x24eaa1[_0xb3701a(0x1f4)]),_0x10395d=_0x449eaf[_0xb3701a(0x1a4)](_0x117315[_0xb3701a(0x2af)]([_0xf3269b,_0x2f38b4]),_0x17b9a6),_0x576be7=_0x46d509['getCellPositionByOffset'](_0x5e35b4,_0x5807b0,_0x112cd1,_0x362b9e,_0x10395d);((_0x394b17=this[_0xb3701a(0x191)])==null?void 0x0:_0x394b17[_0xb3701a(0x18f)])===_0x576be7['column']&&((_0x2bf3ad=this['_lastPointer'])==null?void 0x0:_0x2bf3ad['row'])===_0x576be7[_0xb3701a(0x121)]||this[_0xb3701a(0x1f8)][_0xb3701a(0x212)](_0x49afa9=>{const _0x25bb61=_0xb3701a;_0x49afa9[_0x25bb61(0x227)](_0x576be7);});},0x64));});}[_0x1ce192(0x242)](_0x4af10a,_0x4ead14){const _0x32bb3f=_0x1ce192;var _0x522d01;const _0xb817e9=(_0x522d01=this[_0x32bb3f(0x187)]['getCurrent']())==null?void 0x0:_0x522d01[_0x32bb3f(0x235)];if(!_0xb817e9)return;const _0x10917a=this[_0x32bb3f(0xf9)]();if(!_0x10917a)return;this['_cursors'][_0x32bb3f(0x212)](_0x3e0929=>{_0x3e0929['makeDirty']();});const {scene:_0x49e22e}=_0x10917a,_0x1731f0=xi(Array['from'](_0x4ead14[_0x32bb3f(0x23d)]()))[_0x32bb3f(0x139)](_0x2325bf=>{const _0x59797f=_0x32bb3f,{color:_0x50a8ae,range:_0x4e0e3f,name:_0x39c4c7,selection:_0x290bab,sheetID:_0x362c0c}=_0x2325bf,{startColumn:_0x5d29a2,startRow:_0x4844c8,endColumn:_0x4d523f,endRow:_0x360959}=_0x4e0e3f,_0x320693=_0x39c976(_0x4844c8,_0x5d29a2,_0x49e22e,_0xb817e9),_0x40175b=_0x39c976(_0x360959,_0x4d523f,_0x49e22e,_0xb817e9),{columnHeaderHeightAndMarginTop:_0x4062d4}=_0xb817e9,{startX:_0x3f9c5d,startY:_0x36caf7}=_0x320693,{endX:_0xaca076,endY:_0x41fcc9}=_0x40175b,_0x5bc10b=_0xaca076-_0x3f9c5d,_0x3d5f20=_0x41fcc9-_0x36caf7,_0x304ccc={'labelPosition':_0x36caf7-_0x4062d4>=ee?'top':_0x59797f(0x206),'sheetID':_0x362c0c,'range':_0x4e0e3f,'color':_0x50a8ae,'name':_0x39c4c7,'selection':_0x290bab,'left':_0x3f9c5d,'top':_0x36caf7,'width':_0x5bc10b,'height':_0x3d5f20,'evented':!0x1,'zIndex':$i};return new wi(_0x39c4c7,_0x304ccc);});_0x49e22e['addObjects'](_0x1731f0,Pi),this[_0x32bb3f(0x1f8)]=new Set(_0x1731f0);}['_removeCollabCursors'](){const _0x47045b=_0x1ce192;var _0x6d0759;(_0x6d0759=this['_cursors'])==null||_0x6d0759['forEach'](_0x1e0780=>_0x1e0780[_0x47045b(0x29f)]());}[_0x1ce192(0xf9)](){const _0x5087e1=_0x1ce192;return _0x492348(this[_0x5087e1(0x29b)][_0x5087e1(0x23a)],this[_0x5087e1(0x29b)]);}};Le=yi([ve(0x1,_0x239987(_0x2fb0e8)),ve(0x2,_0x239987(H)),ve(0x3,_0x239987(_0x55cd6f))],Le);function xi(_0x490887){const _0x374bea=_0x1ce192,_0x355c20=new Map();return _0x490887['forEach'](_0x2b2fe5=>{const _0x237634=_0x1f26;if(_0x355c20[_0x237634(0x27f)](_0x2b2fe5[_0x237634(0xea)])){const _0x4ac228=_0x355c20['get'](_0x2b2fe5[_0x237634(0xea)]);_0x4ac228[_0x237634(0x12c)]+=',\x20'+_0x2b2fe5[_0x237634(0x12c)];}else _0x355c20[_0x237634(0x1bd)](_0x2b2fe5[_0x237634(0xea)],_0x2b2fe5);}),Array['from'](_0x355c20[_0x374bea(0x23d)]());}var v=function(){const _0x5a2fb5=_0x1ce192;return v=Object['assign']||function(_0x5370cc){const _0x31abab=_0x1f26;for(var _0x113ba3,_0xf768df=0x1,_0x38902a=arguments[_0x31abab(0x15d)];_0xf768df<_0x38902a;_0xf768df++){_0x113ba3=arguments[_0xf768df];for(var _0x401f34 in _0x113ba3)Object[_0x31abab(0x102)]['hasOwnProperty'][_0x31abab(0x211)](_0x113ba3,_0x401f34)&&(_0x5370cc[_0x401f34]=_0x113ba3[_0x401f34]);}return _0x5370cc;},v[_0x5a2fb5(0x183)](this,arguments);},Bi=function(_0x6a33da,_0x1f721e){const _0x16abe2=_0x1ce192;var _0x43f8e1={};for(var _0x360ce0 in _0x6a33da)Object[_0x16abe2(0x102)][_0x16abe2(0x280)][_0x16abe2(0x211)](_0x6a33da,_0x360ce0)&&_0x1f721e['indexOf'](_0x360ce0)<0x0&&(_0x43f8e1[_0x360ce0]=_0x6a33da[_0x360ce0]);if(_0x6a33da!=null&&typeof Object[_0x16abe2(0x285)]==_0x16abe2(0x171)){for(var _0x12c23f=0x0,_0x360ce0=Object['getOwnPropertySymbols'](_0x6a33da);_0x12c23f<_0x360ce0['length'];_0x12c23f++)_0x1f721e['indexOf'](_0x360ce0[_0x12c23f])<0x0&&Object['prototype'][_0x16abe2(0x263)]['call'](_0x6a33da,_0x360ce0[_0x12c23f])&&(_0x43f8e1[_0x360ce0[_0x12c23f]]=_0x6a33da[_0x360ce0[_0x12c23f]]);}return _0x43f8e1;},je=_0x411f73(function(_0x464826,_0x16a40b){const _0x414a6b=_0x1ce192;var _0x17b043=_0x464826['icon'],_0x5b1147=_0x464826['id'],_0x25c3b3=_0x464826[_0x414a6b(0x18a)],_0x3ec6c1=_0x464826['extend'],_0xd91f82=Bi(_0x464826,[_0x414a6b(0x208),'id',_0x414a6b(0x18a),'extend']),_0x56ecda='univerjs-icon\x20univerjs-icon-'['concat'](_0x5b1147,'\x20')['concat'](_0x25c3b3||'')['trim'](),_0x4a8778=_0x112251('_'['concat'](ji()));return Rt(_0x17b043,''[_0x414a6b(0xdc)](_0x5b1147),{'defIds':_0x17b043[_0x414a6b(0x16a)],'idSuffix':_0x4a8778['current']},v({'ref':_0x16a40b,'className':_0x56ecda},_0xd91f82),_0x3ec6c1);});function Rt(_0x17fde2,_0x1d7294,_0x4ef0db,_0x13eaa6,_0x4becb7){const _0x3c1b6c=_0x1ce192;return _0x23b1a3(_0x17fde2[_0x3c1b6c(0x22b)],v(v({'key':_0x1d7294},ki(_0x17fde2,_0x4ef0db,_0x4becb7)),_0x13eaa6),(Hi(_0x17fde2,_0x4ef0db)['children']||[])[_0x3c1b6c(0x139)](function(_0x53614f,_0x561c37){const _0x1c1bca=_0x3c1b6c;return Rt(_0x53614f,''[_0x1c1bca(0xdc)](_0x1d7294,'-')[_0x1c1bca(0xdc)](_0x17fde2[_0x1c1bca(0x22b)],'-')[_0x1c1bca(0xdc)](_0x561c37),_0x4ef0db,void 0x0,_0x4becb7);}));}function ki(_0x10a575,_0x2172e1,_0x1b90e7){const _0xa55d69=_0x1ce192;var _0x1a8aeb=v({},_0x10a575[_0xa55d69(0x1d7)]);_0x1b90e7!=null&&_0x1b90e7[_0xa55d69(0x10a)]&&_0x1a8aeb[_0xa55d69(0x13b)]==='colorChannel1'&&(_0x1a8aeb[_0xa55d69(0x13b)]=_0x1b90e7['colorChannel1']),_0x10a575[_0xa55d69(0x22b)]===_0xa55d69(0x28f)&&_0x1a8aeb['id']&&(_0x1a8aeb['id']=_0x1a8aeb['id']+_0x2172e1[_0xa55d69(0x1d1)]),Object[_0xa55d69(0x108)](_0x1a8aeb)[_0xa55d69(0x212)](function(_0x1dcd18){const _0x3c4c2e=_0xa55d69;var _0x1b009e=_0x1dcd18[0x0],_0x346ad7=_0x1dcd18[0x1];_0x1b009e==='mask'&&typeof _0x346ad7==_0x3c4c2e(0x11e)&&(_0x1a8aeb[_0x1b009e]=_0x346ad7[_0x3c4c2e(0x25f)](/url\(#(.*)\)/,_0x3c4c2e(0x1c2)[_0x3c4c2e(0xdc)](_0x2172e1[_0x3c4c2e(0x1d1)],')')));});var _0x458bf4=_0x2172e1[_0xa55d69(0x16a)];return!_0x458bf4||_0x458bf4[_0xa55d69(0x15d)]===0x0||(_0x10a575[_0xa55d69(0x22b)]===_0xa55d69(0x144)&&_0x1a8aeb[_0xa55d69(0x18b)]&&(_0x1a8aeb[_0xa55d69(0x18b)]=_0x1a8aeb[_0xa55d69(0x18b)]+_0x2172e1['idSuffix']),Object['entries'](_0x1a8aeb)['forEach'](function(_0x309a7b){const _0x5d8c1f=_0xa55d69;var _0x17a3a9=_0x309a7b[0x0],_0x540659=_0x309a7b[0x1];typeof _0x540659==_0x5d8c1f(0x11e)&&(_0x1a8aeb[_0x17a3a9]=_0x540659[_0x5d8c1f(0x25f)](/url\(#(.*)\)/,_0x5d8c1f(0x1c2)['concat'](_0x2172e1[_0x5d8c1f(0x1d1)],')')));})),_0x1a8aeb;}function Hi(_0x4fc219,_0x1d2268){const _0x3c3946=_0x1ce192;var _0x5c3f48,_0x1a97e8=_0x1d2268[_0x3c3946(0x16a)];return!_0x1a97e8||_0x1a97e8[_0x3c3946(0x15d)]===0x0?_0x4fc219:_0x4fc219['tag']===_0x3c3946(0xdf)&&(!((_0x5c3f48=_0x4fc219[_0x3c3946(0x1e4)])===null||_0x5c3f48===void 0x0)&&_0x5c3f48[_0x3c3946(0x15d)])?v(v({},_0x4fc219),{'children':_0x4fc219['children'][_0x3c3946(0x139)](function(_0x293045){const _0xe9f1e2=_0x3c3946;return typeof _0x293045['attrs']['id']==_0xe9f1e2(0x11e)&&_0x1a97e8&&_0x1a97e8[_0xe9f1e2(0x1e0)](_0x293045[_0xe9f1e2(0x1d7)]['id'])>-0x1?v(v({},_0x293045),{'attrs':v(v({},_0x293045['attrs']),{'id':_0x293045['attrs']['id']+_0x1d2268[_0xe9f1e2(0x1d1)]})}):_0x293045;})}):_0x4fc219;}function ji(){const _0x342766=_0x1ce192;return Math[_0x342766(0x2c2)]()[_0x342766(0x2b7)](0x24)['substring'](0x2,0x8);}je[_0x1ce192(0x232)]=_0x1ce192(0x2ae);var Yi={'tag':_0x1ce192(0x15f),'attrs':{'fill':_0x1ce192(0x2ca),'viewBox':_0x1ce192(0x166),'width':_0x1ce192(0x283),'height':_0x1ce192(0x283)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ce192(0x1af)},'children':[{'tag':'path','attrs':{'stroke':_0x1ce192(0x22f),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1ce192(0x15c),'strokeLinejoin':_0x1ce192(0x15c),'strokeWidth':1.2}}]},{'tag':_0x1ce192(0xdf),'attrs':{},'children':[{'tag':_0x1ce192(0x2a8),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1ce192(0xdb),'attrs':{'fill':_0x1ce192(0x137),'d':_0x1ce192(0x288)}}]}]}],'defIds':[_0x1ce192(0x156)]},Dt=_0x411f73(function(_0x5e9801,_0x552f62){const _0x1a6409=_0x1ce192;return _0x23b1a3(je,Object[_0x1a6409(0x2c8)]({},_0x5e9801,{'id':'off-line-single','ref':_0x552f62,'icon':Yi}));});Dt[_0x1ce192(0x232)]=_0x1ce192(0xf0);var Fi={'tag':_0x1ce192(0x15f),'attrs':{'fill':_0x1ce192(0x2ca),'viewBox':_0x1ce192(0xe5),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1ce192(0x1b3)},'children':[{'tag':_0x1ce192(0xdb),'attrs':{'stroke':_0x1ce192(0x22f),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1ce192(0x15c),'strokeLinejoin':_0x1ce192(0x15c),'strokeWidth':1.2}}]},{'tag':_0x1ce192(0xdf),'attrs':{},'children':[{'tag':_0x1ce192(0x2a8),'attrs':{'id':_0x1ce192(0x213)},'children':[{'tag':_0x1ce192(0xdb),'attrs':{'fill':_0x1ce192(0x137),'d':_0x1ce192(0x288),'transform':_0x1ce192(0x255)}}]}]}],'defIds':[_0x1ce192(0x213)]},Nt=_0x411f73(function(_0x450f99,_0xc4bf58){const _0x5c0232=_0x1ce192;return _0x23b1a3(je,Object[_0x5c0232(0x2c8)]({},_0x450f99,{'id':_0x5c0232(0x266),'ref':_0xc4bf58,'icon':Fi}));});Nt[_0x1ce192(0x232)]='OnLineSingle';function Wi(_0x512ef4){const _0x5d6deb=_0x1ce192;switch(_0x512ef4){case _0xd8eb28[_0x5d6deb(0x29d)]:return'collabStatus.offline';case _0xd8eb28['CONFLICT']:return _0x5d6deb(0x248);case _0xd8eb28[_0x5d6deb(0x127)]:return _0x5d6deb(0x16b);case _0xd8eb28[_0x5d6deb(0x228)]:return _0x5d6deb(0x240);case _0xd8eb28[_0x5d6deb(0x1f6)]:case _0xd8eb28[_0x5d6deb(0x17a)]:return'collabStatus.syncing';case _0xd8eb28['SYNCED']:case _0xd8eb28[_0x5d6deb(0x218)]:return'collabStatus.synced';}}function Vi(_0x5266ee){const _0x2db7cc=_0x1ce192,{status$:_0x358658}=_0x5266ee,_0x220f90=_0xc2398f(_0x358658,_0xd8eb28[_0x2db7cc(0x228)]),_0x821354=_0x184e79(_0x27c61b),_0x2be2d8=_0x184e79(_0x458a2a),_0x1b97d9=_0x220f90!==_0xd8eb28[_0x2db7cc(0x29d)],_0x765a75=_0x821354['t'](Wi(_0x220f90)),_0x35c7ba=_0x1b97d9?_0x588b07(Nt,{}):_0x588b07(Dt,{}),_0x5d7a66=_0x4da205(()=>{const _0x49faf4=_0x2db7cc;_0x1b97d9||_0x2be2d8[_0x49faf4(0x1a9)]();},[_0x1b97d9,_0x2be2d8]);function _0x168fbf(){const _0x1ba766=_0x2db7cc;return _0x547480(_0x1ba766(0x1b0),{'className':_0x1ba766(0x196),'onClick':_0x5d7a66,'children':[_0x588b07(_0x1ba766(0x1b0),{'className':_0x4bc9b1(_0x1ba766(0x185),_0x1b97d9?'univer-text-green-500':'univer-text-red-500'),'children':_0x35c7ba}),_0x588b07(_0x1ba766(0x1b0),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x765a75})]});}return _0x1b97d9?_0x168fbf():_0x588b07(_0xbcee8f,{'title':_0x821354['t'](_0x2db7cc(0x18e)),'children':_0x168fbf()});}var Xi=Object[_0x1ce192(0x1de)],Gi=(_0x23cbae,_0x59f77c,_0x1bbe72,_0x271b90)=>{const _0x908684=_0x1ce192;for(var _0x144d64=_0x271b90>0x1?void 0x0:_0x271b90?Xi(_0x59f77c,_0x1bbe72):_0x59f77c,_0x192ad7=_0x23cbae[_0x908684(0x15d)]-0x1,_0x56f184;_0x192ad7>=0x0;_0x192ad7--)(_0x56f184=_0x23cbae[_0x192ad7])&&(_0x144d64=_0x56f184(_0x144d64)||_0x144d64);return _0x144d64;},Q=(_0x383d8c,_0x17a209)=>(_0x28ad2f,_0x17bf88)=>_0x17a209(_0x28ad2f,_0x17bf88,_0x383d8c);let te=class extends _0x144de6{constructor(_0x1b22b3,_0x3f4a5f,_0x3bddfa,_0x43811f){const _0xc7c81f=_0x1ce192;super(),_(this,_0xc7c81f(0x23f),new _0x5cf3b0(_0xd8eb28[_0xc7c81f(0x228)])),(this[_0xc7c81f(0x2b2)]=_0x1b22b3,this[_0xc7c81f(0x174)]=_0x3f4a5f,this[_0xc7c81f(0x132)]=_0x3bddfa,this['_uiPartsService']=_0x43811f,this[_0xc7c81f(0x262)](),this[_0xc7c81f(0x165)]());}[_0x1ce192(0x165)](){const _0x38335b=_0x1ce192;this[_0x38335b(0x1bb)](this[_0x38335b(0x2b2)]['focused$'][_0x38335b(0x163)](_0x16edd9(()=>{const _0x3d321d=_0x38335b,_0x110413=this['_univerInstanceService'][_0x3d321d(0x23e)]();return _0x110413?this[_0x3d321d(0x132)][_0x3d321d(0x18d)](_0x110413[_0x3d321d(0x114)]()):_0x3b737f(null);}),_0x16edd9(_0x3a54b0=>_0x3a54b0?_0x3a54b0[_0x38335b(0x168)]:_0x3b737f(_0xd8eb28[_0x38335b(0x228)])))[_0x38335b(0x150)](_0x265c0b=>{this['_status$']['next'](_0x265c0b);}));}['_initStatusComponent'](){const _0x594971=_0x1ce192;this[_0x594971(0x1bb)](this['_uiPartsService'][_0x594971(0x278)](_0x5dee2b[_0x594971(0x272)],()=>_0x2ea3d0(Ki({'status$':this[_0x594971(0x23f)]['asObservable']()}),this[_0x594971(0x174)])));}};te=Gi([Q(0x0,_0x4179c4),Q(0x1,_0x239987(_0x5e9505)),Q(0x2,_0x239987(_0x1d56ae)),Q(0x3,_0x3f1933)],te);function Ki(_0xabf260){const {status$:_0x53bdcc}=_0xabf260;return function(){return _0x588b07(Vi,{'status$':_0x53bdcc});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x3b0ad8,_0x39134a,_0x2cdf65,_0x18310f)=>{const _0x5c3d18=_0x1ce192;for(var _0xa6d602=_0x18310f>0x1?void 0x0:_0x18310f?zi(_0x39134a,_0x2cdf65):_0x39134a,_0x238e24=_0x3b0ad8[_0x5c3d18(0x15d)]-0x1,_0x3cdb72;_0x238e24>=0x0;_0x238e24--)(_0x3cdb72=_0x3b0ad8[_0x238e24])&&(_0xa6d602=_0x3cdb72(_0xa6d602)||_0xa6d602);return _0xa6d602;},B=(_0x301cae,_0x211cc4)=>(_0x3594ae,_0x19ab99)=>_0x211cc4(_0x3594ae,_0x19ab99,_0x301cae);let se=class extends _0x144de6{constructor(_0x3751f0,_0x323a40,_0x1dc0aa,_0x5a83a4,_0x1b7d00,_0x5b898a){const _0x384ced=_0x1ce192;super(),this['_beforeCloseService']=_0x3751f0,this[_0x384ced(0x164)]=_0x323a40,this[_0x384ced(0x14d)]=_0x1dc0aa,this['_messageService']=_0x5a83a4,this[_0x384ced(0xde)]=_0x1b7d00,this['_localeService']=_0x5b898a,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x15e208=_0x1ce192;this['disposeWithMe'](this[_0x15e208(0x1ff)]['registerBeforeClose'](()=>{const _0x31c436=_0x15e208;if(this[_0x31c436(0x164)][_0x31c436(0x158)][_0x31c436(0x286)])return this[_0x31c436(0x11c)]['t'](_0x31c436(0x10c));}));}['_initEvent'](){const _0x3da51c=_0x1ce192;this['disposeWithMe'](this[_0x3da51c(0x14d)][_0x3da51c(0x1a6)]['subscribe'](_0x45db08=>{const _0x1ec63b=_0x3da51c;_0x45db08['id']===_0x58cd25[_0x1ec63b(0xf6)]&&this[_0x1ec63b(0x271)][_0x1ec63b(0x101)]({'type':_0x1a4d8c['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x45db08['id']===_0x58cd25['CLOSE_ROOM']&&this[_0x1ec63b(0x271)]['show']({'type':_0x1a4d8c[_0x1ec63b(0x188)],'content':this['_localeService']['t'](_0x1ec63b(0x12e))}),_0x45db08['id']===_0x58cd25[_0x1ec63b(0x15a)]&&this['_notificationService'][_0x1ec63b(0x101)]({'title':this['_localeService']['t'](_0x1ec63b(0x20e)),'content':this['_localeService']['t'](_0x1ec63b(0x120)),'type':_0x1ec63b(0x22a),'duration':0x0}),_0x45db08['id']===_0x58cd25['CONFLICT']&&this[_0x1ec63b(0x271)][_0x1ec63b(0x101)]({'type':_0x1a4d8c[_0x1ec63b(0x2b8)],'content':this['_localeService']['t'](_0x1ec63b(0x12e))+'('+_0x45db08[_0x1ec63b(0x1b5)]+')'}),_0x45db08['id']===_0x58cd25['JOIN_ROOM_FAILED']&&this[_0x1ec63b(0x271)][_0x1ec63b(0x101)]({'type':_0x1a4d8c['Warning'],'content':this[_0x1ec63b(0x11c)]['t'](_0x45db08[_0x1ec63b(0x1b5)]||'')}),_0x45db08['id']===_0x58cd25[_0x1ec63b(0x2a1)]&&this[_0x1ec63b(0x271)][_0x1ec63b(0x101)]({'type':_0x1a4d8c['Warning'],'content':this[_0x1ec63b(0x11c)]['t'](_0x1ec63b(0x1e7))}),_0x45db08['id']===_0x58cd25['SOCKET_FAILED']&&this[_0x1ec63b(0x271)][_0x1ec63b(0x101)]({'type':_0x1a4d8c['Error'],'content':this['_localeService']['t'](_0x1ec63b(0x2bc))}),_0x45db08['id']===_0x58cd25['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x1ec63b(0x271)]['show']({'type':_0x1a4d8c['Error'],'content':this[_0x1ec63b(0x11c)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x15bba7),B(0x1,_0x3751ef),B(0x2,_0x239987(_0x2b1aaa)),B(0x3,_0xd35ac0),B(0x4,_0x3b1ed0),B(0x5,_0x239987(_0x27c61b))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x3e7cb4(_0x1ce192(0x221));var Qi=Object[_0x1ce192(0x1de)],qi=(_0x460c5,_0x449aa7,_0x14f959,_0x2cd74e)=>{const _0x481337=_0x1ce192;for(var _0x97882d=_0x2cd74e>0x1?void 0x0:_0x2cd74e?Qi(_0x449aa7,_0x14f959):_0x449aa7,_0x116f0c=_0x460c5[_0x481337(0x15d)]-0x1,_0x3f86b6;_0x116f0c>=0x0;_0x116f0c--)(_0x3f86b6=_0x460c5[_0x116f0c])&&(_0x97882d=_0x3f86b6(_0x97882d)||_0x97882d);return _0x97882d;},G=(_0x35fbc1,_0x4c4bf0)=>(_0x316b83,_0x296ced)=>_0x4c4bf0(_0x316b83,_0x296ced,_0x35fbc1);let ie=class extends _0x9333b3{constructor(_0x14828a,_0x3a07b6,_0x53e983,_0x25844d,_0x14f023){const _0xcce2a5=_0x1ce192;super(),this['_urlService']=_0x14828a,this[_0xcce2a5(0x297)]=_0x3a07b6,this[_0xcce2a5(0x1c9)]=_0x53e983,this[_0xcce2a5(0x1e9)]=_0x25844d,_0x14f023?_0x14f023==null||_0x14f023[_0xcce2a5(0x26e)]()[_0xcce2a5(0x12f)](()=>this[_0xcce2a5(0x2c3)]()):(this[_0xcce2a5(0x297)][_0xcce2a5(0x15e)]('[CollaborationDataLoaderController]',_0xcce2a5(0x169)),this[_0xcce2a5(0x2c3)]());}async['_init'](){const _0x289e15=_0x1ce192,_0xc0f2c3=this[_0x289e15(0x233)]['getParam'](_0x289e15(0x23a)),_0xb4f1fe=this[_0x289e15(0x233)][_0x289e15(0xeb)](_0x289e15(0x1c1)),_0xa2835f=this[_0x289e15(0x233)][_0x289e15(0xeb)](_0x289e15(0x103));if(!_0xc0f2c3||!_0xb4f1fe){this[_0x289e15(0x297)][_0x289e15(0x15e)](_0x289e15(0x1f1),_0x289e15(0x11b));return;}const _0x4072f8=await this['_dataLoaderService']['loadUnit'](_0xc0f2c3,Number(_0xb4f1fe),_0xa2835f);_0x4072f8&&_0x4072f8 instanceof _0x3d8fbc&&this[_0x289e15(0x143)](_0x4072f8);}async[_0x1ce192(0x143)](_0x269d54){const _0x65322=_0x1ce192;await this[_0x65322(0xf2)](_0x269d54),_0x269d54['activeSheet$'][_0x65322(0x163)](_0x2acf27(this[_0x65322(0x135)]))['subscribe'](_0x7f3002=>{const _0x56b22c=_0x65322;_0x7f3002&&this[_0x56b22c(0x261)](_0x7f3002);}),this[_0x65322(0x233)][_0x65322(0x176)][_0x65322(0x163)](_0x2acf27(this[_0x65322(0x135)]))[_0x65322(0x150)](()=>this['_updateSubUnitFromURLParams'](_0x269d54));}[_0x1ce192(0x261)](_0x4146ec,_0x24a5af=!0x1){const _0x15ae13=_0x1ce192,_0x173399=this['_urlService']['getParam']('subunit');_0x4146ec['getSheetId']()!==_0x173399&&this[_0x15ae13(0x233)][_0x15ae13(0x1d4)](_0x15ae13(0x103),_0x4146ec[_0x15ae13(0x126)](),_0x24a5af);}async[_0x1ce192(0xf2)](_0x3a7fb3){const _0x487da5=_0x1ce192;var _0x2787ad;const _0x2a8ddf=this[_0x487da5(0x233)][_0x487da5(0xeb)](_0x487da5(0x103));if(!_0x2a8ddf||!_0x3a7fb3[_0x487da5(0x130)](_0x2a8ddf)){const _0x58b634=_0x3a7fb3[_0x487da5(0x295)]()[0x0],_0x1a0fab=_0x3a7fb3[_0x487da5(0x130)](_0x58b634);if(!_0x1a0fab)return;this[_0x487da5(0x261)](_0x1a0fab,!0x0),await this['_commandService'][_0x487da5(0x116)](_0x26e932['id'],{'unitId':_0x3a7fb3[_0x487da5(0x114)](),'subUnitId':_0x58b634});return;}((_0x2787ad=_0x3a7fb3[_0x487da5(0xe0)]())==null?void 0x0:_0x2787ad[_0x487da5(0x126)]())!==_0x2a8ddf&&await this[_0x487da5(0x1c9)]['executeCommand'](_0x26e932['id'],{'unitId':_0x3a7fb3[_0x487da5(0x114)](),'subUnitId':_0x2a8ddf});}};ie=qi([G(0x0,Ut),G(0x1,_0x38b36c),G(0x2,_0x21faa8),G(0x3,_0x239987(_0x58bccf)),G(0x4,_0x52e39b(_0x105082))],ie);var en=Object[_0x1ce192(0x1de)],tn=(_0x5201fd,_0x11c0f8,_0xc6d2b8,_0x31d400)=>{for(var _0x491621=_0x31d400>0x1?void 0x0:_0x31d400?en(_0x11c0f8,_0xc6d2b8):_0x11c0f8,_0x17e1a6=_0x5201fd['length']-0x1,_0x5b7f2f;_0x17e1a6>=0x0;_0x17e1a6--)(_0x5b7f2f=_0x5201fd[_0x17e1a6])&&(_0x491621=_0x5b7f2f(_0x491621)||_0x491621);return _0x491621;},pe=(_0x49b722,_0xd29019)=>(_0x545912,_0x48e917)=>_0xd29019(_0x545912,_0x48e917,_0x49b722);let ne=class{constructor(_0x4ef9c4,_0x17707b,_0x22d485){const _0xc91673=_0x1ce192;this[_0xc91673(0x174)]=_0x4ef9c4,this[_0xc91673(0x16e)]=_0x17707b,this[_0xc91673(0x15b)]=_0x22d485;}['transformIMECache'](_0x2cdc49){const _0x1bfe2b=_0x1ce192;this[_0x1bfe2b(0x20f)](_0x2cdc49),this['_transformPreviousActiveRange'](_0x2cdc49);}[_0x1ce192(0x19a)](_0x3ee958){const _0x18e47c=_0x1ce192,{unitID:_0x563b3d}=_0x3ee958,_0x547e40=this[_0x18e47c(0x15b)][_0x18e47c(0x298)](_0x563b3d)[_0x18e47c(0x215)](_0x5bf910),{redoCache:_0x382747}=_0x547e40[_0x18e47c(0x2a5)]();if(_0x382747[_0x18e47c(0x15d)]===0x0)return _0x3ee958;let _0x4678cc=_0x21666c[_0x18e47c(0x2ad)](_0x3ee958[_0x18e47c(0x1d6)][0x0]);for(let _0x528031=0x0;_0x528031<_0x382747[_0x18e47c(0x15d)];_0x528031++){const _0x31ba30={'id':'doc.mutation.rich-text-editing','params':{..._0x382747[_0x528031]}},_0x400336=this['_transformService']['transformMutation'](_0x4678cc,_0x31ba30,!0x1);if(_0x11fd4d(_0x400336))throw _0x400336[_0x18e47c(0x22a)];_0x4678cc=_0x400336[_0x18e47c(0xf1)];}return{..._0x21666c[_0x18e47c(0x2ad)](_0x3ee958),'mutations':[_0x4678cc]};}['_transformUndoRedoStack'](_0x50942c){const _0x22e7d9=_0x1ce192,{unitID:_0x5abb2d}=_0x50942c,_0x51d431=this['_renderManagerService']['getRenderById'](_0x5abb2d)[_0x22e7d9(0x215)](_0x5bf910),{undoCache:_0x2ede79,redoCache:_0x3340a2}=_0x51d431[_0x22e7d9(0x2a5)]();if(_0x2ede79[_0x22e7d9(0x15d)]===0x0||_0x3340a2[_0x22e7d9(0x15d)]===0x0)return;const _0x1f85c6=[],_0x3a6fbf=[];let _0x1a2323=_0x21666c['deepClone'](_0x50942c[_0x22e7d9(0x1d6)][0x0]),_0x27e407=_0x21666c[_0x22e7d9(0x2ad)](_0x50942c['mutations'][0x0]);for(let _0x453262=_0x2ede79[_0x22e7d9(0x15d)]-0x1;_0x453262>=0x0;_0x453262--){const _0x199287={'id':'doc.mutation.rich-text-editing','params':{..._0x2ede79[_0x453262]}},_0x3c896a={'id':_0x22e7d9(0x141),'params':{..._0x3340a2[_0x453262]}},_0x3944f2=this[_0x22e7d9(0x16e)][_0x22e7d9(0xfd)](_0x1a2323,_0x199287,!0x1),_0x418c0b=this['_transformService'][_0x22e7d9(0xfd)](_0x27e407,_0x3c896a,!0x1);if(_0x11fd4d(_0x3944f2))throw _0x3944f2[_0x22e7d9(0x22a)];if(_0x11fd4d(_0x418c0b))throw _0x418c0b[_0x22e7d9(0x22a)];_0x1f85c6['unshift'](_0x3944f2['m2Prime']['params']),_0x3a6fbf[_0x22e7d9(0x20b)](_0x418c0b[_0x22e7d9(0x1cd)]['params']),_0x1a2323=_0x3944f2[_0x22e7d9(0xf1)],_0x27e407=_0x418c0b[_0x22e7d9(0xf1)];}_0x51d431[_0x22e7d9(0x207)]({'undoCache':_0x1f85c6,'redoCache':_0x3a6fbf});}[_0x1ce192(0x2bb)](_0x346441){const _0x5412d2=_0x1ce192,{unitID:_0x5052db}=_0x346441,_0x320be9=this[_0x5412d2(0x15b)]['getRenderById'](_0x5052db)[_0x5412d2(0x215)](_0x5bf910),_0x4f1db0=_0x320be9[_0x5412d2(0x29a)]();if(_0x4f1db0==null)return;const _0x4e4a3f=[{'id':_0x5412d2(0x141),'params':{'unitId':_0x346441['unitID'],'actions':null,'textRanges':[_0x4f1db0]}}],_0x41f146=this[_0x5412d2(0x16e)]['transformMutationsWithChangeset'](_0x346441,_0x4e4a3f);if(!_0x172225(_0x41f146))throw _0x41f146[_0x5412d2(0x22a)];const _0x4ff989=_0x41f146[_0x5412d2(0x1cd)][0x0][_0x5412d2(0x24e)]['textRanges'];Array[_0x5412d2(0x140)](_0x4ff989)&&_0x4ff989['length']&&_0x320be9[_0x5412d2(0x151)](_0x4ff989[0x0]);}};ne=tn([pe(0x0,_0x239987(_0x5e9505)),pe(0x1,_0x1fab30),pe(0x2,_0x3614ca)],ne);var sn=Object[_0x1ce192(0x1de)],nn=(_0x21c1ba,_0x5bb3f6,_0x2e7f00,_0x2d98bb)=>{const _0x4bff98=_0x1ce192;for(var _0x69b1f2=_0x2d98bb>0x1?void 0x0:_0x2d98bb?sn(_0x5bb3f6,_0x2e7f00):_0x5bb3f6,_0x1ee8fd=_0x21c1ba[_0x4bff98(0x15d)]-0x1,_0x2b6c40;_0x1ee8fd>=0x0;_0x1ee8fd--)(_0x2b6c40=_0x21c1ba[_0x1ee8fd])&&(_0x69b1f2=_0x2b6c40(_0x69b1f2)||_0x69b1f2);return _0x69b1f2;},Ce=(_0x6de91b,_0x154a88)=>(_0x3a4eca,_0x4fa726)=>_0x154a88(_0x3a4eca,_0x4fa726,_0x6de91b);let re=class{constructor(_0x2964d0,_0x557772,_0x31ba43){const _0x47cd67=_0x1ce192;this['_injector']=_0x2964d0,this[_0x47cd67(0x16e)]=_0x557772,this['_docStateChangeManagerService']=_0x31ba43;}[_0x1ce192(0x1a2)](_0x2180a3){const _0x1bf1c2=_0x1ce192;this[_0x1bf1c2(0x12d)](_0x2180a3);}[_0x1ce192(0x19a)](_0x402cd2){const _0x29ebd6=_0x1ce192,{unitID:_0x1c59b9}=_0x402cd2,{collaboration:_0x2ff73e}=this[_0x29ebd6(0x112)][_0x29ebd6(0x21f)](_0x1c59b9);if(_0x2ff73e[_0x29ebd6(0x15d)]===0x0)return _0x402cd2;let _0x556047=_0x21666c[_0x29ebd6(0x2ad)](_0x402cd2['mutations'][0x0]);for(let _0x1b0479=0x0;_0x1b0479<_0x2ff73e[_0x29ebd6(0x15d)];_0x1b0479++){const _0x2c4e65={'id':_0x29ebd6(0x141),'params':{'unitId':_0x2ff73e[_0x1b0479]['unitId'],..._0x2ff73e[_0x1b0479][_0x29ebd6(0x229)]}},_0x3e472c=this[_0x29ebd6(0x16e)][_0x29ebd6(0xfd)](_0x556047,_0x2c4e65,!0x1);if(_0x11fd4d(_0x3e472c))throw _0x3e472c[_0x29ebd6(0x22a)];_0x556047=_0x3e472c[_0x29ebd6(0xf1)];}return{..._0x21666c[_0x29ebd6(0x2ad)](_0x402cd2),'mutations':[_0x556047]};}[_0x1ce192(0x12d)](_0x414c2f){const _0x4d51b6=_0x1ce192,{unitID:_0x5239f8}=_0x414c2f,{history:_0x37c467,collaboration:_0x496de7}=this[_0x4d51b6(0x112)][_0x4d51b6(0x21f)](_0x5239f8);if(_0x37c467[_0x4d51b6(0x15d)]===0x0&&_0x496de7['length']===0x0)return;const _0x2aefd0=[],_0x5b0231=[];let _0x12ccc4=_0x21666c[_0x4d51b6(0x2ad)](_0x414c2f['mutations'][0x0]),_0x3a3cda=_0x21666c[_0x4d51b6(0x2ad)](_0x414c2f[_0x4d51b6(0x1d6)][0x0]);for(let _0xcec79=_0x37c467[_0x4d51b6(0x15d)]-0x1;_0xcec79>=0x0;_0xcec79--){const _0x33c383={'id':_0x4d51b6(0x141),'params':{'unitId':_0x37c467[_0xcec79][_0x4d51b6(0x2ac)],..._0x37c467[_0xcec79][_0x4d51b6(0x147)]}},_0x17b25e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37c467[_0xcec79][_0x4d51b6(0x2ac)],..._0x37c467[_0xcec79]['redoState']}},_0x3b5fa7=this['_transformService'][_0x4d51b6(0xfd)](_0x12ccc4,_0x33c383,!0x1),_0x6bbab8=this[_0x4d51b6(0x16e)][_0x4d51b6(0xfd)](_0x3a3cda,_0x17b25e,!0x1);if(_0x11fd4d(_0x3b5fa7))throw _0x3b5fa7['error'];if(_0x11fd4d(_0x6bbab8))throw _0x6bbab8[_0x4d51b6(0x22a)];_0x2aefd0[_0x4d51b6(0x20b)]({..._0x37c467[_0xcec79],'undoState':_0x3b5fa7['m2Prime']['params'],'redoState':_0x6bbab8['m2Prime'][_0x4d51b6(0x24e)]}),_0x12ccc4=_0x3b5fa7['m1Prime'],_0x3a3cda=_0x6bbab8[_0x4d51b6(0xf1)];}_0x12ccc4=_0x21666c[_0x4d51b6(0x2ad)](_0x414c2f['mutations'][0x0]),_0x3a3cda=_0x21666c[_0x4d51b6(0x2ad)](_0x414c2f[_0x4d51b6(0x1d6)][0x0]);for(let _0x4742fc=_0x496de7[_0x4d51b6(0x15d)]-0x1;_0x4742fc>=0x0;_0x4742fc--){const _0x2b1ce3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x496de7[_0x4742fc][_0x4d51b6(0x2ac)],..._0x496de7[_0x4742fc][_0x4d51b6(0x147)]}},_0x38849c={'id':_0x4d51b6(0x141),'params':{'unitId':_0x496de7[_0x4742fc][_0x4d51b6(0x2ac)],..._0x496de7[_0x4742fc][_0x4d51b6(0x229)]}},_0x16163e=this[_0x4d51b6(0x16e)][_0x4d51b6(0xfd)](_0x12ccc4,_0x2b1ce3,!0x1),_0x19590b=this['_transformService']['transformMutation'](_0x3a3cda,_0x38849c,!0x1);if(_0x11fd4d(_0x16163e))throw _0x16163e[_0x4d51b6(0x22a)];if(_0x11fd4d(_0x19590b))throw _0x19590b[_0x4d51b6(0x22a)];_0x5b0231[_0x4d51b6(0x20b)]({..._0x496de7[_0x4742fc],'undoState':_0x16163e[_0x4d51b6(0x1cd)][_0x4d51b6(0x24e)],'redoState':_0x19590b[_0x4d51b6(0x1cd)]['params']}),_0x12ccc4=_0x16163e[_0x4d51b6(0xf1)],_0x3a3cda=_0x19590b[_0x4d51b6(0xf1)];}this[_0x4d51b6(0x112)]['setStateCache'](_0x5239f8,{'history':_0x2aefd0,'collaboration':_0x5b0231});}};re=nn([Ce(0x0,_0x239987(_0x5e9505)),Ce(0x1,_0x1fab30),Ce(0x2,_0x239987(_0x44c46b))],re);var rn=Object[_0x1ce192(0x1de)],on=(_0x29c650,_0x437bca,_0x3c2e44,_0x319590)=>{const _0x46b8db=_0x1ce192;for(var _0x11dcba=_0x319590>0x1?void 0x0:_0x319590?rn(_0x437bca,_0x3c2e44):_0x437bca,_0x1bce31=_0x29c650[_0x46b8db(0x15d)]-0x1,_0x427d73;_0x1bce31>=0x0;_0x1bce31--)(_0x427d73=_0x29c650[_0x1bce31])&&(_0x11dcba=_0x427d73(_0x11dcba)||_0x11dcba);return _0x11dcba;},tt=(_0x3a35bd,_0x5d8972)=>(_0x3a5b28,_0x1c6b4b)=>_0x5d8972(_0x3a5b28,_0x1c6b4b,_0x3a35bd);let oe=class{constructor(_0x290b73,_0x215b1b){const _0x259be2=_0x1ce192;this[_0x259be2(0x174)]=_0x290b73,this['_transformService']=_0x215b1b;}[_0x1ce192(0x258)](_0x36eb8c){const _0x4a585a=_0x1ce192;var _0x17a664;const _0x3fac64=this[_0x4a585a(0x174)]['get'](_0x17cabf),_0x1676ad=(_0x17a664=_0x3fac64[_0x4a585a(0x154)]())!=null?_0x17a664:[];if(_0x1676ad[_0x4a585a(0x15d)]===0x0)return;const _0x4ba22c=_0x36eb8c[_0x4a585a(0x145)],_0x564f9b=[{'id':_0x4a585a(0x141),'params':{'unitId':_0x4ba22c,'actions':null,'textRanges':_0x1676ad}}],_0x2af2fd=this[_0x4a585a(0x16e)][_0x4a585a(0x136)](_0x36eb8c,_0x564f9b);if(!_0x172225(_0x2af2fd))throw _0x2af2fd['error'];const _0x9a7466=_0x2af2fd[_0x4a585a(0x1cd)][0x0]['params'][_0x4a585a(0x1e5)];Array['isArray'](_0x9a7466)&&_0x9a7466[_0x4a585a(0x15d)]&&_0x3fac64['replaceDocRanges'](_0x9a7466,{'unitId':_0x4ba22c,'subUnitId':_0x4ba22c},!0x1);}};oe=on([tt(0x0,_0x239987(_0x5e9505)),tt(0x1,_0x1fab30)],oe);var an=Object[_0x1ce192(0x1de)],cn=(_0x476b1b,_0x1f2419,_0x25a45f,_0x553472)=>{const _0x301d7f=_0x1ce192;for(var _0x1850d7=_0x553472>0x1?void 0x0:_0x553472?an(_0x1f2419,_0x25a45f):_0x1f2419,_0x1822fc=_0x476b1b[_0x301d7f(0x15d)]-0x1,_0x1ac02b;_0x1822fc>=0x0;_0x1822fc--)(_0x1ac02b=_0x476b1b[_0x1822fc])&&(_0x1850d7=_0x1ac02b(_0x1850d7)||_0x1850d7);return _0x1850d7;},U=(_0x3f98bf,_0x284203)=>(_0x298c35,_0x417c11)=>_0x284203(_0x298c35,_0x417c11,_0x3f98bf);let ae=class extends _0x144de6{constructor(_0x231765,_0x577046,_0x53ec40,_0x17e2cc,_0x1356f5,_0x3cbe5c,_0xba754c,_0x5125b9){const _0x215639=_0x1ce192;super(),_(this,_0x215639(0x23f),new _0x5cf3b0(_0xd8eb28[_0x215639(0x228)])),(this[_0x215639(0x112)]=_0x231765,this['_collaborationController']=_0x577046,this[_0x215639(0xfe)]=_0x53ec40,this[_0x215639(0x29e)]=_0x17e2cc,this[_0x215639(0x24f)]=_0x1356f5,this[_0x215639(0x27d)]=_0x3cbe5c,this[_0x215639(0x271)]=_0xba754c,this[_0x215639(0x11c)]=_0x5125b9,this['_initEntityListener']());}[_0x1ce192(0x1c7)](){const _0x5b5b0b=_0x1ce192;this[_0x5b5b0b(0x1bb)](this[_0x5b5b0b(0x132)][_0x5b5b0b(0x13d)][_0x5b5b0b(0x150)](_0x39f0a8=>{const _0x213113=_0x5b5b0b,_0x2895aa=this['_docStateChangeManagerService'][_0x213113(0x24b)][_0x213113(0x150)](_0x3e1c9a=>{const _0x27038f=_0x213113;if(_0x3e1c9a==null)return;const {unitId:_0x56752d,redoState:_0xc15915,commandId:_0x1e8010}=_0x3e1c9a;if(_0x56752d!==_0x39f0a8['unitID'])return;const _0xd1de4f={'id':_0x1e8010,'type':_0x427c64[_0x27038f(0x2c0)],'params':{'unitId':_0x56752d,'actions':_0xc15915['actions'],'textRanges':null}};_0x39f0a8[_0x27038f(0x17c)](_0xd1de4f);});if(_0x39f0a8[_0x213113(0x1bb)](_0x2895aa),_0x39f0a8 instanceof _0x519b51){const _0x8f6214={'onTransformIME':_0x1daaca=>this['_docTransformIMECacheService'][_0x213113(0x24a)](_0x1daaca),'onTransformState':_0x350470=>this[_0x213113(0x29e)][_0x213113(0x1a2)](_0x350470),'onTransformSelections':_0xb1ef49=>this[_0x213113(0x24f)]['transformSelections'](_0xb1ef49),'onSyncEditingCollabCursor':_0x50ecc2=>this[_0x213113(0x27d)][_0x213113(0x1a8)](_0x50ecc2),'onTransformRemoteChangesetByIMECache':_0x52e870=>this[_0x213113(0xfe)]['transformRemoteChangeset'](_0x52e870),'onTransformRemoteChangesetByStateCache':_0xb15281=>this[_0x213113(0x29e)]['transformRemoteChangeset'](_0xb15281)};_0x39f0a8[_0x213113(0x2cc)](_0x8f6214);}}));}};ae=cn([U(0x0,_0x239987(_0x44c46b)),U(0x1,_0x239987(_0x1d56ae)),U(0x2,_0x239987(ne)),U(0x3,_0x239987(re)),U(0x4,_0x239987(oe)),U(0x5,_0x239987(He)),U(0x6,_0xd35ac0),U(0x7,_0x239987(_0x27c61b))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x430b4f,_0x3e6f9d,_0x309b98,_0x4e85ab)=>{const _0x230975=_0x1ce192;for(var _0x335c83=_0x4e85ab>0x1?void 0x0:_0x4e85ab?ln(_0x3e6f9d,_0x309b98):_0x3e6f9d,_0x299082=_0x430b4f[_0x230975(0x15d)]-0x1,_0x4d6923;_0x299082>=0x0;_0x299082--)(_0x4d6923=_0x430b4f[_0x299082])&&(_0x335c83=_0x4d6923(_0x335c83)||_0x335c83);return _0x335c83;},Ee=(_0x13211c,_0x5a970e)=>(_0x520bfb,_0x24371b)=>_0x5a970e(_0x520bfb,_0x24371b,_0x13211c);let we=class extends _0x144de6{constructor(_0x368dac,_0x2134e5,_0x10f34d){const _0x15ca11=_0x1ce192;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x15ca11(0x205),!0x1),(this['_configService']=_0x368dac,this[_0x15ca11(0x1ef)]=_0x2134e5,this[_0x15ca11(0x19e)]=_0x10f34d);}[_0x1ce192(0x1d0)](){const _0x34cede=_0x1ce192;this[_0x34cede(0x205)]=!0x0;}[_0x1ce192(0x128)](){this['_disabled']=!0x1;}get[_0x1ce192(0x158)](){return this['_saveTaskMap'];}[_0x1ce192(0x29f)](){const _0x67df5=_0x1ce192;this[_0x67df5(0x287)]()[_0x67df5(0x12f)](()=>super[_0x67df5(0x29f)]());}async[_0x1ce192(0x2cd)](_0x1a7f99){const _0x10bb45=_0x1ce192;return this[_0x10bb45(0x205)]?null:this[_0x10bb45(0x1ef)]['getItem'](_0x9bac37(_0x1a7f99));}async[_0x1ce192(0xe6)](_0x74ed5b,_0x178177){const _0x5c2f06=_0x1ce192;return!!this[_0x5c2f06(0x1ef)][_0x5c2f06(0x19c)](_0x74ed5b,_0x178177);}[_0x1ce192(0x21a)](_0x4cfa35,_0x4c17b1,_0xc3a085,_0x319c70){const _0x2901c7=_0x1ce192,_0x582ed6=this[_0x2901c7(0x19e)][_0x2901c7(0x1b6)](_0x4cfa35);this[_0x2901c7(0x1d8)][_0x2901c7(0x1bd)](_0x4cfa35,{'unitID':_0x4cfa35,'type':_0x4c17b1,'awaitingChangeset':_0xc3a085,'mutations':_0x319c70,'rev':_0x582ed6}),this[_0x2901c7(0x157)][_0x2901c7(0x27f)](_0x4cfa35)||this[_0x2901c7(0x22e)](_0x4cfa35);}['_scheduleSaving'](_0x38961f){const _0x3a9621=_0x1ce192,_0x419a6f=this[_0x3a9621(0x129)]();_0x419a6f===0x0?this[_0x3a9621(0x189)](_0x38961f):this['_saveTaskMap'][_0x3a9621(0x1bd)](_0x38961f,setTimeout(()=>this[_0x3a9621(0x189)](_0x38961f),_0x419a6f));}['_getSaveTimeout'](){const _0x5ad64c=_0x1ce192;var _0x1969c8;return(_0x1969c8=this[_0x5ad64c(0xe8)][_0x5ad64c(0x1d5)](_0x3c7680))!=null?_0x1969c8:_0x322ff2;}[_0x1ce192(0x189)](_0x16a844){const _0x1f45c2=_0x1ce192,_0x1ef1de=this[_0x1f45c2(0x157)][_0x1f45c2(0x226)](_0x16a844);return _0x1ef1de!==void 0x0&&window[_0x1f45c2(0x26c)](_0x1ef1de),this[_0x1f45c2(0x1ef)][_0x1f45c2(0x19c)](_0x9bac37(_0x16a844),this[_0x1f45c2(0x1d8)][_0x1f45c2(0x226)](_0x16a844))['then'](()=>this[_0x1f45c2(0x157)][_0x1f45c2(0x238)](_0x16a844));}async[_0x1ce192(0x287)](){const _0x1024e0=_0x1ce192,_0x3e345e=[];this[_0x1024e0(0x157)][_0x1024e0(0x212)]((_0xeae3d7,_0x107afb)=>{const _0x25c297=_0x1024e0;window[_0x25c297(0x26c)](_0xeae3d7),_0x3e345e[_0x25c297(0x237)](this[_0x25c297(0x189)](_0x107afb)[_0x25c297(0x12f)](()=>{const _0x48cb33=_0x25c297;this[_0x48cb33(0x157)][_0x48cb33(0x238)](_0x107afb);}));}),await Promise['all'](_0x3e345e);}};we=_n([Ee(0x0,_0x565b71),Ee(0x1,_0x459f4d),Ee(0x2,_0x239987(_0x259ea7))],we);class hn extends _0x9333b3{constructor(){const _0x37c6d7=_0x1ce192;super(),_(this,_0x37c6d7(0x176)),this[_0x37c6d7(0x176)]=_0x235b00(window,_0x37c6d7(0x2b5))[_0x37c6d7(0x163)](_0x2acf27(this[_0x37c6d7(0x135)]),_0x3e6529(0x1),_0x183d2f(void 0x0));}[_0x1ce192(0x1d4)](_0x4e4973,_0x36c848,_0x174625=!0x1){const _0xbe7131=_0x1ce192,_0x2e2c24=new URL(window[_0xbe7131(0x2b3)][_0xbe7131(0x214)]);_0x2e2c24['searchParams'][_0xbe7131(0x1bd)](_0x4e4973,_0x36c848),_0x174625?window[_0xbe7131(0x1bc)][_0xbe7131(0x177)]('','',_0x2e2c24[_0xbe7131(0x2b7)]()):window['history'][_0xbe7131(0x251)]('','',_0x2e2c24[_0xbe7131(0x2b7)]());}['removeParam'](_0x41da14,_0xb7c7d4=!0x1){const _0xad6fce=_0x1ce192,_0x3f00c7=new URL(window[_0xad6fce(0x2b3)][_0xad6fce(0x214)]);_0x3f00c7[_0xad6fce(0x11d)][_0xad6fce(0x238)](_0x41da14),_0xb7c7d4?window[_0xad6fce(0x1bc)][_0xad6fce(0x177)]('','',_0x3f00c7[_0xad6fce(0x2b7)]()):window[_0xad6fce(0x1bc)][_0xad6fce(0x251)]('','',_0x3f00c7['toString']());}[_0x1ce192(0xeb)](_0x156a65){const _0x3e17b8=_0x1ce192;var _0x13e7f4;return(_0x13e7f4=new URL(window[_0x3e17b8(0x2b3)][_0x3e17b8(0x214)])[_0x3e17b8(0x11d)][_0x3e17b8(0x226)](_0x156a65))!=null?_0x13e7f4:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x1ce192(0x1de)],fn=(_0x5d53e9,_0x3fa7ce,_0x4f1a1d)=>_0x3fa7ce in _0x5d53e9?un(_0x5d53e9,_0x3fa7ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f1a1d}):_0x5d53e9[_0x3fa7ce]=_0x4f1a1d,Sn=(_0x452327,_0xbe5e39,_0x4292ca,_0xfa7d3d)=>{for(var _0x6e931c=_0xfa7d3d>0x1?void 0x0:_0xfa7d3d?dn(_0xbe5e39,_0x4292ca):_0xbe5e39,_0x4a9803=_0x452327['length']-0x1,_0x15cfce;_0x4a9803>=0x0;_0x4a9803--)(_0x15cfce=_0x452327[_0x4a9803])&&(_0x6e931c=_0x15cfce(_0x6e931c)||_0x6e931c);return _0x6e931c;},Oe=(_0xb0b6c2,_0x359b46)=>(_0x5525ea,_0x2e11b9)=>_0x359b46(_0x5525ea,_0x2e11b9,_0xb0b6c2),mn=(_0x2e69ed,_0x2fc673,_0x320c0b)=>fn(_0x2e69ed,_0x2fc673+'',_0x320c0b);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x44768a{constructor(_0x7fcba5=et,_0x4ae638,_0x19953d,_0x4ba062){const _0x50e1d3=_0x1ce192;super(),this[_0x50e1d3(0x1f7)]=_0x7fcba5,this[_0x50e1d3(0x15b)]=_0x4ae638,this[_0x50e1d3(0x174)]=_0x19953d,this[_0x50e1d3(0xe8)]=_0x4ba062;const {..._0x5527f2}=_0x4ad380({},et,this[_0x50e1d3(0x1f7)]);this['_configService'][_0x50e1d3(0x1ec)](Zi,_0x5527f2);}[_0x1ce192(0x10b)](){const _0x136787=_0x1ce192;this[_0x136787(0x28d)](),this[_0x136787(0x1ae)]();}[_0x1ce192(0x1bf)](){const _0x471ab0=_0x1ce192;this[_0x471ab0(0x1ad)]();}[_0x1ce192(0x28d)](){const _0x38b311=_0x1ce192;var _0x1371a6;const _0x214cfc=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x59252d,{'useClass':_0x1d88e3}],[_0x3751ef,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x22c7e6(this[_0x38b311(0x174)],_0x51226e(_0x214cfc,(_0x1371a6=this[_0x38b311(0x1f7)])==null?void 0x0:_0x1371a6[_0x38b311(0x110)]));}[_0x1ce192(0x1ad)](){const _0x6a3800=_0x1ce192;this[_0x6a3800(0x1bb)](this['_renderManagerService']['registerRenderModule'](_0x51aa91[_0x6a3800(0x2b0)],[Pe])),this[_0x6a3800(0x1bb)](this['_renderManagerService']['registerRenderModule'](_0x51aa91[_0x6a3800(0x2c1)],[Le]));}[_0x1ce192(0x1ae)](){_0x463f81(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1ce192(0x26a),gn),Ae=Sn([_0x5a04db(_0x47332e),Oe(0x1,_0x3614ca),Oe(0x2,_0x239987(_0x5e9505)),Oe(0x3,_0x565b71)],Ae);var In=Object[_0x1ce192(0x1de)],vn=(_0x349304,_0x2d318c,_0x3e8a52,_0x327cb0)=>{const _0x4acefb=_0x1ce192;for(var _0x5626ad=_0x327cb0>0x1?void 0x0:_0x327cb0?In(_0x2d318c,_0x3e8a52):_0x2d318c,_0x1af056=_0x349304[_0x4acefb(0x15d)]-0x1,_0x5ea1ed;_0x1af056>=0x0;_0x1af056--)(_0x5ea1ed=_0x349304[_0x1af056])&&(_0x5626ad=_0x5ea1ed(_0x5626ad)||_0x5626ad);return _0x5626ad;},K=(_0x4285fc,_0x2b6e82)=>(_0x3fe808,_0x487f41)=>_0x2b6e82(_0x3fe808,_0x487f41,_0x4285fc);let st=class extends _0x4ad6cf{constructor(_0xf4e181,_0x4065f3,_0x26d529,_0x9b3f28,_0x433682){super(_0xf4e181,_0x4065f3,_0x26d529,_0x9b3f28,_0x433682);}async[_0x1ce192(0x292)](_0x5e707f){const _0x3c124a=_0x1ce192,_0x29809e=await this[_0x3c124a(0xfa)](),_0x584ace=this[_0x3c124a(0x1fb)](_0x5e707f,_0x29809e);return this['_doCreateSocket'](_0x584ace);}[_0x1ce192(0x1fb)](_0x348971,_0x49be78){const _0x3268f8=_0x1ce192,_0x4f29e3=typeof window>'u'?new URL(_0x348971):new URL(_0x348971,window[_0x3268f8(0x2b3)][_0x3268f8(0x1c6)]);_0x4f29e3['searchParams'][_0x3268f8(0x1bd)](_0x3268f8(0x142),_0x49be78);const _0x2c6b43=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3268f8(0x111)]);return _0x2c6b43[_0x3268f8(0x226)]('runId')&&_0x4f29e3['searchParams'][_0x3268f8(0x1bd)]('runId',_0x2c6b43[_0x3268f8(0x226)]('runId')),_0x4f29e3[_0x3268f8(0x2b7)]();}async[_0x1ce192(0xfa)](){const _0x5193ae=_0x1ce192;var _0x48c6f9,_0x45a0c8,_0x3262c7;const _0x3def29=this[_0x5193ae(0xe8)][_0x5193ae(0x1d5)](_0x125ae8),_0x159aa2=(_0x48c6f9=_0x3def29==null?void 0x0:_0x3def29[_0x5193ae(0x1a1)])!=null?_0x48c6f9:_0x414d52;return(_0x3262c7=(_0x45a0c8=(await this['_httpService'][_0x5193ae(0x226)](_0x159aa2,{'headers':{'Content-Type':_0x5193ae(0x193)}}))[_0x5193ae(0x25a)])==null?void 0x0:_0x45a0c8['ticket'])!=null?_0x3262c7:'';}};st=vn([K(0x0,_0x239987(_0x5e9505)),K(0x1,_0x239987(_0x52a080)),K(0x2,_0x565b71),K(0x3,_0x38b36c),K(0x4,_0x34c05e)],st);const it=0x7530,nt=_0x1ce192(0x131);class jn extends _0x144de6{constructor(){const _0x1cf239=_0x1ce192;super(),_(this,'_id',_0x121979()),_(this,_0x1cf239(0x25e),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x1cf239(0x1dd),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x1cf239(0x194),new Map()),this[_0x1cf239(0x2c3)]();}['dispose'](){const _0x4e1e9a=_0x1ce192;super[_0x4e1e9a(0x29f)](),this[_0x4e1e9a(0x181)]['forEach']((_0x4c7d38,_0xbdc9e0)=>this[_0x4e1e9a(0xe9)](_0xbdc9e0)),this[_0x4e1e9a(0x1dd)]&&window[_0x4e1e9a(0x2bf)](this[_0x4e1e9a(0x1dd)]);}[_0x1ce192(0x1f5)](_0x179bf1){const _0x5be664=_0x1ce192;return this[_0x5be664(0x26d)](_0x179bf1)['pipe'](_0x43362a());}[_0x1ce192(0x18c)](_0x42110c){const _0x4d2f26=_0x1ce192;this[_0x4d2f26(0x25e)][_0x4d2f26(0x286)]===0x0&&this[_0x4d2f26(0x24c)](),this[_0x4d2f26(0x25e)][_0x4d2f26(0x10d)](_0x42110c),this[_0x4d2f26(0x1ed)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x42110c],'isForwarded':!0x1});}[_0x1ce192(0x106)](_0x1e14f7){const _0x26695e=_0x1ce192;this[_0x26695e(0x25e)][_0x26695e(0x238)](_0x1e14f7),this[_0x26695e(0x25e)][_0x26695e(0x286)]===0x0&&this[_0x26695e(0x1dd)]&&window[_0x26695e(0x2bf)](this[_0x26695e(0x1dd)]);}[_0x1ce192(0x2c3)](){const _0x56eb70=_0x1ce192;this[_0x56eb70(0x1bb)](_0x510264(_0x235b00(window,_0x56eb70(0xf5))[_0x56eb70(0x150)](_0x4bea4e=>{const _0x65740=_0x56eb70;if(_0x4bea4e['key']!==nt||!_0x4bea4e[_0x65740(0x1fa)])return;const _0x135654=JSON['parse'](_0x4bea4e[_0x65740(0x1fa)]);this[_0x65740(0x12a)](_0x135654);}))),window[_0x56eb70(0x180)](_0x56eb70(0x27a),()=>this['_send']({'type':0x1,'memberID':this[_0x56eb70(0x21b)],'unitIDs':Array[_0x56eb70(0x134)](this['_selfUnitIDs'])}));}[_0x1ce192(0x12a)](_0x1c44b9){const _0x127d1a=_0x1ce192;switch(_0x1c44b9[_0x127d1a(0x1c1)]){case 0x0:this['_handleJoinEvent'](_0x1c44b9);break;case 0x1:this[_0x127d1a(0x254)](_0x1c44b9);break;case 0x2:this['_handleHeartbeatEvent'](_0x1c44b9);break;}}[_0x1ce192(0x13e)](_0x49b711){const _0x185336=_0x1ce192,{unitIDs:_0x3dc763,memberID:_0x502665,isForwarded:_0x3bef16}=_0x49b711;_0x3dc763[_0x185336(0x212)](_0x14a3ce=>{const _0x58a605=_0x185336;if(!_0x3bef16&&this[_0x58a605(0x296)][_0x58a605(0x27f)](_0x14a3ce)&&this['_ensureSubject'](_0x14a3ce)['next'](_0x2c453f['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x58a605(0x27f)](_0x14a3ce)||!this[_0x58a605(0x296)][_0x58a605(0x226)](_0x14a3ce)[_0x58a605(0x27f)](_0x502665)){const _0x192436=this[_0x58a605(0x296)][_0x58a605(0x226)](_0x14a3ce)||new Set();_0x192436[_0x58a605(0x10d)](_0x502665),this[_0x58a605(0x296)]['set'](_0x14a3ce,_0x192436),this[_0x58a605(0x28b)](_0x502665);}}),_0x3bef16||this[_0x185336(0x1ed)]({'type':0x0,'memberID':this[_0x185336(0x21b)],'unitIDs':[...this[_0x185336(0x25e)]],'isForwarded':!0x0});}[_0x1ce192(0x28b)](_0x4bd5bb){const _0x175e6c=_0x1ce192;this[_0x175e6c(0xe9)](_0x4bd5bb);const _0x59fe63=window[_0x175e6c(0x22c)](()=>{const _0x5590e5=_0x175e6c;this[_0x5590e5(0x296)]['forEach'](_0x1345a6=>{const _0x31f3d7=_0x5590e5;_0x1345a6[_0x31f3d7(0x238)](_0x4bd5bb);});},it*0x2);this[_0x175e6c(0x181)][_0x175e6c(0x1bd)](_0x4bd5bb,_0x59fe63);}['_removeClearOtherTimer'](_0x153d36){const _0x5148b3=_0x1ce192;if(this['_clearOtherTimers'][_0x5148b3(0x27f)](_0x153d36)){const _0x1b5196=this[_0x5148b3(0x181)]['get'](_0x153d36);_0x1b5196&&window[_0x5148b3(0x26c)](_0x1b5196),this[_0x5148b3(0x181)][_0x5148b3(0x1bd)](_0x153d36,null);}}['_handleLeaveEvent'](_0x187799){const _0x5502ba=_0x1ce192,{memberID:_0x20fb50,unitIDs:_0x33b453}=_0x187799;_0x33b453[_0x5502ba(0x212)](_0x5c45ce=>{const _0x25735e=_0x5502ba;var _0x543296;const _0x4097a9=this[_0x25735e(0x296)][_0x25735e(0x226)](_0x5c45ce);_0x4097a9&&(_0x4097a9[_0x25735e(0x238)](_0x20fb50),(_0x543296=this['_ensureSubject'](_0x5c45ce))==null||_0x543296[_0x25735e(0x2a2)](_0x4097a9[_0x25735e(0x286)]===0x0?_0x2c453f['NO_OTHER_CLIENTS_EDITING']:_0x2c453f[_0x25735e(0x14f)]));}),this[_0x5502ba(0xe9)](_0x20fb50);}['_handleHeartbeatEvent'](_0x256150){const _0x3dd6c4=_0x1ce192;this[_0x3dd6c4(0x28b)](_0x256150[_0x3dd6c4(0x2c7)]);}[_0x1ce192(0x1ed)](_0x9477dc){const _0x566f50=_0x1ce192;localStorage[_0x566f50(0x19c)](nt,JSON[_0x566f50(0x1ab)](_0x9477dc));}[_0x1ce192(0x24c)](){const _0x4f3968=_0x1ce192;this[_0x4f3968(0x1dd)]=window[_0x4f3968(0x1dc)](()=>{const _0x39f3bc=_0x4f3968;this['_send']({'type':0x2,'memberID':this[_0x39f3bc(0x21b)]});},it);}[_0x1ce192(0x26d)](_0x2f931d){const _0xb5af1f=_0x1ce192;return this[_0xb5af1f(0x194)][_0xb5af1f(0x27f)](_0x2f931d)||this['_unitStatus']['set'](_0x2f931d,new _0x5cf3b0(_0x2c453f[_0xb5af1f(0x2be)])),this[_0xb5af1f(0x194)][_0xb5af1f(0x226)](_0x2f931d);}}var Mt=(_0x85a5b1=>(_0x85a5b1[_0x85a5b1[_0x1ce192(0x204)]=0x0]=_0x1ce192(0x204),_0x85a5b1[_0x85a5b1['OK']=0x1]='OK',_0x85a5b1[_0x85a5b1[_0x1ce192(0x133)]=0x2]=_0x1ce192(0x133),_0x85a5b1[_0x85a5b1[_0x1ce192(0x15a)]=0x3]=_0x1ce192(0x15a),_0x85a5b1[_0x85a5b1[_0x1ce192(0x294)]=0x4]=_0x1ce192(0x294),_0x85a5b1[_0x85a5b1[_0x1ce192(0x290)]=0x5]=_0x1ce192(0x290),_0x85a5b1[_0x85a5b1[_0x1ce192(0x2ce)]=0x6]='ALREADY_EXISTS',_0x85a5b1[_0x85a5b1[_0x1ce192(0x231)]=0x7]=_0x1ce192(0x231),_0x85a5b1[_0x85a5b1[_0x1ce192(0x13a)]=0x8]=_0x1ce192(0x13a),_0x85a5b1[_0x85a5b1[_0x1ce192(0x11a)]=0x9]=_0x1ce192(0x11a),_0x85a5b1[_0x85a5b1[_0x1ce192(0x190)]=0xa]=_0x1ce192(0x190),_0x85a5b1[_0x85a5b1[_0x1ce192(0x113)]=0x1389]=_0x1ce192(0x113),_0x85a5b1[_0x85a5b1[_0x1ce192(0x28a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x85a5b1[_0x85a5b1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1ce192(0x17e),_0x85a5b1[_0x85a5b1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1ce192(0x289),_0x85a5b1[_0x85a5b1['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x85a5b1[_0x85a5b1['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x85a5b1[_0x85a5b1[_0x1ce192(0x124)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x85a5b1[_0x85a5b1[_0x1ce192(0x2a6)]=0x1b5c]=_0x1ce192(0x2a6),_0x85a5b1[_0x85a5b1['APPLY_DUPLICATED']=0x1b5d]=_0x1ce192(0x200),_0x85a5b1[_0x85a5b1[_0x1ce192(0x25b)]=0x1f41]=_0x1ce192(0x25b),_0x85a5b1[_0x85a5b1[_0x1ce192(0x20c)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x85a5b1[_0x85a5b1[_0x1ce192(0x1a0)]=0x232a]=_0x1ce192(0x1a0),_0x85a5b1[_0x85a5b1[_0x1ce192(0x1da)]=0x232b]=_0x1ce192(0x1da),_0x85a5b1[_0x85a5b1[_0x1ce192(0x12b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x85a5b1[_0x85a5b1[_0x1ce192(0x146)]=0x232d]=_0x1ce192(0x146),_0x85a5b1[_0x85a5b1[_0x1ce192(0x239)]=0x2711]=_0x1ce192(0x239),_0x85a5b1[_0x85a5b1[_0x1ce192(0x182)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x85a5b1[_0x85a5b1['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x85a5b1[_0x85a5b1[_0x1ce192(0x167)]=0x2714]=_0x1ce192(0x167),_0x85a5b1[_0x85a5b1[_0x1ce192(0x249)]=0x271a]=_0x1ce192(0x249),_0x85a5b1[_0x85a5b1['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x85a5b1[_0x85a5b1[_0x1ce192(0x269)]=0x271c]=_0x1ce192(0x269),_0x85a5b1[_0x85a5b1['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1ce192(0x14a),_0x85a5b1[_0x85a5b1['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1ce192(0x1cf),_0x85a5b1[_0x85a5b1[_0x1ce192(0x192)]=0x271f]=_0x1ce192(0x192),_0x85a5b1[_0x85a5b1[_0x1ce192(0x1e8)]=0x2af9]=_0x1ce192(0x1e8),_0x85a5b1[_0x85a5b1[_0x1ce192(0x2c9)]=0x2ee1]=_0x1ce192(0x2c9),_0x85a5b1[_0x85a5b1[_0x1ce192(0x179)]=0x2ee2]='INVALID_INVITE_CODE',_0x85a5b1[_0x85a5b1['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1ce192(0x2c4),_0x85a5b1[_0x85a5b1['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1ce192(0x1ca),_0x85a5b1[_0x85a5b1[_0x1ce192(0x1c5)]=0x2ee5]=_0x1ce192(0x1c5),_0x85a5b1[_0x85a5b1[_0x1ce192(0x253)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x85a5b1[_0x85a5b1[_0x1ce192(0x1b1)]=0x32ca]=_0x1ce192(0x1b1),_0x85a5b1[_0x85a5b1[_0x1ce192(0x2a9)]=0x32cb]=_0x1ce192(0x2a9),_0x85a5b1[_0x85a5b1[_0x1ce192(0x17f)]=-0x1]=_0x1ce192(0x17f),_0x85a5b1))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x108bd3,_0x5a6ed7,_0x1585bc,_0x309ef0)=>{const _0x1ec8a3=_0x1ce192;for(var _0x1c13f2=_0x309ef0>0x1?void 0x0:_0x309ef0?pn(_0x5a6ed7,_0x1585bc):_0x5a6ed7,_0x423b03=_0x108bd3[_0x1ec8a3(0x15d)]-0x1,_0x14dab4;_0x423b03>=0x0;_0x423b03--)(_0x14dab4=_0x108bd3[_0x423b03])&&(_0x1c13f2=_0x14dab4(_0x1c13f2)||_0x1c13f2);return _0x1c13f2;},be=(_0x6a38ad,_0x14cbbf)=>(_0x1e878c,_0x57f047)=>_0x14cbbf(_0x1e878c,_0x57f047,_0x6a38ad);let rt=class extends _0x144de6{constructor(_0x53c1f1,_0x1fcd75,_0x1c1ba8){const _0x44ca0c=_0x1ce192;super(),this[_0x44ca0c(0x1df)]=_0x53c1f1,this[_0x44ca0c(0x29c)]=_0x1fcd75,this[_0x44ca0c(0xe8)]=_0x1c1ba8;}async['runOnServer'](_0x52606b,_0x9a6e54,_0xc60143,..._0x36657e){const _0x4e2e61=_0x1ce192;var _0xa66240,_0x32fb63,_0xc24a88,_0x4eb13d;const _0x24b88e=this[_0x4e2e61(0x1df)][_0x4e2e61(0x23e)]();if(!_0x24b88e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x80d8e0=((_0xa66240=this[_0x4e2e61(0xe8)][_0x4e2e61(0x1d5)](_0x4f8726))!=null?_0xa66240:_0x4c4402)+'/'+_0x52606b+_0x4e2e61(0x1b8)+_0x9a6e54,_0x41bb9f=new URL(window[_0x4e2e61(0x2b3)][_0x4e2e61(0x214)]),_0x568645={'scriptId':_0x52606b,'runId':(_0x32fb63=_0x41bb9f['searchParams'][_0x4e2e61(0x226)]('runId'))!=null?_0x32fb63:'','function':_0x9a6e54,'unitId':_0x24b88e['getUnitId'](),'argsOfFunction':JSON[_0x4e2e61(0x1ab)](_0x36657e),'invokeId':(_0xc24a88=_0xc60143[_0x4e2e61(0x1c8)])!=null?_0xc24a88:'','executionId':(_0x4eb13d=_0xc60143[_0x4e2e61(0x27b)])!=null?_0x4eb13d:''};try{const _0x8bb8aa=await this[_0x4e2e61(0x29c)][_0x4e2e61(0xe4)](_0x80d8e0,{'body':_0x568645});return _0x8bb8aa['body']['error']&&_0x8bb8aa[_0x4e2e61(0x25a)]['error'][_0x4e2e61(0x109)]!==Mt['OK']?_0x4e2e61(0x1ac):_0x8bb8aa[_0x4e2e61(0x25a)][_0x4e2e61(0x220)];}catch{return _0x4e2e61(0x1ac);}}};rt=Cn([be(0x0,_0x4179c4),be(0x1,_0x239987(_0x52a080)),be(0x2,_0x565b71)],rt);function _0x1f26(_0x141110,_0x26524b){const _0x2e5a3f=_0x2e5a();return _0x1f26=function(_0x1f2616,_0x3398c4){_0x1f2616=_0x1f2616-0xdb;let _0x10779f=_0x2e5a3f[_0x1f2616];return _0x10779f;},_0x1f26(_0x141110,_0x26524b);}export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x18a473=_0xdd5c;function _0x4b61(){const _0x397e3a=['50970xqwxjf','4436870xllnkG','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','1115584NkDbxb','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2712nuTKNE','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','440mNpxLr','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','425qysRHk','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Synced','2004968BvEFhZ','508omBwJR','564831QrvVhh','7fjSfUV'];_0x4b61=function(){return _0x397e3a;};return _0x4b61();}(function(_0x47cb14,_0x3d3c24){const _0x5ddc97=_0xdd5c,_0x6ad77a=_0x47cb14();while(!![]){try{const _0x138a51=-parseInt(_0x5ddc97(0xa4))/0x1*(-parseInt(_0x5ddc97(0xaf))/0x2)+-parseInt(_0x5ddc97(0xa7))/0x3+parseInt(_0x5ddc97(0xab))/0x4+parseInt(_0x5ddc97(0xb4))/0x5*(parseInt(_0x5ddc97(0xad))/0x6)+-parseInt(_0x5ddc97(0xa6))/0x7*(-parseInt(_0x5ddc97(0xa3))/0x8)+-parseInt(_0x5ddc97(0xa5))/0x9+-parseInt(_0x5ddc97(0xa8))/0xa;if(_0x138a51===_0x3d3c24)break;else _0x6ad77a['push'](_0x6ad77a['shift']());}catch(_0x4b2483){_0x6ad77a['push'](_0x6ad77a['shift']());}}}(_0x4b61,0x26265));const e={'collab-client':{'tooltip':{'reconnect':_0x18a473(0xb2)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x18a473(0xb1),'synced':_0x18a473(0xb7),'syncing':'Syncing...','offline':_0x18a473(0xb0)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x18a473(0xac),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x18a473(0xae)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x18a473(0xaa),'content':_0x18a473(0xb5)},'collaboration':{'single-unit':{'warning':_0x18a473(0xb3)},'closeRoom':_0x18a473(0xa9)},'auth':{'needGotoLoginAlert':_0x18a473(0xb6)}};function _0xdd5c(_0x5e08e6,_0x4d5513){const _0x4b610c=_0x4b61();return _0xdd5c=function(_0xdd5c81,_0x2bf768){_0xdd5c81=_0xdd5c81-0xa3;let _0x3771b8=_0x4b610c[_0xdd5c81];return _0x3771b8;},_0xdd5c(_0x5e08e6,_0x4d5513);}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2c63(_0x79efe9,_0x25a883){const _0x427a99=_0x427a();return _0x2c63=function(_0x2c633f,_0x4d4017){_0x2c633f=_0x2c633f-0x1e5;let _0x3b2829=_0x427a99[_0x2c633f];return _0x3b2829;},_0x2c63(_0x79efe9,_0x25a883);}const _0x4a338a=_0x2c63;(function(_0x212e37,_0x4b6af7){const _0x53cfb1=_0x2c63,_0x3eb949=_0x212e37();while(!![]){try{const _0xe7e9b9=-parseInt(_0x53cfb1(0x1f1))/0x1+-parseInt(_0x53cfb1(0x1fd))/0x2*(parseInt(_0x53cfb1(0x1f9))/0x3)+-parseInt(_0x53cfb1(0x1eb))/0x4*(-parseInt(_0x53cfb1(0x1e6))/0x5)+-parseInt(_0x53cfb1(0x1f8))/0x6*(-parseInt(_0x53cfb1(0x1f5))/0x7)+parseInt(_0x53cfb1(0x1f3))/0x8*(parseInt(_0x53cfb1(0x1e7))/0x9)+parseInt(_0x53cfb1(0x1f0))/0xa*(parseInt(_0x53cfb1(0x1ff))/0xb)+-parseInt(_0x53cfb1(0x1fe))/0xc;if(_0xe7e9b9===_0x4b6af7)break;else _0x3eb949['push'](_0x3eb949['shift']());}catch(_0x3a8522){_0x3eb949['push'](_0x3eb949['shift']());}}}(_0x427a,0x8b428));function _0x427a(){const _0x221f87=['پرونده\x20محلی','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','1676436MLHZAC','همگام\x20سازی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی...','10OLqsUe','36813xvXzAM','تداخل\x20همکاری','8thoiDQ','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','14jNpRTk','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','2158026SXOsCm','3MoDxEJ','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','خطای\x20اعتبارسنجی','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','847346OPBHkb','22470228frEzNr','4770249auYvnp','تداخل\x20ویرایش','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','10ugoyuX','8209746WAuyOS'];_0x427a=function(){return _0x221f87;};return _0x427a();}const o={'collab-client':{'tooltip':{'reconnect':_0x4a338a(0x1fa)}},'collabStatus':{'fetchMiss':_0x4a338a(0x1f4),'conflict':_0x4a338a(0x200),'notCollab':_0x4a338a(0x1e8),'synced':_0x4a338a(0x1ec),'syncing':_0x4a338a(0x1ef),'offline':_0x4a338a(0x1fc)},'session':{'connection-failed':_0x4a338a(0x1f6),'will-retry':_0x4a338a(0x1e9),'room-full':_0x4a338a(0x202),'collaboration-timeout':_0x4a338a(0x1ee)},'conflict':{'title':_0x4a338a(0x1f2),'content':_0x4a338a(0x1f7)},'permission':{'title':_0x4a338a(0x1fb),'content':_0x4a338a(0x1e5)},'collaboration':{'single-unit':{'warning':_0x4a338a(0x201)},'closeRoom':_0x4a338a(0x1ea)},'auth':{'needGotoLoginAlert':_0x4a338a(0x1ed)}};export{o as default};
|