@univerjs-pro/collaboration-client-ui 0.10.7-nightly.202509130640 → 0.10.7-nightly.202509130703
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/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x410e2f=_0x346c;(function(_0x6c6ef3,_0xd9ae64){const _0x3f0b7d=_0x346c,_0x1bb5ea=_0x6c6ef3();while(!![]){try{const _0x2b2ae8=parseInt(_0x3f0b7d(0x384))/0x1+-parseInt(_0x3f0b7d(0x373))/0x2*(parseInt(_0x3f0b7d(0x39e))/0x3)+-parseInt(_0x3f0b7d(0x357))/0x4+parseInt(_0x3f0b7d(0x36b))/0x5*(-parseInt(_0x3f0b7d(0x2fa))/0x6)+-parseInt(_0x3f0b7d(0x287))/0x7+parseInt(_0x3f0b7d(0x1e0))/0x8*(parseInt(_0x3f0b7d(0x2f3))/0x9)+-parseInt(_0x3f0b7d(0x262))/0xa*(-parseInt(_0x3f0b7d(0x31a))/0xb);if(_0x2b2ae8===_0xd9ae64)break;else _0x1bb5ea['push'](_0x1bb5ea['shift']());}catch(_0x2cdceb){_0x1bb5ea['push'](_0x1bb5ea['shift']());}}}(_0x3ce9,0x3cce0));var xt=Object['defineProperty'],Bt=(_0x13a9a6,_0x44996f,_0x13d957)=>_0x44996f in _0x13a9a6?xt(_0x13a9a6,_0x44996f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13d957}):_0x13a9a6[_0x44996f]=_0x13d957,_=(_0x3ec88f,_0x3e9b8a,_0x2fc896)=>Bt(_0x3ec88f,typeof _0x3e9b8a!=_0x410e2f(0x1e9)?_0x3e9b8a+'':_0x3e9b8a,_0x2fc896);import{jsx as _0x587811,jsxs as _0x4a3d88}from'react/jsx-runtime';import{CollaborationStatus as _0x144a96,CollaborationSessionService as _0x27b06e,CollaborationController as _0x16a1d8,DataLoaderService as _0x4a3d38,MemberService as _0x2de383,SessionStatus as _0xda1698,ILocalCacheService as _0x4642f3,CollaborationUIEventService as _0x22786c,CollaborationUIEventId as _0x1cd5f0,DocCollaborationEntity as _0x81fb95,getLocalCacheKey as _0x30319c,LOCAL_CACHE_INTERVAL as _0x10e8a8,LOCAL_CACHE_INTERVAL_KEY as _0x75bb8c,UniverCollaborationClientPlugin as _0x4b8973,CollaborationSocketService as _0x531b9b,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x46d8ad,DEFAULT_WS_SESSION_TICKET_URL as _0x11b52e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4e5fea,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4a5426,UnitStatus as _0x57a1f8}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x44d7c9,IUniverInstanceService as _0x3d0baf,Inject as _0x49cbca,Injector as _0x462b5d,Disposable as _0x1adca6,createIdentifier as _0x47fad1,ILogService as _0x145fcd,ICommandService as _0x1667b9,Optional as _0x13537f,RxDisposable as _0x37d099,Workbook as _0x5ce441,DOC_RANGE_TYPE as _0x12472c,debounce as _0x29e830,Rectangle as _0x582f57,DisposableCollection as _0x4b8f37,toDisposable as _0x4a56c0,UniverInstanceType as _0xaed918,generateRandomId as _0x210b2e,COLORS as _0x195f36,ColorKit as _0x29e1bb,ThemeService as _0x59925e,fromEventSubject as _0x4979aa,Tools as _0x1ad9e2,CommandType as _0x435bf4,IConfigService as _0x3087ff,ILocalStorageService as _0xe71238,DependentOn as _0x3e2d4a,Plugin as _0x44cc20,merge as _0x571f3b,registerDependencies as _0x10fc54,mergeOverrideWithDependencies as _0x4c3d6e,touchDependencies as _0x476c54}from'@univerjs/core';import{useObservable as _0x294a4e,useDependency as _0x3a0ebb,IUIPartsService as _0x555816,BuiltInUIPart as _0x38a2c5,connectInjector as _0x5b4318,IBeforeCloseService as _0x3f71e7,IMessageService as _0x39215b,INotificationService as _0x3c1b12}from'@univerjs/ui';import{BehaviorSubject as _0x75828e,switchMap as _0x22e5cd,of as _0xa797d8,takeUntil as _0x5d2f87,debounceTime as _0x49a400,Subject as _0x11586d,filter as _0xf4476b,merge as _0x3c36fd,combineLatest as _0x444b4a,fromEvent as _0x152d98,shareReplay as _0x1ec7f1,mapTo as _0x39327b,distinctUntilChanged as _0x3d68fd}from'rxjs';import{Tooltip as _0x4f599c,clsx as _0x5be65f,MessageType as _0x2ae62e}from'@univerjs/design';import{forwardRef as _0x60ac72,useRef as _0x439027,createElement as _0xcf8062,useCallback as _0x4de5d6}from'react';import{IRemoteInstanceService as _0xcf8a8f}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x4a3951,RefRangeService as _0x46a3d3,SetSelectionsOperation as _0x2d5125,SheetsSelectionsService as _0x14e03f,EffectRefRangId as _0x196428,handleIRemoveRow as _0x203d03,handleIRemoveCol as _0x97f2f9,handleMoveRange as _0x44dcd6,handleInsertRow as _0x3475c7,handleInsertRangeMoveRight as _0x2b9436,handleInsertRangeMoveDown as _0x503e4a,handleInsertCol as _0x278e42,handleDeleteRangeMoveUp as _0x38b9e5,handleDeleteRangeMoveLeft as _0x202bf7,runRefRangeMutations as _0x9692ac}from'@univerjs/sheets';import{Shape as _0x4d6fa1,Rect as _0x3ac2f9,getColor as _0x1a2041,RegularPolygon as _0xb38387,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5cb7be,Vector2 as _0x2e4f9c,SHEET_VIEWPORT_KEY as _0x40542a,IRenderManagerService as _0x129b23}from'@univerjs/engine-render';import{ISocketService as _0x5e861b,WebSocketService as _0x266841,HTTPService as _0x203091}from'@univerjs/network';import{IDocClipboardService as _0x34fd06,NodePositionConvertToCursor as _0x3f9ce,NodePositionConvertToRectRange as _0x53373f,TEXT_RANGE_LAYER_INDEX as _0x4dbd9c,SetDocZoomRatioOperation as _0x205017,DocIMEInputManagerService as _0x1c10a4,DocStateChangeManagerService as _0x48efb8}from'@univerjs/docs-ui';import{IImageIoService as _0x292224}from'@univerjs/drawing';import{ITransformService as _0x33cdb8,CollaborationEvent as _0x514bf4,isTransformMutationFailure as _0x335f80,isTransformMutationsWithChangesetSuccess as _0x17211a,RevisionService as _0x4a04e8,ISnapshotServerService as _0x532e6c}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3937b2,RichTextEditingMutation as _0x39fbbc,DocSelectionManagerService as _0x38b29d,DocSkeletonManagerService as _0x344234}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5261dd,serializeRangeWithSheet as _0x3b21df}from'@univerjs/engine-formula';import{map as _0xf928f6,filter as _0x3b581e,throttleTime as _0x58a74d,takeUntil as _0x2a77c0,switchMap as _0x2c6dd7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5c14fa,getCoordByCell as _0xe0dde6,getSheetObject as _0x119256}from'@univerjs/sheets-ui';var v=function(){const _0x4969d9=_0x410e2f;return v=Object[_0x4969d9(0x2c0)]||function(_0x32262a){const _0x4f5428=_0x4969d9;for(var _0x8b58e1,_0x60593a=0x1,_0x1ed6be=arguments[_0x4f5428(0x239)];_0x60593a<_0x1ed6be;_0x60593a++){_0x8b58e1=arguments[_0x60593a];for(var _0x233a67 in _0x8b58e1)Object['prototype']['hasOwnProperty'][_0x4f5428(0x2e6)](_0x8b58e1,_0x233a67)&&(_0x32262a[_0x233a67]=_0x8b58e1[_0x233a67]);}return _0x32262a;},v[_0x4969d9(0x377)](this,arguments);},ci=function(_0x6e602b,_0x4bfcb5){const _0x2c7797=_0x410e2f;var _0x5bfef5={};for(var _0x18f790 in _0x6e602b)Object['prototype']['hasOwnProperty']['call'](_0x6e602b,_0x18f790)&&_0x4bfcb5[_0x2c7797(0x348)](_0x18f790)<0x0&&(_0x5bfef5[_0x18f790]=_0x6e602b[_0x18f790]);if(_0x6e602b!=null&&typeof Object[_0x2c7797(0x339)]=='function'){for(var _0x19a035=0x0,_0x18f790=Object[_0x2c7797(0x339)](_0x6e602b);_0x19a035<_0x18f790[_0x2c7797(0x239)];_0x19a035++)_0x4bfcb5[_0x2c7797(0x348)](_0x18f790[_0x19a035])<0x0&&Object[_0x2c7797(0x1d1)][_0x2c7797(0x2af)][_0x2c7797(0x2e6)](_0x6e602b,_0x18f790[_0x19a035])&&(_0x5bfef5[_0x18f790[_0x19a035]]=_0x6e602b[_0x18f790[_0x19a035]]);}return _0x5bfef5;},ke=_0x60ac72(function(_0x24b4cb,_0x31b4e4){const _0x30e073=_0x410e2f;var _0xa89247=_0x24b4cb[_0x30e073(0x1fe)],_0x515ad5=_0x24b4cb['id'],_0x5ead43=_0x24b4cb['className'],_0x493b0f=_0x24b4cb[_0x30e073(0x345)],_0x19f62f=ci(_0x24b4cb,['icon','id',_0x30e073(0x385),_0x30e073(0x345)]),_0x1aa938=_0x30e073(0x312)[_0x30e073(0x243)](_0x515ad5,'\x20')[_0x30e073(0x243)](_0x5ead43||'')[_0x30e073(0x32c)](),_0x34991b=_0x439027('_'[_0x30e073(0x243)](hi()));return Rt(_0xa89247,''[_0x30e073(0x243)](_0x515ad5),{'defIds':_0xa89247[_0x30e073(0x26a)],'idSuffix':_0x34991b[_0x30e073(0x28a)]},v({'ref':_0x31b4e4,'className':_0x1aa938},_0x19f62f),_0x493b0f);});function Rt(_0x455212,_0xabda31,_0x510980,_0x2adc53,_0x30d6ba){const _0xeed6b9=_0x410e2f;return _0xcf8062(_0x455212['tag'],v(v({'key':_0xabda31},li(_0x455212,_0x510980,_0x30d6ba)),_0x2adc53),(_i(_0x455212,_0x510980)[_0xeed6b9(0x27d)]||[])[_0xeed6b9(0x36d)](function(_0x10ef8e,_0x101649){const _0x44209b=_0xeed6b9;return Rt(_0x10ef8e,''[_0x44209b(0x243)](_0xabda31,'-')[_0x44209b(0x243)](_0x455212[_0x44209b(0x28c)],'-')['concat'](_0x101649),_0x510980,void 0x0,_0x30d6ba);}));}function li(_0x2a5f6d,_0x49ebb4,_0x1d96b6){const _0x3f6659=_0x410e2f;var _0x339150=v({},_0x2a5f6d[_0x3f6659(0x204)]);_0x1d96b6!=null&&_0x1d96b6[_0x3f6659(0x281)]&&_0x339150[_0x3f6659(0x21e)]===_0x3f6659(0x281)&&(_0x339150[_0x3f6659(0x21e)]=_0x1d96b6[_0x3f6659(0x281)]),_0x2a5f6d[_0x3f6659(0x28c)]===_0x3f6659(0x202)&&_0x339150['id']&&(_0x339150['id']=_0x339150['id']+_0x49ebb4[_0x3f6659(0x2bc)]),Object['entries'](_0x339150)[_0x3f6659(0x29f)](function(_0x58f142){const _0x22dc01=_0x3f6659;var _0x157762=_0x58f142[0x0],_0x40788a=_0x58f142[0x1];_0x157762===_0x22dc01(0x202)&&typeof _0x40788a==_0x22dc01(0x2c1)&&(_0x339150[_0x157762]=_0x40788a[_0x22dc01(0x322)](/url\(#(.*)\)/,'url(#$1'[_0x22dc01(0x243)](_0x49ebb4['idSuffix'],')')));});var _0x4c83f2=_0x49ebb4[_0x3f6659(0x26a)];return!_0x4c83f2||_0x4c83f2[_0x3f6659(0x239)]===0x0||(_0x2a5f6d['tag']===_0x3f6659(0x1ae)&&_0x339150['xlink:href']&&(_0x339150[_0x3f6659(0x259)]=_0x339150[_0x3f6659(0x259)]+_0x49ebb4[_0x3f6659(0x2bc)]),Object['entries'](_0x339150)[_0x3f6659(0x29f)](function(_0x30de94){const _0x2f0908=_0x3f6659;var _0x561c78=_0x30de94[0x0],_0xba5b26=_0x30de94[0x1];typeof _0xba5b26==_0x2f0908(0x2c1)&&(_0x339150[_0x561c78]=_0xba5b26['replace'](/url\(#(.*)\)/,_0x2f0908(0x279)['concat'](_0x49ebb4[_0x2f0908(0x2bc)],')')));})),_0x339150;}function _i(_0x57455c,_0x44a111){const _0x2dffa5=_0x410e2f;var _0x45a48f,_0x2140e3=_0x44a111[_0x2dffa5(0x26a)];return!_0x2140e3||_0x2140e3[_0x2dffa5(0x239)]===0x0?_0x57455c:_0x57455c[_0x2dffa5(0x28c)]===_0x2dffa5(0x253)&&(!((_0x45a48f=_0x57455c['children'])===null||_0x45a48f===void 0x0)&&_0x45a48f[_0x2dffa5(0x239)])?v(v({},_0x57455c),{'children':_0x57455c[_0x2dffa5(0x27d)]['map'](function(_0x26b189){const _0x387bc3=_0x2dffa5;return typeof _0x26b189[_0x387bc3(0x204)]['id']=='string'&&_0x2140e3&&_0x2140e3[_0x387bc3(0x20d)](_0x26b189[_0x387bc3(0x204)]['id'])?v(v({},_0x26b189),{'attrs':v(v({},_0x26b189['attrs']),{'id':_0x26b189[_0x387bc3(0x204)]['id']+_0x44a111[_0x387bc3(0x2bc)]})}):_0x26b189;})}):_0x57455c;}function hi(){const _0x2795a8=_0x410e2f;return Math['random']()[_0x2795a8(0x363)](0x24)['substring'](0x2,0x8);}ke['displayName']=_0x410e2f(0x372);var ui={'tag':'svg','attrs':{'xmlns':_0x410e2f(0x268),'fill':'none','viewBox':_0x410e2f(0x24c),'width':_0x410e2f(0x32e),'height':_0x410e2f(0x32e)},'children':[{'tag':'g','attrs':{'clipPath':_0x410e2f(0x217)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':_0x410e2f(0x200),'strokeLinejoin':_0x410e2f(0x200),'strokeWidth':1.2}}]},{'tag':_0x410e2f(0x253),'attrs':{},'children':[{'tag':_0x410e2f(0x390),'attrs':{'id':_0x410e2f(0x335)},'children':[{'tag':_0x410e2f(0x346),'attrs':{'fill':_0x410e2f(0x1e2),'d':_0x410e2f(0x1b6)}}]}]}],'defIds':[_0x410e2f(0x335)]},Dt=_0x60ac72(function(_0x22dfef,_0x48a761){return _0xcf8062(ke,Object['assign']({},_0x22dfef,{'id':'off-line-icon','ref':_0x48a761,'icon':ui}));});Dt[_0x410e2f(0x219)]=_0x410e2f(0x25a);var di={'tag':_0x410e2f(0x31b),'attrs':{'xmlns':_0x410e2f(0x268),'fill':_0x410e2f(0x305),'viewBox':_0x410e2f(0x32b),'width':_0x410e2f(0x32e),'height':_0x410e2f(0x32e)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x410e2f(0x346),'attrs':{'stroke':'currentColor','d':_0x410e2f(0x277),'strokeLinecap':_0x410e2f(0x200),'strokeLinejoin':_0x410e2f(0x200),'strokeWidth':1.2}}]},{'tag':_0x410e2f(0x253),'attrs':{},'children':[{'tag':_0x410e2f(0x390),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x410e2f(0x346),'attrs':{'fill':_0x410e2f(0x1e2),'d':_0x410e2f(0x1b6),'transform':_0x410e2f(0x2e8)}}]}]}],'defIds':[_0x410e2f(0x1e8)]},Nt=_0x60ac72(function(_0x43095d,_0x356021){const _0x588fdb=_0x410e2f;return _0xcf8062(ke,Object['assign']({},_0x43095d,{'id':_0x588fdb(0x364),'ref':_0x356021,'icon':di}));});Nt[_0x410e2f(0x219)]=_0x410e2f(0x31d);function fi(_0x529dce){const _0x35dafc=_0x410e2f;switch(_0x529dce){case _0x144a96['OFFLINE']:return _0x35dafc(0x212);case _0x144a96[_0x35dafc(0x1b9)]:return _0x35dafc(0x2e9);case _0x144a96[_0x35dafc(0x2bb)]:return'collabStatus.fetchMiss';case _0x144a96['NOT_COLLAB']:return _0x35dafc(0x1ce);case _0x144a96[_0x35dafc(0x2a3)]:case _0x144a96[_0x35dafc(0x38b)]:return _0x35dafc(0x34f);case _0x144a96[_0x35dafc(0x25d)]:case _0x144a96[_0x35dafc(0x258)]:return _0x35dafc(0x28d);}}function Si(_0x4604f2){const _0x4017c7=_0x410e2f,{status$:_0x43de89}=_0x4604f2,_0x262b2e=_0x294a4e(_0x43de89,_0x144a96[_0x4017c7(0x39a)]),_0x5218a0=_0x3a0ebb(_0x44d7c9),_0x1fbfc1=_0x3a0ebb(_0x27b06e),_0x1f6236=_0x262b2e!==_0x144a96['OFFLINE'],_0x4e8ed9=_0x5218a0['t'](fi(_0x262b2e)),_0x205f85=_0x1f6236?_0x587811(Nt,{}):_0x587811(Dt,{}),_0x233dea=_0x4de5d6(()=>{_0x1f6236||_0x1fbfc1['reconnect']();},[_0x1f6236,_0x1fbfc1]);function _0x196781(){const _0x35fcb0=_0x4017c7;return _0x4a3d88(_0x35fcb0(0x299),{'className':_0x35fcb0(0x308),'onClick':_0x233dea,'children':[_0x587811(_0x35fcb0(0x299),{'className':_0x5be65f(_0x35fcb0(0x2d2),{'univer-text-green-500':_0x1f6236,'univer-text-red-500':!_0x1f6236}),'children':_0x205f85}),_0x587811(_0x35fcb0(0x299),{'className':_0x35fcb0(0x213),'children':_0x4e8ed9})]});}return _0x1f6236?_0x196781():_0x587811(_0x4f599c,{'title':_0x5218a0['t'](_0x4017c7(0x2ae)),'children':_0x196781()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0x280b6c,_0x2fe7ad,_0x332262,_0xab5128)=>{for(var _0x6ef16a=_0xab5128>0x1?void 0x0:_0xab5128?mi(_0x2fe7ad,_0x332262):_0x2fe7ad,_0x33584e=_0x280b6c['length']-0x1,_0x1fcd96;_0x33584e>=0x0;_0x33584e--)(_0x1fcd96=_0x280b6c[_0x33584e])&&(_0x6ef16a=_0x1fcd96(_0x6ef16a)||_0x6ef16a);return _0x6ef16a;},q=(_0x147c69,_0x2f0498)=>(_0x436055,_0x20bcd2)=>_0x2f0498(_0x436055,_0x20bcd2,_0x147c69);let se=class extends _0x1adca6{constructor(_0x30e88e,_0x284d5b,_0x5951f7,_0x1d7b02){const _0x4c1c7c=_0x410e2f;super(),_(this,_0x4c1c7c(0x36c),new _0x75828e(_0x144a96['NOT_COLLAB'])),(this[_0x4c1c7c(0x1cb)]=_0x30e88e,this[_0x4c1c7c(0x20a)]=_0x284d5b,this[_0x4c1c7c(0x1aa)]=_0x5951f7,this[_0x4c1c7c(0x266)]=_0x1d7b02,this[_0x4c1c7c(0x371)](),this['_initStatusListener']());}[_0x410e2f(0x293)](){const _0x20dccb=_0x410e2f;this['disposeWithMe'](this[_0x20dccb(0x1cb)][_0x20dccb(0x1ac)][_0x20dccb(0x2f5)](_0x22e5cd(()=>{const _0x1508f9=_0x20dccb,_0x34af04=this[_0x1508f9(0x1cb)][_0x1508f9(0x2a9)]();return _0x34af04?this[_0x1508f9(0x1aa)]['getCollabEntity$'](_0x34af04[_0x1508f9(0x31f)]()):_0xa797d8(null);}),_0x22e5cd(_0x22633d=>_0x22633d?_0x22633d[_0x20dccb(0x38d)]:_0xa797d8(_0x144a96[_0x20dccb(0x39a)])))[_0x20dccb(0x2a0)](_0x1c7f17=>{const _0x5655f8=_0x20dccb;this[_0x5655f8(0x36c)][_0x5655f8(0x21d)](_0x1c7f17);}));}[_0x410e2f(0x371)](){const _0xde9e10=_0x410e2f;this[_0xde9e10(0x245)](this[_0xde9e10(0x266)][_0xde9e10(0x2de)](_0x38a2c5[_0xde9e10(0x2f9)],()=>_0x5b4318(vi({'status$':this[_0xde9e10(0x36c)][_0xde9e10(0x221)]()}),this[_0xde9e10(0x20a)])));}};se=Ii([q(0x0,_0x3d0baf),q(0x1,_0x49cbca(_0x462b5d)),q(0x2,_0x49cbca(_0x16a1d8)),q(0x3,_0x555816)],se);function vi(_0x36e7f7){const {status$:_0xe70c4c}=_0x36e7f7;return function(){return _0x587811(Si,{'status$':_0xe70c4c});};}const Ut=_0x47fad1(_0x410e2f(0x2df));var gi=Object[_0x410e2f(0x38f)],pi=(_0x4151f1,_0x278201,_0x50d70a,_0x1595ce)=>{for(var _0x400110=_0x1595ce>0x1?void 0x0:_0x1595ce?gi(_0x278201,_0x50d70a):_0x278201,_0x5b378c=_0x4151f1['length']-0x1,_0x5d20e5;_0x5b378c>=0x0;_0x5b378c--)(_0x5d20e5=_0x4151f1[_0x5b378c])&&(_0x400110=_0x5d20e5(_0x400110)||_0x400110);return _0x400110;},G=(_0x262d28,_0x2f23c5)=>(_0x10d373,_0x59c39f)=>_0x2f23c5(_0x10d373,_0x59c39f,_0x262d28);let ie=class extends _0x37d099{constructor(_0x44dc98,_0x47cf43,_0x32c98c,_0x7f07c7,_0x37b153){const _0x13f53f=_0x410e2f;super(),this[_0x13f53f(0x235)]=_0x44dc98,this[_0x13f53f(0x379)]=_0x47cf43,this[_0x13f53f(0x370)]=_0x32c98c,this['_dataLoaderService']=_0x7f07c7,_0x37b153?_0x37b153==null||_0x37b153[_0x13f53f(0x2d5)]()[_0x13f53f(0x241)](()=>this[_0x13f53f(0x2cf)]()):(this['_logService'][_0x13f53f(0x1b8)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x13f53f(0x2cf)]());}async[_0x410e2f(0x2cf)](){const _0x534276=_0x410e2f,_0x10a491=this[_0x534276(0x235)][_0x534276(0x1d5)](_0x534276(0x1f1)),_0x432f8b=this[_0x534276(0x235)][_0x534276(0x1d5)]('type'),_0x54d404=this[_0x534276(0x235)][_0x534276(0x1d5)](_0x534276(0x286));if(!_0x10a491||!_0x432f8b){this[_0x534276(0x379)][_0x534276(0x1b8)](_0x534276(0x2d9),_0x534276(0x307));return;}const _0x53551a=await this['_dataLoaderService']['loadUnit'](_0x10a491,Number(_0x432f8b),_0x54d404);_0x53551a&&_0x53551a instanceof _0x5ce441&&this['_setupSubUnitSync'](_0x53551a);}async[_0x410e2f(0x24f)](_0x46e297){const _0x3900e3=_0x410e2f;await this['_updateSubUnitFromURLParams'](_0x46e297),_0x46e297[_0x3900e3(0x383)][_0x3900e3(0x2f5)](_0x5d2f87(this[_0x3900e3(0x296)]))[_0x3900e3(0x2a0)](_0x1eed85=>{_0x1eed85&&this['_updateURLWithCurrentState'](_0x1eed85);}),this[_0x3900e3(0x235)][_0x3900e3(0x254)]['pipe'](_0x5d2f87(this[_0x3900e3(0x296)]))[_0x3900e3(0x2a0)](()=>this['_updateSubUnitFromURLParams'](_0x46e297));}['_updateURLWithCurrentState'](_0x4a301c,_0x41b410=!0x1){const _0x5b5f6e=_0x410e2f,_0x192e74=this[_0x5b5f6e(0x235)][_0x5b5f6e(0x1d5)]('subunit');_0x4a301c['getSheetId']()!==_0x192e74&&this[_0x5b5f6e(0x235)][_0x5b5f6e(0x2fd)](_0x5b5f6e(0x286),_0x4a301c[_0x5b5f6e(0x1fb)](),_0x41b410);}async[_0x410e2f(0x1e7)](_0x16ea54){const _0x3e01cb=_0x410e2f;var _0x2dbee3;const _0x5a2886=this[_0x3e01cb(0x235)][_0x3e01cb(0x1d5)](_0x3e01cb(0x286));if(!_0x5a2886||!_0x16ea54[_0x3e01cb(0x2c5)](_0x5a2886)){const _0x482f88=_0x16ea54[_0x3e01cb(0x388)]()[0x0],_0x221b68=_0x16ea54[_0x3e01cb(0x2c5)](_0x482f88);if(!_0x221b68)return;this[_0x3e01cb(0x23c)](_0x221b68,!0x0),await this['_commandService'][_0x3e01cb(0x201)](_0x4a3951['id'],{'unitId':_0x16ea54[_0x3e01cb(0x31f)](),'subUnitId':_0x482f88});return;}((_0x2dbee3=_0x16ea54[_0x3e01cb(0x37c)]())==null?void 0x0:_0x2dbee3[_0x3e01cb(0x1fb)]())!==_0x5a2886&&await this[_0x3e01cb(0x370)][_0x3e01cb(0x201)](_0x4a3951['id'],{'unitId':_0x16ea54[_0x3e01cb(0x31f)](),'subUnitId':_0x5a2886});}};ie=pi([G(0x0,Ut),G(0x1,_0x145fcd),G(0x2,_0x1667b9),G(0x3,_0x49cbca(_0x4a3d38)),G(0x4,_0x13537f(_0xcf8a8f))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x4c9e08,_0x310659,_0x1e1e44,_0x344f31)=>{const _0x14bb06=_0x410e2f;for(var _0x2fa3ab=_0x344f31>0x1?void 0x0:_0x344f31?Ci(_0x310659,_0x1e1e44):_0x310659,_0x1c84e=_0x4c9e08[_0x14bb06(0x239)]-0x1,_0x22143f;_0x1c84e>=0x0;_0x1c84e--)(_0x22143f=_0x4c9e08[_0x1c84e])&&(_0x2fa3ab=_0x22143f(_0x2fa3ab)||_0x2fa3ab);return _0x2fa3ab;},Je=(_0x32290f,_0x30c64d)=>(_0x4df821,_0x539010)=>_0x30c64d(_0x4df821,_0x539010,_0x32290f);let Ne=class extends _0x37d099{constructor(_0x4e97b8,_0x1bbe65){const _0x34e0bc=_0x410e2f;super(),this[_0x34e0bc(0x35b)]=_0x4e97b8,this['_imageIoService']=_0x1bbe65,this[_0x34e0bc(0x2cf)]();}[_0x410e2f(0x2cf)](){const _0x293fe4=_0x410e2f,_0x5af979=this;this[_0x293fe4(0x245)](this['_docClipboardService'][_0x293fe4(0x32f)]({'onBeforePasteImage':async _0x2f16c0=>{const _0x1d59e8=_0x293fe4,_0x100643=await _0x5af979[_0x1d59e8(0x1a6)][_0x1d59e8(0x220)](_0x2f16c0);return _0x100643?{'source':_0x100643[_0x1d59e8(0x275)],'imageSourceType':_0x100643[_0x1d59e8(0x2e5)]}:null;}}));}};Ne=Ei([Je(0x0,_0x34fd06),Je(0x1,_0x292224)],Ne);const Ze=[_0x410e2f(0x33f),_0x410e2f(0x272),_0x410e2f(0x26d),_0x410e2f(0x22a),_0x410e2f(0x226),'yellow.400'];class He extends _0x1adca6{constructor(){const _0x1fd349=_0x410e2f;super(...arguments),_(this,_0x1fd349(0x2c7),new Map()),_(this,_0x1fd349(0x32d),0x0);}[_0x410e2f(0x1f9)](_0x2e76ae){const _0x2a521d=_0x410e2f;if(this[_0x2a521d(0x2c7)]['has'](_0x2e76ae))return this['_assignedColors']['get'](_0x2e76ae);const _0x35cc51=Ze[this[_0x2a521d(0x32d)]];return this[_0x2a521d(0x32d)]=(this[_0x2a521d(0x32d)]+0x1)%Ze[_0x2a521d(0x239)],this[_0x2a521d(0x2c7)][_0x2a521d(0x250)](_0x2e76ae,_0x35cc51),_0x35cc51;}}function Mt(_0x2ead94){const _0x4bc914=_0x410e2f;let _0xe84575='';for(const _0x45e87c of _0x2ead94){const {startOffset:_0x2e6a22,endOffset:_0x2742e0,isActive:_0x4cf1eb,rangeType:_0x131340,segmentId:_0x3e41f4,segmentPage:_0x527215}=_0x45e87c;_0xe84575[_0x4bc914(0x239)]&&(_0xe84575+=','),_0xe84575+=_0x2e6a22+':'+_0x2742e0+':'+(_0x4cf1eb?'1':'0')+':'+_0x131340+':'+_0x3e41f4+':'+_0x527215;}return _0xe84575;}function Oi(_0x5d05af){const _0x31c3e6=_0x410e2f,_0x94f251=_0x5d05af['split'](','),_0x56c07d=[];for(const _0x3b6419 of _0x94f251){const [_0x4d0350,_0x59f37d,_0x35fc1f,_0x17c62d,_0x3e9a97,_0x531100]=_0x3b6419['split'](':');_0x56c07d[_0x31c3e6(0x298)]({'startOffset':Number(_0x4d0350),'endOffset':Number(_0x59f37d),'collapsed':_0x4d0350===_0x59f37d,'isActive':_0x35fc1f==='1','rangeType':_0x17c62d===_0x12472c['TEXT']?_0x12472c[_0x31c3e6(0x1bf)]:_0x12472c[_0x31c3e6(0x397)],'segmentId':typeof _0x3e9a97==_0x31c3e6(0x2c1)?String(_0x3e9a97):'','segmentPage':Number(_0x531100!=null?_0x531100:-0x1)});}return _0x56c07d[_0x31c3e6(0x218)](_0x8a0595=>_0x8a0595['isActive'])||(_0x56c07d[0x0][_0x31c3e6(0x1db)]=!0x0),_0x56c07d;}class Fe extends _0x37d099{constructor(){const _0x333003=_0x410e2f;super(...arguments),_(this,'_collabCursorState$',new _0x75828e(null)),_(this,_0x333003(0x29a),this[_0x333003(0x368)][_0x333003(0x221)]());}[_0x410e2f(0x34a)](_0x1d7ae1){const _0x2fc30f=_0x410e2f,{unitID:_0x3b61cc,memberID:_0x43cac1,textRanges:_0x45166d}=_0x1d7ae1,_0x3380ba=Mt(_0x45166d);if(_0x3380ba==='')return;const _0x5790d9={'unitID':_0x3b61cc,'memberID':_0x43cac1,'selection':_0x3380ba};this[_0x2fc30f(0x368)][_0x2fc30f(0x21d)](_0x5790d9);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x34a029,_0x3f1f45,_0x498d61,_0x37739f)=>{const _0x301577=_0x410e2f;for(var _0x49b824=_0x37739f>0x1?void 0x0:_0x37739f?bi(_0x3f1f45,_0x498d61):_0x3f1f45,_0x3df35e=_0x34a029[_0x301577(0x239)]-0x1,_0x4452d9;_0x3df35e>=0x0;_0x3df35e--)(_0x4452d9=_0x34a029[_0x3df35e])&&(_0x49b824=_0x4452d9(_0x49b824)||_0x49b824);return _0x49b824;},P=(_0x167234,_0x9f1351)=>(_0x2d0860,_0x2ef500)=>_0x9f1351(_0x2d0860,_0x2ef500,_0x167234);const Ri=0x12c,Di=0x64;let Ue=class extends _0x37d099{constructor(_0x92866d,_0x6a70b6,_0x57a2ab,_0x23fa06,_0x5748fe,_0x25abba,_0x24c72d,_0x22fcf2,_0x1b8322){const _0x5892aa=_0x410e2f;super(),_(this,_0x5892aa(0x1cf),!0x1),_(this,_0x5892aa(0x2cf),!0x1),_(this,_0x5892aa(0x323),new _0x75828e(new Map())),_(this,_0x5892aa(0x39b),this['_cursorInfo$']['asObservable']()),_(this,_0x5892aa(0x2c2),new _0x75828e([])),_(this,_0x5892aa(0x278),this['_roomMembers$'][_0x5892aa(0x2f5)](_0x49a400(Ri))),_(this,_0x5892aa(0x246),_0x29e830(_0x21015f=>{const _0x508b9e=_0x5892aa,_0x42151d={'eventID':_0x514bf4[_0x508b9e(0x1b7)],'data':{'unitID':this[_0x508b9e(0x2fb)],'memberID':this[_0x508b9e(0x350)]['getMemberID'](),'selection':Mt(_0x21015f)}};this['_session'][_0x508b9e(0x331)](_0x42151d,this[_0x508b9e(0x2fb)]);},Di)),(this['unitID']=_0x92866d,this[_0x5892aa(0x350)]=_0x6a70b6,this[_0x5892aa(0x20a)]=_0x57a2ab,this[_0x5892aa(0x242)]=_0x23fa06,this['_memberService']=_0x5748fe,this['_syncEditingCollabCursorService']=_0x25abba,this[_0x5892aa(0x1a2)]=_0x24c72d,this[_0x5892aa(0x1cb)]=_0x22fcf2,this[_0x5892aa(0x370)]=_0x1b8322);}get[_0x410e2f(0x248)](){const _0x3993db=_0x410e2f;return this['_cursorInfo$'][_0x3993db(0x2c3)]();}get[_0x410e2f(0x1c5)](){const _0x1e7520=_0x410e2f;return this[_0x1e7520(0x2c2)][_0x1e7520(0x2c3)]();}[_0x410e2f(0x1f7)](){const _0x1efe2b=_0x410e2f;super[_0x1efe2b(0x1f7)](),this[_0x1efe2b(0x323)][_0x1efe2b(0x21d)](new Map()),this[_0x1efe2b(0x323)]['complete'](),this[_0x1efe2b(0x2c2)]['next']([]),this[_0x1efe2b(0x2c2)][_0x1efe2b(0x31e)]();}[_0x410e2f(0x325)](){const _0x5b23cb=_0x410e2f;this[_0x5b23cb(0x2cf)]||(this[_0x5b23cb(0x2cf)]=!0x0,this['_session'][_0x5b23cb(0x228)][_0x5b23cb(0x2f5)](_0x5d2f87(this[_0x5b23cb(0x296)]))[_0x5b23cb(0x2a0)](_0xf78e2d=>{const _0x4d80d7=_0x5b23cb;_0xf78e2d===_0xda1698[_0x4d80d7(0x291)]?this[_0x4d80d7(0x264)]():this[_0x4d80d7(0x2dd)]();}),this[_0x5b23cb(0x350)][_0x5b23cb(0x338)][_0x5b23cb(0x2f5)](_0x5d2f87(this['dispose$']))[_0x5b23cb(0x2a0)](_0x58b911=>{const _0xa0834b=_0x5b23cb,_0x42bf20=_0x58b911[_0xa0834b(0x283)];_0x42bf20===_0x514bf4[_0xa0834b(0x1b7)]&&this[_0xa0834b(0x2b4)](_0x58b911),_0x42bf20===_0x514bf4[_0xa0834b(0x35c)]&&this['_onCursorDelete'](_0x58b911);}),this[_0x5b23cb(0x245)](this[_0x5b23cb(0x370)]['onCommandExecuted'](_0x497c84=>{const _0x59ae86=_0x5b23cb,_0x4076f6=_0x497c84[_0x59ae86(0x342)];_0x4076f6!=null&&this[_0x59ae86(0x1cf)]&&_0x497c84['id']===_0x3937b2['id']&&_0x4076f6[_0x59ae86(0x2da)]===this['unitID']&&_0x4076f6['isEditing']===!0x1&&_0x4076f6[_0x59ae86(0x229)][_0x59ae86(0x239)]>0x0&&this['_updateLocalCursor'](_0x4076f6[_0x59ae86(0x229)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x5b23cb(0x2f5)](_0x5d2f87(this[_0x5b23cb(0x296)]))[_0x5b23cb(0x2a0)](_0x1e478=>{const _0x597f37=_0x5b23cb;if((_0x1e478==null?void 0x0:_0x1e478[_0x597f37(0x2fb)])!==this[_0x597f37(0x2fb)])return;const _0x4328f1={'eventID':_0x514bf4[_0x597f37(0x1b7)],'data':_0x1e478};this[_0x597f37(0x2b4)](_0x4328f1);}),this[_0x5b23cb(0x245)](this['_commandService'][_0x5b23cb(0x247)](_0x2384e4=>{const _0x18b6f1=_0x5b23cb;if(_0x2384e4[_0x18b6f1(0x342)]==null)return;const _0x8a0c0e=_0x2384e4[_0x18b6f1(0x342)];if(_0x2384e4['id']!==_0x39fbbc['id']||_0x8a0c0e['unitId']!==this[_0x18b6f1(0x2fb)])return;const _0x49452b={'id':_0x18b6f1(0x1fd),'params':_0x8a0c0e},_0x3864c9=this[_0x18b6f1(0x248)];for(const [_0x3286e1,_0x4c710a]of _0x3864c9){const _0x551c08={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x18b6f1(0x2fb)],'actions':null,'textRanges':_0x4c710a[_0x18b6f1(0x229)]}},_0x514eb9=this[_0x18b6f1(0x1a2)][_0x18b6f1(0x1b5)](_0x49452b,_0x551c08,!0x1);if(_0x335f80(_0x514eb9))throw _0x514eb9[_0x18b6f1(0x1d3)];_0x3864c9[_0x18b6f1(0x250)](_0x3286e1,{..._0x4c710a,'ranges':_0x514eb9[_0x18b6f1(0x29e)][_0x18b6f1(0x342)][_0x18b6f1(0x30f)]});}queueMicrotask(()=>{const _0x180a80=_0x18b6f1;this[_0x180a80(0x323)][_0x180a80(0x21d)](_0x3864c9);});})));}[_0x410e2f(0x2b4)](_0xf45694){const _0x41135d=_0x410e2f;var _0x3df61b,_0x1910e6;const {memberID:_0x1af4da,selection:_0x4defdf}=_0xf45694[_0x41135d(0x28f)],_0x360414=Oi(_0x4defdf),_0x2fd041=(_0x1910e6=(_0x3df61b=this['_memberService']['getMember'](this[_0x41135d(0x2fb)],_0x1af4da))==null?void 0x0:_0x3df61b[_0x41135d(0x211)])!=null?_0x1910e6:_0x41135d(0x21c),_0x3fdc0f={'color':this[_0x41135d(0x242)]['assignAColorForMemberID'](_0x1af4da),'name':_0x2fd041,'ranges':_0x360414},_0xe12695=this[_0x41135d(0x248)];_0xe12695[_0x41135d(0x250)](_0x1af4da,_0x3fdc0f),this[_0x41135d(0x323)][_0x41135d(0x21d)](_0xe12695);}[_0x410e2f(0x1f4)](_0x241be0){const _0x459fc2=_0x410e2f,{memberID:_0x62774f}=_0x241be0['data'],_0x16b56d=this['cursorInfo'];_0x16b56d[_0x459fc2(0x1ff)](_0x62774f),this[_0x459fc2(0x323)][_0x459fc2(0x21d)](_0x16b56d);}[_0x410e2f(0x264)](){const _0x209ade=_0x410e2f;var _0xc47c32;if(this[_0x209ade(0x1cf)]=!0x0,((_0xc47c32=this[_0x209ade(0x1cb)]['getFocusedUnit']())==null?void 0x0:_0xc47c32[_0x209ade(0x31f)]())!==this[_0x209ade(0x2fb)])return;const _0x5ed7e8=this[_0x209ade(0x20a)][_0x209ade(0x343)](_0x38b29d)[_0x209ade(0x33e)]();Array[_0x209ade(0x362)](_0x5ed7e8)&&_0x5ed7e8['length']>0x0&&this[_0x209ade(0x246)](_0x5ed7e8);}['_toggleOffline'](){const _0x3dd43d=_0x410e2f;this[_0x3dd43d(0x1cf)]=!0x1;}};Ue=Ti([P(0x2,_0x49cbca(_0x462b5d)),P(0x3,_0x49cbca(He)),P(0x4,_0x49cbca(_0x2de383)),P(0x5,_0x49cbca(Fe)),P(0x6,_0x33cdb8),P(0x7,_0x3d0baf),P(0x8,_0x1667b9)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x4f1759,_0x99744e,_0x4179cb,_0xcb8c44)=>{const _0x1a4ff3=_0x410e2f;for(var _0x37ad9f=_0xcb8c44>0x1?void 0x0:_0xcb8c44?Ni(_0x99744e,_0x4179cb):_0x99744e,_0x23eea8=_0x4f1759[_0x1a4ff3(0x239)]-0x1,_0x4e41a6;_0x23eea8>=0x0;_0x23eea8--)(_0x4e41a6=_0x4f1759[_0x23eea8])&&(_0x37ad9f=_0x4e41a6(_0x37ad9f)||_0x37ad9f);return _0x37ad9f;},x=(_0x59171a,_0x3a4d84)=>(_0x5e42cc,_0xebafc8)=>_0x3a4d84(_0x5e42cc,_0xebafc8,_0x59171a);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x24243a=[],_0x5b50c9=!0x1;return _0x3b56ad=>{_0x24243a['push'](_0x3b56ad),_0x5b50c9||(_0x5b50c9=!0x0,setTimeout(()=>{const _0x4b5a4d=_0x346c;_0x24243a[_0x4b5a4d(0x29f)](_0x1bfd32=>_0x1bfd32()),_0x24243a=[],_0x5b50c9=!0x1;}));};};let Me=class extends _0x37d099{constructor(_0x203901,_0x125af7,_0x59defb,_0x4a6cf0,_0xbc01ad,_0x43837e,_0x16b668,_0x48e239){const _0x514f51=_0x410e2f;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x514f51(0x323),new _0x75828e(new Map())),_(this,_0x514f51(0x39b),this[_0x514f51(0x323)][_0x514f51(0x221)]()),_(this,_0x514f51(0x2c2),new _0x75828e([])),_(this,_0x514f51(0x278),this[_0x514f51(0x2c2)]['pipe'](_0x49a400(Mi))),_(this,'_updateLocalCursor',_0x29e830((_0x407e2f,_0xcadf6a)=>{const _0x4bcde9=_0x514f51,_0x2a912f={'eventID':_0x514bf4['UPDATE_CURSOR'],'data':{'unitID':this[_0x4bcde9(0x2fb)],'memberID':this['_session']['getMemberID'](),'selection':_0x3b21df(_0x407e2f,_0xcadf6a[_0x4bcde9(0x31c)])}};this[_0x4bcde9(0x350)]['send'](_0x2a912f,this[_0x4bcde9(0x2fb)]);},Li)),(this['unitID']=_0x203901,this[_0x514f51(0x350)]=_0x125af7,this['_injector']=_0x59defb,this[_0x514f51(0x242)]=_0x4a6cf0,this[_0x514f51(0x37f)]=_0xbc01ad,this[_0x514f51(0x1cb)]=_0x43837e,this['_commandService']=_0x16b668,this[_0x514f51(0x1ba)]=_0x48e239);}get[_0x410e2f(0x248)](){const _0x112ccf=_0x410e2f;return this[_0x112ccf(0x323)][_0x112ccf(0x2c3)]();}get[_0x410e2f(0x1c5)](){const _0x4849ff=_0x410e2f;return this['_roomMembers$'][_0x4849ff(0x2c3)]();}[_0x410e2f(0x1f7)](){const _0x897eb6=_0x410e2f;super[_0x897eb6(0x1f7)](),this[_0x897eb6(0x323)][_0x897eb6(0x21d)](new Map()),this[_0x897eb6(0x323)][_0x897eb6(0x31e)](),this[_0x897eb6(0x2c2)][_0x897eb6(0x21d)]([]),this[_0x897eb6(0x2c2)]['complete']();}[_0x410e2f(0x325)](){const _0xb0fcc7=_0x410e2f;this[_0xb0fcc7(0x2cf)]||(this[_0xb0fcc7(0x2cf)]=!0x0,this[_0xb0fcc7(0x350)][_0xb0fcc7(0x228)]['pipe'](_0x5d2f87(this[_0xb0fcc7(0x296)]))[_0xb0fcc7(0x2a0)](_0x5ad69a=>{const _0x438036=_0xb0fcc7;_0x5ad69a===_0xda1698[_0x438036(0x291)]?this['_toggleOnline']():this[_0x438036(0x2dd)]();}),this[_0xb0fcc7(0x350)]['event$']['pipe'](_0x5d2f87(this[_0xb0fcc7(0x296)]))[_0xb0fcc7(0x2a0)](_0x4fa99a=>{const _0xcce4ff=_0xb0fcc7,_0x1f6d96=_0x4fa99a[_0xcce4ff(0x283)];_0x1f6d96===_0x514bf4[_0xcce4ff(0x1b7)]&&this['_onCursorUpdate'](_0x4fa99a),_0x1f6d96===_0x514bf4['USERS_LEAVE']&&this['_onCursorDelete'](_0x4fa99a);}),this[_0xb0fcc7(0x381)](),this[_0xb0fcc7(0x245)](this[_0xb0fcc7(0x370)][_0xb0fcc7(0x247)](_0x4e31df=>{const _0x37aa4b=_0xb0fcc7;if(this['_online']&&_0x4e31df['id']===_0x2d5125['id']&&_0x4e31df['params'][_0x37aa4b(0x2da)]===this['unitID']){const _0x81b32=_0x4e31df['params'];this['_updateLocalCursor'](_0x81b32[_0x37aa4b(0x320)],_0x81b32[_0x37aa4b(0x326)][0x0]);}})));}['_onCursorUpdate'](_0x1aa1d7){const _0x575beb=_0x410e2f;var _0x1d5c47,_0x59a860;const {memberID:_0x407cc2,selection:_0x5a7351}=_0x1aa1d7[_0x575beb(0x28f)],{sheetName:_0x46d7b0,range:_0x4d2e1d}=_0x5261dd(_0x5a7351),_0x3161bc={'name':(_0x59a860=(_0x1d5c47=this['_memberService'][_0x575beb(0x29b)](this[_0x575beb(0x2fb)],_0x407cc2))==null?void 0x0:_0x1d5c47[_0x575beb(0x211)])!=null?_0x59a860:'Unknown\x20user','range':this[_0x575beb(0x394)](_0x46d7b0,_0x4d2e1d),'sheetID':_0x46d7b0,'color':this[_0x575beb(0x242)][_0x575beb(0x1f9)](_0x407cc2),'selection':_0x5a7351},_0x3192fc=this[_0x575beb(0x248)];_0x3192fc[_0x575beb(0x250)](_0x407cc2,_0x3161bc),this[_0x575beb(0x323)][_0x575beb(0x21d)](_0x3192fc);}['_onCursorDelete'](_0x488666){const _0x237402=_0x410e2f,{memberID:_0x4e4352}=_0x488666[_0x237402(0x28f)],_0x4b22d7=this[_0x237402(0x248)];_0x4b22d7['delete'](_0x4e4352),this['_cursorInfo$']['next'](_0x4b22d7);}[_0x410e2f(0x394)](_0x3189c0,_0x723bd6){const _0x3c5b9a=_0x410e2f;var _0x29f7de,_0x5053d2;const _0x3d9536=(_0x5053d2=(_0x29f7de=this[_0x3c5b9a(0x1cb)]['getUniverSheetInstance'](this[_0x3c5b9a(0x2fb)]))==null?void 0x0:_0x29f7de['getSheetBySheetId'](_0x3189c0))==null?void 0x0:_0x5053d2['getMergeData']();return(_0x3d9536==null?void 0x0:_0x3d9536['find'](_0x428ef6=>_0x582f57[_0x3c5b9a(0x1ea)](_0x428ef6,_0x723bd6)))||_0x723bd6;}['_onRefRangeChange'](){const _0x25a50f=_0x410e2f,_0x52fefd=new _0x4b8f37(),_0x4e97c8=Pi(),_0x2be3b9=()=>{const _0x1e85f8=_0x346c;_0x52fefd['dispose']();const _0x511c8d=(_0x5071fb,_0x1760f4,_0x21aa60,_0x38e904)=>{const _0x500eac=_0x346c;let _0x37b996=[];switch(_0x5071fb['id']){case _0x196428[_0x500eac(0x2b2)]:{_0x37b996=_0x202bf7(_0x5071fb,_0x38e904);break;}case _0x196428[_0x500eac(0x21b)]:{_0x37b996=_0x38b9e5(_0x5071fb,_0x38e904);break;}case _0x196428['InsertColCommandId']:{_0x37b996=_0x278e42(_0x5071fb,_0x38e904);break;}case _0x196428[_0x500eac(0x24a)]:{_0x37b996=_0x503e4a(_0x5071fb,_0x38e904);break;}case _0x196428[_0x500eac(0x2ce)]:{_0x37b996=_0x2b9436(_0x5071fb,_0x38e904);break;}case _0x196428['InsertRowCommandId']:{_0x37b996=_0x3475c7(_0x5071fb,_0x38e904);break;}case _0x196428[_0x500eac(0x2e4)]:{_0x37b996=_0x44dcd6(_0x5071fb,_0x38e904);break;}case _0x196428[_0x500eac(0x210)]:{_0x37b996=_0x97f2f9(_0x5071fb,_0x38e904);break;}case _0x196428[_0x500eac(0x1f8)]:{_0x37b996=_0x203d03(_0x5071fb,_0x38e904);break;}}const _0x34767d=_0x9692ac(_0x37b996,_0x38e904),_0x482221=this[_0x500eac(0x248)][_0x500eac(0x343)](_0x1760f4);if(_0x482221&&_0x34767d){const _0x30cac1={..._0x482221,'range':_0x34767d};this['cursorInfo'][_0x500eac(0x250)](_0x1760f4,_0x30cac1),_0x4e97c8(()=>{const _0x4d48b7=_0x500eac,_0x4d16f1=this['_refRangeService']['registerRefRange'](_0x34767d,_0x1fb9dd=>(_0x4d16f1['dispose'](),_0x511c8d(_0x1fb9dd,_0x1760f4,_0x21aa60,_0x34767d)));_0x52fefd[_0x4d48b7(0x285)](_0x4d16f1);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1e85f8(0x29f)]((_0x176169,_0x20ad4f)=>{const _0x2fc357=_0x1e85f8,{range:_0x2ca8d1,sheetID:_0xf50877}=_0x176169,_0x19016e=this[_0x2fc357(0x1ba)][_0x2fc357(0x206)](_0x2ca8d1,_0xb4cfaa=>(_0x19016e[_0x2fc357(0x1f7)](),_0x511c8d(_0xb4cfaa,_0x20ad4f,_0xf50877,_0x2ca8d1)));_0x52fefd['add'](_0x19016e);});};this['disposeWithMe'](_0x4a56c0(this[_0x25a50f(0x323)]['subscribe'](()=>{_0x2be3b9();})));}[_0x410e2f(0x264)](){const _0x5d681f=_0x410e2f;var _0x1ffa4c,_0x2c998c;if(this[_0x5d681f(0x1cf)]=!0x0,((_0x1ffa4c=this[_0x5d681f(0x1cb)][_0x5d681f(0x2a9)]())==null?void 0x0:_0x1ffa4c['getUnitId']())!==this['unitID'])return;const _0x420eb3=(_0x2c998c=this['_injector'][_0x5d681f(0x343)](_0x14e03f)[_0x5d681f(0x2e0)]())==null?void 0x0:_0x2c998c[0x0],_0x587c8b=this[_0x5d681f(0x1cb)]['getCurrentUnitForType'](_0xaed918[_0x5d681f(0x2ab)])[_0x5d681f(0x37c)]();_0x420eb3&&_0x587c8b&&this[_0x5d681f(0x246)](_0x587c8b['getSheetId'](),_0x420eb3);}['_toggleOffline'](){const _0x27e18b=_0x410e2f;this[_0x27e18b(0x1cf)]=!0x1;}};Me=Ui([x(0x2,_0x49cbca(_0x462b5d)),x(0x3,_0x49cbca(He)),x(0x4,_0x49cbca(_0x2de383)),x(0x5,_0x3d0baf),x(0x6,_0x1667b9),x(0x7,_0x49cbca(_0x46a3d3))],Me);var wi=Object[_0x410e2f(0x38f)],Ai=(_0x54c668,_0x37f680,_0x49afdd,_0x1cf76e)=>{for(var _0x40ef50=_0x1cf76e>0x1?void 0x0:_0x1cf76e?wi(_0x37f680,_0x49afdd):_0x37f680,_0x40e29b=_0x54c668['length']-0x1,_0x2b0d09;_0x40e29b>=0x0;_0x40e29b--)(_0x2b0d09=_0x54c668[_0x40e29b])&&(_0x40ef50=_0x2b0d09(_0x40ef50)||_0x40ef50);return _0x40ef50;},me=(_0x1c4d9b,_0x287b47)=>(_0x395df2,_0x5ae006)=>_0x287b47(_0x395df2,_0x5ae006,_0x1c4d9b);let F=class extends _0x37d099{constructor(_0x1792f8,_0x1d7323,_0xb45b20){const _0x731e85=_0x410e2f;super(),_(this,_0x731e85(0x1dc),new Map()),_(this,'_entityInit$',new _0x11586d()),(this[_0x731e85(0x1cb)]=_0x1792f8,this[_0x731e85(0x20a)]=_0x1d7323,this[_0x731e85(0x2d8)]=_0xb45b20,this['_init']());}['dispose'](){const _0x1d54ef=_0x410e2f;super[_0x1d54ef(0x1f7)](),this['_entityInit$']['complete'](),this[_0x1d54ef(0x1dc)][_0x1d54ef(0x29f)](_0x27c0bc=>_0x27c0bc[_0x1d54ef(0x1f7)]());}['getCollabCursors$'](_0x39bcd9){const _0x47a7d4=_0x410e2f;return this[_0x47a7d4(0x1dc)][_0x47a7d4(0x216)](_0x39bcd9)?this[_0x47a7d4(0x1dc)][_0x47a7d4(0x343)](_0x39bcd9)[_0x47a7d4(0x39b)]:this[_0x47a7d4(0x2b6)][_0x47a7d4(0x2f5)](_0xf4476b(_0x4eadc4=>_0x4eadc4[_0x47a7d4(0x2fb)]===_0x39bcd9),_0x22e5cd(_0x211ddd=>_0x211ddd[_0x47a7d4(0x39b)]));}[_0x410e2f(0x2cf)](){const _0x46a84c=_0x410e2f;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xaed918[_0x46a84c(0x2ab)])[_0x46a84c(0x2f5)](_0x5d2f87(this[_0x46a84c(0x296)]))['subscribe'](async _0x3727e4=>{const _0xaf6656=_0x46a84c,_0x580558=_0x3727e4['getUnitId'](),_0x494240=await this['_startSheetCollabCursor'](_0x580558);this['_entityInit$'][_0xaf6656(0x21d)](_0x494240),this[_0xaf6656(0x1dc)][_0xaf6656(0x250)](_0x580558,_0x494240);}),this['_univerInstanceService'][_0x46a84c(0x252)](_0xaed918['UNIVER_DOC'])[_0x46a84c(0x2f5)](_0x5d2f87(this[_0x46a84c(0x296)]))[_0x46a84c(0x2f5)](_0xf4476b(_0xed428b=>!_0xed428b['getUnitId']()[_0x46a84c(0x270)]('__')))['subscribe'](async _0x5de81d=>{const _0x20aaee=_0x46a84c,_0x513363=_0x5de81d[_0x20aaee(0x31f)](),_0x17a44b=await this[_0x20aaee(0x310)](_0x513363);this['_entityInit$'][_0x20aaee(0x21d)](_0x17a44b),this[_0x20aaee(0x1dc)]['set'](_0x513363,_0x17a44b);}),_0x3c36fd(this[_0x46a84c(0x1cb)][_0x46a84c(0x1c4)](_0xaed918['UNIVER_DOC']),this[_0x46a84c(0x1cb)]['getTypeOfUnitDisposed$'](_0xaed918['UNIVER_SHEET']))[_0x46a84c(0x2f5)](_0x5d2f87(this[_0x46a84c(0x296)]))[_0x46a84c(0x2a0)](_0x499278=>{const _0x282d28=_0x46a84c,_0x519409=_0x499278[_0x282d28(0x31f)](),_0xdcff46=this[_0x282d28(0x1dc)]['get'](_0x519409);_0xdcff46&&(_0xdcff46[_0x282d28(0x1f7)](),this[_0x282d28(0x1dc)][_0x282d28(0x1ff)](_0x519409));});}async[_0x410e2f(0x224)](_0x1fafa5){const _0x4da3f2=_0x410e2f,_0xfe80f5=await this[_0x4da3f2(0x2d8)][_0x4da3f2(0x294)](_0x1fafa5),_0x3aba7f=this[_0x4da3f2(0x20a)]['createInstance'](Me,_0x1fafa5,_0xfe80f5);return _0x3aba7f[_0x4da3f2(0x325)](),_0x3aba7f;}async['_startDocCollabCursor'](_0x40112f){const _0x887dac=_0x410e2f,_0x9ee944=await this[_0x887dac(0x2d8)]['requireSession'](_0x40112f),_0x12c7b9=this['_injector']['createInstance'](Ue,_0x40112f,_0x9ee944);return _0x12c7b9['init'](),_0x12c7b9;}};function _0x3ce9(){const _0x3ffa39=['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_toggleOffline','registerComponent','uni.network.url-service','getCurrentSelections','editingUnit','collab-text-range-','unshift','MoveRangeCommandId','imageSourceType','call','YUUMI_URL_COL_OUT_OF_RANGE','translate(.97)','collabStatus.conflict','hovered','WECHAT_HAS_BEEN_BOUND','_docTransformStateCacheService','_config','application/json','getCollabCursors$','_initCommandExecutedListener','YUUMI_NO_CUBOID_FOR_QUESTION','href','36kRRaZj','column','pipe','override','SNAPSHOT_HAS_BEEN_REMOVED','sessionTicket','HEADER_MENU','16914XZxwaT','unitID','_textBubble','setParam','with','actions','code','getColorFromTheme','origin','_handleHeartbeatEvent','LICENSE_IMPORT_SIZE_EXCEEDED','none','_transformPreviousActiveRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','univer-flex\x20univer-items-center','FromArray','_render','_removeClearOtherTimer','beginPath','OTHER_CLIENT_EDITING','values','textRanges','_startDocCollabCursor','exhaustSavingTask','univerjs-icon\x20univerjs-icon-','startColumn','_getScale','COMPLETION_FINISHED','_hover','getAncestorScale','mutations','_localeService','2310297rHjdPh','svg','range','OnLineIcon','complete','getUnitId','subUnitId','findNodePositionByCharIndex','replace','_cursorInfo$','entityInit$','init','selections','row','_localStorageService','APPLY_DUPLICATED','subscribeEvent','0\x200\x2017\x2016','trim','_colorIndex','1em','addClipboardHook','INVALID_INVITE_CODE','send','_handleEvent','_collabCursorController','onTransformChange$','off-line-icon_clip0_910_343','_scheduleClearOtherTimer','type','event$','getOwnPropertySymbols','YUUMI_RATE_OVER_LIMIT','_lastPointer','transformRemoteChangeset','transform','getDocRanges','purple.300','newValue','_configService','params','get','endColumn','extend','path','onRendered','indexOf','TOO_MANY_REQUESTS','syncEditingCollabCursor','collaboration.closeRoom','unsubscribe','_getSaveTimeout','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabStatus.syncing','_session','clearTimeout','_transformHistoryAndStateStack','_collaborationUIEventService','addHandlerCallback','replaceDocRanges','makeDirty','1436472kEgluy','_refreshCollabCursors','_initEvent','collaboration-client-ui.config','_docClipboardService','USERS_LEAVE','location','MOBILE_HAS_BEEN_BOUND','body','EMAIL_HAS_BEEN_BOUND','_notificationService','isArray','toString','on-line-icon','setInterval','saveOfflineData','collab-text-anchor-','_collabCursorState$','SOCKET_FAILED_RETRY','hide','385jhfIqD','_status$','map','deepClone','_sheetSkeletonManagerService','_commandService','_initStatusComponent','UniverIcon','1614ZKVlGL','_heartbeatTimer','_handleJoinEvent','pluginName','apply','lineTo','_logService','_draw','INVITE_CODE_REQUIRED','getActiveSheet','SUBMIT_CHANGESET_TIMEOUT','popstate','_memberService','_getSheetObject','_onRefRangeChange','width','activeSheet$','289582ceyhJG','className','setTimeout','_scheduleSaving','getUnhiddenWorksheets','setItem','YUUMI_UNABLE_LOAD_URL','AWAITING_WITH_PENDING','_hideTimer','status$','_saveCache','getOwnPropertyDescriptor','clipPath','pushState','_saveTaskMap','_doCreateSocket','_getMergeRange','stringify','clearInterval','RECT','storage','_updateCollabCursors','NOT_COLLAB','cursorInfo$','_send','m1Prime','1437ybMKFN','ENSURE_SNAPSHOT_EXECUTION','_range','MOBILE_VERIFY_CODE_MISMATCH','getSkeleton','docStateChange$','_transformService','collaboration.single-unit.warning','getCurrent','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_imageIoService','bottom','_ensureSubject','OTHER_CLIENTS_EDITING','_collaborationController','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','focused$','_initEntityListener','use','redoState','_removeCollabCursors','_labelPosition','setActiveRange','setUndoRedoMutationParamsCache','_shapes','transformMutation','M0\x200H16V16H0z','UPDATE_CURSOR','debug','CONFLICT','_refRangeService','_unitOnClients','session.connection-failed','registerRenderModule','backgroundColor','TEXT','currentSkeleton$','sheetID','fillText','UNAUTHENTICATED','getTypeOfUnitDisposed$','roomMembers','_themeService','PY_RUNTIME_SCRIPT_ERROR','_beforeCloseService','CONNECTOR_DATA_TOO_LARGE','SNAPSHOT_INVALID_SNAPSHOT','_univerInstanceService','NOT_FOUND','_anchor','collabStatus.notCollab','_online','endRow','prototype','permission.title','error','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getParam','selection','rgba(255,\x20255,\x20255,\x200.01)','_eventUnsubscribe','_id','getActiveRange','isActive','_entities','getCellPositionByOffset','closePath','YUUMI_CONNECTOR_URL_NOT_FOUND','704656ZWFoAG','search','white','UNIVER_DOC','_selfUnitIDs','currentTheme$','_docStateChangeManagerService','_updateSubUnitFromURLParams','on-line-icon_clip0_910_349','symbol','contains','disposeUnit','saveTaskMap','_cursors','_backgroundColor','setShapeProps','CHANGESET_REVISION_CONFILICT','unit','LOGIN_FAILED','_cursorShapes','_onCursorDelete','getRenderById','replaceState','dispose','RemoveRowCommandId','assignAColorForMemberID','EMAIL_VERIFY_CODE_MISMATCH','getSheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','doc.mutation.rich-text-editing','icon','delete','round','executeCommand','mask','height','attrs','_docTransformSelectionsService','registerRefRange','APPLY_PERMISSION_DENIED','_registerDependencies','_createSocketURL','_injector','INTERNAL_ERROR','skeleton','includes','onPointerEnter$','flatMap','RemoveColCommandId','name','collabStatus.offline','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','LICENSE_MAX_UNITS_EXCEEDED','getRangePointData','has','url(#off-line-icon_clip0_910_343)','some','displayName','top','DeleteRangeMoveUpCommandId','Unknown\x20user','next','fill','invokeId','saveImage','asObservable','addObject','setAlpha','_startSheetCollabCursor','Error','blue.400','_handleHover','sessionStatus$','ranges','red.300','_localCacheService','UNDEFINED','...','transformSelections','ticket','show','transformByState','parse','removeParam','transformIMECache','_urlService','disableLocalCache','_drawTextRange','unload','length','color','INVALID_ARGUMENT','_updateURLWithCurrentState','_httpService','from','sheetId','_setupBeforeClosingHandler','then','_colorAssignService','concat','wsSessionTicketUrl','disposeWithMe','_updateLocalCursor','onCommandExecuted','cursorInfo','text','InsertRangeMoveDownCommandId','all','0\x200\x2016\x2016','startRow','INVITE_CODE_ALREADY_BOUND','_setupSubUnitSync','set','black','getTypeOfUnitAdded$','defs','urlChange$','_scheduleHeartbeat','getConfig','getStateCache','PENDING','xlink:href','OffLineIcon','evenodd','searchParams','SYNCED','loadOfflineData','_docSkeleton','_docSkeletonManagerService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','50SkvOoj','size','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','_uiPartsService','min','http://www.w3.org/2000/svg','_docTransformIMECacheService','defIds','_initDependencies','_messageService','green.600','executionId','getUnitStatus$','startsWith','_getAnchorBounding','jiqing.500','/run/','YUUMI_AI_RUN_FAILED','source','_getSessionTicket','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','roomMembers$','url(#$1','_disabled','getViewport','_scene','children','APPLY_REJECT','addEventListener','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','colorChannel1','restore','eventID','LICENSE_DISTRO_REJECTED','add','subunit','3361785mjthvB','_drawRectRange','_anchorDot','current','labelPosition','tag','collabStatus.synced','session.collaboration-timeout','data','ACTIVE_UNIT_EVENT_CHANNEL','ONLINE','getItem','_initStatusListener','requireSession','addObjects','dispose$','_name','push','div','collabCursorState$','getMember','_color','_context','m2Prime','forEach','subscribe','PERMISSION_DENIED','_drawAnchor','AWAITING','toRgbString','_hovered','_registerRenderDependencies','INVITE_CODE_HAS_BEEN_UES','APPLY_REVISION_CONFILICT','getFocusedUnit','save','UNIVER_SHEET','Failed','_docSyncEditingCollabCursorService','collab-client.tooltip.reconnect','propertyIsEnumerable','_transformUndoRedoStack','_cursor','DeleteRangeMoveLeftCommandId','enableLocalCache','_onCursorUpdate','_cachedData','_entityInit$','measureText','runId','YUUMI_ASYNCIO_CANCELLED','onPointerLeave$','FETCH_MISS','idSuffix','USER_NOT_INVITED_CODE','Warning','CLOSE_ROOM','assign','string','_roomMembers$','getValue','updateOfflineData','getSheetBySheetId','history','_assignedColors','collaboration-client.offline-data-not-saved','YUUMI_ALL_TABLES_IS_INVALID','drawWith','getRelativeToViewportCoord','defineProperty','_clearOtherTimers','InsertRangeMoveRightCommandId','_init','_unitStatus','arc','univer-mr-2\x20univer-flex\x20univer-text-xl','_initResize','_renderManagerService','whenReady','UNRECOGNIZED','fillStyle','_collabSessionService','[CollaborationDataLoaderController]','unitId','transformMutationsWithChangeset'];_0x3ce9=function(){return _0x3ffa39;};return _0x3ce9();}F=Ai([me(0x0,_0x3d0baf),me(0x1,_0x49cbca(_0x462b5d)),me(0x2,_0x49cbca(_0x27b06e))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x332fb2,_0x4029f1){const _0x33cbf7=_0x410e2f;let {radius:_0x106756,width:_0x1da2eb,height:_0x250e44}=_0x4029f1;_0x106756=_0x106756!=null?_0x106756:0x0,_0x1da2eb=_0x1da2eb!=null?_0x1da2eb:0x1e,_0x250e44=_0x250e44!=null?_0x250e44:0x1e;let _0x145630=0x0,_0x736273=0x0,_0x1e98f8=0x0;_0x145630=_0x736273=_0x1e98f8=Math[_0x33cbf7(0x267)](_0x106756,_0x1da2eb/0x2,_0x250e44/0x2),_0x332fb2[_0x33cbf7(0x30c)](),_0x332fb2['moveTo'](_0x145630,0x0),_0x332fb2['lineTo'](_0x1da2eb-_0x736273,0x0),_0x332fb2[_0x33cbf7(0x2d1)](_0x1da2eb-_0x736273,_0x736273,_0x736273,Math['PI']*0x3/0x2,0x0,!0x1),_0x332fb2[_0x33cbf7(0x378)](_0x1da2eb,_0x250e44-_0x1e98f8),_0x332fb2[_0x33cbf7(0x2d1)](_0x1da2eb-_0x1e98f8,_0x250e44-_0x1e98f8,_0x1e98f8,0x0,Math['PI']/0x2,!0x1),_0x332fb2[_0x33cbf7(0x378)](0x0,_0x250e44),_0x332fb2[_0x33cbf7(0x378)](0x0,_0x145630),_0x332fb2[_0x33cbf7(0x2d1)](_0x145630,_0x145630,_0x145630,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x332fb2[_0x33cbf7(0x1de)](),_0x4029f1[_0x33cbf7(0x21e)]&&(_0x332fb2[_0x33cbf7(0x2aa)](),_0x332fb2[_0x33cbf7(0x2d7)]=_0x4029f1[_0x33cbf7(0x21e)],_0x4029f1['fillRule']===_0x33cbf7(0x25b)?_0x332fb2[_0x33cbf7(0x21e)]('evenodd'):_0x332fb2['fill'](),_0x332fb2['restore']());}class ue extends _0x4d6fa1{constructor(_0x48a504,_0x3c4d01){const _0x401a66=_0x410e2f;super(_0x48a504,_0x3c4d01),_(this,'color'),_(this,_0x401a66(0x249)),(this[_0x401a66(0x23a)]=_0x3c4d01==null?void 0x0:_0x3c4d01[_0x401a66(0x23a)],this[_0x401a66(0x249)]=_0x3c4d01==null?void 0x0:_0x3c4d01[_0x401a66(0x249)]);}static[_0x410e2f(0x2ca)](_0x2fd9fc,_0x625724){const _0x59cd09=_0x410e2f,{text:_0x16a1b6,color:_0x1ce41e}=_0x625724;_0x2fd9fc[_0x59cd09(0x2aa)](),_0x2fd9fc['font']=_0x59cd09(0x280);const _0x29a02a=_0x2fd9fc['measureText'](_0x16a1b6)[_0x59cd09(0x382)],_0x3bcbd8=Math[_0x59cd09(0x267)](_0x29a02a+0x2*Ie,Qe);$i(_0x2fd9fc,{'height':J,'radius':0x4,'width':_0x3bcbd8,'fill':_0x1ce41e}),_0x2fd9fc[_0x59cd09(0x2d7)]='#FFF';const _0x1f3646=Ie,_0x41eb5e=J-yi,_0x1cb9c7=Qe-0x2*Ie;if(_0x29a02a>_0x1cb9c7){let _0x533a30='',_0x4947e2=0x0;for(const _0x29a61b of _0x16a1b6){const _0x40d60e=_0x2fd9fc['measureText'](_0x29a61b)[_0x59cd09(0x382)];if(_0x4947e2+_0x40d60e<=_0x1cb9c7-_0x2fd9fc[_0x59cd09(0x2b7)]('...')[_0x59cd09(0x382)])_0x533a30+=_0x29a61b,_0x4947e2+=_0x40d60e;else{_0x533a30+=_0x59cd09(0x22d);break;}}_0x2fd9fc[_0x59cd09(0x1c2)](_0x533a30,_0x1f3646,_0x41eb5e);}else _0x2fd9fc[_0x59cd09(0x1c2)](_0x16a1b6,_0x1f3646,_0x41eb5e);_0x2fd9fc[_0x59cd09(0x282)]();}[_0x410e2f(0x37a)](_0x488fa6){const _0x2eac69=_0x410e2f;ue[_0x2eac69(0x2ca)](_0x488fa6,this);}}const ve=_0x410e2f(0x367),xi=_0x410e2f(0x2e2),Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x410e2f(0x1d7);class qe{constructor(_0x322a65,_0x317168,_0x49c1d9,_0x4d9094){const _0x133b30=_0x410e2f;_(this,_0x133b30(0x1b4),[]),_(this,'_anchor',null),_(this,_0x133b30(0x2fc),null),_(this,_0x133b30(0x289),null),_(this,'_hideTimer',null),_(this,_0x133b30(0x1d8),null),(this[_0x133b30(0x2b1)]=_0x322a65,this[_0x133b30(0x27c)]=_0x317168,this[_0x133b30(0x25f)]=_0x49c1d9,this['_document']=_0x4d9094,this[_0x133b30(0x30a)]());}set['_hover'](_0x30075a){const _0x57b5cf=_0x410e2f;_0x30075a?(this[_0x57b5cf(0x289)]&&this['_anchorDot'][_0x57b5cf(0x36a)](),this[_0x57b5cf(0x2fc)]&&this[_0x57b5cf(0x2fc)][_0x57b5cf(0x230)]()):(this[_0x57b5cf(0x289)]&&this['_anchorDot'][_0x57b5cf(0x230)](),this[_0x57b5cf(0x2fc)]&&this[_0x57b5cf(0x2fc)]['hide']());}['dispose'](){const _0x3df487=_0x410e2f;for(const _0x52c645 of this[_0x3df487(0x1b4)])_0x52c645[_0x3df487(0x1f7)]();this['_textBubble']&&this['_textBubble'][_0x3df487(0x1f7)](),this[_0x3df487(0x289)]&&this[_0x3df487(0x289)][_0x3df487(0x1f7)](),this[_0x3df487(0x1cd)]&&this[_0x3df487(0x1cd)][_0x3df487(0x1f7)](),this['_eventUnsubscribe']&&this[_0x3df487(0x1d8)]();}[_0x410e2f(0x30a)](){const _0x15f82c=_0x410e2f;var _0x87995;const {_docSkeleton:_0x28cbf0,_document:_0x48b01b}=this,{color:_0x1a09b6,name:_0x267244,ranges:_0x54267f}=this['_cursor'],_0x2d7cbc=_0x48b01b['getOffsetConfig'](),{docsLeft:_0x305041,docsTop:_0x20d5c4}=_0x2d7cbc,_0x291f8d=new _0x3f9ce(_0x2d7cbc,_0x28cbf0);for(const {startOffset:_0x3b17a7,endOffset:_0x3da07a,rangeType:_0x35fd09,segmentId:_0x3777e7,segmentPage:_0x1104fb,collapsed:_0x247e12,isActive:_0x100827}of _0x54267f){const _0x488932=_0x28cbf0[_0x15f82c(0x321)](_0x3b17a7,!0x0,_0x3777e7,_0x1104fb);let _0x526616=_0x28cbf0[_0x15f82c(0x321)](_0x3da07a,!0x0,_0x3777e7,_0x1104fb);if(_0x526616==null&&(_0x526616=_0x28cbf0[_0x15f82c(0x321)](_0x3da07a-0x1,!0x1,_0x3777e7,_0x1104fb)),_0x100827){const {contentBoxPointGroup:_0x5972cd}=_0x291f8d[_0x15f82c(0x215)](_0x526616,_0x526616);if(_0x5972cd[_0x15f82c(0x239)]===0x0)continue;this['_drawAnchor'](_0x1a09b6,_0x5972cd,_0x305041,_0x20d5c4,_0x267244),this[_0x15f82c(0x1d8)]=this['_handleHover']();}if(_0x488932&&_0x526616){if(_0x35fd09===_0x12472c['RECT']){const _0x2a1a90=new _0x53373f(_0x2d7cbc,_0x28cbf0),{pointGroup:_0x1e2396}=(_0x87995=_0x2a1a90[_0x15f82c(0x215)](_0x488932,_0x526616))!=null?_0x87995:{};if(_0x1e2396==null||_0x1e2396[_0x15f82c(0x239)]===0x0)continue;this['_drawRectRange'](_0x1a09b6,_0x1e2396,_0x305041,_0x20d5c4);}else{if(!_0x247e12){const {borderBoxPointGroup:_0x132fac}=_0x291f8d['getRangePointData'](_0x488932,_0x526616);if(_0x132fac['length']===0x0)continue;this[_0x15f82c(0x237)](_0x1a09b6,_0x132fac,_0x305041,_0x20d5c4);}}}}}[_0x410e2f(0x2a2)](_0x368fa9,_0x17e8c7,_0x1caaa4,_0x2cc432,_0x50ee25){const _0x2d8748=_0x410e2f,_0x3ed2ec=this[_0x2d8748(0x271)](_0x17e8c7),{left:_0x56ccdf,top:_0x28ed47,height:_0x1e096a}=_0x3ed2ec,_0x21bc7e=this[_0x2d8748(0x314)](),_0x3257ec=Hi/_0x21bc7e,_0x582aae=new _0x3ac2f9(ve+_0x210b2e(K),{'left':_0x56ccdf+_0x1caaa4-_0x3257ec,'top':_0x28ed47+_0x2cc432,'height':_0x1e096a,'width':ki,'fill':_0x368fa9||_0x1a2041(_0x195f36['black'],0x0),'strokeWidth':_0x3257ec,'stroke':Fi,'evented':!0x0});this[_0x2d8748(0x1cd)]=_0x582aae,this['_scene'][_0x2d8748(0x222)](_0x582aae,_0x4dbd9c);const _0x1b1fa1=new _0x3ac2f9(ve+_0x210b2e(K),{'left':_0x56ccdf+_0x1caaa4-_0x3257ec,'top':_0x28ed47+_0x2cc432-ge/0x2,'height':ge,'width':ge,'fill':_0x368fa9||_0x1a2041(_0x195f36[_0x2d8748(0x251)],0x0),'strokeWidth':0x0,'stroke':_0x368fa9||_0x1a2041(_0x195f36[_0x2d8748(0x251)],0x0),'evented':!0x1});this[_0x2d8748(0x289)]=_0x1b1fa1,this[_0x2d8748(0x27c)]['addObject'](_0x1b1fa1,_0x4dbd9c);const _0xe1dfcc=new ue(ve+_0x210b2e(K),{'left':_0x56ccdf+_0x1caaa4-_0x3257ec,'top':_0x28ed47+_0x2cc432-J,'text':_0x50ee25,'color':_0x368fa9});this['_textBubble']=_0xe1dfcc,this[_0x2d8748(0x27c)][_0x2d8748(0x222)](_0xe1dfcc,_0x4dbd9c),this['_hover']=!0x1;}[_0x410e2f(0x227)](){const _0x3277b2=_0x410e2f,_0x37139a=this[_0x3277b2(0x1cd)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x2a3f68=_0x3277b2;this[_0x2a3f68(0x316)]=!0x0;}),_0x3f5564=this[_0x3277b2(0x1cd)][_0x3277b2(0x2ba)][_0x3277b2(0x32a)](()=>{const _0x16dc1e=_0x3277b2;this[_0x16dc1e(0x38c)]&&clearTimeout(this[_0x16dc1e(0x38c)]),this[_0x16dc1e(0x38c)]=setTimeout(()=>{const _0x6c204b=_0x16dc1e;this[_0x6c204b(0x316)]=!0x1;},0x7d0);});return()=>{const _0xf638ee=_0x3277b2;_0x37139a[_0xf638ee(0x34c)](),_0x3f5564[_0xf638ee(0x34c)]();};}[_0x410e2f(0x237)](_0xd34003,_0x5c0644,_0x2f45d4,_0x21a639){const _0x4cd853=_0x410e2f,_0x2e9039=new _0x29e1bb(_0xd34003)['setAlpha'](0.2)[_0x4cd853(0x2a4)](),_0x589fc2=new _0xb38387(xi+_0x210b2e(K),{'pointsGroup':_0x5c0644,'fill':_0x2e9039||_0x1a2041(_0x195f36[_0x4cd853(0x251)],0.2),'left':_0x2f45d4,'top':_0x21a639,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cd853(0x1b4)]['push'](_0x589fc2),this[_0x4cd853(0x27c)]['addObject'](_0x589fc2,_0x4dbd9c);}[_0x410e2f(0x288)](_0x3153cc,_0x43a4de,_0x1a1d56,_0x42c574){const _0x134bf4=_0x410e2f,_0x3261ff=new _0x29e1bb(_0x3153cc)[_0x134bf4(0x223)](0.2)['toRgbString'](),_0x36135a=new _0xb38387(Bi+_0x210b2e(K),{'pointsGroup':_0x43a4de,'fill':_0x3261ff||_0x1a2041(_0x195f36[_0x134bf4(0x251)],0.2),'left':_0x1a1d56,'top':_0x42c574,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x134bf4(0x1b4)]['push'](_0x36135a),this[_0x134bf4(0x27c)]['addObject'](_0x36135a,_0x4dbd9c);}[_0x410e2f(0x271)](_0x392303){const _0x193e9a=_0x392303[0x0],_0x28c055=_0x193e9a[0x0],_0x2029ae=_0x193e9a[0x2],{x:_0x30da14,y:_0xe89ac4}=_0x28c055,{x:_0x38ca32,y:_0x43df0d}=_0x2029ae;return{'left':_0x30da14,'top':_0xe89ac4,'width':_0x38ca32-_0x30da14,'height':_0x43df0d-_0xe89ac4};}['_getScale'](){const _0x132b32=_0x410e2f,{scaleX:_0x3135b1,scaleY:_0x1222f8}=this[_0x132b32(0x27c)][_0x132b32(0x317)]();return Math['max'](_0x3135b1,_0x1222f8);}}var Yi=Object[_0x410e2f(0x38f)],ji=(_0x190bbf,_0x434881,_0x10204f,_0x349ebb)=>{const _0x2e707e=_0x410e2f;for(var _0x496919=_0x349ebb>0x1?void 0x0:_0x349ebb?Yi(_0x434881,_0x10204f):_0x434881,_0xa290bc=_0x190bbf[_0x2e707e(0x239)]-0x1,_0x39c590;_0xa290bc>=0x0;_0xa290bc--)(_0x39c590=_0x190bbf[_0xa290bc])&&(_0x496919=_0x39c590(_0x496919)||_0x496919);return _0x496919;},ee=(_0x690fa0,_0x8f4eac)=>(_0xfaedff,_0xc2adbb)=>_0x8f4eac(_0xfaedff,_0xc2adbb,_0x690fa0);let Le=class extends _0x37d099{constructor(_0x25abe9,_0xfb4321,_0x33458e,_0x4bc32b,_0x1fb92c){const _0x4cc1c1=_0x410e2f;super(),_(this,_0x4cc1c1(0x1f3),[]),_(this,_0x4cc1c1(0x1ed),[]),(this[_0x4cc1c1(0x29d)]=_0x25abe9,this[_0x4cc1c1(0x260)]=_0xfb4321,this[_0x4cc1c1(0x333)]=_0x33458e,this[_0x4cc1c1(0x370)]=_0x4bc32b,this[_0x4cc1c1(0x1c6)]=_0x1fb92c,this['_init']());}[_0x410e2f(0x2cf)](){const _0x376a3d=_0x410e2f,_0x711597=this[_0x376a3d(0x29d)][_0x376a3d(0x2da)],_0x1a800d=this[_0x376a3d(0x260)];this['disposeWithMe'](_0x444b4a([this[_0x376a3d(0x333)][_0x376a3d(0x2ef)](_0x711597),this[_0x376a3d(0x1c6)][_0x376a3d(0x1e5)]])[_0x376a3d(0x2f5)](_0xf928f6(([_0x488b0e,_0x4dffe4])=>({'skeleton':_0x1a800d['getSkeleton'](),'cursors':[..._0x488b0e['values']()][_0x376a3d(0x20f)](_0x3e6ff9=>({..._0x3e6ff9,'color':this[_0x376a3d(0x1c6)][_0x376a3d(0x301)](_0x3e6ff9[_0x376a3d(0x23a)])}))})))[_0x376a3d(0x2a0)](_0x118b60=>{const _0x593786=_0x376a3d;if(this[_0x593786(0x1b0)](),_0x118b60){const {skeleton:_0x10d3de,cursors:_0x755ef0}=_0x118b60;this['_updateCollabCursors'](_0x10d3de,_0x755ef0);}})),this[_0x376a3d(0x2d3)](),this[_0x376a3d(0x2f0)]();}[_0x410e2f(0x399)](_0x15fdc0,_0x2a3d28){const _0x2623f5=_0x410e2f,{scene:_0x2544ea,mainComponent:_0x334b58}=this['_context'],_0x4f91cd=_0x2a3d28[_0x2623f5(0x36d)](_0x30fb84=>new qe(_0x30fb84,_0x2544ea,_0x15fdc0,_0x334b58));this[_0x2623f5(0x1f3)]=_0x4f91cd,this[_0x2623f5(0x1ed)]=_0x2a3d28;}[_0x410e2f(0x358)](){const _0x55d4b4=_0x410e2f;this[_0x55d4b4(0x1b0)]();const {scene:_0x4a7b23,mainComponent:_0x565c17}=this[_0x55d4b4(0x29d)],_0xdc8c8e=this[_0x55d4b4(0x260)][_0x55d4b4(0x1a0)](),_0x22f2ff=this[_0x55d4b4(0x1ed)][_0x55d4b4(0x36d)](_0x33ef3b=>new qe(_0x33ef3b,_0x4a7b23,_0xdc8c8e,_0x565c17));this[_0x55d4b4(0x1f3)]=_0x22f2ff;}[_0x410e2f(0x1b0)](){const _0x304347=_0x410e2f;this[_0x304347(0x1f3)][_0x304347(0x29f)](_0x406cc4=>_0x406cc4['dispose']()),this[_0x304347(0x1f3)]=[];}['_initCommandExecutedListener'](){const _0x48560f=_0x410e2f,_0x4866a2=[_0x205017['id']];this[_0x48560f(0x245)](this[_0x48560f(0x370)][_0x48560f(0x247)](_0x279fc2=>{const _0x8e1d0a=_0x48560f;_0x4866a2['includes'](_0x279fc2['id'])&&_0x279fc2[_0x8e1d0a(0x342)][_0x8e1d0a(0x2da)]===this[_0x8e1d0a(0x29d)][_0x8e1d0a(0x2da)]&&this['_refreshCollabCursors']();}));}[_0x410e2f(0x2d3)](){const _0x10ca6d=_0x410e2f;this[_0x10ca6d(0x245)](_0x4979aa(this[_0x10ca6d(0x29d)]['engine'][_0x10ca6d(0x334)])[_0x10ca6d(0x2f5)](_0x3b581e(_0x2d8da8=>_0x2d8da8['type']===_0x5cb7be['resize']),_0x58a74d(0x10))['subscribe'](()=>{const _0x3cf204=_0x10ca6d;this[_0x3cf204(0x358)]();}));}};Le=ji([ee(0x1,_0x49cbca(_0x344234)),ee(0x2,_0x49cbca(F)),ee(0x3,_0x1667b9),ee(0x4,_0x49cbca(_0x59925e))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x4d6fa1{constructor(_0x18c67f,_0x20a351){const _0x57cb86=_0x410e2f;super(_0x18c67f,_0x20a351),_(this,_0x57cb86(0x29c)),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x57cb86(0x297),''),_(this,_0x57cb86(0x1b1),'top'),_(this,_0x57cb86(0x1ee)),(_0x20a351&&this['setShapeProps'](_0x20a351),this[_0x57cb86(0x20e)][_0x57cb86(0x32a)](()=>this[_0x57cb86(0x1ef)]({'hovered':!0x0})),this['onPointerLeave$'][_0x57cb86(0x32a)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3ff3d1){const _0x1fb2ff=_0x410e2f;var _0x12d991,_0x4d49fd,_0x57e331,_0x1f3684,_0x35e8a9,_0x5d42f4;this['_color']=(_0x12d991=_0x3ff3d1['color'])!=null?_0x12d991:this[_0x1fb2ff(0x29c)],this[_0x1fb2ff(0x2a5)]=(_0x4d49fd=_0x3ff3d1[_0x1fb2ff(0x2ea)])!=null?_0x4d49fd:this[_0x1fb2ff(0x2a5)],this[_0x1fb2ff(0x3a0)]=(_0x57e331=_0x3ff3d1[_0x1fb2ff(0x31c)])!=null?_0x57e331:this[_0x1fb2ff(0x3a0)],this['_name']=(_0x1f3684=_0x3ff3d1[_0x1fb2ff(0x211)])!=null?_0x1f3684:this[_0x1fb2ff(0x297)],this[_0x1fb2ff(0x1b1)]=(_0x35e8a9=_0x3ff3d1[_0x1fb2ff(0x28b)])!=null?_0x35e8a9:this[_0x1fb2ff(0x1b1)],this[_0x1fb2ff(0x1ee)]=(_0x5d42f4=_0x3ff3d1[_0x1fb2ff(0x1be)])!=null?_0x5d42f4:this[_0x1fb2ff(0x1ee)],this[_0x1fb2ff(0x231)]({'width':_0x3ff3d1[_0x1fb2ff(0x382)],'height':_0x3ff3d1['height']});}['onMouseMove'](_0x3bf173){const _0x3e7c3f=_0x410e2f,{row:_0x45389b,column:_0x6d5fc1}=_0x3bf173;if(_0x45389b>=this[_0x3e7c3f(0x3a0)][_0x3e7c3f(0x24d)]&&_0x45389b<=this['_range'][_0x3e7c3f(0x1d0)]&&_0x6d5fc1>=this[_0x3e7c3f(0x3a0)][_0x3e7c3f(0x313)]&&_0x6d5fc1<=this['_range'][_0x3e7c3f(0x344)]){this[_0x3e7c3f(0x1ef)]({'hovered':!0x0});return;}this[_0x3e7c3f(0x1ef)]({'hovered':!0x1});}['triggerDblclick'](_0x54e46e){return!0x1;}['_draw'](_0x46f153){const _0x5bdcea=_0x410e2f;_0x3ac2f9[_0x5bdcea(0x2ca)](_0x46f153,{'width':this[_0x5bdcea(0x382)],'height':this[_0x5bdcea(0x203)],'strokeWidth':Wi,'stroke':this[_0x5bdcea(0x29c)],'evented':!0x1,'fill':this[_0x5bdcea(0x1ee)]}),this[_0x5bdcea(0x2a5)]&&(_0x46f153[_0x5bdcea(0x2aa)](),_0x46f153[_0x5bdcea(0x33d)](0x1,0x0,0x0,0x1,this[_0x5bdcea(0x382)],this['_labelPosition']===_0x5bdcea(0x1a7)?0x0:-J),ue[_0x5bdcea(0x2ca)](_0x46f153,{'text':this['_name'],'color':this['_color']}),_0x46f153[_0x5bdcea(0x282)]());}}var Gi=Object[_0x410e2f(0x38f)],Ki=(_0x322c45,_0x276a1e,_0x29755f,_0x280b70)=>{for(var _0x5c4c62=_0x280b70>0x1?void 0x0:_0x280b70?Gi(_0x276a1e,_0x29755f):_0x276a1e,_0x38a057=_0x322c45['length']-0x1,_0x426791;_0x38a057>=0x0;_0x38a057--)(_0x426791=_0x322c45[_0x38a057])&&(_0x5c4c62=_0x426791(_0x5c4c62)||_0x5c4c62);return _0x5c4c62;},pe=(_0x452c02,_0x36a03d)=>(_0x2187cd,_0x44f277)=>_0x36a03d(_0x2187cd,_0x44f277,_0x452c02);const zi=0x1389;let Pe=class extends _0x37d099{constructor(_0x1458c3,_0x2a84d5,_0x7e1122,_0x3808da){const _0x4ae4ba=_0x410e2f;super(),_(this,_0x4ae4ba(0x1ed),new Set()),_(this,_0x4ae4ba(0x33b),null),(this[_0x4ae4ba(0x29d)]=_0x1458c3,this[_0x4ae4ba(0x36f)]=_0x2a84d5,this[_0x4ae4ba(0x333)]=_0x7e1122,this[_0x4ae4ba(0x1c6)]=_0x3808da,this[_0x4ae4ba(0x2cf)]());}[_0x410e2f(0x2cf)](){const _0x1a27ae=_0x410e2f;this[_0x1a27ae(0x36f)][_0x1a27ae(0x1c0)]['pipe'](_0x2a77c0(this['dispose$']),_0x2c6dd7(_0x2bc536=>{const _0x279c2a=_0x1a27ae;if(_0x2bc536){const _0x495d15=_0x2bc536[_0x279c2a(0x23f)];return _0x444b4a(this['_collabCursorController'][_0x279c2a(0x2ef)](this[_0x279c2a(0x29d)]['unitId']),this[_0x279c2a(0x1c6)]['currentTheme$'])['pipe'](_0xf928f6(([_0x1952e4,_0x83076e])=>{const _0x153eff=_0x279c2a,_0x589c65=new Map();return _0x1952e4[_0x153eff(0x29f)]((_0x24556e,_0x4d2919)=>{const _0x3a33ac=_0x153eff;if(_0x24556e[_0x3a33ac(0x1c1)]===_0x495d15){const _0x1d590d={..._0x24556e};_0x1d590d[_0x3a33ac(0x23a)]=this[_0x3a33ac(0x1c6)][_0x3a33ac(0x301)](_0x24556e[_0x3a33ac(0x23a)]),_0x589c65[_0x3a33ac(0x250)](_0x4d2919,_0x1d590d);}}),{'skeleton':_0x2bc536,'cursors':_0x589c65};}));}return _0xa797d8({'skeleton':null,'cursors':new Map()});}))[_0x1a27ae(0x2a0)](({skeleton:_0x44f6f7,cursors:_0xf8c50})=>{const _0x36358b=_0x1a27ae;this['_removeCollabCursors'](),_0x44f6f7&&this[_0x36358b(0x399)](_0x44f6f7,_0xf8c50);}),this[_0x1a27ae(0x36f)][_0x1a27ae(0x1c0)][_0x1a27ae(0x2a0)](_0x464dd8=>{const _0x21cff5=_0x1a27ae;if(_0x464dd8==null)return;const {skeleton:_0x360787}=_0x464dd8,{scene:_0x2ffd87}=this[_0x21cff5(0x29d)];_0x2ffd87['onPointerMove$'][_0x21cff5(0x32a)](_0x29e830(_0x4debe7=>{const _0x1cb04e=_0x21cff5;var _0x464bb2,_0x3aebcb;const {offsetX:_0x55314b,offsetY:_0x1df2b3}=_0x4debe7,{x:_0x5bae3b,y:_0x4a6135}=_0x2ffd87[_0x1cb04e(0x2cb)](_0x2e4f9c[_0x1cb04e(0x309)]([_0x55314b,_0x1df2b3])),{scaleX:_0x5b54db,scaleY:_0x4c447d}=_0x2ffd87[_0x1cb04e(0x317)](),_0x342f50=_0x2ffd87[_0x1cb04e(0x27b)](_0x40542a['VIEW_MAIN']),_0x44d828=_0x2ffd87['getVpScrollXYInfoByPosToVp'](_0x2e4f9c[_0x1cb04e(0x309)]([_0x5bae3b,_0x4a6135]),_0x342f50),_0x3e79c7=_0x360787[_0x1cb04e(0x1dd)](_0x55314b,_0x1df2b3,_0x5b54db,_0x4c447d,_0x44d828);((_0x464bb2=this[_0x1cb04e(0x33b)])==null?void 0x0:_0x464bb2['column'])===_0x3e79c7[_0x1cb04e(0x2f4)]&&((_0x3aebcb=this[_0x1cb04e(0x33b)])==null?void 0x0:_0x3aebcb[_0x1cb04e(0x327)])===_0x3e79c7[_0x1cb04e(0x327)]||this[_0x1cb04e(0x1ed)][_0x1cb04e(0x29f)](_0x4e8fd9=>{_0x4e8fd9['onMouseMove'](_0x3e79c7);});},0x64));});}[_0x410e2f(0x399)](_0x3355e6,_0x5ccd0d){const _0x38cc5f=_0x410e2f;var _0x5525dc;const _0x41c804=(_0x5525dc=this[_0x38cc5f(0x36f)][_0x38cc5f(0x1a4)]())==null?void 0x0:_0x5525dc[_0x38cc5f(0x20c)];if(!_0x41c804)return;const _0x3e19ef=this[_0x38cc5f(0x380)]();if(!_0x3e19ef)return;this[_0x38cc5f(0x1ed)][_0x38cc5f(0x29f)](_0x2764e9=>{const _0x3e8de3=_0x38cc5f;_0x2764e9[_0x3e8de3(0x356)]();});const {scene:_0x147137}=_0x3e19ef,_0x32b573=Ji(Array[_0x38cc5f(0x23e)](_0x5ccd0d[_0x38cc5f(0x30e)]()))[_0x38cc5f(0x36d)](_0x13f123=>{const _0x4b2a16=_0x38cc5f,{color:_0x44cbdc,range:_0x18fa5d,name:_0x4917f8,selection:_0xbf8210,sheetID:_0x2f7fab}=_0x13f123,{startColumn:_0x749f18,startRow:_0x403c77,endColumn:_0x19550c,endRow:_0x3d728c}=_0x18fa5d,_0x5d2c24=_0xe0dde6(_0x403c77,_0x749f18,_0x147137,_0x41c804),_0x5bfc05=_0xe0dde6(_0x3d728c,_0x19550c,_0x147137,_0x41c804),{columnHeaderHeightAndMarginTop:_0x2c3dfc}=_0x41c804,{startX:_0x3e0a55,startY:_0x35cc21}=_0x5d2c24,{endX:_0x2182aa,endY:_0xaa0889}=_0x5bfc05,_0x59766e=_0x2182aa-_0x3e0a55,_0x56f5c7=_0xaa0889-_0x35cc21,_0x1e7f88={'labelPosition':_0x35cc21-_0x2c3dfc>=J?_0x4b2a16(0x21a):_0x4b2a16(0x1a7),'sheetID':_0x2f7fab,'range':_0x18fa5d,'color':_0x44cbdc,'name':_0x4917f8,'selection':_0xbf8210,'left':_0x3e0a55,'top':_0x35cc21,'width':_0x59766e,'height':_0x56f5c7,'evented':!0x1,'zIndex':zi};return new Xi(_0x4917f8,_0x1e7f88);});_0x147137[_0x38cc5f(0x295)](_0x32b573,Vi),this[_0x38cc5f(0x1ed)]=new Set(_0x32b573);}[_0x410e2f(0x1b0)](){const _0x22cfb8=_0x410e2f;var _0x3454d9;(_0x3454d9=this['_cursors'])==null||_0x3454d9[_0x22cfb8(0x29f)](_0x1c990d=>_0x1c990d[_0x22cfb8(0x1f7)]());}['_getSheetObject'](){const _0x5914a8=_0x410e2f;return _0x119256(this[_0x5914a8(0x29d)][_0x5914a8(0x1f1)],this[_0x5914a8(0x29d)]);}};Pe=Ki([pe(0x1,_0x49cbca(_0x5c14fa)),pe(0x2,_0x49cbca(F)),pe(0x3,_0x49cbca(_0x59925e))],Pe);function Ji(_0x1aa91e){const _0xc40337=_0x410e2f,_0x39a4f6=new Map();return _0x1aa91e[_0xc40337(0x29f)](_0x2803ef=>{const _0x130c7a=_0xc40337;if(_0x39a4f6[_0x130c7a(0x216)](_0x2803ef[_0x130c7a(0x1d6)])){const _0x28239c=_0x39a4f6['get'](_0x2803ef[_0x130c7a(0x1d6)]);_0x28239c[_0x130c7a(0x211)]+=',\x20'+_0x2803ef[_0x130c7a(0x211)];}else _0x39a4f6[_0x130c7a(0x250)](_0x2803ef['selection'],_0x2803ef);}),Array[_0xc40337(0x23e)](_0x39a4f6[_0xc40337(0x30e)]());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x167621,_0x5316bb,_0x465d81,_0x1b83e0)=>{const _0xe3e20a=_0x410e2f;for(var _0x2410b3=_0x1b83e0>0x1?void 0x0:_0x1b83e0?Zi(_0x5316bb,_0x465d81):_0x5316bb,_0x41094d=_0x167621[_0xe3e20a(0x239)]-0x1,_0x5eb553;_0x41094d>=0x0;_0x41094d--)(_0x5eb553=_0x167621[_0x41094d])&&(_0x2410b3=_0x5eb553(_0x2410b3)||_0x2410b3);return _0x2410b3;},B=(_0x95682d,_0x4d0648)=>(_0x55fb1c,_0x152e8c)=>_0x4d0648(_0x55fb1c,_0x152e8c,_0x95682d);let ne=class extends _0x1adca6{constructor(_0x5933a8,_0xb9b426,_0x4f930c,_0x2c2dfd,_0x1da7ef,_0x32c767){const _0x753e82=_0x410e2f;super(),this[_0x753e82(0x1c8)]=_0x5933a8,this[_0x753e82(0x22b)]=_0xb9b426,this['_collaborationUIEventService']=_0x4f930c,this[_0x753e82(0x26c)]=_0x2c2dfd,this[_0x753e82(0x361)]=_0x1da7ef,this[_0x753e82(0x319)]=_0x32c767,this[_0x753e82(0x240)](),this['_initEvent']();}[_0x410e2f(0x240)](){const _0x3064e3=_0x410e2f;this['disposeWithMe'](this[_0x3064e3(0x1c8)]['registerBeforeClose'](()=>{const _0x906390=_0x3064e3;if(this[_0x906390(0x22b)][_0x906390(0x1ec)]['size'])return this[_0x906390(0x319)]['t'](_0x906390(0x2c8));}));}[_0x410e2f(0x359)](){const _0x2c93c6=_0x410e2f;this['disposeWithMe'](this[_0x2c93c6(0x353)][_0x2c93c6(0x338)][_0x2c93c6(0x2a0)](_0x76bbb4=>{const _0x383521=_0x2c93c6;_0x76bbb4['id']===_0x1cd5f0[_0x383521(0x30d)]&&this[_0x383521(0x26c)][_0x383521(0x230)]({'type':_0x2ae62e[_0x383521(0x2be)],'content':this[_0x383521(0x319)]['t'](_0x383521(0x1a3))}),_0x76bbb4['id']===_0x1cd5f0[_0x383521(0x2bf)]&&this[_0x383521(0x26c)][_0x383521(0x230)]({'type':_0x2ae62e[_0x383521(0x2be)],'content':this[_0x383521(0x319)]['t'](_0x383521(0x34b))}),_0x76bbb4['id']===_0x1cd5f0[_0x383521(0x2a1)]&&this[_0x383521(0x361)][_0x383521(0x230)]({'title':this[_0x383521(0x319)]['t'](_0x383521(0x1d2)),'content':this[_0x383521(0x319)]['t']('permission.content'),'type':_0x383521(0x1d3),'duration':0x0}),_0x76bbb4['id']===_0x1cd5f0[_0x383521(0x1b9)]&&this['_messageService']['show']({'type':_0x2ae62e[_0x383521(0x225)],'content':this[_0x383521(0x319)]['t'](_0x383521(0x34b))+'('+_0x76bbb4[_0x383521(0x28f)]+')'}),_0x76bbb4['id']===_0x1cd5f0['JOIN_ROOM_FAILED']&&this['_messageService'][_0x383521(0x230)]({'type':_0x2ae62e[_0x383521(0x2be)],'content':this[_0x383521(0x319)]['t'](_0x76bbb4['data']||'')}),_0x76bbb4['id']===_0x1cd5f0[_0x383521(0x369)]&&this[_0x383521(0x26c)]['show']({'type':_0x2ae62e['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x76bbb4['id']===_0x1cd5f0['SOCKET_FAILED']&&this['_messageService'][_0x383521(0x230)]({'type':_0x2ae62e[_0x383521(0x225)],'content':this[_0x383521(0x319)]['t'](_0x383521(0x1bc))}),_0x76bbb4['id']===_0x1cd5f0[_0x383521(0x37d)]&&this['_messageService'][_0x383521(0x230)]({'type':_0x2ae62e['Error'],'content':this[_0x383521(0x319)]['t'](_0x383521(0x28e))});}));}};ne=Qi([B(0x0,_0x3f71e7),B(0x1,_0x4642f3),B(0x2,_0x49cbca(_0x22786c)),B(0x3,_0x39215b),B(0x4,_0x3c1b12),B(0x5,_0x49cbca(_0x44d7c9))],ne);const qi=_0x410e2f(0x35a),et={};var en=Object[_0x410e2f(0x38f)],tn=(_0x3c92c5,_0x141dd5,_0x23a321,_0x20c79e)=>{const _0x1ca265=_0x410e2f;for(var _0x5b05a4=_0x20c79e>0x1?void 0x0:_0x20c79e?en(_0x141dd5,_0x23a321):_0x141dd5,_0xc01170=_0x3c92c5[_0x1ca265(0x239)]-0x1,_0x45d5e1;_0xc01170>=0x0;_0xc01170--)(_0x45d5e1=_0x3c92c5[_0xc01170])&&(_0x5b05a4=_0x45d5e1(_0x5b05a4)||_0x5b05a4);return _0x5b05a4;},tt=(_0x3166d4,_0x4869b1)=>(_0x48745f,_0x4f539a)=>_0x4869b1(_0x48745f,_0x4f539a,_0x3166d4);let re=class{constructor(_0x31ec46,_0x47dea9){const _0x37fb08=_0x410e2f;this['_transformService']=_0x31ec46,this[_0x37fb08(0x2d4)]=_0x47dea9;}[_0x410e2f(0x234)](_0x3d1f96){const _0x29fb1c=_0x410e2f;this[_0x29fb1c(0x2b0)](_0x3d1f96),this[_0x29fb1c(0x306)](_0x3d1f96);}[_0x410e2f(0x33c)](_0x2570d7){const _0x3b18d4=_0x410e2f,{unitID:_0x45c24b}=_0x2570d7,_0x29bddc=this[_0x3b18d4(0x2d4)][_0x3b18d4(0x1f5)](_0x45c24b)[_0x3b18d4(0x2fe)](_0x1c10a4),{redoCache:_0x15454d}=_0x29bddc['getUndoRedoMutationParamsCache']();if(_0x15454d[_0x3b18d4(0x239)]===0x0)return _0x2570d7;let _0x7ba019=_0x1ad9e2[_0x3b18d4(0x36e)](_0x2570d7['mutations'][0x0]);for(let _0x46ae4c=0x0;_0x46ae4c<_0x15454d[_0x3b18d4(0x239)];_0x46ae4c++){const _0x718e7f={'id':_0x3b18d4(0x1fd),'params':{..._0x15454d[_0x46ae4c]}},_0x264142=this[_0x3b18d4(0x1a2)][_0x3b18d4(0x1b5)](_0x7ba019,_0x718e7f,!0x1);if(_0x335f80(_0x264142))throw _0x264142[_0x3b18d4(0x1d3)];_0x7ba019=_0x264142[_0x3b18d4(0x39d)];}return{..._0x1ad9e2[_0x3b18d4(0x36e)](_0x2570d7),'mutations':[_0x7ba019]};}[_0x410e2f(0x2b0)](_0x212e64){const _0x1cacb3=_0x410e2f,{unitID:_0x88344c}=_0x212e64,_0x34ea64=this[_0x1cacb3(0x2d4)]['getRenderById'](_0x88344c)[_0x1cacb3(0x2fe)](_0x1c10a4),{undoCache:_0x4072f4,redoCache:_0x5f2c90}=_0x34ea64['getUndoRedoMutationParamsCache']();if(_0x4072f4[_0x1cacb3(0x239)]===0x0||_0x5f2c90[_0x1cacb3(0x239)]===0x0)return;const _0x4146a8=[],_0x533db9=[];let _0x4be5c0=_0x1ad9e2[_0x1cacb3(0x36e)](_0x212e64[_0x1cacb3(0x318)][0x0]),_0x261197=_0x1ad9e2[_0x1cacb3(0x36e)](_0x212e64[_0x1cacb3(0x318)][0x0]);for(let _0x5ed8a3=_0x4072f4[_0x1cacb3(0x239)]-0x1;_0x5ed8a3>=0x0;_0x5ed8a3--){const _0x30fd31={'id':_0x1cacb3(0x1fd),'params':{..._0x4072f4[_0x5ed8a3]}},_0x5e7db3={'id':_0x1cacb3(0x1fd),'params':{..._0x5f2c90[_0x5ed8a3]}},_0x5e6fa8=this['_transformService'][_0x1cacb3(0x1b5)](_0x4be5c0,_0x30fd31,!0x1),_0x1a46b1=this[_0x1cacb3(0x1a2)][_0x1cacb3(0x1b5)](_0x261197,_0x5e7db3,!0x1);if(_0x335f80(_0x5e6fa8))throw _0x5e6fa8['error'];if(_0x335f80(_0x1a46b1))throw _0x1a46b1[_0x1cacb3(0x1d3)];_0x4146a8['unshift'](_0x5e6fa8[_0x1cacb3(0x29e)][_0x1cacb3(0x342)]),_0x533db9[_0x1cacb3(0x2e3)](_0x1a46b1[_0x1cacb3(0x29e)][_0x1cacb3(0x342)]),_0x4be5c0=_0x5e6fa8[_0x1cacb3(0x39d)],_0x261197=_0x1a46b1['m1Prime'];}_0x34ea64[_0x1cacb3(0x1b3)]({'undoCache':_0x4146a8,'redoCache':_0x533db9});}[_0x410e2f(0x306)](_0x3a30a8){const _0x8dff33=_0x410e2f,{unitID:_0x5c9d04}=_0x3a30a8,_0x5d86e5=this[_0x8dff33(0x2d4)]['getRenderById'](_0x5c9d04)['with'](_0x1c10a4),_0x40f0d0=_0x5d86e5[_0x8dff33(0x1da)]();if(_0x40f0d0==null)return;const _0x5a816e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a30a8[_0x8dff33(0x2fb)],'actions':null,'textRanges':[_0x40f0d0]}}],_0x4e4f09=this[_0x8dff33(0x1a2)]['transformMutationsWithChangeset'](_0x3a30a8,_0x5a816e);if(!_0x17211a(_0x4e4f09))throw _0x4e4f09['error'];const _0x460d1a=_0x4e4f09['m2Prime'][0x0][_0x8dff33(0x342)][_0x8dff33(0x30f)];Array['isArray'](_0x460d1a)&&_0x460d1a[_0x8dff33(0x239)]&&_0x5d86e5[_0x8dff33(0x1b2)](_0x460d1a[0x0]);}};re=tn([tt(0x0,_0x33cdb8),tt(0x1,_0x129b23)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x37cdc4,_0x109a33,_0x41a335,_0x5977b6)=>{const _0x3d3e4b=_0x410e2f;for(var _0x2e6e1d=_0x5977b6>0x1?void 0x0:_0x5977b6?sn(_0x109a33,_0x41a335):_0x109a33,_0xd129e2=_0x37cdc4[_0x3d3e4b(0x239)]-0x1,_0x231cbc;_0xd129e2>=0x0;_0xd129e2--)(_0x231cbc=_0x37cdc4[_0xd129e2])&&(_0x2e6e1d=_0x231cbc(_0x2e6e1d)||_0x2e6e1d);return _0x2e6e1d;},Ce=(_0x3f08db,_0x47cf80)=>(_0x16a06a,_0x19e46a)=>_0x47cf80(_0x16a06a,_0x19e46a,_0x3f08db);let oe=class{constructor(_0x34c734,_0x54c3dd,_0x283a86){const _0x5d9c94=_0x410e2f;this['_injector']=_0x34c734,this[_0x5d9c94(0x1a2)]=_0x54c3dd,this[_0x5d9c94(0x1e6)]=_0x283a86;}['transformStateCache'](_0x49b5b1){const _0x34094e=_0x410e2f;this[_0x34094e(0x352)](_0x49b5b1);}[_0x410e2f(0x33c)](_0x18ab53){const _0x4414a8=_0x410e2f,{unitID:_0x40a763}=_0x18ab53,{collaboration:_0x1072d2}=this[_0x4414a8(0x1e6)][_0x4414a8(0x257)](_0x40a763);if(_0x1072d2[_0x4414a8(0x239)]===0x0)return _0x18ab53;let _0x7dc1d0=_0x1ad9e2[_0x4414a8(0x36e)](_0x18ab53[_0x4414a8(0x318)][0x0]);for(let _0x153a6a=0x0;_0x153a6a<_0x1072d2[_0x4414a8(0x239)];_0x153a6a++){const _0x33646d={'id':_0x4414a8(0x1fd),'params':{'unitId':_0x1072d2[_0x153a6a][_0x4414a8(0x2da)],..._0x1072d2[_0x153a6a][_0x4414a8(0x1af)]}},_0x2d1e98=this[_0x4414a8(0x1a2)]['transformMutation'](_0x7dc1d0,_0x33646d,!0x1);if(_0x335f80(_0x2d1e98))throw _0x2d1e98[_0x4414a8(0x1d3)];_0x7dc1d0=_0x2d1e98[_0x4414a8(0x39d)];}return{..._0x1ad9e2['deepClone'](_0x18ab53),'mutations':[_0x7dc1d0]};}[_0x410e2f(0x352)](_0x32de7b){const _0x298687=_0x410e2f,{unitID:_0x4e3c9b}=_0x32de7b,{history:_0x46e8cb,collaboration:_0x2f4b56}=this[_0x298687(0x1e6)]['getStateCache'](_0x4e3c9b);if(_0x46e8cb[_0x298687(0x239)]===0x0&&_0x2f4b56[_0x298687(0x239)]===0x0)return;const _0x37d1f7=[],_0x2f9b14=[];let _0x3c484b=_0x1ad9e2[_0x298687(0x36e)](_0x32de7b[_0x298687(0x318)][0x0]),_0x48b86c=_0x1ad9e2[_0x298687(0x36e)](_0x32de7b[_0x298687(0x318)][0x0]);for(let _0x35bd2e=_0x46e8cb['length']-0x1;_0x35bd2e>=0x0;_0x35bd2e--){const _0x22c3e7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46e8cb[_0x35bd2e][_0x298687(0x2da)],..._0x46e8cb[_0x35bd2e]['undoState']}},_0x2cd93e={'id':_0x298687(0x1fd),'params':{'unitId':_0x46e8cb[_0x35bd2e][_0x298687(0x2da)],..._0x46e8cb[_0x35bd2e]['redoState']}},_0x5752f8=this[_0x298687(0x1a2)][_0x298687(0x1b5)](_0x3c484b,_0x22c3e7,!0x1),_0x4ea80e=this[_0x298687(0x1a2)][_0x298687(0x1b5)](_0x48b86c,_0x2cd93e,!0x1);if(_0x335f80(_0x5752f8))throw _0x5752f8[_0x298687(0x1d3)];if(_0x335f80(_0x4ea80e))throw _0x4ea80e['error'];_0x37d1f7[_0x298687(0x2e3)]({..._0x46e8cb[_0x35bd2e],'undoState':_0x5752f8[_0x298687(0x29e)][_0x298687(0x342)],'redoState':_0x4ea80e[_0x298687(0x29e)][_0x298687(0x342)]}),_0x3c484b=_0x5752f8[_0x298687(0x39d)],_0x48b86c=_0x4ea80e[_0x298687(0x39d)];}_0x3c484b=_0x1ad9e2[_0x298687(0x36e)](_0x32de7b[_0x298687(0x318)][0x0]),_0x48b86c=_0x1ad9e2[_0x298687(0x36e)](_0x32de7b['mutations'][0x0]);for(let _0x1dc64d=_0x2f4b56[_0x298687(0x239)]-0x1;_0x1dc64d>=0x0;_0x1dc64d--){const _0x565b3a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f4b56[_0x1dc64d][_0x298687(0x2da)],..._0x2f4b56[_0x1dc64d]['undoState']}},_0x54ca52={'id':_0x298687(0x1fd),'params':{'unitId':_0x2f4b56[_0x1dc64d][_0x298687(0x2da)],..._0x2f4b56[_0x1dc64d]['redoState']}},_0x4c554b=this[_0x298687(0x1a2)]['transformMutation'](_0x3c484b,_0x565b3a,!0x1),_0x23411d=this[_0x298687(0x1a2)][_0x298687(0x1b5)](_0x48b86c,_0x54ca52,!0x1);if(_0x335f80(_0x4c554b))throw _0x4c554b[_0x298687(0x1d3)];if(_0x335f80(_0x23411d))throw _0x23411d[_0x298687(0x1d3)];_0x2f9b14[_0x298687(0x2e3)]({..._0x2f4b56[_0x1dc64d],'undoState':_0x4c554b[_0x298687(0x29e)][_0x298687(0x342)],'redoState':_0x23411d['m2Prime'][_0x298687(0x342)]}),_0x3c484b=_0x4c554b[_0x298687(0x39d)],_0x48b86c=_0x23411d[_0x298687(0x39d)];}this['_docStateChangeManagerService']['setStateCache'](_0x4e3c9b,{'history':_0x37d1f7,'collaboration':_0x2f9b14});}};oe=nn([Ce(0x0,_0x49cbca(_0x462b5d)),Ce(0x1,_0x33cdb8),Ce(0x2,_0x49cbca(_0x48efb8))],oe);var rn=Object[_0x410e2f(0x38f)],on=(_0x1303e1,_0x337c63,_0x340b01,_0x230028)=>{const _0x32f05d=_0x410e2f;for(var _0xcf1d0e=_0x230028>0x1?void 0x0:_0x230028?rn(_0x337c63,_0x340b01):_0x337c63,_0x35442a=_0x1303e1[_0x32f05d(0x239)]-0x1,_0x2d3227;_0x35442a>=0x0;_0x35442a--)(_0x2d3227=_0x1303e1[_0x35442a])&&(_0xcf1d0e=_0x2d3227(_0xcf1d0e)||_0xcf1d0e);return _0xcf1d0e;},st=(_0x4bd959,_0x4b7cc7)=>(_0x486f41,_0x480eb5)=>_0x4b7cc7(_0x486f41,_0x480eb5,_0x4bd959);let ae=class{constructor(_0x1f1bc7,_0x36eee7){this['_injector']=_0x1f1bc7,this['_transformService']=_0x36eee7;}['transformSelections'](_0x320d9b){const _0x3a06b3=_0x410e2f;var _0x42e5b8;const _0x2b4351=this['_injector'][_0x3a06b3(0x343)](_0x38b29d),_0x24d07f=(_0x42e5b8=_0x2b4351[_0x3a06b3(0x33e)]())!=null?_0x42e5b8:[];if(_0x24d07f[_0x3a06b3(0x239)]===0x0)return;const _0x423bb7=_0x320d9b[_0x3a06b3(0x2fb)],_0x15b86e=[{'id':_0x3a06b3(0x1fd),'params':{'unitId':_0x423bb7,'actions':null,'textRanges':_0x24d07f}}],_0x5f215a=this[_0x3a06b3(0x1a2)][_0x3a06b3(0x2db)](_0x320d9b,_0x15b86e);if(!_0x17211a(_0x5f215a))throw _0x5f215a[_0x3a06b3(0x1d3)];const _0x327de3=_0x5f215a[_0x3a06b3(0x29e)][0x0]['params'][_0x3a06b3(0x30f)];Array[_0x3a06b3(0x362)](_0x327de3)&&_0x327de3['length']&&_0x2b4351[_0x3a06b3(0x355)](_0x327de3,{'unitId':_0x423bb7,'subUnitId':_0x423bb7},!0x1);}};ae=on([st(0x0,_0x49cbca(_0x462b5d)),st(0x1,_0x33cdb8)],ae);var an=Object[_0x410e2f(0x38f)],cn=(_0x5669a9,_0x1c9b97,_0x43928d,_0x5e5c2a)=>{const _0x10d869=_0x410e2f;for(var _0x14587a=_0x5e5c2a>0x1?void 0x0:_0x5e5c2a?an(_0x1c9b97,_0x43928d):_0x1c9b97,_0x183bb5=_0x5669a9[_0x10d869(0x239)]-0x1,_0xa1129b;_0x183bb5>=0x0;_0x183bb5--)(_0xa1129b=_0x5669a9[_0x183bb5])&&(_0x14587a=_0xa1129b(_0x14587a)||_0x14587a);return _0x14587a;},N=(_0x4b1b9d,_0x4b0563)=>(_0x4defa1,_0x51e924)=>_0x4b0563(_0x4defa1,_0x51e924,_0x4b1b9d);let ce=class extends _0x1adca6{constructor(_0x18c3d1,_0x51892a,_0x5cbf90,_0x2415c9,_0x23ee0a,_0x30065f,_0x3ddf84,_0x2997c4){const _0xcc4642=_0x410e2f;super(),_(this,_0xcc4642(0x36c),new _0x75828e(_0x144a96[_0xcc4642(0x39a)])),(this[_0xcc4642(0x1e6)]=_0x18c3d1,this[_0xcc4642(0x1aa)]=_0x51892a,this[_0xcc4642(0x269)]=_0x5cbf90,this[_0xcc4642(0x2ec)]=_0x2415c9,this[_0xcc4642(0x205)]=_0x23ee0a,this[_0xcc4642(0x2ad)]=_0x30065f,this['_messageService']=_0x3ddf84,this[_0xcc4642(0x319)]=_0x2997c4,this[_0xcc4642(0x1ad)]());}[_0x410e2f(0x1ad)](){const _0x58cb18=_0x410e2f;this[_0x58cb18(0x245)](this[_0x58cb18(0x1aa)][_0x58cb18(0x324)][_0x58cb18(0x2a0)](_0x5b91d3=>{const _0x271697=_0x58cb18,_0x15d5e8=this['_docStateChangeManagerService'][_0x271697(0x1a1)]['subscribe'](_0x13d789=>{const _0x18741c=_0x271697;if(_0x13d789==null)return;const {unitId:_0x4296ec,redoState:_0x4a07fc,commandId:_0x1b0b09}=_0x13d789;if(_0x4296ec!==_0x5b91d3[_0x18741c(0x2fb)])return;const _0x2cff0f={'id':_0x1b0b09,'type':_0x435bf4['MUTATION'],'params':{'unitId':_0x4296ec,'actions':_0x4a07fc[_0x18741c(0x2ff)],'textRanges':null}};_0x5b91d3['onLocalMutation'](_0x2cff0f);});if(_0x5b91d3[_0x271697(0x245)](_0x15d5e8),_0x5b91d3 instanceof _0x81fb95){const _0x599ea2={'onTransformIME':_0x2b3051=>this['_docTransformIMECacheService']['transformIMECache'](_0x2b3051),'onTransformState':_0x45e3e3=>this[_0x271697(0x2ec)]['transformStateCache'](_0x45e3e3),'onTransformSelections':_0x3d5658=>this[_0x271697(0x205)][_0x271697(0x22e)](_0x3d5658),'onSyncEditingCollabCursor':_0x42dc0e=>this[_0x271697(0x2ad)][_0x271697(0x34a)](_0x42dc0e),'onTransformRemoteChangesetByIMECache':_0x3bc4cd=>this[_0x271697(0x269)]['transformRemoteChangeset'](_0x3bc4cd),'onTransformRemoteChangesetByStateCache':_0x409f43=>this[_0x271697(0x2ec)][_0x271697(0x33c)](_0x409f43)};_0x5b91d3[_0x271697(0x354)](_0x599ea2);}}));}};ce=cn([N(0x0,_0x49cbca(_0x48efb8)),N(0x1,_0x49cbca(_0x16a1d8)),N(0x2,_0x49cbca(re)),N(0x3,_0x49cbca(oe)),N(0x4,_0x49cbca(ae)),N(0x5,_0x49cbca(Fe)),N(0x6,_0x39215b),N(0x7,_0x49cbca(_0x44d7c9))],ce);var ln=Object[_0x410e2f(0x38f)],_n=(_0x5693aa,_0x2e2e06,_0x187eee,_0xd96d92)=>{for(var _0x14d984=_0xd96d92>0x1?void 0x0:_0xd96d92?ln(_0x2e2e06,_0x187eee):_0x2e2e06,_0xdb495=_0x5693aa['length']-0x1,_0x2e9e49;_0xdb495>=0x0;_0xdb495--)(_0x2e9e49=_0x5693aa[_0xdb495])&&(_0x14d984=_0x2e9e49(_0x14d984)||_0x14d984);return _0x14d984;},Ee=(_0x4965a7,_0x315466)=>(_0x3c5276,_0x5b8a03)=>_0x315466(_0x3c5276,_0x5b8a03,_0x4965a7);let we=class extends _0x1adca6{constructor(_0x5585ed,_0x57da02,_0x493691){const _0x2faa49=_0x410e2f;super(),_(this,_0x2faa49(0x2b5),new Map()),_(this,_0x2faa49(0x392),new Map()),_(this,_0x2faa49(0x27a),!0x1),(this[_0x2faa49(0x341)]=_0x5585ed,this[_0x2faa49(0x328)]=_0x57da02,this['_revisionService']=_0x493691);}[_0x410e2f(0x236)](){const _0x464a9d=_0x410e2f;this[_0x464a9d(0x27a)]=!0x0;}[_0x410e2f(0x2b3)](){const _0x3b2d43=_0x410e2f;this[_0x3b2d43(0x27a)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x410e2f(0x1f7)](){const _0x47a2f2=_0x410e2f;this[_0x47a2f2(0x311)]()['then'](()=>super['dispose']());}async[_0x410e2f(0x25e)](_0x5f1366){const _0x3c92ab=_0x410e2f;return this[_0x3c92ab(0x27a)]?null:this[_0x3c92ab(0x328)][_0x3c92ab(0x292)](_0x30319c(_0x5f1366));}async[_0x410e2f(0x366)](_0x30fae8,_0x26db83){const _0x4ccdc8=_0x410e2f;return!!this[_0x4ccdc8(0x328)]['setItem'](_0x30fae8,_0x26db83);}[_0x410e2f(0x2c4)](_0x2fc871,_0x2a0997,_0x365d86,_0xf56412){const _0x17e783=_0x410e2f,_0x39d82d=this['_revisionService']['getCurrentRevOfUnit'](_0x2fc871);this[_0x17e783(0x2b5)][_0x17e783(0x250)](_0x2fc871,{'unitID':_0x2fc871,'type':_0x2a0997,'awaitingChangeset':_0x365d86,'mutations':_0xf56412,'rev':_0x39d82d}),this[_0x17e783(0x392)]['has'](_0x2fc871)||this[_0x17e783(0x387)](_0x2fc871);}['_scheduleSaving'](_0x67c6ea){const _0xa3ea3f=_0x410e2f,_0x353daf=this[_0xa3ea3f(0x34d)]();_0x353daf===0x0?this[_0xa3ea3f(0x38e)](_0x67c6ea):this[_0xa3ea3f(0x392)][_0xa3ea3f(0x250)](_0x67c6ea,setTimeout(()=>this[_0xa3ea3f(0x38e)](_0x67c6ea),_0x353daf));}[_0x410e2f(0x34d)](){const _0x1049ff=_0x410e2f;var _0x215fa8;return(_0x215fa8=this['_configService'][_0x1049ff(0x256)](_0x75bb8c))!=null?_0x215fa8:_0x10e8a8;}[_0x410e2f(0x38e)](_0x2fa562){const _0xd9033d=_0x410e2f,_0x5acec3=this[_0xd9033d(0x392)][_0xd9033d(0x343)](_0x2fa562);return _0x5acec3!==void 0x0&&window[_0xd9033d(0x351)](_0x5acec3),this[_0xd9033d(0x328)][_0xd9033d(0x389)](_0x30319c(_0x2fa562),this['_cachedData']['get'](_0x2fa562))[_0xd9033d(0x241)](()=>this[_0xd9033d(0x392)][_0xd9033d(0x1ff)](_0x2fa562));}async['exhaustSavingTask'](){const _0x588390=_0x410e2f,_0x4dbeb3=[];this[_0x588390(0x392)][_0x588390(0x29f)]((_0x1e48b9,_0x9db1ca)=>{const _0x4a34d5=_0x588390;window[_0x4a34d5(0x351)](_0x1e48b9),_0x4dbeb3[_0x4a34d5(0x298)](this['_saveCache'](_0x9db1ca)['then'](()=>{const _0x1247e6=_0x4a34d5;this[_0x1247e6(0x392)][_0x1247e6(0x1ff)](_0x9db1ca);}));}),await Promise[_0x588390(0x24b)](_0x4dbeb3);}};function _0x346c(_0x2b6bac,_0x73ee36){const _0x3ce9b4=_0x3ce9();return _0x346c=function(_0x346cd6,_0x1ad19f){_0x346cd6=_0x346cd6-0x1a0;let _0x5b238e=_0x3ce9b4[_0x346cd6];return _0x5b238e;},_0x346c(_0x2b6bac,_0x73ee36);}we=_n([Ee(0x0,_0x3087ff),Ee(0x1,_0xe71238),Ee(0x2,_0x49cbca(_0x4a04e8))],we);class hn extends _0x37d099{constructor(){const _0x3de31a=_0x410e2f;super(),_(this,_0x3de31a(0x254)),this[_0x3de31a(0x254)]=_0x152d98(window,_0x3de31a(0x37e))[_0x3de31a(0x2f5)](_0x5d2f87(this[_0x3de31a(0x296)]),_0x1ec7f1(0x1),_0x39327b(void 0x0));}[_0x410e2f(0x2fd)](_0x2c6308,_0xe7660e,_0x88bedd=!0x1){const _0xa3240b=_0x410e2f,_0x3a80e8=new URL(window[_0xa3240b(0x35d)][_0xa3240b(0x2f2)]);_0x3a80e8['searchParams'][_0xa3240b(0x250)](_0x2c6308,_0xe7660e),_0x88bedd?window[_0xa3240b(0x2c6)]['replaceState']('','',_0x3a80e8[_0xa3240b(0x363)]()):window[_0xa3240b(0x2c6)][_0xa3240b(0x391)]('','',_0x3a80e8[_0xa3240b(0x363)]());}[_0x410e2f(0x233)](_0x521263,_0x369eeb=!0x1){const _0x2ffb42=_0x410e2f,_0x3c47cc=new URL(window['location'][_0x2ffb42(0x2f2)]);_0x3c47cc[_0x2ffb42(0x25c)][_0x2ffb42(0x1ff)](_0x521263),_0x369eeb?window[_0x2ffb42(0x2c6)][_0x2ffb42(0x1f6)]('','',_0x3c47cc[_0x2ffb42(0x363)]()):window['history'][_0x2ffb42(0x391)]('','',_0x3c47cc[_0x2ffb42(0x363)]());}[_0x410e2f(0x1d5)](_0x2e9486){const _0x277af5=_0x410e2f;var _0x27f9ff;return(_0x27f9ff=new URL(window[_0x277af5(0x35d)]['href'])['searchParams'][_0x277af5(0x343)](_0x2e9486))!=null?_0x27f9ff:void 0x0;}}var un=Object[_0x410e2f(0x2cc)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x56af24,_0x1ffeaa,_0x54640e)=>_0x1ffeaa in _0x56af24?un(_0x56af24,_0x1ffeaa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54640e}):_0x56af24[_0x1ffeaa]=_0x54640e,Sn=(_0x5845ea,_0x5d25ac,_0x15b1a4,_0x1f7158)=>{const _0x44aada=_0x410e2f;for(var _0x10514f=_0x1f7158>0x1?void 0x0:_0x1f7158?dn(_0x5d25ac,_0x15b1a4):_0x5d25ac,_0x2caaca=_0x5845ea[_0x44aada(0x239)]-0x1,_0x1b001d;_0x2caaca>=0x0;_0x2caaca--)(_0x1b001d=_0x5845ea[_0x2caaca])&&(_0x10514f=_0x1b001d(_0x10514f)||_0x10514f);return _0x10514f;},Oe=(_0x4466fb,_0x4ff4eb)=>(_0x442423,_0x32da00)=>_0x4ff4eb(_0x442423,_0x32da00,_0x4466fb),mn=(_0x5adfd6,_0x4910f8,_0x47dead)=>fn(_0x5adfd6,_0x4910f8+'',_0x47dead);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x44cc20{constructor(_0x3687c2=et,_0x2ef71f,_0xe57b74,_0x23c8f7){const _0x25b2a6=_0x410e2f;super(),this[_0x25b2a6(0x2ed)]=_0x3687c2,this[_0x25b2a6(0x2d4)]=_0x2ef71f,this['_injector']=_0xe57b74,this[_0x25b2a6(0x341)]=_0x23c8f7;const {..._0x2efd1c}=_0x571f3b({},et,this[_0x25b2a6(0x2ed)]);this[_0x25b2a6(0x341)]['setConfig'](qi,_0x2efd1c);}['onStarting'](){const _0x2e8851=_0x410e2f;this[_0x2e8851(0x208)](),this['_initDependencies']();}[_0x410e2f(0x347)](){const _0x248781=_0x410e2f;this[_0x248781(0x2a6)]();}[_0x410e2f(0x208)](){const _0x140f33=_0x410e2f;var _0x519e26;const _0x1d25fd=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x5e861b,{'useClass':_0x266841}],[_0x4642f3,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x10fc54(this[_0x140f33(0x20a)],_0x4c3d6e(_0x1d25fd,(_0x519e26=this[_0x140f33(0x2ed)])==null?void 0x0:_0x519e26[_0x140f33(0x2f6)]));}['_registerRenderDependencies'](){const _0x13cfc1=_0x410e2f;this[_0x13cfc1(0x245)](this[_0x13cfc1(0x2d4)][_0x13cfc1(0x1bd)](_0xaed918[_0x13cfc1(0x1e3)],[Le])),this['disposeWithMe'](this[_0x13cfc1(0x2d4)]['registerRenderModule'](_0xaed918['UNIVER_SHEET'],[Pe]));}[_0x410e2f(0x26b)](){const _0x4b5662=_0x410e2f;_0x476c54(this[_0x4b5662(0x20a)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x410e2f(0x376),In),Ae=Sn([_0x3e2d4a(_0x4b8973),Oe(0x1,_0x129b23),Oe(0x2,_0x49cbca(_0x462b5d)),Oe(0x3,_0x3087ff)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x1ffd68,_0x57453b,_0x15a888,_0x728421)=>{const _0x3f1c0c=_0x410e2f;for(var _0x1f41ae=_0x728421>0x1?void 0x0:_0x728421?vn(_0x57453b,_0x15a888):_0x57453b,_0x1e2dbd=_0x1ffd68[_0x3f1c0c(0x239)]-0x1,_0x48a4b5;_0x1e2dbd>=0x0;_0x1e2dbd--)(_0x48a4b5=_0x1ffd68[_0x1e2dbd])&&(_0x1f41ae=_0x48a4b5(_0x1f41ae)||_0x1f41ae);return _0x1f41ae;},z=(_0x55441c,_0x1fb402)=>(_0x40cf35,_0x1d7112)=>_0x1fb402(_0x40cf35,_0x1d7112,_0x55441c);let it=class extends _0x531b9b{constructor(_0x172da3,_0x8b5430,_0x49129a,_0x4d134a,_0x13ff5f){super(_0x172da3,_0x8b5430,_0x49129a,_0x4d134a,_0x13ff5f);}async['createSocket'](_0x4322b9){const _0x2627e2=_0x410e2f,_0x3ada45=await this[_0x2627e2(0x276)](),_0x285968=this[_0x2627e2(0x209)](_0x4322b9,_0x3ada45);return this[_0x2627e2(0x393)](_0x285968);}['_createSocketURL'](_0x927bb9,_0x3464c6){const _0x3aab06=_0x410e2f,_0x685675=typeof window>'u'?new URL(_0x927bb9):new URL(_0x927bb9,window['location'][_0x3aab06(0x302)]);_0x685675[_0x3aab06(0x25c)][_0x3aab06(0x250)](_0x3aab06(0x2f8),_0x3464c6);const _0x5c0b33=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3aab06(0x35d)][_0x3aab06(0x1e1)]);return _0x5c0b33[_0x3aab06(0x343)](_0x3aab06(0x2b8))&&_0x685675[_0x3aab06(0x25c)]['set'](_0x3aab06(0x2b8),_0x5c0b33['get'](_0x3aab06(0x2b8))),_0x685675[_0x3aab06(0x363)]();}async[_0x410e2f(0x276)](){const _0x46255c=_0x410e2f;var _0x1f6da1,_0x4f2c03,_0x3c0927;const _0x490d63=this[_0x46255c(0x341)][_0x46255c(0x256)](_0x46d8ad),_0x121b2b=(_0x1f6da1=_0x490d63==null?void 0x0:_0x490d63[_0x46255c(0x244)])!=null?_0x1f6da1:_0x11b52e;return(_0x3c0927=(_0x4f2c03=(await this[_0x46255c(0x23d)]['get'](_0x121b2b,{'headers':{'Content-Type':_0x46255c(0x2ee)}}))[_0x46255c(0x35f)])==null?void 0x0:_0x4f2c03[_0x46255c(0x22f)])!=null?_0x3c0927:'';}};it=gn([z(0x0,_0x49cbca(_0x462b5d)),z(0x1,_0x49cbca(_0x203091)),z(0x2,_0x3087ff),z(0x3,_0x145fcd),z(0x4,_0x532e6c)],it);var Lt=(_0x2e3d7d=>(_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x22c)]=0x0]=_0x410e2f(0x22c),_0x2e3d7d[_0x2e3d7d['OK']=0x1]='OK',_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x20b)]=0x2]=_0x410e2f(0x20b),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x2a1)]=0x3]=_0x410e2f(0x2a1),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x1cc)]=0x4]=_0x410e2f(0x1cc),_0x2e3d7d[_0x2e3d7d['UNAUTHENTICATED']=0x5]=_0x410e2f(0x1c3),_0x2e3d7d[_0x2e3d7d['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x23b)]=0x7]=_0x410e2f(0x23b),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x349)]=0x8]=_0x410e2f(0x349),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x315)]=0x9]=_0x410e2f(0x315),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x1f2)]=0xa]=_0x410e2f(0x1f2),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x3a1)]=0xb]=_0x410e2f(0x3a1),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x261)]=0xc]=_0x410e2f(0x261),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x1fa)]=0xd]=_0x410e2f(0x1fa),_0x2e3d7d[_0x2e3d7d['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x410e2f(0x2dc),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x1f0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x1ca)]=0x1771]=_0x410e2f(0x1ca),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x2f7)]=0x1772]=_0x410e2f(0x2f7),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x39f)]=0x1773]=_0x410e2f(0x39f),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x27e)]=0x1b59]=_0x410e2f(0x27e),_0x2e3d7d[_0x2e3d7d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x2a8)]=0x1b5b]=_0x410e2f(0x2a8),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x207)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2e3d7d[_0x2e3d7d['APPLY_DUPLICATED']=0x1b5d]=_0x410e2f(0x329),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x1c9)]=0x1f41]=_0x410e2f(0x1c9),_0x2e3d7d[_0x2e3d7d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x410e2f(0x214),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x1ab)]=0x232a]=_0x410e2f(0x1ab),_0x2e3d7d[_0x2e3d7d['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x410e2f(0x304),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x265)]=0x232c]=_0x410e2f(0x265),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x284)]=0x232d]=_0x410e2f(0x284),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x38a)]=0x2711]=_0x410e2f(0x38a),_0x2e3d7d[_0x2e3d7d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x410e2f(0x2e7),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x33a)]=0x2713]=_0x410e2f(0x33a),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x1fc)]=0x2714]=_0x410e2f(0x1fc),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x2f1)]=0x271a]=_0x410e2f(0x2f1),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x2b9)]=0x271b]=_0x410e2f(0x2b9),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x1a5)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x2c9)]=0x271d]=_0x410e2f(0x2c9),_0x2e3d7d[_0x2e3d7d['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x410e2f(0x34e),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x274)]=0x271f]=_0x410e2f(0x274),_0x2e3d7d[_0x2e3d7d['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x410e2f(0x1df),_0x2e3d7d[_0x2e3d7d['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x410e2f(0x1c7),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x2a7)]=0x2ee1]=_0x410e2f(0x2a7),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x330)]=0x2ee2]=_0x410e2f(0x330),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x37b)]=0x2ee3]=_0x410e2f(0x37b),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x2bd)]=0x2ee4]=_0x410e2f(0x2bd),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x24e)]=0x2ee5]=_0x410e2f(0x24e),_0x2e3d7d[_0x2e3d7d['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x410e2f(0x2eb),_0x2e3d7d[_0x2e3d7d['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x410e2f(0x35e),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x360)]=0x32cb]=_0x410e2f(0x360),_0x2e3d7d[_0x2e3d7d[_0x410e2f(0x2d6)]=-0x1]=_0x410e2f(0x2d6),_0x2e3d7d))(Lt||{}),pn=Object[_0x410e2f(0x38f)],Cn=(_0x278768,_0x5ea3c1,_0x49d764,_0x11e741)=>{const _0x1216b6=_0x410e2f;for(var _0x32ba7e=_0x11e741>0x1?void 0x0:_0x11e741?pn(_0x5ea3c1,_0x49d764):_0x5ea3c1,_0x2590f0=_0x278768[_0x1216b6(0x239)]-0x1,_0x40e919;_0x2590f0>=0x0;_0x2590f0--)(_0x40e919=_0x278768[_0x2590f0])&&(_0x32ba7e=_0x40e919(_0x32ba7e)||_0x32ba7e);return _0x32ba7e;},be=(_0x5ba4e8,_0x2f5195)=>(_0x48276e,_0xc581e4)=>_0x2f5195(_0x48276e,_0xc581e4,_0x5ba4e8);let nt=class extends _0x1adca6{constructor(_0x3a8ecc,_0x5230a2,_0x558402){const _0x398d53=_0x410e2f;super(),this['_instanceService']=_0x3a8ecc,this[_0x398d53(0x23d)]=_0x5230a2,this[_0x398d53(0x341)]=_0x558402;}async['runOnServer'](_0x23d834,_0x41a40a,_0x50dd45,..._0x29ea11){const _0x5f4193=_0x410e2f;var _0x5dd73c,_0x5eb31b,_0x41bfe0,_0x305884;const _0x3c72ef=this['_instanceService'][_0x5f4193(0x2a9)]();if(!_0x3c72ef)throw new Error(_0x5f4193(0x1d4));const _0x29b1c5=((_0x5dd73c=this['_configService'][_0x5f4193(0x256)](_0x4e5fea))!=null?_0x5dd73c:_0x4a5426)+'/'+_0x23d834+_0x5f4193(0x273)+_0x41a40a,_0x2e773f=new URL(window['location']['href']),_0x5d74d7={'scriptId':_0x23d834,'runId':(_0x5eb31b=_0x2e773f[_0x5f4193(0x25c)]['get']('runId'))!=null?_0x5eb31b:'','function':_0x41a40a,'unitId':_0x3c72ef[_0x5f4193(0x31f)](),'argsOfFunction':JSON[_0x5f4193(0x395)](_0x29ea11),'invokeId':(_0x41bfe0=_0x50dd45[_0x5f4193(0x21f)])!=null?_0x41bfe0:'','executionId':(_0x305884=_0x50dd45[_0x5f4193(0x26e)])!=null?_0x305884:''};try{const _0x280115=await this[_0x5f4193(0x23d)]['post'](_0x29b1c5,{'body':_0x5d74d7});return _0x280115['body'][_0x5f4193(0x1d3)]&&_0x280115[_0x5f4193(0x35f)][_0x5f4193(0x1d3)][_0x5f4193(0x300)]!==Lt['OK']?_0x5f4193(0x2ac):_0x280115[_0x5f4193(0x35f)]['result'];}catch{return _0x5f4193(0x2ac);}}};nt=Cn([be(0x0,_0x3d0baf),be(0x1,_0x49cbca(_0x203091)),be(0x2,_0x3087ff)],nt);const rt=0x7530,ot=_0x410e2f(0x290);class Fn extends _0x1adca6{constructor(){const _0x5cf89d=_0x410e2f;super(),_(this,'_id',_0x210b2e()),_(this,_0x5cf89d(0x1e4),new Set()),_(this,_0x5cf89d(0x1bb),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x5cf89d(0x2cd),new Map()),_(this,_0x5cf89d(0x2d0),new Map()),this[_0x5cf89d(0x2cf)]();}[_0x410e2f(0x1f7)](){const _0x123ea9=_0x410e2f;super[_0x123ea9(0x1f7)](),this[_0x123ea9(0x2cd)][_0x123ea9(0x29f)]((_0x24a35f,_0x404191)=>this['_removeClearOtherTimer'](_0x404191)),this[_0x123ea9(0x374)]&&window[_0x123ea9(0x396)](this[_0x123ea9(0x374)]);}[_0x410e2f(0x26f)](_0x429e89){return this['_ensureSubject'](_0x429e89)['pipe'](_0x3d68fd());}[_0x410e2f(0x2e1)](_0x1b2d72){const _0x1b8588=_0x410e2f;this[_0x1b8588(0x1e4)]['size']===0x0&&this[_0x1b8588(0x255)](),this['_selfUnitIDs'][_0x1b8588(0x285)](_0x1b2d72),this[_0x1b8588(0x39c)]({'type':0x0,'memberID':this[_0x1b8588(0x1d9)],'unitIDs':[_0x1b2d72],'isForwarded':!0x1});}[_0x410e2f(0x1eb)](_0x90b4ae){const _0x1faa29=_0x410e2f;this[_0x1faa29(0x1e4)][_0x1faa29(0x1ff)](_0x90b4ae),this[_0x1faa29(0x1e4)][_0x1faa29(0x263)]===0x0&&this[_0x1faa29(0x374)]&&window[_0x1faa29(0x396)](this['_heartbeatTimer']);}[_0x410e2f(0x2cf)](){const _0x2395cb=_0x410e2f;this[_0x2395cb(0x245)](_0x4a56c0(_0x152d98(window,_0x2395cb(0x398))['subscribe'](_0x4ce774=>{const _0x567caf=_0x2395cb;if(_0x4ce774['key']!==ot||!_0x4ce774[_0x567caf(0x340)])return;const _0x1d0562=JSON[_0x567caf(0x232)](_0x4ce774[_0x567caf(0x340)]);this[_0x567caf(0x332)](_0x1d0562);}))),window[_0x2395cb(0x27f)](_0x2395cb(0x238),()=>this[_0x2395cb(0x39c)]({'type':0x1,'memberID':this[_0x2395cb(0x1d9)],'unitIDs':Array[_0x2395cb(0x23e)](this[_0x2395cb(0x1e4)])}));}[_0x410e2f(0x332)](_0x106298){const _0x17ed2f=_0x410e2f;switch(_0x106298[_0x17ed2f(0x337)]){case 0x0:this['_handleJoinEvent'](_0x106298);break;case 0x1:this['_handleLeaveEvent'](_0x106298);break;case 0x2:this[_0x17ed2f(0x303)](_0x106298);break;}}[_0x410e2f(0x375)](_0x11b0df){const {unitIDs:_0x2ecfff,memberID:_0x52b754,isForwarded:_0x1921b8}=_0x11b0df;_0x2ecfff['forEach'](_0x142dad=>{const _0x123fa3=_0x346c;if(!_0x1921b8&&this[_0x123fa3(0x1bb)][_0x123fa3(0x216)](_0x142dad)&&this[_0x123fa3(0x1a8)](_0x142dad)['next'](_0x57a1f8['OTHER_CLIENTS_EDITING']),!this[_0x123fa3(0x1bb)][_0x123fa3(0x216)](_0x142dad)||!this[_0x123fa3(0x1bb)][_0x123fa3(0x343)](_0x142dad)[_0x123fa3(0x216)](_0x52b754)){const _0x2e1638=this['_unitOnClients'][_0x123fa3(0x343)](_0x142dad)||new Set();_0x2e1638[_0x123fa3(0x285)](_0x52b754),this[_0x123fa3(0x1bb)][_0x123fa3(0x250)](_0x142dad,_0x2e1638),this[_0x123fa3(0x336)](_0x52b754);}}),_0x1921b8||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x410e2f(0x336)](_0x3841ad){const _0x3a8f9e=_0x410e2f;this[_0x3a8f9e(0x30b)](_0x3841ad);const _0x17009f=window[_0x3a8f9e(0x386)](()=>{const _0x311ba4=_0x3a8f9e;this[_0x311ba4(0x1bb)]['forEach'](_0x3a526c=>{const _0x442d77=_0x311ba4;_0x3a526c[_0x442d77(0x1ff)](_0x3841ad);});},rt*0x2);this['_clearOtherTimers'][_0x3a8f9e(0x250)](_0x3841ad,_0x17009f);}[_0x410e2f(0x30b)](_0x3c81cd){const _0x21fd62=_0x410e2f;if(this[_0x21fd62(0x2cd)]['has'](_0x3c81cd)){const _0x2d6dc6=this[_0x21fd62(0x2cd)]['get'](_0x3c81cd);_0x2d6dc6&&window[_0x21fd62(0x351)](_0x2d6dc6),this[_0x21fd62(0x2cd)][_0x21fd62(0x250)](_0x3c81cd,null);}}['_handleLeaveEvent'](_0x53a34c){const _0x2f356d=_0x410e2f,{memberID:_0x45118a,unitIDs:_0x45891f}=_0x53a34c;_0x45891f[_0x2f356d(0x29f)](_0x6f2901=>{const _0x5a1160=_0x2f356d;var _0x184b8d;const _0x310dc7=this['_unitOnClients'][_0x5a1160(0x343)](_0x6f2901);_0x310dc7&&(_0x310dc7['delete'](_0x45118a),(_0x184b8d=this[_0x5a1160(0x1a8)](_0x6f2901))==null||_0x184b8d['next'](_0x310dc7[_0x5a1160(0x263)]===0x0?_0x57a1f8['NO_OTHER_CLIENTS_EDITING']:_0x57a1f8[_0x5a1160(0x1a9)]));}),this[_0x2f356d(0x30b)](_0x45118a);}[_0x410e2f(0x303)](_0x54bb17){this['_scheduleClearOtherTimer'](_0x54bb17['memberID']);}['_send'](_0x44c539){const _0x487aa8=_0x410e2f;localStorage[_0x487aa8(0x389)](ot,JSON[_0x487aa8(0x395)](_0x44c539));}[_0x410e2f(0x255)](){const _0x4c044f=_0x410e2f;this[_0x4c044f(0x374)]=window[_0x4c044f(0x365)](()=>{const _0x4cd0ec=_0x4c044f;this['_send']({'type':0x2,'memberID':this[_0x4cd0ec(0x1d9)]});},rt);}['_ensureSubject'](_0x17865b){const _0x543c4f=_0x410e2f;return this['_unitStatus'][_0x543c4f(0x216)](_0x17865b)||this['_unitStatus']['set'](_0x17865b,new _0x75828e(_0x57a1f8['NO_OTHER_CLIENTS_EDITING'])),this[_0x543c4f(0x2d0)][_0x543c4f(0x343)](_0x17865b);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x462894=_0x335a;(function(_0x23634d,_0x5f3004){const _0x227d13=_0x335a,_0x456a91=_0x23634d();while(!![]){try{const _0x3c84d7=parseInt(_0x227d13(0xb4))/0x1*(-parseInt(_0x227d13(0xd1))/0x2)+parseInt(_0x227d13(0xb9))/0x3*(-parseInt(_0x227d13(0x18c))/0x4)+-parseInt(_0x227d13(0xac))/0x5+-parseInt(_0x227d13(0x20e))/0x6*(-parseInt(_0x227d13(0x8a))/0x7)+-parseInt(_0x227d13(0x1a8))/0x8+-parseInt(_0x227d13(0x12d))/0x9*(parseInt(_0x227d13(0x99))/0xa)+-parseInt(_0x227d13(0x142))/0xb*(-parseInt(_0x227d13(0x260))/0xc);if(_0x3c84d7===_0x5f3004)break;else _0x456a91['push'](_0x456a91['shift']());}catch(_0x351bca){_0x456a91['push'](_0x456a91['shift']());}}}(_0x5c99,0x1d6f7));var xt=Object[_0x462894(0x207)],Bt=(_0x38e1c4,_0x5d3cf3,_0x1a3a40)=>_0x5d3cf3 in _0x38e1c4?xt(_0x38e1c4,_0x5d3cf3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a3a40}):_0x38e1c4[_0x5d3cf3]=_0x1a3a40,_=(_0x44b8c9,_0x4f1335,_0x3e759c)=>Bt(_0x44b8c9,typeof _0x4f1335!=_0x462894(0x25b)?_0x4f1335+'':_0x4f1335,_0x3e759c);import{jsx as _0x1aa7a8,jsxs as _0xf1d35f}from'react/jsx-runtime';import{CollaborationStatus as _0x211192,CollaborationSessionService as _0x4f7017,CollaborationController as _0x2d5363,DataLoaderService as _0x339242,MemberService as _0x35ae7f,SessionStatus as _0xefa4ce,ILocalCacheService as _0x7f4ced,CollaborationUIEventService as _0x54c0e1,CollaborationUIEventId as _0x379d35,DocCollaborationEntity as _0x5f387e,getLocalCacheKey as _0x12fb6f,LOCAL_CACHE_INTERVAL as _0xc79a54,LOCAL_CACHE_INTERVAL_KEY as _0x2396ff,UniverCollaborationClientPlugin as _0x35732a,CollaborationSocketService as _0x1f05e8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1f19bf,DEFAULT_WS_SESSION_TICKET_URL as _0x30a8b0,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x31ae05,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x47f050,UnitStatus as _0x20be11}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x4086dc,IUniverInstanceService as _0x13b0f3,Inject as _0x4908fa,Injector as _0x5bd625,Disposable as _0x407d7b,createIdentifier as _0x237de2,ILogService as _0x40aafe,ICommandService as _0x42ff01,Optional as _0x53f03b,RxDisposable as _0x2425eb,Workbook as _0x2e24fe,DOC_RANGE_TYPE as _0x435ae7,debounce as _0x2c83e9,Rectangle as _0x9f19d6,DisposableCollection as _0x5fedaa,toDisposable as _0x425bc5,UniverInstanceType as _0x509904,generateRandomId as _0x3f1aaa,COLORS as _0x324582,ColorKit as _0x42986a,ThemeService as _0x50fadf,fromEventSubject as _0x5205b9,Tools as _0x2d0154,CommandType as _0x13b850,IConfigService as _0x10853f,ILocalStorageService as _0x4f8a47,DependentOn as _0x5404f0,Plugin as _0x5f471c,merge as _0x2ce7fb,registerDependencies as _0x402f0e,mergeOverrideWithDependencies as _0x383a3f,touchDependencies as _0x4bd4f7}from'@univerjs/core';import{useObservable as _0x15719e,useDependency as _0x4e05f4,IUIPartsService as _0x1809e7,BuiltInUIPart as _0x46e79d,connectInjector as _0x4490d8,IBeforeCloseService as _0x1590a8,IMessageService as _0x38c146,INotificationService as _0x49e3b3}from'@univerjs/ui';import{BehaviorSubject as _0x3b84c3,switchMap as _0x2dc9ff,of as _0x1304d5,takeUntil as _0x477b6f,debounceTime as _0x14fd8f,Subject as _0x2ffe8b,filter as _0x23ef07,merge as _0x2b216c,combineLatest as _0x2d6241,fromEvent as _0x10460d,shareReplay as _0x4c6e4e,mapTo as _0x332fda,distinctUntilChanged as _0x11a67b}from'rxjs';import{Tooltip as _0x859da8,clsx as _0x45c834,MessageType as _0x172f3a}from'@univerjs/design';import{forwardRef as _0x4ba1f1,useRef as _0x2e9670,createElement as _0x10795f,useCallback as _0x267c47}from'react';import{IRemoteInstanceService as _0x2f7d64}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x4064e7,RefRangeService as _0x311aa5,SetSelectionsOperation as _0x2be5c5,SheetsSelectionsService as _0x4bb79e,EffectRefRangId as _0x3ba865,handleIRemoveRow as _0xd26a2a,handleIRemoveCol as _0xcefbbf,handleMoveRange as _0x44dc5b,handleInsertRow as _0x3126c4,handleInsertRangeMoveRight as _0x1c0258,handleInsertRangeMoveDown as _0x3f0bbf,handleInsertCol as _0x43474e,handleDeleteRangeMoveUp as _0x28159c,handleDeleteRangeMoveLeft as _0x565dac,runRefRangeMutations as _0x20aa35}from'@univerjs/sheets';import{Shape as _0x46a841,Rect as _0x165788,getColor as _0x41dd54,RegularPolygon as _0x1537ee,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x326786,Vector2 as _0x393e32,SHEET_VIEWPORT_KEY as _0x3ff617,IRenderManagerService as _0x5875bf}from'@univerjs/engine-render';import{ISocketService as _0x1542ec,WebSocketService as _0x2d7135,HTTPService as _0x2c6492}from'@univerjs/network';import{IDocClipboardService as _0x4da58e,NodePositionConvertToCursor as _0x14ab01,NodePositionConvertToRectRange as _0xa375cd,TEXT_RANGE_LAYER_INDEX as _0x4ad887,SetDocZoomRatioOperation as _0x1d3631,DocIMEInputManagerService as _0xb1c905,DocStateChangeManagerService as _0x101a78}from'@univerjs/docs-ui';import{IImageIoService as _0x52dfaf}from'@univerjs/drawing';import{ITransformService as _0x3d1a26,CollaborationEvent as _0x3428fc,isTransformMutationFailure as _0x18700a,isTransformMutationsWithChangesetSuccess as _0x5504c9,RevisionService as _0x363a13,ISnapshotServerService as _0xb7527d}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x46f388,RichTextEditingMutation as _0x46af08,DocSelectionManagerService as _0xdbcf34,DocSkeletonManagerService as _0x7e904b}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5c4505,serializeRangeWithSheet as _0x2f4ffb}from'@univerjs/engine-formula';import{map as _0x4a2751,filter as _0x557b08,throttleTime as _0x727cf8,takeUntil as _0x50fa01,switchMap as _0x92f7af}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5aac8a,getCoordByCell as _0x91eb96,getSheetObject as _0x12b955}from'@univerjs/sheets-ui';var v=function(){const _0x3e7e81=_0x462894;return v=Object[_0x3e7e81(0x123)]||function(_0x32a449){const _0x2f52f1=_0x3e7e81;for(var _0x364547,_0x56a04f=0x1,_0x1d1332=arguments['length'];_0x56a04f<_0x1d1332;_0x56a04f++){_0x364547=arguments[_0x56a04f];for(var _0xe21693 in _0x364547)Object['prototype'][_0x2f52f1(0x1fc)][_0x2f52f1(0x132)](_0x364547,_0xe21693)&&(_0x32a449[_0xe21693]=_0x364547[_0xe21693]);}return _0x32a449;},v[_0x3e7e81(0x7e)](this,arguments);},ci=function(_0x52ef6e,_0x19dbfb){const _0x4420d1=_0x462894;var _0x231452={};for(var _0x4237bd in _0x52ef6e)Object['prototype'][_0x4420d1(0x1fc)]['call'](_0x52ef6e,_0x4237bd)&&_0x19dbfb[_0x4420d1(0x1ec)](_0x4237bd)<0x0&&(_0x231452[_0x4237bd]=_0x52ef6e[_0x4237bd]);if(_0x52ef6e!=null&&typeof Object[_0x4420d1(0x95)]==_0x4420d1(0x256)){for(var _0x3db25f=0x0,_0x4237bd=Object['getOwnPropertySymbols'](_0x52ef6e);_0x3db25f<_0x4237bd[_0x4420d1(0x231)];_0x3db25f++)_0x19dbfb[_0x4420d1(0x1ec)](_0x4237bd[_0x3db25f])<0x0&&Object['prototype'][_0x4420d1(0x119)][_0x4420d1(0x132)](_0x52ef6e,_0x4237bd[_0x3db25f])&&(_0x231452[_0x4237bd[_0x3db25f]]=_0x52ef6e[_0x4237bd[_0x3db25f]]);}return _0x231452;},ke=_0x4ba1f1(function(_0x405277,_0x5769f4){const _0x7c4790=_0x462894;var _0x457528=_0x405277['icon'],_0x8e28e=_0x405277['id'],_0x389647=_0x405277['className'],_0x5133a9=_0x405277[_0x7c4790(0x1f9)],_0x55d128=ci(_0x405277,[_0x7c4790(0x26d),'id',_0x7c4790(0x103),_0x7c4790(0x1f9)]),_0x18291d=_0x7c4790(0xb5)[_0x7c4790(0x16d)](_0x8e28e,'\x20')[_0x7c4790(0x16d)](_0x389647||'')[_0x7c4790(0x1eb)](),_0x3a3648=_0x2e9670('_'[_0x7c4790(0x16d)](hi()));return Rt(_0x457528,''[_0x7c4790(0x16d)](_0x8e28e),{'defIds':_0x457528['defIds'],'idSuffix':_0x3a3648['current']},v({'ref':_0x5769f4,'className':_0x18291d},_0x55d128),_0x5133a9);});function Rt(_0x4245a3,_0x1e9f01,_0x17ed9f,_0x4d56e5,_0xefe74a){const _0x4fcdd3=_0x462894;return _0x10795f(_0x4245a3[_0x4fcdd3(0x76)],v(v({'key':_0x1e9f01},li(_0x4245a3,_0x17ed9f,_0xefe74a)),_0x4d56e5),(_i(_0x4245a3,_0x17ed9f)[_0x4fcdd3(0x175)]||[])[_0x4fcdd3(0x222)](function(_0x51f76a,_0x2e5a95){const _0x253c5e=_0x4fcdd3;return Rt(_0x51f76a,''[_0x253c5e(0x16d)](_0x1e9f01,'-')[_0x253c5e(0x16d)](_0x4245a3[_0x253c5e(0x76)],'-')[_0x253c5e(0x16d)](_0x2e5a95),_0x17ed9f,void 0x0,_0xefe74a);}));}function li(_0x23d5cd,_0x54bbbe,_0x50b3e9){const _0x2a5d30=_0x462894;var _0x785ffe=v({},_0x23d5cd[_0x2a5d30(0xf6)]);_0x50b3e9!=null&&_0x50b3e9[_0x2a5d30(0x155)]&&_0x785ffe['fill']===_0x2a5d30(0x155)&&(_0x785ffe[_0x2a5d30(0x125)]=_0x50b3e9['colorChannel1']),_0x23d5cd[_0x2a5d30(0x76)]==='mask'&&_0x785ffe['id']&&(_0x785ffe['id']=_0x785ffe['id']+_0x54bbbe[_0x2a5d30(0x216)]),Object[_0x2a5d30(0x248)](_0x785ffe)['forEach'](function(_0x4ab88f){const _0x1d33de=_0x2a5d30;var _0x23aae1=_0x4ab88f[0x0],_0x4322b5=_0x4ab88f[0x1];_0x23aae1===_0x1d33de(0xe0)&&typeof _0x4322b5=='string'&&(_0x785ffe[_0x23aae1]=_0x4322b5[_0x1d33de(0x78)](/url\(#(.*)\)/,_0x1d33de(0x232)[_0x1d33de(0x16d)](_0x54bbbe[_0x1d33de(0x216)],')')));});var _0x84a7f=_0x54bbbe['defIds'];return!_0x84a7f||_0x84a7f['length']===0x0||(_0x23d5cd[_0x2a5d30(0x76)]===_0x2a5d30(0x1f1)&&_0x785ffe[_0x2a5d30(0x12b)]&&(_0x785ffe['xlink:href']=_0x785ffe[_0x2a5d30(0x12b)]+_0x54bbbe[_0x2a5d30(0x216)]),Object[_0x2a5d30(0x248)](_0x785ffe)['forEach'](function(_0x25fc18){const _0x5616ef=_0x2a5d30;var _0x267e64=_0x25fc18[0x0],_0x155aac=_0x25fc18[0x1];typeof _0x155aac=='string'&&(_0x785ffe[_0x267e64]=_0x155aac['replace'](/url\(#(.*)\)/,_0x5616ef(0x232)[_0x5616ef(0x16d)](_0x54bbbe[_0x5616ef(0x216)],')')));})),_0x785ffe;}function _i(_0x4ce4e6,_0x233b48){const _0x27cb52=_0x462894;var _0x47542e,_0x33bbed=_0x233b48['defIds'];return!_0x33bbed||_0x33bbed[_0x27cb52(0x231)]===0x0?_0x4ce4e6:_0x4ce4e6[_0x27cb52(0x76)]===_0x27cb52(0x1c3)&&(!((_0x47542e=_0x4ce4e6['children'])===null||_0x47542e===void 0x0)&&_0x47542e[_0x27cb52(0x231)])?v(v({},_0x4ce4e6),{'children':_0x4ce4e6['children'][_0x27cb52(0x222)](function(_0xdae689){const _0x56532d=_0x27cb52;return typeof _0xdae689['attrs']['id']=='string'&&_0x33bbed&&_0x33bbed[_0x56532d(0x1b6)](_0xdae689['attrs']['id'])?v(v({},_0xdae689),{'attrs':v(v({},_0xdae689[_0x56532d(0xf6)]),{'id':_0xdae689[_0x56532d(0xf6)]['id']+_0x233b48[_0x56532d(0x216)]})}):_0xdae689;})}):_0x4ce4e6;}function hi(){const _0x34565a=_0x462894;return Math[_0x34565a(0x1c7)]()[_0x34565a(0x11d)](0x24)[_0x34565a(0xd6)](0x2,0x8);}ke[_0x462894(0xc7)]='UniverIcon';var ui={'tag':_0x462894(0x22e),'attrs':{'xmlns':_0x462894(0x152),'fill':_0x462894(0xcd),'viewBox':_0x462894(0x1f8),'width':_0x462894(0xa5),'height':_0x462894(0xa5)},'children':[{'tag':'g','attrs':{'clipPath':_0x462894(0x265)},'children':[{'tag':_0x462894(0x23e),'attrs':{'stroke':_0x462894(0x139),'d':_0x462894(0x144),'strokeLinecap':'round','strokeLinejoin':_0x462894(0x10e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x462894(0x1ff),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x462894(0x23e),'attrs':{'fill':_0x462894(0x126),'d':_0x462894(0x269)}}]}]}],'defIds':[_0x462894(0x235)]},Dt=_0x4ba1f1(function(_0x3bdfac,_0x558ebe){const _0x4a237e=_0x462894;return _0x10795f(ke,Object[_0x4a237e(0x123)]({},_0x3bdfac,{'id':'off-line-icon','ref':_0x558ebe,'icon':ui}));});Dt['displayName']='OffLineIcon';var di={'tag':_0x462894(0x22e),'attrs':{'xmlns':_0x462894(0x152),'fill':_0x462894(0xcd),'viewBox':_0x462894(0x1e7),'width':_0x462894(0xa5),'height':_0x462894(0xa5)},'children':[{'tag':'g','attrs':{'clipPath':_0x462894(0x186)},'children':[{'tag':_0x462894(0x23e),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x462894(0x10e),'strokeWidth':1.2}}]},{'tag':_0x462894(0x1c3),'attrs':{},'children':[{'tag':_0x462894(0x1ff),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x462894(0x23e),'attrs':{'fill':_0x462894(0x126),'d':_0x462894(0x269),'transform':'translate(.97)'}}]}]}],'defIds':[_0x462894(0x131)]},Nt=_0x4ba1f1(function(_0x41fb87,_0x12a56a){const _0xeeca36=_0x462894;return _0x10795f(ke,Object[_0xeeca36(0x123)]({},_0x41fb87,{'id':_0xeeca36(0x250),'ref':_0x12a56a,'icon':di}));});Nt[_0x462894(0xc7)]=_0x462894(0x1e8);function fi(_0x946dad){const _0x57f7f7=_0x462894;switch(_0x946dad){case _0x211192[_0x57f7f7(0x100)]:return _0x57f7f7(0x11c);case _0x211192[_0x57f7f7(0x257)]:return _0x57f7f7(0xaf);case _0x211192['FETCH_MISS']:return _0x57f7f7(0xf9);case _0x211192[_0x57f7f7(0x102)]:return'collabStatus.notCollab';case _0x211192[_0x57f7f7(0x264)]:case _0x211192[_0x57f7f7(0x266)]:return'collabStatus.syncing';case _0x211192['SYNCED']:case _0x211192[_0x57f7f7(0x7f)]:return _0x57f7f7(0x1da);}}function Si(_0x501ad9){const _0x27ee92=_0x462894,{status$:_0x437858}=_0x501ad9,_0x11e564=_0x15719e(_0x437858,_0x211192[_0x27ee92(0x102)]),_0xbd766b=_0x4e05f4(_0x4086dc),_0x83d194=_0x4e05f4(_0x4f7017),_0x1ca496=_0x11e564!==_0x211192['OFFLINE'],_0x1f575c=_0xbd766b['t'](fi(_0x11e564)),_0x4091bc=_0x1ca496?_0x1aa7a8(Nt,{}):_0x1aa7a8(Dt,{}),_0xfeba62=_0x267c47(()=>{const _0x15a6f5=_0x27ee92;_0x1ca496||_0x83d194[_0x15a6f5(0x208)]();},[_0x1ca496,_0x83d194]);function _0x4fe764(){const _0x52066c=_0x27ee92;return _0xf1d35f(_0x52066c(0x1bb),{'className':_0x52066c(0xc1),'onClick':_0xfeba62,'children':[_0x1aa7a8(_0x52066c(0x1bb),{'className':_0x45c834('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1ca496,'univer-text-red-500':!_0x1ca496}),'children':_0x4091bc}),_0x1aa7a8(_0x52066c(0x1bb),{'className':_0x52066c(0xca),'children':_0x1f575c})]});}return _0x1ca496?_0x4fe764():_0x1aa7a8(_0x859da8,{'title':_0xbd766b['t'](_0x27ee92(0x1b3)),'children':_0x4fe764()});}var mi=Object[_0x462894(0x1a7)],Ii=(_0x5a8467,_0x4f683b,_0x5a3bab,_0x9e05b7)=>{const _0x246562=_0x462894;for(var _0x3cf945=_0x9e05b7>0x1?void 0x0:_0x9e05b7?mi(_0x4f683b,_0x5a3bab):_0x4f683b,_0xdd4042=_0x5a8467[_0x246562(0x231)]-0x1,_0x2f7114;_0xdd4042>=0x0;_0xdd4042--)(_0x2f7114=_0x5a8467[_0xdd4042])&&(_0x3cf945=_0x2f7114(_0x3cf945)||_0x3cf945);return _0x3cf945;},q=(_0x98d5e5,_0x450826)=>(_0x520d8d,_0xf8b30c)=>_0x450826(_0x520d8d,_0xf8b30c,_0x98d5e5);let se=class extends _0x407d7b{constructor(_0xa507b8,_0x3f5450,_0x368533,_0x242e6b){const _0x2c7612=_0x462894;super(),_(this,_0x2c7612(0x1d8),new _0x3b84c3(_0x211192[_0x2c7612(0x102)])),(this[_0x2c7612(0xcc)]=_0xa507b8,this['_injector']=_0x3f5450,this[_0x2c7612(0x226)]=_0x368533,this[_0x2c7612(0x1bf)]=_0x242e6b,this[_0x2c7612(0x128)](),this[_0x2c7612(0x108)]());}[_0x462894(0x108)](){const _0x2692ba=_0x462894;this['disposeWithMe'](this[_0x2692ba(0xcc)][_0x2692ba(0x14c)][_0x2692ba(0x16e)](_0x2dc9ff(()=>{const _0x58e583=_0x2692ba,_0x55b701=this[_0x58e583(0xcc)]['getFocusedUnit']();return _0x55b701?this[_0x58e583(0x226)]['getCollabEntity$'](_0x55b701[_0x58e583(0x147)]()):_0x1304d5(null);}),_0x2dc9ff(_0x53ee0e=>_0x53ee0e?_0x53ee0e[_0x2692ba(0xc9)]:_0x1304d5(_0x211192[_0x2692ba(0x102)])))[_0x2692ba(0x1f3)](_0x1ed8a1=>{const _0x4c4d67=_0x2692ba;this[_0x4c4d67(0x1d8)]['next'](_0x1ed8a1);}));}['_initStatusComponent'](){const _0x1b4c83=_0x462894;this[_0x1b4c83(0x9d)](this[_0x1b4c83(0x1bf)][_0x1b4c83(0x20b)](_0x46e79d[_0x1b4c83(0x16c)],()=>_0x4490d8(vi({'status$':this[_0x1b4c83(0x1d8)][_0x1b4c83(0xe4)]()}),this[_0x1b4c83(0x133)])));}};se=Ii([q(0x0,_0x13b0f3),q(0x1,_0x4908fa(_0x5bd625)),q(0x2,_0x4908fa(_0x2d5363)),q(0x3,_0x1809e7)],se);function vi(_0x393251){const {status$:_0x29011d}=_0x393251;return function(){return _0x1aa7a8(Si,{'status$':_0x29011d});};}const Ut=_0x237de2('uni.network.url-service');var gi=Object['getOwnPropertyDescriptor'],pi=(_0x3df430,_0x29a377,_0x1cdeeb,_0x2b5e76)=>{const _0x93d3f3=_0x462894;for(var _0x15c874=_0x2b5e76>0x1?void 0x0:_0x2b5e76?gi(_0x29a377,_0x1cdeeb):_0x29a377,_0x4ba2f7=_0x3df430[_0x93d3f3(0x231)]-0x1,_0x1d9ff9;_0x4ba2f7>=0x0;_0x4ba2f7--)(_0x1d9ff9=_0x3df430[_0x4ba2f7])&&(_0x15c874=_0x1d9ff9(_0x15c874)||_0x15c874);return _0x15c874;},G=(_0x3e59cb,_0x54a493)=>(_0x11b3a8,_0x3e13e3)=>_0x54a493(_0x11b3a8,_0x3e13e3,_0x3e59cb);let ie=class extends _0x2425eb{constructor(_0x39297d,_0x10dfa6,_0x56f213,_0x53d622,_0x4ccbea){const _0x5cada6=_0x462894;super(),this[_0x5cada6(0x1e9)]=_0x39297d,this[_0x5cada6(0xf5)]=_0x10dfa6,this[_0x5cada6(0x146)]=_0x56f213,this[_0x5cada6(0x237)]=_0x53d622,_0x4ccbea?_0x4ccbea==null||_0x4ccbea[_0x5cada6(0x1b1)]()[_0x5cada6(0xb3)](()=>this[_0x5cada6(0x252)]()):(this[_0x5cada6(0xf5)][_0x5cada6(0x267)](_0x5cada6(0xba),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5cada6(0x252)]());}async[_0x462894(0x252)](){const _0x3ac944=_0x462894,_0x387622=this['_urlService'][_0x3ac944(0x271)](_0x3ac944(0x206)),_0x13ee3a=this[_0x3ac944(0x1e9)]['getParam'](_0x3ac944(0xd5)),_0x2a0631=this[_0x3ac944(0x1e9)]['getParam'](_0x3ac944(0x19c));if(!_0x387622||!_0x13ee3a){this[_0x3ac944(0xf5)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x112237=await this[_0x3ac944(0x237)][_0x3ac944(0x1c5)](_0x387622,Number(_0x13ee3a),_0x2a0631);_0x112237&&_0x112237 instanceof _0x2e24fe&&this[_0x3ac944(0x130)](_0x112237);}async[_0x462894(0x130)](_0x23ed6a){const _0x52fdc4=_0x462894;await this[_0x52fdc4(0x1aa)](_0x23ed6a),_0x23ed6a[_0x52fdc4(0x1ee)]['pipe'](_0x477b6f(this[_0x52fdc4(0x19b)]))[_0x52fdc4(0x1f3)](_0x4bc0ae=>{const _0x4a138a=_0x52fdc4;_0x4bc0ae&&this[_0x4a138a(0x9e)](_0x4bc0ae);}),this[_0x52fdc4(0x1e9)]['urlChange$'][_0x52fdc4(0x16e)](_0x477b6f(this[_0x52fdc4(0x19b)]))[_0x52fdc4(0x1f3)](()=>this['_updateSubUnitFromURLParams'](_0x23ed6a));}['_updateURLWithCurrentState'](_0x43a17e,_0x5cafba=!0x1){const _0x543c27=_0x462894,_0x34b158=this[_0x543c27(0x1e9)]['getParam']('subunit');_0x43a17e['getSheetId']()!==_0x34b158&&this[_0x543c27(0x1e9)][_0x543c27(0x184)](_0x543c27(0x19c),_0x43a17e[_0x543c27(0xf4)](),_0x5cafba);}async[_0x462894(0x1aa)](_0x1d7e1a){const _0x1bf715=_0x462894;var _0x12a156;const _0x360bfa=this[_0x1bf715(0x1e9)][_0x1bf715(0x271)](_0x1bf715(0x19c));if(!_0x360bfa||!_0x1d7e1a['getSheetBySheetId'](_0x360bfa)){const _0x27d575=_0x1d7e1a['getUnhiddenWorksheets']()[0x0],_0x3df8a2=_0x1d7e1a['getSheetBySheetId'](_0x27d575);if(!_0x3df8a2)return;this[_0x1bf715(0x9e)](_0x3df8a2,!0x0),await this['_commandService'][_0x1bf715(0x1dc)](_0x4064e7['id'],{'unitId':_0x1d7e1a[_0x1bf715(0x147)](),'subUnitId':_0x27d575});return;}((_0x12a156=_0x1d7e1a[_0x1bf715(0x1ef)]())==null?void 0x0:_0x12a156[_0x1bf715(0xf4)]())!==_0x360bfa&&await this['_commandService']['executeCommand'](_0x4064e7['id'],{'unitId':_0x1d7e1a[_0x1bf715(0x147)](),'subUnitId':_0x360bfa});}};ie=pi([G(0x0,Ut),G(0x1,_0x40aafe),G(0x2,_0x42ff01),G(0x3,_0x4908fa(_0x339242)),G(0x4,_0x53f03b(_0x2f7d64))],ie);var Ci=Object[_0x462894(0x1a7)],Ei=(_0x128dd3,_0x4774ae,_0x4d0783,_0xae7686)=>{const _0x4bcec0=_0x462894;for(var _0x3a00a5=_0xae7686>0x1?void 0x0:_0xae7686?Ci(_0x4774ae,_0x4d0783):_0x4774ae,_0x1eb3b5=_0x128dd3[_0x4bcec0(0x231)]-0x1,_0x2ed021;_0x1eb3b5>=0x0;_0x1eb3b5--)(_0x2ed021=_0x128dd3[_0x1eb3b5])&&(_0x3a00a5=_0x2ed021(_0x3a00a5)||_0x3a00a5);return _0x3a00a5;},Je=(_0x2a7685,_0x32cc0d)=>(_0x504eb1,_0x3b22fb)=>_0x32cc0d(_0x504eb1,_0x3b22fb,_0x2a7685);let Ne=class extends _0x2425eb{constructor(_0x485243,_0x4263ec){const _0x311b89=_0x462894;super(),this['_docClipboardService']=_0x485243,this[_0x311b89(0xd7)]=_0x4263ec,this['_init']();}['_init'](){const _0x11dd5b=_0x462894,_0x3cce06=this;this[_0x11dd5b(0x9d)](this['_docClipboardService'][_0x11dd5b(0x138)]({'onBeforePasteImage':async _0x2a6e7d=>{const _0x4cfde2=_0x11dd5b,_0x18a22c=await _0x3cce06[_0x4cfde2(0xd7)][_0x4cfde2(0x272)](_0x2a6e7d);return _0x18a22c?{'source':_0x18a22c[_0x4cfde2(0xf7)],'imageSourceType':_0x18a22c[_0x4cfde2(0x106)]}:null;}}));}};Ne=Ei([Je(0x0,_0x4da58e),Je(0x1,_0x52dfaf)],Ne);function _0x5c99(){const _0xbbe3e4=['_updateURLWithCurrentState','OTHER_CLIENT_EDITING','delete','fillStyle','_collabSessionService','sessionTicket','drawWith','1em','_unitOnClients','_initResize','toRgbString','_scene','_scheduleHeartbeat','SNAPSHOT_HAS_BEEN_REMOVED','252250KnQOHY','MOBILE_VERIFY_CODE_MISMATCH','EMAIL_HAS_BEEN_BOUND','collabStatus.conflict','_onCursorDelete','history','push','then','1408qkdaAb','univerjs-icon\x20univerjs-icon-','_transformPreviousActiveRange','SUBMIT_CHANGESET_TIMEOUT','subUnitId','219sdMaAD','[CollaborationDataLoaderController]','Warning','_sheetSkeletonManagerService','addHandlerCallback','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','bottom','stringify','univer-flex\x20univer-items-center','unshift','LICENSE_EXPORT_SIZE_EXCEEDED','_session','fillRule','_cursorInfo$','displayName','onMouseMove','status$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','moveTo','_univerInstanceService','none','textRanges','setInterval','ENSURE_SNAPSHOT_EXECUTION','94jBjQpC','getDocRanges','searchParams','APPLY_PERMISSION_DENIED','type','substring','_imageIoService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getSheetObject','doc.mutation.rich-text-editing','registerRenderModule','_drawAnchor','onPointerEnter$','RemoveRowCommandId','getVpScrollXYInfoByPosToVp','mask','event$','_eventUnsubscribe','href','asObservable','_shapes','_updateLocalCursor','_startDocCollabCursor','getCurrentRevOfUnit','LOGIN_FAILED','getConfig','getRelativeToViewportCoord','_handleLeaveEvent','getTypeOfUnitAdded$','_refreshCollabCursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getAnchorBounding','INVITE_CODE_HAS_BEEN_UES','_httpService','getSheetId','_logService','attrs','source','onPointerLeave$','collabStatus.fetchMiss','getTypeOfUnitDisposed$','_id','collaboration-client.offline-data-not-saved','YUUMI_ASYNCIO_CANCELLED','/run/','send','OFFLINE','_assignedColors','NOT_COLLAB','className','JOIN_ROOM_FAILED','_docTransformSelectionsService','imageSourceType','MoveRangeCommandId','_initStatusListener','YUUMI_ALL_TABLES_IS_INVALID','collaboration.closeRoom','getMemberID','setAlpha','Unknown\x20user','round','add','cursorInfo$','CHANGESET_REVISION_CONFILICT','currentTheme$','_removeCollabCursors','column','restore','transform','LICENSE_MAX_UNITS_EXCEEDED','NOT_FOUND','propertyIsEnumerable','evenodd','_updateCollabCursors','collabStatus.offline','toString','transformStateCache','complete','sessionStatus$','loadOfflineData','UNRECOGNIZED','assign','SNAPSHOT_INVALID_SNAPSHOT','fill','white','memberID','_initStatusComponent','_transformService','with','xlink:href','_localeService','225xEUDwU','_toggleOnline','jiqing.500','_setupSubUnitSync','on-line-icon_clip0_910_349','call','_injector','getCollabCursors$','collaboration.single-unit.warning','_getSaveTimeout','set','addClipboardHook','currentColor','_unitStatus','_initEvent','CLOSE_ROOM','mutations','editingUnit','_docTransformStateCacheService','ACTIVE_UNIT_EVENT_CHANNEL','_send','4268NxeKFR','flatMap','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','ONLINE','_commandService','getUnitId','error','getFocusedUnit','_context','name','focused$','enableLocalCache','PERMISSION_DENIED','isEditing','APPLY_REJECT','APPLY_DUPLICATED','http://www.w3.org/2000/svg','init','cursorInfo','colorChannel1','rgba(255,\x20255,\x20255,\x200.01)','getColorFromTheme','getCurrentUnitForType','session.connection-failed','YUUMI_CONNECTOR_URL_NOT_FOUND','_transformHistoryAndStateStack','post','m1Prime','_backgroundColor','_createSocketURL','_initEntityListener','USERS_LEAVE','INVITE_CODE_REQUIRED','find','_hideTimer','unload','getMergeData','_cursor','createSocket','color','_entities','Failed','HEADER_MENU','concat','pipe','_anchorDot','collab-text-range-','code','setShapeProps','_registerDependencies','YUUMI_URL_COL_OUT_OF_RANGE','children','_docTransformIMECacheService','_setupBeforeClosingHandler','height','isArray','WECHAT_HAS_BEEN_BOUND','_roomMembers$','INVALID_INVITE_CODE','redoState','SOCKET_FAILED_RETRY','key','_refRangeService','data','clearTimeout','_notificationService','setParam','split','url(#on-line-icon_clip0_910_349)','_themeService','_docStateChangeManagerService','YUUMI_AI_RUN_FAILED','roomMembers$','_getMergeRange','7988PzaPSn','max','...','eventID','getValue','SOCKET_FAILED','_initCommandExecutedListener','beginPath','APPLY_NON_SEQUENTIAL_REVISION','_entityInit$','UNAUTHENTICATED','yellow.400','executionId','params','replaceState','dispose$','subunit','removeParam','setStateCache','_heartbeatTimer','onStarting','_renderManagerService','subscribeEvent','_hovered','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_docSkeletonManagerService','_handleEvent','getOwnPropertyDescriptor','437048eiWNvp','_handleHover','_updateSubUnitFromURLParams','top','getStateCache','urlChange$','_config','_syncEditingCollabCursorService','getCurrent','whenReady','transformSelections','collab-client.tooltip.reconnect','runOnServer','hide','includes','LICENSE_DISTRO_REJECTED','forEach','endRow','setActiveRange','div','getUniverSheetInstance','ticket','FromArray','_uiPartsService','startColumn','getRangePointData','_colorIndex','defs','dispose','loadUnit','undoState','random','addEventListener','ranges','_onRefRangeChange','_textBubble','_cachedData','m2Prime','syncEditingCollabCursor','collab-text-anchor-','application/json','selection','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addObject','createInstance','_getSessionTicket','transformMutation','_hover','_status$','LICENSE_IMPORT_SIZE_EXCEEDED','collabStatus.synced','unitID','executeCommand','_registerRenderDependencies','pluginName','InsertRowCommandId','_initDependencies','setUndoRedoMutationParamsCache','EMAIL_VERIFY_CODE_MISMATCH','_configService','_drawTextRange','onRendered','size','0\x200\x2017\x2016','OnLineIcon','_urlService','_color','trim','indexOf','DeleteRangeMoveUpCommandId','activeSheet$','getActiveSheet','_disabled','use','_range','subscribe','NO_OTHER_CLIENTS_EDITING','YUUMI_SUBSCRIPTION_NOT_FOUND','location','_messageService','0\x200\x2016\x2016','extend','string','setConfig','hasOwnProperty','_startSheetCollabCursor','Error','clipPath','next','INVALID_ARGUMENT','arc','APPLY_REVISION_CONFILICT','save','transformByState','unit','defineProperty','reconnect','range','_saveCache','registerComponent','getRenderById','RemoveColCommandId','496314URbKAa','_anchor','getSkeleton','_cursorShapes','ALREADY_EXISTS','_name','_docSkeleton','_collabCursorController','idSuffix','fillText','addObjects','width','UNIVER_DOC','_collaborationUIEventService','override','RECT','popstate','lineTo','_transformUndoRedoStack','resize','map','USER_NOT_INVITED_CODE','onCommandExecuted','_online','_collaborationController','measureText','roomMembers','_docSyncEditingCollabCursorService','_ensureSubject','_handleJoinEvent','text','result','svg','INVITE_CODE_ALREADY_BOUND','OTHER_CLIENTS_EDITING','length','url(#$1','contains','_localStorageService','off-line-icon_clip0_910_343','_saveTaskMap','_dataLoaderService','getUnitStatus$','session.collaboration-timeout','_cursors','min','_clearOtherTimers','_handleHeartbeatEvent','path','isActive','YUUMI_TABLE_NOT_FOUND_IN_UNIT','currentSkeleton$','backgroundColor','requireSession','transformIMECache','COMPLETION_FINISHED','DeleteRangeMoveLeftCommandId','runId','entries','_lastPointer','_draw','_selfUnitIDs','InsertColCommandId','MUTATION','_removeClearOtherTimer','getCellPositionByOffset','on-line-icon','YUUMI_RATE_OVER_LIMIT','_init','TOO_MANY_REQUESTS','blue.400','sheetId','function','CONFLICT','green.600','InsertRangeMoveDownCommandId','_drawRectRange','symbol','_toggleOffline','clearInterval','PY_RUNTIME_SCRIPT_ERROR','labelPosition','13164QOtktF','deepClone','body','collaboration-client-ui.config','AWAITING','url(#off-line-icon_clip0_910_343)','AWAITING_WITH_PENDING','debug','saveTaskMap','M0\x200H16V16H0z','getItem','show','MOBILE_HAS_BEEN_BOUND','icon','search','disposeUnit','YUUMI_UNABLE_LOAD_URL','getParam','saveImage','pushState','tag','triggerDblclick','replace','collab-rect-range-','has','setItem','startRow','newValue','apply','PENDING','closePath','TEXT','endColumn','UNIVER_SHEET','_memberService','origin','getMember','_onCursorUpdate','from','UPDATE_CURSOR','7euHvaa','black','_render','get','registerBeforeClose','_scheduleClearOtherTimer','_labelPosition','collabCursorState$','_localCacheService','unitId','values','getOwnPropertySymbols','_collabCursorState$','_instanceService','_colorAssignService','28300gEEDaR','findNodePositionByCharIndex','wsSessionTicketUrl','getViewport','disposeWithMe'];_0x5c99=function(){return _0xbbe3e4;};return _0x5c99();}const Ze=['purple.300',_0x462894(0x12f),_0x462894(0x258),'red.300',_0x462894(0x254),_0x462894(0x197)];class He extends _0x407d7b{constructor(){const _0x47dd55=_0x462894;super(...arguments),_(this,_0x47dd55(0x101),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x193af3){const _0x42432b=_0x462894;if(this[_0x42432b(0x101)][_0x42432b(0x7a)](_0x193af3))return this[_0x42432b(0x101)]['get'](_0x193af3);const _0x38543a=Ze[this[_0x42432b(0x1c2)]];return this['_colorIndex']=(this[_0x42432b(0x1c2)]+0x1)%Ze[_0x42432b(0x231)],this['_assignedColors'][_0x42432b(0x137)](_0x193af3,_0x38543a),_0x38543a;}}function Mt(_0x2cf953){const _0x6b3577=_0x462894;let _0x4641c0='';for(const _0x46b0f2 of _0x2cf953){const {startOffset:_0x560f89,endOffset:_0x10fe51,isActive:_0xe43db,rangeType:_0x2844e2,segmentId:_0x4a1a2d,segmentPage:_0xd2e21}=_0x46b0f2;_0x4641c0[_0x6b3577(0x231)]&&(_0x4641c0+=','),_0x4641c0+=_0x560f89+':'+_0x10fe51+':'+(_0xe43db?'1':'0')+':'+_0x2844e2+':'+_0x4a1a2d+':'+_0xd2e21;}return _0x4641c0;}function Oi(_0x5296ea){const _0x540d53=_0x462894,_0x329bae=_0x5296ea[_0x540d53(0x185)](','),_0x2769b9=[];for(const _0x3a77bb of _0x329bae){const [_0x37ce60,_0x603e61,_0x2ff3a8,_0x532067,_0x3b2712,_0x47c395]=_0x3a77bb[_0x540d53(0x185)](':');_0x2769b9[_0x540d53(0xb2)]({'startOffset':Number(_0x37ce60),'endOffset':Number(_0x603e61),'collapsed':_0x37ce60===_0x603e61,'isActive':_0x2ff3a8==='1','rangeType':_0x532067===_0x435ae7[_0x540d53(0x81)]?_0x435ae7[_0x540d53(0x81)]:_0x435ae7['RECT'],'segmentId':typeof _0x3b2712==_0x540d53(0x1fa)?String(_0x3b2712):'','segmentPage':Number(_0x47c395!=null?_0x47c395:-0x1)});}return _0x2769b9['some'](_0x135fee=>_0x135fee[_0x540d53(0x23f)])||(_0x2769b9[0x0]['isActive']=!0x0),_0x2769b9;}class Fe extends _0x2425eb{constructor(){const _0x4097e9=_0x462894;super(...arguments),_(this,_0x4097e9(0x96),new _0x3b84c3(null)),_(this,_0x4097e9(0x91),this[_0x4097e9(0x96)][_0x4097e9(0xe4)]());}[_0x462894(0x1ce)](_0x2c27d2){const _0x2f3010=_0x462894,{unitID:_0x26a271,memberID:_0x4f1100,textRanges:_0x3f9af3}=_0x2c27d2,_0x66a849=Mt(_0x3f9af3);if(_0x66a849==='')return;const _0x53ec84={'unitID':_0x26a271,'memberID':_0x4f1100,'selection':_0x66a849};this[_0x2f3010(0x96)][_0x2f3010(0x200)](_0x53ec84);}}var bi=Object[_0x462894(0x1a7)],Ti=(_0x324941,_0x2c1b33,_0x55cbad,_0x24ae41)=>{for(var _0x4ac805=_0x24ae41>0x1?void 0x0:_0x24ae41?bi(_0x2c1b33,_0x55cbad):_0x2c1b33,_0x191e2d=_0x324941['length']-0x1,_0x407c12;_0x191e2d>=0x0;_0x191e2d--)(_0x407c12=_0x324941[_0x191e2d])&&(_0x4ac805=_0x407c12(_0x4ac805)||_0x4ac805);return _0x4ac805;},P=(_0x2edb11,_0x52dd46)=>(_0x4fef37,_0x462c9a)=>_0x52dd46(_0x4fef37,_0x462c9a,_0x2edb11);const Ri=0x12c,Di=0x64;let Ue=class extends _0x2425eb{constructor(_0x9a96a7,_0x4b2b5b,_0x526f58,_0x4fa69b,_0x255c14,_0x382961,_0x53b967,_0x4c6cb7,_0x2e98fc){const _0x5e9a21=_0x462894;super(),_(this,_0x5e9a21(0x225),!0x1),_(this,'_init',!0x1),_(this,_0x5e9a21(0xc6),new _0x3b84c3(new Map())),_(this,_0x5e9a21(0x110),this[_0x5e9a21(0xc6)][_0x5e9a21(0xe4)]()),_(this,_0x5e9a21(0x17b),new _0x3b84c3([])),_(this,_0x5e9a21(0x18a),this[_0x5e9a21(0x17b)][_0x5e9a21(0x16e)](_0x14fd8f(Ri))),_(this,_0x5e9a21(0xe6),_0x2c83e9(_0x478a89=>{const _0x884966=_0x5e9a21,_0x1bbea3={'eventID':_0x3428fc['UPDATE_CURSOR'],'data':{'unitID':this[_0x884966(0x1db)],'memberID':this[_0x884966(0xc4)][_0x884966(0x10b)](),'selection':Mt(_0x478a89)}};this['_session']['send'](_0x1bbea3,this[_0x884966(0x1db)]);},Di)),(this['unitID']=_0x9a96a7,this['_session']=_0x4b2b5b,this['_injector']=_0x526f58,this['_colorAssignService']=_0x4fa69b,this[_0x5e9a21(0x84)]=_0x255c14,this[_0x5e9a21(0x1af)]=_0x382961,this[_0x5e9a21(0x129)]=_0x53b967,this[_0x5e9a21(0xcc)]=_0x4c6cb7,this[_0x5e9a21(0x146)]=_0x2e98fc);}get[_0x462894(0x154)](){const _0x131d38=_0x462894;return this[_0x131d38(0xc6)][_0x131d38(0x190)]();}get[_0x462894(0x228)](){const _0x27b6cc=_0x462894;return this[_0x27b6cc(0x17b)]['getValue']();}['dispose'](){const _0x399595=_0x462894;super[_0x399595(0x1c4)](),this[_0x399595(0xc6)][_0x399595(0x200)](new Map()),this[_0x399595(0xc6)]['complete'](),this[_0x399595(0x17b)]['next']([]),this[_0x399595(0x17b)][_0x399595(0x11f)]();}[_0x462894(0x153)](){const _0x280638=_0x462894;this['_init']||(this[_0x280638(0x252)]=!0x0,this[_0x280638(0xc4)][_0x280638(0x120)][_0x280638(0x16e)](_0x477b6f(this[_0x280638(0x19b)]))['subscribe'](_0x5e3ee3=>{const _0x369275=_0x280638;_0x5e3ee3===_0xefa4ce[_0x369275(0x145)]?this[_0x369275(0x12e)]():this['_toggleOffline']();}),this['_session'][_0x280638(0xe1)][_0x280638(0x16e)](_0x477b6f(this[_0x280638(0x19b)]))['subscribe'](_0x538af4=>{const _0xc77bdc=_0x280638,_0x54a152=_0x538af4[_0xc77bdc(0x18f)];_0x54a152===_0x3428fc[_0xc77bdc(0x89)]&&this[_0xc77bdc(0x87)](_0x538af4),_0x54a152===_0x3428fc[_0xc77bdc(0x161)]&&this['_onCursorDelete'](_0x538af4);}),this[_0x280638(0x9d)](this[_0x280638(0x146)][_0x280638(0x224)](_0x322cbd=>{const _0x4bf447=_0x280638,_0x40985c=_0x322cbd[_0x4bf447(0x199)];_0x40985c!=null&&this[_0x4bf447(0x225)]&&_0x322cbd['id']===_0x46f388['id']&&_0x40985c['unitId']===this[_0x4bf447(0x1db)]&&_0x40985c[_0x4bf447(0x14f)]===!0x1&&_0x40985c[_0x4bf447(0x1c9)]['length']>0x0&&this[_0x4bf447(0xe6)](_0x40985c[_0x4bf447(0x1c9)]);})),this[_0x280638(0x1af)]['collabCursorState$']['pipe'](_0x477b6f(this[_0x280638(0x19b)]))[_0x280638(0x1f3)](_0x5d6dbd=>{const _0x4a1e8f=_0x280638;if((_0x5d6dbd==null?void 0x0:_0x5d6dbd[_0x4a1e8f(0x1db)])!==this[_0x4a1e8f(0x1db)])return;const _0x39448b={'eventID':_0x3428fc['UPDATE_CURSOR'],'data':_0x5d6dbd};this['_onCursorUpdate'](_0x39448b);}),this['disposeWithMe'](this['_commandService'][_0x280638(0x224)](_0x489422=>{const _0x3ddf3f=_0x280638;if(_0x489422[_0x3ddf3f(0x199)]==null)return;const _0xf864f4=_0x489422[_0x3ddf3f(0x199)];if(_0x489422['id']!==_0x46af08['id']||_0xf864f4[_0x3ddf3f(0x93)]!==this[_0x3ddf3f(0x1db)])return;const _0x362cc4={'id':_0x3ddf3f(0xda),'params':_0xf864f4},_0x23f743=this[_0x3ddf3f(0x154)];for(const [_0x6b397f,_0x1332fc]of _0x23f743){const _0x2aaa25={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3ddf3f(0x1db)],'actions':null,'textRanges':_0x1332fc['ranges']}},_0x491f57=this[_0x3ddf3f(0x129)][_0x3ddf3f(0x1d6)](_0x362cc4,_0x2aaa25,!0x1);if(_0x18700a(_0x491f57))throw _0x491f57[_0x3ddf3f(0x148)];_0x23f743[_0x3ddf3f(0x137)](_0x6b397f,{..._0x1332fc,'ranges':_0x491f57[_0x3ddf3f(0x1cd)]['params']['textRanges']});}queueMicrotask(()=>{const _0x1a7c15=_0x3ddf3f;this[_0x1a7c15(0xc6)][_0x1a7c15(0x200)](_0x23f743);});})));}[_0x462894(0x87)](_0x1b5d4f){const _0x3dda96=_0x462894;var _0x5da65d,_0x5b3ec1;const {memberID:_0x3f94d2,selection:_0x407bd8}=_0x1b5d4f[_0x3dda96(0x181)],_0x128c47=Oi(_0x407bd8),_0x3109c2=(_0x5b3ec1=(_0x5da65d=this[_0x3dda96(0x84)][_0x3dda96(0x86)](this[_0x3dda96(0x1db)],_0x3f94d2))==null?void 0x0:_0x5da65d[_0x3dda96(0x14b)])!=null?_0x5b3ec1:_0x3dda96(0x10d),_0x207d9b={'color':this[_0x3dda96(0x98)]['assignAColorForMemberID'](_0x3f94d2),'name':_0x3109c2,'ranges':_0x128c47},_0x201042=this[_0x3dda96(0x154)];_0x201042[_0x3dda96(0x137)](_0x3f94d2,_0x207d9b),this[_0x3dda96(0xc6)][_0x3dda96(0x200)](_0x201042);}[_0x462894(0xb0)](_0x41daaa){const _0x58987e=_0x462894,{memberID:_0x292867}=_0x41daaa[_0x58987e(0x181)],_0x564755=this['cursorInfo'];_0x564755[_0x58987e(0xa0)](_0x292867),this['_cursorInfo$'][_0x58987e(0x200)](_0x564755);}[_0x462894(0x12e)](){const _0x1a1b3f=_0x462894;var _0x78182f;if(this[_0x1a1b3f(0x225)]=!0x0,((_0x78182f=this[_0x1a1b3f(0xcc)][_0x1a1b3f(0x149)]())==null?void 0x0:_0x78182f['getUnitId']())!==this[_0x1a1b3f(0x1db)])return;const _0x19a65a=this[_0x1a1b3f(0x133)]['get'](_0xdbcf34)['getDocRanges']();Array['isArray'](_0x19a65a)&&_0x19a65a[_0x1a1b3f(0x231)]>0x0&&this['_updateLocalCursor'](_0x19a65a);}[_0x462894(0x25c)](){const _0x34dd1c=_0x462894;this[_0x34dd1c(0x225)]=!0x1;}};Ue=Ti([P(0x2,_0x4908fa(_0x5bd625)),P(0x3,_0x4908fa(He)),P(0x4,_0x4908fa(_0x35ae7f)),P(0x5,_0x4908fa(Fe)),P(0x6,_0x3d1a26),P(0x7,_0x13b0f3),P(0x8,_0x42ff01)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x2dd118,_0x2bc471,_0x48c5e8,_0x54a143)=>{for(var _0x27933d=_0x54a143>0x1?void 0x0:_0x54a143?Ni(_0x2bc471,_0x48c5e8):_0x2bc471,_0x574835=_0x2dd118['length']-0x1,_0x896bc1;_0x574835>=0x0;_0x574835--)(_0x896bc1=_0x2dd118[_0x574835])&&(_0x27933d=_0x896bc1(_0x27933d)||_0x27933d);return _0x27933d;},x=(_0x2d1108,_0x4bc0ea)=>(_0x287aa9,_0x25589f)=>_0x4bc0ea(_0x287aa9,_0x25589f,_0x2d1108);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x164d39=[],_0x16aa8f=!0x1;return _0x577712=>{_0x164d39['push'](_0x577712),_0x16aa8f||(_0x16aa8f=!0x0,setTimeout(()=>{const _0x38c1fa=_0x335a;_0x164d39[_0x38c1fa(0x1b8)](_0xc71e98=>_0xc71e98()),_0x164d39=[],_0x16aa8f=!0x1;}));};};let Me=class extends _0x2425eb{constructor(_0x58e9ea,_0x27ed29,_0x37e5e6,_0x4572ee,_0x1116bb,_0x2401e3,_0x2e3fc4,_0x1dcc29){const _0x234d6b=_0x462894;super(),_(this,_0x234d6b(0x225),!0x1),_(this,_0x234d6b(0x252),!0x1),_(this,'_cursorInfo$',new _0x3b84c3(new Map())),_(this,_0x234d6b(0x110),this[_0x234d6b(0xc6)][_0x234d6b(0xe4)]()),_(this,_0x234d6b(0x17b),new _0x3b84c3([])),_(this,_0x234d6b(0x18a),this[_0x234d6b(0x17b)][_0x234d6b(0x16e)](_0x14fd8f(Mi))),_(this,_0x234d6b(0xe6),_0x2c83e9((_0xfdcaf7,_0x24735a)=>{const _0x17b028=_0x234d6b,_0x458e61={'eventID':_0x3428fc['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x17b028(0xc4)][_0x17b028(0x10b)](),'selection':_0x2f4ffb(_0xfdcaf7,_0x24735a[_0x17b028(0x209)])}};this['_session'][_0x17b028(0xff)](_0x458e61,this[_0x17b028(0x1db)]);},Li)),(this[_0x234d6b(0x1db)]=_0x58e9ea,this[_0x234d6b(0xc4)]=_0x27ed29,this[_0x234d6b(0x133)]=_0x37e5e6,this[_0x234d6b(0x98)]=_0x4572ee,this[_0x234d6b(0x84)]=_0x1116bb,this[_0x234d6b(0xcc)]=_0x2401e3,this[_0x234d6b(0x146)]=_0x2e3fc4,this[_0x234d6b(0x180)]=_0x1dcc29);}get[_0x462894(0x154)](){const _0x16a91e=_0x462894;return this[_0x16a91e(0xc6)][_0x16a91e(0x190)]();}get['roomMembers'](){const _0x200a25=_0x462894;return this['_roomMembers$'][_0x200a25(0x190)]();}[_0x462894(0x1c4)](){const _0x1b8cca=_0x462894;super[_0x1b8cca(0x1c4)](),this[_0x1b8cca(0xc6)]['next'](new Map()),this[_0x1b8cca(0xc6)][_0x1b8cca(0x11f)](),this[_0x1b8cca(0x17b)][_0x1b8cca(0x200)]([]),this[_0x1b8cca(0x17b)]['complete']();}[_0x462894(0x153)](){const _0x29cbd9=_0x462894;this[_0x29cbd9(0x252)]||(this[_0x29cbd9(0x252)]=!0x0,this[_0x29cbd9(0xc4)][_0x29cbd9(0x120)]['pipe'](_0x477b6f(this['dispose$']))[_0x29cbd9(0x1f3)](_0x52a869=>{const _0x59855a=_0x29cbd9;_0x52a869===_0xefa4ce[_0x59855a(0x145)]?this[_0x59855a(0x12e)]():this[_0x59855a(0x25c)]();}),this[_0x29cbd9(0xc4)][_0x29cbd9(0xe1)][_0x29cbd9(0x16e)](_0x477b6f(this['dispose$']))['subscribe'](_0xfe8396=>{const _0x1dbb59=_0x29cbd9,_0x2184b1=_0xfe8396[_0x1dbb59(0x18f)];_0x2184b1===_0x3428fc[_0x1dbb59(0x89)]&&this[_0x1dbb59(0x87)](_0xfe8396),_0x2184b1===_0x3428fc[_0x1dbb59(0x161)]&&this['_onCursorDelete'](_0xfe8396);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x394cee=>{const _0x3aca7c=_0x29cbd9;if(this['_online']&&_0x394cee['id']===_0x2be5c5['id']&&_0x394cee[_0x3aca7c(0x199)][_0x3aca7c(0x93)]===this[_0x3aca7c(0x1db)]){const _0x571ac7=_0x394cee[_0x3aca7c(0x199)];this[_0x3aca7c(0xe6)](_0x571ac7[_0x3aca7c(0xb8)],_0x571ac7['selections'][0x0]);}})));}[_0x462894(0x87)](_0x350d1a){const _0x2d5582=_0x462894;var _0x2a94a4,_0x8a3b53;const {memberID:_0x10cd3b,selection:_0x21a034}=_0x350d1a[_0x2d5582(0x181)],{sheetName:_0x2b8e21,range:_0xe505c}=_0x5c4505(_0x21a034),_0x386834={'name':(_0x8a3b53=(_0x2a94a4=this[_0x2d5582(0x84)]['getMember'](this[_0x2d5582(0x1db)],_0x10cd3b))==null?void 0x0:_0x2a94a4[_0x2d5582(0x14b)])!=null?_0x8a3b53:_0x2d5582(0x10d),'range':this['_getMergeRange'](_0x2b8e21,_0xe505c),'sheetID':_0x2b8e21,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x10cd3b),'selection':_0x21a034},_0xb1a1d2=this[_0x2d5582(0x154)];_0xb1a1d2[_0x2d5582(0x137)](_0x10cd3b,_0x386834),this[_0x2d5582(0xc6)][_0x2d5582(0x200)](_0xb1a1d2);}[_0x462894(0xb0)](_0x43ef4d){const _0x4d9ee4=_0x462894,{memberID:_0x279c55}=_0x43ef4d['data'],_0x5f14e4=this[_0x4d9ee4(0x154)];_0x5f14e4['delete'](_0x279c55),this[_0x4d9ee4(0xc6)][_0x4d9ee4(0x200)](_0x5f14e4);}[_0x462894(0x18b)](_0x36bb22,_0xe1de26){const _0x14ebbe=_0x462894;var _0x4db733,_0x3827ef;const _0x2f4ec6=(_0x3827ef=(_0x4db733=this[_0x14ebbe(0xcc)][_0x14ebbe(0x1bc)](this[_0x14ebbe(0x1db)]))==null?void 0x0:_0x4db733['getSheetBySheetId'](_0x36bb22))==null?void 0x0:_0x3827ef[_0x14ebbe(0x166)]();return(_0x2f4ec6==null?void 0x0:_0x2f4ec6[_0x14ebbe(0x163)](_0x1b3cea=>_0x9f19d6[_0x14ebbe(0x233)](_0x1b3cea,_0xe1de26)))||_0xe1de26;}[_0x462894(0x1ca)](){const _0xd3a726=_0x462894,_0x572611=new _0x5fedaa(),_0x58c760=Pi(),_0x2074b5=()=>{const _0x6066d8=_0x335a;_0x572611[_0x6066d8(0x1c4)]();const _0x561d11=(_0x514856,_0x4357b3,_0x24754b,_0x285008)=>{const _0x2ded16=_0x6066d8;let _0xaa2868=[];switch(_0x514856['id']){case _0x3ba865[_0x2ded16(0x246)]:{_0xaa2868=_0x565dac(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x1ed)]:{_0xaa2868=_0x28159c(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x24c)]:{_0xaa2868=_0x43474e(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x259)]:{_0xaa2868=_0x3f0bbf(_0x514856,_0x285008);break;}case _0x3ba865['InsertRangeMoveRightCommandId']:{_0xaa2868=_0x1c0258(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x1df)]:{_0xaa2868=_0x3126c4(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x107)]:{_0xaa2868=_0x44dc5b(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x20d)]:{_0xaa2868=_0xcefbbf(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0xde)]:{_0xaa2868=_0xd26a2a(_0x514856,_0x285008);break;}}const _0x17c063=_0x20aa35(_0xaa2868,_0x285008),_0xbb77b6=this['cursorInfo'][_0x2ded16(0x8d)](_0x4357b3);if(_0xbb77b6&&_0x17c063){const _0x3ff76f={..._0xbb77b6,'range':_0x17c063};this[_0x2ded16(0x154)][_0x2ded16(0x137)](_0x4357b3,_0x3ff76f),_0x58c760(()=>{const _0x2f72b8=_0x2ded16,_0x309abb=this[_0x2f72b8(0x180)]['registerRefRange'](_0x17c063,_0x5cc577=>(_0x309abb[_0x2f72b8(0x1c4)](),_0x561d11(_0x5cc577,_0x4357b3,_0x24754b,_0x17c063)));_0x572611[_0x2f72b8(0x10f)](_0x309abb);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6066d8(0x1b8)]((_0x1eebe7,_0x1047b0)=>{const _0x47f94a=_0x6066d8,{range:_0x29ff60,sheetID:_0x30ffda}=_0x1eebe7,_0x42d706=this[_0x47f94a(0x180)]['registerRefRange'](_0x29ff60,_0x4a1eec=>(_0x42d706['dispose'](),_0x561d11(_0x4a1eec,_0x1047b0,_0x30ffda,_0x29ff60)));_0x572611['add'](_0x42d706);});};this[_0xd3a726(0x9d)](_0x425bc5(this['_cursorInfo$'][_0xd3a726(0x1f3)](()=>{_0x2074b5();})));}[_0x462894(0x12e)](){const _0x490cbc=_0x462894;var _0x3794e4,_0x1a0cfc;if(this['_online']=!0x0,((_0x3794e4=this[_0x490cbc(0xcc)][_0x490cbc(0x149)]())==null?void 0x0:_0x3794e4['getUnitId']())!==this[_0x490cbc(0x1db)])return;const _0x17a5cf=(_0x1a0cfc=this[_0x490cbc(0x133)][_0x490cbc(0x8d)](_0x4bb79e)['getCurrentSelections']())==null?void 0x0:_0x1a0cfc[0x0],_0x29ed16=this[_0x490cbc(0xcc)][_0x490cbc(0x158)](_0x509904[_0x490cbc(0x83)])['getActiveSheet']();_0x17a5cf&&_0x29ed16&&this[_0x490cbc(0xe6)](_0x29ed16[_0x490cbc(0xf4)](),_0x17a5cf);}[_0x462894(0x25c)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x4908fa(_0x5bd625)),x(0x3,_0x4908fa(He)),x(0x4,_0x4908fa(_0x35ae7f)),x(0x5,_0x13b0f3),x(0x6,_0x42ff01),x(0x7,_0x4908fa(_0x311aa5))],Me);var wi=Object[_0x462894(0x1a7)],Ai=(_0x279fe6,_0x10103a,_0x17adf7,_0x52d496)=>{const _0x484107=_0x462894;for(var _0x74107c=_0x52d496>0x1?void 0x0:_0x52d496?wi(_0x10103a,_0x17adf7):_0x10103a,_0x27704a=_0x279fe6[_0x484107(0x231)]-0x1,_0x4a13a6;_0x27704a>=0x0;_0x27704a--)(_0x4a13a6=_0x279fe6[_0x27704a])&&(_0x74107c=_0x4a13a6(_0x74107c)||_0x74107c);return _0x74107c;},me=(_0x4a5a9c,_0x46b9a7)=>(_0x343fa9,_0x5f4673)=>_0x46b9a7(_0x343fa9,_0x5f4673,_0x4a5a9c);let F=class extends _0x2425eb{constructor(_0x8cc9fb,_0x3c5f33,_0x3247fc){const _0x3ac763=_0x462894;super(),_(this,_0x3ac763(0x16a),new Map()),_(this,'_entityInit$',new _0x2ffe8b()),(this['_univerInstanceService']=_0x8cc9fb,this[_0x3ac763(0x133)]=_0x3c5f33,this[_0x3ac763(0xa2)]=_0x3247fc,this[_0x3ac763(0x252)]());}[_0x462894(0x1c4)](){const _0xec97ef=_0x462894;super[_0xec97ef(0x1c4)](),this[_0xec97ef(0x195)][_0xec97ef(0x11f)](),this[_0xec97ef(0x16a)][_0xec97ef(0x1b8)](_0x518b2b=>_0x518b2b[_0xec97ef(0x1c4)]());}[_0x462894(0x134)](_0x28cd2a){const _0xc2ebe0=_0x462894;return this[_0xc2ebe0(0x16a)]['has'](_0x28cd2a)?this['_entities'][_0xc2ebe0(0x8d)](_0x28cd2a)['cursorInfo$']:this[_0xc2ebe0(0x195)]['pipe'](_0x23ef07(_0x2cfecc=>_0x2cfecc['unitID']===_0x28cd2a),_0x2dc9ff(_0x2a17e0=>_0x2a17e0[_0xc2ebe0(0x110)]));}[_0x462894(0x252)](){const _0xe71fd5=_0x462894;this[_0xe71fd5(0xcc)][_0xe71fd5(0xed)](_0x509904['UNIVER_SHEET'])[_0xe71fd5(0x16e)](_0x477b6f(this['dispose$']))[_0xe71fd5(0x1f3)](async _0x1304c4=>{const _0x37ec7b=_0xe71fd5,_0x292c98=_0x1304c4['getUnitId'](),_0x288d5f=await this[_0x37ec7b(0x1fd)](_0x292c98);this[_0x37ec7b(0x195)]['next'](_0x288d5f),this[_0x37ec7b(0x16a)][_0x37ec7b(0x137)](_0x292c98,_0x288d5f);}),this['_univerInstanceService'][_0xe71fd5(0xed)](_0x509904[_0xe71fd5(0x21a)])[_0xe71fd5(0x16e)](_0x477b6f(this[_0xe71fd5(0x19b)]))['pipe'](_0x23ef07(_0x423d3f=>!_0x423d3f[_0xe71fd5(0x147)]()['startsWith']('__')))[_0xe71fd5(0x1f3)](async _0x4058d3=>{const _0x4c06dc=_0xe71fd5,_0x3d1168=_0x4058d3[_0x4c06dc(0x147)](),_0x1530f3=await this[_0x4c06dc(0xe7)](_0x3d1168);this['_entityInit$'][_0x4c06dc(0x200)](_0x1530f3),this[_0x4c06dc(0x16a)][_0x4c06dc(0x137)](_0x3d1168,_0x1530f3);}),_0x2b216c(this[_0xe71fd5(0xcc)][_0xe71fd5(0xfa)](_0x509904[_0xe71fd5(0x21a)]),this[_0xe71fd5(0xcc)][_0xe71fd5(0xfa)](_0x509904[_0xe71fd5(0x83)]))[_0xe71fd5(0x16e)](_0x477b6f(this[_0xe71fd5(0x19b)]))[_0xe71fd5(0x1f3)](_0x5880ba=>{const _0x1d9f36=_0xe71fd5,_0x12a334=_0x5880ba[_0x1d9f36(0x147)](),_0x5d7906=this['_entities'][_0x1d9f36(0x8d)](_0x12a334);_0x5d7906&&(_0x5d7906['dispose'](),this[_0x1d9f36(0x16a)][_0x1d9f36(0xa0)](_0x12a334));});}async[_0x462894(0x1fd)](_0x233560){const _0xa7caf6=_0x462894,_0x584989=await this[_0xa7caf6(0xa2)]['requireSession'](_0x233560),_0x9ffe05=this[_0xa7caf6(0x133)]['createInstance'](Me,_0x233560,_0x584989);return _0x9ffe05[_0xa7caf6(0x153)](),_0x9ffe05;}async['_startDocCollabCursor'](_0x1e2600){const _0x49887e=_0x462894,_0x35c804=await this[_0x49887e(0xa2)][_0x49887e(0x243)](_0x1e2600),_0x20f541=this[_0x49887e(0x133)][_0x49887e(0x1d4)](Ue,_0x1e2600,_0x35c804);return _0x20f541[_0x49887e(0x153)](),_0x20f541;}};F=Ai([me(0x0,_0x13b0f3),me(0x1,_0x4908fa(_0x5bd625)),me(0x2,_0x4908fa(_0x4f7017))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x5e3012,_0x721702){const _0x1ddd92=_0x462894;let {radius:_0x2dc0ff,width:_0x22a687,height:_0x59a816}=_0x721702;_0x2dc0ff=_0x2dc0ff!=null?_0x2dc0ff:0x0,_0x22a687=_0x22a687!=null?_0x22a687:0x1e,_0x59a816=_0x59a816!=null?_0x59a816:0x1e;let _0xd5af29=0x0,_0x7ad1f=0x0,_0x204abd=0x0;_0xd5af29=_0x7ad1f=_0x204abd=Math[_0x1ddd92(0x23b)](_0x2dc0ff,_0x22a687/0x2,_0x59a816/0x2),_0x5e3012[_0x1ddd92(0x193)](),_0x5e3012[_0x1ddd92(0xcb)](_0xd5af29,0x0),_0x5e3012['lineTo'](_0x22a687-_0x7ad1f,0x0),_0x5e3012[_0x1ddd92(0x202)](_0x22a687-_0x7ad1f,_0x7ad1f,_0x7ad1f,Math['PI']*0x3/0x2,0x0,!0x1),_0x5e3012['lineTo'](_0x22a687,_0x59a816-_0x204abd),_0x5e3012['arc'](_0x22a687-_0x204abd,_0x59a816-_0x204abd,_0x204abd,0x0,Math['PI']/0x2,!0x1),_0x5e3012[_0x1ddd92(0x21f)](0x0,_0x59a816),_0x5e3012[_0x1ddd92(0x21f)](0x0,_0xd5af29),_0x5e3012[_0x1ddd92(0x202)](_0xd5af29,_0xd5af29,_0xd5af29,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5e3012[_0x1ddd92(0x80)](),_0x721702['fill']&&(_0x5e3012[_0x1ddd92(0x204)](),_0x5e3012['fillStyle']=_0x721702[_0x1ddd92(0x125)],_0x721702[_0x1ddd92(0xc5)]===_0x1ddd92(0x11a)?_0x5e3012[_0x1ddd92(0x125)]('evenodd'):_0x5e3012[_0x1ddd92(0x125)](),_0x5e3012[_0x1ddd92(0x115)]());}class ue extends _0x46a841{constructor(_0x3ada72,_0x1c5cfc){const _0x16a50e=_0x462894;super(_0x3ada72,_0x1c5cfc),_(this,_0x16a50e(0x169)),_(this,_0x16a50e(0x22c)),(this[_0x16a50e(0x169)]=_0x1c5cfc==null?void 0x0:_0x1c5cfc['color'],this[_0x16a50e(0x22c)]=_0x1c5cfc==null?void 0x0:_0x1c5cfc[_0x16a50e(0x22c)]);}static[_0x462894(0xa4)](_0xc39d8b,_0x5cebfb){const _0x1a34ce=_0x462894,{text:_0x1a0c17,color:_0x3a3303}=_0x5cebfb;_0xc39d8b['save'](),_0xc39d8b['font']=_0x1a34ce(0x1a4);const _0x1fe8d5=_0xc39d8b[_0x1a34ce(0x227)](_0x1a0c17)[_0x1a34ce(0x219)],_0x4224ff=Math[_0x1a34ce(0x23b)](_0x1fe8d5+0x2*Ie,Qe);$i(_0xc39d8b,{'height':J,'radius':0x4,'width':_0x4224ff,'fill':_0x3a3303}),_0xc39d8b[_0x1a34ce(0xa1)]='#FFF';const _0x6cc929=Ie,_0x57be02=J-yi,_0x522650=Qe-0x2*Ie;if(_0x1fe8d5>_0x522650){let _0x4cbf07='',_0x53bc08=0x0;for(const _0x384a8e of _0x1a0c17){const _0x5c89b1=_0xc39d8b['measureText'](_0x384a8e)[_0x1a34ce(0x219)];if(_0x53bc08+_0x5c89b1<=_0x522650-_0xc39d8b[_0x1a34ce(0x227)](_0x1a34ce(0x18e))['width'])_0x4cbf07+=_0x384a8e,_0x53bc08+=_0x5c89b1;else{_0x4cbf07+='...';break;}}_0xc39d8b['fillText'](_0x4cbf07,_0x6cc929,_0x57be02);}else _0xc39d8b[_0x1a34ce(0x217)](_0x1a0c17,_0x6cc929,_0x57be02);_0xc39d8b[_0x1a34ce(0x115)]();}[_0x462894(0x24a)](_0x385abb){ue['drawWith'](_0x385abb,this);}}const ve=_0x462894(0x1cf),xi=_0x462894(0x170),Bi=_0x462894(0x79),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x462894(0x156);class qe{constructor(_0x1a28f6,_0x3902b8,_0x4beaee,_0x263177){const _0x5df2c8=_0x462894;_(this,_0x5df2c8(0xe5),[]),_(this,_0x5df2c8(0x20f),null),_(this,_0x5df2c8(0x1cb),null),_(this,_0x5df2c8(0x16f),null),_(this,_0x5df2c8(0x164),null),_(this,'_eventUnsubscribe',null),(this[_0x5df2c8(0x167)]=_0x1a28f6,this[_0x5df2c8(0xa9)]=_0x3902b8,this[_0x5df2c8(0x214)]=_0x4beaee,this['_document']=_0x263177,this['_render']());}set[_0x462894(0x1d7)](_0x13c3eb){const _0x330113=_0x462894;_0x13c3eb?(this[_0x330113(0x16f)]&&this[_0x330113(0x16f)][_0x330113(0x1b5)](),this[_0x330113(0x1cb)]&&this[_0x330113(0x1cb)][_0x330113(0x26b)]()):(this[_0x330113(0x16f)]&&this[_0x330113(0x16f)][_0x330113(0x26b)](),this[_0x330113(0x1cb)]&&this['_textBubble'][_0x330113(0x1b5)]());}[_0x462894(0x1c4)](){const _0x17c7d0=_0x462894;for(const _0x438566 of this[_0x17c7d0(0xe5)])_0x438566['dispose']();this['_textBubble']&&this[_0x17c7d0(0x1cb)]['dispose'](),this['_anchorDot']&&this[_0x17c7d0(0x16f)][_0x17c7d0(0x1c4)](),this['_anchor']&&this[_0x17c7d0(0x20f)][_0x17c7d0(0x1c4)](),this[_0x17c7d0(0xe2)]&&this[_0x17c7d0(0xe2)]();}[_0x462894(0x8c)](){const _0x4e008a=_0x462894;var _0x160483;const {_docSkeleton:_0x8112a0,_document:_0x5755e3}=this,{color:_0x504196,name:_0x55f696,ranges:_0xe654b6}=this[_0x4e008a(0x167)],_0x3b2b03=_0x5755e3['getOffsetConfig'](),{docsLeft:_0x1d6893,docsTop:_0x3e0de4}=_0x3b2b03,_0x524c6b=new _0x14ab01(_0x3b2b03,_0x8112a0);for(const {startOffset:_0x3aa4f3,endOffset:_0x43b7da,rangeType:_0x8c5ea,segmentId:_0x2f3c70,segmentPage:_0x376aee,collapsed:_0x4c840d,isActive:_0x5e4477}of _0xe654b6){const _0xc148e4=_0x8112a0[_0x4e008a(0x9a)](_0x3aa4f3,!0x0,_0x2f3c70,_0x376aee);let _0x1130a6=_0x8112a0[_0x4e008a(0x9a)](_0x43b7da,!0x0,_0x2f3c70,_0x376aee);if(_0x1130a6==null&&(_0x1130a6=_0x8112a0[_0x4e008a(0x9a)](_0x43b7da-0x1,!0x1,_0x2f3c70,_0x376aee)),_0x5e4477){const {contentBoxPointGroup:_0x2a56da}=_0x524c6b[_0x4e008a(0x1c1)](_0x1130a6,_0x1130a6);if(_0x2a56da[_0x4e008a(0x231)]===0x0)continue;this[_0x4e008a(0xdc)](_0x504196,_0x2a56da,_0x1d6893,_0x3e0de4,_0x55f696),this[_0x4e008a(0xe2)]=this['_handleHover']();}if(_0xc148e4&&_0x1130a6){if(_0x8c5ea===_0x435ae7[_0x4e008a(0x21d)]){const _0x409157=new _0xa375cd(_0x3b2b03,_0x8112a0),{pointGroup:_0x1dde53}=(_0x160483=_0x409157['getRangePointData'](_0xc148e4,_0x1130a6))!=null?_0x160483:{};if(_0x1dde53==null||_0x1dde53['length']===0x0)continue;this[_0x4e008a(0x25a)](_0x504196,_0x1dde53,_0x1d6893,_0x3e0de4);}else{if(!_0x4c840d){const {borderBoxPointGroup:_0x3ff37a}=_0x524c6b[_0x4e008a(0x1c1)](_0xc148e4,_0x1130a6);if(_0x3ff37a['length']===0x0)continue;this[_0x4e008a(0x1e4)](_0x504196,_0x3ff37a,_0x1d6893,_0x3e0de4);}}}}}[_0x462894(0xdc)](_0x215495,_0x210f87,_0x18609c,_0x3ced12,_0x2203d3){const _0x436cd3=_0x462894,_0x482499=this['_getAnchorBounding'](_0x210f87),{left:_0xe73ef3,top:_0x412533,height:_0x42235b}=_0x482499,_0x2a0ee9=this['_getScale'](),_0x2e2637=Hi/_0x2a0ee9,_0x14f09f=new _0x165788(ve+_0x3f1aaa(K),{'left':_0xe73ef3+_0x18609c-_0x2e2637,'top':_0x412533+_0x3ced12,'height':_0x42235b,'width':ki,'fill':_0x215495||_0x41dd54(_0x324582[_0x436cd3(0x8b)],0x0),'strokeWidth':_0x2e2637,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x14f09f,this[_0x436cd3(0xa9)]['addObject'](_0x14f09f,_0x4ad887);const _0x541826=new _0x165788(ve+_0x3f1aaa(K),{'left':_0xe73ef3+_0x18609c-_0x2e2637,'top':_0x412533+_0x3ced12-ge/0x2,'height':ge,'width':ge,'fill':_0x215495||_0x41dd54(_0x324582[_0x436cd3(0x8b)],0x0),'strokeWidth':0x0,'stroke':_0x215495||_0x41dd54(_0x324582['black'],0x0),'evented':!0x1});this[_0x436cd3(0x16f)]=_0x541826,this[_0x436cd3(0xa9)][_0x436cd3(0x1d3)](_0x541826,_0x4ad887);const _0x4e2cf1=new ue(ve+_0x3f1aaa(K),{'left':_0xe73ef3+_0x18609c-_0x2e2637,'top':_0x412533+_0x3ced12-J,'text':_0x2203d3,'color':_0x215495});this[_0x436cd3(0x1cb)]=_0x4e2cf1,this[_0x436cd3(0xa9)][_0x436cd3(0x1d3)](_0x4e2cf1,_0x4ad887),this[_0x436cd3(0x1d7)]=!0x1;}[_0x462894(0x1a9)](){const _0x15ee87=_0x462894,_0x47567a=this[_0x15ee87(0x20f)][_0x15ee87(0xdd)][_0x15ee87(0x1a2)](()=>{const _0x19d08e=_0x15ee87;this[_0x19d08e(0x1d7)]=!0x0;}),_0xc4d88d=this[_0x15ee87(0x20f)]['onPointerLeave$'][_0x15ee87(0x1a2)](()=>{const _0x3fdfe5=_0x15ee87;this['_hideTimer']&&clearTimeout(this[_0x3fdfe5(0x164)]),this['_hideTimer']=setTimeout(()=>{const _0x1bc53f=_0x3fdfe5;this[_0x1bc53f(0x1d7)]=!0x1;},0x7d0);});return()=>{_0x47567a['unsubscribe'](),_0xc4d88d['unsubscribe']();};}[_0x462894(0x1e4)](_0x229959,_0x38f5c9,_0x186b55,_0x10b611){const _0xe21c65=_0x462894,_0x37ebbe=new _0x42986a(_0x229959)[_0xe21c65(0x10c)](0.2)[_0xe21c65(0xa8)](),_0x5715e8=new _0x1537ee(xi+_0x3f1aaa(K),{'pointsGroup':_0x38f5c9,'fill':_0x37ebbe||_0x41dd54(_0x324582['black'],0.2),'left':_0x186b55,'top':_0x10b611,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe21c65(0xe5)][_0xe21c65(0xb2)](_0x5715e8),this[_0xe21c65(0xa9)][_0xe21c65(0x1d3)](_0x5715e8,_0x4ad887);}[_0x462894(0x25a)](_0x25dc83,_0x10a8d2,_0x5015fe,_0x50f96a){const _0x28e397=_0x462894,_0x4b1dab=new _0x42986a(_0x25dc83)[_0x28e397(0x10c)](0.2)[_0x28e397(0xa8)](),_0x4f5d6d=new _0x1537ee(Bi+_0x3f1aaa(K),{'pointsGroup':_0x10a8d2,'fill':_0x4b1dab||_0x41dd54(_0x324582['black'],0.2),'left':_0x5015fe,'top':_0x50f96a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28e397(0xe5)]['push'](_0x4f5d6d),this[_0x28e397(0xa9)][_0x28e397(0x1d3)](_0x4f5d6d,_0x4ad887);}[_0x462894(0xf1)](_0x5b7f90){const _0x449e7c=_0x5b7f90[0x0],_0x1277c0=_0x449e7c[0x0],_0x152918=_0x449e7c[0x2],{x:_0x5ebbd5,y:_0x405914}=_0x1277c0,{x:_0x5435fa,y:_0x26c11e}=_0x152918;return{'left':_0x5ebbd5,'top':_0x405914,'width':_0x5435fa-_0x5ebbd5,'height':_0x26c11e-_0x405914};}['_getScale'](){const _0xc1415b=_0x462894,{scaleX:_0x17952a,scaleY:_0x4161e8}=this['_scene']['getAncestorScale']();return Math[_0xc1415b(0x18d)](_0x17952a,_0x4161e8);}}var Yi=Object[_0x462894(0x1a7)],ji=(_0x34bd5b,_0x18ba41,_0x3ae551,_0x365611)=>{const _0xdeca92=_0x462894;for(var _0x16a831=_0x365611>0x1?void 0x0:_0x365611?Yi(_0x18ba41,_0x3ae551):_0x18ba41,_0x4b18cf=_0x34bd5b[_0xdeca92(0x231)]-0x1,_0x5abfac;_0x4b18cf>=0x0;_0x4b18cf--)(_0x5abfac=_0x34bd5b[_0x4b18cf])&&(_0x16a831=_0x5abfac(_0x16a831)||_0x16a831);return _0x16a831;},ee=(_0x10804c,_0x365fb4)=>(_0x31337c,_0x388f37)=>_0x365fb4(_0x31337c,_0x388f37,_0x10804c);let Le=class extends _0x2425eb{constructor(_0x3aeb03,_0x55edb0,_0x2c0e7f,_0x52503c,_0x50f563){const _0x5f5994=_0x462894;super(),_(this,_0x5f5994(0x211),[]),_(this,_0x5f5994(0x23a),[]),(this[_0x5f5994(0x14a)]=_0x3aeb03,this[_0x5f5994(0x1a5)]=_0x55edb0,this[_0x5f5994(0x215)]=_0x2c0e7f,this[_0x5f5994(0x146)]=_0x52503c,this['_themeService']=_0x50f563,this[_0x5f5994(0x252)]());}[_0x462894(0x252)](){const _0x30dddc=_0x462894,_0x162ef7=this['_context']['unitId'],_0xfc9cbe=this[_0x30dddc(0x1a5)];this[_0x30dddc(0x9d)](_0x2d6241([this[_0x30dddc(0x215)][_0x30dddc(0x134)](_0x162ef7),this['_themeService'][_0x30dddc(0x112)]])[_0x30dddc(0x16e)](_0x4a2751(([_0x5f3f37,_0x247788])=>({'skeleton':_0xfc9cbe[_0x30dddc(0x210)](),'cursors':[..._0x5f3f37['values']()][_0x30dddc(0x143)](_0x22c2a0=>({..._0x22c2a0,'color':this[_0x30dddc(0x187)][_0x30dddc(0x157)](_0x22c2a0['color'])}))})))[_0x30dddc(0x1f3)](_0x3cb3dc=>{const _0x29ddad=_0x30dddc;if(this[_0x29ddad(0x113)](),_0x3cb3dc){const {skeleton:_0x411810,cursors:_0x5a241f}=_0x3cb3dc;this['_updateCollabCursors'](_0x411810,_0x5a241f);}})),this[_0x30dddc(0xa7)](),this[_0x30dddc(0x192)]();}[_0x462894(0x11b)](_0x2edf2e,_0x20dfd1){const _0x3a1180=_0x462894,{scene:_0x2c77e9,mainComponent:_0x35d1c8}=this[_0x3a1180(0x14a)],_0x1990cd=_0x20dfd1['map'](_0x3e6bb5=>new qe(_0x3e6bb5,_0x2c77e9,_0x2edf2e,_0x35d1c8));this['_cursorShapes']=_0x1990cd,this[_0x3a1180(0x23a)]=_0x20dfd1;}['_refreshCollabCursors'](){const _0x3d5b5e=_0x462894;this['_removeCollabCursors']();const {scene:_0x289cb4,mainComponent:_0xfa06c7}=this[_0x3d5b5e(0x14a)],_0xfef2c3=this[_0x3d5b5e(0x1a5)][_0x3d5b5e(0x210)](),_0x550c05=this[_0x3d5b5e(0x23a)][_0x3d5b5e(0x222)](_0x4f2bdc=>new qe(_0x4f2bdc,_0x289cb4,_0xfef2c3,_0xfa06c7));this[_0x3d5b5e(0x211)]=_0x550c05;}[_0x462894(0x113)](){const _0x594d5e=_0x462894;this['_cursorShapes'][_0x594d5e(0x1b8)](_0x4c8a8e=>_0x4c8a8e[_0x594d5e(0x1c4)]()),this[_0x594d5e(0x211)]=[];}[_0x462894(0x192)](){const _0x10261e=_0x462894,_0x5e2d53=[_0x1d3631['id']];this[_0x10261e(0x9d)](this[_0x10261e(0x146)][_0x10261e(0x224)](_0x2f50a4=>{const _0x26db4f=_0x10261e;_0x5e2d53['includes'](_0x2f50a4['id'])&&_0x2f50a4['params'][_0x26db4f(0x93)]===this['_context'][_0x26db4f(0x93)]&&this[_0x26db4f(0xee)]();}));}[_0x462894(0xa7)](){const _0x5c7bdf=_0x462894;this[_0x5c7bdf(0x9d)](_0x5205b9(this[_0x5c7bdf(0x14a)]['engine']['onTransformChange$'])[_0x5c7bdf(0x16e)](_0x557b08(_0x166316=>_0x166316[_0x5c7bdf(0xd5)]===_0x326786[_0x5c7bdf(0x221)]),_0x727cf8(0x10))[_0x5c7bdf(0x1f3)](()=>{const _0x1a112c=_0x5c7bdf;this[_0x1a112c(0xee)]();}));}};Le=ji([ee(0x1,_0x4908fa(_0x7e904b)),ee(0x2,_0x4908fa(F)),ee(0x3,_0x42ff01),ee(0x4,_0x4908fa(_0x50fadf))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x46a841{constructor(_0x523048,_0x2de249){const _0x4c2077=_0x462894;super(_0x523048,_0x2de249),_(this,_0x4c2077(0x1ea)),_(this,_0x4c2077(0x1a3),!0x1),_(this,_0x4c2077(0x1f2)),_(this,_0x4c2077(0x213),''),_(this,_0x4c2077(0x90),_0x4c2077(0x1ab)),_(this,'_backgroundColor'),(_0x2de249&&this[_0x4c2077(0x172)](_0x2de249),this[_0x4c2077(0xdd)][_0x4c2077(0x1a2)](()=>this[_0x4c2077(0x172)]({'hovered':!0x0})),this[_0x4c2077(0xf8)][_0x4c2077(0x1a2)](()=>this[_0x4c2077(0x172)]({'hovered':!0x1})));}[_0x462894(0x172)](_0x154cdf){const _0x32e365=_0x462894;var _0x5d415a,_0x4c1841,_0x4e189b,_0x46e23b,_0x4bf360,_0x35d9ac;this[_0x32e365(0x1ea)]=(_0x5d415a=_0x154cdf[_0x32e365(0x169)])!=null?_0x5d415a:this[_0x32e365(0x1ea)],this['_hovered']=(_0x4c1841=_0x154cdf['hovered'])!=null?_0x4c1841:this[_0x32e365(0x1a3)],this[_0x32e365(0x1f2)]=(_0x4e189b=_0x154cdf['range'])!=null?_0x4e189b:this[_0x32e365(0x1f2)],this[_0x32e365(0x213)]=(_0x46e23b=_0x154cdf[_0x32e365(0x14b)])!=null?_0x46e23b:this[_0x32e365(0x213)],this[_0x32e365(0x90)]=(_0x4bf360=_0x154cdf[_0x32e365(0x25f)])!=null?_0x4bf360:this['_labelPosition'],this[_0x32e365(0x15e)]=(_0x35d9ac=_0x154cdf[_0x32e365(0x242)])!=null?_0x35d9ac:this[_0x32e365(0x15e)],this[_0x32e365(0x205)]({'width':_0x154cdf[_0x32e365(0x219)],'height':_0x154cdf[_0x32e365(0x178)]});}[_0x462894(0xc8)](_0x2d2a08){const _0x5ccaac=_0x462894,{row:_0x3f91ff,column:_0x3145da}=_0x2d2a08;if(_0x3f91ff>=this[_0x5ccaac(0x1f2)][_0x5ccaac(0x7c)]&&_0x3f91ff<=this[_0x5ccaac(0x1f2)][_0x5ccaac(0x1b9)]&&_0x3145da>=this[_0x5ccaac(0x1f2)][_0x5ccaac(0x1c0)]&&_0x3145da<=this[_0x5ccaac(0x1f2)][_0x5ccaac(0x82)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x462894(0x77)](_0x1e1ec0){return!0x1;}[_0x462894(0x24a)](_0x57c83b){const _0x4d54c2=_0x462894;_0x165788['drawWith'](_0x57c83b,{'width':this[_0x4d54c2(0x219)],'height':this[_0x4d54c2(0x178)],'strokeWidth':Wi,'stroke':this[_0x4d54c2(0x1ea)],'evented':!0x1,'fill':this[_0x4d54c2(0x15e)]}),this[_0x4d54c2(0x1a3)]&&(_0x57c83b[_0x4d54c2(0x204)](),_0x57c83b[_0x4d54c2(0x116)](0x1,0x0,0x0,0x1,this['width'],this[_0x4d54c2(0x90)]===_0x4d54c2(0xbf)?0x0:-J),ue['drawWith'](_0x57c83b,{'text':this[_0x4d54c2(0x213)],'color':this['_color']}),_0x57c83b[_0x4d54c2(0x115)]());}}var Gi=Object[_0x462894(0x1a7)],Ki=(_0x25e1e9,_0x22ffe1,_0x2acf9e,_0x4cd11e)=>{for(var _0x3f5389=_0x4cd11e>0x1?void 0x0:_0x4cd11e?Gi(_0x22ffe1,_0x2acf9e):_0x22ffe1,_0x190cec=_0x25e1e9['length']-0x1,_0x2fd44f;_0x190cec>=0x0;_0x190cec--)(_0x2fd44f=_0x25e1e9[_0x190cec])&&(_0x3f5389=_0x2fd44f(_0x3f5389)||_0x3f5389);return _0x3f5389;},pe=(_0x4e296e,_0x1842ee)=>(_0x74a114,_0x377c34)=>_0x1842ee(_0x74a114,_0x377c34,_0x4e296e);const zi=0x1389;let Pe=class extends _0x2425eb{constructor(_0x19652b,_0x3d1ca2,_0x107374,_0x27a136){const _0x1a7f01=_0x462894;super(),_(this,_0x1a7f01(0x23a),new Set()),_(this,'_lastPointer',null),(this[_0x1a7f01(0x14a)]=_0x19652b,this[_0x1a7f01(0xbc)]=_0x3d1ca2,this[_0x1a7f01(0x215)]=_0x107374,this['_themeService']=_0x27a136,this[_0x1a7f01(0x252)]());}[_0x462894(0x252)](){const _0x50df2a=_0x462894;this[_0x50df2a(0xbc)][_0x50df2a(0x241)]['pipe'](_0x50fa01(this[_0x50df2a(0x19b)]),_0x92f7af(_0xf04271=>{const _0x27c94d=_0x50df2a;if(_0xf04271){const _0x3cae79=_0xf04271[_0x27c94d(0x255)];return _0x2d6241(this[_0x27c94d(0x215)][_0x27c94d(0x134)](this['_context'][_0x27c94d(0x93)]),this[_0x27c94d(0x187)][_0x27c94d(0x112)])[_0x27c94d(0x16e)](_0x4a2751(([_0x5f1798,_0x5e4126])=>{const _0x1e7969=_0x27c94d,_0x2eaf13=new Map();return _0x5f1798[_0x1e7969(0x1b8)]((_0x3c516d,_0xb07da2)=>{const _0x5ad094=_0x1e7969;if(_0x3c516d['sheetID']===_0x3cae79){const _0x292377={..._0x3c516d};_0x292377[_0x5ad094(0x169)]=this[_0x5ad094(0x187)]['getColorFromTheme'](_0x3c516d['color']),_0x2eaf13[_0x5ad094(0x137)](_0xb07da2,_0x292377);}}),{'skeleton':_0xf04271,'cursors':_0x2eaf13};}));}return _0x1304d5({'skeleton':null,'cursors':new Map()});}))[_0x50df2a(0x1f3)](({skeleton:_0xe6b3db,cursors:_0x321a0e})=>{const _0x5d46d3=_0x50df2a;this[_0x5d46d3(0x113)](),_0xe6b3db&&this[_0x5d46d3(0x11b)](_0xe6b3db,_0x321a0e);}),this[_0x50df2a(0xbc)][_0x50df2a(0x241)][_0x50df2a(0x1f3)](_0x1cc495=>{const _0x37c096=_0x50df2a;if(_0x1cc495==null)return;const {skeleton:_0x285d60}=_0x1cc495,{scene:_0x5c9bcd}=this[_0x37c096(0x14a)];_0x5c9bcd['onPointerMove$']['subscribeEvent'](_0x2c83e9(_0x2c2c48=>{const _0x27f0d7=_0x37c096;var _0x35c526,_0x4df9e9;const {offsetX:_0x5d19c0,offsetY:_0x13942d}=_0x2c2c48,{x:_0x3fc646,y:_0x437234}=_0x5c9bcd[_0x27f0d7(0xeb)](_0x393e32[_0x27f0d7(0x1be)]([_0x5d19c0,_0x13942d])),{scaleX:_0x574aa6,scaleY:_0x1a4ddc}=_0x5c9bcd['getAncestorScale'](),_0x35e46f=_0x5c9bcd[_0x27f0d7(0x9c)](_0x3ff617['VIEW_MAIN']),_0x45fa49=_0x5c9bcd[_0x27f0d7(0xdf)](_0x393e32[_0x27f0d7(0x1be)]([_0x3fc646,_0x437234]),_0x35e46f),_0x5d77ea=_0x285d60[_0x27f0d7(0x24f)](_0x5d19c0,_0x13942d,_0x574aa6,_0x1a4ddc,_0x45fa49);((_0x35c526=this[_0x27f0d7(0x249)])==null?void 0x0:_0x35c526[_0x27f0d7(0x114)])===_0x5d77ea[_0x27f0d7(0x114)]&&((_0x4df9e9=this[_0x27f0d7(0x249)])==null?void 0x0:_0x4df9e9['row'])===_0x5d77ea['row']||this['_cursors'][_0x27f0d7(0x1b8)](_0x7d7ac2=>{const _0x4ac991=_0x27f0d7;_0x7d7ac2[_0x4ac991(0xc8)](_0x5d77ea);});},0x64));});}[_0x462894(0x11b)](_0x3e17cf,_0x140db1){const _0x53bffb=_0x462894;var _0x3b43e0;const _0x5c1c9d=(_0x3b43e0=this[_0x53bffb(0xbc)][_0x53bffb(0x1b0)]())==null?void 0x0:_0x3b43e0['skeleton'];if(!_0x5c1c9d)return;const _0x50359c=this[_0x53bffb(0xd9)]();if(!_0x50359c)return;this[_0x53bffb(0x23a)]['forEach'](_0x3be657=>{_0x3be657['makeDirty']();});const {scene:_0x2a404c}=_0x50359c,_0x5a3167=Ji(Array[_0x53bffb(0x88)](_0x140db1['values']()))[_0x53bffb(0x222)](_0x263a99=>{const _0x5dad26=_0x53bffb,{color:_0x575bdb,range:_0x234625,name:_0x54e17c,selection:_0x273687,sheetID:_0x4beffd}=_0x263a99,{startColumn:_0x52d7a8,startRow:_0x9e832f,endColumn:_0x1eab80,endRow:_0x147243}=_0x234625,_0x376788=_0x91eb96(_0x9e832f,_0x52d7a8,_0x2a404c,_0x5c1c9d),_0x3ae735=_0x91eb96(_0x147243,_0x1eab80,_0x2a404c,_0x5c1c9d),{columnHeaderHeightAndMarginTop:_0x4506ec}=_0x5c1c9d,{startX:_0x2b86c2,startY:_0x527268}=_0x376788,{endX:_0x41fa97,endY:_0x23d89c}=_0x3ae735,_0x442fa7=_0x41fa97-_0x2b86c2,_0x51ddc4=_0x23d89c-_0x527268,_0x2806aa={'labelPosition':_0x527268-_0x4506ec>=J?'top':_0x5dad26(0xbf),'sheetID':_0x4beffd,'range':_0x234625,'color':_0x575bdb,'name':_0x54e17c,'selection':_0x273687,'left':_0x2b86c2,'top':_0x527268,'width':_0x442fa7,'height':_0x51ddc4,'evented':!0x1,'zIndex':zi};return new Xi(_0x54e17c,_0x2806aa);});_0x2a404c[_0x53bffb(0x218)](_0x5a3167,Vi),this[_0x53bffb(0x23a)]=new Set(_0x5a3167);}[_0x462894(0x113)](){const _0x57fbc8=_0x462894;var _0x1a9700;(_0x1a9700=this['_cursors'])==null||_0x1a9700[_0x57fbc8(0x1b8)](_0xc0c7f1=>_0xc0c7f1[_0x57fbc8(0x1c4)]());}[_0x462894(0xd9)](){const _0x1d7664=_0x462894;return _0x12b955(this[_0x1d7664(0x14a)][_0x1d7664(0x206)],this[_0x1d7664(0x14a)]);}};Pe=Ki([pe(0x1,_0x4908fa(_0x5aac8a)),pe(0x2,_0x4908fa(F)),pe(0x3,_0x4908fa(_0x50fadf))],Pe);function Ji(_0x1e81b5){const _0xe9d38a=_0x462894,_0x76c346=new Map();return _0x1e81b5['forEach'](_0x3f3f0b=>{const _0x232350=_0x335a;if(_0x76c346[_0x232350(0x7a)](_0x3f3f0b[_0x232350(0x1d1)])){const _0x20e027=_0x76c346[_0x232350(0x8d)](_0x3f3f0b[_0x232350(0x1d1)]);_0x20e027[_0x232350(0x14b)]+=',\x20'+_0x3f3f0b['name'];}else _0x76c346[_0x232350(0x137)](_0x3f3f0b['selection'],_0x3f3f0b);}),Array[_0xe9d38a(0x88)](_0x76c346[_0xe9d38a(0x94)]());}var Zi=Object[_0x462894(0x1a7)],Qi=(_0x59f278,_0x15a4bb,_0xd74d69,_0x403acf)=>{for(var _0x355a78=_0x403acf>0x1?void 0x0:_0x403acf?Zi(_0x15a4bb,_0xd74d69):_0x15a4bb,_0x530364=_0x59f278['length']-0x1,_0xb9fa28;_0x530364>=0x0;_0x530364--)(_0xb9fa28=_0x59f278[_0x530364])&&(_0x355a78=_0xb9fa28(_0x355a78)||_0x355a78);return _0x355a78;},B=(_0x121ee0,_0x1fc027)=>(_0x1832b6,_0x28c803)=>_0x1fc027(_0x1832b6,_0x28c803,_0x121ee0);function _0x335a(_0x202234,_0x104bd1){const _0x5c9903=_0x5c99();return _0x335a=function(_0x335ab1,_0xff28eb){_0x335ab1=_0x335ab1-0x76;let _0x4e5ebe=_0x5c9903[_0x335ab1];return _0x4e5ebe;},_0x335a(_0x202234,_0x104bd1);}let ne=class extends _0x407d7b{constructor(_0x38f4e4,_0x13ef37,_0x40ea97,_0x996cef,_0x489efc,_0x272108){const _0x425408=_0x462894;super(),this['_beforeCloseService']=_0x38f4e4,this[_0x425408(0x92)]=_0x13ef37,this[_0x425408(0x21b)]=_0x40ea97,this['_messageService']=_0x996cef,this[_0x425408(0x183)]=_0x489efc,this[_0x425408(0x12c)]=_0x272108,this[_0x425408(0x177)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x3e30ec=_0x462894;this[_0x3e30ec(0x9d)](this['_beforeCloseService'][_0x3e30ec(0x8e)](()=>{const _0x45f1f4=_0x3e30ec;if(this[_0x45f1f4(0x92)][_0x45f1f4(0x268)]['size'])return this[_0x45f1f4(0x12c)]['t'](_0x45f1f4(0xfc));}));}[_0x462894(0x13b)](){const _0x2d5a29=_0x462894;this[_0x2d5a29(0x9d)](this['_collaborationUIEventService'][_0x2d5a29(0xe1)]['subscribe'](_0x44cfd8=>{const _0x4c57af=_0x2d5a29;_0x44cfd8['id']===_0x379d35[_0x4c57af(0x9f)]&&this['_messageService']['show']({'type':_0x172f3a[_0x4c57af(0xbb)],'content':this[_0x4c57af(0x12c)]['t'](_0x4c57af(0x135))}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x13c)]&&this[_0x4c57af(0x1f7)]['show']({'type':_0x172f3a[_0x4c57af(0xbb)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x14e)]&&this[_0x4c57af(0x183)]['show']({'title':this[_0x4c57af(0x12c)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x4c57af(0x148),'duration':0x0}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x257)]&&this[_0x4c57af(0x1f7)]['show']({'type':_0x172f3a[_0x4c57af(0x1fe)],'content':this[_0x4c57af(0x12c)]['t'](_0x4c57af(0x10a))+'('+_0x44cfd8['data']+')'}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x104)]&&this[_0x4c57af(0x1f7)]['show']({'type':_0x172f3a[_0x4c57af(0xbb)],'content':this[_0x4c57af(0x12c)]['t'](_0x44cfd8['data']||'')}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x17e)]&&this[_0x4c57af(0x1f7)][_0x4c57af(0x26b)]({'type':_0x172f3a[_0x4c57af(0xbb)],'content':this['_localeService']['t']('session.will-retry')}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x191)]&&this['_messageService']['show']({'type':_0x172f3a[_0x4c57af(0x1fe)],'content':this[_0x4c57af(0x12c)]['t'](_0x4c57af(0x159))}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0xb7)]&&this[_0x4c57af(0x1f7)][_0x4c57af(0x26b)]({'type':_0x172f3a[_0x4c57af(0x1fe)],'content':this[_0x4c57af(0x12c)]['t'](_0x4c57af(0x239))});}));}};ne=Qi([B(0x0,_0x1590a8),B(0x1,_0x7f4ced),B(0x2,_0x4908fa(_0x54c0e1)),B(0x3,_0x38c146),B(0x4,_0x49e3b3),B(0x5,_0x4908fa(_0x4086dc))],ne);const qi=_0x462894(0x263),et={};var en=Object[_0x462894(0x1a7)],tn=(_0x205647,_0x38de15,_0x2f8ac2,_0x3079d3)=>{const _0x19837a=_0x462894;for(var _0x1652a2=_0x3079d3>0x1?void 0x0:_0x3079d3?en(_0x38de15,_0x2f8ac2):_0x38de15,_0x372e73=_0x205647[_0x19837a(0x231)]-0x1,_0x4fa2d3;_0x372e73>=0x0;_0x372e73--)(_0x4fa2d3=_0x205647[_0x372e73])&&(_0x1652a2=_0x4fa2d3(_0x1652a2)||_0x1652a2);return _0x1652a2;},tt=(_0x38c871,_0x56b93e)=>(_0x4f9229,_0x21ccce)=>_0x56b93e(_0x4f9229,_0x21ccce,_0x38c871);let re=class{constructor(_0x18b667,_0x2f72c4){const _0xaf4585=_0x462894;this[_0xaf4585(0x129)]=_0x18b667,this[_0xaf4585(0x1a1)]=_0x2f72c4;}[_0x462894(0x244)](_0xb2617){const _0x3ea192=_0x462894;this[_0x3ea192(0x220)](_0xb2617),this[_0x3ea192(0xb6)](_0xb2617);}['transformRemoteChangeset'](_0x1dca1d){const _0x484384=_0x462894,{unitID:_0x407286}=_0x1dca1d,_0x367de9=this[_0x484384(0x1a1)][_0x484384(0x20c)](_0x407286)[_0x484384(0x12a)](_0xb1c905),{redoCache:_0x43b7f6}=_0x367de9['getUndoRedoMutationParamsCache']();if(_0x43b7f6['length']===0x0)return _0x1dca1d;let _0xf4b534=_0x2d0154['deepClone'](_0x1dca1d[_0x484384(0x13d)][0x0]);for(let _0xe268ca=0x0;_0xe268ca<_0x43b7f6[_0x484384(0x231)];_0xe268ca++){const _0xc3a4df={'id':_0x484384(0xda),'params':{..._0x43b7f6[_0xe268ca]}},_0x5894de=this[_0x484384(0x129)]['transformMutation'](_0xf4b534,_0xc3a4df,!0x1);if(_0x18700a(_0x5894de))throw _0x5894de['error'];_0xf4b534=_0x5894de[_0x484384(0x15d)];}return{..._0x2d0154['deepClone'](_0x1dca1d),'mutations':[_0xf4b534]};}[_0x462894(0x220)](_0x313c61){const _0x24afb0=_0x462894,{unitID:_0x541e16}=_0x313c61,_0x131fb5=this[_0x24afb0(0x1a1)][_0x24afb0(0x20c)](_0x541e16)[_0x24afb0(0x12a)](_0xb1c905),{undoCache:_0x32848b,redoCache:_0x495f54}=_0x131fb5['getUndoRedoMutationParamsCache']();if(_0x32848b[_0x24afb0(0x231)]===0x0||_0x495f54[_0x24afb0(0x231)]===0x0)return;const _0x223265=[],_0x2c2746=[];let _0x209496=_0x2d0154[_0x24afb0(0x261)](_0x313c61[_0x24afb0(0x13d)][0x0]),_0x33cfd5=_0x2d0154[_0x24afb0(0x261)](_0x313c61[_0x24afb0(0x13d)][0x0]);for(let _0x39e56c=_0x32848b[_0x24afb0(0x231)]-0x1;_0x39e56c>=0x0;_0x39e56c--){const _0x27f61e={'id':_0x24afb0(0xda),'params':{..._0x32848b[_0x39e56c]}},_0x13944a={'id':_0x24afb0(0xda),'params':{..._0x495f54[_0x39e56c]}},_0x4d0a28=this[_0x24afb0(0x129)][_0x24afb0(0x1d6)](_0x209496,_0x27f61e,!0x1),_0x5c3d3f=this[_0x24afb0(0x129)][_0x24afb0(0x1d6)](_0x33cfd5,_0x13944a,!0x1);if(_0x18700a(_0x4d0a28))throw _0x4d0a28[_0x24afb0(0x148)];if(_0x18700a(_0x5c3d3f))throw _0x5c3d3f[_0x24afb0(0x148)];_0x223265['unshift'](_0x4d0a28[_0x24afb0(0x1cd)][_0x24afb0(0x199)]),_0x2c2746[_0x24afb0(0xc2)](_0x5c3d3f[_0x24afb0(0x1cd)][_0x24afb0(0x199)]),_0x209496=_0x4d0a28[_0x24afb0(0x15d)],_0x33cfd5=_0x5c3d3f[_0x24afb0(0x15d)];}_0x131fb5[_0x24afb0(0x1e1)]({'undoCache':_0x223265,'redoCache':_0x2c2746});}[_0x462894(0xb6)](_0x16a53f){const _0xd00799=_0x462894,{unitID:_0x1b2ce4}=_0x16a53f,_0x387072=this['_renderManagerService']['getRenderById'](_0x1b2ce4)[_0xd00799(0x12a)](_0xb1c905),_0x3ef80a=_0x387072['getActiveRange']();if(_0x3ef80a==null)return;const _0x48763a=[{'id':_0xd00799(0xda),'params':{'unitId':_0x16a53f[_0xd00799(0x1db)],'actions':null,'textRanges':[_0x3ef80a]}}],_0x3bd7aa=this[_0xd00799(0x129)]['transformMutationsWithChangeset'](_0x16a53f,_0x48763a);if(!_0x5504c9(_0x3bd7aa))throw _0x3bd7aa['error'];const _0x5b8912=_0x3bd7aa[_0xd00799(0x1cd)][0x0][_0xd00799(0x199)][_0xd00799(0xce)];Array[_0xd00799(0x179)](_0x5b8912)&&_0x5b8912[_0xd00799(0x231)]&&_0x387072[_0xd00799(0x1ba)](_0x5b8912[0x0]);}};re=tn([tt(0x0,_0x3d1a26),tt(0x1,_0x5875bf)],re);var sn=Object[_0x462894(0x1a7)],nn=(_0x632cef,_0xef6ac9,_0xb79488,_0x1a3fa7)=>{for(var _0x4b4f22=_0x1a3fa7>0x1?void 0x0:_0x1a3fa7?sn(_0xef6ac9,_0xb79488):_0xef6ac9,_0x1ec40e=_0x632cef['length']-0x1,_0x5c56bc;_0x1ec40e>=0x0;_0x1ec40e--)(_0x5c56bc=_0x632cef[_0x1ec40e])&&(_0x4b4f22=_0x5c56bc(_0x4b4f22)||_0x4b4f22);return _0x4b4f22;},Ce=(_0x4ae949,_0x2f4972)=>(_0x5d710b,_0x1b989b)=>_0x2f4972(_0x5d710b,_0x1b989b,_0x4ae949);let oe=class{constructor(_0x2afbe2,_0x15ef97,_0x23467e){const _0xc307c5=_0x462894;this[_0xc307c5(0x133)]=_0x2afbe2,this[_0xc307c5(0x129)]=_0x15ef97,this[_0xc307c5(0x188)]=_0x23467e;}[_0x462894(0x11e)](_0x4ae803){const _0x5e4c57=_0x462894;this[_0x5e4c57(0x15b)](_0x4ae803);}['transformRemoteChangeset'](_0x3a17e7){const _0x3d3c8c=_0x462894,{unitID:_0x478e7b}=_0x3a17e7,{collaboration:_0x46408d}=this[_0x3d3c8c(0x188)]['getStateCache'](_0x478e7b);if(_0x46408d[_0x3d3c8c(0x231)]===0x0)return _0x3a17e7;let _0x1cb6bc=_0x2d0154[_0x3d3c8c(0x261)](_0x3a17e7['mutations'][0x0]);for(let _0x4d57e9=0x0;_0x4d57e9<_0x46408d['length'];_0x4d57e9++){const _0x3581c3={'id':_0x3d3c8c(0xda),'params':{'unitId':_0x46408d[_0x4d57e9][_0x3d3c8c(0x93)],..._0x46408d[_0x4d57e9]['redoState']}},_0x274d7d=this[_0x3d3c8c(0x129)][_0x3d3c8c(0x1d6)](_0x1cb6bc,_0x3581c3,!0x1);if(_0x18700a(_0x274d7d))throw _0x274d7d[_0x3d3c8c(0x148)];_0x1cb6bc=_0x274d7d[_0x3d3c8c(0x15d)];}return{..._0x2d0154[_0x3d3c8c(0x261)](_0x3a17e7),'mutations':[_0x1cb6bc]};}[_0x462894(0x15b)](_0x678790){const _0x5542dc=_0x462894,{unitID:_0x5f21b8}=_0x678790,{history:_0xfdc18a,collaboration:_0x4d7fa1}=this[_0x5542dc(0x188)][_0x5542dc(0x1ac)](_0x5f21b8);if(_0xfdc18a[_0x5542dc(0x231)]===0x0&&_0x4d7fa1['length']===0x0)return;const _0x3a5d67=[],_0x2568a0=[];let _0x142dd8=_0x2d0154[_0x5542dc(0x261)](_0x678790[_0x5542dc(0x13d)][0x0]),_0x5d9733=_0x2d0154['deepClone'](_0x678790[_0x5542dc(0x13d)][0x0]);for(let _0x10a9a3=_0xfdc18a[_0x5542dc(0x231)]-0x1;_0x10a9a3>=0x0;_0x10a9a3--){const _0x3e5fbb={'id':_0x5542dc(0xda),'params':{'unitId':_0xfdc18a[_0x10a9a3][_0x5542dc(0x93)],..._0xfdc18a[_0x10a9a3][_0x5542dc(0x1c6)]}},_0x445395={'id':_0x5542dc(0xda),'params':{'unitId':_0xfdc18a[_0x10a9a3][_0x5542dc(0x93)],..._0xfdc18a[_0x10a9a3][_0x5542dc(0x17d)]}},_0x3c6608=this['_transformService'][_0x5542dc(0x1d6)](_0x142dd8,_0x3e5fbb,!0x1),_0x5cfd48=this[_0x5542dc(0x129)]['transformMutation'](_0x5d9733,_0x445395,!0x1);if(_0x18700a(_0x3c6608))throw _0x3c6608['error'];if(_0x18700a(_0x5cfd48))throw _0x5cfd48[_0x5542dc(0x148)];_0x3a5d67[_0x5542dc(0xc2)]({..._0xfdc18a[_0x10a9a3],'undoState':_0x3c6608['m2Prime'][_0x5542dc(0x199)],'redoState':_0x5cfd48[_0x5542dc(0x1cd)][_0x5542dc(0x199)]}),_0x142dd8=_0x3c6608[_0x5542dc(0x15d)],_0x5d9733=_0x5cfd48[_0x5542dc(0x15d)];}_0x142dd8=_0x2d0154[_0x5542dc(0x261)](_0x678790[_0x5542dc(0x13d)][0x0]),_0x5d9733=_0x2d0154[_0x5542dc(0x261)](_0x678790[_0x5542dc(0x13d)][0x0]);for(let _0x36328=_0x4d7fa1[_0x5542dc(0x231)]-0x1;_0x36328>=0x0;_0x36328--){const _0x54ba7a={'id':_0x5542dc(0xda),'params':{'unitId':_0x4d7fa1[_0x36328][_0x5542dc(0x93)],..._0x4d7fa1[_0x36328]['undoState']}},_0x130441={'id':_0x5542dc(0xda),'params':{'unitId':_0x4d7fa1[_0x36328]['unitId'],..._0x4d7fa1[_0x36328]['redoState']}},_0xd3041a=this[_0x5542dc(0x129)][_0x5542dc(0x1d6)](_0x142dd8,_0x54ba7a,!0x1),_0x23ce42=this[_0x5542dc(0x129)][_0x5542dc(0x1d6)](_0x5d9733,_0x130441,!0x1);if(_0x18700a(_0xd3041a))throw _0xd3041a[_0x5542dc(0x148)];if(_0x18700a(_0x23ce42))throw _0x23ce42[_0x5542dc(0x148)];_0x2568a0[_0x5542dc(0xc2)]({..._0x4d7fa1[_0x36328],'undoState':_0xd3041a[_0x5542dc(0x1cd)][_0x5542dc(0x199)],'redoState':_0x23ce42[_0x5542dc(0x1cd)][_0x5542dc(0x199)]}),_0x142dd8=_0xd3041a['m1Prime'],_0x5d9733=_0x23ce42[_0x5542dc(0x15d)];}this[_0x5542dc(0x188)][_0x5542dc(0x19e)](_0x5f21b8,{'history':_0x3a5d67,'collaboration':_0x2568a0});}};oe=nn([Ce(0x0,_0x4908fa(_0x5bd625)),Ce(0x1,_0x3d1a26),Ce(0x2,_0x4908fa(_0x101a78))],oe);var rn=Object[_0x462894(0x1a7)],on=(_0x579c00,_0x4b7a82,_0x2e40b2,_0x31dfd5)=>{const _0x1b2a14=_0x462894;for(var _0x172241=_0x31dfd5>0x1?void 0x0:_0x31dfd5?rn(_0x4b7a82,_0x2e40b2):_0x4b7a82,_0x154524=_0x579c00[_0x1b2a14(0x231)]-0x1,_0x517fdb;_0x154524>=0x0;_0x154524--)(_0x517fdb=_0x579c00[_0x154524])&&(_0x172241=_0x517fdb(_0x172241)||_0x172241);return _0x172241;},st=(_0x4b96a3,_0x341b40)=>(_0x2d210d,_0x42842c)=>_0x341b40(_0x2d210d,_0x42842c,_0x4b96a3);let ae=class{constructor(_0x16b40d,_0x92aab1){const _0x2d209b=_0x462894;this[_0x2d209b(0x133)]=_0x16b40d,this[_0x2d209b(0x129)]=_0x92aab1;}['transformSelections'](_0x52c901){const _0x3cfddf=_0x462894;var _0x315252;const _0x4ed63f=this[_0x3cfddf(0x133)][_0x3cfddf(0x8d)](_0xdbcf34),_0x889423=(_0x315252=_0x4ed63f[_0x3cfddf(0xd2)]())!=null?_0x315252:[];if(_0x889423[_0x3cfddf(0x231)]===0x0)return;const _0x2aa0a9=_0x52c901[_0x3cfddf(0x1db)],_0xb031a9=[{'id':_0x3cfddf(0xda),'params':{'unitId':_0x2aa0a9,'actions':null,'textRanges':_0x889423}}],_0x19f1ba=this['_transformService']['transformMutationsWithChangeset'](_0x52c901,_0xb031a9);if(!_0x5504c9(_0x19f1ba))throw _0x19f1ba[_0x3cfddf(0x148)];const _0x4ece58=_0x19f1ba['m2Prime'][0x0][_0x3cfddf(0x199)][_0x3cfddf(0xce)];Array[_0x3cfddf(0x179)](_0x4ece58)&&_0x4ece58['length']&&_0x4ed63f['replaceDocRanges'](_0x4ece58,{'unitId':_0x2aa0a9,'subUnitId':_0x2aa0a9},!0x1);}};ae=on([st(0x0,_0x4908fa(_0x5bd625)),st(0x1,_0x3d1a26)],ae);var an=Object[_0x462894(0x1a7)],cn=(_0x497894,_0x392036,_0x53b27c,_0x108df3)=>{const _0x9a05d5=_0x462894;for(var _0x514cfb=_0x108df3>0x1?void 0x0:_0x108df3?an(_0x392036,_0x53b27c):_0x392036,_0x4bf89f=_0x497894[_0x9a05d5(0x231)]-0x1,_0x5b86dd;_0x4bf89f>=0x0;_0x4bf89f--)(_0x5b86dd=_0x497894[_0x4bf89f])&&(_0x514cfb=_0x5b86dd(_0x514cfb)||_0x514cfb);return _0x514cfb;},N=(_0x101bf6,_0x2aca4d)=>(_0x3eff92,_0x5c5d20)=>_0x2aca4d(_0x3eff92,_0x5c5d20,_0x101bf6);let ce=class extends _0x407d7b{constructor(_0x54c700,_0x3eef41,_0x829564,_0x4700cc,_0x801811,_0x3a9a6f,_0x17ac7a,_0x40b23b){const _0x371d14=_0x462894;super(),_(this,'_status$',new _0x3b84c3(_0x211192[_0x371d14(0x102)])),(this['_docStateChangeManagerService']=_0x54c700,this['_collaborationController']=_0x3eef41,this['_docTransformIMECacheService']=_0x829564,this[_0x371d14(0x13f)]=_0x4700cc,this[_0x371d14(0x105)]=_0x801811,this[_0x371d14(0x229)]=_0x3a9a6f,this[_0x371d14(0x1f7)]=_0x17ac7a,this[_0x371d14(0x12c)]=_0x40b23b,this[_0x371d14(0x160)]());}[_0x462894(0x160)](){const _0x3271f2=_0x462894;this[_0x3271f2(0x9d)](this['_collaborationController']['entityInit$'][_0x3271f2(0x1f3)](_0x4720d0=>{const _0x6bde7e=_0x3271f2,_0x44d273=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x334b82=>{const _0xee6637=_0x335a;if(_0x334b82==null)return;const {unitId:_0x528827,redoState:_0xc0e7fc,commandId:_0x5ec399}=_0x334b82;if(_0x528827!==_0x4720d0[_0xee6637(0x1db)])return;const _0xedc6fb={'id':_0x5ec399,'type':_0x13b850[_0xee6637(0x24d)],'params':{'unitId':_0x528827,'actions':_0xc0e7fc['actions'],'textRanges':null}};_0x4720d0['onLocalMutation'](_0xedc6fb);});if(_0x4720d0['disposeWithMe'](_0x44d273),_0x4720d0 instanceof _0x5f387e){const _0x4fa5d0={'onTransformIME':_0x334202=>this[_0x6bde7e(0x176)][_0x6bde7e(0x244)](_0x334202),'onTransformState':_0x4c7cc7=>this[_0x6bde7e(0x13f)]['transformStateCache'](_0x4c7cc7),'onTransformSelections':_0x47d6d8=>this['_docTransformSelectionsService'][_0x6bde7e(0x1b2)](_0x47d6d8),'onSyncEditingCollabCursor':_0x2caf22=>this['_docSyncEditingCollabCursorService'][_0x6bde7e(0x1ce)](_0x2caf22),'onTransformRemoteChangesetByIMECache':_0x14865d=>this[_0x6bde7e(0x176)]['transformRemoteChangeset'](_0x14865d),'onTransformRemoteChangesetByStateCache':_0x54923f=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x54923f)};_0x4720d0[_0x6bde7e(0xbd)](_0x4fa5d0);}}));}};ce=cn([N(0x0,_0x4908fa(_0x101a78)),N(0x1,_0x4908fa(_0x2d5363)),N(0x2,_0x4908fa(re)),N(0x3,_0x4908fa(oe)),N(0x4,_0x4908fa(ae)),N(0x5,_0x4908fa(Fe)),N(0x6,_0x38c146),N(0x7,_0x4908fa(_0x4086dc))],ce);var ln=Object[_0x462894(0x1a7)],_n=(_0x2a21bb,_0x34eb9c,_0x5d0495,_0x2986b3)=>{const _0x1b8594=_0x462894;for(var _0x581917=_0x2986b3>0x1?void 0x0:_0x2986b3?ln(_0x34eb9c,_0x5d0495):_0x34eb9c,_0x1f33f9=_0x2a21bb[_0x1b8594(0x231)]-0x1,_0x4acfdf;_0x1f33f9>=0x0;_0x1f33f9--)(_0x4acfdf=_0x2a21bb[_0x1f33f9])&&(_0x581917=_0x4acfdf(_0x581917)||_0x581917);return _0x581917;},Ee=(_0x304be4,_0x46dbdf)=>(_0x563e1e,_0x4f4e45)=>_0x46dbdf(_0x563e1e,_0x4f4e45,_0x304be4);let we=class extends _0x407d7b{constructor(_0xe38ab,_0x118e0d,_0x3730a5){const _0x2a18dc=_0x462894;super(),_(this,_0x2a18dc(0x1cc),new Map()),_(this,_0x2a18dc(0x236),new Map()),_(this,'_disabled',!0x1),(this[_0x2a18dc(0x1e3)]=_0xe38ab,this['_localStorageService']=_0x118e0d,this['_revisionService']=_0x3730a5);}['disableLocalCache'](){const _0x181c9b=_0x462894;this[_0x181c9b(0x1f0)]=!0x0;}[_0x462894(0x14d)](){this['_disabled']=!0x1;}get[_0x462894(0x268)](){return this['_saveTaskMap'];}[_0x462894(0x1c4)](){const _0xaf7e56=_0x462894;this['exhaustSavingTask']()[_0xaf7e56(0xb3)](()=>super[_0xaf7e56(0x1c4)]());}async[_0x462894(0x121)](_0x452398){const _0x1ca67a=_0x462894;return this[_0x1ca67a(0x1f0)]?null:this[_0x1ca67a(0x234)][_0x1ca67a(0x26a)](_0x12fb6f(_0x452398));}async['saveOfflineData'](_0xbba865,_0x4e9184){const _0x41fe2d=_0x462894;return!!this[_0x41fe2d(0x234)]['setItem'](_0xbba865,_0x4e9184);}['updateOfflineData'](_0x1e4827,_0x4caa24,_0x484488,_0x511972){const _0x2f3d12=_0x462894,_0x41c055=this['_revisionService'][_0x2f3d12(0xe8)](_0x1e4827);this[_0x2f3d12(0x1cc)]['set'](_0x1e4827,{'unitID':_0x1e4827,'type':_0x4caa24,'awaitingChangeset':_0x484488,'mutations':_0x511972,'rev':_0x41c055}),this[_0x2f3d12(0x236)][_0x2f3d12(0x7a)](_0x1e4827)||this['_scheduleSaving'](_0x1e4827);}['_scheduleSaving'](_0x248a55){const _0x936d7b=_0x462894,_0x42be3b=this[_0x936d7b(0x136)]();_0x42be3b===0x0?this[_0x936d7b(0x20a)](_0x248a55):this[_0x936d7b(0x236)][_0x936d7b(0x137)](_0x248a55,setTimeout(()=>this[_0x936d7b(0x20a)](_0x248a55),_0x42be3b));}[_0x462894(0x136)](){const _0x4532a8=_0x462894;var _0x117085;return(_0x117085=this[_0x4532a8(0x1e3)][_0x4532a8(0xea)](_0x2396ff))!=null?_0x117085:_0xc79a54;}[_0x462894(0x20a)](_0xa89e7f){const _0x36cc4c=_0x462894,_0x2d9e01=this[_0x36cc4c(0x236)]['get'](_0xa89e7f);return _0x2d9e01!==void 0x0&&window[_0x36cc4c(0x182)](_0x2d9e01),this[_0x36cc4c(0x234)][_0x36cc4c(0x7b)](_0x12fb6f(_0xa89e7f),this[_0x36cc4c(0x1cc)][_0x36cc4c(0x8d)](_0xa89e7f))[_0x36cc4c(0xb3)](()=>this[_0x36cc4c(0x236)][_0x36cc4c(0xa0)](_0xa89e7f));}async['exhaustSavingTask'](){const _0x15bf98=_0x462894,_0x1a574d=[];this[_0x15bf98(0x236)]['forEach']((_0x27449d,_0x488d7e)=>{const _0x4b686d=_0x15bf98;window[_0x4b686d(0x182)](_0x27449d),_0x1a574d[_0x4b686d(0xb2)](this[_0x4b686d(0x20a)](_0x488d7e)[_0x4b686d(0xb3)](()=>{this['_saveTaskMap']['delete'](_0x488d7e);}));}),await Promise['all'](_0x1a574d);}};we=_n([Ee(0x0,_0x10853f),Ee(0x1,_0x4f8a47),Ee(0x2,_0x4908fa(_0x363a13))],we);class hn extends _0x2425eb{constructor(){const _0x9ce2dd=_0x462894;super(),_(this,_0x9ce2dd(0x1ad)),this[_0x9ce2dd(0x1ad)]=_0x10460d(window,_0x9ce2dd(0x21e))[_0x9ce2dd(0x16e)](_0x477b6f(this['dispose$']),_0x4c6e4e(0x1),_0x332fda(void 0x0));}['setParam'](_0x17fcff,_0x1eb6c6,_0x2f1604=!0x1){const _0x3b79b8=_0x462894,_0x1b0d62=new URL(window[_0x3b79b8(0x1f6)][_0x3b79b8(0xe3)]);_0x1b0d62[_0x3b79b8(0xd3)]['set'](_0x17fcff,_0x1eb6c6),_0x2f1604?window['history'][_0x3b79b8(0x19a)]('','',_0x1b0d62[_0x3b79b8(0x11d)]()):window[_0x3b79b8(0xb1)][_0x3b79b8(0x273)]('','',_0x1b0d62[_0x3b79b8(0x11d)]());}[_0x462894(0x19d)](_0x5242bd,_0x3fd5ea=!0x1){const _0x5c02a5=_0x462894,_0x2f975c=new URL(window['location'][_0x5c02a5(0xe3)]);_0x2f975c[_0x5c02a5(0xd3)]['delete'](_0x5242bd),_0x3fd5ea?window[_0x5c02a5(0xb1)][_0x5c02a5(0x19a)]('','',_0x2f975c[_0x5c02a5(0x11d)]()):window[_0x5c02a5(0xb1)][_0x5c02a5(0x273)]('','',_0x2f975c[_0x5c02a5(0x11d)]());}['getParam'](_0x34ea78){const _0x2baa87=_0x462894;var _0x15bd28;return(_0x15bd28=new URL(window[_0x2baa87(0x1f6)]['href'])[_0x2baa87(0xd3)][_0x2baa87(0x8d)](_0x34ea78))!=null?_0x15bd28:void 0x0;}}var un=Object[_0x462894(0x207)],dn=Object[_0x462894(0x1a7)],fn=(_0x1576c3,_0x96f078,_0x474836)=>_0x96f078 in _0x1576c3?un(_0x1576c3,_0x96f078,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x474836}):_0x1576c3[_0x96f078]=_0x474836,Sn=(_0x25c0e9,_0x7b23b8,_0x57c854,_0x60487a)=>{for(var _0x5df7dc=_0x60487a>0x1?void 0x0:_0x60487a?dn(_0x7b23b8,_0x57c854):_0x7b23b8,_0x251127=_0x25c0e9['length']-0x1,_0x71e778;_0x251127>=0x0;_0x251127--)(_0x71e778=_0x25c0e9[_0x251127])&&(_0x5df7dc=_0x71e778(_0x5df7dc)||_0x5df7dc);return _0x5df7dc;},Oe=(_0x71e224,_0x498568)=>(_0x436bdb,_0x239a6b)=>_0x498568(_0x436bdb,_0x239a6b,_0x71e224),mn=(_0x5900cd,_0x43d158,_0x5a8b2b)=>fn(_0x5900cd,_0x43d158+'',_0x5a8b2b);const In=_0x462894(0xbe);let Ae=class extends _0x5f471c{constructor(_0x5b7bb6=et,_0x435896,_0x4337f3,_0x32409f){const _0x17ff60=_0x462894;super(),this[_0x17ff60(0x1ae)]=_0x5b7bb6,this[_0x17ff60(0x1a1)]=_0x435896,this['_injector']=_0x4337f3,this[_0x17ff60(0x1e3)]=_0x32409f;const {..._0xfd394f}=_0x2ce7fb({},et,this[_0x17ff60(0x1ae)]);this[_0x17ff60(0x1e3)][_0x17ff60(0x1fb)](qi,_0xfd394f);}[_0x462894(0x1a0)](){const _0x1a194e=_0x462894;this['_registerDependencies'](),this[_0x1a194e(0x1e0)]();}[_0x462894(0x1e5)](){const _0x5e2c37=_0x462894;this[_0x5e2c37(0x1dd)]();}[_0x462894(0x173)](){const _0x3ceea5=_0x462894;var _0xcacdba;const _0x413a69=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x1542ec,{'useClass':_0x2d7135}],[_0x7f4ced,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x402f0e(this['_injector'],_0x383a3f(_0x413a69,(_0xcacdba=this[_0x3ceea5(0x1ae)])==null?void 0x0:_0xcacdba[_0x3ceea5(0x21c)]));}[_0x462894(0x1dd)](){const _0x1190de=_0x462894;this['disposeWithMe'](this[_0x1190de(0x1a1)]['registerRenderModule'](_0x509904[_0x1190de(0x21a)],[Le])),this[_0x1190de(0x9d)](this[_0x1190de(0x1a1)][_0x1190de(0xdb)](_0x509904[_0x1190de(0x83)],[Pe]));}['_initDependencies'](){const _0x14d072=_0x462894;_0x4bd4f7(this[_0x14d072(0x133)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x462894(0x1de),In),Ae=Sn([_0x5404f0(_0x35732a),Oe(0x1,_0x5875bf),Oe(0x2,_0x4908fa(_0x5bd625)),Oe(0x3,_0x10853f)],Ae);var vn=Object[_0x462894(0x1a7)],gn=(_0x3b2175,_0x54bfa6,_0x4757e,_0x2806da)=>{for(var _0x1cb72d=_0x2806da>0x1?void 0x0:_0x2806da?vn(_0x54bfa6,_0x4757e):_0x54bfa6,_0x2b3cbb=_0x3b2175['length']-0x1,_0x54081f;_0x2b3cbb>=0x0;_0x2b3cbb--)(_0x54081f=_0x3b2175[_0x2b3cbb])&&(_0x1cb72d=_0x54081f(_0x1cb72d)||_0x1cb72d);return _0x1cb72d;},z=(_0x26426a,_0x313cd3)=>(_0x243f10,_0x3b3cce)=>_0x313cd3(_0x243f10,_0x3b3cce,_0x26426a);let it=class extends _0x1f05e8{constructor(_0x1dac81,_0x3fbd59,_0x512047,_0x168e34,_0x3329aa){super(_0x1dac81,_0x3fbd59,_0x512047,_0x168e34,_0x3329aa);}async[_0x462894(0x168)](_0x1e2193){const _0x238f1b=_0x462894,_0x41a7ec=await this[_0x238f1b(0x1d5)](),_0x5e2428=this['_createSocketURL'](_0x1e2193,_0x41a7ec);return this['_doCreateSocket'](_0x5e2428);}[_0x462894(0x15f)](_0x2727f7,_0x362f01){const _0x48ccc7=_0x462894,_0x5426cf=typeof window>'u'?new URL(_0x2727f7):new URL(_0x2727f7,window[_0x48ccc7(0x1f6)][_0x48ccc7(0x85)]);_0x5426cf[_0x48ccc7(0xd3)][_0x48ccc7(0x137)](_0x48ccc7(0xa3),_0x362f01);const _0xe2d6d9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x48ccc7(0x1f6)][_0x48ccc7(0x26e)]);return _0xe2d6d9[_0x48ccc7(0x8d)](_0x48ccc7(0x247))&&_0x5426cf[_0x48ccc7(0xd3)][_0x48ccc7(0x137)]('runId',_0xe2d6d9[_0x48ccc7(0x8d)](_0x48ccc7(0x247))),_0x5426cf['toString']();}async[_0x462894(0x1d5)](){const _0x37131d=_0x462894;var _0x232b07,_0x41d963,_0x1b9e1e;const _0x198dad=this['_configService'][_0x37131d(0xea)](_0x1f19bf),_0xd2c382=(_0x232b07=_0x198dad==null?void 0x0:_0x198dad[_0x37131d(0x9b)])!=null?_0x232b07:_0x30a8b0;return(_0x1b9e1e=(_0x41d963=(await this['_httpService'][_0x37131d(0x8d)](_0xd2c382,{'headers':{'Content-Type':_0x37131d(0x1d0)}}))[_0x37131d(0x262)])==null?void 0x0:_0x41d963[_0x37131d(0x1bd)])!=null?_0x1b9e1e:'';}};it=gn([z(0x0,_0x4908fa(_0x5bd625)),z(0x1,_0x4908fa(_0x2c6492)),z(0x2,_0x10853f),z(0x3,_0x40aafe),z(0x4,_0xb7527d)],it);var Lt=(_0x118aba=>(_0x118aba[_0x118aba['UNDEFINED']=0x0]='UNDEFINED',_0x118aba[_0x118aba['OK']=0x1]='OK',_0x118aba[_0x118aba['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x118aba[_0x118aba[_0x462894(0x14e)]=0x3]='PERMISSION_DENIED',_0x118aba[_0x118aba['NOT_FOUND']=0x4]=_0x462894(0x118),_0x118aba[_0x118aba['UNAUTHENTICATED']=0x5]=_0x462894(0x196),_0x118aba[_0x118aba[_0x462894(0x212)]=0x6]=_0x462894(0x212),_0x118aba[_0x118aba[_0x462894(0x201)]=0x7]='INVALID_ARGUMENT',_0x118aba[_0x118aba['TOO_MANY_REQUESTS']=0x8]=_0x462894(0x253),_0x118aba[_0x118aba[_0x462894(0x245)]=0x9]=_0x462894(0x245),_0x118aba[_0x118aba[_0x462894(0xe9)]=0xa]=_0x462894(0xe9),_0x118aba[_0x118aba['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x462894(0xad),_0x118aba[_0x118aba[_0x462894(0x1d2)]=0xc]=_0x462894(0x1d2),_0x118aba[_0x118aba[_0x462894(0x1e2)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x118aba[_0x118aba[_0x462894(0xd8)]=0xe]=_0x462894(0xd8),_0x118aba[_0x118aba[_0x462894(0x111)]=0x1389]=_0x462894(0x111),_0x118aba[_0x118aba['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x462894(0x124),_0x118aba[_0x118aba[_0x462894(0xab)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x118aba[_0x118aba[_0x462894(0xd0)]=0x1773]=_0x462894(0xd0),_0x118aba[_0x118aba[_0x462894(0x150)]=0x1b59]=_0x462894(0x150),_0x118aba[_0x118aba[_0x462894(0x194)]=0x1b5a]=_0x462894(0x194),_0x118aba[_0x118aba[_0x462894(0x203)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x118aba[_0x118aba[_0x462894(0xd4)]=0x1b5c]=_0x462894(0xd4),_0x118aba[_0x118aba[_0x462894(0x151)]=0x1b5d]='APPLY_DUPLICATED',_0x118aba[_0x118aba['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x118aba[_0x118aba[_0x462894(0x117)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x118aba[_0x118aba[_0x462894(0xf0)]=0x232a]=_0x462894(0xf0),_0x118aba[_0x118aba['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x462894(0x1d9),_0x118aba[_0x118aba[_0x462894(0xc3)]=0x232c]=_0x462894(0xc3),_0x118aba[_0x118aba['LICENSE_DISTRO_REJECTED']=0x232d]=_0x462894(0x1b7),_0x118aba[_0x118aba[_0x462894(0x270)]=0x2711]=_0x462894(0x270),_0x118aba[_0x118aba[_0x462894(0x174)]=0x2712]=_0x462894(0x174),_0x118aba[_0x118aba[_0x462894(0x251)]=0x2713]=_0x462894(0x251),_0x118aba[_0x118aba[_0x462894(0x1f5)]=0x2714]=_0x462894(0x1f5),_0x118aba[_0x118aba['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x118aba[_0x118aba[_0x462894(0xfd)]=0x271b]=_0x462894(0xfd),_0x118aba[_0x118aba[_0x462894(0x240)]=0x271c]=_0x462894(0x240),_0x118aba[_0x118aba['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x462894(0x109),_0x118aba[_0x118aba[_0x462894(0xef)]=0x271e]=_0x462894(0xef),_0x118aba[_0x118aba[_0x462894(0x189)]=0x271f]=_0x462894(0x189),_0x118aba[_0x118aba[_0x462894(0x15a)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x118aba[_0x118aba['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x462894(0x25e),_0x118aba[_0x118aba[_0x462894(0xf2)]=0x2ee1]=_0x462894(0xf2),_0x118aba[_0x118aba[_0x462894(0x17c)]=0x2ee2]=_0x462894(0x17c),_0x118aba[_0x118aba[_0x462894(0x162)]=0x2ee3]=_0x462894(0x162),_0x118aba[_0x118aba['USER_NOT_INVITED_CODE']=0x2ee4]=_0x462894(0x223),_0x118aba[_0x118aba['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x462894(0x22f),_0x118aba[_0x118aba['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x462894(0x17a),_0x118aba[_0x118aba['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x462894(0x26c),_0x118aba[_0x118aba[_0x462894(0xae)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x118aba[_0x118aba[_0x462894(0x122)]=-0x1]='UNRECOGNIZED',_0x118aba))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x17042f,_0x35b9f4,_0x1fe0b1,_0x572c7c)=>{const _0xf2c957=_0x462894;for(var _0x409998=_0x572c7c>0x1?void 0x0:_0x572c7c?pn(_0x35b9f4,_0x1fe0b1):_0x35b9f4,_0x4d9a21=_0x17042f[_0xf2c957(0x231)]-0x1,_0x107b25;_0x4d9a21>=0x0;_0x4d9a21--)(_0x107b25=_0x17042f[_0x4d9a21])&&(_0x409998=_0x107b25(_0x409998)||_0x409998);return _0x409998;},be=(_0x5ae3cb,_0x272780)=>(_0x146f9c,_0x442945)=>_0x272780(_0x146f9c,_0x442945,_0x5ae3cb);let nt=class extends _0x407d7b{constructor(_0x1cd2e0,_0x16cc64,_0x7b940d){const _0x5ab22b=_0x462894;super(),this['_instanceService']=_0x1cd2e0,this[_0x5ab22b(0xf3)]=_0x16cc64,this['_configService']=_0x7b940d;}async[_0x462894(0x1b4)](_0x1d9f31,_0x3c9ee3,_0xf480d6,..._0x9465c7){const _0x3fadc6=_0x462894;var _0x3d4b30,_0x4d2ecd,_0x4a19c6,_0x293a3f;const _0x25b50e=this[_0x3fadc6(0x97)][_0x3fadc6(0x149)]();if(!_0x25b50e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d485b=((_0x3d4b30=this[_0x3fadc6(0x1e3)][_0x3fadc6(0xea)](_0x31ae05))!=null?_0x3d4b30:_0x47f050)+'/'+_0x1d9f31+_0x3fadc6(0xfe)+_0x3c9ee3,_0x372af8=new URL(window[_0x3fadc6(0x1f6)][_0x3fadc6(0xe3)]),_0x4fce21={'scriptId':_0x1d9f31,'runId':(_0x4d2ecd=_0x372af8[_0x3fadc6(0xd3)][_0x3fadc6(0x8d)](_0x3fadc6(0x247)))!=null?_0x4d2ecd:'','function':_0x3c9ee3,'unitId':_0x25b50e['getUnitId'](),'argsOfFunction':JSON[_0x3fadc6(0xc0)](_0x9465c7),'invokeId':(_0x4a19c6=_0xf480d6['invokeId'])!=null?_0x4a19c6:'','executionId':(_0x293a3f=_0xf480d6[_0x3fadc6(0x198)])!=null?_0x293a3f:''};try{const _0x49f8f2=await this[_0x3fadc6(0xf3)][_0x3fadc6(0x15c)](_0x5d485b,{'body':_0x4fce21});return _0x49f8f2['body'][_0x3fadc6(0x148)]&&_0x49f8f2[_0x3fadc6(0x262)]['error'][_0x3fadc6(0x171)]!==Lt['OK']?'Failed':_0x49f8f2[_0x3fadc6(0x262)][_0x3fadc6(0x22d)];}catch{return _0x3fadc6(0x16b);}}};nt=Cn([be(0x0,_0x13b0f3),be(0x1,_0x4908fa(_0x2c6492)),be(0x2,_0x10853f)],nt);const rt=0x7530,ot=_0x462894(0x140);class Fn extends _0x407d7b{constructor(){const _0x5f5a52=_0x462894;super(),_(this,_0x5f5a52(0xfb),_0x3f1aaa()),_(this,_0x5f5a52(0x24b),new Set()),_(this,_0x5f5a52(0xa6),new Map()),_(this,_0x5f5a52(0x19f),null),_(this,_0x5f5a52(0x23c),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x462894(0x1c4)](){const _0x14c5f9=_0x462894;super[_0x14c5f9(0x1c4)](),this['_clearOtherTimers']['forEach']((_0x1e8e4c,_0x3b38d7)=>this['_removeClearOtherTimer'](_0x3b38d7)),this[_0x14c5f9(0x19f)]&&window[_0x14c5f9(0x25d)](this[_0x14c5f9(0x19f)]);}[_0x462894(0x238)](_0x39db99){const _0x4390f6=_0x462894;return this[_0x4390f6(0x22a)](_0x39db99)[_0x4390f6(0x16e)](_0x11a67b());}[_0x462894(0x13e)](_0x458c79){const _0x55539e=_0x462894;this[_0x55539e(0x24b)]['size']===0x0&&this[_0x55539e(0xaa)](),this[_0x55539e(0x24b)][_0x55539e(0x10f)](_0x458c79),this[_0x55539e(0x141)]({'type':0x0,'memberID':this[_0x55539e(0xfb)],'unitIDs':[_0x458c79],'isForwarded':!0x1});}[_0x462894(0x26f)](_0xcfdb85){const _0x480b47=_0x462894;this[_0x480b47(0x24b)][_0x480b47(0xa0)](_0xcfdb85),this[_0x480b47(0x24b)][_0x480b47(0x1e6)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x480b47(0x19f)]);}['_init'](){const _0x329718=_0x462894;this[_0x329718(0x9d)](_0x425bc5(_0x10460d(window,'storage')[_0x329718(0x1f3)](_0x425bde=>{const _0x1b8ae9=_0x329718;if(_0x425bde[_0x1b8ae9(0x17f)]!==ot||!_0x425bde['newValue'])return;const _0x9bb934=JSON['parse'](_0x425bde[_0x1b8ae9(0x7d)]);this[_0x1b8ae9(0x1a6)](_0x9bb934);}))),window[_0x329718(0x1c8)](_0x329718(0x165),()=>this[_0x329718(0x141)]({'type':0x1,'memberID':this[_0x329718(0xfb)],'unitIDs':Array[_0x329718(0x88)](this[_0x329718(0x24b)])}));}[_0x462894(0x1a6)](_0x46d1c4){const _0x38eeed=_0x462894;switch(_0x46d1c4[_0x38eeed(0xd5)]){case 0x0:this[_0x38eeed(0x22b)](_0x46d1c4);break;case 0x1:this['_handleLeaveEvent'](_0x46d1c4);break;case 0x2:this[_0x38eeed(0x23d)](_0x46d1c4);break;}}[_0x462894(0x22b)](_0x3fda9a){const _0x150fdb=_0x462894,{unitIDs:_0x250913,memberID:_0xfa2262,isForwarded:_0x1feb5d}=_0x3fda9a;_0x250913[_0x150fdb(0x1b8)](_0x72f316=>{const _0x3751b9=_0x150fdb;if(!_0x1feb5d&&this[_0x3751b9(0xa6)][_0x3751b9(0x7a)](_0x72f316)&&this[_0x3751b9(0x22a)](_0x72f316)[_0x3751b9(0x200)](_0x20be11[_0x3751b9(0x230)]),!this[_0x3751b9(0xa6)][_0x3751b9(0x7a)](_0x72f316)||!this[_0x3751b9(0xa6)][_0x3751b9(0x8d)](_0x72f316)['has'](_0xfa2262)){const _0x365174=this[_0x3751b9(0xa6)]['get'](_0x72f316)||new Set();_0x365174[_0x3751b9(0x10f)](_0xfa2262),this[_0x3751b9(0xa6)][_0x3751b9(0x137)](_0x72f316,_0x365174),this['_scheduleClearOtherTimer'](_0xfa2262);}}),_0x1feb5d||this[_0x150fdb(0x141)]({'type':0x0,'memberID':this[_0x150fdb(0xfb)],'unitIDs':[...this[_0x150fdb(0x24b)]],'isForwarded':!0x0});}[_0x462894(0x8f)](_0x5ad496){const _0xaf3735=_0x462894;this[_0xaf3735(0x24e)](_0x5ad496);const _0x2c454f=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x4dee60=>{const _0x139bdf=_0x335a;_0x4dee60[_0x139bdf(0xa0)](_0x5ad496);});},rt*0x2);this[_0xaf3735(0x23c)][_0xaf3735(0x137)](_0x5ad496,_0x2c454f);}[_0x462894(0x24e)](_0x6ccbae){const _0x202b95=_0x462894;if(this[_0x202b95(0x23c)][_0x202b95(0x7a)](_0x6ccbae)){const _0x3a2780=this['_clearOtherTimers']['get'](_0x6ccbae);_0x3a2780&&window[_0x202b95(0x182)](_0x3a2780),this[_0x202b95(0x23c)][_0x202b95(0x137)](_0x6ccbae,null);}}[_0x462894(0xec)](_0x65164f){const _0x1f2977=_0x462894,{memberID:_0x22ea75,unitIDs:_0x253568}=_0x65164f;_0x253568[_0x1f2977(0x1b8)](_0x7c5a6f=>{const _0x110117=_0x1f2977;var _0x564b2a;const _0x10ce44=this[_0x110117(0xa6)][_0x110117(0x8d)](_0x7c5a6f);_0x10ce44&&(_0x10ce44[_0x110117(0xa0)](_0x22ea75),(_0x564b2a=this[_0x110117(0x22a)](_0x7c5a6f))==null||_0x564b2a['next'](_0x10ce44[_0x110117(0x1e6)]===0x0?_0x20be11['NO_OTHER_CLIENTS_EDITING']:_0x20be11[_0x110117(0x230)]));}),this[_0x1f2977(0x24e)](_0x22ea75);}[_0x462894(0x23d)](_0x18f69b){const _0x348b7b=_0x462894;this[_0x348b7b(0x8f)](_0x18f69b[_0x348b7b(0x127)]);}[_0x462894(0x141)](_0x3ed205){const _0x42114e=_0x462894;localStorage[_0x42114e(0x7b)](ot,JSON[_0x42114e(0xc0)](_0x3ed205));}[_0x462894(0xaa)](){const _0x12f06f=_0x462894;this[_0x12f06f(0x19f)]=window[_0x12f06f(0xcf)](()=>{const _0x3294e8=_0x12f06f;this['_send']({'type':0x2,'memberID':this[_0x3294e8(0xfb)]});},rt);}[_0x462894(0x22a)](_0x390c29){const _0x583b9c=_0x462894;return this[_0x583b9c(0x13a)]['has'](_0x390c29)||this[_0x583b9c(0x13a)][_0x583b9c(0x137)](_0x390c29,new _0x3b84c3(_0x20be11[_0x583b9c(0x1f4)])),this[_0x583b9c(0x13a)][_0x583b9c(0x8d)](_0x390c29);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x27d3(_0x31eb50,_0xc9040e){const _0x3344f6=_0x3344();return _0x27d3=function(_0x27d3d1,_0x3f2568){_0x27d3d1=_0x27d3d1-0x1c6;let _0x2d3157=_0x3344f6[_0x27d3d1];return _0x2d3157;},_0x27d3(_0x31eb50,_0xc9040e);}function _0x3344(){const _0x527858=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','240168qczsjY','Syncing\x20server\x20data...','5539535ozyfuh','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','72839510JBBXgx','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','75719WYuPLK','6KxjYjZ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','531HyFWem','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Click\x20to\x20Reconnect','354swOqho','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3387279GjgRst','630026nSEYQp','Edit\x20conflicts','Authentication\x20Error','Collaboration\x20Conflict','Local\x20file','918092byQmuQ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x3344=function(){return _0x527858;};return _0x3344();}const _0x5ba334=_0x27d3;(function(_0x1a2589,_0x8acf23){const _0x3d260e=_0x27d3,_0x3e6fb2=_0x1a2589();while(!![]){try{const _0x435b37=parseInt(_0x3d260e(0x1d7))/0x1*(-parseInt(_0x3d260e(0x1cf))/0x2)+-parseInt(_0x3d260e(0x1d6))/0x3+parseInt(_0x3d260e(0x1dc))/0x4+-parseInt(_0x3d260e(0x1c8))/0x5+parseInt(_0x3d260e(0x1d4))/0x6*(-parseInt(_0x3d260e(0x1ce))/0x7)+parseInt(_0x3d260e(0x1c6))/0x8*(-parseInt(_0x3d260e(0x1d1))/0x9)+parseInt(_0x3d260e(0x1cc))/0xa;if(_0x435b37===_0x8acf23)break;else _0x3e6fb2['push'](_0x3e6fb2['shift']());}catch(_0x2248f9){_0x3e6fb2['push'](_0x3e6fb2['shift']());}}}(_0x3344,0xee83a));const e={'collab-client':{'tooltip':{'reconnect':_0x5ba334(0x1d3)}},'collabStatus':{'fetchMiss':_0x5ba334(0x1c7),'conflict':_0x5ba334(0x1d8),'notCollab':_0x5ba334(0x1db),'synced':'Synced','syncing':_0x5ba334(0x1cb),'offline':_0x5ba334(0x1d2)},'session':{'connection-failed':_0x5ba334(0x1ca),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x5ba334(0x1d5),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5ba334(0x1da),'content':_0x5ba334(0x1c9)},'permission':{'title':_0x5ba334(0x1d9),'content':_0x5ba334(0x1cd)},'collaboration':{'single-unit':{'warning':_0x5ba334(0x1dd)},'closeRoom':_0x5ba334(0x1de)},'auth':{'needGotoLoginAlert':_0x5ba334(0x1d0)}},o=e;export{o as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2cb6(){const _0x543c1c=['Edit\x20conflicts','13106819ivpxEM','1939347PpBSMq','Local\x20file','10aFOpSS','Click\x20to\x20Reconnect','14292132Ynskrd','32008aohdVv','2454432HFhdAf','Connection\x20failed,\x20please\x20check\x20your\x20network.','15uNeHHa','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','435xEqten','Authentication\x20Error','28534XXYieE','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','7mMOhLV','6845896LkppYh','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3gYhpjY','Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'];_0x2cb6=function(){return _0x543c1c;};return _0x2cb6();}const _0x279669=_0x5138;(function(_0x26ee78,_0x3f1827){const _0x5d4191=_0x5138,_0x45af58=_0x26ee78();while(!![]){try{const _0xef0ed8=-parseInt(_0x5d4191(0xe0))/0x1*(-parseInt(_0x5d4191(0xdb))/0x2)+parseInt(_0x5d4191(0xd9))/0x3*(parseInt(_0x5d4191(0xd1))/0x4)+parseInt(_0x5d4191(0xd4))/0x5*(-parseInt(_0x5d4191(0xd2))/0x6)+parseInt(_0x5d4191(0xdd))/0x7*(parseInt(_0x5d4191(0xde))/0x8)+-parseInt(_0x5d4191(0xe8))/0x9*(parseInt(_0x5d4191(0xce))/0xa)+-parseInt(_0x5d4191(0xe7))/0xb+parseInt(_0x5d4191(0xd0))/0xc;if(_0xef0ed8===_0x3f1827)break;else _0x45af58['push'](_0x45af58['shift']());}catch(_0x3910d3){_0x45af58['push'](_0x45af58['shift']());}}}(_0x2cb6,0x964bb));const e={'collab-client':{'tooltip':{'reconnect':_0x279669(0xcf)}},'collabStatus':{'fetchMiss':_0x279669(0xd7),'conflict':_0x279669(0xe6),'notCollab':_0x279669(0xcd),'synced':_0x279669(0xd5),'syncing':_0x279669(0xe1),'offline':_0x279669(0xe3)},'session':{'connection-failed':_0x279669(0xd3),'will-retry':_0x279669(0xe4),'room-full':_0x279669(0xd8),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x279669(0xe5)},'permission':{'title':_0x279669(0xda),'content':_0x279669(0xdf)},'collaboration':{'single-unit':{'warning':_0x279669(0xdc)},'closeRoom':_0x279669(0xe2)},'auth':{'needGotoLoginAlert':_0x279669(0xd6)}};function _0x5138(_0x475c7e,_0x21936e){const _0x2cb669=_0x2cb6();return _0x5138=function(_0x513834,_0x1ec8a4){_0x513834=_0x513834-0xcd;let _0x8501b4=_0x2cb669[_0x513834];return _0x8501b4;},_0x5138(_0x475c7e,_0x21936e);}export{e as default};
|