@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506111607 → 0.8.1-nightly.202506121607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x125f85,_0x4a3a5a){const _0x48d32b=_0x3464,_0x10457c=_0x125f85();while(!![]){try{const _0x332fba=parseInt(_0x48d32b(0x315))/0x1*(parseInt(_0x48d32b(0x259))/0x2)+-parseInt(_0x48d32b(0x1f1))/0x3+parseInt(_0x48d32b(0x20b))/0x4+-parseInt(_0x48d32b(0x1fc))/0x5*(-parseInt(_0x48d32b(0x1df))/0x6)+parseInt(_0x48d32b(0x448))/0x7+parseInt(_0x48d32b(0x2af))/0x8+parseInt(_0x48d32b(0x21f))/0x9*(-parseInt(_0x48d32b(0x34c))/0xa);if(_0x332fba===_0x4a3a5a)break;else _0x10457c['push'](_0x10457c['shift']());}catch(_0x55731b){_0x10457c['push'](_0x10457c['shift']());}}}(_0x3d7f,0x53cd2),function(_0x478224,_0x86795a){const _0x51f3e5=_0x3464;typeof exports==_0x51f3e5(0x34e)&&typeof module<'u'?_0x86795a(exports,require(_0x51f3e5(0x3d8)),require(_0x51f3e5(0x1cb)),require(_0x51f3e5(0x279)),require(_0x51f3e5(0x310)),require(_0x51f3e5(0x35c)),require('@univerjs/drawing'),require(_0x51f3e5(0x3b0)),require('@univerjs/docs'),require(_0x51f3e5(0x351)),require(_0x51f3e5(0x247)),require(_0x51f3e5(0x331)),require(_0x51f3e5(0x25a)),require(_0x51f3e5(0x2bd)),require('react/jsx-runtime'),require(_0x51f3e5(0x1f9)),require(_0x51f3e5(0x2e1)),require(_0x51f3e5(0x1fb)),require(_0x51f3e5(0x44d))):typeof define==_0x51f3e5(0x301)&&define[_0x51f3e5(0x1d1)]?define([_0x51f3e5(0x457),_0x51f3e5(0x3d8),_0x51f3e5(0x1cb),_0x51f3e5(0x279),_0x51f3e5(0x310),_0x51f3e5(0x35c),_0x51f3e5(0x360),'rxjs',_0x51f3e5(0x23a),_0x51f3e5(0x351),_0x51f3e5(0x247),_0x51f3e5(0x331),_0x51f3e5(0x25a),_0x51f3e5(0x2bd),_0x51f3e5(0x33f),'@univerjs/ui',_0x51f3e5(0x2e1),_0x51f3e5(0x1fb),_0x51f3e5(0x44d)],_0x86795a):(_0x478224=typeof globalThis<'u'?globalThis:_0x478224||self,_0x86795a(_0x478224[_0x51f3e5(0x261)]={},_0x478224[_0x51f3e5(0x444)],_0x478224[_0x51f3e5(0x1dd)],_0x478224['UniverEngineRender'],_0x478224['UniverNetwork'],_0x478224['UniverDocsUi'],_0x478224['UniverDrawing'],_0x478224[_0x51f3e5(0x3b0)],_0x478224[_0x51f3e5(0x3e3)],_0x478224[_0x51f3e5(0x2a5)],_0x478224['UniverEngineFormula'],_0x478224[_0x51f3e5(0x283)],_0x478224['rxjs']['operators'],_0x478224[_0x51f3e5(0x2a7)],_0x478224[_0x51f3e5(0x273)],_0x478224[_0x51f3e5(0x3a0)],_0x478224[_0x51f3e5(0x2ce)],_0x478224[_0x51f3e5(0x273)],_0x478224[_0x51f3e5(0x42f)]));}(this,function(_0x4cf9f1,_0x51ae97,_0x23cfa0,_0x188338,_0x99d8d6,_0x27e66a,_0x3ef818,_0x1425de,_0x3bc28d,_0x46d1ab,_0x1ef071,_0x28fbd1,_0x209049,_0x270a77,_0x561a21,_0x30ac71,_0x306647,_0x5c9659,_0x154a8a){'use strict';const _0xf94d15=_0x3464;var _0x41f11c=Object['defineProperty'],_0x72ead0=(_0x7dfb98,_0x3d5321,_0xc91231)=>_0x3d5321 in _0x7dfb98?_0x41f11c(_0x7dfb98,_0x3d5321,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc91231}):_0x7dfb98[_0x3d5321]=_0xc91231,_0x6a5a04=(_0x3f6eed,_0x309b3d,_0x31cf8e)=>_0x72ead0(_0x3f6eed,typeof _0x309b3d!=_0xf94d15(0x348)?_0x309b3d+'':_0x309b3d,_0x31cf8e),_0x2d329e=Object['getOwnPropertyDescriptor'],_0x11a73e=(_0x2bb6a3,_0x557e45,_0x410f3f,_0x4bf477)=>{const _0x1aea61=_0xf94d15;for(var _0x2977e4=_0x4bf477>0x1?void 0x0:_0x4bf477?_0x2d329e(_0x557e45,_0x410f3f):_0x557e45,_0x22c1a3=_0x2bb6a3[_0x1aea61(0x354)]-0x1,_0x498c0b;_0x22c1a3>=0x0;_0x22c1a3--)(_0x498c0b=_0x2bb6a3[_0x22c1a3])&&(_0x2977e4=_0x498c0b(_0x2977e4)||_0x2977e4);return _0x2977e4;},_0x1f82a7=(_0x49352e,_0x353f72)=>(_0x599062,_0x3bd3e8)=>_0x353f72(_0x599062,_0x3bd3e8,_0x49352e);let _0x34fb25=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x287546,_0x1f02e4){const _0x57646d=_0xf94d15;super(),this[_0x57646d(0x208)]=_0x287546,this['_imageIoService']=_0x1f02e4,this[_0x57646d(0x32b)]();}[_0xf94d15(0x32b)](){const _0x5e9ca9=_0xf94d15,_0x399a83=this;this['disposeWithMe'](this[_0x5e9ca9(0x208)]['addClipboardHook']({'onBeforePasteImage':async _0x41a02c=>{const _0x56b1a3=_0x5e9ca9,_0x4338b3=await _0x399a83[_0x56b1a3(0x418)][_0x56b1a3(0x379)](_0x41a02c);return _0x4338b3?{'source':_0x4338b3[_0x56b1a3(0x29c)],'imageSourceType':_0x4338b3[_0x56b1a3(0x330)]}:null;}}));}};_0x34fb25=_0x11a73e([_0x1f82a7(0x0,_0x27e66a[_0xf94d15(0x302)]),_0x1f82a7(0x1,_0x3ef818[_0xf94d15(0x2b1)])],_0x34fb25);const _0x1b153d=[_0xf94d15(0x41a),_0xf94d15(0x311),_0xf94d15(0x2ab),_0xf94d15(0x447),_0xf94d15(0x43c),_0xf94d15(0x440)];class _0x78b02d extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(){const _0x51ccae=_0xf94d15;super(...arguments),_0x6a5a04(this,_0x51ccae(0x213),new Map()),_0x6a5a04(this,'_colorIndex',0x0);}[_0xf94d15(0x280)](_0x4539ff){const _0x59d6fa=_0xf94d15;if(this['_assignedColors'][_0x59d6fa(0x3a2)](_0x4539ff))return this['_assignedColors'][_0x59d6fa(0x417)](_0x4539ff);const _0x455edb=_0x1b153d[this[_0x59d6fa(0x35b)]];return this[_0x59d6fa(0x35b)]=(this['_colorIndex']+0x1)%_0x1b153d[_0x59d6fa(0x354)],this[_0x59d6fa(0x213)]['set'](_0x4539ff,_0x455edb),_0x455edb;}}function _0x2487c9(_0x18daa4){const _0x3d7e10=_0xf94d15;let _0x4114dd='';for(const _0x28f4de of _0x18daa4){const {startOffset:_0x393f03,endOffset:_0x53250e,isActive:_0x2464f2,rangeType:_0x56ec66,segmentId:_0x165e3b,segmentPage:_0x1f16c4}=_0x28f4de;_0x4114dd[_0x3d7e10(0x354)]&&(_0x4114dd+=','),_0x4114dd+=_0x393f03+':'+_0x53250e+':'+(_0x2464f2?'1':'0')+':'+_0x56ec66+':'+_0x165e3b+':'+_0x1f16c4;}return _0x4114dd;}function _0x4eef5e(_0x46656a){const _0x625147=_0xf94d15,_0x583690=_0x46656a['split'](','),_0x183b3a=[];for(const _0x4b2070 of _0x583690){const [_0x155860,_0x24a2ed,_0x3354dd,_0x1ad351,_0x3dadbd,_0x251740]=_0x4b2070[_0x625147(0x438)](':');_0x183b3a['push']({'startOffset':Number(_0x155860),'endOffset':Number(_0x24a2ed),'collapsed':_0x155860===_0x24a2ed,'isActive':_0x3354dd==='1','rangeType':_0x1ad351===_0x23cfa0['DOC_RANGE_TYPE'][_0x625147(0x3e6)]?_0x23cfa0[_0x625147(0x26b)][_0x625147(0x3e6)]:_0x23cfa0[_0x625147(0x26b)][_0x625147(0x456)],'segmentId':typeof _0x3dadbd==_0x625147(0x230)?String(_0x3dadbd):'','segmentPage':Number(_0x251740!=null?_0x251740:-0x1)});}return _0x183b3a['some'](_0x5d071b=>_0x5d071b[_0x625147(0x392)])||(_0x183b3a[0x0][_0x625147(0x392)]=!0x0),_0x183b3a;}class _0x47f3a0 extends _0x23cfa0['RxDisposable']{constructor(){const _0x1c0088=_0xf94d15;super(...arguments),_0x6a5a04(this,'_collabCursorState$',new _0x1425de[(_0x1c0088(0x41c))](null)),_0x6a5a04(this,'collabCursorState$',this[_0x1c0088(0x2fa)][_0x1c0088(0x27c)]());}[_0xf94d15(0x35e)](_0x42b10b){const _0x5946fb=_0xf94d15,{unitID:_0x3a009f,memberID:_0x569b2c,textRanges:_0x12421}=_0x42b10b,_0x4fabd1=_0x2487c9(_0x12421);if(_0x4fabd1==='')return;const _0x5ac587={'unitID':_0x3a009f,'memberID':_0x569b2c,'selection':_0x4fabd1};this[_0x5946fb(0x2fa)][_0x5946fb(0x3d9)](_0x5ac587);}}var _0x406aad=Object[_0xf94d15(0x1e6)],_0x346119=(_0x57f122,_0x483377,_0x44a6a7,_0xbbbff6)=>{const _0x1040da=_0xf94d15;for(var _0x23b1f3=_0xbbbff6>0x1?void 0x0:_0xbbbff6?_0x406aad(_0x483377,_0x44a6a7):_0x483377,_0x504b22=_0x57f122[_0x1040da(0x354)]-0x1,_0x1efaf3;_0x504b22>=0x0;_0x504b22--)(_0x1efaf3=_0x57f122[_0x504b22])&&(_0x23b1f3=_0x1efaf3(_0x23b1f3)||_0x23b1f3);return _0x23b1f3;},_0x541ae8=(_0x5bfb60,_0x4988a6)=>(_0x5063f0,_0x45639d)=>_0x4988a6(_0x5063f0,_0x45639d,_0x5bfb60);const _0x1baf7c=0x12c,_0x5c3af7=0x64;let _0x233c95=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x2af58a,_0x34e74c,_0x59c80d,_0xb5e8eb,_0x56b919,_0x21bc6c,_0x1eafe0,_0x4ea1b8,_0x3688b6){const _0x443c3b=_0xf94d15;super(),_0x6a5a04(this,_0x443c3b(0x365),!0x1),_0x6a5a04(this,_0x443c3b(0x32b),!0x1),_0x6a5a04(this,_0x443c3b(0x381),new _0x1425de[(_0x443c3b(0x41c))](new Map())),_0x6a5a04(this,_0x443c3b(0x27a),this[_0x443c3b(0x381)][_0x443c3b(0x27c)]()),_0x6a5a04(this,_0x443c3b(0x27e),new _0x1425de['BehaviorSubject']([])),_0x6a5a04(this,_0x443c3b(0x377),this[_0x443c3b(0x27e)]['pipe'](_0x1425de[_0x443c3b(0x40c)](_0x1baf7c))),_0x6a5a04(this,_0x443c3b(0x2ed),_0x23cfa0[_0x443c3b(0x24d)](_0x47920f=>{const _0x4f5f04=_0x443c3b,_0xb927a3={'eventID':_0x46d1ab[_0x4f5f04(0x452)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x2487c9(_0x47920f)}};this[_0x4f5f04(0x36d)]['send'](_0xb927a3,this[_0x4f5f04(0x2de)]);},_0x5c3af7)),(this[_0x443c3b(0x2de)]=_0x2af58a,this[_0x443c3b(0x36d)]=_0x34e74c,this[_0x443c3b(0x443)]=_0x59c80d,this['_colorAssignService']=_0xb5e8eb,this['_memberService']=_0x56b919,this['_syncEditingCollabCursorService']=_0x21bc6c,this[_0x443c3b(0x40d)]=_0x1eafe0,this[_0x443c3b(0x30c)]=_0x4ea1b8,this['_commandService']=_0x3688b6);}get['cursorInfo'](){const _0x263b38=_0xf94d15;return this[_0x263b38(0x381)][_0x263b38(0x389)]();}get['roomMembers'](){const _0x3ee497=_0xf94d15;return this[_0x3ee497(0x27e)][_0x3ee497(0x389)]();}[_0xf94d15(0x38a)](){const _0x507a94=_0xf94d15;super[_0x507a94(0x38a)](),this[_0x507a94(0x381)][_0x507a94(0x3d9)](new Map()),this[_0x507a94(0x381)][_0x507a94(0x2a6)](),this[_0x507a94(0x27e)][_0x507a94(0x3d9)]([]),this[_0x507a94(0x27e)][_0x507a94(0x2a6)]();}[_0xf94d15(0x1f3)](){const _0x158b43=_0xf94d15;this['_init']||(this[_0x158b43(0x32b)]=!0x0,this['_session'][_0x158b43(0x1ca)][_0x158b43(0x41e)](_0x1425de[_0x158b43(0x3e4)](this[_0x158b43(0x391)]))[_0x158b43(0x2a8)](_0x3ed690=>{const _0x494615=_0x158b43;_0x3ed690===_0x51ae97[_0x494615(0x1da)]['ONLINE']?this[_0x494615(0x299)]():this[_0x494615(0x251)]();}),this[_0x158b43(0x36d)]['event$']['pipe'](_0x1425de[_0x158b43(0x3e4)](this[_0x158b43(0x391)]))[_0x158b43(0x2a8)](_0x55c5d1=>{const _0x23b667=_0x158b43,_0x55711d=_0x55c5d1[_0x23b667(0x262)];_0x55711d===_0x46d1ab[_0x23b667(0x452)]['UPDATE_CURSOR']&&this[_0x23b667(0x295)](_0x55c5d1),_0x55711d===_0x46d1ab['CollaborationEvent']['USERS_LEAVE']&&this[_0x23b667(0x421)](_0x55c5d1);}),this[_0x158b43(0x340)](this[_0x158b43(0x1cd)]['onCommandExecuted'](_0x12d3fb=>{const _0x542fcc=_0x158b43,_0x3d152c=_0x12d3fb[_0x542fcc(0x41f)];_0x3d152c!=null&&this['_online']&&_0x12d3fb['id']===_0x3bc28d[_0x542fcc(0x339)]['id']&&_0x3d152c[_0x542fcc(0x2b0)]===this[_0x542fcc(0x2de)]&&_0x3d152c[_0x542fcc(0x1d7)]===!0x1&&_0x3d152c[_0x542fcc(0x32a)][_0x542fcc(0x354)]>0x0&&this['_updateLocalCursor'](_0x3d152c[_0x542fcc(0x32a)]);})),this[_0x158b43(0x453)][_0x158b43(0x33d)][_0x158b43(0x41e)](_0x1425de[_0x158b43(0x3e4)](this['dispose$']))[_0x158b43(0x2a8)](_0x80e8b0=>{const _0x581efa=_0x158b43;if((_0x80e8b0==null?void 0x0:_0x80e8b0['unitID'])!==this[_0x581efa(0x2de)])return;const _0x1ad25b={'eventID':_0x46d1ab['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x80e8b0};this['_onCursorUpdate'](_0x1ad25b);}),this[_0x158b43(0x340)](this[_0x158b43(0x1cd)][_0x158b43(0x43e)](_0x29b6b1=>{const _0x47fb74=_0x158b43;if(_0x29b6b1[_0x47fb74(0x41f)]==null)return;const _0x5b4512=_0x29b6b1[_0x47fb74(0x41f)];if(_0x29b6b1['id']!==_0x3bc28d[_0x47fb74(0x3fd)]['id']||_0x5b4512['unitId']!==this[_0x47fb74(0x2de)])return;const _0x5e700e={'id':_0x47fb74(0x33b),'params':_0x5b4512},_0x22fdc7=this['cursorInfo'];for(const [_0x4543d1,_0x46926f]of _0x22fdc7){const _0x1a82b9={'id':_0x47fb74(0x33b),'params':{'unitId':this[_0x47fb74(0x2de)],'actions':null,'textRanges':_0x46926f['ranges']}},_0x5b1110=this[_0x47fb74(0x40d)][_0x47fb74(0x238)](_0x5e700e,_0x1a82b9,!0x1);if(_0x46d1ab['isTransformMutationFailure'](_0x5b1110))throw _0x5b1110[_0x47fb74(0x393)];_0x22fdc7['set'](_0x4543d1,{..._0x46926f,'ranges':_0x5b1110[_0x47fb74(0x246)][_0x47fb74(0x41f)][_0x47fb74(0x426)]});}queueMicrotask(()=>{const _0x29c4c8=_0x47fb74;this[_0x29c4c8(0x381)]['next'](_0x22fdc7);});})));}[_0xf94d15(0x295)](_0x6d6413){const _0x1e8403=_0xf94d15;var _0x1689d3,_0x17e49e;const {memberID:_0xf93ffe,selection:_0x43652f}=_0x6d6413[_0x1e8403(0x316)],_0x1f22c2=_0x4eef5e(_0x43652f),_0x56e3cd=(_0x17e49e=(_0x1689d3=this[_0x1e8403(0x31e)][_0x1e8403(0x222)](this[_0x1e8403(0x2de)],_0xf93ffe))==null?void 0x0:_0x1689d3['name'])!=null?_0x17e49e:_0x1e8403(0x2e8),_0x15f08c={'color':this[_0x1e8403(0x432)][_0x1e8403(0x280)](_0xf93ffe),'name':_0x56e3cd,'ranges':_0x1f22c2},_0x2e45c7=this[_0x1e8403(0x1f2)];_0x2e45c7[_0x1e8403(0x429)](_0xf93ffe,_0x15f08c),this[_0x1e8403(0x381)][_0x1e8403(0x3d9)](_0x2e45c7);}[_0xf94d15(0x421)](_0x3541ee){const _0x24d450=_0xf94d15,{memberID:_0x5a652d}=_0x3541ee[_0x24d450(0x316)],_0x215255=this[_0x24d450(0x1f2)];_0x215255[_0x24d450(0x2e7)](_0x5a652d),this[_0x24d450(0x381)]['next'](_0x215255);}[_0xf94d15(0x299)](){const _0x386649=_0xf94d15;var _0x6f3092;if(this[_0x386649(0x365)]=!0x0,((_0x6f3092=this[_0x386649(0x30c)][_0x386649(0x200)]())==null?void 0x0:_0x6f3092['getUnitId']())!==this[_0x386649(0x2de)])return;const _0x47e020=this[_0x386649(0x443)][_0x386649(0x417)](_0x3bc28d['DocSelectionManagerService'])[_0x386649(0x3c1)]();Array[_0x386649(0x2c7)](_0x47e020)&&_0x47e020['length']>0x0&&this['_updateLocalCursor'](_0x47e020);}[_0xf94d15(0x251)](){const _0x5156f1=_0xf94d15;this[_0x5156f1(0x365)]=!0x1;}};_0x233c95=_0x346119([_0x541ae8(0x2,_0x23cfa0['Inject'](_0x23cfa0[_0xf94d15(0x1e4)])),_0x541ae8(0x3,_0x23cfa0['Inject'](_0x78b02d)),_0x541ae8(0x4,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x1f7)])),_0x541ae8(0x5,_0x23cfa0[_0xf94d15(0x24b)](_0x47f3a0)),_0x541ae8(0x6,_0x46d1ab[_0xf94d15(0x420)]),_0x541ae8(0x7,_0x23cfa0[_0xf94d15(0x1e2)]),_0x541ae8(0x8,_0x23cfa0['ICommandService'])],_0x233c95);var _0x471e52=Object['getOwnPropertyDescriptor'],_0x580c93=(_0x3aa0df,_0x488fe1,_0x521b34,_0x23dd94)=>{const _0x3fd074=_0xf94d15;for(var _0x29aece=_0x23dd94>0x1?void 0x0:_0x23dd94?_0x471e52(_0x488fe1,_0x521b34):_0x488fe1,_0x46305b=_0x3aa0df[_0x3fd074(0x354)]-0x1,_0x5a1018;_0x46305b>=0x0;_0x46305b--)(_0x5a1018=_0x3aa0df[_0x46305b])&&(_0x29aece=_0x5a1018(_0x29aece)||_0x29aece);return _0x29aece;},_0x5bff3b=(_0xc9ea2a,_0x3f83bc)=>(_0x493045,_0x289a52)=>_0x3f83bc(_0x493045,_0x289a52,_0xc9ea2a);const _0x337fd6=0x12c,_0x3e9e08=0x64,_0x4450b7=()=>{let _0x566a99=[],_0x204bb4=!0x1;return _0x280157=>{_0x566a99['push'](_0x280157),_0x204bb4||(_0x204bb4=!0x0,setTimeout(()=>{_0x566a99['forEach'](_0x535ab8=>_0x535ab8()),_0x566a99=[],_0x204bb4=!0x1;}));};};let _0x33f836=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x5bd581,_0x105f8c,_0x44eca2,_0x272e73,_0x13e53e,_0x3bfcfa,_0xb96d4d,_0x2634a4){const _0x65fcda=_0xf94d15;super(),_0x6a5a04(this,_0x65fcda(0x365),!0x1),_0x6a5a04(this,_0x65fcda(0x32b),!0x1),_0x6a5a04(this,_0x65fcda(0x381),new _0x1425de['BehaviorSubject'](new Map())),_0x6a5a04(this,_0x65fcda(0x27a),this[_0x65fcda(0x381)][_0x65fcda(0x27c)]()),_0x6a5a04(this,_0x65fcda(0x27e),new _0x1425de['BehaviorSubject']([])),_0x6a5a04(this,'roomMembers$',this[_0x65fcda(0x27e)][_0x65fcda(0x41e)](_0x1425de[_0x65fcda(0x40c)](_0x337fd6))),_0x6a5a04(this,_0x65fcda(0x2ed),_0x23cfa0['debounce']((_0x414acd,_0x5c9577)=>{const _0x5a91f7=_0x65fcda,_0x110534={'eventID':_0x46d1ab[_0x5a91f7(0x452)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x5a91f7(0x36d)][_0x5a91f7(0x394)](),'selection':_0x1ef071[_0x5a91f7(0x3c8)](_0x414acd,_0x5c9577[_0x5a91f7(0x225)])}};this[_0x5a91f7(0x36d)][_0x5a91f7(0x25d)](_0x110534,this[_0x5a91f7(0x2de)]);},_0x3e9e08)),(this[_0x65fcda(0x2de)]=_0x5bd581,this[_0x65fcda(0x36d)]=_0x105f8c,this[_0x65fcda(0x443)]=_0x44eca2,this['_colorAssignService']=_0x272e73,this[_0x65fcda(0x31e)]=_0x13e53e,this['_univerInstanceService']=_0x3bfcfa,this['_commandService']=_0xb96d4d,this[_0x65fcda(0x419)]=_0x2634a4);}get[_0xf94d15(0x1f2)](){const _0x419084=_0xf94d15;return this[_0x419084(0x381)][_0x419084(0x389)]();}get[_0xf94d15(0x224)](){const _0x31f1a8=_0xf94d15;return this['_roomMembers$'][_0x31f1a8(0x389)]();}[_0xf94d15(0x38a)](){const _0x4740ce=_0xf94d15;super[_0x4740ce(0x38a)](),this[_0x4740ce(0x381)][_0x4740ce(0x3d9)](new Map()),this[_0x4740ce(0x381)][_0x4740ce(0x2a6)](),this[_0x4740ce(0x27e)]['next']([]),this['_roomMembers$']['complete']();}[_0xf94d15(0x1f3)](){const _0x53528e=_0xf94d15;this[_0x53528e(0x32b)]||(this['_init']=!0x0,this[_0x53528e(0x36d)][_0x53528e(0x1ca)]['pipe'](_0x1425de[_0x53528e(0x3e4)](this['dispose$']))[_0x53528e(0x2a8)](_0x16554b=>{const _0x56ae97=_0x53528e;_0x16554b===_0x51ae97['SessionStatus'][_0x56ae97(0x2f4)]?this[_0x56ae97(0x299)]():this[_0x56ae97(0x251)]();}),this[_0x53528e(0x36d)][_0x53528e(0x2dc)][_0x53528e(0x41e)](_0x1425de['takeUntil'](this['dispose$']))[_0x53528e(0x2a8)](_0xca0e7a=>{const _0x4f8070=_0x53528e,_0x31becf=_0xca0e7a['eventID'];_0x31becf===_0x46d1ab[_0x4f8070(0x452)][_0x4f8070(0x304)]&&this[_0x4f8070(0x295)](_0xca0e7a),_0x31becf===_0x46d1ab['CollaborationEvent'][_0x4f8070(0x34f)]&&this[_0x4f8070(0x421)](_0xca0e7a);}),this[_0x53528e(0x2d6)](),this['disposeWithMe'](this[_0x53528e(0x1cd)]['onCommandExecuted'](_0x2a375d=>{const _0x3f6a0f=_0x53528e;if(this['_online']&&_0x2a375d['id']===_0x28fbd1[_0x3f6a0f(0x3c4)]['id']&&_0x2a375d[_0x3f6a0f(0x41f)][_0x3f6a0f(0x2b0)]===this[_0x3f6a0f(0x2de)]){const _0x5b0606=_0x2a375d[_0x3f6a0f(0x41f)];this['_updateLocalCursor'](_0x5b0606[_0x3f6a0f(0x249)],_0x5b0606[_0x3f6a0f(0x28e)][0x0]);}})));}[_0xf94d15(0x295)](_0x5e9a1a){const _0x3054b8=_0xf94d15;var _0x50b61f,_0xd5bc48;const {memberID:_0x3da700,selection:_0x19e2d6}=_0x5e9a1a[_0x3054b8(0x316)],{sheetName:_0x53138c,range:_0x268079}=_0x1ef071[_0x3054b8(0x1e1)](_0x19e2d6),_0xcb4826={'name':(_0xd5bc48=(_0x50b61f=this['_memberService'][_0x3054b8(0x222)](this['unitID'],_0x3da700))==null?void 0x0:_0x50b61f['name'])!=null?_0xd5bc48:_0x3054b8(0x2e8),'range':this[_0x3054b8(0x220)](_0x53138c,_0x268079),'sheetID':_0x53138c,'color':this[_0x3054b8(0x432)][_0x3054b8(0x280)](_0x3da700),'selection':_0x19e2d6},_0x257d3e=this[_0x3054b8(0x1f2)];_0x257d3e[_0x3054b8(0x429)](_0x3da700,_0xcb4826),this[_0x3054b8(0x381)][_0x3054b8(0x3d9)](_0x257d3e);}[_0xf94d15(0x421)](_0x22c441){const _0x4f71b6=_0xf94d15,{memberID:_0x555166}=_0x22c441['data'],_0x5daa8b=this[_0x4f71b6(0x1f2)];_0x5daa8b[_0x4f71b6(0x2e7)](_0x555166),this[_0x4f71b6(0x381)][_0x4f71b6(0x3d9)](_0x5daa8b);}[_0xf94d15(0x220)](_0x1bff2c,_0x5be98e){const _0x25c690=_0xf94d15;var _0x171afd,_0x11d9eb;const _0x7ae6d8=(_0x11d9eb=(_0x171afd=this['_univerInstanceService'][_0x25c690(0x300)](this['unitID']))==null?void 0x0:_0x171afd[_0x25c690(0x44c)](_0x1bff2c))==null?void 0x0:_0x11d9eb['getMergeData']();return(_0x7ae6d8==null?void 0x0:_0x7ae6d8['find'](_0x406ff5=>_0x23cfa0[_0x25c690(0x423)][_0x25c690(0x2e3)](_0x406ff5,_0x5be98e)))||_0x5be98e;}[_0xf94d15(0x2d6)](){const _0x4c990e=_0xf94d15,_0x261375=new _0x23cfa0['DisposableCollection'](),_0x566b14=_0x4450b7(),_0x571e6d=()=>{const _0x86d7a6=_0x3464;_0x261375[_0x86d7a6(0x38a)]();const _0xfe56d=(_0x42fd66,_0x2f2fc6,_0x376954,_0x1e64c0)=>{const _0xb8020b=_0x86d7a6;let _0x476019=[];switch(_0x42fd66['id']){case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x410)]:{_0x476019=_0x28fbd1[_0xb8020b(0x2a4)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x2ca)]:{_0x476019=_0x28fbd1['handleDeleteRangeMoveUp'](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1['EffectRefRangId']['InsertColCommandId']:{_0x476019=_0x28fbd1[_0xb8020b(0x243)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x476019=_0x28fbd1[_0xb8020b(0x38d)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x3db)]:{_0x476019=_0x28fbd1['handleInsertRangeMoveRight'](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x2f6)]:{_0x476019=_0x28fbd1[_0xb8020b(0x29f)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x37d)]:{_0x476019=_0x28fbd1['handleMoveRange'](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x202)]:{_0x476019=_0x28fbd1[_0xb8020b(0x363)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)]['RemoveRowCommandId']:{_0x476019=_0x28fbd1[_0xb8020b(0x24c)](_0x42fd66,_0x1e64c0);break;}}const _0x567e43=_0x28fbd1[_0xb8020b(0x2f2)](_0x476019,_0x1e64c0),_0x4d252e=this[_0xb8020b(0x1f2)]['get'](_0x2f2fc6);if(_0x4d252e&&_0x567e43){const _0x1ae8dd={..._0x4d252e,'range':_0x567e43};this[_0xb8020b(0x1f2)][_0xb8020b(0x429)](_0x2f2fc6,_0x1ae8dd),_0x566b14(()=>{const _0x85b908=_0xb8020b,_0x119ee5=this[_0x85b908(0x419)]['registerRefRange'](_0x567e43,_0x513b0e=>(_0x119ee5['dispose'](),_0xfe56d(_0x513b0e,_0x2f2fc6,_0x376954,_0x567e43)));_0x261375[_0x85b908(0x241)](_0x119ee5);});}return{'redos':[],'undos':[]};};this[_0x86d7a6(0x1f2)][_0x86d7a6(0x403)]((_0xbba185,_0x1c7dad)=>{const _0x58718b=_0x86d7a6,{range:_0x2004b4,sheetID:_0x21cfb2}=_0xbba185,_0x3fd7bf=this[_0x58718b(0x419)][_0x58718b(0x328)](_0x2004b4,_0x412948=>(_0x3fd7bf[_0x58718b(0x38a)](),_0xfe56d(_0x412948,_0x1c7dad,_0x21cfb2,_0x2004b4)));_0x261375['add'](_0x3fd7bf);});};this[_0x4c990e(0x340)](_0x23cfa0[_0x4c990e(0x357)](this['_cursorInfo$'][_0x4c990e(0x2a8)](()=>{_0x571e6d();})));}[_0xf94d15(0x299)](){const _0xeb8452=_0xf94d15;var _0x952fe0,_0x4931da;if(this[_0xeb8452(0x365)]=!0x0,((_0x952fe0=this['_univerInstanceService'][_0xeb8452(0x200)]())==null?void 0x0:_0x952fe0['getUnitId']())!==this['unitID'])return;const _0x2f9e7f=(_0x4931da=this[_0xeb8452(0x443)][_0xeb8452(0x417)](_0x28fbd1[_0xeb8452(0x332)])[_0xeb8452(0x3bd)]())==null?void 0x0:_0x4931da[0x0],_0x1ea31b=this[_0xeb8452(0x30c)][_0xeb8452(0x43b)](_0x23cfa0[_0xeb8452(0x40e)]['UNIVER_SHEET'])[_0xeb8452(0x37a)]();_0x2f9e7f&&_0x1ea31b&&this['_updateLocalCursor'](_0x1ea31b[_0xeb8452(0x2c8)](),_0x2f9e7f);}[_0xf94d15(0x251)](){const _0x5bc3c7=_0xf94d15;this[_0x5bc3c7(0x365)]=!0x1;}};_0x33f836=_0x580c93([_0x5bff3b(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['Injector'])),_0x5bff3b(0x3,_0x23cfa0['Inject'](_0x78b02d)),_0x5bff3b(0x4,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x1f7)])),_0x5bff3b(0x5,_0x23cfa0['IUniverInstanceService']),_0x5bff3b(0x6,_0x23cfa0[_0xf94d15(0x1e7)]),_0x5bff3b(0x7,_0x23cfa0[_0xf94d15(0x24b)](_0x28fbd1['RefRangeService']))],_0x33f836);var _0x1f9eb7=Object[_0xf94d15(0x1e6)],_0x741a0=(_0x1b9b39,_0xa6c936,_0x52c03d,_0x4ffc03)=>{for(var _0x460e65=_0x4ffc03>0x1?void 0x0:_0x4ffc03?_0x1f9eb7(_0xa6c936,_0x52c03d):_0xa6c936,_0x463b94=_0x1b9b39['length']-0x1,_0x3e7844;_0x463b94>=0x0;_0x463b94--)(_0x3e7844=_0x1b9b39[_0x463b94])&&(_0x460e65=_0x3e7844(_0x460e65)||_0x460e65);return _0x460e65;},_0x37c6f8=(_0x547673,_0x5a47fb)=>(_0x5cb99d,_0xd8abd7)=>_0x5a47fb(_0x5cb99d,_0xd8abd7,_0x547673);let _0x25f318=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x94a0ed,_0xe3439d,_0x5a042a){const _0x40af46=_0xf94d15;super(),_0x6a5a04(this,'_entities',new Map()),_0x6a5a04(this,_0x40af46(0x233),new _0x1425de[(_0x40af46(0x375))]()),(this[_0x40af46(0x30c)]=_0x94a0ed,this[_0x40af46(0x443)]=_0xe3439d,this[_0x40af46(0x3b5)]=_0x5a042a,this['_init']());}[_0xf94d15(0x38a)](){const _0x518206=_0xf94d15;super[_0x518206(0x38a)](),this[_0x518206(0x233)]['complete'](),this[_0x518206(0x3b6)][_0x518206(0x403)](_0x1ece90=>_0x1ece90[_0x518206(0x38a)]());}[_0xf94d15(0x287)](_0x3f3aaf){const _0x4a572c=_0xf94d15;return this[_0x4a572c(0x3b6)]['has'](_0x3f3aaf)?this[_0x4a572c(0x3b6)][_0x4a572c(0x417)](_0x3f3aaf)[_0x4a572c(0x27a)]:this[_0x4a572c(0x233)][_0x4a572c(0x41e)](_0x1425de[_0x4a572c(0x3f6)](_0x23a91e=>_0x23a91e[_0x4a572c(0x2de)]===_0x3f3aaf),_0x1425de['switchMap'](_0x56ff43=>_0x56ff43[_0x4a572c(0x27a)]));}['_init'](){const _0x3ef10d=_0xf94d15;this[_0x3ef10d(0x30c)][_0x3ef10d(0x25f)](_0x23cfa0[_0x3ef10d(0x40e)][_0x3ef10d(0x272)])[_0x3ef10d(0x41e)](_0x1425de[_0x3ef10d(0x3e4)](this[_0x3ef10d(0x391)]))[_0x3ef10d(0x2a8)](async _0xafe91c=>{const _0xb86d18=_0x3ef10d,_0x53d2dc=_0xafe91c[_0xb86d18(0x289)](),_0x3b43ba=await this[_0xb86d18(0x3e8)](_0x53d2dc);this[_0xb86d18(0x233)]['next'](_0x3b43ba),this['_entities'][_0xb86d18(0x429)](_0x53d2dc,_0x3b43ba);}),this[_0x3ef10d(0x30c)][_0x3ef10d(0x25f)](_0x23cfa0[_0x3ef10d(0x40e)]['UNIVER_DOC'])[_0x3ef10d(0x41e)](_0x1425de[_0x3ef10d(0x3e4)](this['dispose$']))['pipe'](_0x1425de['filter'](_0x2654da=>!_0x2654da[_0x3ef10d(0x289)]()[_0x3ef10d(0x42c)]('__')))[_0x3ef10d(0x2a8)](async _0x182b47=>{const _0x61c289=_0x3ef10d,_0x324433=_0x182b47[_0x61c289(0x289)](),_0x2657b4=await this[_0x61c289(0x44a)](_0x324433);this[_0x61c289(0x233)][_0x61c289(0x3d9)](_0x2657b4),this[_0x61c289(0x3b6)][_0x61c289(0x429)](_0x324433,_0x2657b4);}),_0x1425de['merge'](this['_univerInstanceService'][_0x3ef10d(0x3dc)](_0x23cfa0[_0x3ef10d(0x40e)][_0x3ef10d(0x2ea)]),this[_0x3ef10d(0x30c)]['getTypeOfUnitDisposed$'](_0x23cfa0['UniverInstanceType'][_0x3ef10d(0x272)]))['pipe'](_0x1425de['takeUntil'](this[_0x3ef10d(0x391)]))[_0x3ef10d(0x2a8)](_0x2f79f1=>{const _0x5e801e=_0x3ef10d,_0x3f58b6=_0x2f79f1[_0x5e801e(0x289)](),_0x2fa8f1=this['_entities'][_0x5e801e(0x417)](_0x3f58b6);_0x2fa8f1&&(_0x2fa8f1[_0x5e801e(0x38a)](),this[_0x5e801e(0x3b6)][_0x5e801e(0x2e7)](_0x3f58b6));});}async[_0xf94d15(0x3e8)](_0x1fc008){const _0x3e0d2f=_0xf94d15,_0x45d03f=await this[_0x3e0d2f(0x3b5)][_0x3e0d2f(0x235)](_0x1fc008),_0x209baa=this['_injector'][_0x3e0d2f(0x3b1)](_0x33f836,_0x1fc008,_0x45d03f);return _0x209baa['init'](),_0x209baa;}async[_0xf94d15(0x44a)](_0x2991f8){const _0x9fb1af=_0xf94d15,_0x2a1418=await this['_collabSessionService'][_0x9fb1af(0x235)](_0x2991f8),_0x40f9b5=this[_0x9fb1af(0x443)]['createInstance'](_0x233c95,_0x2991f8,_0x2a1418);return _0x40f9b5['init'](),_0x40f9b5;}};_0x25f318=_0x741a0([_0x37c6f8(0x0,_0x23cfa0[_0xf94d15(0x1e2)]),_0x37c6f8(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x37c6f8(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x51ae97[_0xf94d15(0x290)]))],_0x25f318);const _0x1f4157=0x14,_0x45b288=0xc8,_0x41c6c8=0x4,_0x148599=0x5;function _0x25eedc(_0x3a693c,_0x36851c){const _0x1d09a6=_0xf94d15;let {radius:_0x3c8276,width:_0x4887ad,height:_0x3a2951}=_0x36851c;_0x3c8276=_0x3c8276!=null?_0x3c8276:0x0,_0x4887ad=_0x4887ad!=null?_0x4887ad:0x1e,_0x3a2951=_0x3a2951!=null?_0x3a2951:0x1e;let _0x1fa135=0x0,_0x56886b=0x0,_0x135e54=0x0;_0x1fa135=_0x56886b=_0x135e54=Math[_0x1d09a6(0x3a3)](_0x3c8276,_0x4887ad/0x2,_0x3a2951/0x2),_0x3a693c['beginPath'](),_0x3a693c[_0x1d09a6(0x278)](_0x1fa135,0x0),_0x3a693c[_0x1d09a6(0x237)](_0x4887ad-_0x56886b,0x0),_0x3a693c[_0x1d09a6(0x342)](_0x4887ad-_0x56886b,_0x56886b,_0x56886b,Math['PI']*0x3/0x2,0x0,!0x1),_0x3a693c[_0x1d09a6(0x237)](_0x4887ad,_0x3a2951-_0x135e54),_0x3a693c[_0x1d09a6(0x342)](_0x4887ad-_0x135e54,_0x3a2951-_0x135e54,_0x135e54,0x0,Math['PI']/0x2,!0x1),_0x3a693c[_0x1d09a6(0x237)](0x0,_0x3a2951),_0x3a693c[_0x1d09a6(0x237)](0x0,_0x1fa135),_0x3a693c[_0x1d09a6(0x342)](_0x1fa135,_0x1fa135,_0x1fa135,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3a693c[_0x1d09a6(0x321)](),_0x36851c[_0x1d09a6(0x44f)]&&(_0x3a693c['save'](),_0x3a693c['fillStyle']=_0x36851c['fill'],_0x36851c[_0x1d09a6(0x3fe)]==='evenodd'?_0x3a693c[_0x1d09a6(0x44f)]('evenodd'):_0x3a693c[_0x1d09a6(0x44f)](),_0x3a693c[_0x1d09a6(0x2e9)]());}class _0xecd232 extends _0x188338[_0xf94d15(0x35f)]{constructor(_0x223cf5,_0x22d82b){const _0x24e115=_0xf94d15;super(_0x223cf5,_0x22d82b),_0x6a5a04(this,_0x24e115(0x3c5)),_0x6a5a04(this,_0x24e115(0x269)),(this['color']=_0x22d82b==null?void 0x0:_0x22d82b['color'],this['text']=_0x22d82b==null?void 0x0:_0x22d82b[_0x24e115(0x269)]);}static[_0xf94d15(0x2cc)](_0x187364,_0x48980a){const _0x5f4597=_0xf94d15,{text:_0xd3e9cb,color:_0x1f3a8e}=_0x48980a;_0x187364['save'](),_0x187364['font']=_0x5f4597(0x3a5);const _0x5b62f7=_0x187364['measureText'](_0xd3e9cb)[_0x5f4597(0x253)],_0x4a48ae=Math[_0x5f4597(0x3a3)](_0x5b62f7+0x2*_0x41c6c8,_0x45b288);_0x25eedc(_0x187364,{'height':_0x1f4157,'radius':0x4,'width':_0x4a48ae,'fill':_0x1f3a8e}),_0x187364[_0x5f4597(0x2eb)]=_0x5f4597(0x3af);const _0x1a2623=_0x41c6c8,_0x55b623=_0x1f4157-_0x148599,_0x51cfca=_0x45b288-0x2*_0x41c6c8;if(_0x5b62f7>_0x51cfca){let _0x2c59fd='',_0x1d12c6=0x0;for(const _0xa54bb4 of _0xd3e9cb){const _0x46d05c=_0x187364[_0x5f4597(0x32e)](_0xa54bb4)[_0x5f4597(0x253)];if(_0x1d12c6+_0x46d05c<=_0x51cfca-_0x187364[_0x5f4597(0x32e)](_0x5f4597(0x2c3))[_0x5f4597(0x253)])_0x2c59fd+=_0xa54bb4,_0x1d12c6+=_0x46d05c;else{_0x2c59fd+=_0x5f4597(0x2c3);break;}}_0x187364[_0x5f4597(0x2ef)](_0x2c59fd,_0x1a2623,_0x55b623);}else _0x187364[_0x5f4597(0x2ef)](_0xd3e9cb,_0x1a2623,_0x55b623);_0x187364['restore']();}['_draw'](_0x2c7fb0){const _0x5601a8=_0xf94d15;_0xecd232[_0x5601a8(0x2cc)](_0x2c7fb0,this);}}const _0x4e0bd1=_0xf94d15(0x298),_0x1a4fed='collab-text-range-',_0x1a9971=_0xf94d15(0x3b4),_0x159b71=0x6,_0x322e75=1.5,_0x5a4397=0x4,_0x524ec0=1.5,_0x158bc8=_0xf94d15(0x271);class _0x1fb9e2{constructor(_0x470c7f,_0x3a49ba,_0x18397e,_0x39bc3a){const _0x5380c3=_0xf94d15;_0x6a5a04(this,'_shapes',[]),_0x6a5a04(this,_0x5380c3(0x24f),null),_0x6a5a04(this,_0x5380c3(0x1db),null),_0x6a5a04(this,_0x5380c3(0x42d),null),_0x6a5a04(this,_0x5380c3(0x26a),null),_0x6a5a04(this,_0x5380c3(0x2fd),null),(this['_cursor']=_0x470c7f,this[_0x5380c3(0x373)]=_0x3a49ba,this[_0x5380c3(0x2b2)]=_0x18397e,this[_0x5380c3(0x404)]=_0x39bc3a,this[_0x5380c3(0x308)]());}set[_0xf94d15(0x3c6)](_0x1aed78){const _0x1f28c2=_0xf94d15;_0x1aed78?(this['_anchorDot']&&this['_anchorDot'][_0x1f28c2(0x380)](),this[_0x1f28c2(0x1db)]&&this[_0x1f28c2(0x1db)][_0x1f28c2(0x358)]()):(this[_0x1f28c2(0x42d)]&&this[_0x1f28c2(0x42d)][_0x1f28c2(0x358)](),this['_textBubble']&&this['_textBubble'][_0x1f28c2(0x380)]());}[_0xf94d15(0x38a)](){const _0x3ae447=_0xf94d15;for(const _0x4cef29 of this[_0x3ae447(0x217)])_0x4cef29['dispose']();this[_0x3ae447(0x1db)]&&this['_textBubble'][_0x3ae447(0x38a)](),this[_0x3ae447(0x42d)]&&this[_0x3ae447(0x42d)][_0x3ae447(0x38a)](),this[_0x3ae447(0x24f)]&&this[_0x3ae447(0x24f)][_0x3ae447(0x38a)](),this['_eventUnsubscribe']&&this[_0x3ae447(0x2fd)]();}[_0xf94d15(0x308)](){const _0x3e4159=_0xf94d15;var _0x1d735f;const {_docSkeleton:_0xe79ce,_document:_0x26e264}=this,{color:_0x169af4,name:_0x4a32a0,ranges:_0x147fe3}=this[_0x3e4159(0x2d9)],_0x1c2b4c=_0x26e264[_0x3e4159(0x33e)](),{docsLeft:_0x1f1e91,docsTop:_0x7d6c3a}=_0x1c2b4c,_0x5f200b=new _0x27e66a[(_0x3e4159(0x445))](_0x1c2b4c,_0xe79ce);for(const {startOffset:_0x1759fd,endOffset:_0x61d842,rangeType:_0x57c390,segmentId:_0x4110de,segmentPage:_0x38b9d3,collapsed:_0x3f02e3,isActive:_0x4aedae}of _0x147fe3){const _0x2cc1ae=_0xe79ce[_0x3e4159(0x24a)](_0x1759fd,!0x0,_0x4110de,_0x38b9d3);let _0x3e5d86=_0xe79ce[_0x3e4159(0x24a)](_0x61d842,!0x0,_0x4110de,_0x38b9d3);if(_0x3e5d86==null&&(_0x3e5d86=_0xe79ce[_0x3e4159(0x24a)](_0x61d842-0x1,!0x1,_0x4110de,_0x38b9d3)),_0x4aedae){const {contentBoxPointGroup:_0x5459f4}=_0x5f200b[_0x3e4159(0x36e)](_0x3e5d86,_0x3e5d86);if(_0x5459f4[_0x3e4159(0x354)]===0x0)continue;this['_drawAnchor'](_0x169af4,_0x5459f4,_0x1f1e91,_0x7d6c3a,_0x4a32a0),this[_0x3e4159(0x2fd)]=this['_handleHover']();}if(_0x2cc1ae&&_0x3e5d86){if(_0x57c390===_0x23cfa0[_0x3e4159(0x26b)][_0x3e4159(0x456)]){const _0x40c239=new _0x27e66a[(_0x3e4159(0x1f6))](_0x1c2b4c,_0xe79ce),{pointGroup:_0x1be639}=(_0x1d735f=_0x40c239[_0x3e4159(0x36e)](_0x2cc1ae,_0x3e5d86))!=null?_0x1d735f:{};if(_0x1be639==null||_0x1be639[_0x3e4159(0x354)]===0x0)continue;this[_0x3e4159(0x306)](_0x169af4,_0x1be639,_0x1f1e91,_0x7d6c3a);}else{if(!_0x3f02e3){const {borderBoxPointGroup:_0x5aff83}=_0x5f200b[_0x3e4159(0x36e)](_0x2cc1ae,_0x3e5d86);if(_0x5aff83[_0x3e4159(0x354)]===0x0)continue;this[_0x3e4159(0x333)](_0x169af4,_0x5aff83,_0x1f1e91,_0x7d6c3a);}}}}}[_0xf94d15(0x25e)](_0x31e46c,_0x15c0b7,_0x22a981,_0x5d003f,_0x53604d){const _0x4c64ba=_0xf94d15,_0x49b47c=this['_getAnchorBounding'](_0x15c0b7),{left:_0xd84be6,top:_0x55e8eb,height:_0x2624c9}=_0x49b47c,_0x140aad=this['_getScale'](),_0x1ed493=_0x524ec0/_0x140aad,_0x2c3b86=new _0x188338[(_0x4c64ba(0x232))](_0x4e0bd1+_0x23cfa0[_0x4c64ba(0x292)][_0x4c64ba(0x1d0)](_0x159b71),{'left':_0xd84be6+_0x22a981-_0x1ed493,'top':_0x55e8eb+_0x5d003f,'height':_0x2624c9,'width':_0x322e75,'fill':_0x31e46c||_0x188338[_0x4c64ba(0x2c0)](_0x23cfa0[_0x4c64ba(0x346)][_0x4c64ba(0x326)],0x0),'strokeWidth':_0x1ed493,'stroke':_0x158bc8,'evented':!0x0});this[_0x4c64ba(0x24f)]=_0x2c3b86,this[_0x4c64ba(0x373)][_0x4c64ba(0x282)](_0x2c3b86,_0x27e66a[_0x4c64ba(0x3d7)]);const _0x1a432b=new _0x188338['Rect'](_0x4e0bd1+_0x23cfa0['Tools'][_0x4c64ba(0x1d0)](_0x159b71),{'left':_0xd84be6+_0x22a981-_0x1ed493,'top':_0x55e8eb+_0x5d003f-_0x5a4397/0x2,'height':_0x5a4397,'width':_0x5a4397,'fill':_0x31e46c||_0x188338[_0x4c64ba(0x2c0)](_0x23cfa0[_0x4c64ba(0x346)][_0x4c64ba(0x326)],0x0),'strokeWidth':0x0,'stroke':_0x31e46c||_0x188338[_0x4c64ba(0x2c0)](_0x23cfa0[_0x4c64ba(0x346)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x1a432b,this[_0x4c64ba(0x373)]['addObject'](_0x1a432b,_0x27e66a[_0x4c64ba(0x3d7)]);const _0x13acb4=new _0xecd232(_0x4e0bd1+_0x23cfa0['Tools'][_0x4c64ba(0x1d0)](_0x159b71),{'left':_0xd84be6+_0x22a981-_0x1ed493,'top':_0x55e8eb+_0x5d003f-_0x1f4157,'text':_0x53604d,'color':_0x31e46c});this[_0x4c64ba(0x1db)]=_0x13acb4,this[_0x4c64ba(0x373)][_0x4c64ba(0x282)](_0x13acb4,_0x27e66a[_0x4c64ba(0x3d7)]),this['_hover']=!0x1;}[_0xf94d15(0x353)](){const _0x2f0d97=_0xf94d15,_0x3a4b50=this[_0x2f0d97(0x24f)][_0x2f0d97(0x42a)][_0x2f0d97(0x36b)](()=>{const _0x24c731=_0x2f0d97;this[_0x24c731(0x3c6)]=!0x0;}),_0x546f3e=this[_0x2f0d97(0x24f)][_0x2f0d97(0x434)][_0x2f0d97(0x36b)](()=>{const _0x114369=_0x2f0d97;this[_0x114369(0x26a)]&&clearTimeout(this['_hideTimer']),this[_0x114369(0x26a)]=setTimeout(()=>{const _0x30110c=_0x114369;this[_0x30110c(0x3c6)]=!0x1;},0x7d0);});return()=>{const _0x34b7fc=_0x2f0d97;_0x3a4b50[_0x34b7fc(0x2e0)](),_0x546f3e['unsubscribe']();};}['_drawTextRange'](_0x4c2338,_0x5b839b,_0x567092,_0x3b5320){const _0x116d89=_0xf94d15,_0x453c5d=new _0x23cfa0['ColorKit'](_0x4c2338)['setAlpha'](0.2)[_0x116d89(0x37b)](),_0x3d74ad=new _0x188338[(_0x116d89(0x3ff))](_0x1a4fed+_0x23cfa0[_0x116d89(0x292)]['generateRandomId'](_0x159b71),{'pointsGroup':_0x5b839b,'fill':_0x453c5d||_0x188338[_0x116d89(0x2c0)](_0x23cfa0[_0x116d89(0x346)][_0x116d89(0x326)],0.2),'left':_0x567092,'top':_0x3b5320,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x116d89(0x217)][_0x116d89(0x3f2)](_0x3d74ad),this['_scene'][_0x116d89(0x282)](_0x3d74ad,_0x27e66a[_0x116d89(0x3d7)]);}[_0xf94d15(0x306)](_0x125046,_0x44ea59,_0x34732d,_0x34810a){const _0x3c26b=_0xf94d15,_0x2cdd71=new _0x23cfa0[(_0x3c26b(0x374))](_0x125046)['setAlpha'](0.2)['toRgbString'](),_0xb39310=new _0x188338['RegularPolygon'](_0x1a9971+_0x23cfa0[_0x3c26b(0x292)][_0x3c26b(0x1d0)](_0x159b71),{'pointsGroup':_0x44ea59,'fill':_0x2cdd71||_0x188338[_0x3c26b(0x2c0)](_0x23cfa0['COLORS'][_0x3c26b(0x326)],0.2),'left':_0x34732d,'top':_0x34810a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c26b(0x217)][_0x3c26b(0x3f2)](_0xb39310),this[_0x3c26b(0x373)]['addObject'](_0xb39310,_0x27e66a[_0x3c26b(0x3d7)]);}['_getAnchorBounding'](_0x51eb7b){const _0x47798c=_0x51eb7b[0x0],_0x1cd65f=_0x47798c[0x0],_0x2ac5ca=_0x47798c[0x2],{x:_0x24be0b,y:_0x369d4d}=_0x1cd65f,{x:_0x3bbf73,y:_0x3c80f3}=_0x2ac5ca;return{'left':_0x24be0b,'top':_0x369d4d,'width':_0x3bbf73-_0x24be0b,'height':_0x3c80f3-_0x369d4d};}[_0xf94d15(0x398)](){const _0x2dfc90=_0xf94d15,{scaleX:_0x2821af,scaleY:_0x44a808}=this[_0x2dfc90(0x373)][_0x2dfc90(0x1ee)]();return Math[_0x2dfc90(0x3cc)](_0x2821af,_0x44a808);}}var _0x4cdce1=Object[_0xf94d15(0x1e6)],_0x404b2e=(_0x3b82c6,_0x58576a,_0x4c2632,_0x8aab46)=>{const _0x5e727b=_0xf94d15;for(var _0x52d9e7=_0x8aab46>0x1?void 0x0:_0x8aab46?_0x4cdce1(_0x58576a,_0x4c2632):_0x58576a,_0x105a51=_0x3b82c6[_0x5e727b(0x354)]-0x1,_0x2b8a16;_0x105a51>=0x0;_0x105a51--)(_0x2b8a16=_0x3b82c6[_0x105a51])&&(_0x52d9e7=_0x2b8a16(_0x52d9e7)||_0x52d9e7);return _0x52d9e7;},_0x54c413=(_0x3d1290,_0x337afd)=>(_0x5d1596,_0x4ef8b6)=>_0x337afd(_0x5d1596,_0x4ef8b6,_0x3d1290);let _0x2cdf34=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x5895ec,_0x16dfb8,_0x59ef41,_0x5c656a,_0x22354c){const _0x3e07b0=_0xf94d15;super(),_0x6a5a04(this,_0x3e07b0(0x3cf),[]),_0x6a5a04(this,_0x3e07b0(0x1d3),[]),(this[_0x3e07b0(0x26c)]=_0x5895ec,this[_0x3e07b0(0x21b)]=_0x16dfb8,this[_0x3e07b0(0x428)]=_0x59ef41,this['_commandService']=_0x5c656a,this[_0x3e07b0(0x3e9)]=_0x22354c,this[_0x3e07b0(0x32b)]());}['_init'](){const _0x30bbac=_0xf94d15,_0x4126ca=this[_0x30bbac(0x26c)]['unitId'],_0x3f30ea=this[_0x30bbac(0x21b)];this[_0x30bbac(0x340)](_0x1425de['combineLatest']([this[_0x30bbac(0x428)][_0x30bbac(0x287)](_0x4126ca),this[_0x30bbac(0x3e9)][_0x30bbac(0x368)]])[_0x30bbac(0x41e)](_0x209049[_0x30bbac(0x2c9)](([_0x3b0ce0,_0x491391])=>({'skeleton':_0x3f30ea[_0x30bbac(0x256)](),'cursors':[..._0x3b0ce0[_0x30bbac(0x2cb)]()][_0x30bbac(0x305)](_0x22b647=>({..._0x22b647,'color':this[_0x30bbac(0x3e9)][_0x30bbac(0x355)](_0x22b647[_0x30bbac(0x3c5)])}))})))[_0x30bbac(0x2a8)](_0x923b88=>{const _0xad3a6f=_0x30bbac;if(this[_0xad3a6f(0x252)](),_0x923b88){const {skeleton:_0x36d95a,cursors:_0x4349ff}=_0x923b88;this[_0xad3a6f(0x3df)](_0x36d95a,_0x4349ff);}})),this[_0x30bbac(0x24e)](),this[_0x30bbac(0x406)]();}[_0xf94d15(0x3df)](_0x5ea4ed,_0x1dcdba){const _0x2086bc=_0xf94d15,{scene:_0xaa52e8,mainComponent:_0x3ac5d0}=this[_0x2086bc(0x26c)],_0x5113d4=_0x1dcdba[_0x2086bc(0x2c9)](_0x577ba9=>new _0x1fb9e2(_0x577ba9,_0xaa52e8,_0x5ea4ed,_0x3ac5d0));this['_cursorShapes']=_0x5113d4,this['_cursors']=_0x1dcdba;}['_refreshCollabCursors'](){const _0x29345d=_0xf94d15;this[_0x29345d(0x252)]();const {scene:_0x482b2d,mainComponent:_0x289c27}=this['_context'],_0xbe612a=this[_0x29345d(0x21b)][_0x29345d(0x256)](),_0x4223a9=this[_0x29345d(0x1d3)]['map'](_0x1e5130=>new _0x1fb9e2(_0x1e5130,_0x482b2d,_0xbe612a,_0x289c27));this[_0x29345d(0x3cf)]=_0x4223a9;}['_removeCollabCursors'](){const _0x41f21f=_0xf94d15;this[_0x41f21f(0x3cf)][_0x41f21f(0x403)](_0x36d722=>_0x36d722[_0x41f21f(0x38a)]()),this[_0x41f21f(0x3cf)]=[];}[_0xf94d15(0x406)](){const _0x16cb1e=_0xf94d15,_0xe2ba60=[_0x27e66a[_0x16cb1e(0x352)]['id']];this[_0x16cb1e(0x340)](this[_0x16cb1e(0x1cd)][_0x16cb1e(0x43e)](_0x48cc44=>{const _0x33618e=_0x16cb1e;_0xe2ba60[_0x33618e(0x36f)](_0x48cc44['id'])&&_0x48cc44[_0x33618e(0x41f)][_0x33618e(0x2b0)]===this[_0x33618e(0x26c)][_0x33618e(0x2b0)]&&this[_0x33618e(0x37f)]();}));}['_initResize'](){const _0x30b182=_0xf94d15;this[_0x30b182(0x340)](_0x23cfa0[_0x30b182(0x3c2)](this[_0x30b182(0x26c)]['engine'][_0x30b182(0x204)])[_0x30b182(0x41e)](_0x209049[_0x30b182(0x3f6)](_0x49844c=>_0x49844c['type']===_0x188338['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x209049[_0x30b182(0x32d)](0x10))[_0x30b182(0x2a8)](()=>{this['_refreshCollabCursors']();}));}};_0x2cdf34=_0x404b2e([_0x54c413(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x3bc28d['DocSkeletonManagerService'])),_0x54c413(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x25f318)),_0x54c413(0x3,_0x23cfa0[_0xf94d15(0x1e7)]),_0x54c413(0x4,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['ThemeService']))],_0x2cdf34);const _0x18c963=0x1,_0x43d030=1.5;class _0xc78d6d extends _0x188338['Shape']{constructor(_0x45f962,_0x443167){const _0x491350=_0xf94d15;super(_0x45f962,_0x443167),_0x6a5a04(this,_0x491350(0x397)),_0x6a5a04(this,_0x491350(0x409),!0x1),_0x6a5a04(this,_0x491350(0x437)),_0x6a5a04(this,_0x491350(0x3a8),''),_0x6a5a04(this,_0x491350(0x39b),_0x491350(0x1fe)),_0x6a5a04(this,'_backgroundColor'),(_0x443167&&this[_0x491350(0x30e)](_0x443167),this[_0x491350(0x42a)][_0x491350(0x36b)](()=>this[_0x491350(0x30e)]({'hovered':!0x0})),this[_0x491350(0x434)][_0x491350(0x36b)](()=>this[_0x491350(0x30e)]({'hovered':!0x1})));}[_0xf94d15(0x30e)](_0x32b2b0){const _0x52ad3a=_0xf94d15;var _0x5734a7,_0x584a87,_0x329346,_0x247ebe,_0x5060aa,_0x2b5b11;this[_0x52ad3a(0x397)]=(_0x5734a7=_0x32b2b0[_0x52ad3a(0x3c5)])!=null?_0x5734a7:this[_0x52ad3a(0x397)],this[_0x52ad3a(0x409)]=(_0x584a87=_0x32b2b0['hovered'])!=null?_0x584a87:this['_hovered'],this[_0x52ad3a(0x437)]=(_0x329346=_0x32b2b0['range'])!=null?_0x329346:this['_range'],this[_0x52ad3a(0x3a8)]=(_0x247ebe=_0x32b2b0[_0x52ad3a(0x320)])!=null?_0x247ebe:this[_0x52ad3a(0x3a8)],this['_labelPosition']=(_0x5060aa=_0x32b2b0[_0x52ad3a(0x343)])!=null?_0x5060aa:this[_0x52ad3a(0x39b)],this[_0x52ad3a(0x1cc)]=(_0x2b5b11=_0x32b2b0[_0x52ad3a(0x205)])!=null?_0x2b5b11:this[_0x52ad3a(0x1cc)],this['transformByState']({'width':_0x32b2b0['width'],'height':_0x32b2b0[_0x52ad3a(0x3ed)]});}['onMouseMove'](_0x5300a1){const _0x3880b2=_0xf94d15,{row:_0xeab663,column:_0x354853}=_0x5300a1;if(_0xeab663>=this[_0x3880b2(0x437)][_0x3880b2(0x1e0)]&&_0xeab663<=this['_range']['endRow']&&_0x354853>=this[_0x3880b2(0x437)][_0x3880b2(0x2a1)]&&_0x354853<=this['_range']['endColumn']){this[_0x3880b2(0x30e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x49897b){return!0x1;}[_0xf94d15(0x286)](_0x4b05f1){const _0x57644f=_0xf94d15;_0x188338[_0x57644f(0x232)][_0x57644f(0x2cc)](_0x4b05f1,{'width':this[_0x57644f(0x253)],'height':this[_0x57644f(0x3ed)],'strokeWidth':_0x43d030,'stroke':this[_0x57644f(0x397)],'evented':!0x1,'fill':this[_0x57644f(0x1cc)]}),this[_0x57644f(0x409)]&&(_0x4b05f1[_0x57644f(0x1cf)](),_0x4b05f1[_0x57644f(0x2ee)](0x1,0x0,0x0,0x1,this['width'],this[_0x57644f(0x39b)]==='bottom'?0x0:-0x14),_0xecd232[_0x57644f(0x2cc)](_0x4b05f1,{'text':this[_0x57644f(0x3a8)],'color':this[_0x57644f(0x397)]}),_0x4b05f1['restore']());}}var _0x19305e=Object[_0xf94d15(0x1e6)],_0x17d1cb=(_0x2f0598,_0x24a2cd,_0x47a20b,_0x38abbd)=>{for(var _0x116a86=_0x38abbd>0x1?void 0x0:_0x38abbd?_0x19305e(_0x24a2cd,_0x47a20b):_0x24a2cd,_0x5a4b72=_0x2f0598['length']-0x1,_0x45b8a4;_0x5a4b72>=0x0;_0x5a4b72--)(_0x45b8a4=_0x2f0598[_0x5a4b72])&&(_0x116a86=_0x45b8a4(_0x116a86)||_0x116a86);return _0x116a86;},_0x4e06da=(_0x29681e,_0x26273f)=>(_0x2b0f2f,_0x4ea98d)=>_0x26273f(_0x2b0f2f,_0x4ea98d,_0x29681e);const _0x1459d4=0x1389;let _0x52df86=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x33870b,_0x39b44b,_0x2ce899,_0x405d46){const _0x2f7e50=_0xf94d15;super(),_0x6a5a04(this,_0x2f7e50(0x1d3),new Set()),_0x6a5a04(this,_0x2f7e50(0x3aa),null),(this[_0x2f7e50(0x26c)]=_0x33870b,this[_0x2f7e50(0x3e1)]=_0x39b44b,this[_0x2f7e50(0x428)]=_0x2ce899,this[_0x2f7e50(0x3e9)]=_0x405d46,this['_init']());}[_0xf94d15(0x32b)](){const _0x319b9e=_0xf94d15;this['_sheetSkeletonManagerService'][_0x319b9e(0x356)][_0x319b9e(0x41e)](_0x209049[_0x319b9e(0x3e4)](this['dispose$']),_0x209049[_0x319b9e(0x31f)](_0x1664bc=>{const _0x3cf3a1=_0x319b9e;if(_0x1664bc){const _0x51c4be=_0x1664bc[_0x3cf3a1(0x3d1)];return _0x1425de[_0x3cf3a1(0x242)](this[_0x3cf3a1(0x428)]['getCollabCursors$'](this[_0x3cf3a1(0x26c)][_0x3cf3a1(0x2b0)]),this[_0x3cf3a1(0x3e9)][_0x3cf3a1(0x368)])['pipe'](_0x209049[_0x3cf3a1(0x2c9)](([_0xdd719c,_0x3e229a])=>{const _0x3f4174=_0x3cf3a1,_0x1af66c=new Map();return _0xdd719c[_0x3f4174(0x403)]((_0x3b93dd,_0xe94e25)=>{const _0x54a86f=_0x3f4174;if(_0x3b93dd[_0x54a86f(0x335)]===_0x51c4be){const _0x35eef5={..._0x3b93dd};_0x35eef5[_0x54a86f(0x3c5)]=this['_themeService'][_0x54a86f(0x355)](_0x3b93dd['color']),_0x1af66c[_0x54a86f(0x429)](_0xe94e25,_0x35eef5);}}),{'skeleton':_0x1664bc,'cursors':_0x1af66c};}));}return _0x1425de['of']({'skeleton':null,'cursors':new Map()});}))[_0x319b9e(0x2a8)](({skeleton:_0x2c9884,cursors:_0x245a31})=>{const _0x54daaf=_0x319b9e;this[_0x54daaf(0x252)](),_0x2c9884&&this[_0x54daaf(0x3df)](_0x2c9884,_0x245a31);}),this[_0x319b9e(0x3e1)]['currentSkeleton$'][_0x319b9e(0x2a8)](_0x22ef2c=>{const _0x51e597=_0x319b9e;if(_0x22ef2c==null)return;const {skeleton:_0x1c4d0c}=_0x22ef2c,{scene:_0x26c5f1}=this[_0x51e597(0x26c)];_0x26c5f1[_0x51e597(0x3d6)][_0x51e597(0x36b)](_0x23cfa0[_0x51e597(0x24d)](_0x12fa83=>{const _0x28242f=_0x51e597;var _0x36e479,_0x26c567;const {offsetX:_0xdd4a1,offsetY:_0x34bc7a}=_0x12fa83,{x:_0x4c28bb,y:_0x53e367}=_0x26c5f1['getRelativeToViewportCoord'](_0x188338[_0x28242f(0x3ef)]['FromArray']([_0xdd4a1,_0x34bc7a])),{scaleX:_0x291fe3,scaleY:_0x2e3abb}=_0x26c5f1['getAncestorScale'](),_0x4a0419=_0x26c5f1[_0x28242f(0x33a)](_0x188338[_0x28242f(0x28a)]['VIEW_MAIN']),_0x41f126=_0x26c5f1[_0x28242f(0x2a9)](_0x188338[_0x28242f(0x3ef)][_0x28242f(0x21e)]([_0x4c28bb,_0x53e367]),_0x4a0419),_0x5e08cd=_0x1c4d0c[_0x28242f(0x2b3)](_0xdd4a1,_0x34bc7a,_0x291fe3,_0x2e3abb,_0x41f126);((_0x36e479=this[_0x28242f(0x3aa)])==null?void 0x0:_0x36e479['column'])===_0x5e08cd[_0x28242f(0x2d5)]&&((_0x26c567=this[_0x28242f(0x3aa)])==null?void 0x0:_0x26c567[_0x28242f(0x383)])===_0x5e08cd[_0x28242f(0x383)]||this[_0x28242f(0x1d3)]['forEach'](_0x484f83=>{const _0x59f5f4=_0x28242f;_0x484f83[_0x59f5f4(0x206)](_0x5e08cd);});},0x64));});}[_0xf94d15(0x3df)](_0x40f333,_0x1d090d){const _0x4bf322=_0xf94d15;var _0x3efc7f;const _0x31cad4=(_0x3efc7f=this[_0x4bf322(0x3e1)][_0x4bf322(0x3ce)]())==null?void 0x0:_0x3efc7f[_0x4bf322(0x3ca)];if(!_0x31cad4)return;const _0x21fba0=this[_0x4bf322(0x324)]();if(!_0x21fba0)return;this[_0x4bf322(0x1d3)][_0x4bf322(0x403)](_0x2227b8=>{const _0xd25706=_0x4bf322;_0x2227b8[_0xd25706(0x34b)]();});const {scene:_0x4d3eb6}=_0x21fba0,_0x50ad3d=_0x125353(Array[_0x4bf322(0x2d0)](_0x1d090d[_0x4bf322(0x2cb)]()))[_0x4bf322(0x2c9)](_0x1ceb38=>{const _0x5f4b87=_0x4bf322,{color:_0x114f67,range:_0x3d503c,name:_0x4ceca5,selection:_0x58a6e5,sheetID:_0x7ceef7}=_0x1ceb38,{startColumn:_0x565063,startRow:_0x149634,endColumn:_0x364f62,endRow:_0x28003c}=_0x3d503c,_0xab949b=_0x270a77[_0x5f4b87(0x35d)](_0x149634,_0x565063,_0x4d3eb6,_0x31cad4),_0x45d1ea=_0x270a77['getCoordByCell'](_0x28003c,_0x364f62,_0x4d3eb6,_0x31cad4),{columnHeaderHeightAndMarginTop:_0x231624}=_0x31cad4,{startX:_0x4f3fa0,startY:_0x29fb16}=_0xab949b,{endX:_0x98c5b1,endY:_0x1dbb12}=_0x45d1ea,_0x1f23b5=_0x98c5b1-_0x4f3fa0,_0x5b678b=_0x1dbb12-_0x29fb16,_0x2b226d={'labelPosition':_0x29fb16-_0x231624>=_0x1f4157?'top':_0x5f4b87(0x454),'sheetID':_0x7ceef7,'range':_0x3d503c,'color':_0x114f67,'name':_0x4ceca5,'selection':_0x58a6e5,'left':_0x4f3fa0,'top':_0x29fb16,'width':_0x1f23b5,'height':_0x5b678b,'evented':!0x1,'zIndex':_0x1459d4};return new _0xc78d6d(_0x4ceca5,_0x2b226d);});_0x4d3eb6[_0x4bf322(0x210)](_0x50ad3d,_0x18c963),this[_0x4bf322(0x1d3)]=new Set(_0x50ad3d);}[_0xf94d15(0x252)](){const _0x3f7d88=_0xf94d15;var _0x3decf5;(_0x3decf5=this[_0x3f7d88(0x1d3)])==null||_0x3decf5[_0x3f7d88(0x403)](_0x62825a=>_0x62825a[_0x3f7d88(0x38a)]());}[_0xf94d15(0x324)](){const _0x2c7833=_0xf94d15;return _0x270a77['getSheetObject'](this[_0x2c7833(0x26c)]['unit'],this['_context']);}};_0x52df86=_0x17d1cb([_0x4e06da(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x270a77[_0xf94d15(0x2ad)])),_0x4e06da(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x25f318)),_0x4e06da(0x3,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x3be)]))],_0x52df86);function _0x125353(_0xfd6f08){const _0x3b5fb1=_0xf94d15,_0x3a6e38=new Map();return _0xfd6f08['forEach'](_0x5d10c2=>{const _0x2b2d4d=_0x3464;if(_0x3a6e38[_0x2b2d4d(0x3a2)](_0x5d10c2['selection'])){const _0x43ff14=_0x3a6e38[_0x2b2d4d(0x417)](_0x5d10c2[_0x2b2d4d(0x37e)]);_0x43ff14[_0x2b2d4d(0x320)]+=',\x20'+_0x5d10c2[_0x2b2d4d(0x320)];}else _0x3a6e38[_0x2b2d4d(0x429)](_0x5d10c2['selection'],_0x5d10c2);}),Array[_0x3b5fb1(0x2d0)](_0x3a6e38[_0x3b5fb1(0x2cb)]());}var _0x583c7e=function(){const _0x50a864=_0xf94d15;return _0x583c7e=Object[_0x50a864(0x267)]||function(_0x32c16c){const _0x524a5c=_0x50a864;for(var _0x5e3e50,_0xec1648=0x1,_0x5b0a81=arguments['length'];_0xec1648<_0x5b0a81;_0xec1648++){_0x5e3e50=arguments[_0xec1648];for(var _0x2bf859 in _0x5e3e50)Object[_0x524a5c(0x376)][_0x524a5c(0x413)]['call'](_0x5e3e50,_0x2bf859)&&(_0x32c16c[_0x2bf859]=_0x5e3e50[_0x2bf859]);}return _0x32c16c;},_0x583c7e[_0x50a864(0x362)](this,arguments);},_0x53520e=function(_0x4e7a62,_0x52a7ad){const _0x360d69=_0xf94d15;var _0x30c017={};for(var _0x394c22 in _0x4e7a62)Object['prototype'][_0x360d69(0x413)][_0x360d69(0x1d6)](_0x4e7a62,_0x394c22)&&_0x52a7ad['indexOf'](_0x394c22)<0x0&&(_0x30c017[_0x394c22]=_0x4e7a62[_0x394c22]);if(_0x4e7a62!=null&&typeof Object[_0x360d69(0x254)]==_0x360d69(0x301)){for(var _0x2becbf=0x0,_0x394c22=Object[_0x360d69(0x254)](_0x4e7a62);_0x2becbf<_0x394c22[_0x360d69(0x354)];_0x2becbf++)_0x52a7ad['indexOf'](_0x394c22[_0x2becbf])<0x0&&Object[_0x360d69(0x376)][_0x360d69(0x3f3)]['call'](_0x4e7a62,_0x394c22[_0x2becbf])&&(_0x30c017[_0x394c22[_0x2becbf]]=_0x4e7a62[_0x394c22[_0x2becbf]]);}return _0x30c017;},_0x2fefef=_0x5c9659[_0xf94d15(0x35a)](function(_0x123ab7,_0x1ad9e1){const _0x356905=_0xf94d15;var _0x2f6353=_0x123ab7[_0x356905(0x25c)],_0x2f85af=_0x123ab7['id'],_0x7502e=_0x123ab7[_0x356905(0x2b4)],_0x38c11c=_0x123ab7['extend'],_0x5c04fa=_0x53520e(_0x123ab7,[_0x356905(0x25c),'id','className',_0x356905(0x2c4)]),_0x17b13d=_0x356905(0x21a)[_0x356905(0x344)](_0x2f85af,'\x20')[_0x356905(0x344)](_0x7502e||'')[_0x356905(0x40a)](),_0x95e816=_0x5c9659[_0x356905(0x337)]('_'['concat'](_0x518d95()));return _0x458c67(_0x2f6353,''['concat'](_0x2f85af),{'defIds':_0x2f6353['defIds'],'idSuffix':_0x95e816['current']},_0x583c7e({'ref':_0x1ad9e1,'className':_0x17b13d},_0x5c04fa),_0x38c11c);});function _0x458c67(_0x4aaef4,_0x566bff,_0x3572a2,_0x82c970,_0x5926b2){const _0x28560b=_0xf94d15;return _0x5c9659[_0x28560b(0x3ad)](_0x4aaef4[_0x28560b(0x203)],_0x583c7e(_0x583c7e({'key':_0x566bff},_0xfe14ea(_0x4aaef4,_0x3572a2,_0x5926b2)),_0x82c970),(_0x3d670a(_0x4aaef4,_0x3572a2)['children']||[])[_0x28560b(0x2c9)](function(_0x3ab1ad,_0x39ee3c){const _0x5f1af1=_0x28560b;return _0x458c67(_0x3ab1ad,''[_0x5f1af1(0x344)](_0x566bff,'-')[_0x5f1af1(0x344)](_0x4aaef4[_0x5f1af1(0x203)],'-')[_0x5f1af1(0x344)](_0x39ee3c),_0x3572a2,void 0x0,_0x5926b2);}));}function _0xfe14ea(_0xe1cb0,_0x6a961c,_0x3d8222){const _0x50615d=_0xf94d15;var _0x54db4c=_0x583c7e({},_0xe1cb0[_0x50615d(0x3eb)]);_0x3d8222!=null&&_0x3d8222['colorChannel1']&&_0x54db4c[_0x50615d(0x44f)]===_0x50615d(0x3b3)&&(_0x54db4c[_0x50615d(0x44f)]=_0x3d8222[_0x50615d(0x3b3)]),_0xe1cb0[_0x50615d(0x203)]==='mask'&&_0x54db4c['id']&&(_0x54db4c['id']=_0x54db4c['id']+_0x6a961c[_0x50615d(0x281)]),Object[_0x50615d(0x44b)](_0x54db4c)[_0x50615d(0x403)](function(_0x416d2e){const _0x153ee3=_0x50615d;var _0x4fe5b9=_0x416d2e[0x0],_0x453ea2=_0x416d2e[0x1];_0x4fe5b9===_0x153ee3(0x239)&&typeof _0x453ea2==_0x153ee3(0x230)&&(_0x54db4c[_0x4fe5b9]=_0x453ea2[_0x153ee3(0x3a7)](/url\(#(.*)\)/,_0x153ee3(0x1eb)[_0x153ee3(0x344)](_0x6a961c['idSuffix'],')')));});var _0x4bb5c0=_0x6a961c[_0x50615d(0x2c1)];return!_0x4bb5c0||_0x4bb5c0[_0x50615d(0x354)]===0x0||(_0xe1cb0[_0x50615d(0x203)]==='use'&&_0x54db4c[_0x50615d(0x3a9)]&&(_0x54db4c[_0x50615d(0x3a9)]=_0x54db4c[_0x50615d(0x3a9)]+_0x6a961c[_0x50615d(0x281)]),Object[_0x50615d(0x44b)](_0x54db4c)['forEach'](function(_0x161ff3){const _0x5c0983=_0x50615d;var _0xc0850e=_0x161ff3[0x0],_0x9c8957=_0x161ff3[0x1];typeof _0x9c8957==_0x5c0983(0x230)&&(_0x54db4c[_0xc0850e]=_0x9c8957[_0x5c0983(0x3a7)](/url\(#(.*)\)/,_0x5c0983(0x1eb)[_0x5c0983(0x344)](_0x6a961c[_0x5c0983(0x281)],')')));})),_0x54db4c;}function _0x3d670a(_0x3569e3,_0xff54d8){const _0x3fa596=_0xf94d15;var _0x3a334d,_0x5f22f5=_0xff54d8[_0x3fa596(0x2c1)];return!_0x5f22f5||_0x5f22f5['length']===0x0?_0x3569e3:_0x3569e3[_0x3fa596(0x203)]===_0x3fa596(0x33c)&&(!((_0x3a334d=_0x3569e3['children'])===null||_0x3a334d===void 0x0)&&_0x3a334d[_0x3fa596(0x354)])?_0x583c7e(_0x583c7e({},_0x3569e3),{'children':_0x3569e3[_0x3fa596(0x23b)][_0x3fa596(0x2c9)](function(_0x3eea02){const _0x3331d3=_0x3fa596;return typeof _0x3eea02[_0x3331d3(0x3eb)]['id']=='string'&&_0x5f22f5&&_0x5f22f5[_0x3331d3(0x36f)](_0x3eea02[_0x3331d3(0x3eb)]['id'])?_0x583c7e(_0x583c7e({},_0x3eea02),{'attrs':_0x583c7e(_0x583c7e({},_0x3eea02[_0x3331d3(0x3eb)]),{'id':_0x3eea02[_0x3331d3(0x3eb)]['id']+_0xff54d8[_0x3331d3(0x281)]})}):_0x3eea02;})}):_0x3569e3;}function _0x518d95(){const _0x24840d=_0xf94d15;return Math[_0x24840d(0x3f9)]()[_0x24840d(0x29b)](0x24)[_0x24840d(0x1e8)](0x2,0x8);}_0x2fefef['displayName']=_0xf94d15(0x30d);var _0x1a66ea={'tag':'svg','attrs':{'xmlns':_0xf94d15(0x284),'fill':_0xf94d15(0x1ef),'viewBox':_0xf94d15(0x248),'width':'1em','height':_0xf94d15(0x3d0)},'children':[{'tag':'g','attrs':{'clipPath':_0xf94d15(0x427)},'children':[{'tag':_0xf94d15(0x412),'attrs':{'stroke':_0xf94d15(0x407),'d':_0xf94d15(0x2ec),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xf94d15(0x33c),'attrs':{},'children':[{'tag':_0xf94d15(0x1d9),'attrs':{'id':_0xf94d15(0x2bf)},'children':[{'tag':_0xf94d15(0x412),'attrs':{'fill':_0xf94d15(0x236),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xf94d15(0x2bf)]},_0x5619c8=_0x5c9659[_0xf94d15(0x35a)](function(_0x405195,_0xc4a747){const _0x3ce182=_0xf94d15;return _0x5c9659[_0x3ce182(0x3ad)](_0x2fefef,Object[_0x3ce182(0x267)]({},_0x405195,{'id':'off-line-icon','ref':_0xc4a747,'icon':_0x1a66ea}));});_0x5619c8[_0xf94d15(0x3f4)]='OffLineIcon';var _0x9acae7={'tag':_0xf94d15(0x22a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xf94d15(0x1ef),'viewBox':_0xf94d15(0x458),'width':_0xf94d15(0x3d0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xf94d15(0x369)},'children':[{'tag':_0xf94d15(0x412),'attrs':{'stroke':_0xf94d15(0x407),'d':_0xf94d15(0x38c),'strokeLinecap':_0xf94d15(0x3d3),'strokeLinejoin':_0xf94d15(0x3d3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0xf94d15(0x412),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0xf94d15(0x3ee)}}]}]}],'defIds':[_0xf94d15(0x37c)]},_0x59910e=_0x5c9659[_0xf94d15(0x35a)](function(_0x22f919,_0x141b48){const _0x2a7dbd=_0xf94d15;return _0x5c9659[_0x2a7dbd(0x3ad)](_0x2fefef,Object[_0x2a7dbd(0x267)]({},_0x22f919,{'id':_0x2a7dbd(0x359),'ref':_0x141b48,'icon':_0x9acae7}));});_0x59910e[_0xf94d15(0x3f4)]=_0xf94d15(0x40f);function _0x10cca3(_0x9b94e1){const _0x82ab13=_0xf94d15;switch(_0x9b94e1){case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x431)]:return _0x82ab13(0x2f1);case _0x51ae97['CollaborationStatus'][_0x82ab13(0x2f0)]:return'collabStatus.conflict';case _0x51ae97['CollaborationStatus'][_0x82ab13(0x44e)]:return'collabStatus.fetchMiss';case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x390)]:return _0x82ab13(0x250);case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x22b)]:case _0x51ae97[_0x82ab13(0x29a)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x3b7)]:case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x2d2)]:return'collabStatus.synced';}}function _0x2e9e93(_0x3f17fc){const _0x46a52f=_0xf94d15,{status$:_0x127d63}=_0x3f17fc,_0x3bf810=_0x30ac71['useObservable'](_0x127d63,_0x51ae97['CollaborationStatus'][_0x46a52f(0x390)]),_0x12a675=_0x30ac71[_0x46a52f(0x388)](_0x23cfa0['LocaleService']),_0x92a82f=_0x30ac71[_0x46a52f(0x388)](_0x51ae97['CollaborationSessionService']),_0x41b17c=_0x3bf810!==_0x51ae97['CollaborationStatus'][_0x46a52f(0x431)],_0x500c43=_0x12a675['t'](_0x10cca3(_0x3bf810)),_0x2be410=_0x41b17c?_0x561a21[_0x46a52f(0x3ea)](_0x59910e,{}):_0x561a21[_0x46a52f(0x3ea)](_0x5619c8,{}),_0x8d876f=_0x5c9659['useCallback'](()=>{const _0x449aaf=_0x46a52f;_0x41b17c||_0x92a82f[_0x449aaf(0x2e5)]();},[_0x41b17c,_0x92a82f]);function _0x274c73(){const _0x5f4c60=_0x46a52f;return _0x561a21[_0x5f4c60(0x313)](_0x5f4c60(0x3f8),{'className':_0x5f4c60(0x433),'onClick':_0x8d876f,'children':[_0x561a21[_0x5f4c60(0x3ea)](_0x5f4c60(0x3f8),{'className':_0x306647[_0x5f4c60(0x323)](_0x5f4c60(0x36c),{'univer-text-green-500':_0x41b17c,'univer-text-red-500':!_0x41b17c}),'children':_0x2be410}),_0x561a21[_0x5f4c60(0x3ea)](_0x5f4c60(0x3f8),{'className':_0x5f4c60(0x2aa),'children':_0x500c43})]});}return _0x41b17c?_0x274c73():_0x561a21['jsx'](_0x306647[_0x46a52f(0x215)],{'title':_0x12a675['t'](_0x46a52f(0x1de)),'children':_0x274c73()});}var _0x40ceb2=Object[_0xf94d15(0x1e6)],_0x1472d7=(_0x3cdb47,_0xe87add,_0x3f6f03,_0x1bbd96)=>{for(var _0x33bf18=_0x1bbd96>0x1?void 0x0:_0x1bbd96?_0x40ceb2(_0xe87add,_0x3f6f03):_0xe87add,_0x38beb4=_0x3cdb47['length']-0x1,_0x10816e;_0x38beb4>=0x0;_0x38beb4--)(_0x10816e=_0x3cdb47[_0x38beb4])&&(_0x33bf18=_0x10816e(_0x33bf18)||_0x33bf18);return _0x33bf18;},_0x139792=(_0x2ec350,_0x370504)=>(_0x3732a3,_0x1f3075)=>_0x370504(_0x3732a3,_0x1f3075,_0x2ec350);_0x4cf9f1['DesktopCollaborationStatusDisplayController']=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0xd609b5,_0x308ffc,_0x4a01c5,_0x15590b){const _0x69da9e=_0xf94d15;super(),_0x6a5a04(this,'_status$',new _0x1425de[(_0x69da9e(0x41c))](_0x51ae97[_0x69da9e(0x29a)]['NOT_COLLAB'])),(this[_0x69da9e(0x30c)]=_0xd609b5,this[_0x69da9e(0x443)]=_0x308ffc,this[_0x69da9e(0x2a3)]=_0x4a01c5,this[_0x69da9e(0x2d4)]=_0x15590b,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xf94d15(0x318)](){const _0x12f556=_0xf94d15;this[_0x12f556(0x340)](this[_0x12f556(0x30c)][_0x12f556(0x276)]['pipe'](_0x1425de['switchMap'](()=>{const _0x337996=_0x12f556,_0x206751=this['_univerInstanceService'][_0x337996(0x200)]();return _0x206751?this[_0x337996(0x2a3)]['getCollabEntity$'](_0x206751['getUnitId']()):_0x1425de['of'](null);}),_0x1425de['switchMap'](_0x558e24=>_0x558e24?_0x558e24[_0x12f556(0x425)]:_0x1425de['of'](_0x51ae97[_0x12f556(0x29a)][_0x12f556(0x390)])))[_0x12f556(0x2a8)](_0x3a542c=>{const _0x12152c=_0x12f556;this[_0x12152c(0x3c0)]['next'](_0x3a542c);}));}[_0xf94d15(0x277)](){const _0x38603a=_0xf94d15;this[_0x38603a(0x340)](this[_0x38603a(0x2d4)][_0x38603a(0x39c)](_0x30ac71['BuiltInUIPart'][_0x38603a(0x451)],()=>_0x30ac71[_0x38603a(0x364)](_0x28a571({'status$':this[_0x38603a(0x3c0)][_0x38603a(0x27c)]()}),this[_0x38603a(0x443)])));}},_0x4cf9f1[_0xf94d15(0x2d7)]=_0x1472d7([_0x139792(0x0,_0x23cfa0[_0xf94d15(0x1e2)]),_0x139792(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x139792(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x51ae97[_0xf94d15(0x29d)])),_0x139792(0x3,_0x30ac71[_0xf94d15(0x400)])],_0x4cf9f1[_0xf94d15(0x2d7)]);function _0x28a571(_0x2e39c4){const {status$:_0x13961c}=_0x2e39c4;return function(){const _0x1de963=_0x3464;return _0x561a21[_0x1de963(0x3ea)](_0x2e9e93,{'status$':_0x13961c});};}var _0x4dcd49=Object[_0xf94d15(0x1e6)],_0x389a6d=(_0x15b53c,_0x24b926,_0x58a32d,_0x9c531)=>{for(var _0x17dedb=_0x9c531>0x1?void 0x0:_0x9c531?_0x4dcd49(_0x24b926,_0x58a32d):_0x24b926,_0xd3fecc=_0x15b53c['length']-0x1,_0x599114;_0xd3fecc>=0x0;_0xd3fecc--)(_0x599114=_0x15b53c[_0xd3fecc])&&(_0x17dedb=_0x599114(_0x17dedb)||_0x17dedb);return _0x17dedb;},_0x155c50=(_0x388d65,_0x15253f)=>(_0x3e586a,_0x2d4c4b)=>_0x15253f(_0x3e586a,_0x2d4c4b,_0x388d65);let _0x322e8c=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0x1fd2b7,_0x35262b,_0x5a962f,_0x5a668a,_0x1e9048,_0x1d8b52){const _0x4037d7=_0xf94d15;super(),this['_beforeCloseService']=_0x1fd2b7,this[_0x4037d7(0x3d5)]=_0x35262b,this[_0x4037d7(0x2d8)]=_0x5a962f,this[_0x4037d7(0x1f5)]=_0x5a668a,this[_0x4037d7(0x3bf)]=_0x1e9048,this[_0x4037d7(0x1fd)]=_0x1d8b52,this[_0x4037d7(0x395)](),this[_0x4037d7(0x291)]();}[_0xf94d15(0x395)](){const _0x45fc13=_0xf94d15;this['disposeWithMe'](this[_0x45fc13(0x30b)][_0x45fc13(0x265)](()=>{const _0x2b8844=_0x45fc13;if(this[_0x2b8844(0x3d5)][_0x2b8844(0x2cf)][_0x2b8844(0x2f8)])return this[_0x2b8844(0x1fd)]['t'](_0x2b8844(0x2ba));}));}[_0xf94d15(0x291)](){const _0x145835=_0xf94d15;this[_0x145835(0x340)](this[_0x145835(0x2d8)][_0x145835(0x2dc)]['subscribe'](_0x181425=>{const _0x1bfd99=_0x145835;_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x3cd)]&&this[_0x1bfd99(0x1f5)]['show']({'type':_0x306647[_0x1bfd99(0x27f)][_0x1bfd99(0x2db)],'content':this['_localeService']['t'](_0x1bfd99(0x1ce))}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x26d)]&&this[_0x1bfd99(0x1f5)][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)][_0x1bfd99(0x2db)],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x3fb))}),_0x181425['id']===_0x51ae97['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0x1bfd99(0x358)]({'title':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x2c5)),'content':this['_localeService']['t'](_0x1bfd99(0x442)),'type':_0x1bfd99(0x393),'duration':0x0}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x2f0)]&&this[_0x1bfd99(0x1f5)][_0x1bfd99(0x358)]({'type':_0x306647['MessageType']['Error'],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x3fb))+'('+_0x181425[_0x1bfd99(0x316)]+')'}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x2b6)]&&this['_messageService'][_0x1bfd99(0x358)]({'type':_0x306647['MessageType'][_0x1bfd99(0x2db)],'content':this['_localeService']['t'](_0x181425[_0x1bfd99(0x316)]||'')}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x2b9)]&&this['_messageService'][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)]['Warning'],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x371))}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x370)]&&this[_0x1bfd99(0x1f5)][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)]['Error'],'content':this[_0x1bfd99(0x1fd)]['t']('session.connection-failed')}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x367)]&&this['_messageService'][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)][_0x1bfd99(0x1f4)],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x2ac))});}));}};_0x322e8c=_0x389a6d([_0x155c50(0x0,_0x30ac71['IBeforeCloseService']),_0x155c50(0x1,_0x51ae97[_0xf94d15(0x214)]),_0x155c50(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x51ae97['CollaborationUIEventService'])),_0x155c50(0x3,_0x30ac71['IMessageService']),_0x155c50(0x4,_0x30ac71['INotificationService']),_0x155c50(0x5,_0x23cfa0['Inject'](_0x23cfa0[_0xf94d15(0x41b)]))],_0x322e8c);const _0x1ae88d='collaboration-client-ui.config',_0x16cbb7={},_0x307def=_0x23cfa0['createIdentifier'](_0xf94d15(0x378));var _0x1e8bc1=Object[_0xf94d15(0x1e6)],_0x4cfb6c=(_0x108aa6,_0x550866,_0x1cb024,_0x1f551d)=>{const _0x564dba=_0xf94d15;for(var _0x5c95ab=_0x1f551d>0x1?void 0x0:_0x1f551d?_0x1e8bc1(_0x550866,_0x1cb024):_0x550866,_0x4525ac=_0x108aa6[_0x564dba(0x354)]-0x1,_0x4f9ed8;_0x4525ac>=0x0;_0x4525ac--)(_0x4f9ed8=_0x108aa6[_0x4525ac])&&(_0x5c95ab=_0x4f9ed8(_0x5c95ab)||_0x5c95ab);return _0x5c95ab;},_0x165c3e=(_0x4ea75a,_0x36ef66)=>(_0x1f83b7,_0x1e65ef)=>_0x36ef66(_0x1f83b7,_0x1e65ef,_0x4ea75a);_0x4cf9f1['CollaborationDataLoaderController']=class extends _0x23cfa0['RxDisposable']{constructor(_0x372698,_0x2cafe3,_0x5cee29,_0x2a4c48,_0x47052b){const _0x1b14af=_0xf94d15;super(),this[_0x1b14af(0x2b7)]=_0x372698,this[_0x1b14af(0x3d4)]=_0x2cafe3,this[_0x1b14af(0x1cd)]=_0x5cee29,this[_0x1b14af(0x31d)]=_0x2a4c48,_0x47052b?_0x47052b==null||_0x47052b[_0x1b14af(0x2ae)]()[_0x1b14af(0x31a)](()=>this[_0x1b14af(0x32b)]()):(this['_logService']['debug'](_0x1b14af(0x29e),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x3274ee=_0xf94d15,_0x574afa=this[_0x3274ee(0x2b7)][_0x3274ee(0x3ae)]('unit'),_0x2a4f92=this[_0x3274ee(0x2b7)]['getParam']('type'),_0x3c65c2=this[_0x3274ee(0x2b7)][_0x3274ee(0x3ae)](_0x3274ee(0x1ff));if(!_0x574afa||!_0x2a4f92){this['_logService']['debug'](_0x3274ee(0x29e),_0x3274ee(0x2fb));return;}const _0x187686=await this[_0x3274ee(0x31d)]['loadUnit'](_0x574afa,Number(_0x2a4f92),_0x3c65c2);_0x187686&&_0x187686 instanceof _0x23cfa0[_0x3274ee(0x2da)]&&this[_0x3274ee(0x3f5)](_0x187686);}async['_setupSubUnitSync'](_0x14bf30){const _0x3db290=_0xf94d15;await this[_0x3db290(0x227)](_0x14bf30),_0x14bf30[_0x3db290(0x2b8)][_0x3db290(0x41e)](_0x1425de['takeUntil'](this[_0x3db290(0x391)]))['subscribe'](_0x1ea9ec=>{_0x1ea9ec&&this['_updateURLWithCurrentState'](_0x1ea9ec);}),this[_0x3db290(0x2b7)][_0x3db290(0x3ba)][_0x3db290(0x41e)](_0x1425de[_0x3db290(0x3e4)](this[_0x3db290(0x391)]))['subscribe'](()=>this[_0x3db290(0x227)](_0x14bf30));}[_0xf94d15(0x21d)](_0x459a55,_0x5b000e=!0x1){const _0x163ef0=_0xf94d15,_0x3b5dcf=this[_0x163ef0(0x2b7)][_0x163ef0(0x3ae)](_0x163ef0(0x1ff));_0x459a55['getSheetId']()!==_0x3b5dcf&&this['_urlService']['setParam'](_0x163ef0(0x1ff),_0x459a55[_0x163ef0(0x2c8)](),_0x5b000e);}async[_0xf94d15(0x227)](_0x478c0b){const _0x538a6c=_0xf94d15;var _0x430038;const _0x3417bc=this[_0x538a6c(0x2b7)][_0x538a6c(0x3ae)](_0x538a6c(0x1ff));if(!_0x3417bc||!_0x478c0b[_0x538a6c(0x44c)](_0x3417bc)){const _0x3e858c=_0x478c0b['getUnhiddenWorksheets']()[0x0],_0x3145ce=_0x478c0b[_0x538a6c(0x44c)](_0x3e858c);if(!_0x3145ce)return;this[_0x538a6c(0x21d)](_0x3145ce,!0x0),await this[_0x538a6c(0x1cd)][_0x538a6c(0x234)](_0x28fbd1['SetWorksheetActivateCommand']['id'],{'unitId':_0x478c0b[_0x538a6c(0x289)](),'subUnitId':_0x3e858c});return;}((_0x430038=_0x478c0b[_0x538a6c(0x37a)]())==null?void 0x0:_0x430038[_0x538a6c(0x2c8)]())!==_0x3417bc&&await this[_0x538a6c(0x1cd)]['executeCommand'](_0x28fbd1[_0x538a6c(0x1d2)]['id'],{'unitId':_0x478c0b['getUnitId'](),'subUnitId':_0x3417bc});}},_0x4cf9f1[_0xf94d15(0x338)]=_0x4cfb6c([_0x165c3e(0x0,_0x307def),_0x165c3e(0x1,_0x23cfa0[_0xf94d15(0x245)]),_0x165c3e(0x2,_0x23cfa0[_0xf94d15(0x1e7)]),_0x165c3e(0x3,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x439)])),_0x165c3e(0x4,_0x23cfa0[_0xf94d15(0x275)](_0x154a8a[_0xf94d15(0x2f7)]))],_0x4cf9f1[_0xf94d15(0x338)]);var _0x4816da=Object['getOwnPropertyDescriptor'],_0x159fda=(_0x9d146a,_0x5cec33,_0x50e753,_0x159743)=>{const _0x429643=_0xf94d15;for(var _0x3fd686=_0x159743>0x1?void 0x0:_0x159743?_0x4816da(_0x5cec33,_0x50e753):_0x5cec33,_0x1b2073=_0x9d146a[_0x429643(0x354)]-0x1,_0x4291c8;_0x1b2073>=0x0;_0x1b2073--)(_0x4291c8=_0x9d146a[_0x1b2073])&&(_0x3fd686=_0x4291c8(_0x3fd686)||_0x3fd686);return _0x3fd686;},_0x527490=(_0x4221f6,_0xb3d0cf)=>(_0x2c9533,_0x3c236b)=>_0xb3d0cf(_0x2c9533,_0x3c236b,_0x4221f6);let _0x2701d5=class{constructor(_0x38b273,_0x2a9fac,_0x24e4cb){const _0x5e0fa4=_0xf94d15;this['_injector']=_0x38b273,this[_0x5e0fa4(0x40d)]=_0x2a9fac,this[_0x5e0fa4(0x441)]=_0x24e4cb;}[_0xf94d15(0x3b2)](_0x4000d6){const _0x21c07a=_0xf94d15;this[_0x21c07a(0x28c)](_0x4000d6),this[_0x21c07a(0x1e3)](_0x4000d6);}[_0xf94d15(0x285)](_0x264cc3){const _0xba0330=_0xf94d15,{unitID:_0x164d51}=_0x264cc3,_0x94ae5d=this[_0xba0330(0x441)][_0xba0330(0x1d5)](_0x164d51)[_0xba0330(0x2e6)](_0x27e66a['DocIMEInputManagerService']),{redoCache:_0x17283d}=_0x94ae5d[_0xba0330(0x361)]();if(_0x17283d['length']===0x0)return _0x264cc3;let _0x2d9bd2=_0x23cfa0['Tools'][_0xba0330(0x28d)](_0x264cc3[_0xba0330(0x218)][0x0]);for(let _0x42f78c=0x0;_0x42f78c<_0x17283d[_0xba0330(0x354)];_0x42f78c++){const _0x409068={'id':_0xba0330(0x33b),'params':{..._0x17283d[_0x42f78c]}},_0x29e5f6=this['_transformService'][_0xba0330(0x238)](_0x2d9bd2,_0x409068,!0x1);if(_0x46d1ab['isTransformMutationFailure'](_0x29e5f6))throw _0x29e5f6[_0xba0330(0x393)];_0x2d9bd2=_0x29e5f6['m1Prime'];}return{..._0x23cfa0[_0xba0330(0x292)][_0xba0330(0x28d)](_0x264cc3),'mutations':[_0x2d9bd2]};}[_0xf94d15(0x28c)](_0x1f6754){const _0x46b389=_0xf94d15,{unitID:_0x57cd1e}=_0x1f6754,_0x2c483d=this[_0x46b389(0x441)]['getRenderById'](_0x57cd1e)[_0x46b389(0x2e6)](_0x27e66a['DocIMEInputManagerService']),{undoCache:_0x4bced1,redoCache:_0x28837a}=_0x2c483d[_0x46b389(0x361)]();if(_0x4bced1[_0x46b389(0x354)]===0x0||_0x28837a['length']===0x0)return;const _0x3efd78=[],_0x16ccf0=[];let _0x12155c=_0x23cfa0['Tools'][_0x46b389(0x28d)](_0x1f6754[_0x46b389(0x218)][0x0]),_0x56475c=_0x23cfa0[_0x46b389(0x292)][_0x46b389(0x28d)](_0x1f6754['mutations'][0x0]);for(let _0x16604a=_0x4bced1[_0x46b389(0x354)]-0x1;_0x16604a>=0x0;_0x16604a--){const _0x5e5e42={'id':'doc.mutation.rich-text-editing','params':{..._0x4bced1[_0x16604a]}},_0x4fda6e={'id':_0x46b389(0x33b),'params':{..._0x28837a[_0x16604a]}},_0x38ef12=this['_transformService'][_0x46b389(0x238)](_0x12155c,_0x5e5e42,!0x1),_0x2cecfa=this[_0x46b389(0x40d)][_0x46b389(0x238)](_0x56475c,_0x4fda6e,!0x1);if(_0x46d1ab[_0x46b389(0x274)](_0x38ef12))throw _0x38ef12[_0x46b389(0x393)];if(_0x46d1ab['isTransformMutationFailure'](_0x2cecfa))throw _0x2cecfa['error'];_0x3efd78[_0x46b389(0x23d)](_0x38ef12['m2Prime'][_0x46b389(0x41f)]),_0x16ccf0[_0x46b389(0x23d)](_0x2cecfa[_0x46b389(0x246)][_0x46b389(0x41f)]),_0x12155c=_0x38ef12[_0x46b389(0x3a1)],_0x56475c=_0x2cecfa[_0x46b389(0x3a1)];}_0x2c483d[_0x46b389(0x3fa)]({'undoCache':_0x3efd78,'redoCache':_0x16ccf0});}['_transformPreviousActiveRange'](_0x19dc64){const _0x34d12b=_0xf94d15,{unitID:_0x290336}=_0x19dc64,_0x17828e=this[_0x34d12b(0x441)]['getRenderById'](_0x290336)[_0x34d12b(0x2e6)](_0x27e66a['DocIMEInputManagerService']),_0x28a717=_0x17828e[_0x34d12b(0x3ab)]();if(_0x28a717==null)return;const _0x3ba826=[{'id':_0x34d12b(0x33b),'params':{'unitId':_0x19dc64['unitID'],'actions':null,'textRanges':[_0x28a717]}}],_0x2fd7b9=this['_transformService']['transformMutationsWithChangeset'](_0x19dc64,_0x3ba826);if(!_0x46d1ab[_0x34d12b(0x329)](_0x2fd7b9))throw _0x2fd7b9[_0x34d12b(0x393)];const _0x59b275=_0x2fd7b9[_0x34d12b(0x246)][0x0][_0x34d12b(0x41f)][_0x34d12b(0x426)];Array[_0x34d12b(0x2c7)](_0x59b275)&&_0x59b275['length']&&_0x17828e['setActiveRange'](_0x59b275[0x0]);}};_0x2701d5=_0x159fda([_0x527490(0x0,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x527490(0x1,_0x46d1ab[_0xf94d15(0x420)]),_0x527490(0x2,_0x188338[_0xf94d15(0x20e)])],_0x2701d5);var _0x39f317=Object['getOwnPropertyDescriptor'],_0x4792f5=(_0xf89f20,_0x58987b,_0x25aa0a,_0x4e1f61)=>{const _0x2796cb=_0xf94d15;for(var _0x33d3a4=_0x4e1f61>0x1?void 0x0:_0x4e1f61?_0x39f317(_0x58987b,_0x25aa0a):_0x58987b,_0x4acf1d=_0xf89f20[_0x2796cb(0x354)]-0x1,_0x577ad2;_0x4acf1d>=0x0;_0x4acf1d--)(_0x577ad2=_0xf89f20[_0x4acf1d])&&(_0x33d3a4=_0x577ad2(_0x33d3a4)||_0x33d3a4);return _0x33d3a4;},_0x2e690a=(_0x2e3581,_0x4510d0)=>(_0x27690a,_0x699640)=>_0x4510d0(_0x27690a,_0x699640,_0x2e3581);let _0x1fdefc=class{constructor(_0x2b9b64,_0x5ab722,_0x486abb){const _0x1061dc=_0xf94d15;this['_injector']=_0x2b9b64,this[_0x1061dc(0x40d)]=_0x5ab722,this[_0x1061dc(0x216)]=_0x486abb;}[_0xf94d15(0x32c)](_0x3a7bd8){const _0x186eaa=_0xf94d15;this[_0x186eaa(0x3f7)](_0x3a7bd8);}[_0xf94d15(0x285)](_0x1d9bb8){const _0x459914=_0xf94d15,{unitID:_0x23ce38}=_0x1d9bb8,{collaboration:_0x3b127a}=this[_0x459914(0x216)][_0x459914(0x41d)](_0x23ce38);if(_0x3b127a[_0x459914(0x354)]===0x0)return _0x1d9bb8;let _0x15d67c=_0x23cfa0['Tools'][_0x459914(0x28d)](_0x1d9bb8[_0x459914(0x218)][0x0]);for(let _0x49aacb=0x0;_0x49aacb<_0x3b127a['length'];_0x49aacb++){const _0x42c806={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b127a[_0x49aacb]['unitId'],..._0x3b127a[_0x49aacb][_0x459914(0x2dd)]}},_0x2808f2=this[_0x459914(0x40d)][_0x459914(0x238)](_0x15d67c,_0x42c806,!0x1);if(_0x46d1ab[_0x459914(0x274)](_0x2808f2))throw _0x2808f2['error'];_0x15d67c=_0x2808f2['m1Prime'];}return{..._0x23cfa0[_0x459914(0x292)][_0x459914(0x28d)](_0x1d9bb8),'mutations':[_0x15d67c]};}[_0xf94d15(0x3f7)](_0x24a8b8){const _0x4a5b9f=_0xf94d15,{unitID:_0x903dc8}=_0x24a8b8,{history:_0x54ae2d,collaboration:_0x53bf94}=this[_0x4a5b9f(0x216)][_0x4a5b9f(0x41d)](_0x903dc8);if(_0x54ae2d[_0x4a5b9f(0x354)]===0x0&&_0x53bf94['length']===0x0)return;const _0x6e24e8=[],_0x2d2eca=[];let _0x204d33=_0x23cfa0['Tools'][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]),_0x5f176b=_0x23cfa0['Tools'][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]);for(let _0x321de0=_0x54ae2d[_0x4a5b9f(0x354)]-0x1;_0x321de0>=0x0;_0x321de0--){const _0x2a0246={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x54ae2d[_0x321de0][_0x4a5b9f(0x2b0)],..._0x54ae2d[_0x321de0][_0x4a5b9f(0x34a)]}},_0x1c325e={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x54ae2d[_0x321de0]['unitId'],..._0x54ae2d[_0x321de0][_0x4a5b9f(0x2dd)]}},_0x52cfb7=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x204d33,_0x2a0246,!0x1),_0x5ce5ae=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x5f176b,_0x1c325e,!0x1);if(_0x46d1ab[_0x4a5b9f(0x274)](_0x52cfb7))throw _0x52cfb7['error'];if(_0x46d1ab[_0x4a5b9f(0x274)](_0x5ce5ae))throw _0x5ce5ae[_0x4a5b9f(0x393)];_0x6e24e8['unshift']({..._0x54ae2d[_0x321de0],'undoState':_0x52cfb7[_0x4a5b9f(0x246)][_0x4a5b9f(0x41f)],'redoState':_0x5ce5ae[_0x4a5b9f(0x246)]['params']}),_0x204d33=_0x52cfb7[_0x4a5b9f(0x3a1)],_0x5f176b=_0x5ce5ae[_0x4a5b9f(0x3a1)];}_0x204d33=_0x23cfa0['Tools'][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]),_0x5f176b=_0x23cfa0[_0x4a5b9f(0x292)][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]);for(let _0x15d85d=_0x53bf94['length']-0x1;_0x15d85d>=0x0;_0x15d85d--){const _0x315bae={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x53bf94[_0x15d85d][_0x4a5b9f(0x2b0)],..._0x53bf94[_0x15d85d][_0x4a5b9f(0x34a)]}},_0x2996b7={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x53bf94[_0x15d85d]['unitId'],..._0x53bf94[_0x15d85d][_0x4a5b9f(0x2dd)]}},_0x7946e9=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x204d33,_0x315bae,!0x1),_0x163f32=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x5f176b,_0x2996b7,!0x1);if(_0x46d1ab[_0x4a5b9f(0x274)](_0x7946e9))throw _0x7946e9[_0x4a5b9f(0x393)];if(_0x46d1ab[_0x4a5b9f(0x274)](_0x163f32))throw _0x163f32['error'];_0x2d2eca['unshift']({..._0x53bf94[_0x15d85d],'undoState':_0x7946e9[_0x4a5b9f(0x246)][_0x4a5b9f(0x41f)],'redoState':_0x163f32[_0x4a5b9f(0x246)][_0x4a5b9f(0x41f)]}),_0x204d33=_0x7946e9[_0x4a5b9f(0x3a1)],_0x5f176b=_0x163f32[_0x4a5b9f(0x3a1)];}this['_docStateChangeManagerService'][_0x4a5b9f(0x1dc)](_0x903dc8,{'history':_0x6e24e8,'collaboration':_0x2d2eca});}};_0x1fdefc=_0x4792f5([_0x2e690a(0x0,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x2e690a(0x1,_0x46d1ab['ITransformService']),_0x2e690a(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x27e66a['DocStateChangeManagerService']))],_0x1fdefc);var _0x1b7ba1=Object[_0xf94d15(0x1e6)],_0x328533=(_0x80f7d6,_0x3b1b35,_0x5a8361,_0x2678dd)=>{const _0x382eec=_0xf94d15;for(var _0x333d68=_0x2678dd>0x1?void 0x0:_0x2678dd?_0x1b7ba1(_0x3b1b35,_0x5a8361):_0x3b1b35,_0x193eaa=_0x80f7d6[_0x382eec(0x354)]-0x1,_0x21abbe;_0x193eaa>=0x0;_0x193eaa--)(_0x21abbe=_0x80f7d6[_0x193eaa])&&(_0x333d68=_0x21abbe(_0x333d68)||_0x333d68);return _0x333d68;},_0x21e168=(_0x1b8d0a,_0x38f5dc)=>(_0x2835af,_0x3d61e1)=>_0x38f5dc(_0x2835af,_0x3d61e1,_0x1b8d0a);let _0x382263=class{constructor(_0x38eb47,_0x40e8de){const _0x3c8d88=_0xf94d15;this['_injector']=_0x38eb47,this[_0x3c8d88(0x40d)]=_0x40e8de;}[_0xf94d15(0x32f)](_0x3e87f4){const _0x51f545=_0xf94d15;var _0x397c98;const _0x3facfb=this['_injector'][_0x51f545(0x417)](_0x3bc28d[_0x51f545(0x211)]),_0x56eb7d=(_0x397c98=_0x3facfb['getDocRanges']())!=null?_0x397c98:[];if(_0x56eb7d['length']===0x0)return;const _0x4d108c=_0x3e87f4[_0x51f545(0x2de)],_0x5b66ac=[{'id':_0x51f545(0x33b),'params':{'unitId':_0x4d108c,'actions':null,'textRanges':_0x56eb7d}}],_0x34ec12=this['_transformService'][_0x51f545(0x20a)](_0x3e87f4,_0x5b66ac);if(!_0x46d1ab[_0x51f545(0x329)](_0x34ec12))throw _0x34ec12['error'];const _0x373f66=_0x34ec12[_0x51f545(0x246)][0x0]['params'][_0x51f545(0x426)];Array[_0x51f545(0x2c7)](_0x373f66)&&_0x373f66[_0x51f545(0x354)]&&_0x3facfb['replaceDocRanges'](_0x373f66,{'unitId':_0x4d108c,'subUnitId':_0x4d108c},!0x1);}};_0x382263=_0x328533([_0x21e168(0x0,_0x23cfa0['Inject'](_0x23cfa0[_0xf94d15(0x1e4)])),_0x21e168(0x1,_0x46d1ab[_0xf94d15(0x420)])],_0x382263);var _0x4b1031=Object[_0xf94d15(0x1e6)],_0x5c5688=(_0x20f55e,_0x3ce5e2,_0x34d910,_0x49b70f)=>{const _0x2b84a3=_0xf94d15;for(var _0x3fe50d=_0x49b70f>0x1?void 0x0:_0x49b70f?_0x4b1031(_0x3ce5e2,_0x34d910):_0x3ce5e2,_0x857f25=_0x20f55e[_0x2b84a3(0x354)]-0x1,_0x3fc861;_0x857f25>=0x0;_0x857f25--)(_0x3fc861=_0x20f55e[_0x857f25])&&(_0x3fe50d=_0x3fc861(_0x3fe50d)||_0x3fe50d);return _0x3fe50d;},_0x840ff9=(_0x34a391,_0x465ebf)=>(_0x314bc7,_0x290256)=>_0x465ebf(_0x314bc7,_0x290256,_0x34a391);let _0x16862c=class extends _0x23cfa0['Disposable']{constructor(_0x42d4b2,_0x45f6b9,_0x513b41,_0x50286d,_0x38c073,_0x28c9ce,_0x55bb3d,_0x4e7d0f){const _0x1135f5=_0xf94d15;super(),_0x6a5a04(this,_0x1135f5(0x3c0),new _0x1425de[(_0x1135f5(0x41c))](_0x51ae97['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x42d4b2,this[_0x1135f5(0x2a3)]=_0x45f6b9,this[_0x1135f5(0x26f)]=_0x513b41,this[_0x1135f5(0x20f)]=_0x50286d,this[_0x1135f5(0x22d)]=_0x38c073,this['_docSyncEditingCollabCursorService']=_0x28c9ce,this[_0x1135f5(0x1f5)]=_0x55bb3d,this[_0x1135f5(0x1fd)]=_0x4e7d0f,this[_0x1135f5(0x209)]());}[_0xf94d15(0x209)](){const _0x2df144=_0xf94d15;this[_0x2df144(0x340)](this[_0x2df144(0x2a3)][_0x2df144(0x436)][_0x2df144(0x2a8)](_0x4bb661=>{const _0xb93b44=_0x2df144,_0x20b718=this[_0xb93b44(0x216)]['docStateChange$']['subscribe'](_0x2d5776=>{const _0x2f9bd6=_0xb93b44;if(_0x2d5776==null)return;const {unitId:_0x5035fe,redoState:_0x277dd4,commandId:_0x43e7a7}=_0x2d5776;if(_0x5035fe!==_0x4bb661[_0x2f9bd6(0x2de)])return;const _0x162e93={'id':_0x43e7a7,'type':_0x23cfa0[_0x2f9bd6(0x325)]['MUTATION'],'params':{'unitId':_0x5035fe,'actions':_0x277dd4[_0x2f9bd6(0x3b9)],'textRanges':null}};_0x4bb661['onLocalMutation'](_0x162e93);});if(_0x4bb661[_0xb93b44(0x340)](_0x20b718),_0x4bb661 instanceof _0x51ae97['DocCollaborationEntity']){const _0x564821={'onTransformIME':_0x3237d1=>this[_0xb93b44(0x26f)][_0xb93b44(0x3b2)](_0x3237d1),'onTransformState':_0x50a99a=>this[_0xb93b44(0x20f)][_0xb93b44(0x32c)](_0x50a99a),'onTransformSelections':_0x5729d7=>this[_0xb93b44(0x22d)]['transformSelections'](_0x5729d7),'onSyncEditingCollabCursor':_0x8fae11=>this[_0xb93b44(0x39f)][_0xb93b44(0x35e)](_0x8fae11),'onTransformRemoteChangesetByIMECache':_0x22eb7d=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x22eb7d),'onTransformRemoteChangesetByStateCache':_0x42528c=>this[_0xb93b44(0x20f)]['transformRemoteChangeset'](_0x42528c)};_0x4bb661[_0xb93b44(0x408)](_0x564821);}}));}};_0x16862c=_0x5c5688([_0x840ff9(0x0,_0x23cfa0['Inject'](_0x27e66a[_0xf94d15(0x2c6)])),_0x840ff9(0x1,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x29d)])),_0x840ff9(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x2701d5)),_0x840ff9(0x3,_0x23cfa0[_0xf94d15(0x24b)](_0x1fdefc)),_0x840ff9(0x4,_0x23cfa0[_0xf94d15(0x24b)](_0x382263)),_0x840ff9(0x5,_0x23cfa0[_0xf94d15(0x24b)](_0x47f3a0)),_0x840ff9(0x6,_0x30ac71['IMessageService']),_0x840ff9(0x7,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['LocaleService']))],_0x16862c);var _0x4709cf=Object[_0xf94d15(0x1e6)],_0x126641=(_0x43da4f,_0x26a36f,_0x52084d,_0x3412a5)=>{for(var _0x96dc3f=_0x3412a5>0x1?void 0x0:_0x3412a5?_0x4709cf(_0x26a36f,_0x52084d):_0x26a36f,_0x3fae67=_0x43da4f['length']-0x1,_0x15b711;_0x3fae67>=0x0;_0x3fae67--)(_0x15b711=_0x43da4f[_0x3fae67])&&(_0x96dc3f=_0x15b711(_0x96dc3f)||_0x96dc3f);return _0x96dc3f;},_0x36759e=(_0x36f161,_0x332dea)=>(_0x11f016,_0x98721a)=>_0x332dea(_0x11f016,_0x98721a,_0x36f161);let _0x54dd19=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0x4ac714,_0x4971d1,_0x3d1905){const _0x420e6e=_0xf94d15;super(),_0x6a5a04(this,_0x420e6e(0x3bc),new Map()),_0x6a5a04(this,_0x420e6e(0x314),new Map()),_0x6a5a04(this,'_disabled',!0x1),(this['_configService']=_0x4ac714,this['_localStorageService']=_0x4971d1,this['_revisionService']=_0x3d1905);}['disableLocalCache'](){const _0x4f1c97=_0xf94d15;this[_0x4f1c97(0x2d1)]=!0x0;}[_0xf94d15(0x2df)](){const _0x1b503c=_0xf94d15;this[_0x1b503c(0x2d1)]=!0x1;}get['saveTaskMap'](){const _0x4c05a7=_0xf94d15;return this[_0x4c05a7(0x314)];}['dispose'](){const _0x22b959=_0xf94d15;this[_0x22b959(0x385)]()[_0x22b959(0x31a)](()=>super[_0x22b959(0x38a)]());}async[_0xf94d15(0x2f5)](_0x3e20d5){const _0x4c1ee0=_0xf94d15;return this[_0x4c1ee0(0x2d1)]?null:this[_0x4c1ee0(0x293)][_0x4c1ee0(0x219)](_0x51ae97[_0x4c1ee0(0x382)](_0x3e20d5));}async[_0xf94d15(0x2bc)](_0x4ac79d,_0x2da92b){const _0x89f01c=_0xf94d15;return!!this[_0x89f01c(0x293)][_0x89f01c(0x3c9)](_0x4ac79d,_0x2da92b);}[_0xf94d15(0x3d2)](_0x882285,_0x5c7f74,_0x5a9ba9,_0x3c298d){const _0x464338=_0xf94d15,_0x4e44c8=this[_0x464338(0x1f0)][_0x464338(0x372)](_0x882285);this[_0x464338(0x3bc)][_0x464338(0x429)](_0x882285,{'unitID':_0x882285,'type':_0x5c7f74,'awaitingChangeset':_0x5a9ba9,'mutations':_0x3c298d,'rev':_0x4e44c8}),this['_saveTaskMap'][_0x464338(0x3a2)](_0x882285)||this[_0x464338(0x43f)](_0x882285);}[_0xf94d15(0x43f)](_0x1564fe){const _0x204901=_0xf94d15,_0x193cc8=this['_getSaveTimeout']();_0x193cc8===0x0?this['_saveCache'](_0x1564fe):this[_0x204901(0x314)][_0x204901(0x429)](_0x1564fe,setTimeout(()=>this[_0x204901(0x387)](_0x1564fe),_0x193cc8));}[_0xf94d15(0x207)](){const _0x4fa624=_0xf94d15;var _0x42dc1b;return(_0x42dc1b=this[_0x4fa624(0x20c)][_0x4fa624(0x255)](_0x51ae97['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x42dc1b:_0x51ae97['LOCAL_CACHE_INTERVAL'];}[_0xf94d15(0x387)](_0x33a777){const _0x197bc9=_0xf94d15,_0x5827f8=this['_saveTaskMap']['get'](_0x33a777);return _0x5827f8!==void 0x0&&window[_0x197bc9(0x266)](_0x5827f8),this['_localStorageService'][_0x197bc9(0x3c9)](_0x51ae97['getLocalCacheKey'](_0x33a777),this['_cachedData'][_0x197bc9(0x417)](_0x33a777))[_0x197bc9(0x31a)](()=>this[_0x197bc9(0x314)][_0x197bc9(0x2e7)](_0x33a777));}async[_0xf94d15(0x385)](){const _0x85ccb4=_0xf94d15,_0x4da8dd=[];this[_0x85ccb4(0x314)]['forEach']((_0x21bf70,_0x41566c)=>{const _0x3cc7da=_0x85ccb4;window['clearTimeout'](_0x21bf70),_0x4da8dd[_0x3cc7da(0x3f2)](this['_saveCache'](_0x41566c)['then'](()=>{const _0x2280d0=_0x3cc7da;this[_0x2280d0(0x314)]['delete'](_0x41566c);}));}),await Promise['all'](_0x4da8dd);}};_0x54dd19=_0x126641([_0x36759e(0x0,_0x23cfa0[_0xf94d15(0x231)]),_0x36759e(0x1,_0x23cfa0[_0xf94d15(0x2cd)]),_0x36759e(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x46d1ab[_0xf94d15(0x226)]))],_0x54dd19);class _0x69d05e extends _0x23cfa0[_0xf94d15(0x341)]{constructor(){const _0x42b27a=_0xf94d15;super(),_0x6a5a04(this,'urlChange$'),this[_0x42b27a(0x3ba)]=_0x1425de[_0x42b27a(0x455)](window,_0x42b27a(0x2a2))[_0x42b27a(0x41e)](_0x1425de['takeUntil'](this[_0x42b27a(0x391)]),_0x1425de[_0x42b27a(0x2f3)](0x1),_0x1425de['mapTo'](void 0x0));}[_0xf94d15(0x3fc)](_0x3ea0a3,_0x2dcc49,_0x37a4d0=!0x1){const _0x1322a5=_0xf94d15,_0x436d06=new URL(window[_0x1322a5(0x3dd)][_0x1322a5(0x3e5)]);_0x436d06[_0x1322a5(0x347)][_0x1322a5(0x429)](_0x3ea0a3,_0x2dcc49),_0x37a4d0?window[_0x1322a5(0x405)][_0x1322a5(0x2fc)]('','',_0x436d06[_0x1322a5(0x29b)]()):window[_0x1322a5(0x405)]['pushState']('','',_0x436d06['toString']());}['removeParam'](_0xc825f6,_0xb0ee08=!0x1){const _0x850c1=_0xf94d15,_0x7ac8f5=new URL(window[_0x850c1(0x3dd)]['href']);_0x7ac8f5[_0x850c1(0x347)][_0x850c1(0x2e7)](_0xc825f6),_0xb0ee08?window['history'][_0x850c1(0x2fc)]('','',_0x7ac8f5[_0x850c1(0x29b)]()):window[_0x850c1(0x405)][_0x850c1(0x39e)]('','',_0x7ac8f5['toString']());}[_0xf94d15(0x3ae)](_0x173653){const _0x472d00=_0xf94d15;var _0x22afe9;return(_0x22afe9=new URL(window[_0x472d00(0x3dd)][_0x472d00(0x3e5)])[_0x472d00(0x347)]['get'](_0x173653))!=null?_0x22afe9:void 0x0;}}var _0x5419a9=Object[_0xf94d15(0x20d)],_0x388939=Object['getOwnPropertyDescriptor'],_0x5dd2d5=(_0x168951,_0x5783ba,_0x595324)=>_0x5783ba in _0x168951?_0x5419a9(_0x168951,_0x5783ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x595324}):_0x168951[_0x5783ba]=_0x595324,_0x94d1b=(_0x55e9d7,_0x2fcb00,_0x107819,_0x2e7047)=>{const _0x162131=_0xf94d15;for(var _0x15de3e=_0x2e7047>0x1?void 0x0:_0x2e7047?_0x388939(_0x2fcb00,_0x107819):_0x2fcb00,_0x3bc168=_0x55e9d7[_0x162131(0x354)]-0x1,_0x49be34;_0x3bc168>=0x0;_0x3bc168--)(_0x49be34=_0x55e9d7[_0x3bc168])&&(_0x15de3e=_0x49be34(_0x15de3e)||_0x15de3e);return _0x15de3e;},_0x58e405=(_0x3372c8,_0x3023d5)=>(_0x3207d1,_0x15b760)=>_0x3023d5(_0x3207d1,_0x15b760,_0x3372c8),_0xbce476=(_0x54626e,_0x2f4482,_0x133bf9)=>_0x5dd2d5(_0x54626e,_0x2f4482+'',_0x133bf9);const _0x4bee47=_0xf94d15(0x244);_0x4cf9f1[_0xf94d15(0x30f)]=class extends _0x23cfa0[_0xf94d15(0x319)]{constructor(_0x44f4b6=_0x16cbb7,_0x57e908,_0x1eeb6f,_0x4baa77){const _0x565ad5=_0xf94d15;super(),this[_0x565ad5(0x23c)]=_0x44f4b6,this[_0x565ad5(0x441)]=_0x57e908,this['_injector']=_0x1eeb6f,this[_0x565ad5(0x20c)]=_0x4baa77;const {..._0x4e19f6}=_0x23cfa0[_0x565ad5(0x23e)]({},_0x16cbb7,this[_0x565ad5(0x23c)]);this[_0x565ad5(0x20c)][_0x565ad5(0x43d)](_0x1ae88d,_0x4e19f6);}[_0xf94d15(0x22f)](){const _0xf32c4a=_0xf94d15;this[_0xf32c4a(0x40b)](),this[_0xf32c4a(0x312)]();}[_0xf94d15(0x27b)](){const _0x45ad23=_0xf94d15;this[_0x45ad23(0x30a)]();}['_registerDependencies'](){const _0x57ac34=_0xf94d15;var _0x339e24;const _0x2f0964=[[_0x78b02d],[_0x382263],[_0x2701d5],[_0x1fdefc],[_0x47f3a0],[_0x307def,{'useClass':_0x69d05e}],[_0x99d8d6[_0x57ac34(0x240)],{'useClass':_0x99d8d6['WebSocketService']}],[_0x51ae97[_0x57ac34(0x214)],{'useClass':_0x54dd19}],[_0x4cf9f1[_0x57ac34(0x2d7)]],[_0x16862c],[_0x322e8c],[_0x25f318],[_0x34fb25],[_0x4cf9f1[_0x57ac34(0x338)]]];_0x23cfa0[_0x57ac34(0x1ed)](this[_0x57ac34(0x443)],_0x23cfa0[_0x57ac34(0x322)](_0x2f0964,(_0x339e24=this['_config'])==null?void 0x0:_0x339e24['override']));}[_0xf94d15(0x30a)](){const _0x3009b7=_0xf94d15;this[_0x3009b7(0x340)](this[_0x3009b7(0x441)][_0x3009b7(0x288)](_0x23cfa0[_0x3009b7(0x40e)][_0x3009b7(0x2ea)],[_0x2cdf34])),this['disposeWithMe'](this[_0x3009b7(0x441)][_0x3009b7(0x288)](_0x23cfa0[_0x3009b7(0x40e)][_0x3009b7(0x272)],[_0x52df86]));}[_0xf94d15(0x312)](){const _0x280041=_0xf94d15;_0x23cfa0[_0x280041(0x1c8)](this['_injector'],[[_0x25f318],[_0x4cf9f1[_0x280041(0x2d7)]],[_0x16862c],[_0x322e8c],[_0x4cf9f1['CollaborationDataLoaderController']]]);}},_0xbce476(_0x4cf9f1[_0xf94d15(0x30f)],_0xf94d15(0x309),_0x4bee47),_0x4cf9f1[_0xf94d15(0x30f)]=_0x94d1b([_0x23cfa0[_0xf94d15(0x350)](_0x51ae97[_0xf94d15(0x21c)]),_0x58e405(0x1,_0x188338[_0xf94d15(0x20e)]),_0x58e405(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['Injector'])),_0x58e405(0x3,_0x23cfa0[_0xf94d15(0x231)])],_0x4cf9f1['UniverCollaborationClientUIPlugin']);var _0x4ca1b1=Object[_0xf94d15(0x1e6)],_0x47dbb2=(_0x4a0272,_0x500eba,_0x1e2e73,_0x5d63bc)=>{const _0x199d2f=_0xf94d15;for(var _0x1c9c81=_0x5d63bc>0x1?void 0x0:_0x5d63bc?_0x4ca1b1(_0x500eba,_0x1e2e73):_0x500eba,_0x30d287=_0x4a0272[_0x199d2f(0x354)]-0x1,_0xf808c9;_0x30d287>=0x0;_0x30d287--)(_0xf808c9=_0x4a0272[_0x30d287])&&(_0x1c9c81=_0xf808c9(_0x1c9c81)||_0x1c9c81);return _0x1c9c81;},_0x5dc473=(_0x46d602,_0x1404b9)=>(_0x27cb2a,_0x487ff3)=>_0x1404b9(_0x27cb2a,_0x487ff3,_0x46d602);_0x4cf9f1[_0xf94d15(0x449)]=class extends _0x51ae97['CollaborationSocketService']{constructor(_0x1f98c4,_0x462486,_0x4f36cc,_0x451f40,_0x35234c){super(_0x1f98c4,_0x462486,_0x4f36cc,_0x451f40,_0x35234c);}async['createSocket'](_0xf676cf){const _0x825020=_0xf94d15,_0x58d09f=await this['_getSessionTicket'](),_0x52f92a=this[_0x825020(0x399)](_0xf676cf,_0x58d09f);return this['_doCreateSocket'](_0x52f92a);}[_0xf94d15(0x399)](_0x1e5178,_0x1f564f){const _0x3b87b2=_0xf94d15,_0x17d7d9=typeof window>'u'?new URL(_0x1e5178):new URL(_0x1e5178,window[_0x3b87b2(0x3dd)][_0x3b87b2(0x1e5)]);_0x17d7d9[_0x3b87b2(0x347)][_0x3b87b2(0x429)](_0x3b87b2(0x201),_0x1f564f);const _0x264d19=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x264d19[_0x3b87b2(0x417)](_0x3b87b2(0x349))&&_0x17d7d9[_0x3b87b2(0x347)]['set']('runId',_0x264d19[_0x3b87b2(0x417)](_0x3b87b2(0x349))),_0x17d7d9[_0x3b87b2(0x29b)]();}async[_0xf94d15(0x294)](){const _0x5a1f6f=_0xf94d15;var _0x59f290,_0x29dc02,_0x35b7b4;const _0x4c26e3=this[_0x5a1f6f(0x20c)][_0x5a1f6f(0x255)](_0x51ae97[_0x5a1f6f(0x3ec)]),_0x43c886=(_0x59f290=_0x4c26e3==null?void 0x0:_0x4c26e3[_0x5a1f6f(0x268)])!=null?_0x59f290:_0x51ae97['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x35b7b4=(_0x29dc02=(await this[_0x5a1f6f(0x36a)]['get'](_0x43c886,{'headers':{'Content-Type':'application/json'}}))[_0x5a1f6f(0x2b5)])==null?void 0x0:_0x29dc02[_0x5a1f6f(0x38f)])!=null?_0x35b7b4:'';}},_0x4cf9f1['BrowserCollaborationSocketService']=_0x47dbb2([_0x5dc473(0x0,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x5dc473(0x1,_0x23cfa0['Inject'](_0x99d8d6[_0xf94d15(0x401)])),_0x5dc473(0x2,_0x23cfa0[_0xf94d15(0x231)]),_0x5dc473(0x3,_0x23cfa0[_0xf94d15(0x245)]),_0x5dc473(0x4,_0x46d1ab[_0xf94d15(0x39a)])],_0x4cf9f1[_0xf94d15(0x449)]);const _0x364734=0x7530,_0x2bbc4c=_0xf94d15(0x221);class _0xce475 extends _0x23cfa0['Disposable']{constructor(){const _0x50ddfd=_0xf94d15;super(),_0x6a5a04(this,_0x50ddfd(0x459),_0x23cfa0[_0x50ddfd(0x1d0)]()),_0x6a5a04(this,_0x50ddfd(0x3f1),new Set()),_0x6a5a04(this,_0x50ddfd(0x45a),new Map()),_0x6a5a04(this,_0x50ddfd(0x1d4),null),_0x6a5a04(this,'_clearOtherTimers',new Map()),_0x6a5a04(this,_0x50ddfd(0x3f0),new Map()),this[_0x50ddfd(0x32b)]();}['dispose'](){const _0x4f1543=_0xf94d15;super[_0x4f1543(0x38a)](),this[_0x4f1543(0x26e)][_0x4f1543(0x403)]((_0xb95a08,_0x1cae45)=>this[_0x4f1543(0x3b8)](_0x1cae45)),this[_0x4f1543(0x1d4)]&&window[_0x4f1543(0x307)](this['_heartbeatTimer']);}[_0xf94d15(0x2f9)](_0x2df92d){const _0x1477c4=_0xf94d15;return this[_0x1477c4(0x1d8)](_0x2df92d)[_0x1477c4(0x41e)](_0x1425de[_0x1477c4(0x414)]());}['editingUnit'](_0x212d1f){const _0x5f3d5d=_0xf94d15;this[_0x5f3d5d(0x3f1)]['size']===0x0&&this[_0x5f3d5d(0x27d)](),this['_selfUnitIDs'][_0x5f3d5d(0x241)](_0x212d1f),this[_0x5f3d5d(0x396)]({'type':0x0,'memberID':this[_0x5f3d5d(0x459)],'unitIDs':[_0x212d1f],'isForwarded':!0x1});}[_0xf94d15(0x422)](_0x519e6e){const _0x1540fa=_0xf94d15;this[_0x1540fa(0x3f1)][_0x1540fa(0x2e7)](_0x519e6e),this[_0x1540fa(0x3f1)][_0x1540fa(0x2f8)]===0x0&&this[_0x1540fa(0x1d4)]&&window['clearInterval'](this[_0x1540fa(0x1d4)]);}[_0xf94d15(0x32b)](){const _0x2baa44=_0xf94d15;this[_0x2baa44(0x340)](_0x23cfa0[_0x2baa44(0x357)](_0x1425de[_0x2baa44(0x455)](window,'storage')[_0x2baa44(0x2a8)](_0x2bd9ba=>{const _0x4324f0=_0x2baa44;if(_0x2bd9ba[_0x4324f0(0x1f8)]!==_0x2bbc4c||!_0x2bd9ba[_0x4324f0(0x25b)])return;const _0x129d94=JSON[_0x4324f0(0x411)](_0x2bd9ba[_0x4324f0(0x25b)]);this['_handleEvent'](_0x129d94);}))),window[_0x2baa44(0x1e9)]('unload',()=>this[_0x2baa44(0x396)]({'type':0x1,'memberID':this[_0x2baa44(0x459)],'unitIDs':Array[_0x2baa44(0x2d0)](this['_selfUnitIDs'])}));}[_0xf94d15(0x31c)](_0x117cf0){const _0x326ca3=_0xf94d15;switch(_0x117cf0[_0x326ca3(0x3de)]){case 0x0:this[_0x326ca3(0x2fe)](_0x117cf0);break;case 0x1:this[_0x326ca3(0x3bb)](_0x117cf0);break;case 0x2:this[_0x326ca3(0x2e4)](_0x117cf0);break;}}[_0xf94d15(0x2fe)](_0x4f82fc){const _0x3b0bc8=_0xf94d15,{unitIDs:_0x3e37ca,memberID:_0x4e598d,isForwarded:_0x564b64}=_0x4f82fc;_0x3e37ca['forEach'](_0x4a74d2=>{const _0x75bc5f=_0x3464;if(!_0x564b64&&this[_0x75bc5f(0x45a)]['has'](_0x4a74d2)&&this['_ensureSubject'](_0x4a74d2)[_0x75bc5f(0x3d9)](_0x51ae97[_0x75bc5f(0x424)]['OTHER_CLIENTS_EDITING']),!this[_0x75bc5f(0x45a)][_0x75bc5f(0x3a2)](_0x4a74d2)||!this[_0x75bc5f(0x45a)][_0x75bc5f(0x417)](_0x4a74d2)[_0x75bc5f(0x3a2)](_0x4e598d)){const _0x18f0db=this[_0x75bc5f(0x45a)]['get'](_0x4a74d2)||new Set();_0x18f0db[_0x75bc5f(0x241)](_0x4e598d),this[_0x75bc5f(0x45a)]['set'](_0x4a74d2,_0x18f0db),this[_0x75bc5f(0x22c)](_0x4e598d);}}),_0x564b64||this[_0x3b0bc8(0x396)]({'type':0x0,'memberID':this[_0x3b0bc8(0x459)],'unitIDs':[...this[_0x3b0bc8(0x3f1)]],'isForwarded':!0x0});}[_0xf94d15(0x22c)](_0x3d045c){const _0x12bde7=_0xf94d15;this[_0x12bde7(0x3b8)](_0x3d045c);const _0x58db51=window['setTimeout'](()=>{const _0x5a7bda=_0x12bde7;this[_0x5a7bda(0x45a)][_0x5a7bda(0x403)](_0x45a9a0=>{_0x45a9a0['delete'](_0x3d045c);});},_0x364734*0x2);this[_0x12bde7(0x26e)][_0x12bde7(0x429)](_0x3d045c,_0x58db51);}['_removeClearOtherTimer'](_0xe80954){const _0x54b109=_0xf94d15;if(this['_clearOtherTimers'][_0x54b109(0x3a2)](_0xe80954)){const _0x58ca10=this[_0x54b109(0x26e)][_0x54b109(0x417)](_0xe80954);_0x58ca10&&window['clearTimeout'](_0x58ca10),this[_0x54b109(0x26e)][_0x54b109(0x429)](_0xe80954,null);}}[_0xf94d15(0x3bb)](_0x591dc2){const _0x44a09d=_0xf94d15,{memberID:_0x64913b,unitIDs:_0x3c75dd}=_0x591dc2;_0x3c75dd[_0x44a09d(0x403)](_0x12db6d=>{const _0x2cd176=_0x44a09d;var _0x28a8e4;const _0x10f8dc=this[_0x2cd176(0x45a)][_0x2cd176(0x417)](_0x12db6d);_0x10f8dc&&(_0x10f8dc[_0x2cd176(0x2e7)](_0x64913b),(_0x28a8e4=this[_0x2cd176(0x1d8)](_0x12db6d))==null||_0x28a8e4[_0x2cd176(0x3d9)](_0x10f8dc[_0x2cd176(0x2f8)]===0x0?_0x51ae97[_0x2cd176(0x424)][_0x2cd176(0x257)]:_0x51ae97['UnitStatus'][_0x2cd176(0x3cb)]));}),this[_0x44a09d(0x3b8)](_0x64913b);}['_handleHeartbeatEvent'](_0x48a95e){const _0x1aecca=_0xf94d15;this['_scheduleClearOtherTimer'](_0x48a95e[_0x1aecca(0x258)]);}[_0xf94d15(0x396)](_0xca34b1){const _0x1eb39c=_0xf94d15;localStorage[_0x1eb39c(0x3c9)](_0x2bbc4c,JSON[_0x1eb39c(0x1c9)](_0xca34b1));}[_0xf94d15(0x27d)](){const _0x19208d=_0xf94d15;this[_0x19208d(0x1d4)]=window['setInterval'](()=>{const _0xbff4a1=_0x19208d;this[_0xbff4a1(0x396)]({'type':0x2,'memberID':this[_0xbff4a1(0x459)]});},_0x364734);}[_0xf94d15(0x1d8)](_0x3117d2){const _0x4bc5e3=_0xf94d15;return this[_0x4bc5e3(0x3f0)][_0x4bc5e3(0x3a2)](_0x3117d2)||this[_0x4bc5e3(0x3f0)]['set'](_0x3117d2,new _0x1425de[(_0x4bc5e3(0x41c))](_0x51ae97[_0x4bc5e3(0x424)][_0x4bc5e3(0x257)])),this['_unitStatus'][_0x4bc5e3(0x417)](_0x3117d2);}}var _0x40abde=(_0x36a50b=>(_0x36a50b[_0x36a50b['UNDEFINED']=0x0]='UNDEFINED',_0x36a50b[_0x36a50b['OK']=0x1]='OK',_0x36a50b[_0x36a50b[_0xf94d15(0x296)]=0x2]=_0xf94d15(0x296),_0x36a50b[_0x36a50b[_0xf94d15(0x317)]=0x3]='PERMISSION_DENIED',_0x36a50b[_0x36a50b[_0xf94d15(0x264)]=0x4]='NOT_FOUND',_0x36a50b[_0x36a50b['UNAUTHENTICATED']=0x5]=_0xf94d15(0x3e0),_0x36a50b[_0x36a50b[_0xf94d15(0x327)]=0x6]=_0xf94d15(0x327),_0x36a50b[_0x36a50b['INVALID_ARGUMENT']=0x7]=_0xf94d15(0x229),_0x36a50b[_0x36a50b['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x36a50b[_0x36a50b[_0xf94d15(0x297)]=0x9]=_0xf94d15(0x297),_0x36a50b[_0x36a50b[_0xf94d15(0x39d)]=0xa]=_0xf94d15(0x39d),_0x36a50b[_0x36a50b[_0xf94d15(0x3a6)]=0x1389]=_0xf94d15(0x3a6),_0x36a50b[_0x36a50b['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x36a50b[_0x36a50b[_0xf94d15(0x28f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x36a50b[_0x36a50b[_0xf94d15(0x3e2)]=0x1773]=_0xf94d15(0x3e2),_0x36a50b[_0x36a50b[_0xf94d15(0x2e2)]=0x1b59]=_0xf94d15(0x2e2),_0x36a50b[_0x36a50b[_0xf94d15(0x3c7)]=0x1b5a]=_0xf94d15(0x3c7),_0x36a50b[_0x36a50b[_0xf94d15(0x38b)]=0x1b5b]=_0xf94d15(0x38b),_0x36a50b[_0x36a50b[_0xf94d15(0x260)]=0x1b5c]=_0xf94d15(0x260),_0x36a50b[_0x36a50b[_0xf94d15(0x42b)]=0x1b5d]=_0xf94d15(0x42b),_0x36a50b[_0x36a50b[_0xf94d15(0x1ec)]=0x1f41]=_0xf94d15(0x1ec),_0x36a50b[_0x36a50b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xf94d15(0x31b),_0x36a50b[_0x36a50b[_0xf94d15(0x3c3)]=0x232a]=_0xf94d15(0x3c3),_0x36a50b[_0x36a50b[_0xf94d15(0x2ff)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x36a50b[_0x36a50b[_0xf94d15(0x1fa)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x36a50b[_0x36a50b[_0xf94d15(0x22e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x36a50b[_0x36a50b[_0xf94d15(0x263)]=0x2711]=_0xf94d15(0x263),_0x36a50b[_0x36a50b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x36a50b[_0x36a50b['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x36a50b[_0x36a50b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xf94d15(0x386),_0x36a50b[_0x36a50b[_0xf94d15(0x3e7)]=0x271a]=_0xf94d15(0x3e7),_0x36a50b[_0x36a50b[_0xf94d15(0x3a4)]=0x271b]=_0xf94d15(0x3a4),_0x36a50b[_0x36a50b[_0xf94d15(0x270)]=0x271c]=_0xf94d15(0x270),_0x36a50b[_0x36a50b[_0xf94d15(0x334)]=0x271d]=_0xf94d15(0x334),_0x36a50b[_0x36a50b[_0xf94d15(0x430)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x36a50b[_0x36a50b[_0xf94d15(0x43a)]=0x271f]=_0xf94d15(0x43a),_0x36a50b[_0x36a50b[_0xf94d15(0x2a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x36a50b[_0x36a50b['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xf94d15(0x345),_0x36a50b[_0x36a50b[_0xf94d15(0x38e)]=0x2ee2]=_0xf94d15(0x38e),_0x36a50b[_0x36a50b[_0xf94d15(0x402)]=0x2ee3]=_0xf94d15(0x402),_0x36a50b[_0x36a50b[_0xf94d15(0x384)]=0x2ee4]=_0xf94d15(0x384),_0x36a50b[_0x36a50b[_0xf94d15(0x28b)]=0x2ee5]=_0xf94d15(0x28b),_0x36a50b[_0x36a50b[_0xf94d15(0x3ac)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x36a50b[_0x36a50b[_0xf94d15(0x450)]=0x32ca]=_0xf94d15(0x450),_0x36a50b[_0x36a50b[_0xf94d15(0x2c2)]=0x32cb]=_0xf94d15(0x2c2),_0x36a50b[_0x36a50b[_0xf94d15(0x212)]=-0x1]=_0xf94d15(0x212),_0x36a50b))(_0x40abde||{}),_0x3a9ef0=Object[_0xf94d15(0x1e6)],_0x2f3b87=(_0x1152db,_0x4ff8fe,_0x106fc3,_0x4fb2c6)=>{const _0x1401fe=_0xf94d15;for(var _0x57f5c7=_0x4fb2c6>0x1?void 0x0:_0x4fb2c6?_0x3a9ef0(_0x4ff8fe,_0x106fc3):_0x4ff8fe,_0x271ab1=_0x1152db[_0x1401fe(0x354)]-0x1,_0x3b5778;_0x271ab1>=0x0;_0x271ab1--)(_0x3b5778=_0x1152db[_0x271ab1])&&(_0x57f5c7=_0x3b5778(_0x57f5c7)||_0x57f5c7);return _0x57f5c7;},_0x556b18=(_0x10de97,_0x220614)=>(_0x2208c2,_0x4763ff)=>_0x220614(_0x2208c2,_0x4763ff,_0x10de97);_0x4cf9f1['RemoteUniscriptService']=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0x285e74,_0x18e9ef,_0x2f325c){const _0x3413e8=_0xf94d15;super(),this[_0x3413e8(0x228)]=_0x285e74,this['_httpService']=_0x18e9ef,this[_0x3413e8(0x20c)]=_0x2f325c;}async[_0xf94d15(0x366)](_0x41e3e0,_0x29ec8e,_0x140a9c,..._0x2880a7){const _0x273bf7=_0xf94d15;var _0x4ec788,_0x31df69,_0x1b031f,_0x51a221;const _0x332b6b=this[_0x273bf7(0x228)][_0x273bf7(0x200)]();if(!_0x332b6b)throw new Error(_0x273bf7(0x303));const _0x500537=((_0x4ec788=this['_configService'][_0x273bf7(0x255)](_0x51ae97[_0x273bf7(0x2d3)]))!=null?_0x4ec788:_0x51ae97[_0x273bf7(0x416)])+'/'+_0x41e3e0+'/run/'+_0x29ec8e,_0x25b799=new URL(window[_0x273bf7(0x3dd)]['href']),_0xf18e5d={'scriptId':_0x41e3e0,'runId':(_0x31df69=_0x25b799[_0x273bf7(0x347)][_0x273bf7(0x417)](_0x273bf7(0x349)))!=null?_0x31df69:'','function':_0x29ec8e,'unitId':_0x332b6b[_0x273bf7(0x289)](),'argsOfFunction':JSON[_0x273bf7(0x1c9)](_0x2880a7),'invokeId':(_0x1b031f=_0x140a9c[_0x273bf7(0x415)])!=null?_0x1b031f:'','executionId':(_0x51a221=_0x140a9c[_0x273bf7(0x34d)])!=null?_0x51a221:''};try{const _0xb9699d=await this[_0x273bf7(0x36a)][_0x273bf7(0x336)](_0x500537,{'body':_0xf18e5d});return _0xb9699d['body'][_0x273bf7(0x393)]&&_0xb9699d[_0x273bf7(0x2b5)]['error']['code']!==_0x40abde['OK']?'Failed':_0xb9699d[_0x273bf7(0x2b5)][_0x273bf7(0x2bb)];}catch{return'Failed';}}},_0x4cf9f1[_0xf94d15(0x23f)]=_0x2f3b87([_0x556b18(0x0,_0x23cfa0[_0xf94d15(0x1e2)]),_0x556b18(0x1,_0x23cfa0['Inject'](_0x99d8d6[_0xf94d15(0x401)])),_0x556b18(0x2,_0x23cfa0[_0xf94d15(0x231)])],_0x4cf9f1['RemoteUniscriptService']),_0x4cf9f1[_0xf94d15(0x435)]=_0x2e9e93,_0x4cf9f1[_0xf94d15(0x42e)]=_0x307def,_0x4cf9f1['SheetCollabCursorShape']=_0xc78d6d,_0x4cf9f1[_0xf94d15(0x446)]=_0xce475,_0x4cf9f1[_0xf94d15(0x223)]=_0x69d05e,Object['defineProperty'](_0x4cf9f1,Symbol['toStringTag'],{'value':'Module'});}));function _0x3464(_0x1731ae,_0x47ebbc){const _0x3d7fc1=_0x3d7f();return _0x3464=function(_0x34648b,_0x315fea){_0x34648b=_0x34648b-0x1c8;let _0x5bdf11=_0x3d7fc1[_0x34648b];return _0x5bdf11;},_0x3464(_0x1731ae,_0x47ebbc);}function _0x3d7f(){const _0xbf78a7=['dispose$','isActive','error','getMemberID','_setupBeforeClosingHandler','_send','_color','_getScale','_createSocketURL','ISnapshotServerService','_labelPosition','registerComponent','LOGIN_FAILED','pushState','_docSyncEditingCollabCursorService','UniverUi','m1Prime','has','min','YUUMI_ASYNCIO_CANCELLED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','CHANGESET_REVISION_CONFILICT','replace','_name','xlink:href','_lastPointer','getActiveRange','WECHAT_HAS_BEEN_BOUND','createElement','getParam','#FFF','rxjs','createInstance','transformIMECache','colorChannel1','collab-rect-range-','_collabSessionService','_entities','SYNCED','_removeClearOtherTimer','actions','urlChange$','_handleLeaveEvent','_cachedData','getCurrentSelections','ThemeService','_notificationService','_status$','getDocRanges','fromEventSubject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SetSelectionsOperation','color','_hover','APPLY_NON_SEQUENTIAL_REVISION','serializeRangeWithSheet','setItem','skeleton','OTHER_CLIENTS_EDITING','max','OTHER_CLIENT_EDITING','getCurrent','_cursorShapes','1em','sheetId','updateOfflineData','round','_logService','_localCacheService','onPointerMove$','TEXT_RANGE_LAYER_INDEX','@univerjs-pro/collaboration-client','next','Disposable','InsertRangeMoveRightCommandId','getTypeOfUnitDisposed$','location','type','_updateCollabCursors','UNAUTHENTICATED','_sheetSkeletonManagerService','ENSURE_SNAPSHOT_EXECUTION','UniverDocs','takeUntil','href','TEXT','YUUMI_NO_CUBOID_FOR_QUESTION','_startSheetCollabCursor','_themeService','jsx','attrs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','height','translate(.97)','Vector2','_unitStatus','_selfUnitIDs','push','propertyIsEnumerable','displayName','_setupSubUnitSync','filter','_transformHistoryAndStateStack','div','random','setUndoRedoMutationParamsCache','collaboration.closeRoom','setParam','RichTextEditingMutation','fillRule','RegularPolygon','IUIPartsService','HTTPService','INVITE_CODE_REQUIRED','forEach','_document','history','_initCommandExecutedListener','currentColor','addHandlerCallback','_hovered','trim','_registerDependencies','debounceTime','_transformService','UniverInstanceType','OnLineIcon','DeleteRangeMoveLeftCommandId','parse','path','hasOwnProperty','distinctUntilChanged','invokeId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','get','_imageIoService','_refRangeService','purple.300','LocaleService','BehaviorSubject','getStateCache','pipe','params','ITransformService','_onCursorDelete','disposeUnit','Rectangle','UnitStatus','status$','textRanges','url(#off-line-icon_clip0_910_343)','_collabCursorController','set','onPointerEnter$','APPLY_DUPLICATED','startsWith','_anchorDot','IURLService','UniverRpc','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OFFLINE','_colorAssignService','univer-flex\x20univer-items-center','onPointerLeave$','CollaborationStatusDisplay','entityInit$','_range','split','DataLoaderService','YUUMI_AI_RUN_FAILED','getCurrentUnitForType','blue.400','setConfig','onCommandExecuted','_scheduleSaving','yellow.400','_renderManagerService','permission.content','_injector','UniverProCollaborationClient','NodePositionConvertToCursor','WebBrowserSingleActiveUnitService','red.300','821261StzRCM','BrowserCollaborationSocketService','_startDocCollabCursor','entries','getSheetBySheetId','@univerjs/rpc','FETCH_MISS','fill','MOBILE_HAS_BEEN_BOUND','HEADER_MENU','CollaborationEvent','_syncEditingCollabCursorService','bottom','fromEvent','RECT','exports','0\x200\x2017\x2016','_id','_unitOnClients','touchDependencies','stringify','sessionStatus$','@univerjs/core','_backgroundColor','_commandService','collaboration.single-unit.warning','save','generateRandomId','amd','SetWorksheetActivateCommand','_cursors','_heartbeatTimer','getRenderById','call','isEditing','_ensureSubject','clipPath','SessionStatus','_textBubble','setStateCache','UniverCore','collab-client.tooltip.reconnect','30ImsddR','startRow','deserializeRangeWithSheet','IUniverInstanceService','_transformPreviousActiveRange','Injector','origin','getOwnPropertyDescriptor','ICommandService','substring','addEventListener','EffectRefRangId','url(#$1','CONNECTOR_DATA_TOO_LARGE','registerDependencies','getAncestorScale','none','_revisionService','1679109GCkdrF','cursorInfo','init','Error','_messageService','NodePositionConvertToRectRange','MemberService','key','@univerjs/ui','LICENSE_EXPORT_SIZE_EXCEEDED','react','468890nqRthU','_localeService','top','subunit','getFocusedUnit','sessionTicket','RemoveColCommandId','tag','onTransformChange$','backgroundColor','onMouseMove','_getSaveTimeout','_docClipboardService','_initEntityListener','transformMutationsWithChangeset','347924HyVhnm','_configService','defineProperty','IRenderManagerService','_docTransformStateCacheService','addObjects','DocSelectionManagerService','UNRECOGNIZED','_assignedColors','ILocalCacheService','Tooltip','_docStateChangeManagerService','_shapes','mutations','getItem','univerjs-icon\x20univerjs-icon-','_docSkeletonManagerService','UniverCollaborationClientPlugin','_updateURLWithCurrentState','FromArray','468KuzXPy','_getMergeRange','ACTIVE_UNIT_EVENT_CHANNEL','getMember','WebURLService','roomMembers','range','RevisionService','_updateSubUnitFromURLParams','_instanceService','INVALID_ARGUMENT','svg','AWAITING','_scheduleClearOtherTimer','_docTransformSelectionsService','LICENSE_DISTRO_REJECTED','onStarting','string','IConfigService','Rect','_entityInit$','executeCommand','requireSession','white','lineTo','transformMutation','mask','@univerjs/docs','children','_config','unshift','merge','RemoteUniscriptService','ISocketService','add','combineLatest','handleInsertCol','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ILogService','m2Prime','@univerjs/engine-formula','0\x200\x2016\x2016','subUnitId','findNodePositionByCharIndex','Inject','handleIRemoveRow','debounce','_initResize','_anchor','collabStatus.notCollab','_toggleOffline','_removeCollabCursors','width','getOwnPropertySymbols','getConfig','getSkeleton','NO_OTHER_CLIENTS_EDITING','memberID','20vxhqZR','rxjs/operators','newValue','icon','send','_drawAnchor','getTypeOfUnitAdded$','APPLY_PERMISSION_DENIED','UniverProCollaborationClientUi','eventID','YUUMI_UNABLE_LOAD_URL','NOT_FOUND','registerBeforeClose','clearTimeout','assign','wsSessionTicketUrl','text','_hideTimer','DOC_RANGE_TYPE','_context','CLOSE_ROOM','_clearOtherTimers','_docTransformIMECacheService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','rgba(255,\x20255,\x20255,\x200.01)','UNIVER_SHEET','React','isTransformMutationFailure','Optional','focused$','_initStatusComponent','moveTo','@univerjs/engine-render','cursorInfo$','onRendered','asObservable','_scheduleHeartbeat','_roomMembers$','MessageType','assignAColorForMemberID','idSuffix','addObject','UniverSheets','http://www.w3.org/2000/svg','transformRemoteChangeset','_draw','getCollabCursors$','registerRenderModule','getUnitId','SHEET_VIEWPORT_KEY','INVITE_CODE_ALREADY_BOUND','_transformUndoRedoStack','deepClone','selections','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationSessionService','_initEvent','Tools','_localStorageService','_getSessionTicket','_onCursorUpdate','INTERNAL_ERROR','COMPLETION_FINISHED','collab-text-anchor-','_toggleOnline','CollaborationStatus','toString','source','CollaborationController','[CollaborationDataLoaderController]','handleInsertRow','PY_RUNTIME_SCRIPT_ERROR','startColumn','popstate','_collaborationController','handleDeleteRangeMoveLeft','UniverProCollaboration','complete','UniverSheetsUi','subscribe','getVpScrollXYInfoByPosToVp','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','green.600','session.collaboration-timeout','SheetSkeletonManagerService','whenReady','4301528mYmzqV','unitId','IImageIoService','_docSkeleton','getCellPositionByOffset','className','body','JOIN_ROOM_FAILED','_urlService','activeSheet$','SOCKET_FAILED_RETRY','collaboration-client.offline-data-not-saved','result','saveOfflineData','@univerjs/sheets-ui','CollaborationUIEventId','off-line-icon_clip0_910_343','getColor','defIds','EMAIL_HAS_BEEN_BOUND','...','extend','permission.title','DocStateChangeManagerService','isArray','getSheetId','map','DeleteRangeMoveUpCommandId','values','drawWith','ILocalStorageService','UniverDesign','saveTaskMap','from','_disabled','PENDING','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_uiPartsService','column','_onRefRangeChange','DesktopCollaborationStatusDisplayController','_collaborationUIEventService','_cursor','Workbook','Warning','event$','redoState','unitID','enableLocalCache','unsubscribe','@univerjs/design','APPLY_REJECT','contains','_handleHeartbeatEvent','reconnect','with','delete','Unknown\x20user','restore','UNIVER_DOC','fillStyle','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','_updateLocalCursor','transform','fillText','CONFLICT','collabStatus.offline','runRefRangeMutations','shareReplay','ONLINE','loadOfflineData','InsertRowCommandId','IRemoteInstanceService','size','getUnitStatus$','_collabCursorState$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','replaceState','_eventUnsubscribe','_handleJoinEvent','LICENSE_IMPORT_SIZE_EXCEEDED','getUniverSheetInstance','function','IDocClipboardService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UPDATE_CURSOR','flatMap','_drawRectRange','clearInterval','_render','pluginName','_registerRenderDependencies','_beforeCloseService','_univerInstanceService','UniverIcon','setShapeProps','UniverCollaborationClientUIPlugin','@univerjs/network','jiqing.500','_initDependencies','jsxs','_saveTaskMap','22148ZuyTBH','data','PERMISSION_DENIED','_initStatusListener','Plugin','then','LICENSE_MAX_UNITS_EXCEEDED','_handleEvent','_dataLoaderService','_memberService','switchMap','name','closePath','mergeOverrideWithDependencies','clsx','_getSheetObject','CommandType','black','ALREADY_EXISTS','registerRefRange','isTransformMutationsWithChangesetSuccess','ranges','_init','transformStateCache','throttleTime','measureText','transformSelections','imageSourceType','@univerjs/sheets','SheetsSelectionsService','_drawTextRange','YUUMI_ALL_TABLES_IS_INVALID','sheetID','post','useRef','CollaborationDataLoaderController','SetTextSelectionsOperation','getViewport','doc.mutation.rich-text-editing','defs','collabCursorState$','getOffsetConfig','react/jsx-runtime','disposeWithMe','RxDisposable','arc','labelPosition','concat','INVITE_CODE_HAS_BEEN_UES','COLORS','searchParams','symbol','runId','undoState','makeDirty','101810PPBtMk','executionId','object','USERS_LEAVE','DependentOn','@univerjs-pro/collaboration','SetDocZoomRatioOperation','_handleHover','length','getColorFromTheme','currentSkeleton$','toDisposable','show','on-line-icon','forwardRef','_colorIndex','@univerjs/docs-ui','getCoordByCell','syncEditingCollabCursor','Shape','@univerjs/drawing','getUndoRedoMutationParamsCache','apply','handleIRemoveCol','connectInjector','_online','runOnServer','SUBMIT_CHANGESET_TIMEOUT','currentTheme$','url(#on-line-icon_clip0_910_349)','_httpService','subscribeEvent','univer-mr-2\x20univer-flex\x20univer-text-xl','_session','getRangePointData','includes','SOCKET_FAILED','session.will-retry','getCurrentRevOfUnit','_scene','ColorKit','Subject','prototype','roomMembers$','uni.network.url-service','saveImage','getActiveSheet','toRgbString','on-line-icon_clip0_910_349','MoveRangeCommandId','selection','_refreshCollabCursors','hide','_cursorInfo$','getLocalCacheKey','row','USER_NOT_INVITED_CODE','exhaustSavingTask','YUUMI_SUBSCRIPTION_NOT_FOUND','_saveCache','useDependency','getValue','dispose','APPLY_REVISION_CONFILICT','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','handleInsertRangeMoveDown','INVALID_INVITE_CODE','ticket','NOT_COLLAB'];_0x3d7f=function(){return _0xbf78a7;};return _0x3d7f();}
1
+ (function(_0x43598f,_0x1ce069){const _0x3c682f=_0x25e4,_0x280911=_0x43598f();while(!![]){try{const _0x558bba=-parseInt(_0x3c682f(0x2b7))/0x1*(-parseInt(_0x3c682f(0x22d))/0x2)+parseInt(_0x3c682f(0x192))/0x3+parseInt(_0x3c682f(0x33b))/0x4+parseInt(_0x3c682f(0x136))/0x5*(-parseInt(_0x3c682f(0x34c))/0x6)+-parseInt(_0x3c682f(0x382))/0x7+parseInt(_0x3c682f(0x1b3))/0x8*(-parseInt(_0x3c682f(0x358))/0x9)+parseInt(_0x3c682f(0x1ed))/0xa*(parseInt(_0x3c682f(0x357))/0xb);if(_0x558bba===_0x1ce069)break;else _0x280911['push'](_0x280911['shift']());}catch(_0x23497c){_0x280911['push'](_0x280911['shift']());}}}(_0x225a,0x9fe35),function(_0x4c90d7,_0x5b5833){const _0x4061aa=_0x25e4;typeof exports==_0x4061aa(0x30e)&&typeof module<'u'?_0x5b5833(exports,require(_0x4061aa(0x2c9)),require(_0x4061aa(0x121)),require(_0x4061aa(0x2a6)),require(_0x4061aa(0x1d0)),require(_0x4061aa(0x256)),require(_0x4061aa(0x111)),require(_0x4061aa(0x114)),require('@univerjs/docs'),require(_0x4061aa(0x269)),require('@univerjs/engine-formula'),require(_0x4061aa(0x2d5)),require(_0x4061aa(0x348)),require(_0x4061aa(0x332)),require('react/jsx-runtime'),require(_0x4061aa(0x265)),require('@univerjs/design'),require(_0x4061aa(0x180)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x4061aa(0x1d9)]?define([_0x4061aa(0x37e),_0x4061aa(0x2c9),'@univerjs/core',_0x4061aa(0x2a6),'@univerjs/network',_0x4061aa(0x256),_0x4061aa(0x111),_0x4061aa(0x114),'@univerjs/docs',_0x4061aa(0x269),'@univerjs/engine-formula','@univerjs/sheets',_0x4061aa(0x348),'@univerjs/sheets-ui','react/jsx-runtime',_0x4061aa(0x265),_0x4061aa(0x126),_0x4061aa(0x180),'@univerjs/rpc'],_0x5b5833):(_0x4c90d7=typeof globalThis<'u'?globalThis:_0x4c90d7||self,_0x5b5833(_0x4c90d7[_0x4061aa(0x211)]={},_0x4c90d7[_0x4061aa(0x254)],_0x4c90d7['UniverCore'],_0x4c90d7[_0x4061aa(0x20c)],_0x4c90d7[_0x4061aa(0x35c)],_0x4c90d7[_0x4061aa(0x326)],_0x4c90d7['UniverDrawing'],_0x4c90d7[_0x4061aa(0x114)],_0x4c90d7[_0x4061aa(0x215)],_0x4c90d7['UniverProCollaboration'],_0x4c90d7[_0x4061aa(0x289)],_0x4c90d7[_0x4061aa(0x1f9)],_0x4c90d7['rxjs'][_0x4061aa(0x1b6)],_0x4c90d7[_0x4061aa(0x2bb)],_0x4c90d7[_0x4061aa(0x37c)],_0x4c90d7['UniverUi'],_0x4c90d7[_0x4061aa(0x2dd)],_0x4c90d7['React'],_0x4c90d7[_0x4061aa(0x10f)]));}(this,function(_0x4392a1,_0x3d42b8,_0x20df47,_0x4e3aee,_0x230e9b,_0x8e9d75,_0x1a7423,_0x3396eb,_0xb95e52,_0x3395bd,_0x3bbe9e,_0x3148e7,_0xb9a466,_0x3410d0,_0x58edf1,_0x1229e7,_0x42ee62,_0x14d7ce,_0xdffc4){'use strict';const _0x364fc7=_0x25e4;var _0x24ec4f=Object['defineProperty'],_0x556e58=(_0x4c7413,_0x33b5a9,_0x181759)=>_0x33b5a9 in _0x4c7413?_0x24ec4f(_0x4c7413,_0x33b5a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x181759}):_0x4c7413[_0x33b5a9]=_0x181759,_0x4a92d0=(_0x55a34d,_0x41c959,_0x4087db)=>_0x556e58(_0x55a34d,typeof _0x41c959!=_0x364fc7(0x27e)?_0x41c959+'':_0x41c959,_0x4087db),_0xefbd97=Object[_0x364fc7(0x26c)],_0x1055ec=(_0x5d0c96,_0x1b0171,_0x43fb18,_0x503d5b)=>{for(var _0x500464=_0x503d5b>0x1?void 0x0:_0x503d5b?_0xefbd97(_0x1b0171,_0x43fb18):_0x1b0171,_0x48354c=_0x5d0c96['length']-0x1,_0x3af661;_0x48354c>=0x0;_0x48354c--)(_0x3af661=_0x5d0c96[_0x48354c])&&(_0x500464=_0x3af661(_0x500464)||_0x500464);return _0x500464;},_0xd365e8=(_0xbd8500,_0x55ba99)=>(_0x5bd548,_0x3a6158)=>_0x55ba99(_0x5bd548,_0x3a6158,_0xbd8500);let _0x5ecd54=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x429164,_0x3e8ea3){const _0x5d2c2a=_0x364fc7;super(),this[_0x5d2c2a(0x16e)]=_0x429164,this[_0x5d2c2a(0x24b)]=_0x3e8ea3,this[_0x5d2c2a(0x184)]();}[_0x364fc7(0x184)](){const _0x34ff83=_0x364fc7,_0x4dc90c=this;this[_0x34ff83(0x363)](this[_0x34ff83(0x16e)]['addClipboardHook']({'onBeforePasteImage':async _0xca6de1=>{const _0x3e8a93=_0x34ff83,_0x5bbdbc=await _0x4dc90c[_0x3e8a93(0x24b)]['saveImage'](_0xca6de1);return _0x5bbdbc?{'source':_0x5bbdbc['source'],'imageSourceType':_0x5bbdbc['imageSourceType']}:null;}}));}};_0x5ecd54=_0x1055ec([_0xd365e8(0x0,_0x8e9d75[_0x364fc7(0x17e)]),_0xd365e8(0x1,_0x1a7423[_0x364fc7(0x361)])],_0x5ecd54);const _0x2b4e89=[_0x364fc7(0x199),_0x364fc7(0x127),_0x364fc7(0x1d2),_0x364fc7(0x125),_0x364fc7(0x1e5),'yellow.400'];class _0x5cb8a1 extends _0x20df47['Disposable']{constructor(){const _0x5f0b9b=_0x364fc7;super(...arguments),_0x4a92d0(this,_0x5f0b9b(0x34b),new Map()),_0x4a92d0(this,_0x5f0b9b(0x384),0x0);}[_0x364fc7(0x286)](_0x10c989){const _0x3d163a=_0x364fc7;if(this[_0x3d163a(0x34b)]['has'](_0x10c989))return this[_0x3d163a(0x34b)][_0x3d163a(0x19c)](_0x10c989);const _0x2a4e04=_0x2b4e89[this[_0x3d163a(0x384)]];return this[_0x3d163a(0x384)]=(this['_colorIndex']+0x1)%_0x2b4e89[_0x3d163a(0x18f)],this[_0x3d163a(0x34b)][_0x3d163a(0x394)](_0x10c989,_0x2a4e04),_0x2a4e04;}}function _0x369e08(_0x26d382){const _0x32ecb6=_0x364fc7;let _0x16c485='';for(const _0x2f0e62 of _0x26d382){const {startOffset:_0x38e093,endOffset:_0x21d16c,isActive:_0x5c50a6,rangeType:_0x381761,segmentId:_0x272c90,segmentPage:_0x5b3d63}=_0x2f0e62;_0x16c485[_0x32ecb6(0x18f)]&&(_0x16c485+=','),_0x16c485+=_0x38e093+':'+_0x21d16c+':'+(_0x5c50a6?'1':'0')+':'+_0x381761+':'+_0x272c90+':'+_0x5b3d63;}return _0x16c485;}function _0x4d5903(_0x4cbc66){const _0x2dc81e=_0x364fc7,_0x5186bb=_0x4cbc66[_0x2dc81e(0x297)](','),_0x53972e=[];for(const _0xe46f15 of _0x5186bb){const [_0x542684,_0x27a484,_0x38468e,_0x4a1635,_0x5eda0b,_0x41c1b5]=_0xe46f15[_0x2dc81e(0x297)](':');_0x53972e[_0x2dc81e(0x1a5)]({'startOffset':Number(_0x542684),'endOffset':Number(_0x27a484),'collapsed':_0x542684===_0x27a484,'isActive':_0x38468e==='1','rangeType':_0x4a1635===_0x20df47[_0x2dc81e(0x1d5)]['TEXT']?_0x20df47[_0x2dc81e(0x1d5)][_0x2dc81e(0x279)]:_0x20df47['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x5eda0b=='string'?String(_0x5eda0b):'','segmentPage':Number(_0x41c1b5!=null?_0x41c1b5:-0x1)});}return _0x53972e[_0x2dc81e(0x1f6)](_0x5d1ac0=>_0x5d1ac0['isActive'])||(_0x53972e[0x0][_0x2dc81e(0x22b)]=!0x0),_0x53972e;}class _0x28b84a extends _0x20df47[_0x364fc7(0x36e)]{constructor(){const _0x403cd4=_0x364fc7;super(...arguments),_0x4a92d0(this,_0x403cd4(0x233),new _0x3396eb[(_0x403cd4(0x374))](null)),_0x4a92d0(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0x364fc7(0x168)](_0x4f8fa2){const _0x3b1698=_0x364fc7,{unitID:_0x5086ef,memberID:_0x4eae28,textRanges:_0x5e618f}=_0x4f8fa2,_0x449b90=_0x369e08(_0x5e618f);if(_0x449b90==='')return;const _0x520053={'unitID':_0x5086ef,'memberID':_0x4eae28,'selection':_0x449b90};this[_0x3b1698(0x233)]['next'](_0x520053);}}var _0x59a0a5=Object[_0x364fc7(0x26c)],_0x2e8be0=(_0xb0271b,_0x2dbe14,_0x36a3db,_0x553219)=>{for(var _0x5a59fa=_0x553219>0x1?void 0x0:_0x553219?_0x59a0a5(_0x2dbe14,_0x36a3db):_0x2dbe14,_0x420d32=_0xb0271b['length']-0x1,_0x1565a4;_0x420d32>=0x0;_0x420d32--)(_0x1565a4=_0xb0271b[_0x420d32])&&(_0x5a59fa=_0x1565a4(_0x5a59fa)||_0x5a59fa);return _0x5a59fa;},_0x1bae86=(_0x756287,_0x3d3d86)=>(_0x3f8c7b,_0x3cef29)=>_0x3d3d86(_0x3f8c7b,_0x3cef29,_0x756287);const _0xcecaa9=0x12c,_0x776986=0x64;let _0x16045f=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x584166,_0x3405d3,_0xf6a7c3,_0x4338e5,_0x3dce3e,_0x51518a,_0x5bf332,_0x27f2a3,_0x370536){const _0x1f1853=_0x364fc7;super(),_0x4a92d0(this,_0x1f1853(0x2e9),!0x1),_0x4a92d0(this,_0x1f1853(0x184),!0x1),_0x4a92d0(this,_0x1f1853(0x1fc),new _0x3396eb[(_0x1f1853(0x374))](new Map())),_0x4a92d0(this,_0x1f1853(0x2f1),this[_0x1f1853(0x1fc)][_0x1f1853(0x29f)]()),_0x4a92d0(this,'_roomMembers$',new _0x3396eb[(_0x1f1853(0x374))]([])),_0x4a92d0(this,_0x1f1853(0x352),this[_0x1f1853(0x123)]['pipe'](_0x3396eb[_0x1f1853(0x26a)](_0xcecaa9))),_0x4a92d0(this,_0x1f1853(0x33a),_0x20df47[_0x1f1853(0x304)](_0x252319=>{const _0x3673a8=_0x1f1853,_0x388afa={'eventID':_0x3395bd[_0x3673a8(0x16a)][_0x3673a8(0x21a)],'data':{'unitID':this[_0x3673a8(0x25d)],'memberID':this[_0x3673a8(0x15f)][_0x3673a8(0x37b)](),'selection':_0x369e08(_0x252319)}};this[_0x3673a8(0x15f)][_0x3673a8(0x32c)](_0x388afa,this[_0x3673a8(0x25d)]);},_0x776986)),(this[_0x1f1853(0x25d)]=_0x584166,this['_session']=_0x3405d3,this[_0x1f1853(0x1b2)]=_0xf6a7c3,this['_colorAssignService']=_0x4338e5,this['_memberService']=_0x3dce3e,this[_0x1f1853(0x346)]=_0x51518a,this[_0x1f1853(0x1bf)]=_0x5bf332,this[_0x1f1853(0x1c2)]=_0x27f2a3,this[_0x1f1853(0x197)]=_0x370536);}get[_0x364fc7(0x209)](){const _0x5350c7=_0x364fc7;return this[_0x5350c7(0x1fc)]['getValue']();}get[_0x364fc7(0x112)](){const _0x17847=_0x364fc7;return this['_roomMembers$'][_0x17847(0x2c8)]();}[_0x364fc7(0x13f)](){const _0x13feac=_0x364fc7;super[_0x13feac(0x13f)](),this[_0x13feac(0x1fc)][_0x13feac(0x333)](new Map()),this['_cursorInfo$'][_0x13feac(0x2b2)](),this[_0x13feac(0x123)][_0x13feac(0x333)]([]),this[_0x13feac(0x123)][_0x13feac(0x2b2)]();}['init'](){const _0x5d3433=_0x364fc7;this[_0x5d3433(0x184)]||(this[_0x5d3433(0x184)]=!0x0,this[_0x5d3433(0x15f)][_0x5d3433(0x18a)][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))[_0x5d3433(0x276)](_0x5d0dfc=>{const _0x28b22e=_0x5d3433;_0x5d0dfc===_0x3d42b8['SessionStatus'][_0x28b22e(0x306)]?this[_0x28b22e(0x1d6)]():this['_toggleOffline']();}),this[_0x5d3433(0x15f)][_0x5d3433(0x18d)][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))[_0x5d3433(0x276)](_0x2e1b71=>{const _0x136ec2=_0x5d3433,_0x3de0e2=_0x2e1b71['eventID'];_0x3de0e2===_0x3395bd[_0x136ec2(0x16a)][_0x136ec2(0x21a)]&&this['_onCursorUpdate'](_0x2e1b71),_0x3de0e2===_0x3395bd[_0x136ec2(0x16a)][_0x136ec2(0x299)]&&this['_onCursorDelete'](_0x2e1b71);}),this['disposeWithMe'](this[_0x5d3433(0x197)][_0x5d3433(0x33f)](_0x4e3bec=>{const _0x3209b2=_0x5d3433,_0x934762=_0x4e3bec[_0x3209b2(0x1f3)];_0x934762!=null&&this['_online']&&_0x4e3bec['id']===_0xb95e52[_0x3209b2(0x2b5)]['id']&&_0x934762['unitId']===this[_0x3209b2(0x25d)]&&_0x934762[_0x3209b2(0x28c)]===!0x1&&_0x934762['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x934762['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))['subscribe'](_0x10d318=>{const _0x32f785=_0x5d3433;if((_0x10d318==null?void 0x0:_0x10d318[_0x32f785(0x25d)])!==this[_0x32f785(0x25d)])return;const _0x2ef52f={'eventID':_0x3395bd['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x10d318};this[_0x32f785(0x210)](_0x2ef52f);}),this[_0x5d3433(0x363)](this[_0x5d3433(0x197)][_0x5d3433(0x33f)](_0x173d1b=>{const _0x5b3253=_0x5d3433;if(_0x173d1b['params']==null)return;const _0x43e5f8=_0x173d1b[_0x5b3253(0x1f3)];if(_0x173d1b['id']!==_0xb95e52['RichTextEditingMutation']['id']||_0x43e5f8['unitId']!==this[_0x5b3253(0x25d)])return;const _0x3d51e9={'id':_0x5b3253(0x1b1),'params':_0x43e5f8},_0x513ee1=this[_0x5b3253(0x209)];for(const [_0x2454f9,_0x155f89]of _0x513ee1){const _0x5c7440={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5b3253(0x25d)],'actions':null,'textRanges':_0x155f89['ranges']}},_0x477c2b=this['_transformService'][_0x5b3253(0x17a)](_0x3d51e9,_0x5c7440,!0x1);if(_0x3395bd[_0x5b3253(0x271)](_0x477c2b))throw _0x477c2b[_0x5b3253(0x1bb)];_0x513ee1[_0x5b3253(0x394)](_0x2454f9,{..._0x155f89,'ranges':_0x477c2b[_0x5b3253(0x138)][_0x5b3253(0x1f3)]['textRanges']});}queueMicrotask(()=>{const _0x915c77=_0x5b3253;this[_0x915c77(0x1fc)][_0x915c77(0x333)](_0x513ee1);});})));}['_onCursorUpdate'](_0x39a17f){const _0x54bd21=_0x364fc7;var _0xe38ed0,_0x5a5593;const {memberID:_0x30b134,selection:_0x36331b}=_0x39a17f['data'],_0xef241c=_0x4d5903(_0x36331b),_0x1a367b=(_0x5a5593=(_0xe38ed0=this[_0x54bd21(0x2cb)][_0x54bd21(0x28d)](this['unitID'],_0x30b134))==null?void 0x0:_0xe38ed0[_0x54bd21(0x287)])!=null?_0x5a5593:_0x54bd21(0x2d7),_0x2226dd={'color':this[_0x54bd21(0x1b7)][_0x54bd21(0x286)](_0x30b134),'name':_0x1a367b,'ranges':_0xef241c},_0xcab940=this['cursorInfo'];_0xcab940[_0x54bd21(0x394)](_0x30b134,_0x2226dd),this[_0x54bd21(0x1fc)]['next'](_0xcab940);}[_0x364fc7(0x124)](_0x899a5d){const _0x5cade7=_0x364fc7,{memberID:_0xfcf45c}=_0x899a5d[_0x5cade7(0x277)],_0x504cab=this['cursorInfo'];_0x504cab[_0x5cade7(0x1c3)](_0xfcf45c),this[_0x5cade7(0x1fc)]['next'](_0x504cab);}[_0x364fc7(0x1d6)](){const _0x38bfc4=_0x364fc7;var _0x52e9e3;if(this[_0x38bfc4(0x2e9)]=!0x0,((_0x52e9e3=this[_0x38bfc4(0x1c2)][_0x38bfc4(0x238)]())==null?void 0x0:_0x52e9e3[_0x38bfc4(0x191)]())!==this['unitID'])return;const _0x5c9f63=this[_0x38bfc4(0x1b2)][_0x38bfc4(0x19c)](_0xb95e52[_0x38bfc4(0x247)])[_0x38bfc4(0x314)]();Array[_0x38bfc4(0x237)](_0x5c9f63)&&_0x5c9f63[_0x38bfc4(0x18f)]>0x0&&this[_0x38bfc4(0x33a)](_0x5c9f63);}[_0x364fc7(0x2eb)](){this['_online']=!0x1;}};_0x16045f=_0x2e8be0([_0x1bae86(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47['Injector'])),_0x1bae86(0x3,_0x20df47[_0x364fc7(0x28b)](_0x5cb8a1)),_0x1bae86(0x4,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x317)])),_0x1bae86(0x5,_0x20df47[_0x364fc7(0x28b)](_0x28b84a)),_0x1bae86(0x6,_0x3395bd['ITransformService']),_0x1bae86(0x7,_0x20df47[_0x364fc7(0x303)]),_0x1bae86(0x8,_0x20df47[_0x364fc7(0x353)])],_0x16045f);var _0x5b4adc=Object[_0x364fc7(0x26c)],_0x4f057e=(_0x3e09ea,_0x5e0733,_0x4bc323,_0x35ffcd)=>{for(var _0x2b4b48=_0x35ffcd>0x1?void 0x0:_0x35ffcd?_0x5b4adc(_0x5e0733,_0x4bc323):_0x5e0733,_0x5a345a=_0x3e09ea['length']-0x1,_0x21c43c;_0x5a345a>=0x0;_0x5a345a--)(_0x21c43c=_0x3e09ea[_0x5a345a])&&(_0x2b4b48=_0x21c43c(_0x2b4b48)||_0x2b4b48);return _0x2b4b48;},_0x92345a=(_0x53a3e2,_0x4f6f25)=>(_0x34cf3f,_0x568507)=>_0x4f6f25(_0x34cf3f,_0x568507,_0x53a3e2);const _0x187c9f=0x12c,_0x414c39=0x64,_0x3e56df=()=>{let _0x4e25e2=[],_0x5ba84c=!0x1;return _0x5c58fb=>{_0x4e25e2['push'](_0x5c58fb),_0x5ba84c||(_0x5ba84c=!0x0,setTimeout(()=>{_0x4e25e2['forEach'](_0x41dd51=>_0x41dd51()),_0x4e25e2=[],_0x5ba84c=!0x1;}));};};let _0x53f689=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x2bd760,_0x3445ad,_0x17838e,_0x47b82c,_0x53a45a,_0x9191c8,_0xa5d2b5,_0x2b19d7){const _0x1a5096=_0x364fc7;super(),_0x4a92d0(this,_0x1a5096(0x2e9),!0x1),_0x4a92d0(this,_0x1a5096(0x184),!0x1),_0x4a92d0(this,'_cursorInfo$',new _0x3396eb[(_0x1a5096(0x374))](new Map())),_0x4a92d0(this,_0x1a5096(0x2f1),this[_0x1a5096(0x1fc)][_0x1a5096(0x29f)]()),_0x4a92d0(this,_0x1a5096(0x123),new _0x3396eb[(_0x1a5096(0x374))]([])),_0x4a92d0(this,_0x1a5096(0x352),this[_0x1a5096(0x123)]['pipe'](_0x3396eb[_0x1a5096(0x26a)](_0x187c9f))),_0x4a92d0(this,_0x1a5096(0x33a),_0x20df47['debounce']((_0xbb0652,_0x25be08)=>{const _0x581f7e=_0x1a5096,_0x430f2a={'eventID':_0x3395bd[_0x581f7e(0x16a)][_0x581f7e(0x21a)],'data':{'unitID':this[_0x581f7e(0x25d)],'memberID':this[_0x581f7e(0x15f)]['getMemberID'](),'selection':_0x3bbe9e[_0x581f7e(0x2e7)](_0xbb0652,_0x25be08[_0x581f7e(0x208)])}};this['_session'][_0x581f7e(0x32c)](_0x430f2a,this[_0x581f7e(0x25d)]);},_0x414c39)),(this[_0x1a5096(0x25d)]=_0x2bd760,this['_session']=_0x3445ad,this['_injector']=_0x17838e,this[_0x1a5096(0x1b7)]=_0x47b82c,this[_0x1a5096(0x2cb)]=_0x53a45a,this[_0x1a5096(0x1c2)]=_0x9191c8,this[_0x1a5096(0x197)]=_0xa5d2b5,this['_refRangeService']=_0x2b19d7);}get[_0x364fc7(0x209)](){const _0x3688fd=_0x364fc7;return this[_0x3688fd(0x1fc)][_0x3688fd(0x2c8)]();}get[_0x364fc7(0x112)](){const _0x3ccea9=_0x364fc7;return this[_0x3ccea9(0x123)][_0x3ccea9(0x2c8)]();}[_0x364fc7(0x13f)](){const _0x227b0e=_0x364fc7;super[_0x227b0e(0x13f)](),this[_0x227b0e(0x1fc)][_0x227b0e(0x333)](new Map()),this[_0x227b0e(0x1fc)]['complete'](),this['_roomMembers$']['next']([]),this[_0x227b0e(0x123)][_0x227b0e(0x2b2)]();}[_0x364fc7(0x313)](){const _0x221ca7=_0x364fc7;this['_init']||(this[_0x221ca7(0x184)]=!0x0,this['_session'][_0x221ca7(0x18a)]['pipe'](_0x3396eb[_0x221ca7(0x2ad)](this[_0x221ca7(0x365)]))[_0x221ca7(0x276)](_0x5f59f5=>{const _0x23e73a=_0x221ca7;_0x5f59f5===_0x3d42b8[_0x23e73a(0x2b1)][_0x23e73a(0x306)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x221ca7(0x15f)][_0x221ca7(0x18d)][_0x221ca7(0x13a)](_0x3396eb[_0x221ca7(0x2ad)](this[_0x221ca7(0x365)]))['subscribe'](_0x54ee44=>{const _0xfabf3c=_0x221ca7,_0x485c8a=_0x54ee44[_0xfabf3c(0x122)];_0x485c8a===_0x3395bd[_0xfabf3c(0x16a)]['UPDATE_CURSOR']&&this[_0xfabf3c(0x210)](_0x54ee44),_0x485c8a===_0x3395bd[_0xfabf3c(0x16a)][_0xfabf3c(0x299)]&&this[_0xfabf3c(0x124)](_0x54ee44);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x221ca7(0x197)][_0x221ca7(0x33f)](_0x349206=>{const _0x175054=_0x221ca7;if(this['_online']&&_0x349206['id']===_0x3148e7['SetSelectionsOperation']['id']&&_0x349206[_0x175054(0x1f3)][_0x175054(0x220)]===this[_0x175054(0x25d)]){const _0x1c30ad=_0x349206[_0x175054(0x1f3)];this[_0x175054(0x33a)](_0x1c30ad[_0x175054(0x1e6)],_0x1c30ad[_0x175054(0x207)][0x0]);}})));}[_0x364fc7(0x210)](_0x326f5c){const _0x34b6b2=_0x364fc7;var _0x1d0d71,_0xaca925;const {memberID:_0x1be6ca,selection:_0x4768b6}=_0x326f5c[_0x34b6b2(0x277)],{sheetName:_0x5ed9e4,range:_0xb25c80}=_0x3bbe9e[_0x34b6b2(0x283)](_0x4768b6),_0x597e1e={'name':(_0xaca925=(_0x1d0d71=this[_0x34b6b2(0x2cb)]['getMember'](this['unitID'],_0x1be6ca))==null?void 0x0:_0x1d0d71[_0x34b6b2(0x287)])!=null?_0xaca925:_0x34b6b2(0x2d7),'range':this[_0x34b6b2(0x2bd)](_0x5ed9e4,_0xb25c80),'sheetID':_0x5ed9e4,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1be6ca),'selection':_0x4768b6},_0x1a0f52=this[_0x34b6b2(0x209)];_0x1a0f52[_0x34b6b2(0x394)](_0x1be6ca,_0x597e1e),this[_0x34b6b2(0x1fc)][_0x34b6b2(0x333)](_0x1a0f52);}['_onCursorDelete'](_0x1289ce){const _0x1a5592=_0x364fc7,{memberID:_0x34df2f}=_0x1289ce[_0x1a5592(0x277)],_0x26a2da=this[_0x1a5592(0x209)];_0x26a2da[_0x1a5592(0x1c3)](_0x34df2f),this[_0x1a5592(0x1fc)]['next'](_0x26a2da);}[_0x364fc7(0x2bd)](_0x1fec1a,_0x5d14a8){const _0x33f1f5=_0x364fc7;var _0x9dcb60,_0x281c99;const _0x41e712=(_0x281c99=(_0x9dcb60=this[_0x33f1f5(0x1c2)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x9dcb60[_0x33f1f5(0x28f)](_0x1fec1a))==null?void 0x0:_0x281c99['getMergeData']();return(_0x41e712==null?void 0x0:_0x41e712[_0x33f1f5(0x2ff)](_0x3d6f25=>_0x20df47[_0x33f1f5(0x378)][_0x33f1f5(0x203)](_0x3d6f25,_0x5d14a8)))||_0x5d14a8;}[_0x364fc7(0x2c2)](){const _0x46cd3e=_0x364fc7,_0x36961c=new _0x20df47[(_0x46cd3e(0x196))](),_0x33abb0=_0x3e56df(),_0x178605=()=>{const _0x6de95f=_0x46cd3e;_0x36961c[_0x6de95f(0x13f)]();const _0x1a9893=(_0x4c78ab,_0x5cad1e,_0x584a87,_0x132237)=>{const _0x58a730=_0x6de95f;let _0x550dbd=[];switch(_0x4c78ab['id']){case _0x3148e7[_0x58a730(0x1c1)]['DeleteRangeMoveLeftCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x1c7)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x311)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x2fa)]:{_0x550dbd=_0x3148e7[_0x58a730(0x36c)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId'][_0x58a730(0x14f)]:{_0x550dbd=_0x3148e7['handleInsertRangeMoveDown'](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId'][_0x58a730(0x344)]:{_0x550dbd=_0x3148e7[_0x58a730(0x293)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId']['InsertRowCommandId']:{_0x550dbd=_0x3148e7['handleInsertRow'](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x322)]:{_0x550dbd=_0x3148e7[_0x58a730(0x309)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)]['RemoveColCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x305)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x2fc)]:{_0x550dbd=_0x3148e7[_0x58a730(0x195)](_0x4c78ab,_0x132237);break;}}const _0x557ad8=_0x3148e7[_0x58a730(0x1d8)](_0x550dbd,_0x132237),_0x372ef3=this[_0x58a730(0x209)][_0x58a730(0x19c)](_0x5cad1e);if(_0x372ef3&&_0x557ad8){const _0x273ebf={..._0x372ef3,'range':_0x557ad8};this[_0x58a730(0x209)]['set'](_0x5cad1e,_0x273ebf),_0x33abb0(()=>{const _0x3a05bd=_0x58a730,_0x47a099=this[_0x3a05bd(0x1c4)][_0x3a05bd(0x2bf)](_0x557ad8,_0x3e5af8=>(_0x47a099[_0x3a05bd(0x13f)](),_0x1a9893(_0x3e5af8,_0x5cad1e,_0x584a87,_0x557ad8)));_0x36961c[_0x3a05bd(0x370)](_0x47a099);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6de95f(0x24a)]((_0x5415ee,_0x2d798e)=>{const _0x19c772=_0x6de95f,{range:_0x551040,sheetID:_0x4946cb}=_0x5415ee,_0x508579=this[_0x19c772(0x1c4)][_0x19c772(0x2bf)](_0x551040,_0x21e63c=>(_0x508579[_0x19c772(0x13f)](),_0x1a9893(_0x21e63c,_0x2d798e,_0x4946cb,_0x551040)));_0x36961c[_0x19c772(0x370)](_0x508579);});};this[_0x46cd3e(0x363)](_0x20df47[_0x46cd3e(0x222)](this['_cursorInfo$']['subscribe'](()=>{_0x178605();})));}[_0x364fc7(0x1d6)](){const _0x56ae8d=_0x364fc7;var _0x150c80,_0x4398af;if(this['_online']=!0x0,((_0x150c80=this[_0x56ae8d(0x1c2)][_0x56ae8d(0x238)]())==null?void 0x0:_0x150c80[_0x56ae8d(0x191)]())!==this[_0x56ae8d(0x25d)])return;const _0x381581=(_0x4398af=this['_injector'][_0x56ae8d(0x19c)](_0x3148e7[_0x56ae8d(0x150)])[_0x56ae8d(0x1af)]())==null?void 0x0:_0x4398af[0x0],_0x43826b=this[_0x56ae8d(0x1c2)]['getCurrentUnitForType'](_0x20df47[_0x56ae8d(0x386)]['UNIVER_SHEET'])[_0x56ae8d(0x2cc)]();_0x381581&&_0x43826b&&this[_0x56ae8d(0x33a)](_0x43826b[_0x56ae8d(0x33c)](),_0x381581);}['_toggleOffline'](){const _0x33ece5=_0x364fc7;this[_0x33ece5(0x2e9)]=!0x1;}};_0x53f689=_0x4f057e([_0x92345a(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x92345a(0x3,_0x20df47[_0x364fc7(0x28b)](_0x5cb8a1)),_0x92345a(0x4,_0x20df47['Inject'](_0x3d42b8[_0x364fc7(0x317)])),_0x92345a(0x5,_0x20df47[_0x364fc7(0x303)]),_0x92345a(0x6,_0x20df47[_0x364fc7(0x353)]),_0x92345a(0x7,_0x20df47[_0x364fc7(0x28b)](_0x3148e7['RefRangeService']))],_0x53f689);var _0x2759fd=Object[_0x364fc7(0x26c)],_0x42541d=(_0x5427cb,_0x12d1af,_0x23ccab,_0x25c8eb)=>{const _0x217a87=_0x364fc7;for(var _0x15b56d=_0x25c8eb>0x1?void 0x0:_0x25c8eb?_0x2759fd(_0x12d1af,_0x23ccab):_0x12d1af,_0x1a41cc=_0x5427cb[_0x217a87(0x18f)]-0x1,_0x12d219;_0x1a41cc>=0x0;_0x1a41cc--)(_0x12d219=_0x5427cb[_0x1a41cc])&&(_0x15b56d=_0x12d219(_0x15b56d)||_0x15b56d);return _0x15b56d;},_0x335437=(_0x5dcccb,_0x4afed9)=>(_0x3cdfc7,_0x558fd6)=>_0x4afed9(_0x3cdfc7,_0x558fd6,_0x5dcccb);let _0x100640=class extends _0x20df47['RxDisposable']{constructor(_0x250e30,_0x122f5a,_0x1fb054){const _0x50c691=_0x364fc7;super(),_0x4a92d0(this,_0x50c691(0x38f),new Map()),_0x4a92d0(this,_0x50c691(0x35e),new _0x3396eb[(_0x50c691(0x38d))]()),(this['_univerInstanceService']=_0x250e30,this[_0x50c691(0x1b2)]=_0x122f5a,this[_0x50c691(0x1d3)]=_0x1fb054,this[_0x50c691(0x184)]());}['dispose'](){const _0x3f52e1=_0x364fc7;super[_0x3f52e1(0x13f)](),this[_0x3f52e1(0x35e)]['complete'](),this[_0x3f52e1(0x38f)][_0x3f52e1(0x24a)](_0x5c04cc=>_0x5c04cc[_0x3f52e1(0x13f)]());}[_0x364fc7(0x1fe)](_0x49769f){const _0x49b3b7=_0x364fc7;return this[_0x49b3b7(0x38f)][_0x49b3b7(0x1f1)](_0x49769f)?this['_entities'][_0x49b3b7(0x19c)](_0x49769f)['cursorInfo$']:this[_0x49b3b7(0x35e)][_0x49b3b7(0x13a)](_0x3396eb[_0x49b3b7(0x29d)](_0x59196d=>_0x59196d[_0x49b3b7(0x25d)]===_0x49769f),_0x3396eb[_0x49b3b7(0x187)](_0x31b7a0=>_0x31b7a0[_0x49b3b7(0x2f1)]));}[_0x364fc7(0x184)](){const _0x3a578a=_0x364fc7;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x32e)])[_0x3a578a(0x13a)](_0x3396eb['takeUntil'](this[_0x3a578a(0x365)]))['subscribe'](async _0xa9064b=>{const _0x3ccf8b=_0x3a578a,_0x156c81=_0xa9064b[_0x3ccf8b(0x191)](),_0x8b0184=await this[_0x3ccf8b(0x149)](_0x156c81);this[_0x3ccf8b(0x35e)][_0x3ccf8b(0x333)](_0x8b0184),this[_0x3ccf8b(0x38f)][_0x3ccf8b(0x394)](_0x156c81,_0x8b0184);}),this[_0x3a578a(0x1c2)]['getTypeOfUnitAdded$'](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x2d6)])[_0x3a578a(0x13a)](_0x3396eb[_0x3a578a(0x2ad)](this[_0x3a578a(0x365)]))['pipe'](_0x3396eb[_0x3a578a(0x29d)](_0x448916=>!_0x448916[_0x3a578a(0x191)]()['startsWith']('__')))[_0x3a578a(0x276)](async _0x14e431=>{const _0x4fff68=_0x3a578a,_0x1784a9=_0x14e431[_0x4fff68(0x191)](),_0x570a04=await this['_startDocCollabCursor'](_0x1784a9);this[_0x4fff68(0x35e)][_0x4fff68(0x333)](_0x570a04),this[_0x4fff68(0x38f)][_0x4fff68(0x394)](_0x1784a9,_0x570a04);}),_0x3396eb[_0x3a578a(0x146)](this[_0x3a578a(0x1c2)][_0x3a578a(0x174)](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x2d6)]),this[_0x3a578a(0x1c2)]['getTypeOfUnitDisposed$'](_0x20df47['UniverInstanceType'][_0x3a578a(0x32e)]))['pipe'](_0x3396eb[_0x3a578a(0x2ad)](this['dispose$']))[_0x3a578a(0x276)](_0x2c492a=>{const _0x4d7305=_0x3a578a,_0x57e5cb=_0x2c492a['getUnitId'](),_0x2000ec=this['_entities'][_0x4d7305(0x19c)](_0x57e5cb);_0x2000ec&&(_0x2000ec[_0x4d7305(0x13f)](),this[_0x4d7305(0x38f)][_0x4d7305(0x1c3)](_0x57e5cb));});}async[_0x364fc7(0x149)](_0x9b4c18){const _0x51f393=_0x364fc7,_0x4cf94a=await this[_0x51f393(0x1d3)][_0x51f393(0x1e1)](_0x9b4c18),_0x36e3d0=this['_injector'][_0x51f393(0x12a)](_0x53f689,_0x9b4c18,_0x4cf94a);return _0x36e3d0[_0x51f393(0x313)](),_0x36e3d0;}async[_0x364fc7(0x282)](_0x37e88c){const _0x79e5a=_0x364fc7,_0x40af69=await this[_0x79e5a(0x1d3)][_0x79e5a(0x1e1)](_0x37e88c),_0xb1416d=this[_0x79e5a(0x1b2)]['createInstance'](_0x16045f,_0x37e88c,_0x40af69);return _0xb1416d[_0x79e5a(0x313)](),_0xb1416d;}};_0x100640=_0x42541d([_0x335437(0x0,_0x20df47[_0x364fc7(0x303)]),_0x335437(0x1,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x335437(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x383)]))],_0x100640);const _0xa14d99=0x14,_0x1b63c7=0xc8,_0xf51cdb=0x4,_0x16408e=0x5;function _0x5c5729(_0x4c2771,_0x392fc6){const _0x2bca3e=_0x364fc7;let {radius:_0x4758af,width:_0x104562,height:_0x50a934}=_0x392fc6;_0x4758af=_0x4758af!=null?_0x4758af:0x0,_0x104562=_0x104562!=null?_0x104562:0x1e,_0x50a934=_0x50a934!=null?_0x50a934:0x1e;let _0x54901d=0x0,_0x5ca567=0x0,_0x2d28de=0x0;_0x54901d=_0x5ca567=_0x2d28de=Math[_0x2bca3e(0x243)](_0x4758af,_0x104562/0x2,_0x50a934/0x2),_0x4c2771[_0x2bca3e(0x15b)](),_0x4c2771[_0x2bca3e(0x267)](_0x54901d,0x0),_0x4c2771[_0x2bca3e(0x31b)](_0x104562-_0x5ca567,0x0),_0x4c2771[_0x2bca3e(0x31e)](_0x104562-_0x5ca567,_0x5ca567,_0x5ca567,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c2771['lineTo'](_0x104562,_0x50a934-_0x2d28de),_0x4c2771[_0x2bca3e(0x31e)](_0x104562-_0x2d28de,_0x50a934-_0x2d28de,_0x2d28de,0x0,Math['PI']/0x2,!0x1),_0x4c2771[_0x2bca3e(0x31b)](0x0,_0x50a934),_0x4c2771[_0x2bca3e(0x31b)](0x0,_0x54901d),_0x4c2771['arc'](_0x54901d,_0x54901d,_0x54901d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c2771[_0x2bca3e(0x320)](),_0x392fc6['fill']&&(_0x4c2771[_0x2bca3e(0x1ae)](),_0x4c2771[_0x2bca3e(0x2a3)]=_0x392fc6[_0x2bca3e(0x133)],_0x392fc6[_0x2bca3e(0x1a1)]===_0x2bca3e(0x139)?_0x4c2771[_0x2bca3e(0x133)]('evenodd'):_0x4c2771[_0x2bca3e(0x133)](),_0x4c2771[_0x2bca3e(0x110)]());}class _0x5b1836 extends _0x4e3aee[_0x364fc7(0x113)]{constructor(_0x37b817,_0x3c82d2){const _0x4b1783=_0x364fc7;super(_0x37b817,_0x3c82d2),_0x4a92d0(this,_0x4b1783(0x1a4)),_0x4a92d0(this,_0x4b1783(0x173)),(this[_0x4b1783(0x1a4)]=_0x3c82d2==null?void 0x0:_0x3c82d2[_0x4b1783(0x1a4)],this[_0x4b1783(0x173)]=_0x3c82d2==null?void 0x0:_0x3c82d2[_0x4b1783(0x173)]);}static[_0x364fc7(0x338)](_0x229c91,_0x1d1a93){const _0x4652c0=_0x364fc7,{text:_0x15854a,color:_0x390aff}=_0x1d1a93;_0x229c91[_0x4652c0(0x1ae)](),_0x229c91[_0x4652c0(0x36d)]=_0x4652c0(0x10c);const _0x307a4a=_0x229c91[_0x4652c0(0x379)](_0x15854a)[_0x4652c0(0x2c7)],_0x47ac6b=Math['min'](_0x307a4a+0x2*_0xf51cdb,_0x1b63c7);_0x5c5729(_0x229c91,{'height':_0xa14d99,'radius':0x4,'width':_0x47ac6b,'fill':_0x390aff}),_0x229c91[_0x4652c0(0x2a3)]=_0x4652c0(0x145);const _0x553f36=_0xf51cdb,_0x28ef8c=_0xa14d99-_0x16408e,_0x38f743=_0x1b63c7-0x2*_0xf51cdb;if(_0x307a4a>_0x38f743){let _0x585881='',_0x4c0fdc=0x0;for(const _0x345da8 of _0x15854a){const _0x1a7098=_0x229c91[_0x4652c0(0x379)](_0x345da8)[_0x4652c0(0x2c7)];if(_0x4c0fdc+_0x1a7098<=_0x38f743-_0x229c91[_0x4652c0(0x379)](_0x4652c0(0x227))[_0x4652c0(0x2c7)])_0x585881+=_0x345da8,_0x4c0fdc+=_0x1a7098;else{_0x585881+='...';break;}}_0x229c91[_0x4652c0(0x21d)](_0x585881,_0x553f36,_0x28ef8c);}else _0x229c91[_0x4652c0(0x21d)](_0x15854a,_0x553f36,_0x28ef8c);_0x229c91[_0x4652c0(0x110)]();}[_0x364fc7(0x2cd)](_0x2d14dc){const _0x6f212=_0x364fc7;_0x5b1836[_0x6f212(0x338)](_0x2d14dc,this);}}const _0x3c94cf=_0x364fc7(0x2a2),_0x2bdc63=_0x364fc7(0x312),_0x367a8e=_0x364fc7(0x1c0),_0x156cbd=0x6,_0x4569f4=1.5,_0x1026d9=0x4,_0x491806=1.5,_0x1f84cc='rgba(255,\x20255,\x20255,\x200.01)';class _0xb5b1cb{constructor(_0x4956bd,_0x58e318,_0x28d220,_0xe90383){const _0x5a04ed=_0x364fc7;_0x4a92d0(this,_0x5a04ed(0x2ae),[]),_0x4a92d0(this,_0x5a04ed(0x153),null),_0x4a92d0(this,'_textBubble',null),_0x4a92d0(this,'_anchorDot',null),_0x4a92d0(this,_0x5a04ed(0x1bc),null),_0x4a92d0(this,_0x5a04ed(0x169),null),(this[_0x5a04ed(0x2ee)]=_0x4956bd,this[_0x5a04ed(0x16b)]=_0x58e318,this['_docSkeleton']=_0x28d220,this[_0x5a04ed(0x24d)]=_0xe90383,this['_render']());}set[_0x364fc7(0x334)](_0x1ba374){const _0x17c61f=_0x364fc7;_0x1ba374?(this[_0x17c61f(0x183)]&&this[_0x17c61f(0x183)][_0x17c61f(0x35b)](),this[_0x17c61f(0x19e)]&&this[_0x17c61f(0x19e)][_0x17c61f(0x12e)]()):(this[_0x17c61f(0x183)]&&this[_0x17c61f(0x183)][_0x17c61f(0x12e)](),this[_0x17c61f(0x19e)]&&this['_textBubble'][_0x17c61f(0x35b)]());}['dispose'](){const _0x3257b0=_0x364fc7;for(const _0x514913 of this[_0x3257b0(0x2ae)])_0x514913['dispose']();this[_0x3257b0(0x19e)]&&this[_0x3257b0(0x19e)][_0x3257b0(0x13f)](),this[_0x3257b0(0x183)]&&this[_0x3257b0(0x183)][_0x3257b0(0x13f)](),this[_0x3257b0(0x153)]&&this[_0x3257b0(0x153)][_0x3257b0(0x13f)](),this[_0x3257b0(0x169)]&&this[_0x3257b0(0x169)]();}[_0x364fc7(0x18e)](){const _0x3b277a=_0x364fc7;var _0x52a1a1;const {_docSkeleton:_0x323838,_document:_0x4b2d7e}=this,{color:_0x50aad8,name:_0x51f19b,ranges:_0x38cdcc}=this[_0x3b277a(0x2ee)],_0x245f23=_0x4b2d7e[_0x3b277a(0x245)](),{docsLeft:_0x1d86f1,docsTop:_0xee5ca7}=_0x245f23,_0xbdc319=new _0x8e9d75[(_0x3b277a(0x240))](_0x245f23,_0x323838);for(const {startOffset:_0x55edee,endOffset:_0xff65dc,rangeType:_0x204b9c,segmentId:_0x4d705a,segmentPage:_0x385b20,collapsed:_0x4b5fe8,isActive:_0x31a65c}of _0x38cdcc){const _0x8023b4=_0x323838['findNodePositionByCharIndex'](_0x55edee,!0x0,_0x4d705a,_0x385b20);let _0x261d45=_0x323838[_0x3b277a(0x1ec)](_0xff65dc,!0x0,_0x4d705a,_0x385b20);if(_0x261d45==null&&(_0x261d45=_0x323838['findNodePositionByCharIndex'](_0xff65dc-0x1,!0x1,_0x4d705a,_0x385b20)),_0x31a65c){const {contentBoxPointGroup:_0x5391ef}=_0xbdc319[_0x3b277a(0x280)](_0x261d45,_0x261d45);if(_0x5391ef[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x1ce)](_0x50aad8,_0x5391ef,_0x1d86f1,_0xee5ca7,_0x51f19b),this['_eventUnsubscribe']=this[_0x3b277a(0x2b6)]();}if(_0x8023b4&&_0x261d45){if(_0x204b9c===_0x20df47[_0x3b277a(0x1d5)][_0x3b277a(0x15a)]){const _0x3741c1=new _0x8e9d75[(_0x3b277a(0x181))](_0x245f23,_0x323838),{pointGroup:_0x646c2b}=(_0x52a1a1=_0x3741c1[_0x3b277a(0x280)](_0x8023b4,_0x261d45))!=null?_0x52a1a1:{};if(_0x646c2b==null||_0x646c2b[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x391)](_0x50aad8,_0x646c2b,_0x1d86f1,_0xee5ca7);}else{if(!_0x4b5fe8){const {borderBoxPointGroup:_0x55ba12}=_0xbdc319[_0x3b277a(0x280)](_0x8023b4,_0x261d45);if(_0x55ba12[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x166)](_0x50aad8,_0x55ba12,_0x1d86f1,_0xee5ca7);}}}}}[_0x364fc7(0x1ce)](_0xa92540,_0x5525e5,_0x4f9b33,_0x157225,_0xc516e5){const _0x3dddb9=_0x364fc7,_0x3da2e8=this[_0x3dddb9(0x252)](_0x5525e5),{left:_0x5af387,top:_0x5d32a0,height:_0xbcd98e}=_0x3da2e8,_0x2b1f96=this['_getScale'](),_0x1b9858=_0x491806/_0x2b1f96,_0x5421d5=new _0x4e3aee[(_0x3dddb9(0x16d))](_0x3c94cf+_0x20df47[_0x3dddb9(0x19b)][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225,'height':_0xbcd98e,'width':_0x4569f4,'fill':_0xa92540||_0x4e3aee[_0x3dddb9(0x24c)](_0x20df47[_0x3dddb9(0x1e0)]['black'],0x0),'strokeWidth':_0x1b9858,'stroke':_0x1f84cc,'evented':!0x0});this['_anchor']=_0x5421d5,this['_scene'][_0x3dddb9(0x21f)](_0x5421d5,_0x8e9d75[_0x3dddb9(0x239)]);const _0x3559bf=new _0x4e3aee['Rect'](_0x3c94cf+_0x20df47['Tools'][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225-_0x1026d9/0x2,'height':_0x1026d9,'width':_0x1026d9,'fill':_0xa92540||_0x4e3aee['getColor'](_0x20df47['COLORS'][_0x3dddb9(0x186)],0x0),'strokeWidth':0x0,'stroke':_0xa92540||_0x4e3aee[_0x3dddb9(0x24c)](_0x20df47['COLORS']['black'],0x0),'evented':!0x1});this[_0x3dddb9(0x183)]=_0x3559bf,this[_0x3dddb9(0x16b)][_0x3dddb9(0x21f)](_0x3559bf,_0x8e9d75[_0x3dddb9(0x239)]);const _0x3ea1cc=new _0x5b1836(_0x3c94cf+_0x20df47[_0x3dddb9(0x19b)][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225-_0xa14d99,'text':_0xc516e5,'color':_0xa92540});this[_0x3dddb9(0x19e)]=_0x3ea1cc,this[_0x3dddb9(0x16b)][_0x3dddb9(0x21f)](_0x3ea1cc,_0x8e9d75['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x2efe25=_0x364fc7,_0x4c0d3e=this[_0x2efe25(0x153)][_0x2efe25(0x25e)][_0x2efe25(0x2c4)](()=>{const _0x401ea0=_0x2efe25;this[_0x401ea0(0x334)]=!0x0;}),_0x1cd70a=this[_0x2efe25(0x153)][_0x2efe25(0x387)][_0x2efe25(0x2c4)](()=>{const _0xfff252=_0x2efe25;this['_hideTimer']&&clearTimeout(this[_0xfff252(0x1bc)]),this[_0xfff252(0x1bc)]=setTimeout(()=>{const _0x53851b=_0xfff252;this[_0x53851b(0x334)]=!0x1;},0x7d0);});return()=>{const _0x18f15f=_0x2efe25;_0x4c0d3e[_0x18f15f(0x1f0)](),_0x1cd70a[_0x18f15f(0x1f0)]();};}[_0x364fc7(0x166)](_0x2f8ef0,_0x127882,_0x154cd9,_0x44d4f5){const _0xdada28=_0x364fc7,_0x720cc4=new _0x20df47['ColorKit'](_0x2f8ef0)[_0xdada28(0x1a6)](0.2)['toRgbString'](),_0x3bff00=new _0x4e3aee[(_0xdada28(0x28e))](_0x2bdc63+_0x20df47[_0xdada28(0x19b)]['generateRandomId'](_0x156cbd),{'pointsGroup':_0x127882,'fill':_0x720cc4||_0x4e3aee[_0xdada28(0x24c)](_0x20df47[_0xdada28(0x1e0)][_0xdada28(0x186)],0.2),'left':_0x154cd9,'top':_0x44d4f5,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xdada28(0x1a5)](_0x3bff00),this[_0xdada28(0x16b)][_0xdada28(0x21f)](_0x3bff00,_0x8e9d75[_0xdada28(0x239)]);}[_0x364fc7(0x391)](_0x2defe8,_0x5998d0,_0x121fb7,_0x45b4a1){const _0x452697=_0x364fc7,_0x173c00=new _0x20df47[(_0x452697(0x13e))](_0x2defe8)[_0x452697(0x1a6)](0.2)[_0x452697(0x2d1)](),_0x375ab0=new _0x4e3aee[(_0x452697(0x28e))](_0x367a8e+_0x20df47[_0x452697(0x19b)]['generateRandomId'](_0x156cbd),{'pointsGroup':_0x5998d0,'fill':_0x173c00||_0x4e3aee[_0x452697(0x24c)](_0x20df47[_0x452697(0x1e0)][_0x452697(0x186)],0.2),'left':_0x121fb7,'top':_0x45b4a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x452697(0x2ae)]['push'](_0x375ab0),this[_0x452697(0x16b)][_0x452697(0x21f)](_0x375ab0,_0x8e9d75[_0x452697(0x239)]);}[_0x364fc7(0x252)](_0x62ebb5){const _0x106d81=_0x62ebb5[0x0],_0xe5fdd1=_0x106d81[0x0],_0x2e4654=_0x106d81[0x2],{x:_0x5c505b,y:_0x167df5}=_0xe5fdd1,{x:_0x37bb52,y:_0x27b0d1}=_0x2e4654;return{'left':_0x5c505b,'top':_0x167df5,'width':_0x37bb52-_0x5c505b,'height':_0x27b0d1-_0x167df5};}['_getScale'](){const _0x1afb1c=_0x364fc7,{scaleX:_0x5b8d40,scaleY:_0x1e09d1}=this[_0x1afb1c(0x16b)][_0x1afb1c(0x307)]();return Math[_0x1afb1c(0x273)](_0x5b8d40,_0x1e09d1);}}var _0x3660a3=Object[_0x364fc7(0x26c)],_0x89ad33=(_0x3964bc,_0x563b36,_0x42508a,_0x551445)=>{const _0x3ac344=_0x364fc7;for(var _0x1698f6=_0x551445>0x1?void 0x0:_0x551445?_0x3660a3(_0x563b36,_0x42508a):_0x563b36,_0x22c722=_0x3964bc[_0x3ac344(0x18f)]-0x1,_0xedca0c;_0x22c722>=0x0;_0x22c722--)(_0xedca0c=_0x3964bc[_0x22c722])&&(_0x1698f6=_0xedca0c(_0x1698f6)||_0x1698f6);return _0x1698f6;},_0x2f4d18=(_0x4f71c8,_0x391de3)=>(_0xb5a88,_0x2b428d)=>_0x391de3(_0xb5a88,_0x2b428d,_0x4f71c8);let _0x540093=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x2844ba,_0x544995,_0x399e53,_0xf1d5a0,_0x4e908a){const _0xf1e650=_0x364fc7;super(),_0x4a92d0(this,'_cursorShapes',[]),_0x4a92d0(this,'_cursors',[]),(this[_0xf1e650(0x261)]=_0x2844ba,this['_docSkeletonManagerService']=_0x544995,this[_0xf1e650(0x380)]=_0x399e53,this[_0xf1e650(0x197)]=_0xf1d5a0,this['_themeService']=_0x4e908a,this[_0xf1e650(0x184)]());}[_0x364fc7(0x184)](){const _0x558164=_0x364fc7,_0x5dbd46=this[_0x558164(0x261)]['unitId'],_0x33e8a2=this[_0x558164(0x2ca)];this[_0x558164(0x363)](_0x3396eb['combineLatest']([this['_collabCursorController'][_0x558164(0x1fe)](_0x5dbd46),this['_themeService'][_0x558164(0x281)]])['pipe'](_0xb9a466[_0x558164(0x263)](([_0x21bd92,_0x173559])=>({'skeleton':_0x33e8a2[_0x558164(0x1f2)](),'cursors':[..._0x21bd92[_0x558164(0x2a0)]()]['flatMap'](_0x52db01=>({..._0x52db01,'color':this['_themeService']['getColorFromTheme'](_0x52db01[_0x558164(0x1a4)])}))})))['subscribe'](_0x391c77=>{const _0x18dc79=_0x558164;if(this['_removeCollabCursors'](),_0x391c77){const {skeleton:_0x5217b1,cursors:_0x55e0b6}=_0x391c77;this[_0x18dc79(0x32a)](_0x5217b1,_0x55e0b6);}})),this['_initResize'](),this[_0x558164(0x151)]();}[_0x364fc7(0x32a)](_0x50b101,_0x41e330){const _0x16b72b=_0x364fc7,{scene:_0x575500,mainComponent:_0xd513a2}=this[_0x16b72b(0x261)],_0x2b48f8=_0x41e330[_0x16b72b(0x263)](_0x5c4aeb=>new _0xb5b1cb(_0x5c4aeb,_0x575500,_0x50b101,_0xd513a2));this['_cursorShapes']=_0x2b48f8,this[_0x16b72b(0x2d9)]=_0x41e330;}[_0x364fc7(0x296)](){const _0x1a1847=_0x364fc7;this['_removeCollabCursors']();const {scene:_0x7659a2,mainComponent:_0x353ea8}=this[_0x1a1847(0x261)],_0x317d0d=this['_docSkeletonManagerService'][_0x1a1847(0x1f2)](),_0x5f5741=this['_cursors']['map'](_0x2653e9=>new _0xb5b1cb(_0x2653e9,_0x7659a2,_0x317d0d,_0x353ea8));this[_0x1a1847(0x1a3)]=_0x5f5741;}['_removeCollabCursors'](){const _0x2c7a15=_0x364fc7;this[_0x2c7a15(0x1a3)][_0x2c7a15(0x24a)](_0xea2a09=>_0xea2a09[_0x2c7a15(0x13f)]()),this['_cursorShapes']=[];}[_0x364fc7(0x151)](){const _0x2a51ae=_0x364fc7,_0x2b0e07=[_0x8e9d75[_0x2a51ae(0x2ab)]['id']];this[_0x2a51ae(0x363)](this[_0x2a51ae(0x197)][_0x2a51ae(0x33f)](_0x41e048=>{const _0x2884aa=_0x2a51ae;_0x2b0e07[_0x2884aa(0x14a)](_0x41e048['id'])&&_0x41e048[_0x2884aa(0x1f3)][_0x2884aa(0x220)]===this['_context'][_0x2884aa(0x220)]&&this[_0x2884aa(0x296)]();}));}[_0x364fc7(0x266)](){const _0x6f9b8f=_0x364fc7;this[_0x6f9b8f(0x363)](_0x20df47['fromEventSubject'](this[_0x6f9b8f(0x261)][_0x6f9b8f(0x13c)][_0x6f9b8f(0x2f2)])[_0x6f9b8f(0x13a)](_0xb9a466[_0x6f9b8f(0x29d)](_0x27f98b=>_0x27f98b[_0x6f9b8f(0x27b)]===_0x4e3aee[_0x6f9b8f(0x1ea)][_0x6f9b8f(0x21b)]),_0xb9a466['throttleTime'](0x10))[_0x6f9b8f(0x276)](()=>{const _0x2bf25d=_0x6f9b8f;this[_0x2bf25d(0x296)]();}));}};_0x540093=_0x89ad33([_0x2f4d18(0x1,_0x20df47[_0x364fc7(0x28b)](_0xb95e52[_0x364fc7(0x2ef)])),_0x2f4d18(0x2,_0x20df47[_0x364fc7(0x28b)](_0x100640)),_0x2f4d18(0x3,_0x20df47[_0x364fc7(0x353)]),_0x2f4d18(0x4,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x128)]))],_0x540093);const _0x39b069=0x1,_0x207198=1.5;class _0x24d54a extends _0x4e3aee['Shape']{constructor(_0x54a061,_0x3c70ed){const _0x3439fa=_0x364fc7;super(_0x54a061,_0x3c70ed),_0x4a92d0(this,_0x3439fa(0x285)),_0x4a92d0(this,_0x3439fa(0x1a0),!0x1),_0x4a92d0(this,'_range'),_0x4a92d0(this,'_name',''),_0x4a92d0(this,_0x3439fa(0x2a7),_0x3439fa(0x27a)),_0x4a92d0(this,_0x3439fa(0x18c)),(_0x3c70ed&&this[_0x3439fa(0x360)](_0x3c70ed),this[_0x3439fa(0x25e)]['subscribeEvent'](()=>this[_0x3439fa(0x360)]({'hovered':!0x0})),this[_0x3439fa(0x387)]['subscribeEvent'](()=>this[_0x3439fa(0x360)]({'hovered':!0x1})));}[_0x364fc7(0x360)](_0x4a7fcd){const _0x3ec0c6=_0x364fc7;var _0x39bf83,_0x2c52b8,_0x25707a,_0xa42a4a,_0x5dee3e,_0x4aed95;this[_0x3ec0c6(0x285)]=(_0x39bf83=_0x4a7fcd[_0x3ec0c6(0x1a4)])!=null?_0x39bf83:this['_color'],this[_0x3ec0c6(0x1a0)]=(_0x2c52b8=_0x4a7fcd['hovered'])!=null?_0x2c52b8:this[_0x3ec0c6(0x1a0)],this[_0x3ec0c6(0x295)]=(_0x25707a=_0x4a7fcd[_0x3ec0c6(0x208)])!=null?_0x25707a:this[_0x3ec0c6(0x295)],this[_0x3ec0c6(0x388)]=(_0xa42a4a=_0x4a7fcd[_0x3ec0c6(0x287)])!=null?_0xa42a4a:this[_0x3ec0c6(0x388)],this['_labelPosition']=(_0x5dee3e=_0x4a7fcd[_0x3ec0c6(0x2fb)])!=null?_0x5dee3e:this[_0x3ec0c6(0x2a7)],this['_backgroundColor']=(_0x4aed95=_0x4a7fcd[_0x3ec0c6(0x26d)])!=null?_0x4aed95:this[_0x3ec0c6(0x18c)],this[_0x3ec0c6(0x147)]({'width':_0x4a7fcd['width'],'height':_0x4a7fcd['height']});}[_0x364fc7(0x167)](_0x573a91){const _0x4dd7ae=_0x364fc7,{row:_0x57922d,column:_0xa94819}=_0x573a91;if(_0x57922d>=this[_0x4dd7ae(0x295)][_0x4dd7ae(0x115)]&&_0x57922d<=this[_0x4dd7ae(0x295)]['endRow']&&_0xa94819>=this[_0x4dd7ae(0x295)]['startColumn']&&_0xa94819<=this[_0x4dd7ae(0x295)][_0x4dd7ae(0x225)]){this[_0x4dd7ae(0x360)]({'hovered':!0x0});return;}this[_0x4dd7ae(0x360)]({'hovered':!0x1});}[_0x364fc7(0x2d8)](_0x2cc588){return!0x1;}['_draw'](_0x276f8){const _0x392ce6=_0x364fc7;_0x4e3aee['Rect'][_0x392ce6(0x338)](_0x276f8,{'width':this[_0x392ce6(0x2c7)],'height':this['height'],'strokeWidth':_0x207198,'stroke':this[_0x392ce6(0x285)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x276f8[_0x392ce6(0x1ae)](),_0x276f8[_0x392ce6(0x219)](0x1,0x0,0x0,0x1,this['width'],this[_0x392ce6(0x2a7)]===_0x392ce6(0x201)?0x0:-0x14),_0x5b1836['drawWith'](_0x276f8,{'text':this[_0x392ce6(0x388)],'color':this[_0x392ce6(0x285)]}),_0x276f8[_0x392ce6(0x110)]());}}var _0x599754=Object[_0x364fc7(0x26c)],_0x54f5a2=(_0x476b53,_0x4346e6,_0x21e970,_0x3e5dcf)=>{const _0x219ef2=_0x364fc7;for(var _0x51423e=_0x3e5dcf>0x1?void 0x0:_0x3e5dcf?_0x599754(_0x4346e6,_0x21e970):_0x4346e6,_0x1dfff5=_0x476b53[_0x219ef2(0x18f)]-0x1,_0x2c0161;_0x1dfff5>=0x0;_0x1dfff5--)(_0x2c0161=_0x476b53[_0x1dfff5])&&(_0x51423e=_0x2c0161(_0x51423e)||_0x51423e);return _0x51423e;},_0xc3b22d=(_0x528dd8,_0x1580ca)=>(_0xa69d18,_0x313726)=>_0x1580ca(_0xa69d18,_0x313726,_0x528dd8);const _0x6c158=0x1389;let _0x1fd5d1=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x553999,_0x328651,_0x58662e,_0x101311){const _0x7ae9f2=_0x364fc7;super(),_0x4a92d0(this,'_cursors',new Set()),_0x4a92d0(this,'_lastPointer',null),(this[_0x7ae9f2(0x261)]=_0x553999,this[_0x7ae9f2(0x32b)]=_0x328651,this[_0x7ae9f2(0x380)]=_0x58662e,this[_0x7ae9f2(0x230)]=_0x101311,this[_0x7ae9f2(0x184)]());}[_0x364fc7(0x184)](){const _0xd9b44b=_0x364fc7;this[_0xd9b44b(0x32b)][_0xd9b44b(0x2f0)][_0xd9b44b(0x13a)](_0xb9a466['takeUntil'](this['dispose$']),_0xb9a466[_0xd9b44b(0x187)](_0x4b86bb=>{const _0x46110b=_0xd9b44b;if(_0x4b86bb){const _0x3a3f16=_0x4b86bb[_0x46110b(0x232)];return _0x3396eb[_0x46110b(0x26e)](this[_0x46110b(0x380)]['getCollabCursors$'](this['_context'][_0x46110b(0x220)]),this[_0x46110b(0x230)]['currentTheme$'])[_0x46110b(0x13a)](_0xb9a466['map'](([_0x56ad28,_0x45c552])=>{const _0x2831e4=new Map();return _0x56ad28['forEach']((_0x2c32b6,_0x1bab8d)=>{const _0x1d216b=_0x25e4;if(_0x2c32b6[_0x1d216b(0x2a4)]===_0x3a3f16){const _0x465ed2={..._0x2c32b6};_0x465ed2['color']=this[_0x1d216b(0x230)][_0x1d216b(0x377)](_0x2c32b6[_0x1d216b(0x1a4)]),_0x2831e4[_0x1d216b(0x394)](_0x1bab8d,_0x465ed2);}}),{'skeleton':_0x4b86bb,'cursors':_0x2831e4};}));}return _0x3396eb['of']({'skeleton':null,'cursors':new Map()});}))[_0xd9b44b(0x276)](({skeleton:_0x1b81fb,cursors:_0x459b3a})=>{const _0x50d441=_0xd9b44b;this[_0x50d441(0x2e8)](),_0x1b81fb&&this[_0x50d441(0x32a)](_0x1b81fb,_0x459b3a);}),this[_0xd9b44b(0x32b)][_0xd9b44b(0x2f0)][_0xd9b44b(0x276)](_0x24556d=>{const _0x5cb46a=_0xd9b44b;if(_0x24556d==null)return;const {skeleton:_0x1c9ffc}=_0x24556d,{scene:_0x5613c2}=this[_0x5cb46a(0x261)];_0x5613c2[_0x5cb46a(0x10a)][_0x5cb46a(0x2c4)](_0x20df47['debounce'](_0x1207b3=>{const _0x34b255=_0x5cb46a;var _0x53969e,_0x7b69dc;const {offsetX:_0x436cff,offsetY:_0x4b5e09}=_0x1207b3,{x:_0x3e202a,y:_0x20a5ea}=_0x5613c2['getRelativeToViewportCoord'](_0x4e3aee['Vector2'][_0x34b255(0x2c3)]([_0x436cff,_0x4b5e09])),{scaleX:_0x3b9bf6,scaleY:_0x26b3a2}=_0x5613c2[_0x34b255(0x307)](),_0x55c588=_0x5613c2['getViewport'](_0x4e3aee[_0x34b255(0x1cf)][_0x34b255(0x318)]),_0x8dae45=_0x5613c2['getVpScrollXYInfoByPosToVp'](_0x4e3aee[_0x34b255(0x30a)][_0x34b255(0x2c3)]([_0x3e202a,_0x20a5ea]),_0x55c588),_0x514377=_0x1c9ffc['getCellPositionByOffset'](_0x436cff,_0x4b5e09,_0x3b9bf6,_0x26b3a2,_0x8dae45);((_0x53969e=this[_0x34b255(0x37d)])==null?void 0x0:_0x53969e[_0x34b255(0x129)])===_0x514377['column']&&((_0x7b69dc=this[_0x34b255(0x37d)])==null?void 0x0:_0x7b69dc['row'])===_0x514377[_0x34b255(0x1a8)]||this[_0x34b255(0x2d9)][_0x34b255(0x24a)](_0x392466=>{const _0x56ccb8=_0x34b255;_0x392466[_0x56ccb8(0x167)](_0x514377);});},0x64));});}['_updateCollabCursors'](_0xe67377,_0x392469){const _0x5871a7=_0x364fc7;var _0x590caa;const _0x27bd68=(_0x590caa=this[_0x5871a7(0x32b)][_0x5871a7(0x36b)]())==null?void 0x0:_0x590caa['skeleton'];if(!_0x27bd68)return;const _0x5ab1dd=this[_0x5871a7(0x164)]();if(!_0x5ab1dd)return;this['_cursors']['forEach'](_0xa3913c=>{const _0x1d2e70=_0x5871a7;_0xa3913c[_0x1d2e70(0x31f)]();});const {scene:_0x1179e2}=_0x5ab1dd,_0x3e71d9=_0x278995(Array[_0x5871a7(0x1f4)](_0x392469[_0x5871a7(0x2a0)]()))[_0x5871a7(0x263)](_0x3c5f74=>{const _0x80f538=_0x5871a7,{color:_0x2541b3,range:_0x5ed729,name:_0x38f481,selection:_0x1b08d1,sheetID:_0x4d3264}=_0x3c5f74,{startColumn:_0x27460e,startRow:_0x193151,endColumn:_0x2e2428,endRow:_0x83005a}=_0x5ed729,_0x4591c8=_0x3410d0['getCoordByCell'](_0x193151,_0x27460e,_0x1179e2,_0x27bd68),_0x57814d=_0x3410d0['getCoordByCell'](_0x83005a,_0x2e2428,_0x1179e2,_0x27bd68),{columnHeaderHeightAndMarginTop:_0x54dd0e}=_0x27bd68,{startX:_0x11dd96,startY:_0x1ed34e}=_0x4591c8,{endX:_0x2e867a,endY:_0x10ed90}=_0x57814d,_0x3f23a3=_0x2e867a-_0x11dd96,_0x4e5d65=_0x10ed90-_0x1ed34e,_0x86a2a4={'labelPosition':_0x1ed34e-_0x54dd0e>=_0xa14d99?_0x80f538(0x27a):_0x80f538(0x201),'sheetID':_0x4d3264,'range':_0x5ed729,'color':_0x2541b3,'name':_0x38f481,'selection':_0x1b08d1,'left':_0x11dd96,'top':_0x1ed34e,'width':_0x3f23a3,'height':_0x4e5d65,'evented':!0x1,'zIndex':_0x6c158};return new _0x24d54a(_0x38f481,_0x86a2a4);});_0x1179e2['addObjects'](_0x3e71d9,_0x39b069),this[_0x5871a7(0x2d9)]=new Set(_0x3e71d9);}[_0x364fc7(0x2e8)](){const _0x4545dd=_0x364fc7;var _0x45205b;(_0x45205b=this[_0x4545dd(0x2d9)])==null||_0x45205b[_0x4545dd(0x24a)](_0x4e8fd7=>_0x4e8fd7[_0x4545dd(0x13f)]());}['_getSheetObject'](){const _0x506335=_0x364fc7;return _0x3410d0['getSheetObject'](this['_context'][_0x506335(0x2af)],this[_0x506335(0x261)]);}};_0x1fd5d1=_0x54f5a2([_0xc3b22d(0x1,_0x20df47[_0x364fc7(0x28b)](_0x3410d0[_0x364fc7(0x257)])),_0xc3b22d(0x2,_0x20df47['Inject'](_0x100640)),_0xc3b22d(0x3,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x128)]))],_0x1fd5d1);function _0x278995(_0x24fa7b){const _0x28d9fb=_0x364fc7,_0x5dc531=new Map();return _0x24fa7b[_0x28d9fb(0x24a)](_0x21eb2f=>{const _0x44d0ed=_0x28d9fb;if(_0x5dc531[_0x44d0ed(0x1f1)](_0x21eb2f[_0x44d0ed(0x19f)])){const _0x4ba90d=_0x5dc531['get'](_0x21eb2f['selection']);_0x4ba90d[_0x44d0ed(0x287)]+=',\x20'+_0x21eb2f[_0x44d0ed(0x287)];}else _0x5dc531[_0x44d0ed(0x394)](_0x21eb2f[_0x44d0ed(0x19f)],_0x21eb2f);}),Array['from'](_0x5dc531['values']());}var _0x242649=function(){const _0x481888=_0x364fc7;return _0x242649=Object['assign']||function(_0x149be9){const _0xbbbe5d=_0x25e4;for(var _0x4bc577,_0xbe6263=0x1,_0x3bd4aa=arguments['length'];_0xbe6263<_0x3bd4aa;_0xbe6263++){_0x4bc577=arguments[_0xbe6263];for(var _0x2e4034 in _0x4bc577)Object[_0xbbbe5d(0x302)][_0xbbbe5d(0x2db)][_0xbbbe5d(0x1fd)](_0x4bc577,_0x2e4034)&&(_0x149be9[_0x2e4034]=_0x4bc577[_0x2e4034]);}return _0x149be9;},_0x242649[_0x481888(0x16c)](this,arguments);},_0x237f4d=function(_0x25b209,_0x4313e6){const _0x305c52=_0x364fc7;var _0x2055ba={};for(var _0x29ef44 in _0x25b209)Object[_0x305c52(0x302)][_0x305c52(0x2db)][_0x305c52(0x1fd)](_0x25b209,_0x29ef44)&&_0x4313e6[_0x305c52(0x2b3)](_0x29ef44)<0x0&&(_0x2055ba[_0x29ef44]=_0x25b209[_0x29ef44]);if(_0x25b209!=null&&typeof Object[_0x305c52(0x20f)]=='function'){for(var _0x209ef8=0x0,_0x29ef44=Object[_0x305c52(0x20f)](_0x25b209);_0x209ef8<_0x29ef44[_0x305c52(0x18f)];_0x209ef8++)_0x4313e6['indexOf'](_0x29ef44[_0x209ef8])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x305c52(0x1fd)](_0x25b209,_0x29ef44[_0x209ef8])&&(_0x2055ba[_0x29ef44[_0x209ef8]]=_0x25b209[_0x29ef44[_0x209ef8]]);}return _0x2055ba;},_0x1642cb=_0x14d7ce[_0x364fc7(0x131)](function(_0x1836a0,_0x3d5777){const _0x2ef682=_0x364fc7;var _0x504b0c=_0x1836a0[_0x2ef682(0x25c)],_0x39db21=_0x1836a0['id'],_0x27134d=_0x1836a0['className'],_0x4fccf3=_0x1836a0[_0x2ef682(0x140)],_0x3128df=_0x237f4d(_0x1836a0,[_0x2ef682(0x25c),'id',_0x2ef682(0x291),_0x2ef682(0x140)]),_0x21daed=_0x2ef682(0x159)['concat'](_0x39db21,'\x20')['concat'](_0x27134d||'')[_0x2ef682(0x2e5)](),_0x167e05=_0x14d7ce[_0x2ef682(0x1aa)]('_'['concat'](_0x64c5d9()));return _0x4ca8b4(_0x504b0c,''[_0x2ef682(0x340)](_0x39db21),{'defIds':_0x504b0c[_0x2ef682(0x38e)],'idSuffix':_0x167e05[_0x2ef682(0x13d)]},_0x242649({'ref':_0x3d5777,'className':_0x21daed},_0x3128df),_0x4fccf3);});function _0x4ca8b4(_0x7e027,_0x9e3f1f,_0x127f6f,_0x14e40a,_0x12423a){const _0x23133d=_0x364fc7;return _0x14d7ce[_0x23133d(0x20e)](_0x7e027[_0x23133d(0x27d)],_0x242649(_0x242649({'key':_0x9e3f1f},_0x23eccb(_0x7e027,_0x127f6f,_0x12423a)),_0x14e40a),(_0x3c462e(_0x7e027,_0x127f6f)['children']||[])['map'](function(_0x202180,_0x3fe111){const _0x243642=_0x23133d;return _0x4ca8b4(_0x202180,''[_0x243642(0x340)](_0x9e3f1f,'-')['concat'](_0x7e027[_0x243642(0x27d)],'-')[_0x243642(0x340)](_0x3fe111),_0x127f6f,void 0x0,_0x12423a);}));}function _0x23eccb(_0x9d1548,_0x42a523,_0x2be559){const _0x29f4a1=_0x364fc7;var _0x3bd533=_0x242649({},_0x9d1548['attrs']);_0x2be559!=null&&_0x2be559[_0x29f4a1(0x275)]&&_0x3bd533[_0x29f4a1(0x133)]===_0x29f4a1(0x275)&&(_0x3bd533[_0x29f4a1(0x133)]=_0x2be559[_0x29f4a1(0x275)]),_0x9d1548['tag']===_0x29f4a1(0x272)&&_0x3bd533['id']&&(_0x3bd533['id']=_0x3bd533['id']+_0x42a523[_0x29f4a1(0x202)]),Object['entries'](_0x3bd533)['forEach'](function(_0x573166){const _0x516c80=_0x29f4a1;var _0x3670ed=_0x573166[0x0],_0x13431a=_0x573166[0x1];_0x3670ed===_0x516c80(0x272)&&typeof _0x13431a==_0x516c80(0x336)&&(_0x3bd533[_0x3670ed]=_0x13431a[_0x516c80(0x2e6)](/url\(#(.*)\)/,'url(#$1'[_0x516c80(0x340)](_0x42a523[_0x516c80(0x202)],')')));});var _0x43e697=_0x42a523[_0x29f4a1(0x38e)];return!_0x43e697||_0x43e697['length']===0x0||(_0x9d1548['tag']===_0x29f4a1(0x35f)&&_0x3bd533[_0x29f4a1(0x2ea)]&&(_0x3bd533[_0x29f4a1(0x2ea)]=_0x3bd533['xlink:href']+_0x42a523[_0x29f4a1(0x202)]),Object['entries'](_0x3bd533)[_0x29f4a1(0x24a)](function(_0x241193){const _0xa92dcc=_0x29f4a1;var _0x1c12dc=_0x241193[0x0],_0x3e3039=_0x241193[0x1];typeof _0x3e3039==_0xa92dcc(0x336)&&(_0x3bd533[_0x1c12dc]=_0x3e3039[_0xa92dcc(0x2e6)](/url\(#(.*)\)/,_0xa92dcc(0x17d)[_0xa92dcc(0x340)](_0x42a523[_0xa92dcc(0x202)],')')));})),_0x3bd533;}function _0x3c462e(_0x2b3241,_0x45228b){const _0x3b869b=_0x364fc7;var _0x5a5974,_0x5aa99d=_0x45228b['defIds'];return!_0x5aa99d||_0x5aa99d[_0x3b869b(0x18f)]===0x0?_0x2b3241:_0x2b3241['tag']==='defs'&&(!((_0x5a5974=_0x2b3241[_0x3b869b(0x188)])===null||_0x5a5974===void 0x0)&&_0x5a5974[_0x3b869b(0x18f)])?_0x242649(_0x242649({},_0x2b3241),{'children':_0x2b3241[_0x3b869b(0x188)]['map'](function(_0x11fd30){const _0x4f96d0=_0x3b869b;return typeof _0x11fd30[_0x4f96d0(0x2e4)]['id']==_0x4f96d0(0x336)&&_0x5aa99d&&_0x5aa99d[_0x4f96d0(0x14a)](_0x11fd30[_0x4f96d0(0x2e4)]['id'])?_0x242649(_0x242649({},_0x11fd30),{'attrs':_0x242649(_0x242649({},_0x11fd30[_0x4f96d0(0x2e4)]),{'id':_0x11fd30[_0x4f96d0(0x2e4)]['id']+_0x45228b[_0x4f96d0(0x202)]})}):_0x11fd30;})}):_0x2b3241;}function _0x64c5d9(){const _0x2d22ff=_0x364fc7;return Math['random']()[_0x2d22ff(0x217)](0x24)[_0x2d22ff(0x11b)](0x2,0x8);}_0x1642cb[_0x364fc7(0x16f)]=_0x364fc7(0x13b);var _0x3e2eef={'tag':_0x364fc7(0x2e1),'attrs':{'xmlns':_0x364fc7(0x119),'fill':'none','viewBox':_0x364fc7(0x319),'width':_0x364fc7(0x35d),'height':_0x364fc7(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x364fc7(0x161),'attrs':{'stroke':'currentColor','d':_0x364fc7(0x229),'strokeLinecap':_0x364fc7(0x1ee),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x364fc7(0x2b8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x364fc7(0x161),'attrs':{'fill':_0x364fc7(0x170),'d':_0x364fc7(0x25f)}}]}]}],'defIds':[_0x364fc7(0x235)]},_0x28461b=_0x14d7ce[_0x364fc7(0x131)](function(_0x10d859,_0x1f4e3e){const _0x2a0670=_0x364fc7;return _0x14d7ce[_0x2a0670(0x20e)](_0x1642cb,Object['assign']({},_0x10d859,{'id':_0x2a0670(0x24e),'ref':_0x1f4e3e,'icon':_0x3e2eef}));});_0x28461b[_0x364fc7(0x16f)]='OffLineIcon';var _0x3e1596={'tag':'svg','attrs':{'xmlns':_0x364fc7(0x119),'fill':_0x364fc7(0x216),'viewBox':_0x364fc7(0x22e),'width':_0x364fc7(0x35d),'height':_0x364fc7(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x364fc7(0x194)},'children':[{'tag':_0x364fc7(0x161),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x364fc7(0x1ee),'strokeWidth':1.2}}]},{'tag':_0x364fc7(0x2b8),'attrs':{},'children':[{'tag':_0x364fc7(0x362),'attrs':{'id':_0x364fc7(0x1f5)},'children':[{'tag':'path','attrs':{'fill':_0x364fc7(0x170),'d':_0x364fc7(0x25f),'transform':_0x364fc7(0x2fe)}}]}]}],'defIds':[_0x364fc7(0x1f5)]},_0x46fef1=_0x14d7ce[_0x364fc7(0x131)](function(_0x4cdb3c,_0x4eef09){return _0x14d7ce['createElement'](_0x1642cb,Object['assign']({},_0x4cdb3c,{'id':'on-line-icon','ref':_0x4eef09,'icon':_0x3e1596}));});_0x46fef1['displayName']=_0x364fc7(0x324);function _0x23269f(_0x38cb91){const _0x2b686e=_0x364fc7;switch(_0x38cb91){case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x345)]:return _0x2b686e(0x175);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x329)]:return _0x2b686e(0x351);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x2dc)]:return _0x2b686e(0x2c6);case _0x3d42b8[_0x2b686e(0x2de)]['NOT_COLLAB']:return _0x2b686e(0x1dd);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x34a)]:case _0x3d42b8[_0x2b686e(0x2de)]['AWAITING_WITH_PENDING']:return _0x2b686e(0x372);case _0x3d42b8[_0x2b686e(0x2de)]['SYNCED']:case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x31d)]:return _0x2b686e(0x253);}}function _0x22caef(_0x5089c9){const _0x165111=_0x364fc7,{status$:_0x5a32e9}=_0x5089c9,_0xddea13=_0x1229e7[_0x165111(0x1c5)](_0x5a32e9,_0x3d42b8[_0x165111(0x2de)][_0x165111(0x154)]),_0x445a26=_0x1229e7[_0x165111(0x1c9)](_0x20df47['LocaleService']),_0x561224=_0x1229e7[_0x165111(0x1c9)](_0x3d42b8[_0x165111(0x383)]),_0x2e28c0=_0xddea13!==_0x3d42b8[_0x165111(0x2de)][_0x165111(0x345)],_0x29a66e=_0x445a26['t'](_0x23269f(_0xddea13)),_0x409c14=_0x2e28c0?_0x58edf1[_0x165111(0x1e3)](_0x46fef1,{}):_0x58edf1['jsx'](_0x28461b,{}),_0x557a1e=_0x14d7ce['useCallback'](()=>{const _0x5a79c7=_0x165111;_0x2e28c0||_0x561224[_0x5a79c7(0x29e)]();},[_0x2e28c0,_0x561224]);function _0x388647(){const _0x4c93e4=_0x165111;return _0x58edf1[_0x4c93e4(0x1cd)](_0x4c93e4(0x343),{'className':_0x4c93e4(0x234),'onClick':_0x557a1e,'children':[_0x58edf1[_0x4c93e4(0x1e3)](_0x4c93e4(0x343),{'className':_0x42ee62[_0x4c93e4(0x255)](_0x4c93e4(0x205),{'univer-text-green-500':_0x2e28c0,'univer-text-red-500':!_0x2e28c0}),'children':_0x409c14}),_0x58edf1[_0x4c93e4(0x1e3)](_0x4c93e4(0x343),{'className':_0x4c93e4(0x270),'children':_0x29a66e})]});}return _0x2e28c0?_0x388647():_0x58edf1[_0x165111(0x1e3)](_0x42ee62[_0x165111(0x37f)],{'title':_0x445a26['t']('collab-client.tooltip.reconnect'),'children':_0x388647()});}var _0x1cf597=Object[_0x364fc7(0x26c)],_0x51c141=(_0x229f4e,_0xa19c03,_0x3d0565,_0x240eab)=>{for(var _0x3eb713=_0x240eab>0x1?void 0x0:_0x240eab?_0x1cf597(_0xa19c03,_0x3d0565):_0xa19c03,_0x1793e8=_0x229f4e['length']-0x1,_0x44adcc;_0x1793e8>=0x0;_0x1793e8--)(_0x44adcc=_0x229f4e[_0x1793e8])&&(_0x3eb713=_0x44adcc(_0x3eb713)||_0x3eb713);return _0x3eb713;},_0x2b7beb=(_0x36d619,_0x28bf06)=>(_0x1bc818,_0x3238b3)=>_0x28bf06(_0x1bc818,_0x3238b3,_0x36d619);_0x4392a1[_0x364fc7(0x116)]=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x942f18,_0x5a585f,_0x17fde9,_0x5d6d61){const _0x5a40fa=_0x364fc7;super(),_0x4a92d0(this,'_status$',new _0x3396eb[(_0x5a40fa(0x374))](_0x3d42b8[_0x5a40fa(0x2de)][_0x5a40fa(0x154)])),(this[_0x5a40fa(0x1c2)]=_0x942f18,this[_0x5a40fa(0x1b2)]=_0x5a585f,this[_0x5a40fa(0x231)]=_0x17fde9,this[_0x5a40fa(0x14d)]=_0x5d6d61,this[_0x5a40fa(0x327)](),this['_initStatusListener']());}[_0x364fc7(0x27c)](){const _0x1bf236=_0x364fc7;this[_0x1bf236(0x363)](this[_0x1bf236(0x1c2)]['focused$'][_0x1bf236(0x13a)](_0x3396eb[_0x1bf236(0x187)](()=>{const _0x1aa5f8=_0x1bf236,_0x5f22be=this[_0x1aa5f8(0x1c2)][_0x1aa5f8(0x238)]();return _0x5f22be?this[_0x1aa5f8(0x231)][_0x1aa5f8(0x30f)](_0x5f22be[_0x1aa5f8(0x191)]()):_0x3396eb['of'](null);}),_0x3396eb[_0x1bf236(0x187)](_0x301a4b=>_0x301a4b?_0x301a4b[_0x1bf236(0x262)]:_0x3396eb['of'](_0x3d42b8[_0x1bf236(0x2de)][_0x1bf236(0x154)])))[_0x1bf236(0x276)](_0x493090=>{this['_status$']['next'](_0x493090);}));}['_initStatusComponent'](){const _0x3c38d3=_0x364fc7;this[_0x3c38d3(0x363)](this['_uiPartsService'][_0x3c38d3(0x37a)](_0x1229e7[_0x3c38d3(0x17b)]['HEADER_MENU'],()=>_0x1229e7[_0x3c38d3(0x137)](_0x9e322c({'status$':this['_status$'][_0x3c38d3(0x29f)]()}),this[_0x3c38d3(0x1b2)])));}},_0x4392a1['DesktopCollaborationStatusDisplayController']=_0x51c141([_0x2b7beb(0x0,_0x20df47['IUniverInstanceService']),_0x2b7beb(0x1,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x2b7beb(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x2b4)])),_0x2b7beb(0x3,_0x1229e7[_0x364fc7(0x2a9)])],_0x4392a1[_0x364fc7(0x116)]);function _0x9e322c(_0x81f8ca){const {status$:_0x30e1fe}=_0x81f8ca;return function(){return _0x58edf1['jsx'](_0x22caef,{'status$':_0x30e1fe});};}var _0x2f8aa3=Object[_0x364fc7(0x26c)],_0x520c54=(_0x1eb79b,_0x4f9cd4,_0x4fed1c,_0x2c4e88)=>{const _0x313a9d=_0x364fc7;for(var _0x1b41d2=_0x2c4e88>0x1?void 0x0:_0x2c4e88?_0x2f8aa3(_0x4f9cd4,_0x4fed1c):_0x4f9cd4,_0x5db9d9=_0x1eb79b[_0x313a9d(0x18f)]-0x1,_0x2b3c47;_0x5db9d9>=0x0;_0x5db9d9--)(_0x2b3c47=_0x1eb79b[_0x5db9d9])&&(_0x1b41d2=_0x2b3c47(_0x1b41d2)||_0x1b41d2);return _0x1b41d2;},_0x3e51c8=(_0x4b4f62,_0x474ef9)=>(_0x473239,_0xe5bb4f)=>_0x474ef9(_0x473239,_0xe5bb4f,_0x4b4f62);let _0x4a1f7a=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x33d522,_0xfd881,_0x1a532c,_0x3f02aa,_0x5305a3,_0x2dc23c){const _0x5e60ed=_0x364fc7;super(),this[_0x5e60ed(0x1ab)]=_0x33d522,this['_localCacheService']=_0xfd881,this[_0x5e60ed(0x160)]=_0x1a532c,this[_0x5e60ed(0x244)]=_0x3f02aa,this['_notificationService']=_0x5305a3,this[_0x5e60ed(0x2a5)]=_0x2dc23c,this[_0x5e60ed(0x268)](),this[_0x5e60ed(0x27f)]();}['_setupBeforeClosingHandler'](){const _0x50e35c=_0x364fc7;this[_0x50e35c(0x363)](this[_0x50e35c(0x1ab)][_0x50e35c(0x117)](()=>{const _0x370cf7=_0x50e35c;if(this['_localCacheService'][_0x370cf7(0x2c1)][_0x370cf7(0x2e2)])return this[_0x370cf7(0x2a5)]['t'](_0x370cf7(0x1cb));}));}[_0x364fc7(0x27f)](){this['disposeWithMe'](this['_collaborationUIEventService']['event$']['subscribe'](_0x4900ac=>{const _0x89b3ae=_0x25e4;_0x4900ac['id']===_0x3d42b8['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x89b3ae(0x244)][_0x89b3ae(0x12e)]({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Warning'],'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x260))}),_0x4900ac['id']===_0x3d42b8['CollaborationUIEventId'][_0x89b3ae(0x144)]&&this['_messageService'][_0x89b3ae(0x12e)]({'type':_0x42ee62['MessageType'][_0x89b3ae(0x171)],'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x1bd))}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x301)]&&this[_0x89b3ae(0x1db)]['show']({'title':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x2f3)),'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x130)),'type':_0x89b3ae(0x1bb),'duration':0x0}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x329)]&&this[_0x89b3ae(0x244)]['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Error'],'content':this[_0x89b3ae(0x2a5)]['t']('collaboration.closeRoom')+'('+_0x4900ac[_0x89b3ae(0x277)]+')'}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)][_0x89b3ae(0x171)],'content':this[_0x89b3ae(0x2a5)]['t'](_0x4900ac[_0x89b3ae(0x277)]||'')}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['SOCKET_FAILED_RETRY']&&this[_0x89b3ae(0x244)][_0x89b3ae(0x12e)]({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Warning'],'content':this['_localeService']['t'](_0x89b3ae(0x12c))}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['SOCKET_FAILED']&&this[_0x89b3ae(0x244)]['show']({'type':_0x42ee62['MessageType'][_0x89b3ae(0x2ce)],'content':this['_localeService']['t']('session.connection-failed')}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x2be)]&&this['_messageService']['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)][_0x89b3ae(0x2ce)],'content':this[_0x89b3ae(0x2a5)]['t']('session.collaboration-timeout')});}));}};_0x4a1f7a=_0x520c54([_0x3e51c8(0x0,_0x1229e7[_0x364fc7(0x339)]),_0x3e51c8(0x1,_0x3d42b8[_0x364fc7(0x1e7)]),_0x3e51c8(0x2,_0x20df47['Inject'](_0x3d42b8['CollaborationUIEventService'])),_0x3e51c8(0x3,_0x1229e7['IMessageService']),_0x3e51c8(0x4,_0x1229e7[_0x364fc7(0x36a)]),_0x3e51c8(0x5,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x182)]))],_0x4a1f7a);const _0x589226='collaboration-client-ui.config',_0x41294f={},_0x338227=_0x20df47[_0x364fc7(0x23f)](_0x364fc7(0x359));var _0x5d9afc=Object[_0x364fc7(0x26c)],_0x14dd89=(_0x43b49e,_0x29537f,_0xf28b33,_0x1f3210)=>{const _0x4c3e93=_0x364fc7;for(var _0x210d64=_0x1f3210>0x1?void 0x0:_0x1f3210?_0x5d9afc(_0x29537f,_0xf28b33):_0x29537f,_0x2fbc12=_0x43b49e[_0x4c3e93(0x18f)]-0x1,_0x1491e7;_0x2fbc12>=0x0;_0x2fbc12--)(_0x1491e7=_0x43b49e[_0x2fbc12])&&(_0x210d64=_0x1491e7(_0x210d64)||_0x210d64);return _0x210d64;},_0x2da900=(_0x104ad1,_0x36e774)=>(_0x937e32,_0x1f59c9)=>_0x36e774(_0x937e32,_0x1f59c9,_0x104ad1);_0x4392a1[_0x364fc7(0x1df)]=class extends _0x20df47['RxDisposable']{constructor(_0xedb6b8,_0x33b9c8,_0x43684a,_0x3189aa,_0x505f25){const _0x38b872=_0x364fc7;super(),this[_0x38b872(0x1e4)]=_0xedb6b8,this[_0x38b872(0x2da)]=_0x33b9c8,this[_0x38b872(0x197)]=_0x43684a,this['_dataLoaderService']=_0x3189aa,_0x505f25?_0x505f25==null||_0x505f25[_0x38b872(0x31c)]()[_0x38b872(0x274)](()=>this[_0x38b872(0x184)]()):(this[_0x38b872(0x2da)][_0x38b872(0x1da)](_0x38b872(0x32d),_0x38b872(0x1a7)),this[_0x38b872(0x184)]());}async[_0x364fc7(0x184)](){const _0x4ec0b5=_0x364fc7,_0x48e72a=this[_0x4ec0b5(0x1e4)][_0x4ec0b5(0x11e)]('unit'),_0x1869de=this['_urlService'][_0x4ec0b5(0x11e)](_0x4ec0b5(0x27b)),_0x27ee03=this['_urlService'][_0x4ec0b5(0x11e)]('subunit');if(!_0x48e72a||!_0x1869de){this[_0x4ec0b5(0x2da)]['debug'](_0x4ec0b5(0x32d),_0x4ec0b5(0x2e0));return;}const _0x5542bf=await this['_dataLoaderService'][_0x4ec0b5(0x300)](_0x48e72a,Number(_0x1869de),_0x27ee03);_0x5542bf&&_0x5542bf instanceof _0x20df47[_0x4ec0b5(0x17c)]&&this['_setupSubUnitSync'](_0x5542bf);}async[_0x364fc7(0x371)](_0x399e2f){const _0x1bf574=_0x364fc7;await this[_0x1bf574(0x349)](_0x399e2f),_0x399e2f[_0x1bf574(0x179)]['pipe'](_0x3396eb[_0x1bf574(0x2ad)](this['dispose$']))[_0x1bf574(0x276)](_0x4065f0=>{const _0x3187c3=_0x1bf574;_0x4065f0&&this[_0x3187c3(0x316)](_0x4065f0);}),this[_0x1bf574(0x1e4)][_0x1bf574(0x1dc)][_0x1bf574(0x13a)](_0x3396eb[_0x1bf574(0x2ad)](this[_0x1bf574(0x365)]))[_0x1bf574(0x276)](()=>this[_0x1bf574(0x349)](_0x399e2f));}[_0x364fc7(0x316)](_0x2038d5,_0x18683e=!0x1){const _0x4a85d4=_0x364fc7,_0x5c38f3=this[_0x4a85d4(0x1e4)][_0x4a85d4(0x11e)](_0x4a85d4(0x189));_0x2038d5[_0x4a85d4(0x33c)]()!==_0x5c38f3&&this[_0x4a85d4(0x1e4)][_0x4a85d4(0x389)]('subunit',_0x2038d5[_0x4a85d4(0x33c)](),_0x18683e);}async[_0x364fc7(0x349)](_0x1a51fb){const _0x33aac8=_0x364fc7;var _0x21efbf;const _0xaefa36=this['_urlService']['getParam'](_0x33aac8(0x189));if(!_0xaefa36||!_0x1a51fb[_0x33aac8(0x28f)](_0xaefa36)){const _0x3fad82=_0x1a51fb['getUnhiddenWorksheets']()[0x0],_0xf30c2d=_0x1a51fb['getSheetBySheetId'](_0x3fad82);if(!_0xf30c2d)return;this['_updateURLWithCurrentState'](_0xf30c2d,!0x0),await this[_0x33aac8(0x197)][_0x33aac8(0x1d7)](_0x3148e7[_0x33aac8(0x118)]['id'],{'unitId':_0x1a51fb[_0x33aac8(0x191)](),'subUnitId':_0x3fad82});return;}((_0x21efbf=_0x1a51fb[_0x33aac8(0x2cc)]())==null?void 0x0:_0x21efbf['getSheetId']())!==_0xaefa36&&await this['_commandService']['executeCommand'](_0x3148e7['SetWorksheetActivateCommand']['id'],{'unitId':_0x1a51fb['getUnitId'](),'subUnitId':_0xaefa36});}},_0x4392a1['CollaborationDataLoaderController']=_0x14dd89([_0x2da900(0x0,_0x338227),_0x2da900(0x1,_0x20df47[_0x364fc7(0x342)]),_0x2da900(0x2,_0x20df47[_0x364fc7(0x353)]),_0x2da900(0x3,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x1ad)])),_0x2da900(0x4,_0x20df47[_0x364fc7(0x14b)](_0xdffc4[_0x364fc7(0x341)]))],_0x4392a1[_0x364fc7(0x1df)]);var _0x453139=Object[_0x364fc7(0x26c)],_0x3cdb57=(_0x1f2e8d,_0x1f9818,_0x814777,_0x14096e)=>{const _0x228d40=_0x364fc7;for(var _0x6c50b=_0x14096e>0x1?void 0x0:_0x14096e?_0x453139(_0x1f9818,_0x814777):_0x1f9818,_0x5d34c5=_0x1f2e8d[_0x228d40(0x18f)]-0x1,_0x1e5f4a;_0x5d34c5>=0x0;_0x5d34c5--)(_0x1e5f4a=_0x1f2e8d[_0x5d34c5])&&(_0x6c50b=_0x1e5f4a(_0x6c50b)||_0x6c50b);return _0x6c50b;},_0x5f35b7=(_0x40e4bb,_0x7076ed)=>(_0x151fc3,_0x20c88a)=>_0x7076ed(_0x151fc3,_0x20c88a,_0x40e4bb);let _0x204353=class{constructor(_0x4973fa,_0x4b6b5f,_0x528a97){const _0x422920=_0x364fc7;this[_0x422920(0x1b2)]=_0x4973fa,this[_0x422920(0x1bf)]=_0x4b6b5f,this[_0x422920(0x11a)]=_0x528a97;}['transformIMECache'](_0x37f1dd){const _0x2d3334=_0x364fc7;this[_0x2d3334(0x33d)](_0x37f1dd),this[_0x2d3334(0x2ec)](_0x37f1dd);}[_0x364fc7(0x148)](_0x31cd6b){const _0x57772b=_0x364fc7,{unitID:_0x4da28e}=_0x31cd6b,_0x224053=this[_0x57772b(0x11a)][_0x57772b(0x331)](_0x4da28e)['with'](_0x8e9d75[_0x57772b(0x1ba)]),{redoCache:_0xf2a9e7}=_0x224053['getUndoRedoMutationParamsCache']();if(_0xf2a9e7['length']===0x0)return _0x31cd6b;let _0x144141=_0x20df47[_0x57772b(0x19b)][_0x57772b(0x2d0)](_0x31cd6b[_0x57772b(0x258)][0x0]);for(let _0x2ebfa7=0x0;_0x2ebfa7<_0xf2a9e7[_0x57772b(0x18f)];_0x2ebfa7++){const _0x8a6b46={'id':_0x57772b(0x1b1),'params':{..._0xf2a9e7[_0x2ebfa7]}},_0x3e2e0c=this['_transformService'][_0x57772b(0x17a)](_0x144141,_0x8a6b46,!0x1);if(_0x3395bd[_0x57772b(0x271)](_0x3e2e0c))throw _0x3e2e0c[_0x57772b(0x1bb)];_0x144141=_0x3e2e0c['m1Prime'];}return{..._0x20df47['Tools'][_0x57772b(0x2d0)](_0x31cd6b),'mutations':[_0x144141]};}['_transformUndoRedoStack'](_0x51755b){const _0x2d879f=_0x364fc7,{unitID:_0x58b671}=_0x51755b,_0x20da8c=this[_0x2d879f(0x11a)][_0x2d879f(0x331)](_0x58b671)[_0x2d879f(0x212)](_0x8e9d75['DocIMEInputManagerService']),{undoCache:_0x194810,redoCache:_0x4bf192}=_0x20da8c[_0x2d879f(0x2c0)]();if(_0x194810[_0x2d879f(0x18f)]===0x0||_0x4bf192[_0x2d879f(0x18f)]===0x0)return;const _0x154a17=[],_0x359923=[];let _0x198912=_0x20df47[_0x2d879f(0x19b)][_0x2d879f(0x2d0)](_0x51755b[_0x2d879f(0x258)][0x0]),_0x25e8e5=_0x20df47[_0x2d879f(0x19b)][_0x2d879f(0x2d0)](_0x51755b[_0x2d879f(0x258)][0x0]);for(let _0x473a7d=_0x194810['length']-0x1;_0x473a7d>=0x0;_0x473a7d--){const _0x2c9da3={'id':_0x2d879f(0x1b1),'params':{..._0x194810[_0x473a7d]}},_0x5ac6b7={'id':_0x2d879f(0x1b1),'params':{..._0x4bf192[_0x473a7d]}},_0x3b5dd4=this['_transformService'][_0x2d879f(0x17a)](_0x198912,_0x2c9da3,!0x1),_0x120421=this['_transformService'][_0x2d879f(0x17a)](_0x25e8e5,_0x5ac6b7,!0x1);if(_0x3395bd['isTransformMutationFailure'](_0x3b5dd4))throw _0x3b5dd4[_0x2d879f(0x1bb)];if(_0x3395bd['isTransformMutationFailure'](_0x120421))throw _0x120421[_0x2d879f(0x1bb)];_0x154a17[_0x2d879f(0x22f)](_0x3b5dd4[_0x2d879f(0x138)]['params']),_0x359923[_0x2d879f(0x22f)](_0x120421[_0x2d879f(0x138)]['params']),_0x198912=_0x3b5dd4[_0x2d879f(0x1ef)],_0x25e8e5=_0x120421[_0x2d879f(0x1ef)];}_0x20da8c[_0x2d879f(0x259)]({'undoCache':_0x154a17,'redoCache':_0x359923});}[_0x364fc7(0x2ec)](_0x3f7f14){const _0x122249=_0x364fc7,{unitID:_0x3cbff2}=_0x3f7f14,_0x54f3cc=this['_renderManagerService'][_0x122249(0x331)](_0x3cbff2)[_0x122249(0x212)](_0x8e9d75[_0x122249(0x1ba)]),_0x452d87=_0x54f3cc['getActiveRange']();if(_0x452d87==null)return;const _0x422605=[{'id':_0x122249(0x1b1),'params':{'unitId':_0x3f7f14[_0x122249(0x25d)],'actions':null,'textRanges':[_0x452d87]}}],_0x7001fb=this['_transformService'][_0x122249(0x163)](_0x3f7f14,_0x422605);if(!_0x3395bd[_0x122249(0x165)](_0x7001fb))throw _0x7001fb[_0x122249(0x1bb)];const _0x1c3d56=_0x7001fb[_0x122249(0x138)][0x0]['params'][_0x122249(0x2c5)];Array['isArray'](_0x1c3d56)&&_0x1c3d56['length']&&_0x54f3cc[_0x122249(0x2cf)](_0x1c3d56[0x0]);}};_0x204353=_0x3cdb57([_0x5f35b7(0x0,_0x20df47[_0x364fc7(0x28b)](_0x20df47['Injector'])),_0x5f35b7(0x1,_0x3395bd[_0x364fc7(0x20b)]),_0x5f35b7(0x2,_0x4e3aee['IRenderManagerService'])],_0x204353);var _0xdacaca=Object['getOwnPropertyDescriptor'],_0x47fc47=(_0x1bc166,_0x427587,_0x2818bb,_0x4def41)=>{const _0x4196da=_0x364fc7;for(var _0x252ad6=_0x4def41>0x1?void 0x0:_0x4def41?_0xdacaca(_0x427587,_0x2818bb):_0x427587,_0x345333=_0x1bc166[_0x4196da(0x18f)]-0x1,_0x30d46f;_0x345333>=0x0;_0x345333--)(_0x30d46f=_0x1bc166[_0x345333])&&(_0x252ad6=_0x30d46f(_0x252ad6)||_0x252ad6);return _0x252ad6;},_0x2f2c93=(_0x1393db,_0x421b81)=>(_0x2db20a,_0x4ed362)=>_0x421b81(_0x2db20a,_0x4ed362,_0x1393db);let _0x43a28d=class{constructor(_0x4d20e9,_0x30358f,_0x22ace6){const _0x581eab=_0x364fc7;this[_0x581eab(0x1b2)]=_0x4d20e9,this[_0x581eab(0x1bf)]=_0x30358f,this[_0x581eab(0x17f)]=_0x22ace6;}[_0x364fc7(0x368)](_0x406b56){this['_transformHistoryAndStateStack'](_0x406b56);}[_0x364fc7(0x148)](_0x484f22){const _0x326082=_0x364fc7,{unitID:_0xdf3249}=_0x484f22,{collaboration:_0x5f4e2e}=this[_0x326082(0x17f)][_0x326082(0x1d4)](_0xdf3249);if(_0x5f4e2e[_0x326082(0x18f)]===0x0)return _0x484f22;let _0x34ed03=_0x20df47['Tools']['deepClone'](_0x484f22[_0x326082(0x258)][0x0]);for(let _0x130569=0x0;_0x130569<_0x5f4e2e[_0x326082(0x18f)];_0x130569++){const _0x4ec674={'id':_0x326082(0x1b1),'params':{'unitId':_0x5f4e2e[_0x130569][_0x326082(0x220)],..._0x5f4e2e[_0x130569][_0x326082(0x156)]}},_0x76f7b4=this['_transformService'][_0x326082(0x17a)](_0x34ed03,_0x4ec674,!0x1);if(_0x3395bd[_0x326082(0x271)](_0x76f7b4))throw _0x76f7b4[_0x326082(0x1bb)];_0x34ed03=_0x76f7b4['m1Prime'];}return{..._0x20df47[_0x326082(0x19b)]['deepClone'](_0x484f22),'mutations':[_0x34ed03]};}[_0x364fc7(0x141)](_0x3def15){const _0x2d270e=_0x364fc7,{unitID:_0x3c824d}=_0x3def15,{history:_0x528a04,collaboration:_0x8a9386}=this[_0x2d270e(0x17f)]['getStateCache'](_0x3c824d);if(_0x528a04[_0x2d270e(0x18f)]===0x0&&_0x8a9386[_0x2d270e(0x18f)]===0x0)return;const _0x2aa52f=[],_0x37be67=[];let _0x1c0cf0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]),_0x1a32f0=_0x20df47[_0x2d270e(0x19b)]['deepClone'](_0x3def15[_0x2d270e(0x258)][0x0]);for(let _0x493ca2=_0x528a04[_0x2d270e(0x18f)]-0x1;_0x493ca2>=0x0;_0x493ca2--){const _0x5672e2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x528a04[_0x493ca2][_0x2d270e(0x220)],..._0x528a04[_0x493ca2][_0x2d270e(0x28a)]}},_0x5448d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x528a04[_0x493ca2][_0x2d270e(0x220)],..._0x528a04[_0x493ca2][_0x2d270e(0x156)]}},_0x65a9b=this['_transformService'][_0x2d270e(0x17a)](_0x1c0cf0,_0x5672e2,!0x1),_0x255638=this['_transformService'][_0x2d270e(0x17a)](_0x1a32f0,_0x5448d5,!0x1);if(_0x3395bd['isTransformMutationFailure'](_0x65a9b))throw _0x65a9b[_0x2d270e(0x1bb)];if(_0x3395bd[_0x2d270e(0x271)](_0x255638))throw _0x255638['error'];_0x2aa52f['unshift']({..._0x528a04[_0x493ca2],'undoState':_0x65a9b['m2Prime']['params'],'redoState':_0x255638[_0x2d270e(0x138)]['params']}),_0x1c0cf0=_0x65a9b[_0x2d270e(0x1ef)],_0x1a32f0=_0x255638[_0x2d270e(0x1ef)];}_0x1c0cf0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]),_0x1a32f0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]);for(let _0x2a6063=_0x8a9386['length']-0x1;_0x2a6063>=0x0;_0x2a6063--){const _0x1c669c={'id':_0x2d270e(0x1b1),'params':{'unitId':_0x8a9386[_0x2a6063][_0x2d270e(0x220)],..._0x8a9386[_0x2a6063][_0x2d270e(0x28a)]}},_0x5c866c={'id':_0x2d270e(0x1b1),'params':{'unitId':_0x8a9386[_0x2a6063][_0x2d270e(0x220)],..._0x8a9386[_0x2a6063][_0x2d270e(0x156)]}},_0x164b15=this[_0x2d270e(0x1bf)][_0x2d270e(0x17a)](_0x1c0cf0,_0x1c669c,!0x1),_0x403df8=this[_0x2d270e(0x1bf)]['transformMutation'](_0x1a32f0,_0x5c866c,!0x1);if(_0x3395bd[_0x2d270e(0x271)](_0x164b15))throw _0x164b15[_0x2d270e(0x1bb)];if(_0x3395bd['isTransformMutationFailure'](_0x403df8))throw _0x403df8[_0x2d270e(0x1bb)];_0x37be67[_0x2d270e(0x22f)]({..._0x8a9386[_0x2a6063],'undoState':_0x164b15[_0x2d270e(0x138)]['params'],'redoState':_0x403df8[_0x2d270e(0x138)][_0x2d270e(0x1f3)]}),_0x1c0cf0=_0x164b15['m1Prime'],_0x1a32f0=_0x403df8[_0x2d270e(0x1ef)];}this[_0x2d270e(0x17f)][_0x2d270e(0x11f)](_0x3c824d,{'history':_0x2aa52f,'collaboration':_0x37be67});}};_0x43a28d=_0x47fc47([_0x2f2c93(0x0,_0x20df47['Inject'](_0x20df47['Injector'])),_0x2f2c93(0x1,_0x3395bd[_0x364fc7(0x20b)]),_0x2f2c93(0x2,_0x20df47[_0x364fc7(0x28b)](_0x8e9d75[_0x364fc7(0x1f8)]))],_0x43a28d);var _0x183bfb=Object['getOwnPropertyDescriptor'],_0x5265ae=(_0xe84153,_0x491494,_0x22fa7c,_0x311152)=>{const _0x42b20b=_0x364fc7;for(var _0x3a1a56=_0x311152>0x1?void 0x0:_0x311152?_0x183bfb(_0x491494,_0x22fa7c):_0x491494,_0x1a956b=_0xe84153[_0x42b20b(0x18f)]-0x1,_0x99b572;_0x1a956b>=0x0;_0x1a956b--)(_0x99b572=_0xe84153[_0x1a956b])&&(_0x3a1a56=_0x99b572(_0x3a1a56)||_0x3a1a56);return _0x3a1a56;},_0x369f80=(_0x185ace,_0x506fc3)=>(_0xd3f7a0,_0x1e0610)=>_0x506fc3(_0xd3f7a0,_0x1e0610,_0x185ace);let _0x3b2291=class{constructor(_0x2a4373,_0x19d0b1){const _0x3aacef=_0x364fc7;this[_0x3aacef(0x1b2)]=_0x2a4373,this[_0x3aacef(0x1bf)]=_0x19d0b1;}[_0x364fc7(0x381)](_0x552824){const _0x41defc=_0x364fc7;var _0x40b724;const _0x47719b=this[_0x41defc(0x1b2)][_0x41defc(0x19c)](_0xb95e52['DocSelectionManagerService']),_0x6a4707=(_0x40b724=_0x47719b[_0x41defc(0x314)]())!=null?_0x40b724:[];if(_0x6a4707[_0x41defc(0x18f)]===0x0)return;const _0x2db919=_0x552824[_0x41defc(0x25d)],_0x17ac5a=[{'id':_0x41defc(0x1b1),'params':{'unitId':_0x2db919,'actions':null,'textRanges':_0x6a4707}}],_0x5051de=this[_0x41defc(0x1bf)][_0x41defc(0x163)](_0x552824,_0x17ac5a);if(!_0x3395bd[_0x41defc(0x165)](_0x5051de))throw _0x5051de['error'];const _0x3e568f=_0x5051de['m2Prime'][0x0][_0x41defc(0x1f3)][_0x41defc(0x2c5)];Array[_0x41defc(0x237)](_0x3e568f)&&_0x3e568f['length']&&_0x47719b['replaceDocRanges'](_0x3e568f,{'unitId':_0x2db919,'subUnitId':_0x2db919},!0x1);}};_0x3b2291=_0x5265ae([_0x369f80(0x0,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x369f80(0x1,_0x3395bd[_0x364fc7(0x20b)])],_0x3b2291);var _0x4b8da2=Object[_0x364fc7(0x26c)],_0x1943b3=(_0x2a6e44,_0x2c6502,_0x59a9ac,_0x385584)=>{const _0x4c9f8e=_0x364fc7;for(var _0x367fa2=_0x385584>0x1?void 0x0:_0x385584?_0x4b8da2(_0x2c6502,_0x59a9ac):_0x2c6502,_0x4c4661=_0x2a6e44[_0x4c9f8e(0x18f)]-0x1,_0xaa8033;_0x4c4661>=0x0;_0x4c4661--)(_0xaa8033=_0x2a6e44[_0x4c4661])&&(_0x367fa2=_0xaa8033(_0x367fa2)||_0x367fa2);return _0x367fa2;},_0x4b1259=(_0x28146d,_0xfe76d7)=>(_0x5b7a57,_0xe0b119)=>_0xfe76d7(_0x5b7a57,_0xe0b119,_0x28146d);let _0x9e50af=class extends _0x20df47['Disposable']{constructor(_0x25bc30,_0x1fa662,_0x16e871,_0x289c22,_0x48f303,_0x6cb76,_0x45518e,_0x11f711){const _0x3d75a6=_0x364fc7;super(),_0x4a92d0(this,_0x3d75a6(0x190),new _0x3396eb[(_0x3d75a6(0x374))](_0x3d42b8[_0x3d75a6(0x2de)][_0x3d75a6(0x154)])),(this['_docStateChangeManagerService']=_0x25bc30,this['_collaborationController']=_0x1fa662,this[_0x3d75a6(0x2a1)]=_0x16e871,this[_0x3d75a6(0x373)]=_0x289c22,this[_0x3d75a6(0x1ff)]=_0x48f303,this['_docSyncEditingCollabCursorService']=_0x6cb76,this[_0x3d75a6(0x244)]=_0x45518e,this['_localeService']=_0x11f711,this['_initEntityListener']());}['_initEntityListener'](){const _0x2d570d=_0x364fc7;this['disposeWithMe'](this[_0x2d570d(0x231)]['entityInit$'][_0x2d570d(0x276)](_0x54814a=>{const _0x3cf257=_0x2d570d,_0x18af93=this[_0x3cf257(0x17f)][_0x3cf257(0x143)][_0x3cf257(0x276)](_0x5ef897=>{const _0x49fe22=_0x3cf257;if(_0x5ef897==null)return;const {unitId:_0x7aa67c,redoState:_0x1bfd1c,commandId:_0x3cf37a}=_0x5ef897;if(_0x7aa67c!==_0x54814a['unitID'])return;const _0x24cca7={'id':_0x3cf37a,'type':_0x20df47['CommandType'][_0x49fe22(0x152)],'params':{'unitId':_0x7aa67c,'actions':_0x1bfd1c[_0x49fe22(0x2f8)],'textRanges':null}};_0x54814a[_0x49fe22(0x36f)](_0x24cca7);});if(_0x54814a[_0x3cf257(0x363)](_0x18af93),_0x54814a instanceof _0x3d42b8[_0x3cf257(0x2e3)]){const _0x24ad03={'onTransformIME':_0x34f1c8=>this[_0x3cf257(0x2a1)][_0x3cf257(0x2f6)](_0x34f1c8),'onTransformState':_0x386f4b=>this[_0x3cf257(0x373)][_0x3cf257(0x368)](_0x386f4b),'onTransformSelections':_0x17d15c=>this[_0x3cf257(0x1ff)]['transformSelections'](_0x17d15c),'onSyncEditingCollabCursor':_0x14ad74=>this[_0x3cf257(0x15d)][_0x3cf257(0x168)](_0x14ad74),'onTransformRemoteChangesetByIMECache':_0x4e093e=>this['_docTransformIMECacheService'][_0x3cf257(0x148)](_0x4e093e),'onTransformRemoteChangesetByStateCache':_0x2e2904=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x2e2904)};_0x54814a['addHandlerCallback'](_0x24ad03);}}));}};_0x9e50af=_0x1943b3([_0x4b1259(0x0,_0x20df47['Inject'](_0x8e9d75[_0x364fc7(0x1f8)])),_0x4b1259(0x1,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x2b4)])),_0x4b1259(0x2,_0x20df47[_0x364fc7(0x28b)](_0x204353)),_0x4b1259(0x3,_0x20df47[_0x364fc7(0x28b)](_0x43a28d)),_0x4b1259(0x4,_0x20df47[_0x364fc7(0x28b)](_0x3b2291)),_0x4b1259(0x5,_0x20df47[_0x364fc7(0x28b)](_0x28b84a)),_0x4b1259(0x6,_0x1229e7['IMessageService']),_0x4b1259(0x7,_0x20df47['Inject'](_0x20df47['LocaleService']))],_0x9e50af);var _0x4e78fb=Object[_0x364fc7(0x26c)],_0x554686=(_0x5efd9f,_0x41fe0f,_0x22324d,_0x2f9076)=>{for(var _0x414311=_0x2f9076>0x1?void 0x0:_0x2f9076?_0x4e78fb(_0x41fe0f,_0x22324d):_0x41fe0f,_0x3ce131=_0x5efd9f['length']-0x1,_0x4e9c8b;_0x3ce131>=0x0;_0x3ce131--)(_0x4e9c8b=_0x5efd9f[_0x3ce131])&&(_0x414311=_0x4e9c8b(_0x414311)||_0x414311);return _0x414311;},_0x551cee=(_0x3a13e9,_0x111cfd)=>(_0x1dd118,_0x36bea8)=>_0x111cfd(_0x1dd118,_0x36bea8,_0x3a13e9);let _0x1da0c8=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x19a27e,_0x518f3b,_0x56200b){const _0x35d992=_0x364fc7;super(),_0x4a92d0(this,_0x35d992(0x10e),new Map()),_0x4a92d0(this,'_saveTaskMap',new Map()),_0x4a92d0(this,_0x35d992(0x325),!0x1),(this[_0x35d992(0x1b8)]=_0x19a27e,this[_0x35d992(0x23e)]=_0x518f3b,this['_revisionService']=_0x56200b);}[_0x364fc7(0x29b)](){const _0x55bbcd=_0x364fc7;this[_0x55bbcd(0x325)]=!0x0;}['enableLocalCache'](){const _0xc17a9=_0x364fc7;this[_0xc17a9(0x325)]=!0x1;}get[_0x364fc7(0x2c1)](){return this['_saveTaskMap'];}['dispose'](){const _0x1f0c90=_0x364fc7;this[_0x1f0c90(0x2fd)]()[_0x1f0c90(0x274)](()=>super[_0x1f0c90(0x13f)]());}async[_0x364fc7(0x11d)](_0x25989a){const _0x1b551d=_0x364fc7;return this[_0x1b551d(0x325)]?null:this['_localStorageService']['getItem'](_0x3d42b8['getLocalCacheKey'](_0x25989a));}async['saveOfflineData'](_0x3618b5,_0x58268a){const _0x54f6b9=_0x364fc7;return!!this[_0x54f6b9(0x23e)][_0x54f6b9(0x25b)](_0x3618b5,_0x58268a);}[_0x364fc7(0x1ac)](_0x5d0d64,_0x5b158f,_0x5a9bb2,_0x12f8dc){const _0x121275=_0x364fc7,_0x4e5d18=this[_0x121275(0x185)][_0x121275(0x34d)](_0x5d0d64);this[_0x121275(0x10e)][_0x121275(0x394)](_0x5d0d64,{'unitID':_0x5d0d64,'type':_0x5b158f,'awaitingChangeset':_0x5a9bb2,'mutations':_0x12f8dc,'rev':_0x4e5d18}),this['_saveTaskMap'][_0x121275(0x1f1)](_0x5d0d64)||this[_0x121275(0x1eb)](_0x5d0d64);}[_0x364fc7(0x1eb)](_0x2ee005){const _0x37b942=_0x364fc7,_0x990d1c=this[_0x37b942(0x310)]();_0x990d1c===0x0?this[_0x37b942(0x249)](_0x2ee005):this['_saveTaskMap'][_0x37b942(0x394)](_0x2ee005,setTimeout(()=>this['_saveCache'](_0x2ee005),_0x990d1c));}[_0x364fc7(0x310)](){const _0x484724=_0x364fc7;var _0x39e182;return(_0x39e182=this[_0x484724(0x1b8)][_0x484724(0x162)](_0x3d42b8[_0x484724(0x1e8)]))!=null?_0x39e182:_0x3d42b8[_0x484724(0x315)];}[_0x364fc7(0x249)](_0xbdb693){const _0x3e990b=_0x364fc7,_0x26feae=this[_0x3e990b(0x2d4)][_0x3e990b(0x19c)](_0xbdb693);return _0x26feae!==void 0x0&&window[_0x3e990b(0x395)](_0x26feae),this[_0x3e990b(0x23e)][_0x3e990b(0x25b)](_0x3d42b8[_0x3e990b(0x33e)](_0xbdb693),this[_0x3e990b(0x10e)][_0x3e990b(0x19c)](_0xbdb693))[_0x3e990b(0x274)](()=>this[_0x3e990b(0x2d4)][_0x3e990b(0x1c3)](_0xbdb693));}async[_0x364fc7(0x2fd)](){const _0x2b5e8f=_0x364fc7,_0x57a096=[];this['_saveTaskMap'][_0x2b5e8f(0x24a)]((_0x2b4a38,_0x53e2e9)=>{const _0x178015=_0x2b5e8f;window['clearTimeout'](_0x2b4a38),_0x57a096[_0x178015(0x1a5)](this['_saveCache'](_0x53e2e9)[_0x178015(0x274)](()=>{const _0x59edea=_0x178015;this[_0x59edea(0x2d4)][_0x59edea(0x1c3)](_0x53e2e9);}));}),await Promise[_0x2b5e8f(0x248)](_0x57a096);}};_0x1da0c8=_0x554686([_0x551cee(0x0,_0x20df47['IConfigService']),_0x551cee(0x1,_0x20df47[_0x364fc7(0x2b9)]),_0x551cee(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3395bd[_0x364fc7(0x19d)]))],_0x1da0c8);class _0x3b85f7 extends _0x20df47[_0x364fc7(0x36e)]{constructor(){const _0x2fb60e=_0x364fc7;super(),_0x4a92d0(this,'urlChange$'),this[_0x2fb60e(0x1dc)]=_0x3396eb['fromEvent'](window,_0x2fb60e(0x224))[_0x2fb60e(0x13a)](_0x3396eb[_0x2fb60e(0x2ad)](this['dispose$']),_0x3396eb[_0x2fb60e(0x14c)](0x1),_0x3396eb[_0x2fb60e(0x155)](void 0x0));}[_0x364fc7(0x389)](_0x3ee893,_0x3e187c,_0x411436=!0x1){const _0x5b3e02=_0x364fc7,_0xee2c29=new URL(window[_0x5b3e02(0x26f)][_0x5b3e02(0x218)]);_0xee2c29[_0x5b3e02(0x158)]['set'](_0x3ee893,_0x3e187c),_0x411436?window[_0x5b3e02(0x337)][_0x5b3e02(0x328)]('','',_0xee2c29[_0x5b3e02(0x217)]()):window['history'][_0x5b3e02(0x200)]('','',_0xee2c29['toString']());}[_0x364fc7(0x228)](_0x3091b8,_0x9eed34=!0x1){const _0x1d4d71=_0x364fc7,_0x289869=new URL(window[_0x1d4d71(0x26f)][_0x1d4d71(0x218)]);_0x289869[_0x1d4d71(0x158)][_0x1d4d71(0x1c3)](_0x3091b8),_0x9eed34?window[_0x1d4d71(0x337)][_0x1d4d71(0x328)]('','',_0x289869[_0x1d4d71(0x217)]()):window[_0x1d4d71(0x337)][_0x1d4d71(0x200)]('','',_0x289869[_0x1d4d71(0x217)]());}[_0x364fc7(0x11e)](_0x211d39){const _0x34608d=_0x364fc7;var _0xe5a10f;return(_0xe5a10f=new URL(window[_0x34608d(0x26f)][_0x34608d(0x218)])[_0x34608d(0x158)]['get'](_0x211d39))!=null?_0xe5a10f:void 0x0;}}var _0x423c81=Object['defineProperty'],_0x289026=Object[_0x364fc7(0x26c)],_0x20c90f=(_0xc5e68d,_0x12a692,_0x53d62b)=>_0x12a692 in _0xc5e68d?_0x423c81(_0xc5e68d,_0x12a692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53d62b}):_0xc5e68d[_0x12a692]=_0x53d62b,_0x38fc9f=(_0x3c2082,_0x587b39,_0x67a8a1,_0x4d0eee)=>{for(var _0x62e578=_0x4d0eee>0x1?void 0x0:_0x4d0eee?_0x289026(_0x587b39,_0x67a8a1):_0x587b39,_0x5b8a26=_0x3c2082['length']-0x1,_0x225b2b;_0x5b8a26>=0x0;_0x5b8a26--)(_0x225b2b=_0x3c2082[_0x5b8a26])&&(_0x62e578=_0x225b2b(_0x62e578)||_0x62e578);return _0x62e578;},_0x2ef859=(_0x265200,_0x34c538)=>(_0x5cabd9,_0x1f52eb)=>_0x34c538(_0x5cabd9,_0x1f52eb,_0x265200),_0x29932d=(_0x40d3f2,_0x45ca5f,_0x110ba3)=>_0x20c90f(_0x40d3f2,_0x45ca5f+'',_0x110ba3);const _0x2ca5bd='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4392a1[_0x364fc7(0x226)]=class extends _0x20df47['Plugin']{constructor(_0x3dc22d=_0x41294f,_0x155510,_0x2d13f6,_0x2077bf){const _0x51de3a=_0x364fc7;super(),this[_0x51de3a(0x38b)]=_0x3dc22d,this[_0x51de3a(0x11a)]=_0x155510,this[_0x51de3a(0x1b2)]=_0x2d13f6,this['_configService']=_0x2077bf;const {..._0x145971}=_0x20df47[_0x51de3a(0x146)]({},_0x41294f,this['_config']);this['_configService'][_0x51de3a(0x172)](_0x589226,_0x145971);}[_0x364fc7(0x11c)](){const _0x3374c3=_0x364fc7;this[_0x3374c3(0x1cc)](),this[_0x3374c3(0x1e9)]();}['onRendered'](){const _0x12708b=_0x364fc7;this[_0x12708b(0x35a)]();}[_0x364fc7(0x1cc)](){const _0x43456c=_0x364fc7;var _0xb6be96;const _0x5e435a=[[_0x5cb8a1],[_0x3b2291],[_0x204353],[_0x43a28d],[_0x28b84a],[_0x338227,{'useClass':_0x3b85f7}],[_0x230e9b[_0x43456c(0x321)],{'useClass':_0x230e9b[_0x43456c(0x1f7)]}],[_0x3d42b8['ILocalCacheService'],{'useClass':_0x1da0c8}],[_0x4392a1[_0x43456c(0x116)]],[_0x9e50af],[_0x4a1f7a],[_0x100640],[_0x5ecd54],[_0x4392a1[_0x43456c(0x1df)]]];_0x20df47[_0x43456c(0x157)](this[_0x43456c(0x1b2)],_0x20df47[_0x43456c(0x204)](_0x5e435a,(_0xb6be96=this[_0x43456c(0x38b)])==null?void 0x0:_0xb6be96[_0x43456c(0x2f7)]));}['_registerRenderDependencies'](){const _0x247155=_0x364fc7;this[_0x247155(0x363)](this[_0x247155(0x11a)][_0x247155(0x193)](_0x20df47[_0x247155(0x386)][_0x247155(0x2d6)],[_0x540093])),this[_0x247155(0x363)](this['_renderManagerService'][_0x247155(0x193)](_0x20df47[_0x247155(0x386)][_0x247155(0x32e)],[_0x1fd5d1]));}['_initDependencies'](){const _0x303610=_0x364fc7;_0x20df47[_0x303610(0x10d)](this[_0x303610(0x1b2)],[[_0x100640],[_0x4392a1[_0x303610(0x116)]],[_0x9e50af],[_0x4a1f7a],[_0x4392a1[_0x303610(0x1df)]]]);}},_0x29932d(_0x4392a1['UniverCollaborationClientUIPlugin'],_0x364fc7(0x1ca),_0x2ca5bd),_0x4392a1[_0x364fc7(0x226)]=_0x38fc9f([_0x20df47['DependentOn'](_0x3d42b8[_0x364fc7(0x1e2)]),_0x2ef859(0x1,_0x4e3aee[_0x364fc7(0x23d)]),_0x2ef859(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x2ef859(0x3,_0x20df47[_0x364fc7(0x298)])],_0x4392a1[_0x364fc7(0x226)]);var _0x1a9329=Object[_0x364fc7(0x26c)],_0x46a000=(_0x22c36e,_0x231e55,_0x1b1f98,_0x155954)=>{const _0x2e2af9=_0x364fc7;for(var _0x4e367a=_0x155954>0x1?void 0x0:_0x155954?_0x1a9329(_0x231e55,_0x1b1f98):_0x231e55,_0x2182c0=_0x22c36e[_0x2e2af9(0x18f)]-0x1,_0x51aa20;_0x2182c0>=0x0;_0x2182c0--)(_0x51aa20=_0x22c36e[_0x2182c0])&&(_0x4e367a=_0x51aa20(_0x4e367a)||_0x4e367a);return _0x4e367a;},_0x39d579=(_0x31d16a,_0x1e6aba)=>(_0x452438,_0x40e554)=>_0x1e6aba(_0x452438,_0x40e554,_0x31d16a);_0x4392a1[_0x364fc7(0x2df)]=class extends _0x3d42b8[_0x364fc7(0x38c)]{constructor(_0x3b2b22,_0x3c6acb,_0x5b437c,_0x56dc93,_0x1709ce){super(_0x3b2b22,_0x3c6acb,_0x5b437c,_0x56dc93,_0x1709ce);}async[_0x364fc7(0x30b)](_0x5ccaba){const _0x43714d=_0x364fc7,_0x2663e=await this[_0x43714d(0x366)](),_0x35340f=this['_createSocketURL'](_0x5ccaba,_0x2663e);return this[_0x43714d(0x375)](_0x35340f);}[_0x364fc7(0x369)](_0x2773e3,_0x1724e9){const _0x364cf9=_0x364fc7,_0x2b65ae=typeof window>'u'?new URL(_0x2773e3):new URL(_0x2773e3,window[_0x364cf9(0x26f)][_0x364cf9(0x2a8)]);_0x2b65ae[_0x364cf9(0x158)][_0x364cf9(0x394)]('sessionTicket',_0x1724e9);const _0x26ba53=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x364cf9(0x26f)][_0x364cf9(0x385)]);return _0x26ba53[_0x364cf9(0x19c)]('runId')&&_0x2b65ae[_0x364cf9(0x158)][_0x364cf9(0x394)]('runId',_0x26ba53[_0x364cf9(0x19c)](_0x364cf9(0x22c))),_0x2b65ae[_0x364cf9(0x217)]();}async['_getSessionTicket'](){const _0x507f3f=_0x364fc7;var _0x58ce06,_0x1b55f0,_0xfc9d52;const _0x51e774=this[_0x507f3f(0x1b8)][_0x507f3f(0x162)](_0x3d42b8[_0x507f3f(0x21c)]),_0x22ff1d=(_0x58ce06=_0x51e774==null?void 0x0:_0x51e774[_0x507f3f(0x350)])!=null?_0x58ce06:_0x3d42b8['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xfc9d52=(_0x1b55f0=(await this[_0x507f3f(0x2ac)]['get'](_0x22ff1d,{'headers':{'Content-Type':'application/json'}}))[_0x507f3f(0x396)])==null?void 0x0:_0x1b55f0[_0x507f3f(0x213)])!=null?_0xfc9d52:'';}},_0x4392a1['BrowserCollaborationSocketService']=_0x46a000([_0x39d579(0x0,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x39d579(0x1,_0x20df47[_0x364fc7(0x28b)](_0x230e9b[_0x364fc7(0x2ba)])),_0x39d579(0x2,_0x20df47[_0x364fc7(0x298)]),_0x39d579(0x3,_0x20df47[_0x364fc7(0x342)]),_0x39d579(0x4,_0x3395bd['ISnapshotServerService'])],_0x4392a1[_0x364fc7(0x2df)]);const _0x4161d9=0x7530,_0x3c1896=_0x364fc7(0x23c);class _0x458c06 extends _0x20df47['Disposable']{constructor(){const _0x2612c5=_0x364fc7;super(),_0x4a92d0(this,_0x2612c5(0x21e),_0x20df47[_0x2612c5(0x30c)]()),_0x4a92d0(this,'_selfUnitIDs',new Set()),_0x4a92d0(this,_0x2612c5(0x330),new Map()),_0x4a92d0(this,_0x2612c5(0x2b0),null),_0x4a92d0(this,'_clearOtherTimers',new Map()),_0x4a92d0(this,_0x2612c5(0x34f),new Map()),this[_0x2612c5(0x184)]();}[_0x364fc7(0x13f)](){const _0x3f6fdc=_0x364fc7;super[_0x3f6fdc(0x13f)](),this['_clearOtherTimers'][_0x3f6fdc(0x24a)]((_0x112e09,_0x2c76d6)=>this[_0x3f6fdc(0x214)](_0x2c76d6)),this['_heartbeatTimer']&&window[_0x3f6fdc(0x376)](this[_0x3f6fdc(0x2b0)]);}[_0x364fc7(0x24f)](_0x26f739){const _0x430719=_0x364fc7;return this[_0x430719(0x134)](_0x26f739)[_0x430719(0x13a)](_0x3396eb[_0x430719(0x241)]());}[_0x364fc7(0x1b4)](_0x348ac8){const _0x10b914=_0x364fc7;this['_selfUnitIDs'][_0x10b914(0x2e2)]===0x0&&this[_0x10b914(0x178)](),this['_selfUnitIDs']['add'](_0x348ac8),this['_send']({'type':0x0,'memberID':this[_0x10b914(0x21e)],'unitIDs':[_0x348ac8],'isForwarded':!0x1});}[_0x364fc7(0x20d)](_0xc9b800){const _0x221467=_0x364fc7;this[_0x221467(0x14e)]['delete'](_0xc9b800),this[_0x221467(0x14e)][_0x221467(0x2e2)]===0x0&&this['_heartbeatTimer']&&window[_0x221467(0x376)](this['_heartbeatTimer']);}['_init'](){const _0x23bc48=_0x364fc7;this[_0x23bc48(0x363)](_0x20df47[_0x23bc48(0x222)](_0x3396eb[_0x23bc48(0x284)](window,_0x23bc48(0x294))[_0x23bc48(0x276)](_0x3472b7=>{const _0x56290d=_0x23bc48;if(_0x3472b7['key']!==_0x3c1896||!_0x3472b7[_0x56290d(0x12b)])return;const _0x1022f6=JSON[_0x56290d(0x2aa)](_0x3472b7['newValue']);this[_0x56290d(0x12f)](_0x1022f6);}))),window[_0x23bc48(0x2d2)]('unload',()=>this[_0x23bc48(0x176)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x23bc48(0x14e)])}));}[_0x364fc7(0x12f)](_0xc57764){const _0x49f0c3=_0x364fc7;switch(_0xc57764[_0x49f0c3(0x27b)]){case 0x0:this[_0x49f0c3(0x15e)](_0xc57764);break;case 0x1:this[_0x49f0c3(0x177)](_0xc57764);break;case 0x2:this[_0x49f0c3(0x1c8)](_0xc57764);break;}}[_0x364fc7(0x15e)](_0x495e8f){const _0x2848f5=_0x364fc7,{unitIDs:_0x590955,memberID:_0xaecfe2,isForwarded:_0x2f0abf}=_0x495e8f;_0x590955[_0x2848f5(0x24a)](_0xa4da4b=>{const _0x220b08=_0x2848f5;if(!_0x2f0abf&&this[_0x220b08(0x330)]['has'](_0xa4da4b)&&this[_0x220b08(0x134)](_0xa4da4b)[_0x220b08(0x333)](_0x3d42b8[_0x220b08(0x335)]['OTHER_CLIENTS_EDITING']),!this[_0x220b08(0x330)][_0x220b08(0x1f1)](_0xa4da4b)||!this[_0x220b08(0x330)]['get'](_0xa4da4b)['has'](_0xaecfe2)){const _0x22a358=this[_0x220b08(0x330)]['get'](_0xa4da4b)||new Set();_0x22a358[_0x220b08(0x370)](_0xaecfe2),this[_0x220b08(0x330)]['set'](_0xa4da4b,_0x22a358),this[_0x220b08(0x1b9)](_0xaecfe2);}}),_0x2f0abf||this[_0x2848f5(0x176)]({'type':0x0,'memberID':this[_0x2848f5(0x21e)],'unitIDs':[...this[_0x2848f5(0x14e)]],'isForwarded':!0x0});}[_0x364fc7(0x1b9)](_0x36732d){const _0x260238=_0x364fc7;this[_0x260238(0x214)](_0x36732d);const _0x2ab13e=window[_0x260238(0x1b5)](()=>{const _0x254bce=_0x260238;this[_0x254bce(0x330)][_0x254bce(0x24a)](_0x428132=>{const _0x3c1728=_0x254bce;_0x428132[_0x3c1728(0x1c3)](_0x36732d);});},_0x4161d9*0x2);this[_0x260238(0x38a)][_0x260238(0x394)](_0x36732d,_0x2ab13e);}[_0x364fc7(0x214)](_0x3ae385){const _0x1690da=_0x364fc7;if(this[_0x1690da(0x38a)]['has'](_0x3ae385)){const _0x3ea6df=this[_0x1690da(0x38a)][_0x1690da(0x19c)](_0x3ae385);_0x3ea6df&&window['clearTimeout'](_0x3ea6df),this[_0x1690da(0x38a)][_0x1690da(0x394)](_0x3ae385,null);}}[_0x364fc7(0x177)](_0x2accf7){const _0x160d5f=_0x364fc7,{memberID:_0x2cb0f8,unitIDs:_0x24c812}=_0x2accf7;_0x24c812['forEach'](_0x368ac6=>{const _0x461359=_0x25e4;var _0x45e26d;const _0xefef7d=this['_unitOnClients']['get'](_0x368ac6);_0xefef7d&&(_0xefef7d[_0x461359(0x1c3)](_0x2cb0f8),(_0x45e26d=this[_0x461359(0x134)](_0x368ac6))==null||_0x45e26d[_0x461359(0x333)](_0xefef7d[_0x461359(0x2e2)]===0x0?_0x3d42b8['UnitStatus'][_0x461359(0x25a)]:_0x3d42b8[_0x461359(0x335)]['OTHER_CLIENTS_EDITING']));}),this[_0x160d5f(0x214)](_0x2cb0f8);}['_handleHeartbeatEvent'](_0x27767f){const _0x26fcb3=_0x364fc7;this['_scheduleClearOtherTimer'](_0x27767f[_0x26fcb3(0x1d1)]);}[_0x364fc7(0x176)](_0x30e92f){const _0x4135f3=_0x364fc7;localStorage[_0x4135f3(0x25b)](_0x3c1896,JSON[_0x4135f3(0x1de)](_0x30e92f));}[_0x364fc7(0x178)](){const _0x2f8a1b=_0x364fc7;this[_0x2f8a1b(0x2b0)]=window[_0x2f8a1b(0x364)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x4161d9);}['_ensureSubject'](_0x19f238){const _0x576cc8=_0x364fc7;return this[_0x576cc8(0x34f)][_0x576cc8(0x1f1)](_0x19f238)||this['_unitStatus'][_0x576cc8(0x394)](_0x19f238,new _0x3396eb['BehaviorSubject'](_0x3d42b8[_0x576cc8(0x335)][_0x576cc8(0x25a)])),this['_unitStatus'][_0x576cc8(0x19c)](_0x19f238);}}var _0x397bcc=(_0x11a3e8=>(_0x11a3e8[_0x11a3e8[_0x364fc7(0x2f4)]=0x0]=_0x364fc7(0x2f4),_0x11a3e8[_0x11a3e8['OK']=0x1]='OK',_0x11a3e8[_0x11a3e8[_0x364fc7(0x223)]=0x2]=_0x364fc7(0x223),_0x11a3e8[_0x11a3e8[_0x364fc7(0x301)]=0x3]=_0x364fc7(0x301),_0x11a3e8[_0x11a3e8[_0x364fc7(0x242)]=0x4]=_0x364fc7(0x242),_0x11a3e8[_0x11a3e8['UNAUTHENTICATED']=0x5]=_0x364fc7(0x206),_0x11a3e8[_0x11a3e8['ALREADY_EXISTS']=0x6]=_0x364fc7(0x236),_0x11a3e8[_0x11a3e8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x11a3e8[_0x11a3e8['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x11a3e8[_0x11a3e8[_0x364fc7(0x1fa)]=0x9]='COMPLETION_FINISHED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x290)]=0xa]=_0x364fc7(0x290),_0x11a3e8[_0x11a3e8[_0x364fc7(0x15c)]=0x1389]=_0x364fc7(0x15c),_0x11a3e8[_0x11a3e8[_0x364fc7(0x142)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x10b)]=0x1772]=_0x364fc7(0x10b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x18b)]=0x1773]=_0x364fc7(0x18b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x135)]=0x1b59]='APPLY_REJECT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x288)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x11a3e8[_0x11a3e8[_0x364fc7(0x22a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x198)]=0x1b5c]=_0x364fc7(0x198),_0x11a3e8[_0x11a3e8[_0x364fc7(0x393)]=0x1b5d]=_0x364fc7(0x393),_0x11a3e8[_0x11a3e8[_0x364fc7(0x29a)]=0x1f41]=_0x364fc7(0x29a),_0x11a3e8[_0x11a3e8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x364fc7(0x2f9),_0x11a3e8[_0x11a3e8[_0x364fc7(0x1b0)]=0x232a]=_0x364fc7(0x1b0),_0x11a3e8[_0x11a3e8[_0x364fc7(0x12d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x132)]=0x232c]=_0x364fc7(0x132),_0x11a3e8[_0x11a3e8[_0x364fc7(0x367)]=0x232d]=_0x364fc7(0x367),_0x11a3e8[_0x11a3e8[_0x364fc7(0x246)]=0x2711]=_0x364fc7(0x246),_0x11a3e8[_0x11a3e8[_0x364fc7(0x2d3)]=0x2712]=_0x364fc7(0x2d3),_0x11a3e8[_0x11a3e8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x364fc7(0x278),_0x11a3e8[_0x11a3e8[_0x364fc7(0x2f5)]=0x2714]=_0x364fc7(0x2f5),_0x11a3e8[_0x11a3e8[_0x364fc7(0x29c)]=0x271a]=_0x364fc7(0x29c),_0x11a3e8[_0x11a3e8[_0x364fc7(0x20a)]=0x271b]=_0x364fc7(0x20a),_0x11a3e8[_0x11a3e8['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x364fc7(0x264),_0x11a3e8[_0x11a3e8[_0x364fc7(0x323)]=0x271d]=_0x364fc7(0x323),_0x11a3e8[_0x11a3e8[_0x364fc7(0x355)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x2bc)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x1be)]=0x2af9]=_0x364fc7(0x1be),_0x11a3e8[_0x11a3e8['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x364fc7(0x1a9),_0x11a3e8[_0x11a3e8[_0x364fc7(0x392)]=0x2ee2]='INVALID_INVITE_CODE',_0x11a3e8[_0x11a3e8[_0x364fc7(0x397)]=0x2ee3]=_0x364fc7(0x397),_0x11a3e8[_0x11a3e8[_0x364fc7(0x31a)]=0x2ee4]=_0x364fc7(0x31a),_0x11a3e8[_0x11a3e8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x364fc7(0x23b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x1a2)]=0x32c9]=_0x364fc7(0x1a2),_0x11a3e8[_0x11a3e8[_0x364fc7(0x250)]=0x32ca]=_0x364fc7(0x250),_0x11a3e8[_0x11a3e8[_0x364fc7(0x292)]=0x32cb]=_0x364fc7(0x292),_0x11a3e8[_0x11a3e8[_0x364fc7(0x32f)]=-0x1]='UNRECOGNIZED',_0x11a3e8))(_0x397bcc||{}),_0x28efe7=Object[_0x364fc7(0x26c)],_0x4ea583=(_0x221456,_0x5c955b,_0x4b0504,_0x124e77)=>{const _0x11d96f=_0x364fc7;for(var _0x29155d=_0x124e77>0x1?void 0x0:_0x124e77?_0x28efe7(_0x5c955b,_0x4b0504):_0x5c955b,_0x51aaac=_0x221456[_0x11d96f(0x18f)]-0x1,_0x20430e;_0x51aaac>=0x0;_0x51aaac--)(_0x20430e=_0x221456[_0x51aaac])&&(_0x29155d=_0x20430e(_0x29155d)||_0x29155d);return _0x29155d;},_0x68bada=(_0x5ed424,_0x52e70f)=>(_0x20a483,_0x264c9e)=>_0x52e70f(_0x20a483,_0x264c9e,_0x5ed424);_0x4392a1[_0x364fc7(0x356)]=class extends _0x20df47['Disposable']{constructor(_0x14e79e,_0x3db351,_0x47acad){const _0x5b3417=_0x364fc7;super(),this[_0x5b3417(0x26b)]=_0x14e79e,this['_httpService']=_0x3db351,this[_0x5b3417(0x1b8)]=_0x47acad;}async['runOnServer'](_0x2a4cf1,_0x5b9f5e,_0x4150e8,..._0x2e9332){const _0x2e18e6=_0x364fc7;var _0x581bfd,_0x596122,_0x3643cf,_0x110993;const _0x225cc6=this[_0x2e18e6(0x26b)][_0x2e18e6(0x238)]();if(!_0x225cc6)throw new Error(_0x2e18e6(0x251));const _0x4234d7=((_0x581bfd=this[_0x2e18e6(0x1b8)][_0x2e18e6(0x162)](_0x3d42b8[_0x2e18e6(0x34e)]))!=null?_0x581bfd:_0x3d42b8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2a4cf1+_0x2e18e6(0x221)+_0x5b9f5e,_0x48f034=new URL(window[_0x2e18e6(0x26f)][_0x2e18e6(0x218)]),_0x81b1cb={'scriptId':_0x2a4cf1,'runId':(_0x596122=_0x48f034['searchParams'][_0x2e18e6(0x19c)](_0x2e18e6(0x22c)))!=null?_0x596122:'','function':_0x5b9f5e,'unitId':_0x225cc6[_0x2e18e6(0x191)](),'argsOfFunction':JSON[_0x2e18e6(0x1de)](_0x2e9332),'invokeId':(_0x3643cf=_0x4150e8['invokeId'])!=null?_0x3643cf:'','executionId':(_0x110993=_0x4150e8[_0x2e18e6(0x2ed)])!=null?_0x110993:''};try{const _0x352867=await this['_httpService'][_0x2e18e6(0x354)](_0x4234d7,{'body':_0x81b1cb});return _0x352867[_0x2e18e6(0x396)][_0x2e18e6(0x1bb)]&&_0x352867[_0x2e18e6(0x396)][_0x2e18e6(0x1bb)][_0x2e18e6(0x30d)]!==_0x397bcc['OK']?_0x2e18e6(0x308):_0x352867['body'][_0x2e18e6(0x1fb)];}catch{return _0x2e18e6(0x308);}}},_0x4392a1[_0x364fc7(0x356)]=_0x4ea583([_0x68bada(0x0,_0x20df47[_0x364fc7(0x303)]),_0x68bada(0x1,_0x20df47[_0x364fc7(0x28b)](_0x230e9b[_0x364fc7(0x2ba)])),_0x68bada(0x2,_0x20df47['IConfigService'])],_0x4392a1[_0x364fc7(0x356)]),_0x4392a1['CollaborationStatusDisplay']=_0x22caef,_0x4392a1['IURLService']=_0x338227,_0x4392a1[_0x364fc7(0x23a)]=_0x24d54a,_0x4392a1['WebBrowserSingleActiveUnitService']=_0x458c06,_0x4392a1[_0x364fc7(0x19a)]=_0x3b85f7,Object['defineProperty'](_0x4392a1,Symbol['toStringTag'],{'value':'Module'});}));function _0x25e4(_0x44c667,_0xe9271d){const _0x225a7f=_0x225a();return _0x25e4=function(_0x25e407,_0x348d80){_0x25e407=_0x25e407-0x10a;let _0x3ff4fc=_0x225a7f[_0x25e407];return _0x3ff4fc;},_0x25e4(_0x44c667,_0xe9271d);}function _0x225a(){const _0x23ede6=['_colorAssignService','_configService','_scheduleClearOtherTimer','DocIMEInputManagerService','error','_hideTimer','collaboration.closeRoom','PY_RUNTIME_SCRIPT_ERROR','_transformService','collab-rect-range-','EffectRefRangId','_univerInstanceService','delete','_refRangeService','useObservable','MessageType','handleDeleteRangeMoveLeft','_handleHeartbeatEvent','useDependency','pluginName','collaboration-client.offline-data-not-saved','_registerDependencies','jsxs','_drawAnchor','SHEET_VIEWPORT_KEY','@univerjs/network','memberID','green.600','_collabSessionService','getStateCache','DOC_RANGE_TYPE','_toggleOnline','executeCommand','runRefRangeMutations','amd','debug','_notificationService','urlChange$','collabStatus.notCollab','stringify','CollaborationDataLoaderController','COLORS','requireSession','UniverCollaborationClientPlugin','jsx','_urlService','blue.400','subUnitId','ILocalCacheService','LOCAL_CACHE_INTERVAL_KEY','_initDependencies','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_scheduleSaving','findNodePositionByCharIndex','10MgFlzJ','round','m1Prime','unsubscribe','has','getSkeleton','params','from','on-line-icon_clip0_910_349','some','WebSocketService','DocStateChangeManagerService','UniverSheets','COMPLETION_FINISHED','result','_cursorInfo$','call','getCollabCursors$','_docTransformSelectionsService','pushState','bottom','idSuffix','contains','mergeOverrideWithDependencies','univer-mr-2\x20univer-flex\x20univer-text-xl','UNAUTHENTICATED','selections','range','cursorInfo','YUUMI_ASYNCIO_CANCELLED','ITransformService','UniverEngineRender','disposeUnit','createElement','getOwnPropertySymbols','_onCursorUpdate','UniverProCollaborationClientUi','with','ticket','_removeClearOtherTimer','UniverDocs','none','toString','href','transform','UPDATE_CURSOR','resize','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','fillText','_id','addObject','unitId','/run/','toDisposable','INTERNAL_ERROR','popstate','endColumn','UniverCollaborationClientUIPlugin','...','removeParam','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','APPLY_REVISION_CONFILICT','isActive','runId','320hdzaXW','0\x200\x2017\x2016','unshift','_themeService','_collaborationController','sheetId','_collabCursorState$','univer-flex\x20univer-items-center','off-line-icon_clip0_910_343','ALREADY_EXISTS','isArray','getFocusedUnit','TEXT_RANGE_LAYER_INDEX','SheetCollabCursorShape','INVITE_CODE_ALREADY_BOUND','ACTIVE_UNIT_EVENT_CHANNEL','IRenderManagerService','_localStorageService','createIdentifier','NodePositionConvertToCursor','distinctUntilChanged','NOT_FOUND','min','_messageService','getOffsetConfig','YUUMI_UNABLE_LOAD_URL','DocSelectionManagerService','all','_saveCache','forEach','_imageIoService','getColor','_document','off-line-icon','getUnitStatus$','MOBILE_HAS_BEEN_BOUND','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getAnchorBounding','collabStatus.synced','UniverProCollaborationClient','clsx','@univerjs/docs-ui','SheetSkeletonManagerService','mutations','setUndoRedoMutationParamsCache','NO_OTHER_CLIENTS_EDITING','setItem','icon','unitID','onPointerEnter$','M0\x200H16V16H0z','collaboration.single-unit.warning','_context','status$','map','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/ui','_initResize','moveTo','_setupBeforeClosingHandler','@univerjs-pro/collaboration','debounceTime','_instanceService','getOwnPropertyDescriptor','backgroundColor','combineLatest','location','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','isTransformMutationFailure','mask','max','then','colorChannel1','subscribe','data','YUUMI_RATE_OVER_LIMIT','TEXT','top','type','_initStatusListener','tag','symbol','_initEvent','getRangePointData','currentTheme$','_startDocCollabCursor','deserializeRangeWithSheet','fromEvent','_color','assignAColorForMemberID','name','APPLY_NON_SEQUENTIAL_REVISION','UniverEngineFormula','undoState','Inject','isEditing','getMember','RegularPolygon','getSheetBySheetId','LOGIN_FAILED','className','EMAIL_HAS_BEEN_BOUND','handleInsertRangeMoveRight','storage','_range','_refreshCollabCursors','split','IConfigService','USERS_LEAVE','CONNECTOR_DATA_TOO_LARGE','disableLocalCache','YUUMI_NO_CUBOID_FOR_QUESTION','filter','reconnect','asObservable','values','_docTransformIMECacheService','collab-text-anchor-','fillStyle','sheetID','_localeService','@univerjs/engine-render','_labelPosition','origin','IUIPartsService','parse','SetDocZoomRatioOperation','_httpService','takeUntil','_shapes','unit','_heartbeatTimer','SessionStatus','complete','indexOf','CollaborationController','SetTextSelectionsOperation','_handleHover','3205RLISvK','defs','ILocalStorageService','HTTPService','UniverSheetsUi','YUUMI_AI_RUN_FAILED','_getMergeRange','SUBMIT_CHANGESET_TIMEOUT','registerRefRange','getUndoRedoMutationParamsCache','saveTaskMap','_onRefRangeChange','FromArray','subscribeEvent','textRanges','collabStatus.fetchMiss','width','getValue','@univerjs-pro/collaboration-client','_docSkeletonManagerService','_memberService','getActiveSheet','_draw','Error','setActiveRange','deepClone','toRgbString','addEventListener','YUUMI_URL_COL_OUT_OF_RANGE','_saveTaskMap','@univerjs/sheets','UNIVER_DOC','Unknown\x20user','triggerDblclick','_cursors','_logService','hasOwnProperty','FETCH_MISS','UniverDesign','CollaborationStatus','BrowserCollaborationSocketService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','svg','size','DocCollaborationEntity','attrs','trim','replace','serializeRangeWithSheet','_removeCollabCursors','_online','xlink:href','_toggleOffline','_transformPreviousActiveRange','executionId','_cursor','DocSkeletonManagerService','currentSkeleton$','cursorInfo$','onTransformChange$','permission.title','UNDEFINED','YUUMI_SUBSCRIPTION_NOT_FOUND','transformIMECache','override','actions','LICENSE_MAX_UNITS_EXCEEDED','InsertColCommandId','labelPosition','RemoveRowCommandId','exhaustSavingTask','translate(.97)','find','loadUnit','PERMISSION_DENIED','prototype','IUniverInstanceService','debounce','handleIRemoveCol','ONLINE','getAncestorScale','Failed','handleMoveRange','Vector2','createSocket','generateRandomId','code','object','getCollabEntity$','_getSaveTimeout','handleDeleteRangeMoveUp','collab-text-range-','init','getDocRanges','LOCAL_CACHE_INTERVAL','_updateURLWithCurrentState','MemberService','VIEW_MAIN','0\x200\x2016\x2016','USER_NOT_INVITED_CODE','lineTo','whenReady','PENDING','arc','makeDirty','closePath','ISocketService','MoveRangeCommandId','YUUMI_ALL_TABLES_IS_INVALID','OnLineIcon','_disabled','UniverDocsUi','_initStatusComponent','replaceState','CONFLICT','_updateCollabCursors','_sheetSkeletonManagerService','send','[CollaborationDataLoaderController]','UNIVER_SHEET','UNRECOGNIZED','_unitOnClients','getRenderById','@univerjs/sheets-ui','next','_hover','UnitStatus','string','history','drawWith','IBeforeCloseService','_updateLocalCursor','3799776icxbnT','getSheetId','_transformUndoRedoStack','getLocalCacheKey','onCommandExecuted','concat','IRemoteInstanceService','ILogService','div','InsertRangeMoveRightCommandId','OFFLINE','_syncEditingCollabCursorService','Disposable','rxjs/operators','_updateSubUnitFromURLParams','AWAITING','_assignedColors','24IGSlvk','getCurrentRevOfUnit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_unitStatus','wsSessionTicketUrl','collabStatus.conflict','roomMembers$','ICommandService','post','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','RemoteUniscriptService','6303407ZqLlvR','3924ZSxJui','uni.network.url-service','_registerRenderDependencies','hide','UniverNetwork','1em','_entityInit$','use','setShapeProps','IImageIoService','clipPath','disposeWithMe','setInterval','dispose$','_getSessionTicket','LICENSE_DISTRO_REJECTED','transformStateCache','_createSocketURL','INotificationService','getCurrent','handleInsertCol','font','RxDisposable','onLocalMutation','add','_setupSubUnitSync','collabStatus.syncing','_docTransformStateCacheService','BehaviorSubject','_doCreateSocket','clearInterval','getColorFromTheme','Rectangle','measureText','registerComponent','getMemberID','React','_lastPointer','exports','Tooltip','_collabCursorController','transformSelections','3983896rZxiGM','CollaborationSessionService','_colorIndex','search','UniverInstanceType','onPointerLeave$','_name','setParam','_clearOtherTimers','_config','CollaborationSocketService','Subject','defIds','_entities','CollaborationUIEventId','_drawRectRange','INVALID_INVITE_CODE','APPLY_DUPLICATED','set','clearTimeout','body','INVITE_CODE_REQUIRED','onPointerMove$','SNAPSHOT_HAS_BEEN_REMOVED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','touchDependencies','_cachedData','UniverRpc','restore','@univerjs/drawing','roomMembers','Shape','rxjs','startRow','DesktopCollaborationStatusDisplayController','registerBeforeClose','SetWorksheetActivateCommand','http://www.w3.org/2000/svg','_renderManagerService','substring','onStarting','loadOfflineData','getParam','setStateCache','Injector','@univerjs/core','eventID','_roomMembers$','_onCursorDelete','red.300','@univerjs/design','jiqing.500','ThemeService','column','createInstance','newValue','session.will-retry','LICENSE_IMPORT_SIZE_EXCEEDED','show','_handleEvent','permission.content','forwardRef','LICENSE_EXPORT_SIZE_EXCEEDED','fill','_ensureSubject','APPLY_REJECT','206370fxBecB','connectInjector','m2Prime','evenodd','pipe','UniverIcon','engine','current','ColorKit','dispose','extend','_transformHistoryAndStateStack','SNAPSHOT_INVALID_SNAPSHOT','docStateChange$','CLOSE_ROOM','#FFF','merge','transformByState','transformRemoteChangeset','_startSheetCollabCursor','includes','Optional','shareReplay','_uiPartsService','_selfUnitIDs','InsertRangeMoveDownCommandId','SheetsSelectionsService','_initCommandExecutedListener','MUTATION','_anchor','NOT_COLLAB','mapTo','redoState','registerDependencies','searchParams','univerjs-icon\x20univerjs-icon-','RECT','beginPath','CHANGESET_REVISION_CONFILICT','_docSyncEditingCollabCursorService','_handleJoinEvent','_session','_collaborationUIEventService','path','getConfig','transformMutationsWithChangeset','_getSheetObject','isTransformMutationsWithChangesetSuccess','_drawTextRange','onMouseMove','syncEditingCollabCursor','_eventUnsubscribe','CollaborationEvent','_scene','apply','Rect','_docClipboardService','displayName','white','Warning','setConfig','text','getTypeOfUnitDisposed$','collabStatus.offline','_send','_handleLeaveEvent','_scheduleHeartbeat','activeSheet$','transformMutation','BuiltInUIPart','Workbook','url(#$1','IDocClipboardService','_docStateChangeManagerService','react','NodePositionConvertToRectRange','LocaleService','_anchorDot','_init','_revisionService','black','switchMap','children','subunit','sessionStatus$','ENSURE_SNAPSHOT_EXECUTION','_backgroundColor','event$','_render','length','_status$','getUnitId','757128UKWgND','registerRenderModule','url(#on-line-icon_clip0_910_349)','handleIRemoveRow','DisposableCollection','_commandService','APPLY_PERMISSION_DENIED','purple.300','WebURLService','Tools','get','RevisionService','_textBubble','selection','_hovered','fillRule','WECHAT_HAS_BEEN_BOUND','_cursorShapes','color','push','setAlpha','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','row','INVITE_CODE_HAS_BEEN_UES','useRef','_beforeCloseService','updateOfflineData','DataLoaderService','save','getCurrentSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','doc.mutation.rich-text-editing','_injector','16496ColPsm','editingUnit','setTimeout','operators'];_0x225a=function(){return _0x23ede6;};return _0x225a();}