@univerjs-pro/collaboration-client-ui 0.10.5-nightly.202508290716 → 0.10.6

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 (49) 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/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5188d3=_0x1284;(function(_0x168696,_0x6835c7){const _0xeca08=_0x1284,_0x111ecb=_0x168696();while(!![]){try{const _0x1adc9d=-parseInt(_0xeca08(0x38a))/0x1*(-parseInt(_0xeca08(0x2fc))/0x2)+-parseInt(_0xeca08(0x249))/0x3*(-parseInt(_0xeca08(0x3f4))/0x4)+parseInt(_0xeca08(0x377))/0x5*(-parseInt(_0xeca08(0x330))/0x6)+parseInt(_0xeca08(0x227))/0x7+-parseInt(_0xeca08(0x22d))/0x8*(parseInt(_0xeca08(0x2bc))/0x9)+parseInt(_0xeca08(0x39e))/0xa+-parseInt(_0xeca08(0x379))/0xb*(-parseInt(_0xeca08(0x27b))/0xc);if(_0x1adc9d===_0x6835c7)break;else _0x111ecb['push'](_0x111ecb['shift']());}catch(_0x5a71f0){_0x111ecb['push'](_0x111ecb['shift']());}}}(_0x164b,0xd8850));var xt=Object[_0x5188d3(0x314)],Bt=(_0x1bf9b0,_0x31faab,_0x38746c)=>_0x31faab in _0x1bf9b0?xt(_0x1bf9b0,_0x31faab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38746c}):_0x1bf9b0[_0x31faab]=_0x38746c,_=(_0x3bbc78,_0x561309,_0x161638)=>Bt(_0x3bbc78,typeof _0x561309!=_0x5188d3(0x39b)?_0x561309+'':_0x561309,_0x161638);import{jsx as _0x6fb11f,jsxs as _0x56d49b}from'react/jsx-runtime';import{CollaborationStatus as _0x1c3979,CollaborationSessionService as _0xd11033,CollaborationController as _0x59f285,DataLoaderService as _0x2e6101,MemberService as _0x4f4c78,SessionStatus as _0x1d31df,ILocalCacheService as _0x452dcf,CollaborationUIEventService as _0x2c32f5,CollaborationUIEventId as _0x8aabc2,DocCollaborationEntity as _0x1fcd5b,getLocalCacheKey as _0x57bb43,LOCAL_CACHE_INTERVAL as _0x30d596,LOCAL_CACHE_INTERVAL_KEY as _0x3dc6bf,UniverCollaborationClientPlugin as _0x5addc8,CollaborationSocketService as _0x285de9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1835dd,DEFAULT_WS_SESSION_TICKET_URL as _0x305365,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3df8fd,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x596070,UnitStatus as _0x1f8419}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x43722e,IUniverInstanceService as _0x3c2a83,Inject as _0x1fed49,Injector as _0x10b755,Disposable as _0x5c2962,createIdentifier as _0x45fd3e,ILogService as _0x368053,ICommandService as _0x368e9e,Optional as _0x52bdf7,RxDisposable as _0x4b0038,Workbook as _0x10f9d5,DOC_RANGE_TYPE as _0x1039b0,debounce as _0x5bad9b,Rectangle as _0x5947f1,DisposableCollection as _0xa963ca,toDisposable as _0x4b9667,UniverInstanceType as _0x4d2985,generateRandomId as _0x3bd970,COLORS as _0x5b3e38,ColorKit as _0x30f6ea,ThemeService as _0x102b46,fromEventSubject as _0x58dc61,Tools as _0x565db7,CommandType as _0x5396a0,IConfigService as _0x59b444,ILocalStorageService as _0x3279e1,DependentOn as _0x1d4fd5,Plugin as _0x40aa46,merge as _0x3fb691,registerDependencies as _0x95d7c3,mergeOverrideWithDependencies as _0x2095e5,touchDependencies as _0x4fc3f1}from'@univerjs/core';import{useObservable as _0x3bd2e7,useDependency as _0x9c5b4e,IUIPartsService as _0x5cf862,BuiltInUIPart as _0x3a9536,connectInjector as _0x1b06ac,IBeforeCloseService as _0x29d752,IMessageService as _0x52999a,INotificationService as _0x3488df}from'@univerjs/ui';import{BehaviorSubject as _0x4be62c,switchMap as _0x42cff0,of as _0x153d14,takeUntil as _0x5ee7c8,debounceTime as _0x247c23,Subject as _0x242276,filter as _0x5c7928,merge as _0x4ce163,combineLatest as _0x268060,fromEvent as _0x18991f,shareReplay as _0x57103e,mapTo as _0x4491e2,distinctUntilChanged as _0x497dbc}from'rxjs';import{Tooltip as _0xc0c39f,clsx as _0xfe355f,MessageType as _0x2bfeea}from'@univerjs/design';import{forwardRef as _0x3c6b24,useRef as _0x549cb6,createElement as _0x184518,useCallback as _0x538155}from'react';import{IRemoteInstanceService as _0x9ab26f}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x9a1e6a,RefRangeService as _0x45d3b7,SetSelectionsOperation as _0x56343f,SheetsSelectionsService as _0x5f1e0a,EffectRefRangId as _0x550fe5,handleIRemoveRow as _0x4117cc,handleIRemoveCol as _0x42412e,handleMoveRange as _0x1ab204,handleInsertRow as _0x1b0f3b,handleInsertRangeMoveRight as _0x17dcbc,handleInsertRangeMoveDown as _0x1a4c88,handleInsertCol as _0x14a526,handleDeleteRangeMoveUp as _0x2311a2,handleDeleteRangeMoveLeft as _0x58a5ff,runRefRangeMutations as _0x4176f9}from'@univerjs/sheets';import{Shape as _0x1b969d,Rect as _0x898fcc,getColor as _0x5e7da9,RegularPolygon as _0x2e885a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3688fb,Vector2 as _0x15b5f5,SHEET_VIEWPORT_KEY as _0x1cd1cf,IRenderManagerService as _0x19f3a1}from'@univerjs/engine-render';import{ISocketService as _0x26e933,WebSocketService as _0x46255c,HTTPService as _0x3bd41}from'@univerjs/network';import{IDocClipboardService as _0x23de78,NodePositionConvertToCursor as _0x366bc5,NodePositionConvertToRectRange as _0x4aac6f,TEXT_RANGE_LAYER_INDEX as _0x328624,SetDocZoomRatioOperation as _0x4ae52a,DocIMEInputManagerService as _0x2a97ab,DocStateChangeManagerService as _0x5081e5}from'@univerjs/docs-ui';import{IImageIoService as _0x2319c3}from'@univerjs/drawing';import{ITransformService as _0x37fccd,CollaborationEvent as _0x31231b,isTransformMutationFailure as _0xd8fc96,isTransformMutationsWithChangesetSuccess as _0x49820e,RevisionService as _0x15241e,ISnapshotServerService as _0x3e0eeb}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2f07bf,RichTextEditingMutation as _0x109350,DocSelectionManagerService as _0x2331b0,DocSkeletonManagerService as _0x43f430}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x16a8f8,serializeRangeWithSheet as _0x24b3fc}from'@univerjs/engine-formula';import{map as _0x43de50,filter as _0x57deec,throttleTime as _0x3228c8,takeUntil as _0x1fd2f1,switchMap as _0x32b145}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3862f2,getCoordByCell as _0x4c8678,getSheetObject as _0x6c925c}from'@univerjs/sheets-ui';var v=function(){const _0x495e88=_0x5188d3;return v=Object[_0x495e88(0x304)]||function(_0x2d641b){const _0x14b8a4=_0x495e88;for(var _0x348f6c,_0x39136f=0x1,_0xfedb13=arguments[_0x14b8a4(0x256)];_0x39136f<_0xfedb13;_0x39136f++){_0x348f6c=arguments[_0x39136f];for(var _0x23e7cc in _0x348f6c)Object[_0x14b8a4(0x265)]['hasOwnProperty'][_0x14b8a4(0x210)](_0x348f6c,_0x23e7cc)&&(_0x2d641b[_0x23e7cc]=_0x348f6c[_0x23e7cc]);}return _0x2d641b;},v[_0x495e88(0x1f7)](this,arguments);},ci=function(_0x551cfb,_0x397afa){const _0x27981d=_0x5188d3;var _0x4c3699={};for(var _0xa2bfc9 in _0x551cfb)Object[_0x27981d(0x265)][_0x27981d(0x355)][_0x27981d(0x210)](_0x551cfb,_0xa2bfc9)&&_0x397afa[_0x27981d(0x32c)](_0xa2bfc9)<0x0&&(_0x4c3699[_0xa2bfc9]=_0x551cfb[_0xa2bfc9]);if(_0x551cfb!=null&&typeof Object[_0x27981d(0x248)]==_0x27981d(0x2e4)){for(var _0x1542a4=0x0,_0xa2bfc9=Object['getOwnPropertySymbols'](_0x551cfb);_0x1542a4<_0xa2bfc9['length'];_0x1542a4++)_0x397afa[_0x27981d(0x32c)](_0xa2bfc9[_0x1542a4])<0x0&&Object['prototype'][_0x27981d(0x2b0)][_0x27981d(0x210)](_0x551cfb,_0xa2bfc9[_0x1542a4])&&(_0x4c3699[_0xa2bfc9[_0x1542a4]]=_0x551cfb[_0xa2bfc9[_0x1542a4]]);}return _0x4c3699;},ke=_0x3c6b24(function(_0x44ede3,_0x430cf4){const _0x1161fd=_0x5188d3;var _0x466769=_0x44ede3['icon'],_0x43e0d6=_0x44ede3['id'],_0x5ae48e=_0x44ede3['className'],_0x27d6d4=_0x44ede3[_0x1161fd(0x2ce)],_0x34df36=ci(_0x44ede3,['icon','id','className','extend']),_0xc83643='univerjs-icon\x20univerjs-icon-'['concat'](_0x43e0d6,'\x20')['concat'](_0x5ae48e||'')[_0x1161fd(0x348)](),_0x1415e6=_0x549cb6('_'[_0x1161fd(0x2cf)](hi()));return Rt(_0x466769,''['concat'](_0x43e0d6),{'defIds':_0x466769[_0x1161fd(0x233)],'idSuffix':_0x1415e6['current']},v({'ref':_0x430cf4,'className':_0xc83643},_0x34df36),_0x27d6d4);});function Rt(_0x3227e1,_0x5e881f,_0x8ab891,_0x2f2916,_0x11a9da){const _0x1cb8c9=_0x5188d3;return _0x184518(_0x3227e1[_0x1cb8c9(0x402)],v(v({'key':_0x5e881f},li(_0x3227e1,_0x8ab891,_0x11a9da)),_0x2f2916),(_i(_0x3227e1,_0x8ab891)['children']||[])[_0x1cb8c9(0x308)](function(_0x2d22fe,_0x356d1f){return Rt(_0x2d22fe,''['concat'](_0x5e881f,'-')['concat'](_0x3227e1['tag'],'-')['concat'](_0x356d1f),_0x8ab891,void 0x0,_0x11a9da);}));}function li(_0x2c264a,_0x2fe8b3,_0x3c4b69){const _0x39dc84=_0x5188d3;var _0x94c2bd=v({},_0x2c264a[_0x39dc84(0x2c4)]);_0x3c4b69!=null&&_0x3c4b69[_0x39dc84(0x25c)]&&_0x94c2bd['fill']===_0x39dc84(0x25c)&&(_0x94c2bd[_0x39dc84(0x38c)]=_0x3c4b69[_0x39dc84(0x25c)]),_0x2c264a['tag']==='mask'&&_0x94c2bd['id']&&(_0x94c2bd['id']=_0x94c2bd['id']+_0x2fe8b3['idSuffix']),Object[_0x39dc84(0x2d9)](_0x94c2bd)[_0x39dc84(0x292)](function(_0x38bc74){const _0xd28d26=_0x39dc84;var _0x5be9ba=_0x38bc74[0x0],_0xf2bb50=_0x38bc74[0x1];_0x5be9ba===_0xd28d26(0x298)&&typeof _0xf2bb50==_0xd28d26(0x216)&&(_0x94c2bd[_0x5be9ba]=_0xf2bb50[_0xd28d26(0x35e)](/url\(#(.*)\)/,_0xd28d26(0x218)[_0xd28d26(0x2cf)](_0x2fe8b3[_0xd28d26(0x3f1)],')')));});var _0x26cd85=_0x2fe8b3[_0x39dc84(0x233)];return!_0x26cd85||_0x26cd85['length']===0x0||(_0x2c264a['tag']===_0x39dc84(0x30e)&&_0x94c2bd['xlink:href']&&(_0x94c2bd[_0x39dc84(0x2f2)]=_0x94c2bd[_0x39dc84(0x2f2)]+_0x2fe8b3[_0x39dc84(0x3f1)]),Object['entries'](_0x94c2bd)['forEach'](function(_0x4a0f2f){const _0x4b1323=_0x39dc84;var _0x1ab92a=_0x4a0f2f[0x0],_0x24c3bf=_0x4a0f2f[0x1];typeof _0x24c3bf==_0x4b1323(0x216)&&(_0x94c2bd[_0x1ab92a]=_0x24c3bf[_0x4b1323(0x35e)](/url\(#(.*)\)/,_0x4b1323(0x218)[_0x4b1323(0x2cf)](_0x2fe8b3[_0x4b1323(0x3f1)],')')));})),_0x94c2bd;}function _i(_0x399437,_0x433fbf){const _0x5491cb=_0x5188d3;var _0x3aff4d,_0x593f88=_0x433fbf[_0x5491cb(0x233)];return!_0x593f88||_0x593f88[_0x5491cb(0x256)]===0x0?_0x399437:_0x399437[_0x5491cb(0x402)]===_0x5491cb(0x29d)&&(!((_0x3aff4d=_0x399437['children'])===null||_0x3aff4d===void 0x0)&&_0x3aff4d[_0x5491cb(0x256)])?v(v({},_0x399437),{'children':_0x399437[_0x5491cb(0x287)]['map'](function(_0x4467f6){const _0x416eb1=_0x5491cb;return typeof _0x4467f6[_0x416eb1(0x2c4)]['id']=='string'&&_0x593f88&&_0x593f88[_0x416eb1(0x2f5)](_0x4467f6['attrs']['id'])?v(v({},_0x4467f6),{'attrs':v(v({},_0x4467f6[_0x416eb1(0x2c4)]),{'id':_0x4467f6[_0x416eb1(0x2c4)]['id']+_0x433fbf[_0x416eb1(0x3f1)]})}):_0x4467f6;})}):_0x399437;}function hi(){const _0x3b25cd=_0x5188d3;return Math['random']()[_0x3b25cd(0x383)](0x24)[_0x3b25cd(0x320)](0x2,0x8);}ke[_0x5188d3(0x3fa)]='UniverIcon';var ui={'tag':'svg','attrs':{'xmlns':_0x5188d3(0x29c),'fill':_0x5188d3(0x403),'viewBox':'0\x200\x2016\x2016','width':_0x5188d3(0x367),'height':_0x5188d3(0x367)},'children':[{'tag':'g','attrs':{'clipPath':_0x5188d3(0x27c)},'children':[{'tag':_0x5188d3(0x3a5),'attrs':{'stroke':_0x5188d3(0x31c),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x5188d3(0x285),'strokeWidth':1.2}}]},{'tag':_0x5188d3(0x29d),'attrs':{},'children':[{'tag':_0x5188d3(0x341),'attrs':{'id':_0x5188d3(0x362)},'children':[{'tag':'path','attrs':{'fill':_0x5188d3(0x2fb),'d':_0x5188d3(0x38f)}}]}]}],'defIds':[_0x5188d3(0x362)]},Dt=_0x3c6b24(function(_0x3ab327,_0x1f751c){const _0x244cf1=_0x5188d3;return _0x184518(ke,Object[_0x244cf1(0x304)]({},_0x3ab327,{'id':_0x244cf1(0x2d3),'ref':_0x1f751c,'icon':ui}));});Dt[_0x5188d3(0x3fa)]=_0x5188d3(0x290);var di={'tag':_0x5188d3(0x36f),'attrs':{'xmlns':_0x5188d3(0x29c),'fill':_0x5188d3(0x403),'viewBox':_0x5188d3(0x3c1),'width':_0x5188d3(0x367),'height':_0x5188d3(0x367)},'children':[{'tag':'g','attrs':{'clipPath':_0x5188d3(0x31e)},'children':[{'tag':_0x5188d3(0x3a5),'attrs':{'stroke':_0x5188d3(0x31c),'d':_0x5188d3(0x28b),'strokeLinecap':'round','strokeLinejoin':_0x5188d3(0x285),'strokeWidth':1.2}}]},{'tag':_0x5188d3(0x29d),'attrs':{},'children':[{'tag':_0x5188d3(0x341),'attrs':{'id':_0x5188d3(0x268)},'children':[{'tag':_0x5188d3(0x3a5),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3c6b24(function(_0x350b9a,_0x13a9a1){const _0x7156f4=_0x5188d3;return _0x184518(ke,Object[_0x7156f4(0x304)]({},_0x350b9a,{'id':_0x7156f4(0x3de),'ref':_0x13a9a1,'icon':di}));});Nt[_0x5188d3(0x3fa)]=_0x5188d3(0x231);function fi(_0x5ba858){const _0x2f006c=_0x5188d3;switch(_0x5ba858){case _0x1c3979[_0x2f006c(0x3ed)]:return'collabStatus.offline';case _0x1c3979['CONFLICT']:return _0x2f006c(0x2f4);case _0x1c3979[_0x2f006c(0x2b5)]:return'collabStatus.fetchMiss';case _0x1c3979[_0x2f006c(0x2c5)]:return'collabStatus.notCollab';case _0x1c3979[_0x2f006c(0x275)]:case _0x1c3979[_0x2f006c(0x399)]:return _0x2f006c(0x2e3);case _0x1c3979[_0x2f006c(0x3d3)]:case _0x1c3979['PENDING']:return'collabStatus.synced';}}function _0x1284(_0x11732a,_0x175180){const _0x164b46=_0x164b();return _0x1284=function(_0x128468,_0x5ccb02){_0x128468=_0x128468-0x1f4;let _0x5bd2dd=_0x164b46[_0x128468];return _0x5bd2dd;},_0x1284(_0x11732a,_0x175180);}function Si(_0x3e716a){const _0x168ff9=_0x5188d3,{status$:_0x480779}=_0x3e716a,_0x3e8230=_0x3bd2e7(_0x480779,_0x1c3979['NOT_COLLAB']),_0x207a7f=_0x9c5b4e(_0x43722e),_0x3ca3a5=_0x9c5b4e(_0xd11033),_0x102c29=_0x3e8230!==_0x1c3979['OFFLINE'],_0x3500c2=_0x207a7f['t'](fi(_0x3e8230)),_0x3858c3=_0x102c29?_0x6fb11f(Nt,{}):_0x6fb11f(Dt,{}),_0x5f19af=_0x538155(()=>{const _0x4c6944=_0x1284;_0x102c29||_0x3ca3a5[_0x4c6944(0x237)]();},[_0x102c29,_0x3ca3a5]);function _0x2e7eb4(){const _0xd79d56=_0x1284;return _0x56d49b(_0xd79d56(0x2f3),{'className':_0xd79d56(0x3e8),'onClick':_0x5f19af,'children':[_0x6fb11f('div',{'className':_0xfe355f(_0xd79d56(0x327),{'univer-text-green-500':_0x102c29,'univer-text-red-500':!_0x102c29}),'children':_0x3858c3}),_0x6fb11f(_0xd79d56(0x2f3),{'className':_0xd79d56(0x36c),'children':_0x3500c2})]});}return _0x102c29?_0x2e7eb4():_0x6fb11f(_0xc0c39f,{'title':_0x207a7f['t'](_0x168ff9(0x3af)),'children':_0x2e7eb4()});}var mi=Object[_0x5188d3(0x20a)],Ii=(_0x1531fa,_0x1b1b84,_0x31e328,_0x56322b)=>{const _0x2f7535=_0x5188d3;for(var _0x594dec=_0x56322b>0x1?void 0x0:_0x56322b?mi(_0x1b1b84,_0x31e328):_0x1b1b84,_0x4ddbd5=_0x1531fa[_0x2f7535(0x256)]-0x1,_0x2c1275;_0x4ddbd5>=0x0;_0x4ddbd5--)(_0x2c1275=_0x1531fa[_0x4ddbd5])&&(_0x594dec=_0x2c1275(_0x594dec)||_0x594dec);return _0x594dec;},q=(_0x324f43,_0x25eb79)=>(_0x647bb,_0x19e913)=>_0x25eb79(_0x647bb,_0x19e913,_0x324f43);let se=class extends _0x5c2962{constructor(_0x336762,_0x3545fb,_0x26da52,_0x573f20){const _0x4730db=_0x5188d3;super(),_(this,_0x4730db(0x299),new _0x4be62c(_0x1c3979['NOT_COLLAB'])),(this[_0x4730db(0x26d)]=_0x336762,this[_0x4730db(0x36d)]=_0x3545fb,this[_0x4730db(0x207)]=_0x26da52,this[_0x4730db(0x32e)]=_0x573f20,this[_0x4730db(0x3f9)](),this[_0x4730db(0x3b6)]());}['_initStatusListener'](){const _0x5b604b=_0x5188d3;this[_0x5b604b(0x2c2)](this[_0x5b604b(0x26d)][_0x5b604b(0x36a)]['pipe'](_0x42cff0(()=>{const _0x481cec=_0x5b604b,_0x52bf99=this[_0x481cec(0x26d)][_0x481cec(0x3bd)]();return _0x52bf99?this[_0x481cec(0x207)][_0x481cec(0x3c6)](_0x52bf99[_0x481cec(0x2e5)]()):_0x153d14(null);}),_0x42cff0(_0x1c030a=>_0x1c030a?_0x1c030a['status$']:_0x153d14(_0x1c3979[_0x5b604b(0x2c5)])))['subscribe'](_0x4827a9=>{const _0x272156=_0x5b604b;this[_0x272156(0x299)][_0x272156(0x3d7)](_0x4827a9);}));}['_initStatusComponent'](){const _0x3c9b49=_0x5188d3;this['disposeWithMe'](this[_0x3c9b49(0x32e)]['registerComponent'](_0x3a9536[_0x3c9b49(0x35d)],()=>_0x1b06ac(vi({'status$':this[_0x3c9b49(0x299)]['asObservable']()}),this[_0x3c9b49(0x36d)])));}};se=Ii([q(0x0,_0x3c2a83),q(0x1,_0x1fed49(_0x10b755)),q(0x2,_0x1fed49(_0x59f285)),q(0x3,_0x5cf862)],se);function vi(_0x2e6ed3){const {status$:_0x283783}=_0x2e6ed3;return function(){return _0x6fb11f(Si,{'status$':_0x283783});};}const Ut=_0x45fd3e(_0x5188d3(0x309));var gi=Object[_0x5188d3(0x20a)],pi=(_0x15392f,_0x3ef29d,_0x874824,_0x2f987d)=>{const _0x4a362a=_0x5188d3;for(var _0x11ed38=_0x2f987d>0x1?void 0x0:_0x2f987d?gi(_0x3ef29d,_0x874824):_0x3ef29d,_0x295c32=_0x15392f[_0x4a362a(0x256)]-0x1,_0x1a231e;_0x295c32>=0x0;_0x295c32--)(_0x1a231e=_0x15392f[_0x295c32])&&(_0x11ed38=_0x1a231e(_0x11ed38)||_0x11ed38);return _0x11ed38;},G=(_0x47e5a5,_0x3429e5)=>(_0x6188c2,_0x342d66)=>_0x3429e5(_0x6188c2,_0x342d66,_0x47e5a5);let ie=class extends _0x4b0038{constructor(_0x371e9f,_0x3260ef,_0x1f1fa5,_0x5ec74c,_0x32fae7){const _0x352487=_0x5188d3;super(),this[_0x352487(0x331)]=_0x371e9f,this[_0x352487(0x2bd)]=_0x3260ef,this['_commandService']=_0x1f1fa5,this[_0x352487(0x3ad)]=_0x5ec74c,_0x32fae7?_0x32fae7==null||_0x32fae7['whenReady']()['then'](()=>this[_0x352487(0x283)]()):(this['_logService'][_0x352487(0x289)](_0x352487(0x213),_0x352487(0x34c)),this[_0x352487(0x283)]());}async['_init'](){const _0x215744=_0x5188d3,_0x4b9fdc=this[_0x215744(0x331)]['getParam'](_0x215744(0x2be)),_0x5b67c6=this[_0x215744(0x331)][_0x215744(0x22e)](_0x215744(0x3da)),_0x14a0bc=this[_0x215744(0x331)][_0x215744(0x22e)](_0x215744(0x2b8));if(!_0x4b9fdc||!_0x5b67c6){this[_0x215744(0x2bd)][_0x215744(0x289)](_0x215744(0x213),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x487f68=await this[_0x215744(0x3ad)][_0x215744(0x3c8)](_0x4b9fdc,Number(_0x5b67c6),_0x14a0bc);_0x487f68&&_0x487f68 instanceof _0x10f9d5&&this['_setupSubUnitSync'](_0x487f68);}async[_0x5188d3(0x280)](_0x3f5b1a){const _0x5b26f1=_0x5188d3;await this[_0x5b26f1(0x2a7)](_0x3f5b1a),_0x3f5b1a[_0x5b26f1(0x2c9)]['pipe'](_0x5ee7c8(this[_0x5b26f1(0x247)]))['subscribe'](_0x42f869=>{_0x42f869&&this['_updateURLWithCurrentState'](_0x42f869);}),this[_0x5b26f1(0x331)][_0x5b26f1(0x2bf)][_0x5b26f1(0x271)](_0x5ee7c8(this[_0x5b26f1(0x247)]))[_0x5b26f1(0x278)](()=>this[_0x5b26f1(0x2a7)](_0x3f5b1a));}[_0x5188d3(0x389)](_0x1c1787,_0x511e06=!0x1){const _0x4af81f=_0x5188d3,_0x2da183=this[_0x4af81f(0x331)]['getParam'](_0x4af81f(0x2b8));_0x1c1787[_0x4af81f(0x3a4)]()!==_0x2da183&&this['_urlService'][_0x4af81f(0x21d)](_0x4af81f(0x2b8),_0x1c1787[_0x4af81f(0x3a4)](),_0x511e06);}async[_0x5188d3(0x2a7)](_0x20073b){const _0x10cb85=_0x5188d3;var _0x1b8e25;const _0x31348b=this[_0x10cb85(0x331)][_0x10cb85(0x22e)]('subunit');if(!_0x31348b||!_0x20073b[_0x10cb85(0x30a)](_0x31348b)){const _0x397a1f=_0x20073b[_0x10cb85(0x20c)]()[0x0],_0x5295d4=_0x20073b[_0x10cb85(0x30a)](_0x397a1f);if(!_0x5295d4)return;this[_0x10cb85(0x389)](_0x5295d4,!0x0),await this['_commandService'][_0x10cb85(0x26f)](_0x9a1e6a['id'],{'unitId':_0x20073b[_0x10cb85(0x2e5)](),'subUnitId':_0x397a1f});return;}((_0x1b8e25=_0x20073b['getActiveSheet']())==null?void 0x0:_0x1b8e25['getSheetId']())!==_0x31348b&&await this[_0x10cb85(0x3d8)][_0x10cb85(0x26f)](_0x9a1e6a['id'],{'unitId':_0x20073b[_0x10cb85(0x2e5)](),'subUnitId':_0x31348b});}};ie=pi([G(0x0,Ut),G(0x1,_0x368053),G(0x2,_0x368e9e),G(0x3,_0x1fed49(_0x2e6101)),G(0x4,_0x52bdf7(_0x9ab26f))],ie);var Ci=Object[_0x5188d3(0x20a)],Ei=(_0x3350fa,_0x2f5828,_0x65ca1e,_0x101260)=>{const _0x3ef817=_0x5188d3;for(var _0x567425=_0x101260>0x1?void 0x0:_0x101260?Ci(_0x2f5828,_0x65ca1e):_0x2f5828,_0x13428e=_0x3350fa[_0x3ef817(0x256)]-0x1,_0x24b565;_0x13428e>=0x0;_0x13428e--)(_0x24b565=_0x3350fa[_0x13428e])&&(_0x567425=_0x24b565(_0x567425)||_0x567425);return _0x567425;},Je=(_0xc73752,_0x2c263e)=>(_0x150fa0,_0x247b1a)=>_0x2c263e(_0x150fa0,_0x247b1a,_0xc73752);let Ne=class extends _0x4b0038{constructor(_0x2474ac,_0x44b466){const _0x4c3c54=_0x5188d3;super(),this[_0x4c3c54(0x2e0)]=_0x2474ac,this['_imageIoService']=_0x44b466,this[_0x4c3c54(0x283)]();}[_0x5188d3(0x283)](){const _0x111697=_0x5188d3,_0x3bf865=this;this[_0x111697(0x2c2)](this['_docClipboardService'][_0x111697(0x27d)]({'onBeforePasteImage':async _0x3b0a73=>{const _0x10cb8a=_0x111697,_0x33108c=await _0x3bf865[_0x10cb8a(0x32d)]['saveImage'](_0x3b0a73);return _0x33108c?{'source':_0x33108c[_0x10cb8a(0x2ca)],'imageSourceType':_0x33108c[_0x10cb8a(0x3b4)]}:null;}}));}};Ne=Ei([Je(0x0,_0x23de78),Je(0x1,_0x2319c3)],Ne);const Ze=[_0x5188d3(0x3d9),'jiqing.500',_0x5188d3(0x1fb),_0x5188d3(0x324),_0x5188d3(0x3ba),_0x5188d3(0x3ef)];class He extends _0x5c2962{constructor(){const _0x2f88a9=_0x5188d3;super(...arguments),_(this,_0x2f88a9(0x260),new Map()),_(this,'_colorIndex',0x0);}[_0x5188d3(0x394)](_0x21f07f){const _0x385a27=_0x5188d3;if(this['_assignedColors'][_0x385a27(0x2f7)](_0x21f07f))return this[_0x385a27(0x260)][_0x385a27(0x2da)](_0x21f07f);const _0x5b36f=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0x385a27(0x38e)]+0x1)%Ze['length'],this[_0x385a27(0x260)][_0x385a27(0x203)](_0x21f07f,_0x5b36f),_0x5b36f;}}function Mt(_0x2198e7){const _0x31bd63=_0x5188d3;let _0x527e45='';for(const _0x18503f of _0x2198e7){const {startOffset:_0xb1c86e,endOffset:_0x2b9a3a,isActive:_0x4b11b1,rangeType:_0x2e4565,segmentId:_0x22ab77,segmentPage:_0x5491c1}=_0x18503f;_0x527e45[_0x31bd63(0x256)]&&(_0x527e45+=','),_0x527e45+=_0xb1c86e+':'+_0x2b9a3a+':'+(_0x4b11b1?'1':'0')+':'+_0x2e4565+':'+_0x22ab77+':'+_0x5491c1;}return _0x527e45;}function Oi(_0x5d7a07){const _0x5c9cda=_0x5188d3,_0x4db7d1=_0x5d7a07[_0x5c9cda(0x246)](','),_0x3d56bd=[];for(const _0x595c23 of _0x4db7d1){const [_0x586256,_0x3bc23e,_0x25c806,_0x6efd6d,_0x1c97dd,_0x836c21]=_0x595c23['split'](':');_0x3d56bd[_0x5c9cda(0x338)]({'startOffset':Number(_0x586256),'endOffset':Number(_0x3bc23e),'collapsed':_0x586256===_0x3bc23e,'isActive':_0x25c806==='1','rangeType':_0x6efd6d===_0x1039b0[_0x5c9cda(0x20b)]?_0x1039b0['TEXT']:_0x1039b0[_0x5c9cda(0x25d)],'segmentId':typeof _0x1c97dd==_0x5c9cda(0x216)?String(_0x1c97dd):'','segmentPage':Number(_0x836c21!=null?_0x836c21:-0x1)});}return _0x3d56bd[_0x5c9cda(0x318)](_0x327dfb=>_0x327dfb[_0x5c9cda(0x2ac)])||(_0x3d56bd[0x0][_0x5c9cda(0x2ac)]=!0x0),_0x3d56bd;}class Fe extends _0x4b0038{constructor(){const _0x18a2a5=_0x5188d3;super(...arguments),_(this,_0x18a2a5(0x3e6),new _0x4be62c(null)),_(this,_0x18a2a5(0x333),this[_0x18a2a5(0x3e6)][_0x18a2a5(0x200)]());}[_0x5188d3(0x23e)](_0x3d6cd2){const _0x12ac50=_0x5188d3,{unitID:_0x2c870a,memberID:_0x4747c9,textRanges:_0x5cdf86}=_0x3d6cd2,_0x54ed68=Mt(_0x5cdf86);if(_0x54ed68==='')return;const _0x120b2a={'unitID':_0x2c870a,'memberID':_0x4747c9,'selection':_0x54ed68};this['_collabCursorState$'][_0x12ac50(0x3d7)](_0x120b2a);}}var bi=Object[_0x5188d3(0x20a)],Ti=(_0x4d83ed,_0xf12560,_0x236751,_0x468445)=>{const _0x1c092d=_0x5188d3;for(var _0xc1ee89=_0x468445>0x1?void 0x0:_0x468445?bi(_0xf12560,_0x236751):_0xf12560,_0x5069e9=_0x4d83ed[_0x1c092d(0x256)]-0x1,_0x150762;_0x5069e9>=0x0;_0x5069e9--)(_0x150762=_0x4d83ed[_0x5069e9])&&(_0xc1ee89=_0x150762(_0xc1ee89)||_0xc1ee89);return _0xc1ee89;},P=(_0x53a0b2,_0x2595e7)=>(_0x5b7725,_0x55d2fd)=>_0x2595e7(_0x5b7725,_0x55d2fd,_0x53a0b2);const Ri=0x12c,Di=0x64;let Ue=class extends _0x4b0038{constructor(_0x1d5798,_0x208e0a,_0x1dac90,_0x3b208d,_0x3167ce,_0x1688d7,_0x4820c4,_0xcbabbf,_0xc8be2f){const _0x920763=_0x5188d3;super(),_(this,'_online',!0x1),_(this,_0x920763(0x283),!0x1),_(this,_0x920763(0x3a1),new _0x4be62c(new Map())),_(this,_0x920763(0x2e7),this[_0x920763(0x3a1)]['asObservable']()),_(this,_0x920763(0x27f),new _0x4be62c([])),_(this,_0x920763(0x20e),this[_0x920763(0x27f)][_0x920763(0x271)](_0x247c23(Ri))),_(this,_0x920763(0x373),_0x5bad9b(_0x5842e2=>{const _0x22272e=_0x920763,_0x588baf={'eventID':_0x31231b[_0x22272e(0x2d1)],'data':{'unitID':this['unitID'],'memberID':this[_0x22272e(0x274)]['getMemberID'](),'selection':Mt(_0x5842e2)}};this[_0x22272e(0x274)][_0x22272e(0x202)](_0x588baf,this['unitID']);},Di)),(this[_0x920763(0x293)]=_0x1d5798,this[_0x920763(0x274)]=_0x208e0a,this[_0x920763(0x36d)]=_0x1dac90,this[_0x920763(0x315)]=_0x3b208d,this['_memberService']=_0x3167ce,this[_0x920763(0x2dd)]=_0x1688d7,this['_transformService']=_0x4820c4,this[_0x920763(0x26d)]=_0xcbabbf,this[_0x920763(0x3d8)]=_0xc8be2f);}get[_0x5188d3(0x32a)](){const _0x2faf2d=_0x5188d3;return this[_0x2faf2d(0x3a1)][_0x2faf2d(0x22b)]();}get[_0x5188d3(0x30b)](){const _0x44f1d6=_0x5188d3;return this[_0x44f1d6(0x27f)]['getValue']();}['dispose'](){const _0x2bef0f=_0x5188d3;super[_0x2bef0f(0x21e)](),this['_cursorInfo$']['next'](new Map()),this[_0x2bef0f(0x3a1)][_0x2bef0f(0x319)](),this[_0x2bef0f(0x27f)][_0x2bef0f(0x3d7)]([]),this[_0x2bef0f(0x27f)][_0x2bef0f(0x319)]();}[_0x5188d3(0x395)](){const _0x398623=_0x5188d3;this['_init']||(this[_0x398623(0x283)]=!0x0,this[_0x398623(0x274)][_0x398623(0x3d6)][_0x398623(0x271)](_0x5ee7c8(this[_0x398623(0x247)]))['subscribe'](_0x1125e0=>{const _0x44470d=_0x398623;_0x1125e0===_0x1d31df[_0x44470d(0x240)]?this[_0x44470d(0x23c)]():this[_0x44470d(0x254)]();}),this['_session'][_0x398623(0x29a)][_0x398623(0x271)](_0x5ee7c8(this['dispose$']))['subscribe'](_0x57235c=>{const _0x4cf62f=_0x398623,_0x35bd98=_0x57235c[_0x4cf62f(0x28c)];_0x35bd98===_0x31231b['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x57235c),_0x35bd98===_0x31231b[_0x4cf62f(0x376)]&&this['_onCursorDelete'](_0x57235c);}),this[_0x398623(0x2c2)](this[_0x398623(0x3d8)][_0x398623(0x209)](_0x1fcf05=>{const _0x1f90f6=_0x398623,_0x8735a2=_0x1fcf05[_0x1f90f6(0x369)];_0x8735a2!=null&&this[_0x1f90f6(0x312)]&&_0x1fcf05['id']===_0x2f07bf['id']&&_0x8735a2[_0x1f90f6(0x3be)]===this[_0x1f90f6(0x293)]&&_0x8735a2[_0x1f90f6(0x31d)]===!0x1&&_0x8735a2[_0x1f90f6(0x24e)]['length']>0x0&&this[_0x1f90f6(0x373)](_0x8735a2[_0x1f90f6(0x24e)]);})),this[_0x398623(0x2dd)]['collabCursorState$'][_0x398623(0x271)](_0x5ee7c8(this[_0x398623(0x247)]))[_0x398623(0x278)](_0x52703a=>{const _0xbdc004=_0x398623;if((_0x52703a==null?void 0x0:_0x52703a[_0xbdc004(0x293)])!==this[_0xbdc004(0x293)])return;const _0x487b97={'eventID':_0x31231b['UPDATE_CURSOR'],'data':_0x52703a};this['_onCursorUpdate'](_0x487b97);}),this['disposeWithMe'](this[_0x398623(0x3d8)]['onCommandExecuted'](_0x429a62=>{const _0x10f566=_0x398623;if(_0x429a62[_0x10f566(0x369)]==null)return;const _0x5a2727=_0x429a62[_0x10f566(0x369)];if(_0x429a62['id']!==_0x109350['id']||_0x5a2727[_0x10f566(0x3be)]!==this[_0x10f566(0x293)])return;const _0x6a584f={'id':'doc.mutation.rich-text-editing','params':_0x5a2727},_0x2a28e9=this[_0x10f566(0x32a)];for(const [_0x94d651,_0x353f78]of _0x2a28e9){const _0x2bc6fe={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x10f566(0x293)],'actions':null,'textRanges':_0x353f78['ranges']}},_0x51f801=this['_transformService']['transformMutation'](_0x6a584f,_0x2bc6fe,!0x1);if(_0xd8fc96(_0x51f801))throw _0x51f801[_0x10f566(0x392)];_0x2a28e9[_0x10f566(0x203)](_0x94d651,{..._0x353f78,'ranges':_0x51f801[_0x10f566(0x264)][_0x10f566(0x369)]['textRanges']});}queueMicrotask(()=>{const _0x72ad30=_0x10f566;this['_cursorInfo$'][_0x72ad30(0x3d7)](_0x2a28e9);});})));}['_onCursorUpdate'](_0xf919b0){const _0x1b1725=_0x5188d3;var _0x2030c2,_0x300b14;const {memberID:_0x55b3f5,selection:_0x4e077b}=_0xf919b0['data'],_0x4dc39d=Oi(_0x4e077b),_0x3eec4c=(_0x300b14=(_0x2030c2=this['_memberService'][_0x1b1725(0x36e)](this['unitID'],_0x55b3f5))==null?void 0x0:_0x2030c2[_0x1b1725(0x33c)])!=null?_0x300b14:_0x1b1725(0x32b),_0xf9ab46={'color':this[_0x1b1725(0x315)][_0x1b1725(0x394)](_0x55b3f5),'name':_0x3eec4c,'ranges':_0x4dc39d},_0x163cc1=this['cursorInfo'];_0x163cc1[_0x1b1725(0x203)](_0x55b3f5,_0xf9ab46),this['_cursorInfo$'][_0x1b1725(0x3d7)](_0x163cc1);}[_0x5188d3(0x3b9)](_0x434e58){const _0x2c9c06=_0x5188d3,{memberID:_0x42d9b0}=_0x434e58[_0x2c9c06(0x339)],_0x1633b7=this['cursorInfo'];_0x1633b7[_0x2c9c06(0x253)](_0x42d9b0),this[_0x2c9c06(0x3a1)][_0x2c9c06(0x3d7)](_0x1633b7);}[_0x5188d3(0x23c)](){const _0x4f1eba=_0x5188d3;var _0x44f316;if(this['_online']=!0x0,((_0x44f316=this['_univerInstanceService'][_0x4f1eba(0x3bd)]())==null?void 0x0:_0x44f316[_0x4f1eba(0x2e5)]())!==this['unitID'])return;const _0x5986c5=this[_0x4f1eba(0x36d)][_0x4f1eba(0x2da)](_0x2331b0)[_0x4f1eba(0x28f)]();Array[_0x4f1eba(0x279)](_0x5986c5)&&_0x5986c5[_0x4f1eba(0x256)]>0x0&&this[_0x4f1eba(0x373)](_0x5986c5);}[_0x5188d3(0x254)](){this['_online']=!0x1;}};Ue=Ti([P(0x2,_0x1fed49(_0x10b755)),P(0x3,_0x1fed49(He)),P(0x4,_0x1fed49(_0x4f4c78)),P(0x5,_0x1fed49(Fe)),P(0x6,_0x37fccd),P(0x7,_0x3c2a83),P(0x8,_0x368e9e)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x1595b5,_0x128373,_0x1260b7,_0x3fe709)=>{const _0x42a363=_0x5188d3;for(var _0x3bc18f=_0x3fe709>0x1?void 0x0:_0x3fe709?Ni(_0x128373,_0x1260b7):_0x128373,_0xfa58d6=_0x1595b5[_0x42a363(0x256)]-0x1,_0x1f7e80;_0xfa58d6>=0x0;_0xfa58d6--)(_0x1f7e80=_0x1595b5[_0xfa58d6])&&(_0x3bc18f=_0x1f7e80(_0x3bc18f)||_0x3bc18f);return _0x3bc18f;},x=(_0x2f262c,_0x2d68bc)=>(_0x356856,_0x22b8fc)=>_0x2d68bc(_0x356856,_0x22b8fc,_0x2f262c);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x50e3b6=[],_0x5035d4=!0x1;return _0xb3eb11=>{const _0x228ffe=_0x1284;_0x50e3b6[_0x228ffe(0x338)](_0xb3eb11),_0x5035d4||(_0x5035d4=!0x0,setTimeout(()=>{const _0x3d8fd6=_0x228ffe;_0x50e3b6[_0x3d8fd6(0x292)](_0x4d9c56=>_0x4d9c56()),_0x50e3b6=[],_0x5035d4=!0x1;}));};};let Me=class extends _0x4b0038{constructor(_0x51f396,_0x543cfd,_0x4e921a,_0x2e76f7,_0x3a89b1,_0xa8bac9,_0x4f82fa,_0x3b3940){const _0x35f407=_0x5188d3;super(),_(this,_0x35f407(0x312),!0x1),_(this,_0x35f407(0x283),!0x1),_(this,'_cursorInfo$',new _0x4be62c(new Map())),_(this,_0x35f407(0x2e7),this[_0x35f407(0x3a1)][_0x35f407(0x200)]()),_(this,'_roomMembers$',new _0x4be62c([])),_(this,_0x35f407(0x20e),this[_0x35f407(0x27f)][_0x35f407(0x271)](_0x247c23(Mi))),_(this,_0x35f407(0x373),_0x5bad9b((_0x99d35f,_0x34b6f1)=>{const _0x245b92=_0x35f407,_0x3b3343={'eventID':_0x31231b[_0x245b92(0x2d1)],'data':{'unitID':this[_0x245b92(0x293)],'memberID':this[_0x245b92(0x274)][_0x245b92(0x214)](),'selection':_0x24b3fc(_0x99d35f,_0x34b6f1['range'])}};this[_0x245b92(0x274)][_0x245b92(0x202)](_0x3b3343,this['unitID']);},Li)),(this[_0x35f407(0x293)]=_0x51f396,this[_0x35f407(0x274)]=_0x543cfd,this['_injector']=_0x4e921a,this[_0x35f407(0x315)]=_0x2e76f7,this[_0x35f407(0x3fc)]=_0x3a89b1,this[_0x35f407(0x26d)]=_0xa8bac9,this[_0x35f407(0x3d8)]=_0x4f82fa,this[_0x35f407(0x3b8)]=_0x3b3940);}get['cursorInfo'](){const _0x38ac21=_0x5188d3;return this[_0x38ac21(0x3a1)][_0x38ac21(0x22b)]();}get[_0x5188d3(0x30b)](){const _0x117afc=_0x5188d3;return this[_0x117afc(0x27f)][_0x117afc(0x22b)]();}[_0x5188d3(0x21e)](){const _0x168a6d=_0x5188d3;super['dispose'](),this[_0x168a6d(0x3a1)][_0x168a6d(0x3d7)](new Map()),this['_cursorInfo$'][_0x168a6d(0x319)](),this[_0x168a6d(0x27f)][_0x168a6d(0x3d7)]([]),this[_0x168a6d(0x27f)]['complete']();}[_0x5188d3(0x395)](){const _0x14f12e=_0x5188d3;this[_0x14f12e(0x283)]||(this[_0x14f12e(0x283)]=!0x0,this[_0x14f12e(0x274)][_0x14f12e(0x3d6)][_0x14f12e(0x271)](_0x5ee7c8(this[_0x14f12e(0x247)]))[_0x14f12e(0x278)](_0x5cd0a5=>{const _0x4c9fc8=_0x14f12e;_0x5cd0a5===_0x1d31df['ONLINE']?this[_0x4c9fc8(0x23c)]():this[_0x4c9fc8(0x254)]();}),this['_session'][_0x14f12e(0x29a)][_0x14f12e(0x271)](_0x5ee7c8(this['dispose$']))[_0x14f12e(0x278)](_0x25a7c7=>{const _0x39f3e2=_0x14f12e,_0x19e49a=_0x25a7c7[_0x39f3e2(0x28c)];_0x19e49a===_0x31231b[_0x39f3e2(0x2d1)]&&this[_0x39f3e2(0x2d8)](_0x25a7c7),_0x19e49a===_0x31231b[_0x39f3e2(0x376)]&&this[_0x39f3e2(0x3b9)](_0x25a7c7);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x14f12e(0x3d8)][_0x14f12e(0x209)](_0x32db60=>{const _0x3f1423=_0x14f12e;if(this['_online']&&_0x32db60['id']===_0x56343f['id']&&_0x32db60[_0x3f1423(0x369)][_0x3f1423(0x3be)]===this['unitID']){const _0x286739=_0x32db60[_0x3f1423(0x369)];this[_0x3f1423(0x373)](_0x286739[_0x3f1423(0x3cc)],_0x286739[_0x3f1423(0x33d)][0x0]);}})));}[_0x5188d3(0x2d8)](_0x3a4d32){const _0x153ada=_0x5188d3;var _0x4ae051,_0x12c5ea;const {memberID:_0x31ed3c,selection:_0x5b9760}=_0x3a4d32[_0x153ada(0x339)],{sheetName:_0x493985,range:_0x598f43}=_0x16a8f8(_0x5b9760),_0x44953e={'name':(_0x12c5ea=(_0x4ae051=this[_0x153ada(0x3fc)][_0x153ada(0x36e)](this[_0x153ada(0x293)],_0x31ed3c))==null?void 0x0:_0x4ae051[_0x153ada(0x33c)])!=null?_0x12c5ea:_0x153ada(0x32b),'range':this[_0x153ada(0x30f)](_0x493985,_0x598f43),'sheetID':_0x493985,'color':this[_0x153ada(0x315)][_0x153ada(0x394)](_0x31ed3c),'selection':_0x5b9760},_0x4bac67=this['cursorInfo'];_0x4bac67[_0x153ada(0x203)](_0x31ed3c,_0x44953e),this[_0x153ada(0x3a1)]['next'](_0x4bac67);}[_0x5188d3(0x3b9)](_0x4aeca4){const _0x270fe8=_0x5188d3,{memberID:_0x52b302}=_0x4aeca4['data'],_0xea14d9=this['cursorInfo'];_0xea14d9[_0x270fe8(0x253)](_0x52b302),this['_cursorInfo$'][_0x270fe8(0x3d7)](_0xea14d9);}[_0x5188d3(0x30f)](_0x4f7f0f,_0x378031){const _0x13e2fd=_0x5188d3;var _0x44a12e,_0x74afd4;const _0x56f813=(_0x74afd4=(_0x44a12e=this[_0x13e2fd(0x26d)]['getUniverSheetInstance'](this[_0x13e2fd(0x293)]))==null?void 0x0:_0x44a12e[_0x13e2fd(0x30a)](_0x4f7f0f))==null?void 0x0:_0x74afd4[_0x13e2fd(0x2a6)]();return(_0x56f813==null?void 0x0:_0x56f813[_0x13e2fd(0x352)](_0x31de9d=>_0x5947f1[_0x13e2fd(0x24d)](_0x31de9d,_0x378031)))||_0x378031;}['_onRefRangeChange'](){const _0x3de9a4=_0x5188d3,_0x52eac2=new _0xa963ca(),_0x3e32da=Pi(),_0x19e2f6=()=>{const _0x4e143f=_0x1284;_0x52eac2['dispose']();const _0x66392b=(_0x278c90,_0xbdae2d,_0x222ece,_0x5a077e)=>{const _0x3c69dd=_0x1284;let _0xf26106=[];switch(_0x278c90['id']){case _0x550fe5[_0x3c69dd(0x1f4)]:{_0xf26106=_0x58a5ff(_0x278c90,_0x5a077e);break;}case _0x550fe5[_0x3c69dd(0x358)]:{_0xf26106=_0x2311a2(_0x278c90,_0x5a077e);break;}case _0x550fe5[_0x3c69dd(0x2b4)]:{_0xf26106=_0x14a526(_0x278c90,_0x5a077e);break;}case _0x550fe5[_0x3c69dd(0x252)]:{_0xf26106=_0x1a4c88(_0x278c90,_0x5a077e);break;}case _0x550fe5[_0x3c69dd(0x3b2)]:{_0xf26106=_0x17dcbc(_0x278c90,_0x5a077e);break;}case _0x550fe5[_0x3c69dd(0x261)]:{_0xf26106=_0x1b0f3b(_0x278c90,_0x5a077e);break;}case _0x550fe5[_0x3c69dd(0x3c0)]:{_0xf26106=_0x1ab204(_0x278c90,_0x5a077e);break;}case _0x550fe5[_0x3c69dd(0x3e1)]:{_0xf26106=_0x42412e(_0x278c90,_0x5a077e);break;}case _0x550fe5[_0x3c69dd(0x3ea)]:{_0xf26106=_0x4117cc(_0x278c90,_0x5a077e);break;}}const _0x6db63c=_0x4176f9(_0xf26106,_0x5a077e),_0x57e86e=this[_0x3c69dd(0x32a)][_0x3c69dd(0x2da)](_0xbdae2d);if(_0x57e86e&&_0x6db63c){const _0x3288e7={..._0x57e86e,'range':_0x6db63c};this[_0x3c69dd(0x32a)][_0x3c69dd(0x203)](_0xbdae2d,_0x3288e7),_0x3e32da(()=>{const _0x599f71=_0x3c69dd,_0x44d59a=this['_refRangeService'][_0x599f71(0x3bb)](_0x6db63c,_0x3452a7=>(_0x44d59a[_0x599f71(0x21e)](),_0x66392b(_0x3452a7,_0xbdae2d,_0x222ece,_0x6db63c)));_0x52eac2['add'](_0x44d59a);});}return{'redos':[],'undos':[]};};this[_0x4e143f(0x32a)][_0x4e143f(0x292)]((_0x16b550,_0x323382)=>{const _0x271255=_0x4e143f,{range:_0xe6169,sheetID:_0x35204d}=_0x16b550,_0x32fe60=this[_0x271255(0x3b8)][_0x271255(0x3bb)](_0xe6169,_0x5cc809=>(_0x32fe60[_0x271255(0x21e)](),_0x66392b(_0x5cc809,_0x323382,_0x35204d,_0xe6169)));_0x52eac2[_0x271255(0x2e8)](_0x32fe60);});};this[_0x3de9a4(0x2c2)](_0x4b9667(this[_0x3de9a4(0x3a1)][_0x3de9a4(0x278)](()=>{_0x19e2f6();})));}[_0x5188d3(0x23c)](){const _0x24ef9e=_0x5188d3;var _0x19978d,_0x2e203b;if(this[_0x24ef9e(0x312)]=!0x0,((_0x19978d=this['_univerInstanceService'][_0x24ef9e(0x3bd)]())==null?void 0x0:_0x19978d[_0x24ef9e(0x2e5)]())!==this[_0x24ef9e(0x293)])return;const _0x2a1bab=(_0x2e203b=this[_0x24ef9e(0x36d)]['get'](_0x5f1e0a)[_0x24ef9e(0x2fe)]())==null?void 0x0:_0x2e203b[0x0],_0x51a6e1=this[_0x24ef9e(0x26d)][_0x24ef9e(0x272)](_0x4d2985[_0x24ef9e(0x3e0)])[_0x24ef9e(0x350)]();_0x2a1bab&&_0x51a6e1&&this[_0x24ef9e(0x373)](_0x51a6e1[_0x24ef9e(0x3a4)](),_0x2a1bab);}['_toggleOffline'](){const _0x1d3b22=_0x5188d3;this[_0x1d3b22(0x312)]=!0x1;}};Me=Ui([x(0x2,_0x1fed49(_0x10b755)),x(0x3,_0x1fed49(He)),x(0x4,_0x1fed49(_0x4f4c78)),x(0x5,_0x3c2a83),x(0x6,_0x368e9e),x(0x7,_0x1fed49(_0x45d3b7))],Me);var wi=Object['getOwnPropertyDescriptor'],Ai=(_0x5b26da,_0x2665ef,_0x588dd3,_0x3564ff)=>{const _0x486a35=_0x5188d3;for(var _0x57fc3b=_0x3564ff>0x1?void 0x0:_0x3564ff?wi(_0x2665ef,_0x588dd3):_0x2665ef,_0x539869=_0x5b26da[_0x486a35(0x256)]-0x1,_0x511e8d;_0x539869>=0x0;_0x539869--)(_0x511e8d=_0x5b26da[_0x539869])&&(_0x57fc3b=_0x511e8d(_0x57fc3b)||_0x57fc3b);return _0x57fc3b;},me=(_0x57ddf8,_0x121bd0)=>(_0x5e1efd,_0x39aea3)=>_0x121bd0(_0x5e1efd,_0x39aea3,_0x57ddf8);let F=class extends _0x4b0038{constructor(_0x2a710e,_0x16f406,_0x2a83d6){const _0xd1d3e6=_0x5188d3;super(),_(this,_0xd1d3e6(0x284),new Map()),_(this,_0xd1d3e6(0x371),new _0x242276()),(this['_univerInstanceService']=_0x2a710e,this[_0xd1d3e6(0x36d)]=_0x16f406,this['_collabSessionService']=_0x2a83d6,this['_init']());}['dispose'](){const _0x114975=_0x5188d3;super[_0x114975(0x21e)](),this[_0x114975(0x371)]['complete'](),this['_entities'][_0x114975(0x292)](_0x7e15b9=>_0x7e15b9[_0x114975(0x21e)]());}[_0x5188d3(0x3dd)](_0x409227){const _0x3ccf16=_0x5188d3;return this[_0x3ccf16(0x284)][_0x3ccf16(0x2f7)](_0x409227)?this[_0x3ccf16(0x284)][_0x3ccf16(0x2da)](_0x409227)['cursorInfo$']:this[_0x3ccf16(0x371)][_0x3ccf16(0x271)](_0x5c7928(_0xb90409=>_0xb90409['unitID']===_0x409227),_0x42cff0(_0x2e5373=>_0x2e5373[_0x3ccf16(0x2e7)]));}[_0x5188d3(0x283)](){const _0x591390=_0x5188d3;this[_0x591390(0x26d)]['getTypeOfUnitAdded$'](_0x4d2985[_0x591390(0x3e0)])[_0x591390(0x271)](_0x5ee7c8(this[_0x591390(0x247)]))[_0x591390(0x278)](async _0x37bfac=>{const _0x25b2a3=_0x591390,_0x18ed00=_0x37bfac[_0x25b2a3(0x2e5)](),_0x3db584=await this[_0x25b2a3(0x2aa)](_0x18ed00);this[_0x25b2a3(0x371)][_0x25b2a3(0x3d7)](_0x3db584),this[_0x25b2a3(0x284)][_0x25b2a3(0x203)](_0x18ed00,_0x3db584);}),this[_0x591390(0x26d)]['getTypeOfUnitAdded$'](_0x4d2985[_0x591390(0x3ca)])[_0x591390(0x271)](_0x5ee7c8(this[_0x591390(0x247)]))['pipe'](_0x5c7928(_0x8ff618=>!_0x8ff618['getUnitId']()[_0x591390(0x2fa)]('__')))[_0x591390(0x278)](async _0x4cb8c8=>{const _0x444291=_0x591390,_0x282b89=_0x4cb8c8['getUnitId'](),_0x2aef54=await this[_0x444291(0x219)](_0x282b89);this[_0x444291(0x371)]['next'](_0x2aef54),this[_0x444291(0x284)][_0x444291(0x203)](_0x282b89,_0x2aef54);}),_0x4ce163(this['_univerInstanceService'][_0x591390(0x37b)](_0x4d2985[_0x591390(0x3ca)]),this[_0x591390(0x26d)][_0x591390(0x37b)](_0x4d2985[_0x591390(0x3e0)]))[_0x591390(0x271)](_0x5ee7c8(this[_0x591390(0x247)]))['subscribe'](_0x320fe9=>{const _0x2f38d9=_0x591390,_0x5425f7=_0x320fe9[_0x2f38d9(0x2e5)](),_0x5a3c04=this['_entities'][_0x2f38d9(0x2da)](_0x5425f7);_0x5a3c04&&(_0x5a3c04[_0x2f38d9(0x21e)](),this[_0x2f38d9(0x284)][_0x2f38d9(0x253)](_0x5425f7));});}async[_0x5188d3(0x2aa)](_0x7c294e){const _0x390ac9=_0x5188d3,_0xb27d42=await this[_0x390ac9(0x277)]['requireSession'](_0x7c294e),_0x48c82f=this[_0x390ac9(0x36d)][_0x390ac9(0x3ce)](Me,_0x7c294e,_0xb27d42);return _0x48c82f[_0x390ac9(0x395)](),_0x48c82f;}async['_startDocCollabCursor'](_0x1ec009){const _0x12c6ca=_0x5188d3,_0x591fda=await this[_0x12c6ca(0x277)][_0x12c6ca(0x344)](_0x1ec009),_0x338c2a=this[_0x12c6ca(0x36d)][_0x12c6ca(0x3ce)](Ue,_0x1ec009,_0x591fda);return _0x338c2a['init'](),_0x338c2a;}};F=Ai([me(0x0,_0x3c2a83),me(0x1,_0x1fed49(_0x10b755)),me(0x2,_0x1fed49(_0xd11033))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x10d7bb,_0x1cd4cd){const _0x4186d6=_0x5188d3;let {radius:_0x3c3a01,width:_0x140885,height:_0x491533}=_0x1cd4cd;_0x3c3a01=_0x3c3a01!=null?_0x3c3a01:0x0,_0x140885=_0x140885!=null?_0x140885:0x1e,_0x491533=_0x491533!=null?_0x491533:0x1e;let _0x11fceb=0x0,_0xea98ce=0x0,_0x3be971=0x0;_0x11fceb=_0xea98ce=_0x3be971=Math[_0x4186d6(0x388)](_0x3c3a01,_0x140885/0x2,_0x491533/0x2),_0x10d7bb[_0x4186d6(0x380)](),_0x10d7bb['moveTo'](_0x11fceb,0x0),_0x10d7bb[_0x4186d6(0x3f7)](_0x140885-_0xea98ce,0x0),_0x10d7bb[_0x4186d6(0x2ff)](_0x140885-_0xea98ce,_0xea98ce,_0xea98ce,Math['PI']*0x3/0x2,0x0,!0x1),_0x10d7bb[_0x4186d6(0x3f7)](_0x140885,_0x491533-_0x3be971),_0x10d7bb['arc'](_0x140885-_0x3be971,_0x491533-_0x3be971,_0x3be971,0x0,Math['PI']/0x2,!0x1),_0x10d7bb[_0x4186d6(0x3f7)](0x0,_0x491533),_0x10d7bb['lineTo'](0x0,_0x11fceb),_0x10d7bb[_0x4186d6(0x2ff)](_0x11fceb,_0x11fceb,_0x11fceb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x10d7bb['closePath'](),_0x1cd4cd[_0x4186d6(0x38c)]&&(_0x10d7bb[_0x4186d6(0x3b0)](),_0x10d7bb[_0x4186d6(0x343)]=_0x1cd4cd[_0x4186d6(0x38c)],_0x1cd4cd[_0x4186d6(0x351)]===_0x4186d6(0x3ae)?_0x10d7bb[_0x4186d6(0x38c)]('evenodd'):_0x10d7bb[_0x4186d6(0x38c)](),_0x10d7bb[_0x4186d6(0x2e2)]());}class ue extends _0x1b969d{constructor(_0x4a71b1,_0x2d9a2a){const _0x5b5366=_0x5188d3;super(_0x4a71b1,_0x2d9a2a),_(this,_0x5b5366(0x334)),_(this,'text'),(this[_0x5b5366(0x334)]=_0x2d9a2a==null?void 0x0:_0x2d9a2a[_0x5b5366(0x334)],this[_0x5b5366(0x391)]=_0x2d9a2a==null?void 0x0:_0x2d9a2a[_0x5b5366(0x391)]);}static[_0x5188d3(0x34e)](_0x384538,_0x18e46c){const _0x80d622=_0x5188d3,{text:_0x288652,color:_0x10c2d4}=_0x18e46c;_0x384538[_0x80d622(0x3b0)](),_0x384538[_0x80d622(0x2fd)]=_0x80d622(0x26b);const _0x3b19c2=_0x384538[_0x80d622(0x2cd)](_0x288652)[_0x80d622(0x2d2)],_0x48b7e3=Math[_0x80d622(0x388)](_0x3b19c2+0x2*Ie,Qe);$i(_0x384538,{'height':J,'radius':0x4,'width':_0x48b7e3,'fill':_0x10c2d4}),_0x384538[_0x80d622(0x343)]='#FFF';const _0x1313de=Ie,_0x4a378f=J-yi,_0x15405d=Qe-0x2*Ie;if(_0x3b19c2>_0x15405d){let _0x10827a='',_0x5df7a9=0x0;for(const _0x284297 of _0x288652){const _0x5c879e=_0x384538[_0x80d622(0x2cd)](_0x284297)[_0x80d622(0x2d2)];if(_0x5df7a9+_0x5c879e<=_0x15405d-_0x384538[_0x80d622(0x2cd)](_0x80d622(0x335))[_0x80d622(0x2d2)])_0x10827a+=_0x284297,_0x5df7a9+=_0x5c879e;else{_0x10827a+=_0x80d622(0x335);break;}}_0x384538[_0x80d622(0x3a0)](_0x10827a,_0x1313de,_0x4a378f);}else _0x384538['fillText'](_0x288652,_0x1313de,_0x4a378f);_0x384538['restore']();}[_0x5188d3(0x33e)](_0x1571e6){const _0x13cc90=_0x5188d3;ue[_0x13cc90(0x34e)](_0x1571e6,this);}}const ve=_0x5188d3(0x30c),xi=_0x5188d3(0x385),Bi=_0x5188d3(0x363),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x22027c,_0x210de1,_0x47ae97,_0x1677c7){const _0x52b935=_0x5188d3;_(this,_0x52b935(0x3ff),[]),_(this,_0x52b935(0x3e7),null),_(this,_0x52b935(0x34a),null),_(this,'_anchorDot',null),_(this,_0x52b935(0x337),null),_(this,'_eventUnsubscribe',null),(this[_0x52b935(0x288)]=_0x22027c,this['_scene']=_0x210de1,this['_docSkeleton']=_0x47ae97,this['_document']=_0x1677c7,this[_0x52b935(0x354)]());}set[_0x5188d3(0x26a)](_0x4bb7b8){const _0x5af3ba=_0x5188d3;_0x4bb7b8?(this[_0x5af3ba(0x332)]&&this['_anchorDot'][_0x5af3ba(0x291)](),this[_0x5af3ba(0x34a)]&&this[_0x5af3ba(0x34a)][_0x5af3ba(0x328)]()):(this[_0x5af3ba(0x332)]&&this[_0x5af3ba(0x332)]['show'](),this[_0x5af3ba(0x34a)]&&this[_0x5af3ba(0x34a)][_0x5af3ba(0x291)]());}[_0x5188d3(0x21e)](){const _0x254cb5=_0x5188d3;for(const _0x254d5f of this[_0x254cb5(0x3ff)])_0x254d5f['dispose']();this['_textBubble']&&this['_textBubble'][_0x254cb5(0x21e)](),this[_0x254cb5(0x332)]&&this['_anchorDot'][_0x254cb5(0x21e)](),this['_anchor']&&this['_anchor'][_0x254cb5(0x21e)](),this[_0x254cb5(0x37f)]&&this['_eventUnsubscribe']();}['_render'](){const _0x3ef632=_0x5188d3;var _0x29f288;const {_docSkeleton:_0x3a9413,_document:_0x31d112}=this,{color:_0x1ea957,name:_0x576c25,ranges:_0x13545c}=this['_cursor'],_0x1f176d=_0x31d112[_0x3ef632(0x2f9)](),{docsLeft:_0x3e41aa,docsTop:_0x1fe077}=_0x1f176d,_0x2f7bf3=new _0x366bc5(_0x1f176d,_0x3a9413);for(const {startOffset:_0x48d346,endOffset:_0x28e6f8,rangeType:_0x35fecf,segmentId:_0x1c753f,segmentPage:_0x477d69,collapsed:_0x3cccca,isActive:_0x1fb979}of _0x13545c){const _0x1970b1=_0x3a9413[_0x3ef632(0x3f3)](_0x48d346,!0x0,_0x1c753f,_0x477d69);let _0x56fdad=_0x3a9413['findNodePositionByCharIndex'](_0x28e6f8,!0x0,_0x1c753f,_0x477d69);if(_0x56fdad==null&&(_0x56fdad=_0x3a9413['findNodePositionByCharIndex'](_0x28e6f8-0x1,!0x1,_0x1c753f,_0x477d69)),_0x1fb979){const {contentBoxPointGroup:_0x469a6c}=_0x2f7bf3[_0x3ef632(0x3c9)](_0x56fdad,_0x56fdad);if(_0x469a6c['length']===0x0)continue;this[_0x3ef632(0x2d0)](_0x1ea957,_0x469a6c,_0x3e41aa,_0x1fe077,_0x576c25),this['_eventUnsubscribe']=this[_0x3ef632(0x28e)]();}if(_0x1970b1&&_0x56fdad){if(_0x35fecf===_0x1039b0[_0x3ef632(0x25d)]){const _0x363dc8=new _0x4aac6f(_0x1f176d,_0x3a9413),{pointGroup:_0x58e0ee}=(_0x29f288=_0x363dc8[_0x3ef632(0x3c9)](_0x1970b1,_0x56fdad))!=null?_0x29f288:{};if(_0x58e0ee==null||_0x58e0ee[_0x3ef632(0x256)]===0x0)continue;this[_0x3ef632(0x2f1)](_0x1ea957,_0x58e0ee,_0x3e41aa,_0x1fe077);}else{if(!_0x3cccca){const {borderBoxPointGroup:_0x3b0f18}=_0x2f7bf3[_0x3ef632(0x3c9)](_0x1970b1,_0x56fdad);if(_0x3b0f18[_0x3ef632(0x256)]===0x0)continue;this[_0x3ef632(0x204)](_0x1ea957,_0x3b0f18,_0x3e41aa,_0x1fe077);}}}}}[_0x5188d3(0x2d0)](_0x1f2936,_0x4c2d74,_0x512e37,_0xbc88cb,_0x2b8c2a){const _0x4f0dd2=_0x5188d3,_0x19237f=this['_getAnchorBounding'](_0x4c2d74),{left:_0x1e997c,top:_0x579fc2,height:_0xd6a508}=_0x19237f,_0x44774a=this[_0x4f0dd2(0x3d5)](),_0x520115=Hi/_0x44774a,_0x40ed9e=new _0x898fcc(ve+_0x3bd970(K),{'left':_0x1e997c+_0x512e37-_0x520115,'top':_0x579fc2+_0xbc88cb,'height':_0xd6a508,'width':ki,'fill':_0x1f2936||_0x5e7da9(_0x5b3e38[_0x4f0dd2(0x326)],0x0),'strokeWidth':_0x520115,'stroke':Fi,'evented':!0x0});this[_0x4f0dd2(0x3e7)]=_0x40ed9e,this[_0x4f0dd2(0x29e)][_0x4f0dd2(0x34b)](_0x40ed9e,_0x328624);const _0x45dd06=new _0x898fcc(ve+_0x3bd970(K),{'left':_0x1e997c+_0x512e37-_0x520115,'top':_0x579fc2+_0xbc88cb-ge/0x2,'height':ge,'width':ge,'fill':_0x1f2936||_0x5e7da9(_0x5b3e38[_0x4f0dd2(0x326)],0x0),'strokeWidth':0x0,'stroke':_0x1f2936||_0x5e7da9(_0x5b3e38[_0x4f0dd2(0x326)],0x0),'evented':!0x1});this[_0x4f0dd2(0x332)]=_0x45dd06,this[_0x4f0dd2(0x29e)][_0x4f0dd2(0x34b)](_0x45dd06,_0x328624);const _0x3d2afa=new ue(ve+_0x3bd970(K),{'left':_0x1e997c+_0x512e37-_0x520115,'top':_0x579fc2+_0xbc88cb-J,'text':_0x2b8c2a,'color':_0x1f2936});this[_0x4f0dd2(0x34a)]=_0x3d2afa,this[_0x4f0dd2(0x29e)]['addObject'](_0x3d2afa,_0x328624),this[_0x4f0dd2(0x26a)]=!0x1;}['_handleHover'](){const _0x28f31b=_0x5188d3,_0x26c4f5=this[_0x28f31b(0x3e7)]['onPointerEnter$'][_0x28f31b(0x23b)](()=>{const _0x4d1950=_0x28f31b;this[_0x4d1950(0x26a)]=!0x0;}),_0x28056f=this[_0x28f31b(0x3e7)][_0x28f31b(0x3f2)][_0x28f31b(0x23b)](()=>{const _0xd85e70=_0x28f31b;this[_0xd85e70(0x337)]&&clearTimeout(this[_0xd85e70(0x337)]),this[_0xd85e70(0x337)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x33f093=_0x28f31b;_0x26c4f5[_0x33f093(0x297)](),_0x28056f['unsubscribe']();};}[_0x5188d3(0x204)](_0x1842ea,_0x3e357b,_0x558364,_0x1c7885){const _0x468320=_0x5188d3,_0x4ea3d3=new _0x30f6ea(_0x1842ea)[_0x468320(0x3a2)](0.2)[_0x468320(0x21b)](),_0x30c529=new _0x2e885a(xi+_0x3bd970(K),{'pointsGroup':_0x3e357b,'fill':_0x4ea3d3||_0x5e7da9(_0x5b3e38['black'],0.2),'left':_0x558364,'top':_0x1c7885,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x468320(0x3ff)]['push'](_0x30c529),this[_0x468320(0x29e)][_0x468320(0x34b)](_0x30c529,_0x328624);}['_drawRectRange'](_0x423c37,_0xed662,_0x2770e2,_0x1bc184){const _0x3d14a0=_0x5188d3,_0x3955be=new _0x30f6ea(_0x423c37)[_0x3d14a0(0x3a2)](0.2)['toRgbString'](),_0x1f44dd=new _0x2e885a(Bi+_0x3bd970(K),{'pointsGroup':_0xed662,'fill':_0x3955be||_0x5e7da9(_0x5b3e38[_0x3d14a0(0x326)],0.2),'left':_0x2770e2,'top':_0x1bc184,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3d14a0(0x3ff)][_0x3d14a0(0x338)](_0x1f44dd),this[_0x3d14a0(0x29e)]['addObject'](_0x1f44dd,_0x328624);}[_0x5188d3(0x21f)](_0x1ae077){const _0x114133=_0x1ae077[0x0],_0x14f62e=_0x114133[0x0],_0x2462eb=_0x114133[0x2],{x:_0x24f11e,y:_0xc525c9}=_0x14f62e,{x:_0x6c72fe,y:_0x5b89eb}=_0x2462eb;return{'left':_0x24f11e,'top':_0xc525c9,'width':_0x6c72fe-_0x24f11e,'height':_0x5b89eb-_0xc525c9};}[_0x5188d3(0x3d5)](){const _0x35949f=_0x5188d3,{scaleX:_0x2f9a2d,scaleY:_0x534326}=this[_0x35949f(0x29e)][_0x35949f(0x232)]();return Math[_0x35949f(0x336)](_0x2f9a2d,_0x534326);}}var Yi=Object[_0x5188d3(0x20a)],ji=(_0x25ec4c,_0x52083f,_0x2a1b09,_0x55487f)=>{const _0x1cbebe=_0x5188d3;for(var _0x563d93=_0x55487f>0x1?void 0x0:_0x55487f?Yi(_0x52083f,_0x2a1b09):_0x52083f,_0x1e69cf=_0x25ec4c[_0x1cbebe(0x256)]-0x1,_0x26afb7;_0x1e69cf>=0x0;_0x1e69cf--)(_0x26afb7=_0x25ec4c[_0x1e69cf])&&(_0x563d93=_0x26afb7(_0x563d93)||_0x563d93);return _0x563d93;},ee=(_0x56de5a,_0x424133)=>(_0x3a1fdf,_0x5d9ad8)=>_0x424133(_0x3a1fdf,_0x5d9ad8,_0x56de5a);let Le=class extends _0x4b0038{constructor(_0x28fc8e,_0x2f9f55,_0x56f126,_0x195123,_0x447984){const _0x52568d=_0x5188d3;super(),_(this,_0x52568d(0x325),[]),_(this,_0x52568d(0x39a),[]),(this['_context']=_0x28fc8e,this['_docSkeletonManagerService']=_0x2f9f55,this[_0x52568d(0x306)]=_0x56f126,this[_0x52568d(0x3d8)]=_0x195123,this[_0x52568d(0x1fc)]=_0x447984,this[_0x52568d(0x283)]());}['_init'](){const _0x3fdc7f=_0x5188d3,_0x431fad=this[_0x3fdc7f(0x360)][_0x3fdc7f(0x3be)],_0xbf6b62=this[_0x3fdc7f(0x205)];this[_0x3fdc7f(0x2c2)](_0x268060([this[_0x3fdc7f(0x306)][_0x3fdc7f(0x3dd)](_0x431fad),this[_0x3fdc7f(0x1fc)][_0x3fdc7f(0x2c0)]])['pipe'](_0x43de50(([_0x90be10,_0x21c0de])=>({'skeleton':_0xbf6b62[_0x3fdc7f(0x382)](),'cursors':[..._0x90be10[_0x3fdc7f(0x235)]()]['flatMap'](_0x42ce31=>({..._0x42ce31,'color':this[_0x3fdc7f(0x1fc)][_0x3fdc7f(0x23a)](_0x42ce31[_0x3fdc7f(0x334)])}))})))['subscribe'](_0x74755b=>{const _0x748ea3=_0x3fdc7f;if(this['_removeCollabCursors'](),_0x74755b){const {skeleton:_0xcb8031,cursors:_0x4c94cd}=_0x74755b;this[_0x748ea3(0x2c7)](_0xcb8031,_0x4c94cd);}})),this[_0x3fdc7f(0x3fe)](),this[_0x3fdc7f(0x27a)]();}[_0x5188d3(0x2c7)](_0x322cfb,_0xe16ec6){const _0x132f1d=_0x5188d3,{scene:_0x36dfc3,mainComponent:_0x4bdbb7}=this['_context'],_0x30ff78=_0xe16ec6[_0x132f1d(0x308)](_0x5b51fe=>new qe(_0x5b51fe,_0x36dfc3,_0x322cfb,_0x4bdbb7));this[_0x132f1d(0x325)]=_0x30ff78,this[_0x132f1d(0x39a)]=_0xe16ec6;}['_refreshCollabCursors'](){const _0x5e3f6d=_0x5188d3;this[_0x5e3f6d(0x29f)]();const {scene:_0x467946,mainComponent:_0x331f64}=this[_0x5e3f6d(0x360)],_0x50cb10=this[_0x5e3f6d(0x205)]['getSkeleton'](),_0x12cb14=this[_0x5e3f6d(0x39a)][_0x5e3f6d(0x308)](_0x224fca=>new qe(_0x224fca,_0x467946,_0x50cb10,_0x331f64));this[_0x5e3f6d(0x325)]=_0x12cb14;}[_0x5188d3(0x29f)](){const _0x3beabf=_0x5188d3;this['_cursorShapes'][_0x3beabf(0x292)](_0x5afc1f=>_0x5afc1f[_0x3beabf(0x21e)]()),this[_0x3beabf(0x325)]=[];}[_0x5188d3(0x27a)](){const _0x2db479=_0x5188d3,_0x363191=[_0x4ae52a['id']];this[_0x2db479(0x2c2)](this[_0x2db479(0x3d8)][_0x2db479(0x209)](_0x36874a=>{const _0x4e5fe7=_0x2db479;_0x363191[_0x4e5fe7(0x2f5)](_0x36874a['id'])&&_0x36874a[_0x4e5fe7(0x369)][_0x4e5fe7(0x3be)]===this[_0x4e5fe7(0x360)]['unitId']&&this[_0x4e5fe7(0x3dc)]();}));}[_0x5188d3(0x3fe)](){const _0x330ff1=_0x5188d3;this[_0x330ff1(0x2c2)](_0x58dc61(this[_0x330ff1(0x360)][_0x330ff1(0x286)][_0x330ff1(0x316)])['pipe'](_0x57deec(_0x29ef7c=>_0x29ef7c['type']===_0x3688fb[_0x330ff1(0x25b)]),_0x3228c8(0x10))[_0x330ff1(0x278)](()=>{const _0x39b4f6=_0x330ff1;this[_0x39b4f6(0x3dc)]();}));}};Le=ji([ee(0x1,_0x1fed49(_0x43f430)),ee(0x2,_0x1fed49(F)),ee(0x3,_0x368e9e),ee(0x4,_0x1fed49(_0x102b46))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x1b969d{constructor(_0x3e90cd,_0xab507a){const _0x5cc037=_0x5188d3;super(_0x3e90cd,_0xab507a),_(this,_0x5cc037(0x3c7)),_(this,_0x5cc037(0x356),!0x1),_(this,_0x5cc037(0x31b)),_(this,'_name',''),_(this,_0x5cc037(0x34f),_0x5cc037(0x24f)),_(this,'_backgroundColor'),(_0xab507a&&this['setShapeProps'](_0xab507a),this[_0x5cc037(0x2b2)][_0x5cc037(0x23b)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5cc037(0x3f2)]['subscribeEvent'](()=>this[_0x5cc037(0x36b)]({'hovered':!0x1})));}[_0x5188d3(0x36b)](_0x5c5f3d){const _0x3673b0=_0x5188d3;var _0x2d4141,_0x599b77,_0x16557e,_0x3fe0bd,_0xc0e635,_0x51fd09;this[_0x3673b0(0x3c7)]=(_0x2d4141=_0x5c5f3d['color'])!=null?_0x2d4141:this['_color'],this[_0x3673b0(0x356)]=(_0x599b77=_0x5c5f3d[_0x3673b0(0x33a)])!=null?_0x599b77:this[_0x3673b0(0x356)],this[_0x3673b0(0x31b)]=(_0x16557e=_0x5c5f3d['range'])!=null?_0x16557e:this[_0x3673b0(0x31b)],this[_0x3673b0(0x266)]=(_0x3fe0bd=_0x5c5f3d[_0x3673b0(0x33c)])!=null?_0x3fe0bd:this['_name'],this[_0x3673b0(0x34f)]=(_0xc0e635=_0x5c5f3d['labelPosition'])!=null?_0xc0e635:this[_0x3673b0(0x34f)],this[_0x3673b0(0x398)]=(_0x51fd09=_0x5c5f3d[_0x3673b0(0x2dc)])!=null?_0x51fd09:this['_backgroundColor'],this[_0x3673b0(0x230)]({'width':_0x5c5f3d['width'],'height':_0x5c5f3d['height']});}[_0x5188d3(0x29b)](_0x3a39be){const _0x59c7ce=_0x5188d3,{row:_0x2cb969,column:_0x2fd45f}=_0x3a39be;if(_0x2cb969>=this[_0x59c7ce(0x31b)][_0x59c7ce(0x2ee)]&&_0x2cb969<=this['_range'][_0x59c7ce(0x2e1)]&&_0x2fd45f>=this[_0x59c7ce(0x31b)][_0x59c7ce(0x226)]&&_0x2fd45f<=this[_0x59c7ce(0x31b)]['endColumn']){this[_0x59c7ce(0x36b)]({'hovered':!0x0});return;}this[_0x59c7ce(0x36b)]({'hovered':!0x1});}['triggerDblclick'](_0x31e132){return!0x1;}[_0x5188d3(0x33e)](_0x500f9b){const _0x3513a0=_0x5188d3;_0x898fcc[_0x3513a0(0x34e)](_0x500f9b,{'width':this['width'],'height':this[_0x3513a0(0x3a9)],'strokeWidth':Wi,'stroke':this[_0x3513a0(0x3c7)],'evented':!0x1,'fill':this[_0x3513a0(0x398)]}),this[_0x3513a0(0x356)]&&(_0x500f9b[_0x3513a0(0x3b0)](),_0x500f9b['transform'](0x1,0x0,0x0,0x1,this[_0x3513a0(0x2d2)],this[_0x3513a0(0x34f)]===_0x3513a0(0x3df)?0x0:-J),ue[_0x3513a0(0x34e)](_0x500f9b,{'text':this['_name'],'color':this['_color']}),_0x500f9b['restore']());}}var Gi=Object[_0x5188d3(0x20a)],Ki=(_0x5862a2,_0xbd08ea,_0x21e0c4,_0x363b51)=>{const _0x3f4976=_0x5188d3;for(var _0x51bea3=_0x363b51>0x1?void 0x0:_0x363b51?Gi(_0xbd08ea,_0x21e0c4):_0xbd08ea,_0x3f7a34=_0x5862a2[_0x3f4976(0x256)]-0x1,_0x16c66e;_0x3f7a34>=0x0;_0x3f7a34--)(_0x16c66e=_0x5862a2[_0x3f7a34])&&(_0x51bea3=_0x16c66e(_0x51bea3)||_0x51bea3);return _0x51bea3;},pe=(_0x4d4ab9,_0x412a96)=>(_0x1d5f92,_0x1988be)=>_0x412a96(_0x1d5f92,_0x1988be,_0x4d4ab9);const zi=0x1389;let Pe=class extends _0x4b0038{constructor(_0x55741f,_0x5c7714,_0x48caae,_0x552993){const _0x28f227=_0x5188d3;super(),_(this,_0x28f227(0x39a),new Set()),_(this,_0x28f227(0x3e9),null),(this[_0x28f227(0x360)]=_0x55741f,this[_0x28f227(0x215)]=_0x5c7714,this[_0x28f227(0x306)]=_0x48caae,this[_0x28f227(0x1fc)]=_0x552993,this['_init']());}[_0x5188d3(0x283)](){const _0x55ab85=_0x5188d3;this[_0x55ab85(0x215)][_0x55ab85(0x2d6)][_0x55ab85(0x271)](_0x1fd2f1(this['dispose$']),_0x32b145(_0x4b0146=>{const _0x1d1fc7=_0x55ab85;if(_0x4b0146){const _0x9f3715=_0x4b0146[_0x1d1fc7(0x26c)];return _0x268060(this[_0x1d1fc7(0x306)][_0x1d1fc7(0x3dd)](this['_context'][_0x1d1fc7(0x3be)]),this['_themeService'][_0x1d1fc7(0x2c0)])[_0x1d1fc7(0x271)](_0x43de50(([_0x5b848b,_0x182a77])=>{const _0x379ae2=_0x1d1fc7,_0x576fa6=new Map();return _0x5b848b[_0x379ae2(0x292)]((_0x44113f,_0x58f65f)=>{const _0x275827=_0x379ae2;if(_0x44113f[_0x275827(0x3fb)]===_0x9f3715){const _0x42dbf0={..._0x44113f};_0x42dbf0[_0x275827(0x334)]=this['_themeService'][_0x275827(0x23a)](_0x44113f['color']),_0x576fa6['set'](_0x58f65f,_0x42dbf0);}}),{'skeleton':_0x4b0146,'cursors':_0x576fa6};}));}return _0x153d14({'skeleton':null,'cursors':new Map()});}))[_0x55ab85(0x278)](({skeleton:_0x220578,cursors:_0x12c9f4})=>{const _0x2f1562=_0x55ab85;this[_0x2f1562(0x29f)](),_0x220578&&this['_updateCollabCursors'](_0x220578,_0x12c9f4);}),this['_sheetSkeletonManagerService'][_0x55ab85(0x2d6)][_0x55ab85(0x278)](_0x3ade2c=>{const _0x474adf=_0x55ab85;if(_0x3ade2c==null)return;const {skeleton:_0x5e70a6}=_0x3ade2c,{scene:_0x53ffcd}=this[_0x474adf(0x360)];_0x53ffcd[_0x474adf(0x22a)][_0x474adf(0x23b)](_0x5bad9b(_0x2c88b1=>{const _0x2ab8d0=_0x474adf;var _0x185d75,_0x5c04b8;const {offsetX:_0x2c7d7f,offsetY:_0x1da55f}=_0x2c88b1,{x:_0x5ca0ee,y:_0x47e160}=_0x53ffcd[_0x2ab8d0(0x39f)](_0x15b5f5[_0x2ab8d0(0x375)]([_0x2c7d7f,_0x1da55f])),{scaleX:_0xc38083,scaleY:_0x309918}=_0x53ffcd[_0x2ab8d0(0x232)](),_0x3b229b=_0x53ffcd[_0x2ab8d0(0x270)](_0x1cd1cf['VIEW_MAIN']),_0x8ddfd4=_0x53ffcd[_0x2ab8d0(0x2b9)](_0x15b5f5[_0x2ab8d0(0x375)]([_0x5ca0ee,_0x47e160]),_0x3b229b),_0x2dd8eb=_0x5e70a6['getCellPositionByOffset'](_0x2c7d7f,_0x1da55f,_0xc38083,_0x309918,_0x8ddfd4);((_0x185d75=this[_0x2ab8d0(0x3e9)])==null?void 0x0:_0x185d75[_0x2ab8d0(0x368)])===_0x2dd8eb['column']&&((_0x5c04b8=this[_0x2ab8d0(0x3e9)])==null?void 0x0:_0x5c04b8[_0x2ab8d0(0x305)])===_0x2dd8eb[_0x2ab8d0(0x305)]||this[_0x2ab8d0(0x39a)]['forEach'](_0x7f4338=>{const _0x29d0b6=_0x2ab8d0;_0x7f4338[_0x29d0b6(0x29b)](_0x2dd8eb);});},0x64));});}[_0x5188d3(0x2c7)](_0x58b43e,_0x1785d9){const _0x2f30f6=_0x5188d3;var _0x34dccb;const _0x59961f=(_0x34dccb=this[_0x2f30f6(0x215)]['getCurrent']())==null?void 0x0:_0x34dccb[_0x2f30f6(0x329)];if(!_0x59961f)return;const _0x56a437=this[_0x2f30f6(0x234)]();if(!_0x56a437)return;this[_0x2f30f6(0x39a)][_0x2f30f6(0x292)](_0x45a4b0=>{const _0x4ee5ec=_0x2f30f6;_0x45a4b0[_0x4ee5ec(0x302)]();});const {scene:_0x5c1fc9}=_0x56a437,_0x1c57cf=Ji(Array[_0x2f30f6(0x35b)](_0x1785d9['values']()))[_0x2f30f6(0x308)](_0x225294=>{const _0x99b722=_0x2f30f6,{color:_0x495150,range:_0xb2ceee,name:_0x5ea4ad,selection:_0x2f3832,sheetID:_0x2a9e44}=_0x225294,{startColumn:_0x268331,startRow:_0x50c31e,endColumn:_0x36b997,endRow:_0x618c57}=_0xb2ceee,_0x5aac48=_0x4c8678(_0x50c31e,_0x268331,_0x5c1fc9,_0x59961f),_0x382b5d=_0x4c8678(_0x618c57,_0x36b997,_0x5c1fc9,_0x59961f),{columnHeaderHeightAndMarginTop:_0x239a24}=_0x59961f,{startX:_0x4aa6ab,startY:_0x3fe57d}=_0x5aac48,{endX:_0x5009d5,endY:_0x29028f}=_0x382b5d,_0xd93b13=_0x5009d5-_0x4aa6ab,_0x3abbfc=_0x29028f-_0x3fe57d,_0xa5212a={'labelPosition':_0x3fe57d-_0x239a24>=J?_0x99b722(0x24f):_0x99b722(0x3df),'sheetID':_0x2a9e44,'range':_0xb2ceee,'color':_0x495150,'name':_0x5ea4ad,'selection':_0x2f3832,'left':_0x4aa6ab,'top':_0x3fe57d,'width':_0xd93b13,'height':_0x3abbfc,'evented':!0x1,'zIndex':zi};return new Xi(_0x5ea4ad,_0xa5212a);});_0x5c1fc9[_0x2f30f6(0x273)](_0x1c57cf,Vi),this['_cursors']=new Set(_0x1c57cf);}['_removeCollabCursors'](){const _0x17aa2a=_0x5188d3;var _0x17f447;(_0x17f447=this[_0x17aa2a(0x39a)])==null||_0x17f447[_0x17aa2a(0x292)](_0xee06a9=>_0xee06a9[_0x17aa2a(0x21e)]());}[_0x5188d3(0x234)](){const _0x1e7d4b=_0x5188d3;return _0x6c925c(this[_0x1e7d4b(0x360)][_0x1e7d4b(0x2be)],this[_0x1e7d4b(0x360)]);}};Pe=Ki([pe(0x1,_0x1fed49(_0x3862f2)),pe(0x2,_0x1fed49(F)),pe(0x3,_0x1fed49(_0x102b46))],Pe);function Ji(_0x1cdb25){const _0x2be591=_0x5188d3,_0xc59561=new Map();return _0x1cdb25[_0x2be591(0x292)](_0x244447=>{const _0x10b946=_0x2be591;if(_0xc59561[_0x10b946(0x2f7)](_0x244447[_0x10b946(0x2df)])){const _0x428001=_0xc59561[_0x10b946(0x2da)](_0x244447[_0x10b946(0x2df)]);_0x428001['name']+=',\x20'+_0x244447[_0x10b946(0x33c)];}else _0xc59561['set'](_0x244447[_0x10b946(0x2df)],_0x244447);}),Array[_0x2be591(0x35b)](_0xc59561['values']());}var Zi=Object[_0x5188d3(0x20a)],Qi=(_0x168a14,_0x3fb689,_0x36f92e,_0x1450b7)=>{const _0x58391b=_0x5188d3;for(var _0x2d6704=_0x1450b7>0x1?void 0x0:_0x1450b7?Zi(_0x3fb689,_0x36f92e):_0x3fb689,_0x36654d=_0x168a14[_0x58391b(0x256)]-0x1,_0x5a77d1;_0x36654d>=0x0;_0x36654d--)(_0x5a77d1=_0x168a14[_0x36654d])&&(_0x2d6704=_0x5a77d1(_0x2d6704)||_0x2d6704);return _0x2d6704;},B=(_0x56f66d,_0x3f0de9)=>(_0x33c5dd,_0x2176c5)=>_0x3f0de9(_0x33c5dd,_0x2176c5,_0x56f66d);let ne=class extends _0x5c2962{constructor(_0xcc9a2b,_0x529b6f,_0x451a1b,_0x1d97ec,_0x4756f1,_0x386c18){const _0x47e069=_0x5188d3;super(),this[_0x47e069(0x1fd)]=_0xcc9a2b,this['_localCacheService']=_0x529b6f,this['_collaborationUIEventService']=_0x451a1b,this[_0x47e069(0x2c6)]=_0x1d97ec,this[_0x47e069(0x224)]=_0x4756f1,this[_0x47e069(0x342)]=_0x386c18,this[_0x47e069(0x2b1)](),this[_0x47e069(0x22f)]();}[_0x5188d3(0x2b1)](){const _0x46eb50=_0x5188d3;this[_0x46eb50(0x2c2)](this['_beforeCloseService'][_0x46eb50(0x228)](()=>{const _0x46b414=_0x46eb50;if(this['_localCacheService'][_0x46b414(0x295)][_0x46b414(0x30d)])return this['_localeService']['t'](_0x46b414(0x2d7));}));}['_initEvent'](){const _0x200456=_0x5188d3;this[_0x200456(0x2c2)](this[_0x200456(0x3eb)][_0x200456(0x29a)][_0x200456(0x278)](_0x42edd6=>{const _0xf7b1f7=_0x200456;_0x42edd6['id']===_0x8aabc2[_0xf7b1f7(0x35f)]&&this['_messageService'][_0xf7b1f7(0x328)]({'type':_0x2bfeea[_0xf7b1f7(0x2cc)],'content':this[_0xf7b1f7(0x342)]['t']('collaboration.single-unit.warning')}),_0x42edd6['id']===_0x8aabc2[_0xf7b1f7(0x20f)]&&this['_messageService']['show']({'type':_0x2bfeea[_0xf7b1f7(0x2cc)],'content':this[_0xf7b1f7(0x342)]['t'](_0xf7b1f7(0x3f8))}),_0x42edd6['id']===_0x8aabc2[_0xf7b1f7(0x3b5)]&&this[_0xf7b1f7(0x224)][_0xf7b1f7(0x328)]({'title':this[_0xf7b1f7(0x342)]['t'](_0xf7b1f7(0x251)),'content':this[_0xf7b1f7(0x342)]['t'](_0xf7b1f7(0x24a)),'type':_0xf7b1f7(0x392),'duration':0x0}),_0x42edd6['id']===_0x8aabc2['CONFLICT']&&this[_0xf7b1f7(0x2c6)][_0xf7b1f7(0x328)]({'type':_0x2bfeea['Error'],'content':this[_0xf7b1f7(0x342)]['t'](_0xf7b1f7(0x3f8))+'('+_0x42edd6[_0xf7b1f7(0x339)]+')'}),_0x42edd6['id']===_0x8aabc2[_0xf7b1f7(0x2a3)]&&this[_0xf7b1f7(0x2c6)][_0xf7b1f7(0x328)]({'type':_0x2bfeea[_0xf7b1f7(0x2cc)],'content':this[_0xf7b1f7(0x342)]['t'](_0x42edd6['data']||'')}),_0x42edd6['id']===_0x8aabc2[_0xf7b1f7(0x372)]&&this[_0xf7b1f7(0x2c6)][_0xf7b1f7(0x328)]({'type':_0x2bfeea[_0xf7b1f7(0x2cc)],'content':this[_0xf7b1f7(0x342)]['t'](_0xf7b1f7(0x2ec))}),_0x42edd6['id']===_0x8aabc2[_0xf7b1f7(0x2db)]&&this['_messageService'][_0xf7b1f7(0x328)]({'type':_0x2bfeea[_0xf7b1f7(0x267)],'content':this[_0xf7b1f7(0x342)]['t'](_0xf7b1f7(0x245))}),_0x42edd6['id']===_0x8aabc2['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xf7b1f7(0x2c6)][_0xf7b1f7(0x328)]({'type':_0x2bfeea['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x29d752),B(0x1,_0x452dcf),B(0x2,_0x1fed49(_0x2c32f5)),B(0x3,_0x52999a),B(0x4,_0x3488df),B(0x5,_0x1fed49(_0x43722e))],ne);const qi=_0x5188d3(0x296),et={};var en=Object[_0x5188d3(0x20a)],tn=(_0x19f00c,_0x3f5698,_0x2cb2dc,_0x6467ce)=>{const _0x76d1e0=_0x5188d3;for(var _0x522479=_0x6467ce>0x1?void 0x0:_0x6467ce?en(_0x3f5698,_0x2cb2dc):_0x3f5698,_0x5ababe=_0x19f00c[_0x76d1e0(0x256)]-0x1,_0x4e4f6f;_0x5ababe>=0x0;_0x5ababe--)(_0x4e4f6f=_0x19f00c[_0x5ababe])&&(_0x522479=_0x4e4f6f(_0x522479)||_0x522479);return _0x522479;},tt=(_0x19483e,_0x24c1bb)=>(_0x590fa,_0x485044)=>_0x24c1bb(_0x590fa,_0x485044,_0x19483e);let re=class{constructor(_0x40ce0f,_0x236c1b){const _0x3a53cd=_0x5188d3;this['_transformService']=_0x40ce0f,this[_0x3a53cd(0x35a)]=_0x236c1b;}[_0x5188d3(0x20d)](_0x563e3b){const _0x401332=_0x5188d3;this[_0x401332(0x33f)](_0x563e3b),this[_0x401332(0x281)](_0x563e3b);}[_0x5188d3(0x364)](_0x134328){const _0x1ff359=_0x5188d3,{unitID:_0x461f97}=_0x134328,_0x1a53db=this['_renderManagerService'][_0x1ff359(0x307)](_0x461f97)[_0x1ff359(0x33b)](_0x2a97ab),{redoCache:_0x4ab69c}=_0x1a53db[_0x1ff359(0x3bc)]();if(_0x4ab69c[_0x1ff359(0x256)]===0x0)return _0x134328;let _0x5944fd=_0x565db7['deepClone'](_0x134328[_0x1ff359(0x317)][0x0]);for(let _0x27848c=0x0;_0x27848c<_0x4ab69c[_0x1ff359(0x256)];_0x27848c++){const _0x5f3450={'id':'doc.mutation.rich-text-editing','params':{..._0x4ab69c[_0x27848c]}},_0x154071=this[_0x1ff359(0x206)][_0x1ff359(0x25a)](_0x5944fd,_0x5f3450,!0x1);if(_0xd8fc96(_0x154071))throw _0x154071['error'];_0x5944fd=_0x154071[_0x1ff359(0x32f)];}return{..._0x565db7[_0x1ff359(0x3b1)](_0x134328),'mutations':[_0x5944fd]};}[_0x5188d3(0x33f)](_0x1910a7){const _0x1310fb=_0x5188d3,{unitID:_0x45c13d}=_0x1910a7,_0x4ceca2=this[_0x1310fb(0x35a)]['getRenderById'](_0x45c13d)['with'](_0x2a97ab),{undoCache:_0x2c03ed,redoCache:_0x43973c}=_0x4ceca2[_0x1310fb(0x3bc)]();if(_0x2c03ed[_0x1310fb(0x256)]===0x0||_0x43973c['length']===0x0)return;const _0x6ae401=[],_0x20e8eb=[];let _0x35c7b4=_0x565db7['deepClone'](_0x1910a7[_0x1310fb(0x317)][0x0]),_0x36880c=_0x565db7[_0x1310fb(0x3b1)](_0x1910a7[_0x1310fb(0x317)][0x0]);for(let _0x20617d=_0x2c03ed[_0x1310fb(0x256)]-0x1;_0x20617d>=0x0;_0x20617d--){const _0x4b6d9e={'id':_0x1310fb(0x223),'params':{..._0x2c03ed[_0x20617d]}},_0x3ad6bf={'id':'doc.mutation.rich-text-editing','params':{..._0x43973c[_0x20617d]}},_0x2a3e21=this[_0x1310fb(0x206)]['transformMutation'](_0x35c7b4,_0x4b6d9e,!0x1),_0x1245d9=this[_0x1310fb(0x206)][_0x1310fb(0x25a)](_0x36880c,_0x3ad6bf,!0x1);if(_0xd8fc96(_0x2a3e21))throw _0x2a3e21['error'];if(_0xd8fc96(_0x1245d9))throw _0x1245d9[_0x1310fb(0x392)];_0x6ae401[_0x1310fb(0x384)](_0x2a3e21[_0x1310fb(0x264)][_0x1310fb(0x369)]),_0x20e8eb[_0x1310fb(0x384)](_0x1245d9[_0x1310fb(0x264)]['params']),_0x35c7b4=_0x2a3e21[_0x1310fb(0x32f)],_0x36880c=_0x1245d9[_0x1310fb(0x32f)];}_0x4ceca2[_0x1310fb(0x269)]({'undoCache':_0x6ae401,'redoCache':_0x20e8eb});}['_transformPreviousActiveRange'](_0x4a6dce){const _0x4b36d3=_0x5188d3,{unitID:_0x57e272}=_0x4a6dce,_0x204175=this[_0x4b36d3(0x35a)][_0x4b36d3(0x307)](_0x57e272)[_0x4b36d3(0x33b)](_0x2a97ab),_0x1b242f=_0x204175[_0x4b36d3(0x2af)]();if(_0x1b242f==null)return;const _0xb26d3c=[{'id':_0x4b36d3(0x223),'params':{'unitId':_0x4a6dce[_0x4b36d3(0x293)],'actions':null,'textRanges':[_0x1b242f]}}],_0x1560fc=this['_transformService'][_0x4b36d3(0x386)](_0x4a6dce,_0xb26d3c);if(!_0x49820e(_0x1560fc))throw _0x1560fc[_0x4b36d3(0x392)];const _0xba9379=_0x1560fc[_0x4b36d3(0x264)][0x0][_0x4b36d3(0x369)][_0x4b36d3(0x2a1)];Array[_0x4b36d3(0x279)](_0xba9379)&&_0xba9379[_0x4b36d3(0x256)]&&_0x204175[_0x4b36d3(0x37d)](_0xba9379[0x0]);}};re=tn([tt(0x0,_0x37fccd),tt(0x1,_0x19f3a1)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x926e9f,_0x275c19,_0x407f79,_0xc312f8)=>{const _0x4c9091=_0x5188d3;for(var _0x1c41dc=_0xc312f8>0x1?void 0x0:_0xc312f8?sn(_0x275c19,_0x407f79):_0x275c19,_0x22ae7f=_0x926e9f[_0x4c9091(0x256)]-0x1,_0x21d534;_0x22ae7f>=0x0;_0x22ae7f--)(_0x21d534=_0x926e9f[_0x22ae7f])&&(_0x1c41dc=_0x21d534(_0x1c41dc)||_0x1c41dc);return _0x1c41dc;},Ce=(_0x33bb9a,_0x50a6a9)=>(_0x246b8b,_0x70850d)=>_0x50a6a9(_0x246b8b,_0x70850d,_0x33bb9a);let oe=class{constructor(_0x42a581,_0x405652,_0x24f2cb){const _0x4b8ead=_0x5188d3;this[_0x4b8ead(0x36d)]=_0x42a581,this[_0x4b8ead(0x206)]=_0x405652,this['_docStateChangeManagerService']=_0x24f2cb;}['transformStateCache'](_0x4998d4){const _0x15e5d6=_0x5188d3;this[_0x15e5d6(0x244)](_0x4998d4);}['transformRemoteChangeset'](_0x514a04){const _0x2b78ee=_0x5188d3,{unitID:_0x2e8607}=_0x514a04,{collaboration:_0x567f22}=this[_0x2b78ee(0x38b)]['getStateCache'](_0x2e8607);if(_0x567f22[_0x2b78ee(0x256)]===0x0)return _0x514a04;let _0x1bc65e=_0x565db7[_0x2b78ee(0x3b1)](_0x514a04[_0x2b78ee(0x317)][0x0]);for(let _0x5e4cfb=0x0;_0x5e4cfb<_0x567f22['length'];_0x5e4cfb++){const _0x438072={'id':_0x2b78ee(0x223),'params':{'unitId':_0x567f22[_0x5e4cfb][_0x2b78ee(0x3be)],..._0x567f22[_0x5e4cfb]['redoState']}},_0x49ab46=this['_transformService']['transformMutation'](_0x1bc65e,_0x438072,!0x1);if(_0xd8fc96(_0x49ab46))throw _0x49ab46[_0x2b78ee(0x392)];_0x1bc65e=_0x49ab46[_0x2b78ee(0x32f)];}return{..._0x565db7[_0x2b78ee(0x3b1)](_0x514a04),'mutations':[_0x1bc65e]};}[_0x5188d3(0x244)](_0x417d57){const _0x46e392=_0x5188d3,{unitID:_0x3ef321}=_0x417d57,{history:_0x118d4b,collaboration:_0x35f5a7}=this[_0x46e392(0x38b)]['getStateCache'](_0x3ef321);if(_0x118d4b[_0x46e392(0x256)]===0x0&&_0x35f5a7['length']===0x0)return;const _0x2ca187=[],_0x309f03=[];let _0x4bdb3b=_0x565db7[_0x46e392(0x3b1)](_0x417d57[_0x46e392(0x317)][0x0]),_0x3c601a=_0x565db7[_0x46e392(0x3b1)](_0x417d57['mutations'][0x0]);for(let _0x5df8a7=_0x118d4b[_0x46e392(0x256)]-0x1;_0x5df8a7>=0x0;_0x5df8a7--){const _0x246b26={'id':_0x46e392(0x223),'params':{'unitId':_0x118d4b[_0x5df8a7][_0x46e392(0x3be)],..._0x118d4b[_0x5df8a7][_0x46e392(0x3f5)]}},_0x45aa59={'id':_0x46e392(0x223),'params':{'unitId':_0x118d4b[_0x5df8a7][_0x46e392(0x3be)],..._0x118d4b[_0x5df8a7][_0x46e392(0x2a4)]}},_0x1318f3=this['_transformService']['transformMutation'](_0x4bdb3b,_0x246b26,!0x1),_0x8566e=this[_0x46e392(0x206)][_0x46e392(0x25a)](_0x3c601a,_0x45aa59,!0x1);if(_0xd8fc96(_0x1318f3))throw _0x1318f3[_0x46e392(0x392)];if(_0xd8fc96(_0x8566e))throw _0x8566e[_0x46e392(0x392)];_0x2ca187['unshift']({..._0x118d4b[_0x5df8a7],'undoState':_0x1318f3['m2Prime'][_0x46e392(0x369)],'redoState':_0x8566e[_0x46e392(0x264)][_0x46e392(0x369)]}),_0x4bdb3b=_0x1318f3['m1Prime'],_0x3c601a=_0x8566e['m1Prime'];}_0x4bdb3b=_0x565db7[_0x46e392(0x3b1)](_0x417d57[_0x46e392(0x317)][0x0]),_0x3c601a=_0x565db7['deepClone'](_0x417d57[_0x46e392(0x317)][0x0]);for(let _0x56c9df=_0x35f5a7[_0x46e392(0x256)]-0x1;_0x56c9df>=0x0;_0x56c9df--){const _0x7d3e78={'id':_0x46e392(0x223),'params':{'unitId':_0x35f5a7[_0x56c9df][_0x46e392(0x3be)],..._0x35f5a7[_0x56c9df][_0x46e392(0x3f5)]}},_0x3074b1={'id':_0x46e392(0x223),'params':{'unitId':_0x35f5a7[_0x56c9df][_0x46e392(0x3be)],..._0x35f5a7[_0x56c9df][_0x46e392(0x2a4)]}},_0x45f95c=this[_0x46e392(0x206)]['transformMutation'](_0x4bdb3b,_0x7d3e78,!0x1),_0x5485ce=this[_0x46e392(0x206)]['transformMutation'](_0x3c601a,_0x3074b1,!0x1);if(_0xd8fc96(_0x45f95c))throw _0x45f95c[_0x46e392(0x392)];if(_0xd8fc96(_0x5485ce))throw _0x5485ce[_0x46e392(0x392)];_0x309f03[_0x46e392(0x384)]({..._0x35f5a7[_0x56c9df],'undoState':_0x45f95c[_0x46e392(0x264)]['params'],'redoState':_0x5485ce[_0x46e392(0x264)]['params']}),_0x4bdb3b=_0x45f95c[_0x46e392(0x32f)],_0x3c601a=_0x5485ce[_0x46e392(0x32f)];}this[_0x46e392(0x38b)][_0x46e392(0x23f)](_0x3ef321,{'history':_0x2ca187,'collaboration':_0x309f03});}};oe=nn([Ce(0x0,_0x1fed49(_0x10b755)),Ce(0x1,_0x37fccd),Ce(0x2,_0x1fed49(_0x5081e5))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x51992a,_0x46b995,_0x5bbac3,_0x465792)=>{const _0x1e8aac=_0x5188d3;for(var _0x32c8d5=_0x465792>0x1?void 0x0:_0x465792?rn(_0x46b995,_0x5bbac3):_0x46b995,_0x376f40=_0x51992a[_0x1e8aac(0x256)]-0x1,_0x3139c7;_0x376f40>=0x0;_0x376f40--)(_0x3139c7=_0x51992a[_0x376f40])&&(_0x32c8d5=_0x3139c7(_0x32c8d5)||_0x32c8d5);return _0x32c8d5;},st=(_0xa41be7,_0x2910a4)=>(_0x20b39c,_0x440a30)=>_0x2910a4(_0x20b39c,_0x440a30,_0xa41be7);let ae=class{constructor(_0x26be34,_0x57f87e){const _0x2e2326=_0x5188d3;this[_0x2e2326(0x36d)]=_0x26be34,this[_0x2e2326(0x206)]=_0x57f87e;}[_0x5188d3(0x238)](_0xafc89e){const _0x565161=_0x5188d3;var _0x54e0b4;const _0x31a035=this[_0x565161(0x36d)][_0x565161(0x2da)](_0x2331b0),_0x4c5c86=(_0x54e0b4=_0x31a035[_0x565161(0x28f)]())!=null?_0x54e0b4:[];if(_0x4c5c86[_0x565161(0x256)]===0x0)return;const _0x5c8919=_0xafc89e[_0x565161(0x293)],_0x3fc0fb=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c8919,'actions':null,'textRanges':_0x4c5c86}}],_0x5cdaa1=this[_0x565161(0x206)][_0x565161(0x386)](_0xafc89e,_0x3fc0fb);if(!_0x49820e(_0x5cdaa1))throw _0x5cdaa1[_0x565161(0x392)];const _0x501569=_0x5cdaa1[_0x565161(0x264)][0x0][_0x565161(0x369)][_0x565161(0x2a1)];Array['isArray'](_0x501569)&&_0x501569[_0x565161(0x256)]&&_0x31a035[_0x565161(0x25e)](_0x501569,{'unitId':_0x5c8919,'subUnitId':_0x5c8919},!0x1);}};ae=on([st(0x0,_0x1fed49(_0x10b755)),st(0x1,_0x37fccd)],ae);var an=Object[_0x5188d3(0x20a)],cn=(_0x1ee586,_0x10bbcd,_0x13db42,_0x2b67c2)=>{for(var _0x589925=_0x2b67c2>0x1?void 0x0:_0x2b67c2?an(_0x10bbcd,_0x13db42):_0x10bbcd,_0x215778=_0x1ee586['length']-0x1,_0x899dd5;_0x215778>=0x0;_0x215778--)(_0x899dd5=_0x1ee586[_0x215778])&&(_0x589925=_0x899dd5(_0x589925)||_0x589925);return _0x589925;},N=(_0x2289e0,_0x1d329e)=>(_0x2e63d1,_0x30bc7a)=>_0x1d329e(_0x2e63d1,_0x30bc7a,_0x2289e0);let ce=class extends _0x5c2962{constructor(_0x536dd0,_0x72b3e1,_0x51aae0,_0x591ff7,_0x329675,_0x35661d,_0x28457c,_0x537225){const _0x53e563=_0x5188d3;super(),_(this,_0x53e563(0x299),new _0x4be62c(_0x1c3979['NOT_COLLAB'])),(this[_0x53e563(0x38b)]=_0x536dd0,this[_0x53e563(0x207)]=_0x72b3e1,this[_0x53e563(0x310)]=_0x51aae0,this[_0x53e563(0x239)]=_0x591ff7,this[_0x53e563(0x396)]=_0x329675,this[_0x53e563(0x24c)]=_0x35661d,this['_messageService']=_0x28457c,this[_0x53e563(0x342)]=_0x537225,this[_0x53e563(0x3e2)]());}[_0x5188d3(0x3e2)](){const _0xd27442=_0x5188d3;this[_0xd27442(0x2c2)](this[_0xd27442(0x207)][_0xd27442(0x2a5)][_0xd27442(0x278)](_0x18233c=>{const _0x34b82c=_0xd27442,_0x385550=this[_0x34b82c(0x38b)][_0x34b82c(0x3d0)][_0x34b82c(0x278)](_0x34d6a8=>{const _0x34fbbe=_0x34b82c;if(_0x34d6a8==null)return;const {unitId:_0xdaf6d0,redoState:_0x5e9d50,commandId:_0x1d3eb6}=_0x34d6a8;if(_0xdaf6d0!==_0x18233c[_0x34fbbe(0x293)])return;const _0x9eec13={'id':_0x1d3eb6,'type':_0x5396a0['MUTATION'],'params':{'unitId':_0xdaf6d0,'actions':_0x5e9d50['actions'],'textRanges':null}};_0x18233c[_0x34fbbe(0x3cb)](_0x9eec13);});if(_0x18233c[_0x34b82c(0x2c2)](_0x385550),_0x18233c instanceof _0x1fcd5b){const _0x42fcb4={'onTransformIME':_0x1bf034=>this[_0x34b82c(0x310)]['transformIMECache'](_0x1bf034),'onTransformState':_0x165e0f=>this[_0x34b82c(0x239)][_0x34b82c(0x400)](_0x165e0f),'onTransformSelections':_0x58a94f=>this[_0x34b82c(0x396)][_0x34b82c(0x238)](_0x58a94f),'onSyncEditingCollabCursor':_0x5ee610=>this[_0x34b82c(0x24c)][_0x34b82c(0x23e)](_0x5ee610),'onTransformRemoteChangesetByIMECache':_0x2dc84c=>this[_0x34b82c(0x310)]['transformRemoteChangeset'](_0x2dc84c),'onTransformRemoteChangesetByStateCache':_0x1ed2bf=>this['_docTransformStateCacheService'][_0x34b82c(0x364)](_0x1ed2bf)};_0x18233c[_0x34b82c(0x276)](_0x42fcb4);}}));}};ce=cn([N(0x0,_0x1fed49(_0x5081e5)),N(0x1,_0x1fed49(_0x59f285)),N(0x2,_0x1fed49(re)),N(0x3,_0x1fed49(oe)),N(0x4,_0x1fed49(ae)),N(0x5,_0x1fed49(Fe)),N(0x6,_0x52999a),N(0x7,_0x1fed49(_0x43722e))],ce);var ln=Object[_0x5188d3(0x20a)],_n=(_0x3d587a,_0x29ec75,_0x5745ba,_0x14941e)=>{const _0x4ed449=_0x5188d3;for(var _0x2fb028=_0x14941e>0x1?void 0x0:_0x14941e?ln(_0x29ec75,_0x5745ba):_0x29ec75,_0xb5550a=_0x3d587a[_0x4ed449(0x256)]-0x1,_0x557af8;_0xb5550a>=0x0;_0xb5550a--)(_0x557af8=_0x3d587a[_0xb5550a])&&(_0x2fb028=_0x557af8(_0x2fb028)||_0x2fb028);return _0x2fb028;},Ee=(_0x55a976,_0x11fc70)=>(_0x48e6da,_0x388a88)=>_0x11fc70(_0x48e6da,_0x388a88,_0x55a976);let we=class extends _0x5c2962{constructor(_0x1c1ae8,_0x4a8968,_0x17af86){const _0x5b1494=_0x5188d3;super(),_(this,_0x5b1494(0x258),new Map()),_(this,_0x5b1494(0x2ae),new Map()),_(this,_0x5b1494(0x2c1),!0x1),(this[_0x5b1494(0x220)]=_0x1c1ae8,this['_localStorageService']=_0x4a8968,this[_0x5b1494(0x212)]=_0x17af86);}[_0x5188d3(0x3db)](){const _0x35b96b=_0x5188d3;this[_0x35b96b(0x2c1)]=!0x0;}[_0x5188d3(0x2b7)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x5a1f01=_0x5188d3;return this[_0x5a1f01(0x2ae)];}[_0x5188d3(0x21e)](){const _0x16a3cf=_0x5188d3;this['exhaustSavingTask']()[_0x16a3cf(0x3d4)](()=>super[_0x16a3cf(0x21e)]());}async[_0x5188d3(0x3cd)](_0x4d7e35){const _0x57956f=_0x5188d3;return this[_0x57956f(0x2c1)]?null:this[_0x57956f(0x346)]['getItem'](_0x57bb43(_0x4d7e35));}async[_0x5188d3(0x378)](_0x478881,_0x5b56eb){const _0x26618a=_0x5188d3;return!!this[_0x26618a(0x346)][_0x26618a(0x39d)](_0x478881,_0x5b56eb);}['updateOfflineData'](_0x45bbaa,_0x18496a,_0x20d04e,_0x3ee304){const _0x2059bd=_0x5188d3,_0x3e8452=this['_revisionService'][_0x2059bd(0x2b3)](_0x45bbaa);this['_cachedData'][_0x2059bd(0x203)](_0x45bbaa,{'unitID':_0x45bbaa,'type':_0x18496a,'awaitingChangeset':_0x20d04e,'mutations':_0x3ee304,'rev':_0x3e8452}),this[_0x2059bd(0x2ae)][_0x2059bd(0x2f7)](_0x45bbaa)||this[_0x2059bd(0x23d)](_0x45bbaa);}[_0x5188d3(0x23d)](_0x111d0b){const _0x4083eb=_0x5188d3,_0x1b862e=this[_0x4083eb(0x39c)]();_0x1b862e===0x0?this[_0x4083eb(0x3ec)](_0x111d0b):this[_0x4083eb(0x2ae)][_0x4083eb(0x203)](_0x111d0b,setTimeout(()=>this[_0x4083eb(0x3ec)](_0x111d0b),_0x1b862e));}[_0x5188d3(0x39c)](){const _0x2da95e=_0x5188d3;var _0x2f60cc;return(_0x2f60cc=this['_configService'][_0x2da95e(0x257)](_0x3dc6bf))!=null?_0x2f60cc:_0x30d596;}['_saveCache'](_0xc6f7f9){const _0x34e068=_0x5188d3,_0x4f7085=this[_0x34e068(0x2ae)]['get'](_0xc6f7f9);return _0x4f7085!==void 0x0&&window['clearTimeout'](_0x4f7085),this[_0x34e068(0x346)][_0x34e068(0x39d)](_0x57bb43(_0xc6f7f9),this['_cachedData'][_0x34e068(0x2da)](_0xc6f7f9))['then'](()=>this[_0x34e068(0x2ae)][_0x34e068(0x253)](_0xc6f7f9));}async[_0x5188d3(0x3c3)](){const _0x4ff546=_0x5188d3,_0x3cc65a=[];this[_0x4ff546(0x2ae)]['forEach']((_0x26783c,_0x1f9462)=>{const _0x168011=_0x4ff546;window[_0x168011(0x294)](_0x26783c),_0x3cc65a[_0x168011(0x338)](this[_0x168011(0x3ec)](_0x1f9462)['then'](()=>{const _0x58c6b1=_0x168011;this[_0x58c6b1(0x2ae)]['delete'](_0x1f9462);}));}),await Promise[_0x4ff546(0x3e4)](_0x3cc65a);}};we=_n([Ee(0x0,_0x59b444),Ee(0x1,_0x3279e1),Ee(0x2,_0x1fed49(_0x15241e))],we);class hn extends _0x4b0038{constructor(){const _0x4bd6ed=_0x5188d3;super(),_(this,'urlChange$'),this[_0x4bd6ed(0x2bf)]=_0x18991f(window,_0x4bd6ed(0x3e5))[_0x4bd6ed(0x271)](_0x5ee7c8(this[_0x4bd6ed(0x247)]),_0x57103e(0x1),_0x4491e2(void 0x0));}[_0x5188d3(0x21d)](_0x55a883,_0x1e8a8a,_0x233ecd=!0x1){const _0x59a6fe=_0x5188d3,_0x147911=new URL(window[_0x59a6fe(0x3fd)][_0x59a6fe(0x313)]);_0x147911[_0x59a6fe(0x35c)][_0x59a6fe(0x203)](_0x55a883,_0x1e8a8a),_0x233ecd?window[_0x59a6fe(0x25f)][_0x59a6fe(0x322)]('','',_0x147911[_0x59a6fe(0x383)]()):window[_0x59a6fe(0x25f)]['pushState']('','',_0x147911['toString']());}[_0x5188d3(0x2bb)](_0x4aa16c,_0x46eadc=!0x1){const _0x7a081b=_0x5188d3,_0x13837a=new URL(window[_0x7a081b(0x3fd)][_0x7a081b(0x313)]);_0x13837a[_0x7a081b(0x35c)][_0x7a081b(0x253)](_0x4aa16c),_0x46eadc?window[_0x7a081b(0x25f)][_0x7a081b(0x322)]('','',_0x13837a[_0x7a081b(0x383)]()):window[_0x7a081b(0x25f)][_0x7a081b(0x366)]('','',_0x13837a[_0x7a081b(0x383)]());}[_0x5188d3(0x22e)](_0x5f1328){const _0x388ec4=_0x5188d3;var _0x35b375;return(_0x35b375=new URL(window[_0x388ec4(0x3fd)][_0x388ec4(0x313)])['searchParams'][_0x388ec4(0x2da)](_0x5f1328))!=null?_0x35b375:void 0x0;}}var un=Object[_0x5188d3(0x314)],dn=Object[_0x5188d3(0x20a)],fn=(_0x3a851a,_0x1619be,_0x5de713)=>_0x1619be in _0x3a851a?un(_0x3a851a,_0x1619be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5de713}):_0x3a851a[_0x1619be]=_0x5de713,Sn=(_0x50132c,_0x4f184d,_0x59ed2b,_0x4554cf)=>{const _0x456bbe=_0x5188d3;for(var _0x122b90=_0x4554cf>0x1?void 0x0:_0x4554cf?dn(_0x4f184d,_0x59ed2b):_0x4f184d,_0x458b59=_0x50132c[_0x456bbe(0x256)]-0x1,_0x4045ae;_0x458b59>=0x0;_0x458b59--)(_0x4045ae=_0x50132c[_0x458b59])&&(_0x122b90=_0x4045ae(_0x122b90)||_0x122b90);return _0x122b90;},Oe=(_0x34c05c,_0x1b28fe)=>(_0x5c2730,_0x41b0f6)=>_0x1b28fe(_0x5c2730,_0x41b0f6,_0x34c05c),mn=(_0x4258be,_0x3cdfd8,_0x56a84)=>fn(_0x4258be,_0x3cdfd8+'',_0x56a84);const In=_0x5188d3(0x397);let Ae=class extends _0x40aa46{constructor(_0x478051=et,_0x2f50bb,_0x6dff18,_0x52e605){const _0x362239=_0x5188d3;super(),this[_0x362239(0x208)]=_0x478051,this[_0x362239(0x35a)]=_0x2f50bb,this[_0x362239(0x36d)]=_0x6dff18,this[_0x362239(0x220)]=_0x52e605;const {..._0x449c48}=_0x3fb691({},et,this[_0x362239(0x208)]);this['_configService'][_0x362239(0x321)](qi,_0x449c48);}[_0x5188d3(0x1fe)](){const _0x496f39=_0x5188d3;this['_registerDependencies'](),this[_0x496f39(0x236)]();}[_0x5188d3(0x300)](){this['_registerRenderDependencies']();}[_0x5188d3(0x3c5)](){const _0x1f7016=_0x5188d3;var _0xc1d9ea;const _0x4774fc=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x26e933,{'useClass':_0x46255c}],[_0x452dcf,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x95d7c3(this[_0x1f7016(0x36d)],_0x2095e5(_0x4774fc,(_0xc1d9ea=this[_0x1f7016(0x208)])==null?void 0x0:_0xc1d9ea[_0x1f7016(0x2b6)]));}[_0x5188d3(0x263)](){const _0x3d239c=_0x5188d3;this[_0x3d239c(0x2c2)](this[_0x3d239c(0x35a)][_0x3d239c(0x37a)](_0x4d2985[_0x3d239c(0x3ca)],[Le])),this[_0x3d239c(0x2c2)](this[_0x3d239c(0x35a)][_0x3d239c(0x37a)](_0x4d2985[_0x3d239c(0x3e0)],[Pe]));}[_0x5188d3(0x236)](){const _0x332916=_0x5188d3;_0x4fc3f1(this[_0x332916(0x36d)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x5188d3(0x387),In),Ae=Sn([_0x1d4fd5(_0x5addc8),Oe(0x1,_0x19f3a1),Oe(0x2,_0x1fed49(_0x10b755)),Oe(0x3,_0x59b444)],Ae);function _0x164b(){const _0x1a618b=['push','data','hovered','with','name','selections','_draw','_transformUndoRedoStack','YUUMI_ASYNCIO_CANCELLED','clipPath','_localeService','fillStyle','requireSession','YUUMI_RATE_OVER_LIMIT','_localStorageService','MOBILE_VERIFY_CODE_MISMATCH','trim','YUUMI_URL_COL_OUT_OF_RANGE','_textBubble','addObject','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','LICENSE_IMPORT_SIZE_EXCEEDED','drawWith','_labelPosition','getActiveSheet','fillRule','find','storage','_render','hasOwnProperty','_hovered','memberID','DeleteRangeMoveUpCommandId','UNRECOGNIZED','_renderManagerService','from','searchParams','HEADER_MENU','replace','OTHER_CLIENT_EDITING','_context','_scheduleHeartbeat','off-line-icon_clip0_910_343','collab-rect-range-','transformRemoteChangeset','[RemoteUniscriptService]:\x20no\x20focused\x20unit','pushState','1em','column','params','focused$','setShapeProps','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_injector','getMember','svg','createSocket','_entityInit$','SOCKET_FAILED_RETRY','_updateLocalCursor','disposeUnit','FromArray','USERS_LEAVE','10130xpAPZQ','saveOfflineData','2947989BigrmG','registerRenderModule','getTypeOfUnitDisposed$','wsSessionTicketUrl','setActiveRange','APPLY_DUPLICATED','_eventUnsubscribe','beginPath','_unitStatus','getSkeleton','toString','unshift','collab-text-range-','transformMutationsWithChangeset','pluginName','min','_updateURLWithCurrentState','1ZMZLDV','_docStateChangeManagerService','fill','application/json','_colorIndex','M0\x200H16V16H0z','_clearOtherTimers','text','error','APPLY_REVISION_CONFILICT','assignAColorForMemberID','init','_docTransformSelectionsService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_backgroundColor','AWAITING_WITH_PENDING','_cursors','symbol','_getSaveTimeout','setItem','1878940eVqBCx','getRelativeToViewportCoord','fillText','_cursorInfo$','setAlpha','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSheetId','path','EMAIL_HAS_BEEN_BOUND','/run/','INVITE_CODE_ALREADY_BOUND','height','runId','_heartbeatTimer','OTHER_CLIENTS_EDITING','_dataLoaderService','evenodd','collab-client.tooltip.reconnect','save','deepClone','InsertRangeMoveRightCommandId','EMAIL_VERIFY_CODE_MISMATCH','imageSourceType','PERMISSION_DENIED','_initStatusListener','MOBILE_HAS_BEEN_BOUND','_refRangeService','_onCursorDelete','blue.400','registerRefRange','getUndoRedoMutationParamsCache','getFocusedUnit','unitId','_handleLeaveEvent','MoveRangeCommandId','0\x200\x2017\x2016','_selfUnitIDs','exhaustSavingTask','YUUMI_ALL_TABLES_IS_INVALID','_registerDependencies','getCollabEntity$','_color','loadUnit','getRangePointData','UNIVER_DOC','onLocalMutation','subUnitId','loadOfflineData','createInstance','NOT_FOUND','docStateChange$','YUUMI_UNABLE_LOAD_URL','ticket','SYNCED','then','_getScale','sessionStatus$','next','_commandService','purple.300','type','disableLocalCache','_refreshCollabCursors','getCollabCursors$','on-line-icon','bottom','UNIVER_SHEET','RemoveColCommandId','_initEntityListener','_unitOnClients','all','popstate','_collabCursorState$','_anchor','univer-flex\x20univer-items-center','_lastPointer','RemoveRowCommandId','_collaborationUIEventService','_saveCache','OFFLINE','ENSURE_SNAPSHOT_EXECUTION','yellow.400','INVALID_INVITE_CODE','idSuffix','onPointerLeave$','findNodePositionByCharIndex','4WGxqsV','undoState','clearInterval','lineTo','collaboration.closeRoom','_initStatusComponent','displayName','sheetID','_memberService','location','_initResize','_shapes','transformStateCache','PY_RUNTIME_SCRIPT_ERROR','tag','none','DeleteRangeMoveLeftCommandId','_id','_send','apply','stringify','_getSessionTicket','_doCreateSocket','green.600','_themeService','_beforeCloseService','onStarting','_ensureSubject','asObservable','LICENSE_MAX_UNITS_EXCEEDED','send','set','_drawTextRange','_docSkeletonManagerService','_transformService','_collaborationController','_config','onCommandExecuted','getOwnPropertyDescriptor','TEXT','getUnhiddenWorksheets','transformIMECache','roomMembers$','CLOSE_ROOM','call','invokeId','_revisionService','[CollaborationDataLoaderController]','getMemberID','_sheetSkeletonManagerService','string','CHANGESET_REVISION_CONFILICT','url(#$1','_startDocCollabCursor','TOO_MANY_REQUESTS','toRgbString','WECHAT_HAS_BEEN_BOUND','setParam','dispose','_getAnchorBounding','_configService','parse','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','doc.mutation.rich-text-editing','_notificationService','ALREADY_EXISTS','startColumn','8485253JvXJtZ','registerBeforeClose','APPLY_NON_SEQUENTIAL_REVISION','onPointerMove$','getValue','CONNECTOR_DATA_TOO_LARGE','32kRkONN','getParam','_initEvent','transformByState','OnLineIcon','getAncestorScale','defIds','_getSheetObject','values','_initDependencies','reconnect','transformSelections','_docTransformStateCacheService','getColorFromTheme','subscribeEvent','_toggleOnline','_scheduleSaving','syncEditingCollabCursor','setStateCache','ONLINE','Failed','USER_NOT_INVITED_CODE','newValue','_transformHistoryAndStateStack','session.connection-failed','split','dispose$','getOwnPropertySymbols','410835waCniP','permission.content','_httpService','_docSyncEditingCollabCursorService','contains','ranges','top','SNAPSHOT_HAS_BEEN_REMOVED','permission.title','InsertRangeMoveDownCommandId','delete','_toggleOffline','_scheduleClearOtherTimer','length','getConfig','_cachedData','ACTIVE_UNIT_EVENT_CHANNEL','transformMutation','resize','colorChannel1','RECT','replaceDocRanges','history','_assignedColors','InsertRowCommandId','LICENSE_DISTRO_REJECTED','_registerRenderDependencies','m2Prime','prototype','_name','Error','on-line-icon_clip0_910_349','setUndoRedoMutationParamsCache','_hover','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sheetId','_univerInstanceService','YUUMI_AI_RUN_FAILED','executeCommand','getViewport','pipe','getCurrentUnitForType','addObjects','_session','AWAITING','addHandlerCallback','_collabSessionService','subscribe','isArray','_initCommandExecutedListener','12WMGzoz','url(#off-line-icon_clip0_910_343)','addClipboardHook','post','_roomMembers$','_setupSubUnitSync','_transformPreviousActiveRange','runOnServer','_init','_entities','round','engine','children','_cursor','debug','body','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','eventID','addEventListener','_handleHover','getDocRanges','OffLineIcon','hide','forEach','unitID','clearTimeout','saveTaskMap','collaboration-client-ui.config','unsubscribe','mask','_status$','event$','onMouseMove','http://www.w3.org/2000/svg','defs','_scene','_removeCollabCursors','APPLY_REJECT','textRanges','YUUMI_SUBSCRIPTION_NOT_FOUND','JOIN_ROOM_FAILED','redoState','entityInit$','getMergeData','_updateSubUnitFromURLParams','INVITE_CODE_REQUIRED','origin','_startSheetCollabCursor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','isActive','LOGIN_FAILED','_saveTaskMap','getActiveRange','propertyIsEnumerable','_setupBeforeClosingHandler','onPointerEnter$','getCurrentRevOfUnit','InsertColCommandId','FETCH_MISS','override','enableLocalCache','subunit','getVpScrollXYInfoByPosToVp','setTimeout','removeParam','2515671qdywrk','_logService','unit','urlChange$','currentTheme$','_disabled','disposeWithMe','getUnitStatus$','attrs','NOT_COLLAB','_messageService','_updateCollabCursors','NO_OTHER_CLIENTS_EDITING','activeSheet$','source','executionId','Warning','measureText','extend','concat','_drawAnchor','UPDATE_CURSOR','width','off-line-icon','SNAPSHOT_INVALID_SNAPSHOT','_removeClearOtherTimer','currentSkeleton$','collaboration-client.offline-data-not-saved','_onCursorUpdate','entries','get','SOCKET_FAILED','backgroundColor','_syncEditingCollabCursorService','UNDEFINED','selection','_docClipboardService','endRow','restore','collabStatus.syncing','function','getUnitId','LICENSE_EXPORT_SIZE_EXCEEDED','cursorInfo$','add','editingUnit','_createSocketURL','UNAUTHENTICATED','session.will-retry','_handleHeartbeatEvent','startRow','_instanceService','result','_drawRectRange','xlink:href','div','collabStatus.conflict','includes','code','has','COMPLETION_FINISHED','getOffsetConfig','startsWith','white','2429898qxTVWx','font','getCurrentSelections','arc','onRendered','unload','makeDirty','INVITE_CODE_HAS_BEEN_UES','assign','row','_collabCursorController','getRenderById','map','uni.network.url-service','getSheetBySheetId','roomMembers','collab-text-anchor-','size','use','_getMergeRange','_docTransformIMECacheService','search','_online','href','defineProperty','_colorAssignService','onTransformChange$','mutations','some','complete','YUUMI_CONNECTOR_URL_NOT_FOUND','_range','currentColor','isEditing','url(#on-line-icon_clip0_910_349)','_handleJoinEvent','substring','setConfig','replaceState','YUUMI_NO_CUBOID_FOR_QUESTION','red.300','_cursorShapes','black','univer-mr-2\x20univer-flex\x20univer-text-xl','show','skeleton','cursorInfo','Unknown\x20user','indexOf','_imageIoService','_uiPartsService','m1Prime','3006sGnxPI','_urlService','_anchorDot','collabCursorState$','color','...','max','_hideTimer'];_0x164b=function(){return _0x1a618b;};return _0x164b();}var vn=Object[_0x5188d3(0x20a)],gn=(_0x3ae1ec,_0x13bcf4,_0x4d6e80,_0x1b822a)=>{for(var _0x2f6323=_0x1b822a>0x1?void 0x0:_0x1b822a?vn(_0x13bcf4,_0x4d6e80):_0x13bcf4,_0x56cf1a=_0x3ae1ec['length']-0x1,_0x31325b;_0x56cf1a>=0x0;_0x56cf1a--)(_0x31325b=_0x3ae1ec[_0x56cf1a])&&(_0x2f6323=_0x31325b(_0x2f6323)||_0x2f6323);return _0x2f6323;},z=(_0xc354b0,_0x3e0c4b)=>(_0xf649ae,_0x109664)=>_0x3e0c4b(_0xf649ae,_0x109664,_0xc354b0);let it=class extends _0x285de9{constructor(_0x15a9f5,_0x1f0bc9,_0x49c915,_0x2011bb,_0x598a2c){super(_0x15a9f5,_0x1f0bc9,_0x49c915,_0x2011bb,_0x598a2c);}async[_0x5188d3(0x370)](_0x39ac6d){const _0x2fe50d=_0x5188d3,_0x557c58=await this[_0x2fe50d(0x1f9)](),_0x4a3dc5=this[_0x2fe50d(0x2ea)](_0x39ac6d,_0x557c58);return this[_0x2fe50d(0x1fa)](_0x4a3dc5);}['_createSocketURL'](_0x2a846b,_0x18fe45){const _0xcc9159=_0x5188d3,_0x3881a2=typeof window>'u'?new URL(_0x2a846b):new URL(_0x2a846b,window[_0xcc9159(0x3fd)][_0xcc9159(0x2a9)]);_0x3881a2[_0xcc9159(0x35c)][_0xcc9159(0x203)]('sessionTicket',_0x18fe45);const _0x3f22ee=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xcc9159(0x3fd)][_0xcc9159(0x311)]);return _0x3f22ee[_0xcc9159(0x2da)]('runId')&&_0x3881a2[_0xcc9159(0x35c)][_0xcc9159(0x203)]('runId',_0x3f22ee[_0xcc9159(0x2da)](_0xcc9159(0x3aa))),_0x3881a2[_0xcc9159(0x383)]();}async['_getSessionTicket'](){const _0x288791=_0x5188d3;var _0x2287fc,_0xc890a4,_0x3a43aa;const _0x4a4d7f=this[_0x288791(0x220)]['getConfig'](_0x1835dd),_0x4fdb11=(_0x2287fc=_0x4a4d7f==null?void 0x0:_0x4a4d7f[_0x288791(0x37c)])!=null?_0x2287fc:_0x305365;return(_0x3a43aa=(_0xc890a4=(await this[_0x288791(0x24b)]['get'](_0x4fdb11,{'headers':{'Content-Type':_0x288791(0x38d)}}))[_0x288791(0x28a)])==null?void 0x0:_0xc890a4[_0x288791(0x3d2)])!=null?_0x3a43aa:'';}};it=gn([z(0x0,_0x1fed49(_0x10b755)),z(0x1,_0x1fed49(_0x3bd41)),z(0x2,_0x59b444),z(0x3,_0x368053),z(0x4,_0x3e0eeb)],it);var Lt=(_0x2b78a8=>(_0x2b78a8[_0x2b78a8[_0x5188d3(0x2de)]=0x0]='UNDEFINED',_0x2b78a8[_0x2b78a8['OK']=0x1]='OK',_0x2b78a8[_0x2b78a8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x2b78a8[_0x2b78a8[_0x5188d3(0x3b5)]=0x3]=_0x5188d3(0x3b5),_0x2b78a8[_0x2b78a8[_0x5188d3(0x3cf)]=0x4]=_0x5188d3(0x3cf),_0x2b78a8[_0x2b78a8[_0x5188d3(0x2eb)]=0x5]=_0x5188d3(0x2eb),_0x2b78a8[_0x2b78a8[_0x5188d3(0x225)]=0x6]='ALREADY_EXISTS',_0x2b78a8[_0x2b78a8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x2b78a8[_0x2b78a8[_0x5188d3(0x21a)]=0x8]=_0x5188d3(0x21a),_0x2b78a8[_0x2b78a8['COMPLETION_FINISHED']=0x9]=_0x5188d3(0x2f8),_0x2b78a8[_0x2b78a8['LOGIN_FAILED']=0xa]=_0x5188d3(0x2ad),_0x2b78a8[_0x2b78a8['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x5188d3(0x347),_0x2b78a8[_0x2b78a8[_0x5188d3(0x3a3)]=0xc]=_0x5188d3(0x3a3),_0x2b78a8[_0x2b78a8[_0x5188d3(0x3b3)]=0xd]=_0x5188d3(0x3b3),_0x2b78a8[_0x2b78a8['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5188d3(0x222),_0x2b78a8[_0x2b78a8[_0x5188d3(0x217)]=0x1389]=_0x5188d3(0x217),_0x2b78a8[_0x2b78a8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5188d3(0x2d4),_0x2b78a8[_0x2b78a8[_0x5188d3(0x250)]=0x1772]=_0x5188d3(0x250),_0x2b78a8[_0x2b78a8[_0x5188d3(0x3ee)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2b78a8[_0x2b78a8['APPLY_REJECT']=0x1b59]=_0x5188d3(0x2a0),_0x2b78a8[_0x2b78a8[_0x5188d3(0x229)]=0x1b5a]=_0x5188d3(0x229),_0x2b78a8[_0x2b78a8[_0x5188d3(0x393)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2b78a8[_0x2b78a8['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2b78a8[_0x2b78a8['APPLY_DUPLICATED']=0x1b5d]=_0x5188d3(0x37e),_0x2b78a8[_0x2b78a8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5188d3(0x22c),_0x2b78a8[_0x2b78a8[_0x5188d3(0x201)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2b78a8[_0x2b78a8[_0x5188d3(0x2ab)]=0x232a]=_0x5188d3(0x2ab),_0x2b78a8[_0x2b78a8[_0x5188d3(0x34d)]=0x232b]=_0x5188d3(0x34d),_0x2b78a8[_0x2b78a8[_0x5188d3(0x2e6)]=0x232c]=_0x5188d3(0x2e6),_0x2b78a8[_0x2b78a8[_0x5188d3(0x262)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2b78a8[_0x2b78a8['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5188d3(0x3d1),_0x2b78a8[_0x2b78a8[_0x5188d3(0x349)]=0x2712]=_0x5188d3(0x349),_0x2b78a8[_0x2b78a8[_0x5188d3(0x345)]=0x2713]=_0x5188d3(0x345),_0x2b78a8[_0x2b78a8[_0x5188d3(0x2a2)]=0x2714]=_0x5188d3(0x2a2),_0x2b78a8[_0x2b78a8[_0x5188d3(0x323)]=0x271a]=_0x5188d3(0x323),_0x2b78a8[_0x2b78a8[_0x5188d3(0x340)]=0x271b]=_0x5188d3(0x340),_0x2b78a8[_0x2b78a8['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2b78a8[_0x2b78a8[_0x5188d3(0x3c4)]=0x271d]=_0x5188d3(0x3c4),_0x2b78a8[_0x2b78a8['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2b78a8[_0x2b78a8[_0x5188d3(0x26e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2b78a8[_0x2b78a8[_0x5188d3(0x31a)]=0x2720]=_0x5188d3(0x31a),_0x2b78a8[_0x2b78a8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5188d3(0x401),_0x2b78a8[_0x2b78a8[_0x5188d3(0x303)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2b78a8[_0x2b78a8[_0x5188d3(0x3f0)]=0x2ee2]=_0x5188d3(0x3f0),_0x2b78a8[_0x2b78a8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5188d3(0x2a8),_0x2b78a8[_0x2b78a8[_0x5188d3(0x242)]=0x2ee4]=_0x5188d3(0x242),_0x2b78a8[_0x2b78a8[_0x5188d3(0x3a8)]=0x2ee5]=_0x5188d3(0x3a8),_0x2b78a8[_0x2b78a8[_0x5188d3(0x21c)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2b78a8[_0x2b78a8[_0x5188d3(0x3b7)]=0x32ca]=_0x5188d3(0x3b7),_0x2b78a8[_0x2b78a8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5188d3(0x3a6),_0x2b78a8[_0x2b78a8[_0x5188d3(0x359)]=-0x1]=_0x5188d3(0x359),_0x2b78a8))(Lt||{}),pn=Object[_0x5188d3(0x20a)],Cn=(_0x4539a2,_0x5212d1,_0x4f10b2,_0x225163)=>{for(var _0x30cf1d=_0x225163>0x1?void 0x0:_0x225163?pn(_0x5212d1,_0x4f10b2):_0x5212d1,_0x12c7e9=_0x4539a2['length']-0x1,_0x1e6a82;_0x12c7e9>=0x0;_0x12c7e9--)(_0x1e6a82=_0x4539a2[_0x12c7e9])&&(_0x30cf1d=_0x1e6a82(_0x30cf1d)||_0x30cf1d);return _0x30cf1d;},be=(_0x682cd5,_0x2edc68)=>(_0x4775cb,_0x157871)=>_0x2edc68(_0x4775cb,_0x157871,_0x682cd5);let nt=class extends _0x5c2962{constructor(_0x2595a6,_0x379723,_0x14ffb1){const _0x2c4590=_0x5188d3;super(),this[_0x2c4590(0x2ef)]=_0x2595a6,this[_0x2c4590(0x24b)]=_0x379723,this[_0x2c4590(0x220)]=_0x14ffb1;}async[_0x5188d3(0x282)](_0x2ca91e,_0x2200e6,_0x528f3d,..._0x1fb5f9){const _0x5b4679=_0x5188d3;var _0x47c80e,_0x4dcf63,_0xd04d84,_0x5c25ed;const _0x9c00f0=this['_instanceService'][_0x5b4679(0x3bd)]();if(!_0x9c00f0)throw new Error(_0x5b4679(0x365));const _0x2aa149=((_0x47c80e=this[_0x5b4679(0x220)][_0x5b4679(0x257)](_0x3df8fd))!=null?_0x47c80e:_0x596070)+'/'+_0x2ca91e+_0x5b4679(0x3a7)+_0x2200e6,_0x28cea6=new URL(window[_0x5b4679(0x3fd)][_0x5b4679(0x313)]),_0x2ead52={'scriptId':_0x2ca91e,'runId':(_0x4dcf63=_0x28cea6['searchParams'][_0x5b4679(0x2da)](_0x5b4679(0x3aa)))!=null?_0x4dcf63:'','function':_0x2200e6,'unitId':_0x9c00f0[_0x5b4679(0x2e5)](),'argsOfFunction':JSON['stringify'](_0x1fb5f9),'invokeId':(_0xd04d84=_0x528f3d[_0x5b4679(0x211)])!=null?_0xd04d84:'','executionId':(_0x5c25ed=_0x528f3d[_0x5b4679(0x2cb)])!=null?_0x5c25ed:''};try{const _0x31133b=await this[_0x5b4679(0x24b)][_0x5b4679(0x27e)](_0x2aa149,{'body':_0x2ead52});return _0x31133b['body'][_0x5b4679(0x392)]&&_0x31133b[_0x5b4679(0x28a)][_0x5b4679(0x392)][_0x5b4679(0x2f6)]!==Lt['OK']?_0x5b4679(0x241):_0x31133b['body'][_0x5b4679(0x2f0)];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x3c2a83),be(0x1,_0x1fed49(_0x3bd41)),be(0x2,_0x59b444)],nt);const rt=0x7530,ot=_0x5188d3(0x259);class Fn extends _0x5c2962{constructor(){const _0x4be3f1=_0x5188d3;super(),_(this,_0x4be3f1(0x1f5),_0x3bd970()),_(this,'_selfUnitIDs',new Set()),_(this,_0x4be3f1(0x3e3),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x4be3f1(0x390),new Map()),_(this,_0x4be3f1(0x381),new Map()),this[_0x4be3f1(0x283)]();}[_0x5188d3(0x21e)](){const _0xd7b50f=_0x5188d3;super[_0xd7b50f(0x21e)](),this[_0xd7b50f(0x390)][_0xd7b50f(0x292)]((_0x1ee7ad,_0x450056)=>this[_0xd7b50f(0x2d5)](_0x450056)),this['_heartbeatTimer']&&window[_0xd7b50f(0x3f6)](this[_0xd7b50f(0x3ab)]);}[_0x5188d3(0x2c3)](_0x1ce100){const _0x48dcea=_0x5188d3;return this[_0x48dcea(0x1ff)](_0x1ce100)[_0x48dcea(0x271)](_0x497dbc());}[_0x5188d3(0x2e9)](_0x142808){const _0x4d656a=_0x5188d3;this[_0x4d656a(0x3c2)][_0x4d656a(0x30d)]===0x0&&this[_0x4d656a(0x361)](),this[_0x4d656a(0x3c2)][_0x4d656a(0x2e8)](_0x142808),this[_0x4d656a(0x1f6)]({'type':0x0,'memberID':this[_0x4d656a(0x1f5)],'unitIDs':[_0x142808],'isForwarded':!0x1});}[_0x5188d3(0x374)](_0x25dff0){const _0x84653c=_0x5188d3;this[_0x84653c(0x3c2)][_0x84653c(0x253)](_0x25dff0),this[_0x84653c(0x3c2)][_0x84653c(0x30d)]===0x0&&this['_heartbeatTimer']&&window[_0x84653c(0x3f6)](this['_heartbeatTimer']);}[_0x5188d3(0x283)](){const _0x4eb546=_0x5188d3;this[_0x4eb546(0x2c2)](_0x4b9667(_0x18991f(window,_0x4eb546(0x353))[_0x4eb546(0x278)](_0x279a80=>{const _0x92300b=_0x4eb546;if(_0x279a80['key']!==ot||!_0x279a80[_0x92300b(0x243)])return;const _0x3577cd=JSON[_0x92300b(0x221)](_0x279a80[_0x92300b(0x243)]);this['_handleEvent'](_0x3577cd);}))),window[_0x4eb546(0x28d)](_0x4eb546(0x301),()=>this[_0x4eb546(0x1f6)]({'type':0x1,'memberID':this[_0x4eb546(0x1f5)],'unitIDs':Array[_0x4eb546(0x35b)](this[_0x4eb546(0x3c2)])}));}['_handleEvent'](_0x1981f4){const _0x248f1a=_0x5188d3;switch(_0x1981f4[_0x248f1a(0x3da)]){case 0x0:this[_0x248f1a(0x31f)](_0x1981f4);break;case 0x1:this[_0x248f1a(0x3bf)](_0x1981f4);break;case 0x2:this[_0x248f1a(0x2ed)](_0x1981f4);break;}}[_0x5188d3(0x31f)](_0x4cc27d){const _0x396614=_0x5188d3,{unitIDs:_0x224501,memberID:_0x1f49a4,isForwarded:_0x43a829}=_0x4cc27d;_0x224501[_0x396614(0x292)](_0xe703b1=>{const _0x442bfe=_0x396614;if(!_0x43a829&&this[_0x442bfe(0x3e3)]['has'](_0xe703b1)&&this[_0x442bfe(0x1ff)](_0xe703b1)['next'](_0x1f8419[_0x442bfe(0x3ac)]),!this[_0x442bfe(0x3e3)]['has'](_0xe703b1)||!this[_0x442bfe(0x3e3)][_0x442bfe(0x2da)](_0xe703b1)[_0x442bfe(0x2f7)](_0x1f49a4)){const _0x2077cc=this['_unitOnClients']['get'](_0xe703b1)||new Set();_0x2077cc[_0x442bfe(0x2e8)](_0x1f49a4),this[_0x442bfe(0x3e3)][_0x442bfe(0x203)](_0xe703b1,_0x2077cc),this[_0x442bfe(0x255)](_0x1f49a4);}}),_0x43a829||this['_send']({'type':0x0,'memberID':this[_0x396614(0x1f5)],'unitIDs':[...this[_0x396614(0x3c2)]],'isForwarded':!0x0});}[_0x5188d3(0x255)](_0x8458e1){const _0x18939e=_0x5188d3;this[_0x18939e(0x2d5)](_0x8458e1);const _0x862071=window[_0x18939e(0x2ba)](()=>{const _0x3cd283=_0x18939e;this[_0x3cd283(0x3e3)][_0x3cd283(0x292)](_0x59a1d9=>{const _0x4491e7=_0x3cd283;_0x59a1d9[_0x4491e7(0x253)](_0x8458e1);});},rt*0x2);this[_0x18939e(0x390)][_0x18939e(0x203)](_0x8458e1,_0x862071);}[_0x5188d3(0x2d5)](_0x41250c){const _0x335d41=_0x5188d3;if(this['_clearOtherTimers']['has'](_0x41250c)){const _0x7e085e=this[_0x335d41(0x390)]['get'](_0x41250c);_0x7e085e&&window['clearTimeout'](_0x7e085e),this[_0x335d41(0x390)][_0x335d41(0x203)](_0x41250c,null);}}['_handleLeaveEvent'](_0x2eeefd){const _0x5be583=_0x5188d3,{memberID:_0x4ade1d,unitIDs:_0xa67ca}=_0x2eeefd;_0xa67ca[_0x5be583(0x292)](_0x59bae2=>{const _0x2ee338=_0x5be583;var _0x5481f3;const _0x335126=this[_0x2ee338(0x3e3)][_0x2ee338(0x2da)](_0x59bae2);_0x335126&&(_0x335126[_0x2ee338(0x253)](_0x4ade1d),(_0x5481f3=this[_0x2ee338(0x1ff)](_0x59bae2))==null||_0x5481f3['next'](_0x335126['size']===0x0?_0x1f8419[_0x2ee338(0x2c8)]:_0x1f8419[_0x2ee338(0x3ac)]));}),this[_0x5be583(0x2d5)](_0x4ade1d);}[_0x5188d3(0x2ed)](_0x28f637){const _0x2685d1=_0x5188d3;this[_0x2685d1(0x255)](_0x28f637[_0x2685d1(0x357)]);}['_send'](_0x4c4041){const _0x249e9e=_0x5188d3;localStorage[_0x249e9e(0x39d)](ot,JSON[_0x249e9e(0x1f8)](_0x4c4041));}[_0x5188d3(0x361)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x42201b=_0x1284;this['_send']({'type':0x2,'memberID':this[_0x42201b(0x1f5)]});},rt);}[_0x5188d3(0x1ff)](_0x58facb){const _0x5cdc2c=_0x5188d3;return this[_0x5cdc2c(0x381)][_0x5cdc2c(0x2f7)](_0x58facb)||this[_0x5cdc2c(0x381)][_0x5cdc2c(0x203)](_0x58facb,new _0x4be62c(_0x1f8419[_0x5cdc2c(0x2c8)])),this[_0x5cdc2c(0x381)][_0x5cdc2c(0x2da)](_0x58facb);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x2177f1=_0x74ea;(function(_0x4c1505,_0x5290f6){const _0x2733c7=_0x74ea,_0x7c4048=_0x4c1505();while(!![]){try{const _0xc71941=-parseInt(_0x2733c7(0xc9))/0x1+parseInt(_0x2733c7(0x231))/0x2*(-parseInt(_0x2733c7(0xc0))/0x3)+-parseInt(_0x2733c7(0x174))/0x4*(parseInt(_0x2733c7(0x1d0))/0x5)+parseInt(_0x2733c7(0xe9))/0x6*(parseInt(_0x2733c7(0x210))/0x7)+-parseInt(_0x2733c7(0x192))/0x8+-parseInt(_0x2733c7(0x22e))/0x9*(parseInt(_0x2733c7(0x1ba))/0xa)+parseInt(_0x2733c7(0x10f))/0xb;if(_0xc71941===_0x5290f6)break;else _0x7c4048['push'](_0x7c4048['shift']());}catch(_0x1d11e4){_0x7c4048['push'](_0x7c4048['shift']());}}}(_0xb0db,0x98f94));var xt=Object[_0x2177f1(0x140)],Bt=(_0x2085f9,_0x9fb946,_0x489095)=>_0x9fb946 in _0x2085f9?xt(_0x2085f9,_0x9fb946,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x489095}):_0x2085f9[_0x9fb946]=_0x489095,_=(_0x368189,_0xeb9295,_0xf8b1e6)=>Bt(_0x368189,typeof _0xeb9295!=_0x2177f1(0x24e)?_0xeb9295+'':_0xeb9295,_0xf8b1e6);import{jsx as _0x5bd089,jsxs as _0x326537}from'react/jsx-runtime';import{CollaborationStatus as _0x2b11ed,CollaborationSessionService as _0x358aff,CollaborationController as _0x41dce7,DataLoaderService as _0x31fcfe,MemberService as _0xd22475,SessionStatus as _0x58d779,ILocalCacheService as _0x512a3e,CollaborationUIEventService as _0x2177a8,CollaborationUIEventId as _0x14888b,DocCollaborationEntity as _0x58e4b1,getLocalCacheKey as _0x7cd554,LOCAL_CACHE_INTERVAL as _0x5abd30,LOCAL_CACHE_INTERVAL_KEY as _0x5e8c92,UniverCollaborationClientPlugin as _0x529b32,CollaborationSocketService as _0x2aab71,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5bfee2,DEFAULT_WS_SESSION_TICKET_URL as _0x1e4a2c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x283df6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x50a7aa,UnitStatus as _0x2ef55f}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x3cfee4,IUniverInstanceService as _0xa159bd,Inject as _0x3a3e27,Injector as _0xf5f0c3,Disposable as _0x37d18c,createIdentifier as _0x38c531,ILogService as _0x5aa2dc,ICommandService as _0x66ee7e,Optional as _0x4cc297,RxDisposable as _0x5cede8,Workbook as _0x27d4b9,DOC_RANGE_TYPE as _0x87fbc8,debounce as _0x5934e1,Rectangle as _0x13c2fc,DisposableCollection as _0x57dbba,toDisposable as _0x271c95,UniverInstanceType as _0x1c0ca7,generateRandomId as _0x379949,COLORS as _0x139c37,ColorKit as _0x14d5a2,ThemeService as _0x3bf0ae,fromEventSubject as _0x55e075,Tools as _0x36c097,CommandType as _0x1c2ea4,IConfigService as _0x141485,ILocalStorageService as _0xb50a53,DependentOn as _0x1f7253,Plugin as _0x357bd5,merge as _0x168017,registerDependencies as _0x37ea1d,mergeOverrideWithDependencies as _0x4a31ed,touchDependencies as _0x22c9e7}from'@univerjs/core';import{useObservable as _0x3b80b8,useDependency as _0x10b311,IUIPartsService as _0x22029f,BuiltInUIPart as _0x1d65e8,connectInjector as _0x24619e,IBeforeCloseService as _0x24430e,IMessageService as _0x496bda,INotificationService as _0x56937e}from'@univerjs/ui';import{BehaviorSubject as _0x40a9ba,switchMap as _0x40cc7b,of as _0x2f4fa4,takeUntil as _0x37dacf,debounceTime as _0x4475cb,Subject as _0x3eb5ff,filter as _0x262aa1,merge as _0x5dcffc,combineLatest as _0x219487,fromEvent as _0x18239d,shareReplay as _0x5746cd,mapTo as _0x443ab3,distinctUntilChanged as _0x520b7e}from'rxjs';import{Tooltip as _0x5b7944,clsx as _0x5eecc3,MessageType as _0x55f645}from'@univerjs/design';import{forwardRef as _0x4c7b0f,useRef as _0x58ab96,createElement as _0x3da56d,useCallback as _0x15dc97}from'react';import{IRemoteInstanceService as _0x3df6c6}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x3bfec0,RefRangeService as _0x701119,SetSelectionsOperation as _0x3666e2,SheetsSelectionsService as _0x272ee9,EffectRefRangId as _0x20c086,handleIRemoveRow as _0x2c158a,handleIRemoveCol as _0x56cca8,handleMoveRange as _0x198397,handleInsertRow as _0x2426a7,handleInsertRangeMoveRight as _0x84f930,handleInsertRangeMoveDown as _0x4043be,handleInsertCol as _0x1f204d,handleDeleteRangeMoveUp as _0x5b0b66,handleDeleteRangeMoveLeft as _0x23b281,runRefRangeMutations as _0x57d53f}from'@univerjs/sheets';import{Shape as _0x379971,Rect as _0x781e66,getColor as _0x42bf42,RegularPolygon as _0x1c1975,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xb5ae6,Vector2 as _0x49e4c6,SHEET_VIEWPORT_KEY as _0x4cbe2d,IRenderManagerService as _0xd21942}from'@univerjs/engine-render';import{ISocketService as _0x259704,WebSocketService as _0x116785,HTTPService as _0x21249a}from'@univerjs/network';import{IDocClipboardService as _0x56b44e,NodePositionConvertToCursor as _0x59e57e,NodePositionConvertToRectRange as _0x4ccd8c,TEXT_RANGE_LAYER_INDEX as _0x690a92,SetDocZoomRatioOperation as _0x54c884,DocIMEInputManagerService as _0x556f8d,DocStateChangeManagerService as _0x1cd434}from'@univerjs/docs-ui';import{IImageIoService as _0x556a87}from'@univerjs/drawing';import{ITransformService as _0x89403f,CollaborationEvent as _0x5ae6bd,isTransformMutationFailure as _0x2a9d79,isTransformMutationsWithChangesetSuccess as _0x34d2be,RevisionService as _0x129399,ISnapshotServerService as _0x36eb8d}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4a03a9,RichTextEditingMutation as _0xb9a185,DocSelectionManagerService as _0x472df9,DocSkeletonManagerService as _0x3b47c6}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xaf231e,serializeRangeWithSheet as _0x2ba447}from'@univerjs/engine-formula';import{map as _0x2d5b65,filter as _0x30b493,throttleTime as _0x54b7ec,takeUntil as _0x3eb302,switchMap as _0x5e7300}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5d449c,getCoordByCell as _0x2356eb,getSheetObject as _0x22c8f9}from'@univerjs/sheets-ui';var v=function(){const _0x3f14fc=_0x2177f1;return v=Object[_0x3f14fc(0x1d8)]||function(_0x5542d0){const _0x200ea2=_0x3f14fc;for(var _0x428c7f,_0x4ae940=0x1,_0x1e7960=arguments['length'];_0x4ae940<_0x1e7960;_0x4ae940++){_0x428c7f=arguments[_0x4ae940];for(var _0x53b387 in _0x428c7f)Object['prototype'][_0x200ea2(0x1b6)]['call'](_0x428c7f,_0x53b387)&&(_0x5542d0[_0x53b387]=_0x428c7f[_0x53b387]);}return _0x5542d0;},v[_0x3f14fc(0x197)](this,arguments);},ci=function(_0x16042e,_0x1804d8){const _0x4ef1f3=_0x2177f1;var _0x2b15d3={};for(var _0x564656 in _0x16042e)Object[_0x4ef1f3(0x202)]['hasOwnProperty']['call'](_0x16042e,_0x564656)&&_0x1804d8[_0x4ef1f3(0x166)](_0x564656)<0x0&&(_0x2b15d3[_0x564656]=_0x16042e[_0x564656]);if(_0x16042e!=null&&typeof Object[_0x4ef1f3(0x178)]==_0x4ef1f3(0x8d)){for(var _0x3b6e48=0x0,_0x564656=Object[_0x4ef1f3(0x178)](_0x16042e);_0x3b6e48<_0x564656['length'];_0x3b6e48++)_0x1804d8[_0x4ef1f3(0x166)](_0x564656[_0x3b6e48])<0x0&&Object[_0x4ef1f3(0x202)]['propertyIsEnumerable']['call'](_0x16042e,_0x564656[_0x3b6e48])&&(_0x2b15d3[_0x564656[_0x3b6e48]]=_0x16042e[_0x564656[_0x3b6e48]]);}return _0x2b15d3;},ke=_0x4c7b0f(function(_0x46f0ce,_0x152381){const _0x1aa33c=_0x2177f1;var _0x113023=_0x46f0ce['icon'],_0x5b8418=_0x46f0ce['id'],_0x5c026d=_0x46f0ce[_0x1aa33c(0x226)],_0x430766=_0x46f0ce['extend'],_0x5c7330=ci(_0x46f0ce,[_0x1aa33c(0x1b7),'id',_0x1aa33c(0x226),_0x1aa33c(0x238)]),_0x2e1596=_0x1aa33c(0x26c)['concat'](_0x5b8418,'\x20')['concat'](_0x5c026d||'')['trim'](),_0x2e03a3=_0x58ab96('_'[_0x1aa33c(0x8f)](hi()));return Rt(_0x113023,''[_0x1aa33c(0x8f)](_0x5b8418),{'defIds':_0x113023[_0x1aa33c(0x1f6)],'idSuffix':_0x2e03a3['current']},v({'ref':_0x152381,'className':_0x2e1596},_0x5c7330),_0x430766);});function Rt(_0x4f9050,_0x1e19a6,_0x1685ed,_0x40b5e3,_0x56d40c){const _0xbe70fa=_0x2177f1;return _0x3da56d(_0x4f9050[_0xbe70fa(0x225)],v(v({'key':_0x1e19a6},li(_0x4f9050,_0x1685ed,_0x56d40c)),_0x40b5e3),(_i(_0x4f9050,_0x1685ed)[_0xbe70fa(0x1c0)]||[])[_0xbe70fa(0x1e6)](function(_0x38e043,_0x5156b7){const _0x444876=_0xbe70fa;return Rt(_0x38e043,''[_0x444876(0x8f)](_0x1e19a6,'-')['concat'](_0x4f9050[_0x444876(0x225)],'-')[_0x444876(0x8f)](_0x5156b7),_0x1685ed,void 0x0,_0x56d40c);}));}function li(_0x46bf08,_0x3a07ef,_0x20436a){const _0x42fbba=_0x2177f1;var _0x4a868a=v({},_0x46bf08[_0x42fbba(0xb1)]);_0x20436a!=null&&_0x20436a['colorChannel1']&&_0x4a868a[_0x42fbba(0x93)]===_0x42fbba(0x272)&&(_0x4a868a['fill']=_0x20436a[_0x42fbba(0x272)]),_0x46bf08[_0x42fbba(0x225)]===_0x42fbba(0x156)&&_0x4a868a['id']&&(_0x4a868a['id']=_0x4a868a['id']+_0x3a07ef['idSuffix']),Object[_0x42fbba(0x175)](_0x4a868a)['forEach'](function(_0x88187f){const _0x4dcb59=_0x42fbba;var _0x2ef340=_0x88187f[0x0],_0x2b500f=_0x88187f[0x1];_0x2ef340===_0x4dcb59(0x156)&&typeof _0x2b500f==_0x4dcb59(0x288)&&(_0x4a868a[_0x2ef340]=_0x2b500f[_0x4dcb59(0x1a8)](/url\(#(.*)\)/,'url(#$1'[_0x4dcb59(0x8f)](_0x3a07ef[_0x4dcb59(0x1b9)],')')));});var _0x428336=_0x3a07ef['defIds'];return!_0x428336||_0x428336['length']===0x0||(_0x46bf08[_0x42fbba(0x225)]==='use'&&_0x4a868a[_0x42fbba(0x259)]&&(_0x4a868a[_0x42fbba(0x259)]=_0x4a868a[_0x42fbba(0x259)]+_0x3a07ef[_0x42fbba(0x1b9)]),Object['entries'](_0x4a868a)[_0x42fbba(0x268)](function(_0x4cb5ea){const _0x18e45e=_0x42fbba;var _0x122a80=_0x4cb5ea[0x0],_0x32e74d=_0x4cb5ea[0x1];typeof _0x32e74d==_0x18e45e(0x288)&&(_0x4a868a[_0x122a80]=_0x32e74d['replace'](/url\(#(.*)\)/,_0x18e45e(0x1be)[_0x18e45e(0x8f)](_0x3a07ef[_0x18e45e(0x1b9)],')')));})),_0x4a868a;}function _i(_0x363caf,_0x488a86){const _0x24f925=_0x2177f1;var _0x488765,_0x21a0c8=_0x488a86['defIds'];return!_0x21a0c8||_0x21a0c8[_0x24f925(0x21e)]===0x0?_0x363caf:_0x363caf[_0x24f925(0x225)]===_0x24f925(0x19e)&&(!((_0x488765=_0x363caf[_0x24f925(0x1c0)])===null||_0x488765===void 0x0)&&_0x488765[_0x24f925(0x21e)])?v(v({},_0x363caf),{'children':_0x363caf[_0x24f925(0x1c0)][_0x24f925(0x1e6)](function(_0x1bd3b8){const _0x48b2e9=_0x24f925;return typeof _0x1bd3b8['attrs']['id']==_0x48b2e9(0x288)&&_0x21a0c8&&_0x21a0c8[_0x48b2e9(0x1ce)](_0x1bd3b8[_0x48b2e9(0xb1)]['id'])?v(v({},_0x1bd3b8),{'attrs':v(v({},_0x1bd3b8[_0x48b2e9(0xb1)]),{'id':_0x1bd3b8['attrs']['id']+_0x488a86[_0x48b2e9(0x1b9)]})}):_0x1bd3b8;})}):_0x363caf;}function hi(){const _0x259b22=_0x2177f1;return Math[_0x259b22(0x91)]()[_0x259b22(0x1b3)](0x24)['substring'](0x2,0x8);}ke[_0x2177f1(0x122)]=_0x2177f1(0xf3);var ui={'tag':_0x2177f1(0xdf),'attrs':{'xmlns':_0x2177f1(0x27b),'fill':_0x2177f1(0xd4),'viewBox':_0x2177f1(0x109),'width':_0x2177f1(0x13d),'height':_0x2177f1(0x13d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2177f1(0xb6)},'children':[{'tag':_0x2177f1(0x190),'attrs':{'stroke':_0x2177f1(0x23b),'d':_0x2177f1(0x253),'strokeLinecap':_0x2177f1(0x124),'strokeLinejoin':_0x2177f1(0x124),'strokeWidth':1.2}}]},{'tag':_0x2177f1(0x19e),'attrs':{},'children':[{'tag':_0x2177f1(0xd1),'attrs':{'id':_0x2177f1(0xb9)},'children':[{'tag':'path','attrs':{'fill':_0x2177f1(0x10a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2177f1(0xb9)]},Dt=_0x4c7b0f(function(_0x51ab28,_0x141010){const _0x5ed97f=_0x2177f1;return _0x3da56d(ke,Object[_0x5ed97f(0x1d8)]({},_0x51ab28,{'id':'off-line-icon','ref':_0x141010,'icon':ui}));});Dt['displayName']='OffLineIcon';var di={'tag':_0x2177f1(0xdf),'attrs':{'xmlns':_0x2177f1(0x27b),'fill':'none','viewBox':_0x2177f1(0x14c),'width':_0x2177f1(0x13d),'height':_0x2177f1(0x13d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2177f1(0xa4)},'children':[{'tag':_0x2177f1(0x190),'attrs':{'stroke':_0x2177f1(0x23b),'d':_0x2177f1(0x1ed),'strokeLinecap':'round','strokeLinejoin':_0x2177f1(0x124),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2177f1(0xd1),'attrs':{'id':_0x2177f1(0x25d)},'children':[{'tag':_0x2177f1(0x190),'attrs':{'fill':_0x2177f1(0x10a),'d':_0x2177f1(0x139),'transform':_0x2177f1(0x1f4)}}]}]}],'defIds':[_0x2177f1(0x25d)]},Nt=_0x4c7b0f(function(_0x55622a,_0x479b19){const _0x523372=_0x2177f1;return _0x3da56d(ke,Object[_0x523372(0x1d8)]({},_0x55622a,{'id':_0x523372(0xce),'ref':_0x479b19,'icon':di}));});Nt[_0x2177f1(0x122)]=_0x2177f1(0x230);function fi(_0x3f164a){const _0x40fc51=_0x2177f1;switch(_0x3f164a){case _0x2b11ed[_0x40fc51(0x271)]:return _0x40fc51(0x16e);case _0x2b11ed[_0x40fc51(0xff)]:return _0x40fc51(0xbc);case _0x2b11ed[_0x40fc51(0xee)]:return _0x40fc51(0x207);case _0x2b11ed[_0x40fc51(0x1bb)]:return'collabStatus.notCollab';case _0x2b11ed['AWAITING']:case _0x2b11ed[_0x40fc51(0x1e3)]:return _0x40fc51(0x1dd);case _0x2b11ed['SYNCED']:case _0x2b11ed[_0x40fc51(0xc1)]:return _0x40fc51(0x92);}}function Si(_0x2c95ab){const _0x2ae34d=_0x2177f1,{status$:_0xa62322}=_0x2c95ab,_0x2d1bd2=_0x3b80b8(_0xa62322,_0x2b11ed[_0x2ae34d(0x1bb)]),_0x5270e3=_0x10b311(_0x3cfee4),_0x2e8d5a=_0x10b311(_0x358aff),_0x2da482=_0x2d1bd2!==_0x2b11ed[_0x2ae34d(0x271)],_0x118471=_0x5270e3['t'](fi(_0x2d1bd2)),_0x1669df=_0x2da482?_0x5bd089(Nt,{}):_0x5bd089(Dt,{}),_0x2d2087=_0x15dc97(()=>{const _0x333c2e=_0x2ae34d;_0x2da482||_0x2e8d5a[_0x333c2e(0x1ec)]();},[_0x2da482,_0x2e8d5a]);function _0x2c9988(){const _0x18fdd7=_0x2ae34d;return _0x326537(_0x18fdd7(0x135),{'className':_0x18fdd7(0x1f8),'onClick':_0x2d2087,'children':[_0x5bd089('div',{'className':_0x5eecc3(_0x18fdd7(0x96),{'univer-text-green-500':_0x2da482,'univer-text-red-500':!_0x2da482}),'children':_0x1669df}),_0x5bd089(_0x18fdd7(0x135),{'className':_0x18fdd7(0x100),'children':_0x118471})]});}return _0x2da482?_0x2c9988():_0x5bd089(_0x5b7944,{'title':_0x5270e3['t'](_0x2ae34d(0x1fa)),'children':_0x2c9988()});}var mi=Object[_0x2177f1(0x255)],Ii=(_0x400de0,_0x4f66ac,_0x2cbd99,_0x5e85c6)=>{const _0x1f7540=_0x2177f1;for(var _0x504fdd=_0x5e85c6>0x1?void 0x0:_0x5e85c6?mi(_0x4f66ac,_0x2cbd99):_0x4f66ac,_0x570618=_0x400de0[_0x1f7540(0x21e)]-0x1,_0x46e5d7;_0x570618>=0x0;_0x570618--)(_0x46e5d7=_0x400de0[_0x570618])&&(_0x504fdd=_0x46e5d7(_0x504fdd)||_0x504fdd);return _0x504fdd;},q=(_0x416113,_0x237a90)=>(_0x418a07,_0x23b24a)=>_0x237a90(_0x418a07,_0x23b24a,_0x416113);let se=class extends _0x37d18c{constructor(_0x551af8,_0x3f9e75,_0x2b2348,_0x318a33){const _0x273646=_0x2177f1;super(),_(this,_0x273646(0x244),new _0x40a9ba(_0x2b11ed['NOT_COLLAB'])),(this[_0x273646(0x1cf)]=_0x551af8,this[_0x273646(0x159)]=_0x3f9e75,this['_collaborationController']=_0x2b2348,this[_0x273646(0x10d)]=_0x318a33,this[_0x273646(0x285)](),this[_0x273646(0x245)]());}[_0x2177f1(0x245)](){const _0x38e1a9=_0x2177f1;this[_0x38e1a9(0x165)](this['_univerInstanceService']['focused$'][_0x38e1a9(0x20c)](_0x40cc7b(()=>{const _0x188947=_0x38e1a9,_0x35164e=this['_univerInstanceService']['getFocusedUnit']();return _0x35164e?this[_0x188947(0x1a6)][_0x188947(0x1e2)](_0x35164e[_0x188947(0x15e)]()):_0x2f4fa4(null);}),_0x40cc7b(_0x380225=>_0x380225?_0x380225[_0x38e1a9(0x10b)]:_0x2f4fa4(_0x2b11ed[_0x38e1a9(0x1bb)])))[_0x38e1a9(0x258)](_0x3828b2=>{const _0x29304d=_0x38e1a9;this[_0x29304d(0x244)][_0x29304d(0x1b8)](_0x3828b2);}));}['_initStatusComponent'](){const _0x4e17a4=_0x2177f1;this[_0x4e17a4(0x165)](this[_0x4e17a4(0x10d)][_0x4e17a4(0x125)](_0x1d65e8[_0x4e17a4(0x208)],()=>_0x24619e(vi({'status$':this[_0x4e17a4(0x244)][_0x4e17a4(0x1af)]()}),this[_0x4e17a4(0x159)])));}};se=Ii([q(0x0,_0xa159bd),q(0x1,_0x3a3e27(_0xf5f0c3)),q(0x2,_0x3a3e27(_0x41dce7)),q(0x3,_0x22029f)],se);function vi(_0x4814b0){const {status$:_0x20cd98}=_0x4814b0;return function(){return _0x5bd089(Si,{'status$':_0x20cd98});};}const Ut=_0x38c531(_0x2177f1(0x24c));var gi=Object[_0x2177f1(0x255)],pi=(_0x13d996,_0x2ee8e5,_0x15622e,_0x1f7ebf)=>{const _0x58ace4=_0x2177f1;for(var _0x543410=_0x1f7ebf>0x1?void 0x0:_0x1f7ebf?gi(_0x2ee8e5,_0x15622e):_0x2ee8e5,_0x2542b1=_0x13d996[_0x58ace4(0x21e)]-0x1,_0x2b2160;_0x2542b1>=0x0;_0x2542b1--)(_0x2b2160=_0x13d996[_0x2542b1])&&(_0x543410=_0x2b2160(_0x543410)||_0x543410);return _0x543410;},G=(_0x39c71a,_0x13e55b)=>(_0x34d872,_0x352839)=>_0x13e55b(_0x34d872,_0x352839,_0x39c71a);let ie=class extends _0x5cede8{constructor(_0x3ca2e2,_0x562611,_0x3d32b1,_0x4992f0,_0x2ddb01){const _0x21e69a=_0x2177f1;super(),this[_0x21e69a(0x130)]=_0x3ca2e2,this[_0x21e69a(0x126)]=_0x562611,this[_0x21e69a(0x12d)]=_0x3d32b1,this[_0x21e69a(0x95)]=_0x4992f0,_0x2ddb01?_0x2ddb01==null||_0x2ddb01['whenReady']()[_0x21e69a(0x144)](()=>this['_init']()):(this[_0x21e69a(0x126)][_0x21e69a(0x204)](_0x21e69a(0xc6),_0x21e69a(0x19c)),this[_0x21e69a(0x1c4)]());}async['_init'](){const _0x2f01e6=_0x2177f1,_0x107c6c=this['_urlService']['getParam']('unit'),_0x426491=this[_0x2f01e6(0x130)][_0x2f01e6(0x13e)](_0x2f01e6(0xed)),_0x18f59b=this['_urlService']['getParam'](_0x2f01e6(0x20e));if(!_0x107c6c||!_0x426491){this[_0x2f01e6(0x126)][_0x2f01e6(0x204)](_0x2f01e6(0xc6),_0x2f01e6(0x176));return;}const _0x13b130=await this[_0x2f01e6(0x95)][_0x2f01e6(0x147)](_0x107c6c,Number(_0x426491),_0x18f59b);_0x13b130&&_0x13b130 instanceof _0x27d4b9&&this[_0x2f01e6(0x1e8)](_0x13b130);}async[_0x2177f1(0x1e8)](_0x3409fb){const _0x8179b8=_0x2177f1;await this[_0x8179b8(0x115)](_0x3409fb),_0x3409fb[_0x8179b8(0x89)]['pipe'](_0x37dacf(this['dispose$']))[_0x8179b8(0x258)](_0x11b085=>{_0x11b085&&this['_updateURLWithCurrentState'](_0x11b085);}),this[_0x8179b8(0x130)][_0x8179b8(0x1b0)][_0x8179b8(0x20c)](_0x37dacf(this[_0x8179b8(0x1e4)]))['subscribe'](()=>this[_0x8179b8(0x115)](_0x3409fb));}['_updateURLWithCurrentState'](_0x46bd4e,_0x1e21be=!0x1){const _0xd994aa=_0x2177f1,_0x5b867b=this[_0xd994aa(0x130)][_0xd994aa(0x13e)]('subunit');_0x46bd4e[_0xd994aa(0xc5)]()!==_0x5b867b&&this[_0xd994aa(0x130)][_0xd994aa(0xae)](_0xd994aa(0x20e),_0x46bd4e[_0xd994aa(0xc5)](),_0x1e21be);}async[_0x2177f1(0x115)](_0x24250c){const _0x16bf3b=_0x2177f1;var _0x17682c;const _0x543e2d=this[_0x16bf3b(0x130)][_0x16bf3b(0x13e)](_0x16bf3b(0x20e));if(!_0x543e2d||!_0x24250c[_0x16bf3b(0x16d)](_0x543e2d)){const _0x491d04=_0x24250c[_0x16bf3b(0x160)]()[0x0],_0x410fb5=_0x24250c[_0x16bf3b(0x16d)](_0x491d04);if(!_0x410fb5)return;this[_0x16bf3b(0xaa)](_0x410fb5,!0x0),await this['_commandService']['executeCommand'](_0x3bfec0['id'],{'unitId':_0x24250c[_0x16bf3b(0x15e)](),'subUnitId':_0x491d04});return;}((_0x17682c=_0x24250c[_0x16bf3b(0x13a)]())==null?void 0x0:_0x17682c['getSheetId']())!==_0x543e2d&&await this['_commandService'][_0x16bf3b(0x158)](_0x3bfec0['id'],{'unitId':_0x24250c[_0x16bf3b(0x15e)](),'subUnitId':_0x543e2d});}};ie=pi([G(0x0,Ut),G(0x1,_0x5aa2dc),G(0x2,_0x66ee7e),G(0x3,_0x3a3e27(_0x31fcfe)),G(0x4,_0x4cc297(_0x3df6c6))],ie);var Ci=Object[_0x2177f1(0x255)],Ei=(_0x476c24,_0x1af70f,_0x294b56,_0x412fa9)=>{const _0x424a1f=_0x2177f1;for(var _0x17fe83=_0x412fa9>0x1?void 0x0:_0x412fa9?Ci(_0x1af70f,_0x294b56):_0x1af70f,_0x29ed26=_0x476c24[_0x424a1f(0x21e)]-0x1,_0x59f651;_0x29ed26>=0x0;_0x29ed26--)(_0x59f651=_0x476c24[_0x29ed26])&&(_0x17fe83=_0x59f651(_0x17fe83)||_0x17fe83);return _0x17fe83;},Je=(_0x202f9c,_0x572c72)=>(_0x2a50e8,_0x300fd3)=>_0x572c72(_0x2a50e8,_0x300fd3,_0x202f9c);let Ne=class extends _0x5cede8{constructor(_0x1c765b,_0x13ac29){const _0x22dd24=_0x2177f1;super(),this[_0x22dd24(0x228)]=_0x1c765b,this['_imageIoService']=_0x13ac29,this[_0x22dd24(0x1c4)]();}[_0x2177f1(0x1c4)](){const _0x490229=_0x2177f1,_0x175363=this;this[_0x490229(0x165)](this[_0x490229(0x228)][_0x490229(0x24b)]({'onBeforePasteImage':async _0x56cd37=>{const _0x15f66a=_0x490229,_0x47c5b3=await _0x175363[_0x15f66a(0x1f7)][_0x15f66a(0x11d)](_0x56cd37);return _0x47c5b3?{'source':_0x47c5b3[_0x15f66a(0x134)],'imageSourceType':_0x47c5b3['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x56b44e),Je(0x1,_0x556a87)],Ne);const Ze=[_0x2177f1(0xa6),'jiqing.500',_0x2177f1(0xaf),_0x2177f1(0x22b),'blue.400',_0x2177f1(0x186)];class He extends _0x37d18c{constructor(){const _0x1b965d=_0x2177f1;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x1b965d(0x1d4),0x0);}['assignAColorForMemberID'](_0x59e2a5){const _0x266269=_0x2177f1;if(this[_0x266269(0x111)]['has'](_0x59e2a5))return this[_0x266269(0x111)][_0x266269(0x1fc)](_0x59e2a5);const _0x20850f=Ze[this[_0x266269(0x1d4)]];return this[_0x266269(0x1d4)]=(this[_0x266269(0x1d4)]+0x1)%Ze[_0x266269(0x21e)],this[_0x266269(0x111)][_0x266269(0xa8)](_0x59e2a5,_0x20850f),_0x20850f;}}function _0x74ea(_0x3bc7ec,_0x2f3b2f){const _0xb0db65=_0xb0db();return _0x74ea=function(_0x74ea86,_0x1fbe69){_0x74ea86=_0x74ea86-0x81;let _0x28f39c=_0xb0db65[_0x74ea86];return _0x28f39c;},_0x74ea(_0x3bc7ec,_0x2f3b2f);}function Mt(_0x5889bf){const _0x33ec44=_0x2177f1;let _0x17b5fb='';for(const _0x1299f7 of _0x5889bf){const {startOffset:_0x3ccbb9,endOffset:_0x4bd691,isActive:_0x336a53,rangeType:_0x55974b,segmentId:_0x1a4e08,segmentPage:_0x2adfc5}=_0x1299f7;_0x17b5fb[_0x33ec44(0x21e)]&&(_0x17b5fb+=','),_0x17b5fb+=_0x3ccbb9+':'+_0x4bd691+':'+(_0x336a53?'1':'0')+':'+_0x55974b+':'+_0x1a4e08+':'+_0x2adfc5;}return _0x17b5fb;}function Oi(_0x1bb553){const _0x325eab=_0x2177f1,_0x51d260=_0x1bb553[_0x325eab(0x263)](','),_0x28631d=[];for(const _0x54ab5b of _0x51d260){const [_0x1554e9,_0x427097,_0x11a200,_0x4c3b9c,_0x1495d9,_0x39c8c4]=_0x54ab5b[_0x325eab(0x263)](':');_0x28631d[_0x325eab(0xd2)]({'startOffset':Number(_0x1554e9),'endOffset':Number(_0x427097),'collapsed':_0x1554e9===_0x427097,'isActive':_0x11a200==='1','rangeType':_0x4c3b9c===_0x87fbc8[_0x325eab(0x179)]?_0x87fbc8['TEXT']:_0x87fbc8[_0x325eab(0x157)],'segmentId':typeof _0x1495d9==_0x325eab(0x288)?String(_0x1495d9):'','segmentPage':Number(_0x39c8c4!=null?_0x39c8c4:-0x1)});}return _0x28631d[_0x325eab(0xfc)](_0x3f207f=>_0x3f207f[_0x325eab(0x254)])||(_0x28631d[0x0][_0x325eab(0x254)]=!0x0),_0x28631d;}class Fe extends _0x5cede8{constructor(){const _0x1839e=_0x2177f1;super(...arguments),_(this,_0x1839e(0x1f3),new _0x40a9ba(null)),_(this,_0x1839e(0x1c1),this[_0x1839e(0x1f3)]['asObservable']());}[_0x2177f1(0x8e)](_0x349d62){const _0x1b1cb5=_0x2177f1,{unitID:_0x1df95c,memberID:_0x45fd97,textRanges:_0x5390d4}=_0x349d62,_0x3b8541=Mt(_0x5390d4);if(_0x3b8541==='')return;const _0x19531c={'unitID':_0x1df95c,'memberID':_0x45fd97,'selection':_0x3b8541};this[_0x1b1cb5(0x1f3)][_0x1b1cb5(0x1b8)](_0x19531c);}}var bi=Object[_0x2177f1(0x255)],Ti=(_0x426f63,_0x64ee62,_0x26bb67,_0x14c3f4)=>{const _0x4e3944=_0x2177f1;for(var _0x27c392=_0x14c3f4>0x1?void 0x0:_0x14c3f4?bi(_0x64ee62,_0x26bb67):_0x64ee62,_0x2c2123=_0x426f63[_0x4e3944(0x21e)]-0x1,_0x4d6533;_0x2c2123>=0x0;_0x2c2123--)(_0x4d6533=_0x426f63[_0x2c2123])&&(_0x27c392=_0x4d6533(_0x27c392)||_0x27c392);return _0x27c392;},P=(_0x3fec72,_0x429e74)=>(_0x7d7570,_0x169049)=>_0x429e74(_0x7d7570,_0x169049,_0x3fec72);const Ri=0x12c,Di=0x64;let Ue=class extends _0x5cede8{constructor(_0x328673,_0x1f2542,_0x46dba0,_0x498e46,_0x5cbd58,_0x2e278a,_0x27006d,_0x4086b0,_0x42bcc0){const _0x8ce225=_0x2177f1;super(),_(this,_0x8ce225(0xbb),!0x1),_(this,_0x8ce225(0x1c4),!0x1),_(this,'_cursorInfo$',new _0x40a9ba(new Map())),_(this,_0x8ce225(0x18a),this[_0x8ce225(0x203)][_0x8ce225(0x1af)]()),_(this,_0x8ce225(0x9e),new _0x40a9ba([])),_(this,_0x8ce225(0x22c),this[_0x8ce225(0x9e)]['pipe'](_0x4475cb(Ri))),_(this,_0x8ce225(0xba),_0x5934e1(_0x4970d4=>{const _0x425cdc=_0x8ce225,_0x5c766d={'eventID':_0x5ae6bd[_0x425cdc(0x17b)],'data':{'unitID':this[_0x425cdc(0x1a1)],'memberID':this[_0x425cdc(0x23a)][_0x425cdc(0x239)](),'selection':Mt(_0x4970d4)}};this[_0x425cdc(0x23a)]['send'](_0x5c766d,this[_0x425cdc(0x1a1)]);},Di)),(this[_0x8ce225(0x1a1)]=_0x328673,this[_0x8ce225(0x23a)]=_0x1f2542,this['_injector']=_0x46dba0,this[_0x8ce225(0x16f)]=_0x498e46,this[_0x8ce225(0x1db)]=_0x5cbd58,this[_0x8ce225(0x27c)]=_0x2e278a,this[_0x8ce225(0x1e0)]=_0x27006d,this[_0x8ce225(0x1cf)]=_0x4086b0,this[_0x8ce225(0x12d)]=_0x42bcc0);}get[_0x2177f1(0x224)](){const _0x25a179=_0x2177f1;return this['_cursorInfo$'][_0x25a179(0x250)]();}get[_0x2177f1(0x252)](){const _0x18226b=_0x2177f1;return this['_roomMembers$'][_0x18226b(0x250)]();}['dispose'](){const _0x3c8f0b=_0x2177f1;super['dispose'](),this[_0x3c8f0b(0x203)][_0x3c8f0b(0x1b8)](new Map()),this[_0x3c8f0b(0x203)][_0x3c8f0b(0x20b)](),this[_0x3c8f0b(0x9e)][_0x3c8f0b(0x1b8)]([]),this['_roomMembers$'][_0x3c8f0b(0x20b)]();}['init'](){const _0x532460=_0x2177f1;this[_0x532460(0x1c4)]||(this[_0x532460(0x1c4)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x37dacf(this[_0x532460(0x1e4)]))[_0x532460(0x258)](_0x292025=>{const _0xdffc32=_0x532460;_0x292025===_0x58d779['ONLINE']?this[_0xdffc32(0x84)]():this[_0xdffc32(0x133)]();}),this['_session'][_0x532460(0x234)][_0x532460(0x20c)](_0x37dacf(this[_0x532460(0x1e4)]))['subscribe'](_0x29ac6b=>{const _0x1bd484=_0x532460,_0x11dce3=_0x29ac6b[_0x1bd484(0x20f)];_0x11dce3===_0x5ae6bd[_0x1bd484(0x17b)]&&this[_0x1bd484(0x1c7)](_0x29ac6b),_0x11dce3===_0x5ae6bd['USERS_LEAVE']&&this[_0x1bd484(0xcb)](_0x29ac6b);}),this['disposeWithMe'](this[_0x532460(0x12d)][_0x532460(0x22a)](_0x486871=>{const _0x4d7866=_0x532460,_0x14c5c7=_0x486871[_0x4d7866(0x15a)];_0x14c5c7!=null&&this[_0x4d7866(0xbb)]&&_0x486871['id']===_0x4a03a9['id']&&_0x14c5c7[_0x4d7866(0x216)]===this['unitID']&&_0x14c5c7['isEditing']===!0x1&&_0x14c5c7[_0x4d7866(0x1d3)][_0x4d7866(0x21e)]>0x0&&this[_0x4d7866(0xba)](_0x14c5c7[_0x4d7866(0x1d3)]);})),this[_0x532460(0x27c)][_0x532460(0x1c1)][_0x532460(0x20c)](_0x37dacf(this[_0x532460(0x1e4)]))[_0x532460(0x258)](_0x4346f0=>{const _0x581ade=_0x532460;if((_0x4346f0==null?void 0x0:_0x4346f0[_0x581ade(0x1a1)])!==this[_0x581ade(0x1a1)])return;const _0x49a4f6={'eventID':_0x5ae6bd[_0x581ade(0x17b)],'data':_0x4346f0};this[_0x581ade(0x1c7)](_0x49a4f6);}),this[_0x532460(0x165)](this[_0x532460(0x12d)]['onCommandExecuted'](_0x168452=>{const _0x9e98bd=_0x532460;if(_0x168452['params']==null)return;const _0x34d5ed=_0x168452[_0x9e98bd(0x15a)];if(_0x168452['id']!==_0xb9a185['id']||_0x34d5ed[_0x9e98bd(0x216)]!==this[_0x9e98bd(0x1a1)])return;const _0x64630d={'id':_0x9e98bd(0xd6),'params':_0x34d5ed},_0x288ee9=this[_0x9e98bd(0x224)];for(const [_0x5e097a,_0x15b322]of _0x288ee9){const _0x50989f={'id':_0x9e98bd(0xd6),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x15b322['ranges']}},_0x14d8f4=this['_transformService'][_0x9e98bd(0x276)](_0x64630d,_0x50989f,!0x1);if(_0x2a9d79(_0x14d8f4))throw _0x14d8f4[_0x9e98bd(0xd3)];_0x288ee9[_0x9e98bd(0xa8)](_0x5e097a,{..._0x15b322,'ranges':_0x14d8f4['m2Prime'][_0x9e98bd(0x15a)]['textRanges']});}queueMicrotask(()=>{const _0x545f45=_0x9e98bd;this[_0x545f45(0x203)]['next'](_0x288ee9);});})));}[_0x2177f1(0x1c7)](_0x40e0b9){const _0x1fb886=_0x2177f1;var _0x229d6d,_0x300a17;const {memberID:_0x5c119d,selection:_0x5ae906}=_0x40e0b9['data'],_0x2b32ab=Oi(_0x5ae906),_0x467dac=(_0x300a17=(_0x229d6d=this[_0x1fb886(0x1db)][_0x1fb886(0x9b)](this[_0x1fb886(0x1a1)],_0x5c119d))==null?void 0x0:_0x229d6d[_0x1fb886(0x19b)])!=null?_0x300a17:'Unknown\x20user',_0x362f05={'color':this[_0x1fb886(0x16f)][_0x1fb886(0x209)](_0x5c119d),'name':_0x467dac,'ranges':_0x2b32ab},_0x1cf3bc=this[_0x1fb886(0x224)];_0x1cf3bc[_0x1fb886(0xa8)](_0x5c119d,_0x362f05),this[_0x1fb886(0x203)]['next'](_0x1cf3bc);}[_0x2177f1(0xcb)](_0x49da6c){const _0x19f2d5=_0x2177f1,{memberID:_0x5d2ffc}=_0x49da6c['data'],_0x4d2063=this[_0x19f2d5(0x224)];_0x4d2063['delete'](_0x5d2ffc),this['_cursorInfo$'][_0x19f2d5(0x1b8)](_0x4d2063);}[_0x2177f1(0x84)](){const _0x42dd88=_0x2177f1;var _0x117de9;if(this['_online']=!0x0,((_0x117de9=this[_0x42dd88(0x1cf)][_0x42dd88(0x1e9)]())==null?void 0x0:_0x117de9[_0x42dd88(0x15e)]())!==this['unitID'])return;const _0x3fd6e2=this[_0x42dd88(0x159)]['get'](_0x472df9)['getDocRanges']();Array['isArray'](_0x3fd6e2)&&_0x3fd6e2['length']>0x0&&this[_0x42dd88(0xba)](_0x3fd6e2);}[_0x2177f1(0x133)](){const _0x24108e=_0x2177f1;this[_0x24108e(0xbb)]=!0x1;}};Ue=Ti([P(0x2,_0x3a3e27(_0xf5f0c3)),P(0x3,_0x3a3e27(He)),P(0x4,_0x3a3e27(_0xd22475)),P(0x5,_0x3a3e27(Fe)),P(0x6,_0x89403f),P(0x7,_0xa159bd),P(0x8,_0x66ee7e)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x511874,_0x229b06,_0x1965cb,_0x4b0176)=>{const _0x3429cd=_0x2177f1;for(var _0xa810b2=_0x4b0176>0x1?void 0x0:_0x4b0176?Ni(_0x229b06,_0x1965cb):_0x229b06,_0x1ad840=_0x511874[_0x3429cd(0x21e)]-0x1,_0x363ad4;_0x1ad840>=0x0;_0x1ad840--)(_0x363ad4=_0x511874[_0x1ad840])&&(_0xa810b2=_0x363ad4(_0xa810b2)||_0xa810b2);return _0xa810b2;},x=(_0x3e071e,_0xee22ea)=>(_0x42d7be,_0x3319c8)=>_0xee22ea(_0x42d7be,_0x3319c8,_0x3e071e);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x365c34=[],_0x3571eb=!0x1;return _0x53dd05=>{const _0x308498=_0x74ea;_0x365c34[_0x308498(0xd2)](_0x53dd05),_0x3571eb||(_0x3571eb=!0x0,setTimeout(()=>{const _0x5c70bc=_0x308498;_0x365c34[_0x5c70bc(0x268)](_0x49aeb5=>_0x49aeb5()),_0x365c34=[],_0x3571eb=!0x1;}));};};let Me=class extends _0x5cede8{constructor(_0x139865,_0x3a60a1,_0xddd114,_0x1b7344,_0x5340c6,_0x52412b,_0x439fa8,_0x281528){const _0x403b9c=_0x2177f1;super(),_(this,'_online',!0x1),_(this,_0x403b9c(0x1c4),!0x1),_(this,_0x403b9c(0x203),new _0x40a9ba(new Map())),_(this,'cursorInfo$',this[_0x403b9c(0x203)][_0x403b9c(0x1af)]()),_(this,'_roomMembers$',new _0x40a9ba([])),_(this,'roomMembers$',this[_0x403b9c(0x9e)]['pipe'](_0x4475cb(Mi))),_(this,_0x403b9c(0xba),_0x5934e1((_0x83fd9a,_0x580104)=>{const _0x1e0aa7=_0x403b9c,_0xb1bda6={'eventID':_0x5ae6bd[_0x1e0aa7(0x17b)],'data':{'unitID':this[_0x1e0aa7(0x1a1)],'memberID':this['_session'][_0x1e0aa7(0x239)](),'selection':_0x2ba447(_0x83fd9a,_0x580104['range'])}};this[_0x1e0aa7(0x23a)][_0x1e0aa7(0x16c)](_0xb1bda6,this[_0x1e0aa7(0x1a1)]);},Li)),(this['unitID']=_0x139865,this[_0x403b9c(0x23a)]=_0x3a60a1,this['_injector']=_0xddd114,this['_colorAssignService']=_0x1b7344,this['_memberService']=_0x5340c6,this[_0x403b9c(0x1cf)]=_0x52412b,this[_0x403b9c(0x12d)]=_0x439fa8,this[_0x403b9c(0x278)]=_0x281528);}get['cursorInfo'](){const _0x49f2bb=_0x2177f1;return this[_0x49f2bb(0x203)]['getValue']();}get['roomMembers'](){const _0x40252e=_0x2177f1;return this['_roomMembers$'][_0x40252e(0x250)]();}[_0x2177f1(0x212)](){const _0xdc9ee1=_0x2177f1;super[_0xdc9ee1(0x212)](),this['_cursorInfo$'][_0xdc9ee1(0x1b8)](new Map()),this[_0xdc9ee1(0x203)][_0xdc9ee1(0x20b)](),this[_0xdc9ee1(0x9e)][_0xdc9ee1(0x1b8)]([]),this['_roomMembers$'][_0xdc9ee1(0x20b)]();}['init'](){const _0x5afae3=_0x2177f1;this[_0x5afae3(0x1c4)]||(this[_0x5afae3(0x1c4)]=!0x0,this['_session'][_0x5afae3(0xf9)][_0x5afae3(0x20c)](_0x37dacf(this[_0x5afae3(0x1e4)]))['subscribe'](_0xbb4c2a=>{const _0x16e32d=_0x5afae3;_0xbb4c2a===_0x58d779['ONLINE']?this[_0x16e32d(0x84)]():this['_toggleOffline']();}),this[_0x5afae3(0x23a)][_0x5afae3(0x234)][_0x5afae3(0x20c)](_0x37dacf(this[_0x5afae3(0x1e4)]))[_0x5afae3(0x258)](_0x412616=>{const _0x2e64d8=_0x5afae3,_0x4204db=_0x412616[_0x2e64d8(0x20f)];_0x4204db===_0x5ae6bd[_0x2e64d8(0x17b)]&&this[_0x2e64d8(0x1c7)](_0x412616),_0x4204db===_0x5ae6bd[_0x2e64d8(0x1da)]&&this[_0x2e64d8(0xcb)](_0x412616);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x5afae3(0x12d)][_0x5afae3(0x22a)](_0x1e0304=>{const _0x585818=_0x5afae3;if(this[_0x585818(0xbb)]&&_0x1e0304['id']===_0x3666e2['id']&&_0x1e0304[_0x585818(0x15a)][_0x585818(0x216)]===this[_0x585818(0x1a1)]){const _0x12aee1=_0x1e0304[_0x585818(0x15a)];this['_updateLocalCursor'](_0x12aee1['subUnitId'],_0x12aee1['selections'][0x0]);}})));}[_0x2177f1(0x1c7)](_0x33d181){const _0x70b67b=_0x2177f1;var _0x2983e2,_0x12779e;const {memberID:_0x2ee9f3,selection:_0x412669}=_0x33d181[_0x70b67b(0xf2)],{sheetName:_0x5e9bff,range:_0x2ef74d}=_0xaf231e(_0x412669),_0x5530a4={'name':(_0x12779e=(_0x2983e2=this[_0x70b67b(0x1db)][_0x70b67b(0x9b)](this[_0x70b67b(0x1a1)],_0x2ee9f3))==null?void 0x0:_0x2983e2['name'])!=null?_0x12779e:'Unknown\x20user','range':this['_getMergeRange'](_0x5e9bff,_0x2ef74d),'sheetID':_0x5e9bff,'color':this[_0x70b67b(0x16f)][_0x70b67b(0x209)](_0x2ee9f3),'selection':_0x412669},_0x4523b7=this[_0x70b67b(0x224)];_0x4523b7[_0x70b67b(0xa8)](_0x2ee9f3,_0x5530a4),this[_0x70b67b(0x203)][_0x70b67b(0x1b8)](_0x4523b7);}[_0x2177f1(0xcb)](_0x3aaecd){const _0x55bc50=_0x2177f1,{memberID:_0x2bcd5f}=_0x3aaecd[_0x55bc50(0xf2)],_0x135b98=this[_0x55bc50(0x224)];_0x135b98['delete'](_0x2bcd5f),this[_0x55bc50(0x203)]['next'](_0x135b98);}['_getMergeRange'](_0x52a42f,_0x5d41e0){const _0x591500=_0x2177f1;var _0x3c3f7d,_0x4d8596;const _0x564784=(_0x4d8596=(_0x3c3f7d=this[_0x591500(0x1cf)][_0x591500(0xad)](this[_0x591500(0x1a1)]))==null?void 0x0:_0x3c3f7d[_0x591500(0x16d)](_0x52a42f))==null?void 0x0:_0x4d8596[_0x591500(0x280)]();return(_0x564784==null?void 0x0:_0x564784[_0x591500(0x102)](_0x378ece=>_0x13c2fc[_0x591500(0xe8)](_0x378ece,_0x5d41e0)))||_0x5d41e0;}[_0x2177f1(0x1aa)](){const _0x4f4cc4=_0x2177f1,_0x13f523=new _0x57dbba(),_0x4c0857=Pi(),_0x18c645=()=>{_0x13f523['dispose']();const _0x371345=(_0x49e283,_0x260f6a,_0x29a886,_0x364ea1)=>{const _0x146d89=_0x74ea;let _0x1885ca=[];switch(_0x49e283['id']){case _0x20c086[_0x146d89(0x251)]:{_0x1885ca=_0x23b281(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0xfe)]:{_0x1885ca=_0x5b0b66(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0x1e1)]:{_0x1885ca=_0x1f204d(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0x21a)]:{_0x1885ca=_0x4043be(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0x1bd)]:{_0x1885ca=_0x84f930(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0xdc)]:{_0x1885ca=_0x2426a7(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0xcf)]:{_0x1885ca=_0x198397(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0x23e)]:{_0x1885ca=_0x56cca8(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0x132)]:{_0x1885ca=_0x2c158a(_0x49e283,_0x364ea1);break;}}const _0x4e3ba0=_0x57d53f(_0x1885ca,_0x364ea1),_0x47fd8d=this[_0x146d89(0x224)][_0x146d89(0x1fc)](_0x260f6a);if(_0x47fd8d&&_0x4e3ba0){const _0x3d4fc4={..._0x47fd8d,'range':_0x4e3ba0};this[_0x146d89(0x224)]['set'](_0x260f6a,_0x3d4fc4),_0x4c0857(()=>{const _0x4df735=_0x146d89,_0xef10be=this[_0x4df735(0x278)][_0x4df735(0x19f)](_0x4e3ba0,_0x1050fb=>(_0xef10be['dispose'](),_0x371345(_0x1050fb,_0x260f6a,_0x29a886,_0x4e3ba0)));_0x13f523[_0x4df735(0x227)](_0xef10be);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4ea0dc,_0x233ef3)=>{const _0x2f7ff3=_0x74ea,{range:_0x1a3b61,sheetID:_0x1d22e2}=_0x4ea0dc,_0x4a3e4d=this[_0x2f7ff3(0x278)]['registerRefRange'](_0x1a3b61,_0x7bc07b=>(_0x4a3e4d['dispose'](),_0x371345(_0x7bc07b,_0x233ef3,_0x1d22e2,_0x1a3b61)));_0x13f523['add'](_0x4a3e4d);});};this[_0x4f4cc4(0x165)](_0x271c95(this[_0x4f4cc4(0x203)][_0x4f4cc4(0x258)](()=>{_0x18c645();})));}[_0x2177f1(0x84)](){const _0x172e23=_0x2177f1;var _0x3ec306,_0x355a02;if(this[_0x172e23(0xbb)]=!0x0,((_0x3ec306=this['_univerInstanceService'][_0x172e23(0x1e9)]())==null?void 0x0:_0x3ec306[_0x172e23(0x15e)]())!==this['unitID'])return;const _0x13c7a3=(_0x355a02=this['_injector'][_0x172e23(0x1fc)](_0x272ee9)['getCurrentSelections']())==null?void 0x0:_0x355a02[0x0],_0x2bb5c4=this['_univerInstanceService'][_0x172e23(0xa7)](_0x1c0ca7[_0x172e23(0x1de)])[_0x172e23(0x13a)]();_0x13c7a3&&_0x2bb5c4&&this[_0x172e23(0xba)](_0x2bb5c4['getSheetId'](),_0x13c7a3);}['_toggleOffline'](){const _0x693ed2=_0x2177f1;this[_0x693ed2(0xbb)]=!0x1;}};Me=Ui([x(0x2,_0x3a3e27(_0xf5f0c3)),x(0x3,_0x3a3e27(He)),x(0x4,_0x3a3e27(_0xd22475)),x(0x5,_0xa159bd),x(0x6,_0x66ee7e),x(0x7,_0x3a3e27(_0x701119))],Me);var wi=Object[_0x2177f1(0x255)],Ai=(_0x57dd36,_0x15e7e7,_0x152043,_0x3d351e)=>{const _0x397ab5=_0x2177f1;for(var _0x50aec4=_0x3d351e>0x1?void 0x0:_0x3d351e?wi(_0x15e7e7,_0x152043):_0x15e7e7,_0x59423d=_0x57dd36[_0x397ab5(0x21e)]-0x1,_0x3db2e8;_0x59423d>=0x0;_0x59423d--)(_0x3db2e8=_0x57dd36[_0x59423d])&&(_0x50aec4=_0x3db2e8(_0x50aec4)||_0x50aec4);return _0x50aec4;},me=(_0x5934d7,_0x523dcc)=>(_0x2df7a9,_0x5d3c7e)=>_0x523dcc(_0x2df7a9,_0x5d3c7e,_0x5934d7);let F=class extends _0x5cede8{constructor(_0x41cd00,_0x57dcde,_0xb2d292){const _0x3baae3=_0x2177f1;super(),_(this,_0x3baae3(0xf0),new Map()),_(this,_0x3baae3(0x106),new _0x3eb5ff()),(this[_0x3baae3(0x1cf)]=_0x41cd00,this[_0x3baae3(0x159)]=_0x57dcde,this['_collabSessionService']=_0xb2d292,this[_0x3baae3(0x1c4)]());}[_0x2177f1(0x212)](){const _0x133e73=_0x2177f1;super['dispose'](),this[_0x133e73(0x106)][_0x133e73(0x20b)](),this['_entities'][_0x133e73(0x268)](_0x420db7=>_0x420db7['dispose']());}[_0x2177f1(0x236)](_0x43ed79){const _0x48e77a=_0x2177f1;return this[_0x48e77a(0xf0)]['has'](_0x43ed79)?this['_entities'][_0x48e77a(0x1fc)](_0x43ed79)[_0x48e77a(0x18a)]:this['_entityInit$'][_0x48e77a(0x20c)](_0x262aa1(_0x33d6aa=>_0x33d6aa[_0x48e77a(0x1a1)]===_0x43ed79),_0x40cc7b(_0x1740d6=>_0x1740d6[_0x48e77a(0x18a)]));}['_init'](){const _0x14c594=_0x2177f1;this[_0x14c594(0x1cf)][_0x14c594(0x194)](_0x1c0ca7[_0x14c594(0x1de)])['pipe'](_0x37dacf(this[_0x14c594(0x1e4)]))[_0x14c594(0x258)](async _0x913201=>{const _0x4eaf6d=_0x14c594,_0x1b0292=_0x913201[_0x4eaf6d(0x15e)](),_0x23faaf=await this[_0x4eaf6d(0xf7)](_0x1b0292);this['_entityInit$'][_0x4eaf6d(0x1b8)](_0x23faaf),this[_0x4eaf6d(0xf0)]['set'](_0x1b0292,_0x23faaf);}),this['_univerInstanceService'][_0x14c594(0x194)](_0x1c0ca7['UNIVER_DOC'])[_0x14c594(0x20c)](_0x37dacf(this[_0x14c594(0x1e4)]))['pipe'](_0x262aa1(_0x4de871=>!_0x4de871[_0x14c594(0x15e)]()[_0x14c594(0x270)]('__')))[_0x14c594(0x258)](async _0x9d219a=>{const _0x1de668=_0x14c594,_0x39ce44=_0x9d219a[_0x1de668(0x15e)](),_0x4cbd71=await this[_0x1de668(0x26b)](_0x39ce44);this[_0x1de668(0x106)][_0x1de668(0x1b8)](_0x4cbd71),this[_0x1de668(0xf0)]['set'](_0x39ce44,_0x4cbd71);}),_0x5dcffc(this[_0x14c594(0x1cf)][_0x14c594(0x187)](_0x1c0ca7[_0x14c594(0x185)]),this[_0x14c594(0x1cf)][_0x14c594(0x187)](_0x1c0ca7[_0x14c594(0x1de)]))[_0x14c594(0x20c)](_0x37dacf(this['dispose$']))[_0x14c594(0x258)](_0x5bf5dd=>{const _0x442056=_0x14c594,_0x774d39=_0x5bf5dd['getUnitId'](),_0x11dca1=this['_entities'][_0x442056(0x1fc)](_0x774d39);_0x11dca1&&(_0x11dca1[_0x442056(0x212)](),this['_entities'][_0x442056(0x163)](_0x774d39));});}async[_0x2177f1(0xf7)](_0x515740){const _0x200f21=_0x2177f1,_0x315d55=await this[_0x200f21(0xc4)]['requireSession'](_0x515740),_0x596702=this[_0x200f21(0x159)][_0x200f21(0x167)](Me,_0x515740,_0x315d55);return _0x596702[_0x200f21(0x215)](),_0x596702;}async[_0x2177f1(0x26b)](_0x5106f9){const _0x19eea9=_0x2177f1,_0x31f78c=await this[_0x19eea9(0xc4)]['requireSession'](_0x5106f9),_0x2dca4e=this[_0x19eea9(0x159)]['createInstance'](Ue,_0x5106f9,_0x31f78c);return _0x2dca4e[_0x19eea9(0x215)](),_0x2dca4e;}};F=Ai([me(0x0,_0xa159bd),me(0x1,_0x3a3e27(_0xf5f0c3)),me(0x2,_0x3a3e27(_0x358aff))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x2797ac,_0x4b7a92){const _0x30d453=_0x2177f1;let {radius:_0x1a33f4,width:_0x15230c,height:_0x5d6489}=_0x4b7a92;_0x1a33f4=_0x1a33f4!=null?_0x1a33f4:0x0,_0x15230c=_0x15230c!=null?_0x15230c:0x1e,_0x5d6489=_0x5d6489!=null?_0x5d6489:0x1e;let _0x46da29=0x0,_0x494073=0x0,_0x1d74d1=0x0;_0x46da29=_0x494073=_0x1d74d1=Math[_0x30d453(0x1c8)](_0x1a33f4,_0x15230c/0x2,_0x5d6489/0x2),_0x2797ac[_0x30d453(0x182)](),_0x2797ac[_0x30d453(0x8a)](_0x46da29,0x0),_0x2797ac['lineTo'](_0x15230c-_0x494073,0x0),_0x2797ac['arc'](_0x15230c-_0x494073,_0x494073,_0x494073,Math['PI']*0x3/0x2,0x0,!0x1),_0x2797ac[_0x30d453(0x1fd)](_0x15230c,_0x5d6489-_0x1d74d1),_0x2797ac[_0x30d453(0x19a)](_0x15230c-_0x1d74d1,_0x5d6489-_0x1d74d1,_0x1d74d1,0x0,Math['PI']/0x2,!0x1),_0x2797ac[_0x30d453(0x1fd)](0x0,_0x5d6489),_0x2797ac[_0x30d453(0x1fd)](0x0,_0x46da29),_0x2797ac[_0x30d453(0x19a)](_0x46da29,_0x46da29,_0x46da29,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2797ac[_0x30d453(0x223)](),_0x4b7a92[_0x30d453(0x93)]&&(_0x2797ac['save'](),_0x2797ac[_0x30d453(0xb0)]=_0x4b7a92[_0x30d453(0x93)],_0x4b7a92['fillRule']===_0x30d453(0x1c6)?_0x2797ac['fill']('evenodd'):_0x2797ac[_0x30d453(0x93)](),_0x2797ac[_0x30d453(0x18c)]());}class ue extends _0x379971{constructor(_0x31256a,_0x2d10cf){const _0x3a631f=_0x2177f1;super(_0x31256a,_0x2d10cf),_(this,_0x3a631f(0x273)),_(this,_0x3a631f(0x97)),(this[_0x3a631f(0x273)]=_0x2d10cf==null?void 0x0:_0x2d10cf['color'],this[_0x3a631f(0x97)]=_0x2d10cf==null?void 0x0:_0x2d10cf[_0x3a631f(0x97)]);}static[_0x2177f1(0x148)](_0x4b2f31,_0x47b4fb){const _0x118fe8=_0x2177f1,{text:_0x158da3,color:_0x3da49a}=_0x47b4fb;_0x4b2f31[_0x118fe8(0x14f)](),_0x4b2f31[_0x118fe8(0x117)]=_0x118fe8(0x24a);const _0x3f7f01=_0x4b2f31[_0x118fe8(0x243)](_0x158da3)[_0x118fe8(0x152)],_0x5716e4=Math[_0x118fe8(0x1c8)](_0x3f7f01+0x2*Ie,Qe);$i(_0x4b2f31,{'height':J,'radius':0x4,'width':_0x5716e4,'fill':_0x3da49a}),_0x4b2f31[_0x118fe8(0xb0)]='#FFF';const _0x750b9a=Ie,_0x4dce55=J-yi,_0x499357=Qe-0x2*Ie;if(_0x3f7f01>_0x499357){let _0x1b9f7b='',_0x184af3=0x0;for(const _0x8be811 of _0x158da3){const _0x58fb03=_0x4b2f31[_0x118fe8(0x243)](_0x8be811)[_0x118fe8(0x152)];if(_0x184af3+_0x58fb03<=_0x499357-_0x4b2f31[_0x118fe8(0x243)](_0x118fe8(0x1f9))[_0x118fe8(0x152)])_0x1b9f7b+=_0x8be811,_0x184af3+=_0x58fb03;else{_0x1b9f7b+=_0x118fe8(0x1f9);break;}}_0x4b2f31[_0x118fe8(0xa5)](_0x1b9f7b,_0x750b9a,_0x4dce55);}else _0x4b2f31[_0x118fe8(0xa5)](_0x158da3,_0x750b9a,_0x4dce55);_0x4b2f31[_0x118fe8(0x18c)]();}[_0x2177f1(0x219)](_0x573faf){const _0x5d239a=_0x2177f1;ue[_0x5d239a(0x148)](_0x573faf,this);}}const ve=_0x2177f1(0x18f),xi='collab-text-range-',Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x2177f1(0x146);class qe{constructor(_0x1fa1bd,_0x2cf69d,_0x1ecbfd,_0x5cd69f){const _0x58daaf=_0x2177f1;_(this,'_shapes',[]),_(this,_0x58daaf(0x11c),null),_(this,'_textBubble',null),_(this,_0x58daaf(0x1d1),null),_(this,_0x58daaf(0x123),null),_(this,_0x58daaf(0x1a7),null),(this[_0x58daaf(0xc3)]=_0x1fa1bd,this[_0x58daaf(0x11a)]=_0x2cf69d,this[_0x58daaf(0x87)]=_0x1ecbfd,this[_0x58daaf(0x21f)]=_0x5cd69f,this[_0x58daaf(0x138)]());}set[_0x2177f1(0x131)](_0x9bc1c4){const _0x2f668e=_0x2177f1;_0x9bc1c4?(this[_0x2f668e(0x1d1)]&&this[_0x2f668e(0x1d1)][_0x2f668e(0x162)](),this[_0x2f668e(0x129)]&&this['_textBubble'][_0x2f668e(0x105)]()):(this['_anchorDot']&&this['_anchorDot'][_0x2f668e(0x105)](),this['_textBubble']&&this[_0x2f668e(0x129)]['hide']());}['dispose'](){const _0x48e490=_0x2177f1;for(const _0x1e259a of this[_0x48e490(0xbf)])_0x1e259a[_0x48e490(0x212)]();this[_0x48e490(0x129)]&&this[_0x48e490(0x129)][_0x48e490(0x212)](),this['_anchorDot']&&this['_anchorDot'][_0x48e490(0x212)](),this['_anchor']&&this[_0x48e490(0x11c)]['dispose'](),this[_0x48e490(0x1a7)]&&this[_0x48e490(0x1a7)]();}['_render'](){const _0x59d17f=_0x2177f1;var _0x47afc1;const {_docSkeleton:_0x20d394,_document:_0x164bc3}=this,{color:_0x120de2,name:_0x4d6e39,ranges:_0x155d38}=this['_cursor'],_0x13296e=_0x164bc3['getOffsetConfig'](),{docsLeft:_0x375070,docsTop:_0x518499}=_0x13296e,_0x194693=new _0x59e57e(_0x13296e,_0x20d394);for(const {startOffset:_0x19a4e5,endOffset:_0x147e11,rangeType:_0x4870c8,segmentId:_0x1fec99,segmentPage:_0x18dc4c,collapsed:_0x41f797,isActive:_0x5894f4}of _0x155d38){const _0xa9764d=_0x20d394[_0x59d17f(0x229)](_0x19a4e5,!0x0,_0x1fec99,_0x18dc4c);let _0x2b5a68=_0x20d394['findNodePositionByCharIndex'](_0x147e11,!0x0,_0x1fec99,_0x18dc4c);if(_0x2b5a68==null&&(_0x2b5a68=_0x20d394[_0x59d17f(0x229)](_0x147e11-0x1,!0x1,_0x1fec99,_0x18dc4c)),_0x5894f4){const {contentBoxPointGroup:_0x2659a1}=_0x194693[_0x59d17f(0x13f)](_0x2b5a68,_0x2b5a68);if(_0x2659a1[_0x59d17f(0x21e)]===0x0)continue;this[_0x59d17f(0x211)](_0x120de2,_0x2659a1,_0x375070,_0x518499,_0x4d6e39),this[_0x59d17f(0x1a7)]=this['_handleHover']();}if(_0xa9764d&&_0x2b5a68){if(_0x4870c8===_0x87fbc8[_0x59d17f(0x157)]){const _0x4e90cd=new _0x4ccd8c(_0x13296e,_0x20d394),{pointGroup:_0x1890e6}=(_0x47afc1=_0x4e90cd[_0x59d17f(0x13f)](_0xa9764d,_0x2b5a68))!=null?_0x47afc1:{};if(_0x1890e6==null||_0x1890e6[_0x59d17f(0x21e)]===0x0)continue;this[_0x59d17f(0x9a)](_0x120de2,_0x1890e6,_0x375070,_0x518499);}else{if(!_0x41f797){const {borderBoxPointGroup:_0x58741f}=_0x194693['getRangePointData'](_0xa9764d,_0x2b5a68);if(_0x58741f[_0x59d17f(0x21e)]===0x0)continue;this[_0x59d17f(0x1d6)](_0x120de2,_0x58741f,_0x375070,_0x518499);}}}}}[_0x2177f1(0x211)](_0x77ea5c,_0x419f12,_0x48cdcd,_0x2517ed,_0x3de24d){const _0x55149c=_0x2177f1,_0x4b441e=this['_getAnchorBounding'](_0x419f12),{left:_0x40b553,top:_0x18d2b6,height:_0x20199b}=_0x4b441e,_0xeef730=this['_getScale'](),_0xfdf059=Hi/_0xeef730,_0x50108d=new _0x781e66(ve+_0x379949(K),{'left':_0x40b553+_0x48cdcd-_0xfdf059,'top':_0x18d2b6+_0x2517ed,'height':_0x20199b,'width':ki,'fill':_0x77ea5c||_0x42bf42(_0x139c37['black'],0x0),'strokeWidth':_0xfdf059,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x50108d,this['_scene'][_0x55149c(0x20a)](_0x50108d,_0x690a92);const _0x155776=new _0x781e66(ve+_0x379949(K),{'left':_0x40b553+_0x48cdcd-_0xfdf059,'top':_0x18d2b6+_0x2517ed-ge/0x2,'height':ge,'width':ge,'fill':_0x77ea5c||_0x42bf42(_0x139c37[_0x55149c(0x114)],0x0),'strokeWidth':0x0,'stroke':_0x77ea5c||_0x42bf42(_0x139c37['black'],0x0),'evented':!0x1});this[_0x55149c(0x1d1)]=_0x155776,this['_scene'][_0x55149c(0x20a)](_0x155776,_0x690a92);const _0x4f20f0=new ue(ve+_0x379949(K),{'left':_0x40b553+_0x48cdcd-_0xfdf059,'top':_0x18d2b6+_0x2517ed-J,'text':_0x3de24d,'color':_0x77ea5c});this['_textBubble']=_0x4f20f0,this[_0x55149c(0x11a)][_0x55149c(0x20a)](_0x4f20f0,_0x690a92),this[_0x55149c(0x131)]=!0x1;}[_0x2177f1(0x198)](){const _0x1e980d=_0x2177f1,_0x3c8483=this[_0x1e980d(0x11c)]['onPointerEnter$'][_0x1e980d(0x10e)](()=>{const _0x5d13f2=_0x1e980d;this[_0x5d13f2(0x131)]=!0x0;}),_0x9997f4=this['_anchor'][_0x1e980d(0x23c)][_0x1e980d(0x10e)](()=>{const _0x443d3e=_0x1e980d;this[_0x443d3e(0x123)]&&clearTimeout(this[_0x443d3e(0x123)]),this[_0x443d3e(0x123)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x3c8483['unsubscribe'](),_0x9997f4['unsubscribe']();};}[_0x2177f1(0x1d6)](_0x144c6d,_0x1292ea,_0x4438ef,_0x48cf31){const _0x23373a=_0x2177f1,_0x1a4c30=new _0x14d5a2(_0x144c6d)[_0x23373a(0xf8)](0.2)['toRgbString'](),_0x21c7ef=new _0x1c1975(xi+_0x379949(K),{'pointsGroup':_0x1292ea,'fill':_0x1a4c30||_0x42bf42(_0x139c37[_0x23373a(0x114)],0.2),'left':_0x4438ef,'top':_0x48cf31,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23373a(0xbf)]['push'](_0x21c7ef),this[_0x23373a(0x11a)][_0x23373a(0x20a)](_0x21c7ef,_0x690a92);}['_drawRectRange'](_0x9c3599,_0x28bd4c,_0x261502,_0x9f0957){const _0x3475c1=_0x2177f1,_0x1845fa=new _0x14d5a2(_0x9c3599)[_0x3475c1(0xf8)](0.2)[_0x3475c1(0x267)](),_0x3f6008=new _0x1c1975(Bi+_0x379949(K),{'pointsGroup':_0x28bd4c,'fill':_0x1845fa||_0x42bf42(_0x139c37[_0x3475c1(0x114)],0.2),'left':_0x261502,'top':_0x9f0957,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3475c1(0xbf)][_0x3475c1(0xd2)](_0x3f6008),this['_scene'][_0x3475c1(0x20a)](_0x3f6008,_0x690a92);}[_0x2177f1(0x1ee)](_0x11585d){const _0x535650=_0x11585d[0x0],_0x5bf2f8=_0x535650[0x0],_0x208a1d=_0x535650[0x2],{x:_0x4f27b9,y:_0x3fafb9}=_0x5bf2f8,{x:_0x3700cf,y:_0x2fb0c9}=_0x208a1d;return{'left':_0x4f27b9,'top':_0x3fafb9,'width':_0x3700cf-_0x4f27b9,'height':_0x2fb0c9-_0x3fafb9};}[_0x2177f1(0xe2)](){const _0x3c9437=_0x2177f1,{scaleX:_0x440d68,scaleY:_0x48eea7}=this[_0x3c9437(0x11a)][_0x3c9437(0x1ac)]();return Math[_0x3c9437(0x170)](_0x440d68,_0x48eea7);}}function _0xb0db(){const _0x15cafe=['_draw','InsertRangeMoveDownCommandId','code','runId','isArray','length','_document','permission.content','_registerDependencies','_getSaveTimeout','closePath','cursorInfo','tag','className','add','_docClipboardService','findNodePositionByCharIndex','onCommandExecuted','red.300','roomMembers$','Error','657LHZlDJ','textRanges','OnLineIcon','34bOTeel','getCurrent','result','event$','_context','getCollabCursors$','INVITE_CODE_ALREADY_BOUND','extend','getMemberID','_session','currentColor','onPointerLeave$','FromArray','RemoveColCommandId','sheetId','newValue','APPLY_NON_SEQUENTIAL_REVISION','_doCreateSocket','measureText','_status$','_initStatusListener','post','_setupBeforeClosingHandler','href','actions','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addClipboardHook','uni.network.url-service','currentTheme$','symbol','with','getValue','DeleteRangeMoveLeftCommandId','roomMembers','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','isActive','getOwnPropertyDescriptor','onPointerEnter$','loadOfflineData','subscribe','xlink:href','searchParams','APPLY_DUPLICATED','_unitOnClients','on-line-icon_clip0_910_349','YUUMI_RATE_OVER_LIMIT','currentSkeleton$','pushState','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','OTHER_CLIENTS_EDITING','split','transformMutationsWithChangeset','VIEW_MAIN','_initResize','toRgbString','forEach','UNAUTHENTICATED','setInterval','_startDocCollabCursor','univerjs-icon\x20univerjs-icon-','TOO_MANY_REQUESTS','exhaustSavingTask','LICENSE_MAX_UNITS_EXCEEDED','startsWith','OFFLINE','colorChannel1','color','_cursorShapes','_saveCache','transformMutation','_handleEvent','_refRangeService','YUUMI_ASYNCIO_CANCELLED','_cachedData','http://www.w3.org/2000/svg','_syncEditingCollabCursorService','setTimeout','enableLocalCache','_transformPreviousActiveRange','getMergeData','_lastPointer','USER_NOT_INVITED_CODE','setShapeProps','_collaborationUIEventService','_initStatusComponent','onStarting','SOCKET_FAILED_RETRY','string','NOT_FOUND','pluginName','replaceState','_toggleOnline','LOGIN_FAILED','_docTransformIMECacheService','_docSkeleton','_handleHeartbeatEvent','activeSheet$','moveTo','_id','unload','function','syncEditingCollabCursor','concat','onMouseMove','random','collabStatus.synced','fill','onPointerMove$','_dataLoaderService','univer-mr-2\x20univer-flex\x20univer-text-xl','text','_localeService','_configService','_drawRectRange','getMember','getStateCache','_getSheetObject','_roomMembers$','YUUMI_URL_COL_OUT_OF_RANGE','getColorFromTheme','_collabCursorController','startRow','_instanceService','url(#on-line-icon_clip0_910_349)','fillText','purple.300','getCurrentUnitForType','set','m1Prime','_updateURLWithCurrentState','_docSkeletonManagerService','_transformHistoryAndStateStack','getUniverSheetInstance','setParam','green.600','fillStyle','attrs','collaboration-client-ui.config','height','memberID','hovered','url(#off-line-icon_clip0_910_343)','replaceDocRanges','_removeClearOtherTimer','off-line-icon_clip0_910_343','_updateLocalCursor','_online','collabStatus.conflict','getVpScrollXYInfoByPosToVp','redoState','_shapes','178122UHTBQh','PENDING','setItem','_cursor','_collabSessionService','getSheetId','[CollaborationDataLoaderController]','_getSessionTicket','_hovered','749253PXcefB','_clearOtherTimers','_onCursorDelete','_docTransformSelectionsService','APPLY_PERMISSION_DENIED','on-line-icon','MoveRangeCommandId','_messageService','clipPath','push','error','none','onRendered','doc.mutation.rich-text-editing','collaboration.single-unit.warning','onLocalMutation','_beforeCloseService','collaboration.closeRoom','getItem','InsertRowCommandId','registerBeforeClose','createSocket','svg','startColumn','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getScale','values','getRenderById','search','getCellPositionByOffset','_backgroundColor','contains','1386mcuiBI','wsSessionTicketUrl','sessionTicket','LICENSE_EXPORT_SIZE_EXCEEDED','type','FETCH_MISS','_initDependencies','_entities','session.collaboration-timeout','data','UniverIcon','EMAIL_VERIFY_CODE_MISMATCH','has','_scheduleSaving','_startSheetCollabCursor','setAlpha','sessionStatus$','getUndoRedoMutationParamsCache','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','some','endRow','DeleteRangeMoveUpCommandId','CONFLICT','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','column','find','_cursors','INTERNAL_ERROR','show','_entityInit$','engine','_send','0\x200\x2016\x2016','white','status$','all','_uiPartsService','subscribeEvent','36506767hELilW','YUUMI_AI_RUN_FAILED','_assignedColors','COMPLETION_FINISHED','storage','black','_updateSubUnitFromURLParams','Failed','font','selection','/run/','_scene','_initEvent','_anchor','saveImage','MOBILE_VERIFY_CODE_MISMATCH','_range','PY_RUNTIME_SCRIPT_ERROR','override','displayName','_hideTimer','round','registerComponent','_logService','_renderManagerService','_heartbeatTimer','_textBubble','_docTransformStateCacheService','clearTimeout','m2Prime','_commandService','size','top','_urlService','_hover','RemoveRowCommandId','_toggleOffline','source','div','removeParam','_updateCollabCursors','_render','M0\x200H16V16H0z','getActiveSheet','setUndoRedoMutationParamsCache','_saveTaskMap','1em','getParam','getRangePointData','defineProperty','UNRECOGNIZED','_transformUndoRedoStack','YUUMI_SUBSCRIPTION_NOT_FOUND','then','backgroundColor','rgba(255,\x20255,\x20255,\x200.01)','loadUnit','drawWith','transformByState','SOCKET_FAILED','setStateCache','0\x200\x2017\x2016','EMAIL_HAS_BEEN_BOUND','_docSyncEditingCollabCursorService','save','_labelPosition','YUUMI_NO_CUBOID_FOR_QUESTION','width','_initCommandExecutedListener','docStateChange$','flatMap','mask','RECT','executeCommand','_injector','params','MUTATION','_httpService','_scheduleHeartbeat','getUnitId','transformStateCache','getUnhiddenWorksheets','_registerRenderDependencies','hide','delete','bottom','disposeWithMe','indexOf','createInstance','parse','collaboration-client.offline-data-not-saved','body','Warning','send','getSheetBySheetId','collabStatus.offline','_colorAssignService','max','ticket','_scheduleClearOtherTimer','disableLocalCache','11912FyKnoa','entries','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setActiveRange','getOwnPropertySymbols','TEXT','saveTaskMap','UPDATE_CURSOR','deepClone','APPLY_REVISION_CONFILICT','NO_OTHER_CLIENTS_EDITING','endColumn','_themeService','getSkeleton','beginPath','registerRenderModule','INVALID_ARGUMENT','UNIVER_DOC','yellow.400','getTypeOfUnitDisposed$','location','SUBMIT_CHANGESET_TIMEOUT','cursorInfo$','_disabled','restore','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','collab-text-anchor-','path','LICENSE_DISTRO_REJECTED','1166888sfCoaW','entityInit$','getTypeOfUnitAdded$','WECHAT_HAS_BEEN_BOUND','SNAPSHOT_HAS_BEEN_REMOVED','apply','_handleHover','executionId','arc','name','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CLOSE_ROOM','defs','registerRefRange','_selfUnitIDs','unitID','transformIMECache','transform','popstate','CONNECTOR_DATA_TOO_LARGE','_collaborationController','_eventUnsubscribe','replace','INVITE_CODE_REQUIRED','_onRefRangeChange','getActiveRange','getAncestorScale','clearInterval','APPLY_REJECT','asObservable','urlChange$','addObjects','history','toString','ALREADY_EXISTS','_docStateChangeManagerService','hasOwnProperty','icon','next','idSuffix','47370YPqoYi','NOT_COLLAB','_localStorageService','InsertRangeMoveRightCommandId','url(#$1','_config','children','collabCursorState$','transformRemoteChangeset','_name','_init','_removeCollabCursors','evenodd','_onCursorUpdate','min','getCurrentRevOfUnit','_unitStatus','OTHER_CLIENT_EDITING','INVALID_INVITE_CODE','permission.title','includes','_univerInstanceService','1655HRtKxX','_anchorDot','transformSelections','ranges','_colorIndex','PERMISSION_DENIED','_drawTextRange','from','assign','row','USERS_LEAVE','_memberService','skeleton','collabStatus.syncing','UNIVER_SHEET','_initEntityListener','_transformService','InsertColCommandId','getCollabEntity$','AWAITING_WITH_PENDING','dispose$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','map','_localCacheService','_setupSubUnitSync','getFocusedUnit','_ensureSubject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','reconnect','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','_getAnchorBounding','_handleLeaveEvent','_handleJoinEvent','mutations','unit','_collabCursorState$','translate(.97)','LICENSE_IMPORT_SIZE_EXCEEDED','defIds','_imageIoService','univer-flex\x20univer-items-center','...','collab-client.tooltip.reconnect','_sheetSkeletonManagerService','get','lineTo','unshift','_color','INVITE_CODE_HAS_BEEN_UES','_revisionService','prototype','_cursorInfo$','debug','getConfig','YUUMI_UNABLE_LOAD_URL','collabStatus.fetchMiss','HEADER_MENU','assignAColorForMemberID','addObject','complete','pipe','UNDEFINED','subunit','eventID','16478dsueSv','_drawAnchor','dispose','stringify','YUUMI_CONNECTOR_URL_NOT_FOUND','init','unitId','_notificationService','undoState'];_0xb0db=function(){return _0x15cafe;};return _0xb0db();}var Yi=Object[_0x2177f1(0x255)],ji=(_0x5e1efc,_0x25ff39,_0xd405f5,_0x2f25f1)=>{for(var _0x4204fb=_0x2f25f1>0x1?void 0x0:_0x2f25f1?Yi(_0x25ff39,_0xd405f5):_0x25ff39,_0x18f586=_0x5e1efc['length']-0x1,_0x279b8c;_0x18f586>=0x0;_0x18f586--)(_0x279b8c=_0x5e1efc[_0x18f586])&&(_0x4204fb=_0x279b8c(_0x4204fb)||_0x4204fb);return _0x4204fb;},ee=(_0x3a10bf,_0x45a53e)=>(_0x5eb58f,_0x274120)=>_0x45a53e(_0x5eb58f,_0x274120,_0x3a10bf);let Le=class extends _0x5cede8{constructor(_0x39bffd,_0x176a6f,_0x116929,_0xd3629c,_0x23b40e){const _0x27ea63=_0x2177f1;super(),_(this,_0x27ea63(0x274),[]),_(this,'_cursors',[]),(this[_0x27ea63(0x235)]=_0x39bffd,this[_0x27ea63(0xab)]=_0x176a6f,this[_0x27ea63(0xa1)]=_0x116929,this[_0x27ea63(0x12d)]=_0xd3629c,this[_0x27ea63(0x180)]=_0x23b40e,this['_init']());}['_init'](){const _0x4b7ef5=_0x2177f1,_0x447a94=this[_0x4b7ef5(0x235)][_0x4b7ef5(0x216)],_0x3f6496=this['_docSkeletonManagerService'];this[_0x4b7ef5(0x165)](_0x219487([this[_0x4b7ef5(0xa1)][_0x4b7ef5(0x236)](_0x447a94),this[_0x4b7ef5(0x180)]['currentTheme$']])[_0x4b7ef5(0x20c)](_0x2d5b65(([_0x39556d,_0x192c9f])=>({'skeleton':_0x3f6496['getSkeleton'](),'cursors':[..._0x39556d[_0x4b7ef5(0xe3)]()][_0x4b7ef5(0x155)](_0x39c295=>({..._0x39c295,'color':this[_0x4b7ef5(0x180)]['getColorFromTheme'](_0x39c295[_0x4b7ef5(0x273)])}))})))['subscribe'](_0x5b6622=>{const _0x169da2=_0x4b7ef5;if(this['_removeCollabCursors'](),_0x5b6622){const {skeleton:_0x469fcb,cursors:_0x4389f0}=_0x5b6622;this[_0x169da2(0x137)](_0x469fcb,_0x4389f0);}})),this[_0x4b7ef5(0x266)](),this[_0x4b7ef5(0x153)]();}['_updateCollabCursors'](_0x3c4de4,_0x5050dc){const _0x193d6c=_0x2177f1,{scene:_0x3ccfda,mainComponent:_0x257dbe}=this['_context'],_0x54c7a7=_0x5050dc['map'](_0x2cffca=>new qe(_0x2cffca,_0x3ccfda,_0x3c4de4,_0x257dbe));this[_0x193d6c(0x274)]=_0x54c7a7,this['_cursors']=_0x5050dc;}['_refreshCollabCursors'](){const _0x54f34e=_0x2177f1;this['_removeCollabCursors']();const {scene:_0x1b66ee,mainComponent:_0x55cc1e}=this[_0x54f34e(0x235)],_0x41052d=this[_0x54f34e(0xab)][_0x54f34e(0x181)](),_0x4f6a0f=this[_0x54f34e(0x103)][_0x54f34e(0x1e6)](_0x44c855=>new qe(_0x44c855,_0x1b66ee,_0x41052d,_0x55cc1e));this[_0x54f34e(0x274)]=_0x4f6a0f;}['_removeCollabCursors'](){const _0x26220c=_0x2177f1;this[_0x26220c(0x274)][_0x26220c(0x268)](_0x3b76ff=>_0x3b76ff[_0x26220c(0x212)]()),this[_0x26220c(0x274)]=[];}['_initCommandExecutedListener'](){const _0xe7ad16=_0x2177f1,_0x3b9c87=[_0x54c884['id']];this[_0xe7ad16(0x165)](this['_commandService'][_0xe7ad16(0x22a)](_0xb29fc8=>{const _0x3c165a=_0xe7ad16;_0x3b9c87[_0x3c165a(0x1ce)](_0xb29fc8['id'])&&_0xb29fc8[_0x3c165a(0x15a)][_0x3c165a(0x216)]===this['_context'][_0x3c165a(0x216)]&&this['_refreshCollabCursors']();}));}[_0x2177f1(0x266)](){const _0x5e5a3c=_0x2177f1;this[_0x5e5a3c(0x165)](_0x55e075(this[_0x5e5a3c(0x235)][_0x5e5a3c(0x107)]['onTransformChange$'])[_0x5e5a3c(0x20c)](_0x30b493(_0x4e92f5=>_0x4e92f5[_0x5e5a3c(0xed)]===_0xb5ae6['resize']),_0x54b7ec(0x10))[_0x5e5a3c(0x258)](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x3a3e27(_0x3b47c6)),ee(0x2,_0x3a3e27(F)),ee(0x3,_0x66ee7e),ee(0x4,_0x3a3e27(_0x3bf0ae))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x379971{constructor(_0xcb9de6,_0x505a5a){const _0x46e039=_0x2177f1;super(_0xcb9de6,_0x505a5a),_(this,'_color'),_(this,_0x46e039(0xc8),!0x1),_(this,_0x46e039(0x11f)),_(this,_0x46e039(0x1c3),''),_(this,'_labelPosition','top'),_(this,'_backgroundColor'),(_0x505a5a&&this['setShapeProps'](_0x505a5a),this[_0x46e039(0x256)][_0x46e039(0x10e)](()=>this[_0x46e039(0x283)]({'hovered':!0x0})),this[_0x46e039(0x23c)][_0x46e039(0x10e)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5698f9){const _0x37b10a=_0x2177f1;var _0x12d848,_0x4c67a7,_0x115ad2,_0x1b0d36,_0x32a60d,_0x318cc4;this['_color']=(_0x12d848=_0x5698f9['color'])!=null?_0x12d848:this['_color'],this[_0x37b10a(0xc8)]=(_0x4c67a7=_0x5698f9[_0x37b10a(0xb5)])!=null?_0x4c67a7:this['_hovered'],this[_0x37b10a(0x11f)]=(_0x115ad2=_0x5698f9['range'])!=null?_0x115ad2:this['_range'],this[_0x37b10a(0x1c3)]=(_0x1b0d36=_0x5698f9[_0x37b10a(0x19b)])!=null?_0x1b0d36:this[_0x37b10a(0x1c3)],this[_0x37b10a(0x150)]=(_0x32a60d=_0x5698f9['labelPosition'])!=null?_0x32a60d:this[_0x37b10a(0x150)],this[_0x37b10a(0xe7)]=(_0x318cc4=_0x5698f9[_0x37b10a(0x145)])!=null?_0x318cc4:this['_backgroundColor'],this[_0x37b10a(0x149)]({'width':_0x5698f9[_0x37b10a(0x152)],'height':_0x5698f9[_0x37b10a(0xb3)]});}['onMouseMove'](_0xeabe9b){const _0xe33a=_0x2177f1,{row:_0x28cbdb,column:_0x404521}=_0xeabe9b;if(_0x28cbdb>=this[_0xe33a(0x11f)][_0xe33a(0xa2)]&&_0x28cbdb<=this[_0xe33a(0x11f)][_0xe33a(0xfd)]&&_0x404521>=this[_0xe33a(0x11f)][_0xe33a(0xe0)]&&_0x404521<=this[_0xe33a(0x11f)][_0xe33a(0x17f)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0xe33a(0x283)]({'hovered':!0x1});}['triggerDblclick'](_0x2277e5){return!0x1;}[_0x2177f1(0x219)](_0x56f667){const _0x42e826=_0x2177f1;_0x781e66[_0x42e826(0x148)](_0x56f667,{'width':this[_0x42e826(0x152)],'height':this[_0x42e826(0xb3)],'strokeWidth':Wi,'stroke':this[_0x42e826(0x1ff)],'evented':!0x1,'fill':this[_0x42e826(0xe7)]}),this[_0x42e826(0xc8)]&&(_0x56f667[_0x42e826(0x14f)](),_0x56f667[_0x42e826(0x1a3)](0x1,0x0,0x0,0x1,this[_0x42e826(0x152)],this[_0x42e826(0x150)]===_0x42e826(0x164)?0x0:-J),ue[_0x42e826(0x148)](_0x56f667,{'text':this['_name'],'color':this[_0x42e826(0x1ff)]}),_0x56f667[_0x42e826(0x18c)]());}}var Gi=Object[_0x2177f1(0x255)],Ki=(_0x53aeb,_0x3d752a,_0x54641a,_0x1dd33d)=>{const _0x4fd173=_0x2177f1;for(var _0x4af4d4=_0x1dd33d>0x1?void 0x0:_0x1dd33d?Gi(_0x3d752a,_0x54641a):_0x3d752a,_0x59c9f1=_0x53aeb[_0x4fd173(0x21e)]-0x1,_0x4e9343;_0x59c9f1>=0x0;_0x59c9f1--)(_0x4e9343=_0x53aeb[_0x59c9f1])&&(_0x4af4d4=_0x4e9343(_0x4af4d4)||_0x4af4d4);return _0x4af4d4;},pe=(_0xdbb3c0,_0x1650dd)=>(_0x3d41dd,_0x4cf100)=>_0x1650dd(_0x3d41dd,_0x4cf100,_0xdbb3c0);const zi=0x1389;let Pe=class extends _0x5cede8{constructor(_0x330e55,_0x2bd32d,_0x53cbb1,_0x55071d){const _0x1cc1ed=_0x2177f1;super(),_(this,_0x1cc1ed(0x103),new Set()),_(this,_0x1cc1ed(0x281),null),(this['_context']=_0x330e55,this[_0x1cc1ed(0x1fb)]=_0x2bd32d,this['_collabCursorController']=_0x53cbb1,this[_0x1cc1ed(0x180)]=_0x55071d,this[_0x1cc1ed(0x1c4)]());}[_0x2177f1(0x1c4)](){const _0x4f07db=_0x2177f1;this[_0x4f07db(0x1fb)][_0x4f07db(0x25f)][_0x4f07db(0x20c)](_0x3eb302(this[_0x4f07db(0x1e4)]),_0x5e7300(_0xf03992=>{const _0x336da8=_0x4f07db;if(_0xf03992){const _0x168fb1=_0xf03992[_0x336da8(0x23f)];return _0x219487(this[_0x336da8(0xa1)]['getCollabCursors$'](this[_0x336da8(0x235)]['unitId']),this['_themeService'][_0x336da8(0x24d)])['pipe'](_0x2d5b65(([_0x177d16,_0x39a4be])=>{const _0x127aab=new Map();return _0x177d16['forEach']((_0x4fa2e3,_0xff4788)=>{const _0x802a2d=_0x74ea;if(_0x4fa2e3['sheetID']===_0x168fb1){const _0x50e3c6={..._0x4fa2e3};_0x50e3c6[_0x802a2d(0x273)]=this[_0x802a2d(0x180)][_0x802a2d(0xa0)](_0x4fa2e3['color']),_0x127aab[_0x802a2d(0xa8)](_0xff4788,_0x50e3c6);}}),{'skeleton':_0xf03992,'cursors':_0x127aab};}));}return _0x2f4fa4({'skeleton':null,'cursors':new Map()});}))[_0x4f07db(0x258)](({skeleton:_0x35aee3,cursors:_0x4df532})=>{const _0x479750=_0x4f07db;this[_0x479750(0x1c5)](),_0x35aee3&&this['_updateCollabCursors'](_0x35aee3,_0x4df532);}),this[_0x4f07db(0x1fb)][_0x4f07db(0x25f)]['subscribe'](_0x22e2e2=>{const _0x4b8d42=_0x4f07db;if(_0x22e2e2==null)return;const {skeleton:_0x5047ab}=_0x22e2e2,{scene:_0xf4f6ca}=this[_0x4b8d42(0x235)];_0xf4f6ca[_0x4b8d42(0x94)][_0x4b8d42(0x10e)](_0x5934e1(_0x2ba80e=>{const _0x3cbfa1=_0x4b8d42;var _0x687205,_0x43df83;const {offsetX:_0x943e89,offsetY:_0x240ffc}=_0x2ba80e,{x:_0x38b598,y:_0x2967e1}=_0xf4f6ca['getRelativeToViewportCoord'](_0x49e4c6['FromArray']([_0x943e89,_0x240ffc])),{scaleX:_0x5e38d8,scaleY:_0x547454}=_0xf4f6ca[_0x3cbfa1(0x1ac)](),_0x948f6e=_0xf4f6ca['getViewport'](_0x4cbe2d[_0x3cbfa1(0x265)]),_0x11a7bc=_0xf4f6ca[_0x3cbfa1(0xbd)](_0x49e4c6[_0x3cbfa1(0x23d)]([_0x38b598,_0x2967e1]),_0x948f6e),_0x26fa50=_0x5047ab[_0x3cbfa1(0xe6)](_0x943e89,_0x240ffc,_0x5e38d8,_0x547454,_0x11a7bc);((_0x687205=this['_lastPointer'])==null?void 0x0:_0x687205[_0x3cbfa1(0x101)])===_0x26fa50['column']&&((_0x43df83=this[_0x3cbfa1(0x281)])==null?void 0x0:_0x43df83[_0x3cbfa1(0x1d9)])===_0x26fa50['row']||this[_0x3cbfa1(0x103)][_0x3cbfa1(0x268)](_0x35ff3b=>{const _0x23b1ef=_0x3cbfa1;_0x35ff3b[_0x23b1ef(0x90)](_0x26fa50);});},0x64));});}[_0x2177f1(0x137)](_0x1c3821,_0x56d4c8){const _0xd714be=_0x2177f1;var _0x2b81d0;const _0x9872db=(_0x2b81d0=this[_0xd714be(0x1fb)][_0xd714be(0x232)]())==null?void 0x0:_0x2b81d0[_0xd714be(0x1dc)];if(!_0x9872db)return;const _0x1bd479=this[_0xd714be(0x9d)]();if(!_0x1bd479)return;this[_0xd714be(0x103)][_0xd714be(0x268)](_0x369625=>{_0x369625['makeDirty']();});const {scene:_0x5b70f2}=_0x1bd479,_0x84a5f4=Ji(Array['from'](_0x56d4c8[_0xd714be(0xe3)]()))[_0xd714be(0x1e6)](_0x2661b6=>{const _0x2f9a50=_0xd714be,{color:_0x39014f,range:_0x411108,name:_0x3c458a,selection:_0x593a9d,sheetID:_0x382ffc}=_0x2661b6,{startColumn:_0x534544,startRow:_0x12aabe,endColumn:_0x493f65,endRow:_0x575c6e}=_0x411108,_0x445db5=_0x2356eb(_0x12aabe,_0x534544,_0x5b70f2,_0x9872db),_0x4cc03d=_0x2356eb(_0x575c6e,_0x493f65,_0x5b70f2,_0x9872db),{columnHeaderHeightAndMarginTop:_0x3a6cc7}=_0x9872db,{startX:_0x2662eb,startY:_0x3168c5}=_0x445db5,{endX:_0x2556e7,endY:_0x1f3003}=_0x4cc03d,_0x1246a6=_0x2556e7-_0x2662eb,_0x3e8a49=_0x1f3003-_0x3168c5,_0x42b7e7={'labelPosition':_0x3168c5-_0x3a6cc7>=J?_0x2f9a50(0x12f):_0x2f9a50(0x164),'sheetID':_0x382ffc,'range':_0x411108,'color':_0x39014f,'name':_0x3c458a,'selection':_0x593a9d,'left':_0x2662eb,'top':_0x3168c5,'width':_0x1246a6,'height':_0x3e8a49,'evented':!0x1,'zIndex':zi};return new Xi(_0x3c458a,_0x42b7e7);});_0x5b70f2[_0xd714be(0x1b1)](_0x84a5f4,Vi),this[_0xd714be(0x103)]=new Set(_0x84a5f4);}[_0x2177f1(0x1c5)](){const _0x3067a9=_0x2177f1;var _0x5cab50;(_0x5cab50=this['_cursors'])==null||_0x5cab50[_0x3067a9(0x268)](_0x32b657=>_0x32b657[_0x3067a9(0x212)]());}['_getSheetObject'](){const _0x500270=_0x2177f1;return _0x22c8f9(this[_0x500270(0x235)][_0x500270(0x1f2)],this[_0x500270(0x235)]);}};Pe=Ki([pe(0x1,_0x3a3e27(_0x5d449c)),pe(0x2,_0x3a3e27(F)),pe(0x3,_0x3a3e27(_0x3bf0ae))],Pe);function Ji(_0x1d009b){const _0x5cd759=_0x2177f1,_0x9003d6=new Map();return _0x1d009b[_0x5cd759(0x268)](_0x4239e2=>{const _0x5707ac=_0x5cd759;if(_0x9003d6['has'](_0x4239e2[_0x5707ac(0x118)])){const _0x556b07=_0x9003d6[_0x5707ac(0x1fc)](_0x4239e2[_0x5707ac(0x118)]);_0x556b07[_0x5707ac(0x19b)]+=',\x20'+_0x4239e2[_0x5707ac(0x19b)];}else _0x9003d6[_0x5707ac(0xa8)](_0x4239e2[_0x5707ac(0x118)],_0x4239e2);}),Array[_0x5cd759(0x1d7)](_0x9003d6['values']());}var Zi=Object[_0x2177f1(0x255)],Qi=(_0x54acdb,_0x5dd1ee,_0x33ebb3,_0x5145db)=>{const _0x451981=_0x2177f1;for(var _0x36aac1=_0x5145db>0x1?void 0x0:_0x5145db?Zi(_0x5dd1ee,_0x33ebb3):_0x5dd1ee,_0x3fd8d5=_0x54acdb[_0x451981(0x21e)]-0x1,_0x5ea9e9;_0x3fd8d5>=0x0;_0x3fd8d5--)(_0x5ea9e9=_0x54acdb[_0x3fd8d5])&&(_0x36aac1=_0x5ea9e9(_0x36aac1)||_0x36aac1);return _0x36aac1;},B=(_0x5b57ea,_0x109a2b)=>(_0x2401ca,_0x397566)=>_0x109a2b(_0x2401ca,_0x397566,_0x5b57ea);let ne=class extends _0x37d18c{constructor(_0x527bfe,_0x4f4519,_0x476356,_0x46b42b,_0x31ce4d,_0x1a1a02){const _0x1a385a=_0x2177f1;super(),this[_0x1a385a(0xd9)]=_0x527bfe,this[_0x1a385a(0x1e7)]=_0x4f4519,this['_collaborationUIEventService']=_0x476356,this[_0x1a385a(0xd0)]=_0x46b42b,this[_0x1a385a(0x217)]=_0x31ce4d,this[_0x1a385a(0x98)]=_0x1a1a02,this[_0x1a385a(0x247)](),this['_initEvent']();}[_0x2177f1(0x247)](){const _0x137413=_0x2177f1;this[_0x137413(0x165)](this[_0x137413(0xd9)][_0x137413(0xdd)](()=>{const _0x34b678=_0x137413;if(this[_0x34b678(0x1e7)][_0x34b678(0x17a)]['size'])return this[_0x34b678(0x98)]['t'](_0x34b678(0x169));}));}[_0x2177f1(0x11b)](){const _0xb266a4=_0x2177f1;this[_0xb266a4(0x165)](this[_0xb266a4(0x284)]['event$'][_0xb266a4(0x258)](_0x1e2c6f=>{const _0x1a4184=_0xb266a4;_0x1e2c6f['id']===_0x14888b[_0x1a4184(0x1cb)]&&this[_0x1a4184(0xd0)]['show']({'type':_0x55f645[_0x1a4184(0x16b)],'content':this[_0x1a4184(0x98)]['t'](_0x1a4184(0xd7))}),_0x1e2c6f['id']===_0x14888b[_0x1a4184(0x19d)]&&this[_0x1a4184(0xd0)][_0x1a4184(0x105)]({'type':_0x55f645[_0x1a4184(0x16b)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x1e2c6f['id']===_0x14888b['PERMISSION_DENIED']&&this['_notificationService'][_0x1a4184(0x105)]({'title':this['_localeService']['t'](_0x1a4184(0x1cd)),'content':this['_localeService']['t'](_0x1a4184(0x220)),'type':_0x1a4184(0xd3),'duration':0x0}),_0x1e2c6f['id']===_0x14888b[_0x1a4184(0xff)]&&this[_0x1a4184(0xd0)][_0x1a4184(0x105)]({'type':_0x55f645[_0x1a4184(0x22d)],'content':this[_0x1a4184(0x98)]['t'](_0x1a4184(0xda))+'('+_0x1e2c6f['data']+')'}),_0x1e2c6f['id']===_0x14888b['JOIN_ROOM_FAILED']&&this[_0x1a4184(0xd0)][_0x1a4184(0x105)]({'type':_0x55f645['Warning'],'content':this[_0x1a4184(0x98)]['t'](_0x1e2c6f['data']||'')}),_0x1e2c6f['id']===_0x14888b[_0x1a4184(0x287)]&&this[_0x1a4184(0xd0)]['show']({'type':_0x55f645['Warning'],'content':this[_0x1a4184(0x98)]['t']('session.will-retry')}),_0x1e2c6f['id']===_0x14888b[_0x1a4184(0x14a)]&&this[_0x1a4184(0xd0)][_0x1a4184(0x105)]({'type':_0x55f645[_0x1a4184(0x22d)],'content':this['_localeService']['t']('session.connection-failed')}),_0x1e2c6f['id']===_0x14888b[_0x1a4184(0x189)]&&this[_0x1a4184(0xd0)][_0x1a4184(0x105)]({'type':_0x55f645['Error'],'content':this[_0x1a4184(0x98)]['t'](_0x1a4184(0xf1))});}));}};ne=Qi([B(0x0,_0x24430e),B(0x1,_0x512a3e),B(0x2,_0x3a3e27(_0x2177a8)),B(0x3,_0x496bda),B(0x4,_0x56937e),B(0x5,_0x3a3e27(_0x3cfee4))],ne);const qi=_0x2177f1(0xb2),et={};var en=Object[_0x2177f1(0x255)],tn=(_0x42701c,_0x4d8109,_0x801340,_0x53ffba)=>{const _0x1f7930=_0x2177f1;for(var _0x510ad6=_0x53ffba>0x1?void 0x0:_0x53ffba?en(_0x4d8109,_0x801340):_0x4d8109,_0x176f61=_0x42701c[_0x1f7930(0x21e)]-0x1,_0x43637a;_0x176f61>=0x0;_0x176f61--)(_0x43637a=_0x42701c[_0x176f61])&&(_0x510ad6=_0x43637a(_0x510ad6)||_0x510ad6);return _0x510ad6;},tt=(_0x1c48db,_0x2d469c)=>(_0x59f1f8,_0x852187)=>_0x2d469c(_0x59f1f8,_0x852187,_0x1c48db);let re=class{constructor(_0x2622b9,_0x4dc427){const _0x444c45=_0x2177f1;this[_0x444c45(0x1e0)]=_0x2622b9,this['_renderManagerService']=_0x4dc427;}[_0x2177f1(0x1a2)](_0x1196c3){const _0x15909a=_0x2177f1;this[_0x15909a(0x142)](_0x1196c3),this[_0x15909a(0x27f)](_0x1196c3);}['transformRemoteChangeset'](_0x28dc8b){const _0x1d8feb=_0x2177f1,{unitID:_0x31804a}=_0x28dc8b,_0x191fd2=this[_0x1d8feb(0x127)][_0x1d8feb(0xe4)](_0x31804a)['with'](_0x556f8d),{redoCache:_0x823bae}=_0x191fd2[_0x1d8feb(0xfa)]();if(_0x823bae[_0x1d8feb(0x21e)]===0x0)return _0x28dc8b;let _0x473e56=_0x36c097[_0x1d8feb(0x17c)](_0x28dc8b['mutations'][0x0]);for(let _0x540c02=0x0;_0x540c02<_0x823bae['length'];_0x540c02++){const _0x331fb0={'id':'doc.mutation.rich-text-editing','params':{..._0x823bae[_0x540c02]}},_0x562923=this[_0x1d8feb(0x1e0)][_0x1d8feb(0x276)](_0x473e56,_0x331fb0,!0x1);if(_0x2a9d79(_0x562923))throw _0x562923[_0x1d8feb(0xd3)];_0x473e56=_0x562923[_0x1d8feb(0xa9)];}return{..._0x36c097['deepClone'](_0x28dc8b),'mutations':[_0x473e56]};}[_0x2177f1(0x142)](_0x7b0f09){const _0x4fd2b9=_0x2177f1,{unitID:_0x3a5f9b}=_0x7b0f09,_0x46ddbf=this['_renderManagerService']['getRenderById'](_0x3a5f9b)[_0x4fd2b9(0x24f)](_0x556f8d),{undoCache:_0x1fadd7,redoCache:_0x231702}=_0x46ddbf[_0x4fd2b9(0xfa)]();if(_0x1fadd7[_0x4fd2b9(0x21e)]===0x0||_0x231702[_0x4fd2b9(0x21e)]===0x0)return;const _0x501d53=[],_0x5b286b=[];let _0x3bdab4=_0x36c097['deepClone'](_0x7b0f09['mutations'][0x0]),_0x46e661=_0x36c097[_0x4fd2b9(0x17c)](_0x7b0f09['mutations'][0x0]);for(let _0x4a8e75=_0x1fadd7[_0x4fd2b9(0x21e)]-0x1;_0x4a8e75>=0x0;_0x4a8e75--){const _0x26bd1b={'id':_0x4fd2b9(0xd6),'params':{..._0x1fadd7[_0x4a8e75]}},_0x5067c={'id':_0x4fd2b9(0xd6),'params':{..._0x231702[_0x4a8e75]}},_0x5eb5fc=this[_0x4fd2b9(0x1e0)][_0x4fd2b9(0x276)](_0x3bdab4,_0x26bd1b,!0x1),_0x2cdec1=this[_0x4fd2b9(0x1e0)][_0x4fd2b9(0x276)](_0x46e661,_0x5067c,!0x1);if(_0x2a9d79(_0x5eb5fc))throw _0x5eb5fc['error'];if(_0x2a9d79(_0x2cdec1))throw _0x2cdec1['error'];_0x501d53[_0x4fd2b9(0x1fe)](_0x5eb5fc[_0x4fd2b9(0x12c)][_0x4fd2b9(0x15a)]),_0x5b286b[_0x4fd2b9(0x1fe)](_0x2cdec1['m2Prime'][_0x4fd2b9(0x15a)]),_0x3bdab4=_0x5eb5fc[_0x4fd2b9(0xa9)],_0x46e661=_0x2cdec1[_0x4fd2b9(0xa9)];}_0x46ddbf[_0x4fd2b9(0x13b)]({'undoCache':_0x501d53,'redoCache':_0x5b286b});}[_0x2177f1(0x27f)](_0x39326c){const _0x4701c5=_0x2177f1,{unitID:_0x187f4d}=_0x39326c,_0x35e92c=this[_0x4701c5(0x127)][_0x4701c5(0xe4)](_0x187f4d)[_0x4701c5(0x24f)](_0x556f8d),_0xc7e7c5=_0x35e92c[_0x4701c5(0x1ab)]();if(_0xc7e7c5==null)return;const _0x987830=[{'id':_0x4701c5(0xd6),'params':{'unitId':_0x39326c[_0x4701c5(0x1a1)],'actions':null,'textRanges':[_0xc7e7c5]}}],_0x19d65f=this[_0x4701c5(0x1e0)][_0x4701c5(0x264)](_0x39326c,_0x987830);if(!_0x34d2be(_0x19d65f))throw _0x19d65f[_0x4701c5(0xd3)];const _0x5319c0=_0x19d65f[_0x4701c5(0x12c)][0x0][_0x4701c5(0x15a)][_0x4701c5(0x22f)];Array[_0x4701c5(0x21d)](_0x5319c0)&&_0x5319c0[_0x4701c5(0x21e)]&&_0x35e92c[_0x4701c5(0x177)](_0x5319c0[0x0]);}};re=tn([tt(0x0,_0x89403f),tt(0x1,_0xd21942)],re);var sn=Object[_0x2177f1(0x255)],nn=(_0x4f15bc,_0x299c51,_0x4096e2,_0xa6df0a)=>{const _0x3b00b2=_0x2177f1;for(var _0x490ff0=_0xa6df0a>0x1?void 0x0:_0xa6df0a?sn(_0x299c51,_0x4096e2):_0x299c51,_0x1fc251=_0x4f15bc[_0x3b00b2(0x21e)]-0x1,_0xf93638;_0x1fc251>=0x0;_0x1fc251--)(_0xf93638=_0x4f15bc[_0x1fc251])&&(_0x490ff0=_0xf93638(_0x490ff0)||_0x490ff0);return _0x490ff0;},Ce=(_0x1039c4,_0x382171)=>(_0x21e5ac,_0x27f140)=>_0x382171(_0x21e5ac,_0x27f140,_0x1039c4);let oe=class{constructor(_0x5535e5,_0x2b2a8a,_0x163492){const _0x410f89=_0x2177f1;this[_0x410f89(0x159)]=_0x5535e5,this[_0x410f89(0x1e0)]=_0x2b2a8a,this['_docStateChangeManagerService']=_0x163492;}[_0x2177f1(0x15f)](_0x57e9fd){const _0x1440d6=_0x2177f1;this[_0x1440d6(0xac)](_0x57e9fd);}[_0x2177f1(0x1c2)](_0x1fc709){const _0x3290f8=_0x2177f1,{unitID:_0x428efe}=_0x1fc709,{collaboration:_0x520e2e}=this[_0x3290f8(0x1b5)][_0x3290f8(0x9c)](_0x428efe);if(_0x520e2e['length']===0x0)return _0x1fc709;let _0x551233=_0x36c097[_0x3290f8(0x17c)](_0x1fc709[_0x3290f8(0x1f1)][0x0]);for(let _0xf8aecd=0x0;_0xf8aecd<_0x520e2e[_0x3290f8(0x21e)];_0xf8aecd++){const _0x2edb13={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x520e2e[_0xf8aecd]['unitId'],..._0x520e2e[_0xf8aecd]['redoState']}},_0x583677=this[_0x3290f8(0x1e0)][_0x3290f8(0x276)](_0x551233,_0x2edb13,!0x1);if(_0x2a9d79(_0x583677))throw _0x583677[_0x3290f8(0xd3)];_0x551233=_0x583677['m1Prime'];}return{..._0x36c097['deepClone'](_0x1fc709),'mutations':[_0x551233]};}['_transformHistoryAndStateStack'](_0x14a011){const _0x58ea53=_0x2177f1,{unitID:_0x2238c3}=_0x14a011,{history:_0x44af0c,collaboration:_0x4cc3be}=this[_0x58ea53(0x1b5)][_0x58ea53(0x9c)](_0x2238c3);if(_0x44af0c[_0x58ea53(0x21e)]===0x0&&_0x4cc3be[_0x58ea53(0x21e)]===0x0)return;const _0x5c3663=[],_0x4d6075=[];let _0x1ae252=_0x36c097[_0x58ea53(0x17c)](_0x14a011[_0x58ea53(0x1f1)][0x0]),_0x3327f4=_0x36c097[_0x58ea53(0x17c)](_0x14a011['mutations'][0x0]);for(let _0x412e51=_0x44af0c[_0x58ea53(0x21e)]-0x1;_0x412e51>=0x0;_0x412e51--){const _0x568fb8={'id':_0x58ea53(0xd6),'params':{'unitId':_0x44af0c[_0x412e51]['unitId'],..._0x44af0c[_0x412e51][_0x58ea53(0x218)]}},_0x3c0643={'id':_0x58ea53(0xd6),'params':{'unitId':_0x44af0c[_0x412e51][_0x58ea53(0x216)],..._0x44af0c[_0x412e51][_0x58ea53(0xbe)]}},_0x349d0f=this[_0x58ea53(0x1e0)]['transformMutation'](_0x1ae252,_0x568fb8,!0x1),_0x3f61f5=this['_transformService'][_0x58ea53(0x276)](_0x3327f4,_0x3c0643,!0x1);if(_0x2a9d79(_0x349d0f))throw _0x349d0f[_0x58ea53(0xd3)];if(_0x2a9d79(_0x3f61f5))throw _0x3f61f5[_0x58ea53(0xd3)];_0x5c3663[_0x58ea53(0x1fe)]({..._0x44af0c[_0x412e51],'undoState':_0x349d0f[_0x58ea53(0x12c)][_0x58ea53(0x15a)],'redoState':_0x3f61f5[_0x58ea53(0x12c)][_0x58ea53(0x15a)]}),_0x1ae252=_0x349d0f[_0x58ea53(0xa9)],_0x3327f4=_0x3f61f5[_0x58ea53(0xa9)];}_0x1ae252=_0x36c097['deepClone'](_0x14a011['mutations'][0x0]),_0x3327f4=_0x36c097['deepClone'](_0x14a011['mutations'][0x0]);for(let _0x45b985=_0x4cc3be[_0x58ea53(0x21e)]-0x1;_0x45b985>=0x0;_0x45b985--){const _0xdcdee4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cc3be[_0x45b985][_0x58ea53(0x216)],..._0x4cc3be[_0x45b985][_0x58ea53(0x218)]}},_0x48294d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cc3be[_0x45b985][_0x58ea53(0x216)],..._0x4cc3be[_0x45b985][_0x58ea53(0xbe)]}},_0x4f2b78=this[_0x58ea53(0x1e0)][_0x58ea53(0x276)](_0x1ae252,_0xdcdee4,!0x1),_0x25cf33=this['_transformService']['transformMutation'](_0x3327f4,_0x48294d,!0x1);if(_0x2a9d79(_0x4f2b78))throw _0x4f2b78[_0x58ea53(0xd3)];if(_0x2a9d79(_0x25cf33))throw _0x25cf33['error'];_0x4d6075[_0x58ea53(0x1fe)]({..._0x4cc3be[_0x45b985],'undoState':_0x4f2b78[_0x58ea53(0x12c)][_0x58ea53(0x15a)],'redoState':_0x25cf33[_0x58ea53(0x12c)]['params']}),_0x1ae252=_0x4f2b78['m1Prime'],_0x3327f4=_0x25cf33['m1Prime'];}this['_docStateChangeManagerService'][_0x58ea53(0x14b)](_0x2238c3,{'history':_0x5c3663,'collaboration':_0x4d6075});}};oe=nn([Ce(0x0,_0x3a3e27(_0xf5f0c3)),Ce(0x1,_0x89403f),Ce(0x2,_0x3a3e27(_0x1cd434))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x42971e,_0x2a7b4c,_0x147787,_0x3f4d5a)=>{const _0x31b93e=_0x2177f1;for(var _0x19c0fc=_0x3f4d5a>0x1?void 0x0:_0x3f4d5a?rn(_0x2a7b4c,_0x147787):_0x2a7b4c,_0x502adf=_0x42971e[_0x31b93e(0x21e)]-0x1,_0x17bfd3;_0x502adf>=0x0;_0x502adf--)(_0x17bfd3=_0x42971e[_0x502adf])&&(_0x19c0fc=_0x17bfd3(_0x19c0fc)||_0x19c0fc);return _0x19c0fc;},st=(_0x3d9520,_0x10f8c1)=>(_0xd26f2f,_0x2f43c5)=>_0x10f8c1(_0xd26f2f,_0x2f43c5,_0x3d9520);let ae=class{constructor(_0x65dc9d,_0x43faae){const _0x3c1323=_0x2177f1;this[_0x3c1323(0x159)]=_0x65dc9d,this[_0x3c1323(0x1e0)]=_0x43faae;}[_0x2177f1(0x1d2)](_0x42123e){const _0x584ada=_0x2177f1;var _0x30d264;const _0x151586=this[_0x584ada(0x159)][_0x584ada(0x1fc)](_0x472df9),_0x1e8873=(_0x30d264=_0x151586['getDocRanges']())!=null?_0x30d264:[];if(_0x1e8873[_0x584ada(0x21e)]===0x0)return;const _0x5a1bb0=_0x42123e[_0x584ada(0x1a1)],_0x3e45c8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a1bb0,'actions':null,'textRanges':_0x1e8873}}],_0x2c6ded=this['_transformService']['transformMutationsWithChangeset'](_0x42123e,_0x3e45c8);if(!_0x34d2be(_0x2c6ded))throw _0x2c6ded[_0x584ada(0xd3)];const _0x393624=_0x2c6ded[_0x584ada(0x12c)][0x0]['params'][_0x584ada(0x22f)];Array[_0x584ada(0x21d)](_0x393624)&&_0x393624[_0x584ada(0x21e)]&&_0x151586[_0x584ada(0xb7)](_0x393624,{'unitId':_0x5a1bb0,'subUnitId':_0x5a1bb0},!0x1);}};ae=on([st(0x0,_0x3a3e27(_0xf5f0c3)),st(0x1,_0x89403f)],ae);var an=Object[_0x2177f1(0x255)],cn=(_0x3cf944,_0x2607d2,_0x5eb267,_0x210294)=>{const _0x5b13aa=_0x2177f1;for(var _0x530a8d=_0x210294>0x1?void 0x0:_0x210294?an(_0x2607d2,_0x5eb267):_0x2607d2,_0x2b7e3d=_0x3cf944[_0x5b13aa(0x21e)]-0x1,_0x3a6a93;_0x2b7e3d>=0x0;_0x2b7e3d--)(_0x3a6a93=_0x3cf944[_0x2b7e3d])&&(_0x530a8d=_0x3a6a93(_0x530a8d)||_0x530a8d);return _0x530a8d;},N=(_0x279a54,_0x1677a1)=>(_0x18b66a,_0x4e83bb)=>_0x1677a1(_0x18b66a,_0x4e83bb,_0x279a54);let ce=class extends _0x37d18c{constructor(_0x5a5df5,_0x16d3b5,_0xf917ad,_0x3368c9,_0x17f03d,_0x26ce26,_0x173727,_0x43b14f){const _0x2aedcc=_0x2177f1;super(),_(this,_0x2aedcc(0x244),new _0x40a9ba(_0x2b11ed['NOT_COLLAB'])),(this[_0x2aedcc(0x1b5)]=_0x5a5df5,this[_0x2aedcc(0x1a6)]=_0x16d3b5,this[_0x2aedcc(0x86)]=_0xf917ad,this[_0x2aedcc(0x12a)]=_0x3368c9,this[_0x2aedcc(0xcc)]=_0x17f03d,this['_docSyncEditingCollabCursorService']=_0x26ce26,this[_0x2aedcc(0xd0)]=_0x173727,this[_0x2aedcc(0x98)]=_0x43b14f,this[_0x2aedcc(0x1df)]());}[_0x2177f1(0x1df)](){const _0x36c1a3=_0x2177f1;this['disposeWithMe'](this['_collaborationController'][_0x36c1a3(0x193)]['subscribe'](_0x17fdf3=>{const _0xe0e72d=_0x36c1a3,_0x28eb87=this[_0xe0e72d(0x1b5)][_0xe0e72d(0x154)]['subscribe'](_0x10d0d6=>{const _0x72ccce=_0xe0e72d;if(_0x10d0d6==null)return;const {unitId:_0x58e9d1,redoState:_0x384b41,commandId:_0x4b4816}=_0x10d0d6;if(_0x58e9d1!==_0x17fdf3[_0x72ccce(0x1a1)])return;const _0x4503d9={'id':_0x4b4816,'type':_0x1c2ea4[_0x72ccce(0x15b)],'params':{'unitId':_0x58e9d1,'actions':_0x384b41[_0x72ccce(0x249)],'textRanges':null}};_0x17fdf3[_0x72ccce(0xd8)](_0x4503d9);});if(_0x17fdf3[_0xe0e72d(0x165)](_0x28eb87),_0x17fdf3 instanceof _0x58e4b1){const _0x326435={'onTransformIME':_0x2d5a25=>this['_docTransformIMECacheService'][_0xe0e72d(0x1a2)](_0x2d5a25),'onTransformState':_0x3dd2da=>this[_0xe0e72d(0x12a)][_0xe0e72d(0x15f)](_0x3dd2da),'onTransformSelections':_0x31c78a=>this['_docTransformSelectionsService'][_0xe0e72d(0x1d2)](_0x31c78a),'onSyncEditingCollabCursor':_0x1c265d=>this[_0xe0e72d(0x14e)][_0xe0e72d(0x8e)](_0x1c265d),'onTransformRemoteChangesetByIMECache':_0x4a7d59=>this[_0xe0e72d(0x86)][_0xe0e72d(0x1c2)](_0x4a7d59),'onTransformRemoteChangesetByStateCache':_0x55e388=>this[_0xe0e72d(0x12a)][_0xe0e72d(0x1c2)](_0x55e388)};_0x17fdf3['addHandlerCallback'](_0x326435);}}));}};ce=cn([N(0x0,_0x3a3e27(_0x1cd434)),N(0x1,_0x3a3e27(_0x41dce7)),N(0x2,_0x3a3e27(re)),N(0x3,_0x3a3e27(oe)),N(0x4,_0x3a3e27(ae)),N(0x5,_0x3a3e27(Fe)),N(0x6,_0x496bda),N(0x7,_0x3a3e27(_0x3cfee4))],ce);var ln=Object[_0x2177f1(0x255)],_n=(_0x44491b,_0x419dad,_0x59605f,_0x2872aa)=>{const _0x3cfdb5=_0x2177f1;for(var _0x449f5d=_0x2872aa>0x1?void 0x0:_0x2872aa?ln(_0x419dad,_0x59605f):_0x419dad,_0x2d6edd=_0x44491b[_0x3cfdb5(0x21e)]-0x1,_0x26d76f;_0x2d6edd>=0x0;_0x2d6edd--)(_0x26d76f=_0x44491b[_0x2d6edd])&&(_0x449f5d=_0x26d76f(_0x449f5d)||_0x449f5d);return _0x449f5d;},Ee=(_0x66d564,_0x50c220)=>(_0x327652,_0x5e4559)=>_0x50c220(_0x327652,_0x5e4559,_0x66d564);let we=class extends _0x37d18c{constructor(_0x516da9,_0x152967,_0x18d3e4){const _0x1c60cb=_0x2177f1;super(),_(this,_0x1c60cb(0x27a),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x1c60cb(0x18b),!0x1),(this[_0x1c60cb(0x99)]=_0x516da9,this['_localStorageService']=_0x152967,this[_0x1c60cb(0x201)]=_0x18d3e4);}[_0x2177f1(0x173)](){const _0x28a6a7=_0x2177f1;this[_0x28a6a7(0x18b)]=!0x0;}[_0x2177f1(0x27e)](){const _0x6351f1=_0x2177f1;this[_0x6351f1(0x18b)]=!0x1;}get[_0x2177f1(0x17a)](){const _0x25e944=_0x2177f1;return this[_0x25e944(0x13c)];}['dispose'](){const _0x12a6ef=_0x2177f1;this[_0x12a6ef(0x26e)]()['then'](()=>super[_0x12a6ef(0x212)]());}async[_0x2177f1(0x257)](_0x25bdda){const _0x898ac3=_0x2177f1;return this[_0x898ac3(0x18b)]?null:this[_0x898ac3(0x1bc)][_0x898ac3(0xdb)](_0x7cd554(_0x25bdda));}async['saveOfflineData'](_0x393eda,_0x4b21f3){const _0x5ef1a9=_0x2177f1;return!!this[_0x5ef1a9(0x1bc)]['setItem'](_0x393eda,_0x4b21f3);}['updateOfflineData'](_0x5c51c7,_0x3b9940,_0x37349d,_0x3d513b){const _0x2fe21b=_0x2177f1,_0x3dbf02=this[_0x2fe21b(0x201)][_0x2fe21b(0x1c9)](_0x5c51c7);this[_0x2fe21b(0x27a)]['set'](_0x5c51c7,{'unitID':_0x5c51c7,'type':_0x3b9940,'awaitingChangeset':_0x37349d,'mutations':_0x3d513b,'rev':_0x3dbf02}),this[_0x2fe21b(0x13c)][_0x2fe21b(0xf5)](_0x5c51c7)||this[_0x2fe21b(0xf6)](_0x5c51c7);}[_0x2177f1(0xf6)](_0x4da68a){const _0x31ebda=_0x2177f1,_0x3c73d9=this['_getSaveTimeout']();_0x3c73d9===0x0?this['_saveCache'](_0x4da68a):this['_saveTaskMap'][_0x31ebda(0xa8)](_0x4da68a,setTimeout(()=>this[_0x31ebda(0x275)](_0x4da68a),_0x3c73d9));}[_0x2177f1(0x222)](){const _0x12047e=_0x2177f1;var _0x37a2a7;return(_0x37a2a7=this[_0x12047e(0x99)]['getConfig'](_0x5e8c92))!=null?_0x37a2a7:_0x5abd30;}[_0x2177f1(0x275)](_0x17e6cb){const _0x57e417=_0x2177f1,_0x4953ea=this[_0x57e417(0x13c)][_0x57e417(0x1fc)](_0x17e6cb);return _0x4953ea!==void 0x0&&window['clearTimeout'](_0x4953ea),this['_localStorageService'][_0x57e417(0xc2)](_0x7cd554(_0x17e6cb),this[_0x57e417(0x27a)][_0x57e417(0x1fc)](_0x17e6cb))['then'](()=>this[_0x57e417(0x13c)][_0x57e417(0x163)](_0x17e6cb));}async[_0x2177f1(0x26e)](){const _0x4d2d0d=_0x2177f1,_0x46205a=[];this[_0x4d2d0d(0x13c)]['forEach']((_0x2dc88b,_0x1b5089)=>{const _0x4fc5b7=_0x4d2d0d;window[_0x4fc5b7(0x12b)](_0x2dc88b),_0x46205a[_0x4fc5b7(0xd2)](this[_0x4fc5b7(0x275)](_0x1b5089)[_0x4fc5b7(0x144)](()=>{const _0xbe50c3=_0x4fc5b7;this[_0xbe50c3(0x13c)][_0xbe50c3(0x163)](_0x1b5089);}));}),await Promise[_0x4d2d0d(0x10c)](_0x46205a);}};we=_n([Ee(0x0,_0x141485),Ee(0x1,_0xb50a53),Ee(0x2,_0x3a3e27(_0x129399))],we);class hn extends _0x5cede8{constructor(){const _0x593c4b=_0x2177f1;super(),_(this,_0x593c4b(0x1b0)),this[_0x593c4b(0x1b0)]=_0x18239d(window,_0x593c4b(0x1a4))[_0x593c4b(0x20c)](_0x37dacf(this[_0x593c4b(0x1e4)]),_0x5746cd(0x1),_0x443ab3(void 0x0));}['setParam'](_0x55aefa,_0x185fdc,_0x7cd9df=!0x1){const _0xce558f=_0x2177f1,_0x65daaa=new URL(window[_0xce558f(0x188)]['href']);_0x65daaa['searchParams']['set'](_0x55aefa,_0x185fdc),_0x7cd9df?window[_0xce558f(0x1b2)][_0xce558f(0x83)]('','',_0x65daaa[_0xce558f(0x1b3)]()):window[_0xce558f(0x1b2)][_0xce558f(0x260)]('','',_0x65daaa[_0xce558f(0x1b3)]());}[_0x2177f1(0x136)](_0x31bace,_0x3cadd4=!0x1){const _0x538f9c=_0x2177f1,_0x49766d=new URL(window[_0x538f9c(0x188)][_0x538f9c(0x248)]);_0x49766d[_0x538f9c(0x25a)][_0x538f9c(0x163)](_0x31bace),_0x3cadd4?window['history'][_0x538f9c(0x83)]('','',_0x49766d[_0x538f9c(0x1b3)]()):window[_0x538f9c(0x1b2)][_0x538f9c(0x260)]('','',_0x49766d[_0x538f9c(0x1b3)]());}[_0x2177f1(0x13e)](_0xb5fe6f){const _0x37dfc8=_0x2177f1;var _0x2615d5;return(_0x2615d5=new URL(window[_0x37dfc8(0x188)][_0x37dfc8(0x248)])[_0x37dfc8(0x25a)][_0x37dfc8(0x1fc)](_0xb5fe6f))!=null?_0x2615d5:void 0x0;}}var un=Object[_0x2177f1(0x140)],dn=Object[_0x2177f1(0x255)],fn=(_0x2c1ac3,_0xfed20,_0x2c4610)=>_0xfed20 in _0x2c1ac3?un(_0x2c1ac3,_0xfed20,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c4610}):_0x2c1ac3[_0xfed20]=_0x2c4610,Sn=(_0xfe7dfe,_0x404c77,_0x7755b0,_0x618873)=>{const _0x143af0=_0x2177f1;for(var _0x1f4c3a=_0x618873>0x1?void 0x0:_0x618873?dn(_0x404c77,_0x7755b0):_0x404c77,_0x5c7f89=_0xfe7dfe[_0x143af0(0x21e)]-0x1,_0x171e15;_0x5c7f89>=0x0;_0x5c7f89--)(_0x171e15=_0xfe7dfe[_0x5c7f89])&&(_0x1f4c3a=_0x171e15(_0x1f4c3a)||_0x1f4c3a);return _0x1f4c3a;},Oe=(_0x48187c,_0x55e8b5)=>(_0x16c21d,_0x1ebc43)=>_0x55e8b5(_0x16c21d,_0x1ebc43,_0x48187c),mn=(_0x124204,_0x56b267,_0x4bf022)=>fn(_0x124204,_0x56b267+'',_0x4bf022);const In=_0x2177f1(0xfb);let Ae=class extends _0x357bd5{constructor(_0x2085ab=et,_0x1af165,_0x2af1b4,_0x7a7f1a){const _0x4ae789=_0x2177f1;super(),this['_config']=_0x2085ab,this[_0x4ae789(0x127)]=_0x1af165,this['_injector']=_0x2af1b4,this['_configService']=_0x7a7f1a;const {..._0x2b52e3}=_0x168017({},et,this[_0x4ae789(0x1bf)]);this[_0x4ae789(0x99)]['setConfig'](qi,_0x2b52e3);}[_0x2177f1(0x286)](){const _0x1e4054=_0x2177f1;this[_0x1e4054(0x221)](),this[_0x1e4054(0xef)]();}[_0x2177f1(0xd5)](){const _0x255bd7=_0x2177f1;this[_0x255bd7(0x161)]();}[_0x2177f1(0x221)](){const _0x1b3f3b=_0x2177f1;var _0x1811f3;const _0x2e6dff=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x259704,{'useClass':_0x116785}],[_0x512a3e,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x37ea1d(this['_injector'],_0x4a31ed(_0x2e6dff,(_0x1811f3=this[_0x1b3f3b(0x1bf)])==null?void 0x0:_0x1811f3[_0x1b3f3b(0x121)]));}[_0x2177f1(0x161)](){const _0x4ae425=_0x2177f1;this['disposeWithMe'](this[_0x4ae425(0x127)][_0x4ae425(0x183)](_0x1c0ca7[_0x4ae425(0x185)],[Le])),this[_0x4ae425(0x165)](this['_renderManagerService']['registerRenderModule'](_0x1c0ca7[_0x4ae425(0x1de)],[Pe]));}[_0x2177f1(0xef)](){_0x22c9e7(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x2177f1(0x82),In),Ae=Sn([_0x1f7253(_0x529b32),Oe(0x1,_0xd21942),Oe(0x2,_0x3a3e27(_0xf5f0c3)),Oe(0x3,_0x141485)],Ae);var vn=Object[_0x2177f1(0x255)],gn=(_0x2004fa,_0x3082c8,_0x31c60c,_0x421eff)=>{const _0x54d09c=_0x2177f1;for(var _0x28c5dc=_0x421eff>0x1?void 0x0:_0x421eff?vn(_0x3082c8,_0x31c60c):_0x3082c8,_0x1cfca6=_0x2004fa[_0x54d09c(0x21e)]-0x1,_0xe258af;_0x1cfca6>=0x0;_0x1cfca6--)(_0xe258af=_0x2004fa[_0x1cfca6])&&(_0x28c5dc=_0xe258af(_0x28c5dc)||_0x28c5dc);return _0x28c5dc;},z=(_0x4e9727,_0xba01b4)=>(_0x231ea5,_0x4d84b1)=>_0xba01b4(_0x231ea5,_0x4d84b1,_0x4e9727);let it=class extends _0x2aab71{constructor(_0xa508ac,_0x135c0a,_0x464da0,_0x46af2c,_0x2793a8){super(_0xa508ac,_0x135c0a,_0x464da0,_0x46af2c,_0x2793a8);}async[_0x2177f1(0xde)](_0x2e3ffa){const _0x3c3ffe=_0x2177f1,_0x31f29f=await this[_0x3c3ffe(0xc7)](),_0x3d4792=this['_createSocketURL'](_0x2e3ffa,_0x31f29f);return this[_0x3c3ffe(0x242)](_0x3d4792);}['_createSocketURL'](_0x3172f8,_0x238691){const _0x3e2380=_0x2177f1,_0xc90ef4=typeof window>'u'?new URL(_0x3172f8):new URL(_0x3172f8,window[_0x3e2380(0x188)]['origin']);_0xc90ef4[_0x3e2380(0x25a)][_0x3e2380(0xa8)](_0x3e2380(0xeb),_0x238691);const _0x201eb6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3e2380(0x188)][_0x3e2380(0xe5)]);return _0x201eb6[_0x3e2380(0x1fc)](_0x3e2380(0x21c))&&_0xc90ef4[_0x3e2380(0x25a)][_0x3e2380(0xa8)](_0x3e2380(0x21c),_0x201eb6[_0x3e2380(0x1fc)](_0x3e2380(0x21c))),_0xc90ef4[_0x3e2380(0x1b3)]();}async[_0x2177f1(0xc7)](){const _0x11ad40=_0x2177f1;var _0x1ceaeb,_0x1d7082,_0x400107;const _0x2f66b5=this[_0x11ad40(0x99)]['getConfig'](_0x5bfee2),_0x2f2e4a=(_0x1ceaeb=_0x2f66b5==null?void 0x0:_0x2f66b5[_0x11ad40(0xea)])!=null?_0x1ceaeb:_0x1e4a2c;return(_0x400107=(_0x1d7082=(await this[_0x11ad40(0x15c)]['get'](_0x2f2e4a,{'headers':{'Content-Type':'application/json'}}))[_0x11ad40(0x16a)])==null?void 0x0:_0x1d7082[_0x11ad40(0x171)])!=null?_0x400107:'';}};it=gn([z(0x0,_0x3a3e27(_0xf5f0c3)),z(0x1,_0x3a3e27(_0x21249a)),z(0x2,_0x141485),z(0x3,_0x5aa2dc),z(0x4,_0x36eb8d)],it);var Lt=(_0x5cccac=>(_0x5cccac[_0x5cccac['UNDEFINED']=0x0]=_0x2177f1(0x20d),_0x5cccac[_0x5cccac['OK']=0x1]='OK',_0x5cccac[_0x5cccac['INTERNAL_ERROR']=0x2]=_0x2177f1(0x104),_0x5cccac[_0x5cccac[_0x2177f1(0x1d5)]=0x3]='PERMISSION_DENIED',_0x5cccac[_0x5cccac[_0x2177f1(0x81)]=0x4]=_0x2177f1(0x81),_0x5cccac[_0x5cccac[_0x2177f1(0x269)]=0x5]=_0x2177f1(0x269),_0x5cccac[_0x5cccac[_0x2177f1(0x1b4)]=0x6]=_0x2177f1(0x1b4),_0x5cccac[_0x5cccac[_0x2177f1(0x184)]=0x7]=_0x2177f1(0x184),_0x5cccac[_0x5cccac['TOO_MANY_REQUESTS']=0x8]=_0x2177f1(0x26d),_0x5cccac[_0x5cccac[_0x2177f1(0x112)]=0x9]='COMPLETION_FINISHED',_0x5cccac[_0x5cccac[_0x2177f1(0x85)]=0xa]='LOGIN_FAILED',_0x5cccac[_0x5cccac[_0x2177f1(0x11e)]=0xb]=_0x2177f1(0x11e),_0x5cccac[_0x5cccac['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5cccac[_0x5cccac[_0x2177f1(0xf4)]=0xd]=_0x2177f1(0xf4),_0x5cccac[_0x5cccac[_0x2177f1(0x261)]=0xe]=_0x2177f1(0x261),_0x5cccac[_0x5cccac['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5cccac[_0x5cccac['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2177f1(0x18d),_0x5cccac[_0x5cccac[_0x2177f1(0x196)]=0x1772]=_0x2177f1(0x196),_0x5cccac[_0x5cccac['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5cccac[_0x5cccac[_0x2177f1(0x1ae)]=0x1b59]=_0x2177f1(0x1ae),_0x5cccac[_0x5cccac[_0x2177f1(0x241)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5cccac[_0x5cccac[_0x2177f1(0x17d)]=0x1b5b]=_0x2177f1(0x17d),_0x5cccac[_0x5cccac['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2177f1(0xcd),_0x5cccac[_0x5cccac[_0x2177f1(0x25b)]=0x1b5d]='APPLY_DUPLICATED',_0x5cccac[_0x5cccac[_0x2177f1(0x1a5)]=0x1f41]=_0x2177f1(0x1a5),_0x5cccac[_0x5cccac[_0x2177f1(0x26f)]=0x2329]=_0x2177f1(0x26f),_0x5cccac[_0x5cccac[_0x2177f1(0x1eb)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5cccac[_0x5cccac[_0x2177f1(0x1f5)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5cccac[_0x5cccac[_0x2177f1(0xec)]=0x232c]=_0x2177f1(0xec),_0x5cccac[_0x5cccac[_0x2177f1(0x191)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5cccac[_0x5cccac[_0x2177f1(0x206)]=0x2711]=_0x2177f1(0x206),_0x5cccac[_0x5cccac['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2177f1(0x9f),_0x5cccac[_0x5cccac[_0x2177f1(0x25e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5cccac[_0x5cccac[_0x2177f1(0x143)]=0x2714]=_0x2177f1(0x143),_0x5cccac[_0x5cccac[_0x2177f1(0x151)]=0x271a]=_0x2177f1(0x151),_0x5cccac[_0x5cccac[_0x2177f1(0x279)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5cccac[_0x5cccac['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5cccac[_0x5cccac['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5cccac[_0x5cccac[_0x2177f1(0x1e5)]=0x271e]=_0x2177f1(0x1e5),_0x5cccac[_0x5cccac[_0x2177f1(0x110)]=0x271f]=_0x2177f1(0x110),_0x5cccac[_0x5cccac[_0x2177f1(0x214)]=0x2720]=_0x2177f1(0x214),_0x5cccac[_0x5cccac['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2177f1(0x120),_0x5cccac[_0x5cccac['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2177f1(0x200),_0x5cccac[_0x5cccac[_0x2177f1(0x1cc)]=0x2ee2]=_0x2177f1(0x1cc),_0x5cccac[_0x5cccac[_0x2177f1(0x1a9)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5cccac[_0x5cccac[_0x2177f1(0x282)]=0x2ee4]=_0x2177f1(0x282),_0x5cccac[_0x5cccac[_0x2177f1(0x237)]=0x2ee5]=_0x2177f1(0x237),_0x5cccac[_0x5cccac[_0x2177f1(0x195)]=0x32c9]=_0x2177f1(0x195),_0x5cccac[_0x5cccac['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5cccac[_0x5cccac['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2177f1(0x14d),_0x5cccac[_0x5cccac[_0x2177f1(0x141)]=-0x1]=_0x2177f1(0x141),_0x5cccac))(Lt||{}),pn=Object[_0x2177f1(0x255)],Cn=(_0x5cd2f0,_0x9d70a4,_0x1cb262,_0x1255e1)=>{const _0x41504f=_0x2177f1;for(var _0x1d3e96=_0x1255e1>0x1?void 0x0:_0x1255e1?pn(_0x9d70a4,_0x1cb262):_0x9d70a4,_0x4d1c9b=_0x5cd2f0[_0x41504f(0x21e)]-0x1,_0x2f6f80;_0x4d1c9b>=0x0;_0x4d1c9b--)(_0x2f6f80=_0x5cd2f0[_0x4d1c9b])&&(_0x1d3e96=_0x2f6f80(_0x1d3e96)||_0x1d3e96);return _0x1d3e96;},be=(_0x51698a,_0xa3e7c9)=>(_0x3ea14f,_0x1c07c3)=>_0xa3e7c9(_0x3ea14f,_0x1c07c3,_0x51698a);let nt=class extends _0x37d18c{constructor(_0x22d5fd,_0x512afc,_0x12c1a4){const _0xc64ba2=_0x2177f1;super(),this[_0xc64ba2(0xa3)]=_0x22d5fd,this[_0xc64ba2(0x15c)]=_0x512afc,this['_configService']=_0x12c1a4;}async['runOnServer'](_0x46c7cc,_0x38a302,_0x55999f,..._0x7496d9){const _0x156b21=_0x2177f1;var _0x20c07e,_0xf73912,_0x56b803,_0xb9c817;const _0x467176=this[_0x156b21(0xa3)][_0x156b21(0x1e9)]();if(!_0x467176)throw new Error(_0x156b21(0xe1));const _0x5ca8d2=((_0x20c07e=this[_0x156b21(0x99)][_0x156b21(0x205)](_0x283df6))!=null?_0x20c07e:_0x50a7aa)+'/'+_0x46c7cc+_0x156b21(0x119)+_0x38a302,_0x215c41=new URL(window[_0x156b21(0x188)][_0x156b21(0x248)]),_0x3aa8eb={'scriptId':_0x46c7cc,'runId':(_0xf73912=_0x215c41['searchParams'][_0x156b21(0x1fc)]('runId'))!=null?_0xf73912:'','function':_0x38a302,'unitId':_0x467176[_0x156b21(0x15e)](),'argsOfFunction':JSON[_0x156b21(0x213)](_0x7496d9),'invokeId':(_0x56b803=_0x55999f['invokeId'])!=null?_0x56b803:'','executionId':(_0xb9c817=_0x55999f[_0x156b21(0x199)])!=null?_0xb9c817:''};try{const _0x3c43c3=await this[_0x156b21(0x15c)][_0x156b21(0x246)](_0x5ca8d2,{'body':_0x3aa8eb});return _0x3c43c3[_0x156b21(0x16a)][_0x156b21(0xd3)]&&_0x3c43c3[_0x156b21(0x16a)][_0x156b21(0xd3)][_0x156b21(0x21b)]!==Lt['OK']?'Failed':_0x3c43c3[_0x156b21(0x16a)][_0x156b21(0x233)];}catch{return _0x156b21(0x116);}}};nt=Cn([be(0x0,_0xa159bd),be(0x1,_0x3a3e27(_0x21249a)),be(0x2,_0x141485)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x37d18c{constructor(){const _0x3eb149=_0x2177f1;super(),_(this,_0x3eb149(0x8b),_0x379949()),_(this,_0x3eb149(0x1a0),new Set()),_(this,_0x3eb149(0x25c),new Map()),_(this,_0x3eb149(0x128),null),_(this,_0x3eb149(0xca),new Map()),_(this,_0x3eb149(0x1ca),new Map()),this[_0x3eb149(0x1c4)]();}[_0x2177f1(0x212)](){const _0x3561ac=_0x2177f1;super[_0x3561ac(0x212)](),this['_clearOtherTimers']['forEach']((_0x1f5209,_0x317a3c)=>this['_removeClearOtherTimer'](_0x317a3c)),this[_0x3561ac(0x128)]&&window[_0x3561ac(0x1ad)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x26ec8d){const _0x76231e=_0x2177f1;return this[_0x76231e(0x1ea)](_0x26ec8d)[_0x76231e(0x20c)](_0x520b7e());}['editingUnit'](_0x410892){const _0x54d885=_0x2177f1;this[_0x54d885(0x1a0)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x54d885(0x1a0)][_0x54d885(0x227)](_0x410892),this[_0x54d885(0x108)]({'type':0x0,'memberID':this[_0x54d885(0x8b)],'unitIDs':[_0x410892],'isForwarded':!0x1});}['disposeUnit'](_0x2a4f9b){const _0x48457f=_0x2177f1;this[_0x48457f(0x1a0)][_0x48457f(0x163)](_0x2a4f9b),this['_selfUnitIDs'][_0x48457f(0x12e)]===0x0&&this[_0x48457f(0x128)]&&window[_0x48457f(0x1ad)](this[_0x48457f(0x128)]);}[_0x2177f1(0x1c4)](){const _0x465895=_0x2177f1;this['disposeWithMe'](_0x271c95(_0x18239d(window,_0x465895(0x113))[_0x465895(0x258)](_0xdc6929=>{const _0x15bb92=_0x465895;if(_0xdc6929['key']!==ot||!_0xdc6929['newValue'])return;const _0x325786=JSON[_0x15bb92(0x168)](_0xdc6929[_0x15bb92(0x240)]);this[_0x15bb92(0x277)](_0x325786);}))),window[_0x465895(0x18e)](_0x465895(0x8c),()=>this[_0x465895(0x108)]({'type':0x1,'memberID':this[_0x465895(0x8b)],'unitIDs':Array[_0x465895(0x1d7)](this[_0x465895(0x1a0)])}));}['_handleEvent'](_0x2c0e9f){const _0x2d2687=_0x2177f1;switch(_0x2c0e9f[_0x2d2687(0xed)]){case 0x0:this[_0x2d2687(0x1f0)](_0x2c0e9f);break;case 0x1:this[_0x2d2687(0x1ef)](_0x2c0e9f);break;case 0x2:this[_0x2d2687(0x88)](_0x2c0e9f);break;}}['_handleJoinEvent'](_0xbeb639){const _0x26c45d=_0x2177f1,{unitIDs:_0x44a91a,memberID:_0x3a6c8b,isForwarded:_0x1ceee4}=_0xbeb639;_0x44a91a[_0x26c45d(0x268)](_0x51e3db=>{const _0x510ead=_0x26c45d;if(!_0x1ceee4&&this[_0x510ead(0x25c)][_0x510ead(0xf5)](_0x51e3db)&&this[_0x510ead(0x1ea)](_0x51e3db)[_0x510ead(0x1b8)](_0x2ef55f['OTHER_CLIENTS_EDITING']),!this[_0x510ead(0x25c)][_0x510ead(0xf5)](_0x51e3db)||!this['_unitOnClients']['get'](_0x51e3db)[_0x510ead(0xf5)](_0x3a6c8b)){const _0x51ad0f=this[_0x510ead(0x25c)][_0x510ead(0x1fc)](_0x51e3db)||new Set();_0x51ad0f[_0x510ead(0x227)](_0x3a6c8b),this[_0x510ead(0x25c)][_0x510ead(0xa8)](_0x51e3db,_0x51ad0f),this['_scheduleClearOtherTimer'](_0x3a6c8b);}}),_0x1ceee4||this[_0x26c45d(0x108)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2177f1(0x172)](_0x3049c0){const _0x25870f=_0x2177f1;this[_0x25870f(0xb8)](_0x3049c0);const _0x283b08=window[_0x25870f(0x27d)](()=>{const _0x75042a=_0x25870f;this[_0x75042a(0x25c)][_0x75042a(0x268)](_0x265533=>{_0x265533['delete'](_0x3049c0);});},rt*0x2);this[_0x25870f(0xca)][_0x25870f(0xa8)](_0x3049c0,_0x283b08);}[_0x2177f1(0xb8)](_0x13c9c6){const _0x64d3c=_0x2177f1;if(this[_0x64d3c(0xca)][_0x64d3c(0xf5)](_0x13c9c6)){const _0x26a7f4=this[_0x64d3c(0xca)][_0x64d3c(0x1fc)](_0x13c9c6);_0x26a7f4&&window[_0x64d3c(0x12b)](_0x26a7f4),this[_0x64d3c(0xca)][_0x64d3c(0xa8)](_0x13c9c6,null);}}[_0x2177f1(0x1ef)](_0x3ffcef){const _0x1a751d=_0x2177f1,{memberID:_0x3f9124,unitIDs:_0x9cd2a5}=_0x3ffcef;_0x9cd2a5[_0x1a751d(0x268)](_0x3b316c=>{const _0x2321d5=_0x1a751d;var _0x4affd4;const _0x55377a=this[_0x2321d5(0x25c)]['get'](_0x3b316c);_0x55377a&&(_0x55377a[_0x2321d5(0x163)](_0x3f9124),(_0x4affd4=this[_0x2321d5(0x1ea)](_0x3b316c))==null||_0x4affd4['next'](_0x55377a[_0x2321d5(0x12e)]===0x0?_0x2ef55f['NO_OTHER_CLIENTS_EDITING']:_0x2ef55f[_0x2321d5(0x262)]));}),this[_0x1a751d(0xb8)](_0x3f9124);}[_0x2177f1(0x88)](_0x7d6f0a){const _0x3897f5=_0x2177f1;this['_scheduleClearOtherTimer'](_0x7d6f0a[_0x3897f5(0xb4)]);}[_0x2177f1(0x108)](_0x1e18c2){const _0x516e93=_0x2177f1;localStorage[_0x516e93(0xc2)](ot,JSON[_0x516e93(0x213)](_0x1e18c2));}[_0x2177f1(0x15d)](){const _0x2724d9=_0x2177f1;this[_0x2724d9(0x128)]=window[_0x2724d9(0x26a)](()=>{const _0x454b66=_0x2724d9;this[_0x454b66(0x108)]({'type':0x2,'memberID':this[_0x454b66(0x8b)]});},rt);}[_0x2177f1(0x1ea)](_0x521293){const _0x44afb4=_0x2177f1;return this['_unitStatus'][_0x44afb4(0xf5)](_0x521293)||this[_0x44afb4(0x1ca)][_0x44afb4(0xa8)](_0x521293,new _0x40a9ba(_0x2ef55f[_0x44afb4(0x17e)])),this['_unitStatus'][_0x44afb4(0x1fc)](_0x521293);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0xc97a(_0x211ba2,_0x57620d){const _0x2645fc=_0x2645();return _0xc97a=function(_0xc97af1,_0x424bf1){_0xc97af1=_0xc97af1-0x1e5;let _0x2f97eb=_0x2645fc[_0xc97af1];return _0x2f97eb;},_0xc97a(_0x211ba2,_0x57620d);}function _0x2645(){const _0x3d53e5=['Synced','Syncing...','1690515DJkkYX','Edit\x20conflicts','123781dgMhTC','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','726035QiZFNP','3254720oWGrVX','5634775VXuGMU','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2AXOzJu','184MCXpIt','Local\x20file','2607300ZcyrFJ','Click\x20to\x20Reconnect','6JVGoOL','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1715952WvAAAv','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x2645=function(){return _0x3d53e5;};return _0x2645();}const _0x46a962=_0xc97a;(function(_0xb052ba,_0x311b7b){const _0x4f8104=_0xc97a,_0x5b79f0=_0xb052ba();while(!![]){try{const _0x5e8d01=parseInt(_0x4f8104(0x1f2))/0x1*(-parseInt(_0x4f8104(0x1f8))/0x2)+-parseInt(_0x4f8104(0x1e9))/0x3+parseInt(_0x4f8104(0x1e5))/0x4+parseInt(_0x4f8104(0x1f4))/0x5*(parseInt(_0x4f8104(0x1e7))/0x6)+parseInt(_0x4f8104(0x1f0))/0x7*(-parseInt(_0x4f8104(0x1f9))/0x8)+parseInt(_0x4f8104(0x1ee))/0x9+parseInt(_0x4f8104(0x1f3))/0xa;if(_0x5e8d01===_0x311b7b)break;else _0x5b79f0['push'](_0x5b79f0['shift']());}catch(_0x145b21){_0x5b79f0['push'](_0x5b79f0['shift']());}}}(_0x2645,0x8f65f));const e={'collab-client':{'tooltip':{'reconnect':_0x46a962(0x1e6)}},'collabStatus':{'fetchMiss':_0x46a962(0x1f6),'conflict':_0x46a962(0x1ef),'notCollab':_0x46a962(0x1fa),'synced':_0x46a962(0x1ec),'syncing':_0x46a962(0x1ed),'offline':_0x46a962(0x1f1)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x46a962(0x1f7),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x46a962(0x1f5)},'collaboration':{'single-unit':{'warning':_0x46a962(0x1ea)},'closeRoom':_0x46a962(0x1e8)},'auth':{'needGotoLoginAlert':_0x46a962(0x1eb)}},o=e;export{o as default};
1
+ const _0x3a6210=_0x4ca8;(function(_0x4d579a,_0x3692d2){const _0x1fe9c7=_0x4ca8,_0xef79fb=_0x4d579a();while(!![]){try{const _0x136d08=parseInt(_0x1fe9c7(0xa9))/0x1*(parseInt(_0x1fe9c7(0xa6))/0x2)+-parseInt(_0x1fe9c7(0xa7))/0x3+parseInt(_0x1fe9c7(0xac))/0x4+parseInt(_0x1fe9c7(0xad))/0x5*(parseInt(_0x1fe9c7(0xb0))/0x6)+-parseInt(_0x1fe9c7(0xa8))/0x7*(-parseInt(_0x1fe9c7(0xa4))/0x8)+parseInt(_0x1fe9c7(0xb7))/0x9*(parseInt(_0x1fe9c7(0xaa))/0xa)+parseInt(_0x1fe9c7(0xb8))/0xb*(-parseInt(_0x1fe9c7(0xb6))/0xc);if(_0x136d08===_0x3692d2)break;else _0xef79fb['push'](_0xef79fb['shift']());}catch(_0x5ca075){_0xef79fb['push'](_0xef79fb['shift']());}}}(_0x4a49,0xcbc7d));function _0x4a49(){const _0x35059f=['3099528JiuiER','7IAbPWi','1FRjlQd','11710trrSYJ','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2024008VyDSYw','1046975EensHI','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','36xIYDgg','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect','660clvqlQ','108gPPWRM','172381fajyVu','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Authentication\x20Error','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','6442664DotemR','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','296018cXBMvV'];_0x4a49=function(){return _0x35059f;};return _0x4a49();}const e={'collab-client':{'tooltip':{'reconnect':_0x3a6210(0xb5)}},'collabStatus':{'fetchMiss':_0x3a6210(0xa3),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x3a6210(0xb2),'syncing':_0x3a6210(0xae),'offline':_0x3a6210(0xa2)},'session':{'connection-failed':_0x3a6210(0xb4),'will-retry':_0x3a6210(0xaf),'room-full':_0x3a6210(0xb1),'collaboration-timeout':_0x3a6210(0xb9)},'conflict':{'title':_0x3a6210(0xba),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x3a6210(0xa1),'content':_0x3a6210(0xa5)},'collaboration':{'single-unit':{'warning':_0x3a6210(0xb3)},'closeRoom':_0x3a6210(0xab)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x4ca8(_0x5ab521,_0x4f91fa){const _0x4a498f=_0x4a49();return _0x4ca8=function(_0x4ca8da,_0x22bf90){_0x4ca8da=_0x4ca8da-0xa1;let _0x298d25=_0x4a498f[_0x4ca8da];return _0x298d25;},_0x4ca8(_0x5ab521,_0x4f91fa);}export{o as default};
@@ -1 +1 @@
1
- const _0x555de2=_0x412f;(function(_0x4e8e1f,_0x1a314d){const _0x2a575c=_0x412f,_0x20584a=_0x4e8e1f();while(!![]){try{const _0x2b1fdd=-parseInt(_0x2a575c(0x1d5))/0x1+-parseInt(_0x2a575c(0x1d3))/0x2+-parseInt(_0x2a575c(0x1cc))/0x3*(-parseInt(_0x2a575c(0x1dd))/0x4)+parseInt(_0x2a575c(0x1cf))/0x5+-parseInt(_0x2a575c(0x1e0))/0x6*(-parseInt(_0x2a575c(0x1df))/0x7)+-parseInt(_0x2a575c(0x1d4))/0x8+-parseInt(_0x2a575c(0x1d6))/0x9;if(_0x2b1fdd===_0x1a314d)break;else _0x20584a['push'](_0x20584a['shift']());}catch(_0x2a7fcf){_0x20584a['push'](_0x20584a['shift']());}}}(_0x3302,0xada39));function _0x3302(){const _0x54fa28=['Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','28iKxguu','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','688261BNaceq','72gDNDZj','Edit\x20conflicts','Authentication\x20Error','37302nlhiqh','Collaboration\x20Conflict','Syncing\x20server\x20data...','3919225dwVsHb','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','281848QfujRV','923144kyczYJ','469094UVrxPD','5527107NMvkWk','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','Local\x20file'];_0x3302=function(){return _0x54fa28;};return _0x3302();}function _0x412f(_0x1a96e1,_0x5a5918){const _0x330298=_0x3302();return _0x412f=function(_0x412f02,_0x45faba){_0x412f02=_0x412f02-0x1ca;let _0x43d9f9=_0x330298[_0x412f02];return _0x43d9f9;},_0x412f(_0x1a96e1,_0x5a5918);}const e={'collab-client':{'tooltip':{'reconnect':_0x555de2(0x1d8)}},'collabStatus':{'fetchMiss':_0x555de2(0x1ce),'conflict':_0x555de2(0x1ca),'notCollab':_0x555de2(0x1d9),'synced':_0x555de2(0x1da),'syncing':_0x555de2(0x1d1),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x555de2(0x1d7),'collaboration-timeout':_0x555de2(0x1dc)},'conflict':{'title':_0x555de2(0x1cd),'content':_0x555de2(0x1d2)},'permission':{'title':_0x555de2(0x1cb),'content':_0x555de2(0x1db)},'collaboration':{'single-unit':{'warning':_0x555de2(0x1de)},'closeRoom':_0x555de2(0x1d0)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
1
+ function _0x1cc4(_0x511426,_0x4b2bda){const _0x20e66e=_0x20e6();return _0x1cc4=function(_0x1cc44b,_0x54833d){_0x1cc44b=_0x1cc44b-0x1be;let _0x40043e=_0x20e66e[_0x1cc44b];return _0x40043e;},_0x1cc4(_0x511426,_0x4b2bda);}const _0x3f9fa9=_0x1cc4;(function(_0x1f6f39,_0x51f6f6){const _0x5228d4=_0x1cc4,_0xdeea9a=_0x1f6f39();while(!![]){try{const _0x33fc73=-parseInt(_0x5228d4(0x1c8))/0x1+-parseInt(_0x5228d4(0x1ca))/0x2*(-parseInt(_0x5228d4(0x1d2))/0x3)+-parseInt(_0x5228d4(0x1ce))/0x4+parseInt(_0x5228d4(0x1c2))/0x5*(parseInt(_0x5228d4(0x1cb))/0x6)+-parseInt(_0x5228d4(0x1cd))/0x7+-parseInt(_0x5228d4(0x1c9))/0x8*(parseInt(_0x5228d4(0x1c6))/0x9)+parseInt(_0x5228d4(0x1cc))/0xa;if(_0x33fc73===_0x51f6f6)break;else _0xdeea9a['push'](_0xdeea9a['shift']());}catch(_0x171ba1){_0xdeea9a['push'](_0xdeea9a['shift']());}}}(_0x20e6,0xca61b));function _0x20e6(){const _0x1108ce=['Syncing\x20server\x20data...','Syncing...','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','5uOZUUV','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Local\x20file','9smRkeZ','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1502057CwBHKf','3353992UJQHfm','2hELBrn','5630250VZEVWK','29888170NisnZe','8055740GdDmjJ','2162356krFExK','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1543434OLMtCx'];_0x20e6=function(){return _0x1108ce;};return _0x20e6();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3f9fa9(0x1be),'conflict':'Edit\x20conflicts','notCollab':_0x3f9fa9(0x1c5),'synced':'Synced','syncing':_0x3f9fa9(0x1bf),'offline':_0x3f9fa9(0x1c7)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3f9fa9(0x1d0),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3f9fa9(0x1c4)},'permission':{'title':_0x3f9fa9(0x1c0),'content':_0x3f9fa9(0x1c3)},'collaboration':{'single-unit':{'warning':_0x3f9fa9(0x1c1)},'closeRoom':_0x3f9fa9(0x1cf)},'auth':{'needGotoLoginAlert':_0x3f9fa9(0x1d1)}};export{e as default};