@univerjs-pro/collaboration-client-ui 0.10.14-nightly.202511070640 → 0.10.14-nightly.202511070939
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/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/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/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/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 _0x3c753c=_0x3b4a;(function(_0x193c0d,_0x18d5af){const _0x566e18=_0x3b4a,_0x34da6e=_0x193c0d();while(!![]){try{const _0x4aa125=parseInt(_0x566e18(0x415))/0x1*(parseInt(_0x566e18(0x224))/0x2)+parseInt(_0x566e18(0x339))/0x3*(-parseInt(_0x566e18(0x340))/0x4)+-parseInt(_0x566e18(0x3d2))/0x5*(-parseInt(_0x566e18(0x315))/0x6)+-parseInt(_0x566e18(0x1cc))/0x7*(parseInt(_0x566e18(0x420))/0x8)+-parseInt(_0x566e18(0x41e))/0x9+-parseInt(_0x566e18(0x1bd))/0xa*(parseInt(_0x566e18(0x2f4))/0xb)+parseInt(_0x566e18(0x41a))/0xc*(parseInt(_0x566e18(0x3fe))/0xd);if(_0x4aa125===_0x18d5af)break;else _0x34da6e['push'](_0x34da6e['shift']());}catch(_0x3c8923){_0x34da6e['push'](_0x34da6e['shift']());}}}(_0x1e7c,0x693a4));var Ve=Object[_0x3c753c(0x2b8)],Ge=(_0x44fb24,_0x3a614a,_0x4b9677)=>_0x3a614a in _0x44fb24?Ve(_0x44fb24,_0x3a614a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b9677}):_0x44fb24[_0x3a614a]=_0x4b9677,_=(_0x2e63e5,_0x392f96,_0x14683b)=>Ge(_0x2e63e5,typeof _0x392f96!=_0x3c753c(0x314)?_0x392f96+'':_0x392f96,_0x14683b);function _0x3b4a(_0x2b39f7,_0x175f51){const _0x1e7cf0=_0x1e7c();return _0x3b4a=function(_0x3b4a8c,_0x21c025){_0x3b4a8c=_0x3b4a8c-0x190;let _0x545b39=_0x1e7cf0[_0x3b4a8c];return _0x545b39;},_0x3b4a(_0x2b39f7,_0x175f51);}Object['defineProperty'](exports,Symbol[_0x3c753c(0x392)],{'value':_0x3c753c(0x391)});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),p=require('@univerjs/design'),A=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),G=require('@univerjs/network'),T=require('@univerjs/docs-ui'),Ke=require('@univerjs/drawing'),v=require('@univerjs-pro/collaboration'),W=require('@univerjs/docs'),x=require('@univerjs/engine-formula'),$=require('rxjs/operators'),z=require('@univerjs/sheets-ui');function Ce({ref:_0x1acec8,..._0x8b28d9}){const _0xa9cb12=_0x3c753c,{icon:_0xe2d80f,id:_0xc16db0,className:_0x1d2ae6,extend:_0x3b63d1,..._0x16c729}=_0x8b28d9,_0x833780=(_0xa9cb12(0x2ed)+_0xc16db0+'\x20'+(_0x1d2ae6||''))[_0xa9cb12(0x3fb)](),_0x50b058=A[_0xa9cb12(0x297)]('_'+Je());return we(_0xe2d80f,''+_0xc16db0,{'defIds':_0xe2d80f[_0xa9cb12(0x1e2)],'idSuffix':_0x50b058[_0xa9cb12(0x2b7)]},{'ref':_0x1acec8,'className':_0x833780,..._0x16c729},_0x3b63d1);}function we(_0x26cde2,_0x55573d,_0x15d6ce,_0x5e63bf,_0x1ac36d){const _0x392404=_0x3c753c;return A[_0x392404(0x23f)](_0x26cde2[_0x392404(0x1d4)],{'key':_0x55573d,...qe(_0x26cde2,_0x15d6ce,_0x1ac36d),..._0x5e63bf},(ze(_0x26cde2,_0x15d6ce)[_0x392404(0x39a)]||[])[_0x392404(0x38d)]((_0x2babaa,_0x4c3133)=>we(_0x2babaa,_0x55573d+'-'+_0x26cde2[_0x392404(0x1d4)]+'-'+_0x4c3133,_0x15d6ce,void 0x0,_0x1ac36d)));}function qe(_0x31125c,_0x1f9061,_0x2f7958){const _0x59e157=_0x3c753c,_0x1f45e4={..._0x31125c[_0x59e157(0x2bc)]};_0x2f7958!=null&&_0x2f7958[_0x59e157(0x221)]&&_0x1f45e4[_0x59e157(0x2ab)]===_0x59e157(0x221)&&(_0x1f45e4[_0x59e157(0x2ab)]=_0x2f7958[_0x59e157(0x221)]),_0x31125c[_0x59e157(0x1d4)]==='mask'&&_0x1f45e4['id']&&(_0x1f45e4['id']=_0x1f45e4['id']+_0x1f9061[_0x59e157(0x3bd)]),Object[_0x59e157(0x254)](_0x1f45e4)[_0x59e157(0x21e)](([_0x57837a,_0x528d90])=>{const _0x20c2cb=_0x59e157;_0x57837a==='mask'&&typeof _0x528d90=='string'&&(_0x1f45e4[_0x57837a]=_0x528d90[_0x20c2cb(0x29e)](/url\(#(.*)\)/,_0x20c2cb(0x3ab)+_0x1f9061[_0x20c2cb(0x3bd)]+')'));});const {defIds:_0x1408e9}=_0x1f9061;return!_0x1408e9||_0x1408e9[_0x59e157(0x261)]===0x0||(_0x31125c['tag']===_0x59e157(0x448)&&_0x1f45e4[_0x59e157(0x1ab)]&&(_0x1f45e4['xlink:href']=_0x1f45e4[_0x59e157(0x1ab)]+_0x1f9061['idSuffix']),Object[_0x59e157(0x254)](_0x1f45e4)[_0x59e157(0x21e)](([_0x3834c9,_0x5d8d74])=>{const _0x3a7aac=_0x59e157;typeof _0x5d8d74==_0x3a7aac(0x193)&&(_0x1f45e4[_0x3834c9]=_0x5d8d74[_0x3a7aac(0x29e)](/url\(#(.*)\)/,_0x3a7aac(0x3ab)+_0x1f9061[_0x3a7aac(0x3bd)]+')'));})),_0x1f45e4;}function ze(_0x24741b,_0x2c8360){const _0x39cbd1=_0x3c753c;var _0x17042d;const {defIds:_0x7bd4}=_0x2c8360;return!_0x7bd4||_0x7bd4[_0x39cbd1(0x261)]===0x0?_0x24741b:_0x24741b[_0x39cbd1(0x1d4)]==='defs'&&((_0x17042d=_0x24741b[_0x39cbd1(0x39a)])!=null&&_0x17042d[_0x39cbd1(0x261)])?{..._0x24741b,'children':_0x24741b[_0x39cbd1(0x39a)]['map'](_0x5a3632=>typeof _0x5a3632['attrs']['id']==_0x39cbd1(0x193)&&_0x7bd4&&_0x7bd4[_0x39cbd1(0x272)](_0x5a3632['attrs']['id'])?{..._0x5a3632,'attrs':{..._0x5a3632['attrs'],'id':_0x5a3632[_0x39cbd1(0x2bc)]['id']+_0x2c8360[_0x39cbd1(0x3bd)]}}:_0x5a3632)}:_0x24741b;}function Je(){const _0x18a82c=_0x3c753c;return Math[_0x18a82c(0x30b)]()[_0x18a82c(0x3ba)](0x24)[_0x18a82c(0x3ae)](0x2,0x8);}Ce['displayName']='UniverIcon';const Ze={'tag':_0x3c753c(0x3c6),'attrs':{'xmlns':_0x3c753c(0x2eb),'fill':_0x3c753c(0x1d7),'viewBox':_0x3c753c(0x41b),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3c753c(0x2fb)},'children':[{'tag':_0x3c753c(0x430),'attrs':{'stroke':_0x3c753c(0x265),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3c753c(0x2b5),'strokeLinejoin':_0x3c753c(0x2b5),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3c753c(0x33a),'attrs':{'id':_0x3c753c(0x407)},'children':[{'tag':_0x3c753c(0x430),'attrs':{'fill':'white','d':_0x3c753c(0x344)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},ye=A[_0x3c753c(0x3e4)](function(_0x20e54c,_0x5e4219){const _0x55165a=_0x3c753c;return A[_0x55165a(0x23f)](Ce,Object[_0x55165a(0x2d2)]({},_0x20e54c,{'id':'off-line-icon','ref':_0x5e4219,'icon':Ze}));});ye[_0x3c753c(0x2aa)]=_0x3c753c(0x429);const Qe={'tag':_0x3c753c(0x3c6),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3c753c(0x1d7),'viewBox':_0x3c753c(0x35e),'width':_0x3c753c(0x322),'height':_0x3c753c(0x322)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x3c753c(0x265),'d':_0x3c753c(0x3ca),'strokeLinecap':_0x3c753c(0x2b5),'strokeLinejoin':_0x3c753c(0x2b5),'strokeWidth':1.2}}]},{'tag':_0x3c753c(0x39b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3c753c(0x3bc)},'children':[{'tag':_0x3c753c(0x430),'attrs':{'fill':_0x3c753c(0x1fe),'d':'M0\x200H16V16H0z','transform':_0x3c753c(0x26b)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},$e=A[_0x3c753c(0x3e4)](function(_0x4978b4,_0x411bb9){const _0x555f94=_0x3c753c;return A[_0x555f94(0x23f)](Ce,Object[_0x555f94(0x2d2)]({},_0x4978b4,{'id':'on-line-icon','ref':_0x411bb9,'icon':Qe}));});$e['displayName']=_0x3c753c(0x334);function et(_0x5935ae){const _0x187bec=_0x3c753c;switch(_0x5935ae){case u[_0x187bec(0x3d9)][_0x187bec(0x44a)]:return _0x187bec(0x3a6);case u[_0x187bec(0x3d9)][_0x187bec(0x41c)]:return _0x187bec(0x44d);case u['CollaborationStatus'][_0x187bec(0x1f6)]:return _0x187bec(0x2a3);case u[_0x187bec(0x3d9)][_0x187bec(0x273)]:return _0x187bec(0x2cf);case u[_0x187bec(0x3d9)][_0x187bec(0x192)]:case u[_0x187bec(0x3d9)][_0x187bec(0x423)]:return _0x187bec(0x2dd);case u[_0x187bec(0x3d9)][_0x187bec(0x3a7)]:case u[_0x187bec(0x3d9)][_0x187bec(0x26a)]:return _0x187bec(0x35f);}}function tt(_0x1d0b04){const _0x378f6b=_0x3c753c,{status$:_0x1eefb8}=_0x1d0b04,_0x2ec1d8=O['useObservable'](_0x1eefb8,u[_0x378f6b(0x3d9)][_0x378f6b(0x273)]),_0x28e734=O[_0x378f6b(0x24e)](a[_0x378f6b(0x2e3)]),_0x16a76c=O[_0x378f6b(0x24e)](u[_0x378f6b(0x26f)]),_0x2b2d91=_0x2ec1d8!==u['CollaborationStatus']['OFFLINE'],_0x32a536=_0x28e734['t'](et(_0x2ec1d8)),_0x4c3f59=_0x2b2d91?M['jsx']($e,{}):M[_0x378f6b(0x3f7)](ye,{}),_0x1fcfbf=A[_0x378f6b(0x39f)](()=>{const _0x296cc7=_0x378f6b;_0x2b2d91||_0x16a76c[_0x296cc7(0x215)]();},[_0x2b2d91,_0x16a76c]);function _0x1a2e93(){const _0x45958c=_0x378f6b;return M[_0x45958c(0x3c5)]('div',{'className':_0x45958c(0x3dc),'onClick':_0x1fcfbf,'children':[M['jsx'](_0x45958c(0x357),{'className':p[_0x45958c(0x21d)](_0x45958c(0x386),{'univer-text-green-500':_0x2b2d91,'univer-text-red-500':!_0x2b2d91}),'children':_0x4c3f59}),M[_0x45958c(0x3f7)](_0x45958c(0x357),{'className':_0x45958c(0x2d1),'children':_0x32a536})]});}return _0x2b2d91?_0x1a2e93():M[_0x378f6b(0x3f7)](p[_0x378f6b(0x1e1)],{'title':_0x28e734['t'](_0x378f6b(0x241)),'children':_0x1a2e93()});}var st=Object['getOwnPropertyDescriptor'],it=(_0x26d745,_0x58cce4,_0x276b6c,_0x4a71c8)=>{const _0x46a4f2=_0x3c753c;for(var _0x2ec191=_0x4a71c8>0x1?void 0x0:_0x4a71c8?st(_0x58cce4,_0x276b6c):_0x58cce4,_0xc1ebdc=_0x26d745[_0x46a4f2(0x261)]-0x1,_0x3230ef;_0xc1ebdc>=0x0;_0xc1ebdc--)(_0x3230ef=_0x26d745[_0xc1ebdc])&&(_0x2ec191=_0x3230ef(_0x2ec191)||_0x2ec191);return _0x2ec191;},K=(_0x6eb0a2,_0x298209)=>(_0x136800,_0x1ad1d8)=>_0x298209(_0x136800,_0x1ad1d8,_0x6eb0a2);function _0x1e7c(){const _0x40953e=['RevisionService','WebBrowserSingleActiveUnitService','includes','NOT_COLLAB','MOBILE_VERIFY_CODE_MISMATCH','REDEMPTION_CODE_NOT_STARTED','isActive','_showGuardMessage','IDocClipboardService','_document','RECT','YUUMI_ASYNCIO_CANCELLED','_onCursorDelete','_ensureSubject','NodePositionConvertToRectRange','saveImage','transformRemoteChangeset','IUniverInstanceService','totalFormulasToCalculate','get','_updateURLWithCurrentState','registerRefRange','COMPLETION_FINISHED','_registerDependencies','_renderManagerService','black','ticket','_hasFormulaInDirtyRanges','onPointerEnter$','transformByState','event$','range','_collabCursorController','undoState','mapTo','uni.network.url-service','transformMutation','restore','_docSkeletonManagerService','useRef','SNAPSHOT_INVALID_SNAPSHOT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setInterval','code','_disabled','MemberService','replace','pluginName','saveTaskMap','transformIMECache','_context','collabStatus.fetchMiss','InsertRangeMoveDownCommandId','BrowserCollaborationSocketService','text','ITransformService','_localStorageService','size','displayName','fill','textRanges','Optional','_initDependencies','PAYMENT_CHANNEL_NOT_SUPPORT','RichTextEditingMutation','getColorFromTheme','APPLY_REVISION_CONFILICT','enableLocalCache','SUBMIT_CHANGESET_TIMEOUT','round','result','current','defineProperty','INVITE_CODE_REQUIRED','getLocalCacheKey','name','attrs','getMember','_initCommandInterceptor','IUIPartsService','_transformService','IRenderManagerService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getMergeRange','transformSelections','PERMISSION_DENIED','href','getSheetObject','subUnitId','dispose$','transformMutationsWithChangeset','_beforeCloseService','_docClipboardService','startFormulaLimitUrl','ERROR_AGAIN','collabStatus.notCollab','hide','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','assign','ILocalCacheService','min','ranges','CHANGESET_REVISION_CONFILICT','has','INVITE_CODE_ALREADY_BOUND','pushState','_docSkeleton','activeSheet$','status$','collabStatus.syncing','contains','addObjects','sheetId','getCurrentRevOfUnit','getAncestorScale','LocaleService','LICENSE_DISTRO_REJECTED','beforeCommandExecuted','Warning','_docTransformSelectionsService','INVALID_INVITE_CODE','SNAPSHOT_HAS_BEEN_REMOVED','handleDeleteRangeMoveUp','http://www.w3.org/2000/svg','font','univerjs-icon\x20univerjs-icon-','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CONNECTOR_DATA_TOO_LARGE','m1Prime','_removeCollabCursors','currentTheme$','exhaustSavingTask','759847ZRUZTL','replaceDocRanges','unitId','redoState','doc.mutation.rich-text-editing','next','_updateLocalCursor','url(#off-line-icon_clip0_910_343)','yellow.400','save','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','blue.400','WECHAT_HAS_BEEN_BOUND','collabCursorState$','newValue','Inject','getCollabCursors$','data','limitInfo','handleIRemoveRow','_scheduleHeartbeat','addHandlerCallback','rgba(255,\x20255,\x20255,\x200.01)','random','_localCacheService','UNDEFINED','stageInfo','_univerInstanceService','_cursorInfo$','searchParams','memberID','HTTPService','symbol','6MQqOjN','LOCAL_CACHE_INTERVAL','measureText','_cachedData','_docSyncEditingCollabCursorService','collab-text-anchor-','onRendered','InsertColCommandId','DocSkeletonManagerService','_saveTaskMap','_checkAndWaitForCalculationPermission','getTypeOfUnitAdded$','UPDATE_CURSOR','1em','find','_heartbeatTimer','urlChange$','getConfig','_createSocketURL','_removeClearOtherTimer','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getViewport','loadUnit','INTERNAL_ERROR','_colorIndex','session.connection-failed','imageSourceType','registerBeforeClose','...','getCurrentSelections','send','OnLineIcon','subscribe','isFormulaId','flatMap','_handleLeaveEvent','36GtjLhR','clipPath','updateOfflineData','onCommandExecuted','setTimeout','moveTo','USER_NOT_FOUND','198984bBcoNT','_eventUnsubscribe','YUUMI_SUBSCRIPTION_NOT_FOUND','max','M0\x200H16V16H0z','_entityInit$','formula.calculation.started','runRefRangeMutations','#FFF','_getScale','_initStatusComponent','IBeforeCloseService','height','_getAnchorBounding','_memberService','getRangePointData','LOGIN_TOKEN_PROCESSING_FAILED','_setupBeforeClosingHandler','_shapes','_urlService','getVpScrollXYInfoByPosToVp','runOnServer','width','div','FromArray','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_NEED_BILLING_ADDRESS','TEXT','transformStateCache','getOwnPropertyDescriptor','0\x200\x2017\x2016','collabStatus.synced','_docTransformIMECacheService','endRow','application/json','labelPosition','parse','_color','getUndoRedoMutationParamsCache','MOBILE_HAS_BEEN_BOUND','disposeWithMe','REDEMPTION_CODE_HAS_BEEN_CREATED','addClipboardHook','IRemoteInstanceService','_labelPosition','INVALID_ARGUMENT','SetFormulaCalculationNotificationMutation','serializeRangeWithSheet','handleInsertRow','UniverInstanceType','_transformPreviousActiveRange','_drawTextRange','ENTITLE_CAN_NOT_BUY_LOWER_OTP','APPLY_NON_SEQUENTIAL_REVISION','_getFormulaLimitStatus','_getSaveTimeout','CollaborationUIEventId','_checkCalculationAvailable','getOffsetConfig','column','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','RefRangeService','getActiveRange','_initEntityListener','combineLatest','setStateCache','top','Subject','_init','UnitStatus','univer-mr-2\x20univer-flex\x20univer-text-xl','override','_hover','debounceTime','ThemeService','ENTITLE_INSUFFICIENT_QUOTA','getUnitId','map','_revisionService','setParam','ENSURE_SNAPSHOT_EXECUTION','Module','toStringTag','getSheetBySheetId','fromEvent','_roomMembers$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','DocStateChangeManagerService','SessionStatus','_startSheetCollabCursor','children','defs','isTransformMutationsWithChangesetSuccess','skeleton','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','useCallback','actions','transform','findNodePositionByCharIndex','_pollingInterval','isTransformMutationFailure','_colorAssignService','collabStatus.offline','SYNCED','YUUMI_UNABLE_LOAD_URL','connectInjector','_initEvent','url(#$1','_drawRectRange','EMAIL_HAS_BEEN_BOUND','substring','getMemberID','color','purple.300','_anchor','Vector2','debounce','_assignedColors','APPLY_REJECT','ILogService','INVITE_CODE_HAS_BEEN_UES','JOIN_ROOM_FAILED','toString','runId','on-line-icon_clip0_910_349','idSuffix','UNRECOGNIZED','ColorKit','_taskIds','Success','BehaviorSubject','createIdentifier','INotificationService','jsxs','svg','currentUsage','_config','handleInsertRangeMoveRight','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','NO_OTHER_CLIENTS_EDITING','selection','_getSheetObject','_unitStatus','_backgroundColor','getStateCache','some','1834405sdKRCc','_collaborationUIEventService','stringify','triggerDblclick','disposeUnit','YUUMI_RATE_OVER_LIMIT','getCollabEntity$','CollaborationStatus','CanceledError','_handleHeartbeatEvent','univer-flex\x20univer-items-center','_scene','debug','_updateSubUnitFromURLParams','getCurrent','getRelativeToViewportCoord','SetSelectionsOperation','/run/','forwardRef','SetDocZoomRatioOperation','_collabCursorState$','permission.content','backgroundColor','AUTHORIZE_CODE_ILLEGAL','getItem','deepClone','params','_clearPolling','_unitOnClients','collaboration.closeRoom','now','fillText','replaceState','bottom','registerComponent','fillStyle','formula.calculation.unable','jsx','arc','_imageIoService','_logService','trim','then','PY_RUNTIME_SCRIPT_ERROR','3783481rpknAa','Shape','Plugin','Disposable','RemoveRowCommandId','push','createInstance','ENTITLE_REPORT_LIMIT_EXCEED','SheetCollabCursorShape','off-line-icon_clip0_910_343','setActiveRange','_setupSubUnitSync','SOCKET_FAILED_RETRY','_startCalculationLimit','throttleTime','syncEditingCollabCursor','_id','_textBubble','CollaborationUIEventService','_docStateChangeManagerService','currentSkeleton$','_getSessionTicket','dispose','1APFaic','YUUMI_AI_RUN_FAILED','from','ICommandService','YUUMI_URL_COL_OUT_OF_RANGE','72Scjpwh','0\x200\x2016\x2016','CONFLICT','getColor','332649wTFxcv','set','6713656VhbwnU','values','executionId','AWAITING_WITH_PENDING','addObject','registerRenderModule','REDEMPTION_USER_NOT_ELIGIBLE','_onCursorUpdate','VIEW_MAIN','OffLineIcon','Workbook','REDEMPTION_CODE_INACTIVE','_localeService','functionsExecutedState','_instanceService','resize','path','merge','UniverCollaborationClientUIPlugin','collaboration-client.offline-data-not-saved','_cursorShapes','getDocRanges','_scheduleClearOtherTimer','_anchorDot','focused$','subscribeEvent','_applyCommand','SUCCESS','popstate','CollaborationDataLoaderController','COLORS','mutations','docStateChange$','FormulaExecuteStageType','MessageType','_configService','_transformHistoryAndStateStack','ILocalStorageService','/universer-api/license/formula/limit/start','cursorInfo','use','[RemoteUniscriptService]:\x20no\x20focused\x20unit','OFFLINE','unshift','fromEventSubject','collabStatus.conflict','_clearOtherTimers','YUUMI_NO_CUBOID_FOR_QUESTION','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_online','error','jiqing.500','getActiveSheet','_transformUndoRedoStack','_name','AWAITING','string','mergeOverrideWithDependencies','_docTransformStateCacheService','registerDependencies','takeUntil','WebSocketService','RegularPolygon','body','DesktopCollaborationStatusDisplayController','lineTo','shift','_sheetSkeletonManagerService','_lastPointer','executeCommand','collaboration-client-ui.config','_registerRenderDependencies','ISnapshotServerService','_releaseCalculationLimit','with','evenodd','RemoteUniscriptService','DATA_SOURCE_TOO_LARGE','RemoveColCommandId','location','xlink:href','key','_handleEvent','_hideTimer','_hovered','requireSession','onPointerMove$','onLocalMutation','ONLINE','UNIVER_SHEET','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_toggleOffline','_status$','handleIRemoveCol','_refreshCollabCursors','_startDocCollabCursor','SetWorksheetActivateCommand','InsertRowCommandId','50xRkQYG','toRgbString','drawWith','storage','REDEMPTION_USER_REDEEM_TIMES_EXCEED','UNAUTHENTICATED','_themeService','add','Injector','complete','Failed','CollaborationController','getformulaLimitStatusUrl','editingUnit','UNIVER_DOC','7pChhrI','_initResize','_initStatusListener','_handleJoinEvent','LICENSE_IMPORT_SIZE_EXCEEDED','releaseFormulaLimitUrl','NOT_FOUND','EffectRefRangId','tag','_scheduleSaving','subunit','none','assignAColorForMemberID','unit','split','Error','_cursor','onPointerLeave$','ACTIVE_UNIT_EVENT_CHANNEL','switchMap','SOCKET_FAILED','Tooltip','defIds','handleMoveRange','Unknown\x20user','startColumn','post','toDisposable','HEADER_MENU','USER_IS_ANONYMOUS','IMessageService','IURLService','EMAIL_VERIFY_CODE_MISMATCH','setItem','CollaborationEvent','_draw','_selfUnitIDs','CURRENT_STATUS_CANNOT_OPERATE','REDEMPTION_INVALID_CODE','_commandService','TOO_MANY_REQUESTS','red.300','FETCH_MISS','YUUMI_CONNECTOR_URL_NOT_FOUND','_currentUsage','disableLocalCache','DataLoaderService','getValue','_handleHover','filter','white','isArray','_dataLoaderService','getTypeOfUnitDisposed$','isEditing','RxDisposable','_setFormulaLimitStatus','SheetsSelectionsService','ENTITLE_CHAT_LIMIT_EXCEED','/universer-api/license/formula/limit/done','init','source','roomMembers$','unitID','setConfig','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','YUUMI_ALL_TABLES_IS_INVALID','makeDirty','_toggleOnline','getSheetId','_collaborationController','USERS_LEAVE','unsubscribe','reconnect','fillRule','Rect','clearInterval','getParam','startRow','_doCreateSocket','_lastResponseTimestamp','clsx','forEach','_maxFormulaLimit','stage','colorChannel1','dirtyRanges','DeleteRangeMoveLeftCommandId','272828dqMNGp','getSkeleton','_messageService','_onRefRangeChange','_entities','_send','_range','onMouseMove','_injector','REDEMPTION_CODE_FULLY_REDEEMED','ENTITLE_DUP_SUBSCRIPTION','selections','history','OTHER_CLIENTS_EDITING','Rectangle','setAlpha','USER_NOT_INVITED_CODE','startsWith','show','_session','setShapeProps','Tools','cursorInfo$','_refRangeService','pipe','getFocusedUnit','[CollaborationDataLoaderController]','createElement','APPLY_PERMISSION_DENIED','collab-client.tooltip.reconnect','saveOfflineData','DocIMEInputManagerService','_cursors','createSocket','onStarting','getUnit','ALREADY_EXISTS','IConfigService','_syncEditingCollabCursorService','_updateCollabCursors','LOGIN_FAILED','_httpService','useDependency','distinctUntilChanged','_notificationService','handleInsertCol','session.collaboration-timeout','_collabSessionService','entries','asObservable','IImageIoService','generateRandomId','clearTimeout','DocCollaborationEntity','handleDeleteRangeMoveLeft','m2Prime','type','DocSelectionManagerService','MoveRangeCommandId','collab-rect-range-','sessionStatus$','length','delete','?taskId=','endColumn','currentColor','APPLY_DUPLICATED','_render','CommandType','_saveCache','PENDING','translate(.97)','TEXT_RANGE_LAYER_INDEX','DOC_RANGE_TYPE','Loading','CollaborationSessionService'];_0x1e7c=function(){return _0x40953e;};return _0x1e7c();}exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x3c753c(0x401)]{constructor(_0x21c1c1,_0x202362,_0xdb8e0d,_0x31dee0){const _0x199876=_0x3c753c;super(),_(this,_0x199876(0x1b7),new I['BehaviorSubject'](u['CollaborationStatus'][_0x199876(0x273)])),(this[_0x199876(0x30f)]=_0x21c1c1,this['_injector']=_0x202362,this[_0x199876(0x212)]=_0xdb8e0d,this['_uiPartsService']=_0x31dee0,this[_0x199876(0x34a)](),this['_initStatusListener']());}[_0x3c753c(0x1ce)](){const _0x5461b2=_0x3c753c;this[_0x5461b2(0x368)](this[_0x5461b2(0x30f)][_0x5461b2(0x438)]['pipe'](I[_0x5461b2(0x1df)](()=>{const _0x10b642=_0x5461b2,_0x80a6df=this[_0x10b642(0x30f)][_0x10b642(0x23d)]();return _0x80a6df?this[_0x10b642(0x212)][_0x10b642(0x3d8)](_0x80a6df[_0x10b642(0x38c)]()):I['of'](null);}),I[_0x5461b2(0x1df)](_0x2743a1=>_0x2743a1?_0x2743a1[_0x5461b2(0x2dc)]:I['of'](u['CollaborationStatus']['NOT_COLLAB'])))[_0x5461b2(0x335)](_0x46d401=>{const _0xc6475=_0x5461b2;this[_0xc6475(0x1b7)][_0xc6475(0x2f9)](_0x46d401);}));}['_initStatusComponent'](){const _0x282674=_0x3c753c;this['disposeWithMe'](this['_uiPartsService'][_0x282674(0x3f4)](O['BuiltInUIPart'][_0x282674(0x1e8)],()=>O[_0x282674(0x3a9)](nt({'status$':this['_status$'][_0x282674(0x255)]()}),this[_0x282674(0x22c)])));}},exports[_0x3c753c(0x19b)]=it([K(0x0,a[_0x3c753c(0x281)]),K(0x1,a[_0x3c753c(0x303)](a[_0x3c753c(0x1c5)])),K(0x2,a[_0x3c753c(0x303)](u[_0x3c753c(0x1c8)])),K(0x3,O[_0x3c753c(0x2bf)])],exports['DesktopCollaborationStatusDisplayController']);function nt(_0x48fd62){const {status$:_0x1632a6}=_0x48fd62;return function(){return M['jsx'](tt,{'status$':_0x1632a6});};}const Te=a[_0x3c753c(0x3c3)](_0x3c753c(0x293));var rt=Object[_0x3c753c(0x35d)],ot=(_0x4e7b2d,_0x1e7569,_0x5ec926,_0x177665)=>{const _0x34455e=_0x3c753c;for(var _0x2380f8=_0x177665>0x1?void 0x0:_0x177665?rt(_0x1e7569,_0x5ec926):_0x1e7569,_0x346316=_0x4e7b2d[_0x34455e(0x261)]-0x1,_0x1e9766;_0x346316>=0x0;_0x346316--)(_0x1e9766=_0x4e7b2d[_0x346316])&&(_0x2380f8=_0x1e9766(_0x2380f8)||_0x2380f8);return _0x2380f8;},j=(_0x3368f0,_0xcf70a5)=>(_0x4ebdf6,_0x4f045e)=>_0xcf70a5(_0x4ebdf6,_0x4f045e,_0x3368f0);exports[_0x3c753c(0x43d)]=class extends a[_0x3c753c(0x203)]{constructor(_0x587d41,_0x54fd4d,_0x3440f5,_0x1f517e,_0x363501){const _0x49ebba=_0x3c753c;super(),this[_0x49ebba(0x353)]=_0x587d41,this['_logService']=_0x54fd4d,this['_commandService']=_0x3440f5,this[_0x49ebba(0x200)]=_0x1f517e,_0x363501?_0x363501==null||_0x363501['whenReady']()[_0x49ebba(0x3fc)](()=>this['_init']()):(this[_0x49ebba(0x3fa)][_0x49ebba(0x3de)](_0x49ebba(0x23e),_0x49ebba(0x450)),this[_0x49ebba(0x384)]());}async[_0x3c753c(0x384)](){const _0x59e74a=_0x3c753c,_0xc0d69e=this[_0x59e74a(0x353)]['getParam'](_0x59e74a(0x1d9)),_0x26dbd9=this[_0x59e74a(0x353)][_0x59e74a(0x219)](_0x59e74a(0x25c)),_0x31457f=this[_0x59e74a(0x353)][_0x59e74a(0x219)]('subunit');if(!_0xc0d69e||!_0x26dbd9){this[_0x59e74a(0x3fa)][_0x59e74a(0x3de)](_0x59e74a(0x23e),_0x59e74a(0x396));return;}const _0x5dd801=await this[_0x59e74a(0x200)][_0x59e74a(0x32b)](_0xc0d69e,Number(_0x26dbd9),_0x31457f);_0x5dd801&&_0x5dd801 instanceof a[_0x59e74a(0x42a)]&&this[_0x59e74a(0x409)](_0x5dd801);}async[_0x3c753c(0x409)](_0x404872){const _0x533121=_0x3c753c;await this[_0x533121(0x3df)](_0x404872),_0x404872[_0x533121(0x2db)][_0x533121(0x23c)](I[_0x533121(0x197)](this['dispose$']))[_0x533121(0x335)](_0xb98552=>{const _0x26178f=_0x533121;_0xb98552&&this[_0x26178f(0x284)](_0xb98552);}),this['_urlService']['urlChange$'][_0x533121(0x23c)](I['takeUntil'](this['dispose$']))[_0x533121(0x335)](()=>this[_0x533121(0x3df)](_0x404872));}[_0x3c753c(0x284)](_0x24ba1e,_0xf8c901=!0x1){const _0x160067=_0x3c753c,_0x2b2eed=this[_0x160067(0x353)][_0x160067(0x219)]('subunit');_0x24ba1e[_0x160067(0x211)]()!==_0x2b2eed&&this[_0x160067(0x353)][_0x160067(0x38f)]('subunit',_0x24ba1e[_0x160067(0x211)](),_0xf8c901);}async[_0x3c753c(0x3df)](_0x280294){const _0x30cab8=_0x3c753c;var _0x39f3ba;const _0x5afe6f=this[_0x30cab8(0x353)][_0x30cab8(0x219)](_0x30cab8(0x1d6));if(!_0x5afe6f||!_0x280294[_0x30cab8(0x393)](_0x5afe6f)){const _0x2ad9d4=_0x280294['getUnhiddenWorksheets']()[0x0],_0x5cb8df=_0x280294[_0x30cab8(0x393)](_0x2ad9d4);if(!_0x5cb8df)return;this[_0x30cab8(0x284)](_0x5cb8df,!0x0),await this[_0x30cab8(0x1f3)][_0x30cab8(0x1a0)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x280294[_0x30cab8(0x38c)](),'subUnitId':_0x2ad9d4});return;}((_0x39f3ba=_0x280294[_0x30cab8(0x454)]())==null?void 0x0:_0x39f3ba['getSheetId']())!==_0x5afe6f&&await this[_0x30cab8(0x1f3)]['executeCommand'](g[_0x30cab8(0x1bb)]['id'],{'unitId':_0x280294[_0x30cab8(0x38c)](),'subUnitId':_0x5afe6f});}},exports[_0x3c753c(0x43d)]=ot([j(0x0,Te),j(0x1,a[_0x3c753c(0x3b7)]),j(0x2,a[_0x3c753c(0x418)]),j(0x3,a[_0x3c753c(0x303)](u[_0x3c753c(0x1fa)])),j(0x4,a[_0x3c753c(0x2ad)](Xe[_0x3c753c(0x36b)]))],exports[_0x3c753c(0x43d)]);var at=Object[_0x3c753c(0x35d)],ct=(_0x22c0d0,_0x562b76,_0x50272c,_0x5520cf)=>{for(var _0x1f31e7=_0x5520cf>0x1?void 0x0:_0x5520cf?at(_0x562b76,_0x50272c):_0x562b76,_0x435e62=_0x22c0d0['length']-0x1,_0x3b9f37;_0x435e62>=0x0;_0x435e62--)(_0x3b9f37=_0x22c0d0[_0x435e62])&&(_0x1f31e7=_0x3b9f37(_0x1f31e7)||_0x1f31e7);return _0x1f31e7;},Re=(_0x40a9c2,_0x445198)=>(_0x5a5c4e,_0x599424)=>_0x445198(_0x5a5c4e,_0x599424,_0x40a9c2);let de=class extends a['RxDisposable']{constructor(_0x2a2cc4,_0x460d5e){const _0x47c407=_0x3c753c;super(),this['_docClipboardService']=_0x2a2cc4,this[_0x47c407(0x3f9)]=_0x460d5e,this[_0x47c407(0x384)]();}[_0x3c753c(0x384)](){const _0x1dad88=_0x3c753c,_0x4771e7=this;this[_0x1dad88(0x368)](this[_0x1dad88(0x2cc)][_0x1dad88(0x36a)]({'onBeforePasteImage':async _0x806dce=>{const _0x60b047=_0x1dad88,_0x5bf216=await _0x4771e7[_0x60b047(0x3f9)][_0x60b047(0x27f)](_0x806dce);return _0x5bf216?{'source':_0x5bf216[_0x60b047(0x209)],'imageSourceType':_0x5bf216[_0x60b047(0x32f)]}:null;}}));}};de=ct([Re(0x0,T[_0x3c753c(0x278)]),Re(0x1,Ke[_0x3c753c(0x256)])],de);const be=[_0x3c753c(0x3b1),_0x3c753c(0x453),'green.600',_0x3c753c(0x1f5),_0x3c753c(0x2ff),_0x3c753c(0x2fc)];class pe extends a[_0x3c753c(0x401)]{constructor(){const _0x2034a1=_0x3c753c;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x2034a1(0x32d),0x0);}[_0x3c753c(0x1d8)](_0x5a9905){const _0x54c0df=_0x3c753c;if(this['_assignedColors']['has'](_0x5a9905))return this[_0x54c0df(0x3b5)][_0x54c0df(0x283)](_0x5a9905);const _0x49e95=be[this[_0x54c0df(0x32d)]];return this['_colorIndex']=(this[_0x54c0df(0x32d)]+0x1)%be[_0x54c0df(0x261)],this[_0x54c0df(0x3b5)][_0x54c0df(0x41f)](_0x5a9905,_0x49e95),_0x49e95;}}function xe(_0x1f74b1){const _0x2a408f=_0x3c753c;let _0x43df84='';for(const _0x3fe5ee of _0x1f74b1){const {startOffset:_0x1211fa,endOffset:_0x4d15ae,isActive:_0x1d1394,rangeType:_0x32d66d,segmentId:_0x15e585,segmentPage:_0x44467b}=_0x3fe5ee;_0x43df84[_0x2a408f(0x261)]&&(_0x43df84+=','),_0x43df84+=_0x1211fa+':'+_0x4d15ae+':'+(_0x1d1394?'1':'0')+':'+_0x32d66d+':'+_0x15e585+':'+_0x44467b;}return _0x43df84;}function lt(_0x223b9b){const _0x231969=_0x3c753c,_0x1d703f=_0x223b9b[_0x231969(0x1da)](','),_0x1b8abe=[];for(const _0x6b37f1 of _0x1d703f){const [_0x48c0ba,_0x4d9052,_0x25768f,_0x5c448c,_0x46e001,_0x517a9f]=_0x6b37f1[_0x231969(0x1da)](':');_0x1b8abe[_0x231969(0x403)]({'startOffset':Number(_0x48c0ba),'endOffset':Number(_0x4d9052),'collapsed':_0x48c0ba===_0x4d9052,'isActive':_0x25768f==='1','rangeType':_0x5c448c===a[_0x231969(0x26d)]['TEXT']?a['DOC_RANGE_TYPE'][_0x231969(0x35b)]:a['DOC_RANGE_TYPE'][_0x231969(0x27a)],'segmentId':typeof _0x46e001==_0x231969(0x193)?String(_0x46e001):'','segmentPage':Number(_0x517a9f!=null?_0x517a9f:-0x1)});}return _0x1b8abe[_0x231969(0x3d1)](_0x2d9455=>_0x2d9455[_0x231969(0x276)])||(_0x1b8abe[0x0][_0x231969(0x276)]=!0x0),_0x1b8abe;}class Oe extends a[_0x3c753c(0x203)]{constructor(){const _0x1745b1=_0x3c753c;super(...arguments),_(this,_0x1745b1(0x3e6),new I['BehaviorSubject'](null)),_(this,_0x1745b1(0x301),this[_0x1745b1(0x3e6)][_0x1745b1(0x255)]());}[_0x3c753c(0x40d)](_0x215c91){const _0x168c34=_0x3c753c,{unitID:_0x4b426e,memberID:_0x5cba2d,textRanges:_0x4bcfd5}=_0x215c91,_0x4d7e4e=xe(_0x4bcfd5);if(_0x4d7e4e==='')return;const _0x172928={'unitID':_0x4b426e,'memberID':_0x5cba2d,'selection':_0x4d7e4e};this[_0x168c34(0x3e6)][_0x168c34(0x2f9)](_0x172928);}}var _t=Object[_0x3c753c(0x35d)],ht=(_0x5c9aed,_0x1e2350,_0x5ab141,_0x44a9d3)=>{const _0x4efb53=_0x3c753c;for(var _0x2e3d24=_0x44a9d3>0x1?void 0x0:_0x44a9d3?_t(_0x1e2350,_0x5ab141):_0x1e2350,_0x1f5cfd=_0x5c9aed[_0x4efb53(0x261)]-0x1,_0x3aa2c4;_0x1f5cfd>=0x0;_0x1f5cfd--)(_0x3aa2c4=_0x5c9aed[_0x1f5cfd])&&(_0x2e3d24=_0x3aa2c4(_0x2e3d24)||_0x2e3d24);return _0x2e3d24;},U=(_0x2d203f,_0x1a46fc)=>(_0x141737,_0xf79955)=>_0x1a46fc(_0x141737,_0xf79955,_0x2d203f);const ut=0x12c,It=0x64;let fe=class extends a[_0x3c753c(0x203)]{constructor(_0x35ab8d,_0x288e96,_0x3f4139,_0x58bf01,_0xf32433,_0x25af34,_0x318c0e,_0x454cd9,_0x570dd0){const _0x32b521=_0x3c753c;super(),_(this,'_online',!0x1),_(this,_0x32b521(0x384),!0x1),_(this,_0x32b521(0x310),new I[(_0x32b521(0x3c2))](new Map())),_(this,_0x32b521(0x23a),this[_0x32b521(0x310)]['asObservable']()),_(this,'_roomMembers$',new I[(_0x32b521(0x3c2))]([])),_(this,_0x32b521(0x20a),this[_0x32b521(0x395)][_0x32b521(0x23c)](I[_0x32b521(0x389)](ut))),_(this,'_updateLocalCursor',a[_0x32b521(0x3b4)](_0x8b272=>{const _0x1848c9=_0x32b521,_0x237657={'eventID':v[_0x1848c9(0x1ee)][_0x1848c9(0x321)],'data':{'unitID':this[_0x1848c9(0x20b)],'memberID':this[_0x1848c9(0x237)]['getMemberID'](),'selection':xe(_0x8b272)}};this['_session']['send'](_0x237657,this['unitID']);},It)),(this[_0x32b521(0x20b)]=_0x35ab8d,this[_0x32b521(0x237)]=_0x288e96,this[_0x32b521(0x22c)]=_0x3f4139,this[_0x32b521(0x3a5)]=_0x58bf01,this[_0x32b521(0x34e)]=_0xf32433,this[_0x32b521(0x24a)]=_0x25af34,this[_0x32b521(0x2c0)]=_0x318c0e,this[_0x32b521(0x30f)]=_0x454cd9,this['_commandService']=_0x570dd0);}get['cursorInfo'](){const _0x3dfd2e=_0x3c753c;return this[_0x3dfd2e(0x310)][_0x3dfd2e(0x1fb)]();}get['roomMembers'](){const _0x5ce3d6=_0x3c753c;return this[_0x5ce3d6(0x395)][_0x5ce3d6(0x1fb)]();}['dispose'](){const _0x4915e2=_0x3c753c;super[_0x4915e2(0x414)](),this[_0x4915e2(0x310)]['next'](new Map()),this[_0x4915e2(0x310)]['complete'](),this[_0x4915e2(0x395)][_0x4915e2(0x2f9)]([]),this[_0x4915e2(0x395)][_0x4915e2(0x1c6)]();}[_0x3c753c(0x208)](){const _0x360317=_0x3c753c;this['_init']||(this[_0x360317(0x384)]=!0x0,this[_0x360317(0x237)][_0x360317(0x260)]['pipe'](I[_0x360317(0x197)](this[_0x360317(0x2c9)]))[_0x360317(0x335)](_0x3f82d4=>{const _0x1a8934=_0x360317;_0x3f82d4===u[_0x1a8934(0x398)][_0x1a8934(0x1b3)]?this[_0x1a8934(0x210)]():this[_0x1a8934(0x1b6)]();}),this['_session'][_0x360317(0x28e)]['pipe'](I[_0x360317(0x197)](this[_0x360317(0x2c9)]))[_0x360317(0x335)](_0x1144bc=>{const _0x525e65=_0x360317,_0x3bb011=_0x1144bc['eventID'];_0x3bb011===v[_0x525e65(0x1ee)][_0x525e65(0x321)]&&this[_0x525e65(0x427)](_0x1144bc),_0x3bb011===v[_0x525e65(0x1ee)][_0x525e65(0x213)]&&this[_0x525e65(0x27c)](_0x1144bc);}),this[_0x360317(0x368)](this[_0x360317(0x1f3)][_0x360317(0x33c)](_0x16f84f=>{const _0x4b39e6=_0x360317,_0x2eb1d4=_0x16f84f[_0x4b39e6(0x3ec)];_0x2eb1d4!=null&&this[_0x4b39e6(0x451)]&&_0x16f84f['id']===W['SetTextSelectionsOperation']['id']&&_0x2eb1d4[_0x4b39e6(0x2f6)]===this[_0x4b39e6(0x20b)]&&_0x2eb1d4[_0x4b39e6(0x202)]===!0x1&&_0x2eb1d4['ranges'][_0x4b39e6(0x261)]>0x0&&this[_0x4b39e6(0x2fa)](_0x2eb1d4['ranges']);})),this[_0x360317(0x24a)][_0x360317(0x301)][_0x360317(0x23c)](I[_0x360317(0x197)](this[_0x360317(0x2c9)]))[_0x360317(0x335)](_0x5c300e=>{const _0x5de723=_0x360317;if((_0x5c300e==null?void 0x0:_0x5c300e[_0x5de723(0x20b)])!==this['unitID'])return;const _0x4bfec3={'eventID':v[_0x5de723(0x1ee)][_0x5de723(0x321)],'data':_0x5c300e};this[_0x5de723(0x427)](_0x4bfec3);}),this['disposeWithMe'](this['_commandService'][_0x360317(0x33c)](_0x9460af=>{const _0x1dbbf6=_0x360317;if(_0x9460af[_0x1dbbf6(0x3ec)]==null)return;const _0x1020fe=_0x9460af[_0x1dbbf6(0x3ec)];if(_0x9460af['id']!==W[_0x1dbbf6(0x2b0)]['id']||_0x1020fe[_0x1dbbf6(0x2f6)]!==this[_0x1dbbf6(0x20b)])return;const _0x19744b={'id':_0x1dbbf6(0x2f8),'params':_0x1020fe},_0x5f26dd=this[_0x1dbbf6(0x447)];for(const [_0x26750d,_0x283ce2]of _0x5f26dd){const _0x85a1a6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1dbbf6(0x20b)],'actions':null,'textRanges':_0x283ce2[_0x1dbbf6(0x2d5)]}},_0x14243f=this['_transformService'][_0x1dbbf6(0x294)](_0x19744b,_0x85a1a6,!0x1);if(v[_0x1dbbf6(0x3a4)](_0x14243f))throw _0x14243f[_0x1dbbf6(0x452)];_0x5f26dd['set'](_0x26750d,{..._0x283ce2,'ranges':_0x14243f[_0x1dbbf6(0x25b)][_0x1dbbf6(0x3ec)]['textRanges']});}queueMicrotask(()=>{const _0x108df4=_0x1dbbf6;this[_0x108df4(0x310)][_0x108df4(0x2f9)](_0x5f26dd);});})));}[_0x3c753c(0x427)](_0x383cc0){const _0x3c29ec=_0x3c753c;var _0x4993a5,_0x1a6835;const {memberID:_0x1ac36a,selection:_0x53c75b}=_0x383cc0['data'],_0x3ea9e4=lt(_0x53c75b),_0x1fcb15=(_0x1a6835=(_0x4993a5=this[_0x3c29ec(0x34e)][_0x3c29ec(0x2bd)](this['unitID'],_0x1ac36a))==null?void 0x0:_0x4993a5[_0x3c29ec(0x2bb)])!=null?_0x1a6835:_0x3c29ec(0x1e4),_0xc6a512={'color':this[_0x3c29ec(0x3a5)][_0x3c29ec(0x1d8)](_0x1ac36a),'name':_0x1fcb15,'ranges':_0x3ea9e4},_0xda132b=this[_0x3c29ec(0x447)];_0xda132b[_0x3c29ec(0x41f)](_0x1ac36a,_0xc6a512),this[_0x3c29ec(0x310)][_0x3c29ec(0x2f9)](_0xda132b);}[_0x3c753c(0x27c)](_0x5c5cb3){const _0x7be7bd=_0x3c753c,{memberID:_0x20e24a}=_0x5c5cb3[_0x7be7bd(0x305)],_0xa3eb11=this[_0x7be7bd(0x447)];_0xa3eb11[_0x7be7bd(0x262)](_0x20e24a),this[_0x7be7bd(0x310)]['next'](_0xa3eb11);}[_0x3c753c(0x210)](){const _0x35b31b=_0x3c753c;var _0x32a3fa;if(this['_online']=!0x0,((_0x32a3fa=this[_0x35b31b(0x30f)][_0x35b31b(0x23d)]())==null?void 0x0:_0x32a3fa[_0x35b31b(0x38c)]())!==this[_0x35b31b(0x20b)])return;const _0x5895fd=this[_0x35b31b(0x22c)]['get'](W[_0x35b31b(0x25d)])[_0x35b31b(0x435)]();Array[_0x35b31b(0x1ff)](_0x5895fd)&&_0x5895fd[_0x35b31b(0x261)]>0x0&&this[_0x35b31b(0x2fa)](_0x5895fd);}['_toggleOffline'](){const _0x1e6dcf=_0x3c753c;this[_0x1e6dcf(0x451)]=!0x1;}};fe=ht([U(0x2,a['Inject'](a[_0x3c753c(0x1c5)])),U(0x3,a['Inject'](pe)),U(0x4,a['Inject'](u[_0x3c753c(0x29d)])),U(0x5,a[_0x3c753c(0x303)](Oe)),U(0x6,v['ITransformService']),U(0x7,a[_0x3c753c(0x281)]),U(0x8,a[_0x3c753c(0x418)])],fe);var St=Object[_0x3c753c(0x35d)],dt=(_0x2ec31f,_0x136ef7,_0x197f01,_0x308490)=>{const _0x144ef6=_0x3c753c;for(var _0x12713a=_0x308490>0x1?void 0x0:_0x308490?St(_0x136ef7,_0x197f01):_0x136ef7,_0x5cd918=_0x2ec31f[_0x144ef6(0x261)]-0x1,_0x43db68;_0x5cd918>=0x0;_0x5cd918--)(_0x43db68=_0x2ec31f[_0x5cd918])&&(_0x12713a=_0x43db68(_0x12713a)||_0x12713a);return _0x12713a;},w=(_0x3abbe8,_0x5382d1)=>(_0x5f2d92,_0x480577)=>_0x5382d1(_0x5f2d92,_0x480577,_0x3abbe8);const ft=0x12c,mt=0x64,gt=()=>{let _0x452c67=[],_0x1718d0=!0x1;return _0xf2c877=>{const _0x37125c=_0x3b4a;_0x452c67[_0x37125c(0x403)](_0xf2c877),_0x1718d0||(_0x1718d0=!0x0,setTimeout(()=>{_0x452c67['forEach'](_0x4294c3=>_0x4294c3()),_0x452c67=[],_0x1718d0=!0x1;}));};};let me=class extends a[_0x3c753c(0x203)]{constructor(_0x39c209,_0x5880dc,_0x4aeb31,_0x2e48bd,_0x55f963,_0x570813,_0x1c5c60,_0x407d01){const _0x35b7c6=_0x3c753c;super(),_(this,'_online',!0x1),_(this,_0x35b7c6(0x384),!0x1),_(this,_0x35b7c6(0x310),new I[(_0x35b7c6(0x3c2))](new Map())),_(this,_0x35b7c6(0x23a),this[_0x35b7c6(0x310)][_0x35b7c6(0x255)]()),_(this,_0x35b7c6(0x395),new I['BehaviorSubject']([])),_(this,_0x35b7c6(0x20a),this[_0x35b7c6(0x395)][_0x35b7c6(0x23c)](I[_0x35b7c6(0x389)](ft))),_(this,_0x35b7c6(0x2fa),a[_0x35b7c6(0x3b4)]((_0x29da45,_0x4aca10)=>{const _0x436584=_0x35b7c6,_0x246455={'eventID':v[_0x436584(0x1ee)][_0x436584(0x321)],'data':{'unitID':this[_0x436584(0x20b)],'memberID':this[_0x436584(0x237)][_0x436584(0x3af)](),'selection':x[_0x436584(0x36f)](_0x29da45,_0x4aca10[_0x436584(0x28f)])}};this[_0x436584(0x237)][_0x436584(0x333)](_0x246455,this['unitID']);},mt)),(this[_0x35b7c6(0x20b)]=_0x39c209,this[_0x35b7c6(0x237)]=_0x5880dc,this[_0x35b7c6(0x22c)]=_0x4aeb31,this[_0x35b7c6(0x3a5)]=_0x2e48bd,this[_0x35b7c6(0x34e)]=_0x55f963,this[_0x35b7c6(0x30f)]=_0x570813,this[_0x35b7c6(0x1f3)]=_0x1c5c60,this[_0x35b7c6(0x23b)]=_0x407d01);}get[_0x3c753c(0x447)](){const _0x17bfb4=_0x3c753c;return this[_0x17bfb4(0x310)][_0x17bfb4(0x1fb)]();}get['roomMembers'](){const _0x41befb=_0x3c753c;return this['_roomMembers$'][_0x41befb(0x1fb)]();}[_0x3c753c(0x414)](){const _0x530e09=_0x3c753c;super[_0x530e09(0x414)](),this[_0x530e09(0x310)]['next'](new Map()),this['_cursorInfo$'][_0x530e09(0x1c6)](),this[_0x530e09(0x395)][_0x530e09(0x2f9)]([]),this[_0x530e09(0x395)][_0x530e09(0x1c6)]();}[_0x3c753c(0x208)](){const _0x3aa8e8=_0x3c753c;this['_init']||(this['_init']=!0x0,this['_session'][_0x3aa8e8(0x260)][_0x3aa8e8(0x23c)](I[_0x3aa8e8(0x197)](this[_0x3aa8e8(0x2c9)]))['subscribe'](_0x8db3e6=>{const _0x303310=_0x3aa8e8;_0x8db3e6===u[_0x303310(0x398)][_0x303310(0x1b3)]?this[_0x303310(0x210)]():this[_0x303310(0x1b6)]();}),this[_0x3aa8e8(0x237)][_0x3aa8e8(0x28e)]['pipe'](I[_0x3aa8e8(0x197)](this['dispose$']))[_0x3aa8e8(0x335)](_0xc3053b=>{const _0x384e46=_0x3aa8e8,_0x467ac6=_0xc3053b['eventID'];_0x467ac6===v[_0x384e46(0x1ee)][_0x384e46(0x321)]&&this[_0x384e46(0x427)](_0xc3053b),_0x467ac6===v[_0x384e46(0x1ee)][_0x384e46(0x213)]&&this[_0x384e46(0x27c)](_0xc3053b);}),this['_onRefRangeChange'](),this[_0x3aa8e8(0x368)](this[_0x3aa8e8(0x1f3)]['onCommandExecuted'](_0x13dc52=>{const _0x208e82=_0x3aa8e8;if(this[_0x208e82(0x451)]&&_0x13dc52['id']===g[_0x208e82(0x3e2)]['id']&&_0x13dc52['params'][_0x208e82(0x2f6)]===this[_0x208e82(0x20b)]){const _0xd992fa=_0x13dc52['params'];this[_0x208e82(0x2fa)](_0xd992fa[_0x208e82(0x2c8)],_0xd992fa[_0x208e82(0x22f)][0x0]);}})));}['_onCursorUpdate'](_0x1567df){const _0x2a7b41=_0x3c753c;var _0x3cff5d,_0xf65be4;const {memberID:_0x38b50a,selection:_0xbd8ca}=_0x1567df['data'],{sheetName:_0x38e8be,range:_0x19f1ce}=x['deserializeRangeWithSheet'](_0xbd8ca),_0x19e7c6={'name':(_0xf65be4=(_0x3cff5d=this[_0x2a7b41(0x34e)][_0x2a7b41(0x2bd)](this[_0x2a7b41(0x20b)],_0x38b50a))==null?void 0x0:_0x3cff5d[_0x2a7b41(0x2bb)])!=null?_0xf65be4:_0x2a7b41(0x1e4),'range':this[_0x2a7b41(0x2c3)](_0x38e8be,_0x19f1ce),'sheetID':_0x38e8be,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x38b50a),'selection':_0xbd8ca},_0x403913=this['cursorInfo'];_0x403913[_0x2a7b41(0x41f)](_0x38b50a,_0x19e7c6),this[_0x2a7b41(0x310)]['next'](_0x403913);}[_0x3c753c(0x27c)](_0x5c58ac){const _0x3fcf86=_0x3c753c,{memberID:_0x5096c2}=_0x5c58ac[_0x3fcf86(0x305)],_0x4629e9=this[_0x3fcf86(0x447)];_0x4629e9[_0x3fcf86(0x262)](_0x5096c2),this[_0x3fcf86(0x310)][_0x3fcf86(0x2f9)](_0x4629e9);}[_0x3c753c(0x2c3)](_0x195330,_0x2a22ff){const _0x1829e0=_0x3c753c;var _0x9710ec,_0x1fc791;const _0x29dfad=(_0x1fc791=(_0x9710ec=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x1829e0(0x20b)]))==null?void 0x0:_0x9710ec[_0x1829e0(0x393)](_0x195330))==null?void 0x0:_0x1fc791['getMergeData']();return(_0x29dfad==null?void 0x0:_0x29dfad[_0x1829e0(0x323)](_0x2c1d97=>a[_0x1829e0(0x232)][_0x1829e0(0x2de)](_0x2c1d97,_0x2a22ff)))||_0x2a22ff;}[_0x3c753c(0x227)](){const _0x3e608d=_0x3c753c,_0x2df67c=new a['DisposableCollection'](),_0x52a3b2=gt(),_0x2f97e5=()=>{const _0x139814=_0x3b4a;_0x2df67c[_0x139814(0x414)]();const _0x59f528=(_0x4321fd,_0x128fe2,_0x1cab1e,_0x5ad341)=>{const _0x5d4527=_0x139814;let _0x1c1d22=[];switch(_0x4321fd['id']){case g[_0x5d4527(0x1d3)][_0x5d4527(0x223)]:{_0x1c1d22=g[_0x5d4527(0x25a)](_0x4321fd,_0x5ad341);break;}case g[_0x5d4527(0x1d3)]['DeleteRangeMoveUpCommandId']:{_0x1c1d22=g[_0x5d4527(0x2ea)](_0x4321fd,_0x5ad341);break;}case g[_0x5d4527(0x1d3)][_0x5d4527(0x31c)]:{_0x1c1d22=g[_0x5d4527(0x251)](_0x4321fd,_0x5ad341);break;}case g[_0x5d4527(0x1d3)][_0x5d4527(0x2a4)]:{_0x1c1d22=g['handleInsertRangeMoveDown'](_0x4321fd,_0x5ad341);break;}case g[_0x5d4527(0x1d3)]['InsertRangeMoveRightCommandId']:{_0x1c1d22=g[_0x5d4527(0x3c9)](_0x4321fd,_0x5ad341);break;}case g[_0x5d4527(0x1d3)][_0x5d4527(0x1bc)]:{_0x1c1d22=g[_0x5d4527(0x370)](_0x4321fd,_0x5ad341);break;}case g[_0x5d4527(0x1d3)][_0x5d4527(0x25e)]:{_0x1c1d22=g[_0x5d4527(0x1e3)](_0x4321fd,_0x5ad341);break;}case g[_0x5d4527(0x1d3)][_0x5d4527(0x1a9)]:{_0x1c1d22=g[_0x5d4527(0x1b8)](_0x4321fd,_0x5ad341);break;}case g[_0x5d4527(0x1d3)][_0x5d4527(0x402)]:{_0x1c1d22=g[_0x5d4527(0x307)](_0x4321fd,_0x5ad341);break;}}const _0x1f0fc1=g[_0x5d4527(0x347)](_0x1c1d22,_0x5ad341),_0x4549c7=this[_0x5d4527(0x447)]['get'](_0x128fe2);if(_0x4549c7&&_0x1f0fc1){const _0x37178a={..._0x4549c7,'range':_0x1f0fc1};this[_0x5d4527(0x447)][_0x5d4527(0x41f)](_0x128fe2,_0x37178a),_0x52a3b2(()=>{const _0x2b7f59=_0x5d4527,_0x36b6ce=this[_0x2b7f59(0x23b)]['registerRefRange'](_0x1f0fc1,_0x385b92=>(_0x36b6ce[_0x2b7f59(0x414)](),_0x59f528(_0x385b92,_0x128fe2,_0x1cab1e,_0x1f0fc1)));_0x2df67c[_0x2b7f59(0x1c4)](_0x36b6ce);});}return{'redos':[],'undos':[]};};this[_0x139814(0x447)][_0x139814(0x21e)]((_0x2cdc55,_0x4615a6)=>{const _0x570a1d=_0x139814,{range:_0x4e9cc6,sheetID:_0x5392b1}=_0x2cdc55,_0x51846d=this['_refRangeService'][_0x570a1d(0x285)](_0x4e9cc6,_0x54a070=>(_0x51846d[_0x570a1d(0x414)](),_0x59f528(_0x54a070,_0x4615a6,_0x5392b1,_0x4e9cc6)));_0x2df67c[_0x570a1d(0x1c4)](_0x51846d);});};this['disposeWithMe'](a['toDisposable'](this[_0x3e608d(0x310)]['subscribe'](()=>{_0x2f97e5();})));}[_0x3c753c(0x210)](){const _0x189fee=_0x3c753c;var _0x5b13f7,_0x114c7c;if(this[_0x189fee(0x451)]=!0x0,((_0x5b13f7=this[_0x189fee(0x30f)][_0x189fee(0x23d)]())==null?void 0x0:_0x5b13f7['getUnitId']())!==this[_0x189fee(0x20b)])return;const _0x245304=(_0x114c7c=this[_0x189fee(0x22c)]['get'](g[_0x189fee(0x205)])[_0x189fee(0x332)]())==null?void 0x0:_0x114c7c[0x0],_0xb052aa=this[_0x189fee(0x30f)]['getCurrentUnitForType'](a['UniverInstanceType'][_0x189fee(0x1b4)])[_0x189fee(0x454)]();_0x245304&&_0xb052aa&&this['_updateLocalCursor'](_0xb052aa[_0x189fee(0x211)](),_0x245304);}[_0x3c753c(0x1b6)](){const _0x24758d=_0x3c753c;this[_0x24758d(0x451)]=!0x1;}};me=dt([w(0x2,a[_0x3c753c(0x303)](a[_0x3c753c(0x1c5)])),w(0x3,a['Inject'](pe)),w(0x4,a[_0x3c753c(0x303)](u[_0x3c753c(0x29d)])),w(0x5,a[_0x3c753c(0x281)]),w(0x6,a[_0x3c753c(0x418)]),w(0x7,a['Inject'](g[_0x3c753c(0x37d)]))],me);var vt=Object[_0x3c753c(0x35d)],Et=(_0x4f0dc9,_0x162340,_0x3990cc,_0x3104f4)=>{for(var _0x35a574=_0x3104f4>0x1?void 0x0:_0x3104f4?vt(_0x162340,_0x3990cc):_0x162340,_0x408b6f=_0x4f0dc9['length']-0x1,_0x24aa63;_0x408b6f>=0x0;_0x408b6f--)(_0x24aa63=_0x4f0dc9[_0x408b6f])&&(_0x35a574=_0x24aa63(_0x35a574)||_0x35a574);return _0x35a574;},oe=(_0x3ae827,_0x2ad627)=>(_0x2bddc5,_0x4729cf)=>_0x2ad627(_0x2bddc5,_0x4729cf,_0x3ae827);let B=class extends a['RxDisposable']{constructor(_0x3b2879,_0x452c91,_0x22cd30){const _0x3a5a1d=_0x3c753c;super(),_(this,_0x3a5a1d(0x228),new Map()),_(this,_0x3a5a1d(0x345),new I[(_0x3a5a1d(0x383))]()),(this[_0x3a5a1d(0x30f)]=_0x3b2879,this[_0x3a5a1d(0x22c)]=_0x452c91,this[_0x3a5a1d(0x253)]=_0x22cd30,this['_init']());}[_0x3c753c(0x414)](){const _0x41684c=_0x3c753c;super[_0x41684c(0x414)](),this['_entityInit$'][_0x41684c(0x1c6)](),this[_0x41684c(0x228)][_0x41684c(0x21e)](_0xb29b48=>_0xb29b48[_0x41684c(0x414)]());}[_0x3c753c(0x304)](_0x44eecf){const _0x573a5e=_0x3c753c;return this[_0x573a5e(0x228)][_0x573a5e(0x2d7)](_0x44eecf)?this['_entities'][_0x573a5e(0x283)](_0x44eecf)['cursorInfo$']:this[_0x573a5e(0x345)][_0x573a5e(0x23c)](I[_0x573a5e(0x1fd)](_0x2d9e83=>_0x2d9e83[_0x573a5e(0x20b)]===_0x44eecf),I[_0x573a5e(0x1df)](_0x6fa993=>_0x6fa993['cursorInfo$']));}[_0x3c753c(0x384)](){const _0xdafb29=_0x3c753c;this['_univerInstanceService'][_0xdafb29(0x320)](a['UniverInstanceType'][_0xdafb29(0x1b4)])[_0xdafb29(0x23c)](I[_0xdafb29(0x197)](this[_0xdafb29(0x2c9)]))['subscribe'](async _0x5c5c1c=>{const _0xdeb481=_0xdafb29,_0x1d7567=_0x5c5c1c['getUnitId'](),_0x2a1aed=await this[_0xdeb481(0x399)](_0x1d7567);this[_0xdeb481(0x345)][_0xdeb481(0x2f9)](_0x2a1aed),this[_0xdeb481(0x228)][_0xdeb481(0x41f)](_0x1d7567,_0x2a1aed);}),this[_0xdafb29(0x30f)][_0xdafb29(0x320)](a[_0xdafb29(0x371)][_0xdafb29(0x1cb)])['pipe'](I[_0xdafb29(0x197)](this[_0xdafb29(0x2c9)]))['pipe'](I[_0xdafb29(0x1fd)](_0x5de924=>!_0x5de924[_0xdafb29(0x38c)]()[_0xdafb29(0x235)]('__')))['subscribe'](async _0x14e804=>{const _0x39989e=_0xdafb29,_0x2cdb70=_0x14e804[_0x39989e(0x38c)](),_0x555867=await this['_startDocCollabCursor'](_0x2cdb70);this[_0x39989e(0x345)]['next'](_0x555867),this['_entities'][_0x39989e(0x41f)](_0x2cdb70,_0x555867);}),I[_0xdafb29(0x431)](this['_univerInstanceService'][_0xdafb29(0x201)](a[_0xdafb29(0x371)][_0xdafb29(0x1cb)]),this[_0xdafb29(0x30f)][_0xdafb29(0x201)](a[_0xdafb29(0x371)]['UNIVER_SHEET']))[_0xdafb29(0x23c)](I['takeUntil'](this[_0xdafb29(0x2c9)]))[_0xdafb29(0x335)](_0x1f0270=>{const _0x120d2a=_0xdafb29,_0x491b34=_0x1f0270[_0x120d2a(0x38c)](),_0xce680=this[_0x120d2a(0x228)][_0x120d2a(0x283)](_0x491b34);_0xce680&&(_0xce680[_0x120d2a(0x414)](),this[_0x120d2a(0x228)][_0x120d2a(0x262)](_0x491b34));});}async[_0x3c753c(0x399)](_0x41446c){const _0x51ad34=_0x3c753c,_0x1ce789=await this[_0x51ad34(0x253)][_0x51ad34(0x1b0)](_0x41446c),_0x5e43f1=this[_0x51ad34(0x22c)][_0x51ad34(0x404)](me,_0x41446c,_0x1ce789);return _0x5e43f1['init'](),_0x5e43f1;}async[_0x3c753c(0x1ba)](_0x189a05){const _0x46b957=_0x3c753c,_0x42c677=await this['_collabSessionService'][_0x46b957(0x1b0)](_0x189a05),_0x4b29f7=this[_0x46b957(0x22c)][_0x46b957(0x404)](fe,_0x189a05,_0x42c677);return _0x4b29f7[_0x46b957(0x208)](),_0x4b29f7;}};B=Et([oe(0x0,a['IUniverInstanceService']),oe(0x1,a['Inject'](a[_0x3c753c(0x1c5)])),oe(0x2,a[_0x3c753c(0x303)](u['CollaborationSessionService']))],B);const X=0x14,De=0xc8,ae=0x4,Ct=0x5;function Tt(_0x169401,_0x528048){const _0x4147c3=_0x3c753c;let {radius:_0x5ae833,width:_0x3625b6,height:_0x1215b6}=_0x528048;_0x5ae833=_0x5ae833!=null?_0x5ae833:0x0,_0x3625b6=_0x3625b6!=null?_0x3625b6:0x1e,_0x1215b6=_0x1215b6!=null?_0x1215b6:0x1e;let _0x2ef83a=0x0,_0x1bf744=0x0,_0x2ca027=0x0;_0x2ef83a=_0x1bf744=_0x2ca027=Math[_0x4147c3(0x2d4)](_0x5ae833,_0x3625b6/0x2,_0x1215b6/0x2),_0x169401['beginPath'](),_0x169401[_0x4147c3(0x33e)](_0x2ef83a,0x0),_0x169401[_0x4147c3(0x19c)](_0x3625b6-_0x1bf744,0x0),_0x169401[_0x4147c3(0x3f8)](_0x3625b6-_0x1bf744,_0x1bf744,_0x1bf744,Math['PI']*0x3/0x2,0x0,!0x1),_0x169401['lineTo'](_0x3625b6,_0x1215b6-_0x2ca027),_0x169401['arc'](_0x3625b6-_0x2ca027,_0x1215b6-_0x2ca027,_0x2ca027,0x0,Math['PI']/0x2,!0x1),_0x169401['lineTo'](0x0,_0x1215b6),_0x169401[_0x4147c3(0x19c)](0x0,_0x2ef83a),_0x169401[_0x4147c3(0x3f8)](_0x2ef83a,_0x2ef83a,_0x2ef83a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x169401['closePath'](),_0x528048[_0x4147c3(0x2ab)]&&(_0x169401['save'](),_0x169401[_0x4147c3(0x3f5)]=_0x528048[_0x4147c3(0x2ab)],_0x528048[_0x4147c3(0x216)]===_0x4147c3(0x1a6)?_0x169401[_0x4147c3(0x2ab)]('evenodd'):_0x169401[_0x4147c3(0x2ab)](),_0x169401[_0x4147c3(0x295)]());}class ie extends C['Shape']{constructor(_0x17c44d,_0x5d9408){const _0x1de905=_0x3c753c;super(_0x17c44d,_0x5d9408),_(this,_0x1de905(0x3b0)),_(this,_0x1de905(0x2a6)),(this['color']=_0x5d9408==null?void 0x0:_0x5d9408[_0x1de905(0x3b0)],this[_0x1de905(0x2a6)]=_0x5d9408==null?void 0x0:_0x5d9408['text']);}static[_0x3c753c(0x1bf)](_0x347901,_0x97df39){const _0x47898b=_0x3c753c,{text:_0x288ddb,color:_0x5d237d}=_0x97df39;_0x347901['save'](),_0x347901[_0x47898b(0x2ec)]=_0x47898b(0x329);const _0x209bb2=_0x347901[_0x47898b(0x317)](_0x288ddb)[_0x47898b(0x356)],_0x237e32=Math['min'](_0x209bb2+0x2*ae,De);Tt(_0x347901,{'height':X,'radius':0x4,'width':_0x237e32,'fill':_0x5d237d}),_0x347901[_0x47898b(0x3f5)]=_0x47898b(0x348);const _0x4be4c4=ae,_0xfa0334=X-Ct,_0x988283=De-0x2*ae;if(_0x209bb2>_0x988283){let _0x895862='',_0x531ba7=0x0;for(const _0x443d30 of _0x288ddb){const _0x628359=_0x347901['measureText'](_0x443d30)[_0x47898b(0x356)];if(_0x531ba7+_0x628359<=_0x988283-_0x347901[_0x47898b(0x317)](_0x47898b(0x331))[_0x47898b(0x356)])_0x895862+=_0x443d30,_0x531ba7+=_0x628359;else{_0x895862+=_0x47898b(0x331);break;}}_0x347901[_0x47898b(0x3f1)](_0x895862,_0x4be4c4,_0xfa0334);}else _0x347901[_0x47898b(0x3f1)](_0x288ddb,_0x4be4c4,_0xfa0334);_0x347901['restore']();}[_0x3c753c(0x1ef)](_0x1c99b3){const _0x5d2e8c=_0x3c753c;ie[_0x5d2e8c(0x1bf)](_0x1c99b3,this);}}const ce=_0x3c753c(0x31a),pt='collab-text-range-',Ot=_0x3c753c(0x25f),Y=0x6,Rt=1.5,le=0x4,bt=1.5,Dt=_0x3c753c(0x30a);class Ne{constructor(_0xb37b7e,_0xfd0308,_0x2d4ea0,_0x462782){const _0x489112=_0x3c753c;_(this,_0x489112(0x352),[]),_(this,_0x489112(0x3b2),null),_(this,'_textBubble',null),_(this,_0x489112(0x437),null),_(this,_0x489112(0x1ae),null),_(this,'_eventUnsubscribe',null),(this[_0x489112(0x1dc)]=_0xb37b7e,this[_0x489112(0x3dd)]=_0xfd0308,this[_0x489112(0x2da)]=_0x2d4ea0,this[_0x489112(0x279)]=_0x462782,this[_0x489112(0x267)]());}set[_0x3c753c(0x388)](_0x521c71){const _0x525acf=_0x3c753c;_0x521c71?(this[_0x525acf(0x437)]&&this[_0x525acf(0x437)][_0x525acf(0x2d0)](),this[_0x525acf(0x40f)]&&this[_0x525acf(0x40f)][_0x525acf(0x236)]()):(this[_0x525acf(0x437)]&&this[_0x525acf(0x437)][_0x525acf(0x236)](),this[_0x525acf(0x40f)]&&this['_textBubble'][_0x525acf(0x2d0)]());}[_0x3c753c(0x414)](){const _0x341132=_0x3c753c;for(const _0x12d4ff of this[_0x341132(0x352)])_0x12d4ff[_0x341132(0x414)]();this[_0x341132(0x40f)]&&this[_0x341132(0x40f)][_0x341132(0x414)](),this[_0x341132(0x437)]&&this[_0x341132(0x437)]['dispose'](),this[_0x341132(0x3b2)]&&this['_anchor'][_0x341132(0x414)](),this[_0x341132(0x341)]&&this[_0x341132(0x341)]();}[_0x3c753c(0x267)](){const _0x3c90e4=_0x3c753c;var _0x497422;const {_docSkeleton:_0x44f25e,_document:_0x4ee728}=this,{color:_0x57f915,name:_0x49826d,ranges:_0x25b7c9}=this[_0x3c90e4(0x1dc)],_0x3722cd=_0x4ee728[_0x3c90e4(0x37a)](),{docsLeft:_0x301e77,docsTop:_0x57dbb2}=_0x3722cd,_0x251712=new T['NodePositionConvertToCursor'](_0x3722cd,_0x44f25e);for(const {startOffset:_0x3a7fe1,endOffset:_0x32b9ef,rangeType:_0x8a5674,segmentId:_0x3145f3,segmentPage:_0x2d3b1d,collapsed:_0x55b036,isActive:_0x3190e7}of _0x25b7c9){const _0x524337=_0x44f25e[_0x3c90e4(0x3a2)](_0x3a7fe1,!0x0,_0x3145f3,_0x2d3b1d);let _0x1bb499=_0x44f25e[_0x3c90e4(0x3a2)](_0x32b9ef,!0x0,_0x3145f3,_0x2d3b1d);if(_0x1bb499==null&&(_0x1bb499=_0x44f25e[_0x3c90e4(0x3a2)](_0x32b9ef-0x1,!0x1,_0x3145f3,_0x2d3b1d)),_0x3190e7){const {contentBoxPointGroup:_0x41371a}=_0x251712[_0x3c90e4(0x34f)](_0x1bb499,_0x1bb499);if(_0x41371a[_0x3c90e4(0x261)]===0x0)continue;this['_drawAnchor'](_0x57f915,_0x41371a,_0x301e77,_0x57dbb2,_0x49826d),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x524337&&_0x1bb499){if(_0x8a5674===a['DOC_RANGE_TYPE'][_0x3c90e4(0x27a)]){const _0x364152=new T[(_0x3c90e4(0x27e))](_0x3722cd,_0x44f25e),{pointGroup:_0x126756}=(_0x497422=_0x364152[_0x3c90e4(0x34f)](_0x524337,_0x1bb499))!=null?_0x497422:{};if(_0x126756==null||_0x126756[_0x3c90e4(0x261)]===0x0)continue;this['_drawRectRange'](_0x57f915,_0x126756,_0x301e77,_0x57dbb2);}else{if(!_0x55b036){const {borderBoxPointGroup:_0x450c55}=_0x251712[_0x3c90e4(0x34f)](_0x524337,_0x1bb499);if(_0x450c55[_0x3c90e4(0x261)]===0x0)continue;this[_0x3c90e4(0x373)](_0x57f915,_0x450c55,_0x301e77,_0x57dbb2);}}}}}['_drawAnchor'](_0x146873,_0x120f6e,_0x1b5421,_0x55ecee,_0x41828c){const _0x1eeab9=_0x3c753c,_0xb76641=this[_0x1eeab9(0x34d)](_0x120f6e),{left:_0x250f0f,top:_0x3e79cb,height:_0x47f70f}=_0xb76641,_0x16a13c=this[_0x1eeab9(0x349)](),_0x3f6592=bt/_0x16a13c,_0x561414=new C['Rect'](ce+a[_0x1eeab9(0x257)](Y),{'left':_0x250f0f+_0x1b5421-_0x3f6592,'top':_0x3e79cb+_0x55ecee,'height':_0x47f70f,'width':Rt,'fill':_0x146873||C['getColor'](a[_0x1eeab9(0x43e)][_0x1eeab9(0x289)],0x0),'strokeWidth':_0x3f6592,'stroke':Dt,'evented':!0x0});this['_anchor']=_0x561414,this[_0x1eeab9(0x3dd)][_0x1eeab9(0x424)](_0x561414,T[_0x1eeab9(0x26c)]);const _0x26fd09=new C[(_0x1eeab9(0x217))](ce+a[_0x1eeab9(0x257)](Y),{'left':_0x250f0f+_0x1b5421-_0x3f6592,'top':_0x3e79cb+_0x55ecee-le/0x2,'height':le,'width':le,'fill':_0x146873||C['getColor'](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x146873||C['getColor'](a[_0x1eeab9(0x43e)][_0x1eeab9(0x289)],0x0),'evented':!0x1});this[_0x1eeab9(0x437)]=_0x26fd09,this[_0x1eeab9(0x3dd)]['addObject'](_0x26fd09,T['TEXT_RANGE_LAYER_INDEX']);const _0xc54290=new ie(ce+a[_0x1eeab9(0x257)](Y),{'left':_0x250f0f+_0x1b5421-_0x3f6592,'top':_0x3e79cb+_0x55ecee-X,'text':_0x41828c,'color':_0x146873});this[_0x1eeab9(0x40f)]=_0xc54290,this['_scene'][_0x1eeab9(0x424)](_0xc54290,T[_0x1eeab9(0x26c)]),this[_0x1eeab9(0x388)]=!0x1;}[_0x3c753c(0x1fc)](){const _0x50668f=_0x3c753c,_0x1d46f1=this[_0x50668f(0x3b2)][_0x50668f(0x28c)][_0x50668f(0x439)](()=>{const _0x95ee9a=_0x50668f;this[_0x95ee9a(0x388)]=!0x0;}),_0x1620db=this['_anchor'][_0x50668f(0x1dd)][_0x50668f(0x439)](()=>{const _0x1cd269=_0x50668f;this[_0x1cd269(0x1ae)]&&clearTimeout(this[_0x1cd269(0x1ae)]),this[_0x1cd269(0x1ae)]=setTimeout(()=>{const _0x30f080=_0x1cd269;this[_0x30f080(0x388)]=!0x1;},0x7d0);});return()=>{const _0x4c3516=_0x50668f;_0x1d46f1[_0x4c3516(0x214)](),_0x1620db[_0x4c3516(0x214)]();};}['_drawTextRange'](_0x15459c,_0x3984e4,_0x5a9225,_0x5d8cba){const _0x4f35af=_0x3c753c,_0x594c9c=new a[(_0x4f35af(0x3bf))](_0x15459c)[_0x4f35af(0x233)](0.2)[_0x4f35af(0x1be)](),_0x4e0f64=new C[(_0x4f35af(0x199))](pt+a[_0x4f35af(0x257)](Y),{'pointsGroup':_0x3984e4,'fill':_0x594c9c||C[_0x4f35af(0x41d)](a['COLORS'][_0x4f35af(0x289)],0.2),'left':_0x5a9225,'top':_0x5d8cba,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f35af(0x352)]['push'](_0x4e0f64),this['_scene'][_0x4f35af(0x424)](_0x4e0f64,T[_0x4f35af(0x26c)]);}[_0x3c753c(0x3ac)](_0x2e30b1,_0x167c52,_0x42c7fc,_0x2ca971){const _0x4daf5d=_0x3c753c,_0x27699a=new a[(_0x4daf5d(0x3bf))](_0x2e30b1)[_0x4daf5d(0x233)](0.2)['toRgbString'](),_0x551eab=new C[(_0x4daf5d(0x199))](Ot+a[_0x4daf5d(0x257)](Y),{'pointsGroup':_0x167c52,'fill':_0x27699a||C[_0x4daf5d(0x41d)](a[_0x4daf5d(0x43e)][_0x4daf5d(0x289)],0.2),'left':_0x42c7fc,'top':_0x2ca971,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4daf5d(0x352)]['push'](_0x551eab),this['_scene'][_0x4daf5d(0x424)](_0x551eab,T[_0x4daf5d(0x26c)]);}['_getAnchorBounding'](_0x944868){const _0x3c2bfd=_0x944868[0x0],_0xe9ebfc=_0x3c2bfd[0x0],_0x234fe8=_0x3c2bfd[0x2],{x:_0x26b48b,y:_0x1a433e}=_0xe9ebfc,{x:_0x1f8107,y:_0x5c187f}=_0x234fe8;return{'left':_0x26b48b,'top':_0x1a433e,'width':_0x1f8107-_0x26b48b,'height':_0x5c187f-_0x1a433e};}[_0x3c753c(0x349)](){const _0x3d17d6=_0x3c753c,{scaleX:_0x19f025,scaleY:_0x275904}=this[_0x3d17d6(0x3dd)][_0x3d17d6(0x2e2)]();return Math[_0x3d17d6(0x343)](_0x19f025,_0x275904);}}var Nt=Object[_0x3c753c(0x35d)],Ut=(_0x55be0d,_0x28f848,_0x481e5d,_0x498b49)=>{for(var _0xca499c=_0x498b49>0x1?void 0x0:_0x498b49?Nt(_0x28f848,_0x481e5d):_0x28f848,_0x3172ce=_0x55be0d['length']-0x1,_0x3e3a4b;_0x3172ce>=0x0;_0x3172ce--)(_0x3e3a4b=_0x55be0d[_0x3172ce])&&(_0xca499c=_0x3e3a4b(_0xca499c)||_0xca499c);return _0xca499c;},q=(_0x192119,_0x120707)=>(_0x4619fc,_0x28ad8f)=>_0x120707(_0x4619fc,_0x28ad8f,_0x192119);let ge=class extends a[_0x3c753c(0x203)]{constructor(_0x252be1,_0x2a6638,_0x4e0855,_0x159e52,_0x27bc9a){const _0x357103=_0x3c753c;super(),_(this,_0x357103(0x434),[]),_(this,_0x357103(0x244),[]),(this[_0x357103(0x2a2)]=_0x252be1,this[_0x357103(0x296)]=_0x2a6638,this[_0x357103(0x290)]=_0x4e0855,this[_0x357103(0x1f3)]=_0x159e52,this['_themeService']=_0x27bc9a,this['_init']());}['_init'](){const _0x413d94=_0x3c753c,_0xa202a1=this[_0x413d94(0x2a2)][_0x413d94(0x2f6)],_0x29b3f5=this[_0x413d94(0x296)];this['disposeWithMe'](I[_0x413d94(0x380)]([this[_0x413d94(0x290)][_0x413d94(0x304)](_0xa202a1),this['_themeService'][_0x413d94(0x2f2)]])[_0x413d94(0x23c)]($['map'](([_0x3dfbb7,_0x19d59b])=>({'skeleton':_0x29b3f5[_0x413d94(0x225)](),'cursors':[..._0x3dfbb7[_0x413d94(0x421)]()][_0x413d94(0x337)](_0xe10ffd=>({..._0xe10ffd,'color':this[_0x413d94(0x1c3)]['getColorFromTheme'](_0xe10ffd[_0x413d94(0x3b0)])}))})))[_0x413d94(0x335)](_0x3df715=>{const _0x49ec85=_0x413d94;if(this[_0x49ec85(0x2f1)](),_0x3df715){const {skeleton:_0xb11c50,cursors:_0x1ae550}=_0x3df715;this[_0x49ec85(0x24b)](_0xb11c50,_0x1ae550);}})),this[_0x413d94(0x1cd)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x37b4b6,_0x3885fb){const _0x51b03c=_0x3c753c,{scene:_0x5ac8a1,mainComponent:_0x632e8c}=this[_0x51b03c(0x2a2)],_0x459551=_0x3885fb[_0x51b03c(0x38d)](_0x2323c4=>new Ne(_0x2323c4,_0x5ac8a1,_0x37b4b6,_0x632e8c));this[_0x51b03c(0x434)]=_0x459551,this[_0x51b03c(0x244)]=_0x3885fb;}[_0x3c753c(0x1b9)](){const _0x11ce21=_0x3c753c;this['_removeCollabCursors']();const {scene:_0xadd6d3,mainComponent:_0x307f41}=this[_0x11ce21(0x2a2)],_0x3e3d16=this[_0x11ce21(0x296)]['getSkeleton'](),_0x4ddd26=this[_0x11ce21(0x244)][_0x11ce21(0x38d)](_0x245b2d=>new Ne(_0x245b2d,_0xadd6d3,_0x3e3d16,_0x307f41));this[_0x11ce21(0x434)]=_0x4ddd26;}['_removeCollabCursors'](){const _0x381166=_0x3c753c;this[_0x381166(0x434)][_0x381166(0x21e)](_0x197dbc=>_0x197dbc[_0x381166(0x414)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x195a4e=_0x3c753c,_0x1bcc7b=[T[_0x195a4e(0x3e5)]['id']];this[_0x195a4e(0x368)](this['_commandService'][_0x195a4e(0x33c)](_0x57eda3=>{const _0x2a313a=_0x195a4e;_0x1bcc7b['includes'](_0x57eda3['id'])&&_0x57eda3[_0x2a313a(0x3ec)][_0x2a313a(0x2f6)]===this[_0x2a313a(0x2a2)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x2dcffc=_0x3c753c;this['disposeWithMe'](a[_0x2dcffc(0x44c)](this[_0x2dcffc(0x2a2)]['engine']['onTransformChange$'])[_0x2dcffc(0x23c)]($[_0x2dcffc(0x1fd)](_0x41e87b=>_0x41e87b[_0x2dcffc(0x25c)]===C['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x2dcffc(0x42f)]),$[_0x2dcffc(0x40c)](0x10))[_0x2dcffc(0x335)](()=>{const _0xaae228=_0x2dcffc;this[_0xaae228(0x1b9)]();}));}};ge=Ut([q(0x1,a[_0x3c753c(0x303)](W[_0x3c753c(0x31d)])),q(0x2,a[_0x3c753c(0x303)](B)),q(0x3,a[_0x3c753c(0x418)]),q(0x4,a['Inject'](a[_0x3c753c(0x38a)]))],ge);const Lt=0x1,Mt=1.5;class Be extends C[_0x3c753c(0x3ff)]{constructor(_0x5659db,_0x54221b){const _0x67401e=_0x3c753c;super(_0x5659db,_0x54221b),_(this,_0x67401e(0x365)),_(this,_0x67401e(0x1af),!0x1),_(this,_0x67401e(0x22a)),_(this,_0x67401e(0x191),''),_(this,_0x67401e(0x36c),_0x67401e(0x382)),_(this,_0x67401e(0x3cf)),(_0x54221b&&this['setShapeProps'](_0x54221b),this[_0x67401e(0x28c)][_0x67401e(0x439)](()=>this[_0x67401e(0x238)]({'hovered':!0x0})),this[_0x67401e(0x1dd)][_0x67401e(0x439)](()=>this[_0x67401e(0x238)]({'hovered':!0x1})));}['setShapeProps'](_0x2e4295){const _0x45d896=_0x3c753c;var _0x4d955c,_0x1c9907,_0x4adcd8,_0x37fb61,_0x110812,_0x12b5a2;this['_color']=(_0x4d955c=_0x2e4295[_0x45d896(0x3b0)])!=null?_0x4d955c:this['_color'],this[_0x45d896(0x1af)]=(_0x1c9907=_0x2e4295['hovered'])!=null?_0x1c9907:this[_0x45d896(0x1af)],this['_range']=(_0x4adcd8=_0x2e4295[_0x45d896(0x28f)])!=null?_0x4adcd8:this[_0x45d896(0x22a)],this[_0x45d896(0x191)]=(_0x37fb61=_0x2e4295[_0x45d896(0x2bb)])!=null?_0x37fb61:this['_name'],this[_0x45d896(0x36c)]=(_0x110812=_0x2e4295[_0x45d896(0x363)])!=null?_0x110812:this[_0x45d896(0x36c)],this[_0x45d896(0x3cf)]=(_0x12b5a2=_0x2e4295[_0x45d896(0x3e8)])!=null?_0x12b5a2:this['_backgroundColor'],this[_0x45d896(0x28d)]({'width':_0x2e4295[_0x45d896(0x356)],'height':_0x2e4295[_0x45d896(0x34c)]});}[_0x3c753c(0x22b)](_0x4c22f9){const _0x7178ce=_0x3c753c,{row:_0x281337,column:_0x47aafd}=_0x4c22f9;if(_0x281337>=this[_0x7178ce(0x22a)][_0x7178ce(0x21a)]&&_0x281337<=this[_0x7178ce(0x22a)][_0x7178ce(0x361)]&&_0x47aafd>=this[_0x7178ce(0x22a)][_0x7178ce(0x1e5)]&&_0x47aafd<=this[_0x7178ce(0x22a)]['endColumn']){this[_0x7178ce(0x238)]({'hovered':!0x0});return;}this[_0x7178ce(0x238)]({'hovered':!0x1});}[_0x3c753c(0x3d5)](_0x5b5fc3){return!0x1;}[_0x3c753c(0x1ef)](_0x449ea9){const _0x172d8f=_0x3c753c;C[_0x172d8f(0x217)][_0x172d8f(0x1bf)](_0x449ea9,{'width':this[_0x172d8f(0x356)],'height':this[_0x172d8f(0x34c)],'strokeWidth':Mt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x172d8f(0x3cf)]}),this['_hovered']&&(_0x449ea9[_0x172d8f(0x2fd)](),_0x449ea9[_0x172d8f(0x3a1)](0x1,0x0,0x0,0x1,this['width'],this[_0x172d8f(0x36c)]===_0x172d8f(0x3f3)?0x0:-X),ie[_0x172d8f(0x1bf)](_0x449ea9,{'text':this[_0x172d8f(0x191)],'color':this['_color']}),_0x449ea9[_0x172d8f(0x295)]());}}var At=Object[_0x3c753c(0x35d)],Pt=(_0x2eca3d,_0x537c20,_0xf1cbe1,_0x1500bb)=>{const _0x54c625=_0x3c753c;for(var _0x558cd4=_0x1500bb>0x1?void 0x0:_0x1500bb?At(_0x537c20,_0xf1cbe1):_0x537c20,_0x4735ab=_0x2eca3d[_0x54c625(0x261)]-0x1,_0x110bd8;_0x4735ab>=0x0;_0x4735ab--)(_0x110bd8=_0x2eca3d[_0x4735ab])&&(_0x558cd4=_0x110bd8(_0x558cd4)||_0x558cd4);return _0x558cd4;},_e=(_0x2efdc7,_0xdbdf0b)=>(_0x308bd7,_0x509e6b)=>_0xdbdf0b(_0x308bd7,_0x509e6b,_0x2efdc7);const wt=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x23c48f,_0x4377dd,_0x35f789,_0x412b68){const _0x41eba3=_0x3c753c;super(),_(this,_0x41eba3(0x244),new Set()),_(this,'_lastPointer',null),(this[_0x41eba3(0x2a2)]=_0x23c48f,this[_0x41eba3(0x19e)]=_0x4377dd,this[_0x41eba3(0x290)]=_0x35f789,this[_0x41eba3(0x1c3)]=_0x412b68,this[_0x41eba3(0x384)]());}[_0x3c753c(0x384)](){const _0x480a27=_0x3c753c;this[_0x480a27(0x19e)][_0x480a27(0x412)][_0x480a27(0x23c)]($[_0x480a27(0x197)](this[_0x480a27(0x2c9)]),$[_0x480a27(0x1df)](_0x250285=>{const _0xbba532=_0x480a27;if(_0x250285){const _0x153df2=_0x250285[_0xbba532(0x2e0)];return I[_0xbba532(0x380)](this[_0xbba532(0x290)][_0xbba532(0x304)](this[_0xbba532(0x2a2)][_0xbba532(0x2f6)]),this[_0xbba532(0x1c3)]['currentTheme$'])[_0xbba532(0x23c)]($[_0xbba532(0x38d)](([_0x24a087,_0x1af01e])=>{const _0x56993b=new Map();return _0x24a087['forEach']((_0x5a77e8,_0x51fd8d)=>{const _0x19d546=_0x3b4a;if(_0x5a77e8['sheetID']===_0x153df2){const _0x2a7c9b={..._0x5a77e8};_0x2a7c9b['color']=this[_0x19d546(0x1c3)][_0x19d546(0x2b1)](_0x5a77e8[_0x19d546(0x3b0)]),_0x56993b[_0x19d546(0x41f)](_0x51fd8d,_0x2a7c9b);}}),{'skeleton':_0x250285,'cursors':_0x56993b};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x25dfe0,cursors:_0x37e08c})=>{const _0x47fc4a=_0x480a27;this[_0x47fc4a(0x2f1)](),_0x25dfe0&&this[_0x47fc4a(0x24b)](_0x25dfe0,_0x37e08c);}),this[_0x480a27(0x19e)][_0x480a27(0x412)][_0x480a27(0x335)](_0x2579a7=>{const _0xcbd419=_0x480a27;if(_0x2579a7==null)return;const {skeleton:_0x3d2761}=_0x2579a7,{scene:_0x380190}=this[_0xcbd419(0x2a2)];_0x380190[_0xcbd419(0x1b1)][_0xcbd419(0x439)](a[_0xcbd419(0x3b4)](_0x4321a9=>{const _0x4b6475=_0xcbd419;var _0x324c09,_0x1b517f;const {offsetX:_0x28ee22,offsetY:_0x45da58}=_0x4321a9,{x:_0x437c28,y:_0x5112cb}=_0x380190[_0x4b6475(0x3e1)](C[_0x4b6475(0x3b3)][_0x4b6475(0x358)]([_0x28ee22,_0x45da58])),{scaleX:_0x3ee13d,scaleY:_0x5acc3f}=_0x380190[_0x4b6475(0x2e2)](),_0x1caa26=_0x380190[_0x4b6475(0x32a)](C['SHEET_VIEWPORT_KEY'][_0x4b6475(0x428)]),_0x4fbf99=_0x380190[_0x4b6475(0x354)](C[_0x4b6475(0x3b3)][_0x4b6475(0x358)]([_0x437c28,_0x5112cb]),_0x1caa26),_0x2e7e0a=_0x3d2761['getCellPositionByOffset'](_0x28ee22,_0x45da58,_0x3ee13d,_0x5acc3f,_0x4fbf99);((_0x324c09=this['_lastPointer'])==null?void 0x0:_0x324c09['column'])===_0x2e7e0a[_0x4b6475(0x37b)]&&((_0x1b517f=this[_0x4b6475(0x19f)])==null?void 0x0:_0x1b517f['row'])===_0x2e7e0a['row']||this['_cursors'][_0x4b6475(0x21e)](_0x129d6f=>{_0x129d6f['onMouseMove'](_0x2e7e0a);});},0x64));});}[_0x3c753c(0x24b)](_0x535aa8,_0xba2199){const _0x5a20e0=_0x3c753c;var _0x281295;const _0x9c2f82=(_0x281295=this[_0x5a20e0(0x19e)][_0x5a20e0(0x3e0)]())==null?void 0x0:_0x281295[_0x5a20e0(0x39d)];if(!_0x9c2f82)return;const _0x985c67=this[_0x5a20e0(0x3cd)]();if(!_0x985c67)return;this[_0x5a20e0(0x244)][_0x5a20e0(0x21e)](_0x54fb1e=>{const _0x50b9d5=_0x5a20e0;_0x54fb1e[_0x50b9d5(0x20f)]();});const {scene:_0x3c195f}=_0x985c67,_0x57b464=yt(Array[_0x5a20e0(0x417)](_0xba2199[_0x5a20e0(0x421)]()))[_0x5a20e0(0x38d)](_0x23012a=>{const _0x43af0d=_0x5a20e0,{color:_0x574740,range:_0x5cfdb4,name:_0x2c2952,selection:_0x5e0c6b,sheetID:_0x237b66}=_0x23012a,{startColumn:_0x113c39,startRow:_0x55e957,endColumn:_0x4bd6a9,endRow:_0x1b1c1b}=_0x5cfdb4,_0x47a0a3=z['getCoordByCell'](_0x55e957,_0x113c39,_0x3c195f,_0x9c2f82),_0x39a8bf=z['getCoordByCell'](_0x1b1c1b,_0x4bd6a9,_0x3c195f,_0x9c2f82),{columnHeaderHeightAndMarginTop:_0x2b7cc0}=_0x9c2f82,{startX:_0x1e4100,startY:_0x24ef6e}=_0x47a0a3,{endX:_0x2d4562,endY:_0x5581d0}=_0x39a8bf,_0x1b0232=_0x2d4562-_0x1e4100,_0x3e3959=_0x5581d0-_0x24ef6e,_0x1667ac={'labelPosition':_0x24ef6e-_0x2b7cc0>=X?'top':_0x43af0d(0x3f3),'sheetID':_0x237b66,'range':_0x5cfdb4,'color':_0x574740,'name':_0x2c2952,'selection':_0x5e0c6b,'left':_0x1e4100,'top':_0x24ef6e,'width':_0x1b0232,'height':_0x3e3959,'evented':!0x1,'zIndex':wt};return new Be(_0x2c2952,_0x1667ac);});_0x3c195f[_0x5a20e0(0x2df)](_0x57b464,Lt),this[_0x5a20e0(0x244)]=new Set(_0x57b464);}[_0x3c753c(0x2f1)](){const _0x26bf45=_0x3c753c;var _0x5afe12;(_0x5afe12=this[_0x26bf45(0x244)])==null||_0x5afe12['forEach'](_0x25dc0d=>_0x25dc0d['dispose']());}[_0x3c753c(0x3cd)](){const _0xc8c987=_0x3c753c;return z[_0xc8c987(0x2c7)](this[_0xc8c987(0x2a2)]['unit'],this['_context']);}};ve=Pt([_e(0x1,a[_0x3c753c(0x303)](z['SheetSkeletonManagerService'])),_e(0x2,a['Inject'](B)),_e(0x3,a['Inject'](a[_0x3c753c(0x38a)]))],ve);function yt(_0x57d77e){const _0x4310b5=new Map();return _0x57d77e['forEach'](_0x4f3bb9=>{const _0x28f774=_0x3b4a;if(_0x4310b5[_0x28f774(0x2d7)](_0x4f3bb9[_0x28f774(0x3cc)])){const _0x3a68c2=_0x4310b5['get'](_0x4f3bb9[_0x28f774(0x3cc)]);_0x3a68c2['name']+=',\x20'+_0x4f3bb9[_0x28f774(0x2bb)];}else _0x4310b5[_0x28f774(0x41f)](_0x4f3bb9[_0x28f774(0x3cc)],_0x4f3bb9);}),Array['from'](_0x4310b5['values']());}var $t=Object[_0x3c753c(0x35d)],xt=(_0x15eb35,_0x564a5b,_0x4fea15,_0x3a42d0)=>{const _0x4794ab=_0x3c753c;for(var _0x17b4fd=_0x3a42d0>0x1?void 0x0:_0x3a42d0?$t(_0x564a5b,_0x4fea15):_0x564a5b,_0x391b6b=_0x15eb35[_0x4794ab(0x261)]-0x1,_0x34128d;_0x391b6b>=0x0;_0x391b6b--)(_0x34128d=_0x15eb35[_0x391b6b])&&(_0x17b4fd=_0x34128d(_0x17b4fd)||_0x17b4fd);return _0x17b4fd;},y=(_0x184790,_0x5e5845)=>(_0x13a885,_0xb3bc7b)=>_0x5e5845(_0x13a885,_0xb3bc7b,_0x184790);let J=class extends a[_0x3c753c(0x401)]{constructor(_0xa0df20,_0x5125cb,_0x4afcff,_0x845c6e,_0x3ca4b6,_0xfb6daf){const _0x316aa2=_0x3c753c;super(),this[_0x316aa2(0x2cb)]=_0xa0df20,this[_0x316aa2(0x30c)]=_0x5125cb,this[_0x316aa2(0x3d3)]=_0x4afcff,this[_0x316aa2(0x226)]=_0x845c6e,this[_0x316aa2(0x250)]=_0x3ca4b6,this[_0x316aa2(0x42c)]=_0xfb6daf,this[_0x316aa2(0x351)](),this[_0x316aa2(0x3aa)]();}['_setupBeforeClosingHandler'](){const _0x53c51a=_0x3c753c;this[_0x53c51a(0x368)](this[_0x53c51a(0x2cb)][_0x53c51a(0x330)](()=>{const _0x368326=_0x53c51a;if(this[_0x368326(0x30c)]['saveTaskMap'][_0x368326(0x2a9)])return this[_0x368326(0x42c)]['t'](_0x368326(0x433));}));}[_0x3c753c(0x3aa)](){const _0x57fb9d=_0x3c753c;this[_0x57fb9d(0x368)](this[_0x57fb9d(0x3d3)][_0x57fb9d(0x28e)]['subscribe'](_0x525574=>{const _0x19711e=_0x57fb9d;_0x525574['id']===u['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x19711e(0x226)]['show']({'type':p[_0x19711e(0x442)]['Warning'],'content':this[_0x19711e(0x42c)]['t']('collaboration.single-unit.warning')}),_0x525574['id']===u[_0x19711e(0x378)]['CLOSE_ROOM']&&this[_0x19711e(0x226)][_0x19711e(0x236)]({'type':p[_0x19711e(0x442)][_0x19711e(0x2e6)],'content':this[_0x19711e(0x42c)]['t']('collaboration.closeRoom')}),_0x525574['id']===u[_0x19711e(0x378)][_0x19711e(0x2c5)]&&this[_0x19711e(0x250)]['show']({'title':this[_0x19711e(0x42c)]['t']('permission.title'),'content':this[_0x19711e(0x42c)]['t'](_0x19711e(0x3e7)),'type':_0x19711e(0x452),'duration':0x0}),_0x525574['id']===u[_0x19711e(0x378)][_0x19711e(0x41c)]&&this[_0x19711e(0x226)][_0x19711e(0x236)]({'type':p[_0x19711e(0x442)][_0x19711e(0x1db)],'content':this[_0x19711e(0x42c)]['t'](_0x19711e(0x3ef))+'('+_0x525574[_0x19711e(0x305)]+')'}),_0x525574['id']===u[_0x19711e(0x378)][_0x19711e(0x3b9)]&&this[_0x19711e(0x226)][_0x19711e(0x236)]({'type':p[_0x19711e(0x442)][_0x19711e(0x2e6)],'content':this[_0x19711e(0x42c)]['t'](_0x525574[_0x19711e(0x305)]||'')}),_0x525574['id']===u[_0x19711e(0x378)][_0x19711e(0x40a)]&&this[_0x19711e(0x226)][_0x19711e(0x236)]({'type':p[_0x19711e(0x442)][_0x19711e(0x2e6)],'content':this[_0x19711e(0x42c)]['t']('session.will-retry')}),_0x525574['id']===u[_0x19711e(0x378)][_0x19711e(0x1e0)]&&this[_0x19711e(0x226)][_0x19711e(0x236)]({'type':p[_0x19711e(0x442)][_0x19711e(0x1db)],'content':this['_localeService']['t'](_0x19711e(0x32e))}),_0x525574['id']===u[_0x19711e(0x378)][_0x19711e(0x2b4)]&&this['_messageService'][_0x19711e(0x236)]({'type':p['MessageType']['Error'],'content':this['_localeService']['t'](_0x19711e(0x252))});}));}};J=xt([y(0x0,O[_0x3c753c(0x34b)]),y(0x1,u['ILocalCacheService']),y(0x2,a['Inject'](u[_0x3c753c(0x410)])),y(0x3,O['IMessageService']),y(0x4,O[_0x3c753c(0x3c4)]),y(0x5,a[_0x3c753c(0x303)](a[_0x3c753c(0x2e3)]))],J);const Bt=_0x3c753c(0x1a1),Ue={};var Ft=Object[_0x3c753c(0x35d)],kt=(_0x2c669e,_0x5ad9a5,_0x207087,_0x50f30b)=>{const _0x17f1bd=_0x3c753c;for(var _0x356562=_0x50f30b>0x1?void 0x0:_0x50f30b?Ft(_0x5ad9a5,_0x207087):_0x5ad9a5,_0x8a8d0b=_0x2c669e[_0x17f1bd(0x261)]-0x1,_0x1315f2;_0x8a8d0b>=0x0;_0x8a8d0b--)(_0x1315f2=_0x2c669e[_0x8a8d0b])&&(_0x356562=_0x1315f2(_0x356562)||_0x356562);return _0x356562;},Le=(_0x3ad16c,_0x48c42d)=>(_0xc6be17,_0x481c96)=>_0x48c42d(_0xc6be17,_0x481c96,_0x3ad16c);let Z=class{constructor(_0x58e523,_0xdc2459){const _0x3efacc=_0x3c753c;this[_0x3efacc(0x2c0)]=_0x58e523,this['_renderManagerService']=_0xdc2459;}[_0x3c753c(0x2a1)](_0x2f4221){const _0x286b2f=_0x3c753c;this[_0x286b2f(0x190)](_0x2f4221),this[_0x286b2f(0x372)](_0x2f4221);}[_0x3c753c(0x280)](_0x49d9a2){const _0x68bafb=_0x3c753c,{unitID:_0x950003}=_0x49d9a2,_0x1568d7=this['_renderManagerService']['getRenderById'](_0x950003)[_0x68bafb(0x1a5)](T[_0x68bafb(0x243)]),{redoCache:_0x217a69}=_0x1568d7[_0x68bafb(0x366)]();if(_0x217a69[_0x68bafb(0x261)]===0x0)return _0x49d9a2;let _0x2168bd=a['Tools']['deepClone'](_0x49d9a2[_0x68bafb(0x43f)][0x0]);for(let _0x530b96=0x0;_0x530b96<_0x217a69[_0x68bafb(0x261)];_0x530b96++){const _0x52e946={'id':_0x68bafb(0x2f8),'params':{..._0x217a69[_0x530b96]}},_0x2abd57=this[_0x68bafb(0x2c0)][_0x68bafb(0x294)](_0x2168bd,_0x52e946,!0x1);if(v[_0x68bafb(0x3a4)](_0x2abd57))throw _0x2abd57[_0x68bafb(0x452)];_0x2168bd=_0x2abd57[_0x68bafb(0x2f0)];}return{...a[_0x68bafb(0x239)][_0x68bafb(0x3eb)](_0x49d9a2),'mutations':[_0x2168bd]};}[_0x3c753c(0x190)](_0x5826dd){const _0x29151c=_0x3c753c,{unitID:_0x3b1d65}=_0x5826dd,_0x423f0a=this[_0x29151c(0x288)]['getRenderById'](_0x3b1d65)[_0x29151c(0x1a5)](T[_0x29151c(0x243)]),{undoCache:_0x521997,redoCache:_0x4b3e3d}=_0x423f0a[_0x29151c(0x366)]();if(_0x521997[_0x29151c(0x261)]===0x0||_0x4b3e3d[_0x29151c(0x261)]===0x0)return;const _0x4d60b8=[],_0x1e56b6=[];let _0x2258d3=a[_0x29151c(0x239)][_0x29151c(0x3eb)](_0x5826dd[_0x29151c(0x43f)][0x0]),_0x23aab8=a[_0x29151c(0x239)][_0x29151c(0x3eb)](_0x5826dd[_0x29151c(0x43f)][0x0]);for(let _0x268c37=_0x521997[_0x29151c(0x261)]-0x1;_0x268c37>=0x0;_0x268c37--){const _0x1be19f={'id':_0x29151c(0x2f8),'params':{..._0x521997[_0x268c37]}},_0x16499b={'id':'doc.mutation.rich-text-editing','params':{..._0x4b3e3d[_0x268c37]}},_0x32cd06=this['_transformService'][_0x29151c(0x294)](_0x2258d3,_0x1be19f,!0x1),_0x57cc18=this[_0x29151c(0x2c0)][_0x29151c(0x294)](_0x23aab8,_0x16499b,!0x1);if(v[_0x29151c(0x3a4)](_0x32cd06))throw _0x32cd06[_0x29151c(0x452)];if(v['isTransformMutationFailure'](_0x57cc18))throw _0x57cc18[_0x29151c(0x452)];_0x4d60b8['unshift'](_0x32cd06['m2Prime'][_0x29151c(0x3ec)]),_0x1e56b6[_0x29151c(0x44b)](_0x57cc18[_0x29151c(0x25b)]['params']),_0x2258d3=_0x32cd06[_0x29151c(0x2f0)],_0x23aab8=_0x57cc18['m1Prime'];}_0x423f0a['setUndoRedoMutationParamsCache']({'undoCache':_0x4d60b8,'redoCache':_0x1e56b6});}['_transformPreviousActiveRange'](_0x2ed56f){const _0x3786a0=_0x3c753c,{unitID:_0x61e0e1}=_0x2ed56f,_0xfb7528=this[_0x3786a0(0x288)]['getRenderById'](_0x61e0e1)[_0x3786a0(0x1a5)](T[_0x3786a0(0x243)]),_0x9baf2a=_0xfb7528[_0x3786a0(0x37e)]();if(_0x9baf2a==null)return;const _0x402ec9=[{'id':_0x3786a0(0x2f8),'params':{'unitId':_0x2ed56f[_0x3786a0(0x20b)],'actions':null,'textRanges':[_0x9baf2a]}}],_0x181e29=this[_0x3786a0(0x2c0)][_0x3786a0(0x2ca)](_0x2ed56f,_0x402ec9);if(!v['isTransformMutationsWithChangesetSuccess'](_0x181e29))throw _0x181e29['error'];const _0x34dbe0=_0x181e29['m2Prime'][0x0][_0x3786a0(0x3ec)][_0x3786a0(0x2ac)];Array['isArray'](_0x34dbe0)&&_0x34dbe0[_0x3786a0(0x261)]&&_0xfb7528[_0x3786a0(0x408)](_0x34dbe0[0x0]);}};Z=kt([Le(0x0,v[_0x3c753c(0x2a7)]),Le(0x1,C[_0x3c753c(0x2c1)])],Z);var jt=Object[_0x3c753c(0x35d)],Yt=(_0x1e9883,_0x175fcd,_0x3b5c2b,_0x5bceac)=>{const _0x2276ea=_0x3c753c;for(var _0x24e9b1=_0x5bceac>0x1?void 0x0:_0x5bceac?jt(_0x175fcd,_0x3b5c2b):_0x175fcd,_0x285b70=_0x1e9883[_0x2276ea(0x261)]-0x1,_0x5974b9;_0x285b70>=0x0;_0x285b70--)(_0x5974b9=_0x1e9883[_0x285b70])&&(_0x24e9b1=_0x5974b9(_0x24e9b1)||_0x24e9b1);return _0x24e9b1;},he=(_0x4d6897,_0x3c40d7)=>(_0x4fb258,_0x2510a0)=>_0x3c40d7(_0x4fb258,_0x2510a0,_0x4d6897);let Q=class{constructor(_0xeaec7f,_0x93393f,_0x510d80){const _0x2a0fec=_0x3c753c;this[_0x2a0fec(0x22c)]=_0xeaec7f,this['_transformService']=_0x93393f,this[_0x2a0fec(0x411)]=_0x510d80;}[_0x3c753c(0x35c)](_0x1bc35e){this['_transformHistoryAndStateStack'](_0x1bc35e);}['transformRemoteChangeset'](_0x3d0320){const _0x1a29d6=_0x3c753c,{unitID:_0x1f6fe9}=_0x3d0320,{collaboration:_0x4e63d5}=this[_0x1a29d6(0x411)]['getStateCache'](_0x1f6fe9);if(_0x4e63d5[_0x1a29d6(0x261)]===0x0)return _0x3d0320;let _0x2e4e95=a[_0x1a29d6(0x239)][_0x1a29d6(0x3eb)](_0x3d0320[_0x1a29d6(0x43f)][0x0]);for(let _0x2ec115=0x0;_0x2ec115<_0x4e63d5[_0x1a29d6(0x261)];_0x2ec115++){const _0x686fa0={'id':_0x1a29d6(0x2f8),'params':{'unitId':_0x4e63d5[_0x2ec115]['unitId'],..._0x4e63d5[_0x2ec115]['redoState']}},_0x2cb06a=this[_0x1a29d6(0x2c0)][_0x1a29d6(0x294)](_0x2e4e95,_0x686fa0,!0x1);if(v[_0x1a29d6(0x3a4)](_0x2cb06a))throw _0x2cb06a[_0x1a29d6(0x452)];_0x2e4e95=_0x2cb06a['m1Prime'];}return{...a[_0x1a29d6(0x239)]['deepClone'](_0x3d0320),'mutations':[_0x2e4e95]};}[_0x3c753c(0x444)](_0x5ecdd3){const _0xfb54f3=_0x3c753c,{unitID:_0x2943bb}=_0x5ecdd3,{history:_0x304f04,collaboration:_0x3a243b}=this[_0xfb54f3(0x411)][_0xfb54f3(0x3d0)](_0x2943bb);if(_0x304f04[_0xfb54f3(0x261)]===0x0&&_0x3a243b['length']===0x0)return;const _0x291855=[],_0x5c82ca=[];let _0x14bf96=a[_0xfb54f3(0x239)][_0xfb54f3(0x3eb)](_0x5ecdd3['mutations'][0x0]),_0x3553ef=a[_0xfb54f3(0x239)]['deepClone'](_0x5ecdd3[_0xfb54f3(0x43f)][0x0]);for(let _0x5421b7=_0x304f04[_0xfb54f3(0x261)]-0x1;_0x5421b7>=0x0;_0x5421b7--){const _0x399a75={'id':_0xfb54f3(0x2f8),'params':{'unitId':_0x304f04[_0x5421b7][_0xfb54f3(0x2f6)],..._0x304f04[_0x5421b7][_0xfb54f3(0x291)]}},_0x50fe8b={'id':_0xfb54f3(0x2f8),'params':{'unitId':_0x304f04[_0x5421b7][_0xfb54f3(0x2f6)],..._0x304f04[_0x5421b7][_0xfb54f3(0x2f7)]}},_0x390266=this[_0xfb54f3(0x2c0)][_0xfb54f3(0x294)](_0x14bf96,_0x399a75,!0x1),_0x42c0ed=this[_0xfb54f3(0x2c0)][_0xfb54f3(0x294)](_0x3553ef,_0x50fe8b,!0x1);if(v[_0xfb54f3(0x3a4)](_0x390266))throw _0x390266[_0xfb54f3(0x452)];if(v[_0xfb54f3(0x3a4)](_0x42c0ed))throw _0x42c0ed['error'];_0x291855['unshift']({..._0x304f04[_0x5421b7],'undoState':_0x390266[_0xfb54f3(0x25b)][_0xfb54f3(0x3ec)],'redoState':_0x42c0ed[_0xfb54f3(0x25b)][_0xfb54f3(0x3ec)]}),_0x14bf96=_0x390266['m1Prime'],_0x3553ef=_0x42c0ed['m1Prime'];}_0x14bf96=a['Tools']['deepClone'](_0x5ecdd3[_0xfb54f3(0x43f)][0x0]),_0x3553ef=a[_0xfb54f3(0x239)]['deepClone'](_0x5ecdd3[_0xfb54f3(0x43f)][0x0]);for(let _0x1ccd0d=_0x3a243b['length']-0x1;_0x1ccd0d>=0x0;_0x1ccd0d--){const _0x3ab2ef={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a243b[_0x1ccd0d]['unitId'],..._0x3a243b[_0x1ccd0d][_0xfb54f3(0x291)]}},_0x3b0ebe={'id':_0xfb54f3(0x2f8),'params':{'unitId':_0x3a243b[_0x1ccd0d][_0xfb54f3(0x2f6)],..._0x3a243b[_0x1ccd0d][_0xfb54f3(0x2f7)]}},_0x19cb9d=this[_0xfb54f3(0x2c0)][_0xfb54f3(0x294)](_0x14bf96,_0x3ab2ef,!0x1),_0x1b9ed3=this['_transformService']['transformMutation'](_0x3553ef,_0x3b0ebe,!0x1);if(v['isTransformMutationFailure'](_0x19cb9d))throw _0x19cb9d[_0xfb54f3(0x452)];if(v[_0xfb54f3(0x3a4)](_0x1b9ed3))throw _0x1b9ed3[_0xfb54f3(0x452)];_0x5c82ca['unshift']({..._0x3a243b[_0x1ccd0d],'undoState':_0x19cb9d[_0xfb54f3(0x25b)]['params'],'redoState':_0x1b9ed3[_0xfb54f3(0x25b)]['params']}),_0x14bf96=_0x19cb9d['m1Prime'],_0x3553ef=_0x1b9ed3[_0xfb54f3(0x2f0)];}this[_0xfb54f3(0x411)][_0xfb54f3(0x381)](_0x2943bb,{'history':_0x291855,'collaboration':_0x5c82ca});}};Q=Yt([he(0x0,a[_0x3c753c(0x303)](a['Injector'])),he(0x1,v[_0x3c753c(0x2a7)]),he(0x2,a[_0x3c753c(0x303)](T[_0x3c753c(0x397)]))],Q);var Ht=Object['getOwnPropertyDescriptor'],Wt=(_0x3e3da6,_0x1d5630,_0x2948d0,_0x2d901d)=>{for(var _0x66941c=_0x2d901d>0x1?void 0x0:_0x2d901d?Ht(_0x1d5630,_0x2948d0):_0x1d5630,_0x861719=_0x3e3da6['length']-0x1,_0x3c10d7;_0x861719>=0x0;_0x861719--)(_0x3c10d7=_0x3e3da6[_0x861719])&&(_0x66941c=_0x3c10d7(_0x66941c)||_0x66941c);return _0x66941c;},Me=(_0xa8231e,_0x4f3d34)=>(_0x500356,_0x2e6494)=>_0x4f3d34(_0x500356,_0x2e6494,_0xa8231e);let ee=class{constructor(_0x2c4b6e,_0x5e6a5d){const _0x25acca=_0x3c753c;this[_0x25acca(0x22c)]=_0x2c4b6e,this[_0x25acca(0x2c0)]=_0x5e6a5d;}[_0x3c753c(0x2c4)](_0x905dd1){const _0x34f051=_0x3c753c;var _0xaee29c;const _0x47037e=this[_0x34f051(0x22c)]['get'](W['DocSelectionManagerService']),_0x41eaa5=(_0xaee29c=_0x47037e[_0x34f051(0x435)]())!=null?_0xaee29c:[];if(_0x41eaa5['length']===0x0)return;const _0xba7009=_0x905dd1[_0x34f051(0x20b)],_0x4dc482=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xba7009,'actions':null,'textRanges':_0x41eaa5}}],_0x386dab=this[_0x34f051(0x2c0)]['transformMutationsWithChangeset'](_0x905dd1,_0x4dc482);if(!v[_0x34f051(0x39c)](_0x386dab))throw _0x386dab[_0x34f051(0x452)];const _0x3ee607=_0x386dab[_0x34f051(0x25b)][0x0]['params'][_0x34f051(0x2ac)];Array[_0x34f051(0x1ff)](_0x3ee607)&&_0x3ee607[_0x34f051(0x261)]&&_0x47037e[_0x34f051(0x2f5)](_0x3ee607,{'unitId':_0xba7009,'subUnitId':_0xba7009},!0x1);}};ee=Wt([Me(0x0,a[_0x3c753c(0x303)](a[_0x3c753c(0x1c5)])),Me(0x1,v['ITransformService'])],ee);var Vt=Object[_0x3c753c(0x35d)],Gt=(_0x1e074c,_0xfbd12,_0x19b507,_0x1e0942)=>{const _0x154cab=_0x3c753c;for(var _0x328985=_0x1e0942>0x1?void 0x0:_0x1e0942?Vt(_0xfbd12,_0x19b507):_0xfbd12,_0x3ff1c9=_0x1e074c[_0x154cab(0x261)]-0x1,_0x1e5b62;_0x3ff1c9>=0x0;_0x3ff1c9--)(_0x1e5b62=_0x1e074c[_0x3ff1c9])&&(_0x328985=_0x1e5b62(_0x328985)||_0x328985);return _0x328985;},N=(_0x4b78b4,_0x3c32d1)=>(_0x1533b0,_0x101e52)=>_0x3c32d1(_0x1533b0,_0x101e52,_0x4b78b4);let te=class extends a[_0x3c753c(0x401)]{constructor(_0x2548f3,_0x503648,_0xd6f635,_0x59f5a3,_0x1702ea,_0x381599,_0x5db842,_0x1deb05){const _0x5c4ba1=_0x3c753c;super(),_(this,_0x5c4ba1(0x1b7),new I[(_0x5c4ba1(0x3c2))](u[_0x5c4ba1(0x3d9)][_0x5c4ba1(0x273)])),(this[_0x5c4ba1(0x411)]=_0x2548f3,this[_0x5c4ba1(0x212)]=_0x503648,this[_0x5c4ba1(0x360)]=_0xd6f635,this[_0x5c4ba1(0x195)]=_0x59f5a3,this[_0x5c4ba1(0x2e7)]=_0x1702ea,this['_docSyncEditingCollabCursorService']=_0x381599,this[_0x5c4ba1(0x226)]=_0x5db842,this[_0x5c4ba1(0x42c)]=_0x1deb05,this['_initEntityListener']());}[_0x3c753c(0x37f)](){const _0xa4f424=_0x3c753c;this[_0xa4f424(0x368)](this[_0xa4f424(0x212)]['entityInit$'][_0xa4f424(0x335)](_0x43c89b=>{const _0x281303=_0xa4f424,_0x3c9718=this[_0x281303(0x411)][_0x281303(0x440)]['subscribe'](_0x35501d=>{const _0x3644bb=_0x281303;if(_0x35501d==null)return;const {unitId:_0xf9d49d,redoState:_0x1d9fde,commandId:_0x56a4de}=_0x35501d;if(_0xf9d49d!==_0x43c89b[_0x3644bb(0x20b)])return;const _0x3d98d0={'id':_0x56a4de,'type':a[_0x3644bb(0x268)]['MUTATION'],'params':{'unitId':_0xf9d49d,'actions':_0x1d9fde[_0x3644bb(0x3a0)],'textRanges':null}};_0x43c89b[_0x3644bb(0x1b2)](_0x3d98d0);});if(_0x43c89b[_0x281303(0x368)](_0x3c9718),_0x43c89b instanceof u[_0x281303(0x259)]){const _0x554399={'onTransformIME':_0x530845=>this[_0x281303(0x360)]['transformIMECache'](_0x530845),'onTransformState':_0x1260e1=>this[_0x281303(0x195)][_0x281303(0x35c)](_0x1260e1),'onTransformSelections':_0x5ac114=>this['_docTransformSelectionsService'][_0x281303(0x2c4)](_0x5ac114),'onSyncEditingCollabCursor':_0x2023d9=>this[_0x281303(0x319)][_0x281303(0x40d)](_0x2023d9),'onTransformRemoteChangesetByIMECache':_0x15e25b=>this['_docTransformIMECacheService'][_0x281303(0x280)](_0x15e25b),'onTransformRemoteChangesetByStateCache':_0x478424=>this[_0x281303(0x195)][_0x281303(0x280)](_0x478424)};_0x43c89b[_0x281303(0x309)](_0x554399);}}));}};te=Gt([N(0x0,a[_0x3c753c(0x303)](T[_0x3c753c(0x397)])),N(0x1,a[_0x3c753c(0x303)](u[_0x3c753c(0x1c8)])),N(0x2,a[_0x3c753c(0x303)](Z)),N(0x3,a[_0x3c753c(0x303)](Q)),N(0x4,a[_0x3c753c(0x303)](ee)),N(0x5,a[_0x3c753c(0x303)](Oe)),N(0x6,O[_0x3c753c(0x1ea)]),N(0x7,a[_0x3c753c(0x303)](a['LocaleService']))],te);var V=(_0x50d5ea=>(_0x50d5ea[_0x50d5ea[_0x3c753c(0x30d)]=0x0]='UNDEFINED',_0x50d5ea[_0x50d5ea['OK']=0x1]='OK',_0x50d5ea[_0x50d5ea[_0x3c753c(0x32c)]=0x2]='INTERNAL_ERROR',_0x50d5ea[_0x50d5ea[_0x3c753c(0x2c5)]=0x3]=_0x3c753c(0x2c5),_0x50d5ea[_0x50d5ea['NOT_FOUND']=0x4]=_0x3c753c(0x1d2),_0x50d5ea[_0x50d5ea[_0x3c753c(0x1c2)]=0x5]=_0x3c753c(0x1c2),_0x50d5ea[_0x50d5ea[_0x3c753c(0x248)]=0x6]=_0x3c753c(0x248),_0x50d5ea[_0x50d5ea[_0x3c753c(0x36d)]=0x7]=_0x3c753c(0x36d),_0x50d5ea[_0x50d5ea['TOO_MANY_REQUESTS']=0x8]=_0x3c753c(0x1f4),_0x50d5ea[_0x50d5ea['COMPLETION_FINISHED']=0x9]=_0x3c753c(0x286),_0x50d5ea[_0x50d5ea['LOGIN_FAILED']=0xa]=_0x3c753c(0x24c),_0x50d5ea[_0x50d5ea[_0x3c753c(0x274)]=0xb]=_0x3c753c(0x274),_0x50d5ea[_0x50d5ea[_0x3c753c(0x2ee)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x50d5ea[_0x50d5ea[_0x3c753c(0x1ec)]=0xd]=_0x3c753c(0x1ec),_0x50d5ea[_0x50d5ea['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x3c753c(0x299),_0x50d5ea[_0x50d5ea['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x3c753c(0x3e9),_0x50d5ea[_0x50d5ea[_0x3c753c(0x350)]=0x10]=_0x3c753c(0x350),_0x50d5ea[_0x50d5ea['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x3c753c(0x1f1),_0x50d5ea[_0x50d5ea[_0x3c753c(0x2ce)]=0x65]=_0x3c753c(0x2ce),_0x50d5ea[_0x50d5ea[_0x3c753c(0x33f)]=0xc9]=_0x3c753c(0x33f),_0x50d5ea[_0x50d5ea[_0x3c753c(0x1e9)]=0xca]=_0x3c753c(0x1e9),_0x50d5ea[_0x50d5ea[_0x3c753c(0x2d6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x50d5ea[_0x50d5ea[_0x3c753c(0x298)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x50d5ea[_0x50d5ea[_0x3c753c(0x2e9)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x50d5ea[_0x50d5ea['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3c753c(0x390),_0x50d5ea[_0x50d5ea[_0x3c753c(0x3b6)]=0x1b59]=_0x3c753c(0x3b6),_0x50d5ea[_0x50d5ea['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3c753c(0x375),_0x50d5ea[_0x50d5ea[_0x3c753c(0x2b2)]=0x1b5b]=_0x3c753c(0x2b2),_0x50d5ea[_0x50d5ea['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3c753c(0x240),_0x50d5ea[_0x50d5ea[_0x3c753c(0x266)]=0x1b5d]='APPLY_DUPLICATED',_0x50d5ea[_0x50d5ea[_0x3c753c(0x2ef)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x50d5ea[_0x50d5ea['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x50d5ea[_0x50d5ea[_0x3c753c(0x37c)]=0x232a]=_0x3c753c(0x37c),_0x50d5ea[_0x50d5ea['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3c753c(0x1d0),_0x50d5ea[_0x50d5ea['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x50d5ea[_0x50d5ea[_0x3c753c(0x2e4)]=0x232d]=_0x3c753c(0x2e4),_0x50d5ea[_0x50d5ea[_0x3c753c(0x3a8)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x50d5ea[_0x50d5ea[_0x3c753c(0x419)]=0x2712]=_0x3c753c(0x419),_0x50d5ea[_0x50d5ea[_0x3c753c(0x3d7)]=0x2713]=_0x3c753c(0x3d7),_0x50d5ea[_0x50d5ea[_0x3c753c(0x342)]=0x2714]=_0x3c753c(0x342),_0x50d5ea[_0x50d5ea['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3c753c(0x44f),_0x50d5ea[_0x50d5ea['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3c753c(0x27b),_0x50d5ea[_0x50d5ea[_0x3c753c(0x1b5)]=0x271c]=_0x3c753c(0x1b5),_0x50d5ea[_0x50d5ea[_0x3c753c(0x20e)]=0x271d]=_0x3c753c(0x20e),_0x50d5ea[_0x50d5ea[_0x3c753c(0x359)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x50d5ea[_0x50d5ea[_0x3c753c(0x416)]=0x271f]=_0x3c753c(0x416),_0x50d5ea[_0x50d5ea[_0x3c753c(0x1f7)]=0x2720]=_0x3c753c(0x1f7),_0x50d5ea[_0x50d5ea[_0x3c753c(0x3fd)]=0x2af9]=_0x3c753c(0x3fd),_0x50d5ea[_0x50d5ea[_0x3c753c(0x3b8)]=0x2ee1]=_0x3c753c(0x3b8),_0x50d5ea[_0x50d5ea[_0x3c753c(0x2e8)]=0x2ee2]=_0x3c753c(0x2e8),_0x50d5ea[_0x50d5ea[_0x3c753c(0x2b9)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x50d5ea[_0x50d5ea[_0x3c753c(0x234)]=0x2ee4]=_0x3c753c(0x234),_0x50d5ea[_0x50d5ea[_0x3c753c(0x2d8)]=0x2ee5]=_0x3c753c(0x2d8),_0x50d5ea[_0x50d5ea['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3c753c(0x300),_0x50d5ea[_0x50d5ea[_0x3c753c(0x367)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x50d5ea[_0x50d5ea[_0x3c753c(0x3ad)]=0x32cb]=_0x3c753c(0x3ad),_0x50d5ea[_0x50d5ea[_0x3c753c(0x374)]=0x36b1]=_0x3c753c(0x374),_0x50d5ea[_0x50d5ea[_0x3c753c(0x20d)]=0x36b2]=_0x3c753c(0x20d),_0x50d5ea[_0x50d5ea[_0x3c753c(0x22e)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x50d5ea[_0x50d5ea[_0x3c753c(0x2af)]=0x36b4]=_0x3c753c(0x2af),_0x50d5ea[_0x50d5ea[_0x3c753c(0x206)]=0x3715]=_0x3c753c(0x206),_0x50d5ea[_0x50d5ea[_0x3c753c(0x405)]=0x3716]=_0x3c753c(0x405),_0x50d5ea[_0x50d5ea[_0x3c753c(0x38b)]=0x3717]=_0x3c753c(0x38b),_0x50d5ea[_0x50d5ea[_0x3c753c(0x35a)]=0x37dd]=_0x3c753c(0x35a),_0x50d5ea[_0x50d5ea[_0x3c753c(0x1f2)]=0x3a99]=_0x3c753c(0x1f2),_0x50d5ea[_0x50d5ea[_0x3c753c(0x42b)]=0x3a9a]=_0x3c753c(0x42b),_0x50d5ea[_0x50d5ea[_0x3c753c(0x22d)]=0x3a9b]=_0x3c753c(0x22d),_0x50d5ea[_0x50d5ea[_0x3c753c(0x275)]=0x3a9c]=_0x3c753c(0x275),_0x50d5ea[_0x50d5ea[_0x3c753c(0x426)]=0x3a9d]=_0x3c753c(0x426),_0x50d5ea[_0x50d5ea[_0x3c753c(0x1c1)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x50d5ea[_0x50d5ea[_0x3c753c(0x369)]=0x3a9f]=_0x3c753c(0x369),_0x50d5ea[_0x50d5ea[_0x3c753c(0x1a8)]=0x3e81]=_0x3c753c(0x1a8),_0x50d5ea[_0x50d5ea[_0x3c753c(0x3be)]=-0x1]=_0x3c753c(0x3be),_0x50d5ea))(V||{});function Xt(_0x4b582a){const _0x44b9e6=_0x3c753c;var _0xa8ebd,_0x44ec29;const _0x2dc09c=(_0xa8ebd=_0x4b582a['stageInfo'])==null?void 0x0:_0xa8ebd[_0x44b9e6(0x220)],_0x488434=((_0x44ec29=_0x4b582a[_0x44b9e6(0x30e)])==null?void 0x0:_0x44ec29[_0x44b9e6(0x282)])||0x0;return _0x2dc09c===x[_0x44b9e6(0x441)]['START_CALCULATION']&&_0x488434>0x0;}function Kt(_0x444d65){const _0x329f65=_0x3c753c;return _0x444d65[_0x329f65(0x42d)]===x['FormulaExecutedStateType'][_0x329f65(0x43b)];}var qt=Object[_0x3c753c(0x35d)],zt=(_0x54cd75,_0x2d0623,_0x2db32d,_0x3b7fbc)=>{const _0x1431c2=_0x3c753c;for(var _0x312145=_0x3b7fbc>0x1?void 0x0:_0x3b7fbc?qt(_0x2d0623,_0x2db32d):_0x2d0623,_0x131991=_0x54cd75[_0x1431c2(0x261)]-0x1,_0x460d78;_0x131991>=0x0;_0x131991--)(_0x460d78=_0x54cd75[_0x131991])&&(_0x312145=_0x460d78(_0x312145)||_0x312145);return _0x312145;},L=(_0x38ad04,_0x2278d1)=>(_0x3c6978,_0x459ba7)=>_0x2278d1(_0x3c6978,_0x459ba7,_0x38ad04);const Jt='/universer-api/license/formula/limit/status',Zt=_0x3c753c(0x446),Qt=_0x3c753c(0x207);let se=class extends a[_0x3c753c(0x401)]{constructor(_0x8e4cd6,_0x15ee8a,_0x2f1444,_0x2e4764,_0x5d3e34,_0x3e0a25,_0x2894b3){const _0x171d8e=_0x3c753c;super(),_(this,_0x171d8e(0x3a3),null),_(this,_0x171d8e(0x21f),0x0),_(this,_0x171d8e(0x1f8),0x0),_(this,_0x171d8e(0x3c0),[]),_(this,_0x171d8e(0x21c),0x0),(this[_0x171d8e(0x226)]=_0x8e4cd6,this['_commandService']=_0x15ee8a,this[_0x171d8e(0x443)]=_0x2f1444,this['_httpService']=_0x2e4764,this[_0x171d8e(0x30f)]=_0x5d3e34,this['_logService']=_0x3e0a25,this[_0x171d8e(0x42c)]=_0x2894b3,this['_initCommandInterceptor']());}[_0x3c753c(0x2be)](){const _0x221a57=_0x3c753c;this[_0x221a57(0x368)](this[_0x221a57(0x1f3)][_0x221a57(0x2e5)]((_0x52fcda,_0x1ca416)=>{const _0x20bda8=_0x221a57;var _0x1b81e3;if(_0x52fcda['id']!==x['SetFormulaCalculationStartMutation']['id'])return;const _0x4d6c4f=_0x52fcda[_0x20bda8(0x3ec)];if(!this[_0x20bda8(0x28b)]((_0x1b81e3=_0x4d6c4f[_0x20bda8(0x222)])!=null?_0x1b81e3:[]))return;if(!this[_0x20bda8(0x379)]())throw this[_0x20bda8(0x31f)](_0x52fcda,_0x1ca416),this['_showGuardMessage'](),new a[(_0x20bda8(0x3da))]();})),this[_0x221a57(0x368)](this[_0x221a57(0x1f3)][_0x221a57(0x33c)]((_0x2d9649,_0x3940c6)=>{const _0xcc31a3=_0x221a57;if(_0x2d9649['id']!==x[_0xcc31a3(0x36e)]['id'])return;const _0x1a9328=_0x2d9649['params'];if(Xt(_0x1a9328)){const _0x20e2a5=a['generateRandomId']();this[_0xcc31a3(0x3c0)][_0xcc31a3(0x403)](_0x20e2a5),this[_0xcc31a3(0x40b)](_0x20e2a5);}else{if(Kt(_0x1a9328)&&this[_0xcc31a3(0x3c0)][_0xcc31a3(0x261)]>0x0){const _0x492975=this[_0xcc31a3(0x3c0)][_0xcc31a3(0x19d)]();this[_0xcc31a3(0x1a4)](_0x492975);}}}));}[_0x3c753c(0x414)](){const _0x3bb5ba=_0x3c753c;super[_0x3bb5ba(0x414)](),this[_0x3bb5ba(0x3ed)](),this[_0x3bb5ba(0x3c0)]=[],this[_0x3bb5ba(0x1f8)]=0x0,this['_maxFormulaLimit']=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x3c753c(0x31f)](_0x2791ed,_0x4364a6){const _0xace437=_0x3c753c;for(let _0x4077cf=0x0;_0x4077cf<0x1e;_0x4077cf++)try{if(await this['_getFormulaLimitStatus'](),this[_0xace437(0x379)]()){this[_0xace437(0x43a)](_0x2791ed,_0x4364a6),this[_0xace437(0x226)][_0xace437(0x236)]({'content':this[_0xace437(0x42c)]['t'](_0xace437(0x346)),'type':p[_0xace437(0x442)][_0xace437(0x3c1)]});return;}await new Promise(_0x31268e=>{const _0xbd0b30=_0xace437;this[_0xbd0b30(0x3a3)]=window[_0xbd0b30(0x33d)](_0x31268e,0x3e8);});}catch(_0x5595cb){this[_0xace437(0x3fa)][_0xace437(0x452)](_0x5595cb);}this[_0xace437(0x226)][_0xace437(0x236)]({'content':this[_0xace437(0x42c)]['t'](_0xace437(0x3f6)),'type':p[_0xace437(0x442)][_0xace437(0x1db)]});}[_0x3c753c(0x43a)](_0x49966f,_0x279f0e){const _0x54f2e7=_0x3c753c;try{this[_0x54f2e7(0x1f3)][_0x54f2e7(0x1a0)](_0x49966f['id'],_0x49966f[_0x54f2e7(0x3ec)],_0x279f0e);}catch(_0x49d093){this['_logService'][_0x54f2e7(0x452)](_0x49d093);}}[_0x3c753c(0x204)](_0x3c1346,_0x36c03d){const _0x549bde=_0x3c753c;_0x36c03d<this[_0x549bde(0x21c)]||(this[_0x549bde(0x21c)]=_0x36c03d,this[_0x549bde(0x21f)]=Number['parseInt'](_0x3c1346['maxFormulaLimit']),this['_currentUsage']=Number['parseInt'](_0x3c1346[_0x549bde(0x3c7)]));}async['_startCalculationLimit'](_0x4315c0){const _0x5479b5=_0x3c753c;var _0x121638,_0x353fb3;const _0x138999=Date[_0x5479b5(0x3f0)]();try{const _0x5cce40=((_0x121638=this['_configService'][_0x5479b5(0x326)](u[_0x5479b5(0x2fe)]))==null?void 0x0:_0x121638[_0x5479b5(0x2cd)])||Zt,_0x4d9ea9=(await this['_httpService']['post'](_0x5cce40,{'body':JSON[_0x5479b5(0x3d4)]({'taskId':_0x4315c0})}))['body'];if(((_0x353fb3=_0x4d9ea9[_0x5479b5(0x452)])==null?void 0x0:_0x353fb3[_0x5479b5(0x29b)])!==V['OK'])return;this['_setFormulaLimitStatus'](_0x4d9ea9[_0x5479b5(0x306)],_0x138999);}catch(_0x62880c){this[_0x5479b5(0x3fa)][_0x5479b5(0x452)](_0x62880c);}}async[_0x3c753c(0x376)](_0x5d8d40){const _0x393ed9=_0x3c753c;var _0x321827,_0xb49b17;const _0x59a0a5=Date[_0x393ed9(0x3f0)]();try{const _0x2c621e=((_0x321827=this[_0x393ed9(0x443)]['getConfig'](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x321827[_0x393ed9(0x1c9)])||Jt,_0x3c506e=_0x5d8d40?_0x2c621e+_0x393ed9(0x263)+encodeURIComponent(_0x5d8d40):_0x2c621e,_0x1333df=(await this['_httpService'][_0x393ed9(0x283)](_0x3c506e))[_0x393ed9(0x19a)];if(((_0xb49b17=_0x1333df[_0x393ed9(0x452)])==null?void 0x0:_0xb49b17[_0x393ed9(0x29b)])!==V['OK'])return;this['_setFormulaLimitStatus'](_0x1333df[_0x393ed9(0x306)],_0x59a0a5);}catch(_0x2a399b){this[_0x393ed9(0x3fa)][_0x393ed9(0x452)](_0x2a399b);}}async[_0x3c753c(0x1a4)](_0x45aad7){const _0x5747cb=_0x3c753c;var _0x5a755f,_0x1b59f4;const _0x523b60=Date[_0x5747cb(0x3f0)]();try{const _0x18c996=((_0x5a755f=this[_0x5747cb(0x443)]['getConfig'](u[_0x5747cb(0x2fe)]))==null?void 0x0:_0x5a755f[_0x5747cb(0x1d1)])||Qt,_0x3fa764=(await this['_httpService'][_0x5747cb(0x1e6)](_0x18c996,{'body':JSON['stringify']({'taskId':_0x45aad7})}))[_0x5747cb(0x19a)];if(((_0x1b59f4=_0x3fa764[_0x5747cb(0x452)])==null?void 0x0:_0x1b59f4[_0x5747cb(0x29b)])!==V['OK'])return;this[_0x5747cb(0x204)](_0x3fa764[_0x5747cb(0x306)],_0x523b60);}catch(_0x688746){this[_0x5747cb(0x3fa)][_0x5747cb(0x452)](_0x688746);}}[_0x3c753c(0x379)](){const _0x41ca36=_0x3c753c;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0x41ca36(0x1f8)]>0x0;}[_0x3c753c(0x3ed)](){this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x3c753c(0x277)](){const _0x238f8b=_0x3c753c;this['_messageService'][_0x238f8b(0x236)]({'content':this[_0x238f8b(0x42c)]['t']('formula.calculation.waiting'),'type':p[_0x238f8b(0x442)][_0x238f8b(0x26e)]});}['_hasFormulaInDirtyRanges'](_0x119ec1){const _0x2e5050=_0x3c753c;for(const _0x1bfbd9 of _0x119ec1){const {unitId:_0x4d81c9,sheetId:_0x2351f5,range:_0x55a444}=_0x1bfbd9,_0x219ff4=this[_0x2e5050(0x30f)][_0x2e5050(0x247)](_0x4d81c9);if(!_0x219ff4)continue;const _0x1d7974=_0x219ff4[_0x2e5050(0x393)](_0x2351f5);if(!_0x1d7974)continue;const _0xcb9370=_0x1d7974['getCellMatrix']();for(let _0x248899=_0x55a444[_0x2e5050(0x21a)];_0x248899<=_0x55a444[_0x2e5050(0x361)];_0x248899++)for(let _0x31ed4c=_0x55a444[_0x2e5050(0x1e5)];_0x31ed4c<=_0x55a444[_0x2e5050(0x264)];_0x31ed4c++){const _0x1e16be=_0xcb9370['getValue'](_0x248899,_0x31ed4c);if(_0x1e16be&&(a['isFormulaString'](_0x1e16be['f'])||a[_0x2e5050(0x336)](_0x1e16be['si'])))return!0x0;}}return!0x1;}};se=zt([L(0x0,a[_0x3c753c(0x303)](O[_0x3c753c(0x1ea)])),L(0x1,a[_0x3c753c(0x418)]),L(0x2,a[_0x3c753c(0x249)]),L(0x3,a[_0x3c753c(0x303)](G[_0x3c753c(0x313)])),L(0x4,a[_0x3c753c(0x281)]),L(0x5,a['ILogService']),L(0x6,a['Inject'](a[_0x3c753c(0x2e3)]))],se);var es=Object['getOwnPropertyDescriptor'],ts=(_0x35a921,_0x225361,_0x45aff1,_0x29ad6f)=>{const _0x1fbc2e=_0x3c753c;for(var _0x138ea6=_0x29ad6f>0x1?void 0x0:_0x29ad6f?es(_0x225361,_0x45aff1):_0x225361,_0xe60348=_0x35a921[_0x1fbc2e(0x261)]-0x1,_0x3bf5;_0xe60348>=0x0;_0xe60348--)(_0x3bf5=_0x35a921[_0xe60348])&&(_0x138ea6=_0x3bf5(_0x138ea6)||_0x138ea6);return _0x138ea6;},ue=(_0x16630e,_0x23c84f)=>(_0x42f46b,_0x2d5877)=>_0x23c84f(_0x42f46b,_0x2d5877,_0x16630e);let Ee=class extends a[_0x3c753c(0x401)]{constructor(_0x455d82,_0xc30722,_0x4fa4aa){const _0x321fce=_0x3c753c;super(),_(this,_0x321fce(0x318),new Map()),_(this,_0x321fce(0x31e),new Map()),_(this,_0x321fce(0x29c),!0x1),(this[_0x321fce(0x443)]=_0x455d82,this[_0x321fce(0x2a8)]=_0xc30722,this[_0x321fce(0x38e)]=_0x4fa4aa);}[_0x3c753c(0x1f9)](){const _0x4a82eb=_0x3c753c;this[_0x4a82eb(0x29c)]=!0x0;}[_0x3c753c(0x2b3)](){const _0x3a5b2f=_0x3c753c;this[_0x3a5b2f(0x29c)]=!0x1;}get[_0x3c753c(0x2a0)](){return this['_saveTaskMap'];}[_0x3c753c(0x414)](){const _0x444049=_0x3c753c;this[_0x444049(0x2f3)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x168b02){const _0x275def=_0x3c753c;return this[_0x275def(0x29c)]?null:this[_0x275def(0x2a8)][_0x275def(0x3ea)](u[_0x275def(0x2ba)](_0x168b02));}async[_0x3c753c(0x242)](_0x46a25b,_0x2c06de){const _0x9829bf=_0x3c753c;return!!this['_localStorageService'][_0x9829bf(0x1ed)](_0x46a25b,_0x2c06de);}[_0x3c753c(0x33b)](_0x2dda79,_0x3d8689,_0x176272,_0x3bff82){const _0xe93d89=_0x3c753c,_0x4e8060=this[_0xe93d89(0x38e)][_0xe93d89(0x2e1)](_0x2dda79);this[_0xe93d89(0x318)][_0xe93d89(0x41f)](_0x2dda79,{'unitID':_0x2dda79,'type':_0x3d8689,'awaitingChangeset':_0x176272,'mutations':_0x3bff82,'rev':_0x4e8060}),this[_0xe93d89(0x31e)][_0xe93d89(0x2d7)](_0x2dda79)||this[_0xe93d89(0x1d5)](_0x2dda79);}['_scheduleSaving'](_0x5e45d9){const _0x3ab5ca=_0x3c753c,_0x241387=this[_0x3ab5ca(0x377)]();_0x241387===0x0?this[_0x3ab5ca(0x269)](_0x5e45d9):this['_saveTaskMap'][_0x3ab5ca(0x41f)](_0x5e45d9,setTimeout(()=>this['_saveCache'](_0x5e45d9),_0x241387));}[_0x3c753c(0x377)](){const _0x326f65=_0x3c753c;var _0x50f0c7;return(_0x50f0c7=this[_0x326f65(0x443)][_0x326f65(0x326)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x50f0c7:u[_0x326f65(0x316)];}['_saveCache'](_0x2b9e68){const _0x48abe7=_0x3c753c,_0x26648b=this[_0x48abe7(0x31e)][_0x48abe7(0x283)](_0x2b9e68);return _0x26648b!==void 0x0&&window[_0x48abe7(0x258)](_0x26648b),this['_localStorageService'][_0x48abe7(0x1ed)](u[_0x48abe7(0x2ba)](_0x2b9e68),this['_cachedData'][_0x48abe7(0x283)](_0x2b9e68))[_0x48abe7(0x3fc)](()=>this['_saveTaskMap'][_0x48abe7(0x262)](_0x2b9e68));}async[_0x3c753c(0x2f3)](){const _0x5254af=_0x3c753c,_0x2b584d=[];this[_0x5254af(0x31e)][_0x5254af(0x21e)]((_0x2b3214,_0xec6a2b)=>{const _0x33ad65=_0x5254af;window[_0x33ad65(0x258)](_0x2b3214),_0x2b584d[_0x33ad65(0x403)](this[_0x33ad65(0x269)](_0xec6a2b)[_0x33ad65(0x3fc)](()=>{const _0x165d1e=_0x33ad65;this[_0x165d1e(0x31e)]['delete'](_0xec6a2b);}));}),await Promise['all'](_0x2b584d);}};Ee=ts([ue(0x0,a[_0x3c753c(0x249)]),ue(0x1,a[_0x3c753c(0x445)]),ue(0x2,a['Inject'](v[_0x3c753c(0x270)]))],Ee);class Fe extends a[_0x3c753c(0x203)]{constructor(){const _0x4f809e=_0x3c753c;super(),_(this,_0x4f809e(0x325)),this['urlChange$']=I[_0x4f809e(0x394)](window,_0x4f809e(0x43c))[_0x4f809e(0x23c)](I[_0x4f809e(0x197)](this['dispose$']),I['shareReplay'](0x1),I[_0x4f809e(0x292)](void 0x0));}[_0x3c753c(0x38f)](_0x3a5bda,_0x325068,_0x21f5af=!0x1){const _0x54abcf=_0x3c753c,_0xcaaa6=new URL(window[_0x54abcf(0x1aa)][_0x54abcf(0x2c6)]);_0xcaaa6['searchParams']['set'](_0x3a5bda,_0x325068),_0x21f5af?window[_0x54abcf(0x230)][_0x54abcf(0x3f2)]('','',_0xcaaa6[_0x54abcf(0x3ba)]()):window[_0x54abcf(0x230)][_0x54abcf(0x2d9)]('','',_0xcaaa6['toString']());}['removeParam'](_0x1cc434,_0x2bd0f2=!0x1){const _0x220379=_0x3c753c,_0x39a8b7=new URL(window[_0x220379(0x1aa)]['href']);_0x39a8b7[_0x220379(0x311)]['delete'](_0x1cc434),_0x2bd0f2?window[_0x220379(0x230)][_0x220379(0x3f2)]('','',_0x39a8b7[_0x220379(0x3ba)]()):window[_0x220379(0x230)]['pushState']('','',_0x39a8b7[_0x220379(0x3ba)]());}[_0x3c753c(0x219)](_0x79b074){const _0x5025dd=_0x3c753c;var _0x495602;return(_0x495602=new URL(window[_0x5025dd(0x1aa)][_0x5025dd(0x2c6)])[_0x5025dd(0x311)]['get'](_0x79b074))!=null?_0x495602:void 0x0;}}var ss=Object[_0x3c753c(0x2b8)],is=Object['getOwnPropertyDescriptor'],ns=(_0x4dfe24,_0x64595f,_0x205ca7)=>_0x64595f in _0x4dfe24?ss(_0x4dfe24,_0x64595f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x205ca7}):_0x4dfe24[_0x64595f]=_0x205ca7,rs=(_0x584ded,_0x4cfc61,_0x9c0794,_0x320d0b)=>{const _0x2eb560=_0x3c753c;for(var _0xd56a42=_0x320d0b>0x1?void 0x0:_0x320d0b?is(_0x4cfc61,_0x9c0794):_0x4cfc61,_0x4ce170=_0x584ded[_0x2eb560(0x261)]-0x1,_0x2da378;_0x4ce170>=0x0;_0x4ce170--)(_0x2da378=_0x584ded[_0x4ce170])&&(_0xd56a42=_0x2da378(_0xd56a42)||_0xd56a42);return _0xd56a42;},Ie=(_0x154e80,_0x2ba093)=>(_0x4c9311,_0x5b6a67)=>_0x2ba093(_0x4c9311,_0x5b6a67,_0x154e80),os=(_0x278bde,_0xc8bbfb,_0x3d0aa5)=>ns(_0x278bde,_0xc8bbfb+'',_0x3d0aa5);const as='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports['UniverCollaborationClientUIPlugin']=class extends a[_0x3c753c(0x400)]{constructor(_0x4cabdb=Ue,_0x38fdb2,_0x14f241,_0x2315da){const _0x1791bc=_0x3c753c;super(),this[_0x1791bc(0x3c8)]=_0x4cabdb,this['_renderManagerService']=_0x38fdb2,this[_0x1791bc(0x22c)]=_0x14f241,this['_configService']=_0x2315da;const {..._0x626ce1}=a[_0x1791bc(0x431)]({},Ue,this['_config']);this['_configService'][_0x1791bc(0x20c)](Bt,_0x626ce1);}[_0x3c753c(0x246)](){const _0x41d879=_0x3c753c;this[_0x41d879(0x287)](),this['_initDependencies']();}[_0x3c753c(0x31b)](){const _0x290cc1=_0x3c753c;this[_0x290cc1(0x1a2)]();}['_registerDependencies'](){const _0x5c9b5f=_0x3c753c;var _0x3d67ca;const _0x250cc4=[[pe],[se],[ee],[Z],[Q],[Oe],[Te,{'useClass':Fe}],[G['ISocketService'],{'useClass':G[_0x5c9b5f(0x198)]}],[u[_0x5c9b5f(0x2d3)],{'useClass':Ee}],[exports[_0x5c9b5f(0x19b)]],[te],[J],[B],[de],[exports[_0x5c9b5f(0x43d)]]];a[_0x5c9b5f(0x196)](this[_0x5c9b5f(0x22c)],a[_0x5c9b5f(0x194)](_0x250cc4,(_0x3d67ca=this['_config'])==null?void 0x0:_0x3d67ca[_0x5c9b5f(0x387)]));}[_0x3c753c(0x1a2)](){const _0x1d297b=_0x3c753c;this[_0x1d297b(0x368)](this[_0x1d297b(0x288)][_0x1d297b(0x425)](a[_0x1d297b(0x371)]['UNIVER_DOC'],[ge])),this[_0x1d297b(0x368)](this['_renderManagerService'][_0x1d297b(0x425)](a[_0x1d297b(0x371)][_0x1d297b(0x1b4)],[ve]));}[_0x3c753c(0x2ae)](){const _0x3331bf=_0x3c753c;a['touchDependencies'](this[_0x3331bf(0x22c)],[[B],[exports[_0x3331bf(0x19b)]],[te],[J],[exports['CollaborationDataLoaderController']],[se]]);}},os(exports['UniverCollaborationClientUIPlugin'],_0x3c753c(0x29f),as),exports[_0x3c753c(0x432)]=rs([a['DependentOn'](u['UniverCollaborationClientPlugin']),Ie(0x1,C['IRenderManagerService']),Ie(0x2,a[_0x3c753c(0x303)](a[_0x3c753c(0x1c5)])),Ie(0x3,a['IConfigService'])],exports[_0x3c753c(0x432)]);var cs=Object[_0x3c753c(0x35d)],ls=(_0x2efe04,_0x144dff,_0x379e7d,_0x5ddc27)=>{for(var _0x2c124e=_0x5ddc27>0x1?void 0x0:_0x5ddc27?cs(_0x144dff,_0x379e7d):_0x144dff,_0x546b64=_0x2efe04['length']-0x1,_0xea7541;_0x546b64>=0x0;_0x546b64--)(_0xea7541=_0x2efe04[_0x546b64])&&(_0x2c124e=_0xea7541(_0x2c124e)||_0x2c124e);return _0x2c124e;},H=(_0x52e84f,_0x50fc8f)=>(_0x411e77,_0x31b42d)=>_0x50fc8f(_0x411e77,_0x31b42d,_0x52e84f);exports[_0x3c753c(0x2a5)]=class extends u['CollaborationSocketService']{constructor(_0x2cceee,_0x12f1de,_0x2c88a5,_0x3b291b,_0x51af3f){super(_0x2cceee,_0x12f1de,_0x2c88a5,_0x3b291b,_0x51af3f);}async[_0x3c753c(0x245)](_0x113e74){const _0x35732f=_0x3c753c,_0xfe9bac=await this['_getSessionTicket'](),_0x27afe8=this[_0x35732f(0x327)](_0x113e74,_0xfe9bac);return this[_0x35732f(0x21b)](_0x27afe8);}[_0x3c753c(0x327)](_0x56f50b,_0x4e22e3){const _0x161fbd=_0x3c753c,_0x4fd52f=typeof window>'u'?new URL(_0x56f50b):new URL(_0x56f50b,window[_0x161fbd(0x1aa)]['origin']);_0x4fd52f[_0x161fbd(0x311)][_0x161fbd(0x41f)]('sessionTicket',_0x4e22e3);const _0x1129c9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x161fbd(0x1aa)]['search']);return _0x1129c9[_0x161fbd(0x283)](_0x161fbd(0x3bb))&&_0x4fd52f[_0x161fbd(0x311)][_0x161fbd(0x41f)]('runId',_0x1129c9[_0x161fbd(0x283)](_0x161fbd(0x3bb))),_0x4fd52f[_0x161fbd(0x3ba)]();}async[_0x3c753c(0x413)](){const _0x5b367a=_0x3c753c;var _0x251474,_0x2c2e98,_0x3c48e8;const _0x417456=this[_0x5b367a(0x443)][_0x5b367a(0x326)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x592efa=(_0x251474=_0x417456==null?void 0x0:_0x417456['wsSessionTicketUrl'])!=null?_0x251474:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3c48e8=(_0x2c2e98=(await this[_0x5b367a(0x24d)][_0x5b367a(0x283)](_0x592efa,{'headers':{'Content-Type':_0x5b367a(0x362)}}))[_0x5b367a(0x19a)])==null?void 0x0:_0x2c2e98[_0x5b367a(0x28a)])!=null?_0x3c48e8:'';}},exports['BrowserCollaborationSocketService']=ls([H(0x0,a[_0x3c753c(0x303)](a['Injector'])),H(0x1,a['Inject'](G[_0x3c753c(0x313)])),H(0x2,a[_0x3c753c(0x249)]),H(0x3,a[_0x3c753c(0x3b7)]),H(0x4,v[_0x3c753c(0x1a3)])],exports[_0x3c753c(0x2a5)]);var _s=Object[_0x3c753c(0x35d)],hs=(_0x3b373c,_0x16b428,_0x5f3424,_0x47c7bc)=>{const _0x2524bc=_0x3c753c;for(var _0x1e59f8=_0x47c7bc>0x1?void 0x0:_0x47c7bc?_s(_0x16b428,_0x5f3424):_0x16b428,_0x1f4ed2=_0x3b373c[_0x2524bc(0x261)]-0x1,_0x313afa;_0x1f4ed2>=0x0;_0x1f4ed2--)(_0x313afa=_0x3b373c[_0x1f4ed2])&&(_0x1e59f8=_0x313afa(_0x1e59f8)||_0x1e59f8);return _0x1e59f8;},Se=(_0x28ea0f,_0x2fd200)=>(_0x1f0d00,_0x31ac2f)=>_0x2fd200(_0x1f0d00,_0x31ac2f,_0x28ea0f);exports[_0x3c753c(0x1a7)]=class extends a[_0x3c753c(0x401)]{constructor(_0x287e4e,_0x4851cc,_0x4be24f){const _0x578c87=_0x3c753c;super(),this[_0x578c87(0x42e)]=_0x287e4e,this[_0x578c87(0x24d)]=_0x4851cc,this[_0x578c87(0x443)]=_0x4be24f;}async[_0x3c753c(0x355)](_0x55a6c4,_0x2a63fe,_0x2b62bd,..._0x57180f){const _0xf89bbb=_0x3c753c;var _0xeb5687,_0x7c8fbd,_0x2eeca7,_0x3a47c5;const _0xb4db37=this[_0xf89bbb(0x42e)][_0xf89bbb(0x23d)]();if(!_0xb4db37)throw new Error(_0xf89bbb(0x449));const _0x40bb5e=((_0xeb5687=this[_0xf89bbb(0x443)][_0xf89bbb(0x326)](u[_0xf89bbb(0x2c2)]))!=null?_0xeb5687:u[_0xf89bbb(0x39e)])+'/'+_0x55a6c4+_0xf89bbb(0x3e3)+_0x2a63fe,_0x2199d7=new URL(window[_0xf89bbb(0x1aa)][_0xf89bbb(0x2c6)]),_0x22264d={'scriptId':_0x55a6c4,'runId':(_0x7c8fbd=_0x2199d7[_0xf89bbb(0x311)]['get'](_0xf89bbb(0x3bb)))!=null?_0x7c8fbd:'','function':_0x2a63fe,'unitId':_0xb4db37[_0xf89bbb(0x38c)](),'argsOfFunction':JSON[_0xf89bbb(0x3d4)](_0x57180f),'invokeId':(_0x2eeca7=_0x2b62bd['invokeId'])!=null?_0x2eeca7:'','executionId':(_0x3a47c5=_0x2b62bd[_0xf89bbb(0x422)])!=null?_0x3a47c5:''};try{const _0x331fb9=await this[_0xf89bbb(0x24d)]['post'](_0x40bb5e,{'body':_0x22264d});return _0x331fb9['body']['error']&&_0x331fb9['body'][_0xf89bbb(0x452)]['code']!==V['OK']?_0xf89bbb(0x1c7):_0x331fb9[_0xf89bbb(0x19a)][_0xf89bbb(0x2b6)];}catch{return _0xf89bbb(0x1c7);}}},exports['RemoteUniscriptService']=hs([Se(0x0,a[_0x3c753c(0x281)]),Se(0x1,a['Inject'](G[_0x3c753c(0x313)])),Se(0x2,a['IConfigService'])],exports[_0x3c753c(0x1a7)]);const Ae=0x7530,Pe=_0x3c753c(0x1de);class us extends a[_0x3c753c(0x401)]{constructor(){const _0x11e7a5=_0x3c753c;super(),_(this,'_id',a[_0x11e7a5(0x257)]()),_(this,'_selfUnitIDs',new Set()),_(this,_0x11e7a5(0x3ee),new Map()),_(this,_0x11e7a5(0x324),null),_(this,_0x11e7a5(0x44e),new Map()),_(this,_0x11e7a5(0x3ce),new Map()),this[_0x11e7a5(0x384)]();}[_0x3c753c(0x414)](){const _0x5e7e8a=_0x3c753c;super[_0x5e7e8a(0x414)](),this[_0x5e7e8a(0x44e)][_0x5e7e8a(0x21e)]((_0x2ca453,_0x3c13f9)=>this[_0x5e7e8a(0x328)](_0x3c13f9)),this[_0x5e7e8a(0x324)]&&window['clearInterval'](this[_0x5e7e8a(0x324)]);}['getUnitStatus$'](_0x5d1018){const _0x1a4344=_0x3c753c;return this[_0x1a4344(0x27d)](_0x5d1018)[_0x1a4344(0x23c)](I[_0x1a4344(0x24f)]());}[_0x3c753c(0x1ca)](_0x19b1c0){const _0x240040=_0x3c753c;this[_0x240040(0x1f0)][_0x240040(0x2a9)]===0x0&&this[_0x240040(0x308)](),this[_0x240040(0x1f0)][_0x240040(0x1c4)](_0x19b1c0),this[_0x240040(0x229)]({'type':0x0,'memberID':this[_0x240040(0x40e)],'unitIDs':[_0x19b1c0],'isForwarded':!0x1});}[_0x3c753c(0x3d6)](_0x57d724){const _0x533608=_0x3c753c;this[_0x533608(0x1f0)][_0x533608(0x262)](_0x57d724),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x533608(0x218)](this[_0x533608(0x324)]);}[_0x3c753c(0x384)](){const _0x29e521=_0x3c753c;this[_0x29e521(0x368)](a[_0x29e521(0x1e7)](I['fromEvent'](window,_0x29e521(0x1c0))[_0x29e521(0x335)](_0x2f2d6f=>{const _0xc21cdd=_0x29e521;if(_0x2f2d6f[_0xc21cdd(0x1ac)]!==Pe||!_0x2f2d6f[_0xc21cdd(0x302)])return;const _0x181523=JSON[_0xc21cdd(0x364)](_0x2f2d6f[_0xc21cdd(0x302)]);this[_0xc21cdd(0x1ad)](_0x181523);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x29e521(0x40e)],'unitIDs':Array[_0x29e521(0x417)](this[_0x29e521(0x1f0)])}));}[_0x3c753c(0x1ad)](_0x15694c){const _0x4a0e43=_0x3c753c;switch(_0x15694c[_0x4a0e43(0x25c)]){case 0x0:this[_0x4a0e43(0x1cf)](_0x15694c);break;case 0x1:this[_0x4a0e43(0x338)](_0x15694c);break;case 0x2:this[_0x4a0e43(0x3db)](_0x15694c);break;}}[_0x3c753c(0x1cf)](_0x1a913b){const _0x33493a=_0x3c753c,{unitIDs:_0x5dc608,memberID:_0x5d151e,isForwarded:_0x2de617}=_0x1a913b;_0x5dc608[_0x33493a(0x21e)](_0x3bc6aa=>{const _0x5b0d05=_0x33493a;if(!_0x2de617&&this[_0x5b0d05(0x3ee)][_0x5b0d05(0x2d7)](_0x3bc6aa)&&this['_ensureSubject'](_0x3bc6aa)['next'](u['UnitStatus'][_0x5b0d05(0x231)]),!this['_unitOnClients'][_0x5b0d05(0x2d7)](_0x3bc6aa)||!this[_0x5b0d05(0x3ee)][_0x5b0d05(0x283)](_0x3bc6aa)['has'](_0x5d151e)){const _0x18f6d8=this[_0x5b0d05(0x3ee)][_0x5b0d05(0x283)](_0x3bc6aa)||new Set();_0x18f6d8['add'](_0x5d151e),this['_unitOnClients'][_0x5b0d05(0x41f)](_0x3bc6aa,_0x18f6d8),this[_0x5b0d05(0x436)](_0x5d151e);}}),_0x2de617||this[_0x33493a(0x229)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x33493a(0x1f0)]],'isForwarded':!0x0});}[_0x3c753c(0x436)](_0xa0c970){const _0x59e179=_0x3c753c;this[_0x59e179(0x328)](_0xa0c970);const _0x4ad34d=window[_0x59e179(0x33d)](()=>{const _0x154f33=_0x59e179;this['_unitOnClients'][_0x154f33(0x21e)](_0x356f4c=>{const _0x3765f1=_0x154f33;_0x356f4c[_0x3765f1(0x262)](_0xa0c970);});},Ae*0x2);this[_0x59e179(0x44e)][_0x59e179(0x41f)](_0xa0c970,_0x4ad34d);}[_0x3c753c(0x328)](_0x3fa933){const _0xd7bcaa=_0x3c753c;if(this['_clearOtherTimers']['has'](_0x3fa933)){const _0x32cd9d=this[_0xd7bcaa(0x44e)][_0xd7bcaa(0x283)](_0x3fa933);_0x32cd9d&&window['clearTimeout'](_0x32cd9d),this['_clearOtherTimers'][_0xd7bcaa(0x41f)](_0x3fa933,null);}}[_0x3c753c(0x338)](_0x29747d){const {memberID:_0x4b33f4,unitIDs:_0x27c601}=_0x29747d;_0x27c601['forEach'](_0xe772c9=>{const _0x58ca92=_0x3b4a;var _0x49295d;const _0x23d33a=this[_0x58ca92(0x3ee)]['get'](_0xe772c9);_0x23d33a&&(_0x23d33a[_0x58ca92(0x262)](_0x4b33f4),(_0x49295d=this[_0x58ca92(0x27d)](_0xe772c9))==null||_0x49295d['next'](_0x23d33a[_0x58ca92(0x2a9)]===0x0?u[_0x58ca92(0x385)]['NO_OTHER_CLIENTS_EDITING']:u[_0x58ca92(0x385)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x4b33f4);}[_0x3c753c(0x3db)](_0x541ba5){const _0xe47a35=_0x3c753c;this['_scheduleClearOtherTimer'](_0x541ba5[_0xe47a35(0x312)]);}[_0x3c753c(0x229)](_0xbe967a){const _0x2f2e37=_0x3c753c;localStorage[_0x2f2e37(0x1ed)](Pe,JSON[_0x2f2e37(0x3d4)](_0xbe967a));}[_0x3c753c(0x308)](){const _0x22093a=_0x3c753c;this['_heartbeatTimer']=window[_0x22093a(0x29a)](()=>{const _0x5cc100=_0x22093a;this['_send']({'type':0x2,'memberID':this[_0x5cc100(0x40e)]});},Ae);}[_0x3c753c(0x27d)](_0x1b0c45){const _0x542129=_0x3c753c;return this[_0x542129(0x3ce)][_0x542129(0x2d7)](_0x1b0c45)||this[_0x542129(0x3ce)][_0x542129(0x41f)](_0x1b0c45,new I[(_0x542129(0x3c2))](u[_0x542129(0x385)][_0x542129(0x3cb)])),this[_0x542129(0x3ce)][_0x542129(0x283)](_0x1b0c45);}}exports[_0x3c753c(0x1eb)]=Te,exports[_0x3c753c(0x406)]=Be,exports[_0x3c753c(0x271)]=us,exports['WebURLService']=Fe;
|
|
1
|
+
'use strict';const _0xac5304=_0x3138;(function(_0x54ddd2,_0x10d585){const _0x5c93c4=_0x3138,_0x10bbea=_0x54ddd2();while(!![]){try{const _0x3d94d3=parseInt(_0x5c93c4(0xe3))/0x1*(-parseInt(_0x5c93c4(0x2b2))/0x2)+parseInt(_0x5c93c4(0x103))/0x3*(parseInt(_0x5c93c4(0x11c))/0x4)+-parseInt(_0x5c93c4(0x115))/0x5*(-parseInt(_0x5c93c4(0x36a))/0x6)+parseInt(_0x5c93c4(0x100))/0x7+-parseInt(_0x5c93c4(0x1aa))/0x8+parseInt(_0x5c93c4(0x2f9))/0x9*(-parseInt(_0x5c93c4(0x2ab))/0xa)+parseInt(_0x5c93c4(0x343))/0xb;if(_0x3d94d3===_0x10d585)break;else _0x10bbea['push'](_0x10bbea['shift']());}catch(_0x343086){_0x10bbea['push'](_0x10bbea['shift']());}}}(_0x11bd,0xecaa9));var Ve=Object[_0xac5304(0x2d2)],Ge=(_0x4cf6aa,_0x47f1d2,_0x2ed4e7)=>_0x47f1d2 in _0x4cf6aa?Ve(_0x4cf6aa,_0x47f1d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ed4e7}):_0x4cf6aa[_0x47f1d2]=_0x2ed4e7,_=(_0x2a8804,_0xbb5a63,_0x5e6a9c)=>Ge(_0x2a8804,typeof _0xbb5a63!=_0xac5304(0x31a)?_0xbb5a63+'':_0xbb5a63,_0x5e6a9c);Object[_0xac5304(0x2d2)](exports,Symbol[_0xac5304(0xe2)],{'value':_0xac5304(0x14a)});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),p=require('@univerjs/design'),A=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),G=require('@univerjs/network'),T=require('@univerjs/docs-ui'),Ke=require('@univerjs/drawing'),v=require('@univerjs-pro/collaboration'),W=require('@univerjs/docs'),x=require('@univerjs/engine-formula'),$=require('rxjs/operators'),z=require('@univerjs/sheets-ui');function Ce({ref:_0x73154,..._0x1e577c}){const _0x3ff2fc=_0xac5304,{icon:_0xe9755d,id:_0x25c28e,className:_0x3be7f5,extend:_0x19f16b,..._0xc7e72}=_0x1e577c,_0x359234=(_0x3ff2fc(0x206)+_0x25c28e+'\x20'+(_0x3be7f5||''))[_0x3ff2fc(0x363)](),_0x44f8de=A[_0x3ff2fc(0x1fc)]('_'+Je());return we(_0xe9755d,''+_0x25c28e,{'defIds':_0xe9755d[_0x3ff2fc(0x156)],'idSuffix':_0x44f8de[_0x3ff2fc(0x265)]},{'ref':_0x73154,'className':_0x359234,..._0xc7e72},_0x19f16b);}function we(_0x5b1ef3,_0x3b1e75,_0x3223db,_0x21b3af,_0x207b44){const _0x3567bf=_0xac5304;return A[_0x3567bf(0x1c3)](_0x5b1ef3[_0x3567bf(0xee)],{'key':_0x3b1e75,...qe(_0x5b1ef3,_0x3223db,_0x207b44),..._0x21b3af},(ze(_0x5b1ef3,_0x3223db)[_0x3567bf(0x15c)]||[])[_0x3567bf(0x182)]((_0x202056,_0x329f48)=>we(_0x202056,_0x3b1e75+'-'+_0x5b1ef3[_0x3567bf(0xee)]+'-'+_0x329f48,_0x3223db,void 0x0,_0x207b44)));}function qe(_0x5eefc1,_0x5ce5be,_0xf6d92a){const _0x11d859=_0xac5304,_0x2a16a3={..._0x5eefc1['attrs']};_0xf6d92a!=null&&_0xf6d92a[_0x11d859(0x172)]&&_0x2a16a3['fill']===_0x11d859(0x172)&&(_0x2a16a3[_0x11d859(0x189)]=_0xf6d92a[_0x11d859(0x172)]),_0x5eefc1[_0x11d859(0xee)]==='mask'&&_0x2a16a3['id']&&(_0x2a16a3['id']=_0x2a16a3['id']+_0x5ce5be[_0x11d859(0x317)]),Object[_0x11d859(0x35f)](_0x2a16a3)[_0x11d859(0x1b8)](([_0x80f960,_0xd6df05])=>{const _0x3ecdf5=_0x11d859;_0x80f960===_0x3ecdf5(0x1b5)&&typeof _0xd6df05==_0x3ecdf5(0x2c2)&&(_0x2a16a3[_0x80f960]=_0xd6df05[_0x3ecdf5(0x16a)](/url\(#(.*)\)/,_0x3ecdf5(0x30a)+_0x5ce5be[_0x3ecdf5(0x317)]+')'));});const {defIds:_0x200f36}=_0x5ce5be;return!_0x200f36||_0x200f36[_0x11d859(0x2d1)]===0x0||(_0x5eefc1['tag']==='use'&&_0x2a16a3['xlink:href']&&(_0x2a16a3['xlink:href']=_0x2a16a3[_0x11d859(0xfa)]+_0x5ce5be[_0x11d859(0x317)]),Object['entries'](_0x2a16a3)[_0x11d859(0x1b8)](([_0x345bb3,_0x2dd1c7])=>{const _0x295ec8=_0x11d859;typeof _0x2dd1c7=='string'&&(_0x2a16a3[_0x345bb3]=_0x2dd1c7[_0x295ec8(0x16a)](/url\(#(.*)\)/,_0x295ec8(0x30a)+_0x5ce5be[_0x295ec8(0x317)]+')'));})),_0x2a16a3;}function ze(_0x85b657,_0x134ae5){const _0x3dca2d=_0xac5304;var _0x30c313;const {defIds:_0x298131}=_0x134ae5;return!_0x298131||_0x298131[_0x3dca2d(0x2d1)]===0x0?_0x85b657:_0x85b657[_0x3dca2d(0xee)]===_0x3dca2d(0x1e2)&&((_0x30c313=_0x85b657['children'])!=null&&_0x30c313[_0x3dca2d(0x2d1)])?{..._0x85b657,'children':_0x85b657[_0x3dca2d(0x15c)][_0x3dca2d(0x182)](_0x18649a=>typeof _0x18649a[_0x3dca2d(0x312)]['id']==_0x3dca2d(0x2c2)&&_0x298131&&_0x298131[_0x3dca2d(0x13d)](_0x18649a[_0x3dca2d(0x312)]['id'])?{..._0x18649a,'attrs':{..._0x18649a[_0x3dca2d(0x312)],'id':_0x18649a['attrs']['id']+_0x134ae5[_0x3dca2d(0x317)]}}:_0x18649a)}:_0x85b657;}function Je(){const _0x4fab1c=_0xac5304;return Math[_0x4fab1c(0x169)]()[_0x4fab1c(0xc9)](0x24)[_0x4fab1c(0x310)](0x2,0x8);}Ce['displayName']='UniverIcon';const Ze={'tag':_0xac5304(0x1cd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xac5304(0x1e6),'viewBox':_0xac5304(0x22a),'width':_0xac5304(0x250),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xac5304(0x243)},'children':[{'tag':_0xac5304(0x346),'attrs':{'stroke':_0xac5304(0x1bb),'d':_0xac5304(0x17c),'strokeLinecap':'round','strokeLinejoin':_0xac5304(0x2f0),'strokeWidth':1.2}}]},{'tag':_0xac5304(0x1e2),'attrs':{},'children':[{'tag':_0xac5304(0x2d3),'attrs':{'id':_0xac5304(0x2b5)},'children':[{'tag':_0xac5304(0x346),'attrs':{'fill':_0xac5304(0x2e5),'d':_0xac5304(0x185)}}]}]}],'defIds':[_0xac5304(0x2b5)]},ye=A['forwardRef'](function(_0x355eac,_0x2ed4c8){const _0x1d4c0e=_0xac5304;return A[_0x1d4c0e(0x1c3)](Ce,Object[_0x1d4c0e(0x33f)]({},_0x355eac,{'id':_0x1d4c0e(0x136),'ref':_0x2ed4c8,'icon':Ze}));});ye[_0xac5304(0x19b)]='OffLineIcon';const Qe={'tag':'svg','attrs':{'xmlns':_0xac5304(0x358),'fill':_0xac5304(0x1e6),'viewBox':_0xac5304(0x235),'width':_0xac5304(0x250),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xac5304(0x1d4)},'children':[{'tag':_0xac5304(0x346),'attrs':{'stroke':_0xac5304(0x1bb),'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':_0xac5304(0x2f0),'strokeLinejoin':_0xac5304(0x2f0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xac5304(0x2d3),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0xac5304(0x346),'attrs':{'fill':_0xac5304(0x2e5),'d':_0xac5304(0x185),'transform':_0xac5304(0x216)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},$e=A[_0xac5304(0x151)](function(_0x32b852,_0x4a2dd5){const _0x82676d=_0xac5304;return A[_0x82676d(0x1c3)](Ce,Object['assign']({},_0x32b852,{'id':_0x82676d(0x29d),'ref':_0x4a2dd5,'icon':Qe}));});$e[_0xac5304(0x19b)]='OnLineIcon';function et(_0x2355a0){const _0x58e0f1=_0xac5304;switch(_0x2355a0){case u[_0x58e0f1(0x362)][_0x58e0f1(0x13c)]:return'collabStatus.offline';case u[_0x58e0f1(0x362)][_0x58e0f1(0xcc)]:return _0x58e0f1(0x23c);case u[_0x58e0f1(0x362)]['FETCH_MISS']:return _0x58e0f1(0x176);case u[_0x58e0f1(0x362)]['NOT_COLLAB']:return'collabStatus.notCollab';case u[_0x58e0f1(0x362)][_0x58e0f1(0x197)]:case u[_0x58e0f1(0x362)][_0x58e0f1(0x13a)]:return _0x58e0f1(0x165);case u['CollaborationStatus']['SYNCED']:case u[_0x58e0f1(0x362)][_0x58e0f1(0x186)]:return'collabStatus.synced';}}function tt(_0x1ed004){const _0x477a05=_0xac5304,{status$:_0x48d1cd}=_0x1ed004,_0x40d7aa=O[_0x477a05(0xf7)](_0x48d1cd,u[_0x477a05(0x362)]['NOT_COLLAB']),_0x314eba=O[_0x477a05(0x339)](a[_0x477a05(0x306)]),_0x415060=O[_0x477a05(0x339)](u[_0x477a05(0xb4)]),_0x1e0669=_0x40d7aa!==u[_0x477a05(0x362)][_0x477a05(0x13c)],_0x38961e=_0x314eba['t'](et(_0x40d7aa)),_0x195d1f=_0x1e0669?M[_0x477a05(0x23f)]($e,{}):M[_0x477a05(0x23f)](ye,{}),_0x1ab890=A[_0x477a05(0x314)](()=>{const _0x5e520b=_0x477a05;_0x1e0669||_0x415060[_0x5e520b(0x33a)]();},[_0x1e0669,_0x415060]);function _0x102a89(){const _0x47b95e=_0x477a05;return M['jsxs'](_0x47b95e(0x297),{'className':_0x47b95e(0x20c),'onClick':_0x1ab890,'children':[M[_0x47b95e(0x23f)]('div',{'className':p[_0x47b95e(0x107)](_0x47b95e(0x15d),{'univer-text-green-500':_0x1e0669,'univer-text-red-500':!_0x1e0669}),'children':_0x195d1f}),M[_0x47b95e(0x23f)](_0x47b95e(0x297),{'className':_0x47b95e(0x27c),'children':_0x38961e})]});}return _0x1e0669?_0x102a89():M[_0x477a05(0x23f)](p[_0x477a05(0x2e6)],{'title':_0x314eba['t']('collab-client.tooltip.reconnect'),'children':_0x102a89()});}var st=Object['getOwnPropertyDescriptor'],it=(_0x231bb6,_0x3ad362,_0x1b6962,_0xc856fb)=>{for(var _0x4277e3=_0xc856fb>0x1?void 0x0:_0xc856fb?st(_0x3ad362,_0x1b6962):_0x3ad362,_0x1d1776=_0x231bb6['length']-0x1,_0x180bea;_0x1d1776>=0x0;_0x1d1776--)(_0x180bea=_0x231bb6[_0x1d1776])&&(_0x4277e3=_0x180bea(_0x4277e3)||_0x4277e3);return _0x4277e3;},K=(_0x908b4f,_0x3c751a)=>(_0x5d21c8,_0xb9da95)=>_0x3c751a(_0x5d21c8,_0xb9da95,_0x908b4f);exports[_0xac5304(0x292)]=class extends a['Disposable']{constructor(_0x52f4f1,_0x12eab6,_0x52f999,_0x39b0d8){const _0x161ab0=_0xac5304;super(),_(this,'_status$',new I[(_0x161ab0(0x1ac))](u[_0x161ab0(0x362)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x52f4f1,this[_0x161ab0(0x372)]=_0x12eab6,this[_0x161ab0(0x20a)]=_0x52f999,this[_0x161ab0(0x141)]=_0x39b0d8,this[_0x161ab0(0x183)](),this[_0x161ab0(0x207)]());}['_initStatusListener'](){const _0x58b226=_0xac5304;this[_0x58b226(0x35a)](this['_univerInstanceService'][_0x58b226(0x281)]['pipe'](I[_0x58b226(0x1f7)](()=>{const _0x54132e=_0x58b226,_0x4cf818=this[_0x54132e(0x21f)][_0x54132e(0x1e9)]();return _0x4cf818?this[_0x54132e(0x20a)][_0x54132e(0x30d)](_0x4cf818[_0x54132e(0x209)]()):I['of'](null);}),I[_0x58b226(0x1f7)](_0x3c11f3=>_0x3c11f3?_0x3c11f3['status$']:I['of'](u[_0x58b226(0x362)]['NOT_COLLAB'])))[_0x58b226(0x257)](_0x5e2a92=>{const _0x19397f=_0x58b226;this[_0x19397f(0x344)][_0x19397f(0x2cb)](_0x5e2a92);}));}['_initStatusComponent'](){const _0x25f7cf=_0xac5304;this[_0x25f7cf(0x35a)](this['_uiPartsService'][_0x25f7cf(0x2cd)](O['BuiltInUIPart']['HEADER_MENU'],()=>O[_0x25f7cf(0x293)](nt({'status$':this[_0x25f7cf(0x344)][_0x25f7cf(0x276)]()}),this[_0x25f7cf(0x372)])));}},exports['DesktopCollaborationStatusDisplayController']=it([K(0x0,a['IUniverInstanceService']),K(0x1,a[_0xac5304(0x239)](a['Injector'])),K(0x2,a['Inject'](u[_0xac5304(0x274)])),K(0x3,O[_0xac5304(0xb7)])],exports[_0xac5304(0x292)]);function nt(_0x49fe6d){const {status$:_0x9ab307}=_0x49fe6d;return function(){const _0xb6f85a=_0x3138;return M[_0xb6f85a(0x23f)](tt,{'status$':_0x9ab307});};}const Te=a[_0xac5304(0x112)](_0xac5304(0xf4));var rt=Object[_0xac5304(0xec)],ot=(_0x5c0d71,_0x4a949a,_0x519cec,_0x381a0a)=>{const _0x887e6b=_0xac5304;for(var _0x81256=_0x381a0a>0x1?void 0x0:_0x381a0a?rt(_0x4a949a,_0x519cec):_0x4a949a,_0x591f17=_0x5c0d71[_0x887e6b(0x2d1)]-0x1,_0x1302cb;_0x591f17>=0x0;_0x591f17--)(_0x1302cb=_0x5c0d71[_0x591f17])&&(_0x81256=_0x1302cb(_0x81256)||_0x81256);return _0x81256;},j=(_0x54cb8d,_0x17c4a5)=>(_0x8061fb,_0x3b594a)=>_0x17c4a5(_0x8061fb,_0x3b594a,_0x54cb8d);exports[_0xac5304(0x101)]=class extends a[_0xac5304(0x279)]{constructor(_0xfc0189,_0x219833,_0x5210e2,_0x367dbf,_0x58119a){const _0x3cbecd=_0xac5304;super(),this[_0x3cbecd(0x194)]=_0xfc0189,this[_0x3cbecd(0x275)]=_0x219833,this['_commandService']=_0x5210e2,this[_0x3cbecd(0x23d)]=_0x367dbf,_0x58119a?_0x58119a==null||_0x58119a[_0x3cbecd(0x1f0)]()[_0x3cbecd(0x246)](()=>this[_0x3cbecd(0x1fd)]()):(this['_logService']['debug'](_0x3cbecd(0x1a6),_0x3cbecd(0xf6)),this['_init']());}async[_0xac5304(0x1fd)](){const _0x10a36f=_0xac5304,_0x52b1b9=this[_0x10a36f(0x194)][_0x10a36f(0x1dc)](_0x10a36f(0x2af)),_0x5b5c2d=this[_0x10a36f(0x194)][_0x10a36f(0x1dc)](_0x10a36f(0x15a)),_0x2778a0=this[_0x10a36f(0x194)][_0x10a36f(0x1dc)](_0x10a36f(0x1e1));if(!_0x52b1b9||!_0x5b5c2d){this[_0x10a36f(0x275)][_0x10a36f(0x2a5)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x29a670=await this[_0x10a36f(0x23d)][_0x10a36f(0x287)](_0x52b1b9,Number(_0x5b5c2d),_0x2778a0);_0x29a670&&_0x29a670 instanceof a[_0x10a36f(0xc1)]&&this['_setupSubUnitSync'](_0x29a670);}async[_0xac5304(0x10a)](_0x268be3){const _0x20a941=_0xac5304;await this[_0x20a941(0x177)](_0x268be3),_0x268be3[_0x20a941(0x1fe)][_0x20a941(0x377)](I[_0x20a941(0x212)](this['dispose$']))[_0x20a941(0x257)](_0x78cbd0=>{_0x78cbd0&&this['_updateURLWithCurrentState'](_0x78cbd0);}),this[_0x20a941(0x194)]['urlChange$'][_0x20a941(0x377)](I['takeUntil'](this[_0x20a941(0x1d2)]))[_0x20a941(0x257)](()=>this[_0x20a941(0x177)](_0x268be3));}['_updateURLWithCurrentState'](_0x45444d,_0x516b28=!0x1){const _0x31d378=_0xac5304,_0x8695c6=this['_urlService'][_0x31d378(0x1dc)](_0x31d378(0x1e1));_0x45444d[_0x31d378(0x319)]()!==_0x8695c6&&this['_urlService'][_0x31d378(0x18f)]('subunit',_0x45444d['getSheetId'](),_0x516b28);}async['_updateSubUnitFromURLParams'](_0x3e9b3b){const _0x644a3e=_0xac5304;var _0x12e932;const _0x151365=this[_0x644a3e(0x194)][_0x644a3e(0x1dc)](_0x644a3e(0x1e1));if(!_0x151365||!_0x3e9b3b[_0x644a3e(0x208)](_0x151365)){const _0x38d83e=_0x3e9b3b[_0x644a3e(0x12a)]()[0x0],_0x32430d=_0x3e9b3b['getSheetBySheetId'](_0x38d83e);if(!_0x32430d)return;this['_updateURLWithCurrentState'](_0x32430d,!0x0),await this['_commandService'][_0x644a3e(0xf2)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x3e9b3b[_0x644a3e(0x209)](),'subUnitId':_0x38d83e});return;}((_0x12e932=_0x3e9b3b[_0x644a3e(0x29a)]())==null?void 0x0:_0x12e932[_0x644a3e(0x319)]())!==_0x151365&&await this['_commandService']['executeCommand'](g[_0x644a3e(0x1c7)]['id'],{'unitId':_0x3e9b3b[_0x644a3e(0x209)](),'subUnitId':_0x151365});}},exports[_0xac5304(0x101)]=ot([j(0x0,Te),j(0x1,a[_0xac5304(0x111)]),j(0x2,a[_0xac5304(0x2bb)]),j(0x3,a[_0xac5304(0x239)](u[_0xac5304(0x31b)])),j(0x4,a['Optional'](Xe['IRemoteInstanceService']))],exports[_0xac5304(0x101)]);var at=Object[_0xac5304(0xec)],ct=(_0xaf1a3,_0x5af9f0,_0x86055b,_0x29e5fa)=>{const _0x4d756a=_0xac5304;for(var _0x44601b=_0x29e5fa>0x1?void 0x0:_0x29e5fa?at(_0x5af9f0,_0x86055b):_0x5af9f0,_0x178eaa=_0xaf1a3[_0x4d756a(0x2d1)]-0x1,_0x1cdadb;_0x178eaa>=0x0;_0x178eaa--)(_0x1cdadb=_0xaf1a3[_0x178eaa])&&(_0x44601b=_0x1cdadb(_0x44601b)||_0x44601b);return _0x44601b;},Re=(_0x104267,_0x12fc4e)=>(_0x4d6067,_0x33efd9)=>_0x12fc4e(_0x4d6067,_0x33efd9,_0x104267);let de=class extends a['RxDisposable']{constructor(_0x13eb19,_0x45edc2){const _0x2d8d05=_0xac5304;super(),this[_0x2d8d05(0x13b)]=_0x13eb19,this['_imageIoService']=_0x45edc2,this[_0x2d8d05(0x1fd)]();}[_0xac5304(0x1fd)](){const _0xe670da=_0xac5304,_0x595b28=this;this[_0xe670da(0x35a)](this['_docClipboardService'][_0xe670da(0x278)]({'onBeforePasteImage':async _0x28d538=>{const _0x500bfd=_0xe670da,_0x1bd2b1=await _0x595b28['_imageIoService'][_0x500bfd(0x2da)](_0x28d538);return _0x1bd2b1?{'source':_0x1bd2b1['source'],'imageSourceType':_0x1bd2b1[_0x500bfd(0x236)]}:null;}}));}};de=ct([Re(0x0,T[_0xac5304(0x2e7)]),Re(0x1,Ke['IImageIoService'])],de);const be=[_0xac5304(0x237),_0xac5304(0x2ba),_0xac5304(0xed),_0xac5304(0xe7),_0xac5304(0x163),'yellow.400'];class pe extends a['Disposable']{constructor(){const _0x2e4795=_0xac5304;super(...arguments),_(this,_0x2e4795(0x16d),new Map()),_(this,_0x2e4795(0x2f6),0x0);}[_0xac5304(0x173)](_0x2e4bf2){const _0x4335ee=_0xac5304;if(this[_0x4335ee(0x16d)]['has'](_0x2e4bf2))return this['_assignedColors'][_0x4335ee(0x248)](_0x2e4bf2);const _0x3c5d8b=be[this[_0x4335ee(0x2f6)]];return this[_0x4335ee(0x2f6)]=(this[_0x4335ee(0x2f6)]+0x1)%be[_0x4335ee(0x2d1)],this[_0x4335ee(0x16d)][_0x4335ee(0x1d6)](_0x2e4bf2,_0x3c5d8b),_0x3c5d8b;}}function xe(_0x40083a){const _0xc116ec=_0xac5304;let _0x50599e='';for(const _0x5f3133 of _0x40083a){const {startOffset:_0x35862a,endOffset:_0x3c5527,isActive:_0x2a1bd7,rangeType:_0x39c18c,segmentId:_0x5b0df5,segmentPage:_0x24d692}=_0x5f3133;_0x50599e[_0xc116ec(0x2d1)]&&(_0x50599e+=','),_0x50599e+=_0x35862a+':'+_0x3c5527+':'+(_0x2a1bd7?'1':'0')+':'+_0x39c18c+':'+_0x5b0df5+':'+_0x24d692;}return _0x50599e;}function lt(_0x3ca877){const _0x4b79ff=_0xac5304,_0x19850a=_0x3ca877[_0x4b79ff(0x242)](','),_0x1d369f=[];for(const _0x173d37 of _0x19850a){const [_0x2f4034,_0x51ccba,_0x3cb981,_0x2269de,_0x33680b,_0x39e646]=_0x173d37[_0x4b79ff(0x242)](':');_0x1d369f[_0x4b79ff(0x1b3)]({'startOffset':Number(_0x2f4034),'endOffset':Number(_0x51ccba),'collapsed':_0x2f4034===_0x51ccba,'isActive':_0x3cb981==='1','rangeType':_0x2269de===a['DOC_RANGE_TYPE']['TEXT']?a[_0x4b79ff(0xf3)]['TEXT']:a['DOC_RANGE_TYPE'][_0x4b79ff(0x22f)],'segmentId':typeof _0x33680b==_0x4b79ff(0x2c2)?String(_0x33680b):'','segmentPage':Number(_0x39e646!=null?_0x39e646:-0x1)});}return _0x1d369f['some'](_0x4d235d=>_0x4d235d[_0x4b79ff(0x1ff)])||(_0x1d369f[0x0][_0x4b79ff(0x1ff)]=!0x0),_0x1d369f;}class Oe extends a[_0xac5304(0x279)]{constructor(){const _0x52eda8=_0xac5304;super(...arguments),_(this,'_collabCursorState$',new I['BehaviorSubject'](null)),_(this,_0x52eda8(0x286),this[_0x52eda8(0x2a9)]['asObservable']());}[_0xac5304(0x330)](_0x5c407f){const _0x38b745=_0xac5304,{unitID:_0x2133b8,memberID:_0x34c26b,textRanges:_0x23fb7a}=_0x5c407f,_0x1a0517=xe(_0x23fb7a);if(_0x1a0517==='')return;const _0x305048={'unitID':_0x2133b8,'memberID':_0x34c26b,'selection':_0x1a0517};this[_0x38b745(0x2a9)][_0x38b745(0x2cb)](_0x305048);}}var _t=Object[_0xac5304(0xec)],ht=(_0x2e0c0c,_0x6a2f2,_0x331ba9,_0x517389)=>{const _0x9e6d9c=_0xac5304;for(var _0x234161=_0x517389>0x1?void 0x0:_0x517389?_t(_0x6a2f2,_0x331ba9):_0x6a2f2,_0x1fd419=_0x2e0c0c[_0x9e6d9c(0x2d1)]-0x1,_0x4236f0;_0x1fd419>=0x0;_0x1fd419--)(_0x4236f0=_0x2e0c0c[_0x1fd419])&&(_0x234161=_0x4236f0(_0x234161)||_0x234161);return _0x234161;},U=(_0x5cf81d,_0x5d1807)=>(_0x2e61a2,_0xf0d56b)=>_0x5d1807(_0x2e61a2,_0xf0d56b,_0x5cf81d);const ut=0x12c,It=0x64;let fe=class extends a[_0xac5304(0x279)]{constructor(_0x143dc9,_0x1ebc11,_0x1b12e8,_0x3d9e7b,_0x30e2b2,_0x5af34b,_0x7f5d69,_0x2391b7,_0x4ca00c){const _0x405554=_0xac5304;super(),_(this,_0x405554(0xbc),!0x1),_(this,_0x405554(0x1fd),!0x1),_(this,_0x405554(0x10f),new I[(_0x405554(0x1ac))](new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x405554(0x276)]()),_(this,_0x405554(0x116),new I[(_0x405554(0x1ac))]([])),_(this,_0x405554(0xca),this[_0x405554(0x116)][_0x405554(0x377)](I[_0x405554(0x2d7)](ut))),_(this,'_updateLocalCursor',a[_0x405554(0x25d)](_0xe5e006=>{const _0x1d6adb=_0x405554,_0x1f0eda={'eventID':v['CollaborationEvent'][_0x1d6adb(0x360)],'data':{'unitID':this[_0x1d6adb(0x2d8)],'memberID':this['_session'][_0x1d6adb(0x26c)](),'selection':xe(_0xe5e006)}};this[_0x1d6adb(0x261)][_0x1d6adb(0x2ec)](_0x1f0eda,this['unitID']);},It)),(this[_0x405554(0x2d8)]=_0x143dc9,this['_session']=_0x1ebc11,this[_0x405554(0x372)]=_0x1b12e8,this[_0x405554(0x35b)]=_0x3d9e7b,this['_memberService']=_0x30e2b2,this[_0x405554(0x13e)]=_0x5af34b,this[_0x405554(0x213)]=_0x7f5d69,this[_0x405554(0x21f)]=_0x2391b7,this['_commandService']=_0x4ca00c);}get[_0xac5304(0x351)](){const _0x157313=_0xac5304;return this[_0x157313(0x10f)]['getValue']();}get[_0xac5304(0x210)](){const _0x16cae5=_0xac5304;return this[_0x16cae5(0x116)][_0x16cae5(0x34d)]();}[_0xac5304(0xe1)](){const _0x48e731=_0xac5304;super['dispose'](),this['_cursorInfo$'][_0x48e731(0x2cb)](new Map()),this[_0x48e731(0x10f)]['complete'](),this[_0x48e731(0x116)][_0x48e731(0x2cb)]([]),this['_roomMembers$']['complete']();}[_0xac5304(0xd0)](){const _0x269a39=_0xac5304;this['_init']||(this[_0x269a39(0x1fd)]=!0x0,this['_session']['sessionStatus$'][_0x269a39(0x377)](I[_0x269a39(0x212)](this['dispose$']))['subscribe'](_0x5b1dda=>{const _0x3148ed=_0x269a39;_0x5b1dda===u[_0x3148ed(0x28d)][_0x3148ed(0x342)]?this['_toggleOnline']():this[_0x3148ed(0x14b)]();}),this[_0x269a39(0x261)][_0x269a39(0x2f2)]['pipe'](I[_0x269a39(0x212)](this['dispose$']))[_0x269a39(0x257)](_0xe51cfc=>{const _0x4bb083=_0x269a39,_0x35c698=_0xe51cfc['eventID'];_0x35c698===v[_0x4bb083(0x327)][_0x4bb083(0x360)]&&this[_0x4bb083(0x2e1)](_0xe51cfc),_0x35c698===v[_0x4bb083(0x327)]['USERS_LEAVE']&&this[_0x4bb083(0x24b)](_0xe51cfc);}),this[_0x269a39(0x35a)](this[_0x269a39(0x1d7)][_0x269a39(0x2c3)](_0x337da8=>{const _0x419510=_0x269a39,_0x55280b=_0x337da8[_0x419510(0x154)];_0x55280b!=null&&this[_0x419510(0xbc)]&&_0x337da8['id']===W[_0x419510(0x255)]['id']&&_0x55280b[_0x419510(0x2cc)]===this[_0x419510(0x2d8)]&&_0x55280b['isEditing']===!0x1&&_0x55280b[_0x419510(0x174)][_0x419510(0x2d1)]>0x0&&this[_0x419510(0x1ab)](_0x55280b[_0x419510(0x174)]);})),this[_0x269a39(0x13e)][_0x269a39(0x286)][_0x269a39(0x377)](I[_0x269a39(0x212)](this[_0x269a39(0x1d2)]))[_0x269a39(0x257)](_0x11927d=>{const _0x33d762=_0x269a39;if((_0x11927d==null?void 0x0:_0x11927d[_0x33d762(0x2d8)])!==this[_0x33d762(0x2d8)])return;const _0x4e8a4e={'eventID':v[_0x33d762(0x327)][_0x33d762(0x360)],'data':_0x11927d};this[_0x33d762(0x2e1)](_0x4e8a4e);}),this['disposeWithMe'](this[_0x269a39(0x1d7)]['onCommandExecuted'](_0x44b9c6=>{const _0x38eb2c=_0x269a39;if(_0x44b9c6[_0x38eb2c(0x154)]==null)return;const _0x21da6e=_0x44b9c6[_0x38eb2c(0x154)];if(_0x44b9c6['id']!==W[_0x38eb2c(0x192)]['id']||_0x21da6e[_0x38eb2c(0x2cc)]!==this[_0x38eb2c(0x2d8)])return;const _0x1c507b={'id':_0x38eb2c(0x19e),'params':_0x21da6e},_0x1d087e=this[_0x38eb2c(0x351)];for(const [_0x510b7,_0x5d5bcd]of _0x1d087e){const _0x2e753f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x38eb2c(0x2d8)],'actions':null,'textRanges':_0x5d5bcd[_0x38eb2c(0x174)]}},_0x1c5e88=this['_transformService']['transformMutation'](_0x1c507b,_0x2e753f,!0x1);if(v[_0x38eb2c(0x283)](_0x1c5e88))throw _0x1c5e88[_0x38eb2c(0x147)];_0x1d087e['set'](_0x510b7,{..._0x5d5bcd,'ranges':_0x1c5e88[_0x38eb2c(0x12f)][_0x38eb2c(0x154)][_0x38eb2c(0x1ad)]});}queueMicrotask(()=>{const _0x45a938=_0x38eb2c;this[_0x45a938(0x10f)][_0x45a938(0x2cb)](_0x1d087e);});})));}[_0xac5304(0x2e1)](_0xf58457){const _0xd0e997=_0xac5304;var _0x312bfc,_0x5510b7;const {memberID:_0x138967,selection:_0x141619}=_0xf58457['data'],_0x566475=lt(_0x141619),_0x5545ee=(_0x5510b7=(_0x312bfc=this['_memberService'][_0xd0e997(0x19f)](this[_0xd0e997(0x2d8)],_0x138967))==null?void 0x0:_0x312bfc['name'])!=null?_0x5510b7:_0xd0e997(0xef),_0x596b1d={'color':this['_colorAssignService'][_0xd0e997(0x173)](_0x138967),'name':_0x5545ee,'ranges':_0x566475},_0x35eeef=this[_0xd0e997(0x351)];_0x35eeef['set'](_0x138967,_0x596b1d),this[_0xd0e997(0x10f)][_0xd0e997(0x2cb)](_0x35eeef);}[_0xac5304(0x24b)](_0x3eed99){const _0x3e9aca=_0xac5304,{memberID:_0x3394eb}=_0x3eed99[_0x3e9aca(0xe5)],_0x3cc854=this[_0x3e9aca(0x351)];_0x3cc854[_0x3e9aca(0x328)](_0x3394eb),this[_0x3e9aca(0x10f)][_0x3e9aca(0x2cb)](_0x3cc854);}['_toggleOnline'](){const _0x40a7a6=_0xac5304;var _0x414d4a;if(this[_0x40a7a6(0xbc)]=!0x0,((_0x414d4a=this[_0x40a7a6(0x21f)][_0x40a7a6(0x1e9)]())==null?void 0x0:_0x414d4a[_0x40a7a6(0x209)]())!==this[_0x40a7a6(0x2d8)])return;const _0x30d641=this[_0x40a7a6(0x372)][_0x40a7a6(0x248)](W['DocSelectionManagerService'])[_0x40a7a6(0x298)]();Array['isArray'](_0x30d641)&&_0x30d641[_0x40a7a6(0x2d1)]>0x0&&this[_0x40a7a6(0x1ab)](_0x30d641);}[_0xac5304(0x14b)](){const _0x1b595f=_0xac5304;this[_0x1b595f(0xbc)]=!0x1;}};fe=ht([U(0x2,a[_0xac5304(0x239)](a[_0xac5304(0x334)])),U(0x3,a[_0xac5304(0x239)](pe)),U(0x4,a['Inject'](u['MemberService'])),U(0x5,a[_0xac5304(0x239)](Oe)),U(0x6,v[_0xac5304(0x1f2)]),U(0x7,a[_0xac5304(0x1d1)]),U(0x8,a['ICommandService'])],fe);var St=Object[_0xac5304(0xec)],dt=(_0x5626d1,_0x596f76,_0x269c4a,_0x258da8)=>{const _0x50833e=_0xac5304;for(var _0x26bc47=_0x258da8>0x1?void 0x0:_0x258da8?St(_0x596f76,_0x269c4a):_0x596f76,_0x5ea777=_0x5626d1[_0x50833e(0x2d1)]-0x1,_0x3f15ed;_0x5ea777>=0x0;_0x5ea777--)(_0x3f15ed=_0x5626d1[_0x5ea777])&&(_0x26bc47=_0x3f15ed(_0x26bc47)||_0x26bc47);return _0x26bc47;},w=(_0x5add18,_0x260a7f)=>(_0x34990c,_0x156af1)=>_0x260a7f(_0x34990c,_0x156af1,_0x5add18);const ft=0x12c,mt=0x64,gt=()=>{let _0x53c7f9=[],_0x2e1ba1=!0x1;return _0x5e6469=>{const _0x4fe99f=_0x3138;_0x53c7f9[_0x4fe99f(0x1b3)](_0x5e6469),_0x2e1ba1||(_0x2e1ba1=!0x0,setTimeout(()=>{_0x53c7f9['forEach'](_0x3fb657=>_0x3fb657()),_0x53c7f9=[],_0x2e1ba1=!0x1;}));};};let me=class extends a[_0xac5304(0x279)]{constructor(_0x483939,_0x9b0cb3,_0x3a7c93,_0x306b1,_0xa4c183,_0x4819cd,_0x2e6b0f,_0x382df4){const _0x5ce54b=_0xac5304;super(),_(this,_0x5ce54b(0xbc),!0x1),_(this,_0x5ce54b(0x1fd),!0x1),_(this,_0x5ce54b(0x10f),new I['BehaviorSubject'](new Map())),_(this,_0x5ce54b(0x2fc),this[_0x5ce54b(0x10f)][_0x5ce54b(0x276)]()),_(this,_0x5ce54b(0x116),new I[(_0x5ce54b(0x1ac))]([])),_(this,_0x5ce54b(0xca),this[_0x5ce54b(0x116)][_0x5ce54b(0x377)](I['debounceTime'](ft))),_(this,_0x5ce54b(0x1ab),a[_0x5ce54b(0x25d)]((_0x2bc643,_0x3f1b9d)=>{const _0x56a06b=_0x5ce54b,_0xd880ee={'eventID':v[_0x56a06b(0x327)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x56a06b(0x261)][_0x56a06b(0x26c)](),'selection':x[_0x56a06b(0x252)](_0x2bc643,_0x3f1b9d[_0x56a06b(0xd8)])}};this[_0x56a06b(0x261)][_0x56a06b(0x2ec)](_0xd880ee,this[_0x56a06b(0x2d8)]);},mt)),(this['unitID']=_0x483939,this['_session']=_0x9b0cb3,this[_0x5ce54b(0x372)]=_0x3a7c93,this[_0x5ce54b(0x35b)]=_0x306b1,this[_0x5ce54b(0x28e)]=_0xa4c183,this[_0x5ce54b(0x21f)]=_0x4819cd,this[_0x5ce54b(0x1d7)]=_0x2e6b0f,this['_refRangeService']=_0x382df4);}get[_0xac5304(0x351)](){const _0x18b14c=_0xac5304;return this[_0x18b14c(0x10f)][_0x18b14c(0x34d)]();}get[_0xac5304(0x210)](){const _0x4204c6=_0xac5304;return this[_0x4204c6(0x116)][_0x4204c6(0x34d)]();}[_0xac5304(0xe1)](){const _0x4e5598=_0xac5304;super['dispose'](),this[_0x4e5598(0x10f)]['next'](new Map()),this[_0x4e5598(0x10f)][_0x4e5598(0x304)](),this['_roomMembers$'][_0x4e5598(0x2cb)]([]),this['_roomMembers$'][_0x4e5598(0x304)]();}['init'](){const _0x1d9e79=_0xac5304;this[_0x1d9e79(0x1fd)]||(this[_0x1d9e79(0x1fd)]=!0x0,this[_0x1d9e79(0x261)][_0x1d9e79(0x1b6)][_0x1d9e79(0x377)](I['takeUntil'](this['dispose$']))[_0x1d9e79(0x257)](_0x4098ba=>{const _0x1fcce1=_0x1d9e79;_0x4098ba===u[_0x1fcce1(0x28d)][_0x1fcce1(0x342)]?this[_0x1fcce1(0x11f)]():this[_0x1fcce1(0x14b)]();}),this['_session'][_0x1d9e79(0x2f2)][_0x1d9e79(0x377)](I[_0x1d9e79(0x212)](this[_0x1d9e79(0x1d2)]))[_0x1d9e79(0x257)](_0x5a2187=>{const _0xc5085a=_0x1d9e79,_0xab3360=_0x5a2187[_0xc5085a(0x104)];_0xab3360===v[_0xc5085a(0x327)]['UPDATE_CURSOR']&&this[_0xc5085a(0x2e1)](_0x5a2187),_0xab3360===v[_0xc5085a(0x327)][_0xc5085a(0x247)]&&this[_0xc5085a(0x24b)](_0x5a2187);}),this[_0x1d9e79(0x138)](),this['disposeWithMe'](this[_0x1d9e79(0x1d7)][_0x1d9e79(0x2c3)](_0x477cf5=>{const _0x2b1535=_0x1d9e79;if(this[_0x2b1535(0xbc)]&&_0x477cf5['id']===g['SetSelectionsOperation']['id']&&_0x477cf5[_0x2b1535(0x154)][_0x2b1535(0x2cc)]===this[_0x2b1535(0x2d8)]){const _0x5de01c=_0x477cf5[_0x2b1535(0x154)];this[_0x2b1535(0x1ab)](_0x5de01c['subUnitId'],_0x5de01c[_0x2b1535(0x2e4)][0x0]);}})));}[_0xac5304(0x2e1)](_0x1340ac){const _0x119e90=_0xac5304;var _0x51f33c,_0x4f95fc;const {memberID:_0x19e5cc,selection:_0x291853}=_0x1340ac['data'],{sheetName:_0x1ac11f,range:_0x385601}=x[_0x119e90(0x1a0)](_0x291853),_0x282a9c={'name':(_0x4f95fc=(_0x51f33c=this[_0x119e90(0x28e)][_0x119e90(0x19f)](this['unitID'],_0x19e5cc))==null?void 0x0:_0x51f33c[_0x119e90(0x2eb)])!=null?_0x4f95fc:_0x119e90(0xef),'range':this[_0x119e90(0x139)](_0x1ac11f,_0x385601),'sheetID':_0x1ac11f,'color':this[_0x119e90(0x35b)]['assignAColorForMemberID'](_0x19e5cc),'selection':_0x291853},_0x36a1b0=this['cursorInfo'];_0x36a1b0[_0x119e90(0x1d6)](_0x19e5cc,_0x282a9c),this[_0x119e90(0x10f)][_0x119e90(0x2cb)](_0x36a1b0);}[_0xac5304(0x24b)](_0x46f0a6){const _0x4a89b7=_0xac5304,{memberID:_0x3b3608}=_0x46f0a6[_0x4a89b7(0xe5)],_0x45e2d6=this[_0x4a89b7(0x351)];_0x45e2d6[_0x4a89b7(0x328)](_0x3b3608),this[_0x4a89b7(0x10f)][_0x4a89b7(0x2cb)](_0x45e2d6);}[_0xac5304(0x139)](_0x21a705,_0x317a8f){const _0x388639=_0xac5304;var _0x5d1d36,_0x31edff;const _0x41c3b4=(_0x31edff=(_0x5d1d36=this['_univerInstanceService'][_0x388639(0x220)](this['unitID']))==null?void 0x0:_0x5d1d36['getSheetBySheetId'](_0x21a705))==null?void 0x0:_0x31edff['getMergeData']();return(_0x41c3b4==null?void 0x0:_0x41c3b4[_0x388639(0x2e0)](_0x449141=>a['Rectangle'][_0x388639(0x17d)](_0x449141,_0x317a8f)))||_0x317a8f;}[_0xac5304(0x138)](){const _0x39e985=_0xac5304,_0x4a7d8d=new a[(_0x39e985(0x259))](),_0x189267=gt(),_0xf15052=()=>{const _0x467bd4=_0x39e985;_0x4a7d8d[_0x467bd4(0xe1)]();const _0x16e32f=(_0x54bff8,_0x50fe81,_0x5a1916,_0x4ad972)=>{const _0x958bbd=_0x467bd4;let _0x158979=[];switch(_0x54bff8['id']){case g[_0x958bbd(0x277)][_0x958bbd(0x348)]:{_0x158979=g[_0x958bbd(0x196)](_0x54bff8,_0x4ad972);break;}case g[_0x958bbd(0x277)][_0x958bbd(0x1a9)]:{_0x158979=g[_0x958bbd(0xdf)](_0x54bff8,_0x4ad972);break;}case g[_0x958bbd(0x277)][_0x958bbd(0x14f)]:{_0x158979=g[_0x958bbd(0x2a2)](_0x54bff8,_0x4ad972);break;}case g[_0x958bbd(0x277)][_0x958bbd(0x21c)]:{_0x158979=g[_0x958bbd(0xf0)](_0x54bff8,_0x4ad972);break;}case g[_0x958bbd(0x277)][_0x958bbd(0x23b)]:{_0x158979=g[_0x958bbd(0x135)](_0x54bff8,_0x4ad972);break;}case g[_0x958bbd(0x277)][_0x958bbd(0x1b7)]:{_0x158979=g[_0x958bbd(0x1a3)](_0x54bff8,_0x4ad972);break;}case g[_0x958bbd(0x277)][_0x958bbd(0x25e)]:{_0x158979=g['handleMoveRange'](_0x54bff8,_0x4ad972);break;}case g['EffectRefRangId'][_0x958bbd(0x233)]:{_0x158979=g[_0x958bbd(0x249)](_0x54bff8,_0x4ad972);break;}case g[_0x958bbd(0x277)][_0x958bbd(0x1bd)]:{_0x158979=g[_0x958bbd(0x157)](_0x54bff8,_0x4ad972);break;}}const _0x3565a=g[_0x958bbd(0x113)](_0x158979,_0x4ad972),_0x40606d=this[_0x958bbd(0x351)][_0x958bbd(0x248)](_0x50fe81);if(_0x40606d&&_0x3565a){const _0x1b1be9={..._0x40606d,'range':_0x3565a};this[_0x958bbd(0x351)]['set'](_0x50fe81,_0x1b1be9),_0x189267(()=>{const _0x4207a1=_0x958bbd,_0x28059a=this[_0x4207a1(0x359)][_0x4207a1(0x31c)](_0x3565a,_0x2304f4=>(_0x28059a['dispose'](),_0x16e32f(_0x2304f4,_0x50fe81,_0x5a1916,_0x3565a)));_0x4a7d8d[_0x4207a1(0x2ff)](_0x28059a);});}return{'redos':[],'undos':[]};};this[_0x467bd4(0x351)][_0x467bd4(0x1b8)]((_0x1f590a,_0x15ad8d)=>{const _0x6edcb5=_0x467bd4,{range:_0x91f4b1,sheetID:_0x2d095}=_0x1f590a,_0x419d51=this[_0x6edcb5(0x359)][_0x6edcb5(0x31c)](_0x91f4b1,_0x11632c=>(_0x419d51[_0x6edcb5(0xe1)](),_0x16e32f(_0x11632c,_0x15ad8d,_0x2d095,_0x91f4b1)));_0x4a7d8d[_0x6edcb5(0x2ff)](_0x419d51);});};this[_0x39e985(0x35a)](a[_0x39e985(0x219)](this[_0x39e985(0x10f)][_0x39e985(0x257)](()=>{_0xf15052();})));}['_toggleOnline'](){const _0x24c0b0=_0xac5304;var _0x3e44dd,_0x4255fb;if(this[_0x24c0b0(0xbc)]=!0x0,((_0x3e44dd=this[_0x24c0b0(0x21f)][_0x24c0b0(0x1e9)]())==null?void 0x0:_0x3e44dd[_0x24c0b0(0x209)]())!==this[_0x24c0b0(0x2d8)])return;const _0x42f62f=(_0x4255fb=this[_0x24c0b0(0x372)][_0x24c0b0(0x248)](g['SheetsSelectionsService'])[_0x24c0b0(0x305)]())==null?void 0x0:_0x4255fb[0x0],_0x5ed3a9=this[_0x24c0b0(0x21f)][_0x24c0b0(0x33d)](a[_0x24c0b0(0x1ed)][_0x24c0b0(0x146)])[_0x24c0b0(0x29a)]();_0x42f62f&&_0x5ed3a9&&this['_updateLocalCursor'](_0x5ed3a9[_0x24c0b0(0x319)](),_0x42f62f);}['_toggleOffline'](){const _0x4a9ee7=_0xac5304;this[_0x4a9ee7(0xbc)]=!0x1;}};me=dt([w(0x2,a[_0xac5304(0x239)](a[_0xac5304(0x334)])),w(0x3,a[_0xac5304(0x239)](pe)),w(0x4,a[_0xac5304(0x239)](u['MemberService'])),w(0x5,a[_0xac5304(0x1d1)]),w(0x6,a[_0xac5304(0x2bb)]),w(0x7,a[_0xac5304(0x239)](g[_0xac5304(0x30f)]))],me);var vt=Object[_0xac5304(0xec)],Et=(_0x43a09d,_0x5bbd42,_0x107efb,_0xf3bc1a)=>{for(var _0x29f042=_0xf3bc1a>0x1?void 0x0:_0xf3bc1a?vt(_0x5bbd42,_0x107efb):_0x5bbd42,_0x4e555d=_0x43a09d['length']-0x1,_0x39d0bb;_0x4e555d>=0x0;_0x4e555d--)(_0x39d0bb=_0x43a09d[_0x4e555d])&&(_0x29f042=_0x39d0bb(_0x29f042)||_0x29f042);return _0x29f042;},oe=(_0x49a927,_0x2cd2e1)=>(_0xdad462,_0x253e67)=>_0x2cd2e1(_0xdad462,_0x253e67,_0x49a927);let B=class extends a[_0xac5304(0x279)]{constructor(_0x58f58d,_0x497334,_0x5be852){const _0x472c48=_0xac5304;super(),_(this,'_entities',new Map()),_(this,_0x472c48(0x251),new I[(_0x472c48(0x2ed))]()),(this[_0x472c48(0x21f)]=_0x58f58d,this[_0x472c48(0x372)]=_0x497334,this[_0x472c48(0x2a3)]=_0x5be852,this[_0x472c48(0x1fd)]());}[_0xac5304(0xe1)](){const _0x14027c=_0xac5304;super[_0x14027c(0xe1)](),this[_0x14027c(0x251)][_0x14027c(0x304)](),this['_entities'][_0x14027c(0x1b8)](_0x1dcfbd=>_0x1dcfbd[_0x14027c(0xe1)]());}[_0xac5304(0x155)](_0x47cad4){const _0x36121a=_0xac5304;return this[_0x36121a(0x128)][_0x36121a(0x20b)](_0x47cad4)?this[_0x36121a(0x128)]['get'](_0x47cad4)[_0x36121a(0x2fc)]:this[_0x36121a(0x251)][_0x36121a(0x377)](I[_0x36121a(0xc6)](_0x565a0b=>_0x565a0b[_0x36121a(0x2d8)]===_0x47cad4),I[_0x36121a(0x1f7)](_0x252f82=>_0x252f82[_0x36121a(0x2fc)]));}['_init'](){const _0x259633=_0xac5304;this[_0x259633(0x21f)][_0x259633(0x119)](a[_0x259633(0x1ed)][_0x259633(0x146)])['pipe'](I[_0x259633(0x212)](this[_0x259633(0x1d2)]))[_0x259633(0x257)](async _0x573c08=>{const _0x13cdbe=_0x259633,_0x290dfd=_0x573c08[_0x13cdbe(0x209)](),_0x174cef=await this[_0x13cdbe(0x11e)](_0x290dfd);this['_entityInit$']['next'](_0x174cef),this[_0x13cdbe(0x128)][_0x13cdbe(0x1d6)](_0x290dfd,_0x174cef);}),this[_0x259633(0x21f)][_0x259633(0x119)](a['UniverInstanceType'][_0x259633(0x291)])['pipe'](I[_0x259633(0x212)](this[_0x259633(0x1d2)]))['pipe'](I[_0x259633(0xc6)](_0xe63400=>!_0xe63400[_0x259633(0x209)]()[_0x259633(0x269)]('__')))['subscribe'](async _0x3c2f57=>{const _0x47f972=_0x259633,_0x38563e=_0x3c2f57[_0x47f972(0x209)](),_0x3db8b6=await this[_0x47f972(0x19d)](_0x38563e);this[_0x47f972(0x251)][_0x47f972(0x2cb)](_0x3db8b6),this[_0x47f972(0x128)][_0x47f972(0x1d6)](_0x38563e,_0x3db8b6);}),I[_0x259633(0x27a)](this[_0x259633(0x21f)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x259633(0x291)]),this['_univerInstanceService'][_0x259633(0x273)](a[_0x259633(0x1ed)][_0x259633(0x146)]))[_0x259633(0x377)](I['takeUntil'](this[_0x259633(0x1d2)]))['subscribe'](_0xc451b6=>{const _0x1f214f=_0x259633,_0x2f976e=_0xc451b6[_0x1f214f(0x209)](),_0x43f902=this[_0x1f214f(0x128)][_0x1f214f(0x248)](_0x2f976e);_0x43f902&&(_0x43f902['dispose'](),this[_0x1f214f(0x128)][_0x1f214f(0x328)](_0x2f976e));});}async['_startSheetCollabCursor'](_0x18a445){const _0x3bba48=_0xac5304,_0x5480ca=await this[_0x3bba48(0x2a3)]['requireSession'](_0x18a445),_0x1dc1ba=this[_0x3bba48(0x372)][_0x3bba48(0x33e)](me,_0x18a445,_0x5480ca);return _0x1dc1ba['init'](),_0x1dc1ba;}async['_startDocCollabCursor'](_0x23512d){const _0x213d88=_0xac5304,_0x355bd6=await this['_collabSessionService']['requireSession'](_0x23512d),_0x428e54=this['_injector'][_0x213d88(0x33e)](fe,_0x23512d,_0x355bd6);return _0x428e54[_0x213d88(0xd0)](),_0x428e54;}};B=Et([oe(0x0,a[_0xac5304(0x1d1)]),oe(0x1,a[_0xac5304(0x239)](a[_0xac5304(0x334)])),oe(0x2,a[_0xac5304(0x239)](u[_0xac5304(0xb4)]))],B);const X=0x14,De=0xc8,ae=0x4,Ct=0x5;function _0x3138(_0x44df6e,_0x9a3176){const _0x11bd56=_0x11bd();return _0x3138=function(_0x313813,_0x3b05fe){_0x313813=_0x313813-0xb4;let _0x1635de=_0x11bd56[_0x313813];return _0x1635de;},_0x3138(_0x44df6e,_0x9a3176);}function Tt(_0x4a4311,_0x12a497){const _0xf9fde8=_0xac5304;let {radius:_0x41bb74,width:_0x4fe47b,height:_0x5655fa}=_0x12a497;_0x41bb74=_0x41bb74!=null?_0x41bb74:0x0,_0x4fe47b=_0x4fe47b!=null?_0x4fe47b:0x1e,_0x5655fa=_0x5655fa!=null?_0x5655fa:0x1e;let _0x75f370=0x0,_0xf33fe9=0x0,_0x180978=0x0;_0x75f370=_0xf33fe9=_0x180978=Math[_0xf9fde8(0x218)](_0x41bb74,_0x4fe47b/0x2,_0x5655fa/0x2),_0x4a4311['beginPath'](),_0x4a4311[_0xf9fde8(0x1da)](_0x75f370,0x0),_0x4a4311[_0xf9fde8(0xdd)](_0x4fe47b-_0xf33fe9,0x0),_0x4a4311[_0xf9fde8(0x134)](_0x4fe47b-_0xf33fe9,_0xf33fe9,_0xf33fe9,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a4311[_0xf9fde8(0xdd)](_0x4fe47b,_0x5655fa-_0x180978),_0x4a4311[_0xf9fde8(0x134)](_0x4fe47b-_0x180978,_0x5655fa-_0x180978,_0x180978,0x0,Math['PI']/0x2,!0x1),_0x4a4311['lineTo'](0x0,_0x5655fa),_0x4a4311[_0xf9fde8(0xdd)](0x0,_0x75f370),_0x4a4311['arc'](_0x75f370,_0x75f370,_0x75f370,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a4311[_0xf9fde8(0x373)](),_0x12a497['fill']&&(_0x4a4311[_0xf9fde8(0x30b)](),_0x4a4311[_0xf9fde8(0x1dd)]=_0x12a497[_0xf9fde8(0x189)],_0x12a497[_0xf9fde8(0x175)]===_0xf9fde8(0x374)?_0x4a4311[_0xf9fde8(0x189)]('evenodd'):_0x4a4311[_0xf9fde8(0x189)](),_0x4a4311['restore']());}class ie extends C[_0xac5304(0xeb)]{constructor(_0x3f8bc2,_0x38bbd8){const _0x5db58c=_0xac5304;super(_0x3f8bc2,_0x38bbd8),_(this,_0x5db58c(0x307)),_(this,_0x5db58c(0x311)),(this[_0x5db58c(0x307)]=_0x38bbd8==null?void 0x0:_0x38bbd8[_0x5db58c(0x307)],this['text']=_0x38bbd8==null?void 0x0:_0x38bbd8[_0x5db58c(0x311)]);}static[_0xac5304(0x2d0)](_0x5e754b,_0x34c3df){const _0x14481e=_0xac5304,{text:_0x7b6355,color:_0x48bbc3}=_0x34c3df;_0x5e754b['save'](),_0x5e754b[_0x14481e(0x36e)]=_0x14481e(0x2e2);const _0x2b5ab6=_0x5e754b[_0x14481e(0x1a1)](_0x7b6355)[_0x14481e(0x27f)],_0x23a010=Math[_0x14481e(0x218)](_0x2b5ab6+0x2*ae,De);Tt(_0x5e754b,{'height':X,'radius':0x4,'width':_0x23a010,'fill':_0x48bbc3}),_0x5e754b[_0x14481e(0x1dd)]=_0x14481e(0xda);const _0x115516=ae,_0x21d44e=X-Ct,_0x1a3f59=De-0x2*ae;if(_0x2b5ab6>_0x1a3f59){let _0x488643='',_0x445b59=0x0;for(const _0x6aa792 of _0x7b6355){const _0x38dd5b=_0x5e754b[_0x14481e(0x1a1)](_0x6aa792)[_0x14481e(0x27f)];if(_0x445b59+_0x38dd5b<=_0x1a3f59-_0x5e754b[_0x14481e(0x1a1)](_0x14481e(0x18c))[_0x14481e(0x27f)])_0x488643+=_0x6aa792,_0x445b59+=_0x38dd5b;else{_0x488643+=_0x14481e(0x18c);break;}}_0x5e754b[_0x14481e(0x191)](_0x488643,_0x115516,_0x21d44e);}else _0x5e754b['fillText'](_0x7b6355,_0x115516,_0x21d44e);_0x5e754b[_0x14481e(0x369)]();}['_draw'](_0x27d031){const _0x5d781b=_0xac5304;ie[_0x5d781b(0x2d0)](_0x27d031,this);}}const ce=_0xac5304(0x2e9),pt=_0xac5304(0x23a),Ot='collab-rect-range-',Y=0x6,Rt=1.5,le=0x4,bt=1.5,Dt=_0xac5304(0x202);class Ne{constructor(_0x58511f,_0x191ea1,_0x5419b3,_0x4c665d){const _0x23d154=_0xac5304;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x23d154(0xdc),null),_(this,_0x23d154(0x35e),null),_(this,_0x23d154(0x16b),null),_(this,_0x23d154(0x1ef),null),(this[_0x23d154(0x25b)]=_0x58511f,this[_0x23d154(0x27b)]=_0x191ea1,this[_0x23d154(0x289)]=_0x5419b3,this['_document']=_0x4c665d,this[_0x23d154(0x324)]());}set[_0xac5304(0x1cf)](_0x4e5471){const _0x4f7aee=_0xac5304;_0x4e5471?(this['_anchorDot']&&this['_anchorDot'][_0x4f7aee(0xc7)](),this[_0x4f7aee(0xdc)]&&this[_0x4f7aee(0xdc)][_0x4f7aee(0x159)]()):(this[_0x4f7aee(0x35e)]&&this[_0x4f7aee(0x35e)][_0x4f7aee(0x159)](),this[_0x4f7aee(0xdc)]&&this[_0x4f7aee(0xdc)][_0x4f7aee(0xc7)]());}[_0xac5304(0xe1)](){const _0x37efb2=_0xac5304;for(const _0x237aa3 of this['_shapes'])_0x237aa3['dispose']();this[_0x37efb2(0xdc)]&&this['_textBubble']['dispose'](),this[_0x37efb2(0x35e)]&&this[_0x37efb2(0x35e)][_0x37efb2(0xe1)](),this[_0x37efb2(0x2d5)]&&this[_0x37efb2(0x2d5)][_0x37efb2(0xe1)](),this[_0x37efb2(0x1ef)]&&this[_0x37efb2(0x1ef)]();}[_0xac5304(0x324)](){const _0x53b18c=_0xac5304;var _0x2f3d13;const {_docSkeleton:_0x4d8541,_document:_0x22ca79}=this,{color:_0x12faba,name:_0x3d79e9,ranges:_0x3ee7ed}=this[_0x53b18c(0x25b)],_0x5661c3=_0x22ca79[_0x53b18c(0x16f)](),{docsLeft:_0x5a8e33,docsTop:_0xbb8c9c}=_0x5661c3,_0x5a2906=new T['NodePositionConvertToCursor'](_0x5661c3,_0x4d8541);for(const {startOffset:_0x46eb1f,endOffset:_0x2584eb,rangeType:_0x36859b,segmentId:_0x1f7bf2,segmentPage:_0x5377a5,collapsed:_0x3e7578,isActive:_0x4004ed}of _0x3ee7ed){const _0x16e4d0=_0x4d8541[_0x53b18c(0x326)](_0x46eb1f,!0x0,_0x1f7bf2,_0x5377a5);let _0x1868a1=_0x4d8541['findNodePositionByCharIndex'](_0x2584eb,!0x0,_0x1f7bf2,_0x5377a5);if(_0x1868a1==null&&(_0x1868a1=_0x4d8541[_0x53b18c(0x326)](_0x2584eb-0x1,!0x1,_0x1f7bf2,_0x5377a5)),_0x4004ed){const {contentBoxPointGroup:_0x1c6668}=_0x5a2906[_0x53b18c(0x15b)](_0x1868a1,_0x1868a1);if(_0x1c6668[_0x53b18c(0x2d1)]===0x0)continue;this['_drawAnchor'](_0x12faba,_0x1c6668,_0x5a8e33,_0xbb8c9c,_0x3d79e9),this[_0x53b18c(0x1ef)]=this[_0x53b18c(0xdb)]();}if(_0x16e4d0&&_0x1868a1){if(_0x36859b===a[_0x53b18c(0xf3)]['RECT']){const _0x4cd93d=new T[(_0x53b18c(0x34a))](_0x5661c3,_0x4d8541),{pointGroup:_0xc55428}=(_0x2f3d13=_0x4cd93d[_0x53b18c(0x15b)](_0x16e4d0,_0x1868a1))!=null?_0x2f3d13:{};if(_0xc55428==null||_0xc55428[_0x53b18c(0x2d1)]===0x0)continue;this[_0x53b18c(0x25f)](_0x12faba,_0xc55428,_0x5a8e33,_0xbb8c9c);}else{if(!_0x3e7578){const {borderBoxPointGroup:_0x7b1315}=_0x5a2906[_0x53b18c(0x15b)](_0x16e4d0,_0x1868a1);if(_0x7b1315[_0x53b18c(0x2d1)]===0x0)continue;this[_0x53b18c(0x27e)](_0x12faba,_0x7b1315,_0x5a8e33,_0xbb8c9c);}}}}}[_0xac5304(0x2a8)](_0xda7952,_0x18b73b,_0x1426c6,_0x139ccd,_0x393577){const _0x226c57=_0xac5304,_0x3cceed=this[_0x226c57(0x2ea)](_0x18b73b),{left:_0x2c8094,top:_0x33fac7,height:_0x36435b}=_0x3cceed,_0x483464=this[_0x226c57(0x1a5)](),_0x1491d4=bt/_0x483464,_0x19bf8d=new C[(_0x226c57(0x125))](ce+a[_0x226c57(0x2c0)](Y),{'left':_0x2c8094+_0x1426c6-_0x1491d4,'top':_0x33fac7+_0x139ccd,'height':_0x36435b,'width':Rt,'fill':_0xda7952||C[_0x226c57(0x184)](a[_0x226c57(0x331)]['black'],0x0),'strokeWidth':_0x1491d4,'stroke':Dt,'evented':!0x0});this['_anchor']=_0x19bf8d,this[_0x226c57(0x27b)]['addObject'](_0x19bf8d,T[_0x226c57(0x32a)]);const _0xc0de71=new C[(_0x226c57(0x125))](ce+a['generateRandomId'](Y),{'left':_0x2c8094+_0x1426c6-_0x1491d4,'top':_0x33fac7+_0x139ccd-le/0x2,'height':le,'width':le,'fill':_0xda7952||C[_0x226c57(0x184)](a[_0x226c57(0x331)][_0x226c57(0x17b)],0x0),'strokeWidth':0x0,'stroke':_0xda7952||C[_0x226c57(0x184)](a['COLORS']['black'],0x0),'evented':!0x1});this[_0x226c57(0x35e)]=_0xc0de71,this[_0x226c57(0x27b)][_0x226c57(0x1f3)](_0xc0de71,T['TEXT_RANGE_LAYER_INDEX']);const _0x1635de=new ie(ce+a['generateRandomId'](Y),{'left':_0x2c8094+_0x1426c6-_0x1491d4,'top':_0x33fac7+_0x139ccd-X,'text':_0x393577,'color':_0xda7952});this[_0x226c57(0xdc)]=_0x1635de,this[_0x226c57(0x27b)][_0x226c57(0x1f3)](_0x1635de,T['TEXT_RANGE_LAYER_INDEX']),this[_0x226c57(0x1cf)]=!0x1;}[_0xac5304(0xdb)](){const _0x4699e5=_0xac5304,_0x293ffa=this[_0x4699e5(0x2d5)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x242b4a=_0x4699e5;this[_0x242b4a(0x1cf)]=!0x0;}),_0x2729d0=this[_0x4699e5(0x2d5)]['onPointerLeave$'][_0x4699e5(0x2a0)](()=>{const _0x5280cc=_0x4699e5;this[_0x5280cc(0x16b)]&&clearTimeout(this[_0x5280cc(0x16b)]),this[_0x5280cc(0x16b)]=setTimeout(()=>{const _0x5de9e7=_0x5280cc;this[_0x5de9e7(0x1cf)]=!0x1;},0x7d0);});return()=>{const _0x3d369e=_0x4699e5;_0x293ffa[_0x3d369e(0x1f1)](),_0x2729d0[_0x3d369e(0x1f1)]();};}[_0xac5304(0x27e)](_0x1d5dee,_0x43960a,_0x575519,_0x12b041){const _0x53ac9e=_0xac5304,_0x13f4af=new a[(_0x53ac9e(0xd5))](_0x1d5dee)[_0x53ac9e(0x325)](0.2)[_0x53ac9e(0x1be)](),_0x591929=new C['RegularPolygon'](pt+a[_0x53ac9e(0x2c0)](Y),{'pointsGroup':_0x43960a,'fill':_0x13f4af||C[_0x53ac9e(0x184)](a[_0x53ac9e(0x331)][_0x53ac9e(0x17b)],0.2),'left':_0x575519,'top':_0x12b041,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x53ac9e(0x18b)][_0x53ac9e(0x1b3)](_0x591929),this['_scene'][_0x53ac9e(0x1f3)](_0x591929,T['TEXT_RANGE_LAYER_INDEX']);}[_0xac5304(0x25f)](_0x1009c3,_0x1be454,_0x3235f7,_0xae305a){const _0x492d9b=_0xac5304,_0x219051=new a['ColorKit'](_0x1009c3)['setAlpha'](0.2)[_0x492d9b(0x1be)](),_0x1727ce=new C['RegularPolygon'](Ot+a[_0x492d9b(0x2c0)](Y),{'pointsGroup':_0x1be454,'fill':_0x219051||C[_0x492d9b(0x184)](a[_0x492d9b(0x331)][_0x492d9b(0x17b)],0.2),'left':_0x3235f7,'top':_0xae305a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x492d9b(0x18b)][_0x492d9b(0x1b3)](_0x1727ce),this['_scene'][_0x492d9b(0x1f3)](_0x1727ce,T[_0x492d9b(0x32a)]);}[_0xac5304(0x2ea)](_0x2cb4a9){const _0x3793e3=_0x2cb4a9[0x0],_0x5a9ea8=_0x3793e3[0x0],_0x52e736=_0x3793e3[0x2],{x:_0x2ca72c,y:_0x51dcb8}=_0x5a9ea8,{x:_0x454abb,y:_0x29db2e}=_0x52e736;return{'left':_0x2ca72c,'top':_0x51dcb8,'width':_0x454abb-_0x2ca72c,'height':_0x29db2e-_0x51dcb8};}[_0xac5304(0x1a5)](){const _0x361af0=_0xac5304,{scaleX:_0x17d756,scaleY:_0x583729}=this['_scene'][_0x361af0(0x205)]();return Math['max'](_0x17d756,_0x583729);}}var Nt=Object['getOwnPropertyDescriptor'],Ut=(_0x2e3f11,_0x5952a1,_0x4bd48e,_0x3eeb95)=>{for(var _0x2ba7af=_0x3eeb95>0x1?void 0x0:_0x3eeb95?Nt(_0x5952a1,_0x4bd48e):_0x5952a1,_0x5ea849=_0x2e3f11['length']-0x1,_0x405e11;_0x5ea849>=0x0;_0x5ea849--)(_0x405e11=_0x2e3f11[_0x5ea849])&&(_0x2ba7af=_0x405e11(_0x2ba7af)||_0x2ba7af);return _0x2ba7af;},q=(_0x2d9994,_0x31621f)=>(_0x4ecfb8,_0xc2268)=>_0x31621f(_0x4ecfb8,_0xc2268,_0x2d9994);let ge=class extends a[_0xac5304(0x279)]{constructor(_0x129c9d,_0x1efc5f,_0x5c8569,_0x398488,_0x48279a){const _0x23f2bf=_0xac5304;super(),_(this,_0x23f2bf(0xd7),[]),_(this,_0x23f2bf(0x2b9),[]),(this[_0x23f2bf(0xba)]=_0x129c9d,this['_docSkeletonManagerService']=_0x1efc5f,this['_collabCursorController']=_0x5c8569,this[_0x23f2bf(0x1d7)]=_0x398488,this['_themeService']=_0x48279a,this[_0x23f2bf(0x1fd)]());}[_0xac5304(0x1fd)](){const _0x3d71cc=_0xac5304,_0x2696ea=this[_0x3d71cc(0xba)][_0x3d71cc(0x2cc)],_0x15e103=this[_0x3d71cc(0xcb)];this[_0x3d71cc(0x35a)](I['combineLatest']([this['_collabCursorController']['getCollabCursors$'](_0x2696ea),this[_0x3d71cc(0x149)][_0x3d71cc(0x108)]])[_0x3d71cc(0x377)]($[_0x3d71cc(0x182)](([_0x5e9813,_0x4528e6])=>({'skeleton':_0x15e103[_0x3d71cc(0xe9)](),'cursors':[..._0x5e9813[_0x3d71cc(0x144)]()]['flatMap'](_0x322155=>({..._0x322155,'color':this[_0x3d71cc(0x149)][_0x3d71cc(0x24c)](_0x322155[_0x3d71cc(0x307)])}))})))[_0x3d71cc(0x257)](_0x38d0a6=>{const _0x484c75=_0x3d71cc;if(this[_0x484c75(0x2f4)](),_0x38d0a6){const {skeleton:_0x2cfb88,cursors:_0x83a974}=_0x38d0a6;this[_0x484c75(0x368)](_0x2cfb88,_0x83a974);}})),this[_0x3d71cc(0x258)](),this[_0x3d71cc(0x18d)]();}[_0xac5304(0x368)](_0x5f22f7,_0x46bdce){const _0x38b34e=_0xac5304,{scene:_0x59e3a8,mainComponent:_0x44d21f}=this[_0x38b34e(0xba)],_0x4eb3c4=_0x46bdce[_0x38b34e(0x182)](_0x38d2a1=>new Ne(_0x38d2a1,_0x59e3a8,_0x5f22f7,_0x44d21f));this['_cursorShapes']=_0x4eb3c4,this['_cursors']=_0x46bdce;}[_0xac5304(0x231)](){const _0x4cfdc3=_0xac5304;this[_0x4cfdc3(0x2f4)]();const {scene:_0x2b7101,mainComponent:_0x19e2f5}=this[_0x4cfdc3(0xba)],_0x1ae21c=this['_docSkeletonManagerService']['getSkeleton'](),_0x4a410e=this[_0x4cfdc3(0x2b9)][_0x4cfdc3(0x182)](_0x331bc5=>new Ne(_0x331bc5,_0x2b7101,_0x1ae21c,_0x19e2f5));this[_0x4cfdc3(0xd7)]=_0x4a410e;}[_0xac5304(0x2f4)](){const _0x4ccb2b=_0xac5304;this[_0x4ccb2b(0xd7)]['forEach'](_0x4c7cea=>_0x4c7cea['dispose']()),this[_0x4ccb2b(0xd7)]=[];}[_0xac5304(0x18d)](){const _0x572ad4=_0xac5304,_0x58c250=[T[_0x572ad4(0x2f8)]['id']];this[_0x572ad4(0x35a)](this['_commandService'][_0x572ad4(0x2c3)](_0x4bf85a=>{const _0x397e02=_0x572ad4;_0x58c250[_0x397e02(0x13d)](_0x4bf85a['id'])&&_0x4bf85a['params']['unitId']===this[_0x397e02(0xba)][_0x397e02(0x2cc)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x26c192=_0xac5304;this['disposeWithMe'](a[_0x26c192(0x256)](this['_context'][_0x26c192(0x31f)]['onTransformChange$'])[_0x26c192(0x377)]($[_0x26c192(0xc6)](_0x36a5e9=>_0x36a5e9[_0x26c192(0x15a)]===C['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x26c192(0x323)]),$[_0x26c192(0x345)](0x10))['subscribe'](()=>{const _0x556f0a=_0x26c192;this[_0x556f0a(0x231)]();}));}};ge=Ut([q(0x1,a[_0xac5304(0x239)](W['DocSkeletonManagerService'])),q(0x2,a[_0xac5304(0x239)](B)),q(0x3,a[_0xac5304(0x2bb)]),q(0x4,a['Inject'](a[_0xac5304(0x1f5)]))],ge);const Lt=0x1,Mt=1.5;class Be extends C[_0xac5304(0xeb)]{constructor(_0x1d27d0,_0x37e38a){const _0x10257d=_0xac5304;super(_0x1d27d0,_0x37e38a),_(this,'_color'),_(this,_0x10257d(0x130),!0x1),_(this,_0x10257d(0x105)),_(this,_0x10257d(0x2b7),''),_(this,_0x10257d(0xd6),_0x10257d(0x226)),_(this,_0x10257d(0x11d)),(_0x37e38a&&this['setShapeProps'](_0x37e38a),this[_0x10257d(0x16c)]['subscribeEvent'](()=>this[_0x10257d(0x321)]({'hovered':!0x0})),this[_0x10257d(0x347)]['subscribeEvent'](()=>this[_0x10257d(0x321)]({'hovered':!0x1})));}[_0xac5304(0x321)](_0x14b850){const _0x36f908=_0xac5304;var _0x33db3f,_0x4c1eb2,_0x52efec,_0x3ac618,_0x3f5c09,_0x205e71;this[_0x36f908(0x224)]=(_0x33db3f=_0x14b850[_0x36f908(0x307)])!=null?_0x33db3f:this[_0x36f908(0x224)],this[_0x36f908(0x130)]=(_0x4c1eb2=_0x14b850[_0x36f908(0x322)])!=null?_0x4c1eb2:this[_0x36f908(0x130)],this[_0x36f908(0x105)]=(_0x52efec=_0x14b850[_0x36f908(0xd8)])!=null?_0x52efec:this['_range'],this[_0x36f908(0x2b7)]=(_0x3ac618=_0x14b850[_0x36f908(0x2eb)])!=null?_0x3ac618:this[_0x36f908(0x2b7)],this[_0x36f908(0xd6)]=(_0x3f5c09=_0x14b850[_0x36f908(0x2ad)])!=null?_0x3f5c09:this[_0x36f908(0xd6)],this[_0x36f908(0x11d)]=(_0x205e71=_0x14b850[_0x36f908(0x2e8)])!=null?_0x205e71:this[_0x36f908(0x11d)],this[_0x36f908(0xd1)]({'width':_0x14b850[_0x36f908(0x27f)],'height':_0x14b850[_0x36f908(0x1eb)]});}[_0xac5304(0x267)](_0x2d3239){const _0x1c10d3=_0xac5304,{row:_0x19ace5,column:_0x569ea5}=_0x2d3239;if(_0x19ace5>=this['_range']['startRow']&&_0x19ace5<=this[_0x1c10d3(0x105)][_0x1c10d3(0x230)]&&_0x569ea5>=this['_range'][_0x1c10d3(0x303)]&&_0x569ea5<=this['_range'][_0x1c10d3(0x232)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1c10d3(0x321)]({'hovered':!0x1});}[_0xac5304(0x356)](_0x1f926f){return!0x1;}[_0xac5304(0x329)](_0x361bd3){const _0x1b9645=_0xac5304;C[_0x1b9645(0x125)][_0x1b9645(0x2d0)](_0x361bd3,{'width':this[_0x1b9645(0x27f)],'height':this[_0x1b9645(0x1eb)],'strokeWidth':Mt,'stroke':this[_0x1b9645(0x224)],'evented':!0x1,'fill':this[_0x1b9645(0x11d)]}),this['_hovered']&&(_0x361bd3[_0x1b9645(0x30b)](),_0x361bd3[_0x1b9645(0xbe)](0x1,0x0,0x0,0x1,this[_0x1b9645(0x27f)],this['_labelPosition']===_0x1b9645(0x153)?0x0:-X),ie[_0x1b9645(0x2d0)](_0x361bd3,{'text':this[_0x1b9645(0x2b7)],'color':this[_0x1b9645(0x224)]}),_0x361bd3[_0x1b9645(0x369)]());}}var At=Object[_0xac5304(0xec)],Pt=(_0x429971,_0x142a92,_0x2ec71d,_0x4c7f84)=>{const _0xce4f17=_0xac5304;for(var _0x5b786c=_0x4c7f84>0x1?void 0x0:_0x4c7f84?At(_0x142a92,_0x2ec71d):_0x142a92,_0xd0fdbf=_0x429971[_0xce4f17(0x2d1)]-0x1,_0x53a683;_0xd0fdbf>=0x0;_0xd0fdbf--)(_0x53a683=_0x429971[_0xd0fdbf])&&(_0x5b786c=_0x53a683(_0x5b786c)||_0x5b786c);return _0x5b786c;},_e=(_0x13400a,_0x13839f)=>(_0x695771,_0x26695d)=>_0x13839f(_0x695771,_0x26695d,_0x13400a);const wt=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x3505d4,_0x455159,_0x656cf5,_0x1bd1e6){const _0x346b6f=_0xac5304;super(),_(this,_0x346b6f(0x2b9),new Set()),_(this,_0x346b6f(0xc4),null),(this['_context']=_0x3505d4,this[_0x346b6f(0x170)]=_0x455159,this[_0x346b6f(0x2b0)]=_0x656cf5,this[_0x346b6f(0x149)]=_0x1bd1e6,this[_0x346b6f(0x1fd)]());}[_0xac5304(0x1fd)](){const _0xc654ba=_0xac5304;this[_0xc654ba(0x170)][_0xc654ba(0x126)][_0xc654ba(0x377)]($[_0xc654ba(0x212)](this[_0xc654ba(0x1d2)]),$[_0xc654ba(0x1f7)](_0x5534ab=>{const _0x36307b=_0xc654ba;if(_0x5534ab){const _0x11856e=_0x5534ab['sheetId'];return I[_0x36307b(0x285)](this['_collabCursorController'][_0x36307b(0x155)](this[_0x36307b(0xba)][_0x36307b(0x2cc)]),this[_0x36307b(0x149)][_0x36307b(0x108)])[_0x36307b(0x377)]($[_0x36307b(0x182)](([_0xf3afc,_0x3d8783])=>{const _0x2d0047=_0x36307b,_0x4dadfe=new Map();return _0xf3afc[_0x2d0047(0x1b8)]((_0x19d939,_0x3be05e)=>{const _0x555c9d=_0x2d0047;if(_0x19d939[_0x555c9d(0xb8)]===_0x11856e){const _0x203e5d={..._0x19d939};_0x203e5d[_0x555c9d(0x307)]=this[_0x555c9d(0x149)][_0x555c9d(0x24c)](_0x19d939[_0x555c9d(0x307)]),_0x4dadfe['set'](_0x3be05e,_0x203e5d);}}),{'skeleton':_0x5534ab,'cursors':_0x4dadfe};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x33129c,cursors:_0x316e5e})=>{const _0x108f02=_0xc654ba;this[_0x108f02(0x2f4)](),_0x33129c&&this[_0x108f02(0x368)](_0x33129c,_0x316e5e);}),this[_0xc654ba(0x170)][_0xc654ba(0x126)][_0xc654ba(0x257)](_0x523a71=>{const _0x11545e=_0xc654ba;if(_0x523a71==null)return;const {skeleton:_0x2316a7}=_0x523a71,{scene:_0x40b3a7}=this['_context'];_0x40b3a7[_0x11545e(0x365)]['subscribeEvent'](a[_0x11545e(0x25d)](_0x2c74bb=>{const _0x11f29d=_0x11545e;var _0x582bef,_0x5ef9ae;const {offsetX:_0x556b5f,offsetY:_0x5da882}=_0x2c74bb,{x:_0x4aadf8,y:_0x58fdf5}=_0x40b3a7[_0x11f29d(0x1e4)](C[_0x11f29d(0x122)]['FromArray']([_0x556b5f,_0x5da882])),{scaleX:_0x339a7f,scaleY:_0x68734b}=_0x40b3a7['getAncestorScale'](),_0x1a20e9=_0x40b3a7[_0x11f29d(0x1ba)](C[_0x11f29d(0xb6)][_0x11f29d(0x2c1)]),_0x1a386a=_0x40b3a7[_0x11f29d(0x180)](C[_0x11f29d(0x122)][_0x11f29d(0x158)]([_0x4aadf8,_0x58fdf5]),_0x1a20e9),_0x2b0ff6=_0x2316a7[_0x11f29d(0x11b)](_0x556b5f,_0x5da882,_0x339a7f,_0x68734b,_0x1a386a);((_0x582bef=this[_0x11f29d(0xc4)])==null?void 0x0:_0x582bef[_0x11f29d(0xde)])===_0x2b0ff6[_0x11f29d(0xde)]&&((_0x5ef9ae=this[_0x11f29d(0xc4)])==null?void 0x0:_0x5ef9ae[_0x11f29d(0x166)])===_0x2b0ff6['row']||this[_0x11f29d(0x2b9)]['forEach'](_0x30ddce=>{_0x30ddce['onMouseMove'](_0x2b0ff6);});},0x64));});}[_0xac5304(0x368)](_0x40a5e0,_0x2c5689){const _0x140df1=_0xac5304;var _0x11857c;const _0xff517d=(_0x11857c=this[_0x140df1(0x170)]['getCurrent']())==null?void 0x0:_0x11857c[_0x140df1(0x13f)];if(!_0xff517d)return;const _0x2275b9=this[_0x140df1(0x124)]();if(!_0x2275b9)return;this[_0x140df1(0x2b9)]['forEach'](_0x31ff43=>{const _0x911f37=_0x140df1;_0x31ff43[_0x911f37(0x23e)]();});const {scene:_0x1f3ba0}=_0x2275b9,_0xbb3f83=yt(Array[_0x140df1(0x179)](_0x2c5689[_0x140df1(0x144)]()))[_0x140df1(0x182)](_0x5db06c=>{const _0x2cbfbc=_0x140df1,{color:_0x2bc423,range:_0x3abc61,name:_0x5abdfd,selection:_0x337fc6,sheetID:_0x160a97}=_0x5db06c,{startColumn:_0x1d122d,startRow:_0x200498,endColumn:_0x4ed634,endRow:_0x3b5df9}=_0x3abc61,_0x4ea5e8=z[_0x2cbfbc(0x254)](_0x200498,_0x1d122d,_0x1f3ba0,_0xff517d),_0x259c72=z[_0x2cbfbc(0x254)](_0x3b5df9,_0x4ed634,_0x1f3ba0,_0xff517d),{columnHeaderHeightAndMarginTop:_0x16808b}=_0xff517d,{startX:_0x4ee566,startY:_0x119457}=_0x4ea5e8,{endX:_0x1efdde,endY:_0x310af3}=_0x259c72,_0x5811b6=_0x1efdde-_0x4ee566,_0x44b805=_0x310af3-_0x119457,_0x101806={'labelPosition':_0x119457-_0x16808b>=X?'top':_0x2cbfbc(0x153),'sheetID':_0x160a97,'range':_0x3abc61,'color':_0x2bc423,'name':_0x5abdfd,'selection':_0x337fc6,'left':_0x4ee566,'top':_0x119457,'width':_0x5811b6,'height':_0x44b805,'evented':!0x1,'zIndex':wt};return new Be(_0x5abdfd,_0x101806);});_0x1f3ba0['addObjects'](_0xbb3f83,Lt),this[_0x140df1(0x2b9)]=new Set(_0xbb3f83);}[_0xac5304(0x2f4)](){const _0x21f8c2=_0xac5304;var _0x1947f7;(_0x1947f7=this['_cursors'])==null||_0x1947f7[_0x21f8c2(0x1b8)](_0x4fcdd0=>_0x4fcdd0[_0x21f8c2(0xe1)]());}['_getSheetObject'](){const _0x2afe29=_0xac5304;return z['getSheetObject'](this[_0x2afe29(0xba)][_0x2afe29(0x2af)],this[_0x2afe29(0xba)]);}};ve=Pt([_e(0x1,a[_0xac5304(0x239)](z[_0xac5304(0x24f)])),_e(0x2,a[_0xac5304(0x239)](B)),_e(0x3,a[_0xac5304(0x239)](a[_0xac5304(0x1f5)]))],ve);function yt(_0xa44dfc){const _0x5342bd=_0xac5304,_0x451139=new Map();return _0xa44dfc[_0x5342bd(0x1b8)](_0x5c46c1=>{const _0x14892d=_0x5342bd;if(_0x451139[_0x14892d(0x20b)](_0x5c46c1[_0x14892d(0x2a1)])){const _0x24adcd=_0x451139['get'](_0x5c46c1[_0x14892d(0x2a1)]);_0x24adcd['name']+=',\x20'+_0x5c46c1[_0x14892d(0x2eb)];}else _0x451139['set'](_0x5c46c1[_0x14892d(0x2a1)],_0x5c46c1);}),Array[_0x5342bd(0x179)](_0x451139[_0x5342bd(0x144)]());}var $t=Object[_0xac5304(0xec)],xt=(_0x26c72,_0x14d3cf,_0x148dbf,_0x45ca7b)=>{const _0x511633=_0xac5304;for(var _0x321b64=_0x45ca7b>0x1?void 0x0:_0x45ca7b?$t(_0x14d3cf,_0x148dbf):_0x14d3cf,_0xf74f80=_0x26c72[_0x511633(0x2d1)]-0x1,_0x292a23;_0xf74f80>=0x0;_0xf74f80--)(_0x292a23=_0x26c72[_0xf74f80])&&(_0x321b64=_0x292a23(_0x321b64)||_0x321b64);return _0x321b64;},y=(_0xe54947,_0x2d819d)=>(_0x38a68d,_0x26535)=>_0x2d819d(_0x38a68d,_0x26535,_0xe54947);let J=class extends a[_0xac5304(0xbf)]{constructor(_0x32de76,_0x9ff3a3,_0x9c081c,_0x357ef2,_0x1b684b,_0x4921d5){const _0x5d837a=_0xac5304;super(),this[_0x5d837a(0x127)]=_0x32de76,this[_0x5d837a(0x1b1)]=_0x9ff3a3,this[_0x5d837a(0x123)]=_0x9c081c,this[_0x5d837a(0x221)]=_0x357ef2,this[_0x5d837a(0xbb)]=_0x1b684b,this[_0x5d837a(0x31d)]=_0x4921d5,this[_0x5d837a(0xf8)](),this[_0x5d837a(0x1fa)]();}['_setupBeforeClosingHandler'](){const _0x65a19c=_0xac5304;this['disposeWithMe'](this['_beforeCloseService'][_0x65a19c(0x102)](()=>{const _0x43beba=_0x65a19c;if(this[_0x43beba(0x1b1)]['saveTaskMap'][_0x43beba(0x217)])return this[_0x43beba(0x31d)]['t'](_0x43beba(0x282));}));}['_initEvent'](){const _0x1fc4fa=_0xac5304;this[_0x1fc4fa(0x35a)](this['_collaborationUIEventService']['event$'][_0x1fc4fa(0x257)](_0x15465f=>{const _0x366fb2=_0x1fc4fa;_0x15465f['id']===u[_0x366fb2(0x335)][_0x366fb2(0x308)]&&this[_0x366fb2(0x221)]['show']({'type':p[_0x366fb2(0x30c)][_0x366fb2(0x11a)],'content':this[_0x366fb2(0x31d)]['t'](_0x366fb2(0x2c6))}),_0x15465f['id']===u[_0x366fb2(0x335)][_0x366fb2(0x2fd)]&&this[_0x366fb2(0x221)]['show']({'type':p[_0x366fb2(0x30c)][_0x366fb2(0x11a)],'content':this['_localeService']['t'](_0x366fb2(0x229))}),_0x15465f['id']===u[_0x366fb2(0x335)]['PERMISSION_DENIED']&&this['_notificationService'][_0x366fb2(0x159)]({'title':this['_localeService']['t'](_0x366fb2(0x1b4)),'content':this[_0x366fb2(0x31d)]['t']('permission.content'),'type':'error','duration':0x0}),_0x15465f['id']===u[_0x366fb2(0x335)]['CONFLICT']&&this[_0x366fb2(0x221)]['show']({'type':p[_0x366fb2(0x30c)][_0x366fb2(0x316)],'content':this[_0x366fb2(0x31d)]['t']('collaboration.closeRoom')+'('+_0x15465f[_0x366fb2(0xe5)]+')'}),_0x15465f['id']===u[_0x366fb2(0x335)][_0x366fb2(0x2a4)]&&this[_0x366fb2(0x221)][_0x366fb2(0x159)]({'type':p[_0x366fb2(0x30c)][_0x366fb2(0x11a)],'content':this[_0x366fb2(0x31d)]['t'](_0x15465f[_0x366fb2(0xe5)]||'')}),_0x15465f['id']===u[_0x366fb2(0x335)][_0x366fb2(0x12d)]&&this[_0x366fb2(0x221)][_0x366fb2(0x159)]({'type':p['MessageType'][_0x366fb2(0x11a)],'content':this[_0x366fb2(0x31d)]['t'](_0x366fb2(0x2db))}),_0x15465f['id']===u[_0x366fb2(0x335)][_0x366fb2(0x28a)]&&this[_0x366fb2(0x221)]['show']({'type':p[_0x366fb2(0x30c)]['Error'],'content':this[_0x366fb2(0x31d)]['t'](_0x366fb2(0x2d9))}),_0x15465f['id']===u['CollaborationUIEventId'][_0x366fb2(0x2bf)]&&this[_0x366fb2(0x221)][_0x366fb2(0x159)]({'type':p[_0x366fb2(0x30c)][_0x366fb2(0x316)],'content':this[_0x366fb2(0x31d)]['t'](_0x366fb2(0x366))});}));}};J=xt([y(0x0,O[_0xac5304(0xcf)]),y(0x1,u[_0xac5304(0x1cc)]),y(0x2,a[_0xac5304(0x239)](u[_0xac5304(0xf5)])),y(0x3,O[_0xac5304(0x1c4)]),y(0x4,O[_0xac5304(0x352)]),y(0x5,a['Inject'](a[_0xac5304(0x306)]))],J);const Bt=_0xac5304(0x2ef),Ue={};var Ft=Object[_0xac5304(0xec)],kt=(_0x370b0a,_0x3dff01,_0x4eaef0,_0x56546b)=>{for(var _0x44b9ef=_0x56546b>0x1?void 0x0:_0x56546b?Ft(_0x3dff01,_0x4eaef0):_0x3dff01,_0xb4b5dd=_0x370b0a['length']-0x1,_0x53e9fc;_0xb4b5dd>=0x0;_0xb4b5dd--)(_0x53e9fc=_0x370b0a[_0xb4b5dd])&&(_0x44b9ef=_0x53e9fc(_0x44b9ef)||_0x44b9ef);return _0x44b9ef;},Le=(_0x592687,_0x49f673)=>(_0x2bbac0,_0x1f3b61)=>_0x49f673(_0x2bbac0,_0x1f3b61,_0x592687);let Z=class{constructor(_0x6aaf47,_0x1aae2){const _0x1c9959=_0xac5304;this[_0x1c9959(0x213)]=_0x6aaf47,this['_renderManagerService']=_0x1aae2;}[_0xac5304(0x14d)](_0xc26246){const _0x4b2d00=_0xac5304;this[_0x4b2d00(0x376)](_0xc26246),this[_0x4b2d00(0x2ee)](_0xc26246);}[_0xac5304(0x244)](_0x3182e6){const _0x1bd719=_0xac5304,{unitID:_0x49cf1e}=_0x3182e6,_0x5bbbf1=this['_renderManagerService']['getRenderById'](_0x49cf1e)['with'](T['DocIMEInputManagerService']),{redoCache:_0x4b3867}=_0x5bbbf1[_0x1bd719(0x270)]();if(_0x4b3867[_0x1bd719(0x2d1)]===0x0)return _0x3182e6;let _0x2c3474=a['Tools']['deepClone'](_0x3182e6['mutations'][0x0]);for(let _0x498f55=0x0;_0x498f55<_0x4b3867['length'];_0x498f55++){const _0x1524bc={'id':_0x1bd719(0x19e),'params':{..._0x4b3867[_0x498f55]}},_0x373542=this[_0x1bd719(0x213)][_0x1bd719(0x294)](_0x2c3474,_0x1524bc,!0x1);if(v[_0x1bd719(0x283)](_0x373542))throw _0x373542[_0x1bd719(0x147)];_0x2c3474=_0x373542['m1Prime'];}return{...a[_0x1bd719(0x14e)]['deepClone'](_0x3182e6),'mutations':[_0x2c3474]};}['_transformUndoRedoStack'](_0x18f7d){const _0x338244=_0xac5304,{unitID:_0x2a842a}=_0x18f7d,_0x27c61c=this[_0x338244(0xfb)][_0x338244(0x10c)](_0x2a842a)['with'](T[_0x338244(0x2cf)]),{undoCache:_0x1ad0a9,redoCache:_0x3a1ded}=_0x27c61c[_0x338244(0x270)]();if(_0x1ad0a9['length']===0x0||_0x3a1ded[_0x338244(0x2d1)]===0x0)return;const _0x20259e=[],_0x3fa265=[];let _0x499af5=a[_0x338244(0x14e)][_0x338244(0x35d)](_0x18f7d[_0x338244(0x296)][0x0]),_0x5f24ff=a[_0x338244(0x14e)][_0x338244(0x35d)](_0x18f7d[_0x338244(0x296)][0x0]);for(let _0x82b00d=_0x1ad0a9[_0x338244(0x2d1)]-0x1;_0x82b00d>=0x0;_0x82b00d--){const _0x3f1e30={'id':_0x338244(0x19e),'params':{..._0x1ad0a9[_0x82b00d]}},_0x2849d5={'id':_0x338244(0x19e),'params':{..._0x3a1ded[_0x82b00d]}},_0x4032ce=this[_0x338244(0x213)][_0x338244(0x294)](_0x499af5,_0x3f1e30,!0x1),_0x16c5c1=this['_transformService']['transformMutation'](_0x5f24ff,_0x2849d5,!0x1);if(v[_0x338244(0x283)](_0x4032ce))throw _0x4032ce[_0x338244(0x147)];if(v[_0x338244(0x283)](_0x16c5c1))throw _0x16c5c1['error'];_0x20259e['unshift'](_0x4032ce[_0x338244(0x12f)][_0x338244(0x154)]),_0x3fa265[_0x338244(0xfe)](_0x16c5c1['m2Prime'][_0x338244(0x154)]),_0x499af5=_0x4032ce[_0x338244(0x1e8)],_0x5f24ff=_0x16c5c1['m1Prime'];}_0x27c61c[_0x338244(0x1ca)]({'undoCache':_0x20259e,'redoCache':_0x3fa265});}[_0xac5304(0x2ee)](_0x452c9a){const _0x127239=_0xac5304,{unitID:_0x31e1f3}=_0x452c9a,_0x77b22d=this[_0x127239(0xfb)][_0x127239(0x10c)](_0x31e1f3)[_0x127239(0x2ae)](T['DocIMEInputManagerService']),_0x2eb645=_0x77b22d[_0x127239(0x190)]();if(_0x2eb645==null)return;const _0x2c60ed=[{'id':_0x127239(0x19e),'params':{'unitId':_0x452c9a['unitID'],'actions':null,'textRanges':[_0x2eb645]}}],_0x599bd8=this[_0x127239(0x213)][_0x127239(0x2b3)](_0x452c9a,_0x2c60ed);if(!v[_0x127239(0x114)](_0x599bd8))throw _0x599bd8['error'];const _0x16e355=_0x599bd8[_0x127239(0x12f)][0x0]['params']['textRanges'];Array[_0x127239(0x109)](_0x16e355)&&_0x16e355[_0x127239(0x2d1)]&&_0x77b22d[_0x127239(0x238)](_0x16e355[0x0]);}};Z=kt([Le(0x0,v['ITransformService']),Le(0x1,C[_0xac5304(0x1c8)])],Z);var jt=Object['getOwnPropertyDescriptor'],Yt=(_0x11d97a,_0x13f38c,_0x27512b,_0x25624f)=>{const _0x2aee3a=_0xac5304;for(var _0x2dcb10=_0x25624f>0x1?void 0x0:_0x25624f?jt(_0x13f38c,_0x27512b):_0x13f38c,_0x36b806=_0x11d97a[_0x2aee3a(0x2d1)]-0x1,_0x41d5d8;_0x36b806>=0x0;_0x36b806--)(_0x41d5d8=_0x11d97a[_0x36b806])&&(_0x2dcb10=_0x41d5d8(_0x2dcb10)||_0x2dcb10);return _0x2dcb10;},he=(_0x2fa145,_0x55775a)=>(_0x50a09a,_0x32e193)=>_0x55775a(_0x50a09a,_0x32e193,_0x2fa145);let Q=class{constructor(_0x29219e,_0x2d1168,_0x7c6fdb){const _0x4cf40f=_0xac5304;this[_0x4cf40f(0x372)]=_0x29219e,this[_0x4cf40f(0x213)]=_0x2d1168,this[_0x4cf40f(0x1ee)]=_0x7c6fdb;}[_0xac5304(0x320)](_0xc30fba){const _0x10a612=_0xac5304;this[_0x10a612(0xe8)](_0xc30fba);}['transformRemoteChangeset'](_0xa6c810){const _0x34ce8d=_0xac5304,{unitID:_0x5967dd}=_0xa6c810,{collaboration:_0x2fba44}=this['_docStateChangeManagerService'][_0x34ce8d(0x14c)](_0x5967dd);if(_0x2fba44[_0x34ce8d(0x2d1)]===0x0)return _0xa6c810;let _0x6aef3a=a[_0x34ce8d(0x14e)][_0x34ce8d(0x35d)](_0xa6c810[_0x34ce8d(0x296)][0x0]);for(let _0x59a44d=0x0;_0x59a44d<_0x2fba44[_0x34ce8d(0x2d1)];_0x59a44d++){const _0x291fd9={'id':_0x34ce8d(0x19e),'params':{'unitId':_0x2fba44[_0x59a44d][_0x34ce8d(0x2cc)],..._0x2fba44[_0x59a44d][_0x34ce8d(0x1f8)]}},_0x3b0018=this['_transformService'][_0x34ce8d(0x294)](_0x6aef3a,_0x291fd9,!0x1);if(v[_0x34ce8d(0x283)](_0x3b0018))throw _0x3b0018[_0x34ce8d(0x147)];_0x6aef3a=_0x3b0018['m1Prime'];}return{...a[_0x34ce8d(0x14e)]['deepClone'](_0xa6c810),'mutations':[_0x6aef3a]};}['_transformHistoryAndStateStack'](_0x386bf5){const _0x110425=_0xac5304,{unitID:_0x567994}=_0x386bf5,{history:_0x4e021e,collaboration:_0x1c5300}=this[_0x110425(0x1ee)][_0x110425(0x14c)](_0x567994);if(_0x4e021e['length']===0x0&&_0x1c5300['length']===0x0)return;const _0x3c242c=[],_0xe48167=[];let _0x42d7d7=a['Tools'][_0x110425(0x35d)](_0x386bf5[_0x110425(0x296)][0x0]),_0x1fd801=a[_0x110425(0x14e)][_0x110425(0x35d)](_0x386bf5[_0x110425(0x296)][0x0]);for(let _0x3ad457=_0x4e021e[_0x110425(0x2d1)]-0x1;_0x3ad457>=0x0;_0x3ad457--){const _0x5e0c94={'id':_0x110425(0x19e),'params':{'unitId':_0x4e021e[_0x3ad457][_0x110425(0x2cc)],..._0x4e021e[_0x3ad457]['undoState']}},_0x2ebd2b={'id':_0x110425(0x19e),'params':{'unitId':_0x4e021e[_0x3ad457][_0x110425(0x2cc)],..._0x4e021e[_0x3ad457][_0x110425(0x1f8)]}},_0x5486bb=this['_transformService'][_0x110425(0x294)](_0x42d7d7,_0x5e0c94,!0x1),_0x38536a=this['_transformService'][_0x110425(0x294)](_0x1fd801,_0x2ebd2b,!0x1);if(v[_0x110425(0x283)](_0x5486bb))throw _0x5486bb[_0x110425(0x147)];if(v[_0x110425(0x283)](_0x38536a))throw _0x38536a[_0x110425(0x147)];_0x3c242c['unshift']({..._0x4e021e[_0x3ad457],'undoState':_0x5486bb[_0x110425(0x12f)][_0x110425(0x154)],'redoState':_0x38536a[_0x110425(0x12f)]['params']}),_0x42d7d7=_0x5486bb[_0x110425(0x1e8)],_0x1fd801=_0x38536a[_0x110425(0x1e8)];}_0x42d7d7=a['Tools'][_0x110425(0x35d)](_0x386bf5[_0x110425(0x296)][0x0]),_0x1fd801=a['Tools'][_0x110425(0x35d)](_0x386bf5[_0x110425(0x296)][0x0]);for(let _0x5d8608=_0x1c5300[_0x110425(0x2d1)]-0x1;_0x5d8608>=0x0;_0x5d8608--){const _0x13cd71={'id':_0x110425(0x19e),'params':{'unitId':_0x1c5300[_0x5d8608]['unitId'],..._0x1c5300[_0x5d8608][_0x110425(0x1f6)]}},_0xb467c={'id':_0x110425(0x19e),'params':{'unitId':_0x1c5300[_0x5d8608]['unitId'],..._0x1c5300[_0x5d8608][_0x110425(0x1f8)]}},_0x5e0d1e=this[_0x110425(0x213)][_0x110425(0x294)](_0x42d7d7,_0x13cd71,!0x1),_0x242da9=this[_0x110425(0x213)][_0x110425(0x294)](_0x1fd801,_0xb467c,!0x1);if(v[_0x110425(0x283)](_0x5e0d1e))throw _0x5e0d1e[_0x110425(0x147)];if(v[_0x110425(0x283)](_0x242da9))throw _0x242da9[_0x110425(0x147)];_0xe48167[_0x110425(0xfe)]({..._0x1c5300[_0x5d8608],'undoState':_0x5e0d1e['m2Prime'][_0x110425(0x154)],'redoState':_0x242da9[_0x110425(0x12f)]['params']}),_0x42d7d7=_0x5e0d1e['m1Prime'],_0x1fd801=_0x242da9[_0x110425(0x1e8)];}this[_0x110425(0x1ee)][_0x110425(0xc3)](_0x567994,{'history':_0x3c242c,'collaboration':_0xe48167});}};Q=Yt([he(0x0,a['Inject'](a['Injector'])),he(0x1,v[_0xac5304(0x1f2)]),he(0x2,a[_0xac5304(0x239)](T[_0xac5304(0x20d)]))],Q);var Ht=Object[_0xac5304(0xec)],Wt=(_0x4b6aa0,_0x4616fd,_0x4d4ea3,_0x48f921)=>{const _0x2f0283=_0xac5304;for(var _0x586601=_0x48f921>0x1?void 0x0:_0x48f921?Ht(_0x4616fd,_0x4d4ea3):_0x4616fd,_0x32b1b8=_0x4b6aa0[_0x2f0283(0x2d1)]-0x1,_0x312633;_0x32b1b8>=0x0;_0x32b1b8--)(_0x312633=_0x4b6aa0[_0x32b1b8])&&(_0x586601=_0x312633(_0x586601)||_0x586601);return _0x586601;},Me=(_0x215741,_0x4728dd)=>(_0x49b754,_0x5799ab)=>_0x4728dd(_0x49b754,_0x5799ab,_0x215741);let ee=class{constructor(_0x1c3d23,_0x4099a2){this['_injector']=_0x1c3d23,this['_transformService']=_0x4099a2;}['transformSelections'](_0x537b44){const _0x46d913=_0xac5304;var _0x50d88;const _0x18c9f8=this[_0x46d913(0x372)][_0x46d913(0x248)](W[_0x46d913(0x1ec)]),_0x483d1a=(_0x50d88=_0x18c9f8[_0x46d913(0x298)]())!=null?_0x50d88:[];if(_0x483d1a[_0x46d913(0x2d1)]===0x0)return;const _0x30e26c=_0x537b44[_0x46d913(0x2d8)],_0x58b87b=[{'id':_0x46d913(0x19e),'params':{'unitId':_0x30e26c,'actions':null,'textRanges':_0x483d1a}}],_0x13093b=this['_transformService']['transformMutationsWithChangeset'](_0x537b44,_0x58b87b);if(!v[_0x46d913(0x114)](_0x13093b))throw _0x13093b[_0x46d913(0x147)];const _0x3a8c60=_0x13093b[_0x46d913(0x12f)][0x0][_0x46d913(0x154)][_0x46d913(0x1ad)];Array['isArray'](_0x3a8c60)&&_0x3a8c60[_0x46d913(0x2d1)]&&_0x18c9f8[_0x46d913(0x12b)](_0x3a8c60,{'unitId':_0x30e26c,'subUnitId':_0x30e26c},!0x1);}};ee=Wt([Me(0x0,a[_0xac5304(0x239)](a[_0xac5304(0x334)])),Me(0x1,v[_0xac5304(0x1f2)])],ee);var Vt=Object[_0xac5304(0xec)],Gt=(_0x15042a,_0xc07b1c,_0x46d37c,_0x7611d2)=>{const _0x2339fe=_0xac5304;for(var _0x5828c7=_0x7611d2>0x1?void 0x0:_0x7611d2?Vt(_0xc07b1c,_0x46d37c):_0xc07b1c,_0x4519bc=_0x15042a[_0x2339fe(0x2d1)]-0x1,_0x367aad;_0x4519bc>=0x0;_0x4519bc--)(_0x367aad=_0x15042a[_0x4519bc])&&(_0x5828c7=_0x367aad(_0x5828c7)||_0x5828c7);return _0x5828c7;},N=(_0x15ae2a,_0x5b2e7b)=>(_0x4d9288,_0x6cb516)=>_0x5b2e7b(_0x4d9288,_0x6cb516,_0x15ae2a);let te=class extends a['Disposable']{constructor(_0x295d00,_0x27888f,_0xad8919,_0x12220a,_0x4c2e8d,_0x27ff74,_0x46a87f,_0x1eb08e){const _0x208060=_0xac5304;super(),_(this,'_status$',new I['BehaviorSubject'](u[_0x208060(0x362)]['NOT_COLLAB'])),(this[_0x208060(0x1ee)]=_0x295d00,this[_0x208060(0x20a)]=_0x27888f,this[_0x208060(0x19c)]=_0xad8919,this[_0x208060(0x193)]=_0x12220a,this[_0x208060(0xf1)]=_0x4c2e8d,this['_docSyncEditingCollabCursorService']=_0x27ff74,this['_messageService']=_0x46a87f,this['_localeService']=_0x1eb08e,this['_initEntityListener']());}[_0xac5304(0x1ce)](){const _0x386a57=_0xac5304;this[_0x386a57(0x35a)](this['_collaborationController'][_0x386a57(0x161)][_0x386a57(0x257)](_0x9c4477=>{const _0x54e5d3=_0x386a57,_0x61d8da=this[_0x54e5d3(0x1ee)][_0x54e5d3(0x203)][_0x54e5d3(0x257)](_0x53cc5f=>{const _0x508afc=_0x54e5d3;if(_0x53cc5f==null)return;const {unitId:_0x58a5b2,redoState:_0x555f83,commandId:_0x541f6a}=_0x53cc5f;if(_0x58a5b2!==_0x9c4477[_0x508afc(0x2d8)])return;const _0x1df5f4={'id':_0x541f6a,'type':a['CommandType']['MUTATION'],'params':{'unitId':_0x58a5b2,'actions':_0x555f83[_0x508afc(0x1a4)],'textRanges':null}};_0x9c4477[_0x508afc(0xe4)](_0x1df5f4);});if(_0x9c4477[_0x54e5d3(0x35a)](_0x61d8da),_0x9c4477 instanceof u[_0x54e5d3(0x171)]){const _0x276150={'onTransformIME':_0x22eb15=>this[_0x54e5d3(0x19c)]['transformIMECache'](_0x22eb15),'onTransformState':_0x41ff6a=>this['_docTransformStateCacheService'][_0x54e5d3(0x320)](_0x41ff6a),'onTransformSelections':_0x23860d=>this[_0x54e5d3(0xf1)][_0x54e5d3(0x336)](_0x23860d),'onSyncEditingCollabCursor':_0x26c05e=>this[_0x54e5d3(0x1e0)][_0x54e5d3(0x330)](_0x26c05e),'onTransformRemoteChangesetByIMECache':_0x5d79a9=>this[_0x54e5d3(0x19c)][_0x54e5d3(0x244)](_0x5d79a9),'onTransformRemoteChangesetByStateCache':_0x1c6b00=>this[_0x54e5d3(0x193)]['transformRemoteChangeset'](_0x1c6b00)};_0x9c4477[_0x54e5d3(0x1e5)](_0x276150);}}));}};te=Gt([N(0x0,a[_0xac5304(0x239)](T['DocStateChangeManagerService'])),N(0x1,a['Inject'](u[_0xac5304(0x274)])),N(0x2,a[_0xac5304(0x239)](Z)),N(0x3,a[_0xac5304(0x239)](Q)),N(0x4,a[_0xac5304(0x239)](ee)),N(0x5,a[_0xac5304(0x239)](Oe)),N(0x6,O[_0xac5304(0x1c4)]),N(0x7,a['Inject'](a['LocaleService']))],te);var V=(_0x33ccc2=>(_0x33ccc2[_0x33ccc2[_0xac5304(0x117)]=0x0]='UNDEFINED',_0x33ccc2[_0x33ccc2['OK']=0x1]='OK',_0x33ccc2[_0x33ccc2[_0xac5304(0x215)]=0x2]=_0xac5304(0x215),_0x33ccc2[_0x33ccc2['PERMISSION_DENIED']=0x3]=_0xac5304(0x18a),_0x33ccc2[_0x33ccc2[_0xac5304(0x309)]=0x4]='NOT_FOUND',_0x33ccc2[_0x33ccc2['UNAUTHENTICATED']=0x5]=_0xac5304(0x268),_0x33ccc2[_0x33ccc2[_0xac5304(0x181)]=0x6]=_0xac5304(0x181),_0x33ccc2[_0x33ccc2[_0xac5304(0x262)]=0x7]=_0xac5304(0x262),_0x33ccc2[_0x33ccc2[_0xac5304(0x354)]=0x8]=_0xac5304(0x354),_0x33ccc2[_0x33ccc2[_0xac5304(0x21d)]=0x9]='COMPLETION_FINISHED',_0x33ccc2[_0x33ccc2[_0xac5304(0x32e)]=0xa]=_0xac5304(0x32e),_0x33ccc2[_0x33ccc2[_0xac5304(0xc0)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x33ccc2[_0x33ccc2[_0xac5304(0x17f)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x33ccc2[_0x33ccc2[_0xac5304(0x1d8)]=0xd]=_0xac5304(0x1d8),_0x33ccc2[_0x33ccc2[_0xac5304(0x178)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x33ccc2[_0x33ccc2[_0xac5304(0x164)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x33ccc2[_0x33ccc2['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x33ccc2[_0x33ccc2['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0xac5304(0x25a),_0x33ccc2[_0x33ccc2[_0xac5304(0x133)]=0x65]=_0xac5304(0x133),_0x33ccc2[_0x33ccc2['USER_NOT_FOUND']=0xc9]=_0xac5304(0xb9),_0x33ccc2[_0x33ccc2[_0xac5304(0x2c5)]=0xca]='USER_IS_ANONYMOUS',_0x33ccc2[_0x33ccc2[_0xac5304(0x2c8)]=0x1389]=_0xac5304(0x2c8),_0x33ccc2[_0x33ccc2[_0xac5304(0x370)]=0x1771]=_0xac5304(0x370),_0x33ccc2[_0x33ccc2[_0xac5304(0x1a8)]=0x1772]=_0xac5304(0x1a8),_0x33ccc2[_0x33ccc2['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xac5304(0x241),_0x33ccc2[_0x33ccc2['APPLY_REJECT']=0x1b59]=_0xac5304(0x245),_0x33ccc2[_0x33ccc2[_0xac5304(0x228)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x33ccc2[_0x33ccc2[_0xac5304(0x2d4)]=0x1b5b]=_0xac5304(0x2d4),_0x33ccc2[_0x33ccc2[_0xac5304(0x201)]=0x1b5c]=_0xac5304(0x201),_0x33ccc2[_0x33ccc2[_0xac5304(0x349)]=0x1b5d]=_0xac5304(0x349),_0x33ccc2[_0x33ccc2[_0xac5304(0x34c)]=0x1f41]=_0xac5304(0x34c),_0x33ccc2[_0x33ccc2[_0xac5304(0x260)]=0x2329]=_0xac5304(0x260),_0x33ccc2[_0x33ccc2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xac5304(0x132),_0x33ccc2[_0x33ccc2[_0xac5304(0x34b)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x33ccc2[_0x33ccc2[_0xac5304(0x2a7)]=0x232c]=_0xac5304(0x2a7),_0x33ccc2[_0x33ccc2[_0xac5304(0x168)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x33ccc2[_0x33ccc2[_0xac5304(0x28c)]=0x2711]=_0xac5304(0x28c),_0x33ccc2[_0x33ccc2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xac5304(0x118),_0x33ccc2[_0x33ccc2[_0xac5304(0x140)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x33ccc2[_0x33ccc2[_0xac5304(0x1de)]=0x2714]=_0xac5304(0x1de),_0x33ccc2[_0x33ccc2['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xac5304(0x36f),_0x33ccc2[_0x33ccc2[_0xac5304(0x1d9)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x33ccc2[_0x33ccc2[_0xac5304(0x1bc)]=0x271c]=_0xac5304(0x1bc),_0x33ccc2[_0x33ccc2[_0xac5304(0x22e)]=0x271d]=_0xac5304(0x22e),_0x33ccc2[_0x33ccc2[_0xac5304(0x2f5)]=0x271e]=_0xac5304(0x2f5),_0x33ccc2[_0x33ccc2['YUUMI_AI_RUN_FAILED']=0x271f]=_0xac5304(0x12e),_0x33ccc2[_0x33ccc2['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0xac5304(0x357),_0x33ccc2[_0x33ccc2[_0xac5304(0xfc)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x33ccc2[_0x33ccc2[_0xac5304(0x290)]=0x2ee1]=_0xac5304(0x290),_0x33ccc2[_0x33ccc2[_0xac5304(0x264)]=0x2ee2]=_0xac5304(0x264),_0x33ccc2[_0x33ccc2[_0xac5304(0x2bd)]=0x2ee3]=_0xac5304(0x2bd),_0x33ccc2[_0x33ccc2[_0xac5304(0x199)]=0x2ee4]=_0xac5304(0x199),_0x33ccc2[_0x33ccc2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xac5304(0xd3),_0x33ccc2[_0x33ccc2[_0xac5304(0x1e7)]=0x32c9]=_0xac5304(0x1e7),_0x33ccc2[_0x33ccc2[_0xac5304(0x198)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x33ccc2[_0x33ccc2[_0xac5304(0x25c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x33ccc2[_0x33ccc2[_0xac5304(0x2b6)]=0x36b1]=_0xac5304(0x2b6),_0x33ccc2[_0x33ccc2[_0xac5304(0x227)]=0x36b2]=_0xac5304(0x227),_0x33ccc2[_0x33ccc2[_0xac5304(0x280)]=0x36b3]=_0xac5304(0x280),_0x33ccc2[_0x33ccc2[_0xac5304(0x28f)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x33ccc2[_0x33ccc2['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0xac5304(0x120),_0x33ccc2[_0x33ccc2[_0xac5304(0x16e)]=0x3716]=_0xac5304(0x16e),_0x33ccc2[_0x33ccc2[_0xac5304(0x34e)]=0x3717]=_0xac5304(0x34e),_0x33ccc2[_0x33ccc2[_0xac5304(0x22d)]=0x37dd]=_0xac5304(0x22d),_0x33ccc2[_0x33ccc2[_0xac5304(0x32b)]=0x3a99]=_0xac5304(0x32b),_0x33ccc2[_0x33ccc2[_0xac5304(0x341)]=0x3a9a]=_0xac5304(0x341),_0x33ccc2[_0x33ccc2[_0xac5304(0x24e)]=0x3a9b]=_0xac5304(0x24e),_0x33ccc2[_0x33ccc2[_0xac5304(0x2e3)]=0x3a9c]=_0xac5304(0x2e3),_0x33ccc2[_0x33ccc2['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0xac5304(0x2f3),_0x33ccc2[_0x33ccc2['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xac5304(0x12c),_0x33ccc2[_0x33ccc2['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x33ccc2[_0x33ccc2[_0xac5304(0x17e)]=0x3e81]=_0xac5304(0x17e),_0x33ccc2[_0x33ccc2['UNRECOGNIZED']=-0x1]=_0xac5304(0x1f9),_0x33ccc2))(V||{});function Xt(_0xbe7fd9){const _0x55ff95=_0xac5304;var _0x36b9d8,_0x2bab02;const _0x37b09f=(_0x36b9d8=_0xbe7fd9[_0x55ff95(0x2fa)])==null?void 0x0:_0x36b9d8[_0x55ff95(0x162)],_0x561982=((_0x2bab02=_0xbe7fd9[_0x55ff95(0x2fa)])==null?void 0x0:_0x2bab02[_0x55ff95(0x313)])||0x0;return _0x37b09f===x[_0x55ff95(0x33b)][_0x55ff95(0x35c)]&&_0x561982>0x0;}function Kt(_0x2176d6){const _0x532a76=_0xac5304;return _0x2176d6[_0x532a76(0x145)]===x[_0x532a76(0x1b9)][_0x532a76(0x332)];}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x59a393,_0x353c3b,_0x16c988,_0x4f46cf)=>{const _0x5772d7=_0xac5304;for(var _0x3476a7=_0x4f46cf>0x1?void 0x0:_0x4f46cf?qt(_0x353c3b,_0x16c988):_0x353c3b,_0x5f39ef=_0x59a393[_0x5772d7(0x2d1)]-0x1,_0x294f25;_0x5f39ef>=0x0;_0x5f39ef--)(_0x294f25=_0x59a393[_0x5f39ef])&&(_0x3476a7=_0x294f25(_0x3476a7)||_0x3476a7);return _0x3476a7;},L=(_0x238cee,_0x264e85)=>(_0x146613,_0x2ee4da)=>_0x264e85(_0x146613,_0x2ee4da,_0x238cee);const Jt=_0xac5304(0x17a),Zt=_0xac5304(0x21a),Qt=_0xac5304(0x187);let se=class extends a[_0xac5304(0xbf)]{constructor(_0x20809b,_0x477426,_0x23075f,_0x4c1453,_0x51f29a,_0x19fde0,_0x3dff1f){const _0x472c49=_0xac5304;super(),_(this,'_pollingInterval',null),_(this,_0x472c49(0x315),0x0),_(this,_0x472c49(0x24a),0x0),_(this,_0x472c49(0x34f),[]),_(this,_0x472c49(0x22b),0x0),(this[_0x472c49(0x221)]=_0x20809b,this[_0x472c49(0x1d7)]=_0x477426,this['_configService']=_0x23075f,this[_0x472c49(0x361)]=_0x4c1453,this['_univerInstanceService']=_0x51f29a,this['_logService']=_0x19fde0,this[_0x472c49(0x31d)]=_0x3dff1f,this[_0x472c49(0x340)]());}['_initCommandInterceptor'](){const _0x59132a=_0xac5304;this['disposeWithMe'](this['_commandService'][_0x59132a(0x150)]((_0x2aa525,_0x393461)=>{const _0x534240=_0x59132a;var _0x5ea161;if(_0x2aa525['id']!==x[_0x534240(0x32f)]['id'])return;const _0x51bfd6=_0x2aa525[_0x534240(0x154)];if(!this['_hasFormulaInDirtyRanges']((_0x5ea161=_0x51bfd6[_0x534240(0x355)])!=null?_0x5ea161:[]))return;if(!this[_0x534240(0x211)]())throw this['_checkAndWaitForCalculationPermission'](_0x2aa525,_0x393461),this[_0x534240(0x18e)](),new a[(_0x534240(0x1e3))]();})),this[_0x59132a(0x35a)](this['_commandService'][_0x59132a(0x2c3)]((_0x3d279f,_0x206534)=>{const _0x35494a=_0x59132a;if(_0x3d279f['id']!==x[_0x35494a(0x2d6)]['id'])return;const _0x32c56d=_0x3d279f[_0x35494a(0x154)];if(Xt(_0x32c56d)){const _0xdd5fb5=a[_0x35494a(0x2c0)]();this[_0x35494a(0x34f)]['push'](_0xdd5fb5),this[_0x35494a(0x333)](_0xdd5fb5);}else{if(Kt(_0x32c56d)&&this['_taskIds'][_0x35494a(0x2d1)]>0x0){const _0x2cc909=this[_0x35494a(0x34f)][_0x35494a(0xc8)]();this['_releaseCalculationLimit'](_0x2cc909);}}}));}[_0xac5304(0xe1)](){const _0x5249b4=_0xac5304;super[_0x5249b4(0xe1)](),this[_0x5249b4(0x2b4)](),this[_0x5249b4(0x34f)]=[],this[_0x5249b4(0x24a)]=0x0,this[_0x5249b4(0x315)]=0x0,this[_0x5249b4(0x22b)]=0x0;}async[_0xac5304(0x1ae)](_0x2be498,_0x2e713d){const _0x3c1d35=_0xac5304;for(let _0x253db2=0x0;_0x253db2<0x1e;_0x253db2++)try{if(await this[_0x3c1d35(0x301)](),this[_0x3c1d35(0x211)]()){this[_0x3c1d35(0x1fb)](_0x2be498,_0x2e713d),this[_0x3c1d35(0x221)][_0x3c1d35(0x159)]({'content':this[_0x3c1d35(0x31d)]['t'](_0x3c1d35(0x1df)),'type':p[_0x3c1d35(0x30c)][_0x3c1d35(0xd4)]});return;}await new Promise(_0x51ee6=>{const _0x757f58=_0x3c1d35;this[_0x757f58(0x375)]=window['setTimeout'](_0x51ee6,0x3e8);});}catch(_0x412687){this[_0x3c1d35(0x275)][_0x3c1d35(0x147)](_0x412687);}this[_0x3c1d35(0x221)][_0x3c1d35(0x159)]({'content':this[_0x3c1d35(0x31d)]['t'](_0x3c1d35(0x33c)),'type':p[_0x3c1d35(0x30c)][_0x3c1d35(0x316)]});}['_applyCommand'](_0x2fc452,_0x545ba6){const _0xf56a6b=_0xac5304;try{this['_commandService'][_0xf56a6b(0xf2)](_0x2fc452['id'],_0x2fc452['params'],_0x545ba6);}catch(_0x3157c9){this[_0xf56a6b(0x275)][_0xf56a6b(0x147)](_0x3157c9);}}['_setFormulaLimitStatus'](_0x39e2ba,_0x16c905){const _0x583afa=_0xac5304;_0x16c905<this['_lastResponseTimestamp']||(this[_0x583afa(0x22b)]=_0x16c905,this[_0x583afa(0x315)]=Number[_0x583afa(0x24d)](_0x39e2ba[_0x583afa(0x204)]),this['_currentUsage']=Number[_0x583afa(0x24d)](_0x39e2ba[_0x583afa(0x253)]));}async['_startCalculationLimit'](_0x34e979){const _0x42e365=_0xac5304;var _0xb18ec9,_0x180400;const _0xd58552=Date[_0x42e365(0x299)]();try{const _0x31bf37=((_0xb18ec9=this[_0x42e365(0x2f7)]['getConfig'](u[_0x42e365(0x2aa)]))==null?void 0x0:_0xb18ec9['startFormulaLimitUrl'])||Zt,_0x1d4183=(await this[_0x42e365(0x361)][_0x42e365(0x2de)](_0x31bf37,{'body':JSON[_0x42e365(0x137)]({'taskId':_0x34e979})}))[_0x42e365(0xea)];if(((_0x180400=_0x1d4183[_0x42e365(0x147)])==null?void 0x0:_0x180400[_0x42e365(0x234)])!==V['OK'])return;this['_setFormulaLimitStatus'](_0x1d4183[_0x42e365(0x1c5)],_0xd58552);}catch(_0x3a7a75){this['_logService']['error'](_0x3a7a75);}}async[_0xac5304(0x301)](_0x23a898){const _0x46a0fc=_0xac5304;var _0x4e6149,_0xf7f749;const _0xd8fe6f=Date[_0x46a0fc(0x299)]();try{const _0x52c805=((_0x4e6149=this[_0x46a0fc(0x2f7)][_0x46a0fc(0x26d)](u[_0x46a0fc(0x2aa)]))==null?void 0x0:_0x4e6149['getformulaLimitStatusUrl'])||Jt,_0x2a8f78=_0x23a898?_0x52c805+_0x46a0fc(0x1b2)+encodeURIComponent(_0x23a898):_0x52c805,_0x800987=(await this[_0x46a0fc(0x361)]['get'](_0x2a8f78))[_0x46a0fc(0xea)];if(((_0xf7f749=_0x800987[_0x46a0fc(0x147)])==null?void 0x0:_0xf7f749[_0x46a0fc(0x234)])!==V['OK'])return;this['_setFormulaLimitStatus'](_0x800987[_0x46a0fc(0x1c5)],_0xd8fe6f);}catch(_0x395836){this[_0x46a0fc(0x275)][_0x46a0fc(0x147)](_0x395836);}}async['_releaseCalculationLimit'](_0x3ac5ea){const _0x199148=_0xac5304;var _0x8ff3db,_0x20cd53;const _0xd7e19c=Date[_0x199148(0x299)]();try{const _0x492572=((_0x8ff3db=this[_0x199148(0x2f7)][_0x199148(0x26d)](u[_0x199148(0x2aa)]))==null?void 0x0:_0x8ff3db[_0x199148(0x2be)])||Qt,_0x3cb71c=(await this[_0x199148(0x361)][_0x199148(0x2de)](_0x492572,{'body':JSON[_0x199148(0x137)]({'taskId':_0x3ac5ea})}))['body'];if(((_0x20cd53=_0x3cb71c[_0x199148(0x147)])==null?void 0x0:_0x20cd53[_0x199148(0x234)])!==V['OK'])return;this[_0x199148(0x19a)](_0x3cb71c[_0x199148(0x1c5)],_0xd7e19c);}catch(_0x416e17){this[_0x199148(0x275)][_0x199148(0x147)](_0x416e17);}}['_checkCalculationAvailable'](){const _0x3882de=_0xac5304;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x3882de(0x315)]-this[_0x3882de(0x24a)]>0x0;}[_0xac5304(0x2b4)](){const _0x4fdbd9=_0xac5304;this[_0x4fdbd9(0x375)]&&(clearTimeout(this[_0x4fdbd9(0x375)]),this[_0x4fdbd9(0x375)]=null);}[_0xac5304(0x18e)](){const _0x2afad4=_0xac5304;this[_0x2afad4(0x221)]['show']({'content':this[_0x2afad4(0x31d)]['t'](_0x2afad4(0x15e)),'type':p[_0x2afad4(0x30c)][_0x2afad4(0x26e)]});}['_hasFormulaInDirtyRanges'](_0x4d57ff){const _0x46acf9=_0xac5304;for(const _0x6ec468 of _0x4d57ff){const {unitId:_0x1e7576,sheetId:_0x5859c1,range:_0x422b2d}=_0x6ec468,_0x468ab1=this[_0x46acf9(0x21f)][_0x46acf9(0x26b)](_0x1e7576);if(!_0x468ab1)continue;const _0x3977a4=_0x468ab1[_0x46acf9(0x208)](_0x5859c1);if(!_0x3977a4)continue;const _0x1902e2=_0x3977a4['getCellMatrix']();for(let _0x4e857c=_0x422b2d[_0x46acf9(0xce)];_0x4e857c<=_0x422b2d[_0x46acf9(0x230)];_0x4e857c++)for(let _0x1eac0c=_0x422b2d['startColumn'];_0x1eac0c<=_0x422b2d[_0x46acf9(0x232)];_0x1eac0c++){const _0x1c9e65=_0x1902e2[_0x46acf9(0x34d)](_0x4e857c,_0x1eac0c);if(_0x1c9e65&&(a['isFormulaString'](_0x1c9e65['f'])||a[_0x46acf9(0x2c9)](_0x1c9e65['si'])))return!0x0;}}return!0x1;}};se=zt([L(0x0,a[_0xac5304(0x239)](O[_0xac5304(0x1c4)])),L(0x1,a[_0xac5304(0x2bb)]),L(0x2,a[_0xac5304(0x214)]),L(0x3,a[_0xac5304(0x239)](G[_0xac5304(0x20f)])),L(0x4,a[_0xac5304(0x1d1)]),L(0x5,a[_0xac5304(0x111)]),L(0x6,a[_0xac5304(0x239)](a['LocaleService']))],se);var es=Object[_0xac5304(0xec)],ts=(_0x326dc1,_0x16f943,_0x5a4bea,_0x47cee8)=>{const _0x9f8a38=_0xac5304;for(var _0x2c7c17=_0x47cee8>0x1?void 0x0:_0x47cee8?es(_0x16f943,_0x5a4bea):_0x16f943,_0x3d3d1e=_0x326dc1[_0x9f8a38(0x2d1)]-0x1,_0x18c58e;_0x3d3d1e>=0x0;_0x3d3d1e--)(_0x18c58e=_0x326dc1[_0x3d3d1e])&&(_0x2c7c17=_0x18c58e(_0x2c7c17)||_0x2c7c17);return _0x2c7c17;},ue=(_0x1d5827,_0x16045c)=>(_0x388824,_0x15cbed)=>_0x16045c(_0x388824,_0x15cbed,_0x1d5827);let Ee=class extends a['Disposable']{constructor(_0x3d97ea,_0xf993e0,_0x1fef42){const _0x274dcf=_0xac5304;super(),_(this,_0x274dcf(0x338),new Map()),_(this,_0x274dcf(0x1af),new Map()),_(this,_0x274dcf(0xe6),!0x1),(this[_0x274dcf(0x2f7)]=_0x3d97ea,this[_0x274dcf(0x2a6)]=_0xf993e0,this['_revisionService']=_0x1fef42);}[_0xac5304(0x21b)](){const _0x145a0d=_0xac5304;this[_0x145a0d(0xe6)]=!0x0;}[_0xac5304(0x1c6)](){const _0x5c5a69=_0xac5304;this[_0x5c5a69(0xe6)]=!0x1;}get[_0xac5304(0x1a7)](){const _0x26767a=_0xac5304;return this[_0x26767a(0x1af)];}[_0xac5304(0xe1)](){const _0x3c6d9b=_0xac5304;this[_0x3c6d9b(0xc5)]()[_0x3c6d9b(0x246)](()=>super['dispose']());}async[_0xac5304(0x367)](_0x2f273c){const _0x596da9=_0xac5304;return this[_0x596da9(0xe6)]?null:this['_localStorageService'][_0x596da9(0x353)](u['getLocalCacheKey'](_0x2f273c));}async[_0xac5304(0xf9)](_0x1b4800,_0x267838){const _0x273095=_0xac5304;return!!this[_0x273095(0x2a6)][_0x273095(0x2bc)](_0x1b4800,_0x267838);}['updateOfflineData'](_0x18b17a,_0x5ed62b,_0x154769,_0x49574f){const _0x5aedeb=_0xac5304,_0x244564=this[_0x5aedeb(0x266)][_0x5aedeb(0x1cb)](_0x18b17a);this[_0x5aedeb(0x338)][_0x5aedeb(0x1d6)](_0x18b17a,{'unitID':_0x18b17a,'type':_0x5ed62b,'awaitingChangeset':_0x154769,'mutations':_0x49574f,'rev':_0x244564}),this[_0x5aedeb(0x1af)][_0x5aedeb(0x20b)](_0x18b17a)||this[_0x5aedeb(0x1b0)](_0x18b17a);}['_scheduleSaving'](_0x1f9e4b){const _0x2fb479=_0xac5304,_0xb36c20=this[_0x2fb479(0x2dc)]();_0xb36c20===0x0?this[_0x2fb479(0xff)](_0x1f9e4b):this[_0x2fb479(0x1af)][_0x2fb479(0x1d6)](_0x1f9e4b,setTimeout(()=>this['_saveCache'](_0x1f9e4b),_0xb36c20));}[_0xac5304(0x2dc)](){const _0x543d05=_0xac5304;var _0x300974;return(_0x300974=this[_0x543d05(0x2f7)][_0x543d05(0x26d)](u[_0x543d05(0x21e)]))!=null?_0x300974:u['LOCAL_CACHE_INTERVAL'];}[_0xac5304(0xff)](_0x4c3eb3){const _0x307f05=_0xac5304,_0x150fb6=this[_0x307f05(0x1af)][_0x307f05(0x248)](_0x4c3eb3);return _0x150fb6!==void 0x0&&window[_0x307f05(0x271)](_0x150fb6),this[_0x307f05(0x2a6)][_0x307f05(0x2bc)](u['getLocalCacheKey'](_0x4c3eb3),this[_0x307f05(0x338)]['get'](_0x4c3eb3))[_0x307f05(0x246)](()=>this['_saveTaskMap'][_0x307f05(0x328)](_0x4c3eb3));}async[_0xac5304(0xc5)](){const _0x43de29=_0xac5304,_0x2ffb01=[];this[_0x43de29(0x1af)][_0x43de29(0x1b8)]((_0x29ef15,_0x18f0f4)=>{const _0x54dfcd=_0x43de29;window[_0x54dfcd(0x271)](_0x29ef15),_0x2ffb01[_0x54dfcd(0x1b3)](this[_0x54dfcd(0xff)](_0x18f0f4)[_0x54dfcd(0x246)](()=>{const _0x109aad=_0x54dfcd;this[_0x109aad(0x1af)]['delete'](_0x18f0f4);}));}),await Promise[_0x43de29(0x27d)](_0x2ffb01);}};Ee=ts([ue(0x0,a[_0xac5304(0x214)]),ue(0x1,a[_0xac5304(0x167)]),ue(0x2,a[_0xac5304(0x239)](v[_0xac5304(0x143)]))],Ee);class Fe extends a['RxDisposable']{constructor(){const _0x1adfdf=_0xac5304;super(),_(this,_0x1adfdf(0x288)),this['urlChange$']=I[_0x1adfdf(0x295)](window,_0x1adfdf(0x36d))[_0x1adfdf(0x377)](I[_0x1adfdf(0x212)](this['dispose$']),I[_0x1adfdf(0x32d)](0x1),I['mapTo'](void 0x0));}[_0xac5304(0x18f)](_0x1f9f1d,_0xfd05d2,_0x1eeb91=!0x1){const _0x20425b=_0xac5304,_0xa0a6f2=new URL(window[_0x20425b(0x225)][_0x20425b(0x272)]);_0xa0a6f2[_0x20425b(0x2fb)][_0x20425b(0x1d6)](_0x1f9f1d,_0xfd05d2),_0x1eeb91?window[_0x20425b(0x131)][_0x20425b(0x2b8)]('','',_0xa0a6f2['toString']()):window[_0x20425b(0x131)]['pushState']('','',_0xa0a6f2[_0x20425b(0xc9)]());}['removeParam'](_0x3d0b5f,_0x209c61=!0x1){const _0x19cc76=_0xac5304,_0x4ba5f1=new URL(window[_0x19cc76(0x225)][_0x19cc76(0x272)]);_0x4ba5f1[_0x19cc76(0x2fb)]['delete'](_0x3d0b5f),_0x209c61?window[_0x19cc76(0x131)][_0x19cc76(0x2b8)]('','',_0x4ba5f1[_0x19cc76(0xc9)]()):window['history'][_0x19cc76(0x195)]('','',_0x4ba5f1[_0x19cc76(0xc9)]());}['getParam'](_0x559bea){const _0x20f5dc=_0xac5304;var _0x41b58b;return(_0x41b58b=new URL(window['location'][_0x20f5dc(0x272)])['searchParams'][_0x20f5dc(0x248)](_0x559bea))!=null?_0x41b58b:void 0x0;}}var ss=Object[_0xac5304(0x2d2)],is=Object['getOwnPropertyDescriptor'],ns=(_0x349e4b,_0x1c9ab3,_0x4ea8a7)=>_0x1c9ab3 in _0x349e4b?ss(_0x349e4b,_0x1c9ab3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ea8a7}):_0x349e4b[_0x1c9ab3]=_0x4ea8a7,rs=(_0x264c63,_0x1cb294,_0x30f258,_0x209797)=>{for(var _0x12e775=_0x209797>0x1?void 0x0:_0x209797?is(_0x1cb294,_0x30f258):_0x1cb294,_0x529458=_0x264c63['length']-0x1,_0x1186ae;_0x529458>=0x0;_0x529458--)(_0x1186ae=_0x264c63[_0x529458])&&(_0x12e775=_0x1186ae(_0x12e775)||_0x12e775);return _0x12e775;},Ie=(_0x4b2886,_0x6eac6c)=>(_0x82c0fb,_0xe55c4a)=>_0x6eac6c(_0x82c0fb,_0xe55c4a,_0x4b2886),os=(_0x2da83d,_0x5a73f4,_0x2b9b1b)=>ns(_0x2da83d,_0x5a73f4+'',_0x2b9b1b);const as='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0xac5304(0x26a)]=class extends a[_0xac5304(0x2ac)]{constructor(_0x1f30f1=Ue,_0x29d873,_0x220c9a,_0x4f50ee){const _0x37e1b5=_0xac5304;super(),this[_0x37e1b5(0x1d0)]=_0x1f30f1,this[_0x37e1b5(0xfb)]=_0x29d873,this[_0x37e1b5(0x372)]=_0x220c9a,this[_0x37e1b5(0x2f7)]=_0x4f50ee;const {..._0x39e03a}=a[_0x37e1b5(0x27a)]({},Ue,this[_0x37e1b5(0x1d0)]);this[_0x37e1b5(0x2f7)][_0x37e1b5(0x371)](Bt,_0x39e03a);}['onStarting'](){const _0x1c178f=_0xac5304;this[_0x1c178f(0x1d3)](),this[_0x1c178f(0x284)]();}['onRendered'](){const _0x5d9011=_0xac5304;this[_0x5d9011(0x1db)]();}[_0xac5304(0x1d3)](){const _0x28df36=_0xac5304;var _0x69af51;const _0x4b39ce=[[pe],[se],[ee],[Z],[Q],[Oe],[Te,{'useClass':Fe}],[G['ISocketService'],{'useClass':G[_0x28df36(0x29e)]}],[u[_0x28df36(0x1cc)],{'useClass':Ee}],[exports['DesktopCollaborationStatusDisplayController']],[te],[J],[B],[de],[exports[_0x28df36(0x101)]]];a['registerDependencies'](this['_injector'],a[_0x28df36(0xb5)](_0x4b39ce,(_0x69af51=this['_config'])==null?void 0x0:_0x69af51[_0x28df36(0x160)]));}[_0xac5304(0x1db)](){const _0xa23cc9=_0xac5304;this[_0xa23cc9(0x35a)](this[_0xa23cc9(0xfb)][_0xa23cc9(0x30e)](a[_0xa23cc9(0x1ed)][_0xa23cc9(0x291)],[ge])),this[_0xa23cc9(0x35a)](this['_renderManagerService'][_0xa23cc9(0x30e)](a['UniverInstanceType'][_0xa23cc9(0x146)],[ve]));}[_0xac5304(0x284)](){const _0x5f6b06=_0xac5304;a[_0x5f6b06(0x1c0)](this[_0x5f6b06(0x372)],[[B],[exports['DesktopCollaborationStatusDisplayController']],[te],[J],[exports[_0x5f6b06(0x101)]],[se]]);}},os(exports[_0xac5304(0x26a)],_0xac5304(0x337),as),exports[_0xac5304(0x26a)]=rs([a['DependentOn'](u[_0xac5304(0x1c1)]),Ie(0x1,C[_0xac5304(0x1c8)]),Ie(0x2,a[_0xac5304(0x239)](a[_0xac5304(0x334)])),Ie(0x3,a[_0xac5304(0x214)])],exports[_0xac5304(0x26a)]);var cs=Object['getOwnPropertyDescriptor'],ls=(_0x1c4fa4,_0x1548ed,_0x18a278,_0x4b2d29)=>{for(var _0x54c6de=_0x4b2d29>0x1?void 0x0:_0x4b2d29?cs(_0x1548ed,_0x18a278):_0x1548ed,_0x32b53f=_0x1c4fa4['length']-0x1,_0x280f8f;_0x32b53f>=0x0;_0x32b53f--)(_0x280f8f=_0x1c4fa4[_0x32b53f])&&(_0x54c6de=_0x280f8f(_0x54c6de)||_0x54c6de);return _0x54c6de;},H=(_0x4ffa28,_0x505b7a)=>(_0xc49337,_0x1ca919)=>_0x505b7a(_0xc49337,_0x1ca919,_0x4ffa28);exports[_0xac5304(0x29f)]=class extends u[_0xac5304(0x2b1)]{constructor(_0x5c02a3,_0x3d8b4e,_0x260346,_0x359b5e,_0x20797b){super(_0x5c02a3,_0x3d8b4e,_0x260346,_0x359b5e,_0x20797b);}async[_0xac5304(0x10d)](_0x808dad){const _0x7723e5=_0xac5304,_0x4db0c1=await this['_getSessionTicket'](),_0xc48f43=this[_0x7723e5(0x240)](_0x808dad,_0x4db0c1);return this['_doCreateSocket'](_0xc48f43);}['_createSocketURL'](_0x41eb5b,_0x7a0099){const _0x2c6781=_0xac5304,_0x38077f=typeof window>'u'?new URL(_0x41eb5b):new URL(_0x41eb5b,window[_0x2c6781(0x225)][_0x2c6781(0x10e)]);_0x38077f[_0x2c6781(0x2fb)][_0x2c6781(0x1d6)](_0x2c6781(0x152),_0x7a0099);const _0x2b72a8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2c6781(0x225)][_0x2c6781(0xbd)]);return _0x2b72a8['get']('runId')&&_0x38077f[_0x2c6781(0x2fb)][_0x2c6781(0x1d6)](_0x2c6781(0x2f1),_0x2b72a8['get'](_0x2c6781(0x2f1))),_0x38077f[_0x2c6781(0xc9)]();}async[_0xac5304(0x188)](){const _0x506dca=_0xac5304;var _0x49dac1,_0x3071e8,_0x4a350f;const _0x527dc5=this[_0x506dca(0x2f7)][_0x506dca(0x26d)](u[_0x506dca(0x2aa)]),_0x563cab=(_0x49dac1=_0x527dc5==null?void 0x0:_0x527dc5['wsSessionTicketUrl'])!=null?_0x49dac1:u[_0x506dca(0x2ca)];return(_0x4a350f=(_0x3071e8=(await this['_httpService'][_0x506dca(0x248)](_0x563cab,{'headers':{'Content-Type':_0x506dca(0x26f)}}))[_0x506dca(0xea)])==null?void 0x0:_0x3071e8[_0x506dca(0x36b)])!=null?_0x4a350f:'';}},exports[_0xac5304(0x29f)]=ls([H(0x0,a[_0xac5304(0x239)](a[_0xac5304(0x334)])),H(0x1,a[_0xac5304(0x239)](G[_0xac5304(0x20f)])),H(0x2,a[_0xac5304(0x214)]),H(0x3,a[_0xac5304(0x111)]),H(0x4,v[_0xac5304(0x142)])],exports['BrowserCollaborationSocketService']);var _s=Object[_0xac5304(0xec)],hs=(_0x51dd98,_0x44f82c,_0xa2196f,_0xcfafce)=>{const _0x177758=_0xac5304;for(var _0x515d58=_0xcfafce>0x1?void 0x0:_0xcfafce?_s(_0x44f82c,_0xa2196f):_0x44f82c,_0x20b1b8=_0x51dd98[_0x177758(0x2d1)]-0x1,_0x330e28;_0x20b1b8>=0x0;_0x20b1b8--)(_0x330e28=_0x51dd98[_0x20b1b8])&&(_0x515d58=_0x330e28(_0x515d58)||_0x515d58);return _0x515d58;},Se=(_0x2b651a,_0x207f90)=>(_0x35f479,_0x3e04a5)=>_0x207f90(_0x35f479,_0x3e04a5,_0x2b651a);exports[_0xac5304(0x148)]=class extends a['Disposable']{constructor(_0x445a9c,_0x3f3533,_0x477ea6){const _0x53285b=_0xac5304;super(),this[_0x53285b(0x200)]=_0x445a9c,this[_0x53285b(0x361)]=_0x3f3533,this[_0x53285b(0x2f7)]=_0x477ea6;}async[_0xac5304(0x28b)](_0x302667,_0x334d92,_0x31b16c,..._0x31afc9){const _0x235fa1=_0xac5304;var _0x33135b,_0x52f8ac,_0x1934de,_0x2999bd;const _0x2f8ac0=this[_0x235fa1(0x200)][_0x235fa1(0x1e9)]();if(!_0x2f8ac0)throw new Error(_0x235fa1(0xcd));const _0x1fbc00=((_0x33135b=this[_0x235fa1(0x2f7)][_0x235fa1(0x26d)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x33135b:u[_0x235fa1(0x1bf)])+'/'+_0x302667+_0x235fa1(0x222)+_0x334d92,_0x4ec4f9=new URL(window[_0x235fa1(0x225)]['href']),_0x148b7c={'scriptId':_0x302667,'runId':(_0x52f8ac=_0x4ec4f9[_0x235fa1(0x2fb)][_0x235fa1(0x248)]('runId'))!=null?_0x52f8ac:'','function':_0x334d92,'unitId':_0x2f8ac0['getUnitId'](),'argsOfFunction':JSON[_0x235fa1(0x137)](_0x31afc9),'invokeId':(_0x1934de=_0x31b16c['invokeId'])!=null?_0x1934de:'','executionId':(_0x2999bd=_0x31b16c[_0x235fa1(0x2df)])!=null?_0x2999bd:''};try{const _0x3b9766=await this[_0x235fa1(0x361)][_0x235fa1(0x2de)](_0x1fbc00,{'body':_0x148b7c});return _0x3b9766['body'][_0x235fa1(0x147)]&&_0x3b9766['body']['error'][_0x235fa1(0x234)]!==V['OK']?_0x235fa1(0xe0):_0x3b9766[_0x235fa1(0xea)][_0x235fa1(0x350)];}catch{return'Failed';}}},exports[_0xac5304(0x148)]=hs([Se(0x0,a[_0xac5304(0x1d1)]),Se(0x1,a['Inject'](G[_0xac5304(0x20f)])),Se(0x2,a['IConfigService'])],exports[_0xac5304(0x148)]);const Ae=0x7530,Pe=_0xac5304(0xfd);class us extends a[_0xac5304(0xbf)]{constructor(){const _0x4f860e=_0xac5304;super(),_(this,_0x4f860e(0xd9),a[_0x4f860e(0x2c0)]()),_(this,_0x4f860e(0x36c),new Set()),_(this,_0x4f860e(0x300),new Map()),_(this,_0x4f860e(0x121),null),_(this,_0x4f860e(0x223),new Map()),_(this,_0x4f860e(0x1a2),new Map()),this[_0x4f860e(0x1fd)]();}[_0xac5304(0xe1)](){const _0x29b90b=_0xac5304;super['dispose'](),this[_0x29b90b(0x223)]['forEach']((_0x32f712,_0xcc86bc)=>this[_0x29b90b(0x318)](_0xcc86bc)),this[_0x29b90b(0x121)]&&window[_0x29b90b(0x2c7)](this[_0x29b90b(0x121)]);}['getUnitStatus$'](_0x49415f){const _0x511eca=_0xac5304;return this['_ensureSubject'](_0x49415f)['pipe'](I[_0x511eca(0x263)]());}[_0xac5304(0x129)](_0x1aefe9){const _0x11a6aa=_0xac5304;this['_selfUnitIDs'][_0x11a6aa(0x217)]===0x0&&this[_0x11a6aa(0x302)](),this[_0x11a6aa(0x36c)][_0x11a6aa(0x2ff)](_0x1aefe9),this[_0x11a6aa(0x32c)]({'type':0x0,'memberID':this[_0x11a6aa(0xd9)],'unitIDs':[_0x1aefe9],'isForwarded':!0x1});}[_0xac5304(0x10b)](_0x23a4b2){const _0x15a5db=_0xac5304;this[_0x15a5db(0x36c)][_0x15a5db(0x328)](_0x23a4b2),this[_0x15a5db(0x36c)]['size']===0x0&&this[_0x15a5db(0x121)]&&window['clearInterval'](this[_0x15a5db(0x121)]);}['_init'](){const _0x298381=_0xac5304;this[_0x298381(0x35a)](a[_0x298381(0x219)](I[_0x298381(0x295)](window,_0x298381(0x110))[_0x298381(0x257)](_0x2f7aac=>{const _0x50ae4c=_0x298381;if(_0x2f7aac[_0x50ae4c(0x29b)]!==Pe||!_0x2f7aac[_0x50ae4c(0x1ea)])return;const _0x2f7282=JSON[_0x50ae4c(0x106)](_0x2f7aac[_0x50ae4c(0x1ea)]);this[_0x50ae4c(0x29c)](_0x2f7282);}))),window['addEventListener'](_0x298381(0x2fe),()=>this[_0x298381(0x32c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x298381(0x179)](this[_0x298381(0x36c)])}));}[_0xac5304(0x29c)](_0xd20bd1){const _0x264606=_0xac5304;switch(_0xd20bd1['type']){case 0x0:this['_handleJoinEvent'](_0xd20bd1);break;case 0x1:this[_0x264606(0x1c9)](_0xd20bd1);break;case 0x2:this[_0x264606(0x22c)](_0xd20bd1);break;}}[_0xac5304(0xd2)](_0x54554e){const _0xec4b49=_0xac5304,{unitIDs:_0x4cd32e,memberID:_0x45a5dd,isForwarded:_0x16a524}=_0x54554e;_0x4cd32e[_0xec4b49(0x1b8)](_0x105a6b=>{const _0x3d97c5=_0xec4b49;if(!_0x16a524&&this[_0x3d97c5(0x300)][_0x3d97c5(0x20b)](_0x105a6b)&&this[_0x3d97c5(0x15f)](_0x105a6b)[_0x3d97c5(0x2cb)](u[_0x3d97c5(0x2dd)][_0x3d97c5(0x2c4)]),!this[_0x3d97c5(0x300)][_0x3d97c5(0x20b)](_0x105a6b)||!this[_0x3d97c5(0x300)][_0x3d97c5(0x248)](_0x105a6b)[_0x3d97c5(0x20b)](_0x45a5dd)){const _0x448131=this[_0x3d97c5(0x300)]['get'](_0x105a6b)||new Set();_0x448131[_0x3d97c5(0x2ff)](_0x45a5dd),this[_0x3d97c5(0x300)][_0x3d97c5(0x1d6)](_0x105a6b,_0x448131),this[_0x3d97c5(0x1d5)](_0x45a5dd);}}),_0x16a524||this['_send']({'type':0x0,'memberID':this[_0xec4b49(0xd9)],'unitIDs':[...this[_0xec4b49(0x36c)]],'isForwarded':!0x0});}[_0xac5304(0x1d5)](_0x56de06){const _0x29bddd=_0xac5304;this[_0x29bddd(0x318)](_0x56de06);const _0x4cfb69=window[_0x29bddd(0x31e)](()=>{const _0x5c6419=_0x29bddd;this['_unitOnClients'][_0x5c6419(0x1b8)](_0x644b8a=>{const _0x2671fe=_0x5c6419;_0x644b8a[_0x2671fe(0x328)](_0x56de06);});},Ae*0x2);this[_0x29bddd(0x223)][_0x29bddd(0x1d6)](_0x56de06,_0x4cfb69);}[_0xac5304(0x318)](_0x41a7e5){const _0x39c43d=_0xac5304;if(this[_0x39c43d(0x223)]['has'](_0x41a7e5)){const _0x105ff4=this['_clearOtherTimers'][_0x39c43d(0x248)](_0x41a7e5);_0x105ff4&&window[_0x39c43d(0x271)](_0x105ff4),this['_clearOtherTimers'][_0x39c43d(0x1d6)](_0x41a7e5,null);}}[_0xac5304(0x1c9)](_0x30295c){const _0x44f724=_0xac5304,{memberID:_0x3d58f3,unitIDs:_0x525fc4}=_0x30295c;_0x525fc4['forEach'](_0xcb3350=>{const _0x169a50=_0x3138;var _0x19a75a;const _0x9e37f7=this[_0x169a50(0x300)][_0x169a50(0x248)](_0xcb3350);_0x9e37f7&&(_0x9e37f7[_0x169a50(0x328)](_0x3d58f3),(_0x19a75a=this[_0x169a50(0x15f)](_0xcb3350))==null||_0x19a75a[_0x169a50(0x2cb)](_0x9e37f7[_0x169a50(0x217)]===0x0?u['UnitStatus'][_0x169a50(0x364)]:u[_0x169a50(0x2dd)]['OTHER_CLIENTS_EDITING']));}),this[_0x44f724(0x318)](_0x3d58f3);}[_0xac5304(0x22c)](_0x5222f3){this['_scheduleClearOtherTimer'](_0x5222f3['memberID']);}[_0xac5304(0x32c)](_0x1544bd){const _0x5f5aae=_0xac5304;localStorage[_0x5f5aae(0x2bc)](Pe,JSON['stringify'](_0x1544bd));}['_scheduleHeartbeat'](){const _0xf633ac=_0xac5304;this[_0xf633ac(0x121)]=window[_0xf633ac(0x1c2)](()=>{const _0x471b98=_0xf633ac;this[_0x471b98(0x32c)]({'type':0x2,'memberID':this['_id']});},Ae);}[_0xac5304(0x15f)](_0x51efc7){const _0x44bd14=_0xac5304;return this[_0x44bd14(0x1a2)][_0x44bd14(0x20b)](_0x51efc7)||this[_0x44bd14(0x1a2)][_0x44bd14(0x1d6)](_0x51efc7,new I[(_0x44bd14(0x1ac))](u[_0x44bd14(0x2dd)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x44bd14(0x248)](_0x51efc7);}}exports[_0xac5304(0xc2)]=Te,exports[_0xac5304(0x2ce)]=Be,exports[_0xac5304(0x20e)]=us,exports[_0xac5304(0x1f4)]=Fe;function _0x11bd(){const _0x4e4299=['isActive','_instanceService','APPLY_PERMISSION_DENIED','rgba(255,\x20255,\x20255,\x200.01)','docStateChange$','maxFormulaLimit','getAncestorScale','univerjs-icon\x20univerjs-icon-','_initStatusListener','getSheetBySheetId','getUnitId','_collaborationController','has','univer-flex\x20univer-items-center','DocStateChangeManagerService','WebBrowserSingleActiveUnitService','HTTPService','roomMembers','_checkCalculationAvailable','takeUntil','_transformService','IConfigService','INTERNAL_ERROR','translate(.97)','size','min','toDisposable','/universer-api/license/formula/limit/start','disableLocalCache','InsertRangeMoveDownCommandId','COMPLETION_FINISHED','LOCAL_CACHE_INTERVAL_KEY','_univerInstanceService','getUniverSheetInstance','_messageService','/run/','_clearOtherTimers','_color','location','top','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','APPLY_NON_SEQUENTIAL_REVISION','collaboration.closeRoom','0\x200\x2016\x2016','_lastResponseTimestamp','_handleHeartbeatEvent','ENTITLE_NEED_BILLING_ADDRESS','YUUMI_ALL_TABLES_IS_INVALID','RECT','endRow','_refreshCollabCursors','endColumn','RemoveColCommandId','code','0\x200\x2017\x2016','imageSourceType','purple.300','setActiveRange','Inject','collab-text-range-','InsertRangeMoveRightCommandId','collabStatus.conflict','_dataLoaderService','makeDirty','jsx','_createSocketURL','ENSURE_SNAPSHOT_EXECUTION','split','url(#off-line-icon_clip0_910_343)','transformRemoteChangeset','APPLY_REJECT','then','USERS_LEAVE','get','handleIRemoveCol','_currentUsage','_onCursorDelete','getColorFromTheme','parseInt','REDEMPTION_CODE_FULLY_REDEEMED','SheetSkeletonManagerService','1em','_entityInit$','serializeRangeWithSheet','currentUsage','getCoordByCell','SetTextSelectionsOperation','fromEventSubject','subscribe','_initResize','DisposableCollection','CURRENT_STATUS_CANNOT_OPERATE','_cursor','EMAIL_HAS_BEEN_BOUND','debounce','MoveRangeCommandId','_drawRectRange','LICENSE_MAX_UNITS_EXCEEDED','_session','INVALID_ARGUMENT','distinctUntilChanged','INVALID_INVITE_CODE','current','_revisionService','onMouseMove','UNAUTHENTICATED','startsWith','UniverCollaborationClientUIPlugin','getUnit','getMemberID','getConfig','Loading','application/json','getUndoRedoMutationParamsCache','clearTimeout','href','getTypeOfUnitDisposed$','CollaborationController','_logService','asObservable','EffectRefRangId','addClipboardHook','RxDisposable','merge','_scene','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','all','_drawTextRange','width','ENTITLE_DUP_SUBSCRIPTION','focused$','collaboration-client.offline-data-not-saved','isTransformMutationFailure','_initDependencies','combineLatest','collabCursorState$','loadUnit','urlChange$','_docSkeleton','SOCKET_FAILED','runOnServer','YUUMI_UNABLE_LOAD_URL','SessionStatus','_memberService','PAYMENT_CHANNEL_NOT_SUPPORT','INVITE_CODE_HAS_BEEN_UES','UNIVER_DOC','DesktopCollaborationStatusDisplayController','connectInjector','transformMutation','fromEvent','mutations','div','getDocRanges','now','getActiveSheet','key','_handleEvent','on-line-icon','WebSocketService','BrowserCollaborationSocketService','subscribeEvent','selection','handleInsertCol','_collabSessionService','JOIN_ROOM_FAILED','debug','_localStorageService','LICENSE_EXPORT_SIZE_EXCEEDED','_drawAnchor','_collabCursorState$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','4332870hrWWBd','Plugin','labelPosition','with','unit','_collabCursorController','CollaborationSocketService','2HkqvIv','transformMutationsWithChangeset','_clearPolling','off-line-icon_clip0_910_343','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_name','replaceState','_cursors','jiqing.500','ICommandService','setItem','INVITE_CODE_REQUIRED','releaseFormulaLimitUrl','SUBMIT_CHANGESET_TIMEOUT','generateRandomId','VIEW_MAIN','string','onCommandExecuted','OTHER_CLIENTS_EDITING','USER_IS_ANONYMOUS','collaboration.single-unit.warning','clearInterval','CHANGESET_REVISION_CONFILICT','isFormulaId','DEFAULT_WS_SESSION_TICKET_URL','next','unitId','registerComponent','SheetCollabCursorShape','DocIMEInputManagerService','drawWith','length','defineProperty','clipPath','APPLY_REVISION_CONFILICT','_anchor','SetFormulaCalculationNotificationMutation','debounceTime','unitID','session.connection-failed','saveImage','session.will-retry','_getSaveTimeout','UnitStatus','post','executionId','find','_onCursorUpdate','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','REDEMPTION_CODE_NOT_STARTED','selections','white','Tooltip','IDocClipboardService','backgroundColor','collab-text-anchor-','_getAnchorBounding','name','send','Subject','_transformPreviousActiveRange','collaboration-client-ui.config','round','runId','event$','REDEMPTION_USER_NOT_ELIGIBLE','_removeCollabCursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_colorIndex','_configService','SetDocZoomRatioOperation','9eetXNI','stageInfo','searchParams','cursorInfo$','CLOSE_ROOM','unload','add','_unitOnClients','_getFormulaLimitStatus','_scheduleHeartbeat','startColumn','complete','getCurrentSelections','LocaleService','color','OTHER_CLIENT_EDITING','NOT_FOUND','url(#$1','save','MessageType','getCollabEntity$','registerRenderModule','RefRangeService','substring','text','attrs','totalFormulasToCalculate','useCallback','_maxFormulaLimit','Error','idSuffix','_removeClearOtherTimer','getSheetId','symbol','DataLoaderService','registerRefRange','_localeService','setTimeout','engine','transformStateCache','setShapeProps','hovered','resize','_render','setAlpha','findNodePositionByCharIndex','CollaborationEvent','delete','_draw','TEXT_RANGE_LAYER_INDEX','REDEMPTION_INVALID_CODE','_send','shareReplay','LOGIN_FAILED','SetFormulaCalculationStartMutation','syncEditingCollabCursor','COLORS','SUCCESS','_startCalculationLimit','Injector','CollaborationUIEventId','transformSelections','pluginName','_cachedData','useDependency','reconnect','FormulaExecuteStageType','formula.calculation.unable','getCurrentUnitForType','createInstance','assign','_initCommandInterceptor','REDEMPTION_CODE_INACTIVE','ONLINE','15576187DMBocY','_status$','throttleTime','path','onPointerLeave$','DeleteRangeMoveLeftCommandId','APPLY_DUPLICATED','NodePositionConvertToRectRange','LICENSE_IMPORT_SIZE_EXCEEDED','CONNECTOR_DATA_TOO_LARGE','getValue','ENTITLE_INSUFFICIENT_QUOTA','_taskIds','result','cursorInfo','INotificationService','getItem','TOO_MANY_REQUESTS','dirtyRanges','triggerDblclick','YUUMI_CONNECTOR_URL_NOT_FOUND','http://www.w3.org/2000/svg','_refRangeService','disposeWithMe','_colorAssignService','START_CALCULATION','deepClone','_anchorDot','entries','UPDATE_CURSOR','_httpService','CollaborationStatus','trim','NO_OTHER_CLIENTS_EDITING','onPointerMove$','session.collaboration-timeout','loadOfflineData','_updateCollabCursors','restore','6442758KcrenH','ticket','_selfUnitIDs','popstate','font','YUUMI_NO_CUBOID_FOR_QUESTION','SNAPSHOT_INVALID_SNAPSHOT','setConfig','_injector','closePath','evenodd','_pollingInterval','_transformUndoRedoStack','pipe','CollaborationSessionService','mergeOverrideWithDependencies','SHEET_VIEWPORT_KEY','IUIPartsService','sheetID','USER_NOT_FOUND','_context','_notificationService','_online','search','transform','Disposable','MOBILE_VERIFY_CODE_MISMATCH','Workbook','IURLService','setStateCache','_lastPointer','exhaustSavingTask','filter','hide','shift','toString','roomMembers$','_docSkeletonManagerService','CONFLICT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','startRow','IBeforeCloseService','init','transformByState','_handleJoinEvent','INVITE_CODE_ALREADY_BOUND','Success','ColorKit','_labelPosition','_cursorShapes','range','_id','#FFF','_handleHover','_textBubble','lineTo','column','handleDeleteRangeMoveUp','Failed','dispose','toStringTag','768605EWcLtO','onLocalMutation','data','_disabled','red.300','_transformHistoryAndStateStack','getSkeleton','body','Shape','getOwnPropertyDescriptor','green.600','tag','Unknown\x20user','handleInsertRangeMoveDown','_docTransformSelectionsService','executeCommand','DOC_RANGE_TYPE','uni.network.url-service','CollaborationUIEventService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','useObservable','_setupBeforeClosingHandler','saveOfflineData','xlink:href','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','ACTIVE_UNIT_EVENT_CHANNEL','unshift','_saveCache','1541001Wwkofm','CollaborationDataLoaderController','registerBeforeClose','1439889jGbEZH','eventID','_range','parse','clsx','currentTheme$','isArray','_setupSubUnitSync','disposeUnit','getRenderById','createSocket','origin','_cursorInfo$','storage','ILogService','createIdentifier','runRefRangeMutations','isTransformMutationsWithChangesetSuccess','5FvkoXL','_roomMembers$','UNDEFINED','YUUMI_URL_COL_OUT_OF_RANGE','getTypeOfUnitAdded$','Warning','getCellPositionByOffset','8PtDJHW','_backgroundColor','_startSheetCollabCursor','_toggleOnline','ENTITLE_CHAT_LIMIT_EXCEED','_heartbeatTimer','Vector2','_collaborationUIEventService','_getSheetObject','Rect','currentSkeleton$','_beforeCloseService','_entities','editingUnit','getUnhiddenWorksheets','replaceDocRanges','REDEMPTION_USER_REDEEM_TIMES_EXCEED','SOCKET_FAILED_RETRY','YUUMI_AI_RUN_FAILED','m2Prime','_hovered','history','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ERROR_AGAIN','arc','handleInsertRangeMoveRight','off-line-icon','stringify','_onRefRangeChange','_getMergeRange','AWAITING_WITH_PENDING','_docClipboardService','OFFLINE','includes','_syncEditingCollabCursorService','skeleton','YUUMI_RATE_OVER_LIMIT','_uiPartsService','ISnapshotServerService','RevisionService','values','functionsExecutedState','UNIVER_SHEET','error','RemoteUniscriptService','_themeService','Module','_toggleOffline','getStateCache','transformIMECache','Tools','InsertColCommandId','beforeCommandExecuted','forwardRef','sessionTicket','bottom','params','getCollabCursors$','defIds','handleIRemoveRow','FromArray','show','type','getRangePointData','children','univer-mr-2\x20univer-flex\x20univer-text-xl','formula.calculation.waiting','_ensureSubject','override','entityInit$','stage','blue.400','AUTHORIZE_CODE_ILLEGAL','collabStatus.syncing','row','ILocalStorageService','LICENSE_DISTRO_REJECTED','random','replace','_hideTimer','onPointerEnter$','_assignedColors','ENTITLE_REPORT_LIMIT_EXCEED','getOffsetConfig','_sheetSkeletonManagerService','DocCollaborationEntity','colorChannel1','assignAColorForMemberID','ranges','fillRule','collabStatus.fetchMiss','_updateSubUnitFromURLParams','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','from','/universer-api/license/formula/limit/status','black','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','contains','DATA_SOURCE_TOO_LARGE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getVpScrollXYInfoByPosToVp','ALREADY_EXISTS','map','_initStatusComponent','getColor','M0\x200H16V16H0z','PENDING','/universer-api/license/formula/limit/done','_getSessionTicket','fill','PERMISSION_DENIED','_shapes','...','_initCommandExecutedListener','_showGuardMessage','setParam','getActiveRange','fillText','RichTextEditingMutation','_docTransformStateCacheService','_urlService','pushState','handleDeleteRangeMoveLeft','AWAITING','MOBILE_HAS_BEEN_BOUND','USER_NOT_INVITED_CODE','_setFormulaLimitStatus','displayName','_docTransformIMECacheService','_startDocCollabCursor','doc.mutation.rich-text-editing','getMember','deserializeRangeWithSheet','measureText','_unitStatus','handleInsertRow','actions','_getScale','[CollaborationDataLoaderController]','saveTaskMap','SNAPSHOT_HAS_BEEN_REMOVED','DeleteRangeMoveUpCommandId','11988816kqLcdb','_updateLocalCursor','BehaviorSubject','textRanges','_checkAndWaitForCalculationPermission','_saveTaskMap','_scheduleSaving','_localCacheService','?taskId=','push','permission.title','mask','sessionStatus$','InsertRowCommandId','forEach','FormulaExecutedStateType','getViewport','currentColor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','RemoveRowCommandId','toRgbString','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','touchDependencies','UniverCollaborationClientPlugin','setInterval','createElement','IMessageService','limitInfo','enableLocalCache','SetWorksheetActivateCommand','IRenderManagerService','_handleLeaveEvent','setUndoRedoMutationParamsCache','getCurrentRevOfUnit','ILocalCacheService','svg','_initEntityListener','_hover','_config','IUniverInstanceService','dispose$','_registerDependencies','url(#on-line-icon_clip0_910_349)','_scheduleClearOtherTimer','set','_commandService','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_ASYNCIO_CANCELLED','moveTo','_registerRenderDependencies','getParam','fillStyle','YUUMI_SUBSCRIPTION_NOT_FOUND','formula.calculation.started','_docSyncEditingCollabCursorService','subunit','defs','CanceledError','getRelativeToViewportCoord','addHandlerCallback','none','WECHAT_HAS_BEEN_BOUND','m1Prime','getFocusedUnit','newValue','height','DocSelectionManagerService','UniverInstanceType','_docStateChangeManagerService','_eventUnsubscribe','whenReady','unsubscribe','ITransformService','addObject','WebURLService','ThemeService','undoState','switchMap','redoState','UNRECOGNIZED','_initEvent','_applyCommand','useRef','_init','activeSheet$'];_0x11bd=function(){return _0x4e4299;};return _0x11bd();}
|