@univerjs-pro/collaboration-client-ui 0.12.3-experimental.20251204-1549a8e → 0.12.3-experimental.20251205-e439e48

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.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0xc538c3=_0x3d2b;(function(_0x14d4a4,_0x3bebe7){const _0x240146=_0x3d2b,_0x2651b8=_0x14d4a4();while(!![]){try{const _0x18303e=-parseInt(_0x240146(0x20f))/0x1+parseInt(_0x240146(0x11c))/0x2+parseInt(_0x240146(0x1ae))/0x3+parseInt(_0x240146(0x105))/0x4*(-parseInt(_0x240146(0x134))/0x5)+parseInt(_0x240146(0x2c2))/0x6*(parseInt(_0x240146(0x2b6))/0x7)+-parseInt(_0x240146(0x1af))/0x8*(parseInt(_0x240146(0x1b7))/0x9)+-parseInt(_0x240146(0x1cd))/0xa*(parseInt(_0x240146(0xf5))/0xb);if(_0x18303e===_0x3bebe7)break;else _0x2651b8['push'](_0x2651b8['shift']());}catch(_0x14785b){_0x2651b8['push'](_0x2651b8['shift']());}}}(_0x1927,0x39539));var Yt=Object[_0xc538c3(0x2ea)],Wt=(_0x47f3b0,_0x20aa84,_0x123799)=>_0x20aa84 in _0x47f3b0?Yt(_0x47f3b0,_0x20aa84,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x123799}):_0x47f3b0[_0x20aa84]=_0x123799,_=(_0x3bb2cc,_0x327b8c,_0xe3bccc)=>Wt(_0x3bb2cc,typeof _0x327b8c!=_0xc538c3(0x331)?_0x327b8c+'':_0x327b8c,_0xe3bccc);import{jsx as _0x2fba17,jsxs as _0x5a35ef}from'react/jsx-runtime';import{CollaborationStatus as _0x288933,CollaborationSessionService as _0x154591,CollaborationController as _0x585689,DataLoaderService as _0x2bb73c,MemberService as _0x1e787f,SessionStatus as _0x5de9be,ILocalCacheService as _0x3f506f,CollaborationUIEventService as _0x420c4a,CollaborationUIEventId as _0x3766ca,DocCollaborationEntity as _0x36cefa,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x39c4ac,getLocalCacheKey as _0x515ded,LOCAL_CACHE_INTERVAL as _0x199da9,LOCAL_CACHE_INTERVAL_KEY as _0x385c29,UniverCollaborationClientPlugin as _0x207135,CollaborationSocketService as _0x2285b4,DEFAULT_WS_SESSION_TICKET_URL as _0x12a809,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xc291cc,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3a711d,UnitStatus as _0x43b022}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x1712bf,IUniverInstanceService as _0x322908,Inject as _0x510c8b,Injector as _0xdfb0d7,Disposable as _0x141f9b,createIdentifier as _0x17d7ed,ILogService as _0x31033c,ICommandService as _0x3b9f81,Optional as _0x24d44b,RxDisposable as _0x1533b3,Workbook as _0x1b4a94,DOC_RANGE_TYPE as _0x18ec88,debounce as _0x4ea3a1,Rectangle as _0xf1b9e0,DisposableCollection as _0x5465cf,toDisposable as _0x50aa11,UniverInstanceType as _0xc97ca9,generateRandomId as _0x11693c,COLORS as _0x11ddec,ColorKit as _0x414742,ThemeService as _0x1b304e,fromEventSubject as _0x5a5e8c,Tools as _0x18b1b1,CommandType as _0x13d17a,IConfigService as _0x1ef39d,CanceledError as _0x31a887,isFormulaString as _0x320513,isFormulaId as _0x4ef6a3,ILocalStorageService as _0x45d5de,DependentOn as _0x411112,Plugin as _0x18401c,merge as _0x2129c3,registerDependencies as _0x197ca3,mergeOverrideWithDependencies as _0x5ef76c,touchDependencies as _0x27f6a5}from'@univerjs/core';import{useObservable as _0x43b65a,useDependency as _0x883e4,IUIPartsService as _0x112bcb,BuiltInUIPart as _0x2aefe1,connectInjector as _0x560354,IBeforeCloseService as _0x66abe,IMessageService as _0x28f98f,INotificationService as _0x3942d9}from'@univerjs/ui';import{BehaviorSubject as _0x301e41,switchMap as _0xe419a7,of as _0x4f3499,takeUntil as _0xaf9b86,debounceTime as _0x33a061,Subject as _0x5ac833,filter as _0x2a953d,merge as _0x20f2ea,combineLatest as _0xdb4aa2,fromEvent as _0x456ba1,shareReplay as _0x24e99e,mapTo as _0x4394a7,distinctUntilChanged as _0x1384d9}from'rxjs';import{Tooltip as _0x1d1daa,clsx as _0x54f523,MessageType as _0x5d4f2e}from'@univerjs/design';import{useRef as _0x53f499,createElement as _0x5300a9,forwardRef as _0x5ead7b,useCallback as _0x13af83}from'react';import{IRemoteInstanceService as _0x1f8209}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0xb03ae5,RefRangeService as _0x3bf278,SetSelectionsOperation as _0x27b320,SheetsSelectionsService as _0x20df53,EffectRefRangId as _0x55a7ef,handleIRemoveRow as _0x3aa1cd,handleIRemoveCol as _0x405b4b,handleMoveRange as _0x287e28,handleInsertRow as _0x357ee9,handleInsertRangeMoveRight as _0x27943c,handleInsertRangeMoveDown as _0x1db9da,handleInsertCol as _0x3b7ae3,handleDeleteRangeMoveUp as _0x34362a,handleDeleteRangeMoveLeft as _0x57c8e9,runRefRangeMutations as _0xd9cafd}from'@univerjs/sheets';import{Shape as _0x466330,Rect as _0x1362c9,getColor as _0x5a983e,RegularPolygon as _0x5d3053,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xb99d9c,Vector2 as _0x1be6c8,SHEET_VIEWPORT_KEY as _0x1498a6,IRenderManagerService as _0x1f2034}from'@univerjs/engine-render';import{HTTPService as _0x3d0ff2,ISocketService as _0x40b10a,WebSocketService as _0x17c392}from'@univerjs/network';import{IDocClipboardService as _0x153ae7,NodePositionConvertToCursor as _0x16c042,NodePositionConvertToRectRange as _0x266b31,TEXT_RANGE_LAYER_INDEX as _0x2f3cb2,SetDocZoomRatioOperation as _0x49b2f6,DocIMEInputManagerService as _0xfd378,DocStateChangeManagerService as _0x41950e}from'@univerjs/docs-ui';import{IImageIoService as _0x57a623}from'@univerjs/drawing';import{ITransformService as _0x528d6a,CollaborationEvent as _0x83c45f,isTransformMutationFailure as _0x53c9de,isTransformMutationsWithChangesetSuccess as _0x250e22,RevisionService as _0x2ac638,ISnapshotServerService as _0x48e4b3}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x59ca28,RichTextEditingMutation as _0x258ab7,DocSelectionManagerService as _0x4fe258,DocSkeletonManagerService as _0x36fd1b}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x37b3ec,serializeRangeWithSheet as _0x401dc2,FormulaExecuteStageType as _0x3bf0fa,FormulaExecutedStateType as _0x564df8,SetFormulaCalculationStartMutation as _0x4fb32c,SetFormulaCalculationNotificationMutation as _0x4e52b9}from'@univerjs/engine-formula';import{map as _0x20d3ce,filter as _0x33956c,throttleTime as _0x2d064c,takeUntil as _0x7902b8,switchMap as _0xdf28dd}from'rxjs/operators';import{SheetSkeletonManagerService as _0xb50a4,getCoordByCell as _0x10b5f8,getSheetObject as _0x2345a3}from'@univerjs/sheets-ui';function Ge({ref:_0x332be9,..._0x3e4c22}){const _0xc6e8bc=_0xc538c3,{icon:_0x39c206,id:_0xb290d2,className:_0x5bb881,extend:_0x229862,..._0x3cc7a0}=_0x3e4c22,_0x211f42=('univerjs-icon\x20univerjs-icon-'+_0xb290d2+'\x20'+(_0x5bb881||''))[_0xc6e8bc(0x349)](),_0x1ece13=_0x53f499('_'+vi());return At(_0x39c206,''+_0xb290d2,{'defIds':_0x39c206[_0xc6e8bc(0x225)],'idSuffix':_0x1ece13[_0xc6e8bc(0x221)]},{'ref':_0x332be9,'className':_0x211f42,..._0x3cc7a0},_0x229862);}function At(_0x179a6d,_0x2dcb52,_0x5ece53,_0x43cb5c,_0x59a4c6){const _0x5aed48=_0xc538c3;return _0x5300a9(_0x179a6d['tag'],{'key':_0x2dcb52,...gi(_0x179a6d,_0x5ece53,_0x59a4c6),..._0x43cb5c},(Ei(_0x179a6d,_0x5ece53)[_0x5aed48(0x2a2)]||[])['map']((_0x57c83f,_0x2378c8)=>At(_0x57c83f,_0x2dcb52+'-'+_0x179a6d[_0x5aed48(0x218)]+'-'+_0x2378c8,_0x5ece53,void 0x0,_0x59a4c6)));}function _0x3d2b(_0xa31812,_0x26f586){_0xa31812=_0xa31812-0xf5;const _0x192734=_0x1927();let _0x3d2bda=_0x192734[_0xa31812];return _0x3d2bda;}function gi(_0x5f0a4a,_0x1a2627,_0x5668ee){const _0x26d220=_0xc538c3,_0x276090={..._0x5f0a4a[_0x26d220(0x17a)]};_0x5668ee!=null&&_0x5668ee[_0x26d220(0x21e)]&&_0x276090[_0x26d220(0x16d)]==='colorChannel1'&&(_0x276090[_0x26d220(0x16d)]=_0x5668ee[_0x26d220(0x21e)]),_0x5f0a4a[_0x26d220(0x218)]===_0x26d220(0x29a)&&_0x276090['id']&&(_0x276090['id']=_0x276090['id']+_0x1a2627[_0x26d220(0x231)]),Object[_0x26d220(0x320)](_0x276090)[_0x26d220(0x1d1)](([_0x4e6046,_0x411c8e])=>{const _0x7821c2=_0x26d220;_0x4e6046===_0x7821c2(0x29a)&&typeof _0x411c8e==_0x7821c2(0x1d7)&&(_0x276090[_0x4e6046]=_0x411c8e[_0x7821c2(0x328)](/url\(#(.*)\)/,_0x7821c2(0x1dd)+_0x1a2627['idSuffix']+')'));});const {defIds:_0x37ae3e}=_0x1a2627;return!_0x37ae3e||_0x37ae3e['length']===0x0||(_0x5f0a4a[_0x26d220(0x218)]===_0x26d220(0x31a)&&_0x276090[_0x26d220(0x26c)]&&(_0x276090['xlink:href']=_0x276090['xlink:href']+_0x1a2627[_0x26d220(0x231)]),Object[_0x26d220(0x320)](_0x276090)['forEach'](([_0x5a7416,_0x3c4c57])=>{const _0x263896=_0x26d220;typeof _0x3c4c57=='string'&&(_0x276090[_0x5a7416]=_0x3c4c57[_0x263896(0x328)](/url\(#(.*)\)/,_0x263896(0x1dd)+_0x1a2627[_0x263896(0x231)]+')'));})),_0x276090;}function Ei(_0x56c625,_0x151a09){const _0x5372db=_0xc538c3;var _0x3ea7e8;const {defIds:_0xb32ffa}=_0x151a09;return!_0xb32ffa||_0xb32ffa[_0x5372db(0x20c)]===0x0?_0x56c625:_0x56c625[_0x5372db(0x218)]===_0x5372db(0x1c8)&&((_0x3ea7e8=_0x56c625[_0x5372db(0x2a2)])!=null&&_0x3ea7e8[_0x5372db(0x20c)])?{..._0x56c625,'children':_0x56c625[_0x5372db(0x2a2)][_0x5372db(0x1d9)](_0x272604=>typeof _0x272604[_0x5372db(0x17a)]['id']==_0x5372db(0x1d7)&&_0xb32ffa&&_0xb32ffa[_0x5372db(0x174)](_0x272604[_0x5372db(0x17a)]['id'])?{..._0x272604,'attrs':{..._0x272604[_0x5372db(0x17a)],'id':_0x272604[_0x5372db(0x17a)]['id']+_0x151a09[_0x5372db(0x231)]}}:_0x272604)}:_0x56c625;}function vi(){const _0xbb73f2=_0xc538c3;return Math[_0xbb73f2(0x13f)]()['toString'](0x24)['substring'](0x2,0x8);}Ge[_0xc538c3(0x246)]=_0xc538c3(0x161);const pi={'tag':_0xc538c3(0x2d4),'attrs':{'xmlns':_0xc538c3(0x15d),'fill':_0xc538c3(0x311),'viewBox':_0xc538c3(0x30a),'width':_0xc538c3(0x12f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xc538c3(0x30e)},'children':[{'tag':_0xc538c3(0x170),'attrs':{'stroke':_0xc538c3(0xf6),'d':_0xc538c3(0x257),'strokeLinecap':'round','strokeLinejoin':_0xc538c3(0x2d5),'strokeWidth':1.2}}]},{'tag':_0xc538c3(0x1c8),'attrs':{},'children':[{'tag':_0xc538c3(0x319),'attrs':{'id':_0xc538c3(0x117)},'children':[{'tag':_0xc538c3(0x170),'attrs':{'fill':_0xc538c3(0x2e2),'d':_0xc538c3(0x296)}}]}]}],'defIds':[_0xc538c3(0x117)]},Pt=_0x5ead7b(function(_0xa738f5,_0x3abb2d){const _0x314b39=_0xc538c3;return _0x5300a9(Ge,Object['assign']({},_0xa738f5,{'id':_0x314b39(0x126),'ref':_0x3abb2d,'icon':pi}));});Pt[_0xc538c3(0x246)]=_0xc538c3(0x325);const Oi={'tag':_0xc538c3(0x2d4),'attrs':{'xmlns':_0xc538c3(0x15d),'fill':_0xc538c3(0x311),'viewBox':_0xc538c3(0x130),'width':_0xc538c3(0x12f),'height':_0xc538c3(0x12f)},'children':[{'tag':'g','attrs':{'clipPath':_0xc538c3(0x32b)},'children':[{'tag':'path','attrs':{'stroke':_0xc538c3(0xf6),'d':_0xc538c3(0x275),'strokeLinecap':'round','strokeLinejoin':_0xc538c3(0x2d5),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xc538c3(0x177)},'children':[{'tag':_0xc538c3(0x170),'attrs':{'fill':'white','d':_0xc538c3(0x296),'transform':_0xc538c3(0x2f8)}}]}]}],'defIds':[_0xc538c3(0x177)]},wt=_0x5ead7b(function(_0x5e47d9,_0x1b945a){const _0x294499=_0xc538c3;return _0x5300a9(Ge,Object[_0x294499(0x33a)]({},_0x5e47d9,{'id':_0x294499(0xff),'ref':_0x1b945a,'icon':Oi}));});wt['displayName']=_0xc538c3(0x1e4);function Ti(_0x43bc77){const _0x27ec32=_0xc538c3;switch(_0x43bc77){case _0x288933[_0x27ec32(0x343)]:return _0x27ec32(0x11d);case _0x288933[_0x27ec32(0x2b3)]:return _0x27ec32(0x239);case _0x288933[_0x27ec32(0x167)]:return _0x27ec32(0x1cb);case _0x288933[_0x27ec32(0x104)]:return _0x27ec32(0x120);case _0x288933['AWAITING']:case _0x288933[_0x27ec32(0x19e)]:return _0x27ec32(0x2c6);case _0x288933['SYNCED']:case _0x288933[_0x27ec32(0x2a7)]:return _0x27ec32(0x303);}}function Ci(_0x250d42){const _0x2eb78b=_0xc538c3,{status$:_0x97391}=_0x250d42,_0x1a8340=_0x43b65a(_0x97391,_0x288933[_0x2eb78b(0x104)]),_0xabde7f=_0x883e4(_0x1712bf),_0x143c93=_0x883e4(_0x154591),_0x536c39=_0x1a8340!==_0x288933['OFFLINE'],_0x3e8d74=_0xabde7f['t'](Ti(_0x1a8340)),_0x251e39=_0x536c39?_0x2fba17(wt,{}):_0x2fba17(Pt,{}),_0x3f06ed=_0x13af83(()=>{const _0x208ac0=_0x2eb78b;_0x536c39||_0x143c93[_0x208ac0(0x1b1)]();},[_0x536c39,_0x143c93]);function _0x2e6cad(){const _0x3cbb84=_0x2eb78b;return _0x5a35ef(_0x3cbb84(0x1c1),{'className':'univer-flex\x20univer-items-center','onClick':_0x3f06ed,'children':[_0x2fba17(_0x3cbb84(0x1c1),{'className':_0x54f523(_0x3cbb84(0x283),{'univer-text-green-500':_0x536c39,'univer-text-red-500':!_0x536c39}),'children':_0x251e39}),_0x2fba17(_0x3cbb84(0x1c1),{'className':_0x3cbb84(0x30f),'children':_0x3e8d74})]});}return _0x536c39?_0x2e6cad():_0x2fba17(_0x1d1daa,{'title':_0xabde7f['t'](_0x2eb78b(0x189)),'children':_0x2e6cad()});}var Ri=Object['getOwnPropertyDescriptor'],Di=(_0x9c072d,_0x1d0102,_0x2bcce3,_0x2f541a)=>{const _0x54ada7=_0xc538c3;for(var _0x58f399=_0x2f541a>0x1?void 0x0:_0x2f541a?Ri(_0x1d0102,_0x2bcce3):_0x1d0102,_0x4d0848=_0x9c072d[_0x54ada7(0x20c)]-0x1,_0x42b5f0;_0x4d0848>=0x0;_0x4d0848--)(_0x42b5f0=_0x9c072d[_0x4d0848])&&(_0x58f399=_0x42b5f0(_0x58f399)||_0x58f399);return _0x58f399;},se=(_0x2bcf27,_0x254568)=>(_0x4c2726,_0x3a6517)=>_0x254568(_0x4c2726,_0x3a6517,_0x2bcf27);let ae=class extends _0x141f9b{constructor(_0x41fc45,_0x17f102,_0x5791ad,_0x595b7c){const _0x1b4f2c=_0xc538c3;super(),_(this,_0x1b4f2c(0x23c),new _0x301e41(_0x288933[_0x1b4f2c(0x104)])),(this[_0x1b4f2c(0x1b2)]=_0x41fc45,this['_injector']=_0x17f102,this[_0x1b4f2c(0x16c)]=_0x5791ad,this['_uiPartsService']=_0x595b7c,this[_0x1b4f2c(0x202)](),this[_0x1b4f2c(0x18c)]());}[_0xc538c3(0x18c)](){const _0x3842c3=_0xc538c3;this['disposeWithMe'](this['_univerInstanceService'][_0x3842c3(0xf8)]['pipe'](_0xe419a7(()=>{const _0x115eac=_0x3842c3,_0x3cac9f=this[_0x115eac(0x1b2)][_0x115eac(0x2fa)]();return _0x3cac9f?this[_0x115eac(0x16c)][_0x115eac(0x108)](_0x3cac9f[_0x115eac(0x317)]()):_0x4f3499(null);}),_0xe419a7(_0xba8e79=>_0xba8e79?_0xba8e79[_0x3842c3(0x2e4)]:_0x4f3499(_0x288933[_0x3842c3(0x104)])))[_0x3842c3(0x237)](_0x217e36=>{const _0x4b146d=_0x3842c3;this[_0x4b146d(0x23c)][_0x4b146d(0x171)](_0x217e36);}));}[_0xc538c3(0x202)](){const _0x412f0d=_0xc538c3;this['disposeWithMe'](this['_uiPartsService'][_0x412f0d(0x12d)](_0x2aefe1['HEADER_MENU'],()=>_0x560354(Ni({'status$':this[_0x412f0d(0x23c)][_0x412f0d(0x270)]()}),this[_0x412f0d(0x26a)])));}};ae=Di([se(0x0,_0x322908),se(0x1,_0x510c8b(_0xdfb0d7)),se(0x2,_0x510c8b(_0x585689)),se(0x3,_0x112bcb)],ae);function Ni(_0x513c5d){const {status$:_0x44037b}=_0x513c5d;return function(){return _0x2fba17(Ci,{'status$':_0x44037b});};}const yt=_0x17d7ed(_0xc538c3(0x155));var bi=Object[_0xc538c3(0x305)],Li=(_0x54cab6,_0x423ecb,_0x1784ef,_0x41101d)=>{for(var _0x51802f=_0x41101d>0x1?void 0x0:_0x41101d?bi(_0x423ecb,_0x1784ef):_0x423ecb,_0x3fecdf=_0x54cab6['length']-0x1,_0x3042ea;_0x3fecdf>=0x0;_0x3fecdf--)(_0x3042ea=_0x54cab6[_0x3fecdf])&&(_0x51802f=_0x3042ea(_0x51802f)||_0x51802f);return _0x51802f;},K=(_0x4921b4,_0x384314)=>(_0x318b5c,_0x154db1)=>_0x384314(_0x318b5c,_0x154db1,_0x4921b4);let ce=class extends _0x1533b3{constructor(_0x251e4a,_0x22a5ab,_0x1db41b,_0x578dc4,_0x54571b){const _0x3e3edb=_0xc538c3;super(),this['_urlService']=_0x251e4a,this['_logService']=_0x22a5ab,this['_commandService']=_0x1db41b,this[_0x3e3edb(0x136)]=_0x578dc4,_0x54571b?_0x54571b==null||_0x54571b[_0x3e3edb(0x32e)]()[_0x3e3edb(0x307)](()=>this[_0x3e3edb(0x16b)]()):(this['_logService'][_0x3e3edb(0x100)](_0x3e3edb(0x310),_0x3e3edb(0x2be)),this['_init']());}async[_0xc538c3(0x16b)](){const _0xbc84de=_0xc538c3,_0x2a8621=this[_0xbc84de(0x141)][_0xbc84de(0x153)](_0xbc84de(0x19f)),_0x3839cf=this[_0xbc84de(0x141)]['getParam'](_0xbc84de(0x122)),_0x5589da=this['_urlService']['getParam'](_0xbc84de(0x22c));if(!_0x2a8621||!_0x3839cf){this[_0xbc84de(0x324)][_0xbc84de(0x100)](_0xbc84de(0x310),_0xbc84de(0x2d9));return;}const _0x4c7cc9=await this[_0xbc84de(0x136)][_0xbc84de(0x2bf)](_0x2a8621,Number(_0x3839cf),_0x5589da);_0x4c7cc9&&_0x4c7cc9 instanceof _0x1b4a94&&this[_0xbc84de(0x27a)](_0x4c7cc9);}async[_0xc538c3(0x27a)](_0x5b64c7){const _0x32b1cd=_0xc538c3;await this[_0x32b1cd(0x308)](_0x5b64c7),_0x5b64c7['activeSheet$'][_0x32b1cd(0x248)](_0xaf9b86(this[_0x32b1cd(0x15b)]))[_0x32b1cd(0x237)](_0x4dbf65=>{const _0x3ceb73=_0x32b1cd;_0x4dbf65&&this[_0x3ceb73(0x1e8)](_0x4dbf65);}),this[_0x32b1cd(0x141)]['urlChange$']['pipe'](_0xaf9b86(this[_0x32b1cd(0x15b)]))[_0x32b1cd(0x237)](()=>this[_0x32b1cd(0x308)](_0x5b64c7));}[_0xc538c3(0x1e8)](_0x5d8ab8,_0x16dc76=!0x1){const _0x20c88f=_0xc538c3,_0x296b67=this[_0x20c88f(0x141)]['getParam'](_0x20c88f(0x22c));_0x5d8ab8[_0x20c88f(0x10d)]()!==_0x296b67&&this['_urlService']['setParam'](_0x20c88f(0x22c),_0x5d8ab8[_0x20c88f(0x10d)](),_0x16dc76);}async[_0xc538c3(0x308)](_0x56c358){const _0x4b6890=_0xc538c3;var _0x137678;const _0x59f5aa=this[_0x4b6890(0x141)]['getParam']('subunit');if(!_0x59f5aa||!_0x56c358[_0x4b6890(0x11b)](_0x59f5aa)){const _0x26e7da=_0x56c358[_0x4b6890(0x2d2)]()[0x0],_0x3b65da=_0x56c358[_0x4b6890(0x11b)](_0x26e7da);if(!_0x3b65da)return;this[_0x4b6890(0x1e8)](_0x3b65da,!0x0),await this['_commandService'][_0x4b6890(0x32d)](_0xb03ae5['id'],{'unitId':_0x56c358[_0x4b6890(0x317)](),'subUnitId':_0x26e7da});return;}((_0x137678=_0x56c358[_0x4b6890(0x321)]())==null?void 0x0:_0x137678[_0x4b6890(0x10d)]())!==_0x59f5aa&&await this[_0x4b6890(0x337)][_0x4b6890(0x32d)](_0xb03ae5['id'],{'unitId':_0x56c358[_0x4b6890(0x317)](),'subUnitId':_0x59f5aa});}};ce=Li([K(0x0,yt),K(0x1,_0x31033c),K(0x2,_0x3b9f81),K(0x3,_0x510c8b(_0x2bb73c)),K(0x4,_0x24d44b(_0x1f8209))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x498b47,_0x2d4f99,_0x20ef5b,_0x1fe1ff)=>{for(var _0xd58d07=_0x1fe1ff>0x1?void 0x0:_0x1fe1ff?Ui(_0x2d4f99,_0x20ef5b):_0x2d4f99,_0x3c04d3=_0x498b47['length']-0x1,_0x4b39df;_0x3c04d3>=0x0;_0x3c04d3--)(_0x4b39df=_0x498b47[_0x3c04d3])&&(_0xd58d07=_0x4b39df(_0xd58d07)||_0xd58d07);return _0xd58d07;},rt=(_0x5be6d5,_0x4eb879)=>(_0x580252,_0x337a7b)=>_0x4eb879(_0x580252,_0x337a7b,_0x5be6d5);let $e=class extends _0x1533b3{constructor(_0x522567,_0x52e13c){const _0x36527a=_0xc538c3;super(),this['_docClipboardService']=_0x522567,this['_imageIoService']=_0x52e13c,this[_0x36527a(0x16b)]();}[_0xc538c3(0x16b)](){const _0x40b626=_0xc538c3,_0x56e78c=this;this[_0x40b626(0x247)](this[_0x40b626(0x30b)]['addClipboardHook']({'onBeforePasteImage':async _0x2bed01=>{const _0x308be4=_0x40b626,_0x4b4a3e=await _0x56e78c[_0x308be4(0x2c1)]['saveImage'](_0x2bed01);return _0x4b4a3e?{'source':_0x4b4a3e[_0x308be4(0x2e1)],'imageSourceType':_0x4b4a3e[_0x308be4(0x118)]}:null;}}));}};$e=Mi([rt(0x0,_0x153ae7),rt(0x1,_0x57a623)],$e);const ot=[_0xc538c3(0x1a4),'jiqing.500',_0xc538c3(0x1ff),'red.300',_0xc538c3(0x2f5),_0xc538c3(0x28c)];class Ke extends _0x141f9b{constructor(){const _0x1222df=_0xc538c3;super(...arguments),_(this,_0x1222df(0x173),new Map()),_(this,'_colorIndex',0x0);}[_0xc538c3(0x1d2)](_0x2286d5){const _0x4b63df=_0xc538c3;if(this['_assignedColors'][_0x4b63df(0x2cd)](_0x2286d5))return this[_0x4b63df(0x173)][_0x4b63df(0x123)](_0x2286d5);const _0x2b4f10=ot[this[_0x4b63df(0x22a)]];return this[_0x4b63df(0x22a)]=(this[_0x4b63df(0x22a)]+0x1)%ot[_0x4b63df(0x20c)],this['_assignedColors'][_0x4b63df(0x344)](_0x2286d5,_0x2b4f10),_0x2b4f10;}}function $t(_0x516a6a){const _0x519466=_0xc538c3;let _0x45d9fa='';for(const _0x2c6307 of _0x516a6a){const {startOffset:_0x1e18e1,endOffset:_0x23e126,isActive:_0x4ea43f,rangeType:_0x579efc,segmentId:_0x30cd6a,segmentPage:_0x25e7ba}=_0x2c6307;_0x45d9fa[_0x519466(0x20c)]&&(_0x45d9fa+=','),_0x45d9fa+=_0x1e18e1+':'+_0x23e126+':'+(_0x4ea43f?'1':'0')+':'+_0x579efc+':'+_0x30cd6a+':'+_0x25e7ba;}return _0x45d9fa;}function Ai(_0x390244){const _0x414a38=_0xc538c3,_0x19ed97=_0x390244['split'](','),_0x2a2bae=[];for(const _0x3ac54a of _0x19ed97){const [_0x591f2d,_0x5d8547,_0xabfd75,_0x17f692,_0x304a99,_0x5e105d]=_0x3ac54a[_0x414a38(0x259)](':');_0x2a2bae[_0x414a38(0x29e)]({'startOffset':Number(_0x591f2d),'endOffset':Number(_0x5d8547),'collapsed':_0x591f2d===_0x5d8547,'isActive':_0xabfd75==='1','rangeType':_0x17f692===_0x18ec88[_0x414a38(0x213)]?_0x18ec88[_0x414a38(0x213)]:_0x18ec88[_0x414a38(0x2f6)],'segmentId':typeof _0x304a99==_0x414a38(0x1d7)?String(_0x304a99):'','segmentPage':Number(_0x5e105d!=null?_0x5e105d:-0x1)});}return _0x2a2bae[_0x414a38(0x252)](_0x3214ba=>_0x3214ba['isActive'])||(_0x2a2bae[0x0][_0x414a38(0x264)]=!0x0),_0x2a2bae;}class ze extends _0x1533b3{constructor(){const _0x4e8aa5=_0xc538c3;super(...arguments),_(this,_0x4e8aa5(0x1d3),new _0x301e41(null)),_(this,_0x4e8aa5(0x29c),this[_0x4e8aa5(0x1d3)][_0x4e8aa5(0x270)]());}['syncEditingCollabCursor'](_0x1189c5){const _0x5a8491=_0xc538c3,{unitID:_0x167440,memberID:_0x1cedb,textRanges:_0x16244a}=_0x1189c5,_0x184156=$t(_0x16244a);if(_0x184156==='')return;const _0x12b3df={'unitID':_0x167440,'memberID':_0x1cedb,'selection':_0x184156};this[_0x5a8491(0x1d3)]['next'](_0x12b3df);}}var Pi=Object[_0xc538c3(0x305)],wi=(_0x37fd72,_0x964c39,_0x1fe463,_0x1d494c)=>{for(var _0x17a9eb=_0x1d494c>0x1?void 0x0:_0x1d494c?Pi(_0x964c39,_0x1fe463):_0x964c39,_0x248d58=_0x37fd72['length']-0x1,_0x592968;_0x248d58>=0x0;_0x248d58--)(_0x592968=_0x37fd72[_0x248d58])&&(_0x17a9eb=_0x592968(_0x17a9eb)||_0x17a9eb);return _0x17a9eb;},A=(_0x66b4f5,_0x1488e6)=>(_0x425795,_0x384079)=>_0x1488e6(_0x425795,_0x384079,_0x66b4f5);const yi=0x12c,$i=0x64;let xe=class extends _0x1533b3{constructor(_0x13aa73,_0x9da8e7,_0x56d4d1,_0x4c66a0,_0x5ce935,_0x3b1176,_0x5e117e,_0x300630,_0x278734){const _0x154559=_0xc538c3;super(),_(this,_0x154559(0x2e3),!0x1),_(this,_0x154559(0x16b),!0x1),_(this,_0x154559(0x286),new _0x301e41(new Map())),_(this,_0x154559(0x34b),this[_0x154559(0x286)][_0x154559(0x270)]()),_(this,_0x154559(0x2ab),new _0x301e41([])),_(this,'roomMembers$',this[_0x154559(0x2ab)][_0x154559(0x248)](_0x33a061(yi))),_(this,_0x154559(0x22f),_0x4ea3a1(_0x1213d4=>{const _0x1abeac=_0x154559,_0x1625bd={'eventID':_0x83c45f[_0x1abeac(0x236)],'data':{'unitID':this[_0x1abeac(0x2eb)],'memberID':this[_0x1abeac(0x1a2)][_0x1abeac(0x1b0)](),'selection':$t(_0x1213d4)}};this[_0x1abeac(0x1a2)][_0x1abeac(0x13d)](_0x1625bd,this[_0x1abeac(0x2eb)]);},$i)),(this[_0x154559(0x2eb)]=_0x13aa73,this[_0x154559(0x1a2)]=_0x9da8e7,this['_injector']=_0x56d4d1,this[_0x154559(0x15e)]=_0x4c66a0,this[_0x154559(0x31e)]=_0x5ce935,this['_syncEditingCollabCursorService']=_0x3b1176,this['_transformService']=_0x5e117e,this[_0x154559(0x1b2)]=_0x300630,this['_commandService']=_0x278734);}get['cursorInfo'](){const _0x2a01a6=_0xc538c3;return this[_0x2a01a6(0x286)][_0x2a01a6(0x2b2)]();}get[_0xc538c3(0x254)](){const _0x522cd6=_0xc538c3;return this[_0x522cd6(0x2ab)][_0x522cd6(0x2b2)]();}['dispose'](){const _0x4b638f=_0xc538c3;super['dispose'](),this['_cursorInfo$'][_0x4b638f(0x171)](new Map()),this[_0x4b638f(0x286)][_0x4b638f(0x144)](),this[_0x4b638f(0x2ab)][_0x4b638f(0x171)]([]),this['_roomMembers$'][_0x4b638f(0x144)]();}[_0xc538c3(0x22d)](){const _0xca074b=_0xc538c3;this[_0xca074b(0x16b)]||(this[_0xca074b(0x16b)]=!0x0,this[_0xca074b(0x1a2)][_0xca074b(0x16a)][_0xca074b(0x248)](_0xaf9b86(this[_0xca074b(0x15b)]))[_0xca074b(0x237)](_0x1e0996=>{const _0xfef558=_0xca074b;_0x1e0996===_0x5de9be[_0xfef558(0x157)]?this['_toggleOnline']():this[_0xfef558(0x281)]();}),this[_0xca074b(0x1a2)][_0xca074b(0x285)][_0xca074b(0x248)](_0xaf9b86(this[_0xca074b(0x15b)]))['subscribe'](_0x2dfb3d=>{const _0x3b0010=_0xca074b,_0x276ee1=_0x2dfb3d['eventID'];_0x276ee1===_0x83c45f[_0x3b0010(0x236)]&&this[_0x3b0010(0x27e)](_0x2dfb3d),_0x276ee1===_0x83c45f['USERS_LEAVE']&&this[_0x3b0010(0x111)](_0x2dfb3d);}),this['disposeWithMe'](this['_commandService'][_0xca074b(0x1c4)](_0x1f3df2=>{const _0x36515c=_0xca074b,_0x2baa47=_0x1f3df2[_0x36515c(0x34a)];_0x2baa47!=null&&this['_online']&&_0x1f3df2['id']===_0x59ca28['id']&&_0x2baa47[_0x36515c(0x216)]===this['unitID']&&_0x2baa47['isEditing']===!0x1&&_0x2baa47[_0x36515c(0x28b)]['length']>0x0&&this[_0x36515c(0x22f)](_0x2baa47['ranges']);})),this[_0xca074b(0x288)]['collabCursorState$'][_0xca074b(0x248)](_0xaf9b86(this['dispose$']))['subscribe'](_0x326e58=>{const _0x26289b=_0xca074b;if((_0x326e58==null?void 0x0:_0x326e58[_0x26289b(0x2eb)])!==this[_0x26289b(0x2eb)])return;const _0x2100db={'eventID':_0x83c45f[_0x26289b(0x236)],'data':_0x326e58};this['_onCursorUpdate'](_0x2100db);}),this[_0xca074b(0x247)](this['_commandService']['onCommandExecuted'](_0x4654f4=>{const _0x2926f9=_0xca074b;if(_0x4654f4[_0x2926f9(0x34a)]==null)return;const _0x553ba8=_0x4654f4[_0x2926f9(0x34a)];if(_0x4654f4['id']!==_0x258ab7['id']||_0x553ba8[_0x2926f9(0x216)]!==this[_0x2926f9(0x2eb)])return;const _0x224d5f={'id':'doc.mutation.rich-text-editing','params':_0x553ba8},_0x51b04a=this[_0x2926f9(0x2c5)];for(const [_0x441acb,_0x4c3c69]of _0x51b04a){const _0x56ee8f={'id':_0x2926f9(0x234),'params':{'unitId':this[_0x2926f9(0x2eb)],'actions':null,'textRanges':_0x4c3c69[_0x2926f9(0x28b)]}},_0x2cfbab=this['_transformService']['transformMutation'](_0x224d5f,_0x56ee8f,!0x1);if(_0x53c9de(_0x2cfbab))throw _0x2cfbab[_0x2926f9(0x2a1)];_0x51b04a[_0x2926f9(0x344)](_0x441acb,{..._0x4c3c69,'ranges':_0x2cfbab['m2Prime'][_0x2926f9(0x34a)]['textRanges']});}queueMicrotask(()=>{const _0x45728e=_0x2926f9;this[_0x45728e(0x286)]['next'](_0x51b04a);});})));}[_0xc538c3(0x27e)](_0x39091a){const _0x39e567=_0xc538c3;var _0x1d9345,_0x4694d2;const {memberID:_0x315a7a,selection:_0x54b748}=_0x39091a[_0x39e567(0x21b)],_0x34eeb9=Ai(_0x54b748),_0x534c89=(_0x4694d2=(_0x1d9345=this['_memberService']['getMember'](this[_0x39e567(0x2eb)],_0x315a7a))==null?void 0x0:_0x1d9345[_0x39e567(0x250)])!=null?_0x4694d2:_0x39e567(0x2af),_0x127009={'color':this[_0x39e567(0x15e)][_0x39e567(0x1d2)](_0x315a7a),'name':_0x534c89,'ranges':_0x34eeb9},_0xad5741=this['cursorInfo'];_0xad5741['set'](_0x315a7a,_0x127009),this[_0x39e567(0x286)][_0x39e567(0x171)](_0xad5741);}['_onCursorDelete'](_0x5bf867){const _0xe38cc4=_0xc538c3,{memberID:_0x370d9a}=_0x5bf867[_0xe38cc4(0x21b)],_0x19a5cd=this[_0xe38cc4(0x2c5)];_0x19a5cd[_0xe38cc4(0x289)](_0x370d9a),this[_0xe38cc4(0x286)]['next'](_0x19a5cd);}[_0xc538c3(0x1ec)](){const _0x19eea7=_0xc538c3;var _0x390dd8;if(this[_0x19eea7(0x2e3)]=!0x0,((_0x390dd8=this[_0x19eea7(0x1b2)][_0x19eea7(0x2fa)]())==null?void 0x0:_0x390dd8[_0x19eea7(0x317)]())!==this[_0x19eea7(0x2eb)])return;const _0x34bb76=this[_0x19eea7(0x26a)]['get'](_0x4fe258)['getDocRanges']();Array[_0x19eea7(0x295)](_0x34bb76)&&_0x34bb76[_0x19eea7(0x20c)]>0x0&&this[_0x19eea7(0x22f)](_0x34bb76);}[_0xc538c3(0x281)](){const _0x458d73=_0xc538c3;this[_0x458d73(0x2e3)]=!0x1;}};xe=wi([A(0x2,_0x510c8b(_0xdfb0d7)),A(0x3,_0x510c8b(Ke)),A(0x4,_0x510c8b(_0x1e787f)),A(0x5,_0x510c8b(ze)),A(0x6,_0x528d6a),A(0x7,_0x322908),A(0x8,_0x3b9f81)],xe);var xi=Object[_0xc538c3(0x305)],Bi=(_0x9d221b,_0x553087,_0x19462c,_0x5bd52a)=>{const _0x26da20=_0xc538c3;for(var _0x28f1c6=_0x5bd52a>0x1?void 0x0:_0x5bd52a?xi(_0x553087,_0x19462c):_0x553087,_0x156a20=_0x9d221b[_0x26da20(0x20c)]-0x1,_0x17cc84;_0x156a20>=0x0;_0x156a20--)(_0x17cc84=_0x9d221b[_0x156a20])&&(_0x28f1c6=_0x17cc84(_0x28f1c6)||_0x28f1c6);return _0x28f1c6;},B=(_0xdab50,_0x1324cd)=>(_0x10d2db,_0x5c66fa)=>_0x1324cd(_0x10d2db,_0x5c66fa,_0xdab50);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x46fd7a=[],_0x2f5a2a=!0x1;return _0x4207cc=>{const _0x43c890=_0x3d2b;_0x46fd7a[_0x43c890(0x29e)](_0x4207cc),_0x2f5a2a||(_0x2f5a2a=!0x0,setTimeout(()=>{const _0x345f81=_0x43c890;_0x46fd7a[_0x345f81(0x1d1)](_0x43b26b=>_0x43b26b()),_0x46fd7a=[],_0x2f5a2a=!0x1;}));};};let Be=class extends _0x1533b3{constructor(_0x29a28c,_0x30093a,_0x3c7392,_0x44a288,_0x2b7721,_0x4bbe5a,_0xc98bb8,_0x15d7fa){const _0x592174=_0xc538c3;super(),_(this,_0x592174(0x2e3),!0x1),_(this,'_init',!0x1),_(this,_0x592174(0x286),new _0x301e41(new Map())),_(this,_0x592174(0x34b),this['_cursorInfo$'][_0x592174(0x270)]()),_(this,_0x592174(0x2ab),new _0x301e41([])),_(this,_0x592174(0x29d),this[_0x592174(0x2ab)]['pipe'](_0x33a061(Fi))),_(this,_0x592174(0x22f),_0x4ea3a1((_0x31b11f,_0x557d90)=>{const _0x32e7b7=_0x592174,_0x1f5d1c={'eventID':_0x83c45f[_0x32e7b7(0x236)],'data':{'unitID':this[_0x32e7b7(0x2eb)],'memberID':this[_0x32e7b7(0x1a2)][_0x32e7b7(0x1b0)](),'selection':_0x401dc2(_0x31b11f,_0x557d90[_0x32e7b7(0x2ed)])}};this[_0x32e7b7(0x1a2)][_0x32e7b7(0x13d)](_0x1f5d1c,this[_0x32e7b7(0x2eb)]);},ki)),(this[_0x592174(0x2eb)]=_0x29a28c,this[_0x592174(0x1a2)]=_0x30093a,this['_injector']=_0x3c7392,this[_0x592174(0x15e)]=_0x44a288,this['_memberService']=_0x2b7721,this[_0x592174(0x1b2)]=_0x4bbe5a,this[_0x592174(0x337)]=_0xc98bb8,this[_0x592174(0x182)]=_0x15d7fa);}get[_0xc538c3(0x2c5)](){const _0x33af8e=_0xc538c3;return this[_0x33af8e(0x286)][_0x33af8e(0x2b2)]();}get[_0xc538c3(0x254)](){const _0x578384=_0xc538c3;return this[_0x578384(0x2ab)]['getValue']();}[_0xc538c3(0x16f)](){const _0x15951b=_0xc538c3;super['dispose'](),this[_0x15951b(0x286)]['next'](new Map()),this[_0x15951b(0x286)][_0x15951b(0x144)](),this[_0x15951b(0x2ab)][_0x15951b(0x171)]([]),this[_0x15951b(0x2ab)][_0x15951b(0x144)]();}[_0xc538c3(0x22d)](){const _0x1b7811=_0xc538c3;this[_0x1b7811(0x16b)]||(this[_0x1b7811(0x16b)]=!0x0,this[_0x1b7811(0x1a2)][_0x1b7811(0x16a)][_0x1b7811(0x248)](_0xaf9b86(this[_0x1b7811(0x15b)]))[_0x1b7811(0x237)](_0x2ca600=>{const _0x5f3c9e=_0x1b7811;_0x2ca600===_0x5de9be[_0x5f3c9e(0x157)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1b7811(0x1a2)][_0x1b7811(0x285)][_0x1b7811(0x248)](_0xaf9b86(this[_0x1b7811(0x15b)]))['subscribe'](_0x59e2f7=>{const _0x2d60d2=_0x1b7811,_0xe6a043=_0x59e2f7[_0x2d60d2(0x1bd)];_0xe6a043===_0x83c45f[_0x2d60d2(0x236)]&&this[_0x2d60d2(0x27e)](_0x59e2f7),_0xe6a043===_0x83c45f[_0x2d60d2(0x33d)]&&this['_onCursorDelete'](_0x59e2f7);}),this[_0x1b7811(0x10e)](),this[_0x1b7811(0x247)](this['_commandService'][_0x1b7811(0x1c4)](_0x2efad3=>{const _0x28b0c1=_0x1b7811;if(this[_0x28b0c1(0x2e3)]&&_0x2efad3['id']===_0x27b320['id']&&_0x2efad3[_0x28b0c1(0x34a)][_0x28b0c1(0x216)]===this['unitID']){const _0x3e847c=_0x2efad3[_0x28b0c1(0x34a)];this[_0x28b0c1(0x22f)](_0x3e847c[_0x28b0c1(0x2b5)],_0x3e847c[_0x28b0c1(0x10b)][0x0]);}})));}[_0xc538c3(0x27e)](_0x55a359){const _0x365fc4=_0xc538c3;var _0x126bee,_0xd03b52;const {memberID:_0x11fd85,selection:_0x3d2c58}=_0x55a359['data'],{sheetName:_0x3cfba3,range:_0x54e1e3}=_0x37b3ec(_0x3d2c58),_0x3b8d72={'name':(_0xd03b52=(_0x126bee=this['_memberService'][_0x365fc4(0x28a)](this['unitID'],_0x11fd85))==null?void 0x0:_0x126bee['name'])!=null?_0xd03b52:_0x365fc4(0x2af),'range':this[_0x365fc4(0x191)](_0x3cfba3,_0x54e1e3),'sheetID':_0x3cfba3,'color':this[_0x365fc4(0x15e)][_0x365fc4(0x1d2)](_0x11fd85),'selection':_0x3d2c58},_0x46b8a2=this[_0x365fc4(0x2c5)];_0x46b8a2[_0x365fc4(0x344)](_0x11fd85,_0x3b8d72),this[_0x365fc4(0x286)][_0x365fc4(0x171)](_0x46b8a2);}[_0xc538c3(0x111)](_0x184d8c){const _0x4e3978=_0xc538c3,{memberID:_0x6324fc}=_0x184d8c[_0x4e3978(0x21b)],_0x29c27c=this[_0x4e3978(0x2c5)];_0x29c27c[_0x4e3978(0x289)](_0x6324fc),this[_0x4e3978(0x286)]['next'](_0x29c27c);}[_0xc538c3(0x191)](_0x5695b7,_0x1c2d6b){const _0x5bce43=_0xc538c3;var _0xaa9321,_0x166a21;const _0x4a9be1=(_0x166a21=(_0xaa9321=this[_0x5bce43(0x1b2)][_0x5bce43(0x12c)](this[_0x5bce43(0x2eb)]))==null?void 0x0:_0xaa9321[_0x5bce43(0x11b)](_0x5695b7))==null?void 0x0:_0x166a21[_0x5bce43(0x1d0)]();return(_0x4a9be1==null?void 0x0:_0x4a9be1['find'](_0xa8a4dc=>_0xf1b9e0[_0x5bce43(0x101)](_0xa8a4dc,_0x1c2d6b)))||_0x1c2d6b;}[_0xc538c3(0x10e)](){const _0x249ce0=_0xc538c3,_0x27b43a=new _0x5465cf(),_0x3a2bcb=Hi(),_0x4ce063=()=>{const _0x4da4a5=_0x3d2b;_0x27b43a[_0x4da4a5(0x16f)]();const _0x22c7e0=(_0x567343,_0x49f098,_0x2d864b,_0x11e051)=>{const _0x2510aa=_0x4da4a5;let _0x454775=[];switch(_0x567343['id']){case _0x55a7ef['DeleteRangeMoveLeftCommandId']:{_0x454775=_0x57c8e9(_0x567343,_0x11e051);break;}case _0x55a7ef['DeleteRangeMoveUpCommandId']:{_0x454775=_0x34362a(_0x567343,_0x11e051);break;}case _0x55a7ef[_0x2510aa(0x2d3)]:{_0x454775=_0x3b7ae3(_0x567343,_0x11e051);break;}case _0x55a7ef[_0x2510aa(0x1cf)]:{_0x454775=_0x1db9da(_0x567343,_0x11e051);break;}case _0x55a7ef[_0x2510aa(0x2bc)]:{_0x454775=_0x27943c(_0x567343,_0x11e051);break;}case _0x55a7ef[_0x2510aa(0x1b3)]:{_0x454775=_0x357ee9(_0x567343,_0x11e051);break;}case _0x55a7ef[_0x2510aa(0x2cb)]:{_0x454775=_0x287e28(_0x567343,_0x11e051);break;}case _0x55a7ef[_0x2510aa(0x23e)]:{_0x454775=_0x405b4b(_0x567343,_0x11e051);break;}case _0x55a7ef[_0x2510aa(0x121)]:{_0x454775=_0x3aa1cd(_0x567343,_0x11e051);break;}}const _0x2e9ef2=_0xd9cafd(_0x454775,_0x11e051),_0x23c9b2=this[_0x2510aa(0x2c5)][_0x2510aa(0x123)](_0x49f098);if(_0x23c9b2&&_0x2e9ef2){const _0x5b58a7={..._0x23c9b2,'range':_0x2e9ef2};this[_0x2510aa(0x2c5)]['set'](_0x49f098,_0x5b58a7),_0x3a2bcb(()=>{const _0xc0185b=_0x2510aa,_0x1e7d42=this[_0xc0185b(0x182)][_0xc0185b(0x312)](_0x2e9ef2,_0x218b72=>(_0x1e7d42['dispose'](),_0x22c7e0(_0x218b72,_0x49f098,_0x2d864b,_0x2e9ef2)));_0x27b43a['add'](_0x1e7d42);});}return{'redos':[],'undos':[]};};this[_0x4da4a5(0x2c5)]['forEach']((_0x45ccb8,_0x8280a9)=>{const _0xd0bc89=_0x4da4a5,{range:_0xe73e8a,sheetID:_0x30f882}=_0x45ccb8,_0x12d1c5=this['_refRangeService'][_0xd0bc89(0x312)](_0xe73e8a,_0x57a32a=>(_0x12d1c5[_0xd0bc89(0x16f)](),_0x22c7e0(_0x57a32a,_0x8280a9,_0x30f882,_0xe73e8a)));_0x27b43a[_0xd0bc89(0x273)](_0x12d1c5);});};this[_0x249ce0(0x247)](_0x50aa11(this[_0x249ce0(0x286)][_0x249ce0(0x237)](()=>{_0x4ce063();})));}[_0xc538c3(0x1ec)](){const _0x3621d9=_0xc538c3;var _0x49be3f,_0x327a00;if(this['_online']=!0x0,((_0x49be3f=this[_0x3621d9(0x1b2)]['getFocusedUnit']())==null?void 0x0:_0x49be3f[_0x3621d9(0x317)]())!==this['unitID'])return;const _0x361f57=(_0x327a00=this['_injector']['get'](_0x20df53)[_0x3621d9(0x1a3)]())==null?void 0x0:_0x327a00[0x0],_0x1a71e4=this['_univerInstanceService'][_0x3621d9(0x1eb)](_0xc97ca9[_0x3621d9(0x28f)])[_0x3621d9(0x321)]();_0x361f57&&_0x1a71e4&&this['_updateLocalCursor'](_0x1a71e4[_0x3621d9(0x10d)](),_0x361f57);}['_toggleOffline'](){const _0x493591=_0xc538c3;this[_0x493591(0x2e3)]=!0x1;}};Be=Bi([B(0x2,_0x510c8b(_0xdfb0d7)),B(0x3,_0x510c8b(Ke)),B(0x4,_0x510c8b(_0x1e787f)),B(0x5,_0x322908),B(0x6,_0x3b9f81),B(0x7,_0x510c8b(_0x3bf278))],Be);var Yi=Object[_0xc538c3(0x305)],Wi=(_0x5bef42,_0x47008f,_0x4c7ca8,_0x50a6bd)=>{for(var _0x571ee8=_0x50a6bd>0x1?void 0x0:_0x50a6bd?Yi(_0x47008f,_0x4c7ca8):_0x47008f,_0x4b41ea=_0x5bef42['length']-0x1,_0x15b62a;_0x4b41ea>=0x0;_0x4b41ea--)(_0x15b62a=_0x5bef42[_0x4b41ea])&&(_0x571ee8=_0x15b62a(_0x571ee8)||_0x571ee8);return _0x571ee8;},Ce=(_0x111099,_0x3b2c40)=>(_0x3fc4f9,_0x889715)=>_0x3b2c40(_0x3fc4f9,_0x889715,_0x111099);let H=class extends _0x1533b3{constructor(_0x42d02f,_0xc2eb86,_0x4b6af2){const _0x43ed2f=_0xc538c3;super(),_(this,_0x43ed2f(0x333),new Map()),_(this,_0x43ed2f(0x19d),new _0x5ac833()),(this['_univerInstanceService']=_0x42d02f,this[_0x43ed2f(0x26a)]=_0xc2eb86,this['_collabSessionService']=_0x4b6af2,this[_0x43ed2f(0x16b)]());}[_0xc538c3(0x16f)](){const _0x5159dc=_0xc538c3;super[_0x5159dc(0x16f)](),this['_entityInit$'][_0x5159dc(0x144)](),this[_0x5159dc(0x333)][_0x5159dc(0x1d1)](_0x557aa8=>_0x557aa8[_0x5159dc(0x16f)]());}['getCollabCursors$'](_0x512ccb){const _0xe960bf=_0xc538c3;return this[_0xe960bf(0x333)]['has'](_0x512ccb)?this[_0xe960bf(0x333)][_0xe960bf(0x123)](_0x512ccb)[_0xe960bf(0x34b)]:this[_0xe960bf(0x19d)][_0xe960bf(0x248)](_0x2a953d(_0x33afe9=>_0x33afe9[_0xe960bf(0x2eb)]===_0x512ccb),_0xe419a7(_0x1e1eb8=>_0x1e1eb8[_0xe960bf(0x34b)]));}[_0xc538c3(0x16b)](){const _0x5879e=_0xc538c3;this[_0x5879e(0x1b2)][_0x5879e(0x1b6)](_0xc97ca9[_0x5879e(0x28f)])[_0x5879e(0x248)](_0xaf9b86(this[_0x5879e(0x15b)]))[_0x5879e(0x237)](async _0x4c7b7e=>{const _0x20be30=_0x5879e,_0x2fcf6a=_0x4c7b7e['getUnitId'](),_0x108df6=await this[_0x20be30(0x24d)](_0x2fcf6a);this[_0x20be30(0x19d)][_0x20be30(0x171)](_0x108df6),this[_0x20be30(0x333)][_0x20be30(0x344)](_0x2fcf6a,_0x108df6);}),this['_univerInstanceService'][_0x5879e(0x1b6)](_0xc97ca9['UNIVER_DOC'])[_0x5879e(0x248)](_0xaf9b86(this['dispose$']))[_0x5879e(0x248)](_0x2a953d(_0x4bb1eb=>!_0x4bb1eb[_0x5879e(0x317)]()['startsWith']('__')))['subscribe'](async _0x4879eb=>{const _0xb65e31=_0x5879e,_0x3fc42d=_0x4879eb[_0xb65e31(0x317)](),_0x218fec=await this[_0xb65e31(0x2a6)](_0x3fc42d);this[_0xb65e31(0x19d)][_0xb65e31(0x171)](_0x218fec),this[_0xb65e31(0x333)][_0xb65e31(0x344)](_0x3fc42d,_0x218fec);}),_0x20f2ea(this['_univerInstanceService'][_0x5879e(0x341)](_0xc97ca9[_0x5879e(0x195)]),this[_0x5879e(0x1b2)]['getTypeOfUnitDisposed$'](_0xc97ca9['UNIVER_SHEET']))[_0x5879e(0x248)](_0xaf9b86(this[_0x5879e(0x15b)]))['subscribe'](_0x5c8cc4=>{const _0xf5c73c=_0x5879e,_0x427c09=_0x5c8cc4['getUnitId'](),_0x3caa50=this['_entities'][_0xf5c73c(0x123)](_0x427c09);_0x3caa50&&(_0x3caa50[_0xf5c73c(0x16f)](),this[_0xf5c73c(0x333)][_0xf5c73c(0x289)](_0x427c09));});}async[_0xc538c3(0x24d)](_0x377e82){const _0x310200=_0xc538c3,_0x2341f4=await this[_0x310200(0xfd)][_0x310200(0x149)](_0x377e82),_0x4da8a6=this[_0x310200(0x26a)][_0x310200(0x32a)](Be,_0x377e82,_0x2341f4);return _0x4da8a6['init'](),_0x4da8a6;}async[_0xc538c3(0x2a6)](_0x2241ff){const _0x3724bb=_0xc538c3,_0x24d058=await this['_collabSessionService'][_0x3724bb(0x149)](_0x2241ff),_0x396bf1=this[_0x3724bb(0x26a)]['createInstance'](xe,_0x2241ff,_0x24d058);return _0x396bf1['init'](),_0x396bf1;}};H=Wi([Ce(0x0,_0x322908),Ce(0x1,_0x510c8b(_0xdfb0d7)),Ce(0x2,_0x510c8b(_0x154591))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x133dc4,_0x2c4b2f){const _0x5d7e8e=_0xc538c3;let {radius:_0x1fb984,width:_0x40e2a9,height:_0xc30a7b}=_0x2c4b2f;_0x1fb984=_0x1fb984!=null?_0x1fb984:0x0,_0x40e2a9=_0x40e2a9!=null?_0x40e2a9:0x1e,_0xc30a7b=_0xc30a7b!=null?_0xc30a7b:0x1e;let _0x5cb645=0x0,_0x188431=0x0,_0x3ab4f1=0x0;_0x5cb645=_0x188431=_0x3ab4f1=Math[_0x5d7e8e(0x2dd)](_0x1fb984,_0x40e2a9/0x2,_0xc30a7b/0x2),_0x133dc4[_0x5d7e8e(0x1da)](),_0x133dc4[_0x5d7e8e(0x194)](_0x5cb645,0x0),_0x133dc4[_0x5d7e8e(0x2f3)](_0x40e2a9-_0x188431,0x0),_0x133dc4['arc'](_0x40e2a9-_0x188431,_0x188431,_0x188431,Math['PI']*0x3/0x2,0x0,!0x1),_0x133dc4[_0x5d7e8e(0x2f3)](_0x40e2a9,_0xc30a7b-_0x3ab4f1),_0x133dc4[_0x5d7e8e(0xf7)](_0x40e2a9-_0x3ab4f1,_0xc30a7b-_0x3ab4f1,_0x3ab4f1,0x0,Math['PI']/0x2,!0x1),_0x133dc4['lineTo'](0x0,_0xc30a7b),_0x133dc4[_0x5d7e8e(0x2f3)](0x0,_0x5cb645),_0x133dc4[_0x5d7e8e(0xf7)](_0x5cb645,_0x5cb645,_0x5cb645,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x133dc4[_0x5d7e8e(0x299)](),_0x2c4b2f[_0x5d7e8e(0x16d)]&&(_0x133dc4[_0x5d7e8e(0x32f)](),_0x133dc4[_0x5d7e8e(0x219)]=_0x2c4b2f[_0x5d7e8e(0x16d)],_0x2c4b2f[_0x5d7e8e(0x330)]===_0x5d7e8e(0x185)?_0x133dc4['fill'](_0x5d7e8e(0x185)):_0x133dc4[_0x5d7e8e(0x16d)](),_0x133dc4[_0x5d7e8e(0x256)]());}class ve extends _0x466330{constructor(_0x1df6a4,_0x233e88){const _0x1f95dd=_0xc538c3;super(_0x1df6a4,_0x233e88),_(this,'color'),_(this,_0x1f95dd(0x2da)),(this[_0x1f95dd(0x103)]=_0x233e88==null?void 0x0:_0x233e88[_0x1f95dd(0x103)],this[_0x1f95dd(0x2da)]=_0x233e88==null?void 0x0:_0x233e88[_0x1f95dd(0x2da)]);}static[_0xc538c3(0x23d)](_0x23928f,_0x5325d1){const _0x382722=_0xc538c3,{text:_0x593bca,color:_0x4d2df6}=_0x5325d1;_0x23928f[_0x382722(0x32f)](),_0x23928f['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5e3d97=_0x23928f[_0x382722(0xfa)](_0x593bca)[_0x382722(0x25c)],_0x1703aa=Math[_0x382722(0x2dd)](_0x5e3d97+0x2*Re,at);ji(_0x23928f,{'height':Q,'radius':0x4,'width':_0x1703aa,'fill':_0x4d2df6}),_0x23928f[_0x382722(0x219)]='#FFF';const _0x43b5fd=Re,_0x3b0400=Q-Vi,_0x440b63=at-0x2*Re;if(_0x5e3d97>_0x440b63){let _0x2fc8ae='',_0x1c6c9c=0x0;for(const _0x84f987 of _0x593bca){const _0x72417b=_0x23928f[_0x382722(0xfa)](_0x84f987)['width'];if(_0x1c6c9c+_0x72417b<=_0x440b63-_0x23928f[_0x382722(0xfa)](_0x382722(0x230))[_0x382722(0x25c)])_0x2fc8ae+=_0x84f987,_0x1c6c9c+=_0x72417b;else{_0x2fc8ae+='...';break;}}_0x23928f['fillText'](_0x2fc8ae,_0x43b5fd,_0x3b0400);}else _0x23928f[_0x382722(0x150)](_0x593bca,_0x43b5fd,_0x3b0400);_0x23928f[_0x382722(0x256)]();}['_draw'](_0x184d03){const _0x19e424=_0xc538c3;ve[_0x19e424(0x23d)](_0x184d03,this);}}const De=_0xc538c3(0x338),Xi=_0xc538c3(0x2c4),Gi=_0xc538c3(0x17c),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0xc538c3(0x2c7);class ct{constructor(_0x287d78,_0x380951,_0x26a670,_0x4c6ae3){const _0x1669ab=_0xc538c3;_(this,_0x1669ab(0x322),[]),_(this,_0x1669ab(0x131),null),_(this,_0x1669ab(0x14d),null),_(this,_0x1669ab(0x166),null),_(this,_0x1669ab(0x132),null),_(this,_0x1669ab(0x1f5),null),(this['_cursor']=_0x287d78,this[_0x1669ab(0x119)]=_0x380951,this[_0x1669ab(0x21d)]=_0x26a670,this[_0x1669ab(0x309)]=_0x4c6ae3,this[_0x1669ab(0x11a)]());}set[_0xc538c3(0x172)](_0x4d0d98){const _0x1328bf=_0xc538c3;_0x4d0d98?(this[_0x1328bf(0x166)]&&this[_0x1328bf(0x166)][_0x1328bf(0x271)](),this[_0x1328bf(0x14d)]&&this[_0x1328bf(0x14d)][_0x1328bf(0x1bf)]()):(this[_0x1328bf(0x166)]&&this['_anchorDot'][_0x1328bf(0x1bf)](),this[_0x1328bf(0x14d)]&&this[_0x1328bf(0x14d)][_0x1328bf(0x271)]());}[_0xc538c3(0x16f)](){const _0x239fb8=_0xc538c3;for(const _0x19c5b1 of this[_0x239fb8(0x322)])_0x19c5b1['dispose']();this[_0x239fb8(0x14d)]&&this[_0x239fb8(0x14d)][_0x239fb8(0x16f)](),this[_0x239fb8(0x166)]&&this[_0x239fb8(0x166)][_0x239fb8(0x16f)](),this[_0x239fb8(0x131)]&&this[_0x239fb8(0x131)][_0x239fb8(0x16f)](),this[_0x239fb8(0x1f5)]&&this[_0x239fb8(0x1f5)]();}[_0xc538c3(0x11a)](){const _0x413e5a=_0xc538c3;var _0x56ac9a;const {_docSkeleton:_0x5b9d0d,_document:_0x3afde9}=this,{color:_0x2cc223,name:_0x40b357,ranges:_0x1c8c75}=this[_0x413e5a(0x14b)],_0x43d897=_0x3afde9['getOffsetConfig'](),{docsLeft:_0x239d95,docsTop:_0x256312}=_0x43d897,_0x2e67dc=new _0x16c042(_0x43d897,_0x5b9d0d);for(const {startOffset:_0x5ca3c3,endOffset:_0x3e2f9c,rangeType:_0x4d9ba1,segmentId:_0x5792f6,segmentPage:_0x3872f7,collapsed:_0x339efb,isActive:_0x2df210}of _0x1c8c75){const _0x555707=_0x5b9d0d[_0x413e5a(0x11f)](_0x5ca3c3,!0x0,_0x5792f6,_0x3872f7);let _0x25c534=_0x5b9d0d['findNodePositionByCharIndex'](_0x3e2f9c,!0x0,_0x5792f6,_0x3872f7);if(_0x25c534==null&&(_0x25c534=_0x5b9d0d['findNodePositionByCharIndex'](_0x3e2f9c-0x1,!0x1,_0x5792f6,_0x3872f7)),_0x2df210){const {contentBoxPointGroup:_0xd0e468}=_0x2e67dc[_0x413e5a(0x1a9)](_0x25c534,_0x25c534);if(_0xd0e468[_0x413e5a(0x20c)]===0x0)continue;this[_0x413e5a(0x168)](_0x2cc223,_0xd0e468,_0x239d95,_0x256312,_0x40b357),this['_eventUnsubscribe']=this[_0x413e5a(0x112)]();}if(_0x555707&&_0x25c534){if(_0x4d9ba1===_0x18ec88[_0x413e5a(0x2f6)]){const _0xd95b0f=new _0x266b31(_0x43d897,_0x5b9d0d),{pointGroup:_0x3aa9c4}=(_0x56ac9a=_0xd95b0f[_0x413e5a(0x1a9)](_0x555707,_0x25c534))!=null?_0x56ac9a:{};if(_0x3aa9c4==null||_0x3aa9c4[_0x413e5a(0x20c)]===0x0)continue;this[_0x413e5a(0x25f)](_0x2cc223,_0x3aa9c4,_0x239d95,_0x256312);}else{if(!_0x339efb){const {borderBoxPointGroup:_0x50ec5e}=_0x2e67dc[_0x413e5a(0x1a9)](_0x555707,_0x25c534);if(_0x50ec5e[_0x413e5a(0x20c)]===0x0)continue;this[_0x413e5a(0x348)](_0x2cc223,_0x50ec5e,_0x239d95,_0x256312);}}}}}[_0xc538c3(0x168)](_0x266978,_0x258a84,_0x99addc,_0x2ae8df,_0x596400){const _0x31bb45=_0xc538c3,_0x50a121=this[_0x31bb45(0x1ed)](_0x258a84),{left:_0x427db3,top:_0x23d40b,height:_0xef163b}=_0x50a121,_0x5e1b4e=this['_getScale'](),_0x2ee315=zi/_0x5e1b4e,_0x45c3d1=new _0x1362c9(De+_0x11693c(z),{'left':_0x427db3+_0x99addc-_0x2ee315,'top':_0x23d40b+_0x2ae8df,'height':_0xef163b,'width':Ki,'fill':_0x266978||_0x5a983e(_0x11ddec['black'],0x0),'strokeWidth':_0x2ee315,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x45c3d1,this[_0x31bb45(0x119)]['addObject'](_0x45c3d1,_0x2f3cb2);const _0x5bd51f=new _0x1362c9(De+_0x11693c(z),{'left':_0x427db3+_0x99addc-_0x2ee315,'top':_0x23d40b+_0x2ae8df-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x266978||_0x5a983e(_0x11ddec[_0x31bb45(0x190)],0x0),'strokeWidth':0x0,'stroke':_0x266978||_0x5a983e(_0x11ddec[_0x31bb45(0x190)],0x0),'evented':!0x1});this['_anchorDot']=_0x5bd51f,this['_scene']['addObject'](_0x5bd51f,_0x2f3cb2);const _0x19193d=new ve(De+_0x11693c(z),{'left':_0x427db3+_0x99addc-_0x2ee315,'top':_0x23d40b+_0x2ae8df-Q,'text':_0x596400,'color':_0x266978});this[_0x31bb45(0x14d)]=_0x19193d,this[_0x31bb45(0x119)]['addObject'](_0x19193d,_0x2f3cb2),this[_0x31bb45(0x172)]=!0x1;}[_0xc538c3(0x112)](){const _0x2c9c45=_0xc538c3,_0x52cbae=this[_0x2c9c45(0x131)][_0x2c9c45(0x224)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x22d3f7=this[_0x2c9c45(0x131)][_0x2c9c45(0x1fb)][_0x2c9c45(0x2ba)](()=>{const _0x5087e5=_0x2c9c45;this['_hideTimer']&&clearTimeout(this[_0x5087e5(0x132)]),this[_0x5087e5(0x132)]=setTimeout(()=>{const _0x165104=_0x5087e5;this[_0x165104(0x172)]=!0x1;},0x7d0);});return()=>{const _0x3ebbd6=_0x2c9c45;_0x52cbae[_0x3ebbd6(0x1e7)](),_0x22d3f7['unsubscribe']();};}[_0xc538c3(0x348)](_0x21fd98,_0x58cf23,_0x2ccc60,_0x23e881){const _0x2fdc16=_0xc538c3,_0x237a76=new _0x414742(_0x21fd98)[_0x2fdc16(0x145)](0.2)[_0x2fdc16(0x214)](),_0x3c068d=new _0x5d3053(Xi+_0x11693c(z),{'pointsGroup':_0x58cf23,'fill':_0x237a76||_0x5a983e(_0x11ddec[_0x2fdc16(0x190)],0.2),'left':_0x2ccc60,'top':_0x23e881,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2fdc16(0x322)]['push'](_0x3c068d),this[_0x2fdc16(0x119)][_0x2fdc16(0x163)](_0x3c068d,_0x2f3cb2);}[_0xc538c3(0x25f)](_0x1835d8,_0x11da9c,_0x1ffff8,_0x4d5970){const _0x5f11db=_0xc538c3,_0x19ff47=new _0x414742(_0x1835d8)['setAlpha'](0.2)[_0x5f11db(0x214)](),_0x3fa440=new _0x5d3053(Gi+_0x11693c(z),{'pointsGroup':_0x11da9c,'fill':_0x19ff47||_0x5a983e(_0x11ddec['black'],0.2),'left':_0x1ffff8,'top':_0x4d5970,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5f11db(0x29e)](_0x3fa440),this[_0x5f11db(0x119)]['addObject'](_0x3fa440,_0x2f3cb2);}[_0xc538c3(0x1ed)](_0x3e9e0f){const _0x4bb813=_0x3e9e0f[0x0],_0x365929=_0x4bb813[0x0],_0x5d87b3=_0x4bb813[0x2],{x:_0x15b4c6,y:_0x21ca0c}=_0x365929,{x:_0x55ccbf,y:_0x473f01}=_0x5d87b3;return{'left':_0x15b4c6,'top':_0x21ca0c,'width':_0x55ccbf-_0x15b4c6,'height':_0x473f01-_0x21ca0c};}[_0xc538c3(0x209)](){const _0x27e3b8=_0xc538c3,{scaleX:_0x3d9bc6,scaleY:_0xdaf3af}=this[_0x27e3b8(0x119)][_0x27e3b8(0x30d)]();return Math[_0x27e3b8(0x125)](_0x3d9bc6,_0xdaf3af);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x2d2e6a,_0x139368,_0x45d392,_0x3a20cd)=>{for(var _0x38f29f=_0x3a20cd>0x1?void 0x0:_0x3a20cd?Zi(_0x139368,_0x45d392):_0x139368,_0x30872c=_0x2d2e6a['length']-0x1,_0x1b3431;_0x30872c>=0x0;_0x30872c--)(_0x1b3431=_0x2d2e6a[_0x30872c])&&(_0x38f29f=_0x1b3431(_0x38f29f)||_0x38f29f);return _0x38f29f;},ie=(_0x124b4a,_0x3f934a)=>(_0x6ee10,_0x528b28)=>_0x3f934a(_0x6ee10,_0x528b28,_0x124b4a);let Fe=class extends _0x1533b3{constructor(_0x14e0da,_0x3ce63d,_0x442438,_0x7f8534,_0x2e22da){const _0x41a23c=_0xc538c3;super(),_(this,_0x41a23c(0x1be),[]),_(this,_0x41a23c(0x329),[]),(this[_0x41a23c(0x1f3)]=_0x14e0da,this['_docSkeletonManagerService']=_0x3ce63d,this['_collabCursorController']=_0x442438,this[_0x41a23c(0x337)]=_0x7f8534,this[_0x41a23c(0x2d8)]=_0x2e22da,this['_init']());}[_0xc538c3(0x16b)](){const _0x24885e=_0xc538c3,_0x23582a=this['_context']['unitId'],_0x274756=this['_docSkeletonManagerService'];this[_0x24885e(0x247)](_0xdb4aa2([this['_collabCursorController'][_0x24885e(0x2cf)](_0x23582a),this['_themeService'][_0x24885e(0x2e9)]])[_0x24885e(0x248)](_0x20d3ce(([_0x4d9c37,_0x48363d])=>({'skeleton':_0x274756[_0x24885e(0x25e)](),'cursors':[..._0x4d9c37['values']()]['flatMap'](_0x2903c3=>({..._0x2903c3,'color':this[_0x24885e(0x2d8)]['getColorFromTheme'](_0x2903c3[_0x24885e(0x103)])}))})))['subscribe'](_0x2ffc7e=>{const _0x2b2234=_0x24885e;if(this['_removeCollabCursors'](),_0x2ffc7e){const {skeleton:_0x295773,cursors:_0x1ecbe3}=_0x2ffc7e;this[_0x2b2234(0x301)](_0x295773,_0x1ecbe3);}})),this[_0x24885e(0x1e3)](),this[_0x24885e(0x29b)]();}[_0xc538c3(0x301)](_0x235b91,_0x1eeada){const _0x45070b=_0xc538c3,{scene:_0x55abd8,mainComponent:_0x41d514}=this[_0x45070b(0x1f3)],_0x213e4b=_0x1eeada['map'](_0x326f2d=>new ct(_0x326f2d,_0x55abd8,_0x235b91,_0x41d514));this['_cursorShapes']=_0x213e4b,this[_0x45070b(0x329)]=_0x1eeada;}['_refreshCollabCursors'](){const _0x16272f=_0xc538c3;this['_removeCollabCursors']();const {scene:_0x5f2dc5,mainComponent:_0x41992e}=this[_0x16272f(0x1f3)],_0x1519b4=this[_0x16272f(0x314)][_0x16272f(0x25e)](),_0x359ad3=this['_cursors']['map'](_0x28ed60=>new ct(_0x28ed60,_0x5f2dc5,_0x1519b4,_0x41992e));this[_0x16272f(0x1be)]=_0x359ad3;}['_removeCollabCursors'](){const _0x478f81=_0xc538c3;this[_0x478f81(0x1be)][_0x478f81(0x1d1)](_0x14c90b=>_0x14c90b['dispose']()),this['_cursorShapes']=[];}[_0xc538c3(0x29b)](){const _0xc7e2b4=_0xc538c3,_0x154711=[_0x49b2f6['id']];this[_0xc7e2b4(0x247)](this['_commandService'][_0xc7e2b4(0x1c4)](_0x189111=>{const _0x2425cf=_0xc7e2b4;_0x154711['includes'](_0x189111['id'])&&_0x189111['params']['unitId']===this['_context'][_0x2425cf(0x216)]&&this[_0x2425cf(0x2ad)]();}));}[_0xc538c3(0x1e3)](){const _0xad64f5=_0xc538c3;this['disposeWithMe'](_0x5a5e8c(this[_0xad64f5(0x1f3)][_0xad64f5(0x207)][_0xad64f5(0x184)])[_0xad64f5(0x248)](_0x33956c(_0x321941=>_0x321941[_0xad64f5(0x122)]===_0xb99d9c[_0xad64f5(0x2bd)]),_0x2d064c(0x10))['subscribe'](()=>{const _0x57a5eb=_0xad64f5;this[_0x57a5eb(0x2ad)]();}));}};Fe=Qi([ie(0x1,_0x510c8b(_0x36fd1b)),ie(0x2,_0x510c8b(H)),ie(0x3,_0x3b9f81),ie(0x4,_0x510c8b(_0x1b304e))],Fe);const qi=0x1,en=1.5;class tn extends _0x466330{constructor(_0x271e2c,_0x6a5406){const _0x42b99f=_0xc538c3;super(_0x271e2c,_0x6a5406),_(this,_0x42b99f(0x19a)),_(this,_0x42b99f(0xfc),!0x1),_(this,_0x42b99f(0x18f)),_(this,_0x42b99f(0x20a),''),_(this,_0x42b99f(0x201),_0x42b99f(0x18d)),_(this,_0x42b99f(0x2b4)),(_0x6a5406&&this[_0x42b99f(0x2ac)](_0x6a5406),this[_0x42b99f(0x224)]['subscribeEvent'](()=>this[_0x42b99f(0x2ac)]({'hovered':!0x0})),this[_0x42b99f(0x1fb)][_0x42b99f(0x2ba)](()=>this[_0x42b99f(0x2ac)]({'hovered':!0x1})));}[_0xc538c3(0x2ac)](_0x21dff2){const _0x596e0e=_0xc538c3;var _0x3e2de0,_0x11afee,_0x1f1cd7,_0x19a3f4,_0x3870bf,_0x234c76;this[_0x596e0e(0x19a)]=(_0x3e2de0=_0x21dff2[_0x596e0e(0x103)])!=null?_0x3e2de0:this[_0x596e0e(0x19a)],this[_0x596e0e(0xfc)]=(_0x11afee=_0x21dff2[_0x596e0e(0x227)])!=null?_0x11afee:this[_0x596e0e(0xfc)],this[_0x596e0e(0x18f)]=(_0x1f1cd7=_0x21dff2[_0x596e0e(0x2ed)])!=null?_0x1f1cd7:this[_0x596e0e(0x18f)],this[_0x596e0e(0x20a)]=(_0x19a3f4=_0x21dff2[_0x596e0e(0x250)])!=null?_0x19a3f4:this['_name'],this[_0x596e0e(0x201)]=(_0x3870bf=_0x21dff2[_0x596e0e(0x13a)])!=null?_0x3870bf:this['_labelPosition'],this[_0x596e0e(0x2b4)]=(_0x234c76=_0x21dff2['backgroundColor'])!=null?_0x234c76:this[_0x596e0e(0x2b4)],this[_0x596e0e(0x2c3)]({'width':_0x21dff2['width'],'height':_0x21dff2[_0x596e0e(0x1a0)]});}['onMouseMove'](_0x3a4922){const _0x430c55=_0xc538c3,{row:_0x806550,column:_0x50f657}=_0x3a4922;if(_0x806550>=this[_0x430c55(0x18f)][_0x430c55(0x162)]&&_0x806550<=this[_0x430c55(0x18f)][_0x430c55(0x210)]&&_0x50f657>=this[_0x430c55(0x18f)][_0x430c55(0x1a1)]&&_0x50f657<=this['_range'][_0x430c55(0x298)]){this[_0x430c55(0x2ac)]({'hovered':!0x0});return;}this[_0x430c55(0x2ac)]({'hovered':!0x1});}[_0xc538c3(0x346)](_0x473c26){return!0x1;}['_draw'](_0x1619f1){const _0x1e5156=_0xc538c3;_0x1362c9['drawWith'](_0x1619f1,{'width':this[_0x1e5156(0x25c)],'height':this['height'],'strokeWidth':en,'stroke':this[_0x1e5156(0x19a)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1619f1['save'](),_0x1619f1[_0x1e5156(0x1c7)](0x1,0x0,0x0,0x1,this[_0x1e5156(0x25c)],this[_0x1e5156(0x201)]===_0x1e5156(0x315)?0x0:-Q),ve[_0x1e5156(0x23d)](_0x1619f1,{'text':this[_0x1e5156(0x20a)],'color':this[_0x1e5156(0x19a)]}),_0x1619f1[_0x1e5156(0x256)]());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x536a91,_0x159a74,_0x44fc40,_0x2bccf4)=>{const _0x2a12bb=_0xc538c3;for(var _0x23f67f=_0x2bccf4>0x1?void 0x0:_0x2bccf4?sn(_0x159a74,_0x44fc40):_0x159a74,_0x2006a5=_0x536a91[_0x2a12bb(0x20c)]-0x1,_0x40200b;_0x2006a5>=0x0;_0x2006a5--)(_0x40200b=_0x536a91[_0x2006a5])&&(_0x23f67f=_0x40200b(_0x23f67f)||_0x23f67f);return _0x23f67f;},be=(_0x401e7b,_0x31038e)=>(_0x42243b,_0x2eee29)=>_0x31038e(_0x42243b,_0x2eee29,_0x401e7b);const rn=0x1389;let ke=class extends _0x1533b3{constructor(_0x502db6,_0x35b26f,_0x930dd5,_0x3a13ae){const _0x47ea65=_0xc538c3;super(),_(this,_0x47ea65(0x329),new Set()),_(this,_0x47ea65(0x323),null),(this[_0x47ea65(0x1f3)]=_0x502db6,this['_sheetSkeletonManagerService']=_0x35b26f,this[_0x47ea65(0x313)]=_0x930dd5,this['_themeService']=_0x3a13ae,this[_0x47ea65(0x16b)]());}['_init'](){const _0x490a92=_0xc538c3;this['_sheetSkeletonManagerService'][_0x490a92(0x147)][_0x490a92(0x248)](_0x7902b8(this[_0x490a92(0x15b)]),_0xdf28dd(_0x2aab92=>{const _0x46ab74=_0x490a92;if(_0x2aab92){const _0x40c152=_0x2aab92['sheetId'];return _0xdb4aa2(this[_0x46ab74(0x313)][_0x46ab74(0x2cf)](this[_0x46ab74(0x1f3)][_0x46ab74(0x216)]),this[_0x46ab74(0x2d8)]['currentTheme$'])[_0x46ab74(0x248)](_0x20d3ce(([_0x3fb8b5,_0x52d2d1])=>{const _0x27a6f7=new Map();return _0x3fb8b5['forEach']((_0x505d4d,_0x5b467a)=>{const _0x332879=_0x3d2b;if(_0x505d4d[_0x332879(0x212)]===_0x40c152){const _0x33727b={..._0x505d4d};_0x33727b[_0x332879(0x103)]=this[_0x332879(0x2d8)][_0x332879(0x297)](_0x505d4d[_0x332879(0x103)]),_0x27a6f7[_0x332879(0x344)](_0x5b467a,_0x33727b);}}),{'skeleton':_0x2aab92,'cursors':_0x27a6f7};}));}return _0x4f3499({'skeleton':null,'cursors':new Map()});}))[_0x490a92(0x237)](({skeleton:_0x4eabe2,cursors:_0x1f4fbf})=>{const _0x5aba41=_0x490a92;this[_0x5aba41(0x2a9)](),_0x4eabe2&&this[_0x5aba41(0x301)](_0x4eabe2,_0x1f4fbf);}),this['_sheetSkeletonManagerService'][_0x490a92(0x147)][_0x490a92(0x237)](_0x1424d2=>{const _0x580f80=_0x490a92;if(_0x1424d2==null)return;const {skeleton:_0x3df6b1}=_0x1424d2,{scene:_0x5ce522}=this[_0x580f80(0x1f3)];_0x5ce522[_0x580f80(0x332)][_0x580f80(0x2ba)](_0x4ea3a1(_0xf70b62=>{const _0x1fcedc=_0x580f80;var _0x179ce8,_0x1bb43f;const {offsetX:_0x4e2eaf,offsetY:_0x15f075}=_0xf70b62,{x:_0x15ba8c,y:_0x2e4583}=_0x5ce522[_0x1fcedc(0x26f)](_0x1be6c8[_0x1fcedc(0x2dc)]([_0x4e2eaf,_0x15f075])),{scaleX:_0x4e34ef,scaleY:_0xa94d66}=_0x5ce522[_0x1fcedc(0x30d)](),_0x2e8f7c=_0x5ce522[_0x1fcedc(0x2e5)](_0x1498a6[_0x1fcedc(0x21a)]),_0x2b45d=_0x5ce522[_0x1fcedc(0x16e)](_0x1be6c8['FromArray']([_0x15ba8c,_0x2e4583]),_0x2e8f7c),_0x337e03=_0x3df6b1['getCellPositionByOffset'](_0x4e2eaf,_0x15f075,_0x4e34ef,_0xa94d66,_0x2b45d);((_0x179ce8=this['_lastPointer'])==null?void 0x0:_0x179ce8[_0x1fcedc(0x18e)])===_0x337e03[_0x1fcedc(0x18e)]&&((_0x1bb43f=this['_lastPointer'])==null?void 0x0:_0x1bb43f[_0x1fcedc(0x253)])===_0x337e03[_0x1fcedc(0x253)]||this[_0x1fcedc(0x329)]['forEach'](_0x4df644=>{const _0x735feb=_0x1fcedc;_0x4df644[_0x735feb(0x13e)](_0x337e03);});},0x64));});}['_updateCollabCursors'](_0x2f1118,_0x4664e4){const _0xa87cea=_0xc538c3;var _0x180a26;const _0x2cdb5c=(_0x180a26=this[_0xa87cea(0x33f)][_0xa87cea(0x304)]())==null?void 0x0:_0x180a26[_0xa87cea(0x2f2)];if(!_0x2cdb5c)return;const _0x1335ad=this[_0xa87cea(0x241)]();if(!_0x1335ad)return;this[_0xa87cea(0x329)]['forEach'](_0xb8c01a=>{const _0x173b91=_0xa87cea;_0xb8c01a[_0x173b91(0x258)]();});const {scene:_0x9cc8f1}=_0x1335ad,_0x3e3bc8=on(Array[_0xa87cea(0x274)](_0x4664e4['values']()))[_0xa87cea(0x1d9)](_0x3d3bf1=>{const _0x33e634=_0xa87cea,{color:_0x2e67d6,range:_0x4e6f22,name:_0x329060,selection:_0x1a3d87,sheetID:_0x2bebb0}=_0x3d3bf1,{startColumn:_0xf53a14,startRow:_0x5bc97c,endColumn:_0x482789,endRow:_0x1866aa}=_0x4e6f22,_0x47b17c=_0x10b5f8(_0x5bc97c,_0xf53a14,_0x9cc8f1,_0x2cdb5c),_0x224d53=_0x10b5f8(_0x1866aa,_0x482789,_0x9cc8f1,_0x2cdb5c),{columnHeaderHeightAndMarginTop:_0x46ff78}=_0x2cdb5c,{startX:_0x56eb09,startY:_0x4a1db7}=_0x47b17c,{endX:_0x2cc8b9,endY:_0x441028}=_0x224d53,_0x5a25b8=_0x2cc8b9-_0x56eb09,_0x1efabb=_0x441028-_0x4a1db7,_0x345a87={'labelPosition':_0x4a1db7-_0x46ff78>=Q?_0x33e634(0x18d):_0x33e634(0x315),'sheetID':_0x2bebb0,'range':_0x4e6f22,'color':_0x2e67d6,'name':_0x329060,'selection':_0x1a3d87,'left':_0x56eb09,'top':_0x4a1db7,'width':_0x5a25b8,'height':_0x1efabb,'evented':!0x1,'zIndex':rn};return new tn(_0x329060,_0x345a87);});_0x9cc8f1[_0xa87cea(0x24e)](_0x3e3bc8,qi),this['_cursors']=new Set(_0x3e3bc8);}['_removeCollabCursors'](){const _0x161573=_0xc538c3;var _0x46feda;(_0x46feda=this['_cursors'])==null||_0x46feda[_0x161573(0x1d1)](_0x5e02ef=>_0x5e02ef[_0x161573(0x16f)]());}[_0xc538c3(0x241)](){const _0x5e6fdb=_0xc538c3;return _0x2345a3(this[_0x5e6fdb(0x1f3)][_0x5e6fdb(0x19f)],this[_0x5e6fdb(0x1f3)]);}};ke=nn([be(0x1,_0x510c8b(_0xb50a4)),be(0x2,_0x510c8b(H)),be(0x3,_0x510c8b(_0x1b304e))],ke);function on(_0x57330e){const _0x6bde04=_0xc538c3,_0x3879f9=new Map();return _0x57330e[_0x6bde04(0x1d1)](_0x323918=>{const _0x32524b=_0x6bde04;if(_0x3879f9[_0x32524b(0x2cd)](_0x323918[_0x32524b(0x115)])){const _0x53641c=_0x3879f9[_0x32524b(0x123)](_0x323918['selection']);_0x53641c[_0x32524b(0x250)]+=',\x20'+_0x323918[_0x32524b(0x250)];}else _0x3879f9['set'](_0x323918[_0x32524b(0x115)],_0x323918);}),Array[_0x6bde04(0x274)](_0x3879f9['values']());}var an=Object[_0xc538c3(0x305)],cn=(_0x2b6df1,_0x3fc3df,_0x34760e,_0x3cbcf2)=>{const _0x1b2938=_0xc538c3;for(var _0xf12ebf=_0x3cbcf2>0x1?void 0x0:_0x3cbcf2?an(_0x3fc3df,_0x34760e):_0x3fc3df,_0x439137=_0x2b6df1[_0x1b2938(0x20c)]-0x1,_0x2def3a;_0x439137>=0x0;_0x439137--)(_0x2def3a=_0x2b6df1[_0x439137])&&(_0xf12ebf=_0x2def3a(_0xf12ebf)||_0xf12ebf);return _0xf12ebf;},F=(_0x6aa459,_0x55545f)=>(_0x8339ce,_0x10e4bb)=>_0x55545f(_0x8339ce,_0x10e4bb,_0x6aa459);let _e=class extends _0x141f9b{constructor(_0x4ad849,_0x288100,_0x5a8e80,_0x1b2a2d,_0xfeb89e,_0x29a906){const _0x3e1f03=_0xc538c3;super(),this[_0x3e1f03(0x284)]=_0x4ad849,this[_0x3e1f03(0x187)]=_0x288100,this[_0x3e1f03(0x1ea)]=_0x5a8e80,this[_0x3e1f03(0x127)]=_0x1b2a2d,this[_0x3e1f03(0x2aa)]=_0xfeb89e,this[_0x3e1f03(0x200)]=_0x29a906,this[_0x3e1f03(0x26e)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x33ed6c=_0xc538c3;this['disposeWithMe'](this[_0x33ed6c(0x284)]['registerBeforeClose'](()=>{const _0xc82b7f=_0x33ed6c;if(this[_0xc82b7f(0x187)][_0xc82b7f(0x116)]['size'])return this[_0xc82b7f(0x200)]['t'](_0xc82b7f(0x217));}));}[_0xc538c3(0x2e8)](){const _0xaefbb3=_0xc538c3;this[_0xaefbb3(0x247)](this['_collaborationUIEventService'][_0xaefbb3(0x285)][_0xaefbb3(0x237)](_0x3cc166=>{const _0x36512a=_0xaefbb3;_0x3cc166['id']===_0x3766ca['OTHER_CLIENT_EDITING']&&this[_0x36512a(0x127)][_0x36512a(0x1bf)]({'type':_0x5d4f2e['Warning'],'content':this['_localeService']['t'](_0x36512a(0x293))}),_0x3cc166['id']===_0x3766ca['CLOSE_ROOM']&&this['_messageService'][_0x36512a(0x1bf)]({'type':_0x5d4f2e[_0x36512a(0x12e)],'content':this['_localeService']['t'](_0x36512a(0x142))}),_0x3cc166['id']===_0x3766ca[_0x36512a(0x1b8)]&&this[_0x36512a(0x2aa)]['show']({'title':this[_0x36512a(0x200)]['t']('permission.title'),'content':this[_0x36512a(0x200)]['t'](_0x36512a(0x1c3)),'type':'error','duration':0x0}),_0x3cc166['id']===_0x3766ca['CONFLICT']&&this[_0x36512a(0x127)][_0x36512a(0x1bf)]({'type':_0x5d4f2e[_0x36512a(0x2a3)],'content':this[_0x36512a(0x200)]['t'](_0x36512a(0x142))+'('+_0x3cc166['data']+')'}),_0x3cc166['id']===_0x3766ca[_0x36512a(0x19c)]&&this[_0x36512a(0x127)][_0x36512a(0x1bf)]({'type':_0x5d4f2e[_0x36512a(0x12e)],'content':this[_0x36512a(0x200)]['t'](_0x3cc166[_0x36512a(0x21b)]||'')}),_0x3cc166['id']===_0x3766ca['SOCKET_FAILED_RETRY']&&this[_0x36512a(0x127)][_0x36512a(0x1bf)]({'type':_0x5d4f2e[_0x36512a(0x12e)],'content':this[_0x36512a(0x200)]['t'](_0x36512a(0x2b0))}),_0x3cc166['id']===_0x3766ca['SOCKET_FAILED']&&this[_0x36512a(0x127)][_0x36512a(0x1bf)]({'type':_0x5d4f2e['Error'],'content':this[_0x36512a(0x200)]['t'](_0x36512a(0x31c))}),_0x3cc166['id']===_0x3766ca[_0x36512a(0x229)]&&this[_0x36512a(0x127)][_0x36512a(0x1bf)]({'type':_0x5d4f2e[_0x36512a(0x2a3)],'content':this[_0x36512a(0x200)]['t'](_0x36512a(0x10a))});}));}};_e=cn([F(0x0,_0x66abe),F(0x1,_0x3f506f),F(0x2,_0x510c8b(_0x420c4a)),F(0x3,_0x28f98f),F(0x4,_0x3942d9),F(0x5,_0x510c8b(_0x1712bf))],_e);var _n=Object[_0xc538c3(0x305)],ln=(_0x195480,_0x410429,_0x2686ab,_0x3a189c)=>{const _0x5a080e=_0xc538c3;for(var _0x5f2a7d=_0x3a189c>0x1?void 0x0:_0x3a189c?_n(_0x410429,_0x2686ab):_0x410429,_0xbd08a3=_0x195480[_0x5a080e(0x20c)]-0x1,_0x3e0634;_0xbd08a3>=0x0;_0xbd08a3--)(_0x3e0634=_0x195480[_0xbd08a3])&&(_0x5f2a7d=_0x3e0634(_0x5f2a7d)||_0x5f2a7d);return _0x5f2a7d;},ne=(_0x5f2f71,_0x737a41)=>(_0x5e4b50,_0x2f43cd)=>_0x737a41(_0x5e4b50,_0x2f43cd,_0x5f2f71);let le=class extends _0x141f9b{constructor(_0x4b733c,_0x48d09d,_0x1dfd9e,_0xfd8d74){const _0x41fdf3=_0xc538c3;super(),_(this,'_memberID'),(this[_0x41fdf3(0x26a)]=_0x4b733c,this['_httpService']=_0x48d09d,this[_0x41fdf3(0x324)]=_0x1dfd9e,this[_0x41fdf3(0x25a)]=_0xfd8d74,this[_0x41fdf3(0x16b)]());}['_init'](){const _0x3e917e=_0xc538c3;this[_0x3e917e(0x280)](),this[_0x3e917e(0xfb)](),this[_0x3e917e(0x124)](),this['_initUserListener']();}['_initUserListener'](){const _0xb1b9f=_0xc538c3;this[_0xb1b9f(0x247)](this[_0xb1b9f(0x25a)]['socket$'][_0xb1b9f(0x237)](_0x26aaec=>{const _0x4f1657=_0xb1b9f;this[_0x4f1657(0x164)]=_0x26aaec==null?void 0x0:_0x26aaec[_0x4f1657(0x223)];}));}[_0xc538c3(0x280)](){const _0x5a095b=_0xc538c3,_0x5de7ae=_0xb0e040=>{const _0x127f63=_0x3d2b;var _0x588579;this[_0x127f63(0x199)](_0x127f63(0x2a1),'[Window\x20Error]:\x20'+_0xb0e040['message']+_0x127f63(0x193)+_0xb0e040[_0x127f63(0x129)]+':'+_0xb0e040['lineno']+':'+_0xb0e040[_0x127f63(0x26b)]+'\x0a'+(((_0x588579=_0xb0e040[_0x127f63(0x2a1)])==null?void 0x0:_0x588579[_0x127f63(0x2b7)])||''));};window[_0x5a095b(0x20d)](_0x5a095b(0x2a1),_0x5de7ae),this[_0x5a095b(0x247)](()=>{const _0x41bf65=_0x5a095b;window['removeEventListener'](_0x41bf65(0x2a1),_0x5de7ae);});}[_0xc538c3(0xfb)](){const _0x195f6b=_0xc538c3,_0xcd893d=_0x150319=>{const _0x2753ae=_0x3d2b;this[_0x2753ae(0x199)](_0x2753ae(0x2a1),_0x2753ae(0x1c0)+_0x150319['reason']);};window[_0x195f6b(0x20d)](_0x195f6b(0x316),_0xcd893d),this[_0x195f6b(0x247)](()=>{const _0x22a6ba=_0x195f6b;window[_0x22a6ba(0x300)](_0x22a6ba(0x316),_0xcd893d);});}[_0xc538c3(0x124)](){const _0x255072=_0xc538c3,_0x59b7fa=this[_0x255072(0x324)][_0x255072(0x2a1)][_0x255072(0x158)](this[_0x255072(0x324)]);this['_logService'][_0x255072(0x2a1)]=(..._0x50acbe)=>{const _0x10139a=_0x255072,_0x5e361e=_0x50acbe[_0x10139a(0x1d9)](_0x260ca0=>_0x260ca0 instanceof Error?_0x260ca0[_0x10139a(0x21c)]+'\x0a'+_0x260ca0[_0x10139a(0x2b7)]:String(_0x260ca0))[_0x10139a(0x133)]('\x20');this['_uploadLog'](_0x10139a(0x2a1),'[LogService\x20Error]:\x20'+_0x5e361e),_0x59b7fa(..._0x50acbe);},this[_0x255072(0x247)](()=>{const _0x3804db=_0x255072;this[_0x3804db(0x324)][_0x3804db(0x2a1)]=_0x59b7fa;});}[_0xc538c3(0x199)](_0x22e7ab,_0x18eca0){const _0xf3aadf=_0xc538c3;try{const _0x1ec6d8={'userId':this[_0xf3aadf(0x164)],'logLabel':_0x22e7ab,'content':_0x18eca0};this[_0xf3aadf(0x2b1)][_0xf3aadf(0x21f)](_0xf3aadf(0x260),{'body':_0x1ec6d8})[_0xf3aadf(0x1ab)](()=>{});}catch{}}};le=ln([ne(0x0,_0x510c8b(_0xdfb0d7)),ne(0x1,_0x510c8b(_0x3d0ff2)),ne(0x2,_0x31033c),ne(0x3,_0x510c8b(_0x154591))],le);const hn='collaboration-client-ui.config',_t={};var un=Object[_0xc538c3(0x305)],dn=(_0x3c68df,_0x5314fd,_0x132fda,_0x1828fd)=>{const _0x1e00d2=_0xc538c3;for(var _0x214f54=_0x1828fd>0x1?void 0x0:_0x1828fd?un(_0x5314fd,_0x132fda):_0x5314fd,_0x542f66=_0x3c68df[_0x1e00d2(0x20c)]-0x1,_0x566ddc;_0x542f66>=0x0;_0x542f66--)(_0x566ddc=_0x3c68df[_0x542f66])&&(_0x214f54=_0x566ddc(_0x214f54)||_0x214f54);return _0x214f54;},lt=(_0x3177f5,_0x45b524)=>(_0x1e710b,_0x10d2a7)=>_0x45b524(_0x1e710b,_0x10d2a7,_0x3177f5);let he=class{constructor(_0x406f2d,_0x4406f4){const _0x3f863e=_0xc538c3;this[_0x3f863e(0x2f7)]=_0x406f2d,this['_renderManagerService']=_0x4406f4;}['transformIMECache'](_0x39f5db){const _0x4e1509=_0xc538c3;this[_0x4e1509(0x243)](_0x39f5db),this[_0x4e1509(0x345)](_0x39f5db);}[_0xc538c3(0x24b)](_0x10eca6){const _0x286a6a=_0xc538c3,{unitID:_0x2c23f9}=_0x10eca6,_0x5b13d8=this[_0x286a6a(0x181)][_0x286a6a(0x102)](_0x2c23f9)['with'](_0xfd378),{redoCache:_0x5530e1}=_0x5b13d8['getUndoRedoMutationParamsCache']();if(_0x5530e1[_0x286a6a(0x20c)]===0x0)return _0x10eca6;let _0x42522c=_0x18b1b1[_0x286a6a(0x160)](_0x10eca6[_0x286a6a(0x14e)][0x0]);for(let _0x497622=0x0;_0x497622<_0x5530e1[_0x286a6a(0x20c)];_0x497622++){const _0xa58ae7={'id':_0x286a6a(0x234),'params':{..._0x5530e1[_0x497622]}},_0x286670=this['_transformService'][_0x286a6a(0x244)](_0x42522c,_0xa58ae7,!0x1);if(_0x53c9de(_0x286670))throw _0x286670[_0x286a6a(0x2a1)];_0x42522c=_0x286670['m1Prime'];}return{..._0x18b1b1[_0x286a6a(0x160)](_0x10eca6),'mutations':[_0x42522c]};}[_0xc538c3(0x243)](_0x2a8cdf){const _0x1bfa45=_0xc538c3,{unitID:_0x13bb0e}=_0x2a8cdf,_0x216f44=this[_0x1bfa45(0x181)][_0x1bfa45(0x102)](_0x13bb0e)[_0x1bfa45(0x196)](_0xfd378),{undoCache:_0x557312,redoCache:_0xb5b52c}=_0x216f44[_0x1bfa45(0x1db)]();if(_0x557312[_0x1bfa45(0x20c)]===0x0||_0xb5b52c[_0x1bfa45(0x20c)]===0x0)return;const _0x1c426e=[],_0x49e896=[];let _0x1e6921=_0x18b1b1[_0x1bfa45(0x160)](_0x2a8cdf[_0x1bfa45(0x14e)][0x0]),_0x22305b=_0x18b1b1[_0x1bfa45(0x160)](_0x2a8cdf[_0x1bfa45(0x14e)][0x0]);for(let _0x2b0672=_0x557312[_0x1bfa45(0x20c)]-0x1;_0x2b0672>=0x0;_0x2b0672--){const _0x1f81c0={'id':_0x1bfa45(0x234),'params':{..._0x557312[_0x2b0672]}},_0x48219d={'id':_0x1bfa45(0x234),'params':{..._0xb5b52c[_0x2b0672]}},_0x56d150=this[_0x1bfa45(0x2f7)]['transformMutation'](_0x1e6921,_0x1f81c0,!0x1),_0x2f40d4=this['_transformService'][_0x1bfa45(0x244)](_0x22305b,_0x48219d,!0x1);if(_0x53c9de(_0x56d150))throw _0x56d150['error'];if(_0x53c9de(_0x2f40d4))throw _0x2f40d4[_0x1bfa45(0x2a1)];_0x1c426e['unshift'](_0x56d150[_0x1bfa45(0x222)]['params']),_0x49e896['unshift'](_0x2f40d4[_0x1bfa45(0x222)]['params']),_0x1e6921=_0x56d150['m1Prime'],_0x22305b=_0x2f40d4['m1Prime'];}_0x216f44[_0x1bfa45(0x272)]({'undoCache':_0x1c426e,'redoCache':_0x49e896});}[_0xc538c3(0x345)](_0x52af8a){const _0x947c62=_0xc538c3,{unitID:_0x27e3f4}=_0x52af8a,_0x4de329=this[_0x947c62(0x181)]['getRenderById'](_0x27e3f4)[_0x947c62(0x196)](_0xfd378),_0x4a17aa=_0x4de329['getActiveRange']();if(_0x4a17aa==null)return;const _0x56f8d7=[{'id':_0x947c62(0x234),'params':{'unitId':_0x52af8a['unitID'],'actions':null,'textRanges':[_0x4a17aa]}}],_0x25b8cb=this[_0x947c62(0x2f7)]['transformMutationsWithChangeset'](_0x52af8a,_0x56f8d7);if(!_0x250e22(_0x25b8cb))throw _0x25b8cb[_0x947c62(0x2a1)];const _0x289749=_0x25b8cb[_0x947c62(0x222)][0x0]['params'][_0x947c62(0x282)];Array[_0x947c62(0x295)](_0x289749)&&_0x289749[_0x947c62(0x20c)]&&_0x4de329['setActiveRange'](_0x289749[0x0]);}};he=dn([lt(0x0,_0x528d6a),lt(0x1,_0x1f2034)],he);var Sn=Object[_0xc538c3(0x305)],In=(_0x345a5b,_0x4788df,_0x28c7bb,_0x387506)=>{for(var _0x5ecb39=_0x387506>0x1?void 0x0:_0x387506?Sn(_0x4788df,_0x28c7bb):_0x4788df,_0x212555=_0x345a5b['length']-0x1,_0x28d5bc;_0x212555>=0x0;_0x212555--)(_0x28d5bc=_0x345a5b[_0x212555])&&(_0x5ecb39=_0x28d5bc(_0x5ecb39)||_0x5ecb39);return _0x5ecb39;},Le=(_0x42e86b,_0x1a0449)=>(_0x7efcba,_0x17d650)=>_0x1a0449(_0x7efcba,_0x17d650,_0x42e86b);function _0x1927(){const _0x42e255=['_collaborationUIEventService','getCurrentUnitForType','_toggleOnline','_getAnchorBounding','redoState','getCurrentRevOfUnit','ERROR_AGAIN','USER_NOT_FOUND','now','_context','code','_eventUnsubscribe','_checkCalculationAvailable','TOO_MANY_REQUESTS','YUUMI_NO_CUBOID_FOR_QUESTION','_scheduleHeartbeat','INTERNAL_ERROR','onPointerLeave$','_currentUsage','_getSessionTicket','getStateCache','green.600','_localeService','_labelPosition','_initStatusComponent','urlChange$','addHandlerCallback','beforeCommandExecuted','body','engine','ENTITLE_COUPON_USED_UP','_getScale','_name','sessionTicket','length','addEventListener','REDEMPTION_INVALID_CODE','295740aczzXN','endRow','functionsExecutedState','sheetID','TEXT','toRgbString','clearInterval','unitId','collaboration.offline-data-not-saved','tag','fillStyle','VIEW_MAIN','data','message','_docSkeleton','colorChannel1','post','onRendered','current','m2Prime','memberID','onPointerEnter$','defIds','LICENSE_MAX_UNITS_EXCEEDED','hovered','APPLY_NON_SEQUENTIAL_REVISION','SUBMIT_CHANGESET_TIMEOUT','_colorIndex','docStateChange$','subunit','init','ENSURE_SNAPSHOT_EXECUTION','_updateLocalCursor','...','idSuffix','_startCalculationLimit','setItem','doc.mutation.rich-text-editing','WECHAT_HAS_BEEN_BOUND','UPDATE_CURSOR','subscribe','INVITE_CODE_REQUIRED','collabStatus.conflict','_scheduleSaving','stage','_status$','drawWith','RemoveColCommandId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','search','_getSheetObject','_scheduleClearOtherTimer','_transformUndoRedoStack','transformMutation','/universer-api/license/formula/limit/start','displayName','disposeWithMe','pipe','parse','_registerRenderDependencies','transformRemoteChangeset','_docSyncEditingCollabCursorService','_startSheetCollabCursor','addObjects','YUUMI_SUBSCRIPTION_NOT_FOUND','name','disposeUnit','some','row','roomMembers','result','restore','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','makeDirty','split','_collaborationSessionService','stageInfo','width','dirtyRanges','getSkeleton','_drawRectRange','/universer-api/frontend/logs','_getSaveTimeout','_docTransformIMECacheService','searchParams','isActive','_removeClearOtherTimer','_docTransformStateCacheService','ACTIVE_UNIT_EVENT_CHANNEL','_initEntityListener','_id','_injector','colno','xlink:href','replaceDocRanges','_setupBeforeClosingHandler','getRelativeToViewportCoord','asObservable','hide','setUndoRedoMutationParamsCache','add','from','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','updateOfflineData','APPLY_REJECT','EMAIL_VERIFY_CODE_MISMATCH','_releaseCalculationLimit','_setupSubUnitSync','EMAIL_HAS_BEEN_BOUND','_disabled','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','REDEMPTION_CODE_FULLY_REDEEMED','_initWindowErrorListener','_toggleOffline','textRanges','univer-mr-2\x20univer-flex\x20univer-text-xl','_beforeCloseService','event$','_cursorInfo$','PAYMENT_CHANNEL_NOT_SUPPORT','_syncEditingCollabCursorService','delete','getMember','ranges','yellow.400','/universer-api/license/formula/limit/done','getUnitStatus$','UNIVER_SHEET','transformSelections','UNAUTHENTICATED','executionId','collaboration.single-unit.warning','_pollingInterval','isArray','M0\x200H16V16H0z','getColorFromTheme','endColumn','closePath','mask','_initCommandExecutedListener','collabCursorState$','roomMembers$','push','location','formula.calculation.waiting','error','children','Error','ENTITLE_INVALID_COUPON_CODE','_lastResponseTimestamp','_startDocCollabCursor','PENDING','getConfig','_removeCollabCursors','_notificationService','_roomMembers$','setShapeProps','_refreshCollabCursors','ALREADY_EXISTS','Unknown\x20user','session.will-retry','_httpService','getValue','CONFLICT','_backgroundColor','subUnitId','1000083VNFsIz','stack','MOBILE_VERIFY_CODE_MISMATCH','origin','subscribeEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','InsertRangeMoveRightCommandId','resize','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','loadUnit','_revisionService','_imageIoService','12nLJlvy','transformByState','collab-text-range-','cursorInfo','collabStatus.syncing','rgba(255,\x20255,\x20255,\x200.01)','ENTITLE_INSUFFICIENT_QUOTA','/run/','runId','MoveRangeCommandId','INVITE_CODE_ALREADY_BOUND','has','_instanceService','getCollabCursors$','LICENSE_IMPORT_SIZE_EXCEEDED','UNDEFINED','getUnhiddenWorksheets','InsertColCommandId','svg','round','limitInfo','UNRECOGNIZED','_themeService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','text','parseInt','FromArray','min','syncEditingCollabCursor','transformIMECache','INVALID_ARGUMENT','source','white','_online','status$','getViewport','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_ensureSubject','_initEvent','currentTheme$','defineProperty','unitID','_taskIds','range','_saveTaskMap','_handleJoinEvent','getDocRanges','NO_OTHER_CLIENTS_EDITING','skeleton','lineTo','CURRENT_STATUS_CANNOT_OPERATE','blue.400','RECT','_transformService','translate(.97)','editingUnit','getFocusedUnit','_checkAndWaitForCalculationPermission','_cachedData','REDEMPTION_CODE_NOT_STARTED','setConfig','REDEMPTION_USER_NOT_ELIGIBLE','removeEventListener','_updateCollabCursors','_saveCache','collabStatus.synced','getCurrent','getOwnPropertyDescriptor','_handleHeartbeatEvent','then','_updateSubUnitFromURLParams','_document','0\x200\x2016\x2016','_docClipboardService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getAncestorScale','url(#off-line-icon_clip0_910_343)','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','[CollaborationDataLoaderController]','none','registerRefRange','_collabCursorController','_docSkeletonManagerService','bottom','unhandledrejection','getUnitId','APPLY_REVISION_CONFILICT','clipPath','use','YUUMI_AI_RUN_FAILED','session.connection-failed','LICENSE_DISTRO_REJECTED','_memberService','history','entries','getActiveSheet','_shapes','_lastPointer','_logService','OffLineIcon','Failed','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','replace','_cursors','createInstance','url(#on-line-icon_clip0_910_349)','NOT_FOUND','executeCommand','whenReady','save','fillRule','symbol','onPointerMove$','_entities','_unitOnClients','START_CALCULATION','_send','_commandService','collab-text-anchor-','removeParam','assign','_registerDependencies','_hasFormulaInDirtyRanges','USERS_LEAVE','getUnit','_sheetSkeletonManagerService','OTHER_CLIENTS_EDITING','getTypeOfUnitDisposed$','setInterval','OFFLINE','set','_transformPreviousActiveRange','triggerDblclick','_heartbeatTimer','_drawTextRange','trim','params','cursorInfo$','214423iOoXca','currentColor','arc','focused$','ENTITLE_CAN_NOT_BUY_LOWER_OTP','measureText','_initUnhandledRejectionListener','_hovered','_collabSessionService','YUUMI_UNABLE_LOAD_URL','on-line-icon','debug','contains','getRenderById','color','NOT_COLLAB','12CLkRIr','invokeId','INVITE_CODE_HAS_BEEN_UES','getCollabEntity$','_initCommandInterceptor','session.collaboration-timeout','selections','_transformHistoryAndStateStack','getSheetId','_onRefRangeChange','MOBILE_HAS_BEEN_BOUND','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onCursorDelete','_handleHover','_clearPolling','_docTransformSelectionsService','selection','saveTaskMap','off-line-icon_clip0_910_343','imageSourceType','_scene','_render','getSheetBySheetId','588972UzRNUw','collabStatus.offline','startFormulaLimitUrl','findNodePositionByCharIndex','collabStatus.notCollab','RemoveRowCommandId','type','get','_monkeyPatchLogService','max','off-line-icon','_messageService','setParam','filename','pushState','_configService','getUniverSheetInstance','registerComponent','Warning','1em','0\x200\x2017\x2016','_anchor','_hideTimer','join','194785lklIPF','REDEMPTION_CODE_HAS_BEEN_CREATED','_dataLoaderService','href','m1Prime','_handleEvent','labelPosition','LOGIN_FAILED','/universer-api/license/formula/limit/status','send','onMouseMove','random','_unitStatus','_urlService','collaboration.closeRoom','_initDependencies','complete','setAlpha','YUUMI_TABLE_NOT_FOUND_IN_UNIT','currentSkeleton$','?taskId=','requireSession','YUUMI_ALL_TABLES_IS_INVALID','_cursor','ticket','_textBubble','mutations','_localStorageService','fillText','REDEMPTION_CODE_INACTIVE','registerRenderModule','getParam','_applyCommand','uni.network.url-service','_clearOtherTimers','ONLINE','bind','ENTITLE_REPORT_LIMIT_EXCEED','newValue','dispose$','formula.calculation.unable','http://www.w3.org/2000/svg','_colorAssignService','APPLY_PERMISSION_DENIED','deepClone','UniverIcon','startRow','addObject','_memberID','_createSocketURL','_anchorDot','FETCH_MISS','_drawAnchor','_selfUnitIDs','sessionStatus$','_init','_collaborationController','fill','getVpScrollXYInfoByPosToVp','dispose','path','next','_hover','_assignedColors','includes','_doCreateSocket','toString','on-line-icon_clip0_910_349','CONNECTOR_DATA_TOO_LARGE','runOnServer','attrs','_showGuardMessage','collab-rect-range-','exhaustSavingTask','YUUMI_ASYNCIO_CANCELLED','USER_NOT_INVITED_CODE','onLocalMutation','_renderManagerService','_refRangeService','AUTHORIZE_CODE_ILLEGAL','onTransformChange$','evenodd','YUUMI_RATE_OVER_LIMIT','_localCacheService','clearTimeout','collab-client.tooltip.reconnect','size','DATA_SOURCE_TOO_LARGE','_initStatusListener','top','column','_range','black','_getMergeRange','_config','\x20at\x20','moveTo','UNIVER_DOC','with','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','replaceState','_uploadLog','_color','_maxFormulaLimit','JOIN_ROOM_FAILED','_entityInit$','AWAITING_WITH_PENDING','unit','height','startColumn','_session','getCurrentSelections','purple.300','enableLocalCache','releaseFormulaLimitUrl','LOGIN_TOKEN_PROCESSING_FAILED','setTimeout','getRangePointData','popstate','catch','ENTITLE_COUPON_EXPIRED','COMPLETION_FINISHED','642822tDiLht','8ERbSSh','getMemberID','reconnect','_univerInstanceService','InsertRowCommandId','CHANGESET_REVISION_CONFILICT','entityInit$','getTypeOfUnitAdded$','95643poynMe','PERMISSION_DENIED','_setFormulaLimitStatus','USER_IS_ANONYMOUS','transformMutationsWithChangeset','transformStateCache','eventID','_cursorShapes','show','[Unhandled\x20Rejection]:\x20','div','key','permission.content','onCommandExecuted','createSocket','SNAPSHOT_INVALID_SNAPSHOT','transform','defs','onStarting','LICENSE_EXPORT_SIZE_EXCEEDED','collabStatus.fetchMiss','stringify','70NUdnaG','wsSessionTicketUrl','InsertRangeMoveDownCommandId','getMergeData','forEach','assignAColorForMemberID','_collabCursorState$','disableLocalCache','formula.calculation.started','saveOfflineData','string','APPLY_DUPLICATED','map','beginPath','getUndoRedoMutationParamsCache','REDEMPTION_USER_REDEEM_TIMES_EXCEED','url(#$1','ENTITLE_CHAT_LIMIT_EXCEED','_getFormulaLimitStatus','undoState','Success','_docStateChangeManagerService','_initResize','OnLineIcon','ENTITLE_DUP_SUBSCRIPTION','application/json','unsubscribe','_updateURLWithCurrentState','unshift'];_0x1927=function(){return _0x42e255;};return _0x1927();}let ue=class{constructor(_0x346595,_0xc5f495,_0x3d976b){const _0x1af74c=_0xc538c3;this[_0x1af74c(0x26a)]=_0x346595,this[_0x1af74c(0x2f7)]=_0xc5f495,this[_0x1af74c(0x1e2)]=_0x3d976b;}[_0xc538c3(0x1bc)](_0x259c20){const _0x5197c4=_0xc538c3;this[_0x5197c4(0x10c)](_0x259c20);}[_0xc538c3(0x24b)](_0x5ab0df){const _0x1bd90d=_0xc538c3,{unitID:_0x208858}=_0x5ab0df,{collaboration:_0x443a02}=this['_docStateChangeManagerService'][_0x1bd90d(0x1fe)](_0x208858);if(_0x443a02[_0x1bd90d(0x20c)]===0x0)return _0x5ab0df;let _0x204b79=_0x18b1b1[_0x1bd90d(0x160)](_0x5ab0df[_0x1bd90d(0x14e)][0x0]);for(let _0x21a719=0x0;_0x21a719<_0x443a02['length'];_0x21a719++){const _0x9057ac={'id':_0x1bd90d(0x234),'params':{'unitId':_0x443a02[_0x21a719][_0x1bd90d(0x216)],..._0x443a02[_0x21a719][_0x1bd90d(0x1ee)]}},_0x37745c=this['_transformService'][_0x1bd90d(0x244)](_0x204b79,_0x9057ac,!0x1);if(_0x53c9de(_0x37745c))throw _0x37745c[_0x1bd90d(0x2a1)];_0x204b79=_0x37745c[_0x1bd90d(0x138)];}return{..._0x18b1b1['deepClone'](_0x5ab0df),'mutations':[_0x204b79]};}[_0xc538c3(0x10c)](_0x293a7f){const _0x3050ca=_0xc538c3,{unitID:_0x326af7}=_0x293a7f,{history:_0x1c3e75,collaboration:_0x29614e}=this[_0x3050ca(0x1e2)]['getStateCache'](_0x326af7);if(_0x1c3e75['length']===0x0&&_0x29614e['length']===0x0)return;const _0x8319c8=[],_0x22b4da=[];let _0x4a4a1f=_0x18b1b1[_0x3050ca(0x160)](_0x293a7f[_0x3050ca(0x14e)][0x0]),_0x388002=_0x18b1b1[_0x3050ca(0x160)](_0x293a7f[_0x3050ca(0x14e)][0x0]);for(let _0xeff49f=_0x1c3e75['length']-0x1;_0xeff49f>=0x0;_0xeff49f--){const _0x1f3f3e={'id':_0x3050ca(0x234),'params':{'unitId':_0x1c3e75[_0xeff49f][_0x3050ca(0x216)],..._0x1c3e75[_0xeff49f][_0x3050ca(0x1e0)]}},_0x218e36={'id':_0x3050ca(0x234),'params':{'unitId':_0x1c3e75[_0xeff49f]['unitId'],..._0x1c3e75[_0xeff49f]['redoState']}},_0x4c7330=this[_0x3050ca(0x2f7)]['transformMutation'](_0x4a4a1f,_0x1f3f3e,!0x1),_0x5b5435=this[_0x3050ca(0x2f7)][_0x3050ca(0x244)](_0x388002,_0x218e36,!0x1);if(_0x53c9de(_0x4c7330))throw _0x4c7330[_0x3050ca(0x2a1)];if(_0x53c9de(_0x5b5435))throw _0x5b5435[_0x3050ca(0x2a1)];_0x8319c8[_0x3050ca(0x1e9)]({..._0x1c3e75[_0xeff49f],'undoState':_0x4c7330[_0x3050ca(0x222)][_0x3050ca(0x34a)],'redoState':_0x5b5435['m2Prime'][_0x3050ca(0x34a)]}),_0x4a4a1f=_0x4c7330[_0x3050ca(0x138)],_0x388002=_0x5b5435[_0x3050ca(0x138)];}_0x4a4a1f=_0x18b1b1['deepClone'](_0x293a7f[_0x3050ca(0x14e)][0x0]),_0x388002=_0x18b1b1['deepClone'](_0x293a7f[_0x3050ca(0x14e)][0x0]);for(let _0x4e0a3c=_0x29614e['length']-0x1;_0x4e0a3c>=0x0;_0x4e0a3c--){const _0x1ba49c={'id':_0x3050ca(0x234),'params':{'unitId':_0x29614e[_0x4e0a3c]['unitId'],..._0x29614e[_0x4e0a3c]['undoState']}},_0x846258={'id':_0x3050ca(0x234),'params':{'unitId':_0x29614e[_0x4e0a3c][_0x3050ca(0x216)],..._0x29614e[_0x4e0a3c]['redoState']}},_0x139ae8=this['_transformService'][_0x3050ca(0x244)](_0x4a4a1f,_0x1ba49c,!0x1),_0x58ab5c=this['_transformService'][_0x3050ca(0x244)](_0x388002,_0x846258,!0x1);if(_0x53c9de(_0x139ae8))throw _0x139ae8['error'];if(_0x53c9de(_0x58ab5c))throw _0x58ab5c[_0x3050ca(0x2a1)];_0x22b4da[_0x3050ca(0x1e9)]({..._0x29614e[_0x4e0a3c],'undoState':_0x139ae8[_0x3050ca(0x222)][_0x3050ca(0x34a)],'redoState':_0x58ab5c[_0x3050ca(0x222)][_0x3050ca(0x34a)]}),_0x4a4a1f=_0x139ae8[_0x3050ca(0x138)],_0x388002=_0x58ab5c[_0x3050ca(0x138)];}this[_0x3050ca(0x1e2)]['setStateCache'](_0x326af7,{'history':_0x8319c8,'collaboration':_0x22b4da});}};ue=In([Le(0x0,_0x510c8b(_0xdfb0d7)),Le(0x1,_0x528d6a),Le(0x2,_0x510c8b(_0x41950e))],ue);var mn=Object['getOwnPropertyDescriptor'],fn=(_0x643152,_0x2e8d52,_0x26152e,_0x3747b6)=>{const _0x10711e=_0xc538c3;for(var _0x31678c=_0x3747b6>0x1?void 0x0:_0x3747b6?mn(_0x2e8d52,_0x26152e):_0x2e8d52,_0x1ba9d3=_0x643152[_0x10711e(0x20c)]-0x1,_0x553841;_0x1ba9d3>=0x0;_0x1ba9d3--)(_0x553841=_0x643152[_0x1ba9d3])&&(_0x31678c=_0x553841(_0x31678c)||_0x31678c);return _0x31678c;},ht=(_0x58e0e7,_0x4dcbcb)=>(_0x3e037f,_0x4094e7)=>_0x4dcbcb(_0x3e037f,_0x4094e7,_0x58e0e7);let de=class{constructor(_0x314ce9,_0x4e3698){const _0x2b64a4=_0xc538c3;this[_0x2b64a4(0x26a)]=_0x314ce9,this['_transformService']=_0x4e3698;}[_0xc538c3(0x290)](_0x4a47b8){const _0x10bc14=_0xc538c3;var _0x4a8c5;const _0x29e6c9=this[_0x10bc14(0x26a)][_0x10bc14(0x123)](_0x4fe258),_0x355327=(_0x4a8c5=_0x29e6c9[_0x10bc14(0x2f0)]())!=null?_0x4a8c5:[];if(_0x355327[_0x10bc14(0x20c)]===0x0)return;const _0x4237f4=_0x4a47b8[_0x10bc14(0x2eb)],_0x7423dd=[{'id':_0x10bc14(0x234),'params':{'unitId':_0x4237f4,'actions':null,'textRanges':_0x355327}}],_0x4e6432=this[_0x10bc14(0x2f7)][_0x10bc14(0x1bb)](_0x4a47b8,_0x7423dd);if(!_0x250e22(_0x4e6432))throw _0x4e6432[_0x10bc14(0x2a1)];const _0x377eed=_0x4e6432[_0x10bc14(0x222)][0x0]['params'][_0x10bc14(0x282)];Array[_0x10bc14(0x295)](_0x377eed)&&_0x377eed['length']&&_0x29e6c9[_0x10bc14(0x26d)](_0x377eed,{'unitId':_0x4237f4,'subUnitId':_0x4237f4},!0x1);}};de=fn([ht(0x0,_0x510c8b(_0xdfb0d7)),ht(0x1,_0x528d6a)],de);var gn=Object[_0xc538c3(0x305)],En=(_0x1ce8f3,_0x2b21b2,_0x134d43,_0x3c0822)=>{const _0x2654d9=_0xc538c3;for(var _0x33a86f=_0x3c0822>0x1?void 0x0:_0x3c0822?gn(_0x2b21b2,_0x134d43):_0x2b21b2,_0x5355db=_0x1ce8f3[_0x2654d9(0x20c)]-0x1,_0x3d235e;_0x5355db>=0x0;_0x5355db--)(_0x3d235e=_0x1ce8f3[_0x5355db])&&(_0x33a86f=_0x3d235e(_0x33a86f)||_0x33a86f);return _0x33a86f;},U=(_0x160f2e,_0x4ded0c)=>(_0x4fa784,_0x3bc3f0)=>_0x4ded0c(_0x4fa784,_0x3bc3f0,_0x160f2e);let Se=class extends _0x141f9b{constructor(_0x2c0830,_0x1f7ba7,_0x32bd82,_0x46f3a9,_0x2d8010,_0x3eebd8,_0xc11925,_0x23ee0d){const _0x52d34a=_0xc538c3;super(),_(this,_0x52d34a(0x23c),new _0x301e41(_0x288933[_0x52d34a(0x104)])),(this[_0x52d34a(0x1e2)]=_0x2c0830,this[_0x52d34a(0x16c)]=_0x1f7ba7,this[_0x52d34a(0x262)]=_0x32bd82,this[_0x52d34a(0x266)]=_0x46f3a9,this[_0x52d34a(0x114)]=_0x2d8010,this[_0x52d34a(0x24c)]=_0x3eebd8,this[_0x52d34a(0x127)]=_0xc11925,this['_localeService']=_0x23ee0d,this[_0x52d34a(0x268)]());}['_initEntityListener'](){const _0x4b4c58=_0xc538c3;this[_0x4b4c58(0x247)](this[_0x4b4c58(0x16c)][_0x4b4c58(0x1b5)][_0x4b4c58(0x237)](_0x5c367c=>{const _0x3f99f4=_0x4b4c58,_0x41a559=this[_0x3f99f4(0x1e2)][_0x3f99f4(0x22b)]['subscribe'](_0x370a2e=>{const _0x2d4b6b=_0x3f99f4;if(_0x370a2e==null)return;const {unitId:_0x3df1d3,redoState:_0x53cb58,commandId:_0x42f583}=_0x370a2e;if(_0x3df1d3!==_0x5c367c[_0x2d4b6b(0x2eb)])return;const _0x152123={'id':_0x42f583,'type':_0x13d17a['MUTATION'],'params':{'unitId':_0x3df1d3,'actions':_0x53cb58['actions'],'textRanges':null}};_0x5c367c[_0x2d4b6b(0x180)](_0x152123);});if(_0x5c367c['disposeWithMe'](_0x41a559),_0x5c367c instanceof _0x36cefa){const _0xde00cc={'onTransformIME':_0x4512b7=>this[_0x3f99f4(0x262)][_0x3f99f4(0x2df)](_0x4512b7),'onTransformState':_0x5e0733=>this[_0x3f99f4(0x266)][_0x3f99f4(0x1bc)](_0x5e0733),'onTransformSelections':_0x57aa2e=>this[_0x3f99f4(0x114)][_0x3f99f4(0x290)](_0x57aa2e),'onSyncEditingCollabCursor':_0x5cdd2d=>this[_0x3f99f4(0x24c)][_0x3f99f4(0x2de)](_0x5cdd2d),'onTransformRemoteChangesetByIMECache':_0x50d565=>this[_0x3f99f4(0x262)][_0x3f99f4(0x24b)](_0x50d565),'onTransformRemoteChangesetByStateCache':_0x37ef8d=>this[_0x3f99f4(0x266)][_0x3f99f4(0x24b)](_0x37ef8d)};_0x5c367c[_0x3f99f4(0x204)](_0xde00cc);}}));}};Se=En([U(0x0,_0x510c8b(_0x41950e)),U(0x1,_0x510c8b(_0x585689)),U(0x2,_0x510c8b(he)),U(0x3,_0x510c8b(ue)),U(0x4,_0x510c8b(de)),U(0x5,_0x510c8b(ze)),U(0x6,_0x28f98f),U(0x7,_0x510c8b(_0x1712bf))],Se);var Z=(_0x35edd5=>(_0x35edd5[_0x35edd5[_0xc538c3(0x2d1)]=0x0]=_0xc538c3(0x2d1),_0x35edd5[_0x35edd5['OK']=0x1]='OK',_0x35edd5[_0x35edd5[_0xc538c3(0x1fa)]=0x2]='INTERNAL_ERROR',_0x35edd5[_0x35edd5[_0xc538c3(0x1b8)]=0x3]=_0xc538c3(0x1b8),_0x35edd5[_0x35edd5[_0xc538c3(0x32c)]=0x4]=_0xc538c3(0x32c),_0x35edd5[_0x35edd5[_0xc538c3(0x291)]=0x5]='UNAUTHENTICATED',_0x35edd5[_0x35edd5['ALREADY_EXISTS']=0x6]=_0xc538c3(0x2ae),_0x35edd5[_0x35edd5[_0xc538c3(0x2e0)]=0x7]='INVALID_ARGUMENT',_0x35edd5[_0x35edd5[_0xc538c3(0x1f7)]=0x8]='TOO_MANY_REQUESTS',_0x35edd5[_0x35edd5[_0xc538c3(0x1ad)]=0x9]='COMPLETION_FINISHED',_0x35edd5[_0x35edd5[_0xc538c3(0x13b)]=0xa]='LOGIN_FAILED',_0x35edd5[_0x35edd5[_0xc538c3(0x2b8)]=0xb]=_0xc538c3(0x2b8),_0x35edd5[_0x35edd5[_0xc538c3(0x110)]=0xc]=_0xc538c3(0x110),_0x35edd5[_0x35edd5[_0xc538c3(0x278)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x35edd5[_0x35edd5[_0xc538c3(0x23f)]=0xe]=_0xc538c3(0x23f),_0x35edd5[_0x35edd5['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0xc538c3(0x183),_0x35edd5[_0x35edd5[_0xc538c3(0x1a7)]=0x10]=_0xc538c3(0x1a7),_0x35edd5[_0x35edd5['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0xc538c3(0x2f4),_0x35edd5[_0x35edd5[_0xc538c3(0x1f0)]=0x65]=_0xc538c3(0x1f0),_0x35edd5[_0x35edd5['USER_NOT_FOUND']=0xc9]=_0xc538c3(0x1f1),_0x35edd5[_0x35edd5[_0xc538c3(0x1ba)]=0xca]=_0xc538c3(0x1ba),_0x35edd5[_0x35edd5[_0xc538c3(0x1b4)]=0x1389]=_0xc538c3(0x1b4),_0x35edd5[_0x35edd5[_0xc538c3(0x1c6)]=0x1771]=_0xc538c3(0x1c6),_0x35edd5[_0x35edd5[_0xc538c3(0x27d)]=0x1772]=_0xc538c3(0x27d),_0x35edd5[_0x35edd5[_0xc538c3(0x22e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x35edd5[_0x35edd5[_0xc538c3(0x277)]=0x1b59]='APPLY_REJECT',_0x35edd5[_0x35edd5[_0xc538c3(0x228)]=0x1b5a]=_0xc538c3(0x228),_0x35edd5[_0x35edd5[_0xc538c3(0x318)]=0x1b5b]=_0xc538c3(0x318),_0x35edd5[_0x35edd5[_0xc538c3(0x15f)]=0x1b5c]=_0xc538c3(0x15f),_0x35edd5[_0x35edd5[_0xc538c3(0x1d8)]=0x1b5d]='APPLY_DUPLICATED',_0x35edd5[_0x35edd5[_0xc538c3(0x178)]=0x1f41]=_0xc538c3(0x178),_0x35edd5[_0x35edd5[_0xc538c3(0x226)]=0x2329]=_0xc538c3(0x226),_0x35edd5[_0x35edd5[_0xc538c3(0x197)]=0x232a]=_0xc538c3(0x197),_0x35edd5[_0x35edd5[_0xc538c3(0x2d0)]=0x232b]=_0xc538c3(0x2d0),_0x35edd5[_0x35edd5[_0xc538c3(0x1ca)]=0x232c]=_0xc538c3(0x1ca),_0x35edd5[_0x35edd5[_0xc538c3(0x31d)]=0x232d]=_0xc538c3(0x31d),_0x35edd5[_0x35edd5[_0xc538c3(0xfe)]=0x2711]=_0xc538c3(0xfe),_0x35edd5[_0x35edd5['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x35edd5[_0x35edd5[_0xc538c3(0x186)]=0x2713]=_0xc538c3(0x186),_0x35edd5[_0x35edd5[_0xc538c3(0x24f)]=0x2714]=_0xc538c3(0x24f),_0x35edd5[_0x35edd5[_0xc538c3(0x1f8)]=0x271a]=_0xc538c3(0x1f8),_0x35edd5[_0x35edd5[_0xc538c3(0x17e)]=0x271b]=_0xc538c3(0x17e),_0x35edd5[_0x35edd5[_0xc538c3(0x146)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x35edd5[_0x35edd5[_0xc538c3(0x14a)]=0x271d]=_0xc538c3(0x14a),_0x35edd5[_0x35edd5[_0xc538c3(0x30c)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x35edd5[_0x35edd5['YUUMI_AI_RUN_FAILED']=0x271f]=_0xc538c3(0x31b),_0x35edd5[_0x35edd5[_0xc538c3(0x2bb)]=0x2720]=_0xc538c3(0x2bb),_0x35edd5[_0x35edd5['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x35edd5[_0x35edd5[_0xc538c3(0x107)]=0x2ee1]=_0xc538c3(0x107),_0x35edd5[_0x35edd5['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x35edd5[_0x35edd5['INVITE_CODE_REQUIRED']=0x2ee3]=_0xc538c3(0x238),_0x35edd5[_0x35edd5[_0xc538c3(0x17f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x35edd5[_0x35edd5['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xc538c3(0x2cc),_0x35edd5[_0x35edd5[_0xc538c3(0x235)]=0x32c9]=_0xc538c3(0x235),_0x35edd5[_0x35edd5['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xc538c3(0x10f),_0x35edd5[_0x35edd5[_0xc538c3(0x27b)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x35edd5[_0x35edd5[_0xc538c3(0xf9)]=0x36b1]=_0xc538c3(0xf9),_0x35edd5[_0x35edd5['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x35edd5[_0x35edd5[_0xc538c3(0x1e5)]=0x36b3]=_0xc538c3(0x1e5),_0x35edd5[_0x35edd5[_0xc538c3(0x287)]=0x36b4]=_0xc538c3(0x287),_0x35edd5[_0x35edd5[_0xc538c3(0x2a4)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x35edd5[_0x35edd5[_0xc538c3(0x1ac)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x35edd5[_0x35edd5[_0xc538c3(0x208)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x35edd5[_0x35edd5[_0xc538c3(0x2e6)]=0x36b8]=_0xc538c3(0x2e6),_0x35edd5[_0x35edd5[_0xc538c3(0x1de)]=0x3715]=_0xc538c3(0x1de),_0x35edd5[_0x35edd5[_0xc538c3(0x159)]=0x3716]=_0xc538c3(0x159),_0x35edd5[_0x35edd5[_0xc538c3(0x2c8)]=0x3717]=_0xc538c3(0x2c8),_0x35edd5[_0x35edd5['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x35edd5[_0x35edd5[_0xc538c3(0x20e)]=0x3a99]=_0xc538c3(0x20e),_0x35edd5[_0x35edd5[_0xc538c3(0x151)]=0x3a9a]=_0xc538c3(0x151),_0x35edd5[_0x35edd5[_0xc538c3(0x27f)]=0x3a9b]=_0xc538c3(0x27f),_0x35edd5[_0x35edd5[_0xc538c3(0x2fd)]=0x3a9c]=_0xc538c3(0x2fd),_0x35edd5[_0x35edd5[_0xc538c3(0x2ff)]=0x3a9d]=_0xc538c3(0x2ff),_0x35edd5[_0x35edd5[_0xc538c3(0x1dc)]=0x3a9e]=_0xc538c3(0x1dc),_0x35edd5[_0x35edd5['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0xc538c3(0x135),_0x35edd5[_0x35edd5[_0xc538c3(0x18b)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x35edd5[_0x35edd5[_0xc538c3(0x2d7)]=-0x1]=_0xc538c3(0x2d7),_0x35edd5))(Z||{});function vn(_0xa7ca44){const _0x1ee074=_0xc538c3;var _0x2ac5e3,_0x2a8b25;const _0x20c947=(_0x2ac5e3=_0xa7ca44['stageInfo'])==null?void 0x0:_0x2ac5e3[_0x1ee074(0x23b)],_0x5e864c=((_0x2a8b25=_0xa7ca44[_0x1ee074(0x25b)])==null?void 0x0:_0x2a8b25['totalFormulasToCalculate'])||0x0;return _0x20c947===_0x3bf0fa[_0x1ee074(0x335)]&&_0x5e864c>0x0;}function pn(_0x1c8432){const _0x4ef7f3=_0xc538c3;return _0x1c8432[_0x4ef7f3(0x211)]===_0x564df8['SUCCESS'];}var On=Object[_0xc538c3(0x305)],Tn=(_0xeb7b4c,_0x230bfb,_0x28e55a,_0x32fa10)=>{for(var _0x12520c=_0x32fa10>0x1?void 0x0:_0x32fa10?On(_0x230bfb,_0x28e55a):_0x230bfb,_0x1fe2da=_0xeb7b4c['length']-0x1,_0x3a68fa;_0x1fe2da>=0x0;_0x1fe2da--)(_0x3a68fa=_0xeb7b4c[_0x1fe2da])&&(_0x12520c=_0x3a68fa(_0x12520c)||_0x12520c);return _0x12520c;},P=(_0xa29ac2,_0x2a364a)=>(_0x28f31d,_0x2fad6e)=>_0x2a364a(_0x28f31d,_0x2fad6e,_0xa29ac2);const Cn=_0xc538c3(0x13c),Rn=_0xc538c3(0x245),Dn=_0xc538c3(0x28d);let Ie=class extends _0x141f9b{constructor(_0x28b384,_0x5b60ba,_0x4754bd,_0x2c139e,_0xa78558,_0x2d8fc0,_0x5dc236){const _0x4c6011=_0xc538c3;super(),_(this,_0x4c6011(0x294),null),_(this,_0x4c6011(0x19b),0x0),_(this,_0x4c6011(0x1fc),0x0),_(this,_0x4c6011(0x2ec),[]),_(this,_0x4c6011(0x2a5),0x0),(this[_0x4c6011(0x127)]=_0x28b384,this[_0x4c6011(0x337)]=_0x5b60ba,this[_0x4c6011(0x12b)]=_0x4754bd,this['_httpService']=_0x2c139e,this[_0x4c6011(0x1b2)]=_0xa78558,this['_logService']=_0x2d8fc0,this[_0x4c6011(0x200)]=_0x5dc236,this['_initCommandInterceptor']());}[_0xc538c3(0x109)](){const _0x1c28b1=_0xc538c3;this[_0x1c28b1(0x247)](this[_0x1c28b1(0x337)][_0x1c28b1(0x205)]((_0x5f3392,_0x5b788e)=>{const _0x537235=_0x1c28b1;var _0x355cd1;if(_0x5f3392['id']!==_0x4fb32c['id'])return;const _0x2fc3b1=_0x5f3392[_0x537235(0x34a)];if(!this[_0x537235(0x33c)]((_0x355cd1=_0x2fc3b1[_0x537235(0x25d)])!=null?_0x355cd1:[]))return;if(!this[_0x537235(0x1f6)]())throw this[_0x537235(0x2fb)](_0x5f3392,_0x5b788e),this[_0x537235(0x17b)](),new _0x31a887();})),this[_0x1c28b1(0x247)](this[_0x1c28b1(0x337)][_0x1c28b1(0x1c4)]((_0x11cd20,_0x26f1a0)=>{const _0x2baf89=_0x1c28b1;if(_0x11cd20['id']!==_0x4e52b9['id'])return;const _0x1c767a=_0x11cd20[_0x2baf89(0x34a)];if(vn(_0x1c767a)){const _0x18b439=_0x11693c();this[_0x2baf89(0x2ec)]['push'](_0x18b439),this[_0x2baf89(0x232)](_0x18b439);}else{if(pn(_0x1c767a)&&this[_0x2baf89(0x2ec)][_0x2baf89(0x20c)]>0x0){const _0xc005da=this['_taskIds']['shift']();this['_releaseCalculationLimit'](_0xc005da);}}}));}[_0xc538c3(0x16f)](){const _0x94b0d1=_0xc538c3;super['dispose'](),this[_0x94b0d1(0x113)](),this[_0x94b0d1(0x2ec)]=[],this[_0x94b0d1(0x1fc)]=0x0,this[_0x94b0d1(0x19b)]=0x0,this[_0x94b0d1(0x2a5)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x3d5e8f,_0x3c8606){const _0x45549a=_0xc538c3;for(let _0x2bacd7=0x0;_0x2bacd7<0x1e;_0x2bacd7++)try{if(await this[_0x45549a(0x1df)](),this[_0x45549a(0x1f6)]()){this[_0x45549a(0x154)](_0x3d5e8f,_0x3c8606),this[_0x45549a(0x127)][_0x45549a(0x1bf)]({'content':this[_0x45549a(0x200)]['t'](_0x45549a(0x1d5)),'type':_0x5d4f2e[_0x45549a(0x1e1)]});return;}await new Promise(_0x20020e=>{const _0x201586=_0x45549a;this[_0x201586(0x294)]=window[_0x201586(0x1a8)](_0x20020e,0x3e8);});}catch(_0x56f828){this[_0x45549a(0x324)][_0x45549a(0x2a1)](_0x56f828);}this[_0x45549a(0x127)]['show']({'content':this[_0x45549a(0x200)]['t'](_0x45549a(0x15c)),'type':_0x5d4f2e['Error']});}['_applyCommand'](_0x1ebdc9,_0x1ae192){const _0x318bfc=_0xc538c3;try{this[_0x318bfc(0x337)][_0x318bfc(0x32d)](_0x1ebdc9['id'],_0x1ebdc9[_0x318bfc(0x34a)],_0x1ae192);}catch(_0x28ac79){this[_0x318bfc(0x324)][_0x318bfc(0x2a1)](_0x28ac79);}}[_0xc538c3(0x1b9)](_0x393b96,_0x9ea566){const _0x23d5bf=_0xc538c3;_0x9ea566<this[_0x23d5bf(0x2a5)]||(this[_0x23d5bf(0x2a5)]=_0x9ea566,this['_maxFormulaLimit']=Number[_0x23d5bf(0x2db)](_0x393b96['maxFormulaLimit']),this[_0x23d5bf(0x1fc)]=Number[_0x23d5bf(0x2db)](_0x393b96['currentUsage']));}async[_0xc538c3(0x232)](_0x2249eb){const _0x4a54d7=_0xc538c3;var _0x17c57c,_0x36cfa1;const _0x27144e=Date[_0x4a54d7(0x1f2)]();try{const _0x3dad9c=((_0x17c57c=this[_0x4a54d7(0x12b)][_0x4a54d7(0x2a8)](_0x39c4ac))==null?void 0x0:_0x17c57c[_0x4a54d7(0x11e)])||Rn,_0x4bd5f8=(await this[_0x4a54d7(0x2b1)][_0x4a54d7(0x21f)](_0x3dad9c,{'body':JSON[_0x4a54d7(0x1cc)]({'taskId':_0x2249eb})}))[_0x4a54d7(0x206)];if(((_0x36cfa1=_0x4bd5f8[_0x4a54d7(0x2a1)])==null?void 0x0:_0x36cfa1[_0x4a54d7(0x1f4)])!==Z['OK'])return;this[_0x4a54d7(0x1b9)](_0x4bd5f8[_0x4a54d7(0x2d6)],_0x27144e);}catch(_0x37a470){this[_0x4a54d7(0x324)]['error'](_0x37a470);}}async[_0xc538c3(0x1df)](_0xf973cc){const _0x58c105=_0xc538c3;var _0x335e27,_0x6d82c3;const _0x11d4bf=Date['now']();try{const _0x13c72c=((_0x335e27=this['_configService'][_0x58c105(0x2a8)](_0x39c4ac))==null?void 0x0:_0x335e27['getformulaLimitStatusUrl'])||Cn,_0x5b3cbb=_0xf973cc?_0x13c72c+_0x58c105(0x148)+encodeURIComponent(_0xf973cc):_0x13c72c,_0x10ba1f=(await this[_0x58c105(0x2b1)][_0x58c105(0x123)](_0x5b3cbb))[_0x58c105(0x206)];if(((_0x6d82c3=_0x10ba1f[_0x58c105(0x2a1)])==null?void 0x0:_0x6d82c3['code'])!==Z['OK'])return;this[_0x58c105(0x1b9)](_0x10ba1f['limitInfo'],_0x11d4bf);}catch(_0x527fbe){this[_0x58c105(0x324)][_0x58c105(0x2a1)](_0x527fbe);}}async[_0xc538c3(0x279)](_0x1b47d8){const _0x133e5d=_0xc538c3;var _0x2db7b5,_0xa21d7e;const _0x31f462=Date['now']();try{const _0x9a124f=((_0x2db7b5=this[_0x133e5d(0x12b)]['getConfig'](_0x39c4ac))==null?void 0x0:_0x2db7b5[_0x133e5d(0x1a6)])||Dn,_0xc364a3=(await this[_0x133e5d(0x2b1)][_0x133e5d(0x21f)](_0x9a124f,{'body':JSON[_0x133e5d(0x1cc)]({'taskId':_0x1b47d8})}))['body'];if(((_0xa21d7e=_0xc364a3['error'])==null?void 0x0:_0xa21d7e[_0x133e5d(0x1f4)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0xc364a3[_0x133e5d(0x2d6)],_0x31f462);}catch(_0x492909){this[_0x133e5d(0x324)][_0x133e5d(0x2a1)](_0x492909);}}['_checkCalculationAvailable'](){const _0x39d937=_0xc538c3;return this[_0x39d937(0x19b)]===0x0?!0x0:this[_0x39d937(0x19b)]-this[_0x39d937(0x1fc)]>0x0;}[_0xc538c3(0x113)](){const _0xa419b6=_0xc538c3;this[_0xa419b6(0x294)]&&(clearTimeout(this[_0xa419b6(0x294)]),this[_0xa419b6(0x294)]=null);}[_0xc538c3(0x17b)](){const _0x305c06=_0xc538c3;this[_0x305c06(0x127)][_0x305c06(0x1bf)]({'content':this[_0x305c06(0x200)]['t'](_0x305c06(0x2a0)),'type':_0x5d4f2e['Loading']});}[_0xc538c3(0x33c)](_0x49cab0){const _0x19c28a=_0xc538c3;for(const _0x4d3d4e of _0x49cab0){const {unitId:_0x219ddd,sheetId:_0x3a126,range:_0x4272a1}=_0x4d3d4e,_0x3b6a38=this['_univerInstanceService'][_0x19c28a(0x33e)](_0x219ddd);if(!_0x3b6a38)continue;const _0x6a1927=_0x3b6a38['getSheetBySheetId'](_0x3a126);if(!_0x6a1927)continue;const _0x4e3c1d=_0x6a1927['getCellMatrix']();for(let _0x30c58d=_0x4272a1[_0x19c28a(0x162)];_0x30c58d<=_0x4272a1[_0x19c28a(0x210)];_0x30c58d++)for(let _0x16c047=_0x4272a1[_0x19c28a(0x1a1)];_0x16c047<=_0x4272a1[_0x19c28a(0x298)];_0x16c047++){const _0x532415=_0x4e3c1d['getValue'](_0x30c58d,_0x16c047);if(_0x532415&&(_0x320513(_0x532415['f'])||_0x4ef6a3(_0x532415['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x510c8b(_0x28f98f)),P(0x1,_0x3b9f81),P(0x2,_0x1ef39d),P(0x3,_0x510c8b(_0x3d0ff2)),P(0x4,_0x322908),P(0x5,_0x31033c),P(0x6,_0x510c8b(_0x1712bf))],Ie);var Nn=Object[_0xc538c3(0x305)],bn=(_0x4fc9e2,_0x375e2b,_0x2b224f,_0x25b61e)=>{const _0x44c610=_0xc538c3;for(var _0x1ddada=_0x25b61e>0x1?void 0x0:_0x25b61e?Nn(_0x375e2b,_0x2b224f):_0x375e2b,_0xf80b01=_0x4fc9e2[_0x44c610(0x20c)]-0x1,_0x24d88e;_0xf80b01>=0x0;_0xf80b01--)(_0x24d88e=_0x4fc9e2[_0xf80b01])&&(_0x1ddada=_0x24d88e(_0x1ddada)||_0x1ddada);return _0x1ddada;},Ue=(_0x251e93,_0x417aea)=>(_0x14dfb7,_0x198d96)=>_0x417aea(_0x14dfb7,_0x198d96,_0x251e93);let He=class extends _0x141f9b{constructor(_0x293456,_0x2ae420,_0x1e9471){const _0x15fb10=_0xc538c3;super(),_(this,_0x15fb10(0x2fc),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x15fb10(0x12b)]=_0x293456,this[_0x15fb10(0x14f)]=_0x2ae420,this[_0x15fb10(0x2c0)]=_0x1e9471);}[_0xc538c3(0x1d4)](){const _0x294841=_0xc538c3;this[_0x294841(0x27c)]=!0x0;}[_0xc538c3(0x1a5)](){const _0x4fafd0=_0xc538c3;this[_0x4fafd0(0x27c)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0xc538c3(0x16f)](){const _0x317c47=_0xc538c3;this[_0x317c47(0x17d)]()[_0x317c47(0x307)](()=>super[_0x317c47(0x16f)]());}async['loadOfflineData'](_0x699453){const _0x2a3334=_0xc538c3;return this[_0x2a3334(0x27c)]?null:this[_0x2a3334(0x14f)]['getItem'](_0x515ded(_0x699453));}async[_0xc538c3(0x1d6)](_0xab07e7,_0x5d41d8){const _0x3019bc=_0xc538c3;return!!this[_0x3019bc(0x14f)][_0x3019bc(0x233)](_0xab07e7,_0x5d41d8);}[_0xc538c3(0x276)](_0x30b676,_0xf2f999,_0x382773,_0x679b5d){const _0x2c993a=_0xc538c3,_0x42b4a9=this[_0x2c993a(0x2c0)][_0x2c993a(0x1ef)](_0x30b676);this['_cachedData'][_0x2c993a(0x344)](_0x30b676,{'unitID':_0x30b676,'type':_0xf2f999,'awaitingChangeset':_0x382773,'mutations':_0x679b5d,'rev':_0x42b4a9}),this[_0x2c993a(0x2ee)][_0x2c993a(0x2cd)](_0x30b676)||this[_0x2c993a(0x23a)](_0x30b676);}[_0xc538c3(0x23a)](_0x2fd83b){const _0x5a440a=_0xc538c3,_0x1c4275=this[_0x5a440a(0x261)]();_0x1c4275===0x0?this[_0x5a440a(0x302)](_0x2fd83b):this['_saveTaskMap']['set'](_0x2fd83b,setTimeout(()=>this['_saveCache'](_0x2fd83b),_0x1c4275));}['_getSaveTimeout'](){const _0x391915=_0xc538c3;var _0x4210b9;return(_0x4210b9=this[_0x391915(0x12b)][_0x391915(0x2a8)](_0x385c29))!=null?_0x4210b9:_0x199da9;}[_0xc538c3(0x302)](_0x42f068){const _0x453561=_0xc538c3,_0x4ab306=this[_0x453561(0x2ee)]['get'](_0x42f068);return _0x4ab306!==void 0x0&&window['clearTimeout'](_0x4ab306),this[_0x453561(0x14f)][_0x453561(0x233)](_0x515ded(_0x42f068),this[_0x453561(0x2fc)][_0x453561(0x123)](_0x42f068))[_0x453561(0x307)](()=>this[_0x453561(0x2ee)][_0x453561(0x289)](_0x42f068));}async['exhaustSavingTask'](){const _0x54d059=_0xc538c3,_0x163e8=[];this[_0x54d059(0x2ee)][_0x54d059(0x1d1)]((_0x443358,_0x3dae97)=>{const _0x2770aa=_0x54d059;window[_0x2770aa(0x188)](_0x443358),_0x163e8[_0x2770aa(0x29e)](this[_0x2770aa(0x302)](_0x3dae97)[_0x2770aa(0x307)](()=>{this['_saveTaskMap']['delete'](_0x3dae97);}));}),await Promise['all'](_0x163e8);}};He=bn([Ue(0x0,_0x1ef39d),Ue(0x1,_0x45d5de),Ue(0x2,_0x510c8b(_0x2ac638))],He);class Ln extends _0x1533b3{constructor(){const _0xc4c98d=_0xc538c3;super(),_(this,_0xc4c98d(0x203)),this[_0xc4c98d(0x203)]=_0x456ba1(window,_0xc4c98d(0x1aa))['pipe'](_0xaf9b86(this[_0xc4c98d(0x15b)]),_0x24e99e(0x1),_0x4394a7(void 0x0));}[_0xc538c3(0x128)](_0xfaaeda,_0x499c47,_0x42ec94=!0x1){const _0x188f09=_0xc538c3,_0x5cd3fa=new URL(window[_0x188f09(0x29f)][_0x188f09(0x137)]);_0x5cd3fa[_0x188f09(0x263)][_0x188f09(0x344)](_0xfaaeda,_0x499c47),_0x42ec94?window['history'][_0x188f09(0x198)]('','',_0x5cd3fa['toString']()):window[_0x188f09(0x31f)]['pushState']('','',_0x5cd3fa[_0x188f09(0x176)]());}[_0xc538c3(0x339)](_0x3ded32,_0x377f53=!0x1){const _0x1d286f=_0xc538c3,_0x580a3d=new URL(window['location']['href']);_0x580a3d[_0x1d286f(0x263)][_0x1d286f(0x289)](_0x3ded32),_0x377f53?window[_0x1d286f(0x31f)][_0x1d286f(0x198)]('','',_0x580a3d['toString']()):window[_0x1d286f(0x31f)][_0x1d286f(0x12a)]('','',_0x580a3d[_0x1d286f(0x176)]());}[_0xc538c3(0x153)](_0x64b499){const _0x14465c=_0xc538c3;var _0x444224;return(_0x444224=new URL(window['location']['href'])[_0x14465c(0x263)][_0x14465c(0x123)](_0x64b499))!=null?_0x444224:void 0x0;}}var Un=Object[_0xc538c3(0x2ea)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x5e98e8,_0x5975e3,_0x55d94a)=>_0x5975e3 in _0x5e98e8?Un(_0x5e98e8,_0x5975e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55d94a}):_0x5e98e8[_0x5975e3]=_0x55d94a,Pn=(_0x52370f,_0x175ede,_0x171321,_0x4ff498)=>{const _0x4f800d=_0xc538c3;for(var _0x32d104=_0x4ff498>0x1?void 0x0:_0x4ff498?Mn(_0x175ede,_0x171321):_0x175ede,_0x499d4=_0x52370f[_0x4f800d(0x20c)]-0x1,_0x4d1150;_0x499d4>=0x0;_0x499d4--)(_0x4d1150=_0x52370f[_0x499d4])&&(_0x32d104=_0x4d1150(_0x32d104)||_0x32d104);return _0x32d104;},Me=(_0x3aeee5,_0x263fb1)=>(_0x3c01ef,_0x23dcaa)=>_0x263fb1(_0x3c01ef,_0x23dcaa,_0x3aeee5),wn=(_0x137636,_0x8e1758,_0x1fd35f)=>An(_0x137636,_0x8e1758+'',_0x1fd35f);const yn=_0xc538c3(0x327);let Ye=class extends _0x18401c{constructor(_0x507862=_t,_0x45ad9d,_0x344006,_0x3c4abb){const _0x532eb1=_0xc538c3;super(),this['_config']=_0x507862,this[_0x532eb1(0x181)]=_0x45ad9d,this[_0x532eb1(0x26a)]=_0x344006,this[_0x532eb1(0x12b)]=_0x3c4abb;const {..._0x338d7a}=_0x2129c3({},_t,this[_0x532eb1(0x192)]);this[_0x532eb1(0x12b)][_0x532eb1(0x2fe)](hn,_0x338d7a);}[_0xc538c3(0x1c9)](){const _0x3d72b4=_0xc538c3;this[_0x3d72b4(0x33b)](),this[_0x3d72b4(0x143)]();}[_0xc538c3(0x220)](){const _0x2e8f97=_0xc538c3;this[_0x2e8f97(0x24a)]();}['_registerDependencies'](){const _0x41c623=_0xc538c3;var _0x49e247;const _0x353898=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x40b10a,{'useClass':_0x17c392}],[_0x3f506f,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x41c623(0x192)]['enableFrontendLog']&&_0x353898[_0x41c623(0x29e)]([le]),_0x197ca3(this['_injector'],_0x5ef76c(_0x353898,(_0x49e247=this[_0x41c623(0x192)])==null?void 0x0:_0x49e247['override']));}[_0xc538c3(0x24a)](){const _0x5c3a5f=_0xc538c3;this[_0x5c3a5f(0x247)](this[_0x5c3a5f(0x181)][_0x5c3a5f(0x152)](_0xc97ca9[_0x5c3a5f(0x195)],[Fe])),this[_0x5c3a5f(0x247)](this[_0x5c3a5f(0x181)][_0x5c3a5f(0x152)](_0xc97ca9[_0x5c3a5f(0x28f)],[ke]));}['_initDependencies'](){const _0x2609a3=_0xc538c3;_0x27f6a5(this[_0x2609a3(0x26a)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config']['enableFrontendLog']&&_0x27f6a5(this[_0x2609a3(0x26a)],[[le]]);}};wn(Ye,'pluginName',yn),Ye=Pn([_0x411112(_0x207135),Me(0x1,_0x1f2034),Me(0x2,_0x510c8b(_0xdfb0d7)),Me(0x3,_0x1ef39d)],Ye);var $n=Object[_0xc538c3(0x305)],xn=(_0x5f730,_0x343fb6,_0x2b04a4,_0x4635c8)=>{for(var _0x334ed2=_0x4635c8>0x1?void 0x0:_0x4635c8?$n(_0x343fb6,_0x2b04a4):_0x343fb6,_0x1fda39=_0x5f730['length']-0x1,_0x398ac9;_0x1fda39>=0x0;_0x1fda39--)(_0x398ac9=_0x5f730[_0x1fda39])&&(_0x334ed2=_0x398ac9(_0x334ed2)||_0x334ed2);return _0x334ed2;},J=(_0x179acd,_0x28f244)=>(_0x50e57d,_0x56691b)=>_0x28f244(_0x50e57d,_0x56691b,_0x179acd);let ut=class extends _0x2285b4{constructor(_0x122de8,_0x4c2aff,_0x5babc9,_0x502bdb,_0x3b0c2b){super(_0x122de8,_0x4c2aff,_0x5babc9,_0x502bdb,_0x3b0c2b);}async[_0xc538c3(0x1c5)](_0x51c9d4){const _0x3fb067=_0xc538c3,_0x177b53=await this[_0x3fb067(0x1fd)](),_0x2842cf=this['_createSocketURL'](_0x51c9d4,_0x177b53);return this[_0x3fb067(0x175)](_0x2842cf);}[_0xc538c3(0x165)](_0x18a109,_0x520a96){const _0x2f39d7=_0xc538c3,_0x299535=typeof window>'u'?new URL(_0x18a109):new URL(_0x18a109,window[_0x2f39d7(0x29f)][_0x2f39d7(0x2b9)]);_0x299535['searchParams'][_0x2f39d7(0x344)](_0x2f39d7(0x20b),_0x520a96);const _0x52d855=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2f39d7(0x240)]);return _0x52d855[_0x2f39d7(0x123)]('runId')&&_0x299535[_0x2f39d7(0x263)][_0x2f39d7(0x344)](_0x2f39d7(0x2ca),_0x52d855[_0x2f39d7(0x123)]('runId')),_0x299535[_0x2f39d7(0x176)]();}async[_0xc538c3(0x1fd)](){const _0x44facd=_0xc538c3;var _0xfb61e8,_0x9b035f,_0x1e7c36;const _0x3dda3f=this['_configService']['getConfig'](_0x39c4ac),_0x262540=(_0xfb61e8=_0x3dda3f==null?void 0x0:_0x3dda3f[_0x44facd(0x1ce)])!=null?_0xfb61e8:_0x12a809;return(_0x1e7c36=(_0x9b035f=(await this[_0x44facd(0x2b1)][_0x44facd(0x123)](_0x262540,{'headers':{'Content-Type':_0x44facd(0x1e6)}}))[_0x44facd(0x206)])==null?void 0x0:_0x9b035f[_0x44facd(0x14c)])!=null?_0x1e7c36:'';}};ut=xn([J(0x0,_0x510c8b(_0xdfb0d7)),J(0x1,_0x510c8b(_0x3d0ff2)),J(0x2,_0x1ef39d),J(0x3,_0x31033c),J(0x4,_0x48e4b3)],ut);var Bn=Object[_0xc538c3(0x305)],Fn=(_0x1ada58,_0xb9c247,_0x25f3c7,_0x2f4be4)=>{for(var _0xa9e7a1=_0x2f4be4>0x1?void 0x0:_0x2f4be4?Bn(_0xb9c247,_0x25f3c7):_0xb9c247,_0x3b480c=_0x1ada58['length']-0x1,_0x1b19a2;_0x3b480c>=0x0;_0x3b480c--)(_0x1b19a2=_0x1ada58[_0x3b480c])&&(_0xa9e7a1=_0x1b19a2(_0xa9e7a1)||_0xa9e7a1);return _0xa9e7a1;},Ae=(_0x3288f0,_0x2139d6)=>(_0x5463d3,_0x1f4ac6)=>_0x2139d6(_0x5463d3,_0x1f4ac6,_0x3288f0);let dt=class extends _0x141f9b{constructor(_0x2ac0e4,_0xe20220,_0x1b8342){super(),this['_instanceService']=_0x2ac0e4,this['_httpService']=_0xe20220,this['_configService']=_0x1b8342;}async[_0xc538c3(0x179)](_0x9d26bb,_0x1dc2af,_0xcc0ce3,..._0x2a5373){const _0x570fb6=_0xc538c3;var _0x4a4e55,_0x540b43,_0x84e277,_0x233c15;const _0x1ed8d9=this[_0x570fb6(0x2ce)][_0x570fb6(0x2fa)]();if(!_0x1ed8d9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3baeea=((_0x4a4e55=this[_0x570fb6(0x12b)]['getConfig'](_0xc291cc))!=null?_0x4a4e55:_0x3a711d)+'/'+_0x9d26bb+_0x570fb6(0x2c9)+_0x1dc2af,_0x531166=new URL(window['location'][_0x570fb6(0x137)]),_0x4abc51={'scriptId':_0x9d26bb,'runId':(_0x540b43=_0x531166['searchParams']['get'](_0x570fb6(0x2ca)))!=null?_0x540b43:'','function':_0x1dc2af,'unitId':_0x1ed8d9['getUnitId'](),'argsOfFunction':JSON[_0x570fb6(0x1cc)](_0x2a5373),'invokeId':(_0x84e277=_0xcc0ce3[_0x570fb6(0x106)])!=null?_0x84e277:'','executionId':(_0x233c15=_0xcc0ce3[_0x570fb6(0x292)])!=null?_0x233c15:''};try{const _0x442816=await this[_0x570fb6(0x2b1)]['post'](_0x3baeea,{'body':_0x4abc51});return _0x442816['body'][_0x570fb6(0x2a1)]&&_0x442816[_0x570fb6(0x206)][_0x570fb6(0x2a1)][_0x570fb6(0x1f4)]!==Z['OK']?'Failed':_0x442816[_0x570fb6(0x206)][_0x570fb6(0x255)];}catch{return _0x570fb6(0x326);}}};dt=Fn([Ae(0x0,_0x322908),Ae(0x1,_0x510c8b(_0x3d0ff2)),Ae(0x2,_0x1ef39d)],dt);const St=0x7530,It=_0xc538c3(0x267);class rr extends _0x141f9b{constructor(){const _0x211b77=_0xc538c3;super(),_(this,'_id',_0x11693c()),_(this,_0x211b77(0x169),new Set()),_(this,_0x211b77(0x334),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x211b77(0x156),new Map()),_(this,_0x211b77(0x140),new Map()),this[_0x211b77(0x16b)]();}['dispose'](){const _0x13cb00=_0xc538c3;super['dispose'](),this['_clearOtherTimers'][_0x13cb00(0x1d1)]((_0x2ab1f8,_0x4c6dfe)=>this[_0x13cb00(0x265)](_0x4c6dfe)),this['_heartbeatTimer']&&window[_0x13cb00(0x215)](this[_0x13cb00(0x347)]);}[_0xc538c3(0x28e)](_0x4eec0c){const _0x21f0f9=_0xc538c3;return this[_0x21f0f9(0x2e7)](_0x4eec0c)['pipe'](_0x1384d9());}[_0xc538c3(0x2f9)](_0x4b5f07){const _0xe32508=_0xc538c3;this[_0xe32508(0x169)][_0xe32508(0x18a)]===0x0&&this[_0xe32508(0x1f9)](),this['_selfUnitIDs'][_0xe32508(0x273)](_0x4b5f07),this['_send']({'type':0x0,'memberID':this[_0xe32508(0x269)],'unitIDs':[_0x4b5f07],'isForwarded':!0x1});}[_0xc538c3(0x251)](_0x65839f){const _0x438e42=_0xc538c3;this[_0x438e42(0x169)][_0x438e42(0x289)](_0x65839f),this['_selfUnitIDs'][_0x438e42(0x18a)]===0x0&&this['_heartbeatTimer']&&window[_0x438e42(0x215)](this[_0x438e42(0x347)]);}[_0xc538c3(0x16b)](){const _0x351374=_0xc538c3;this[_0x351374(0x247)](_0x50aa11(_0x456ba1(window,'storage')['subscribe'](_0x12a825=>{const _0x299be2=_0x351374;if(_0x12a825[_0x299be2(0x1c2)]!==It||!_0x12a825[_0x299be2(0x15a)])return;const _0x2c2b78=JSON[_0x299be2(0x249)](_0x12a825[_0x299be2(0x15a)]);this[_0x299be2(0x139)](_0x2c2b78);}))),window[_0x351374(0x20d)]('unload',()=>this[_0x351374(0x336)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x351374(0x274)](this[_0x351374(0x169)])}));}[_0xc538c3(0x139)](_0x4fc7bd){const _0x75bba6=_0xc538c3;switch(_0x4fc7bd[_0x75bba6(0x122)]){case 0x0:this[_0x75bba6(0x2ef)](_0x4fc7bd);break;case 0x1:this['_handleLeaveEvent'](_0x4fc7bd);break;case 0x2:this[_0x75bba6(0x306)](_0x4fc7bd);break;}}[_0xc538c3(0x2ef)](_0x1b12b2){const _0x3026d3=_0xc538c3,{unitIDs:_0x408098,memberID:_0x5ba1cc,isForwarded:_0x5d3993}=_0x1b12b2;_0x408098['forEach'](_0x264dae=>{const _0x2d2ad0=_0x3d2b;if(!_0x5d3993&&this[_0x2d2ad0(0x334)]['has'](_0x264dae)&&this[_0x2d2ad0(0x2e7)](_0x264dae)[_0x2d2ad0(0x171)](_0x43b022[_0x2d2ad0(0x340)]),!this[_0x2d2ad0(0x334)][_0x2d2ad0(0x2cd)](_0x264dae)||!this[_0x2d2ad0(0x334)][_0x2d2ad0(0x123)](_0x264dae)[_0x2d2ad0(0x2cd)](_0x5ba1cc)){const _0x576bf4=this[_0x2d2ad0(0x334)]['get'](_0x264dae)||new Set();_0x576bf4[_0x2d2ad0(0x273)](_0x5ba1cc),this['_unitOnClients'][_0x2d2ad0(0x344)](_0x264dae,_0x576bf4),this[_0x2d2ad0(0x242)](_0x5ba1cc);}}),_0x5d3993||this['_send']({'type':0x0,'memberID':this[_0x3026d3(0x269)],'unitIDs':[...this[_0x3026d3(0x169)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x78af60){const _0x126eab=_0xc538c3;this['_removeClearOtherTimer'](_0x78af60);const _0x3d4c0e=window[_0x126eab(0x1a8)](()=>{const _0x4d10e2=_0x126eab;this[_0x4d10e2(0x334)]['forEach'](_0x3174eb=>{_0x3174eb['delete'](_0x78af60);});},St*0x2);this[_0x126eab(0x156)][_0x126eab(0x344)](_0x78af60,_0x3d4c0e);}['_removeClearOtherTimer'](_0x4ea7e7){const _0x529fa6=_0xc538c3;if(this[_0x529fa6(0x156)][_0x529fa6(0x2cd)](_0x4ea7e7)){const _0x10eb59=this[_0x529fa6(0x156)][_0x529fa6(0x123)](_0x4ea7e7);_0x10eb59&&window[_0x529fa6(0x188)](_0x10eb59),this[_0x529fa6(0x156)][_0x529fa6(0x344)](_0x4ea7e7,null);}}['_handleLeaveEvent'](_0x583e27){const _0x3333fd=_0xc538c3,{memberID:_0x34916c,unitIDs:_0x16af60}=_0x583e27;_0x16af60['forEach'](_0x39014c=>{const _0x3b3961=_0x3d2b;var _0x4ce8a7;const _0x150514=this[_0x3b3961(0x334)][_0x3b3961(0x123)](_0x39014c);_0x150514&&(_0x150514[_0x3b3961(0x289)](_0x34916c),(_0x4ce8a7=this[_0x3b3961(0x2e7)](_0x39014c))==null||_0x4ce8a7['next'](_0x150514['size']===0x0?_0x43b022[_0x3b3961(0x2f1)]:_0x43b022[_0x3b3961(0x340)]));}),this[_0x3333fd(0x265)](_0x34916c);}[_0xc538c3(0x306)](_0x4e4f30){const _0x1c87e6=_0xc538c3;this[_0x1c87e6(0x242)](_0x4e4f30[_0x1c87e6(0x223)]);}['_send'](_0xb39e04){const _0x232908=_0xc538c3;localStorage[_0x232908(0x233)](It,JSON[_0x232908(0x1cc)](_0xb39e04));}['_scheduleHeartbeat'](){const _0x22b020=_0xc538c3;this[_0x22b020(0x347)]=window[_0x22b020(0x342)](()=>{const _0x3232bd=_0x22b020;this[_0x3232bd(0x336)]({'type':0x2,'memberID':this[_0x3232bd(0x269)]});},St);}[_0xc538c3(0x2e7)](_0x13e7fb){const _0x5382c0=_0xc538c3;return this['_unitStatus'][_0x5382c0(0x2cd)](_0x13e7fb)||this[_0x5382c0(0x140)]['set'](_0x13e7fb,new _0x301e41(_0x43b022['NO_OTHER_CLIENTS_EDITING'])),this[_0x5382c0(0x140)][_0x5382c0(0x123)](_0x13e7fb);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
1
+ const _0x4cb6a4=_0x3956;(function(_0x5df1f9,_0x10fb07){const _0x2a5459=_0x3956,_0x2b5a6b=_0x5df1f9();while(!![]){try{const _0x36edbc=-parseInt(_0x2a5459(0x115))/0x1+-parseInt(_0x2a5459(0x105))/0x2+parseInt(_0x2a5459(0x2e8))/0x3+parseInt(_0x2a5459(0x1fa))/0x4*(parseInt(_0x2a5459(0x30c))/0x5)+parseInt(_0x2a5459(0x284))/0x6*(parseInt(_0x2a5459(0x1d7))/0x7)+parseInt(_0x2a5459(0xe2))/0x8+-parseInt(_0x2a5459(0x248))/0x9;if(_0x36edbc===_0x10fb07)break;else _0x2b5a6b['push'](_0x2b5a6b['shift']());}catch(_0x28cef4){_0x2b5a6b['push'](_0x2b5a6b['shift']());}}}(_0x19b9,0x4675d));var Yt=Object['defineProperty'],Wt=(_0x568105,_0x4a5d75,_0x1a29d5)=>_0x4a5d75 in _0x568105?Yt(_0x568105,_0x4a5d75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a29d5}):_0x568105[_0x4a5d75]=_0x1a29d5,_=(_0x1c175f,_0x42518b,_0x5ef60c)=>Wt(_0x1c175f,typeof _0x42518b!=_0x4cb6a4(0x21d)?_0x42518b+'':_0x42518b,_0x5ef60c);import{jsx as _0x583146,jsxs as _0x33104b}from'react/jsx-runtime';import{CollaborationStatus as _0x355c0f,CollaborationSessionService as _0x225480,CollaborationController as _0x2a0946,DataLoaderService as _0x429736,MemberService as _0xc5b845,SessionStatus as _0x2c90eb,ILocalCacheService as _0xa76635,CollaborationUIEventService as _0x1527da,CollaborationUIEventId as _0x684afe,DocCollaborationEntity as _0x3c7015,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x588807,getLocalCacheKey as _0x369636,LOCAL_CACHE_INTERVAL as _0x4d3f49,LOCAL_CACHE_INTERVAL_KEY as _0x5c878d,UniverCollaborationClientPlugin as _0x296643,CollaborationSocketService as _0x34b517,DEFAULT_WS_SESSION_TICKET_URL as _0x39fb0c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x24ab76,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xc9a869,UnitStatus as _0x5cb507}from'@univerjs-pro/collaboration-client';import{LocaleService as _0xdd2fc6,IUniverInstanceService as _0x14cde1,Inject as _0x460697,Injector as _0x307bfd,Disposable as _0x4bd602,createIdentifier as _0x468ed3,ILogService as _0x21d8d8,ICommandService as _0x29d21c,Optional as _0x54767c,RxDisposable as _0x387d07,Workbook as _0x2965ea,DOC_RANGE_TYPE as _0x33369f,debounce as _0x357798,Rectangle as _0x520fac,DisposableCollection as _0x4dfaa7,toDisposable as _0xb8c0,UniverInstanceType as _0xaccedf,generateRandomId as _0x3bf90d,COLORS as _0x4887fc,ColorKit as _0x3db1df,ThemeService as _0x286aec,fromEventSubject as _0x5c84a5,Tools as _0x3843dc,CommandType as _0x735f71,IConfigService as _0x5f0f68,CanceledError as _0x3e478b,isFormulaString as _0x49453e,isFormulaId as _0xd29c8b,ILocalStorageService as _0x51c183,DependentOn as _0x53ddfc,Plugin as _0x28da11,merge as _0xa68d8e,registerDependencies as _0x26af39,mergeOverrideWithDependencies as _0x3aa7dc,touchDependencies as _0x234a72}from'@univerjs/core';import{useObservable as _0x154663,useDependency as _0x1819c6,IUIPartsService as _0x559a46,BuiltInUIPart as _0x57eedd,connectInjector as _0x232495,IBeforeCloseService as _0x40a478,IMessageService as _0x6f3ae,INotificationService as _0xe8a5c1}from'@univerjs/ui';import{BehaviorSubject as _0x5e0fc0,switchMap as _0x2411b6,of as _0xd3f9fe,takeUntil as _0x47dffc,debounceTime as _0x4e852b,Subject as _0x45098e,filter as _0xbd2e46,merge as _0xf48905,combineLatest as _0x18e034,fromEvent as _0x2fef3d,shareReplay as _0x6d9b4a,mapTo as _0x583303,distinctUntilChanged as _0x3c4859}from'rxjs';import{Tooltip as _0x2b52de,clsx as _0x4b9bc7,MessageType as _0x319fef}from'@univerjs/design';import{useRef as _0x11e373,createElement as _0x54d1e5,forwardRef as _0x4946ed,useCallback as _0x172ae6}from'react';import{IRemoteInstanceService as _0x14d32d}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x15f818,RefRangeService as _0x5cb60d,SetSelectionsOperation as _0x387c8e,SheetsSelectionsService as _0x3e5f4d,EffectRefRangId as _0x2319c3,handleIRemoveRow as _0x53f6fa,handleIRemoveCol as _0x30f4f8,handleMoveRange as _0x83a2ba,handleInsertRow as _0x1830b5,handleInsertRangeMoveRight as _0xa4f916,handleInsertRangeMoveDown as _0x2ea622,handleInsertCol as _0x513924,handleDeleteRangeMoveUp as _0x1dc24c,handleDeleteRangeMoveLeft as _0x2487a0,runRefRangeMutations as _0x848d32}from'@univerjs/sheets';import{Shape as _0x18811c,Rect as _0x30b3bc,getColor as _0x3dd5c1,RegularPolygon as _0x4ac39,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xd38e99,Vector2 as _0x224b9a,SHEET_VIEWPORT_KEY as _0x12a7e5,IRenderManagerService as _0x591858}from'@univerjs/engine-render';import{HTTPService as _0x3f1253,ISocketService as _0x23856e,WebSocketService as _0x990071}from'@univerjs/network';import{IDocClipboardService as _0x158ff7,NodePositionConvertToCursor as _0x14f0d6,NodePositionConvertToRectRange as _0x179d08,TEXT_RANGE_LAYER_INDEX as _0x536f28,SetDocZoomRatioOperation as _0x4fc292,DocIMEInputManagerService as _0x3fcd4a,DocStateChangeManagerService as _0xdeb5eb}from'@univerjs/docs-ui';import{IImageIoService as _0x4fdb60}from'@univerjs/drawing';import{ITransformService as _0x480862,CollaborationEvent as _0x4c5b2c,isTransformMutationFailure as _0x36a568,isTransformMutationsWithChangesetSuccess as _0x3a7478,RevisionService as _0xb9acf4,ISnapshotServerService as _0x431961}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x333954,RichTextEditingMutation as _0x1bbb72,DocSelectionManagerService as _0xee7088,DocSkeletonManagerService as _0x3c907e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x298d49,serializeRangeWithSheet as _0x3ea7cf,FormulaExecuteStageType as _0x21866a,FormulaExecutedStateType as _0xbfb00a,SetFormulaCalculationStartMutation as _0x52ebd9,SetFormulaCalculationNotificationMutation as _0x5a9abe}from'@univerjs/engine-formula';import{map as _0x7f84b9,filter as _0x6356d3,throttleTime as _0x457313,takeUntil as _0x3f1e44,switchMap as _0x1d66f6}from'rxjs/operators';import{SheetSkeletonManagerService as _0x532b10,getCoordByCell as _0x500f41,getSheetObject as _0x54d3b3}from'@univerjs/sheets-ui';function Ge({ref:_0x4811a2,..._0x2831b7}){const _0x2b2824=_0x4cb6a4,{icon:_0xb7cd2a,id:_0xd1f464,className:_0x1d6aa8,extend:_0x542b85,..._0x4bb2ca}=_0x2831b7,_0x1c4aac=(_0x2b2824(0x16c)+_0xd1f464+'\x20'+(_0x1d6aa8||''))['trim'](),_0x31eb10=_0x11e373('_'+vi());return At(_0xb7cd2a,''+_0xd1f464,{'defIds':_0xb7cd2a[_0x2b2824(0x114)],'idSuffix':_0x31eb10[_0x2b2824(0x1f5)]},{'ref':_0x4811a2,'className':_0x1c4aac,..._0x4bb2ca},_0x542b85);}function At(_0x425b40,_0x5d4949,_0xb64fc4,_0xd31a79,_0x4d3fd9){const _0x50ffc0=_0x4cb6a4;return _0x54d1e5(_0x425b40[_0x50ffc0(0x116)],{'key':_0x5d4949,...gi(_0x425b40,_0xb64fc4,_0x4d3fd9),..._0xd31a79},(Ei(_0x425b40,_0xb64fc4)[_0x50ffc0(0x2ed)]||[])[_0x50ffc0(0xf4)]((_0x4a845b,_0x5f5326)=>At(_0x4a845b,_0x5d4949+'-'+_0x425b40['tag']+'-'+_0x5f5326,_0xb64fc4,void 0x0,_0x4d3fd9)));}function gi(_0xc4f06e,_0xfe53bc,_0x57dd55){const _0x450e4f=_0x4cb6a4,_0x47e93a={..._0xc4f06e['attrs']};_0x57dd55!=null&&_0x57dd55['colorChannel1']&&_0x47e93a[_0x450e4f(0x22b)]===_0x450e4f(0x164)&&(_0x47e93a[_0x450e4f(0x22b)]=_0x57dd55[_0x450e4f(0x164)]),_0xc4f06e[_0x450e4f(0x116)]===_0x450e4f(0x271)&&_0x47e93a['id']&&(_0x47e93a['id']=_0x47e93a['id']+_0xfe53bc[_0x450e4f(0xed)]),Object[_0x450e4f(0xf2)](_0x47e93a)[_0x450e4f(0xea)](([_0x373654,_0x273ed6])=>{const _0x4427=_0x450e4f;_0x373654===_0x4427(0x271)&&typeof _0x273ed6==_0x4427(0x25c)&&(_0x47e93a[_0x373654]=_0x273ed6[_0x4427(0x297)](/url\(#(.*)\)/,_0x4427(0x25e)+_0xfe53bc[_0x4427(0xed)]+')'));});const {defIds:_0x56935c}=_0xfe53bc;return!_0x56935c||_0x56935c[_0x450e4f(0x179)]===0x0||(_0xc4f06e[_0x450e4f(0x116)]===_0x450e4f(0x1b6)&&_0x47e93a[_0x450e4f(0x2c9)]&&(_0x47e93a[_0x450e4f(0x2c9)]=_0x47e93a[_0x450e4f(0x2c9)]+_0xfe53bc[_0x450e4f(0xed)]),Object[_0x450e4f(0xf2)](_0x47e93a)[_0x450e4f(0xea)](([_0x1a35b6,_0x2eece8])=>{const _0x5224af=_0x450e4f;typeof _0x2eece8==_0x5224af(0x25c)&&(_0x47e93a[_0x1a35b6]=_0x2eece8['replace'](/url\(#(.*)\)/,'url(#$1'+_0xfe53bc['idSuffix']+')'));})),_0x47e93a;}function Ei(_0x21bba8,_0x5590de){const _0x39164c=_0x4cb6a4;var _0x1ee7db;const {defIds:_0x5ab1ee}=_0x5590de;return!_0x5ab1ee||_0x5ab1ee[_0x39164c(0x179)]===0x0?_0x21bba8:_0x21bba8['tag']===_0x39164c(0x1f3)&&((_0x1ee7db=_0x21bba8['children'])!=null&&_0x1ee7db[_0x39164c(0x179)])?{..._0x21bba8,'children':_0x21bba8[_0x39164c(0x2ed)][_0x39164c(0xf4)](_0x1dd757=>typeof _0x1dd757[_0x39164c(0x185)]['id']==_0x39164c(0x25c)&&_0x5ab1ee&&_0x5ab1ee[_0x39164c(0x172)](_0x1dd757[_0x39164c(0x185)]['id'])?{..._0x1dd757,'attrs':{..._0x1dd757[_0x39164c(0x185)],'id':_0x1dd757[_0x39164c(0x185)]['id']+_0x5590de['idSuffix']}}:_0x1dd757)}:_0x21bba8;}function vi(){const _0x3d9b25=_0x4cb6a4;return Math[_0x3d9b25(0x289)]()[_0x3d9b25(0x145)](0x24)[_0x3d9b25(0x20b)](0x2,0x8);}Ge['displayName']=_0x4cb6a4(0x296);const pi={'tag':_0x4cb6a4(0x183),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4cb6a4(0x28e),'viewBox':_0x4cb6a4(0x2dd),'width':'1em','height':_0x4cb6a4(0x100)},'children':[{'tag':'g','attrs':{'clipPath':_0x4cb6a4(0x19f)},'children':[{'tag':'path','attrs':{'stroke':_0x4cb6a4(0x2bd),'d':_0x4cb6a4(0x22c),'strokeLinecap':'round','strokeLinejoin':_0x4cb6a4(0xb8),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4cb6a4(0x1e3),'attrs':{'id':_0x4cb6a4(0x305)},'children':[{'tag':_0x4cb6a4(0x240),'attrs':{'fill':_0x4cb6a4(0x17c),'d':_0x4cb6a4(0x12e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Pt=_0x4946ed(function(_0x5bd38f,_0x12b987){const _0x2b59fd=_0x4cb6a4;return _0x54d1e5(Ge,Object['assign']({},_0x5bd38f,{'id':_0x2b59fd(0x298),'ref':_0x12b987,'icon':pi}));});Pt[_0x4cb6a4(0xc5)]='OffLineIcon';const Oi={'tag':_0x4cb6a4(0x183),'attrs':{'xmlns':_0x4cb6a4(0x25b),'fill':_0x4cb6a4(0x28e),'viewBox':_0x4cb6a4(0x178),'width':_0x4cb6a4(0x100),'height':_0x4cb6a4(0x100)},'children':[{'tag':'g','attrs':{'clipPath':_0x4cb6a4(0x29f)},'children':[{'tag':_0x4cb6a4(0x240),'attrs':{'stroke':_0x4cb6a4(0x2bd),'d':_0x4cb6a4(0x131),'strokeLinecap':_0x4cb6a4(0xb8),'strokeLinejoin':_0x4cb6a4(0xb8),'strokeWidth':1.2}}]},{'tag':_0x4cb6a4(0x1f3),'attrs':{},'children':[{'tag':_0x4cb6a4(0x1e3),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x4cb6a4(0x12e),'transform':_0x4cb6a4(0x13c)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x4946ed(function(_0x3f8b75,_0x33c5be){const _0x361e70=_0x4cb6a4;return _0x54d1e5(Ge,Object[_0x361e70(0x1f8)]({},_0x3f8b75,{'id':_0x361e70(0x2df),'ref':_0x33c5be,'icon':Oi}));});wt[_0x4cb6a4(0xc5)]=_0x4cb6a4(0x23f);function Ti(_0x33d0cb){const _0x53435d=_0x4cb6a4;switch(_0x33d0cb){case _0x355c0f[_0x53435d(0x24c)]:return'collabStatus.offline';case _0x355c0f[_0x53435d(0x306)]:return _0x53435d(0x118);case _0x355c0f[_0x53435d(0x225)]:return'collabStatus.fetchMiss';case _0x355c0f[_0x53435d(0x1af)]:return _0x53435d(0xe6);case _0x355c0f[_0x53435d(0xf6)]:case _0x355c0f[_0x53435d(0x1ae)]:return _0x53435d(0x2d4);case _0x355c0f[_0x53435d(0x236)]:case _0x355c0f[_0x53435d(0x21e)]:return'collabStatus.synced';}}function Ci(_0x4fa50d){const _0x1a8cd2=_0x4cb6a4,{status$:_0x1ade08}=_0x4fa50d,_0x1dd387=_0x154663(_0x1ade08,_0x355c0f[_0x1a8cd2(0x1af)]),_0x2c887a=_0x1819c6(_0xdd2fc6),_0x185db1=_0x1819c6(_0x225480),_0x526a61=_0x1dd387!==_0x355c0f[_0x1a8cd2(0x24c)],_0x2766a0=_0x2c887a['t'](Ti(_0x1dd387)),_0x347451=_0x526a61?_0x583146(wt,{}):_0x583146(Pt,{}),_0x3c5a92=_0x172ae6(()=>{const _0x46e01c=_0x1a8cd2;_0x526a61||_0x185db1[_0x46e01c(0x212)]();},[_0x526a61,_0x185db1]);function _0xec0396(){const _0x50ff82=_0x1a8cd2;return _0x33104b('div',{'className':_0x50ff82(0x108),'onClick':_0x3c5a92,'children':[_0x583146(_0x50ff82(0x2e4),{'className':_0x4b9bc7('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x526a61,'univer-text-red-500':!_0x526a61}),'children':_0x347451}),_0x583146(_0x50ff82(0x2e4),{'className':_0x50ff82(0x20c),'children':_0x2766a0})]});}return _0x526a61?_0xec0396():_0x583146(_0x2b52de,{'title':_0x2c887a['t'](_0x1a8cd2(0x2b3)),'children':_0xec0396()});}var Ri=Object[_0x4cb6a4(0x1ed)],Di=(_0x5c1e9d,_0x36139c,_0x5e20d8,_0x1c71a4)=>{const _0x2f92f6=_0x4cb6a4;for(var _0x38d3fb=_0x1c71a4>0x1?void 0x0:_0x1c71a4?Ri(_0x36139c,_0x5e20d8):_0x36139c,_0x27d76e=_0x5c1e9d[_0x2f92f6(0x179)]-0x1,_0x5e123f;_0x27d76e>=0x0;_0x27d76e--)(_0x5e123f=_0x5c1e9d[_0x27d76e])&&(_0x38d3fb=_0x5e123f(_0x38d3fb)||_0x38d3fb);return _0x38d3fb;},se=(_0x43cbaa,_0x1e09bd)=>(_0x44ddc9,_0x2e893d)=>_0x1e09bd(_0x44ddc9,_0x2e893d,_0x43cbaa);let ae=class extends _0x4bd602{constructor(_0x89a1a8,_0x3e6568,_0x2f16c8,_0x1647f8){const _0x10ac79=_0x4cb6a4;super(),_(this,_0x10ac79(0x2ba),new _0x5e0fc0(_0x355c0f[_0x10ac79(0x1af)])),(this['_univerInstanceService']=_0x89a1a8,this[_0x10ac79(0x14d)]=_0x3e6568,this[_0x10ac79(0x149)]=_0x2f16c8,this[_0x10ac79(0x10b)]=_0x1647f8,this[_0x10ac79(0x1c1)](),this[_0x10ac79(0xff)]());}[_0x4cb6a4(0xff)](){const _0x3908b6=_0x4cb6a4;this[_0x3908b6(0x1b2)](this[_0x3908b6(0x168)][_0x3908b6(0x2a8)][_0x3908b6(0xcd)](_0x2411b6(()=>{const _0x1c2015=_0x3908b6,_0x33e771=this['_univerInstanceService'][_0x1c2015(0x107)]();return _0x33e771?this['_collaborationController'][_0x1c2015(0x1d0)](_0x33e771[_0x1c2015(0x2d8)]()):_0xd3f9fe(null);}),_0x2411b6(_0x4a45da=>_0x4a45da?_0x4a45da['status$']:_0xd3f9fe(_0x355c0f[_0x3908b6(0x1af)])))[_0x3908b6(0x13b)](_0x40cbf6=>{const _0x2c1bd5=_0x3908b6;this[_0x2c1bd5(0x2ba)][_0x2c1bd5(0x30d)](_0x40cbf6);}));}[_0x4cb6a4(0x1c1)](){const _0x12c353=_0x4cb6a4;this['disposeWithMe'](this[_0x12c353(0x10b)][_0x12c353(0x199)](_0x57eedd[_0x12c353(0x24d)],()=>_0x232495(Ni({'status$':this[_0x12c353(0x2ba)][_0x12c353(0x1a7)]()}),this['_injector'])));}};ae=Di([se(0x0,_0x14cde1),se(0x1,_0x460697(_0x307bfd)),se(0x2,_0x460697(_0x2a0946)),se(0x3,_0x559a46)],ae);function Ni(_0xbb85b2){const {status$:_0x177d3b}=_0xbb85b2;return function(){return _0x583146(Ci,{'status$':_0x177d3b});};}const yt=_0x468ed3('uni.network.url-service');var bi=Object[_0x4cb6a4(0x1ed)],Li=(_0x251e13,_0x1c143e,_0x248d42,_0x177593)=>{const _0x4bcf12=_0x4cb6a4;for(var _0x18016f=_0x177593>0x1?void 0x0:_0x177593?bi(_0x1c143e,_0x248d42):_0x1c143e,_0x165246=_0x251e13[_0x4bcf12(0x179)]-0x1,_0x1ff1da;_0x165246>=0x0;_0x165246--)(_0x1ff1da=_0x251e13[_0x165246])&&(_0x18016f=_0x1ff1da(_0x18016f)||_0x18016f);return _0x18016f;},K=(_0xd1c5,_0xa80230)=>(_0x561def,_0x277a97)=>_0xa80230(_0x561def,_0x277a97,_0xd1c5);let ce=class extends _0x387d07{constructor(_0x511d8a,_0x22ccf0,_0x59eca9,_0x15d6c5,_0x37ee15){const _0x49b538=_0x4cb6a4;super(),this[_0x49b538(0x2f4)]=_0x511d8a,this['_logService']=_0x22ccf0,this[_0x49b538(0x259)]=_0x59eca9,this[_0x49b538(0x213)]=_0x15d6c5,_0x37ee15?_0x37ee15==null||_0x37ee15[_0x49b538(0x1b0)]()[_0x49b538(0xc0)](()=>this[_0x49b538(0x2ce)]()):(this['_logService'][_0x49b538(0x211)](_0x49b538(0x304),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x4cb6a4(0x2ce)](){const _0x44ea67=_0x4cb6a4,_0x1279d8=this['_urlService'][_0x44ea67(0x1cc)](_0x44ea67(0x1e6)),_0x5bc7cb=this[_0x44ea67(0x2f4)][_0x44ea67(0x1cc)](_0x44ea67(0x17e)),_0x50f615=this['_urlService'][_0x44ea67(0x1cc)](_0x44ea67(0x1eb));if(!_0x1279d8||!_0x5bc7cb){this[_0x44ea67(0x2d0)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x46f59e=await this['_dataLoaderService'][_0x44ea67(0x27b)](_0x1279d8,Number(_0x5bc7cb),_0x50f615);_0x46f59e&&_0x46f59e instanceof _0x2965ea&&this[_0x44ea67(0x104)](_0x46f59e);}async['_setupSubUnitSync'](_0x17aca7){const _0x5f6674=_0x4cb6a4;await this[_0x5f6674(0x290)](_0x17aca7),_0x17aca7[_0x5f6674(0x203)][_0x5f6674(0xcd)](_0x47dffc(this[_0x5f6674(0x165)]))[_0x5f6674(0x13b)](_0xd83f16=>{const _0x4267f0=_0x5f6674;_0xd83f16&&this[_0x4267f0(0x2f1)](_0xd83f16);}),this[_0x5f6674(0x2f4)]['urlChange$'][_0x5f6674(0xcd)](_0x47dffc(this[_0x5f6674(0x165)]))['subscribe'](()=>this[_0x5f6674(0x290)](_0x17aca7));}[_0x4cb6a4(0x2f1)](_0x403fcb,_0x12f918=!0x1){const _0x284b7b=_0x4cb6a4,_0x40d38c=this[_0x284b7b(0x2f4)]['getParam']('subunit');_0x403fcb[_0x284b7b(0xde)]()!==_0x40d38c&&this[_0x284b7b(0x2f4)][_0x284b7b(0x299)](_0x284b7b(0x1eb),_0x403fcb[_0x284b7b(0xde)](),_0x12f918);}async[_0x4cb6a4(0x290)](_0x1bf3ea){const _0x56f81d=_0x4cb6a4;var _0x59738a;const _0xd238ed=this[_0x56f81d(0x2f4)][_0x56f81d(0x1cc)](_0x56f81d(0x1eb));if(!_0xd238ed||!_0x1bf3ea['getSheetBySheetId'](_0xd238ed)){const _0x5c982a=_0x1bf3ea[_0x56f81d(0x1da)]()[0x0],_0x26c9fc=_0x1bf3ea['getSheetBySheetId'](_0x5c982a);if(!_0x26c9fc)return;this[_0x56f81d(0x2f1)](_0x26c9fc,!0x0),await this[_0x56f81d(0x259)][_0x56f81d(0x200)](_0x15f818['id'],{'unitId':_0x1bf3ea[_0x56f81d(0x2d8)](),'subUnitId':_0x5c982a});return;}((_0x59738a=_0x1bf3ea[_0x56f81d(0x222)]())==null?void 0x0:_0x59738a[_0x56f81d(0xde)]())!==_0xd238ed&&await this[_0x56f81d(0x259)][_0x56f81d(0x200)](_0x15f818['id'],{'unitId':_0x1bf3ea[_0x56f81d(0x2d8)](),'subUnitId':_0xd238ed});}};ce=Li([K(0x0,yt),K(0x1,_0x21d8d8),K(0x2,_0x29d21c),K(0x3,_0x460697(_0x429736)),K(0x4,_0x54767c(_0x14d32d))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x28c743,_0x137d88,_0xab76e,_0x41a1f6)=>{const _0x51cda7=_0x4cb6a4;for(var _0x32c133=_0x41a1f6>0x1?void 0x0:_0x41a1f6?Ui(_0x137d88,_0xab76e):_0x137d88,_0xde98e8=_0x28c743[_0x51cda7(0x179)]-0x1,_0x1cc0d6;_0xde98e8>=0x0;_0xde98e8--)(_0x1cc0d6=_0x28c743[_0xde98e8])&&(_0x32c133=_0x1cc0d6(_0x32c133)||_0x32c133);return _0x32c133;},rt=(_0x4aa122,_0x1e34dc)=>(_0x520782,_0x193a80)=>_0x1e34dc(_0x520782,_0x193a80,_0x4aa122);let $e=class extends _0x387d07{constructor(_0x3844f1,_0x175886){const _0x256d92=_0x4cb6a4;super(),this[_0x256d92(0x148)]=_0x3844f1,this[_0x256d92(0xd7)]=_0x175886,this['_init']();}['_init'](){const _0x17497e=_0x4cb6a4,_0x431ab1=this;this[_0x17497e(0x1b2)](this['_docClipboardService'][_0x17497e(0x1c3)]({'onBeforePasteImage':async _0x50b00d=>{const _0x125764=_0x17497e,_0xef599d=await _0x431ab1[_0x125764(0xd7)][_0x125764(0x167)](_0x50b00d);return _0xef599d?{'source':_0xef599d[_0x125764(0x270)],'imageSourceType':_0xef599d[_0x125764(0x252)]}:null;}}));}};$e=Mi([rt(0x0,_0x158ff7),rt(0x1,_0x4fdb60)],$e);const ot=[_0x4cb6a4(0xd0),'jiqing.500',_0x4cb6a4(0x1a8),_0x4cb6a4(0xe0),_0x4cb6a4(0x30e),_0x4cb6a4(0xe3)];function _0x19b9(){const _0x4f74ce=['APPLY_DUPLICATED','_registerDependencies','_injector','getAncestorScale','reason','/universer-api/license/formula/limit/done','toRgbString','permission.title','rgba(255,\x20255,\x20255,\x200.01)','_colorAssignService','onPointerEnter$','_hasFormulaInDirtyRanges','_toggleOffline','_cachedData','getMemberID','lineTo','setStateCache','_saveCache','_collabCursorController','textRanges','transformRemoteChangeset','_updateCollabCursors','collaboration-client-ui.config','_checkCalculationAvailable','push','colorChannel1','dispose$','#FFF','saveImage','_univerInstanceService','onCommandExecuted','setAlpha','CHANGESET_REVISION_CONFILICT','univerjs-icon\x20univerjs-icon-','INVALID_INVITE_CODE','skeleton','EMAIL_VERIFY_CODE_MISMATCH','_labelPosition','UNRECOGNIZED','includes','MoveRangeCommandId','session.will-retry','EMAIL_HAS_BEEN_BOUND','_scheduleClearOtherTimer','[Window\x20Error]:\x20','0\x200\x2017\x2016','length','now','split','white','getMember','type','dispose','_getSaveTimeout','stringify','getConfig','svg','_render','attrs','contains','set','/universer-api/license/formula/limit/start','_initResize','memberID','data','exhaustSavingTask','transformMutationsWithChangeset','LOGIN_TOKEN_PROCESSING_FAILED','permission.content','getDocRanges','_docSkeletonManagerService','REDEMPTION_CODE_INACTIVE','filename','/universer-api/license/formula/limit/status','_drawRectRange','getSkeleton','lineno','_hover','registerComponent','black','_handleEvent','_renderManagerService','_instanceService','onMouseMove','url(#off-line-icon_clip0_910_343)','doc.mutation.rich-text-editing','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_ASYNCIO_CANCELLED','_pollingInterval','_name','complete','_config','asObservable','green.600','MOBILE_HAS_BEEN_BOUND','drawWith','ENSURE_SNAPSHOT_EXECUTION','_onCursorDelete','fillRule','AWAITING_WITH_PENDING','NOT_COLLAB','whenReady','_entityInit$','disposeWithMe','_getAnchorBounding','actions','_scheduleHeartbeat','use','FromArray','beginPath','getUniverSheetInstance','subUnitId','send','TOO_MANY_REQUESTS','ENTITLE_CAN_NOT_BUY_LOWER_OTP','saveOfflineData','addObjects','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_initStatusComponent','_cursorInfo$','addClipboardHook','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','APPLY_PERMISSION_DENIED','getActiveRange','startFormulaLimitUrl','height','_anchorDot','_removeClearOtherTimer','getParam','_startDocCollabCursor','RECT','deepClone','getCollabEntity$','_localStorageService','stage','YUUMI_NO_CUBOID_FOR_QUESTION','requireSession','_collaborationUIEventService','ERROR_AGAIN','1298577jftLcg','AUTHORIZE_CODE_ILLEGAL','isEditing','getUnhiddenWorksheets','_collaborationSessionService','removeEventListener','_getSheetObject','urlChange$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','restore','getStateCache','collab-text-anchor-','clipPath','unload','CURRENT_STATUS_CANNOT_OPERATE','unit','createInstance','SOCKET_FAILED','_lastPointer','_collabSessionService','subunit','?taskId=','getOwnPropertyDescriptor','NO_OTHER_CLIENTS_EDITING','_docTransformStateCacheService','parseInt','_httpService','USER_NOT_INVITED_CODE','defs','REDEMPTION_CODE_FULLY_REDEEMED','current','LICENSE_DISTRO_REJECTED','YUUMI_AI_RUN_FAILED','assign','ranges','1632HSzmAn','backgroundColor','enableFrontendLog','_refRangeService','REDEMPTION_INVALID_CODE','params','executeCommand','_docTransformSelectionsService','PAYMENT_CHANNEL_NOT_SUPPORT','activeSheet$','from','add','currentSkeleton$','bottom','undoState','setInterval','replaceState','substring','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Error','collaboration.offline-data-not-saved','width','saveTaskMap','debug','reconnect','_dataLoaderService','_getSessionTicket','colno','bind','color','getSheetBySheetId','size','getVpScrollXYInfoByPosToVp','SUBMIT_CHANGESET_TIMEOUT','_updateLocalCursor','symbol','PENDING','_color','delete','getTypeOfUnitAdded$','getActiveSheet','mutations','_initDependencies','FETCH_MISS','getCurrentRevOfUnit','_draw','ACTIVE_UNIT_EVENT_CHANNEL','USER_IS_ANONYMOUS','sheetId','fill','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','ENTITLE_INVALID_COUPON_CODE','isArray','YUUMI_URL_COL_OUT_OF_RANGE','_applyCommand','CONNECTOR_DATA_TOO_LARGE','USER_NOT_FOUND','APPLY_REVISION_CONFILICT','_disabled','_online','SYNCED','location','setTimeout','_sheetSkeletonManagerService','ENTITLE_DUP_SUBSCRIPTION','setShapeProps','_cursors','APPLY_NON_SEQUENTIAL_REVISION','fillText','OnLineIcon','path','unsubscribe','get','_unitOnClients','ENTITLE_NEED_BILLING_ADDRESS','runId','some','text','425205zMLMnW','addObject','_getScale','selection','OFFLINE','HEADER_MENU','_range','_clearPolling','NOT_FOUND','_docSkeleton','imageSourceType','invokeId','entityInit$','onStarting','START_CALCULATION','ENTITLE_REPORT_LIMIT_EXCEED','addEventListener','_commandService','_createSocketURL','http://www.w3.org/2000/svg','string','parse','url(#$1','defineProperty','_releaseCalculationLimit','find','_hovered','_getMergeRange','search','getCellMatrix','_entities','font','_drawAnchor','_hideTimer','history','_transformPreviousActiveRange','onPointerMove$','_refreshCollabCursors','RemoveColCommandId','body','source','mask','measureText','range','INVITE_CODE_REQUIRED','[LogService\x20Error]:\x20','beforeCommandExecuted','_localeService','_maxFormulaLimit','_eventUnsubscribe','column','loadUnit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_handleHover','collaboration.single-unit.warning','InsertRangeMoveDownCommandId','_beforeCloseService','YUUMI_RATE_OVER_LIMIT','has','REDEMPTION_USER_REDEEM_TIMES_EXCEED','12NdAcFg','origin','_onCursorUpdate','cursorInfo$','SOCKET_FAILED_RETRY','random','_currentUsage','unhandledrejection','_unitStatus','_drawTextRange','none','getCurrent','_updateSubUnitFromURLParams','getValue','catch','clearInterval','releaseFormulaLimitUrl','sheetID','UniverIcon','replace','off-line-icon','setParam','InsertRangeMoveRightCommandId','executionId','save','_setFormulaLimitStatus','pluginName','url(#on-line-icon_clip0_910_349)','replaceDocRanges','_collabCursorState$','_transformHistoryAndStateStack','top','_shapes','sessionStatus$','WECHAT_HAS_BEEN_BOUND','_anchor','focused$','YUUMI_UNABLE_LOAD_URL','popstate','COMPLETION_FINISHED','show','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_registerRenderDependencies','_themeService','_initCommandExecutedListener','ticket','_taskIds','collab-client.tooltip.reconnect','stack','arc','_initUnhandledRejectionListener','ENTITLE_COUPON_USED_UP','removeParam','_session','_status$','override','assignAColorForMemberID','currentColor','sessionTicket','ENTITLE_CHAT_LIMIT_EXCEED','values','makeDirty','_roomMembers$','Unknown\x20user','moveTo','storage','USERS_LEAVE','getRenderById','transformByState','xlink:href','_ensureSubject','getTypeOfUnitDisposed$','/universer-api/frontend/logs','REDEMPTION_USER_NOT_ELIGIBLE','_init','getItem','_logService','collab-text-range-','TEXT','fillStyle','collabStatus.syncing','hovered','setActiveRange','findNodePositionByCharIndex','getUnitId','INVITE_CODE_ALREADY_BOUND','_handleHeartbeatEvent','_cursorShapes','searchParams','0\x200\x2016\x2016','getUndoRedoMutationParamsCache','on-line-icon','getColorFromTheme','\x20at\x20','_transformService','getCellPositionByOffset','div','_textBubble','getCollabCursors$','_startSheetCollabCursor','1099953yXDeXq','_backgroundColor','getUnit','max','syncEditingCollabCursor','children','_showGuardMessage','eventID','SNAPSHOT_INVALID_SNAPSHOT','_updateURLWithCurrentState','formula.calculation.waiting','_docStateChangeManagerService','_urlService','name','ONLINE','UNIVER_DOC','Loading','_initEntityListener','transformSelections','ENTITLE_USE_COUPON_NOT_1ST_TRADE','closePath','InsertRowCommandId','_initCommandInterceptor','UPDATE_CURSOR','startColumn','totalFormulasToCalculate','getRangePointData','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationDataLoaderController]','off-line-icon_clip0_910_343','CONFLICT','LICENSE_MAX_UNITS_EXCEEDED','getRelativeToViewportCoord','error','CLOSE_ROOM','_notificationService','4545kNWeHs','next','blue.400','_configService','code','runOnServer','disableLocalCache','round','REDEMPTION_CODE_HAS_BEEN_CREATED','_setupBeforeClosingHandler','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ALREADY_EXISTS','MUTATION','formula.calculation.unable','session.connection-failed','then','getUnitStatus$','endColumn','_syncEditingCollabCursorService','_heartbeatTimer','displayName','OTHER_CLIENTS_EDITING','APPLY_REJECT','_getFormulaLimitStatus','LOGIN_FAILED','_handleLeaveEvent','_send','clearTimeout','pipe','PY_RUNTIME_SCRIPT_ERROR','Warning','purple.300','_id','_clearOtherTimers','row','startRow','UNIVER_SHEET','JOIN_ROOM_FAILED','_imageIoService','disposeUnit','_messageService','_onRefRangeChange','evenodd','_toggleOnline','_selfUnitIDs','getSheetId','OTHER_CLIENT_EDITING','red.300','_monkeyPatchLogService','668128BVVxGV','yellow.400','_assignedColors','transformIMECache','collabStatus.notCollab','collabCursorState$','YUUMI_CONNECTOR_URL_NOT_FOUND','PERMISSION_DENIED','forEach','setConfig','_colorIndex','idSuffix','message','setUndoRedoMutationParamsCache','DeleteRangeMoveLeftCommandId','currentTheme$','entries','INVITE_CODE_HAS_BEEN_UES','map','_startCalculationLimit','AWAITING','min','transformMutation','SNAPSHOT_HAS_BEEN_REMOVED','registerRenderModule','YUUMI_ALL_TABLES_IS_INVALID','labelPosition','_checkAndWaitForCalculationPermission','m2Prime','_initStatusListener','1em','selections','roomMembers$','_context','_setupSubUnitSync','1110278RXDpyp','_initWindowErrorListener','getFocusedUnit','univer-flex\x20univer-items-center','_revisionService','_lastResponseTimestamp','_uiPartsService','_docTransformIMECacheService','post','hide','functionsExecutedState','addHandlerCallback','limitInfo','newValue','unitId','defIds','301072seOrKJ','tag','application/json','collabStatus.conflict','subscribeEvent','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onLocalMutation','UNAUTHENTICATED','onRendered','LICENSE_IMPORT_SIZE_EXCEEDED','_uploadLog','onTransformChange$','stageInfo','unshift','registerBeforeClose','Failed','_removeCollabCursors','_docSyncEditingCollabCursorService','REDEMPTION_CODE_NOT_STARTED','getformulaLimitStatusUrl','redoState','_scheduleSaving','transformStateCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setItem','M0\x200H16V16H0z','init','_memberID','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','with','m1Prime','endRow','event$','_memberService','UNDEFINED','_saveTaskMap','loadOfflineData','_scene','subscribe','translate(.97)','isActive','_document','href','createSocket','ENTITLE_INSUFFICIENT_QUOTA','all','cursorInfo','wsSessionTicketUrl','toString','INVALID_ARGUMENT','pushState','_docClipboardService','_collaborationController','unitID'];_0x19b9=function(){return _0x4f74ce;};return _0x19b9();}class Ke extends _0x4bd602{constructor(){const _0x268c8f=_0x4cb6a4;super(...arguments),_(this,_0x268c8f(0xe4),new Map()),_(this,_0x268c8f(0xec),0x0);}['assignAColorForMemberID'](_0x64a5b){const _0x443cd9=_0x4cb6a4;if(this[_0x443cd9(0xe4)][_0x443cd9(0x282)](_0x64a5b))return this[_0x443cd9(0xe4)][_0x443cd9(0x242)](_0x64a5b);const _0x217d4f=ot[this[_0x443cd9(0xec)]];return this[_0x443cd9(0xec)]=(this[_0x443cd9(0xec)]+0x1)%ot[_0x443cd9(0x179)],this[_0x443cd9(0xe4)][_0x443cd9(0x187)](_0x64a5b,_0x217d4f),_0x217d4f;}}function $t(_0x708da2){const _0x13a1bb=_0x4cb6a4;let _0x3b623b='';for(const _0x31deee of _0x708da2){const {startOffset:_0x779c6f,endOffset:_0x53f11a,isActive:_0x3a9370,rangeType:_0x277faa,segmentId:_0x2543ff,segmentPage:_0xa68d1e}=_0x31deee;_0x3b623b[_0x13a1bb(0x179)]&&(_0x3b623b+=','),_0x3b623b+=_0x779c6f+':'+_0x53f11a+':'+(_0x3a9370?'1':'0')+':'+_0x277faa+':'+_0x2543ff+':'+_0xa68d1e;}return _0x3b623b;}function Ai(_0x3b903c){const _0x264e05=_0x4cb6a4,_0x438b3f=_0x3b903c[_0x264e05(0x17b)](','),_0x476d01=[];for(const _0x16c873 of _0x438b3f){const [_0x36ddff,_0x37a442,_0x1d674c,_0x5baf1e,_0x59920f,_0x20a6d7]=_0x16c873[_0x264e05(0x17b)](':');_0x476d01[_0x264e05(0x163)]({'startOffset':Number(_0x36ddff),'endOffset':Number(_0x37a442),'collapsed':_0x36ddff===_0x37a442,'isActive':_0x1d674c==='1','rangeType':_0x5baf1e===_0x33369f[_0x264e05(0x2d2)]?_0x33369f[_0x264e05(0x2d2)]:_0x33369f[_0x264e05(0x1ce)],'segmentId':typeof _0x59920f==_0x264e05(0x25c)?String(_0x59920f):'','segmentPage':Number(_0x20a6d7!=null?_0x20a6d7:-0x1)});}return _0x476d01[_0x264e05(0x246)](_0xa4c65f=>_0xa4c65f[_0x264e05(0x13d)])||(_0x476d01[0x0][_0x264e05(0x13d)]=!0x0),_0x476d01;}class ze extends _0x387d07{constructor(){const _0x392f46=_0x4cb6a4;super(...arguments),_(this,_0x392f46(0x2a1),new _0x5e0fc0(null)),_(this,_0x392f46(0xe7),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x28a902){const _0x5a0daf=_0x4cb6a4,{unitID:_0x2cf199,memberID:_0x30e8f6,textRanges:_0x1c4f37}=_0x28a902,_0x5ba09b=$t(_0x1c4f37);if(_0x5ba09b==='')return;const _0x3c56bc={'unitID':_0x2cf199,'memberID':_0x30e8f6,'selection':_0x5ba09b};this[_0x5a0daf(0x2a1)][_0x5a0daf(0x30d)](_0x3c56bc);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x3162bf,_0x5888d8,_0x3db504,_0x166c93)=>{const _0x2ce25b=_0x4cb6a4;for(var _0x5c95c2=_0x166c93>0x1?void 0x0:_0x166c93?Pi(_0x5888d8,_0x3db504):_0x5888d8,_0x2c1e2d=_0x3162bf[_0x2ce25b(0x179)]-0x1,_0x298257;_0x2c1e2d>=0x0;_0x2c1e2d--)(_0x298257=_0x3162bf[_0x2c1e2d])&&(_0x5c95c2=_0x298257(_0x5c95c2)||_0x5c95c2);return _0x5c95c2;},A=(_0x160666,_0x5cc7d1)=>(_0x1b8288,_0x55ec7f)=>_0x5cc7d1(_0x1b8288,_0x55ec7f,_0x160666);const yi=0x12c,$i=0x64;let xe=class extends _0x387d07{constructor(_0x363a75,_0x191ca4,_0xa861d1,_0x576e64,_0x4b8790,_0x1443d7,_0x1c91e8,_0xfa27c0,_0x18df53){const _0x3709b3=_0x4cb6a4;super(),_(this,_0x3709b3(0x235),!0x1),_(this,_0x3709b3(0x2ce),!0x1),_(this,'_cursorInfo$',new _0x5e0fc0(new Map())),_(this,'cursorInfo$',this[_0x3709b3(0x1c2)][_0x3709b3(0x1a7)]()),_(this,'_roomMembers$',new _0x5e0fc0([])),_(this,_0x3709b3(0x102),this['_roomMembers$'][_0x3709b3(0xcd)](_0x4e852b(yi))),_(this,_0x3709b3(0x21c),_0x357798(_0x211d52=>{const _0x4870ba=_0x3709b3,_0x3bcaef={'eventID':_0x4c5b2c['UPDATE_CURSOR'],'data':{'unitID':this[_0x4870ba(0x14a)],'memberID':this[_0x4870ba(0x2b9)][_0x4870ba(0x159)](),'selection':$t(_0x211d52)}};this[_0x4870ba(0x2b9)][_0x4870ba(0x1bb)](_0x3bcaef,this['unitID']);},$i)),(this[_0x3709b3(0x14a)]=_0x363a75,this[_0x3709b3(0x2b9)]=_0x191ca4,this['_injector']=_0xa861d1,this[_0x3709b3(0x154)]=_0x576e64,this[_0x3709b3(0x136)]=_0x4b8790,this[_0x3709b3(0xc3)]=_0x1443d7,this[_0x3709b3(0x2e2)]=_0x1c91e8,this[_0x3709b3(0x168)]=_0xfa27c0,this[_0x3709b3(0x259)]=_0x18df53);}get['cursorInfo'](){const _0x45547b=_0x4cb6a4;return this[_0x45547b(0x1c2)][_0x45547b(0x291)]();}get['roomMembers'](){const _0x4882d5=_0x4cb6a4;return this['_roomMembers$'][_0x4882d5(0x291)]();}['dispose'](){const _0x47654e=_0x4cb6a4;super[_0x47654e(0x17f)](),this[_0x47654e(0x1c2)][_0x47654e(0x30d)](new Map()),this[_0x47654e(0x1c2)][_0x47654e(0x1a5)](),this[_0x47654e(0x2c2)][_0x47654e(0x30d)]([]),this[_0x47654e(0x2c2)][_0x47654e(0x1a5)]();}[_0x4cb6a4(0x12f)](){const _0x44d2dd=_0x4cb6a4;this[_0x44d2dd(0x2ce)]||(this[_0x44d2dd(0x2ce)]=!0x0,this[_0x44d2dd(0x2b9)][_0x44d2dd(0x2a5)][_0x44d2dd(0xcd)](_0x47dffc(this[_0x44d2dd(0x165)]))[_0x44d2dd(0x13b)](_0x29167c=>{const _0x289c56=_0x44d2dd;_0x29167c===_0x2c90eb[_0x289c56(0x2f6)]?this[_0x289c56(0xdc)]():this[_0x289c56(0x157)]();}),this[_0x44d2dd(0x2b9)]['event$'][_0x44d2dd(0xcd)](_0x47dffc(this[_0x44d2dd(0x165)]))[_0x44d2dd(0x13b)](_0x556548=>{const _0x4d04b4=_0x44d2dd,_0x17a944=_0x556548[_0x4d04b4(0x2ef)];_0x17a944===_0x4c5b2c[_0x4d04b4(0x2ff)]&&this[_0x4d04b4(0x286)](_0x556548),_0x17a944===_0x4c5b2c['USERS_LEAVE']&&this[_0x4d04b4(0x1ac)](_0x556548);}),this[_0x44d2dd(0x1b2)](this['_commandService']['onCommandExecuted'](_0x3bb046=>{const _0x5d729e=_0x44d2dd,_0x4e3519=_0x3bb046[_0x5d729e(0x1ff)];_0x4e3519!=null&&this[_0x5d729e(0x235)]&&_0x3bb046['id']===_0x333954['id']&&_0x4e3519['unitId']===this['unitID']&&_0x4e3519[_0x5d729e(0x1d9)]===!0x1&&_0x4e3519[_0x5d729e(0x1f9)][_0x5d729e(0x179)]>0x0&&this[_0x5d729e(0x21c)](_0x4e3519[_0x5d729e(0x1f9)]);})),this[_0x44d2dd(0xc3)]['collabCursorState$'][_0x44d2dd(0xcd)](_0x47dffc(this[_0x44d2dd(0x165)]))['subscribe'](_0x9b886=>{const _0x10bf2=_0x44d2dd;if((_0x9b886==null?void 0x0:_0x9b886[_0x10bf2(0x14a)])!==this[_0x10bf2(0x14a)])return;const _0x53dce7={'eventID':_0x4c5b2c[_0x10bf2(0x2ff)],'data':_0x9b886};this['_onCursorUpdate'](_0x53dce7);}),this[_0x44d2dd(0x1b2)](this[_0x44d2dd(0x259)][_0x44d2dd(0x169)](_0x134ace=>{const _0x10957d=_0x44d2dd;if(_0x134ace[_0x10957d(0x1ff)]==null)return;const _0x3494dc=_0x134ace['params'];if(_0x134ace['id']!==_0x1bbb72['id']||_0x3494dc[_0x10957d(0x113)]!==this['unitID'])return;const _0x521358={'id':_0x10957d(0x1a0),'params':_0x3494dc},_0x58aaaf=this[_0x10957d(0x143)];for(const [_0x3b38e1,_0x1d67ff]of _0x58aaaf){const _0x3604dc={'id':_0x10957d(0x1a0),'params':{'unitId':this[_0x10957d(0x14a)],'actions':null,'textRanges':_0x1d67ff[_0x10957d(0x1f9)]}},_0x3707cd=this['_transformService'][_0x10957d(0xf8)](_0x521358,_0x3604dc,!0x1);if(_0x36a568(_0x3707cd))throw _0x3707cd[_0x10957d(0x309)];_0x58aaaf[_0x10957d(0x187)](_0x3b38e1,{..._0x1d67ff,'ranges':_0x3707cd[_0x10957d(0xfe)][_0x10957d(0x1ff)][_0x10957d(0x15e)]});}queueMicrotask(()=>{const _0x5ae115=_0x10957d;this[_0x5ae115(0x1c2)]['next'](_0x58aaaf);});})));}['_onCursorUpdate'](_0x19771c){const _0x449e4c=_0x4cb6a4;var _0x2203da,_0x5258fe;const {memberID:_0x314927,selection:_0x299111}=_0x19771c[_0x449e4c(0x18b)],_0x3395a9=Ai(_0x299111),_0x4b5176=(_0x5258fe=(_0x2203da=this[_0x449e4c(0x136)][_0x449e4c(0x17d)](this['unitID'],_0x314927))==null?void 0x0:_0x2203da[_0x449e4c(0x2f5)])!=null?_0x5258fe:_0x449e4c(0x2c3),_0x2284dc={'color':this[_0x449e4c(0x154)]['assignAColorForMemberID'](_0x314927),'name':_0x4b5176,'ranges':_0x3395a9},_0x1ef1a6=this[_0x449e4c(0x143)];_0x1ef1a6[_0x449e4c(0x187)](_0x314927,_0x2284dc),this['_cursorInfo$'][_0x449e4c(0x30d)](_0x1ef1a6);}[_0x4cb6a4(0x1ac)](_0x21746f){const _0x2ed2ec=_0x4cb6a4,{memberID:_0x293be5}=_0x21746f['data'],_0x5eaa7e=this[_0x2ed2ec(0x143)];_0x5eaa7e['delete'](_0x293be5),this['_cursorInfo$']['next'](_0x5eaa7e);}[_0x4cb6a4(0xdc)](){const _0x247e30=_0x4cb6a4;var _0x148c39;if(this['_online']=!0x0,((_0x148c39=this[_0x247e30(0x168)][_0x247e30(0x107)]())==null?void 0x0:_0x148c39['getUnitId']())!==this[_0x247e30(0x14a)])return;const _0x106736=this[_0x247e30(0x14d)][_0x247e30(0x242)](_0xee7088)[_0x247e30(0x190)]();Array[_0x247e30(0x22e)](_0x106736)&&_0x106736[_0x247e30(0x179)]>0x0&&this[_0x247e30(0x21c)](_0x106736);}['_toggleOffline'](){this['_online']=!0x1;}};xe=wi([A(0x2,_0x460697(_0x307bfd)),A(0x3,_0x460697(Ke)),A(0x4,_0x460697(_0xc5b845)),A(0x5,_0x460697(ze)),A(0x6,_0x480862),A(0x7,_0x14cde1),A(0x8,_0x29d21c)],xe);var xi=Object[_0x4cb6a4(0x1ed)],Bi=(_0x59f70e,_0x52a711,_0x246e8b,_0x3aeb25)=>{const _0x47018b=_0x4cb6a4;for(var _0x240e4b=_0x3aeb25>0x1?void 0x0:_0x3aeb25?xi(_0x52a711,_0x246e8b):_0x52a711,_0x42b2ee=_0x59f70e[_0x47018b(0x179)]-0x1,_0xade1f8;_0x42b2ee>=0x0;_0x42b2ee--)(_0xade1f8=_0x59f70e[_0x42b2ee])&&(_0x240e4b=_0xade1f8(_0x240e4b)||_0x240e4b);return _0x240e4b;},B=(_0x86b5c0,_0xd7f1d3)=>(_0x40239f,_0x433927)=>_0xd7f1d3(_0x40239f,_0x433927,_0x86b5c0);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x4e61ac=[],_0x560d25=!0x1;return _0x4eb3aa=>{const _0x5747e7=_0x3956;_0x4e61ac[_0x5747e7(0x163)](_0x4eb3aa),_0x560d25||(_0x560d25=!0x0,setTimeout(()=>{const _0x777213=_0x5747e7;_0x4e61ac[_0x777213(0xea)](_0x46231a=>_0x46231a()),_0x4e61ac=[],_0x560d25=!0x1;}));};};let Be=class extends _0x387d07{constructor(_0x49a89c,_0x25befc,_0x419444,_0x289b4c,_0x539c9a,_0x286e74,_0x420582,_0x3fd42d){const _0x242c0a=_0x4cb6a4;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x242c0a(0x1c2),new _0x5e0fc0(new Map())),_(this,_0x242c0a(0x287),this['_cursorInfo$'][_0x242c0a(0x1a7)]()),_(this,_0x242c0a(0x2c2),new _0x5e0fc0([])),_(this,'roomMembers$',this['_roomMembers$'][_0x242c0a(0xcd)](_0x4e852b(Fi))),_(this,'_updateLocalCursor',_0x357798((_0x289c39,_0x5a15a1)=>{const _0x4a2b54=_0x242c0a,_0x38907d={'eventID':_0x4c5b2c[_0x4a2b54(0x2ff)],'data':{'unitID':this[_0x4a2b54(0x14a)],'memberID':this[_0x4a2b54(0x2b9)]['getMemberID'](),'selection':_0x3ea7cf(_0x289c39,_0x5a15a1[_0x4a2b54(0x273)])}};this['_session'][_0x4a2b54(0x1bb)](_0x38907d,this[_0x4a2b54(0x14a)]);},ki)),(this[_0x242c0a(0x14a)]=_0x49a89c,this['_session']=_0x25befc,this[_0x242c0a(0x14d)]=_0x419444,this[_0x242c0a(0x154)]=_0x289b4c,this[_0x242c0a(0x136)]=_0x539c9a,this[_0x242c0a(0x168)]=_0x286e74,this[_0x242c0a(0x259)]=_0x420582,this[_0x242c0a(0x1fd)]=_0x3fd42d);}get[_0x4cb6a4(0x143)](){const _0x2652bd=_0x4cb6a4;return this[_0x2652bd(0x1c2)]['getValue']();}get['roomMembers'](){const _0x194e8e=_0x4cb6a4;return this[_0x194e8e(0x2c2)][_0x194e8e(0x291)]();}[_0x4cb6a4(0x17f)](){const _0x11c985=_0x4cb6a4;super[_0x11c985(0x17f)](),this['_cursorInfo$'][_0x11c985(0x30d)](new Map()),this[_0x11c985(0x1c2)][_0x11c985(0x1a5)](),this[_0x11c985(0x2c2)]['next']([]),this[_0x11c985(0x2c2)][_0x11c985(0x1a5)]();}[_0x4cb6a4(0x12f)](){const _0x54a3a2=_0x4cb6a4;this[_0x54a3a2(0x2ce)]||(this[_0x54a3a2(0x2ce)]=!0x0,this['_session'][_0x54a3a2(0x2a5)][_0x54a3a2(0xcd)](_0x47dffc(this[_0x54a3a2(0x165)]))[_0x54a3a2(0x13b)](_0xd001ed=>{const _0x4bb15a=_0x54a3a2;_0xd001ed===_0x2c90eb[_0x4bb15a(0x2f6)]?this[_0x4bb15a(0xdc)]():this[_0x4bb15a(0x157)]();}),this[_0x54a3a2(0x2b9)][_0x54a3a2(0x135)][_0x54a3a2(0xcd)](_0x47dffc(this[_0x54a3a2(0x165)]))[_0x54a3a2(0x13b)](_0xaa36a9=>{const _0x4f233e=_0x54a3a2,_0x313680=_0xaa36a9[_0x4f233e(0x2ef)];_0x313680===_0x4c5b2c[_0x4f233e(0x2ff)]&&this['_onCursorUpdate'](_0xaa36a9),_0x313680===_0x4c5b2c[_0x4f233e(0x2c6)]&&this[_0x4f233e(0x1ac)](_0xaa36a9);}),this[_0x54a3a2(0xda)](),this[_0x54a3a2(0x1b2)](this[_0x54a3a2(0x259)][_0x54a3a2(0x169)](_0x34ef3a=>{const _0x1e2a2a=_0x54a3a2;if(this['_online']&&_0x34ef3a['id']===_0x387c8e['id']&&_0x34ef3a['params'][_0x1e2a2a(0x113)]===this['unitID']){const _0x56b559=_0x34ef3a[_0x1e2a2a(0x1ff)];this[_0x1e2a2a(0x21c)](_0x56b559[_0x1e2a2a(0x1ba)],_0x56b559[_0x1e2a2a(0x101)][0x0]);}})));}['_onCursorUpdate'](_0x59016d){const _0x705507=_0x4cb6a4;var _0x435a58,_0x2e9a82;const {memberID:_0x5c12ce,selection:_0xdb6d58}=_0x59016d[_0x705507(0x18b)],{sheetName:_0x14a8dd,range:_0x303c67}=_0x298d49(_0xdb6d58),_0x29633a={'name':(_0x2e9a82=(_0x435a58=this[_0x705507(0x136)][_0x705507(0x17d)](this[_0x705507(0x14a)],_0x5c12ce))==null?void 0x0:_0x435a58[_0x705507(0x2f5)])!=null?_0x2e9a82:_0x705507(0x2c3),'range':this[_0x705507(0x263)](_0x14a8dd,_0x303c67),'sheetID':_0x14a8dd,'color':this[_0x705507(0x154)][_0x705507(0x2bc)](_0x5c12ce),'selection':_0xdb6d58},_0x304030=this[_0x705507(0x143)];_0x304030[_0x705507(0x187)](_0x5c12ce,_0x29633a),this[_0x705507(0x1c2)]['next'](_0x304030);}[_0x4cb6a4(0x1ac)](_0xcf5248){const _0x401777=_0x4cb6a4,{memberID:_0x7ece06}=_0xcf5248[_0x401777(0x18b)],_0x3ec407=this[_0x401777(0x143)];_0x3ec407[_0x401777(0x220)](_0x7ece06),this[_0x401777(0x1c2)][_0x401777(0x30d)](_0x3ec407);}[_0x4cb6a4(0x263)](_0x57b89e,_0x2e9cb7){const _0x36c7ca=_0x4cb6a4;var _0x5bb4c5,_0x14f9a6;const _0x21fede=(_0x14f9a6=(_0x5bb4c5=this[_0x36c7ca(0x168)][_0x36c7ca(0x1b9)](this[_0x36c7ca(0x14a)]))==null?void 0x0:_0x5bb4c5['getSheetBySheetId'](_0x57b89e))==null?void 0x0:_0x14f9a6['getMergeData']();return(_0x21fede==null?void 0x0:_0x21fede[_0x36c7ca(0x261)](_0x4fb74e=>_0x520fac[_0x36c7ca(0x186)](_0x4fb74e,_0x2e9cb7)))||_0x2e9cb7;}[_0x4cb6a4(0xda)](){const _0x1233f2=_0x4cb6a4,_0x50a5d2=new _0x4dfaa7(),_0x3ad1cb=Hi(),_0x213f8a=()=>{const _0x8277c5=_0x3956;_0x50a5d2['dispose']();const _0x26c417=(_0x2371b2,_0xbf24de,_0x48f9f1,_0x25685f)=>{const _0x2324f5=_0x3956;let _0x310409=[];switch(_0x2371b2['id']){case _0x2319c3[_0x2324f5(0xf0)]:{_0x310409=_0x2487a0(_0x2371b2,_0x25685f);break;}case _0x2319c3['DeleteRangeMoveUpCommandId']:{_0x310409=_0x1dc24c(_0x2371b2,_0x25685f);break;}case _0x2319c3['InsertColCommandId']:{_0x310409=_0x513924(_0x2371b2,_0x25685f);break;}case _0x2319c3[_0x2324f5(0x27f)]:{_0x310409=_0x2ea622(_0x2371b2,_0x25685f);break;}case _0x2319c3[_0x2324f5(0x29a)]:{_0x310409=_0xa4f916(_0x2371b2,_0x25685f);break;}case _0x2319c3[_0x2324f5(0x2fd)]:{_0x310409=_0x1830b5(_0x2371b2,_0x25685f);break;}case _0x2319c3[_0x2324f5(0x173)]:{_0x310409=_0x83a2ba(_0x2371b2,_0x25685f);break;}case _0x2319c3[_0x2324f5(0x26e)]:{_0x310409=_0x30f4f8(_0x2371b2,_0x25685f);break;}case _0x2319c3['RemoveRowCommandId']:{_0x310409=_0x53f6fa(_0x2371b2,_0x25685f);break;}}const _0x461628=_0x848d32(_0x310409,_0x25685f),_0x499647=this[_0x2324f5(0x143)]['get'](_0xbf24de);if(_0x499647&&_0x461628){const _0x1a9a56={..._0x499647,'range':_0x461628};this['cursorInfo'][_0x2324f5(0x187)](_0xbf24de,_0x1a9a56),_0x3ad1cb(()=>{const _0x7cd0e5=_0x2324f5,_0x332713=this['_refRangeService']['registerRefRange'](_0x461628,_0x28574e=>(_0x332713['dispose'](),_0x26c417(_0x28574e,_0xbf24de,_0x48f9f1,_0x461628)));_0x50a5d2[_0x7cd0e5(0x205)](_0x332713);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x8277c5(0xea)]((_0x452cee,_0x261e17)=>{const _0x2b0911=_0x8277c5,{range:_0x53987d,sheetID:_0xec9178}=_0x452cee,_0x4a445a=this[_0x2b0911(0x1fd)]['registerRefRange'](_0x53987d,_0x20628c=>(_0x4a445a['dispose'](),_0x26c417(_0x20628c,_0x261e17,_0xec9178,_0x53987d)));_0x50a5d2[_0x2b0911(0x205)](_0x4a445a);});};this[_0x1233f2(0x1b2)](_0xb8c0(this[_0x1233f2(0x1c2)][_0x1233f2(0x13b)](()=>{_0x213f8a();})));}['_toggleOnline'](){const _0x559f8a=_0x4cb6a4;var _0x529916,_0x530b7a;if(this[_0x559f8a(0x235)]=!0x0,((_0x529916=this[_0x559f8a(0x168)][_0x559f8a(0x107)]())==null?void 0x0:_0x529916[_0x559f8a(0x2d8)]())!==this['unitID'])return;const _0x178c15=(_0x530b7a=this[_0x559f8a(0x14d)][_0x559f8a(0x242)](_0x3e5f4d)['getCurrentSelections']())==null?void 0x0:_0x530b7a[0x0],_0x52f87f=this[_0x559f8a(0x168)]['getCurrentUnitForType'](_0xaccedf[_0x559f8a(0xd5)])[_0x559f8a(0x222)]();_0x178c15&&_0x52f87f&&this[_0x559f8a(0x21c)](_0x52f87f[_0x559f8a(0xde)](),_0x178c15);}[_0x4cb6a4(0x157)](){const _0x5c5d32=_0x4cb6a4;this[_0x5c5d32(0x235)]=!0x1;}};Be=Bi([B(0x2,_0x460697(_0x307bfd)),B(0x3,_0x460697(Ke)),B(0x4,_0x460697(_0xc5b845)),B(0x5,_0x14cde1),B(0x6,_0x29d21c),B(0x7,_0x460697(_0x5cb60d))],Be);var Yi=Object[_0x4cb6a4(0x1ed)],Wi=(_0x5db86c,_0x460629,_0x2144d4,_0xb82e33)=>{const _0x419101=_0x4cb6a4;for(var _0x329473=_0xb82e33>0x1?void 0x0:_0xb82e33?Yi(_0x460629,_0x2144d4):_0x460629,_0xc78dde=_0x5db86c[_0x419101(0x179)]-0x1,_0xb1548c;_0xc78dde>=0x0;_0xc78dde--)(_0xb1548c=_0x5db86c[_0xc78dde])&&(_0x329473=_0xb1548c(_0x329473)||_0x329473);return _0x329473;},Ce=(_0x434fd2,_0x416ad2)=>(_0x3149c8,_0x57a3cb)=>_0x416ad2(_0x3149c8,_0x57a3cb,_0x434fd2);let H=class extends _0x387d07{constructor(_0x5b3159,_0x538fd5,_0x37a60b){const _0x314c95=_0x4cb6a4;super(),_(this,'_entities',new Map()),_(this,_0x314c95(0x1b1),new _0x45098e()),(this[_0x314c95(0x168)]=_0x5b3159,this[_0x314c95(0x14d)]=_0x538fd5,this[_0x314c95(0x1ea)]=_0x37a60b,this[_0x314c95(0x2ce)]());}[_0x4cb6a4(0x17f)](){const _0x8a674e=_0x4cb6a4;super[_0x8a674e(0x17f)](),this[_0x8a674e(0x1b1)][_0x8a674e(0x1a5)](),this[_0x8a674e(0x266)]['forEach'](_0x20f3f3=>_0x20f3f3['dispose']());}[_0x4cb6a4(0x2e6)](_0x38f29f){const _0xf2d3c5=_0x4cb6a4;return this['_entities'][_0xf2d3c5(0x282)](_0x38f29f)?this['_entities'][_0xf2d3c5(0x242)](_0x38f29f)['cursorInfo$']:this[_0xf2d3c5(0x1b1)][_0xf2d3c5(0xcd)](_0xbd2e46(_0x2fdbc1=>_0x2fdbc1['unitID']===_0x38f29f),_0x2411b6(_0x24bf0e=>_0x24bf0e['cursorInfo$']));}[_0x4cb6a4(0x2ce)](){const _0x418b60=_0x4cb6a4;this[_0x418b60(0x168)][_0x418b60(0x221)](_0xaccedf[_0x418b60(0xd5)])[_0x418b60(0xcd)](_0x47dffc(this['dispose$']))[_0x418b60(0x13b)](async _0x496c98=>{const _0x376cdc=_0x418b60,_0xf081b2=_0x496c98['getUnitId'](),_0x41ecf8=await this[_0x376cdc(0x2e7)](_0xf081b2);this[_0x376cdc(0x1b1)][_0x376cdc(0x30d)](_0x41ecf8),this[_0x376cdc(0x266)][_0x376cdc(0x187)](_0xf081b2,_0x41ecf8);}),this[_0x418b60(0x168)][_0x418b60(0x221)](_0xaccedf[_0x418b60(0x2f7)])['pipe'](_0x47dffc(this[_0x418b60(0x165)]))[_0x418b60(0xcd)](_0xbd2e46(_0x639bce=>!_0x639bce[_0x418b60(0x2d8)]()['startsWith']('__')))[_0x418b60(0x13b)](async _0xefe889=>{const _0x7ba80b=_0x418b60,_0x373b99=_0xefe889['getUnitId'](),_0x5992b3=await this[_0x7ba80b(0x1cd)](_0x373b99);this[_0x7ba80b(0x1b1)][_0x7ba80b(0x30d)](_0x5992b3),this[_0x7ba80b(0x266)][_0x7ba80b(0x187)](_0x373b99,_0x5992b3);}),_0xf48905(this[_0x418b60(0x168)][_0x418b60(0x2cb)](_0xaccedf[_0x418b60(0x2f7)]),this[_0x418b60(0x168)][_0x418b60(0x2cb)](_0xaccedf[_0x418b60(0xd5)]))[_0x418b60(0xcd)](_0x47dffc(this[_0x418b60(0x165)]))[_0x418b60(0x13b)](_0x4162bd=>{const _0x3cf991=_0x418b60,_0x300ca1=_0x4162bd[_0x3cf991(0x2d8)](),_0xa4cbd1=this[_0x3cf991(0x266)][_0x3cf991(0x242)](_0x300ca1);_0xa4cbd1&&(_0xa4cbd1[_0x3cf991(0x17f)](),this[_0x3cf991(0x266)]['delete'](_0x300ca1));});}async[_0x4cb6a4(0x2e7)](_0x581fc8){const _0x4caf80=_0x4cb6a4,_0x192876=await this[_0x4caf80(0x1ea)][_0x4caf80(0x1d4)](_0x581fc8),_0x597dbf=this[_0x4caf80(0x14d)][_0x4caf80(0x1e7)](Be,_0x581fc8,_0x192876);return _0x597dbf[_0x4caf80(0x12f)](),_0x597dbf;}async['_startDocCollabCursor'](_0xce0ecd){const _0x17a237=_0x4cb6a4,_0x5a05d0=await this[_0x17a237(0x1ea)][_0x17a237(0x1d4)](_0xce0ecd),_0x9f1c45=this[_0x17a237(0x14d)][_0x17a237(0x1e7)](xe,_0xce0ecd,_0x5a05d0);return _0x9f1c45[_0x17a237(0x12f)](),_0x9f1c45;}};H=Wi([Ce(0x0,_0x14cde1),Ce(0x1,_0x460697(_0x307bfd)),Ce(0x2,_0x460697(_0x225480))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x55dc62,_0x251a82){const _0x1db0fa=_0x4cb6a4;let {radius:_0x219438,width:_0x240ef7,height:_0x8e4cd}=_0x251a82;_0x219438=_0x219438!=null?_0x219438:0x0,_0x240ef7=_0x240ef7!=null?_0x240ef7:0x1e,_0x8e4cd=_0x8e4cd!=null?_0x8e4cd:0x1e;let _0x25dbb1=0x0,_0x183998=0x0,_0x2ca7c3=0x0;_0x25dbb1=_0x183998=_0x2ca7c3=Math[_0x1db0fa(0xf7)](_0x219438,_0x240ef7/0x2,_0x8e4cd/0x2),_0x55dc62[_0x1db0fa(0x1b8)](),_0x55dc62[_0x1db0fa(0x2c4)](_0x25dbb1,0x0),_0x55dc62[_0x1db0fa(0x15a)](_0x240ef7-_0x183998,0x0),_0x55dc62[_0x1db0fa(0x2b5)](_0x240ef7-_0x183998,_0x183998,_0x183998,Math['PI']*0x3/0x2,0x0,!0x1),_0x55dc62[_0x1db0fa(0x15a)](_0x240ef7,_0x8e4cd-_0x2ca7c3),_0x55dc62[_0x1db0fa(0x2b5)](_0x240ef7-_0x2ca7c3,_0x8e4cd-_0x2ca7c3,_0x2ca7c3,0x0,Math['PI']/0x2,!0x1),_0x55dc62[_0x1db0fa(0x15a)](0x0,_0x8e4cd),_0x55dc62['lineTo'](0x0,_0x25dbb1),_0x55dc62[_0x1db0fa(0x2b5)](_0x25dbb1,_0x25dbb1,_0x25dbb1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x55dc62[_0x1db0fa(0x2fc)](),_0x251a82[_0x1db0fa(0x22b)]&&(_0x55dc62[_0x1db0fa(0x29c)](),_0x55dc62['fillStyle']=_0x251a82['fill'],_0x251a82[_0x1db0fa(0x1ad)]===_0x1db0fa(0xdb)?_0x55dc62[_0x1db0fa(0x22b)](_0x1db0fa(0xdb)):_0x55dc62['fill'](),_0x55dc62[_0x1db0fa(0x1e0)]());}class ve extends _0x18811c{constructor(_0x1fd34d,_0x468a5c){const _0x3529b5=_0x4cb6a4;super(_0x1fd34d,_0x468a5c),_(this,_0x3529b5(0x217)),_(this,_0x3529b5(0x247)),(this[_0x3529b5(0x217)]=_0x468a5c==null?void 0x0:_0x468a5c['color'],this['text']=_0x468a5c==null?void 0x0:_0x468a5c[_0x3529b5(0x247)]);}static[_0x4cb6a4(0x1aa)](_0x29edd9,_0x38120a){const _0x309352=_0x4cb6a4,{text:_0x2921b7,color:_0x127ca3}=_0x38120a;_0x29edd9['save'](),_0x29edd9[_0x309352(0x267)]=_0x309352(0x1df);const _0x53aff3=_0x29edd9[_0x309352(0x272)](_0x2921b7)[_0x309352(0x20f)],_0x56a63f=Math[_0x309352(0xf7)](_0x53aff3+0x2*Re,at);ji(_0x29edd9,{'height':Q,'radius':0x4,'width':_0x56a63f,'fill':_0x127ca3}),_0x29edd9[_0x309352(0x2d3)]=_0x309352(0x166);const _0x3ce437=Re,_0x315a4b=Q-Vi,_0x919b4f=at-0x2*Re;if(_0x53aff3>_0x919b4f){let _0x572f7e='',_0x5110cb=0x0;for(const _0x58f27d of _0x2921b7){const _0x2db751=_0x29edd9[_0x309352(0x272)](_0x58f27d)[_0x309352(0x20f)];if(_0x5110cb+_0x2db751<=_0x919b4f-_0x29edd9['measureText']('...')[_0x309352(0x20f)])_0x572f7e+=_0x58f27d,_0x5110cb+=_0x2db751;else{_0x572f7e+='...';break;}}_0x29edd9[_0x309352(0x23e)](_0x572f7e,_0x3ce437,_0x315a4b);}else _0x29edd9[_0x309352(0x23e)](_0x2921b7,_0x3ce437,_0x315a4b);_0x29edd9[_0x309352(0x1e0)]();}[_0x4cb6a4(0x227)](_0x125aba){const _0x580c2f=_0x4cb6a4;ve[_0x580c2f(0x1aa)](_0x125aba,this);}}const De=_0x4cb6a4(0x1e2),Xi=_0x4cb6a4(0x2d1),Gi='collab-rect-range-',z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x4cb6a4(0x153);class ct{constructor(_0x823c3a,_0x597d6e,_0x3702a3,_0x1262f1){const _0xb251c2=_0x4cb6a4;_(this,'_shapes',[]),_(this,_0xb251c2(0x2a7),null),_(this,'_textBubble',null),_(this,_0xb251c2(0x1ca),null),_(this,_0xb251c2(0x269),null),_(this,_0xb251c2(0x279),null),(this['_cursor']=_0x823c3a,this[_0xb251c2(0x13a)]=_0x597d6e,this[_0xb251c2(0x251)]=_0x3702a3,this[_0xb251c2(0x13e)]=_0x1262f1,this[_0xb251c2(0x184)]());}set[_0x4cb6a4(0x198)](_0x1a769d){const _0x1f16ab=_0x4cb6a4;_0x1a769d?(this[_0x1f16ab(0x1ca)]&&this['_anchorDot'][_0x1f16ab(0x10e)](),this[_0x1f16ab(0x2e5)]&&this[_0x1f16ab(0x2e5)]['show']()):(this[_0x1f16ab(0x1ca)]&&this[_0x1f16ab(0x1ca)][_0x1f16ab(0x2ac)](),this[_0x1f16ab(0x2e5)]&&this[_0x1f16ab(0x2e5)]['hide']());}[_0x4cb6a4(0x17f)](){const _0x20dc63=_0x4cb6a4;for(const _0x2cf2d7 of this[_0x20dc63(0x2a4)])_0x2cf2d7[_0x20dc63(0x17f)]();this[_0x20dc63(0x2e5)]&&this['_textBubble'][_0x20dc63(0x17f)](),this[_0x20dc63(0x1ca)]&&this['_anchorDot'][_0x20dc63(0x17f)](),this[_0x20dc63(0x2a7)]&&this['_anchor'][_0x20dc63(0x17f)](),this['_eventUnsubscribe']&&this[_0x20dc63(0x279)]();}[_0x4cb6a4(0x184)](){const _0xe8146e=_0x4cb6a4;var _0x2afbd1;const {_docSkeleton:_0x556264,_document:_0xac0bc6}=this,{color:_0x4e2093,name:_0x4cb53b,ranges:_0x218003}=this['_cursor'],_0x3027bf=_0xac0bc6['getOffsetConfig'](),{docsLeft:_0x40f787,docsTop:_0x5eaa8c}=_0x3027bf,_0x38ee02=new _0x14f0d6(_0x3027bf,_0x556264);for(const {startOffset:_0x5656f1,endOffset:_0x1f8dda,rangeType:_0x490590,segmentId:_0x18d712,segmentPage:_0x49ee79,collapsed:_0x408c34,isActive:_0x2d1f1c}of _0x218003){const _0x4d0185=_0x556264[_0xe8146e(0x2d7)](_0x5656f1,!0x0,_0x18d712,_0x49ee79);let _0x46b0cc=_0x556264[_0xe8146e(0x2d7)](_0x1f8dda,!0x0,_0x18d712,_0x49ee79);if(_0x46b0cc==null&&(_0x46b0cc=_0x556264[_0xe8146e(0x2d7)](_0x1f8dda-0x1,!0x1,_0x18d712,_0x49ee79)),_0x2d1f1c){const {contentBoxPointGroup:_0x206111}=_0x38ee02[_0xe8146e(0x302)](_0x46b0cc,_0x46b0cc);if(_0x206111[_0xe8146e(0x179)]===0x0)continue;this['_drawAnchor'](_0x4e2093,_0x206111,_0x40f787,_0x5eaa8c,_0x4cb53b),this[_0xe8146e(0x279)]=this['_handleHover']();}if(_0x4d0185&&_0x46b0cc){if(_0x490590===_0x33369f['RECT']){const _0x273770=new _0x179d08(_0x3027bf,_0x556264),{pointGroup:_0x378a4c}=(_0x2afbd1=_0x273770[_0xe8146e(0x302)](_0x4d0185,_0x46b0cc))!=null?_0x2afbd1:{};if(_0x378a4c==null||_0x378a4c[_0xe8146e(0x179)]===0x0)continue;this[_0xe8146e(0x195)](_0x4e2093,_0x378a4c,_0x40f787,_0x5eaa8c);}else{if(!_0x408c34){const {borderBoxPointGroup:_0x15f456}=_0x38ee02[_0xe8146e(0x302)](_0x4d0185,_0x46b0cc);if(_0x15f456[_0xe8146e(0x179)]===0x0)continue;this[_0xe8146e(0x28d)](_0x4e2093,_0x15f456,_0x40f787,_0x5eaa8c);}}}}}[_0x4cb6a4(0x268)](_0x34f678,_0x508434,_0x8c24f8,_0x4f64a7,_0x1d6fa1){const _0x5f48d9=_0x4cb6a4,_0x5b24fc=this[_0x5f48d9(0x1b3)](_0x508434),{left:_0x57b174,top:_0x1a6862,height:_0x24cce2}=_0x5b24fc,_0x4869ca=this[_0x5f48d9(0x24a)](),_0x5e810f=zi/_0x4869ca,_0x20adde=new _0x30b3bc(De+_0x3bf90d(z),{'left':_0x57b174+_0x8c24f8-_0x5e810f,'top':_0x1a6862+_0x4f64a7,'height':_0x24cce2,'width':Ki,'fill':_0x34f678||_0x3dd5c1(_0x4887fc[_0x5f48d9(0x19a)],0x0),'strokeWidth':_0x5e810f,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x20adde,this[_0x5f48d9(0x13a)][_0x5f48d9(0x249)](_0x20adde,_0x536f28);const _0x323b0d=new _0x30b3bc(De+_0x3bf90d(z),{'left':_0x57b174+_0x8c24f8-_0x5e810f,'top':_0x1a6862+_0x4f64a7-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x34f678||_0x3dd5c1(_0x4887fc[_0x5f48d9(0x19a)],0x0),'strokeWidth':0x0,'stroke':_0x34f678||_0x3dd5c1(_0x4887fc[_0x5f48d9(0x19a)],0x0),'evented':!0x1});this[_0x5f48d9(0x1ca)]=_0x323b0d,this[_0x5f48d9(0x13a)][_0x5f48d9(0x249)](_0x323b0d,_0x536f28);const _0x2b01fb=new ve(De+_0x3bf90d(z),{'left':_0x57b174+_0x8c24f8-_0x5e810f,'top':_0x1a6862+_0x4f64a7-Q,'text':_0x1d6fa1,'color':_0x34f678});this[_0x5f48d9(0x2e5)]=_0x2b01fb,this[_0x5f48d9(0x13a)][_0x5f48d9(0x249)](_0x2b01fb,_0x536f28),this[_0x5f48d9(0x198)]=!0x1;}[_0x4cb6a4(0x27d)](){const _0x28b39c=_0x4cb6a4,_0x45447c=this['_anchor']['onPointerEnter$'][_0x28b39c(0x119)](()=>{this['_hover']=!0x0;}),_0xd5d7b6=this[_0x28b39c(0x2a7)]['onPointerLeave$'][_0x28b39c(0x119)](()=>{const _0x37901f=_0x28b39c;this[_0x37901f(0x269)]&&clearTimeout(this['_hideTimer']),this[_0x37901f(0x269)]=setTimeout(()=>{const _0x151e7f=_0x37901f;this[_0x151e7f(0x198)]=!0x1;},0x7d0);});return()=>{const _0x4bd721=_0x28b39c;_0x45447c[_0x4bd721(0x241)](),_0xd5d7b6[_0x4bd721(0x241)]();};}[_0x4cb6a4(0x28d)](_0x479b0e,_0x237a12,_0x1ca9b9,_0x6dacda){const _0x478b2e=_0x4cb6a4,_0x1218eb=new _0x3db1df(_0x479b0e)[_0x478b2e(0x16a)](0.2)[_0x478b2e(0x151)](),_0x3ef8bd=new _0x4ac39(Xi+_0x3bf90d(z),{'pointsGroup':_0x237a12,'fill':_0x1218eb||_0x3dd5c1(_0x4887fc[_0x478b2e(0x19a)],0.2),'left':_0x1ca9b9,'top':_0x6dacda,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x478b2e(0x2a4)][_0x478b2e(0x163)](_0x3ef8bd),this[_0x478b2e(0x13a)][_0x478b2e(0x249)](_0x3ef8bd,_0x536f28);}[_0x4cb6a4(0x195)](_0x55fd4a,_0x2b3c69,_0x3fb6dc,_0x44ca96){const _0x2b488b=_0x4cb6a4,_0x31a5e0=new _0x3db1df(_0x55fd4a)[_0x2b488b(0x16a)](0.2)['toRgbString'](),_0x531b68=new _0x4ac39(Gi+_0x3bf90d(z),{'pointsGroup':_0x2b3c69,'fill':_0x31a5e0||_0x3dd5c1(_0x4887fc[_0x2b488b(0x19a)],0.2),'left':_0x3fb6dc,'top':_0x44ca96,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b488b(0x2a4)][_0x2b488b(0x163)](_0x531b68),this[_0x2b488b(0x13a)][_0x2b488b(0x249)](_0x531b68,_0x536f28);}[_0x4cb6a4(0x1b3)](_0x320e54){const _0x5d7fbe=_0x320e54[0x0],_0x157718=_0x5d7fbe[0x0],_0x34f4e1=_0x5d7fbe[0x2],{x:_0x20bb6f,y:_0x4a997d}=_0x157718,{x:_0x2d2980,y:_0x2bffc9}=_0x34f4e1;return{'left':_0x20bb6f,'top':_0x4a997d,'width':_0x2d2980-_0x20bb6f,'height':_0x2bffc9-_0x4a997d};}[_0x4cb6a4(0x24a)](){const _0xdfa691=_0x4cb6a4,{scaleX:_0x19f144,scaleY:_0xd18c90}=this['_scene'][_0xdfa691(0x14e)]();return Math[_0xdfa691(0x2eb)](_0x19f144,_0xd18c90);}}var Zi=Object[_0x4cb6a4(0x1ed)],Qi=(_0x2f456c,_0x1354ac,_0x24b5bd,_0x32d772)=>{for(var _0x25d5dd=_0x32d772>0x1?void 0x0:_0x32d772?Zi(_0x1354ac,_0x24b5bd):_0x1354ac,_0x53ef8f=_0x2f456c['length']-0x1,_0x5cab07;_0x53ef8f>=0x0;_0x53ef8f--)(_0x5cab07=_0x2f456c[_0x53ef8f])&&(_0x25d5dd=_0x5cab07(_0x25d5dd)||_0x25d5dd);return _0x25d5dd;},ie=(_0x35435e,_0x13d8ea)=>(_0x4555dc,_0x4ac11e)=>_0x13d8ea(_0x4555dc,_0x4ac11e,_0x35435e);let Fe=class extends _0x387d07{constructor(_0x276986,_0x5c7b8c,_0x54f0a0,_0x211f66,_0x19e476){const _0x6034a0=_0x4cb6a4;super(),_(this,'_cursorShapes',[]),_(this,_0x6034a0(0x23c),[]),(this[_0x6034a0(0x103)]=_0x276986,this[_0x6034a0(0x191)]=_0x5c7b8c,this[_0x6034a0(0x15d)]=_0x54f0a0,this[_0x6034a0(0x259)]=_0x211f66,this[_0x6034a0(0x2af)]=_0x19e476,this['_init']());}[_0x4cb6a4(0x2ce)](){const _0x42c94f=_0x4cb6a4,_0x551b57=this[_0x42c94f(0x103)][_0x42c94f(0x113)],_0x388167=this[_0x42c94f(0x191)];this['disposeWithMe'](_0x18e034([this['_collabCursorController'][_0x42c94f(0x2e6)](_0x551b57),this['_themeService'][_0x42c94f(0xf1)]])['pipe'](_0x7f84b9(([_0x6506c5,_0x2994cc])=>({'skeleton':_0x388167[_0x42c94f(0x196)](),'cursors':[..._0x6506c5[_0x42c94f(0x2c0)]()]['flatMap'](_0x550e47=>({..._0x550e47,'color':this[_0x42c94f(0x2af)]['getColorFromTheme'](_0x550e47[_0x42c94f(0x217)])}))})))[_0x42c94f(0x13b)](_0x2667d1=>{const _0xd5c6c8=_0x42c94f;if(this['_removeCollabCursors'](),_0x2667d1){const {skeleton:_0x20045a,cursors:_0x120152}=_0x2667d1;this[_0xd5c6c8(0x160)](_0x20045a,_0x120152);}})),this[_0x42c94f(0x189)](),this[_0x42c94f(0x2b0)]();}[_0x4cb6a4(0x160)](_0x16dfcb,_0x4907cf){const _0x22a017=_0x4cb6a4,{scene:_0x25ef0e,mainComponent:_0x2dfe57}=this[_0x22a017(0x103)],_0x1280ff=_0x4907cf[_0x22a017(0xf4)](_0x18bde9=>new ct(_0x18bde9,_0x25ef0e,_0x16dfcb,_0x2dfe57));this[_0x22a017(0x2db)]=_0x1280ff,this[_0x22a017(0x23c)]=_0x4907cf;}[_0x4cb6a4(0x26d)](){const _0x2bcf7e=_0x4cb6a4;this[_0x2bcf7e(0x125)]();const {scene:_0x3d733c,mainComponent:_0x2d00d9}=this[_0x2bcf7e(0x103)],_0x59b5a4=this[_0x2bcf7e(0x191)]['getSkeleton'](),_0x3019af=this[_0x2bcf7e(0x23c)][_0x2bcf7e(0xf4)](_0x1eeea7=>new ct(_0x1eeea7,_0x3d733c,_0x59b5a4,_0x2d00d9));this['_cursorShapes']=_0x3019af;}['_removeCollabCursors'](){const _0x3c1dc2=_0x4cb6a4;this[_0x3c1dc2(0x2db)][_0x3c1dc2(0xea)](_0x2006d6=>_0x2006d6[_0x3c1dc2(0x17f)]()),this[_0x3c1dc2(0x2db)]=[];}[_0x4cb6a4(0x2b0)](){const _0x3c97fc=_0x4cb6a4,_0x4fe0f9=[_0x4fc292['id']];this[_0x3c97fc(0x1b2)](this['_commandService'][_0x3c97fc(0x169)](_0x1c86cd=>{const _0x5777f7=_0x3c97fc;_0x4fe0f9['includes'](_0x1c86cd['id'])&&_0x1c86cd[_0x5777f7(0x1ff)]['unitId']===this['_context'][_0x5777f7(0x113)]&&this[_0x5777f7(0x26d)]();}));}['_initResize'](){const _0x1cedf3=_0x4cb6a4;this[_0x1cedf3(0x1b2)](_0x5c84a5(this['_context']['engine'][_0x1cedf3(0x120)])[_0x1cedf3(0xcd)](_0x6356d3(_0x475ba3=>_0x475ba3[_0x1cedf3(0x17e)]===_0xd38e99['resize']),_0x457313(0x10))[_0x1cedf3(0x13b)](()=>{const _0x109ae0=_0x1cedf3;this[_0x109ae0(0x26d)]();}));}};Fe=Qi([ie(0x1,_0x460697(_0x3c907e)),ie(0x2,_0x460697(H)),ie(0x3,_0x29d21c),ie(0x4,_0x460697(_0x286aec))],Fe);const qi=0x1,en=1.5;class tn extends _0x18811c{constructor(_0x252e5d,_0x5330f0){const _0x1930b4=_0x4cb6a4;super(_0x252e5d,_0x5330f0),_(this,_0x1930b4(0x21f)),_(this,'_hovered',!0x1),_(this,_0x1930b4(0x24e)),_(this,_0x1930b4(0x1a4),''),_(this,_0x1930b4(0x170),_0x1930b4(0x2a3)),_(this,'_backgroundColor'),(_0x5330f0&&this[_0x1930b4(0x23b)](_0x5330f0),this[_0x1930b4(0x155)][_0x1930b4(0x119)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x1930b4(0x23b)]({'hovered':!0x1})));}['setShapeProps'](_0x310961){const _0x4895f1=_0x4cb6a4;var _0x2eeba8,_0x2f4bf2,_0x2733e6,_0x3da23a,_0x2de986,_0x22b5a7;this[_0x4895f1(0x21f)]=(_0x2eeba8=_0x310961[_0x4895f1(0x217)])!=null?_0x2eeba8:this['_color'],this[_0x4895f1(0x262)]=(_0x2f4bf2=_0x310961[_0x4895f1(0x2d5)])!=null?_0x2f4bf2:this['_hovered'],this[_0x4895f1(0x24e)]=(_0x2733e6=_0x310961[_0x4895f1(0x273)])!=null?_0x2733e6:this[_0x4895f1(0x24e)],this[_0x4895f1(0x1a4)]=(_0x3da23a=_0x310961[_0x4895f1(0x2f5)])!=null?_0x3da23a:this[_0x4895f1(0x1a4)],this[_0x4895f1(0x170)]=(_0x2de986=_0x310961[_0x4895f1(0xfc)])!=null?_0x2de986:this['_labelPosition'],this[_0x4895f1(0x2e9)]=(_0x22b5a7=_0x310961[_0x4895f1(0x1fb)])!=null?_0x22b5a7:this[_0x4895f1(0x2e9)],this[_0x4895f1(0x2c8)]({'width':_0x310961[_0x4895f1(0x20f)],'height':_0x310961['height']});}[_0x4cb6a4(0x19e)](_0x1e9765){const _0x5171be=_0x4cb6a4,{row:_0x362f4f,column:_0x491e27}=_0x1e9765;if(_0x362f4f>=this['_range'][_0x5171be(0xd4)]&&_0x362f4f<=this[_0x5171be(0x24e)]['endRow']&&_0x491e27>=this[_0x5171be(0x24e)][_0x5171be(0x300)]&&_0x491e27<=this[_0x5171be(0x24e)][_0x5171be(0xc2)]){this[_0x5171be(0x23b)]({'hovered':!0x0});return;}this[_0x5171be(0x23b)]({'hovered':!0x1});}['triggerDblclick'](_0x5eb322){return!0x1;}[_0x4cb6a4(0x227)](_0x2fb74a){const _0x578b70=_0x4cb6a4;_0x30b3bc[_0x578b70(0x1aa)](_0x2fb74a,{'width':this[_0x578b70(0x20f)],'height':this[_0x578b70(0x1c9)],'strokeWidth':en,'stroke':this[_0x578b70(0x21f)],'evented':!0x1,'fill':this[_0x578b70(0x2e9)]}),this[_0x578b70(0x262)]&&(_0x2fb74a[_0x578b70(0x29c)](),_0x2fb74a['transform'](0x1,0x0,0x0,0x1,this[_0x578b70(0x20f)],this[_0x578b70(0x170)]===_0x578b70(0x207)?0x0:-Q),ve['drawWith'](_0x2fb74a,{'text':this[_0x578b70(0x1a4)],'color':this[_0x578b70(0x21f)]}),_0x2fb74a[_0x578b70(0x1e0)]());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5450f2,_0x34b6e5,_0xed10de,_0x41613a)=>{const _0x5f2500=_0x4cb6a4;for(var _0x523dcb=_0x41613a>0x1?void 0x0:_0x41613a?sn(_0x34b6e5,_0xed10de):_0x34b6e5,_0x24255c=_0x5450f2[_0x5f2500(0x179)]-0x1,_0x128d31;_0x24255c>=0x0;_0x24255c--)(_0x128d31=_0x5450f2[_0x24255c])&&(_0x523dcb=_0x128d31(_0x523dcb)||_0x523dcb);return _0x523dcb;},be=(_0xe62634,_0x47ad3c)=>(_0x3d71e1,_0x2ef415)=>_0x47ad3c(_0x3d71e1,_0x2ef415,_0xe62634);const rn=0x1389;let ke=class extends _0x387d07{constructor(_0x3dce31,_0x5f2771,_0x1007f5,_0x11ad24){const _0x52455b=_0x4cb6a4;super(),_(this,_0x52455b(0x23c),new Set()),_(this,_0x52455b(0x1e9),null),(this[_0x52455b(0x103)]=_0x3dce31,this[_0x52455b(0x239)]=_0x5f2771,this['_collabCursorController']=_0x1007f5,this[_0x52455b(0x2af)]=_0x11ad24,this[_0x52455b(0x2ce)]());}[_0x4cb6a4(0x2ce)](){const _0x513f78=_0x4cb6a4;this['_sheetSkeletonManagerService'][_0x513f78(0x206)][_0x513f78(0xcd)](_0x3f1e44(this[_0x513f78(0x165)]),_0x1d66f6(_0x10d4e4=>{const _0x4441bd=_0x513f78;if(_0x10d4e4){const _0x178259=_0x10d4e4[_0x4441bd(0x22a)];return _0x18e034(this['_collabCursorController'][_0x4441bd(0x2e6)](this[_0x4441bd(0x103)][_0x4441bd(0x113)]),this[_0x4441bd(0x2af)][_0x4441bd(0xf1)])[_0x4441bd(0xcd)](_0x7f84b9(([_0x4cbf22,_0x561798])=>{const _0x34968b=_0x4441bd,_0x21ed19=new Map();return _0x4cbf22[_0x34968b(0xea)]((_0x54d0c2,_0x49d96a)=>{const _0x397394=_0x34968b;if(_0x54d0c2[_0x397394(0x295)]===_0x178259){const _0x1098c6={..._0x54d0c2};_0x1098c6[_0x397394(0x217)]=this[_0x397394(0x2af)][_0x397394(0x2e0)](_0x54d0c2[_0x397394(0x217)]),_0x21ed19[_0x397394(0x187)](_0x49d96a,_0x1098c6);}}),{'skeleton':_0x10d4e4,'cursors':_0x21ed19};}));}return _0xd3f9fe({'skeleton':null,'cursors':new Map()});}))[_0x513f78(0x13b)](({skeleton:_0x4eb1a5,cursors:_0x26b1a3})=>{const _0x33a5be=_0x513f78;this['_removeCollabCursors'](),_0x4eb1a5&&this[_0x33a5be(0x160)](_0x4eb1a5,_0x26b1a3);}),this[_0x513f78(0x239)]['currentSkeleton$']['subscribe'](_0x4836a4=>{const _0x5b036a=_0x513f78;if(_0x4836a4==null)return;const {skeleton:_0x3d894d}=_0x4836a4,{scene:_0x54bb46}=this[_0x5b036a(0x103)];_0x54bb46[_0x5b036a(0x26c)][_0x5b036a(0x119)](_0x357798(_0x3a9dfc=>{const _0x4813cc=_0x5b036a;var _0x54e09f,_0x560c37;const {offsetX:_0x4cb527,offsetY:_0xbc22db}=_0x3a9dfc,{x:_0x1caf75,y:_0x4bfede}=_0x54bb46[_0x4813cc(0x308)](_0x224b9a[_0x4813cc(0x1b7)]([_0x4cb527,_0xbc22db])),{scaleX:_0x12ea88,scaleY:_0x32084f}=_0x54bb46[_0x4813cc(0x14e)](),_0x334713=_0x54bb46['getViewport'](_0x12a7e5['VIEW_MAIN']),_0x97aab6=_0x54bb46[_0x4813cc(0x21a)](_0x224b9a[_0x4813cc(0x1b7)]([_0x1caf75,_0x4bfede]),_0x334713),_0x2669e3=_0x3d894d[_0x4813cc(0x2e3)](_0x4cb527,_0xbc22db,_0x12ea88,_0x32084f,_0x97aab6);((_0x54e09f=this['_lastPointer'])==null?void 0x0:_0x54e09f[_0x4813cc(0x27a)])===_0x2669e3['column']&&((_0x560c37=this['_lastPointer'])==null?void 0x0:_0x560c37[_0x4813cc(0xd3)])===_0x2669e3['row']||this[_0x4813cc(0x23c)][_0x4813cc(0xea)](_0x22e3b8=>{const _0x72bff=_0x4813cc;_0x22e3b8[_0x72bff(0x19e)](_0x2669e3);});},0x64));});}[_0x4cb6a4(0x160)](_0x3806e6,_0x198391){const _0x5006d1=_0x4cb6a4;var _0x2a074d;const _0x55641a=(_0x2a074d=this[_0x5006d1(0x239)][_0x5006d1(0x28f)]())==null?void 0x0:_0x2a074d[_0x5006d1(0x16e)];if(!_0x55641a)return;const _0x135ca7=this[_0x5006d1(0x1dd)]();if(!_0x135ca7)return;this[_0x5006d1(0x23c)][_0x5006d1(0xea)](_0x95f3a=>{const _0x363962=_0x5006d1;_0x95f3a[_0x363962(0x2c1)]();});const {scene:_0x49c195}=_0x135ca7,_0x30780c=on(Array[_0x5006d1(0x204)](_0x198391[_0x5006d1(0x2c0)]()))[_0x5006d1(0xf4)](_0x5f4f8c=>{const _0x222ca6=_0x5006d1,{color:_0x39dbdb,range:_0x4b0790,name:_0x3b5cf9,selection:_0x524618,sheetID:_0x341403}=_0x5f4f8c,{startColumn:_0x2af847,startRow:_0x546cce,endColumn:_0x426390,endRow:_0x6e61c0}=_0x4b0790,_0x576662=_0x500f41(_0x546cce,_0x2af847,_0x49c195,_0x55641a),_0x2276d3=_0x500f41(_0x6e61c0,_0x426390,_0x49c195,_0x55641a),{columnHeaderHeightAndMarginTop:_0x347bf5}=_0x55641a,{startX:_0x1fa32c,startY:_0xfc73e3}=_0x576662,{endX:_0x1b1280,endY:_0x36f21e}=_0x2276d3,_0x33d4f8=_0x1b1280-_0x1fa32c,_0x280e0b=_0x36f21e-_0xfc73e3,_0x502a08={'labelPosition':_0xfc73e3-_0x347bf5>=Q?_0x222ca6(0x2a3):_0x222ca6(0x207),'sheetID':_0x341403,'range':_0x4b0790,'color':_0x39dbdb,'name':_0x3b5cf9,'selection':_0x524618,'left':_0x1fa32c,'top':_0xfc73e3,'width':_0x33d4f8,'height':_0x280e0b,'evented':!0x1,'zIndex':rn};return new tn(_0x3b5cf9,_0x502a08);});_0x49c195[_0x5006d1(0x1bf)](_0x30780c,qi),this[_0x5006d1(0x23c)]=new Set(_0x30780c);}[_0x4cb6a4(0x125)](){const _0x2301ce=_0x4cb6a4;var _0x118829;(_0x118829=this[_0x2301ce(0x23c)])==null||_0x118829[_0x2301ce(0xea)](_0x333cd2=>_0x333cd2[_0x2301ce(0x17f)]());}[_0x4cb6a4(0x1dd)](){const _0x3a83d9=_0x4cb6a4;return _0x54d3b3(this[_0x3a83d9(0x103)][_0x3a83d9(0x1e6)],this[_0x3a83d9(0x103)]);}};ke=nn([be(0x1,_0x460697(_0x532b10)),be(0x2,_0x460697(H)),be(0x3,_0x460697(_0x286aec))],ke);function on(_0x12f38e){const _0x563205=_0x4cb6a4,_0x16f61f=new Map();return _0x12f38e[_0x563205(0xea)](_0x4bb729=>{const _0x5369dd=_0x563205;if(_0x16f61f[_0x5369dd(0x282)](_0x4bb729[_0x5369dd(0x24b)])){const _0x217ece=_0x16f61f[_0x5369dd(0x242)](_0x4bb729['selection']);_0x217ece[_0x5369dd(0x2f5)]+=',\x20'+_0x4bb729[_0x5369dd(0x2f5)];}else _0x16f61f[_0x5369dd(0x187)](_0x4bb729['selection'],_0x4bb729);}),Array['from'](_0x16f61f[_0x563205(0x2c0)]());}var an=Object[_0x4cb6a4(0x1ed)],cn=(_0x25f3de,_0x1d1808,_0x1dac50,_0x5a8574)=>{const _0x47762=_0x4cb6a4;for(var _0x59ea30=_0x5a8574>0x1?void 0x0:_0x5a8574?an(_0x1d1808,_0x1dac50):_0x1d1808,_0x363edd=_0x25f3de[_0x47762(0x179)]-0x1,_0x54dea2;_0x363edd>=0x0;_0x363edd--)(_0x54dea2=_0x25f3de[_0x363edd])&&(_0x59ea30=_0x54dea2(_0x59ea30)||_0x59ea30);return _0x59ea30;},F=(_0x539799,_0x4dedaf)=>(_0x482b3a,_0x28f52f)=>_0x4dedaf(_0x482b3a,_0x28f52f,_0x539799);let _e=class extends _0x4bd602{constructor(_0x459803,_0x57dac2,_0x379dfe,_0x204a65,_0x33133a,_0x7a61be){const _0x27abca=_0x4cb6a4;super(),this[_0x27abca(0x280)]=_0x459803,this['_localCacheService']=_0x57dac2,this[_0x27abca(0x1d5)]=_0x379dfe,this['_messageService']=_0x204a65,this[_0x27abca(0x30b)]=_0x33133a,this['_localeService']=_0x7a61be,this[_0x27abca(0xba)](),this['_initEvent']();}[_0x4cb6a4(0xba)](){const _0xc90a46=_0x4cb6a4;this[_0xc90a46(0x1b2)](this[_0xc90a46(0x280)][_0xc90a46(0x123)](()=>{const _0x374578=_0xc90a46;if(this['_localCacheService']['saveTaskMap'][_0x374578(0x219)])return this['_localeService']['t'](_0x374578(0x20e));}));}['_initEvent'](){const _0x26c870=_0x4cb6a4;this[_0x26c870(0x1b2)](this[_0x26c870(0x1d5)][_0x26c870(0x135)]['subscribe'](_0x3d0e7a=>{const _0x60e64=_0x26c870;_0x3d0e7a['id']===_0x684afe[_0x60e64(0xdf)]&&this[_0x60e64(0xd9)][_0x60e64(0x2ac)]({'type':_0x319fef[_0x60e64(0xcf)],'content':this[_0x60e64(0x277)]['t'](_0x60e64(0x27e))}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0x30a)]&&this['_messageService'][_0x60e64(0x2ac)]({'type':_0x319fef['Warning'],'content':this[_0x60e64(0x277)]['t']('collaboration.closeRoom')}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0xe9)]&&this[_0x60e64(0x30b)][_0x60e64(0x2ac)]({'title':this[_0x60e64(0x277)]['t'](_0x60e64(0x152)),'content':this[_0x60e64(0x277)]['t'](_0x60e64(0x18f)),'type':_0x60e64(0x309),'duration':0x0}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0x306)]&&this[_0x60e64(0xd9)][_0x60e64(0x2ac)]({'type':_0x319fef['Error'],'content':this[_0x60e64(0x277)]['t']('collaboration.closeRoom')+'('+_0x3d0e7a[_0x60e64(0x18b)]+')'}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0xd6)]&&this['_messageService'][_0x60e64(0x2ac)]({'type':_0x319fef[_0x60e64(0xcf)],'content':this[_0x60e64(0x277)]['t'](_0x3d0e7a[_0x60e64(0x18b)]||'')}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0x288)]&&this[_0x60e64(0xd9)][_0x60e64(0x2ac)]({'type':_0x319fef[_0x60e64(0xcf)],'content':this[_0x60e64(0x277)]['t'](_0x60e64(0x174))}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0x1e8)]&&this[_0x60e64(0xd9)]['show']({'type':_0x319fef[_0x60e64(0x20d)],'content':this['_localeService']['t'](_0x60e64(0xbf))}),_0x3d0e7a['id']===_0x684afe[_0x60e64(0x21b)]&&this[_0x60e64(0xd9)][_0x60e64(0x2ac)]({'type':_0x319fef[_0x60e64(0x20d)],'content':this[_0x60e64(0x277)]['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0x40a478),F(0x1,_0xa76635),F(0x2,_0x460697(_0x1527da)),F(0x3,_0x6f3ae),F(0x4,_0xe8a5c1),F(0x5,_0x460697(_0xdd2fc6))],_e);var _n=Object[_0x4cb6a4(0x1ed)],ln=(_0x1a6dcf,_0x31c446,_0x5c4d87,_0xb17b5e)=>{const _0x4152ba=_0x4cb6a4;for(var _0x5f59b4=_0xb17b5e>0x1?void 0x0:_0xb17b5e?_n(_0x31c446,_0x5c4d87):_0x31c446,_0x53f50f=_0x1a6dcf[_0x4152ba(0x179)]-0x1,_0x22ae74;_0x53f50f>=0x0;_0x53f50f--)(_0x22ae74=_0x1a6dcf[_0x53f50f])&&(_0x5f59b4=_0x22ae74(_0x5f59b4)||_0x5f59b4);return _0x5f59b4;},ne=(_0x23ecc6,_0x314426)=>(_0x237e07,_0x293c45)=>_0x314426(_0x237e07,_0x293c45,_0x23ecc6);let le=class extends _0x4bd602{constructor(_0x4d0cbd,_0x4a7d5f,_0x1a931b,_0x48d90c){const _0xcb9df9=_0x4cb6a4;super(),_(this,_0xcb9df9(0x130)),(this[_0xcb9df9(0x14d)]=_0x4d0cbd,this['_httpService']=_0x4a7d5f,this[_0xcb9df9(0x2d0)]=_0x1a931b,this[_0xcb9df9(0x1db)]=_0x48d90c,this[_0xcb9df9(0x2ce)]());}['_init'](){const _0x5188b3=_0x4cb6a4;this[_0x5188b3(0x106)](),this[_0x5188b3(0x2b6)](),this[_0x5188b3(0xe1)](),this['_initUserListener']();}['_initUserListener'](){const _0x5759d4=_0x4cb6a4;this[_0x5759d4(0x1b2)](this[_0x5759d4(0x1db)]['socket$']['subscribe'](_0x4717fc=>{this['_memberID']=_0x4717fc==null?void 0x0:_0x4717fc['memberID'];}));}[_0x4cb6a4(0x106)](){const _0x4086e5=_0x4cb6a4,_0x9f2d6d=_0x441a5d=>{const _0x7329ef=_0x3956;var _0x9cd3f2;this[_0x7329ef(0x11f)](_0x7329ef(0x309),_0x7329ef(0x177)+_0x441a5d[_0x7329ef(0xee)]+_0x7329ef(0x2e1)+_0x441a5d[_0x7329ef(0x193)]+':'+_0x441a5d[_0x7329ef(0x197)]+':'+_0x441a5d[_0x7329ef(0x215)]+'\x0a'+(((_0x9cd3f2=_0x441a5d[_0x7329ef(0x309)])==null?void 0x0:_0x9cd3f2[_0x7329ef(0x2b4)])||''));};window[_0x4086e5(0x258)](_0x4086e5(0x309),_0x9f2d6d),this[_0x4086e5(0x1b2)](()=>{const _0x22e9fc=_0x4086e5;window[_0x22e9fc(0x1dc)](_0x22e9fc(0x309),_0x9f2d6d);});}[_0x4cb6a4(0x2b6)](){const _0x59281e=_0x4cb6a4,_0x394da6=_0x53e86e=>{const _0x1ce297=_0x3956;this[_0x1ce297(0x11f)](_0x1ce297(0x309),'[Unhandled\x20Rejection]:\x20'+_0x53e86e[_0x1ce297(0x14f)]);};window[_0x59281e(0x258)](_0x59281e(0x28b),_0x394da6),this[_0x59281e(0x1b2)](()=>{const _0x49789f=_0x59281e;window[_0x49789f(0x1dc)](_0x49789f(0x28b),_0x394da6);});}[_0x4cb6a4(0xe1)](){const _0x2d60c4=_0x4cb6a4,_0x21d66d=this['_logService'][_0x2d60c4(0x309)][_0x2d60c4(0x216)](this[_0x2d60c4(0x2d0)]);this[_0x2d60c4(0x2d0)][_0x2d60c4(0x309)]=(..._0x55d6d9)=>{const _0x31cf45=_0x2d60c4,_0x1b7298=_0x55d6d9['map'](_0x1bc8b0=>_0x1bc8b0 instanceof Error?_0x1bc8b0[_0x31cf45(0xee)]+'\x0a'+_0x1bc8b0['stack']:String(_0x1bc8b0))['join']('\x20');this['_uploadLog'](_0x31cf45(0x309),_0x31cf45(0x275)+_0x1b7298),_0x21d66d(..._0x55d6d9);},this[_0x2d60c4(0x1b2)](()=>{const _0x1c5a30=_0x2d60c4;this[_0x1c5a30(0x2d0)][_0x1c5a30(0x309)]=_0x21d66d;});}[_0x4cb6a4(0x11f)](_0x259c32,_0x2a1ed5){const _0xbeaba9=_0x4cb6a4;try{const _0x52a1ce={'userId':this[_0xbeaba9(0x130)],'logLabel':_0x259c32,'content':_0x2a1ed5};this['_httpService']['post'](_0xbeaba9(0x2cc),{'body':_0x52a1ce})[_0xbeaba9(0x292)](()=>{});}catch{}}};le=ln([ne(0x0,_0x460697(_0x307bfd)),ne(0x1,_0x460697(_0x3f1253)),ne(0x2,_0x21d8d8),ne(0x3,_0x460697(_0x225480))],le);const hn=_0x4cb6a4(0x161),_t={};var un=Object['getOwnPropertyDescriptor'],dn=(_0x387e49,_0xb7a1e7,_0x6be8c3,_0x48c78d)=>{const _0x2c57ab=_0x4cb6a4;for(var _0x435ea7=_0x48c78d>0x1?void 0x0:_0x48c78d?un(_0xb7a1e7,_0x6be8c3):_0xb7a1e7,_0x4d772f=_0x387e49[_0x2c57ab(0x179)]-0x1,_0x2edc46;_0x4d772f>=0x0;_0x4d772f--)(_0x2edc46=_0x387e49[_0x4d772f])&&(_0x435ea7=_0x2edc46(_0x435ea7)||_0x435ea7);return _0x435ea7;},lt=(_0x37633b,_0x2a8982)=>(_0x522706,_0x31ce7c)=>_0x2a8982(_0x522706,_0x31ce7c,_0x37633b);let he=class{constructor(_0x23166b,_0xc59d8b){const _0x149ee0=_0x4cb6a4;this[_0x149ee0(0x2e2)]=_0x23166b,this[_0x149ee0(0x19c)]=_0xc59d8b;}[_0x4cb6a4(0xe5)](_0x58478d){const _0x5658ab=_0x4cb6a4;this['_transformUndoRedoStack'](_0x58478d),this[_0x5658ab(0x26b)](_0x58478d);}[_0x4cb6a4(0x15f)](_0x287491){const _0x27d22c=_0x4cb6a4,{unitID:_0x59d6aa}=_0x287491,_0x7cafbd=this['_renderManagerService'][_0x27d22c(0x2c7)](_0x59d6aa)[_0x27d22c(0x132)](_0x3fcd4a),{redoCache:_0x54a114}=_0x7cafbd[_0x27d22c(0x2de)]();if(_0x54a114['length']===0x0)return _0x287491;let _0xcd5880=_0x3843dc[_0x27d22c(0x1cf)](_0x287491[_0x27d22c(0x223)][0x0]);for(let _0x45ff3e=0x0;_0x45ff3e<_0x54a114[_0x27d22c(0x179)];_0x45ff3e++){const _0x1259f1={'id':'doc.mutation.rich-text-editing','params':{..._0x54a114[_0x45ff3e]}},_0x2092fe=this[_0x27d22c(0x2e2)][_0x27d22c(0xf8)](_0xcd5880,_0x1259f1,!0x1);if(_0x36a568(_0x2092fe))throw _0x2092fe['error'];_0xcd5880=_0x2092fe[_0x27d22c(0x133)];}return{..._0x3843dc['deepClone'](_0x287491),'mutations':[_0xcd5880]};}['_transformUndoRedoStack'](_0x3dc1c8){const _0x8bd467=_0x4cb6a4,{unitID:_0x23987f}=_0x3dc1c8,_0xe9e171=this[_0x8bd467(0x19c)][_0x8bd467(0x2c7)](_0x23987f)[_0x8bd467(0x132)](_0x3fcd4a),{undoCache:_0x140db6,redoCache:_0x277746}=_0xe9e171[_0x8bd467(0x2de)]();if(_0x140db6[_0x8bd467(0x179)]===0x0||_0x277746[_0x8bd467(0x179)]===0x0)return;const _0xa80801=[],_0x1fee1b=[];let _0x46dd60=_0x3843dc[_0x8bd467(0x1cf)](_0x3dc1c8['mutations'][0x0]),_0x46cc41=_0x3843dc[_0x8bd467(0x1cf)](_0x3dc1c8['mutations'][0x0]);for(let _0x3e2f88=_0x140db6[_0x8bd467(0x179)]-0x1;_0x3e2f88>=0x0;_0x3e2f88--){const _0x3e7ff5={'id':_0x8bd467(0x1a0),'params':{..._0x140db6[_0x3e2f88]}},_0x5cc545={'id':'doc.mutation.rich-text-editing','params':{..._0x277746[_0x3e2f88]}},_0x3fcc1e=this[_0x8bd467(0x2e2)]['transformMutation'](_0x46dd60,_0x3e7ff5,!0x1),_0x44a4fe=this[_0x8bd467(0x2e2)]['transformMutation'](_0x46cc41,_0x5cc545,!0x1);if(_0x36a568(_0x3fcc1e))throw _0x3fcc1e[_0x8bd467(0x309)];if(_0x36a568(_0x44a4fe))throw _0x44a4fe['error'];_0xa80801[_0x8bd467(0x122)](_0x3fcc1e['m2Prime']['params']),_0x1fee1b[_0x8bd467(0x122)](_0x44a4fe[_0x8bd467(0xfe)][_0x8bd467(0x1ff)]),_0x46dd60=_0x3fcc1e['m1Prime'],_0x46cc41=_0x44a4fe[_0x8bd467(0x133)];}_0xe9e171[_0x8bd467(0xef)]({'undoCache':_0xa80801,'redoCache':_0x1fee1b});}['_transformPreviousActiveRange'](_0x137c1e){const _0x5a69be=_0x4cb6a4,{unitID:_0x1c378a}=_0x137c1e,_0x192ba9=this['_renderManagerService']['getRenderById'](_0x1c378a)['with'](_0x3fcd4a),_0x516ee7=_0x192ba9[_0x5a69be(0x1c7)]();if(_0x516ee7==null)return;const _0x44b195=[{'id':_0x5a69be(0x1a0),'params':{'unitId':_0x137c1e['unitID'],'actions':null,'textRanges':[_0x516ee7]}}],_0x4136ee=this[_0x5a69be(0x2e2)][_0x5a69be(0x18d)](_0x137c1e,_0x44b195);if(!_0x3a7478(_0x4136ee))throw _0x4136ee[_0x5a69be(0x309)];const _0x5cd4e0=_0x4136ee['m2Prime'][0x0]['params'][_0x5a69be(0x15e)];Array[_0x5a69be(0x22e)](_0x5cd4e0)&&_0x5cd4e0[_0x5a69be(0x179)]&&_0x192ba9[_0x5a69be(0x2d6)](_0x5cd4e0[0x0]);}};he=dn([lt(0x0,_0x480862),lt(0x1,_0x591858)],he);function _0x3956(_0x290ed1,_0x252d6f){_0x290ed1=_0x290ed1-0xb7;const _0x19b9d5=_0x19b9();let _0x3956ff=_0x19b9d5[_0x290ed1];return _0x3956ff;}var Sn=Object[_0x4cb6a4(0x1ed)],In=(_0x183675,_0x5de88e,_0x5f16e5,_0x34ba35)=>{const _0x5a577b=_0x4cb6a4;for(var _0xd62d6a=_0x34ba35>0x1?void 0x0:_0x34ba35?Sn(_0x5de88e,_0x5f16e5):_0x5de88e,_0x32a978=_0x183675[_0x5a577b(0x179)]-0x1,_0x13c835;_0x32a978>=0x0;_0x32a978--)(_0x13c835=_0x183675[_0x32a978])&&(_0xd62d6a=_0x13c835(_0xd62d6a)||_0xd62d6a);return _0xd62d6a;},Le=(_0x5946e9,_0x5cf945)=>(_0x343b5c,_0x12469e)=>_0x5cf945(_0x343b5c,_0x12469e,_0x5946e9);let ue=class{constructor(_0x2bb867,_0x46cb1f,_0x484be5){const _0x126267=_0x4cb6a4;this[_0x126267(0x14d)]=_0x2bb867,this[_0x126267(0x2e2)]=_0x46cb1f,this[_0x126267(0x2f3)]=_0x484be5;}['transformStateCache'](_0x1017c2){this['_transformHistoryAndStateStack'](_0x1017c2);}[_0x4cb6a4(0x15f)](_0x3d3df1){const _0x449017=_0x4cb6a4,{unitID:_0x46b3d7}=_0x3d3df1,{collaboration:_0x1ada84}=this[_0x449017(0x2f3)][_0x449017(0x1e1)](_0x46b3d7);if(_0x1ada84[_0x449017(0x179)]===0x0)return _0x3d3df1;let _0x37e824=_0x3843dc[_0x449017(0x1cf)](_0x3d3df1['mutations'][0x0]);for(let _0xe29a96=0x0;_0xe29a96<_0x1ada84[_0x449017(0x179)];_0xe29a96++){const _0x3847e6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ada84[_0xe29a96][_0x449017(0x113)],..._0x1ada84[_0xe29a96][_0x449017(0x129)]}},_0x1ea2b8=this[_0x449017(0x2e2)][_0x449017(0xf8)](_0x37e824,_0x3847e6,!0x1);if(_0x36a568(_0x1ea2b8))throw _0x1ea2b8['error'];_0x37e824=_0x1ea2b8[_0x449017(0x133)];}return{..._0x3843dc[_0x449017(0x1cf)](_0x3d3df1),'mutations':[_0x37e824]};}[_0x4cb6a4(0x2a2)](_0x56a610){const _0x2f1c75=_0x4cb6a4,{unitID:_0x552ad8}=_0x56a610,{history:_0x323e79,collaboration:_0x228e03}=this[_0x2f1c75(0x2f3)]['getStateCache'](_0x552ad8);if(_0x323e79[_0x2f1c75(0x179)]===0x0&&_0x228e03[_0x2f1c75(0x179)]===0x0)return;const _0x3598b1=[],_0x49ba01=[];let _0x193269=_0x3843dc[_0x2f1c75(0x1cf)](_0x56a610[_0x2f1c75(0x223)][0x0]),_0x59b13b=_0x3843dc[_0x2f1c75(0x1cf)](_0x56a610[_0x2f1c75(0x223)][0x0]);for(let _0x35d337=_0x323e79[_0x2f1c75(0x179)]-0x1;_0x35d337>=0x0;_0x35d337--){const _0x197c43={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x323e79[_0x35d337][_0x2f1c75(0x113)],..._0x323e79[_0x35d337][_0x2f1c75(0x208)]}},_0x5920a3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x323e79[_0x35d337][_0x2f1c75(0x113)],..._0x323e79[_0x35d337]['redoState']}},_0x487342=this[_0x2f1c75(0x2e2)][_0x2f1c75(0xf8)](_0x193269,_0x197c43,!0x1),_0x11efe8=this[_0x2f1c75(0x2e2)][_0x2f1c75(0xf8)](_0x59b13b,_0x5920a3,!0x1);if(_0x36a568(_0x487342))throw _0x487342[_0x2f1c75(0x309)];if(_0x36a568(_0x11efe8))throw _0x11efe8[_0x2f1c75(0x309)];_0x3598b1['unshift']({..._0x323e79[_0x35d337],'undoState':_0x487342[_0x2f1c75(0xfe)][_0x2f1c75(0x1ff)],'redoState':_0x11efe8[_0x2f1c75(0xfe)]['params']}),_0x193269=_0x487342[_0x2f1c75(0x133)],_0x59b13b=_0x11efe8[_0x2f1c75(0x133)];}_0x193269=_0x3843dc[_0x2f1c75(0x1cf)](_0x56a610[_0x2f1c75(0x223)][0x0]),_0x59b13b=_0x3843dc['deepClone'](_0x56a610[_0x2f1c75(0x223)][0x0]);for(let _0x24aceb=_0x228e03[_0x2f1c75(0x179)]-0x1;_0x24aceb>=0x0;_0x24aceb--){const _0x22e24f={'id':_0x2f1c75(0x1a0),'params':{'unitId':_0x228e03[_0x24aceb][_0x2f1c75(0x113)],..._0x228e03[_0x24aceb]['undoState']}},_0x5a0959={'id':_0x2f1c75(0x1a0),'params':{'unitId':_0x228e03[_0x24aceb]['unitId'],..._0x228e03[_0x24aceb]['redoState']}},_0x208bbc=this[_0x2f1c75(0x2e2)]['transformMutation'](_0x193269,_0x22e24f,!0x1),_0xea7456=this['_transformService'][_0x2f1c75(0xf8)](_0x59b13b,_0x5a0959,!0x1);if(_0x36a568(_0x208bbc))throw _0x208bbc['error'];if(_0x36a568(_0xea7456))throw _0xea7456['error'];_0x49ba01[_0x2f1c75(0x122)]({..._0x228e03[_0x24aceb],'undoState':_0x208bbc[_0x2f1c75(0xfe)][_0x2f1c75(0x1ff)],'redoState':_0xea7456['m2Prime'][_0x2f1c75(0x1ff)]}),_0x193269=_0x208bbc[_0x2f1c75(0x133)],_0x59b13b=_0xea7456['m1Prime'];}this[_0x2f1c75(0x2f3)][_0x2f1c75(0x15b)](_0x552ad8,{'history':_0x3598b1,'collaboration':_0x49ba01});}};ue=In([Le(0x0,_0x460697(_0x307bfd)),Le(0x1,_0x480862),Le(0x2,_0x460697(_0xdeb5eb))],ue);var mn=Object[_0x4cb6a4(0x1ed)],fn=(_0x389c91,_0x3917df,_0x2f898f,_0x4bfa80)=>{const _0x2f1b03=_0x4cb6a4;for(var _0x3630d0=_0x4bfa80>0x1?void 0x0:_0x4bfa80?mn(_0x3917df,_0x2f898f):_0x3917df,_0x312962=_0x389c91[_0x2f1b03(0x179)]-0x1,_0x18577c;_0x312962>=0x0;_0x312962--)(_0x18577c=_0x389c91[_0x312962])&&(_0x3630d0=_0x18577c(_0x3630d0)||_0x3630d0);return _0x3630d0;},ht=(_0x435a2a,_0x5403dc)=>(_0x1d1a5f,_0xff36d1)=>_0x5403dc(_0x1d1a5f,_0xff36d1,_0x435a2a);let de=class{constructor(_0x46d4f4,_0x444ca1){const _0x289844=_0x4cb6a4;this[_0x289844(0x14d)]=_0x46d4f4,this[_0x289844(0x2e2)]=_0x444ca1;}[_0x4cb6a4(0x2fa)](_0x2edb79){const _0x3d8050=_0x4cb6a4;var _0x4b1862;const _0x226c68=this[_0x3d8050(0x14d)]['get'](_0xee7088),_0x247885=(_0x4b1862=_0x226c68[_0x3d8050(0x190)]())!=null?_0x4b1862:[];if(_0x247885[_0x3d8050(0x179)]===0x0)return;const _0x319e7d=_0x2edb79['unitID'],_0x1bcbea=[{'id':_0x3d8050(0x1a0),'params':{'unitId':_0x319e7d,'actions':null,'textRanges':_0x247885}}],_0x2e3f85=this[_0x3d8050(0x2e2)][_0x3d8050(0x18d)](_0x2edb79,_0x1bcbea);if(!_0x3a7478(_0x2e3f85))throw _0x2e3f85[_0x3d8050(0x309)];const _0x229904=_0x2e3f85[_0x3d8050(0xfe)][0x0][_0x3d8050(0x1ff)][_0x3d8050(0x15e)];Array[_0x3d8050(0x22e)](_0x229904)&&_0x229904[_0x3d8050(0x179)]&&_0x226c68[_0x3d8050(0x2a0)](_0x229904,{'unitId':_0x319e7d,'subUnitId':_0x319e7d},!0x1);}};de=fn([ht(0x0,_0x460697(_0x307bfd)),ht(0x1,_0x480862)],de);var gn=Object['getOwnPropertyDescriptor'],En=(_0x3a0a83,_0x2cf78d,_0x8e9ea4,_0x1c57a9)=>{const _0x3b5c3a=_0x4cb6a4;for(var _0xf72dba=_0x1c57a9>0x1?void 0x0:_0x1c57a9?gn(_0x2cf78d,_0x8e9ea4):_0x2cf78d,_0x26eff2=_0x3a0a83[_0x3b5c3a(0x179)]-0x1,_0x54a0eb;_0x26eff2>=0x0;_0x26eff2--)(_0x54a0eb=_0x3a0a83[_0x26eff2])&&(_0xf72dba=_0x54a0eb(_0xf72dba)||_0xf72dba);return _0xf72dba;},U=(_0x352d24,_0x4d9ab6)=>(_0x570abd,_0x295e00)=>_0x4d9ab6(_0x570abd,_0x295e00,_0x352d24);let Se=class extends _0x4bd602{constructor(_0x59f604,_0x48884f,_0x433c8a,_0x1ccd8f,_0xe330bd,_0x5481c9,_0x5ccee6,_0x444e6c){const _0x1d1cb0=_0x4cb6a4;super(),_(this,'_status$',new _0x5e0fc0(_0x355c0f[_0x1d1cb0(0x1af)])),(this['_docStateChangeManagerService']=_0x59f604,this[_0x1d1cb0(0x149)]=_0x48884f,this['_docTransformIMECacheService']=_0x433c8a,this[_0x1d1cb0(0x1ef)]=_0x1ccd8f,this[_0x1d1cb0(0x201)]=_0xe330bd,this[_0x1d1cb0(0x126)]=_0x5481c9,this[_0x1d1cb0(0xd9)]=_0x5ccee6,this[_0x1d1cb0(0x277)]=_0x444e6c,this[_0x1d1cb0(0x2f9)]());}[_0x4cb6a4(0x2f9)](){const _0x94f2b2=_0x4cb6a4;this[_0x94f2b2(0x1b2)](this[_0x94f2b2(0x149)][_0x94f2b2(0x254)][_0x94f2b2(0x13b)](_0x2c0c7a=>{const _0x3bf788=_0x94f2b2,_0x3206b4=this[_0x3bf788(0x2f3)]['docStateChange$']['subscribe'](_0x1e7feb=>{const _0x543d95=_0x3bf788;if(_0x1e7feb==null)return;const {unitId:_0x33f956,redoState:_0x113a1e,commandId:_0x38a1a6}=_0x1e7feb;if(_0x33f956!==_0x2c0c7a['unitID'])return;const _0x284dac={'id':_0x38a1a6,'type':_0x735f71[_0x543d95(0xbd)],'params':{'unitId':_0x33f956,'actions':_0x113a1e[_0x543d95(0x1b4)],'textRanges':null}};_0x2c0c7a[_0x543d95(0x11b)](_0x284dac);});if(_0x2c0c7a[_0x3bf788(0x1b2)](_0x3206b4),_0x2c0c7a instanceof _0x3c7015){const _0x13c112={'onTransformIME':_0x5377c8=>this['_docTransformIMECacheService'][_0x3bf788(0xe5)](_0x5377c8),'onTransformState':_0x25d385=>this[_0x3bf788(0x1ef)][_0x3bf788(0x12b)](_0x25d385),'onTransformSelections':_0x300b18=>this[_0x3bf788(0x201)][_0x3bf788(0x2fa)](_0x300b18),'onSyncEditingCollabCursor':_0x451f3f=>this['_docSyncEditingCollabCursorService'][_0x3bf788(0x2ec)](_0x451f3f),'onTransformRemoteChangesetByIMECache':_0x458e0e=>this[_0x3bf788(0x10c)][_0x3bf788(0x15f)](_0x458e0e),'onTransformRemoteChangesetByStateCache':_0xa0269c=>this[_0x3bf788(0x1ef)][_0x3bf788(0x15f)](_0xa0269c)};_0x2c0c7a[_0x3bf788(0x110)](_0x13c112);}}));}};Se=En([U(0x0,_0x460697(_0xdeb5eb)),U(0x1,_0x460697(_0x2a0946)),U(0x2,_0x460697(he)),U(0x3,_0x460697(ue)),U(0x4,_0x460697(de)),U(0x5,_0x460697(ze)),U(0x6,_0x6f3ae),U(0x7,_0x460697(_0xdd2fc6))],Se);var Z=(_0x4fef90=>(_0x4fef90[_0x4fef90['UNDEFINED']=0x0]=_0x4cb6a4(0x137),_0x4fef90[_0x4fef90['OK']=0x1]='OK',_0x4fef90[_0x4fef90['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4fef90[_0x4fef90[_0x4cb6a4(0xe9)]=0x3]=_0x4cb6a4(0xe9),_0x4fef90[_0x4fef90['NOT_FOUND']=0x4]=_0x4cb6a4(0x250),_0x4fef90[_0x4fef90[_0x4cb6a4(0x11c)]=0x5]=_0x4cb6a4(0x11c),_0x4fef90[_0x4fef90[_0x4cb6a4(0xbc)]=0x6]=_0x4cb6a4(0xbc),_0x4fef90[_0x4fef90[_0x4cb6a4(0x146)]=0x7]=_0x4cb6a4(0x146),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1bc)]=0x8]=_0x4cb6a4(0x1bc),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2ab)]=0x9]=_0x4cb6a4(0x2ab),_0x4fef90[_0x4fef90[_0x4cb6a4(0xc9)]=0xa]=_0x4cb6a4(0xc9),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1a1)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4fef90[_0x4fef90[_0x4cb6a4(0x27c)]=0xc]=_0x4cb6a4(0x27c),_0x4fef90[_0x4fef90[_0x4cb6a4(0x16f)]=0xd]=_0x4cb6a4(0x16f),_0x4fef90[_0x4fef90[_0x4cb6a4(0x11a)]=0xe]=_0x4cb6a4(0x11a),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1d8)]=0xf]=_0x4cb6a4(0x1d8),_0x4fef90[_0x4fef90[_0x4cb6a4(0x18e)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x1e5)]=0x64]=_0x4cb6a4(0x1e5),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1d6)]=0x65]=_0x4cb6a4(0x1d6),_0x4fef90[_0x4fef90['USER_NOT_FOUND']=0xc9]=_0x4cb6a4(0x232),_0x4fef90[_0x4fef90[_0x4cb6a4(0x229)]=0xca]='USER_IS_ANONYMOUS',_0x4fef90[_0x4fef90[_0x4cb6a4(0x16b)]=0x1389]=_0x4cb6a4(0x16b),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2f0)]=0x1771]=_0x4cb6a4(0x2f0),_0x4fef90[_0x4fef90[_0x4cb6a4(0xf9)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x1ab)]=0x1773]=_0x4cb6a4(0x1ab),_0x4fef90[_0x4fef90['APPLY_REJECT']=0x1b59]=_0x4cb6a4(0xc7),_0x4fef90[_0x4fef90['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4cb6a4(0x23d),_0x4fef90[_0x4fef90[_0x4cb6a4(0x233)]=0x1b5b]=_0x4cb6a4(0x233),_0x4fef90[_0x4fef90['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4cb6a4(0x1c6),_0x4fef90[_0x4fef90[_0x4cb6a4(0x14b)]=0x1b5d]='APPLY_DUPLICATED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x231)]=0x1f41]=_0x4cb6a4(0x231),_0x4fef90[_0x4fef90[_0x4cb6a4(0x307)]=0x2329]=_0x4cb6a4(0x307),_0x4fef90[_0x4fef90[_0x4cb6a4(0x12c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x11e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x303)]=0x232c]=_0x4cb6a4(0x303),_0x4fef90[_0x4fef90['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4cb6a4(0x1f6),_0x4fef90[_0x4fef90['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4cb6a4(0x2a9),_0x4fef90[_0x4fef90[_0x4cb6a4(0x22f)]=0x2712]=_0x4cb6a4(0x22f),_0x4fef90[_0x4fef90[_0x4cb6a4(0x281)]=0x2713]=_0x4cb6a4(0x281),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1c4)]=0x2714]=_0x4cb6a4(0x1c4),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1d3)]=0x271a]=_0x4cb6a4(0x1d3),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1a2)]=0x271b]=_0x4cb6a4(0x1a2),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1c0)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4fef90[_0x4fef90[_0x4cb6a4(0xfb)]=0x271d]=_0x4cb6a4(0xfb),_0x4fef90[_0x4fef90[_0x4cb6a4(0xbb)]=0x271e]=_0x4cb6a4(0xbb),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1f7)]=0x271f]=_0x4cb6a4(0x1f7),_0x4fef90[_0x4fef90[_0x4cb6a4(0xe8)]=0x2720]=_0x4cb6a4(0xe8),_0x4fef90[_0x4fef90[_0x4cb6a4(0xce)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4fef90[_0x4fef90['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4cb6a4(0xf3),_0x4fef90[_0x4fef90[_0x4cb6a4(0x16d)]=0x2ee2]=_0x4cb6a4(0x16d),_0x4fef90[_0x4fef90['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4cb6a4(0x274),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1f2)]=0x2ee4]=_0x4cb6a4(0x1f2),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2d9)]=0x2ee5]=_0x4cb6a4(0x2d9),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2a6)]=0x32c9]=_0x4cb6a4(0x2a6),_0x4fef90[_0x4fef90['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4cb6a4(0x1a9),_0x4fef90[_0x4fef90[_0x4cb6a4(0x175)]=0x32cb]=_0x4cb6a4(0x175),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1bd)]=0x36b1]=_0x4cb6a4(0x1bd),_0x4fef90[_0x4fef90['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x4fef90[_0x4fef90[_0x4cb6a4(0x23a)]=0x36b3]=_0x4cb6a4(0x23a),_0x4fef90[_0x4fef90[_0x4cb6a4(0x202)]=0x36b4]=_0x4cb6a4(0x202),_0x4fef90[_0x4fef90[_0x4cb6a4(0x22d)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x4fef90[_0x4fef90['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x2b7)]=0x36b7]=_0x4cb6a4(0x2b7),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2fb)]=0x36b8]=_0x4cb6a4(0x2fb),_0x4fef90[_0x4fef90[_0x4cb6a4(0x2bf)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4fef90[_0x4fef90['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x4cb6a4(0x257),_0x4fef90[_0x4fef90[_0x4cb6a4(0x141)]=0x3717]=_0x4cb6a4(0x141),_0x4fef90[_0x4fef90[_0x4cb6a4(0x244)]=0x37dd]=_0x4cb6a4(0x244),_0x4fef90[_0x4fef90[_0x4cb6a4(0x1fe)]=0x3a99]=_0x4cb6a4(0x1fe),_0x4fef90[_0x4fef90[_0x4cb6a4(0x192)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x4fef90[_0x4fef90['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x4cb6a4(0x1f4),_0x4fef90[_0x4fef90[_0x4cb6a4(0x127)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4fef90[_0x4fef90[_0x4cb6a4(0x2cd)]=0x3a9d]=_0x4cb6a4(0x2cd),_0x4fef90[_0x4fef90['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4cb6a4(0x283),_0x4fef90[_0x4fef90[_0x4cb6a4(0xb9)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x4fef90[_0x4fef90['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x4fef90[_0x4fef90[_0x4cb6a4(0x171)]=-0x1]=_0x4cb6a4(0x171),_0x4fef90))(Z||{});function vn(_0x532c39){const _0x19140f=_0x4cb6a4;var _0x18e9b7,_0x2d93b1;const _0x25216f=(_0x18e9b7=_0x532c39[_0x19140f(0x121)])==null?void 0x0:_0x18e9b7[_0x19140f(0x1d2)],_0x3ca0b7=((_0x2d93b1=_0x532c39[_0x19140f(0x121)])==null?void 0x0:_0x2d93b1[_0x19140f(0x301)])||0x0;return _0x25216f===_0x21866a[_0x19140f(0x256)]&&_0x3ca0b7>0x0;}function pn(_0x445f58){const _0x4d50fd=_0x4cb6a4;return _0x445f58[_0x4d50fd(0x10f)]===_0xbfb00a['SUCCESS'];}var On=Object['getOwnPropertyDescriptor'],Tn=(_0xc932b,_0x3a2ec7,_0x424f80,_0x38c736)=>{const _0x27ae1c=_0x4cb6a4;for(var _0x1cbd40=_0x38c736>0x1?void 0x0:_0x38c736?On(_0x3a2ec7,_0x424f80):_0x3a2ec7,_0x15489c=_0xc932b[_0x27ae1c(0x179)]-0x1,_0x453127;_0x15489c>=0x0;_0x15489c--)(_0x453127=_0xc932b[_0x15489c])&&(_0x1cbd40=_0x453127(_0x1cbd40)||_0x1cbd40);return _0x1cbd40;},P=(_0x4386fa,_0xeeb00c)=>(_0x128d22,_0x404234)=>_0xeeb00c(_0x128d22,_0x404234,_0x4386fa);const Cn=_0x4cb6a4(0x194),Rn=_0x4cb6a4(0x188),Dn=_0x4cb6a4(0x150);let Ie=class extends _0x4bd602{constructor(_0x4875ad,_0x5958be,_0x3661bf,_0x31f3d2,_0xae1963,_0x3a619a,_0x2a21fb){const _0x249d9b=_0x4cb6a4;super(),_(this,_0x249d9b(0x1a3),null),_(this,'_maxFormulaLimit',0x0),_(this,_0x249d9b(0x28a),0x0),_(this,'_taskIds',[]),_(this,_0x249d9b(0x10a),0x0),(this['_messageService']=_0x4875ad,this[_0x249d9b(0x259)]=_0x5958be,this[_0x249d9b(0x30f)]=_0x3661bf,this[_0x249d9b(0x1f1)]=_0x31f3d2,this[_0x249d9b(0x168)]=_0xae1963,this[_0x249d9b(0x2d0)]=_0x3a619a,this[_0x249d9b(0x277)]=_0x2a21fb,this['_initCommandInterceptor']());}[_0x4cb6a4(0x2fe)](){const _0x468188=_0x4cb6a4;this[_0x468188(0x1b2)](this[_0x468188(0x259)][_0x468188(0x276)]((_0x1832a8,_0x5a7227)=>{const _0x49bab3=_0x468188;var _0x42f7e8;if(_0x1832a8['id']!==_0x52ebd9['id'])return;const _0x1366cc=_0x1832a8[_0x49bab3(0x1ff)];if(!this[_0x49bab3(0x156)]((_0x42f7e8=_0x1366cc['dirtyRanges'])!=null?_0x42f7e8:[]))return;if(!this[_0x49bab3(0x162)]())throw this['_checkAndWaitForCalculationPermission'](_0x1832a8,_0x5a7227),this[_0x49bab3(0x2ee)](),new _0x3e478b();})),this['disposeWithMe'](this['_commandService'][_0x468188(0x169)]((_0x130793,_0x4a90d7)=>{const _0x2074b9=_0x468188;if(_0x130793['id']!==_0x5a9abe['id'])return;const _0x14616d=_0x130793[_0x2074b9(0x1ff)];if(vn(_0x14616d)){const _0x4ff260=_0x3bf90d();this[_0x2074b9(0x2b2)][_0x2074b9(0x163)](_0x4ff260),this[_0x2074b9(0xf5)](_0x4ff260);}else{if(pn(_0x14616d)&&this[_0x2074b9(0x2b2)]['length']>0x0){const _0x3a00fb=this[_0x2074b9(0x2b2)]['shift']();this[_0x2074b9(0x260)](_0x3a00fb);}}}));}[_0x4cb6a4(0x17f)](){const _0x2d1bc5=_0x4cb6a4;super[_0x2d1bc5(0x17f)](),this[_0x2d1bc5(0x24f)](),this[_0x2d1bc5(0x2b2)]=[],this['_currentUsage']=0x0,this['_maxFormulaLimit']=0x0,this[_0x2d1bc5(0x10a)]=0x0;}async[_0x4cb6a4(0xfd)](_0x4724c4,_0x39a237){const _0xb214e0=_0x4cb6a4;for(let _0x321872=0x0;_0x321872<0x1e;_0x321872++)try{if(await this[_0xb214e0(0xc8)](),this[_0xb214e0(0x162)]()){this[_0xb214e0(0x230)](_0x4724c4,_0x39a237),this[_0xb214e0(0xd9)][_0xb214e0(0x2ac)]({'content':this[_0xb214e0(0x277)]['t']('formula.calculation.started'),'type':_0x319fef['Success']});return;}await new Promise(_0xedd712=>{const _0x58e02a=_0xb214e0;this[_0x58e02a(0x1a3)]=window[_0x58e02a(0x238)](_0xedd712,0x3e8);});}catch(_0x1bd230){this[_0xb214e0(0x2d0)][_0xb214e0(0x309)](_0x1bd230);}this['_messageService'][_0xb214e0(0x2ac)]({'content':this[_0xb214e0(0x277)]['t'](_0xb214e0(0xbe)),'type':_0x319fef[_0xb214e0(0x20d)]});}[_0x4cb6a4(0x230)](_0x48f24f,_0x455253){const _0x12611d=_0x4cb6a4;try{this['_commandService'][_0x12611d(0x200)](_0x48f24f['id'],_0x48f24f['params'],_0x455253);}catch(_0x2b4ba5){this[_0x12611d(0x2d0)][_0x12611d(0x309)](_0x2b4ba5);}}[_0x4cb6a4(0x29d)](_0x3f4329,_0x5782d6){const _0x2989e5=_0x4cb6a4;_0x5782d6<this[_0x2989e5(0x10a)]||(this[_0x2989e5(0x10a)]=_0x5782d6,this[_0x2989e5(0x278)]=Number['parseInt'](_0x3f4329['maxFormulaLimit']),this['_currentUsage']=Number[_0x2989e5(0x1f0)](_0x3f4329['currentUsage']));}async[_0x4cb6a4(0xf5)](_0x2c5303){const _0x167b09=_0x4cb6a4;var _0x3c2600,_0x1f4da2;const _0x192529=Date[_0x167b09(0x17a)]();try{const _0x1724a4=((_0x3c2600=this[_0x167b09(0x30f)][_0x167b09(0x182)](_0x588807))==null?void 0x0:_0x3c2600[_0x167b09(0x1c8)])||Rn,_0x30b30d=(await this[_0x167b09(0x1f1)][_0x167b09(0x10d)](_0x1724a4,{'body':JSON[_0x167b09(0x181)]({'taskId':_0x2c5303})}))['body'];if(((_0x1f4da2=_0x30b30d[_0x167b09(0x309)])==null?void 0x0:_0x1f4da2[_0x167b09(0x310)])!==Z['OK'])return;this[_0x167b09(0x29d)](_0x30b30d['limitInfo'],_0x192529);}catch(_0x14e631){this[_0x167b09(0x2d0)][_0x167b09(0x309)](_0x14e631);}}async[_0x4cb6a4(0xc8)](_0x5b5c44){const _0x410634=_0x4cb6a4;var _0x4c4d2c,_0x3389c6;const _0x591f4b=Date['now']();try{const _0x3f2132=((_0x4c4d2c=this[_0x410634(0x30f)][_0x410634(0x182)](_0x588807))==null?void 0x0:_0x4c4d2c[_0x410634(0x128)])||Cn,_0x157afb=_0x5b5c44?_0x3f2132+_0x410634(0x1ec)+encodeURIComponent(_0x5b5c44):_0x3f2132,_0x13a4bc=(await this['_httpService'][_0x410634(0x242)](_0x157afb))[_0x410634(0x26f)];if(((_0x3389c6=_0x13a4bc[_0x410634(0x309)])==null?void 0x0:_0x3389c6[_0x410634(0x310)])!==Z['OK'])return;this[_0x410634(0x29d)](_0x13a4bc[_0x410634(0x111)],_0x591f4b);}catch(_0x2085f9){this['_logService'][_0x410634(0x309)](_0x2085f9);}}async['_releaseCalculationLimit'](_0x380e7f){const _0x37b81c=_0x4cb6a4;var _0x5eea37,_0x3644bf;const _0x442359=Date[_0x37b81c(0x17a)]();try{const _0x13dbfb=((_0x5eea37=this[_0x37b81c(0x30f)][_0x37b81c(0x182)](_0x588807))==null?void 0x0:_0x5eea37[_0x37b81c(0x294)])||Dn,_0xb56fc3=(await this['_httpService']['post'](_0x13dbfb,{'body':JSON[_0x37b81c(0x181)]({'taskId':_0x380e7f})}))[_0x37b81c(0x26f)];if(((_0x3644bf=_0xb56fc3[_0x37b81c(0x309)])==null?void 0x0:_0x3644bf[_0x37b81c(0x310)])!==Z['OK'])return;this[_0x37b81c(0x29d)](_0xb56fc3[_0x37b81c(0x111)],_0x442359);}catch(_0x19f20a){this[_0x37b81c(0x2d0)][_0x37b81c(0x309)](_0x19f20a);}}[_0x4cb6a4(0x162)](){const _0x419710=_0x4cb6a4;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x419710(0x278)]-this[_0x419710(0x28a)]>0x0;}['_clearPolling'](){const _0x36db22=_0x4cb6a4;this[_0x36db22(0x1a3)]&&(clearTimeout(this[_0x36db22(0x1a3)]),this[_0x36db22(0x1a3)]=null);}[_0x4cb6a4(0x2ee)](){const _0x54b420=_0x4cb6a4;this[_0x54b420(0xd9)]['show']({'content':this[_0x54b420(0x277)]['t'](_0x54b420(0x2f2)),'type':_0x319fef[_0x54b420(0x2f8)]});}[_0x4cb6a4(0x156)](_0x948d94){const _0x4c9e12=_0x4cb6a4;for(const _0x141edd of _0x948d94){const {unitId:_0x7e08d0,sheetId:_0x499987,range:_0x223ce6}=_0x141edd,_0x47c534=this[_0x4c9e12(0x168)][_0x4c9e12(0x2ea)](_0x7e08d0);if(!_0x47c534)continue;const _0x110c93=_0x47c534[_0x4c9e12(0x218)](_0x499987);if(!_0x110c93)continue;const _0xdb33a1=_0x110c93[_0x4c9e12(0x265)]();for(let _0x5f4021=_0x223ce6[_0x4c9e12(0xd4)];_0x5f4021<=_0x223ce6[_0x4c9e12(0x134)];_0x5f4021++)for(let _0x18f660=_0x223ce6[_0x4c9e12(0x300)];_0x18f660<=_0x223ce6[_0x4c9e12(0xc2)];_0x18f660++){const _0x3a5429=_0xdb33a1['getValue'](_0x5f4021,_0x18f660);if(_0x3a5429&&(_0x49453e(_0x3a5429['f'])||_0xd29c8b(_0x3a5429['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x460697(_0x6f3ae)),P(0x1,_0x29d21c),P(0x2,_0x5f0f68),P(0x3,_0x460697(_0x3f1253)),P(0x4,_0x14cde1),P(0x5,_0x21d8d8),P(0x6,_0x460697(_0xdd2fc6))],Ie);var Nn=Object[_0x4cb6a4(0x1ed)],bn=(_0x5aaca6,_0x53059d,_0x46e980,_0x3c99cc)=>{const _0x30dc64=_0x4cb6a4;for(var _0x25fa91=_0x3c99cc>0x1?void 0x0:_0x3c99cc?Nn(_0x53059d,_0x46e980):_0x53059d,_0x9f8d15=_0x5aaca6[_0x30dc64(0x179)]-0x1,_0x36a341;_0x9f8d15>=0x0;_0x9f8d15--)(_0x36a341=_0x5aaca6[_0x9f8d15])&&(_0x25fa91=_0x36a341(_0x25fa91)||_0x25fa91);return _0x25fa91;},Ue=(_0x26df7f,_0x2c9c93)=>(_0x1438fd,_0x1298ee)=>_0x2c9c93(_0x1438fd,_0x1298ee,_0x26df7f);let He=class extends _0x4bd602{constructor(_0x37249d,_0x507e60,_0x48d510){const _0x5d2304=_0x4cb6a4;super(),_(this,_0x5d2304(0x158),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x5d2304(0x234),!0x1),(this[_0x5d2304(0x30f)]=_0x37249d,this[_0x5d2304(0x1d1)]=_0x507e60,this[_0x5d2304(0x109)]=_0x48d510);}[_0x4cb6a4(0xb7)](){const _0x18a133=_0x4cb6a4;this[_0x18a133(0x234)]=!0x0;}['enableLocalCache'](){const _0x123151=_0x4cb6a4;this[_0x123151(0x234)]=!0x1;}get[_0x4cb6a4(0x210)](){const _0x2804d6=_0x4cb6a4;return this[_0x2804d6(0x138)];}[_0x4cb6a4(0x17f)](){const _0x785770=_0x4cb6a4;this[_0x785770(0x18c)]()['then'](()=>super[_0x785770(0x17f)]());}async[_0x4cb6a4(0x139)](_0x558692){const _0x5d6918=_0x4cb6a4;return this[_0x5d6918(0x234)]?null:this['_localStorageService'][_0x5d6918(0x2cf)](_0x369636(_0x558692));}async[_0x4cb6a4(0x1be)](_0x6142a,_0x3d7acf){const _0x27cbb9=_0x4cb6a4;return!!this[_0x27cbb9(0x1d1)]['setItem'](_0x6142a,_0x3d7acf);}['updateOfflineData'](_0x577fa3,_0x1454cc,_0x43a384,_0x31ddf6){const _0x35864b=_0x4cb6a4,_0x69fb48=this[_0x35864b(0x109)][_0x35864b(0x226)](_0x577fa3);this[_0x35864b(0x158)][_0x35864b(0x187)](_0x577fa3,{'unitID':_0x577fa3,'type':_0x1454cc,'awaitingChangeset':_0x43a384,'mutations':_0x31ddf6,'rev':_0x69fb48}),this['_saveTaskMap'][_0x35864b(0x282)](_0x577fa3)||this[_0x35864b(0x12a)](_0x577fa3);}[_0x4cb6a4(0x12a)](_0x11332e){const _0x269434=_0x4cb6a4,_0x1aebf3=this['_getSaveTimeout']();_0x1aebf3===0x0?this[_0x269434(0x15c)](_0x11332e):this[_0x269434(0x138)]['set'](_0x11332e,setTimeout(()=>this['_saveCache'](_0x11332e),_0x1aebf3));}[_0x4cb6a4(0x180)](){const _0x6f1458=_0x4cb6a4;var _0x318433;return(_0x318433=this[_0x6f1458(0x30f)][_0x6f1458(0x182)](_0x5c878d))!=null?_0x318433:_0x4d3f49;}[_0x4cb6a4(0x15c)](_0x21f165){const _0x6199f9=_0x4cb6a4,_0x4fb5ba=this[_0x6199f9(0x138)]['get'](_0x21f165);return _0x4fb5ba!==void 0x0&&window['clearTimeout'](_0x4fb5ba),this[_0x6199f9(0x1d1)][_0x6199f9(0x12d)](_0x369636(_0x21f165),this[_0x6199f9(0x158)][_0x6199f9(0x242)](_0x21f165))['then'](()=>this['_saveTaskMap'][_0x6199f9(0x220)](_0x21f165));}async[_0x4cb6a4(0x18c)](){const _0x4b3bbc=_0x4cb6a4,_0x2a26dd=[];this['_saveTaskMap'][_0x4b3bbc(0xea)]((_0x481cf0,_0x4f061b)=>{const _0x369f3e=_0x4b3bbc;window[_0x369f3e(0xcc)](_0x481cf0),_0x2a26dd[_0x369f3e(0x163)](this[_0x369f3e(0x15c)](_0x4f061b)['then'](()=>{const _0x209c48=_0x369f3e;this[_0x209c48(0x138)]['delete'](_0x4f061b);}));}),await Promise[_0x4b3bbc(0x142)](_0x2a26dd);}};He=bn([Ue(0x0,_0x5f0f68),Ue(0x1,_0x51c183),Ue(0x2,_0x460697(_0xb9acf4))],He);class Ln extends _0x387d07{constructor(){const _0x45a3d3=_0x4cb6a4;super(),_(this,_0x45a3d3(0x1de)),this[_0x45a3d3(0x1de)]=_0x2fef3d(window,_0x45a3d3(0x2aa))[_0x45a3d3(0xcd)](_0x47dffc(this[_0x45a3d3(0x165)]),_0x6d9b4a(0x1),_0x583303(void 0x0));}[_0x4cb6a4(0x299)](_0x2438ff,_0x26dc06,_0x5c06ef=!0x1){const _0x4a0834=_0x4cb6a4,_0x23468a=new URL(window[_0x4a0834(0x237)][_0x4a0834(0x13f)]);_0x23468a[_0x4a0834(0x2dc)]['set'](_0x2438ff,_0x26dc06),_0x5c06ef?window[_0x4a0834(0x26a)][_0x4a0834(0x20a)]('','',_0x23468a[_0x4a0834(0x145)]()):window[_0x4a0834(0x26a)][_0x4a0834(0x147)]('','',_0x23468a[_0x4a0834(0x145)]());}[_0x4cb6a4(0x2b8)](_0x380528,_0x176d19=!0x1){const _0x3df9d6=_0x4cb6a4,_0x234e58=new URL(window[_0x3df9d6(0x237)][_0x3df9d6(0x13f)]);_0x234e58[_0x3df9d6(0x2dc)][_0x3df9d6(0x220)](_0x380528),_0x176d19?window[_0x3df9d6(0x26a)][_0x3df9d6(0x20a)]('','',_0x234e58['toString']()):window[_0x3df9d6(0x26a)][_0x3df9d6(0x147)]('','',_0x234e58[_0x3df9d6(0x145)]());}[_0x4cb6a4(0x1cc)](_0x5bcc1d){const _0x36b476=_0x4cb6a4;var _0x26c8b0;return(_0x26c8b0=new URL(window[_0x36b476(0x237)][_0x36b476(0x13f)])[_0x36b476(0x2dc)][_0x36b476(0x242)](_0x5bcc1d))!=null?_0x26c8b0:void 0x0;}}var Un=Object[_0x4cb6a4(0x25f)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x32a0b3,_0x3f88d7,_0x2d1c86)=>_0x3f88d7 in _0x32a0b3?Un(_0x32a0b3,_0x3f88d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d1c86}):_0x32a0b3[_0x3f88d7]=_0x2d1c86,Pn=(_0x58424a,_0x168318,_0x2bdac1,_0x2099ea)=>{const _0x176bd0=_0x4cb6a4;for(var _0x1ea183=_0x2099ea>0x1?void 0x0:_0x2099ea?Mn(_0x168318,_0x2bdac1):_0x168318,_0xe096c8=_0x58424a[_0x176bd0(0x179)]-0x1,_0x5708e1;_0xe096c8>=0x0;_0xe096c8--)(_0x5708e1=_0x58424a[_0xe096c8])&&(_0x1ea183=_0x5708e1(_0x1ea183)||_0x1ea183);return _0x1ea183;},Me=(_0x58dab8,_0x4470ae)=>(_0x3404ce,_0xc0308)=>_0x4470ae(_0x3404ce,_0xc0308,_0x58dab8),wn=(_0xb6c93c,_0x4ccf08,_0x3c6786)=>An(_0xb6c93c,_0x4ccf08+'',_0x3c6786);const yn=_0x4cb6a4(0x1c5);let Ye=class extends _0x28da11{constructor(_0x5796bb=_t,_0x585653,_0x26f5ed,_0x44ba87){const _0x52e852=_0x4cb6a4;super(),this['_config']=_0x5796bb,this[_0x52e852(0x19c)]=_0x585653,this[_0x52e852(0x14d)]=_0x26f5ed,this['_configService']=_0x44ba87;const {..._0x393c8e}=_0xa68d8e({},_t,this[_0x52e852(0x1a6)]);this[_0x52e852(0x30f)][_0x52e852(0xeb)](hn,_0x393c8e);}[_0x4cb6a4(0x255)](){const _0x30e801=_0x4cb6a4;this['_registerDependencies'](),this[_0x30e801(0x224)]();}[_0x4cb6a4(0x11d)](){const _0x1e2345=_0x4cb6a4;this[_0x1e2345(0x2ae)]();}[_0x4cb6a4(0x14c)](){const _0xae1b75=_0x4cb6a4;var _0x5947c3;const _0x59964f=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x23856e,{'useClass':_0x990071}],[_0xa76635,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0xae1b75(0x1a6)]['enableFrontendLog']&&_0x59964f[_0xae1b75(0x163)]([le]),_0x26af39(this[_0xae1b75(0x14d)],_0x3aa7dc(_0x59964f,(_0x5947c3=this[_0xae1b75(0x1a6)])==null?void 0x0:_0x5947c3[_0xae1b75(0x2bb)]));}[_0x4cb6a4(0x2ae)](){const _0x57ea78=_0x4cb6a4;this[_0x57ea78(0x1b2)](this['_renderManagerService'][_0x57ea78(0xfa)](_0xaccedf[_0x57ea78(0x2f7)],[Fe])),this[_0x57ea78(0x1b2)](this[_0x57ea78(0x19c)][_0x57ea78(0xfa)](_0xaccedf[_0x57ea78(0xd5)],[ke]));}['_initDependencies'](){const _0x1ee4be=_0x4cb6a4;_0x234a72(this[_0x1ee4be(0x14d)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config'][_0x1ee4be(0x1fc)]&&_0x234a72(this[_0x1ee4be(0x14d)],[[le]]);}};wn(Ye,_0x4cb6a4(0x29e),yn),Ye=Pn([_0x53ddfc(_0x296643),Me(0x1,_0x591858),Me(0x2,_0x460697(_0x307bfd)),Me(0x3,_0x5f0f68)],Ye);var $n=Object[_0x4cb6a4(0x1ed)],xn=(_0x2b41f2,_0x26dfc4,_0x5857e5,_0x580b69)=>{const _0x3e090e=_0x4cb6a4;for(var _0x25482e=_0x580b69>0x1?void 0x0:_0x580b69?$n(_0x26dfc4,_0x5857e5):_0x26dfc4,_0x576d92=_0x2b41f2[_0x3e090e(0x179)]-0x1,_0x3a7a14;_0x576d92>=0x0;_0x576d92--)(_0x3a7a14=_0x2b41f2[_0x576d92])&&(_0x25482e=_0x3a7a14(_0x25482e)||_0x25482e);return _0x25482e;},J=(_0x376546,_0x309c34)=>(_0x37e4f9,_0xe04a4c)=>_0x309c34(_0x37e4f9,_0xe04a4c,_0x376546);let ut=class extends _0x34b517{constructor(_0x1f2c24,_0x353076,_0x58ad33,_0x4106ef,_0x4d2354){super(_0x1f2c24,_0x353076,_0x58ad33,_0x4106ef,_0x4d2354);}async[_0x4cb6a4(0x140)](_0x2b4193){const _0x4e1939=_0x4cb6a4,_0x290d50=await this[_0x4e1939(0x214)](),_0x25432b=this['_createSocketURL'](_0x2b4193,_0x290d50);return this['_doCreateSocket'](_0x25432b);}[_0x4cb6a4(0x25a)](_0x45209c,_0xa30700){const _0x50f43a=_0x4cb6a4,_0x456681=typeof window>'u'?new URL(_0x45209c):new URL(_0x45209c,window[_0x50f43a(0x237)][_0x50f43a(0x285)]);_0x456681[_0x50f43a(0x2dc)][_0x50f43a(0x187)](_0x50f43a(0x2be),_0xa30700);const _0x4df3bf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50f43a(0x237)][_0x50f43a(0x264)]);return _0x4df3bf[_0x50f43a(0x242)]('runId')&&_0x456681[_0x50f43a(0x2dc)]['set'](_0x50f43a(0x245),_0x4df3bf[_0x50f43a(0x242)](_0x50f43a(0x245))),_0x456681[_0x50f43a(0x145)]();}async[_0x4cb6a4(0x214)](){const _0x475fd5=_0x4cb6a4;var _0x42281a,_0x398d5d,_0x4be436;const _0x4f54f3=this[_0x475fd5(0x30f)][_0x475fd5(0x182)](_0x588807),_0x494ddc=(_0x42281a=_0x4f54f3==null?void 0x0:_0x4f54f3[_0x475fd5(0x144)])!=null?_0x42281a:_0x39fb0c;return(_0x4be436=(_0x398d5d=(await this[_0x475fd5(0x1f1)][_0x475fd5(0x242)](_0x494ddc,{'headers':{'Content-Type':_0x475fd5(0x117)}}))['body'])==null?void 0x0:_0x398d5d[_0x475fd5(0x2b1)])!=null?_0x4be436:'';}};ut=xn([J(0x0,_0x460697(_0x307bfd)),J(0x1,_0x460697(_0x3f1253)),J(0x2,_0x5f0f68),J(0x3,_0x21d8d8),J(0x4,_0x431961)],ut);var Bn=Object[_0x4cb6a4(0x1ed)],Fn=(_0x1800d7,_0x2f13cd,_0xd08845,_0x1073a5)=>{const _0x1bffd1=_0x4cb6a4;for(var _0x1a7654=_0x1073a5>0x1?void 0x0:_0x1073a5?Bn(_0x2f13cd,_0xd08845):_0x2f13cd,_0x119b31=_0x1800d7[_0x1bffd1(0x179)]-0x1,_0x4265e2;_0x119b31>=0x0;_0x119b31--)(_0x4265e2=_0x1800d7[_0x119b31])&&(_0x1a7654=_0x4265e2(_0x1a7654)||_0x1a7654);return _0x1a7654;},Ae=(_0x3d650d,_0x6d9775)=>(_0x48004f,_0x5352bd)=>_0x6d9775(_0x48004f,_0x5352bd,_0x3d650d);let dt=class extends _0x4bd602{constructor(_0x392990,_0x321a8e,_0x6ff102){const _0x3587f8=_0x4cb6a4;super(),this[_0x3587f8(0x19d)]=_0x392990,this[_0x3587f8(0x1f1)]=_0x321a8e,this[_0x3587f8(0x30f)]=_0x6ff102;}async[_0x4cb6a4(0x311)](_0x4a0335,_0x2c7b7f,_0x8b0fc1,..._0x293fb7){const _0x4ad288=_0x4cb6a4;var _0x28340a,_0x32e228,_0x97f408,_0x3b3b9c;const _0x296352=this[_0x4ad288(0x19d)]['getFocusedUnit']();if(!_0x296352)throw new Error(_0x4ad288(0x2ad));const _0x30caee=((_0x28340a=this[_0x4ad288(0x30f)][_0x4ad288(0x182)](_0x24ab76))!=null?_0x28340a:_0xc9a869)+'/'+_0x4a0335+'/run/'+_0x2c7b7f,_0x35b7fb=new URL(window[_0x4ad288(0x237)][_0x4ad288(0x13f)]),_0x258ec5={'scriptId':_0x4a0335,'runId':(_0x32e228=_0x35b7fb[_0x4ad288(0x2dc)][_0x4ad288(0x242)](_0x4ad288(0x245)))!=null?_0x32e228:'','function':_0x2c7b7f,'unitId':_0x296352[_0x4ad288(0x2d8)](),'argsOfFunction':JSON['stringify'](_0x293fb7),'invokeId':(_0x97f408=_0x8b0fc1[_0x4ad288(0x253)])!=null?_0x97f408:'','executionId':(_0x3b3b9c=_0x8b0fc1[_0x4ad288(0x29b)])!=null?_0x3b3b9c:''};try{const _0x4e8040=await this['_httpService'][_0x4ad288(0x10d)](_0x30caee,{'body':_0x258ec5});return _0x4e8040[_0x4ad288(0x26f)][_0x4ad288(0x309)]&&_0x4e8040[_0x4ad288(0x26f)][_0x4ad288(0x309)]['code']!==Z['OK']?_0x4ad288(0x124):_0x4e8040['body']['result'];}catch{return'Failed';}}};dt=Fn([Ae(0x0,_0x14cde1),Ae(0x1,_0x460697(_0x3f1253)),Ae(0x2,_0x5f0f68)],dt);const St=0x7530,It=_0x4cb6a4(0x228);class rr extends _0x4bd602{constructor(){const _0x100ecf=_0x4cb6a4;super(),_(this,_0x100ecf(0xd1),_0x3bf90d()),_(this,_0x100ecf(0xdd),new Set()),_(this,_0x100ecf(0x243),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,_0x100ecf(0x28c),new Map()),this[_0x100ecf(0x2ce)]();}['dispose'](){const _0x542295=_0x4cb6a4;super[_0x542295(0x17f)](),this[_0x542295(0xd2)][_0x542295(0xea)]((_0x3ac7e2,_0x9388a8)=>this[_0x542295(0x1cb)](_0x9388a8)),this[_0x542295(0xc4)]&&window[_0x542295(0x293)](this[_0x542295(0xc4)]);}[_0x4cb6a4(0xc1)](_0x46df3e){const _0x46474c=_0x4cb6a4;return this[_0x46474c(0x2ca)](_0x46df3e)['pipe'](_0x3c4859());}['editingUnit'](_0x481d31){const _0x3063dc=_0x4cb6a4;this[_0x3063dc(0xdd)][_0x3063dc(0x219)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3063dc(0xdd)][_0x3063dc(0x205)](_0x481d31),this['_send']({'type':0x0,'memberID':this[_0x3063dc(0xd1)],'unitIDs':[_0x481d31],'isForwarded':!0x1});}[_0x4cb6a4(0xd8)](_0x5ad998){const _0x4b0c15=_0x4cb6a4;this[_0x4b0c15(0xdd)]['delete'](_0x5ad998),this['_selfUnitIDs'][_0x4b0c15(0x219)]===0x0&&this[_0x4b0c15(0xc4)]&&window[_0x4b0c15(0x293)](this[_0x4b0c15(0xc4)]);}[_0x4cb6a4(0x2ce)](){const _0x2b6abb=_0x4cb6a4;this['disposeWithMe'](_0xb8c0(_0x2fef3d(window,_0x2b6abb(0x2c5))[_0x2b6abb(0x13b)](_0x55cec1=>{const _0x583c99=_0x2b6abb;if(_0x55cec1['key']!==It||!_0x55cec1[_0x583c99(0x112)])return;const _0x4cc663=JSON[_0x583c99(0x25d)](_0x55cec1[_0x583c99(0x112)]);this[_0x583c99(0x19b)](_0x4cc663);}))),window[_0x2b6abb(0x258)](_0x2b6abb(0x1e4),()=>this[_0x2b6abb(0xcb)]({'type':0x1,'memberID':this[_0x2b6abb(0xd1)],'unitIDs':Array['from'](this[_0x2b6abb(0xdd)])}));}[_0x4cb6a4(0x19b)](_0x5d2e37){const _0x34e243=_0x4cb6a4;switch(_0x5d2e37[_0x34e243(0x17e)]){case 0x0:this['_handleJoinEvent'](_0x5d2e37);break;case 0x1:this[_0x34e243(0xca)](_0x5d2e37);break;case 0x2:this[_0x34e243(0x2da)](_0x5d2e37);break;}}['_handleJoinEvent'](_0x358476){const _0x29c872=_0x4cb6a4,{unitIDs:_0x5a022c,memberID:_0x190177,isForwarded:_0x409817}=_0x358476;_0x5a022c[_0x29c872(0xea)](_0x25cf2d=>{const _0x94db12=_0x29c872;if(!_0x409817&&this[_0x94db12(0x243)][_0x94db12(0x282)](_0x25cf2d)&&this['_ensureSubject'](_0x25cf2d)[_0x94db12(0x30d)](_0x5cb507[_0x94db12(0xc6)]),!this[_0x94db12(0x243)]['has'](_0x25cf2d)||!this[_0x94db12(0x243)][_0x94db12(0x242)](_0x25cf2d)['has'](_0x190177)){const _0x1a7aa1=this[_0x94db12(0x243)][_0x94db12(0x242)](_0x25cf2d)||new Set();_0x1a7aa1[_0x94db12(0x205)](_0x190177),this[_0x94db12(0x243)]['set'](_0x25cf2d,_0x1a7aa1),this[_0x94db12(0x176)](_0x190177);}}),_0x409817||this['_send']({'type':0x0,'memberID':this[_0x29c872(0xd1)],'unitIDs':[...this[_0x29c872(0xdd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x28130d){const _0x404e17=_0x4cb6a4;this[_0x404e17(0x1cb)](_0x28130d);const _0x4c85c0=window[_0x404e17(0x238)](()=>{const _0x29d2bd=_0x404e17;this[_0x29d2bd(0x243)][_0x29d2bd(0xea)](_0x1c56d5=>{const _0x534f02=_0x29d2bd;_0x1c56d5[_0x534f02(0x220)](_0x28130d);});},St*0x2);this[_0x404e17(0xd2)][_0x404e17(0x187)](_0x28130d,_0x4c85c0);}['_removeClearOtherTimer'](_0x2264c2){const _0xd9cc5f=_0x4cb6a4;if(this['_clearOtherTimers'][_0xd9cc5f(0x282)](_0x2264c2)){const _0x4e2eb4=this[_0xd9cc5f(0xd2)]['get'](_0x2264c2);_0x4e2eb4&&window[_0xd9cc5f(0xcc)](_0x4e2eb4),this[_0xd9cc5f(0xd2)][_0xd9cc5f(0x187)](_0x2264c2,null);}}['_handleLeaveEvent'](_0xd1c248){const _0x43e0cf=_0x4cb6a4,{memberID:_0x18ac26,unitIDs:_0x440736}=_0xd1c248;_0x440736[_0x43e0cf(0xea)](_0x2242e5=>{const _0x55b8c3=_0x43e0cf;var _0x446c36;const _0x5c9e72=this[_0x55b8c3(0x243)][_0x55b8c3(0x242)](_0x2242e5);_0x5c9e72&&(_0x5c9e72[_0x55b8c3(0x220)](_0x18ac26),(_0x446c36=this[_0x55b8c3(0x2ca)](_0x2242e5))==null||_0x446c36[_0x55b8c3(0x30d)](_0x5c9e72[_0x55b8c3(0x219)]===0x0?_0x5cb507[_0x55b8c3(0x1ee)]:_0x5cb507[_0x55b8c3(0xc6)]));}),this[_0x43e0cf(0x1cb)](_0x18ac26);}[_0x4cb6a4(0x2da)](_0x66e3ab){const _0x444606=_0x4cb6a4;this[_0x444606(0x176)](_0x66e3ab[_0x444606(0x18a)]);}[_0x4cb6a4(0xcb)](_0x22e822){const _0x4120ef=_0x4cb6a4;localStorage['setItem'](It,JSON[_0x4120ef(0x181)](_0x22e822));}[_0x4cb6a4(0x1b5)](){const _0x3da3e8=_0x4cb6a4;this[_0x3da3e8(0xc4)]=window[_0x3da3e8(0x209)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},St);}[_0x4cb6a4(0x2ca)](_0x254885){const _0x24f1c0=_0x4cb6a4;return this['_unitStatus']['has'](_0x254885)||this['_unitStatus'][_0x24f1c0(0x187)](_0x254885,new _0x5e0fc0(_0x5cb507['NO_OTHER_CLIENTS_EDITING'])),this[_0x24f1c0(0x28c)]['get'](_0x254885);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};