@univerjs-pro/collaboration-client-ui 0.12.2-experimental.20251202-45172c6 → 0.12.2-experimental.20251202-7f1a98f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x50f2ab=_0x547c;(function(_0x21b827,_0x15060c){const _0x3deccd=_0x547c,_0x3f24c9=_0x21b827();while(!![]){try{const _0x72c0cb=parseInt(_0x3deccd(0x183))/0x1*(-parseInt(_0x3deccd(0x111))/0x2)+parseInt(_0x3deccd(0x28b))/0x3+parseInt(_0x3deccd(0x21d))/0x4+parseInt(_0x3deccd(0xbc))/0x5+-parseInt(_0x3deccd(0x20c))/0x6+-parseInt(_0x3deccd(0x232))/0x7+parseInt(_0x3deccd(0x190))/0x8;if(_0x72c0cb===_0x15060c)break;else _0x3f24c9['push'](_0x3f24c9['shift']());}catch(_0x2424d7){_0x3f24c9['push'](_0x3f24c9['shift']());}}}(_0x2134,0x94f3e));var Xe=Object[_0x50f2ab(0x35d)],Ke=(_0x3d2058,_0x355379,_0x48eb63)=>_0x355379 in _0x3d2058?Xe(_0x3d2058,_0x355379,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48eb63}):_0x3d2058[_0x355379]=_0x48eb63,_=(_0x1b0659,_0x218cba,_0x5f0cf3)=>Ke(_0x1b0659,typeof _0x218cba!=_0x50f2ab(0x375)?_0x218cba+'':_0x218cba,_0x5f0cf3);Object[_0x50f2ab(0x35d)](exports,Symbol[_0x50f2ab(0x353)],{'value':_0x50f2ab(0xd7)});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),T=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),p=require('@univerjs/docs-ui'),ze=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');function Te({ref:_0x3f3f19,..._0x3fe183}){const _0x4d9416=_0x50f2ab,{icon:_0x1da3a5,id:_0x37e0b4,className:_0x57c27e,extend:_0xa0a911,..._0x234a5e}=_0x3fe183,_0x2e7d05=(_0x4d9416(0x339)+_0x37e0b4+'\x20'+(_0x57c27e||''))['trim'](),_0x3df274=A['useRef']('_'+Qe());return $e(_0x1da3a5,''+_0x37e0b4,{'defIds':_0x1da3a5[_0x4d9416(0x2d4)],'idSuffix':_0x3df274[_0x4d9416(0x30f)]},{'ref':_0x3f3f19,'className':_0x2e7d05,..._0x234a5e},_0xa0a911);}function $e(_0x127c07,_0xe73f7d,_0x188ecb,_0x2f179a,_0xbe530a){const _0x290228=_0x50f2ab;return A[_0x290228(0x351)](_0x127c07[_0x290228(0x1a3)],{'key':_0xe73f7d,...Je(_0x127c07,_0x188ecb,_0xbe530a),..._0x2f179a},(Ze(_0x127c07,_0x188ecb)[_0x290228(0x133)]||[])[_0x290228(0x126)]((_0x585ca0,_0x3f506a)=>$e(_0x585ca0,_0xe73f7d+'-'+_0x127c07[_0x290228(0x1a3)]+'-'+_0x3f506a,_0x188ecb,void 0x0,_0xbe530a)));}function Je(_0x478884,_0x1e1a09,_0x312fa8){const _0x36bd71=_0x50f2ab,_0x5aa0d9={..._0x478884[_0x36bd71(0x369)]};_0x312fa8!=null&&_0x312fa8[_0x36bd71(0x30a)]&&_0x5aa0d9[_0x36bd71(0x114)]==='colorChannel1'&&(_0x5aa0d9['fill']=_0x312fa8['colorChannel1']),_0x478884[_0x36bd71(0x1a3)]==='mask'&&_0x5aa0d9['id']&&(_0x5aa0d9['id']=_0x5aa0d9['id']+_0x1e1a09[_0x36bd71(0x1ea)]),Object['entries'](_0x5aa0d9)[_0x36bd71(0x24f)](([_0x291623,_0x501a41])=>{const _0x3f58f7=_0x36bd71;_0x291623==='mask'&&typeof _0x501a41==_0x3f58f7(0x2eb)&&(_0x5aa0d9[_0x291623]=_0x501a41[_0x3f58f7(0x2e4)](/url\(#(.*)\)/,'url(#$1'+_0x1e1a09['idSuffix']+')'));});const {defIds:_0x25d2b2}=_0x1e1a09;return!_0x25d2b2||_0x25d2b2[_0x36bd71(0x2c7)]===0x0||(_0x478884[_0x36bd71(0x1a3)]===_0x36bd71(0x35f)&&_0x5aa0d9['xlink:href']&&(_0x5aa0d9[_0x36bd71(0x251)]=_0x5aa0d9['xlink:href']+_0x1e1a09[_0x36bd71(0x1ea)]),Object[_0x36bd71(0xcd)](_0x5aa0d9)[_0x36bd71(0x24f)](([_0x586150,_0x3f14ae])=>{const _0x92fdd5=_0x36bd71;typeof _0x3f14ae==_0x92fdd5(0x2eb)&&(_0x5aa0d9[_0x586150]=_0x3f14ae[_0x92fdd5(0x2e4)](/url\(#(.*)\)/,_0x92fdd5(0x36a)+_0x1e1a09[_0x92fdd5(0x1ea)]+')'));})),_0x5aa0d9;}function Ze(_0xb7a70a,_0x4a5874){const _0xdbd9dd=_0x50f2ab;var _0x237f7c;const {defIds:_0x3e0b03}=_0x4a5874;return!_0x3e0b03||_0x3e0b03[_0xdbd9dd(0x2c7)]===0x0?_0xb7a70a:_0xb7a70a['tag']===_0xdbd9dd(0x11a)&&((_0x237f7c=_0xb7a70a[_0xdbd9dd(0x133)])!=null&&_0x237f7c[_0xdbd9dd(0x2c7)])?{..._0xb7a70a,'children':_0xb7a70a[_0xdbd9dd(0x133)][_0xdbd9dd(0x126)](_0x13084a=>typeof _0x13084a[_0xdbd9dd(0x369)]['id']==_0xdbd9dd(0x2eb)&&_0x3e0b03&&_0x3e0b03[_0xdbd9dd(0x122)](_0x13084a[_0xdbd9dd(0x369)]['id'])?{..._0x13084a,'attrs':{..._0x13084a[_0xdbd9dd(0x369)],'id':_0x13084a[_0xdbd9dd(0x369)]['id']+_0x4a5874['idSuffix']}}:_0x13084a)}:_0xb7a70a;}function Qe(){const _0x20017e=_0x50f2ab;return Math['random']()[_0x20017e(0x131)](0x24)['substring'](0x2,0x8);}Te['displayName']=_0x50f2ab(0x2ef);const et={'tag':_0x50f2ab(0x135),'attrs':{'xmlns':_0x50f2ab(0x1ae),'fill':_0x50f2ab(0x218),'viewBox':_0x50f2ab(0xbe),'width':_0x50f2ab(0x1d3),'height':_0x50f2ab(0x1d3)},'children':[{'tag':'g','attrs':{'clipPath':_0x50f2ab(0x15a)},'children':[{'tag':'path','attrs':{'stroke':_0x50f2ab(0x246),'d':_0x50f2ab(0x14b),'strokeLinecap':_0x50f2ab(0x17a),'strokeLinejoin':_0x50f2ab(0x17a),'strokeWidth':1.2}}]},{'tag':_0x50f2ab(0x11a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x50f2ab(0x1dd),'attrs':{'fill':_0x50f2ab(0x1c4),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x50f2ab(0x1dc)]},xe=A[_0x50f2ab(0x36f)](function(_0x53b81b,_0x5ae5e7){const _0x5ed6c5=_0x50f2ab;return A[_0x5ed6c5(0x351)](Te,Object[_0x5ed6c5(0x1de)]({},_0x53b81b,{'id':_0x5ed6c5(0x306),'ref':_0x5ae5e7,'icon':et}));});xe[_0x50f2ab(0x125)]=_0x50f2ab(0x1f9);const tt={'tag':_0x50f2ab(0x135),'attrs':{'xmlns':_0x50f2ab(0x1ae),'fill':_0x50f2ab(0x218),'viewBox':_0x50f2ab(0x350),'width':_0x50f2ab(0x1d3),'height':_0x50f2ab(0x1d3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x50f2ab(0x1dd),'attrs':{'stroke':_0x50f2ab(0x246),'d':_0x50f2ab(0x28c),'strokeLinecap':_0x50f2ab(0x17a),'strokeLinejoin':_0x50f2ab(0x17a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x50f2ab(0x33f),'attrs':{'id':_0x50f2ab(0x2be)},'children':[{'tag':'path','attrs':{'fill':_0x50f2ab(0x1c4),'d':_0x50f2ab(0xed),'transform':_0x50f2ab(0x239)}}]}]}],'defIds':[_0x50f2ab(0x2be)]},Be=A[_0x50f2ab(0x36f)](function(_0x2e5d57,_0x131767){const _0x357393=_0x50f2ab;return A[_0x357393(0x351)](Te,Object[_0x357393(0x1de)]({},_0x2e5d57,{'id':_0x357393(0x305),'ref':_0x131767,'icon':tt}));});Be[_0x50f2ab(0x125)]=_0x50f2ab(0x26b);function st(_0x82cc48){const _0x468081=_0x50f2ab;switch(_0x82cc48){case u[_0x468081(0x189)][_0x468081(0x229)]:return _0x468081(0x113);case u['CollaborationStatus'][_0x468081(0x31b)]:return _0x468081(0xee);case u[_0x468081(0x189)][_0x468081(0x112)]:return _0x468081(0x2b3);case u['CollaborationStatus'][_0x468081(0x315)]:return _0x468081(0x2a2);case u[_0x468081(0x189)]['AWAITING']:case u[_0x468081(0x189)][_0x468081(0x108)]:return _0x468081(0x2d9);case u['CollaborationStatus']['SYNCED']:case u[_0x468081(0x189)][_0x468081(0x256)]:return _0x468081(0xf8);}}function it(_0x1c9da8){const _0x4a5fa8=_0x50f2ab,{status$:_0x16046c}=_0x1c9da8,_0x222daa=O[_0x4a5fa8(0x261)](_0x16046c,u[_0x4a5fa8(0x189)][_0x4a5fa8(0x315)]),_0x2e2165=O[_0x4a5fa8(0x1c8)](a['LocaleService']),_0x13ac34=O['useDependency'](u[_0x4a5fa8(0x368)]),_0xd54480=_0x222daa!==u[_0x4a5fa8(0x189)][_0x4a5fa8(0x229)],_0x25910d=_0x2e2165['t'](st(_0x222daa)),_0x43074f=_0xd54480?M[_0x4a5fa8(0x151)](Be,{}):M[_0x4a5fa8(0x151)](xe,{}),_0x103a99=A['useCallback'](()=>{const _0x559efd=_0x4a5fa8;_0xd54480||_0x13ac34[_0x559efd(0x129)]();},[_0xd54480,_0x13ac34]);function _0x5486fd(){const _0x11b591=_0x4a5fa8;return M['jsxs'](_0x11b591(0x10a),{'className':_0x11b591(0x344),'onClick':_0x103a99,'children':[M[_0x11b591(0x151)](_0x11b591(0x10a),{'className':T[_0x11b591(0xf5)](_0x11b591(0x23c),{'univer-text-green-500':_0xd54480,'univer-text-red-500':!_0xd54480}),'children':_0x43074f}),M[_0x11b591(0x151)](_0x11b591(0x10a),{'className':_0x11b591(0x18d),'children':_0x25910d})]});}return _0xd54480?_0x5486fd():M[_0x4a5fa8(0x151)](T[_0x4a5fa8(0x385)],{'title':_0x2e2165['t'](_0x4a5fa8(0x241)),'children':_0x5486fd()});}var nt=Object[_0x50f2ab(0xf1)],rt=(_0x15b295,_0x4a13ab,_0x406a4a,_0x45c343)=>{for(var _0x25eddc=_0x45c343>0x1?void 0x0:_0x45c343?nt(_0x4a13ab,_0x406a4a):_0x4a13ab,_0x4f57f6=_0x15b295['length']-0x1,_0x2d8df2;_0x4f57f6>=0x0;_0x4f57f6--)(_0x2d8df2=_0x15b295[_0x4f57f6])&&(_0x25eddc=_0x2d8df2(_0x25eddc)||_0x25eddc);return _0x25eddc;},K=(_0x3e84fb,_0x16d0a4)=>(_0x5d2bac,_0x53e060)=>_0x16d0a4(_0x5d2bac,_0x53e060,_0x3e84fb);exports[_0x50f2ab(0x188)]=class extends a[_0x50f2ab(0x29f)]{constructor(_0x2c2342,_0x5a5b01,_0x58c2a5,_0x45a490){const _0x137331=_0x50f2ab;super(),_(this,_0x137331(0x158),new I[(_0x137331(0x36d))](u[_0x137331(0x189)][_0x137331(0x315)])),(this['_univerInstanceService']=_0x2c2342,this[_0x137331(0x1eb)]=_0x5a5b01,this[_0x137331(0x1ce)]=_0x58c2a5,this[_0x137331(0x116)]=_0x45a490,this[_0x137331(0x1ba)](),this[_0x137331(0xd2)]());}['_initStatusListener'](){const _0x316a59=_0x50f2ab;this[_0x316a59(0x184)](this['_univerInstanceService'][_0x316a59(0x361)]['pipe'](I['switchMap'](()=>{const _0x336bbe=_0x316a59,_0x4653b2=this[_0x336bbe(0x155)]['getFocusedUnit']();return _0x4653b2?this['_collaborationController'][_0x336bbe(0x2fe)](_0x4653b2['getUnitId']()):I['of'](null);}),I[_0x316a59(0x26e)](_0x14a047=>_0x14a047?_0x14a047[_0x316a59(0x221)]:I['of'](u[_0x316a59(0x189)][_0x316a59(0x315)])))[_0x316a59(0x179)](_0x194029=>{const _0x196aea=_0x316a59;this[_0x196aea(0x158)][_0x196aea(0x260)](_0x194029);}));}[_0x50f2ab(0x1ba)](){const _0xd9a5d4=_0x50f2ab;this['disposeWithMe'](this[_0xd9a5d4(0x116)]['registerComponent'](O[_0xd9a5d4(0x2b9)][_0xd9a5d4(0x354)],()=>O[_0xd9a5d4(0xef)](ot({'status$':this['_status$'][_0xd9a5d4(0x13c)]()}),this[_0xd9a5d4(0x1eb)])));}},exports['DesktopCollaborationStatusDisplayController']=rt([K(0x0,a['IUniverInstanceService']),K(0x1,a[_0x50f2ab(0x28a)](a['Injector'])),K(0x2,a[_0x50f2ab(0x28a)](u[_0x50f2ab(0x1f4)])),K(0x3,O[_0x50f2ab(0x167)])],exports[_0x50f2ab(0x188)]);function _0x2134(){const _0x5a49c6=['_clearOtherTimers','_maxFormulaLimit','pushState','DocCollaborationEntity','popstate','params','_assignedColors','clearInterval','APPLY_DUPLICATED','InsertRangeMoveDownCommandId','session.collaboration-timeout','getRelativeToViewportCoord','getTypeOfUnitAdded$','getItem','_showGuardMessage','IMessageService','CollaborationUIEventService','executionId','unload','totalFormulasToCalculate','invokeId','values','sessionStatus$','with','Inject','2063166jEUHAA','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','_setupSubUnitSync','ticket','getOffsetConfig','REDEMPTION_CODE_HAS_BEEN_CREATED','_cursorShapes','size','unhandledrejection','getAncestorScale','SheetCollabCursorShape','handleInsertRow','_removeClearOtherTimer','RECT','newValue','m1Prime','DataLoaderService','find','_docSkeletonManagerService','onStarting','Disposable','black','_anchor','collabStatus.notCollab','_collaborationUIEventService','deepClone','onPointerEnter$','transformMutation','_drawRectRange','isActive','getUnhiddenWorksheets','saveTaskMap','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collab-rect-range-','whenReady','runRefRangeMutations','_dataLoaderService','getValue','_updateLocalCursor','_getSaveTimeout','collabStatus.fetchMiss','ENSURE_SNAPSHOT_EXECUTION','INVITE_CODE_REQUIRED','ranges','_initResize','replaceState','BuiltInUIPart','getCollabCursors$','UNIVER_DOC','_initUnhandledRejectionListener','push','on-line-icon_clip0_910_349','_disabled','addClipboardHook','memberID','IUniverInstanceService','onPointerMove$','enableFrontendLog','fillStyle','arc','length','override','result','UNRECOGNIZED','getCellPositionByOffset','_messageService','_scene','red.300','moveTo','_updateURLWithCurrentState','getUndoRedoMutationParamsCache','_collabCursorController','CollaborationDataLoaderController','defIds','_heartbeatTimer','_themeService','_initWindowErrorListener','entityInit$','collabStatus.syncing','UNAUTHENTICATED','_saveTaskMap','ENTITLE_CHAT_LIMIT_EXCEED','_document','sheetId','_configService','name','stringify','disableLocalCache','LICENSE_DISTRO_REJECTED','replace','unsubscribe','source','_localeService','_revisionService','_applyCommand','assignAColorForMemberID','string','DisposableCollection','TEXT','LOGIN_FAILED','UniverIcon','getActiveSheet','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','mapTo','subunit','RemoveRowCommandId','endColumn','_registerDependencies','join','unit','_config','NO_OTHER_CLIENTS_EDITING','formula.calculation.unable','cursorInfo','INVALID_ARGUMENT','getCollabEntity$','handleInsertRangeMoveRight','uni.network.url-service','IDocClipboardService','IConfigService','setShapeProps','requireSession','on-line-icon','off-line-icon','_color','body','eventID','colorChannel1','YUUMI_ALL_TABLES_IS_INVALID','_send','_onRefRangeChange','INVITE_CODE_HAS_BEEN_UES','current','RegularPolygon','storage','Workbook','REDEMPTION_CODE_FULLY_REDEEMED','rgba(255,\x20255,\x20255,\x200.01)','NOT_COLLAB','pipe','INTERNAL_ERROR','_startCalculationLimit','toRgbString','_entityInit$','CONFLICT','_selfUnitIDs','set','currentTheme$','ICommandService','column','complete','_handleEvent','_shapes','isArray','redoState','executeCommand','onRendered','registerRefRange','handleMoveRange','_docTransformStateCacheService','_clearPolling','_cursor','YUUMI_AI_RUN_FAILED','YUUMI_ASYNCIO_CANCELLED','loadOfflineData','COMPLETION_FINISHED','TOO_MANY_REQUESTS','SUCCESS','addHandlerCallback','textRanges','setUndoRedoMutationParamsCache','getColor','disposeUnit','_logService','univerjs-icon\x20univerjs-icon-','width','_init','YUUMI_SUBSCRIPTION_NOT_FOUND','m2Prime','Error','clipPath','selection','generateRandomId','_hovered','resize','univer-flex\x20univer-items-center','IRenderManagerService','_toggleOnline','RxDisposable','createSocket','onCommandExecuted','_name','/run/','_backgroundColor','_startSheetCollabCursor','_docTransformSelectionsService','getVpScrollXYInfoByPosToVp','0\x200\x2017\x2016','createElement','subscribeEvent','toStringTag','HEADER_MENU','_eventUnsubscribe','top','ILogService','post','getTypeOfUnitDisposed$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getCellMatrix','LOGIN_TOKEN_PROCESSING_FAILED','defineProperty','_labelPosition','use','_roomMembers$','focused$','YUUMI_URL_COL_OUT_OF_RANGE','maxFormulaLimit','dispose$','_onCursorDelete','_transformUndoRedoStack','key','CollaborationSessionService','attrs','url(#$1','LOCAL_CACHE_INTERVAL_KEY','REDEMPTION_USER_NOT_ELIGIBLE','BehaviorSubject','filter','forwardRef','SNAPSHOT_HAS_BEEN_REMOVED','CanceledError','debounce','roomMembers$','beginPath','symbol','Warning','YUUMI_TABLE_NOT_FOUND_IN_UNIT','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initEntityListener','YUUMI_UNABLE_LOAD_URL','measureText','IURLService','socket$','isFormulaId','addEventListener','bind','Loading','Unknown\x20user','getCurrent','actions','Tooltip','MoveRangeCommandId','_cursorInfo$','height','SetWorksheetActivateCommand','_handleHover','16010poYYwE','SetDocZoomRatioOperation','0\x200\x2016\x2016','_startDocCollabCursor','WECHAT_HAS_BEEN_BOUND','getUnit','shift','color','saveImage','SessionStatus','code','onMouseMove','isFormulaString','_notificationService','InsertRowCommandId','SOCKET_FAILED','_checkAndWaitForCalculationPermission','entries','some','ILocalStorageService','_cursors','message','_initStatusListener','location','collabCursorState$','_unitOnClients','formula.calculation.waiting','Module','doc.mutation.rich-text-editing','serializeRangeWithSheet','InsertRangeMoveRightCommandId','takeUntil','subUnitId','setStateCache','ENTITLE_DUP_SUBSCRIPTION','_setupBeforeClosingHandler','_getScale','CURRENT_STATUS_CANNOT_OPERATE','_initDependencies','editingUnit','_setFormulaLimitStatus','getRenderById','registerDependencies','_localStorageService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','USER_IS_ANONYMOUS','getRangePointData','/universer-api/frontend/logs','_instanceService','M0\x200H16V16H0z','collabStatus.conflict','connectInjector','_refRangeService','getOwnPropertyDescriptor','_scheduleSaving','setAlpha','_colorAssignService','clsx','onTransformChange$','has','collabStatus.synced','_getMergeRange','UniverCollaborationClientPlugin','UniverCollaborationClientUIPlugin','hide','_memberID','YUUMI_NO_CUBOID_FOR_QUESTION','registerBeforeClose','IImageIoService','cursorInfo$','init','getSheetId','IRemoteInstanceService','_saveCache','get','createInstance','AWAITING_WITH_PENDING','ERROR_AGAIN','div','dispose','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_online','clearTimeout','filename','add','5348QZkCiy','FETCH_MISS','collabStatus.offline','fill','endRow','_uiPartsService','history','_hideTimer','_transformPreviousActiveRange','defs','DocSkeletonManagerService','fromEventSubject','urlChange$','_handleJoinEvent','collaboration.closeRoom','getSheetBySheetId','ENTITLE_REPORT_LIMIT_EXCEED','includes','_id','_transformHistoryAndStateStack','displayName','map','error','_currentUsage','reconnect','_drawTextRange','ITransformService','_onCursorUpdate','getLocalCacheKey','engine','fillRule','row','toString','UnitStatus','children','/universer-api/license/formula/limit/status','svg','_beforeCloseService','LICENSE_EXPORT_SIZE_EXCEEDED','_ensureSubject','LocaleService','_docStateChangeManagerService','UNIVER_SHEET','asObservable','APPLY_REJECT','USER_NOT_FOUND','_colorIndex','RichTextEditingMutation','MemberService','permission.title','transformStateCache','labelPosition','WebURLService','activeSheet$','then','transformRemoteChangeset','_initUserListener','closePath','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','getFocusedUnit','Injector','touchDependencies','FormulaExecutedStateType','MessageType','jsx','_imageIoService','LICENSE_MAX_UNITS_EXCEEDED','exhaustSavingTask','_univerInstanceService','_scheduleHeartbeat','EffectRefRangId','_status$','_localCacheService','url(#off-line-icon_clip0_910_343)','[Unhandled\x20Rejection]:\x20','DocStateChangeManagerService','_httpService','_initCommandInterceptor','startColumn','transformIMECache','SetTextSelectionsOperation','APPLY_NON_SEQUENTIAL_REVISION','catch','_draw','_taskIds','getDocRanges','IUIPartsService','show','_unitStatus','_collaborationSessionService','pluginName','blue.400','permission.content','addObjects','selections','drawWith','getSheetObject','lineno','COLORS','addObject','limitInfo','...','type','CONNECTOR_DATA_TOO_LARGE','subscribe','round','_getSheetObject','OTHER_CLIENTS_EDITING','hovered','_docSyncEditingCollabCursorService','collab-text-range-','merge','Rect','_commandService','191fJSUkG','disposeWithMe','skeleton','handleInsertCol','_removeCollabCursors','DesktopCollaborationStatusDisplayController','CollaborationStatus','setItem','SheetsSelectionsService','DocSelectionManagerService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','roomMembers','shareReplay','1135056NalmBZ','SUBMIT_CHANGESET_TIMEOUT','SetFormulaCalculationNotificationMutation','HTTPService','handleIRemoveCol','ISnapshotServerService','runId','LICENSE_IMPORT_SIZE_EXCEEDED','searchParams','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','collaboration-client.offline-data-not-saved','getUniverSheetInstance','functionsExecutedState','combineLatest','startFormulaLimitUrl','_updateSubUnitFromURLParams','APPLY_PERMISSION_DENIED','stageInfo','runOnServer','tag','NodePositionConvertToRectRange','getCoordByCell','_cachedData','CHANGESET_REVISION_CONFILICT','Tools','undoState','FormulaExecuteStageType','fromEvent','distinctUntilChanged','_entities','http://www.w3.org/2000/svg','purple.300','findNodePositionByCharIndex','_docSkeleton','getConfig','DOC_RANGE_TYPE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_session','getUnitId','save','removeParam','_initStatusComponent','DeleteRangeMoveLeftCommandId','colno','_context','_scheduleClearOtherTimer','setParam','INVITE_CODE_ALREADY_BOUND','createIdentifier','_urlService','formula.calculation.started','white','TEXT_RANGE_LAYER_INDEX','data','handleDeleteRangeMoveUp','useDependency','Success','_uploadLog','_initEvent','split','deserializeRangeWithSheet','_collaborationController','getParam','_collabCursorState$','SOCKET_FAILED_RETRY','AUTHORIZE_CODE_ILLEGAL','1em','ENTITLE_INSUFFICIENT_QUOTA','releaseFormulaLimitUrl','bottom','isTransformMutationsWithChangesetSuccess','SNAPSHOT_INVALID_SNAPSHOT','BrowserCollaborationSocketService','onPointerLeave$','REDEMPTION_INVALID_CODE','off-line-icon_clip0_910_343','path','assign','session.will-retry','_docTransformIMECacheService','INotificationService','_pollingInterval','jiqing.500','Shape','collaboration.single-unit.warning','transformSelections','getSkeleton','_toggleOffline','DocIMEInputManagerService','idSuffix','_injector','getColorFromTheme','contains','/universer-api/license/formula/limit/start','ENTITLE_NEED_BILLING_ADDRESS','YUUMI_RATE_OVER_LIMIT','CommandType','CollaborationSocketService','PAYMENT_CHANNEL_NOT_SUPPORT','CollaborationController','mutations','REDEMPTION_CODE_INACTIVE','lineTo','USERS_LEAVE','OffLineIcon','ALREADY_EXISTS','restore','OTHER_CLIENT_EDITING','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getFormulaLimitStatus','ILocalCacheService','removeEventListener','/universer-api/license/formula/limit/done','unitID','_docClipboardService','FromArray','getMergeData','min','getMember','EMAIL_HAS_BEEN_BOUND','USER_NOT_INVITED_CODE','backgroundColor','_getAnchorBounding','1437858dSlOTv','debug','PY_RUNTIME_SCRIPT_ERROR','_checkCalculationAvailable','_drawAnchor','_getSessionTicket','_range','getMemberID','event$','MOBILE_VERIFY_CODE_MISMATCH','InsertColCommandId','_updateCollabCursors','none','text','href','enableLocalCache','handleDeleteRangeMoveLeft','3217896Xmgcgf','unshift','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Failed','status$','_initCommandExecutedListener','loadUnit','_lastPointer','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','parseInt','APPLY_REVISION_CONFILICT','sessionTicket','OFFLINE','EMAIL_VERIFY_CODE_MISMATCH','mergeOverrideWithDependencies','evenodd','_hover','PERMISSION_DENIED','UniverInstanceType','registerRenderModule','_memberService','1937551akBNEz','makeDirty','_textBubble','NOT_FOUND','_renderManagerService','WebSocketService','handleInsertRangeMoveDown','translate(.97)','UPDATE_CURSOR','throttleTime','univer-mr-2\x20univer-flex\x20univer-text-xl','YUUMI_CONNECTOR_URL_NOT_FOUND','isTransformMutationFailure','CollaborationUIEventId','WebBrowserSingleActiveUnitService','collab-client.tooltip.reconnect','SetSelectionsOperation','getActiveRange','green.600','_monkeyPatchLogService','currentColor','startRow','[CollaborationDataLoaderController]','CollaborationEvent','range','yellow.400','_syncEditingCollabCursorService','ThemeService','setTimeout','forEach','_sheetSkeletonManagerService','xlink:href','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DATA_SOURCE_TOO_LARGE','delete','MOBILE_HAS_BEEN_BOUND','PENDING','ColorKit','UNDEFINED','_refreshCollabCursors','fillText','_transformService','send','unitId','now','_registerRenderDependencies','next','useObservable','_releaseCalculationLimit','_hasFormulaInDirtyRanges','origin','_anchorDot','from','LOCAL_CACHE_INTERVAL','RemoteUniscriptService','updateOfflineData','currentSkeleton$','OnLineIcon','debounceTime','toDisposable','switchMap','_lastResponseTimestamp','transformByState','onLocalMutation'];_0x2134=function(){return _0x5a49c6;};return _0x2134();}function ot(_0x3dc093){const {status$:_0x5bce51}=_0x3dc093;return function(){const _0x1051f4=_0x547c;return M[_0x1051f4(0x151)](it,{'status$':_0x5bce51});};}const Oe=a[_0x50f2ab(0x1c1)](_0x50f2ab(0x300));var at=Object['getOwnPropertyDescriptor'],ct=(_0x5987e5,_0x447821,_0x59a433,_0x2385d4)=>{const _0x265c56=_0x50f2ab;for(var _0x9b3b49=_0x2385d4>0x1?void 0x0:_0x2385d4?at(_0x447821,_0x59a433):_0x447821,_0x4f6714=_0x5987e5[_0x265c56(0x2c7)]-0x1,_0x376d1b;_0x4f6714>=0x0;_0x4f6714--)(_0x376d1b=_0x5987e5[_0x4f6714])&&(_0x9b3b49=_0x376d1b(_0x9b3b49)||_0x9b3b49);return _0x9b3b49;},Y=(_0x5b4e39,_0x3a0256)=>(_0x49e0b0,_0x459e43)=>_0x3a0256(_0x49e0b0,_0x459e43,_0x5b4e39);exports[_0x50f2ab(0x2d3)]=class extends a[_0x50f2ab(0x347)]{constructor(_0x472ec8,_0x4ba6cf,_0xb08f23,_0x2c4ad6,_0x520dda){const _0x36f673=_0x50f2ab;super(),this[_0x36f673(0x1c2)]=_0x472ec8,this[_0x36f673(0x338)]=_0x4ba6cf,this['_commandService']=_0xb08f23,this[_0x36f673(0x2af)]=_0x2c4ad6,_0x520dda?_0x520dda==null||_0x520dda[_0x36f673(0x2ad)]()['then'](()=>this['_init']()):(this[_0x36f673(0x338)][_0x36f673(0x20d)](_0x36f673(0x248),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x36f673(0x33b)]());}async[_0x50f2ab(0x33b)](){const _0x180f81=_0x50f2ab,_0x28574b=this[_0x180f81(0x1c2)][_0x180f81(0x1cf)](_0x180f81(0x2f8)),_0x50c456=this[_0x180f81(0x1c2)][_0x180f81(0x1cf)](_0x180f81(0x177)),_0xfaaa3c=this['_urlService']['getParam'](_0x180f81(0x2f3));if(!_0x28574b||!_0x50c456){this[_0x180f81(0x338)][_0x180f81(0x20d)]('[CollaborationDataLoaderController]',_0x180f81(0x2ab));return;}const _0x45d2c4=await this[_0x180f81(0x2af)][_0x180f81(0x223)](_0x28574b,Number(_0x50c456),_0xfaaa3c);_0x45d2c4&&_0x45d2c4 instanceof a[_0x180f81(0x312)]&&this[_0x180f81(0x28d)](_0x45d2c4);}async[_0x50f2ab(0x28d)](_0x3d1514){const _0x4d2842=_0x50f2ab;await this[_0x4d2842(0x19f)](_0x3d1514),_0x3d1514[_0x4d2842(0x146)][_0x4d2842(0x316)](I['takeUntil'](this[_0x4d2842(0x364)]))['subscribe'](_0x214680=>{const _0x42a234=_0x4d2842;_0x214680&&this[_0x42a234(0x2d0)](_0x214680);}),this[_0x4d2842(0x1c2)][_0x4d2842(0x11d)][_0x4d2842(0x316)](I[_0x4d2842(0xdb)](this[_0x4d2842(0x364)]))[_0x4d2842(0x179)](()=>this[_0x4d2842(0x19f)](_0x3d1514));}[_0x50f2ab(0x2d0)](_0x1ecd8c,_0x3018b6=!0x1){const _0x4f475c=_0x50f2ab,_0x476b16=this[_0x4f475c(0x1c2)][_0x4f475c(0x1cf)]('subunit');_0x1ecd8c[_0x4f475c(0x103)]()!==_0x476b16&&this[_0x4f475c(0x1c2)][_0x4f475c(0x1bf)]('subunit',_0x1ecd8c[_0x4f475c(0x103)](),_0x3018b6);}async[_0x50f2ab(0x19f)](_0x5d2948){const _0x6995f1=_0x50f2ab;var _0x20ec86;const _0x414fc2=this[_0x6995f1(0x1c2)][_0x6995f1(0x1cf)](_0x6995f1(0x2f3));if(!_0x414fc2||!_0x5d2948[_0x6995f1(0x120)](_0x414fc2)){const _0x4f656c=_0x5d2948[_0x6995f1(0x2a9)]()[0x0],_0x517795=_0x5d2948[_0x6995f1(0x120)](_0x4f656c);if(!_0x517795)return;this[_0x6995f1(0x2d0)](_0x517795,!0x0),await this['_commandService'][_0x6995f1(0x326)](v[_0x6995f1(0xba)]['id'],{'unitId':_0x5d2948[_0x6995f1(0x1b7)](),'subUnitId':_0x4f656c});return;}((_0x20ec86=_0x5d2948[_0x6995f1(0x2f0)]())==null?void 0x0:_0x20ec86[_0x6995f1(0x103)]())!==_0x414fc2&&await this[_0x6995f1(0x182)]['executeCommand'](v[_0x6995f1(0xba)]['id'],{'unitId':_0x5d2948[_0x6995f1(0x1b7)](),'subUnitId':_0x414fc2});}},exports[_0x50f2ab(0x2d3)]=ct([Y(0x0,Oe),Y(0x1,a['ILogService']),Y(0x2,a[_0x50f2ab(0x31f)]),Y(0x3,a[_0x50f2ab(0x28a)](u[_0x50f2ab(0x29b)])),Y(0x4,a['Optional'](qe[_0x50f2ab(0x104)]))],exports[_0x50f2ab(0x2d3)]);var lt=Object['getOwnPropertyDescriptor'],_t=(_0x2b4f0b,_0x46b18c,_0xbbdeb8,_0x255a55)=>{const _0x3081f5=_0x50f2ab;for(var _0x3ce9d4=_0x255a55>0x1?void 0x0:_0x255a55?lt(_0x46b18c,_0xbbdeb8):_0x46b18c,_0x4f69b7=_0x2b4f0b[_0x3081f5(0x2c7)]-0x1,_0xac1633;_0x4f69b7>=0x0;_0x4f69b7--)(_0xac1633=_0x2b4f0b[_0x4f69b7])&&(_0x3ce9d4=_0xac1633(_0x3ce9d4)||_0x3ce9d4);return _0x3ce9d4;},De=(_0x584732,_0x540811)=>(_0x2a4535,_0x1a23a7)=>_0x540811(_0x2a4535,_0x1a23a7,_0x584732);let me=class extends a[_0x50f2ab(0x347)]{constructor(_0x47f9e0,_0x2088f7){const _0x4ffd8b=_0x50f2ab;super(),this[_0x4ffd8b(0x203)]=_0x47f9e0,this[_0x4ffd8b(0x152)]=_0x2088f7,this[_0x4ffd8b(0x33b)]();}[_0x50f2ab(0x33b)](){const _0x3edf25=_0x50f2ab,_0x3f4e98=this;this['disposeWithMe'](this['_docClipboardService'][_0x3edf25(0x2c0)]({'onBeforePasteImage':async _0x46642d=>{const _0x55a60b=_0x3edf25,_0x9fe067=await _0x3f4e98[_0x55a60b(0x152)][_0x55a60b(0xc4)](_0x46642d);return _0x9fe067?{'source':_0x9fe067[_0x55a60b(0x2e6)],'imageSourceType':_0x9fe067['imageSourceType']}:null;}}));}};me=_t([De(0x0,p[_0x50f2ab(0x301)]),De(0x1,ze[_0x50f2ab(0x100)])],me);const Ne=[_0x50f2ab(0x1af),_0x50f2ab(0x1e3),_0x50f2ab(0x244),_0x50f2ab(0x2ce),_0x50f2ab(0x16c),_0x50f2ab(0x24b)];class Re extends a[_0x50f2ab(0x29f)]{constructor(){const _0x315eff=_0x50f2ab;super(...arguments),_(this,_0x315eff(0x278),new Map()),_(this,_0x315eff(0x13f),0x0);}[_0x50f2ab(0x2ea)](_0x158c42){const _0x440188=_0x50f2ab;if(this[_0x440188(0x278)][_0x440188(0xf7)](_0x158c42))return this[_0x440188(0x278)][_0x440188(0x106)](_0x158c42);const _0x520e95=Ne[this['_colorIndex']];return this[_0x440188(0x13f)]=(this[_0x440188(0x13f)]+0x1)%Ne[_0x440188(0x2c7)],this[_0x440188(0x278)]['set'](_0x158c42,_0x520e95),_0x520e95;}}function Fe(_0x572075){let _0x23b82c='';for(const _0x90f4a1 of _0x572075){const {startOffset:_0x3ce94f,endOffset:_0x40b941,isActive:_0x45e821,rangeType:_0xe52fd0,segmentId:_0x2b75c1,segmentPage:_0x2afcb0}=_0x90f4a1;_0x23b82c['length']&&(_0x23b82c+=','),_0x23b82c+=_0x3ce94f+':'+_0x40b941+':'+(_0x45e821?'1':'0')+':'+_0xe52fd0+':'+_0x2b75c1+':'+_0x2afcb0;}return _0x23b82c;}function ht(_0x381105){const _0x446be1=_0x50f2ab,_0x4f784d=_0x381105[_0x446be1(0x1cc)](','),_0x7b0d43=[];for(const _0x59d353 of _0x4f784d){const [_0xc34690,_0x5479bf,_0x2f12eb,_0x31cb06,_0x40e7f6,_0x547e91]=_0x59d353[_0x446be1(0x1cc)](':');_0x7b0d43['push']({'startOffset':Number(_0xc34690),'endOffset':Number(_0x5479bf),'collapsed':_0xc34690===_0x5479bf,'isActive':_0x2f12eb==='1','rangeType':_0x31cb06===a[_0x446be1(0x1b3)]['TEXT']?a[_0x446be1(0x1b3)][_0x446be1(0x2ed)]:a['DOC_RANGE_TYPE'][_0x446be1(0x298)],'segmentId':typeof _0x40e7f6==_0x446be1(0x2eb)?String(_0x40e7f6):'','segmentPage':Number(_0x547e91!=null?_0x547e91:-0x1)});}return _0x7b0d43[_0x446be1(0xce)](_0x43dc97=>_0x43dc97[_0x446be1(0x2a8)])||(_0x7b0d43[0x0][_0x446be1(0x2a8)]=!0x0),_0x7b0d43;}class be extends a['RxDisposable']{constructor(){const _0x3f689c=_0x50f2ab;super(...arguments),_(this,_0x3f689c(0x1d0),new I[(_0x3f689c(0x36d))](null)),_(this,'collabCursorState$',this[_0x3f689c(0x1d0)]['asObservable']());}['syncEditingCollabCursor'](_0x50a6d9){const _0xa48be0=_0x50f2ab,{unitID:_0x5de8b7,memberID:_0x1ec8a3,textRanges:_0x243616}=_0x50a6d9,_0x59d15e=Fe(_0x243616);if(_0x59d15e==='')return;const _0x5eb0f7={'unitID':_0x5de8b7,'memberID':_0x1ec8a3,'selection':_0x59d15e};this[_0xa48be0(0x1d0)]['next'](_0x5eb0f7);}}var ut=Object[_0x50f2ab(0xf1)],It=(_0x5760c6,_0x43828f,_0xccc4d0,_0x49795b)=>{const _0x5183e9=_0x50f2ab;for(var _0x1735ed=_0x49795b>0x1?void 0x0:_0x49795b?ut(_0x43828f,_0xccc4d0):_0x43828f,_0x576440=_0x5760c6[_0x5183e9(0x2c7)]-0x1,_0x936b78;_0x576440>=0x0;_0x576440--)(_0x936b78=_0x5760c6[_0x576440])&&(_0x1735ed=_0x936b78(_0x1735ed)||_0x1735ed);return _0x1735ed;},U=(_0x273cc6,_0xaac0fa)=>(_0x37c584,_0x375084)=>_0xaac0fa(_0x37c584,_0x375084,_0x273cc6);const dt=0x12c,St=0x64;let ve=class extends a['RxDisposable']{constructor(_0x438d9b,_0x4536c9,_0x461782,_0x158a84,_0x5023c6,_0x36a93c,_0x4bc9ac,_0x20353d,_0x486ad){const _0x711411=_0x50f2ab;super(),_(this,'_online',!0x1),_(this,_0x711411(0x33b),!0x1),_(this,'_cursorInfo$',new I[(_0x711411(0x36d))](new Map())),_(this,'cursorInfo$',this[_0x711411(0xb8)]['asObservable']()),_(this,_0x711411(0x360),new I[(_0x711411(0x36d))]([])),_(this,_0x711411(0x373),this['_roomMembers$'][_0x711411(0x316)](I['debounceTime'](dt))),_(this,_0x711411(0x2b1),a[_0x711411(0x372)](_0x364aae=>{const _0x621889=_0x711411,_0x809462={'eventID':g[_0x621889(0x249)][_0x621889(0x23a)],'data':{'unitID':this[_0x621889(0x202)],'memberID':this['_session'][_0x621889(0x213)](),'selection':Fe(_0x364aae)}};this[_0x621889(0x1b6)][_0x621889(0x25c)](_0x809462,this['unitID']);},St)),(this['unitID']=_0x438d9b,this['_session']=_0x4536c9,this[_0x711411(0x1eb)]=_0x461782,this[_0x711411(0xf4)]=_0x158a84,this['_memberService']=_0x5023c6,this[_0x711411(0x24c)]=_0x36a93c,this[_0x711411(0x25b)]=_0x4bc9ac,this[_0x711411(0x155)]=_0x20353d,this[_0x711411(0x182)]=_0x486ad);}get[_0x50f2ab(0x2fc)](){const _0x1b8927=_0x50f2ab;return this[_0x1b8927(0xb8)]['getValue']();}get[_0x50f2ab(0x18e)](){const _0x5212f4=_0x50f2ab;return this[_0x5212f4(0x360)][_0x5212f4(0x2b0)]();}['dispose'](){const _0x34235b=_0x50f2ab;super[_0x34235b(0x10b)](),this[_0x34235b(0xb8)][_0x34235b(0x260)](new Map()),this[_0x34235b(0xb8)][_0x34235b(0x321)](),this[_0x34235b(0x360)][_0x34235b(0x260)]([]),this[_0x34235b(0x360)][_0x34235b(0x321)]();}[_0x50f2ab(0x102)](){const _0x211e5a=_0x50f2ab;this[_0x211e5a(0x33b)]||(this[_0x211e5a(0x33b)]=!0x0,this[_0x211e5a(0x1b6)][_0x211e5a(0x288)][_0x211e5a(0x316)](I['takeUntil'](this['dispose$']))[_0x211e5a(0x179)](_0x529115=>{const _0x33e9d5=_0x211e5a;_0x529115===u['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x33e9d5(0x1e8)]();}),this['_session'][_0x211e5a(0x214)][_0x211e5a(0x316)](I[_0x211e5a(0xdb)](this[_0x211e5a(0x364)]))[_0x211e5a(0x179)](_0x31d8b6=>{const _0x57e188=_0x211e5a,_0x25bec1=_0x31d8b6[_0x57e188(0x309)];_0x25bec1===g[_0x57e188(0x249)][_0x57e188(0x23a)]&&this['_onCursorUpdate'](_0x31d8b6),_0x25bec1===g[_0x57e188(0x249)]['USERS_LEAVE']&&this[_0x57e188(0x365)](_0x31d8b6);}),this['disposeWithMe'](this[_0x211e5a(0x182)]['onCommandExecuted'](_0x5dfa87=>{const _0x529058=_0x211e5a,_0x154903=_0x5dfa87['params'];_0x154903!=null&&this[_0x529058(0x10d)]&&_0x5dfa87['id']===V[_0x529058(0x161)]['id']&&_0x154903['unitId']===this[_0x529058(0x202)]&&_0x154903['isEditing']===!0x1&&_0x154903[_0x529058(0x2b6)]['length']>0x0&&this[_0x529058(0x2b1)](_0x154903[_0x529058(0x2b6)]);})),this[_0x211e5a(0x24c)][_0x211e5a(0xd4)]['pipe'](I[_0x211e5a(0xdb)](this[_0x211e5a(0x364)]))[_0x211e5a(0x179)](_0x494bce=>{const _0x7e21b0=_0x211e5a;if((_0x494bce==null?void 0x0:_0x494bce[_0x7e21b0(0x202)])!==this['unitID'])return;const _0x66cbf7={'eventID':g[_0x7e21b0(0x249)][_0x7e21b0(0x23a)],'data':_0x494bce};this[_0x7e21b0(0x12c)](_0x66cbf7);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x1d1fd9=>{const _0x3554ef=_0x211e5a;if(_0x1d1fd9[_0x3554ef(0x277)]==null)return;const _0x1c0b54=_0x1d1fd9[_0x3554ef(0x277)];if(_0x1d1fd9['id']!==V[_0x3554ef(0x140)]['id']||_0x1c0b54[_0x3554ef(0x25d)]!==this[_0x3554ef(0x202)])return;const _0x1bec94={'id':_0x3554ef(0xd8),'params':_0x1c0b54},_0x4f609e=this['cursorInfo'];for(const [_0x5dd541,_0x2a9629]of _0x4f609e){const _0x3e1644={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2a9629['ranges']}},_0x4597d9=this[_0x3554ef(0x25b)]['transformMutation'](_0x1bec94,_0x3e1644,!0x1);if(g[_0x3554ef(0x23e)](_0x4597d9))throw _0x4597d9[_0x3554ef(0x127)];_0x4f609e[_0x3554ef(0x31d)](_0x5dd541,{..._0x2a9629,'ranges':_0x4597d9[_0x3554ef(0x33d)][_0x3554ef(0x277)][_0x3554ef(0x334)]});}queueMicrotask(()=>{const _0x1b6f45=_0x3554ef;this[_0x1b6f45(0xb8)][_0x1b6f45(0x260)](_0x4f609e);});})));}[_0x50f2ab(0x12c)](_0x5000ef){const _0x39a00d=_0x50f2ab;var _0x5da845,_0x264c25;const {memberID:_0x37a123,selection:_0x5efcc8}=_0x5000ef[_0x39a00d(0x1c6)],_0x4fe55a=ht(_0x5efcc8),_0x23db27=(_0x264c25=(_0x5da845=this[_0x39a00d(0x231)][_0x39a00d(0x207)](this['unitID'],_0x37a123))==null?void 0x0:_0x5da845[_0x39a00d(0x2e0)])!=null?_0x264c25:_0x39a00d(0x382),_0x2d0e36={'color':this[_0x39a00d(0xf4)][_0x39a00d(0x2ea)](_0x37a123),'name':_0x23db27,'ranges':_0x4fe55a},_0x3e9d28=this[_0x39a00d(0x2fc)];_0x3e9d28[_0x39a00d(0x31d)](_0x37a123,_0x2d0e36),this[_0x39a00d(0xb8)]['next'](_0x3e9d28);}[_0x50f2ab(0x365)](_0x2044bd){const _0x37857a=_0x50f2ab,{memberID:_0x5a2180}=_0x2044bd['data'],_0x38795f=this[_0x37857a(0x2fc)];_0x38795f[_0x37857a(0x254)](_0x5a2180),this[_0x37857a(0xb8)][_0x37857a(0x260)](_0x38795f);}[_0x50f2ab(0x346)](){const _0x21dcdb=_0x50f2ab;var _0x3825fc;if(this[_0x21dcdb(0x10d)]=!0x0,((_0x3825fc=this['_univerInstanceService'][_0x21dcdb(0x14c)]())==null?void 0x0:_0x3825fc['getUnitId']())!==this['unitID'])return;const _0x2b685d=this[_0x21dcdb(0x1eb)][_0x21dcdb(0x106)](V[_0x21dcdb(0x18c)])[_0x21dcdb(0x166)]();Array[_0x21dcdb(0x324)](_0x2b685d)&&_0x2b685d[_0x21dcdb(0x2c7)]>0x0&&this['_updateLocalCursor'](_0x2b685d);}[_0x50f2ab(0x1e8)](){const _0x249da0=_0x50f2ab;this[_0x249da0(0x10d)]=!0x1;}};ve=It([U(0x2,a[_0x50f2ab(0x28a)](a['Injector'])),U(0x3,a[_0x50f2ab(0x28a)](Re)),U(0x4,a[_0x50f2ab(0x28a)](u[_0x50f2ab(0x141)])),U(0x5,a[_0x50f2ab(0x28a)](be)),U(0x6,g[_0x50f2ab(0x12b)]),U(0x7,a[_0x50f2ab(0x2c2)]),U(0x8,a[_0x50f2ab(0x31f)])],ve);var ft=Object[_0x50f2ab(0xf1)],mt=(_0x50f9e6,_0x54ab6c,_0x110d26,_0x2ff770)=>{const _0x5cd1ff=_0x50f2ab;for(var _0x4f0a5f=_0x2ff770>0x1?void 0x0:_0x2ff770?ft(_0x54ab6c,_0x110d26):_0x54ab6c,_0x4bf00d=_0x50f9e6[_0x5cd1ff(0x2c7)]-0x1,_0xfa55e8;_0x4bf00d>=0x0;_0x4bf00d--)(_0xfa55e8=_0x50f9e6[_0x4bf00d])&&(_0x4f0a5f=_0xfa55e8(_0x4f0a5f)||_0x4f0a5f);return _0x4f0a5f;},w=(_0x430489,_0x2cd08a)=>(_0x457f93,_0x56b774)=>_0x2cd08a(_0x457f93,_0x56b774,_0x430489);const vt=0x12c,gt=0x64,Et=()=>{let _0x4d54c9=[],_0x17032d=!0x1;return _0x530b3d=>{const _0x353a3c=_0x547c;_0x4d54c9[_0x353a3c(0x2bd)](_0x530b3d),_0x17032d||(_0x17032d=!0x0,setTimeout(()=>{const _0x30599e=_0x353a3c;_0x4d54c9[_0x30599e(0x24f)](_0x5d4ea9=>_0x5d4ea9()),_0x4d54c9=[],_0x17032d=!0x1;}));};};let ge=class extends a[_0x50f2ab(0x347)]{constructor(_0x281949,_0x1e7352,_0x6fa491,_0x164e7c,_0x555708,_0x2beff9,_0xea8098,_0x1915a2){const _0x383b6f=_0x50f2ab;super(),_(this,'_online',!0x1),_(this,_0x383b6f(0x33b),!0x1),_(this,_0x383b6f(0xb8),new I[(_0x383b6f(0x36d))](new Map())),_(this,_0x383b6f(0x101),this[_0x383b6f(0xb8)][_0x383b6f(0x13c)]()),_(this,_0x383b6f(0x360),new I['BehaviorSubject']([])),_(this,_0x383b6f(0x373),this[_0x383b6f(0x360)][_0x383b6f(0x316)](I[_0x383b6f(0x26c)](vt))),_(this,_0x383b6f(0x2b1),a[_0x383b6f(0x372)]((_0x17415c,_0x39aa66)=>{const _0xe5f4db=_0x383b6f,_0x41e773={'eventID':g['CollaborationEvent'][_0xe5f4db(0x23a)],'data':{'unitID':this[_0xe5f4db(0x202)],'memberID':this[_0xe5f4db(0x1b6)]['getMemberID'](),'selection':B[_0xe5f4db(0xd9)](_0x17415c,_0x39aa66[_0xe5f4db(0x24a)])}};this[_0xe5f4db(0x1b6)]['send'](_0x41e773,this[_0xe5f4db(0x202)]);},gt)),(this[_0x383b6f(0x202)]=_0x281949,this[_0x383b6f(0x1b6)]=_0x1e7352,this['_injector']=_0x6fa491,this[_0x383b6f(0xf4)]=_0x164e7c,this[_0x383b6f(0x231)]=_0x555708,this[_0x383b6f(0x155)]=_0x2beff9,this[_0x383b6f(0x182)]=_0xea8098,this[_0x383b6f(0xf0)]=_0x1915a2);}get[_0x50f2ab(0x2fc)](){const _0x443e5d=_0x50f2ab;return this['_cursorInfo$'][_0x443e5d(0x2b0)]();}get[_0x50f2ab(0x18e)](){const _0x45e748=_0x50f2ab;return this[_0x45e748(0x360)][_0x45e748(0x2b0)]();}[_0x50f2ab(0x10b)](){const _0x5eea72=_0x50f2ab;super[_0x5eea72(0x10b)](),this[_0x5eea72(0xb8)][_0x5eea72(0x260)](new Map()),this[_0x5eea72(0xb8)][_0x5eea72(0x321)](),this[_0x5eea72(0x360)][_0x5eea72(0x260)]([]),this[_0x5eea72(0x360)][_0x5eea72(0x321)]();}['init'](){const _0x10707c=_0x50f2ab;this[_0x10707c(0x33b)]||(this[_0x10707c(0x33b)]=!0x0,this['_session'][_0x10707c(0x288)][_0x10707c(0x316)](I[_0x10707c(0xdb)](this[_0x10707c(0x364)]))[_0x10707c(0x179)](_0x48f2ef=>{const _0x1cb2f8=_0x10707c;_0x48f2ef===u[_0x1cb2f8(0xc5)]['ONLINE']?this[_0x1cb2f8(0x346)]():this['_toggleOffline']();}),this[_0x10707c(0x1b6)]['event$'][_0x10707c(0x316)](I[_0x10707c(0xdb)](this[_0x10707c(0x364)]))['subscribe'](_0x52a7ec=>{const _0x30b992=_0x10707c,_0x46d4c1=_0x52a7ec[_0x30b992(0x309)];_0x46d4c1===g[_0x30b992(0x249)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x52a7ec),_0x46d4c1===g[_0x30b992(0x249)][_0x30b992(0x1f8)]&&this[_0x30b992(0x365)](_0x52a7ec);}),this[_0x10707c(0x30d)](),this[_0x10707c(0x184)](this['_commandService'][_0x10707c(0x349)](_0x7be47c=>{const _0x58c54a=_0x10707c;if(this['_online']&&_0x7be47c['id']===v[_0x58c54a(0x242)]['id']&&_0x7be47c[_0x58c54a(0x277)][_0x58c54a(0x25d)]===this[_0x58c54a(0x202)]){const _0x4e2b53=_0x7be47c[_0x58c54a(0x277)];this[_0x58c54a(0x2b1)](_0x4e2b53[_0x58c54a(0xdc)],_0x4e2b53[_0x58c54a(0x16f)][0x0]);}})));}[_0x50f2ab(0x12c)](_0x242920){const _0x736064=_0x50f2ab;var _0x255259,_0x5de7ab;const {memberID:_0x2186a4,selection:_0x2ab8b7}=_0x242920['data'],{sheetName:_0x137c4e,range:_0x108572}=B[_0x736064(0x1cd)](_0x2ab8b7),_0x1f7c77={'name':(_0x5de7ab=(_0x255259=this[_0x736064(0x231)][_0x736064(0x207)](this['unitID'],_0x2186a4))==null?void 0x0:_0x255259['name'])!=null?_0x5de7ab:_0x736064(0x382),'range':this[_0x736064(0xf9)](_0x137c4e,_0x108572),'sheetID':_0x137c4e,'color':this[_0x736064(0xf4)][_0x736064(0x2ea)](_0x2186a4),'selection':_0x2ab8b7},_0xa0a3c3=this[_0x736064(0x2fc)];_0xa0a3c3[_0x736064(0x31d)](_0x2186a4,_0x1f7c77),this[_0x736064(0xb8)]['next'](_0xa0a3c3);}['_onCursorDelete'](_0x3624f2){const _0x5cd2cb=_0x50f2ab,{memberID:_0x13efce}=_0x3624f2['data'],_0xef6454=this['cursorInfo'];_0xef6454[_0x5cd2cb(0x254)](_0x13efce),this[_0x5cd2cb(0xb8)][_0x5cd2cb(0x260)](_0xef6454);}[_0x50f2ab(0xf9)](_0x44f8f7,_0x4edc1b){const _0x219a2e=_0x50f2ab;var _0xe6d4e3,_0x363e9b;const _0x448e9e=(_0x363e9b=(_0xe6d4e3=this[_0x219a2e(0x155)][_0x219a2e(0x19b)](this[_0x219a2e(0x202)]))==null?void 0x0:_0xe6d4e3[_0x219a2e(0x120)](_0x44f8f7))==null?void 0x0:_0x363e9b[_0x219a2e(0x205)]();return(_0x448e9e==null?void 0x0:_0x448e9e[_0x219a2e(0x29c)](_0x2de6aa=>a['Rectangle'][_0x219a2e(0x1ed)](_0x2de6aa,_0x4edc1b)))||_0x4edc1b;}[_0x50f2ab(0x30d)](){const _0x2ce6e5=_0x50f2ab,_0x224913=new a[(_0x2ce6e5(0x2ec))](),_0x39f3e3=Et(),_0x15f33c=()=>{const _0x1037d1=_0x2ce6e5;_0x224913[_0x1037d1(0x10b)]();const _0xa258a=(_0x5120aa,_0x581436,_0x5466d7,_0x3e4d4a)=>{const _0x4bf0e8=_0x1037d1;let _0x410830=[];switch(_0x5120aa['id']){case v[_0x4bf0e8(0x157)][_0x4bf0e8(0x1bb)]:{_0x410830=v[_0x4bf0e8(0x21c)](_0x5120aa,_0x3e4d4a);break;}case v[_0x4bf0e8(0x157)]['DeleteRangeMoveUpCommandId']:{_0x410830=v[_0x4bf0e8(0x1c7)](_0x5120aa,_0x3e4d4a);break;}case v[_0x4bf0e8(0x157)][_0x4bf0e8(0x216)]:{_0x410830=v[_0x4bf0e8(0x186)](_0x5120aa,_0x3e4d4a);break;}case v[_0x4bf0e8(0x157)][_0x4bf0e8(0x27b)]:{_0x410830=v[_0x4bf0e8(0x238)](_0x5120aa,_0x3e4d4a);break;}case v[_0x4bf0e8(0x157)][_0x4bf0e8(0xda)]:{_0x410830=v[_0x4bf0e8(0x2ff)](_0x5120aa,_0x3e4d4a);break;}case v[_0x4bf0e8(0x157)][_0x4bf0e8(0xca)]:{_0x410830=v[_0x4bf0e8(0x296)](_0x5120aa,_0x3e4d4a);break;}case v[_0x4bf0e8(0x157)][_0x4bf0e8(0xb7)]:{_0x410830=v[_0x4bf0e8(0x329)](_0x5120aa,_0x3e4d4a);break;}case v[_0x4bf0e8(0x157)]['RemoveColCommandId']:{_0x410830=v[_0x4bf0e8(0x194)](_0x5120aa,_0x3e4d4a);break;}case v[_0x4bf0e8(0x157)][_0x4bf0e8(0x2f4)]:{_0x410830=v['handleIRemoveRow'](_0x5120aa,_0x3e4d4a);break;}}const _0x3f9765=v[_0x4bf0e8(0x2ae)](_0x410830,_0x3e4d4a),_0x24bd88=this[_0x4bf0e8(0x2fc)][_0x4bf0e8(0x106)](_0x581436);if(_0x24bd88&&_0x3f9765){const _0x2cdceb={..._0x24bd88,'range':_0x3f9765};this[_0x4bf0e8(0x2fc)][_0x4bf0e8(0x31d)](_0x581436,_0x2cdceb),_0x39f3e3(()=>{const _0x40b333=_0x4bf0e8,_0x3f3fad=this[_0x40b333(0xf0)][_0x40b333(0x328)](_0x3f9765,_0x3f4dd1=>(_0x3f3fad['dispose'](),_0xa258a(_0x3f4dd1,_0x581436,_0x5466d7,_0x3f9765)));_0x224913[_0x40b333(0x110)](_0x3f3fad);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1037d1(0x24f)]((_0x53cf2f,_0x100ee9)=>{const _0x42934d=_0x1037d1,{range:_0x47cdd8,sheetID:_0x3b7b7d}=_0x53cf2f,_0xe2ce12=this[_0x42934d(0xf0)][_0x42934d(0x328)](_0x47cdd8,_0x5284e5=>(_0xe2ce12[_0x42934d(0x10b)](),_0xa258a(_0x5284e5,_0x100ee9,_0x3b7b7d,_0x47cdd8)));_0x224913[_0x42934d(0x110)](_0xe2ce12);});};this[_0x2ce6e5(0x184)](a[_0x2ce6e5(0x26d)](this[_0x2ce6e5(0xb8)][_0x2ce6e5(0x179)](()=>{_0x15f33c();})));}[_0x50f2ab(0x346)](){const _0x1852a5=_0x50f2ab;var _0x1ecfc0,_0x54a9df;if(this[_0x1852a5(0x10d)]=!0x0,((_0x1ecfc0=this[_0x1852a5(0x155)][_0x1852a5(0x14c)]())==null?void 0x0:_0x1ecfc0[_0x1852a5(0x1b7)]())!==this[_0x1852a5(0x202)])return;const _0x102680=(_0x54a9df=this[_0x1852a5(0x1eb)][_0x1852a5(0x106)](v[_0x1852a5(0x18b)])['getCurrentSelections']())==null?void 0x0:_0x54a9df[0x0],_0x1d307a=this['_univerInstanceService']['getCurrentUnitForType'](a[_0x1852a5(0x22f)][_0x1852a5(0x13b)])[_0x1852a5(0x2f0)]();_0x102680&&_0x1d307a&&this[_0x1852a5(0x2b1)](_0x1d307a[_0x1852a5(0x103)](),_0x102680);}[_0x50f2ab(0x1e8)](){this['_online']=!0x1;}};ge=mt([w(0x2,a[_0x50f2ab(0x28a)](a[_0x50f2ab(0x14d)])),w(0x3,a[_0x50f2ab(0x28a)](Re)),w(0x4,a[_0x50f2ab(0x28a)](u[_0x50f2ab(0x141)])),w(0x5,a['IUniverInstanceService']),w(0x6,a['ICommandService']),w(0x7,a['Inject'](v['RefRangeService']))],ge);var Ct=Object[_0x50f2ab(0xf1)],pt=(_0x350ad3,_0x1e995d,_0x5eb249,_0x36fff6)=>{const _0x528010=_0x50f2ab;for(var _0x1ea535=_0x36fff6>0x1?void 0x0:_0x36fff6?Ct(_0x1e995d,_0x5eb249):_0x1e995d,_0x439834=_0x350ad3[_0x528010(0x2c7)]-0x1,_0x4c4ab1;_0x439834>=0x0;_0x439834--)(_0x4c4ab1=_0x350ad3[_0x439834])&&(_0x1ea535=_0x4c4ab1(_0x1ea535)||_0x1ea535);return _0x1ea535;},ce=(_0x28982b,_0x3757cc)=>(_0x2d87e5,_0x2a4580)=>_0x3757cc(_0x2d87e5,_0x2a4580,_0x28982b);let F=class extends a[_0x50f2ab(0x347)]{constructor(_0x20876f,_0x2f3d69,_0x5d02d5){const _0xf2b2c9=_0x50f2ab;super(),_(this,_0xf2b2c9(0x1ad),new Map()),_(this,_0xf2b2c9(0x31a),new I['Subject']()),(this[_0xf2b2c9(0x155)]=_0x20876f,this[_0xf2b2c9(0x1eb)]=_0x2f3d69,this['_collabSessionService']=_0x5d02d5,this['_init']());}['dispose'](){const _0x187c9a=_0x50f2ab;super[_0x187c9a(0x10b)](),this[_0x187c9a(0x31a)][_0x187c9a(0x321)](),this[_0x187c9a(0x1ad)][_0x187c9a(0x24f)](_0x35fb3b=>_0x35fb3b[_0x187c9a(0x10b)]());}[_0x50f2ab(0x2ba)](_0x5a1067){const _0x4297ee=_0x50f2ab;return this['_entities']['has'](_0x5a1067)?this[_0x4297ee(0x1ad)][_0x4297ee(0x106)](_0x5a1067)[_0x4297ee(0x101)]:this[_0x4297ee(0x31a)][_0x4297ee(0x316)](I[_0x4297ee(0x36e)](_0x24a829=>_0x24a829['unitID']===_0x5a1067),I['switchMap'](_0x5a597b=>_0x5a597b[_0x4297ee(0x101)]));}[_0x50f2ab(0x33b)](){const _0x5eab9f=_0x50f2ab;this[_0x5eab9f(0x155)][_0x5eab9f(0x27e)](a[_0x5eab9f(0x22f)]['UNIVER_SHEET'])[_0x5eab9f(0x316)](I['takeUntil'](this[_0x5eab9f(0x364)]))[_0x5eab9f(0x179)](async _0x1a4910=>{const _0x753b4f=_0x5eab9f,_0x4790e1=_0x1a4910[_0x753b4f(0x1b7)](),_0x5d1a6c=await this['_startSheetCollabCursor'](_0x4790e1);this['_entityInit$'][_0x753b4f(0x260)](_0x5d1a6c),this[_0x753b4f(0x1ad)][_0x753b4f(0x31d)](_0x4790e1,_0x5d1a6c);}),this[_0x5eab9f(0x155)][_0x5eab9f(0x27e)](a[_0x5eab9f(0x22f)][_0x5eab9f(0x2bb)])[_0x5eab9f(0x316)](I[_0x5eab9f(0xdb)](this[_0x5eab9f(0x364)]))['pipe'](I[_0x5eab9f(0x36e)](_0x5c867d=>!_0x5c867d['getUnitId']()['startsWith']('__')))[_0x5eab9f(0x179)](async _0x1ebca5=>{const _0x504b97=_0x5eab9f,_0xae2a7e=_0x1ebca5[_0x504b97(0x1b7)](),_0x4a5277=await this['_startDocCollabCursor'](_0xae2a7e);this[_0x504b97(0x31a)]['next'](_0x4a5277),this[_0x504b97(0x1ad)][_0x504b97(0x31d)](_0xae2a7e,_0x4a5277);}),I[_0x5eab9f(0x180)](this[_0x5eab9f(0x155)][_0x5eab9f(0x359)](a[_0x5eab9f(0x22f)][_0x5eab9f(0x2bb)]),this[_0x5eab9f(0x155)][_0x5eab9f(0x359)](a[_0x5eab9f(0x22f)]['UNIVER_SHEET']))[_0x5eab9f(0x316)](I[_0x5eab9f(0xdb)](this[_0x5eab9f(0x364)]))[_0x5eab9f(0x179)](_0xf323b2=>{const _0x1de9ce=_0x5eab9f,_0x491216=_0xf323b2['getUnitId'](),_0x3f082c=this[_0x1de9ce(0x1ad)][_0x1de9ce(0x106)](_0x491216);_0x3f082c&&(_0x3f082c['dispose'](),this[_0x1de9ce(0x1ad)][_0x1de9ce(0x254)](_0x491216));});}async[_0x50f2ab(0x34d)](_0x1863e3){const _0x2eb01b=_0x50f2ab,_0x4fb56c=await this['_collabSessionService'][_0x2eb01b(0x304)](_0x1863e3),_0x1850aa=this[_0x2eb01b(0x1eb)][_0x2eb01b(0x107)](ge,_0x1863e3,_0x4fb56c);return _0x1850aa[_0x2eb01b(0x102)](),_0x1850aa;}async[_0x50f2ab(0xbf)](_0xe847a){const _0x151953=_0x50f2ab,_0x421e4f=await this['_collabSessionService'][_0x151953(0x304)](_0xe847a),_0x4742e2=this[_0x151953(0x1eb)]['createInstance'](ve,_0xe847a,_0x421e4f);return _0x4742e2['init'](),_0x4742e2;}};F=pt([ce(0x0,a[_0x50f2ab(0x2c2)]),ce(0x1,a[_0x50f2ab(0x28a)](a[_0x50f2ab(0x14d)])),ce(0x2,a[_0x50f2ab(0x28a)](u[_0x50f2ab(0x368)]))],F);const X=0x14,Ue=0xc8,le=0x4,Tt=0x5;function Ot(_0x4052ef,_0xf0d258){const _0x4ffecd=_0x50f2ab;let {radius:_0x3d756d,width:_0x10d6cf,height:_0x421c45}=_0xf0d258;_0x3d756d=_0x3d756d!=null?_0x3d756d:0x0,_0x10d6cf=_0x10d6cf!=null?_0x10d6cf:0x1e,_0x421c45=_0x421c45!=null?_0x421c45:0x1e;let _0x3734e9=0x0,_0x296d9d=0x0,_0xcfae0a=0x0;_0x3734e9=_0x296d9d=_0xcfae0a=Math[_0x4ffecd(0x206)](_0x3d756d,_0x10d6cf/0x2,_0x421c45/0x2),_0x4052ef[_0x4ffecd(0x374)](),_0x4052ef[_0x4ffecd(0x2cf)](_0x3734e9,0x0),_0x4052ef[_0x4ffecd(0x1f7)](_0x10d6cf-_0x296d9d,0x0),_0x4052ef[_0x4ffecd(0x2c6)](_0x10d6cf-_0x296d9d,_0x296d9d,_0x296d9d,Math['PI']*0x3/0x2,0x0,!0x1),_0x4052ef[_0x4ffecd(0x1f7)](_0x10d6cf,_0x421c45-_0xcfae0a),_0x4052ef[_0x4ffecd(0x2c6)](_0x10d6cf-_0xcfae0a,_0x421c45-_0xcfae0a,_0xcfae0a,0x0,Math['PI']/0x2,!0x1),_0x4052ef[_0x4ffecd(0x1f7)](0x0,_0x421c45),_0x4052ef[_0x4ffecd(0x1f7)](0x0,_0x3734e9),_0x4052ef['arc'](_0x3734e9,_0x3734e9,_0x3734e9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4052ef[_0x4ffecd(0x14a)](),_0xf0d258[_0x4ffecd(0x114)]&&(_0x4052ef[_0x4ffecd(0x1b8)](),_0x4052ef[_0x4ffecd(0x2c5)]=_0xf0d258[_0x4ffecd(0x114)],_0xf0d258[_0x4ffecd(0x12f)]===_0x4ffecd(0x22c)?_0x4052ef['fill'](_0x4ffecd(0x22c)):_0x4052ef[_0x4ffecd(0x114)](),_0x4052ef['restore']());}function _0x547c(_0x4c3513,_0x4137a9){const _0x213468=_0x2134();return _0x547c=function(_0x547c4b,_0x35e368){_0x547c4b=_0x547c4b-0xb7;let _0x342526=_0x213468[_0x547c4b];return _0x342526;},_0x547c(_0x4c3513,_0x4137a9);}class re extends C[_0x50f2ab(0x1e4)]{constructor(_0x4c9b1b,_0x31365e){const _0x46a22b=_0x50f2ab;super(_0x4c9b1b,_0x31365e),_(this,_0x46a22b(0xc3)),_(this,_0x46a22b(0x219)),(this['color']=_0x31365e==null?void 0x0:_0x31365e['color'],this[_0x46a22b(0x219)]=_0x31365e==null?void 0x0:_0x31365e[_0x46a22b(0x219)]);}static[_0x50f2ab(0x170)](_0x4c09dd,_0x46d94e){const _0x5ce063=_0x50f2ab,{text:_0x29cc5e,color:_0x3f9432}=_0x46d94e;_0x4c09dd[_0x5ce063(0x1b8)](),_0x4c09dd['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1bfd89=_0x4c09dd[_0x5ce063(0x37b)](_0x29cc5e)[_0x5ce063(0x33a)],_0x1741aa=Math[_0x5ce063(0x206)](_0x1bfd89+0x2*le,Ue);Ot(_0x4c09dd,{'height':X,'radius':0x4,'width':_0x1741aa,'fill':_0x3f9432}),_0x4c09dd[_0x5ce063(0x2c5)]='#FFF';const _0x291877=le,_0x5009b1=X-Tt,_0x4b7319=Ue-0x2*le;if(_0x1bfd89>_0x4b7319){let _0xaba85b='',_0x24f882=0x0;for(const _0x4153b8 of _0x29cc5e){const _0x1ca1ae=_0x4c09dd[_0x5ce063(0x37b)](_0x4153b8)[_0x5ce063(0x33a)];if(_0x24f882+_0x1ca1ae<=_0x4b7319-_0x4c09dd['measureText'](_0x5ce063(0x176))['width'])_0xaba85b+=_0x4153b8,_0x24f882+=_0x1ca1ae;else{_0xaba85b+=_0x5ce063(0x176);break;}}_0x4c09dd[_0x5ce063(0x25a)](_0xaba85b,_0x291877,_0x5009b1);}else _0x4c09dd[_0x5ce063(0x25a)](_0x29cc5e,_0x291877,_0x5009b1);_0x4c09dd[_0x5ce063(0x1fb)]();}[_0x50f2ab(0x164)](_0x148840){re['drawWith'](_0x148840,this);}}const _e='collab-text-anchor-',Rt=_0x50f2ab(0x17f),bt=_0x50f2ab(0x2ac),H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut=_0x50f2ab(0x314);class Le{constructor(_0x2bc4e,_0x4d7cd9,_0x5986fe,_0x5a847c){const _0x136787=_0x50f2ab;_(this,_0x136787(0x323),[]),_(this,_0x136787(0x2a1),null),_(this,_0x136787(0x234),null),_(this,_0x136787(0x265),null),_(this,_0x136787(0x118),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x2bc4e,this['_scene']=_0x4d7cd9,this[_0x136787(0x1b1)]=_0x5986fe,this[_0x136787(0x2dd)]=_0x5a847c,this['_render']());}set['_hover'](_0x3e66cd){const _0x27e0e3=_0x50f2ab;_0x3e66cd?(this[_0x27e0e3(0x265)]&&this[_0x27e0e3(0x265)]['hide'](),this[_0x27e0e3(0x234)]&&this['_textBubble'][_0x27e0e3(0x168)]()):(this[_0x27e0e3(0x265)]&&this[_0x27e0e3(0x265)]['show'](),this[_0x27e0e3(0x234)]&&this[_0x27e0e3(0x234)][_0x27e0e3(0xfc)]());}['dispose'](){const _0x3c73e0=_0x50f2ab;for(const _0xd7df83 of this[_0x3c73e0(0x323)])_0xd7df83['dispose']();this[_0x3c73e0(0x234)]&&this['_textBubble'][_0x3c73e0(0x10b)](),this[_0x3c73e0(0x265)]&&this[_0x3c73e0(0x265)]['dispose'](),this['_anchor']&&this[_0x3c73e0(0x2a1)][_0x3c73e0(0x10b)](),this[_0x3c73e0(0x355)]&&this[_0x3c73e0(0x355)]();}['_render'](){const _0x1b12ed=_0x50f2ab;var _0x1d5838;const {_docSkeleton:_0x21ac7e,_document:_0x326ff7}=this,{color:_0x81d96f,name:_0x1ffc43,ranges:_0x4dcc88}=this[_0x1b12ed(0x32c)],_0x12657c=_0x326ff7[_0x1b12ed(0x28f)](),{docsLeft:_0x37b310,docsTop:_0x157eda}=_0x12657c,_0x566533=new p['NodePositionConvertToCursor'](_0x12657c,_0x21ac7e);for(const {startOffset:_0xab37f9,endOffset:_0x2d9060,rangeType:_0x57a7d7,segmentId:_0x1946b8,segmentPage:_0x218d48,collapsed:_0x4d7e15,isActive:_0x4bc2af}of _0x4dcc88){const _0x1fd629=_0x21ac7e[_0x1b12ed(0x1b0)](_0xab37f9,!0x0,_0x1946b8,_0x218d48);let _0x22825f=_0x21ac7e[_0x1b12ed(0x1b0)](_0x2d9060,!0x0,_0x1946b8,_0x218d48);if(_0x22825f==null&&(_0x22825f=_0x21ac7e[_0x1b12ed(0x1b0)](_0x2d9060-0x1,!0x1,_0x1946b8,_0x218d48)),_0x4bc2af){const {contentBoxPointGroup:_0x4fac22}=_0x566533['getRangePointData'](_0x22825f,_0x22825f);if(_0x4fac22['length']===0x0)continue;this[_0x1b12ed(0x210)](_0x81d96f,_0x4fac22,_0x37b310,_0x157eda,_0x1ffc43),this[_0x1b12ed(0x355)]=this[_0x1b12ed(0xbb)]();}if(_0x1fd629&&_0x22825f){if(_0x57a7d7===a['DOC_RANGE_TYPE'][_0x1b12ed(0x298)]){const _0x367b8f=new p[(_0x1b12ed(0x1a4))](_0x12657c,_0x21ac7e),{pointGroup:_0x4c689d}=(_0x1d5838=_0x367b8f['getRangePointData'](_0x1fd629,_0x22825f))!=null?_0x1d5838:{};if(_0x4c689d==null||_0x4c689d['length']===0x0)continue;this[_0x1b12ed(0x2a7)](_0x81d96f,_0x4c689d,_0x37b310,_0x157eda);}else{if(!_0x4d7e15){const {borderBoxPointGroup:_0x3042ed}=_0x566533[_0x1b12ed(0xea)](_0x1fd629,_0x22825f);if(_0x3042ed[_0x1b12ed(0x2c7)]===0x0)continue;this['_drawTextRange'](_0x81d96f,_0x3042ed,_0x37b310,_0x157eda);}}}}}['_drawAnchor'](_0xa4d674,_0x5298b1,_0x4026c6,_0x2752cf,_0x11c0a2){const _0xab093b=_0x50f2ab,_0x560451=this[_0xab093b(0x20b)](_0x5298b1),{left:_0x211b5f,top:_0x151040,height:_0x21ad71}=_0x560451,_0x502a0f=this['_getScale'](),_0x313aae=Nt/_0x502a0f,_0x230067=new C[(_0xab093b(0x181))](_e+a['generateRandomId'](H),{'left':_0x211b5f+_0x4026c6-_0x313aae,'top':_0x151040+_0x2752cf,'height':_0x21ad71,'width':Dt,'fill':_0xa4d674||C['getColor'](a[_0xab093b(0x173)][_0xab093b(0x2a0)],0x0),'strokeWidth':_0x313aae,'stroke':Ut,'evented':!0x0});this[_0xab093b(0x2a1)]=_0x230067,this[_0xab093b(0x2cd)][_0xab093b(0x174)](_0x230067,p[_0xab093b(0x1c5)]);const _0x199e54=new C[(_0xab093b(0x181))](_e+a[_0xab093b(0x341)](H),{'left':_0x211b5f+_0x4026c6-_0x313aae,'top':_0x151040+_0x2752cf-he/0x2,'height':he,'width':he,'fill':_0xa4d674||C[_0xab093b(0x336)](a['COLORS'][_0xab093b(0x2a0)],0x0),'strokeWidth':0x0,'stroke':_0xa4d674||C[_0xab093b(0x336)](a['COLORS']['black'],0x0),'evented':!0x1});this[_0xab093b(0x265)]=_0x199e54,this[_0xab093b(0x2cd)][_0xab093b(0x174)](_0x199e54,p[_0xab093b(0x1c5)]);const _0x5a1f95=new re(_e+a[_0xab093b(0x341)](H),{'left':_0x211b5f+_0x4026c6-_0x313aae,'top':_0x151040+_0x2752cf-X,'text':_0x11c0a2,'color':_0xa4d674});this['_textBubble']=_0x5a1f95,this[_0xab093b(0x2cd)][_0xab093b(0x174)](_0x5a1f95,p['TEXT_RANGE_LAYER_INDEX']),this[_0xab093b(0x22d)]=!0x1;}['_handleHover'](){const _0x6c7368=_0x50f2ab,_0x2ac69e=this[_0x6c7368(0x2a1)][_0x6c7368(0x2a5)][_0x6c7368(0x352)](()=>{this['_hover']=!0x0;}),_0x1848c8=this['_anchor'][_0x6c7368(0x1da)][_0x6c7368(0x352)](()=>{const _0x184efc=_0x6c7368;this[_0x184efc(0x118)]&&clearTimeout(this['_hideTimer']),this[_0x184efc(0x118)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1e621f=_0x6c7368;_0x2ac69e[_0x1e621f(0x2e5)](),_0x1848c8[_0x1e621f(0x2e5)]();};}[_0x50f2ab(0x12a)](_0x44ffea,_0x49a674,_0x4ad0f0,_0x37cc6a){const _0x1cbf1f=_0x50f2ab,_0x14b518=new a[(_0x1cbf1f(0x257))](_0x44ffea)[_0x1cbf1f(0xf3)](0.2)[_0x1cbf1f(0x319)](),_0x9a01ba=new C[(_0x1cbf1f(0x310))](Rt+a[_0x1cbf1f(0x341)](H),{'pointsGroup':_0x49a674,'fill':_0x14b518||C[_0x1cbf1f(0x336)](a[_0x1cbf1f(0x173)][_0x1cbf1f(0x2a0)],0.2),'left':_0x4ad0f0,'top':_0x37cc6a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1cbf1f(0x323)]['push'](_0x9a01ba),this['_scene'][_0x1cbf1f(0x174)](_0x9a01ba,p[_0x1cbf1f(0x1c5)]);}[_0x50f2ab(0x2a7)](_0x19c4fb,_0x708aa1,_0x5ee341,_0x1b4d64){const _0x1b2588=_0x50f2ab,_0x4084db=new a[(_0x1b2588(0x257))](_0x19c4fb)[_0x1b2588(0xf3)](0.2)['toRgbString'](),_0x480660=new C[(_0x1b2588(0x310))](bt+a[_0x1b2588(0x341)](H),{'pointsGroup':_0x708aa1,'fill':_0x4084db||C[_0x1b2588(0x336)](a[_0x1b2588(0x173)][_0x1b2588(0x2a0)],0.2),'left':_0x5ee341,'top':_0x1b4d64,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b2588(0x323)][_0x1b2588(0x2bd)](_0x480660),this[_0x1b2588(0x2cd)][_0x1b2588(0x174)](_0x480660,p[_0x1b2588(0x1c5)]);}[_0x50f2ab(0x20b)](_0x3d9a78){const _0x217576=_0x3d9a78[0x0],_0x4bf0c8=_0x217576[0x0],_0xa18d33=_0x217576[0x2],{x:_0x582975,y:_0x1f0aeb}=_0x4bf0c8,{x:_0x3f648f,y:_0x4d9b8e}=_0xa18d33;return{'left':_0x582975,'top':_0x1f0aeb,'width':_0x3f648f-_0x582975,'height':_0x4d9b8e-_0x1f0aeb};}[_0x50f2ab(0xe0)](){const _0x2e1885=_0x50f2ab,{scaleX:_0x33a4c3,scaleY:_0x16f5cd}=this[_0x2e1885(0x2cd)][_0x2e1885(0x294)]();return Math['max'](_0x33a4c3,_0x16f5cd);}}var Lt=Object[_0x50f2ab(0xf1)],Mt=(_0x3a3e22,_0x2423ea,_0x20e8a1,_0x34fa5c)=>{const _0x1d66de=_0x50f2ab;for(var _0x427715=_0x34fa5c>0x1?void 0x0:_0x34fa5c?Lt(_0x2423ea,_0x20e8a1):_0x2423ea,_0x20c98a=_0x3a3e22[_0x1d66de(0x2c7)]-0x1,_0x1ecc08;_0x20c98a>=0x0;_0x20c98a--)(_0x1ecc08=_0x3a3e22[_0x20c98a])&&(_0x427715=_0x1ecc08(_0x427715)||_0x427715);return _0x427715;},q=(_0x39e2f9,_0x57e12c)=>(_0x3009e7,_0x4f585a)=>_0x57e12c(_0x3009e7,_0x4f585a,_0x39e2f9);let Ee=class extends a[_0x50f2ab(0x347)]{constructor(_0x4997aa,_0x33c022,_0x3cf545,_0x1315d2,_0x13b9e7){const _0x1f6135=_0x50f2ab;super(),_(this,_0x1f6135(0x291),[]),_(this,_0x1f6135(0xd0),[]),(this[_0x1f6135(0x1bd)]=_0x4997aa,this[_0x1f6135(0x29d)]=_0x33c022,this[_0x1f6135(0x2d2)]=_0x3cf545,this[_0x1f6135(0x182)]=_0x1315d2,this[_0x1f6135(0x2d6)]=_0x13b9e7,this[_0x1f6135(0x33b)]());}[_0x50f2ab(0x33b)](){const _0x1be888=_0x50f2ab,_0x41122b=this[_0x1be888(0x1bd)][_0x1be888(0x25d)],_0x2a705f=this['_docSkeletonManagerService'];this[_0x1be888(0x184)](I[_0x1be888(0x19d)]([this[_0x1be888(0x2d2)][_0x1be888(0x2ba)](_0x41122b),this[_0x1be888(0x2d6)][_0x1be888(0x31e)]])[_0x1be888(0x316)]($[_0x1be888(0x126)](([_0x300764,_0x2ef5be])=>({'skeleton':_0x2a705f[_0x1be888(0x1e7)](),'cursors':[..._0x300764[_0x1be888(0x287)]()]['flatMap'](_0xb28458=>({..._0xb28458,'color':this[_0x1be888(0x2d6)][_0x1be888(0x1ec)](_0xb28458[_0x1be888(0xc3)])}))})))[_0x1be888(0x179)](_0x12847f=>{const _0x5ce82b=_0x1be888;if(this[_0x5ce82b(0x187)](),_0x12847f){const {skeleton:_0x296af7,cursors:_0x548851}=_0x12847f;this[_0x5ce82b(0x217)](_0x296af7,_0x548851);}})),this[_0x1be888(0x2b7)](),this['_initCommandExecutedListener']();}[_0x50f2ab(0x217)](_0x46b248,_0x2e4e04){const _0x5167da=_0x50f2ab,{scene:_0x4eb51f,mainComponent:_0x39d21c}=this[_0x5167da(0x1bd)],_0x17e295=_0x2e4e04[_0x5167da(0x126)](_0x2decbe=>new Le(_0x2decbe,_0x4eb51f,_0x46b248,_0x39d21c));this['_cursorShapes']=_0x17e295,this['_cursors']=_0x2e4e04;}['_refreshCollabCursors'](){const _0x529c22=_0x50f2ab;this[_0x529c22(0x187)]();const {scene:_0x455f6b,mainComponent:_0x3aedfe}=this[_0x529c22(0x1bd)],_0x1fd9b6=this['_docSkeletonManagerService'][_0x529c22(0x1e7)](),_0x4bd19e=this[_0x529c22(0xd0)][_0x529c22(0x126)](_0x5e56ae=>new Le(_0x5e56ae,_0x455f6b,_0x1fd9b6,_0x3aedfe));this[_0x529c22(0x291)]=_0x4bd19e;}[_0x50f2ab(0x187)](){const _0x4e6e81=_0x50f2ab;this['_cursorShapes'][_0x4e6e81(0x24f)](_0x49b7ae=>_0x49b7ae[_0x4e6e81(0x10b)]()),this[_0x4e6e81(0x291)]=[];}[_0x50f2ab(0x222)](){const _0x2eeb4f=_0x50f2ab,_0x2d288d=[p[_0x2eeb4f(0xbd)]['id']];this['disposeWithMe'](this['_commandService'][_0x2eeb4f(0x349)](_0x420dcb=>{const _0x95fe95=_0x2eeb4f;_0x2d288d[_0x95fe95(0x122)](_0x420dcb['id'])&&_0x420dcb[_0x95fe95(0x277)][_0x95fe95(0x25d)]===this[_0x95fe95(0x1bd)][_0x95fe95(0x25d)]&&this['_refreshCollabCursors']();}));}[_0x50f2ab(0x2b7)](){const _0x9137a4=_0x50f2ab;this['disposeWithMe'](a[_0x9137a4(0x11c)](this[_0x9137a4(0x1bd)][_0x9137a4(0x12e)][_0x9137a4(0xf6)])[_0x9137a4(0x316)]($[_0x9137a4(0x36e)](_0x11248a=>_0x11248a['type']===C[_0x9137a4(0x378)][_0x9137a4(0x343)]),$[_0x9137a4(0x23b)](0x10))['subscribe'](()=>{const _0x268f32=_0x9137a4;this[_0x268f32(0x259)]();}));}};Ee=Mt([q(0x1,a[_0x50f2ab(0x28a)](V[_0x50f2ab(0x11b)])),q(0x2,a[_0x50f2ab(0x28a)](F)),q(0x3,a[_0x50f2ab(0x31f)]),q(0x4,a[_0x50f2ab(0x28a)](a[_0x50f2ab(0x24d)]))],Ee);const At=0x1,Pt=1.5;class je extends C[_0x50f2ab(0x1e4)]{constructor(_0x153cd1,_0x3df023){const _0x45ad5f=_0x50f2ab;super(_0x153cd1,_0x3df023),_(this,_0x45ad5f(0x307)),_(this,_0x45ad5f(0x342),!0x1),_(this,_0x45ad5f(0x212)),_(this,_0x45ad5f(0x34a),''),_(this,_0x45ad5f(0x35e),'top'),_(this,_0x45ad5f(0x34c)),(_0x3df023&&this[_0x45ad5f(0x303)](_0x3df023),this[_0x45ad5f(0x2a5)][_0x45ad5f(0x352)](()=>this[_0x45ad5f(0x303)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x45ad5f(0x303)]({'hovered':!0x1})));}['setShapeProps'](_0x5a4498){const _0x504be9=_0x50f2ab;var _0x5ee5c7,_0x2cc7b5,_0x25092d,_0x539f0e,_0x282b26,_0x43fb2b;this[_0x504be9(0x307)]=(_0x5ee5c7=_0x5a4498['color'])!=null?_0x5ee5c7:this[_0x504be9(0x307)],this[_0x504be9(0x342)]=(_0x2cc7b5=_0x5a4498[_0x504be9(0x17d)])!=null?_0x2cc7b5:this[_0x504be9(0x342)],this[_0x504be9(0x212)]=(_0x25092d=_0x5a4498['range'])!=null?_0x25092d:this[_0x504be9(0x212)],this[_0x504be9(0x34a)]=(_0x539f0e=_0x5a4498['name'])!=null?_0x539f0e:this[_0x504be9(0x34a)],this[_0x504be9(0x35e)]=(_0x282b26=_0x5a4498[_0x504be9(0x144)])!=null?_0x282b26:this[_0x504be9(0x35e)],this[_0x504be9(0x34c)]=(_0x43fb2b=_0x5a4498[_0x504be9(0x20a)])!=null?_0x43fb2b:this[_0x504be9(0x34c)],this[_0x504be9(0x270)]({'width':_0x5a4498[_0x504be9(0x33a)],'height':_0x5a4498[_0x504be9(0xb9)]});}[_0x50f2ab(0xc7)](_0xd5b973){const _0x30638e=_0x50f2ab,{row:_0x33b01e,column:_0xd8e440}=_0xd5b973;if(_0x33b01e>=this['_range']['startRow']&&_0x33b01e<=this['_range'][_0x30638e(0x115)]&&_0xd8e440>=this[_0x30638e(0x212)][_0x30638e(0x15f)]&&_0xd8e440<=this['_range']['endColumn']){this[_0x30638e(0x303)]({'hovered':!0x0});return;}this[_0x30638e(0x303)]({'hovered':!0x1});}['triggerDblclick'](_0x534bb6){return!0x1;}[_0x50f2ab(0x164)](_0x2a7621){const _0x5f0224=_0x50f2ab;C[_0x5f0224(0x181)][_0x5f0224(0x170)](_0x2a7621,{'width':this[_0x5f0224(0x33a)],'height':this['height'],'strokeWidth':Pt,'stroke':this[_0x5f0224(0x307)],'evented':!0x1,'fill':this[_0x5f0224(0x34c)]}),this[_0x5f0224(0x342)]&&(_0x2a7621['save'](),_0x2a7621['transform'](0x1,0x0,0x0,0x1,this[_0x5f0224(0x33a)],this[_0x5f0224(0x35e)]==='bottom'?0x0:-X),re['drawWith'](_0x2a7621,{'text':this[_0x5f0224(0x34a)],'color':this[_0x5f0224(0x307)]}),_0x2a7621[_0x5f0224(0x1fb)]());}}var wt=Object[_0x50f2ab(0xf1)],yt=(_0x35ef3c,_0x3175ce,_0x54a070,_0x4f660b)=>{const _0x2ae19a=_0x50f2ab;for(var _0x262053=_0x4f660b>0x1?void 0x0:_0x4f660b?wt(_0x3175ce,_0x54a070):_0x3175ce,_0x4a4d31=_0x35ef3c[_0x2ae19a(0x2c7)]-0x1,_0x5bfed0;_0x4a4d31>=0x0;_0x4a4d31--)(_0x5bfed0=_0x35ef3c[_0x4a4d31])&&(_0x262053=_0x5bfed0(_0x262053)||_0x262053);return _0x262053;},ue=(_0x4f9731,_0x1337f2)=>(_0x387dc6,_0x2d8d6b)=>_0x1337f2(_0x387dc6,_0x2d8d6b,_0x4f9731);const $t=0x1389;let Ce=class extends a[_0x50f2ab(0x347)]{constructor(_0x187d94,_0x559354,_0x444daa,_0x45a4a3){const _0x16cc7c=_0x50f2ab;super(),_(this,'_cursors',new Set()),_(this,_0x16cc7c(0x224),null),(this[_0x16cc7c(0x1bd)]=_0x187d94,this['_sheetSkeletonManagerService']=_0x559354,this[_0x16cc7c(0x2d2)]=_0x444daa,this[_0x16cc7c(0x2d6)]=_0x45a4a3,this['_init']());}['_init'](){const _0x279f91=_0x50f2ab;this[_0x279f91(0x250)][_0x279f91(0x26a)][_0x279f91(0x316)]($[_0x279f91(0xdb)](this[_0x279f91(0x364)]),$[_0x279f91(0x26e)](_0x40079f=>{const _0x5c9b1f=_0x279f91;if(_0x40079f){const _0x217056=_0x40079f[_0x5c9b1f(0x2de)];return I[_0x5c9b1f(0x19d)](this[_0x5c9b1f(0x2d2)]['getCollabCursors$'](this[_0x5c9b1f(0x1bd)][_0x5c9b1f(0x25d)]),this[_0x5c9b1f(0x2d6)][_0x5c9b1f(0x31e)])[_0x5c9b1f(0x316)]($[_0x5c9b1f(0x126)](([_0x2ed6b5,_0x202b9d])=>{const _0x18c59d=_0x5c9b1f,_0x4036aa=new Map();return _0x2ed6b5[_0x18c59d(0x24f)]((_0x166fa6,_0x3bbba0)=>{const _0x4ed173=_0x18c59d;if(_0x166fa6['sheetID']===_0x217056){const _0x296385={..._0x166fa6};_0x296385['color']=this[_0x4ed173(0x2d6)][_0x4ed173(0x1ec)](_0x166fa6[_0x4ed173(0xc3)]),_0x4036aa[_0x4ed173(0x31d)](_0x3bbba0,_0x296385);}}),{'skeleton':_0x40079f,'cursors':_0x4036aa};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))[_0x279f91(0x179)](({skeleton:_0x46e3c7,cursors:_0xf7a6b6})=>{const _0x4d6a3a=_0x279f91;this[_0x4d6a3a(0x187)](),_0x46e3c7&&this['_updateCollabCursors'](_0x46e3c7,_0xf7a6b6);}),this[_0x279f91(0x250)][_0x279f91(0x26a)][_0x279f91(0x179)](_0x1cb6e4=>{const _0x5dbd61=_0x279f91;if(_0x1cb6e4==null)return;const {skeleton:_0x45cc62}=_0x1cb6e4,{scene:_0x275bd7}=this[_0x5dbd61(0x1bd)];_0x275bd7[_0x5dbd61(0x2c3)][_0x5dbd61(0x352)](a[_0x5dbd61(0x372)](_0x2a0997=>{const _0x415785=_0x5dbd61;var _0x2fe5dd,_0x3cc412;const {offsetX:_0x17d62c,offsetY:_0x42d15f}=_0x2a0997,{x:_0x34fa45,y:_0x14841c}=_0x275bd7[_0x415785(0x27d)](C['Vector2'][_0x415785(0x204)]([_0x17d62c,_0x42d15f])),{scaleX:_0x524996,scaleY:_0x47a248}=_0x275bd7[_0x415785(0x294)](),_0xd21de1=_0x275bd7['getViewport'](C['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x50a3a2=_0x275bd7[_0x415785(0x34f)](C['Vector2'][_0x415785(0x204)]([_0x34fa45,_0x14841c]),_0xd21de1),_0x32a68b=_0x45cc62[_0x415785(0x2cb)](_0x17d62c,_0x42d15f,_0x524996,_0x47a248,_0x50a3a2);((_0x2fe5dd=this[_0x415785(0x224)])==null?void 0x0:_0x2fe5dd[_0x415785(0x320)])===_0x32a68b[_0x415785(0x320)]&&((_0x3cc412=this['_lastPointer'])==null?void 0x0:_0x3cc412[_0x415785(0x130)])===_0x32a68b['row']||this[_0x415785(0xd0)][_0x415785(0x24f)](_0x238bff=>{_0x238bff['onMouseMove'](_0x32a68b);});},0x64));});}['_updateCollabCursors'](_0x363f20,_0x37d413){const _0x4f6338=_0x50f2ab;var _0x45f305;const _0x23ddec=(_0x45f305=this[_0x4f6338(0x250)][_0x4f6338(0x383)]())==null?void 0x0:_0x45f305[_0x4f6338(0x185)];if(!_0x23ddec)return;const _0x4ac371=this[_0x4f6338(0x17b)]();if(!_0x4ac371)return;this[_0x4f6338(0xd0)]['forEach'](_0x48858f=>{const _0x31f22a=_0x4f6338;_0x48858f[_0x31f22a(0x233)]();});const {scene:_0x4e655e}=_0x4ac371,_0x583e4a=xt(Array['from'](_0x37d413[_0x4f6338(0x287)]()))[_0x4f6338(0x126)](_0xf77c2f=>{const _0x4368a8=_0x4f6338,{color:_0x2004d6,range:_0xc68f58,name:_0x4e2990,selection:_0x2a24b4,sheetID:_0x10f456}=_0xf77c2f,{startColumn:_0x39e48b,startRow:_0x46d2e2,endColumn:_0x28ee36,endRow:_0x3e8827}=_0xc68f58,_0x28d381=J['getCoordByCell'](_0x46d2e2,_0x39e48b,_0x4e655e,_0x23ddec),_0x1f364f=J[_0x4368a8(0x1a5)](_0x3e8827,_0x28ee36,_0x4e655e,_0x23ddec),{columnHeaderHeightAndMarginTop:_0x4646b5}=_0x23ddec,{startX:_0x48927a,startY:_0x3fb756}=_0x28d381,{endX:_0x1dc229,endY:_0xf9aae8}=_0x1f364f,_0x518935=_0x1dc229-_0x48927a,_0x1043d7=_0xf9aae8-_0x3fb756,_0x520356={'labelPosition':_0x3fb756-_0x4646b5>=X?_0x4368a8(0x356):_0x4368a8(0x1d6),'sheetID':_0x10f456,'range':_0xc68f58,'color':_0x2004d6,'name':_0x4e2990,'selection':_0x2a24b4,'left':_0x48927a,'top':_0x3fb756,'width':_0x518935,'height':_0x1043d7,'evented':!0x1,'zIndex':$t};return new je(_0x4e2990,_0x520356);});_0x4e655e[_0x4f6338(0x16e)](_0x583e4a,At),this[_0x4f6338(0xd0)]=new Set(_0x583e4a);}[_0x50f2ab(0x187)](){const _0xcede12=_0x50f2ab;var _0x2bbb6d;(_0x2bbb6d=this[_0xcede12(0xd0)])==null||_0x2bbb6d[_0xcede12(0x24f)](_0x59ab7c=>_0x59ab7c[_0xcede12(0x10b)]());}['_getSheetObject'](){const _0x18fe60=_0x50f2ab;return J[_0x18fe60(0x171)](this[_0x18fe60(0x1bd)][_0x18fe60(0x2f8)],this['_context']);}};Ce=yt([ue(0x1,a[_0x50f2ab(0x28a)](J['SheetSkeletonManagerService'])),ue(0x2,a[_0x50f2ab(0x28a)](F)),ue(0x3,a[_0x50f2ab(0x28a)](a['ThemeService']))],Ce);function xt(_0xdc7346){const _0x200299=_0x50f2ab,_0x49637e=new Map();return _0xdc7346[_0x200299(0x24f)](_0x5677fd=>{const _0x374506=_0x200299;if(_0x49637e[_0x374506(0xf7)](_0x5677fd[_0x374506(0x340)])){const _0x49f819=_0x49637e['get'](_0x5677fd[_0x374506(0x340)]);_0x49f819[_0x374506(0x2e0)]+=',\x20'+_0x5677fd[_0x374506(0x2e0)];}else _0x49637e[_0x374506(0x31d)](_0x5677fd[_0x374506(0x340)],_0x5677fd);}),Array[_0x200299(0x266)](_0x49637e['values']());}var Bt=Object[_0x50f2ab(0xf1)],Ft=(_0x600778,_0x4a06e7,_0xc3ba77,_0x36b404)=>{for(var _0x19b002=_0x36b404>0x1?void 0x0:_0x36b404?Bt(_0x4a06e7,_0xc3ba77):_0x4a06e7,_0x581f73=_0x600778['length']-0x1,_0x47d3e4;_0x581f73>=0x0;_0x581f73--)(_0x47d3e4=_0x600778[_0x581f73])&&(_0x19b002=_0x47d3e4(_0x19b002)||_0x19b002);return _0x19b002;},y=(_0x425016,_0x4b6094)=>(_0x40cc95,_0x17d354)=>_0x4b6094(_0x40cc95,_0x17d354,_0x425016);let Z=class extends a[_0x50f2ab(0x29f)]{constructor(_0x3d08b4,_0x3b6055,_0x42d096,_0x67a923,_0x5836d0,_0x49150b){const _0x58d14c=_0x50f2ab;super(),this[_0x58d14c(0x136)]=_0x3d08b4,this[_0x58d14c(0x159)]=_0x3b6055,this[_0x58d14c(0x2a3)]=_0x42d096,this['_messageService']=_0x67a923,this['_notificationService']=_0x5836d0,this[_0x58d14c(0x2e7)]=_0x49150b,this[_0x58d14c(0xdf)](),this['_initEvent']();}[_0x50f2ab(0xdf)](){const _0x559e09=_0x50f2ab;this[_0x559e09(0x184)](this['_beforeCloseService'][_0x559e09(0xff)](()=>{const _0x1b298e=_0x559e09;if(this[_0x1b298e(0x159)][_0x1b298e(0x2aa)][_0x1b298e(0x292)])return this['_localeService']['t'](_0x1b298e(0x19a));}));}[_0x50f2ab(0x1cb)](){const _0x4158cc=_0x50f2ab;this['disposeWithMe'](this[_0x4158cc(0x2a3)]['event$'][_0x4158cc(0x179)](_0x2d8a73=>{const _0x397db6=_0x4158cc;_0x2d8a73['id']===u[_0x397db6(0x23f)][_0x397db6(0x1fc)]&&this[_0x397db6(0x2cc)][_0x397db6(0x168)]({'type':T[_0x397db6(0x150)][_0x397db6(0x376)],'content':this[_0x397db6(0x2e7)]['t'](_0x397db6(0x1e5))}),_0x2d8a73['id']===u[_0x397db6(0x23f)]['CLOSE_ROOM']&&this[_0x397db6(0x2cc)][_0x397db6(0x168)]({'type':T[_0x397db6(0x150)][_0x397db6(0x376)],'content':this['_localeService']['t'](_0x397db6(0x11f))}),_0x2d8a73['id']===u['CollaborationUIEventId'][_0x397db6(0x22e)]&&this[_0x397db6(0xc9)]['show']({'title':this['_localeService']['t'](_0x397db6(0x142)),'content':this[_0x397db6(0x2e7)]['t'](_0x397db6(0x16d)),'type':_0x397db6(0x127),'duration':0x0}),_0x2d8a73['id']===u[_0x397db6(0x23f)][_0x397db6(0x31b)]&&this[_0x397db6(0x2cc)][_0x397db6(0x168)]({'type':T['MessageType'][_0x397db6(0x33e)],'content':this[_0x397db6(0x2e7)]['t'](_0x397db6(0x11f))+'('+_0x2d8a73[_0x397db6(0x1c6)]+')'}),_0x2d8a73['id']===u['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x397db6(0x2cc)][_0x397db6(0x168)]({'type':T[_0x397db6(0x150)]['Warning'],'content':this['_localeService']['t'](_0x2d8a73[_0x397db6(0x1c6)]||'')}),_0x2d8a73['id']===u[_0x397db6(0x23f)][_0x397db6(0x1d1)]&&this[_0x397db6(0x2cc)][_0x397db6(0x168)]({'type':T['MessageType'][_0x397db6(0x376)],'content':this['_localeService']['t'](_0x397db6(0x1df))}),_0x2d8a73['id']===u[_0x397db6(0x23f)][_0x397db6(0xcb)]&&this[_0x397db6(0x2cc)][_0x397db6(0x168)]({'type':T[_0x397db6(0x150)][_0x397db6(0x33e)],'content':this[_0x397db6(0x2e7)]['t']('session.connection-failed')}),_0x2d8a73['id']===u[_0x397db6(0x23f)][_0x397db6(0x191)]&&this[_0x397db6(0x2cc)]['show']({'type':T[_0x397db6(0x150)][_0x397db6(0x33e)],'content':this[_0x397db6(0x2e7)]['t'](_0x397db6(0x27c))});}));}};Z=Ft([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0x50f2ab(0x1ff)]),y(0x2,a[_0x50f2ab(0x28a)](u[_0x50f2ab(0x282)])),y(0x3,O['IMessageService']),y(0x4,O[_0x50f2ab(0x1e1)]),y(0x5,a[_0x50f2ab(0x28a)](a[_0x50f2ab(0x139)]))],Z);var jt=Object[_0x50f2ab(0xf1)],kt=(_0xb966b1,_0x36fc59,_0x5b8316,_0xee550b)=>{const _0x30707f=_0x50f2ab;for(var _0x18f693=_0xee550b>0x1?void 0x0:_0xee550b?jt(_0x36fc59,_0x5b8316):_0x36fc59,_0x5b1cf8=_0xb966b1[_0x30707f(0x2c7)]-0x1,_0x1272c4;_0x5b1cf8>=0x0;_0x5b1cf8--)(_0x1272c4=_0xb966b1[_0x5b1cf8])&&(_0x18f693=_0x1272c4(_0x18f693)||_0x18f693);return _0x18f693;},z=(_0xd0f2b9,_0x13cc44)=>(_0x21a94b,_0x3382f0)=>_0x13cc44(_0x21a94b,_0x3382f0,_0xd0f2b9);let Q=class extends a[_0x50f2ab(0x29f)]{constructor(_0x4e2c92,_0x2da5f3,_0x4423ff,_0x245414){const _0x42e5b2=_0x50f2ab;super(),_(this,'_memberID'),(this[_0x42e5b2(0x1eb)]=_0x4e2c92,this[_0x42e5b2(0x15d)]=_0x2da5f3,this[_0x42e5b2(0x338)]=_0x4423ff,this[_0x42e5b2(0x16a)]=_0x245414,this[_0x42e5b2(0x33b)]());}[_0x50f2ab(0x33b)](){const _0xfbb1cd=_0x50f2ab;this[_0xfbb1cd(0x2d7)](),this[_0xfbb1cd(0x2bc)](),this[_0xfbb1cd(0x245)](),this[_0xfbb1cd(0x149)]();}[_0x50f2ab(0x149)](){const _0x2aaba5=_0x50f2ab;this['disposeWithMe'](this['_collaborationSessionService'][_0x2aaba5(0x37d)]['subscribe'](_0x49b5f9=>{const _0x24f84a=_0x2aaba5;this[_0x24f84a(0xfd)]=_0x49b5f9==null?void 0x0:_0x49b5f9['memberID'];}));}['_initWindowErrorListener'](){const _0x5d19e0=_0x50f2ab,_0x72583d=_0x20af1c=>{const _0x18a20c=_0x547c;var _0x4afc04;this[_0x18a20c(0x1ca)](_0x18a20c(0x127),'[Window\x20Error]:\x20'+_0x20af1c[_0x18a20c(0xd1)]+'\x20at\x20'+_0x20af1c[_0x18a20c(0x10f)]+':'+_0x20af1c[_0x18a20c(0x172)]+':'+_0x20af1c[_0x18a20c(0x1bc)]+'\x0a'+(((_0x4afc04=_0x20af1c[_0x18a20c(0x127)])==null?void 0x0:_0x4afc04['stack'])||''));};window['addEventListener'](_0x5d19e0(0x127),_0x72583d),this['disposeWithMe'](()=>{const _0x1c8b10=_0x5d19e0;window[_0x1c8b10(0x200)](_0x1c8b10(0x127),_0x72583d);});}['_initUnhandledRejectionListener'](){const _0x212381=_0x50f2ab,_0x1a310b=_0x1d9e00=>{const _0x23bd9c=_0x547c;this[_0x23bd9c(0x1ca)]('error',_0x23bd9c(0x15b)+_0x1d9e00['reason']);};window[_0x212381(0x37f)](_0x212381(0x293),_0x1a310b),this[_0x212381(0x184)](()=>{const _0x53b693=_0x212381;window[_0x53b693(0x200)](_0x53b693(0x293),_0x1a310b);});}['_monkeyPatchLogService'](){const _0x520be2=_0x50f2ab,_0x5945c6=this[_0x520be2(0x338)]['error'][_0x520be2(0x380)](this[_0x520be2(0x338)]);this['_logService'][_0x520be2(0x127)]=(..._0x24a7d7)=>{const _0x780f0=_0x520be2,_0x176735=_0x24a7d7[_0x780f0(0x126)](_0x102460=>_0x102460 instanceof Error?_0x102460[_0x780f0(0xd1)]+'\x0a'+_0x102460['stack']:String(_0x102460))[_0x780f0(0x2f7)]('\x20');this['_uploadLog'](_0x780f0(0x127),'[LogService\x20Error]:\x20'+_0x176735),_0x5945c6(..._0x24a7d7);},this[_0x520be2(0x184)](()=>{const _0x4bd8ad=_0x520be2;this['_logService'][_0x4bd8ad(0x127)]=_0x5945c6;});}[_0x50f2ab(0x1ca)](_0x215e5f,_0x647d4c){const _0x3c89b8=_0x50f2ab;try{const _0x4b3dea={'userId':this[_0x3c89b8(0xfd)],'logLabel':_0x215e5f,'content':_0x647d4c};this[_0x3c89b8(0x15d)][_0x3c89b8(0x358)](_0x3c89b8(0xeb),{'body':_0x4b3dea})[_0x3c89b8(0x163)](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x50f2ab(0x28a)](a[_0x50f2ab(0x14d)])),z(0x1,a['Inject'](x['HTTPService'])),z(0x2,a['ILogService']),z(0x3,a[_0x50f2ab(0x28a)](u['CollaborationSessionService']))],Q);const Yt='collaboration-client-ui.config',Me={};var Ht=Object['getOwnPropertyDescriptor'],Wt=(_0x8a3954,_0x172a8b,_0x400b78,_0x45e70a)=>{const _0x32be1d=_0x50f2ab;for(var _0x1c1e5b=_0x45e70a>0x1?void 0x0:_0x45e70a?Ht(_0x172a8b,_0x400b78):_0x172a8b,_0x1ee1b3=_0x8a3954[_0x32be1d(0x2c7)]-0x1,_0x37c860;_0x1ee1b3>=0x0;_0x1ee1b3--)(_0x37c860=_0x8a3954[_0x1ee1b3])&&(_0x1c1e5b=_0x37c860(_0x1c1e5b)||_0x1c1e5b);return _0x1c1e5b;},Ae=(_0x92d2b2,_0x45298b)=>(_0x1affed,_0x4fde01)=>_0x45298b(_0x1affed,_0x4fde01,_0x92d2b2);let ee=class{constructor(_0x464af0,_0x10d47b){const _0x2f7603=_0x50f2ab;this[_0x2f7603(0x25b)]=_0x464af0,this[_0x2f7603(0x236)]=_0x10d47b;}['transformIMECache'](_0x4a6e1f){const _0x571834=_0x50f2ab;this[_0x571834(0x366)](_0x4a6e1f),this[_0x571834(0x119)](_0x4a6e1f);}[_0x50f2ab(0x148)](_0x467d69){const _0x3538d5=_0x50f2ab,{unitID:_0x548d30}=_0x467d69,_0x90d788=this[_0x3538d5(0x236)][_0x3538d5(0xe5)](_0x548d30)['with'](p[_0x3538d5(0x1e9)]),{redoCache:_0x2de901}=_0x90d788[_0x3538d5(0x2d1)]();if(_0x2de901[_0x3538d5(0x2c7)]===0x0)return _0x467d69;let _0x2024bc=a['Tools']['deepClone'](_0x467d69['mutations'][0x0]);for(let _0x22576e=0x0;_0x22576e<_0x2de901['length'];_0x22576e++){const _0x30e954={'id':_0x3538d5(0xd8),'params':{..._0x2de901[_0x22576e]}},_0x5d5263=this[_0x3538d5(0x25b)][_0x3538d5(0x2a6)](_0x2024bc,_0x30e954,!0x1);if(g[_0x3538d5(0x23e)](_0x5d5263))throw _0x5d5263['error'];_0x2024bc=_0x5d5263[_0x3538d5(0x29a)];}return{...a[_0x3538d5(0x1a8)][_0x3538d5(0x2a4)](_0x467d69),'mutations':[_0x2024bc]};}[_0x50f2ab(0x366)](_0x2a6138){const _0x2dd07e=_0x50f2ab,{unitID:_0x4dbacd}=_0x2a6138,_0x1a804f=this[_0x2dd07e(0x236)]['getRenderById'](_0x4dbacd)['with'](p['DocIMEInputManagerService']),{undoCache:_0x5999ef,redoCache:_0x56ec4b}=_0x1a804f[_0x2dd07e(0x2d1)]();if(_0x5999ef[_0x2dd07e(0x2c7)]===0x0||_0x56ec4b[_0x2dd07e(0x2c7)]===0x0)return;const _0x5443d0=[],_0x50cc50=[];let _0x7bb6b7=a[_0x2dd07e(0x1a8)][_0x2dd07e(0x2a4)](_0x2a6138[_0x2dd07e(0x1f5)][0x0]),_0x547cbe=a[_0x2dd07e(0x1a8)][_0x2dd07e(0x2a4)](_0x2a6138[_0x2dd07e(0x1f5)][0x0]);for(let _0x36f6df=_0x5999ef[_0x2dd07e(0x2c7)]-0x1;_0x36f6df>=0x0;_0x36f6df--){const _0x73acfb={'id':_0x2dd07e(0xd8),'params':{..._0x5999ef[_0x36f6df]}},_0x57a29b={'id':_0x2dd07e(0xd8),'params':{..._0x56ec4b[_0x36f6df]}},_0x3ecd4e=this['_transformService'][_0x2dd07e(0x2a6)](_0x7bb6b7,_0x73acfb,!0x1),_0x278bca=this[_0x2dd07e(0x25b)][_0x2dd07e(0x2a6)](_0x547cbe,_0x57a29b,!0x1);if(g[_0x2dd07e(0x23e)](_0x3ecd4e))throw _0x3ecd4e[_0x2dd07e(0x127)];if(g[_0x2dd07e(0x23e)](_0x278bca))throw _0x278bca[_0x2dd07e(0x127)];_0x5443d0[_0x2dd07e(0x21e)](_0x3ecd4e[_0x2dd07e(0x33d)]['params']),_0x50cc50['unshift'](_0x278bca['m2Prime'][_0x2dd07e(0x277)]),_0x7bb6b7=_0x3ecd4e[_0x2dd07e(0x29a)],_0x547cbe=_0x278bca[_0x2dd07e(0x29a)];}_0x1a804f[_0x2dd07e(0x335)]({'undoCache':_0x5443d0,'redoCache':_0x50cc50});}[_0x50f2ab(0x119)](_0x293004){const _0x1551db=_0x50f2ab,{unitID:_0x2174a8}=_0x293004,_0x3e0dd4=this[_0x1551db(0x236)][_0x1551db(0xe5)](_0x2174a8)[_0x1551db(0x289)](p[_0x1551db(0x1e9)]),_0x286300=_0x3e0dd4[_0x1551db(0x243)]();if(_0x286300==null)return;const _0x177856=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x293004[_0x1551db(0x202)],'actions':null,'textRanges':[_0x286300]}}],_0x571755=this['_transformService']['transformMutationsWithChangeset'](_0x293004,_0x177856);if(!g[_0x1551db(0x1d7)](_0x571755))throw _0x571755[_0x1551db(0x127)];const _0x353b58=_0x571755['m2Prime'][0x0][_0x1551db(0x277)][_0x1551db(0x334)];Array[_0x1551db(0x324)](_0x353b58)&&_0x353b58[_0x1551db(0x2c7)]&&_0x3e0dd4['setActiveRange'](_0x353b58[0x0]);}};ee=Wt([Ae(0x0,g[_0x50f2ab(0x12b)]),Ae(0x1,C[_0x50f2ab(0x345)])],ee);var Vt=Object[_0x50f2ab(0xf1)],Gt=(_0xaa3015,_0x4f9b0f,_0x23e1f7,_0x36d00a)=>{const _0x94ee47=_0x50f2ab;for(var _0x133f0c=_0x36d00a>0x1?void 0x0:_0x36d00a?Vt(_0x4f9b0f,_0x23e1f7):_0x4f9b0f,_0x251128=_0xaa3015[_0x94ee47(0x2c7)]-0x1,_0x5e4290;_0x251128>=0x0;_0x251128--)(_0x5e4290=_0xaa3015[_0x251128])&&(_0x133f0c=_0x5e4290(_0x133f0c)||_0x133f0c);return _0x133f0c;},Ie=(_0x3add63,_0x32faeb)=>(_0x4c9058,_0x302814)=>_0x32faeb(_0x4c9058,_0x302814,_0x3add63);let te=class{constructor(_0x342ed4,_0x11dd22,_0x1f168c){const _0x478003=_0x50f2ab;this['_injector']=_0x342ed4,this[_0x478003(0x25b)]=_0x11dd22,this[_0x478003(0x13a)]=_0x1f168c;}[_0x50f2ab(0x143)](_0x37a2d2){const _0x4cf6c5=_0x50f2ab;this[_0x4cf6c5(0x124)](_0x37a2d2);}[_0x50f2ab(0x148)](_0x405321){const _0x57b819=_0x50f2ab,{unitID:_0x4a65f5}=_0x405321,{collaboration:_0x55aded}=this['_docStateChangeManagerService']['getStateCache'](_0x4a65f5);if(_0x55aded[_0x57b819(0x2c7)]===0x0)return _0x405321;let _0x147d0d=a[_0x57b819(0x1a8)]['deepClone'](_0x405321['mutations'][0x0]);for(let _0x4ca1ab=0x0;_0x4ca1ab<_0x55aded['length'];_0x4ca1ab++){const _0x3edc95={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x55aded[_0x4ca1ab][_0x57b819(0x25d)],..._0x55aded[_0x4ca1ab][_0x57b819(0x325)]}},_0x1dffa7=this[_0x57b819(0x25b)][_0x57b819(0x2a6)](_0x147d0d,_0x3edc95,!0x1);if(g[_0x57b819(0x23e)](_0x1dffa7))throw _0x1dffa7[_0x57b819(0x127)];_0x147d0d=_0x1dffa7[_0x57b819(0x29a)];}return{...a[_0x57b819(0x1a8)]['deepClone'](_0x405321),'mutations':[_0x147d0d]};}[_0x50f2ab(0x124)](_0x39f794){const _0x4db9ab=_0x50f2ab,{unitID:_0x4ef41a}=_0x39f794,{history:_0x23cb9a,collaboration:_0x88b60a}=this[_0x4db9ab(0x13a)]['getStateCache'](_0x4ef41a);if(_0x23cb9a['length']===0x0&&_0x88b60a['length']===0x0)return;const _0x50582c=[],_0x19df13=[];let _0x1cde11=a['Tools']['deepClone'](_0x39f794['mutations'][0x0]),_0x7f8416=a[_0x4db9ab(0x1a8)]['deepClone'](_0x39f794[_0x4db9ab(0x1f5)][0x0]);for(let _0x194637=_0x23cb9a[_0x4db9ab(0x2c7)]-0x1;_0x194637>=0x0;_0x194637--){const _0x2573d7={'id':_0x4db9ab(0xd8),'params':{'unitId':_0x23cb9a[_0x194637][_0x4db9ab(0x25d)],..._0x23cb9a[_0x194637][_0x4db9ab(0x1a9)]}},_0x459683={'id':_0x4db9ab(0xd8),'params':{'unitId':_0x23cb9a[_0x194637][_0x4db9ab(0x25d)],..._0x23cb9a[_0x194637][_0x4db9ab(0x325)]}},_0x173b22=this['_transformService'][_0x4db9ab(0x2a6)](_0x1cde11,_0x2573d7,!0x1),_0x428430=this['_transformService']['transformMutation'](_0x7f8416,_0x459683,!0x1);if(g[_0x4db9ab(0x23e)](_0x173b22))throw _0x173b22[_0x4db9ab(0x127)];if(g[_0x4db9ab(0x23e)](_0x428430))throw _0x428430[_0x4db9ab(0x127)];_0x50582c[_0x4db9ab(0x21e)]({..._0x23cb9a[_0x194637],'undoState':_0x173b22[_0x4db9ab(0x33d)][_0x4db9ab(0x277)],'redoState':_0x428430[_0x4db9ab(0x33d)][_0x4db9ab(0x277)]}),_0x1cde11=_0x173b22[_0x4db9ab(0x29a)],_0x7f8416=_0x428430[_0x4db9ab(0x29a)];}_0x1cde11=a[_0x4db9ab(0x1a8)]['deepClone'](_0x39f794['mutations'][0x0]),_0x7f8416=a[_0x4db9ab(0x1a8)][_0x4db9ab(0x2a4)](_0x39f794['mutations'][0x0]);for(let _0x169faa=_0x88b60a[_0x4db9ab(0x2c7)]-0x1;_0x169faa>=0x0;_0x169faa--){const _0x17acd1={'id':_0x4db9ab(0xd8),'params':{'unitId':_0x88b60a[_0x169faa][_0x4db9ab(0x25d)],..._0x88b60a[_0x169faa][_0x4db9ab(0x1a9)]}},_0x158c3b={'id':_0x4db9ab(0xd8),'params':{'unitId':_0x88b60a[_0x169faa][_0x4db9ab(0x25d)],..._0x88b60a[_0x169faa][_0x4db9ab(0x325)]}},_0x2eda59=this[_0x4db9ab(0x25b)][_0x4db9ab(0x2a6)](_0x1cde11,_0x17acd1,!0x1),_0x3d98b3=this[_0x4db9ab(0x25b)][_0x4db9ab(0x2a6)](_0x7f8416,_0x158c3b,!0x1);if(g['isTransformMutationFailure'](_0x2eda59))throw _0x2eda59['error'];if(g[_0x4db9ab(0x23e)](_0x3d98b3))throw _0x3d98b3[_0x4db9ab(0x127)];_0x19df13[_0x4db9ab(0x21e)]({..._0x88b60a[_0x169faa],'undoState':_0x2eda59['m2Prime'][_0x4db9ab(0x277)],'redoState':_0x3d98b3[_0x4db9ab(0x33d)]['params']}),_0x1cde11=_0x2eda59[_0x4db9ab(0x29a)],_0x7f8416=_0x3d98b3[_0x4db9ab(0x29a)];}this[_0x4db9ab(0x13a)][_0x4db9ab(0xdd)](_0x4ef41a,{'history':_0x50582c,'collaboration':_0x19df13});}};te=Gt([Ie(0x0,a['Inject'](a[_0x50f2ab(0x14d)])),Ie(0x1,g[_0x50f2ab(0x12b)]),Ie(0x2,a[_0x50f2ab(0x28a)](p[_0x50f2ab(0x15c)]))],te);var Xt=Object['getOwnPropertyDescriptor'],Kt=(_0x347627,_0x4f335c,_0x1b18b7,_0x33a908)=>{for(var _0x19535d=_0x33a908>0x1?void 0x0:_0x33a908?Xt(_0x4f335c,_0x1b18b7):_0x4f335c,_0x5e8459=_0x347627['length']-0x1,_0x371141;_0x5e8459>=0x0;_0x5e8459--)(_0x371141=_0x347627[_0x5e8459])&&(_0x19535d=_0x371141(_0x19535d)||_0x19535d);return _0x19535d;},Pe=(_0x207d30,_0x5541dd)=>(_0x262907,_0x24d780)=>_0x5541dd(_0x262907,_0x24d780,_0x207d30);let se=class{constructor(_0x24152e,_0x3bb414){const _0x1dc007=_0x50f2ab;this[_0x1dc007(0x1eb)]=_0x24152e,this[_0x1dc007(0x25b)]=_0x3bb414;}[_0x50f2ab(0x1e6)](_0x4ee78c){const _0x1967c2=_0x50f2ab;var _0x1fc80d;const _0x1d597e=this['_injector']['get'](V['DocSelectionManagerService']),_0x3d537f=(_0x1fc80d=_0x1d597e['getDocRanges']())!=null?_0x1fc80d:[];if(_0x3d537f[_0x1967c2(0x2c7)]===0x0)return;const _0x351029=_0x4ee78c[_0x1967c2(0x202)],_0x2daf3d=[{'id':_0x1967c2(0xd8),'params':{'unitId':_0x351029,'actions':null,'textRanges':_0x3d537f}}],_0x180e15=this[_0x1967c2(0x25b)]['transformMutationsWithChangeset'](_0x4ee78c,_0x2daf3d);if(!g[_0x1967c2(0x1d7)](_0x180e15))throw _0x180e15['error'];const _0x68642b=_0x180e15[_0x1967c2(0x33d)][0x0][_0x1967c2(0x277)]['textRanges'];Array[_0x1967c2(0x324)](_0x68642b)&&_0x68642b[_0x1967c2(0x2c7)]&&_0x1d597e['replaceDocRanges'](_0x68642b,{'unitId':_0x351029,'subUnitId':_0x351029},!0x1);}};se=Kt([Pe(0x0,a[_0x50f2ab(0x28a)](a[_0x50f2ab(0x14d)])),Pe(0x1,g[_0x50f2ab(0x12b)])],se);var qt=Object[_0x50f2ab(0xf1)],zt=(_0x397343,_0x4c1bbf,_0x5a4be4,_0x178135)=>{for(var _0x4b39a7=_0x178135>0x1?void 0x0:_0x178135?qt(_0x4c1bbf,_0x5a4be4):_0x4c1bbf,_0x30fa69=_0x397343['length']-0x1,_0x3071e0;_0x30fa69>=0x0;_0x30fa69--)(_0x3071e0=_0x397343[_0x30fa69])&&(_0x4b39a7=_0x3071e0(_0x4b39a7)||_0x4b39a7);return _0x4b39a7;},N=(_0x5ae751,_0x4cd5df)=>(_0x5719cb,_0x877580)=>_0x4cd5df(_0x5719cb,_0x877580,_0x5ae751);let ie=class extends a['Disposable']{constructor(_0x47b241,_0x48d281,_0x39b479,_0x235b90,_0x3d0ce7,_0x25b023,_0x401121,_0x40873c){const _0x3a6a4d=_0x50f2ab;super(),_(this,_0x3a6a4d(0x158),new I[(_0x3a6a4d(0x36d))](u[_0x3a6a4d(0x189)][_0x3a6a4d(0x315)])),(this['_docStateChangeManagerService']=_0x47b241,this[_0x3a6a4d(0x1ce)]=_0x48d281,this[_0x3a6a4d(0x1e0)]=_0x39b479,this[_0x3a6a4d(0x32a)]=_0x235b90,this[_0x3a6a4d(0x34e)]=_0x3d0ce7,this[_0x3a6a4d(0x17e)]=_0x25b023,this[_0x3a6a4d(0x2cc)]=_0x401121,this['_localeService']=_0x40873c,this['_initEntityListener']());}[_0x50f2ab(0x379)](){const _0x262ee8=_0x50f2ab;this['disposeWithMe'](this[_0x262ee8(0x1ce)][_0x262ee8(0x2d8)]['subscribe'](_0x510821=>{const _0x42bbba=_0x262ee8,_0x325e62=this[_0x42bbba(0x13a)]['docStateChange$'][_0x42bbba(0x179)](_0x5e1462=>{const _0x5c9860=_0x42bbba;if(_0x5e1462==null)return;const {unitId:_0x3a2fa4,redoState:_0x5cfcd1,commandId:_0x8ca53d}=_0x5e1462;if(_0x3a2fa4!==_0x510821['unitID'])return;const _0x4140c6={'id':_0x8ca53d,'type':a[_0x5c9860(0x1f1)]['MUTATION'],'params':{'unitId':_0x3a2fa4,'actions':_0x5cfcd1[_0x5c9860(0x384)],'textRanges':null}};_0x510821[_0x5c9860(0x271)](_0x4140c6);});if(_0x510821[_0x42bbba(0x184)](_0x325e62),_0x510821 instanceof u[_0x42bbba(0x275)]){const _0x3f5406={'onTransformIME':_0x43f75a=>this['_docTransformIMECacheService'][_0x42bbba(0x160)](_0x43f75a),'onTransformState':_0x223d7c=>this[_0x42bbba(0x32a)][_0x42bbba(0x143)](_0x223d7c),'onTransformSelections':_0x1ed2ff=>this['_docTransformSelectionsService']['transformSelections'](_0x1ed2ff),'onSyncEditingCollabCursor':_0x163852=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x163852),'onTransformRemoteChangesetByIMECache':_0x3289b2=>this[_0x42bbba(0x1e0)][_0x42bbba(0x148)](_0x3289b2),'onTransformRemoteChangesetByStateCache':_0x3039e9=>this[_0x42bbba(0x32a)][_0x42bbba(0x148)](_0x3039e9)};_0x510821[_0x42bbba(0x333)](_0x3f5406);}}));}};ie=zt([N(0x0,a['Inject'](p[_0x50f2ab(0x15c)])),N(0x1,a[_0x50f2ab(0x28a)](u[_0x50f2ab(0x1f4)])),N(0x2,a[_0x50f2ab(0x28a)](ee)),N(0x3,a[_0x50f2ab(0x28a)](te)),N(0x4,a[_0x50f2ab(0x28a)](se)),N(0x5,a[_0x50f2ab(0x28a)](be)),N(0x6,O[_0x50f2ab(0x281)]),N(0x7,a[_0x50f2ab(0x28a)](a[_0x50f2ab(0x139)]))],ie);var G=(_0x28d763=>(_0x28d763[_0x28d763[_0x50f2ab(0x258)]=0x0]=_0x50f2ab(0x258),_0x28d763[_0x28d763['OK']=0x1]='OK',_0x28d763[_0x28d763[_0x50f2ab(0x317)]=0x2]='INTERNAL_ERROR',_0x28d763[_0x28d763[_0x50f2ab(0x22e)]=0x3]=_0x50f2ab(0x22e),_0x28d763[_0x28d763[_0x50f2ab(0x235)]=0x4]=_0x50f2ab(0x235),_0x28d763[_0x28d763[_0x50f2ab(0x2da)]=0x5]='UNAUTHENTICATED',_0x28d763[_0x28d763[_0x50f2ab(0x1fa)]=0x6]=_0x50f2ab(0x1fa),_0x28d763[_0x28d763[_0x50f2ab(0x2fd)]=0x7]=_0x50f2ab(0x2fd),_0x28d763[_0x28d763[_0x50f2ab(0x331)]=0x8]='TOO_MANY_REQUESTS',_0x28d763[_0x28d763[_0x50f2ab(0x330)]=0x9]=_0x50f2ab(0x330),_0x28d763[_0x28d763[_0x50f2ab(0x2ee)]=0xa]=_0x50f2ab(0x2ee),_0x28d763[_0x28d763[_0x50f2ab(0x215)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x28d763[_0x28d763[_0x50f2ab(0x252)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x28d763[_0x28d763[_0x50f2ab(0x22a)]=0xd]=_0x50f2ab(0x22a),_0x28d763[_0x28d763['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x50f2ab(0xe8),_0x28d763[_0x28d763['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x50f2ab(0x1d2),_0x28d763[_0x28d763['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x50f2ab(0x35c),_0x28d763[_0x28d763[_0x50f2ab(0xe1)]=0x64]=_0x50f2ab(0xe1),_0x28d763[_0x28d763[_0x50f2ab(0x109)]=0x65]='ERROR_AGAIN',_0x28d763[_0x28d763[_0x50f2ab(0x13e)]=0xc9]=_0x50f2ab(0x13e),_0x28d763[_0x28d763[_0x50f2ab(0xe9)]=0xca]=_0x50f2ab(0xe9),_0x28d763[_0x28d763['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x50f2ab(0x1a7),_0x28d763[_0x28d763['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x50f2ab(0x1d8),_0x28d763[_0x28d763[_0x50f2ab(0x370)]=0x1772]=_0x50f2ab(0x370),_0x28d763[_0x28d763[_0x50f2ab(0x2b4)]=0x1773]=_0x50f2ab(0x2b4),_0x28d763[_0x28d763['APPLY_REJECT']=0x1b59]=_0x50f2ab(0x13d),_0x28d763[_0x28d763[_0x50f2ab(0x162)]=0x1b5a]=_0x50f2ab(0x162),_0x28d763[_0x28d763['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x50f2ab(0x227),_0x28d763[_0x28d763[_0x50f2ab(0x1a0)]=0x1b5c]=_0x50f2ab(0x1a0),_0x28d763[_0x28d763['APPLY_DUPLICATED']=0x1b5d]=_0x50f2ab(0x27a),_0x28d763[_0x28d763[_0x50f2ab(0x178)]=0x1f41]=_0x50f2ab(0x178),_0x28d763[_0x28d763['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x50f2ab(0x153),_0x28d763[_0x28d763[_0x50f2ab(0x21f)]=0x232a]=_0x50f2ab(0x21f),_0x28d763[_0x28d763['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x50f2ab(0x197),_0x28d763[_0x28d763[_0x50f2ab(0x137)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x28d763[_0x28d763[_0x50f2ab(0x2e3)]=0x232d]=_0x50f2ab(0x2e3),_0x28d763[_0x28d763[_0x50f2ab(0x37a)]=0x2711]=_0x50f2ab(0x37a),_0x28d763[_0x28d763[_0x50f2ab(0x362)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x28d763[_0x28d763[_0x50f2ab(0x1f0)]=0x2713]=_0x50f2ab(0x1f0),_0x28d763[_0x28d763[_0x50f2ab(0x33c)]=0x2714]=_0x50f2ab(0x33c),_0x28d763[_0x28d763['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x50f2ab(0xfe),_0x28d763[_0x28d763[_0x50f2ab(0x32e)]=0x271b]=_0x50f2ab(0x32e),_0x28d763[_0x28d763[_0x50f2ab(0x377)]=0x271c]=_0x50f2ab(0x377),_0x28d763[_0x28d763[_0x50f2ab(0x30b)]=0x271d]=_0x50f2ab(0x30b),_0x28d763[_0x28d763[_0x50f2ab(0x225)]=0x271e]=_0x50f2ab(0x225),_0x28d763[_0x28d763[_0x50f2ab(0x32d)]=0x271f]=_0x50f2ab(0x32d),_0x28d763[_0x28d763[_0x50f2ab(0x23d)]=0x2720]=_0x50f2ab(0x23d),_0x28d763[_0x28d763['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x50f2ab(0x20e),_0x28d763[_0x28d763[_0x50f2ab(0x30e)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x28d763[_0x28d763['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x28d763[_0x28d763[_0x50f2ab(0x2b5)]=0x2ee3]=_0x50f2ab(0x2b5),_0x28d763[_0x28d763[_0x50f2ab(0x209)]=0x2ee4]=_0x50f2ab(0x209),_0x28d763[_0x28d763[_0x50f2ab(0x1c0)]=0x2ee5]=_0x50f2ab(0x1c0),_0x28d763[_0x28d763['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x50f2ab(0xc0),_0x28d763[_0x28d763[_0x50f2ab(0x255)]=0x32ca]=_0x50f2ab(0x255),_0x28d763[_0x28d763[_0x50f2ab(0x208)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x28d763[_0x28d763['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x50f2ab(0x1b4),_0x28d763[_0x28d763['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x50f2ab(0x10c),_0x28d763[_0x28d763['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x50f2ab(0xde),_0x28d763[_0x28d763[_0x50f2ab(0x1f3)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x28d763[_0x28d763[_0x50f2ab(0x2dc)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x28d763[_0x28d763['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x50f2ab(0x121),_0x28d763[_0x28d763[_0x50f2ab(0x1d4)]=0x3717]=_0x50f2ab(0x1d4),_0x28d763[_0x28d763[_0x50f2ab(0x1ef)]=0x37dd]=_0x50f2ab(0x1ef),_0x28d763[_0x28d763[_0x50f2ab(0x1db)]=0x3a99]=_0x50f2ab(0x1db),_0x28d763[_0x28d763[_0x50f2ab(0x1f6)]=0x3a9a]=_0x50f2ab(0x1f6),_0x28d763[_0x28d763[_0x50f2ab(0x313)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x28d763[_0x28d763['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x28d763[_0x28d763[_0x50f2ab(0x36c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x28d763[_0x28d763['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x28d763[_0x28d763['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x50f2ab(0x290),_0x28d763[_0x28d763['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x50f2ab(0x253),_0x28d763[_0x28d763[_0x50f2ab(0x2ca)]=-0x1]='UNRECOGNIZED',_0x28d763))(G||{});function Jt(_0x26119a){const _0x333af4=_0x50f2ab;var _0x4b6ba4,_0x393163;const _0x195782=(_0x4b6ba4=_0x26119a['stageInfo'])==null?void 0x0:_0x4b6ba4['stage'],_0x35b188=((_0x393163=_0x26119a[_0x333af4(0x1a1)])==null?void 0x0:_0x393163[_0x333af4(0x285)])||0x0;return _0x195782===B[_0x333af4(0x1aa)]['START_CALCULATION']&&_0x35b188>0x0;}function Zt(_0x371698){const _0x308f45=_0x50f2ab;return _0x371698[_0x308f45(0x19c)]===B[_0x308f45(0x14f)][_0x308f45(0x332)];}var Qt=Object[_0x50f2ab(0xf1)],es=(_0x583e75,_0xe63211,_0x4cc282,_0x41ac87)=>{const _0x110db6=_0x50f2ab;for(var _0x29c540=_0x41ac87>0x1?void 0x0:_0x41ac87?Qt(_0xe63211,_0x4cc282):_0xe63211,_0xa010e7=_0x583e75[_0x110db6(0x2c7)]-0x1,_0x3d87ff;_0xa010e7>=0x0;_0xa010e7--)(_0x3d87ff=_0x583e75[_0xa010e7])&&(_0x29c540=_0x3d87ff(_0x29c540)||_0x29c540);return _0x29c540;},L=(_0xfc2c53,_0x24274e)=>(_0x52d388,_0x253c0d)=>_0x24274e(_0x52d388,_0x253c0d,_0xfc2c53);const ts=_0x50f2ab(0x134),ss=_0x50f2ab(0x1ee),is=_0x50f2ab(0x201);let ne=class extends a['Disposable']{constructor(_0x3fd351,_0x45bbbc,_0x55b582,_0x5224f0,_0x519e8d,_0x896efb,_0x149614){const _0x454e95=_0x50f2ab;super(),_(this,'_pollingInterval',null),_(this,_0x454e95(0x273),0x0),_(this,_0x454e95(0x128),0x0),_(this,'_taskIds',[]),_(this,_0x454e95(0x26f),0x0),(this[_0x454e95(0x2cc)]=_0x3fd351,this[_0x454e95(0x182)]=_0x45bbbc,this['_configService']=_0x55b582,this[_0x454e95(0x15d)]=_0x5224f0,this[_0x454e95(0x155)]=_0x519e8d,this[_0x454e95(0x338)]=_0x896efb,this[_0x454e95(0x2e7)]=_0x149614,this[_0x454e95(0x15e)]());}[_0x50f2ab(0x15e)](){const _0x285340=_0x50f2ab;this[_0x285340(0x184)](this[_0x285340(0x182)]['beforeCommandExecuted']((_0x5ad811,_0x4953f0)=>{const _0x214788=_0x285340;var _0xad97e8;if(_0x5ad811['id']!==B['SetFormulaCalculationStartMutation']['id'])return;const _0x334b64=_0x5ad811['params'];if(!this[_0x214788(0x263)]((_0xad97e8=_0x334b64['dirtyRanges'])!=null?_0xad97e8:[]))return;if(!this[_0x214788(0x20f)]())throw this[_0x214788(0xcc)](_0x5ad811,_0x4953f0),this[_0x214788(0x280)](),new a[(_0x214788(0x371))]();})),this[_0x285340(0x184)](this[_0x285340(0x182)]['onCommandExecuted']((_0x3c4a63,_0xd82a9d)=>{const _0x44878d=_0x285340;if(_0x3c4a63['id']!==B[_0x44878d(0x192)]['id'])return;const _0xd95938=_0x3c4a63[_0x44878d(0x277)];if(Jt(_0xd95938)){const _0x16d50e=a[_0x44878d(0x341)]();this[_0x44878d(0x165)]['push'](_0x16d50e),this[_0x44878d(0x318)](_0x16d50e);}else{if(Zt(_0xd95938)&&this['_taskIds']['length']>0x0){const _0x8b4261=this['_taskIds'][_0x44878d(0xc2)]();this[_0x44878d(0x262)](_0x8b4261);}}}));}[_0x50f2ab(0x10b)](){const _0x6308ed=_0x50f2ab;super[_0x6308ed(0x10b)](),this[_0x6308ed(0x32b)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x6308ed(0x273)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x5ce0e0,_0x1ed781){const _0x26cf14=_0x50f2ab;for(let _0x2e4871=0x0;_0x2e4871<0x1e;_0x2e4871++)try{if(await this['_getFormulaLimitStatus'](),this[_0x26cf14(0x20f)]()){this['_applyCommand'](_0x5ce0e0,_0x1ed781),this[_0x26cf14(0x2cc)][_0x26cf14(0x168)]({'content':this[_0x26cf14(0x2e7)]['t'](_0x26cf14(0x1c3)),'type':T[_0x26cf14(0x150)][_0x26cf14(0x1c9)]});return;}await new Promise(_0x1849ed=>{const _0x4324fa=_0x26cf14;this[_0x4324fa(0x1e2)]=window[_0x4324fa(0x24e)](_0x1849ed,0x3e8);});}catch(_0x3d0e69){this[_0x26cf14(0x338)][_0x26cf14(0x127)](_0x3d0e69);}this[_0x26cf14(0x2cc)]['show']({'content':this[_0x26cf14(0x2e7)]['t'](_0x26cf14(0x2fb)),'type':T[_0x26cf14(0x150)]['Error']});}[_0x50f2ab(0x2e9)](_0xdc22ee,_0x2d654e){const _0x56ab36=_0x50f2ab;try{this[_0x56ab36(0x182)][_0x56ab36(0x326)](_0xdc22ee['id'],_0xdc22ee['params'],_0x2d654e);}catch(_0x2e6a15){this[_0x56ab36(0x338)][_0x56ab36(0x127)](_0x2e6a15);}}[_0x50f2ab(0xe4)](_0x512a5c,_0x2e4968){const _0x1c2f9e=_0x50f2ab;_0x2e4968<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x2e4968,this[_0x1c2f9e(0x273)]=Number[_0x1c2f9e(0x226)](_0x512a5c[_0x1c2f9e(0x363)]),this[_0x1c2f9e(0x128)]=Number[_0x1c2f9e(0x226)](_0x512a5c['currentUsage']));}async['_startCalculationLimit'](_0x4b2559){const _0x691be9=_0x50f2ab;var _0x3f3817,_0x341497;const _0x4dcbc1=Date[_0x691be9(0x25e)]();try{const _0x3bc17b=((_0x3f3817=this[_0x691be9(0x2df)][_0x691be9(0x1b2)](u[_0x691be9(0x2f1)]))==null?void 0x0:_0x3f3817[_0x691be9(0x19e)])||ss,_0x3bf02e=(await this[_0x691be9(0x15d)]['post'](_0x3bc17b,{'body':JSON['stringify']({'taskId':_0x4b2559})}))['body'];if(((_0x341497=_0x3bf02e[_0x691be9(0x127)])==null?void 0x0:_0x341497['code'])!==G['OK'])return;this[_0x691be9(0xe4)](_0x3bf02e[_0x691be9(0x175)],_0x4dcbc1);}catch(_0x3f2949){this[_0x691be9(0x338)][_0x691be9(0x127)](_0x3f2949);}}async[_0x50f2ab(0x1fe)](_0x52c8b2){const _0x155cad=_0x50f2ab;var _0xb3d520,_0x1f443b;const _0x16f4c6=Date['now']();try{const _0x3cd982=((_0xb3d520=this[_0x155cad(0x2df)][_0x155cad(0x1b2)](u[_0x155cad(0x2f1)]))==null?void 0x0:_0xb3d520['getformulaLimitStatusUrl'])||ts,_0x4b211d=_0x52c8b2?_0x3cd982+'?taskId='+encodeURIComponent(_0x52c8b2):_0x3cd982,_0x31008e=(await this['_httpService'][_0x155cad(0x106)](_0x4b211d))['body'];if(((_0x1f443b=_0x31008e['error'])==null?void 0x0:_0x1f443b['code'])!==G['OK'])return;this[_0x155cad(0xe4)](_0x31008e[_0x155cad(0x175)],_0x16f4c6);}catch(_0x1b41fa){this[_0x155cad(0x338)][_0x155cad(0x127)](_0x1b41fa);}}async['_releaseCalculationLimit'](_0x28410e){const _0x46baab=_0x50f2ab;var _0x3ffe68,_0x509c13;const _0x235794=Date['now']();try{const _0x430250=((_0x3ffe68=this['_configService'][_0x46baab(0x1b2)](u[_0x46baab(0x2f1)]))==null?void 0x0:_0x3ffe68[_0x46baab(0x1d5)])||is,_0x4f6116=(await this[_0x46baab(0x15d)]['post'](_0x430250,{'body':JSON[_0x46baab(0x2e1)]({'taskId':_0x28410e})}))[_0x46baab(0x308)];if(((_0x509c13=_0x4f6116[_0x46baab(0x127)])==null?void 0x0:_0x509c13['code'])!==G['OK'])return;this[_0x46baab(0xe4)](_0x4f6116['limitInfo'],_0x235794);}catch(_0x4351af){this[_0x46baab(0x338)][_0x46baab(0x127)](_0x4351af);}}['_checkCalculationAvailable'](){const _0x691220=_0x50f2ab;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0x691220(0x128)]>0x0;}[_0x50f2ab(0x32b)](){const _0x38b6c7=_0x50f2ab;this[_0x38b6c7(0x1e2)]&&(clearTimeout(this[_0x38b6c7(0x1e2)]),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0x2b61d6=_0x50f2ab;this[_0x2b61d6(0x2cc)][_0x2b61d6(0x168)]({'content':this[_0x2b61d6(0x2e7)]['t'](_0x2b61d6(0xd6)),'type':T[_0x2b61d6(0x150)][_0x2b61d6(0x381)]});}[_0x50f2ab(0x263)](_0x9bef59){const _0x561059=_0x50f2ab;for(const _0x549bdc of _0x9bef59){const {unitId:_0x123fe9,sheetId:_0x22e889,range:_0x1c694b}=_0x549bdc,_0x42b26b=this[_0x561059(0x155)][_0x561059(0xc1)](_0x123fe9);if(!_0x42b26b)continue;const _0x2d0646=_0x42b26b[_0x561059(0x120)](_0x22e889);if(!_0x2d0646)continue;const _0x14a459=_0x2d0646[_0x561059(0x35b)]();for(let _0x319f1e=_0x1c694b[_0x561059(0x247)];_0x319f1e<=_0x1c694b[_0x561059(0x115)];_0x319f1e++)for(let _0x233aa2=_0x1c694b[_0x561059(0x15f)];_0x233aa2<=_0x1c694b[_0x561059(0x2f5)];_0x233aa2++){const _0x6d4d21=_0x14a459[_0x561059(0x2b0)](_0x319f1e,_0x233aa2);if(_0x6d4d21&&(a[_0x561059(0xc8)](_0x6d4d21['f'])||a[_0x561059(0x37e)](_0x6d4d21['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a[_0x50f2ab(0x28a)](O[_0x50f2ab(0x281)])),L(0x1,a['ICommandService']),L(0x2,a['IConfigService']),L(0x3,a[_0x50f2ab(0x28a)](x[_0x50f2ab(0x193)])),L(0x4,a[_0x50f2ab(0x2c2)]),L(0x5,a[_0x50f2ab(0x357)]),L(0x6,a[_0x50f2ab(0x28a)](a['LocaleService']))],ne);var ns=Object[_0x50f2ab(0xf1)],rs=(_0x4a57f6,_0x4720a4,_0x1dcf8f,_0x48b13b)=>{for(var _0x5a1296=_0x48b13b>0x1?void 0x0:_0x48b13b?ns(_0x4720a4,_0x1dcf8f):_0x4720a4,_0x21383e=_0x4a57f6['length']-0x1,_0x465147;_0x21383e>=0x0;_0x21383e--)(_0x465147=_0x4a57f6[_0x21383e])&&(_0x5a1296=_0x465147(_0x5a1296)||_0x5a1296);return _0x5a1296;},de=(_0x2c989c,_0x210703)=>(_0x28f5f4,_0x5f465b)=>_0x210703(_0x28f5f4,_0x5f465b,_0x2c989c);let pe=class extends a[_0x50f2ab(0x29f)]{constructor(_0x3ffabf,_0x5c13c9,_0x24f8ac){const _0x3c6644=_0x50f2ab;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x3c6644(0x2df)]=_0x3ffabf,this[_0x3c6644(0xe7)]=_0x5c13c9,this[_0x3c6644(0x2e8)]=_0x24f8ac);}[_0x50f2ab(0x2e2)](){const _0x28208c=_0x50f2ab;this[_0x28208c(0x2bf)]=!0x0;}[_0x50f2ab(0x21b)](){const _0x55ab3e=_0x50f2ab;this[_0x55ab3e(0x2bf)]=!0x1;}get[_0x50f2ab(0x2aa)](){const _0x12cb0e=_0x50f2ab;return this[_0x12cb0e(0x2db)];}[_0x50f2ab(0x10b)](){const _0x56f447=_0x50f2ab;this[_0x56f447(0x154)]()[_0x56f447(0x147)](()=>super['dispose']());}async[_0x50f2ab(0x32f)](_0x32f8c7){const _0x5f43f9=_0x50f2ab;return this[_0x5f43f9(0x2bf)]?null:this[_0x5f43f9(0xe7)][_0x5f43f9(0x27f)](u['getLocalCacheKey'](_0x32f8c7));}async['saveOfflineData'](_0x153344,_0x3ebb45){const _0x484e01=_0x50f2ab;return!!this['_localStorageService'][_0x484e01(0x18a)](_0x153344,_0x3ebb45);}[_0x50f2ab(0x269)](_0x2f3f98,_0x10bb86,_0x3d76fe,_0x467bcf){const _0x4693f5=_0x50f2ab,_0x1df847=this[_0x4693f5(0x2e8)]['getCurrentRevOfUnit'](_0x2f3f98);this[_0x4693f5(0x1a6)]['set'](_0x2f3f98,{'unitID':_0x2f3f98,'type':_0x10bb86,'awaitingChangeset':_0x3d76fe,'mutations':_0x467bcf,'rev':_0x1df847}),this[_0x4693f5(0x2db)]['has'](_0x2f3f98)||this[_0x4693f5(0xf2)](_0x2f3f98);}[_0x50f2ab(0xf2)](_0x2bcb89){const _0x8f6acb=_0x50f2ab,_0xf49f47=this[_0x8f6acb(0x2b2)]();_0xf49f47===0x0?this['_saveCache'](_0x2bcb89):this[_0x8f6acb(0x2db)][_0x8f6acb(0x31d)](_0x2bcb89,setTimeout(()=>this[_0x8f6acb(0x105)](_0x2bcb89),_0xf49f47));}[_0x50f2ab(0x2b2)](){const _0x193c89=_0x50f2ab;var _0x369bcf;return(_0x369bcf=this['_configService']['getConfig'](u[_0x193c89(0x36b)]))!=null?_0x369bcf:u[_0x193c89(0x267)];}[_0x50f2ab(0x105)](_0x170aa6){const _0x51a691=_0x50f2ab,_0x222920=this[_0x51a691(0x2db)][_0x51a691(0x106)](_0x170aa6);return _0x222920!==void 0x0&&window[_0x51a691(0x10e)](_0x222920),this[_0x51a691(0xe7)][_0x51a691(0x18a)](u[_0x51a691(0x12d)](_0x170aa6),this[_0x51a691(0x1a6)][_0x51a691(0x106)](_0x170aa6))[_0x51a691(0x147)](()=>this['_saveTaskMap']['delete'](_0x170aa6));}async[_0x50f2ab(0x154)](){const _0x56d6ea=[];this['_saveTaskMap']['forEach']((_0x3dbafe,_0x4ea845)=>{const _0x1eff16=_0x547c;window[_0x1eff16(0x10e)](_0x3dbafe),_0x56d6ea[_0x1eff16(0x2bd)](this['_saveCache'](_0x4ea845)[_0x1eff16(0x147)](()=>{const _0x3658bf=_0x1eff16;this[_0x3658bf(0x2db)][_0x3658bf(0x254)](_0x4ea845);}));}),await Promise['all'](_0x56d6ea);}};pe=rs([de(0x0,a['IConfigService']),de(0x1,a[_0x50f2ab(0xcf)]),de(0x2,a[_0x50f2ab(0x28a)](g['RevisionService']))],pe);class ke extends a[_0x50f2ab(0x347)]{constructor(){const _0x23baf6=_0x50f2ab;super(),_(this,'urlChange$'),this[_0x23baf6(0x11d)]=I[_0x23baf6(0x1ab)](window,_0x23baf6(0x276))[_0x23baf6(0x316)](I[_0x23baf6(0xdb)](this[_0x23baf6(0x364)]),I[_0x23baf6(0x18f)](0x1),I[_0x23baf6(0x2f2)](void 0x0));}[_0x50f2ab(0x1bf)](_0xc02646,_0x43b8da,_0x7fea59=!0x1){const _0x3996cb=_0x50f2ab,_0x24c272=new URL(window[_0x3996cb(0xd3)][_0x3996cb(0x21a)]);_0x24c272['searchParams']['set'](_0xc02646,_0x43b8da),_0x7fea59?window[_0x3996cb(0x117)]['replaceState']('','',_0x24c272[_0x3996cb(0x131)]()):window[_0x3996cb(0x117)][_0x3996cb(0x274)]('','',_0x24c272['toString']());}[_0x50f2ab(0x1b9)](_0x2bf677,_0x1671c6=!0x1){const _0x4ccaef=_0x50f2ab,_0x291966=new URL(window['location'][_0x4ccaef(0x21a)]);_0x291966[_0x4ccaef(0x198)]['delete'](_0x2bf677),_0x1671c6?window[_0x4ccaef(0x117)][_0x4ccaef(0x2b8)]('','',_0x291966[_0x4ccaef(0x131)]()):window[_0x4ccaef(0x117)][_0x4ccaef(0x274)]('','',_0x291966[_0x4ccaef(0x131)]());}[_0x50f2ab(0x1cf)](_0x189a22){const _0x290854=_0x50f2ab;var _0x24aaaf;return(_0x24aaaf=new URL(window[_0x290854(0xd3)]['href'])[_0x290854(0x198)][_0x290854(0x106)](_0x189a22))!=null?_0x24aaaf:void 0x0;}}var os=Object[_0x50f2ab(0x35d)],as=Object[_0x50f2ab(0xf1)],cs=(_0x241a3e,_0x1f8545,_0x4e6c20)=>_0x1f8545 in _0x241a3e?os(_0x241a3e,_0x1f8545,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e6c20}):_0x241a3e[_0x1f8545]=_0x4e6c20,ls=(_0x16232c,_0x16a32d,_0x5e97cb,_0x49303c)=>{const _0x4d629b=_0x50f2ab;for(var _0x9060b5=_0x49303c>0x1?void 0x0:_0x49303c?as(_0x16a32d,_0x5e97cb):_0x16a32d,_0x5472ad=_0x16232c[_0x4d629b(0x2c7)]-0x1,_0x26531b;_0x5472ad>=0x0;_0x5472ad--)(_0x26531b=_0x16232c[_0x5472ad])&&(_0x9060b5=_0x26531b(_0x9060b5)||_0x9060b5);return _0x9060b5;},Se=(_0x46293f,_0x299ca3)=>(_0x10df50,_0x36f003)=>_0x299ca3(_0x10df50,_0x36f003,_0x46293f),_s=(_0x4702fc,_0x4aef01,_0x1cea87)=>cs(_0x4702fc,_0x4aef01+'',_0x1cea87);const hs=_0x50f2ab(0x35a);exports['UniverCollaborationClientUIPlugin']=class extends a['Plugin']{constructor(_0x3cf089=Me,_0x7e8cc0,_0x2fa14d,_0x3cebf0){const _0x4ef74f=_0x50f2ab;super(),this[_0x4ef74f(0x2f9)]=_0x3cf089,this[_0x4ef74f(0x236)]=_0x7e8cc0,this[_0x4ef74f(0x1eb)]=_0x2fa14d,this['_configService']=_0x3cebf0;const {..._0x55e437}=a[_0x4ef74f(0x180)]({},Me,this[_0x4ef74f(0x2f9)]);this[_0x4ef74f(0x2df)]['setConfig'](Yt,_0x55e437);}[_0x50f2ab(0x29e)](){const _0x17e118=_0x50f2ab;this['_registerDependencies'](),this[_0x17e118(0xe2)]();}[_0x50f2ab(0x327)](){this['_registerRenderDependencies']();}[_0x50f2ab(0x2f6)](){const _0x14c05c=_0x50f2ab;var _0x272c1c;const _0x2b9e73=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x['ISocketService'],{'useClass':x[_0x14c05c(0x237)]}],[u[_0x14c05c(0x1ff)],{'useClass':pe}],[exports[_0x14c05c(0x188)]],[ie],[Z],[F],[me],[exports['CollaborationDataLoaderController']]];this[_0x14c05c(0x2f9)][_0x14c05c(0x2c4)]&&_0x2b9e73[_0x14c05c(0x2bd)]([Q]),a[_0x14c05c(0xe6)](this[_0x14c05c(0x1eb)],a[_0x14c05c(0x22b)](_0x2b9e73,(_0x272c1c=this[_0x14c05c(0x2f9)])==null?void 0x0:_0x272c1c[_0x14c05c(0x2c8)]));}[_0x50f2ab(0x25f)](){const _0x4c097e=_0x50f2ab;this['disposeWithMe'](this[_0x4c097e(0x236)][_0x4c097e(0x230)](a['UniverInstanceType'][_0x4c097e(0x2bb)],[Ee])),this[_0x4c097e(0x184)](this[_0x4c097e(0x236)][_0x4c097e(0x230)](a['UniverInstanceType']['UNIVER_SHEET'],[Ce]));}[_0x50f2ab(0xe2)](){const _0x3541cd=_0x50f2ab;a[_0x3541cd(0x14e)](this[_0x3541cd(0x1eb)],[[F],[exports[_0x3541cd(0x188)]],[ie],[Z],[exports[_0x3541cd(0x2d3)]],[ne]]),this['_config']['enableFrontendLog']&&a[_0x3541cd(0x14e)](this['_injector'],[[Q]]);}},_s(exports['UniverCollaborationClientUIPlugin'],_0x50f2ab(0x16b),hs),exports[_0x50f2ab(0xfb)]=ls([a['DependentOn'](u[_0x50f2ab(0xfa)]),Se(0x1,C[_0x50f2ab(0x345)]),Se(0x2,a[_0x50f2ab(0x28a)](a[_0x50f2ab(0x14d)])),Se(0x3,a[_0x50f2ab(0x302)])],exports[_0x50f2ab(0xfb)]);var us=Object[_0x50f2ab(0xf1)],Is=(_0xd1c11,_0x12e67e,_0x15b314,_0x3dc441)=>{for(var _0x57a443=_0x3dc441>0x1?void 0x0:_0x3dc441?us(_0x12e67e,_0x15b314):_0x12e67e,_0x339e35=_0xd1c11['length']-0x1,_0x2cbc1e;_0x339e35>=0x0;_0x339e35--)(_0x2cbc1e=_0xd1c11[_0x339e35])&&(_0x57a443=_0x2cbc1e(_0x57a443)||_0x57a443);return _0x57a443;},W=(_0x2ed621,_0xf2ff32)=>(_0x434369,_0x535032)=>_0xf2ff32(_0x434369,_0x535032,_0x2ed621);exports[_0x50f2ab(0x1d9)]=class extends u[_0x50f2ab(0x1f2)]{constructor(_0x5c49ec,_0x84e9bf,_0x48568d,_0x3bb058,_0x286bd5){super(_0x5c49ec,_0x84e9bf,_0x48568d,_0x3bb058,_0x286bd5);}async[_0x50f2ab(0x348)](_0x192649){const _0x5c54a1=_0x50f2ab,_0x2b5e2d=await this[_0x5c54a1(0x211)](),_0x19054d=this['_createSocketURL'](_0x192649,_0x2b5e2d);return this['_doCreateSocket'](_0x19054d);}['_createSocketURL'](_0x4bacb9,_0x616985){const _0x4ad1d4=_0x50f2ab,_0x7bb393=typeof window>'u'?new URL(_0x4bacb9):new URL(_0x4bacb9,window[_0x4ad1d4(0xd3)][_0x4ad1d4(0x264)]);_0x7bb393[_0x4ad1d4(0x198)][_0x4ad1d4(0x31d)](_0x4ad1d4(0x228),_0x616985);const _0x246dcb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4ad1d4(0xd3)]['search']);return _0x246dcb[_0x4ad1d4(0x106)](_0x4ad1d4(0x196))&&_0x7bb393[_0x4ad1d4(0x198)]['set'](_0x4ad1d4(0x196),_0x246dcb[_0x4ad1d4(0x106)](_0x4ad1d4(0x196))),_0x7bb393['toString']();}async['_getSessionTicket'](){const _0x5b6818=_0x50f2ab;var _0x5678c3,_0x1b04ca,_0x5d10eb;const _0x5e39a5=this[_0x5b6818(0x2df)][_0x5b6818(0x1b2)](u[_0x5b6818(0x2f1)]),_0x4faa63=(_0x5678c3=_0x5e39a5==null?void 0x0:_0x5e39a5['wsSessionTicketUrl'])!=null?_0x5678c3:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5d10eb=(_0x1b04ca=(await this[_0x5b6818(0x15d)]['get'](_0x4faa63,{'headers':{'Content-Type':'application/json'}}))[_0x5b6818(0x308)])==null?void 0x0:_0x1b04ca[_0x5b6818(0x28e)])!=null?_0x5d10eb:'';}},exports[_0x50f2ab(0x1d9)]=Is([W(0x0,a['Inject'](a[_0x50f2ab(0x14d)])),W(0x1,a['Inject'](x['HTTPService'])),W(0x2,a[_0x50f2ab(0x302)]),W(0x3,a[_0x50f2ab(0x357)]),W(0x4,g[_0x50f2ab(0x195)])],exports['BrowserCollaborationSocketService']);var ds=Object[_0x50f2ab(0xf1)],Ss=(_0x4dde2b,_0x31555d,_0x55c002,_0xc90fd5)=>{for(var _0x9dcd65=_0xc90fd5>0x1?void 0x0:_0xc90fd5?ds(_0x31555d,_0x55c002):_0x31555d,_0x3f4c22=_0x4dde2b['length']-0x1,_0x398fcd;_0x3f4c22>=0x0;_0x3f4c22--)(_0x398fcd=_0x4dde2b[_0x3f4c22])&&(_0x9dcd65=_0x398fcd(_0x9dcd65)||_0x9dcd65);return _0x9dcd65;},fe=(_0xc54d7c,_0xdd89fe)=>(_0x244a9a,_0xa96dd6)=>_0xdd89fe(_0x244a9a,_0xa96dd6,_0xc54d7c);exports['RemoteUniscriptService']=class extends a[_0x50f2ab(0x29f)]{constructor(_0x3a2f8b,_0x9f589,_0x4d8f33){const _0x1240f2=_0x50f2ab;super(),this[_0x1240f2(0xec)]=_0x3a2f8b,this[_0x1240f2(0x15d)]=_0x9f589,this[_0x1240f2(0x2df)]=_0x4d8f33;}async[_0x50f2ab(0x1a2)](_0x74ea7c,_0x1d8fe2,_0x5dd892,..._0x4533ea){const _0x115041=_0x50f2ab;var _0x5f0064,_0x32bf0f,_0x4fe244,_0x3fa688;const _0x3c1540=this[_0x115041(0xec)][_0x115041(0x14c)]();if(!_0x3c1540)throw new Error(_0x115041(0x1fd));const _0x5c00a3=((_0x5f0064=this['_configService'][_0x115041(0x1b2)](u[_0x115041(0x199)]))!=null?_0x5f0064:u[_0x115041(0x1b5)])+'/'+_0x74ea7c+_0x115041(0x34b)+_0x1d8fe2,_0x1e5c89=new URL(window[_0x115041(0xd3)][_0x115041(0x21a)]),_0x18eba8={'scriptId':_0x74ea7c,'runId':(_0x32bf0f=_0x1e5c89[_0x115041(0x198)]['get']('runId'))!=null?_0x32bf0f:'','function':_0x1d8fe2,'unitId':_0x3c1540[_0x115041(0x1b7)](),'argsOfFunction':JSON[_0x115041(0x2e1)](_0x4533ea),'invokeId':(_0x4fe244=_0x5dd892[_0x115041(0x286)])!=null?_0x4fe244:'','executionId':(_0x3fa688=_0x5dd892[_0x115041(0x283)])!=null?_0x3fa688:''};try{const _0xd27618=await this['_httpService']['post'](_0x5c00a3,{'body':_0x18eba8});return _0xd27618[_0x115041(0x308)][_0x115041(0x127)]&&_0xd27618[_0x115041(0x308)]['error'][_0x115041(0xc6)]!==G['OK']?_0x115041(0x220):_0xd27618[_0x115041(0x308)][_0x115041(0x2c9)];}catch{return'Failed';}}},exports[_0x50f2ab(0x268)]=Ss([fe(0x0,a['IUniverInstanceService']),fe(0x1,a[_0x50f2ab(0x28a)](x['HTTPService'])),fe(0x2,a[_0x50f2ab(0x302)])],exports[_0x50f2ab(0x268)]);const we=0x7530,ye='ACTIVE_UNIT_EVENT_CHANNEL';class fs extends a[_0x50f2ab(0x29f)]{constructor(){const _0x397dfb=_0x50f2ab;super(),_(this,_0x397dfb(0x123),a[_0x397dfb(0x341)]()),_(this,_0x397dfb(0x31c),new Set()),_(this,_0x397dfb(0xd5),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x397dfb(0x272),new Map()),_(this,_0x397dfb(0x169),new Map()),this[_0x397dfb(0x33b)]();}[_0x50f2ab(0x10b)](){const _0x2a8323=_0x50f2ab;super[_0x2a8323(0x10b)](),this[_0x2a8323(0x272)]['forEach']((_0x2f7029,_0x42b4bd)=>this[_0x2a8323(0x297)](_0x42b4bd)),this[_0x2a8323(0x2d5)]&&window[_0x2a8323(0x279)](this[_0x2a8323(0x2d5)]);}['getUnitStatus$'](_0x5aee5e){const _0x18d5fa=_0x50f2ab;return this['_ensureSubject'](_0x5aee5e)['pipe'](I[_0x18d5fa(0x1ac)]());}[_0x50f2ab(0xe3)](_0x4fec46){const _0x143fd0=_0x50f2ab;this['_selfUnitIDs'][_0x143fd0(0x292)]===0x0&&this['_scheduleHeartbeat'](),this[_0x143fd0(0x31c)][_0x143fd0(0x110)](_0x4fec46),this[_0x143fd0(0x30c)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x4fec46],'isForwarded':!0x1});}[_0x50f2ab(0x337)](_0x490cf7){const _0x4d0c5d=_0x50f2ab;this[_0x4d0c5d(0x31c)]['delete'](_0x490cf7),this[_0x4d0c5d(0x31c)]['size']===0x0&&this[_0x4d0c5d(0x2d5)]&&window[_0x4d0c5d(0x279)](this['_heartbeatTimer']);}[_0x50f2ab(0x33b)](){const _0x387b5c=_0x50f2ab;this[_0x387b5c(0x184)](a[_0x387b5c(0x26d)](I[_0x387b5c(0x1ab)](window,_0x387b5c(0x311))[_0x387b5c(0x179)](_0x3060c3=>{const _0x4b68b0=_0x387b5c;if(_0x3060c3[_0x4b68b0(0x367)]!==ye||!_0x3060c3[_0x4b68b0(0x299)])return;const _0x365b3f=JSON['parse'](_0x3060c3[_0x4b68b0(0x299)]);this['_handleEvent'](_0x365b3f);}))),window[_0x387b5c(0x37f)](_0x387b5c(0x284),()=>this['_send']({'type':0x1,'memberID':this[_0x387b5c(0x123)],'unitIDs':Array[_0x387b5c(0x266)](this[_0x387b5c(0x31c)])}));}[_0x50f2ab(0x322)](_0x11204e){const _0x540079=_0x50f2ab;switch(_0x11204e[_0x540079(0x177)]){case 0x0:this[_0x540079(0x11e)](_0x11204e);break;case 0x1:this['_handleLeaveEvent'](_0x11204e);break;case 0x2:this['_handleHeartbeatEvent'](_0x11204e);break;}}[_0x50f2ab(0x11e)](_0x176488){const _0x3c251=_0x50f2ab,{unitIDs:_0x47a738,memberID:_0x3a1e74,isForwarded:_0x328d4d}=_0x176488;_0x47a738[_0x3c251(0x24f)](_0x5320a6=>{const _0x152b4c=_0x3c251;if(!_0x328d4d&&this[_0x152b4c(0xd5)]['has'](_0x5320a6)&&this[_0x152b4c(0x138)](_0x5320a6)[_0x152b4c(0x260)](u[_0x152b4c(0x132)][_0x152b4c(0x17c)]),!this[_0x152b4c(0xd5)]['has'](_0x5320a6)||!this['_unitOnClients'][_0x152b4c(0x106)](_0x5320a6)['has'](_0x3a1e74)){const _0x51117e=this[_0x152b4c(0xd5)][_0x152b4c(0x106)](_0x5320a6)||new Set();_0x51117e[_0x152b4c(0x110)](_0x3a1e74),this[_0x152b4c(0xd5)][_0x152b4c(0x31d)](_0x5320a6,_0x51117e),this[_0x152b4c(0x1be)](_0x3a1e74);}}),_0x328d4d||this['_send']({'type':0x0,'memberID':this[_0x3c251(0x123)],'unitIDs':[...this[_0x3c251(0x31c)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4fb370){const _0x6540b1=_0x50f2ab;this[_0x6540b1(0x297)](_0x4fb370);const _0xc92211=window['setTimeout'](()=>{const _0x31cfc3=_0x6540b1;this['_unitOnClients'][_0x31cfc3(0x24f)](_0x4618be=>{const _0x3096a3=_0x31cfc3;_0x4618be[_0x3096a3(0x254)](_0x4fb370);});},we*0x2);this[_0x6540b1(0x272)][_0x6540b1(0x31d)](_0x4fb370,_0xc92211);}[_0x50f2ab(0x297)](_0x3a8a92){const _0x43666d=_0x50f2ab;if(this[_0x43666d(0x272)][_0x43666d(0xf7)](_0x3a8a92)){const _0x22904f=this[_0x43666d(0x272)]['get'](_0x3a8a92);_0x22904f&&window['clearTimeout'](_0x22904f),this[_0x43666d(0x272)]['set'](_0x3a8a92,null);}}['_handleLeaveEvent'](_0x572ef6){const {memberID:_0x22bceb,unitIDs:_0x23eb6d}=_0x572ef6;_0x23eb6d['forEach'](_0x57ac63=>{const _0x234089=_0x547c;var _0x247e67;const _0x276629=this[_0x234089(0xd5)][_0x234089(0x106)](_0x57ac63);_0x276629&&(_0x276629[_0x234089(0x254)](_0x22bceb),(_0x247e67=this['_ensureSubject'](_0x57ac63))==null||_0x247e67[_0x234089(0x260)](_0x276629[_0x234089(0x292)]===0x0?u[_0x234089(0x132)][_0x234089(0x2fa)]:u['UnitStatus'][_0x234089(0x17c)]));}),this['_removeClearOtherTimer'](_0x22bceb);}['_handleHeartbeatEvent'](_0x5d7ed6){const _0x12d9cc=_0x50f2ab;this[_0x12d9cc(0x1be)](_0x5d7ed6[_0x12d9cc(0x2c1)]);}[_0x50f2ab(0x30c)](_0x23a38f){const _0x1589dc=_0x50f2ab;localStorage[_0x1589dc(0x18a)](ye,JSON['stringify'](_0x23a38f));}[_0x50f2ab(0x156)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x370735=_0x547c;this[_0x370735(0x30c)]({'type':0x2,'memberID':this[_0x370735(0x123)]});},we);}['_ensureSubject'](_0x33dc9d){const _0x54c978=_0x50f2ab;return this[_0x54c978(0x169)]['has'](_0x33dc9d)||this[_0x54c978(0x169)][_0x54c978(0x31d)](_0x33dc9d,new I[(_0x54c978(0x36d))](u[_0x54c978(0x132)][_0x54c978(0x2fa)])),this[_0x54c978(0x169)][_0x54c978(0x106)](_0x33dc9d);}}exports[_0x50f2ab(0x37c)]=Oe,exports[_0x50f2ab(0x295)]=je,exports[_0x50f2ab(0x240)]=fs,exports[_0x50f2ab(0x145)]=ke;
|
|
1
|
+
'use strict';const _0x2466c1=_0xdc31;(function(_0x52c971,_0x5ac38b){const _0x4ad420=_0xdc31,_0x1781d8=_0x52c971();while(!![]){try{const _0x540def=-parseInt(_0x4ad420(0x30d))/0x1+parseInt(_0x4ad420(0x135))/0x2*(-parseInt(_0x4ad420(0x332))/0x3)+parseInt(_0x4ad420(0x1b5))/0x4+parseInt(_0x4ad420(0x20a))/0x5*(-parseInt(_0x4ad420(0x321))/0x6)+parseInt(_0x4ad420(0x185))/0x7+parseInt(_0x4ad420(0x179))/0x8*(parseInt(_0x4ad420(0x2a4))/0x9)+parseInt(_0x4ad420(0x294))/0xa;if(_0x540def===_0x5ac38b)break;else _0x1781d8['push'](_0x1781d8['shift']());}catch(_0x2882f9){_0x1781d8['push'](_0x1781d8['shift']());}}}(_0x1744,0x23e35));var Xe=Object[_0x2466c1(0x14a)],Ke=(_0x155cbb,_0x27a716,_0x428d4b)=>_0x27a716 in _0x155cbb?Xe(_0x155cbb,_0x27a716,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x428d4b}):_0x155cbb[_0x27a716]=_0x428d4b,_=(_0xc6bda5,_0x588c50,_0x3ad4fe)=>Ke(_0xc6bda5,typeof _0x588c50!=_0x2466c1(0x198)?_0x588c50+'':_0x588c50,_0x3ad4fe);Object['defineProperty'](exports,Symbol[_0x2466c1(0x35c)],{'value':_0x2466c1(0x213)});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),T=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),p=require('@univerjs/docs-ui'),ze=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');function Te({ref:_0x109b44,..._0x4f2854}){const _0x5fa14d=_0x2466c1,{icon:_0x3eae2e,id:_0x1ba97a,className:_0x1972e0,extend:_0x361e37,..._0x26028e}=_0x4f2854,_0x55e2f0=(_0x5fa14d(0x12a)+_0x1ba97a+'\x20'+(_0x1972e0||''))[_0x5fa14d(0x2e2)](),_0x48926c=A[_0x5fa14d(0x3ae)]('_'+Qe());return $e(_0x3eae2e,''+_0x1ba97a,{'defIds':_0x3eae2e[_0x5fa14d(0x13b)],'idSuffix':_0x48926c[_0x5fa14d(0x37a)]},{'ref':_0x109b44,'className':_0x55e2f0,..._0x26028e},_0x361e37);}function $e(_0x4908df,_0x3da57f,_0x180414,_0x17abfc,_0x340ea0){const _0x333879=_0x2466c1;return A[_0x333879(0x17c)](_0x4908df['tag'],{'key':_0x3da57f,...Je(_0x4908df,_0x180414,_0x340ea0),..._0x17abfc},(Ze(_0x4908df,_0x180414)[_0x333879(0x38d)]||[])['map']((_0x29e333,_0x390814)=>$e(_0x29e333,_0x3da57f+'-'+_0x4908df['tag']+'-'+_0x390814,_0x180414,void 0x0,_0x340ea0)));}function Je(_0x211025,_0x1c16bf,_0x556cf4){const _0x1f1c8c=_0x2466c1,_0x3c26be={..._0x211025[_0x1f1c8c(0x2aa)]};_0x556cf4!=null&&_0x556cf4[_0x1f1c8c(0x21c)]&&_0x3c26be[_0x1f1c8c(0x2e9)]===_0x1f1c8c(0x21c)&&(_0x3c26be['fill']=_0x556cf4[_0x1f1c8c(0x21c)]),_0x211025[_0x1f1c8c(0x2be)]===_0x1f1c8c(0x1c1)&&_0x3c26be['id']&&(_0x3c26be['id']=_0x3c26be['id']+_0x1c16bf['idSuffix']),Object[_0x1f1c8c(0x2c0)](_0x3c26be)[_0x1f1c8c(0x21f)](([_0x20d133,_0x4b5d6a])=>{const _0x176bbb=_0x1f1c8c;_0x20d133===_0x176bbb(0x1c1)&&typeof _0x4b5d6a==_0x176bbb(0x165)&&(_0x3c26be[_0x20d133]=_0x4b5d6a[_0x176bbb(0x2cd)](/url\(#(.*)\)/,_0x176bbb(0x20e)+_0x1c16bf[_0x176bbb(0x277)]+')'));});const {defIds:_0x364f67}=_0x1c16bf;return!_0x364f67||_0x364f67[_0x1f1c8c(0x29e)]===0x0||(_0x211025[_0x1f1c8c(0x2be)]===_0x1f1c8c(0x360)&&_0x3c26be[_0x1f1c8c(0x130)]&&(_0x3c26be['xlink:href']=_0x3c26be[_0x1f1c8c(0x130)]+_0x1c16bf[_0x1f1c8c(0x277)]),Object[_0x1f1c8c(0x2c0)](_0x3c26be)[_0x1f1c8c(0x21f)](([_0x4f19ab,_0x485d2a])=>{const _0x18b821=_0x1f1c8c;typeof _0x485d2a==_0x18b821(0x165)&&(_0x3c26be[_0x4f19ab]=_0x485d2a[_0x18b821(0x2cd)](/url\(#(.*)\)/,_0x18b821(0x20e)+_0x1c16bf[_0x18b821(0x277)]+')'));})),_0x3c26be;}function Ze(_0xb95a2b,_0xc5c2a4){const _0x29798e=_0x2466c1;var _0x4c4ab8;const {defIds:_0x535728}=_0xc5c2a4;return!_0x535728||_0x535728[_0x29798e(0x29e)]===0x0?_0xb95a2b:_0xb95a2b[_0x29798e(0x2be)]===_0x29798e(0x346)&&((_0x4c4ab8=_0xb95a2b[_0x29798e(0x38d)])!=null&&_0x4c4ab8[_0x29798e(0x29e)])?{..._0xb95a2b,'children':_0xb95a2b[_0x29798e(0x38d)][_0x29798e(0x220)](_0x210cb0=>typeof _0x210cb0[_0x29798e(0x2aa)]['id']==_0x29798e(0x165)&&_0x535728&&_0x535728[_0x29798e(0x12f)](_0x210cb0['attrs']['id'])?{..._0x210cb0,'attrs':{..._0x210cb0[_0x29798e(0x2aa)],'id':_0x210cb0[_0x29798e(0x2aa)]['id']+_0xc5c2a4[_0x29798e(0x277)]}}:_0x210cb0)}:_0xb95a2b;}function Qe(){const _0x23a85f=_0x2466c1;return Math['random']()[_0x23a85f(0x37d)](0x24)[_0x23a85f(0x258)](0x2,0x8);}Te['displayName']=_0x2466c1(0x143);const et={'tag':_0x2466c1(0x396),'attrs':{'xmlns':_0x2466c1(0x1fd),'fill':_0x2466c1(0x351),'viewBox':_0x2466c1(0x3a5),'width':_0x2466c1(0x333),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2466c1(0x307)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2466c1(0x3a2),'strokeLinecap':'round','strokeLinejoin':_0x2466c1(0x19d),'strokeWidth':1.2}}]},{'tag':_0x2466c1(0x346),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x2466c1(0x364),'d':_0x2466c1(0x2ea)}}]}]}],'defIds':[_0x2466c1(0x241)]},xe=A['forwardRef'](function(_0x1ef6e9,_0x1de67e){const _0x4dc11b=_0x2466c1;return A[_0x4dc11b(0x17c)](Te,Object[_0x4dc11b(0x2ce)]({},_0x1ef6e9,{'id':_0x4dc11b(0x1b3),'ref':_0x1de67e,'icon':et}));});xe['displayName']='OffLineIcon';const tt={'tag':_0x2466c1(0x396),'attrs':{'xmlns':_0x2466c1(0x1fd),'fill':'none','viewBox':_0x2466c1(0x140),'width':_0x2466c1(0x333),'height':_0x2466c1(0x333)},'children':[{'tag':'g','attrs':{'clipPath':_0x2466c1(0x36b)},'children':[{'tag':_0x2466c1(0x152),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x2466c1(0x19d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2466c1(0x1f6),'attrs':{'id':_0x2466c1(0x2bc)},'children':[{'tag':_0x2466c1(0x152),'attrs':{'fill':_0x2466c1(0x364),'d':_0x2466c1(0x2ea),'transform':_0x2466c1(0x103)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Be=A[_0x2466c1(0x39a)](function(_0x48c5bb,_0x46c834){const _0x24584f=_0x2466c1;return A[_0x24584f(0x17c)](Te,Object[_0x24584f(0x2ce)]({},_0x48c5bb,{'id':_0x24584f(0x350),'ref':_0x46c834,'icon':tt}));});Be[_0x2466c1(0x2a0)]=_0x2466c1(0x28b);function st(_0x52cbc0){const _0x1b885b=_0x2466c1;switch(_0x52cbc0){case u[_0x1b885b(0x17d)][_0x1b885b(0x2ac)]:return _0x1b885b(0x1ac);case u[_0x1b885b(0x17d)][_0x1b885b(0x376)]:return'collabStatus.conflict';case u[_0x1b885b(0x17d)][_0x1b885b(0x28e)]:return'collabStatus.fetchMiss';case u[_0x1b885b(0x17d)][_0x1b885b(0x164)]:return'collabStatus.notCollab';case u[_0x1b885b(0x17d)]['AWAITING']:case u[_0x1b885b(0x17d)][_0x1b885b(0x25f)]:return _0x1b885b(0x21d);case u['CollaborationStatus'][_0x1b885b(0x25c)]:case u[_0x1b885b(0x17d)][_0x1b885b(0x17b)]:return _0x1b885b(0x22f);}}function it(_0x3a3002){const _0xee09ab=_0x2466c1,{status$:_0x550fb6}=_0x3a3002,_0x2891ae=O[_0xee09ab(0x1cf)](_0x550fb6,u['CollaborationStatus'][_0xee09ab(0x164)]),_0x1bec3a=O['useDependency'](a['LocaleService']),_0x504565=O[_0xee09ab(0x2dd)](u[_0xee09ab(0x3c9)]),_0x481636=_0x2891ae!==u[_0xee09ab(0x17d)][_0xee09ab(0x2ac)],_0x2cf6ac=_0x1bec3a['t'](st(_0x2891ae)),_0x5d7dc1=_0x481636?M['jsx'](Be,{}):M[_0xee09ab(0x204)](xe,{}),_0x3095e9=A[_0xee09ab(0x151)](()=>{const _0xcac002=_0xee09ab;_0x481636||_0x504565[_0xcac002(0x16b)]();},[_0x481636,_0x504565]);function _0x5e5595(){const _0xc3f76d=_0xee09ab;return M[_0xc3f76d(0x190)](_0xc3f76d(0x1e2),{'className':_0xc3f76d(0x1e5),'onClick':_0x3095e9,'children':[M[_0xc3f76d(0x204)]('div',{'className':T['clsx'](_0xc3f76d(0x30b),{'univer-text-green-500':_0x481636,'univer-text-red-500':!_0x481636}),'children':_0x5d7dc1}),M[_0xc3f76d(0x204)](_0xc3f76d(0x1e2),{'className':_0xc3f76d(0x265),'children':_0x2cf6ac})]});}return _0x481636?_0x5e5595():M[_0xee09ab(0x204)](T[_0xee09ab(0x2b7)],{'title':_0x1bec3a['t'](_0xee09ab(0x11d)),'children':_0x5e5595()});}var nt=Object[_0x2466c1(0x229)],rt=(_0x3964a6,_0x34999c,_0x176e87,_0x573980)=>{const _0x31b0e1=_0x2466c1;for(var _0x2315f1=_0x573980>0x1?void 0x0:_0x573980?nt(_0x34999c,_0x176e87):_0x34999c,_0x1c4c32=_0x3964a6[_0x31b0e1(0x29e)]-0x1,_0x1cefc9;_0x1c4c32>=0x0;_0x1c4c32--)(_0x1cefc9=_0x3964a6[_0x1c4c32])&&(_0x2315f1=_0x1cefc9(_0x2315f1)||_0x2315f1);return _0x2315f1;},K=(_0xb39035,_0x969a25)=>(_0x4cc6a6,_0x3aa449)=>_0x969a25(_0x4cc6a6,_0x3aa449,_0xb39035);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x37a036,_0x4a1a5e,_0x31b102,_0x3bd868){const _0x58c77c=_0x2466c1;super(),_(this,_0x58c77c(0x29c),new I[(_0x58c77c(0x398))](u['CollaborationStatus'][_0x58c77c(0x164)])),(this[_0x58c77c(0x23e)]=_0x37a036,this[_0x58c77c(0x32b)]=_0x4a1a5e,this[_0x58c77c(0x32f)]=_0x31b102,this[_0x58c77c(0x3ab)]=_0x3bd868,this['_initStatusComponent'](),this[_0x58c77c(0x18b)]());}[_0x2466c1(0x18b)](){const _0x28b38c=_0x2466c1;this['disposeWithMe'](this[_0x28b38c(0x23e)][_0x28b38c(0x28c)][_0x28b38c(0x2b9)](I[_0x28b38c(0x271)](()=>{const _0x409b32=_0x28b38c,_0xc04f05=this[_0x409b32(0x23e)][_0x409b32(0x163)]();return _0xc04f05?this[_0x409b32(0x32f)]['getCollabEntity$'](_0xc04f05[_0x409b32(0xfb)]()):I['of'](null);}),I[_0x28b38c(0x271)](_0x114f3f=>_0x114f3f?_0x114f3f['status$']:I['of'](u['CollaborationStatus'][_0x28b38c(0x164)])))[_0x28b38c(0x34b)](_0x27a55d=>{const _0x54e49b=_0x28b38c;this[_0x54e49b(0x29c)][_0x54e49b(0x37f)](_0x27a55d);}));}[_0x2466c1(0x292)](){const _0xc05381=_0x2466c1;this[_0xc05381(0x347)](this[_0xc05381(0x3ab)][_0xc05381(0x2b1)](O[_0xc05381(0x113)]['HEADER_MENU'],()=>O[_0xc05381(0x255)](ot({'status$':this[_0xc05381(0x29c)][_0xc05381(0x161)]()}),this[_0xc05381(0x32b)])));}},exports[_0x2466c1(0xf9)]=rt([K(0x0,a[_0x2466c1(0x39f)]),K(0x1,a['Inject'](a[_0x2466c1(0x2d5)])),K(0x2,a[_0x2466c1(0x3d3)](u[_0x2466c1(0x3a8)])),K(0x3,O[_0x2466c1(0x201)])],exports['DesktopCollaborationStatusDisplayController']);function ot(_0x5caa56){const {status$:_0x3faaa0}=_0x5caa56;return function(){const _0xeb26d6=_0xdc31;return M[_0xeb26d6(0x204)](it,{'status$':_0x3faaa0});};}const Oe=a[_0x2466c1(0x123)](_0x2466c1(0x24e));var at=Object[_0x2466c1(0x229)],ct=(_0x161158,_0x14528b,_0x1c3354,_0x2708e9)=>{const _0x3c26c6=_0x2466c1;for(var _0x57b411=_0x2708e9>0x1?void 0x0:_0x2708e9?at(_0x14528b,_0x1c3354):_0x14528b,_0x1ac130=_0x161158[_0x3c26c6(0x29e)]-0x1,_0x80160d;_0x1ac130>=0x0;_0x1ac130--)(_0x80160d=_0x161158[_0x1ac130])&&(_0x57b411=_0x80160d(_0x57b411)||_0x57b411);return _0x57b411;},Y=(_0x3d8a84,_0x3b71a4)=>(_0x479435,_0x450b7c)=>_0x3b71a4(_0x479435,_0x450b7c,_0x3d8a84);exports['CollaborationDataLoaderController']=class extends a[_0x2466c1(0x18f)]{constructor(_0x15219c,_0x269f7a,_0x2a3832,_0x41688b,_0x178af4){const _0x520819=_0x2466c1;super(),this[_0x520819(0x136)]=_0x15219c,this[_0x520819(0x196)]=_0x269f7a,this['_commandService']=_0x2a3832,this[_0x520819(0x1c7)]=_0x41688b,_0x178af4?_0x178af4==null||_0x178af4[_0x520819(0x22b)]()[_0x520819(0x2d9)](()=>this[_0x520819(0x1dd)]()):(this['_logService']['debug'](_0x520819(0x35b),_0x520819(0xff)),this[_0x520819(0x1dd)]());}async[_0x2466c1(0x1dd)](){const _0x2627f9=_0x2466c1,_0x19982b=this['_urlService'][_0x2627f9(0x322)]('unit'),_0x56450a=this[_0x2627f9(0x136)][_0x2627f9(0x322)]('type'),_0x10baf6=this['_urlService'][_0x2627f9(0x322)](_0x2627f9(0x1a3));if(!_0x19982b||!_0x56450a){this[_0x2627f9(0x196)][_0x2627f9(0x33f)](_0x2627f9(0x35b),_0x2627f9(0x2e7));return;}const _0x996b0e=await this['_dataLoaderService'][_0x2627f9(0x3bb)](_0x19982b,Number(_0x56450a),_0x10baf6);_0x996b0e&&_0x996b0e instanceof a[_0x2627f9(0x39c)]&&this['_setupSubUnitSync'](_0x996b0e);}async[_0x2466c1(0x10c)](_0x36458f){const _0x5dac2e=_0x2466c1;await this['_updateSubUnitFromURLParams'](_0x36458f),_0x36458f[_0x5dac2e(0x175)][_0x5dac2e(0x2b9)](I[_0x5dac2e(0x194)](this[_0x5dac2e(0x222)]))[_0x5dac2e(0x34b)](_0x43f80e=>{const _0x57de67=_0x5dac2e;_0x43f80e&&this[_0x57de67(0x2d8)](_0x43f80e);}),this[_0x5dac2e(0x136)][_0x5dac2e(0x3b9)][_0x5dac2e(0x2b9)](I['takeUntil'](this[_0x5dac2e(0x222)]))['subscribe'](()=>this[_0x5dac2e(0x24d)](_0x36458f));}[_0x2466c1(0x2d8)](_0x55e1b6,_0x4d017d=!0x1){const _0x17cded=_0x2466c1,_0x22730e=this['_urlService'][_0x17cded(0x322)](_0x17cded(0x1a3));_0x55e1b6['getSheetId']()!==_0x22730e&&this['_urlService'][_0x17cded(0x370)](_0x17cded(0x1a3),_0x55e1b6[_0x17cded(0x390)](),_0x4d017d);}async[_0x2466c1(0x24d)](_0x46953b){const _0x48cbf4=_0x2466c1;var _0x19bfe0;const _0x4e54c1=this['_urlService'][_0x48cbf4(0x322)](_0x48cbf4(0x1a3));if(!_0x4e54c1||!_0x46953b['getSheetBySheetId'](_0x4e54c1)){const _0xb993ff=_0x46953b['getUnhiddenWorksheets']()[0x0],_0x3c1c9f=_0x46953b[_0x48cbf4(0x281)](_0xb993ff);if(!_0x3c1c9f)return;this[_0x48cbf4(0x2d8)](_0x3c1c9f,!0x0),await this[_0x48cbf4(0x391)][_0x48cbf4(0x3b5)](v[_0x48cbf4(0x25d)]['id'],{'unitId':_0x46953b['getUnitId'](),'subUnitId':_0xb993ff});return;}((_0x19bfe0=_0x46953b[_0x48cbf4(0x11b)]())==null?void 0x0:_0x19bfe0[_0x48cbf4(0x390)]())!==_0x4e54c1&&await this[_0x48cbf4(0x391)][_0x48cbf4(0x3b5)](v[_0x48cbf4(0x25d)]['id'],{'unitId':_0x46953b[_0x48cbf4(0xfb)](),'subUnitId':_0x4e54c1});}},exports[_0x2466c1(0x126)]=ct([Y(0x0,Oe),Y(0x1,a[_0x2466c1(0xfe)]),Y(0x2,a[_0x2466c1(0x1f8)]),Y(0x3,a['Inject'](u[_0x2466c1(0x382)])),Y(0x4,a[_0x2466c1(0x1a9)](qe[_0x2466c1(0x235)]))],exports[_0x2466c1(0x126)]);var lt=Object[_0x2466c1(0x229)],_t=(_0x4cb8f7,_0x5285a1,_0x3dddcc,_0x11ac16)=>{const _0x40c8af=_0x2466c1;for(var _0x4a7622=_0x11ac16>0x1?void 0x0:_0x11ac16?lt(_0x5285a1,_0x3dddcc):_0x5285a1,_0x45a8ee=_0x4cb8f7[_0x40c8af(0x29e)]-0x1,_0x141c46;_0x45a8ee>=0x0;_0x45a8ee--)(_0x141c46=_0x4cb8f7[_0x45a8ee])&&(_0x4a7622=_0x141c46(_0x4a7622)||_0x4a7622);return _0x4a7622;},De=(_0x34285d,_0x39aac2)=>(_0x55f2a2,_0x401b74)=>_0x39aac2(_0x55f2a2,_0x401b74,_0x34285d);let me=class extends a['RxDisposable']{constructor(_0x18bab6,_0x30057d){const _0xf855b0=_0x2466c1;super(),this[_0xf855b0(0x22c)]=_0x18bab6,this['_imageIoService']=_0x30057d,this[_0xf855b0(0x1dd)]();}['_init'](){const _0x1235f9=_0x2466c1,_0x18ddd3=this;this[_0x1235f9(0x347)](this['_docClipboardService'][_0x1235f9(0x1fa)]({'onBeforePasteImage':async _0x5c519e=>{const _0xdb60a7=_0x1235f9,_0x354ce3=await _0x18ddd3[_0xdb60a7(0x3c6)][_0xdb60a7(0x1ba)](_0x5c519e);return _0x354ce3?{'source':_0x354ce3['source'],'imageSourceType':_0x354ce3[_0xdb60a7(0x3a1)]}:null;}}));}};me=_t([De(0x0,p[_0x2466c1(0x237)]),De(0x1,ze[_0x2466c1(0x2fd)])],me);const Ne=[_0x2466c1(0x11a),_0x2466c1(0x31b),'green.600','red.300',_0x2466c1(0x105),_0x2466c1(0x293)];class Re extends a[_0x2466c1(0x28d)]{constructor(){const _0x2cdfa0=_0x2466c1;super(...arguments),_(this,_0x2cdfa0(0x264),new Map()),_(this,_0x2cdfa0(0x1cc),0x0);}[_0x2466c1(0x187)](_0x176bf7){const _0x1f83f0=_0x2466c1;if(this['_assignedColors'][_0x1f83f0(0x155)](_0x176bf7))return this[_0x1f83f0(0x264)][_0x1f83f0(0x1e6)](_0x176bf7);const _0x4b47bf=Ne[this['_colorIndex']];return this[_0x1f83f0(0x1cc)]=(this[_0x1f83f0(0x1cc)]+0x1)%Ne[_0x1f83f0(0x29e)],this['_assignedColors'][_0x1f83f0(0x2b6)](_0x176bf7,_0x4b47bf),_0x4b47bf;}}function Fe(_0x400135){const _0x3ae491=_0x2466c1;let _0x446f0d='';for(const _0x585750 of _0x400135){const {startOffset:_0x2938fa,endOffset:_0x16f5f2,isActive:_0x59bf8b,rangeType:_0x33c811,segmentId:_0x54c091,segmentPage:_0x1234dd}=_0x585750;_0x446f0d[_0x3ae491(0x29e)]&&(_0x446f0d+=','),_0x446f0d+=_0x2938fa+':'+_0x16f5f2+':'+(_0x59bf8b?'1':'0')+':'+_0x33c811+':'+_0x54c091+':'+_0x1234dd;}return _0x446f0d;}function ht(_0x14410b){const _0x346b1b=_0x2466c1,_0x3ea675=_0x14410b[_0x346b1b(0x112)](','),_0x2f54e7=[];for(const _0x2a1254 of _0x3ea675){const [_0x40c760,_0x2edc6a,_0x4a3a12,_0x44ede3,_0x546f27,_0x5c3fb7]=_0x2a1254['split'](':');_0x2f54e7[_0x346b1b(0x193)]({'startOffset':Number(_0x40c760),'endOffset':Number(_0x2edc6a),'collapsed':_0x40c760===_0x2edc6a,'isActive':_0x4a3a12==='1','rangeType':_0x44ede3===a[_0x346b1b(0x340)][_0x346b1b(0x131)]?a[_0x346b1b(0x340)][_0x346b1b(0x131)]:a[_0x346b1b(0x340)][_0x346b1b(0x276)],'segmentId':typeof _0x546f27==_0x346b1b(0x165)?String(_0x546f27):'','segmentPage':Number(_0x5c3fb7!=null?_0x5c3fb7:-0x1)});}return _0x2f54e7[_0x346b1b(0x3ad)](_0x499435=>_0x499435[_0x346b1b(0x2ca)])||(_0x2f54e7[0x0][_0x346b1b(0x2ca)]=!0x0),_0x2f54e7;}class be extends a[_0x2466c1(0x18f)]{constructor(){const _0x589fcb=_0x2466c1;super(...arguments),_(this,_0x589fcb(0x225),new I[(_0x589fcb(0x398))](null)),_(this,_0x589fcb(0x203),this[_0x589fcb(0x225)]['asObservable']());}[_0x2466c1(0x197)](_0x3a099a){const _0x17373b=_0x2466c1,{unitID:_0x42e2fc,memberID:_0x26ba94,textRanges:_0x221527}=_0x3a099a,_0x2c200b=Fe(_0x221527);if(_0x2c200b==='')return;const _0xed8478={'unitID':_0x42e2fc,'memberID':_0x26ba94,'selection':_0x2c200b};this['_collabCursorState$'][_0x17373b(0x37f)](_0xed8478);}}var ut=Object[_0x2466c1(0x229)],It=(_0x332868,_0xe23b6d,_0x2e3ae6,_0x12bdc9)=>{const _0x3221e1=_0x2466c1;for(var _0x94ad26=_0x12bdc9>0x1?void 0x0:_0x12bdc9?ut(_0xe23b6d,_0x2e3ae6):_0xe23b6d,_0x565362=_0x332868[_0x3221e1(0x29e)]-0x1,_0xee78da;_0x565362>=0x0;_0x565362--)(_0xee78da=_0x332868[_0x565362])&&(_0x94ad26=_0xee78da(_0x94ad26)||_0x94ad26);return _0x94ad26;},U=(_0xb28581,_0x32b353)=>(_0x182dec,_0x5710a4)=>_0x32b353(_0x182dec,_0x5710a4,_0xb28581);const dt=0x12c,St=0x64;let ve=class extends a[_0x2466c1(0x18f)]{constructor(_0x1e607e,_0x46c746,_0x576cb4,_0x1a4ec9,_0x2fcdae,_0x2b6821,_0x106e34,_0x4f5c0a,_0x4c09fd){const _0x111c08=_0x2466c1;super(),_(this,_0x111c08(0x3af),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new I['BehaviorSubject'](new Map())),_(this,_0x111c08(0x3ce),this['_cursorInfo$'][_0x111c08(0x161)]()),_(this,_0x111c08(0x1e1),new I[(_0x111c08(0x398))]([])),_(this,_0x111c08(0x397),this[_0x111c08(0x1e1)][_0x111c08(0x2b9)](I[_0x111c08(0x174)](dt))),_(this,_0x111c08(0x156),a[_0x111c08(0x1bb)](_0x10ce6c=>{const _0x1fd2d8=_0x111c08,_0x24cddf={'eventID':g['CollaborationEvent'][_0x1fd2d8(0x2af)],'data':{'unitID':this['unitID'],'memberID':this[_0x1fd2d8(0x215)][_0x1fd2d8(0x38a)](),'selection':Fe(_0x10ce6c)}};this['_session']['send'](_0x24cddf,this[_0x1fd2d8(0x157)]);},St)),(this['unitID']=_0x1e607e,this[_0x111c08(0x215)]=_0x46c746,this[_0x111c08(0x32b)]=_0x576cb4,this[_0x111c08(0x125)]=_0x1a4ec9,this[_0x111c08(0x362)]=_0x2fcdae,this[_0x111c08(0x16a)]=_0x2b6821,this[_0x111c08(0x358)]=_0x106e34,this[_0x111c08(0x23e)]=_0x4f5c0a,this[_0x111c08(0x391)]=_0x4c09fd);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x2466c1(0x2b4)](){const _0xbea1fa=_0x2466c1;return this['_roomMembers$'][_0xbea1fa(0x1a6)]();}[_0x2466c1(0x19a)](){const _0x4f60e0=_0x2466c1;super[_0x4f60e0(0x19a)](),this[_0x4f60e0(0x2c8)]['next'](new Map()),this[_0x4f60e0(0x2c8)]['complete'](),this[_0x4f60e0(0x1e1)][_0x4f60e0(0x37f)]([]),this[_0x4f60e0(0x1e1)][_0x4f60e0(0x374)]();}['init'](){const _0x14b340=_0x2466c1;this[_0x14b340(0x1dd)]||(this[_0x14b340(0x1dd)]=!0x0,this[_0x14b340(0x215)][_0x14b340(0x231)][_0x14b340(0x2b9)](I[_0x14b340(0x194)](this[_0x14b340(0x222)]))[_0x14b340(0x34b)](_0x566295=>{const _0x3ca8d1=_0x14b340;_0x566295===u[_0x3ca8d1(0x37b)][_0x3ca8d1(0x256)]?this[_0x3ca8d1(0x24f)]():this[_0x3ca8d1(0x286)]();}),this[_0x14b340(0x215)][_0x14b340(0x388)][_0x14b340(0x2b9)](I['takeUntil'](this[_0x14b340(0x222)]))[_0x14b340(0x34b)](_0x569dd0=>{const _0x1f8436=_0x14b340,_0x7ed676=_0x569dd0[_0x1f8436(0x173)];_0x7ed676===g['CollaborationEvent'][_0x1f8436(0x2af)]&&this['_onCursorUpdate'](_0x569dd0),_0x7ed676===g[_0x1f8436(0x100)][_0x1f8436(0x266)]&&this[_0x1f8436(0x120)](_0x569dd0);}),this[_0x14b340(0x347)](this['_commandService']['onCommandExecuted'](_0x56531b=>{const _0x1e06c6=_0x14b340,_0x35f925=_0x56531b[_0x1e06c6(0x1ed)];_0x35f925!=null&&this['_online']&&_0x56531b['id']===V['SetTextSelectionsOperation']['id']&&_0x35f925[_0x1e06c6(0x254)]===this[_0x1e06c6(0x157)]&&_0x35f925[_0x1e06c6(0x1b2)]===!0x1&&_0x35f925['ranges'][_0x1e06c6(0x29e)]>0x0&&this[_0x1e06c6(0x156)](_0x35f925[_0x1e06c6(0x38b)]);})),this[_0x14b340(0x16a)]['collabCursorState$'][_0x14b340(0x2b9)](I[_0x14b340(0x194)](this[_0x14b340(0x222)]))[_0x14b340(0x34b)](_0x26f423=>{const _0x4f12ef=_0x14b340;if((_0x26f423==null?void 0x0:_0x26f423[_0x4f12ef(0x157)])!==this['unitID'])return;const _0x313adc={'eventID':g[_0x4f12ef(0x100)][_0x4f12ef(0x2af)],'data':_0x26f423};this['_onCursorUpdate'](_0x313adc);}),this[_0x14b340(0x347)](this[_0x14b340(0x391)]['onCommandExecuted'](_0x29458e=>{const _0x239188=_0x14b340;if(_0x29458e[_0x239188(0x1ed)]==null)return;const _0x391a21=_0x29458e[_0x239188(0x1ed)];if(_0x29458e['id']!==V[_0x239188(0x1d6)]['id']||_0x391a21['unitId']!==this[_0x239188(0x157)])return;const _0x9e6ce4={'id':_0x239188(0x1e4),'params':_0x391a21},_0x574bc5=this['cursorInfo'];for(const [_0x15d897,_0x196ec3]of _0x574bc5){const _0x3b14c8={'id':_0x239188(0x1e4),'params':{'unitId':this[_0x239188(0x157)],'actions':null,'textRanges':_0x196ec3[_0x239188(0x38b)]}},_0x3a569c=this['_transformService']['transformMutation'](_0x9e6ce4,_0x3b14c8,!0x1);if(g['isTransformMutationFailure'](_0x3a569c))throw _0x3a569c[_0x239188(0x15a)];_0x574bc5[_0x239188(0x2b6)](_0x15d897,{..._0x196ec3,'ranges':_0x3a569c['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x4f6dbf=_0x239188;this[_0x4f6dbf(0x2c8)][_0x4f6dbf(0x37f)](_0x574bc5);});})));}['_onCursorUpdate'](_0x4e3014){const _0x51f396=_0x2466c1;var _0x3ccfe7,_0x40f7da;const {memberID:_0x5bc5f2,selection:_0x29caee}=_0x4e3014['data'],_0x1f403b=ht(_0x29caee),_0x573570=(_0x40f7da=(_0x3ccfe7=this['_memberService'][_0x51f396(0x2c1)](this[_0x51f396(0x157)],_0x5bc5f2))==null?void 0x0:_0x3ccfe7['name'])!=null?_0x40f7da:_0x51f396(0x36a),_0x1c38cc={'color':this[_0x51f396(0x125)][_0x51f396(0x187)](_0x5bc5f2),'name':_0x573570,'ranges':_0x1f403b},_0x1a1d7c=this[_0x51f396(0x366)];_0x1a1d7c[_0x51f396(0x2b6)](_0x5bc5f2,_0x1c38cc),this['_cursorInfo$'][_0x51f396(0x37f)](_0x1a1d7c);}[_0x2466c1(0x120)](_0x3b366e){const _0x5c2405=_0x2466c1,{memberID:_0x428d57}=_0x3b366e['data'],_0x1ec598=this[_0x5c2405(0x366)];_0x1ec598[_0x5c2405(0x327)](_0x428d57),this[_0x5c2405(0x2c8)][_0x5c2405(0x37f)](_0x1ec598);}[_0x2466c1(0x24f)](){const _0x34001a=_0x2466c1;var _0x1579b4;if(this[_0x34001a(0x3af)]=!0x0,((_0x1579b4=this[_0x34001a(0x23e)][_0x34001a(0x163)]())==null?void 0x0:_0x1579b4[_0x34001a(0xfb)]())!==this[_0x34001a(0x157)])return;const _0x279ab3=this[_0x34001a(0x32b)][_0x34001a(0x1e6)](V[_0x34001a(0x3b2)])[_0x34001a(0x111)]();Array[_0x34001a(0x33a)](_0x279ab3)&&_0x279ab3[_0x34001a(0x29e)]>0x0&&this[_0x34001a(0x156)](_0x279ab3);}[_0x2466c1(0x286)](){const _0x4fa8e7=_0x2466c1;this[_0x4fa8e7(0x3af)]=!0x1;}};ve=It([U(0x2,a[_0x2466c1(0x3d3)](a[_0x2466c1(0x2d5)])),U(0x3,a[_0x2466c1(0x3d3)](Re)),U(0x4,a['Inject'](u['MemberService'])),U(0x5,a['Inject'](be)),U(0x6,g['ITransformService']),U(0x7,a[_0x2466c1(0x39f)]),U(0x8,a['ICommandService'])],ve);var ft=Object['getOwnPropertyDescriptor'],mt=(_0x213750,_0xc507d4,_0x697ad5,_0x676ae)=>{const _0x205884=_0x2466c1;for(var _0x2e1dc0=_0x676ae>0x1?void 0x0:_0x676ae?ft(_0xc507d4,_0x697ad5):_0xc507d4,_0x5bd5bb=_0x213750[_0x205884(0x29e)]-0x1,_0x2b6360;_0x5bd5bb>=0x0;_0x5bd5bb--)(_0x2b6360=_0x213750[_0x5bd5bb])&&(_0x2e1dc0=_0x2b6360(_0x2e1dc0)||_0x2e1dc0);return _0x2e1dc0;},w=(_0x3e4cc4,_0x35b5a0)=>(_0x409a1f,_0x5ce71)=>_0x35b5a0(_0x409a1f,_0x5ce71,_0x3e4cc4);const vt=0x12c,gt=0x64,Et=()=>{let _0x2191f4=[],_0x217471=!0x1;return _0x430feb=>{const _0x31b80b=_0xdc31;_0x2191f4[_0x31b80b(0x193)](_0x430feb),_0x217471||(_0x217471=!0x0,setTimeout(()=>{const _0x4d33b0=_0x31b80b;_0x2191f4[_0x4d33b0(0x21f)](_0x1f9c70=>_0x1f9c70()),_0x2191f4=[],_0x217471=!0x1;}));};};let ge=class extends a[_0x2466c1(0x18f)]{constructor(_0xdcd635,_0x11f598,_0x133b1d,_0x590979,_0x50bae7,_0x1e739f,_0x30bd87,_0x1c99b9){const _0x32d380=_0x2466c1;super(),_(this,_0x32d380(0x3af),!0x1),_(this,_0x32d380(0x1dd),!0x1),_(this,_0x32d380(0x2c8),new I['BehaviorSubject'](new Map())),_(this,'cursorInfo$',this[_0x32d380(0x2c8)][_0x32d380(0x161)]()),_(this,_0x32d380(0x1e1),new I[(_0x32d380(0x398))]([])),_(this,'roomMembers$',this[_0x32d380(0x1e1)]['pipe'](I[_0x32d380(0x174)](vt))),_(this,'_updateLocalCursor',a[_0x32d380(0x1bb)]((_0x2d1dbd,_0x8571a6)=>{const _0x712b7c=_0x32d380,_0x2348f2={'eventID':g[_0x712b7c(0x100)][_0x712b7c(0x2af)],'data':{'unitID':this[_0x712b7c(0x157)],'memberID':this['_session'][_0x712b7c(0x38a)](),'selection':B[_0x712b7c(0x27e)](_0x2d1dbd,_0x8571a6[_0x712b7c(0x240)])}};this[_0x712b7c(0x215)][_0x712b7c(0x320)](_0x2348f2,this['unitID']);},gt)),(this[_0x32d380(0x157)]=_0xdcd635,this['_session']=_0x11f598,this[_0x32d380(0x32b)]=_0x133b1d,this[_0x32d380(0x125)]=_0x590979,this[_0x32d380(0x362)]=_0x50bae7,this['_univerInstanceService']=_0x1e739f,this[_0x32d380(0x391)]=_0x30bd87,this[_0x32d380(0x23f)]=_0x1c99b9);}get[_0x2466c1(0x366)](){const _0x396057=_0x2466c1;return this[_0x396057(0x2c8)][_0x396057(0x1a6)]();}get[_0x2466c1(0x2b4)](){const _0x249d7f=_0x2466c1;return this[_0x249d7f(0x1e1)][_0x249d7f(0x1a6)]();}['dispose'](){const _0x17d7e2=_0x2466c1;super[_0x17d7e2(0x19a)](),this['_cursorInfo$']['next'](new Map()),this[_0x17d7e2(0x2c8)][_0x17d7e2(0x374)](),this[_0x17d7e2(0x1e1)][_0x17d7e2(0x37f)]([]),this[_0x17d7e2(0x1e1)][_0x17d7e2(0x374)]();}[_0x2466c1(0x269)](){const _0x152771=_0x2466c1;this[_0x152771(0x1dd)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x152771(0x2b9)](I[_0x152771(0x194)](this['dispose$']))[_0x152771(0x34b)](_0x1d5e91=>{const _0x266c49=_0x152771;_0x1d5e91===u[_0x266c49(0x37b)][_0x266c49(0x256)]?this[_0x266c49(0x24f)]():this[_0x266c49(0x286)]();}),this[_0x152771(0x215)][_0x152771(0x388)][_0x152771(0x2b9)](I[_0x152771(0x194)](this[_0x152771(0x222)]))['subscribe'](_0x5189e1=>{const _0x1f2ba3=_0x152771,_0x232048=_0x5189e1[_0x1f2ba3(0x173)];_0x232048===g[_0x1f2ba3(0x100)][_0x1f2ba3(0x2af)]&&this[_0x1f2ba3(0x144)](_0x5189e1),_0x232048===g[_0x1f2ba3(0x100)][_0x1f2ba3(0x266)]&&this[_0x1f2ba3(0x120)](_0x5189e1);}),this[_0x152771(0x234)](),this[_0x152771(0x347)](this['_commandService'][_0x152771(0x27d)](_0x6351d4=>{const _0x31754b=_0x152771;if(this[_0x31754b(0x3af)]&&_0x6351d4['id']===v[_0x31754b(0x121)]['id']&&_0x6351d4[_0x31754b(0x1ed)]['unitId']===this[_0x31754b(0x157)]){const _0x1c0647=_0x6351d4[_0x31754b(0x1ed)];this['_updateLocalCursor'](_0x1c0647[_0x31754b(0x3c8)],_0x1c0647['selections'][0x0]);}})));}[_0x2466c1(0x144)](_0x19a2ca){const _0x567999=_0x2466c1;var _0x3d4aea,_0x152d73;const {memberID:_0x373b13,selection:_0x10c1e3}=_0x19a2ca[_0x567999(0x2dc)],{sheetName:_0x140234,range:_0x8a73c5}=B[_0x567999(0x334)](_0x10c1e3),_0x41853e={'name':(_0x152d73=(_0x3d4aea=this[_0x567999(0x362)][_0x567999(0x2c1)](this['unitID'],_0x373b13))==null?void 0x0:_0x3d4aea[_0x567999(0x361)])!=null?_0x152d73:'Unknown\x20user','range':this['_getMergeRange'](_0x140234,_0x8a73c5),'sheetID':_0x140234,'color':this[_0x567999(0x125)][_0x567999(0x187)](_0x373b13),'selection':_0x10c1e3},_0x5074e3=this[_0x567999(0x366)];_0x5074e3['set'](_0x373b13,_0x41853e),this[_0x567999(0x2c8)][_0x567999(0x37f)](_0x5074e3);}[_0x2466c1(0x120)](_0x97dd55){const _0x43a9db=_0x2466c1,{memberID:_0x4709d3}=_0x97dd55[_0x43a9db(0x2dc)],_0x2554a0=this[_0x43a9db(0x366)];_0x2554a0[_0x43a9db(0x327)](_0x4709d3),this[_0x43a9db(0x2c8)][_0x43a9db(0x37f)](_0x2554a0);}['_getMergeRange'](_0x1ea65a,_0x48ff68){const _0x433707=_0x2466c1;var _0xd14a7f,_0x4e206f;const _0x3fe328=(_0x4e206f=(_0xd14a7f=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0xd14a7f[_0x433707(0x281)](_0x1ea65a))==null?void 0x0:_0x4e206f[_0x433707(0x377)]();return(_0x3fe328==null?void 0x0:_0x3fe328[_0x433707(0x27a)](_0x4d798d=>a[_0x433707(0x39b)][_0x433707(0x134)](_0x4d798d,_0x48ff68)))||_0x48ff68;}['_onRefRangeChange'](){const _0x2046f3=_0x2466c1,_0x56d266=new a[(_0x2046f3(0x24b))](),_0x1c3bf5=Et(),_0x5153c7=()=>{const _0x14fee6=_0x2046f3;_0x56d266[_0x14fee6(0x19a)]();const _0x11be8a=(_0xdaa9eb,_0x2b8b6f,_0x4b76a9,_0x5c35a5)=>{const _0x2bb2c2=_0x14fee6;let _0x164490=[];switch(_0xdaa9eb['id']){case v[_0x2bb2c2(0x1de)]['DeleteRangeMoveLeftCommandId']:{_0x164490=v[_0x2bb2c2(0x2b2)](_0xdaa9eb,_0x5c35a5);break;}case v[_0x2bb2c2(0x1de)][_0x2bb2c2(0x39e)]:{_0x164490=v[_0x2bb2c2(0x311)](_0xdaa9eb,_0x5c35a5);break;}case v['EffectRefRangId'][_0x2bb2c2(0x285)]:{_0x164490=v[_0x2bb2c2(0x335)](_0xdaa9eb,_0x5c35a5);break;}case v[_0x2bb2c2(0x1de)]['InsertRangeMoveDownCommandId']:{_0x164490=v[_0x2bb2c2(0x158)](_0xdaa9eb,_0x5c35a5);break;}case v[_0x2bb2c2(0x1de)][_0x2bb2c2(0x188)]:{_0x164490=v[_0x2bb2c2(0x306)](_0xdaa9eb,_0x5c35a5);break;}case v[_0x2bb2c2(0x1de)][_0x2bb2c2(0x3b1)]:{_0x164490=v[_0x2bb2c2(0x119)](_0xdaa9eb,_0x5c35a5);break;}case v[_0x2bb2c2(0x1de)][_0x2bb2c2(0x16f)]:{_0x164490=v[_0x2bb2c2(0x309)](_0xdaa9eb,_0x5c35a5);break;}case v['EffectRefRangId'][_0x2bb2c2(0x2da)]:{_0x164490=v[_0x2bb2c2(0x176)](_0xdaa9eb,_0x5c35a5);break;}case v[_0x2bb2c2(0x1de)][_0x2bb2c2(0x1e7)]:{_0x164490=v[_0x2bb2c2(0x1df)](_0xdaa9eb,_0x5c35a5);break;}}const _0x2143c8=v[_0x2bb2c2(0x2f3)](_0x164490,_0x5c35a5),_0x3e51d4=this[_0x2bb2c2(0x366)][_0x2bb2c2(0x1e6)](_0x2b8b6f);if(_0x3e51d4&&_0x2143c8){const _0x2a40c9={..._0x3e51d4,'range':_0x2143c8};this['cursorInfo'][_0x2bb2c2(0x2b6)](_0x2b8b6f,_0x2a40c9),_0x1c3bf5(()=>{const _0x253dc1=_0x2bb2c2,_0x1142f5=this[_0x253dc1(0x23f)][_0x253dc1(0x26c)](_0x2143c8,_0x4407d9=>(_0x1142f5[_0x253dc1(0x19a)](),_0x11be8a(_0x4407d9,_0x2b8b6f,_0x4b76a9,_0x2143c8)));_0x56d266['add'](_0x1142f5);});}return{'redos':[],'undos':[]};};this[_0x14fee6(0x366)]['forEach']((_0x1aeaa3,_0x26f6be)=>{const _0x2a2725=_0x14fee6,{range:_0x42a2fe,sheetID:_0x31b482}=_0x1aeaa3,_0x33e29a=this[_0x2a2725(0x23f)]['registerRefRange'](_0x42a2fe,_0x377e96=>(_0x33e29a[_0x2a2725(0x19a)](),_0x11be8a(_0x377e96,_0x26f6be,_0x31b482,_0x42a2fe)));_0x56d266[_0x2a2725(0xfa)](_0x33e29a);});};this[_0x2046f3(0x347)](a['toDisposable'](this[_0x2046f3(0x2c8)]['subscribe'](()=>{_0x5153c7();})));}[_0x2466c1(0x24f)](){const _0x4ed987=_0x2466c1;var _0x479a16,_0x36a2a4;if(this[_0x4ed987(0x3af)]=!0x0,((_0x479a16=this['_univerInstanceService'][_0x4ed987(0x163)]())==null?void 0x0:_0x479a16['getUnitId']())!==this['unitID'])return;const _0x121cd7=(_0x36a2a4=this[_0x4ed987(0x32b)]['get'](v[_0x4ed987(0x36f)])[_0x4ed987(0x274)]())==null?void 0x0:_0x36a2a4[0x0],_0x3a5d08=this[_0x4ed987(0x23e)][_0x4ed987(0x1a2)](a[_0x4ed987(0x2ef)][_0x4ed987(0x1be)])[_0x4ed987(0x11b)]();_0x121cd7&&_0x3a5d08&&this['_updateLocalCursor'](_0x3a5d08['getSheetId'](),_0x121cd7);}[_0x2466c1(0x286)](){const _0x23fc18=_0x2466c1;this[_0x23fc18(0x3af)]=!0x1;}};ge=mt([w(0x2,a[_0x2466c1(0x3d3)](a[_0x2466c1(0x2d5)])),w(0x3,a['Inject'](Re)),w(0x4,a[_0x2466c1(0x3d3)](u[_0x2466c1(0x177)])),w(0x5,a[_0x2466c1(0x39f)]),w(0x6,a[_0x2466c1(0x1f8)]),w(0x7,a[_0x2466c1(0x3d3)](v[_0x2466c1(0x23c)]))],ge);var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x201805,_0x4b1c5f,_0x44aaba,_0x5e7c25)=>{const _0x159373=_0x2466c1;for(var _0xd8483c=_0x5e7c25>0x1?void 0x0:_0x5e7c25?Ct(_0x4b1c5f,_0x44aaba):_0x4b1c5f,_0x3e31a3=_0x201805[_0x159373(0x29e)]-0x1,_0x2986ef;_0x3e31a3>=0x0;_0x3e31a3--)(_0x2986ef=_0x201805[_0x3e31a3])&&(_0xd8483c=_0x2986ef(_0xd8483c)||_0xd8483c);return _0xd8483c;},ce=(_0x87fe48,_0x241fa6)=>(_0x3b755e,_0x149a26)=>_0x241fa6(_0x3b755e,_0x149a26,_0x87fe48);let F=class extends a[_0x2466c1(0x18f)]{constructor(_0x4ec985,_0x5529df,_0x48c967){const _0x59c855=_0x2466c1;super(),_(this,'_entities',new Map()),_(this,_0x59c855(0x30c),new I[(_0x59c855(0x2fc))]()),(this[_0x59c855(0x23e)]=_0x4ec985,this[_0x59c855(0x32b)]=_0x5529df,this[_0x59c855(0x133)]=_0x48c967,this[_0x59c855(0x1dd)]());}[_0x2466c1(0x19a)](){const _0x6a880c=_0x2466c1;super['dispose'](),this[_0x6a880c(0x30c)][_0x6a880c(0x374)](),this[_0x6a880c(0x30f)]['forEach'](_0x51de28=>_0x51de28['dispose']());}[_0x2466c1(0x208)](_0x1609a7){const _0x2d620f=_0x2466c1;return this['_entities'][_0x2d620f(0x155)](_0x1609a7)?this['_entities']['get'](_0x1609a7)[_0x2d620f(0x3ce)]:this['_entityInit$']['pipe'](I[_0x2d620f(0x393)](_0x389083=>_0x389083[_0x2d620f(0x157)]===_0x1609a7),I[_0x2d620f(0x271)](_0x419057=>_0x419057[_0x2d620f(0x3ce)]));}['_init'](){const _0x2c5ae8=_0x2466c1;this['_univerInstanceService'][_0x2c5ae8(0x16d)](a[_0x2c5ae8(0x2ef)][_0x2c5ae8(0x1be)])[_0x2c5ae8(0x2b9)](I[_0x2c5ae8(0x194)](this['dispose$']))[_0x2c5ae8(0x34b)](async _0x5979ea=>{const _0x44733d=_0x2c5ae8,_0x39afd9=_0x5979ea['getUnitId'](),_0x17ea6f=await this['_startSheetCollabCursor'](_0x39afd9);this['_entityInit$'][_0x44733d(0x37f)](_0x17ea6f),this[_0x44733d(0x30f)][_0x44733d(0x2b6)](_0x39afd9,_0x17ea6f);}),this[_0x2c5ae8(0x23e)][_0x2c5ae8(0x16d)](a['UniverInstanceType'][_0x2c5ae8(0x2d6)])[_0x2c5ae8(0x2b9)](I['takeUntil'](this[_0x2c5ae8(0x222)]))[_0x2c5ae8(0x2b9)](I[_0x2c5ae8(0x393)](_0x17c9bf=>!_0x17c9bf[_0x2c5ae8(0xfb)]()['startsWith']('__')))[_0x2c5ae8(0x34b)](async _0x578f16=>{const _0x51030e=_0x2c5ae8,_0x11b08=_0x578f16[_0x51030e(0xfb)](),_0x37c6f2=await this[_0x51030e(0xf6)](_0x11b08);this[_0x51030e(0x30c)][_0x51030e(0x37f)](_0x37c6f2),this[_0x51030e(0x30f)][_0x51030e(0x2b6)](_0x11b08,_0x37c6f2);}),I[_0x2c5ae8(0x1fb)](this['_univerInstanceService'][_0x2c5ae8(0x2b0)](a[_0x2c5ae8(0x2ef)]['UNIVER_DOC']),this[_0x2c5ae8(0x23e)][_0x2c5ae8(0x2b0)](a[_0x2c5ae8(0x2ef)][_0x2c5ae8(0x1be)]))['pipe'](I['takeUntil'](this[_0x2c5ae8(0x222)]))[_0x2c5ae8(0x34b)](_0x197d68=>{const _0xb78cbf=_0x2c5ae8,_0x5776f6=_0x197d68['getUnitId'](),_0x3b9012=this[_0xb78cbf(0x30f)]['get'](_0x5776f6);_0x3b9012&&(_0x3b9012['dispose'](),this[_0xb78cbf(0x30f)][_0xb78cbf(0x327)](_0x5776f6));});}async['_startSheetCollabCursor'](_0x26bb42){const _0x1c1bb9=_0x2466c1,_0x273a95=await this['_collabSessionService']['requireSession'](_0x26bb42),_0x58dcf4=this[_0x1c1bb9(0x32b)][_0x1c1bb9(0x2f1)](ge,_0x26bb42,_0x273a95);return _0x58dcf4[_0x1c1bb9(0x269)](),_0x58dcf4;}async['_startDocCollabCursor'](_0x1a82b6){const _0x58c88c=_0x2466c1,_0x1534cc=await this['_collabSessionService']['requireSession'](_0x1a82b6),_0x2b2e4b=this['_injector'][_0x58c88c(0x2f1)](ve,_0x1a82b6,_0x1534cc);return _0x2b2e4b['init'](),_0x2b2e4b;}};F=pt([ce(0x0,a[_0x2466c1(0x39f)]),ce(0x1,a[_0x2466c1(0x3d3)](a['Injector'])),ce(0x2,a[_0x2466c1(0x3d3)](u['CollaborationSessionService']))],F);const X=0x14,Ue=0xc8,le=0x4,Tt=0x5;function Ot(_0x588224,_0x1b49ff){const _0x4fc9e6=_0x2466c1;let {radius:_0x1ca0f0,width:_0x2eb698,height:_0x4a1d41}=_0x1b49ff;_0x1ca0f0=_0x1ca0f0!=null?_0x1ca0f0:0x0,_0x2eb698=_0x2eb698!=null?_0x2eb698:0x1e,_0x4a1d41=_0x4a1d41!=null?_0x4a1d41:0x1e;let _0xd5f45b=0x0,_0x2af08f=0x0,_0x281276=0x0;_0xd5f45b=_0x2af08f=_0x281276=Math['min'](_0x1ca0f0,_0x2eb698/0x2,_0x4a1d41/0x2),_0x588224[_0x4fc9e6(0x2ad)](),_0x588224[_0x4fc9e6(0x1f0)](_0xd5f45b,0x0),_0x588224['lineTo'](_0x2eb698-_0x2af08f,0x0),_0x588224['arc'](_0x2eb698-_0x2af08f,_0x2af08f,_0x2af08f,Math['PI']*0x3/0x2,0x0,!0x1),_0x588224['lineTo'](_0x2eb698,_0x4a1d41-_0x281276),_0x588224[_0x4fc9e6(0x199)](_0x2eb698-_0x281276,_0x4a1d41-_0x281276,_0x281276,0x0,Math['PI']/0x2,!0x1),_0x588224[_0x4fc9e6(0x13f)](0x0,_0x4a1d41),_0x588224[_0x4fc9e6(0x13f)](0x0,_0xd5f45b),_0x588224['arc'](_0xd5f45b,_0xd5f45b,_0xd5f45b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x588224[_0x4fc9e6(0x38c)](),_0x1b49ff[_0x4fc9e6(0x2e9)]&&(_0x588224[_0x4fc9e6(0x116)](),_0x588224[_0x4fc9e6(0x2cf)]=_0x1b49ff[_0x4fc9e6(0x2e9)],_0x1b49ff[_0x4fc9e6(0x17e)]==='evenodd'?_0x588224[_0x4fc9e6(0x2e9)](_0x4fc9e6(0x1eb)):_0x588224['fill'](),_0x588224['restore']());}class re extends C[_0x2466c1(0x330)]{constructor(_0x36a993,_0x1ce90b){const _0x2f7bbc=_0x2466c1;super(_0x36a993,_0x1ce90b),_(this,_0x2f7bbc(0x359)),_(this,_0x2f7bbc(0x3b8)),(this[_0x2f7bbc(0x359)]=_0x1ce90b==null?void 0x0:_0x1ce90b[_0x2f7bbc(0x359)],this[_0x2f7bbc(0x3b8)]=_0x1ce90b==null?void 0x0:_0x1ce90b[_0x2f7bbc(0x3b8)]);}static[_0x2466c1(0x160)](_0x17f466,_0x8aa63c){const _0x296fbd=_0x2466c1,{text:_0x561db9,color:_0x5203e7}=_0x8aa63c;_0x17f466[_0x296fbd(0x116)](),_0x17f466[_0x296fbd(0x1af)]=_0x296fbd(0x248);const _0xf138d7=_0x17f466[_0x296fbd(0x1f7)](_0x561db9)['width'],_0x489586=Math[_0x296fbd(0x12d)](_0xf138d7+0x2*le,Ue);Ot(_0x17f466,{'height':X,'radius':0x4,'width':_0x489586,'fill':_0x5203e7}),_0x17f466[_0x296fbd(0x2cf)]=_0x296fbd(0x159);const _0x384f03=le,_0x1a376b=X-Tt,_0x4bffd3=Ue-0x2*le;if(_0xf138d7>_0x4bffd3){let _0x5edb2d='',_0x315070=0x0;for(const _0x245752 of _0x561db9){const _0x21168f=_0x17f466[_0x296fbd(0x1f7)](_0x245752)[_0x296fbd(0x2cb)];if(_0x315070+_0x21168f<=_0x4bffd3-_0x17f466[_0x296fbd(0x1f7)](_0x296fbd(0x2df))[_0x296fbd(0x2cb)])_0x5edb2d+=_0x245752,_0x315070+=_0x21168f;else{_0x5edb2d+=_0x296fbd(0x2df);break;}}_0x17f466[_0x296fbd(0x2c6)](_0x5edb2d,_0x384f03,_0x1a376b);}else _0x17f466[_0x296fbd(0x2c6)](_0x561db9,_0x384f03,_0x1a376b);_0x17f466[_0x296fbd(0x3a6)]();}[_0x2466c1(0x371)](_0x29cdb5){const _0x1c9c05=_0x2466c1;re[_0x1c9c05(0x160)](_0x29cdb5,this);}}const _e=_0x2466c1(0xfc),Rt=_0x2466c1(0x316),bt=_0x2466c1(0x2d7),H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut=_0x2466c1(0x1a0);class Le{constructor(_0x1ba48e,_0x258410,_0x561350,_0x3f50ff){const _0x5f2558=_0x2466c1;_(this,_0x5f2558(0x216),[]),_(this,_0x5f2558(0x1b9),null),_(this,_0x5f2558(0x2d0),null),_(this,'_anchorDot',null),_(this,_0x5f2558(0x300),null),_(this,_0x5f2558(0x1f1),null),(this[_0x5f2558(0x343)]=_0x1ba48e,this[_0x5f2558(0x1ad)]=_0x258410,this['_docSkeleton']=_0x561350,this[_0x5f2558(0x104)]=_0x3f50ff,this['_render']());}set[_0x2466c1(0x2f4)](_0xb180cc){const _0x5d9b1a=_0x2466c1;_0xb180cc?(this[_0x5d9b1a(0x12b)]&&this[_0x5d9b1a(0x12b)][_0x5d9b1a(0x168)](),this[_0x5d9b1a(0x2d0)]&&this['_textBubble'][_0x5d9b1a(0x29b)]()):(this[_0x5d9b1a(0x12b)]&&this[_0x5d9b1a(0x12b)][_0x5d9b1a(0x29b)](),this[_0x5d9b1a(0x2d0)]&&this['_textBubble'][_0x5d9b1a(0x168)]());}[_0x2466c1(0x19a)](){const _0x3e34b6=_0x2466c1;for(const _0x4e5860 of this['_shapes'])_0x4e5860['dispose']();this['_textBubble']&&this[_0x3e34b6(0x2d0)][_0x3e34b6(0x19a)](),this['_anchorDot']&&this['_anchorDot'][_0x3e34b6(0x19a)](),this[_0x3e34b6(0x1b9)]&&this[_0x3e34b6(0x1b9)][_0x3e34b6(0x19a)](),this[_0x3e34b6(0x1f1)]&&this[_0x3e34b6(0x1f1)]();}['_render'](){const _0x1d4b00=_0x2466c1;var _0x2cd8ea;const {_docSkeleton:_0x5a5501,_document:_0x36d6c7}=this,{color:_0x3626b9,name:_0x569a90,ranges:_0x120c1a}=this['_cursor'],_0x1a54b1=_0x36d6c7[_0x1d4b00(0x344)](),{docsLeft:_0x1fe7e7,docsTop:_0x4d0279}=_0x1a54b1,_0x419628=new p['NodePositionConvertToCursor'](_0x1a54b1,_0x5a5501);for(const {startOffset:_0x3432e3,endOffset:_0x26a6f3,rangeType:_0x1b7c68,segmentId:_0x1a15eb,segmentPage:_0x1650fa,collapsed:_0x46b666,isActive:_0x6f4352}of _0x120c1a){const _0x5f2bb0=_0x5a5501['findNodePositionByCharIndex'](_0x3432e3,!0x0,_0x1a15eb,_0x1650fa);let _0xf52235=_0x5a5501[_0x1d4b00(0x1d7)](_0x26a6f3,!0x0,_0x1a15eb,_0x1650fa);if(_0xf52235==null&&(_0xf52235=_0x5a5501[_0x1d4b00(0x1d7)](_0x26a6f3-0x1,!0x1,_0x1a15eb,_0x1650fa)),_0x6f4352){const {contentBoxPointGroup:_0x1ef98c}=_0x419628[_0x1d4b00(0x26f)](_0xf52235,_0xf52235);if(_0x1ef98c[_0x1d4b00(0x29e)]===0x0)continue;this[_0x1d4b00(0x303)](_0x3626b9,_0x1ef98c,_0x1fe7e7,_0x4d0279,_0x569a90),this['_eventUnsubscribe']=this[_0x1d4b00(0x331)]();}if(_0x5f2bb0&&_0xf52235){if(_0x1b7c68===a['DOC_RANGE_TYPE'][_0x1d4b00(0x276)]){const _0xbcb298=new p[(_0x1d4b00(0x1d0))](_0x1a54b1,_0x5a5501),{pointGroup:_0x5c74d4}=(_0x2cd8ea=_0xbcb298[_0x1d4b00(0x26f)](_0x5f2bb0,_0xf52235))!=null?_0x2cd8ea:{};if(_0x5c74d4==null||_0x5c74d4['length']===0x0)continue;this['_drawRectRange'](_0x3626b9,_0x5c74d4,_0x1fe7e7,_0x4d0279);}else{if(!_0x46b666){const {borderBoxPointGroup:_0x149a95}=_0x419628[_0x1d4b00(0x26f)](_0x5f2bb0,_0xf52235);if(_0x149a95[_0x1d4b00(0x29e)]===0x0)continue;this[_0x1d4b00(0x11c)](_0x3626b9,_0x149a95,_0x1fe7e7,_0x4d0279);}}}}}[_0x2466c1(0x303)](_0x2c3ee8,_0xdd4b58,_0x1da3c4,_0x3ff038,_0x118f74){const _0x1380f4=_0x2466c1,_0x5da18a=this[_0x1380f4(0x1cd)](_0xdd4b58),{left:_0x102b5f,top:_0xd82cad,height:_0xb6b3c3}=_0x5da18a,_0x5337cb=this[_0x1380f4(0x3ac)](),_0x1e15bf=Nt/_0x5337cb,_0x5ed3b3=new C[(_0x1380f4(0x3c5))](_e+a[_0x1380f4(0x349)](H),{'left':_0x102b5f+_0x1da3c4-_0x1e15bf,'top':_0xd82cad+_0x3ff038,'height':_0xb6b3c3,'width':Dt,'fill':_0x2c3ee8||C[_0x1380f4(0x379)](a[_0x1380f4(0x1c0)][_0x1380f4(0x2e0)],0x0),'strokeWidth':_0x1e15bf,'stroke':Ut,'evented':!0x0});this[_0x1380f4(0x1b9)]=_0x5ed3b3,this[_0x1380f4(0x1ad)][_0x1380f4(0x1c5)](_0x5ed3b3,p[_0x1380f4(0x1dc)]);const _0x3611b6=new C[(_0x1380f4(0x3c5))](_e+a[_0x1380f4(0x349)](H),{'left':_0x102b5f+_0x1da3c4-_0x1e15bf,'top':_0xd82cad+_0x3ff038-he/0x2,'height':he,'width':he,'fill':_0x2c3ee8||C[_0x1380f4(0x379)](a[_0x1380f4(0x1c0)][_0x1380f4(0x2e0)],0x0),'strokeWidth':0x0,'stroke':_0x2c3ee8||C[_0x1380f4(0x379)](a[_0x1380f4(0x1c0)][_0x1380f4(0x2e0)],0x0),'evented':!0x1});this[_0x1380f4(0x12b)]=_0x3611b6,this[_0x1380f4(0x1ad)][_0x1380f4(0x1c5)](_0x3611b6,p[_0x1380f4(0x1dc)]);const _0x48c7fa=new re(_e+a[_0x1380f4(0x349)](H),{'left':_0x102b5f+_0x1da3c4-_0x1e15bf,'top':_0xd82cad+_0x3ff038-X,'text':_0x118f74,'color':_0x2c3ee8});this[_0x1380f4(0x2d0)]=_0x48c7fa,this['_scene'][_0x1380f4(0x1c5)](_0x48c7fa,p[_0x1380f4(0x1dc)]),this[_0x1380f4(0x2f4)]=!0x1;}[_0x2466c1(0x331)](){const _0x4b636b=_0x2466c1,_0x4deb70=this[_0x4b636b(0x1b9)][_0x4b636b(0x373)]['subscribeEvent'](()=>{const _0x2dfcb8=_0x4b636b;this[_0x2dfcb8(0x2f4)]=!0x0;}),_0x4bc466=this[_0x4b636b(0x1b9)][_0x4b636b(0x1bc)][_0x4b636b(0x389)](()=>{const _0x4d2b59=_0x4b636b;this[_0x4d2b59(0x300)]&&clearTimeout(this[_0x4d2b59(0x300)]),this[_0x4d2b59(0x300)]=setTimeout(()=>{const _0x5b3a37=_0x4d2b59;this[_0x5b3a37(0x2f4)]=!0x1;},0x7d0);});return()=>{const _0x5479dc=_0x4b636b;_0x4deb70[_0x5479dc(0x10d)](),_0x4bc466[_0x5479dc(0x10d)]();};}['_drawTextRange'](_0x3e63e7,_0x30bdc9,_0x5bdf2b,_0x7ad61){const _0x4610b7=_0x2466c1,_0x3598f5=new a[(_0x4610b7(0x352))](_0x3e63e7)['setAlpha'](0.2)[_0x4610b7(0x27f)](),_0x589f71=new C[(_0x4610b7(0x363))](Rt+a[_0x4610b7(0x349)](H),{'pointsGroup':_0x30bdc9,'fill':_0x3598f5||C[_0x4610b7(0x379)](a[_0x4610b7(0x1c0)][_0x4610b7(0x2e0)],0.2),'left':_0x5bdf2b,'top':_0x7ad61,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4610b7(0x216)][_0x4610b7(0x193)](_0x589f71),this[_0x4610b7(0x1ad)][_0x4610b7(0x1c5)](_0x589f71,p[_0x4610b7(0x1dc)]);}[_0x2466c1(0x3cd)](_0x13552c,_0x5a380e,_0x5268dd,_0x428b56){const _0x29dadb=_0x2466c1,_0x36da12=new a[(_0x29dadb(0x352))](_0x13552c)[_0x29dadb(0x399)](0.2)[_0x29dadb(0x27f)](),_0x9576cb=new C[(_0x29dadb(0x363))](bt+a['generateRandomId'](H),{'pointsGroup':_0x5a380e,'fill':_0x36da12||C[_0x29dadb(0x379)](a[_0x29dadb(0x1c0)]['black'],0.2),'left':_0x5268dd,'top':_0x428b56,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x29dadb(0x193)](_0x9576cb),this[_0x29dadb(0x1ad)]['addObject'](_0x9576cb,p['TEXT_RANGE_LAYER_INDEX']);}[_0x2466c1(0x1cd)](_0x56dd85){const _0x53bc21=_0x56dd85[0x0],_0x42c13b=_0x53bc21[0x0],_0x21935a=_0x53bc21[0x2],{x:_0x121592,y:_0xd4e52}=_0x42c13b,{x:_0x4471d4,y:_0x366735}=_0x21935a;return{'left':_0x121592,'top':_0xd4e52,'width':_0x4471d4-_0x121592,'height':_0x366735-_0xd4e52};}['_getScale'](){const _0x3b2a46=_0x2466c1,{scaleX:_0x3878e2,scaleY:_0x5f501e}=this['_scene'][_0x3b2a46(0x1da)]();return Math[_0x3b2a46(0xf8)](_0x3878e2,_0x5f501e);}}var Lt=Object[_0x2466c1(0x229)],Mt=(_0x28f15b,_0x3cdbb6,_0x1490f2,_0x567eb7)=>{const _0x22d4da=_0x2466c1;for(var _0x32f502=_0x567eb7>0x1?void 0x0:_0x567eb7?Lt(_0x3cdbb6,_0x1490f2):_0x3cdbb6,_0x3d544a=_0x28f15b[_0x22d4da(0x29e)]-0x1,_0x17a769;_0x3d544a>=0x0;_0x3d544a--)(_0x17a769=_0x28f15b[_0x3d544a])&&(_0x32f502=_0x17a769(_0x32f502)||_0x32f502);return _0x32f502;},q=(_0xa8dc20,_0x341d47)=>(_0x3ff4f9,_0x41b35d)=>_0x341d47(_0x3ff4f9,_0x41b35d,_0xa8dc20);let Ee=class extends a['RxDisposable']{constructor(_0x50c3c5,_0x2b109e,_0x332f02,_0x45c2de,_0xd43c3){const _0xb9aa05=_0x2466c1;super(),_(this,_0xb9aa05(0x13d),[]),_(this,_0xb9aa05(0x365),[]),(this['_context']=_0x50c3c5,this[_0xb9aa05(0x233)]=_0x2b109e,this[_0xb9aa05(0x18c)]=_0x332f02,this[_0xb9aa05(0x391)]=_0x45c2de,this['_themeService']=_0xd43c3,this['_init']());}[_0x2466c1(0x1dd)](){const _0x56bb46=_0x2466c1,_0x3cd7e9=this['_context'][_0x56bb46(0x254)],_0x3d7bce=this[_0x56bb46(0x233)];this[_0x56bb46(0x347)](I['combineLatest']([this[_0x56bb46(0x18c)][_0x56bb46(0x208)](_0x3cd7e9),this[_0x56bb46(0x243)][_0x56bb46(0x2e5)]])['pipe']($['map'](([_0x214857,_0x3b6f0c])=>({'skeleton':_0x3d7bce[_0x56bb46(0x32c)](),'cursors':[..._0x214857['values']()][_0x56bb46(0x1c8)](_0x25e337=>({..._0x25e337,'color':this[_0x56bb46(0x243)][_0x56bb46(0x224)](_0x25e337[_0x56bb46(0x359)])}))})))[_0x56bb46(0x34b)](_0x382ee8=>{const _0x312d8b=_0x56bb46;if(this['_removeCollabCursors'](),_0x382ee8){const {skeleton:_0x3fe475,cursors:_0x5df7fb}=_0x382ee8;this[_0x312d8b(0xf7)](_0x3fe475,_0x5df7fb);}})),this[_0x56bb46(0x19f)](),this[_0x56bb46(0x33e)]();}[_0x2466c1(0xf7)](_0x5880ce,_0x2ab61f){const _0x2b975d=_0x2466c1,{scene:_0x345645,mainComponent:_0x15264f}=this[_0x2b975d(0x221)],_0x5e95bc=_0x2ab61f[_0x2b975d(0x220)](_0x25620a=>new Le(_0x25620a,_0x345645,_0x5880ce,_0x15264f));this[_0x2b975d(0x13d)]=_0x5e95bc,this[_0x2b975d(0x365)]=_0x2ab61f;}[_0x2466c1(0x2ee)](){const _0x2c7f0d=_0x2466c1;this[_0x2c7f0d(0x28f)]();const {scene:_0x196293,mainComponent:_0x260e3f}=this[_0x2c7f0d(0x221)],_0x34f692=this[_0x2c7f0d(0x233)][_0x2c7f0d(0x32c)](),_0x1e781c=this[_0x2c7f0d(0x365)][_0x2c7f0d(0x220)](_0x1d931e=>new Le(_0x1d931e,_0x196293,_0x34f692,_0x260e3f));this[_0x2c7f0d(0x13d)]=_0x1e781c;}[_0x2466c1(0x28f)](){const _0x1e8b8f=_0x2466c1;this[_0x1e8b8f(0x13d)]['forEach'](_0x4ac1e4=>_0x4ac1e4['dispose']()),this['_cursorShapes']=[];}[_0x2466c1(0x33e)](){const _0x34d0cf=_0x2466c1,_0x52f6e8=[p[_0x34d0cf(0x1a7)]['id']];this[_0x34d0cf(0x347)](this[_0x34d0cf(0x391)]['onCommandExecuted'](_0x49565b=>{const _0xff3189=_0x34d0cf;_0x52f6e8[_0xff3189(0x12f)](_0x49565b['id'])&&_0x49565b['params']['unitId']===this[_0xff3189(0x221)][_0xff3189(0x254)]&&this[_0xff3189(0x2ee)]();}));}['_initResize'](){const _0x70bd42=_0x2466c1;this[_0x70bd42(0x347)](a[_0x70bd42(0x1d4)](this[_0x70bd42(0x221)][_0x70bd42(0x3bc)][_0x70bd42(0x10e)])[_0x70bd42(0x2b9)]($['filter'](_0x2b0544=>_0x2b0544[_0x70bd42(0x14f)]===C[_0x70bd42(0xfd)][_0x70bd42(0x298)]),$[_0x70bd42(0x3a9)](0x10))[_0x70bd42(0x34b)](()=>{const _0x9623d5=_0x70bd42;this[_0x9623d5(0x2ee)]();}));}};Ee=Mt([q(0x1,a[_0x2466c1(0x3d3)](V[_0x2466c1(0x289)])),q(0x2,a['Inject'](F)),q(0x3,a[_0x2466c1(0x1f8)]),q(0x4,a['Inject'](a[_0x2466c1(0x167)]))],Ee);const At=0x1,Pt=1.5;function _0x1744(){const _0x305da3=['limitInfo','RemoteUniscriptService','DocSkeletonManagerService','now','OnLineIcon','focused$','Disposable','FETCH_MISS','_removeCollabCursors','UnitStatus','actions','_initStatusComponent','yellow.400','1352610FDxllb','formula.calculation.waiting','isFormulaString','INTERNAL_ERROR','resize','Error','UNRECOGNIZED','show','_status$','_checkCalculationAvailable','length','REDEMPTION_CODE_INACTIVE','displayName','WebURLService','_docSyncEditingCollabCursorService','YUUMI_CONNECTOR_URL_NOT_FOUND','1557sMNxCh','INVALID_ARGUMENT','catch','_applyCommand','ENSURE_SNAPSHOT_EXECUTION','stringify','attrs','unshift','OFFLINE','beginPath','_scheduleHeartbeat','UPDATE_CURSOR','getTypeOfUnitDisposed$','registerComponent','handleDeleteRangeMoveLeft','skeleton','roomMembers','WebBrowserSingleActiveUnitService','set','Tooltip','stage','pipe','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENTITLE_CHAT_LIMIT_EXCEED','on-line-icon_clip0_910_349','transformByState','tag','_removeClearOtherTimer','entries','getMember','SOCKET_FAILED_RETRY','transformMutationsWithChangeset','values','RevisionService','fillText','setItem','_cursorInfo$','saveTaskMap','isActive','width','REDEMPTION_USER_REDEEM_TIMES_EXCEED','replace','assign','fillStyle','_textBubble','ILocalCacheService','docStateChange$','_handleEvent','_configService','Injector','UNIVER_DOC','collab-rect-range-','_updateURLWithCurrentState','then','RemoveColCommandId','PERMISSION_DENIED','data','useDependency','_setFormulaLimitStatus','...','black','getCurrent','trim','ENTITLE_DUP_SUBSCRIPTION','_notificationService','currentTheme$','USER_NOT_FOUND','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','reason','fill','M0\x200H16V16H0z','ENTITLE_NEED_BILLING_ADDRESS','INotificationService','size','_refreshCollabCursors','UniverInstanceType','_clearOtherTimers','createInstance','_labelPosition','runRefRangeMutations','_hover','_currentUsage','CHANGESET_REVISION_CONFILICT','_handleLeaveEvent','_initWindowErrorListener','START_CALCULATION','permission.title','_sheetSkeletonManagerService','Subject','IImageIoService','INVALID_INVITE_CODE','SOCKET_FAILED','_hideTimer','YUUMI_ASYNCIO_CANCELLED','hovered','_drawAnchor','UNAUTHENTICATED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','handleInsertRangeMoveRight','url(#off-line-icon_clip0_910_343)','_initEntityListener','handleMoveRange','INVITE_CODE_HAS_BEEN_UES','univer-mr-2\x20univer-flex\x20univer-text-xl','_entityInit$','188165scFKsC','_ensureSubject','_entities','transformMutation','handleDeleteRangeMoveUp','OTHER_CLIENT_EDITING','setStateCache','_saveCache','_hovered','collab-text-range-','getItem','MOBILE_VERIFY_CODE_MISMATCH','ISnapshotServerService','APPLY_REJECT','jiqing.500','with','/universer-api/frontend/logs','setActiveRange','newValue','send','1686qGPRqw','getParam','CLOSE_ROOM','mapTo','LICENSE_DISTRO_REJECTED','ITransformService','delete','_localStorageService','PY_RUNTIME_SCRIPT_ERROR','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_injector','getSkeleton','_getSheetObject','row','_collaborationController','Shape','_handleHover','45417AepvOW','1em','deserializeRangeWithSheet','handleInsertCol','BrowserCollaborationSocketService','enableFrontendLog','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_showGuardMessage','isArray','ISocketService','[Unhandled\x20Rejection]:\x20','UniverCollaborationClientUIPlugin','_initCommandExecutedListener','debug','DOC_RANGE_TYPE','ENTITLE_INSUFFICIENT_QUOTA','setInterval','_cursor','getOffsetConfig','startRow','defs','disposeWithMe','collaboration.single-unit.warning','generateRandomId','YUUMI_UNABLE_LOAD_URL','subscribe','currentSkeleton$','clearTimeout','_name','Vector2','on-line-icon','none','ColorKit','bottom','collaboration-client-ui.config','post','_initUserListener','ENTITLE_REPORT_LIMIT_EXCEED','_transformService','color','stack','[CollaborationDataLoaderController]','toStringTag','currentUsage','_uploadLog','searchParams','use','name','_memberService','RegularPolygon','white','_cursors','cursorInfo','setTimeout','_startCalculationLimit','functionsExecutedState','Unknown\x20user','url(#on-line-icon_clip0_910_349)','removeEventListener','_range','_monkeyPatchLogService','SheetsSelectionsService','setParam','_draw','_localeService','onPointerEnter$','complete','collaboration-client.offline-data-not-saved','CONFLICT','getMergeData','NOT_FOUND','getColor','current','SessionStatus','beforeCommandExecuted','toString','all','next','SetFormulaCalculationNotificationMutation','DEFAULT_WS_SESSION_TICKET_URL','DataLoaderService','_releaseCalculationLimit','Plugin','isFormulaId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','transformSelections','event$','subscribeEvent','getMemberID','ranges','closePath','children','ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_RATE_OVER_LIMIT','getSheetId','_commandService','override','filter','TOO_MANY_REQUESTS','_hasFormulaInDirtyRanges','svg','roomMembers$','BehaviorSubject','setAlpha','forwardRef','Rectangle','Workbook','USER_IS_ANONYMOUS','DeleteRangeMoveUpCommandId','IUniverInstanceService','onRendered','imageSourceType','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','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_instanceService','0\x200\x2016\x2016','restore','backgroundColor','CollaborationController','throttleTime','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_uiPartsService','_getScale','some','useRef','_online','AUTHORIZE_CODE_ILLEGAL','InsertRowCommandId','DocSelectionManagerService','_getSessionTicket','SetFormulaCalculationStartMutation','executeCommand','_registerRenderDependencies','unit','text','urlChange$','_unitStatus','loadUnit','engine','onMouseMove','ACTIVE_UNIT_EVENT_CHANNEL','_registerDependencies','memberID','parse','WECHAT_HAS_BEEN_BOUND','_initCommandInterceptor','m1Prime','Rect','_imageIoService','Warning','subUnitId','CollaborationSessionService','Failed','replaceDocRanges','/universer-api/license/formula/limit/done','_drawRectRange','cursorInfo$','permission.content','_handleHeartbeatEvent','m2Prime','key','Inject','href','Tools','_startDocCollabCursor','_updateCollabCursors','max','DesktopCollaborationStatusDisplayController','add','getUnitId','collab-text-anchor-','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ILogService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CollaborationEvent','invokeId','_send','translate(.97)','_document','blue.400','getCellMatrix','_getSaveTimeout','JOIN_ROOM_FAILED','body','LOGIN_TOKEN_PROCESSING_FAILED','message','_setupSubUnitSync','unsubscribe','onTransformChange$','APPLY_DUPLICATED','NO_OTHER_CLIENTS_EDITING','getDocRanges','split','BuiltInUIPart','isTransformMutationsWithChangesetSuccess','collaboration.closeRoom','save','disableLocalCache','_messageService','handleInsertRow','purple.300','getActiveSheet','_drawTextRange','collab-client.tooltip.reconnect','replaceState','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_onCursorDelete','SetSelectionsOperation','_localCacheService','createIdentifier','Success','_colorAssignService','CollaborationDataLoaderController','UNDEFINED','LOCAL_CACHE_INTERVAL_KEY','IRenderManagerService','univerjs-icon\x20univerjs-icon-','_anchorDot','formula.calculation.unable','min','transformStateCache','includes','xlink:href','TEXT','SUCCESS','_collabSessionService','contains','34fHhXbt','_urlService','_docStateChangeManagerService','_backgroundColor','ERROR_AGAIN','mergeOverrideWithDependencies','defIds','unhandledrejection','_cursorShapes','EMAIL_VERIFY_CODE_MISMATCH','lineTo','0\x200\x2017\x2016','_saveTaskMap','mutations','UniverIcon','_onCursorUpdate','pushState','colno','selection','MessageType','entityInit$','defineProperty','bind','addHandlerCallback','shift','getActiveRange','type','INVITE_CODE_REQUIRED','useCallback','path','DocIMEInputManagerService','distinctUntilChanged','has','_updateLocalCursor','unitID','handleInsertRangeMoveDown','#FFF','error','height','clearInterval','textRanges','session.will-retry','combineLatest','drawWith','asObservable','_config','getFocusedUnit','NOT_COLLAB','string','addObjects','ThemeService','hide','ILocalStorageService','_syncEditingCollabCursorService','reconnect','endColumn','getTypeOfUnitAdded$','VIEW_MAIN','MoveRangeCommandId','OTHER_CLIENTS_EDITING','enableLocalCache','CURRENT_STATUS_CANNOT_OPERATE','eventID','debounceTime','activeSheet$','handleIRemoveCol','MemberService','executionId','9448GhSDAr','MOBILE_HAS_BEEN_BOUND','PENDING','createElement','CollaborationStatus','fillRule','stageInfo','USER_NOT_INVITED_CODE','_setupBeforeClosingHandler','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toDisposable','_initEvent','1869469lICMFL','registerBeforeClose','assignAColorForMemberID','InsertRangeMoveRightCommandId','registerDependencies','CONNECTOR_DATA_TOO_LARGE','_initStatusListener','_collabCursorController','deepClone','join','RxDisposable','jsxs','labelPosition','_beforeCloseService','push','takeUntil','result','_logService','syncEditingCollabCursor','symbol','arc','dispose','LICENSE_MAX_UNITS_EXCEEDED','_createSocketURL','round','application/json','_initResize','rgba(255,\x20255,\x20255,\x200.01)','pluginName','getCurrentUnitForType','subunit','YUUMI_ALL_TABLES_IS_INVALID','redoState','getValue','SetDocZoomRatioOperation','top','Optional','/run/','sheetId','collabStatus.offline','_scene','_lastPointer','font','origin','YUUMI_URL_COL_OUT_OF_RANGE','isEditing','off-line-icon','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','892192zzeQgW','popstate','_renderManagerService','getConfig','_anchor','saveImage','debounce','onPointerLeave$','_pollingInterval','UNIVER_SHEET','DATA_SOURCE_TOO_LARGE','COLORS','mask','_transformHistoryAndStateStack','_color','location','addObject','startColumn','_dataLoaderService','flatMap','getLocalCacheKey','getUndoRedoMutationParamsCache','_memberID','_colorIndex','_getAnchorBounding','FromArray','useObservable','NodePositionConvertToRectRange','addEventListener','_selfUnitIDs','CollaborationUIEventService','fromEventSubject','makeDirty','RichTextEditingMutation','findNodePositionByCharIndex','totalFormulasToCalculate','setShapeProps','getAncestorScale','_initUnhandledRejectionListener','TEXT_RANGE_LAYER_INDEX','_init','EffectRefRangId','handleIRemoveRow','SNAPSHOT_HAS_BEEN_REMOVED','_roomMembers$','div','IURLService','doc.mutation.rich-text-editing','univer-flex\x20univer-items-center','get','RemoveRowCommandId','transformIMECache','COMPLETION_FINISHED','sessionTicket','evenodd','getUnit','params','PAYMENT_CHANNEL_NOT_SUPPORT','dirtyRanges','moveTo','_eventUnsubscribe','LICENSE_EXPORT_SIZE_EXCEEDED','REDEMPTION_CODE_HAS_BEEN_CREATED','transformRemoteChangeset','parseInt','clipPath','measureText','ICommandService','getRenderById','addClipboardHook','merge','LICENSE_IMPORT_SIZE_EXCEEDED','http://www.w3.org/2000/svg','_maxFormulaLimit','search','ALREADY_EXISTS','IUIPartsService','endRow','collabCursorState$','jsx','CollaborationUIEventId','storage','YUUMI_SUBSCRIPTION_NOT_FOUND','getCollabCursors$','_id','4220zraVGC','[LogService\x20Error]:\x20','_docTransformIMECacheService','column','url(#$1','YUUMI_NO_CUBOID_FOR_QUESTION','registerRenderModule','WebSocketService','_taskIds','Module','LOGIN_FAILED','_session','_shapes','getCellPositionByOffset','MUTATION','_collaborationSessionService','_lastResponseTimestamp','_transformUndoRedoStack','colorChannel1','collabStatus.syncing','IMessageService','forEach','map','_context','dispose$','_docTransformSelectionsService','getColorFromTheme','_collabCursorState$','getCoordByCell','session.connection-failed','_heartbeatTimer','getOwnPropertyDescriptor','runId','whenReady','_docClipboardService','DocStateChangeManagerService','\x20at\x20','collabStatus.synced','_getFormulaLimitStatus','sessionStatus$','IBeforeCloseService','_docSkeletonManagerService','_onRefRangeChange','IRemoteInstanceService','_disabled','IDocClipboardService','from','REDEMPTION_CODE_NOT_STARTED','code','filename','RefRangeService','history','_univerInstanceService','_refRangeService','range','off-line-icon_clip0_910_343','isTransformMutationFailure','_themeService','IConfigService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REDEMPTION_USER_NOT_ELIGIBLE','_revisionService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformPreviousActiveRange','ticket','DisposableCollection','getViewport','_updateSubUnitFromURLParams','uni.network.url-service','_toggleOnline','EMAIL_HAS_BEEN_BOUND','_unitOnClients','removeParam','SUBMIT_CHANGESET_TIMEOUT','unitId','connectInjector','ONLINE','onStarting','substring','_cachedData','_handleJoinEvent','getVpScrollXYInfoByPosToVp','SYNCED','SetWorksheetActivateCommand','shareReplay','AWAITING_WITH_PENDING','LOCAL_CACHE_INTERVAL','socket$','_httpService','REDEMPTION_INVALID_CODE','_assignedColors','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','USERS_LEAVE','lineno','_collaborationUIEventService','init','DependentOn','_scheduleClearOtherTimer','registerRefRange','updateOfflineData','YUUMI_AI_RUN_FAILED','getRangePointData','_checkAndWaitForCalculationPermission','switchMap','CollaborationSocketService','Loading','getCurrentSelections','_clearPolling','RECT','idSuffix','APPLY_NON_SEQUENTIAL_REVISION','getStateCache','find','INVITE_CODE_ALREADY_BOUND','getSheetObject','onCommandExecuted','serializeRangeWithSheet','toRgbString','HTTPService','getSheetBySheetId','onLocalMutation','LocaleService','_scheduleSaving','InsertColCommandId','_toggleOffline'];_0x1744=function(){return _0x305da3;};return _0x1744();}class je extends C['Shape']{constructor(_0x104213,_0x2a9620){const _0x4d10d3=_0x2466c1;super(_0x104213,_0x2a9620),_(this,_0x4d10d3(0x1c3)),_(this,_0x4d10d3(0x315),!0x1),_(this,_0x4d10d3(0x36d)),_(this,_0x4d10d3(0x34e),''),_(this,_0x4d10d3(0x2f2),_0x4d10d3(0x1a8)),_(this,_0x4d10d3(0x138)),(_0x2a9620&&this['setShapeProps'](_0x2a9620),this['onPointerEnter$'][_0x4d10d3(0x389)](()=>this[_0x4d10d3(0x1d9)]({'hovered':!0x0})),this[_0x4d10d3(0x1bc)][_0x4d10d3(0x389)](()=>this[_0x4d10d3(0x1d9)]({'hovered':!0x1})));}['setShapeProps'](_0x455ae6){const _0x17440d=_0x2466c1;var _0x12ef9f,_0x45ee63,_0x5b6f53,_0x2c749c,_0x2e0ea3,_0x5205fa;this[_0x17440d(0x1c3)]=(_0x12ef9f=_0x455ae6[_0x17440d(0x359)])!=null?_0x12ef9f:this[_0x17440d(0x1c3)],this[_0x17440d(0x315)]=(_0x45ee63=_0x455ae6[_0x17440d(0x302)])!=null?_0x45ee63:this[_0x17440d(0x315)],this[_0x17440d(0x36d)]=(_0x5b6f53=_0x455ae6['range'])!=null?_0x5b6f53:this[_0x17440d(0x36d)],this[_0x17440d(0x34e)]=(_0x2c749c=_0x455ae6[_0x17440d(0x361)])!=null?_0x2c749c:this[_0x17440d(0x34e)],this[_0x17440d(0x2f2)]=(_0x2e0ea3=_0x455ae6[_0x17440d(0x191)])!=null?_0x2e0ea3:this[_0x17440d(0x2f2)],this['_backgroundColor']=(_0x5205fa=_0x455ae6[_0x17440d(0x3a7)])!=null?_0x5205fa:this['_backgroundColor'],this[_0x17440d(0x2bd)]({'width':_0x455ae6[_0x17440d(0x2cb)],'height':_0x455ae6[_0x17440d(0x15b)]});}['onMouseMove'](_0x4415dd){const _0x484848=_0x2466c1,{row:_0x55a1cd,column:_0x526407}=_0x4415dd;if(_0x55a1cd>=this['_range'][_0x484848(0x345)]&&_0x55a1cd<=this[_0x484848(0x36d)][_0x484848(0x202)]&&_0x526407>=this[_0x484848(0x36d)][_0x484848(0x1c6)]&&_0x526407<=this[_0x484848(0x36d)]['endColumn']){this[_0x484848(0x1d9)]({'hovered':!0x0});return;}this[_0x484848(0x1d9)]({'hovered':!0x1});}['triggerDblclick'](_0x221ff9){return!0x1;}['_draw'](_0x96c563){const _0x20d2c4=_0x2466c1;C[_0x20d2c4(0x3c5)]['drawWith'](_0x96c563,{'width':this[_0x20d2c4(0x2cb)],'height':this[_0x20d2c4(0x15b)],'strokeWidth':Pt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x20d2c4(0x138)]}),this[_0x20d2c4(0x315)]&&(_0x96c563[_0x20d2c4(0x116)](),_0x96c563['transform'](0x1,0x0,0x0,0x1,this[_0x20d2c4(0x2cb)],this[_0x20d2c4(0x2f2)]===_0x20d2c4(0x353)?0x0:-X),re[_0x20d2c4(0x160)](_0x96c563,{'text':this[_0x20d2c4(0x34e)],'color':this[_0x20d2c4(0x1c3)]}),_0x96c563['restore']());}}var wt=Object[_0x2466c1(0x229)],yt=(_0x28604c,_0x445cde,_0xcfbee5,_0x2eb96c)=>{const _0x17c106=_0x2466c1;for(var _0x4945ca=_0x2eb96c>0x1?void 0x0:_0x2eb96c?wt(_0x445cde,_0xcfbee5):_0x445cde,_0x25781b=_0x28604c[_0x17c106(0x29e)]-0x1,_0x41592c;_0x25781b>=0x0;_0x25781b--)(_0x41592c=_0x28604c[_0x25781b])&&(_0x4945ca=_0x41592c(_0x4945ca)||_0x4945ca);return _0x4945ca;},ue=(_0x71af43,_0x412037)=>(_0x484880,_0x458375)=>_0x412037(_0x484880,_0x458375,_0x71af43);const $t=0x1389;let Ce=class extends a[_0x2466c1(0x18f)]{constructor(_0x2fb922,_0x2c86dc,_0x25ad4c,_0xe13b3e){const _0x5a474e=_0x2466c1;super(),_(this,_0x5a474e(0x365),new Set()),_(this,_0x5a474e(0x1ae),null),(this[_0x5a474e(0x221)]=_0x2fb922,this[_0x5a474e(0x2fb)]=_0x2c86dc,this[_0x5a474e(0x18c)]=_0x25ad4c,this[_0x5a474e(0x243)]=_0xe13b3e,this[_0x5a474e(0x1dd)]());}[_0x2466c1(0x1dd)](){const _0x359780=_0x2466c1;this[_0x359780(0x2fb)][_0x359780(0x34c)]['pipe']($['takeUntil'](this[_0x359780(0x222)]),$[_0x359780(0x271)](_0xc8017a=>{const _0x2f9550=_0x359780;if(_0xc8017a){const _0x2cc786=_0xc8017a[_0x2f9550(0x1ab)];return I[_0x2f9550(0x15f)](this[_0x2f9550(0x18c)]['getCollabCursors$'](this[_0x2f9550(0x221)][_0x2f9550(0x254)]),this[_0x2f9550(0x243)]['currentTheme$'])[_0x2f9550(0x2b9)]($[_0x2f9550(0x220)](([_0x344a9f,_0x31b358])=>{const _0x51f8e4=_0x2f9550,_0x4173ae=new Map();return _0x344a9f[_0x51f8e4(0x21f)]((_0x2a42b4,_0x17c7b1)=>{const _0x328b57=_0x51f8e4;if(_0x2a42b4['sheetID']===_0x2cc786){const _0xd4a6f0={..._0x2a42b4};_0xd4a6f0['color']=this[_0x328b57(0x243)][_0x328b57(0x224)](_0x2a42b4[_0x328b57(0x359)]),_0x4173ae[_0x328b57(0x2b6)](_0x17c7b1,_0xd4a6f0);}}),{'skeleton':_0xc8017a,'cursors':_0x4173ae};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))[_0x359780(0x34b)](({skeleton:_0x3b3a4a,cursors:_0xbc7b17})=>{const _0x2c137b=_0x359780;this[_0x2c137b(0x28f)](),_0x3b3a4a&&this[_0x2c137b(0xf7)](_0x3b3a4a,_0xbc7b17);}),this['_sheetSkeletonManagerService'][_0x359780(0x34c)][_0x359780(0x34b)](_0x26efd7=>{const _0x161999=_0x359780;if(_0x26efd7==null)return;const {skeleton:_0x1ab7fd}=_0x26efd7,{scene:_0x5168cc}=this['_context'];_0x5168cc['onPointerMove$'][_0x161999(0x389)](a['debounce'](_0x2901d0=>{const _0x51eeff=_0x161999;var _0xa5594,_0x34cf88;const {offsetX:_0x123a08,offsetY:_0x111555}=_0x2901d0,{x:_0x511210,y:_0x574f68}=_0x5168cc['getRelativeToViewportCoord'](C[_0x51eeff(0x34f)][_0x51eeff(0x1ce)]([_0x123a08,_0x111555])),{scaleX:_0x25e171,scaleY:_0x48e100}=_0x5168cc[_0x51eeff(0x1da)](),_0x18f4b8=_0x5168cc[_0x51eeff(0x24c)](C['SHEET_VIEWPORT_KEY'][_0x51eeff(0x16e)]),_0x5800a1=_0x5168cc[_0x51eeff(0x25b)](C[_0x51eeff(0x34f)][_0x51eeff(0x1ce)]([_0x511210,_0x574f68]),_0x18f4b8),_0xbd9283=_0x1ab7fd[_0x51eeff(0x217)](_0x123a08,_0x111555,_0x25e171,_0x48e100,_0x5800a1);((_0xa5594=this[_0x51eeff(0x1ae)])==null?void 0x0:_0xa5594[_0x51eeff(0x20d)])===_0xbd9283[_0x51eeff(0x20d)]&&((_0x34cf88=this[_0x51eeff(0x1ae)])==null?void 0x0:_0x34cf88[_0x51eeff(0x32e)])===_0xbd9283[_0x51eeff(0x32e)]||this[_0x51eeff(0x365)][_0x51eeff(0x21f)](_0x9fd1e1=>{const _0x3edc19=_0x51eeff;_0x9fd1e1[_0x3edc19(0x3bd)](_0xbd9283);});},0x64));});}[_0x2466c1(0xf7)](_0x46785d,_0x7e6a04){const _0x1cc5fd=_0x2466c1;var _0x47b033;const _0x5f0576=(_0x47b033=this[_0x1cc5fd(0x2fb)][_0x1cc5fd(0x2e1)]())==null?void 0x0:_0x47b033[_0x1cc5fd(0x2b3)];if(!_0x5f0576)return;const _0x44107b=this[_0x1cc5fd(0x32d)]();if(!_0x44107b)return;this[_0x1cc5fd(0x365)]['forEach'](_0xfc48=>{const _0x5b9893=_0x1cc5fd;_0xfc48[_0x5b9893(0x1d5)]();});const {scene:_0x2af6bc}=_0x44107b,_0x4c1882=xt(Array['from'](_0x7e6a04[_0x1cc5fd(0x2c4)]()))['map'](_0x549fa2=>{const _0x127857=_0x1cc5fd,{color:_0x36a56a,range:_0x1c90b2,name:_0xc924bf,selection:_0x2b0415,sheetID:_0x5dea7e}=_0x549fa2,{startColumn:_0x205ba7,startRow:_0x14d361,endColumn:_0x3ceb29,endRow:_0x3da3b5}=_0x1c90b2,_0x2c675a=J[_0x127857(0x226)](_0x14d361,_0x205ba7,_0x2af6bc,_0x5f0576),_0x2aefae=J[_0x127857(0x226)](_0x3da3b5,_0x3ceb29,_0x2af6bc,_0x5f0576),{columnHeaderHeightAndMarginTop:_0x5f03c7}=_0x5f0576,{startX:_0x5be8fc,startY:_0x2e1f42}=_0x2c675a,{endX:_0x744028,endY:_0x412604}=_0x2aefae,_0x20f288=_0x744028-_0x5be8fc,_0x513c76=_0x412604-_0x2e1f42,_0x12d541={'labelPosition':_0x2e1f42-_0x5f03c7>=X?_0x127857(0x1a8):'bottom','sheetID':_0x5dea7e,'range':_0x1c90b2,'color':_0x36a56a,'name':_0xc924bf,'selection':_0x2b0415,'left':_0x5be8fc,'top':_0x2e1f42,'width':_0x20f288,'height':_0x513c76,'evented':!0x1,'zIndex':$t};return new je(_0xc924bf,_0x12d541);});_0x2af6bc[_0x1cc5fd(0x166)](_0x4c1882,At),this[_0x1cc5fd(0x365)]=new Set(_0x4c1882);}[_0x2466c1(0x28f)](){const _0x1573bd=_0x2466c1;var _0x486bd8;(_0x486bd8=this[_0x1573bd(0x365)])==null||_0x486bd8[_0x1573bd(0x21f)](_0x103f2f=>_0x103f2f[_0x1573bd(0x19a)]());}[_0x2466c1(0x32d)](){const _0x7aa307=_0x2466c1;return J[_0x7aa307(0x27c)](this['_context'][_0x7aa307(0x3b7)],this[_0x7aa307(0x221)]);}};Ce=yt([ue(0x1,a[_0x2466c1(0x3d3)](J['SheetSkeletonManagerService'])),ue(0x2,a['Inject'](F)),ue(0x3,a[_0x2466c1(0x3d3)](a[_0x2466c1(0x167)]))],Ce);function xt(_0x26e806){const _0x4ef244=_0x2466c1,_0x1ed5ea=new Map();return _0x26e806[_0x4ef244(0x21f)](_0x5e1359=>{const _0x2af465=_0x4ef244;if(_0x1ed5ea[_0x2af465(0x155)](_0x5e1359['selection'])){const _0x32e4b8=_0x1ed5ea[_0x2af465(0x1e6)](_0x5e1359[_0x2af465(0x147)]);_0x32e4b8[_0x2af465(0x361)]+=',\x20'+_0x5e1359[_0x2af465(0x361)];}else _0x1ed5ea['set'](_0x5e1359['selection'],_0x5e1359);}),Array['from'](_0x1ed5ea[_0x4ef244(0x2c4)]());}var Bt=Object[_0x2466c1(0x229)],Ft=(_0x8b3234,_0x3b2d6f,_0x125c3c,_0x503ea8)=>{const _0x24f3ff=_0x2466c1;for(var _0x1cb1dc=_0x503ea8>0x1?void 0x0:_0x503ea8?Bt(_0x3b2d6f,_0x125c3c):_0x3b2d6f,_0x26cb5c=_0x8b3234[_0x24f3ff(0x29e)]-0x1,_0x4e8afb;_0x26cb5c>=0x0;_0x26cb5c--)(_0x4e8afb=_0x8b3234[_0x26cb5c])&&(_0x1cb1dc=_0x4e8afb(_0x1cb1dc)||_0x1cb1dc);return _0x1cb1dc;},y=(_0x24a134,_0xb89d8)=>(_0x1f1eea,_0x7a1e32)=>_0xb89d8(_0x1f1eea,_0x7a1e32,_0x24a134);let Z=class extends a[_0x2466c1(0x28d)]{constructor(_0x184218,_0x2f1893,_0x7b3dcf,_0x1d3b59,_0x4ec4c0,_0x5f45e0){const _0x1ea91d=_0x2466c1;super(),this[_0x1ea91d(0x192)]=_0x184218,this['_localCacheService']=_0x2f1893,this['_collaborationUIEventService']=_0x7b3dcf,this[_0x1ea91d(0x118)]=_0x1d3b59,this[_0x1ea91d(0x2e4)]=_0x4ec4c0,this[_0x1ea91d(0x372)]=_0x5f45e0,this[_0x1ea91d(0x181)](),this[_0x1ea91d(0x184)]();}[_0x2466c1(0x181)](){const _0x2900b5=_0x2466c1;this[_0x2900b5(0x347)](this['_beforeCloseService'][_0x2900b5(0x186)](()=>{const _0x5a40d8=_0x2900b5;if(this[_0x5a40d8(0x122)][_0x5a40d8(0x2c9)]['size'])return this[_0x5a40d8(0x372)]['t'](_0x5a40d8(0x375));}));}['_initEvent'](){const _0x38c2e2=_0x2466c1;this['disposeWithMe'](this[_0x38c2e2(0x268)][_0x38c2e2(0x388)][_0x38c2e2(0x34b)](_0x573ffa=>{const _0x43de29=_0x38c2e2;_0x573ffa['id']===u[_0x43de29(0x205)][_0x43de29(0x312)]&&this[_0x43de29(0x118)][_0x43de29(0x29b)]({'type':T['MessageType'][_0x43de29(0x3c7)],'content':this[_0x43de29(0x372)]['t'](_0x43de29(0x348))}),_0x573ffa['id']===u[_0x43de29(0x205)][_0x43de29(0x323)]&&this[_0x43de29(0x118)]['show']({'type':T[_0x43de29(0x148)][_0x43de29(0x3c7)],'content':this[_0x43de29(0x372)]['t'](_0x43de29(0x115))}),_0x573ffa['id']===u[_0x43de29(0x205)]['PERMISSION_DENIED']&&this[_0x43de29(0x2e4)][_0x43de29(0x29b)]({'title':this[_0x43de29(0x372)]['t'](_0x43de29(0x2fa)),'content':this[_0x43de29(0x372)]['t'](_0x43de29(0x3cf)),'type':_0x43de29(0x15a),'duration':0x0}),_0x573ffa['id']===u[_0x43de29(0x205)][_0x43de29(0x376)]&&this[_0x43de29(0x118)]['show']({'type':T['MessageType'][_0x43de29(0x299)],'content':this[_0x43de29(0x372)]['t'](_0x43de29(0x115))+'('+_0x573ffa['data']+')'}),_0x573ffa['id']===u['CollaborationUIEventId'][_0x43de29(0x108)]&&this[_0x43de29(0x118)][_0x43de29(0x29b)]({'type':T[_0x43de29(0x148)][_0x43de29(0x3c7)],'content':this[_0x43de29(0x372)]['t'](_0x573ffa[_0x43de29(0x2dc)]||'')}),_0x573ffa['id']===u[_0x43de29(0x205)][_0x43de29(0x2c2)]&&this[_0x43de29(0x118)][_0x43de29(0x29b)]({'type':T[_0x43de29(0x148)]['Warning'],'content':this[_0x43de29(0x372)]['t'](_0x43de29(0x15e))}),_0x573ffa['id']===u['CollaborationUIEventId'][_0x43de29(0x2ff)]&&this[_0x43de29(0x118)][_0x43de29(0x29b)]({'type':T[_0x43de29(0x148)][_0x43de29(0x299)],'content':this['_localeService']['t'](_0x43de29(0x227))}),_0x573ffa['id']===u['CollaborationUIEventId'][_0x43de29(0x253)]&&this['_messageService'][_0x43de29(0x29b)]({'type':T[_0x43de29(0x148)][_0x43de29(0x299)],'content':this[_0x43de29(0x372)]['t']('session.collaboration-timeout')});}));}};Z=Ft([y(0x0,O[_0x2466c1(0x232)]),y(0x1,u[_0x2466c1(0x2d1)]),y(0x2,a[_0x2466c1(0x3d3)](u[_0x2466c1(0x1d3)])),y(0x3,O[_0x2466c1(0x21e)]),y(0x4,O[_0x2466c1(0x2ec)]),y(0x5,a['Inject'](a[_0x2466c1(0x283)]))],Z);var jt=Object['getOwnPropertyDescriptor'],kt=(_0x21bda4,_0x428faf,_0x16a819,_0x9115d8)=>{const _0x94671b=_0x2466c1;for(var _0x5d9bca=_0x9115d8>0x1?void 0x0:_0x9115d8?jt(_0x428faf,_0x16a819):_0x428faf,_0x4ea286=_0x21bda4[_0x94671b(0x29e)]-0x1,_0x4e0265;_0x4ea286>=0x0;_0x4ea286--)(_0x4e0265=_0x21bda4[_0x4ea286])&&(_0x5d9bca=_0x4e0265(_0x5d9bca)||_0x5d9bca);return _0x5d9bca;},z=(_0x3931ca,_0x120213)=>(_0x3a6d26,_0x409aab)=>_0x120213(_0x3a6d26,_0x409aab,_0x3931ca);let Q=class extends a['Disposable']{constructor(_0x6d0383,_0x2903e4,_0x46e3ba,_0x113271){const _0x35820d=_0x2466c1;super(),_(this,_0x35820d(0x1cb)),(this[_0x35820d(0x32b)]=_0x6d0383,this[_0x35820d(0x262)]=_0x2903e4,this[_0x35820d(0x196)]=_0x46e3ba,this[_0x35820d(0x219)]=_0x113271,this[_0x35820d(0x1dd)]());}[_0x2466c1(0x1dd)](){const _0x1331a2=_0x2466c1;this[_0x1331a2(0x2f8)](),this['_initUnhandledRejectionListener'](),this[_0x1331a2(0x36e)](),this[_0x1331a2(0x356)]();}[_0x2466c1(0x356)](){const _0x2d84fc=_0x2466c1;this[_0x2d84fc(0x347)](this[_0x2d84fc(0x219)][_0x2d84fc(0x261)][_0x2d84fc(0x34b)](_0x17f7ee=>{const _0x47d13c=_0x2d84fc;this['_memberID']=_0x17f7ee==null?void 0x0:_0x17f7ee[_0x47d13c(0x3c0)];}));}[_0x2466c1(0x2f8)](){const _0x1d655c=_0x2466c1,_0x141de4=_0x13fd80=>{const _0xf869c7=_0xdc31;var _0x57e90d;this['_uploadLog'](_0xf869c7(0x15a),'[Window\x20Error]:\x20'+_0x13fd80[_0xf869c7(0x10b)]+_0xf869c7(0x22e)+_0x13fd80[_0xf869c7(0x23b)]+':'+_0x13fd80[_0xf869c7(0x267)]+':'+_0x13fd80[_0xf869c7(0x146)]+'\x0a'+(((_0x57e90d=_0x13fd80[_0xf869c7(0x15a)])==null?void 0x0:_0x57e90d[_0xf869c7(0x35a)])||''));};window[_0x1d655c(0x1d1)]('error',_0x141de4),this[_0x1d655c(0x347)](()=>{const _0x48bc52=_0x1d655c;window[_0x48bc52(0x36c)](_0x48bc52(0x15a),_0x141de4);});}[_0x2466c1(0x1db)](){const _0x1dc707=_0x2466c1,_0x35f3da=_0x5cc193=>{const _0x3c425f=_0xdc31;this[_0x3c425f(0x35e)](_0x3c425f(0x15a),_0x3c425f(0x33c)+_0x5cc193[_0x3c425f(0x2e8)]);};window[_0x1dc707(0x1d1)]('unhandledrejection',_0x35f3da),this['disposeWithMe'](()=>{const _0x4fab72=_0x1dc707;window[_0x4fab72(0x36c)](_0x4fab72(0x13c),_0x35f3da);});}[_0x2466c1(0x36e)](){const _0x538478=_0x2466c1,_0x171025=this[_0x538478(0x196)][_0x538478(0x15a)][_0x538478(0x14b)](this[_0x538478(0x196)]);this[_0x538478(0x196)][_0x538478(0x15a)]=(..._0x504b38)=>{const _0x5491d4=_0x538478,_0x52a2f4=_0x504b38[_0x5491d4(0x220)](_0x12f149=>_0x12f149 instanceof Error?_0x12f149[_0x5491d4(0x10b)]+'\x0a'+_0x12f149['stack']:String(_0x12f149))[_0x5491d4(0x18e)]('\x20');this['_uploadLog'](_0x5491d4(0x15a),_0x5491d4(0x20b)+_0x52a2f4),_0x171025(..._0x504b38);},this['disposeWithMe'](()=>{const _0x24750a=_0x538478;this[_0x24750a(0x196)][_0x24750a(0x15a)]=_0x171025;});}[_0x2466c1(0x35e)](_0x4554da,_0x25408a){const _0x3a95d9=_0x2466c1;try{const _0x5a5648={'userId':this['_memberID'],'logLabel':_0x4554da,'content':_0x25408a};this[_0x3a95d9(0x262)]['post'](_0x3a95d9(0x31d),{'body':_0x5a5648})[_0x3a95d9(0x2a6)](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x2466c1(0x3d3)](a[_0x2466c1(0x2d5)])),z(0x1,a['Inject'](x['HTTPService'])),z(0x2,a[_0x2466c1(0xfe)]),z(0x3,a['Inject'](u[_0x2466c1(0x3c9)]))],Q);const Yt=_0x2466c1(0x354),Me={};var Ht=Object[_0x2466c1(0x229)],Wt=(_0x4335d6,_0x16729f,_0x487c1e,_0x66a23c)=>{const _0x187627=_0x2466c1;for(var _0x30b654=_0x66a23c>0x1?void 0x0:_0x66a23c?Ht(_0x16729f,_0x487c1e):_0x16729f,_0x51568a=_0x4335d6[_0x187627(0x29e)]-0x1,_0x5d8253;_0x51568a>=0x0;_0x51568a--)(_0x5d8253=_0x4335d6[_0x51568a])&&(_0x30b654=_0x5d8253(_0x30b654)||_0x30b654);return _0x30b654;},Ae=(_0x1971ea,_0xcf875)=>(_0x1231ab,_0x154dc6)=>_0xcf875(_0x1231ab,_0x154dc6,_0x1971ea);let ee=class{constructor(_0x4f5272,_0x4d077c){const _0x1c9f18=_0x2466c1;this[_0x1c9f18(0x358)]=_0x4f5272,this[_0x1c9f18(0x1b7)]=_0x4d077c;}[_0x2466c1(0x1e8)](_0x5449b7){const _0x3a160b=_0x2466c1;this[_0x3a160b(0x21b)](_0x5449b7),this[_0x3a160b(0x249)](_0x5449b7);}['transformRemoteChangeset'](_0x13a6b8){const _0x2ed503=_0x2466c1,{unitID:_0x87d76}=_0x13a6b8,_0x38e32b=this[_0x2ed503(0x1b7)][_0x2ed503(0x1f9)](_0x87d76)['with'](p[_0x2ed503(0x153)]),{redoCache:_0x76d39f}=_0x38e32b[_0x2ed503(0x1ca)]();if(_0x76d39f[_0x2ed503(0x29e)]===0x0)return _0x13a6b8;let _0x339293=a['Tools'][_0x2ed503(0x18d)](_0x13a6b8[_0x2ed503(0x142)][0x0]);for(let _0x33cd0f=0x0;_0x33cd0f<_0x76d39f[_0x2ed503(0x29e)];_0x33cd0f++){const _0x258902={'id':'doc.mutation.rich-text-editing','params':{..._0x76d39f[_0x33cd0f]}},_0x42bef7=this[_0x2ed503(0x358)][_0x2ed503(0x310)](_0x339293,_0x258902,!0x1);if(g['isTransformMutationFailure'](_0x42bef7))throw _0x42bef7[_0x2ed503(0x15a)];_0x339293=_0x42bef7[_0x2ed503(0x3c4)];}return{...a['Tools'][_0x2ed503(0x18d)](_0x13a6b8),'mutations':[_0x339293]};}['_transformUndoRedoStack'](_0x129626){const _0x20fe69=_0x2466c1,{unitID:_0x2b4d2e}=_0x129626,_0xc9ef0c=this['_renderManagerService'][_0x20fe69(0x1f9)](_0x2b4d2e)['with'](p[_0x20fe69(0x153)]),{undoCache:_0x3a9cca,redoCache:_0x1f137a}=_0xc9ef0c['getUndoRedoMutationParamsCache']();if(_0x3a9cca['length']===0x0||_0x1f137a[_0x20fe69(0x29e)]===0x0)return;const _0x30d0fd=[],_0x2e1052=[];let _0x139fc5=a[_0x20fe69(0xf5)][_0x20fe69(0x18d)](_0x129626[_0x20fe69(0x142)][0x0]),_0x11db19=a['Tools'][_0x20fe69(0x18d)](_0x129626['mutations'][0x0]);for(let _0x4760b1=_0x3a9cca[_0x20fe69(0x29e)]-0x1;_0x4760b1>=0x0;_0x4760b1--){const _0x15efde={'id':_0x20fe69(0x1e4),'params':{..._0x3a9cca[_0x4760b1]}},_0x3b61c1={'id':_0x20fe69(0x1e4),'params':{..._0x1f137a[_0x4760b1]}},_0xba13b2=this[_0x20fe69(0x358)][_0x20fe69(0x310)](_0x139fc5,_0x15efde,!0x1),_0x16aa0b=this[_0x20fe69(0x358)][_0x20fe69(0x310)](_0x11db19,_0x3b61c1,!0x1);if(g[_0x20fe69(0x242)](_0xba13b2))throw _0xba13b2[_0x20fe69(0x15a)];if(g[_0x20fe69(0x242)](_0x16aa0b))throw _0x16aa0b['error'];_0x30d0fd[_0x20fe69(0x2ab)](_0xba13b2[_0x20fe69(0x3d1)][_0x20fe69(0x1ed)]),_0x2e1052[_0x20fe69(0x2ab)](_0x16aa0b[_0x20fe69(0x3d1)][_0x20fe69(0x1ed)]),_0x139fc5=_0xba13b2['m1Prime'],_0x11db19=_0x16aa0b[_0x20fe69(0x3c4)];}_0xc9ef0c['setUndoRedoMutationParamsCache']({'undoCache':_0x30d0fd,'redoCache':_0x2e1052});}[_0x2466c1(0x249)](_0x388536){const _0x46713b=_0x2466c1,{unitID:_0x2701e1}=_0x388536,_0x519774=this[_0x46713b(0x1b7)][_0x46713b(0x1f9)](_0x2701e1)[_0x46713b(0x31c)](p[_0x46713b(0x153)]),_0x272823=_0x519774[_0x46713b(0x14e)]();if(_0x272823==null)return;const _0xb5d4b8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x388536[_0x46713b(0x157)],'actions':null,'textRanges':[_0x272823]}}],_0x4beda2=this[_0x46713b(0x358)][_0x46713b(0x2c3)](_0x388536,_0xb5d4b8);if(!g[_0x46713b(0x114)](_0x4beda2))throw _0x4beda2['error'];const _0x4d2804=_0x4beda2[_0x46713b(0x3d1)][0x0][_0x46713b(0x1ed)][_0x46713b(0x15d)];Array[_0x46713b(0x33a)](_0x4d2804)&&_0x4d2804[_0x46713b(0x29e)]&&_0x519774[_0x46713b(0x31e)](_0x4d2804[0x0]);}};ee=Wt([Ae(0x0,g['ITransformService']),Ae(0x1,C[_0x2466c1(0x129)])],ee);var Vt=Object['getOwnPropertyDescriptor'],Gt=(_0xbe933f,_0x2bfcf7,_0x1dd8d4,_0x173ff1)=>{for(var _0xcc4524=_0x173ff1>0x1?void 0x0:_0x173ff1?Vt(_0x2bfcf7,_0x1dd8d4):_0x2bfcf7,_0x32643c=_0xbe933f['length']-0x1,_0x322be5;_0x32643c>=0x0;_0x32643c--)(_0x322be5=_0xbe933f[_0x32643c])&&(_0xcc4524=_0x322be5(_0xcc4524)||_0xcc4524);return _0xcc4524;},Ie=(_0x57726b,_0x538f19)=>(_0xa77b9f,_0x1a6e99)=>_0x538f19(_0xa77b9f,_0x1a6e99,_0x57726b);let te=class{constructor(_0x32905a,_0x465eb2,_0x5fe792){const _0x168e1e=_0x2466c1;this['_injector']=_0x32905a,this['_transformService']=_0x465eb2,this[_0x168e1e(0x137)]=_0x5fe792;}[_0x2466c1(0x12e)](_0xf4f759){const _0x3cfc5b=_0x2466c1;this[_0x3cfc5b(0x1c2)](_0xf4f759);}[_0x2466c1(0x1f4)](_0x302e97){const _0x4f7f90=_0x2466c1,{unitID:_0x47d288}=_0x302e97,{collaboration:_0x240a7f}=this['_docStateChangeManagerService'][_0x4f7f90(0x279)](_0x47d288);if(_0x240a7f[_0x4f7f90(0x29e)]===0x0)return _0x302e97;let _0x51555f=a['Tools']['deepClone'](_0x302e97[_0x4f7f90(0x142)][0x0]);for(let _0x3facaf=0x0;_0x3facaf<_0x240a7f['length'];_0x3facaf++){const _0x19984e={'id':_0x4f7f90(0x1e4),'params':{'unitId':_0x240a7f[_0x3facaf][_0x4f7f90(0x254)],..._0x240a7f[_0x3facaf][_0x4f7f90(0x1a5)]}},_0x1a22c6=this[_0x4f7f90(0x358)][_0x4f7f90(0x310)](_0x51555f,_0x19984e,!0x1);if(g[_0x4f7f90(0x242)](_0x1a22c6))throw _0x1a22c6['error'];_0x51555f=_0x1a22c6[_0x4f7f90(0x3c4)];}return{...a['Tools'][_0x4f7f90(0x18d)](_0x302e97),'mutations':[_0x51555f]};}[_0x2466c1(0x1c2)](_0x4f44c7){const _0xa7550c=_0x2466c1,{unitID:_0x48f59a}=_0x4f44c7,{history:_0x12990d,collaboration:_0x411a70}=this[_0xa7550c(0x137)][_0xa7550c(0x279)](_0x48f59a);if(_0x12990d[_0xa7550c(0x29e)]===0x0&&_0x411a70[_0xa7550c(0x29e)]===0x0)return;const _0x2f5c34=[],_0x11d9b3=[];let _0x3fed5d=a['Tools']['deepClone'](_0x4f44c7[_0xa7550c(0x142)][0x0]),_0x9dcaa5=a['Tools']['deepClone'](_0x4f44c7[_0xa7550c(0x142)][0x0]);for(let _0xc3daaf=_0x12990d['length']-0x1;_0xc3daaf>=0x0;_0xc3daaf--){const _0x1176fd={'id':_0xa7550c(0x1e4),'params':{'unitId':_0x12990d[_0xc3daaf][_0xa7550c(0x254)],..._0x12990d[_0xc3daaf]['undoState']}},_0x18fe3a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x12990d[_0xc3daaf][_0xa7550c(0x254)],..._0x12990d[_0xc3daaf]['redoState']}},_0x26d766=this[_0xa7550c(0x358)]['transformMutation'](_0x3fed5d,_0x1176fd,!0x1),_0x4c1c13=this[_0xa7550c(0x358)][_0xa7550c(0x310)](_0x9dcaa5,_0x18fe3a,!0x1);if(g[_0xa7550c(0x242)](_0x26d766))throw _0x26d766[_0xa7550c(0x15a)];if(g['isTransformMutationFailure'](_0x4c1c13))throw _0x4c1c13[_0xa7550c(0x15a)];_0x2f5c34[_0xa7550c(0x2ab)]({..._0x12990d[_0xc3daaf],'undoState':_0x26d766[_0xa7550c(0x3d1)][_0xa7550c(0x1ed)],'redoState':_0x4c1c13[_0xa7550c(0x3d1)][_0xa7550c(0x1ed)]}),_0x3fed5d=_0x26d766[_0xa7550c(0x3c4)],_0x9dcaa5=_0x4c1c13[_0xa7550c(0x3c4)];}_0x3fed5d=a[_0xa7550c(0xf5)][_0xa7550c(0x18d)](_0x4f44c7[_0xa7550c(0x142)][0x0]),_0x9dcaa5=a['Tools'][_0xa7550c(0x18d)](_0x4f44c7[_0xa7550c(0x142)][0x0]);for(let _0x2421b0=_0x411a70['length']-0x1;_0x2421b0>=0x0;_0x2421b0--){const _0x1407e0={'id':_0xa7550c(0x1e4),'params':{'unitId':_0x411a70[_0x2421b0][_0xa7550c(0x254)],..._0x411a70[_0x2421b0]['undoState']}},_0x269286={'id':_0xa7550c(0x1e4),'params':{'unitId':_0x411a70[_0x2421b0]['unitId'],..._0x411a70[_0x2421b0][_0xa7550c(0x1a5)]}},_0xddaf8d=this[_0xa7550c(0x358)]['transformMutation'](_0x3fed5d,_0x1407e0,!0x1),_0x4a29d2=this[_0xa7550c(0x358)][_0xa7550c(0x310)](_0x9dcaa5,_0x269286,!0x1);if(g['isTransformMutationFailure'](_0xddaf8d))throw _0xddaf8d[_0xa7550c(0x15a)];if(g[_0xa7550c(0x242)](_0x4a29d2))throw _0x4a29d2[_0xa7550c(0x15a)];_0x11d9b3[_0xa7550c(0x2ab)]({..._0x411a70[_0x2421b0],'undoState':_0xddaf8d[_0xa7550c(0x3d1)][_0xa7550c(0x1ed)],'redoState':_0x4a29d2['m2Prime'][_0xa7550c(0x1ed)]}),_0x3fed5d=_0xddaf8d['m1Prime'],_0x9dcaa5=_0x4a29d2[_0xa7550c(0x3c4)];}this[_0xa7550c(0x137)][_0xa7550c(0x313)](_0x48f59a,{'history':_0x2f5c34,'collaboration':_0x11d9b3});}};te=Gt([Ie(0x0,a[_0x2466c1(0x3d3)](a['Injector'])),Ie(0x1,g[_0x2466c1(0x326)]),Ie(0x2,a[_0x2466c1(0x3d3)](p['DocStateChangeManagerService']))],te);var Xt=Object[_0x2466c1(0x229)],Kt=(_0x41fdd2,_0x370139,_0x4b6a34,_0x4960b7)=>{const _0x22f95b=_0x2466c1;for(var _0x2f3a49=_0x4960b7>0x1?void 0x0:_0x4960b7?Xt(_0x370139,_0x4b6a34):_0x370139,_0x3c65a1=_0x41fdd2[_0x22f95b(0x29e)]-0x1,_0x4a7a13;_0x3c65a1>=0x0;_0x3c65a1--)(_0x4a7a13=_0x41fdd2[_0x3c65a1])&&(_0x2f3a49=_0x4a7a13(_0x2f3a49)||_0x2f3a49);return _0x2f3a49;},Pe=(_0x27214e,_0x4d35b5)=>(_0x4fa5fb,_0x34dbe7)=>_0x4d35b5(_0x4fa5fb,_0x34dbe7,_0x27214e);let se=class{constructor(_0x5ab4ad,_0x597a1c){const _0x1a3dc8=_0x2466c1;this[_0x1a3dc8(0x32b)]=_0x5ab4ad,this[_0x1a3dc8(0x358)]=_0x597a1c;}[_0x2466c1(0x387)](_0x1785a3){const _0x2fc19b=_0x2466c1;var _0xce661d;const _0x8141ab=this[_0x2fc19b(0x32b)][_0x2fc19b(0x1e6)](V[_0x2fc19b(0x3b2)]),_0x1d129e=(_0xce661d=_0x8141ab[_0x2fc19b(0x111)]())!=null?_0xce661d:[];if(_0x1d129e['length']===0x0)return;const _0xb89059=_0x1785a3['unitID'],_0x7dde90=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb89059,'actions':null,'textRanges':_0x1d129e}}],_0x37f148=this[_0x2fc19b(0x358)][_0x2fc19b(0x2c3)](_0x1785a3,_0x7dde90);if(!g[_0x2fc19b(0x114)](_0x37f148))throw _0x37f148[_0x2fc19b(0x15a)];const _0x29f790=_0x37f148[_0x2fc19b(0x3d1)][0x0][_0x2fc19b(0x1ed)][_0x2fc19b(0x15d)];Array['isArray'](_0x29f790)&&_0x29f790['length']&&_0x8141ab[_0x2fc19b(0x3cb)](_0x29f790,{'unitId':_0xb89059,'subUnitId':_0xb89059},!0x1);}};se=Kt([Pe(0x0,a[_0x2466c1(0x3d3)](a[_0x2466c1(0x2d5)])),Pe(0x1,g[_0x2466c1(0x326)])],se);var qt=Object['getOwnPropertyDescriptor'],zt=(_0x3c8a84,_0x385c22,_0x39b33f,_0x229fb5)=>{const _0xe3aae5=_0x2466c1;for(var _0xe93caf=_0x229fb5>0x1?void 0x0:_0x229fb5?qt(_0x385c22,_0x39b33f):_0x385c22,_0x2a211e=_0x3c8a84[_0xe3aae5(0x29e)]-0x1,_0x1f247f;_0x2a211e>=0x0;_0x2a211e--)(_0x1f247f=_0x3c8a84[_0x2a211e])&&(_0xe93caf=_0x1f247f(_0xe93caf)||_0xe93caf);return _0xe93caf;},N=(_0x4c4977,_0xafc3d8)=>(_0x388649,_0x3596fa)=>_0xafc3d8(_0x388649,_0x3596fa,_0x4c4977);let ie=class extends a[_0x2466c1(0x28d)]{constructor(_0x16dba3,_0x5344cf,_0x132c37,_0x34c979,_0x3fd2a1,_0xfd6e9a,_0x9e74b8,_0xbb845c){const _0x1809ca=_0x2466c1;super(),_(this,_0x1809ca(0x29c),new I['BehaviorSubject'](u['CollaborationStatus'][_0x1809ca(0x164)])),(this[_0x1809ca(0x137)]=_0x16dba3,this['_collaborationController']=_0x5344cf,this[_0x1809ca(0x20c)]=_0x132c37,this['_docTransformStateCacheService']=_0x34c979,this[_0x1809ca(0x223)]=_0x3fd2a1,this[_0x1809ca(0x2a2)]=_0xfd6e9a,this[_0x1809ca(0x118)]=_0x9e74b8,this[_0x1809ca(0x372)]=_0xbb845c,this['_initEntityListener']());}[_0x2466c1(0x308)](){const _0x4913af=_0x2466c1;this[_0x4913af(0x347)](this[_0x4913af(0x32f)][_0x4913af(0x149)][_0x4913af(0x34b)](_0x5413ca=>{const _0x8d1d6e=_0x4913af,_0x561e2c=this[_0x8d1d6e(0x137)][_0x8d1d6e(0x2d2)][_0x8d1d6e(0x34b)](_0x13098d=>{const _0x56bf75=_0x8d1d6e;if(_0x13098d==null)return;const {unitId:_0x5985de,redoState:_0x22bd40,commandId:_0x396129}=_0x13098d;if(_0x5985de!==_0x5413ca['unitID'])return;const _0x23ffaf={'id':_0x396129,'type':a['CommandType'][_0x56bf75(0x218)],'params':{'unitId':_0x5985de,'actions':_0x22bd40[_0x56bf75(0x291)],'textRanges':null}};_0x5413ca[_0x56bf75(0x282)](_0x23ffaf);});if(_0x5413ca[_0x8d1d6e(0x347)](_0x561e2c),_0x5413ca instanceof u['DocCollaborationEntity']){const _0xa1f707={'onTransformIME':_0x1c5c86=>this[_0x8d1d6e(0x20c)][_0x8d1d6e(0x1e8)](_0x1c5c86),'onTransformState':_0x327f62=>this['_docTransformStateCacheService']['transformStateCache'](_0x327f62),'onTransformSelections':_0x7b8263=>this[_0x8d1d6e(0x223)][_0x8d1d6e(0x387)](_0x7b8263),'onSyncEditingCollabCursor':_0x470117=>this[_0x8d1d6e(0x2a2)][_0x8d1d6e(0x197)](_0x470117),'onTransformRemoteChangesetByIMECache':_0xd46c8=>this[_0x8d1d6e(0x20c)][_0x8d1d6e(0x1f4)](_0xd46c8),'onTransformRemoteChangesetByStateCache':_0x34cecc=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x34cecc)};_0x5413ca[_0x8d1d6e(0x14c)](_0xa1f707);}}));}};ie=zt([N(0x0,a['Inject'](p[_0x2466c1(0x22d)])),N(0x1,a[_0x2466c1(0x3d3)](u[_0x2466c1(0x3a8)])),N(0x2,a[_0x2466c1(0x3d3)](ee)),N(0x3,a[_0x2466c1(0x3d3)](te)),N(0x4,a[_0x2466c1(0x3d3)](se)),N(0x5,a[_0x2466c1(0x3d3)](be)),N(0x6,O[_0x2466c1(0x21e)]),N(0x7,a[_0x2466c1(0x3d3)](a['LocaleService']))],ie);var G=(_0x2424b3=>(_0x2424b3[_0x2424b3[_0x2466c1(0x127)]=0x0]='UNDEFINED',_0x2424b3[_0x2424b3['OK']=0x1]='OK',_0x2424b3[_0x2424b3[_0x2466c1(0x297)]=0x2]=_0x2466c1(0x297),_0x2424b3[_0x2424b3[_0x2466c1(0x2db)]=0x3]='PERMISSION_DENIED',_0x2424b3[_0x2424b3['NOT_FOUND']=0x4]=_0x2466c1(0x378),_0x2424b3[_0x2424b3[_0x2466c1(0x304)]=0x5]=_0x2466c1(0x304),_0x2424b3[_0x2424b3[_0x2466c1(0x200)]=0x6]=_0x2466c1(0x200),_0x2424b3[_0x2424b3[_0x2466c1(0x2a5)]=0x7]=_0x2466c1(0x2a5),_0x2424b3[_0x2424b3[_0x2466c1(0x394)]=0x8]=_0x2466c1(0x394),_0x2424b3[_0x2424b3['COMPLETION_FINISHED']=0x9]=_0x2466c1(0x1e9),_0x2424b3[_0x2424b3[_0x2466c1(0x214)]=0xa]=_0x2466c1(0x214),_0x2424b3[_0x2424b3[_0x2466c1(0x318)]=0xb]=_0x2466c1(0x318),_0x2424b3[_0x2424b3[_0x2466c1(0x2ba)]=0xc]=_0x2466c1(0x2ba),_0x2424b3[_0x2424b3[_0x2466c1(0x13e)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2424b3[_0x2424b3[_0x2466c1(0x182)]=0xe]=_0x2466c1(0x182),_0x2424b3[_0x2424b3[_0x2466c1(0x3b0)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2424b3[_0x2424b3[_0x2466c1(0x10a)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x2424b3[_0x2424b3[_0x2466c1(0x172)]=0x64]=_0x2466c1(0x172),_0x2424b3[_0x2424b3['ERROR_AGAIN']=0x65]=_0x2466c1(0x139),_0x2424b3[_0x2424b3[_0x2466c1(0x2e6)]=0xc9]=_0x2466c1(0x2e6),_0x2424b3[_0x2424b3[_0x2466c1(0x39d)]=0xca]=_0x2466c1(0x39d),_0x2424b3[_0x2424b3[_0x2466c1(0x2f6)]=0x1389]=_0x2466c1(0x2f6),_0x2424b3[_0x2424b3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2424b3[_0x2424b3[_0x2466c1(0x1e0)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2424b3[_0x2424b3[_0x2466c1(0x2a8)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2424b3[_0x2424b3[_0x2466c1(0x31a)]=0x1b59]=_0x2466c1(0x31a),_0x2424b3[_0x2424b3[_0x2466c1(0x278)]=0x1b5a]=_0x2466c1(0x278),_0x2424b3[_0x2424b3['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2424b3[_0x2424b3['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2424b3[_0x2424b3[_0x2466c1(0x10f)]=0x1b5d]=_0x2466c1(0x10f),_0x2424b3[_0x2424b3[_0x2466c1(0x18a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2424b3[_0x2424b3[_0x2466c1(0x19b)]=0x2329]=_0x2466c1(0x19b),_0x2424b3[_0x2424b3[_0x2466c1(0x3a3)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2424b3[_0x2424b3[_0x2466c1(0x1fc)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2424b3[_0x2424b3[_0x2466c1(0x1f2)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2424b3[_0x2424b3[_0x2466c1(0x325)]=0x232d]=_0x2466c1(0x325),_0x2424b3[_0x2424b3[_0x2466c1(0x34a)]=0x2711]=_0x2466c1(0x34a),_0x2424b3[_0x2424b3[_0x2466c1(0x1b1)]=0x2712]=_0x2466c1(0x1b1),_0x2424b3[_0x2424b3[_0x2466c1(0x38f)]=0x2713]=_0x2466c1(0x38f),_0x2424b3[_0x2424b3[_0x2466c1(0x207)]=0x2714]=_0x2466c1(0x207),_0x2424b3[_0x2424b3[_0x2466c1(0x20f)]=0x271a]=_0x2466c1(0x20f),_0x2424b3[_0x2424b3[_0x2466c1(0x301)]=0x271b]=_0x2466c1(0x301),_0x2424b3[_0x2424b3['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2466c1(0x338),_0x2424b3[_0x2424b3[_0x2466c1(0x1a4)]=0x271d]=_0x2466c1(0x1a4),_0x2424b3[_0x2424b3[_0x2466c1(0x3aa)]=0x271e]=_0x2466c1(0x3aa),_0x2424b3[_0x2424b3['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2466c1(0x26e),_0x2424b3[_0x2424b3[_0x2466c1(0x2a3)]=0x2720]=_0x2466c1(0x2a3),_0x2424b3[_0x2424b3[_0x2466c1(0x329)]=0x2af9]=_0x2466c1(0x329),_0x2424b3[_0x2424b3[_0x2466c1(0x30a)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2424b3[_0x2424b3[_0x2466c1(0x2fe)]=0x2ee2]=_0x2466c1(0x2fe),_0x2424b3[_0x2424b3['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2466c1(0x150),_0x2424b3[_0x2424b3[_0x2466c1(0x180)]=0x2ee4]=_0x2466c1(0x180),_0x2424b3[_0x2424b3[_0x2466c1(0x27b)]=0x2ee5]=_0x2466c1(0x27b),_0x2424b3[_0x2424b3[_0x2466c1(0x3c2)]=0x32c9]=_0x2466c1(0x3c2),_0x2424b3[_0x2424b3[_0x2466c1(0x17a)]=0x32ca]=_0x2466c1(0x17a),_0x2424b3[_0x2424b3['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2466c1(0x250),_0x2424b3[_0x2424b3[_0x2466c1(0x38e)]=0x36b1]=_0x2466c1(0x38e),_0x2424b3[_0x2424b3[_0x2466c1(0x1b4)]=0x36b2]=_0x2466c1(0x1b4),_0x2424b3[_0x2424b3[_0x2466c1(0x2e3)]=0x36b3]=_0x2466c1(0x2e3),_0x2424b3[_0x2424b3[_0x2466c1(0x1ee)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2424b3[_0x2424b3[_0x2466c1(0x2bb)]=0x3715]=_0x2466c1(0x2bb),_0x2424b3[_0x2424b3[_0x2466c1(0x357)]=0x3716]=_0x2466c1(0x357),_0x2424b3[_0x2424b3[_0x2466c1(0x341)]=0x3717]=_0x2466c1(0x341),_0x2424b3[_0x2424b3[_0x2466c1(0x2eb)]=0x37dd]=_0x2466c1(0x2eb),_0x2424b3[_0x2424b3[_0x2466c1(0x263)]=0x3a99]=_0x2466c1(0x263),_0x2424b3[_0x2424b3[_0x2466c1(0x29f)]=0x3a9a]=_0x2466c1(0x29f),_0x2424b3[_0x2424b3['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x2424b3[_0x2424b3['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x2466c1(0x239),_0x2424b3[_0x2424b3['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x2466c1(0x246),_0x2424b3[_0x2424b3[_0x2466c1(0x2cc)]=0x3a9e]=_0x2466c1(0x2cc),_0x2424b3[_0x2424b3[_0x2466c1(0x1f3)]=0x3a9f]=_0x2466c1(0x1f3),_0x2424b3[_0x2424b3[_0x2466c1(0x1bf)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x2424b3[_0x2424b3[_0x2466c1(0x29a)]=-0x1]=_0x2466c1(0x29a),_0x2424b3))(G||{});function Jt(_0x36f6dc){const _0x14fac6=_0x2466c1;var _0x5d3ef7,_0xd3b834;const _0x148a2a=(_0x5d3ef7=_0x36f6dc['stageInfo'])==null?void 0x0:_0x5d3ef7[_0x14fac6(0x2b8)],_0x54711a=((_0xd3b834=_0x36f6dc[_0x14fac6(0x17f)])==null?void 0x0:_0xd3b834[_0x14fac6(0x1d8)])||0x0;return _0x148a2a===B['FormulaExecuteStageType'][_0x14fac6(0x2f9)]&&_0x54711a>0x0;}function Zt(_0x1a11f0){const _0x427eec=_0x2466c1;return _0x1a11f0[_0x427eec(0x369)]===B['FormulaExecutedStateType'][_0x427eec(0x132)];}var Qt=Object['getOwnPropertyDescriptor'],es=(_0xbfe098,_0x17ef1c,_0x3d989e,_0x13c6c0)=>{const _0x303c7d=_0x2466c1;for(var _0x27aa56=_0x13c6c0>0x1?void 0x0:_0x13c6c0?Qt(_0x17ef1c,_0x3d989e):_0x17ef1c,_0x13e573=_0xbfe098[_0x303c7d(0x29e)]-0x1,_0x16f57f;_0x13e573>=0x0;_0x13e573--)(_0x16f57f=_0xbfe098[_0x13e573])&&(_0x27aa56=_0x16f57f(_0x27aa56)||_0x27aa56);return _0x27aa56;},L=(_0x659088,_0x487de5)=>(_0x155304,_0x5ced31)=>_0x487de5(_0x155304,_0x5ced31,_0x659088);const ts='/universer-api/license/formula/limit/status',ss='/universer-api/license/formula/limit/start',is=_0x2466c1(0x3cc);let ne=class extends a[_0x2466c1(0x28d)]{constructor(_0x2477d7,_0xe1c384,_0x11c0cd,_0x2e5d21,_0x1aaa29,_0x2090e9,_0x42a487){const _0x33c00c=_0x2466c1;super(),_(this,'_pollingInterval',null),_(this,'_maxFormulaLimit',0x0),_(this,'_currentUsage',0x0),_(this,_0x33c00c(0x212),[]),_(this,_0x33c00c(0x21a),0x0),(this[_0x33c00c(0x118)]=_0x2477d7,this[_0x33c00c(0x391)]=_0xe1c384,this['_configService']=_0x11c0cd,this[_0x33c00c(0x262)]=_0x2e5d21,this['_univerInstanceService']=_0x1aaa29,this['_logService']=_0x2090e9,this[_0x33c00c(0x372)]=_0x42a487,this[_0x33c00c(0x3c3)]());}['_initCommandInterceptor'](){const _0x15dbeb=_0x2466c1;this[_0x15dbeb(0x347)](this[_0x15dbeb(0x391)][_0x15dbeb(0x37c)]((_0x48b577,_0x253bff)=>{const _0x453457=_0x15dbeb;var _0x1419de;if(_0x48b577['id']!==B[_0x453457(0x3b4)]['id'])return;const _0x55f521=_0x48b577[_0x453457(0x1ed)];if(!this[_0x453457(0x395)]((_0x1419de=_0x55f521[_0x453457(0x1ef)])!=null?_0x1419de:[]))return;if(!this[_0x453457(0x29d)]())throw this[_0x453457(0x270)](_0x48b577,_0x253bff),this[_0x453457(0x339)](),new a['CanceledError']();})),this[_0x15dbeb(0x347)](this[_0x15dbeb(0x391)][_0x15dbeb(0x27d)]((_0x257450,_0x2c51de)=>{const _0x285924=_0x15dbeb;if(_0x257450['id']!==B[_0x285924(0x380)]['id'])return;const _0x35beb0=_0x257450[_0x285924(0x1ed)];if(Jt(_0x35beb0)){const _0x33aca8=a[_0x285924(0x349)]();this[_0x285924(0x212)][_0x285924(0x193)](_0x33aca8),this[_0x285924(0x368)](_0x33aca8);}else{if(Zt(_0x35beb0)&&this['_taskIds'][_0x285924(0x29e)]>0x0){const _0x2ab335=this[_0x285924(0x212)][_0x285924(0x14d)]();this['_releaseCalculationLimit'](_0x2ab335);}}}));}[_0x2466c1(0x19a)](){const _0x21b4a6=_0x2466c1;super[_0x21b4a6(0x19a)](),this[_0x21b4a6(0x275)](),this[_0x21b4a6(0x212)]=[],this[_0x21b4a6(0x2f5)]=0x0,this['_maxFormulaLimit']=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x220d28,_0x5a65dc){const _0x20c45b=_0x2466c1;for(let _0x36f72a=0x0;_0x36f72a<0x1e;_0x36f72a++)try{if(await this[_0x20c45b(0x230)](),this[_0x20c45b(0x29d)]()){this[_0x20c45b(0x2a7)](_0x220d28,_0x5a65dc),this['_messageService']['show']({'content':this['_localeService']['t']('formula.calculation.started'),'type':T[_0x20c45b(0x148)][_0x20c45b(0x124)]});return;}await new Promise(_0x367a86=>{const _0x1dbc67=_0x20c45b;this[_0x1dbc67(0x1bd)]=window[_0x1dbc67(0x367)](_0x367a86,0x3e8);});}catch(_0x496804){this[_0x20c45b(0x196)]['error'](_0x496804);}this['_messageService'][_0x20c45b(0x29b)]({'content':this['_localeService']['t'](_0x20c45b(0x12c)),'type':T['MessageType'][_0x20c45b(0x299)]});}[_0x2466c1(0x2a7)](_0x1082ef,_0x471219){const _0x33047b=_0x2466c1;try{this[_0x33047b(0x391)][_0x33047b(0x3b5)](_0x1082ef['id'],_0x1082ef[_0x33047b(0x1ed)],_0x471219);}catch(_0xc26013){this['_logService'][_0x33047b(0x15a)](_0xc26013);}}[_0x2466c1(0x2de)](_0x2cc4d7,_0x5f5d8c){const _0x1c8828=_0x2466c1;_0x5f5d8c<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x5f5d8c,this[_0x1c8828(0x1fe)]=Number[_0x1c8828(0x1f5)](_0x2cc4d7['maxFormulaLimit']),this[_0x1c8828(0x2f5)]=Number[_0x1c8828(0x1f5)](_0x2cc4d7[_0x1c8828(0x35d)]));}async['_startCalculationLimit'](_0x17b2ac){const _0x3eeb0c=_0x2466c1;var _0x4031a0,_0x32236a;const _0x17bce5=Date[_0x3eeb0c(0x28a)]();try{const _0x11fb77=((_0x4031a0=this[_0x3eeb0c(0x2d4)]['getConfig'](u[_0x3eeb0c(0x305)]))==null?void 0x0:_0x4031a0['startFormulaLimitUrl'])||ss,_0x1260f2=(await this[_0x3eeb0c(0x262)][_0x3eeb0c(0x355)](_0x11fb77,{'body':JSON['stringify']({'taskId':_0x17b2ac})}))['body'];if(((_0x32236a=_0x1260f2['error'])==null?void 0x0:_0x32236a['code'])!==G['OK'])return;this[_0x3eeb0c(0x2de)](_0x1260f2['limitInfo'],_0x17bce5);}catch(_0x4a3662){this['_logService'][_0x3eeb0c(0x15a)](_0x4a3662);}}async['_getFormulaLimitStatus'](_0x5a582f){const _0x2e280d=_0x2466c1;var _0x4de910,_0x4d10b7;const _0x4ebc46=Date[_0x2e280d(0x28a)]();try{const _0x4304ed=((_0x4de910=this['_configService'][_0x2e280d(0x1b8)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4de910['getformulaLimitStatusUrl'])||ts,_0x5f13e3=_0x5a582f?_0x4304ed+'?taskId='+encodeURIComponent(_0x5a582f):_0x4304ed,_0x5aee05=(await this[_0x2e280d(0x262)][_0x2e280d(0x1e6)](_0x5f13e3))[_0x2e280d(0x109)];if(((_0x4d10b7=_0x5aee05[_0x2e280d(0x15a)])==null?void 0x0:_0x4d10b7[_0x2e280d(0x23a)])!==G['OK'])return;this[_0x2e280d(0x2de)](_0x5aee05[_0x2e280d(0x287)],_0x4ebc46);}catch(_0x197225){this['_logService'][_0x2e280d(0x15a)](_0x197225);}}async[_0x2466c1(0x383)](_0xcc8f05){const _0x1725f3=_0x2466c1;var _0x5c3206,_0x2fa625;const _0xddf46b=Date[_0x1725f3(0x28a)]();try{const _0x58761a=((_0x5c3206=this['_configService']['getConfig'](u[_0x1725f3(0x305)]))==null?void 0x0:_0x5c3206['releaseFormulaLimitUrl'])||is,_0x2162b7=(await this['_httpService'][_0x1725f3(0x355)](_0x58761a,{'body':JSON[_0x1725f3(0x2a9)]({'taskId':_0xcc8f05})}))['body'];if(((_0x2fa625=_0x2162b7[_0x1725f3(0x15a)])==null?void 0x0:_0x2fa625[_0x1725f3(0x23a)])!==G['OK'])return;this[_0x1725f3(0x2de)](_0x2162b7[_0x1725f3(0x287)],_0xddf46b);}catch(_0x4be8d7){this['_logService'][_0x1725f3(0x15a)](_0x4be8d7);}}[_0x2466c1(0x29d)](){const _0xa999e0=_0x2466c1;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0xa999e0(0x2f5)]>0x0;}['_clearPolling'](){const _0x2d6fec=_0x2466c1;this[_0x2d6fec(0x1bd)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x2466c1(0x339)](){const _0x176dd0=_0x2466c1;this[_0x176dd0(0x118)][_0x176dd0(0x29b)]({'content':this[_0x176dd0(0x372)]['t'](_0x176dd0(0x295)),'type':T[_0x176dd0(0x148)][_0x176dd0(0x273)]});}[_0x2466c1(0x395)](_0x68bdd5){const _0x480225=_0x2466c1;for(const _0x4d2c82 of _0x68bdd5){const {unitId:_0x4b6262,sheetId:_0x3c72a9,range:_0x1dda2b}=_0x4d2c82,_0xcf4921=this[_0x480225(0x23e)][_0x480225(0x1ec)](_0x4b6262);if(!_0xcf4921)continue;const _0x47a532=_0xcf4921['getSheetBySheetId'](_0x3c72a9);if(!_0x47a532)continue;const _0x1bd9a7=_0x47a532[_0x480225(0x106)]();for(let _0xf6eccd=_0x1dda2b[_0x480225(0x345)];_0xf6eccd<=_0x1dda2b[_0x480225(0x202)];_0xf6eccd++)for(let _0xa0d8df=_0x1dda2b['startColumn'];_0xa0d8df<=_0x1dda2b[_0x480225(0x16c)];_0xa0d8df++){const _0x2f24f1=_0x1bd9a7[_0x480225(0x1a6)](_0xf6eccd,_0xa0d8df);if(_0x2f24f1&&(a[_0x480225(0x296)](_0x2f24f1['f'])||a[_0x480225(0x385)](_0x2f24f1['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a[_0x2466c1(0x3d3)](O[_0x2466c1(0x21e)])),L(0x1,a[_0x2466c1(0x1f8)]),L(0x2,a[_0x2466c1(0x244)]),L(0x3,a[_0x2466c1(0x3d3)](x[_0x2466c1(0x280)])),L(0x4,a[_0x2466c1(0x39f)]),L(0x5,a[_0x2466c1(0xfe)]),L(0x6,a[_0x2466c1(0x3d3)](a[_0x2466c1(0x283)]))],ne);var ns=Object['getOwnPropertyDescriptor'],rs=(_0x27c255,_0x47c415,_0x29bf87,_0x2b4767)=>{for(var _0x42445e=_0x2b4767>0x1?void 0x0:_0x2b4767?ns(_0x47c415,_0x29bf87):_0x47c415,_0x3fd54b=_0x27c255['length']-0x1,_0x37b3b9;_0x3fd54b>=0x0;_0x3fd54b--)(_0x37b3b9=_0x27c255[_0x3fd54b])&&(_0x42445e=_0x37b3b9(_0x42445e)||_0x42445e);return _0x42445e;},de=(_0x372edd,_0x33dc38)=>(_0x5754bb,_0x3ffeff)=>_0x33dc38(_0x5754bb,_0x3ffeff,_0x372edd);let pe=class extends a[_0x2466c1(0x28d)]{constructor(_0x231d1b,_0x463f80,_0x82b271){const _0x40e763=_0x2466c1;super(),_(this,'_cachedData',new Map()),_(this,_0x40e763(0x141),new Map()),_(this,'_disabled',!0x1),(this[_0x40e763(0x2d4)]=_0x231d1b,this[_0x40e763(0x328)]=_0x463f80,this[_0x40e763(0x247)]=_0x82b271);}[_0x2466c1(0x117)](){const _0x3615b2=_0x2466c1;this[_0x3615b2(0x236)]=!0x0;}[_0x2466c1(0x171)](){const _0x45501b=_0x2466c1;this[_0x45501b(0x236)]=!0x1;}get[_0x2466c1(0x2c9)](){const _0x586ce3=_0x2466c1;return this[_0x586ce3(0x141)];}[_0x2466c1(0x19a)](){const _0xced886=_0x2466c1;this['exhaustSavingTask']()[_0xced886(0x2d9)](()=>super[_0xced886(0x19a)]());}async['loadOfflineData'](_0x363fdf){const _0x5b51e8=_0x2466c1;return this[_0x5b51e8(0x236)]?null:this[_0x5b51e8(0x328)][_0x5b51e8(0x317)](u[_0x5b51e8(0x1c9)](_0x363fdf));}async['saveOfflineData'](_0x144bb7,_0x58310b){const _0x369533=_0x2466c1;return!!this[_0x369533(0x328)][_0x369533(0x2c7)](_0x144bb7,_0x58310b);}[_0x2466c1(0x26d)](_0x14a32a,_0x5d9524,_0x1e5743,_0x4da349){const _0xb75bf9=_0x2466c1,_0x2203ab=this[_0xb75bf9(0x247)]['getCurrentRevOfUnit'](_0x14a32a);this[_0xb75bf9(0x259)][_0xb75bf9(0x2b6)](_0x14a32a,{'unitID':_0x14a32a,'type':_0x5d9524,'awaitingChangeset':_0x1e5743,'mutations':_0x4da349,'rev':_0x2203ab}),this[_0xb75bf9(0x141)][_0xb75bf9(0x155)](_0x14a32a)||this[_0xb75bf9(0x284)](_0x14a32a);}['_scheduleSaving'](_0x20630a){const _0x1ec056=_0x2466c1,_0x147464=this['_getSaveTimeout']();_0x147464===0x0?this['_saveCache'](_0x20630a):this[_0x1ec056(0x141)][_0x1ec056(0x2b6)](_0x20630a,setTimeout(()=>this['_saveCache'](_0x20630a),_0x147464));}[_0x2466c1(0x107)](){const _0x4dc396=_0x2466c1;var _0x1d5f02;return(_0x1d5f02=this[_0x4dc396(0x2d4)]['getConfig'](u[_0x4dc396(0x128)]))!=null?_0x1d5f02:u[_0x4dc396(0x260)];}[_0x2466c1(0x314)](_0x2e60ce){const _0x5443d5=_0x2466c1,_0x13e2ad=this[_0x5443d5(0x141)][_0x5443d5(0x1e6)](_0x2e60ce);return _0x13e2ad!==void 0x0&&window[_0x5443d5(0x34d)](_0x13e2ad),this['_localStorageService'][_0x5443d5(0x2c7)](u[_0x5443d5(0x1c9)](_0x2e60ce),this[_0x5443d5(0x259)][_0x5443d5(0x1e6)](_0x2e60ce))['then'](()=>this[_0x5443d5(0x141)][_0x5443d5(0x327)](_0x2e60ce));}async['exhaustSavingTask'](){const _0x17763f=_0x2466c1,_0x5c4edc=[];this[_0x17763f(0x141)][_0x17763f(0x21f)]((_0x3093c8,_0x22bcee)=>{const _0x156d14=_0x17763f;window['clearTimeout'](_0x3093c8),_0x5c4edc[_0x156d14(0x193)](this[_0x156d14(0x314)](_0x22bcee)[_0x156d14(0x2d9)](()=>{const _0x39df1a=_0x156d14;this[_0x39df1a(0x141)][_0x39df1a(0x327)](_0x22bcee);}));}),await Promise[_0x17763f(0x37e)](_0x5c4edc);}};pe=rs([de(0x0,a[_0x2466c1(0x244)]),de(0x1,a[_0x2466c1(0x169)]),de(0x2,a['Inject'](g[_0x2466c1(0x2c5)]))],pe);class ke extends a[_0x2466c1(0x18f)]{constructor(){const _0x1dd2cd=_0x2466c1;super(),_(this,'urlChange$'),this[_0x1dd2cd(0x3b9)]=I['fromEvent'](window,_0x1dd2cd(0x1b6))[_0x1dd2cd(0x2b9)](I['takeUntil'](this[_0x1dd2cd(0x222)]),I[_0x1dd2cd(0x25e)](0x1),I[_0x1dd2cd(0x324)](void 0x0));}[_0x2466c1(0x370)](_0x327721,_0x4b2480,_0x28e1fd=!0x1){const _0x5a6ecb=_0x2466c1,_0x59baaf=new URL(window['location'][_0x5a6ecb(0xf4)]);_0x59baaf[_0x5a6ecb(0x35f)][_0x5a6ecb(0x2b6)](_0x327721,_0x4b2480),_0x28e1fd?window[_0x5a6ecb(0x23d)][_0x5a6ecb(0x11e)]('','',_0x59baaf['toString']()):window[_0x5a6ecb(0x23d)][_0x5a6ecb(0x145)]('','',_0x59baaf['toString']());}[_0x2466c1(0x252)](_0x31b09b,_0x320162=!0x1){const _0x590e0c=_0x2466c1,_0x29f991=new URL(window[_0x590e0c(0x1c4)]['href']);_0x29f991[_0x590e0c(0x35f)][_0x590e0c(0x327)](_0x31b09b),_0x320162?window[_0x590e0c(0x23d)][_0x590e0c(0x11e)]('','',_0x29f991[_0x590e0c(0x37d)]()):window[_0x590e0c(0x23d)][_0x590e0c(0x145)]('','',_0x29f991[_0x590e0c(0x37d)]());}[_0x2466c1(0x322)](_0x441306){const _0x378239=_0x2466c1;var _0x4db033;return(_0x4db033=new URL(window[_0x378239(0x1c4)][_0x378239(0xf4)])[_0x378239(0x35f)][_0x378239(0x1e6)](_0x441306))!=null?_0x4db033:void 0x0;}}var os=Object[_0x2466c1(0x14a)],as=Object[_0x2466c1(0x229)],cs=(_0x151b6d,_0x54f4dc,_0x4ffd27)=>_0x54f4dc in _0x151b6d?os(_0x151b6d,_0x54f4dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ffd27}):_0x151b6d[_0x54f4dc]=_0x4ffd27,ls=(_0x33b002,_0x2ce020,_0x499d12,_0x2ef1de)=>{const _0x9534d=_0x2466c1;for(var _0x11f624=_0x2ef1de>0x1?void 0x0:_0x2ef1de?as(_0x2ce020,_0x499d12):_0x2ce020,_0x34c112=_0x33b002[_0x9534d(0x29e)]-0x1,_0x11235a;_0x34c112>=0x0;_0x34c112--)(_0x11235a=_0x33b002[_0x34c112])&&(_0x11f624=_0x11235a(_0x11f624)||_0x11f624);return _0x11f624;},Se=(_0x856000,_0x4c42a2)=>(_0x575dcc,_0x498c5a)=>_0x4c42a2(_0x575dcc,_0x498c5a,_0x856000),_s=(_0x226e63,_0x1e65f3,_0x351f7e)=>cs(_0x226e63,_0x1e65f3+'',_0x351f7e);const hs=_0x2466c1(0x245);exports[_0x2466c1(0x33d)]=class extends a[_0x2466c1(0x384)]{constructor(_0x1df667=Me,_0x582e18,_0x269588,_0x173f79){const _0x6a8c39=_0x2466c1;super(),this[_0x6a8c39(0x162)]=_0x1df667,this['_renderManagerService']=_0x582e18,this[_0x6a8c39(0x32b)]=_0x269588,this[_0x6a8c39(0x2d4)]=_0x173f79;const {..._0x4a33cc}=a[_0x6a8c39(0x1fb)]({},Me,this[_0x6a8c39(0x162)]);this[_0x6a8c39(0x2d4)]['setConfig'](Yt,_0x4a33cc);}[_0x2466c1(0x257)](){const _0xc120c2=_0x2466c1;this[_0xc120c2(0x3bf)](),this['_initDependencies']();}[_0x2466c1(0x3a0)](){const _0x31241c=_0x2466c1;this[_0x31241c(0x3b6)]();}['_registerDependencies'](){const _0x34c68a=_0x2466c1;var _0x9a678f;const _0x20f690=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x34c68a(0x33b)],{'useClass':x[_0x34c68a(0x211)]}],[u[_0x34c68a(0x2d1)],{'useClass':pe}],[exports['DesktopCollaborationStatusDisplayController']],[ie],[Z],[F],[me],[exports['CollaborationDataLoaderController']]];this[_0x34c68a(0x162)]['enableFrontendLog']&&_0x20f690['push']([Q]),a[_0x34c68a(0x189)](this[_0x34c68a(0x32b)],a[_0x34c68a(0x13a)](_0x20f690,(_0x9a678f=this[_0x34c68a(0x162)])==null?void 0x0:_0x9a678f[_0x34c68a(0x392)]));}[_0x2466c1(0x3b6)](){const _0x1a744e=_0x2466c1;this[_0x1a744e(0x347)](this[_0x1a744e(0x1b7)][_0x1a744e(0x210)](a[_0x1a744e(0x2ef)][_0x1a744e(0x2d6)],[Ee])),this['disposeWithMe'](this[_0x1a744e(0x1b7)]['registerRenderModule'](a[_0x1a744e(0x2ef)]['UNIVER_SHEET'],[Ce]));}['_initDependencies'](){const _0x342afd=_0x2466c1;a['touchDependencies'](this[_0x342afd(0x32b)],[[F],[exports[_0x342afd(0xf9)]],[ie],[Z],[exports[_0x342afd(0x126)]],[ne]]),this[_0x342afd(0x162)][_0x342afd(0x337)]&&a['touchDependencies'](this['_injector'],[[Q]]);}},_s(exports['UniverCollaborationClientUIPlugin'],_0x2466c1(0x1a1),hs),exports['UniverCollaborationClientUIPlugin']=ls([a[_0x2466c1(0x26a)](u['UniverCollaborationClientPlugin']),Se(0x1,C['IRenderManagerService']),Se(0x2,a[_0x2466c1(0x3d3)](a[_0x2466c1(0x2d5)])),Se(0x3,a[_0x2466c1(0x244)])],exports[_0x2466c1(0x33d)]);var us=Object[_0x2466c1(0x229)],Is=(_0x29e594,_0x71b2af,_0x196c91,_0x463ba5)=>{const _0x19eb68=_0x2466c1;for(var _0x17c8b9=_0x463ba5>0x1?void 0x0:_0x463ba5?us(_0x71b2af,_0x196c91):_0x71b2af,_0x315919=_0x29e594[_0x19eb68(0x29e)]-0x1,_0x3209f1;_0x315919>=0x0;_0x315919--)(_0x3209f1=_0x29e594[_0x315919])&&(_0x17c8b9=_0x3209f1(_0x17c8b9)||_0x17c8b9);return _0x17c8b9;},W=(_0x69c342,_0x39a7cc)=>(_0x4e311b,_0x3fa54f)=>_0x39a7cc(_0x4e311b,_0x3fa54f,_0x69c342);exports['BrowserCollaborationSocketService']=class extends u[_0x2466c1(0x272)]{constructor(_0x48cd1e,_0x48ab86,_0x3f3987,_0xd3bd66,_0x377f9c){super(_0x48cd1e,_0x48ab86,_0x3f3987,_0xd3bd66,_0x377f9c);}async['createSocket'](_0x532f72){const _0x2be314=_0x2466c1,_0x549ca0=await this[_0x2be314(0x3b3)](),_0x5ec6f3=this['_createSocketURL'](_0x532f72,_0x549ca0);return this['_doCreateSocket'](_0x5ec6f3);}[_0x2466c1(0x19c)](_0x48d16d,_0x422acd){const _0x568b4a=_0x2466c1,_0xe58447=typeof window>'u'?new URL(_0x48d16d):new URL(_0x48d16d,window[_0x568b4a(0x1c4)][_0x568b4a(0x1b0)]);_0xe58447[_0x568b4a(0x35f)][_0x568b4a(0x2b6)](_0x568b4a(0x1ea),_0x422acd);const _0x49b78f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x568b4a(0x1c4)][_0x568b4a(0x1ff)]);return _0x49b78f[_0x568b4a(0x1e6)](_0x568b4a(0x22a))&&_0xe58447[_0x568b4a(0x35f)]['set'](_0x568b4a(0x22a),_0x49b78f[_0x568b4a(0x1e6)](_0x568b4a(0x22a))),_0xe58447[_0x568b4a(0x37d)]();}async[_0x2466c1(0x3b3)](){const _0x32f3c4=_0x2466c1;var _0x2b893b,_0x5f22bf,_0x400b18;const _0x9645d9=this[_0x32f3c4(0x2d4)][_0x32f3c4(0x1b8)](u[_0x32f3c4(0x305)]),_0x513b03=(_0x2b893b=_0x9645d9==null?void 0x0:_0x9645d9['wsSessionTicketUrl'])!=null?_0x2b893b:u[_0x32f3c4(0x381)];return(_0x400b18=(_0x5f22bf=(await this[_0x32f3c4(0x262)][_0x32f3c4(0x1e6)](_0x513b03,{'headers':{'Content-Type':_0x32f3c4(0x19e)}}))['body'])==null?void 0x0:_0x5f22bf[_0x32f3c4(0x24a)])!=null?_0x400b18:'';}},exports[_0x2466c1(0x336)]=Is([W(0x0,a[_0x2466c1(0x3d3)](a[_0x2466c1(0x2d5)])),W(0x1,a['Inject'](x[_0x2466c1(0x280)])),W(0x2,a['IConfigService']),W(0x3,a['ILogService']),W(0x4,g[_0x2466c1(0x319)])],exports[_0x2466c1(0x336)]);var ds=Object[_0x2466c1(0x229)],Ss=(_0x36703d,_0x37bf56,_0x1107c5,_0x51b174)=>{for(var _0x2deac9=_0x51b174>0x1?void 0x0:_0x51b174?ds(_0x37bf56,_0x1107c5):_0x37bf56,_0x39b1c2=_0x36703d['length']-0x1,_0x550906;_0x39b1c2>=0x0;_0x39b1c2--)(_0x550906=_0x36703d[_0x39b1c2])&&(_0x2deac9=_0x550906(_0x2deac9)||_0x2deac9);return _0x2deac9;},fe=(_0xc87b9b,_0x57e08f)=>(_0x25c360,_0x45d662)=>_0x57e08f(_0x25c360,_0x45d662,_0xc87b9b);exports[_0x2466c1(0x288)]=class extends a[_0x2466c1(0x28d)]{constructor(_0x3e4375,_0x2a77bc,_0x5d1b14){const _0x1c23d1=_0x2466c1;super(),this[_0x1c23d1(0x3a4)]=_0x3e4375,this[_0x1c23d1(0x262)]=_0x2a77bc,this[_0x1c23d1(0x2d4)]=_0x5d1b14;}async['runOnServer'](_0xb21a5e,_0x319ef3,_0x3c7399,..._0x2e1b58){const _0x29152a=_0x2466c1;var _0x1f53d4,_0x11e6b5,_0x2919fd,_0x40ef4c;const _0x1f78a9=this['_instanceService']['getFocusedUnit']();if(!_0x1f78a9)throw new Error(_0x29152a(0x386));const _0x5c8abe=((_0x1f53d4=this[_0x29152a(0x2d4)][_0x29152a(0x1b8)](u[_0x29152a(0x11f)]))!=null?_0x1f53d4:u[_0x29152a(0x32a)])+'/'+_0xb21a5e+_0x29152a(0x1aa)+_0x319ef3,_0x593d1c=new URL(window[_0x29152a(0x1c4)][_0x29152a(0xf4)]),_0x4b04d0={'scriptId':_0xb21a5e,'runId':(_0x11e6b5=_0x593d1c[_0x29152a(0x35f)][_0x29152a(0x1e6)](_0x29152a(0x22a)))!=null?_0x11e6b5:'','function':_0x319ef3,'unitId':_0x1f78a9[_0x29152a(0xfb)](),'argsOfFunction':JSON[_0x29152a(0x2a9)](_0x2e1b58),'invokeId':(_0x2919fd=_0x3c7399[_0x29152a(0x101)])!=null?_0x2919fd:'','executionId':(_0x40ef4c=_0x3c7399[_0x29152a(0x178)])!=null?_0x40ef4c:''};try{const _0x6a4d5b=await this[_0x29152a(0x262)][_0x29152a(0x355)](_0x5c8abe,{'body':_0x4b04d0});return _0x6a4d5b[_0x29152a(0x109)][_0x29152a(0x15a)]&&_0x6a4d5b[_0x29152a(0x109)][_0x29152a(0x15a)]['code']!==G['OK']?_0x29152a(0x3ca):_0x6a4d5b[_0x29152a(0x109)][_0x29152a(0x195)];}catch{return'Failed';}}},exports[_0x2466c1(0x288)]=Ss([fe(0x0,a[_0x2466c1(0x39f)]),fe(0x1,a[_0x2466c1(0x3d3)](x['HTTPService'])),fe(0x2,a[_0x2466c1(0x244)])],exports[_0x2466c1(0x288)]);const we=0x7530,ye=_0x2466c1(0x3be);class fs extends a[_0x2466c1(0x28d)]{constructor(){const _0x2b6cef=_0x2466c1;super(),_(this,_0x2b6cef(0x209),a[_0x2b6cef(0x349)]()),_(this,_0x2b6cef(0x1d2),new Set()),_(this,_0x2b6cef(0x251),new Map()),_(this,_0x2b6cef(0x228),null),_(this,_0x2b6cef(0x2f0),new Map()),_(this,_0x2b6cef(0x3ba),new Map()),this[_0x2b6cef(0x1dd)]();}['dispose'](){const _0x5628a3=_0x2466c1;super['dispose'](),this[_0x5628a3(0x2f0)][_0x5628a3(0x21f)]((_0x31115d,_0x4cfc92)=>this[_0x5628a3(0x2bf)](_0x4cfc92)),this[_0x5628a3(0x228)]&&window[_0x5628a3(0x15c)](this[_0x5628a3(0x228)]);}['getUnitStatus$'](_0x100fca){const _0x1bfc83=_0x2466c1;return this[_0x1bfc83(0x30e)](_0x100fca)[_0x1bfc83(0x2b9)](I[_0x1bfc83(0x154)]());}['editingUnit'](_0xe1b8d4){const _0x1ebf94=_0x2466c1;this[_0x1ebf94(0x1d2)]['size']===0x0&&this[_0x1ebf94(0x2ae)](),this[_0x1ebf94(0x1d2)][_0x1ebf94(0xfa)](_0xe1b8d4),this[_0x1ebf94(0x102)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xe1b8d4],'isForwarded':!0x1});}['disposeUnit'](_0x12cd37){const _0x10d1c3=_0x2466c1;this[_0x10d1c3(0x1d2)][_0x10d1c3(0x327)](_0x12cd37),this[_0x10d1c3(0x1d2)]['size']===0x0&&this[_0x10d1c3(0x228)]&&window[_0x10d1c3(0x15c)](this[_0x10d1c3(0x228)]);}['_init'](){const _0xd1654f=_0x2466c1;this[_0xd1654f(0x347)](a[_0xd1654f(0x183)](I['fromEvent'](window,_0xd1654f(0x206))['subscribe'](_0x5d8273=>{const _0xd85b79=_0xd1654f;if(_0x5d8273[_0xd85b79(0x3d2)]!==ye||!_0x5d8273[_0xd85b79(0x31f)])return;const _0x4cad54=JSON[_0xd85b79(0x3c1)](_0x5d8273[_0xd85b79(0x31f)]);this[_0xd85b79(0x2d3)](_0x4cad54);}))),window['addEventListener']('unload',()=>this[_0xd1654f(0x102)]({'type':0x1,'memberID':this[_0xd1654f(0x209)],'unitIDs':Array[_0xd1654f(0x238)](this['_selfUnitIDs'])}));}[_0x2466c1(0x2d3)](_0x1dd4f6){const _0x26e832=_0x2466c1;switch(_0x1dd4f6[_0x26e832(0x14f)]){case 0x0:this[_0x26e832(0x25a)](_0x1dd4f6);break;case 0x1:this[_0x26e832(0x2f7)](_0x1dd4f6);break;case 0x2:this[_0x26e832(0x3d0)](_0x1dd4f6);break;}}[_0x2466c1(0x25a)](_0xae6c66){const _0x252817=_0x2466c1,{unitIDs:_0x2bc715,memberID:_0x4e41e2,isForwarded:_0x326fe3}=_0xae6c66;_0x2bc715[_0x252817(0x21f)](_0x432034=>{const _0x3a016a=_0x252817;if(!_0x326fe3&&this['_unitOnClients'][_0x3a016a(0x155)](_0x432034)&&this[_0x3a016a(0x30e)](_0x432034)[_0x3a016a(0x37f)](u[_0x3a016a(0x290)]['OTHER_CLIENTS_EDITING']),!this[_0x3a016a(0x251)]['has'](_0x432034)||!this[_0x3a016a(0x251)][_0x3a016a(0x1e6)](_0x432034)[_0x3a016a(0x155)](_0x4e41e2)){const _0x12922c=this[_0x3a016a(0x251)][_0x3a016a(0x1e6)](_0x432034)||new Set();_0x12922c[_0x3a016a(0xfa)](_0x4e41e2),this[_0x3a016a(0x251)][_0x3a016a(0x2b6)](_0x432034,_0x12922c),this['_scheduleClearOtherTimer'](_0x4e41e2);}}),_0x326fe3||this[_0x252817(0x102)]({'type':0x0,'memberID':this[_0x252817(0x209)],'unitIDs':[...this[_0x252817(0x1d2)]],'isForwarded':!0x0});}[_0x2466c1(0x26b)](_0x114a67){const _0x3ae04e=_0x2466c1;this[_0x3ae04e(0x2bf)](_0x114a67);const _0x197da4=window['setTimeout'](()=>{const _0x2c5e6e=_0x3ae04e;this[_0x2c5e6e(0x251)][_0x2c5e6e(0x21f)](_0x431fe0=>{const _0x2c6a1e=_0x2c5e6e;_0x431fe0[_0x2c6a1e(0x327)](_0x114a67);});},we*0x2);this[_0x3ae04e(0x2f0)][_0x3ae04e(0x2b6)](_0x114a67,_0x197da4);}['_removeClearOtherTimer'](_0x55f15c){const _0x527ce4=_0x2466c1;if(this[_0x527ce4(0x2f0)][_0x527ce4(0x155)](_0x55f15c)){const _0xabd2cd=this[_0x527ce4(0x2f0)][_0x527ce4(0x1e6)](_0x55f15c);_0xabd2cd&&window[_0x527ce4(0x34d)](_0xabd2cd),this[_0x527ce4(0x2f0)][_0x527ce4(0x2b6)](_0x55f15c,null);}}[_0x2466c1(0x2f7)](_0x4b8610){const _0x3b1127=_0x2466c1,{memberID:_0x5c4996,unitIDs:_0x9b21f2}=_0x4b8610;_0x9b21f2[_0x3b1127(0x21f)](_0x2794a0=>{const _0x5351b1=_0x3b1127;var _0x392b79;const _0x59f4b1=this[_0x5351b1(0x251)][_0x5351b1(0x1e6)](_0x2794a0);_0x59f4b1&&(_0x59f4b1[_0x5351b1(0x327)](_0x5c4996),(_0x392b79=this[_0x5351b1(0x30e)](_0x2794a0))==null||_0x392b79[_0x5351b1(0x37f)](_0x59f4b1[_0x5351b1(0x2ed)]===0x0?u[_0x5351b1(0x290)][_0x5351b1(0x110)]:u[_0x5351b1(0x290)][_0x5351b1(0x170)]));}),this['_removeClearOtherTimer'](_0x5c4996);}['_handleHeartbeatEvent'](_0x481b9a){const _0x2d63e5=_0x2466c1;this[_0x2d63e5(0x26b)](_0x481b9a[_0x2d63e5(0x3c0)]);}['_send'](_0x5f3d23){const _0x2450ac=_0x2466c1;localStorage[_0x2450ac(0x2c7)](ye,JSON['stringify'](_0x5f3d23));}['_scheduleHeartbeat'](){const _0x19f837=_0x2466c1;this[_0x19f837(0x228)]=window[_0x19f837(0x342)](()=>{const _0x120472=_0x19f837;this[_0x120472(0x102)]({'type':0x2,'memberID':this[_0x120472(0x209)]});},we);}['_ensureSubject'](_0x4ee9b4){const _0x194643=_0x2466c1;return this[_0x194643(0x3ba)][_0x194643(0x155)](_0x4ee9b4)||this[_0x194643(0x3ba)]['set'](_0x4ee9b4,new I[(_0x194643(0x398))](u['UnitStatus'][_0x194643(0x110)])),this[_0x194643(0x3ba)][_0x194643(0x1e6)](_0x4ee9b4);}}function _0xdc31(_0x4b6a48,_0x34c4db){const _0x17446e=_0x1744();return _0xdc31=function(_0xdc31e3,_0x1a73e1){_0xdc31e3=_0xdc31e3-0xf4;let _0x4f0e2b=_0x17446e[_0xdc31e3];return _0x4f0e2b;},_0xdc31(_0x4b6a48,_0x34c4db);}exports[_0x2466c1(0x1e3)]=Oe,exports['SheetCollabCursorShape']=je,exports[_0x2466c1(0x2b5)]=fs,exports[_0x2466c1(0x2a1)]=ke;
|