@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507131606 → 0.9.2-nightly.202507141607
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/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/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/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/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/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2f663e=_0x10a5;(function(_0x48e992,_0x195061){const _0x2ba9dc=_0x10a5,_0x3c2f2e=_0x48e992();while(!![]){try{const _0x17af38=parseInt(_0x2ba9dc(0x124))/0x1+parseInt(_0x2ba9dc(0x1e0))/0x2*(-parseInt(_0x2ba9dc(0xa2))/0x3)+-parseInt(_0x2ba9dc(0x222))/0x4+parseInt(_0x2ba9dc(0xcf))/0x5*(-parseInt(_0x2ba9dc(0xab))/0x6)+parseInt(_0x2ba9dc(0x186))/0x7*(-parseInt(_0x2ba9dc(0x1bb))/0x8)+parseInt(_0x2ba9dc(0x27c))/0x9+parseInt(_0x2ba9dc(0x288))/0xa;if(_0x17af38===_0x195061)break;else _0x3c2f2e['push'](_0x3c2f2e['shift']());}catch(_0x3c5126){_0x3c2f2e['push'](_0x3c2f2e['shift']());}}}(_0x4f54,0x93849));var $t=Object[_0x2f663e(0x19c)],xt=(_0x1e9ac1,_0x5df146,_0x530ba6)=>_0x5df146 in _0x1e9ac1?$t(_0x1e9ac1,_0x5df146,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x530ba6}):_0x1e9ac1[_0x5df146]=_0x530ba6,_=(_0x28ba38,_0x3f719b,_0x4474e6)=>xt(_0x28ba38,typeof _0x3f719b!=_0x2f663e(0xe8)?_0x3f719b+'':_0x3f719b,_0x4474e6);import{MemberService as _0x15a097,SessionStatus as _0x22404e,CollaborationSessionService as _0x54fbb4,CollaborationStatus as _0x5acc60,CollaborationController as _0xe2bf29,ILocalCacheService as _0x4c8f60,CollaborationUIEventService as _0x561115,CollaborationUIEventId as _0x3de1b3,DataLoaderService as _0x270f1a,DocCollaborationEntity as _0x20af81,getLocalCacheKey as _0x52d65d,LOCAL_CACHE_INTERVAL as _0xbfdc93,LOCAL_CACHE_INTERVAL_KEY as _0x1e5bcc,UniverCollaborationClientPlugin as _0x3bd9e0,CollaborationSocketService as _0x5d083c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2c2983,DEFAULT_WS_SESSION_TICKET_URL as _0x3b0275,UnitStatus as _0x180d6f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x323fcc,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5c4e0e}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x44d3a6,Disposable as _0x2c599b,DOC_RANGE_TYPE as _0x5f2260,Inject as _0xfad7a2,Injector as _0xf6ae29,IUniverInstanceService as _0x4b850f,ICommandService as _0x2642f8,debounce as _0x4decf4,Rectangle as _0x1c0d47,DisposableCollection as _0x8b3db2,toDisposable as _0xa67f93,UniverInstanceType as _0x39ba16,Tools as _0x1cca84,COLORS as _0x114d48,ColorKit as _0x494120,ThemeService as _0x1aa687,fromEventSubject as _0x592685,LocaleService as _0x558eaa,createIdentifier as _0x777ed7,ILogService as _0x54f831,Optional as _0x5b52a0,Workbook as _0x4dae10,CommandType as _0x4d7c6e,IConfigService as _0x7cf2a5,ILocalStorageService as _0x1eccd0,DependentOn as _0x1a973b,Plugin as _0x3358b4,merge as _0x3b5740,registerDependencies as _0x97cf9a,mergeOverrideWithDependencies as _0x2f84cf,touchDependencies as _0x576bca,generateRandomId as _0x5f150b}from'@univerjs/core';import{Shape as _0xedbeaf,Rect as _0x3fbab6,getColor as _0x597969,RegularPolygon as _0x2a2416,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5e00e4,Vector2 as _0x39eb06,SHEET_VIEWPORT_KEY as _0xd5f32a,IRenderManagerService as _0x10a1a1}from'@univerjs/engine-render';import{ISocketService as _0x1152c1,WebSocketService as _0x1ff624,HTTPService as _0x4a5eb3}from'@univerjs/network';import{IDocClipboardService as _0x27074a,NodePositionConvertToCursor as _0x4c1219,NodePositionConvertToRectRange as _0x2f4f15,TEXT_RANGE_LAYER_INDEX as _0x3b16f3,SetDocZoomRatioOperation as _0x3793b1,DocIMEInputManagerService as _0x597c7e,DocStateChangeManagerService as _0x1b26fc}from'@univerjs/docs-ui';import{IImageIoService as _0x9be677}from'@univerjs/drawing';import{BehaviorSubject as _0x498be9,debounceTime as _0x226869,takeUntil as _0x2fdde1,Subject as _0x548832,filter as _0x40a49c,switchMap as _0x4cff02,merge as _0x57f955,combineLatest as _0xc070e4,of as _0x12df26,fromEvent as _0x39c7f3,shareReplay as _0x46f86d,mapTo as _0x2a445b,distinctUntilChanged as _0x47bdb8}from'rxjs';import{ITransformService as _0x5445bd,CollaborationEvent as _0x4827b8,isTransformMutationFailure as _0x2030ce,isTransformMutationsWithChangesetSuccess as _0x610224,RevisionService as _0x158257,ISnapshotServerService as _0x2ff4e4}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1440df,RichTextEditingMutation as _0x45c5a1,DocSelectionManagerService as _0x5cdeae,DocSkeletonManagerService as _0x52dcf8}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x320078,serializeRangeWithSheet as _0x4ca576}from'@univerjs/engine-formula';import{RefRangeService as _0x635aef,SetSelectionsOperation as _0x383d3b,SheetsSelectionsService as _0xedb4a,EffectRefRangId as _0x7e9703,handleIRemoveRow as _0x2474aa,handleIRemoveCol as _0x11a9f8,handleMoveRange as _0x2d8a46,handleInsertRow as _0xfe3638,handleInsertRangeMoveRight as _0x17cd93,handleInsertRangeMoveDown as _0x24611e,handleInsertCol as _0x36e61a,handleDeleteRangeMoveUp as _0x3423dd,handleDeleteRangeMoveLeft as _0x2f2371,runRefRangeMutations as _0x5c47e6,SetWorksheetActivateCommand as _0x5afe82}from'@univerjs/sheets';import{map as _0x1c5977,filter as _0x111884,throttleTime as _0x23ea35,takeUntil as _0x42343d,switchMap as _0x3cb18c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3950f2,getCoordByCell as _0x3f00d9,getSheetObject as _0x37871e}from'@univerjs/sheets-ui';import{jsx as _0x14ec18,jsxs as _0x5e558b}from'react/jsx-runtime';import{useObservable as _0x4929d9,useDependency as _0x115dee,IUIPartsService as _0x1d47ed,BuiltInUIPart as _0x15f948,connectInjector as _0xe36a25,IBeforeCloseService as _0x137831,IMessageService as _0x16d6e7,INotificationService as _0x4a01b0}from'@univerjs/ui';import{Tooltip as _0xc0360d,clsx as _0x4d5517,MessageType as _0xc7c325}from'@univerjs/design';import{forwardRef as _0x4dd606,useRef as _0x5efa58,createElement as _0x48d228,useCallback as _0x43f4dc}from'react';import{IRemoteInstanceService as _0xc0efe0}from'@univerjs/rpc';var ci=Object[_0x2f663e(0x151)],li=(_0x5c572a,_0x2be2b4,_0x459526,_0x492b6b)=>{const _0x9def6b=_0x2f663e;for(var _0x102996=_0x492b6b>0x1?void 0x0:_0x492b6b?ci(_0x2be2b4,_0x459526):_0x2be2b4,_0x573783=_0x5c572a[_0x9def6b(0x85)]-0x1,_0x235dda;_0x573783>=0x0;_0x573783--)(_0x235dda=_0x5c572a[_0x573783])&&(_0x102996=_0x235dda(_0x102996)||_0x102996);return _0x102996;},Je=(_0x57045d,_0x28a2d7)=>(_0x184895,_0x1b4c19)=>_0x28a2d7(_0x184895,_0x1b4c19,_0x57045d);let Ne=class extends _0x44d3a6{constructor(_0x4adca1,_0x17c83f){const _0x10797e=_0x2f663e;super(),this[_0x10797e(0x1c0)]=_0x4adca1,this[_0x10797e(0x1f3)]=_0x17c83f,this[_0x10797e(0x163)]();}[_0x2f663e(0x163)](){const _0xf6ec45=_0x2f663e,_0x5b3b64=this;this[_0xf6ec45(0x1e9)](this['_docClipboardService'][_0xf6ec45(0x183)]({'onBeforePasteImage':async _0x50da9a=>{const _0x43c3e=_0xf6ec45,_0x283a84=await _0x5b3b64[_0x43c3e(0x1f3)][_0x43c3e(0x281)](_0x50da9a);return _0x283a84?{'source':_0x283a84[_0x43c3e(0x28f)],'imageSourceType':_0x283a84[_0x43c3e(0x81)]}:null;}}));}};Ne=li([Je(0x0,_0x27074a),Je(0x1,_0x9be677)],Ne);const Ze=[_0x2f663e(0x1d2),_0x2f663e(0x96),'green.600',_0x2f663e(0x15d),_0x2f663e(0xe5),_0x2f663e(0x10b)];class ke extends _0x2c599b{constructor(){const _0x5432a2=_0x2f663e;super(...arguments),_(this,_0x5432a2(0xf0),new Map()),_(this,_0x5432a2(0x238),0x0);}[_0x2f663e(0x1db)](_0xedbdd1){const _0x2df021=_0x2f663e;if(this[_0x2df021(0xf0)][_0x2df021(0x14b)](_0xedbdd1))return this[_0x2df021(0xf0)][_0x2df021(0xda)](_0xedbdd1);const _0x40077b=Ze[this[_0x2df021(0x238)]];return this[_0x2df021(0x238)]=(this[_0x2df021(0x238)]+0x1)%Ze['length'],this['_assignedColors'][_0x2df021(0x144)](_0xedbdd1,_0x40077b),_0x40077b;}}function Tt(_0x1411b1){const _0x45d0c2=_0x2f663e;let _0x46a515='';for(const _0x1d6d22 of _0x1411b1){const {startOffset:_0x49e43e,endOffset:_0x5e896f,isActive:_0x1f4d43,rangeType:_0xfc4684,segmentId:_0x555758,segmentPage:_0x5649bd}=_0x1d6d22;_0x46a515[_0x45d0c2(0x85)]&&(_0x46a515+=','),_0x46a515+=_0x49e43e+':'+_0x5e896f+':'+(_0x1f4d43?'1':'0')+':'+_0xfc4684+':'+_0x555758+':'+_0x5649bd;}return _0x46a515;}function _i(_0x551b85){const _0x4b641c=_0x2f663e,_0x274d34=_0x551b85[_0x4b641c(0x1f8)](','),_0x12446e=[];for(const _0x4697dc of _0x274d34){const [_0x140dd8,_0x1f8b88,_0x5918cd,_0xfd4998,_0xbb5028,_0x13a49d]=_0x4697dc[_0x4b641c(0x1f8)](':');_0x12446e['push']({'startOffset':Number(_0x140dd8),'endOffset':Number(_0x1f8b88),'collapsed':_0x140dd8===_0x1f8b88,'isActive':_0x5918cd==='1','rangeType':_0xfd4998===_0x5f2260['TEXT']?_0x5f2260[_0x4b641c(0x126)]:_0x5f2260[_0x4b641c(0x20f)],'segmentId':typeof _0xbb5028==_0x4b641c(0xaf)?String(_0xbb5028):'','segmentPage':Number(_0x13a49d!=null?_0x13a49d:-0x1)});}return _0x12446e[_0x4b641c(0x129)](_0x2239d7=>_0x2239d7[_0x4b641c(0x291)])||(_0x12446e[0x0][_0x4b641c(0x291)]=!0x0),_0x12446e;}class He extends _0x44d3a6{constructor(){const _0x42de1e=_0x2f663e;super(...arguments),_(this,_0x42de1e(0x198),new _0x498be9(null)),_(this,_0x42de1e(0x27b),this[_0x42de1e(0x198)][_0x42de1e(0xce)]());}[_0x2f663e(0x1b2)](_0xe4740b){const _0x1f5240=_0x2f663e,{unitID:_0x3915fd,memberID:_0x3688c2,textRanges:_0x1c82db}=_0xe4740b,_0x464178=Tt(_0x1c82db);if(_0x464178==='')return;const _0x11d1c8={'unitID':_0x3915fd,'memberID':_0x3688c2,'selection':_0x464178};this[_0x1f5240(0x198)][_0x1f5240(0x24e)](_0x11d1c8);}}var hi=Object[_0x2f663e(0x151)],ui=(_0x3e7414,_0x451113,_0x12a135,_0x561303)=>{for(var _0x53b021=_0x561303>0x1?void 0x0:_0x561303?hi(_0x451113,_0x12a135):_0x451113,_0x54c8d9=_0x3e7414['length']-0x1,_0x1a0da1;_0x54c8d9>=0x0;_0x54c8d9--)(_0x1a0da1=_0x3e7414[_0x54c8d9])&&(_0x53b021=_0x1a0da1(_0x53b021)||_0x53b021);return _0x53b021;},P=(_0x3bd5ca,_0x5e0183)=>(_0x316751,_0x535e5d)=>_0x5e0183(_0x316751,_0x535e5d,_0x3bd5ca);const di=0x12c,fi=0x64;let Ue=class extends _0x44d3a6{constructor(_0x3369b4,_0x10919c,_0x20eedb,_0x5b80b0,_0x1772b3,_0x2b8e30,_0x33384f,_0x4105e0,_0x354d69){const _0x1f5108=_0x2f663e;super(),_(this,_0x1f5108(0xd5),!0x1),_(this,_0x1f5108(0x163),!0x1),_(this,_0x1f5108(0x26d),new _0x498be9(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x1f5108(0xce)]()),_(this,'_roomMembers$',new _0x498be9([])),_(this,_0x1f5108(0x1cd),this[_0x1f5108(0x216)]['pipe'](_0x226869(di))),_(this,_0x1f5108(0x153),_0x4decf4(_0x1b7422=>{const _0xc3e023=_0x1f5108,_0x265c7b={'eventID':_0x4827b8['UPDATE_CURSOR'],'data':{'unitID':this[_0xc3e023(0x20c)],'memberID':this['_session'][_0xc3e023(0x228)](),'selection':Tt(_0x1b7422)}};this['_session'][_0xc3e023(0x148)](_0x265c7b,this['unitID']);},fi)),(this[_0x1f5108(0x20c)]=_0x3369b4,this[_0x1f5108(0x190)]=_0x10919c,this[_0x1f5108(0x1b9)]=_0x20eedb,this[_0x1f5108(0x159)]=_0x5b80b0,this[_0x1f5108(0x1e8)]=_0x1772b3,this[_0x1f5108(0x24d)]=_0x2b8e30,this[_0x1f5108(0x10f)]=_0x33384f,this[_0x1f5108(0xf2)]=_0x4105e0,this[_0x1f5108(0xc3)]=_0x354d69);}get[_0x2f663e(0x237)](){const _0x10aa44=_0x2f663e;return this['_cursorInfo$'][_0x10aa44(0x20e)]();}get[_0x2f663e(0x1ca)](){const _0xdd4fc4=_0x2f663e;return this[_0xdd4fc4(0x216)][_0xdd4fc4(0x20e)]();}['dispose'](){const _0x38ae77=_0x2f663e;super[_0x38ae77(0x11a)](),this[_0x38ae77(0x26d)]['next'](new Map()),this[_0x38ae77(0x26d)][_0x38ae77(0x247)](),this[_0x38ae77(0x216)]['next']([]),this[_0x38ae77(0x216)][_0x38ae77(0x247)]();}['init'](){const _0x5a27e2=_0x2f663e;this['_init']||(this[_0x5a27e2(0x163)]=!0x0,this[_0x5a27e2(0x190)][_0x5a27e2(0xc2)][_0x5a27e2(0xfb)](_0x2fdde1(this[_0x5a27e2(0xa5)]))[_0x5a27e2(0xbd)](_0x214e98=>{const _0x196904=_0x5a27e2;_0x214e98===_0x22404e[_0x196904(0x1e5)]?this['_toggleOnline']():this[_0x196904(0x9f)]();}),this[_0x5a27e2(0x190)]['event$'][_0x5a27e2(0xfb)](_0x2fdde1(this['dispose$']))[_0x5a27e2(0xbd)](_0x76cf5d=>{const _0x1dcfb8=_0x5a27e2,_0x2412a=_0x76cf5d['eventID'];_0x2412a===_0x4827b8[_0x1dcfb8(0x1dc)]&&this[_0x1dcfb8(0x86)](_0x76cf5d),_0x2412a===_0x4827b8[_0x1dcfb8(0x214)]&&this[_0x1dcfb8(0x1f9)](_0x76cf5d);}),this[_0x5a27e2(0x1e9)](this[_0x5a27e2(0xc3)][_0x5a27e2(0x23f)](_0xc46ba5=>{const _0x33abfb=_0x5a27e2,_0x4406c4=_0xc46ba5['params'];_0x4406c4!=null&&this[_0x33abfb(0xd5)]&&_0xc46ba5['id']===_0x1440df['id']&&_0x4406c4[_0x33abfb(0xfa)]===this[_0x33abfb(0x20c)]&&_0x4406c4[_0x33abfb(0x286)]===!0x1&&_0x4406c4[_0x33abfb(0x112)][_0x33abfb(0x85)]>0x0&&this[_0x33abfb(0x153)](_0x4406c4[_0x33abfb(0x112)]);})),this[_0x5a27e2(0x24d)][_0x5a27e2(0x27b)][_0x5a27e2(0xfb)](_0x2fdde1(this[_0x5a27e2(0xa5)]))[_0x5a27e2(0xbd)](_0x186514=>{const _0x49b41e=_0x5a27e2;if((_0x186514==null?void 0x0:_0x186514[_0x49b41e(0x20c)])!==this[_0x49b41e(0x20c)])return;const _0x1f2415={'eventID':_0x4827b8[_0x49b41e(0x1dc)],'data':_0x186514};this[_0x49b41e(0x86)](_0x1f2415);}),this[_0x5a27e2(0x1e9)](this['_commandService'][_0x5a27e2(0x23f)](_0x321fd7=>{const _0x3dcd84=_0x5a27e2;if(_0x321fd7['params']==null)return;const _0x42b092=_0x321fd7['params'];if(_0x321fd7['id']!==_0x45c5a1['id']||_0x42b092['unitId']!==this['unitID'])return;const _0x19076f={'id':_0x3dcd84(0x89),'params':_0x42b092},_0x30f62c=this['cursorInfo'];for(const [_0x194bca,_0x297f41]of _0x30f62c){const _0x2d6cf4={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3dcd84(0x20c)],'actions':null,'textRanges':_0x297f41['ranges']}},_0x515e02=this['_transformService'][_0x3dcd84(0xd0)](_0x19076f,_0x2d6cf4,!0x1);if(_0x2030ce(_0x515e02))throw _0x515e02[_0x3dcd84(0x217)];_0x30f62c['set'](_0x194bca,{..._0x297f41,'ranges':_0x515e02[_0x3dcd84(0x182)][_0x3dcd84(0x128)]['textRanges']});}queueMicrotask(()=>{const _0x4fd9f3=_0x3dcd84;this[_0x4fd9f3(0x26d)][_0x4fd9f3(0x24e)](_0x30f62c);});})));}[_0x2f663e(0x86)](_0x38e979){const _0x15d30a=_0x2f663e;var _0x798cc,_0x380393;const {memberID:_0x334029,selection:_0x8b58c8}=_0x38e979[_0x15d30a(0x188)],_0x49f6e6=_i(_0x8b58c8),_0x20e4dc=(_0x380393=(_0x798cc=this[_0x15d30a(0x1e8)][_0x15d30a(0xa8)](this[_0x15d30a(0x20c)],_0x334029))==null?void 0x0:_0x798cc[_0x15d30a(0x12a)])!=null?_0x380393:'Unknown\x20user',_0x30dea7={'color':this[_0x15d30a(0x159)][_0x15d30a(0x1db)](_0x334029),'name':_0x20e4dc,'ranges':_0x49f6e6},_0x40bc54=this[_0x15d30a(0x237)];_0x40bc54['set'](_0x334029,_0x30dea7),this[_0x15d30a(0x26d)]['next'](_0x40bc54);}[_0x2f663e(0x1f9)](_0x127131){const _0x39d6c0=_0x2f663e,{memberID:_0x30472c}=_0x127131[_0x39d6c0(0x188)],_0x322203=this[_0x39d6c0(0x237)];_0x322203[_0x39d6c0(0x252)](_0x30472c),this[_0x39d6c0(0x26d)][_0x39d6c0(0x24e)](_0x322203);}['_toggleOnline'](){const _0x454a46=_0x2f663e;var _0x167488;if(this[_0x454a46(0xd5)]=!0x0,((_0x167488=this[_0x454a46(0xf2)]['getFocusedUnit']())==null?void 0x0:_0x167488['getUnitId']())!==this[_0x454a46(0x20c)])return;const _0x4cfa22=this['_injector']['get'](_0x5cdeae)[_0x454a46(0x169)]();Array[_0x454a46(0x8c)](_0x4cfa22)&&_0x4cfa22[_0x454a46(0x85)]>0x0&&this['_updateLocalCursor'](_0x4cfa22);}[_0x2f663e(0x9f)](){const _0x56006d=_0x2f663e;this[_0x56006d(0xd5)]=!0x1;}};Ue=ui([P(0x2,_0xfad7a2(_0xf6ae29)),P(0x3,_0xfad7a2(ke)),P(0x4,_0xfad7a2(_0x15a097)),P(0x5,_0xfad7a2(He)),P(0x6,_0x5445bd),P(0x7,_0x4b850f),P(0x8,_0x2642f8)],Ue);var Si=Object[_0x2f663e(0x151)],mi=(_0x5f5a6c,_0x252a09,_0x2de9c2,_0x282b2e)=>{for(var _0x516c1b=_0x282b2e>0x1?void 0x0:_0x282b2e?Si(_0x252a09,_0x2de9c2):_0x252a09,_0x45d3ba=_0x5f5a6c['length']-0x1,_0x445c4e;_0x45d3ba>=0x0;_0x45d3ba--)(_0x445c4e=_0x5f5a6c[_0x45d3ba])&&(_0x516c1b=_0x445c4e(_0x516c1b)||_0x516c1b);return _0x516c1b;},x=(_0x44573f,_0x211a8c)=>(_0x185e47,_0x54ce4e)=>_0x211a8c(_0x185e47,_0x54ce4e,_0x44573f);const Ii=0x12c,gi=0x64,vi=()=>{let _0x37d6a5=[],_0x21c734=!0x1;return _0x2065fb=>{const _0x224b8c=_0x10a5;_0x37d6a5[_0x224b8c(0xa9)](_0x2065fb),_0x21c734||(_0x21c734=!0x0,setTimeout(()=>{const _0x256fab=_0x224b8c;_0x37d6a5[_0x256fab(0x1a7)](_0x38afb3=>_0x38afb3()),_0x37d6a5=[],_0x21c734=!0x1;}));};};let Me=class extends _0x44d3a6{constructor(_0x577d70,_0x507d86,_0x3f8996,_0x39b14a,_0x1c017e,_0x3be020,_0x57e9c2,_0x2d75a4){const _0x517d9b=_0x2f663e;super(),_(this,_0x517d9b(0xd5),!0x1),_(this,'_init',!0x1),_(this,_0x517d9b(0x26d),new _0x498be9(new Map())),_(this,_0x517d9b(0x13a),this[_0x517d9b(0x26d)][_0x517d9b(0xce)]()),_(this,'_roomMembers$',new _0x498be9([])),_(this,'roomMembers$',this[_0x517d9b(0x216)]['pipe'](_0x226869(Ii))),_(this,'_updateLocalCursor',_0x4decf4((_0x1120a1,_0x4f0f0e)=>{const _0xe2edbb=_0x517d9b,_0x50eb08={'eventID':_0x4827b8[_0xe2edbb(0x1dc)],'data':{'unitID':this[_0xe2edbb(0x20c)],'memberID':this[_0xe2edbb(0x190)][_0xe2edbb(0x228)](),'selection':_0x4ca576(_0x1120a1,_0x4f0f0e[_0xe2edbb(0x150)])}};this[_0xe2edbb(0x190)]['send'](_0x50eb08,this[_0xe2edbb(0x20c)]);},gi)),(this[_0x517d9b(0x20c)]=_0x577d70,this[_0x517d9b(0x190)]=_0x507d86,this[_0x517d9b(0x1b9)]=_0x3f8996,this[_0x517d9b(0x159)]=_0x39b14a,this[_0x517d9b(0x1e8)]=_0x1c017e,this[_0x517d9b(0xf2)]=_0x3be020,this['_commandService']=_0x57e9c2,this[_0x517d9b(0x1d4)]=_0x2d75a4);}get[_0x2f663e(0x237)](){const _0x168519=_0x2f663e;return this[_0x168519(0x26d)][_0x168519(0x20e)]();}get['roomMembers'](){const _0x24a396=_0x2f663e;return this[_0x24a396(0x216)][_0x24a396(0x20e)]();}['dispose'](){const _0x1d68ae=_0x2f663e;super[_0x1d68ae(0x11a)](),this[_0x1d68ae(0x26d)]['next'](new Map()),this[_0x1d68ae(0x26d)]['complete'](),this['_roomMembers$'][_0x1d68ae(0x24e)]([]),this['_roomMembers$']['complete']();}[_0x2f663e(0x161)](){const _0xfc95ac=_0x2f663e;this[_0xfc95ac(0x163)]||(this[_0xfc95ac(0x163)]=!0x0,this[_0xfc95ac(0x190)][_0xfc95ac(0xc2)][_0xfc95ac(0xfb)](_0x2fdde1(this[_0xfc95ac(0xa5)]))[_0xfc95ac(0xbd)](_0x165839=>{const _0x10561b=_0xfc95ac;_0x165839===_0x22404e[_0x10561b(0x1e5)]?this[_0x10561b(0x84)]():this[_0x10561b(0x9f)]();}),this[_0xfc95ac(0x190)][_0xfc95ac(0x26c)][_0xfc95ac(0xfb)](_0x2fdde1(this[_0xfc95ac(0xa5)]))[_0xfc95ac(0xbd)](_0xfa01bc=>{const _0x13ccac=_0xfc95ac,_0x4224b9=_0xfa01bc[_0x13ccac(0x235)];_0x4224b9===_0x4827b8[_0x13ccac(0x1dc)]&&this['_onCursorUpdate'](_0xfa01bc),_0x4224b9===_0x4827b8[_0x13ccac(0x214)]&&this['_onCursorDelete'](_0xfa01bc);}),this[_0xfc95ac(0xc8)](),this[_0xfc95ac(0x1e9)](this['_commandService'][_0xfc95ac(0x23f)](_0x591cc2=>{const _0xcf787d=_0xfc95ac;if(this[_0xcf787d(0xd5)]&&_0x591cc2['id']===_0x383d3b['id']&&_0x591cc2[_0xcf787d(0x128)][_0xcf787d(0xfa)]===this[_0xcf787d(0x20c)]){const _0x3488a4=_0x591cc2['params'];this[_0xcf787d(0x153)](_0x3488a4[_0xcf787d(0x24f)],_0x3488a4['selections'][0x0]);}})));}[_0x2f663e(0x86)](_0x4c18d3){const _0x190bb1=_0x2f663e;var _0x905be2,_0x20421f;const {memberID:_0x5ac4c8,selection:_0x1b657c}=_0x4c18d3[_0x190bb1(0x188)],{sheetName:_0x2fea67,range:_0x3b9620}=_0x320078(_0x1b657c),_0x532f88={'name':(_0x20421f=(_0x905be2=this[_0x190bb1(0x1e8)]['getMember'](this[_0x190bb1(0x20c)],_0x5ac4c8))==null?void 0x0:_0x905be2['name'])!=null?_0x20421f:_0x190bb1(0x1d1),'range':this[_0x190bb1(0x23b)](_0x2fea67,_0x3b9620),'sheetID':_0x2fea67,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5ac4c8),'selection':_0x1b657c},_0x132f54=this['cursorInfo'];_0x132f54[_0x190bb1(0x144)](_0x5ac4c8,_0x532f88),this['_cursorInfo$'][_0x190bb1(0x24e)](_0x132f54);}[_0x2f663e(0x1f9)](_0x53c43c){const _0x4f3aab=_0x2f663e,{memberID:_0xaf2769}=_0x53c43c['data'],_0x4d6d4d=this[_0x4f3aab(0x237)];_0x4d6d4d['delete'](_0xaf2769),this[_0x4f3aab(0x26d)]['next'](_0x4d6d4d);}[_0x2f663e(0x23b)](_0x7a08d8,_0x513c6c){const _0x45162a=_0x2f663e;var _0x5caa6c,_0x34ab66;const _0x22f246=(_0x34ab66=(_0x5caa6c=this['_univerInstanceService'][_0x45162a(0x15a)](this[_0x45162a(0x20c)]))==null?void 0x0:_0x5caa6c[_0x45162a(0x90)](_0x7a08d8))==null?void 0x0:_0x34ab66['getMergeData']();return(_0x22f246==null?void 0x0:_0x22f246[_0x45162a(0x7f)](_0x161626=>_0x1c0d47['contains'](_0x161626,_0x513c6c)))||_0x513c6c;}[_0x2f663e(0xc8)](){const _0xc3a449=_0x2f663e,_0x55a2bb=new _0x8b3db2(),_0x12e7e1=vi(),_0x88a46a=()=>{const _0x3c851d=_0x10a5;_0x55a2bb['dispose']();const _0x529844=(_0x43faf8,_0x1bb189,_0x296eec,_0xf3e4e)=>{const _0x77f8cd=_0x10a5;let _0x553593=[];switch(_0x43faf8['id']){case _0x7e9703[_0x77f8cd(0x17d)]:{_0x553593=_0x2f2371(_0x43faf8,_0xf3e4e);break;}case _0x7e9703[_0x77f8cd(0x1ec)]:{_0x553593=_0x3423dd(_0x43faf8,_0xf3e4e);break;}case _0x7e9703[_0x77f8cd(0x223)]:{_0x553593=_0x36e61a(_0x43faf8,_0xf3e4e);break;}case _0x7e9703[_0x77f8cd(0x269)]:{_0x553593=_0x24611e(_0x43faf8,_0xf3e4e);break;}case _0x7e9703[_0x77f8cd(0xb2)]:{_0x553593=_0x17cd93(_0x43faf8,_0xf3e4e);break;}case _0x7e9703[_0x77f8cd(0xeb)]:{_0x553593=_0xfe3638(_0x43faf8,_0xf3e4e);break;}case _0x7e9703[_0x77f8cd(0x13c)]:{_0x553593=_0x2d8a46(_0x43faf8,_0xf3e4e);break;}case _0x7e9703['RemoveColCommandId']:{_0x553593=_0x11a9f8(_0x43faf8,_0xf3e4e);break;}case _0x7e9703['RemoveRowCommandId']:{_0x553593=_0x2474aa(_0x43faf8,_0xf3e4e);break;}}const _0x596442=_0x5c47e6(_0x553593,_0xf3e4e),_0x13cd34=this[_0x77f8cd(0x237)][_0x77f8cd(0xda)](_0x1bb189);if(_0x13cd34&&_0x596442){const _0x341c2={..._0x13cd34,'range':_0x596442};this[_0x77f8cd(0x237)]['set'](_0x1bb189,_0x341c2),_0x12e7e1(()=>{const _0x465a63=_0x77f8cd,_0x2f96dc=this['_refRangeService'][_0x465a63(0x271)](_0x596442,_0x3c6e14=>(_0x2f96dc[_0x465a63(0x11a)](),_0x529844(_0x3c6e14,_0x1bb189,_0x296eec,_0x596442)));_0x55a2bb[_0x465a63(0x143)](_0x2f96dc);});}return{'redos':[],'undos':[]};};this[_0x3c851d(0x237)]['forEach']((_0x3e95ae,_0x4fe8dd)=>{const _0x2aa747=_0x3c851d,{range:_0x44523f,sheetID:_0x1c09a0}=_0x3e95ae,_0x15f92e=this[_0x2aa747(0x1d4)][_0x2aa747(0x271)](_0x44523f,_0x129283=>(_0x15f92e[_0x2aa747(0x11a)](),_0x529844(_0x129283,_0x4fe8dd,_0x1c09a0,_0x44523f)));_0x55a2bb[_0x2aa747(0x143)](_0x15f92e);});};this[_0xc3a449(0x1e9)](_0xa67f93(this[_0xc3a449(0x26d)][_0xc3a449(0xbd)](()=>{_0x88a46a();})));}[_0x2f663e(0x84)](){const _0x522bc8=_0x2f663e;var _0x4be9aa,_0xad1d79;if(this['_online']=!0x0,((_0x4be9aa=this[_0x522bc8(0xf2)]['getFocusedUnit']())==null?void 0x0:_0x4be9aa['getUnitId']())!==this[_0x522bc8(0x20c)])return;const _0x5f38ee=(_0xad1d79=this['_injector']['get'](_0xedb4a)[_0x522bc8(0x1ac)]())==null?void 0x0:_0xad1d79[0x0],_0x3e815b=this[_0x522bc8(0xf2)][_0x522bc8(0x166)](_0x39ba16[_0x522bc8(0x232)])[_0x522bc8(0x15e)]();_0x5f38ee&&_0x3e815b&&this['_updateLocalCursor'](_0x3e815b[_0x522bc8(0x1a8)](),_0x5f38ee);}[_0x2f663e(0x9f)](){const _0x4c7615=_0x2f663e;this[_0x4c7615(0xd5)]=!0x1;}};Me=mi([x(0x2,_0xfad7a2(_0xf6ae29)),x(0x3,_0xfad7a2(ke)),x(0x4,_0xfad7a2(_0x15a097)),x(0x5,_0x4b850f),x(0x6,_0x2642f8),x(0x7,_0xfad7a2(_0x635aef))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x3053fc,_0x516897,_0x58c679,_0xdd49e1)=>{const _0x4c8bb7=_0x2f663e;for(var _0x25e6c6=_0xdd49e1>0x1?void 0x0:_0xdd49e1?pi(_0x516897,_0x58c679):_0x516897,_0xa73168=_0x3053fc[_0x4c8bb7(0x85)]-0x1,_0x4ba8f6;_0xa73168>=0x0;_0xa73168--)(_0x4ba8f6=_0x3053fc[_0xa73168])&&(_0x25e6c6=_0x4ba8f6(_0x25e6c6)||_0x25e6c6);return _0x25e6c6;},Se=(_0x532321,_0x815492)=>(_0x4c4612,_0xd85d17)=>_0x815492(_0x4c4612,_0xd85d17,_0x532321);let H=class extends _0x44d3a6{constructor(_0x241222,_0x438fcd,_0x3c2491){const _0x14700e=_0x2f663e;super(),_(this,_0x14700e(0x207),new Map()),_(this,_0x14700e(0x1ed),new _0x548832()),(this[_0x14700e(0xf2)]=_0x241222,this[_0x14700e(0x1b9)]=_0x438fcd,this[_0x14700e(0x280)]=_0x3c2491,this[_0x14700e(0x163)]());}[_0x2f663e(0x11a)](){const _0x3c60e5=_0x2f663e;super[_0x3c60e5(0x11a)](),this[_0x3c60e5(0x1ed)][_0x3c60e5(0x247)](),this[_0x3c60e5(0x207)][_0x3c60e5(0x1a7)](_0x4f6927=>_0x4f6927[_0x3c60e5(0x11a)]());}[_0x2f663e(0x142)](_0x21856c){const _0x3d9801=_0x2f663e;return this['_entities'][_0x3d9801(0x14b)](_0x21856c)?this[_0x3d9801(0x207)][_0x3d9801(0xda)](_0x21856c)[_0x3d9801(0x13a)]:this[_0x3d9801(0x1ed)][_0x3d9801(0xfb)](_0x40a49c(_0x5c2da4=>_0x5c2da4[_0x3d9801(0x20c)]===_0x21856c),_0x4cff02(_0x477801=>_0x477801['cursorInfo$']));}[_0x2f663e(0x163)](){const _0x1b3a00=_0x2f663e;this[_0x1b3a00(0xf2)][_0x1b3a00(0x1ef)](_0x39ba16[_0x1b3a00(0x232)])[_0x1b3a00(0xfb)](_0x2fdde1(this['dispose$']))[_0x1b3a00(0xbd)](async _0x19af58=>{const _0x13caca=_0x1b3a00,_0x485f2d=_0x19af58[_0x13caca(0x25d)](),_0x2d8ae5=await this[_0x13caca(0x145)](_0x485f2d);this[_0x13caca(0x1ed)][_0x13caca(0x24e)](_0x2d8ae5),this['_entities'][_0x13caca(0x144)](_0x485f2d,_0x2d8ae5);}),this['_univerInstanceService'][_0x1b3a00(0x1ef)](_0x39ba16['UNIVER_DOC'])[_0x1b3a00(0xfb)](_0x2fdde1(this[_0x1b3a00(0xa5)]))[_0x1b3a00(0xfb)](_0x40a49c(_0x10862f=>!_0x10862f['getUnitId']()[_0x1b3a00(0xdf)]('__')))[_0x1b3a00(0xbd)](async _0x312d99=>{const _0x39a5d8=_0x1b3a00,_0x38962f=_0x312d99['getUnitId'](),_0x99a2b0=await this[_0x39a5d8(0x26f)](_0x38962f);this['_entityInit$'][_0x39a5d8(0x24e)](_0x99a2b0),this[_0x39a5d8(0x207)]['set'](_0x38962f,_0x99a2b0);}),_0x57f955(this[_0x1b3a00(0xf2)][_0x1b3a00(0x13e)](_0x39ba16[_0x1b3a00(0x18a)]),this['_univerInstanceService'][_0x1b3a00(0x13e)](_0x39ba16[_0x1b3a00(0x232)]))[_0x1b3a00(0xfb)](_0x2fdde1(this[_0x1b3a00(0xa5)]))[_0x1b3a00(0xbd)](_0x7c0b2b=>{const _0x280e8e=_0x1b3a00,_0x4bc80e=_0x7c0b2b[_0x280e8e(0x25d)](),_0x5721cf=this['_entities'][_0x280e8e(0xda)](_0x4bc80e);_0x5721cf&&(_0x5721cf[_0x280e8e(0x11a)](),this[_0x280e8e(0x207)]['delete'](_0x4bc80e));});}async[_0x2f663e(0x145)](_0x31090f){const _0x26a55d=_0x2f663e,_0x341dbd=await this[_0x26a55d(0x280)][_0x26a55d(0x1f0)](_0x31090f),_0x3192e1=this[_0x26a55d(0x1b9)][_0x26a55d(0x104)](Me,_0x31090f,_0x341dbd);return _0x3192e1[_0x26a55d(0x161)](),_0x3192e1;}async[_0x2f663e(0x26f)](_0xfa9f90){const _0x546ff1=_0x2f663e,_0x4841fa=await this[_0x546ff1(0x280)][_0x546ff1(0x1f0)](_0xfa9f90),_0x10e788=this['_injector'][_0x546ff1(0x104)](Ue,_0xfa9f90,_0x4841fa);return _0x10e788[_0x546ff1(0x161)](),_0x10e788;}};H=Ci([Se(0x0,_0x4b850f),Se(0x1,_0xfad7a2(_0xf6ae29)),Se(0x2,_0xfad7a2(_0x54fbb4))],H);function _0x10a5(_0x8c73de,_0x722bb9){const _0x4f54d0=_0x4f54();return _0x10a5=function(_0x10a574,_0x208f20){_0x10a574=_0x10a574-0x7b;let _0x2dd3b9=_0x4f54d0[_0x10a574];return _0x2dd3b9;},_0x10a5(_0x8c73de,_0x722bb9);}const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x487fef,_0x465173){const _0xb80276=_0x2f663e;let {radius:_0xfb001e,width:_0x23ccd7,height:_0x5b1e92}=_0x465173;_0xfb001e=_0xfb001e!=null?_0xfb001e:0x0,_0x23ccd7=_0x23ccd7!=null?_0x23ccd7:0x1e,_0x5b1e92=_0x5b1e92!=null?_0x5b1e92:0x1e;let _0x1a64d8=0x0,_0x3899bf=0x0,_0x15999f=0x0;_0x1a64d8=_0x3899bf=_0x15999f=Math[_0xb80276(0x272)](_0xfb001e,_0x23ccd7/0x2,_0x5b1e92/0x2),_0x487fef[_0xb80276(0xf1)](),_0x487fef[_0xb80276(0x1fa)](_0x1a64d8,0x0),_0x487fef[_0xb80276(0x185)](_0x23ccd7-_0x3899bf,0x0),_0x487fef['arc'](_0x23ccd7-_0x3899bf,_0x3899bf,_0x3899bf,Math['PI']*0x3/0x2,0x0,!0x1),_0x487fef[_0xb80276(0x185)](_0x23ccd7,_0x5b1e92-_0x15999f),_0x487fef[_0xb80276(0x1f1)](_0x23ccd7-_0x15999f,_0x5b1e92-_0x15999f,_0x15999f,0x0,Math['PI']/0x2,!0x1),_0x487fef[_0xb80276(0x185)](0x0,_0x5b1e92),_0x487fef[_0xb80276(0x185)](0x0,_0x1a64d8),_0x487fef[_0xb80276(0x1f1)](_0x1a64d8,_0x1a64d8,_0x1a64d8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x487fef['closePath'](),_0x465173['fill']&&(_0x487fef[_0xb80276(0x23c)](),_0x487fef[_0xb80276(0x226)]=_0x465173[_0xb80276(0x1be)],_0x465173[_0xb80276(0x25b)]===_0xb80276(0x16d)?_0x487fef['fill']('evenodd'):_0x487fef[_0xb80276(0x1be)](),_0x487fef[_0xb80276(0xb4)]());}class he extends _0xedbeaf{constructor(_0x56d258,_0x89e492){const _0x486946=_0x2f663e;super(_0x56d258,_0x89e492),_(this,'color'),_(this,_0x486946(0x1dd)),(this[_0x486946(0x1e4)]=_0x89e492==null?void 0x0:_0x89e492[_0x486946(0x1e4)],this['text']=_0x89e492==null?void 0x0:_0x89e492[_0x486946(0x1dd)]);}static[_0x2f663e(0x17b)](_0x57a6ea,_0x13c015){const _0x5af268=_0x2f663e,{text:_0x187228,color:_0x2eb51f}=_0x13c015;_0x57a6ea['save'](),_0x57a6ea['font']=_0x5af268(0x181);const _0x6847d3=_0x57a6ea[_0x5af268(0x138)](_0x187228)[_0x5af268(0x213)],_0x4b7097=Math['min'](_0x6847d3+0x2*me,Qe);Oi(_0x57a6ea,{'height':ee,'radius':0x4,'width':_0x4b7097,'fill':_0x2eb51f}),_0x57a6ea[_0x5af268(0x226)]='#FFF';const _0x406c25=me,_0x3efd3f=ee-Ei,_0x2ab31e=Qe-0x2*me;if(_0x6847d3>_0x2ab31e){let _0x549fa7='',_0x88788b=0x0;for(const _0x400e85 of _0x187228){const _0x3020ef=_0x57a6ea[_0x5af268(0x138)](_0x400e85)[_0x5af268(0x213)];if(_0x88788b+_0x3020ef<=_0x2ab31e-_0x57a6ea[_0x5af268(0x138)](_0x5af268(0x1d6))[_0x5af268(0x213)])_0x549fa7+=_0x400e85,_0x88788b+=_0x3020ef;else{_0x549fa7+=_0x5af268(0x1d6);break;}}_0x57a6ea[_0x5af268(0x204)](_0x549fa7,_0x406c25,_0x3efd3f);}else _0x57a6ea[_0x5af268(0x204)](_0x187228,_0x406c25,_0x3efd3f);_0x57a6ea[_0x5af268(0xb4)]();}[_0x2f663e(0x189)](_0x3f5fa8){const _0x3586b0=_0x2f663e;he[_0x3586b0(0x17b)](_0x3f5fa8,this);}}const Ie=_0x2f663e(0x7d),bi=_0x2f663e(0x7b),Ti=_0x2f663e(0xe4),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x2f663e(0x127);class qe{constructor(_0x565e63,_0x2a140d,_0x28d2fc,_0x542a56){const _0xd6f470=_0x2f663e;_(this,_0xd6f470(0x21d),[]),_(this,_0xd6f470(0x245),null),_(this,'_textBubble',null),_(this,_0xd6f470(0x1e7),null),_(this,'_hideTimer',null),_(this,_0xd6f470(0x1a9),null),(this['_cursor']=_0x565e63,this[_0xd6f470(0x212)]=_0x2a140d,this[_0xd6f470(0x20a)]=_0x28d2fc,this[_0xd6f470(0x20b)]=_0x542a56,this[_0xd6f470(0x1a0)]());}set['_hover'](_0x4c1c5d){const _0x3ec672=_0x2f663e;_0x4c1c5d?(this[_0x3ec672(0x1e7)]&&this['_anchorDot']['hide'](),this[_0x3ec672(0x157)]&&this[_0x3ec672(0x157)][_0x3ec672(0xed)]()):(this[_0x3ec672(0x1e7)]&&this[_0x3ec672(0x1e7)][_0x3ec672(0xed)](),this[_0x3ec672(0x157)]&&this['_textBubble'][_0x3ec672(0x199)]());}[_0x2f663e(0x11a)](){const _0x4871bc=_0x2f663e;for(const _0x17dc31 of this[_0x4871bc(0x21d)])_0x17dc31[_0x4871bc(0x11a)]();this['_textBubble']&&this[_0x4871bc(0x157)][_0x4871bc(0x11a)](),this[_0x4871bc(0x1e7)]&&this[_0x4871bc(0x1e7)][_0x4871bc(0x11a)](),this[_0x4871bc(0x245)]&&this['_anchor'][_0x4871bc(0x11a)](),this['_eventUnsubscribe']&&this[_0x4871bc(0x1a9)]();}[_0x2f663e(0x1a0)](){const _0x940621=_0x2f663e;var _0x54dbe7;const {_docSkeleton:_0x48cc97,_document:_0x3f5f12}=this,{color:_0x2d6b42,name:_0x3d829f,ranges:_0x43912d}=this[_0x940621(0x27f)],_0x46e9a8=_0x3f5f12[_0x940621(0xb3)](),{docsLeft:_0xaa106a,docsTop:_0x5904c6}=_0x46e9a8,_0x341de3=new _0x4c1219(_0x46e9a8,_0x48cc97);for(const {startOffset:_0x12a40f,endOffset:_0x44a825,rangeType:_0x223e36,segmentId:_0x438389,segmentPage:_0x576161,collapsed:_0x2eb0f5,isActive:_0x580996}of _0x43912d){const _0x246298=_0x48cc97['findNodePositionByCharIndex'](_0x12a40f,!0x0,_0x438389,_0x576161);let _0xc95645=_0x48cc97[_0x940621(0xff)](_0x44a825,!0x0,_0x438389,_0x576161);if(_0xc95645==null&&(_0xc95645=_0x48cc97[_0x940621(0xff)](_0x44a825-0x1,!0x1,_0x438389,_0x576161)),_0x580996){const {contentBoxPointGroup:_0x59fe5f}=_0x341de3[_0x940621(0x12e)](_0xc95645,_0xc95645);if(_0x59fe5f['length']===0x0)continue;this[_0x940621(0x255)](_0x2d6b42,_0x59fe5f,_0xaa106a,_0x5904c6,_0x3d829f),this[_0x940621(0x1a9)]=this[_0x940621(0x120)]();}if(_0x246298&&_0xc95645){if(_0x223e36===_0x5f2260['RECT']){const _0x1ba043=new _0x2f4f15(_0x46e9a8,_0x48cc97),{pointGroup:_0x31d7d5}=(_0x54dbe7=_0x1ba043[_0x940621(0x12e)](_0x246298,_0xc95645))!=null?_0x54dbe7:{};if(_0x31d7d5==null||_0x31d7d5[_0x940621(0x85)]===0x0)continue;this['_drawRectRange'](_0x2d6b42,_0x31d7d5,_0xaa106a,_0x5904c6);}else{if(!_0x2eb0f5){const {borderBoxPointGroup:_0x3917d9}=_0x341de3['getRangePointData'](_0x246298,_0xc95645);if(_0x3917d9[_0x940621(0x85)]===0x0)continue;this[_0x940621(0xd4)](_0x2d6b42,_0x3917d9,_0xaa106a,_0x5904c6);}}}}}[_0x2f663e(0x255)](_0x10a1c0,_0x154665,_0x56ba89,_0xeb9ebd,_0x312cfa){const _0x336c1a=_0x2f663e,_0x3e4985=this[_0x336c1a(0x8b)](_0x154665),{left:_0x7090c,top:_0x5587a8,height:_0x414d42}=_0x3e4985,_0x4cbe22=this[_0x336c1a(0xaa)](),_0x12c842=Di/_0x4cbe22,_0x40a9f8=new _0x3fbab6(Ie+_0x1cca84['generateRandomId'](X),{'left':_0x7090c+_0x56ba89-_0x12c842,'top':_0x5587a8+_0xeb9ebd,'height':_0x414d42,'width':Ri,'fill':_0x10a1c0||_0x597969(_0x114d48[_0x336c1a(0x1da)],0x0),'strokeWidth':_0x12c842,'stroke':Ni,'evented':!0x0});this[_0x336c1a(0x245)]=_0x40a9f8,this['_scene']['addObject'](_0x40a9f8,_0x3b16f3);const _0x176af8=new _0x3fbab6(Ie+_0x1cca84[_0x336c1a(0x18b)](X),{'left':_0x7090c+_0x56ba89-_0x12c842,'top':_0x5587a8+_0xeb9ebd-ge/0x2,'height':ge,'width':ge,'fill':_0x10a1c0||_0x597969(_0x114d48[_0x336c1a(0x1da)],0x0),'strokeWidth':0x0,'stroke':_0x10a1c0||_0x597969(_0x114d48['black'],0x0),'evented':!0x1});this[_0x336c1a(0x1e7)]=_0x176af8,this[_0x336c1a(0x212)][_0x336c1a(0x19e)](_0x176af8,_0x3b16f3);const _0x20dd00=new he(Ie+_0x1cca84[_0x336c1a(0x18b)](X),{'left':_0x7090c+_0x56ba89-_0x12c842,'top':_0x5587a8+_0xeb9ebd-ee,'text':_0x312cfa,'color':_0x10a1c0});this[_0x336c1a(0x157)]=_0x20dd00,this[_0x336c1a(0x212)][_0x336c1a(0x19e)](_0x20dd00,_0x3b16f3),this[_0x336c1a(0x1b0)]=!0x1;}[_0x2f663e(0x120)](){const _0x439361=_0x2f663e,_0x4ca0e7=this[_0x439361(0x245)][_0x439361(0x187)][_0x439361(0x95)](()=>{const _0x431646=_0x439361;this[_0x431646(0x1b0)]=!0x0;}),_0x26bea9=this[_0x439361(0x245)]['onPointerLeave$'][_0x439361(0x95)](()=>{const _0xc188dd=_0x439361;this[_0xc188dd(0x26a)]&&clearTimeout(this[_0xc188dd(0x26a)]),this['_hideTimer']=setTimeout(()=>{const _0x50e218=_0xc188dd;this[_0x50e218(0x1b0)]=!0x1;},0x7d0);});return()=>{_0x4ca0e7['unsubscribe'](),_0x26bea9['unsubscribe']();};}[_0x2f663e(0xd4)](_0x1bd5fc,_0x595459,_0x104fc7,_0x166305){const _0x2e85c5=_0x2f663e,_0xed0b21=new _0x494120(_0x1bd5fc)[_0x2e85c5(0x14a)](0.2)[_0x2e85c5(0x141)](),_0x294745=new _0x2a2416(bi+_0x1cca84[_0x2e85c5(0x18b)](X),{'pointsGroup':_0x595459,'fill':_0xed0b21||_0x597969(_0x114d48['black'],0.2),'left':_0x104fc7,'top':_0x166305,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2e85c5(0x21d)][_0x2e85c5(0xa9)](_0x294745),this[_0x2e85c5(0x212)][_0x2e85c5(0x19e)](_0x294745,_0x3b16f3);}['_drawRectRange'](_0x3a60d8,_0x541bc4,_0x383406,_0x49a6d8){const _0x5946a1=_0x2f663e,_0xd9ddc5=new _0x494120(_0x3a60d8)[_0x5946a1(0x14a)](0.2)[_0x5946a1(0x141)](),_0x851f43=new _0x2a2416(Ti+_0x1cca84['generateRandomId'](X),{'pointsGroup':_0x541bc4,'fill':_0xd9ddc5||_0x597969(_0x114d48[_0x5946a1(0x1da)],0.2),'left':_0x383406,'top':_0x49a6d8,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x851f43),this['_scene'][_0x5946a1(0x19e)](_0x851f43,_0x3b16f3);}[_0x2f663e(0x8b)](_0x5ad22b){const _0x4777ae=_0x5ad22b[0x0],_0x1601b7=_0x4777ae[0x0],_0x528361=_0x4777ae[0x2],{x:_0x54edc7,y:_0x81a562}=_0x1601b7,{x:_0x3b9ef3,y:_0x46d5a7}=_0x528361;return{'left':_0x54edc7,'top':_0x81a562,'width':_0x3b9ef3-_0x54edc7,'height':_0x46d5a7-_0x81a562};}['_getScale'](){const _0x3b88ea=_0x2f663e,{scaleX:_0x166588,scaleY:_0x414216}=this[_0x3b88ea(0x212)][_0x3b88ea(0x19f)]();return Math[_0x3b88ea(0x242)](_0x166588,_0x414216);}}var Ui=Object[_0x2f663e(0x151)],Mi=(_0x56e9d2,_0x30f0b5,_0x1779e1,_0x92c80b)=>{const _0x14e113=_0x2f663e;for(var _0x4b2188=_0x92c80b>0x1?void 0x0:_0x92c80b?Ui(_0x30f0b5,_0x1779e1):_0x30f0b5,_0x31b0c7=_0x56e9d2[_0x14e113(0x85)]-0x1,_0x1affa5;_0x31b0c7>=0x0;_0x31b0c7--)(_0x1affa5=_0x56e9d2[_0x31b0c7])&&(_0x4b2188=_0x1affa5(_0x4b2188)||_0x4b2188);return _0x4b2188;},Z=(_0x494035,_0x4cc7ae)=>(_0x19927b,_0xb7e935)=>_0x4cc7ae(_0x19927b,_0xb7e935,_0x494035);let Le=class extends _0x44d3a6{constructor(_0x1a5bfc,_0x8a16b5,_0x34dda2,_0x28325c,_0x1d4a37){const _0x1252dd=_0x2f663e;super(),_(this,_0x1252dd(0xcc),[]),_(this,_0x1252dd(0x1a2),[]),(this[_0x1252dd(0x1fb)]=_0x1a5bfc,this['_docSkeletonManagerService']=_0x8a16b5,this[_0x1252dd(0x277)]=_0x34dda2,this['_commandService']=_0x28325c,this[_0x1252dd(0x18e)]=_0x1d4a37,this[_0x1252dd(0x163)]());}[_0x2f663e(0x163)](){const _0x3537d3=_0x2f663e,_0x286e81=this[_0x3537d3(0x1fb)][_0x3537d3(0xfa)],_0x144d42=this[_0x3537d3(0x130)];this[_0x3537d3(0x1e9)](_0xc070e4([this['_collabCursorController'][_0x3537d3(0x142)](_0x286e81),this[_0x3537d3(0x18e)]['currentTheme$']])[_0x3537d3(0xfb)](_0x1c5977(([_0x71badd,_0xea8c5d])=>({'skeleton':_0x144d42['getSkeleton'](),'cursors':[..._0x71badd[_0x3537d3(0x205)]()][_0x3537d3(0x152)](_0x5da677=>({..._0x5da677,'color':this[_0x3537d3(0x18e)][_0x3537d3(0x14f)](_0x5da677[_0x3537d3(0x1e4)])}))})))['subscribe'](_0x7d323=>{const _0x4ef6a0=_0x3537d3;if(this[_0x4ef6a0(0x125)](),_0x7d323){const {skeleton:_0x3fc27f,cursors:_0x564bc8}=_0x7d323;this[_0x4ef6a0(0x290)](_0x3fc27f,_0x564bc8);}})),this[_0x3537d3(0xd7)](),this[_0x3537d3(0x165)]();}[_0x2f663e(0x290)](_0x3ffc6c,_0x45ac0a){const _0x413e94=_0x2f663e,{scene:_0xd63b03,mainComponent:_0x2b1195}=this[_0x413e94(0x1fb)],_0x420fc6=_0x45ac0a[_0x413e94(0x14e)](_0x20a46b=>new qe(_0x20a46b,_0xd63b03,_0x3ffc6c,_0x2b1195));this[_0x413e94(0xcc)]=_0x420fc6,this[_0x413e94(0x1a2)]=_0x45ac0a;}[_0x2f663e(0x179)](){const _0x4d2e90=_0x2f663e;this[_0x4d2e90(0x125)]();const {scene:_0x1c9c95,mainComponent:_0x2511cf}=this['_context'],_0x2d6168=this['_docSkeletonManagerService']['getSkeleton'](),_0x25ec15=this[_0x4d2e90(0x1a2)][_0x4d2e90(0x14e)](_0x9a97e=>new qe(_0x9a97e,_0x1c9c95,_0x2d6168,_0x2511cf));this[_0x4d2e90(0xcc)]=_0x25ec15;}[_0x2f663e(0x125)](){const _0x4ff444=_0x2f663e;this[_0x4ff444(0xcc)]['forEach'](_0x3023bd=>_0x3023bd[_0x4ff444(0x11a)]()),this[_0x4ff444(0xcc)]=[];}['_initCommandExecutedListener'](){const _0x8c8987=_0x2f663e,_0x54979b=[_0x3793b1['id']];this[_0x8c8987(0x1e9)](this[_0x8c8987(0xc3)][_0x8c8987(0x23f)](_0x46bdd2=>{const _0x31e269=_0x8c8987;_0x54979b[_0x31e269(0x202)](_0x46bdd2['id'])&&_0x46bdd2[_0x31e269(0x128)]['unitId']===this[_0x31e269(0x1fb)][_0x31e269(0xfa)]&&this[_0x31e269(0x179)]();}));}[_0x2f663e(0xd7)](){const _0x2ccb24=_0x2f663e;this[_0x2ccb24(0x1e9)](_0x592685(this[_0x2ccb24(0x1fb)][_0x2ccb24(0x229)]['onTransformChange$'])[_0x2ccb24(0xfb)](_0x111884(_0x8d50a4=>_0x8d50a4[_0x2ccb24(0x1a4)]===_0x5e00e4[_0x2ccb24(0xcb)]),_0x23ea35(0x10))[_0x2ccb24(0xbd)](()=>{const _0xd857ba=_0x2ccb24;this[_0xd857ba(0x179)]();}));}};Le=Mi([Z(0x1,_0xfad7a2(_0x52dcf8)),Z(0x2,_0xfad7a2(H)),Z(0x3,_0x2642f8),Z(0x4,_0xfad7a2(_0x1aa687))],Le);const Li=0x1,Pi=1.5;class wi extends _0xedbeaf{constructor(_0x57cbc7,_0x1df5cc){const _0x35c74=_0x2f663e;super(_0x57cbc7,_0x1df5cc),_(this,_0x35c74(0xba)),_(this,_0x35c74(0x8a),!0x1),_(this,_0x35c74(0x25a)),_(this,'_name',''),_(this,_0x35c74(0x184),_0x35c74(0x200)),_(this,_0x35c74(0x250)),(_0x1df5cc&&this[_0x35c74(0x1bd)](_0x1df5cc),this[_0x35c74(0x187)][_0x35c74(0x95)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x35c74(0x1c9)]['subscribeEvent'](()=>this[_0x35c74(0x1bd)]({'hovered':!0x1})));}['setShapeProps'](_0x14993c){const _0x18752d=_0x2f663e;var _0x12772e,_0x402fbb,_0x5dee1e,_0x4e059b,_0x58a1a4,_0x1860cb;this[_0x18752d(0xba)]=(_0x12772e=_0x14993c[_0x18752d(0x1e4)])!=null?_0x12772e:this[_0x18752d(0xba)],this[_0x18752d(0x8a)]=(_0x402fbb=_0x14993c[_0x18752d(0x10e)])!=null?_0x402fbb:this['_hovered'],this['_range']=(_0x5dee1e=_0x14993c[_0x18752d(0x150)])!=null?_0x5dee1e:this[_0x18752d(0x25a)],this[_0x18752d(0x20d)]=(_0x4e059b=_0x14993c[_0x18752d(0x12a)])!=null?_0x4e059b:this[_0x18752d(0x20d)],this[_0x18752d(0x184)]=(_0x58a1a4=_0x14993c[_0x18752d(0x1f7)])!=null?_0x58a1a4:this[_0x18752d(0x184)],this[_0x18752d(0x250)]=(_0x1860cb=_0x14993c[_0x18752d(0x28d)])!=null?_0x1860cb:this[_0x18752d(0x250)],this[_0x18752d(0x15b)]({'width':_0x14993c[_0x18752d(0x213)],'height':_0x14993c[_0x18752d(0x11c)]});}[_0x2f663e(0xe7)](_0xcf0435){const _0x451177=_0x2f663e,{row:_0x15a94c,column:_0x2c765e}=_0xcf0435;if(_0x15a94c>=this['_range'][_0x451177(0x17a)]&&_0x15a94c<=this[_0x451177(0x25a)][_0x451177(0x26e)]&&_0x2c765e>=this['_range'][_0x451177(0x117)]&&_0x2c765e<=this[_0x451177(0x25a)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x451177(0x1bd)]({'hovered':!0x1});}[_0x2f663e(0x249)](_0x3f1a95){return!0x1;}[_0x2f663e(0x189)](_0x50bc7e){const _0x302c8c=_0x2f663e;_0x3fbab6['drawWith'](_0x50bc7e,{'width':this[_0x302c8c(0x213)],'height':this[_0x302c8c(0x11c)],'strokeWidth':Pi,'stroke':this[_0x302c8c(0xba)],'evented':!0x1,'fill':this[_0x302c8c(0x250)]}),this[_0x302c8c(0x8a)]&&(_0x50bc7e['save'](),_0x50bc7e[_0x302c8c(0x97)](0x1,0x0,0x0,0x1,this['width'],this[_0x302c8c(0x184)]===_0x302c8c(0x10d)?0x0:-0x14),he[_0x302c8c(0x17b)](_0x50bc7e,{'text':this['_name'],'color':this[_0x302c8c(0xba)]}),_0x50bc7e[_0x302c8c(0xb4)]());}}var Ai=Object[_0x2f663e(0x151)],yi=(_0x87168a,_0x1c9cab,_0x457fcf,_0x593d98)=>{const _0xe1afc6=_0x2f663e;for(var _0x31f3b5=_0x593d98>0x1?void 0x0:_0x593d98?Ai(_0x1c9cab,_0x457fcf):_0x1c9cab,_0x4bcfcf=_0x87168a[_0xe1afc6(0x85)]-0x1,_0x287d22;_0x4bcfcf>=0x0;_0x4bcfcf--)(_0x287d22=_0x87168a[_0x4bcfcf])&&(_0x31f3b5=_0x287d22(_0x31f3b5)||_0x31f3b5);return _0x31f3b5;},ve=(_0x3240f2,_0x39b75e)=>(_0x5675d0,_0x5b6c63)=>_0x39b75e(_0x5675d0,_0x5b6c63,_0x3240f2);const $i=0x1389;let Pe=class extends _0x44d3a6{constructor(_0x2c6a18,_0x393eb7,_0xe29945,_0x1526ef){const _0x2de997=_0x2f663e;super(),_(this,'_cursors',new Set()),_(this,_0x2de997(0x258),null),(this['_context']=_0x2c6a18,this[_0x2de997(0x174)]=_0x393eb7,this['_collabCursorController']=_0xe29945,this['_themeService']=_0x1526ef,this[_0x2de997(0x163)]());}[_0x2f663e(0x163)](){const _0x205579=_0x2f663e;this[_0x205579(0x174)]['currentSkeleton$'][_0x205579(0xfb)](_0x42343d(this[_0x205579(0xa5)]),_0x3cb18c(_0x5a9853=>{const _0x59307a=_0x205579;if(_0x5a9853){const _0x28149e=_0x5a9853[_0x59307a(0xca)];return _0xc070e4(this[_0x59307a(0x277)][_0x59307a(0x142)](this[_0x59307a(0x1fb)][_0x59307a(0xfa)]),this[_0x59307a(0x18e)][_0x59307a(0xd3)])[_0x59307a(0xfb)](_0x1c5977(([_0x3ce814,_0x417b08])=>{const _0x5b82fc=_0x59307a,_0x53168d=new Map();return _0x3ce814[_0x5b82fc(0x1a7)]((_0x78541,_0x1d6ada)=>{const _0x5057a4=_0x5b82fc;if(_0x78541[_0x5057a4(0x175)]===_0x28149e){const _0x3c2c3e={..._0x78541};_0x3c2c3e[_0x5057a4(0x1e4)]=this['_themeService'][_0x5057a4(0x14f)](_0x78541[_0x5057a4(0x1e4)]),_0x53168d['set'](_0x1d6ada,_0x3c2c3e);}}),{'skeleton':_0x5a9853,'cursors':_0x53168d};}));}return _0x12df26({'skeleton':null,'cursors':new Map()});}))[_0x205579(0xbd)](({skeleton:_0x1e6d74,cursors:_0x34cf99})=>{const _0x1dc02f=_0x205579;this[_0x1dc02f(0x125)](),_0x1e6d74&&this[_0x1dc02f(0x290)](_0x1e6d74,_0x34cf99);}),this[_0x205579(0x174)][_0x205579(0x102)]['subscribe'](_0x24fe37=>{const _0xb7791f=_0x205579;if(_0x24fe37==null)return;const {skeleton:_0xc957c8}=_0x24fe37,{scene:_0x18c6b0}=this[_0xb7791f(0x1fb)];_0x18c6b0[_0xb7791f(0xa3)][_0xb7791f(0x95)](_0x4decf4(_0x4e910c=>{const _0x4c9b12=_0xb7791f;var _0x3d97c0,_0x5d2a8e;const {offsetX:_0x28dce5,offsetY:_0x16e7e0}=_0x4e910c,{x:_0x23ee30,y:_0x2fa64c}=_0x18c6b0[_0x4c9b12(0x18c)](_0x39eb06[_0x4c9b12(0x1b6)]([_0x28dce5,_0x16e7e0])),{scaleX:_0xe14f94,scaleY:_0x3db890}=_0x18c6b0[_0x4c9b12(0x19f)](),_0x45dd3b=_0x18c6b0['getViewport'](_0xd5f32a[_0x4c9b12(0x13b)]),_0x11b294=_0x18c6b0[_0x4c9b12(0x16a)](_0x39eb06[_0x4c9b12(0x1b6)]([_0x23ee30,_0x2fa64c]),_0x45dd3b),_0x4afacb=_0xc957c8[_0x4c9b12(0xdb)](_0x28dce5,_0x16e7e0,_0xe14f94,_0x3db890,_0x11b294);((_0x3d97c0=this[_0x4c9b12(0x258)])==null?void 0x0:_0x3d97c0[_0x4c9b12(0x23a)])===_0x4afacb['column']&&((_0x5d2a8e=this['_lastPointer'])==null?void 0x0:_0x5d2a8e[_0x4c9b12(0x11d)])===_0x4afacb[_0x4c9b12(0x11d)]||this[_0x4c9b12(0x1a2)][_0x4c9b12(0x1a7)](_0x322f3e=>{const _0x35d74e=_0x4c9b12;_0x322f3e[_0x35d74e(0xe7)](_0x4afacb);});},0x64));});}['_updateCollabCursors'](_0x89d002,_0x4f19a6){const _0x32a847=_0x2f663e;var _0x262a67;const _0x4a4a45=(_0x262a67=this[_0x32a847(0x174)]['getCurrent']())==null?void 0x0:_0x262a67[_0x32a847(0x22e)];if(!_0x4a4a45)return;const _0x322fa7=this['_getSheetObject']();if(!_0x322fa7)return;this[_0x32a847(0x1a2)][_0x32a847(0x1a7)](_0xfe16a5=>{const _0x5ca145=_0x32a847;_0xfe16a5[_0x5ca145(0xb9)]();});const {scene:_0x3abb7d}=_0x322fa7,_0x318431=xi(Array[_0x32a847(0x196)](_0x4f19a6[_0x32a847(0x205)]()))[_0x32a847(0x14e)](_0x228573=>{const _0x48cbc9=_0x32a847,{color:_0x5610f8,range:_0xea75eb,name:_0xa8d1df,selection:_0x517e09,sheetID:_0x2d3f99}=_0x228573,{startColumn:_0x2bb862,startRow:_0x42dcc7,endColumn:_0x2c60c1,endRow:_0x53726d}=_0xea75eb,_0x585a78=_0x3f00d9(_0x42dcc7,_0x2bb862,_0x3abb7d,_0x4a4a45),_0x43042=_0x3f00d9(_0x53726d,_0x2c60c1,_0x3abb7d,_0x4a4a45),{columnHeaderHeightAndMarginTop:_0x1af912}=_0x4a4a45,{startX:_0x2e3100,startY:_0x2b6f29}=_0x585a78,{endX:_0x29667c,endY:_0x210bd3}=_0x43042,_0x9e3b97=_0x29667c-_0x2e3100,_0x1092a2=_0x210bd3-_0x2b6f29,_0x1815e2={'labelPosition':_0x2b6f29-_0x1af912>=ee?_0x48cbc9(0x200):_0x48cbc9(0x10d),'sheetID':_0x2d3f99,'range':_0xea75eb,'color':_0x5610f8,'name':_0xa8d1df,'selection':_0x517e09,'left':_0x2e3100,'top':_0x2b6f29,'width':_0x9e3b97,'height':_0x1092a2,'evented':!0x1,'zIndex':$i};return new wi(_0xa8d1df,_0x1815e2);});_0x3abb7d[_0x32a847(0x177)](_0x318431,Li),this[_0x32a847(0x1a2)]=new Set(_0x318431);}[_0x2f663e(0x125)](){const _0x65fd3=_0x2f663e;var _0x28058d;(_0x28058d=this[_0x65fd3(0x1a2)])==null||_0x28058d['forEach'](_0x5f2f92=>_0x5f2f92['dispose']());}[_0x2f663e(0x14c)](){const _0x794404=_0x2f663e;return _0x37871e(this[_0x794404(0x1fb)]['unit'],this['_context']);}};Pe=yi([ve(0x1,_0xfad7a2(_0x3950f2)),ve(0x2,_0xfad7a2(H)),ve(0x3,_0xfad7a2(_0x1aa687))],Pe);function xi(_0x5b44fe){const _0x3631fa=_0x2f663e,_0x147a03=new Map();return _0x5b44fe[_0x3631fa(0x1a7)](_0x1df835=>{const _0x199eb0=_0x3631fa;if(_0x147a03[_0x199eb0(0x14b)](_0x1df835['selection'])){const _0x3d164b=_0x147a03['get'](_0x1df835[_0x199eb0(0x103)]);_0x3d164b['name']+=',\x20'+_0x1df835[_0x199eb0(0x12a)];}else _0x147a03[_0x199eb0(0x144)](_0x1df835[_0x199eb0(0x103)],_0x1df835);}),Array[_0x3631fa(0x196)](_0x147a03[_0x3631fa(0x205)]());}var v=function(){const _0x2f1a32=_0x2f663e;return v=Object[_0x2f1a32(0xac)]||function(_0x378c38){const _0x2a7cde=_0x2f1a32;for(var _0x157fe5,_0x3ed818=0x1,_0x5f2597=arguments['length'];_0x3ed818<_0x5f2597;_0x3ed818++){_0x157fe5=arguments[_0x3ed818];for(var _0x368a82 in _0x157fe5)Object[_0x2a7cde(0xc9)][_0x2a7cde(0x113)][_0x2a7cde(0x88)](_0x157fe5,_0x368a82)&&(_0x378c38[_0x368a82]=_0x157fe5[_0x368a82]);}return _0x378c38;},v[_0x2f1a32(0x220)](this,arguments);},Bi=function(_0x3b5d79,_0x2e5c28){const _0x9cf840=_0x2f663e;var _0x3460bd={};for(var _0x226ff0 in _0x3b5d79)Object['prototype']['hasOwnProperty'][_0x9cf840(0x88)](_0x3b5d79,_0x226ff0)&&_0x2e5c28['indexOf'](_0x226ff0)<0x0&&(_0x3460bd[_0x226ff0]=_0x3b5d79[_0x226ff0]);if(_0x3b5d79!=null&&typeof Object[_0x9cf840(0x1de)]==_0x9cf840(0x16f)){for(var _0xbd30e1=0x0,_0x226ff0=Object[_0x9cf840(0x1de)](_0x3b5d79);_0xbd30e1<_0x226ff0[_0x9cf840(0x85)];_0xbd30e1++)_0x2e5c28[_0x9cf840(0xf5)](_0x226ff0[_0xbd30e1])<0x0&&Object[_0x9cf840(0xc9)][_0x9cf840(0x1cb)][_0x9cf840(0x88)](_0x3b5d79,_0x226ff0[_0xbd30e1])&&(_0x3460bd[_0x226ff0[_0xbd30e1]]=_0x3b5d79[_0x226ff0[_0xbd30e1]]);}return _0x3460bd;},Fe=_0x4dd606(function(_0x2743f8,_0x159627){const _0x26ca9b=_0x2f663e;var _0x1b1746=_0x2743f8[_0x26ca9b(0x267)],_0x9112=_0x2743f8['id'],_0x9c0c74=_0x2743f8['className'],_0x60713b=_0x2743f8[_0x26ca9b(0x22f)],_0x20cfd6=Bi(_0x2743f8,['icon','id',_0x26ca9b(0x194),_0x26ca9b(0x22f)]),_0x23df0e=_0x26ca9b(0x1ba)[_0x26ca9b(0x123)](_0x9112,'\x20')[_0x26ca9b(0x123)](_0x9c0c74||'')[_0x26ca9b(0x139)](),_0x34e6d5=_0x5efa58('_'[_0x26ca9b(0x123)](Fi()));return Rt(_0x1b1746,''[_0x26ca9b(0x123)](_0x9112),{'defIds':_0x1b1746[_0x26ca9b(0xc4)],'idSuffix':_0x34e6d5[_0x26ca9b(0x28e)]},v({'ref':_0x159627,'className':_0x23df0e},_0x20cfd6),_0x60713b);});function Rt(_0x44e774,_0x5c0cbd,_0x7f15c0,_0x269240,_0x13fef2){const _0x5a3d28=_0x2f663e;return _0x48d228(_0x44e774[_0x5a3d28(0x1c1)],v(v({'key':_0x5c0cbd},ki(_0x44e774,_0x7f15c0,_0x13fef2)),_0x269240),(Hi(_0x44e774,_0x7f15c0)['children']||[])['map'](function(_0x594665,_0x371a16){const _0x1bd051=_0x5a3d28;return Rt(_0x594665,''[_0x1bd051(0x123)](_0x5c0cbd,'-')[_0x1bd051(0x123)](_0x44e774[_0x1bd051(0x1c1)],'-')[_0x1bd051(0x123)](_0x371a16),_0x7f15c0,void 0x0,_0x13fef2);}));}function _0x4f54(){const _0xb72105=['http://www.w3.org/2000/svg','_cursors','transformRemoteChangeset','type','on-line-icon_clip0_910_349','_createSocketURL','forEach','getSheetId','_eventUnsubscribe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_collaborationController','getCurrentSelections','SNAPSHOT_INVALID_SNAPSHOT','WECHAT_HAS_BEEN_BOUND','_uiPartsService','_hover','mutations','syncEditingCollabCursor','SOCKET_FAILED','CONNECTOR_DATA_TOO_LARGE','_instanceService','FromArray','pluginName','saveTaskMap','_injector','univerjs-icon\x20univerjs-icon-','8FuprUz','_initStatusListener','setShapeProps','fill','ticket','_docClipboardService','tag','EMAIL_HAS_BEEN_BOUND','_urlService','CLOSE_ROOM','CONFLICT','off-line-icon_clip0_910_343','_initDependencies','INVALID_ARGUMENT','onPointerLeave$','roomMembers','propertyIsEnumerable','disableLocalCache','roomMembers$','Failed','LICENSE_MAX_UNITS_EXCEEDED','registerRenderModule','Unknown\x20user','purple.300','url(#off-line-icon_clip0_910_343)','_refRangeService','reconnect','...','setConfig','body','OTHER_CLIENTS_EDITING','black','assignAColorForMemberID','UPDATE_CURSOR','text','getOwnPropertySymbols','_configService','122nNKPTX','NOT_COLLAB','registerComponent','NOT_FOUND','color','ONLINE','svg','_anchorDot','_memberService','disposeWithMe','memberID','_getSessionTicket','DeleteRangeMoveUpCommandId','_entityInit$','_localCacheService','getTypeOfUnitAdded$','requireSession','arc','clipPath','_imageIoService','INTERNAL_ERROR','onStarting','CHANGESET_REVISION_CONFILICT','labelPosition','split','_onCursorDelete','moveTo','_context','transformIMECache','INVITE_CODE_HAS_BEEN_UES','registerBeforeClose','APPLY_NON_SEQUENTIAL_REVISION','top','INVITE_CODE_ALREADY_BOUND','includes','FETCH_MISS','fillText','values','setItem','_entities','_revisionService','displayName','_docSkeleton','_document','unitID','_name','getValue','RECT','setParam','setActiveRange','_scene','width','USERS_LEAVE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_roomMembers$','error','key','YUUMI_ASYNCIO_CANCELLED','result','getStateCache','saveOfflineData','_shapes','YUUMI_ALL_TABLES_IS_INVALID','APPLY_REJECT','apply','/run/','3031364hKcTjb','InsertColCommandId','redoState','_transformHistoryAndStateStack','fillStyle','0\x200\x2017\x2016','getMemberID','engine','_initStatusComponent','currentColor','round','whenReady','skeleton','extend','AWAITING_WITH_PENDING','_docTransformSelectionsService','UNIVER_SHEET','post','MUTATION','eventID','undoState','cursorInfo','_colorIndex','getUnhiddenWorksheets','column','_getMergeRange','save','onLocalMutation','ENSURE_SNAPSHOT_EXECUTION','onCommandExecuted','all','transformStateCache','max','_docTransformStateCacheService','JOIN_ROOM_FAILED','_anchor','getFocusedUnit','complete','APPLY_DUPLICATED','triggerDblclick','white','OTHER_CLIENT_EDITING','_registerDependencies','_syncEditingCollabCursorService','next','subUnitId','_backgroundColor','debug','delete','_heartbeatTimer','collaboration-client.offline-data-not-saved','_drawAnchor','use','_saveTaskMap','_lastPointer','search','_range','fillRule','with','getUnitId','_getSaveTimeout','collab-client.tooltip.reconnect','_initEvent','YUUMI_TABLE_NOT_FOUND_IN_UNIT','override','session.will-retry','getRenderById','PENDING','replaceState','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','InsertRangeMoveDownCommandId','_hideTimer','application/json','event$','_cursorInfo$','endRow','_startDocCollabCursor','collabStatus.conflict','registerRefRange','min','_updateURLWithCurrentState','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_AI_RUN_FAILED','_setupSubUnitSync','_collabCursorController','LICENSE_DISTRO_REJECTED','path','transformSelections','collabCursorState$','7734402VvlFtz','1em','OffLineIcon','_cursor','_collabSessionService','saveImage','collabStatus.synced','enableLocalCache','focused$','defs','isEditing','colorChannel1','13652970PJHVkV','Error','unshift','_scheduleSaving','HEADER_MENU','backgroundColor','current','source','_updateCollabCursors','isActive','collab-text-range-','docStateChange$','collab-text-anchor-','_handleJoinEvent','find','collabStatus.syncing','imageSourceType','transformMutationsWithChangeset','stringify','_toggleOnline','length','_onCursorUpdate','size','call','doc.mutation.rich-text-editing','_hovered','_getAnchorBounding','isArray','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_docStateChangeManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','getSheetBySheetId','_handleHeartbeatEvent','UniverIcon','YUUMI_NO_CUBOID_FOR_QUESTION','xlink:href','subscribeEvent','jiqing.500','transform','collabStatus.offline','_logService','deepClone','SUBMIT_CHANGESET_TIMEOUT','_status$','USER_NOT_INVITED_CODE','clearTimeout','_toggleOffline','entries','status$','9687czKKmP','onPointerMove$','getUndoRedoMutationParamsCache','dispose$','_localStorageService','SNAPSHOT_HAS_BEEN_REMOVED','getMember','push','_getScale','6PwyjZY','assign','storage','0\x200\x2016\x2016','string','children','unit','InsertRangeMoveRightCommandId','getOffsetConfig','restore','_httpService','getCurrentRevOfUnit','addEventListener','removeParam','makeDirty','_color','_scheduleClearOtherTimer','INVALID_INVITE_CODE','subscribe','_saveCache','LICENSE_EXPORT_SIZE_EXCEEDED','_transformPreviousActiveRange','popstate','sessionStatus$','_commandService','defIds','attrs','_clearOtherTimers','_unitOnClients','_onRefRangeChange','prototype','sheetId','resize','_cursorShapes','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','asObservable','1772875EkOqDa','transformMutation','idSuffix','NO_OTHER_CLIENTS_EDITING','currentTheme$','_drawTextRange','_online','url(#$1','_initResize','permission.content','ACTIVE_UNIT_EVENT_CHANNEL','get','getCellPositionByOffset','Warning','location','_renderManagerService','startsWith','_collaborationUIEventService','setTimeout','_setupBeforeClosingHandler','runId','collab-rect-range-','blue.400','setInterval','onMouseMove','symbol','invokeId','executionId','InsertRowCommandId','univer-mr-2\x20univer-flex\x20univer-text-xl','show','_cachedData','_docTransformIMECacheService','_assignedColors','beginPath','_univerInstanceService','activeSheet$','YUUMI_SUBSCRIPTION_NOT_FOUND','indexOf','[CollaborationDataLoaderController]','_transformUndoRedoStack','_registerRenderDependencies','LOGIN_FAILED','unitId','pipe','_selfUnitIDs','INVITE_CODE_REQUIRED','OFFLINE','findNodePositionByCharIndex','_updateSubUnitFromURLParams','mask','currentSkeleton$','selection','createInstance','disposeUnit','searchParams','collaboration-client-ui.config','_unitStatus','none','history','yellow.400','textRanges','bottom','hovered','_transformService','getConfig','sessionTicket','ranges','hasOwnProperty','_docSyncEditingCollabCursorService','LICENSE_IMPORT_SIZE_EXCEEDED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','startColumn','wsSessionTicketUrl','urlChange$','dispose','UNAUTHENTICATED','height','row','off-line-icon','_messageService','_handleHover','_localeService','OnLineIcon','concat','87259ixxHho','_removeCollabCursors','TEXT','rgba(255,\x20255,\x20255,\x200.01)','params','some','name','href','subunit','PY_RUNTIME_SCRIPT_ERROR','getRangePointData','clearInterval','_docSkeletonManagerService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_disabled','m1Prime','pushState','getParam','SOCKET_FAILED_RETRY','EMAIL_VERIFY_CODE_MISMATCH','measureText','trim','cursorInfo$','VIEW_MAIN','MoveRangeCommandId','_removeClearOtherTimer','getTypeOfUnitDisposed$','UNRECOGNIZED','APPLY_REVISION_CONFILICT','toRgbString','getCollabCursors$','add','set','_startSheetCollabCursor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collaboration.closeRoom','send','exhaustSavingTask','setAlpha','has','_getSheetObject','_id','map','getColorFromTheme','range','getOwnPropertyDescriptor','flatMap','_updateLocalCursor','origin','SYNCED','ALREADY_EXISTS','_textBubble','COMPLETION_FINISHED','_colorAssignService','getUniverSheetInstance','transformByState','getCollabEntity$','red.300','getActiveSheet','loadUnit','loadOfflineData','init','_ensureSubject','_init','collabStatus.fetchMiss','_initCommandExecutedListener','getCurrentUnitForType','getUnitStatus$','getItem','getDocRanges','getVpScrollXYInfoByPosToVp','_handleLeaveEvent','toString','evenodd','M0\x200H16V16H0z','function','_config','PERMISSION_DENIED','UNDEFINED','_scheduleHeartbeat','_sheetSkeletonManagerService','sheetID','then','addObjects','code','_refreshCollabCursors','startRow','drawWith','div','DeleteRangeMoveLeftCommandId','_send','setStateCache','executeCommand','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','m2Prime','addClipboardHook','_labelPosition','lineTo','2788212PhsIKc','onPointerEnter$','data','_draw','UNIVER_DOC','generateRandomId','getRelativeToViewportCoord','YUUMI_URL_COL_OUT_OF_RANGE','_themeService','_initEntityListener','_session','replace','_handleEvent','session.connection-failed','className','_dataLoaderService','from','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collabCursorState$','hide','YUUMI_UNABLE_LOAD_URL','addHandlerCallback','defineProperty','YUUMI_RATE_OVER_LIMIT','addObject','getAncestorScale','_render'];_0x4f54=function(){return _0xb72105;};return _0x4f54();}function ki(_0xd896e9,_0x49d381,_0x5e1838){const _0x291f12=_0x2f663e;var _0x350822=v({},_0xd896e9[_0x291f12(0xc5)]);_0x5e1838!=null&&_0x5e1838[_0x291f12(0x287)]&&_0x350822[_0x291f12(0x1be)]==='colorChannel1'&&(_0x350822['fill']=_0x5e1838[_0x291f12(0x287)]),_0xd896e9[_0x291f12(0x1c1)]===_0x291f12(0x101)&&_0x350822['id']&&(_0x350822['id']=_0x350822['id']+_0x49d381['idSuffix']),Object['entries'](_0x350822)[_0x291f12(0x1a7)](function(_0x497a4b){const _0x1a975d=_0x291f12;var _0x131119=_0x497a4b[0x0],_0x4dd1b5=_0x497a4b[0x1];_0x131119==='mask'&&typeof _0x4dd1b5==_0x1a975d(0xaf)&&(_0x350822[_0x131119]=_0x4dd1b5[_0x1a975d(0x191)](/url\(#(.*)\)/,_0x1a975d(0xd6)[_0x1a975d(0x123)](_0x49d381['idSuffix'],')')));});var _0x5b549d=_0x49d381[_0x291f12(0xc4)];return!_0x5b549d||_0x5b549d[_0x291f12(0x85)]===0x0||(_0xd896e9['tag']===_0x291f12(0x256)&&_0x350822[_0x291f12(0x94)]&&(_0x350822['xlink:href']=_0x350822[_0x291f12(0x94)]+_0x49d381[_0x291f12(0xd1)]),Object[_0x291f12(0xa0)](_0x350822)[_0x291f12(0x1a7)](function(_0x49a78a){const _0x12f9e6=_0x291f12;var _0xcbfed2=_0x49a78a[0x0],_0x4428fd=_0x49a78a[0x1];typeof _0x4428fd==_0x12f9e6(0xaf)&&(_0x350822[_0xcbfed2]=_0x4428fd[_0x12f9e6(0x191)](/url\(#(.*)\)/,_0x12f9e6(0xd6)[_0x12f9e6(0x123)](_0x49d381[_0x12f9e6(0xd1)],')')));})),_0x350822;}function Hi(_0x2138f7,_0x5378ff){const _0x4c5dfd=_0x2f663e;var _0x12d6df,_0x47d3fa=_0x5378ff[_0x4c5dfd(0xc4)];return!_0x47d3fa||_0x47d3fa[_0x4c5dfd(0x85)]===0x0?_0x2138f7:_0x2138f7[_0x4c5dfd(0x1c1)]===_0x4c5dfd(0x285)&&(!((_0x12d6df=_0x2138f7['children'])===null||_0x12d6df===void 0x0)&&_0x12d6df[_0x4c5dfd(0x85)])?v(v({},_0x2138f7),{'children':_0x2138f7[_0x4c5dfd(0xb0)]['map'](function(_0x51fe39){const _0x1626a9=_0x4c5dfd;return typeof _0x51fe39[_0x1626a9(0xc5)]['id']==_0x1626a9(0xaf)&&_0x47d3fa&&_0x47d3fa['includes'](_0x51fe39[_0x1626a9(0xc5)]['id'])?v(v({},_0x51fe39),{'attrs':v(v({},_0x51fe39[_0x1626a9(0xc5)]),{'id':_0x51fe39[_0x1626a9(0xc5)]['id']+_0x5378ff['idSuffix']})}):_0x51fe39;})}):_0x2138f7;}function Fi(){const _0x2c78e8=_0x2f663e;return Math['random']()[_0x2c78e8(0x16c)](0x24)['substring'](0x2,0x8);}Fe[_0x2f663e(0x209)]=_0x2f663e(0x92);var Yi={'tag':'svg','attrs':{'xmlns':_0x2f663e(0x1a1),'fill':'none','viewBox':_0x2f663e(0xae),'width':_0x2f663e(0x27d),'height':_0x2f663e(0x27d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2f663e(0x1d3)},'children':[{'tag':_0x2f663e(0x279),'attrs':{'stroke':'currentColor','d':_0x2f663e(0x268),'strokeLinecap':_0x2f663e(0x22c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2f663e(0x285),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2f663e(0x1c6)},'children':[{'tag':_0x2f663e(0x279),'attrs':{'fill':'white','d':_0x2f663e(0x16e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x4dd606(function(_0x3b5dce,_0x3b5799){const _0xc2d839=_0x2f663e;return _0x48d228(Fe,Object[_0xc2d839(0xac)]({},_0x3b5dce,{'id':_0xc2d839(0x11e),'ref':_0x3b5799,'icon':Yi}));});Dt[_0x2f663e(0x209)]=_0x2f663e(0x27e);var ji={'tag':_0x2f663e(0x1e6),'attrs':{'xmlns':_0x2f663e(0x1a1),'fill':_0x2f663e(0x109),'viewBox':_0x2f663e(0x227),'width':'1em','height':_0x2f663e(0x27d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2f663e(0x279),'attrs':{'stroke':_0x2f663e(0x22b),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x2f663e(0x22c),'strokeLinejoin':_0x2f663e(0x22c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2f663e(0x1f2),'attrs':{'id':_0x2f663e(0x1a5)},'children':[{'tag':'path','attrs':{'fill':_0x2f663e(0x24a),'d':_0x2f663e(0x16e),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2f663e(0x1a5)]},Nt=_0x4dd606(function(_0x462b5e,_0x5ba4e4){return _0x48d228(Fe,Object['assign']({},_0x462b5e,{'id':'on-line-icon','ref':_0x5ba4e4,'icon':ji}));});Nt[_0x2f663e(0x209)]=_0x2f663e(0x122);function Vi(_0x54ca99){const _0x7492eb=_0x2f663e;switch(_0x54ca99){case _0x5acc60['OFFLINE']:return _0x7492eb(0x98);case _0x5acc60['CONFLICT']:return _0x7492eb(0x270);case _0x5acc60[_0x7492eb(0x203)]:return _0x7492eb(0x164);case _0x5acc60['NOT_COLLAB']:return'collabStatus.notCollab';case _0x5acc60['AWAITING']:case _0x5acc60[_0x7492eb(0x230)]:return _0x7492eb(0x80);case _0x5acc60[_0x7492eb(0x155)]:case _0x5acc60[_0x7492eb(0x265)]:return _0x7492eb(0x282);}}function Wi(_0x4fd09c){const _0x1b8966=_0x2f663e,{status$:_0x3e8216}=_0x4fd09c,_0x187db1=_0x4929d9(_0x3e8216,_0x5acc60[_0x1b8966(0x1e1)]),_0x1debf1=_0x115dee(_0x558eaa),_0x30b99d=_0x115dee(_0x54fbb4),_0x130e3c=_0x187db1!==_0x5acc60[_0x1b8966(0xfe)],_0x3415fa=_0x1debf1['t'](Vi(_0x187db1)),_0x10add6=_0x130e3c?_0x14ec18(Nt,{}):_0x14ec18(Dt,{}),_0x45bb9e=_0x43f4dc(()=>{const _0x106d37=_0x1b8966;_0x130e3c||_0x30b99d[_0x106d37(0x1d5)]();},[_0x130e3c,_0x30b99d]);function _0x5e7571(){const _0x5e80ab=_0x1b8966;return _0x5e558b(_0x5e80ab(0x17c),{'className':'univer-flex\x20univer-items-center','onClick':_0x45bb9e,'children':[_0x14ec18('div',{'className':_0x4d5517(_0x5e80ab(0xec),{'univer-text-green-500':_0x130e3c,'univer-text-red-500':!_0x130e3c}),'children':_0x10add6}),_0x14ec18(_0x5e80ab(0x17c),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3415fa})]});}return _0x130e3c?_0x5e7571():_0x14ec18(_0xc0360d,{'title':_0x1debf1['t'](_0x1b8966(0x25f)),'children':_0x5e7571()});}var Xi=Object[_0x2f663e(0x151)],Gi=(_0x3e454e,_0x129894,_0x59234f,_0x5ee087)=>{const _0x31f196=_0x2f663e;for(var _0x27b4a6=_0x5ee087>0x1?void 0x0:_0x5ee087?Xi(_0x129894,_0x59234f):_0x129894,_0xb5659f=_0x3e454e[_0x31f196(0x85)]-0x1,_0x2c1ee5;_0xb5659f>=0x0;_0xb5659f--)(_0x2c1ee5=_0x3e454e[_0xb5659f])&&(_0x27b4a6=_0x2c1ee5(_0x27b4a6)||_0x27b4a6);return _0x27b4a6;},Q=(_0x2ebd96,_0x449f10)=>(_0x2de8f0,_0x23d774)=>_0x449f10(_0x2de8f0,_0x23d774,_0x2ebd96);let te=class extends _0x2c599b{constructor(_0x164dec,_0x3dc55a,_0x1e6d16,_0x1c2626){const _0x331388=_0x2f663e;super(),_(this,_0x331388(0x9c),new _0x498be9(_0x5acc60['NOT_COLLAB'])),(this['_univerInstanceService']=_0x164dec,this[_0x331388(0x1b9)]=_0x3dc55a,this[_0x331388(0x1ab)]=_0x1e6d16,this['_uiPartsService']=_0x1c2626,this[_0x331388(0x22a)](),this['_initStatusListener']());}[_0x2f663e(0x1bc)](){const _0x1fd24b=_0x2f663e;this[_0x1fd24b(0x1e9)](this[_0x1fd24b(0xf2)][_0x1fd24b(0x284)][_0x1fd24b(0xfb)](_0x4cff02(()=>{const _0x8c9a8d=_0x1fd24b,_0x2c9d5c=this[_0x8c9a8d(0xf2)]['getFocusedUnit']();return _0x2c9d5c?this['_collaborationController'][_0x8c9a8d(0x15c)](_0x2c9d5c['getUnitId']()):_0x12df26(null);}),_0x4cff02(_0x5aa5a2=>_0x5aa5a2?_0x5aa5a2[_0x1fd24b(0xa1)]:_0x12df26(_0x5acc60[_0x1fd24b(0x1e1)])))[_0x1fd24b(0xbd)](_0x5f49c8=>{const _0x29365d=_0x1fd24b;this[_0x29365d(0x9c)][_0x29365d(0x24e)](_0x5f49c8);}));}[_0x2f663e(0x22a)](){const _0x16e556=_0x2f663e;this[_0x16e556(0x1e9)](this[_0x16e556(0x1af)][_0x16e556(0x1e2)](_0x15f948[_0x16e556(0x28c)],()=>_0xe36a25(Ki({'status$':this[_0x16e556(0x9c)][_0x16e556(0xce)]()}),this[_0x16e556(0x1b9)])));}};te=Gi([Q(0x0,_0x4b850f),Q(0x1,_0xfad7a2(_0xf6ae29)),Q(0x2,_0xfad7a2(_0xe2bf29)),Q(0x3,_0x1d47ed)],te);function Ki(_0x1144ad){const {status$:_0x170f90}=_0x1144ad;return function(){return _0x14ec18(Wi,{'status$':_0x170f90});};}var zi=Object[_0x2f663e(0x151)],Ji=(_0x1d031b,_0x42a139,_0x5d3377,_0x49e2b0)=>{const _0x3497c1=_0x2f663e;for(var _0x4d9994=_0x49e2b0>0x1?void 0x0:_0x49e2b0?zi(_0x42a139,_0x5d3377):_0x42a139,_0x220bf2=_0x1d031b[_0x3497c1(0x85)]-0x1,_0x7ffcf;_0x220bf2>=0x0;_0x220bf2--)(_0x7ffcf=_0x1d031b[_0x220bf2])&&(_0x4d9994=_0x7ffcf(_0x4d9994)||_0x4d9994);return _0x4d9994;},B=(_0x288b0c,_0x3d4b8f)=>(_0x1966ab,_0x29fffa)=>_0x3d4b8f(_0x1966ab,_0x29fffa,_0x288b0c);let se=class extends _0x2c599b{constructor(_0x118610,_0x165378,_0xe5c7f0,_0x8db114,_0x5b70f8,_0x2b60d9){const _0x255bcd=_0x2f663e;super(),this['_beforeCloseService']=_0x118610,this[_0x255bcd(0x1ee)]=_0x165378,this['_collaborationUIEventService']=_0xe5c7f0,this[_0x255bcd(0x11f)]=_0x8db114,this['_notificationService']=_0x5b70f8,this['_localeService']=_0x2b60d9,this[_0x255bcd(0xe2)](),this[_0x255bcd(0x260)]();}[_0x2f663e(0xe2)](){const _0x2e7779=_0x2f663e;this[_0x2e7779(0x1e9)](this['_beforeCloseService'][_0x2e7779(0x1fe)](()=>{const _0x38f56b=_0x2e7779;if(this[_0x38f56b(0x1ee)][_0x38f56b(0x1b8)][_0x38f56b(0x87)])return this[_0x38f56b(0x121)]['t'](_0x38f56b(0x254));}));}[_0x2f663e(0x260)](){const _0x4ee11d=_0x2f663e;this[_0x4ee11d(0x1e9)](this[_0x4ee11d(0xe0)]['event$'][_0x4ee11d(0xbd)](_0x390906=>{const _0x4525f8=_0x4ee11d;_0x390906['id']===_0x3de1b3[_0x4525f8(0x24b)]&&this['_messageService'][_0x4525f8(0xed)]({'type':_0xc7c325[_0x4525f8(0xdc)],'content':this[_0x4525f8(0x121)]['t']('collaboration.single-unit.warning')}),_0x390906['id']===_0x3de1b3[_0x4525f8(0x1c4)]&&this[_0x4525f8(0x11f)]['show']({'type':_0xc7c325[_0x4525f8(0xdc)],'content':this[_0x4525f8(0x121)]['t'](_0x4525f8(0x147))}),_0x390906['id']===_0x3de1b3[_0x4525f8(0x171)]&&this['_notificationService']['show']({'title':this[_0x4525f8(0x121)]['t']('permission.title'),'content':this[_0x4525f8(0x121)]['t'](_0x4525f8(0xd8)),'type':'error','duration':0x0}),_0x390906['id']===_0x3de1b3[_0x4525f8(0x1c5)]&&this[_0x4525f8(0x11f)][_0x4525f8(0xed)]({'type':_0xc7c325['Error'],'content':this[_0x4525f8(0x121)]['t'](_0x4525f8(0x147))+'('+_0x390906[_0x4525f8(0x188)]+')'}),_0x390906['id']===_0x3de1b3[_0x4525f8(0x244)]&&this[_0x4525f8(0x11f)][_0x4525f8(0xed)]({'type':_0xc7c325[_0x4525f8(0xdc)],'content':this[_0x4525f8(0x121)]['t'](_0x390906['data']||'')}),_0x390906['id']===_0x3de1b3[_0x4525f8(0x136)]&&this[_0x4525f8(0x11f)]['show']({'type':_0xc7c325['Warning'],'content':this[_0x4525f8(0x121)]['t'](_0x4525f8(0x263))}),_0x390906['id']===_0x3de1b3[_0x4525f8(0x1b3)]&&this[_0x4525f8(0x11f)][_0x4525f8(0xed)]({'type':_0xc7c325[_0x4525f8(0x289)],'content':this[_0x4525f8(0x121)]['t'](_0x4525f8(0x193))}),_0x390906['id']===_0x3de1b3[_0x4525f8(0x9b)]&&this[_0x4525f8(0x11f)][_0x4525f8(0xed)]({'type':_0xc7c325[_0x4525f8(0x289)],'content':this[_0x4525f8(0x121)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x137831),B(0x1,_0x4c8f60),B(0x2,_0xfad7a2(_0x561115)),B(0x3,_0x16d6e7),B(0x4,_0x4a01b0),B(0x5,_0xfad7a2(_0x558eaa))],se);const Zi=_0x2f663e(0x107),et={},Ut=_0x777ed7('uni.network.url-service');var Qi=Object[_0x2f663e(0x151)],qi=(_0x1fd0bf,_0x5d55fa,_0x5c63c0,_0x302ef8)=>{for(var _0x27052e=_0x302ef8>0x1?void 0x0:_0x302ef8?Qi(_0x5d55fa,_0x5c63c0):_0x5d55fa,_0x36ee8b=_0x1fd0bf['length']-0x1,_0x2b5753;_0x36ee8b>=0x0;_0x36ee8b--)(_0x2b5753=_0x1fd0bf[_0x36ee8b])&&(_0x27052e=_0x2b5753(_0x27052e)||_0x27052e);return _0x27052e;},G=(_0x11ad22,_0x16e812)=>(_0x2091b3,_0x1f29e1)=>_0x16e812(_0x2091b3,_0x1f29e1,_0x11ad22);let ie=class extends _0x44d3a6{constructor(_0x24bb12,_0x32bc14,_0x4106d1,_0x3dc11f,_0x32c239){const _0xf8a28d=_0x2f663e;super(),this[_0xf8a28d(0x1c3)]=_0x24bb12,this['_logService']=_0x32bc14,this[_0xf8a28d(0xc3)]=_0x4106d1,this[_0xf8a28d(0x195)]=_0x3dc11f,_0x32c239?_0x32c239==null||_0x32c239[_0xf8a28d(0x22d)]()[_0xf8a28d(0x176)](()=>this[_0xf8a28d(0x163)]()):(this[_0xf8a28d(0x99)]['debug'](_0xf8a28d(0xf6),_0xf8a28d(0x8d)),this[_0xf8a28d(0x163)]());}async[_0x2f663e(0x163)](){const _0x147d71=_0x2f663e,_0x1f28d1=this['_urlService'][_0x147d71(0x135)](_0x147d71(0xb1)),_0x300277=this[_0x147d71(0x1c3)][_0x147d71(0x135)](_0x147d71(0x1a4)),_0x38410f=this[_0x147d71(0x1c3)]['getParam']('subunit');if(!_0x1f28d1||!_0x300277){this[_0x147d71(0x99)][_0x147d71(0x251)](_0x147d71(0xf6),_0x147d71(0x1aa));return;}const _0x176157=await this[_0x147d71(0x195)][_0x147d71(0x15f)](_0x1f28d1,Number(_0x300277),_0x38410f);_0x176157&&_0x176157 instanceof _0x4dae10&&this[_0x147d71(0x276)](_0x176157);}async[_0x2f663e(0x276)](_0x46b6f1){const _0x1d8269=_0x2f663e;await this['_updateSubUnitFromURLParams'](_0x46b6f1),_0x46b6f1[_0x1d8269(0xf3)][_0x1d8269(0xfb)](_0x2fdde1(this[_0x1d8269(0xa5)]))['subscribe'](_0x2e77a3=>{_0x2e77a3&&this['_updateURLWithCurrentState'](_0x2e77a3);}),this[_0x1d8269(0x1c3)][_0x1d8269(0x119)][_0x1d8269(0xfb)](_0x2fdde1(this[_0x1d8269(0xa5)]))[_0x1d8269(0xbd)](()=>this[_0x1d8269(0x100)](_0x46b6f1));}['_updateURLWithCurrentState'](_0x4b321b,_0x268557=!0x1){const _0x377254=_0x2f663e,_0x12939d=this['_urlService']['getParam'](_0x377254(0x12c));_0x4b321b[_0x377254(0x1a8)]()!==_0x12939d&&this[_0x377254(0x1c3)]['setParam'](_0x377254(0x12c),_0x4b321b[_0x377254(0x1a8)](),_0x268557);}async['_updateSubUnitFromURLParams'](_0x28e9da){const _0xee3070=_0x2f663e;var _0x8b8ed4;const _0x426056=this[_0xee3070(0x1c3)]['getParam'](_0xee3070(0x12c));if(!_0x426056||!_0x28e9da['getSheetBySheetId'](_0x426056)){const _0xc44681=_0x28e9da[_0xee3070(0x239)]()[0x0],_0x282c30=_0x28e9da[_0xee3070(0x90)](_0xc44681);if(!_0x282c30)return;this[_0xee3070(0x273)](_0x282c30,!0x0),await this[_0xee3070(0xc3)][_0xee3070(0x180)](_0x5afe82['id'],{'unitId':_0x28e9da[_0xee3070(0x25d)](),'subUnitId':_0xc44681});return;}((_0x8b8ed4=_0x28e9da['getActiveSheet']())==null?void 0x0:_0x8b8ed4['getSheetId']())!==_0x426056&&await this[_0xee3070(0xc3)]['executeCommand'](_0x5afe82['id'],{'unitId':_0x28e9da[_0xee3070(0x25d)](),'subUnitId':_0x426056});}};ie=qi([G(0x0,Ut),G(0x1,_0x54f831),G(0x2,_0x2642f8),G(0x3,_0xfad7a2(_0x270f1a)),G(0x4,_0x5b52a0(_0xc0efe0))],ie);var en=Object[_0x2f663e(0x151)],tn=(_0xa4985e,_0x4e0b3c,_0x222697,_0x39b928)=>{const _0x30e313=_0x2f663e;for(var _0x282c93=_0x39b928>0x1?void 0x0:_0x39b928?en(_0x4e0b3c,_0x222697):_0x4e0b3c,_0x213b6e=_0xa4985e[_0x30e313(0x85)]-0x1,_0x3e2a1e;_0x213b6e>=0x0;_0x213b6e--)(_0x3e2a1e=_0xa4985e[_0x213b6e])&&(_0x282c93=_0x3e2a1e(_0x282c93)||_0x282c93);return _0x282c93;},pe=(_0x3210c4,_0x8bbf0a)=>(_0x819ee7,_0x567da1)=>_0x8bbf0a(_0x819ee7,_0x567da1,_0x3210c4);let ne=class{constructor(_0x1d90dd,_0x471960,_0x1a4fb1){const _0x46bb6b=_0x2f663e;this['_injector']=_0x1d90dd,this['_transformService']=_0x471960,this[_0x46bb6b(0xde)]=_0x1a4fb1;}[_0x2f663e(0x1fc)](_0x2b28df){const _0x5a4913=_0x2f663e;this[_0x5a4913(0xf7)](_0x2b28df),this[_0x5a4913(0xc0)](_0x2b28df);}[_0x2f663e(0x1a3)](_0x1b1542){const _0xceaa0f=_0x2f663e,{unitID:_0x53fde2}=_0x1b1542,_0x3b0eb5=this[_0xceaa0f(0xde)][_0xceaa0f(0x264)](_0x53fde2)[_0xceaa0f(0x25c)](_0x597c7e),{redoCache:_0x3c5c2e}=_0x3b0eb5[_0xceaa0f(0xa4)]();if(_0x3c5c2e['length']===0x0)return _0x1b1542;let _0x2a03f6=_0x1cca84[_0xceaa0f(0x9a)](_0x1b1542[_0xceaa0f(0x1b1)][0x0]);for(let _0x4b2517=0x0;_0x4b2517<_0x3c5c2e['length'];_0x4b2517++){const _0x5672f9={'id':'doc.mutation.rich-text-editing','params':{..._0x3c5c2e[_0x4b2517]}},_0x367ef7=this[_0xceaa0f(0x10f)][_0xceaa0f(0xd0)](_0x2a03f6,_0x5672f9,!0x1);if(_0x2030ce(_0x367ef7))throw _0x367ef7['error'];_0x2a03f6=_0x367ef7[_0xceaa0f(0x133)];}return{..._0x1cca84[_0xceaa0f(0x9a)](_0x1b1542),'mutations':[_0x2a03f6]};}[_0x2f663e(0xf7)](_0x25e2b8){const _0x49b867=_0x2f663e,{unitID:_0x37950d}=_0x25e2b8,_0x90d8fa=this[_0x49b867(0xde)][_0x49b867(0x264)](_0x37950d)['with'](_0x597c7e),{undoCache:_0x5ccab7,redoCache:_0x25f12d}=_0x90d8fa[_0x49b867(0xa4)]();if(_0x5ccab7[_0x49b867(0x85)]===0x0||_0x25f12d[_0x49b867(0x85)]===0x0)return;const _0x5818d0=[],_0x2663c0=[];let _0x3c87ac=_0x1cca84[_0x49b867(0x9a)](_0x25e2b8[_0x49b867(0x1b1)][0x0]),_0x565f5d=_0x1cca84[_0x49b867(0x9a)](_0x25e2b8['mutations'][0x0]);for(let _0x20d33b=_0x5ccab7[_0x49b867(0x85)]-0x1;_0x20d33b>=0x0;_0x20d33b--){const _0x106433={'id':_0x49b867(0x89),'params':{..._0x5ccab7[_0x20d33b]}},_0x4e01bd={'id':_0x49b867(0x89),'params':{..._0x25f12d[_0x20d33b]}},_0x495196=this[_0x49b867(0x10f)][_0x49b867(0xd0)](_0x3c87ac,_0x106433,!0x1),_0x3fec70=this[_0x49b867(0x10f)][_0x49b867(0xd0)](_0x565f5d,_0x4e01bd,!0x1);if(_0x2030ce(_0x495196))throw _0x495196[_0x49b867(0x217)];if(_0x2030ce(_0x3fec70))throw _0x3fec70[_0x49b867(0x217)];_0x5818d0['unshift'](_0x495196[_0x49b867(0x182)]['params']),_0x2663c0[_0x49b867(0x28a)](_0x3fec70[_0x49b867(0x182)][_0x49b867(0x128)]),_0x3c87ac=_0x495196[_0x49b867(0x133)],_0x565f5d=_0x3fec70[_0x49b867(0x133)];}_0x90d8fa['setUndoRedoMutationParamsCache']({'undoCache':_0x5818d0,'redoCache':_0x2663c0});}[_0x2f663e(0xc0)](_0x3c333c){const _0x23a95c=_0x2f663e,{unitID:_0x1345d7}=_0x3c333c,_0x331c1c=this[_0x23a95c(0xde)]['getRenderById'](_0x1345d7)[_0x23a95c(0x25c)](_0x597c7e),_0x1a5d13=_0x331c1c['getActiveRange']();if(_0x1a5d13==null)return;const _0x40e2fa=[{'id':_0x23a95c(0x89),'params':{'unitId':_0x3c333c[_0x23a95c(0x20c)],'actions':null,'textRanges':[_0x1a5d13]}}],_0x40dffe=this[_0x23a95c(0x10f)][_0x23a95c(0x82)](_0x3c333c,_0x40e2fa);if(!_0x610224(_0x40dffe))throw _0x40dffe['error'];const _0x395db8=_0x40dffe[_0x23a95c(0x182)][0x0][_0x23a95c(0x128)][_0x23a95c(0x10c)];Array[_0x23a95c(0x8c)](_0x395db8)&&_0x395db8[_0x23a95c(0x85)]&&_0x331c1c[_0x23a95c(0x211)](_0x395db8[0x0]);}};ne=tn([pe(0x0,_0xfad7a2(_0xf6ae29)),pe(0x1,_0x5445bd),pe(0x2,_0x10a1a1)],ne);var sn=Object[_0x2f663e(0x151)],nn=(_0x1cf2bb,_0x55f6ad,_0xd6fa0,_0xb84aca)=>{const _0xe4234c=_0x2f663e;for(var _0x5c793a=_0xb84aca>0x1?void 0x0:_0xb84aca?sn(_0x55f6ad,_0xd6fa0):_0x55f6ad,_0x6cc7f2=_0x1cf2bb[_0xe4234c(0x85)]-0x1,_0x209ea7;_0x6cc7f2>=0x0;_0x6cc7f2--)(_0x209ea7=_0x1cf2bb[_0x6cc7f2])&&(_0x5c793a=_0x209ea7(_0x5c793a)||_0x5c793a);return _0x5c793a;},Ce=(_0x2da670,_0x1b788b)=>(_0x668dbd,_0x529654)=>_0x1b788b(_0x668dbd,_0x529654,_0x2da670);let re=class{constructor(_0x14e586,_0x5d1c3c,_0x325c01){const _0x2403cf=_0x2f663e;this[_0x2403cf(0x1b9)]=_0x14e586,this[_0x2403cf(0x10f)]=_0x5d1c3c,this[_0x2403cf(0x8e)]=_0x325c01;}[_0x2f663e(0x241)](_0x5eccaf){const _0xc220b5=_0x2f663e;this[_0xc220b5(0x225)](_0x5eccaf);}[_0x2f663e(0x1a3)](_0x3a9c3f){const _0x46c8c1=_0x2f663e,{unitID:_0x14f06b}=_0x3a9c3f,{collaboration:_0x438136}=this[_0x46c8c1(0x8e)][_0x46c8c1(0x21b)](_0x14f06b);if(_0x438136['length']===0x0)return _0x3a9c3f;let _0x19ed5d=_0x1cca84[_0x46c8c1(0x9a)](_0x3a9c3f['mutations'][0x0]);for(let _0x569102=0x0;_0x569102<_0x438136[_0x46c8c1(0x85)];_0x569102++){const _0x540a7e={'id':_0x46c8c1(0x89),'params':{'unitId':_0x438136[_0x569102][_0x46c8c1(0xfa)],..._0x438136[_0x569102][_0x46c8c1(0x224)]}},_0x1cc939=this['_transformService'][_0x46c8c1(0xd0)](_0x19ed5d,_0x540a7e,!0x1);if(_0x2030ce(_0x1cc939))throw _0x1cc939[_0x46c8c1(0x217)];_0x19ed5d=_0x1cc939[_0x46c8c1(0x133)];}return{..._0x1cca84[_0x46c8c1(0x9a)](_0x3a9c3f),'mutations':[_0x19ed5d]};}[_0x2f663e(0x225)](_0x4dd8a1){const _0x19c4ef=_0x2f663e,{unitID:_0x9d8012}=_0x4dd8a1,{history:_0x4e8260,collaboration:_0x1fa5f6}=this[_0x19c4ef(0x8e)][_0x19c4ef(0x21b)](_0x9d8012);if(_0x4e8260[_0x19c4ef(0x85)]===0x0&&_0x1fa5f6[_0x19c4ef(0x85)]===0x0)return;const _0x3e8dd8=[],_0x341d85=[];let _0x267b99=_0x1cca84[_0x19c4ef(0x9a)](_0x4dd8a1[_0x19c4ef(0x1b1)][0x0]),_0x600422=_0x1cca84[_0x19c4ef(0x9a)](_0x4dd8a1[_0x19c4ef(0x1b1)][0x0]);for(let _0x229f3e=_0x4e8260[_0x19c4ef(0x85)]-0x1;_0x229f3e>=0x0;_0x229f3e--){const _0x4e110b={'id':_0x19c4ef(0x89),'params':{'unitId':_0x4e8260[_0x229f3e]['unitId'],..._0x4e8260[_0x229f3e][_0x19c4ef(0x236)]}},_0x2060d4={'id':_0x19c4ef(0x89),'params':{'unitId':_0x4e8260[_0x229f3e][_0x19c4ef(0xfa)],..._0x4e8260[_0x229f3e][_0x19c4ef(0x224)]}},_0x55b2f1=this['_transformService']['transformMutation'](_0x267b99,_0x4e110b,!0x1),_0x3bf42f=this['_transformService'][_0x19c4ef(0xd0)](_0x600422,_0x2060d4,!0x1);if(_0x2030ce(_0x55b2f1))throw _0x55b2f1[_0x19c4ef(0x217)];if(_0x2030ce(_0x3bf42f))throw _0x3bf42f[_0x19c4ef(0x217)];_0x3e8dd8['unshift']({..._0x4e8260[_0x229f3e],'undoState':_0x55b2f1[_0x19c4ef(0x182)][_0x19c4ef(0x128)],'redoState':_0x3bf42f['m2Prime'][_0x19c4ef(0x128)]}),_0x267b99=_0x55b2f1[_0x19c4ef(0x133)],_0x600422=_0x3bf42f[_0x19c4ef(0x133)];}_0x267b99=_0x1cca84[_0x19c4ef(0x9a)](_0x4dd8a1[_0x19c4ef(0x1b1)][0x0]),_0x600422=_0x1cca84[_0x19c4ef(0x9a)](_0x4dd8a1[_0x19c4ef(0x1b1)][0x0]);for(let _0x5e6157=_0x1fa5f6[_0x19c4ef(0x85)]-0x1;_0x5e6157>=0x0;_0x5e6157--){const _0x403264={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fa5f6[_0x5e6157]['unitId'],..._0x1fa5f6[_0x5e6157][_0x19c4ef(0x236)]}},_0x4b6fc4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fa5f6[_0x5e6157]['unitId'],..._0x1fa5f6[_0x5e6157][_0x19c4ef(0x224)]}},_0x1315e1=this[_0x19c4ef(0x10f)]['transformMutation'](_0x267b99,_0x403264,!0x1),_0x1d49ab=this[_0x19c4ef(0x10f)][_0x19c4ef(0xd0)](_0x600422,_0x4b6fc4,!0x1);if(_0x2030ce(_0x1315e1))throw _0x1315e1['error'];if(_0x2030ce(_0x1d49ab))throw _0x1d49ab[_0x19c4ef(0x217)];_0x341d85['unshift']({..._0x1fa5f6[_0x5e6157],'undoState':_0x1315e1[_0x19c4ef(0x182)][_0x19c4ef(0x128)],'redoState':_0x1d49ab[_0x19c4ef(0x182)]['params']}),_0x267b99=_0x1315e1[_0x19c4ef(0x133)],_0x600422=_0x1d49ab[_0x19c4ef(0x133)];}this[_0x19c4ef(0x8e)][_0x19c4ef(0x17f)](_0x9d8012,{'history':_0x3e8dd8,'collaboration':_0x341d85});}};re=nn([Ce(0x0,_0xfad7a2(_0xf6ae29)),Ce(0x1,_0x5445bd),Ce(0x2,_0xfad7a2(_0x1b26fc))],re);var rn=Object[_0x2f663e(0x151)],on=(_0x480b5a,_0x1a41a1,_0x2aa575,_0x3521e4)=>{const _0xd5001d=_0x2f663e;for(var _0xc9ba89=_0x3521e4>0x1?void 0x0:_0x3521e4?rn(_0x1a41a1,_0x2aa575):_0x1a41a1,_0x59fc9d=_0x480b5a[_0xd5001d(0x85)]-0x1,_0x46e3b2;_0x59fc9d>=0x0;_0x59fc9d--)(_0x46e3b2=_0x480b5a[_0x59fc9d])&&(_0xc9ba89=_0x46e3b2(_0xc9ba89)||_0xc9ba89);return _0xc9ba89;},tt=(_0x38ae58,_0xf71412)=>(_0x38fa3f,_0x48ed06)=>_0xf71412(_0x38fa3f,_0x48ed06,_0x38ae58);let oe=class{constructor(_0xea0123,_0x4bacf8){const _0x22e23d=_0x2f663e;this[_0x22e23d(0x1b9)]=_0xea0123,this['_transformService']=_0x4bacf8;}[_0x2f663e(0x27a)](_0x3ed62c){const _0x295a12=_0x2f663e;var _0x3aa707;const _0x55833a=this['_injector']['get'](_0x5cdeae),_0x40a29d=(_0x3aa707=_0x55833a['getDocRanges']())!=null?_0x3aa707:[];if(_0x40a29d[_0x295a12(0x85)]===0x0)return;const _0x20a022=_0x3ed62c[_0x295a12(0x20c)],_0x29e588=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x20a022,'actions':null,'textRanges':_0x40a29d}}],_0xcda1ca=this['_transformService']['transformMutationsWithChangeset'](_0x3ed62c,_0x29e588);if(!_0x610224(_0xcda1ca))throw _0xcda1ca[_0x295a12(0x217)];const _0x347e0d=_0xcda1ca[_0x295a12(0x182)][0x0][_0x295a12(0x128)][_0x295a12(0x10c)];Array[_0x295a12(0x8c)](_0x347e0d)&&_0x347e0d[_0x295a12(0x85)]&&_0x55833a['replaceDocRanges'](_0x347e0d,{'unitId':_0x20a022,'subUnitId':_0x20a022},!0x1);}};oe=on([tt(0x0,_0xfad7a2(_0xf6ae29)),tt(0x1,_0x5445bd)],oe);var an=Object[_0x2f663e(0x151)],cn=(_0xd6397,_0x563481,_0x5ec780,_0x305d5e)=>{const _0x4b8414=_0x2f663e;for(var _0x44e50e=_0x305d5e>0x1?void 0x0:_0x305d5e?an(_0x563481,_0x5ec780):_0x563481,_0x3fb500=_0xd6397[_0x4b8414(0x85)]-0x1,_0x30700e;_0x3fb500>=0x0;_0x3fb500--)(_0x30700e=_0xd6397[_0x3fb500])&&(_0x44e50e=_0x30700e(_0x44e50e)||_0x44e50e);return _0x44e50e;},U=(_0xeee8e0,_0x39d535)=>(_0x399f3a,_0x591e38)=>_0x39d535(_0x399f3a,_0x591e38,_0xeee8e0);let ae=class extends _0x2c599b{constructor(_0x9738c7,_0xea8bac,_0x411e10,_0x1d28ef,_0x4e8637,_0x2252d7,_0x38b200,_0x2bdb8d){const _0x102a36=_0x2f663e;super(),_(this,'_status$',new _0x498be9(_0x5acc60['NOT_COLLAB'])),(this[_0x102a36(0x8e)]=_0x9738c7,this[_0x102a36(0x1ab)]=_0xea8bac,this[_0x102a36(0xef)]=_0x411e10,this[_0x102a36(0x243)]=_0x1d28ef,this['_docTransformSelectionsService']=_0x4e8637,this[_0x102a36(0x114)]=_0x2252d7,this[_0x102a36(0x11f)]=_0x38b200,this['_localeService']=_0x2bdb8d,this[_0x102a36(0x18f)]());}[_0x2f663e(0x18f)](){const _0x1d19a7=_0x2f663e;this[_0x1d19a7(0x1e9)](this[_0x1d19a7(0x1ab)]['entityInit$'][_0x1d19a7(0xbd)](_0x21e50d=>{const _0x2ba714=_0x1d19a7,_0xa043d9=this[_0x2ba714(0x8e)][_0x2ba714(0x7c)][_0x2ba714(0xbd)](_0x2e1797=>{const _0x2cdf66=_0x2ba714;if(_0x2e1797==null)return;const {unitId:_0x2c6087,redoState:_0x1b3176,commandId:_0x5d5aeb}=_0x2e1797;if(_0x2c6087!==_0x21e50d[_0x2cdf66(0x20c)])return;const _0x2f98b7={'id':_0x5d5aeb,'type':_0x4d7c6e[_0x2cdf66(0x234)],'params':{'unitId':_0x2c6087,'actions':_0x1b3176['actions'],'textRanges':null}};_0x21e50d[_0x2cdf66(0x23d)](_0x2f98b7);});if(_0x21e50d[_0x2ba714(0x1e9)](_0xa043d9),_0x21e50d instanceof _0x20af81){const _0x2b990={'onTransformIME':_0x44826b=>this[_0x2ba714(0xef)][_0x2ba714(0x1fc)](_0x44826b),'onTransformState':_0x3ebd52=>this[_0x2ba714(0x243)]['transformStateCache'](_0x3ebd52),'onTransformSelections':_0x1e7ceb=>this[_0x2ba714(0x231)][_0x2ba714(0x27a)](_0x1e7ceb),'onSyncEditingCollabCursor':_0x314917=>this[_0x2ba714(0x114)]['syncEditingCollabCursor'](_0x314917),'onTransformRemoteChangesetByIMECache':_0x232f0a=>this[_0x2ba714(0xef)][_0x2ba714(0x1a3)](_0x232f0a),'onTransformRemoteChangesetByStateCache':_0x29c6ce=>this[_0x2ba714(0x243)][_0x2ba714(0x1a3)](_0x29c6ce)};_0x21e50d[_0x2ba714(0x19b)](_0x2b990);}}));}};ae=cn([U(0x0,_0xfad7a2(_0x1b26fc)),U(0x1,_0xfad7a2(_0xe2bf29)),U(0x2,_0xfad7a2(ne)),U(0x3,_0xfad7a2(re)),U(0x4,_0xfad7a2(oe)),U(0x5,_0xfad7a2(He)),U(0x6,_0x16d6e7),U(0x7,_0xfad7a2(_0x558eaa))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x446e15,_0xb43e9c,_0x18b3c7,_0x985133)=>{const _0x296a4c=_0x2f663e;for(var _0x55d371=_0x985133>0x1?void 0x0:_0x985133?ln(_0xb43e9c,_0x18b3c7):_0xb43e9c,_0x44071e=_0x446e15[_0x296a4c(0x85)]-0x1,_0x6f2559;_0x44071e>=0x0;_0x44071e--)(_0x6f2559=_0x446e15[_0x44071e])&&(_0x55d371=_0x6f2559(_0x55d371)||_0x55d371);return _0x55d371;},Ee=(_0x4e46a5,_0x552da3)=>(_0x4d3e98,_0x1fa643)=>_0x552da3(_0x4d3e98,_0x1fa643,_0x4e46a5);let we=class extends _0x2c599b{constructor(_0x1e1b2d,_0x3d5f5c,_0x181bae){const _0x3543d7=_0x2f663e;super(),_(this,_0x3543d7(0xee),new Map()),_(this,_0x3543d7(0x257),new Map()),_(this,'_disabled',!0x1),(this[_0x3543d7(0x1df)]=_0x1e1b2d,this[_0x3543d7(0xa6)]=_0x3d5f5c,this[_0x3543d7(0x208)]=_0x181bae);}[_0x2f663e(0x1cc)](){const _0x2ecbf8=_0x2f663e;this[_0x2ecbf8(0x132)]=!0x0;}[_0x2f663e(0x283)](){const _0x35e18c=_0x2f663e;this[_0x35e18c(0x132)]=!0x1;}get['saveTaskMap'](){const _0x1352da=_0x2f663e;return this[_0x1352da(0x257)];}[_0x2f663e(0x11a)](){const _0x446f5b=_0x2f663e;this[_0x446f5b(0x149)]()[_0x446f5b(0x176)](()=>super[_0x446f5b(0x11a)]());}async[_0x2f663e(0x160)](_0x83e979){const _0x35b620=_0x2f663e;return this[_0x35b620(0x132)]?null:this[_0x35b620(0xa6)][_0x35b620(0x168)](_0x52d65d(_0x83e979));}async[_0x2f663e(0x21c)](_0x37dbcd,_0x4891e7){const _0x4f97b1=_0x2f663e;return!!this[_0x4f97b1(0xa6)][_0x4f97b1(0x206)](_0x37dbcd,_0x4891e7);}['updateOfflineData'](_0x11785c,_0x4b91cc,_0x4a13e6,_0x396a9a){const _0x2fffe0=_0x2f663e,_0x251742=this[_0x2fffe0(0x208)][_0x2fffe0(0xb6)](_0x11785c);this[_0x2fffe0(0xee)][_0x2fffe0(0x144)](_0x11785c,{'unitID':_0x11785c,'type':_0x4b91cc,'awaitingChangeset':_0x4a13e6,'mutations':_0x396a9a,'rev':_0x251742}),this[_0x2fffe0(0x257)]['has'](_0x11785c)||this[_0x2fffe0(0x28b)](_0x11785c);}[_0x2f663e(0x28b)](_0x36a8fc){const _0x711734=_0x2f663e,_0x468c71=this[_0x711734(0x25e)]();_0x468c71===0x0?this[_0x711734(0xbe)](_0x36a8fc):this[_0x711734(0x257)][_0x711734(0x144)](_0x36a8fc,setTimeout(()=>this['_saveCache'](_0x36a8fc),_0x468c71));}[_0x2f663e(0x25e)](){const _0x372180=_0x2f663e;var _0x185ffe;return(_0x185ffe=this[_0x372180(0x1df)][_0x372180(0x110)](_0x1e5bcc))!=null?_0x185ffe:_0xbfdc93;}[_0x2f663e(0xbe)](_0x453810){const _0x3e573a=_0x2f663e,_0x19db64=this['_saveTaskMap'][_0x3e573a(0xda)](_0x453810);return _0x19db64!==void 0x0&&window[_0x3e573a(0x9e)](_0x19db64),this[_0x3e573a(0xa6)][_0x3e573a(0x206)](_0x52d65d(_0x453810),this[_0x3e573a(0xee)][_0x3e573a(0xda)](_0x453810))[_0x3e573a(0x176)](()=>this[_0x3e573a(0x257)][_0x3e573a(0x252)](_0x453810));}async[_0x2f663e(0x149)](){const _0x525d10=_0x2f663e,_0x13ac29=[];this['_saveTaskMap'][_0x525d10(0x1a7)]((_0x3846b4,_0x4b1477)=>{const _0x99b2ba=_0x525d10;window[_0x99b2ba(0x9e)](_0x3846b4),_0x13ac29['push'](this[_0x99b2ba(0xbe)](_0x4b1477)[_0x99b2ba(0x176)](()=>{const _0x42b4c0=_0x99b2ba;this[_0x42b4c0(0x257)][_0x42b4c0(0x252)](_0x4b1477);}));}),await Promise[_0x525d10(0x240)](_0x13ac29);}};we=_n([Ee(0x0,_0x7cf2a5),Ee(0x1,_0x1eccd0),Ee(0x2,_0xfad7a2(_0x158257))],we);class hn extends _0x44d3a6{constructor(){const _0x3c75c6=_0x2f663e;super(),_(this,_0x3c75c6(0x119)),this['urlChange$']=_0x39c7f3(window,_0x3c75c6(0xc1))[_0x3c75c6(0xfb)](_0x2fdde1(this['dispose$']),_0x46f86d(0x1),_0x2a445b(void 0x0));}[_0x2f663e(0x210)](_0x145d3b,_0x47f15a,_0x5eb4b6=!0x1){const _0x43f3bd=_0x2f663e,_0x5be7a2=new URL(window[_0x43f3bd(0xdd)][_0x43f3bd(0x12b)]);_0x5be7a2[_0x43f3bd(0x106)][_0x43f3bd(0x144)](_0x145d3b,_0x47f15a),_0x5eb4b6?window[_0x43f3bd(0x10a)]['replaceState']('','',_0x5be7a2[_0x43f3bd(0x16c)]()):window['history'][_0x43f3bd(0x134)]('','',_0x5be7a2[_0x43f3bd(0x16c)]());}[_0x2f663e(0xb8)](_0x59c1ee,_0xcb3579=!0x1){const _0x4c15eb=_0x2f663e,_0x13d278=new URL(window[_0x4c15eb(0xdd)][_0x4c15eb(0x12b)]);_0x13d278[_0x4c15eb(0x106)][_0x4c15eb(0x252)](_0x59c1ee),_0xcb3579?window[_0x4c15eb(0x10a)][_0x4c15eb(0x266)]('','',_0x13d278['toString']()):window[_0x4c15eb(0x10a)][_0x4c15eb(0x134)]('','',_0x13d278[_0x4c15eb(0x16c)]());}[_0x2f663e(0x135)](_0x104e4c){const _0x2407fe=_0x2f663e;var _0x189bca;return(_0x189bca=new URL(window[_0x2407fe(0xdd)][_0x2407fe(0x12b)])[_0x2407fe(0x106)]['get'](_0x104e4c))!=null?_0x189bca:void 0x0;}}var un=Object[_0x2f663e(0x19c)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x2845d7,_0x4c794f,_0x38c887)=>_0x4c794f in _0x2845d7?un(_0x2845d7,_0x4c794f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38c887}):_0x2845d7[_0x4c794f]=_0x38c887,Sn=(_0x2ccf3a,_0x336129,_0x1359f6,_0x1edc45)=>{const _0x7d4be5=_0x2f663e;for(var _0x3d82d0=_0x1edc45>0x1?void 0x0:_0x1edc45?dn(_0x336129,_0x1359f6):_0x336129,_0x3b29f6=_0x2ccf3a[_0x7d4be5(0x85)]-0x1,_0x4150d2;_0x3b29f6>=0x0;_0x3b29f6--)(_0x4150d2=_0x2ccf3a[_0x3b29f6])&&(_0x3d82d0=_0x4150d2(_0x3d82d0)||_0x3d82d0);return _0x3d82d0;},Oe=(_0x36dc04,_0x7915d7)=>(_0x559897,_0x48c4c5)=>_0x7915d7(_0x559897,_0x48c4c5,_0x36dc04),mn=(_0x2b4fca,_0x1ee098,_0x129c1d)=>fn(_0x2b4fca,_0x1ee098+'',_0x129c1d);const In=_0x2f663e(0x215);let Ae=class extends _0x3358b4{constructor(_0x634892=et,_0x31658a,_0x57f95f,_0x6488d1){const _0x268d46=_0x2f663e;super(),this['_config']=_0x634892,this[_0x268d46(0xde)]=_0x31658a,this['_injector']=_0x57f95f,this[_0x268d46(0x1df)]=_0x6488d1;const {..._0xcf46e5}=_0x3b5740({},et,this[_0x268d46(0x170)]);this[_0x268d46(0x1df)][_0x268d46(0x1d7)](Zi,_0xcf46e5);}[_0x2f663e(0x1f5)](){const _0x215d0f=_0x2f663e;this[_0x215d0f(0x24c)](),this[_0x215d0f(0x1c7)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x2f663e(0x24c)](){const _0x21f28a=_0x2f663e;var _0x1e4af0;const _0x3b53a2=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1152c1,{'useClass':_0x1ff624}],[_0x4c8f60,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x97cf9a(this[_0x21f28a(0x1b9)],_0x2f84cf(_0x3b53a2,(_0x1e4af0=this[_0x21f28a(0x170)])==null?void 0x0:_0x1e4af0[_0x21f28a(0x262)]));}[_0x2f663e(0xf8)](){const _0x46a964=_0x2f663e;this[_0x46a964(0x1e9)](this[_0x46a964(0xde)][_0x46a964(0x1d0)](_0x39ba16[_0x46a964(0x18a)],[Le])),this['disposeWithMe'](this[_0x46a964(0xde)][_0x46a964(0x1d0)](_0x39ba16[_0x46a964(0x232)],[Pe]));}[_0x2f663e(0x1c7)](){const _0x529e16=_0x2f663e;_0x576bca(this[_0x529e16(0x1b9)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x2f663e(0x1b7),In),Ae=Sn([_0x1a973b(_0x3bd9e0),Oe(0x1,_0x10a1a1),Oe(0x2,_0xfad7a2(_0xf6ae29)),Oe(0x3,_0x7cf2a5)],Ae);var gn=Object[_0x2f663e(0x151)],vn=(_0x2091c8,_0xec4263,_0x2c002b,_0x27fa22)=>{const _0x1f1ab9=_0x2f663e;for(var _0x20b6ea=_0x27fa22>0x1?void 0x0:_0x27fa22?gn(_0xec4263,_0x2c002b):_0xec4263,_0x15b424=_0x2091c8[_0x1f1ab9(0x85)]-0x1,_0x35abe2;_0x15b424>=0x0;_0x15b424--)(_0x35abe2=_0x2091c8[_0x15b424])&&(_0x20b6ea=_0x35abe2(_0x20b6ea)||_0x20b6ea);return _0x20b6ea;},K=(_0x4d9eda,_0x1f7e13)=>(_0x1bfe0f,_0x4cea98)=>_0x1f7e13(_0x1bfe0f,_0x4cea98,_0x4d9eda);let st=class extends _0x5d083c{constructor(_0x65249f,_0x166ff0,_0x23abc7,_0x5a2832,_0x70858f){super(_0x65249f,_0x166ff0,_0x23abc7,_0x5a2832,_0x70858f);}async['createSocket'](_0x2319a7){const _0x4996f4=_0x2f663e,_0x293be9=await this['_getSessionTicket'](),_0x540164=this[_0x4996f4(0x1a6)](_0x2319a7,_0x293be9);return this['_doCreateSocket'](_0x540164);}[_0x2f663e(0x1a6)](_0x232a21,_0x5b8e18){const _0x369dfb=_0x2f663e,_0x4e3aa0=typeof window>'u'?new URL(_0x232a21):new URL(_0x232a21,window[_0x369dfb(0xdd)][_0x369dfb(0x154)]);_0x4e3aa0[_0x369dfb(0x106)]['set'](_0x369dfb(0x111),_0x5b8e18);const _0x415d79=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x369dfb(0xdd)][_0x369dfb(0x259)]);return _0x415d79[_0x369dfb(0xda)](_0x369dfb(0xe3))&&_0x4e3aa0[_0x369dfb(0x106)][_0x369dfb(0x144)](_0x369dfb(0xe3),_0x415d79['get']('runId')),_0x4e3aa0[_0x369dfb(0x16c)]();}async[_0x2f663e(0x1eb)](){const _0x502248=_0x2f663e;var _0x2e33aa,_0x4e38f2,_0x4c0a84;const _0x599c46=this[_0x502248(0x1df)][_0x502248(0x110)](_0x2c2983),_0x15096d=(_0x2e33aa=_0x599c46==null?void 0x0:_0x599c46[_0x502248(0x118)])!=null?_0x2e33aa:_0x3b0275;return(_0x4c0a84=(_0x4e38f2=(await this[_0x502248(0xb5)][_0x502248(0xda)](_0x15096d,{'headers':{'Content-Type':_0x502248(0x26b)}}))[_0x502248(0x1d8)])==null?void 0x0:_0x4e38f2[_0x502248(0x1bf)])!=null?_0x4c0a84:'';}};st=vn([K(0x0,_0xfad7a2(_0xf6ae29)),K(0x1,_0xfad7a2(_0x4a5eb3)),K(0x2,_0x7cf2a5),K(0x3,_0x54f831),K(0x4,_0x2ff4e4)],st);const it=0x7530,nt=_0x2f663e(0xd9);class Fn extends _0x2c599b{constructor(){const _0x43dba4=_0x2f663e;super(),_(this,_0x43dba4(0x14d),_0x5f150b()),_(this,_0x43dba4(0xfc),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x43dba4(0x253),null),_(this,_0x43dba4(0xc6),new Map()),_(this,_0x43dba4(0x108),new Map()),this[_0x43dba4(0x163)]();}[_0x2f663e(0x11a)](){const _0x2cfc05=_0x2f663e;super['dispose'](),this[_0x2cfc05(0xc6)][_0x2cfc05(0x1a7)]((_0x3618c5,_0x281406)=>this[_0x2cfc05(0x13d)](_0x281406)),this[_0x2cfc05(0x253)]&&window[_0x2cfc05(0x12f)](this[_0x2cfc05(0x253)]);}[_0x2f663e(0x167)](_0x2efc0b){const _0x161f56=_0x2f663e;return this[_0x161f56(0x162)](_0x2efc0b)[_0x161f56(0xfb)](_0x47bdb8());}['editingUnit'](_0x22851b){const _0x5e8065=_0x2f663e;this[_0x5e8065(0xfc)][_0x5e8065(0x87)]===0x0&&this[_0x5e8065(0x173)](),this[_0x5e8065(0xfc)][_0x5e8065(0x143)](_0x22851b),this[_0x5e8065(0x17e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x22851b],'isForwarded':!0x1});}[_0x2f663e(0x105)](_0x179e12){const _0x10b2ec=_0x2f663e;this['_selfUnitIDs']['delete'](_0x179e12),this[_0x10b2ec(0xfc)]['size']===0x0&&this[_0x10b2ec(0x253)]&&window['clearInterval'](this[_0x10b2ec(0x253)]);}[_0x2f663e(0x163)](){const _0x2cacc5=_0x2f663e;this[_0x2cacc5(0x1e9)](_0xa67f93(_0x39c7f3(window,_0x2cacc5(0xad))[_0x2cacc5(0xbd)](_0x39eade=>{const _0x5c6cf4=_0x2cacc5;if(_0x39eade[_0x5c6cf4(0x218)]!==nt||!_0x39eade['newValue'])return;const _0x1012c2=JSON['parse'](_0x39eade['newValue']);this[_0x5c6cf4(0x192)](_0x1012c2);}))),window[_0x2cacc5(0xb7)]('unload',()=>this[_0x2cacc5(0x17e)]({'type':0x1,'memberID':this[_0x2cacc5(0x14d)],'unitIDs':Array[_0x2cacc5(0x196)](this[_0x2cacc5(0xfc)])}));}[_0x2f663e(0x192)](_0x2c31f5){const _0x452e66=_0x2f663e;switch(_0x2c31f5[_0x452e66(0x1a4)]){case 0x0:this[_0x452e66(0x7e)](_0x2c31f5);break;case 0x1:this[_0x452e66(0x16b)](_0x2c31f5);break;case 0x2:this[_0x452e66(0x91)](_0x2c31f5);break;}}[_0x2f663e(0x7e)](_0x3881f2){const _0x93cbe0=_0x2f663e,{unitIDs:_0xcbea56,memberID:_0x2354a4,isForwarded:_0x39f13d}=_0x3881f2;_0xcbea56['forEach'](_0x34de49=>{const _0xcde056=_0x10a5;if(!_0x39f13d&&this[_0xcde056(0xc7)]['has'](_0x34de49)&&this[_0xcde056(0x162)](_0x34de49)[_0xcde056(0x24e)](_0x180d6f[_0xcde056(0x1d9)]),!this[_0xcde056(0xc7)]['has'](_0x34de49)||!this[_0xcde056(0xc7)][_0xcde056(0xda)](_0x34de49)[_0xcde056(0x14b)](_0x2354a4)){const _0x39e3d0=this[_0xcde056(0xc7)][_0xcde056(0xda)](_0x34de49)||new Set();_0x39e3d0['add'](_0x2354a4),this[_0xcde056(0xc7)][_0xcde056(0x144)](_0x34de49,_0x39e3d0),this[_0xcde056(0xbb)](_0x2354a4);}}),_0x39f13d||this[_0x93cbe0(0x17e)]({'type':0x0,'memberID':this[_0x93cbe0(0x14d)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2f663e(0xbb)](_0x1ea33d){const _0x54fdfa=_0x2f663e;this['_removeClearOtherTimer'](_0x1ea33d);const _0x4fc400=window[_0x54fdfa(0xe1)](()=>{const _0x3fd600=_0x54fdfa;this[_0x3fd600(0xc7)][_0x3fd600(0x1a7)](_0x2e7699=>{const _0x4d7716=_0x3fd600;_0x2e7699[_0x4d7716(0x252)](_0x1ea33d);});},it*0x2);this[_0x54fdfa(0xc6)][_0x54fdfa(0x144)](_0x1ea33d,_0x4fc400);}['_removeClearOtherTimer'](_0x43dbc0){const _0x32294e=_0x2f663e;if(this[_0x32294e(0xc6)][_0x32294e(0x14b)](_0x43dbc0)){const _0x4b438b=this[_0x32294e(0xc6)]['get'](_0x43dbc0);_0x4b438b&&window[_0x32294e(0x9e)](_0x4b438b),this[_0x32294e(0xc6)][_0x32294e(0x144)](_0x43dbc0,null);}}['_handleLeaveEvent'](_0x59ef63){const _0x1aa6a3=_0x2f663e,{memberID:_0x27c0d6,unitIDs:_0xe8f52}=_0x59ef63;_0xe8f52[_0x1aa6a3(0x1a7)](_0x5caf16=>{const _0x4ee486=_0x1aa6a3;var _0x354266;const _0x5d39cc=this['_unitOnClients'][_0x4ee486(0xda)](_0x5caf16);_0x5d39cc&&(_0x5d39cc[_0x4ee486(0x252)](_0x27c0d6),(_0x354266=this[_0x4ee486(0x162)](_0x5caf16))==null||_0x354266['next'](_0x5d39cc[_0x4ee486(0x87)]===0x0?_0x180d6f[_0x4ee486(0xd2)]:_0x180d6f[_0x4ee486(0x1d9)]));}),this[_0x1aa6a3(0x13d)](_0x27c0d6);}[_0x2f663e(0x91)](_0x54ad9d){const _0x363074=_0x2f663e;this['_scheduleClearOtherTimer'](_0x54ad9d[_0x363074(0x1ea)]);}[_0x2f663e(0x17e)](_0x5e22e9){localStorage['setItem'](nt,JSON['stringify'](_0x5e22e9));}[_0x2f663e(0x173)](){const _0x147708=_0x2f663e;this['_heartbeatTimer']=window[_0x147708(0xe6)](()=>{const _0x2ad325=_0x147708;this[_0x2ad325(0x17e)]({'type':0x2,'memberID':this['_id']});},it);}[_0x2f663e(0x162)](_0x1ac64f){const _0x5a236b=_0x2f663e;return this['_unitStatus'][_0x5a236b(0x14b)](_0x1ac64f)||this['_unitStatus']['set'](_0x1ac64f,new _0x498be9(_0x180d6f['NO_OTHER_CLIENTS_EDITING'])),this[_0x5a236b(0x108)]['get'](_0x1ac64f);}}var Mt=(_0x54996d=>(_0x54996d[_0x54996d[_0x2f663e(0x172)]=0x0]=_0x2f663e(0x172),_0x54996d[_0x54996d['OK']=0x1]='OK',_0x54996d[_0x54996d[_0x2f663e(0x1f4)]=0x2]=_0x2f663e(0x1f4),_0x54996d[_0x54996d[_0x2f663e(0x171)]=0x3]='PERMISSION_DENIED',_0x54996d[_0x54996d['NOT_FOUND']=0x4]=_0x2f663e(0x1e3),_0x54996d[_0x54996d['UNAUTHENTICATED']=0x5]=_0x2f663e(0x11b),_0x54996d[_0x54996d[_0x2f663e(0x156)]=0x6]=_0x2f663e(0x156),_0x54996d[_0x54996d[_0x2f663e(0x1c8)]=0x7]=_0x2f663e(0x1c8),_0x54996d[_0x54996d['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x54996d[_0x54996d[_0x2f663e(0x158)]=0x9]=_0x2f663e(0x158),_0x54996d[_0x54996d['LOGIN_FAILED']=0xa]=_0x2f663e(0xf9),_0x54996d[_0x54996d[_0x2f663e(0x274)]=0xb]=_0x2f663e(0x274),_0x54996d[_0x54996d[_0x2f663e(0xcd)]=0xc]=_0x2f663e(0xcd),_0x54996d[_0x54996d[_0x2f663e(0x137)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x54996d[_0x54996d[_0x2f663e(0x131)]=0xe]=_0x2f663e(0x131),_0x54996d[_0x54996d[_0x2f663e(0x1f6)]=0x1389]=_0x2f663e(0x1f6),_0x54996d[_0x54996d[_0x2f663e(0x1ad)]=0x1771]=_0x2f663e(0x1ad),_0x54996d[_0x54996d[_0x2f663e(0xa7)]=0x1772]=_0x2f663e(0xa7),_0x54996d[_0x54996d[_0x2f663e(0x23e)]=0x1773]=_0x2f663e(0x23e),_0x54996d[_0x54996d[_0x2f663e(0x21f)]=0x1b59]='APPLY_REJECT',_0x54996d[_0x54996d[_0x2f663e(0x1ff)]=0x1b5a]=_0x2f663e(0x1ff),_0x54996d[_0x54996d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2f663e(0x140),_0x54996d[_0x54996d['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x54996d[_0x54996d[_0x2f663e(0x248)]=0x1b5d]=_0x2f663e(0x248),_0x54996d[_0x54996d[_0x2f663e(0x1b4)]=0x1f41]=_0x2f663e(0x1b4),_0x54996d[_0x54996d[_0x2f663e(0x1cf)]=0x2329]=_0x2f663e(0x1cf),_0x54996d[_0x54996d[_0x2f663e(0x197)]=0x232a]=_0x2f663e(0x197),_0x54996d[_0x54996d[_0x2f663e(0x115)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x54996d[_0x54996d[_0x2f663e(0xbf)]=0x232c]=_0x2f663e(0xbf),_0x54996d[_0x54996d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2f663e(0x278),_0x54996d[_0x54996d[_0x2f663e(0x19a)]=0x2711]=_0x2f663e(0x19a),_0x54996d[_0x54996d[_0x2f663e(0x18d)]=0x2712]=_0x2f663e(0x18d),_0x54996d[_0x54996d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2f663e(0x19d),_0x54996d[_0x54996d[_0x2f663e(0xf4)]=0x2714]=_0x2f663e(0xf4),_0x54996d[_0x54996d['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x2f663e(0x93),_0x54996d[_0x54996d[_0x2f663e(0x219)]=0x271b]=_0x2f663e(0x219),_0x54996d[_0x54996d['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2f663e(0x261),_0x54996d[_0x54996d[_0x2f663e(0x21e)]=0x271d]=_0x2f663e(0x21e),_0x54996d[_0x54996d[_0x2f663e(0x146)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x54996d[_0x54996d[_0x2f663e(0x275)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x54996d[_0x54996d[_0x2f663e(0x8f)]=0x2720]=_0x2f663e(0x8f),_0x54996d[_0x54996d[_0x2f663e(0x12d)]=0x2af9]=_0x2f663e(0x12d),_0x54996d[_0x54996d[_0x2f663e(0x1fd)]=0x2ee1]=_0x2f663e(0x1fd),_0x54996d[_0x54996d[_0x2f663e(0xbc)]=0x2ee2]='INVALID_INVITE_CODE',_0x54996d[_0x54996d[_0x2f663e(0xfd)]=0x2ee3]=_0x2f663e(0xfd),_0x54996d[_0x54996d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2f663e(0x9d),_0x54996d[_0x54996d['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2f663e(0x201),_0x54996d[_0x54996d[_0x2f663e(0x1ae)]=0x32c9]=_0x2f663e(0x1ae),_0x54996d[_0x54996d['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x54996d[_0x54996d['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2f663e(0x1c2),_0x54996d[_0x54996d[_0x2f663e(0x13f)]=-0x1]='UNRECOGNIZED',_0x54996d))(Mt||{}),pn=Object[_0x2f663e(0x151)],Cn=(_0x658702,_0x5e8282,_0xa71707,_0x84368)=>{const _0x264560=_0x2f663e;for(var _0x11d71c=_0x84368>0x1?void 0x0:_0x84368?pn(_0x5e8282,_0xa71707):_0x5e8282,_0x12d055=_0x658702[_0x264560(0x85)]-0x1,_0x26dc73;_0x12d055>=0x0;_0x12d055--)(_0x26dc73=_0x658702[_0x12d055])&&(_0x11d71c=_0x26dc73(_0x11d71c)||_0x11d71c);return _0x11d71c;},be=(_0x2c8006,_0x57e984)=>(_0x3719dd,_0x26de97)=>_0x57e984(_0x3719dd,_0x26de97,_0x2c8006);let rt=class extends _0x2c599b{constructor(_0x51f029,_0x37b51e,_0x3bb0af){const _0x1c8911=_0x2f663e;super(),this[_0x1c8911(0x1b5)]=_0x51f029,this[_0x1c8911(0xb5)]=_0x37b51e,this[_0x1c8911(0x1df)]=_0x3bb0af;}async['runOnServer'](_0x3a279e,_0xe527d1,_0x2fd42d,..._0x41058b){const _0x1b9aaf=_0x2f663e;var _0x3e600c,_0x1bd4da,_0x23c15c,_0x541518;const _0x1a7edc=this[_0x1b9aaf(0x1b5)][_0x1b9aaf(0x246)]();if(!_0x1a7edc)throw new Error(_0x1b9aaf(0x116));const _0x57b21d=((_0x3e600c=this[_0x1b9aaf(0x1df)][_0x1b9aaf(0x110)](_0x323fcc))!=null?_0x3e600c:_0x5c4e0e)+'/'+_0x3a279e+_0x1b9aaf(0x221)+_0xe527d1,_0x117197=new URL(window[_0x1b9aaf(0xdd)][_0x1b9aaf(0x12b)]),_0x12c862={'scriptId':_0x3a279e,'runId':(_0x1bd4da=_0x117197[_0x1b9aaf(0x106)][_0x1b9aaf(0xda)]('runId'))!=null?_0x1bd4da:'','function':_0xe527d1,'unitId':_0x1a7edc[_0x1b9aaf(0x25d)](),'argsOfFunction':JSON[_0x1b9aaf(0x83)](_0x41058b),'invokeId':(_0x23c15c=_0x2fd42d[_0x1b9aaf(0xe9)])!=null?_0x23c15c:'','executionId':(_0x541518=_0x2fd42d[_0x1b9aaf(0xea)])!=null?_0x541518:''};try{const _0x58bbf6=await this['_httpService'][_0x1b9aaf(0x233)](_0x57b21d,{'body':_0x12c862});return _0x58bbf6[_0x1b9aaf(0x1d8)][_0x1b9aaf(0x217)]&&_0x58bbf6[_0x1b9aaf(0x1d8)][_0x1b9aaf(0x217)][_0x1b9aaf(0x178)]!==Mt['OK']?'Failed':_0x58bbf6[_0x1b9aaf(0x1d8)][_0x1b9aaf(0x21a)];}catch{return _0x1b9aaf(0x1ce);}}};rt=Cn([be(0x0,_0x4b850f),be(0x1,_0xfad7a2(_0x4a5eb3)),be(0x2,_0x7cf2a5)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x4a15b3=_0x55c0;(function(_0x5eafe4,_0x474421){const _0x3ea924=_0x55c0,_0x249111=_0x5eafe4();while(!![]){try{const _0x7209d9=parseInt(_0x3ea924(0xc4))/0x1*(parseInt(_0x3ea924(0x2b3))/0x2)+parseInt(_0x3ea924(0xfa))/0x3*(parseInt(_0x3ea924(0x29c))/0x4)+parseInt(_0x3ea924(0x199))/0x5+-parseInt(_0x3ea924(0xf1))/0x6+parseInt(_0x3ea924(0x18b))/0x7+-parseInt(_0x3ea924(0x1ed))/0x8*(-parseInt(_0x3ea924(0x128))/0x9)+-parseInt(_0x3ea924(0x2b9))/0xa;if(_0x7209d9===_0x474421)break;else _0x249111['push'](_0x249111['shift']());}catch(_0x12447d){_0x249111['push'](_0x249111['shift']());}}}(_0x1a74,0x7a972));var $t=Object['defineProperty'],xt=(_0x3f8d1d,_0xa2b1aa,_0x582dc8)=>_0xa2b1aa in _0x3f8d1d?$t(_0x3f8d1d,_0xa2b1aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x582dc8}):_0x3f8d1d[_0xa2b1aa]=_0x582dc8,_=(_0x152f73,_0x932ba3,_0x1bc75e)=>xt(_0x152f73,typeof _0x932ba3!=_0x4a15b3(0x287)?_0x932ba3+'':_0x932ba3,_0x1bc75e);function _0x1a74(){const _0x4f9f40=['column','YUUMI_NO_CUBOID_FOR_QUESTION','HEADER_MENU','drawWith','INTERNAL_ERROR','string','on-line-icon_clip0_910_349','LICENSE_EXPORT_SIZE_EXCEEDED','getCollabCursors$','_config','getAncestorScale','data','assign','hide','LICENSE_DISTRO_REJECTED','collaboration.closeRoom','getSkeleton','_getSaveTimeout','transformByState','show','getSheetId','RECT','Failed','_getAnchorBounding','MUTATION','_configService','setAlpha','editingUnit','_messageService','translate(.97)','_drawTextRange','currentColor','path','_initStatusComponent','stringify','OFFLINE','_initEvent','then','_handleHover','pushState','getMember','getVpScrollXYInfoByPosToVp','createSocket','UniverIcon','_entityInit$','_render','_session','CONFLICT','clearInterval','M0\x200H16V16H0z','getItem','getTypeOfUnitDisposed$','_imageIoService','addClipboardHook','SOCKET_FAILED','session.connection-failed','exhaustSavingTask','tag','off-line-icon_clip0_910_343','mask','onPointerEnter$','setParam','OnLineIcon','from','_toggleOffline','4176632jwSkcR','svg','href','sessionTicket','permission.title','_removeClearOtherTimer','_unitOnClients','_shapes','split','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DeleteRangeMoveUpCommandId','_removeCollabCursors','getOffsetConfig','assignAColorForMemberID','setInterval','subUnitId','_notificationService','includes','apply','_range','collaboration-client.offline-data-not-saved','NO_OTHER_CLIENTS_EDITING','size','newValue','MOBILE_HAS_BEEN_BOUND','labelPosition','white','INVITE_CODE_ALREADY_BOUND','_updateSubUnitFromURLParams','session.will-retry','className','unitId','SNAPSHOT_HAS_BEEN_REMOVED','key','textRanges','loadOfflineData','_beforeCloseService','isArray','blue.400','ONLINE','PY_RUNTIME_SCRIPT_ERROR','_univerInstanceService','_createSocketURL','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','debug','APPLY_NON_SEQUENTIAL_REVISION','_assignedColors','_localStorageService','_labelPosition','_localCacheService','getValue','getUnitStatus$','history','_initStatusListener','_startSheetCollabCursor','url(#$1','session.collaboration-timeout','subscribe','save','_updateURLWithCurrentState','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mutations','_init','colorChannel1','registerBeforeClose','currentTheme$','_revisionService','row','_setupBeforeClosingHandler','_refreshCollabCursors','_colorAssignService','send','LOGIN_FAILED','attrs','WECHAT_HAS_BEEN_BOUND','PERMISSION_DENIED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_saveCache','beginPath','CONNECTOR_DATA_TOO_LARGE','params','saveImage','UNIVER_SHEET','lineTo','subscribeEvent','_anchor','unsubscribe','YUUMI_UNABLE_LOAD_URL','NOT_COLLAB','_collabCursorController','_handleEvent','roomMembers$','current','getUniverSheetInstance','INVALID_ARGUMENT','_clearOtherTimers','_docSyncEditingCollabCursorService','_memberService','_onCursorDelete','registerComponent','_draw','red.300','UNAUTHENTICATED','arc','_cachedData','permission.content','toString','_collabSessionService','onMouseMove','_uiPartsService','disableLocalCache','length','getActiveSheet','prototype','onStarting','Warning','RemoveColCommandId','endColumn','_anchorDot','call','ranges','INVITE_CODE_HAS_BEEN_UES','displayName','_docClipboardService','map','with','fillText','getActiveRange','asObservable','_initEntityListener','removeParam','fill','collab-client.tooltip.reconnect','m1Prime','wsSessionTicketUrl','_heartbeatTimer','disposeWithMe','_roomMembers$','actions','doc.mutation.rich-text-editing','YUUMI_URL_COL_OUT_OF_RANGE','measureText','search','init','addObject','deepClone','TEXT','_cursorShapes','getConfig','OTHER_CLIENT_EDITING','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_eventUnsubscribe','substring','_docTransformIMECacheService','symbol','AWAITING_WITH_PENDING','collaboration-client-ui.config','PENDING','whenReady','APPLY_PERMISSION_DENIED','div','code','UNIVER_DOC','univer-mr-2\x20univer-flex\x20univer-text-xl','concat','syncEditingCollabCursor','_backgroundColor','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformSelections','INVALID_INVITE_CODE','color','_saveTaskMap','getCurrent','min','getUnhiddenWorksheets','238892ClSwRt','_registerRenderDependencies','roomMembers','_collabCursorState$','toRgbString','MOBILE_VERIFY_CODE_MISMATCH','_handleLeaveEvent','_logService','getParam','_onRefRangeChange','onTransformChange$','fillRule','_initDependencies','_handleHeartbeatEvent','_id','delete','cursorInfo$','children','_urlService','backgroundColor','getColorFromTheme','engine','focused$','1381364BGmBiw','_registerDependencies','#FFF','univer-flex\x20univer-items-center','collabCursorState$','startsWith','11359520WxLjWy','_name','status$','ALREADY_EXISTS','getFocusedUnit','isActive','requireSession','_online','ENSURE_SNAPSHOT_EXECUTION','APPLY_REJECT','runOnServer','executionId','_scheduleClearOtherTimer','Error','setConfig','parse','NOT_FOUND','round','loadUnit','_ensureSubject','m2Prime','replace','setUndoRedoMutationParamsCache','1qHZGTN','UNDEFINED','collabStatus.fetchMiss','getUnitId','_docSkeletonManagerService','_renderManagerService','onPointerMove$','_scheduleHeartbeat','set','getCurrentRevOfUnit','override','fillStyle','_handleJoinEvent','bottom','_getMergeRange','runId','dispose','_send','clearTimeout','unload','/run/','_updateLocalCursor','memberID','OTHER_CLIENTS_EDITING','source','USERS_LEAVE','LICENSE_IMPORT_SIZE_EXCEEDED','registerRefRange','_collaborationController','_toggleOnline','_hovered','_getSheetObject','_cursors','urlChange$','transformRemoteChangeset','_colorIndex','getMergeData','_localeService','_commandService','_transformPreviousActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_doCreateSocket','location','FETCH_MISS','isEditing','3929244vSrNSM','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_ASYNCIO_CANCELLED','getMemberID','get','next','UPDATE_CURSOR','YUUMI_CONNECTOR_URL_NOT_FOUND','selection','3Yqreow','enableLocalCache','TOO_MANY_REQUESTS','FromArray','USER_NOT_INVITED_CODE','_selfUnitIDs','idSuffix','popstate','CHANGESET_REVISION_CONFILICT','_updateCollabCursors','onPointerLeave$','_docTransformSelectionsService','sheetId','INVITE_CODE_REQUIRED','_color','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getDocRanges','searchParams','registerRenderModule','redoState','text','_transformUndoRedoStack','collab-text-range-','on-line-icon','_instanceService','EMAIL_VERIFY_CODE_MISMATCH','defIds','getOwnPropertySymbols','rgba(255,\x20255,\x20255,\x200.01)','executeCommand','LICENSE_MAX_UNITS_EXCEEDED','collabStatus.syncing','onLocalMutation','green.600','extend','complete','InsertRangeMoveDownCommandId','_drawRectRange','replaceDocRanges','onCommandExecuted','startRow','values','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','black','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','closePath','9hWBwXT','_hover','setShapeProps','body','range','getTypeOfUnitAdded$','flatMap','_startDocCollabCursor','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','hasOwnProperty','_scheduleSaving','getStateCache','pipe','replaceState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onCursorUpdate','Unknown\x20user','forEach','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCurrentUnitForType','getViewport','restore','getRangePointData','type','_disabled','_setupSubUnitSync','triggerDblclick','_cursor','_context','off-line-icon','width','findNodePositionByCharIndex','entries','_refRangeService','font','_docStateChangeManagerService','_themeService','saveOfflineData','transformMutation','startColumn','xlink:href','InsertColCommandId','cursorInfo','_initCommandExecutedListener','collaboration.single-unit.warning','AWAITING','CLOSE_ROOM','event$','UNRECOGNIZED','top','_syncEditingCollabCursorService','reconnect','generateRandomId','makeDirty','has','getRenderById','transform','getOwnPropertyDescriptor','_injector','defineProperty','...','_document','_cursorInfo$','_sheetSkeletonManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','indexOf','yellow.400','_transformService','_hideTimer','_unitStatus','APPLY_DUPLICATED','subunit','_entities','_httpService','saveTaskMap','getSheetBySheetId','unit','YUUMI_RATE_OVER_LIMIT','http://www.w3.org/2000/svg','0\x200\x2017\x2016','currentSkeleton$','resize','_collaborationUIEventService','name','transformIMECache','_scene','transformMutationsWithChangeset','push','purple.300','_status$','EMAIL_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','propertyIsEnumerable','_lastPointer','APPLY_REVISION_CONFILICT','storage','unshift','updateOfflineData','_transformHistoryAndStateStack','980343GoQSbo','error','COMPLETION_FINISHED','_drawAnchor','setTimeout','_getSessionTicket','addEventListener','0\x200\x2016\x2016','undoState','unitID','defs','1em','height','find','4402115iAepkC','onRendered','SOCKET_FAILED_RETRY','dispose$','SNAPSHOT_INVALID_SNAPSHOT','_textBubble','clipPath','_docTransformStateCacheService','SYNCED','url(#on-line-icon_clip0_910_349)','collabStatus.conflict','evenodd','_initResize','add','origin','icon','_getScale','[CollaborationDataLoaderController]','_dataLoaderService'];_0x1a74=function(){return _0x4f9f40;};return _0x1a74();}import{MemberService as _0x4eb884,SessionStatus as _0x30c0f3,CollaborationSessionService as _0x2f1c26,CollaborationStatus as _0x4de448,CollaborationController as _0x5b7241,ILocalCacheService as _0x578f85,CollaborationUIEventService as _0x28c0a5,CollaborationUIEventId as _0x17fd1e,DataLoaderService as _0x2588b6,DocCollaborationEntity as _0x30b9b9,getLocalCacheKey as _0x227947,LOCAL_CACHE_INTERVAL as _0x37a5df,LOCAL_CACHE_INTERVAL_KEY as _0xb3edeb,UniverCollaborationClientPlugin as _0x4441c3,CollaborationSocketService as _0xdac877,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3d317c,DEFAULT_WS_SESSION_TICKET_URL as _0x1ff494,UnitStatus as _0x32e1b8,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x43514,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1a9fc1}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x9a5c56,Disposable as _0x1c3a44,DOC_RANGE_TYPE as _0x5889dc,Inject as _0x59cccc,Injector as _0x352cac,IUniverInstanceService as _0x261934,ICommandService as _0x44cdb6,debounce as _0x124c3e,Rectangle as _0xe97544,DisposableCollection as _0x40c46f,toDisposable as _0x4d8874,UniverInstanceType as _0x52e3e5,Tools as _0x4b4ba9,COLORS as _0x5d2a0d,ColorKit as _0x521739,ThemeService as _0x345fc1,fromEventSubject as _0x3789cd,LocaleService as _0x5364b3,createIdentifier as _0x1e01e8,ILogService as _0x5de542,Optional as _0x6913ea,Workbook as _0x5da6ea,CommandType as _0x56d49f,IConfigService as _0x47db95,ILocalStorageService as _0x27b18,DependentOn as _0x5a1eb2,Plugin as _0xa59201,merge as _0x428b84,registerDependencies as _0x5a706b,mergeOverrideWithDependencies as _0x5a3701,touchDependencies as _0x4d0967,generateRandomId as _0x3e423d}from'@univerjs/core';import{Shape as _0x18f209,Rect as _0x5d1c55,getColor as _0x37a7df,RegularPolygon as _0x3c3a59,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5cc6c1,Vector2 as _0x421f12,SHEET_VIEWPORT_KEY as _0x2866a0,IRenderManagerService as _0x50bde7}from'@univerjs/engine-render';import{ISocketService as _0x1a11de,WebSocketService as _0x2565ee,HTTPService as _0x36f74a}from'@univerjs/network';import{IDocClipboardService as _0x438b45,NodePositionConvertToCursor as _0x227981,NodePositionConvertToRectRange as _0x50b93f,TEXT_RANGE_LAYER_INDEX as _0x4593c,SetDocZoomRatioOperation as _0x37e01c,DocIMEInputManagerService as _0x5d2261,DocStateChangeManagerService as _0x11784e}from'@univerjs/docs-ui';import{IImageIoService as _0x4200a7}from'@univerjs/drawing';import{BehaviorSubject as _0x429bcf,debounceTime as _0x2a518c,takeUntil as _0x261b2e,Subject as _0x6c2d05,filter as _0x55b94a,switchMap as _0x99a4d5,merge as _0x27eff9,combineLatest as _0x528ae7,of as _0x103715,fromEvent as _0x3f6d7a,shareReplay as _0x2abf7b,mapTo as _0x24ee20,distinctUntilChanged as _0x34e89d}from'rxjs';import{ITransformService as _0x17392d,CollaborationEvent as _0x450a52,isTransformMutationFailure as _0x2b7e9d,isTransformMutationsWithChangesetSuccess as _0x456329,RevisionService as _0x2f1af2,ISnapshotServerService as _0x90fd4c}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3bca87,RichTextEditingMutation as _0x36a77b,DocSelectionManagerService as _0x5c61d8,DocSkeletonManagerService as _0x5de454}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x31d6a9,serializeRangeWithSheet as _0xd417eb}from'@univerjs/engine-formula';import{RefRangeService as _0x53a72b,SetSelectionsOperation as _0x4aea2b,SheetsSelectionsService as _0x13fa00,EffectRefRangId as _0x11daa7,handleIRemoveRow as _0x572ff3,handleIRemoveCol as _0x591c61,handleMoveRange as _0xd0c377,handleInsertRow as _0x1cd1ac,handleInsertRangeMoveRight as _0xe053d,handleInsertRangeMoveDown as _0x163f4c,handleInsertCol as _0x2bc87b,handleDeleteRangeMoveUp as _0x5d674d,handleDeleteRangeMoveLeft as _0x2ebbc1,runRefRangeMutations as _0x17a067,SetWorksheetActivateCommand as _0xe922f0}from'@univerjs/sheets';import{map as _0x533962,filter as _0x8d6795,throttleTime as _0x17cf87,takeUntil as _0x2f0b60,switchMap as _0x3c013c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2a26d3,getCoordByCell as _0x14b95d,getSheetObject as _0x2bc514}from'@univerjs/sheets-ui';import{jsx as _0x4e4a13,jsxs as _0x348a57}from'react/jsx-runtime';import{useObservable as _0x36d065,useDependency as _0x16b329,IUIPartsService as _0xc6ecce,BuiltInUIPart as _0x1cb6c7,connectInjector as _0x9be80d,IBeforeCloseService as _0xcf8d2a,IMessageService as _0x31756d,INotificationService as _0x3bc4f0}from'@univerjs/ui';import{Tooltip as _0x1be8b8,clsx as _0x527e74,MessageType as _0x451ee9}from'@univerjs/design';import{forwardRef as _0x1aac4e,useRef as _0x1ee00a,createElement as _0x357080,useCallback as _0x434b10}from'react';import{IRemoteInstanceService as _0x1566a8}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x371515,_0x31fd80,_0x5816b5,_0x380f9a)=>{const _0x379c28=_0x4a15b3;for(var _0x14e184=_0x380f9a>0x1?void 0x0:_0x380f9a?ci(_0x31fd80,_0x5816b5):_0x31fd80,_0x3ea2eb=_0x371515[_0x379c28(0x25c)]-0x1,_0x54d349;_0x3ea2eb>=0x0;_0x3ea2eb--)(_0x54d349=_0x371515[_0x3ea2eb])&&(_0x14e184=_0x54d349(_0x14e184)||_0x14e184);return _0x14e184;},Je=(_0x440929,_0x4e4a64)=>(_0x4fc829,_0x5b4488)=>_0x4e4a64(_0x4fc829,_0x5b4488,_0x440929);let Ne=class extends _0x9a5c56{constructor(_0xbabc28,_0x300582){const _0x4a6a73=_0x4a15b3;super(),this[_0x4a6a73(0x268)]=_0xbabc28,this[_0x4a6a73(0x1e0)]=_0x300582,this[_0x4a6a73(0x22b)]();}[_0x4a15b3(0x22b)](){const _0x22625f=_0x4a15b3,_0x339c97=this;this[_0x22625f(0x275)](this[_0x22625f(0x268)][_0x22625f(0x1e1)]({'onBeforePasteImage':async _0x28849b=>{const _0x386cfb=_0x22625f,_0x246448=await _0x339c97[_0x386cfb(0x1e0)][_0x386cfb(0x23e)](_0x28849b);return _0x246448?{'source':_0x246448[_0x386cfb(0xdc)],'imageSourceType':_0x246448['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x438b45),Je(0x1,_0x4200a7)],Ne);const Ze=[_0x4a15b3(0x180),'jiqing.500',_0x4a15b3(0x11b),_0x4a15b3(0x252),_0x4a15b3(0x213),_0x4a15b3(0x16a)];class ke extends _0x1c3a44{constructor(){const _0x2bfce5=_0x4a15b3;super(...arguments),_(this,_0x2bfce5(0x21b),new Map()),_(this,_0x2bfce5(0xe7),0x0);}[_0x4a15b3(0x1fa)](_0x5e2f7e){const _0x464bb4=_0x4a15b3;if(this[_0x464bb4(0x21b)][_0x464bb4(0x15e)](_0x5e2f7e))return this[_0x464bb4(0x21b)][_0x464bb4(0xf5)](_0x5e2f7e);const _0xd94695=Ze[this[_0x464bb4(0xe7)]];return this[_0x464bb4(0xe7)]=(this[_0x464bb4(0xe7)]+0x1)%Ze[_0x464bb4(0x25c)],this[_0x464bb4(0x21b)]['set'](_0x5e2f7e,_0xd94695),_0xd94695;}}function Tt(_0x586a7a){const _0x1288a5=_0x4a15b3;let _0x519cee='';for(const _0x1ad6f7 of _0x586a7a){const {startOffset:_0x9bbb1,endOffset:_0x362f44,isActive:_0x2be860,rangeType:_0x61e98e,segmentId:_0x51dda4,segmentPage:_0x3e76dd}=_0x1ad6f7;_0x519cee[_0x1288a5(0x25c)]&&(_0x519cee+=','),_0x519cee+=_0x9bbb1+':'+_0x362f44+':'+(_0x2be860?'1':'0')+':'+_0x61e98e+':'+_0x51dda4+':'+_0x3e76dd;}return _0x519cee;}function _i(_0x53f0e2){const _0x3d06a9=_0x4a15b3,_0x311a57=_0x53f0e2[_0x3d06a9(0x1f5)](','),_0x54d4f0=[];for(const _0x503821 of _0x311a57){const [_0x3372a5,_0xaaa319,_0x3a6784,_0x3c5752,_0x13a44a,_0x33990d]=_0x503821[_0x3d06a9(0x1f5)](':');_0x54d4f0[_0x3d06a9(0x17f)]({'startOffset':Number(_0x3372a5),'endOffset':Number(_0xaaa319),'collapsed':_0x3372a5===_0xaaa319,'isActive':_0x3a6784==='1','rangeType':_0x3c5752===_0x5889dc['TEXT']?_0x5889dc[_0x3d06a9(0x27f)]:_0x5889dc['RECT'],'segmentId':typeof _0x13a44a==_0x3d06a9(0x1b1)?String(_0x13a44a):'','segmentPage':Number(_0x33990d!=null?_0x33990d:-0x1)});}return _0x54d4f0['some'](_0x551c96=>_0x551c96[_0x3d06a9(0x2be)])||(_0x54d4f0[0x0]['isActive']=!0x0),_0x54d4f0;}class He extends _0x9a5c56{constructor(){const _0x44f9c7=_0x4a15b3;super(...arguments),_(this,_0x44f9c7(0x29f),new _0x429bcf(null)),_(this,'collabCursorState$',this[_0x44f9c7(0x29f)][_0x44f9c7(0x26d)]());}['syncEditingCollabCursor'](_0x4ed2e9){const _0x4d6012=_0x4a15b3,{unitID:_0x31b1ad,memberID:_0x22f54d,textRanges:_0x3b2c16}=_0x4ed2e9,_0x46d384=Tt(_0x3b2c16);if(_0x46d384==='')return;const _0x269419={'unitID':_0x31b1ad,'memberID':_0x22f54d,'selection':_0x46d384};this['_collabCursorState$'][_0x4d6012(0xf6)](_0x269419);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x2123ef,_0x26d7e9,_0x288f61,_0x53578d)=>{for(var _0x309e2a=_0x53578d>0x1?void 0x0:_0x53578d?hi(_0x26d7e9,_0x288f61):_0x26d7e9,_0x5bb939=_0x2123ef['length']-0x1,_0x59c817;_0x5bb939>=0x0;_0x5bb939--)(_0x59c817=_0x2123ef[_0x5bb939])&&(_0x309e2a=_0x59c817(_0x309e2a)||_0x309e2a);return _0x309e2a;},P=(_0x1bebc2,_0x392b00)=>(_0x79d04d,_0x258260)=>_0x392b00(_0x79d04d,_0x258260,_0x1bebc2);const di=0x12c,fi=0x64;let Ue=class extends _0x9a5c56{constructor(_0x5a0ee6,_0x98b144,_0x21e65a,_0x49eb51,_0x2de2a5,_0x5f020c,_0x56251a,_0x3a4bdd,_0x5541ad){const _0x11f643=_0x4a15b3;super(),_(this,_0x11f643(0x2c0),!0x1),_(this,'_init',!0x1),_(this,_0x11f643(0x166),new _0x429bcf(new Map())),_(this,'cursorInfo$',this[_0x11f643(0x166)][_0x11f643(0x26d)]()),_(this,_0x11f643(0x276),new _0x429bcf([])),_(this,'roomMembers$',this[_0x11f643(0x276)][_0x11f643(0x134)](_0x2a518c(di))),_(this,_0x11f643(0xd9),_0x124c3e(_0x581851=>{const _0x3d4031=_0x11f643,_0x3f3318={'eventID':_0x450a52[_0x3d4031(0xf7)],'data':{'unitID':this[_0x3d4031(0x194)],'memberID':this[_0x3d4031(0x1da)][_0x3d4031(0xf4)](),'selection':Tt(_0x581851)}};this[_0x3d4031(0x1da)][_0x3d4031(0x234)](_0x3f3318,this[_0x3d4031(0x194)]);},fi)),(this[_0x11f643(0x194)]=_0x5a0ee6,this[_0x11f643(0x1da)]=_0x98b144,this['_injector']=_0x21e65a,this[_0x11f643(0x233)]=_0x49eb51,this[_0x11f643(0x24e)]=_0x2de2a5,this[_0x11f643(0x15a)]=_0x5f020c,this[_0x11f643(0x16b)]=_0x56251a,this[_0x11f643(0x216)]=_0x3a4bdd,this[_0x11f643(0xea)]=_0x5541ad);}get[_0x4a15b3(0x152)](){const _0x35b8db=_0x4a15b3;return this[_0x35b8db(0x166)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x4a15b3(0xd4)](){const _0x4ce602=_0x4a15b3;super[_0x4ce602(0xd4)](),this[_0x4ce602(0x166)][_0x4ce602(0xf6)](new Map()),this[_0x4ce602(0x166)]['complete'](),this[_0x4ce602(0x276)]['next']([]),this['_roomMembers$']['complete']();}[_0x4a15b3(0x27c)](){const _0x16f667=_0x4a15b3;this[_0x16f667(0x22b)]||(this[_0x16f667(0x22b)]=!0x0,this[_0x16f667(0x1da)]['sessionStatus$'][_0x16f667(0x134)](_0x261b2e(this['dispose$']))[_0x16f667(0x226)](_0x3a3eba=>{const _0x5946d7=_0x16f667;_0x3a3eba===_0x30c0f3['ONLINE']?this[_0x5946d7(0xe1)]():this[_0x5946d7(0x1ec)]();}),this[_0x16f667(0x1da)][_0x16f667(0x157)][_0x16f667(0x134)](_0x261b2e(this[_0x16f667(0x19c)]))[_0x16f667(0x226)](_0x1876bc=>{const _0x297a16=_0x16f667,_0x8eb965=_0x1876bc['eventID'];_0x8eb965===_0x450a52[_0x297a16(0xf7)]&&this[_0x297a16(0x137)](_0x1876bc),_0x8eb965===_0x450a52[_0x297a16(0xdd)]&&this[_0x297a16(0x24f)](_0x1876bc);}),this[_0x16f667(0x275)](this['_commandService'][_0x16f667(0x121)](_0x164e2e=>{const _0x335b36=_0x16f667,_0x27339d=_0x164e2e['params'];_0x27339d!=null&&this[_0x335b36(0x2c0)]&&_0x164e2e['id']===_0x3bca87['id']&&_0x27339d[_0x335b36(0x20c)]===this['unitID']&&_0x27339d[_0x335b36(0xf0)]===!0x1&&_0x27339d[_0x335b36(0x265)]['length']>0x0&&this[_0x335b36(0xd9)](_0x27339d['ranges']);})),this[_0x16f667(0x15a)][_0x16f667(0x2b7)][_0x16f667(0x134)](_0x261b2e(this[_0x16f667(0x19c)]))[_0x16f667(0x226)](_0x17424d=>{const _0x2725b7=_0x16f667;if((_0x17424d==null?void 0x0:_0x17424d[_0x2725b7(0x194)])!==this[_0x2725b7(0x194)])return;const _0x172b89={'eventID':_0x450a52[_0x2725b7(0xf7)],'data':_0x17424d};this[_0x2725b7(0x137)](_0x172b89);}),this[_0x16f667(0x275)](this[_0x16f667(0xea)][_0x16f667(0x121)](_0x3b5982=>{const _0x1e4eb4=_0x16f667;if(_0x3b5982[_0x1e4eb4(0x23d)]==null)return;const _0x46b943=_0x3b5982['params'];if(_0x3b5982['id']!==_0x36a77b['id']||_0x46b943['unitId']!==this[_0x1e4eb4(0x194)])return;const _0x6840c6={'id':_0x1e4eb4(0x278),'params':_0x46b943},_0x1e3f5b=this[_0x1e4eb4(0x152)];for(const [_0x403edf,_0x3cc03b]of _0x1e3f5b){const _0x21a718={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3cc03b['ranges']}},_0x5ac3c1=this[_0x1e4eb4(0x16b)][_0x1e4eb4(0x14e)](_0x6840c6,_0x21a718,!0x1);if(_0x2b7e9d(_0x5ac3c1))throw _0x5ac3c1[_0x1e4eb4(0x18c)];_0x1e3f5b['set'](_0x403edf,{..._0x3cc03b,'ranges':_0x5ac3c1['m2Prime'][_0x1e4eb4(0x23d)][_0x1e4eb4(0x20f)]});}queueMicrotask(()=>{const _0x2a0873=_0x1e4eb4;this['_cursorInfo$'][_0x2a0873(0xf6)](_0x1e3f5b);});})));}[_0x4a15b3(0x137)](_0x5485a7){const _0x31b0d1=_0x4a15b3;var _0x3aff83,_0x415b8f;const {memberID:_0x33812e,selection:_0x536fc8}=_0x5485a7[_0x31b0d1(0x1b7)],_0x164a29=_i(_0x536fc8),_0x48c4a1=(_0x415b8f=(_0x3aff83=this[_0x31b0d1(0x24e)][_0x31b0d1(0x1d4)](this[_0x31b0d1(0x194)],_0x33812e))==null?void 0x0:_0x3aff83[_0x31b0d1(0x17b)])!=null?_0x415b8f:_0x31b0d1(0x138),_0x3eeb0f={'color':this['_colorAssignService'][_0x31b0d1(0x1fa)](_0x33812e),'name':_0x48c4a1,'ranges':_0x164a29},_0x49bdbe=this['cursorInfo'];_0x49bdbe[_0x31b0d1(0xcc)](_0x33812e,_0x3eeb0f),this[_0x31b0d1(0x166)][_0x31b0d1(0xf6)](_0x49bdbe);}[_0x4a15b3(0x24f)](_0xb92326){const _0x5b9390=_0x4a15b3,{memberID:_0x3a0455}=_0xb92326['data'],_0xa0245d=this['cursorInfo'];_0xa0245d[_0x5b9390(0x2ab)](_0x3a0455),this[_0x5b9390(0x166)][_0x5b9390(0xf6)](_0xa0245d);}[_0x4a15b3(0xe1)](){const _0x15de00=_0x4a15b3;var _0x100fa9;if(this['_online']=!0x0,((_0x100fa9=this[_0x15de00(0x216)][_0x15de00(0x2bd)]())==null?void 0x0:_0x100fa9[_0x15de00(0xc7)]())!==this[_0x15de00(0x194)])return;const _0x106c9e=this['_injector'][_0x15de00(0xf5)](_0x5c61d8)[_0x15de00(0x10a)]();Array[_0x15de00(0x212)](_0x106c9e)&&_0x106c9e[_0x15de00(0x25c)]>0x0&&this[_0x15de00(0xd9)](_0x106c9e);}[_0x4a15b3(0x1ec)](){const _0x5dba73=_0x4a15b3;this[_0x5dba73(0x2c0)]=!0x1;}};Ue=ui([P(0x2,_0x59cccc(_0x352cac)),P(0x3,_0x59cccc(ke)),P(0x4,_0x59cccc(_0x4eb884)),P(0x5,_0x59cccc(He)),P(0x6,_0x17392d),P(0x7,_0x261934),P(0x8,_0x44cdb6)],Ue);var Si=Object[_0x4a15b3(0x161)],mi=(_0x22e0f8,_0x1f7ae7,_0x4a32c9,_0x4ba1c1)=>{for(var _0x2af4bf=_0x4ba1c1>0x1?void 0x0:_0x4ba1c1?Si(_0x1f7ae7,_0x4a32c9):_0x1f7ae7,_0x4f8915=_0x22e0f8['length']-0x1,_0x4ea1a4;_0x4f8915>=0x0;_0x4f8915--)(_0x4ea1a4=_0x22e0f8[_0x4f8915])&&(_0x2af4bf=_0x4ea1a4(_0x2af4bf)||_0x2af4bf);return _0x2af4bf;},x=(_0x21e60b,_0x3f8642)=>(_0x1789d3,_0x5d0b44)=>_0x3f8642(_0x1789d3,_0x5d0b44,_0x21e60b);const Ii=0x12c,gi=0x64,vi=()=>{let _0x1ec0b0=[],_0x482352=!0x1;return _0x40c25b=>{const _0x1524fa=_0x55c0;_0x1ec0b0[_0x1524fa(0x17f)](_0x40c25b),_0x482352||(_0x482352=!0x0,setTimeout(()=>{const _0x204e43=_0x1524fa;_0x1ec0b0[_0x204e43(0x139)](_0x535115=>_0x535115()),_0x1ec0b0=[],_0x482352=!0x1;}));};};let Me=class extends _0x9a5c56{constructor(_0x3b1de8,_0x3cc61b,_0x5c65f9,_0xd44932,_0xe27a59,_0x3e90b4,_0x10d29f,_0x54e29d){const _0x594dc6=_0x4a15b3;super(),_(this,_0x594dc6(0x2c0),!0x1),_(this,_0x594dc6(0x22b),!0x1),_(this,_0x594dc6(0x166),new _0x429bcf(new Map())),_(this,_0x594dc6(0x2ac),this[_0x594dc6(0x166)]['asObservable']()),_(this,_0x594dc6(0x276),new _0x429bcf([])),_(this,_0x594dc6(0x248),this['_roomMembers$'][_0x594dc6(0x134)](_0x2a518c(Ii))),_(this,_0x594dc6(0xd9),_0x124c3e((_0x27c37e,_0x51bf3)=>{const _0x156260=_0x594dc6,_0x99b837={'eventID':_0x450a52[_0x156260(0xf7)],'data':{'unitID':this[_0x156260(0x194)],'memberID':this[_0x156260(0x1da)][_0x156260(0xf4)](),'selection':_0xd417eb(_0x27c37e,_0x51bf3[_0x156260(0x12c)])}};this['_session'][_0x156260(0x234)](_0x99b837,this[_0x156260(0x194)]);},gi)),(this['unitID']=_0x3b1de8,this[_0x594dc6(0x1da)]=_0x3cc61b,this[_0x594dc6(0x162)]=_0x5c65f9,this['_colorAssignService']=_0xd44932,this['_memberService']=_0xe27a59,this['_univerInstanceService']=_0x3e90b4,this[_0x594dc6(0xea)]=_0x10d29f,this[_0x594dc6(0x149)]=_0x54e29d);}get[_0x4a15b3(0x152)](){const _0x3d8da1=_0x4a15b3;return this[_0x3d8da1(0x166)][_0x3d8da1(0x21f)]();}get[_0x4a15b3(0x29e)](){const _0x4124e3=_0x4a15b3;return this[_0x4124e3(0x276)][_0x4124e3(0x21f)]();}['dispose'](){const _0xbfdd41=_0x4a15b3;super[_0xbfdd41(0xd4)](),this[_0xbfdd41(0x166)][_0xbfdd41(0xf6)](new Map()),this['_cursorInfo$']['complete'](),this[_0xbfdd41(0x276)][_0xbfdd41(0xf6)]([]),this[_0xbfdd41(0x276)][_0xbfdd41(0x11d)]();}[_0x4a15b3(0x27c)](){const _0x1694b5=_0x4a15b3;this[_0x1694b5(0x22b)]||(this[_0x1694b5(0x22b)]=!0x0,this[_0x1694b5(0x1da)]['sessionStatus$'][_0x1694b5(0x134)](_0x261b2e(this[_0x1694b5(0x19c)]))[_0x1694b5(0x226)](_0x5c5e54=>{const _0x39fde4=_0x1694b5;_0x5c5e54===_0x30c0f3[_0x39fde4(0x214)]?this[_0x39fde4(0xe1)]():this[_0x39fde4(0x1ec)]();}),this[_0x1694b5(0x1da)][_0x1694b5(0x157)][_0x1694b5(0x134)](_0x261b2e(this[_0x1694b5(0x19c)]))['subscribe'](_0x486779=>{const _0x30edc5=_0x1694b5,_0x35373c=_0x486779['eventID'];_0x35373c===_0x450a52[_0x30edc5(0xf7)]&&this[_0x30edc5(0x137)](_0x486779),_0x35373c===_0x450a52[_0x30edc5(0xdd)]&&this['_onCursorDelete'](_0x486779);}),this[_0x1694b5(0x2a5)](),this[_0x1694b5(0x275)](this[_0x1694b5(0xea)][_0x1694b5(0x121)](_0x144cad=>{const _0x101961=_0x1694b5;if(this[_0x101961(0x2c0)]&&_0x144cad['id']===_0x4aea2b['id']&&_0x144cad[_0x101961(0x23d)][_0x101961(0x20c)]===this[_0x101961(0x194)]){const _0x50de4=_0x144cad['params'];this[_0x101961(0xd9)](_0x50de4[_0x101961(0x1fc)],_0x50de4['selections'][0x0]);}})));}[_0x4a15b3(0x137)](_0x28d664){const _0x542133=_0x4a15b3;var _0x5732d5,_0xc92526;const {memberID:_0x4bbde1,selection:_0x5eacef}=_0x28d664[_0x542133(0x1b7)],{sheetName:_0x295517,range:_0x1417ca}=_0x31d6a9(_0x5eacef),_0x19040a={'name':(_0xc92526=(_0x5732d5=this[_0x542133(0x24e)]['getMember'](this[_0x542133(0x194)],_0x4bbde1))==null?void 0x0:_0x5732d5['name'])!=null?_0xc92526:_0x542133(0x138),'range':this[_0x542133(0xd2)](_0x295517,_0x1417ca),'sheetID':_0x295517,'color':this[_0x542133(0x233)][_0x542133(0x1fa)](_0x4bbde1),'selection':_0x5eacef},_0x182613=this[_0x542133(0x152)];_0x182613[_0x542133(0xcc)](_0x4bbde1,_0x19040a),this[_0x542133(0x166)][_0x542133(0xf6)](_0x182613);}['_onCursorDelete'](_0x307dc8){const _0x447a09=_0x4a15b3,{memberID:_0x111ed4}=_0x307dc8[_0x447a09(0x1b7)],_0x28e991=this['cursorInfo'];_0x28e991[_0x447a09(0x2ab)](_0x111ed4),this['_cursorInfo$'][_0x447a09(0xf6)](_0x28e991);}[_0x4a15b3(0xd2)](_0x110ffb,_0x1fad18){const _0x4a9917=_0x4a15b3;var _0x24d63d,_0x7296c0;const _0xbe059c=(_0x7296c0=(_0x24d63d=this[_0x4a9917(0x216)][_0x4a9917(0x24a)](this[_0x4a9917(0x194)]))==null?void 0x0:_0x24d63d[_0x4a9917(0x173)](_0x110ffb))==null?void 0x0:_0x7296c0[_0x4a9917(0xe8)]();return(_0xbe059c==null?void 0x0:_0xbe059c[_0x4a9917(0x198)](_0x43beac=>_0xe97544['contains'](_0x43beac,_0x1fad18)))||_0x1fad18;}[_0x4a15b3(0x2a5)](){const _0xcd081d=_0x4a15b3,_0x2db6c4=new _0x40c46f(),_0x21d956=vi(),_0x10a140=()=>{const _0x257db0=_0x55c0;_0x2db6c4[_0x257db0(0xd4)]();const _0x48f594=(_0x2c25f2,_0x4959f9,_0x1f092d,_0x32bc90)=>{const _0x4bd43d=_0x257db0;let _0x2ae685=[];switch(_0x2c25f2['id']){case _0x11daa7['DeleteRangeMoveLeftCommandId']:{_0x2ae685=_0x2ebbc1(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x1f7)]:{_0x2ae685=_0x5d674d(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x151)]:{_0x2ae685=_0x2bc87b(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x11e)]:{_0x2ae685=_0x163f4c(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['InsertRangeMoveRightCommandId']:{_0x2ae685=_0xe053d(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['InsertRowCommandId']:{_0x2ae685=_0x1cd1ac(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['MoveRangeCommandId']:{_0x2ae685=_0xd0c377(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x261)]:{_0x2ae685=_0x591c61(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['RemoveRowCommandId']:{_0x2ae685=_0x572ff3(_0x2c25f2,_0x32bc90);break;}}const _0x3ecf5f=_0x17a067(_0x2ae685,_0x32bc90),_0x3c0ef1=this['cursorInfo']['get'](_0x4959f9);if(_0x3c0ef1&&_0x3ecf5f){const _0x1b9762={..._0x3c0ef1,'range':_0x3ecf5f};this[_0x4bd43d(0x152)][_0x4bd43d(0xcc)](_0x4959f9,_0x1b9762),_0x21d956(()=>{const _0x2fd71e=_0x4bd43d,_0x4e7655=this[_0x2fd71e(0x149)][_0x2fd71e(0xdf)](_0x3ecf5f,_0x4d495c=>(_0x4e7655['dispose'](),_0x48f594(_0x4d495c,_0x4959f9,_0x1f092d,_0x3ecf5f)));_0x2db6c4[_0x2fd71e(0x1a6)](_0x4e7655);});}return{'redos':[],'undos':[]};};this[_0x257db0(0x152)][_0x257db0(0x139)]((_0x23b19e,_0x3921ce)=>{const _0x75e7e0=_0x257db0,{range:_0x493ca8,sheetID:_0x1d9f89}=_0x23b19e,_0x2c2cd6=this[_0x75e7e0(0x149)][_0x75e7e0(0xdf)](_0x493ca8,_0x2a679b=>(_0x2c2cd6[_0x75e7e0(0xd4)](),_0x48f594(_0x2a679b,_0x3921ce,_0x1d9f89,_0x493ca8)));_0x2db6c4[_0x75e7e0(0x1a6)](_0x2c2cd6);});};this[_0xcd081d(0x275)](_0x4d8874(this[_0xcd081d(0x166)][_0xcd081d(0x226)](()=>{_0x10a140();})));}[_0x4a15b3(0xe1)](){const _0x304dd0=_0x4a15b3;var _0x23fcfb,_0x1e32fe;if(this['_online']=!0x0,((_0x23fcfb=this[_0x304dd0(0x216)][_0x304dd0(0x2bd)]())==null?void 0x0:_0x23fcfb[_0x304dd0(0xc7)]())!==this[_0x304dd0(0x194)])return;const _0x68fae4=(_0x1e32fe=this[_0x304dd0(0x162)][_0x304dd0(0xf5)](_0x13fa00)['getCurrentSelections']())==null?void 0x0:_0x1e32fe[0x0],_0x3d224c=this[_0x304dd0(0x216)][_0x304dd0(0x13b)](_0x52e3e5[_0x304dd0(0x23f)])[_0x304dd0(0x25d)]();_0x68fae4&&_0x3d224c&&this[_0x304dd0(0xd9)](_0x3d224c[_0x304dd0(0x1c0)](),_0x68fae4);}[_0x4a15b3(0x1ec)](){const _0x44300b=_0x4a15b3;this[_0x44300b(0x2c0)]=!0x1;}};Me=mi([x(0x2,_0x59cccc(_0x352cac)),x(0x3,_0x59cccc(ke)),x(0x4,_0x59cccc(_0x4eb884)),x(0x5,_0x261934),x(0x6,_0x44cdb6),x(0x7,_0x59cccc(_0x53a72b))],Me);var pi=Object[_0x4a15b3(0x161)],Ci=(_0x1a3628,_0x3c3134,_0x2a97f8,_0x291f95)=>{const _0x2f010b=_0x4a15b3;for(var _0x2e12a2=_0x291f95>0x1?void 0x0:_0x291f95?pi(_0x3c3134,_0x2a97f8):_0x3c3134,_0x4b68bd=_0x1a3628[_0x2f010b(0x25c)]-0x1,_0x264ed6;_0x4b68bd>=0x0;_0x4b68bd--)(_0x264ed6=_0x1a3628[_0x4b68bd])&&(_0x2e12a2=_0x264ed6(_0x2e12a2)||_0x2e12a2);return _0x2e12a2;},Se=(_0x2debc6,_0x2f9f06)=>(_0x3852bd,_0x5e27c7)=>_0x2f9f06(_0x3852bd,_0x5e27c7,_0x2debc6);let H=class extends _0x9a5c56{constructor(_0xcc615,_0x3f6575,_0x25a104){const _0x4e8fb4=_0x4a15b3;super(),_(this,_0x4e8fb4(0x170),new Map()),_(this,_0x4e8fb4(0x1d8),new _0x6c2d05()),(this[_0x4e8fb4(0x216)]=_0xcc615,this[_0x4e8fb4(0x162)]=_0x3f6575,this[_0x4e8fb4(0x258)]=_0x25a104,this['_init']());}['dispose'](){const _0x42dcde=_0x4a15b3;super['dispose'](),this[_0x42dcde(0x1d8)]['complete'](),this[_0x42dcde(0x170)][_0x42dcde(0x139)](_0x1c3428=>_0x1c3428['dispose']());}[_0x4a15b3(0x1b4)](_0x4e8dc5){const _0x47fadf=_0x4a15b3;return this['_entities'][_0x47fadf(0x15e)](_0x4e8dc5)?this['_entities']['get'](_0x4e8dc5)[_0x47fadf(0x2ac)]:this['_entityInit$'][_0x47fadf(0x134)](_0x55b94a(_0x49afb5=>_0x49afb5[_0x47fadf(0x194)]===_0x4e8dc5),_0x99a4d5(_0x32622e=>_0x32622e[_0x47fadf(0x2ac)]));}[_0x4a15b3(0x22b)](){const _0x33adf1=_0x4a15b3;this[_0x33adf1(0x216)]['getTypeOfUnitAdded$'](_0x52e3e5[_0x33adf1(0x23f)])['pipe'](_0x261b2e(this['dispose$']))['subscribe'](async _0x1654e7=>{const _0x22cb10=_0x33adf1,_0x153f01=_0x1654e7['getUnitId'](),_0xf57c81=await this[_0x22cb10(0x223)](_0x153f01);this['_entityInit$'][_0x22cb10(0xf6)](_0xf57c81),this['_entities'][_0x22cb10(0xcc)](_0x153f01,_0xf57c81);}),this[_0x33adf1(0x216)][_0x33adf1(0x12d)](_0x52e3e5['UNIVER_DOC'])[_0x33adf1(0x134)](_0x261b2e(this[_0x33adf1(0x19c)]))[_0x33adf1(0x134)](_0x55b94a(_0x3f5539=>!_0x3f5539[_0x33adf1(0xc7)]()[_0x33adf1(0x2b8)]('__')))['subscribe'](async _0xaba100=>{const _0x3ba772=_0x33adf1,_0x3413a5=_0xaba100['getUnitId'](),_0x588133=await this[_0x3ba772(0x12f)](_0x3413a5);this['_entityInit$'][_0x3ba772(0xf6)](_0x588133),this[_0x3ba772(0x170)]['set'](_0x3413a5,_0x588133);}),_0x27eff9(this['_univerInstanceService'][_0x33adf1(0x1df)](_0x52e3e5['UNIVER_DOC']),this[_0x33adf1(0x216)][_0x33adf1(0x1df)](_0x52e3e5[_0x33adf1(0x23f)]))['pipe'](_0x261b2e(this[_0x33adf1(0x19c)]))[_0x33adf1(0x226)](_0x599880=>{const _0x280a31=_0x33adf1,_0x4741c4=_0x599880[_0x280a31(0xc7)](),_0x381fde=this[_0x280a31(0x170)][_0x280a31(0xf5)](_0x4741c4);_0x381fde&&(_0x381fde[_0x280a31(0xd4)](),this[_0x280a31(0x170)][_0x280a31(0x2ab)](_0x4741c4));});}async[_0x4a15b3(0x223)](_0x3dfd63){const _0x3ce59d=_0x4a15b3,_0x5e050=await this['_collabSessionService'][_0x3ce59d(0x2bf)](_0x3dfd63),_0x4c8174=this[_0x3ce59d(0x162)]['createInstance'](Me,_0x3dfd63,_0x5e050);return _0x4c8174[_0x3ce59d(0x27c)](),_0x4c8174;}async[_0x4a15b3(0x12f)](_0x4f4875){const _0x49d730=_0x4a15b3,_0x44d633=await this[_0x49d730(0x258)][_0x49d730(0x2bf)](_0x4f4875),_0x273c39=this[_0x49d730(0x162)]['createInstance'](Ue,_0x4f4875,_0x44d633);return _0x273c39[_0x49d730(0x27c)](),_0x273c39;}};H=Ci([Se(0x0,_0x261934),Se(0x1,_0x59cccc(_0x352cac)),Se(0x2,_0x59cccc(_0x2f1c26))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x4e93bf,_0x38befe){const _0x3eac58=_0x4a15b3;let {radius:_0x1b4cd9,width:_0xc85c46,height:_0x34e69a}=_0x38befe;_0x1b4cd9=_0x1b4cd9!=null?_0x1b4cd9:0x0,_0xc85c46=_0xc85c46!=null?_0xc85c46:0x1e,_0x34e69a=_0x34e69a!=null?_0x34e69a:0x1e;let _0x221b8e=0x0,_0x4db95e=0x0,_0x152236=0x0;_0x221b8e=_0x4db95e=_0x152236=Math[_0x3eac58(0x29a)](_0x1b4cd9,_0xc85c46/0x2,_0x34e69a/0x2),_0x4e93bf[_0x3eac58(0x23b)](),_0x4e93bf['moveTo'](_0x221b8e,0x0),_0x4e93bf['lineTo'](_0xc85c46-_0x4db95e,0x0),_0x4e93bf['arc'](_0xc85c46-_0x4db95e,_0x4db95e,_0x4db95e,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e93bf[_0x3eac58(0x240)](_0xc85c46,_0x34e69a-_0x152236),_0x4e93bf[_0x3eac58(0x254)](_0xc85c46-_0x152236,_0x34e69a-_0x152236,_0x152236,0x0,Math['PI']/0x2,!0x1),_0x4e93bf[_0x3eac58(0x240)](0x0,_0x34e69a),_0x4e93bf[_0x3eac58(0x240)](0x0,_0x221b8e),_0x4e93bf[_0x3eac58(0x254)](_0x221b8e,_0x221b8e,_0x221b8e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e93bf[_0x3eac58(0x127)](),_0x38befe[_0x3eac58(0x270)]&&(_0x4e93bf[_0x3eac58(0x227)](),_0x4e93bf[_0x3eac58(0xcf)]=_0x38befe[_0x3eac58(0x270)],_0x38befe[_0x3eac58(0x2a7)]===_0x3eac58(0x1a4)?_0x4e93bf['fill'](_0x3eac58(0x1a4)):_0x4e93bf[_0x3eac58(0x270)](),_0x4e93bf[_0x3eac58(0x13d)]());}class he extends _0x18f209{constructor(_0x143c91,_0x51924c){const _0x123553=_0x4a15b3;super(_0x143c91,_0x51924c),_(this,_0x123553(0x297)),_(this,_0x123553(0x10e)),(this['color']=_0x51924c==null?void 0x0:_0x51924c[_0x123553(0x297)],this['text']=_0x51924c==null?void 0x0:_0x51924c[_0x123553(0x10e)]);}static['drawWith'](_0x9babfe,_0x2a6400){const _0x46ec36=_0x4a15b3,{text:_0xf389f0,color:_0xd91d9d}=_0x2a6400;_0x9babfe[_0x46ec36(0x227)](),_0x9babfe[_0x46ec36(0x14a)]=_0x46ec36(0x1f6);const _0x4aba0e=_0x9babfe[_0x46ec36(0x27a)](_0xf389f0)[_0x46ec36(0x146)],_0x4d1908=Math[_0x46ec36(0x29a)](_0x4aba0e+0x2*me,Qe);Oi(_0x9babfe,{'height':ee,'radius':0x4,'width':_0x4d1908,'fill':_0xd91d9d}),_0x9babfe[_0x46ec36(0xcf)]=_0x46ec36(0x2b5);const _0xadbb73=me,_0x21d596=ee-Ei,_0x54c8e6=Qe-0x2*me;if(_0x4aba0e>_0x54c8e6){let _0x2ccbc6='',_0x1ec9ee=0x0;for(const _0x425141 of _0xf389f0){const _0x5a30f9=_0x9babfe[_0x46ec36(0x27a)](_0x425141)['width'];if(_0x1ec9ee+_0x5a30f9<=_0x54c8e6-_0x9babfe[_0x46ec36(0x27a)](_0x46ec36(0x164))[_0x46ec36(0x146)])_0x2ccbc6+=_0x425141,_0x1ec9ee+=_0x5a30f9;else{_0x2ccbc6+=_0x46ec36(0x164);break;}}_0x9babfe[_0x46ec36(0x26b)](_0x2ccbc6,_0xadbb73,_0x21d596);}else _0x9babfe[_0x46ec36(0x26b)](_0xf389f0,_0xadbb73,_0x21d596);_0x9babfe[_0x46ec36(0x13d)]();}[_0x4a15b3(0x251)](_0x495dfc){const _0x300feb=_0x4a15b3;he[_0x300feb(0x1af)](_0x495dfc,this);}}const Ie='collab-text-anchor-',bi=_0x4a15b3(0x110),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4a15b3(0x116);class qe{constructor(_0x26e7f4,_0x51ac01,_0x3cc0a9,_0x105d50){const _0x1be53d=_0x4a15b3;_(this,_0x1be53d(0x1f4),[]),_(this,_0x1be53d(0x242),null),_(this,'_textBubble',null),_(this,_0x1be53d(0x263),null),_(this,_0x1be53d(0x16c),null),_(this,_0x1be53d(0x284),null),(this[_0x1be53d(0x143)]=_0x26e7f4,this[_0x1be53d(0x17d)]=_0x51ac01,this['_docSkeleton']=_0x3cc0a9,this[_0x1be53d(0x165)]=_0x105d50,this[_0x1be53d(0x1d9)]());}set[_0x4a15b3(0x129)](_0x3a00cd){const _0xd4590c=_0x4a15b3;_0x3a00cd?(this[_0xd4590c(0x263)]&&this[_0xd4590c(0x263)][_0xd4590c(0x1b9)](),this['_textBubble']&&this[_0xd4590c(0x19e)][_0xd4590c(0x1bf)]()):(this[_0xd4590c(0x263)]&&this[_0xd4590c(0x263)][_0xd4590c(0x1bf)](),this['_textBubble']&&this[_0xd4590c(0x19e)][_0xd4590c(0x1b9)]());}[_0x4a15b3(0xd4)](){const _0x3cd637=_0x4a15b3;for(const _0x2b0e24 of this['_shapes'])_0x2b0e24[_0x3cd637(0xd4)]();this[_0x3cd637(0x19e)]&&this['_textBubble'][_0x3cd637(0xd4)](),this['_anchorDot']&&this[_0x3cd637(0x263)][_0x3cd637(0xd4)](),this[_0x3cd637(0x242)]&&this[_0x3cd637(0x242)][_0x3cd637(0xd4)](),this['_eventUnsubscribe']&&this[_0x3cd637(0x284)]();}['_render'](){const _0x320d5e=_0x4a15b3;var _0x5cc1ab;const {_docSkeleton:_0xb0f98f,_document:_0x29271f}=this,{color:_0x2d959a,name:_0x4cef74,ranges:_0x2ac90e}=this[_0x320d5e(0x143)],_0x10f217=_0x29271f[_0x320d5e(0x1f9)](),{docsLeft:_0x4ea8bf,docsTop:_0x1eca11}=_0x10f217,_0x1bc5e7=new _0x227981(_0x10f217,_0xb0f98f);for(const {startOffset:_0x55d07d,endOffset:_0x20105e,rangeType:_0x10f8fb,segmentId:_0x51fd79,segmentPage:_0x34ae76,collapsed:_0x3304e9,isActive:_0x1b9e15}of _0x2ac90e){const _0x1442fc=_0xb0f98f['findNodePositionByCharIndex'](_0x55d07d,!0x0,_0x51fd79,_0x34ae76);let _0x5a55b9=_0xb0f98f[_0x320d5e(0x147)](_0x20105e,!0x0,_0x51fd79,_0x34ae76);if(_0x5a55b9==null&&(_0x5a55b9=_0xb0f98f[_0x320d5e(0x147)](_0x20105e-0x1,!0x1,_0x51fd79,_0x34ae76)),_0x1b9e15){const {contentBoxPointGroup:_0x33b827}=_0x1bc5e7['getRangePointData'](_0x5a55b9,_0x5a55b9);if(_0x33b827[_0x320d5e(0x25c)]===0x0)continue;this[_0x320d5e(0x18e)](_0x2d959a,_0x33b827,_0x4ea8bf,_0x1eca11,_0x4cef74),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x1442fc&&_0x5a55b9){if(_0x10f8fb===_0x5889dc[_0x320d5e(0x1c1)]){const _0x5bfc11=new _0x50b93f(_0x10f217,_0xb0f98f),{pointGroup:_0x277ece}=(_0x5cc1ab=_0x5bfc11[_0x320d5e(0x13e)](_0x1442fc,_0x5a55b9))!=null?_0x5cc1ab:{};if(_0x277ece==null||_0x277ece[_0x320d5e(0x25c)]===0x0)continue;this[_0x320d5e(0x11f)](_0x2d959a,_0x277ece,_0x4ea8bf,_0x1eca11);}else{if(!_0x3304e9){const {borderBoxPointGroup:_0x2b8e0c}=_0x1bc5e7[_0x320d5e(0x13e)](_0x1442fc,_0x5a55b9);if(_0x2b8e0c[_0x320d5e(0x25c)]===0x0)continue;this[_0x320d5e(0x1ca)](_0x2d959a,_0x2b8e0c,_0x4ea8bf,_0x1eca11);}}}}}[_0x4a15b3(0x18e)](_0x213f9f,_0x418f9e,_0x535aff,_0x140f5d,_0xe548d0){const _0x4d1fd7=_0x4a15b3,_0x5957ec=this[_0x4d1fd7(0x1c3)](_0x418f9e),{left:_0x5a1801,top:_0x54ed07,height:_0x5f591e}=_0x5957ec,_0xc0e767=this['_getScale'](),_0x301353=Di/_0xc0e767,_0x3e6b13=new _0x5d1c55(Ie+_0x4b4ba9[_0x4d1fd7(0x15c)](X),{'left':_0x5a1801+_0x535aff-_0x301353,'top':_0x54ed07+_0x140f5d,'height':_0x5f591e,'width':Ri,'fill':_0x213f9f||_0x37a7df(_0x5d2a0d[_0x4d1fd7(0x125)],0x0),'strokeWidth':_0x301353,'stroke':Ni,'evented':!0x0});this[_0x4d1fd7(0x242)]=_0x3e6b13,this[_0x4d1fd7(0x17d)]['addObject'](_0x3e6b13,_0x4593c);const _0x2e5f02=new _0x5d1c55(Ie+_0x4b4ba9[_0x4d1fd7(0x15c)](X),{'left':_0x5a1801+_0x535aff-_0x301353,'top':_0x54ed07+_0x140f5d-ge/0x2,'height':ge,'width':ge,'fill':_0x213f9f||_0x37a7df(_0x5d2a0d['black'],0x0),'strokeWidth':0x0,'stroke':_0x213f9f||_0x37a7df(_0x5d2a0d[_0x4d1fd7(0x125)],0x0),'evented':!0x1});this['_anchorDot']=_0x2e5f02,this[_0x4d1fd7(0x17d)][_0x4d1fd7(0x27d)](_0x2e5f02,_0x4593c);const _0x46a574=new he(Ie+_0x4b4ba9[_0x4d1fd7(0x15c)](X),{'left':_0x5a1801+_0x535aff-_0x301353,'top':_0x54ed07+_0x140f5d-ee,'text':_0xe548d0,'color':_0x213f9f});this[_0x4d1fd7(0x19e)]=_0x46a574,this[_0x4d1fd7(0x17d)]['addObject'](_0x46a574,_0x4593c),this['_hover']=!0x1;}[_0x4a15b3(0x1d2)](){const _0x15ad0f=_0x4a15b3,_0x526637=this['_anchor']['onPointerEnter$'][_0x15ad0f(0x241)](()=>{const _0x2ddddc=_0x15ad0f;this[_0x2ddddc(0x129)]=!0x0;}),_0x122620=this[_0x15ad0f(0x242)][_0x15ad0f(0x104)][_0x15ad0f(0x241)](()=>{const _0x4c1994=_0x15ad0f;this[_0x4c1994(0x16c)]&&clearTimeout(this['_hideTimer']),this[_0x4c1994(0x16c)]=setTimeout(()=>{const _0x31720c=_0x4c1994;this[_0x31720c(0x129)]=!0x1;},0x7d0);});return()=>{const _0x269f49=_0x15ad0f;_0x526637[_0x269f49(0x243)](),_0x122620[_0x269f49(0x243)]();};}[_0x4a15b3(0x1ca)](_0x3b87bb,_0xcf92b,_0x179871,_0x2a9117){const _0x44e80b=_0x4a15b3,_0x597d58=new _0x521739(_0x3b87bb)[_0x44e80b(0x1c6)](0.2)[_0x44e80b(0x2a0)](),_0x4d0033=new _0x3c3a59(bi+_0x4b4ba9[_0x44e80b(0x15c)](X),{'pointsGroup':_0xcf92b,'fill':_0x597d58||_0x37a7df(_0x5d2a0d[_0x44e80b(0x125)],0.2),'left':_0x179871,'top':_0x2a9117,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x44e80b(0x1f4)][_0x44e80b(0x17f)](_0x4d0033),this['_scene'][_0x44e80b(0x27d)](_0x4d0033,_0x4593c);}[_0x4a15b3(0x11f)](_0x3af906,_0x3d58f,_0x2c7f13,_0x353888){const _0x2cad1c=_0x4a15b3,_0xfc0111=new _0x521739(_0x3af906)[_0x2cad1c(0x1c6)](0.2)[_0x2cad1c(0x2a0)](),_0x51d586=new _0x3c3a59(Ti+_0x4b4ba9['generateRandomId'](X),{'pointsGroup':_0x3d58f,'fill':_0xfc0111||_0x37a7df(_0x5d2a0d[_0x2cad1c(0x125)],0.2),'left':_0x2c7f13,'top':_0x353888,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cad1c(0x1f4)][_0x2cad1c(0x17f)](_0x51d586),this['_scene']['addObject'](_0x51d586,_0x4593c);}[_0x4a15b3(0x1c3)](_0x57df3f){const _0x3ed9fe=_0x57df3f[0x0],_0x431c56=_0x3ed9fe[0x0],_0xbc745b=_0x3ed9fe[0x2],{x:_0x53e377,y:_0x2c42a9}=_0x431c56,{x:_0x3255a6,y:_0x2c423e}=_0xbc745b;return{'left':_0x53e377,'top':_0x2c42a9,'width':_0x3255a6-_0x53e377,'height':_0x2c423e-_0x2c42a9};}[_0x4a15b3(0x1a9)](){const _0x23108b=_0x4a15b3,{scaleX:_0x2a3063,scaleY:_0x245dc9}=this[_0x23108b(0x17d)][_0x23108b(0x1b6)]();return Math['max'](_0x2a3063,_0x245dc9);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x38a7a3,_0x56f35e,_0x5b241e,_0x3d04d1)=>{for(var _0x32ec84=_0x3d04d1>0x1?void 0x0:_0x3d04d1?Ui(_0x56f35e,_0x5b241e):_0x56f35e,_0x214b1f=_0x38a7a3['length']-0x1,_0x477347;_0x214b1f>=0x0;_0x214b1f--)(_0x477347=_0x38a7a3[_0x214b1f])&&(_0x32ec84=_0x477347(_0x32ec84)||_0x32ec84);return _0x32ec84;},Z=(_0xa87a36,_0x424d0)=>(_0x36636d,_0x111b7a)=>_0x424d0(_0x36636d,_0x111b7a,_0xa87a36);let Le=class extends _0x9a5c56{constructor(_0x474b73,_0x5e47d8,_0x7d00e3,_0x3b470e,_0x1e5843){const _0x302099=_0x4a15b3;super(),_(this,_0x302099(0x280),[]),_(this,_0x302099(0xe4),[]),(this[_0x302099(0x144)]=_0x474b73,this[_0x302099(0xc8)]=_0x5e47d8,this[_0x302099(0x246)]=_0x7d00e3,this['_commandService']=_0x3b470e,this['_themeService']=_0x1e5843,this['_init']());}[_0x4a15b3(0x22b)](){const _0x1cb7d3=_0x4a15b3,_0x1e67b9=this[_0x1cb7d3(0x144)][_0x1cb7d3(0x20c)],_0x41843a=this[_0x1cb7d3(0xc8)];this[_0x1cb7d3(0x275)](_0x528ae7([this[_0x1cb7d3(0x246)][_0x1cb7d3(0x1b4)](_0x1e67b9),this[_0x1cb7d3(0x14c)][_0x1cb7d3(0x22e)]])['pipe'](_0x533962(([_0xa0bee9,_0x50b705])=>({'skeleton':_0x41843a[_0x1cb7d3(0x1bc)](),'cursors':[..._0xa0bee9[_0x1cb7d3(0x123)]()][_0x1cb7d3(0x12e)](_0x1a692a=>({..._0x1a692a,'color':this[_0x1cb7d3(0x14c)][_0x1cb7d3(0x2b0)](_0x1a692a[_0x1cb7d3(0x297)])}))})))[_0x1cb7d3(0x226)](_0x1ec111=>{const _0x4a9449=_0x1cb7d3;if(this[_0x4a9449(0x1f8)](),_0x1ec111){const {skeleton:_0x495422,cursors:_0x17b277}=_0x1ec111;this[_0x4a9449(0x103)](_0x495422,_0x17b277);}})),this[_0x1cb7d3(0x1a5)](),this['_initCommandExecutedListener']();}[_0x4a15b3(0x103)](_0x30d71a,_0x4eb1ec){const _0x42bb2e=_0x4a15b3,{scene:_0x48b450,mainComponent:_0x59d69f}=this[_0x42bb2e(0x144)],_0x573709=_0x4eb1ec[_0x42bb2e(0x269)](_0x1df35c=>new qe(_0x1df35c,_0x48b450,_0x30d71a,_0x59d69f));this['_cursorShapes']=_0x573709,this[_0x42bb2e(0xe4)]=_0x4eb1ec;}[_0x4a15b3(0x232)](){const _0xeac024=_0x4a15b3;this[_0xeac024(0x1f8)]();const {scene:_0x4a4bd8,mainComponent:_0x507e93}=this[_0xeac024(0x144)],_0x567fcc=this[_0xeac024(0xc8)][_0xeac024(0x1bc)](),_0x3c2ef2=this[_0xeac024(0xe4)][_0xeac024(0x269)](_0x59f960=>new qe(_0x59f960,_0x4a4bd8,_0x567fcc,_0x507e93));this[_0xeac024(0x280)]=_0x3c2ef2;}['_removeCollabCursors'](){const _0x447f46=_0x4a15b3;this[_0x447f46(0x280)][_0x447f46(0x139)](_0x45fa49=>_0x45fa49[_0x447f46(0xd4)]()),this[_0x447f46(0x280)]=[];}[_0x4a15b3(0x153)](){const _0xb187b=_0x4a15b3,_0x27bf1c=[_0x37e01c['id']];this[_0xb187b(0x275)](this[_0xb187b(0xea)][_0xb187b(0x121)](_0x15be5f=>{const _0x10697b=_0xb187b;_0x27bf1c[_0x10697b(0x1fe)](_0x15be5f['id'])&&_0x15be5f['params'][_0x10697b(0x20c)]===this[_0x10697b(0x144)][_0x10697b(0x20c)]&&this[_0x10697b(0x232)]();}));}['_initResize'](){const _0xa7d69f=_0x4a15b3;this[_0xa7d69f(0x275)](_0x3789cd(this['_context'][_0xa7d69f(0x2b1)][_0xa7d69f(0x2a6)])['pipe'](_0x8d6795(_0x566113=>_0x566113[_0xa7d69f(0x13f)]===_0x5cc6c1[_0xa7d69f(0x179)]),_0x17cf87(0x10))[_0xa7d69f(0x226)](()=>{const _0x3b7490=_0xa7d69f;this[_0x3b7490(0x232)]();}));}};Le=Mi([Z(0x1,_0x59cccc(_0x5de454)),Z(0x2,_0x59cccc(H)),Z(0x3,_0x44cdb6),Z(0x4,_0x59cccc(_0x345fc1))],Le);const Li=0x1,Pi=1.5;class wi extends _0x18f209{constructor(_0x2e90da,_0x214af4){const _0x315011=_0x4a15b3;super(_0x2e90da,_0x214af4),_(this,_0x315011(0x108)),_(this,_0x315011(0xe2),!0x1),_(this,_0x315011(0x200)),_(this,'_name',''),_(this,_0x315011(0x21d),_0x315011(0x159)),_(this,_0x315011(0x293)),(_0x214af4&&this['setShapeProps'](_0x214af4),this[_0x315011(0x1e8)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x315011(0x104)][_0x315011(0x241)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4a15b3(0x12a)](_0x3a4d4f){const _0x2566ec=_0x4a15b3;var _0x5296e3,_0x3d8f76,_0x385a7e,_0xc13042,_0x1a527d,_0x54d64d;this[_0x2566ec(0x108)]=(_0x5296e3=_0x3a4d4f[_0x2566ec(0x297)])!=null?_0x5296e3:this[_0x2566ec(0x108)],this[_0x2566ec(0xe2)]=(_0x3d8f76=_0x3a4d4f['hovered'])!=null?_0x3d8f76:this[_0x2566ec(0xe2)],this[_0x2566ec(0x200)]=(_0x385a7e=_0x3a4d4f[_0x2566ec(0x12c)])!=null?_0x385a7e:this[_0x2566ec(0x200)],this['_name']=(_0xc13042=_0x3a4d4f[_0x2566ec(0x17b)])!=null?_0xc13042:this[_0x2566ec(0x2ba)],this['_labelPosition']=(_0x1a527d=_0x3a4d4f[_0x2566ec(0x206)])!=null?_0x1a527d:this['_labelPosition'],this[_0x2566ec(0x293)]=(_0x54d64d=_0x3a4d4f[_0x2566ec(0x2af)])!=null?_0x54d64d:this[_0x2566ec(0x293)],this[_0x2566ec(0x1be)]({'width':_0x3a4d4f['width'],'height':_0x3a4d4f[_0x2566ec(0x197)]});}['onMouseMove'](_0xbe7c28){const _0x1504b5=_0x4a15b3,{row:_0x3c3e88,column:_0x216eb0}=_0xbe7c28;if(_0x3c3e88>=this[_0x1504b5(0x200)][_0x1504b5(0x122)]&&_0x3c3e88<=this[_0x1504b5(0x200)]['endRow']&&_0x216eb0>=this[_0x1504b5(0x200)][_0x1504b5(0x14f)]&&_0x216eb0<=this['_range'][_0x1504b5(0x262)]){this[_0x1504b5(0x12a)]({'hovered':!0x0});return;}this[_0x1504b5(0x12a)]({'hovered':!0x1});}[_0x4a15b3(0x142)](_0xfc8709){return!0x1;}['_draw'](_0x59a884){const _0x2e2dbf=_0x4a15b3;_0x5d1c55[_0x2e2dbf(0x1af)](_0x59a884,{'width':this[_0x2e2dbf(0x146)],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2e2dbf(0x293)]}),this[_0x2e2dbf(0xe2)]&&(_0x59a884[_0x2e2dbf(0x227)](),_0x59a884[_0x2e2dbf(0x160)](0x1,0x0,0x0,0x1,this[_0x2e2dbf(0x146)],this['_labelPosition']===_0x2e2dbf(0xd1)?0x0:-0x14),he['drawWith'](_0x59a884,{'text':this[_0x2e2dbf(0x2ba)],'color':this[_0x2e2dbf(0x108)]}),_0x59a884[_0x2e2dbf(0x13d)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x5d5b5f,_0x4e9778,_0x1424e0,_0x4be473)=>{for(var _0x22ce50=_0x4be473>0x1?void 0x0:_0x4be473?Ai(_0x4e9778,_0x1424e0):_0x4e9778,_0x4b82aa=_0x5d5b5f['length']-0x1,_0x512775;_0x4b82aa>=0x0;_0x4b82aa--)(_0x512775=_0x5d5b5f[_0x4b82aa])&&(_0x22ce50=_0x512775(_0x22ce50)||_0x22ce50);return _0x22ce50;},ve=(_0x5d0843,_0x389911)=>(_0x2b4cba,_0x2a9faa)=>_0x389911(_0x2b4cba,_0x2a9faa,_0x5d0843);const $i=0x1389;let Pe=class extends _0x9a5c56{constructor(_0xa680f2,_0x3b4915,_0x2472f2,_0x3712cb){const _0x285da5=_0x4a15b3;super(),_(this,_0x285da5(0xe4),new Set()),_(this,_0x285da5(0x185),null),(this[_0x285da5(0x144)]=_0xa680f2,this[_0x285da5(0x167)]=_0x3b4915,this['_collabCursorController']=_0x2472f2,this[_0x285da5(0x14c)]=_0x3712cb,this[_0x285da5(0x22b)]());}[_0x4a15b3(0x22b)](){const _0x337e80=_0x4a15b3;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x337e80(0x134)](_0x2f0b60(this[_0x337e80(0x19c)]),_0x3c013c(_0x4ac1ba=>{const _0x2f77c9=_0x337e80;if(_0x4ac1ba){const _0x58f77e=_0x4ac1ba[_0x2f77c9(0x106)];return _0x528ae7(this[_0x2f77c9(0x246)][_0x2f77c9(0x1b4)](this[_0x2f77c9(0x144)][_0x2f77c9(0x20c)]),this[_0x2f77c9(0x14c)][_0x2f77c9(0x22e)])['pipe'](_0x533962(([_0x3cc7f7,_0x3cce06])=>{const _0x305cee=_0x2f77c9,_0x5567d1=new Map();return _0x3cc7f7[_0x305cee(0x139)]((_0x2520da,_0x5a4a84)=>{const _0x55990a=_0x305cee;if(_0x2520da['sheetID']===_0x58f77e){const _0x54ebc7={..._0x2520da};_0x54ebc7['color']=this[_0x55990a(0x14c)]['getColorFromTheme'](_0x2520da[_0x55990a(0x297)]),_0x5567d1['set'](_0x5a4a84,_0x54ebc7);}}),{'skeleton':_0x4ac1ba,'cursors':_0x5567d1};}));}return _0x103715({'skeleton':null,'cursors':new Map()});}))[_0x337e80(0x226)](({skeleton:_0x1c8608,cursors:_0x1188cb})=>{const _0x3fedef=_0x337e80;this[_0x3fedef(0x1f8)](),_0x1c8608&&this['_updateCollabCursors'](_0x1c8608,_0x1188cb);}),this['_sheetSkeletonManagerService'][_0x337e80(0x178)][_0x337e80(0x226)](_0xbac190=>{const _0x6a6d14=_0x337e80;if(_0xbac190==null)return;const {skeleton:_0x1715d1}=_0xbac190,{scene:_0xae006b}=this['_context'];_0xae006b[_0x6a6d14(0xca)][_0x6a6d14(0x241)](_0x124c3e(_0x4997ac=>{const _0x2e9de2=_0x6a6d14;var _0x2e92c5,_0x488fdc;const {offsetX:_0x4c25d7,offsetY:_0x551ce0}=_0x4997ac,{x:_0x73759f,y:_0x3bf250}=_0xae006b['getRelativeToViewportCoord'](_0x421f12[_0x2e9de2(0xfd)]([_0x4c25d7,_0x551ce0])),{scaleX:_0x37a92e,scaleY:_0x335339}=_0xae006b['getAncestorScale'](),_0x1a183d=_0xae006b[_0x2e9de2(0x13c)](_0x2866a0['VIEW_MAIN']),_0x5e8ae7=_0xae006b[_0x2e9de2(0x1d5)](_0x421f12[_0x2e9de2(0xfd)]([_0x73759f,_0x3bf250]),_0x1a183d),_0x719825=_0x1715d1['getCellPositionByOffset'](_0x4c25d7,_0x551ce0,_0x37a92e,_0x335339,_0x5e8ae7);((_0x2e92c5=this[_0x2e9de2(0x185)])==null?void 0x0:_0x2e92c5[_0x2e9de2(0x1ac)])===_0x719825[_0x2e9de2(0x1ac)]&&((_0x488fdc=this[_0x2e9de2(0x185)])==null?void 0x0:_0x488fdc[_0x2e9de2(0x230)])===_0x719825[_0x2e9de2(0x230)]||this[_0x2e9de2(0xe4)]['forEach'](_0x6a5604=>{const _0x49a936=_0x2e9de2;_0x6a5604[_0x49a936(0x259)](_0x719825);});},0x64));});}['_updateCollabCursors'](_0x14d54c,_0x3e090b){const _0x54c7c1=_0x4a15b3;var _0x5c5db8;const _0x3c1d45=(_0x5c5db8=this[_0x54c7c1(0x167)][_0x54c7c1(0x299)]())==null?void 0x0:_0x5c5db8['skeleton'];if(!_0x3c1d45)return;const _0x49667b=this[_0x54c7c1(0xe3)]();if(!_0x49667b)return;this['_cursors']['forEach'](_0x7cfe25=>{const _0x940b66=_0x54c7c1;_0x7cfe25[_0x940b66(0x15d)]();});const {scene:_0x357d5d}=_0x49667b,_0x3b5129=xi(Array[_0x54c7c1(0x1eb)](_0x3e090b[_0x54c7c1(0x123)]()))[_0x54c7c1(0x269)](_0x448962=>{const _0x32181c=_0x54c7c1,{color:_0x3a36aa,range:_0x1f6fce,name:_0x16a490,selection:_0x46a9fd,sheetID:_0x51c5a3}=_0x448962,{startColumn:_0x36f9b1,startRow:_0x144730,endColumn:_0xcd4105,endRow:_0x1e34da}=_0x1f6fce,_0x159934=_0x14b95d(_0x144730,_0x36f9b1,_0x357d5d,_0x3c1d45),_0x214164=_0x14b95d(_0x1e34da,_0xcd4105,_0x357d5d,_0x3c1d45),{columnHeaderHeightAndMarginTop:_0x1de153}=_0x3c1d45,{startX:_0x651fa1,startY:_0x4e5593}=_0x159934,{endX:_0x4fa80d,endY:_0x2ce35e}=_0x214164,_0x473323=_0x4fa80d-_0x651fa1,_0x1f59bd=_0x2ce35e-_0x4e5593,_0x311222={'labelPosition':_0x4e5593-_0x1de153>=ee?_0x32181c(0x159):_0x32181c(0xd1),'sheetID':_0x51c5a3,'range':_0x1f6fce,'color':_0x3a36aa,'name':_0x16a490,'selection':_0x46a9fd,'left':_0x651fa1,'top':_0x4e5593,'width':_0x473323,'height':_0x1f59bd,'evented':!0x1,'zIndex':$i};return new wi(_0x16a490,_0x311222);});_0x357d5d['addObjects'](_0x3b5129,Li),this[_0x54c7c1(0xe4)]=new Set(_0x3b5129);}[_0x4a15b3(0x1f8)](){const _0x464f4e=_0x4a15b3;var _0x24d830;(_0x24d830=this['_cursors'])==null||_0x24d830[_0x464f4e(0x139)](_0x5d6a81=>_0x5d6a81[_0x464f4e(0xd4)]());}[_0x4a15b3(0xe3)](){const _0x3c946a=_0x4a15b3;return _0x2bc514(this[_0x3c946a(0x144)][_0x3c946a(0x174)],this['_context']);}};Pe=yi([ve(0x1,_0x59cccc(_0x2a26d3)),ve(0x2,_0x59cccc(H)),ve(0x3,_0x59cccc(_0x345fc1))],Pe);function xi(_0x46ab9f){const _0x5127b7=_0x4a15b3,_0x129161=new Map();return _0x46ab9f[_0x5127b7(0x139)](_0x2bf425=>{const _0x14e69e=_0x5127b7;if(_0x129161[_0x14e69e(0x15e)](_0x2bf425[_0x14e69e(0xf9)])){const _0x1f68cc=_0x129161[_0x14e69e(0xf5)](_0x2bf425['selection']);_0x1f68cc[_0x14e69e(0x17b)]+=',\x20'+_0x2bf425['name'];}else _0x129161[_0x14e69e(0xcc)](_0x2bf425['selection'],_0x2bf425);}),Array[_0x5127b7(0x1eb)](_0x129161[_0x5127b7(0x123)]());}var v=function(){const _0x40a694=_0x4a15b3;return v=Object[_0x40a694(0x1b8)]||function(_0x4bc0a4){const _0x2680bd=_0x40a694;for(var _0xd3d85d,_0x89d7cc=0x1,_0x27cc3d=arguments[_0x2680bd(0x25c)];_0x89d7cc<_0x27cc3d;_0x89d7cc++){_0xd3d85d=arguments[_0x89d7cc];for(var _0x1786a5 in _0xd3d85d)Object[_0x2680bd(0x25e)][_0x2680bd(0x131)]['call'](_0xd3d85d,_0x1786a5)&&(_0x4bc0a4[_0x1786a5]=_0xd3d85d[_0x1786a5]);}return _0x4bc0a4;},v[_0x40a694(0x1ff)](this,arguments);},Bi=function(_0x4f7b25,_0x4b67d2){const _0x49fc7c=_0x4a15b3;var _0x102c9b={};for(var _0x306453 in _0x4f7b25)Object[_0x49fc7c(0x25e)][_0x49fc7c(0x131)][_0x49fc7c(0x264)](_0x4f7b25,_0x306453)&&_0x4b67d2[_0x49fc7c(0x169)](_0x306453)<0x0&&(_0x102c9b[_0x306453]=_0x4f7b25[_0x306453]);if(_0x4f7b25!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x4c8dc1=0x0,_0x306453=Object[_0x49fc7c(0x115)](_0x4f7b25);_0x4c8dc1<_0x306453[_0x49fc7c(0x25c)];_0x4c8dc1++)_0x4b67d2['indexOf'](_0x306453[_0x4c8dc1])<0x0&&Object['prototype'][_0x49fc7c(0x184)][_0x49fc7c(0x264)](_0x4f7b25,_0x306453[_0x4c8dc1])&&(_0x102c9b[_0x306453[_0x4c8dc1]]=_0x4f7b25[_0x306453[_0x4c8dc1]]);}return _0x102c9b;},Fe=_0x1aac4e(function(_0x5704d5,_0x48ef7c){const _0xb2690d=_0x4a15b3;var _0x4144bf=_0x5704d5[_0xb2690d(0x1a8)],_0x2af1ab=_0x5704d5['id'],_0x268103=_0x5704d5[_0xb2690d(0x20b)],_0x21758a=_0x5704d5[_0xb2690d(0x11c)],_0x39219f=Bi(_0x5704d5,[_0xb2690d(0x1a8),'id',_0xb2690d(0x20b),_0xb2690d(0x11c)]),_0x305209='univerjs-icon\x20univerjs-icon-'[_0xb2690d(0x291)](_0x2af1ab,'\x20')[_0xb2690d(0x291)](_0x268103||'')['trim'](),_0x5f6304=_0x1ee00a('_'[_0xb2690d(0x291)](Fi()));return Rt(_0x4144bf,''['concat'](_0x2af1ab),{'defIds':_0x4144bf[_0xb2690d(0x114)],'idSuffix':_0x5f6304[_0xb2690d(0x249)]},v({'ref':_0x48ef7c,'className':_0x305209},_0x39219f),_0x21758a);});function Rt(_0x58ea55,_0xde7d78,_0x4cece5,_0x509fd7,_0x409e64){const _0x21701e=_0x4a15b3;return _0x357080(_0x58ea55[_0x21701e(0x1e5)],v(v({'key':_0xde7d78},ki(_0x58ea55,_0x4cece5,_0x409e64)),_0x509fd7),(Hi(_0x58ea55,_0x4cece5)[_0x21701e(0x2ad)]||[])[_0x21701e(0x269)](function(_0x58997e,_0x3fdbeb){const _0x16918d=_0x21701e;return Rt(_0x58997e,''[_0x16918d(0x291)](_0xde7d78,'-')[_0x16918d(0x291)](_0x58ea55['tag'],'-')['concat'](_0x3fdbeb),_0x4cece5,void 0x0,_0x409e64);}));}function ki(_0x1984b3,_0x313123,_0x48706e){const _0x21e2cb=_0x4a15b3;var _0xe58db6=v({},_0x1984b3[_0x21e2cb(0x236)]);_0x48706e!=null&&_0x48706e[_0x21e2cb(0x22c)]&&_0xe58db6[_0x21e2cb(0x270)]===_0x21e2cb(0x22c)&&(_0xe58db6['fill']=_0x48706e[_0x21e2cb(0x22c)]),_0x1984b3[_0x21e2cb(0x1e5)]===_0x21e2cb(0x1e7)&&_0xe58db6['id']&&(_0xe58db6['id']=_0xe58db6['id']+_0x313123[_0x21e2cb(0x100)]),Object[_0x21e2cb(0x148)](_0xe58db6)[_0x21e2cb(0x139)](function(_0x3a1a63){const _0x9b103a=_0x21e2cb;var _0x42e7f1=_0x3a1a63[0x0],_0x18c47e=_0x3a1a63[0x1];_0x42e7f1===_0x9b103a(0x1e7)&&typeof _0x18c47e==_0x9b103a(0x1b1)&&(_0xe58db6[_0x42e7f1]=_0x18c47e[_0x9b103a(0xc2)](/url\(#(.*)\)/,'url(#$1'[_0x9b103a(0x291)](_0x313123[_0x9b103a(0x100)],')')));});var _0x3b0d5a=_0x313123['defIds'];return!_0x3b0d5a||_0x3b0d5a['length']===0x0||(_0x1984b3[_0x21e2cb(0x1e5)]==='use'&&_0xe58db6[_0x21e2cb(0x150)]&&(_0xe58db6[_0x21e2cb(0x150)]=_0xe58db6[_0x21e2cb(0x150)]+_0x313123[_0x21e2cb(0x100)]),Object['entries'](_0xe58db6)[_0x21e2cb(0x139)](function(_0x30a3d0){const _0x3e15f7=_0x21e2cb;var _0x2368e1=_0x30a3d0[0x0],_0x3098f0=_0x30a3d0[0x1];typeof _0x3098f0=='string'&&(_0xe58db6[_0x2368e1]=_0x3098f0[_0x3e15f7(0xc2)](/url\(#(.*)\)/,_0x3e15f7(0x224)[_0x3e15f7(0x291)](_0x313123[_0x3e15f7(0x100)],')')));})),_0xe58db6;}function Hi(_0x49a57e,_0x5b087a){const _0x4c19af=_0x4a15b3;var _0x14fde7,_0x273356=_0x5b087a[_0x4c19af(0x114)];return!_0x273356||_0x273356['length']===0x0?_0x49a57e:_0x49a57e[_0x4c19af(0x1e5)]===_0x4c19af(0x195)&&(!((_0x14fde7=_0x49a57e[_0x4c19af(0x2ad)])===null||_0x14fde7===void 0x0)&&_0x14fde7[_0x4c19af(0x25c)])?v(v({},_0x49a57e),{'children':_0x49a57e[_0x4c19af(0x2ad)][_0x4c19af(0x269)](function(_0x4b9837){const _0x44be3a=_0x4c19af;return typeof _0x4b9837[_0x44be3a(0x236)]['id']==_0x44be3a(0x1b1)&&_0x273356&&_0x273356[_0x44be3a(0x1fe)](_0x4b9837[_0x44be3a(0x236)]['id'])?v(v({},_0x4b9837),{'attrs':v(v({},_0x4b9837[_0x44be3a(0x236)]),{'id':_0x4b9837[_0x44be3a(0x236)]['id']+_0x5b087a[_0x44be3a(0x100)]})}):_0x4b9837;})}):_0x49a57e;}function Fi(){const _0x3aabd1=_0x4a15b3;return Math['random']()[_0x3aabd1(0x257)](0x24)[_0x3aabd1(0x285)](0x2,0x8);}Fe[_0x4a15b3(0x267)]=_0x4a15b3(0x1d7);var Yi={'tag':_0x4a15b3(0x1ee),'attrs':{'xmlns':_0x4a15b3(0x176),'fill':'none','viewBox':_0x4a15b3(0x192),'width':_0x4a15b3(0x196),'height':_0x4a15b3(0x196)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4a15b3(0x1cb),'d':_0x4a15b3(0x130),'strokeLinecap':_0x4a15b3(0xbe),'strokeLinejoin':_0x4a15b3(0xbe),'strokeWidth':1.2}}]},{'tag':_0x4a15b3(0x195),'attrs':{},'children':[{'tag':_0x4a15b3(0x19f),'attrs':{'id':_0x4a15b3(0x1e6)},'children':[{'tag':'path','attrs':{'fill':_0x4a15b3(0x207),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4a15b3(0x1e6)]},Dt=_0x1aac4e(function(_0x37cded,_0xf9b948){const _0x349c12=_0x4a15b3;return _0x357080(Fe,Object[_0x349c12(0x1b8)]({},_0x37cded,{'id':_0x349c12(0x145),'ref':_0xf9b948,'icon':Yi}));});Dt[_0x4a15b3(0x267)]='OffLineIcon';var ji={'tag':_0x4a15b3(0x1ee),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4a15b3(0x177),'width':'1em','height':_0x4a15b3(0x196)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a15b3(0x1a2)},'children':[{'tag':_0x4a15b3(0x1cc),'attrs':{'stroke':_0x4a15b3(0x1cb),'d':_0x4a15b3(0x126),'strokeLinecap':_0x4a15b3(0xbe),'strokeLinejoin':_0x4a15b3(0xbe),'strokeWidth':1.2}}]},{'tag':_0x4a15b3(0x195),'attrs':{},'children':[{'tag':_0x4a15b3(0x19f),'attrs':{'id':_0x4a15b3(0x1b2)},'children':[{'tag':_0x4a15b3(0x1cc),'attrs':{'fill':_0x4a15b3(0x207),'d':_0x4a15b3(0x1dd),'transform':_0x4a15b3(0x1c9)}}]}]}],'defIds':[_0x4a15b3(0x1b2)]},Nt=_0x1aac4e(function(_0x46dcd3,_0xbd84c3){const _0x1783d2=_0x4a15b3;return _0x357080(Fe,Object['assign']({},_0x46dcd3,{'id':_0x1783d2(0x111),'ref':_0xbd84c3,'icon':ji}));});Nt[_0x4a15b3(0x267)]=_0x4a15b3(0x1ea);function Vi(_0x4f1338){const _0xbade72=_0x4a15b3;switch(_0x4f1338){case _0x4de448[_0xbade72(0x1cf)]:return'collabStatus.offline';case _0x4de448[_0xbade72(0x1db)]:return _0xbade72(0x1a3);case _0x4de448[_0xbade72(0xef)]:return _0xbade72(0xc6);case _0x4de448[_0xbade72(0x245)]:return'collabStatus.notCollab';case _0x4de448[_0xbade72(0x155)]:case _0x4de448[_0xbade72(0x288)]:return _0xbade72(0x119);case _0x4de448[_0xbade72(0x1a1)]:case _0x4de448[_0xbade72(0x28a)]:return'collabStatus.synced';}}function Wi(_0x51b9ce){const _0x4d0e71=_0x4a15b3,{status$:_0xae1dae}=_0x51b9ce,_0x2dc1fd=_0x36d065(_0xae1dae,_0x4de448['NOT_COLLAB']),_0x322e73=_0x16b329(_0x5364b3),_0x1a6b6d=_0x16b329(_0x2f1c26),_0x51820c=_0x2dc1fd!==_0x4de448[_0x4d0e71(0x1cf)],_0x3929e1=_0x322e73['t'](Vi(_0x2dc1fd)),_0x2e23a3=_0x51820c?_0x4e4a13(Nt,{}):_0x4e4a13(Dt,{}),_0x58550f=_0x434b10(()=>{const _0x9311dd=_0x4d0e71;_0x51820c||_0x1a6b6d[_0x9311dd(0x15b)]();},[_0x51820c,_0x1a6b6d]);function _0x4b0462(){const _0x487340=_0x4d0e71;return _0x348a57('div',{'className':_0x487340(0x2b6),'onClick':_0x58550f,'children':[_0x4e4a13(_0x487340(0x28d),{'className':_0x527e74(_0x487340(0x290),{'univer-text-green-500':_0x51820c,'univer-text-red-500':!_0x51820c}),'children':_0x2e23a3}),_0x4e4a13(_0x487340(0x28d),{'className':_0x487340(0x229),'children':_0x3929e1})]});}return _0x51820c?_0x4b0462():_0x4e4a13(_0x1be8b8,{'title':_0x322e73['t'](_0x4d0e71(0x271)),'children':_0x4b0462()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x52d65d,_0x430098,_0x4ab07a,_0x5d8b2b)=>{const _0x52a652=_0x4a15b3;for(var _0x32bfa1=_0x5d8b2b>0x1?void 0x0:_0x5d8b2b?Xi(_0x430098,_0x4ab07a):_0x430098,_0x461c3f=_0x52d65d[_0x52a652(0x25c)]-0x1,_0x11a4bf;_0x461c3f>=0x0;_0x461c3f--)(_0x11a4bf=_0x52d65d[_0x461c3f])&&(_0x32bfa1=_0x11a4bf(_0x32bfa1)||_0x32bfa1);return _0x32bfa1;},Q=(_0x118f29,_0x65f63c)=>(_0x474f82,_0x45a3c9)=>_0x65f63c(_0x474f82,_0x45a3c9,_0x118f29);let te=class extends _0x1c3a44{constructor(_0x3b3474,_0x5972fa,_0x541559,_0x16b61){const _0x61eb90=_0x4a15b3;super(),_(this,_0x61eb90(0x181),new _0x429bcf(_0x4de448[_0x61eb90(0x245)])),(this[_0x61eb90(0x216)]=_0x3b3474,this[_0x61eb90(0x162)]=_0x5972fa,this[_0x61eb90(0xe0)]=_0x541559,this[_0x61eb90(0x25a)]=_0x16b61,this[_0x61eb90(0x1cd)](),this[_0x61eb90(0x222)]());}['_initStatusListener'](){const _0x4564c6=_0x4a15b3;this[_0x4564c6(0x275)](this[_0x4564c6(0x216)][_0x4564c6(0x2b2)][_0x4564c6(0x134)](_0x99a4d5(()=>{const _0x1e2178=_0x4564c6,_0x3b2815=this[_0x1e2178(0x216)][_0x1e2178(0x2bd)]();return _0x3b2815?this[_0x1e2178(0xe0)]['getCollabEntity$'](_0x3b2815[_0x1e2178(0xc7)]()):_0x103715(null);}),_0x99a4d5(_0x3f829c=>_0x3f829c?_0x3f829c[_0x4564c6(0x2bb)]:_0x103715(_0x4de448[_0x4564c6(0x245)])))['subscribe'](_0x56a0d6=>{this['_status$']['next'](_0x56a0d6);}));}[_0x4a15b3(0x1cd)](){const _0x300cb7=_0x4a15b3;this[_0x300cb7(0x275)](this[_0x300cb7(0x25a)][_0x300cb7(0x250)](_0x1cb6c7[_0x300cb7(0x1ae)],()=>_0x9be80d(Ki({'status$':this[_0x300cb7(0x181)][_0x300cb7(0x26d)]()}),this[_0x300cb7(0x162)])));}};te=Gi([Q(0x0,_0x261934),Q(0x1,_0x59cccc(_0x352cac)),Q(0x2,_0x59cccc(_0x5b7241)),Q(0x3,_0xc6ecce)],te);function Ki(_0x6a5015){const {status$:_0x460392}=_0x6a5015;return function(){return _0x4e4a13(Wi,{'status$':_0x460392});};}var zi=Object[_0x4a15b3(0x161)],Ji=(_0x2c952e,_0x4f59a0,_0x42ef6f,_0x4eaa3d)=>{const _0x14ef6f=_0x4a15b3;for(var _0x249b74=_0x4eaa3d>0x1?void 0x0:_0x4eaa3d?zi(_0x4f59a0,_0x42ef6f):_0x4f59a0,_0x3ca72d=_0x2c952e[_0x14ef6f(0x25c)]-0x1,_0x1bde9d;_0x3ca72d>=0x0;_0x3ca72d--)(_0x1bde9d=_0x2c952e[_0x3ca72d])&&(_0x249b74=_0x1bde9d(_0x249b74)||_0x249b74);return _0x249b74;},B=(_0x1c93e8,_0x3c19d0)=>(_0x1e1cbd,_0x275898)=>_0x3c19d0(_0x1e1cbd,_0x275898,_0x1c93e8);let se=class extends _0x1c3a44{constructor(_0x4ed295,_0x3ccb71,_0x25289c,_0x270d9b,_0x2f1203,_0x498c79){const _0x210d53=_0x4a15b3;super(),this['_beforeCloseService']=_0x4ed295,this[_0x210d53(0x21e)]=_0x3ccb71,this[_0x210d53(0x17a)]=_0x25289c,this['_messageService']=_0x270d9b,this[_0x210d53(0x1fd)]=_0x2f1203,this[_0x210d53(0xe9)]=_0x498c79,this[_0x210d53(0x231)](),this[_0x210d53(0x1d0)]();}[_0x4a15b3(0x231)](){const _0x2a3eda=_0x4a15b3;this[_0x2a3eda(0x275)](this[_0x2a3eda(0x211)][_0x2a3eda(0x22d)](()=>{const _0x242f96=_0x2a3eda;if(this['_localCacheService'][_0x242f96(0x172)][_0x242f96(0x203)])return this[_0x242f96(0xe9)]['t'](_0x242f96(0x201));}));}['_initEvent'](){const _0xcf06c9=_0x4a15b3;this[_0xcf06c9(0x275)](this[_0xcf06c9(0x17a)][_0xcf06c9(0x157)][_0xcf06c9(0x226)](_0x35831d=>{const _0x363505=_0xcf06c9;_0x35831d['id']===_0x17fd1e[_0x363505(0x282)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0x260)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x154))}),_0x35831d['id']===_0x17fd1e[_0x363505(0x156)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0x260)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x1bb))}),_0x35831d['id']===_0x17fd1e['PERMISSION_DENIED']&&this[_0x363505(0x1fd)][_0x363505(0x1bf)]({'title':this['_localeService']['t'](_0x363505(0x1f1)),'content':this[_0x363505(0xe9)]['t'](_0x363505(0x256)),'type':_0x363505(0x18c),'duration':0x0}),_0x35831d['id']===_0x17fd1e['CONFLICT']&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0xba)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x1bb))+'('+_0x35831d[_0x363505(0x1b7)]+')'}),_0x35831d['id']===_0x17fd1e['JOIN_ROOM_FAILED']&&this[_0x363505(0x1c8)]['show']({'type':_0x451ee9[_0x363505(0x260)],'content':this[_0x363505(0xe9)]['t'](_0x35831d[_0x363505(0x1b7)]||'')}),_0x35831d['id']===_0x17fd1e[_0x363505(0x19b)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9['Warning'],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x20a))}),_0x35831d['id']===_0x17fd1e[_0x363505(0x1e2)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9['Error'],'content':this['_localeService']['t'](_0x363505(0x1e3))}),_0x35831d['id']===_0x17fd1e['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0xba)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x225))});}));}};se=Ji([B(0x0,_0xcf8d2a),B(0x1,_0x578f85),B(0x2,_0x59cccc(_0x28c0a5)),B(0x3,_0x31756d),B(0x4,_0x3bc4f0),B(0x5,_0x59cccc(_0x5364b3))],se);const Zi=_0x4a15b3(0x289),et={},Ut=_0x1e01e8('uni.network.url-service');var Qi=Object[_0x4a15b3(0x161)],qi=(_0x4a9cd2,_0x7c9493,_0x15bc34,_0x4d9758)=>{const _0x331d3b=_0x4a15b3;for(var _0x2bee7a=_0x4d9758>0x1?void 0x0:_0x4d9758?Qi(_0x7c9493,_0x15bc34):_0x7c9493,_0x5d1aa7=_0x4a9cd2[_0x331d3b(0x25c)]-0x1,_0x5ba2f7;_0x5d1aa7>=0x0;_0x5d1aa7--)(_0x5ba2f7=_0x4a9cd2[_0x5d1aa7])&&(_0x2bee7a=_0x5ba2f7(_0x2bee7a)||_0x2bee7a);return _0x2bee7a;},G=(_0x2c6fe4,_0x3e77fa)=>(_0x5436c4,_0x4d5bf7)=>_0x3e77fa(_0x5436c4,_0x4d5bf7,_0x2c6fe4);let ie=class extends _0x9a5c56{constructor(_0x2d4992,_0x41b444,_0x4d2dbe,_0x288204,_0x55e453){const _0x1d9968=_0x4a15b3;super(),this[_0x1d9968(0x2ae)]=_0x2d4992,this['_logService']=_0x41b444,this['_commandService']=_0x4d2dbe,this[_0x1d9968(0x1ab)]=_0x288204,_0x55e453?_0x55e453==null||_0x55e453[_0x1d9968(0x28b)]()[_0x1d9968(0x1d1)](()=>this[_0x1d9968(0x22b)]()):(this[_0x1d9968(0x2a3)]['debug'](_0x1d9968(0x1aa),_0x1d9968(0x218)),this[_0x1d9968(0x22b)]());}async[_0x4a15b3(0x22b)](){const _0x41cd64=_0x4a15b3,_0x56ea79=this[_0x41cd64(0x2ae)]['getParam']('unit'),_0x8f6698=this[_0x41cd64(0x2ae)][_0x41cd64(0x2a4)](_0x41cd64(0x13f)),_0x23ca11=this[_0x41cd64(0x2ae)][_0x41cd64(0x2a4)](_0x41cd64(0x16f));if(!_0x56ea79||!_0x8f6698){this[_0x41cd64(0x2a3)][_0x41cd64(0x219)]('[CollaborationDataLoaderController]',_0x41cd64(0x124));return;}const _0x3381ab=await this[_0x41cd64(0x1ab)][_0x41cd64(0xbf)](_0x56ea79,Number(_0x8f6698),_0x23ca11);_0x3381ab&&_0x3381ab instanceof _0x5da6ea&&this[_0x41cd64(0x141)](_0x3381ab);}async[_0x4a15b3(0x141)](_0x22f854){const _0xe6ebbc=_0x4a15b3;await this[_0xe6ebbc(0x209)](_0x22f854),_0x22f854['activeSheet$'][_0xe6ebbc(0x134)](_0x261b2e(this[_0xe6ebbc(0x19c)]))['subscribe'](_0x154953=>{const _0x4cb5f4=_0xe6ebbc;_0x154953&&this[_0x4cb5f4(0x228)](_0x154953);}),this['_urlService']['urlChange$']['pipe'](_0x261b2e(this[_0xe6ebbc(0x19c)]))[_0xe6ebbc(0x226)](()=>this[_0xe6ebbc(0x209)](_0x22f854));}[_0x4a15b3(0x228)](_0x5a12b0,_0x5a157c=!0x1){const _0x5809e7=_0x4a15b3,_0x4066e2=this[_0x5809e7(0x2ae)][_0x5809e7(0x2a4)](_0x5809e7(0x16f));_0x5a12b0[_0x5809e7(0x1c0)]()!==_0x4066e2&&this['_urlService'][_0x5809e7(0x1e9)]('subunit',_0x5a12b0['getSheetId'](),_0x5a157c);}async[_0x4a15b3(0x209)](_0x3ff095){const _0x5a1ea8=_0x4a15b3;var _0x5c66fe;const _0x13d2c9=this[_0x5a1ea8(0x2ae)][_0x5a1ea8(0x2a4)]('subunit');if(!_0x13d2c9||!_0x3ff095[_0x5a1ea8(0x173)](_0x13d2c9)){const _0x107e90=_0x3ff095[_0x5a1ea8(0x29b)]()[0x0],_0x1f887f=_0x3ff095[_0x5a1ea8(0x173)](_0x107e90);if(!_0x1f887f)return;this['_updateURLWithCurrentState'](_0x1f887f,!0x0),await this[_0x5a1ea8(0xea)][_0x5a1ea8(0x117)](_0xe922f0['id'],{'unitId':_0x3ff095['getUnitId'](),'subUnitId':_0x107e90});return;}((_0x5c66fe=_0x3ff095[_0x5a1ea8(0x25d)]())==null?void 0x0:_0x5c66fe[_0x5a1ea8(0x1c0)]())!==_0x13d2c9&&await this[_0x5a1ea8(0xea)][_0x5a1ea8(0x117)](_0xe922f0['id'],{'unitId':_0x3ff095[_0x5a1ea8(0xc7)](),'subUnitId':_0x13d2c9});}};ie=qi([G(0x0,Ut),G(0x1,_0x5de542),G(0x2,_0x44cdb6),G(0x3,_0x59cccc(_0x2588b6)),G(0x4,_0x6913ea(_0x1566a8))],ie);var en=Object[_0x4a15b3(0x161)],tn=(_0x34b0a4,_0x3ce22f,_0x394400,_0x5afcf6)=>{const _0x563b30=_0x4a15b3;for(var _0x5483b7=_0x5afcf6>0x1?void 0x0:_0x5afcf6?en(_0x3ce22f,_0x394400):_0x3ce22f,_0x3e84e0=_0x34b0a4[_0x563b30(0x25c)]-0x1,_0x440805;_0x3e84e0>=0x0;_0x3e84e0--)(_0x440805=_0x34b0a4[_0x3e84e0])&&(_0x5483b7=_0x440805(_0x5483b7)||_0x5483b7);return _0x5483b7;},pe=(_0x3cb3af,_0x44bb88)=>(_0x1f3eb9,_0x3725b9)=>_0x44bb88(_0x1f3eb9,_0x3725b9,_0x3cb3af);let ne=class{constructor(_0x12a476,_0x5ed3c3,_0x16f20c){const _0x394e7d=_0x4a15b3;this['_injector']=_0x12a476,this[_0x394e7d(0x16b)]=_0x5ed3c3,this[_0x394e7d(0xc9)]=_0x16f20c;}[_0x4a15b3(0x17c)](_0x237469){const _0x1a6040=_0x4a15b3;this['_transformUndoRedoStack'](_0x237469),this[_0x1a6040(0xeb)](_0x237469);}[_0x4a15b3(0xe6)](_0x5b7f77){const _0x288abf=_0x4a15b3,{unitID:_0x27e71a}=_0x5b7f77,_0x10f239=this[_0x288abf(0xc9)]['getRenderById'](_0x27e71a)[_0x288abf(0x26a)](_0x5d2261),{redoCache:_0x2e13aa}=_0x10f239[_0x288abf(0x183)]();if(_0x2e13aa[_0x288abf(0x25c)]===0x0)return _0x5b7f77;let _0x2ba0d3=_0x4b4ba9[_0x288abf(0x27e)](_0x5b7f77['mutations'][0x0]);for(let _0x6e7786=0x0;_0x6e7786<_0x2e13aa[_0x288abf(0x25c)];_0x6e7786++){const _0x5a633d={'id':'doc.mutation.rich-text-editing','params':{..._0x2e13aa[_0x6e7786]}},_0x35fd78=this['_transformService']['transformMutation'](_0x2ba0d3,_0x5a633d,!0x1);if(_0x2b7e9d(_0x35fd78))throw _0x35fd78[_0x288abf(0x18c)];_0x2ba0d3=_0x35fd78['m1Prime'];}return{..._0x4b4ba9[_0x288abf(0x27e)](_0x5b7f77),'mutations':[_0x2ba0d3]};}[_0x4a15b3(0x10f)](_0x5d2ae3){const _0x52957b=_0x4a15b3,{unitID:_0x549fb6}=_0x5d2ae3,_0x195782=this[_0x52957b(0xc9)][_0x52957b(0x15f)](_0x549fb6)[_0x52957b(0x26a)](_0x5d2261),{undoCache:_0x56778c,redoCache:_0x3be74d}=_0x195782['getUndoRedoMutationParamsCache']();if(_0x56778c[_0x52957b(0x25c)]===0x0||_0x3be74d[_0x52957b(0x25c)]===0x0)return;const _0x50278c=[],_0x397f48=[];let _0x4438bc=_0x4b4ba9[_0x52957b(0x27e)](_0x5d2ae3['mutations'][0x0]),_0x38e76d=_0x4b4ba9[_0x52957b(0x27e)](_0x5d2ae3[_0x52957b(0x22a)][0x0]);for(let _0x45fb31=_0x56778c[_0x52957b(0x25c)]-0x1;_0x45fb31>=0x0;_0x45fb31--){const _0x366a99={'id':_0x52957b(0x278),'params':{..._0x56778c[_0x45fb31]}},_0x2eedc7={'id':_0x52957b(0x278),'params':{..._0x3be74d[_0x45fb31]}},_0x3ad4c7=this[_0x52957b(0x16b)][_0x52957b(0x14e)](_0x4438bc,_0x366a99,!0x1),_0x7bcb0c=this['_transformService'][_0x52957b(0x14e)](_0x38e76d,_0x2eedc7,!0x1);if(_0x2b7e9d(_0x3ad4c7))throw _0x3ad4c7[_0x52957b(0x18c)];if(_0x2b7e9d(_0x7bcb0c))throw _0x7bcb0c['error'];_0x50278c[_0x52957b(0x188)](_0x3ad4c7[_0x52957b(0xc1)]['params']),_0x397f48[_0x52957b(0x188)](_0x7bcb0c[_0x52957b(0xc1)][_0x52957b(0x23d)]),_0x4438bc=_0x3ad4c7[_0x52957b(0x272)],_0x38e76d=_0x7bcb0c[_0x52957b(0x272)];}_0x195782[_0x52957b(0xc3)]({'undoCache':_0x50278c,'redoCache':_0x397f48});}['_transformPreviousActiveRange'](_0x3c9137){const _0xc93767=_0x4a15b3,{unitID:_0x269377}=_0x3c9137,_0x1019c1=this[_0xc93767(0xc9)][_0xc93767(0x15f)](_0x269377)[_0xc93767(0x26a)](_0x5d2261),_0x4e6da4=_0x1019c1[_0xc93767(0x26c)]();if(_0x4e6da4==null)return;const _0x3ade8a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c9137[_0xc93767(0x194)],'actions':null,'textRanges':[_0x4e6da4]}}],_0x4e011f=this[_0xc93767(0x16b)][_0xc93767(0x17e)](_0x3c9137,_0x3ade8a);if(!_0x456329(_0x4e011f))throw _0x4e011f['error'];const _0xc8827b=_0x4e011f['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0xc8827b)&&_0xc8827b['length']&&_0x1019c1['setActiveRange'](_0xc8827b[0x0]);}};ne=tn([pe(0x0,_0x59cccc(_0x352cac)),pe(0x1,_0x17392d),pe(0x2,_0x50bde7)],ne);var sn=Object[_0x4a15b3(0x161)],nn=(_0x4ef758,_0x24ffa0,_0x41082b,_0x256d57)=>{const _0x4a095c=_0x4a15b3;for(var _0xc5d42a=_0x256d57>0x1?void 0x0:_0x256d57?sn(_0x24ffa0,_0x41082b):_0x24ffa0,_0xc5d97d=_0x4ef758[_0x4a095c(0x25c)]-0x1,_0x2eed6e;_0xc5d97d>=0x0;_0xc5d97d--)(_0x2eed6e=_0x4ef758[_0xc5d97d])&&(_0xc5d42a=_0x2eed6e(_0xc5d42a)||_0xc5d42a);return _0xc5d42a;},Ce=(_0x5d0d19,_0x482bb5)=>(_0x3bf13a,_0x40e885)=>_0x482bb5(_0x3bf13a,_0x40e885,_0x5d0d19);let re=class{constructor(_0x1a802d,_0x2b538f,_0x248941){const _0x155a57=_0x4a15b3;this[_0x155a57(0x162)]=_0x1a802d,this[_0x155a57(0x16b)]=_0x2b538f,this[_0x155a57(0x14b)]=_0x248941;}['transformStateCache'](_0x3aaf9b){const _0x2b7b35=_0x4a15b3;this[_0x2b7b35(0x18a)](_0x3aaf9b);}[_0x4a15b3(0xe6)](_0x27fd65){const _0x26cc63=_0x4a15b3,{unitID:_0x13a027}=_0x27fd65,{collaboration:_0x451e12}=this[_0x26cc63(0x14b)][_0x26cc63(0x133)](_0x13a027);if(_0x451e12['length']===0x0)return _0x27fd65;let _0x1033cd=_0x4b4ba9[_0x26cc63(0x27e)](_0x27fd65[_0x26cc63(0x22a)][0x0]);for(let _0x2b3663=0x0;_0x2b3663<_0x451e12[_0x26cc63(0x25c)];_0x2b3663++){const _0x586968={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x451e12[_0x2b3663]['unitId'],..._0x451e12[_0x2b3663][_0x26cc63(0x10d)]}},_0x3c3128=this[_0x26cc63(0x16b)]['transformMutation'](_0x1033cd,_0x586968,!0x1);if(_0x2b7e9d(_0x3c3128))throw _0x3c3128['error'];_0x1033cd=_0x3c3128[_0x26cc63(0x272)];}return{..._0x4b4ba9[_0x26cc63(0x27e)](_0x27fd65),'mutations':[_0x1033cd]};}[_0x4a15b3(0x18a)](_0xf24957){const _0x1687f1=_0x4a15b3,{unitID:_0x597f25}=_0xf24957,{history:_0x2df473,collaboration:_0x38e71a}=this['_docStateChangeManagerService'][_0x1687f1(0x133)](_0x597f25);if(_0x2df473[_0x1687f1(0x25c)]===0x0&&_0x38e71a[_0x1687f1(0x25c)]===0x0)return;const _0x232b28=[],_0x159cf8=[];let _0x2ba0c3=_0x4b4ba9[_0x1687f1(0x27e)](_0xf24957[_0x1687f1(0x22a)][0x0]),_0x978dfd=_0x4b4ba9[_0x1687f1(0x27e)](_0xf24957['mutations'][0x0]);for(let _0x965221=_0x2df473[_0x1687f1(0x25c)]-0x1;_0x965221>=0x0;_0x965221--){const _0x209441={'id':_0x1687f1(0x278),'params':{'unitId':_0x2df473[_0x965221][_0x1687f1(0x20c)],..._0x2df473[_0x965221][_0x1687f1(0x193)]}},_0x3fe12b={'id':_0x1687f1(0x278),'params':{'unitId':_0x2df473[_0x965221]['unitId'],..._0x2df473[_0x965221]['redoState']}},_0x42b2fe=this['_transformService'][_0x1687f1(0x14e)](_0x2ba0c3,_0x209441,!0x1),_0x191f4b=this[_0x1687f1(0x16b)][_0x1687f1(0x14e)](_0x978dfd,_0x3fe12b,!0x1);if(_0x2b7e9d(_0x42b2fe))throw _0x42b2fe[_0x1687f1(0x18c)];if(_0x2b7e9d(_0x191f4b))throw _0x191f4b[_0x1687f1(0x18c)];_0x232b28[_0x1687f1(0x188)]({..._0x2df473[_0x965221],'undoState':_0x42b2fe['m2Prime'][_0x1687f1(0x23d)],'redoState':_0x191f4b['m2Prime']['params']}),_0x2ba0c3=_0x42b2fe['m1Prime'],_0x978dfd=_0x191f4b[_0x1687f1(0x272)];}_0x2ba0c3=_0x4b4ba9['deepClone'](_0xf24957['mutations'][0x0]),_0x978dfd=_0x4b4ba9[_0x1687f1(0x27e)](_0xf24957[_0x1687f1(0x22a)][0x0]);for(let _0x4f67fa=_0x38e71a['length']-0x1;_0x4f67fa>=0x0;_0x4f67fa--){const _0xa7883={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38e71a[_0x4f67fa][_0x1687f1(0x20c)],..._0x38e71a[_0x4f67fa][_0x1687f1(0x193)]}},_0x22c210={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38e71a[_0x4f67fa][_0x1687f1(0x20c)],..._0x38e71a[_0x4f67fa][_0x1687f1(0x10d)]}},_0x50b803=this[_0x1687f1(0x16b)][_0x1687f1(0x14e)](_0x2ba0c3,_0xa7883,!0x1),_0x51af5c=this[_0x1687f1(0x16b)][_0x1687f1(0x14e)](_0x978dfd,_0x22c210,!0x1);if(_0x2b7e9d(_0x50b803))throw _0x50b803[_0x1687f1(0x18c)];if(_0x2b7e9d(_0x51af5c))throw _0x51af5c[_0x1687f1(0x18c)];_0x159cf8[_0x1687f1(0x188)]({..._0x38e71a[_0x4f67fa],'undoState':_0x50b803[_0x1687f1(0xc1)][_0x1687f1(0x23d)],'redoState':_0x51af5c[_0x1687f1(0xc1)][_0x1687f1(0x23d)]}),_0x2ba0c3=_0x50b803[_0x1687f1(0x272)],_0x978dfd=_0x51af5c['m1Prime'];}this[_0x1687f1(0x14b)]['setStateCache'](_0x597f25,{'history':_0x232b28,'collaboration':_0x159cf8});}};re=nn([Ce(0x0,_0x59cccc(_0x352cac)),Ce(0x1,_0x17392d),Ce(0x2,_0x59cccc(_0x11784e))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x2b8fea,_0x3608c7,_0x117bd2,_0x1f0281)=>{const _0x5794dd=_0x4a15b3;for(var _0x52539c=_0x1f0281>0x1?void 0x0:_0x1f0281?rn(_0x3608c7,_0x117bd2):_0x3608c7,_0x44eed1=_0x2b8fea[_0x5794dd(0x25c)]-0x1,_0x579527;_0x44eed1>=0x0;_0x44eed1--)(_0x579527=_0x2b8fea[_0x44eed1])&&(_0x52539c=_0x579527(_0x52539c)||_0x52539c);return _0x52539c;},tt=(_0x4384c8,_0x2d2679)=>(_0x2c4240,_0x4870b7)=>_0x2d2679(_0x2c4240,_0x4870b7,_0x4384c8);let oe=class{constructor(_0x742dad,_0x5260f4){const _0x1d01c4=_0x4a15b3;this[_0x1d01c4(0x162)]=_0x742dad,this[_0x1d01c4(0x16b)]=_0x5260f4;}[_0x4a15b3(0x295)](_0x1d55f1){const _0x969f89=_0x4a15b3;var _0x4260f5;const _0x3a48e7=this['_injector'][_0x969f89(0xf5)](_0x5c61d8),_0x444a04=(_0x4260f5=_0x3a48e7['getDocRanges']())!=null?_0x4260f5:[];if(_0x444a04[_0x969f89(0x25c)]===0x0)return;const _0x24207b=_0x1d55f1[_0x969f89(0x194)],_0x579e04=[{'id':_0x969f89(0x278),'params':{'unitId':_0x24207b,'actions':null,'textRanges':_0x444a04}}],_0x574bc2=this[_0x969f89(0x16b)]['transformMutationsWithChangeset'](_0x1d55f1,_0x579e04);if(!_0x456329(_0x574bc2))throw _0x574bc2[_0x969f89(0x18c)];const _0x2a2c0f=_0x574bc2[_0x969f89(0xc1)][0x0][_0x969f89(0x23d)][_0x969f89(0x20f)];Array[_0x969f89(0x212)](_0x2a2c0f)&&_0x2a2c0f[_0x969f89(0x25c)]&&_0x3a48e7[_0x969f89(0x120)](_0x2a2c0f,{'unitId':_0x24207b,'subUnitId':_0x24207b},!0x1);}};oe=on([tt(0x0,_0x59cccc(_0x352cac)),tt(0x1,_0x17392d)],oe);var an=Object[_0x4a15b3(0x161)],cn=(_0x3f249c,_0x54c812,_0x55082c,_0x598918)=>{const _0x301892=_0x4a15b3;for(var _0x33be23=_0x598918>0x1?void 0x0:_0x598918?an(_0x54c812,_0x55082c):_0x54c812,_0xe7c899=_0x3f249c[_0x301892(0x25c)]-0x1,_0x53ff40;_0xe7c899>=0x0;_0xe7c899--)(_0x53ff40=_0x3f249c[_0xe7c899])&&(_0x33be23=_0x53ff40(_0x33be23)||_0x33be23);return _0x33be23;},U=(_0xdb98fc,_0x42e996)=>(_0x2394e0,_0x4930a9)=>_0x42e996(_0x2394e0,_0x4930a9,_0xdb98fc);let ae=class extends _0x1c3a44{constructor(_0x2bda16,_0x1f37ec,_0x3dc82c,_0x3d7f57,_0x1c0772,_0x566838,_0x1a287c,_0x5e77b7){const _0xacd82f=_0x4a15b3;super(),_(this,'_status$',new _0x429bcf(_0x4de448[_0xacd82f(0x245)])),(this[_0xacd82f(0x14b)]=_0x2bda16,this['_collaborationController']=_0x1f37ec,this[_0xacd82f(0x286)]=_0x3dc82c,this[_0xacd82f(0x1a0)]=_0x3d7f57,this['_docTransformSelectionsService']=_0x1c0772,this[_0xacd82f(0x24d)]=_0x566838,this[_0xacd82f(0x1c8)]=_0x1a287c,this[_0xacd82f(0xe9)]=_0x5e77b7,this[_0xacd82f(0x26e)]());}['_initEntityListener'](){const _0x2c3239=_0x4a15b3;this[_0x2c3239(0x275)](this['_collaborationController']['entityInit$'][_0x2c3239(0x226)](_0x52fa9c=>{const _0x519195=_0x2c3239,_0x56e46b=this['_docStateChangeManagerService']['docStateChange$'][_0x519195(0x226)](_0x20c62e=>{const _0x5bf7d3=_0x519195;if(_0x20c62e==null)return;const {unitId:_0x5b6478,redoState:_0x568195,commandId:_0x5ba736}=_0x20c62e;if(_0x5b6478!==_0x52fa9c[_0x5bf7d3(0x194)])return;const _0x507ab5={'id':_0x5ba736,'type':_0x56d49f[_0x5bf7d3(0x1c4)],'params':{'unitId':_0x5b6478,'actions':_0x568195[_0x5bf7d3(0x277)],'textRanges':null}};_0x52fa9c[_0x5bf7d3(0x11a)](_0x507ab5);});if(_0x52fa9c[_0x519195(0x275)](_0x56e46b),_0x52fa9c instanceof _0x30b9b9){const _0x290210={'onTransformIME':_0x4ea127=>this['_docTransformIMECacheService']['transformIMECache'](_0x4ea127),'onTransformState':_0x4a1efc=>this[_0x519195(0x1a0)]['transformStateCache'](_0x4a1efc),'onTransformSelections':_0x2601dd=>this[_0x519195(0x105)][_0x519195(0x295)](_0x2601dd),'onSyncEditingCollabCursor':_0x579e5a=>this['_docSyncEditingCollabCursorService'][_0x519195(0x292)](_0x579e5a),'onTransformRemoteChangesetByIMECache':_0x1bca89=>this[_0x519195(0x286)]['transformRemoteChangeset'](_0x1bca89),'onTransformRemoteChangesetByStateCache':_0x48fdb8=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x48fdb8)};_0x52fa9c['addHandlerCallback'](_0x290210);}}));}};ae=cn([U(0x0,_0x59cccc(_0x11784e)),U(0x1,_0x59cccc(_0x5b7241)),U(0x2,_0x59cccc(ne)),U(0x3,_0x59cccc(re)),U(0x4,_0x59cccc(oe)),U(0x5,_0x59cccc(He)),U(0x6,_0x31756d),U(0x7,_0x59cccc(_0x5364b3))],ae);var ln=Object[_0x4a15b3(0x161)],_n=(_0x361835,_0x2a4486,_0x14f6f0,_0x422628)=>{const _0x4d7145=_0x4a15b3;for(var _0x56a58c=_0x422628>0x1?void 0x0:_0x422628?ln(_0x2a4486,_0x14f6f0):_0x2a4486,_0x415dbb=_0x361835[_0x4d7145(0x25c)]-0x1,_0x3b2117;_0x415dbb>=0x0;_0x415dbb--)(_0x3b2117=_0x361835[_0x415dbb])&&(_0x56a58c=_0x3b2117(_0x56a58c)||_0x56a58c);return _0x56a58c;},Ee=(_0x428efb,_0x5d42c6)=>(_0x459611,_0x3b8a38)=>_0x5d42c6(_0x459611,_0x3b8a38,_0x428efb);let we=class extends _0x1c3a44{constructor(_0x217992,_0x3bce2e,_0xe5c919){const _0x37491e=_0x4a15b3;super(),_(this,_0x37491e(0x255),new Map()),_(this,_0x37491e(0x298),new Map()),_(this,_0x37491e(0x140),!0x1),(this[_0x37491e(0x1c5)]=_0x217992,this['_localStorageService']=_0x3bce2e,this['_revisionService']=_0xe5c919);}[_0x4a15b3(0x25b)](){const _0x354fb2=_0x4a15b3;this[_0x354fb2(0x140)]=!0x0;}[_0x4a15b3(0xfb)](){const _0x576ce1=_0x4a15b3;this[_0x576ce1(0x140)]=!0x1;}get[_0x4a15b3(0x172)](){const _0x14f595=_0x4a15b3;return this[_0x14f595(0x298)];}[_0x4a15b3(0xd4)](){const _0x3b176b=_0x4a15b3;this['exhaustSavingTask']()[_0x3b176b(0x1d1)](()=>super[_0x3b176b(0xd4)]());}async[_0x4a15b3(0x210)](_0x5986a1){const _0x5b35a2=_0x4a15b3;return this[_0x5b35a2(0x140)]?null:this[_0x5b35a2(0x21c)][_0x5b35a2(0x1de)](_0x227947(_0x5986a1));}async[_0x4a15b3(0x14d)](_0x35d219,_0x3a8f25){const _0x3b680c=_0x4a15b3;return!!this[_0x3b680c(0x21c)]['setItem'](_0x35d219,_0x3a8f25);}[_0x4a15b3(0x189)](_0x43eb37,_0x2bfdc7,_0x44a170,_0x4f54a6){const _0x5d6cd3=_0x4a15b3,_0x1b2b2b=this[_0x5d6cd3(0x22f)][_0x5d6cd3(0xcd)](_0x43eb37);this[_0x5d6cd3(0x255)][_0x5d6cd3(0xcc)](_0x43eb37,{'unitID':_0x43eb37,'type':_0x2bfdc7,'awaitingChangeset':_0x44a170,'mutations':_0x4f54a6,'rev':_0x1b2b2b}),this['_saveTaskMap']['has'](_0x43eb37)||this['_scheduleSaving'](_0x43eb37);}[_0x4a15b3(0x132)](_0x6c7a37){const _0x4dd802=_0x4a15b3,_0x1b9385=this[_0x4dd802(0x1bd)]();_0x1b9385===0x0?this[_0x4dd802(0x23a)](_0x6c7a37):this[_0x4dd802(0x298)][_0x4dd802(0xcc)](_0x6c7a37,setTimeout(()=>this[_0x4dd802(0x23a)](_0x6c7a37),_0x1b9385));}[_0x4a15b3(0x1bd)](){const _0xec82fe=_0x4a15b3;var _0x2f9795;return(_0x2f9795=this[_0xec82fe(0x1c5)][_0xec82fe(0x281)](_0xb3edeb))!=null?_0x2f9795:_0x37a5df;}[_0x4a15b3(0x23a)](_0x34eb2d){const _0x43b2ec=_0x4a15b3,_0x36716d=this['_saveTaskMap']['get'](_0x34eb2d);return _0x36716d!==void 0x0&&window['clearTimeout'](_0x36716d),this[_0x43b2ec(0x21c)]['setItem'](_0x227947(_0x34eb2d),this[_0x43b2ec(0x255)][_0x43b2ec(0xf5)](_0x34eb2d))[_0x43b2ec(0x1d1)](()=>this['_saveTaskMap'][_0x43b2ec(0x2ab)](_0x34eb2d));}async[_0x4a15b3(0x1e4)](){const _0x2702c5=_0x4a15b3,_0x21040e=[];this[_0x2702c5(0x298)][_0x2702c5(0x139)]((_0x53e4a8,_0x437af1)=>{const _0xb23a50=_0x2702c5;window[_0xb23a50(0xd6)](_0x53e4a8),_0x21040e[_0xb23a50(0x17f)](this[_0xb23a50(0x23a)](_0x437af1)[_0xb23a50(0x1d1)](()=>{const _0x4bcb29=_0xb23a50;this['_saveTaskMap'][_0x4bcb29(0x2ab)](_0x437af1);}));}),await Promise['all'](_0x21040e);}};we=_n([Ee(0x0,_0x47db95),Ee(0x1,_0x27b18),Ee(0x2,_0x59cccc(_0x2f1af2))],we);class hn extends _0x9a5c56{constructor(){const _0x3500ea=_0x4a15b3;super(),_(this,_0x3500ea(0xe5)),this['urlChange$']=_0x3f6d7a(window,_0x3500ea(0x101))[_0x3500ea(0x134)](_0x261b2e(this[_0x3500ea(0x19c)]),_0x2abf7b(0x1),_0x24ee20(void 0x0));}[_0x4a15b3(0x1e9)](_0x1930e1,_0x4f5f80,_0x5f42ae=!0x1){const _0x4691bd=_0x4a15b3,_0x31ddd8=new URL(window['location']['href']);_0x31ddd8[_0x4691bd(0x10b)][_0x4691bd(0xcc)](_0x1930e1,_0x4f5f80),_0x5f42ae?window[_0x4691bd(0x221)]['replaceState']('','',_0x31ddd8[_0x4691bd(0x257)]()):window[_0x4691bd(0x221)][_0x4691bd(0x1d3)]('','',_0x31ddd8[_0x4691bd(0x257)]());}[_0x4a15b3(0x26f)](_0x59f1ad,_0x440bbf=!0x1){const _0xdb9ca2=_0x4a15b3,_0x9b862a=new URL(window[_0xdb9ca2(0xee)]['href']);_0x9b862a[_0xdb9ca2(0x10b)]['delete'](_0x59f1ad),_0x440bbf?window[_0xdb9ca2(0x221)][_0xdb9ca2(0x135)]('','',_0x9b862a['toString']()):window['history'][_0xdb9ca2(0x1d3)]('','',_0x9b862a[_0xdb9ca2(0x257)]());}[_0x4a15b3(0x2a4)](_0x6ccdc7){const _0x272168=_0x4a15b3;var _0x481a5b;return(_0x481a5b=new URL(window[_0x272168(0xee)][_0x272168(0x1ef)])[_0x272168(0x10b)]['get'](_0x6ccdc7))!=null?_0x481a5b:void 0x0;}}var un=Object[_0x4a15b3(0x163)],dn=Object[_0x4a15b3(0x161)],fn=(_0x25b498,_0x2161f2,_0xc864c6)=>_0x2161f2 in _0x25b498?un(_0x25b498,_0x2161f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc864c6}):_0x25b498[_0x2161f2]=_0xc864c6,Sn=(_0x55ef10,_0x47f699,_0xcb9e5d,_0x5b84c5)=>{const _0x5465b6=_0x4a15b3;for(var _0x56f1d3=_0x5b84c5>0x1?void 0x0:_0x5b84c5?dn(_0x47f699,_0xcb9e5d):_0x47f699,_0x4911a2=_0x55ef10[_0x5465b6(0x25c)]-0x1,_0x19c6ac;_0x4911a2>=0x0;_0x4911a2--)(_0x19c6ac=_0x55ef10[_0x4911a2])&&(_0x56f1d3=_0x19c6ac(_0x56f1d3)||_0x56f1d3);return _0x56f1d3;},Oe=(_0x1e5d82,_0xa961ad)=>(_0x4349a4,_0x2f3668)=>_0xa961ad(_0x4349a4,_0x2f3668,_0x1e5d82),mn=(_0x44b8a8,_0x5e0354,_0x29e40a)=>fn(_0x44b8a8,_0x5e0354+'',_0x29e40a);const In=_0x4a15b3(0x294);let Ae=class extends _0xa59201{constructor(_0x26c4bc=et,_0x220f9f,_0x4c64a0,_0x59915a){const _0x41a08e=_0x4a15b3;super(),this[_0x41a08e(0x1b5)]=_0x26c4bc,this[_0x41a08e(0xc9)]=_0x220f9f,this['_injector']=_0x4c64a0,this[_0x41a08e(0x1c5)]=_0x59915a;const {..._0x28444e}=_0x428b84({},et,this[_0x41a08e(0x1b5)]);this[_0x41a08e(0x1c5)][_0x41a08e(0xbb)](Zi,_0x28444e);}[_0x4a15b3(0x25f)](){const _0xec9b59=_0x4a15b3;this['_registerDependencies'](),this[_0xec9b59(0x2a8)]();}[_0x4a15b3(0x19a)](){this['_registerRenderDependencies']();}[_0x4a15b3(0x2b4)](){const _0x2ab97c=_0x4a15b3;var _0x1bd2a1;const _0x2bfe01=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1a11de,{'useClass':_0x2565ee}],[_0x578f85,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x5a706b(this[_0x2ab97c(0x162)],_0x5a3701(_0x2bfe01,(_0x1bd2a1=this[_0x2ab97c(0x1b5)])==null?void 0x0:_0x1bd2a1[_0x2ab97c(0xce)]));}[_0x4a15b3(0x29d)](){const _0x46f3d4=_0x4a15b3;this[_0x46f3d4(0x275)](this['_renderManagerService'][_0x46f3d4(0x10c)](_0x52e3e5[_0x46f3d4(0x28f)],[Le])),this[_0x46f3d4(0x275)](this[_0x46f3d4(0xc9)]['registerRenderModule'](_0x52e3e5[_0x46f3d4(0x23f)],[Pe]));}['_initDependencies'](){const _0x56e8d1=_0x4a15b3;_0x4d0967(this[_0x56e8d1(0x162)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x5a1eb2(_0x4441c3),Oe(0x1,_0x50bde7),Oe(0x2,_0x59cccc(_0x352cac)),Oe(0x3,_0x47db95)],Ae);var gn=Object[_0x4a15b3(0x161)],vn=(_0xe40cb8,_0x56a1c3,_0xbd553e,_0x4302b5)=>{const _0x19bb28=_0x4a15b3;for(var _0x44cbf9=_0x4302b5>0x1?void 0x0:_0x4302b5?gn(_0x56a1c3,_0xbd553e):_0x56a1c3,_0x5bddb0=_0xe40cb8[_0x19bb28(0x25c)]-0x1,_0x344322;_0x5bddb0>=0x0;_0x5bddb0--)(_0x344322=_0xe40cb8[_0x5bddb0])&&(_0x44cbf9=_0x344322(_0x44cbf9)||_0x44cbf9);return _0x44cbf9;},K=(_0xca5d74,_0x3d3fd1)=>(_0x5bd80e,_0x3300b8)=>_0x3d3fd1(_0x5bd80e,_0x3300b8,_0xca5d74);let st=class extends _0xdac877{constructor(_0x9616b5,_0x48add2,_0x287f07,_0x44acac,_0x61abb0){super(_0x9616b5,_0x48add2,_0x287f07,_0x44acac,_0x61abb0);}async[_0x4a15b3(0x1d6)](_0x401ae4){const _0x1c5ae0=_0x4a15b3,_0x3587a0=await this[_0x1c5ae0(0x190)](),_0x2510be=this[_0x1c5ae0(0x217)](_0x401ae4,_0x3587a0);return this[_0x1c5ae0(0xed)](_0x2510be);}[_0x4a15b3(0x217)](_0x412272,_0x2907f7){const _0x579fee=_0x4a15b3,_0x25c87e=typeof window>'u'?new URL(_0x412272):new URL(_0x412272,window[_0x579fee(0xee)][_0x579fee(0x1a7)]);_0x25c87e['searchParams']['set'](_0x579fee(0x1f0),_0x2907f7);const _0x38af95=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x579fee(0xee)][_0x579fee(0x27b)]);return _0x38af95[_0x579fee(0xf5)]('runId')&&_0x25c87e[_0x579fee(0x10b)]['set']('runId',_0x38af95[_0x579fee(0xf5)](_0x579fee(0xd3))),_0x25c87e[_0x579fee(0x257)]();}async[_0x4a15b3(0x190)](){const _0x2c9aa3=_0x4a15b3;var _0x64f011,_0x3fec40,_0xb150e6;const _0x1c2eab=this[_0x2c9aa3(0x1c5)][_0x2c9aa3(0x281)](_0x3d317c),_0x35a02d=(_0x64f011=_0x1c2eab==null?void 0x0:_0x1c2eab[_0x2c9aa3(0x273)])!=null?_0x64f011:_0x1ff494;return(_0xb150e6=(_0x3fec40=(await this[_0x2c9aa3(0x171)][_0x2c9aa3(0xf5)](_0x35a02d,{'headers':{'Content-Type':'application/json'}}))[_0x2c9aa3(0x12b)])==null?void 0x0:_0x3fec40['ticket'])!=null?_0xb150e6:'';}};st=vn([K(0x0,_0x59cccc(_0x352cac)),K(0x1,_0x59cccc(_0x36f74a)),K(0x2,_0x47db95),K(0x3,_0x5de542),K(0x4,_0x90fd4c)],st);function _0x55c0(_0x41a31b,_0x12e0a8){const _0x1a747e=_0x1a74();return _0x55c0=function(_0x55c01c,_0x2e75fe){_0x55c01c=_0x55c01c-0xb7;let _0x2fb18b=_0x1a747e[_0x55c01c];return _0x2fb18b;},_0x55c0(_0x41a31b,_0x12e0a8);}const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x1c3a44{constructor(){const _0x174fc7=_0x4a15b3;super(),_(this,_0x174fc7(0x2aa),_0x3e423d()),_(this,'_selfUnitIDs',new Set()),_(this,_0x174fc7(0x1f3),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x174fc7(0x24c),new Map()),_(this,'_unitStatus',new Map()),this[_0x174fc7(0x22b)]();}[_0x4a15b3(0xd4)](){const _0x7a272e=_0x4a15b3;super[_0x7a272e(0xd4)](),this[_0x7a272e(0x24c)][_0x7a272e(0x139)]((_0x51c03d,_0x3405d3)=>this[_0x7a272e(0x1f2)](_0x3405d3)),this['_heartbeatTimer']&&window[_0x7a272e(0x1dc)](this[_0x7a272e(0x274)]);}[_0x4a15b3(0x220)](_0x5df677){const _0x413d9b=_0x4a15b3;return this['_ensureSubject'](_0x5df677)[_0x413d9b(0x134)](_0x34e89d());}[_0x4a15b3(0x1c7)](_0x451afc){const _0x50554f=_0x4a15b3;this['_selfUnitIDs']['size']===0x0&&this[_0x50554f(0xcb)](),this[_0x50554f(0xff)][_0x50554f(0x1a6)](_0x451afc),this['_send']({'type':0x0,'memberID':this[_0x50554f(0x2aa)],'unitIDs':[_0x451afc],'isForwarded':!0x1});}['disposeUnit'](_0x51b386){const _0xcc56cf=_0x4a15b3;this['_selfUnitIDs'][_0xcc56cf(0x2ab)](_0x51b386),this[_0xcc56cf(0xff)][_0xcc56cf(0x203)]===0x0&&this[_0xcc56cf(0x274)]&&window[_0xcc56cf(0x1dc)](this[_0xcc56cf(0x274)]);}[_0x4a15b3(0x22b)](){const _0x4f8697=_0x4a15b3;this[_0x4f8697(0x275)](_0x4d8874(_0x3f6d7a(window,_0x4f8697(0x187))[_0x4f8697(0x226)](_0x4521e2=>{const _0x3380da=_0x4f8697;if(_0x4521e2[_0x3380da(0x20e)]!==nt||!_0x4521e2[_0x3380da(0x204)])return;const _0x3f82f4=JSON[_0x3380da(0xbc)](_0x4521e2[_0x3380da(0x204)]);this['_handleEvent'](_0x3f82f4);}))),window[_0x4f8697(0x191)](_0x4f8697(0xd7),()=>this['_send']({'type':0x1,'memberID':this[_0x4f8697(0x2aa)],'unitIDs':Array['from'](this[_0x4f8697(0xff)])}));}[_0x4a15b3(0x247)](_0x453b2d){const _0x2b6766=_0x4a15b3;switch(_0x453b2d[_0x2b6766(0x13f)]){case 0x0:this[_0x2b6766(0xd0)](_0x453b2d);break;case 0x1:this[_0x2b6766(0x2a2)](_0x453b2d);break;case 0x2:this[_0x2b6766(0x2a9)](_0x453b2d);break;}}[_0x4a15b3(0xd0)](_0x1ce3b0){const _0x2533c8=_0x4a15b3,{unitIDs:_0x32e5d7,memberID:_0x225f0a,isForwarded:_0x20c151}=_0x1ce3b0;_0x32e5d7['forEach'](_0x4ebfb3=>{const _0x58e8d5=_0x55c0;if(!_0x20c151&&this[_0x58e8d5(0x1f3)][_0x58e8d5(0x15e)](_0x4ebfb3)&&this[_0x58e8d5(0xc0)](_0x4ebfb3)['next'](_0x32e1b8[_0x58e8d5(0xdb)]),!this[_0x58e8d5(0x1f3)][_0x58e8d5(0x15e)](_0x4ebfb3)||!this[_0x58e8d5(0x1f3)][_0x58e8d5(0xf5)](_0x4ebfb3)[_0x58e8d5(0x15e)](_0x225f0a)){const _0x535e28=this['_unitOnClients'][_0x58e8d5(0xf5)](_0x4ebfb3)||new Set();_0x535e28[_0x58e8d5(0x1a6)](_0x225f0a),this['_unitOnClients'][_0x58e8d5(0xcc)](_0x4ebfb3,_0x535e28),this['_scheduleClearOtherTimer'](_0x225f0a);}}),_0x20c151||this[_0x2533c8(0xd5)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2533c8(0xff)]],'isForwarded':!0x0});}[_0x4a15b3(0xb9)](_0x2fba87){const _0x13bf0e=_0x4a15b3;this[_0x13bf0e(0x1f2)](_0x2fba87);const _0x91250f=window[_0x13bf0e(0x18f)](()=>{const _0x6fc8df=_0x13bf0e;this[_0x6fc8df(0x1f3)]['forEach'](_0x3ae3e1=>{_0x3ae3e1['delete'](_0x2fba87);});},it*0x2);this[_0x13bf0e(0x24c)]['set'](_0x2fba87,_0x91250f);}[_0x4a15b3(0x1f2)](_0x362a31){const _0x4ed1b3=_0x4a15b3;if(this['_clearOtherTimers'][_0x4ed1b3(0x15e)](_0x362a31)){const _0x4ca817=this[_0x4ed1b3(0x24c)]['get'](_0x362a31);_0x4ca817&&window[_0x4ed1b3(0xd6)](_0x4ca817),this[_0x4ed1b3(0x24c)][_0x4ed1b3(0xcc)](_0x362a31,null);}}['_handleLeaveEvent'](_0x456fa7){const _0x42485c=_0x4a15b3,{memberID:_0x25a4a2,unitIDs:_0x4ce5bd}=_0x456fa7;_0x4ce5bd[_0x42485c(0x139)](_0x3c6399=>{const _0x160022=_0x42485c;var _0xaef5b5;const _0x2d0019=this['_unitOnClients']['get'](_0x3c6399);_0x2d0019&&(_0x2d0019[_0x160022(0x2ab)](_0x25a4a2),(_0xaef5b5=this[_0x160022(0xc0)](_0x3c6399))==null||_0xaef5b5[_0x160022(0xf6)](_0x2d0019[_0x160022(0x203)]===0x0?_0x32e1b8[_0x160022(0x202)]:_0x32e1b8[_0x160022(0xdb)]));}),this[_0x42485c(0x1f2)](_0x25a4a2);}['_handleHeartbeatEvent'](_0x2c65cb){const _0x2d52ab=_0x4a15b3;this[_0x2d52ab(0xb9)](_0x2c65cb[_0x2d52ab(0xda)]);}[_0x4a15b3(0xd5)](_0x29832a){const _0x45eb41=_0x4a15b3;localStorage['setItem'](nt,JSON[_0x45eb41(0x1ce)](_0x29832a));}[_0x4a15b3(0xcb)](){const _0xff19d1=_0x4a15b3;this[_0xff19d1(0x274)]=window[_0xff19d1(0x1fb)](()=>{const _0x3408f8=_0xff19d1;this['_send']({'type':0x2,'memberID':this[_0x3408f8(0x2aa)]});},it);}[_0x4a15b3(0xc0)](_0x565093){const _0x298cc5=_0x4a15b3;return this[_0x298cc5(0x16d)]['has'](_0x565093)||this[_0x298cc5(0x16d)][_0x298cc5(0xcc)](_0x565093,new _0x429bcf(_0x32e1b8[_0x298cc5(0x202)])),this['_unitStatus'][_0x298cc5(0xf5)](_0x565093);}}var Mt=(_0x5af9c4=>(_0x5af9c4[_0x5af9c4[_0x4a15b3(0xc5)]=0x0]=_0x4a15b3(0xc5),_0x5af9c4[_0x5af9c4['OK']=0x1]='OK',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1b0)]=0x2]=_0x4a15b3(0x1b0),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x238)]=0x3]=_0x4a15b3(0x238),_0x5af9c4[_0x5af9c4[_0x4a15b3(0xbd)]=0x4]=_0x4a15b3(0xbd),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x253)]=0x5]='UNAUTHENTICATED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x2bc)]=0x6]=_0x4a15b3(0x2bc),_0x5af9c4[_0x5af9c4['INVALID_ARGUMENT']=0x7]=_0x4a15b3(0x24b),_0x5af9c4[_0x5af9c4['TOO_MANY_REQUESTS']=0x8]=_0x4a15b3(0xfc),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x18d)]=0x9]='COMPLETION_FINISHED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x235)]=0xa]='LOGIN_FAILED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x2a1)]=0xb]=_0x4a15b3(0x2a1),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x13a)]=0xc]=_0x4a15b3(0x13a),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x113)]=0xd]=_0x4a15b3(0x113),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x239)]=0xe]=_0x4a15b3(0x239),_0x5af9c4[_0x5af9c4['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4a15b3(0x102),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x19d)]=0x1771]=_0x4a15b3(0x19d),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x20d)]=0x1772]=_0x4a15b3(0x20d),_0x5af9c4[_0x5af9c4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a15b3(0x2c1),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x2c2)]=0x1b59]=_0x4a15b3(0x2c2),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x21a)]=0x1b5a]=_0x4a15b3(0x21a),_0x5af9c4[_0x5af9c4['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4a15b3(0x186),_0x5af9c4[_0x5af9c4['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4a15b3(0x28c),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x16e)]=0x1b5d]=_0x4a15b3(0x16e),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x23c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x118)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x109)]=0x232a]=_0x4a15b3(0x109),_0x5af9c4[_0x5af9c4[_0x4a15b3(0xde)]=0x232b]=_0x4a15b3(0xde),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1b3)]=0x232c]=_0x4a15b3(0x1b3),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1ba)]=0x232d]=_0x4a15b3(0x1ba),_0x5af9c4[_0x5af9c4['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4a15b3(0x244),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x279)]=0x2712]=_0x4a15b3(0x279),_0x5af9c4[_0x5af9c4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4a15b3(0x175),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x168)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1ad)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5af9c4[_0x5af9c4[_0x4a15b3(0xf3)]=0x271b]=_0x4a15b3(0xf3),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x136)]=0x271c]=_0x4a15b3(0x136),_0x5af9c4[_0x5af9c4[_0x4a15b3(0xf2)]=0x271d]=_0x4a15b3(0xf2),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x283)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5af9c4[_0x5af9c4['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0xf8)]=0x2720]=_0x4a15b3(0xf8),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x215)]=0x2af9]=_0x4a15b3(0x215),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x266)]=0x2ee1]=_0x4a15b3(0x266),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x296)]=0x2ee2]=_0x4a15b3(0x296),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x107)]=0x2ee3]=_0x4a15b3(0x107),_0x5af9c4[_0x5af9c4['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4a15b3(0xfe),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x208)]=0x2ee5]=_0x4a15b3(0x208),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x237)]=0x32c9]=_0x4a15b3(0x237),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x205)]=0x32ca]=_0x4a15b3(0x205),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x182)]=0x32cb]=_0x4a15b3(0x182),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x158)]=-0x1]=_0x4a15b3(0x158),_0x5af9c4))(Mt||{}),pn=Object[_0x4a15b3(0x161)],Cn=(_0x314b29,_0x28cc47,_0x3f6e76,_0x53cc6c)=>{const _0x25794a=_0x4a15b3;for(var _0x5737f8=_0x53cc6c>0x1?void 0x0:_0x53cc6c?pn(_0x28cc47,_0x3f6e76):_0x28cc47,_0x4fd9f1=_0x314b29[_0x25794a(0x25c)]-0x1,_0x2d88fb;_0x4fd9f1>=0x0;_0x4fd9f1--)(_0x2d88fb=_0x314b29[_0x4fd9f1])&&(_0x5737f8=_0x2d88fb(_0x5737f8)||_0x5737f8);return _0x5737f8;},be=(_0xbbac42,_0x419f4c)=>(_0x4a71ca,_0x343888)=>_0x419f4c(_0x4a71ca,_0x343888,_0xbbac42);let rt=class extends _0x1c3a44{constructor(_0x4dceee,_0x327167,_0x1492bf){const _0x2142af=_0x4a15b3;super(),this[_0x2142af(0x112)]=_0x4dceee,this[_0x2142af(0x171)]=_0x327167,this[_0x2142af(0x1c5)]=_0x1492bf;}async[_0x4a15b3(0xb7)](_0x4652d6,_0x37ab68,_0x3fdf45,..._0x1c58b7){const _0x440b22=_0x4a15b3;var _0x34032f,_0xd67549,_0x5cc5df,_0x37a0a9;const _0x21d3c2=this[_0x440b22(0x112)][_0x440b22(0x2bd)]();if(!_0x21d3c2)throw new Error(_0x440b22(0xec));const _0x20d39c=((_0x34032f=this['_configService']['getConfig'](_0x43514))!=null?_0x34032f:_0x1a9fc1)+'/'+_0x4652d6+_0x440b22(0xd8)+_0x37ab68,_0x5c570d=new URL(window[_0x440b22(0xee)][_0x440b22(0x1ef)]),_0x2a251a={'scriptId':_0x4652d6,'runId':(_0xd67549=_0x5c570d[_0x440b22(0x10b)][_0x440b22(0xf5)](_0x440b22(0xd3)))!=null?_0xd67549:'','function':_0x37ab68,'unitId':_0x21d3c2[_0x440b22(0xc7)](),'argsOfFunction':JSON[_0x440b22(0x1ce)](_0x1c58b7),'invokeId':(_0x5cc5df=_0x3fdf45['invokeId'])!=null?_0x5cc5df:'','executionId':(_0x37a0a9=_0x3fdf45[_0x440b22(0xb8)])!=null?_0x37a0a9:''};try{const _0x1f8ecb=await this[_0x440b22(0x171)]['post'](_0x20d39c,{'body':_0x2a251a});return _0x1f8ecb[_0x440b22(0x12b)]['error']&&_0x1f8ecb['body'][_0x440b22(0x18c)][_0x440b22(0x28e)]!==Mt['OK']?_0x440b22(0x1c2):_0x1f8ecb[_0x440b22(0x12b)]['result'];}catch{return _0x440b22(0x1c2);}}};rt=Cn([be(0x0,_0x261934),be(0x1,_0x59cccc(_0x36f74a)),be(0x2,_0x47db95)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x51c750=_0xa2c5;(function(_0x16be7c,_0x5bd503){const _0x5ee189=_0xa2c5,_0x172203=_0x16be7c();while(!![]){try{const _0x448b50=-parseInt(_0x5ee189(0x206))/0x1*(-parseInt(_0x5ee189(0x1ff))/0x2)+parseInt(_0x5ee189(0x200))/0x3+parseInt(_0x5ee189(0x205))/0x4*(-parseInt(_0x5ee189(0x208))/0x5)+-parseInt(_0x5ee189(0x202))/0x6*(-parseInt(_0x5ee189(0x201))/0x7)+parseInt(_0x5ee189(0x204))/0x8+parseInt(_0x5ee189(0x1fd))/0x9+parseInt(_0x5ee189(0x1fe))/0xa*(-parseInt(_0x5ee189(0x1f5))/0xb);if(_0x448b50===_0x5bd503)break;else _0x172203['push'](_0x172203['shift']());}catch(_0x8ba956){_0x172203['push'](_0x172203['shift']());}}}(_0x26a1,0x5ba8f));function _0xa2c5(_0x2ddb55,_0x3f2164){const _0x26a100=_0x26a1();return _0xa2c5=function(_0xa2c5d,_0x15ace1){_0xa2c5d=_0xa2c5d-0x1f3;let _0x6c864c=_0x26a100[_0xa2c5d];return _0x6c864c;},_0xa2c5(_0x2ddb55,_0x3f2164);}const e={'collab-client':{'tooltip':{'reconnect':_0x51c750(0x1fb)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x51c750(0x1fa),'notCollab':_0x51c750(0x1f3),'synced':_0x51c750(0x1f7),'syncing':'Syncing...','offline':_0x51c750(0x207)},'session':{'connection-failed':_0x51c750(0x203),'will-retry':_0x51c750(0x1f6),'room-full':_0x51c750(0x1fc),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x51c750(0x1f4),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x51c750(0x1f8),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x51c750(0x1f9)},'closeRoom':_0x51c750(0x209)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x26a1(){const _0x448d1d=['Collaboration\x20Conflict','77lBmrTA','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Synced','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Click\x20to\x20Reconnect','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','5393799AKqjXI','2600510NiQDBm','176RRYKQM','126138WGpSkg','21322fuHOea','1140bbZRug','Connection\x20failed,\x20please\x20check\x20your\x20network.','4032200QKPcNd','486488PvnSKb','6742AEdNXv','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','5qtXlqj','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Local\x20file'];_0x26a1=function(){return _0x448d1d;};return _0x26a1();}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x525e(){const _0x674ad8=['7LFzAJy','790095vBewry','پرونده\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رفت.','153CYgAkZ','68840eqmPMz','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','5240fSIEAt','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20همکاری','1515340QdMXmC','تداخل\x20ویرایش','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','32986XyHror','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','همگام\x20سازی','3107434CsUULe','1LAqZrG','64FYHtKD','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1846014kfDobG'];_0x525e=function(){return _0x674ad8;};return _0x525e();}const _0x25a602=_0xb4a1;function _0xb4a1(_0x23156f,_0xbd8ab5){const _0x525ef2=_0x525e();return _0xb4a1=function(_0xb4a111,_0x2fdb77){_0xb4a111=_0xb4a111-0xbc;let _0x3c9a38=_0x525ef2[_0xb4a111];return _0x3c9a38;},_0xb4a1(_0x23156f,_0xbd8ab5);}(function(_0x2fd8a4,_0x34eae3){const _0x1540de=_0xb4a1,_0xfc2771=_0x2fd8a4();while(!![]){try{const _0x1fdc30=parseInt(_0x1540de(0xcb))/0x1*(-parseInt(_0x1540de(0xc7))/0x2)+parseInt(_0x1540de(0xd0))/0x3+parseInt(_0x1540de(0xcc))/0x4*(-parseInt(_0x1540de(0xc1))/0x5)+parseInt(_0x1540de(0xce))/0x6*(parseInt(_0x1540de(0xcf))/0x7)+-parseInt(_0x1540de(0xbe))/0x8*(-parseInt(_0x1540de(0xbd))/0x9)+-parseInt(_0x1540de(0xc4))/0xa+-parseInt(_0x1540de(0xca))/0xb;if(_0x1fdc30===_0x34eae3)break;else _0xfc2771['push'](_0xfc2771['shift']());}catch(_0x742f04){_0xfc2771['push'](_0xfc2771['shift']());}}}(_0x525e,0x3d0ae));const o={'collab-client':{'tooltip':{'reconnect':_0x25a602(0xc0)}},'collabStatus':{'fetchMiss':_0x25a602(0xcd),'conflict':_0x25a602(0xc5),'notCollab':_0x25a602(0xd1),'synced':_0x25a602(0xc9),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x25a602(0xc6)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x25a602(0xc3),'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':'خطای\x20اعتبارسنجی','content':_0x25a602(0xbc)},'collaboration':{'single-unit':{'warning':_0x25a602(0xc8)},'closeRoom':_0x25a602(0xc2)},'auth':{'needGotoLoginAlert':_0x25a602(0xbf)}};export{o as default};
|