@univerjs-pro/collaboration-client-ui 0.8.2-nightly.202506251607 → 0.8.2-nightly.202506261607
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/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4639a6,_0xa76a91){const _0x5775cc=_0x311b,_0x23fa14=_0x4639a6();while(!![]){try{const _0x2f8457=-parseInt(_0x5775cc(0x16e))/0x1+parseInt(_0x5775cc(0xa9))/0x2+-parseInt(_0x5775cc(0x149))/0x3*(parseInt(_0x5775cc(0x27d))/0x4)+parseInt(_0x5775cc(0x1ff))/0x5*(parseInt(_0x5775cc(0xad))/0x6)+-parseInt(_0x5775cc(0x2ec))/0x7+-parseInt(_0x5775cc(0x186))/0x8+-parseInt(_0x5775cc(0x24f))/0x9*(-parseInt(_0x5775cc(0x87))/0xa);if(_0x2f8457===_0xa76a91)break;else _0x23fa14['push'](_0x23fa14['shift']());}catch(_0x4eaa17){_0x23fa14['push'](_0x23fa14['shift']());}}}(_0x447e,0x8a5a4),function(_0x29072e,_0x360e88){const _0x1f25ba=_0x311b;typeof exports==_0x1f25ba(0x1a8)&&typeof module<'u'?_0x360e88(exports,require(_0x1f25ba(0x2ab)),require(_0x1f25ba(0x2de)),require(_0x1f25ba(0x1cc)),require(_0x1f25ba(0x164)),require('@univerjs/docs-ui'),require(_0x1f25ba(0x226)),require('rxjs'),require(_0x1f25ba(0xab)),require(_0x1f25ba(0x1a9)),require(_0x1f25ba(0x2fc)),require('@univerjs/sheets'),require(_0x1f25ba(0x8f)),require(_0x1f25ba(0x154)),require(_0x1f25ba(0x112)),require('@univerjs/ui'),require(_0x1f25ba(0x21a)),require('react'),require(_0x1f25ba(0x7d))):typeof define==_0x1f25ba(0x10d)&&define['amd']?define([_0x1f25ba(0x134),_0x1f25ba(0x2ab),'@univerjs/core',_0x1f25ba(0x1cc),_0x1f25ba(0x164),_0x1f25ba(0x288),_0x1f25ba(0x226),_0x1f25ba(0x266),_0x1f25ba(0xab),_0x1f25ba(0x1a9),'@univerjs/engine-formula',_0x1f25ba(0x118),_0x1f25ba(0x8f),'@univerjs/sheets-ui',_0x1f25ba(0x112),_0x1f25ba(0x169),_0x1f25ba(0x21a),'react','@univerjs/rpc'],_0x360e88):(_0x29072e=typeof globalThis<'u'?globalThis:_0x29072e||self,_0x360e88(_0x29072e['UniverProCollaborationClientUi']={},_0x29072e[_0x1f25ba(0x248)],_0x29072e[_0x1f25ba(0x176)],_0x29072e['UniverEngineRender'],_0x29072e[_0x1f25ba(0x1c0)],_0x29072e[_0x1f25ba(0x237)],_0x29072e[_0x1f25ba(0x85)],_0x29072e[_0x1f25ba(0x266)],_0x29072e[_0x1f25ba(0x265)],_0x29072e[_0x1f25ba(0x15b)],_0x29072e['UniverEngineFormula'],_0x29072e['UniverSheets'],_0x29072e[_0x1f25ba(0x266)][_0x1f25ba(0x108)],_0x29072e[_0x1f25ba(0x95)],_0x29072e[_0x1f25ba(0xf2)],_0x29072e['UniverUi'],_0x29072e[_0x1f25ba(0x2c5)],_0x29072e['React'],_0x29072e[_0x1f25ba(0x2c3)]));}(this,function(_0x1a2a0b,_0x16e438,_0x453cf1,_0xa264dd,_0x5df904,_0x608d4f,_0x5e7451,_0xbcaee6,_0x46cc83,_0x131474,_0x3121a8,_0x54fab8,_0x286514,_0x4d81f4,_0x20e32a,_0x34c313,_0x3dc756,_0x5d19d4,_0x56a822){'use strict';const _0x1b3cae=_0x311b;var _0x5480c1=Object[_0x1b3cae(0x21e)],_0x459087=(_0x12b69b,_0x49b879,_0x5e8d8d)=>_0x49b879 in _0x12b69b?_0x5480c1(_0x12b69b,_0x49b879,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e8d8d}):_0x12b69b[_0x49b879]=_0x5e8d8d,_0x347b87=(_0x426ed1,_0x55e25d,_0x57c6d3)=>_0x459087(_0x426ed1,typeof _0x55e25d!=_0x1b3cae(0x293)?_0x55e25d+'':_0x55e25d,_0x57c6d3),_0x196240=Object['getOwnPropertyDescriptor'],_0x4ebc38=(_0x17163d,_0xb021cd,_0xc72d7a,_0x4b3932)=>{const _0x58cda8=_0x1b3cae;for(var _0x174cb5=_0x4b3932>0x1?void 0x0:_0x4b3932?_0x196240(_0xb021cd,_0xc72d7a):_0xb021cd,_0x1851c0=_0x17163d[_0x58cda8(0x25b)]-0x1,_0x5cd830;_0x1851c0>=0x0;_0x1851c0--)(_0x5cd830=_0x17163d[_0x1851c0])&&(_0x174cb5=_0x5cd830(_0x174cb5)||_0x174cb5);return _0x174cb5;},_0x26d0b9=(_0x427ea8,_0x4af37f)=>(_0x55c367,_0x533264)=>_0x4af37f(_0x55c367,_0x533264,_0x427ea8);let _0x1f14ca=class extends _0x453cf1['RxDisposable']{constructor(_0x4cf6f5,_0x52569d){const _0x444c32=_0x1b3cae;super(),this['_docClipboardService']=_0x4cf6f5,this[_0x444c32(0x26c)]=_0x52569d,this[_0x444c32(0xff)]();}[_0x1b3cae(0xff)](){const _0x280b54=_0x1b3cae,_0x218977=this;this[_0x280b54(0x7a)](this['_docClipboardService'][_0x280b54(0x1a1)]({'onBeforePasteImage':async _0x32d1d0=>{const _0x1c072a=_0x280b54,_0x39c5a3=await _0x218977['_imageIoService']['saveImage'](_0x32d1d0);return _0x39c5a3?{'source':_0x39c5a3['source'],'imageSourceType':_0x39c5a3[_0x1c072a(0x1c6)]}:null;}}));}};_0x1f14ca=_0x4ebc38([_0x26d0b9(0x0,_0x608d4f[_0x1b3cae(0x252)]),_0x26d0b9(0x1,_0x5e7451[_0x1b3cae(0xb1)])],_0x1f14ca);const _0x438b90=[_0x1b3cae(0x18b),_0x1b3cae(0x2c7),'green.600',_0x1b3cae(0x1d2),_0x1b3cae(0xef),_0x1b3cae(0x17a)];class _0xd0f6e4 extends _0x453cf1[_0x1b3cae(0xb5)]{constructor(){const _0x14beb9=_0x1b3cae;super(...arguments),_0x347b87(this,'_assignedColors',new Map()),_0x347b87(this,_0x14beb9(0x8c),0x0);}[_0x1b3cae(0x1ac)](_0x38f38c){const _0x5c50bd=_0x1b3cae;if(this[_0x5c50bd(0x12f)][_0x5c50bd(0x22e)](_0x38f38c))return this[_0x5c50bd(0x12f)]['get'](_0x38f38c);const _0x47b865=_0x438b90[this['_colorIndex']];return this[_0x5c50bd(0x8c)]=(this[_0x5c50bd(0x8c)]+0x1)%_0x438b90[_0x5c50bd(0x25b)],this[_0x5c50bd(0x12f)]['set'](_0x38f38c,_0x47b865),_0x47b865;}}function _0x62182d(_0x17be69){const _0x58fd43=_0x1b3cae;let _0xf7e857='';for(const _0x3114f2 of _0x17be69){const {startOffset:_0x436608,endOffset:_0x21275c,isActive:_0x1a8b0f,rangeType:_0x412ba2,segmentId:_0x1b023d,segmentPage:_0x18c491}=_0x3114f2;_0xf7e857[_0x58fd43(0x25b)]&&(_0xf7e857+=','),_0xf7e857+=_0x436608+':'+_0x21275c+':'+(_0x1a8b0f?'1':'0')+':'+_0x412ba2+':'+_0x1b023d+':'+_0x18c491;}return _0xf7e857;}function _0x4f7b50(_0xc58488){const _0x591de4=_0x1b3cae,_0x4128e2=_0xc58488['split'](','),_0x12e7fc=[];for(const _0x4d2469 of _0x4128e2){const [_0xd119bf,_0x2f3604,_0x2e3d00,_0x2efc46,_0x5d8c1e,_0x209a8f]=_0x4d2469['split'](':');_0x12e7fc[_0x591de4(0x15a)]({'startOffset':Number(_0xd119bf),'endOffset':Number(_0x2f3604),'collapsed':_0xd119bf===_0x2f3604,'isActive':_0x2e3d00==='1','rangeType':_0x2efc46===_0x453cf1[_0x591de4(0x2a5)]['TEXT']?_0x453cf1[_0x591de4(0x2a5)][_0x591de4(0x7c)]:_0x453cf1[_0x591de4(0x2a5)][_0x591de4(0x26e)],'segmentId':typeof _0x5d8c1e==_0x591de4(0x15d)?String(_0x5d8c1e):'','segmentPage':Number(_0x209a8f!=null?_0x209a8f:-0x1)});}return _0x12e7fc['some'](_0x2a9e9f=>_0x2a9e9f['isActive'])||(_0x12e7fc[0x0][_0x591de4(0xd1)]=!0x0),_0x12e7fc;}class _0x2493dc extends _0x453cf1[_0x1b3cae(0x274)]{constructor(){const _0x42f56a=_0x1b3cae;super(...arguments),_0x347b87(this,_0x42f56a(0x1fb),new _0xbcaee6['BehaviorSubject'](null)),_0x347b87(this,'collabCursorState$',this[_0x42f56a(0x1fb)][_0x42f56a(0x133)]());}['syncEditingCollabCursor'](_0x5862b2){const _0x5cf781=_0x1b3cae,{unitID:_0x307003,memberID:_0x132f7a,textRanges:_0xdf7c78}=_0x5862b2,_0x2b716c=_0x62182d(_0xdf7c78);if(_0x2b716c==='')return;const _0x12f239={'unitID':_0x307003,'memberID':_0x132f7a,'selection':_0x2b716c};this[_0x5cf781(0x1fb)][_0x5cf781(0x290)](_0x12f239);}}var _0x1b78ea=Object[_0x1b3cae(0x16b)],_0x21761a=(_0x24c5a1,_0x1da443,_0x148f41,_0x4555f0)=>{for(var _0x508c4d=_0x4555f0>0x1?void 0x0:_0x4555f0?_0x1b78ea(_0x1da443,_0x148f41):_0x1da443,_0x35de9a=_0x24c5a1['length']-0x1,_0x5766da;_0x35de9a>=0x0;_0x35de9a--)(_0x5766da=_0x24c5a1[_0x35de9a])&&(_0x508c4d=_0x5766da(_0x508c4d)||_0x508c4d);return _0x508c4d;},_0x11f7c2=(_0x2cc3c2,_0x2b3281)=>(_0x13639d,_0x483004)=>_0x2b3281(_0x13639d,_0x483004,_0x2cc3c2);const _0xad5488=0x12c,_0x5c4236=0x64;let _0x1869ef=class extends _0x453cf1[_0x1b3cae(0x274)]{constructor(_0x2ecae9,_0xdf60c4,_0x3a8d03,_0x13b07a,_0x5e37b5,_0x139cb4,_0x381d27,_0xb5c567,_0x155956){const _0x3710de=_0x1b3cae;super(),_0x347b87(this,_0x3710de(0x2e0),!0x1),_0x347b87(this,_0x3710de(0xff),!0x1),_0x347b87(this,'_cursorInfo$',new _0xbcaee6[(_0x3710de(0x26a))](new Map())),_0x347b87(this,'cursorInfo$',this[_0x3710de(0x2fd)][_0x3710de(0x133)]()),_0x347b87(this,_0x3710de(0x15c),new _0xbcaee6[(_0x3710de(0x26a))]([])),_0x347b87(this,_0x3710de(0x124),this[_0x3710de(0x15c)][_0x3710de(0x11d)](_0xbcaee6[_0x3710de(0xdf)](_0xad5488))),_0x347b87(this,_0x3710de(0xe9),_0x453cf1['debounce'](_0x5f58e=>{const _0x44a03f=_0x3710de,_0x3fba8e={'eventID':_0x46cc83[_0x44a03f(0x6b)][_0x44a03f(0x22c)],'data':{'unitID':this[_0x44a03f(0x2f9)],'memberID':this[_0x44a03f(0xba)][_0x44a03f(0xed)](),'selection':_0x62182d(_0x5f58e)}};this[_0x44a03f(0xba)]['send'](_0x3fba8e,this['unitID']);},_0x5c4236)),(this[_0x3710de(0x2f9)]=_0x2ecae9,this[_0x3710de(0xba)]=_0xdf60c4,this[_0x3710de(0xb3)]=_0x3a8d03,this['_colorAssignService']=_0x13b07a,this[_0x3710de(0x241)]=_0x5e37b5,this[_0x3710de(0x2cd)]=_0x139cb4,this[_0x3710de(0x1bc)]=_0x381d27,this[_0x3710de(0x200)]=_0xb5c567,this[_0x3710de(0x72)]=_0x155956);}get[_0x1b3cae(0xf0)](){const _0x168a93=_0x1b3cae;return this[_0x168a93(0x2fd)][_0x168a93(0x233)]();}get[_0x1b3cae(0x1e8)](){const _0x485bad=_0x1b3cae;return this[_0x485bad(0x15c)][_0x485bad(0x233)]();}['dispose'](){const _0x4801e7=_0x1b3cae;super['dispose'](),this[_0x4801e7(0x2fd)][_0x4801e7(0x290)](new Map()),this[_0x4801e7(0x2fd)][_0x4801e7(0x24d)](),this[_0x4801e7(0x15c)]['next']([]),this[_0x4801e7(0x15c)]['complete']();}[_0x1b3cae(0x2c1)](){const _0xe35265=_0x1b3cae;this[_0xe35265(0xff)]||(this[_0xe35265(0xff)]=!0x0,this[_0xe35265(0xba)][_0xe35265(0x8a)][_0xe35265(0x11d)](_0xbcaee6[_0xe35265(0x2f8)](this[_0xe35265(0x162)]))['subscribe'](_0x5e0386=>{const _0x5ee1dd=_0xe35265;_0x5e0386===_0x16e438[_0x5ee1dd(0x306)]['ONLINE']?this[_0x5ee1dd(0x2e6)]():this[_0x5ee1dd(0x107)]();}),this['_session'][_0xe35265(0x24e)]['pipe'](_0xbcaee6['takeUntil'](this[_0xe35265(0x162)]))[_0xe35265(0x1d0)](_0x176176=>{const _0x56c871=_0xe35265,_0x48f071=_0x176176[_0x56c871(0x192)];_0x48f071===_0x46cc83[_0x56c871(0x6b)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x176176),_0x48f071===_0x46cc83[_0x56c871(0x6b)][_0x56c871(0x130)]&&this[_0x56c871(0x10e)](_0x176176);}),this[_0xe35265(0x7a)](this['_commandService']['onCommandExecuted'](_0x1f324f=>{const _0x439c10=_0xe35265,_0x12118e=_0x1f324f[_0x439c10(0x2b7)];_0x12118e!=null&&this['_online']&&_0x1f324f['id']===_0x131474[_0x439c10(0x279)]['id']&&_0x12118e['unitId']===this[_0x439c10(0x2f9)]&&_0x12118e[_0x439c10(0x103)]===!0x1&&_0x12118e[_0x439c10(0x244)][_0x439c10(0x25b)]>0x0&&this[_0x439c10(0xe9)](_0x12118e['ranges']);})),this[_0xe35265(0x2cd)][_0xe35265(0x1ae)]['pipe'](_0xbcaee6['takeUntil'](this['dispose$']))[_0xe35265(0x1d0)](_0x29d618=>{const _0x3627ec=_0xe35265;if((_0x29d618==null?void 0x0:_0x29d618[_0x3627ec(0x2f9)])!==this['unitID'])return;const _0x5714cb={'eventID':_0x46cc83[_0x3627ec(0x6b)][_0x3627ec(0x22c)],'data':_0x29d618};this['_onCursorUpdate'](_0x5714cb);}),this[_0xe35265(0x7a)](this[_0xe35265(0x72)][_0xe35265(0x1fd)](_0x1d8c64=>{const _0x38a54e=_0xe35265;if(_0x1d8c64[_0x38a54e(0x2b7)]==null)return;const _0x1567df=_0x1d8c64[_0x38a54e(0x2b7)];if(_0x1d8c64['id']!==_0x131474['RichTextEditingMutation']['id']||_0x1567df[_0x38a54e(0xee)]!==this[_0x38a54e(0x2f9)])return;const _0x3506f3={'id':'doc.mutation.rich-text-editing','params':_0x1567df},_0x43f8fe=this[_0x38a54e(0xf0)];for(const [_0x2beb34,_0x327c6c]of _0x43f8fe){const _0x33956b={'id':_0x38a54e(0x9c),'params':{'unitId':this[_0x38a54e(0x2f9)],'actions':null,'textRanges':_0x327c6c[_0x38a54e(0x244)]}},_0x7be6b5=this[_0x38a54e(0x1bc)][_0x38a54e(0x225)](_0x3506f3,_0x33956b,!0x1);if(_0x46cc83[_0x38a54e(0xe2)](_0x7be6b5))throw _0x7be6b5[_0x38a54e(0x104)];_0x43f8fe[_0x38a54e(0x234)](_0x2beb34,{..._0x327c6c,'ranges':_0x7be6b5[_0x38a54e(0x2d9)][_0x38a54e(0x2b7)]['textRanges']});}queueMicrotask(()=>{const _0x37adb5=_0x38a54e;this[_0x37adb5(0x2fd)][_0x37adb5(0x290)](_0x43f8fe);});})));}[_0x1b3cae(0x170)](_0x2f03c7){const _0x40e2f5=_0x1b3cae;var _0x2755a4,_0x568bb6;const {memberID:_0x314100,selection:_0x61fc86}=_0x2f03c7[_0x40e2f5(0x207)],_0x1cb2e4=_0x4f7b50(_0x61fc86),_0x4adb25=(_0x568bb6=(_0x2755a4=this['_memberService'][_0x40e2f5(0x221)](this['unitID'],_0x314100))==null?void 0x0:_0x2755a4[_0x40e2f5(0x129)])!=null?_0x568bb6:_0x40e2f5(0xa5),_0x2e33b3={'color':this[_0x40e2f5(0x181)][_0x40e2f5(0x1ac)](_0x314100),'name':_0x4adb25,'ranges':_0x1cb2e4},_0x57a4fb=this[_0x40e2f5(0xf0)];_0x57a4fb['set'](_0x314100,_0x2e33b3),this[_0x40e2f5(0x2fd)][_0x40e2f5(0x290)](_0x57a4fb);}['_onCursorDelete'](_0x231896){const _0x5cd163=_0x1b3cae,{memberID:_0x5391c4}=_0x231896[_0x5cd163(0x207)],_0x386978=this['cursorInfo'];_0x386978[_0x5cd163(0xbf)](_0x5391c4),this['_cursorInfo$'][_0x5cd163(0x290)](_0x386978);}[_0x1b3cae(0x2e6)](){const _0x19364b=_0x1b3cae;var _0x145334;if(this[_0x19364b(0x2e0)]=!0x0,((_0x145334=this[_0x19364b(0x200)][_0x19364b(0xc0)]())==null?void 0x0:_0x145334['getUnitId']())!==this[_0x19364b(0x2f9)])return;const _0x29ac1d=this[_0x19364b(0xb3)]['get'](_0x131474[_0x19364b(0x2ad)])[_0x19364b(0x2dc)]();Array[_0x19364b(0x23d)](_0x29ac1d)&&_0x29ac1d[_0x19364b(0x25b)]>0x0&&this[_0x19364b(0xe9)](_0x29ac1d);}[_0x1b3cae(0x107)](){const _0x9aa118=_0x1b3cae;this[_0x9aa118(0x2e0)]=!0x1;}};_0x1869ef=_0x21761a([_0x11f7c2(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x25a)])),_0x11f7c2(0x3,_0x453cf1['Inject'](_0xd0f6e4)),_0x11f7c2(0x4,_0x453cf1['Inject'](_0x16e438[_0x1b3cae(0x179)])),_0x11f7c2(0x5,_0x453cf1['Inject'](_0x2493dc)),_0x11f7c2(0x6,_0x46cc83['ITransformService']),_0x11f7c2(0x7,_0x453cf1['IUniverInstanceService']),_0x11f7c2(0x8,_0x453cf1[_0x1b3cae(0x128)])],_0x1869ef);var _0x580336=Object['getOwnPropertyDescriptor'],_0x14d2ab=(_0x411f5b,_0x42d7fb,_0x1cf8ec,_0x5c4196)=>{for(var _0x14ca79=_0x5c4196>0x1?void 0x0:_0x5c4196?_0x580336(_0x42d7fb,_0x1cf8ec):_0x42d7fb,_0x4b0cf4=_0x411f5b['length']-0x1,_0x2b15ff;_0x4b0cf4>=0x0;_0x4b0cf4--)(_0x2b15ff=_0x411f5b[_0x4b0cf4])&&(_0x14ca79=_0x2b15ff(_0x14ca79)||_0x14ca79);return _0x14ca79;},_0x3f8291=(_0x19cdff,_0x3edae0)=>(_0x3865ad,_0x5e832d)=>_0x3edae0(_0x3865ad,_0x5e832d,_0x19cdff);const _0x313b57=0x12c,_0x2c7562=0x64,_0x926f71=()=>{let _0x27f5be=[],_0x5a19f9=!0x1;return _0x59d503=>{const _0x1119cd=_0x311b;_0x27f5be[_0x1119cd(0x15a)](_0x59d503),_0x5a19f9||(_0x5a19f9=!0x0,setTimeout(()=>{const _0x499e32=_0x1119cd;_0x27f5be[_0x499e32(0x2d0)](_0x475551=>_0x475551()),_0x27f5be=[],_0x5a19f9=!0x1;}));};};let _0x2d959d=class extends _0x453cf1['RxDisposable']{constructor(_0x450e99,_0x22eb7c,_0x1581a1,_0x48cd15,_0xbc88de,_0x3fa8b6,_0x474535,_0xb8029d){const _0x1e4948=_0x1b3cae;super(),_0x347b87(this,_0x1e4948(0x2e0),!0x1),_0x347b87(this,_0x1e4948(0xff),!0x1),_0x347b87(this,_0x1e4948(0x2fd),new _0xbcaee6[(_0x1e4948(0x26a))](new Map())),_0x347b87(this,_0x1e4948(0xda),this[_0x1e4948(0x2fd)]['asObservable']()),_0x347b87(this,'_roomMembers$',new _0xbcaee6[(_0x1e4948(0x26a))]([])),_0x347b87(this,_0x1e4948(0x124),this[_0x1e4948(0x15c)]['pipe'](_0xbcaee6[_0x1e4948(0xdf)](_0x313b57))),_0x347b87(this,'_updateLocalCursor',_0x453cf1['debounce']((_0x4fb35e,_0x324a99)=>{const _0x5143c1=_0x1e4948,_0x1acfeb={'eventID':_0x46cc83[_0x5143c1(0x6b)][_0x5143c1(0x22c)],'data':{'unitID':this[_0x5143c1(0x2f9)],'memberID':this['_session'][_0x5143c1(0xed)](),'selection':_0x3121a8['serializeRangeWithSheet'](_0x4fb35e,_0x324a99[_0x5143c1(0x1a2)])}};this['_session'][_0x5143c1(0x156)](_0x1acfeb,this[_0x5143c1(0x2f9)]);},_0x2c7562)),(this[_0x1e4948(0x2f9)]=_0x450e99,this[_0x1e4948(0xba)]=_0x22eb7c,this['_injector']=_0x1581a1,this['_colorAssignService']=_0x48cd15,this[_0x1e4948(0x241)]=_0xbc88de,this['_univerInstanceService']=_0x3fa8b6,this['_commandService']=_0x474535,this[_0x1e4948(0xdc)]=_0xb8029d);}get[_0x1b3cae(0xf0)](){const _0x3af489=_0x1b3cae;return this[_0x3af489(0x2fd)]['getValue']();}get['roomMembers'](){const _0x33eae5=_0x1b3cae;return this[_0x33eae5(0x15c)]['getValue']();}[_0x1b3cae(0x2d6)](){const _0x4bbf3d=_0x1b3cae;super[_0x4bbf3d(0x2d6)](),this['_cursorInfo$'][_0x4bbf3d(0x290)](new Map()),this[_0x4bbf3d(0x2fd)][_0x4bbf3d(0x24d)](),this[_0x4bbf3d(0x15c)][_0x4bbf3d(0x290)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x537045=_0x1b3cae;this[_0x537045(0xff)]||(this[_0x537045(0xff)]=!0x0,this[_0x537045(0xba)][_0x537045(0x8a)][_0x537045(0x11d)](_0xbcaee6['takeUntil'](this['dispose$']))[_0x537045(0x1d0)](_0xc9e7ef=>{const _0x1d3b0b=_0x537045;_0xc9e7ef===_0x16e438['SessionStatus'][_0x1d3b0b(0x17b)]?this[_0x1d3b0b(0x2e6)]():this[_0x1d3b0b(0x107)]();}),this[_0x537045(0xba)][_0x537045(0x24e)]['pipe'](_0xbcaee6[_0x537045(0x2f8)](this[_0x537045(0x162)]))['subscribe'](_0x3caabd=>{const _0x4e3ff7=_0x537045,_0x36735f=_0x3caabd['eventID'];_0x36735f===_0x46cc83['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3caabd),_0x36735f===_0x46cc83[_0x4e3ff7(0x6b)][_0x4e3ff7(0x130)]&&this['_onCursorDelete'](_0x3caabd);}),this[_0x537045(0x163)](),this[_0x537045(0x7a)](this[_0x537045(0x72)][_0x537045(0x1fd)](_0x238975=>{const _0x5110c4=_0x537045;if(this['_online']&&_0x238975['id']===_0x54fab8[_0x5110c4(0x131)]['id']&&_0x238975[_0x5110c4(0x2b7)][_0x5110c4(0xee)]===this['unitID']){const _0x47e22e=_0x238975[_0x5110c4(0x2b7)];this[_0x5110c4(0xe9)](_0x47e22e['subUnitId'],_0x47e22e[_0x5110c4(0x7e)][0x0]);}})));}[_0x1b3cae(0x170)](_0x12e8e5){const _0x58571a=_0x1b3cae;var _0x4210fe,_0xcfb3f3;const {memberID:_0x565e0e,selection:_0x4eb4c7}=_0x12e8e5[_0x58571a(0x207)],{sheetName:_0xfa28fd,range:_0x4f9026}=_0x3121a8['deserializeRangeWithSheet'](_0x4eb4c7),_0x1d9a83={'name':(_0xcfb3f3=(_0x4210fe=this[_0x58571a(0x241)]['getMember'](this[_0x58571a(0x2f9)],_0x565e0e))==null?void 0x0:_0x4210fe[_0x58571a(0x129)])!=null?_0xcfb3f3:_0x58571a(0xa5),'range':this[_0x58571a(0x89)](_0xfa28fd,_0x4f9026),'sheetID':_0xfa28fd,'color':this['_colorAssignService'][_0x58571a(0x1ac)](_0x565e0e),'selection':_0x4eb4c7},_0x4f285f=this[_0x58571a(0xf0)];_0x4f285f[_0x58571a(0x234)](_0x565e0e,_0x1d9a83),this['_cursorInfo$']['next'](_0x4f285f);}[_0x1b3cae(0x10e)](_0x2c98c8){const _0xd31f4b=_0x1b3cae,{memberID:_0x571c1e}=_0x2c98c8['data'],_0x31c36f=this[_0xd31f4b(0xf0)];_0x31c36f['delete'](_0x571c1e),this[_0xd31f4b(0x2fd)][_0xd31f4b(0x290)](_0x31c36f);}[_0x1b3cae(0x89)](_0xb060a2,_0x2ab1b9){const _0x33a30c=_0x1b3cae;var _0x339780,_0x2db5ae;const _0x35fc74=(_0x2db5ae=(_0x339780=this[_0x33a30c(0x200)][_0x33a30c(0x120)](this['unitID']))==null?void 0x0:_0x339780['getSheetBySheetId'](_0xb060a2))==null?void 0x0:_0x2db5ae[_0x33a30c(0x1ee)]();return(_0x35fc74==null?void 0x0:_0x35fc74[_0x33a30c(0x20b)](_0xf0a3e8=>_0x453cf1[_0x33a30c(0xcc)][_0x33a30c(0x1b3)](_0xf0a3e8,_0x2ab1b9)))||_0x2ab1b9;}['_onRefRangeChange'](){const _0x442435=_0x1b3cae,_0x3e9465=new _0x453cf1[(_0x442435(0x1a0))](),_0x40cd86=_0x926f71(),_0x4cb14b=()=>{const _0x2d76ff=_0x442435;_0x3e9465[_0x2d76ff(0x2d6)]();const _0x77d4b8=(_0x28510e,_0x126ee1,_0x19d462,_0x3b6ca9)=>{const _0x357a0c=_0x2d76ff;let _0x113871=[];switch(_0x28510e['id']){case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x2a2)]:{_0x113871=_0x54fab8[_0x357a0c(0x28d)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0xa2)]:{_0x113871=_0x54fab8[_0x357a0c(0x217)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x29e)]:{_0x113871=_0x54fab8['handleInsertCol'](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)]['InsertRangeMoveDownCommandId']:{_0x113871=_0x54fab8[_0x357a0c(0xf5)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x2be)]:{_0x113871=_0x54fab8[_0x357a0c(0x20e)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x20c)]:{_0x113871=_0x54fab8[_0x357a0c(0x2f1)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x2d7)]:{_0x113871=_0x54fab8[_0x357a0c(0x144)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x1f0)]:{_0x113871=_0x54fab8['handleIRemoveCol'](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x6f)]:{_0x113871=_0x54fab8[_0x357a0c(0x291)](_0x28510e,_0x3b6ca9);break;}}const _0xcf216a=_0x54fab8['runRefRangeMutations'](_0x113871,_0x3b6ca9),_0x20fbd2=this[_0x357a0c(0xf0)][_0x357a0c(0x1b8)](_0x126ee1);if(_0x20fbd2&&_0xcf216a){const _0x2a25d5={..._0x20fbd2,'range':_0xcf216a};this[_0x357a0c(0xf0)][_0x357a0c(0x234)](_0x126ee1,_0x2a25d5),_0x40cd86(()=>{const _0x339438=_0x357a0c,_0x580ec6=this[_0x339438(0xdc)][_0x339438(0x2d8)](_0xcf216a,_0xb47f50=>(_0x580ec6[_0x339438(0x2d6)](),_0x77d4b8(_0xb47f50,_0x126ee1,_0x19d462,_0xcf216a)));_0x3e9465[_0x339438(0x210)](_0x580ec6);});}return{'redos':[],'undos':[]};};this[_0x2d76ff(0xf0)][_0x2d76ff(0x2d0)]((_0x1abbf8,_0x8cc2ed)=>{const _0x22ddc4=_0x2d76ff,{range:_0x36cecc,sheetID:_0x46ceeb}=_0x1abbf8,_0x183f86=this['_refRangeService'][_0x22ddc4(0x2d8)](_0x36cecc,_0xd45c05=>(_0x183f86['dispose'](),_0x77d4b8(_0xd45c05,_0x8cc2ed,_0x46ceeb,_0x36cecc)));_0x3e9465['add'](_0x183f86);});};this[_0x442435(0x7a)](_0x453cf1['toDisposable'](this[_0x442435(0x2fd)]['subscribe'](()=>{_0x4cb14b();})));}['_toggleOnline'](){const _0x542aef=_0x1b3cae;var _0x7219d,_0x21957b;if(this[_0x542aef(0x2e0)]=!0x0,((_0x7219d=this[_0x542aef(0x200)][_0x542aef(0xc0)]())==null?void 0x0:_0x7219d['getUnitId']())!==this['unitID'])return;const _0x2c72ce=(_0x21957b=this['_injector'][_0x542aef(0x1b8)](_0x54fab8[_0x542aef(0x1ed)])[_0x542aef(0x14c)]())==null?void 0x0:_0x21957b[0x0],_0x3c659b=this['_univerInstanceService']['getCurrentUnitForType'](_0x453cf1[_0x542aef(0x270)][_0x542aef(0xbe)])[_0x542aef(0x14f)]();_0x2c72ce&&_0x3c659b&&this[_0x542aef(0xe9)](_0x3c659b[_0x542aef(0x17c)](),_0x2c72ce);}['_toggleOffline'](){const _0x39a282=_0x1b3cae;this[_0x39a282(0x2e0)]=!0x1;}};_0x2d959d=_0x14d2ab([_0x3f8291(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x25a)])),_0x3f8291(0x3,_0x453cf1[_0x1b3cae(0xea)](_0xd0f6e4)),_0x3f8291(0x4,_0x453cf1[_0x1b3cae(0xea)](_0x16e438[_0x1b3cae(0x179)])),_0x3f8291(0x5,_0x453cf1['IUniverInstanceService']),_0x3f8291(0x6,_0x453cf1['ICommandService']),_0x3f8291(0x7,_0x453cf1[_0x1b3cae(0xea)](_0x54fab8[_0x1b3cae(0x214)]))],_0x2d959d);var _0x10c87c=Object['getOwnPropertyDescriptor'],_0x57d770=(_0x12bf04,_0x5b7137,_0x2b1771,_0x4d0d09)=>{for(var _0x17c305=_0x4d0d09>0x1?void 0x0:_0x4d0d09?_0x10c87c(_0x5b7137,_0x2b1771):_0x5b7137,_0x32c3c1=_0x12bf04['length']-0x1,_0x193adc;_0x32c3c1>=0x0;_0x32c3c1--)(_0x193adc=_0x12bf04[_0x32c3c1])&&(_0x17c305=_0x193adc(_0x17c305)||_0x17c305);return _0x17c305;},_0x2fe33f=(_0x508fd4,_0x866850)=>(_0x474d5a,_0x35a38e)=>_0x866850(_0x474d5a,_0x35a38e,_0x508fd4);let _0x40540a=class extends _0x453cf1[_0x1b3cae(0x274)]{constructor(_0x97790a,_0x33e524,_0x579254){const _0x297a0e=_0x1b3cae;super(),_0x347b87(this,_0x297a0e(0xc1),new Map()),_0x347b87(this,_0x297a0e(0x1aa),new _0xbcaee6['Subject']()),(this[_0x297a0e(0x200)]=_0x97790a,this[_0x297a0e(0xb3)]=_0x33e524,this[_0x297a0e(0x1ca)]=_0x579254,this[_0x297a0e(0xff)]());}[_0x1b3cae(0x2d6)](){const _0x30add2=_0x1b3cae;super[_0x30add2(0x2d6)](),this[_0x30add2(0x1aa)][_0x30add2(0x24d)](),this[_0x30add2(0xc1)][_0x30add2(0x2d0)](_0x44a4c2=>_0x44a4c2[_0x30add2(0x2d6)]());}[_0x1b3cae(0x16a)](_0x31e7ed){const _0x23059c=_0x1b3cae;return this['_entities'][_0x23059c(0x22e)](_0x31e7ed)?this[_0x23059c(0xc1)]['get'](_0x31e7ed)[_0x23059c(0xda)]:this['_entityInit$']['pipe'](_0xbcaee6[_0x23059c(0x13e)](_0x16091c=>_0x16091c[_0x23059c(0x2f9)]===_0x31e7ed),_0xbcaee6[_0x23059c(0x2c9)](_0x5eb24e=>_0x5eb24e['cursorInfo$']));}[_0x1b3cae(0xff)](){const _0x21ec8f=_0x1b3cae;this[_0x21ec8f(0x200)][_0x21ec8f(0x14e)](_0x453cf1[_0x21ec8f(0x270)]['UNIVER_SHEET'])[_0x21ec8f(0x11d)](_0xbcaee6[_0x21ec8f(0x2f8)](this[_0x21ec8f(0x162)]))['subscribe'](async _0x2d059d=>{const _0x19b594=_0x21ec8f,_0x391d5c=_0x2d059d[_0x19b594(0x13d)](),_0x14dc7e=await this[_0x19b594(0x19f)](_0x391d5c);this[_0x19b594(0x1aa)][_0x19b594(0x290)](_0x14dc7e),this[_0x19b594(0xc1)][_0x19b594(0x234)](_0x391d5c,_0x14dc7e);}),this[_0x21ec8f(0x200)][_0x21ec8f(0x14e)](_0x453cf1['UniverInstanceType'][_0x21ec8f(0x2c2)])[_0x21ec8f(0x11d)](_0xbcaee6[_0x21ec8f(0x2f8)](this[_0x21ec8f(0x162)]))[_0x21ec8f(0x11d)](_0xbcaee6[_0x21ec8f(0x13e)](_0x9c87b8=>!_0x9c87b8[_0x21ec8f(0x13d)]()[_0x21ec8f(0x2a8)]('__')))[_0x21ec8f(0x1d0)](async _0x2685af=>{const _0x1f06f8=_0x21ec8f,_0x88599=_0x2685af[_0x1f06f8(0x13d)](),_0x9267ac=await this[_0x1f06f8(0x27c)](_0x88599);this['_entityInit$'][_0x1f06f8(0x290)](_0x9267ac),this[_0x1f06f8(0xc1)]['set'](_0x88599,_0x9267ac);}),_0xbcaee6[_0x21ec8f(0xc6)](this[_0x21ec8f(0x200)][_0x21ec8f(0xd7)](_0x453cf1[_0x21ec8f(0x270)]['UNIVER_DOC']),this[_0x21ec8f(0x200)][_0x21ec8f(0xd7)](_0x453cf1[_0x21ec8f(0x270)]['UNIVER_SHEET']))[_0x21ec8f(0x11d)](_0xbcaee6['takeUntil'](this[_0x21ec8f(0x162)]))[_0x21ec8f(0x1d0)](_0x119aa9=>{const _0x330b45=_0x21ec8f,_0x1f9dbf=_0x119aa9[_0x330b45(0x13d)](),_0xc3ca54=this['_entities'][_0x330b45(0x1b8)](_0x1f9dbf);_0xc3ca54&&(_0xc3ca54[_0x330b45(0x2d6)](),this['_entities'][_0x330b45(0xbf)](_0x1f9dbf));});}async[_0x1b3cae(0x19f)](_0x240185){const _0x5af060=_0x1b3cae,_0x507521=await this[_0x5af060(0x1ca)][_0x5af060(0x2c8)](_0x240185),_0x225a8c=this[_0x5af060(0xb3)]['createInstance'](_0x2d959d,_0x240185,_0x507521);return _0x225a8c['init'](),_0x225a8c;}async[_0x1b3cae(0x27c)](_0x1c813a){const _0x4eee82=_0x1b3cae,_0x5b1f0f=await this[_0x4eee82(0x1ca)]['requireSession'](_0x1c813a),_0x2c64eb=this[_0x4eee82(0xb3)][_0x4eee82(0x150)](_0x1869ef,_0x1c813a,_0x5b1f0f);return _0x2c64eb[_0x4eee82(0x2c1)](),_0x2c64eb;}};_0x40540a=_0x57d770([_0x2fe33f(0x0,_0x453cf1[_0x1b3cae(0x1e7)]),_0x2fe33f(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x25a)])),_0x2fe33f(0x2,_0x453cf1['Inject'](_0x16e438[_0x1b3cae(0x83)]))],_0x40540a);const _0x4ade4c=0x14,_0x1b12bd=0xc8,_0x4bf5b2=0x4,_0x1bc560=0x5;function _0x4a7d2e(_0x104581,_0x22aca6){const _0x1e3623=_0x1b3cae;let {radius:_0x4c322c,width:_0x285e59,height:_0x9a37ec}=_0x22aca6;_0x4c322c=_0x4c322c!=null?_0x4c322c:0x0,_0x285e59=_0x285e59!=null?_0x285e59:0x1e,_0x9a37ec=_0x9a37ec!=null?_0x9a37ec:0x1e;let _0x22c200=0x0,_0x35cc38=0x0,_0x28b05c=0x0;_0x22c200=_0x35cc38=_0x28b05c=Math['min'](_0x4c322c,_0x285e59/0x2,_0x9a37ec/0x2),_0x104581[_0x1e3623(0x99)](),_0x104581[_0x1e3623(0x198)](_0x22c200,0x0),_0x104581[_0x1e3623(0x29b)](_0x285e59-_0x35cc38,0x0),_0x104581[_0x1e3623(0x90)](_0x285e59-_0x35cc38,_0x35cc38,_0x35cc38,Math['PI']*0x3/0x2,0x0,!0x1),_0x104581[_0x1e3623(0x29b)](_0x285e59,_0x9a37ec-_0x28b05c),_0x104581['arc'](_0x285e59-_0x28b05c,_0x9a37ec-_0x28b05c,_0x28b05c,0x0,Math['PI']/0x2,!0x1),_0x104581[_0x1e3623(0x29b)](0x0,_0x9a37ec),_0x104581[_0x1e3623(0x29b)](0x0,_0x22c200),_0x104581[_0x1e3623(0x90)](_0x22c200,_0x22c200,_0x22c200,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x104581['closePath'](),_0x22aca6[_0x1e3623(0xcb)]&&(_0x104581[_0x1e3623(0x2fb)](),_0x104581[_0x1e3623(0x2ea)]=_0x22aca6[_0x1e3623(0xcb)],_0x22aca6[_0x1e3623(0x94)]===_0x1e3623(0xaf)?_0x104581[_0x1e3623(0xcb)](_0x1e3623(0xaf)):_0x104581['fill'](),_0x104581[_0x1e3623(0x20d)]());}class _0x47e749 extends _0xa264dd[_0x1b3cae(0x223)]{constructor(_0x23deb3,_0x5755c2){const _0x435838=_0x1b3cae;super(_0x23deb3,_0x5755c2),_0x347b87(this,_0x435838(0x1b1)),_0x347b87(this,_0x435838(0x286)),(this[_0x435838(0x1b1)]=_0x5755c2==null?void 0x0:_0x5755c2[_0x435838(0x1b1)],this[_0x435838(0x286)]=_0x5755c2==null?void 0x0:_0x5755c2[_0x435838(0x286)]);}static[_0x1b3cae(0x23c)](_0x2ae6be,_0xfb987b){const _0x21fd8e=_0x1b3cae,{text:_0x342b25,color:_0x2ebc87}=_0xfb987b;_0x2ae6be[_0x21fd8e(0x2fb)](),_0x2ae6be['font']=_0x21fd8e(0x2b8);const _0x4f1536=_0x2ae6be[_0x21fd8e(0x1ba)](_0x342b25)['width'],_0x5d2a13=Math['min'](_0x4f1536+0x2*_0x4bf5b2,_0x1b12bd);_0x4a7d2e(_0x2ae6be,{'height':_0x4ade4c,'radius':0x4,'width':_0x5d2a13,'fill':_0x2ebc87}),_0x2ae6be[_0x21fd8e(0x2ea)]=_0x21fd8e(0x9f);const _0x2630ff=_0x4bf5b2,_0x1ccb64=_0x4ade4c-_0x1bc560,_0x5da009=_0x1b12bd-0x2*_0x4bf5b2;if(_0x4f1536>_0x5da009){let _0xeb65d5='',_0x351421=0x0;for(const _0x129e8b of _0x342b25){const _0x19ae1f=_0x2ae6be[_0x21fd8e(0x1ba)](_0x129e8b)['width'];if(_0x351421+_0x19ae1f<=_0x5da009-_0x2ae6be[_0x21fd8e(0x1ba)](_0x21fd8e(0x1ce))[_0x21fd8e(0x251)])_0xeb65d5+=_0x129e8b,_0x351421+=_0x19ae1f;else{_0xeb65d5+=_0x21fd8e(0x1ce);break;}}_0x2ae6be[_0x21fd8e(0x10c)](_0xeb65d5,_0x2630ff,_0x1ccb64);}else _0x2ae6be[_0x21fd8e(0x10c)](_0x342b25,_0x2630ff,_0x1ccb64);_0x2ae6be[_0x21fd8e(0x20d)]();}['_draw'](_0x57edff){_0x47e749['drawWith'](_0x57edff,this);}}const _0x4f0a99=_0x1b3cae(0xd5),_0x2cf135=_0x1b3cae(0x29d),_0x1ac798=_0x1b3cae(0x272),_0x3a7509=0x6,_0x560f0f=1.5,_0x68336=0x4,_0x4ee297=1.5,_0x51f21c=_0x1b3cae(0x11a);class _0xf4fa01{constructor(_0x4b2b93,_0x29ad5f,_0xb74f2c,_0x17b981){const _0x2c2467=_0x1b3cae;_0x347b87(this,_0x2c2467(0x21f),[]),_0x347b87(this,_0x2c2467(0xf1),null),_0x347b87(this,_0x2c2467(0x1df),null),_0x347b87(this,_0x2c2467(0x283),null),_0x347b87(this,_0x2c2467(0x193),null),_0x347b87(this,_0x2c2467(0x26d),null),(this[_0x2c2467(0x10f)]=_0x4b2b93,this[_0x2c2467(0x1a7)]=_0x29ad5f,this['_docSkeleton']=_0xb74f2c,this[_0x2c2467(0x1d9)]=_0x17b981,this[_0x2c2467(0x106)]());}set[_0x1b3cae(0x1db)](_0x4cafcb){const _0x219cd9=_0x1b3cae;_0x4cafcb?(this[_0x219cd9(0x283)]&&this[_0x219cd9(0x283)]['hide'](),this[_0x219cd9(0x1df)]&&this['_textBubble']['show']()):(this[_0x219cd9(0x283)]&&this['_anchorDot'][_0x219cd9(0xdb)](),this['_textBubble']&&this[_0x219cd9(0x1df)][_0x219cd9(0xbc)]());}[_0x1b3cae(0x2d6)](){const _0x12f027=_0x1b3cae;for(const _0x547cdc of this['_shapes'])_0x547cdc['dispose']();this[_0x12f027(0x1df)]&&this[_0x12f027(0x1df)][_0x12f027(0x2d6)](),this[_0x12f027(0x283)]&&this[_0x12f027(0x283)][_0x12f027(0x2d6)](),this[_0x12f027(0xf1)]&&this[_0x12f027(0xf1)][_0x12f027(0x2d6)](),this[_0x12f027(0x26d)]&&this[_0x12f027(0x26d)]();}[_0x1b3cae(0x106)](){const _0x216507=_0x1b3cae;var _0x538052;const {_docSkeleton:_0x3a7ddc,_document:_0x35d581}=this,{color:_0x25c051,name:_0x3d482b,ranges:_0x2281c1}=this[_0x216507(0x10f)],_0x39cbf5=_0x35d581[_0x216507(0x22a)](),{docsLeft:_0x48c1ac,docsTop:_0x4eb0cf}=_0x39cbf5,_0x5c16a9=new _0x608d4f[(_0x216507(0x212))](_0x39cbf5,_0x3a7ddc);for(const {startOffset:_0x2cb444,endOffset:_0x42517c,rangeType:_0x1d96d9,segmentId:_0xe58394,segmentPage:_0x1205cf,collapsed:_0x5ee0a6,isActive:_0x1b38e6}of _0x2281c1){const _0x38fe14=_0x3a7ddc['findNodePositionByCharIndex'](_0x2cb444,!0x0,_0xe58394,_0x1205cf);let _0xa9e92b=_0x3a7ddc[_0x216507(0x1a3)](_0x42517c,!0x0,_0xe58394,_0x1205cf);if(_0xa9e92b==null&&(_0xa9e92b=_0x3a7ddc[_0x216507(0x1a3)](_0x42517c-0x1,!0x1,_0xe58394,_0x1205cf)),_0x1b38e6){const {contentBoxPointGroup:_0x4e1721}=_0x5c16a9[_0x216507(0x1d4)](_0xa9e92b,_0xa9e92b);if(_0x4e1721['length']===0x0)continue;this[_0x216507(0x6c)](_0x25c051,_0x4e1721,_0x48c1ac,_0x4eb0cf,_0x3d482b),this['_eventUnsubscribe']=this[_0x216507(0x249)]();}if(_0x38fe14&&_0xa9e92b){if(_0x1d96d9===_0x453cf1[_0x216507(0x2a5)][_0x216507(0x26e)]){const _0x582cf7=new _0x608d4f[(_0x216507(0x240))](_0x39cbf5,_0x3a7ddc),{pointGroup:_0x356450}=(_0x538052=_0x582cf7[_0x216507(0x1d4)](_0x38fe14,_0xa9e92b))!=null?_0x538052:{};if(_0x356450==null||_0x356450[_0x216507(0x25b)]===0x0)continue;this[_0x216507(0x2db)](_0x25c051,_0x356450,_0x48c1ac,_0x4eb0cf);}else{if(!_0x5ee0a6){const {borderBoxPointGroup:_0x1c1187}=_0x5c16a9[_0x216507(0x1d4)](_0x38fe14,_0xa9e92b);if(_0x1c1187[_0x216507(0x25b)]===0x0)continue;this[_0x216507(0x167)](_0x25c051,_0x1c1187,_0x48c1ac,_0x4eb0cf);}}}}}[_0x1b3cae(0x6c)](_0x34686f,_0x42213f,_0xa1e76b,_0x1a6ed4,_0x17de67){const _0x343f21=_0x1b3cae,_0x53d632=this[_0x343f21(0xf8)](_0x42213f),{left:_0x35cd81,top:_0x1a6169,height:_0xa5d09b}=_0x53d632,_0x2ca946=this[_0x343f21(0x303)](),_0x3cd355=_0x4ee297/_0x2ca946,_0x7d94f7=new _0xa264dd[(_0x343f21(0x1c3))](_0x4f0a99+_0x453cf1[_0x343f21(0x1e0)][_0x343f21(0x229)](_0x3a7509),{'left':_0x35cd81+_0xa1e76b-_0x3cd355,'top':_0x1a6169+_0x1a6ed4,'height':_0xa5d09b,'width':_0x560f0f,'fill':_0x34686f||_0xa264dd[_0x343f21(0x97)](_0x453cf1['COLORS'][_0x343f21(0x6a)],0x0),'strokeWidth':_0x3cd355,'stroke':_0x51f21c,'evented':!0x0});this[_0x343f21(0xf1)]=_0x7d94f7,this[_0x343f21(0x1a7)][_0x343f21(0xfe)](_0x7d94f7,_0x608d4f[_0x343f21(0x1fa)]);const _0x4c8758=new _0xa264dd[(_0x343f21(0x1c3))](_0x4f0a99+_0x453cf1[_0x343f21(0x1e0)][_0x343f21(0x229)](_0x3a7509),{'left':_0x35cd81+_0xa1e76b-_0x3cd355,'top':_0x1a6169+_0x1a6ed4-_0x68336/0x2,'height':_0x68336,'width':_0x68336,'fill':_0x34686f||_0xa264dd[_0x343f21(0x97)](_0x453cf1['COLORS'][_0x343f21(0x6a)],0x0),'strokeWidth':0x0,'stroke':_0x34686f||_0xa264dd[_0x343f21(0x97)](_0x453cf1[_0x343f21(0x23a)]['black'],0x0),'evented':!0x1});this[_0x343f21(0x283)]=_0x4c8758,this['_scene']['addObject'](_0x4c8758,_0x608d4f[_0x343f21(0x1fa)]);const _0x1475b9=new _0x47e749(_0x4f0a99+_0x453cf1['Tools'][_0x343f21(0x229)](_0x3a7509),{'left':_0x35cd81+_0xa1e76b-_0x3cd355,'top':_0x1a6169+_0x1a6ed4-_0x4ade4c,'text':_0x17de67,'color':_0x34686f});this[_0x343f21(0x1df)]=_0x1475b9,this[_0x343f21(0x1a7)][_0x343f21(0xfe)](_0x1475b9,_0x608d4f[_0x343f21(0x1fa)]),this[_0x343f21(0x1db)]=!0x1;}[_0x1b3cae(0x249)](){const _0x4292a5=_0x1b3cae,_0x17450a=this[_0x4292a5(0xf1)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x26c00f=_0x4292a5;this[_0x26c00f(0x1db)]=!0x0;}),_0x2812a0=this['_anchor']['onPointerLeave$'][_0x4292a5(0x1ec)](()=>{const _0x4a090c=_0x4292a5;this[_0x4a090c(0x193)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x295449=_0x4a090c;this[_0x295449(0x1db)]=!0x1;},0x7d0);});return()=>{const _0x26c320=_0x4292a5;_0x17450a[_0x26c320(0x2dd)](),_0x2812a0['unsubscribe']();};}[_0x1b3cae(0x167)](_0x4f9c54,_0x14b818,_0x429ab9,_0x2b1013){const _0x50374d=_0x1b3cae,_0x35c2ec=new _0x453cf1[(_0x50374d(0x1d6))](_0x4f9c54)['setAlpha'](0.2)['toRgbString'](),_0x310216=new _0xa264dd[(_0x50374d(0x1ab))](_0x2cf135+_0x453cf1[_0x50374d(0x1e0)][_0x50374d(0x229)](_0x3a7509),{'pointsGroup':_0x14b818,'fill':_0x35c2ec||_0xa264dd[_0x50374d(0x97)](_0x453cf1[_0x50374d(0x23a)]['black'],0.2),'left':_0x429ab9,'top':_0x2b1013,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x50374d(0x21f)]['push'](_0x310216),this['_scene'][_0x50374d(0xfe)](_0x310216,_0x608d4f['TEXT_RANGE_LAYER_INDEX']);}[_0x1b3cae(0x2db)](_0x4657b5,_0x411737,_0x1d787b,_0x37afa3){const _0xa07bc0=_0x1b3cae,_0x1ac4a7=new _0x453cf1[(_0xa07bc0(0x1d6))](_0x4657b5)[_0xa07bc0(0x278)](0.2)['toRgbString'](),_0x143cd3=new _0xa264dd['RegularPolygon'](_0x1ac798+_0x453cf1['Tools'][_0xa07bc0(0x229)](_0x3a7509),{'pointsGroup':_0x411737,'fill':_0x1ac4a7||_0xa264dd['getColor'](_0x453cf1['COLORS']['black'],0.2),'left':_0x1d787b,'top':_0x37afa3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa07bc0(0x21f)][_0xa07bc0(0x15a)](_0x143cd3),this[_0xa07bc0(0x1a7)][_0xa07bc0(0xfe)](_0x143cd3,_0x608d4f['TEXT_RANGE_LAYER_INDEX']);}[_0x1b3cae(0xf8)](_0x12dbd1){const _0x133307=_0x12dbd1[0x0],_0x40b246=_0x133307[0x0],_0x54bb70=_0x133307[0x2],{x:_0x5834e8,y:_0x231bc2}=_0x40b246,{x:_0x110c8b,y:_0x17cc5a}=_0x54bb70;return{'left':_0x5834e8,'top':_0x231bc2,'width':_0x110c8b-_0x5834e8,'height':_0x17cc5a-_0x231bc2};}['_getScale'](){const _0x5aa848=_0x1b3cae,{scaleX:_0x4be69f,scaleY:_0x23b3ce}=this[_0x5aa848(0x1a7)][_0x5aa848(0x224)]();return Math[_0x5aa848(0xfb)](_0x4be69f,_0x23b3ce);}}var _0x2ac6b7=Object[_0x1b3cae(0x16b)],_0x753afb=(_0x35df23,_0x16e633,_0x2556e7,_0x49b59f)=>{for(var _0x127191=_0x49b59f>0x1?void 0x0:_0x49b59f?_0x2ac6b7(_0x16e633,_0x2556e7):_0x16e633,_0x1ed0b4=_0x35df23['length']-0x1,_0x2c9d3b;_0x1ed0b4>=0x0;_0x1ed0b4--)(_0x2c9d3b=_0x35df23[_0x1ed0b4])&&(_0x127191=_0x2c9d3b(_0x127191)||_0x127191);return _0x127191;},_0xb3992=(_0x202033,_0x114b0f)=>(_0x7a5c5f,_0x8c7402)=>_0x114b0f(_0x7a5c5f,_0x8c7402,_0x202033);let _0x32f903=class extends _0x453cf1[_0x1b3cae(0x274)]{constructor(_0x3ca02b,_0x15d2e6,_0x3577db,_0x4f2669,_0x268482){const _0x26e429=_0x1b3cae;super(),_0x347b87(this,_0x26e429(0xcd),[]),_0x347b87(this,'_cursors',[]),(this['_context']=_0x3ca02b,this[_0x26e429(0x80)]=_0x15d2e6,this[_0x26e429(0x27a)]=_0x3577db,this[_0x26e429(0x72)]=_0x4f2669,this[_0x26e429(0xa0)]=_0x268482,this['_init']());}[_0x1b3cae(0xff)](){const _0x395f61=_0x1b3cae,_0x42165a=this['_context'][_0x395f61(0xee)],_0x5992c1=this[_0x395f61(0x80)];this['disposeWithMe'](_0xbcaee6[_0x395f61(0x273)]([this['_collabCursorController']['getCollabCursors$'](_0x42165a),this['_themeService'][_0x395f61(0xf4)]])['pipe'](_0x286514['map'](([_0x5e823c,_0x4e8dd5])=>({'skeleton':_0x5992c1[_0x395f61(0x230)](),'cursors':[..._0x5e823c['values']()]['flatMap'](_0x34c780=>({..._0x34c780,'color':this['_themeService'][_0x395f61(0x2ed)](_0x34c780[_0x395f61(0x1b1)])}))})))['subscribe'](_0x53dda3=>{const _0x40f719=_0x395f61;if(this[_0x40f719(0x1cd)](),_0x53dda3){const {skeleton:_0x5a1796,cursors:_0x512c46}=_0x53dda3;this[_0x40f719(0x250)](_0x5a1796,_0x512c46);}})),this[_0x395f61(0x6e)](),this['_initCommandExecutedListener']();}[_0x1b3cae(0x250)](_0x577fd8,_0x555bbf){const _0x1e52f6=_0x1b3cae,{scene:_0x3ff78b,mainComponent:_0x14746e}=this['_context'],_0x3cbaad=_0x555bbf['map'](_0x36f0e5=>new _0xf4fa01(_0x36f0e5,_0x3ff78b,_0x577fd8,_0x14746e));this[_0x1e52f6(0xcd)]=_0x3cbaad,this[_0x1e52f6(0xaa)]=_0x555bbf;}[_0x1b3cae(0x73)](){const _0x1a2eda=_0x1b3cae;this[_0x1a2eda(0x1cd)]();const {scene:_0x45d4cc,mainComponent:_0x1997df}=this[_0x1a2eda(0x1a4)],_0x26a52b=this[_0x1a2eda(0x80)][_0x1a2eda(0x230)](),_0x514d04=this[_0x1a2eda(0xaa)][_0x1a2eda(0x188)](_0x167f16=>new _0xf4fa01(_0x167f16,_0x45d4cc,_0x26a52b,_0x1997df));this[_0x1a2eda(0xcd)]=_0x514d04;}[_0x1b3cae(0x1cd)](){const _0x9e4f4f=_0x1b3cae;this[_0x9e4f4f(0xcd)][_0x9e4f4f(0x2d0)](_0x2fa549=>_0x2fa549['dispose']()),this['_cursorShapes']=[];}[_0x1b3cae(0x297)](){const _0x3a4f70=_0x1b3cae,_0x2c064d=[_0x608d4f['SetDocZoomRatioOperation']['id']];this[_0x3a4f70(0x7a)](this['_commandService'][_0x3a4f70(0x1fd)](_0x44258e=>{const _0x11fd85=_0x3a4f70;_0x2c064d[_0x11fd85(0x21b)](_0x44258e['id'])&&_0x44258e[_0x11fd85(0x2b7)]['unitId']===this[_0x11fd85(0x1a4)][_0x11fd85(0xee)]&&this[_0x11fd85(0x73)]();}));}[_0x1b3cae(0x6e)](){const _0x119b59=_0x1b3cae;this[_0x119b59(0x7a)](_0x453cf1['fromEventSubject'](this[_0x119b59(0x1a4)][_0x119b59(0x27f)][_0x119b59(0x238)])['pipe'](_0x286514[_0x119b59(0x13e)](_0x35a973=>_0x35a973['type']===_0xa264dd[_0x119b59(0x125)][_0x119b59(0x1f1)]),_0x286514[_0x119b59(0x25c)](0x10))[_0x119b59(0x1d0)](()=>{const _0x451c8c=_0x119b59;this[_0x451c8c(0x73)]();}));}};_0x32f903=_0x753afb([_0xb3992(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x131474['DocSkeletonManagerService'])),_0xb3992(0x2,_0x453cf1['Inject'](_0x40540a)),_0xb3992(0x3,_0x453cf1[_0x1b3cae(0x128)]),_0xb3992(0x4,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x74)]))],_0x32f903);const _0x30fbe2=0x1,_0x1dc56f=1.5;class _0x4040fc extends _0xa264dd['Shape']{constructor(_0x3f71e5,_0x3df7ad){const _0x4b419c=_0x1b3cae;super(_0x3f71e5,_0x3df7ad),_0x347b87(this,'_color'),_0x347b87(this,_0x4b419c(0x268),!0x1),_0x347b87(this,_0x4b419c(0x296)),_0x347b87(this,_0x4b419c(0xe0),''),_0x347b87(this,'_labelPosition',_0x4b419c(0x1fe)),_0x347b87(this,_0x4b419c(0x12a)),(_0x3df7ad&&this[_0x4b419c(0xb7)](_0x3df7ad),this[_0x4b419c(0x276)]['subscribeEvent'](()=>this[_0x4b419c(0xb7)]({'hovered':!0x0})),this[_0x4b419c(0xc5)][_0x4b419c(0x1ec)](()=>this[_0x4b419c(0xb7)]({'hovered':!0x1})));}[_0x1b3cae(0xb7)](_0x4b832a){const _0x515c0a=_0x1b3cae;var _0x3e0a5e,_0x1a4619,_0x1670f4,_0x335082,_0x479cc0,_0xc49e7e;this[_0x515c0a(0xc7)]=(_0x3e0a5e=_0x4b832a['color'])!=null?_0x3e0a5e:this[_0x515c0a(0xc7)],this[_0x515c0a(0x268)]=(_0x1a4619=_0x4b832a[_0x515c0a(0xe8)])!=null?_0x1a4619:this[_0x515c0a(0x268)],this[_0x515c0a(0x296)]=(_0x1670f4=_0x4b832a[_0x515c0a(0x1a2)])!=null?_0x1670f4:this[_0x515c0a(0x296)],this[_0x515c0a(0xe0)]=(_0x335082=_0x4b832a[_0x515c0a(0x129)])!=null?_0x335082:this[_0x515c0a(0xe0)],this[_0x515c0a(0x19e)]=(_0x479cc0=_0x4b832a[_0x515c0a(0x2b2)])!=null?_0x479cc0:this[_0x515c0a(0x19e)],this[_0x515c0a(0x12a)]=(_0xc49e7e=_0x4b832a[_0x515c0a(0x17e)])!=null?_0xc49e7e:this[_0x515c0a(0x12a)],this[_0x515c0a(0x13b)]({'width':_0x4b832a[_0x515c0a(0x251)],'height':_0x4b832a['height']});}[_0x1b3cae(0x2e8)](_0x119f96){const _0x132874=_0x1b3cae,{row:_0x53aaea,column:_0x4d3a6e}=_0x119f96;if(_0x53aaea>=this[_0x132874(0x296)][_0x132874(0x28b)]&&_0x53aaea<=this[_0x132874(0x296)][_0x132874(0x96)]&&_0x4d3a6e>=this[_0x132874(0x296)][_0x132874(0x113)]&&_0x4d3a6e<=this['_range'][_0x132874(0x141)]){this[_0x132874(0xb7)]({'hovered':!0x0});return;}this[_0x132874(0xb7)]({'hovered':!0x1});}[_0x1b3cae(0x191)](_0x1a3363){return!0x1;}[_0x1b3cae(0x260)](_0x240ec0){const _0x4497d9=_0x1b3cae;_0xa264dd[_0x4497d9(0x1c3)][_0x4497d9(0x23c)](_0x240ec0,{'width':this['width'],'height':this[_0x4497d9(0x218)],'strokeWidth':_0x1dc56f,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4497d9(0x12a)]}),this['_hovered']&&(_0x240ec0[_0x4497d9(0x2fb)](),_0x240ec0[_0x4497d9(0x2ef)](0x1,0x0,0x0,0x1,this[_0x4497d9(0x251)],this[_0x4497d9(0x19e)]===_0x4497d9(0x10b)?0x0:-0x14),_0x47e749['drawWith'](_0x240ec0,{'text':this['_name'],'color':this[_0x4497d9(0xc7)]}),_0x240ec0[_0x4497d9(0x20d)]());}}var _0x4d43c7=Object[_0x1b3cae(0x16b)],_0x2ee17a=(_0x345d8c,_0x4e7dfb,_0x562b3a,_0x2a0f3f)=>{const _0x3fe600=_0x1b3cae;for(var _0x374441=_0x2a0f3f>0x1?void 0x0:_0x2a0f3f?_0x4d43c7(_0x4e7dfb,_0x562b3a):_0x4e7dfb,_0x234980=_0x345d8c[_0x3fe600(0x25b)]-0x1,_0xe1e653;_0x234980>=0x0;_0x234980--)(_0xe1e653=_0x345d8c[_0x234980])&&(_0x374441=_0xe1e653(_0x374441)||_0x374441);return _0x374441;},_0x1e4fb8=(_0x2524d2,_0x59eabc)=>(_0x38f3bc,_0x3f3376)=>_0x59eabc(_0x38f3bc,_0x3f3376,_0x2524d2);const _0x22ea23=0x1389;let _0x20126d=class extends _0x453cf1[_0x1b3cae(0x274)]{constructor(_0x1f7330,_0x6d5319,_0x74c461,_0x25f93c){const _0x3220bc=_0x1b3cae;super(),_0x347b87(this,_0x3220bc(0xaa),new Set()),_0x347b87(this,_0x3220bc(0x24c),null),(this[_0x3220bc(0x1a4)]=_0x1f7330,this[_0x3220bc(0x171)]=_0x6d5319,this[_0x3220bc(0x27a)]=_0x74c461,this[_0x3220bc(0xa0)]=_0x25f93c,this[_0x3220bc(0xff)]());}[_0x1b3cae(0xff)](){const _0x123960=_0x1b3cae;this['_sheetSkeletonManagerService'][_0x123960(0x1da)][_0x123960(0x11d)](_0x286514[_0x123960(0x2f8)](this[_0x123960(0x162)]),_0x286514[_0x123960(0x2c9)](_0x176d03=>{const _0x5a687c=_0x123960;if(_0x176d03){const _0x59b2bf=_0x176d03[_0x5a687c(0x75)];return _0xbcaee6['combineLatest'](this[_0x5a687c(0x27a)][_0x5a687c(0x16a)](this[_0x5a687c(0x1a4)]['unitId']),this[_0x5a687c(0xa0)][_0x5a687c(0xf4)])['pipe'](_0x286514[_0x5a687c(0x188)](([_0x522377,_0x3342b6])=>{const _0xe41562=new Map();return _0x522377['forEach']((_0x3af463,_0x4004d4)=>{const _0x913089=_0x311b;if(_0x3af463[_0x913089(0x232)]===_0x59b2bf){const _0x135797={..._0x3af463};_0x135797[_0x913089(0x1b1)]=this[_0x913089(0xa0)][_0x913089(0x2ed)](_0x3af463[_0x913089(0x1b1)]),_0xe41562[_0x913089(0x234)](_0x4004d4,_0x135797);}}),{'skeleton':_0x176d03,'cursors':_0xe41562};}));}return _0xbcaee6['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x491824,cursors:_0x247608})=>{const _0x55e973=_0x123960;this[_0x55e973(0x1cd)](),_0x491824&&this[_0x55e973(0x250)](_0x491824,_0x247608);}),this[_0x123960(0x171)][_0x123960(0x1da)][_0x123960(0x1d0)](_0x328680=>{const _0x4aee85=_0x123960;if(_0x328680==null)return;const {skeleton:_0x3c77c5}=_0x328680,{scene:_0x21638d}=this[_0x4aee85(0x1a4)];_0x21638d[_0x4aee85(0xa4)][_0x4aee85(0x1ec)](_0x453cf1[_0x4aee85(0x2d2)](_0x8954e5=>{const _0x397bcc=_0x4aee85;var _0xffb072,_0xacef0a;const {offsetX:_0x4096ba,offsetY:_0x168c48}=_0x8954e5,{x:_0x18cc53,y:_0x504c93}=_0x21638d[_0x397bcc(0x236)](_0xa264dd[_0x397bcc(0x7f)][_0x397bcc(0xbd)]([_0x4096ba,_0x168c48])),{scaleX:_0x392cad,scaleY:_0x4ec454}=_0x21638d[_0x397bcc(0x224)](),_0x41a10e=_0x21638d[_0x397bcc(0x132)](_0xa264dd[_0x397bcc(0x155)][_0x397bcc(0xd6)]),_0x36d7bb=_0x21638d[_0x397bcc(0x25e)](_0xa264dd[_0x397bcc(0x7f)][_0x397bcc(0xbd)]([_0x18cc53,_0x504c93]),_0x41a10e),_0x54cbf9=_0x3c77c5[_0x397bcc(0x25d)](_0x4096ba,_0x168c48,_0x392cad,_0x4ec454,_0x36d7bb);((_0xffb072=this['_lastPointer'])==null?void 0x0:_0xffb072[_0x397bcc(0x2fe)])===_0x54cbf9[_0x397bcc(0x2fe)]&&((_0xacef0a=this[_0x397bcc(0x24c)])==null?void 0x0:_0xacef0a[_0x397bcc(0x127)])===_0x54cbf9[_0x397bcc(0x127)]||this[_0x397bcc(0xaa)][_0x397bcc(0x2d0)](_0x1f28bb=>{_0x1f28bb['onMouseMove'](_0x54cbf9);});},0x64));});}[_0x1b3cae(0x250)](_0x4a695f,_0x482eb5){const _0x5b4433=_0x1b3cae;var _0x33914e;const _0x571295=(_0x33914e=this[_0x5b4433(0x171)][_0x5b4433(0x136)]())==null?void 0x0:_0x33914e[_0x5b4433(0x213)];if(!_0x571295)return;const _0x52f927=this[_0x5b4433(0x9b)]();if(!_0x52f927)return;this[_0x5b4433(0xaa)][_0x5b4433(0x2d0)](_0x571559=>{_0x571559['makeDirty']();});const {scene:_0x3947b3}=_0x52f927,_0x4c4704=_0x4220b3(Array['from'](_0x482eb5['values']()))['map'](_0x52e44f=>{const _0x44f3ee=_0x5b4433,{color:_0x18bf49,range:_0x3eb7ea,name:_0x53d561,selection:_0x2eb1bf,sheetID:_0x1d6b9b}=_0x52e44f,{startColumn:_0x5275af,startRow:_0x18d872,endColumn:_0x105241,endRow:_0x5f2856}=_0x3eb7ea,_0xe30a56=_0x4d81f4['getCoordByCell'](_0x18d872,_0x5275af,_0x3947b3,_0x571295),_0x44ac20=_0x4d81f4[_0x44f3ee(0x2f7)](_0x5f2856,_0x105241,_0x3947b3,_0x571295),{columnHeaderHeightAndMarginTop:_0xcdbae2}=_0x571295,{startX:_0x28045a,startY:_0x305e99}=_0xe30a56,{endX:_0x3a4155,endY:_0x5898d0}=_0x44ac20,_0x54192d=_0x3a4155-_0x28045a,_0x1ef37b=_0x5898d0-_0x305e99,_0x211abf={'labelPosition':_0x305e99-_0xcdbae2>=_0x4ade4c?'top':_0x44f3ee(0x10b),'sheetID':_0x1d6b9b,'range':_0x3eb7ea,'color':_0x18bf49,'name':_0x53d561,'selection':_0x2eb1bf,'left':_0x28045a,'top':_0x305e99,'width':_0x54192d,'height':_0x1ef37b,'evented':!0x1,'zIndex':_0x22ea23};return new _0x4040fc(_0x53d561,_0x211abf);});_0x3947b3[_0x5b4433(0x2df)](_0x4c4704,_0x30fbe2),this[_0x5b4433(0xaa)]=new Set(_0x4c4704);}[_0x1b3cae(0x1cd)](){const _0x850420=_0x1b3cae;var _0x5eac00;(_0x5eac00=this[_0x850420(0xaa)])==null||_0x5eac00[_0x850420(0x2d0)](_0x173060=>_0x173060[_0x850420(0x2d6)]());}[_0x1b3cae(0x9b)](){const _0x3b68de=_0x1b3cae;return _0x4d81f4[_0x3b68de(0x2af)](this[_0x3b68de(0x1a4)][_0x3b68de(0x199)],this[_0x3b68de(0x1a4)]);}};_0x20126d=_0x2ee17a([_0x1e4fb8(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x4d81f4[_0x1b3cae(0xca)])),_0x1e4fb8(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x40540a)),_0x1e4fb8(0x3,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1['ThemeService']))],_0x20126d);function _0x4220b3(_0x2a3800){const _0xc64d0e=_0x1b3cae,_0x291446=new Map();return _0x2a3800['forEach'](_0x2862bd=>{const _0x572173=_0x311b;if(_0x291446[_0x572173(0x22e)](_0x2862bd[_0x572173(0x16c)])){const _0x31b2ce=_0x291446['get'](_0x2862bd[_0x572173(0x16c)]);_0x31b2ce[_0x572173(0x129)]+=',\x20'+_0x2862bd[_0x572173(0x129)];}else _0x291446['set'](_0x2862bd['selection'],_0x2862bd);}),Array[_0xc64d0e(0x2a3)](_0x291446[_0xc64d0e(0x1f3)]());}var _0x81f337=function(){const _0x2f1fc8=_0x1b3cae;return _0x81f337=Object[_0x2f1fc8(0x12d)]||function(_0x1e5ad5){const _0x57a34b=_0x2f1fc8;for(var _0x40a6b3,_0x3555d9=0x1,_0x4ce984=arguments[_0x57a34b(0x25b)];_0x3555d9<_0x4ce984;_0x3555d9++){_0x40a6b3=arguments[_0x3555d9];for(var _0x50e701 in _0x40a6b3)Object['prototype'][_0x57a34b(0xa1)][_0x57a34b(0x1c4)](_0x40a6b3,_0x50e701)&&(_0x1e5ad5[_0x50e701]=_0x40a6b3[_0x50e701]);}return _0x1e5ad5;},_0x81f337[_0x2f1fc8(0x1d1)](this,arguments);},_0x10d021=function(_0x5a8d0c,_0x383ce8){const _0x57bf78=_0x1b3cae;var _0x113036={};for(var _0x4baf99 in _0x5a8d0c)Object[_0x57bf78(0x2a6)][_0x57bf78(0xa1)][_0x57bf78(0x1c4)](_0x5a8d0c,_0x4baf99)&&_0x383ce8[_0x57bf78(0x267)](_0x4baf99)<0x0&&(_0x113036[_0x4baf99]=_0x5a8d0c[_0x4baf99]);if(_0x5a8d0c!=null&&typeof Object[_0x57bf78(0x243)]==_0x57bf78(0x10d)){for(var _0x5cb835=0x0,_0x4baf99=Object[_0x57bf78(0x243)](_0x5a8d0c);_0x5cb835<_0x4baf99[_0x57bf78(0x25b)];_0x5cb835++)_0x383ce8[_0x57bf78(0x267)](_0x4baf99[_0x5cb835])<0x0&&Object['prototype'][_0x57bf78(0x12c)]['call'](_0x5a8d0c,_0x4baf99[_0x5cb835])&&(_0x113036[_0x4baf99[_0x5cb835]]=_0x5a8d0c[_0x4baf99[_0x5cb835]]);}return _0x113036;},_0x432010=_0x5d19d4[_0x1b3cae(0x121)](function(_0x216c5a,_0x2617a6){const _0x153446=_0x1b3cae;var _0x2d076b=_0x216c5a['icon'],_0x14ee0a=_0x216c5a['id'],_0x53c39e=_0x216c5a[_0x153446(0x2ba)],_0x266ee7=_0x216c5a[_0x153446(0x2ca)],_0x3567a1=_0x10d021(_0x216c5a,[_0x153446(0x159),'id',_0x153446(0x2ba),'extend']),_0x2d8b75=_0x153446(0xe4)[_0x153446(0x1a6)](_0x14ee0a,'\x20')[_0x153446(0x1a6)](_0x53c39e||'')[_0x153446(0x20f)](),_0x5d64c6=_0x5d19d4['useRef']('_'[_0x153446(0x1a6)](_0x5c395f()));return _0x28ac0b(_0x2d076b,''[_0x153446(0x1a6)](_0x14ee0a),{'defIds':_0x2d076b[_0x153446(0x2e1)],'idSuffix':_0x5d64c6[_0x153446(0x161)]},_0x81f337({'ref':_0x2617a6,'className':_0x2d8b75},_0x3567a1),_0x266ee7);});function _0x28ac0b(_0x564a21,_0x33bbd3,_0x3c928d,_0x49f3e0,_0x48fe03){const _0x1f8953=_0x1b3cae;return _0x5d19d4[_0x1f8953(0x208)](_0x564a21[_0x1f8953(0x220)],_0x81f337(_0x81f337({'key':_0x33bbd3},_0x2d2d66(_0x564a21,_0x3c928d,_0x48fe03)),_0x49f3e0),(_0x4d92e2(_0x564a21,_0x3c928d)['children']||[])[_0x1f8953(0x188)](function(_0x484d64,_0x268603){const _0x590acf=_0x1f8953;return _0x28ac0b(_0x484d64,''[_0x590acf(0x1a6)](_0x33bbd3,'-')[_0x590acf(0x1a6)](_0x564a21[_0x590acf(0x220)],'-')[_0x590acf(0x1a6)](_0x268603),_0x3c928d,void 0x0,_0x48fe03);}));}function _0x2d2d66(_0xfd42d9,_0xa485b7,_0x2c66f2){const _0x493a5e=_0x1b3cae;var _0x26ee0c=_0x81f337({},_0xfd42d9[_0x493a5e(0x14b)]);_0x2c66f2!=null&&_0x2c66f2[_0x493a5e(0x172)]&&_0x26ee0c['fill']===_0x493a5e(0x172)&&(_0x26ee0c['fill']=_0x2c66f2[_0x493a5e(0x172)]),_0xfd42d9['tag']===_0x493a5e(0x228)&&_0x26ee0c['id']&&(_0x26ee0c['id']=_0x26ee0c['id']+_0xa485b7[_0x493a5e(0x24a)]),Object[_0x493a5e(0x2d3)](_0x26ee0c)[_0x493a5e(0x2d0)](function(_0x5074b1){const _0x1f3035=_0x493a5e;var _0x5dd84f=_0x5074b1[0x0],_0x326c2e=_0x5074b1[0x1];_0x5dd84f===_0x1f3035(0x228)&&typeof _0x326c2e==_0x1f3035(0x15d)&&(_0x26ee0c[_0x5dd84f]=_0x326c2e[_0x1f3035(0x1f6)](/url\(#(.*)\)/,_0x1f3035(0x23b)[_0x1f3035(0x1a6)](_0xa485b7['idSuffix'],')')));});var _0x456a13=_0xa485b7[_0x493a5e(0x2e1)];return!_0x456a13||_0x456a13['length']===0x0||(_0xfd42d9[_0x493a5e(0x220)]==='use'&&_0x26ee0c['xlink:href']&&(_0x26ee0c[_0x493a5e(0x209)]=_0x26ee0c['xlink:href']+_0xa485b7[_0x493a5e(0x24a)]),Object['entries'](_0x26ee0c)[_0x493a5e(0x2d0)](function(_0x3918de){const _0x1c32f4=_0x493a5e;var _0x340c35=_0x3918de[0x0],_0x5a8d09=_0x3918de[0x1];typeof _0x5a8d09==_0x1c32f4(0x15d)&&(_0x26ee0c[_0x340c35]=_0x5a8d09[_0x1c32f4(0x1f6)](/url\(#(.*)\)/,_0x1c32f4(0x23b)[_0x1c32f4(0x1a6)](_0xa485b7[_0x1c32f4(0x24a)],')')));})),_0x26ee0c;}function _0x4d92e2(_0x4da42d,_0x5c7277){const _0x486210=_0x1b3cae;var _0x2c402e,_0x40df32=_0x5c7277[_0x486210(0x2e1)];return!_0x40df32||_0x40df32[_0x486210(0x25b)]===0x0?_0x4da42d:_0x4da42d[_0x486210(0x220)]===_0x486210(0x71)&&(!((_0x2c402e=_0x4da42d[_0x486210(0x139)])===null||_0x2c402e===void 0x0)&&_0x2c402e[_0x486210(0x25b)])?_0x81f337(_0x81f337({},_0x4da42d),{'children':_0x4da42d[_0x486210(0x139)][_0x486210(0x188)](function(_0x58c5ea){const _0x1d8bf7=_0x486210;return typeof _0x58c5ea[_0x1d8bf7(0x14b)]['id']=='string'&&_0x40df32&&_0x40df32[_0x1d8bf7(0x21b)](_0x58c5ea[_0x1d8bf7(0x14b)]['id'])?_0x81f337(_0x81f337({},_0x58c5ea),{'attrs':_0x81f337(_0x81f337({},_0x58c5ea[_0x1d8bf7(0x14b)]),{'id':_0x58c5ea[_0x1d8bf7(0x14b)]['id']+_0x5c7277['idSuffix']})}):_0x58c5ea;})}):_0x4da42d;}function _0x5c395f(){const _0x4c506c=_0x1b3cae;return Math[_0x4c506c(0x1f8)]()[_0x4c506c(0xa6)](0x24)['substring'](0x2,0x8);}_0x432010[_0x1b3cae(0x18c)]=_0x1b3cae(0x117);var _0x129946={'tag':_0x1b3cae(0x166),'attrs':{'xmlns':_0x1b3cae(0xf3),'fill':_0x1b3cae(0x177),'viewBox':'0\x200\x2016\x2016','width':_0x1b3cae(0x189),'height':_0x1b3cae(0x189)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b3cae(0x27e)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1b3cae(0x29c),'strokeLinecap':_0x1b3cae(0x1c1),'strokeLinejoin':_0x1b3cae(0x1c1),'strokeWidth':1.2}}]},{'tag':_0x1b3cae(0x71),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x1b3cae(0x282),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x425a31=_0x5d19d4[_0x1b3cae(0x121)](function(_0x36a8c0,_0x97aa58){const _0x57b0f6=_0x1b3cae;return _0x5d19d4['createElement'](_0x432010,Object['assign']({},_0x36a8c0,{'id':_0x57b0f6(0xfc),'ref':_0x97aa58,'icon':_0x129946}));});_0x425a31[_0x1b3cae(0x18c)]=_0x1b3cae(0x18a);var _0x53ee13={'tag':_0x1b3cae(0x166),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1b3cae(0x177),'viewBox':'0\x200\x2017\x2016','width':_0x1b3cae(0x189),'height':_0x1b3cae(0x189)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b3cae(0x235)},'children':[{'tag':_0x1b3cae(0x282),'attrs':{'stroke':_0x1b3cae(0x2e9),'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':_0x1b3cae(0x1c1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1b3cae(0x71),'attrs':{},'children':[{'tag':_0x1b3cae(0x13f),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x1b3cae(0x1de),'d':_0x1b3cae(0x13a),'transform':_0x1b3cae(0x92)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4e50ee=_0x5d19d4['forwardRef'](function(_0x233b1e,_0x39336c){const _0x1297ed=_0x1b3cae;return _0x5d19d4['createElement'](_0x432010,Object['assign']({},_0x233b1e,{'id':_0x1297ed(0xdd),'ref':_0x39336c,'icon':_0x53ee13}));});_0x4e50ee[_0x1b3cae(0x18c)]=_0x1b3cae(0x1c8);function _0x1b7ff9(_0x1eeb88){const _0x4da48f=_0x1b3cae;switch(_0x1eeb88){case _0x16e438[_0x4da48f(0x295)][_0x4da48f(0x1d7)]:return _0x4da48f(0x1bf);case _0x16e438[_0x4da48f(0x295)][_0x4da48f(0x1e1)]:return _0x4da48f(0x19c);case _0x16e438[_0x4da48f(0x295)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x16e438['CollaborationStatus'][_0x4da48f(0x294)]:return'collabStatus.notCollab';case _0x16e438['CollaborationStatus'][_0x4da48f(0xa3)]:case _0x16e438['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x16e438[_0x4da48f(0x295)][_0x4da48f(0x143)]:case _0x16e438[_0x4da48f(0x295)][_0x4da48f(0x115)]:return'collabStatus.synced';}}function _0x1a7cba(_0x358b09){const _0x550014=_0x1b3cae,{status$:_0x1facd7}=_0x358b09,_0x568a3b=_0x34c313[_0x550014(0xeb)](_0x1facd7,_0x16e438['CollaborationStatus'][_0x550014(0x294)]),_0x9c3d15=_0x34c313['useDependency'](_0x453cf1[_0x550014(0x275)]),_0x288f7c=_0x34c313[_0x550014(0xd2)](_0x16e438['CollaborationSessionService']),_0x5cb67a=_0x568a3b!==_0x16e438[_0x550014(0x295)][_0x550014(0x1d7)],_0x3a93b0=_0x9c3d15['t'](_0x1b7ff9(_0x568a3b)),_0x31ef91=_0x5cb67a?_0x20e32a[_0x550014(0x263)](_0x4e50ee,{}):_0x20e32a['jsx'](_0x425a31,{}),_0x30ced2=_0x5d19d4[_0x550014(0x1af)](()=>{const _0x2b6c71=_0x550014;_0x5cb67a||_0x288f7c[_0x2b6c71(0xe7)]();},[_0x5cb67a,_0x288f7c]);function _0x2f8407(){const _0xe4f560=_0x550014;return _0x20e32a[_0xe4f560(0x86)](_0xe4f560(0xfa),{'className':'univer-flex\x20univer-items-center','onClick':_0x30ced2,'children':[_0x20e32a[_0xe4f560(0x263)](_0xe4f560(0xfa),{'className':_0x3dc756[_0xe4f560(0x227)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5cb67a,'univer-text-red-500':!_0x5cb67a}),'children':_0x31ef91}),_0x20e32a[_0xe4f560(0x263)]('div',{'className':_0xe4f560(0x2a4),'children':_0x3a93b0})]});}return _0x5cb67a?_0x2f8407():_0x20e32a[_0x550014(0x263)](_0x3dc756[_0x550014(0x301)],{'title':_0x9c3d15['t'](_0x550014(0x119)),'children':_0x2f8407()});}var _0x5202b2=Object['getOwnPropertyDescriptor'],_0x4b6939=(_0x1b6f09,_0x373f72,_0x4ae6c3,_0x872ab6)=>{for(var _0xa79b8f=_0x872ab6>0x1?void 0x0:_0x872ab6?_0x5202b2(_0x373f72,_0x4ae6c3):_0x373f72,_0x54e4ee=_0x1b6f09['length']-0x1,_0x174474;_0x54e4ee>=0x0;_0x54e4ee--)(_0x174474=_0x1b6f09[_0x54e4ee])&&(_0xa79b8f=_0x174474(_0xa79b8f)||_0xa79b8f);return _0xa79b8f;},_0x8f9cd5=(_0xbbf4e2,_0x2f58ef)=>(_0x5b8e1c,_0x3daf1a)=>_0x2f58ef(_0x5b8e1c,_0x3daf1a,_0xbbf4e2);_0x1a2a0b['DesktopCollaborationStatusDisplayController']=class extends _0x453cf1[_0x1b3cae(0xb5)]{constructor(_0x1af5ae,_0x1c4733,_0x2da162,_0x4a66a8){const _0x655e32=_0x1b3cae;super(),_0x347b87(this,_0x655e32(0x111),new _0xbcaee6[(_0x655e32(0x26a))](_0x16e438[_0x655e32(0x295)][_0x655e32(0x294)])),(this[_0x655e32(0x200)]=_0x1af5ae,this[_0x655e32(0xb3)]=_0x1c4733,this['_collaborationController']=_0x2da162,this[_0x655e32(0x262)]=_0x4a66a8,this[_0x655e32(0x1f9)](),this['_initStatusListener']());}[_0x1b3cae(0xd0)](){const _0x29ccd2=_0x1b3cae;this[_0x29ccd2(0x7a)](this[_0x29ccd2(0x200)]['focused$'][_0x29ccd2(0x11d)](_0xbcaee6[_0x29ccd2(0x2c9)](()=>{const _0x46ca43=_0x29ccd2,_0x78121b=this[_0x46ca43(0x200)][_0x46ca43(0xc0)]();return _0x78121b?this[_0x46ca43(0x197)][_0x46ca43(0x1b4)](_0x78121b['getUnitId']()):_0xbcaee6['of'](null);}),_0xbcaee6['switchMap'](_0x3ad914=>_0x3ad914?_0x3ad914[_0x29ccd2(0x2bf)]:_0xbcaee6['of'](_0x16e438['CollaborationStatus'][_0x29ccd2(0x294)])))[_0x29ccd2(0x1d0)](_0x68090f=>{const _0x413125=_0x29ccd2;this[_0x413125(0x111)][_0x413125(0x290)](_0x68090f);}));}[_0x1b3cae(0x1f9)](){const _0x969609=_0x1b3cae;this[_0x969609(0x7a)](this[_0x969609(0x262)][_0x969609(0x140)](_0x34c313[_0x969609(0x2ff)][_0x969609(0xcf)],()=>_0x34c313[_0x969609(0xb8)](_0x35a833({'status$':this['_status$']['asObservable']()}),this['_injector'])));}},_0x1a2a0b[_0x1b3cae(0x2bc)]=_0x4b6939([_0x8f9cd5(0x0,_0x453cf1['IUniverInstanceService']),_0x8f9cd5(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x25a)])),_0x8f9cd5(0x2,_0x453cf1['Inject'](_0x16e438[_0x1b3cae(0xa8)])),_0x8f9cd5(0x3,_0x34c313['IUIPartsService'])],_0x1a2a0b['DesktopCollaborationStatusDisplayController']);function _0x35a833(_0x36264c){const {status$:_0x1b8b97}=_0x36264c;return function(){const _0x168a73=_0x311b;return _0x20e32a[_0x168a73(0x263)](_0x1a7cba,{'status$':_0x1b8b97});};}var _0x4db1b8=Object['getOwnPropertyDescriptor'],_0xf4c0ec=(_0x565d99,_0x18fba7,_0x31fa58,_0x486fbb)=>{const _0xc28201=_0x1b3cae;for(var _0x282486=_0x486fbb>0x1?void 0x0:_0x486fbb?_0x4db1b8(_0x18fba7,_0x31fa58):_0x18fba7,_0x253cd8=_0x565d99[_0xc28201(0x25b)]-0x1,_0x2e1901;_0x253cd8>=0x0;_0x253cd8--)(_0x2e1901=_0x565d99[_0x253cd8])&&(_0x282486=_0x2e1901(_0x282486)||_0x282486);return _0x282486;},_0x13606d=(_0x3286f0,_0x28f6ad)=>(_0x17e019,_0x307f4b)=>_0x28f6ad(_0x17e019,_0x307f4b,_0x3286f0);let _0x2745a2=class extends _0x453cf1['Disposable']{constructor(_0x58d0a2,_0x4329eb,_0x4ac5bc,_0x57de52,_0x4fd281,_0x4d3de8){const _0x3aa869=_0x1b3cae;super(),this[_0x3aa869(0xac)]=_0x58d0a2,this[_0x3aa869(0x79)]=_0x4329eb,this[_0x3aa869(0x2e7)]=_0x4ac5bc,this['_messageService']=_0x57de52,this[_0x3aa869(0x1be)]=_0x4fd281,this['_localeService']=_0x4d3de8,this[_0x3aa869(0x157)](),this[_0x3aa869(0x158)]();}[_0x1b3cae(0x157)](){const _0x38a5d8=_0x1b3cae;this['disposeWithMe'](this[_0x38a5d8(0xac)]['registerBeforeClose'](()=>{const _0x5bf56a=_0x38a5d8;if(this[_0x5bf56a(0x79)][_0x5bf56a(0x269)][_0x5bf56a(0x204)])return this[_0x5bf56a(0x1b7)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x29d789=_0x1b3cae;this['disposeWithMe'](this[_0x29d789(0x2e7)][_0x29d789(0x24e)]['subscribe'](_0x79a181=>{const _0x4a1e07=_0x29d789;_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)][_0x4a1e07(0xb6)]&&this[_0x4a1e07(0x123)][_0x4a1e07(0xdb)]({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x304)],'content':this['_localeService']['t'](_0x4a1e07(0x1fc))}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)][_0x4a1e07(0x2cf)]&&this['_messageService'][_0x4a1e07(0xdb)]({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x304)],'content':this['_localeService']['t'](_0x4a1e07(0x219))}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)]['PERMISSION_DENIED']&&this['_notificationService'][_0x4a1e07(0xdb)]({'title':this[_0x4a1e07(0x1b7)]['t'](_0x4a1e07(0x1eb)),'content':this[_0x4a1e07(0x1b7)]['t'](_0x4a1e07(0x1f4)),'type':_0x4a1e07(0x104),'duration':0x0}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)]['CONFLICT']&&this[_0x4a1e07(0x123)]['show']({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x1c5)],'content':this[_0x4a1e07(0x1b7)]['t']('collaboration.closeRoom')+'('+_0x79a181[_0x4a1e07(0x207)]+')'}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)][_0x4a1e07(0x160)]&&this['_messageService'][_0x4a1e07(0xdb)]({'type':_0x3dc756[_0x4a1e07(0xd4)]['Warning'],'content':this[_0x4a1e07(0x1b7)]['t'](_0x79a181[_0x4a1e07(0x207)]||'')}),_0x79a181['id']===_0x16e438['CollaborationUIEventId'][_0x4a1e07(0x2a0)]&&this['_messageService']['show']({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x304)],'content':this[_0x4a1e07(0x1b7)]['t'](_0x4a1e07(0x11e))}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)][_0x4a1e07(0x174)]&&this[_0x4a1e07(0x123)][_0x4a1e07(0xdb)]({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x1c5)],'content':this[_0x4a1e07(0x1b7)]['t'](_0x4a1e07(0x1c2))}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)][_0x4a1e07(0xc3)]&&this[_0x4a1e07(0x123)][_0x4a1e07(0xdb)]({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x1c5)],'content':this[_0x4a1e07(0x1b7)]['t'](_0x4a1e07(0x122))});}));}};_0x2745a2=_0xf4c0ec([_0x13606d(0x0,_0x34c313[_0x1b3cae(0x110)]),_0x13606d(0x1,_0x16e438[_0x1b3cae(0x1ef)]),_0x13606d(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x16e438[_0x1b3cae(0x2aa)])),_0x13606d(0x3,_0x34c313[_0x1b3cae(0x1bb)]),_0x13606d(0x4,_0x34c313['INotificationService']),_0x13606d(0x5,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x275)]))],_0x2745a2);const _0x439bc2=_0x1b3cae(0x2e3),_0x382753={},_0x2b819d=_0x453cf1[_0x1b3cae(0x196)]('uni.network.url-service');var _0x1c49e9=Object['getOwnPropertyDescriptor'],_0x17a676=(_0x3ec252,_0x2da479,_0x43bd9b,_0x1e0cd3)=>{const _0x2eef90=_0x1b3cae;for(var _0x1cc889=_0x1e0cd3>0x1?void 0x0:_0x1e0cd3?_0x1c49e9(_0x2da479,_0x43bd9b):_0x2da479,_0x477252=_0x3ec252[_0x2eef90(0x25b)]-0x1,_0x50b54a;_0x477252>=0x0;_0x477252--)(_0x50b54a=_0x3ec252[_0x477252])&&(_0x1cc889=_0x50b54a(_0x1cc889)||_0x1cc889);return _0x1cc889;},_0x41f7c5=(_0x3a1852,_0x40ed2d)=>(_0x79bac3,_0x20b893)=>_0x40ed2d(_0x79bac3,_0x20b893,_0x3a1852);_0x1a2a0b[_0x1b3cae(0x21c)]=class extends _0x453cf1[_0x1b3cae(0x274)]{constructor(_0x231260,_0x3e8336,_0x3dda68,_0x3e8ce6,_0x5549f8){const _0x3b0948=_0x1b3cae;super(),this[_0x3b0948(0x1ea)]=_0x231260,this['_logService']=_0x3e8336,this[_0x3b0948(0x72)]=_0x3dda68,this[_0x3b0948(0xf9)]=_0x3e8ce6,_0x5549f8?_0x5549f8==null||_0x5549f8[_0x3b0948(0xc2)]()[_0x3b0948(0x93)](()=>this[_0x3b0948(0xff)]()):(this['_logService'][_0x3b0948(0x146)]('[CollaborationDataLoaderController]',_0x3b0948(0x19d)),this[_0x3b0948(0xff)]());}async[_0x1b3cae(0xff)](){const _0xbe4a01=_0x1b3cae,_0x5f05ca=this['_urlService']['getParam'](_0xbe4a01(0x199)),_0x366805=this[_0xbe4a01(0x1ea)][_0xbe4a01(0x1c7)](_0xbe4a01(0xb4)),_0x3a100b=this[_0xbe4a01(0x1ea)][_0xbe4a01(0x1c7)](_0xbe4a01(0x116));if(!_0x5f05ca||!_0x366805){this['_logService']['debug'](_0xbe4a01(0x84),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x882d5c=await this['_dataLoaderService'][_0xbe4a01(0x1a5)](_0x5f05ca,Number(_0x366805),_0x3a100b);_0x882d5c&&_0x882d5c instanceof _0x453cf1[_0xbe4a01(0x1b2)]&&this[_0xbe4a01(0x203)](_0x882d5c);}async[_0x1b3cae(0x203)](_0x44de25){const _0x3d321f=_0x1b3cae;await this[_0x3d321f(0x175)](_0x44de25),_0x44de25[_0x3d321f(0xe5)][_0x3d321f(0x11d)](_0xbcaee6[_0x3d321f(0x2f8)](this[_0x3d321f(0x162)]))[_0x3d321f(0x1d0)](_0x3c7624=>{_0x3c7624&&this['_updateURLWithCurrentState'](_0x3c7624);}),this['_urlService'][_0x3d321f(0x152)]['pipe'](_0xbcaee6[_0x3d321f(0x2f8)](this[_0x3d321f(0x162)]))[_0x3d321f(0x1d0)](()=>this[_0x3d321f(0x175)](_0x44de25));}[_0x1b3cae(0x14d)](_0x20b73e,_0x29846d=!0x1){const _0x3278dd=_0x1b3cae,_0xe75526=this[_0x3278dd(0x1ea)][_0x3278dd(0x1c7)](_0x3278dd(0x116));_0x20b73e[_0x3278dd(0x17c)]()!==_0xe75526&&this[_0x3278dd(0x1ea)]['setParam'](_0x3278dd(0x116),_0x20b73e[_0x3278dd(0x17c)](),_0x29846d);}async[_0x1b3cae(0x175)](_0x3684a3){const _0x37d42d=_0x1b3cae;var _0x1cb2dd;const _0x35a0a7=this[_0x37d42d(0x1ea)][_0x37d42d(0x1c7)](_0x37d42d(0x116));if(!_0x35a0a7||!_0x3684a3[_0x37d42d(0x16f)](_0x35a0a7)){const _0x111a05=_0x3684a3['getUnhiddenWorksheets']()[0x0],_0x1572a7=_0x3684a3[_0x37d42d(0x16f)](_0x111a05);if(!_0x1572a7)return;this[_0x37d42d(0x14d)](_0x1572a7,!0x0),await this[_0x37d42d(0x72)]['executeCommand'](_0x54fab8[_0x37d42d(0x284)]['id'],{'unitId':_0x3684a3[_0x37d42d(0x13d)](),'subUnitId':_0x111a05});return;}((_0x1cb2dd=_0x3684a3['getActiveSheet']())==null?void 0x0:_0x1cb2dd[_0x37d42d(0x17c)]())!==_0x35a0a7&&await this[_0x37d42d(0x72)][_0x37d42d(0x2c4)](_0x54fab8[_0x37d42d(0x284)]['id'],{'unitId':_0x3684a3['getUnitId'](),'subUnitId':_0x35a0a7});}},_0x1a2a0b[_0x1b3cae(0x21c)]=_0x17a676([_0x41f7c5(0x0,_0x2b819d),_0x41f7c5(0x1,_0x453cf1[_0x1b3cae(0x27b)]),_0x41f7c5(0x2,_0x453cf1[_0x1b3cae(0x128)]),_0x41f7c5(0x3,_0x453cf1[_0x1b3cae(0xea)](_0x16e438[_0x1b3cae(0x98)])),_0x41f7c5(0x4,_0x453cf1['Optional'](_0x56a822['IRemoteInstanceService']))],_0x1a2a0b[_0x1b3cae(0x21c)]);var _0x523670=Object[_0x1b3cae(0x16b)],_0x469631=(_0x1e8b7d,_0x308677,_0x5868e0,_0x3ca55c)=>{const _0x6b1100=_0x1b3cae;for(var _0x4da580=_0x3ca55c>0x1?void 0x0:_0x3ca55c?_0x523670(_0x308677,_0x5868e0):_0x308677,_0x44ca26=_0x1e8b7d[_0x6b1100(0x25b)]-0x1,_0x3d6bf1;_0x44ca26>=0x0;_0x44ca26--)(_0x3d6bf1=_0x1e8b7d[_0x44ca26])&&(_0x4da580=_0x3d6bf1(_0x4da580)||_0x4da580);return _0x4da580;},_0x17c03d=(_0xd7941b,_0x1bc425)=>(_0x4e19a8,_0x1b5b68)=>_0x1bc425(_0x4e19a8,_0x1b5b68,_0xd7941b);let _0x266fb1=class{constructor(_0x4207dc,_0x1725a5,_0x379297){const _0x13faf9=_0x1b3cae;this['_injector']=_0x4207dc,this[_0x13faf9(0x1bc)]=_0x1725a5,this[_0x13faf9(0x29f)]=_0x379297;}[_0x1b3cae(0x91)](_0x20778e){const _0x7fb4e=_0x1b3cae;this[_0x7fb4e(0x28a)](_0x20778e),this['_transformPreviousActiveRange'](_0x20778e);}[_0x1b3cae(0x2ac)](_0x50c2e3){const _0x1a9ce2=_0x1b3cae,{unitID:_0x332406}=_0x50c2e3,_0xd71944=this[_0x1a9ce2(0x29f)][_0x1a9ce2(0x22d)](_0x332406)[_0x1a9ce2(0x1e3)](_0x608d4f[_0x1a9ce2(0x21d)]),{redoCache:_0x4786ff}=_0xd71944['getUndoRedoMutationParamsCache']();if(_0x4786ff[_0x1a9ce2(0x25b)]===0x0)return _0x50c2e3;let _0x402150=_0x453cf1[_0x1a9ce2(0x1e0)][_0x1a9ce2(0x256)](_0x50c2e3['mutations'][0x0]);for(let _0x425cbc=0x0;_0x425cbc<_0x4786ff[_0x1a9ce2(0x25b)];_0x425cbc++){const _0x40a408={'id':'doc.mutation.rich-text-editing','params':{..._0x4786ff[_0x425cbc]}},_0x4334c2=this['_transformService'][_0x1a9ce2(0x225)](_0x402150,_0x40a408,!0x1);if(_0x46cc83['isTransformMutationFailure'](_0x4334c2))throw _0x4334c2['error'];_0x402150=_0x4334c2['m1Prime'];}return{..._0x453cf1['Tools'][_0x1a9ce2(0x256)](_0x50c2e3),'mutations':[_0x402150]};}['_transformUndoRedoStack'](_0x5814a2){const _0x169cdd=_0x1b3cae,{unitID:_0x21031a}=_0x5814a2,_0x2bd2c4=this[_0x169cdd(0x29f)]['getRenderById'](_0x21031a)[_0x169cdd(0x1e3)](_0x608d4f[_0x169cdd(0x21d)]),{undoCache:_0x3baa80,redoCache:_0x151e97}=_0x2bd2c4['getUndoRedoMutationParamsCache']();if(_0x3baa80['length']===0x0||_0x151e97[_0x169cdd(0x25b)]===0x0)return;const _0x147845=[],_0x1d3354=[];let _0x226665=_0x453cf1[_0x169cdd(0x1e0)][_0x169cdd(0x256)](_0x5814a2[_0x169cdd(0xb9)][0x0]),_0x4f9c65=_0x453cf1['Tools'][_0x169cdd(0x256)](_0x5814a2[_0x169cdd(0xb9)][0x0]);for(let _0x4ee3bf=_0x3baa80['length']-0x1;_0x4ee3bf>=0x0;_0x4ee3bf--){const _0x735371={'id':_0x169cdd(0x9c),'params':{..._0x3baa80[_0x4ee3bf]}},_0x35a2cb={'id':_0x169cdd(0x9c),'params':{..._0x151e97[_0x4ee3bf]}},_0x42e7d4=this[_0x169cdd(0x1bc)][_0x169cdd(0x225)](_0x226665,_0x735371,!0x1),_0xa8876f=this[_0x169cdd(0x1bc)][_0x169cdd(0x225)](_0x4f9c65,_0x35a2cb,!0x1);if(_0x46cc83['isTransformMutationFailure'](_0x42e7d4))throw _0x42e7d4['error'];if(_0x46cc83[_0x169cdd(0xe2)](_0xa8876f))throw _0xa8876f[_0x169cdd(0x104)];_0x147845[_0x169cdd(0x257)](_0x42e7d4[_0x169cdd(0x2d9)][_0x169cdd(0x2b7)]),_0x1d3354[_0x169cdd(0x257)](_0xa8876f[_0x169cdd(0x2d9)][_0x169cdd(0x2b7)]),_0x226665=_0x42e7d4[_0x169cdd(0xc9)],_0x4f9c65=_0xa8876f[_0x169cdd(0xc9)];}_0x2bd2c4['setUndoRedoMutationParamsCache']({'undoCache':_0x147845,'redoCache':_0x1d3354});}['_transformPreviousActiveRange'](_0x8c41ae){const _0xaa673=_0x1b3cae,{unitID:_0x53481e}=_0x8c41ae,_0x1775aa=this[_0xaa673(0x29f)]['getRenderById'](_0x53481e)['with'](_0x608d4f[_0xaa673(0x21d)]),_0x1cbca0=_0x1775aa['getActiveRange']();if(_0x1cbca0==null)return;const _0x5defb5=[{'id':_0xaa673(0x9c),'params':{'unitId':_0x8c41ae[_0xaa673(0x2f9)],'actions':null,'textRanges':[_0x1cbca0]}}],_0x25e732=this['_transformService'][_0xaa673(0x2f5)](_0x8c41ae,_0x5defb5);if(!_0x46cc83[_0xaa673(0x1d5)](_0x25e732))throw _0x25e732[_0xaa673(0x104)];const _0x51769a=_0x25e732['m2Prime'][0x0][_0xaa673(0x2b7)][_0xaa673(0x78)];Array[_0xaa673(0x23d)](_0x51769a)&&_0x51769a[_0xaa673(0x25b)]&&_0x1775aa[_0xaa673(0x2ce)](_0x51769a[0x0]);}};_0x266fb1=_0x469631([_0x17c03d(0x0,_0x453cf1['Inject'](_0x453cf1[_0x1b3cae(0x25a)])),_0x17c03d(0x1,_0x46cc83[_0x1b3cae(0x100)]),_0x17c03d(0x2,_0xa264dd['IRenderManagerService'])],_0x266fb1);var _0x10ac2f=Object[_0x1b3cae(0x16b)],_0x1bd6c3=(_0x4cc3ab,_0x57b0ad,_0x4e8843,_0x46871e)=>{const _0x236e61=_0x1b3cae;for(var _0x2ec108=_0x46871e>0x1?void 0x0:_0x46871e?_0x10ac2f(_0x57b0ad,_0x4e8843):_0x57b0ad,_0xf5cad4=_0x4cc3ab[_0x236e61(0x25b)]-0x1,_0x497c8d;_0xf5cad4>=0x0;_0xf5cad4--)(_0x497c8d=_0x4cc3ab[_0xf5cad4])&&(_0x2ec108=_0x497c8d(_0x2ec108)||_0x2ec108);return _0x2ec108;},_0x407f28=(_0x4d9844,_0x83e0f7)=>(_0x3e4bf3,_0x2b0df0)=>_0x83e0f7(_0x3e4bf3,_0x2b0df0,_0x4d9844);let _0x851025=class{constructor(_0x3f2914,_0xe0b2ea,_0x148996){const _0x7e5467=_0x1b3cae;this[_0x7e5467(0xb3)]=_0x3f2914,this[_0x7e5467(0x1bc)]=_0xe0b2ea,this[_0x7e5467(0x289)]=_0x148996;}['transformStateCache'](_0x1565d1){const _0x40128e=_0x1b3cae;this[_0x40128e(0x246)](_0x1565d1);}[_0x1b3cae(0x2ac)](_0x45e24c){const _0x528fe6=_0x1b3cae,{unitID:_0x3767ed}=_0x45e24c,{collaboration:_0x4c9a71}=this[_0x528fe6(0x289)][_0x528fe6(0x13c)](_0x3767ed);if(_0x4c9a71[_0x528fe6(0x25b)]===0x0)return _0x45e24c;let _0x226e2d=_0x453cf1[_0x528fe6(0x1e0)][_0x528fe6(0x256)](_0x45e24c[_0x528fe6(0xb9)][0x0]);for(let _0x2c7373=0x0;_0x2c7373<_0x4c9a71[_0x528fe6(0x25b)];_0x2c7373++){const _0x5cd985={'id':_0x528fe6(0x9c),'params':{'unitId':_0x4c9a71[_0x2c7373][_0x528fe6(0xee)],..._0x4c9a71[_0x2c7373]['redoState']}},_0xa8a994=this[_0x528fe6(0x1bc)]['transformMutation'](_0x226e2d,_0x5cd985,!0x1);if(_0x46cc83[_0x528fe6(0xe2)](_0xa8a994))throw _0xa8a994[_0x528fe6(0x104)];_0x226e2d=_0xa8a994[_0x528fe6(0xc9)];}return{..._0x453cf1[_0x528fe6(0x1e0)][_0x528fe6(0x256)](_0x45e24c),'mutations':[_0x226e2d]};}['_transformHistoryAndStateStack'](_0x270719){const _0x5a80b2=_0x1b3cae,{unitID:_0x5c16fb}=_0x270719,{history:_0xb0b6d3,collaboration:_0xf34a53}=this['_docStateChangeManagerService'][_0x5a80b2(0x13c)](_0x5c16fb);if(_0xb0b6d3['length']===0x0&&_0xf34a53[_0x5a80b2(0x25b)]===0x0)return;const _0x32750c=[],_0x2f9804=[];let _0x1e50d2=_0x453cf1[_0x5a80b2(0x1e0)][_0x5a80b2(0x256)](_0x270719[_0x5a80b2(0xb9)][0x0]),_0x5df988=_0x453cf1['Tools']['deepClone'](_0x270719['mutations'][0x0]);for(let _0x247f69=_0xb0b6d3['length']-0x1;_0x247f69>=0x0;_0x247f69--){const _0x3cd713={'id':_0x5a80b2(0x9c),'params':{'unitId':_0xb0b6d3[_0x247f69][_0x5a80b2(0xee)],..._0xb0b6d3[_0x247f69][_0x5a80b2(0x178)]}},_0x437844={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb0b6d3[_0x247f69][_0x5a80b2(0xee)],..._0xb0b6d3[_0x247f69][_0x5a80b2(0x205)]}},_0x4d885c=this[_0x5a80b2(0x1bc)]['transformMutation'](_0x1e50d2,_0x3cd713,!0x1),_0x2be7fe=this[_0x5a80b2(0x1bc)][_0x5a80b2(0x225)](_0x5df988,_0x437844,!0x1);if(_0x46cc83[_0x5a80b2(0xe2)](_0x4d885c))throw _0x4d885c['error'];if(_0x46cc83[_0x5a80b2(0xe2)](_0x2be7fe))throw _0x2be7fe['error'];_0x32750c[_0x5a80b2(0x257)]({..._0xb0b6d3[_0x247f69],'undoState':_0x4d885c['m2Prime'][_0x5a80b2(0x2b7)],'redoState':_0x2be7fe['m2Prime'][_0x5a80b2(0x2b7)]}),_0x1e50d2=_0x4d885c['m1Prime'],_0x5df988=_0x2be7fe[_0x5a80b2(0xc9)];}_0x1e50d2=_0x453cf1[_0x5a80b2(0x1e0)][_0x5a80b2(0x256)](_0x270719[_0x5a80b2(0xb9)][0x0]),_0x5df988=_0x453cf1[_0x5a80b2(0x1e0)][_0x5a80b2(0x256)](_0x270719['mutations'][0x0]);for(let _0x3c5a38=_0xf34a53[_0x5a80b2(0x25b)]-0x1;_0x3c5a38>=0x0;_0x3c5a38--){const _0x4ef138={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf34a53[_0x3c5a38]['unitId'],..._0xf34a53[_0x3c5a38]['undoState']}},_0x5d09c1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf34a53[_0x3c5a38]['unitId'],..._0xf34a53[_0x3c5a38]['redoState']}},_0x9394d2=this[_0x5a80b2(0x1bc)][_0x5a80b2(0x225)](_0x1e50d2,_0x4ef138,!0x1),_0x3a362c=this['_transformService'][_0x5a80b2(0x225)](_0x5df988,_0x5d09c1,!0x1);if(_0x46cc83[_0x5a80b2(0xe2)](_0x9394d2))throw _0x9394d2[_0x5a80b2(0x104)];if(_0x46cc83[_0x5a80b2(0xe2)](_0x3a362c))throw _0x3a362c[_0x5a80b2(0x104)];_0x2f9804[_0x5a80b2(0x257)]({..._0xf34a53[_0x3c5a38],'undoState':_0x9394d2[_0x5a80b2(0x2d9)]['params'],'redoState':_0x3a362c[_0x5a80b2(0x2d9)][_0x5a80b2(0x2b7)]}),_0x1e50d2=_0x9394d2[_0x5a80b2(0xc9)],_0x5df988=_0x3a362c[_0x5a80b2(0xc9)];}this['_docStateChangeManagerService'][_0x5a80b2(0xb2)](_0x5c16fb,{'history':_0x32750c,'collaboration':_0x2f9804});}};_0x851025=_0x1bd6c3([_0x407f28(0x0,_0x453cf1['Inject'](_0x453cf1['Injector'])),_0x407f28(0x1,_0x46cc83[_0x1b3cae(0x100)]),_0x407f28(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x608d4f[_0x1b3cae(0x2d5)]))],_0x851025);var _0x79597=Object['getOwnPropertyDescriptor'],_0x1d3982=(_0x223608,_0x27dd51,_0x20e85f,_0x152c1b)=>{const _0x172bb6=_0x1b3cae;for(var _0x18ebca=_0x152c1b>0x1?void 0x0:_0x152c1b?_0x79597(_0x27dd51,_0x20e85f):_0x27dd51,_0x1418c6=_0x223608[_0x172bb6(0x25b)]-0x1,_0x4f4bda;_0x1418c6>=0x0;_0x1418c6--)(_0x4f4bda=_0x223608[_0x1418c6])&&(_0x18ebca=_0x4f4bda(_0x18ebca)||_0x18ebca);return _0x18ebca;},_0x21dbf7=(_0x51e10c,_0x44a7e3)=>(_0x4858aa,_0x302565)=>_0x44a7e3(_0x4858aa,_0x302565,_0x51e10c);let _0x1b9668=class{constructor(_0x59ebce,_0x3552c7){const _0x300522=_0x1b3cae;this[_0x300522(0xb3)]=_0x59ebce,this[_0x300522(0x1bc)]=_0x3552c7;}[_0x1b3cae(0xd3)](_0xb884eb){const _0x5d5172=_0x1b3cae;var _0x3ce281;const _0x4dd2e4=this[_0x5d5172(0xb3)]['get'](_0x131474[_0x5d5172(0x2ad)]),_0x586490=(_0x3ce281=_0x4dd2e4[_0x5d5172(0x2dc)]())!=null?_0x3ce281:[];if(_0x586490[_0x5d5172(0x25b)]===0x0)return;const _0x278866=_0xb884eb[_0x5d5172(0x2f9)],_0x584561=[{'id':_0x5d5172(0x9c),'params':{'unitId':_0x278866,'actions':null,'textRanges':_0x586490}}],_0x3a5f64=this['_transformService'][_0x5d5172(0x2f5)](_0xb884eb,_0x584561);if(!_0x46cc83[_0x5d5172(0x1d5)](_0x3a5f64))throw _0x3a5f64[_0x5d5172(0x104)];const _0xaf6ce2=_0x3a5f64[_0x5d5172(0x2d9)][0x0][_0x5d5172(0x2b7)][_0x5d5172(0x78)];Array[_0x5d5172(0x23d)](_0xaf6ce2)&&_0xaf6ce2[_0x5d5172(0x25b)]&&_0x4dd2e4[_0x5d5172(0x28c)](_0xaf6ce2,{'unitId':_0x278866,'subUnitId':_0x278866},!0x1);}};_0x1b9668=_0x1d3982([_0x21dbf7(0x0,_0x453cf1['Inject'](_0x453cf1[_0x1b3cae(0x25a)])),_0x21dbf7(0x1,_0x46cc83[_0x1b3cae(0x100)])],_0x1b9668);var _0x106b2b=Object['getOwnPropertyDescriptor'],_0x8ad12d=(_0x150dd8,_0x209174,_0x51845e,_0x451e0c)=>{const _0x5bb007=_0x1b3cae;for(var _0x5729e3=_0x451e0c>0x1?void 0x0:_0x451e0c?_0x106b2b(_0x209174,_0x51845e):_0x209174,_0x24d7b4=_0x150dd8[_0x5bb007(0x25b)]-0x1,_0x272180;_0x24d7b4>=0x0;_0x24d7b4--)(_0x272180=_0x150dd8[_0x24d7b4])&&(_0x5729e3=_0x272180(_0x5729e3)||_0x5729e3);return _0x5729e3;},_0x229351=(_0x18d2b0,_0x92e810)=>(_0x3e8bde,_0x56602b)=>_0x92e810(_0x3e8bde,_0x56602b,_0x18d2b0);let _0x45b84f=class extends _0x453cf1['Disposable']{constructor(_0x56a1b8,_0x150c72,_0x31a995,_0x3340b2,_0x572219,_0x53b369,_0x3a5760,_0x367f0b){const _0x19cd75=_0x1b3cae;super(),_0x347b87(this,'_status$',new _0xbcaee6['BehaviorSubject'](_0x16e438[_0x19cd75(0x295)][_0x19cd75(0x294)])),(this[_0x19cd75(0x289)]=_0x56a1b8,this['_collaborationController']=_0x150c72,this['_docTransformIMECacheService']=_0x31a995,this[_0x19cd75(0x1d8)]=_0x3340b2,this[_0x19cd75(0x109)]=_0x572219,this['_docSyncEditingCollabCursorService']=_0x53b369,this[_0x19cd75(0x123)]=_0x3a5760,this['_localeService']=_0x367f0b,this[_0x19cd75(0xbb)]());}[_0x1b3cae(0xbb)](){const _0x181d3b=_0x1b3cae;this[_0x181d3b(0x7a)](this[_0x181d3b(0x197)][_0x181d3b(0x216)]['subscribe'](_0x5934fd=>{const _0x18ba04=_0x181d3b,_0x1abe4c=this[_0x18ba04(0x289)][_0x18ba04(0x81)][_0x18ba04(0x1d0)](_0x21fbc7=>{const _0x1d5a21=_0x18ba04;if(_0x21fbc7==null)return;const {unitId:_0x1f917d,redoState:_0x4e5070,commandId:_0x19e9f7}=_0x21fbc7;if(_0x1f917d!==_0x5934fd[_0x1d5a21(0x2f9)])return;const _0x21f972={'id':_0x19e9f7,'type':_0x453cf1[_0x1d5a21(0x153)]['MUTATION'],'params':{'unitId':_0x1f917d,'actions':_0x4e5070['actions'],'textRanges':null}};_0x5934fd[_0x1d5a21(0xd8)](_0x21f972);});if(_0x5934fd[_0x18ba04(0x7a)](_0x1abe4c),_0x5934fd instanceof _0x16e438[_0x18ba04(0x302)]){const _0x335bc4={'onTransformIME':_0x2e6a55=>this[_0x18ba04(0x239)]['transformIMECache'](_0x2e6a55),'onTransformState':_0x2c0750=>this[_0x18ba04(0x1d8)][_0x18ba04(0x1dc)](_0x2c0750),'onTransformSelections':_0x5d4504=>this[_0x18ba04(0x109)][_0x18ba04(0xd3)](_0x5d4504),'onSyncEditingCollabCursor':_0x4aa904=>this[_0x18ba04(0x258)][_0x18ba04(0x26f)](_0x4aa904),'onTransformRemoteChangesetByIMECache':_0x5530fe=>this[_0x18ba04(0x239)][_0x18ba04(0x2ac)](_0x5530fe),'onTransformRemoteChangesetByStateCache':_0x550ae4=>this[_0x18ba04(0x1d8)][_0x18ba04(0x2ac)](_0x550ae4)};_0x5934fd[_0x18ba04(0x11f)](_0x335bc4);}}));}};_0x45b84f=_0x8ad12d([_0x229351(0x0,_0x453cf1['Inject'](_0x608d4f[_0x1b3cae(0x2d5)])),_0x229351(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x16e438['CollaborationController'])),_0x229351(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x266fb1)),_0x229351(0x3,_0x453cf1['Inject'](_0x851025)),_0x229351(0x4,_0x453cf1[_0x1b3cae(0xea)](_0x1b9668)),_0x229351(0x5,_0x453cf1[_0x1b3cae(0xea)](_0x2493dc)),_0x229351(0x6,_0x34c313[_0x1b3cae(0x1bb)]),_0x229351(0x7,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1['LocaleService']))],_0x45b84f);var _0x15591d=Object['getOwnPropertyDescriptor'],_0x5b0814=(_0x2ddec0,_0x2fadf7,_0x32b649,_0x397a72)=>{const _0x1123af=_0x1b3cae;for(var _0x5f388d=_0x397a72>0x1?void 0x0:_0x397a72?_0x15591d(_0x2fadf7,_0x32b649):_0x2fadf7,_0x3018ef=_0x2ddec0[_0x1123af(0x25b)]-0x1,_0x5751c5;_0x3018ef>=0x0;_0x3018ef--)(_0x5751c5=_0x2ddec0[_0x3018ef])&&(_0x5f388d=_0x5751c5(_0x5f388d)||_0x5f388d);return _0x5f388d;},_0x3acced=(_0x110124,_0x45208d)=>(_0x466e77,_0x3a7b8f)=>_0x45208d(_0x466e77,_0x3a7b8f,_0x110124);let _0x2e0722=class extends _0x453cf1[_0x1b3cae(0xb5)]{constructor(_0x5a9bb4,_0x5af81d,_0x34d620){const _0x460022=_0x1b3cae;super(),_0x347b87(this,_0x460022(0x24b),new Map()),_0x347b87(this,_0x460022(0x259),new Map()),_0x347b87(this,'_disabled',!0x1),(this[_0x460022(0x2b3)]=_0x5a9bb4,this['_localStorageService']=_0x5af81d,this[_0x460022(0x2a9)]=_0x34d620);}[_0x1b3cae(0x264)](){const _0x1bf134=_0x1b3cae;this[_0x1bf134(0x1cf)]=!0x0;}[_0x1b3cae(0x28f)](){this['_disabled']=!0x1;}get[_0x1b3cae(0x269)](){const _0x1f8233=_0x1b3cae;return this[_0x1f8233(0x259)];}[_0x1b3cae(0x2d6)](){const _0x1bddba=_0x1b3cae;this[_0x1bddba(0x1b5)]()[_0x1bddba(0x93)](()=>super['dispose']());}async[_0x1b3cae(0x1d3)](_0x49dbe8){const _0x287927=_0x1b3cae;return this[_0x287927(0x1cf)]?null:this[_0x287927(0x2e4)][_0x287927(0x6d)](_0x16e438[_0x287927(0x88)](_0x49dbe8));}async['saveOfflineData'](_0x5587d3,_0x21f57d){const _0x203dac=_0x1b3cae;return!!this[_0x203dac(0x2e4)][_0x203dac(0x2f4)](_0x5587d3,_0x21f57d);}[_0x1b3cae(0x194)](_0x3ecccf,_0x1bad63,_0x1d2fcb,_0x1c2268){const _0x2f5a07=_0x1b3cae,_0x2734f4=this[_0x2f5a07(0x2a9)]['getCurrentRevOfUnit'](_0x3ecccf);this[_0x2f5a07(0x24b)]['set'](_0x3ecccf,{'unitID':_0x3ecccf,'type':_0x1bad63,'awaitingChangeset':_0x1d2fcb,'mutations':_0x1c2268,'rev':_0x2734f4}),this[_0x2f5a07(0x259)][_0x2f5a07(0x22e)](_0x3ecccf)||this['_scheduleSaving'](_0x3ecccf);}[_0x1b3cae(0x184)](_0x1bee3d){const _0x1c218f=_0x1b3cae,_0x4d57e4=this[_0x1c218f(0x298)]();_0x4d57e4===0x0?this[_0x1c218f(0x255)](_0x1bee3d):this[_0x1c218f(0x259)]['set'](_0x1bee3d,setTimeout(()=>this[_0x1c218f(0x255)](_0x1bee3d),_0x4d57e4));}[_0x1b3cae(0x298)](){const _0x3aedd8=_0x1b3cae;var _0x520f10;return(_0x520f10=this[_0x3aedd8(0x2b3)][_0x3aedd8(0xae)](_0x16e438['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x520f10:_0x16e438['LOCAL_CACHE_INTERVAL'];}[_0x1b3cae(0x255)](_0x5dab48){const _0x420f1c=_0x1b3cae,_0x3a4b98=this['_saveTaskMap'][_0x420f1c(0x1b8)](_0x5dab48);return _0x3a4b98!==void 0x0&&window[_0x420f1c(0x211)](_0x3a4b98),this[_0x420f1c(0x2e4)][_0x420f1c(0x2f4)](_0x16e438['getLocalCacheKey'](_0x5dab48),this[_0x420f1c(0x24b)]['get'](_0x5dab48))[_0x420f1c(0x93)](()=>this[_0x420f1c(0x259)][_0x420f1c(0xbf)](_0x5dab48));}async[_0x1b3cae(0x1b5)](){const _0x58f5c1=_0x1b3cae,_0x46a811=[];this[_0x58f5c1(0x259)][_0x58f5c1(0x2d0)]((_0x2e338f,_0x30d6fe)=>{const _0x262846=_0x58f5c1;window['clearTimeout'](_0x2e338f),_0x46a811[_0x262846(0x15a)](this[_0x262846(0x255)](_0x30d6fe)[_0x262846(0x93)](()=>{const _0x5103cc=_0x262846;this['_saveTaskMap'][_0x5103cc(0xbf)](_0x30d6fe);}));}),await Promise[_0x58f5c1(0x2b4)](_0x46a811);}};_0x2e0722=_0x5b0814([_0x3acced(0x0,_0x453cf1[_0x1b3cae(0x1b0)]),_0x3acced(0x1,_0x453cf1[_0x1b3cae(0xe1)]),_0x3acced(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x46cc83[_0x1b3cae(0x300)]))],_0x2e0722);class _0x2d4089 extends _0x453cf1['RxDisposable']{constructor(){const _0xa6ae2a=_0x1b3cae;super(),_0x347b87(this,_0xa6ae2a(0x152)),this[_0xa6ae2a(0x152)]=_0xbcaee6[_0xa6ae2a(0x1e6)](window,_0xa6ae2a(0x222))[_0xa6ae2a(0x11d)](_0xbcaee6['takeUntil'](this[_0xa6ae2a(0x162)]),_0xbcaee6[_0xa6ae2a(0x20a)](0x1),_0xbcaee6[_0xa6ae2a(0x17f)](void 0x0));}[_0x1b3cae(0x25f)](_0x84e08c,_0x2cca20,_0x1dd978=!0x1){const _0x511a38=_0x1b3cae,_0x17eb3d=new URL(window[_0x511a38(0x14a)]['href']);_0x17eb3d[_0x511a38(0x1bd)]['set'](_0x84e08c,_0x2cca20),_0x1dd978?window[_0x511a38(0x8e)][_0x511a38(0x277)]('','',_0x17eb3d[_0x511a38(0xa6)]()):window['history'][_0x511a38(0x1f2)]('','',_0x17eb3d['toString']());}['removeParam'](_0x36e0bc,_0x31b719=!0x1){const _0x244d74=_0x1b3cae,_0x27e542=new URL(window['location'][_0x244d74(0x77)]);_0x27e542[_0x244d74(0x1bd)][_0x244d74(0xbf)](_0x36e0bc),_0x31b719?window[_0x244d74(0x8e)]['replaceState']('','',_0x27e542['toString']()):window[_0x244d74(0x8e)][_0x244d74(0x1f2)]('','',_0x27e542[_0x244d74(0xa6)]());}['getParam'](_0xcbd86e){const _0x2dee41=_0x1b3cae;var _0x4846fe;return(_0x4846fe=new URL(window['location']['href'])[_0x2dee41(0x1bd)]['get'](_0xcbd86e))!=null?_0x4846fe:void 0x0;}}var _0x542c4e=Object[_0x1b3cae(0x21e)],_0x3da9f2=Object[_0x1b3cae(0x16b)],_0x544356=(_0x26c695,_0x648957,_0x3de022)=>_0x648957 in _0x26c695?_0x542c4e(_0x26c695,_0x648957,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3de022}):_0x26c695[_0x648957]=_0x3de022,_0x3f65a4=(_0x331dfa,_0x1dbcb7,_0xfe7b0b,_0x1ecc34)=>{const _0x3e83ac=_0x1b3cae;for(var _0x46ef68=_0x1ecc34>0x1?void 0x0:_0x1ecc34?_0x3da9f2(_0x1dbcb7,_0xfe7b0b):_0x1dbcb7,_0x1f36b2=_0x331dfa[_0x3e83ac(0x25b)]-0x1,_0x6085d1;_0x1f36b2>=0x0;_0x1f36b2--)(_0x6085d1=_0x331dfa[_0x1f36b2])&&(_0x46ef68=_0x6085d1(_0x46ef68)||_0x46ef68);return _0x46ef68;},_0x19890c=(_0x4e0bf3,_0xf6bdeb)=>(_0x4195cf,_0x3f9fd9)=>_0xf6bdeb(_0x4195cf,_0x3f9fd9,_0x4e0bf3),_0x5bf9e4=(_0x81ad45,_0x262484,_0x35d6ca)=>_0x544356(_0x81ad45,_0x262484+'',_0x35d6ca);const _0xf9e55e='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1a2a0b[_0x1b3cae(0x1f7)]=class extends _0x453cf1[_0x1b3cae(0x1cb)]{constructor(_0x534908=_0x382753,_0x48dfa9,_0x556e3d,_0x37680d){const _0x3c8db0=_0x1b3cae;super(),this[_0x3c8db0(0x18d)]=_0x534908,this[_0x3c8db0(0x29f)]=_0x48dfa9,this[_0x3c8db0(0xb3)]=_0x556e3d,this[_0x3c8db0(0x2b3)]=_0x37680d;const {..._0x12e444}=_0x453cf1['merge']({},_0x382753,this[_0x3c8db0(0x18d)]);this[_0x3c8db0(0x2b3)]['setConfig'](_0x439bc2,_0x12e444);}['onStarting'](){const _0x5f285b=_0x1b3cae;this[_0x5f285b(0x1dd)](),this[_0x5f285b(0x202)]();}[_0x1b3cae(0x1e2)](){const _0x4e66da=_0x1b3cae;this[_0x4e66da(0x292)]();}[_0x1b3cae(0x1dd)](){const _0x3ac2e5=_0x1b3cae;var _0x58b0e2;const _0x1ee483=[[_0xd0f6e4],[_0x1b9668],[_0x266fb1],[_0x851025],[_0x2493dc],[_0x2b819d,{'useClass':_0x2d4089}],[_0x5df904[_0x3ac2e5(0x102)],{'useClass':_0x5df904[_0x3ac2e5(0x9e)]}],[_0x16e438[_0x3ac2e5(0x1ef)],{'useClass':_0x2e0722}],[_0x1a2a0b[_0x3ac2e5(0x2bc)]],[_0x45b84f],[_0x2745a2],[_0x40540a],[_0x1f14ca],[_0x1a2a0b[_0x3ac2e5(0x21c)]]];_0x453cf1['registerDependencies'](this[_0x3ac2e5(0xb3)],_0x453cf1[_0x3ac2e5(0x2fa)](_0x1ee483,(_0x58b0e2=this[_0x3ac2e5(0x18d)])==null?void 0x0:_0x58b0e2[_0x3ac2e5(0x280)]));}[_0x1b3cae(0x292)](){const _0x3590f7=_0x1b3cae;this['disposeWithMe'](this['_renderManagerService'][_0x3590f7(0x180)](_0x453cf1[_0x3590f7(0x270)][_0x3590f7(0x2c2)],[_0x32f903])),this[_0x3590f7(0x7a)](this[_0x3590f7(0x29f)][_0x3590f7(0x180)](_0x453cf1['UniverInstanceType'][_0x3590f7(0xbe)],[_0x20126d]));}[_0x1b3cae(0x202)](){const _0x3eec84=_0x1b3cae;_0x453cf1[_0x3eec84(0x22f)](this[_0x3eec84(0xb3)],[[_0x40540a],[_0x1a2a0b[_0x3eec84(0x2bc)]],[_0x45b84f],[_0x2745a2],[_0x1a2a0b[_0x3eec84(0x21c)]]]);}},_0x5bf9e4(_0x1a2a0b['UniverCollaborationClientUIPlugin'],_0x1b3cae(0x231),_0xf9e55e),_0x1a2a0b[_0x1b3cae(0x1f7)]=_0x3f65a4([_0x453cf1['DependentOn'](_0x16e438['UniverCollaborationClientPlugin']),_0x19890c(0x1,_0xa264dd[_0x1b3cae(0x18f)]),_0x19890c(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1['Injector'])),_0x19890c(0x3,_0x453cf1[_0x1b3cae(0x1b0)])],_0x1a2a0b[_0x1b3cae(0x1f7)]);var _0x36a30a=Object[_0x1b3cae(0x16b)],_0x2f28cc=(_0x214936,_0x10d58e,_0x48edb9,_0x1bc2fc)=>{const _0xddc38b=_0x1b3cae;for(var _0x337341=_0x1bc2fc>0x1?void 0x0:_0x1bc2fc?_0x36a30a(_0x10d58e,_0x48edb9):_0x10d58e,_0x156927=_0x214936[_0xddc38b(0x25b)]-0x1,_0x2fba23;_0x156927>=0x0;_0x156927--)(_0x2fba23=_0x214936[_0x156927])&&(_0x337341=_0x2fba23(_0x337341)||_0x337341);return _0x337341;},_0x3e80d0=(_0xd9d132,_0x178223)=>(_0x568c52,_0x5109e5)=>_0x178223(_0x568c52,_0x5109e5,_0xd9d132);_0x1a2a0b[_0x1b3cae(0x2da)]=class extends _0x16e438['CollaborationSocketService']{constructor(_0x59aadb,_0x2afdf5,_0x2ab8a7,_0x3ab0e2,_0x36dd25){super(_0x59aadb,_0x2afdf5,_0x2ab8a7,_0x3ab0e2,_0x36dd25);}async[_0x1b3cae(0x165)](_0x5ce882){const _0x59dcca=_0x1b3cae,_0x4820e8=await this['_getSessionTicket'](),_0x1692c1=this[_0x59dcca(0x2d4)](_0x5ce882,_0x4820e8);return this[_0x59dcca(0x185)](_0x1692c1);}['_createSocketURL'](_0x5df6ff,_0x259b4d){const _0x2bdadc=_0x1b3cae,_0x40eee1=typeof window>'u'?new URL(_0x5df6ff):new URL(_0x5df6ff,window['location'][_0x2bdadc(0x126)]);_0x40eee1[_0x2bdadc(0x1bd)][_0x2bdadc(0x234)]('sessionTicket',_0x259b4d);const _0x543457=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x543457[_0x2bdadc(0x1b8)](_0x2bdadc(0x2b6))&&_0x40eee1[_0x2bdadc(0x1bd)][_0x2bdadc(0x234)](_0x2bdadc(0x2b6),_0x543457[_0x2bdadc(0x1b8)](_0x2bdadc(0x2b6))),_0x40eee1[_0x2bdadc(0xa6)]();}async['_getSessionTicket'](){const _0x279dba=_0x1b3cae;var _0x4c2f70,_0x22b7b5,_0x5ed886;const _0x5ee9cd=this[_0x279dba(0x2b3)][_0x279dba(0xae)](_0x16e438[_0x279dba(0x1c9)]),_0x33c2c4=(_0x4c2f70=_0x5ee9cd==null?void 0x0:_0x5ee9cd[_0x279dba(0x2c0)])!=null?_0x4c2f70:_0x16e438['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5ed886=(_0x22b7b5=(await this[_0x279dba(0x16d)][_0x279dba(0x1b8)](_0x33c2c4,{'headers':{'Content-Type':'application/json'}}))[_0x279dba(0x2e5)])==null?void 0x0:_0x22b7b5['ticket'])!=null?_0x5ed886:'';}},_0x1a2a0b[_0x1b3cae(0x2da)]=_0x2f28cc([_0x3e80d0(0x0,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x25a)])),_0x3e80d0(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x5df904[_0x1b3cae(0xfd)])),_0x3e80d0(0x2,_0x453cf1[_0x1b3cae(0x1b0)]),_0x3e80d0(0x3,_0x453cf1[_0x1b3cae(0x27b)]),_0x3e80d0(0x4,_0x46cc83[_0x1b3cae(0x253)])],_0x1a2a0b['BrowserCollaborationSocketService']);const _0x386161=0x7530,_0xc23adf=_0x1b3cae(0x147);class _0x5f2b88 extends _0x453cf1['Disposable']{constructor(){const _0x96831b=_0x1b3cae;super(),_0x347b87(this,_0x96831b(0x17d),_0x453cf1[_0x96831b(0x229)]()),_0x347b87(this,'_selfUnitIDs',new Set()),_0x347b87(this,_0x96831b(0x245),new Map()),_0x347b87(this,_0x96831b(0x190),null),_0x347b87(this,_0x96831b(0x215),new Map()),_0x347b87(this,_0x96831b(0x101),new Map()),this[_0x96831b(0xff)]();}['dispose'](){const _0x949c45=_0x1b3cae;super[_0x949c45(0x2d6)](),this[_0x949c45(0x215)]['forEach']((_0x3c7493,_0xb5f0fa)=>this[_0x949c45(0x1b9)](_0xb5f0fa)),this['_heartbeatTimer']&&window[_0x949c45(0x135)](this[_0x949c45(0x190)]);}[_0x1b3cae(0x142)](_0x400add){const _0x581b45=_0x1b3cae;return this[_0x581b45(0x10a)](_0x400add)[_0x581b45(0x11d)](_0xbcaee6[_0x581b45(0x2d1)]());}[_0x1b3cae(0x299)](_0x1d9456){const _0x15ee39=_0x1b3cae;this[_0x15ee39(0x173)][_0x15ee39(0x204)]===0x0&&this['_scheduleHeartbeat'](),this[_0x15ee39(0x173)][_0x15ee39(0x210)](_0x1d9456),this['_send']({'type':0x0,'memberID':this[_0x15ee39(0x17d)],'unitIDs':[_0x1d9456],'isForwarded':!0x1});}['disposeUnit'](_0xf0d1c7){const _0x4ec9a2=_0x1b3cae;this[_0x4ec9a2(0x173)][_0x4ec9a2(0xbf)](_0xf0d1c7),this[_0x4ec9a2(0x173)][_0x4ec9a2(0x204)]===0x0&&this[_0x4ec9a2(0x190)]&&window[_0x4ec9a2(0x135)](this['_heartbeatTimer']);}[_0x1b3cae(0xff)](){const _0x12a246=_0x1b3cae;this[_0x12a246(0x7a)](_0x453cf1['toDisposable'](_0xbcaee6[_0x12a246(0x1e6)](window,_0x12a246(0xb0))[_0x12a246(0x1d0)](_0x2dd086=>{const _0x41bd34=_0x12a246;if(_0x2dd086[_0x41bd34(0x2a1)]!==_0xc23adf||!_0x2dd086[_0x41bd34(0xe6)])return;const _0x8e7652=JSON[_0x41bd34(0x261)](_0x2dd086['newValue']);this['_handleEvent'](_0x8e7652);}))),window[_0x12a246(0x1b6)](_0x12a246(0xec),()=>this['_send']({'type':0x1,'memberID':this[_0x12a246(0x17d)],'unitIDs':Array[_0x12a246(0x2a3)](this[_0x12a246(0x173)])}));}[_0x1b3cae(0x305)](_0x1d6789){const _0x3f60fd=_0x1b3cae;switch(_0x1d6789[_0x3f60fd(0xb4)]){case 0x0:this[_0x3f60fd(0x2a7)](_0x1d6789);break;case 0x1:this[_0x3f60fd(0x2b5)](_0x1d6789);break;case 0x2:this['_handleHeartbeatEvent'](_0x1d6789);break;}}['_handleJoinEvent'](_0x1ab178){const _0x3923a4=_0x1b3cae,{unitIDs:_0x1cd0fa,memberID:_0x46a4a9,isForwarded:_0x308482}=_0x1ab178;_0x1cd0fa[_0x3923a4(0x2d0)](_0x5c8ca8=>{const _0x150075=_0x3923a4;if(!_0x308482&&this[_0x150075(0x245)]['has'](_0x5c8ca8)&&this[_0x150075(0x10a)](_0x5c8ca8)['next'](_0x16e438[_0x150075(0x23f)][_0x150075(0x2ae)]),!this[_0x150075(0x245)][_0x150075(0x22e)](_0x5c8ca8)||!this['_unitOnClients'][_0x150075(0x1b8)](_0x5c8ca8)['has'](_0x46a4a9)){const _0x521e11=this[_0x150075(0x245)]['get'](_0x5c8ca8)||new Set();_0x521e11['add'](_0x46a4a9),this[_0x150075(0x245)][_0x150075(0x234)](_0x5c8ca8,_0x521e11),this[_0x150075(0x254)](_0x46a4a9);}}),_0x308482||this[_0x3923a4(0x2b9)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3923a4(0x173)]],'isForwarded':!0x0});}[_0x1b3cae(0x254)](_0x4116ef){const _0x461176=_0x1b3cae;this['_removeClearOtherTimer'](_0x4116ef);const _0x5e4ea7=window[_0x461176(0x22b)](()=>{const _0x28fa2f=_0x461176;this[_0x28fa2f(0x245)][_0x28fa2f(0x2d0)](_0x5db061=>{const _0x20fe7f=_0x28fa2f;_0x5db061[_0x20fe7f(0xbf)](_0x4116ef);});},_0x386161*0x2);this[_0x461176(0x215)][_0x461176(0x234)](_0x4116ef,_0x5e4ea7);}[_0x1b3cae(0x1b9)](_0x23db70){const _0x335c4c=_0x1b3cae;if(this[_0x335c4c(0x215)]['has'](_0x23db70)){const _0x33a4a7=this[_0x335c4c(0x215)]['get'](_0x23db70);_0x33a4a7&&window[_0x335c4c(0x211)](_0x33a4a7),this[_0x335c4c(0x215)][_0x335c4c(0x234)](_0x23db70,null);}}[_0x1b3cae(0x2b5)](_0x43ea54){const _0x432a6=_0x1b3cae,{memberID:_0xbdb7,unitIDs:_0x4c54e5}=_0x43ea54;_0x4c54e5[_0x432a6(0x2d0)](_0x2dd1c8=>{const _0x36edbf=_0x432a6;var _0xa576f7;const _0x59a2c1=this['_unitOnClients'][_0x36edbf(0x1b8)](_0x2dd1c8);_0x59a2c1&&(_0x59a2c1[_0x36edbf(0xbf)](_0xbdb7),(_0xa576f7=this['_ensureSubject'](_0x2dd1c8))==null||_0xa576f7[_0x36edbf(0x290)](_0x59a2c1['size']===0x0?_0x16e438[_0x36edbf(0x23f)][_0x36edbf(0x29a)]:_0x16e438[_0x36edbf(0x23f)][_0x36edbf(0x2ae)]));}),this[_0x432a6(0x1b9)](_0xbdb7);}['_handleHeartbeatEvent'](_0x8a1e0){const _0x138763=_0x1b3cae;this[_0x138763(0x254)](_0x8a1e0[_0x138763(0x201)]);}[_0x1b3cae(0x2b9)](_0x373d24){const _0xf53ec0=_0x1b3cae;localStorage[_0xf53ec0(0x2f4)](_0xc23adf,JSON[_0xf53ec0(0x18e)](_0x373d24));}[_0x1b3cae(0x2b1)](){const _0x1ab80e=_0x1b3cae;this[_0x1ab80e(0x190)]=window[_0x1ab80e(0x2bd)](()=>{const _0x571a4c=_0x1ab80e;this['_send']({'type':0x2,'memberID':this[_0x571a4c(0x17d)]});},_0x386161);}[_0x1b3cae(0x10a)](_0x4ca215){const _0x2c6b0f=_0x1b3cae;return this[_0x2c6b0f(0x101)][_0x2c6b0f(0x22e)](_0x4ca215)||this[_0x2c6b0f(0x101)][_0x2c6b0f(0x234)](_0x4ca215,new _0xbcaee6['BehaviorSubject'](_0x16e438['UnitStatus'][_0x2c6b0f(0x29a)])),this[_0x2c6b0f(0x101)][_0x2c6b0f(0x1b8)](_0x4ca215);}}var _0x5dd119=(_0x1ef3c9=>(_0x1ef3c9[_0x1ef3c9['UNDEFINED']=0x0]=_0x1b3cae(0x11b),_0x1ef3c9[_0x1ef3c9['OK']=0x1]='OK',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x70)]=0x2]=_0x1b3cae(0x70),_0x1ef3c9[_0x1ef3c9['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2b0)]=0x4]=_0x1b3cae(0x2b0),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x7b)]=0x5]='UNAUTHENTICATED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x151)]=0x6]=_0x1b3cae(0x151),_0x1ef3c9[_0x1ef3c9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x82)]=0x8]=_0x1b3cae(0x82),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x9d)]=0x9]=_0x1b3cae(0x9d),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2e2)]=0xa]=_0x1b3cae(0x2e2),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x137)]=0xb]=_0x1b3cae(0x137),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x287)]=0xc]=_0x1b3cae(0x287),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x11c)]=0xd]=_0x1b3cae(0x11c),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x1e9)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x187)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2eb)]=0x1771]=_0x1b3cae(0x2eb),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x285)]=0x1772]=_0x1b3cae(0x285),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xc8)]=0x1773]=_0x1b3cae(0xc8),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xd9)]=0x1b59]='APPLY_REJECT',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x182)]=0x1b5a]=_0x1b3cae(0x182),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x242)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x12b)]=0x1b5c]=_0x1b3cae(0x12b),_0x1ef3c9[_0x1ef3c9['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x1ad)]=0x1f41]=_0x1b3cae(0x1ad),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x15f)]=0x2329]=_0x1b3cae(0x15f),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2c6)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x145)]=0x232b]=_0x1b3cae(0x145),_0x1ef3c9[_0x1ef3c9['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xc4)]=0x232d]=_0x1b3cae(0xc4),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x1e4)]=0x2711]=_0x1b3cae(0x1e4),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x168)]=0x2712]=_0x1b3cae(0x168),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x23e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1ef3c9[_0x1ef3c9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xa7)]=0x271a]=_0x1b3cae(0xa7),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x26b)]=0x271b]=_0x1b3cae(0x26b),_0x1ef3c9[_0x1ef3c9['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1b3cae(0x2f2),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2f3)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2bb)]=0x271e]=_0x1b3cae(0x2bb),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2cb)]=0x271f]=_0x1b3cae(0x2cb),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xf6)]=0x2720]=_0x1b3cae(0xf6),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x247)]=0x2af9]=_0x1b3cae(0x247),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xe3)]=0x2ee1]=_0x1b3cae(0xe3),_0x1ef3c9[_0x1ef3c9['INVALID_INVITE_CODE']=0x2ee2]=_0x1b3cae(0x105),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x12e)]=0x2ee3]=_0x1b3cae(0x12e),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x183)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x1e5)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x19b)]=0x32c9]=_0x1b3cae(0x19b),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x15e)]=0x32ca]=_0x1b3cae(0x15e),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x28e)]=0x32cb]=_0x1b3cae(0x28e),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x206)]=-0x1]=_0x1b3cae(0x206),_0x1ef3c9))(_0x5dd119||{}),_0x75b1ea=Object[_0x1b3cae(0x16b)],_0x3fedd1=(_0x2173f6,_0x411aab,_0x196a77,_0x343c1d)=>{for(var _0xe730e9=_0x343c1d>0x1?void 0x0:_0x343c1d?_0x75b1ea(_0x411aab,_0x196a77):_0x411aab,_0x11b1fe=_0x2173f6['length']-0x1,_0x2dd046;_0x11b1fe>=0x0;_0x11b1fe--)(_0x2dd046=_0x2173f6[_0x11b1fe])&&(_0xe730e9=_0x2dd046(_0xe730e9)||_0xe730e9);return _0xe730e9;},_0x205599=(_0xde4e25,_0x568092)=>(_0xcbdf8d,_0x13c3c2)=>_0x568092(_0xcbdf8d,_0x13c3c2,_0xde4e25);_0x1a2a0b['RemoteUniscriptService']=class extends _0x453cf1['Disposable']{constructor(_0x1c273e,_0x4699ae,_0x2efb3c){const _0xc2441b=_0x1b3cae;super(),this['_instanceService']=_0x1c273e,this[_0xc2441b(0x16d)]=_0x4699ae,this[_0xc2441b(0x2b3)]=_0x2efb3c;}async[_0x1b3cae(0x148)](_0x76315f,_0x629f74,_0x127cf6,..._0x13a9b9){const _0x1f11b5=_0x1b3cae;var _0x3fcc69,_0x173b5a,_0x4837ae,_0x33bf64;const _0x2c4b0e=this['_instanceService'][_0x1f11b5(0xc0)]();if(!_0x2c4b0e)throw new Error(_0x1f11b5(0x281));const _0x59a2fb=((_0x3fcc69=this[_0x1f11b5(0x2b3)][_0x1f11b5(0xae)](_0x16e438[_0x1f11b5(0x2f6)]))!=null?_0x3fcc69:_0x16e438['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x76315f+_0x1f11b5(0x2f0)+_0x629f74,_0x4f3cf8=new URL(window['location'][_0x1f11b5(0x77)]),_0x20912e={'scriptId':_0x76315f,'runId':(_0x173b5a=_0x4f3cf8[_0x1f11b5(0x1bd)][_0x1f11b5(0x1b8)](_0x1f11b5(0x2b6)))!=null?_0x173b5a:'','function':_0x629f74,'unitId':_0x2c4b0e[_0x1f11b5(0x13d)](),'argsOfFunction':JSON[_0x1f11b5(0x18e)](_0x13a9b9),'invokeId':(_0x4837ae=_0x127cf6[_0x1f11b5(0xde)])!=null?_0x4837ae:'','executionId':(_0x33bf64=_0x127cf6[_0x1f11b5(0x9a)])!=null?_0x33bf64:''};try{const _0x5618ad=await this[_0x1f11b5(0x16d)][_0x1f11b5(0x2cc)](_0x59a2fb,{'body':_0x20912e});return _0x5618ad[_0x1f11b5(0x2e5)][_0x1f11b5(0x104)]&&_0x5618ad['body'][_0x1f11b5(0x104)][_0x1f11b5(0x69)]!==_0x5dd119['OK']?_0x1f11b5(0x138):_0x5618ad[_0x1f11b5(0x2e5)][_0x1f11b5(0x76)];}catch{return _0x1f11b5(0x138);}}},_0x1a2a0b[_0x1b3cae(0xf7)]=_0x3fedd1([_0x205599(0x0,_0x453cf1[_0x1b3cae(0x1e7)]),_0x205599(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x5df904[_0x1b3cae(0xfd)])),_0x205599(0x2,_0x453cf1['IConfigService'])],_0x1a2a0b[_0x1b3cae(0xf7)]),_0x1a2a0b[_0x1b3cae(0x195)]=_0x1a7cba,_0x1a2a0b[_0x1b3cae(0x114)]=_0x2b819d,_0x1a2a0b[_0x1b3cae(0x8d)]=_0x4040fc,_0x1a2a0b[_0x1b3cae(0xce)]=_0x5f2b88,_0x1a2a0b[_0x1b3cae(0x271)]=_0x2d4089,Object[_0x1b3cae(0x21e)](_0x1a2a0b,Symbol[_0x1b3cae(0x8b)],{'value':_0x1b3cae(0x2ee)});}));function _0x311b(_0x158b3d,_0x174073){const _0x447e16=_0x447e();return _0x311b=function(_0x311b88,_0x5a32fb){_0x311b88=_0x311b88-0x69;let _0x214d00=_0x447e16[_0x311b88];return _0x214d00;},_0x311b(_0x158b3d,_0x174073);}function _0x447e(){const _0x4d6b7f=['collaboration.single-unit.warning','onCommandExecuted','top','33685hmeDxF','_univerInstanceService','memberID','_initDependencies','_setupSubUnitSync','size','redoState','UNRECOGNIZED','data','createElement','xlink:href','shareReplay','find','InsertRowCommandId','restore','handleInsertRangeMoveRight','trim','add','clearTimeout','NodePositionConvertToCursor','skeleton','RefRangeService','_clearOtherTimers','entityInit$','handleDeleteRangeMoveUp','height','collaboration.closeRoom','@univerjs/design','includes','CollaborationDataLoaderController','DocIMEInputManagerService','defineProperty','_shapes','tag','getMember','popstate','Shape','getAncestorScale','transformMutation','@univerjs/drawing','clsx','mask','generateRandomId','getOffsetConfig','setTimeout','UPDATE_CURSOR','getRenderById','has','touchDependencies','getSkeleton','pluginName','sheetID','getValue','set','url(#on-line-icon_clip0_910_349)','getRelativeToViewportCoord','UniverDocsUi','onTransformChange$','_docTransformIMECacheService','COLORS','url(#$1','drawWith','isArray','YUUMI_RATE_OVER_LIMIT','UnitStatus','NodePositionConvertToRectRange','_memberService','APPLY_REVISION_CONFILICT','getOwnPropertySymbols','ranges','_unitOnClients','_transformHistoryAndStateStack','PY_RUNTIME_SCRIPT_ERROR','UniverProCollaborationClient','_handleHover','idSuffix','_cachedData','_lastPointer','complete','event$','4653729FDWOvv','_updateCollabCursors','width','IDocClipboardService','ISnapshotServerService','_scheduleClearOtherTimer','_saveCache','deepClone','unshift','_docSyncEditingCollabCursorService','_saveTaskMap','Injector','length','throttleTime','getCellPositionByOffset','getVpScrollXYInfoByPosToVp','setParam','_draw','parse','_uiPartsService','jsx','disableLocalCache','UniverProCollaboration','rxjs','indexOf','_hovered','saveTaskMap','BehaviorSubject','YUUMI_ASYNCIO_CANCELLED','_imageIoService','_eventUnsubscribe','RECT','syncEditingCollabCursor','UniverInstanceType','WebURLService','collab-rect-range-','combineLatest','RxDisposable','LocaleService','onPointerEnter$','replaceState','setAlpha','SetTextSelectionsOperation','_collabCursorController','ILogService','_startDocCollabCursor','4DAbjlE','url(#off-line-icon_clip0_910_343)','engine','override','[RemoteUniscriptService]:\x20no\x20focused\x20unit','path','_anchorDot','SetWorksheetActivateCommand','SNAPSHOT_HAS_BEEN_REMOVED','text','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','@univerjs/docs-ui','_docStateChangeManagerService','_transformUndoRedoStack','startRow','replaceDocRanges','handleDeleteRangeMoveLeft','EMAIL_HAS_BEEN_BOUND','enableLocalCache','next','handleIRemoveRow','_registerRenderDependencies','symbol','NOT_COLLAB','CollaborationStatus','_range','_initCommandExecutedListener','_getSaveTimeout','editingUnit','NO_OTHER_CLIENTS_EDITING','lineTo','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','collab-text-range-','InsertColCommandId','_renderManagerService','SOCKET_FAILED_RETRY','key','DeleteRangeMoveLeftCommandId','from','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','DOC_RANGE_TYPE','prototype','_handleJoinEvent','startsWith','_revisionService','CollaborationUIEventService','@univerjs-pro/collaboration-client','transformRemoteChangeset','DocSelectionManagerService','OTHER_CLIENTS_EDITING','getSheetObject','NOT_FOUND','_scheduleHeartbeat','labelPosition','_configService','all','_handleLeaveEvent','runId','params','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_send','className','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DesktopCollaborationStatusDisplayController','setInterval','InsertRangeMoveRightCommandId','status$','wsSessionTicketUrl','init','UNIVER_DOC','UniverRpc','executeCommand','UniverDesign','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','jiqing.500','requireSession','switchMap','extend','YUUMI_AI_RUN_FAILED','post','_syncEditingCollabCursorService','setActiveRange','CLOSE_ROOM','forEach','distinctUntilChanged','debounce','entries','_createSocketURL','DocStateChangeManagerService','dispose','MoveRangeCommandId','registerRefRange','m2Prime','BrowserCollaborationSocketService','_drawRectRange','getDocRanges','unsubscribe','@univerjs/core','addObjects','_online','defIds','LOGIN_FAILED','collaboration-client-ui.config','_localStorageService','body','_toggleOnline','_collaborationUIEventService','onMouseMove','currentColor','fillStyle','SNAPSHOT_INVALID_SNAPSHOT','1152536lAYjZn','getColorFromTheme','Module','transform','/run/','handleInsertRow','YUUMI_TABLE_NOT_FOUND_IN_UNIT','YUUMI_ALL_TABLES_IS_INVALID','setItem','transformMutationsWithChangeset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getCoordByCell','takeUntil','unitID','mergeOverrideWithDependencies','save','@univerjs/engine-formula','_cursorInfo$','column','BuiltInUIPart','RevisionService','Tooltip','DocCollaborationEntity','_getScale','Warning','_handleEvent','SessionStatus','code','black','CollaborationEvent','_drawAnchor','getItem','_initResize','RemoveRowCommandId','INTERNAL_ERROR','defs','_commandService','_refreshCollabCursors','ThemeService','sheetId','result','href','textRanges','_localCacheService','disposeWithMe','UNAUTHENTICATED','TEXT','@univerjs/rpc','selections','Vector2','_docSkeletonManagerService','docStateChange$','TOO_MANY_REQUESTS','CollaborationSessionService','[CollaborationDataLoaderController]','UniverDrawing','jsxs','40IApkwN','getLocalCacheKey','_getMergeRange','sessionStatus$','toStringTag','_colorIndex','SheetCollabCursorShape','history','rxjs/operators','arc','transformIMECache','translate(.97)','then','fillRule','UniverSheetsUi','endRow','getColor','DataLoaderService','beginPath','executionId','_getSheetObject','doc.mutation.rich-text-editing','COMPLETION_FINISHED','WebSocketService','#FFF','_themeService','hasOwnProperty','DeleteRangeMoveUpCommandId','AWAITING','onPointerMove$','Unknown\x20user','toString','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationController','664166FADOyi','_cursors','@univerjs-pro/collaboration','_beforeCloseService','354RlLBsc','getConfig','evenodd','storage','IImageIoService','setStateCache','_injector','type','Disposable','OTHER_CLIENT_EDITING','setShapeProps','connectInjector','mutations','_session','_initEntityListener','hide','FromArray','UNIVER_SHEET','delete','getFocusedUnit','_entities','whenReady','SUBMIT_CHANGESET_TIMEOUT','LICENSE_DISTRO_REJECTED','onPointerLeave$','merge','_color','ENSURE_SNAPSHOT_EXECUTION','m1Prime','SheetSkeletonManagerService','fill','Rectangle','_cursorShapes','WebBrowserSingleActiveUnitService','HEADER_MENU','_initStatusListener','isActive','useDependency','transformSelections','MessageType','collab-text-anchor-','VIEW_MAIN','getTypeOfUnitDisposed$','onLocalMutation','APPLY_REJECT','cursorInfo$','show','_refRangeService','on-line-icon','invokeId','debounceTime','_name','ILocalStorageService','isTransformMutationFailure','INVITE_CODE_HAS_BEEN_UES','univerjs-icon\x20univerjs-icon-','activeSheet$','newValue','reconnect','hovered','_updateLocalCursor','Inject','useObservable','unload','getMemberID','unitId','blue.400','cursorInfo','_anchor','React','http://www.w3.org/2000/svg','currentTheme$','handleInsertRangeMoveDown','YUUMI_CONNECTOR_URL_NOT_FOUND','RemoteUniscriptService','_getAnchorBounding','_dataLoaderService','div','max','off-line-icon','HTTPService','addObject','_init','ITransformService','_unitStatus','ISocketService','isEditing','error','INVALID_INVITE_CODE','_render','_toggleOffline','operators','_docTransformSelectionsService','_ensureSubject','bottom','fillText','function','_onCursorDelete','_cursor','IBeforeCloseService','_status$','react/jsx-runtime','startColumn','IURLService','PENDING','subunit','UniverIcon','@univerjs/sheets','collab-client.tooltip.reconnect','rgba(255,\x20255,\x20255,\x200.01)','UNDEFINED','EMAIL_VERIFY_CODE_MISMATCH','pipe','session.will-retry','addHandlerCallback','getUniverSheetInstance','forwardRef','session.collaboration-timeout','_messageService','roomMembers$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','origin','row','ICommandService','name','_backgroundColor','APPLY_PERMISSION_DENIED','propertyIsEnumerable','assign','INVITE_CODE_REQUIRED','_assignedColors','USERS_LEAVE','SetSelectionsOperation','getViewport','asObservable','exports','clearInterval','getCurrent','MOBILE_VERIFY_CODE_MISMATCH','Failed','children','M0\x200H16V16H0z','transformByState','getStateCache','getUnitId','filter','clipPath','registerComponent','endColumn','getUnitStatus$','SYNCED','handleMoveRange','LICENSE_IMPORT_SIZE_EXCEEDED','debug','ACTIVE_UNIT_EVENT_CHANNEL','runOnServer','2164899rWLixF','location','attrs','getCurrentSelections','_updateURLWithCurrentState','getTypeOfUnitAdded$','getActiveSheet','createInstance','ALREADY_EXISTS','urlChange$','CommandType','@univerjs/sheets-ui','SHEET_VIEWPORT_KEY','send','_setupBeforeClosingHandler','_initEvent','icon','push','UniverDocs','_roomMembers$','string','MOBILE_HAS_BEEN_BOUND','LICENSE_MAX_UNITS_EXCEEDED','JOIN_ROOM_FAILED','current','dispose$','_onRefRangeChange','@univerjs/network','createSocket','svg','_drawTextRange','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/ui','getCollabCursors$','getOwnPropertyDescriptor','selection','_httpService','476638uAwITs','getSheetBySheetId','_onCursorUpdate','_sheetSkeletonManagerService','colorChannel1','_selfUnitIDs','SOCKET_FAILED','_updateSubUnitFromURLParams','UniverCore','none','undoState','MemberService','yellow.400','ONLINE','getSheetId','_id','backgroundColor','mapTo','registerRenderModule','_colorAssignService','APPLY_NON_SEQUENTIAL_REVISION','USER_NOT_INVITED_CODE','_scheduleSaving','_doCreateSocket','6946232pEhvTr','CHANGESET_REVISION_CONFILICT','map','1em','OffLineIcon','purple.300','displayName','_config','stringify','IRenderManagerService','_heartbeatTimer','triggerDblclick','eventID','_hideTimer','updateOfflineData','CollaborationStatusDisplay','createIdentifier','_collaborationController','moveTo','unit','CollaborationUIEventId','WECHAT_HAS_BEEN_BOUND','collabStatus.conflict','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_labelPosition','_startSheetCollabCursor','DisposableCollection','addClipboardHook','range','findNodePositionByCharIndex','_context','loadUnit','concat','_scene','object','@univerjs/docs','_entityInit$','RegularPolygon','assignAColorForMemberID','CONNECTOR_DATA_TOO_LARGE','collabCursorState$','useCallback','IConfigService','color','Workbook','contains','getCollabEntity$','exhaustSavingTask','addEventListener','_localeService','get','_removeClearOtherTimer','measureText','IMessageService','_transformService','searchParams','_notificationService','collabStatus.offline','UniverNetwork','round','session.connection-failed','Rect','call','Error','imageSourceType','getParam','OnLineIcon','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_collabSessionService','Plugin','@univerjs/engine-render','_removeCollabCursors','...','_disabled','subscribe','apply','red.300','loadOfflineData','getRangePointData','isTransformMutationsWithChangesetSuccess','ColorKit','OFFLINE','_docTransformStateCacheService','_document','currentSkeleton$','_hover','transformStateCache','_registerDependencies','white','_textBubble','Tools','CONFLICT','onRendered','with','YUUMI_UNABLE_LOAD_URL','INVITE_CODE_ALREADY_BOUND','fromEvent','IUniverInstanceService','roomMembers','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_urlService','permission.title','subscribeEvent','SheetsSelectionsService','getMergeData','ILocalCacheService','RemoveColCommandId','resize','pushState','values','permission.content','EffectRefRangId','replace','UniverCollaborationClientUIPlugin','random','_initStatusComponent','TEXT_RANGE_LAYER_INDEX','_collabCursorState$'];_0x447e=function(){return _0x4d6b7f;};return _0x447e();}
|
|
1
|
+
function _0x517f(){const _0x1d483b=['attrs','skeleton','CollaborationStatusDisplay','fillRule','drawWith','collab-text-range-','CONFLICT','url(#$1','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','setAlpha','createInstance','FromArray','status$','rxjs','storage','_getSheetObject','collabStatus.conflict','docStateChange$','connectInjector','collab-text-anchor-','contains','text','pushState','replaceDocRanges','_updateSubUnitFromURLParams','wsSessionTicketUrl','arc','_status$','INVALID_INVITE_CODE','HEADER_MENU','CollaborationUIEventId','_uiPartsService','then','jsxs','4498550bmoPnb','_initDependencies','Subject','forwardRef','EMAIL_HAS_BEEN_BOUND','_online','_draw','M0\x200H16V16H0z','toStringTag','beginPath','unshift','collab-client.tooltip.reconnect','unitId','SNAPSHOT_HAS_BEEN_REMOVED','code','IRenderManagerService','_toggleOnline','_initEntityListener','univerjs-icon\x20univerjs-icon-','debounceTime','_removeCollabCursors','_lastPointer','engine','displayName','getCollabEntity$','DocStateChangeManagerService','all','BehaviorSubject','@univerjs/network','apply','defs','LICENSE_DISTRO_REJECTED','_anchor','MOBILE_VERIFY_CODE_MISMATCH','red.300','_onCursorDelete','runOnServer','transformStateCache','loadOfflineData','_docClipboardService','MessageType','urlChange$','_createSocketURL','APPLY_REJECT','getDocRanges','switchMap','debounce','roomMembers','jiqing.500','createSocket','column','_docTransformStateCacheService','LICENSE_MAX_UNITS_EXCEEDED','_id','UniverInstanceType','createElement','with','getVpScrollXYInfoByPosToVp','init','values','clsx','_notificationService','UNIVER_SHEET','_scheduleSaving','ILocalStorageService','mergeOverrideWithDependencies','Unknown\x20user','1em','_configService','getSheetObject','@univerjs/sheets','length','_docTransformSelectionsService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','10fRTyPC','INVALID_ARGUMENT','_render','_scheduleClearOtherTimer','ILocalCacheService','indexOf','APPLY_REVISION_CONFILICT','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_disabled','IConfigService','LICENSE_EXPORT_SIZE_EXCEEDED','registerRefRange','SNAPSHOT_INVALID_SNAPSHOT','InsertRangeMoveDownCommandId','isTransformMutationsWithChangesetSuccess','APPLY_DUPLICATED','currentColor','get','RevisionService','_docStateChangeManagerService','useCallback','2526AadPEE','size','DisposableCollection','COMPLETION_FINISHED','collaboration.single-unit.warning','isArray','getCurrentSelections','amd','subUnitId','@univerjs-pro/collaboration','findNodePositionByCharIndex','_injector','_assignedColors','IImageIoService','NO_OTHER_CLIENTS_EDITING','saveOfflineData','SOCKET_FAILED','_textBubble','_config','Shape','CHANGESET_REVISION_CONFILICT','collabStatus.fetchMiss','SheetCollabCursorShape','url(#off-line-icon_clip0_910_343)','_onRefRangeChange','saveTaskMap','1sTISJl','bottom','_refreshCollabCursors','registerComponent','exports','_session','INVITE_CODE_ALREADY_BOUND','throttleTime','RECT','WebBrowserSingleActiveUnitService','95862jROJhu','_themeService','_entities','requireSession','collabStatus.synced','getUnitStatus$','subunit','BrowserCollaborationSocketService','getAncestorScale','_getMergeRange','getLocalCacheKey','NOT_FOUND','Module','_clearOtherTimers','getSkeleton','href','runId','YUUMI_CONNECTOR_URL_NOT_FOUND','_scheduleHeartbeat','INVITE_CODE_REQUIRED','FETCH_MISS','_handleHover','range','@univerjs/docs-ui','_refRangeService','collabCursorState$','defineProperty','UNDEFINED','_getScale','Tools','LOGIN_FAILED','unsubscribe','TOO_MANY_REQUESTS','PENDING','_updateURLWithCurrentState','getViewport','_httpService','WebSocketService','object','_sheetSkeletonManagerService','_setupBeforeClosingHandler','loadUnit','getRangePointData','RemoteUniscriptService','getItem','labelPosition','complete','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','triggerDblclick','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','dispose','0\x200\x2016\x2016','[RemoteUniscriptService]:\x20no\x20focused\x20unit','min','_init','SUBMIT_CHANGESET_TIMEOUT','_beforeCloseService','react/jsx-runtime','OTHER_CLIENTS_EDITING','defIds','_anchorDot','syncEditingCollabCursor','DocCollaborationEntity','green.600','_labelPosition','concat','on-line-icon_clip0_910_349','data','unit','transformRemoteChangeset','EMAIL_VERIFY_CODE_MISMATCH','on-line-icon','CollaborationDataLoaderController','executeCommand','row','_handleJoinEvent','transformSelections','div','_name','toString','className','isTransformMutationFailure','getCoordByCell','getCellPositionByOffset','CollaborationSessionService','pipe','Failed','_univerInstanceService','ThemeService','UNIVER_DOC','setShapeProps','translate(.97)','clearInterval','operators','fill','split','transformMutationsWithChangeset','selection','post','_toggleOffline','handleIRemoveCol','CollaborationEvent','_getSaveTimeout','_startSheetCollabCursor','_entityInit$','_collaborationUIEventService','map','_drawRectRange','@univerjs-pro/collaboration-client','_startDocCollabCursor','handleInsertRangeMoveDown','YUUMI_NO_CUBOID_FOR_QUESTION','getTypeOfUnitDisposed$','OTHER_CLIENT_EDITING','DesktopCollaborationStatusDisplayController','#FFF','fillStyle','none','save','MOBILE_HAS_BEEN_BOUND','currentTheme$','override','endRow','900376mvIiQw','imageSourceType','_collaborationController','_hovered','Error','toDisposable','collaboration-client.offline-data-not-saved','_transformPreviousActiveRange','getMemberID','DocSelectionManagerService','onPointerMove$','m1Prime','yellow.400','useRef','_removeClearOtherTimer','IUniverInstanceService','_cursorInfo$','_drawTextRange','string','debug','textRanges','DataLoaderService','_collabCursorState$','_send','getConfig','saveImage','INotificationService','CollaborationSocketService','name','_backgroundColor','UniverRpc','14835152sdJeNo','getColor','ISocketService','React','VIEW_MAIN','call','measureText','sheetID','Vector2','getTypeOfUnitAdded$','registerDependencies','IURLService','icon','subscribeEvent','_logService','black','color','transformByState','_ensureSubject','fromEvent','[CollaborationDataLoaderController]','@univerjs/design','cursorInfo$','_commandService','getUnitId','height','EffectRefRangId','UniverEngineRender','SheetsSelectionsService','_cursorShapes','transformIMECache','SetWorksheetActivateCommand','_dataLoaderService','TEXT_RANGE_LAYER_INDEX','serializeRangeWithSheet','@univerjs/sheets-ui','_hover','IMessageService','setItem','_initEvent','evenodd','add','0\x200\x2017\x2016','LOCAL_CACHE_INTERVAL_KEY','_messageService','getActiveRange','setUndoRedoMutationParamsCache','_transformUndoRedoStack','enableLocalCache','assign','_renderManagerService','OffLineIcon','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','YUUMI_ALL_TABLES_IS_INVALID','LICENSE_IMPORT_SIZE_EXCEEDED','resize','CollaborationStatus','event$','_initStatusComponent','LocaleService','_range','restore','max','propertyIsEnumerable','registerRenderModule','UNRECOGNIZED','_roomMembers$','extend','svg','setParam','toRgbString','ITransformService','getRelativeToViewportCoord','YUUMI_AI_RUN_FAILED','mask','deserializeRangeWithSheet','hide','Inject','_getSessionTicket','set','DEFAULT_WS_SESSION_TICKET_URL','handleDeleteRangeMoveLeft','prototype','setActiveRange','getColorFromTheme','replace','getOffsetConfig','addHandlerCallback','selections','SessionStatus','trim','merge','backgroundColor','ICommandService','UniverCollaborationClientUIPlugin','unitID','handleInsertCol','@univerjs/docs','getValue','onMouseMove','disableLocalCache','Rect','_updateCollabCursors','endColumn','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','APPLY_NON_SEQUENTIAL_REVISION','mutations','ALREADY_EXISTS','RichTextEditingMutation','cursorInfo','onPointerLeave$','_initStatusListener','path','addObject','getFocusedUnit','_document','undoState','getSheetBySheetId','NodePositionConvertToRectRange','takeUntil','getSheetId','combineLatest','APPLY_PERMISSION_DENIED','deepClone','_revisionService','RxDisposable','entries','UniverDrawing','_localCacheService','collaboration-client-ui.config','_shapes','UniverDocs','includes','_imageIoService','DocIMEInputManagerService','...','location','220cpuHka','from','_cursors','YUUMI_URL_COL_OUT_OF_RANGE','useDependency','getCollabCursors$','_instanceService','_transformService','assignAColorForMemberID','searchParams','_docSyncEditingCollabCursorService','IDocClipboardService','_drawAnchor','UniverIcon','sessionStatus$','_color','getMergeData','_cachedData','INTERNAL_ERROR','UniverSheetsUi','history','current','collabStatus.offline','memberID','show','width','params','clipPath','type','currentSkeleton$','subscribe','tag','ILogService','6796TuhrCN','delete','_memberService','_onCursorUpdate','InsertRangeMoveRightCommandId','permission.content','white','addEventListener','filter','PERMISSION_DENIED','editingUnit','DeleteRangeMoveUpCommandId','UniverProCollaborationClient','onLocalMutation','fillText','body','YUUMI_ASYNCIO_CANCELLED','forEach','collab-rect-range-','idSuffix','_localeService','ENSURE_SNAPSHOT_EXECUTION','@univerjs/engine-render','generateRandomId','clearTimeout','has','onTransformChange$','_collabCursorController','whenReady','makeDirty','_urlService','USERS_LEAVE','transform','DependentOn','_saveCache','DOC_RANGE_TYPE','eventID','@univerjs/engine-formula','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','some','YUUMI_UNABLE_LOAD_URL','colorChannel1','YUUMI_RATE_OVER_LIMIT','children','next','12250242gAwgyw','SetSelectionsOperation','COLORS','CollaborationController','CONNECTOR_DATA_TOO_LARGE','Workbook','exhaustSavingTask','removeParam','_registerDependencies','send','redoState','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','newValue','YUUMI_SUBSCRIPTION_NOT_FOUND','function','@univerjs/core','SOCKET_FAILED_RETRY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.syncing','INVITE_CODE_HAS_BEEN_UES','_setupSubUnitSync','CLOSE_ROOM','getUndoRedoMutationParamsCache','SetDocZoomRatioOperation','_saveTaskMap','jsx','_initResize','getOwnPropertySymbols','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UniverDesign','m2Prime','setTimeout','_handleHeartbeatEvent','error','executionId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createIdentifier','getActiveSheet','_updateLocalCursor','dispose$','lineTo','_docTransformIMECacheService','_unitOnClients','AWAITING_WITH_PENDING','uni.network.url-service','_selfUnitIDs','BuiltInUIPart','UniverDocsUi','@univerjs/rpc','result','_unitStatus','onRendered','Warning','RegularPolygon','CollaborationUIEventService','Optional','OFFLINE','UniverCore','_docSkeletonManagerService','invokeId','parse','off-line-icon_clip0_910_343','UniverCollaborationClientPlugin','doc.mutation.rich-text-editing','Rectangle','blue.400','transformMutation','TEXT','USER_NOT_INVITED_CODE','InsertRowCommandId','getUniverSheetInstance','asObservable','CommandType','UniverProCollaboration','_initCommandExecutedListener','isEditing','4879204teAeKQ','_heartbeatTimer','session.will-retry','getRenderById','find','useObservable','PY_RUNTIME_SCRIPT_ERROR','roomMembers$','push','RefRangeService','onCommandExecuted','_collabSessionService','use','hasOwnProperty','_registerRenderDependencies','_context','RemoveColCommandId','round','_handleEvent','_handleLeaveEvent','xlink:href','_eventUnsubscribe','UniverEngineFormula','actions','MemberService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','stringify','updateOfflineData','IBeforeCloseService','collabStatus.notCollab','setStateCache','flatMap','Injector','sheetId','getCurrent','OnLineIcon','DocSkeletonManagerService','disposeWithMe','collaboration.closeRoom','_colorAssignService','UnitStatus','entityInit$','ISnapshotServerService','ranges','rxjs/operators','getOwnPropertyDescriptor','WECHAT_HAS_BEEN_BOUND','startsWith','getStateCache','handleInsertRow','registerBeforeClose','Disposable','ACTIVE_UNIT_EVENT_CHANNEL','moveTo','UPDATE_CURSOR','off-line-icon','UNAUTHENTICATED','origin','handleInsertRangeMoveRight','UniverProCollaborationClientUi','NOT_COLLAB','_hideTimer','WebURLService','_scene','key','NodePositionConvertToCursor','@univerjs/drawing','getParam','_localStorageService','_colorIndex','startRow','UniverSheets'];_0x517f=function(){return _0x1d483b;};return _0x517f();}function _0x412f(_0xb9159e,_0x5f0520){const _0x517f30=_0x517f();return _0x412f=function(_0x412f88,_0x121956){_0x412f88=_0x412f88-0xb2;let _0x23de19=_0x517f30[_0x412f88];return _0x23de19;},_0x412f(_0xb9159e,_0x5f0520);}(function(_0x2b9818,_0x27d285){const _0x30672a=_0x412f,_0x2baf84=_0x2b9818();while(!![]){try{const _0x5b4d1d=parseInt(_0x30672a(0x2cc))/0x1*(-parseInt(_0x30672a(0x351))/0x2)+parseInt(_0x30672a(0x2b2))/0x3*(parseInt(_0x30672a(0x170))/0x4)+-parseInt(_0x30672a(0x14f))/0x5*(parseInt(_0x30672a(0x2d6))/0x6)+parseInt(_0x30672a(0x253))/0x7+parseInt(_0x30672a(0xc6))/0x8+-parseInt(_0x30672a(0x19d))/0x9*(parseInt(_0x30672a(0x29d))/0xa)+-parseInt(_0x30672a(0x1e9))/0xb;if(_0x5b4d1d===_0x27d285)break;else _0x2baf84['push'](_0x2baf84['shift']());}catch(_0x2b3ddb){_0x2baf84['push'](_0x2baf84['shift']());}}}(_0x517f,0xecbfc),function(_0x2845f5,_0x1b96c5){const _0x17a4d3=_0x412f;typeof exports==_0x17a4d3(0x2fc)&&typeof module<'u'?_0x1b96c5(exports,require(_0x17a4d3(0x342)),require(_0x17a4d3(0x1ac)),require(_0x17a4d3(0x186)),require(_0x17a4d3(0x26f)),require(_0x17a4d3(0x2ed)),require(_0x17a4d3(0x22b)),require('rxjs'),require(_0x17a4d3(0x2bb)),require(_0x17a4d3(0x127)),require('@univerjs/engine-formula'),require(_0x17a4d3(0x299)),require(_0x17a4d3(0x215)),require(_0x17a4d3(0xe9)),require(_0x17a4d3(0x30f)),require('@univerjs/ui'),require(_0x17a4d3(0xdb)),require('react'),require('@univerjs/rpc')):typeof define==_0x17a4d3(0x1ab)&&define[_0x17a4d3(0x2b9)]?define([_0x17a4d3(0x2d0),_0x17a4d3(0x342),_0x17a4d3(0x1ac),_0x17a4d3(0x186),'@univerjs/network',_0x17a4d3(0x2ed),_0x17a4d3(0x22b),_0x17a4d3(0x23e),_0x17a4d3(0x2bb),_0x17a4d3(0x127),_0x17a4d3(0x195),'@univerjs/sheets',_0x17a4d3(0x215),_0x17a4d3(0xe9),'react/jsx-runtime','@univerjs/ui',_0x17a4d3(0xdb),'react',_0x17a4d3(0x1cd)],_0x1b96c5):(_0x2845f5=typeof globalThis<'u'?globalThis:_0x2845f5||self,_0x1b96c5(_0x2845f5[_0x17a4d3(0x224)]={},_0x2845f5[_0x17a4d3(0x17c)],_0x2845f5[_0x17a4d3(0x1d6)],_0x2845f5[_0x17a4d3(0xe1)],_0x2845f5['UniverNetwork'],_0x2845f5[_0x17a4d3(0x1cc)],_0x2845f5[_0x17a4d3(0x145)],_0x2845f5[_0x17a4d3(0x23e)],_0x2845f5[_0x17a4d3(0x1e6)],_0x2845f5[_0x17a4d3(0x149)],_0x2845f5[_0x17a4d3(0x1ff)],_0x2845f5[_0x17a4d3(0x230)],_0x2845f5['rxjs'][_0x17a4d3(0x333)],_0x2845f5[_0x17a4d3(0x162)],_0x2845f5[_0x17a4d3(0xc9)],_0x2845f5['UniverUi'],_0x2845f5[_0x17a4d3(0x1ba)],_0x2845f5[_0x17a4d3(0xc9)],_0x2845f5[_0x17a4d3(0xc5)]));}(this,function(_0x2a1a14,_0x563ec8,_0x2869e3,_0x5e0e97,_0x5a5573,_0x3ecda4,_0x3009c1,_0x45f1ec,_0x14a853,_0x4a64a9,_0x16c47d,_0x27c981,_0x2e1c54,_0x62ce7e,_0x57639a,_0x1d6ce3,_0x4919f6,_0x403960,_0x5c7b44){'use strict';const _0x3142a3=_0x412f;var _0x485042=Object[_0x3142a3(0x2f0)],_0x2e6ff7=(_0x4352ec,_0x2ea478,_0x5ad108)=>_0x2ea478 in _0x4352ec?_0x485042(_0x4352ec,_0x2ea478,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ad108}):_0x4352ec[_0x2ea478]=_0x5ad108,_0x5d9583=(_0x2b8396,_0xefa48f,_0x5d2951)=>_0x2e6ff7(_0x2b8396,typeof _0xefa48f!='symbol'?_0xefa48f+'':_0xefa48f,_0x5d2951),_0x209cd1=Object[_0x3142a3(0x216)],_0x3d782e=(_0x39b95b,_0x3fbc68,_0x21bfde,_0x3f9d9d)=>{const _0x49d1d2=_0x3142a3;for(var _0x547a24=_0x3f9d9d>0x1?void 0x0:_0x3f9d9d?_0x209cd1(_0x3fbc68,_0x21bfde):_0x3fbc68,_0x324b11=_0x39b95b[_0x49d1d2(0x29a)]-0x1,_0x36173f;_0x324b11>=0x0;_0x324b11--)(_0x36173f=_0x39b95b[_0x324b11])&&(_0x547a24=_0x36173f(_0x547a24)||_0x547a24);return _0x547a24;},_0x49f6bb=(_0x522935,_0x4dface)=>(_0x361f33,_0x3ce89e)=>_0x4dface(_0x361f33,_0x3ce89e,_0x522935);let _0x16b943=class extends _0x2869e3[_0x3142a3(0x143)]{constructor(_0xab9297,_0x4bcd92){const _0x14b105=_0x3142a3;super(),this[_0x14b105(0x27a)]=_0xab9297,this[_0x14b105(0x14b)]=_0x4bcd92,this[_0x14b105(0x30c)]();}[_0x3142a3(0x30c)](){const _0xff8999=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x177155=>{const _0x2bb4af=_0x412f,_0x4bff55=await _0xff8999[_0x2bb4af(0x14b)][_0x2bb4af(0xc0)](_0x177155);return _0x4bff55?{'source':_0x4bff55['source'],'imageSourceType':_0x4bff55[_0x2bb4af(0x352)]}:null;}}));}};_0x16b943=_0x3d782e([_0x49f6bb(0x0,_0x3ecda4[_0x3142a3(0x15a)]),_0x49f6bb(0x1,_0x3009c1[_0x3142a3(0x2bf)])],_0x16b943);const _0x42c10b=['purple.300',_0x3142a3(0x283),_0x3142a3(0x315),_0x3142a3(0x275),_0x3142a3(0x1de),_0x3142a3(0xb3)];class _0xea9dee extends _0x2869e3[_0x3142a3(0x21c)]{constructor(){const _0x277777=_0x3142a3;super(...arguments),_0x5d9583(this,_0x277777(0x2be),new Map()),_0x5d9583(this,'_colorIndex',0x0);}[_0x3142a3(0x157)](_0x206f60){const _0x5a7ca9=_0x3142a3;if(this[_0x5a7ca9(0x2be)][_0x5a7ca9(0x189)](_0x206f60))return this[_0x5a7ca9(0x2be)][_0x5a7ca9(0x2ae)](_0x206f60);const _0x5a6071=_0x42c10b[this[_0x5a7ca9(0x22e)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x42c10b[_0x5a7ca9(0x29a)],this['_assignedColors'][_0x5a7ca9(0x115)](_0x206f60,_0x5a6071),_0x5a6071;}}function _0x5b0144(_0x584b3b){const _0x449654=_0x3142a3;let _0x14f98e='';for(const _0x3e2bf0 of _0x584b3b){const {startOffset:_0x974955,endOffset:_0x45ddee,isActive:_0x1eed45,rangeType:_0x158463,segmentId:_0x1f5a80,segmentPage:_0x26d589}=_0x3e2bf0;_0x14f98e[_0x449654(0x29a)]&&(_0x14f98e+=','),_0x14f98e+=_0x974955+':'+_0x45ddee+':'+(_0x1eed45?'1':'0')+':'+_0x158463+':'+_0x1f5a80+':'+_0x26d589;}return _0x14f98e;}function _0x5c313c(_0x4c4e81){const _0x4fb8e3=_0x3142a3,_0x3fc2a9=_0x4c4e81[_0x4fb8e3(0x335)](','),_0x1150d2=[];for(const _0x5937ce of _0x3fc2a9){const [_0x4a967d,_0x51a2c2,_0x289913,_0x582465,_0x9126c8,_0x241645]=_0x5937ce[_0x4fb8e3(0x335)](':');_0x1150d2[_0x4fb8e3(0x1f1)]({'startOffset':Number(_0x4a967d),'endOffset':Number(_0x51a2c2),'collapsed':_0x4a967d===_0x51a2c2,'isActive':_0x289913==='1','rangeType':_0x582465===_0x2869e3['DOC_RANGE_TYPE'][_0x4fb8e3(0x1e0)]?_0x2869e3[_0x4fb8e3(0x193)][_0x4fb8e3(0x1e0)]:_0x2869e3[_0x4fb8e3(0x193)][_0x4fb8e3(0x2d4)],'segmentId':typeof _0x9126c8==_0x4fb8e3(0xb9)?String(_0x9126c8):'','segmentPage':Number(_0x241645!=null?_0x241645:-0x1)});}return _0x1150d2[_0x4fb8e3(0x197)](_0x152da9=>_0x152da9['isActive'])||(_0x1150d2[0x0]['isActive']=!0x0),_0x1150d2;}class _0x444f98 extends _0x2869e3[_0x3142a3(0x143)]{constructor(){const _0x36eec6=_0x3142a3;super(...arguments),_0x5d9583(this,'_collabCursorState$',new _0x45f1ec[(_0x36eec6(0x26e))](null)),_0x5d9583(this,_0x36eec6(0x2ef),this['_collabCursorState$'][_0x36eec6(0x1e4)]());}[_0x3142a3(0x313)](_0x2cb8a7){const _0x3a20e0=_0x3142a3,{unitID:_0x213ea5,memberID:_0x381248,textRanges:_0x3499c3}=_0x2cb8a7,_0x487621=_0x5b0144(_0x3499c3);if(_0x487621==='')return;const _0x47cdb0={'unitID':_0x213ea5,'memberID':_0x381248,'selection':_0x487621};this[_0x3a20e0(0xbd)][_0x3a20e0(0x19c)](_0x47cdb0);}}var _0x1beb00=Object[_0x3142a3(0x216)],_0x3e1a6e=(_0x51affd,_0x22b207,_0x59f6e0,_0x41b76a)=>{const _0x46bfe4=_0x3142a3;for(var _0x19907b=_0x41b76a>0x1?void 0x0:_0x41b76a?_0x1beb00(_0x22b207,_0x59f6e0):_0x22b207,_0x4cbeec=_0x51affd[_0x46bfe4(0x29a)]-0x1,_0x190525;_0x4cbeec>=0x0;_0x4cbeec--)(_0x190525=_0x51affd[_0x4cbeec])&&(_0x19907b=_0x190525(_0x19907b)||_0x19907b);return _0x19907b;},_0x160828=(_0x20ea19,_0x1c4c36)=>(_0x44a7ca,_0x320b0c)=>_0x1c4c36(_0x44a7ca,_0x320b0c,_0x20ea19);const _0xb18354=0x12c,_0x44e2d3=0x64;let _0x5f6c3b=class extends _0x2869e3[_0x3142a3(0x143)]{constructor(_0x21e6d0,_0x5aebea,_0x2b5f81,_0x2ba37e,_0x47ddf2,_0x13a130,_0x376596,_0x19c31b,_0x87ffb6){const _0x2a4a8c=_0x3142a3;super(),_0x5d9583(this,_0x2a4a8c(0x258),!0x1),_0x5d9583(this,_0x2a4a8c(0x30c),!0x1),_0x5d9583(this,'_cursorInfo$',new _0x45f1ec[(_0x2a4a8c(0x26e))](new Map())),_0x5d9583(this,_0x2a4a8c(0xdc),this['_cursorInfo$'][_0x2a4a8c(0x1e4)]()),_0x5d9583(this,_0x2a4a8c(0x108),new _0x45f1ec['BehaviorSubject']([])),_0x5d9583(this,'roomMembers$',this[_0x2a4a8c(0x108)]['pipe'](_0x45f1ec[_0x2a4a8c(0x266)](_0xb18354))),_0x5d9583(this,'_updateLocalCursor',_0x2869e3[_0x2a4a8c(0x281)](_0x5e278c=>{const _0x14ae60=_0x2a4a8c,_0x2928f4={'eventID':_0x14a853[_0x14ae60(0x33b)][_0x14ae60(0x21f)],'data':{'unitID':this[_0x14ae60(0x125)],'memberID':this['_session']['getMemberID'](),'selection':_0x5b0144(_0x5e278c)}};this[_0x14ae60(0x2d1)][_0x14ae60(0x1a6)](_0x2928f4,this[_0x14ae60(0x125)]);},_0x44e2d3)),(this['unitID']=_0x21e6d0,this[_0x2a4a8c(0x2d1)]=_0x5aebea,this[_0x2a4a8c(0x2bd)]=_0x2b5f81,this[_0x2a4a8c(0x210)]=_0x2ba37e,this[_0x2a4a8c(0x172)]=_0x47ddf2,this['_syncEditingCollabCursorService']=_0x13a130,this[_0x2a4a8c(0x156)]=_0x376596,this[_0x2a4a8c(0x32d)]=_0x19c31b,this[_0x2a4a8c(0xdd)]=_0x87ffb6);}get[_0x3142a3(0x133)](){const _0x1234c7=_0x3142a3;return this[_0x1234c7(0xb7)]['getValue']();}get['roomMembers'](){const _0x5464c9=_0x3142a3;return this[_0x5464c9(0x108)][_0x5464c9(0x128)]();}[_0x3142a3(0x308)](){const _0x178f83=_0x3142a3;super[_0x178f83(0x308)](),this['_cursorInfo$']['next'](new Map()),this[_0x178f83(0xb7)][_0x178f83(0x304)](),this[_0x178f83(0x108)]['next']([]),this['_roomMembers$'][_0x178f83(0x304)]();}['init'](){const _0x55f055=_0x3142a3;this['_init']||(this['_init']=!0x0,this[_0x55f055(0x2d1)][_0x55f055(0x15d)]['pipe'](_0x45f1ec['takeUntil'](this[_0x55f055(0x1c4)]))[_0x55f055(0x16d)](_0x34aff7=>{const _0x5e7227=_0x55f055;_0x34aff7===_0x563ec8[_0x5e7227(0x11f)]['ONLINE']?this['_toggleOnline']():this[_0x5e7227(0x339)]();}),this[_0x55f055(0x2d1)][_0x55f055(0xff)][_0x55f055(0x32b)](_0x45f1ec[_0x55f055(0x13d)](this[_0x55f055(0x1c4)]))[_0x55f055(0x16d)](_0x597d68=>{const _0x41b6a6=_0x55f055,_0x1385a3=_0x597d68[_0x41b6a6(0x194)];_0x1385a3===_0x14a853['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x597d68),_0x1385a3===_0x14a853['CollaborationEvent'][_0x41b6a6(0x18f)]&&this[_0x41b6a6(0x276)](_0x597d68);}),this[_0x55f055(0x20e)](this[_0x55f055(0xdd)][_0x55f055(0x1f3)](_0x31a2e7=>{const _0x468dc4=_0x55f055,_0x5c2173=_0x31a2e7['params'];_0x5c2173!=null&&this[_0x468dc4(0x258)]&&_0x31a2e7['id']===_0x4a64a9['SetTextSelectionsOperation']['id']&&_0x5c2173[_0x468dc4(0x25f)]===this[_0x468dc4(0x125)]&&_0x5c2173[_0x468dc4(0x1e8)]===!0x1&&_0x5c2173['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x5c2173[_0x468dc4(0x214)]);})),this['_syncEditingCollabCursorService'][_0x55f055(0x2ef)][_0x55f055(0x32b)](_0x45f1ec[_0x55f055(0x13d)](this[_0x55f055(0x1c4)]))[_0x55f055(0x16d)](_0x2857ad=>{const _0x245d42=_0x55f055;if((_0x2857ad==null?void 0x0:_0x2857ad[_0x245d42(0x125)])!==this[_0x245d42(0x125)])return;const _0x53580b={'eventID':_0x14a853['CollaborationEvent'][_0x245d42(0x21f)],'data':_0x2857ad};this[_0x245d42(0x173)](_0x53580b);}),this[_0x55f055(0x20e)](this['_commandService']['onCommandExecuted'](_0x3a4826=>{const _0x28bdc1=_0x55f055;if(_0x3a4826[_0x28bdc1(0x169)]==null)return;const _0xd015c9=_0x3a4826[_0x28bdc1(0x169)];if(_0x3a4826['id']!==_0x4a64a9[_0x28bdc1(0x132)]['id']||_0xd015c9[_0x28bdc1(0x25f)]!==this[_0x28bdc1(0x125)])return;const _0x168c6e={'id':'doc.mutation.rich-text-editing','params':_0xd015c9},_0x565020=this[_0x28bdc1(0x133)];for(const [_0x389ef2,_0x1b7548]of _0x565020){const _0x4497b0={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1b7548[_0x28bdc1(0x214)]}},_0x1e9227=this[_0x28bdc1(0x156)][_0x28bdc1(0x1df)](_0x168c6e,_0x4497b0,!0x1);if(_0x14a853[_0x28bdc1(0x327)](_0x1e9227))throw _0x1e9227[_0x28bdc1(0x1be)];_0x565020['set'](_0x389ef2,{..._0x1b7548,'ranges':_0x1e9227[_0x28bdc1(0x1bb)][_0x28bdc1(0x169)][_0x28bdc1(0xbb)]});}queueMicrotask(()=>{const _0x3b5e53=_0x28bdc1;this[_0x3b5e53(0xb7)][_0x3b5e53(0x19c)](_0x565020);});})));}['_onCursorUpdate'](_0x405717){const _0x3feadb=_0x3142a3;var _0x2dd24c,_0x4bd4a7;const {memberID:_0x41c6ba,selection:_0x3802e8}=_0x405717[_0x3feadb(0x319)],_0x476aae=_0x5c313c(_0x3802e8),_0x45306f=(_0x4bd4a7=(_0x2dd24c=this[_0x3feadb(0x172)]['getMember'](this['unitID'],_0x41c6ba))==null?void 0x0:_0x2dd24c['name'])!=null?_0x4bd4a7:_0x3feadb(0x295),_0x387723={'color':this[_0x3feadb(0x210)][_0x3feadb(0x157)](_0x41c6ba),'name':_0x45306f,'ranges':_0x476aae},_0x5cb8b6=this[_0x3feadb(0x133)];_0x5cb8b6[_0x3feadb(0x115)](_0x41c6ba,_0x387723),this[_0x3feadb(0xb7)][_0x3feadb(0x19c)](_0x5cb8b6);}['_onCursorDelete'](_0x53fe62){const _0x485a0d=_0x3142a3,{memberID:_0x3cd099}=_0x53fe62[_0x485a0d(0x319)],_0x43897e=this[_0x485a0d(0x133)];_0x43897e['delete'](_0x3cd099),this['_cursorInfo$'][_0x485a0d(0x19c)](_0x43897e);}[_0x3142a3(0x263)](){const _0x2b37d6=_0x3142a3;var _0x31f15f;if(this[_0x2b37d6(0x258)]=!0x0,((_0x31f15f=this[_0x2b37d6(0x32d)][_0x2b37d6(0x138)]())==null?void 0x0:_0x31f15f['getUnitId']())!==this[_0x2b37d6(0x125)])return;const _0x3e9d85=this[_0x2b37d6(0x2bd)][_0x2b37d6(0x2ae)](_0x4a64a9[_0x2b37d6(0x35a)])[_0x2b37d6(0x27f)]();Array['isArray'](_0x3e9d85)&&_0x3e9d85[_0x2b37d6(0x29a)]>0x0&&this[_0x2b37d6(0x1c3)](_0x3e9d85);}[_0x3142a3(0x339)](){const _0x5429cf=_0x3142a3;this[_0x5429cf(0x258)]=!0x1;}};_0x5f6c3b=_0x3e1a6e([_0x160828(0x2,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x209)])),_0x160828(0x3,_0x2869e3[_0x3142a3(0x113)](_0xea9dee)),_0x160828(0x4,_0x2869e3[_0x3142a3(0x113)](_0x563ec8[_0x3142a3(0x201)])),_0x160828(0x5,_0x2869e3[_0x3142a3(0x113)](_0x444f98)),_0x160828(0x6,_0x14a853[_0x3142a3(0x10d)]),_0x160828(0x7,_0x2869e3['IUniverInstanceService']),_0x160828(0x8,_0x2869e3[_0x3142a3(0x123)])],_0x5f6c3b);var _0x7b7765=Object[_0x3142a3(0x216)],_0x300570=(_0x58a561,_0x52f0ec,_0x3a5ae5,_0x191e98)=>{for(var _0x27187c=_0x191e98>0x1?void 0x0:_0x191e98?_0x7b7765(_0x52f0ec,_0x3a5ae5):_0x52f0ec,_0x53a17a=_0x58a561['length']-0x1,_0x277d6c;_0x53a17a>=0x0;_0x53a17a--)(_0x277d6c=_0x58a561[_0x53a17a])&&(_0x27187c=_0x277d6c(_0x27187c)||_0x27187c);return _0x27187c;},_0x2c9a5f=(_0x5cb936,_0x87f426)=>(_0x51501b,_0x127dec)=>_0x87f426(_0x51501b,_0x127dec,_0x5cb936);const _0x5d1962=0x12c,_0x4e386a=0x64,_0x122584=()=>{let _0x4a4a90=[],_0x12d7ef=!0x1;return _0x5f1135=>{const _0x559b93=_0x412f;_0x4a4a90[_0x559b93(0x1f1)](_0x5f1135),_0x12d7ef||(_0x12d7ef=!0x0,setTimeout(()=>{const _0x48b8c1=_0x559b93;_0x4a4a90[_0x48b8c1(0x181)](_0xdd3803=>_0xdd3803()),_0x4a4a90=[],_0x12d7ef=!0x1;}));};};let _0x1d3172=class extends _0x2869e3[_0x3142a3(0x143)]{constructor(_0x572869,_0x462000,_0x300e40,_0x18315f,_0x4a6f01,_0x837382,_0x55846b,_0x10565f){const _0x53b735=_0x3142a3;super(),_0x5d9583(this,_0x53b735(0x258),!0x1),_0x5d9583(this,_0x53b735(0x30c),!0x1),_0x5d9583(this,_0x53b735(0xb7),new _0x45f1ec['BehaviorSubject'](new Map())),_0x5d9583(this,'cursorInfo$',this[_0x53b735(0xb7)][_0x53b735(0x1e4)]()),_0x5d9583(this,_0x53b735(0x108),new _0x45f1ec[(_0x53b735(0x26e))]([])),_0x5d9583(this,_0x53b735(0x1f0),this[_0x53b735(0x108)][_0x53b735(0x32b)](_0x45f1ec['debounceTime'](_0x5d1962))),_0x5d9583(this,'_updateLocalCursor',_0x2869e3[_0x53b735(0x281)]((_0x353105,_0x2eeb80)=>{const _0x466524=_0x53b735,_0x2e091b={'eventID':_0x14a853[_0x466524(0x33b)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x466524(0x125)],'memberID':this[_0x466524(0x2d1)][_0x466524(0x359)](),'selection':_0x16c47d[_0x466524(0xe8)](_0x353105,_0x2eeb80[_0x466524(0x2ec)])}};this[_0x466524(0x2d1)][_0x466524(0x1a6)](_0x2e091b,this[_0x466524(0x125)]);},_0x4e386a)),(this['unitID']=_0x572869,this[_0x53b735(0x2d1)]=_0x462000,this['_injector']=_0x300e40,this['_colorAssignService']=_0x18315f,this['_memberService']=_0x4a6f01,this[_0x53b735(0x32d)]=_0x837382,this[_0x53b735(0xdd)]=_0x55846b,this[_0x53b735(0x2ee)]=_0x10565f);}get[_0x3142a3(0x133)](){return this['_cursorInfo$']['getValue']();}get[_0x3142a3(0x282)](){const _0x27d077=_0x3142a3;return this[_0x27d077(0x108)][_0x27d077(0x128)]();}[_0x3142a3(0x308)](){const _0x265e1b=_0x3142a3;super[_0x265e1b(0x308)](),this[_0x265e1b(0xb7)][_0x265e1b(0x19c)](new Map()),this[_0x265e1b(0xb7)][_0x265e1b(0x304)](),this[_0x265e1b(0x108)][_0x265e1b(0x19c)]([]),this[_0x265e1b(0x108)][_0x265e1b(0x304)]();}[_0x3142a3(0x28d)](){const _0x4710ba=_0x3142a3;this[_0x4710ba(0x30c)]||(this[_0x4710ba(0x30c)]=!0x0,this[_0x4710ba(0x2d1)][_0x4710ba(0x15d)][_0x4710ba(0x32b)](_0x45f1ec[_0x4710ba(0x13d)](this[_0x4710ba(0x1c4)]))[_0x4710ba(0x16d)](_0x3680b0=>{_0x3680b0===_0x563ec8['SessionStatus']['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x4710ba(0x2d1)]['event$'][_0x4710ba(0x32b)](_0x45f1ec[_0x4710ba(0x13d)](this[_0x4710ba(0x1c4)]))['subscribe'](_0x4b2bea=>{const _0x35df4e=_0x4710ba,_0x4508c0=_0x4b2bea['eventID'];_0x4508c0===_0x14a853['CollaborationEvent'][_0x35df4e(0x21f)]&&this['_onCursorUpdate'](_0x4b2bea),_0x4508c0===_0x14a853[_0x35df4e(0x33b)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4b2bea);}),this[_0x4710ba(0x2ca)](),this['disposeWithMe'](this[_0x4710ba(0xdd)][_0x4710ba(0x1f3)](_0x4e0422=>{const _0x4d5f6c=_0x4710ba;if(this['_online']&&_0x4e0422['id']===_0x27c981[_0x4d5f6c(0x19e)]['id']&&_0x4e0422[_0x4d5f6c(0x169)][_0x4d5f6c(0x25f)]===this[_0x4d5f6c(0x125)]){const _0x397f3c=_0x4e0422[_0x4d5f6c(0x169)];this['_updateLocalCursor'](_0x397f3c[_0x4d5f6c(0x2ba)],_0x397f3c[_0x4d5f6c(0x11e)][0x0]);}})));}[_0x3142a3(0x173)](_0x1bedd0){const _0x4fc8ad=_0x3142a3;var _0x286474,_0x34cfa8;const {memberID:_0xbe6229,selection:_0x532f01}=_0x1bedd0[_0x4fc8ad(0x319)],{sheetName:_0x430ebc,range:_0x28b723}=_0x16c47d[_0x4fc8ad(0x111)](_0x532f01),_0x2efce8={'name':(_0x34cfa8=(_0x286474=this['_memberService']['getMember'](this['unitID'],_0xbe6229))==null?void 0x0:_0x286474[_0x4fc8ad(0xc3)])!=null?_0x34cfa8:_0x4fc8ad(0x295),'range':this[_0x4fc8ad(0x2df)](_0x430ebc,_0x28b723),'sheetID':_0x430ebc,'color':this[_0x4fc8ad(0x210)]['assignAColorForMemberID'](_0xbe6229),'selection':_0x532f01},_0x31eef8=this['cursorInfo'];_0x31eef8[_0x4fc8ad(0x115)](_0xbe6229,_0x2efce8),this['_cursorInfo$'][_0x4fc8ad(0x19c)](_0x31eef8);}[_0x3142a3(0x276)](_0x1ac20b){const _0x31532d=_0x3142a3,{memberID:_0x490e83}=_0x1ac20b['data'],_0x1c3d3b=this[_0x31532d(0x133)];_0x1c3d3b[_0x31532d(0x171)](_0x490e83),this['_cursorInfo$'][_0x31532d(0x19c)](_0x1c3d3b);}['_getMergeRange'](_0x100281,_0x3a4b8f){const _0x15797e=_0x3142a3;var _0x43bcca,_0x17d87a;const _0x1cd98d=(_0x17d87a=(_0x43bcca=this[_0x15797e(0x32d)][_0x15797e(0x1e3)](this[_0x15797e(0x125)]))==null?void 0x0:_0x43bcca[_0x15797e(0x13b)](_0x100281))==null?void 0x0:_0x17d87a[_0x15797e(0x15f)]();return(_0x1cd98d==null?void 0x0:_0x1cd98d[_0x15797e(0x1ed)](_0x2162d0=>_0x2869e3[_0x15797e(0x1dd)][_0x15797e(0x245)](_0x2162d0,_0x3a4b8f)))||_0x3a4b8f;}['_onRefRangeChange'](){const _0x575567=_0x3142a3,_0xa1c1f0=new _0x2869e3[(_0x575567(0x2b4))](),_0x4d8cec=_0x122584(),_0x339874=()=>{const _0x15b23a=_0x575567;_0xa1c1f0[_0x15b23a(0x308)]();const _0x3d9543=(_0x199082,_0x246b49,_0x1056f4,_0x54a8ac)=>{const _0x5e74de=_0x15b23a;let _0x77468=[];switch(_0x199082['id']){case _0x27c981[_0x5e74de(0xe0)]['DeleteRangeMoveLeftCommandId']:{_0x77468=_0x27c981[_0x5e74de(0x117)](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)][_0x5e74de(0x17b)]:{_0x77468=_0x27c981['handleDeleteRangeMoveUp'](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)]['InsertColCommandId']:{_0x77468=_0x27c981[_0x5e74de(0x126)](_0x199082,_0x54a8ac);break;}case _0x27c981['EffectRefRangId'][_0x5e74de(0x2aa)]:{_0x77468=_0x27c981[_0x5e74de(0x344)](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)][_0x5e74de(0x174)]:{_0x77468=_0x27c981[_0x5e74de(0x223)](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)][_0x5e74de(0x1e2)]:{_0x77468=_0x27c981[_0x5e74de(0x21a)](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)]['MoveRangeCommandId']:{_0x77468=_0x27c981['handleMoveRange'](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)][_0x5e74de(0x1f9)]:{_0x77468=_0x27c981[_0x5e74de(0x33a)](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)]['RemoveRowCommandId']:{_0x77468=_0x27c981['handleIRemoveRow'](_0x199082,_0x54a8ac);break;}}const _0x3cfc5e=_0x27c981['runRefRangeMutations'](_0x77468,_0x54a8ac),_0x220c8=this[_0x5e74de(0x133)][_0x5e74de(0x2ae)](_0x246b49);if(_0x220c8&&_0x3cfc5e){const _0x19261c={..._0x220c8,'range':_0x3cfc5e};this['cursorInfo'][_0x5e74de(0x115)](_0x246b49,_0x19261c),_0x4d8cec(()=>{const _0x1eb4f6=_0x5e74de,_0x137446=this[_0x1eb4f6(0x2ee)][_0x1eb4f6(0x2a8)](_0x3cfc5e,_0x46acbf=>(_0x137446['dispose'](),_0x3d9543(_0x46acbf,_0x246b49,_0x1056f4,_0x3cfc5e)));_0xa1c1f0[_0x1eb4f6(0xef)](_0x137446);});}return{'redos':[],'undos':[]};};this[_0x15b23a(0x133)][_0x15b23a(0x181)]((_0x4fcbd0,_0x5069cb)=>{const _0x5ccff6=_0x15b23a,{range:_0xf6d451,sheetID:_0x38836f}=_0x4fcbd0,_0x89f57=this['_refRangeService'][_0x5ccff6(0x2a8)](_0xf6d451,_0x4efc5c=>(_0x89f57[_0x5ccff6(0x308)](),_0x3d9543(_0x4efc5c,_0x5069cb,_0x38836f,_0xf6d451)));_0xa1c1f0[_0x5ccff6(0xef)](_0x89f57);});};this[_0x575567(0x20e)](_0x2869e3['toDisposable'](this['_cursorInfo$'][_0x575567(0x16d)](()=>{_0x339874();})));}[_0x3142a3(0x263)](){const _0x3140ef=_0x3142a3;var _0x311828,_0x454be5;if(this[_0x3140ef(0x258)]=!0x0,((_0x311828=this[_0x3140ef(0x32d)][_0x3140ef(0x138)]())==null?void 0x0:_0x311828[_0x3140ef(0xde)]())!==this[_0x3140ef(0x125)])return;const _0x52d157=(_0x454be5=this[_0x3140ef(0x2bd)][_0x3140ef(0x2ae)](_0x27c981[_0x3140ef(0xe2)])[_0x3140ef(0x2b8)]())==null?void 0x0:_0x454be5[0x0],_0x3adb71=this['_univerInstanceService']['getCurrentUnitForType'](_0x2869e3[_0x3140ef(0x289)][_0x3140ef(0x291)])[_0x3140ef(0x1c2)]();_0x52d157&&_0x3adb71&&this[_0x3140ef(0x1c3)](_0x3adb71[_0x3140ef(0x13e)](),_0x52d157);}[_0x3142a3(0x339)](){const _0x26353e=_0x3142a3;this[_0x26353e(0x258)]=!0x1;}};_0x1d3172=_0x300570([_0x2c9a5f(0x2,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x209)])),_0x2c9a5f(0x3,_0x2869e3[_0x3142a3(0x113)](_0xea9dee)),_0x2c9a5f(0x4,_0x2869e3['Inject'](_0x563ec8[_0x3142a3(0x201)])),_0x2c9a5f(0x5,_0x2869e3[_0x3142a3(0xb6)]),_0x2c9a5f(0x6,_0x2869e3[_0x3142a3(0x123)]),_0x2c9a5f(0x7,_0x2869e3['Inject'](_0x27c981[_0x3142a3(0x1f2)]))],_0x1d3172);var _0x30f3c3=Object[_0x3142a3(0x216)],_0x46f75b=(_0x18fc79,_0x2341c3,_0xe1d88c,_0x9a76b8)=>{const _0x76d35a=_0x3142a3;for(var _0xc2d1cd=_0x9a76b8>0x1?void 0x0:_0x9a76b8?_0x30f3c3(_0x2341c3,_0xe1d88c):_0x2341c3,_0x2fe57b=_0x18fc79[_0x76d35a(0x29a)]-0x1,_0x2a93b9;_0x2fe57b>=0x0;_0x2fe57b--)(_0x2a93b9=_0x18fc79[_0x2fe57b])&&(_0xc2d1cd=_0x2a93b9(_0xc2d1cd)||_0xc2d1cd);return _0xc2d1cd;},_0x56c49a=(_0x285e87,_0x4de045)=>(_0x5d1ee8,_0x562236)=>_0x4de045(_0x5d1ee8,_0x562236,_0x285e87);let _0x2e6e49=class extends _0x2869e3[_0x3142a3(0x143)]{constructor(_0x17ee8c,_0x4d513e,_0x539a9f){const _0x57e395=_0x3142a3;super(),_0x5d9583(this,_0x57e395(0x2d8),new Map()),_0x5d9583(this,'_entityInit$',new _0x45f1ec[(_0x57e395(0x255))]()),(this['_univerInstanceService']=_0x17ee8c,this['_injector']=_0x4d513e,this[_0x57e395(0x1f4)]=_0x539a9f,this['_init']());}[_0x3142a3(0x308)](){const _0x236e24=_0x3142a3;super[_0x236e24(0x308)](),this[_0x236e24(0x33e)]['complete'](),this[_0x236e24(0x2d8)]['forEach'](_0x2c66b9=>_0x2c66b9[_0x236e24(0x308)]());}['getCollabCursors$'](_0x248be8){const _0x397dc4=_0x3142a3;return this[_0x397dc4(0x2d8)][_0x397dc4(0x189)](_0x248be8)?this[_0x397dc4(0x2d8)][_0x397dc4(0x2ae)](_0x248be8)[_0x397dc4(0xdc)]:this[_0x397dc4(0x33e)]['pipe'](_0x45f1ec['filter'](_0x35e2e7=>_0x35e2e7[_0x397dc4(0x125)]===_0x248be8),_0x45f1ec[_0x397dc4(0x280)](_0x4132ad=>_0x4132ad[_0x397dc4(0xdc)]));}['_init'](){const _0x244562=_0x3142a3;this[_0x244562(0x32d)]['getTypeOfUnitAdded$'](_0x2869e3[_0x244562(0x289)][_0x244562(0x291)])[_0x244562(0x32b)](_0x45f1ec['takeUntil'](this[_0x244562(0x1c4)]))[_0x244562(0x16d)](async _0x8d132e=>{const _0x1a659d=_0x244562,_0x1be7f3=_0x8d132e[_0x1a659d(0xde)](),_0x21a79d=await this[_0x1a659d(0x33d)](_0x1be7f3);this[_0x1a659d(0x33e)][_0x1a659d(0x19c)](_0x21a79d),this[_0x1a659d(0x2d8)][_0x1a659d(0x115)](_0x1be7f3,_0x21a79d);}),this['_univerInstanceService'][_0x244562(0xcf)](_0x2869e3[_0x244562(0x289)][_0x244562(0x32f)])['pipe'](_0x45f1ec[_0x244562(0x13d)](this[_0x244562(0x1c4)]))['pipe'](_0x45f1ec[_0x244562(0x178)](_0x18cfca=>!_0x18cfca[_0x244562(0xde)]()[_0x244562(0x218)]('__')))[_0x244562(0x16d)](async _0x418179=>{const _0x52a0a1=_0x244562,_0x1390fe=_0x418179['getUnitId'](),_0x29cbcc=await this[_0x52a0a1(0x343)](_0x1390fe);this['_entityInit$'][_0x52a0a1(0x19c)](_0x29cbcc),this['_entities'][_0x52a0a1(0x115)](_0x1390fe,_0x29cbcc);}),_0x45f1ec[_0x244562(0x121)](this[_0x244562(0x32d)][_0x244562(0x346)](_0x2869e3['UniverInstanceType'][_0x244562(0x32f)]),this[_0x244562(0x32d)][_0x244562(0x346)](_0x2869e3[_0x244562(0x289)][_0x244562(0x291)]))[_0x244562(0x32b)](_0x45f1ec[_0x244562(0x13d)](this[_0x244562(0x1c4)]))['subscribe'](_0x3caef9=>{const _0x321b96=_0x244562,_0x2a5a0c=_0x3caef9[_0x321b96(0xde)](),_0x89fe7=this[_0x321b96(0x2d8)][_0x321b96(0x2ae)](_0x2a5a0c);_0x89fe7&&(_0x89fe7[_0x321b96(0x308)](),this[_0x321b96(0x2d8)][_0x321b96(0x171)](_0x2a5a0c));});}async[_0x3142a3(0x33d)](_0xeb10c2){const _0x1ea3e4=_0x3142a3,_0x3f1ca1=await this[_0x1ea3e4(0x1f4)]['requireSession'](_0xeb10c2),_0x26c432=this[_0x1ea3e4(0x2bd)][_0x1ea3e4(0x23b)](_0x1d3172,_0xeb10c2,_0x3f1ca1);return _0x26c432[_0x1ea3e4(0x28d)](),_0x26c432;}async[_0x3142a3(0x343)](_0x1f8bfc){const _0xa4945e=_0x3142a3,_0x2e310d=await this[_0xa4945e(0x1f4)][_0xa4945e(0x2d9)](_0x1f8bfc),_0x406d65=this[_0xa4945e(0x2bd)][_0xa4945e(0x23b)](_0x5f6c3b,_0x1f8bfc,_0x2e310d);return _0x406d65['init'](),_0x406d65;}};_0x2e6e49=_0x46f75b([_0x56c49a(0x0,_0x2869e3[_0x3142a3(0xb6)]),_0x56c49a(0x1,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x209)])),_0x56c49a(0x2,_0x2869e3[_0x3142a3(0x113)](_0x563ec8['CollaborationSessionService']))],_0x2e6e49);const _0x4e1643=0x14,_0x402448=0xc8,_0x35693f=0x4,_0x8fbbe1=0x5;function _0xd31e9e(_0x5f0169,_0x3c85dd){const _0x481fea=_0x3142a3;let {radius:_0x24ee54,width:_0x550bf5,height:_0x3a9d23}=_0x3c85dd;_0x24ee54=_0x24ee54!=null?_0x24ee54:0x0,_0x550bf5=_0x550bf5!=null?_0x550bf5:0x1e,_0x3a9d23=_0x3a9d23!=null?_0x3a9d23:0x1e;let _0x411cd3=0x0,_0x5c1637=0x0,_0x1bc95b=0x0;_0x411cd3=_0x5c1637=_0x1bc95b=Math[_0x481fea(0x30b)](_0x24ee54,_0x550bf5/0x2,_0x3a9d23/0x2),_0x5f0169[_0x481fea(0x25c)](),_0x5f0169[_0x481fea(0x21e)](_0x411cd3,0x0),_0x5f0169[_0x481fea(0x1c5)](_0x550bf5-_0x5c1637,0x0),_0x5f0169[_0x481fea(0x24b)](_0x550bf5-_0x5c1637,_0x5c1637,_0x5c1637,Math['PI']*0x3/0x2,0x0,!0x1),_0x5f0169['lineTo'](_0x550bf5,_0x3a9d23-_0x1bc95b),_0x5f0169[_0x481fea(0x24b)](_0x550bf5-_0x1bc95b,_0x3a9d23-_0x1bc95b,_0x1bc95b,0x0,Math['PI']/0x2,!0x1),_0x5f0169[_0x481fea(0x1c5)](0x0,_0x3a9d23),_0x5f0169[_0x481fea(0x1c5)](0x0,_0x411cd3),_0x5f0169[_0x481fea(0x24b)](_0x411cd3,_0x411cd3,_0x411cd3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5f0169['closePath'](),_0x3c85dd[_0x481fea(0x334)]&&(_0x5f0169[_0x481fea(0x34c)](),_0x5f0169[_0x481fea(0x34a)]=_0x3c85dd[_0x481fea(0x334)],_0x3c85dd[_0x481fea(0x234)]==='evenodd'?_0x5f0169[_0x481fea(0x334)](_0x481fea(0xee)):_0x5f0169[_0x481fea(0x334)](),_0x5f0169[_0x481fea(0x103)]());}class _0x1a66dd extends _0x5e0e97[_0x3142a3(0x2c5)]{constructor(_0x2f7889,_0x378296){const _0x2c8574=_0x3142a3;super(_0x2f7889,_0x378296),_0x5d9583(this,_0x2c8574(0xd6)),_0x5d9583(this,_0x2c8574(0x246)),(this[_0x2c8574(0xd6)]=_0x378296==null?void 0x0:_0x378296[_0x2c8574(0xd6)],this[_0x2c8574(0x246)]=_0x378296==null?void 0x0:_0x378296['text']);}static['drawWith'](_0x1e16b7,_0x5f4780){const _0x43b610=_0x3142a3,{text:_0x1bcd2a,color:_0x43af75}=_0x5f4780;_0x1e16b7[_0x43b610(0x34c)](),_0x1e16b7['font']=_0x43b610(0x239);const _0x22810f=_0x1e16b7[_0x43b610(0xcc)](_0x1bcd2a)[_0x43b610(0x168)],_0x3ac057=Math[_0x43b610(0x30b)](_0x22810f+0x2*_0x35693f,_0x402448);_0xd31e9e(_0x1e16b7,{'height':_0x4e1643,'radius':0x4,'width':_0x3ac057,'fill':_0x43af75}),_0x1e16b7['fillStyle']=_0x43b610(0x349);const _0x266001=_0x35693f,_0x25f59e=_0x4e1643-_0x8fbbe1,_0xf20b10=_0x402448-0x2*_0x35693f;if(_0x22810f>_0xf20b10){let _0x33b6ea='',_0x309778=0x0;for(const _0x25bbb8 of _0x1bcd2a){const _0x5f4ec9=_0x1e16b7[_0x43b610(0xcc)](_0x25bbb8)[_0x43b610(0x168)];if(_0x309778+_0x5f4ec9<=_0xf20b10-_0x1e16b7[_0x43b610(0xcc)](_0x43b610(0x14d))[_0x43b610(0x168)])_0x33b6ea+=_0x25bbb8,_0x309778+=_0x5f4ec9;else{_0x33b6ea+=_0x43b610(0x14d);break;}}_0x1e16b7[_0x43b610(0x17e)](_0x33b6ea,_0x266001,_0x25f59e);}else _0x1e16b7['fillText'](_0x1bcd2a,_0x266001,_0x25f59e);_0x1e16b7[_0x43b610(0x103)]();}[_0x3142a3(0x259)](_0x3be00f){_0x1a66dd['drawWith'](_0x3be00f,this);}}const _0x5520e3=_0x3142a3(0x244),_0x3ee04e=_0x3142a3(0x236),_0x11ba12=_0x3142a3(0x182),_0x37dc39=0x6,_0x5923e8=1.5,_0x161e0b=0x4,_0x2d5a90=1.5,_0x539ca6='rgba(255,\x20255,\x20255,\x200.01)';class _0x4fccdb{constructor(_0x355d75,_0x3c43d4,_0x3f2d25,_0x221b8c){const _0x13abab=_0x3142a3;_0x5d9583(this,_0x13abab(0x148),[]),_0x5d9583(this,_0x13abab(0x273),null),_0x5d9583(this,_0x13abab(0x2c3),null),_0x5d9583(this,_0x13abab(0x312),null),_0x5d9583(this,_0x13abab(0x226),null),_0x5d9583(this,_0x13abab(0x1fe),null),(this['_cursor']=_0x355d75,this[_0x13abab(0x228)]=_0x3c43d4,this['_docSkeleton']=_0x3f2d25,this[_0x13abab(0x139)]=_0x221b8c,this[_0x13abab(0x29f)]());}set[_0x3142a3(0xea)](_0x4752a7){const _0x419af3=_0x3142a3;_0x4752a7?(this['_anchorDot']&&this[_0x419af3(0x312)]['hide'](),this['_textBubble']&&this['_textBubble'][_0x419af3(0x167)]()):(this[_0x419af3(0x312)]&&this[_0x419af3(0x312)]['show'](),this[_0x419af3(0x2c3)]&&this[_0x419af3(0x2c3)][_0x419af3(0x112)]());}[_0x3142a3(0x308)](){const _0x15183f=_0x3142a3;for(const _0x3af25d of this[_0x15183f(0x148)])_0x3af25d[_0x15183f(0x308)]();this[_0x15183f(0x2c3)]&&this['_textBubble'][_0x15183f(0x308)](),this[_0x15183f(0x312)]&&this[_0x15183f(0x312)]['dispose'](),this[_0x15183f(0x273)]&&this['_anchor'][_0x15183f(0x308)](),this[_0x15183f(0x1fe)]&&this[_0x15183f(0x1fe)]();}[_0x3142a3(0x29f)](){const _0x47b509=_0x3142a3;var _0x214d15;const {_docSkeleton:_0x521095,_document:_0x3c2f49}=this,{color:_0x58fb34,name:_0x2047e0,ranges:_0x49eaac}=this['_cursor'],_0x53fc32=_0x3c2f49[_0x47b509(0x11c)](),{docsLeft:_0x365cbd,docsTop:_0x35b8bf}=_0x53fc32,_0x5d27fb=new _0x3ecda4[(_0x47b509(0x22a))](_0x53fc32,_0x521095);for(const {startOffset:_0x4da4bd,endOffset:_0x41b671,rangeType:_0x167ecb,segmentId:_0x3fa68e,segmentPage:_0x9e7cc,collapsed:_0x556a61,isActive:_0x251f07}of _0x49eaac){const _0x437f8f=_0x521095[_0x47b509(0x2bc)](_0x4da4bd,!0x0,_0x3fa68e,_0x9e7cc);let _0x19839b=_0x521095[_0x47b509(0x2bc)](_0x41b671,!0x0,_0x3fa68e,_0x9e7cc);if(_0x19839b==null&&(_0x19839b=_0x521095['findNodePositionByCharIndex'](_0x41b671-0x1,!0x1,_0x3fa68e,_0x9e7cc)),_0x251f07){const {contentBoxPointGroup:_0x334830}=_0x5d27fb[_0x47b509(0x300)](_0x19839b,_0x19839b);if(_0x334830['length']===0x0)continue;this[_0x47b509(0x15b)](_0x58fb34,_0x334830,_0x365cbd,_0x35b8bf,_0x2047e0),this[_0x47b509(0x1fe)]=this[_0x47b509(0x2eb)]();}if(_0x437f8f&&_0x19839b){if(_0x167ecb===_0x2869e3['DOC_RANGE_TYPE'][_0x47b509(0x2d4)]){const _0x4dac98=new _0x3ecda4[(_0x47b509(0x13c))](_0x53fc32,_0x521095),{pointGroup:_0x93b3c}=(_0x214d15=_0x4dac98[_0x47b509(0x300)](_0x437f8f,_0x19839b))!=null?_0x214d15:{};if(_0x93b3c==null||_0x93b3c['length']===0x0)continue;this[_0x47b509(0x341)](_0x58fb34,_0x93b3c,_0x365cbd,_0x35b8bf);}else{if(!_0x556a61){const {borderBoxPointGroup:_0x5762e1}=_0x5d27fb[_0x47b509(0x300)](_0x437f8f,_0x19839b);if(_0x5762e1[_0x47b509(0x29a)]===0x0)continue;this[_0x47b509(0xb8)](_0x58fb34,_0x5762e1,_0x365cbd,_0x35b8bf);}}}}}[_0x3142a3(0x15b)](_0x547550,_0x1743cb,_0x15d4aa,_0x1cede9,_0x1cb476){const _0x22fce2=_0x3142a3,_0x10ca1b=this['_getAnchorBounding'](_0x1743cb),{left:_0x572620,top:_0x5ceacd,height:_0x6cb4ef}=_0x10ca1b,_0x5249a4=this[_0x22fce2(0x2f2)](),_0x5998dc=_0x2d5a90/_0x5249a4,_0x1ee667=new _0x5e0e97[(_0x22fce2(0x12b))](_0x5520e3+_0x2869e3['Tools'][_0x22fce2(0x187)](_0x37dc39),{'left':_0x572620+_0x15d4aa-_0x5998dc,'top':_0x5ceacd+_0x1cede9,'height':_0x6cb4ef,'width':_0x5923e8,'fill':_0x547550||_0x5e0e97[_0x22fce2(0xc7)](_0x2869e3[_0x22fce2(0x19f)]['black'],0x0),'strokeWidth':_0x5998dc,'stroke':_0x539ca6,'evented':!0x0});this[_0x22fce2(0x273)]=_0x1ee667,this[_0x22fce2(0x228)][_0x22fce2(0x137)](_0x1ee667,_0x3ecda4[_0x22fce2(0xe7)]);const _0x427326=new _0x5e0e97['Rect'](_0x5520e3+_0x2869e3['Tools'][_0x22fce2(0x187)](_0x37dc39),{'left':_0x572620+_0x15d4aa-_0x5998dc,'top':_0x5ceacd+_0x1cede9-_0x161e0b/0x2,'height':_0x161e0b,'width':_0x161e0b,'fill':_0x547550||_0x5e0e97[_0x22fce2(0xc7)](_0x2869e3[_0x22fce2(0x19f)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x547550||_0x5e0e97[_0x22fce2(0xc7)](_0x2869e3[_0x22fce2(0x19f)][_0x22fce2(0xd5)],0x0),'evented':!0x1});this[_0x22fce2(0x312)]=_0x427326,this[_0x22fce2(0x228)]['addObject'](_0x427326,_0x3ecda4[_0x22fce2(0xe7)]);const _0xbf65bc=new _0x1a66dd(_0x5520e3+_0x2869e3[_0x22fce2(0x2f3)][_0x22fce2(0x187)](_0x37dc39),{'left':_0x572620+_0x15d4aa-_0x5998dc,'top':_0x5ceacd+_0x1cede9-_0x4e1643,'text':_0x1cb476,'color':_0x547550});this[_0x22fce2(0x2c3)]=_0xbf65bc,this[_0x22fce2(0x228)][_0x22fce2(0x137)](_0xbf65bc,_0x3ecda4[_0x22fce2(0xe7)]),this[_0x22fce2(0xea)]=!0x1;}[_0x3142a3(0x2eb)](){const _0x1bc963=_0x3142a3,_0x52e60a=this[_0x1bc963(0x273)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x3c4167=_0x1bc963;this[_0x3c4167(0xea)]=!0x0;}),_0x37ae2d=this[_0x1bc963(0x273)][_0x1bc963(0x134)][_0x1bc963(0xd3)](()=>{const _0x5010c6=_0x1bc963;this[_0x5010c6(0x226)]&&clearTimeout(this[_0x5010c6(0x226)]),this[_0x5010c6(0x226)]=setTimeout(()=>{const _0x1c7d5b=_0x5010c6;this[_0x1c7d5b(0xea)]=!0x1;},0x7d0);});return()=>{const _0x2f045e=_0x1bc963;_0x52e60a[_0x2f045e(0x2f5)](),_0x37ae2d[_0x2f045e(0x2f5)]();};}['_drawTextRange'](_0x36d54f,_0x1bde00,_0x89bce4,_0xa1a5c2){const _0x1490b0=_0x3142a3,_0x1a7df0=new _0x2869e3['ColorKit'](_0x36d54f)[_0x1490b0(0x23a)](0.2)[_0x1490b0(0x10c)](),_0x142adb=new _0x5e0e97[(_0x1490b0(0x1d2))](_0x3ee04e+_0x2869e3['Tools'][_0x1490b0(0x187)](_0x37dc39),{'pointsGroup':_0x1bde00,'fill':_0x1a7df0||_0x5e0e97[_0x1490b0(0xc7)](_0x2869e3[_0x1490b0(0x19f)][_0x1490b0(0xd5)],0.2),'left':_0x89bce4,'top':_0xa1a5c2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1490b0(0x148)]['push'](_0x142adb),this['_scene'][_0x1490b0(0x137)](_0x142adb,_0x3ecda4[_0x1490b0(0xe7)]);}['_drawRectRange'](_0x5e3576,_0x1e2e3f,_0x5cc9b6,_0x278469){const _0xe651b3=_0x3142a3,_0x115be2=new _0x2869e3['ColorKit'](_0x5e3576)[_0xe651b3(0x23a)](0.2)[_0xe651b3(0x10c)](),_0x50cfc3=new _0x5e0e97[(_0xe651b3(0x1d2))](_0x11ba12+_0x2869e3['Tools'][_0xe651b3(0x187)](_0x37dc39),{'pointsGroup':_0x1e2e3f,'fill':_0x115be2||_0x5e0e97['getColor'](_0x2869e3[_0xe651b3(0x19f)][_0xe651b3(0xd5)],0.2),'left':_0x5cc9b6,'top':_0x278469,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xe651b3(0x1f1)](_0x50cfc3),this[_0xe651b3(0x228)][_0xe651b3(0x137)](_0x50cfc3,_0x3ecda4[_0xe651b3(0xe7)]);}['_getAnchorBounding'](_0x4e57bd){const _0x38828b=_0x4e57bd[0x0],_0xdf090d=_0x38828b[0x0],_0x39ca9e=_0x38828b[0x2],{x:_0x5781ea,y:_0x2db513}=_0xdf090d,{x:_0x5d4397,y:_0x3344a3}=_0x39ca9e;return{'left':_0x5781ea,'top':_0x2db513,'width':_0x5d4397-_0x5781ea,'height':_0x3344a3-_0x2db513};}[_0x3142a3(0x2f2)](){const _0x4e6ff2=_0x3142a3,{scaleX:_0x3072e8,scaleY:_0x1a9bc5}=this[_0x4e6ff2(0x228)][_0x4e6ff2(0x2de)]();return Math[_0x4e6ff2(0x104)](_0x3072e8,_0x1a9bc5);}}var _0xd198d7=Object[_0x3142a3(0x216)],_0x50936d=(_0xf0e6eb,_0x30e16e,_0x7e535,_0x4269e5)=>{for(var _0x15b7de=_0x4269e5>0x1?void 0x0:_0x4269e5?_0xd198d7(_0x30e16e,_0x7e535):_0x30e16e,_0x124374=_0xf0e6eb['length']-0x1,_0x537255;_0x124374>=0x0;_0x124374--)(_0x537255=_0xf0e6eb[_0x124374])&&(_0x15b7de=_0x537255(_0x15b7de)||_0x15b7de);return _0x15b7de;},_0x5261f9=(_0x34ac6b,_0x2b7360)=>(_0x514a90,_0x51d580)=>_0x2b7360(_0x514a90,_0x51d580,_0x34ac6b);let _0x1411b2=class extends _0x2869e3[_0x3142a3(0x143)]{constructor(_0x3238c1,_0x5d026a,_0x5b64c6,_0x537481,_0x234887){const _0x142559=_0x3142a3;super(),_0x5d9583(this,_0x142559(0xe3),[]),_0x5d9583(this,_0x142559(0x151),[]),(this[_0x142559(0x1f8)]=_0x3238c1,this['_docSkeletonManagerService']=_0x5d026a,this['_collabCursorController']=_0x5b64c6,this[_0x142559(0xdd)]=_0x537481,this[_0x142559(0x2d7)]=_0x234887,this[_0x142559(0x30c)]());}[_0x3142a3(0x30c)](){const _0x33e225=_0x3142a3,_0x74d283=this['_context']['unitId'],_0x267b1a=this[_0x33e225(0x1d7)];this['disposeWithMe'](_0x45f1ec[_0x33e225(0x13f)]([this['_collabCursorController'][_0x33e225(0x154)](_0x74d283),this[_0x33e225(0x2d7)][_0x33e225(0x34e)]])[_0x33e225(0x32b)](_0x2e1c54[_0x33e225(0x340)](([_0x1f9064,_0x1b2314])=>({'skeleton':_0x267b1a['getSkeleton'](),'cursors':[..._0x1f9064[_0x33e225(0x28e)]()][_0x33e225(0x208)](_0x131c2b=>({..._0x131c2b,'color':this[_0x33e225(0x2d7)][_0x33e225(0x11a)](_0x131c2b[_0x33e225(0xd6)])}))})))[_0x33e225(0x16d)](_0x3db9af=>{const _0x45b3a7=_0x33e225;if(this[_0x45b3a7(0x267)](),_0x3db9af){const {skeleton:_0x4086aa,cursors:_0x2226c4}=_0x3db9af;this[_0x45b3a7(0x12c)](_0x4086aa,_0x2226c4);}})),this[_0x33e225(0x1b7)](),this[_0x33e225(0x1e7)]();}[_0x3142a3(0x12c)](_0x259906,_0x3e5dd1){const _0x460d8c=_0x3142a3,{scene:_0x25b1e8,mainComponent:_0x258c7a}=this[_0x460d8c(0x1f8)],_0x4e9636=_0x3e5dd1[_0x460d8c(0x340)](_0xcf8810=>new _0x4fccdb(_0xcf8810,_0x25b1e8,_0x259906,_0x258c7a));this[_0x460d8c(0xe3)]=_0x4e9636,this[_0x460d8c(0x151)]=_0x3e5dd1;}[_0x3142a3(0x2ce)](){const _0x2eb127=_0x3142a3;this[_0x2eb127(0x267)]();const {scene:_0x4e24fd,mainComponent:_0x4d3cb0}=this[_0x2eb127(0x1f8)],_0x17ca1d=this['_docSkeletonManagerService'][_0x2eb127(0x2e4)](),_0x1b2755=this['_cursors'][_0x2eb127(0x340)](_0x55b536=>new _0x4fccdb(_0x55b536,_0x4e24fd,_0x17ca1d,_0x4d3cb0));this[_0x2eb127(0xe3)]=_0x1b2755;}[_0x3142a3(0x267)](){const _0x1617b7=_0x3142a3;this[_0x1617b7(0xe3)][_0x1617b7(0x181)](_0x39554d=>_0x39554d[_0x1617b7(0x308)]()),this['_cursorShapes']=[];}[_0x3142a3(0x1e7)](){const _0x2f3e44=_0x3142a3,_0x1de3a6=[_0x3ecda4[_0x2f3e44(0x1b4)]['id']];this[_0x2f3e44(0x20e)](this[_0x2f3e44(0xdd)][_0x2f3e44(0x1f3)](_0x16e63f=>{const _0x1758dc=_0x2f3e44;_0x1de3a6[_0x1758dc(0x14a)](_0x16e63f['id'])&&_0x16e63f['params'][_0x1758dc(0x25f)]===this[_0x1758dc(0x1f8)][_0x1758dc(0x25f)]&&this[_0x1758dc(0x2ce)]();}));}['_initResize'](){const _0x3c540d=_0x3142a3;this[_0x3c540d(0x20e)](_0x2869e3['fromEventSubject'](this[_0x3c540d(0x1f8)][_0x3c540d(0x269)][_0x3c540d(0x18a)])['pipe'](_0x2e1c54[_0x3c540d(0x178)](_0x505c8a=>_0x505c8a[_0x3c540d(0x16b)]===_0x5e0e97['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3c540d(0xfd)]),_0x2e1c54[_0x3c540d(0x2d3)](0x10))[_0x3c540d(0x16d)](()=>{this['_refreshCollabCursors']();}));}};_0x1411b2=_0x50936d([_0x5261f9(0x1,_0x2869e3['Inject'](_0x4a64a9[_0x3142a3(0x20d)])),_0x5261f9(0x2,_0x2869e3[_0x3142a3(0x113)](_0x2e6e49)),_0x5261f9(0x3,_0x2869e3['ICommandService']),_0x5261f9(0x4,_0x2869e3['Inject'](_0x2869e3['ThemeService']))],_0x1411b2);const _0x1f8c56=0x1,_0x1887ab=1.5;class _0x330688 extends _0x5e0e97[_0x3142a3(0x2c5)]{constructor(_0x4c8850,_0x41e1a5){const _0x3757aa=_0x3142a3;super(_0x4c8850,_0x41e1a5),_0x5d9583(this,_0x3757aa(0x15e)),_0x5d9583(this,_0x3757aa(0x354),!0x1),_0x5d9583(this,_0x3757aa(0x102)),_0x5d9583(this,_0x3757aa(0x324),''),_0x5d9583(this,_0x3757aa(0x316),'top'),_0x5d9583(this,_0x3757aa(0xc4)),(_0x41e1a5&&this[_0x3757aa(0x330)](_0x41e1a5),this['onPointerEnter$'][_0x3757aa(0xd3)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3757aa(0x134)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3142a3(0x330)](_0x382ea5){const _0x389e0e=_0x3142a3;var _0x1bf540,_0x58896c,_0x418f12,_0xda9412,_0xa6ee92,_0x2ffa0e;this[_0x389e0e(0x15e)]=(_0x1bf540=_0x382ea5[_0x389e0e(0xd6)])!=null?_0x1bf540:this[_0x389e0e(0x15e)],this['_hovered']=(_0x58896c=_0x382ea5['hovered'])!=null?_0x58896c:this[_0x389e0e(0x354)],this[_0x389e0e(0x102)]=(_0x418f12=_0x382ea5[_0x389e0e(0x2ec)])!=null?_0x418f12:this[_0x389e0e(0x102)],this['_name']=(_0xda9412=_0x382ea5[_0x389e0e(0xc3)])!=null?_0xda9412:this[_0x389e0e(0x324)],this[_0x389e0e(0x316)]=(_0xa6ee92=_0x382ea5[_0x389e0e(0x303)])!=null?_0xa6ee92:this[_0x389e0e(0x316)],this['_backgroundColor']=(_0x2ffa0e=_0x382ea5[_0x389e0e(0x122)])!=null?_0x2ffa0e:this[_0x389e0e(0xc4)],this[_0x389e0e(0xd7)]({'width':_0x382ea5[_0x389e0e(0x168)],'height':_0x382ea5[_0x389e0e(0xdf)]});}['onMouseMove'](_0x5bb66e){const _0x3c0c73=_0x3142a3,{row:_0x47061b,column:_0x2e947d}=_0x5bb66e;if(_0x47061b>=this['_range'][_0x3c0c73(0x22f)]&&_0x47061b<=this['_range'][_0x3c0c73(0x350)]&&_0x2e947d>=this[_0x3c0c73(0x102)]['startColumn']&&_0x2e947d<=this['_range'][_0x3c0c73(0x12d)]){this[_0x3c0c73(0x330)]({'hovered':!0x0});return;}this[_0x3c0c73(0x330)]({'hovered':!0x1});}[_0x3142a3(0x306)](_0x36bb21){return!0x1;}['_draw'](_0x5778e0){const _0x6e8003=_0x3142a3;_0x5e0e97[_0x6e8003(0x12b)]['drawWith'](_0x5778e0,{'width':this['width'],'height':this[_0x6e8003(0xdf)],'strokeWidth':_0x1887ab,'stroke':this[_0x6e8003(0x15e)],'evented':!0x1,'fill':this[_0x6e8003(0xc4)]}),this['_hovered']&&(_0x5778e0[_0x6e8003(0x34c)](),_0x5778e0[_0x6e8003(0x190)](0x1,0x0,0x0,0x1,this[_0x6e8003(0x168)],this[_0x6e8003(0x316)]===_0x6e8003(0x2cd)?0x0:-0x14),_0x1a66dd[_0x6e8003(0x235)](_0x5778e0,{'text':this['_name'],'color':this[_0x6e8003(0x15e)]}),_0x5778e0[_0x6e8003(0x103)]());}}var _0x243aa4=Object[_0x3142a3(0x216)],_0x4ed735=(_0x342424,_0x240568,_0x25f27a,_0x478b5c)=>{for(var _0x321e39=_0x478b5c>0x1?void 0x0:_0x478b5c?_0x243aa4(_0x240568,_0x25f27a):_0x240568,_0x44b9b5=_0x342424['length']-0x1,_0x19fb50;_0x44b9b5>=0x0;_0x44b9b5--)(_0x19fb50=_0x342424[_0x44b9b5])&&(_0x321e39=_0x19fb50(_0x321e39)||_0x321e39);return _0x321e39;},_0x4963f4=(_0x153126,_0x351859)=>(_0x320e23,_0x36dc30)=>_0x351859(_0x320e23,_0x36dc30,_0x153126);const _0x15fe86=0x1389;let _0x31c411=class extends _0x2869e3['RxDisposable']{constructor(_0x5dd9f1,_0x5767d7,_0x48e9cc,_0xf61426){const _0x2c2c03=_0x3142a3;super(),_0x5d9583(this,_0x2c2c03(0x151),new Set()),_0x5d9583(this,_0x2c2c03(0x268),null),(this['_context']=_0x5dd9f1,this[_0x2c2c03(0x2fd)]=_0x5767d7,this[_0x2c2c03(0x18b)]=_0x48e9cc,this[_0x2c2c03(0x2d7)]=_0xf61426,this[_0x2c2c03(0x30c)]());}[_0x3142a3(0x30c)](){const _0x26e4be=_0x3142a3;this['_sheetSkeletonManagerService'][_0x26e4be(0x16c)][_0x26e4be(0x32b)](_0x2e1c54[_0x26e4be(0x13d)](this[_0x26e4be(0x1c4)]),_0x2e1c54[_0x26e4be(0x280)](_0x4dbda6=>{const _0x1e6e48=_0x26e4be;if(_0x4dbda6){const _0x13ab1b=_0x4dbda6[_0x1e6e48(0x20a)];return _0x45f1ec[_0x1e6e48(0x13f)](this[_0x1e6e48(0x18b)]['getCollabCursors$'](this[_0x1e6e48(0x1f8)][_0x1e6e48(0x25f)]),this[_0x1e6e48(0x2d7)]['currentTheme$'])[_0x1e6e48(0x32b)](_0x2e1c54[_0x1e6e48(0x340)](([_0x4f9926,_0x5e5cf4])=>{const _0x1e9c5b=_0x1e6e48,_0x40e7cf=new Map();return _0x4f9926[_0x1e9c5b(0x181)]((_0x3a1d7b,_0x51f9ec)=>{const _0x2b3dcb=_0x1e9c5b;if(_0x3a1d7b[_0x2b3dcb(0xcd)]===_0x13ab1b){const _0x16b1fa={..._0x3a1d7b};_0x16b1fa['color']=this[_0x2b3dcb(0x2d7)]['getColorFromTheme'](_0x3a1d7b['color']),_0x40e7cf[_0x2b3dcb(0x115)](_0x51f9ec,_0x16b1fa);}}),{'skeleton':_0x4dbda6,'cursors':_0x40e7cf};}));}return _0x45f1ec['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3b122a,cursors:_0x15d902})=>{const _0x1f0b37=_0x26e4be;this[_0x1f0b37(0x267)](),_0x3b122a&&this[_0x1f0b37(0x12c)](_0x3b122a,_0x15d902);}),this[_0x26e4be(0x2fd)][_0x26e4be(0x16c)]['subscribe'](_0x59c9c6=>{const _0x5a5eea=_0x26e4be;if(_0x59c9c6==null)return;const {skeleton:_0x1f1117}=_0x59c9c6,{scene:_0x22a9d4}=this[_0x5a5eea(0x1f8)];_0x22a9d4[_0x5a5eea(0x35b)][_0x5a5eea(0xd3)](_0x2869e3[_0x5a5eea(0x281)](_0x40e032=>{const _0x79c82c=_0x5a5eea;var _0x36a6d4,_0x1f1092;const {offsetX:_0xf51a6,offsetY:_0x3af980}=_0x40e032,{x:_0x34021e,y:_0x1c799b}=_0x22a9d4[_0x79c82c(0x10e)](_0x5e0e97[_0x79c82c(0xce)][_0x79c82c(0x23c)]([_0xf51a6,_0x3af980])),{scaleX:_0x40648d,scaleY:_0x377196}=_0x22a9d4[_0x79c82c(0x2de)](),_0xf6ecc5=_0x22a9d4[_0x79c82c(0x2f9)](_0x5e0e97['SHEET_VIEWPORT_KEY'][_0x79c82c(0xca)]),_0x2e20f0=_0x22a9d4[_0x79c82c(0x28c)](_0x5e0e97[_0x79c82c(0xce)][_0x79c82c(0x23c)]([_0x34021e,_0x1c799b]),_0xf6ecc5),_0x17da88=_0x1f1117[_0x79c82c(0x329)](_0xf51a6,_0x3af980,_0x40648d,_0x377196,_0x2e20f0);((_0x36a6d4=this[_0x79c82c(0x268)])==null?void 0x0:_0x36a6d4[_0x79c82c(0x285)])===_0x17da88[_0x79c82c(0x285)]&&((_0x1f1092=this[_0x79c82c(0x268)])==null?void 0x0:_0x1f1092[_0x79c82c(0x320)])===_0x17da88['row']||this[_0x79c82c(0x151)][_0x79c82c(0x181)](_0x38598=>{const _0x4b85ee=_0x79c82c;_0x38598[_0x4b85ee(0x129)](_0x17da88);});},0x64));});}[_0x3142a3(0x12c)](_0x12cc50,_0x30fbe0){const _0x3886bd=_0x3142a3;var _0x42e964;const _0x362403=(_0x42e964=this['_sheetSkeletonManagerService'][_0x3886bd(0x20b)]())==null?void 0x0:_0x42e964[_0x3886bd(0x232)];if(!_0x362403)return;const _0x2072dd=this['_getSheetObject']();if(!_0x2072dd)return;this[_0x3886bd(0x151)]['forEach'](_0x16fac5=>{const _0x4bc0be=_0x3886bd;_0x16fac5[_0x4bc0be(0x18d)]();});const {scene:_0xc76914}=_0x2072dd,_0x4d93dd=_0x22aa67(Array['from'](_0x30fbe0[_0x3886bd(0x28e)]()))[_0x3886bd(0x340)](_0x48f4a4=>{const _0x21bc8d=_0x3886bd,{color:_0x513c8c,range:_0x11a277,name:_0x177687,selection:_0x3354a2,sheetID:_0x22d0ea}=_0x48f4a4,{startColumn:_0x85d52f,startRow:_0x263672,endColumn:_0x569c42,endRow:_0x574c16}=_0x11a277,_0x497857=_0x62ce7e[_0x21bc8d(0x328)](_0x263672,_0x85d52f,_0xc76914,_0x362403),_0x170214=_0x62ce7e[_0x21bc8d(0x328)](_0x574c16,_0x569c42,_0xc76914,_0x362403),{columnHeaderHeightAndMarginTop:_0x5ee0c8}=_0x362403,{startX:_0x4ef51f,startY:_0x2cec56}=_0x497857,{endX:_0x3081bb,endY:_0x26ae72}=_0x170214,_0x3e84db=_0x3081bb-_0x4ef51f,_0x55f09a=_0x26ae72-_0x2cec56,_0x519a9c={'labelPosition':_0x2cec56-_0x5ee0c8>=_0x4e1643?'top':'bottom','sheetID':_0x22d0ea,'range':_0x11a277,'color':_0x513c8c,'name':_0x177687,'selection':_0x3354a2,'left':_0x4ef51f,'top':_0x2cec56,'width':_0x3e84db,'height':_0x55f09a,'evented':!0x1,'zIndex':_0x15fe86};return new _0x330688(_0x177687,_0x519a9c);});_0xc76914['addObjects'](_0x4d93dd,_0x1f8c56),this['_cursors']=new Set(_0x4d93dd);}[_0x3142a3(0x267)](){const _0x3b7ce0=_0x3142a3;var _0x5a2c0b;(_0x5a2c0b=this[_0x3b7ce0(0x151)])==null||_0x5a2c0b[_0x3b7ce0(0x181)](_0x261f56=>_0x261f56[_0x3b7ce0(0x308)]());}[_0x3142a3(0x240)](){const _0x513114=_0x3142a3;return _0x62ce7e[_0x513114(0x298)](this[_0x513114(0x1f8)]['unit'],this[_0x513114(0x1f8)]);}};_0x31c411=_0x4ed735([_0x4963f4(0x1,_0x2869e3[_0x3142a3(0x113)](_0x62ce7e['SheetSkeletonManagerService'])),_0x4963f4(0x2,_0x2869e3[_0x3142a3(0x113)](_0x2e6e49)),_0x4963f4(0x3,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x32e)]))],_0x31c411);function _0x22aa67(_0x18cdab){const _0xd26214=_0x3142a3,_0x15ac2a=new Map();return _0x18cdab['forEach'](_0x4d69a2=>{const _0x297331=_0x412f;if(_0x15ac2a[_0x297331(0x189)](_0x4d69a2['selection'])){const _0x17a250=_0x15ac2a[_0x297331(0x2ae)](_0x4d69a2[_0x297331(0x337)]);_0x17a250[_0x297331(0xc3)]+=',\x20'+_0x4d69a2['name'];}else _0x15ac2a[_0x297331(0x115)](_0x4d69a2['selection'],_0x4d69a2);}),Array[_0xd26214(0x150)](_0x15ac2a[_0xd26214(0x28e)]());}var _0x58a186=function(){const _0x2d0f19=_0x3142a3;return _0x58a186=Object[_0x2d0f19(0xf7)]||function(_0x30565e){const _0xaad536=_0x2d0f19;for(var _0x2b98b7,_0x5124b7=0x1,_0x2bf12c=arguments[_0xaad536(0x29a)];_0x5124b7<_0x2bf12c;_0x5124b7++){_0x2b98b7=arguments[_0x5124b7];for(var _0xf07a0f in _0x2b98b7)Object['prototype'][_0xaad536(0x1f6)]['call'](_0x2b98b7,_0xf07a0f)&&(_0x30565e[_0xf07a0f]=_0x2b98b7[_0xf07a0f]);}return _0x30565e;},_0x58a186[_0x2d0f19(0x270)](this,arguments);},_0x118efc=function(_0x2375e5,_0x5ac73e){const _0x62d4b6=_0x3142a3;var _0x2bde3a={};for(var _0x200784 in _0x2375e5)Object[_0x62d4b6(0x118)][_0x62d4b6(0x1f6)][_0x62d4b6(0xcb)](_0x2375e5,_0x200784)&&_0x5ac73e[_0x62d4b6(0x2a2)](_0x200784)<0x0&&(_0x2bde3a[_0x200784]=_0x2375e5[_0x200784]);if(_0x2375e5!=null&&typeof Object[_0x62d4b6(0x1b8)]==_0x62d4b6(0x1ab)){for(var _0x2f582e=0x0,_0x200784=Object[_0x62d4b6(0x1b8)](_0x2375e5);_0x2f582e<_0x200784[_0x62d4b6(0x29a)];_0x2f582e++)_0x5ac73e[_0x62d4b6(0x2a2)](_0x200784[_0x2f582e])<0x0&&Object['prototype'][_0x62d4b6(0x105)][_0x62d4b6(0xcb)](_0x2375e5,_0x200784[_0x2f582e])&&(_0x2bde3a[_0x200784[_0x2f582e]]=_0x2375e5[_0x200784[_0x2f582e]]);}return _0x2bde3a;},_0x279803=_0x403960['forwardRef'](function(_0x3171c7,_0x5c571f){const _0x4e4fda=_0x3142a3;var _0x32b652=_0x3171c7[_0x4e4fda(0xd2)],_0x4c2132=_0x3171c7['id'],_0x430662=_0x3171c7[_0x4e4fda(0x326)],_0x25c66b=_0x3171c7['extend'],_0x1b1c15=_0x118efc(_0x3171c7,[_0x4e4fda(0xd2),'id',_0x4e4fda(0x326),_0x4e4fda(0x109)]),_0x1123c0=_0x4e4fda(0x265)[_0x4e4fda(0x317)](_0x4c2132,'\x20')['concat'](_0x430662||'')[_0x4e4fda(0x120)](),_0x2fb466=_0x403960[_0x4e4fda(0xb4)]('_'['concat'](_0x311ba4()));return _0x274ac(_0x32b652,''[_0x4e4fda(0x317)](_0x4c2132),{'defIds':_0x32b652[_0x4e4fda(0x311)],'idSuffix':_0x2fb466[_0x4e4fda(0x164)]},_0x58a186({'ref':_0x5c571f,'className':_0x1123c0},_0x1b1c15),_0x25c66b);});function _0x274ac(_0x36c8c8,_0x5cb5ed,_0x2e346b,_0x53c3da,_0x42acc4){const _0x3b0540=_0x3142a3;return _0x403960['createElement'](_0x36c8c8[_0x3b0540(0x16e)],_0x58a186(_0x58a186({'key':_0x5cb5ed},_0x5033f4(_0x36c8c8,_0x2e346b,_0x42acc4)),_0x53c3da),(_0xfa3da6(_0x36c8c8,_0x2e346b)[_0x3b0540(0x19b)]||[])[_0x3b0540(0x340)](function(_0x34db89,_0x482683){const _0x16b162=_0x3b0540;return _0x274ac(_0x34db89,''[_0x16b162(0x317)](_0x5cb5ed,'-')[_0x16b162(0x317)](_0x36c8c8[_0x16b162(0x16e)],'-')[_0x16b162(0x317)](_0x482683),_0x2e346b,void 0x0,_0x42acc4);}));}function _0x5033f4(_0x29e61f,_0x388d47,_0x5a2743){const _0x45dcf8=_0x3142a3;var _0x32355d=_0x58a186({},_0x29e61f[_0x45dcf8(0x231)]);_0x5a2743!=null&&_0x5a2743['colorChannel1']&&_0x32355d[_0x45dcf8(0x334)]===_0x45dcf8(0x199)&&(_0x32355d[_0x45dcf8(0x334)]=_0x5a2743[_0x45dcf8(0x199)]),_0x29e61f[_0x45dcf8(0x16e)]===_0x45dcf8(0x110)&&_0x32355d['id']&&(_0x32355d['id']=_0x32355d['id']+_0x388d47[_0x45dcf8(0x183)]),Object[_0x45dcf8(0x144)](_0x32355d)['forEach'](function(_0x3ad506){const _0x449b31=_0x45dcf8;var _0x405348=_0x3ad506[0x0],_0x57c97c=_0x3ad506[0x1];_0x405348===_0x449b31(0x110)&&typeof _0x57c97c==_0x449b31(0xb9)&&(_0x32355d[_0x405348]=_0x57c97c['replace'](/url\(#(.*)\)/,'url(#$1'[_0x449b31(0x317)](_0x388d47[_0x449b31(0x183)],')')));});var _0x54f26e=_0x388d47[_0x45dcf8(0x311)];return!_0x54f26e||_0x54f26e[_0x45dcf8(0x29a)]===0x0||(_0x29e61f[_0x45dcf8(0x16e)]===_0x45dcf8(0x1f5)&&_0x32355d[_0x45dcf8(0x1fd)]&&(_0x32355d[_0x45dcf8(0x1fd)]=_0x32355d[_0x45dcf8(0x1fd)]+_0x388d47[_0x45dcf8(0x183)]),Object['entries'](_0x32355d)[_0x45dcf8(0x181)](function(_0x52c493){const _0x3149ae=_0x45dcf8;var _0x4fa5d1=_0x52c493[0x0],_0x5bf753=_0x52c493[0x1];typeof _0x5bf753==_0x3149ae(0xb9)&&(_0x32355d[_0x4fa5d1]=_0x5bf753[_0x3149ae(0x11b)](/url\(#(.*)\)/,_0x3149ae(0x238)[_0x3149ae(0x317)](_0x388d47[_0x3149ae(0x183)],')')));})),_0x32355d;}function _0xfa3da6(_0x4dabc1,_0x53e975){const _0x39cd65=_0x3142a3;var _0x55790c,_0x202e92=_0x53e975[_0x39cd65(0x311)];return!_0x202e92||_0x202e92['length']===0x0?_0x4dabc1:_0x4dabc1[_0x39cd65(0x16e)]===_0x39cd65(0x271)&&(!((_0x55790c=_0x4dabc1[_0x39cd65(0x19b)])===null||_0x55790c===void 0x0)&&_0x55790c[_0x39cd65(0x29a)])?_0x58a186(_0x58a186({},_0x4dabc1),{'children':_0x4dabc1[_0x39cd65(0x19b)][_0x39cd65(0x340)](function(_0x45bad4){const _0x31ddf8=_0x39cd65;return typeof _0x45bad4[_0x31ddf8(0x231)]['id']==_0x31ddf8(0xb9)&&_0x202e92&&_0x202e92[_0x31ddf8(0x14a)](_0x45bad4[_0x31ddf8(0x231)]['id'])?_0x58a186(_0x58a186({},_0x45bad4),{'attrs':_0x58a186(_0x58a186({},_0x45bad4['attrs']),{'id':_0x45bad4[_0x31ddf8(0x231)]['id']+_0x53e975['idSuffix']})}):_0x45bad4;})}):_0x4dabc1;}function _0x311ba4(){const _0x41f028=_0x3142a3;return Math['random']()[_0x41f028(0x325)](0x24)['substring'](0x2,0x8);}_0x279803[_0x3142a3(0x26a)]=_0x3142a3(0x15c);var _0x387924={'tag':_0x3142a3(0x10a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3142a3(0x34b),'viewBox':_0x3142a3(0x309),'width':_0x3142a3(0x296),'height':_0x3142a3(0x296)},'children':[{'tag':'g','attrs':{'clipPath':_0x3142a3(0x2c9)},'children':[{'tag':'path','attrs':{'stroke':_0x3142a3(0x2ad),'d':_0x3142a3(0x196),'strokeLinecap':_0x3142a3(0x1fa),'strokeLinejoin':_0x3142a3(0x1fa),'strokeWidth':1.2}}]},{'tag':_0x3142a3(0x271),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3142a3(0x1da)},'children':[{'tag':_0x3142a3(0x136),'attrs':{'fill':_0x3142a3(0x176),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3142a3(0x1da)]},_0x1c0368=_0x403960['forwardRef'](function(_0x74fe24,_0x517031){const _0x52c3a2=_0x3142a3;return _0x403960['createElement'](_0x279803,Object[_0x52c3a2(0xf7)]({},_0x74fe24,{'id':_0x52c3a2(0x220),'ref':_0x517031,'icon':_0x387924}));});_0x1c0368['displayName']=_0x3142a3(0xf9);var _0x497b8b={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3142a3(0x34b),'viewBox':_0x3142a3(0xf0),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3142a3(0x136),'attrs':{'stroke':_0x3142a3(0x2ad),'d':_0x3142a3(0xfa),'strokeLinecap':_0x3142a3(0x1fa),'strokeLinejoin':_0x3142a3(0x1fa),'strokeWidth':1.2}}]},{'tag':_0x3142a3(0x271),'attrs':{},'children':[{'tag':_0x3142a3(0x16a),'attrs':{'id':_0x3142a3(0x318)},'children':[{'tag':_0x3142a3(0x136),'attrs':{'fill':_0x3142a3(0x176),'d':_0x3142a3(0x25a),'transform':_0x3142a3(0x331)}}]}]}],'defIds':[_0x3142a3(0x318)]},_0x1b0b80=_0x403960[_0x3142a3(0x256)](function(_0x13a7ba,_0x4cbeb9){const _0x2e30ad=_0x3142a3;return _0x403960[_0x2e30ad(0x28a)](_0x279803,Object[_0x2e30ad(0xf7)]({},_0x13a7ba,{'id':_0x2e30ad(0x31d),'ref':_0x4cbeb9,'icon':_0x497b8b}));});_0x1b0b80[_0x3142a3(0x26a)]=_0x3142a3(0x20c);function _0x1ff01d(_0x1441ea){const _0x363df9=_0x3142a3;switch(_0x1441ea){case _0x563ec8[_0x363df9(0xfe)][_0x363df9(0x1d5)]:return _0x363df9(0x165);case _0x563ec8[_0x363df9(0xfe)]['CONFLICT']:return _0x363df9(0x241);case _0x563ec8['CollaborationStatus'][_0x363df9(0x2ea)]:return _0x363df9(0x2c7);case _0x563ec8[_0x363df9(0xfe)]['NOT_COLLAB']:return _0x363df9(0x206);case _0x563ec8[_0x363df9(0xfe)]['AWAITING']:case _0x563ec8[_0x363df9(0xfe)][_0x363df9(0x1c8)]:return _0x363df9(0x1af);case _0x563ec8[_0x363df9(0xfe)]['SYNCED']:case _0x563ec8[_0x363df9(0xfe)][_0x363df9(0x2f7)]:return _0x363df9(0x2da);}}function _0x598439(_0x3e9774){const _0x31721d=_0x3142a3,{status$:_0x433450}=_0x3e9774,_0x5950fb=_0x1d6ce3[_0x31721d(0x1ee)](_0x433450,_0x563ec8['CollaborationStatus'][_0x31721d(0x225)]),_0x36ddff=_0x1d6ce3[_0x31721d(0x153)](_0x2869e3[_0x31721d(0x101)]),_0x25a067=_0x1d6ce3[_0x31721d(0x153)](_0x563ec8[_0x31721d(0x32a)]),_0x3bd397=_0x5950fb!==_0x563ec8[_0x31721d(0xfe)][_0x31721d(0x1d5)],_0x231af8=_0x36ddff['t'](_0x1ff01d(_0x5950fb)),_0x3a33b1=_0x3bd397?_0x57639a[_0x31721d(0x1b6)](_0x1b0b80,{}):_0x57639a[_0x31721d(0x1b6)](_0x1c0368,{}),_0x32863b=_0x403960[_0x31721d(0x2b1)](()=>{_0x3bd397||_0x25a067['reconnect']();},[_0x3bd397,_0x25a067]);function _0x12415e(){const _0x266b19=_0x31721d;return _0x57639a[_0x266b19(0x252)](_0x266b19(0x323),{'className':'univer-flex\x20univer-items-center','onClick':_0x32863b,'children':[_0x57639a[_0x266b19(0x1b6)](_0x266b19(0x323),{'className':_0x4919f6[_0x266b19(0x28f)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3bd397,'univer-text-red-500':!_0x3bd397}),'children':_0x3a33b1}),_0x57639a['jsx']('div',{'className':_0x266b19(0x1b9),'children':_0x231af8})]});}return _0x3bd397?_0x12415e():_0x57639a[_0x31721d(0x1b6)](_0x4919f6['Tooltip'],{'title':_0x36ddff['t'](_0x31721d(0x25e)),'children':_0x12415e()});}var _0x502b82=Object['getOwnPropertyDescriptor'],_0x4a7bbe=(_0x498fd9,_0xc38d67,_0x3f08a3,_0x5b4a63)=>{const _0x772a6d=_0x3142a3;for(var _0x337c8f=_0x5b4a63>0x1?void 0x0:_0x5b4a63?_0x502b82(_0xc38d67,_0x3f08a3):_0xc38d67,_0x247576=_0x498fd9[_0x772a6d(0x29a)]-0x1,_0x2164d0;_0x247576>=0x0;_0x247576--)(_0x2164d0=_0x498fd9[_0x247576])&&(_0x337c8f=_0x2164d0(_0x337c8f)||_0x337c8f);return _0x337c8f;},_0x6cd811=(_0x24baeb,_0x480fb2)=>(_0x9791bf,_0x1b1884)=>_0x480fb2(_0x9791bf,_0x1b1884,_0x24baeb);_0x2a1a14[_0x3142a3(0x348)]=class extends _0x2869e3[_0x3142a3(0x21c)]{constructor(_0x571900,_0x38acba,_0x53ec8b,_0x38419d){const _0x59a0ad=_0x3142a3;super(),_0x5d9583(this,_0x59a0ad(0x24c),new _0x45f1ec['BehaviorSubject'](_0x563ec8[_0x59a0ad(0xfe)][_0x59a0ad(0x225)])),(this[_0x59a0ad(0x32d)]=_0x571900,this[_0x59a0ad(0x2bd)]=_0x38acba,this[_0x59a0ad(0x353)]=_0x53ec8b,this[_0x59a0ad(0x250)]=_0x38419d,this[_0x59a0ad(0x100)](),this['_initStatusListener']());}[_0x3142a3(0x135)](){const _0x45bcca=_0x3142a3;this[_0x45bcca(0x20e)](this[_0x45bcca(0x32d)]['focused$'][_0x45bcca(0x32b)](_0x45f1ec[_0x45bcca(0x280)](()=>{const _0x1f82f8=_0x45bcca,_0x4b93be=this[_0x1f82f8(0x32d)][_0x1f82f8(0x138)]();return _0x4b93be?this[_0x1f82f8(0x353)][_0x1f82f8(0x26b)](_0x4b93be['getUnitId']()):_0x45f1ec['of'](null);}),_0x45f1ec[_0x45bcca(0x280)](_0x58ac35=>_0x58ac35?_0x58ac35[_0x45bcca(0x23d)]:_0x45f1ec['of'](_0x563ec8[_0x45bcca(0xfe)][_0x45bcca(0x225)])))[_0x45bcca(0x16d)](_0x47f730=>{const _0x3cc694=_0x45bcca;this[_0x3cc694(0x24c)][_0x3cc694(0x19c)](_0x47f730);}));}['_initStatusComponent'](){const _0x2c1711=_0x3142a3;this[_0x2c1711(0x20e)](this['_uiPartsService'][_0x2c1711(0x2cf)](_0x1d6ce3[_0x2c1711(0x1cb)][_0x2c1711(0x24e)],()=>_0x1d6ce3[_0x2c1711(0x243)](_0x92a2d6({'status$':this[_0x2c1711(0x24c)][_0x2c1711(0x1e4)]()}),this[_0x2c1711(0x2bd)])));}},_0x2a1a14[_0x3142a3(0x348)]=_0x4a7bbe([_0x6cd811(0x0,_0x2869e3[_0x3142a3(0xb6)]),_0x6cd811(0x1,_0x2869e3['Inject'](_0x2869e3[_0x3142a3(0x209)])),_0x6cd811(0x2,_0x2869e3[_0x3142a3(0x113)](_0x563ec8[_0x3142a3(0x1a0)])),_0x6cd811(0x3,_0x1d6ce3['IUIPartsService'])],_0x2a1a14[_0x3142a3(0x348)]);function _0x92a2d6(_0x24f0a8){const {status$:_0x2f2679}=_0x24f0a8;return function(){const _0x128422=_0x412f;return _0x57639a[_0x128422(0x1b6)](_0x598439,{'status$':_0x2f2679});};}var _0x4d6ba4=Object[_0x3142a3(0x216)],_0x2bc30e=(_0x1a7fc8,_0x1f2dcf,_0x4d0356,_0x4a80bc)=>{const _0x1b6143=_0x3142a3;for(var _0x4bd813=_0x4a80bc>0x1?void 0x0:_0x4a80bc?_0x4d6ba4(_0x1f2dcf,_0x4d0356):_0x1f2dcf,_0x4cd83f=_0x1a7fc8[_0x1b6143(0x29a)]-0x1,_0x1ffe59;_0x4cd83f>=0x0;_0x4cd83f--)(_0x1ffe59=_0x1a7fc8[_0x4cd83f])&&(_0x4bd813=_0x1ffe59(_0x4bd813)||_0x4bd813);return _0x4bd813;},_0x406898=(_0x2309d2,_0x350c53)=>(_0x518d27,_0x47a182)=>_0x350c53(_0x518d27,_0x47a182,_0x2309d2);let _0x234b1b=class extends _0x2869e3[_0x3142a3(0x21c)]{constructor(_0x3e1d05,_0x3d56c1,_0x9d473e,_0x43a8ee,_0x1aa43d,_0x3a8020){const _0x268fb4=_0x3142a3;super(),this[_0x268fb4(0x30e)]=_0x3e1d05,this[_0x268fb4(0x146)]=_0x3d56c1,this[_0x268fb4(0x33f)]=_0x9d473e,this['_messageService']=_0x43a8ee,this[_0x268fb4(0x290)]=_0x1aa43d,this[_0x268fb4(0x184)]=_0x3a8020,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x3142a3(0x2fe)](){const _0x31fe09=_0x3142a3;this[_0x31fe09(0x20e)](this[_0x31fe09(0x30e)][_0x31fe09(0x21b)](()=>{const _0x9f82f1=_0x31fe09;if(this[_0x9f82f1(0x146)][_0x9f82f1(0x2cb)][_0x9f82f1(0x2b3)])return this[_0x9f82f1(0x184)]['t'](_0x9f82f1(0x357));}));}[_0x3142a3(0xed)](){const _0x11d4a0=_0x3142a3;this[_0x11d4a0(0x20e)](this[_0x11d4a0(0x33f)][_0x11d4a0(0xff)]['subscribe'](_0x18bcb5=>{const _0x44074c=_0x11d4a0;_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)][_0x44074c(0x347)]&&this[_0x44074c(0xf2)][_0x44074c(0x167)]({'type':_0x4919f6['MessageType'][_0x44074c(0x1d1)],'content':this[_0x44074c(0x184)]['t'](_0x44074c(0x2b6))}),_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)][_0x44074c(0x1b2)]&&this[_0x44074c(0xf2)]['show']({'type':_0x4919f6['MessageType'][_0x44074c(0x1d1)],'content':this[_0x44074c(0x184)]['t'](_0x44074c(0x20f))}),_0x18bcb5['id']===_0x563ec8['CollaborationUIEventId'][_0x44074c(0x179)]&&this[_0x44074c(0x290)][_0x44074c(0x167)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x44074c(0x184)]['t'](_0x44074c(0x175)),'type':_0x44074c(0x1be),'duration':0x0}),_0x18bcb5['id']===_0x563ec8['CollaborationUIEventId'][_0x44074c(0x237)]&&this[_0x44074c(0xf2)][_0x44074c(0x167)]({'type':_0x4919f6['MessageType'][_0x44074c(0x355)],'content':this['_localeService']['t'](_0x44074c(0x20f))+'('+_0x18bcb5['data']+')'}),_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)]['JOIN_ROOM_FAILED']&&this[_0x44074c(0xf2)][_0x44074c(0x167)]({'type':_0x4919f6[_0x44074c(0x27b)][_0x44074c(0x1d1)],'content':this[_0x44074c(0x184)]['t'](_0x18bcb5['data']||'')}),_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)][_0x44074c(0x1ad)]&&this['_messageService'][_0x44074c(0x167)]({'type':_0x4919f6[_0x44074c(0x27b)][_0x44074c(0x1d1)],'content':this['_localeService']['t'](_0x44074c(0x1eb))}),_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)][_0x44074c(0x2c2)]&&this[_0x44074c(0xf2)][_0x44074c(0x167)]({'type':_0x4919f6[_0x44074c(0x27b)][_0x44074c(0x355)],'content':this[_0x44074c(0x184)]['t']('session.connection-failed')}),_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)][_0x44074c(0x30d)]&&this[_0x44074c(0xf2)][_0x44074c(0x167)]({'type':_0x4919f6[_0x44074c(0x27b)]['Error'],'content':this[_0x44074c(0x184)]['t']('session.collaboration-timeout')});}));}};_0x234b1b=_0x2bc30e([_0x406898(0x0,_0x1d6ce3[_0x3142a3(0x205)]),_0x406898(0x1,_0x563ec8[_0x3142a3(0x2a1)]),_0x406898(0x2,_0x2869e3['Inject'](_0x563ec8[_0x3142a3(0x1d3)])),_0x406898(0x3,_0x1d6ce3[_0x3142a3(0xeb)]),_0x406898(0x4,_0x1d6ce3[_0x3142a3(0xc1)]),_0x406898(0x5,_0x2869e3['Inject'](_0x2869e3['LocaleService']))],_0x234b1b);const _0x7fd582=_0x3142a3(0x147),_0x31863c={},_0xc4d707=_0x2869e3[_0x3142a3(0x1c1)](_0x3142a3(0x1c9));var _0x5c91c7=Object[_0x3142a3(0x216)],_0x5f1cd3=(_0x489642,_0x3637f3,_0x2a992b,_0x3c4571)=>{const _0x4505=_0x3142a3;for(var _0x5d99cb=_0x3c4571>0x1?void 0x0:_0x3c4571?_0x5c91c7(_0x3637f3,_0x2a992b):_0x3637f3,_0x2ab082=_0x489642[_0x4505(0x29a)]-0x1,_0x13014e;_0x2ab082>=0x0;_0x2ab082--)(_0x13014e=_0x489642[_0x2ab082])&&(_0x5d99cb=_0x13014e(_0x5d99cb)||_0x5d99cb);return _0x5d99cb;},_0x348ea1=(_0x27c4af,_0x155dee)=>(_0x10baa2,_0x4443c2)=>_0x155dee(_0x10baa2,_0x4443c2,_0x27c4af);_0x2a1a14[_0x3142a3(0x31e)]=class extends _0x2869e3['RxDisposable']{constructor(_0xebab0,_0x51093e,_0x56cb18,_0x2242c0,_0x561703){const _0x251a5a=_0x3142a3;super(),this['_urlService']=_0xebab0,this[_0x251a5a(0xd4)]=_0x51093e,this[_0x251a5a(0xdd)]=_0x56cb18,this[_0x251a5a(0xe6)]=_0x2242c0,_0x561703?_0x561703==null||_0x561703[_0x251a5a(0x18c)]()[_0x251a5a(0x251)](()=>this[_0x251a5a(0x30c)]()):(this[_0x251a5a(0xd4)][_0x251a5a(0xba)](_0x251a5a(0xda),_0x251a5a(0x12e)),this[_0x251a5a(0x30c)]());}async[_0x3142a3(0x30c)](){const _0x272f60=_0x3142a3,_0x1a74dd=this[_0x272f60(0x18e)][_0x272f60(0x22c)](_0x272f60(0x31a)),_0x5ce84f=this[_0x272f60(0x18e)][_0x272f60(0x22c)](_0x272f60(0x16b)),_0x1abfcd=this['_urlService']['getParam'](_0x272f60(0x2dc));if(!_0x1a74dd||!_0x5ce84f){this[_0x272f60(0xd4)][_0x272f60(0xba)](_0x272f60(0xda),_0x272f60(0x1c0));return;}const _0x37e3e4=await this[_0x272f60(0xe6)][_0x272f60(0x2ff)](_0x1a74dd,Number(_0x5ce84f),_0x1abfcd);_0x37e3e4&&_0x37e3e4 instanceof _0x2869e3[_0x272f60(0x1a2)]&&this['_setupSubUnitSync'](_0x37e3e4);}async[_0x3142a3(0x1b1)](_0x607d86){const _0x242eba=_0x3142a3;await this[_0x242eba(0x249)](_0x607d86),_0x607d86['activeSheet$'][_0x242eba(0x32b)](_0x45f1ec[_0x242eba(0x13d)](this[_0x242eba(0x1c4)]))[_0x242eba(0x16d)](_0x4dc2fd=>{const _0x3aaf11=_0x242eba;_0x4dc2fd&&this[_0x3aaf11(0x2f8)](_0x4dc2fd);}),this[_0x242eba(0x18e)][_0x242eba(0x27c)]['pipe'](_0x45f1ec[_0x242eba(0x13d)](this[_0x242eba(0x1c4)]))[_0x242eba(0x16d)](()=>this[_0x242eba(0x249)](_0x607d86));}[_0x3142a3(0x2f8)](_0x4fda44,_0x1de59e=!0x1){const _0x1c23d1=_0x3142a3,_0x6abbb1=this[_0x1c23d1(0x18e)][_0x1c23d1(0x22c)](_0x1c23d1(0x2dc));_0x4fda44[_0x1c23d1(0x13e)]()!==_0x6abbb1&&this[_0x1c23d1(0x18e)][_0x1c23d1(0x10b)](_0x1c23d1(0x2dc),_0x4fda44[_0x1c23d1(0x13e)](),_0x1de59e);}async['_updateSubUnitFromURLParams'](_0xf98800){const _0x266670=_0x3142a3;var _0xf4d782;const _0x42b6df=this['_urlService']['getParam'](_0x266670(0x2dc));if(!_0x42b6df||!_0xf98800[_0x266670(0x13b)](_0x42b6df)){const _0x3b6816=_0xf98800['getUnhiddenWorksheets']()[0x0],_0x42f921=_0xf98800[_0x266670(0x13b)](_0x3b6816);if(!_0x42f921)return;this[_0x266670(0x2f8)](_0x42f921,!0x0),await this[_0x266670(0xdd)][_0x266670(0x31f)](_0x27c981[_0x266670(0xe5)]['id'],{'unitId':_0xf98800[_0x266670(0xde)](),'subUnitId':_0x3b6816});return;}((_0xf4d782=_0xf98800[_0x266670(0x1c2)]())==null?void 0x0:_0xf4d782['getSheetId']())!==_0x42b6df&&await this['_commandService'][_0x266670(0x31f)](_0x27c981[_0x266670(0xe5)]['id'],{'unitId':_0xf98800['getUnitId'](),'subUnitId':_0x42b6df});}},_0x2a1a14[_0x3142a3(0x31e)]=_0x5f1cd3([_0x348ea1(0x0,_0xc4d707),_0x348ea1(0x1,_0x2869e3[_0x3142a3(0x16f)]),_0x348ea1(0x2,_0x2869e3[_0x3142a3(0x123)]),_0x348ea1(0x3,_0x2869e3[_0x3142a3(0x113)](_0x563ec8[_0x3142a3(0xbc)])),_0x348ea1(0x4,_0x2869e3[_0x3142a3(0x1d4)](_0x5c7b44['IRemoteInstanceService']))],_0x2a1a14[_0x3142a3(0x31e)]);var _0x4ef037=Object[_0x3142a3(0x216)],_0x21aaed=(_0x1648cb,_0x4ad708,_0x4e4354,_0x4031e0)=>{const _0x32253d=_0x3142a3;for(var _0x27716d=_0x4031e0>0x1?void 0x0:_0x4031e0?_0x4ef037(_0x4ad708,_0x4e4354):_0x4ad708,_0x581be2=_0x1648cb[_0x32253d(0x29a)]-0x1,_0x595084;_0x581be2>=0x0;_0x581be2--)(_0x595084=_0x1648cb[_0x581be2])&&(_0x27716d=_0x595084(_0x27716d)||_0x27716d);return _0x27716d;},_0x5a22ea=(_0x5adcae,_0x46cb98)=>(_0x281e17,_0x62a0f5)=>_0x46cb98(_0x281e17,_0x62a0f5,_0x5adcae);let _0x48d1ca=class{constructor(_0x7621c4,_0x27163b,_0x32b725){const _0x5cd3d=_0x3142a3;this[_0x5cd3d(0x2bd)]=_0x7621c4,this[_0x5cd3d(0x156)]=_0x27163b,this['_renderManagerService']=_0x32b725;}['transformIMECache'](_0x4327c1){const _0x300322=_0x3142a3;this['_transformUndoRedoStack'](_0x4327c1),this[_0x300322(0x358)](_0x4327c1);}[_0x3142a3(0x31b)](_0x462a42){const _0x3e5c77=_0x3142a3,{unitID:_0x5822e8}=_0x462a42,_0x3be838=this[_0x3e5c77(0xf8)][_0x3e5c77(0x1ec)](_0x5822e8)[_0x3e5c77(0x28b)](_0x3ecda4[_0x3e5c77(0x14c)]),{redoCache:_0x3a325f}=_0x3be838[_0x3e5c77(0x1b3)]();if(_0x3a325f['length']===0x0)return _0x462a42;let _0x29a58e=_0x2869e3['Tools'][_0x3e5c77(0x141)](_0x462a42['mutations'][0x0]);for(let _0x3cf3fe=0x0;_0x3cf3fe<_0x3a325f['length'];_0x3cf3fe++){const _0x529e6a={'id':_0x3e5c77(0x1dc),'params':{..._0x3a325f[_0x3cf3fe]}},_0x473838=this['_transformService'][_0x3e5c77(0x1df)](_0x29a58e,_0x529e6a,!0x1);if(_0x14a853[_0x3e5c77(0x327)](_0x473838))throw _0x473838[_0x3e5c77(0x1be)];_0x29a58e=_0x473838[_0x3e5c77(0xb2)];}return{..._0x2869e3[_0x3e5c77(0x2f3)][_0x3e5c77(0x141)](_0x462a42),'mutations':[_0x29a58e]};}[_0x3142a3(0xf5)](_0x594170){const _0x337b38=_0x3142a3,{unitID:_0x597d00}=_0x594170,_0x15f1f0=this['_renderManagerService']['getRenderById'](_0x597d00)[_0x337b38(0x28b)](_0x3ecda4[_0x337b38(0x14c)]),{undoCache:_0x141381,redoCache:_0x521774}=_0x15f1f0[_0x337b38(0x1b3)]();if(_0x141381[_0x337b38(0x29a)]===0x0||_0x521774[_0x337b38(0x29a)]===0x0)return;const _0x7dc24a=[],_0x370bca=[];let _0x352fee=_0x2869e3[_0x337b38(0x2f3)]['deepClone'](_0x594170[_0x337b38(0x130)][0x0]),_0x397c29=_0x2869e3[_0x337b38(0x2f3)][_0x337b38(0x141)](_0x594170[_0x337b38(0x130)][0x0]);for(let _0x58ac29=_0x141381[_0x337b38(0x29a)]-0x1;_0x58ac29>=0x0;_0x58ac29--){const _0x1343c5={'id':_0x337b38(0x1dc),'params':{..._0x141381[_0x58ac29]}},_0x48b3ab={'id':_0x337b38(0x1dc),'params':{..._0x521774[_0x58ac29]}},_0x26d101=this[_0x337b38(0x156)][_0x337b38(0x1df)](_0x352fee,_0x1343c5,!0x1),_0x4a1217=this['_transformService'][_0x337b38(0x1df)](_0x397c29,_0x48b3ab,!0x1);if(_0x14a853['isTransformMutationFailure'](_0x26d101))throw _0x26d101['error'];if(_0x14a853['isTransformMutationFailure'](_0x4a1217))throw _0x4a1217[_0x337b38(0x1be)];_0x7dc24a[_0x337b38(0x25d)](_0x26d101['m2Prime'][_0x337b38(0x169)]),_0x370bca[_0x337b38(0x25d)](_0x4a1217['m2Prime'][_0x337b38(0x169)]),_0x352fee=_0x26d101[_0x337b38(0xb2)],_0x397c29=_0x4a1217[_0x337b38(0xb2)];}_0x15f1f0[_0x337b38(0xf4)]({'undoCache':_0x7dc24a,'redoCache':_0x370bca});}[_0x3142a3(0x358)](_0x149ace){const _0x1bd7a0=_0x3142a3,{unitID:_0x154821}=_0x149ace,_0x5a1d6b=this[_0x1bd7a0(0xf8)][_0x1bd7a0(0x1ec)](_0x154821)[_0x1bd7a0(0x28b)](_0x3ecda4[_0x1bd7a0(0x14c)]),_0x2c1965=_0x5a1d6b[_0x1bd7a0(0xf3)]();if(_0x2c1965==null)return;const _0x145e3e=[{'id':_0x1bd7a0(0x1dc),'params':{'unitId':_0x149ace['unitID'],'actions':null,'textRanges':[_0x2c1965]}}],_0x464a05=this[_0x1bd7a0(0x156)][_0x1bd7a0(0x336)](_0x149ace,_0x145e3e);if(!_0x14a853[_0x1bd7a0(0x2ab)](_0x464a05))throw _0x464a05[_0x1bd7a0(0x1be)];const _0x562f29=_0x464a05[_0x1bd7a0(0x1bb)][0x0][_0x1bd7a0(0x169)][_0x1bd7a0(0xbb)];Array[_0x1bd7a0(0x2b7)](_0x562f29)&&_0x562f29[_0x1bd7a0(0x29a)]&&_0x5a1d6b[_0x1bd7a0(0x119)](_0x562f29[0x0]);}};_0x48d1ca=_0x21aaed([_0x5a22ea(0x0,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x209)])),_0x5a22ea(0x1,_0x14a853[_0x3142a3(0x10d)]),_0x5a22ea(0x2,_0x5e0e97['IRenderManagerService'])],_0x48d1ca);var _0x8f3f68=Object['getOwnPropertyDescriptor'],_0xafc83b=(_0x20f70d,_0x29b076,_0x1a35be,_0x2612f4)=>{const _0x5596fc=_0x3142a3;for(var _0x22cb56=_0x2612f4>0x1?void 0x0:_0x2612f4?_0x8f3f68(_0x29b076,_0x1a35be):_0x29b076,_0x409526=_0x20f70d[_0x5596fc(0x29a)]-0x1,_0x34c1b5;_0x409526>=0x0;_0x409526--)(_0x34c1b5=_0x20f70d[_0x409526])&&(_0x22cb56=_0x34c1b5(_0x22cb56)||_0x22cb56);return _0x22cb56;},_0x125263=(_0x51929f,_0x4720d6)=>(_0xde9f6e,_0x5e1e7f)=>_0x4720d6(_0xde9f6e,_0x5e1e7f,_0x51929f);let _0x3e2c55=class{constructor(_0x144aca,_0x3fad88,_0x1f0225){const _0x56ba74=_0x3142a3;this['_injector']=_0x144aca,this[_0x56ba74(0x156)]=_0x3fad88,this[_0x56ba74(0x2b0)]=_0x1f0225;}[_0x3142a3(0x278)](_0x4782e1){this['_transformHistoryAndStateStack'](_0x4782e1);}[_0x3142a3(0x31b)](_0xae8916){const _0x456416=_0x3142a3,{unitID:_0x41521e}=_0xae8916,{collaboration:_0xdca8ea}=this[_0x456416(0x2b0)][_0x456416(0x219)](_0x41521e);if(_0xdca8ea[_0x456416(0x29a)]===0x0)return _0xae8916;let _0x195895=_0x2869e3[_0x456416(0x2f3)][_0x456416(0x141)](_0xae8916[_0x456416(0x130)][0x0]);for(let _0x5b6009=0x0;_0x5b6009<_0xdca8ea['length'];_0x5b6009++){const _0x1b367b={'id':_0x456416(0x1dc),'params':{'unitId':_0xdca8ea[_0x5b6009]['unitId'],..._0xdca8ea[_0x5b6009][_0x456416(0x1a7)]}},_0x534eaa=this[_0x456416(0x156)][_0x456416(0x1df)](_0x195895,_0x1b367b,!0x1);if(_0x14a853['isTransformMutationFailure'](_0x534eaa))throw _0x534eaa[_0x456416(0x1be)];_0x195895=_0x534eaa['m1Prime'];}return{..._0x2869e3[_0x456416(0x2f3)]['deepClone'](_0xae8916),'mutations':[_0x195895]};}['_transformHistoryAndStateStack'](_0x20c80c){const _0x43ed1b=_0x3142a3,{unitID:_0x5dd7a8}=_0x20c80c,{history:_0x539522,collaboration:_0x114238}=this[_0x43ed1b(0x2b0)]['getStateCache'](_0x5dd7a8);if(_0x539522['length']===0x0&&_0x114238[_0x43ed1b(0x29a)]===0x0)return;const _0x1a5174=[],_0x2a432b=[];let _0x48b14e=_0x2869e3[_0x43ed1b(0x2f3)][_0x43ed1b(0x141)](_0x20c80c[_0x43ed1b(0x130)][0x0]),_0x51844a=_0x2869e3[_0x43ed1b(0x2f3)][_0x43ed1b(0x141)](_0x20c80c['mutations'][0x0]);for(let _0x307014=_0x539522['length']-0x1;_0x307014>=0x0;_0x307014--){const _0x285426={'id':_0x43ed1b(0x1dc),'params':{'unitId':_0x539522[_0x307014][_0x43ed1b(0x25f)],..._0x539522[_0x307014][_0x43ed1b(0x13a)]}},_0x5adc40={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x539522[_0x307014]['unitId'],..._0x539522[_0x307014][_0x43ed1b(0x1a7)]}},_0x3fdea1=this[_0x43ed1b(0x156)]['transformMutation'](_0x48b14e,_0x285426,!0x1),_0x243f4c=this[_0x43ed1b(0x156)]['transformMutation'](_0x51844a,_0x5adc40,!0x1);if(_0x14a853[_0x43ed1b(0x327)](_0x3fdea1))throw _0x3fdea1['error'];if(_0x14a853[_0x43ed1b(0x327)](_0x243f4c))throw _0x243f4c[_0x43ed1b(0x1be)];_0x1a5174[_0x43ed1b(0x25d)]({..._0x539522[_0x307014],'undoState':_0x3fdea1[_0x43ed1b(0x1bb)]['params'],'redoState':_0x243f4c[_0x43ed1b(0x1bb)][_0x43ed1b(0x169)]}),_0x48b14e=_0x3fdea1[_0x43ed1b(0xb2)],_0x51844a=_0x243f4c[_0x43ed1b(0xb2)];}_0x48b14e=_0x2869e3[_0x43ed1b(0x2f3)]['deepClone'](_0x20c80c[_0x43ed1b(0x130)][0x0]),_0x51844a=_0x2869e3['Tools'][_0x43ed1b(0x141)](_0x20c80c[_0x43ed1b(0x130)][0x0]);for(let _0xf0e8a9=_0x114238['length']-0x1;_0xf0e8a9>=0x0;_0xf0e8a9--){const _0x49905a={'id':_0x43ed1b(0x1dc),'params':{'unitId':_0x114238[_0xf0e8a9][_0x43ed1b(0x25f)],..._0x114238[_0xf0e8a9][_0x43ed1b(0x13a)]}},_0x1b8496={'id':_0x43ed1b(0x1dc),'params':{'unitId':_0x114238[_0xf0e8a9]['unitId'],..._0x114238[_0xf0e8a9][_0x43ed1b(0x1a7)]}},_0x3238ca=this[_0x43ed1b(0x156)][_0x43ed1b(0x1df)](_0x48b14e,_0x49905a,!0x1),_0x5f3468=this[_0x43ed1b(0x156)][_0x43ed1b(0x1df)](_0x51844a,_0x1b8496,!0x1);if(_0x14a853[_0x43ed1b(0x327)](_0x3238ca))throw _0x3238ca['error'];if(_0x14a853['isTransformMutationFailure'](_0x5f3468))throw _0x5f3468[_0x43ed1b(0x1be)];_0x2a432b['unshift']({..._0x114238[_0xf0e8a9],'undoState':_0x3238ca['m2Prime'][_0x43ed1b(0x169)],'redoState':_0x5f3468[_0x43ed1b(0x1bb)][_0x43ed1b(0x169)]}),_0x48b14e=_0x3238ca[_0x43ed1b(0xb2)],_0x51844a=_0x5f3468[_0x43ed1b(0xb2)];}this['_docStateChangeManagerService'][_0x43ed1b(0x207)](_0x5dd7a8,{'history':_0x1a5174,'collaboration':_0x2a432b});}};_0x3e2c55=_0xafc83b([_0x125263(0x0,_0x2869e3[_0x3142a3(0x113)](_0x2869e3['Injector'])),_0x125263(0x1,_0x14a853[_0x3142a3(0x10d)]),_0x125263(0x2,_0x2869e3[_0x3142a3(0x113)](_0x3ecda4[_0x3142a3(0x26c)]))],_0x3e2c55);var _0x1131ba=Object[_0x3142a3(0x216)],_0x3defd8=(_0x20e695,_0x5513c5,_0x2574a9,_0x5b7f0c)=>{const _0x33adc9=_0x3142a3;for(var _0x1ab1e7=_0x5b7f0c>0x1?void 0x0:_0x5b7f0c?_0x1131ba(_0x5513c5,_0x2574a9):_0x5513c5,_0x270bb6=_0x20e695[_0x33adc9(0x29a)]-0x1,_0x1b69f8;_0x270bb6>=0x0;_0x270bb6--)(_0x1b69f8=_0x20e695[_0x270bb6])&&(_0x1ab1e7=_0x1b69f8(_0x1ab1e7)||_0x1ab1e7);return _0x1ab1e7;},_0xf1809b=(_0x16e99b,_0x55439f)=>(_0x15aede,_0x45368f)=>_0x55439f(_0x15aede,_0x45368f,_0x16e99b);let _0x1030ca=class{constructor(_0x2aba70,_0x502058){const _0x1f1144=_0x3142a3;this[_0x1f1144(0x2bd)]=_0x2aba70,this['_transformService']=_0x502058;}['transformSelections'](_0x45157c){const _0x108a32=_0x3142a3;var _0x377cde;const _0x4bc969=this[_0x108a32(0x2bd)][_0x108a32(0x2ae)](_0x4a64a9[_0x108a32(0x35a)]),_0x890307=(_0x377cde=_0x4bc969['getDocRanges']())!=null?_0x377cde:[];if(_0x890307[_0x108a32(0x29a)]===0x0)return;const _0x47240d=_0x45157c[_0x108a32(0x125)],_0xdd855a=[{'id':_0x108a32(0x1dc),'params':{'unitId':_0x47240d,'actions':null,'textRanges':_0x890307}}],_0xb385b9=this[_0x108a32(0x156)]['transformMutationsWithChangeset'](_0x45157c,_0xdd855a);if(!_0x14a853[_0x108a32(0x2ab)](_0xb385b9))throw _0xb385b9[_0x108a32(0x1be)];const _0x164a8c=_0xb385b9['m2Prime'][0x0][_0x108a32(0x169)][_0x108a32(0xbb)];Array[_0x108a32(0x2b7)](_0x164a8c)&&_0x164a8c[_0x108a32(0x29a)]&&_0x4bc969[_0x108a32(0x248)](_0x164a8c,{'unitId':_0x47240d,'subUnitId':_0x47240d},!0x1);}};_0x1030ca=_0x3defd8([_0xf1809b(0x0,_0x2869e3['Inject'](_0x2869e3[_0x3142a3(0x209)])),_0xf1809b(0x1,_0x14a853[_0x3142a3(0x10d)])],_0x1030ca);var _0x1e0b3f=Object['getOwnPropertyDescriptor'],_0x2d4fa8=(_0x3b52f5,_0x2b912c,_0x3e86d7,_0x43415e)=>{const _0x10f1d7=_0x3142a3;for(var _0x2527e8=_0x43415e>0x1?void 0x0:_0x43415e?_0x1e0b3f(_0x2b912c,_0x3e86d7):_0x2b912c,_0x4e442e=_0x3b52f5[_0x10f1d7(0x29a)]-0x1,_0x2b6a95;_0x4e442e>=0x0;_0x4e442e--)(_0x2b6a95=_0x3b52f5[_0x4e442e])&&(_0x2527e8=_0x2b6a95(_0x2527e8)||_0x2527e8);return _0x2527e8;},_0x46f3da=(_0x22b266,_0x3b79f0)=>(_0x37baa0,_0x143e78)=>_0x3b79f0(_0x37baa0,_0x143e78,_0x22b266);let _0x381ec8=class extends _0x2869e3[_0x3142a3(0x21c)]{constructor(_0x2491a5,_0x4dea54,_0x4f7512,_0x26d06c,_0x3d5225,_0x215c77,_0x249266,_0x2ed2f1){const _0x1c0916=_0x3142a3;super(),_0x5d9583(this,_0x1c0916(0x24c),new _0x45f1ec[(_0x1c0916(0x26e))](_0x563ec8['CollaborationStatus']['NOT_COLLAB'])),(this[_0x1c0916(0x2b0)]=_0x2491a5,this[_0x1c0916(0x353)]=_0x4dea54,this[_0x1c0916(0x1c6)]=_0x4f7512,this[_0x1c0916(0x286)]=_0x26d06c,this[_0x1c0916(0x29b)]=_0x3d5225,this[_0x1c0916(0x159)]=_0x215c77,this[_0x1c0916(0xf2)]=_0x249266,this[_0x1c0916(0x184)]=_0x2ed2f1,this[_0x1c0916(0x264)]());}[_0x3142a3(0x264)](){const _0x238572=_0x3142a3;this[_0x238572(0x20e)](this['_collaborationController'][_0x238572(0x212)][_0x238572(0x16d)](_0x4a634c=>{const _0x8409cd=_0x238572,_0x46a33a=this[_0x8409cd(0x2b0)][_0x8409cd(0x242)][_0x8409cd(0x16d)](_0x48bd0a=>{const _0x381616=_0x8409cd;if(_0x48bd0a==null)return;const {unitId:_0x4b1ba4,redoState:_0x51c13a,commandId:_0x14504f}=_0x48bd0a;if(_0x4b1ba4!==_0x4a634c['unitID'])return;const _0x2ff561={'id':_0x14504f,'type':_0x2869e3[_0x381616(0x1e5)]['MUTATION'],'params':{'unitId':_0x4b1ba4,'actions':_0x51c13a[_0x381616(0x200)],'textRanges':null}};_0x4a634c[_0x381616(0x17d)](_0x2ff561);});if(_0x4a634c[_0x8409cd(0x20e)](_0x46a33a),_0x4a634c instanceof _0x563ec8[_0x8409cd(0x314)]){const _0x557dcd={'onTransformIME':_0x68c3e5=>this[_0x8409cd(0x1c6)][_0x8409cd(0xe4)](_0x68c3e5),'onTransformState':_0x25b20c=>this[_0x8409cd(0x286)][_0x8409cd(0x278)](_0x25b20c),'onTransformSelections':_0x5a5ae8=>this[_0x8409cd(0x29b)][_0x8409cd(0x322)](_0x5a5ae8),'onSyncEditingCollabCursor':_0x4b8995=>this[_0x8409cd(0x159)][_0x8409cd(0x313)](_0x4b8995),'onTransformRemoteChangesetByIMECache':_0x4a6e2=>this[_0x8409cd(0x1c6)][_0x8409cd(0x31b)](_0x4a6e2),'onTransformRemoteChangesetByStateCache':_0x52f951=>this[_0x8409cd(0x286)][_0x8409cd(0x31b)](_0x52f951)};_0x4a634c[_0x8409cd(0x11d)](_0x557dcd);}}));}};_0x381ec8=_0x2d4fa8([_0x46f3da(0x0,_0x2869e3[_0x3142a3(0x113)](_0x3ecda4[_0x3142a3(0x26c)])),_0x46f3da(0x1,_0x2869e3[_0x3142a3(0x113)](_0x563ec8[_0x3142a3(0x1a0)])),_0x46f3da(0x2,_0x2869e3['Inject'](_0x48d1ca)),_0x46f3da(0x3,_0x2869e3[_0x3142a3(0x113)](_0x3e2c55)),_0x46f3da(0x4,_0x2869e3[_0x3142a3(0x113)](_0x1030ca)),_0x46f3da(0x5,_0x2869e3[_0x3142a3(0x113)](_0x444f98)),_0x46f3da(0x6,_0x1d6ce3[_0x3142a3(0xeb)]),_0x46f3da(0x7,_0x2869e3['Inject'](_0x2869e3[_0x3142a3(0x101)]))],_0x381ec8);var _0x49a127=Object['getOwnPropertyDescriptor'],_0x3552d5=(_0x22433a,_0x5186a6,_0x20ef59,_0x379826)=>{for(var _0x273767=_0x379826>0x1?void 0x0:_0x379826?_0x49a127(_0x5186a6,_0x20ef59):_0x5186a6,_0x49908c=_0x22433a['length']-0x1,_0x30b241;_0x49908c>=0x0;_0x49908c--)(_0x30b241=_0x22433a[_0x49908c])&&(_0x273767=_0x30b241(_0x273767)||_0x273767);return _0x273767;},_0x50cd90=(_0x49e19e,_0x25baa7)=>(_0x73b500,_0xafbff5)=>_0x25baa7(_0x73b500,_0xafbff5,_0x49e19e);let _0x3613d3=class extends _0x2869e3['Disposable']{constructor(_0x408cad,_0x1e86df,_0x3d39bf){const _0x127c13=_0x3142a3;super(),_0x5d9583(this,_0x127c13(0x160),new Map()),_0x5d9583(this,_0x127c13(0x1b5),new Map()),_0x5d9583(this,'_disabled',!0x1),(this[_0x127c13(0x297)]=_0x408cad,this[_0x127c13(0x22d)]=_0x1e86df,this[_0x127c13(0x142)]=_0x3d39bf);}[_0x3142a3(0x12a)](){const _0x4be857=_0x3142a3;this[_0x4be857(0x2a5)]=!0x0;}[_0x3142a3(0xf6)](){const _0x459e56=_0x3142a3;this[_0x459e56(0x2a5)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x3142a3(0x308)](){const _0x38f6df=_0x3142a3;this[_0x38f6df(0x1a3)]()[_0x38f6df(0x251)](()=>super['dispose']());}async[_0x3142a3(0x279)](_0x5361f6){const _0x4e2bff=_0x3142a3;return this[_0x4e2bff(0x2a5)]?null:this[_0x4e2bff(0x22d)][_0x4e2bff(0x302)](_0x563ec8[_0x4e2bff(0x2e0)](_0x5361f6));}async[_0x3142a3(0x2c1)](_0x2cc4a9,_0x485a2c){const _0x24be4f=_0x3142a3;return!!this[_0x24be4f(0x22d)][_0x24be4f(0xec)](_0x2cc4a9,_0x485a2c);}[_0x3142a3(0x204)](_0x459356,_0x28024c,_0x314018,_0x5d5526){const _0x2527b2=_0x3142a3,_0x4f35a6=this[_0x2527b2(0x142)]['getCurrentRevOfUnit'](_0x459356);this['_cachedData'][_0x2527b2(0x115)](_0x459356,{'unitID':_0x459356,'type':_0x28024c,'awaitingChangeset':_0x314018,'mutations':_0x5d5526,'rev':_0x4f35a6}),this['_saveTaskMap']['has'](_0x459356)||this[_0x2527b2(0x292)](_0x459356);}[_0x3142a3(0x292)](_0x17ccd2){const _0x277fc0=_0x3142a3,_0xc9a9e6=this['_getSaveTimeout']();_0xc9a9e6===0x0?this[_0x277fc0(0x192)](_0x17ccd2):this[_0x277fc0(0x1b5)][_0x277fc0(0x115)](_0x17ccd2,setTimeout(()=>this['_saveCache'](_0x17ccd2),_0xc9a9e6));}[_0x3142a3(0x33c)](){const _0x5d96c4=_0x3142a3;var _0x20dd4a;return(_0x20dd4a=this[_0x5d96c4(0x297)]['getConfig'](_0x563ec8[_0x5d96c4(0xf1)]))!=null?_0x20dd4a:_0x563ec8['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x1e6e8a){const _0x1abea4=_0x3142a3,_0x3c97b3=this[_0x1abea4(0x1b5)][_0x1abea4(0x2ae)](_0x1e6e8a);return _0x3c97b3!==void 0x0&&window[_0x1abea4(0x188)](_0x3c97b3),this['_localStorageService']['setItem'](_0x563ec8[_0x1abea4(0x2e0)](_0x1e6e8a),this[_0x1abea4(0x160)][_0x1abea4(0x2ae)](_0x1e6e8a))[_0x1abea4(0x251)](()=>this['_saveTaskMap'][_0x1abea4(0x171)](_0x1e6e8a));}async[_0x3142a3(0x1a3)](){const _0x44c4e8=_0x3142a3,_0x276447=[];this['_saveTaskMap'][_0x44c4e8(0x181)]((_0x673c41,_0x49dea6)=>{const _0x93d5ef=_0x44c4e8;window[_0x93d5ef(0x188)](_0x673c41),_0x276447['push'](this[_0x93d5ef(0x192)](_0x49dea6)[_0x93d5ef(0x251)](()=>{const _0x1a0df3=_0x93d5ef;this[_0x1a0df3(0x1b5)]['delete'](_0x49dea6);}));}),await Promise[_0x44c4e8(0x26d)](_0x276447);}};_0x3613d3=_0x3552d5([_0x50cd90(0x0,_0x2869e3[_0x3142a3(0x2a6)]),_0x50cd90(0x1,_0x2869e3[_0x3142a3(0x293)]),_0x50cd90(0x2,_0x2869e3[_0x3142a3(0x113)](_0x14a853[_0x3142a3(0x2af)]))],_0x3613d3);class _0x589733 extends _0x2869e3[_0x3142a3(0x143)]{constructor(){const _0xa4203=_0x3142a3;super(),_0x5d9583(this,_0xa4203(0x27c)),this['urlChange$']=_0x45f1ec[_0xa4203(0xd9)](window,'popstate')[_0xa4203(0x32b)](_0x45f1ec['takeUntil'](this['dispose$']),_0x45f1ec['shareReplay'](0x1),_0x45f1ec['mapTo'](void 0x0));}[_0x3142a3(0x10b)](_0x320377,_0x9d901,_0x528953=!0x1){const _0x2d807a=_0x3142a3,_0x4cc605=new URL(window[_0x2d807a(0x14e)][_0x2d807a(0x2e5)]);_0x4cc605['searchParams'][_0x2d807a(0x115)](_0x320377,_0x9d901),_0x528953?window[_0x2d807a(0x163)]['replaceState']('','',_0x4cc605[_0x2d807a(0x325)]()):window['history'][_0x2d807a(0x247)]('','',_0x4cc605['toString']());}[_0x3142a3(0x1a4)](_0x44ecb7,_0x35d96b=!0x1){const _0x47965e=_0x3142a3,_0x373825=new URL(window[_0x47965e(0x14e)]['href']);_0x373825['searchParams']['delete'](_0x44ecb7),_0x35d96b?window[_0x47965e(0x163)]['replaceState']('','',_0x373825[_0x47965e(0x325)]()):window[_0x47965e(0x163)]['pushState']('','',_0x373825['toString']());}[_0x3142a3(0x22c)](_0x50baf6){const _0x55a264=_0x3142a3;var _0x5ab848;return(_0x5ab848=new URL(window['location'][_0x55a264(0x2e5)])[_0x55a264(0x158)][_0x55a264(0x2ae)](_0x50baf6))!=null?_0x5ab848:void 0x0;}}var _0x330565=Object[_0x3142a3(0x2f0)],_0x40411e=Object[_0x3142a3(0x216)],_0x13140b=(_0x1cedd9,_0x4b3122,_0x12d448)=>_0x4b3122 in _0x1cedd9?_0x330565(_0x1cedd9,_0x4b3122,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12d448}):_0x1cedd9[_0x4b3122]=_0x12d448,_0xa23f50=(_0x3bd5ee,_0x30af9c,_0x2993be,_0x1fa38e)=>{for(var _0x5bd577=_0x1fa38e>0x1?void 0x0:_0x1fa38e?_0x40411e(_0x30af9c,_0x2993be):_0x30af9c,_0x35c17b=_0x3bd5ee['length']-0x1,_0x4001c5;_0x35c17b>=0x0;_0x35c17b--)(_0x4001c5=_0x3bd5ee[_0x35c17b])&&(_0x5bd577=_0x4001c5(_0x5bd577)||_0x5bd577);return _0x5bd577;},_0x24d095=(_0x545f2b,_0x50b76b)=>(_0xbe3dce,_0xc37f3e)=>_0x50b76b(_0xbe3dce,_0xc37f3e,_0x545f2b),_0x20640e=(_0xf35185,_0x1caeb9,_0x3422cb)=>_0x13140b(_0xf35185,_0x1caeb9+'',_0x3422cb);const _0x4ed143=_0x3142a3(0x2a4);_0x2a1a14[_0x3142a3(0x124)]=class extends _0x2869e3['Plugin']{constructor(_0x502709=_0x31863c,_0x290777,_0x2467fa,_0x3473d5){const _0x55d2ed=_0x3142a3;super(),this[_0x55d2ed(0x2c4)]=_0x502709,this['_renderManagerService']=_0x290777,this[_0x55d2ed(0x2bd)]=_0x2467fa,this[_0x55d2ed(0x297)]=_0x3473d5;const {..._0x2feab7}=_0x2869e3['merge']({},_0x31863c,this[_0x55d2ed(0x2c4)]);this['_configService']['setConfig'](_0x7fd582,_0x2feab7);}['onStarting'](){const _0xc3dab5=_0x3142a3;this['_registerDependencies'](),this[_0xc3dab5(0x254)]();}[_0x3142a3(0x1d0)](){const _0x12a497=_0x3142a3;this[_0x12a497(0x1f7)]();}[_0x3142a3(0x1a5)](){const _0xdfc25c=_0x3142a3;var _0x31142c;const _0xb9df56=[[_0xea9dee],[_0x1030ca],[_0x48d1ca],[_0x3e2c55],[_0x444f98],[_0xc4d707,{'useClass':_0x589733}],[_0x5a5573[_0xdfc25c(0xc8)],{'useClass':_0x5a5573[_0xdfc25c(0x2fb)]}],[_0x563ec8['ILocalCacheService'],{'useClass':_0x3613d3}],[_0x2a1a14[_0xdfc25c(0x348)]],[_0x381ec8],[_0x234b1b],[_0x2e6e49],[_0x16b943],[_0x2a1a14[_0xdfc25c(0x31e)]]];_0x2869e3[_0xdfc25c(0xd0)](this['_injector'],_0x2869e3[_0xdfc25c(0x294)](_0xb9df56,(_0x31142c=this[_0xdfc25c(0x2c4)])==null?void 0x0:_0x31142c[_0xdfc25c(0x34f)]));}['_registerRenderDependencies'](){const _0x7db59d=_0x3142a3;this[_0x7db59d(0x20e)](this[_0x7db59d(0xf8)][_0x7db59d(0x106)](_0x2869e3['UniverInstanceType'][_0x7db59d(0x32f)],[_0x1411b2])),this[_0x7db59d(0x20e)](this[_0x7db59d(0xf8)]['registerRenderModule'](_0x2869e3[_0x7db59d(0x289)][_0x7db59d(0x291)],[_0x31c411]));}['_initDependencies'](){const _0x4f1637=_0x3142a3;_0x2869e3['touchDependencies'](this[_0x4f1637(0x2bd)],[[_0x2e6e49],[_0x2a1a14[_0x4f1637(0x348)]],[_0x381ec8],[_0x234b1b],[_0x2a1a14[_0x4f1637(0x31e)]]]);}},_0x20640e(_0x2a1a14[_0x3142a3(0x124)],'pluginName',_0x4ed143),_0x2a1a14[_0x3142a3(0x124)]=_0xa23f50([_0x2869e3[_0x3142a3(0x191)](_0x563ec8[_0x3142a3(0x1db)]),_0x24d095(0x1,_0x5e0e97[_0x3142a3(0x262)]),_0x24d095(0x2,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x209)])),_0x24d095(0x3,_0x2869e3[_0x3142a3(0x2a6)])],_0x2a1a14['UniverCollaborationClientUIPlugin']);var _0x30413c=Object[_0x3142a3(0x216)],_0x4317a4=(_0x149e18,_0x7a18ff,_0x5128e8,_0x48a443)=>{const _0x4b1665=_0x3142a3;for(var _0x471ea2=_0x48a443>0x1?void 0x0:_0x48a443?_0x30413c(_0x7a18ff,_0x5128e8):_0x7a18ff,_0x2b291b=_0x149e18[_0x4b1665(0x29a)]-0x1,_0x3d2717;_0x2b291b>=0x0;_0x2b291b--)(_0x3d2717=_0x149e18[_0x2b291b])&&(_0x471ea2=_0x3d2717(_0x471ea2)||_0x471ea2);return _0x471ea2;},_0x40f79a=(_0x7d4629,_0x4af9dd)=>(_0x4832b9,_0x35efe7)=>_0x4af9dd(_0x4832b9,_0x35efe7,_0x7d4629);_0x2a1a14[_0x3142a3(0x2dd)]=class extends _0x563ec8[_0x3142a3(0xc2)]{constructor(_0x2be864,_0x4d4cdd,_0x54e33d,_0x1b28c6,_0x59dd2d){super(_0x2be864,_0x4d4cdd,_0x54e33d,_0x1b28c6,_0x59dd2d);}async[_0x3142a3(0x284)](_0x4447c8){const _0x1644fa=_0x3142a3,_0x3950ce=await this[_0x1644fa(0x114)](),_0x248c63=this[_0x1644fa(0x27d)](_0x4447c8,_0x3950ce);return this['_doCreateSocket'](_0x248c63);}[_0x3142a3(0x27d)](_0x186850,_0x2922c7){const _0x5a4904=_0x3142a3,_0x4a4043=typeof window>'u'?new URL(_0x186850):new URL(_0x186850,window[_0x5a4904(0x14e)][_0x5a4904(0x222)]);_0x4a4043[_0x5a4904(0x158)][_0x5a4904(0x115)]('sessionTicket',_0x2922c7);const _0x11e130=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5a4904(0x14e)]['search']);return _0x11e130[_0x5a4904(0x2ae)](_0x5a4904(0x2e6))&&_0x4a4043[_0x5a4904(0x158)]['set'](_0x5a4904(0x2e6),_0x11e130[_0x5a4904(0x2ae)](_0x5a4904(0x2e6))),_0x4a4043[_0x5a4904(0x325)]();}async['_getSessionTicket'](){const _0x37c5a4=_0x3142a3;var _0x4766ec,_0x46aecc,_0x4199a5;const _0x6b22a2=this[_0x37c5a4(0x297)][_0x37c5a4(0xbf)](_0x563ec8[_0x37c5a4(0x29c)]),_0x37449c=(_0x4766ec=_0x6b22a2==null?void 0x0:_0x6b22a2[_0x37c5a4(0x24a)])!=null?_0x4766ec:_0x563ec8[_0x37c5a4(0x116)];return(_0x4199a5=(_0x46aecc=(await this[_0x37c5a4(0x2fa)][_0x37c5a4(0x2ae)](_0x37449c,{'headers':{'Content-Type':'application/json'}}))[_0x37c5a4(0x17f)])==null?void 0x0:_0x46aecc['ticket'])!=null?_0x4199a5:'';}},_0x2a1a14[_0x3142a3(0x2dd)]=_0x4317a4([_0x40f79a(0x0,_0x2869e3['Inject'](_0x2869e3[_0x3142a3(0x209)])),_0x40f79a(0x1,_0x2869e3[_0x3142a3(0x113)](_0x5a5573['HTTPService'])),_0x40f79a(0x2,_0x2869e3[_0x3142a3(0x2a6)]),_0x40f79a(0x3,_0x2869e3[_0x3142a3(0x16f)]),_0x40f79a(0x4,_0x14a853[_0x3142a3(0x213)])],_0x2a1a14[_0x3142a3(0x2dd)]);const _0xa1f3ca=0x7530,_0x20ab38=_0x3142a3(0x21d);class _0x253653 extends _0x2869e3[_0x3142a3(0x21c)]{constructor(){const _0xcf0b8c=_0x3142a3;super(),_0x5d9583(this,_0xcf0b8c(0x288),_0x2869e3[_0xcf0b8c(0x187)]()),_0x5d9583(this,_0xcf0b8c(0x1ca),new Set()),_0x5d9583(this,_0xcf0b8c(0x1c7),new Map()),_0x5d9583(this,_0xcf0b8c(0x1ea),null),_0x5d9583(this,'_clearOtherTimers',new Map()),_0x5d9583(this,_0xcf0b8c(0x1cf),new Map()),this[_0xcf0b8c(0x30c)]();}['dispose'](){const _0x1be699=_0x3142a3;super[_0x1be699(0x308)](),this[_0x1be699(0x2e3)][_0x1be699(0x181)]((_0x552e20,_0x57985d)=>this[_0x1be699(0xb5)](_0x57985d)),this[_0x1be699(0x1ea)]&&window[_0x1be699(0x332)](this[_0x1be699(0x1ea)]);}[_0x3142a3(0x2db)](_0x176e8c){const _0x2504b0=_0x3142a3;return this[_0x2504b0(0xd8)](_0x176e8c)[_0x2504b0(0x32b)](_0x45f1ec['distinctUntilChanged']());}[_0x3142a3(0x17a)](_0x2c32b0){const _0x16fcf1=_0x3142a3;this[_0x16fcf1(0x1ca)][_0x16fcf1(0x2b3)]===0x0&&this[_0x16fcf1(0x2e8)](),this[_0x16fcf1(0x1ca)][_0x16fcf1(0xef)](_0x2c32b0),this[_0x16fcf1(0xbe)]({'type':0x0,'memberID':this[_0x16fcf1(0x288)],'unitIDs':[_0x2c32b0],'isForwarded':!0x1});}['disposeUnit'](_0x55adb7){const _0x1122c1=_0x3142a3;this[_0x1122c1(0x1ca)][_0x1122c1(0x171)](_0x55adb7),this[_0x1122c1(0x1ca)]['size']===0x0&&this[_0x1122c1(0x1ea)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3142a3(0x30c)](){const _0x56eea9=_0x3142a3;this[_0x56eea9(0x20e)](_0x2869e3[_0x56eea9(0x356)](_0x45f1ec[_0x56eea9(0xd9)](window,_0x56eea9(0x23f))[_0x56eea9(0x16d)](_0x32adc7=>{const _0x50a5f5=_0x56eea9;if(_0x32adc7[_0x50a5f5(0x229)]!==_0x20ab38||!_0x32adc7[_0x50a5f5(0x1a9)])return;const _0x45b0e7=JSON[_0x50a5f5(0x1d9)](_0x32adc7[_0x50a5f5(0x1a9)]);this[_0x50a5f5(0x1fb)](_0x45b0e7);}))),window[_0x56eea9(0x177)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x56eea9(0x288)],'unitIDs':Array[_0x56eea9(0x150)](this[_0x56eea9(0x1ca)])}));}[_0x3142a3(0x1fb)](_0x4c6e1c){const _0x35ef01=_0x3142a3;switch(_0x4c6e1c[_0x35ef01(0x16b)]){case 0x0:this['_handleJoinEvent'](_0x4c6e1c);break;case 0x1:this['_handleLeaveEvent'](_0x4c6e1c);break;case 0x2:this[_0x35ef01(0x1bd)](_0x4c6e1c);break;}}[_0x3142a3(0x321)](_0x4c649d){const _0x1e4436=_0x3142a3,{unitIDs:_0x2f32b5,memberID:_0x55f562,isForwarded:_0x2336e6}=_0x4c649d;_0x2f32b5[_0x1e4436(0x181)](_0x32e47e=>{const _0x140964=_0x1e4436;if(!_0x2336e6&&this[_0x140964(0x1c7)]['has'](_0x32e47e)&&this[_0x140964(0xd8)](_0x32e47e)[_0x140964(0x19c)](_0x563ec8['UnitStatus'][_0x140964(0x310)]),!this[_0x140964(0x1c7)][_0x140964(0x189)](_0x32e47e)||!this[_0x140964(0x1c7)][_0x140964(0x2ae)](_0x32e47e)[_0x140964(0x189)](_0x55f562)){const _0x5047ee=this[_0x140964(0x1c7)]['get'](_0x32e47e)||new Set();_0x5047ee[_0x140964(0xef)](_0x55f562),this[_0x140964(0x1c7)]['set'](_0x32e47e,_0x5047ee),this[_0x140964(0x2a0)](_0x55f562);}}),_0x2336e6||this[_0x1e4436(0xbe)]({'type':0x0,'memberID':this[_0x1e4436(0x288)],'unitIDs':[...this[_0x1e4436(0x1ca)]],'isForwarded':!0x0});}[_0x3142a3(0x2a0)](_0x18fff7){const _0x16dcc2=_0x3142a3;this['_removeClearOtherTimer'](_0x18fff7);const _0x1bafbd=window[_0x16dcc2(0x1bc)](()=>{const _0x4d2de1=_0x16dcc2;this['_unitOnClients'][_0x4d2de1(0x181)](_0x1c5cc7=>{const _0x2e8950=_0x4d2de1;_0x1c5cc7[_0x2e8950(0x171)](_0x18fff7);});},_0xa1f3ca*0x2);this[_0x16dcc2(0x2e3)][_0x16dcc2(0x115)](_0x18fff7,_0x1bafbd);}['_removeClearOtherTimer'](_0x36dca8){const _0x4bee6c=_0x3142a3;if(this[_0x4bee6c(0x2e3)][_0x4bee6c(0x189)](_0x36dca8)){const _0x5b05cb=this[_0x4bee6c(0x2e3)][_0x4bee6c(0x2ae)](_0x36dca8);_0x5b05cb&&window[_0x4bee6c(0x188)](_0x5b05cb),this[_0x4bee6c(0x2e3)]['set'](_0x36dca8,null);}}[_0x3142a3(0x1fc)](_0x5dbae2){const _0x391a68=_0x3142a3,{memberID:_0x52c5a8,unitIDs:_0x11f993}=_0x5dbae2;_0x11f993[_0x391a68(0x181)](_0x25bd28=>{const _0x5c0be6=_0x391a68;var _0x563143;const _0x3029a7=this[_0x5c0be6(0x1c7)]['get'](_0x25bd28);_0x3029a7&&(_0x3029a7['delete'](_0x52c5a8),(_0x563143=this[_0x5c0be6(0xd8)](_0x25bd28))==null||_0x563143[_0x5c0be6(0x19c)](_0x3029a7[_0x5c0be6(0x2b3)]===0x0?_0x563ec8[_0x5c0be6(0x211)][_0x5c0be6(0x2c0)]:_0x563ec8[_0x5c0be6(0x211)]['OTHER_CLIENTS_EDITING']));}),this[_0x391a68(0xb5)](_0x52c5a8);}[_0x3142a3(0x1bd)](_0x1340c2){const _0x10f893=_0x3142a3;this[_0x10f893(0x2a0)](_0x1340c2[_0x10f893(0x166)]);}[_0x3142a3(0xbe)](_0x4c4c88){const _0x273abf=_0x3142a3;localStorage['setItem'](_0x20ab38,JSON[_0x273abf(0x203)](_0x4c4c88));}[_0x3142a3(0x2e8)](){const _0x4e5aa6=_0x3142a3;this[_0x4e5aa6(0x1ea)]=window['setInterval'](()=>{const _0x32905a=_0x4e5aa6;this[_0x32905a(0xbe)]({'type':0x2,'memberID':this[_0x32905a(0x288)]});},_0xa1f3ca);}['_ensureSubject'](_0x8832e6){const _0x5d24f7=_0x3142a3;return this[_0x5d24f7(0x1cf)][_0x5d24f7(0x189)](_0x8832e6)||this[_0x5d24f7(0x1cf)]['set'](_0x8832e6,new _0x45f1ec['BehaviorSubject'](_0x563ec8['UnitStatus'][_0x5d24f7(0x2c0)])),this['_unitStatus']['get'](_0x8832e6);}}var _0x3b379f=(_0x150a18=>(_0x150a18[_0x150a18['UNDEFINED']=0x0]=_0x3142a3(0x2f1),_0x150a18[_0x150a18['OK']=0x1]='OK',_0x150a18[_0x150a18[_0x3142a3(0x161)]=0x2]=_0x3142a3(0x161),_0x150a18[_0x150a18[_0x3142a3(0x179)]=0x3]=_0x3142a3(0x179),_0x150a18[_0x150a18[_0x3142a3(0x2e1)]=0x4]=_0x3142a3(0x2e1),_0x150a18[_0x150a18['UNAUTHENTICATED']=0x5]=_0x3142a3(0x221),_0x150a18[_0x150a18[_0x3142a3(0x131)]=0x6]='ALREADY_EXISTS',_0x150a18[_0x150a18[_0x3142a3(0x29e)]=0x7]=_0x3142a3(0x29e),_0x150a18[_0x150a18[_0x3142a3(0x2f6)]=0x8]='TOO_MANY_REQUESTS',_0x150a18[_0x150a18['COMPLETION_FINISHED']=0x9]=_0x3142a3(0x2b5),_0x150a18[_0x150a18[_0x3142a3(0x2f4)]=0xa]=_0x3142a3(0x2f4),_0x150a18[_0x150a18[_0x3142a3(0x274)]=0xb]=_0x3142a3(0x274),_0x150a18[_0x150a18[_0x3142a3(0x305)]=0xc]=_0x3142a3(0x305),_0x150a18[_0x150a18[_0x3142a3(0x31c)]=0xd]=_0x3142a3(0x31c),_0x150a18[_0x150a18[_0x3142a3(0x307)]=0xe]=_0x3142a3(0x307),_0x150a18[_0x150a18[_0x3142a3(0x2c6)]=0x1389]=_0x3142a3(0x2c6),_0x150a18[_0x150a18[_0x3142a3(0x2a9)]=0x1771]=_0x3142a3(0x2a9),_0x150a18[_0x150a18[_0x3142a3(0x260)]=0x1772]=_0x3142a3(0x260),_0x150a18[_0x150a18['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3142a3(0x185),_0x150a18[_0x150a18[_0x3142a3(0x27e)]=0x1b59]=_0x3142a3(0x27e),_0x150a18[_0x150a18[_0x3142a3(0x12f)]=0x1b5a]=_0x3142a3(0x12f),_0x150a18[_0x150a18[_0x3142a3(0x2a3)]=0x1b5b]=_0x3142a3(0x2a3),_0x150a18[_0x150a18['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3142a3(0x140),_0x150a18[_0x150a18['APPLY_DUPLICATED']=0x1b5d]=_0x3142a3(0x2ac),_0x150a18[_0x150a18[_0x3142a3(0x1a1)]=0x1f41]=_0x3142a3(0x1a1),_0x150a18[_0x150a18[_0x3142a3(0x287)]=0x2329]=_0x3142a3(0x287),_0x150a18[_0x150a18[_0x3142a3(0x1ae)]=0x232a]=_0x3142a3(0x1ae),_0x150a18[_0x150a18['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3142a3(0xfc),_0x150a18[_0x150a18['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3142a3(0x2a7),_0x150a18[_0x150a18[_0x3142a3(0x272)]=0x232d]=_0x3142a3(0x272),_0x150a18[_0x150a18[_0x3142a3(0x198)]=0x2711]=_0x3142a3(0x198),_0x150a18[_0x150a18[_0x3142a3(0x152)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x150a18[_0x150a18[_0x3142a3(0x19a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x150a18[_0x150a18[_0x3142a3(0x1aa)]=0x2714]=_0x3142a3(0x1aa),_0x150a18[_0x150a18[_0x3142a3(0x345)]=0x271a]=_0x3142a3(0x345),_0x150a18[_0x150a18[_0x3142a3(0x180)]=0x271b]=_0x3142a3(0x180),_0x150a18[_0x150a18[_0x3142a3(0x202)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x150a18[_0x150a18[_0x3142a3(0xfb)]=0x271d]=_0x3142a3(0xfb),_0x150a18[_0x150a18['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x150a18[_0x150a18['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3142a3(0x10f),_0x150a18[_0x150a18[_0x3142a3(0x2e7)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x150a18[_0x150a18[_0x3142a3(0x1ef)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x150a18[_0x150a18[_0x3142a3(0x1b0)]=0x2ee1]=_0x3142a3(0x1b0),_0x150a18[_0x150a18[_0x3142a3(0x24d)]=0x2ee2]=_0x3142a3(0x24d),_0x150a18[_0x150a18[_0x3142a3(0x2e9)]=0x2ee3]=_0x3142a3(0x2e9),_0x150a18[_0x150a18[_0x3142a3(0x1e1)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x150a18[_0x150a18[_0x3142a3(0x2d2)]=0x2ee5]=_0x3142a3(0x2d2),_0x150a18[_0x150a18[_0x3142a3(0x217)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x150a18[_0x150a18['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3142a3(0x34d),_0x150a18[_0x150a18[_0x3142a3(0x257)]=0x32cb]=_0x3142a3(0x257),_0x150a18[_0x150a18[_0x3142a3(0x107)]=-0x1]='UNRECOGNIZED',_0x150a18))(_0x3b379f||{}),_0x38fa50=Object['getOwnPropertyDescriptor'],_0x3595a3=(_0x3e2f8d,_0x5d386c,_0x2e8394,_0x184600)=>{const _0x3e213d=_0x3142a3;for(var _0xc686a0=_0x184600>0x1?void 0x0:_0x184600?_0x38fa50(_0x5d386c,_0x2e8394):_0x5d386c,_0x1c93d0=_0x3e2f8d[_0x3e213d(0x29a)]-0x1,_0x219f80;_0x1c93d0>=0x0;_0x1c93d0--)(_0x219f80=_0x3e2f8d[_0x1c93d0])&&(_0xc686a0=_0x219f80(_0xc686a0)||_0xc686a0);return _0xc686a0;},_0x254694=(_0x4e7197,_0x826e25)=>(_0x222f8b,_0x20d28f)=>_0x826e25(_0x222f8b,_0x20d28f,_0x4e7197);_0x2a1a14[_0x3142a3(0x301)]=class extends _0x2869e3[_0x3142a3(0x21c)]{constructor(_0x1fc274,_0xd88ea4,_0x45b745){const _0x1c79ad=_0x3142a3;super(),this[_0x1c79ad(0x155)]=_0x1fc274,this[_0x1c79ad(0x2fa)]=_0xd88ea4,this['_configService']=_0x45b745;}async[_0x3142a3(0x277)](_0x3c98b7,_0x467e3f,_0x17e308,..._0x3ed13b){const _0x29cc9a=_0x3142a3;var _0x48b8e6,_0x2ed3f8,_0x52aa3a,_0x28275b;const _0x31a7ce=this[_0x29cc9a(0x155)][_0x29cc9a(0x138)]();if(!_0x31a7ce)throw new Error(_0x29cc9a(0x30a));const _0x20d7aa=((_0x48b8e6=this[_0x29cc9a(0x297)]['getConfig'](_0x563ec8[_0x29cc9a(0x1a8)]))!=null?_0x48b8e6:_0x563ec8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3c98b7+'/run/'+_0x467e3f,_0x40544b=new URL(window[_0x29cc9a(0x14e)][_0x29cc9a(0x2e5)]),_0x324770={'scriptId':_0x3c98b7,'runId':(_0x2ed3f8=_0x40544b[_0x29cc9a(0x158)]['get'](_0x29cc9a(0x2e6)))!=null?_0x2ed3f8:'','function':_0x467e3f,'unitId':_0x31a7ce[_0x29cc9a(0xde)](),'argsOfFunction':JSON[_0x29cc9a(0x203)](_0x3ed13b),'invokeId':(_0x52aa3a=_0x17e308[_0x29cc9a(0x1d8)])!=null?_0x52aa3a:'','executionId':(_0x28275b=_0x17e308[_0x29cc9a(0x1bf)])!=null?_0x28275b:''};try{const _0x45d282=await this[_0x29cc9a(0x2fa)][_0x29cc9a(0x338)](_0x20d7aa,{'body':_0x324770});return _0x45d282[_0x29cc9a(0x17f)]['error']&&_0x45d282['body'][_0x29cc9a(0x1be)][_0x29cc9a(0x261)]!==_0x3b379f['OK']?_0x29cc9a(0x32c):_0x45d282[_0x29cc9a(0x17f)][_0x29cc9a(0x1ce)];}catch{return _0x29cc9a(0x32c);}}},_0x2a1a14[_0x3142a3(0x301)]=_0x3595a3([_0x254694(0x0,_0x2869e3[_0x3142a3(0xb6)]),_0x254694(0x1,_0x2869e3['Inject'](_0x5a5573['HTTPService'])),_0x254694(0x2,_0x2869e3[_0x3142a3(0x2a6)])],_0x2a1a14[_0x3142a3(0x301)]),_0x2a1a14[_0x3142a3(0x233)]=_0x598439,_0x2a1a14[_0x3142a3(0xd1)]=_0xc4d707,_0x2a1a14[_0x3142a3(0x2c8)]=_0x330688,_0x2a1a14[_0x3142a3(0x2d5)]=_0x253653,_0x2a1a14[_0x3142a3(0x227)]=_0x589733,Object[_0x3142a3(0x2f0)](_0x2a1a14,Symbol[_0x3142a3(0x25b)],{'value':_0x3142a3(0x2e2)});}));
|