@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505301607 → 0.8.0-nightly.202506011606
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/en-US.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/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 _0x4efb46=_0x28ab;(function(_0x53ce04,_0x3a7a62){const _0x1b98d1=_0x28ab,_0x59731c=_0x53ce04();while(!![]){try{const _0xde8de1=parseInt(_0x1b98d1(0x330))/0x1*(-parseInt(_0x1b98d1(0x33d))/0x2)+-parseInt(_0x1b98d1(0x1bf))/0x3*(parseInt(_0x1b98d1(0x1fe))/0x4)+-parseInt(_0x1b98d1(0x29c))/0x5+parseInt(_0x1b98d1(0x16a))/0x6*(-parseInt(_0x1b98d1(0x26d))/0x7)+-parseInt(_0x1b98d1(0x324))/0x8*(parseInt(_0x1b98d1(0x264))/0x9)+parseInt(_0x1b98d1(0x281))/0xa+parseInt(_0x1b98d1(0x2c6))/0xb*(parseInt(_0x1b98d1(0x243))/0xc);if(_0xde8de1===_0x3a7a62)break;else _0x59731c['push'](_0x59731c['shift']());}catch(_0x443cf5){_0x59731c['push'](_0x59731c['shift']());}}}(_0x906e,0x86c3d));var $t=Object[_0x4efb46(0x283)],xt=(_0x3db749,_0x521325,_0x20825b)=>_0x521325 in _0x3db749?$t(_0x3db749,_0x521325,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20825b}):_0x3db749[_0x521325]=_0x20825b,_=(_0x3418d4,_0x5c4cbe,_0x3d7799)=>xt(_0x3418d4,typeof _0x5c4cbe!=_0x4efb46(0x2b0)?_0x5c4cbe+'':_0x5c4cbe,_0x3d7799);import{MemberService as _0x36d44a,SessionStatus as _0x36e997,CollaborationSessionService as _0x1a5d93,CollaborationStatus as _0x2fb3dc,CollaborationController as _0x209cdd,ILocalCacheService as _0x32856e,CollaborationUIEventService as _0x582dfc,CollaborationUIEventId as _0x373aa0,DataLoaderService as _0x1653c9,DocCollaborationEntity as _0x5007f0,getLocalCacheKey as _0x5aebcf,LOCAL_CACHE_INTERVAL as _0x5dc579,LOCAL_CACHE_INTERVAL_KEY as _0x3a3ad1,UniverCollaborationClientPlugin as _0x5bf239,CollaborationSocketService as _0x329e6f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1297d2,DEFAULT_WS_SESSION_TICKET_URL as _0x366de9,UnitStatus as _0xbaefe9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x515373,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x29348a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x264876,Disposable as _0x56014e,DOC_RANGE_TYPE as _0x47ea56,Inject as _0xc24e4b,Injector as _0x35c1bd,IUniverInstanceService as _0xb3fb3f,ICommandService as _0xc68a40,debounce as _0x10b8fb,Rectangle as _0x4e0edf,DisposableCollection as _0x302056,toDisposable as _0x19548f,UniverInstanceType as _0x3f742a,Tools as _0x24e58b,COLORS as _0x219248,ColorKit as _0x39995a,ThemeService as _0x3a07ea,fromEventSubject as _0x3ef67d,LocaleService as _0xe5abc6,createIdentifier as _0x11359d,ILogService as _0x5ce2e9,Optional as _0x232a08,Workbook as _0x1e4069,CommandType as _0x632caa,IConfigService as _0x332256,ILocalStorageService as _0xeced3c,DependentOn as _0x5d2859,Plugin as _0x21d542,merge as _0x294622,registerDependencies as _0x589ccb,mergeOverrideWithDependencies as _0x544fe0,touchDependencies as _0x4dfeac,generateRandomId as _0x4980f9}from'@univerjs/core';import{Shape as _0x50f11a,Rect as _0x37cfd0,getColor as _0x3f4962,RegularPolygon as _0x22432b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x47f57f,Vector2 as _0x507064,SHEET_VIEWPORT_KEY as _0x160298,IRenderManagerService as _0x2baf14}from'@univerjs/engine-render';import{ISocketService as _0x5ace9a,WebSocketService as _0x1e46f2,HTTPService as _0x434602}from'@univerjs/network';import{IDocClipboardService as _0x109a88,NodePositionConvertToCursor as _0x511890,NodePositionConvertToRectRange as _0x2827a9,TEXT_RANGE_LAYER_INDEX as _0x4c5bce,SetDocZoomRatioOperation as _0x3b78bf,DocIMEInputManagerService as _0x3b1b9c,DocStateChangeManagerService as _0x5ca87d}from'@univerjs/docs-ui';import{IImageIoService as _0x55c491}from'@univerjs/drawing';import{BehaviorSubject as _0xc73289,debounceTime as _0x47a830,takeUntil as _0x760463,Subject as _0x2413fc,filter as _0x140671,switchMap as _0x1b9fb8,merge as _0x10fadc,combineLatest as _0x5be441,of as _0x4846f1,fromEvent as _0x2e4f04,shareReplay as _0x4e92ea,mapTo as _0x10fcff,distinctUntilChanged as _0x9e2d26}from'rxjs';import{SetTextSelectionsOperation as _0x73adb3,RichTextEditingMutation as _0x1cb735,DocSelectionManagerService as _0x5afbad,DocSkeletonManagerService as _0x34549c}from'@univerjs/docs';import{ITransformService as _0xc02503,CollaborationEvent as _0x119239,isTransformMutationFailure as _0x4dbfd1,isTransformMutationsWithChangesetSuccess as _0x1c81b1,RevisionService as _0x141ad4,ISnapshotServerService as _0x5f08f1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x507f40,serializeRangeWithSheet as _0x54c2fd}from'@univerjs/engine-formula';import{RefRangeService as _0x2b1c69,SetSelectionsOperation as _0x42b29b,SheetsSelectionsService as _0x3e1129,EffectRefRangId as _0x16b958,handleIRemoveRow as _0x1e46d7,handleIRemoveCol as _0x5c6a0a,handleMoveRange as _0x28c7fd,handleInsertRow as _0x4f5ace,handleInsertRangeMoveRight as _0xc933e1,handleInsertRangeMoveDown as _0x29eb48,handleInsertCol as _0x3b6c6e,handleDeleteRangeMoveUp as _0x48e611,handleDeleteRangeMoveLeft as _0x585076,runRefRangeMutations as _0x5056ce,SetWorksheetActivateCommand as _0x3f9a83}from'@univerjs/sheets';import{map as _0x90759a,filter as _0x10acae,throttleTime as _0x1133d9,takeUntil as _0x492ddb,switchMap as _0x385aee}from'rxjs/operators';import{SheetSkeletonManagerService as _0x25b8e3,getCoordByCell as _0x3bbc56,getSheetObject as _0x207f8a}from'@univerjs/sheets-ui';import{jsx as _0x4b1da7,jsxs as _0xab21e5}from'react/jsx-runtime';import{useObservable as _0x4fff27,useDependency as _0x37419a,IUIPartsService as _0x513ab5,BuiltInUIPart as _0x55c190,connectInjector as _0x38a51b,IBeforeCloseService as _0x445e71,IMessageService as _0x251236,INotificationService as _0x34023a}from'@univerjs/ui';import{Tooltip as _0x2eed63,clsx as _0x5e46e7,MessageType as _0x230161}from'@univerjs/design';import{forwardRef as _0xf2f6e1,useRef as _0x4551a4,createElement as _0x244245,useCallback as _0xe4d2e2}from'react';import{IRemoteInstanceService as _0x429d76}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x1c76a8,_0x69740e,_0x356150,_0x328d69)=>{const _0x4c62cf=_0x4efb46;for(var _0xc98173=_0x328d69>0x1?void 0x0:_0x328d69?ci(_0x69740e,_0x356150):_0x69740e,_0x50636a=_0x1c76a8[_0x4c62cf(0x23c)]-0x1,_0x1dc0aa;_0x50636a>=0x0;_0x50636a--)(_0x1dc0aa=_0x1c76a8[_0x50636a])&&(_0xc98173=_0x1dc0aa(_0xc98173)||_0xc98173);return _0xc98173;},Je=(_0x488c3d,_0x406bc1)=>(_0x1b268f,_0x53da15)=>_0x406bc1(_0x1b268f,_0x53da15,_0x488c3d);let Ne=class extends _0x264876{constructor(_0x39587e,_0x141556){const _0x52bfa4=_0x4efb46;super(),this[_0x52bfa4(0x2e8)]=_0x39587e,this[_0x52bfa4(0x206)]=_0x141556,this[_0x52bfa4(0x2a5)]();}[_0x4efb46(0x2a5)](){const _0xcf156c=_0x4efb46,_0x3c7238=this;this[_0xcf156c(0x1ee)](this[_0xcf156c(0x2e8)][_0xcf156c(0x1a5)]({'onBeforePasteImage':async _0x4157ea=>{const _0x1039bd=_0xcf156c,_0x4db527=await _0x3c7238[_0x1039bd(0x206)][_0x1039bd(0x2d4)](_0x4157ea);return _0x4db527?{'source':_0x4db527['source'],'imageSourceType':_0x4db527[_0x1039bd(0x2c1)]}:null;}}));}};Ne=li([Je(0x0,_0x109a88),Je(0x1,_0x55c491)],Ne);const Ze=[_0x4efb46(0x28a),_0x4efb46(0x2d9),_0x4efb46(0x1ec),_0x4efb46(0x179),_0x4efb46(0x2bc),_0x4efb46(0x254)];class ke extends _0x56014e{constructor(){const _0x2bdc15=_0x4efb46;super(...arguments),_(this,_0x2bdc15(0x2b7),new Map()),_(this,_0x2bdc15(0x183),0x0);}[_0x4efb46(0x2b6)](_0x4d4a5c){const _0x306ced=_0x4efb46;if(this['_assignedColors'][_0x306ced(0x20a)](_0x4d4a5c))return this[_0x306ced(0x2b7)]['get'](_0x4d4a5c);const _0x30f3ac=Ze[this['_colorIndex']];return this[_0x306ced(0x183)]=(this[_0x306ced(0x183)]+0x1)%Ze[_0x306ced(0x23c)],this[_0x306ced(0x2b7)]['set'](_0x4d4a5c,_0x30f3ac),_0x30f3ac;}}function Tt(_0x5d9d7d){const _0x57eece=_0x4efb46;let _0x537bef='';for(const _0x24bd99 of _0x5d9d7d){const {startOffset:_0x5853eb,endOffset:_0x4be134,isActive:_0xa9d91e,rangeType:_0x4f06b5,segmentId:_0x507bb3,segmentPage:_0xf01312}=_0x24bd99;_0x537bef[_0x57eece(0x23c)]&&(_0x537bef+=','),_0x537bef+=_0x5853eb+':'+_0x4be134+':'+(_0xa9d91e?'1':'0')+':'+_0x4f06b5+':'+_0x507bb3+':'+_0xf01312;}return _0x537bef;}function _i(_0x142846){const _0x3bd04c=_0x4efb46,_0x57f662=_0x142846[_0x3bd04c(0x15a)](','),_0x16ef9c=[];for(const _0x269325 of _0x57f662){const [_0x2a74ea,_0xbae530,_0x16b6d0,_0x23413f,_0x25a450,_0xdd799c]=_0x269325[_0x3bd04c(0x15a)](':');_0x16ef9c[_0x3bd04c(0x1d1)]({'startOffset':Number(_0x2a74ea),'endOffset':Number(_0xbae530),'collapsed':_0x2a74ea===_0xbae530,'isActive':_0x16b6d0==='1','rangeType':_0x23413f===_0x47ea56['TEXT']?_0x47ea56[_0x3bd04c(0x162)]:_0x47ea56[_0x3bd04c(0x169)],'segmentId':typeof _0x25a450==_0x3bd04c(0x1bc)?String(_0x25a450):'','segmentPage':Number(_0xdd799c!=null?_0xdd799c:-0x1)});}return _0x16ef9c[_0x3bd04c(0x25f)](_0x49422a=>_0x49422a[_0x3bd04c(0x178)])||(_0x16ef9c[0x0][_0x3bd04c(0x178)]=!0x0),_0x16ef9c;}class He extends _0x264876{constructor(){const _0x5c2b75=_0x4efb46;super(...arguments),_(this,_0x5c2b75(0x21f),new _0xc73289(null)),_(this,_0x5c2b75(0x150),this[_0x5c2b75(0x21f)][_0x5c2b75(0x2ea)]());}['syncEditingCollabCursor'](_0x381ae2){const _0xa62d8=_0x4efb46,{unitID:_0x43f889,memberID:_0x15ce59,textRanges:_0x23a391}=_0x381ae2,_0x5100a0=Tt(_0x23a391);if(_0x5100a0==='')return;const _0x18e210={'unitID':_0x43f889,'memberID':_0x15ce59,'selection':_0x5100a0};this[_0xa62d8(0x21f)][_0xa62d8(0x326)](_0x18e210);}}var hi=Object[_0x4efb46(0x14b)],ui=(_0x1f350d,_0x52ba13,_0x101ea5,_0x3be71f)=>{const _0x3fc824=_0x4efb46;for(var _0x498c0a=_0x3be71f>0x1?void 0x0:_0x3be71f?hi(_0x52ba13,_0x101ea5):_0x52ba13,_0x3dabfb=_0x1f350d[_0x3fc824(0x23c)]-0x1,_0x57a71e;_0x3dabfb>=0x0;_0x3dabfb--)(_0x57a71e=_0x1f350d[_0x3dabfb])&&(_0x498c0a=_0x57a71e(_0x498c0a)||_0x498c0a);return _0x498c0a;},P=(_0x581bc9,_0x43463b)=>(_0x574a3f,_0x54ddef)=>_0x43463b(_0x574a3f,_0x54ddef,_0x581bc9);const di=0x12c,fi=0x64;function _0x28ab(_0x2abf13,_0x3e6c39){const _0x906eb4=_0x906e();return _0x28ab=function(_0x28abd1,_0x184e31){_0x28abd1=_0x28abd1-0x147;let _0x515d5c=_0x906eb4[_0x28abd1];return _0x515d5c;},_0x28ab(_0x2abf13,_0x3e6c39);}let Ue=class extends _0x264876{constructor(_0x4b3db8,_0x39a24f,_0x37ddef,_0x46902b,_0x4b016f,_0x273979,_0x3c4898,_0x540ee2,_0xb7cb4c){const _0x3c197d=_0x4efb46;super(),_(this,'_online',!0x1),_(this,_0x3c197d(0x2a5),!0x1),_(this,_0x3c197d(0x17b),new _0xc73289(new Map())),_(this,_0x3c197d(0x2f5),this[_0x3c197d(0x17b)][_0x3c197d(0x2ea)]()),_(this,_0x3c197d(0x184),new _0xc73289([])),_(this,_0x3c197d(0x14a),this[_0x3c197d(0x184)][_0x3c197d(0x22f)](_0x47a830(di))),_(this,_0x3c197d(0x23b),_0x10b8fb(_0x17a34c=>{const _0xdb14ae=_0x3c197d,_0x2b2dd4={'eventID':_0x119239['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0xdb14ae(0x2c8)][_0xdb14ae(0x350)](),'selection':Tt(_0x17a34c)}};this[_0xdb14ae(0x2c8)][_0xdb14ae(0x2b5)](_0x2b2dd4,this[_0xdb14ae(0x19d)]);},fi)),(this[_0x3c197d(0x19d)]=_0x4b3db8,this[_0x3c197d(0x2c8)]=_0x39a24f,this[_0x3c197d(0x23f)]=_0x37ddef,this[_0x3c197d(0x16e)]=_0x46902b,this['_memberService']=_0x4b016f,this[_0x3c197d(0x23a)]=_0x273979,this[_0x3c197d(0x1ba)]=_0x3c4898,this[_0x3c197d(0x2d1)]=_0x540ee2,this[_0x3c197d(0x207)]=_0xb7cb4c);}get['cursorInfo'](){const _0x35fda2=_0x4efb46;return this[_0x35fda2(0x17b)][_0x35fda2(0x2e9)]();}get[_0x4efb46(0x340)](){const _0x20742c=_0x4efb46;return this[_0x20742c(0x184)][_0x20742c(0x2e9)]();}[_0x4efb46(0x1b7)](){const _0x3eda18=_0x4efb46;super[_0x3eda18(0x1b7)](),this[_0x3eda18(0x17b)][_0x3eda18(0x326)](new Map()),this[_0x3eda18(0x17b)][_0x3eda18(0x33b)](),this[_0x3eda18(0x184)][_0x3eda18(0x326)]([]),this['_roomMembers$'][_0x3eda18(0x33b)]();}[_0x4efb46(0x28f)](){const _0x3e064b=_0x4efb46;this['_init']||(this[_0x3e064b(0x2a5)]=!0x0,this[_0x3e064b(0x2c8)][_0x3e064b(0x182)][_0x3e064b(0x22f)](_0x760463(this['dispose$']))[_0x3e064b(0x157)](_0x103e61=>{const _0x495323=_0x3e064b;_0x103e61===_0x36e997[_0x495323(0x227)]?this[_0x495323(0x235)]():this[_0x495323(0x2cf)]();}),this[_0x3e064b(0x2c8)][_0x3e064b(0x30e)][_0x3e064b(0x22f)](_0x760463(this['dispose$']))[_0x3e064b(0x157)](_0x15c72f=>{const _0x247dc3=_0x3e064b,_0x24f7e4=_0x15c72f[_0x247dc3(0x29a)];_0x24f7e4===_0x119239[_0x247dc3(0x26b)]&&this[_0x247dc3(0x1cd)](_0x15c72f),_0x24f7e4===_0x119239[_0x247dc3(0x355)]&&this[_0x247dc3(0x17d)](_0x15c72f);}),this[_0x3e064b(0x1ee)](this[_0x3e064b(0x207)][_0x3e064b(0x1ef)](_0x21abd7=>{const _0x70289d=_0x3e064b,_0x29cc41=_0x21abd7[_0x70289d(0x1b2)];_0x29cc41!=null&&this[_0x70289d(0x1d7)]&&_0x21abd7['id']===_0x73adb3['id']&&_0x29cc41[_0x70289d(0x152)]===this[_0x70289d(0x19d)]&&_0x29cc41[_0x70289d(0x1b9)]===!0x1&&_0x29cc41[_0x70289d(0x2d8)]['length']>0x0&&this['_updateLocalCursor'](_0x29cc41[_0x70289d(0x2d8)]);})),this['_syncEditingCollabCursorService'][_0x3e064b(0x150)]['pipe'](_0x760463(this['dispose$']))[_0x3e064b(0x157)](_0x3f81e7=>{const _0x265295=_0x3e064b;if((_0x3f81e7==null?void 0x0:_0x3f81e7['unitID'])!==this['unitID'])return;const _0x20f67d={'eventID':_0x119239[_0x265295(0x26b)],'data':_0x3f81e7};this[_0x265295(0x1cd)](_0x20f67d);}),this[_0x3e064b(0x1ee)](this[_0x3e064b(0x207)][_0x3e064b(0x1ef)](_0xe84e77=>{const _0x1e38a1=_0x3e064b;if(_0xe84e77[_0x1e38a1(0x1b2)]==null)return;const _0x34ac58=_0xe84e77['params'];if(_0xe84e77['id']!==_0x1cb735['id']||_0x34ac58[_0x1e38a1(0x152)]!==this['unitID'])return;const _0x9b3cfa={'id':_0x1e38a1(0x2d5),'params':_0x34ac58},_0x499884=this[_0x1e38a1(0x336)];for(const [_0x54d752,_0xa9c1b9]of _0x499884){const _0x513469={'id':_0x1e38a1(0x2d5),'params':{'unitId':this[_0x1e38a1(0x19d)],'actions':null,'textRanges':_0xa9c1b9[_0x1e38a1(0x2d8)]}},_0x2a5fda=this['_transformService'][_0x1e38a1(0x2d3)](_0x9b3cfa,_0x513469,!0x1);if(_0x4dbfd1(_0x2a5fda))throw _0x2a5fda[_0x1e38a1(0x2d7)];_0x499884[_0x1e38a1(0x311)](_0x54d752,{..._0xa9c1b9,'ranges':_0x2a5fda[_0x1e38a1(0x2da)][_0x1e38a1(0x1b2)][_0x1e38a1(0x2ec)]});}queueMicrotask(()=>{const _0x2b0c2b=_0x1e38a1;this[_0x2b0c2b(0x17b)][_0x2b0c2b(0x326)](_0x499884);});})));}[_0x4efb46(0x1cd)](_0x30ca0a){const _0x27ace0=_0x4efb46;var _0x29c799,_0x20af60;const {memberID:_0x59cd91,selection:_0x13c56b}=_0x30ca0a['data'],_0x3ffec8=_i(_0x13c56b),_0x378131=(_0x20af60=(_0x29c799=this[_0x27ace0(0x278)][_0x27ace0(0x1be)](this[_0x27ace0(0x19d)],_0x59cd91))==null?void 0x0:_0x29c799[_0x27ace0(0x289)])!=null?_0x20af60:_0x27ace0(0x309),_0x50640e={'color':this[_0x27ace0(0x16e)][_0x27ace0(0x2b6)](_0x59cd91),'name':_0x378131,'ranges':_0x3ffec8},_0x5bb3f6=this['cursorInfo'];_0x5bb3f6['set'](_0x59cd91,_0x50640e),this[_0x27ace0(0x17b)]['next'](_0x5bb3f6);}['_onCursorDelete'](_0x3971ce){const _0x4c4da0=_0x4efb46,{memberID:_0x54168b}=_0x3971ce[_0x4c4da0(0x269)],_0x2f6065=this[_0x4c4da0(0x336)];_0x2f6065[_0x4c4da0(0x30a)](_0x54168b),this[_0x4c4da0(0x17b)][_0x4c4da0(0x326)](_0x2f6065);}['_toggleOnline'](){const _0x34e956=_0x4efb46;var _0x4f7fd7;if(this[_0x34e956(0x1d7)]=!0x0,((_0x4f7fd7=this[_0x34e956(0x2d1)]['getFocusedUnit']())==null?void 0x0:_0x4f7fd7[_0x34e956(0x15b)]())!==this[_0x34e956(0x19d)])return;const _0x2425dc=this[_0x34e956(0x23f)][_0x34e956(0x352)](_0x5afbad)[_0x34e956(0x1ae)]();Array[_0x34e956(0x343)](_0x2425dc)&&_0x2425dc[_0x34e956(0x23c)]>0x0&&this[_0x34e956(0x23b)](_0x2425dc);}[_0x4efb46(0x2cf)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0xc24e4b(_0x35c1bd)),P(0x3,_0xc24e4b(ke)),P(0x4,_0xc24e4b(_0x36d44a)),P(0x5,_0xc24e4b(He)),P(0x6,_0xc02503),P(0x7,_0xb3fb3f),P(0x8,_0xc68a40)],Ue);var Si=Object[_0x4efb46(0x14b)],mi=(_0x5eb574,_0x1d3b65,_0x5cc8c0,_0xea5a17)=>{const _0x1b2e24=_0x4efb46;for(var _0x1ab79c=_0xea5a17>0x1?void 0x0:_0xea5a17?Si(_0x1d3b65,_0x5cc8c0):_0x1d3b65,_0x509ac4=_0x5eb574[_0x1b2e24(0x23c)]-0x1,_0x3c3135;_0x509ac4>=0x0;_0x509ac4--)(_0x3c3135=_0x5eb574[_0x509ac4])&&(_0x1ab79c=_0x3c3135(_0x1ab79c)||_0x1ab79c);return _0x1ab79c;},x=(_0x357aee,_0x37c8c0)=>(_0x22d3cf,_0x4bd66f)=>_0x37c8c0(_0x22d3cf,_0x4bd66f,_0x357aee);const Ii=0x12c,gi=0x64,vi=()=>{let _0x2ce17f=[],_0x40c92f=!0x1;return _0x123477=>{_0x2ce17f['push'](_0x123477),_0x40c92f||(_0x40c92f=!0x0,setTimeout(()=>{const _0xfc736b=_0x28ab;_0x2ce17f[_0xfc736b(0x19e)](_0x4c31cb=>_0x4c31cb()),_0x2ce17f=[],_0x40c92f=!0x1;}));};};let Me=class extends _0x264876{constructor(_0x3e467d,_0x1970e4,_0x142d12,_0x5d461e,_0x5b7c7c,_0x30c547,_0x45377d,_0x1e9ed6){const _0x9458cf=_0x4efb46;super(),_(this,_0x9458cf(0x1d7),!0x1),_(this,_0x9458cf(0x2a5),!0x1),_(this,_0x9458cf(0x17b),new _0xc73289(new Map())),_(this,_0x9458cf(0x2f5),this[_0x9458cf(0x17b)][_0x9458cf(0x2ea)]()),_(this,'_roomMembers$',new _0xc73289([])),_(this,_0x9458cf(0x14a),this['_roomMembers$'][_0x9458cf(0x22f)](_0x47a830(Ii))),_(this,'_updateLocalCursor',_0x10b8fb((_0x3a5ac7,_0x123d0e)=>{const _0x2db38e=_0x9458cf,_0x3433a5={'eventID':_0x119239[_0x2db38e(0x26b)],'data':{'unitID':this[_0x2db38e(0x19d)],'memberID':this[_0x2db38e(0x2c8)]['getMemberID'](),'selection':_0x54c2fd(_0x3a5ac7,_0x123d0e['range'])}};this[_0x2db38e(0x2c8)]['send'](_0x3433a5,this['unitID']);},gi)),(this[_0x9458cf(0x19d)]=_0x3e467d,this[_0x9458cf(0x2c8)]=_0x1970e4,this[_0x9458cf(0x23f)]=_0x142d12,this[_0x9458cf(0x16e)]=_0x5d461e,this[_0x9458cf(0x278)]=_0x5b7c7c,this[_0x9458cf(0x2d1)]=_0x30c547,this[_0x9458cf(0x207)]=_0x45377d,this['_refRangeService']=_0x1e9ed6);}get[_0x4efb46(0x336)](){const _0x4908d2=_0x4efb46;return this[_0x4908d2(0x17b)][_0x4908d2(0x2e9)]();}get[_0x4efb46(0x340)](){const _0x5c9288=_0x4efb46;return this[_0x5c9288(0x184)]['getValue']();}[_0x4efb46(0x1b7)](){const _0x2b7e88=_0x4efb46;super[_0x2b7e88(0x1b7)](),this[_0x2b7e88(0x17b)][_0x2b7e88(0x326)](new Map()),this[_0x2b7e88(0x17b)][_0x2b7e88(0x33b)](),this[_0x2b7e88(0x184)]['next']([]),this['_roomMembers$'][_0x2b7e88(0x33b)]();}[_0x4efb46(0x28f)](){const _0x2fbc6f=_0x4efb46;this[_0x2fbc6f(0x2a5)]||(this[_0x2fbc6f(0x2a5)]=!0x0,this[_0x2fbc6f(0x2c8)]['sessionStatus$']['pipe'](_0x760463(this[_0x2fbc6f(0x34d)]))['subscribe'](_0x38971d=>{const _0x259a9e=_0x2fbc6f;_0x38971d===_0x36e997[_0x259a9e(0x227)]?this[_0x259a9e(0x235)]():this[_0x259a9e(0x2cf)]();}),this[_0x2fbc6f(0x2c8)][_0x2fbc6f(0x30e)][_0x2fbc6f(0x22f)](_0x760463(this[_0x2fbc6f(0x34d)]))[_0x2fbc6f(0x157)](_0xb62cc7=>{const _0x2a4937=_0x2fbc6f,_0x1103ce=_0xb62cc7[_0x2a4937(0x29a)];_0x1103ce===_0x119239['UPDATE_CURSOR']&&this[_0x2a4937(0x1cd)](_0xb62cc7),_0x1103ce===_0x119239[_0x2a4937(0x355)]&&this[_0x2a4937(0x17d)](_0xb62cc7);}),this[_0x2fbc6f(0x293)](),this[_0x2fbc6f(0x1ee)](this[_0x2fbc6f(0x207)][_0x2fbc6f(0x1ef)](_0x2ef696=>{const _0x4fcd53=_0x2fbc6f;if(this['_online']&&_0x2ef696['id']===_0x42b29b['id']&&_0x2ef696[_0x4fcd53(0x1b2)][_0x4fcd53(0x152)]===this['unitID']){const _0x22e415=_0x2ef696[_0x4fcd53(0x1b2)];this[_0x4fcd53(0x23b)](_0x22e415['subUnitId'],_0x22e415[_0x4fcd53(0x240)][0x0]);}})));}['_onCursorUpdate'](_0x29d50c){const _0x3ecb54=_0x4efb46;var _0x3cd2d1,_0x28d325;const {memberID:_0x5eb1ee,selection:_0x9e53cb}=_0x29d50c['data'],{sheetName:_0x8d30f4,range:_0x580d4d}=_0x507f40(_0x9e53cb),_0x127d7c={'name':(_0x28d325=(_0x3cd2d1=this[_0x3ecb54(0x278)][_0x3ecb54(0x1be)](this['unitID'],_0x5eb1ee))==null?void 0x0:_0x3cd2d1[_0x3ecb54(0x289)])!=null?_0x28d325:_0x3ecb54(0x309),'range':this[_0x3ecb54(0x274)](_0x8d30f4,_0x580d4d),'sheetID':_0x8d30f4,'color':this[_0x3ecb54(0x16e)]['assignAColorForMemberID'](_0x5eb1ee),'selection':_0x9e53cb},_0x224fe8=this[_0x3ecb54(0x336)];_0x224fe8[_0x3ecb54(0x311)](_0x5eb1ee,_0x127d7c),this[_0x3ecb54(0x17b)][_0x3ecb54(0x326)](_0x224fe8);}[_0x4efb46(0x17d)](_0x318b05){const _0x58a7cc=_0x4efb46,{memberID:_0x121504}=_0x318b05[_0x58a7cc(0x269)],_0x3440a4=this[_0x58a7cc(0x336)];_0x3440a4['delete'](_0x121504),this[_0x58a7cc(0x17b)][_0x58a7cc(0x326)](_0x3440a4);}[_0x4efb46(0x274)](_0x4b2cf7,_0x3ed60b){const _0x1bb7a1=_0x4efb46;var _0x34269b,_0x3568d0;const _0x21d2c8=(_0x3568d0=(_0x34269b=this[_0x1bb7a1(0x2d1)][_0x1bb7a1(0x319)](this[_0x1bb7a1(0x19d)]))==null?void 0x0:_0x34269b[_0x1bb7a1(0x156)](_0x4b2cf7))==null?void 0x0:_0x3568d0['getMergeData']();return(_0x21d2c8==null?void 0x0:_0x21d2c8[_0x1bb7a1(0x1fd)](_0x2f2cd9=>_0x4e0edf['contains'](_0x2f2cd9,_0x3ed60b)))||_0x3ed60b;}[_0x4efb46(0x293)](){const _0x3454e2=_0x4efb46,_0x35451c=new _0x302056(),_0x49d475=vi(),_0x5ea436=()=>{const _0x79b2a3=_0x28ab;_0x35451c[_0x79b2a3(0x1b7)]();const _0x46e9eb=(_0x1a1e65,_0x12acca,_0x3a6554,_0x40e1d9)=>{const _0xb438f2=_0x79b2a3;let _0x2a7329=[];switch(_0x1a1e65['id']){case _0x16b958[_0xb438f2(0x14e)]:{_0x2a7329=_0x585076(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x2f4)]:{_0x2a7329=_0x48e611(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x1a8)]:{_0x2a7329=_0x3b6c6e(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x24b)]:{_0x2a7329=_0x29eb48(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x325)]:{_0x2a7329=_0xc933e1(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x19b)]:{_0x2a7329=_0x4f5ace(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x1de)]:{_0x2a7329=_0x28c7fd(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x1fa)]:{_0x2a7329=_0x5c6a0a(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x33c)]:{_0x2a7329=_0x1e46d7(_0x1a1e65,_0x40e1d9);break;}}const _0x501feb=_0x5056ce(_0x2a7329,_0x40e1d9),_0x28011b=this['cursorInfo']['get'](_0x12acca);if(_0x28011b&&_0x501feb){const _0x4e0524={..._0x28011b,'range':_0x501feb};this['cursorInfo'][_0xb438f2(0x311)](_0x12acca,_0x4e0524),_0x49d475(()=>{const _0x29bfa9=_0xb438f2,_0x2650b9=this['_refRangeService'][_0x29bfa9(0x21e)](_0x501feb,_0x3a28a1=>(_0x2650b9[_0x29bfa9(0x1b7)](),_0x46e9eb(_0x3a28a1,_0x12acca,_0x3a6554,_0x501feb)));_0x35451c[_0x29bfa9(0x2df)](_0x2650b9);});}return{'redos':[],'undos':[]};};this[_0x79b2a3(0x336)][_0x79b2a3(0x19e)]((_0x1df325,_0x5bad5b)=>{const _0x1f4ddb=_0x79b2a3,{range:_0x1fe5a6,sheetID:_0x28041b}=_0x1df325,_0x12e5fd=this[_0x1f4ddb(0x31b)][_0x1f4ddb(0x21e)](_0x1fe5a6,_0x3fb521=>(_0x12e5fd[_0x1f4ddb(0x1b7)](),_0x46e9eb(_0x3fb521,_0x5bad5b,_0x28041b,_0x1fe5a6)));_0x35451c[_0x1f4ddb(0x2df)](_0x12e5fd);});};this['disposeWithMe'](_0x19548f(this[_0x3454e2(0x17b)]['subscribe'](()=>{_0x5ea436();})));}[_0x4efb46(0x235)](){const _0x16dca6=_0x4efb46;var _0xabe467,_0x3f3cf5;if(this[_0x16dca6(0x1d7)]=!0x0,((_0xabe467=this[_0x16dca6(0x2d1)][_0x16dca6(0x263)]())==null?void 0x0:_0xabe467['getUnitId']())!==this[_0x16dca6(0x19d)])return;const _0x363483=(_0x3f3cf5=this[_0x16dca6(0x23f)][_0x16dca6(0x352)](_0x3e1129)[_0x16dca6(0x20c)]())==null?void 0x0:_0x3f3cf5[0x0],_0x2b6dcb=this[_0x16dca6(0x2d1)][_0x16dca6(0x1af)](_0x3f742a[_0x16dca6(0x304)])['getActiveSheet']();_0x363483&&_0x2b6dcb&&this[_0x16dca6(0x23b)](_0x2b6dcb[_0x16dca6(0x287)](),_0x363483);}[_0x4efb46(0x2cf)](){const _0x1a34bb=_0x4efb46;this[_0x1a34bb(0x1d7)]=!0x1;}};Me=mi([x(0x2,_0xc24e4b(_0x35c1bd)),x(0x3,_0xc24e4b(ke)),x(0x4,_0xc24e4b(_0x36d44a)),x(0x5,_0xb3fb3f),x(0x6,_0xc68a40),x(0x7,_0xc24e4b(_0x2b1c69))],Me);var pi=Object[_0x4efb46(0x14b)],Ci=(_0x5a0534,_0x33876c,_0x5b6473,_0x29a4bc)=>{const _0x4b2592=_0x4efb46;for(var _0x1c13b9=_0x29a4bc>0x1?void 0x0:_0x29a4bc?pi(_0x33876c,_0x5b6473):_0x33876c,_0xafa80e=_0x5a0534[_0x4b2592(0x23c)]-0x1,_0x52f46b;_0xafa80e>=0x0;_0xafa80e--)(_0x52f46b=_0x5a0534[_0xafa80e])&&(_0x1c13b9=_0x52f46b(_0x1c13b9)||_0x1c13b9);return _0x1c13b9;},Se=(_0x5cc30c,_0x3c6af6)=>(_0x19174a,_0x370eef)=>_0x3c6af6(_0x19174a,_0x370eef,_0x5cc30c);let H=class extends _0x264876{constructor(_0x362c8f,_0x44d1d3,_0x457681){const _0x585b4c=_0x4efb46;super(),_(this,_0x585b4c(0x2eb),new Map()),_(this,_0x585b4c(0x33a),new _0x2413fc()),(this[_0x585b4c(0x2d1)]=_0x362c8f,this[_0x585b4c(0x23f)]=_0x44d1d3,this['_collabSessionService']=_0x457681,this[_0x585b4c(0x2a5)]());}[_0x4efb46(0x1b7)](){const _0xc46ba7=_0x4efb46;super[_0xc46ba7(0x1b7)](),this['_entityInit$'][_0xc46ba7(0x33b)](),this[_0xc46ba7(0x2eb)][_0xc46ba7(0x19e)](_0x3d90c9=>_0x3d90c9[_0xc46ba7(0x1b7)]());}['getCollabCursors$'](_0x2d685f){const _0x3b6332=_0x4efb46;return this[_0x3b6332(0x2eb)][_0x3b6332(0x20a)](_0x2d685f)?this[_0x3b6332(0x2eb)]['get'](_0x2d685f)[_0x3b6332(0x2f5)]:this[_0x3b6332(0x33a)][_0x3b6332(0x22f)](_0x140671(_0x10f932=>_0x10f932['unitID']===_0x2d685f),_0x1b9fb8(_0x1bc552=>_0x1bc552[_0x3b6332(0x2f5)]));}[_0x4efb46(0x2a5)](){const _0x56cbcc=_0x4efb46;this[_0x56cbcc(0x2d1)]['getTypeOfUnitAdded$'](_0x3f742a[_0x56cbcc(0x304)])[_0x56cbcc(0x22f)](_0x760463(this[_0x56cbcc(0x34d)]))[_0x56cbcc(0x157)](async _0x155b68=>{const _0x3199ec=_0x56cbcc,_0x228cc2=_0x155b68[_0x3199ec(0x15b)](),_0xfc738e=await this[_0x3199ec(0x14f)](_0x228cc2);this['_entityInit$'][_0x3199ec(0x326)](_0xfc738e),this[_0x3199ec(0x2eb)]['set'](_0x228cc2,_0xfc738e);}),this['_univerInstanceService'][_0x56cbcc(0x2e3)](_0x3f742a[_0x56cbcc(0x189)])[_0x56cbcc(0x22f)](_0x760463(this[_0x56cbcc(0x34d)]))[_0x56cbcc(0x22f)](_0x140671(_0x1d66f2=>!_0x1d66f2[_0x56cbcc(0x15b)]()[_0x56cbcc(0x337)]('__')))['subscribe'](async _0x3eb052=>{const _0x40ae21=_0x56cbcc,_0x2a600a=_0x3eb052[_0x40ae21(0x15b)](),_0x16964e=await this['_startDocCollabCursor'](_0x2a600a);this['_entityInit$'][_0x40ae21(0x326)](_0x16964e),this[_0x40ae21(0x2eb)]['set'](_0x2a600a,_0x16964e);}),_0x10fadc(this['_univerInstanceService'][_0x56cbcc(0x1eb)](_0x3f742a['UNIVER_DOC']),this[_0x56cbcc(0x2d1)][_0x56cbcc(0x1eb)](_0x3f742a[_0x56cbcc(0x304)]))[_0x56cbcc(0x22f)](_0x760463(this['dispose$']))['subscribe'](_0x3c0cea=>{const _0x29bc37=_0x56cbcc,_0x372289=_0x3c0cea['getUnitId'](),_0x54bfd3=this[_0x29bc37(0x2eb)][_0x29bc37(0x352)](_0x372289);_0x54bfd3&&(_0x54bfd3[_0x29bc37(0x1b7)](),this['_entities'][_0x29bc37(0x30a)](_0x372289));});}async['_startSheetCollabCursor'](_0x464f22){const _0x3fa59c=_0x4efb46,_0x54e212=await this[_0x3fa59c(0x2cc)][_0x3fa59c(0x1a4)](_0x464f22),_0x585c74=this['_injector']['createInstance'](Me,_0x464f22,_0x54e212);return _0x585c74[_0x3fa59c(0x28f)](),_0x585c74;}async['_startDocCollabCursor'](_0x5bba58){const _0x3472b4=_0x4efb46,_0x45745e=await this['_collabSessionService'][_0x3472b4(0x1a4)](_0x5bba58),_0x235f4e=this[_0x3472b4(0x23f)][_0x3472b4(0x2db)](Ue,_0x5bba58,_0x45745e);return _0x235f4e['init'](),_0x235f4e;}};H=Ci([Se(0x0,_0xb3fb3f),Se(0x1,_0xc24e4b(_0x35c1bd)),Se(0x2,_0xc24e4b(_0x1a5d93))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3663ef,_0x5bffd8){const _0x2d05ec=_0x4efb46;let {radius:_0x75be3a,width:_0x4e6ed3,height:_0x3b144f}=_0x5bffd8;_0x75be3a=_0x75be3a!=null?_0x75be3a:0x0,_0x4e6ed3=_0x4e6ed3!=null?_0x4e6ed3:0x1e,_0x3b144f=_0x3b144f!=null?_0x3b144f:0x1e;let _0x355ec3=0x0,_0x260499=0x0,_0x5142c1=0x0;_0x355ec3=_0x260499=_0x5142c1=Math[_0x2d05ec(0x2ad)](_0x75be3a,_0x4e6ed3/0x2,_0x3b144f/0x2),_0x3663ef[_0x2d05ec(0x21a)](),_0x3663ef[_0x2d05ec(0x185)](_0x355ec3,0x0),_0x3663ef[_0x2d05ec(0x25e)](_0x4e6ed3-_0x260499,0x0),_0x3663ef['arc'](_0x4e6ed3-_0x260499,_0x260499,_0x260499,Math['PI']*0x3/0x2,0x0,!0x1),_0x3663ef[_0x2d05ec(0x25e)](_0x4e6ed3,_0x3b144f-_0x5142c1),_0x3663ef['arc'](_0x4e6ed3-_0x5142c1,_0x3b144f-_0x5142c1,_0x5142c1,0x0,Math['PI']/0x2,!0x1),_0x3663ef[_0x2d05ec(0x25e)](0x0,_0x3b144f),_0x3663ef[_0x2d05ec(0x25e)](0x0,_0x355ec3),_0x3663ef[_0x2d05ec(0x186)](_0x355ec3,_0x355ec3,_0x355ec3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3663ef[_0x2d05ec(0x294)](),_0x5bffd8[_0x2d05ec(0x303)]&&(_0x3663ef[_0x2d05ec(0x299)](),_0x3663ef[_0x2d05ec(0x1a9)]=_0x5bffd8[_0x2d05ec(0x303)],_0x5bffd8[_0x2d05ec(0x27d)]==='evenodd'?_0x3663ef[_0x2d05ec(0x303)](_0x2d05ec(0x210)):_0x3663ef['fill'](),_0x3663ef[_0x2d05ec(0x2e5)]());}class he extends _0x50f11a{constructor(_0x43649e,_0x3d442b){const _0x5cd019=_0x4efb46;super(_0x43649e,_0x3d442b),_(this,_0x5cd019(0x302)),_(this,_0x5cd019(0x31f)),(this[_0x5cd019(0x302)]=_0x3d442b==null?void 0x0:_0x3d442b[_0x5cd019(0x302)],this['text']=_0x3d442b==null?void 0x0:_0x3d442b['text']);}static[_0x4efb46(0x2e7)](_0xc5fb22,_0x41331b){const _0x27dbff=_0x4efb46,{text:_0x5286f1,color:_0x3213a2}=_0x41331b;_0xc5fb22[_0x27dbff(0x299)](),_0xc5fb22[_0x27dbff(0x27e)]=_0x27dbff(0x1e2);const _0x2d32d3=_0xc5fb22[_0x27dbff(0x228)](_0x5286f1)[_0x27dbff(0x280)],_0x1a5c26=Math[_0x27dbff(0x2ad)](_0x2d32d3+0x2*me,Qe);Oi(_0xc5fb22,{'height':ee,'radius':0x4,'width':_0x1a5c26,'fill':_0x3213a2}),_0xc5fb22['fillStyle']='#FFF';const _0x5d7686=me,_0x1b8951=ee-Ei,_0xcb8d35=Qe-0x2*me;if(_0x2d32d3>_0xcb8d35){let _0x3ef0cc='',_0x1028ed=0x0;for(const _0x8ec65f of _0x5286f1){const _0x1cc97b=_0xc5fb22[_0x27dbff(0x228)](_0x8ec65f)[_0x27dbff(0x280)];if(_0x1028ed+_0x1cc97b<=_0xcb8d35-_0xc5fb22['measureText'](_0x27dbff(0x353))[_0x27dbff(0x280)])_0x3ef0cc+=_0x8ec65f,_0x1028ed+=_0x1cc97b;else{_0x3ef0cc+=_0x27dbff(0x353);break;}}_0xc5fb22['fillText'](_0x3ef0cc,_0x5d7686,_0x1b8951);}else _0xc5fb22[_0x27dbff(0x301)](_0x5286f1,_0x5d7686,_0x1b8951);_0xc5fb22['restore']();}[_0x4efb46(0x265)](_0x427b73){he['drawWith'](_0x427b73,this);}}const Ie=_0x4efb46(0x161),bi=_0x4efb46(0x1f8),Ti=_0x4efb46(0x213),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4efb46(0x30f);class qe{constructor(_0x24c100,_0x21e5d7,_0x527659,_0x5a1e12){const _0x15256a=_0x4efb46;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x15256a(0x2b9),null),_(this,_0x15256a(0x204),null),_(this,'_hideTimer',null),_(this,_0x15256a(0x354),null),(this['_cursor']=_0x24c100,this['_scene']=_0x21e5d7,this[_0x15256a(0x2f3)]=_0x527659,this['_document']=_0x5a1e12,this[_0x15256a(0x323)]());}set[_0x4efb46(0x266)](_0x489d08){const _0x56c1d9=_0x4efb46;_0x489d08?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x56c1d9(0x2b9)]&&this['_textBubble'][_0x56c1d9(0x24c)]()):(this[_0x56c1d9(0x204)]&&this[_0x56c1d9(0x204)][_0x56c1d9(0x24c)](),this[_0x56c1d9(0x2b9)]&&this[_0x56c1d9(0x2b9)][_0x56c1d9(0x351)]());}[_0x4efb46(0x1b7)](){const _0x16a53d=_0x4efb46;for(const _0x71bff9 of this[_0x16a53d(0x232)])_0x71bff9['dispose']();this[_0x16a53d(0x2b9)]&&this[_0x16a53d(0x2b9)][_0x16a53d(0x1b7)](),this[_0x16a53d(0x204)]&&this[_0x16a53d(0x204)][_0x16a53d(0x1b7)](),this[_0x16a53d(0x159)]&&this['_anchor'][_0x16a53d(0x1b7)](),this[_0x16a53d(0x354)]&&this[_0x16a53d(0x354)]();}[_0x4efb46(0x323)](){const _0x488b37=_0x4efb46;var _0x370a5;const {_docSkeleton:_0x521af4,_document:_0x31161e}=this,{color:_0x489e45,name:_0x2507b0,ranges:_0x4268e1}=this[_0x488b37(0x163)],_0x3cb66d=_0x31161e[_0x488b37(0x28b)](),{docsLeft:_0x45acf5,docsTop:_0x8f12b3}=_0x3cb66d,_0x243586=new _0x511890(_0x3cb66d,_0x521af4);for(const {startOffset:_0x181327,endOffset:_0x13f83f,rangeType:_0x195431,segmentId:_0x5f1076,segmentPage:_0x39f640,collapsed:_0x48f5d3,isActive:_0x96dd26}of _0x4268e1){const _0x431131=_0x521af4[_0x488b37(0x2c0)](_0x181327,!0x0,_0x5f1076,_0x39f640);let _0x2eaca8=_0x521af4[_0x488b37(0x2c0)](_0x13f83f,!0x0,_0x5f1076,_0x39f640);if(_0x2eaca8==null&&(_0x2eaca8=_0x521af4[_0x488b37(0x2c0)](_0x13f83f-0x1,!0x1,_0x5f1076,_0x39f640)),_0x96dd26){const {contentBoxPointGroup:_0x4eddc7}=_0x243586[_0x488b37(0x1b1)](_0x2eaca8,_0x2eaca8);if(_0x4eddc7[_0x488b37(0x23c)]===0x0)continue;this[_0x488b37(0x290)](_0x489e45,_0x4eddc7,_0x45acf5,_0x8f12b3,_0x2507b0),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x431131&&_0x2eaca8){if(_0x195431===_0x47ea56[_0x488b37(0x169)]){const _0x298a7b=new _0x2827a9(_0x3cb66d,_0x521af4),{pointGroup:_0x778712}=(_0x370a5=_0x298a7b[_0x488b37(0x1b1)](_0x431131,_0x2eaca8))!=null?_0x370a5:{};if(_0x778712==null||_0x778712[_0x488b37(0x23c)]===0x0)continue;this[_0x488b37(0x19c)](_0x489e45,_0x778712,_0x45acf5,_0x8f12b3);}else{if(!_0x48f5d3){const {borderBoxPointGroup:_0x57ea95}=_0x243586[_0x488b37(0x1b1)](_0x431131,_0x2eaca8);if(_0x57ea95[_0x488b37(0x23c)]===0x0)continue;this[_0x488b37(0x1c5)](_0x489e45,_0x57ea95,_0x45acf5,_0x8f12b3);}}}}}[_0x4efb46(0x290)](_0x2e2a12,_0x1c0557,_0x2e4826,_0x2971c9,_0x1321a5){const _0x5d9adb=_0x4efb46,_0x3edd2a=this['_getAnchorBounding'](_0x1c0557),{left:_0x42508d,top:_0x5f2894,height:_0x509c7b}=_0x3edd2a,_0x1160ee=this[_0x5d9adb(0x2fe)](),_0x356c48=Di/_0x1160ee,_0x234296=new _0x37cfd0(Ie+_0x24e58b[_0x5d9adb(0x230)](X),{'left':_0x42508d+_0x2e4826-_0x356c48,'top':_0x5f2894+_0x2971c9,'height':_0x509c7b,'width':Ri,'fill':_0x2e2a12||_0x3f4962(_0x219248[_0x5d9adb(0x25b)],0x0),'strokeWidth':_0x356c48,'stroke':Ni,'evented':!0x0});this[_0x5d9adb(0x159)]=_0x234296,this[_0x5d9adb(0x249)]['addObject'](_0x234296,_0x4c5bce);const _0x3cd82b=new _0x37cfd0(Ie+_0x24e58b[_0x5d9adb(0x230)](X),{'left':_0x42508d+_0x2e4826-_0x356c48,'top':_0x5f2894+_0x2971c9-ge/0x2,'height':ge,'width':ge,'fill':_0x2e2a12||_0x3f4962(_0x219248[_0x5d9adb(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x2e2a12||_0x3f4962(_0x219248['black'],0x0),'evented':!0x1});this[_0x5d9adb(0x204)]=_0x3cd82b,this[_0x5d9adb(0x249)]['addObject'](_0x3cd82b,_0x4c5bce);const _0xfea105=new he(Ie+_0x24e58b['generateRandomId'](X),{'left':_0x42508d+_0x2e4826-_0x356c48,'top':_0x5f2894+_0x2971c9-ee,'text':_0x1321a5,'color':_0x2e2a12});this[_0x5d9adb(0x2b9)]=_0xfea105,this[_0x5d9adb(0x249)][_0x5d9adb(0x1e1)](_0xfea105,_0x4c5bce),this[_0x5d9adb(0x266)]=!0x1;}[_0x4efb46(0x1f4)](){const _0x1f7618=_0x4efb46,_0x5a65f1=this[_0x1f7618(0x159)][_0x1f7618(0x2d6)][_0x1f7618(0x28e)](()=>{this['_hover']=!0x0;}),_0x194097=this[_0x1f7618(0x159)][_0x1f7618(0x1e9)][_0x1f7618(0x28e)](()=>{const _0x4d994a=_0x1f7618;this[_0x4d994a(0x34c)]&&clearTimeout(this[_0x4d994a(0x34c)]),this[_0x4d994a(0x34c)]=setTimeout(()=>{const _0x229684=_0x4d994a;this[_0x229684(0x266)]=!0x1;},0x7d0);});return()=>{const _0x27d4c5=_0x1f7618;_0x5a65f1[_0x27d4c5(0x208)](),_0x194097[_0x27d4c5(0x208)]();};}[_0x4efb46(0x1c5)](_0xd7b160,_0x44d111,_0x147523,_0x53a95a){const _0x354e26=_0x4efb46,_0x57f6d0=new _0x39995a(_0xd7b160)[_0x354e26(0x321)](0.2)[_0x354e26(0x26f)](),_0x4b92f8=new _0x22432b(bi+_0x24e58b['generateRandomId'](X),{'pointsGroup':_0x44d111,'fill':_0x57f6d0||_0x3f4962(_0x219248[_0x354e26(0x25b)],0.2),'left':_0x147523,'top':_0x53a95a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x354e26(0x232)][_0x354e26(0x1d1)](_0x4b92f8),this[_0x354e26(0x249)][_0x354e26(0x1e1)](_0x4b92f8,_0x4c5bce);}[_0x4efb46(0x19c)](_0x580553,_0x41da50,_0x5902c8,_0x33dc47){const _0x3efbda=_0x4efb46,_0x31853b=new _0x39995a(_0x580553)[_0x3efbda(0x321)](0.2)['toRgbString'](),_0x1168b3=new _0x22432b(Ti+_0x24e58b[_0x3efbda(0x230)](X),{'pointsGroup':_0x41da50,'fill':_0x31853b||_0x3f4962(_0x219248[_0x3efbda(0x25b)],0.2),'left':_0x5902c8,'top':_0x33dc47,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3efbda(0x232)]['push'](_0x1168b3),this[_0x3efbda(0x249)]['addObject'](_0x1168b3,_0x4c5bce);}[_0x4efb46(0x149)](_0x173223){const _0x1c9f59=_0x173223[0x0],_0x3a4b23=_0x1c9f59[0x0],_0x43f167=_0x1c9f59[0x2],{x:_0x235ef9,y:_0x1e1613}=_0x3a4b23,{x:_0x5429e3,y:_0x125d6f}=_0x43f167;return{'left':_0x235ef9,'top':_0x1e1613,'width':_0x5429e3-_0x235ef9,'height':_0x125d6f-_0x1e1613};}[_0x4efb46(0x2fe)](){const _0x1eff1f=_0x4efb46,{scaleX:_0x536cf4,scaleY:_0x383514}=this[_0x1eff1f(0x249)][_0x1eff1f(0x1c9)]();return Math[_0x1eff1f(0x16c)](_0x536cf4,_0x383514);}}var Ui=Object[_0x4efb46(0x14b)],Mi=(_0x3e77d5,_0x14f55a,_0x7f2d57,_0x545897)=>{const _0x46cb3c=_0x4efb46;for(var _0x46051a=_0x545897>0x1?void 0x0:_0x545897?Ui(_0x14f55a,_0x7f2d57):_0x14f55a,_0x14901c=_0x3e77d5[_0x46cb3c(0x23c)]-0x1,_0x203150;_0x14901c>=0x0;_0x14901c--)(_0x203150=_0x3e77d5[_0x14901c])&&(_0x46051a=_0x203150(_0x46051a)||_0x46051a);return _0x46051a;},Z=(_0x2e898e,_0x1898a2)=>(_0x56ec77,_0x4732e2)=>_0x1898a2(_0x56ec77,_0x4732e2,_0x2e898e);let we=class extends _0x264876{constructor(_0x371455,_0x409a6b,_0x22c2ab,_0x2ec8cb,_0x5e9346){const _0x2d9ffa=_0x4efb46;super(),_(this,_0x2d9ffa(0x1b6),[]),_(this,_0x2d9ffa(0x17a),[]),(this['_context']=_0x371455,this[_0x2d9ffa(0x2ab)]=_0x409a6b,this['_collabCursorController']=_0x22c2ab,this['_commandService']=_0x2ec8cb,this['_themeService']=_0x5e9346,this['_init']());}[_0x4efb46(0x2a5)](){const _0x2a832a=_0x4efb46,_0x231219=this[_0x2a832a(0x2f9)][_0x2a832a(0x152)],_0x39bdda=this[_0x2a832a(0x2ab)];this[_0x2a832a(0x1ee)](_0x5be441([this[_0x2a832a(0x17e)][_0x2a832a(0x1d0)](_0x231219),this[_0x2a832a(0x1c8)][_0x2a832a(0x258)]])[_0x2a832a(0x22f)](_0x90759a(([_0x3a9405,_0x4b2b56])=>({'skeleton':_0x39bdda[_0x2a832a(0x202)](),'cursors':[..._0x3a9405[_0x2a832a(0x2b2)]()][_0x2a832a(0x2f7)](_0x3625bc=>({..._0x3625bc,'color':this[_0x2a832a(0x1c8)][_0x2a832a(0x14c)](_0x3625bc[_0x2a832a(0x302)])}))})))['subscribe'](_0x350831=>{const _0x101f29=_0x2a832a;if(this[_0x101f29(0x248)](),_0x350831){const {skeleton:_0x24c439,cursors:_0x1ef7a8}=_0x350831;this[_0x101f29(0x2dc)](_0x24c439,_0x1ef7a8);}})),this[_0x2a832a(0x1cf)](),this[_0x2a832a(0x1c7)]();}[_0x4efb46(0x2dc)](_0x426cbf,_0xef1a5c){const _0x530a14=_0x4efb46,{scene:_0x16740d,mainComponent:_0x561f1e}=this[_0x530a14(0x2f9)],_0x206c20=_0xef1a5c[_0x530a14(0x23e)](_0x51820f=>new qe(_0x51820f,_0x16740d,_0x426cbf,_0x561f1e));this[_0x530a14(0x1b6)]=_0x206c20,this[_0x530a14(0x17a)]=_0xef1a5c;}['_refreshCollabCursors'](){const _0x20fd49=_0x4efb46;this[_0x20fd49(0x248)]();const {scene:_0x39e1a3,mainComponent:_0x550335}=this[_0x20fd49(0x2f9)],_0x4193ae=this[_0x20fd49(0x2ab)]['getSkeleton'](),_0x2caa10=this[_0x20fd49(0x17a)][_0x20fd49(0x23e)](_0x3049d3=>new qe(_0x3049d3,_0x39e1a3,_0x4193ae,_0x550335));this[_0x20fd49(0x1b6)]=_0x2caa10;}[_0x4efb46(0x248)](){const _0x58d33e=_0x4efb46;this[_0x58d33e(0x1b6)]['forEach'](_0x5c50e8=>_0x5c50e8[_0x58d33e(0x1b7)]()),this[_0x58d33e(0x1b6)]=[];}['_initCommandExecutedListener'](){const _0x3e8db9=_0x4efb46,_0x1f86ae=[_0x3b78bf['id']];this[_0x3e8db9(0x1ee)](this[_0x3e8db9(0x207)][_0x3e8db9(0x1ef)](_0x284fb4=>{const _0x23455d=_0x3e8db9;_0x1f86ae[_0x23455d(0x1e6)](_0x284fb4['id'])&&_0x284fb4[_0x23455d(0x1b2)]['unitId']===this[_0x23455d(0x2f9)][_0x23455d(0x152)]&&this['_refreshCollabCursors']();}));}[_0x4efb46(0x1cf)](){const _0x1da246=_0x4efb46;this[_0x1da246(0x1ee)](_0x3ef67d(this['_context'][_0x1da246(0x1c6)][_0x1da246(0x1d8)])[_0x1da246(0x22f)](_0x10acae(_0x44b13b=>_0x44b13b[_0x1da246(0x2e4)]===_0x47f57f[_0x1da246(0x1aa)]),_0x1133d9(0x10))[_0x1da246(0x157)](()=>{const _0x53cefa=_0x1da246;this[_0x53cefa(0x1fc)]();}));}};we=Mi([Z(0x1,_0xc24e4b(_0x34549c)),Z(0x2,_0xc24e4b(H)),Z(0x3,_0xc68a40),Z(0x4,_0xc24e4b(_0x3a07ea))],we);const wi=0x1,Pi=1.5;class Li extends _0x50f11a{constructor(_0x2673ac,_0x405438){const _0xa3b42e=_0x4efb46;super(_0x2673ac,_0x405438),_(this,_0xa3b42e(0x335)),_(this,'_hovered',!0x1),_(this,_0xa3b42e(0x260)),_(this,_0xa3b42e(0x158),''),_(this,'_labelPosition',_0xa3b42e(0x30d)),_(this,_0xa3b42e(0x18a)),(_0x405438&&this[_0xa3b42e(0x1a2)](_0x405438),this[_0xa3b42e(0x2d6)]['subscribeEvent'](()=>this[_0xa3b42e(0x1a2)]({'hovered':!0x0})),this['onPointerLeave$'][_0xa3b42e(0x28e)](()=>this[_0xa3b42e(0x1a2)]({'hovered':!0x1})));}[_0x4efb46(0x1a2)](_0xe8cbd3){const _0x422486=_0x4efb46;var _0x359a92,_0x22cfa8,_0x3a0880,_0x36c66a,_0x3d873a,_0x313fef;this[_0x422486(0x335)]=(_0x359a92=_0xe8cbd3[_0x422486(0x302)])!=null?_0x359a92:this[_0x422486(0x335)],this[_0x422486(0x344)]=(_0x22cfa8=_0xe8cbd3['hovered'])!=null?_0x22cfa8:this[_0x422486(0x344)],this[_0x422486(0x260)]=(_0x3a0880=_0xe8cbd3[_0x422486(0x24f)])!=null?_0x3a0880:this[_0x422486(0x260)],this[_0x422486(0x158)]=(_0x36c66a=_0xe8cbd3[_0x422486(0x289)])!=null?_0x36c66a:this[_0x422486(0x158)],this[_0x422486(0x29b)]=(_0x3d873a=_0xe8cbd3[_0x422486(0x291)])!=null?_0x3d873a:this['_labelPosition'],this[_0x422486(0x18a)]=(_0x313fef=_0xe8cbd3[_0x422486(0x1f0)])!=null?_0x313fef:this[_0x422486(0x18a)],this['transformByState']({'width':_0xe8cbd3[_0x422486(0x280)],'height':_0xe8cbd3[_0x422486(0x15d)]});}['onMouseMove'](_0x13de3b){const _0x3cd69f=_0x4efb46,{row:_0x156ae8,column:_0x57fb52}=_0x13de3b;if(_0x156ae8>=this[_0x3cd69f(0x260)]['startRow']&&_0x156ae8<=this['_range'][_0x3cd69f(0x23d)]&&_0x57fb52>=this[_0x3cd69f(0x260)][_0x3cd69f(0x211)]&&_0x57fb52<=this[_0x3cd69f(0x260)][_0x3cd69f(0x154)]){this[_0x3cd69f(0x1a2)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4efb46(0x22b)](_0x4135a9){return!0x1;}[_0x4efb46(0x265)](_0x4bf9a3){const _0x19880d=_0x4efb46;_0x37cfd0[_0x19880d(0x2e7)](_0x4bf9a3,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x19880d(0x335)],'evented':!0x1,'fill':this[_0x19880d(0x18a)]}),this['_hovered']&&(_0x4bf9a3[_0x19880d(0x299)](),_0x4bf9a3[_0x19880d(0x33e)](0x1,0x0,0x0,0x1,this[_0x19880d(0x280)],this[_0x19880d(0x29b)]==='bottom'?0x0:-0x14),he[_0x19880d(0x2e7)](_0x4bf9a3,{'text':this[_0x19880d(0x158)],'color':this[_0x19880d(0x335)]}),_0x4bf9a3[_0x19880d(0x2e5)]());}}var Ai=Object[_0x4efb46(0x14b)],yi=(_0x9da685,_0x9f6cd3,_0x33e561,_0x51df88)=>{const _0x36ffa6=_0x4efb46;for(var _0x5823fc=_0x51df88>0x1?void 0x0:_0x51df88?Ai(_0x9f6cd3,_0x33e561):_0x9f6cd3,_0x37084f=_0x9da685[_0x36ffa6(0x23c)]-0x1,_0x484bd4;_0x37084f>=0x0;_0x37084f--)(_0x484bd4=_0x9da685[_0x37084f])&&(_0x5823fc=_0x484bd4(_0x5823fc)||_0x5823fc);return _0x5823fc;},ve=(_0x5f5b7e,_0x121ca0)=>(_0x590f26,_0x4788e5)=>_0x121ca0(_0x590f26,_0x4788e5,_0x5f5b7e);const $i=0x1389;let Pe=class extends _0x264876{constructor(_0x1909b7,_0x38eaa9,_0x1d829d,_0x791e19){const _0x4a72f4=_0x4efb46;super(),_(this,_0x4a72f4(0x17a),new Set()),_(this,_0x4a72f4(0x320),null),(this['_context']=_0x1909b7,this[_0x4a72f4(0x1db)]=_0x38eaa9,this[_0x4a72f4(0x17e)]=_0x1d829d,this[_0x4a72f4(0x1c8)]=_0x791e19,this['_init']());}[_0x4efb46(0x2a5)](){const _0x286241=_0x4efb46;this[_0x286241(0x1db)]['currentSkeleton$'][_0x286241(0x22f)](_0x492ddb(this['dispose$']),_0x385aee(_0x1b9c71=>{const _0x346e93=_0x286241;if(_0x1b9c71){const _0x485b7a=_0x1b9c71[_0x346e93(0x1cc)];return _0x5be441(this[_0x346e93(0x17e)][_0x346e93(0x1d0)](this[_0x346e93(0x2f9)][_0x346e93(0x152)]),this[_0x346e93(0x1c8)][_0x346e93(0x258)])['pipe'](_0x90759a(([_0x4d8855,_0x59b5bc])=>{const _0x443779=_0x346e93,_0x594972=new Map();return _0x4d8855[_0x443779(0x19e)]((_0x397e3b,_0x548706)=>{const _0x3fea70=_0x443779;if(_0x397e3b['sheetID']===_0x485b7a){const _0x543df3={..._0x397e3b};_0x543df3['color']=this[_0x3fea70(0x1c8)][_0x3fea70(0x14c)](_0x397e3b[_0x3fea70(0x302)]),_0x594972[_0x3fea70(0x311)](_0x548706,_0x543df3);}}),{'skeleton':_0x1b9c71,'cursors':_0x594972};}));}return _0x4846f1({'skeleton':null,'cursors':new Map()});}))[_0x286241(0x157)](({skeleton:_0x27000a,cursors:_0x2f6399})=>{const _0x4b8d6c=_0x286241;this[_0x4b8d6c(0x248)](),_0x27000a&&this['_updateCollabCursors'](_0x27000a,_0x2f6399);}),this['_sheetSkeletonManagerService'][_0x286241(0x2c9)]['subscribe'](_0x3c4ce7=>{const _0x54409e=_0x286241;if(_0x3c4ce7==null)return;const {skeleton:_0x571775}=_0x3c4ce7,{scene:_0x35a52a}=this[_0x54409e(0x2f9)];_0x35a52a[_0x54409e(0x1cb)][_0x54409e(0x28e)](_0x10b8fb(_0x49335a=>{const _0x21fa98=_0x54409e;var _0x380560,_0x2ed646;const {offsetX:_0x5466b2,offsetY:_0x20faba}=_0x49335a,{x:_0xd0d94a,y:_0x2b5002}=_0x35a52a['getRelativeToViewportCoord'](_0x507064[_0x21fa98(0x1a0)]([_0x5466b2,_0x20faba])),{scaleX:_0x1b2ab4,scaleY:_0x5295fd}=_0x35a52a[_0x21fa98(0x1c9)](),_0x1b5cde=_0x35a52a[_0x21fa98(0x239)](_0x160298[_0x21fa98(0x170)]),_0x30ffb2=_0x35a52a['getVpScrollXYInfoByPosToVp'](_0x507064[_0x21fa98(0x1a0)]([_0xd0d94a,_0x2b5002]),_0x1b5cde),_0x954ad3=_0x571775['getCellPositionByOffset'](_0x5466b2,_0x20faba,_0x1b2ab4,_0x5295fd,_0x30ffb2);((_0x380560=this['_lastPointer'])==null?void 0x0:_0x380560[_0x21fa98(0x18c)])===_0x954ad3[_0x21fa98(0x18c)]&&((_0x2ed646=this[_0x21fa98(0x320)])==null?void 0x0:_0x2ed646[_0x21fa98(0x345)])===_0x954ad3['row']||this[_0x21fa98(0x17a)][_0x21fa98(0x19e)](_0x176b54=>{_0x176b54['onMouseMove'](_0x954ad3);});},0x64));});}[_0x4efb46(0x2dc)](_0x4e8a2c,_0x3971bc){const _0x21338b=_0x4efb46;var _0x5f4c7a;const _0x291369=(_0x5f4c7a=this['_sheetSkeletonManagerService'][_0x21338b(0x28d)]())==null?void 0x0:_0x5f4c7a[_0x21338b(0x312)];if(!_0x291369)return;const _0x2a2829=this[_0x21338b(0x259)]();if(!_0x2a2829)return;this['_cursors'][_0x21338b(0x19e)](_0x3154da=>{_0x3154da['makeDirty']();});const {scene:_0x1fc1fc}=_0x2a2829,_0x41f237=xi(Array[_0x21338b(0x153)](_0x3971bc[_0x21338b(0x2b2)]()))[_0x21338b(0x23e)](_0x321174=>{const _0x7cdf23=_0x21338b,{color:_0x18dc30,range:_0x5f3206,name:_0x50c6c,selection:_0x569076,sheetID:_0x425add}=_0x321174,{startColumn:_0x5032b1,startRow:_0x452b66,endColumn:_0x13057a,endRow:_0x131661}=_0x5f3206,_0x3e18e2=_0x3bbc56(_0x452b66,_0x5032b1,_0x1fc1fc,_0x291369),_0x5a9db3=_0x3bbc56(_0x131661,_0x13057a,_0x1fc1fc,_0x291369),{columnHeaderHeightAndMarginTop:_0x23091b}=_0x291369,{startX:_0x34208f,startY:_0x22e2b0}=_0x3e18e2,{endX:_0x8acfb4,endY:_0x5662cd}=_0x5a9db3,_0x11e3d6=_0x8acfb4-_0x34208f,_0xf99e5=_0x5662cd-_0x22e2b0,_0x1526a3={'labelPosition':_0x22e2b0-_0x23091b>=ee?'top':_0x7cdf23(0x191),'sheetID':_0x425add,'range':_0x5f3206,'color':_0x18dc30,'name':_0x50c6c,'selection':_0x569076,'left':_0x34208f,'top':_0x22e2b0,'width':_0x11e3d6,'height':_0xf99e5,'evented':!0x1,'zIndex':$i};return new Li(_0x50c6c,_0x1526a3);});_0x1fc1fc[_0x21338b(0x221)](_0x41f237,wi),this[_0x21338b(0x17a)]=new Set(_0x41f237);}['_removeCollabCursors'](){const _0x2edb75=_0x4efb46;var _0x305070;(_0x305070=this[_0x2edb75(0x17a)])==null||_0x305070['forEach'](_0x438174=>_0x438174[_0x2edb75(0x1b7)]());}[_0x4efb46(0x259)](){const _0x87fad4=_0x4efb46;return _0x207f8a(this[_0x87fad4(0x2f9)][_0x87fad4(0x2b3)],this[_0x87fad4(0x2f9)]);}};Pe=yi([ve(0x1,_0xc24e4b(_0x25b8e3)),ve(0x2,_0xc24e4b(H)),ve(0x3,_0xc24e4b(_0x3a07ea))],Pe);function xi(_0x11d6be){const _0x300092=_0x4efb46,_0x3f611d=new Map();return _0x11d6be[_0x300092(0x19e)](_0x5e8c5b=>{const _0x3401b4=_0x300092;if(_0x3f611d[_0x3401b4(0x20a)](_0x5e8c5b['selection'])){const _0x177425=_0x3f611d[_0x3401b4(0x352)](_0x5e8c5b[_0x3401b4(0x1c3)]);_0x177425[_0x3401b4(0x289)]+=',\x20'+_0x5e8c5b[_0x3401b4(0x289)];}else _0x3f611d[_0x3401b4(0x311)](_0x5e8c5b[_0x3401b4(0x1c3)],_0x5e8c5b);}),Array['from'](_0x3f611d[_0x300092(0x2b2)]());}var v=function(){const _0x1fc404=_0x4efb46;return v=Object[_0x1fc404(0x219)]||function(_0x1ee796){const _0x3dc6c4=_0x1fc404;for(var _0x911c6c,_0x2c9803=0x1,_0x8fa1d=arguments[_0x3dc6c4(0x23c)];_0x2c9803<_0x8fa1d;_0x2c9803++){_0x911c6c=arguments[_0x2c9803];for(var _0x1f898d in _0x911c6c)Object['prototype']['hasOwnProperty'][_0x3dc6c4(0x284)](_0x911c6c,_0x1f898d)&&(_0x1ee796[_0x1f898d]=_0x911c6c[_0x1f898d]);}return _0x1ee796;},v[_0x1fc404(0x307)](this,arguments);},Bi=function(_0x53563e,_0x1d9852){const _0x241a71=_0x4efb46;var _0xca915c={};for(var _0x593f5d in _0x53563e)Object['prototype'][_0x241a71(0x15c)]['call'](_0x53563e,_0x593f5d)&&_0x1d9852[_0x241a71(0x20f)](_0x593f5d)<0x0&&(_0xca915c[_0x593f5d]=_0x53563e[_0x593f5d]);if(_0x53563e!=null&&typeof Object[_0x241a71(0x329)]==_0x241a71(0x247)){for(var _0x53c805=0x0,_0x593f5d=Object[_0x241a71(0x329)](_0x53563e);_0x53c805<_0x593f5d[_0x241a71(0x23c)];_0x53c805++)_0x1d9852[_0x241a71(0x20f)](_0x593f5d[_0x53c805])<0x0&&Object[_0x241a71(0x1dd)][_0x241a71(0x2aa)][_0x241a71(0x284)](_0x53563e,_0x593f5d[_0x53c805])&&(_0xca915c[_0x593f5d[_0x53c805]]=_0x53563e[_0x593f5d[_0x53c805]]);}return _0xca915c;},je=_0xf2f6e1(function(_0x26c05f,_0xd303cd){const _0xec4af9=_0x4efb46;var _0xa1a630=_0x26c05f[_0xec4af9(0x174)],_0x428a4e=_0x26c05f['id'],_0x424299=_0x26c05f['className'],_0x4c0cb8=_0x26c05f[_0xec4af9(0x25d)],_0x4dabda=Bi(_0x26c05f,[_0xec4af9(0x174),'id',_0xec4af9(0x1f7),_0xec4af9(0x25d)]),_0x17c51c=_0xec4af9(0x168)[_0xec4af9(0x216)](_0x428a4e,'\x20')['concat'](_0x424299||'')[_0xec4af9(0x173)](),_0x2cc50a=_0x4551a4('_'[_0xec4af9(0x216)](ji()));return Rt(_0xa1a630,''[_0xec4af9(0x216)](_0x428a4e),{'defIds':_0xa1a630[_0xec4af9(0x2ed)],'idSuffix':_0x2cc50a['current']},v({'ref':_0xd303cd,'className':_0x17c51c},_0x4dabda),_0x4c0cb8);});function Rt(_0x24cf71,_0x2faf5c,_0x4cc9bc,_0x7e9eac,_0x205d2c){const _0x3e55d6=_0x4efb46;return _0x244245(_0x24cf71['tag'],v(v({'key':_0x2faf5c},ki(_0x24cf71,_0x4cc9bc,_0x205d2c)),_0x7e9eac),(Hi(_0x24cf71,_0x4cc9bc)[_0x3e55d6(0x273)]||[])[_0x3e55d6(0x23e)](function(_0x3526ac,_0x57a18e){const _0x2d14ba=_0x3e55d6;return Rt(_0x3526ac,''[_0x2d14ba(0x216)](_0x2faf5c,'-')[_0x2d14ba(0x216)](_0x24cf71['tag'],'-')[_0x2d14ba(0x216)](_0x57a18e),_0x4cc9bc,void 0x0,_0x205d2c);}));}function ki(_0x35b7eb,_0x3eea2e,_0x7c9dfb){const _0x1d4924=_0x4efb46;var _0x22a644=v({},_0x35b7eb[_0x1d4924(0x1df)]);_0x7c9dfb!=null&&_0x7c9dfb['colorChannel1']&&_0x22a644[_0x1d4924(0x303)]===_0x1d4924(0x327)&&(_0x22a644[_0x1d4924(0x303)]=_0x7c9dfb['colorChannel1']),_0x35b7eb[_0x1d4924(0x2ff)]==='mask'&&_0x22a644['id']&&(_0x22a644['id']=_0x22a644['id']+_0x3eea2e[_0x1d4924(0x27f)]),Object[_0x1d4924(0x2ac)](_0x22a644)[_0x1d4924(0x19e)](function(_0x41dc0c){const _0x471aca=_0x1d4924;var _0x2d7d42=_0x41dc0c[0x0],_0x4f3306=_0x41dc0c[0x1];_0x2d7d42===_0x471aca(0x166)&&typeof _0x4f3306=='string'&&(_0x22a644[_0x2d7d42]=_0x4f3306[_0x471aca(0x181)](/url\(#(.*)\)/,_0x471aca(0x244)[_0x471aca(0x216)](_0x3eea2e[_0x471aca(0x27f)],')')));});var _0x21937e=_0x3eea2e[_0x1d4924(0x2ed)];return!_0x21937e||_0x21937e[_0x1d4924(0x23c)]===0x0||(_0x35b7eb[_0x1d4924(0x2ff)]===_0x1d4924(0x308)&&_0x22a644[_0x1d4924(0x1bb)]&&(_0x22a644[_0x1d4924(0x1bb)]=_0x22a644[_0x1d4924(0x1bb)]+_0x3eea2e[_0x1d4924(0x27f)]),Object[_0x1d4924(0x2ac)](_0x22a644)['forEach'](function(_0x528970){const _0x37f5fd=_0x1d4924;var _0x252ad0=_0x528970[0x0],_0x7edb45=_0x528970[0x1];typeof _0x7edb45==_0x37f5fd(0x1bc)&&(_0x22a644[_0x252ad0]=_0x7edb45[_0x37f5fd(0x181)](/url\(#(.*)\)/,_0x37f5fd(0x244)['concat'](_0x3eea2e[_0x37f5fd(0x27f)],')')));})),_0x22a644;}function Hi(_0x3aa014,_0x1a76cf){const _0x52c61a=_0x4efb46;var _0x182103,_0x4b17c1=_0x1a76cf[_0x52c61a(0x2ed)];return!_0x4b17c1||_0x4b17c1[_0x52c61a(0x23c)]===0x0?_0x3aa014:_0x3aa014[_0x52c61a(0x2ff)]===_0x52c61a(0x20e)&&(!((_0x182103=_0x3aa014[_0x52c61a(0x273)])===null||_0x182103===void 0x0)&&_0x182103['length'])?v(v({},_0x3aa014),{'children':_0x3aa014[_0x52c61a(0x273)][_0x52c61a(0x23e)](function(_0x1faa59){const _0x457539=_0x52c61a;return typeof _0x1faa59[_0x457539(0x1df)]['id']=='string'&&_0x4b17c1&&_0x4b17c1[_0x457539(0x1e6)](_0x1faa59[_0x457539(0x1df)]['id'])?v(v({},_0x1faa59),{'attrs':v(v({},_0x1faa59[_0x457539(0x1df)]),{'id':_0x1faa59[_0x457539(0x1df)]['id']+_0x1a76cf[_0x457539(0x27f)]})}):_0x1faa59;})}):_0x3aa014;}function ji(){const _0x238a04=_0x4efb46;return Math[_0x238a04(0x1ca)]()[_0x238a04(0x2d0)](0x24)[_0x238a04(0x2ef)](0x2,0x8);}je[_0x4efb46(0x21b)]=_0x4efb46(0x306);var Yi={'tag':'svg','attrs':{'xmlns':_0x4efb46(0x342),'fill':_0x4efb46(0x16b),'viewBox':'0\x200\x2016\x2016','width':_0x4efb46(0x1f1),'height':_0x4efb46(0x1f1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4efb46(0x203),'attrs':{'stroke':_0x4efb46(0x1d5),'d':_0x4efb46(0x1c1),'strokeLinecap':_0x4efb46(0x1b8),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4efb46(0x20e),'attrs':{},'children':[{'tag':_0x4efb46(0x225),'attrs':{'id':_0x4efb46(0x292)},'children':[{'tag':_0x4efb46(0x203),'attrs':{'fill':_0x4efb46(0x282),'d':_0x4efb46(0x2cd)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0xf2f6e1(function(_0x57d439,_0x5bd8e0){const _0x1319cc=_0x4efb46;return _0x244245(je,Object[_0x1319cc(0x219)]({},_0x57d439,{'id':_0x1319cc(0x347),'ref':_0x5bd8e0,'icon':Yi}));});Dt[_0x4efb46(0x21b)]=_0x4efb46(0x2f0);var Fi={'tag':_0x4efb46(0x297),'attrs':{'xmlns':_0x4efb46(0x342),'fill':_0x4efb46(0x16b),'viewBox':_0x4efb46(0x2c5),'width':_0x4efb46(0x1f1),'height':_0x4efb46(0x1f1)},'children':[{'tag':'g','attrs':{'clipPath':_0x4efb46(0x2fa)},'children':[{'tag':_0x4efb46(0x203),'attrs':{'stroke':_0x4efb46(0x1d5),'d':_0x4efb46(0x1e5),'strokeLinecap':'round','strokeLinejoin':_0x4efb46(0x1b8),'strokeWidth':1.2}}]},{'tag':_0x4efb46(0x20e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4efb46(0x2a0)},'children':[{'tag':_0x4efb46(0x203),'attrs':{'fill':_0x4efb46(0x282),'d':_0x4efb46(0x2cd),'transform':_0x4efb46(0x205)}}]}]}],'defIds':[_0x4efb46(0x2a0)]},Nt=_0xf2f6e1(function(_0x284855,_0x5a2ff1){const _0x11aa80=_0x4efb46;return _0x244245(je,Object['assign']({},_0x284855,{'id':_0x11aa80(0x1c0),'ref':_0x5a2ff1,'icon':Fi}));});Nt[_0x4efb46(0x21b)]=_0x4efb46(0x155);function Wi(_0x2747bf){const _0x423803=_0x4efb46;switch(_0x2747bf){case _0x2fb3dc[_0x423803(0x1ff)]:return _0x423803(0x171);case _0x2fb3dc[_0x423803(0x2b8)]:return _0x423803(0x2c7);case _0x2fb3dc[_0x423803(0x2a9)]:return'collabStatus.fetchMiss';case _0x2fb3dc[_0x423803(0x14d)]:return _0x423803(0x2af);case _0x2fb3dc[_0x423803(0x1f3)]:case _0x2fb3dc[_0x423803(0x233)]:return _0x423803(0x315);case _0x2fb3dc[_0x423803(0x1ab)]:case _0x2fb3dc[_0x423803(0x245)]:return'collabStatus.synced';}}function _0x906e(){const _0x1d078d=['disableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','mutations','sessionTicket','fillRule','font','idSuffix','width','9429640bEfRJd','white','defineProperty','call','SNAPSHOT_HAS_BEEN_REMOVED','INVALID_INVITE_CODE','getSheetId','_localCacheService','name','purple.300','getOffsetConfig','_initDependencies','getCurrent','subscribeEvent','init','_drawAnchor','labelPosition','off-line-icon_clip0_910_343','_onRefRangeChange','closePath','collaboration-client-ui.config','_status$','svg','Warning','save','eventID','_labelPosition','3458815EdeNac','with','NO_OTHER_CLIENTS_EDITING','setInterval','on-line-icon_clip0_910_349','INVITE_CODE_ALREADY_BOUND','_scheduleClearOtherTimer','replaceState','PERMISSION_DENIED','_init','subunit','PY_RUNTIME_SCRIPT_ERROR','then','FETCH_MISS','propertyIsEnumerable','_docSkeletonManagerService','entries','min','createSocket','collabStatus.notCollab','symbol','transformRemoteChangeset','values','unit','storage','send','assignAColorForMemberID','_assignedColors','CONFLICT','_textBubble','getActiveRange','_disabled','blue.400','registerRenderModule','YUUMI_ASYNCIO_CANCELLED','LICENSE_IMPORT_SIZE_EXCEEDED','findNodePositionByCharIndex','imageSourceType','m1Prime','Failed','debug','0\x200\x2017\x2016','25849164STFOnE','collabStatus.conflict','_session','currentSkeleton$','LOGIN_FAILED','transformIMECache','_collabSessionService','M0\x200H16V16H0z','whenReady','_toggleOffline','toString','_univerInstanceService','_renderManagerService','transformMutation','saveImage','doc.mutation.rich-text-editing','onPointerEnter$','error','ranges','jiqing.500','m2Prime','createInstance','_updateCollabCursors','undoState','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','add','searchParams','_scheduleSaving','_messageService','getTypeOfUnitAdded$','type','restore','transformStateCache','drawWith','_docClipboardService','getValue','asObservable','_entities','textRanges','defIds','_id','substring','OffLineIcon','_updateURLWithCurrentState','memberID','_docSkeleton','DeleteRangeMoveUpCommandId','cursorInfo$','_saveTaskMap','flatMap','getCurrentRevOfUnit','_context','url(#on-line-icon_clip0_910_349)','_docSyncEditingCollabCursorService','INVITE_CODE_REQUIRED','session.collaboration-timeout','_getScale','tag','_beforeCloseService','fillText','color','fill','UNIVER_SHEET','onLocalMutation','UniverIcon','apply','use','Unknown\x20user','delete','UNAUTHENTICATED','_saveCache','top','event$','rgba(255,\x20255,\x20255,\x200.01)','_registerRenderDependencies','set','skeleton','WECHAT_HAS_BEEN_BOUND','setUndoRedoMutationParamsCache','collabStatus.syncing','MUTATION','onRendered','univer-flex\x20univer-items-center','getUniverSheetInstance','LICENSE_EXPORT_SIZE_EXCEEDED','_refRangeService','_clearOtherTimers','session.will-retry','pushState','text','_lastPointer','setAlpha','_uiPartsService','_render','8zSEhUl','InsertRangeMoveRightCommandId','next','colorChannel1','onStarting','getOwnPropertySymbols','MOBILE_HAS_BEEN_BOUND','result','addEventListener','urlChange$','OTHER_CLIENTS_EDITING','exhaustSavingTask','242DmZFLa','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleJoinEvent','addHandlerCallback','focused$','_color','cursorInfo','startsWith','LICENSE_MAX_UNITS_EXCEEDED','status$','_entityInit$','complete','RemoveRowCommandId','3188huduUg','transform','_unitOnClients','roomMembers','deepClone','http://www.w3.org/2000/svg','isArray','_hovered','row','getUnhiddenWorksheets','off-line-icon','YUUMI_URL_COL_OUT_OF_RANGE','_collaborationUIEventService','_initStatusComponent','newValue','_hideTimer','dispose$','_cachedData','_registerDependencies','getMemberID','hide','get','...','_eventUnsubscribe','USERS_LEAVE','_updateSubUnitFromURLParams','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_config','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Error','_getAnchorBounding','roomMembers$','getOwnPropertyDescriptor','getColorFromTheme','NOT_COLLAB','DeleteRangeMoveLeftCommandId','_startSheetCollabCursor','collabCursorState$','CHANGESET_REVISION_CONFILICT','unitId','from','endColumn','OnLineIcon','getSheetBySheetId','subscribe','_name','_anchor','split','getUnitId','hasOwnProperty','height','_send','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collab-text-anchor-','TEXT','_cursor','unload','CLOSE_ROOM','mask','_setupBeforeClosingHandler','univerjs-icon\x20univerjs-icon-','RECT','6yikJOE','none','max','YUUMI_SUBSCRIPTION_NOT_FOUND','_colorAssignService','uni.network.url-service','VIEW_MAIN','collabStatus.offline','ALREADY_EXISTS','trim','icon','HEADER_MENU','OTHER_CLIENT_EDITING','origin','isActive','red.300','_cursors','_cursorInfo$','_instanceService','_onCursorDelete','_collabCursorController','_handleEvent','activeSheet$','replace','sessionStatus$','_colorIndex','_roomMembers$','moveTo','arc','[CollaborationDataLoaderController]','_getSessionTicket','UNIVER_DOC','_backgroundColor','CONNECTOR_DATA_TOO_LARGE','column','application/json','_unitStatus','YUUMI_NO_CUBOID_FOR_QUESTION','_docTransformSelectionsService','bottom','_localeService','setItem','collab-client.tooltip.reconnect','location','_collaborationController','YUUMI_RATE_OVER_LIMIT','loadOfflineData','YUUMI_UNABLE_LOAD_URL','_revisionService','InsertRowCommandId','_drawRectRange','unitID','forEach','_docStateChangeManagerService','FromArray','executionId','setShapeProps','permission.title','requireSession','addClipboardHook','getParam','APPLY_DUPLICATED','InsertColCommandId','fillStyle','resize','SYNCED','_configService','UNRECOGNIZED','getDocRanges','getCurrentUnitForType','_createSocketURL','getRangePointData','params','JOIN_ROOM_FAILED','_transformHistoryAndStateStack','setStateCache','_cursorShapes','dispose','round','isEditing','_transformService','xlink:href','string','_docTransformIMECacheService','getMember','93078OlSKKo','on-line-icon','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','_dataLoaderService','selection','search','_drawTextRange','engine','_initCommandExecutedListener','_themeService','getAncestorScale','random','onPointerMove$','sheetId','_onCursorUpdate','_initEvent','_initResize','getCollabCursors$','push','_transformPreviousActiveRange','override','_urlService','currentColor','runId','_online','onTransformChange$','setTimeout','_heartbeatTimer','_sheetSkeletonManagerService','pluginName','prototype','MoveRangeCommandId','attrs','_getSaveTimeout','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','code','disposeUnit','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','includes','APPLY_REJECT','ticket','onPointerLeave$','clearInterval','getTypeOfUnitDisposed$','green.600','_docTransformStateCacheService','disposeWithMe','onCommandExecuted','backgroundColor','1em','getUndoRedoMutationParamsCache','AWAITING','_handleHover','NOT_FOUND','_localStorageService','className','collab-text-range-','COMPLETION_FINISHED','RemoveColCommandId','EMAIL_HAS_BEEN_BOUND','_refreshCollabCursors','find','36XwapQC','OFFLINE','APPLY_NON_SEQUENTIAL_REVISION','univer-flex\x20univer-mr-2\x20univer-text-xl','getSkeleton','path','_anchorDot','translate(.97)','_imageIoService','_commandService','unsubscribe','APPLY_PERMISSION_DENIED','has','loadUnit','getCurrentSelections','setActiveRange','defs','indexOf','evenodd','startColumn','INTERNAL_ERROR','collab-rect-range-','getItem','_notificationService','concat','setParam','entityInit$','assign','beginPath','displayName','unshift','APPLY_REVISION_CONFILICT','registerRefRange','_collabCursorState$','div','addObjects','transformMutationsWithChangeset','INVALID_ARGUMENT','_doCreateSocket','clipPath','enableLocalCache','ONLINE','measureText','stringify','YUUMI_AI_RUN_FAILED','triggerDblclick','permission.content','history','getConfig','pipe','generateRandomId','ENSURE_SNAPSHOT_EXECUTION','_shapes','AWAITING_WITH_PENDING','SOCKET_FAILED','_toggleOnline','collaboration-client.offline-data-not-saved','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','registerComponent','getViewport','_syncEditingCollabCursorService','_updateLocalCursor','length','endRow','map','_injector','selections','_selfUnitIDs','registerBeforeClose','12YuolrM','url(#$1','PENDING','saveTaskMap','function','_removeCollabCursors','_scene','TOO_MANY_REQUESTS','InsertRangeMoveDownCommandId','show','_ensureSubject','removeParam','range','INVITE_CODE_HAS_BEEN_UES','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_transformUndoRedoStack','_logService','yellow.400','redoState','_setupSubUnitSync','SUBMIT_CHANGESET_TIMEOUT','currentTheme$','_getSheetObject','body','black','getRenderById','extend','lineTo','some','_range','_httpService','popstate','getFocusedUnit','8190981iSDfyp','_draw','_hover','setConfig','collaboration.closeRoom','data','editingUnit','UPDATE_CURSOR','_handleLeaveEvent','3318259nOqhpe','href','toRgbString','size','_removeClearOtherTimer','post','children','_getMergeRange','LICENSE_DISTRO_REJECTED','_initEntityListener','clearTimeout','_memberService'];_0x906e=function(){return _0x1d078d;};return _0x906e();}function Vi(_0x318832){const _0x1b781d=_0x4efb46,{status$:_0x49c067}=_0x318832,_0x4dda4b=_0x4fff27(_0x49c067,_0x2fb3dc[_0x1b781d(0x14d)]),_0xbbdb8f=_0x37419a(_0xe5abc6),_0x266f43=_0x37419a(_0x1a5d93),_0x3d25d7=_0x4dda4b!==_0x2fb3dc[_0x1b781d(0x1ff)],_0x2ec746=_0xbbdb8f['t'](Wi(_0x4dda4b)),_0x1cd12=_0x3d25d7?_0x4b1da7(Nt,{}):_0x4b1da7(Dt,{}),_0x8e170c=_0xe4d2e2(()=>{_0x3d25d7||_0x266f43['reconnect']();},[_0x3d25d7,_0x266f43]);function _0x3615db(){const _0xf24d80=_0x1b781d;return _0xab21e5(_0xf24d80(0x220),{'className':_0xf24d80(0x318),'onClick':_0x8e170c,'children':[_0x4b1da7(_0xf24d80(0x220),{'className':_0x5e46e7(_0xf24d80(0x201),{'univer-text-green-500':_0x3d25d7,'univer-text-red-500':!_0x3d25d7}),'children':_0x1cd12}),_0x4b1da7('div',{'className':_0xf24d80(0x15f),'children':_0x2ec746})]});}return _0x3d25d7?_0x3615db():_0x4b1da7(_0x2eed63,{'title':_0xbbdb8f['t'](_0x1b781d(0x194)),'children':_0x3615db()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x1b051f,_0x1ed271,_0x22dcae,_0x50fee6)=>{const _0x3804b1=_0x4efb46;for(var _0x19c1fd=_0x50fee6>0x1?void 0x0:_0x50fee6?Xi(_0x1ed271,_0x22dcae):_0x1ed271,_0x37bf02=_0x1b051f[_0x3804b1(0x23c)]-0x1,_0x496fd6;_0x37bf02>=0x0;_0x37bf02--)(_0x496fd6=_0x1b051f[_0x37bf02])&&(_0x19c1fd=_0x496fd6(_0x19c1fd)||_0x19c1fd);return _0x19c1fd;},Q=(_0x5edf2e,_0x555770)=>(_0x52cbb5,_0x2cc32f)=>_0x555770(_0x52cbb5,_0x2cc32f,_0x5edf2e);let te=class extends _0x56014e{constructor(_0xc26d50,_0xa748b7,_0x212fa0,_0x7645f3){const _0x12aaf2=_0x4efb46;super(),_(this,'_status$',new _0xc73289(_0x2fb3dc[_0x12aaf2(0x14d)])),(this[_0x12aaf2(0x2d1)]=_0xc26d50,this[_0x12aaf2(0x23f)]=_0xa748b7,this[_0x12aaf2(0x196)]=_0x212fa0,this[_0x12aaf2(0x322)]=_0x7645f3,this[_0x12aaf2(0x34a)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x5ac626=_0x4efb46;this[_0x5ac626(0x1ee)](this[_0x5ac626(0x2d1)][_0x5ac626(0x334)][_0x5ac626(0x22f)](_0x1b9fb8(()=>{const _0x2ede92=_0x5ac626,_0x1fc994=this['_univerInstanceService'][_0x2ede92(0x263)]();return _0x1fc994?this[_0x2ede92(0x196)]['getCollabEntity$'](_0x1fc994[_0x2ede92(0x15b)]()):_0x4846f1(null);}),_0x1b9fb8(_0x9f7167=>_0x9f7167?_0x9f7167[_0x5ac626(0x339)]:_0x4846f1(_0x2fb3dc[_0x5ac626(0x14d)])))[_0x5ac626(0x157)](_0x4a3606=>{const _0x524b52=_0x5ac626;this[_0x524b52(0x296)][_0x524b52(0x326)](_0x4a3606);}));}[_0x4efb46(0x34a)](){const _0x4a8e52=_0x4efb46;this[_0x4a8e52(0x1ee)](this[_0x4a8e52(0x322)][_0x4a8e52(0x238)](_0x55c190[_0x4a8e52(0x175)],()=>_0x38a51b(Ki({'status$':this[_0x4a8e52(0x296)][_0x4a8e52(0x2ea)]()}),this[_0x4a8e52(0x23f)])));}};te=Gi([Q(0x0,_0xb3fb3f),Q(0x1,_0xc24e4b(_0x35c1bd)),Q(0x2,_0xc24e4b(_0x209cdd)),Q(0x3,_0x513ab5)],te);function Ki(_0x2c131f){const {status$:_0x4555d9}=_0x2c131f;return function(){return _0x4b1da7(Vi,{'status$':_0x4555d9});};}var zi=Object[_0x4efb46(0x14b)],Ji=(_0xc80d4c,_0x41b17d,_0x2b5299,_0xdb7d59)=>{const _0x3b696c=_0x4efb46;for(var _0x21c75b=_0xdb7d59>0x1?void 0x0:_0xdb7d59?zi(_0x41b17d,_0x2b5299):_0x41b17d,_0x425d55=_0xc80d4c[_0x3b696c(0x23c)]-0x1,_0x5eb5c6;_0x425d55>=0x0;_0x425d55--)(_0x5eb5c6=_0xc80d4c[_0x425d55])&&(_0x21c75b=_0x5eb5c6(_0x21c75b)||_0x21c75b);return _0x21c75b;},B=(_0x499f21,_0x488dd3)=>(_0x5e129e,_0x5bd88d)=>_0x488dd3(_0x5e129e,_0x5bd88d,_0x499f21);let se=class extends _0x56014e{constructor(_0xcd13fd,_0xfaa93a,_0x1559a6,_0x443875,_0x117a43,_0x502ab5){const _0x242625=_0x4efb46;super(),this[_0x242625(0x300)]=_0xcd13fd,this[_0x242625(0x288)]=_0xfaa93a,this['_collaborationUIEventService']=_0x1559a6,this[_0x242625(0x2e2)]=_0x443875,this[_0x242625(0x215)]=_0x117a43,this[_0x242625(0x192)]=_0x502ab5,this[_0x242625(0x167)](),this['_initEvent']();}[_0x4efb46(0x167)](){const _0x77e1bf=_0x4efb46;this[_0x77e1bf(0x1ee)](this[_0x77e1bf(0x300)][_0x77e1bf(0x242)](()=>{const _0x4da185=_0x77e1bf;if(this[_0x4da185(0x288)]['saveTaskMap'][_0x4da185(0x270)])return this[_0x4da185(0x192)]['t'](_0x4da185(0x236));}));}[_0x4efb46(0x1ce)](){const _0x1ff9b0=_0x4efb46;this[_0x1ff9b0(0x1ee)](this[_0x1ff9b0(0x349)][_0x1ff9b0(0x30e)][_0x1ff9b0(0x157)](_0x143a11=>{const _0x5867f8=_0x1ff9b0;_0x143a11['id']===_0x373aa0[_0x5867f8(0x176)]&&this['_messageService'][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x298)],'content':this[_0x5867f8(0x192)]['t']('collaboration.single-unit.warning')}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x165)]&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x298)],'content':this['_localeService']['t'](_0x5867f8(0x268))}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x2a4)]&&this[_0x5867f8(0x215)][_0x5867f8(0x24c)]({'title':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x1a3)),'content':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x22c)),'type':_0x5867f8(0x2d7),'duration':0x0}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x2b8)]&&this['_messageService'][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x148)],'content':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x268))+'('+_0x143a11[_0x5867f8(0x269)]+')'}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x1b3)]&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161['Warning'],'content':this[_0x5867f8(0x192)]['t'](_0x143a11['data']||'')}),_0x143a11['id']===_0x373aa0['SOCKET_FAILED_RETRY']&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x298)],'content':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x31d))}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x234)]&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x148)],'content':this[_0x5867f8(0x192)]['t']('session.connection-failed')}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x257)]&&this['_messageService'][_0x5867f8(0x24c)]({'type':_0x230161['Error'],'content':this['_localeService']['t'](_0x5867f8(0x2fd))});}));}};se=Ji([B(0x0,_0x445e71),B(0x1,_0x32856e),B(0x2,_0xc24e4b(_0x582dfc)),B(0x3,_0x251236),B(0x4,_0x34023a),B(0x5,_0xc24e4b(_0xe5abc6))],se);const Zi=_0x4efb46(0x295),et={},Ut=_0x11359d(_0x4efb46(0x16f));var Qi=Object[_0x4efb46(0x14b)],qi=(_0x4d6ce8,_0x255a6e,_0xbc81aa,_0x395bbb)=>{const _0x10a96a=_0x4efb46;for(var _0x55f842=_0x395bbb>0x1?void 0x0:_0x395bbb?Qi(_0x255a6e,_0xbc81aa):_0x255a6e,_0x1f1858=_0x4d6ce8[_0x10a96a(0x23c)]-0x1,_0x15268c;_0x1f1858>=0x0;_0x1f1858--)(_0x15268c=_0x4d6ce8[_0x1f1858])&&(_0x55f842=_0x15268c(_0x55f842)||_0x55f842);return _0x55f842;},G=(_0x338bf6,_0x9b2fe2)=>(_0x455b31,_0x2e961a)=>_0x9b2fe2(_0x455b31,_0x2e961a,_0x338bf6);let ie=class extends _0x264876{constructor(_0x48646c,_0x4f0c8b,_0x36e07d,_0x5255c4,_0x2a3772){const _0x18b1ed=_0x4efb46;super(),this['_urlService']=_0x48646c,this[_0x18b1ed(0x253)]=_0x4f0c8b,this[_0x18b1ed(0x207)]=_0x36e07d,this[_0x18b1ed(0x1c2)]=_0x5255c4,_0x2a3772?_0x2a3772==null||_0x2a3772[_0x18b1ed(0x2ce)]()[_0x18b1ed(0x2a8)](()=>this[_0x18b1ed(0x2a5)]()):(this[_0x18b1ed(0x253)][_0x18b1ed(0x2c4)](_0x18b1ed(0x187),_0x18b1ed(0x2de)),this[_0x18b1ed(0x2a5)]());}async[_0x4efb46(0x2a5)](){const _0x575822=_0x4efb46,_0x31bd28=this[_0x575822(0x1d4)][_0x575822(0x1a6)](_0x575822(0x2b3)),_0x321350=this[_0x575822(0x1d4)][_0x575822(0x1a6)](_0x575822(0x2e4)),_0x35dbb9=this[_0x575822(0x1d4)][_0x575822(0x1a6)]('subunit');if(!_0x31bd28||!_0x321350){this['_logService'][_0x575822(0x2c4)]('[CollaborationDataLoaderController]',_0x575822(0x331));return;}const _0x1f9426=await this[_0x575822(0x1c2)][_0x575822(0x20b)](_0x31bd28,Number(_0x321350),_0x35dbb9);_0x1f9426&&_0x1f9426 instanceof _0x1e4069&&this[_0x575822(0x256)](_0x1f9426);}async[_0x4efb46(0x256)](_0x38a2f8){const _0x4caa9e=_0x4efb46;await this['_updateSubUnitFromURLParams'](_0x38a2f8),_0x38a2f8[_0x4caa9e(0x180)][_0x4caa9e(0x22f)](_0x760463(this[_0x4caa9e(0x34d)]))[_0x4caa9e(0x157)](_0x501b61=>{const _0x4a9a23=_0x4caa9e;_0x501b61&&this[_0x4a9a23(0x2f1)](_0x501b61);}),this[_0x4caa9e(0x1d4)][_0x4caa9e(0x32d)][_0x4caa9e(0x22f)](_0x760463(this[_0x4caa9e(0x34d)]))[_0x4caa9e(0x157)](()=>this[_0x4caa9e(0x356)](_0x38a2f8));}['_updateURLWithCurrentState'](_0x3d11ee,_0x2f262f=!0x1){const _0x73d069=_0x4efb46,_0x3827f1=this[_0x73d069(0x1d4)][_0x73d069(0x1a6)]('subunit');_0x3d11ee['getSheetId']()!==_0x3827f1&&this[_0x73d069(0x1d4)][_0x73d069(0x217)](_0x73d069(0x2a6),_0x3d11ee[_0x73d069(0x287)](),_0x2f262f);}async[_0x4efb46(0x356)](_0xc3e8d8){const _0x1b8ed3=_0x4efb46;var _0x208464;const _0x333b38=this[_0x1b8ed3(0x1d4)]['getParam'](_0x1b8ed3(0x2a6));if(!_0x333b38||!_0xc3e8d8[_0x1b8ed3(0x156)](_0x333b38)){const _0x24c08f=_0xc3e8d8[_0x1b8ed3(0x346)]()[0x0],_0x39e836=_0xc3e8d8[_0x1b8ed3(0x156)](_0x24c08f);if(!_0x39e836)return;this['_updateURLWithCurrentState'](_0x39e836,!0x0),await this[_0x1b8ed3(0x207)]['executeCommand'](_0x3f9a83['id'],{'unitId':_0xc3e8d8[_0x1b8ed3(0x15b)](),'subUnitId':_0x24c08f});return;}((_0x208464=_0xc3e8d8['getActiveSheet']())==null?void 0x0:_0x208464[_0x1b8ed3(0x287)]())!==_0x333b38&&await this[_0x1b8ed3(0x207)]['executeCommand'](_0x3f9a83['id'],{'unitId':_0xc3e8d8[_0x1b8ed3(0x15b)](),'subUnitId':_0x333b38});}};ie=qi([G(0x0,Ut),G(0x1,_0x5ce2e9),G(0x2,_0xc68a40),G(0x3,_0xc24e4b(_0x1653c9)),G(0x4,_0x232a08(_0x429d76))],ie);var en=Object[_0x4efb46(0x14b)],tn=(_0x50b30b,_0x13446c,_0x3271ce,_0x54349f)=>{for(var _0x5c7085=_0x54349f>0x1?void 0x0:_0x54349f?en(_0x13446c,_0x3271ce):_0x13446c,_0x177ffe=_0x50b30b['length']-0x1,_0x3a49cb;_0x177ffe>=0x0;_0x177ffe--)(_0x3a49cb=_0x50b30b[_0x177ffe])&&(_0x5c7085=_0x3a49cb(_0x5c7085)||_0x5c7085);return _0x5c7085;},pe=(_0x52b56d,_0x4ab9a2)=>(_0x32c44b,_0x3e4fd2)=>_0x4ab9a2(_0x32c44b,_0x3e4fd2,_0x52b56d);let ne=class{constructor(_0x401723,_0x5e7470,_0x278002){const _0x3820bb=_0x4efb46;this[_0x3820bb(0x23f)]=_0x401723,this['_transformService']=_0x5e7470,this['_renderManagerService']=_0x278002;}['transformIMECache'](_0x292e9e){const _0x159f0c=_0x4efb46;this[_0x159f0c(0x252)](_0x292e9e),this[_0x159f0c(0x1d2)](_0x292e9e);}[_0x4efb46(0x2b1)](_0x21502d){const _0x50068f=_0x4efb46,{unitID:_0x4b24b4}=_0x21502d,_0x315089=this[_0x50068f(0x2d2)][_0x50068f(0x25c)](_0x4b24b4)['with'](_0x3b1b9c),{redoCache:_0x5aa2d7}=_0x315089[_0x50068f(0x1f2)]();if(_0x5aa2d7['length']===0x0)return _0x21502d;let _0x4dc077=_0x24e58b[_0x50068f(0x341)](_0x21502d[_0x50068f(0x27b)][0x0]);for(let _0x553db8=0x0;_0x553db8<_0x5aa2d7['length'];_0x553db8++){const _0x4ad1af={'id':_0x50068f(0x2d5),'params':{..._0x5aa2d7[_0x553db8]}},_0x49f66d=this[_0x50068f(0x1ba)][_0x50068f(0x2d3)](_0x4dc077,_0x4ad1af,!0x1);if(_0x4dbfd1(_0x49f66d))throw _0x49f66d[_0x50068f(0x2d7)];_0x4dc077=_0x49f66d[_0x50068f(0x2c2)];}return{..._0x24e58b[_0x50068f(0x341)](_0x21502d),'mutations':[_0x4dc077]};}[_0x4efb46(0x252)](_0x31e028){const _0x175acf=_0x4efb46,{unitID:_0x5388ab}=_0x31e028,_0x5590e2=this['_renderManagerService'][_0x175acf(0x25c)](_0x5388ab)[_0x175acf(0x29d)](_0x3b1b9c),{undoCache:_0x48054d,redoCache:_0x4a0797}=_0x5590e2[_0x175acf(0x1f2)]();if(_0x48054d['length']===0x0||_0x4a0797[_0x175acf(0x23c)]===0x0)return;const _0xc006f1=[],_0x4876f8=[];let _0xf3c1c8=_0x24e58b['deepClone'](_0x31e028[_0x175acf(0x27b)][0x0]),_0x1ad077=_0x24e58b[_0x175acf(0x341)](_0x31e028[_0x175acf(0x27b)][0x0]);for(let _0x1450db=_0x48054d[_0x175acf(0x23c)]-0x1;_0x1450db>=0x0;_0x1450db--){const _0x4c629b={'id':_0x175acf(0x2d5),'params':{..._0x48054d[_0x1450db]}},_0x55ff4e={'id':_0x175acf(0x2d5),'params':{..._0x4a0797[_0x1450db]}},_0x186cac=this['_transformService'][_0x175acf(0x2d3)](_0xf3c1c8,_0x4c629b,!0x1),_0x469687=this[_0x175acf(0x1ba)][_0x175acf(0x2d3)](_0x1ad077,_0x55ff4e,!0x1);if(_0x4dbfd1(_0x186cac))throw _0x186cac[_0x175acf(0x2d7)];if(_0x4dbfd1(_0x469687))throw _0x469687[_0x175acf(0x2d7)];_0xc006f1[_0x175acf(0x21c)](_0x186cac[_0x175acf(0x2da)][_0x175acf(0x1b2)]),_0x4876f8[_0x175acf(0x21c)](_0x469687[_0x175acf(0x2da)][_0x175acf(0x1b2)]),_0xf3c1c8=_0x186cac['m1Prime'],_0x1ad077=_0x469687[_0x175acf(0x2c2)];}_0x5590e2[_0x175acf(0x314)]({'undoCache':_0xc006f1,'redoCache':_0x4876f8});}['_transformPreviousActiveRange'](_0x2b4da3){const _0x54aaae=_0x4efb46,{unitID:_0x2cc3bd}=_0x2b4da3,_0x17c2fc=this[_0x54aaae(0x2d2)][_0x54aaae(0x25c)](_0x2cc3bd)['with'](_0x3b1b9c),_0x45dc13=_0x17c2fc[_0x54aaae(0x2ba)]();if(_0x45dc13==null)return;const _0x29da2e=[{'id':_0x54aaae(0x2d5),'params':{'unitId':_0x2b4da3[_0x54aaae(0x19d)],'actions':null,'textRanges':[_0x45dc13]}}],_0x46483f=this[_0x54aaae(0x1ba)]['transformMutationsWithChangeset'](_0x2b4da3,_0x29da2e);if(!_0x1c81b1(_0x46483f))throw _0x46483f['error'];const _0x168bd4=_0x46483f['m2Prime'][0x0][_0x54aaae(0x1b2)][_0x54aaae(0x2ec)];Array['isArray'](_0x168bd4)&&_0x168bd4['length']&&_0x17c2fc[_0x54aaae(0x20d)](_0x168bd4[0x0]);}};ne=tn([pe(0x0,_0xc24e4b(_0x35c1bd)),pe(0x1,_0xc02503),pe(0x2,_0x2baf14)],ne);var sn=Object[_0x4efb46(0x14b)],nn=(_0x12f47b,_0x217273,_0x309bd8,_0x5b6ca4)=>{const _0x1c1c49=_0x4efb46;for(var _0x497542=_0x5b6ca4>0x1?void 0x0:_0x5b6ca4?sn(_0x217273,_0x309bd8):_0x217273,_0x5071b1=_0x12f47b[_0x1c1c49(0x23c)]-0x1,_0x51896e;_0x5071b1>=0x0;_0x5071b1--)(_0x51896e=_0x12f47b[_0x5071b1])&&(_0x497542=_0x51896e(_0x497542)||_0x497542);return _0x497542;},Ce=(_0x501ff7,_0x3b9614)=>(_0x2f76d5,_0x293508)=>_0x3b9614(_0x2f76d5,_0x293508,_0x501ff7);let re=class{constructor(_0x1410ec,_0x5103f1,_0x301c67){const _0x45f40a=_0x4efb46;this[_0x45f40a(0x23f)]=_0x1410ec,this[_0x45f40a(0x1ba)]=_0x5103f1,this['_docStateChangeManagerService']=_0x301c67;}['transformStateCache'](_0x2cc50f){const _0x5edfd1=_0x4efb46;this[_0x5edfd1(0x1b4)](_0x2cc50f);}[_0x4efb46(0x2b1)](_0x2d5ae9){const _0x1f6050=_0x4efb46,{unitID:_0x4d8f7e}=_0x2d5ae9,{collaboration:_0x49a6da}=this['_docStateChangeManagerService']['getStateCache'](_0x4d8f7e);if(_0x49a6da[_0x1f6050(0x23c)]===0x0)return _0x2d5ae9;let _0x410347=_0x24e58b[_0x1f6050(0x341)](_0x2d5ae9[_0x1f6050(0x27b)][0x0]);for(let _0x438fb5=0x0;_0x438fb5<_0x49a6da[_0x1f6050(0x23c)];_0x438fb5++){const _0x53f886={'id':_0x1f6050(0x2d5),'params':{'unitId':_0x49a6da[_0x438fb5][_0x1f6050(0x152)],..._0x49a6da[_0x438fb5][_0x1f6050(0x255)]}},_0x3fb38a=this['_transformService'][_0x1f6050(0x2d3)](_0x410347,_0x53f886,!0x1);if(_0x4dbfd1(_0x3fb38a))throw _0x3fb38a['error'];_0x410347=_0x3fb38a[_0x1f6050(0x2c2)];}return{..._0x24e58b[_0x1f6050(0x341)](_0x2d5ae9),'mutations':[_0x410347]};}[_0x4efb46(0x1b4)](_0x22c958){const _0x2bc282=_0x4efb46,{unitID:_0x458846}=_0x22c958,{history:_0x305442,collaboration:_0x34bae8}=this[_0x2bc282(0x19f)]['getStateCache'](_0x458846);if(_0x305442[_0x2bc282(0x23c)]===0x0&&_0x34bae8[_0x2bc282(0x23c)]===0x0)return;const _0x43d80a=[],_0x3fbe92=[];let _0x59bd78=_0x24e58b[_0x2bc282(0x341)](_0x22c958[_0x2bc282(0x27b)][0x0]),_0xeabdb0=_0x24e58b[_0x2bc282(0x341)](_0x22c958[_0x2bc282(0x27b)][0x0]);for(let _0x58cc79=_0x305442[_0x2bc282(0x23c)]-0x1;_0x58cc79>=0x0;_0x58cc79--){const _0x2f6d27={'id':_0x2bc282(0x2d5),'params':{'unitId':_0x305442[_0x58cc79][_0x2bc282(0x152)],..._0x305442[_0x58cc79][_0x2bc282(0x2dd)]}},_0x1593a0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x305442[_0x58cc79]['unitId'],..._0x305442[_0x58cc79][_0x2bc282(0x255)]}},_0x4fa644=this[_0x2bc282(0x1ba)][_0x2bc282(0x2d3)](_0x59bd78,_0x2f6d27,!0x1),_0x5a7458=this[_0x2bc282(0x1ba)][_0x2bc282(0x2d3)](_0xeabdb0,_0x1593a0,!0x1);if(_0x4dbfd1(_0x4fa644))throw _0x4fa644[_0x2bc282(0x2d7)];if(_0x4dbfd1(_0x5a7458))throw _0x5a7458['error'];_0x43d80a['unshift']({..._0x305442[_0x58cc79],'undoState':_0x4fa644['m2Prime'][_0x2bc282(0x1b2)],'redoState':_0x5a7458['m2Prime']['params']}),_0x59bd78=_0x4fa644['m1Prime'],_0xeabdb0=_0x5a7458['m1Prime'];}_0x59bd78=_0x24e58b['deepClone'](_0x22c958['mutations'][0x0]),_0xeabdb0=_0x24e58b['deepClone'](_0x22c958[_0x2bc282(0x27b)][0x0]);for(let _0x16351f=_0x34bae8[_0x2bc282(0x23c)]-0x1;_0x16351f>=0x0;_0x16351f--){const _0x1f6106={'id':_0x2bc282(0x2d5),'params':{'unitId':_0x34bae8[_0x16351f][_0x2bc282(0x152)],..._0x34bae8[_0x16351f][_0x2bc282(0x2dd)]}},_0x21a7ab={'id':_0x2bc282(0x2d5),'params':{'unitId':_0x34bae8[_0x16351f][_0x2bc282(0x152)],..._0x34bae8[_0x16351f][_0x2bc282(0x255)]}},_0xda5d5d=this['_transformService'][_0x2bc282(0x2d3)](_0x59bd78,_0x1f6106,!0x1),_0x2b2c8e=this[_0x2bc282(0x1ba)][_0x2bc282(0x2d3)](_0xeabdb0,_0x21a7ab,!0x1);if(_0x4dbfd1(_0xda5d5d))throw _0xda5d5d[_0x2bc282(0x2d7)];if(_0x4dbfd1(_0x2b2c8e))throw _0x2b2c8e[_0x2bc282(0x2d7)];_0x3fbe92[_0x2bc282(0x21c)]({..._0x34bae8[_0x16351f],'undoState':_0xda5d5d['m2Prime'][_0x2bc282(0x1b2)],'redoState':_0x2b2c8e['m2Prime'][_0x2bc282(0x1b2)]}),_0x59bd78=_0xda5d5d[_0x2bc282(0x2c2)],_0xeabdb0=_0x2b2c8e['m1Prime'];}this[_0x2bc282(0x19f)][_0x2bc282(0x1b5)](_0x458846,{'history':_0x43d80a,'collaboration':_0x3fbe92});}};re=nn([Ce(0x0,_0xc24e4b(_0x35c1bd)),Ce(0x1,_0xc02503),Ce(0x2,_0xc24e4b(_0x5ca87d))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x262934,_0x460c45,_0xb5d3a5,_0x24189f)=>{const _0x3962f6=_0x4efb46;for(var _0x16a3e0=_0x24189f>0x1?void 0x0:_0x24189f?rn(_0x460c45,_0xb5d3a5):_0x460c45,_0x3d4497=_0x262934[_0x3962f6(0x23c)]-0x1,_0xc046bf;_0x3d4497>=0x0;_0x3d4497--)(_0xc046bf=_0x262934[_0x3d4497])&&(_0x16a3e0=_0xc046bf(_0x16a3e0)||_0x16a3e0);return _0x16a3e0;},tt=(_0x54cfc8,_0x90b96d)=>(_0x4a31fe,_0x22a8db)=>_0x90b96d(_0x4a31fe,_0x22a8db,_0x54cfc8);let oe=class{constructor(_0x1636ac,_0x462320){const _0x235c6c=_0x4efb46;this[_0x235c6c(0x23f)]=_0x1636ac,this[_0x235c6c(0x1ba)]=_0x462320;}['transformSelections'](_0xb05f62){const _0x472aba=_0x4efb46;var _0x57bc7a;const _0x54f2f1=this['_injector']['get'](_0x5afbad),_0x3cc2ce=(_0x57bc7a=_0x54f2f1[_0x472aba(0x1ae)]())!=null?_0x57bc7a:[];if(_0x3cc2ce[_0x472aba(0x23c)]===0x0)return;const _0x1fe64e=_0xb05f62[_0x472aba(0x19d)],_0x5d3f17=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fe64e,'actions':null,'textRanges':_0x3cc2ce}}],_0x2cce0c=this['_transformService'][_0x472aba(0x222)](_0xb05f62,_0x5d3f17);if(!_0x1c81b1(_0x2cce0c))throw _0x2cce0c[_0x472aba(0x2d7)];const _0x34c069=_0x2cce0c[_0x472aba(0x2da)][0x0][_0x472aba(0x1b2)]['textRanges'];Array[_0x472aba(0x343)](_0x34c069)&&_0x34c069[_0x472aba(0x23c)]&&_0x54f2f1['replaceDocRanges'](_0x34c069,{'unitId':_0x1fe64e,'subUnitId':_0x1fe64e},!0x1);}};oe=on([tt(0x0,_0xc24e4b(_0x35c1bd)),tt(0x1,_0xc02503)],oe);var an=Object[_0x4efb46(0x14b)],cn=(_0x542359,_0x7e7c82,_0x173f6f,_0x114229)=>{const _0x365fd0=_0x4efb46;for(var _0x12dc54=_0x114229>0x1?void 0x0:_0x114229?an(_0x7e7c82,_0x173f6f):_0x7e7c82,_0x9c14d1=_0x542359[_0x365fd0(0x23c)]-0x1,_0x35358f;_0x9c14d1>=0x0;_0x9c14d1--)(_0x35358f=_0x542359[_0x9c14d1])&&(_0x12dc54=_0x35358f(_0x12dc54)||_0x12dc54);return _0x12dc54;},U=(_0x392fac,_0x256bf8)=>(_0x5ec638,_0x224074)=>_0x256bf8(_0x5ec638,_0x224074,_0x392fac);let ae=class extends _0x56014e{constructor(_0x352273,_0x5ebb89,_0x5a5021,_0x5beb62,_0x5b3297,_0x33a7f3,_0x56ae7c,_0x4e7fe6){const _0x3ede7a=_0x4efb46;super(),_(this,'_status$',new _0xc73289(_0x2fb3dc[_0x3ede7a(0x14d)])),(this['_docStateChangeManagerService']=_0x352273,this['_collaborationController']=_0x5ebb89,this[_0x3ede7a(0x1bd)]=_0x5a5021,this[_0x3ede7a(0x1ed)]=_0x5beb62,this[_0x3ede7a(0x190)]=_0x5b3297,this[_0x3ede7a(0x2fb)]=_0x33a7f3,this[_0x3ede7a(0x2e2)]=_0x56ae7c,this[_0x3ede7a(0x192)]=_0x4e7fe6,this[_0x3ede7a(0x276)]());}[_0x4efb46(0x276)](){const _0x5e4a61=_0x4efb46;this[_0x5e4a61(0x1ee)](this[_0x5e4a61(0x196)][_0x5e4a61(0x218)][_0x5e4a61(0x157)](_0x327452=>{const _0x5b5b11=_0x5e4a61,_0x20ac60=this[_0x5b5b11(0x19f)]['docStateChange$'][_0x5b5b11(0x157)](_0x2448a4=>{const _0x574c75=_0x5b5b11;if(_0x2448a4==null)return;const {unitId:_0x78c0a6,redoState:_0x7ffefd,commandId:_0x48b0bf}=_0x2448a4;if(_0x78c0a6!==_0x327452['unitID'])return;const _0x575288={'id':_0x48b0bf,'type':_0x632caa[_0x574c75(0x316)],'params':{'unitId':_0x78c0a6,'actions':_0x7ffefd['actions'],'textRanges':null}};_0x327452[_0x574c75(0x305)](_0x575288);});if(_0x327452[_0x5b5b11(0x1ee)](_0x20ac60),_0x327452 instanceof _0x5007f0){const _0x30aedc={'onTransformIME':_0x1196dc=>this['_docTransformIMECacheService'][_0x5b5b11(0x2cb)](_0x1196dc),'onTransformState':_0x111444=>this['_docTransformStateCacheService'][_0x5b5b11(0x2e6)](_0x111444),'onTransformSelections':_0x1fa7d8=>this[_0x5b5b11(0x190)]['transformSelections'](_0x1fa7d8),'onSyncEditingCollabCursor':_0x5978c8=>this[_0x5b5b11(0x2fb)]['syncEditingCollabCursor'](_0x5978c8),'onTransformRemoteChangesetByIMECache':_0x3a35ad=>this[_0x5b5b11(0x1bd)][_0x5b5b11(0x2b1)](_0x3a35ad),'onTransformRemoteChangesetByStateCache':_0x1eb549=>this[_0x5b5b11(0x1ed)][_0x5b5b11(0x2b1)](_0x1eb549)};_0x327452[_0x5b5b11(0x333)](_0x30aedc);}}));}};ae=cn([U(0x0,_0xc24e4b(_0x5ca87d)),U(0x1,_0xc24e4b(_0x209cdd)),U(0x2,_0xc24e4b(ne)),U(0x3,_0xc24e4b(re)),U(0x4,_0xc24e4b(oe)),U(0x5,_0xc24e4b(He)),U(0x6,_0x251236),U(0x7,_0xc24e4b(_0xe5abc6))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x589349,_0x35937a,_0x3cbfc1,_0x5f2380)=>{for(var _0x3d6229=_0x5f2380>0x1?void 0x0:_0x5f2380?ln(_0x35937a,_0x3cbfc1):_0x35937a,_0x51ece9=_0x589349['length']-0x1,_0x15022f;_0x51ece9>=0x0;_0x51ece9--)(_0x15022f=_0x589349[_0x51ece9])&&(_0x3d6229=_0x15022f(_0x3d6229)||_0x3d6229);return _0x3d6229;},Ee=(_0xb31481,_0x259aa7)=>(_0x2f8faf,_0x4e5b5a)=>_0x259aa7(_0x2f8faf,_0x4e5b5a,_0xb31481);let Le=class extends _0x56014e{constructor(_0x1ab12c,_0x187a0e,_0xfa85ea){const _0x45a732=_0x4efb46;super(),_(this,_0x45a732(0x34e),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x45a732(0x2bb),!0x1),(this[_0x45a732(0x1ac)]=_0x1ab12c,this[_0x45a732(0x1f6)]=_0x187a0e,this['_revisionService']=_0xfa85ea);}[_0x4efb46(0x279)](){const _0x582ae7=_0x4efb46;this[_0x582ae7(0x2bb)]=!0x0;}[_0x4efb46(0x226)](){const _0x294d33=_0x4efb46;this[_0x294d33(0x2bb)]=!0x1;}get[_0x4efb46(0x246)](){const _0x23a7e3=_0x4efb46;return this[_0x23a7e3(0x2f6)];}[_0x4efb46(0x1b7)](){const _0xc02059=_0x4efb46;this[_0xc02059(0x32f)]()[_0xc02059(0x2a8)](()=>super[_0xc02059(0x1b7)]());}async[_0x4efb46(0x198)](_0x3c2b4d){const _0x321615=_0x4efb46;return this[_0x321615(0x2bb)]?null:this[_0x321615(0x1f6)][_0x321615(0x214)](_0x5aebcf(_0x3c2b4d));}async['saveOfflineData'](_0x43632f,_0x2c0781){const _0xa607aa=_0x4efb46;return!!this[_0xa607aa(0x1f6)]['setItem'](_0x43632f,_0x2c0781);}['updateOfflineData'](_0x49c385,_0x526cf7,_0x4d5177,_0x264bc6){const _0x247349=_0x4efb46,_0x9ba27c=this[_0x247349(0x19a)][_0x247349(0x2f8)](_0x49c385);this['_cachedData'][_0x247349(0x311)](_0x49c385,{'unitID':_0x49c385,'type':_0x526cf7,'awaitingChangeset':_0x4d5177,'mutations':_0x264bc6,'rev':_0x9ba27c}),this['_saveTaskMap']['has'](_0x49c385)||this['_scheduleSaving'](_0x49c385);}[_0x4efb46(0x2e1)](_0x3f894a){const _0x499951=_0x4efb46,_0x2677a8=this[_0x499951(0x1e0)]();_0x2677a8===0x0?this['_saveCache'](_0x3f894a):this['_saveTaskMap'][_0x499951(0x311)](_0x3f894a,setTimeout(()=>this[_0x499951(0x30c)](_0x3f894a),_0x2677a8));}['_getSaveTimeout'](){const _0x2387d0=_0x4efb46;var _0x152eec;return(_0x152eec=this[_0x2387d0(0x1ac)][_0x2387d0(0x22e)](_0x3a3ad1))!=null?_0x152eec:_0x5dc579;}[_0x4efb46(0x30c)](_0x329933){const _0x3761c4=_0x4efb46,_0x5e2ae5=this[_0x3761c4(0x2f6)][_0x3761c4(0x352)](_0x329933);return _0x5e2ae5!==void 0x0&&window[_0x3761c4(0x277)](_0x5e2ae5),this[_0x3761c4(0x1f6)]['setItem'](_0x5aebcf(_0x329933),this[_0x3761c4(0x34e)]['get'](_0x329933))['then'](()=>this[_0x3761c4(0x2f6)][_0x3761c4(0x30a)](_0x329933));}async[_0x4efb46(0x32f)](){const _0x12c751=_0x4efb46,_0x7c4dc=[];this['_saveTaskMap'][_0x12c751(0x19e)]((_0x49b3e2,_0x410a8a)=>{const _0x2d9ac3=_0x12c751;window[_0x2d9ac3(0x277)](_0x49b3e2),_0x7c4dc[_0x2d9ac3(0x1d1)](this[_0x2d9ac3(0x30c)](_0x410a8a)[_0x2d9ac3(0x2a8)](()=>{const _0x252025=_0x2d9ac3;this[_0x252025(0x2f6)][_0x252025(0x30a)](_0x410a8a);}));}),await Promise['all'](_0x7c4dc);}};Le=_n([Ee(0x0,_0x332256),Ee(0x1,_0xeced3c),Ee(0x2,_0xc24e4b(_0x141ad4))],Le);class hn extends _0x264876{constructor(){const _0x324f7d=_0x4efb46;super(),_(this,_0x324f7d(0x32d)),this[_0x324f7d(0x32d)]=_0x2e4f04(window,_0x324f7d(0x262))[_0x324f7d(0x22f)](_0x760463(this[_0x324f7d(0x34d)]),_0x4e92ea(0x1),_0x10fcff(void 0x0));}[_0x4efb46(0x217)](_0x289c98,_0x2e546e,_0x2bcaf0=!0x1){const _0x637d70=_0x4efb46,_0x4db87a=new URL(window[_0x637d70(0x195)][_0x637d70(0x26e)]);_0x4db87a[_0x637d70(0x2e0)][_0x637d70(0x311)](_0x289c98,_0x2e546e),_0x2bcaf0?window['history']['replaceState']('','',_0x4db87a['toString']()):window[_0x637d70(0x22d)][_0x637d70(0x31e)]('','',_0x4db87a[_0x637d70(0x2d0)]());}[_0x4efb46(0x24e)](_0x426750,_0xc8918a=!0x1){const _0x4e2b7b=_0x4efb46,_0x43480b=new URL(window[_0x4e2b7b(0x195)][_0x4e2b7b(0x26e)]);_0x43480b['searchParams'][_0x4e2b7b(0x30a)](_0x426750),_0xc8918a?window[_0x4e2b7b(0x22d)][_0x4e2b7b(0x2a3)]('','',_0x43480b[_0x4e2b7b(0x2d0)]()):window['history']['pushState']('','',_0x43480b[_0x4e2b7b(0x2d0)]());}['getParam'](_0x2e8627){const _0x31ea96=_0x4efb46;var _0x163c5;return(_0x163c5=new URL(window[_0x31ea96(0x195)][_0x31ea96(0x26e)])[_0x31ea96(0x2e0)][_0x31ea96(0x352)](_0x2e8627))!=null?_0x163c5:void 0x0;}}var un=Object[_0x4efb46(0x283)],dn=Object[_0x4efb46(0x14b)],fn=(_0x55018e,_0x336ab4,_0x236bcd)=>_0x336ab4 in _0x55018e?un(_0x55018e,_0x336ab4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x236bcd}):_0x55018e[_0x336ab4]=_0x236bcd,Sn=(_0x3aeae7,_0x3dbd8d,_0x30c97e,_0x34822b)=>{const _0x16bba7=_0x4efb46;for(var _0x5223c9=_0x34822b>0x1?void 0x0:_0x34822b?dn(_0x3dbd8d,_0x30c97e):_0x3dbd8d,_0x5a66d6=_0x3aeae7[_0x16bba7(0x23c)]-0x1,_0x22d1fa;_0x5a66d6>=0x0;_0x5a66d6--)(_0x22d1fa=_0x3aeae7[_0x5a66d6])&&(_0x5223c9=_0x22d1fa(_0x5223c9)||_0x5223c9);return _0x5223c9;},Oe=(_0x2c568b,_0x404576)=>(_0x4e803d,_0x4361f1)=>_0x404576(_0x4e803d,_0x4361f1,_0x2c568b),mn=(_0x1a561f,_0x52ab6a,_0x5873a4)=>fn(_0x1a561f,_0x52ab6a+'',_0x5873a4);const In=_0x4efb46(0x237);let Ae=class extends _0x21d542{constructor(_0x2df748=et,_0x1a2f18,_0x3bd75c,_0x2d7cb5){const _0x4480b9=_0x4efb46;super(),this['_config']=_0x2df748,this[_0x4480b9(0x2d2)]=_0x1a2f18,this[_0x4480b9(0x23f)]=_0x3bd75c,this[_0x4480b9(0x1ac)]=_0x2d7cb5;const {..._0x56fff0}=_0x294622({},et,this[_0x4480b9(0x358)]);this[_0x4480b9(0x1ac)][_0x4480b9(0x267)](Zi,_0x56fff0);}[_0x4efb46(0x328)](){const _0x2010b5=_0x4efb46;this['_registerDependencies'](),this[_0x2010b5(0x28c)]();}[_0x4efb46(0x317)](){const _0x1dd258=_0x4efb46;this[_0x1dd258(0x310)]();}[_0x4efb46(0x34f)](){const _0x47de59=_0x4efb46;var _0x46954f;const _0x532916=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5ace9a,{'useClass':_0x1e46f2}],[_0x32856e,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x589ccb(this[_0x47de59(0x23f)],_0x544fe0(_0x532916,(_0x46954f=this[_0x47de59(0x358)])==null?void 0x0:_0x46954f[_0x47de59(0x1d3)]));}[_0x4efb46(0x310)](){const _0x3c4128=_0x4efb46;this['disposeWithMe'](this[_0x3c4128(0x2d2)]['registerRenderModule'](_0x3f742a[_0x3c4128(0x189)],[we])),this[_0x3c4128(0x1ee)](this[_0x3c4128(0x2d2)][_0x3c4128(0x2bd)](_0x3f742a[_0x3c4128(0x304)],[Pe]));}[_0x4efb46(0x28c)](){const _0x58e26b=_0x4efb46;_0x4dfeac(this[_0x58e26b(0x23f)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4efb46(0x1dc),In),Ae=Sn([_0x5d2859(_0x5bf239),Oe(0x1,_0x2baf14),Oe(0x2,_0xc24e4b(_0x35c1bd)),Oe(0x3,_0x332256)],Ae);var gn=Object[_0x4efb46(0x14b)],vn=(_0x2518cb,_0xc4cbca,_0x1dac30,_0x3dab81)=>{for(var _0xf4824b=_0x3dab81>0x1?void 0x0:_0x3dab81?gn(_0xc4cbca,_0x1dac30):_0xc4cbca,_0x212785=_0x2518cb['length']-0x1,_0x18f1ce;_0x212785>=0x0;_0x212785--)(_0x18f1ce=_0x2518cb[_0x212785])&&(_0xf4824b=_0x18f1ce(_0xf4824b)||_0xf4824b);return _0xf4824b;},K=(_0x10c40d,_0x3068b9)=>(_0x2eb3c1,_0x4a0023)=>_0x3068b9(_0x2eb3c1,_0x4a0023,_0x10c40d);let st=class extends _0x329e6f{constructor(_0x28708e,_0x244b22,_0x110885,_0x400ac2,_0x37011b){super(_0x28708e,_0x244b22,_0x110885,_0x400ac2,_0x37011b);}async[_0x4efb46(0x2ae)](_0x4ed6b8){const _0x17a170=_0x4efb46,_0x936dc5=await this[_0x17a170(0x188)](),_0x1d62e3=this[_0x17a170(0x1b0)](_0x4ed6b8,_0x936dc5);return this[_0x17a170(0x224)](_0x1d62e3);}['_createSocketURL'](_0x36994f,_0x4a7a9b){const _0x39f0d9=_0x4efb46,_0x15088f=typeof window>'u'?new URL(_0x36994f):new URL(_0x36994f,window[_0x39f0d9(0x195)][_0x39f0d9(0x177)]);_0x15088f['searchParams'][_0x39f0d9(0x311)](_0x39f0d9(0x27c),_0x4a7a9b);const _0x355142=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x39f0d9(0x1c4)]);return _0x355142['get'](_0x39f0d9(0x1d6))&&_0x15088f[_0x39f0d9(0x2e0)][_0x39f0d9(0x311)](_0x39f0d9(0x1d6),_0x355142[_0x39f0d9(0x352)](_0x39f0d9(0x1d6))),_0x15088f[_0x39f0d9(0x2d0)]();}async[_0x4efb46(0x188)](){const _0x23c4c8=_0x4efb46;var _0x205505,_0x530e41,_0x1658eb;const _0x833df0=this[_0x23c4c8(0x1ac)][_0x23c4c8(0x22e)](_0x1297d2),_0x54bd52=(_0x205505=_0x833df0==null?void 0x0:_0x833df0['wsSessionTicketUrl'])!=null?_0x205505:_0x366de9;return(_0x1658eb=(_0x530e41=(await this['_httpService'][_0x23c4c8(0x352)](_0x54bd52,{'headers':{'Content-Type':_0x23c4c8(0x18d)}}))[_0x23c4c8(0x25a)])==null?void 0x0:_0x530e41[_0x23c4c8(0x1e8)])!=null?_0x1658eb:'';}};st=vn([K(0x0,_0xc24e4b(_0x35c1bd)),K(0x1,_0xc24e4b(_0x434602)),K(0x2,_0x332256),K(0x3,_0x5ce2e9),K(0x4,_0x5f08f1)],st);const it=0x7530,nt=_0x4efb46(0x27a);class jn extends _0x56014e{constructor(){const _0x3dc8cc=_0x4efb46;super(),_(this,_0x3dc8cc(0x2ee),_0x4980f9()),_(this,_0x3dc8cc(0x241),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x3dc8cc(0x1da),null),_(this,_0x3dc8cc(0x31c),new Map()),_(this,_0x3dc8cc(0x18e),new Map()),this[_0x3dc8cc(0x2a5)]();}[_0x4efb46(0x1b7)](){const _0x3017ee=_0x4efb46;super[_0x3017ee(0x1b7)](),this[_0x3017ee(0x31c)][_0x3017ee(0x19e)]((_0x32f7e8,_0x5847ff)=>this[_0x3017ee(0x271)](_0x5847ff)),this[_0x3017ee(0x1da)]&&window[_0x3017ee(0x1ea)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x4b6bcf){return this['_ensureSubject'](_0x4b6bcf)['pipe'](_0x9e2d26());}[_0x4efb46(0x26a)](_0x1b91cb){const _0x3c3b7b=_0x4efb46;this[_0x3c3b7b(0x241)][_0x3c3b7b(0x270)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x3c3b7b(0x2df)](_0x1b91cb),this[_0x3c3b7b(0x15e)]({'type':0x0,'memberID':this[_0x3c3b7b(0x2ee)],'unitIDs':[_0x1b91cb],'isForwarded':!0x1});}[_0x4efb46(0x1e4)](_0x4b5d0b){const _0x3ec4f1=_0x4efb46;this[_0x3ec4f1(0x241)][_0x3ec4f1(0x30a)](_0x4b5d0b),this['_selfUnitIDs'][_0x3ec4f1(0x270)]===0x0&&this[_0x3ec4f1(0x1da)]&&window['clearInterval'](this[_0x3ec4f1(0x1da)]);}['_init'](){const _0x38e4e2=_0x4efb46;this['disposeWithMe'](_0x19548f(_0x2e4f04(window,_0x38e4e2(0x2b4))[_0x38e4e2(0x157)](_0x3d1c2e=>{const _0x42887f=_0x38e4e2;if(_0x3d1c2e['key']!==nt||!_0x3d1c2e[_0x42887f(0x34b)])return;const _0x362370=JSON['parse'](_0x3d1c2e[_0x42887f(0x34b)]);this[_0x42887f(0x17f)](_0x362370);}))),window[_0x38e4e2(0x32c)](_0x38e4e2(0x164),()=>this[_0x38e4e2(0x15e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x5960a4){const _0xa3b184=_0x4efb46;switch(_0x5960a4[_0xa3b184(0x2e4)]){case 0x0:this['_handleJoinEvent'](_0x5960a4);break;case 0x1:this[_0xa3b184(0x26c)](_0x5960a4);break;case 0x2:this['_handleHeartbeatEvent'](_0x5960a4);break;}}[_0x4efb46(0x332)](_0x4e2554){const _0x445c93=_0x4efb46,{unitIDs:_0x3c29e3,memberID:_0x307186,isForwarded:_0x5d8875}=_0x4e2554;_0x3c29e3[_0x445c93(0x19e)](_0x4b0b14=>{const _0x312b97=_0x445c93;if(!_0x5d8875&&this['_unitOnClients'][_0x312b97(0x20a)](_0x4b0b14)&&this[_0x312b97(0x24d)](_0x4b0b14)[_0x312b97(0x326)](_0xbaefe9[_0x312b97(0x32e)]),!this[_0x312b97(0x33f)][_0x312b97(0x20a)](_0x4b0b14)||!this['_unitOnClients'][_0x312b97(0x352)](_0x4b0b14)[_0x312b97(0x20a)](_0x307186)){const _0xecf954=this[_0x312b97(0x33f)]['get'](_0x4b0b14)||new Set();_0xecf954[_0x312b97(0x2df)](_0x307186),this[_0x312b97(0x33f)][_0x312b97(0x311)](_0x4b0b14,_0xecf954),this[_0x312b97(0x2a2)](_0x307186);}}),_0x5d8875||this[_0x445c93(0x15e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x445c93(0x241)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4bd1f7){const _0x2fcb05=_0x4efb46;this['_removeClearOtherTimer'](_0x4bd1f7);const _0x2f9f4e=window[_0x2fcb05(0x1d9)](()=>{const _0x13f047=_0x2fcb05;this[_0x13f047(0x33f)][_0x13f047(0x19e)](_0x343a26=>{const _0x596dc3=_0x13f047;_0x343a26[_0x596dc3(0x30a)](_0x4bd1f7);});},it*0x2);this[_0x2fcb05(0x31c)][_0x2fcb05(0x311)](_0x4bd1f7,_0x2f9f4e);}['_removeClearOtherTimer'](_0x318fb1){const _0x131e62=_0x4efb46;if(this[_0x131e62(0x31c)]['has'](_0x318fb1)){const _0x35296=this[_0x131e62(0x31c)]['get'](_0x318fb1);_0x35296&&window[_0x131e62(0x277)](_0x35296),this['_clearOtherTimers']['set'](_0x318fb1,null);}}[_0x4efb46(0x26c)](_0x2f08cb){const _0x48b64a=_0x4efb46,{memberID:_0x5e4f9b,unitIDs:_0x20e09b}=_0x2f08cb;_0x20e09b[_0x48b64a(0x19e)](_0x563abb=>{const _0x7c4a0a=_0x48b64a;var _0x5d617c;const _0x60a503=this[_0x7c4a0a(0x33f)][_0x7c4a0a(0x352)](_0x563abb);_0x60a503&&(_0x60a503[_0x7c4a0a(0x30a)](_0x5e4f9b),(_0x5d617c=this[_0x7c4a0a(0x24d)](_0x563abb))==null||_0x5d617c[_0x7c4a0a(0x326)](_0x60a503[_0x7c4a0a(0x270)]===0x0?_0xbaefe9[_0x7c4a0a(0x29e)]:_0xbaefe9[_0x7c4a0a(0x32e)]));}),this['_removeClearOtherTimer'](_0x5e4f9b);}['_handleHeartbeatEvent'](_0x5da83f){const _0x2e95ec=_0x4efb46;this[_0x2e95ec(0x2a2)](_0x5da83f[_0x2e95ec(0x2f2)]);}['_send'](_0x1459a2){const _0x741ad3=_0x4efb46;localStorage[_0x741ad3(0x193)](nt,JSON[_0x741ad3(0x229)](_0x1459a2));}['_scheduleHeartbeat'](){const _0xfad807=_0x4efb46;this['_heartbeatTimer']=window[_0xfad807(0x29f)](()=>{const _0x3e13f0=_0xfad807;this['_send']({'type':0x2,'memberID':this[_0x3e13f0(0x2ee)]});},it);}[_0x4efb46(0x24d)](_0x452a0f){const _0x408e74=_0x4efb46;return this[_0x408e74(0x18e)][_0x408e74(0x20a)](_0x452a0f)||this[_0x408e74(0x18e)]['set'](_0x452a0f,new _0xc73289(_0xbaefe9[_0x408e74(0x29e)])),this['_unitStatus'][_0x408e74(0x352)](_0x452a0f);}}var Mt=(_0x5525bf=>(_0x5525bf[_0x5525bf['UNDEFINED']=0x0]='UNDEFINED',_0x5525bf[_0x5525bf['OK']=0x1]='OK',_0x5525bf[_0x5525bf[_0x4efb46(0x212)]=0x2]=_0x4efb46(0x212),_0x5525bf[_0x5525bf['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5525bf[_0x5525bf[_0x4efb46(0x1f5)]=0x4]=_0x4efb46(0x1f5),_0x5525bf[_0x5525bf[_0x4efb46(0x30b)]=0x5]='UNAUTHENTICATED',_0x5525bf[_0x5525bf[_0x4efb46(0x172)]=0x6]=_0x4efb46(0x172),_0x5525bf[_0x5525bf[_0x4efb46(0x223)]=0x7]=_0x4efb46(0x223),_0x5525bf[_0x5525bf[_0x4efb46(0x24a)]=0x8]=_0x4efb46(0x24a),_0x5525bf[_0x5525bf[_0x4efb46(0x1f9)]=0x9]=_0x4efb46(0x1f9),_0x5525bf[_0x5525bf['LOGIN_FAILED']=0xa]=_0x4efb46(0x2ca),_0x5525bf[_0x5525bf['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4efb46(0x151),_0x5525bf[_0x5525bf['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5525bf[_0x5525bf[_0x4efb46(0x285)]=0x1772]=_0x4efb46(0x285),_0x5525bf[_0x5525bf[_0x4efb46(0x231)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5525bf[_0x5525bf[_0x4efb46(0x1e7)]=0x1b59]='APPLY_REJECT',_0x5525bf[_0x5525bf[_0x4efb46(0x200)]=0x1b5a]=_0x4efb46(0x200),_0x5525bf[_0x5525bf[_0x4efb46(0x21d)]=0x1b5b]=_0x4efb46(0x21d),_0x5525bf[_0x5525bf[_0x4efb46(0x209)]=0x1b5c]=_0x4efb46(0x209),_0x5525bf[_0x5525bf[_0x4efb46(0x1a7)]=0x1b5d]=_0x4efb46(0x1a7),_0x5525bf[_0x5525bf[_0x4efb46(0x18b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5525bf[_0x5525bf[_0x4efb46(0x338)]=0x2329]=_0x4efb46(0x338),_0x5525bf[_0x5525bf['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4efb46(0x357),_0x5525bf[_0x5525bf[_0x4efb46(0x2bf)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5525bf[_0x5525bf[_0x4efb46(0x31a)]=0x232c]=_0x4efb46(0x31a),_0x5525bf[_0x5525bf['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4efb46(0x275),_0x5525bf[_0x5525bf[_0x4efb46(0x199)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5525bf[_0x5525bf[_0x4efb46(0x348)]=0x2712]=_0x4efb46(0x348),_0x5525bf[_0x5525bf[_0x4efb46(0x197)]=0x2713]=_0x4efb46(0x197),_0x5525bf[_0x5525bf[_0x4efb46(0x16d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5525bf[_0x5525bf[_0x4efb46(0x18f)]=0x271a]=_0x4efb46(0x18f),_0x5525bf[_0x5525bf[_0x4efb46(0x2be)]=0x271b]=_0x4efb46(0x2be),_0x5525bf[_0x5525bf[_0x4efb46(0x160)]=0x271c]=_0x4efb46(0x160),_0x5525bf[_0x5525bf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5525bf[_0x5525bf[_0x4efb46(0x147)]=0x271e]=_0x4efb46(0x147),_0x5525bf[_0x5525bf[_0x4efb46(0x22a)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5525bf[_0x5525bf[_0x4efb46(0x2a7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5525bf[_0x5525bf[_0x4efb46(0x250)]=0x2ee1]=_0x4efb46(0x250),_0x5525bf[_0x5525bf[_0x4efb46(0x286)]=0x2ee2]=_0x4efb46(0x286),_0x5525bf[_0x5525bf[_0x4efb46(0x2fc)]=0x2ee3]=_0x4efb46(0x2fc),_0x5525bf[_0x5525bf['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x5525bf[_0x5525bf[_0x4efb46(0x2a1)]=0x2ee5]=_0x4efb46(0x2a1),_0x5525bf[_0x5525bf[_0x4efb46(0x313)]=0x32c9]=_0x4efb46(0x313),_0x5525bf[_0x5525bf['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4efb46(0x32a),_0x5525bf[_0x5525bf['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4efb46(0x1fb),_0x5525bf[_0x5525bf['UNRECOGNIZED']=-0x1]=_0x4efb46(0x1ad),_0x5525bf))(Mt||{}),pn=Object[_0x4efb46(0x14b)],Cn=(_0x49fe07,_0x5f362e,_0x1e4ebe,_0x386336)=>{const _0x33d954=_0x4efb46;for(var _0x7ccbfe=_0x386336>0x1?void 0x0:_0x386336?pn(_0x5f362e,_0x1e4ebe):_0x5f362e,_0x577304=_0x49fe07[_0x33d954(0x23c)]-0x1,_0x38b15d;_0x577304>=0x0;_0x577304--)(_0x38b15d=_0x49fe07[_0x577304])&&(_0x7ccbfe=_0x38b15d(_0x7ccbfe)||_0x7ccbfe);return _0x7ccbfe;},be=(_0x22a4c5,_0x1829c8)=>(_0xd321a3,_0x2dae11)=>_0x1829c8(_0xd321a3,_0x2dae11,_0x22a4c5);let rt=class extends _0x56014e{constructor(_0x4a9e82,_0x7d7148,_0x52c046){const _0x318d49=_0x4efb46;super(),this['_instanceService']=_0x4a9e82,this[_0x318d49(0x261)]=_0x7d7148,this[_0x318d49(0x1ac)]=_0x52c046;}async['runOnServer'](_0x25223c,_0x3eae9d,_0x27f3a9,..._0x5bbc98){const _0x146ad3=_0x4efb46;var _0x3996b0,_0x1a5cde,_0x3dad5b,_0x5b9170;const _0x33a9e2=this[_0x146ad3(0x17c)][_0x146ad3(0x263)]();if(!_0x33a9e2)throw new Error(_0x146ad3(0x251));const _0x36202c=((_0x3996b0=this['_configService'][_0x146ad3(0x22e)](_0x515373))!=null?_0x3996b0:_0x29348a)+'/'+_0x25223c+'/run/'+_0x3eae9d,_0x4caf97=new URL(window[_0x146ad3(0x195)][_0x146ad3(0x26e)]),_0x854c3b={'scriptId':_0x25223c,'runId':(_0x1a5cde=_0x4caf97[_0x146ad3(0x2e0)][_0x146ad3(0x352)]('runId'))!=null?_0x1a5cde:'','function':_0x3eae9d,'unitId':_0x33a9e2['getUnitId'](),'argsOfFunction':JSON[_0x146ad3(0x229)](_0x5bbc98),'invokeId':(_0x3dad5b=_0x27f3a9['invokeId'])!=null?_0x3dad5b:'','executionId':(_0x5b9170=_0x27f3a9[_0x146ad3(0x1a1)])!=null?_0x5b9170:''};try{const _0x221322=await this[_0x146ad3(0x261)][_0x146ad3(0x272)](_0x36202c,{'body':_0x854c3b});return _0x221322[_0x146ad3(0x25a)]['error']&&_0x221322['body'][_0x146ad3(0x2d7)][_0x146ad3(0x1e3)]!==Mt['OK']?_0x146ad3(0x2c3):_0x221322['body'][_0x146ad3(0x32b)];}catch{return _0x146ad3(0x2c3);}}};rt=Cn([be(0x0,_0xb3fb3f),be(0x1,_0xc24e4b(_0x434602)),be(0x2,_0x332256)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x5ccdac=_0x709d;(function(_0x3ce960,_0x217e85){const _0x401b0a=_0x709d,_0x3e65fe=_0x3ce960();while(!![]){try{const _0x211596=-parseInt(_0x401b0a(0x1f7))/0x1+parseInt(_0x401b0a(0x281))/0x2*(parseInt(_0x401b0a(0x26a))/0x3)+parseInt(_0x401b0a(0x22e))/0x4+-parseInt(_0x401b0a(0x1b5))/0x5+parseInt(_0x401b0a(0x12c))/0x6*(parseInt(_0x401b0a(0x25e))/0x7)+parseInt(_0x401b0a(0x1ad))/0x8+parseInt(_0x401b0a(0x225))/0x9*(parseInt(_0x401b0a(0x2c6))/0xa);if(_0x211596===_0x217e85)break;else _0x3e65fe['push'](_0x3e65fe['shift']());}catch(_0x1092d1){_0x3e65fe['push'](_0x3e65fe['shift']());}}}(_0x4b4c,0xab4f1));var $t=Object[_0x5ccdac(0x272)],xt=(_0x49996f,_0x55d8fb,_0xa1922e)=>_0x55d8fb in _0x49996f?$t(_0x49996f,_0x55d8fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa1922e}):_0x49996f[_0x55d8fb]=_0xa1922e,_=(_0x4cc52b,_0x4361bc,_0x5b60ed)=>xt(_0x4cc52b,typeof _0x4361bc!=_0x5ccdac(0xf5)?_0x4361bc+'':_0x4361bc,_0x5b60ed);import{MemberService as _0x34140a,SessionStatus as _0x6f7e03,CollaborationSessionService as _0x32b0dc,CollaborationStatus as _0x24642c,CollaborationController as _0x2454ce,ILocalCacheService as _0x820aa4,CollaborationUIEventService as _0x16f682,CollaborationUIEventId as _0x1481ad,DataLoaderService as _0xb4f128,DocCollaborationEntity as _0x5880c6,getLocalCacheKey as _0x26b3eb,LOCAL_CACHE_INTERVAL as _0x5506ed,LOCAL_CACHE_INTERVAL_KEY as _0x1b4490,UniverCollaborationClientPlugin as _0x35335d,CollaborationSocketService as _0x3592b9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x133280,DEFAULT_WS_SESSION_TICKET_URL as _0x5d4fcc,UnitStatus as _0x206d42,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5d841d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5cbe20}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1d3bed,Disposable as _0x511293,DOC_RANGE_TYPE as _0x5cab35,Inject as _0x5d30c5,Injector as _0x1594b9,IUniverInstanceService as _0xb0b851,ICommandService as _0x58b9f6,debounce as _0xa76b4c,Rectangle as _0x2eefc7,DisposableCollection as _0x3bbcfc,toDisposable as _0x1529d5,UniverInstanceType as _0x5b953e,Tools as _0x453a5f,COLORS as _0xace774,ColorKit as _0x366f4a,ThemeService as _0x442833,fromEventSubject as _0x1ee04c,LocaleService as _0x3f7747,createIdentifier as _0x52e467,ILogService as _0x4baf39,Optional as _0x12fdaa,Workbook as _0x49cb7d,CommandType as _0x1af6f4,IConfigService as _0x518efb,ILocalStorageService as _0x2c9f67,DependentOn as _0x1c7f38,Plugin as _0x216717,merge as _0x301b16,registerDependencies as _0x20c03b,mergeOverrideWithDependencies as _0xb01ab3,touchDependencies as _0x4ae927,generateRandomId as _0x4f31bd}from'@univerjs/core';import{Shape as _0x5dfd05,Rect as _0x5abff7,getColor as _0x1a7fb3,RegularPolygon as _0x58224e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3c08ff,Vector2 as _0x576202,SHEET_VIEWPORT_KEY as _0x3973d7,IRenderManagerService as _0x57e040}from'@univerjs/engine-render';import{ISocketService as _0x12a1ce,WebSocketService as _0x2c24e6,HTTPService as _0x40376b}from'@univerjs/network';import{IDocClipboardService as _0x44c426,NodePositionConvertToCursor as _0x53e06e,NodePositionConvertToRectRange as _0x157fb2,TEXT_RANGE_LAYER_INDEX as _0x55fa23,SetDocZoomRatioOperation as _0x17b391,DocIMEInputManagerService as _0x309075,DocStateChangeManagerService as _0x56f7e9}from'@univerjs/docs-ui';import{IImageIoService as _0x113607}from'@univerjs/drawing';import{BehaviorSubject as _0x2cc9b0,debounceTime as _0x3f82b4,takeUntil as _0xcffb89,Subject as _0x320e59,filter as _0x3c8805,switchMap as _0xb781b0,merge as _0x514233,combineLatest as _0x3ed33c,of as _0x430603,fromEvent as _0x57a91b,shareReplay as _0x467ca5,mapTo as _0x1246df,distinctUntilChanged as _0x24d254}from'rxjs';import{SetTextSelectionsOperation as _0x279026,RichTextEditingMutation as _0x1ec75c,DocSelectionManagerService as _0x1cdd1e,DocSkeletonManagerService as _0x12e746}from'@univerjs/docs';import{ITransformService as _0x122f43,CollaborationEvent as _0x357f8a,isTransformMutationFailure as _0x4578d1,isTransformMutationsWithChangesetSuccess as _0x576e4b,RevisionService as _0x1d1977,ISnapshotServerService as _0x5f3e22}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x43c764,serializeRangeWithSheet as _0x14b0d1}from'@univerjs/engine-formula';import{RefRangeService as _0xa622fa,SetSelectionsOperation as _0xdb6c66,SheetsSelectionsService as _0x5ecd97,EffectRefRangId as _0x1d915b,handleIRemoveRow as _0x2c2ef9,handleIRemoveCol as _0x5d1768,handleMoveRange as _0x5da23c,handleInsertRow as _0x1155e3,handleInsertRangeMoveRight as _0x1c2180,handleInsertRangeMoveDown as _0x5a3abe,handleInsertCol as _0x511acf,handleDeleteRangeMoveUp as _0x47a709,handleDeleteRangeMoveLeft as _0x389098,runRefRangeMutations as _0x441c5e,SetWorksheetActivateCommand as _0x223adf}from'@univerjs/sheets';import{map as _0x13142d,filter as _0x7a3f1a,throttleTime as _0x8c9cc4,takeUntil as _0x115372,switchMap as _0x594866}from'rxjs/operators';import{SheetSkeletonManagerService as _0x16790c,getCoordByCell as _0x8e1141,getSheetObject as _0x29c69e}from'@univerjs/sheets-ui';function _0x4b4c(){const _0x355ae4=['getUnitStatus$','setInterval','stringify','EMAIL_HAS_BEEN_BOUND','off-line-icon_clip0_910_343','_startDocCollabCursor','getOwnPropertySymbols','includes','INVALID_ARGUMENT','_roomMembers$','univerjs-icon\x20univerjs-icon-','_toggleOnline','UNIVER_SHEET','_handleHover','find','RemoveColCommandId','range','_docTransformIMECacheService','SNAPSHOT_INVALID_SNAPSHOT','#FFF','show','className','search','sheetId','/run/','_sheetSkeletonManagerService','toRgbString','http://www.w3.org/2000/svg','hide','drawWith','getSheetBySheetId','_collaborationController','top','roomMembers$','_hideTimer','APPLY_DUPLICATED','_entityInit$','4694186WpMzsD','findNodePositionByCharIndex','assignAColorForMemberID','_updateURLWithCurrentState','actions','selection','text','_instanceService','skeleton','_cursor','_getMergeRange','jiqing.500','136329BlLcWY','getActiveRange','origin','VIEW_MAIN','cursorInfo$','OTHER_CLIENT_EDITING','colorChannel1','color','defineProperty','LICENSE_DISTRO_REJECTED','InsertColCommandId','push','isActive','UNRECOGNIZED','APPLY_PERMISSION_DENIED','transformMutationsWithChangeset','searchParams','univer-flex\x20univer-mr-2\x20univer-text-xl','INVITE_CODE_HAS_BEEN_UES','getMember','_docTransformStateCacheService','uni.network.url-service','getRenderById','32AfZwuu','_beforeCloseService','onTransformChange$','CLOSE_ROOM','Error','onPointerMove$','_transformHistoryAndStateStack','OTHER_CLIENTS_EDITING','getDocRanges','_themeService','INVALID_INVITE_CODE','data','_collaborationUIEventService','forEach','indexOf','LICENSE_IMPORT_SIZE_EXCEEDED','transformIMECache','fill','M0\x200H16V16H0z','currentSkeleton$','transformByState','YUUMI_ALL_TABLES_IS_INVALID','getCellPositionByOffset','setStateCache','YUUMI_ASYNCIO_CANCELLED','HEADER_MENU','unsubscribe','m1Prime','executeCommand','collabCursorState$','getOffsetConfig','measureText','pushState','YUUMI_SUBSCRIPTION_NOT_FOUND','startsWith','sheetID','setItem','status$','assign','newValue','ALREADY_EXISTS','_initStatusListener','1em','_drawRectRange','prototype','loadOfflineData','deepClone','addClipboardHook','popstate','getItem','syncEditingCollabCursor','...','session.collaboration-timeout','_document','runOnServer','_syncEditingCollabCursorService','_initEntityListener','YUUMI_TABLE_NOT_FOUND_IN_UNIT','JOIN_ROOM_FAILED','fillStyle','InsertRowCommandId','_imageIoService','_refreshCollabCursors','NO_OTHER_CLIENTS_EDITING','getCurrentRevOfUnit','runId','getSheetId','_init','attrs','3131880tPKRTi','UNIVER_DOC','updateOfflineData','_onCursorUpdate','mask','loadUnit','ranges','_updateLocalCursor','CONFLICT','UNDEFINED','save','USERS_LEAVE','delete','[CollaborationDataLoaderController]','_draw','RemoveRowCommandId','_scheduleHeartbeat','params','_localStorageService','getUnitId','isArray','_dataLoaderService','registerRenderModule','univer-flex\x20univer-items-center','_unitStatus','createInstance','Unknown\x20user','transform','collaboration.closeRoom','subUnitId','disposeWithMe','0\x200\x2017\x2016','focused$','engine','APPLY_REVISION_CONFILICT','unit','_unitOnClients','session.connection-failed','idSuffix','complete','_entities','_name','APPLY_NON_SEQUENTIAL_REVISION','reconnect','yellow.400','collab-client.tooltip.reconnect','disposeUnit','children','urlChange$','getSkeleton','_disabled','none','_initResize','post','add','permission.title','onRendered','getConfig','collabStatus.synced','_registerDependencies','makeDirty','PENDING','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','restore','getColorFromTheme','symbol','_saveCache','url(#off-line-icon_clip0_910_343)','currentTheme$','collabStatus.notCollab','backgroundColor','roomMembers','on-line-icon','setParam','triggerDblclick','FETCH_MISS','_docTransformSelectionsService','extend','black','width','getUnhiddenWorksheets','DeleteRangeMoveLeftCommandId','_onCursorDelete','pipe','replaceState','_logService','_docSyncEditingCollabCursorService','_transformService','imageSourceType','setUndoRedoMutationParamsCache','NOT_COLLAB','OffLineIcon','redoState','getActiveSheet','_renderManagerService','translate(.97)','_heartbeatTimer','defIds','onPointerLeave$','_shapes','blue.400','svg','invokeId','set','_configService','getFocusedUnit','values','sessionStatus$','AWAITING','height','Warning','getTypeOfUnitDisposed$','div','_handleLeaveEvent','getAncestorScale','RECT','UNAUTHENTICATED','entityInit$','_onRefRangeChange','transformMutation','12dbPvaR','saveImage','evenodd','white','_colorAssignService','from','unshift','setActiveRange','startRow','error','eventID','_anchorDot','TEXT','_ensureSubject','concat','Failed','icon','disableLocalCache','NOT_FOUND','currentColor','_anchor','getVpScrollXYInfoByPosToVp','saveTaskMap','_getScale','purple.300','TOO_MANY_REQUESTS','hasOwnProperty','_createSocketURL','ACTIVE_UNIT_EVENT_CHANNEL','transformRemoteChangeset','getRangePointData','registerRefRange','use','_initDependencies','_drawAnchor','getCollabEntity$','asObservable','_send','round','UPDATE_CURSOR','_revisionService','YUUMI_URL_COL_OUT_OF_RANGE','OFFLINE','_urlService','_collabCursorState$','MOBILE_HAS_BEEN_BOUND','onPointerEnter$','SOCKET_FAILED_RETRY','unitID','path','_handleHeartbeatEvent','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','some','LICENSE_MAX_UNITS_EXCEEDED','history','setShapeProps','createSocket','_injector','getStateCache','url(#$1','_localCacheService','_cursorShapes','_docSkeletonManagerService','_localeService','_initStatusComponent','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_NO_CUBOID_FOR_QUESTION','getOwnPropertyDescriptor','undoState','getRelativeToViewportCoord','_toggleOffline','cursorInfo','_hover','doc.mutation.rich-text-editing','name','LICENSE_EXPORT_SIZE_EXCEEDED','SYNCED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','permission.content','event$','override','xlink:href','MUTATION','whenReady','ticket','_transformUndoRedoStack','resize','column','_hovered','clearTimeout','SOCKET_FAILED','clipPath','moveTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','wsSessionTicketUrl','_registerRenderDependencies','registerBeforeClose','_messageService','getValue','INVITE_CODE_ALREADY_BOUND','key','APPLY_REJECT','_docClipboardService','exhaustSavingTask','_scene','dispose$','bottom','_docSkeleton','isEditing','LOGIN_FAILED','url(#on-line-icon_clip0_910_349)','next','_getSheetObject','YUUMI_AI_RUN_FAILED','setTimeout','_updateSubUnitFromURLParams','flatMap','propertyIsEnumerable','_refRangeService','collab-text-range-','_id','map','CHANGESET_REVISION_CONFILICT','all','displayName','replace','_updateCollabCursors','getCurrentSelections','_setupBeforeClosingHandler','4875648WtjMbr','lineTo','_textBubble','UniverIcon','substring','AWAITING_WITH_PENDING','_scheduleSaving','_config','6934190TdNLca','getUndoRedoMutationParamsCache','_uiPartsService','_clearOtherTimers','_collabSessionService','send','toString','storage','startColumn','_labelPosition','0\x200\x2016\x2016','MoveRangeCommandId','_initEvent','row','WECHAT_HAS_BEEN_BOUND','dispose','transformStateCache','_collabCursorController','string','requireSession','_removeCollabCursors','_selfUnitIDs','generateRandomId','_eventUnsubscribe','_docStateChangeManagerService','arc','_httpService','with','selections','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_getAnchorBounding','collab-rect-range-','_cursors','USER_NOT_INVITED_CODE','getMergeData','subscribeEvent','has','length','clearInterval','CONNECTOR_DATA_TOO_LARGE','_context','executionId','_colorIndex','entries','endRow','_removeClearOtherTimer','saveOfflineData','addObjects','off-line-icon','onLocalMutation','_getSessionTicket','_handleEvent','INVITE_CODE_REQUIRED','onMouseMove','transformSelections','_color','split','tag','then','_range','DeleteRangeMoveUpCommandId','_cachedData','_scheduleClearOtherTimer','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','addObject','type','1368121UIrztH','unload','fillText','textRanges','_assignedColors','_saveTaskMap','subscribe','getUniverSheetInstance','collaboration-client-ui.config','href','mutations','getCollabCursors$','min','_session','init','collabStatus.syncing','unitId','m2Prime','location','_backgroundColor','ONLINE','SUBMIT_CHANGESET_TIMEOUT','INTERNAL_ERROR','_transformPreviousActiveRange','_notificationService','collabStatus.offline','PY_RUNTIME_SCRIPT_ERROR','_online','_commandService','call','on-line-icon_clip0_910_349','collaboration.single-unit.warning','getMemberID','get','ENSURE_SNAPSHOT_EXECUTION','_lastPointer','getCurrentUnitForType','_render','onCommandExecuted','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','memberID','defs','size','_status$','beginPath','_drawTextRange','9aWgzcR','body','_cursorInfo$','_memberService','FromArray','getParam','_doCreateSocket','subunit','InsertRangeMoveRightCommandId','1862848WcbVyY','PERMISSION_DENIED','_getSaveTimeout','function','_univerInstanceService','_initCommandExecutedListener','COMPLETION_FINISHED','docStateChange$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','YUUMI_RATE_OVER_LIMIT','debug'];_0x4b4c=function(){return _0x355ae4;};return _0x4b4c();}import{jsx as _0x20c2d2,jsxs as _0x54c13b}from'react/jsx-runtime';import{useObservable as _0x162370,useDependency as _0x2693a3,IUIPartsService as _0x4d441f,BuiltInUIPart as _0x3af043,connectInjector as _0x3af94b,IBeforeCloseService as _0x50d1d5,IMessageService as _0x23f879,INotificationService as _0x5267e1}from'@univerjs/ui';import{Tooltip as _0x4b5462,clsx as _0x4800c1,MessageType as _0x18f4ec}from'@univerjs/design';import{forwardRef as _0x40c795,useRef as _0x1787f1,createElement as _0x4c6a71,useCallback as _0x328165}from'react';import{IRemoteInstanceService as _0x539a03}from'@univerjs/rpc';var ci=Object[_0x5ccdac(0x16f)],li=(_0x44019f,_0x37d7dd,_0x5827ff,_0x3de55f)=>{const _0x484ecf=_0x5ccdac;for(var _0x88982d=_0x3de55f>0x1?void 0x0:_0x3de55f?ci(_0x37d7dd,_0x5827ff):_0x37d7dd,_0x4fcff2=_0x44019f[_0x484ecf(0x1da)]-0x1,_0x2c2dfa;_0x4fcff2>=0x0;_0x4fcff2--)(_0x2c2dfa=_0x44019f[_0x4fcff2])&&(_0x88982d=_0x2c2dfa(_0x88982d)||_0x88982d);return _0x88982d;},Je=(_0x1b8180,_0x528052)=>(_0x17ae23,_0x328834)=>_0x528052(_0x17ae23,_0x328834,_0x1b8180);let Ne=class extends _0x1d3bed{constructor(_0x47c41b,_0x24e1f3){const _0x2c1525=_0x5ccdac;super(),this['_docClipboardService']=_0x47c41b,this[_0x2c1525(0x2be)]=_0x24e1f3,this['_init']();}[_0x5ccdac(0x2c4)](){const _0x2de14e=_0x5ccdac,_0x49e0af=this;this[_0x2de14e(0x2e4)](this[_0x2de14e(0x192)][_0x2de14e(0x2b0)]({'onBeforePasteImage':async _0x11db45=>{const _0x41aa5d=_0x2de14e,_0x11a933=await _0x49e0af[_0x41aa5d(0x2be)][_0x41aa5d(0x12d)](_0x11db45);return _0x11a933?{'source':_0x11a933['source'],'imageSourceType':_0x11a933[_0x41aa5d(0x10c)]}:null;}}));}};Ne=li([Je(0x0,_0x44c426),Je(0x1,_0x113607)],Ne);const Ze=[_0x5ccdac(0x144),_0x5ccdac(0x269),'green.600','red.300',_0x5ccdac(0x118),_0x5ccdac(0xe0)];class ke extends _0x511293{constructor(){const _0x99cd02=_0x5ccdac;super(...arguments),_(this,_0x99cd02(0x1fb),new Map()),_(this,_0x99cd02(0x1df),0x0);}[_0x5ccdac(0x260)](_0x3953f3){const _0x496873=_0x5ccdac;if(this['_assignedColors'][_0x496873(0x1d9)](_0x3953f3))return this[_0x496873(0x1fb)][_0x496873(0x218)](_0x3953f3);const _0x5826a0=Ze[this[_0x496873(0x1df)]];return this[_0x496873(0x1df)]=(this['_colorIndex']+0x1)%Ze[_0x496873(0x1da)],this['_assignedColors'][_0x496873(0x11b)](_0x3953f3,_0x5826a0),_0x5826a0;}}function Tt(_0x1a51be){let _0x44a878='';for(const _0x394fee of _0x1a51be){const {startOffset:_0x2863c3,endOffset:_0x718cb9,isActive:_0x5d3df9,rangeType:_0x112a5c,segmentId:_0x383d4d,segmentPage:_0x47fd97}=_0x394fee;_0x44a878['length']&&(_0x44a878+=','),_0x44a878+=_0x2863c3+':'+_0x718cb9+':'+(_0x5d3df9?'1':'0')+':'+_0x112a5c+':'+_0x383d4d+':'+_0x47fd97;}return _0x44a878;}function _i(_0x49dbab){const _0x531900=_0x5ccdac,_0x1d7e0c=_0x49dbab[_0x531900(0x1ed)](','),_0x28c6c5=[];for(const _0x4b024e of _0x1d7e0c){const [_0x271073,_0x5be484,_0x25064c,_0x44ce8b,_0x198432,_0x37f93a]=_0x4b024e[_0x531900(0x1ed)](':');_0x28c6c5['push']({'startOffset':Number(_0x271073),'endOffset':Number(_0x5be484),'collapsed':_0x271073===_0x5be484,'isActive':_0x25064c==='1','rangeType':_0x44ce8b===_0x5cab35['TEXT']?_0x5cab35[_0x531900(0x138)]:_0x5cab35[_0x531900(0x127)],'segmentId':typeof _0x198432=='string'?String(_0x198432):'','segmentPage':Number(_0x37f93a!=null?_0x37f93a:-0x1)});}return _0x28c6c5[_0x531900(0x160)](_0x157968=>_0x157968['isActive'])||(_0x28c6c5[0x0][_0x531900(0x276)]=!0x0),_0x28c6c5;}class He extends _0x1d3bed{constructor(){const _0x2d2347=_0x5ccdac;super(...arguments),_(this,_0x2d2347(0x158),new _0x2cc9b0(null)),_(this,_0x2d2347(0x29e),this[_0x2d2347(0x158)][_0x2d2347(0x150)]());}[_0x5ccdac(0x2b3)](_0x379010){const _0x1429e5=_0x5ccdac,{unitID:_0x46fe81,memberID:_0x3c809e,textRanges:_0x8a1c91}=_0x379010,_0x44bb6f=Tt(_0x8a1c91);if(_0x44bb6f==='')return;const _0x54c688={'unitID':_0x46fe81,'memberID':_0x3c809e,'selection':_0x44bb6f};this[_0x1429e5(0x158)][_0x1429e5(0x19b)](_0x54c688);}}var hi=Object[_0x5ccdac(0x16f)],ui=(_0x5d5cd0,_0x13bf55,_0x344fea,_0x29e56d)=>{const _0x3005ff=_0x5ccdac;for(var _0x298d6b=_0x29e56d>0x1?void 0x0:_0x29e56d?hi(_0x13bf55,_0x344fea):_0x13bf55,_0x2baa01=_0x5d5cd0[_0x3005ff(0x1da)]-0x1,_0xe5f2b6;_0x2baa01>=0x0;_0x2baa01--)(_0xe5f2b6=_0x5d5cd0[_0x2baa01])&&(_0x298d6b=_0xe5f2b6(_0x298d6b)||_0x298d6b);return _0x298d6b;},P=(_0x27aec9,_0x33cec3)=>(_0xbcf73a,_0x5cb37d)=>_0x33cec3(_0xbcf73a,_0x5cb37d,_0x27aec9);const di=0x12c,fi=0x64;let Ue=class extends _0x1d3bed{constructor(_0x337601,_0x91d375,_0x44ecbf,_0xd4d745,_0x1b1cea,_0x492759,_0x1890dc,_0x4a6246,_0x59dc1e){const _0x161156=_0x5ccdac;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x161156(0x227),new _0x2cc9b0(new Map())),_(this,_0x161156(0x26e),this['_cursorInfo$'][_0x161156(0x150)]()),_(this,'_roomMembers$',new _0x2cc9b0([])),_(this,_0x161156(0x25a),this[_0x161156(0x242)][_0x161156(0x107)](_0x3f82b4(di))),_(this,_0x161156(0x2cd),_0xa76b4c(_0xad81b2=>{const _0x108676=_0x161156,_0x1dd5ba={'eventID':_0x357f8a[_0x108676(0x153)],'data':{'unitID':this[_0x108676(0x15c)],'memberID':this[_0x108676(0x204)][_0x108676(0x217)](),'selection':Tt(_0xad81b2)}};this[_0x108676(0x204)][_0x108676(0x1ba)](_0x1dd5ba,this[_0x108676(0x15c)]);},fi)),(this[_0x161156(0x15c)]=_0x337601,this[_0x161156(0x204)]=_0x91d375,this[_0x161156(0x165)]=_0x44ecbf,this[_0x161156(0x130)]=_0xd4d745,this[_0x161156(0x228)]=_0x1b1cea,this[_0x161156(0x2b8)]=_0x492759,this[_0x161156(0x10b)]=_0x1890dc,this[_0x161156(0x232)]=_0x4a6246,this[_0x161156(0x213)]=_0x59dc1e);}get[_0x5ccdac(0x173)](){return this['_cursorInfo$']['getValue']();}get[_0x5ccdac(0xfb)](){const _0x4c74cb=_0x5ccdac;return this[_0x4c74cb(0x242)]['getValue']();}['dispose'](){const _0x2805f0=_0x5ccdac;super['dispose'](),this[_0x2805f0(0x227)][_0x2805f0(0x19b)](new Map()),this[_0x2805f0(0x227)][_0x2805f0(0xdb)](),this['_roomMembers$'][_0x2805f0(0x19b)]([]),this[_0x2805f0(0x242)]['complete']();}[_0x5ccdac(0x205)](){const _0x2f00e8=_0x5ccdac;this[_0x2f00e8(0x2c4)]||(this[_0x2f00e8(0x2c4)]=!0x0,this[_0x2f00e8(0x204)][_0x2f00e8(0x11f)][_0x2f00e8(0x107)](_0xcffb89(this[_0x2f00e8(0x195)]))[_0x2f00e8(0x1fd)](_0x3dd212=>{const _0x567e8c=_0x2f00e8;_0x3dd212===_0x6f7e03[_0x567e8c(0x20b)]?this[_0x567e8c(0x244)]():this['_toggleOffline']();}),this[_0x2f00e8(0x204)][_0x2f00e8(0x17b)]['pipe'](_0xcffb89(this[_0x2f00e8(0x195)]))[_0x2f00e8(0x1fd)](_0x2c69de=>{const _0x3eb0c2=_0x2f00e8,_0x281b72=_0x2c69de[_0x3eb0c2(0x136)];_0x281b72===_0x357f8a[_0x3eb0c2(0x153)]&&this[_0x3eb0c2(0x2c9)](_0x2c69de),_0x281b72===_0x357f8a[_0x3eb0c2(0x2d1)]&&this['_onCursorDelete'](_0x2c69de);}),this['disposeWithMe'](this['_commandService'][_0x2f00e8(0x21d)](_0x372d25=>{const _0x37be57=_0x2f00e8,_0xd40944=_0x372d25[_0x37be57(0x2d7)];_0xd40944!=null&&this['_online']&&_0x372d25['id']===_0x279026['id']&&_0xd40944[_0x37be57(0x207)]===this[_0x37be57(0x15c)]&&_0xd40944[_0x37be57(0x198)]===!0x1&&_0xd40944[_0x37be57(0x2cc)]['length']>0x0&&this[_0x37be57(0x2cd)](_0xd40944[_0x37be57(0x2cc)]);})),this[_0x2f00e8(0x2b8)][_0x2f00e8(0x29e)]['pipe'](_0xcffb89(this[_0x2f00e8(0x195)]))[_0x2f00e8(0x1fd)](_0x22ea17=>{const _0x73342b=_0x2f00e8;if((_0x22ea17==null?void 0x0:_0x22ea17['unitID'])!==this[_0x73342b(0x15c)])return;const _0x35e0c1={'eventID':_0x357f8a[_0x73342b(0x153)],'data':_0x22ea17};this[_0x73342b(0x2c9)](_0x35e0c1);}),this[_0x2f00e8(0x2e4)](this[_0x2f00e8(0x213)]['onCommandExecuted'](_0x3b15d9=>{const _0x53f068=_0x2f00e8;if(_0x3b15d9[_0x53f068(0x2d7)]==null)return;const _0x10bc44=_0x3b15d9['params'];if(_0x3b15d9['id']!==_0x1ec75c['id']||_0x10bc44['unitId']!==this[_0x53f068(0x15c)])return;const _0x2cc251={'id':'doc.mutation.rich-text-editing','params':_0x10bc44},_0x110ce7=this['cursorInfo'];for(const [_0x27e164,_0xd86469]of _0x110ce7){const _0x298af1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x53f068(0x15c)],'actions':null,'textRanges':_0xd86469['ranges']}},_0xe057c3=this['_transformService'][_0x53f068(0x12b)](_0x2cc251,_0x298af1,!0x1);if(_0x4578d1(_0xe057c3))throw _0xe057c3[_0x53f068(0x135)];_0x110ce7[_0x53f068(0x11b)](_0x27e164,{..._0xd86469,'ranges':_0xe057c3[_0x53f068(0x208)][_0x53f068(0x2d7)][_0x53f068(0x1fa)]});}queueMicrotask(()=>{const _0xecc39=_0x53f068;this[_0xecc39(0x227)][_0xecc39(0x19b)](_0x110ce7);});})));}[_0x5ccdac(0x2c9)](_0x343ccc){const _0x3e4926=_0x5ccdac;var _0x124ada,_0x5d10fd;const {memberID:_0x2bf7b4,selection:_0x1246d9}=_0x343ccc[_0x3e4926(0x28c)],_0x2443bb=_i(_0x1246d9),_0x5a2e38=(_0x5d10fd=(_0x124ada=this[_0x3e4926(0x228)][_0x3e4926(0x27d)](this['unitID'],_0x2bf7b4))==null?void 0x0:_0x124ada[_0x3e4926(0x176)])!=null?_0x5d10fd:_0x3e4926(0x2e0),_0x174607={'color':this['_colorAssignService'][_0x3e4926(0x260)](_0x2bf7b4),'name':_0x5a2e38,'ranges':_0x2443bb},_0x5813e4=this['cursorInfo'];_0x5813e4[_0x3e4926(0x11b)](_0x2bf7b4,_0x174607),this['_cursorInfo$']['next'](_0x5813e4);}[_0x5ccdac(0x106)](_0x2e995e){const _0x570516=_0x5ccdac,{memberID:_0x3065d3}=_0x2e995e[_0x570516(0x28c)],_0x51b180=this['cursorInfo'];_0x51b180['delete'](_0x3065d3),this[_0x570516(0x227)][_0x570516(0x19b)](_0x51b180);}[_0x5ccdac(0x244)](){const _0x3ea2e0=_0x5ccdac;var _0xf284f7;if(this[_0x3ea2e0(0x212)]=!0x0,((_0xf284f7=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xf284f7[_0x3ea2e0(0x2d9)]())!==this[_0x3ea2e0(0x15c)])return;const _0x428883=this[_0x3ea2e0(0x165)][_0x3ea2e0(0x218)](_0x1cdd1e)[_0x3ea2e0(0x289)]();Array[_0x3ea2e0(0x2da)](_0x428883)&&_0x428883[_0x3ea2e0(0x1da)]>0x0&&this[_0x3ea2e0(0x2cd)](_0x428883);}[_0x5ccdac(0x172)](){const _0x4b1c3a=_0x5ccdac;this[_0x4b1c3a(0x212)]=!0x1;}};Ue=ui([P(0x2,_0x5d30c5(_0x1594b9)),P(0x3,_0x5d30c5(ke)),P(0x4,_0x5d30c5(_0x34140a)),P(0x5,_0x5d30c5(He)),P(0x6,_0x122f43),P(0x7,_0xb0b851),P(0x8,_0x58b9f6)],Ue);var Si=Object[_0x5ccdac(0x16f)],mi=(_0x1efee9,_0x253ef7,_0x347e44,_0x14b1fc)=>{const _0x2b081b=_0x5ccdac;for(var _0x576177=_0x14b1fc>0x1?void 0x0:_0x14b1fc?Si(_0x253ef7,_0x347e44):_0x253ef7,_0x5ad61=_0x1efee9[_0x2b081b(0x1da)]-0x1,_0x1f2f74;_0x5ad61>=0x0;_0x5ad61--)(_0x1f2f74=_0x1efee9[_0x5ad61])&&(_0x576177=_0x1f2f74(_0x576177)||_0x576177);return _0x576177;},x=(_0x23e5b5,_0x5d7a97)=>(_0x82e759,_0xaf0601)=>_0x5d7a97(_0x82e759,_0xaf0601,_0x23e5b5);const Ii=0x12c,gi=0x64,vi=()=>{let _0x27c7a5=[],_0x59edab=!0x1;return _0xf6d15b=>{const _0x176bc8=_0x709d;_0x27c7a5[_0x176bc8(0x275)](_0xf6d15b),_0x59edab||(_0x59edab=!0x0,setTimeout(()=>{const _0x55e70a=_0x176bc8;_0x27c7a5[_0x55e70a(0x28e)](_0x4bae1a=>_0x4bae1a()),_0x27c7a5=[],_0x59edab=!0x1;}));};};let Me=class extends _0x1d3bed{constructor(_0x2eb93c,_0x36c4f8,_0x29fab9,_0x32cf28,_0x59bf31,_0x1989a2,_0x447d0a,_0x4bd85b){const _0x122935=_0x5ccdac;super(),_(this,_0x122935(0x212),!0x1),_(this,_0x122935(0x2c4),!0x1),_(this,_0x122935(0x227),new _0x2cc9b0(new Map())),_(this,_0x122935(0x26e),this[_0x122935(0x227)]['asObservable']()),_(this,'_roomMembers$',new _0x2cc9b0([])),_(this,_0x122935(0x25a),this[_0x122935(0x242)][_0x122935(0x107)](_0x3f82b4(Ii))),_(this,_0x122935(0x2cd),_0xa76b4c((_0x3d705f,_0xb6b432)=>{const _0x5136fe=_0x122935,_0x33b057={'eventID':_0x357f8a[_0x5136fe(0x153)],'data':{'unitID':this[_0x5136fe(0x15c)],'memberID':this[_0x5136fe(0x204)]['getMemberID'](),'selection':_0x14b0d1(_0x3d705f,_0xb6b432[_0x5136fe(0x249)])}};this[_0x5136fe(0x204)][_0x5136fe(0x1ba)](_0x33b057,this[_0x5136fe(0x15c)]);},gi)),(this[_0x122935(0x15c)]=_0x2eb93c,this['_session']=_0x36c4f8,this[_0x122935(0x165)]=_0x29fab9,this['_colorAssignService']=_0x32cf28,this[_0x122935(0x228)]=_0x59bf31,this[_0x122935(0x232)]=_0x1989a2,this[_0x122935(0x213)]=_0x447d0a,this['_refRangeService']=_0x4bd85b);}get[_0x5ccdac(0x173)](){const _0x4289e0=_0x5ccdac;return this[_0x4289e0(0x227)][_0x4289e0(0x18e)]();}get['roomMembers'](){const _0x21849f=_0x5ccdac;return this[_0x21849f(0x242)][_0x21849f(0x18e)]();}[_0x5ccdac(0x1c4)](){const _0x510c31=_0x5ccdac;super['dispose'](),this[_0x510c31(0x227)][_0x510c31(0x19b)](new Map()),this[_0x510c31(0x227)][_0x510c31(0xdb)](),this[_0x510c31(0x242)][_0x510c31(0x19b)]([]),this['_roomMembers$'][_0x510c31(0xdb)]();}[_0x5ccdac(0x205)](){const _0x45ea7c=_0x5ccdac;this['_init']||(this[_0x45ea7c(0x2c4)]=!0x0,this[_0x45ea7c(0x204)][_0x45ea7c(0x11f)][_0x45ea7c(0x107)](_0xcffb89(this['dispose$']))[_0x45ea7c(0x1fd)](_0x586d02=>{const _0x2ea60a=_0x45ea7c;_0x586d02===_0x6f7e03['ONLINE']?this['_toggleOnline']():this[_0x2ea60a(0x172)]();}),this['_session'][_0x45ea7c(0x17b)][_0x45ea7c(0x107)](_0xcffb89(this[_0x45ea7c(0x195)]))[_0x45ea7c(0x1fd)](_0x206f0c=>{const _0x2a07f1=_0x45ea7c,_0x48cab9=_0x206f0c['eventID'];_0x48cab9===_0x357f8a[_0x2a07f1(0x153)]&&this[_0x2a07f1(0x2c9)](_0x206f0c),_0x48cab9===_0x357f8a[_0x2a07f1(0x2d1)]&&this[_0x2a07f1(0x106)](_0x206f0c);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x45ea7c(0x213)][_0x45ea7c(0x21d)](_0x130b3e=>{const _0x1a2251=_0x45ea7c;if(this[_0x1a2251(0x212)]&&_0x130b3e['id']===_0xdb6c66['id']&&_0x130b3e['params'][_0x1a2251(0x207)]===this['unitID']){const _0x457e12=_0x130b3e['params'];this[_0x1a2251(0x2cd)](_0x457e12[_0x1a2251(0x2e3)],_0x457e12[_0x1a2251(0x1d1)][0x0]);}})));}[_0x5ccdac(0x2c9)](_0x35e050){const _0x55cc7f=_0x5ccdac;var _0x37c4ff,_0x55a174;const {memberID:_0x2388b0,selection:_0xbc74b8}=_0x35e050['data'],{sheetName:_0x4db9b3,range:_0x3421f8}=_0x43c764(_0xbc74b8),_0x22bbe7={'name':(_0x55a174=(_0x37c4ff=this[_0x55cc7f(0x228)][_0x55cc7f(0x27d)](this['unitID'],_0x2388b0))==null?void 0x0:_0x37c4ff[_0x55cc7f(0x176)])!=null?_0x55a174:'Unknown\x20user','range':this['_getMergeRange'](_0x4db9b3,_0x3421f8),'sheetID':_0x4db9b3,'color':this[_0x55cc7f(0x130)][_0x55cc7f(0x260)](_0x2388b0),'selection':_0xbc74b8},_0x3ad73c=this['cursorInfo'];_0x3ad73c[_0x55cc7f(0x11b)](_0x2388b0,_0x22bbe7),this[_0x55cc7f(0x227)][_0x55cc7f(0x19b)](_0x3ad73c);}[_0x5ccdac(0x106)](_0x28986e){const _0x3c70ce=_0x5ccdac,{memberID:_0x13a5bb}=_0x28986e[_0x3c70ce(0x28c)],_0x3889af=this['cursorInfo'];_0x3889af['delete'](_0x13a5bb),this[_0x3c70ce(0x227)][_0x3c70ce(0x19b)](_0x3889af);}[_0x5ccdac(0x268)](_0x39c717,_0x5986f9){const _0x31b0ad=_0x5ccdac;var _0x56f665,_0x21db1a;const _0x2270f0=(_0x21db1a=(_0x56f665=this['_univerInstanceService'][_0x31b0ad(0x1fe)](this[_0x31b0ad(0x15c)]))==null?void 0x0:_0x56f665['getSheetBySheetId'](_0x39c717))==null?void 0x0:_0x21db1a[_0x31b0ad(0x1d7)]();return(_0x2270f0==null?void 0x0:_0x2270f0[_0x31b0ad(0x247)](_0x14a2cb=>_0x2eefc7['contains'](_0x14a2cb,_0x5986f9)))||_0x5986f9;}[_0x5ccdac(0x12a)](){const _0x5271c5=_0x5ccdac,_0x41ac82=new _0x3bbcfc(),_0x5bb3f7=vi(),_0x41ecc6=()=>{const _0x27a8cd=_0x709d;_0x41ac82[_0x27a8cd(0x1c4)]();const _0x5d4191=(_0x2b3227,_0x4040f3,_0x43b49f,_0x32e9d6)=>{const _0x247d17=_0x27a8cd;let _0x45512f=[];switch(_0x2b3227['id']){case _0x1d915b[_0x247d17(0x105)]:{_0x45512f=_0x389098(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x1f1)]:{_0x45512f=_0x47a709(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x274)]:{_0x45512f=_0x511acf(_0x2b3227,_0x32e9d6);break;}case _0x1d915b['InsertRangeMoveDownCommandId']:{_0x45512f=_0x5a3abe(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x22d)]:{_0x45512f=_0x1c2180(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x2bd)]:{_0x45512f=_0x1155e3(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x1c0)]:{_0x45512f=_0x5da23c(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x248)]:{_0x45512f=_0x5d1768(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x2d5)]:{_0x45512f=_0x2c2ef9(_0x2b3227,_0x32e9d6);break;}}const _0x17a5e2=_0x441c5e(_0x45512f,_0x32e9d6),_0x2f7272=this[_0x247d17(0x173)][_0x247d17(0x218)](_0x4040f3);if(_0x2f7272&&_0x17a5e2){const _0x5e8482={..._0x2f7272,'range':_0x17a5e2};this['cursorInfo']['set'](_0x4040f3,_0x5e8482),_0x5bb3f7(()=>{const _0x5ab551=_0x247d17,_0xdcfdf2=this['_refRangeService'][_0x5ab551(0x14b)](_0x17a5e2,_0xd62eb2=>(_0xdcfdf2[_0x5ab551(0x1c4)](),_0x5d4191(_0xd62eb2,_0x4040f3,_0x43b49f,_0x17a5e2)));_0x41ac82['add'](_0xdcfdf2);});}return{'redos':[],'undos':[]};};this[_0x27a8cd(0x173)][_0x27a8cd(0x28e)]((_0x18e221,_0x1bdc0b)=>{const _0x9d102=_0x27a8cd,{range:_0x163118,sheetID:_0x36c262}=_0x18e221,_0x56f2ab=this[_0x9d102(0x1a2)][_0x9d102(0x14b)](_0x163118,_0x580377=>(_0x56f2ab[_0x9d102(0x1c4)](),_0x5d4191(_0x580377,_0x1bdc0b,_0x36c262,_0x163118)));_0x41ac82[_0x9d102(0xea)](_0x56f2ab);});};this[_0x5271c5(0x2e4)](_0x1529d5(this[_0x5271c5(0x227)][_0x5271c5(0x1fd)](()=>{_0x41ecc6();})));}[_0x5ccdac(0x244)](){const _0x5e2b6d=_0x5ccdac;var _0x175472,_0x48c67f;if(this[_0x5e2b6d(0x212)]=!0x0,((_0x175472=this[_0x5e2b6d(0x232)]['getFocusedUnit']())==null?void 0x0:_0x175472['getUnitId']())!==this[_0x5e2b6d(0x15c)])return;const _0x14936a=(_0x48c67f=this[_0x5e2b6d(0x165)][_0x5e2b6d(0x218)](_0x5ecd97)[_0x5e2b6d(0x1ab)]())==null?void 0x0:_0x48c67f[0x0],_0x382d16=this[_0x5e2b6d(0x232)][_0x5e2b6d(0x21b)](_0x5b953e[_0x5e2b6d(0x245)])[_0x5e2b6d(0x111)]();_0x14936a&&_0x382d16&&this['_updateLocalCursor'](_0x382d16[_0x5e2b6d(0x2c3)](),_0x14936a);}[_0x5ccdac(0x172)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x5d30c5(_0x1594b9)),x(0x3,_0x5d30c5(ke)),x(0x4,_0x5d30c5(_0x34140a)),x(0x5,_0xb0b851),x(0x6,_0x58b9f6),x(0x7,_0x5d30c5(_0xa622fa))],Me);var pi=Object[_0x5ccdac(0x16f)],Ci=(_0x52d528,_0x376e7f,_0x10c0f7,_0x482d99)=>{for(var _0x17ade0=_0x482d99>0x1?void 0x0:_0x482d99?pi(_0x376e7f,_0x10c0f7):_0x376e7f,_0x9875eb=_0x52d528['length']-0x1,_0x3bca74;_0x9875eb>=0x0;_0x9875eb--)(_0x3bca74=_0x52d528[_0x9875eb])&&(_0x17ade0=_0x3bca74(_0x17ade0)||_0x17ade0);return _0x17ade0;},Se=(_0x4cdab1,_0x439bbf)=>(_0x5e24cc,_0x405374)=>_0x439bbf(_0x5e24cc,_0x405374,_0x4cdab1);let H=class extends _0x1d3bed{constructor(_0x2e4521,_0x862166,_0xde2aef){const _0x5c48a2=_0x5ccdac;super(),_(this,_0x5c48a2(0xdc),new Map()),_(this,'_entityInit$',new _0x320e59()),(this[_0x5c48a2(0x232)]=_0x2e4521,this['_injector']=_0x862166,this[_0x5c48a2(0x1b9)]=_0xde2aef,this[_0x5c48a2(0x2c4)]());}[_0x5ccdac(0x1c4)](){const _0x3bed32=_0x5ccdac;super[_0x3bed32(0x1c4)](),this[_0x3bed32(0x25d)][_0x3bed32(0xdb)](),this[_0x3bed32(0xdc)][_0x3bed32(0x28e)](_0x4a463d=>_0x4a463d[_0x3bed32(0x1c4)]());}[_0x5ccdac(0x202)](_0x45a30f){const _0x1a32d8=_0x5ccdac;return this['_entities'][_0x1a32d8(0x1d9)](_0x45a30f)?this[_0x1a32d8(0xdc)]['get'](_0x45a30f)[_0x1a32d8(0x26e)]:this['_entityInit$']['pipe'](_0x3c8805(_0x50df3a=>_0x50df3a[_0x1a32d8(0x15c)]===_0x45a30f),_0xb781b0(_0x2d50c0=>_0x2d50c0[_0x1a32d8(0x26e)]));}['_init'](){const _0x42d3ad=_0x5ccdac;this[_0x42d3ad(0x232)]['getTypeOfUnitAdded$'](_0x5b953e[_0x42d3ad(0x245)])[_0x42d3ad(0x107)](_0xcffb89(this[_0x42d3ad(0x195)]))[_0x42d3ad(0x1fd)](async _0x46b5d0=>{const _0x181c39=_0x42d3ad,_0x1d0418=_0x46b5d0[_0x181c39(0x2d9)](),_0x44f0b8=await this['_startSheetCollabCursor'](_0x1d0418);this[_0x181c39(0x25d)]['next'](_0x44f0b8),this[_0x181c39(0xdc)][_0x181c39(0x11b)](_0x1d0418,_0x44f0b8);}),this[_0x42d3ad(0x232)]['getTypeOfUnitAdded$'](_0x5b953e['UNIVER_DOC'])[_0x42d3ad(0x107)](_0xcffb89(this[_0x42d3ad(0x195)]))[_0x42d3ad(0x107)](_0x3c8805(_0x258841=>!_0x258841[_0x42d3ad(0x2d9)]()[_0x42d3ad(0x2a3)]('__')))[_0x42d3ad(0x1fd)](async _0x53ce78=>{const _0x579e64=_0x42d3ad,_0x13e6b5=_0x53ce78['getUnitId'](),_0x3e25bf=await this[_0x579e64(0x23e)](_0x13e6b5);this[_0x579e64(0x25d)][_0x579e64(0x19b)](_0x3e25bf),this[_0x579e64(0xdc)][_0x579e64(0x11b)](_0x13e6b5,_0x3e25bf);}),_0x514233(this[_0x42d3ad(0x232)]['getTypeOfUnitDisposed$'](_0x5b953e[_0x42d3ad(0x2c7)]),this[_0x42d3ad(0x232)][_0x42d3ad(0x123)](_0x5b953e[_0x42d3ad(0x245)]))[_0x42d3ad(0x107)](_0xcffb89(this[_0x42d3ad(0x195)]))[_0x42d3ad(0x1fd)](_0x1a0bb7=>{const _0x16bd51=_0x42d3ad,_0x4bec51=_0x1a0bb7['getUnitId'](),_0x198b8f=this[_0x16bd51(0xdc)][_0x16bd51(0x218)](_0x4bec51);_0x198b8f&&(_0x198b8f['dispose'](),this[_0x16bd51(0xdc)][_0x16bd51(0x2d2)](_0x4bec51));});}async['_startSheetCollabCursor'](_0xb7f84c){const _0x518b91=_0x5ccdac,_0xa709d3=await this[_0x518b91(0x1b9)]['requireSession'](_0xb7f84c),_0x4cbd8d=this[_0x518b91(0x165)]['createInstance'](Me,_0xb7f84c,_0xa709d3);return _0x4cbd8d['init'](),_0x4cbd8d;}async[_0x5ccdac(0x23e)](_0xa88043){const _0x5f223e=_0x5ccdac,_0x24cfca=await this[_0x5f223e(0x1b9)][_0x5f223e(0x1c8)](_0xa88043),_0x14e32e=this['_injector'][_0x5f223e(0x2df)](Ue,_0xa88043,_0x24cfca);return _0x14e32e['init'](),_0x14e32e;}};H=Ci([Se(0x0,_0xb0b851),Se(0x1,_0x5d30c5(_0x1594b9)),Se(0x2,_0x5d30c5(_0x32b0dc))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3b5a51,_0x1d5501){const _0x5058b1=_0x5ccdac;let {radius:_0x163183,width:_0xf9deb,height:_0x54dd7d}=_0x1d5501;_0x163183=_0x163183!=null?_0x163183:0x0,_0xf9deb=_0xf9deb!=null?_0xf9deb:0x1e,_0x54dd7d=_0x54dd7d!=null?_0x54dd7d:0x1e;let _0x5928cc=0x0,_0x204f7d=0x0,_0xc58ea5=0x0;_0x5928cc=_0x204f7d=_0xc58ea5=Math['min'](_0x163183,_0xf9deb/0x2,_0x54dd7d/0x2),_0x3b5a51[_0x5058b1(0x223)](),_0x3b5a51[_0x5058b1(0x188)](_0x5928cc,0x0),_0x3b5a51['lineTo'](_0xf9deb-_0x204f7d,0x0),_0x3b5a51[_0x5058b1(0x1ce)](_0xf9deb-_0x204f7d,_0x204f7d,_0x204f7d,Math['PI']*0x3/0x2,0x0,!0x1),_0x3b5a51[_0x5058b1(0x1ae)](_0xf9deb,_0x54dd7d-_0xc58ea5),_0x3b5a51['arc'](_0xf9deb-_0xc58ea5,_0x54dd7d-_0xc58ea5,_0xc58ea5,0x0,Math['PI']/0x2,!0x1),_0x3b5a51[_0x5058b1(0x1ae)](0x0,_0x54dd7d),_0x3b5a51[_0x5058b1(0x1ae)](0x0,_0x5928cc),_0x3b5a51[_0x5058b1(0x1ce)](_0x5928cc,_0x5928cc,_0x5928cc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3b5a51['closePath'](),_0x1d5501[_0x5058b1(0x292)]&&(_0x3b5a51['save'](),_0x3b5a51[_0x5058b1(0x2bc)]=_0x1d5501[_0x5058b1(0x292)],_0x1d5501['fillRule']==='evenodd'?_0x3b5a51[_0x5058b1(0x292)](_0x5058b1(0x12e)):_0x3b5a51[_0x5058b1(0x292)](),_0x3b5a51[_0x5058b1(0xf3)]());}class he extends _0x5dfd05{constructor(_0x5049fe,_0x40131f){const _0x38d08a=_0x5ccdac;super(_0x5049fe,_0x40131f),_(this,_0x38d08a(0x271)),_(this,_0x38d08a(0x264)),(this['color']=_0x40131f==null?void 0x0:_0x40131f['color'],this[_0x38d08a(0x264)]=_0x40131f==null?void 0x0:_0x40131f[_0x38d08a(0x264)]);}static[_0x5ccdac(0x256)](_0x34cfb6,_0x35347c){const _0x302329=_0x5ccdac,{text:_0x3eb881,color:_0x599252}=_0x35347c;_0x34cfb6[_0x302329(0x2d0)](),_0x34cfb6['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x255197=_0x34cfb6['measureText'](_0x3eb881)[_0x302329(0x103)],_0x226140=Math[_0x302329(0x203)](_0x255197+0x2*me,Qe);Oi(_0x34cfb6,{'height':ee,'radius':0x4,'width':_0x226140,'fill':_0x599252}),_0x34cfb6['fillStyle']=_0x302329(0x24c);const _0x3ff0ab=me,_0x1990be=ee-Ei,_0x205463=Qe-0x2*me;if(_0x255197>_0x205463){let _0x73b433='',_0x565d76=0x0;for(const _0x52f9e2 of _0x3eb881){const _0x135f83=_0x34cfb6[_0x302329(0x2a0)](_0x52f9e2)[_0x302329(0x103)];if(_0x565d76+_0x135f83<=_0x205463-_0x34cfb6[_0x302329(0x2a0)](_0x302329(0x2b4))[_0x302329(0x103)])_0x73b433+=_0x52f9e2,_0x565d76+=_0x135f83;else{_0x73b433+=_0x302329(0x2b4);break;}}_0x34cfb6[_0x302329(0x1f9)](_0x73b433,_0x3ff0ab,_0x1990be);}else _0x34cfb6[_0x302329(0x1f9)](_0x3eb881,_0x3ff0ab,_0x1990be);_0x34cfb6['restore']();}['_draw'](_0x458448){const _0x285c15=_0x5ccdac;he[_0x285c15(0x256)](_0x458448,this);}}const Ie='collab-text-anchor-',bi=_0x5ccdac(0x1a3),Ti=_0x5ccdac(0x1d4),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x303ea2,_0x2315b9,_0xabf60a,_0x4812bd){const _0x46aa8d=_0x5ccdac;_(this,_0x46aa8d(0x117),[]),_(this,_0x46aa8d(0x140),null),_(this,_0x46aa8d(0x1af),null),_(this,_0x46aa8d(0x137),null),_(this,_0x46aa8d(0x25b),null),_(this,_0x46aa8d(0x1cc),null),(this['_cursor']=_0x303ea2,this['_scene']=_0x2315b9,this[_0x46aa8d(0x197)]=_0xabf60a,this[_0x46aa8d(0x2b6)]=_0x4812bd,this[_0x46aa8d(0x21c)]());}set[_0x5ccdac(0x174)](_0x1991ea){const _0x4a5efd=_0x5ccdac;_0x1991ea?(this['_anchorDot']&&this[_0x4a5efd(0x137)][_0x4a5efd(0x255)](),this[_0x4a5efd(0x1af)]&&this[_0x4a5efd(0x1af)][_0x4a5efd(0x24d)]()):(this[_0x4a5efd(0x137)]&&this['_anchorDot'][_0x4a5efd(0x24d)](),this[_0x4a5efd(0x1af)]&&this[_0x4a5efd(0x1af)][_0x4a5efd(0x255)]());}[_0x5ccdac(0x1c4)](){const _0x28f931=_0x5ccdac;for(const _0x565ddc of this[_0x28f931(0x117)])_0x565ddc[_0x28f931(0x1c4)]();this['_textBubble']&&this[_0x28f931(0x1af)]['dispose'](),this[_0x28f931(0x137)]&&this[_0x28f931(0x137)][_0x28f931(0x1c4)](),this[_0x28f931(0x140)]&&this[_0x28f931(0x140)][_0x28f931(0x1c4)](),this[_0x28f931(0x1cc)]&&this[_0x28f931(0x1cc)]();}[_0x5ccdac(0x21c)](){const _0x24c7ed=_0x5ccdac;var _0x3cb52f;const {_docSkeleton:_0x459541,_document:_0x36605a}=this,{color:_0x49c895,name:_0x91d3c7,ranges:_0x5f3a53}=this[_0x24c7ed(0x267)],_0x99d4a6=_0x36605a[_0x24c7ed(0x29f)](),{docsLeft:_0x29210d,docsTop:_0x4f6c25}=_0x99d4a6,_0x21d088=new _0x53e06e(_0x99d4a6,_0x459541);for(const {startOffset:_0x7c58fe,endOffset:_0x4aa680,rangeType:_0xa5750a,segmentId:_0x32137a,segmentPage:_0x519ecf,collapsed:_0x23b042,isActive:_0x122657}of _0x5f3a53){const _0x4a0ad3=_0x459541[_0x24c7ed(0x25f)](_0x7c58fe,!0x0,_0x32137a,_0x519ecf);let _0x1a5082=_0x459541[_0x24c7ed(0x25f)](_0x4aa680,!0x0,_0x32137a,_0x519ecf);if(_0x1a5082==null&&(_0x1a5082=_0x459541['findNodePositionByCharIndex'](_0x4aa680-0x1,!0x1,_0x32137a,_0x519ecf)),_0x122657){const {contentBoxPointGroup:_0xcd4505}=_0x21d088[_0x24c7ed(0x14a)](_0x1a5082,_0x1a5082);if(_0xcd4505[_0x24c7ed(0x1da)]===0x0)continue;this['_drawAnchor'](_0x49c895,_0xcd4505,_0x29210d,_0x4f6c25,_0x91d3c7),this[_0x24c7ed(0x1cc)]=this[_0x24c7ed(0x246)]();}if(_0x4a0ad3&&_0x1a5082){if(_0xa5750a===_0x5cab35['RECT']){const _0x4edfeb=new _0x157fb2(_0x99d4a6,_0x459541),{pointGroup:_0x51a396}=(_0x3cb52f=_0x4edfeb[_0x24c7ed(0x14a)](_0x4a0ad3,_0x1a5082))!=null?_0x3cb52f:{};if(_0x51a396==null||_0x51a396[_0x24c7ed(0x1da)]===0x0)continue;this[_0x24c7ed(0x2ac)](_0x49c895,_0x51a396,_0x29210d,_0x4f6c25);}else{if(!_0x23b042){const {borderBoxPointGroup:_0x36cf9a}=_0x21d088['getRangePointData'](_0x4a0ad3,_0x1a5082);if(_0x36cf9a[_0x24c7ed(0x1da)]===0x0)continue;this[_0x24c7ed(0x224)](_0x49c895,_0x36cf9a,_0x29210d,_0x4f6c25);}}}}}[_0x5ccdac(0x14e)](_0xe9045b,_0x3ee158,_0x3d27cd,_0x1221a0,_0x16bcd9){const _0x39c6c8=_0x5ccdac,_0x23f208=this[_0x39c6c8(0x1d3)](_0x3ee158),{left:_0x1a31ea,top:_0x1713c1,height:_0x4c98bd}=_0x23f208,_0x1a8ef1=this[_0x39c6c8(0x143)](),_0x2a8070=Di/_0x1a8ef1,_0x3b9087=new _0x5abff7(Ie+_0x453a5f[_0x39c6c8(0x1cb)](X),{'left':_0x1a31ea+_0x3d27cd-_0x2a8070,'top':_0x1713c1+_0x1221a0,'height':_0x4c98bd,'width':Ri,'fill':_0xe9045b||_0x1a7fb3(_0xace774['black'],0x0),'strokeWidth':_0x2a8070,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x3b9087,this[_0x39c6c8(0x194)][_0x39c6c8(0x1f5)](_0x3b9087,_0x55fa23);const _0x28e230=new _0x5abff7(Ie+_0x453a5f[_0x39c6c8(0x1cb)](X),{'left':_0x1a31ea+_0x3d27cd-_0x2a8070,'top':_0x1713c1+_0x1221a0-ge/0x2,'height':ge,'width':ge,'fill':_0xe9045b||_0x1a7fb3(_0xace774['black'],0x0),'strokeWidth':0x0,'stroke':_0xe9045b||_0x1a7fb3(_0xace774[_0x39c6c8(0x102)],0x0),'evented':!0x1});this[_0x39c6c8(0x137)]=_0x28e230,this[_0x39c6c8(0x194)][_0x39c6c8(0x1f5)](_0x28e230,_0x55fa23);const _0x4e8b20=new he(Ie+_0x453a5f[_0x39c6c8(0x1cb)](X),{'left':_0x1a31ea+_0x3d27cd-_0x2a8070,'top':_0x1713c1+_0x1221a0-ee,'text':_0x16bcd9,'color':_0xe9045b});this[_0x39c6c8(0x1af)]=_0x4e8b20,this[_0x39c6c8(0x194)][_0x39c6c8(0x1f5)](_0x4e8b20,_0x55fa23),this[_0x39c6c8(0x174)]=!0x1;}['_handleHover'](){const _0x3a2245=_0x5ccdac,_0x5c9c38=this[_0x3a2245(0x140)][_0x3a2245(0x15a)][_0x3a2245(0x1d8)](()=>{this['_hover']=!0x0;}),_0x571957=this['_anchor'][_0x3a2245(0x116)][_0x3a2245(0x1d8)](()=>{const _0x134d80=_0x3a2245;this[_0x134d80(0x25b)]&&clearTimeout(this[_0x134d80(0x25b)]),this[_0x134d80(0x25b)]=setTimeout(()=>{const _0x356368=_0x134d80;this[_0x356368(0x174)]=!0x1;},0x7d0);});return()=>{const _0x1da11d=_0x3a2245;_0x5c9c38[_0x1da11d(0x29b)](),_0x571957[_0x1da11d(0x29b)]();};}['_drawTextRange'](_0x2b4daf,_0x299b88,_0x4749de,_0x5059e4){const _0x572b04=_0x5ccdac,_0x549520=new _0x366f4a(_0x2b4daf)['setAlpha'](0.2)[_0x572b04(0x253)](),_0x1ed218=new _0x58224e(bi+_0x453a5f['generateRandomId'](X),{'pointsGroup':_0x299b88,'fill':_0x549520||_0x1a7fb3(_0xace774[_0x572b04(0x102)],0.2),'left':_0x4749de,'top':_0x5059e4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x572b04(0x117)]['push'](_0x1ed218),this[_0x572b04(0x194)][_0x572b04(0x1f5)](_0x1ed218,_0x55fa23);}['_drawRectRange'](_0x331a10,_0x1ea298,_0x594283,_0x18a6ec){const _0x513779=_0x5ccdac,_0x44f2a2=new _0x366f4a(_0x331a10)['setAlpha'](0.2)[_0x513779(0x253)](),_0x3c32ef=new _0x58224e(Ti+_0x453a5f[_0x513779(0x1cb)](X),{'pointsGroup':_0x1ea298,'fill':_0x44f2a2||_0x1a7fb3(_0xace774[_0x513779(0x102)],0.2),'left':_0x594283,'top':_0x18a6ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x513779(0x117)]['push'](_0x3c32ef),this[_0x513779(0x194)][_0x513779(0x1f5)](_0x3c32ef,_0x55fa23);}['_getAnchorBounding'](_0x2eb659){const _0x160b79=_0x2eb659[0x0],_0x195595=_0x160b79[0x0],_0x37f08d=_0x160b79[0x2],{x:_0x1f7307,y:_0x589bb9}=_0x195595,{x:_0x503075,y:_0x247e27}=_0x37f08d;return{'left':_0x1f7307,'top':_0x589bb9,'width':_0x503075-_0x1f7307,'height':_0x247e27-_0x589bb9};}[_0x5ccdac(0x143)](){const _0x4d7641=_0x5ccdac,{scaleX:_0x14ed7c,scaleY:_0x40862c}=this[_0x4d7641(0x194)][_0x4d7641(0x126)]();return Math['max'](_0x14ed7c,_0x40862c);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0xb5c3a8,_0x1b9071,_0x420fc2,_0x5162db)=>{const _0x148dd8=_0x5ccdac;for(var _0x25fd93=_0x5162db>0x1?void 0x0:_0x5162db?Ui(_0x1b9071,_0x420fc2):_0x1b9071,_0x2d9238=_0xb5c3a8[_0x148dd8(0x1da)]-0x1,_0x653eb3;_0x2d9238>=0x0;_0x2d9238--)(_0x653eb3=_0xb5c3a8[_0x2d9238])&&(_0x25fd93=_0x653eb3(_0x25fd93)||_0x25fd93);return _0x25fd93;},Z=(_0x28da51,_0x4ac292)=>(_0x59a331,_0x183457)=>_0x4ac292(_0x59a331,_0x183457,_0x28da51);let we=class extends _0x1d3bed{constructor(_0x1c13ff,_0x1f442a,_0x1ab1c6,_0x268e53,_0x2a44b6){const _0x400b89=_0x5ccdac;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x400b89(0x1dd)]=_0x1c13ff,this[_0x400b89(0x16a)]=_0x1f442a,this[_0x400b89(0x1c6)]=_0x1ab1c6,this['_commandService']=_0x268e53,this[_0x400b89(0x28a)]=_0x2a44b6,this[_0x400b89(0x2c4)]());}[_0x5ccdac(0x2c4)](){const _0x14cb05=_0x5ccdac,_0x253ead=this[_0x14cb05(0x1dd)]['unitId'],_0x3e50b7=this[_0x14cb05(0x16a)];this['disposeWithMe'](_0x3ed33c([this['_collabCursorController'][_0x14cb05(0x202)](_0x253ead),this[_0x14cb05(0x28a)]['currentTheme$']])[_0x14cb05(0x107)](_0x13142d(([_0x17d9d8,_0x4759b0])=>({'skeleton':_0x3e50b7[_0x14cb05(0xe5)](),'cursors':[..._0x17d9d8['values']()][_0x14cb05(0x1a0)](_0x333517=>({..._0x333517,'color':this[_0x14cb05(0x28a)]['getColorFromTheme'](_0x333517[_0x14cb05(0x271)])}))})))[_0x14cb05(0x1fd)](_0x2fae51=>{const _0x1a30b5=_0x14cb05;if(this[_0x1a30b5(0x1c9)](),_0x2fae51){const {skeleton:_0x3d99d5,cursors:_0x59756a}=_0x2fae51;this[_0x1a30b5(0x1aa)](_0x3d99d5,_0x59756a);}})),this[_0x14cb05(0xe8)](),this['_initCommandExecutedListener']();}[_0x5ccdac(0x1aa)](_0x29febb,_0x3ad0d1){const _0x2dd98a=_0x5ccdac,{scene:_0x3aa78e,mainComponent:_0x41f8ac}=this[_0x2dd98a(0x1dd)],_0x294b4c=_0x3ad0d1[_0x2dd98a(0x1a5)](_0x1b4b10=>new qe(_0x1b4b10,_0x3aa78e,_0x29febb,_0x41f8ac));this[_0x2dd98a(0x169)]=_0x294b4c,this[_0x2dd98a(0x1d5)]=_0x3ad0d1;}[_0x5ccdac(0x2bf)](){const _0x24ebfb=_0x5ccdac;this[_0x24ebfb(0x1c9)]();const {scene:_0xc35b03,mainComponent:_0x24fc61}=this[_0x24ebfb(0x1dd)],_0x1fb460=this['_docSkeletonManagerService'][_0x24ebfb(0xe5)](),_0x17291b=this[_0x24ebfb(0x1d5)][_0x24ebfb(0x1a5)](_0x3f2da3=>new qe(_0x3f2da3,_0xc35b03,_0x1fb460,_0x24fc61));this['_cursorShapes']=_0x17291b;}[_0x5ccdac(0x1c9)](){const _0x2cd1f9=_0x5ccdac;this[_0x2cd1f9(0x169)]['forEach'](_0x2d3ab8=>_0x2d3ab8['dispose']()),this['_cursorShapes']=[];}[_0x5ccdac(0x233)](){const _0xc8b323=_0x5ccdac,_0x311395=[_0x17b391['id']];this[_0xc8b323(0x2e4)](this[_0xc8b323(0x213)][_0xc8b323(0x21d)](_0x314016=>{const _0x6be6b9=_0xc8b323;_0x311395[_0x6be6b9(0x240)](_0x314016['id'])&&_0x314016[_0x6be6b9(0x2d7)]['unitId']===this[_0x6be6b9(0x1dd)]['unitId']&&this[_0x6be6b9(0x2bf)]();}));}['_initResize'](){const _0x1b483e=_0x5ccdac;this[_0x1b483e(0x2e4)](_0x1ee04c(this[_0x1b483e(0x1dd)][_0x1b483e(0x2e7)][_0x1b483e(0x283)])[_0x1b483e(0x107)](_0x7a3f1a(_0x29fc4e=>_0x29fc4e['type']===_0x3c08ff[_0x1b483e(0x182)]),_0x8c9cc4(0x10))[_0x1b483e(0x1fd)](()=>{const _0x57105d=_0x1b483e;this[_0x57105d(0x2bf)]();}));}};we=Mi([Z(0x1,_0x5d30c5(_0x12e746)),Z(0x2,_0x5d30c5(H)),Z(0x3,_0x58b9f6),Z(0x4,_0x5d30c5(_0x442833))],we);const wi=0x1,Pi=1.5;class Li extends _0x5dfd05{constructor(_0x2cdfa1,_0x5584ce){const _0xdbe48=_0x5ccdac;super(_0x2cdfa1,_0x5584ce),_(this,_0xdbe48(0x1ec)),_(this,_0xdbe48(0x184),!0x1),_(this,'_range'),_(this,_0xdbe48(0xdd),''),_(this,'_labelPosition',_0xdbe48(0x259)),_(this,'_backgroundColor'),(_0x5584ce&&this[_0xdbe48(0x163)](_0x5584ce),this[_0xdbe48(0x15a)]['subscribeEvent'](()=>this[_0xdbe48(0x163)]({'hovered':!0x0})),this['onPointerLeave$'][_0xdbe48(0x1d8)](()=>this[_0xdbe48(0x163)]({'hovered':!0x1})));}[_0x5ccdac(0x163)](_0x12c0a2){const _0x3a123c=_0x5ccdac;var _0xb7f80c,_0x22a988,_0x682ef1,_0x5eb902,_0x137ab4,_0x9d2d7d;this[_0x3a123c(0x1ec)]=(_0xb7f80c=_0x12c0a2['color'])!=null?_0xb7f80c:this['_color'],this['_hovered']=(_0x22a988=_0x12c0a2['hovered'])!=null?_0x22a988:this[_0x3a123c(0x184)],this[_0x3a123c(0x1f0)]=(_0x682ef1=_0x12c0a2[_0x3a123c(0x249)])!=null?_0x682ef1:this[_0x3a123c(0x1f0)],this[_0x3a123c(0xdd)]=(_0x5eb902=_0x12c0a2[_0x3a123c(0x176)])!=null?_0x5eb902:this[_0x3a123c(0xdd)],this[_0x3a123c(0x1be)]=(_0x137ab4=_0x12c0a2['labelPosition'])!=null?_0x137ab4:this[_0x3a123c(0x1be)],this[_0x3a123c(0x20a)]=(_0x9d2d7d=_0x12c0a2[_0x3a123c(0xfa)])!=null?_0x9d2d7d:this['_backgroundColor'],this[_0x3a123c(0x295)]({'width':_0x12c0a2[_0x3a123c(0x103)],'height':_0x12c0a2[_0x3a123c(0x121)]});}[_0x5ccdac(0x1ea)](_0x14f2a1){const _0x11348c=_0x5ccdac,{row:_0x1da632,column:_0x116925}=_0x14f2a1;if(_0x1da632>=this[_0x11348c(0x1f0)][_0x11348c(0x134)]&&_0x1da632<=this['_range'][_0x11348c(0x1e1)]&&_0x116925>=this[_0x11348c(0x1f0)][_0x11348c(0x1bd)]&&_0x116925<=this[_0x11348c(0x1f0)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x11348c(0x163)]({'hovered':!0x1});}[_0x5ccdac(0xfe)](_0x4cce9d){return!0x1;}[_0x5ccdac(0x2d4)](_0x59b840){const _0x41dd37=_0x5ccdac;_0x5abff7[_0x41dd37(0x256)](_0x59b840,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x41dd37(0x1ec)],'evented':!0x1,'fill':this[_0x41dd37(0x20a)]}),this[_0x41dd37(0x184)]&&(_0x59b840[_0x41dd37(0x2d0)](),_0x59b840[_0x41dd37(0x2e1)](0x1,0x0,0x0,0x1,this['width'],this[_0x41dd37(0x1be)]==='bottom'?0x0:-0x14),he[_0x41dd37(0x256)](_0x59b840,{'text':this[_0x41dd37(0xdd)],'color':this[_0x41dd37(0x1ec)]}),_0x59b840[_0x41dd37(0xf3)]());}}var Ai=Object[_0x5ccdac(0x16f)],yi=(_0x46af3f,_0x4f3999,_0x5e1c48,_0x21382e)=>{const _0x14d808=_0x5ccdac;for(var _0x18951b=_0x21382e>0x1?void 0x0:_0x21382e?Ai(_0x4f3999,_0x5e1c48):_0x4f3999,_0x3e1ac7=_0x46af3f[_0x14d808(0x1da)]-0x1,_0x25ed60;_0x3e1ac7>=0x0;_0x3e1ac7--)(_0x25ed60=_0x46af3f[_0x3e1ac7])&&(_0x18951b=_0x25ed60(_0x18951b)||_0x18951b);return _0x18951b;},ve=(_0x20895c,_0x290a17)=>(_0x517853,_0x348527)=>_0x290a17(_0x517853,_0x348527,_0x20895c);const $i=0x1389;let Pe=class extends _0x1d3bed{constructor(_0x450b36,_0x3f9586,_0x43b39e,_0x15a14a){const _0x6fdc58=_0x5ccdac;super(),_(this,_0x6fdc58(0x1d5),new Set()),_(this,'_lastPointer',null),(this[_0x6fdc58(0x1dd)]=_0x450b36,this[_0x6fdc58(0x252)]=_0x3f9586,this['_collabCursorController']=_0x43b39e,this[_0x6fdc58(0x28a)]=_0x15a14a,this[_0x6fdc58(0x2c4)]());}[_0x5ccdac(0x2c4)](){const _0x4ada62=_0x5ccdac;this[_0x4ada62(0x252)][_0x4ada62(0x294)]['pipe'](_0x115372(this[_0x4ada62(0x195)]),_0x594866(_0x151f56=>{const _0x41411e=_0x4ada62;if(_0x151f56){const _0x5e5ca5=_0x151f56[_0x41411e(0x250)];return _0x3ed33c(this[_0x41411e(0x1c6)][_0x41411e(0x202)](this[_0x41411e(0x1dd)]['unitId']),this[_0x41411e(0x28a)][_0x41411e(0xf8)])[_0x41411e(0x107)](_0x13142d(([_0x38d489,_0xc5ced8])=>{const _0x35d62a=_0x41411e,_0xac5518=new Map();return _0x38d489[_0x35d62a(0x28e)]((_0x45e44d,_0x55c235)=>{const _0x41e714=_0x35d62a;if(_0x45e44d[_0x41e714(0x2a4)]===_0x5e5ca5){const _0x493e04={..._0x45e44d};_0x493e04['color']=this[_0x41e714(0x28a)][_0x41e714(0xf4)](_0x45e44d[_0x41e714(0x271)]),_0xac5518[_0x41e714(0x11b)](_0x55c235,_0x493e04);}}),{'skeleton':_0x151f56,'cursors':_0xac5518};}));}return _0x430603({'skeleton':null,'cursors':new Map()});}))[_0x4ada62(0x1fd)](({skeleton:_0xadf3cd,cursors:_0x31646c})=>{this['_removeCollabCursors'](),_0xadf3cd&&this['_updateCollabCursors'](_0xadf3cd,_0x31646c);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4ada62(0x1fd)](_0x4ba060=>{const _0x10ff0c=_0x4ada62;if(_0x4ba060==null)return;const {skeleton:_0x36721d}=_0x4ba060,{scene:_0x2a8e92}=this[_0x10ff0c(0x1dd)];_0x2a8e92[_0x10ff0c(0x286)][_0x10ff0c(0x1d8)](_0xa76b4c(_0x2d39b1=>{const _0x163ccf=_0x10ff0c;var _0x536269,_0x5ea33b;const {offsetX:_0x476066,offsetY:_0x53072e}=_0x2d39b1,{x:_0x23ec2d,y:_0x5635f2}=_0x2a8e92[_0x163ccf(0x171)](_0x576202[_0x163ccf(0x229)]([_0x476066,_0x53072e])),{scaleX:_0x33bfc8,scaleY:_0x37ddd7}=_0x2a8e92[_0x163ccf(0x126)](),_0x3d84f5=_0x2a8e92['getViewport'](_0x3973d7[_0x163ccf(0x26d)]),_0x1c8a12=_0x2a8e92[_0x163ccf(0x141)](_0x576202[_0x163ccf(0x229)]([_0x23ec2d,_0x5635f2]),_0x3d84f5),_0xc2953f=_0x36721d[_0x163ccf(0x297)](_0x476066,_0x53072e,_0x33bfc8,_0x37ddd7,_0x1c8a12);((_0x536269=this[_0x163ccf(0x21a)])==null?void 0x0:_0x536269[_0x163ccf(0x183)])===_0xc2953f[_0x163ccf(0x183)]&&((_0x5ea33b=this[_0x163ccf(0x21a)])==null?void 0x0:_0x5ea33b[_0x163ccf(0x1c2)])===_0xc2953f[_0x163ccf(0x1c2)]||this[_0x163ccf(0x1d5)][_0x163ccf(0x28e)](_0x2a61d1=>{const _0x371698=_0x163ccf;_0x2a61d1[_0x371698(0x1ea)](_0xc2953f);});},0x64));});}[_0x5ccdac(0x1aa)](_0x1fcb34,_0x1ecb35){const _0xda1dc4=_0x5ccdac;var _0x6c6d25;const _0x3f1bf8=(_0x6c6d25=this[_0xda1dc4(0x252)]['getCurrent']())==null?void 0x0:_0x6c6d25[_0xda1dc4(0x266)];if(!_0x3f1bf8)return;const _0x3be235=this[_0xda1dc4(0x19c)]();if(!_0x3be235)return;this['_cursors'][_0xda1dc4(0x28e)](_0x358a82=>{const _0x1726b9=_0xda1dc4;_0x358a82[_0x1726b9(0xf0)]();});const {scene:_0x3a857c}=_0x3be235,_0x451af1=xi(Array[_0xda1dc4(0x131)](_0x1ecb35[_0xda1dc4(0x11e)]()))[_0xda1dc4(0x1a5)](_0x45ca50=>{const _0x52d921=_0xda1dc4,{color:_0x6a897e,range:_0x57bc4c,name:_0x2ff00c,selection:_0x17609a,sheetID:_0x45477d}=_0x45ca50,{startColumn:_0x2f8f68,startRow:_0x4c2712,endColumn:_0x105883,endRow:_0x4fe53d}=_0x57bc4c,_0x323173=_0x8e1141(_0x4c2712,_0x2f8f68,_0x3a857c,_0x3f1bf8),_0x2b29e3=_0x8e1141(_0x4fe53d,_0x105883,_0x3a857c,_0x3f1bf8),{columnHeaderHeightAndMarginTop:_0xc048cf}=_0x3f1bf8,{startX:_0x9d8217,startY:_0x1e96a5}=_0x323173,{endX:_0x3793d0,endY:_0x28da0a}=_0x2b29e3,_0x3f2873=_0x3793d0-_0x9d8217,_0x55ff8d=_0x28da0a-_0x1e96a5,_0x4b0be2={'labelPosition':_0x1e96a5-_0xc048cf>=ee?_0x52d921(0x259):_0x52d921(0x196),'sheetID':_0x45477d,'range':_0x57bc4c,'color':_0x6a897e,'name':_0x2ff00c,'selection':_0x17609a,'left':_0x9d8217,'top':_0x1e96a5,'width':_0x3f2873,'height':_0x55ff8d,'evented':!0x1,'zIndex':$i};return new Li(_0x2ff00c,_0x4b0be2);});_0x3a857c[_0xda1dc4(0x1e4)](_0x451af1,wi),this[_0xda1dc4(0x1d5)]=new Set(_0x451af1);}[_0x5ccdac(0x1c9)](){const _0x1c684c=_0x5ccdac;var _0x1bf9dc;(_0x1bf9dc=this[_0x1c684c(0x1d5)])==null||_0x1bf9dc['forEach'](_0x313438=>_0x313438[_0x1c684c(0x1c4)]());}[_0x5ccdac(0x19c)](){const _0x3f706e=_0x5ccdac;return _0x29c69e(this[_0x3f706e(0x1dd)]['unit'],this[_0x3f706e(0x1dd)]);}};Pe=yi([ve(0x1,_0x5d30c5(_0x16790c)),ve(0x2,_0x5d30c5(H)),ve(0x3,_0x5d30c5(_0x442833))],Pe);function xi(_0x5422fe){const _0x302caa=_0x5ccdac,_0x1f3250=new Map();return _0x5422fe[_0x302caa(0x28e)](_0x635dd9=>{const _0x52c2c1=_0x302caa;if(_0x1f3250['has'](_0x635dd9['selection'])){const _0x4c51dc=_0x1f3250['get'](_0x635dd9[_0x52c2c1(0x263)]);_0x4c51dc['name']+=',\x20'+_0x635dd9[_0x52c2c1(0x176)];}else _0x1f3250[_0x52c2c1(0x11b)](_0x635dd9[_0x52c2c1(0x263)],_0x635dd9);}),Array[_0x302caa(0x131)](_0x1f3250[_0x302caa(0x11e)]());}var v=function(){const _0x5f2225=_0x5ccdac;return v=Object[_0x5f2225(0x2a7)]||function(_0x1b5e0d){const _0x68ac3b=_0x5f2225;for(var _0x3f522d,_0x5bb371=0x1,_0x4aa1b2=arguments[_0x68ac3b(0x1da)];_0x5bb371<_0x4aa1b2;_0x5bb371++){_0x3f522d=arguments[_0x5bb371];for(var _0xd65fe1 in _0x3f522d)Object[_0x68ac3b(0x2ad)][_0x68ac3b(0x146)][_0x68ac3b(0x214)](_0x3f522d,_0xd65fe1)&&(_0x1b5e0d[_0xd65fe1]=_0x3f522d[_0xd65fe1]);}return _0x1b5e0d;},v['apply'](this,arguments);},Bi=function(_0x209965,_0x5a4986){const _0x284f4b=_0x5ccdac;var _0x2de56c={};for(var _0x48aff6 in _0x209965)Object[_0x284f4b(0x2ad)][_0x284f4b(0x146)][_0x284f4b(0x214)](_0x209965,_0x48aff6)&&_0x5a4986[_0x284f4b(0x28f)](_0x48aff6)<0x0&&(_0x2de56c[_0x48aff6]=_0x209965[_0x48aff6]);if(_0x209965!=null&&typeof Object['getOwnPropertySymbols']==_0x284f4b(0x231)){for(var _0x2f0ea3=0x0,_0x48aff6=Object[_0x284f4b(0x23f)](_0x209965);_0x2f0ea3<_0x48aff6['length'];_0x2f0ea3++)_0x5a4986[_0x284f4b(0x28f)](_0x48aff6[_0x2f0ea3])<0x0&&Object[_0x284f4b(0x2ad)][_0x284f4b(0x1a1)][_0x284f4b(0x214)](_0x209965,_0x48aff6[_0x2f0ea3])&&(_0x2de56c[_0x48aff6[_0x2f0ea3]]=_0x209965[_0x48aff6[_0x2f0ea3]]);}return _0x2de56c;},je=_0x40c795(function(_0x365095,_0x131bf6){const _0x3b2fe6=_0x5ccdac;var _0x59c22c=_0x365095[_0x3b2fe6(0x13c)],_0x3d1149=_0x365095['id'],_0x24c52e=_0x365095['className'],_0x75c6f7=_0x365095[_0x3b2fe6(0x101)],_0x58d52a=Bi(_0x365095,[_0x3b2fe6(0x13c),'id',_0x3b2fe6(0x24e),_0x3b2fe6(0x101)]),_0x290c41=_0x3b2fe6(0x243)['concat'](_0x3d1149,'\x20')[_0x3b2fe6(0x13a)](_0x24c52e||'')['trim'](),_0x5a65e6=_0x1787f1('_'[_0x3b2fe6(0x13a)](ji()));return Rt(_0x59c22c,''[_0x3b2fe6(0x13a)](_0x3d1149),{'defIds':_0x59c22c[_0x3b2fe6(0x115)],'idSuffix':_0x5a65e6['current']},v({'ref':_0x131bf6,'className':_0x290c41},_0x58d52a),_0x75c6f7);});function Rt(_0x10ade2,_0x293e9c,_0x340285,_0x3e5cbf,_0x333a13){const _0x1ee88c=_0x5ccdac;return _0x4c6a71(_0x10ade2[_0x1ee88c(0x1ee)],v(v({'key':_0x293e9c},ki(_0x10ade2,_0x340285,_0x333a13)),_0x3e5cbf),(Hi(_0x10ade2,_0x340285)[_0x1ee88c(0xe3)]||[])[_0x1ee88c(0x1a5)](function(_0x38d6b1,_0x5efdb6){const _0x511209=_0x1ee88c;return Rt(_0x38d6b1,''[_0x511209(0x13a)](_0x293e9c,'-')[_0x511209(0x13a)](_0x10ade2[_0x511209(0x1ee)],'-')['concat'](_0x5efdb6),_0x340285,void 0x0,_0x333a13);}));}function ki(_0x43f46e,_0x473e2f,_0x2979a1){const _0x2869fd=_0x5ccdac;var _0x2d66fd=v({},_0x43f46e[_0x2869fd(0x2c5)]);_0x2979a1!=null&&_0x2979a1[_0x2869fd(0x270)]&&_0x2d66fd[_0x2869fd(0x292)]===_0x2869fd(0x270)&&(_0x2d66fd[_0x2869fd(0x292)]=_0x2979a1[_0x2869fd(0x270)]),_0x43f46e[_0x2869fd(0x1ee)]===_0x2869fd(0x2ca)&&_0x2d66fd['id']&&(_0x2d66fd['id']=_0x2d66fd['id']+_0x473e2f[_0x2869fd(0xda)]),Object[_0x2869fd(0x1e0)](_0x2d66fd)[_0x2869fd(0x28e)](function(_0xc18d5d){const _0x3e9ce7=_0x2869fd;var _0x2d49e9=_0xc18d5d[0x0],_0x2a76b9=_0xc18d5d[0x1];_0x2d49e9===_0x3e9ce7(0x2ca)&&typeof _0x2a76b9=='string'&&(_0x2d66fd[_0x2d49e9]=_0x2a76b9[_0x3e9ce7(0x1a9)](/url\(#(.*)\)/,_0x3e9ce7(0x167)[_0x3e9ce7(0x13a)](_0x473e2f[_0x3e9ce7(0xda)],')')));});var _0x30363a=_0x473e2f['defIds'];return!_0x30363a||_0x30363a['length']===0x0||(_0x43f46e[_0x2869fd(0x1ee)]===_0x2869fd(0x14c)&&_0x2d66fd[_0x2869fd(0x17d)]&&(_0x2d66fd[_0x2869fd(0x17d)]=_0x2d66fd[_0x2869fd(0x17d)]+_0x473e2f[_0x2869fd(0xda)]),Object[_0x2869fd(0x1e0)](_0x2d66fd)[_0x2869fd(0x28e)](function(_0x338a89){const _0x15933c=_0x2869fd;var _0x39f47a=_0x338a89[0x0],_0x37d60f=_0x338a89[0x1];typeof _0x37d60f==_0x15933c(0x1c7)&&(_0x2d66fd[_0x39f47a]=_0x37d60f['replace'](/url\(#(.*)\)/,'url(#$1'[_0x15933c(0x13a)](_0x473e2f['idSuffix'],')')));})),_0x2d66fd;}function Hi(_0x3f6674,_0x5a9110){const _0x75f58f=_0x5ccdac;var _0xcfb6ff,_0x1f36e3=_0x5a9110[_0x75f58f(0x115)];return!_0x1f36e3||_0x1f36e3[_0x75f58f(0x1da)]===0x0?_0x3f6674:_0x3f6674[_0x75f58f(0x1ee)]===_0x75f58f(0x220)&&(!((_0xcfb6ff=_0x3f6674[_0x75f58f(0xe3)])===null||_0xcfb6ff===void 0x0)&&_0xcfb6ff[_0x75f58f(0x1da)])?v(v({},_0x3f6674),{'children':_0x3f6674[_0x75f58f(0xe3)]['map'](function(_0xa325e6){const _0x40cd87=_0x75f58f;return typeof _0xa325e6[_0x40cd87(0x2c5)]['id']=='string'&&_0x1f36e3&&_0x1f36e3['includes'](_0xa325e6[_0x40cd87(0x2c5)]['id'])?v(v({},_0xa325e6),{'attrs':v(v({},_0xa325e6['attrs']),{'id':_0xa325e6[_0x40cd87(0x2c5)]['id']+_0x5a9110[_0x40cd87(0xda)]})}):_0xa325e6;})}):_0x3f6674;}function ji(){const _0x3e3fc0=_0x5ccdac;return Math['random']()[_0x3e3fc0(0x1bb)](0x24)[_0x3e3fc0(0x1b1)](0x2,0x8);}je[_0x5ccdac(0x1a8)]=_0x5ccdac(0x1b0);var Yi={'tag':_0x5ccdac(0x119),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5ccdac(0xe7),'viewBox':_0x5ccdac(0x1bf),'width':_0x5ccdac(0x2ab),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5ccdac(0xf7)},'children':[{'tag':'path','attrs':{'stroke':_0x5ccdac(0x13f),'d':_0x5ccdac(0x15f),'strokeLinecap':_0x5ccdac(0x152),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5ccdac(0x220),'attrs':{},'children':[{'tag':_0x5ccdac(0x187),'attrs':{'id':_0x5ccdac(0x23d)},'children':[{'tag':_0x5ccdac(0x15d),'attrs':{'fill':_0x5ccdac(0x12f),'d':_0x5ccdac(0x293)}}]}]}],'defIds':[_0x5ccdac(0x23d)]},Dt=_0x40c795(function(_0x56dd66,_0x473b9d){const _0x332e6a=_0x5ccdac;return _0x4c6a71(je,Object[_0x332e6a(0x2a7)]({},_0x56dd66,{'id':_0x332e6a(0x1e5),'ref':_0x473b9d,'icon':Yi}));});Dt[_0x5ccdac(0x1a8)]=_0x5ccdac(0x10f);var Fi={'tag':_0x5ccdac(0x119),'attrs':{'xmlns':_0x5ccdac(0x254),'fill':_0x5ccdac(0xe7),'viewBox':_0x5ccdac(0x2e5),'width':_0x5ccdac(0x2ab),'height':_0x5ccdac(0x2ab)},'children':[{'tag':'g','attrs':{'clipPath':_0x5ccdac(0x19a)},'children':[{'tag':'path','attrs':{'stroke':_0x5ccdac(0x13f),'d':_0x5ccdac(0x21e),'strokeLinecap':'round','strokeLinejoin':_0x5ccdac(0x152),'strokeWidth':1.2}}]},{'tag':_0x5ccdac(0x220),'attrs':{},'children':[{'tag':_0x5ccdac(0x187),'attrs':{'id':_0x5ccdac(0x215)},'children':[{'tag':'path','attrs':{'fill':_0x5ccdac(0x12f),'d':'M0\x200H16V16H0z','transform':_0x5ccdac(0x113)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x40c795(function(_0x19456b,_0x3bfb9f){const _0x3a6573=_0x5ccdac;return _0x4c6a71(je,Object['assign']({},_0x19456b,{'id':_0x3a6573(0xfc),'ref':_0x3bfb9f,'icon':Fi}));});Nt[_0x5ccdac(0x1a8)]='OnLineIcon';function Wi(_0x25143d){const _0x491537=_0x5ccdac;switch(_0x25143d){case _0x24642c['OFFLINE']:return _0x491537(0x210);case _0x24642c[_0x491537(0x2ce)]:return'collabStatus.conflict';case _0x24642c[_0x491537(0xff)]:return'collabStatus.fetchMiss';case _0x24642c[_0x491537(0x10e)]:return _0x491537(0xf9);case _0x24642c[_0x491537(0x120)]:case _0x24642c[_0x491537(0x1b2)]:return _0x491537(0x206);case _0x24642c[_0x491537(0x178)]:case _0x24642c[_0x491537(0xf1)]:return _0x491537(0xee);}}function Vi(_0x5b9bdf){const _0x4b17b9=_0x5ccdac,{status$:_0x436da9}=_0x5b9bdf,_0x315e54=_0x162370(_0x436da9,_0x24642c['NOT_COLLAB']),_0x266690=_0x2693a3(_0x3f7747),_0x2310c4=_0x2693a3(_0x32b0dc),_0x4aa624=_0x315e54!==_0x24642c[_0x4b17b9(0x156)],_0x29e3b0=_0x266690['t'](Wi(_0x315e54)),_0x86bca0=_0x4aa624?_0x20c2d2(Nt,{}):_0x20c2d2(Dt,{}),_0x23affb=_0x328165(()=>{const _0x18e361=_0x4b17b9;_0x4aa624||_0x2310c4[_0x18e361(0xdf)]();},[_0x4aa624,_0x2310c4]);function _0x106268(){const _0x24dfa6=_0x4b17b9;return _0x54c13b(_0x24dfa6(0x124),{'className':_0x24dfa6(0x2dd),'onClick':_0x23affb,'children':[_0x20c2d2(_0x24dfa6(0x124),{'className':_0x4800c1(_0x24dfa6(0x27b),{'univer-text-green-500':_0x4aa624,'univer-text-red-500':!_0x4aa624}),'children':_0x86bca0}),_0x20c2d2(_0x24dfa6(0x124),{'className':_0x24dfa6(0x1d2),'children':_0x29e3b0})]});}return _0x4aa624?_0x106268():_0x20c2d2(_0x4b5462,{'title':_0x266690['t'](_0x4b17b9(0xe1)),'children':_0x106268()});}var Xi=Object[_0x5ccdac(0x16f)],Gi=(_0x89e52e,_0x53eee2,_0x4878c7,_0x1d5baf)=>{const _0x49975c=_0x5ccdac;for(var _0x53fcd1=_0x1d5baf>0x1?void 0x0:_0x1d5baf?Xi(_0x53eee2,_0x4878c7):_0x53eee2,_0x34a3ac=_0x89e52e[_0x49975c(0x1da)]-0x1,_0xfcf1c5;_0x34a3ac>=0x0;_0x34a3ac--)(_0xfcf1c5=_0x89e52e[_0x34a3ac])&&(_0x53fcd1=_0xfcf1c5(_0x53fcd1)||_0x53fcd1);return _0x53fcd1;},Q=(_0x519b79,_0x1bf03a)=>(_0x217187,_0x269440)=>_0x1bf03a(_0x217187,_0x269440,_0x519b79);let te=class extends _0x511293{constructor(_0x32b607,_0x490721,_0xe934b5,_0x2b558d){const _0x38f525=_0x5ccdac;super(),_(this,_0x38f525(0x222),new _0x2cc9b0(_0x24642c[_0x38f525(0x10e)])),(this[_0x38f525(0x232)]=_0x32b607,this[_0x38f525(0x165)]=_0x490721,this[_0x38f525(0x258)]=_0xe934b5,this[_0x38f525(0x1b7)]=_0x2b558d,this[_0x38f525(0x16c)](),this[_0x38f525(0x2aa)]());}[_0x5ccdac(0x2aa)](){const _0x387d3a=_0x5ccdac;this[_0x387d3a(0x2e4)](this[_0x387d3a(0x232)][_0x387d3a(0x2e6)][_0x387d3a(0x107)](_0xb781b0(()=>{const _0x1165f3=_0x387d3a,_0x704b2b=this[_0x1165f3(0x232)][_0x1165f3(0x11d)]();return _0x704b2b?this[_0x1165f3(0x258)][_0x1165f3(0x14f)](_0x704b2b[_0x1165f3(0x2d9)]()):_0x430603(null);}),_0xb781b0(_0x4fb048=>_0x4fb048?_0x4fb048[_0x387d3a(0x2a6)]:_0x430603(_0x24642c[_0x387d3a(0x10e)])))[_0x387d3a(0x1fd)](_0x4af079=>{const _0x383e5c=_0x387d3a;this['_status$'][_0x383e5c(0x19b)](_0x4af079);}));}[_0x5ccdac(0x16c)](){const _0x3b40f0=_0x5ccdac;this[_0x3b40f0(0x2e4)](this['_uiPartsService']['registerComponent'](_0x3af043[_0x3b40f0(0x29a)],()=>_0x3af94b(Ki({'status$':this['_status$']['asObservable']()}),this[_0x3b40f0(0x165)])));}};te=Gi([Q(0x0,_0xb0b851),Q(0x1,_0x5d30c5(_0x1594b9)),Q(0x2,_0x5d30c5(_0x2454ce)),Q(0x3,_0x4d441f)],te);function Ki(_0x2bab61){const {status$:_0x1ecd66}=_0x2bab61;return function(){return _0x20c2d2(Vi,{'status$':_0x1ecd66});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x24c3ae,_0x16bd24,_0x335cae,_0x40f52d)=>{const _0x3de8c4=_0x5ccdac;for(var _0x1f3c0d=_0x40f52d>0x1?void 0x0:_0x40f52d?zi(_0x16bd24,_0x335cae):_0x16bd24,_0x4b142f=_0x24c3ae[_0x3de8c4(0x1da)]-0x1,_0xd5502d;_0x4b142f>=0x0;_0x4b142f--)(_0xd5502d=_0x24c3ae[_0x4b142f])&&(_0x1f3c0d=_0xd5502d(_0x1f3c0d)||_0x1f3c0d);return _0x1f3c0d;},B=(_0x597d41,_0x192c60)=>(_0x527827,_0xed444a)=>_0x192c60(_0x527827,_0xed444a,_0x597d41);let se=class extends _0x511293{constructor(_0x2fc4f3,_0x19408b,_0x47ae88,_0x1d4366,_0x3d4a74,_0x135c74){const _0x1adf67=_0x5ccdac;super(),this[_0x1adf67(0x282)]=_0x2fc4f3,this[_0x1adf67(0x168)]=_0x19408b,this[_0x1adf67(0x28d)]=_0x47ae88,this[_0x1adf67(0x18d)]=_0x1d4366,this[_0x1adf67(0x20f)]=_0x3d4a74,this[_0x1adf67(0x16b)]=_0x135c74,this[_0x1adf67(0x1ac)](),this[_0x1adf67(0x1c1)]();}['_setupBeforeClosingHandler'](){const _0x18837a=_0x5ccdac;this[_0x18837a(0x2e4)](this['_beforeCloseService'][_0x18837a(0x18c)](()=>{const _0x13c1c8=_0x18837a;if(this[_0x13c1c8(0x168)][_0x13c1c8(0x142)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x5ccdac(0x1c1)](){const _0x43db35=_0x5ccdac;this[_0x43db35(0x2e4)](this['_collaborationUIEventService']['event$']['subscribe'](_0x2783fc=>{const _0x16292d=_0x43db35;_0x2783fc['id']===_0x1481ad[_0x16292d(0x26f)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x122)],'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0x216))}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x284)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec['Warning'],'content':this['_localeService']['t'](_0x16292d(0x2e2))}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x22f)]&&this[_0x16292d(0x20f)]['show']({'title':this[_0x16292d(0x16b)]['t'](_0x16292d(0xeb)),'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0x17a)),'type':_0x16292d(0x135),'duration':0x0}),_0x2783fc['id']===_0x1481ad['CONFLICT']&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x285)],'content':this['_localeService']['t'](_0x16292d(0x2e2))+'('+_0x2783fc[_0x16292d(0x28c)]+')'}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x2bb)]&&this[_0x16292d(0x18d)]['show']({'type':_0x18f4ec[_0x16292d(0x122)],'content':this[_0x16292d(0x16b)]['t'](_0x2783fc[_0x16292d(0x28c)]||'')}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x15b)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x122)],'content':this[_0x16292d(0x16b)]['t']('session.will-retry')}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x186)]&&this['_messageService'][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x285)],'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0xd9))}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x20c)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x285)],'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0x2b5))});}));}};se=Ji([B(0x0,_0x50d1d5),B(0x1,_0x820aa4),B(0x2,_0x5d30c5(_0x16f682)),B(0x3,_0x23f879),B(0x4,_0x5267e1),B(0x5,_0x5d30c5(_0x3f7747))],se);const Zi=_0x5ccdac(0x1ff),et={},Ut=_0x52e467(_0x5ccdac(0x27f));var Qi=Object[_0x5ccdac(0x16f)],qi=(_0x1fc05e,_0x258b73,_0x14c357,_0x25f41e)=>{for(var _0x5d1a5c=_0x25f41e>0x1?void 0x0:_0x25f41e?Qi(_0x258b73,_0x14c357):_0x258b73,_0x5536b1=_0x1fc05e['length']-0x1,_0x435eb0;_0x5536b1>=0x0;_0x5536b1--)(_0x435eb0=_0x1fc05e[_0x5536b1])&&(_0x5d1a5c=_0x435eb0(_0x5d1a5c)||_0x5d1a5c);return _0x5d1a5c;},G=(_0x44e818,_0x398cd1)=>(_0x52d35b,_0x5def09)=>_0x398cd1(_0x52d35b,_0x5def09,_0x44e818);let ie=class extends _0x1d3bed{constructor(_0x68cd44,_0x2a16e8,_0x539a12,_0x38b9e5,_0xcf2d0a){const _0x558890=_0x5ccdac;super(),this['_urlService']=_0x68cd44,this[_0x558890(0x109)]=_0x2a16e8,this['_commandService']=_0x539a12,this[_0x558890(0x2db)]=_0x38b9e5,_0xcf2d0a?_0xcf2d0a==null||_0xcf2d0a[_0x558890(0x17f)]()[_0x558890(0x1ef)](()=>this[_0x558890(0x2c4)]()):(this[_0x558890(0x109)][_0x558890(0x238)]('[CollaborationDataLoaderController]',_0x558890(0x179)),this[_0x558890(0x2c4)]());}async[_0x5ccdac(0x2c4)](){const _0x430cd1=_0x5ccdac,_0x3d7ee7=this['_urlService'][_0x430cd1(0x22a)](_0x430cd1(0xd7)),_0x285ebb=this['_urlService'][_0x430cd1(0x22a)](_0x430cd1(0x1f6)),_0x106054=this[_0x430cd1(0x157)]['getParam'](_0x430cd1(0x22c));if(!_0x3d7ee7||!_0x285ebb){this[_0x430cd1(0x109)]['debug'](_0x430cd1(0x2d3),_0x430cd1(0x236));return;}const _0x2eca2a=await this[_0x430cd1(0x2db)][_0x430cd1(0x2cb)](_0x3d7ee7,Number(_0x285ebb),_0x106054);_0x2eca2a&&_0x2eca2a instanceof _0x49cb7d&&this['_setupSubUnitSync'](_0x2eca2a);}async['_setupSubUnitSync'](_0x3082f6){const _0x5b71a8=_0x5ccdac;await this[_0x5b71a8(0x19f)](_0x3082f6),_0x3082f6['activeSheet$'][_0x5b71a8(0x107)](_0xcffb89(this[_0x5b71a8(0x195)]))[_0x5b71a8(0x1fd)](_0xa8757c=>{_0xa8757c&&this['_updateURLWithCurrentState'](_0xa8757c);}),this[_0x5b71a8(0x157)][_0x5b71a8(0xe4)][_0x5b71a8(0x107)](_0xcffb89(this['dispose$']))[_0x5b71a8(0x1fd)](()=>this[_0x5b71a8(0x19f)](_0x3082f6));}[_0x5ccdac(0x261)](_0x130f55,_0x463a8a=!0x1){const _0x5c3427=_0x5ccdac,_0x4f5ddc=this['_urlService']['getParam'](_0x5c3427(0x22c));_0x130f55[_0x5c3427(0x2c3)]()!==_0x4f5ddc&&this[_0x5c3427(0x157)][_0x5c3427(0xfd)](_0x5c3427(0x22c),_0x130f55[_0x5c3427(0x2c3)](),_0x463a8a);}async[_0x5ccdac(0x19f)](_0x74c3f1){const _0x46e757=_0x5ccdac;var _0x3248e2;const _0x44e0e1=this[_0x46e757(0x157)][_0x46e757(0x22a)](_0x46e757(0x22c));if(!_0x44e0e1||!_0x74c3f1[_0x46e757(0x257)](_0x44e0e1)){const _0x12d5c1=_0x74c3f1[_0x46e757(0x104)]()[0x0],_0x2d9f13=_0x74c3f1['getSheetBySheetId'](_0x12d5c1);if(!_0x2d9f13)return;this[_0x46e757(0x261)](_0x2d9f13,!0x0),await this[_0x46e757(0x213)][_0x46e757(0x29d)](_0x223adf['id'],{'unitId':_0x74c3f1[_0x46e757(0x2d9)](),'subUnitId':_0x12d5c1});return;}((_0x3248e2=_0x74c3f1['getActiveSheet']())==null?void 0x0:_0x3248e2[_0x46e757(0x2c3)]())!==_0x44e0e1&&await this['_commandService'][_0x46e757(0x29d)](_0x223adf['id'],{'unitId':_0x74c3f1[_0x46e757(0x2d9)](),'subUnitId':_0x44e0e1});}};ie=qi([G(0x0,Ut),G(0x1,_0x4baf39),G(0x2,_0x58b9f6),G(0x3,_0x5d30c5(_0xb4f128)),G(0x4,_0x12fdaa(_0x539a03))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x1e5866,_0x5edfc7,_0x2fe5da,_0x32d703)=>{const _0x4b1d7e=_0x5ccdac;for(var _0x3fccc6=_0x32d703>0x1?void 0x0:_0x32d703?en(_0x5edfc7,_0x2fe5da):_0x5edfc7,_0x1759f4=_0x1e5866[_0x4b1d7e(0x1da)]-0x1,_0x3a302e;_0x1759f4>=0x0;_0x1759f4--)(_0x3a302e=_0x1e5866[_0x1759f4])&&(_0x3fccc6=_0x3a302e(_0x3fccc6)||_0x3fccc6);return _0x3fccc6;},pe=(_0x5d961a,_0x12d47c)=>(_0x22add4,_0x32360e)=>_0x12d47c(_0x22add4,_0x32360e,_0x5d961a);let ne=class{constructor(_0x404f19,_0x486fcd,_0x418d79){const _0x114c48=_0x5ccdac;this['_injector']=_0x404f19,this[_0x114c48(0x10b)]=_0x486fcd,this[_0x114c48(0x112)]=_0x418d79;}[_0x5ccdac(0x291)](_0x454da1){const _0x504042=_0x5ccdac;this[_0x504042(0x181)](_0x454da1),this[_0x504042(0x20e)](_0x454da1);}[_0x5ccdac(0x149)](_0x5a44d6){const _0x248339=_0x5ccdac,{unitID:_0x597b23}=_0x5a44d6,_0x194d3b=this[_0x248339(0x112)]['getRenderById'](_0x597b23)['with'](_0x309075),{redoCache:_0x13bf10}=_0x194d3b[_0x248339(0x1b6)]();if(_0x13bf10[_0x248339(0x1da)]===0x0)return _0x5a44d6;let _0x305fe9=_0x453a5f[_0x248339(0x2af)](_0x5a44d6[_0x248339(0x201)][0x0]);for(let _0xd2db5c=0x0;_0xd2db5c<_0x13bf10[_0x248339(0x1da)];_0xd2db5c++){const _0x19511d={'id':'doc.mutation.rich-text-editing','params':{..._0x13bf10[_0xd2db5c]}},_0x5732ec=this[_0x248339(0x10b)][_0x248339(0x12b)](_0x305fe9,_0x19511d,!0x1);if(_0x4578d1(_0x5732ec))throw _0x5732ec[_0x248339(0x135)];_0x305fe9=_0x5732ec[_0x248339(0x29c)];}return{..._0x453a5f[_0x248339(0x2af)](_0x5a44d6),'mutations':[_0x305fe9]};}[_0x5ccdac(0x181)](_0x2e2205){const _0x4add46=_0x5ccdac,{unitID:_0x4fe205}=_0x2e2205,_0x145f1b=this['_renderManagerService'][_0x4add46(0x280)](_0x4fe205)[_0x4add46(0x1d0)](_0x309075),{undoCache:_0x3d9ddc,redoCache:_0x3db2ae}=_0x145f1b[_0x4add46(0x1b6)]();if(_0x3d9ddc[_0x4add46(0x1da)]===0x0||_0x3db2ae[_0x4add46(0x1da)]===0x0)return;const _0x54dd13=[],_0x532163=[];let _0x93aa27=_0x453a5f[_0x4add46(0x2af)](_0x2e2205['mutations'][0x0]),_0x1eef30=_0x453a5f['deepClone'](_0x2e2205[_0x4add46(0x201)][0x0]);for(let _0x28d08d=_0x3d9ddc[_0x4add46(0x1da)]-0x1;_0x28d08d>=0x0;_0x28d08d--){const _0x2aff8e={'id':'doc.mutation.rich-text-editing','params':{..._0x3d9ddc[_0x28d08d]}},_0x34b9ff={'id':_0x4add46(0x175),'params':{..._0x3db2ae[_0x28d08d]}},_0xdecdd4=this[_0x4add46(0x10b)][_0x4add46(0x12b)](_0x93aa27,_0x2aff8e,!0x1),_0x3d76c6=this[_0x4add46(0x10b)][_0x4add46(0x12b)](_0x1eef30,_0x34b9ff,!0x1);if(_0x4578d1(_0xdecdd4))throw _0xdecdd4[_0x4add46(0x135)];if(_0x4578d1(_0x3d76c6))throw _0x3d76c6[_0x4add46(0x135)];_0x54dd13[_0x4add46(0x132)](_0xdecdd4[_0x4add46(0x208)][_0x4add46(0x2d7)]),_0x532163['unshift'](_0x3d76c6[_0x4add46(0x208)]['params']),_0x93aa27=_0xdecdd4[_0x4add46(0x29c)],_0x1eef30=_0x3d76c6[_0x4add46(0x29c)];}_0x145f1b[_0x4add46(0x10d)]({'undoCache':_0x54dd13,'redoCache':_0x532163});}[_0x5ccdac(0x20e)](_0x3a76de){const _0x18b04f=_0x5ccdac,{unitID:_0x29a5bb}=_0x3a76de,_0x3295ec=this[_0x18b04f(0x112)][_0x18b04f(0x280)](_0x29a5bb)[_0x18b04f(0x1d0)](_0x309075),_0x2f29f5=_0x3295ec[_0x18b04f(0x26b)]();if(_0x2f29f5==null)return;const _0xf2ec50=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a76de[_0x18b04f(0x15c)],'actions':null,'textRanges':[_0x2f29f5]}}],_0x42c9ff=this['_transformService']['transformMutationsWithChangeset'](_0x3a76de,_0xf2ec50);if(!_0x576e4b(_0x42c9ff))throw _0x42c9ff[_0x18b04f(0x135)];const _0x3aec90=_0x42c9ff[_0x18b04f(0x208)][0x0]['params']['textRanges'];Array[_0x18b04f(0x2da)](_0x3aec90)&&_0x3aec90[_0x18b04f(0x1da)]&&_0x3295ec[_0x18b04f(0x133)](_0x3aec90[0x0]);}};ne=tn([pe(0x0,_0x5d30c5(_0x1594b9)),pe(0x1,_0x122f43),pe(0x2,_0x57e040)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3c679a,_0x72469a,_0x546fc3,_0xafb939)=>{const _0x4a43a6=_0x5ccdac;for(var _0x30d5ca=_0xafb939>0x1?void 0x0:_0xafb939?sn(_0x72469a,_0x546fc3):_0x72469a,_0x20e461=_0x3c679a[_0x4a43a6(0x1da)]-0x1,_0x159733;_0x20e461>=0x0;_0x20e461--)(_0x159733=_0x3c679a[_0x20e461])&&(_0x30d5ca=_0x159733(_0x30d5ca)||_0x30d5ca);return _0x30d5ca;},Ce=(_0x5aeafa,_0x492fb1)=>(_0x41d5ba,_0x33ec5a)=>_0x492fb1(_0x41d5ba,_0x33ec5a,_0x5aeafa);let re=class{constructor(_0x3adf8c,_0x748c80,_0x16f5ec){const _0x3b1752=_0x5ccdac;this[_0x3b1752(0x165)]=_0x3adf8c,this[_0x3b1752(0x10b)]=_0x748c80,this['_docStateChangeManagerService']=_0x16f5ec;}[_0x5ccdac(0x1c5)](_0x317aa7){const _0x3c1ccc=_0x5ccdac;this[_0x3c1ccc(0x287)](_0x317aa7);}['transformRemoteChangeset'](_0x42cbe0){const _0x3d6007=_0x5ccdac,{unitID:_0x39d984}=_0x42cbe0,{collaboration:_0x1179c5}=this['_docStateChangeManagerService'][_0x3d6007(0x166)](_0x39d984);if(_0x1179c5[_0x3d6007(0x1da)]===0x0)return _0x42cbe0;let _0x278a4a=_0x453a5f[_0x3d6007(0x2af)](_0x42cbe0[_0x3d6007(0x201)][0x0]);for(let _0x339870=0x0;_0x339870<_0x1179c5[_0x3d6007(0x1da)];_0x339870++){const _0x5b2fd9={'id':_0x3d6007(0x175),'params':{'unitId':_0x1179c5[_0x339870][_0x3d6007(0x207)],..._0x1179c5[_0x339870][_0x3d6007(0x110)]}},_0x346794=this[_0x3d6007(0x10b)][_0x3d6007(0x12b)](_0x278a4a,_0x5b2fd9,!0x1);if(_0x4578d1(_0x346794))throw _0x346794[_0x3d6007(0x135)];_0x278a4a=_0x346794[_0x3d6007(0x29c)];}return{..._0x453a5f[_0x3d6007(0x2af)](_0x42cbe0),'mutations':[_0x278a4a]};}[_0x5ccdac(0x287)](_0x55699a){const _0x58bd79=_0x5ccdac,{unitID:_0x3d0cdf}=_0x55699a,{history:_0x3a5116,collaboration:_0x4f65e4}=this[_0x58bd79(0x1cd)]['getStateCache'](_0x3d0cdf);if(_0x3a5116[_0x58bd79(0x1da)]===0x0&&_0x4f65e4[_0x58bd79(0x1da)]===0x0)return;const _0x51b0be=[],_0x108559=[];let _0x7e4b69=_0x453a5f[_0x58bd79(0x2af)](_0x55699a[_0x58bd79(0x201)][0x0]),_0x5a0389=_0x453a5f['deepClone'](_0x55699a[_0x58bd79(0x201)][0x0]);for(let _0x3c2a7b=_0x3a5116[_0x58bd79(0x1da)]-0x1;_0x3c2a7b>=0x0;_0x3c2a7b--){const _0x519edc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a5116[_0x3c2a7b][_0x58bd79(0x207)],..._0x3a5116[_0x3c2a7b][_0x58bd79(0x170)]}},_0x35842f={'id':_0x58bd79(0x175),'params':{'unitId':_0x3a5116[_0x3c2a7b][_0x58bd79(0x207)],..._0x3a5116[_0x3c2a7b][_0x58bd79(0x110)]}},_0x4dbf87=this[_0x58bd79(0x10b)][_0x58bd79(0x12b)](_0x7e4b69,_0x519edc,!0x1),_0x99521a=this[_0x58bd79(0x10b)]['transformMutation'](_0x5a0389,_0x35842f,!0x1);if(_0x4578d1(_0x4dbf87))throw _0x4dbf87[_0x58bd79(0x135)];if(_0x4578d1(_0x99521a))throw _0x99521a[_0x58bd79(0x135)];_0x51b0be[_0x58bd79(0x132)]({..._0x3a5116[_0x3c2a7b],'undoState':_0x4dbf87[_0x58bd79(0x208)]['params'],'redoState':_0x99521a[_0x58bd79(0x208)][_0x58bd79(0x2d7)]}),_0x7e4b69=_0x4dbf87[_0x58bd79(0x29c)],_0x5a0389=_0x99521a[_0x58bd79(0x29c)];}_0x7e4b69=_0x453a5f[_0x58bd79(0x2af)](_0x55699a[_0x58bd79(0x201)][0x0]),_0x5a0389=_0x453a5f[_0x58bd79(0x2af)](_0x55699a[_0x58bd79(0x201)][0x0]);for(let _0x40c0a5=_0x4f65e4[_0x58bd79(0x1da)]-0x1;_0x40c0a5>=0x0;_0x40c0a5--){const _0x1bccdb={'id':_0x58bd79(0x175),'params':{'unitId':_0x4f65e4[_0x40c0a5]['unitId'],..._0x4f65e4[_0x40c0a5][_0x58bd79(0x170)]}},_0x23c848={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f65e4[_0x40c0a5][_0x58bd79(0x207)],..._0x4f65e4[_0x40c0a5]['redoState']}},_0x55baa0=this[_0x58bd79(0x10b)][_0x58bd79(0x12b)](_0x7e4b69,_0x1bccdb,!0x1),_0xfbe537=this[_0x58bd79(0x10b)][_0x58bd79(0x12b)](_0x5a0389,_0x23c848,!0x1);if(_0x4578d1(_0x55baa0))throw _0x55baa0[_0x58bd79(0x135)];if(_0x4578d1(_0xfbe537))throw _0xfbe537[_0x58bd79(0x135)];_0x108559[_0x58bd79(0x132)]({..._0x4f65e4[_0x40c0a5],'undoState':_0x55baa0['m2Prime'][_0x58bd79(0x2d7)],'redoState':_0xfbe537['m2Prime']['params']}),_0x7e4b69=_0x55baa0['m1Prime'],_0x5a0389=_0xfbe537[_0x58bd79(0x29c)];}this[_0x58bd79(0x1cd)][_0x58bd79(0x298)](_0x3d0cdf,{'history':_0x51b0be,'collaboration':_0x108559});}};re=nn([Ce(0x0,_0x5d30c5(_0x1594b9)),Ce(0x1,_0x122f43),Ce(0x2,_0x5d30c5(_0x56f7e9))],re);var rn=Object[_0x5ccdac(0x16f)],on=(_0x31d3f2,_0x1a8e6d,_0x7ca2b2,_0x5d7dfb)=>{const _0x36889e=_0x5ccdac;for(var _0x454f63=_0x5d7dfb>0x1?void 0x0:_0x5d7dfb?rn(_0x1a8e6d,_0x7ca2b2):_0x1a8e6d,_0x4e0b69=_0x31d3f2[_0x36889e(0x1da)]-0x1,_0x38c7bc;_0x4e0b69>=0x0;_0x4e0b69--)(_0x38c7bc=_0x31d3f2[_0x4e0b69])&&(_0x454f63=_0x38c7bc(_0x454f63)||_0x454f63);return _0x454f63;},tt=(_0x5c4b20,_0x598170)=>(_0x508afb,_0x529436)=>_0x598170(_0x508afb,_0x529436,_0x5c4b20);let oe=class{constructor(_0x365692,_0x182949){const _0x32d44c=_0x5ccdac;this[_0x32d44c(0x165)]=_0x365692,this[_0x32d44c(0x10b)]=_0x182949;}['transformSelections'](_0x4302be){const _0x5a215c=_0x5ccdac;var _0x5b98d0;const _0x44e8dd=this[_0x5a215c(0x165)][_0x5a215c(0x218)](_0x1cdd1e),_0x271dce=(_0x5b98d0=_0x44e8dd['getDocRanges']())!=null?_0x5b98d0:[];if(_0x271dce['length']===0x0)return;const _0x33cca3=_0x4302be['unitID'],_0xc7e52a=[{'id':_0x5a215c(0x175),'params':{'unitId':_0x33cca3,'actions':null,'textRanges':_0x271dce}}],_0x4a50f6=this[_0x5a215c(0x10b)][_0x5a215c(0x279)](_0x4302be,_0xc7e52a);if(!_0x576e4b(_0x4a50f6))throw _0x4a50f6[_0x5a215c(0x135)];const _0x4e986a=_0x4a50f6['m2Prime'][0x0]['params'][_0x5a215c(0x1fa)];Array[_0x5a215c(0x2da)](_0x4e986a)&&_0x4e986a['length']&&_0x44e8dd['replaceDocRanges'](_0x4e986a,{'unitId':_0x33cca3,'subUnitId':_0x33cca3},!0x1);}};function _0x709d(_0x3dbbe9,_0x45701c){const _0x4b4c0e=_0x4b4c();return _0x709d=function(_0x709d67,_0x7300d7){_0x709d67=_0x709d67-0xd7;let _0x4f6cea=_0x4b4c0e[_0x709d67];return _0x4f6cea;},_0x709d(_0x3dbbe9,_0x45701c);}oe=on([tt(0x0,_0x5d30c5(_0x1594b9)),tt(0x1,_0x122f43)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x1fc5ba,_0x5ac94c,_0xfb12ff,_0x2f8104)=>{const _0x4dd14a=_0x5ccdac;for(var _0x51020c=_0x2f8104>0x1?void 0x0:_0x2f8104?an(_0x5ac94c,_0xfb12ff):_0x5ac94c,_0x206b79=_0x1fc5ba[_0x4dd14a(0x1da)]-0x1,_0x804ba6;_0x206b79>=0x0;_0x206b79--)(_0x804ba6=_0x1fc5ba[_0x206b79])&&(_0x51020c=_0x804ba6(_0x51020c)||_0x51020c);return _0x51020c;},U=(_0x5361aa,_0x3f76cf)=>(_0x39ef90,_0x39662e)=>_0x3f76cf(_0x39ef90,_0x39662e,_0x5361aa);let ae=class extends _0x511293{constructor(_0x321212,_0x44b74a,_0x514bb0,_0x6686a,_0x1cbb06,_0x1fa516,_0x380533,_0xe7a6c4){const _0x31897a=_0x5ccdac;super(),_(this,_0x31897a(0x222),new _0x2cc9b0(_0x24642c[_0x31897a(0x10e)])),(this[_0x31897a(0x1cd)]=_0x321212,this[_0x31897a(0x258)]=_0x44b74a,this[_0x31897a(0x24a)]=_0x514bb0,this[_0x31897a(0x27e)]=_0x6686a,this[_0x31897a(0x100)]=_0x1cbb06,this[_0x31897a(0x10a)]=_0x1fa516,this[_0x31897a(0x18d)]=_0x380533,this[_0x31897a(0x16b)]=_0xe7a6c4,this['_initEntityListener']());}[_0x5ccdac(0x2b9)](){const _0x26641e=_0x5ccdac;this[_0x26641e(0x2e4)](this[_0x26641e(0x258)][_0x26641e(0x129)][_0x26641e(0x1fd)](_0x1d1f40=>{const _0x1e1a50=_0x26641e,_0x3486ef=this[_0x1e1a50(0x1cd)][_0x1e1a50(0x235)][_0x1e1a50(0x1fd)](_0x14d335=>{const _0x22b8c6=_0x1e1a50;if(_0x14d335==null)return;const {unitId:_0x359c93,redoState:_0x207d91,commandId:_0x4dc61b}=_0x14d335;if(_0x359c93!==_0x1d1f40[_0x22b8c6(0x15c)])return;const _0x2c51a8={'id':_0x4dc61b,'type':_0x1af6f4[_0x22b8c6(0x17e)],'params':{'unitId':_0x359c93,'actions':_0x207d91[_0x22b8c6(0x262)],'textRanges':null}};_0x1d1f40[_0x22b8c6(0x1e6)](_0x2c51a8);});if(_0x1d1f40[_0x1e1a50(0x2e4)](_0x3486ef),_0x1d1f40 instanceof _0x5880c6){const _0x1d2195={'onTransformIME':_0xa597f2=>this[_0x1e1a50(0x24a)][_0x1e1a50(0x291)](_0xa597f2),'onTransformState':_0x3d934d=>this['_docTransformStateCacheService']['transformStateCache'](_0x3d934d),'onTransformSelections':_0x1a6220=>this[_0x1e1a50(0x100)][_0x1e1a50(0x1eb)](_0x1a6220),'onSyncEditingCollabCursor':_0x496b6e=>this[_0x1e1a50(0x10a)][_0x1e1a50(0x2b3)](_0x496b6e),'onTransformRemoteChangesetByIMECache':_0xac7a57=>this[_0x1e1a50(0x24a)]['transformRemoteChangeset'](_0xac7a57),'onTransformRemoteChangesetByStateCache':_0x6b3ec5=>this[_0x1e1a50(0x27e)][_0x1e1a50(0x149)](_0x6b3ec5)};_0x1d1f40['addHandlerCallback'](_0x1d2195);}}));}};ae=cn([U(0x0,_0x5d30c5(_0x56f7e9)),U(0x1,_0x5d30c5(_0x2454ce)),U(0x2,_0x5d30c5(ne)),U(0x3,_0x5d30c5(re)),U(0x4,_0x5d30c5(oe)),U(0x5,_0x5d30c5(He)),U(0x6,_0x23f879),U(0x7,_0x5d30c5(_0x3f7747))],ae);var ln=Object[_0x5ccdac(0x16f)],_n=(_0x221995,_0xec3cd1,_0x1fde43,_0x310087)=>{const _0x5188b3=_0x5ccdac;for(var _0x2f5d67=_0x310087>0x1?void 0x0:_0x310087?ln(_0xec3cd1,_0x1fde43):_0xec3cd1,_0x30e8b9=_0x221995[_0x5188b3(0x1da)]-0x1,_0x522b25;_0x30e8b9>=0x0;_0x30e8b9--)(_0x522b25=_0x221995[_0x30e8b9])&&(_0x2f5d67=_0x522b25(_0x2f5d67)||_0x2f5d67);return _0x2f5d67;},Ee=(_0x16f9b4,_0x551257)=>(_0x3cd23e,_0x1a306d)=>_0x551257(_0x3cd23e,_0x1a306d,_0x16f9b4);let Le=class extends _0x511293{constructor(_0x4aefd0,_0x1bd6fd,_0x5132a4){const _0x2f93ea=_0x5ccdac;super(),_(this,_0x2f93ea(0x1f2),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x2f93ea(0xe6),!0x1),(this[_0x2f93ea(0x11c)]=_0x4aefd0,this[_0x2f93ea(0x2d8)]=_0x1bd6fd,this[_0x2f93ea(0x154)]=_0x5132a4);}[_0x5ccdac(0x13d)](){const _0x51dbca=_0x5ccdac;this[_0x51dbca(0xe6)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x5ccdac(0x1c4)](){const _0x4a3f16=_0x5ccdac;this[_0x4a3f16(0x193)]()[_0x4a3f16(0x1ef)](()=>super[_0x4a3f16(0x1c4)]());}async[_0x5ccdac(0x2ae)](_0x4f7c62){const _0x39d175=_0x5ccdac;return this['_disabled']?null:this['_localStorageService'][_0x39d175(0x2b2)](_0x26b3eb(_0x4f7c62));}async[_0x5ccdac(0x1e3)](_0x21f328,_0x26e3ad){const _0x32038d=_0x5ccdac;return!!this[_0x32038d(0x2d8)][_0x32038d(0x2a5)](_0x21f328,_0x26e3ad);}[_0x5ccdac(0x2c8)](_0x21b040,_0x5c0f54,_0x19b0a8,_0x46d814){const _0x53b4a7=_0x5ccdac,_0x7ca975=this[_0x53b4a7(0x154)][_0x53b4a7(0x2c1)](_0x21b040);this[_0x53b4a7(0x1f2)][_0x53b4a7(0x11b)](_0x21b040,{'unitID':_0x21b040,'type':_0x5c0f54,'awaitingChangeset':_0x19b0a8,'mutations':_0x46d814,'rev':_0x7ca975}),this[_0x53b4a7(0x1fc)][_0x53b4a7(0x1d9)](_0x21b040)||this[_0x53b4a7(0x1b3)](_0x21b040);}[_0x5ccdac(0x1b3)](_0x34cac0){const _0x1fd02b=_0x5ccdac,_0x167650=this[_0x1fd02b(0x230)]();_0x167650===0x0?this[_0x1fd02b(0xf6)](_0x34cac0):this['_saveTaskMap']['set'](_0x34cac0,setTimeout(()=>this['_saveCache'](_0x34cac0),_0x167650));}[_0x5ccdac(0x230)](){var _0x286fe8;return(_0x286fe8=this['_configService']['getConfig'](_0x1b4490))!=null?_0x286fe8:_0x5506ed;}[_0x5ccdac(0xf6)](_0x557938){const _0x2aa934=_0x5ccdac,_0x223069=this[_0x2aa934(0x1fc)][_0x2aa934(0x218)](_0x557938);return _0x223069!==void 0x0&&window[_0x2aa934(0x185)](_0x223069),this[_0x2aa934(0x2d8)][_0x2aa934(0x2a5)](_0x26b3eb(_0x557938),this['_cachedData'][_0x2aa934(0x218)](_0x557938))[_0x2aa934(0x1ef)](()=>this[_0x2aa934(0x1fc)][_0x2aa934(0x2d2)](_0x557938));}async['exhaustSavingTask'](){const _0x456021=_0x5ccdac,_0x2cafa3=[];this[_0x456021(0x1fc)][_0x456021(0x28e)]((_0xcd4491,_0x4f8db9)=>{const _0x5b006d=_0x456021;window[_0x5b006d(0x185)](_0xcd4491),_0x2cafa3[_0x5b006d(0x275)](this[_0x5b006d(0xf6)](_0x4f8db9)[_0x5b006d(0x1ef)](()=>{const _0x5c1967=_0x5b006d;this[_0x5c1967(0x1fc)][_0x5c1967(0x2d2)](_0x4f8db9);}));}),await Promise[_0x456021(0x1a7)](_0x2cafa3);}};Le=_n([Ee(0x0,_0x518efb),Ee(0x1,_0x2c9f67),Ee(0x2,_0x5d30c5(_0x1d1977))],Le);class hn extends _0x1d3bed{constructor(){const _0x14ac74=_0x5ccdac;super(),_(this,'urlChange$'),this['urlChange$']=_0x57a91b(window,_0x14ac74(0x2b1))[_0x14ac74(0x107)](_0xcffb89(this['dispose$']),_0x467ca5(0x1),_0x1246df(void 0x0));}['setParam'](_0x997d90,_0x5103c1,_0x5401c3=!0x1){const _0x36ee28=_0x5ccdac,_0x52d091=new URL(window[_0x36ee28(0x209)][_0x36ee28(0x200)]);_0x52d091[_0x36ee28(0x27a)][_0x36ee28(0x11b)](_0x997d90,_0x5103c1),_0x5401c3?window[_0x36ee28(0x162)][_0x36ee28(0x108)]('','',_0x52d091[_0x36ee28(0x1bb)]()):window[_0x36ee28(0x162)]['pushState']('','',_0x52d091[_0x36ee28(0x1bb)]());}['removeParam'](_0x2a7151,_0x5e8b3e=!0x1){const _0x1475de=_0x5ccdac,_0x1ca23d=new URL(window[_0x1475de(0x209)][_0x1475de(0x200)]);_0x1ca23d['searchParams'][_0x1475de(0x2d2)](_0x2a7151),_0x5e8b3e?window[_0x1475de(0x162)][_0x1475de(0x108)]('','',_0x1ca23d[_0x1475de(0x1bb)]()):window[_0x1475de(0x162)][_0x1475de(0x2a1)]('','',_0x1ca23d[_0x1475de(0x1bb)]());}[_0x5ccdac(0x22a)](_0x5f43b8){const _0xfb5f7a=_0x5ccdac;var _0x379b50;return(_0x379b50=new URL(window[_0xfb5f7a(0x209)]['href'])['searchParams'][_0xfb5f7a(0x218)](_0x5f43b8))!=null?_0x379b50:void 0x0;}}var un=Object[_0x5ccdac(0x272)],dn=Object[_0x5ccdac(0x16f)],fn=(_0x3a6138,_0x3a7a89,_0x505fc5)=>_0x3a7a89 in _0x3a6138?un(_0x3a6138,_0x3a7a89,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x505fc5}):_0x3a6138[_0x3a7a89]=_0x505fc5,Sn=(_0x24f2cc,_0x3c2d18,_0x44af55,_0x562c54)=>{const _0x38d78f=_0x5ccdac;for(var _0x28ce66=_0x562c54>0x1?void 0x0:_0x562c54?dn(_0x3c2d18,_0x44af55):_0x3c2d18,_0x985c4a=_0x24f2cc[_0x38d78f(0x1da)]-0x1,_0x2119a3;_0x985c4a>=0x0;_0x985c4a--)(_0x2119a3=_0x24f2cc[_0x985c4a])&&(_0x28ce66=_0x2119a3(_0x28ce66)||_0x28ce66);return _0x28ce66;},Oe=(_0xa8f75e,_0x189aec)=>(_0x14fb40,_0x2a9213)=>_0x189aec(_0x14fb40,_0x2a9213,_0xa8f75e),mn=(_0x3a6ad5,_0x55b3d4,_0x48cfcd)=>fn(_0x3a6ad5,_0x55b3d4+'',_0x48cfcd);const In=_0x5ccdac(0x1f4);let Ae=class extends _0x216717{constructor(_0x3e1289=et,_0x108f4,_0x149ea2,_0x3a1439){const _0x514837=_0x5ccdac;super(),this[_0x514837(0x1b4)]=_0x3e1289,this[_0x514837(0x112)]=_0x108f4,this[_0x514837(0x165)]=_0x149ea2,this[_0x514837(0x11c)]=_0x3a1439;const {..._0x14b62d}=_0x301b16({},et,this['_config']);this['_configService']['setConfig'](Zi,_0x14b62d);}['onStarting'](){const _0x54d377=_0x5ccdac;this[_0x54d377(0xef)](),this[_0x54d377(0x14d)]();}[_0x5ccdac(0xec)](){this['_registerRenderDependencies']();}[_0x5ccdac(0xef)](){const _0x4fc2ee=_0x5ccdac;var _0x88798e;const _0x1d346c=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x12a1ce,{'useClass':_0x2c24e6}],[_0x820aa4,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x20c03b(this[_0x4fc2ee(0x165)],_0xb01ab3(_0x1d346c,(_0x88798e=this[_0x4fc2ee(0x1b4)])==null?void 0x0:_0x88798e[_0x4fc2ee(0x17c)]));}[_0x5ccdac(0x18b)](){const _0x577c4c=_0x5ccdac;this[_0x577c4c(0x2e4)](this['_renderManagerService'][_0x577c4c(0x2dc)](_0x5b953e[_0x577c4c(0x2c7)],[we])),this[_0x577c4c(0x2e4)](this['_renderManagerService'][_0x577c4c(0x2dc)](_0x5b953e[_0x577c4c(0x245)],[Pe]));}[_0x5ccdac(0x14d)](){const _0x1afb35=_0x5ccdac;_0x4ae927(this[_0x1afb35(0x165)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x1c7f38(_0x35335d),Oe(0x1,_0x57e040),Oe(0x2,_0x5d30c5(_0x1594b9)),Oe(0x3,_0x518efb)],Ae);var gn=Object[_0x5ccdac(0x16f)],vn=(_0x5afc3f,_0x2c4b51,_0x2d6c4e,_0x4fc549)=>{const _0xe43bf9=_0x5ccdac;for(var _0x57b5b6=_0x4fc549>0x1?void 0x0:_0x4fc549?gn(_0x2c4b51,_0x2d6c4e):_0x2c4b51,_0xd85d76=_0x5afc3f[_0xe43bf9(0x1da)]-0x1,_0x5496b1;_0xd85d76>=0x0;_0xd85d76--)(_0x5496b1=_0x5afc3f[_0xd85d76])&&(_0x57b5b6=_0x5496b1(_0x57b5b6)||_0x57b5b6);return _0x57b5b6;},K=(_0x203ce1,_0xd68cf3)=>(_0x277e51,_0x211004)=>_0xd68cf3(_0x277e51,_0x211004,_0x203ce1);let st=class extends _0x3592b9{constructor(_0x5e8047,_0x281e6d,_0x15a692,_0x3e80a6,_0x4cf36e){super(_0x5e8047,_0x281e6d,_0x15a692,_0x3e80a6,_0x4cf36e);}async[_0x5ccdac(0x164)](_0xcf5956){const _0x36b745=_0x5ccdac,_0x524adf=await this[_0x36b745(0x1e7)](),_0x358859=this[_0x36b745(0x147)](_0xcf5956,_0x524adf);return this[_0x36b745(0x22b)](_0x358859);}[_0x5ccdac(0x147)](_0x279364,_0x4a1056){const _0x33250f=_0x5ccdac,_0x59da28=typeof window>'u'?new URL(_0x279364):new URL(_0x279364,window[_0x33250f(0x209)][_0x33250f(0x26c)]);_0x59da28['searchParams'][_0x33250f(0x11b)]('sessionTicket',_0x4a1056);const _0x288b8a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x33250f(0x209)][_0x33250f(0x24f)]);return _0x288b8a[_0x33250f(0x218)](_0x33250f(0x2c2))&&_0x59da28['searchParams']['set'](_0x33250f(0x2c2),_0x288b8a[_0x33250f(0x218)](_0x33250f(0x2c2))),_0x59da28[_0x33250f(0x1bb)]();}async[_0x5ccdac(0x1e7)](){const _0x344155=_0x5ccdac;var _0x5e0985,_0x46c135,_0x3c022d;const _0x43a3e4=this[_0x344155(0x11c)][_0x344155(0xed)](_0x133280),_0x5ee8ad=(_0x5e0985=_0x43a3e4==null?void 0x0:_0x43a3e4[_0x344155(0x18a)])!=null?_0x5e0985:_0x5d4fcc;return(_0x3c022d=(_0x46c135=(await this['_httpService']['get'](_0x5ee8ad,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x46c135[_0x344155(0x180)])!=null?_0x3c022d:'';}};st=vn([K(0x0,_0x5d30c5(_0x1594b9)),K(0x1,_0x5d30c5(_0x40376b)),K(0x2,_0x518efb),K(0x3,_0x4baf39),K(0x4,_0x5f3e22)],st);const it=0x7530,nt=_0x5ccdac(0x148);class jn extends _0x511293{constructor(){const _0x36e027=_0x5ccdac;super(),_(this,_0x36e027(0x1a4),_0x4f31bd()),_(this,_0x36e027(0x1ca),new Set()),_(this,_0x36e027(0xd8),new Map()),_(this,_0x36e027(0x114),null),_(this,_0x36e027(0x1b8),new Map()),_(this,_0x36e027(0x2de),new Map()),this[_0x36e027(0x2c4)]();}[_0x5ccdac(0x1c4)](){const _0x47895e=_0x5ccdac;super['dispose'](),this[_0x47895e(0x1b8)][_0x47895e(0x28e)]((_0xdfa1fa,_0x5bbd08)=>this[_0x47895e(0x1e2)](_0x5bbd08)),this['_heartbeatTimer']&&window[_0x47895e(0x1db)](this[_0x47895e(0x114)]);}[_0x5ccdac(0x239)](_0x593baf){const _0x39415c=_0x5ccdac;return this[_0x39415c(0x139)](_0x593baf)[_0x39415c(0x107)](_0x24d254());}['editingUnit'](_0x4cbc46){const _0x2a216f=_0x5ccdac;this[_0x2a216f(0x1ca)]['size']===0x0&&this[_0x2a216f(0x2d6)](),this[_0x2a216f(0x1ca)][_0x2a216f(0xea)](_0x4cbc46),this[_0x2a216f(0x151)]({'type':0x0,'memberID':this[_0x2a216f(0x1a4)],'unitIDs':[_0x4cbc46],'isForwarded':!0x1});}[_0x5ccdac(0xe2)](_0x4cf3c5){const _0x7c9133=_0x5ccdac;this['_selfUnitIDs']['delete'](_0x4cf3c5),this[_0x7c9133(0x1ca)]['size']===0x0&&this[_0x7c9133(0x114)]&&window['clearInterval'](this[_0x7c9133(0x114)]);}[_0x5ccdac(0x2c4)](){const _0x4700c6=_0x5ccdac;this[_0x4700c6(0x2e4)](_0x1529d5(_0x57a91b(window,_0x4700c6(0x1bc))[_0x4700c6(0x1fd)](_0x479824=>{const _0x11ed8c=_0x4700c6;if(_0x479824[_0x11ed8c(0x190)]!==nt||!_0x479824[_0x11ed8c(0x2a8)])return;const _0x2db618=JSON['parse'](_0x479824[_0x11ed8c(0x2a8)]);this[_0x11ed8c(0x1e8)](_0x2db618);}))),window['addEventListener'](_0x4700c6(0x1f8),()=>this[_0x4700c6(0x151)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x4700c6(0x1ca)])}));}[_0x5ccdac(0x1e8)](_0x31cbf9){const _0x212064=_0x5ccdac;switch(_0x31cbf9[_0x212064(0x1f6)]){case 0x0:this['_handleJoinEvent'](_0x31cbf9);break;case 0x1:this['_handleLeaveEvent'](_0x31cbf9);break;case 0x2:this[_0x212064(0x15e)](_0x31cbf9);break;}}['_handleJoinEvent'](_0x55ecc7){const _0x132afb=_0x5ccdac,{unitIDs:_0x1c299e,memberID:_0x219703,isForwarded:_0x185c77}=_0x55ecc7;_0x1c299e[_0x132afb(0x28e)](_0x484410=>{const _0x397a24=_0x132afb;if(!_0x185c77&&this['_unitOnClients'][_0x397a24(0x1d9)](_0x484410)&&this[_0x397a24(0x139)](_0x484410)[_0x397a24(0x19b)](_0x206d42[_0x397a24(0x288)]),!this[_0x397a24(0xd8)][_0x397a24(0x1d9)](_0x484410)||!this['_unitOnClients']['get'](_0x484410)[_0x397a24(0x1d9)](_0x219703)){const _0x344b08=this[_0x397a24(0xd8)][_0x397a24(0x218)](_0x484410)||new Set();_0x344b08[_0x397a24(0xea)](_0x219703),this[_0x397a24(0xd8)][_0x397a24(0x11b)](_0x484410,_0x344b08),this['_scheduleClearOtherTimer'](_0x219703);}}),_0x185c77||this[_0x132afb(0x151)]({'type':0x0,'memberID':this[_0x132afb(0x1a4)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5ccdac(0x1f3)](_0x4f6e8c){const _0x135e42=_0x5ccdac;this[_0x135e42(0x1e2)](_0x4f6e8c);const _0x2bca9a=window[_0x135e42(0x19e)](()=>{const _0x3e5445=_0x135e42;this['_unitOnClients'][_0x3e5445(0x28e)](_0x380781=>{const _0x5d1093=_0x3e5445;_0x380781[_0x5d1093(0x2d2)](_0x4f6e8c);});},it*0x2);this[_0x135e42(0x1b8)]['set'](_0x4f6e8c,_0x2bca9a);}[_0x5ccdac(0x1e2)](_0x598fad){const _0x44667d=_0x5ccdac;if(this[_0x44667d(0x1b8)][_0x44667d(0x1d9)](_0x598fad)){const _0x3776f0=this['_clearOtherTimers'][_0x44667d(0x218)](_0x598fad);_0x3776f0&&window[_0x44667d(0x185)](_0x3776f0),this[_0x44667d(0x1b8)]['set'](_0x598fad,null);}}[_0x5ccdac(0x125)](_0x4eedef){const _0x1d9488=_0x5ccdac,{memberID:_0x2ba433,unitIDs:_0x347ff2}=_0x4eedef;_0x347ff2[_0x1d9488(0x28e)](_0x6ed052=>{const _0x45da39=_0x1d9488;var _0x42e880;const _0x6a47f0=this[_0x45da39(0xd8)]['get'](_0x6ed052);_0x6a47f0&&(_0x6a47f0[_0x45da39(0x2d2)](_0x2ba433),(_0x42e880=this[_0x45da39(0x139)](_0x6ed052))==null||_0x42e880[_0x45da39(0x19b)](_0x6a47f0[_0x45da39(0x221)]===0x0?_0x206d42[_0x45da39(0x2c0)]:_0x206d42['OTHER_CLIENTS_EDITING']));}),this[_0x1d9488(0x1e2)](_0x2ba433);}[_0x5ccdac(0x15e)](_0x73741b){const _0x5c1878=_0x5ccdac;this[_0x5c1878(0x1f3)](_0x73741b[_0x5c1878(0x21f)]);}['_send'](_0x4deb29){localStorage['setItem'](nt,JSON['stringify'](_0x4deb29));}[_0x5ccdac(0x2d6)](){const _0x5de371=_0x5ccdac;this['_heartbeatTimer']=window[_0x5de371(0x23a)](()=>{const _0x27c468=_0x5de371;this[_0x27c468(0x151)]({'type':0x2,'memberID':this[_0x27c468(0x1a4)]});},it);}[_0x5ccdac(0x139)](_0xa30cf6){const _0xc64a53=_0x5ccdac;return this['_unitStatus']['has'](_0xa30cf6)||this['_unitStatus']['set'](_0xa30cf6,new _0x2cc9b0(_0x206d42['NO_OTHER_CLIENTS_EDITING'])),this[_0xc64a53(0x2de)][_0xc64a53(0x218)](_0xa30cf6);}}var Mt=(_0x275a17=>(_0x275a17[_0x275a17[_0x5ccdac(0x2cf)]=0x0]='UNDEFINED',_0x275a17[_0x275a17['OK']=0x1]='OK',_0x275a17[_0x275a17[_0x5ccdac(0x20d)]=0x2]=_0x5ccdac(0x20d),_0x275a17[_0x275a17[_0x5ccdac(0x22f)]=0x3]=_0x5ccdac(0x22f),_0x275a17[_0x275a17[_0x5ccdac(0x13e)]=0x4]=_0x5ccdac(0x13e),_0x275a17[_0x275a17['UNAUTHENTICATED']=0x5]=_0x5ccdac(0x128),_0x275a17[_0x275a17['ALREADY_EXISTS']=0x6]=_0x5ccdac(0x2a9),_0x275a17[_0x275a17['INVALID_ARGUMENT']=0x7]=_0x5ccdac(0x241),_0x275a17[_0x275a17[_0x5ccdac(0x145)]=0x8]=_0x5ccdac(0x145),_0x275a17[_0x275a17[_0x5ccdac(0x234)]=0x9]=_0x5ccdac(0x234),_0x275a17[_0x275a17[_0x5ccdac(0x199)]=0xa]=_0x5ccdac(0x199),_0x275a17[_0x275a17[_0x5ccdac(0x1a6)]=0x1389]=_0x5ccdac(0x1a6),_0x275a17[_0x275a17[_0x5ccdac(0x24b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x275a17[_0x275a17[_0x5ccdac(0x16d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x275a17[_0x275a17['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5ccdac(0x219),_0x275a17[_0x275a17[_0x5ccdac(0x191)]=0x1b59]=_0x5ccdac(0x191),_0x275a17[_0x275a17['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5ccdac(0xde),_0x275a17[_0x275a17[_0x5ccdac(0x2e8)]=0x1b5b]=_0x5ccdac(0x2e8),_0x275a17[_0x275a17[_0x5ccdac(0x278)]=0x1b5c]=_0x5ccdac(0x278),_0x275a17[_0x275a17[_0x5ccdac(0x25c)]=0x1b5d]='APPLY_DUPLICATED',_0x275a17[_0x275a17[_0x5ccdac(0x1dc)]=0x1f41]=_0x5ccdac(0x1dc),_0x275a17[_0x275a17[_0x5ccdac(0x161)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x275a17[_0x275a17[_0x5ccdac(0x189)]=0x232a]=_0x5ccdac(0x189),_0x275a17[_0x275a17[_0x5ccdac(0x290)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x275a17[_0x275a17[_0x5ccdac(0x177)]=0x232c]=_0x5ccdac(0x177),_0x275a17[_0x275a17[_0x5ccdac(0x273)]=0x232d]=_0x5ccdac(0x273),_0x275a17[_0x275a17['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x275a17[_0x275a17[_0x5ccdac(0x155)]=0x2712]=_0x5ccdac(0x155),_0x275a17[_0x275a17[_0x5ccdac(0x237)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x275a17[_0x275a17[_0x5ccdac(0x2a2)]=0x2714]=_0x5ccdac(0x2a2),_0x275a17[_0x275a17[_0x5ccdac(0x16e)]=0x271a]=_0x5ccdac(0x16e),_0x275a17[_0x275a17[_0x5ccdac(0x299)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x275a17[_0x275a17[_0x5ccdac(0x2ba)]=0x271c]=_0x5ccdac(0x2ba),_0x275a17[_0x275a17[_0x5ccdac(0x296)]=0x271d]=_0x5ccdac(0x296),_0x275a17[_0x275a17[_0x5ccdac(0xf2)]=0x271e]=_0x5ccdac(0xf2),_0x275a17[_0x275a17[_0x5ccdac(0x19d)]=0x271f]=_0x5ccdac(0x19d),_0x275a17[_0x275a17[_0x5ccdac(0x211)]=0x2af9]=_0x5ccdac(0x211),_0x275a17[_0x275a17[_0x5ccdac(0x27c)]=0x2ee1]=_0x5ccdac(0x27c),_0x275a17[_0x275a17[_0x5ccdac(0x28b)]=0x2ee2]=_0x5ccdac(0x28b),_0x275a17[_0x275a17[_0x5ccdac(0x1e9)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x275a17[_0x275a17[_0x5ccdac(0x1d6)]=0x2ee4]=_0x5ccdac(0x1d6),_0x275a17[_0x275a17[_0x5ccdac(0x18f)]=0x2ee5]=_0x5ccdac(0x18f),_0x275a17[_0x275a17['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5ccdac(0x1c3),_0x275a17[_0x275a17[_0x5ccdac(0x159)]=0x32ca]=_0x5ccdac(0x159),_0x275a17[_0x275a17[_0x5ccdac(0x23c)]=0x32cb]=_0x5ccdac(0x23c),_0x275a17[_0x275a17[_0x5ccdac(0x277)]=-0x1]=_0x5ccdac(0x277),_0x275a17))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x416e12,_0x492361,_0x5d6c20,_0x5029dc)=>{const _0xe4fb9d=_0x5ccdac;for(var _0x584c5b=_0x5029dc>0x1?void 0x0:_0x5029dc?pn(_0x492361,_0x5d6c20):_0x492361,_0x4b5f46=_0x416e12[_0xe4fb9d(0x1da)]-0x1,_0x198598;_0x4b5f46>=0x0;_0x4b5f46--)(_0x198598=_0x416e12[_0x4b5f46])&&(_0x584c5b=_0x198598(_0x584c5b)||_0x584c5b);return _0x584c5b;},be=(_0x1e617b,_0x15ff76)=>(_0x67855f,_0x1dd52e)=>_0x15ff76(_0x67855f,_0x1dd52e,_0x1e617b);let rt=class extends _0x511293{constructor(_0x5e925b,_0x5a253a,_0x3feee3){const _0x35b294=_0x5ccdac;super(),this[_0x35b294(0x265)]=_0x5e925b,this[_0x35b294(0x1cf)]=_0x5a253a,this[_0x35b294(0x11c)]=_0x3feee3;}async[_0x5ccdac(0x2b7)](_0x16bd12,_0x5182b9,_0x5448cb,..._0x94f673){const _0x3aae79=_0x5ccdac;var _0x179fdf,_0x1b7971,_0x2f31ad,_0x1fcd13;const _0x50aa87=this[_0x3aae79(0x265)][_0x3aae79(0x11d)]();if(!_0x50aa87)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x335d7b=((_0x179fdf=this['_configService']['getConfig'](_0x5d841d))!=null?_0x179fdf:_0x5cbe20)+'/'+_0x16bd12+_0x3aae79(0x251)+_0x5182b9,_0x2c45b6=new URL(window[_0x3aae79(0x209)][_0x3aae79(0x200)]),_0x4e9371={'scriptId':_0x16bd12,'runId':(_0x1b7971=_0x2c45b6[_0x3aae79(0x27a)][_0x3aae79(0x218)](_0x3aae79(0x2c2)))!=null?_0x1b7971:'','function':_0x5182b9,'unitId':_0x50aa87[_0x3aae79(0x2d9)](),'argsOfFunction':JSON[_0x3aae79(0x23b)](_0x94f673),'invokeId':(_0x2f31ad=_0x5448cb[_0x3aae79(0x11a)])!=null?_0x2f31ad:'','executionId':(_0x1fcd13=_0x5448cb[_0x3aae79(0x1de)])!=null?_0x1fcd13:''};try{const _0x395e77=await this[_0x3aae79(0x1cf)][_0x3aae79(0xe9)](_0x335d7b,{'body':_0x4e9371});return _0x395e77[_0x3aae79(0x226)]['error']&&_0x395e77['body']['error']['code']!==Mt['OK']?_0x3aae79(0x13b):_0x395e77[_0x3aae79(0x226)]['result'];}catch{return _0x3aae79(0x13b);}}};rt=Cn([be(0x0,_0xb0b851),be(0x1,_0x5d30c5(_0x40376b)),be(0x2,_0x518efb)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x14cc50=_0x1622;function _0x1622(_0x5c86f5,_0x1437a7){const _0xa3db86=_0xa3db();return _0x1622=function(_0x16228d,_0x3e83a2){_0x16228d=_0x16228d-0xdd;let _0x217671=_0xa3db86[_0x16228d];return _0x217671;},_0x1622(_0x5c86f5,_0x1437a7);}(function(_0xe82122,_0x40e90e){const _0x2c48e6=_0x1622,_0x3d6b4b=_0xe82122();while(!![]){try{const _0x2b04d3=-parseInt(_0x2c48e6(0xe7))/0x1+-parseInt(_0x2c48e6(0xe1))/0x2*(-parseInt(_0x2c48e6(0xe9))/0x3)+-parseInt(_0x2c48e6(0xde))/0x4+parseInt(_0x2c48e6(0xe2))/0x5+parseInt(_0x2c48e6(0xe4))/0x6+-parseInt(_0x2c48e6(0xed))/0x7+parseInt(_0x2c48e6(0xe5))/0x8;if(_0x2b04d3===_0x40e90e)break;else _0x3d6b4b['push'](_0x3d6b4b['shift']());}catch(_0x3692f6){_0x3d6b4b['push'](_0x3d6b4b['shift']());}}}(_0xa3db,0x9dd04));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x14cc50(0xe8),'conflict':_0x14cc50(0xea),'notCollab':'Local\x20file','synced':_0x14cc50(0xe3),'syncing':_0x14cc50(0xe6),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x14cc50(0xe0),'will-retry':_0x14cc50(0xec),'room-full':_0x14cc50(0xdd),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x14cc50(0xeb)},'permission':{'title':'Authentication\x20Error','content':_0x14cc50(0xdf)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};function _0xa3db(){const _0x4a53b8=['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,\x20we\x20retry\x20in\x20a\x20while.','3665284pQoewj','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','501112Umsqgz','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','10324LxTQLM','1979280cXqdtP','Synced','3014706sewout','5192920JwlkSM','Syncing...','525714euGCRa','Syncing\x20server\x20data...','159srwvPo','Edit\x20conflicts'];_0xa3db=function(){return _0x4a53b8;};return _0xa3db();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2d1926=_0x4333;(function(_0x498098,_0x2f6fc5){const _0x3a928b=_0x4333,_0x385ce4=_0x498098();while(!![]){try{const _0x4d3360=parseInt(_0x3a928b(0x150))/0x1*(parseInt(_0x3a928b(0x154))/0x2)+parseInt(_0x3a928b(0x140))/0x3+parseInt(_0x3a928b(0x14d))/0x4*(-parseInt(_0x3a928b(0x151))/0x5)+-parseInt(_0x3a928b(0x156))/0x6*(-parseInt(_0x3a928b(0x13d))/0x7)+-parseInt(_0x3a928b(0x146))/0x8+-parseInt(_0x3a928b(0x142))/0x9*(parseInt(_0x3a928b(0x14e))/0xa)+parseInt(_0x3a928b(0x14c))/0xb;if(_0x4d3360===_0x2f6fc5)break;else _0x385ce4['push'](_0x385ce4['shift']());}catch(_0x5862f6){_0x385ce4['push'](_0x385ce4['shift']());}}}(_0x4739,0xc3c1b));function _0x4333(_0x1c51e9,_0x3e333d){const _0x473931=_0x4739();return _0x4333=function(_0x4333bf,_0xa82196){_0x4333bf=_0x4333bf-0x13d;let _0x5c2743=_0x473931[_0x4333bf];return _0x5c2743;},_0x4333(_0x1c51e9,_0x3e333d);}const o={'collab-client':{'tooltip':{'reconnect':_0x2d1926(0x147)}},'collabStatus':{'fetchMiss':_0x2d1926(0x14f),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x2d1926(0x14b),'syncing':_0x2d1926(0x145),'offline':_0x2d1926(0x143)},'session':{'connection-failed':_0x2d1926(0x13f),'will-retry':_0x2d1926(0x153),'room-full':_0x2d1926(0x14a),'collaboration-timeout':_0x2d1926(0x155)},'conflict':{'title':_0x2d1926(0x152),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x2d1926(0x141),'content':_0x2d1926(0x149)},'collaboration':{'single-unit':{'warning':_0x2d1926(0x148)},'closeRoom':_0x2d1926(0x144)},'auth':{'needGotoLoginAlert':_0x2d1926(0x13e)}};export{o as default};function _0x4739(){const _0x319014=['اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','81012PVayGY','خطای\x20اعتبارسنجی','236151zyyhni','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','در\x20حال\x20همگام\x20سازی...','12487968miDVcN','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','همگام\x20سازی','42865658xeacDk','495592ngiNXl','570gPBBLS','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','100371ymQxYZ','55JKRynS','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','18YCwpaf','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','3666qVHKJt','4515TizxjN','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'];_0x4739=function(){return _0x319014;};return _0x4739();}
|