@univerjs-pro/collaboration-client-ui 0.6.6 → 0.6.7-nightly.202503261607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x53356a=_0x2710;(function(_0x3e0015,_0x508c8c){const _0xa93c00=_0x2710,_0x218b78=_0x3e0015();while(!![]){try{const _0x2f3d5f=parseInt(_0xa93c00(0x96))/0x1*(-parseInt(_0xa93c00(0x97))/0x2)+parseInt(_0xa93c00(0x9c))/0x3*(-parseInt(_0xa93c00(0x9b))/0x4)+-parseInt(_0xa93c00(0x9a))/0x5+-parseInt(_0xa93c00(0x8d))/0x6*(-parseInt(_0xa93c00(0x98))/0x7)+parseInt(_0xa93c00(0x95))/0x8+parseInt(_0xa93c00(0x8e))/0x9+parseInt(_0xa93c00(0x99))/0xa;if(_0x2f3d5f===_0x508c8c)break;else _0x218b78['push'](_0x218b78['shift']());}catch(_0x171ac6){_0x218b78['push'](_0x218b78['shift']());}}}(_0x1567,0x6c645));function _0x1567(){const _0x4c089e=['extend','runOnServer','RemoteUniscriptService','@univerjs-pro/collaboration-client-ui','@univerjs/core/facade','858936sAZAod','80147eePFlR','12dZmzeh','7ATIjrf','12738390YMXmBq','2680330lEHEib','40472VMLmQY','72xIXtlv','480306rWCdDE','2182464EwMuDE','FUniver'];_0x1567=function(){return _0x4c089e;};return _0x1567();}function _0x2710(_0x167140,_0x1c39ef){const _0x1567d5=_0x1567();return _0x2710=function(_0x27109c,_0x36188c){_0x27109c=_0x27109c-0x8d;let _0x43e537=_0x1567d5[_0x27109c];return _0x43e537;},_0x2710(_0x167140,_0x1c39ef);}const t=require(_0x53356a(0x93)),e=require(_0x53356a(0x94));class c extends e[_0x53356a(0x8f)]{[_0x53356a(0x91)](_0x386acb,_0x546976,..._0x38ba13){const _0x15cac8=_0x53356a;return this['_injector']['get'](t[_0x15cac8(0x92)])['runOnServer'](_0x386acb,_0x546976,{},..._0x38ba13);}}e[_0x53356a(0x8f)][_0x53356a(0x90)](c);
1
+ 'use strict';const _0x46a38b=_0x23f1;(function(_0x51b538,_0x596028){const _0x22e397=_0x23f1,_0x19c4a7=_0x51b538();while(!![]){try{const _0x1a6cb7=parseInt(_0x22e397(0x1bb))/0x1*(-parseInt(_0x22e397(0x1b5))/0x2)+parseInt(_0x22e397(0x1b1))/0x3*(parseInt(_0x22e397(0x1af))/0x4)+-parseInt(_0x22e397(0x1ad))/0x5*(-parseInt(_0x22e397(0x1b2))/0x6)+parseInt(_0x22e397(0x1b3))/0x7+-parseInt(_0x22e397(0x1b9))/0x8+-parseInt(_0x22e397(0x1b4))/0x9+-parseInt(_0x22e397(0x1b7))/0xa*(parseInt(_0x22e397(0x1b0))/0xb);if(_0x1a6cb7===_0x596028)break;else _0x19c4a7['push'](_0x19c4a7['shift']());}catch(_0x179352){_0x19c4a7['push'](_0x19c4a7['shift']());}}}(_0x57c1,0x514e3));const t=require('@univerjs-pro/collaboration-client-ui'),e=require(_0x46a38b(0x1b6));function _0x57c1(){const _0x18cb1=['2472021xdXPhr','1912auiGLz','@univerjs/core/facade','10wqVOPQ','FUniver','487680nataWT','get','263GCTsGO','extend','_injector','175135WPOshS','runOnServer','4rYMlaT','1417163GgwibB','1644375STQkjM','18ZOHcfh','2769977ecdkyw'];_0x57c1=function(){return _0x18cb1;};return _0x57c1();}class c extends e[_0x46a38b(0x1b8)]{[_0x46a38b(0x1ae)](_0x5d4bee,_0x479bf1,..._0x2a0e72){const _0x580fcb=_0x46a38b;return this[_0x580fcb(0x1ac)][_0x580fcb(0x1ba)](t['RemoteUniscriptService'])[_0x580fcb(0x1ae)](_0x5d4bee,_0x479bf1,{},..._0x2a0e72);}}function _0x23f1(_0x122da0,_0x5028b3){const _0x57c156=_0x57c1();return _0x23f1=function(_0x23f1ba,_0x4adbce){_0x23f1ba=_0x23f1ba-0x1ab;let _0x4dec05=_0x57c156[_0x23f1ba];return _0x4dec05;},_0x23f1(_0x122da0,_0x5028b3);}e[_0x46a38b(0x1b8)][_0x46a38b(0x1ab)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5a0327=_0x396e;(function(_0xc9dc09,_0xdb8109){const _0x25444d=_0x396e,_0x5b8a1e=_0xc9dc09();while(!![]){try{const _0x14c45a=-parseInt(_0x25444d(0x3d9))/0x1+-parseInt(_0x25444d(0x270))/0x2*(-parseInt(_0x25444d(0x1fb))/0x3)+-parseInt(_0x25444d(0x26c))/0x4*(parseInt(_0x25444d(0x373))/0x5)+parseInt(_0x25444d(0x31a))/0x6*(parseInt(_0x25444d(0x3f7))/0x7)+parseInt(_0x25444d(0x1f4))/0x8+parseInt(_0x25444d(0x218))/0x9+-parseInt(_0x25444d(0x2a8))/0xa;if(_0x14c45a===_0xdb8109)break;else _0x5b8a1e['push'](_0x5b8a1e['shift']());}catch(_0x3f7c6d){_0x5b8a1e['push'](_0x5b8a1e['shift']());}}}(_0x4a86,0x7e8c9));var Ve=Object[_0x5a0327(0x2af)],Ge=(_0x54ce62,_0xb0efa9,_0x3b3818)=>_0xb0efa9 in _0x54ce62?Ve(_0x54ce62,_0xb0efa9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b3818}):_0x54ce62[_0xb0efa9]=_0x3b3818,h=(_0x3370c2,_0x5a14de,_0x2129c3)=>Ge(_0x3370c2,typeof _0x5a14de!='symbol'?_0x5a14de+'':_0x5a14de,_0x2129c3);Object[_0x5a0327(0x2af)](exports,Symbol[_0x5a0327(0x38d)],{'value':_0x5a0327(0x306)});const u=require(_0x5a0327(0x1d9)),a=require(_0x5a0327(0x411)),p=require('@univerjs/engine-render'),q=require('@univerjs/network'),b=require(_0x5a0327(0x2b1)),qe=require('@univerjs/drawing'),d=require(_0x5a0327(0x324)),Y=require(_0x5a0327(0x278)),m=require(_0x5a0327(0x247)),Te=require(_0x5a0327(0x3fc)),I=require(_0x5a0327(0x395)),$=require(_0x5a0327(0x36f)),G=require(_0x5a0327(0x2b4)),w=require(_0x5a0327(0x2e5)),R=require('@univerjs/ui'),T=require(_0x5a0327(0x262)),P=require(_0x5a0327(0x36d)),Ke=require(_0x5a0327(0x206));var ze=Object[_0x5a0327(0x3e2)],Je=(_0x3a76c5,_0x2ab50f,_0xfae870,_0x399590)=>{const _0x4fc966=_0x5a0327;for(var _0x41b7d7=_0x399590>0x1?void 0x0:_0x399590?ze(_0x2ab50f,_0xfae870):_0x2ab50f,_0x173c3e=_0x3a76c5[_0x4fc966(0x2c6)]-0x1,_0x5c016c;_0x173c3e>=0x0;_0x173c3e--)(_0x5c016c=_0x3a76c5[_0x173c3e])&&(_0x41b7d7=_0x5c016c(_0x41b7d7)||_0x41b7d7);return _0x41b7d7;},Re=(_0x12daee,_0x8371ef)=>(_0x1df37b,_0x543973)=>_0x8371ef(_0x1df37b,_0x543973,_0x12daee);let fe=class extends a[_0x5a0327(0x313)]{constructor(_0x5ac68c,_0x16a3b1){const _0xc5213a=_0x5a0327;super(),this[_0xc5213a(0x2b7)]=_0x5ac68c,this[_0xc5213a(0x26a)]=_0x16a3b1,this[_0xc5213a(0x428)]();}[_0x5a0327(0x428)](){const _0x4316b5=_0x5a0327,_0x3ac08c=this;this[_0x4316b5(0x27a)](this[_0x4316b5(0x2b7)][_0x4316b5(0x437)]({'onBeforePasteImage':async _0x46e521=>{const _0x15d4a9=_0x4316b5,_0x56fe59=await _0x3ac08c['_imageIoService'][_0x15d4a9(0x39f)](_0x46e521);return _0x56fe59?{'source':_0x56fe59[_0x15d4a9(0x35b)],'imageSourceType':_0x56fe59[_0x15d4a9(0x3bc)]}:null;}}));}};fe=Je([Re(0x0,b[_0x5a0327(0x354)]),Re(0x1,qe[_0x5a0327(0x1c4)])],fe);const Oe=[_0x5a0327(0x2f9),_0x5a0327(0x2ff),_0x5a0327(0x2b5),_0x5a0327(0x2f5),_0x5a0327(0x208),_0x5a0327(0x330)];class Ce extends a['Disposable']{constructor(){const _0x27d95e=_0x5a0327;super(...arguments),h(this,_0x27d95e(0x418),new Map()),h(this,_0x27d95e(0x24c),0x0);}[_0x5a0327(0x21f)](_0x505909){const _0x3c7e45=_0x5a0327;if(this[_0x3c7e45(0x418)][_0x3c7e45(0x203)](_0x505909))return this[_0x3c7e45(0x418)][_0x3c7e45(0x210)](_0x505909);const _0x175d5c=Oe[this[_0x3c7e45(0x24c)]];return this[_0x3c7e45(0x24c)]=(this['_colorIndex']+0x1)%Oe['length'],this[_0x3c7e45(0x418)]['set'](_0x505909,_0x175d5c),_0x175d5c;}}function Le(_0x3a94c5){const _0x17aa4c=_0x5a0327;let _0x2ab526='';for(const _0x191980 of _0x3a94c5){const {startOffset:_0x18cccb,endOffset:_0x3da9d9,isActive:_0xcec8cd,rangeType:_0x46e8aa,segmentId:_0x3e359f,segmentPage:_0x3013ec}=_0x191980;_0x2ab526[_0x17aa4c(0x2c6)]&&(_0x2ab526+=','),_0x2ab526+=_0x18cccb+':'+_0x3da9d9+':'+(_0xcec8cd?'1':'0')+':'+_0x46e8aa+':'+_0x3e359f+':'+_0x3013ec;}return _0x2ab526;}function Ze(_0x26aefb){const _0x197ac4=_0x5a0327,_0x378e8d=_0x26aefb[_0x197ac4(0x2a3)](','),_0x2d2d78=[];for(const _0x5450d6 of _0x378e8d){const [_0x1443e2,_0xd097d3,_0x216840,_0x2d2c82,_0x5b988e,_0xe58f93]=_0x5450d6[_0x197ac4(0x2a3)](':');_0x2d2d78[_0x197ac4(0x225)]({'startOffset':Number(_0x1443e2),'endOffset':Number(_0xd097d3),'collapsed':_0x1443e2===_0xd097d3,'isActive':_0x216840==='1','rangeType':_0x2d2c82===a[_0x197ac4(0x37f)][_0x197ac4(0x344)]?a[_0x197ac4(0x37f)][_0x197ac4(0x344)]:a[_0x197ac4(0x37f)][_0x197ac4(0x36c)],'segmentId':typeof _0x5b988e==_0x197ac4(0x2ae)?String(_0x5b988e):'','segmentPage':Number(_0xe58f93!=null?_0xe58f93:-0x1)});}return _0x2d2d78[_0x197ac4(0x1d3)](_0x12f4f4=>_0x12f4f4[_0x197ac4(0x1ff)])||(_0x2d2d78[0x0][_0x197ac4(0x1ff)]=!0x0),_0x2d2d78;}class pe extends a[_0x5a0327(0x313)]{constructor(){const _0x46346d=_0x5a0327;super(...arguments),h(this,_0x46346d(0x429),new d[(_0x46346d(0x368))](null)),h(this,_0x46346d(0x211),this[_0x46346d(0x429)][_0x46346d(0x334)]());}[_0x5a0327(0x1d6)](_0x5b63dc){const _0x3c75d3=_0x5a0327,{unitID:_0x4d2fb3,memberID:_0x5a2901,textRanges:_0x532103}=_0x5b63dc,_0x489c7f=Le(_0x532103);if(_0x489c7f==='')return;const _0x13e077={'unitID':_0x4d2fb3,'memberID':_0x5a2901,'selection':_0x489c7f};this['_collabCursorState$'][_0x3c75d3(0x430)](_0x13e077);}}var Qe=Object['getOwnPropertyDescriptor'],et=(_0xc56394,_0x26fe1a,_0x1f94f5,_0x1e758c)=>{const _0x149cc3=_0x5a0327;for(var _0x389064=_0x1e758c>0x1?void 0x0:_0x1e758c?Qe(_0x26fe1a,_0x1f94f5):_0x26fe1a,_0x213cfb=_0xc56394[_0x149cc3(0x2c6)]-0x1,_0x24a21a;_0x213cfb>=0x0;_0x213cfb--)(_0x24a21a=_0xc56394[_0x213cfb])&&(_0x389064=_0x24a21a(_0x389064)||_0x389064);return _0x389064;},N=(_0x2e3c74,_0x4d85d3)=>(_0x413052,_0x1928d9)=>_0x4d85d3(_0x413052,_0x1928d9,_0x2e3c74);const tt=0x12c,st=0x64;let Se=class extends a[_0x5a0327(0x313)]{constructor(_0x41ca03,_0x1a88f2,_0x1eccd8,_0x3ca785,_0x4f2e54,_0x52f0ee,_0x2fa980,_0x2c1c73,_0x35eb48){const _0x11d8ec=_0x5a0327;super(),h(this,_0x11d8ec(0x3e4),!0x1),h(this,_0x11d8ec(0x428),!0x1),h(this,_0x11d8ec(0x277),new d[(_0x11d8ec(0x368))](new Map())),h(this,_0x11d8ec(0x290),this[_0x11d8ec(0x277)][_0x11d8ec(0x334)]()),h(this,'_roomMembers$',new d[(_0x11d8ec(0x368))]([])),h(this,_0x11d8ec(0x3d1),this[_0x11d8ec(0x209)][_0x11d8ec(0x2f0)](d[_0x11d8ec(0x415)](tt))),h(this,_0x11d8ec(0x29f),a[_0x11d8ec(0x27d)](_0x2c2f09=>{const _0xadb911=_0x11d8ec,_0x2d4d78={'eventID':m['CollaborationEvent'][_0xadb911(0x3d6)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0xadb911(0x3ed)](),'selection':Le(_0x2c2f09)}};this['_session']['send'](_0x2d4d78,this[_0xadb911(0x342)]);},st)),(this[_0x11d8ec(0x342)]=_0x41ca03,this['_session']=_0x1a88f2,this[_0x11d8ec(0x42b)]=_0x1eccd8,this[_0x11d8ec(0x335)]=_0x3ca785,this['_memberService']=_0x4f2e54,this[_0x11d8ec(0x1df)]=_0x52f0ee,this[_0x11d8ec(0x1d4)]=_0x2fa980,this[_0x11d8ec(0x2b6)]=_0x2c1c73,this['_commandService']=_0x35eb48);}get['cursorInfo'](){const _0xf89a83=_0x5a0327;return this[_0xf89a83(0x277)][_0xf89a83(0x33f)]();}get[_0x5a0327(0x28d)](){const _0x2ec58b=_0x5a0327;return this[_0x2ec58b(0x209)]['getValue']();}[_0x5a0327(0x380)](){const _0x1663f5=_0x5a0327;super[_0x1663f5(0x380)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x1663f5(0x3eb)](),this[_0x1663f5(0x209)][_0x1663f5(0x430)]([]),this[_0x1663f5(0x209)][_0x1663f5(0x3eb)]();}[_0x5a0327(0x34c)](){const _0x46e00e=_0x5a0327;this['_init']||(this[_0x46e00e(0x428)]=!0x0,this['_session'][_0x46e00e(0x438)][_0x46e00e(0x2f0)](d[_0x46e00e(0x1e6)](this['dispose$']))[_0x46e00e(0x293)](_0x5b4e5a=>{const _0x1ffa24=_0x46e00e;_0x5b4e5a===u[_0x1ffa24(0x266)]['ONLINE']?this[_0x1ffa24(0x362)]():this[_0x1ffa24(0x2c8)]();}),this['_session'][_0x46e00e(0x35c)][_0x46e00e(0x2f0)](d['takeUntil'](this[_0x46e00e(0x2a9)]))[_0x46e00e(0x293)](_0x1f2e79=>{const _0x21b9aa=_0x46e00e,_0x3c5877=_0x1f2e79['eventID'];_0x3c5877===m[_0x21b9aa(0x3b7)][_0x21b9aa(0x3d6)]&&this[_0x21b9aa(0x242)](_0x1f2e79),_0x3c5877===m[_0x21b9aa(0x3b7)][_0x21b9aa(0x2f6)]&&this[_0x21b9aa(0x251)](_0x1f2e79);}),this[_0x46e00e(0x27a)](this[_0x46e00e(0x33d)][_0x46e00e(0x441)](_0x46d04f=>{const _0x139610=_0x46e00e,_0x1a57a6=_0x46d04f[_0x139610(0x22a)];_0x1a57a6!=null&&this[_0x139610(0x3e4)]&&_0x46d04f['id']===Y[_0x139610(0x34d)]['id']&&_0x1a57a6['unitId']===this[_0x139610(0x342)]&&_0x1a57a6[_0x139610(0x336)]===!0x1&&_0x1a57a6[_0x139610(0x29e)][_0x139610(0x2c6)]>0x0&&this[_0x139610(0x29f)](_0x1a57a6[_0x139610(0x29e)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x46e00e(0x2f0)](d[_0x46e00e(0x1e6)](this[_0x46e00e(0x2a9)]))[_0x46e00e(0x293)](_0x1a243f=>{const _0x31298c=_0x46e00e;if((_0x1a243f==null?void 0x0:_0x1a243f['unitID'])!==this[_0x31298c(0x342)])return;const _0x32a927={'eventID':m[_0x31298c(0x3b7)][_0x31298c(0x3d6)],'data':_0x1a243f};this[_0x31298c(0x242)](_0x32a927);}),this[_0x46e00e(0x27a)](this[_0x46e00e(0x33d)][_0x46e00e(0x441)](_0x439cd4=>{const _0x2f8a59=_0x46e00e;if(_0x439cd4[_0x2f8a59(0x22a)]==null)return;const _0x25efdb=_0x439cd4[_0x2f8a59(0x22a)];if(_0x439cd4['id']!==Y[_0x2f8a59(0x257)]['id']||_0x25efdb[_0x2f8a59(0x2ac)]!==this['unitID'])return;const _0x207b60={'id':'doc.mutation.rich-text-editing','params':_0x25efdb},_0x2009bf=this['cursorInfo'];for(const [_0x22a999,_0x87ea6f]of _0x2009bf){const _0xd989e7={'id':_0x2f8a59(0x35d),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x87ea6f[_0x2f8a59(0x29e)]}},_0x3518da=this[_0x2f8a59(0x1d4)][_0x2f8a59(0x1c3)](_0x207b60,_0xd989e7,!0x1);if(m[_0x2f8a59(0x284)](_0x3518da))throw _0x3518da[_0x2f8a59(0x39d)];_0x2009bf[_0x2f8a59(0x421)](_0x22a999,{..._0x87ea6f,'ranges':_0x3518da['m2Prime'][_0x2f8a59(0x22a)][_0x2f8a59(0x402)]});}queueMicrotask(()=>{const _0x2cf7dc=_0x2f8a59;this[_0x2cf7dc(0x277)][_0x2cf7dc(0x430)](_0x2009bf);});})));}[_0x5a0327(0x242)](_0x5366ab){const _0x424a63=_0x5a0327;var _0x5521cf,_0x355d82;const {memberID:_0x3aa1cd,selection:_0x55b6ff}=_0x5366ab[_0x424a63(0x412)],_0x7ae357=Ze(_0x55b6ff),_0x12d7ce=(_0x355d82=(_0x5521cf=this[_0x424a63(0x3b5)][_0x424a63(0x325)](this[_0x424a63(0x342)],_0x3aa1cd))==null?void 0x0:_0x5521cf[_0x424a63(0x238)])!=null?_0x355d82:_0x424a63(0x40b),_0x4c6ba0={'color':this[_0x424a63(0x335)][_0x424a63(0x21f)](_0x3aa1cd),'name':_0x12d7ce,'ranges':_0x7ae357},_0x231313=this[_0x424a63(0x294)];_0x231313[_0x424a63(0x421)](_0x3aa1cd,_0x4c6ba0),this[_0x424a63(0x277)][_0x424a63(0x430)](_0x231313);}[_0x5a0327(0x251)](_0x43a220){const _0xf49417=_0x5a0327,{memberID:_0x4d8b96}=_0x43a220['data'],_0x2c626a=this[_0xf49417(0x294)];_0x2c626a[_0xf49417(0x3c3)](_0x4d8b96),this[_0xf49417(0x277)]['next'](_0x2c626a);}['_toggleOnline'](){const _0x19ed70=_0x5a0327;var _0x48b582;if(this[_0x19ed70(0x3e4)]=!0x0,((_0x48b582=this[_0x19ed70(0x2b6)]['getFocusedUnit']())==null?void 0x0:_0x48b582[_0x19ed70(0x36a)]())!==this[_0x19ed70(0x342)])return;const _0x31f4dc=this['_injector']['get'](Y[_0x19ed70(0x305)])['getDocRanges']();Array['isArray'](_0x31f4dc)&&_0x31f4dc['length']>0x0&&this['_updateLocalCursor'](_0x31f4dc);}[_0x5a0327(0x2c8)](){const _0x17768a=_0x5a0327;this[_0x17768a(0x3e4)]=!0x1;}};Se=et([N(0x2,a['Inject'](a['Injector'])),N(0x3,a[_0x5a0327(0x43e)](Ce)),N(0x4,a[_0x5a0327(0x43e)](u['MemberService'])),N(0x5,a[_0x5a0327(0x43e)](pe)),N(0x6,m['ITransformService']),N(0x7,a['IUniverInstanceService']),N(0x8,a[_0x5a0327(0x3d3)])],Se);var nt=Object[_0x5a0327(0x3e2)],it=(_0x34f804,_0x31517e,_0xf03773,_0x37f1df)=>{const _0x28440e=_0x5a0327;for(var _0x4d5cff=_0x37f1df>0x1?void 0x0:_0x37f1df?nt(_0x31517e,_0xf03773):_0x31517e,_0x342968=_0x34f804[_0x28440e(0x2c6)]-0x1,_0x50edf9;_0x342968>=0x0;_0x342968--)(_0x50edf9=_0x34f804[_0x342968])&&(_0x4d5cff=_0x50edf9(_0x4d5cff)||_0x4d5cff);return _0x4d5cff;},y=(_0x11ba0b,_0x4c85ed)=>(_0x40424b,_0x2d47e9)=>_0x4c85ed(_0x40424b,_0x2d47e9,_0x11ba0b);const rt=0x12c,ot=0x64,at=()=>{let _0x10724c=[],_0x4ef93d=!0x1;return _0x2d730a=>{const _0xf1e2ac=_0x396e;_0x10724c[_0xf1e2ac(0x225)](_0x2d730a),_0x4ef93d||(_0x4ef93d=!0x0,setTimeout(()=>{const _0x566405=_0xf1e2ac;_0x10724c[_0x566405(0x22d)](_0x3546fd=>_0x3546fd()),_0x10724c=[],_0x4ef93d=!0x1;}));};};let ve=class extends a[_0x5a0327(0x313)]{constructor(_0x3b15a3,_0x34b633,_0x411c98,_0x28b7f1,_0x1e1c1c,_0x45bce4,_0x2cfd6c,_0x50b143){const _0x517bb5=_0x5a0327;super(),h(this,_0x517bb5(0x3e4),!0x1),h(this,_0x517bb5(0x428),!0x1),h(this,_0x517bb5(0x277),new d['BehaviorSubject'](new Map())),h(this,_0x517bb5(0x290),this['_cursorInfo$'][_0x517bb5(0x334)]()),h(this,_0x517bb5(0x209),new d[(_0x517bb5(0x368))]([])),h(this,_0x517bb5(0x3d1),this[_0x517bb5(0x209)][_0x517bb5(0x2f0)](d[_0x517bb5(0x415)](rt))),h(this,_0x517bb5(0x29f),a[_0x517bb5(0x27d)]((_0x32a65b,_0x36e716)=>{const _0x34c214=_0x517bb5,_0x2e5f93={'eventID':m[_0x34c214(0x3b7)][_0x34c214(0x3d6)],'data':{'unitID':this[_0x34c214(0x342)],'memberID':this[_0x34c214(0x3e8)][_0x34c214(0x3ed)](),'selection':Te['serializeRangeWithSheet'](_0x32a65b,_0x36e716[_0x34c214(0x21b)])}};this['_session']['send'](_0x2e5f93,this['unitID']);},ot)),(this[_0x517bb5(0x342)]=_0x3b15a3,this[_0x517bb5(0x3e8)]=_0x34b633,this[_0x517bb5(0x42b)]=_0x411c98,this[_0x517bb5(0x335)]=_0x28b7f1,this['_memberService']=_0x1e1c1c,this['_univerInstanceService']=_0x45bce4,this['_commandService']=_0x2cfd6c,this[_0x517bb5(0x1eb)]=_0x50b143);}get[_0x5a0327(0x294)](){const _0x1f44a2=_0x5a0327;return this[_0x1f44a2(0x277)]['getValue']();}get['roomMembers'](){const _0x2d7938=_0x5a0327;return this[_0x2d7938(0x209)][_0x2d7938(0x33f)]();}[_0x5a0327(0x380)](){const _0x3f497c=_0x5a0327;super[_0x3f497c(0x380)](),this[_0x3f497c(0x277)][_0x3f497c(0x430)](new Map()),this[_0x3f497c(0x277)][_0x3f497c(0x3eb)](),this[_0x3f497c(0x209)][_0x3f497c(0x430)]([]),this['_roomMembers$'][_0x3f497c(0x3eb)]();}['init'](){const _0x448fc6=_0x5a0327;this[_0x448fc6(0x428)]||(this[_0x448fc6(0x428)]=!0x0,this[_0x448fc6(0x3e8)][_0x448fc6(0x438)][_0x448fc6(0x2f0)](d[_0x448fc6(0x1e6)](this['dispose$']))[_0x448fc6(0x293)](_0x2857cb=>{const _0x3dc9d6=_0x448fc6;_0x2857cb===u[_0x3dc9d6(0x266)][_0x3dc9d6(0x3c5)]?this[_0x3dc9d6(0x362)]():this[_0x3dc9d6(0x2c8)]();}),this[_0x448fc6(0x3e8)][_0x448fc6(0x35c)]['pipe'](d[_0x448fc6(0x1e6)](this[_0x448fc6(0x2a9)]))[_0x448fc6(0x293)](_0x150904=>{const _0x238b9b=_0x448fc6,_0x5e9631=_0x150904[_0x238b9b(0x3fa)];_0x5e9631===m['CollaborationEvent'][_0x238b9b(0x3d6)]&&this[_0x238b9b(0x242)](_0x150904),_0x5e9631===m[_0x238b9b(0x3b7)][_0x238b9b(0x2f6)]&&this['_onCursorDelete'](_0x150904);}),this[_0x448fc6(0x26f)](),this[_0x448fc6(0x27a)](this[_0x448fc6(0x33d)]['onCommandExecuted'](_0x769065=>{const _0xd45a80=_0x448fc6;if(this['_online']&&_0x769065['id']===I[_0xd45a80(0x409)]['id']&&_0x769065[_0xd45a80(0x22a)][_0xd45a80(0x2ac)]===this[_0xd45a80(0x342)]){const _0x1ebf69=_0x769065[_0xd45a80(0x22a)];this[_0xd45a80(0x29f)](_0x1ebf69[_0xd45a80(0x394)],_0x1ebf69[_0xd45a80(0x310)][0x0]);}})));}[_0x5a0327(0x242)](_0x393226){const _0xcb734=_0x5a0327;var _0x28d506,_0x752713;const {memberID:_0x504fb0,selection:_0x4cbdcf}=_0x393226[_0xcb734(0x412)],{sheetName:_0x1ecc1a,range:_0x41f87e}=Te[_0xcb734(0x1f5)](_0x4cbdcf),_0x16f7a={'name':(_0x752713=(_0x28d506=this[_0xcb734(0x3b5)][_0xcb734(0x325)](this[_0xcb734(0x342)],_0x504fb0))==null?void 0x0:_0x28d506[_0xcb734(0x238)])!=null?_0x752713:'Unknown\x20user','range':this['_getMergeRange'](_0x1ecc1a,_0x41f87e),'sheetID':_0x1ecc1a,'color':this[_0xcb734(0x335)][_0xcb734(0x21f)](_0x504fb0),'selection':_0x4cbdcf},_0x5b552d=this[_0xcb734(0x294)];_0x5b552d[_0xcb734(0x421)](_0x504fb0,_0x16f7a),this[_0xcb734(0x277)][_0xcb734(0x430)](_0x5b552d);}[_0x5a0327(0x251)](_0x4b9ab5){const _0x42dfcf=_0x5a0327,{memberID:_0x333236}=_0x4b9ab5[_0x42dfcf(0x412)],_0xfdbdfc=this[_0x42dfcf(0x294)];_0xfdbdfc[_0x42dfcf(0x3c3)](_0x333236),this['_cursorInfo$'][_0x42dfcf(0x430)](_0xfdbdfc);}[_0x5a0327(0x3cc)](_0x5a7c74,_0x49f004){const _0xf8db39=_0x5a0327;var _0x35c9eb,_0x29d78a;const _0x4b82b8=(_0x29d78a=(_0x35c9eb=this[_0xf8db39(0x2b6)][_0xf8db39(0x38e)](this[_0xf8db39(0x342)]))==null?void 0x0:_0x35c9eb[_0xf8db39(0x2a1)](_0x5a7c74))==null?void 0x0:_0x29d78a[_0xf8db39(0x426)]();return(_0x4b82b8==null?void 0x0:_0x4b82b8[_0xf8db39(0x254)](_0x423155=>a[_0xf8db39(0x2a0)][_0xf8db39(0x2bc)](_0x423155,_0x49f004)))||_0x49f004;}[_0x5a0327(0x26f)](){const _0x3abb75=_0x5a0327,_0x236ae2=new a[(_0x3abb75(0x3b3))](),_0x465e96=at(),_0x336960=()=>{const _0x545fa6=_0x3abb75;_0x236ae2['dispose']();const _0x152b14=(_0x2325a0,_0x57c962,_0x23b93f,_0xf000d5)=>{const _0x383d77=_0x396e;let _0x3ffd48=[];switch(_0x2325a0['id']){case I[_0x383d77(0x416)][_0x383d77(0x28c)]:{_0x3ffd48=I['handleDeleteRangeMoveLeft'](_0x2325a0,_0xf000d5);break;}case I[_0x383d77(0x416)][_0x383d77(0x2c0)]:{_0x3ffd48=I[_0x383d77(0x1cf)](_0x2325a0,_0xf000d5);break;}case I[_0x383d77(0x416)][_0x383d77(0x219)]:{_0x3ffd48=I['handleInsertCol'](_0x2325a0,_0xf000d5);break;}case I[_0x383d77(0x416)][_0x383d77(0x40f)]:{_0x3ffd48=I[_0x383d77(0x252)](_0x2325a0,_0xf000d5);break;}case I[_0x383d77(0x416)][_0x383d77(0x424)]:{_0x3ffd48=I[_0x383d77(0x366)](_0x2325a0,_0xf000d5);break;}case I[_0x383d77(0x416)]['InsertRowCommandId']:{_0x3ffd48=I[_0x383d77(0x3a0)](_0x2325a0,_0xf000d5);break;}case I[_0x383d77(0x416)][_0x383d77(0x38c)]:{_0x3ffd48=I[_0x383d77(0x221)](_0x2325a0,_0xf000d5);break;}case I[_0x383d77(0x416)][_0x383d77(0x31f)]:{_0x3ffd48=I[_0x383d77(0x359)](_0x2325a0,_0xf000d5);break;}case I[_0x383d77(0x416)]['RemoveRowCommandId']:{_0x3ffd48=I['handleIRemoveRow'](_0x2325a0,_0xf000d5);break;}}const _0x547f91=I[_0x383d77(0x1d7)](_0x3ffd48,_0xf000d5),_0x5f3894=this[_0x383d77(0x294)][_0x383d77(0x210)](_0x57c962);if(_0x5f3894&&_0x547f91){const _0x5c51f4={..._0x5f3894,'range':_0x547f91};this[_0x383d77(0x294)][_0x383d77(0x421)](_0x57c962,_0x5c51f4),_0x465e96(()=>{const _0x2b75a4=_0x383d77,_0x563d7a=this['_refRangeService'][_0x2b75a4(0x3ba)](_0x547f91,_0x23d2ae=>(_0x563d7a[_0x2b75a4(0x380)](),_0x152b14(_0x23d2ae,_0x57c962,_0x23b93f,_0x547f91)));_0x236ae2[_0x2b75a4(0x40c)](_0x563d7a);});}return{'redos':[],'undos':[]};};this[_0x545fa6(0x294)][_0x545fa6(0x22d)]((_0xa7c15,_0x3d5926)=>{const _0x262251=_0x545fa6,{range:_0x402660,sheetID:_0x2a148a}=_0xa7c15,_0x58f19d=this[_0x262251(0x1eb)]['registerRefRange'](_0x402660,_0x25373d=>(_0x58f19d[_0x262251(0x380)](),_0x152b14(_0x25373d,_0x3d5926,_0x2a148a,_0x402660)));_0x236ae2[_0x262251(0x40c)](_0x58f19d);});};this[_0x3abb75(0x27a)](a[_0x3abb75(0x2ba)](this['_cursorInfo$']['subscribe'](()=>{_0x336960();})));}[_0x5a0327(0x362)](){const _0x21709d=_0x5a0327;var _0x49c1fb,_0xfabc9e;if(this['_online']=!0x0,((_0x49c1fb=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x49c1fb[_0x21709d(0x36a)]())!==this[_0x21709d(0x342)])return;const _0x2e8aac=(_0xfabc9e=this['_injector']['get'](I['SheetsSelectionsService'])[_0x21709d(0x1c7)]())==null?void 0x0:_0xfabc9e[0x0],_0x58d846=this[_0x21709d(0x2b6)]['getCurrentUnitForType'](a[_0x21709d(0x204)][_0x21709d(0x352)])[_0x21709d(0x2d5)]();_0x2e8aac&&_0x58d846&&this[_0x21709d(0x29f)](_0x58d846[_0x21709d(0x1c9)](),_0x2e8aac);}[_0x5a0327(0x2c8)](){const _0x3bc060=_0x5a0327;this[_0x3bc060(0x3e4)]=!0x1;}};ve=it([y(0x2,a[_0x5a0327(0x43e)](a[_0x5a0327(0x1c0)])),y(0x3,a[_0x5a0327(0x43e)](Ce)),y(0x4,a[_0x5a0327(0x43e)](u[_0x5a0327(0x345)])),y(0x5,a[_0x5a0327(0x377)]),y(0x6,a[_0x5a0327(0x3d3)]),y(0x7,a[_0x5a0327(0x43e)](I['RefRangeService']))],ve);var ct=Object['getOwnPropertyDescriptor'],lt=(_0x35d094,_0xd1b6cb,_0xa9bb8b,_0x108d9d)=>{for(var _0xd1e669=_0x108d9d>0x1?void 0x0:_0x108d9d?ct(_0xd1b6cb,_0xa9bb8b):_0xd1b6cb,_0xe083d0=_0x35d094['length']-0x1,_0x15a613;_0xe083d0>=0x0;_0xe083d0--)(_0x15a613=_0x35d094[_0xe083d0])&&(_0xd1e669=_0x15a613(_0xd1e669)||_0xd1e669);return _0xd1e669;},ie=(_0x33a63b,_0xf12be6)=>(_0x3e369a,_0x4bffc1)=>_0xf12be6(_0x3e369a,_0x4bffc1,_0x33a63b);let x=class extends a[_0x5a0327(0x313)]{constructor(_0x3c1707,_0x134adf,_0x18c94d){const _0x59cb0c=_0x5a0327;super(),h(this,_0x59cb0c(0x2ed),new Map()),h(this,_0x59cb0c(0x2ee),new d[(_0x59cb0c(0x400))]()),(this[_0x59cb0c(0x2b6)]=_0x3c1707,this[_0x59cb0c(0x42b)]=_0x134adf,this[_0x59cb0c(0x42c)]=_0x18c94d,this[_0x59cb0c(0x428)]());}[_0x5a0327(0x380)](){const _0x3c529b=_0x5a0327;super['dispose'](),this[_0x3c529b(0x2ee)][_0x3c529b(0x3eb)](),this[_0x3c529b(0x2ed)][_0x3c529b(0x22d)](_0x5a67ab=>_0x5a67ab[_0x3c529b(0x380)]());}[_0x5a0327(0x420)](_0x47588c){const _0x262197=_0x5a0327;return this[_0x262197(0x2ed)][_0x262197(0x203)](_0x47588c)?this['_entities'][_0x262197(0x210)](_0x47588c)[_0x262197(0x290)]:this[_0x262197(0x2ee)][_0x262197(0x2f0)](d['filter'](_0x2a2bfb=>_0x2a2bfb[_0x262197(0x342)]===_0x47588c),d[_0x262197(0x343)](_0x2f8ed6=>_0x2f8ed6[_0x262197(0x290)]));}['_init'](){const _0x3cf3c7=_0x5a0327;this[_0x3cf3c7(0x2b6)][_0x3cf3c7(0x2d1)](a[_0x3cf3c7(0x204)][_0x3cf3c7(0x352)])['pipe'](d[_0x3cf3c7(0x1e6)](this[_0x3cf3c7(0x2a9)]))[_0x3cf3c7(0x293)](async _0x198de7=>{const _0x1749bb=_0x3cf3c7,_0x41a243=_0x198de7[_0x1749bb(0x36a)](),_0x64f86=await this[_0x1749bb(0x37a)](_0x41a243);this[_0x1749bb(0x2ee)]['next'](_0x64f86),this[_0x1749bb(0x2ed)][_0x1749bb(0x421)](_0x41a243,_0x64f86);}),this[_0x3cf3c7(0x2b6)][_0x3cf3c7(0x2d1)](a[_0x3cf3c7(0x204)][_0x3cf3c7(0x26b)])['pipe'](d['takeUntil'](this[_0x3cf3c7(0x2a9)]))['pipe'](d['filter'](_0x3d9b2a=>!_0x3d9b2a[_0x3cf3c7(0x36a)]()[_0x3cf3c7(0x39a)]('__')))[_0x3cf3c7(0x293)](async _0x3a3647=>{const _0x5e3056=_0x3cf3c7,_0x3d2724=_0x3a3647[_0x5e3056(0x36a)](),_0x4f3c57=await this[_0x5e3056(0x32f)](_0x3d2724);this[_0x5e3056(0x2ee)][_0x5e3056(0x430)](_0x4f3c57),this[_0x5e3056(0x2ed)][_0x5e3056(0x421)](_0x3d2724,_0x4f3c57);}),d['merge'](this[_0x3cf3c7(0x2b6)]['getTypeOfUnitDisposed$'](a[_0x3cf3c7(0x204)]['UNIVER_DOC']),this[_0x3cf3c7(0x2b6)][_0x3cf3c7(0x240)](a[_0x3cf3c7(0x204)][_0x3cf3c7(0x352)]))[_0x3cf3c7(0x2f0)](d[_0x3cf3c7(0x1e6)](this[_0x3cf3c7(0x2a9)]))[_0x3cf3c7(0x293)](_0x50a8c9=>{const _0x28eeed=_0x3cf3c7,_0x38466a=_0x50a8c9[_0x28eeed(0x36a)](),_0x3229a0=this[_0x28eeed(0x2ed)][_0x28eeed(0x210)](_0x38466a);_0x3229a0&&(_0x3229a0['dispose'](),this[_0x28eeed(0x2ed)][_0x28eeed(0x3c3)](_0x38466a));});}async['_startSheetCollabCursor'](_0x4fe203){const _0x16750b=_0x5a0327,_0x1763cc=await this[_0x16750b(0x42c)][_0x16750b(0x2fc)](_0x4fe203),_0x34f482=this[_0x16750b(0x42b)]['createInstance'](ve,_0x4fe203,_0x1763cc);return _0x34f482[_0x16750b(0x34c)](),_0x34f482;}async[_0x5a0327(0x32f)](_0x41c332){const _0x5be83e=_0x5a0327,_0x3aab8b=await this[_0x5be83e(0x42c)][_0x5be83e(0x2fc)](_0x41c332),_0x269fa7=this[_0x5be83e(0x42b)][_0x5be83e(0x3c4)](Se,_0x41c332,_0x3aab8b);return _0x269fa7[_0x5be83e(0x34c)](),_0x269fa7;}};x=lt([ie(0x0,a[_0x5a0327(0x377)]),ie(0x1,a['Inject'](a['Injector'])),ie(0x2,a[_0x5a0327(0x43e)](u[_0x5a0327(0x32d)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _0x4a86(){const _0x5dc708=['createElement','_startSheetCollabCursor','collaboration.single-unit.warning','RegularPolygon','hasOwnProperty','runId','DOC_RANGE_TYPE','dispose','Disposable','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentRevOfUnit','prototype','arc','_getSheetObject','onStarting','_getAnchorBounding','_initEntityListener','_transformUndoRedoStack','_initStatusComponent','MoveRangeCommandId','toStringTag','getUniverSheetInstance','OTHER_CLIENT_EDITING','throttleTime','Tools','hide','_backgroundColor','subUnitId','@univerjs/sheets','_cursors','univer-offline','on-line-single','DesktopCollaborationStatusDisplayController','startsWith','ALREADY_EXISTS','_httpService','error','...','saveImage','handleInsertRow','xlink:href','0\x200\x2016\x2016','redoState','SOCKET_FAILED_RETRY','application/json','defs','ThemeService','_transformHistoryAndStateStack','loadOfflineData','unit','transformIMECache','key','toRgbString','ILocalStorageService','focused$','OnLineSingle','NodePositionConvertToCursor','YUUMI_RATE_OVER_LIMIT','DisposableCollection','LICENSE_IMPORT_SIZE_EXCEEDED','_memberService','Workbook','CollaborationEvent','_removeCollabCursors','PY_RUNTIME_SCRIPT_ERROR','registerRefRange','_textBubble','imageSourceType','IBeforeCloseService','_handleHover','LICENSE_DISTRO_REJECTED','_collaborationUIEventService','startRow','getStateCache','delete','createInstance','ONLINE','_transformPreviousActiveRange','attrs','map','height','getSkeleton','_send','_getMergeRange','COLORS','column','defIds','OTHER_CLIENTS_EDITING','roomMembers$','engine','ICommandService','beginPath','ITransformService','UPDATE_CURSOR','_config','ACTIVE_UNIT_EVENT_CHANNEL','490384kjHQbh','_anchorDot','searchParams','_registerDependencies','_disabled','CHANGESET_REVISION_CONFILICT','getCoordByCell','IUIPartsService','getSheetObject','getOwnPropertyDescriptor','removeParam','_online','transformMutationsWithChangeset','entityInit$','sheetID','_session','mergeOverrideWithDependencies','width','complete','_handleJoinEvent','getMemberID','Shape','UnitStatus','_logService','editingUnit','concat','assign','_updateURLWithCurrentState','addEventListener','enableLocalCache','486836PBxMXq','TRANSFORM_CHANGE_OBSERVABLE_TYPE','executeCommand','eventID','entries','@univerjs/engine-formula','getUnhiddenWorksheets','CollaborationDataLoaderController','ticket','Subject','_unitOnClients','textRanges','_initEvent','_configService','colorChannel1','off-line-single','restore','lineTo','SetSelectionsOperation','JOIN_ROOM_FAILED','Unknown\x20user','add','IMessageService','collab-client.tooltip.reconnect','InsertRangeMoveDownCommandId','getColor','@univerjs/core','data','onlineStatusIcon','off-line-single_clip0_910_343','debounceTime','EffectRefRangId','PERMISSION_DENIED','_assignedColors','tag','RemoteUniscriptService','override','NOT_FOUND','NOT_COLLAB','forwardRef','url(#off-line-single_clip0_910_343)','getCollabCursors$','set','#FFF','with','InsertRangeMoveRightCommandId','collaboration.closeRoom','getMergeData','location','_init','_collabCursorState$','_handleHeartbeatEvent','_injector','_collabSessionService','_saveCache','_hovered','IConfigService','next','show','UNRECOGNIZED','replaceState','use','font','univer-flex\x20univer-items-center','addClipboardHook','sessionStatus$','collabStatus.syncing','SHEET_VIEWPORT_KEY','sheetId','_instanceService','uni.network.url-service','Inject','Error','triggerDblclick','onCommandExecuted','includes','_docTransformSelectionsService','saveOfflineData','unshift','popstate','YUUMI_UNABLE_LOAD_URL','Injector','actions','_getSessionTicket','transformMutation','IImageIoService','getCurrent','OFFLINE','getCurrentSelections','_color','getSheetId','getParam','INotificationService','BuiltInUIPart','setAlpha','getActiveRange','handleDeleteRangeMoveUp','_urlService','currentTheme$','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','some','_transformService','subscribeEvent','syncEditingCollabCursor','runRefRangeMutations','IRemoteInstanceService','@univerjs-pro/collaboration-client','_handleEvent','idSuffix','startColumn','[RemoteUniscriptService]:\x20no\x20focused\x20unit','path','_syncEditingCollabCursorService','_beforeCloseService','ISocketService','top','_document','univerjs-icon\x20univerjs-icon-','getConfig','takeUntil','fromEventSubject','pluginName','getRenderById','_shapes','_refRangeService','DocCollaborationEntity','getCollabEntity$','_eventUnsubscribe','div','_cursor','save','trim','disposeUnit','5486144FGMmme','deserializeRangeWithSheet','_draw','_updateSubUnitFromURLParams','_heartbeatTimer','_cachedData','_sheetSkeletonManagerService','3gpoLYQ','transformStateCache','onPointerEnter$','LICENSE_EXPORT_SIZE_EXCEEDED','isActive','_scene','CollaborationUIEventId','indexOf','has','UniverInstanceType','Failed','@univerjs/rpc','SYNCED','blue400','_roomMembers$','body','getUnitStatus$','getAncestorScale','APPLY_NON_SEQUENTIAL_REVISION','SOCKET_FAILED','BrowserCollaborationSocketService','get','collabCursorState$','LOCAL_CACHE_INTERVAL_KEY','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','filter','collab-text-range-','#fff','_removeClearOtherTimer','1359459tdoFQY','InsertColCommandId','CollaborationController','range','fillRule','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_registerRenderDependencies','assignAColorForMemberID','_getSaveTimeout','handleMoveRange','_labelPosition','size','INTERNAL_ERROR','push','_ensureSubject','CollaborationStatus','url(#$1','getUndoRedoMutationParamsCache','params','SheetSkeletonManagerService','_status$','forEach','_drawAnchor','APPLY_REJECT','replace','CollaborationStatusDisplay','_drawTextRange','CONNECTOR_DATA_TOO_LARGE','min','LocaleService','updateOfflineData','ISnapshotServerService','name','_handleLeaveEvent','call','SNAPSHOT_INVALID_SNAPSHOT','combineLatest','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','DependentOn','transformByState','getTypeOfUnitDisposed$','UNAUTHENTICATED','_onCursorUpdate','collaboration-client-ui.config','propertyIsEnumerable','makeDirty','code','@univerjs-pro/collaboration','UniverCollaborationClientUIPlugin','children','jsx','_selfUnitIDs','_colorIndex','session.will-retry','isTransformMutationsWithChangesetSuccess','FETCH_MISS','RevisionService','_onCursorDelete','handleInsertRangeMoveDown','runOnServer','find','session.collaboration-timeout','executionId','RichTextEditingMutation','NO_OTHER_CLIENTS_EDITING','onPointerMove$','_drawRectRange','CommandType','setItem','FromArray','HTTPService','clearTimeout','rgba(255,\x20255,\x20255,\x200.01)','_context','@univerjs/design','getRangePointData','flatMap','_localeService','SessionStatus','CollaborationUIEventService','generateRandomId','Tooltip','_imageIoService','UNIVER_DOC','609944TmdCcO','_setupBeforeClosingHandler','_clearOtherTimers','_onRefRangeChange','1894710iDWulg','mutations','transform','_updateCollabCursors','SetWorksheetActivateCommand','_themeService','_name','_cursorInfo$','@univerjs/docs','fillStyle','disposeWithMe','endColumn','clearInterval','debounce','currentSkeleton$','useRef','memberID','_localCacheService','_initCommandExecutedListener','deepClone','isTransformMutationFailure','_initStatusListener','_doCreateSocket','from','_collabCursorController','_render','_lastPointer','labelPosition','DeleteRangeMoveLeftCommandId','roomMembers','url(#on-line-single_clip0_910_349)','_scheduleClearOtherTimer','cursorInfo$','backgroundColor','distinctUntilChanged','subscribe','cursorInfo','setStateCache','fill','AWAITING_WITH_PENDING','subunit','setParam','setActiveRange','_setupSubUnitSync','DocIMEInputManagerService','registerComponent','ranges','_updateLocalCursor','Rectangle','getSheetBySheetId','collabStatus.offline','split','whenReady','currentColor','_docTransformStateCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','3875350plRUnK','dispose$','stringify','collabStatus.notCollab','unitId','onlineStatus','string','defineProperty','univer-online','@univerjs/docs-ui','m1Prime','setConfig','@univerjs/sheets-ui','verdancy600','_univerInstanceService','_docClipboardService','online','UniverIcon','toDisposable','color','contains','clsx','search','useCallback','DeleteRangeMoveUpCommandId','reconnect','getItem','m2Prime','WebBrowserSingleActiveUnitService','drawWith','length','addObjects','_toggleOffline','Warning','IURLService','SetDocZoomRatioOperation','random','newValue','ILogService','history','parse','getTypeOfUnitAdded$','createIdentifier','hovered','row','getActiveSheet','_scheduleHeartbeat','registerBeforeClose','MessageType','function','apply','addObject','TEXT_RANGE_LAYER_INDEX','_collaborationController','docStateChange$','CLOSE_ROOM','displayName','svg','selection','type','MUTATION','react/jsx-runtime','_docSyncEditingCollabCursorService','findNodePositionByCharIndex','DocSkeletonManagerService','replaceDocRanges','getFocusedUnit','setUndoRedoMutationParamsCache','ColorKit','_entities','_entityInit$','UNDEFINED','pipe','text','_anchor','_hover','_docStateChangeManagerService','red300','USERS_LEAVE','onMouseMove','0\x200\x2017\x2016','purple300','_notificationService','collab-text-anchor-','requireSession','Rect','skeleton','jiqing500','_scheduleSaving','_getScale','evenodd','fillText','_localStorageService','DocSelectionManagerService','Module','createSocket','values','round','_refreshCollabCursors','all','post','mapTo','transformSelections','exhaustSavingTask','selections','endRow','_range','RxDisposable','APPLY_REVISION_CONFILICT','onTransformChange$','WebURLService','resize','collabStatus.synced','black','6rvMkuu','_saveTaskMap','none','urlChange$','collabStatus.conflict','RemoveColCommandId','pushState','fromEvent','NodePositionConvertToRectRange','result','rxjs','getMember','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_DUPLICATED','LICENSE_MAX_UNITS_EXCEEDED','INVALID_ARGUMENT','then','_revisionService','_unitStatus','CollaborationSessionService','wsSessionTicketUrl','_startDocCollabCursor','gold400','_cursorShapes','Optional','useDependency','asObservable','_colorAssignService','isEditing','Vector2','_initResize','sessionTicket','1em','toString','closePath','_commandService','saveTaskMap','getValue','connectInjector','setInterval','unitID','switchMap','TEXT','MemberService','on-line-single_clip0_910_349','getCellPositionByOffset','icon','setTimeout','collabStatus.fetchMiss','bottom','init','SetTextSelectionsOperation','UniverCollaborationClientPlugin','onlineStatusTitle','unsubscribe','_messageService','UNIVER_SHEET','[CollaborationDataLoaderController]','IDocClipboardService','_renderManagerService','_docTransformIMECacheService','getDocRanges','transformRemoteChangeset','handleIRemoveCol','registerRenderModule','source','event$','doc.mutation.rich-text-editing','AWAITING','setShapeProps','jsxs','onPointerLeave$','_toggleOnline','univer-online-status-title','className','measureText','handleInsertRangeMoveRight','_hideTimer','BehaviorSubject','mask','getUnitId','undoState','RECT','react','CONFLICT','rxjs/operators','_id','getLocalCacheKey','_dataLoaderService','15lwODWb','onLocalMutation','ENSURE_SNAPSHOT_EXECUTION','_docSkeletonManagerService','IUniverInstanceService','href'];_0x4a86=function(){return _0x5dc708;};return _0x4a86();}function _t(_0x2596bb,_0x31d00c){const _0x34ee97=_0x5a0327;let {radius:_0x21e15a,width:_0x120d2c,height:_0x507593}=_0x31d00c;_0x21e15a=_0x21e15a!=null?_0x21e15a:0x0,_0x120d2c=_0x120d2c!=null?_0x120d2c:0x1e,_0x507593=_0x507593!=null?_0x507593:0x1e;let _0x4b0d8c=0x0,_0x143f87=0x0,_0x5513ae=0x0;_0x4b0d8c=_0x143f87=_0x5513ae=Math['min'](_0x21e15a,_0x120d2c/0x2,_0x507593/0x2),_0x2596bb[_0x34ee97(0x3d4)](),_0x2596bb['moveTo'](_0x4b0d8c,0x0),_0x2596bb[_0x34ee97(0x408)](_0x120d2c-_0x143f87,0x0),_0x2596bb[_0x34ee97(0x385)](_0x120d2c-_0x143f87,_0x143f87,_0x143f87,Math['PI']*0x3/0x2,0x0,!0x1),_0x2596bb['lineTo'](_0x120d2c,_0x507593-_0x5513ae),_0x2596bb[_0x34ee97(0x385)](_0x120d2c-_0x5513ae,_0x507593-_0x5513ae,_0x5513ae,0x0,Math['PI']/0x2,!0x1),_0x2596bb[_0x34ee97(0x408)](0x0,_0x507593),_0x2596bb['lineTo'](0x0,_0x4b0d8c),_0x2596bb[_0x34ee97(0x385)](_0x4b0d8c,_0x4b0d8c,_0x4b0d8c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2596bb[_0x34ee97(0x33c)](),_0x31d00c[_0x34ee97(0x296)]&&(_0x2596bb['save'](),_0x2596bb['fillStyle']=_0x31d00c[_0x34ee97(0x296)],_0x31d00c[_0x34ee97(0x21c)]===_0x34ee97(0x302)?_0x2596bb[_0x34ee97(0x296)](_0x34ee97(0x302)):_0x2596bb[_0x34ee97(0x296)](),_0x2596bb[_0x34ee97(0x407)]());}class te extends p[_0x5a0327(0x3ee)]{constructor(_0x22f4b8,_0x3a8283){const _0x14bcb8=_0x5a0327;super(_0x22f4b8,_0x3a8283),h(this,_0x14bcb8(0x2bb)),h(this,_0x14bcb8(0x2f1)),(this[_0x14bcb8(0x2bb)]=_0x3a8283==null?void 0x0:_0x3a8283['color'],this[_0x14bcb8(0x2f1)]=_0x3a8283==null?void 0x0:_0x3a8283[_0x14bcb8(0x2f1)]);}static['drawWith'](_0xdd590b,_0x155bd2){const _0x4c7204=_0x5a0327,{text:_0x582736,color:_0x449178}=_0x155bd2;_0xdd590b[_0x4c7204(0x1f1)](),_0xdd590b[_0x4c7204(0x435)]=_0x4c7204(0x213);const _0x163c4c=_0xdd590b[_0x4c7204(0x365)](_0x582736)['width'],_0x19af73=Math[_0x4c7204(0x234)](_0x163c4c+0x2*re,De);_t(_0xdd590b,{'height':K,'radius':0x4,'width':_0x19af73,'fill':_0x449178}),_0xdd590b[_0x4c7204(0x279)]=_0x4c7204(0x422);const _0x55c281=re,_0x63471c=K-ht,_0x36ee5a=De-0x2*re;if(_0x163c4c>_0x36ee5a){let _0x32a075='',_0x4c3d2d=0x0;for(const _0x396882 of _0x582736){const _0x57f807=_0xdd590b[_0x4c7204(0x365)](_0x396882)['width'];if(_0x4c3d2d+_0x57f807<=_0x36ee5a-_0xdd590b['measureText'](_0x4c7204(0x39e))[_0x4c7204(0x3ea)])_0x32a075+=_0x396882,_0x4c3d2d+=_0x57f807;else{_0x32a075+=_0x4c7204(0x39e);break;}}_0xdd590b[_0x4c7204(0x303)](_0x32a075,_0x55c281,_0x63471c);}else _0xdd590b['fillText'](_0x582736,_0x55c281,_0x63471c);_0xdd590b[_0x4c7204(0x407)]();}['_draw'](_0x199f32){const _0x313e3e=_0x5a0327;te[_0x313e3e(0x2c5)](_0x199f32,this);}}const oe=_0x5a0327(0x2fb),ut=_0x5a0327(0x215),dt='collab-rect-range-',B=0x6,ft=1.5,ae=0x4,St=1.5,vt=_0x5a0327(0x260);class Ue{constructor(_0x8e2ad0,_0x37fef3,_0x1d862f,_0x3e2f19){const _0xa55d04=_0x5a0327;h(this,_0xa55d04(0x1ea),[]),h(this,_0xa55d04(0x2f2),null),h(this,_0xa55d04(0x3bb),null),h(this,_0xa55d04(0x3da),null),h(this,'_hideTimer',null),h(this,_0xa55d04(0x1ee),null),(this[_0xa55d04(0x1f0)]=_0x8e2ad0,this[_0xa55d04(0x200)]=_0x37fef3,this['_docSkeleton']=_0x1d862f,this[_0xa55d04(0x1e3)]=_0x3e2f19,this[_0xa55d04(0x289)]());}set['_hover'](_0x327ee2){const _0x5c9001=_0x5a0327;_0x327ee2?(this['_anchorDot']&&this['_anchorDot'][_0x5c9001(0x392)](),this[_0x5c9001(0x3bb)]&&this[_0x5c9001(0x3bb)][_0x5c9001(0x431)]()):(this[_0x5c9001(0x3da)]&&this[_0x5c9001(0x3da)][_0x5c9001(0x431)](),this[_0x5c9001(0x3bb)]&&this[_0x5c9001(0x3bb)][_0x5c9001(0x392)]());}['dispose'](){const _0xc25b9a=_0x5a0327;for(const _0x516351 of this[_0xc25b9a(0x1ea)])_0x516351[_0xc25b9a(0x380)]();this['_textBubble']&&this[_0xc25b9a(0x3bb)][_0xc25b9a(0x380)](),this[_0xc25b9a(0x3da)]&&this[_0xc25b9a(0x3da)][_0xc25b9a(0x380)](),this[_0xc25b9a(0x2f2)]&&this[_0xc25b9a(0x2f2)][_0xc25b9a(0x380)](),this[_0xc25b9a(0x1ee)]&&this['_eventUnsubscribe']();}['_render'](){const _0x3758be=_0x5a0327;var _0x4b6085;const {_docSkeleton:_0xd6a994,_document:_0x4414cd}=this,{color:_0x2c73d6,name:_0x5d7592,ranges:_0x2581e3}=this[_0x3758be(0x1f0)],_0x25ab27=_0x4414cd['getOffsetConfig'](),{docsLeft:_0x399557,docsTop:_0x148bbc}=_0x25ab27,_0x5c85b1=new b[(_0x3758be(0x3b1))](_0x25ab27,_0xd6a994);for(const {startOffset:_0x4aabf9,endOffset:_0x557ab1,rangeType:_0x44a38f,segmentId:_0x2db248,segmentPage:_0x3e7ea9,collapsed:_0x1df29c,isActive:_0x18efee}of _0x2581e3){const _0x253c01=_0xd6a994[_0x3758be(0x2e7)](_0x4aabf9,!0x0,_0x2db248,_0x3e7ea9);let _0x2c491a=_0xd6a994[_0x3758be(0x2e7)](_0x557ab1,!0x0,_0x2db248,_0x3e7ea9);if(_0x2c491a==null&&(_0x2c491a=_0xd6a994[_0x3758be(0x2e7)](_0x557ab1-0x1,!0x1,_0x2db248,_0x3e7ea9)),_0x18efee){const {contentBoxPointGroup:_0x509b01}=_0x5c85b1['getRangePointData'](_0x2c491a,_0x2c491a);if(_0x509b01[_0x3758be(0x2c6)]===0x0)continue;this[_0x3758be(0x22e)](_0x2c73d6,_0x509b01,_0x399557,_0x148bbc,_0x5d7592),this['_eventUnsubscribe']=this[_0x3758be(0x3be)]();}if(_0x253c01&&_0x2c491a){if(_0x44a38f===a[_0x3758be(0x37f)][_0x3758be(0x36c)]){const _0x121fb0=new b[(_0x3758be(0x322))](_0x25ab27,_0xd6a994),{pointGroup:_0x2443b2}=(_0x4b6085=_0x121fb0[_0x3758be(0x263)](_0x253c01,_0x2c491a))!=null?_0x4b6085:{};if(_0x2443b2==null||_0x2443b2['length']===0x0)continue;this[_0x3758be(0x25a)](_0x2c73d6,_0x2443b2,_0x399557,_0x148bbc);}else{if(!_0x1df29c){const {borderBoxPointGroup:_0x31464d}=_0x5c85b1[_0x3758be(0x263)](_0x253c01,_0x2c491a);if(_0x31464d[_0x3758be(0x2c6)]===0x0)continue;this['_drawTextRange'](_0x2c73d6,_0x31464d,_0x399557,_0x148bbc);}}}}}[_0x5a0327(0x22e)](_0x18aa7f,_0x18397a,_0xecf96a,_0x237144,_0x358464){const _0x1b5b4f=_0x5a0327,_0x3d9fd4=this[_0x1b5b4f(0x388)](_0x18397a),{left:_0x308e10,top:_0x57f3a7,height:_0x28143e}=_0x3d9fd4,_0x5c3398=this[_0x1b5b4f(0x301)](),_0x3544e5=St/_0x5c3398,_0x54e02b=new p['Rect'](oe+a[_0x1b5b4f(0x391)][_0x1b5b4f(0x268)](B),{'left':_0x308e10+_0xecf96a-_0x3544e5,'top':_0x57f3a7+_0x237144,'height':_0x28143e,'width':ft,'fill':_0x18aa7f||p['getColor'](a[_0x1b5b4f(0x3cd)][_0x1b5b4f(0x319)],0x0),'strokeWidth':_0x3544e5,'stroke':vt,'evented':!0x0});this[_0x1b5b4f(0x2f2)]=_0x54e02b,this[_0x1b5b4f(0x200)][_0x1b5b4f(0x2db)](_0x54e02b,b[_0x1b5b4f(0x2dc)]);const _0x4ad9fe=new p[(_0x1b5b4f(0x2fd))](oe+a[_0x1b5b4f(0x391)][_0x1b5b4f(0x268)](B),{'left':_0x308e10+_0xecf96a-_0x3544e5,'top':_0x57f3a7+_0x237144-ae/0x2,'height':ae,'width':ae,'fill':_0x18aa7f||p[_0x1b5b4f(0x410)](a[_0x1b5b4f(0x3cd)][_0x1b5b4f(0x319)],0x0),'strokeWidth':0x0,'stroke':_0x18aa7f||p[_0x1b5b4f(0x410)](a[_0x1b5b4f(0x3cd)][_0x1b5b4f(0x319)],0x0),'evented':!0x1});this['_anchorDot']=_0x4ad9fe,this['_scene'][_0x1b5b4f(0x2db)](_0x4ad9fe,b[_0x1b5b4f(0x2dc)]);const _0x38a836=new te(oe+a[_0x1b5b4f(0x391)]['generateRandomId'](B),{'left':_0x308e10+_0xecf96a-_0x3544e5,'top':_0x57f3a7+_0x237144-K,'text':_0x358464,'color':_0x18aa7f});this['_textBubble']=_0x38a836,this['_scene'][_0x1b5b4f(0x2db)](_0x38a836,b[_0x1b5b4f(0x2dc)]),this[_0x1b5b4f(0x2f3)]=!0x1;}[_0x5a0327(0x3be)](){const _0x202bc8=_0x5a0327,_0x450939=this[_0x202bc8(0x2f2)][_0x202bc8(0x1fd)][_0x202bc8(0x1d5)](()=>{const _0x98cede=_0x202bc8;this[_0x98cede(0x2f3)]=!0x0;}),_0x2ce291=this[_0x202bc8(0x2f2)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x49a482=_0x202bc8;this[_0x49a482(0x367)]&&clearTimeout(this[_0x49a482(0x367)]),this[_0x49a482(0x367)]=setTimeout(()=>{const _0x45c054=_0x49a482;this[_0x45c054(0x2f3)]=!0x1;},0x7d0);});return()=>{const _0x47486d=_0x202bc8;_0x450939[_0x47486d(0x350)](),_0x2ce291[_0x47486d(0x350)]();};}[_0x5a0327(0x232)](_0x1b9feb,_0x54b05d,_0x456940,_0x449942){const _0x3d6041=_0x5a0327,_0xec323b=new a[(_0x3d6041(0x2ec))](_0x1b9feb)[_0x3d6041(0x1cd)](0.2)[_0x3d6041(0x3ad)](),_0x335b37=new p['RegularPolygon'](ut+a[_0x3d6041(0x391)][_0x3d6041(0x268)](B),{'pointsGroup':_0x54b05d,'fill':_0xec323b||p[_0x3d6041(0x410)](a[_0x3d6041(0x3cd)][_0x3d6041(0x319)],0.2),'left':_0x456940,'top':_0x449942,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3d6041(0x1ea)][_0x3d6041(0x225)](_0x335b37),this[_0x3d6041(0x200)][_0x3d6041(0x2db)](_0x335b37,b[_0x3d6041(0x2dc)]);}['_drawRectRange'](_0x55c27f,_0x1d42a5,_0x1a4c23,_0x530840){const _0x3842af=_0x5a0327,_0xec7ae3=new a[(_0x3842af(0x2ec))](_0x55c27f)[_0x3842af(0x1cd)](0.2)[_0x3842af(0x3ad)](),_0x1bd26f=new p[(_0x3842af(0x37c))](dt+a['Tools'][_0x3842af(0x268)](B),{'pointsGroup':_0x1d42a5,'fill':_0xec7ae3||p[_0x3842af(0x410)](a[_0x3842af(0x3cd)]['black'],0.2),'left':_0x1a4c23,'top':_0x530840,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3842af(0x1ea)][_0x3842af(0x225)](_0x1bd26f),this[_0x3842af(0x200)]['addObject'](_0x1bd26f,b[_0x3842af(0x2dc)]);}[_0x5a0327(0x388)](_0x197677){const _0x583069=_0x197677[0x0],_0x3cca08=_0x583069[0x0],_0xc5c84c=_0x583069[0x2],{x:_0x37b86c,y:_0x5aca76}=_0x3cca08,{x:_0x701ed4,y:_0x1c18c0}=_0xc5c84c;return{'left':_0x37b86c,'top':_0x5aca76,'width':_0x701ed4-_0x37b86c,'height':_0x1c18c0-_0x5aca76};}[_0x5a0327(0x301)](){const _0x59c46d=_0x5a0327,{scaleX:_0x3325ec,scaleY:_0x51d50f}=this[_0x59c46d(0x200)][_0x59c46d(0x20c)]();return Math['max'](_0x3325ec,_0x51d50f);}}var gt=Object[_0x5a0327(0x3e2)],It=(_0x149abf,_0x3c5dbf,_0x4da8ab,_0x17ca4c)=>{for(var _0x43c0db=_0x17ca4c>0x1?void 0x0:_0x17ca4c?gt(_0x3c5dbf,_0x4da8ab):_0x3c5dbf,_0x4455b0=_0x149abf['length']-0x1,_0x16ae48;_0x4455b0>=0x0;_0x4455b0--)(_0x16ae48=_0x149abf[_0x4455b0])&&(_0x43c0db=_0x16ae48(_0x43c0db)||_0x43c0db);return _0x43c0db;},X=(_0x14f821,_0xecc713)=>(_0x14f876,_0x64cfea)=>_0xecc713(_0x14f876,_0x64cfea,_0x14f821);let ge=class extends a[_0x5a0327(0x313)]{constructor(_0x3528fe,_0xba11c3,_0xe64b34,_0x42ad69,_0x5aac51){const _0xda8043=_0x5a0327;super(),h(this,_0xda8043(0x331),[]),h(this,_0xda8043(0x396),[]),(this[_0xda8043(0x261)]=_0x3528fe,this[_0xda8043(0x376)]=_0xba11c3,this[_0xda8043(0x288)]=_0xe64b34,this['_commandService']=_0x42ad69,this[_0xda8043(0x275)]=_0x5aac51,this[_0xda8043(0x428)]());}[_0x5a0327(0x428)](){const _0x17eb6f=_0x5a0327,_0x431270=this[_0x17eb6f(0x261)][_0x17eb6f(0x2ac)],_0xe29428=this[_0x17eb6f(0x376)];this['disposeWithMe'](d[_0x17eb6f(0x23c)]([this[_0x17eb6f(0x288)]['getCollabCursors$'](_0x431270),this[_0x17eb6f(0x275)][_0x17eb6f(0x1d1)]])[_0x17eb6f(0x2f0)]($[_0x17eb6f(0x3c8)](([_0x47bf31,_0x319cd0])=>({'skeleton':_0xe29428['getSkeleton'](),'cursors':[..._0x47bf31['values']()][_0x17eb6f(0x264)](_0xdabca0=>({..._0xdabca0,'color':_0x319cd0[_0xdabca0[_0x17eb6f(0x2bb)]]}))})))['subscribe'](_0x1c6ed5=>{const _0x27ab3a=_0x17eb6f;if(this['_removeCollabCursors'](),_0x1c6ed5){const {skeleton:_0x328cb1,cursors:_0x3b71a6}=_0x1c6ed5;this[_0x27ab3a(0x273)](_0x328cb1,_0x3b71a6);}})),this[_0x17eb6f(0x338)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x447a5a,_0x165bec){const _0x85672f=_0x5a0327,{scene:_0x26de08,mainComponent:_0x2e68bc}=this['_context'],_0x526ea6=_0x165bec[_0x85672f(0x3c8)](_0x4b5f30=>new Ue(_0x4b5f30,_0x26de08,_0x447a5a,_0x2e68bc));this[_0x85672f(0x331)]=_0x526ea6,this[_0x85672f(0x396)]=_0x165bec;}[_0x5a0327(0x30a)](){const _0x1b58a0=_0x5a0327;this[_0x1b58a0(0x3b8)]();const {scene:_0x2d589f,mainComponent:_0x4b9b09}=this[_0x1b58a0(0x261)],_0xceb0ac=this['_docSkeletonManagerService'][_0x1b58a0(0x3ca)](),_0x60f4e7=this[_0x1b58a0(0x396)][_0x1b58a0(0x3c8)](_0x224515=>new Ue(_0x224515,_0x2d589f,_0xceb0ac,_0x4b9b09));this[_0x1b58a0(0x331)]=_0x60f4e7;}['_removeCollabCursors'](){const _0x3e8dd3=_0x5a0327;this[_0x3e8dd3(0x331)][_0x3e8dd3(0x22d)](_0x22ea68=>_0x22ea68[_0x3e8dd3(0x380)]()),this['_cursorShapes']=[];}[_0x5a0327(0x282)](){const _0x56748f=_0x5a0327,_0x42ca13=[b[_0x56748f(0x2cb)]['id']];this[_0x56748f(0x27a)](this[_0x56748f(0x33d)][_0x56748f(0x441)](_0x1d3462=>{const _0x159c64=_0x56748f;_0x42ca13[_0x159c64(0x1ba)](_0x1d3462['id'])&&_0x1d3462[_0x159c64(0x22a)][_0x159c64(0x2ac)]===this['_context'][_0x159c64(0x2ac)]&&this[_0x159c64(0x30a)]();}));}[_0x5a0327(0x338)](){const _0xce2366=_0x5a0327;this[_0xce2366(0x27a)](a[_0xce2366(0x1e7)](this[_0xce2366(0x261)][_0xce2366(0x3d2)][_0xce2366(0x315)])['pipe']($[_0xce2366(0x214)](_0x53a9aa=>_0x53a9aa[_0xce2366(0x2e3)]===p[_0xce2366(0x3f8)][_0xce2366(0x317)]),$[_0xce2366(0x390)](0x10))['subscribe'](()=>{const _0x1bc639=_0xce2366;this[_0x1bc639(0x30a)]();}));}};ge=It([X(0x1,a[_0x5a0327(0x43e)](Y[_0x5a0327(0x2e8)])),X(0x2,a[_0x5a0327(0x43e)](x)),X(0x3,a[_0x5a0327(0x3d3)]),X(0x4,a[_0x5a0327(0x43e)](a[_0x5a0327(0x3a7)]))],ge);const mt=0x1,Ct=1.5;class ye extends p[_0x5a0327(0x3ee)]{constructor(_0x88bf32,_0x4267d3){const _0xca7f8c=_0x5a0327;super(_0x88bf32,_0x4267d3),h(this,_0xca7f8c(0x1c8)),h(this,_0xca7f8c(0x42e),!0x1),h(this,_0xca7f8c(0x312)),h(this,_0xca7f8c(0x276),''),h(this,_0xca7f8c(0x222),_0xca7f8c(0x1e2)),h(this,_0xca7f8c(0x393)),(_0x4267d3&&this[_0xca7f8c(0x35f)](_0x4267d3),this['onPointerEnter$'][_0xca7f8c(0x1d5)](()=>this[_0xca7f8c(0x35f)]({'hovered':!0x0})),this[_0xca7f8c(0x361)][_0xca7f8c(0x1d5)](()=>this[_0xca7f8c(0x35f)]({'hovered':!0x1})));}['setShapeProps'](_0x2e1c58){const _0x273b82=_0x5a0327;var _0xbd4f8d,_0x3358e8,_0x1103e3,_0xf7af2f,_0x263947,_0x279a11;this['_color']=(_0xbd4f8d=_0x2e1c58[_0x273b82(0x2bb)])!=null?_0xbd4f8d:this[_0x273b82(0x1c8)],this[_0x273b82(0x42e)]=(_0x3358e8=_0x2e1c58[_0x273b82(0x2d3)])!=null?_0x3358e8:this['_hovered'],this[_0x273b82(0x312)]=(_0x1103e3=_0x2e1c58[_0x273b82(0x21b)])!=null?_0x1103e3:this[_0x273b82(0x312)],this[_0x273b82(0x276)]=(_0xf7af2f=_0x2e1c58[_0x273b82(0x238)])!=null?_0xf7af2f:this[_0x273b82(0x276)],this[_0x273b82(0x222)]=(_0x263947=_0x2e1c58[_0x273b82(0x28b)])!=null?_0x263947:this[_0x273b82(0x222)],this[_0x273b82(0x393)]=(_0x279a11=_0x2e1c58[_0x273b82(0x291)])!=null?_0x279a11:this['_backgroundColor'],this[_0x273b82(0x23f)]({'width':_0x2e1c58[_0x273b82(0x3ea)],'height':_0x2e1c58[_0x273b82(0x3c9)]});}[_0x5a0327(0x2f7)](_0x1efc29){const _0x5174ff=_0x5a0327,{row:_0x1aae52,column:_0x493941}=_0x1efc29;if(_0x1aae52>=this['_range'][_0x5174ff(0x3c1)]&&_0x1aae52<=this['_range'][_0x5174ff(0x311)]&&_0x493941>=this['_range'][_0x5174ff(0x1dc)]&&_0x493941<=this[_0x5174ff(0x312)][_0x5174ff(0x27b)]){this[_0x5174ff(0x35f)]({'hovered':!0x0});return;}this[_0x5174ff(0x35f)]({'hovered':!0x1});}[_0x5a0327(0x440)](_0x1a803d){return!0x1;}[_0x5a0327(0x1f6)](_0x3a0b47){const _0xe3ac14=_0x5a0327;p['Rect'][_0xe3ac14(0x2c5)](_0x3a0b47,{'width':this[_0xe3ac14(0x3ea)],'height':this[_0xe3ac14(0x3c9)],'strokeWidth':Ct,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xe3ac14(0x393)]}),this[_0xe3ac14(0x42e)]&&(_0x3a0b47['save'](),_0x3a0b47[_0xe3ac14(0x272)](0x1,0x0,0x0,0x1,this[_0xe3ac14(0x3ea)],this[_0xe3ac14(0x222)]===_0xe3ac14(0x34b)?0x0:-0x14),te[_0xe3ac14(0x2c5)](_0x3a0b47,{'text':this[_0xe3ac14(0x276)],'color':this[_0xe3ac14(0x1c8)]}),_0x3a0b47['restore']());}}var pt=Object[_0x5a0327(0x3e2)],bt=(_0x516747,_0x110b55,_0x2e06f2,_0x2c54d7)=>{const _0x148713=_0x5a0327;for(var _0x3a6ba4=_0x2c54d7>0x1?void 0x0:_0x2c54d7?pt(_0x110b55,_0x2e06f2):_0x110b55,_0x2173f2=_0x516747[_0x148713(0x2c6)]-0x1,_0x12c92a;_0x2173f2>=0x0;_0x2173f2--)(_0x12c92a=_0x516747[_0x2173f2])&&(_0x3a6ba4=_0x12c92a(_0x3a6ba4)||_0x3a6ba4);return _0x3a6ba4;},ce=(_0x2fb265,_0x3abbee)=>(_0x50d1d7,_0xf58771)=>_0x3abbee(_0x50d1d7,_0xf58771,_0x2fb265);const Et=0x1389;let Ie=class extends a[_0x5a0327(0x313)]{constructor(_0x5a0c34,_0x35ddf1,_0xb7766a,_0x41dfe8){const _0x3ecb20=_0x5a0327;super(),h(this,_0x3ecb20(0x396),new Set()),h(this,_0x3ecb20(0x28a),null),(this['_context']=_0x5a0c34,this['_sheetSkeletonManagerService']=_0x35ddf1,this[_0x3ecb20(0x288)]=_0xb7766a,this[_0x3ecb20(0x275)]=_0x41dfe8,this[_0x3ecb20(0x428)]());}[_0x5a0327(0x428)](){const _0x4fd3a6=_0x5a0327;this[_0x4fd3a6(0x1fa)]['currentSkeleton$']['pipe']($[_0x4fd3a6(0x1e6)](this[_0x4fd3a6(0x2a9)]),$[_0x4fd3a6(0x343)](_0x37eaa7=>{const _0x4e33d8=_0x4fd3a6;if(_0x37eaa7){const _0x395acb=_0x37eaa7[_0x4e33d8(0x43b)];return d[_0x4e33d8(0x23c)](this[_0x4e33d8(0x288)][_0x4e33d8(0x420)](this['_context'][_0x4e33d8(0x2ac)]),this[_0x4e33d8(0x275)][_0x4e33d8(0x1d1)])[_0x4e33d8(0x2f0)]($[_0x4e33d8(0x3c8)](([_0x1e5957,_0x2326f5])=>{const _0x478007=_0x4e33d8,_0x5d8941=new Map();return _0x1e5957[_0x478007(0x22d)]((_0x361d1e,_0x29c7c)=>{const _0x2ca4e7=_0x478007;if(_0x361d1e[_0x2ca4e7(0x3e7)]===_0x395acb){const _0x356763={..._0x361d1e};_0x356763[_0x2ca4e7(0x2bb)]=_0x2326f5[_0x361d1e[_0x2ca4e7(0x2bb)]],_0x5d8941[_0x2ca4e7(0x421)](_0x29c7c,_0x356763);}}),{'skeleton':_0x37eaa7,'cursors':_0x5d8941};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x4fd3a6(0x293)](({skeleton:_0x426dd8,cursors:_0x266f28})=>{const _0x2f8a8f=_0x4fd3a6;this[_0x2f8a8f(0x3b8)](),_0x426dd8&&this['_updateCollabCursors'](_0x426dd8,_0x266f28);}),this[_0x4fd3a6(0x1fa)][_0x4fd3a6(0x27e)][_0x4fd3a6(0x293)](_0x222b0c=>{const _0x1009dc=_0x4fd3a6;if(_0x222b0c==null)return;const {skeleton:_0x4fdb46}=_0x222b0c,{scene:_0x2d622b}=this[_0x1009dc(0x261)];_0x2d622b[_0x1009dc(0x259)]['subscribeEvent'](a[_0x1009dc(0x27d)](_0x47e063=>{const _0x5e61f7=_0x1009dc;var _0x18ccf0,_0x224378;const {offsetX:_0x42c3bc,offsetY:_0x51cec9}=_0x47e063,{x:_0x133a0b,y:_0x5e0ca6}=_0x2d622b['getRelativeToViewportCoord'](p['Vector2']['FromArray']([_0x42c3bc,_0x51cec9])),{scaleX:_0xa41ebf,scaleY:_0x2d9fb3}=_0x2d622b['getAncestorScale'](),_0x533e65=_0x2d622b['getViewport'](p[_0x5e61f7(0x43a)]['VIEW_MAIN']),_0x27e1ef=_0x2d622b['getVpScrollXYInfoByPosToVp'](p[_0x5e61f7(0x337)][_0x5e61f7(0x25d)]([_0x133a0b,_0x5e0ca6]),_0x533e65),_0x125ec1=_0x4fdb46[_0x5e61f7(0x347)](_0x42c3bc,_0x51cec9,_0xa41ebf,_0x2d9fb3,_0x27e1ef);((_0x18ccf0=this[_0x5e61f7(0x28a)])==null?void 0x0:_0x18ccf0[_0x5e61f7(0x3ce)])===_0x125ec1[_0x5e61f7(0x3ce)]&&((_0x224378=this[_0x5e61f7(0x28a)])==null?void 0x0:_0x224378[_0x5e61f7(0x2d4)])===_0x125ec1[_0x5e61f7(0x2d4)]||this[_0x5e61f7(0x396)][_0x5e61f7(0x22d)](_0x4e4d87=>{const _0x165e21=_0x5e61f7;_0x4e4d87[_0x165e21(0x2f7)](_0x125ec1);});},0x64));});}[_0x5a0327(0x273)](_0x47b5f3,_0x558f65){const _0x5de29f=_0x5a0327;var _0x1ae16d;const _0x23289a=(_0x1ae16d=this[_0x5de29f(0x1fa)][_0x5de29f(0x1c5)]())==null?void 0x0:_0x1ae16d[_0x5de29f(0x2fe)];if(!_0x23289a)return;const _0x22f5c8=this[_0x5de29f(0x386)]();if(!_0x22f5c8)return;this['_cursors']['forEach'](_0x3914cf=>{const _0x1c007c=_0x5de29f;_0x3914cf[_0x1c007c(0x245)]();});const {scene:_0x2b768c}=_0x22f5c8,_0x24510e=Tt(Array[_0x5de29f(0x287)](_0x558f65[_0x5de29f(0x308)]()))[_0x5de29f(0x3c8)](_0x130a70=>{const _0x7e5a3a=_0x5de29f,{color:_0x5531ee,range:_0x364cdf,name:_0x3c4015,selection:_0x2cedf3,sheetID:_0x49c12b}=_0x130a70,{startColumn:_0x237cfe,startRow:_0x3695e9,endColumn:_0x311d3e,endRow:_0x2884e}=_0x364cdf,_0xa54f23=G[_0x7e5a3a(0x3df)](_0x3695e9,_0x237cfe,_0x2b768c,_0x23289a),_0x4f84e8=G['getCoordByCell'](_0x2884e,_0x311d3e,_0x2b768c,_0x23289a),{columnHeaderHeightAndMarginTop:_0x220ca7}=_0x23289a,{startX:_0x579845,startY:_0x4e73f4}=_0xa54f23,{endX:_0x2fd0e4,endY:_0xf78a55}=_0x4f84e8,_0x10facb=_0x2fd0e4-_0x579845,_0x705f5=_0xf78a55-_0x4e73f4,_0x23560a={'labelPosition':_0x4e73f4-_0x220ca7>=K?'top':'bottom','sheetID':_0x49c12b,'range':_0x364cdf,'color':_0x5531ee,'name':_0x3c4015,'selection':_0x2cedf3,'left':_0x579845,'top':_0x4e73f4,'width':_0x10facb,'height':_0x705f5,'evented':!0x1,'zIndex':Et};return new ye(_0x3c4015,_0x23560a);});_0x2b768c[_0x5de29f(0x2c7)](_0x24510e,mt),this[_0x5de29f(0x396)]=new Set(_0x24510e);}[_0x5a0327(0x3b8)](){const _0x128d2a=_0x5a0327;var _0xc9d635;(_0xc9d635=this['_cursors'])==null||_0xc9d635[_0x128d2a(0x22d)](_0x68bb15=>_0x68bb15['dispose']());}[_0x5a0327(0x386)](){const _0x186400=_0x5a0327;return G[_0x186400(0x3e1)](this[_0x186400(0x261)][_0x186400(0x3aa)],this[_0x186400(0x261)]);}};Ie=bt([ce(0x1,a[_0x5a0327(0x43e)](G[_0x5a0327(0x22b)])),ce(0x2,a[_0x5a0327(0x43e)](x)),ce(0x3,a['Inject'](a['ThemeService']))],Ie);function Tt(_0x4062df){const _0x4df865=_0x5a0327,_0x454ca3=new Map();return _0x4062df[_0x4df865(0x22d)](_0x4e006f=>{const _0x294443=_0x4df865;if(_0x454ca3[_0x294443(0x203)](_0x4e006f[_0x294443(0x2e2)])){const _0x3a6849=_0x454ca3[_0x294443(0x210)](_0x4e006f[_0x294443(0x2e2)]);_0x3a6849['name']+=',\x20'+_0x4e006f[_0x294443(0x238)];}else _0x454ca3[_0x294443(0x421)](_0x4e006f[_0x294443(0x2e2)],_0x4e006f);}),Array[_0x4df865(0x287)](_0x454ca3[_0x4df865(0x308)]());}var E=function(){const _0x43dff6=_0x5a0327;return E=Object[_0x43dff6(0x3f3)]||function(_0x2cf9e0){const _0x42e172=_0x43dff6;for(var _0x25c167,_0x1b20e1=0x1,_0x1a15e8=arguments[_0x42e172(0x2c6)];_0x1b20e1<_0x1a15e8;_0x1b20e1++){_0x25c167=arguments[_0x1b20e1];for(var _0x7ce249 in _0x25c167)Object[_0x42e172(0x384)][_0x42e172(0x37d)][_0x42e172(0x23a)](_0x25c167,_0x7ce249)&&(_0x2cf9e0[_0x7ce249]=_0x25c167[_0x7ce249]);}return _0x2cf9e0;},E[_0x43dff6(0x2da)](this,arguments);},Rt=function(_0x46c89d,_0x4f62dc){const _0xab9b4f=_0x5a0327;var _0x2e09a5={};for(var _0x58da8a in _0x46c89d)Object[_0xab9b4f(0x384)][_0xab9b4f(0x37d)][_0xab9b4f(0x23a)](_0x46c89d,_0x58da8a)&&_0x4f62dc[_0xab9b4f(0x202)](_0x58da8a)<0x0&&(_0x2e09a5[_0x58da8a]=_0x46c89d[_0x58da8a]);if(_0x46c89d!=null&&typeof Object['getOwnPropertySymbols']==_0xab9b4f(0x2d9)){for(var _0x3652e7=0x0,_0x58da8a=Object['getOwnPropertySymbols'](_0x46c89d);_0x3652e7<_0x58da8a[_0xab9b4f(0x2c6)];_0x3652e7++)_0x4f62dc[_0xab9b4f(0x202)](_0x58da8a[_0x3652e7])<0x0&&Object['prototype'][_0xab9b4f(0x244)][_0xab9b4f(0x23a)](_0x46c89d,_0x58da8a[_0x3652e7])&&(_0x2e09a5[_0x58da8a[_0x3652e7]]=_0x46c89d[_0x58da8a[_0x3652e7]]);}return _0x2e09a5;},be=P[_0x5a0327(0x41e)](function(_0x32e716,_0x2aa10d){const _0x2bd89f=_0x5a0327;var _0x54f38e=_0x32e716['icon'],_0x25c6ed=_0x32e716['id'],_0x374edc=_0x32e716[_0x2bd89f(0x364)],_0x309f19=_0x32e716['extend'],_0x32283d=Rt(_0x32e716,[_0x2bd89f(0x348),'id',_0x2bd89f(0x364),'extend']),_0x4cea96=_0x2bd89f(0x1e4)[_0x2bd89f(0x3f2)](_0x25c6ed,'\x20')[_0x2bd89f(0x3f2)](_0x374edc||'')[_0x2bd89f(0x1f2)](),_0x1d3bcf=P[_0x2bd89f(0x27f)]('_'[_0x2bd89f(0x3f2)](Ut()));return Ae(_0x54f38e,''[_0x2bd89f(0x3f2)](_0x25c6ed),{'defIds':_0x54f38e[_0x2bd89f(0x3cf)],'idSuffix':_0x1d3bcf['current']},E({'ref':_0x2aa10d,'className':_0x4cea96},_0x32283d),_0x309f19);});function Ae(_0x250c05,_0x224b8f,_0xc6f671,_0x3c5d5e,_0x1714c2){const _0x45475e=_0x5a0327;return P[_0x45475e(0x379)](_0x250c05[_0x45475e(0x419)],E(E({'key':_0x224b8f},Ot(_0x250c05,_0xc6f671,_0x1714c2)),_0x3c5d5e),(Dt(_0x250c05,_0xc6f671)[_0x45475e(0x249)]||[])[_0x45475e(0x3c8)](function(_0x557af3,_0x558e33){const _0x395c42=_0x45475e;return Ae(_0x557af3,''[_0x395c42(0x3f2)](_0x224b8f,'-')[_0x395c42(0x3f2)](_0x250c05[_0x395c42(0x419)],'-')[_0x395c42(0x3f2)](_0x558e33),_0xc6f671,void 0x0,_0x1714c2);}));}function Ot(_0x1a035b,_0x356e32,_0x52ad4d){const _0x5a190e=_0x5a0327;var _0x3daa1e=E({},_0x1a035b[_0x5a190e(0x3c7)]);_0x52ad4d!=null&&_0x52ad4d[_0x5a190e(0x405)]&&_0x3daa1e[_0x5a190e(0x296)]===_0x5a190e(0x405)&&(_0x3daa1e[_0x5a190e(0x296)]=_0x52ad4d['colorChannel1']),_0x1a035b[_0x5a190e(0x419)]===_0x5a190e(0x369)&&_0x3daa1e['id']&&(_0x3daa1e['id']=_0x3daa1e['id']+_0x356e32[_0x5a190e(0x1db)]),Object[_0x5a190e(0x3fb)](_0x3daa1e)[_0x5a190e(0x22d)](function(_0x172c05){const _0x9121d9=_0x5a190e;var _0x575a98=_0x172c05[0x0],_0x980832=_0x172c05[0x1];_0x575a98==='mask'&&typeof _0x980832==_0x9121d9(0x2ae)&&(_0x3daa1e[_0x575a98]=_0x980832[_0x9121d9(0x230)](/url\(#(.*)\)/,_0x9121d9(0x228)['concat'](_0x356e32[_0x9121d9(0x1db)],')')));});var _0x319532=_0x356e32[_0x5a190e(0x3cf)];return!_0x319532||_0x319532[_0x5a190e(0x2c6)]===0x0||(_0x1a035b[_0x5a190e(0x419)]===_0x5a190e(0x434)&&_0x3daa1e[_0x5a190e(0x3a1)]&&(_0x3daa1e[_0x5a190e(0x3a1)]=_0x3daa1e[_0x5a190e(0x3a1)]+_0x356e32[_0x5a190e(0x1db)]),Object['entries'](_0x3daa1e)['forEach'](function(_0x2809c9){const _0x1a3746=_0x5a190e;var _0x405cdb=_0x2809c9[0x0],_0x39bd2e=_0x2809c9[0x1];typeof _0x39bd2e==_0x1a3746(0x2ae)&&(_0x3daa1e[_0x405cdb]=_0x39bd2e[_0x1a3746(0x230)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x356e32['idSuffix'],')')));})),_0x3daa1e;}function Dt(_0x14ebf1,_0x172475){const _0xe1865a=_0x5a0327;var _0x277abb,_0x2229c6=_0x172475[_0xe1865a(0x3cf)];return!_0x2229c6||_0x2229c6['length']===0x0?_0x14ebf1:_0x14ebf1[_0xe1865a(0x419)]===_0xe1865a(0x3a6)&&(!((_0x277abb=_0x14ebf1[_0xe1865a(0x249)])===null||_0x277abb===void 0x0)&&_0x277abb[_0xe1865a(0x2c6)])?E(E({},_0x14ebf1),{'children':_0x14ebf1[_0xe1865a(0x249)]['map'](function(_0x531b52){const _0x354620=_0xe1865a;return typeof _0x531b52[_0x354620(0x3c7)]['id']=='string'&&_0x2229c6&&_0x2229c6['indexOf'](_0x531b52['attrs']['id'])>-0x1?E(E({},_0x531b52),{'attrs':E(E({},_0x531b52['attrs']),{'id':_0x531b52['attrs']['id']+_0x172475[_0x354620(0x1db)]})}):_0x531b52;})}):_0x14ebf1;}function Ut(){const _0x53ebc2=_0x5a0327;return Math[_0x53ebc2(0x2cc)]()['toString'](0x24)['substring'](0x2,0x8);}be['displayName']=_0x5a0327(0x2b9);var Mt={'tag':_0x5a0327(0x2e1),'attrs':{'fill':_0x5a0327(0x31c),'viewBox':_0x5a0327(0x3a2),'width':'1em','height':_0x5a0327(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a0327(0x41f)},'children':[{'tag':_0x5a0327(0x1de),'attrs':{'stroke':_0x5a0327(0x2a5),'d':_0x5a0327(0x1d2),'strokeLinecap':_0x5a0327(0x309),'strokeLinejoin':_0x5a0327(0x309),'strokeWidth':1.2}}]},{'tag':_0x5a0327(0x3a6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5a0327(0x414)},'children':[{'tag':_0x5a0327(0x1de),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5a0327(0x414)]},$e=P[_0x5a0327(0x41e)](function(_0x5d4242,_0x4d06a8){const _0x4de387=_0x5a0327;return P[_0x4de387(0x379)](be,Object[_0x4de387(0x3f3)]({},_0x5d4242,{'id':_0x4de387(0x406),'ref':_0x4d06a8,'icon':Mt}));});$e[_0x5a0327(0x2e0)]='OffLineSingle';var Pt={'tag':_0x5a0327(0x2e1),'attrs':{'fill':'none','viewBox':_0x5a0327(0x2f8),'width':_0x5a0327(0x33a),'height':_0x5a0327(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a0327(0x28e)},'children':[{'tag':_0x5a0327(0x1de),'attrs':{'stroke':_0x5a0327(0x2a5),'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':_0x5a0327(0x309),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5a0327(0x3a6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5a0327(0x346)},'children':[{'tag':_0x5a0327(0x1de),'attrs':{'fill':_0x5a0327(0x216),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x5a0327(0x346)]},xe=P['forwardRef'](function(_0x449495,_0x5211d4){const _0x2b12fa=_0x5a0327;return P[_0x2b12fa(0x379)](be,Object[_0x2b12fa(0x3f3)]({},_0x449495,{'id':_0x2b12fa(0x398),'ref':_0x5211d4,'icon':Pt}));});xe[_0x5a0327(0x2e0)]=_0x5a0327(0x3b0);const Nt='univer-online-status-icon',wt=_0x5a0327(0x363),Lt='univer-online-status',yt=_0x5a0327(0x2b0),At=_0x5a0327(0x397),H={'onlineStatusIcon':Nt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':yt,'offline':At};function $t(_0x36b41d){const _0x3fa626=_0x5a0327;switch(_0x36b41d){case u[_0x3fa626(0x227)][_0x3fa626(0x1c6)]:return _0x3fa626(0x2a2);case u[_0x3fa626(0x227)][_0x3fa626(0x36e)]:return _0x3fa626(0x31e);case u[_0x3fa626(0x227)][_0x3fa626(0x24f)]:return _0x3fa626(0x34a);case u[_0x3fa626(0x227)][_0x3fa626(0x41d)]:return _0x3fa626(0x2ab);case u['CollaborationStatus'][_0x3fa626(0x35e)]:case u['CollaborationStatus'][_0x3fa626(0x297)]:return _0x3fa626(0x439);case u[_0x3fa626(0x227)][_0x3fa626(0x207)]:case u['CollaborationStatus']['PENDING']:return _0x3fa626(0x318);}}function je(_0x4cb5ec){const _0x5d16d3=_0x5a0327,{status$:_0x21780b}=_0x4cb5ec,_0x55a7f9=R['useObservable'](_0x21780b,u['CollaborationStatus'][_0x5d16d3(0x41d)]),_0x14b294=R[_0x5d16d3(0x333)](a[_0x5d16d3(0x235)]),_0x2182cc=R[_0x5d16d3(0x333)](u['CollaborationSessionService']),_0x337dce=_0x55a7f9!==u['CollaborationStatus'][_0x5d16d3(0x1c6)],_0x245b3e=_0x14b294['t']($t(_0x55a7f9)),_0x4e892e=T['clsx'](H[_0x5d16d3(0x2ad)],{[H[_0x5d16d3(0x2b8)]]:_0x337dce,[H['offline']]:!_0x337dce}),_0x1080ee=_0x337dce?w[_0x5d16d3(0x24a)](xe,{}):w[_0x5d16d3(0x24a)]($e,{}),_0x160c75=P[_0x5d16d3(0x2bf)](()=>{const _0x4100fc=_0x5d16d3;_0x337dce||_0x2182cc[_0x4100fc(0x2c1)]();},[_0x337dce,_0x2182cc]);function _0x103816(){const _0x132608=_0x5d16d3;return w[_0x132608(0x360)](_0x132608(0x1ef),{'className':T[_0x132608(0x2bd)](_0x4e892e,_0x132608(0x436)),'onClick':_0x160c75,'children':[w[_0x132608(0x24a)](_0x132608(0x1ef),{'className':H[_0x132608(0x413)],'children':_0x1080ee}),w[_0x132608(0x24a)](_0x132608(0x1ef),{'className':H[_0x132608(0x34f)],'children':_0x245b3e})]});}return _0x337dce?_0x103816():w[_0x5d16d3(0x24a)](T[_0x5d16d3(0x269)],{'title':_0x14b294['t'](_0x5d16d3(0x40e)),'children':_0x103816()});}var xt=Object[_0x5a0327(0x3e2)],jt=(_0x25a53e,_0x4c91db,_0x291895,_0x1d74ce)=>{const _0x1f8619=_0x5a0327;for(var _0x4a4cce=_0x1d74ce>0x1?void 0x0:_0x1d74ce?xt(_0x4c91db,_0x291895):_0x4c91db,_0x18cd42=_0x25a53e[_0x1f8619(0x2c6)]-0x1,_0x55b9ed;_0x18cd42>=0x0;_0x18cd42--)(_0x55b9ed=_0x25a53e[_0x18cd42])&&(_0x4a4cce=_0x55b9ed(_0x4a4cce)||_0x4a4cce);return _0x4a4cce;},V=(_0x424f15,_0x3d8243)=>(_0x25a7cc,_0x3bbf3a)=>_0x3d8243(_0x25a7cc,_0x3bbf3a,_0x424f15);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x5a0327(0x381)]{constructor(_0x10cea7,_0x5beb24,_0x3864e9,_0xfe72ac){const _0x3a9c8c=_0x5a0327;super(),h(this,_0x3a9c8c(0x22c),new d['BehaviorSubject'](u[_0x3a9c8c(0x227)][_0x3a9c8c(0x41d)])),(this[_0x3a9c8c(0x2b6)]=_0x10cea7,this[_0x3a9c8c(0x42b)]=_0x5beb24,this['_collaborationController']=_0x3864e9,this['_uiPartsService']=_0xfe72ac,this[_0x3a9c8c(0x38b)](),this[_0x3a9c8c(0x285)]());}['_initStatusListener'](){const _0x3a82c2=_0x5a0327;this['disposeWithMe'](this[_0x3a82c2(0x2b6)][_0x3a82c2(0x3af)][_0x3a82c2(0x2f0)](d['switchMap'](()=>{const _0x524365=_0x3a82c2,_0x4e56a4=this[_0x524365(0x2b6)][_0x524365(0x2ea)]();return _0x4e56a4?this['_collaborationController'][_0x524365(0x1ed)](_0x4e56a4[_0x524365(0x36a)]()):d['of'](null);}),d[_0x3a82c2(0x343)](_0x2ec363=>_0x2ec363?_0x2ec363['status$']:d['of'](u[_0x3a82c2(0x227)][_0x3a82c2(0x41d)])))[_0x3a82c2(0x293)](_0x4b87de=>{const _0x103055=_0x3a82c2;this[_0x103055(0x22c)][_0x103055(0x430)](_0x4b87de);}));}['_initStatusComponent'](){const _0xee2f29=_0x5a0327;this[_0xee2f29(0x27a)](this['_uiPartsService'][_0xee2f29(0x29d)](R[_0xee2f29(0x1cc)]['HEADER_MENU'],()=>R[_0xee2f29(0x340)](kt({'status$':this['_status$'][_0xee2f29(0x334)]()}),this[_0xee2f29(0x42b)])));}},exports[_0x5a0327(0x399)]=jt([V(0x0,a[_0x5a0327(0x377)]),V(0x1,a[_0x5a0327(0x43e)](a[_0x5a0327(0x1c0)])),V(0x2,a[_0x5a0327(0x43e)](u[_0x5a0327(0x21a)])),V(0x3,R[_0x5a0327(0x3e0)])],exports[_0x5a0327(0x399)]);function kt(_0x5c775a){const {status$:_0x243314}=_0x5c775a;return function(){const _0x1aeef4=_0x396e;return w[_0x1aeef4(0x24a)](je,{'status$':_0x243314});};}var Bt=Object[_0x5a0327(0x3e2)],Ht=(_0x40fbd5,_0x263e77,_0x287019,_0x24a169)=>{for(var _0x13a411=_0x24a169>0x1?void 0x0:_0x24a169?Bt(_0x263e77,_0x287019):_0x263e77,_0x3c3126=_0x40fbd5['length']-0x1,_0x57a3b4;_0x3c3126>=0x0;_0x3c3126--)(_0x57a3b4=_0x40fbd5[_0x3c3126])&&(_0x13a411=_0x57a3b4(_0x13a411)||_0x13a411);return _0x13a411;},A=(_0x27d10e,_0x14f6fb)=>(_0x16e754,_0x315fc6)=>_0x14f6fb(_0x16e754,_0x315fc6,_0x27d10e);let z=class extends a['Disposable']{constructor(_0x54a60b,_0x500588,_0x45629d,_0x5b694f,_0x13541a,_0xef2b00){const _0x148be1=_0x5a0327;super(),this[_0x148be1(0x1e0)]=_0x54a60b,this[_0x148be1(0x281)]=_0x500588,this[_0x148be1(0x3c0)]=_0x45629d,this[_0x148be1(0x351)]=_0x5b694f,this['_notificationService']=_0x13541a,this[_0x148be1(0x265)]=_0xef2b00,this[_0x148be1(0x26d)](),this[_0x148be1(0x403)]();}[_0x5a0327(0x26d)](){const _0x296faf=_0x5a0327;this['disposeWithMe'](this['_beforeCloseService'][_0x296faf(0x2d7)](()=>{const _0xb5b3c0=_0x296faf;if(this[_0xb5b3c0(0x281)][_0xb5b3c0(0x33e)][_0xb5b3c0(0x223)])return this[_0xb5b3c0(0x265)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x5a0327(0x403)](){const _0x10b6a1=_0x5a0327;this[_0x10b6a1(0x27a)](this['_collaborationUIEventService'][_0x10b6a1(0x35c)]['subscribe'](_0x1cc2f3=>{const _0x2aa34d=_0x10b6a1;_0x1cc2f3['id']===u[_0x2aa34d(0x201)][_0x2aa34d(0x38f)]&&this[_0x2aa34d(0x351)][_0x2aa34d(0x431)]({'type':T['MessageType'][_0x2aa34d(0x2c9)],'content':this[_0x2aa34d(0x265)]['t'](_0x2aa34d(0x37b))}),_0x1cc2f3['id']===u['CollaborationUIEventId'][_0x2aa34d(0x2df)]&&this[_0x2aa34d(0x351)][_0x2aa34d(0x431)]({'type':T[_0x2aa34d(0x2d8)][_0x2aa34d(0x2c9)],'content':this[_0x2aa34d(0x265)]['t']('collaboration.closeRoom')}),_0x1cc2f3['id']===u['CollaborationUIEventId'][_0x2aa34d(0x417)]&&this[_0x2aa34d(0x2fa)][_0x2aa34d(0x431)]({'title':this[_0x2aa34d(0x265)]['t']('permission.title'),'content':this[_0x2aa34d(0x265)]['t']('permission.content'),'type':'error','duration':0x0}),_0x1cc2f3['id']===u['CollaborationUIEventId'][_0x2aa34d(0x36e)]&&this['_messageService']['show']({'type':T[_0x2aa34d(0x2d8)][_0x2aa34d(0x43f)],'content':this[_0x2aa34d(0x265)]['t'](_0x2aa34d(0x425))+'('+_0x1cc2f3['data']+')'}),_0x1cc2f3['id']===u[_0x2aa34d(0x201)][_0x2aa34d(0x40a)]&&this[_0x2aa34d(0x351)][_0x2aa34d(0x431)]({'type':T[_0x2aa34d(0x2d8)]['Warning'],'content':this['_localeService']['t'](_0x1cc2f3['data']||'')}),_0x1cc2f3['id']===u[_0x2aa34d(0x201)][_0x2aa34d(0x3a4)]&&this[_0x2aa34d(0x351)]['show']({'type':T[_0x2aa34d(0x2d8)][_0x2aa34d(0x2c9)],'content':this['_localeService']['t'](_0x2aa34d(0x24d))}),_0x1cc2f3['id']===u[_0x2aa34d(0x201)][_0x2aa34d(0x20e)]&&this[_0x2aa34d(0x351)]['show']({'type':T[_0x2aa34d(0x2d8)][_0x2aa34d(0x43f)],'content':this[_0x2aa34d(0x265)]['t']('session.connection-failed')}),_0x1cc2f3['id']===u[_0x2aa34d(0x201)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2aa34d(0x351)]['show']({'type':T['MessageType'][_0x2aa34d(0x43f)],'content':this[_0x2aa34d(0x265)]['t'](_0x2aa34d(0x255))});}));}};z=Ht([A(0x0,R[_0x5a0327(0x3bd)]),A(0x1,u['ILocalCacheService']),A(0x2,a[_0x5a0327(0x43e)](u[_0x5a0327(0x267)])),A(0x3,R['IMessageService']),A(0x4,R[_0x5a0327(0x1cb)]),A(0x5,a[_0x5a0327(0x43e)](a['LocaleService']))],z);const Wt=_0x5a0327(0x243),Me={},Ee=a[_0x5a0327(0x2d2)](_0x5a0327(0x43d));var Ft=Object[_0x5a0327(0x3e2)],Yt=(_0x3465d8,_0x17ceb0,_0x90e2b0,_0x59496c)=>{const _0x2aea2b=_0x5a0327;for(var _0xd3271=_0x59496c>0x1?void 0x0:_0x59496c?Ft(_0x17ceb0,_0x90e2b0):_0x17ceb0,_0x1af617=_0x3465d8[_0x2aea2b(0x2c6)]-0x1,_0x190dac;_0x1af617>=0x0;_0x1af617--)(_0x190dac=_0x3465d8[_0x1af617])&&(_0xd3271=_0x190dac(_0xd3271)||_0xd3271);return _0xd3271;},W=(_0x1da36e,_0x2529c6)=>(_0x3ed0bb,_0x4e9b77)=>_0x2529c6(_0x3ed0bb,_0x4e9b77,_0x1da36e);exports[_0x5a0327(0x3fe)]=class extends a[_0x5a0327(0x313)]{constructor(_0x42443d,_0x381d54,_0x1589f4,_0x57bdbd,_0x5301ab){const _0x18cc17=_0x5a0327;super(),this[_0x18cc17(0x1d0)]=_0x42443d,this[_0x18cc17(0x3f0)]=_0x381d54,this['_commandService']=_0x1589f4,this[_0x18cc17(0x372)]=_0x57bdbd,_0x5301ab?_0x5301ab==null||_0x5301ab[_0x18cc17(0x2a4)]()[_0x18cc17(0x32a)](()=>this[_0x18cc17(0x428)]()):(this['_logService']['debug'](_0x18cc17(0x353),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x18cc17(0x428)]());}async['_init'](){const _0x240bb9=_0x5a0327,_0xb01cea=this['_urlService'][_0x240bb9(0x1ca)]('unit'),_0x453bdd=this['_urlService'][_0x240bb9(0x1ca)]('type'),_0x174808=this[_0x240bb9(0x1d0)]['getParam'](_0x240bb9(0x298));if(!_0xb01cea||!_0x453bdd){this[_0x240bb9(0x3f0)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x42f1a=await this['_dataLoaderService']['loadUnit'](_0xb01cea,Number(_0x453bdd),_0x174808);_0x42f1a&&_0x42f1a instanceof a[_0x240bb9(0x3b6)]&&this[_0x240bb9(0x29b)](_0x42f1a);}async['_setupSubUnitSync'](_0x19d9e1){const _0x22da75=_0x5a0327;await this['_updateSubUnitFromURLParams'](_0x19d9e1),_0x19d9e1['activeSheet$'][_0x22da75(0x2f0)](d[_0x22da75(0x1e6)](this[_0x22da75(0x2a9)]))[_0x22da75(0x293)](_0x3dd37b=>{const _0x189c86=_0x22da75;_0x3dd37b&&this[_0x189c86(0x3f4)](_0x3dd37b);}),this[_0x22da75(0x1d0)][_0x22da75(0x31d)]['pipe'](d[_0x22da75(0x1e6)](this[_0x22da75(0x2a9)]))[_0x22da75(0x293)](()=>this[_0x22da75(0x1f7)](_0x19d9e1));}[_0x5a0327(0x3f4)](_0x5e222d,_0x419c51=!0x1){const _0x420daf=_0x5a0327,_0x211656=this[_0x420daf(0x1d0)][_0x420daf(0x1ca)](_0x420daf(0x298));_0x5e222d[_0x420daf(0x1c9)]()!==_0x211656&&this[_0x420daf(0x1d0)][_0x420daf(0x299)]('subunit',_0x5e222d['getSheetId'](),_0x419c51);}async['_updateSubUnitFromURLParams'](_0x3d1a42){const _0x1cf582=_0x5a0327;var _0x577272;const _0x58060a=this[_0x1cf582(0x1d0)][_0x1cf582(0x1ca)]('subunit');if(!_0x58060a||!_0x3d1a42[_0x1cf582(0x2a1)](_0x58060a)){const _0x31c856=_0x3d1a42[_0x1cf582(0x3fd)]()[0x0],_0x366548=_0x3d1a42[_0x1cf582(0x2a1)](_0x31c856);if(!_0x366548)return;this[_0x1cf582(0x3f4)](_0x366548,!0x0),await this[_0x1cf582(0x33d)][_0x1cf582(0x3f9)](I[_0x1cf582(0x274)]['id'],{'unitId':_0x3d1a42[_0x1cf582(0x36a)](),'subUnitId':_0x31c856});return;}((_0x577272=_0x3d1a42[_0x1cf582(0x2d5)]())==null?void 0x0:_0x577272['getSheetId']())!==_0x58060a&&await this['_commandService'][_0x1cf582(0x3f9)](I['SetWorksheetActivateCommand']['id'],{'unitId':_0x3d1a42[_0x1cf582(0x36a)](),'subUnitId':_0x58060a});}},exports[_0x5a0327(0x3fe)]=Yt([W(0x0,Ee),W(0x1,a[_0x5a0327(0x2ce)]),W(0x2,a[_0x5a0327(0x3d3)]),W(0x3,a[_0x5a0327(0x43e)](u['DataLoaderService'])),W(0x4,a[_0x5a0327(0x332)](Ke[_0x5a0327(0x1d8)]))],exports['CollaborationDataLoaderController']);var Xt=Object['getOwnPropertyDescriptor'],Vt=(_0x4790d0,_0x32bf0a,_0x3eccaa,_0x352668)=>{const _0x9f9b4b=_0x5a0327;for(var _0x2a6056=_0x352668>0x1?void 0x0:_0x352668?Xt(_0x32bf0a,_0x3eccaa):_0x32bf0a,_0x3da5d9=_0x4790d0[_0x9f9b4b(0x2c6)]-0x1,_0x5ca494;_0x3da5d9>=0x0;_0x3da5d9--)(_0x5ca494=_0x4790d0[_0x3da5d9])&&(_0x2a6056=_0x5ca494(_0x2a6056)||_0x2a6056);return _0x2a6056;},le=(_0x45a16e,_0x2ab781)=>(_0x199975,_0x245dbf)=>_0x2ab781(_0x199975,_0x245dbf,_0x45a16e);let J=class{constructor(_0x5a6313,_0x120365,_0x1a9174){const _0x59a223=_0x5a0327;this[_0x59a223(0x42b)]=_0x5a6313,this[_0x59a223(0x1d4)]=_0x120365,this[_0x59a223(0x355)]=_0x1a9174;}[_0x5a0327(0x3ab)](_0x525ae4){const _0xaef388=_0x5a0327;this[_0xaef388(0x38a)](_0x525ae4),this[_0xaef388(0x3c6)](_0x525ae4);}[_0x5a0327(0x358)](_0x607c8b){const _0x52282f=_0x5a0327,{unitID:_0x2b7f76}=_0x607c8b,_0x594abc=this['_renderManagerService'][_0x52282f(0x1e9)](_0x2b7f76)[_0x52282f(0x423)](b[_0x52282f(0x29c)]),{redoCache:_0x4d16ea}=_0x594abc['getUndoRedoMutationParamsCache']();if(_0x4d16ea['length']===0x0)return _0x607c8b;let _0x2bc59f=a['Tools'][_0x52282f(0x283)](_0x607c8b[_0x52282f(0x271)][0x0]);for(let _0x2e9532=0x0;_0x2e9532<_0x4d16ea['length'];_0x2e9532++){const _0x484070={'id':_0x52282f(0x35d),'params':{..._0x4d16ea[_0x2e9532]}},_0x325e61=this[_0x52282f(0x1d4)]['transformMutation'](_0x2bc59f,_0x484070,!0x1);if(m[_0x52282f(0x284)](_0x325e61))throw _0x325e61[_0x52282f(0x39d)];_0x2bc59f=_0x325e61[_0x52282f(0x2b2)];}return{...a[_0x52282f(0x391)][_0x52282f(0x283)](_0x607c8b),'mutations':[_0x2bc59f]};}[_0x5a0327(0x38a)](_0x2669a6){const _0x14f2c6=_0x5a0327,{unitID:_0x1e3565}=_0x2669a6,_0x12d195=this[_0x14f2c6(0x355)]['getRenderById'](_0x1e3565)[_0x14f2c6(0x423)](b['DocIMEInputManagerService']),{undoCache:_0x151464,redoCache:_0x4d1f97}=_0x12d195[_0x14f2c6(0x229)]();if(_0x151464[_0x14f2c6(0x2c6)]===0x0||_0x4d1f97[_0x14f2c6(0x2c6)]===0x0)return;const _0x4ea90f=[],_0x2494da=[];let _0x5e52eb=a[_0x14f2c6(0x391)][_0x14f2c6(0x283)](_0x2669a6[_0x14f2c6(0x271)][0x0]),_0x565b87=a[_0x14f2c6(0x391)][_0x14f2c6(0x283)](_0x2669a6[_0x14f2c6(0x271)][0x0]);for(let _0x11ccec=_0x151464[_0x14f2c6(0x2c6)]-0x1;_0x11ccec>=0x0;_0x11ccec--){const _0xa67b9b={'id':_0x14f2c6(0x35d),'params':{..._0x151464[_0x11ccec]}},_0x508563={'id':_0x14f2c6(0x35d),'params':{..._0x4d1f97[_0x11ccec]}},_0x25c0d9=this[_0x14f2c6(0x1d4)][_0x14f2c6(0x1c3)](_0x5e52eb,_0xa67b9b,!0x1),_0x215601=this[_0x14f2c6(0x1d4)][_0x14f2c6(0x1c3)](_0x565b87,_0x508563,!0x1);if(m[_0x14f2c6(0x284)](_0x25c0d9))throw _0x25c0d9[_0x14f2c6(0x39d)];if(m['isTransformMutationFailure'](_0x215601))throw _0x215601[_0x14f2c6(0x39d)];_0x4ea90f[_0x14f2c6(0x1bd)](_0x25c0d9[_0x14f2c6(0x2c3)][_0x14f2c6(0x22a)]),_0x2494da['unshift'](_0x215601['m2Prime']['params']),_0x5e52eb=_0x25c0d9[_0x14f2c6(0x2b2)],_0x565b87=_0x215601[_0x14f2c6(0x2b2)];}_0x12d195[_0x14f2c6(0x2eb)]({'undoCache':_0x4ea90f,'redoCache':_0x2494da});}[_0x5a0327(0x3c6)](_0x31c2d2){const _0x15be20=_0x5a0327,{unitID:_0x220ddf}=_0x31c2d2,_0xeec1e4=this[_0x15be20(0x355)]['getRenderById'](_0x220ddf)[_0x15be20(0x423)](b[_0x15be20(0x29c)]),_0x54cce7=_0xeec1e4[_0x15be20(0x1ce)]();if(_0x54cce7==null)return;const _0x527788=[{'id':_0x15be20(0x35d),'params':{'unitId':_0x31c2d2[_0x15be20(0x342)],'actions':null,'textRanges':[_0x54cce7]}}],_0xe56ee=this[_0x15be20(0x1d4)][_0x15be20(0x3e5)](_0x31c2d2,_0x527788);if(!m[_0x15be20(0x24e)](_0xe56ee))throw _0xe56ee[_0x15be20(0x39d)];const _0x3ec7b0=_0xe56ee[_0x15be20(0x2c3)][0x0][_0x15be20(0x22a)]['textRanges'];Array['isArray'](_0x3ec7b0)&&_0x3ec7b0[_0x15be20(0x2c6)]&&_0xeec1e4[_0x15be20(0x29a)](_0x3ec7b0[0x0]);}};J=Vt([le(0x0,a[_0x5a0327(0x43e)](a[_0x5a0327(0x1c0)])),le(0x1,m[_0x5a0327(0x3d5)]),le(0x2,p['IRenderManagerService'])],J);var Gt=Object[_0x5a0327(0x3e2)],qt=(_0x1042ac,_0x4676a6,_0x3e19d1,_0x59307c)=>{const _0x237369=_0x5a0327;for(var _0x41b056=_0x59307c>0x1?void 0x0:_0x59307c?Gt(_0x4676a6,_0x3e19d1):_0x4676a6,_0x58b7e5=_0x1042ac[_0x237369(0x2c6)]-0x1,_0x1714ff;_0x58b7e5>=0x0;_0x58b7e5--)(_0x1714ff=_0x1042ac[_0x58b7e5])&&(_0x41b056=_0x1714ff(_0x41b056)||_0x41b056);return _0x41b056;},he=(_0x238b02,_0x58402b)=>(_0xf3b92c,_0x5b8749)=>_0x58402b(_0xf3b92c,_0x5b8749,_0x238b02);function _0x396e(_0x566d36,_0xcc55e4){const _0x4a8654=_0x4a86();return _0x396e=function(_0x396e3b,_0x3cb6e6){_0x396e3b=_0x396e3b-0x1ba;let _0x33807a=_0x4a8654[_0x396e3b];return _0x33807a;},_0x396e(_0x566d36,_0xcc55e4);}let Z=class{constructor(_0x4b112f,_0x726600,_0x9fdc0b){const _0x51aa2a=_0x5a0327;this[_0x51aa2a(0x42b)]=_0x4b112f,this[_0x51aa2a(0x1d4)]=_0x726600,this[_0x51aa2a(0x2f4)]=_0x9fdc0b;}[_0x5a0327(0x1fc)](_0x2dfc2c){const _0x14eef2=_0x5a0327;this[_0x14eef2(0x3a8)](_0x2dfc2c);}[_0x5a0327(0x358)](_0x2a21b3){const _0x1a184d=_0x5a0327,{unitID:_0x1a6b9e}=_0x2a21b3,{collaboration:_0xc6128f}=this['_docStateChangeManagerService'][_0x1a184d(0x3c2)](_0x1a6b9e);if(_0xc6128f[_0x1a184d(0x2c6)]===0x0)return _0x2a21b3;let _0x43eeeb=a[_0x1a184d(0x391)]['deepClone'](_0x2a21b3['mutations'][0x0]);for(let _0x45772c=0x0;_0x45772c<_0xc6128f[_0x1a184d(0x2c6)];_0x45772c++){const _0x3ddc6d={'id':_0x1a184d(0x35d),'params':{'unitId':_0xc6128f[_0x45772c][_0x1a184d(0x2ac)],..._0xc6128f[_0x45772c]['redoState']}},_0x345e94=this[_0x1a184d(0x1d4)][_0x1a184d(0x1c3)](_0x43eeeb,_0x3ddc6d,!0x1);if(m[_0x1a184d(0x284)](_0x345e94))throw _0x345e94[_0x1a184d(0x39d)];_0x43eeeb=_0x345e94[_0x1a184d(0x2b2)];}return{...a[_0x1a184d(0x391)]['deepClone'](_0x2a21b3),'mutations':[_0x43eeeb]};}['_transformHistoryAndStateStack'](_0x462c34){const _0xf93977=_0x5a0327,{unitID:_0x46c3ca}=_0x462c34,{history:_0x3c5691,collaboration:_0x41cd26}=this[_0xf93977(0x2f4)][_0xf93977(0x3c2)](_0x46c3ca);if(_0x3c5691[_0xf93977(0x2c6)]===0x0&&_0x41cd26['length']===0x0)return;const _0x41a8d3=[],_0x28be2b=[];let _0x108035=a[_0xf93977(0x391)]['deepClone'](_0x462c34[_0xf93977(0x271)][0x0]),_0xd54f57=a[_0xf93977(0x391)]['deepClone'](_0x462c34[_0xf93977(0x271)][0x0]);for(let _0x2f13cb=_0x3c5691[_0xf93977(0x2c6)]-0x1;_0x2f13cb>=0x0;_0x2f13cb--){const _0x40a766={'id':_0xf93977(0x35d),'params':{'unitId':_0x3c5691[_0x2f13cb][_0xf93977(0x2ac)],..._0x3c5691[_0x2f13cb][_0xf93977(0x36b)]}},_0x173ba5={'id':_0xf93977(0x35d),'params':{'unitId':_0x3c5691[_0x2f13cb][_0xf93977(0x2ac)],..._0x3c5691[_0x2f13cb][_0xf93977(0x3a3)]}},_0xe21f7c=this['_transformService'][_0xf93977(0x1c3)](_0x108035,_0x40a766,!0x1),_0x2da379=this[_0xf93977(0x1d4)][_0xf93977(0x1c3)](_0xd54f57,_0x173ba5,!0x1);if(m['isTransformMutationFailure'](_0xe21f7c))throw _0xe21f7c[_0xf93977(0x39d)];if(m['isTransformMutationFailure'](_0x2da379))throw _0x2da379[_0xf93977(0x39d)];_0x41a8d3[_0xf93977(0x1bd)]({..._0x3c5691[_0x2f13cb],'undoState':_0xe21f7c[_0xf93977(0x2c3)][_0xf93977(0x22a)],'redoState':_0x2da379[_0xf93977(0x2c3)][_0xf93977(0x22a)]}),_0x108035=_0xe21f7c['m1Prime'],_0xd54f57=_0x2da379[_0xf93977(0x2b2)];}_0x108035=a[_0xf93977(0x391)][_0xf93977(0x283)](_0x462c34[_0xf93977(0x271)][0x0]),_0xd54f57=a['Tools'][_0xf93977(0x283)](_0x462c34[_0xf93977(0x271)][0x0]);for(let _0x1af5e5=_0x41cd26['length']-0x1;_0x1af5e5>=0x0;_0x1af5e5--){const _0xbf711={'id':_0xf93977(0x35d),'params':{'unitId':_0x41cd26[_0x1af5e5][_0xf93977(0x2ac)],..._0x41cd26[_0x1af5e5]['undoState']}},_0x723e3c={'id':_0xf93977(0x35d),'params':{'unitId':_0x41cd26[_0x1af5e5]['unitId'],..._0x41cd26[_0x1af5e5][_0xf93977(0x3a3)]}},_0x1961a3=this[_0xf93977(0x1d4)][_0xf93977(0x1c3)](_0x108035,_0xbf711,!0x1),_0x56945f=this[_0xf93977(0x1d4)][_0xf93977(0x1c3)](_0xd54f57,_0x723e3c,!0x1);if(m[_0xf93977(0x284)](_0x1961a3))throw _0x1961a3[_0xf93977(0x39d)];if(m['isTransformMutationFailure'](_0x56945f))throw _0x56945f[_0xf93977(0x39d)];_0x28be2b['unshift']({..._0x41cd26[_0x1af5e5],'undoState':_0x1961a3[_0xf93977(0x2c3)]['params'],'redoState':_0x56945f[_0xf93977(0x2c3)][_0xf93977(0x22a)]}),_0x108035=_0x1961a3[_0xf93977(0x2b2)],_0xd54f57=_0x56945f[_0xf93977(0x2b2)];}this[_0xf93977(0x2f4)][_0xf93977(0x295)](_0x46c3ca,{'history':_0x41a8d3,'collaboration':_0x28be2b});}};Z=qt([he(0x0,a[_0x5a0327(0x43e)](a['Injector'])),he(0x1,m[_0x5a0327(0x3d5)]),he(0x2,a[_0x5a0327(0x43e)](b['DocStateChangeManagerService']))],Z);var Kt=Object['getOwnPropertyDescriptor'],zt=(_0x123df5,_0x261e22,_0x224d24,_0x3efe6d)=>{const _0x55cbc7=_0x5a0327;for(var _0x5b45a6=_0x3efe6d>0x1?void 0x0:_0x3efe6d?Kt(_0x261e22,_0x224d24):_0x261e22,_0x2fbc98=_0x123df5[_0x55cbc7(0x2c6)]-0x1,_0x5dea6a;_0x2fbc98>=0x0;_0x2fbc98--)(_0x5dea6a=_0x123df5[_0x2fbc98])&&(_0x5b45a6=_0x5dea6a(_0x5b45a6)||_0x5b45a6);return _0x5b45a6;},Pe=(_0x1e1370,_0x539742)=>(_0x3bc535,_0x1d147a)=>_0x539742(_0x3bc535,_0x1d147a,_0x1e1370);let Q=class{constructor(_0x172bf6,_0x33f834){const _0x40a10c=_0x5a0327;this[_0x40a10c(0x42b)]=_0x172bf6,this['_transformService']=_0x33f834;}[_0x5a0327(0x30e)](_0x9e7e59){const _0x247110=_0x5a0327;var _0x2c8c8f;const _0x2693f6=this[_0x247110(0x42b)][_0x247110(0x210)](Y['DocSelectionManagerService']),_0x22a9a7=(_0x2c8c8f=_0x2693f6[_0x247110(0x357)]())!=null?_0x2c8c8f:[];if(_0x22a9a7[_0x247110(0x2c6)]===0x0)return;const _0x50a6cf=_0x9e7e59[_0x247110(0x342)],_0x1badab=[{'id':_0x247110(0x35d),'params':{'unitId':_0x50a6cf,'actions':null,'textRanges':_0x22a9a7}}],_0x2e84ee=this[_0x247110(0x1d4)][_0x247110(0x3e5)](_0x9e7e59,_0x1badab);if(!m[_0x247110(0x24e)](_0x2e84ee))throw _0x2e84ee[_0x247110(0x39d)];const _0x389866=_0x2e84ee[_0x247110(0x2c3)][0x0][_0x247110(0x22a)][_0x247110(0x402)];Array['isArray'](_0x389866)&&_0x389866['length']&&_0x2693f6[_0x247110(0x2e9)](_0x389866,{'unitId':_0x50a6cf,'subUnitId':_0x50a6cf},!0x1);}};Q=zt([Pe(0x0,a[_0x5a0327(0x43e)](a[_0x5a0327(0x1c0)])),Pe(0x1,m[_0x5a0327(0x3d5)])],Q);var Jt=Object[_0x5a0327(0x3e2)],Zt=(_0x1774a,_0x293337,_0x42e711,_0x4c1b77)=>{const _0x54ad26=_0x5a0327;for(var _0x1fe61a=_0x4c1b77>0x1?void 0x0:_0x4c1b77?Jt(_0x293337,_0x42e711):_0x293337,_0x5155d1=_0x1774a[_0x54ad26(0x2c6)]-0x1,_0x12baa7;_0x5155d1>=0x0;_0x5155d1--)(_0x12baa7=_0x1774a[_0x5155d1])&&(_0x1fe61a=_0x12baa7(_0x1fe61a)||_0x1fe61a);return _0x1fe61a;},M=(_0x453010,_0x1abceb)=>(_0x33b1b1,_0x4971c5)=>_0x1abceb(_0x33b1b1,_0x4971c5,_0x453010);let ee=class extends a[_0x5a0327(0x381)]{constructor(_0xe42526,_0x33782c,_0x406bd1,_0x3b295d,_0x166655,_0x50be62,_0x1acb13,_0x121970){const _0x45279f=_0x5a0327;super(),h(this,_0x45279f(0x22c),new d[(_0x45279f(0x368))](u[_0x45279f(0x227)][_0x45279f(0x41d)])),(this[_0x45279f(0x2f4)]=_0xe42526,this[_0x45279f(0x2dd)]=_0x33782c,this[_0x45279f(0x356)]=_0x406bd1,this[_0x45279f(0x2a6)]=_0x3b295d,this[_0x45279f(0x1bb)]=_0x166655,this[_0x45279f(0x2e6)]=_0x50be62,this['_messageService']=_0x1acb13,this[_0x45279f(0x265)]=_0x121970,this[_0x45279f(0x389)]());}['_initEntityListener'](){const _0x1ca84c=_0x5a0327;this[_0x1ca84c(0x27a)](this['_collaborationController'][_0x1ca84c(0x3e6)][_0x1ca84c(0x293)](_0x1a44d2=>{const _0x21ea75=_0x1ca84c,_0x17123d=this[_0x21ea75(0x2f4)][_0x21ea75(0x2de)][_0x21ea75(0x293)](_0x3bf5f5=>{const _0x347f59=_0x21ea75;if(_0x3bf5f5==null)return;const {unitId:_0x26e0d2,redoState:_0x191d84,commandId:_0x33d033}=_0x3bf5f5;if(_0x26e0d2!==_0x1a44d2[_0x347f59(0x342)])return;const _0x4d80c3={'id':_0x33d033,'type':a[_0x347f59(0x25b)][_0x347f59(0x2e4)],'params':{'unitId':_0x26e0d2,'actions':_0x191d84[_0x347f59(0x1c1)],'textRanges':null}};_0x1a44d2[_0x347f59(0x374)](_0x4d80c3);});if(_0x1a44d2[_0x21ea75(0x27a)](_0x17123d),_0x1a44d2 instanceof u[_0x21ea75(0x1ec)]){const _0x35f6e5={'onTransformIME':_0x2c1456=>this[_0x21ea75(0x356)][_0x21ea75(0x3ab)](_0x2c1456),'onTransformState':_0x45dedf=>this['_docTransformStateCacheService'][_0x21ea75(0x1fc)](_0x45dedf),'onTransformSelections':_0x457a12=>this[_0x21ea75(0x1bb)][_0x21ea75(0x30e)](_0x457a12),'onSyncEditingCollabCursor':_0x40424a=>this['_docSyncEditingCollabCursorService'][_0x21ea75(0x1d6)](_0x40424a),'onTransformRemoteChangesetByIMECache':_0x50a66f=>this['_docTransformIMECacheService'][_0x21ea75(0x358)](_0x50a66f),'onTransformRemoteChangesetByStateCache':_0x52bfd0=>this[_0x21ea75(0x2a6)][_0x21ea75(0x358)](_0x52bfd0)};_0x1a44d2['addHandlerCallback'](_0x35f6e5);}}));}};ee=Zt([M(0x0,a[_0x5a0327(0x43e)](b['DocStateChangeManagerService'])),M(0x1,a[_0x5a0327(0x43e)](u[_0x5a0327(0x21a)])),M(0x2,a[_0x5a0327(0x43e)](J)),M(0x3,a['Inject'](Z)),M(0x4,a['Inject'](Q)),M(0x5,a['Inject'](pe)),M(0x6,R[_0x5a0327(0x40d)]),M(0x7,a['Inject'](a[_0x5a0327(0x235)]))],ee);var Qt=Object[_0x5a0327(0x3e2)],es=(_0x59a004,_0x2aa709,_0x540826,_0x3f6ed0)=>{const _0x5c805f=_0x5a0327;for(var _0x5c4858=_0x3f6ed0>0x1?void 0x0:_0x3f6ed0?Qt(_0x2aa709,_0x540826):_0x2aa709,_0x128738=_0x59a004[_0x5c805f(0x2c6)]-0x1,_0x1585f0;_0x128738>=0x0;_0x128738--)(_0x1585f0=_0x59a004[_0x128738])&&(_0x5c4858=_0x1585f0(_0x5c4858)||_0x5c4858);return _0x5c4858;},_e=(_0x48ec77,_0x3ddbf7)=>(_0x319398,_0x1b61cb)=>_0x3ddbf7(_0x319398,_0x1b61cb,_0x48ec77);let me=class extends a['Disposable']{constructor(_0x47ecb5,_0x3a21c5,_0x58cedd){const _0x1cf6a1=_0x5a0327;super(),h(this,_0x1cf6a1(0x1f9),new Map()),h(this,_0x1cf6a1(0x31b),new Map()),h(this,_0x1cf6a1(0x3dd),!0x1),(this[_0x1cf6a1(0x404)]=_0x47ecb5,this['_localStorageService']=_0x3a21c5,this[_0x1cf6a1(0x32b)]=_0x58cedd);}['disableLocalCache'](){const _0x3d18fa=_0x5a0327;this[_0x3d18fa(0x3dd)]=!0x0;}[_0x5a0327(0x3f6)](){const _0x2b0c47=_0x5a0327;this[_0x2b0c47(0x3dd)]=!0x1;}get['saveTaskMap'](){const _0x5d2dfc=_0x5a0327;return this[_0x5d2dfc(0x31b)];}[_0x5a0327(0x380)](){const _0x15a168=_0x5a0327;this[_0x15a168(0x30f)]()[_0x15a168(0x32a)](()=>super[_0x15a168(0x380)]());}async[_0x5a0327(0x3a9)](_0x3f0f66){const _0x1a88e8=_0x5a0327;return this['_disabled']?null:this[_0x1a88e8(0x304)][_0x1a88e8(0x2c2)](u[_0x1a88e8(0x371)](_0x3f0f66));}async[_0x5a0327(0x1bc)](_0x580e71,_0x1135b6){const _0x53d43c=_0x5a0327;return!!this[_0x53d43c(0x304)]['setItem'](_0x580e71,_0x1135b6);}[_0x5a0327(0x236)](_0x26a286,_0x29c68f,_0x4980c3,_0x1f64da){const _0x566f92=_0x5a0327,_0x4b5933=this[_0x566f92(0x32b)][_0x566f92(0x383)](_0x26a286);this['_cachedData'][_0x566f92(0x421)](_0x26a286,{'unitID':_0x26a286,'type':_0x29c68f,'awaitingChangeset':_0x4980c3,'mutations':_0x1f64da,'rev':_0x4b5933}),this['_saveTaskMap'][_0x566f92(0x203)](_0x26a286)||this[_0x566f92(0x300)](_0x26a286);}[_0x5a0327(0x300)](_0x445814){const _0x20aed4=_0x5a0327,_0x308a0c=this['_getSaveTimeout']();_0x308a0c===0x0?this['_saveCache'](_0x445814):this[_0x20aed4(0x31b)][_0x20aed4(0x421)](_0x445814,setTimeout(()=>this[_0x20aed4(0x42d)](_0x445814),_0x308a0c));}[_0x5a0327(0x220)](){const _0x126f1d=_0x5a0327;var _0x5cd1bc;return(_0x5cd1bc=this[_0x126f1d(0x404)][_0x126f1d(0x1e5)](u[_0x126f1d(0x212)]))!=null?_0x5cd1bc:u['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x33adfe){const _0xbaf95e=_0x5a0327,_0x5bdf50=this['_saveTaskMap'][_0xbaf95e(0x210)](_0x33adfe);return _0x5bdf50!==void 0x0&&window['clearTimeout'](_0x5bdf50),this[_0xbaf95e(0x304)][_0xbaf95e(0x25c)](u['getLocalCacheKey'](_0x33adfe),this['_cachedData'][_0xbaf95e(0x210)](_0x33adfe))[_0xbaf95e(0x32a)](()=>this['_saveTaskMap'][_0xbaf95e(0x3c3)](_0x33adfe));}async['exhaustSavingTask'](){const _0xa20aff=_0x5a0327,_0x357ebf=[];this[_0xa20aff(0x31b)]['forEach']((_0x4b888e,_0xdd836)=>{const _0x9efd5b=_0xa20aff;window[_0x9efd5b(0x25f)](_0x4b888e),_0x357ebf[_0x9efd5b(0x225)](this[_0x9efd5b(0x42d)](_0xdd836)[_0x9efd5b(0x32a)](()=>{const _0x32bdd4=_0x9efd5b;this[_0x32bdd4(0x31b)][_0x32bdd4(0x3c3)](_0xdd836);}));}),await Promise[_0xa20aff(0x30b)](_0x357ebf);}};me=es([_e(0x0,a[_0x5a0327(0x42f)]),_e(0x1,a[_0x5a0327(0x3ae)]),_e(0x2,a[_0x5a0327(0x43e)](m[_0x5a0327(0x250)]))],me);class ke extends a[_0x5a0327(0x313)]{constructor(){const _0x580a00=_0x5a0327;super(),h(this,_0x580a00(0x31d)),this[_0x580a00(0x31d)]=d[_0x580a00(0x321)](window,_0x580a00(0x1be))[_0x580a00(0x2f0)](d[_0x580a00(0x1e6)](this[_0x580a00(0x2a9)]),d['shareReplay'](0x1),d[_0x580a00(0x30d)](void 0x0));}[_0x5a0327(0x299)](_0x4662e1,_0x2c35bb,_0x5b1c8f=!0x1){const _0x75e23c=_0x5a0327,_0x3b9189=new URL(window[_0x75e23c(0x427)][_0x75e23c(0x378)]);_0x3b9189[_0x75e23c(0x3db)][_0x75e23c(0x421)](_0x4662e1,_0x2c35bb),_0x5b1c8f?window[_0x75e23c(0x2cf)][_0x75e23c(0x433)]('','',_0x3b9189['toString']()):window['history']['pushState']('','',_0x3b9189[_0x75e23c(0x33b)]());}[_0x5a0327(0x3e3)](_0x148774,_0x546321=!0x1){const _0x5e55e4=_0x5a0327,_0xbf47b7=new URL(window[_0x5e55e4(0x427)][_0x5e55e4(0x378)]);_0xbf47b7[_0x5e55e4(0x3db)][_0x5e55e4(0x3c3)](_0x148774),_0x546321?window[_0x5e55e4(0x2cf)][_0x5e55e4(0x433)]('','',_0xbf47b7['toString']()):window[_0x5e55e4(0x2cf)][_0x5e55e4(0x320)]('','',_0xbf47b7[_0x5e55e4(0x33b)]());}['getParam'](_0x567f56){const _0x9d0b68=_0x5a0327;var _0x41cb31;return(_0x41cb31=new URL(window[_0x9d0b68(0x427)]['href'])['searchParams']['get'](_0x567f56))!=null?_0x41cb31:void 0x0;}}var ts=Object[_0x5a0327(0x2af)],ss=Object[_0x5a0327(0x3e2)],ns=(_0x594ae2,_0x3148ca,_0xea49d9)=>_0x3148ca in _0x594ae2?ts(_0x594ae2,_0x3148ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xea49d9}):_0x594ae2[_0x3148ca]=_0xea49d9,is=(_0x28a47c,_0x22d50a,_0x59a310,_0x2b44af)=>{const _0xff2a96=_0x5a0327;for(var _0x151b66=_0x2b44af>0x1?void 0x0:_0x2b44af?ss(_0x22d50a,_0x59a310):_0x22d50a,_0x372394=_0x28a47c[_0xff2a96(0x2c6)]-0x1,_0x13df0f;_0x372394>=0x0;_0x372394--)(_0x13df0f=_0x28a47c[_0x372394])&&(_0x151b66=_0x13df0f(_0x151b66)||_0x151b66);return _0x151b66;},ue=(_0x88362,_0xae7dd9)=>(_0x501cd1,_0x42e8ff)=>_0xae7dd9(_0x501cd1,_0x42e8ff,_0x88362),rs=(_0x502078,_0x3c5da9,_0x5d53f8)=>ns(_0x502078,_0x3c5da9+'',_0x5d53f8);const os=_0x5a0327(0x23d);exports['UniverCollaborationClientUIPlugin']=class extends a['Plugin']{constructor(_0x2b6032=Me,_0x2f9ec0,_0x504bc7,_0x6c4225){const _0x4db4ba=_0x5a0327;super(),this[_0x4db4ba(0x3d7)]=_0x2b6032,this[_0x4db4ba(0x355)]=_0x2f9ec0,this['_injector']=_0x504bc7,this[_0x4db4ba(0x404)]=_0x6c4225;const {..._0x4dde90}=a['merge']({},Me,this[_0x4db4ba(0x3d7)]);this[_0x4db4ba(0x404)][_0x4db4ba(0x2b3)](Wt,_0x4dde90);}[_0x5a0327(0x387)](){const _0x25ec72=_0x5a0327;this[_0x25ec72(0x3dc)](),this['_initDependencies']();}['onRendered'](){const _0x490f30=_0x5a0327;this[_0x490f30(0x21e)]();}[_0x5a0327(0x3dc)](){const _0x3ed4e5=_0x5a0327;var _0x5ac89f;const _0x215b02=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x3ed4e5(0x1e1)],{'useClass':q['WebSocketService']}],[u['ILocalCacheService'],{'useClass':me}],[exports[_0x3ed4e5(0x399)]],[ee],[z],[x],[fe],[exports[_0x3ed4e5(0x3fe)]]];a['registerDependencies'](this[_0x3ed4e5(0x42b)],a[_0x3ed4e5(0x3e9)](_0x215b02,(_0x5ac89f=this[_0x3ed4e5(0x3d7)])==null?void 0x0:_0x5ac89f[_0x3ed4e5(0x41b)]));}[_0x5a0327(0x21e)](){const _0xdd67aa=_0x5a0327;this[_0xdd67aa(0x27a)](this[_0xdd67aa(0x355)][_0xdd67aa(0x35a)](a[_0xdd67aa(0x204)]['UNIVER_DOC'],[ge])),this[_0xdd67aa(0x27a)](this[_0xdd67aa(0x355)]['registerRenderModule'](a[_0xdd67aa(0x204)][_0xdd67aa(0x352)],[Ie]));}['_initDependencies'](){const _0x3afcce=_0x5a0327;a['touchDependencies'](this[_0x3afcce(0x42b)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x3afcce(0x3fe)]]]);}},rs(exports[_0x5a0327(0x248)],_0x5a0327(0x1e8),os),exports[_0x5a0327(0x248)]=is([a[_0x5a0327(0x23e)](u[_0x5a0327(0x34e)]),ue(0x1,p['IRenderManagerService']),ue(0x2,a[_0x5a0327(0x43e)](a['Injector'])),ue(0x3,a[_0x5a0327(0x42f)])],exports[_0x5a0327(0x248)]);var as=Object[_0x5a0327(0x3e2)],cs=(_0x4039e9,_0x25bc41,_0x104e7b,_0x53692c)=>{const _0x17e3b1=_0x5a0327;for(var _0x5f33dd=_0x53692c>0x1?void 0x0:_0x53692c?as(_0x25bc41,_0x104e7b):_0x25bc41,_0x3fdc3c=_0x4039e9[_0x17e3b1(0x2c6)]-0x1,_0x2fe67b;_0x3fdc3c>=0x0;_0x3fdc3c--)(_0x2fe67b=_0x4039e9[_0x3fdc3c])&&(_0x5f33dd=_0x2fe67b(_0x5f33dd)||_0x5f33dd);return _0x5f33dd;},F=(_0x1f9616,_0x5ac833)=>(_0x324ad0,_0x44ba77)=>_0x5ac833(_0x324ad0,_0x44ba77,_0x1f9616);exports[_0x5a0327(0x20f)]=class extends u['CollaborationSocketService']{constructor(_0xf761d6,_0x313399,_0x2612f1,_0x51c905,_0x551713){super(_0xf761d6,_0x313399,_0x2612f1,_0x51c905,_0x551713);}async[_0x5a0327(0x307)](_0x1a0158){const _0x224e97=_0x5a0327,_0x4ec11d=await this['_getSessionTicket'](),_0x2e2145=this['_createSocketURL'](_0x1a0158,_0x4ec11d);return this[_0x224e97(0x286)](_0x2e2145);}['_createSocketURL'](_0x431c47,_0x1de090){const _0x40a5fc=_0x5a0327,_0x15031c=typeof window>'u'?new URL(_0x431c47):new URL(_0x431c47,window[_0x40a5fc(0x427)]['origin']);_0x15031c['searchParams']['set'](_0x40a5fc(0x339),_0x1de090);const _0x48668b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x40a5fc(0x427)][_0x40a5fc(0x2be)]);return _0x48668b[_0x40a5fc(0x210)](_0x40a5fc(0x37e))&&_0x15031c[_0x40a5fc(0x3db)][_0x40a5fc(0x421)](_0x40a5fc(0x37e),_0x48668b[_0x40a5fc(0x210)](_0x40a5fc(0x37e))),_0x15031c[_0x40a5fc(0x33b)]();}async[_0x5a0327(0x1c2)](){const _0x126c51=_0x5a0327;var _0x2368a7,_0x2f8a08,_0x2afce5;const _0xe5dc31=this[_0x126c51(0x404)][_0x126c51(0x1e5)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x510540=(_0x2368a7=_0xe5dc31==null?void 0x0:_0xe5dc31[_0x126c51(0x32e)])!=null?_0x2368a7:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x2afce5=(_0x2f8a08=(await this[_0x126c51(0x39c)][_0x126c51(0x210)](_0x510540,{'headers':{'Content-Type':_0x126c51(0x3a5)}}))[_0x126c51(0x20a)])==null?void 0x0:_0x2f8a08[_0x126c51(0x3ff)])!=null?_0x2afce5:'';}},exports[_0x5a0327(0x20f)]=cs([F(0x0,a[_0x5a0327(0x43e)](a[_0x5a0327(0x1c0)])),F(0x1,a[_0x5a0327(0x43e)](q['HTTPService'])),F(0x2,a['IConfigService']),F(0x3,a[_0x5a0327(0x2ce)]),F(0x4,m[_0x5a0327(0x237)])],exports[_0x5a0327(0x20f)]);const Ne=0x7530,we=_0x5a0327(0x3d8);class ls extends a[_0x5a0327(0x381)]{constructor(){const _0x221282=_0x5a0327;super(),h(this,_0x221282(0x370),a[_0x221282(0x268)]()),h(this,_0x221282(0x24b),new Set()),h(this,_0x221282(0x401),new Map()),h(this,_0x221282(0x1f8),null),h(this,_0x221282(0x26e),new Map()),h(this,_0x221282(0x32c),new Map()),this[_0x221282(0x428)]();}[_0x5a0327(0x380)](){const _0xc1b240=_0x5a0327;super['dispose'](),this[_0xc1b240(0x26e)]['forEach']((_0x7d5036,_0x363017)=>this[_0xc1b240(0x217)](_0x363017)),this[_0xc1b240(0x1f8)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x5a0327(0x20b)](_0x3f3a88){const _0x3ab09e=_0x5a0327;return this['_ensureSubject'](_0x3f3a88)['pipe'](d[_0x3ab09e(0x292)]());}[_0x5a0327(0x3f1)](_0x417389){const _0x3410cf=_0x5a0327;this['_selfUnitIDs']['size']===0x0&&this[_0x3410cf(0x2d6)](),this[_0x3410cf(0x24b)]['add'](_0x417389),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x417389],'isForwarded':!0x1});}[_0x5a0327(0x1f3)](_0x1da983){const _0x4063b7=_0x5a0327;this['_selfUnitIDs']['delete'](_0x1da983),this['_selfUnitIDs'][_0x4063b7(0x223)]===0x0&&this[_0x4063b7(0x1f8)]&&window[_0x4063b7(0x27c)](this[_0x4063b7(0x1f8)]);}[_0x5a0327(0x428)](){const _0x1fe5a3=_0x5a0327;this[_0x1fe5a3(0x27a)](a[_0x1fe5a3(0x2ba)](d[_0x1fe5a3(0x321)](window,'storage')[_0x1fe5a3(0x293)](_0x21a977=>{const _0xf7b5d7=_0x1fe5a3;if(_0x21a977[_0xf7b5d7(0x3ac)]!==we||!_0x21a977[_0xf7b5d7(0x2cd)])return;const _0x70895=JSON[_0xf7b5d7(0x2d0)](_0x21a977[_0xf7b5d7(0x2cd)]);this['_handleEvent'](_0x70895);}))),window[_0x1fe5a3(0x3f5)]('unload',()=>this[_0x1fe5a3(0x3cb)]({'type':0x1,'memberID':this[_0x1fe5a3(0x370)],'unitIDs':Array[_0x1fe5a3(0x287)](this[_0x1fe5a3(0x24b)])}));}[_0x5a0327(0x1da)](_0x390ebc){const _0x42d2ff=_0x5a0327;switch(_0x390ebc['type']){case 0x0:this[_0x42d2ff(0x3ec)](_0x390ebc);break;case 0x1:this[_0x42d2ff(0x239)](_0x390ebc);break;case 0x2:this[_0x42d2ff(0x42a)](_0x390ebc);break;}}[_0x5a0327(0x3ec)](_0x270738){const _0x224ee4=_0x5a0327,{unitIDs:_0x3d6c85,memberID:_0x4b8949,isForwarded:_0x17cbd8}=_0x270738;_0x3d6c85[_0x224ee4(0x22d)](_0x3bb869=>{const _0x50ce17=_0x224ee4;if(!_0x17cbd8&&this[_0x50ce17(0x401)][_0x50ce17(0x203)](_0x3bb869)&&this[_0x50ce17(0x226)](_0x3bb869)[_0x50ce17(0x430)](u[_0x50ce17(0x3ef)]['OTHER_CLIENTS_EDITING']),!this[_0x50ce17(0x401)][_0x50ce17(0x203)](_0x3bb869)||!this[_0x50ce17(0x401)][_0x50ce17(0x210)](_0x3bb869)['has'](_0x4b8949)){const _0x241fbd=this[_0x50ce17(0x401)][_0x50ce17(0x210)](_0x3bb869)||new Set();_0x241fbd['add'](_0x4b8949),this[_0x50ce17(0x401)][_0x50ce17(0x421)](_0x3bb869,_0x241fbd),this[_0x50ce17(0x28f)](_0x4b8949);}}),_0x17cbd8||this[_0x224ee4(0x3cb)]({'type':0x0,'memberID':this[_0x224ee4(0x370)],'unitIDs':[...this[_0x224ee4(0x24b)]],'isForwarded':!0x0});}[_0x5a0327(0x28f)](_0x5ee68c){const _0x5bf1f2=_0x5a0327;this[_0x5bf1f2(0x217)](_0x5ee68c);const _0x4e8aae=window[_0x5bf1f2(0x349)](()=>{const _0x38dca6=_0x5bf1f2;this[_0x38dca6(0x401)][_0x38dca6(0x22d)](_0x486c39=>{_0x486c39['delete'](_0x5ee68c);});},Ne*0x2);this[_0x5bf1f2(0x26e)]['set'](_0x5ee68c,_0x4e8aae);}[_0x5a0327(0x217)](_0x2a6805){const _0x1381a1=_0x5a0327;if(this['_clearOtherTimers'][_0x1381a1(0x203)](_0x2a6805)){const _0x29b57c=this[_0x1381a1(0x26e)][_0x1381a1(0x210)](_0x2a6805);_0x29b57c&&window['clearTimeout'](_0x29b57c),this[_0x1381a1(0x26e)][_0x1381a1(0x421)](_0x2a6805,null);}}[_0x5a0327(0x239)](_0x3d5178){const _0x48ac69=_0x5a0327,{memberID:_0x51bc80,unitIDs:_0x9e0bfa}=_0x3d5178;_0x9e0bfa[_0x48ac69(0x22d)](_0x1e1a93=>{const _0x1cb2fd=_0x48ac69;var _0x19d31a;const _0x33b65f=this[_0x1cb2fd(0x401)][_0x1cb2fd(0x210)](_0x1e1a93);_0x33b65f&&(_0x33b65f[_0x1cb2fd(0x3c3)](_0x51bc80),(_0x19d31a=this[_0x1cb2fd(0x226)](_0x1e1a93))==null||_0x19d31a[_0x1cb2fd(0x430)](_0x33b65f[_0x1cb2fd(0x223)]===0x0?u[_0x1cb2fd(0x3ef)][_0x1cb2fd(0x258)]:u[_0x1cb2fd(0x3ef)][_0x1cb2fd(0x3d0)]));}),this[_0x48ac69(0x217)](_0x51bc80);}[_0x5a0327(0x42a)](_0x1178e5){const _0x3e7188=_0x5a0327;this[_0x3e7188(0x28f)](_0x1178e5[_0x3e7188(0x280)]);}[_0x5a0327(0x3cb)](_0x3f6558){const _0x481612=_0x5a0327;localStorage[_0x481612(0x25c)](we,JSON[_0x481612(0x2aa)](_0x3f6558));}['_scheduleHeartbeat'](){const _0x9778aa=_0x5a0327;this[_0x9778aa(0x1f8)]=window[_0x9778aa(0x341)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},Ne);}['_ensureSubject'](_0x5b38ac){const _0x487ef5=_0x5a0327;return this[_0x487ef5(0x32c)][_0x487ef5(0x203)](_0x5b38ac)||this[_0x487ef5(0x32c)][_0x487ef5(0x421)](_0x5b38ac,new d[(_0x487ef5(0x368))](u[_0x487ef5(0x3ef)][_0x487ef5(0x258)])),this[_0x487ef5(0x32c)][_0x487ef5(0x210)](_0x5b38ac);}}var Be=(_0x217aa0=>(_0x217aa0[_0x217aa0[_0x5a0327(0x2ef)]=0x0]=_0x5a0327(0x2ef),_0x217aa0[_0x217aa0['OK']=0x1]='OK',_0x217aa0[_0x217aa0[_0x5a0327(0x224)]=0x2]=_0x5a0327(0x224),_0x217aa0[_0x217aa0[_0x5a0327(0x417)]=0x3]=_0x5a0327(0x417),_0x217aa0[_0x217aa0[_0x5a0327(0x41c)]=0x4]=_0x5a0327(0x41c),_0x217aa0[_0x217aa0[_0x5a0327(0x241)]=0x5]=_0x5a0327(0x241),_0x217aa0[_0x217aa0[_0x5a0327(0x39b)]=0x6]=_0x5a0327(0x39b),_0x217aa0[_0x217aa0['INVALID_ARGUMENT']=0x7]=_0x5a0327(0x329),_0x217aa0[_0x217aa0['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x217aa0[_0x217aa0['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x217aa0[_0x217aa0[_0x5a0327(0x3de)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x217aa0[_0x217aa0[_0x5a0327(0x23b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x217aa0[_0x217aa0[_0x5a0327(0x326)]=0x1772]=_0x5a0327(0x326),_0x217aa0[_0x217aa0[_0x5a0327(0x375)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x217aa0[_0x217aa0[_0x5a0327(0x22f)]=0x1b59]=_0x5a0327(0x22f),_0x217aa0[_0x217aa0['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5a0327(0x20d),_0x217aa0[_0x217aa0[_0x5a0327(0x314)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x217aa0[_0x217aa0['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x217aa0[_0x217aa0[_0x5a0327(0x327)]=0x1b5d]=_0x5a0327(0x327),_0x217aa0[_0x217aa0[_0x5a0327(0x233)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x217aa0[_0x217aa0[_0x5a0327(0x328)]=0x2329]=_0x5a0327(0x328),_0x217aa0[_0x217aa0[_0x5a0327(0x2a7)]=0x232a]=_0x5a0327(0x2a7),_0x217aa0[_0x217aa0[_0x5a0327(0x3b4)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x217aa0[_0x217aa0[_0x5a0327(0x1fe)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x217aa0[_0x217aa0[_0x5a0327(0x3bf)]=0x232d]=_0x5a0327(0x3bf),_0x217aa0[_0x217aa0[_0x5a0327(0x1bf)]=0x2711]=_0x5a0327(0x1bf),_0x217aa0[_0x217aa0[_0x5a0327(0x382)]=0x2712]=_0x5a0327(0x382),_0x217aa0[_0x217aa0[_0x5a0327(0x3b2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x217aa0[_0x217aa0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x217aa0[_0x217aa0[_0x5a0327(0x3b9)]=0x2af9]=_0x5a0327(0x3b9),_0x217aa0[_0x217aa0[_0x5a0327(0x432)]=-0x1]=_0x5a0327(0x432),_0x217aa0))(Be||{}),hs=Object[_0x5a0327(0x3e2)],_s=(_0x5e1e2e,_0x359a1d,_0x445801,_0x3f336d)=>{const _0x57bf79=_0x5a0327;for(var _0xab3918=_0x3f336d>0x1?void 0x0:_0x3f336d?hs(_0x359a1d,_0x445801):_0x359a1d,_0x4f738d=_0x5e1e2e[_0x57bf79(0x2c6)]-0x1,_0x256c75;_0x4f738d>=0x0;_0x4f738d--)(_0x256c75=_0x5e1e2e[_0x4f738d])&&(_0xab3918=_0x256c75(_0xab3918)||_0xab3918);return _0xab3918;},de=(_0x5a58b7,_0x2cb567)=>(_0x13b264,_0x3aa760)=>_0x2cb567(_0x13b264,_0x3aa760,_0x5a58b7);exports[_0x5a0327(0x41a)]=class extends a[_0x5a0327(0x381)]{constructor(_0x3e093d,_0x25fe86,_0x2471df){const _0x19f777=_0x5a0327;super(),this[_0x19f777(0x43c)]=_0x3e093d,this[_0x19f777(0x39c)]=_0x25fe86,this['_configService']=_0x2471df;}async[_0x5a0327(0x253)](_0x51b15b,_0x573561,_0x5eaa50,..._0x299349){const _0x22902f=_0x5a0327;var _0x24de8a,_0x3056bf,_0xe6bd17,_0x1f37d2;const _0xe88e0c=this['_instanceService'][_0x22902f(0x2ea)]();if(!_0xe88e0c)throw new Error(_0x22902f(0x1dd));const _0x26b020=((_0x24de8a=this[_0x22902f(0x404)]['getConfig'](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x24de8a:u[_0x22902f(0x21d)])+'/'+_0x51b15b+'/run/'+_0x573561,_0x10d939=new URL(window[_0x22902f(0x427)][_0x22902f(0x378)]),_0x153757={'scriptId':_0x51b15b,'runId':(_0x3056bf=_0x10d939[_0x22902f(0x3db)][_0x22902f(0x210)](_0x22902f(0x37e)))!=null?_0x3056bf:'','function':_0x573561,'unitId':_0xe88e0c[_0x22902f(0x36a)](),'argsOfFunction':JSON[_0x22902f(0x2aa)](_0x299349),'invokeId':(_0xe6bd17=_0x5eaa50['invokeId'])!=null?_0xe6bd17:'','executionId':(_0x1f37d2=_0x5eaa50[_0x22902f(0x256)])!=null?_0x1f37d2:''};try{const _0x1b3aa5=await this[_0x22902f(0x39c)][_0x22902f(0x30c)](_0x26b020,{'body':_0x153757});return _0x1b3aa5[_0x22902f(0x20a)][_0x22902f(0x39d)]&&_0x1b3aa5[_0x22902f(0x20a)]['error'][_0x22902f(0x246)]!==Be['OK']?_0x22902f(0x205):_0x1b3aa5['body'][_0x22902f(0x323)];}catch{return'Failed';}}},exports[_0x5a0327(0x41a)]=_s([de(0x0,a[_0x5a0327(0x377)]),de(0x1,a[_0x5a0327(0x43e)](q[_0x5a0327(0x25e)])),de(0x2,a['IConfigService'])],exports[_0x5a0327(0x41a)]),exports[_0x5a0327(0x231)]=je,exports[_0x5a0327(0x2ca)]=Ee,exports['SheetCollabCursorShape']=ye,exports[_0x5a0327(0x2c4)]=ls,exports[_0x5a0327(0x316)]=ke;
1
+ 'use strict';const _0x3061ed=_0x1868;(function(_0x3b94d4,_0x2fedeb){const _0xbb1110=_0x1868,_0x2a6865=_0x3b94d4();while(!![]){try{const _0x49e542=parseInt(_0xbb1110(0x182))/0x1*(-parseInt(_0xbb1110(0x2e0))/0x2)+parseInt(_0xbb1110(0x2b1))/0x3+parseInt(_0xbb1110(0x30c))/0x4*(parseInt(_0xbb1110(0x1ed))/0x5)+-parseInt(_0xbb1110(0x328))/0x6*(-parseInt(_0xbb1110(0x102))/0x7)+parseInt(_0xbb1110(0x1c9))/0x8+parseInt(_0xbb1110(0x28d))/0x9*(parseInt(_0xbb1110(0x26e))/0xa)+-parseInt(_0xbb1110(0x1aa))/0xb;if(_0x49e542===_0x2fedeb)break;else _0x2a6865['push'](_0x2a6865['shift']());}catch(_0x84015c){_0x2a6865['push'](_0x2a6865['shift']());}}}(_0x9151,0x1f6b5));var Xe=Object[_0x3061ed(0x24f)],Ge=(_0x3fd7ba,_0x56b34b,_0x522a51)=>_0x56b34b in _0x3fd7ba?Xe(_0x3fd7ba,_0x56b34b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x522a51}):_0x3fd7ba[_0x56b34b]=_0x522a51,h=(_0x3c3748,_0xa1f923,_0x54bd82)=>Ge(_0x3c3748,typeof _0xa1f923!='symbol'?_0xa1f923+'':_0xa1f923,_0x54bd82);Object[_0x3061ed(0x24f)](exports,Symbol[_0x3061ed(0x136)],{'value':'Module'});const u=require(_0x3061ed(0x168)),a=require(_0x3061ed(0x2a7)),p=require(_0x3061ed(0x331)),q=require(_0x3061ed(0x116)),b=require(_0x3061ed(0x1a3)),qe=require(_0x3061ed(0x198)),d=require(_0x3061ed(0xe1)),Y=require(_0x3061ed(0x2ac)),m=require(_0x3061ed(0x1df)),Te=require(_0x3061ed(0x21f)),g=require(_0x3061ed(0x1dd)),$=require(_0x3061ed(0x16c)),G=require(_0x3061ed(0xda)),w=require(_0x3061ed(0x111)),R=require(_0x3061ed(0x181)),T=require(_0x3061ed(0x2cb)),M=require(_0x3061ed(0x12e)),Ke=require(_0x3061ed(0x1fb));var ze=Object[_0x3061ed(0x245)],Je=(_0x331b71,_0x38feeb,_0x20a53b,_0x3e68d1)=>{const _0x33cc24=_0x3061ed;for(var _0x40cca9=_0x3e68d1>0x1?void 0x0:_0x3e68d1?ze(_0x38feeb,_0x20a53b):_0x38feeb,_0x4fd912=_0x331b71[_0x33cc24(0xf6)]-0x1,_0x4ed60d;_0x4fd912>=0x0;_0x4fd912--)(_0x4ed60d=_0x331b71[_0x4fd912])&&(_0x40cca9=_0x4ed60d(_0x40cca9)||_0x40cca9);return _0x40cca9;},Re=(_0x4df366,_0x277a03)=>(_0x1368fa,_0x1529c3)=>_0x277a03(_0x1368fa,_0x1529c3,_0x4df366);let fe=class extends a['RxDisposable']{constructor(_0x4a05b2,_0x181f3a){const _0x47a489=_0x3061ed;super(),this[_0x47a489(0x1f8)]=_0x4a05b2,this[_0x47a489(0x32f)]=_0x181f3a,this[_0x47a489(0x201)]();}[_0x3061ed(0x201)](){const _0x5e8a5b=_0x3061ed,_0x430d8c=this;this[_0x5e8a5b(0x265)](this['_docClipboardService'][_0x5e8a5b(0x189)]({'onBeforePasteImage':async _0x4e2611=>{const _0x31233b=_0x5e8a5b,_0x3750da=await _0x430d8c[_0x31233b(0x32f)][_0x31233b(0x34f)](_0x4e2611);return _0x3750da?{'source':_0x3750da[_0x31233b(0x230)],'imageSourceType':_0x3750da[_0x31233b(0x313)]}:null;}}));}};fe=Je([Re(0x0,b[_0x3061ed(0x2cc)]),Re(0x1,qe[_0x3061ed(0x2c5)])],fe);function _0x1868(_0xb9e10e,_0x187ff8){const _0x915126=_0x9151();return _0x1868=function(_0x18686f,_0x1fb42e){_0x18686f=_0x18686f-0xce;let _0x61a85e=_0x915126[_0x18686f];return _0x61a85e;},_0x1868(_0xb9e10e,_0x187ff8);}const Oe=[_0x3061ed(0x302),_0x3061ed(0x203),_0x3061ed(0x1a1),_0x3061ed(0x325),_0x3061ed(0x191),_0x3061ed(0x257)];class Ce extends a[_0x3061ed(0xce)]{constructor(){const _0x49f0bd=_0x3061ed;super(...arguments),h(this,_0x49f0bd(0x1a8),new Map()),h(this,'_colorIndex',0x0);}[_0x3061ed(0x1a5)](_0x3e6fa2){const _0x4ee3ce=_0x3061ed;if(this['_assignedColors'][_0x4ee3ce(0xf8)](_0x3e6fa2))return this[_0x4ee3ce(0x1a8)][_0x4ee3ce(0x27e)](_0x3e6fa2);const _0xf91f24=Oe[this[_0x4ee3ce(0x1ef)]];return this['_colorIndex']=(this[_0x4ee3ce(0x1ef)]+0x1)%Oe['length'],this[_0x4ee3ce(0x1a8)][_0x4ee3ce(0x17b)](_0x3e6fa2,_0xf91f24),_0xf91f24;}}function Le(_0x5b3330){let _0x22b313='';for(const _0x10a909 of _0x5b3330){const {startOffset:_0x34a70c,endOffset:_0x467939,isActive:_0x4f0673,rangeType:_0x3cf390,segmentId:_0x564a25,segmentPage:_0x1a060b}=_0x10a909;_0x22b313['length']&&(_0x22b313+=','),_0x22b313+=_0x34a70c+':'+_0x467939+':'+(_0x4f0673?'1':'0')+':'+_0x3cf390+':'+_0x564a25+':'+_0x1a060b;}return _0x22b313;}function Ze(_0x4f3aea){const _0x2d49f0=_0x3061ed,_0x2e169c=_0x4f3aea[_0x2d49f0(0x2f4)](','),_0x3b760e=[];for(const _0x564df1 of _0x2e169c){const [_0x25c545,_0x45ca03,_0x2ca8ce,_0x4f2e56,_0x392d5f,_0x25e48d]=_0x564df1[_0x2d49f0(0x2f4)](':');_0x3b760e[_0x2d49f0(0x2e5)]({'startOffset':Number(_0x25c545),'endOffset':Number(_0x45ca03),'collapsed':_0x25c545===_0x45ca03,'isActive':_0x2ca8ce==='1','rangeType':_0x4f2e56===a[_0x2d49f0(0x30d)]['TEXT']?a[_0x2d49f0(0x30d)][_0x2d49f0(0x1c8)]:a[_0x2d49f0(0x30d)][_0x2d49f0(0x287)],'segmentId':typeof _0x392d5f==_0x2d49f0(0x2ba)?String(_0x392d5f):'','segmentPage':Number(_0x25e48d!=null?_0x25e48d:-0x1)});}return _0x3b760e[_0x2d49f0(0x31f)](_0x36dcb1=>_0x36dcb1[_0x2d49f0(0x22a)])||(_0x3b760e[0x0][_0x2d49f0(0x22a)]=!0x0),_0x3b760e;}class pe extends a['RxDisposable']{constructor(){const _0xdeea26=_0x3061ed;super(...arguments),h(this,'_collabCursorState$',new d[(_0xdeea26(0x303))](null)),h(this,'collabCursorState$',this[_0xdeea26(0x216)]['asObservable']());}[_0x3061ed(0x29e)](_0x4ba86e){const _0x44811f=_0x3061ed,{unitID:_0x2349c3,memberID:_0x570a79,textRanges:_0x440343}=_0x4ba86e,_0x145345=Le(_0x440343);if(_0x145345==='')return;const _0x1432ae={'unitID':_0x2349c3,'memberID':_0x570a79,'selection':_0x145345};this['_collabCursorState$'][_0x44811f(0x15c)](_0x1432ae);}}var Qe=Object[_0x3061ed(0x245)],et=(_0x509be9,_0x14bfad,_0x32c210,_0x11b553)=>{const _0x545305=_0x3061ed;for(var _0x13168f=_0x11b553>0x1?void 0x0:_0x11b553?Qe(_0x14bfad,_0x32c210):_0x14bfad,_0x45a897=_0x509be9[_0x545305(0xf6)]-0x1,_0x3572fe;_0x45a897>=0x0;_0x45a897--)(_0x3572fe=_0x509be9[_0x45a897])&&(_0x13168f=_0x3572fe(_0x13168f)||_0x13168f);return _0x13168f;},P=(_0x47688e,_0x2f0507)=>(_0x2f0b10,_0x5da841)=>_0x2f0507(_0x2f0b10,_0x5da841,_0x47688e);const tt=0x12c,st=0x64;let Se=class extends a[_0x3061ed(0x1e8)]{constructor(_0x4cf6dd,_0x48acc8,_0x5772c1,_0x3ade6e,_0x226b05,_0x319889,_0x4a0da5,_0x41c2ac,_0x52f2e9){const _0x2a829c=_0x3061ed;super(),h(this,_0x2a829c(0x305),!0x1),h(this,_0x2a829c(0x201),!0x1),h(this,_0x2a829c(0x2f8),new d['BehaviorSubject'](new Map())),h(this,_0x2a829c(0x18b),this[_0x2a829c(0x2f8)][_0x2a829c(0xfd)]()),h(this,_0x2a829c(0x166),new d['BehaviorSubject']([])),h(this,'roomMembers$',this[_0x2a829c(0x166)][_0x2a829c(0x24e)](d[_0x2a829c(0x26b)](tt))),h(this,_0x2a829c(0xdc),a[_0x2a829c(0x297)](_0x16a45f=>{const _0x2c8f01=_0x2a829c,_0x2067df={'eventID':m[_0x2c8f01(0x273)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2c8f01(0x14d)],'memberID':this[_0x2c8f01(0x2be)][_0x2c8f01(0x334)](),'selection':Le(_0x16a45f)}};this['_session'][_0x2c8f01(0x314)](_0x2067df,this[_0x2c8f01(0x14d)]);},st)),(this[_0x2a829c(0x14d)]=_0x4cf6dd,this[_0x2a829c(0x2be)]=_0x48acc8,this['_injector']=_0x5772c1,this[_0x2a829c(0x2fc)]=_0x3ade6e,this['_memberService']=_0x226b05,this[_0x2a829c(0x134)]=_0x319889,this[_0x2a829c(0x282)]=_0x4a0da5,this[_0x2a829c(0x169)]=_0x41c2ac,this[_0x2a829c(0x12b)]=_0x52f2e9);}get['cursorInfo'](){const _0x3e5153=_0x3061ed;return this['_cursorInfo$'][_0x3e5153(0x218)]();}get[_0x3061ed(0xe7)](){const _0x3a3a83=_0x3061ed;return this[_0x3a3a83(0x166)]['getValue']();}['dispose'](){const _0xac7273=_0x3061ed;super[_0xac7273(0xd0)](),this[_0xac7273(0x2f8)]['next'](new Map()),this[_0xac7273(0x2f8)][_0xac7273(0x124)](),this[_0xac7273(0x166)][_0xac7273(0x15c)]([]),this[_0xac7273(0x166)]['complete']();}[_0x3061ed(0x341)](){const _0x4186d7=_0x3061ed;this[_0x4186d7(0x201)]||(this['_init']=!0x0,this[_0x4186d7(0x2be)]['sessionStatus$']['pipe'](d['takeUntil'](this['dispose$']))[_0x4186d7(0x27f)](_0x35745a=>{const _0x4bd004=_0x4186d7;_0x35745a===u[_0x4bd004(0x1b4)]['ONLINE']?this[_0x4bd004(0x186)]():this['_toggleOffline']();}),this[_0x4186d7(0x2be)][_0x4186d7(0x30a)][_0x4186d7(0x24e)](d[_0x4186d7(0x1f2)](this[_0x4186d7(0x1e4)]))[_0x4186d7(0x27f)](_0x4c9de2=>{const _0x453d12=_0x4186d7,_0x18b0b2=_0x4c9de2['eventID'];_0x18b0b2===m[_0x453d12(0x273)]['UPDATE_CURSOR']&&this[_0x453d12(0x1f5)](_0x4c9de2),_0x18b0b2===m[_0x453d12(0x273)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4c9de2);}),this[_0x4186d7(0x265)](this[_0x4186d7(0x12b)][_0x4186d7(0x33b)](_0xcaf6e5=>{const _0x331249=_0x4186d7,_0x26cff1=_0xcaf6e5[_0x331249(0x128)];_0x26cff1!=null&&this[_0x331249(0x305)]&&_0xcaf6e5['id']===Y['SetTextSelectionsOperation']['id']&&_0x26cff1[_0x331249(0x1bb)]===this[_0x331249(0x14d)]&&_0x26cff1[_0x331249(0x252)]===!0x1&&_0x26cff1[_0x331249(0x228)][_0x331249(0xf6)]>0x0&&this['_updateLocalCursor'](_0x26cff1[_0x331249(0x228)]);})),this[_0x4186d7(0x134)]['collabCursorState$'][_0x4186d7(0x24e)](d[_0x4186d7(0x1f2)](this[_0x4186d7(0x1e4)]))[_0x4186d7(0x27f)](_0x1f6cae=>{const _0x2123ca=_0x4186d7;if((_0x1f6cae==null?void 0x0:_0x1f6cae[_0x2123ca(0x14d)])!==this['unitID'])return;const _0x3e892c={'eventID':m[_0x2123ca(0x273)][_0x2123ca(0x34b)],'data':_0x1f6cae};this[_0x2123ca(0x1f5)](_0x3e892c);}),this['disposeWithMe'](this[_0x4186d7(0x12b)][_0x4186d7(0x33b)](_0x1d5843=>{const _0x64f866=_0x4186d7;if(_0x1d5843[_0x64f866(0x128)]==null)return;const _0x4d9d31=_0x1d5843[_0x64f866(0x128)];if(_0x1d5843['id']!==Y['RichTextEditingMutation']['id']||_0x4d9d31[_0x64f866(0x1bb)]!==this[_0x64f866(0x14d)])return;const _0xde440={'id':'doc.mutation.rich-text-editing','params':_0x4d9d31},_0x2f49c2=this[_0x64f866(0x1a2)];for(const [_0x4eb09b,_0x3b07fd]of _0x2f49c2){const _0x1b756b={'id':_0x64f866(0x32d),'params':{'unitId':this[_0x64f866(0x14d)],'actions':null,'textRanges':_0x3b07fd[_0x64f866(0x228)]}},_0x429067=this[_0x64f866(0x282)][_0x64f866(0x154)](_0xde440,_0x1b756b,!0x1);if(m[_0x64f866(0x2d5)](_0x429067))throw _0x429067[_0x64f866(0x199)];_0x2f49c2[_0x64f866(0x17b)](_0x4eb09b,{..._0x3b07fd,'ranges':_0x429067['m2Prime']['params'][_0x64f866(0x2e1)]});}queueMicrotask(()=>{const _0x111226=_0x64f866;this['_cursorInfo$'][_0x111226(0x15c)](_0x2f49c2);});})));}[_0x3061ed(0x1f5)](_0x3c8c2d){const _0x17b0d8=_0x3061ed;var _0x1396f0,_0x55d617;const {memberID:_0x2bc118,selection:_0x1c8a18}=_0x3c8c2d['data'],_0x4978f1=Ze(_0x1c8a18),_0x1aadf8=(_0x55d617=(_0x1396f0=this['_memberService'][_0x17b0d8(0x2e6)](this[_0x17b0d8(0x14d)],_0x2bc118))==null?void 0x0:_0x1396f0['name'])!=null?_0x55d617:_0x17b0d8(0x1d2),_0x56af45={'color':this['_colorAssignService'][_0x17b0d8(0x1a5)](_0x2bc118),'name':_0x1aadf8,'ranges':_0x4978f1},_0x5da901=this[_0x17b0d8(0x1a2)];_0x5da901[_0x17b0d8(0x17b)](_0x2bc118,_0x56af45),this['_cursorInfo$']['next'](_0x5da901);}[_0x3061ed(0x2b8)](_0x5b5414){const _0x2e007a=_0x3061ed,{memberID:_0x251548}=_0x5b5414['data'],_0x230a47=this['cursorInfo'];_0x230a47['delete'](_0x251548),this['_cursorInfo$'][_0x2e007a(0x15c)](_0x230a47);}[_0x3061ed(0x186)](){const _0x27be3e=_0x3061ed;var _0x474c19;if(this['_online']=!0x0,((_0x474c19=this[_0x27be3e(0x169)]['getFocusedUnit']())==null?void 0x0:_0x474c19[_0x27be3e(0x339)]())!==this['unitID'])return;const _0x15d125=this[_0x27be3e(0x197)][_0x27be3e(0x27e)](Y[_0x27be3e(0x348)])[_0x27be3e(0x2ad)]();Array[_0x27be3e(0x159)](_0x15d125)&&_0x15d125[_0x27be3e(0xf6)]>0x0&&this['_updateLocalCursor'](_0x15d125);}[_0x3061ed(0xfc)](){const _0x2dda33=_0x3061ed;this[_0x2dda33(0x305)]=!0x1;}};Se=et([P(0x2,a['Inject'](a['Injector'])),P(0x3,a['Inject'](Ce)),P(0x4,a[_0x3061ed(0x16b)](u[_0x3061ed(0xdf)])),P(0x5,a[_0x3061ed(0x16b)](pe)),P(0x6,m[_0x3061ed(0x27c)]),P(0x7,a[_0x3061ed(0x269)]),P(0x8,a['ICommandService'])],Se);var nt=Object[_0x3061ed(0x245)],it=(_0x2f5aaf,_0x260dc9,_0x15f896,_0x28a65f)=>{const _0x5ab3a1=_0x3061ed;for(var _0x21f96f=_0x28a65f>0x1?void 0x0:_0x28a65f?nt(_0x260dc9,_0x15f896):_0x260dc9,_0xc71833=_0x2f5aaf[_0x5ab3a1(0xf6)]-0x1,_0x36884a;_0xc71833>=0x0;_0xc71833--)(_0x36884a=_0x2f5aaf[_0xc71833])&&(_0x21f96f=_0x36884a(_0x21f96f)||_0x21f96f);return _0x21f96f;},A=(_0x5d7172,_0x2b3674)=>(_0x2f0a2c,_0x4b2c92)=>_0x2b3674(_0x2f0a2c,_0x4b2c92,_0x5d7172);const rt=0x12c,ot=0x64,at=()=>{let _0x54d7b3=[],_0x5a2036=!0x1;return _0x5df7a0=>{_0x54d7b3['push'](_0x5df7a0),_0x5a2036||(_0x5a2036=!0x0,setTimeout(()=>{const _0x46de87=_0x1868;_0x54d7b3[_0x46de87(0x204)](_0x26c2ce=>_0x26c2ce()),_0x54d7b3=[],_0x5a2036=!0x1;}));};};let Ie=class extends a[_0x3061ed(0x1e8)]{constructor(_0xd56a86,_0x482174,_0x322d5b,_0xa096db,_0xc95106,_0x424f45,_0x4069b1,_0x41c08e){const _0x39f0f4=_0x3061ed;super(),h(this,_0x39f0f4(0x305),!0x1),h(this,_0x39f0f4(0x201),!0x1),h(this,_0x39f0f4(0x2f8),new d[(_0x39f0f4(0x303))](new Map())),h(this,'cursorInfo$',this[_0x39f0f4(0x2f8)][_0x39f0f4(0xfd)]()),h(this,'_roomMembers$',new d[(_0x39f0f4(0x303))]([])),h(this,_0x39f0f4(0x19f),this[_0x39f0f4(0x166)][_0x39f0f4(0x24e)](d[_0x39f0f4(0x26b)](rt))),h(this,_0x39f0f4(0xdc),a[_0x39f0f4(0x297)]((_0x2a7748,_0x15502e)=>{const _0x5f2cba=_0x39f0f4,_0x47b945={'eventID':m[_0x5f2cba(0x273)][_0x5f2cba(0x34b)],'data':{'unitID':this[_0x5f2cba(0x14d)],'memberID':this['_session'][_0x5f2cba(0x334)](),'selection':Te[_0x5f2cba(0x342)](_0x2a7748,_0x15502e[_0x5f2cba(0x1b9)])}};this[_0x5f2cba(0x2be)]['send'](_0x47b945,this[_0x5f2cba(0x14d)]);},ot)),(this[_0x39f0f4(0x14d)]=_0xd56a86,this[_0x39f0f4(0x2be)]=_0x482174,this[_0x39f0f4(0x197)]=_0x322d5b,this[_0x39f0f4(0x2fc)]=_0xa096db,this[_0x39f0f4(0x17d)]=_0xc95106,this[_0x39f0f4(0x169)]=_0x424f45,this[_0x39f0f4(0x12b)]=_0x4069b1,this[_0x39f0f4(0x270)]=_0x41c08e);}get[_0x3061ed(0x1a2)](){const _0x38105f=_0x3061ed;return this[_0x38105f(0x2f8)][_0x38105f(0x218)]();}get[_0x3061ed(0xe7)](){const _0x367a5b=_0x3061ed;return this[_0x367a5b(0x166)][_0x367a5b(0x218)]();}[_0x3061ed(0xd0)](){const _0x336333=_0x3061ed;super[_0x336333(0xd0)](),this[_0x336333(0x2f8)][_0x336333(0x15c)](new Map()),this[_0x336333(0x2f8)][_0x336333(0x124)](),this['_roomMembers$'][_0x336333(0x15c)]([]),this['_roomMembers$'][_0x336333(0x124)]();}['init'](){const _0x54e318=_0x3061ed;this[_0x54e318(0x201)]||(this[_0x54e318(0x201)]=!0x0,this[_0x54e318(0x2be)][_0x54e318(0x1c2)][_0x54e318(0x24e)](d['takeUntil'](this[_0x54e318(0x1e4)]))['subscribe'](_0x24975=>{const _0x3c23e1=_0x54e318;_0x24975===u['SessionStatus']['ONLINE']?this[_0x3c23e1(0x186)]():this[_0x3c23e1(0xfc)]();}),this['_session'][_0x54e318(0x30a)][_0x54e318(0x24e)](d[_0x54e318(0x1f2)](this['dispose$']))[_0x54e318(0x27f)](_0xe8f42b=>{const _0x59c620=_0x54e318,_0x2a5171=_0xe8f42b[_0x59c620(0x23f)];_0x2a5171===m[_0x59c620(0x273)][_0x59c620(0x34b)]&&this[_0x59c620(0x1f5)](_0xe8f42b),_0x2a5171===m[_0x59c620(0x273)][_0x59c620(0x304)]&&this[_0x59c620(0x2b8)](_0xe8f42b);}),this[_0x54e318(0x1b1)](),this['disposeWithMe'](this[_0x54e318(0x12b)][_0x54e318(0x33b)](_0x4d0e5b=>{const _0x3b0dca=_0x54e318;if(this['_online']&&_0x4d0e5b['id']===g[_0x3b0dca(0x318)]['id']&&_0x4d0e5b[_0x3b0dca(0x128)][_0x3b0dca(0x1bb)]===this[_0x3b0dca(0x14d)]){const _0x67bc76=_0x4d0e5b[_0x3b0dca(0x128)];this[_0x3b0dca(0xdc)](_0x67bc76['subUnitId'],_0x67bc76[_0x3b0dca(0x2b9)][0x0]);}})));}[_0x3061ed(0x1f5)](_0x47bc2e){const _0xb0b42f=_0x3061ed;var _0x269d5f,_0x3064c9;const {memberID:_0x521274,selection:_0x2366ef}=_0x47bc2e['data'],{sheetName:_0x34a4c3,range:_0x2a05e3}=Te[_0xb0b42f(0xe3)](_0x2366ef),_0x18c0e6={'name':(_0x3064c9=(_0x269d5f=this[_0xb0b42f(0x17d)][_0xb0b42f(0x2e6)](this[_0xb0b42f(0x14d)],_0x521274))==null?void 0x0:_0x269d5f[_0xb0b42f(0xef)])!=null?_0x3064c9:_0xb0b42f(0x1d2),'range':this[_0xb0b42f(0x1ac)](_0x34a4c3,_0x2a05e3),'sheetID':_0x34a4c3,'color':this[_0xb0b42f(0x2fc)][_0xb0b42f(0x1a5)](_0x521274),'selection':_0x2366ef},_0x2f41ea=this[_0xb0b42f(0x1a2)];_0x2f41ea['set'](_0x521274,_0x18c0e6),this[_0xb0b42f(0x2f8)]['next'](_0x2f41ea);}[_0x3061ed(0x2b8)](_0x4c3f1a){const _0x4c56e8=_0x3061ed,{memberID:_0x4ec0ca}=_0x4c3f1a[_0x4c56e8(0xe4)],_0x12a312=this['cursorInfo'];_0x12a312[_0x4c56e8(0x337)](_0x4ec0ca),this['_cursorInfo$'][_0x4c56e8(0x15c)](_0x12a312);}[_0x3061ed(0x1ac)](_0x430515,_0x302a84){const _0x47d3a3=_0x3061ed;var _0x1924f4,_0x4d6064;const _0x4b38c2=(_0x4d6064=(_0x1924f4=this[_0x47d3a3(0x169)][_0x47d3a3(0x183)](this[_0x47d3a3(0x14d)]))==null?void 0x0:_0x1924f4[_0x47d3a3(0x25d)](_0x430515))==null?void 0x0:_0x4d6064[_0x47d3a3(0xfe)]();return(_0x4b38c2==null?void 0x0:_0x4b38c2[_0x47d3a3(0x10d)](_0x215fc9=>a[_0x47d3a3(0x20c)][_0x47d3a3(0x214)](_0x215fc9,_0x302a84)))||_0x302a84;}[_0x3061ed(0x1b1)](){const _0x38b167=_0x3061ed,_0xd02828=new a[(_0x38b167(0x1b8))](),_0x385ede=at(),_0x52889c=()=>{const _0x28d290=_0x38b167;_0xd02828['dispose']();const _0x35a8ca=(_0x2aec08,_0xfa541c,_0x42e5ed,_0x398c62)=>{const _0x1668cb=_0x1868;let _0x138298=[];switch(_0x2aec08['id']){case g[_0x1668cb(0x2b5)][_0x1668cb(0x172)]:{_0x138298=g[_0x1668cb(0x34c)](_0x2aec08,_0x398c62);break;}case g[_0x1668cb(0x2b5)][_0x1668cb(0x195)]:{_0x138298=g[_0x1668cb(0x1fa)](_0x2aec08,_0x398c62);break;}case g[_0x1668cb(0x2b5)]['InsertColCommandId']:{_0x138298=g[_0x1668cb(0x349)](_0x2aec08,_0x398c62);break;}case g[_0x1668cb(0x2b5)][_0x1668cb(0xdd)]:{_0x138298=g['handleInsertRangeMoveDown'](_0x2aec08,_0x398c62);break;}case g[_0x1668cb(0x2b5)][_0x1668cb(0x33e)]:{_0x138298=g[_0x1668cb(0x300)](_0x2aec08,_0x398c62);break;}case g[_0x1668cb(0x2b5)][_0x1668cb(0x242)]:{_0x138298=g[_0x1668cb(0x2d4)](_0x2aec08,_0x398c62);break;}case g[_0x1668cb(0x2b5)]['MoveRangeCommandId']:{_0x138298=g['handleMoveRange'](_0x2aec08,_0x398c62);break;}case g[_0x1668cb(0x2b5)][_0x1668cb(0x244)]:{_0x138298=g[_0x1668cb(0x239)](_0x2aec08,_0x398c62);break;}case g[_0x1668cb(0x2b5)][_0x1668cb(0x32a)]:{_0x138298=g['handleIRemoveRow'](_0x2aec08,_0x398c62);break;}}const _0x48fd42=g[_0x1668cb(0x307)](_0x138298,_0x398c62),_0x3de475=this[_0x1668cb(0x1a2)][_0x1668cb(0x27e)](_0xfa541c);if(_0x3de475&&_0x48fd42){const _0xab5880={..._0x3de475,'range':_0x48fd42};this[_0x1668cb(0x1a2)][_0x1668cb(0x17b)](_0xfa541c,_0xab5880),_0x385ede(()=>{const _0x44b304=_0x1668cb,_0x284279=this[_0x44b304(0x270)][_0x44b304(0x14e)](_0x48fd42,_0x4eff75=>(_0x284279['dispose'](),_0x35a8ca(_0x4eff75,_0xfa541c,_0x42e5ed,_0x48fd42)));_0xd02828[_0x44b304(0x144)](_0x284279);});}return{'redos':[],'undos':[]};};this[_0x28d290(0x1a2)][_0x28d290(0x204)]((_0x278adf,_0x47ab46)=>{const _0x359826=_0x28d290,{range:_0xdfdb68,sheetID:_0x609473}=_0x278adf,_0x455dcf=this[_0x359826(0x270)][_0x359826(0x14e)](_0xdfdb68,_0x4e264e=>(_0x455dcf[_0x359826(0xd0)](),_0x35a8ca(_0x4e264e,_0x47ab46,_0x609473,_0xdfdb68)));_0xd02828['add'](_0x455dcf);});};this['disposeWithMe'](a[_0x38b167(0x1d1)](this[_0x38b167(0x2f8)][_0x38b167(0x27f)](()=>{_0x52889c();})));}['_toggleOnline'](){const _0x1a84c0=_0x3061ed;var _0xf0ce2a,_0x7e6011;if(this['_online']=!0x0,((_0xf0ce2a=this[_0x1a84c0(0x169)]['getFocusedUnit']())==null?void 0x0:_0xf0ce2a[_0x1a84c0(0x339)]())!==this['unitID'])return;const _0x2aeaa6=(_0x7e6011=this[_0x1a84c0(0x197)][_0x1a84c0(0x27e)](g[_0x1a84c0(0x157)])[_0x1a84c0(0x137)]())==null?void 0x0:_0x7e6011[0x0],_0x13d76d=this[_0x1a84c0(0x169)]['getCurrentUnitForType'](a[_0x1a84c0(0x352)]['UNIVER_SHEET'])[_0x1a84c0(0x256)]();_0x2aeaa6&&_0x13d76d&&this[_0x1a84c0(0xdc)](_0x13d76d[_0x1a84c0(0x1af)](),_0x2aeaa6);}['_toggleOffline'](){const _0x3cc858=_0x3061ed;this[_0x3cc858(0x305)]=!0x1;}};Ie=it([A(0x2,a[_0x3061ed(0x16b)](a[_0x3061ed(0x30b)])),A(0x3,a[_0x3061ed(0x16b)](Ce)),A(0x4,a['Inject'](u[_0x3061ed(0xdf)])),A(0x5,a[_0x3061ed(0x269)]),A(0x6,a['ICommandService']),A(0x7,a['Inject'](g['RefRangeService']))],Ie);var ct=Object[_0x3061ed(0x245)],lt=(_0x38bb3e,_0x5e7569,_0x3eda30,_0x23704e)=>{for(var _0xc504f5=_0x23704e>0x1?void 0x0:_0x23704e?ct(_0x5e7569,_0x3eda30):_0x5e7569,_0x302b8a=_0x38bb3e['length']-0x1,_0x5385ab;_0x302b8a>=0x0;_0x302b8a--)(_0x5385ab=_0x38bb3e[_0x302b8a])&&(_0xc504f5=_0x5385ab(_0xc504f5)||_0xc504f5);return _0xc504f5;},ie=(_0x574a15,_0x2c46d0)=>(_0x71224e,_0x26c55e)=>_0x2c46d0(_0x71224e,_0x26c55e,_0x574a15);let x=class extends a[_0x3061ed(0x1e8)]{constructor(_0x3556d0,_0x5ea22d,_0x3c3f51){const _0x580c36=_0x3061ed;super(),h(this,_0x580c36(0x185),new Map()),h(this,_0x580c36(0x158),new d[(_0x580c36(0x26f))]()),(this['_univerInstanceService']=_0x3556d0,this[_0x580c36(0x197)]=_0x5ea22d,this[_0x580c36(0x246)]=_0x3c3f51,this[_0x580c36(0x201)]());}['dispose'](){const _0x4ea62a=_0x3061ed;super[_0x4ea62a(0xd0)](),this['_entityInit$'][_0x4ea62a(0x124)](),this[_0x4ea62a(0x185)]['forEach'](_0x45e2d5=>_0x45e2d5[_0x4ea62a(0xd0)]());}['getCollabCursors$'](_0x407ecf){const _0x11bcaa=_0x3061ed;return this[_0x11bcaa(0x185)][_0x11bcaa(0xf8)](_0x407ecf)?this[_0x11bcaa(0x185)][_0x11bcaa(0x27e)](_0x407ecf)[_0x11bcaa(0x18b)]:this[_0x11bcaa(0x158)][_0x11bcaa(0x24e)](d[_0x11bcaa(0x22c)](_0x325792=>_0x325792[_0x11bcaa(0x14d)]===_0x407ecf),d['switchMap'](_0x5834a0=>_0x5834a0[_0x11bcaa(0x18b)]));}['_init'](){const _0x1ed971=_0x3061ed;this[_0x1ed971(0x169)]['getTypeOfUnitAdded$'](a[_0x1ed971(0x352)]['UNIVER_SHEET'])['pipe'](d[_0x1ed971(0x1f2)](this[_0x1ed971(0x1e4)]))['subscribe'](async _0x506db6=>{const _0x310e26=_0x1ed971,_0x3dacd2=_0x506db6[_0x310e26(0x339)](),_0x5e0930=await this['_startSheetCollabCursor'](_0x3dacd2);this['_entityInit$']['next'](_0x5e0930),this[_0x310e26(0x185)][_0x310e26(0x17b)](_0x3dacd2,_0x5e0930);}),this[_0x1ed971(0x169)][_0x1ed971(0x2c6)](a[_0x1ed971(0x352)][_0x1ed971(0x233)])[_0x1ed971(0x24e)](d[_0x1ed971(0x1f2)](this[_0x1ed971(0x1e4)]))['pipe'](d[_0x1ed971(0x22c)](_0x574d0c=>!_0x574d0c[_0x1ed971(0x339)]()[_0x1ed971(0x323)]('__')))[_0x1ed971(0x27f)](async _0x19ed7e=>{const _0x5224e4=_0x1ed971,_0x131db6=_0x19ed7e[_0x5224e4(0x339)](),_0xe13476=await this['_startDocCollabCursor'](_0x131db6);this[_0x5224e4(0x158)][_0x5224e4(0x15c)](_0xe13476),this[_0x5224e4(0x185)][_0x5224e4(0x17b)](_0x131db6,_0xe13476);}),d[_0x1ed971(0x240)](this[_0x1ed971(0x169)][_0x1ed971(0x1d8)](a[_0x1ed971(0x352)][_0x1ed971(0x233)]),this['_univerInstanceService'][_0x1ed971(0x1d8)](a['UniverInstanceType'][_0x1ed971(0x2a2)]))[_0x1ed971(0x24e)](d[_0x1ed971(0x1f2)](this[_0x1ed971(0x1e4)]))[_0x1ed971(0x27f)](_0x197331=>{const _0x2c9679=_0x1ed971,_0x225597=_0x197331[_0x2c9679(0x339)](),_0x190fe5=this['_entities'][_0x2c9679(0x27e)](_0x225597);_0x190fe5&&(_0x190fe5[_0x2c9679(0xd0)](),this[_0x2c9679(0x185)][_0x2c9679(0x337)](_0x225597));});}async[_0x3061ed(0x1cc)](_0x50caa8){const _0x16cf56=_0x3061ed,_0x5ecf40=await this['_collabSessionService'][_0x16cf56(0x1e1)](_0x50caa8),_0x32a98d=this[_0x16cf56(0x197)][_0x16cf56(0x291)](Ie,_0x50caa8,_0x5ecf40);return _0x32a98d[_0x16cf56(0x341)](),_0x32a98d;}async[_0x3061ed(0x14a)](_0x763e5){const _0x985c69=_0x3061ed,_0x41ef97=await this[_0x985c69(0x246)]['requireSession'](_0x763e5),_0x156f64=this[_0x985c69(0x197)][_0x985c69(0x291)](Se,_0x763e5,_0x41ef97);return _0x156f64[_0x985c69(0x341)](),_0x156f64;}};x=lt([ie(0x0,a[_0x3061ed(0x269)]),ie(0x1,a[_0x3061ed(0x16b)](a[_0x3061ed(0x30b)])),ie(0x2,a[_0x3061ed(0x16b)](u[_0x3061ed(0x34a)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x14dd1,_0xdcdee6){const _0x50a859=_0x3061ed;let {radius:_0x3c41b3,width:_0x35c35c,height:_0x59fa82}=_0xdcdee6;_0x3c41b3=_0x3c41b3!=null?_0x3c41b3:0x0,_0x35c35c=_0x35c35c!=null?_0x35c35c:0x1e,_0x59fa82=_0x59fa82!=null?_0x59fa82:0x1e;let _0x16c406=0x0,_0x3f73e8=0x0,_0x5353d4=0x0;_0x16c406=_0x3f73e8=_0x5353d4=Math[_0x50a859(0x18d)](_0x3c41b3,_0x35c35c/0x2,_0x59fa82/0x2),_0x14dd1['beginPath'](),_0x14dd1[_0x50a859(0x351)](_0x16c406,0x0),_0x14dd1[_0x50a859(0xcf)](_0x35c35c-_0x3f73e8,0x0),_0x14dd1['arc'](_0x35c35c-_0x3f73e8,_0x3f73e8,_0x3f73e8,Math['PI']*0x3/0x2,0x0,!0x1),_0x14dd1['lineTo'](_0x35c35c,_0x59fa82-_0x5353d4),_0x14dd1[_0x50a859(0x309)](_0x35c35c-_0x5353d4,_0x59fa82-_0x5353d4,_0x5353d4,0x0,Math['PI']/0x2,!0x1),_0x14dd1[_0x50a859(0xcf)](0x0,_0x59fa82),_0x14dd1[_0x50a859(0xcf)](0x0,_0x16c406),_0x14dd1[_0x50a859(0x309)](_0x16c406,_0x16c406,_0x16c406,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x14dd1['closePath'](),_0xdcdee6['fill']&&(_0x14dd1[_0x50a859(0x100)](),_0x14dd1['fillStyle']=_0xdcdee6[_0x50a859(0x2c1)],_0xdcdee6[_0x50a859(0x23b)]===_0x50a859(0x12a)?_0x14dd1[_0x50a859(0x2c1)](_0x50a859(0x12a)):_0x14dd1[_0x50a859(0x2c1)](),_0x14dd1[_0x50a859(0x2e2)]());}class te extends p[_0x3061ed(0x312)]{constructor(_0x320298,_0x5c480a){const _0x13e70c=_0x3061ed;super(_0x320298,_0x5c480a),h(this,_0x13e70c(0x346)),h(this,_0x13e70c(0x2da)),(this['color']=_0x5c480a==null?void 0x0:_0x5c480a[_0x13e70c(0x346)],this['text']=_0x5c480a==null?void 0x0:_0x5c480a[_0x13e70c(0x2da)]);}static[_0x3061ed(0x251)](_0x123e2a,_0x136951){const _0x2879ce=_0x3061ed,{text:_0x450a1e,color:_0x5c0e3a}=_0x136951;_0x123e2a[_0x2879ce(0x100)](),_0x123e2a[_0x2879ce(0x33f)]=_0x2879ce(0x176);const _0x5929e5=_0x123e2a[_0x2879ce(0x1a0)](_0x450a1e)[_0x2879ce(0x2f5)],_0x478aee=Math[_0x2879ce(0x18d)](_0x5929e5+0x2*re,De);_t(_0x123e2a,{'height':K,'radius':0x4,'width':_0x478aee,'fill':_0x5c0e3a}),_0x123e2a['fillStyle']=_0x2879ce(0x2d8);const _0x2e3398=re,_0x186e62=K-ht,_0x3c756e=De-0x2*re;if(_0x5929e5>_0x3c756e){let _0x5f554a='',_0x1c8623=0x0;for(const _0x2f40fc of _0x450a1e){const _0x41850f=_0x123e2a['measureText'](_0x2f40fc)[_0x2879ce(0x2f5)];if(_0x1c8623+_0x41850f<=_0x3c756e-_0x123e2a[_0x2879ce(0x1a0)](_0x2879ce(0x32c))[_0x2879ce(0x2f5)])_0x5f554a+=_0x2f40fc,_0x1c8623+=_0x41850f;else{_0x5f554a+='...';break;}}_0x123e2a[_0x2879ce(0x14c)](_0x5f554a,_0x2e3398,_0x186e62);}else _0x123e2a[_0x2879ce(0x14c)](_0x450a1e,_0x2e3398,_0x186e62);_0x123e2a['restore']();}[_0x3061ed(0x173)](_0x3b0a5e){const _0x30cb48=_0x3061ed;te[_0x30cb48(0x251)](_0x3b0a5e,this);}}const oe=_0x3061ed(0x268),ut='collab-text-range-',dt=_0x3061ed(0x219),B=0x6,ft=1.5,ae=0x4,St=1.5,It=_0x3061ed(0x1cd);class Ue{constructor(_0x18d68e,_0x49a632,_0x19dc33,_0x39e4ba){const _0x453092=_0x3061ed;h(this,_0x453092(0x260),[]),h(this,_0x453092(0x30e),null),h(this,_0x453092(0x253),null),h(this,'_anchorDot',null),h(this,_0x453092(0x28a),null),h(this,_0x453092(0x235),null),(this[_0x453092(0x212)]=_0x18d68e,this[_0x453092(0x25b)]=_0x49a632,this[_0x453092(0x2c7)]=_0x19dc33,this[_0x453092(0x1c5)]=_0x39e4ba,this[_0x453092(0x229)]());}set[_0x3061ed(0x25c)](_0x2730ac){const _0x10a93f=_0x3061ed;_0x2730ac?(this['_anchorDot']&&this[_0x10a93f(0x258)][_0x10a93f(0x140)](),this[_0x10a93f(0x253)]&&this[_0x10a93f(0x253)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x10a93f(0x17c)](),this[_0x10a93f(0x253)]&&this[_0x10a93f(0x253)][_0x10a93f(0x140)]());}[_0x3061ed(0xd0)](){const _0x2245d7=_0x3061ed;for(const _0x48544c of this[_0x2245d7(0x260)])_0x48544c[_0x2245d7(0xd0)]();this[_0x2245d7(0x253)]&&this['_textBubble'][_0x2245d7(0xd0)](),this[_0x2245d7(0x258)]&&this[_0x2245d7(0x258)]['dispose'](),this[_0x2245d7(0x30e)]&&this[_0x2245d7(0x30e)][_0x2245d7(0xd0)](),this[_0x2245d7(0x235)]&&this[_0x2245d7(0x235)]();}[_0x3061ed(0x229)](){const _0xe1fb95=_0x3061ed;var _0xd46e6c;const {_docSkeleton:_0x5145de,_document:_0x2c4af4}=this,{color:_0x6885bd,name:_0x9ee83d,ranges:_0x2c711f}=this['_cursor'],_0x130fd9=_0x2c4af4['getOffsetConfig'](),{docsLeft:_0x506f4a,docsTop:_0xfd32dc}=_0x130fd9,_0x329ec7=new b[(_0xe1fb95(0x28e))](_0x130fd9,_0x5145de);for(const {startOffset:_0x1429eb,endOffset:_0x4aad49,rangeType:_0xc2b036,segmentId:_0x28387d,segmentPage:_0x1ecd22,collapsed:_0x19104c,isActive:_0x5ce4aa}of _0x2c711f){const _0x51cdef=_0x5145de[_0xe1fb95(0x1a7)](_0x1429eb,!0x0,_0x28387d,_0x1ecd22);let _0x16c87e=_0x5145de[_0xe1fb95(0x1a7)](_0x4aad49,!0x0,_0x28387d,_0x1ecd22);if(_0x16c87e==null&&(_0x16c87e=_0x5145de[_0xe1fb95(0x1a7)](_0x4aad49-0x1,!0x1,_0x28387d,_0x1ecd22)),_0x5ce4aa){const {contentBoxPointGroup:_0x4d06ad}=_0x329ec7[_0xe1fb95(0x280)](_0x16c87e,_0x16c87e);if(_0x4d06ad[_0xe1fb95(0xf6)]===0x0)continue;this['_drawAnchor'](_0x6885bd,_0x4d06ad,_0x506f4a,_0xfd32dc,_0x9ee83d),this[_0xe1fb95(0x235)]=this['_handleHover']();}if(_0x51cdef&&_0x16c87e){if(_0xc2b036===a[_0xe1fb95(0x30d)][_0xe1fb95(0x287)]){const _0xe60295=new b[(_0xe1fb95(0x1c0))](_0x130fd9,_0x5145de),{pointGroup:_0x2f79ad}=(_0xd46e6c=_0xe60295[_0xe1fb95(0x280)](_0x51cdef,_0x16c87e))!=null?_0xd46e6c:{};if(_0x2f79ad==null||_0x2f79ad[_0xe1fb95(0xf6)]===0x0)continue;this['_drawRectRange'](_0x6885bd,_0x2f79ad,_0x506f4a,_0xfd32dc);}else{if(!_0x19104c){const {borderBoxPointGroup:_0x150a29}=_0x329ec7[_0xe1fb95(0x280)](_0x51cdef,_0x16c87e);if(_0x150a29[_0xe1fb95(0xf6)]===0x0)continue;this[_0xe1fb95(0x1cb)](_0x6885bd,_0x150a29,_0x506f4a,_0xfd32dc);}}}}}['_drawAnchor'](_0x2616b0,_0x2e789f,_0x4b20a3,_0x5aff1d,_0x2c6728){const _0x8298f9=_0x3061ed,_0x1c750a=this[_0x8298f9(0x1a4)](_0x2e789f),{left:_0x3c2af7,top:_0x3aee4d,height:_0x47aa3f}=_0x1c750a,_0x1b14fc=this[_0x8298f9(0xd3)](),_0x110f5e=St/_0x1b14fc,_0x435d93=new p[(_0x8298f9(0x21e))](oe+a[_0x8298f9(0x1b5)][_0x8298f9(0x10a)](B),{'left':_0x3c2af7+_0x4b20a3-_0x110f5e,'top':_0x3aee4d+_0x5aff1d,'height':_0x47aa3f,'width':ft,'fill':_0x2616b0||p[_0x8298f9(0x150)](a['COLORS']['black'],0x0),'strokeWidth':_0x110f5e,'stroke':It,'evented':!0x0});this[_0x8298f9(0x30e)]=_0x435d93,this[_0x8298f9(0x25b)]['addObject'](_0x435d93,b[_0x8298f9(0x1cf)]);const _0x14774a=new p[(_0x8298f9(0x21e))](oe+a[_0x8298f9(0x1b5)][_0x8298f9(0x10a)](B),{'left':_0x3c2af7+_0x4b20a3-_0x110f5e,'top':_0x3aee4d+_0x5aff1d-ae/0x2,'height':ae,'width':ae,'fill':_0x2616b0||p[_0x8298f9(0x150)](a[_0x8298f9(0x262)][_0x8298f9(0x202)],0x0),'strokeWidth':0x0,'stroke':_0x2616b0||p['getColor'](a[_0x8298f9(0x262)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x14774a,this[_0x8298f9(0x25b)]['addObject'](_0x14774a,b['TEXT_RANGE_LAYER_INDEX']);const _0x40baf8=new te(oe+a[_0x8298f9(0x1b5)][_0x8298f9(0x10a)](B),{'left':_0x3c2af7+_0x4b20a3-_0x110f5e,'top':_0x3aee4d+_0x5aff1d-K,'text':_0x2c6728,'color':_0x2616b0});this[_0x8298f9(0x253)]=_0x40baf8,this[_0x8298f9(0x25b)]['addObject'](_0x40baf8,b[_0x8298f9(0x1cf)]),this[_0x8298f9(0x25c)]=!0x1;}[_0x3061ed(0x2e4)](){const _0x3c2f60=_0x3061ed,_0x54df13=this[_0x3c2f60(0x30e)][_0x3c2f60(0x2e8)][_0x3c2f60(0x277)](()=>{this['_hover']=!0x0;}),_0x5ddf33=this[_0x3c2f60(0x30e)][_0x3c2f60(0x224)][_0x3c2f60(0x277)](()=>{const _0x1a0d22=_0x3c2f60;this[_0x1a0d22(0x28a)]&&clearTimeout(this[_0x1a0d22(0x28a)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2d9b8b=_0x3c2f60;_0x54df13['unsubscribe'](),_0x5ddf33[_0x2d9b8b(0xe2)]();};}['_drawTextRange'](_0x18dae8,_0x422bec,_0x276d13,_0x723660){const _0x3f3a1e=_0x3061ed,_0x5150fb=new a['ColorKit'](_0x18dae8)['setAlpha'](0.2)[_0x3f3a1e(0x16e)](),_0x1a0f57=new p[(_0x3f3a1e(0x171))](ut+a[_0x3f3a1e(0x1b5)][_0x3f3a1e(0x10a)](B),{'pointsGroup':_0x422bec,'fill':_0x5150fb||p[_0x3f3a1e(0x150)](a[_0x3f3a1e(0x262)]['black'],0.2),'left':_0x276d13,'top':_0x723660,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f3a1e(0x260)][_0x3f3a1e(0x2e5)](_0x1a0f57),this[_0x3f3a1e(0x25b)]['addObject'](_0x1a0f57,b[_0x3f3a1e(0x1cf)]);}['_drawRectRange'](_0x4d2a1a,_0x549cf2,_0x28c823,_0x5b2a41){const _0x5e30a8=_0x3061ed,_0xe77b38=new a[(_0x5e30a8(0xde))](_0x4d2a1a)[_0x5e30a8(0x170)](0.2)[_0x5e30a8(0x16e)](),_0x4009af=new p[(_0x5e30a8(0x171))](dt+a['Tools'][_0x5e30a8(0x10a)](B),{'pointsGroup':_0x549cf2,'fill':_0xe77b38||p[_0x5e30a8(0x150)](a[_0x5e30a8(0x262)][_0x5e30a8(0x202)],0.2),'left':_0x28c823,'top':_0x5b2a41,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x4009af),this[_0x5e30a8(0x25b)]['addObject'](_0x4009af,b['TEXT_RANGE_LAYER_INDEX']);}[_0x3061ed(0x1a4)](_0xde3b49){const _0x1783eb=_0xde3b49[0x0],_0x29dabe=_0x1783eb[0x0],_0x36964c=_0x1783eb[0x2],{x:_0xabdd00,y:_0x24173d}=_0x29dabe,{x:_0x3a854d,y:_0x2e8c90}=_0x36964c;return{'left':_0xabdd00,'top':_0x24173d,'width':_0x3a854d-_0xabdd00,'height':_0x2e8c90-_0x24173d};}[_0x3061ed(0xd3)](){const _0x4df5f8=_0x3061ed,{scaleX:_0x37eb6d,scaleY:_0x3f0026}=this[_0x4df5f8(0x25b)][_0x4df5f8(0x138)]();return Math['max'](_0x37eb6d,_0x3f0026);}}var vt=Object[_0x3061ed(0x245)],gt=(_0x5b37af,_0x19cf56,_0x689349,_0x5ef407)=>{const _0x4ca6c0=_0x3061ed;for(var _0x3f0355=_0x5ef407>0x1?void 0x0:_0x5ef407?vt(_0x19cf56,_0x689349):_0x19cf56,_0xa4bfc1=_0x5b37af[_0x4ca6c0(0xf6)]-0x1,_0x139d0a;_0xa4bfc1>=0x0;_0xa4bfc1--)(_0x139d0a=_0x5b37af[_0xa4bfc1])&&(_0x3f0355=_0x139d0a(_0x3f0355)||_0x3f0355);return _0x3f0355;},V=(_0x31addd,_0x11f7e0)=>(_0x5b7a57,_0x5e42bd)=>_0x11f7e0(_0x5b7a57,_0x5e42bd,_0x31addd);let ve=class extends a['RxDisposable']{constructor(_0x3f36dd,_0x32d864,_0x4a154d,_0x5001ae,_0x589850){const _0x198c6a=_0x3061ed;super(),h(this,_0x198c6a(0x332),[]),h(this,_0x198c6a(0x1ae),[]),(this['_context']=_0x3f36dd,this[_0x198c6a(0x1bd)]=_0x32d864,this[_0x198c6a(0x2ce)]=_0x4a154d,this[_0x198c6a(0x12b)]=_0x5001ae,this[_0x198c6a(0x139)]=_0x589850,this['_init']());}[_0x3061ed(0x201)](){const _0x191112=_0x3061ed,_0x4e8b22=this[_0x191112(0x247)]['unitId'],_0x32ee02=this['_docSkeletonManagerService'];this[_0x191112(0x265)](d['combineLatest']([this['_collabCursorController'][_0x191112(0x2b0)](_0x4e8b22),this['_themeService'][_0x191112(0x193)]])[_0x191112(0x24e)]($[_0x191112(0x238)](([_0x4ae1e8,_0x258613])=>({'skeleton':_0x32ee02[_0x191112(0xd1)](),'cursors':[..._0x4ae1e8[_0x191112(0x1f4)]()][_0x191112(0x26c)](_0x3605ce=>({..._0x3605ce,'color':_0x258613[_0x3605ce[_0x191112(0x346)]]}))})))[_0x191112(0x27f)](_0x1cd483=>{if(this['_removeCollabCursors'](),_0x1cd483){const {skeleton:_0x523c81,cursors:_0x505fc5}=_0x1cd483;this['_updateCollabCursors'](_0x523c81,_0x505fc5);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x30b728,_0x22bc92){const _0x48843e=_0x3061ed,{scene:_0x2f724a,mainComponent:_0x4f9570}=this[_0x48843e(0x247)],_0x3c4e00=_0x22bc92[_0x48843e(0x238)](_0x1e7486=>new Ue(_0x1e7486,_0x2f724a,_0x30b728,_0x4f9570));this[_0x48843e(0x332)]=_0x3c4e00,this['_cursors']=_0x22bc92;}[_0x3061ed(0x22d)](){const _0x5edae4=_0x3061ed;this[_0x5edae4(0x211)]();const {scene:_0x134d1c,mainComponent:_0x2be74e}=this[_0x5edae4(0x247)],_0x43e3da=this[_0x5edae4(0x1bd)][_0x5edae4(0xd1)](),_0x38c49e=this[_0x5edae4(0x1ae)][_0x5edae4(0x238)](_0x308fae=>new Ue(_0x308fae,_0x134d1c,_0x43e3da,_0x2be74e));this['_cursorShapes']=_0x38c49e;}['_removeCollabCursors'](){const _0x19efd7=_0x3061ed;this['_cursorShapes']['forEach'](_0x1be009=>_0x1be009[_0x19efd7(0xd0)]()),this['_cursorShapes']=[];}[_0x3061ed(0x2c0)](){const _0x7d8709=_0x3061ed,_0x11c805=[b[_0x7d8709(0x350)]['id']];this[_0x7d8709(0x265)](this[_0x7d8709(0x12b)][_0x7d8709(0x33b)](_0x2b6409=>{const _0x55ec96=_0x7d8709;_0x11c805[_0x55ec96(0x2bf)](_0x2b6409['id'])&&_0x2b6409['params'][_0x55ec96(0x1bb)]===this[_0x55ec96(0x247)]['unitId']&&this[_0x55ec96(0x22d)]();}));}['_initResize'](){const _0x90705b=_0x3061ed;this[_0x90705b(0x265)](a[_0x90705b(0x2d3)](this[_0x90705b(0x247)]['engine'][_0x90705b(0x28f)])[_0x90705b(0x24e)]($['filter'](_0x2e4c9c=>_0x2e4c9c[_0x90705b(0x131)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x90705b(0x254)]),$['throttleTime'](0x10))['subscribe'](()=>{const _0xf806c0=_0x90705b;this[_0xf806c0(0x22d)]();}));}};ve=gt([V(0x1,a[_0x3061ed(0x16b)](Y[_0x3061ed(0x1fe)])),V(0x2,a[_0x3061ed(0x16b)](x)),V(0x3,a[_0x3061ed(0x194)]),V(0x4,a[_0x3061ed(0x16b)](a[_0x3061ed(0x15b)]))],ve);const mt=0x1,Ct=1.5;class Ae extends p[_0x3061ed(0x312)]{constructor(_0x4f2642,_0x24ba6d){const _0x24452b=_0x3061ed;super(_0x4f2642,_0x24ba6d),h(this,'_color'),h(this,_0x24452b(0x32b),!0x1),h(this,'_range'),h(this,_0x24452b(0x2ca),''),h(this,_0x24452b(0x12d),_0x24452b(0x1ba)),h(this,'_backgroundColor'),(_0x24ba6d&&this['setShapeProps'](_0x24ba6d),this[_0x24452b(0x2e8)][_0x24452b(0x277)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x24452b(0x224)][_0x24452b(0x277)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3061ed(0x141)](_0x5d4db9){const _0x2769f5=_0x3061ed;var _0x5319c5,_0x30233a,_0x2a0cf0,_0x2c7d62,_0x5f3855,_0x222b46;this[_0x2769f5(0x32e)]=(_0x5319c5=_0x5d4db9['color'])!=null?_0x5319c5:this[_0x2769f5(0x32e)],this[_0x2769f5(0x32b)]=(_0x30233a=_0x5d4db9[_0x2769f5(0x243)])!=null?_0x30233a:this[_0x2769f5(0x32b)],this[_0x2769f5(0x2dc)]=(_0x2a0cf0=_0x5d4db9[_0x2769f5(0x1b9)])!=null?_0x2a0cf0:this[_0x2769f5(0x2dc)],this['_name']=(_0x2c7d62=_0x5d4db9[_0x2769f5(0xef)])!=null?_0x2c7d62:this[_0x2769f5(0x2ca)],this[_0x2769f5(0x12d)]=(_0x5f3855=_0x5d4db9[_0x2769f5(0x20d)])!=null?_0x5f3855:this[_0x2769f5(0x12d)],this[_0x2769f5(0x15a)]=(_0x222b46=_0x5d4db9['backgroundColor'])!=null?_0x222b46:this[_0x2769f5(0x15a)],this[_0x2769f5(0x31c)]({'width':_0x5d4db9['width'],'height':_0x5d4db9['height']});}[_0x3061ed(0x1ca)](_0x54177e){const _0x16b4cb=_0x3061ed,{row:_0x39f2a2,column:_0x478c80}=_0x54177e;if(_0x39f2a2>=this[_0x16b4cb(0x2dc)][_0x16b4cb(0x1e3)]&&_0x39f2a2<=this[_0x16b4cb(0x2dc)]['endRow']&&_0x478c80>=this['_range'][_0x16b4cb(0x271)]&&_0x478c80<=this[_0x16b4cb(0x2dc)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3061ed(0x2fb)](_0x12d55f){return!0x1;}[_0x3061ed(0x173)](_0x3355c1){const _0x50e0c6=_0x3061ed;p[_0x50e0c6(0x21e)][_0x50e0c6(0x251)](_0x3355c1,{'width':this[_0x50e0c6(0x2f5)],'height':this[_0x50e0c6(0x15f)],'strokeWidth':Ct,'stroke':this[_0x50e0c6(0x32e)],'evented':!0x1,'fill':this[_0x50e0c6(0x15a)]}),this[_0x50e0c6(0x32b)]&&(_0x3355c1[_0x50e0c6(0x100)](),_0x3355c1[_0x50e0c6(0x2bb)](0x1,0x0,0x0,0x1,this[_0x50e0c6(0x2f5)],this[_0x50e0c6(0x12d)]===_0x50e0c6(0x145)?0x0:-0x14),te[_0x50e0c6(0x251)](_0x3355c1,{'text':this[_0x50e0c6(0x2ca)],'color':this[_0x50e0c6(0x32e)]}),_0x3355c1[_0x50e0c6(0x2e2)]());}}var pt=Object[_0x3061ed(0x245)],bt=(_0x287a03,_0x2dbfc1,_0x32c123,_0x4e6877)=>{const _0x2d3c78=_0x3061ed;for(var _0x2cca79=_0x4e6877>0x1?void 0x0:_0x4e6877?pt(_0x2dbfc1,_0x32c123):_0x2dbfc1,_0x988bc6=_0x287a03[_0x2d3c78(0xf6)]-0x1,_0x51b36f;_0x988bc6>=0x0;_0x988bc6--)(_0x51b36f=_0x287a03[_0x988bc6])&&(_0x2cca79=_0x51b36f(_0x2cca79)||_0x2cca79);return _0x2cca79;},ce=(_0x5d5fcb,_0x4b156c)=>(_0x1eba46,_0x3383f7)=>_0x4b156c(_0x1eba46,_0x3383f7,_0x5d5fcb);const Et=0x1389;let ge=class extends a[_0x3061ed(0x1e8)]{constructor(_0x45975a,_0x27b287,_0x4f4562,_0x3898f7){const _0x80279d=_0x3061ed;super(),h(this,_0x80279d(0x1ae),new Set()),h(this,_0x80279d(0x15e),null),(this[_0x80279d(0x247)]=_0x45975a,this[_0x80279d(0xf5)]=_0x27b287,this[_0x80279d(0x2ce)]=_0x4f4562,this[_0x80279d(0x139)]=_0x3898f7,this[_0x80279d(0x201)]());}[_0x3061ed(0x201)](){const _0x2a772e=_0x3061ed;this['_sheetSkeletonManagerService'][_0x2a772e(0x18a)][_0x2a772e(0x24e)]($[_0x2a772e(0x1f2)](this[_0x2a772e(0x1e4)]),$['switchMap'](_0x137c2f=>{const _0x33f120=_0x2a772e;if(_0x137c2f){const _0x3a16d4=_0x137c2f['sheetId'];return d['combineLatest'](this[_0x33f120(0x2ce)]['getCollabCursors$'](this[_0x33f120(0x247)][_0x33f120(0x1bb)]),this['_themeService']['currentTheme$'])[_0x33f120(0x24e)]($[_0x33f120(0x238)](([_0xe2694,_0x5d44e2])=>{const _0xf3778d=_0x33f120,_0x1b454e=new Map();return _0xe2694[_0xf3778d(0x204)]((_0x528441,_0x3ae599)=>{const _0x4700d0=_0xf3778d;if(_0x528441[_0x4700d0(0x2ed)]===_0x3a16d4){const _0x16f3d4={..._0x528441};_0x16f3d4[_0x4700d0(0x346)]=_0x5d44e2[_0x528441[_0x4700d0(0x346)]],_0x1b454e[_0x4700d0(0x17b)](_0x3ae599,_0x16f3d4);}}),{'skeleton':_0x137c2f,'cursors':_0x1b454e};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x2a772e(0x27f)](({skeleton:_0x5b6006,cursors:_0x44d00b})=>{this['_removeCollabCursors'](),_0x5b6006&&this['_updateCollabCursors'](_0x5b6006,_0x44d00b);}),this[_0x2a772e(0xf5)][_0x2a772e(0x18a)][_0x2a772e(0x27f)](_0x14e710=>{const _0x323155=_0x2a772e;if(_0x14e710==null)return;const {skeleton:_0x4fbda7}=_0x14e710,{scene:_0x50a307}=this[_0x323155(0x247)];_0x50a307['onPointerMove$']['subscribeEvent'](a[_0x323155(0x297)](_0x46426e=>{const _0x32e048=_0x323155;var _0x4dbd5a,_0x3d68ff;const {offsetX:_0x13b934,offsetY:_0x3fe047}=_0x46426e,{x:_0x45ff69,y:_0x5e1de8}=_0x50a307['getRelativeToViewportCoord'](p[_0x32e048(0x11b)][_0x32e048(0x27b)]([_0x13b934,_0x3fe047])),{scaleX:_0x2169a0,scaleY:_0x5d3a4c}=_0x50a307[_0x32e048(0x138)](),_0x41bcd5=_0x50a307[_0x32e048(0x23e)](p['SHEET_VIEWPORT_KEY'][_0x32e048(0x215)]),_0x155a00=_0x50a307['getVpScrollXYInfoByPosToVp'](p[_0x32e048(0x11b)]['FromArray']([_0x45ff69,_0x5e1de8]),_0x41bcd5),_0xd519d7=_0x4fbda7[_0x32e048(0x113)](_0x13b934,_0x3fe047,_0x2169a0,_0x5d3a4c,_0x155a00);((_0x4dbd5a=this['_lastPointer'])==null?void 0x0:_0x4dbd5a[_0x32e048(0x179)])===_0xd519d7[_0x32e048(0x179)]&&((_0x3d68ff=this[_0x32e048(0x15e)])==null?void 0x0:_0x3d68ff[_0x32e048(0xf4)])===_0xd519d7[_0x32e048(0xf4)]||this[_0x32e048(0x1ae)]['forEach'](_0x476c56=>{const _0x4cbf7e=_0x32e048;_0x476c56[_0x4cbf7e(0x1ca)](_0xd519d7);});},0x64));});}['_updateCollabCursors'](_0x151c64,_0x41b22b){const _0x4adfa5=_0x3061ed;var _0x53c86c;const _0x2e1ae5=(_0x53c86c=this[_0x4adfa5(0xf5)]['getCurrent']())==null?void 0x0:_0x53c86c['skeleton'];if(!_0x2e1ae5)return;const _0x415142=this[_0x4adfa5(0x2af)]();if(!_0x415142)return;this[_0x4adfa5(0x1ae)][_0x4adfa5(0x204)](_0xc69c69=>{const _0xe63b17=_0x4adfa5;_0xc69c69[_0xe63b17(0x156)]();});const {scene:_0x49f0c8}=_0x415142,_0x171c05=Tt(Array[_0x4adfa5(0x2a0)](_0x41b22b[_0x4adfa5(0x1f4)]()))[_0x4adfa5(0x238)](_0x3f5fb2=>{const _0x4ac0f2=_0x4adfa5,{color:_0x128e7c,range:_0x1dccfd,name:_0x334ec4,selection:_0x427fcc,sheetID:_0x29cc58}=_0x3f5fb2,{startColumn:_0x370cf6,startRow:_0x5cb7b2,endColumn:_0x1c5ed2,endRow:_0x8a810e}=_0x1dccfd,_0x1e3575=G['getCoordByCell'](_0x5cb7b2,_0x370cf6,_0x49f0c8,_0x2e1ae5),_0x4595ae=G[_0x4ac0f2(0x330)](_0x8a810e,_0x1c5ed2,_0x49f0c8,_0x2e1ae5),{columnHeaderHeightAndMarginTop:_0x53755b}=_0x2e1ae5,{startX:_0x1f3333,startY:_0x3244c}=_0x1e3575,{endX:_0x5ac17a,endY:_0x26646a}=_0x4595ae,_0x49e0a2=_0x5ac17a-_0x1f3333,_0x1e7610=_0x26646a-_0x3244c,_0x3e583c={'labelPosition':_0x3244c-_0x53755b>=K?'top':_0x4ac0f2(0x145),'sheetID':_0x29cc58,'range':_0x1dccfd,'color':_0x128e7c,'name':_0x334ec4,'selection':_0x427fcc,'left':_0x1f3333,'top':_0x3244c,'width':_0x49e0a2,'height':_0x1e7610,'evented':!0x1,'zIndex':Et};return new Ae(_0x334ec4,_0x3e583c);});_0x49f0c8[_0x4adfa5(0x22e)](_0x171c05,mt),this[_0x4adfa5(0x1ae)]=new Set(_0x171c05);}['_removeCollabCursors'](){const _0x2bf6f8=_0x3061ed;var _0x4cfcef;(_0x4cfcef=this[_0x2bf6f8(0x1ae)])==null||_0x4cfcef[_0x2bf6f8(0x204)](_0x55ca94=>_0x55ca94[_0x2bf6f8(0xd0)]());}['_getSheetObject'](){const _0xaa1728=_0x3061ed;return G['getSheetObject'](this['_context'][_0xaa1728(0x2b2)],this['_context']);}};ge=bt([ce(0x1,a['Inject'](G[_0x3061ed(0x2dd)])),ce(0x2,a['Inject'](x)),ce(0x3,a[_0x3061ed(0x16b)](a[_0x3061ed(0x15b)]))],ge);function Tt(_0x4aa519){const _0x2ff349=_0x3061ed,_0x57af62=new Map();return _0x4aa519[_0x2ff349(0x204)](_0x389d58=>{const _0x5431f9=_0x2ff349;if(_0x57af62[_0x5431f9(0xf8)](_0x389d58[_0x5431f9(0x10f)])){const _0x3c2ebd=_0x57af62[_0x5431f9(0x27e)](_0x389d58[_0x5431f9(0x10f)]);_0x3c2ebd['name']+=',\x20'+_0x389d58['name'];}else _0x57af62[_0x5431f9(0x17b)](_0x389d58[_0x5431f9(0x10f)],_0x389d58);}),Array[_0x2ff349(0x2a0)](_0x57af62[_0x2ff349(0x1f4)]());}var E=function(){const _0x4ef238=_0x3061ed;return E=Object[_0x4ef238(0x1d5)]||function(_0x1e32fb){const _0x12afbb=_0x4ef238;for(var _0x4874a4,_0x4e1a4d=0x1,_0xb9174=arguments[_0x12afbb(0xf6)];_0x4e1a4d<_0xb9174;_0x4e1a4d++){_0x4874a4=arguments[_0x4e1a4d];for(var _0x3ffb30 in _0x4874a4)Object[_0x12afbb(0x18c)][_0x12afbb(0x21c)]['call'](_0x4874a4,_0x3ffb30)&&(_0x1e32fb[_0x3ffb30]=_0x4874a4[_0x3ffb30]);}return _0x1e32fb;},E[_0x4ef238(0xe0)](this,arguments);},Rt=function(_0x2a94af,_0x567ab4){const _0x87476d=_0x3061ed;var _0x1c2e82={};for(var _0x1810fb in _0x2a94af)Object[_0x87476d(0x18c)][_0x87476d(0x21c)][_0x87476d(0x234)](_0x2a94af,_0x1810fb)&&_0x567ab4[_0x87476d(0x1d9)](_0x1810fb)<0x0&&(_0x1c2e82[_0x1810fb]=_0x2a94af[_0x1810fb]);if(_0x2a94af!=null&&typeof Object['getOwnPropertySymbols']==_0x87476d(0x306)){for(var _0x174348=0x0,_0x1810fb=Object[_0x87476d(0xf7)](_0x2a94af);_0x174348<_0x1810fb['length'];_0x174348++)_0x567ab4[_0x87476d(0x1d9)](_0x1810fb[_0x174348])<0x0&&Object[_0x87476d(0x18c)][_0x87476d(0x31d)][_0x87476d(0x234)](_0x2a94af,_0x1810fb[_0x174348])&&(_0x1c2e82[_0x1810fb[_0x174348]]=_0x2a94af[_0x1810fb[_0x174348]]);}return _0x1c2e82;},be=M[_0x3061ed(0x2a4)](function(_0x427048,_0x519f94){const _0x53572f=_0x3061ed;var _0xd41713=_0x427048[_0x53572f(0x27a)],_0x40aed9=_0x427048['id'],_0x3cb772=_0x427048[_0x53572f(0x1f7)],_0xa2cb78=_0x427048[_0x53572f(0x1da)],_0x276a0c=Rt(_0x427048,[_0x53572f(0x27a),'id','className',_0x53572f(0x1da)]),_0xf46ba6=_0x53572f(0x344)[_0x53572f(0x2ae)](_0x40aed9,'\x20')[_0x53572f(0x2ae)](_0x3cb772||'')[_0x53572f(0x286)](),_0x26affe=M[_0x53572f(0x2ab)]('_'[_0x53572f(0x2ae)](Ut()));return ye(_0xd41713,''[_0x53572f(0x2ae)](_0x40aed9),{'defIds':_0xd41713[_0x53572f(0xf1)],'idSuffix':_0x26affe['current']},E({'ref':_0x519f94,'className':_0xf46ba6},_0x276a0c),_0xa2cb78);});function ye(_0x48118d,_0x1f1de0,_0x376554,_0x3b54ad,_0x45ee37){const _0x1a74a4=_0x3061ed;return M['createElement'](_0x48118d[_0x1a74a4(0x2cf)],E(E({'key':_0x1f1de0},Ot(_0x48118d,_0x376554,_0x45ee37)),_0x3b54ad),(Dt(_0x48118d,_0x376554)[_0x1a74a4(0x308)]||[])[_0x1a74a4(0x238)](function(_0x396872,_0x363bff){const _0x480a3e=_0x1a74a4;return ye(_0x396872,''[_0x480a3e(0x2ae)](_0x1f1de0,'-')[_0x480a3e(0x2ae)](_0x48118d['tag'],'-')[_0x480a3e(0x2ae)](_0x363bff),_0x376554,void 0x0,_0x45ee37);}));}function Ot(_0x466d0b,_0x1d7662,_0x263475){const _0x1467df=_0x3061ed;var _0x4cfab4=E({},_0x466d0b[_0x1467df(0x274)]);_0x263475!=null&&_0x263475['colorChannel1']&&_0x4cfab4['fill']===_0x1467df(0x133)&&(_0x4cfab4[_0x1467df(0x2c1)]=_0x263475['colorChannel1']),_0x466d0b[_0x1467df(0x2cf)]==='mask'&&_0x4cfab4['id']&&(_0x4cfab4['id']=_0x4cfab4['id']+_0x1d7662['idSuffix']),Object[_0x1467df(0x2ef)](_0x4cfab4)[_0x1467df(0x204)](function(_0x38210d){const _0x1df8f0=_0x1467df;var _0x4ee7ec=_0x38210d[0x0],_0x11200d=_0x38210d[0x1];_0x4ee7ec===_0x1df8f0(0x1ad)&&typeof _0x11200d==_0x1df8f0(0x2ba)&&(_0x4cfab4[_0x4ee7ec]=_0x11200d[_0x1df8f0(0xdb)](/url\(#(.*)\)/,_0x1df8f0(0x2f9)[_0x1df8f0(0x2ae)](_0x1d7662[_0x1df8f0(0x1a9)],')')));});var _0x21084a=_0x1d7662[_0x1467df(0xf1)];return!_0x21084a||_0x21084a[_0x1467df(0xf6)]===0x0||(_0x466d0b[_0x1467df(0x2cf)]===_0x1467df(0x114)&&_0x4cfab4['xlink:href']&&(_0x4cfab4[_0x1467df(0x1e5)]=_0x4cfab4['xlink:href']+_0x1d7662[_0x1467df(0x1a9)]),Object[_0x1467df(0x2ef)](_0x4cfab4)[_0x1467df(0x204)](function(_0x20896e){const _0x52714c=_0x1467df;var _0x5d95fc=_0x20896e[0x0],_0xeff733=_0x20896e[0x1];typeof _0xeff733==_0x52714c(0x2ba)&&(_0x4cfab4[_0x5d95fc]=_0xeff733[_0x52714c(0xdb)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x1d7662[_0x52714c(0x1a9)],')')));})),_0x4cfab4;}function Dt(_0x5e4a60,_0x241530){const _0x50ec50=_0x3061ed;var _0x47dcea,_0x5754f0=_0x241530[_0x50ec50(0xf1)];return!_0x5754f0||_0x5754f0[_0x50ec50(0xf6)]===0x0?_0x5e4a60:_0x5e4a60[_0x50ec50(0x2cf)]===_0x50ec50(0x127)&&(!((_0x47dcea=_0x5e4a60[_0x50ec50(0x308)])===null||_0x47dcea===void 0x0)&&_0x47dcea['length'])?E(E({},_0x5e4a60),{'children':_0x5e4a60['children'][_0x50ec50(0x238)](function(_0x5bc067){const _0x535776=_0x50ec50;return typeof _0x5bc067[_0x535776(0x274)]['id']==_0x535776(0x2ba)&&_0x5754f0&&_0x5754f0[_0x535776(0x1d9)](_0x5bc067['attrs']['id'])>-0x1?E(E({},_0x5bc067),{'attrs':E(E({},_0x5bc067[_0x535776(0x274)]),{'id':_0x5bc067[_0x535776(0x274)]['id']+_0x241530[_0x535776(0x1a9)]})}):_0x5bc067;})}):_0x5e4a60;}function Ut(){const _0x19f515=_0x3061ed;return Math[_0x19f515(0x1eb)]()[_0x19f515(0x1be)](0x24)[_0x19f515(0x206)](0x2,0x8);}be[_0x3061ed(0x220)]=_0x3061ed(0x19b);var Nt={'tag':'svg','attrs':{'fill':_0x3061ed(0xd9),'viewBox':_0x3061ed(0x147),'width':_0x3061ed(0x21a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3061ed(0x1f0)},'children':[{'tag':_0x3061ed(0x255),'attrs':{'stroke':_0x3061ed(0x14b),'d':_0x3061ed(0x2eb),'strokeLinecap':_0x3061ed(0x16a),'strokeLinejoin':_0x3061ed(0x16a),'strokeWidth':1.2}}]},{'tag':_0x3061ed(0x127),'attrs':{},'children':[{'tag':_0x3061ed(0x315),'attrs':{'id':_0x3061ed(0x1fc)},'children':[{'tag':'path','attrs':{'fill':_0x3061ed(0x160),'d':_0x3061ed(0x1f9)}}]}]}],'defIds':[_0x3061ed(0x1fc)]},$e=M[_0x3061ed(0x2a4)](function(_0x58d566,_0x165dfd){const _0x147ea9=_0x3061ed;return M[_0x147ea9(0x1b7)](be,Object[_0x147ea9(0x1d5)]({},_0x58d566,{'id':_0x147ea9(0x292),'ref':_0x165dfd,'icon':Nt}));});$e[_0x3061ed(0x220)]=_0x3061ed(0x28b);var Mt={'tag':_0x3061ed(0x2d7),'attrs':{'fill':_0x3061ed(0xd9),'viewBox':'0\x200\x2017\x2016','width':_0x3061ed(0x21a),'height':_0x3061ed(0x21a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x3061ed(0x14b),'d':_0x3061ed(0x226),'strokeLinecap':_0x3061ed(0x16a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3061ed(0x315),'attrs':{'id':_0x3061ed(0x2a3)},'children':[{'tag':_0x3061ed(0x255),'attrs':{'fill':_0x3061ed(0x160),'d':_0x3061ed(0x1f9),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3061ed(0x2a3)]},xe=M['forwardRef'](function(_0x1333f4,_0x48d446){const _0x217696=_0x3061ed;return M['createElement'](be,Object[_0x217696(0x1d5)]({},_0x1333f4,{'id':_0x217696(0x1b6),'ref':_0x48d446,'icon':Mt}));});xe[_0x3061ed(0x220)]=_0x3061ed(0x310);const Pt='univer-online-status-icon',wt=_0x3061ed(0x148),Lt='univer-online-status',At='univer-online',yt=_0x3061ed(0x13f),H={'onlineStatusIcon':Pt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':At,'offline':yt};function $t(_0x855518){const _0x358f8c=_0x3061ed;switch(_0x855518){case u[_0x358f8c(0x11f)]['OFFLINE']:return _0x358f8c(0x205);case u[_0x358f8c(0x11f)]['CONFLICT']:return _0x358f8c(0x320);case u['CollaborationStatus']['FETCH_MISS']:return'collabStatus.fetchMiss';case u[_0x358f8c(0x11f)][_0x358f8c(0x22f)]:return _0x358f8c(0xd5);case u['CollaborationStatus'][_0x358f8c(0x25e)]:case u[_0x358f8c(0x11f)]['AWAITING_WITH_PENDING']:return _0x358f8c(0x143);case u[_0x358f8c(0x11f)]['SYNCED']:case u['CollaborationStatus'][_0x358f8c(0xe5)]:return'collabStatus.synced';}}function je(_0x2c7e9a){const _0x454be8=_0x3061ed,{status$:_0x307693}=_0x2c7e9a,_0x482aa6=R['useObservable'](_0x307693,u[_0x454be8(0x11f)][_0x454be8(0x22f)]),_0x467025=R[_0x454be8(0x1d3)](a['LocaleService']),_0x303969=R[_0x454be8(0x1d3)](u[_0x454be8(0x34a)]),_0x85e58d=_0x482aa6!==u[_0x454be8(0x11f)][_0x454be8(0x104)],_0xe3407=_0x467025['t']($t(_0x482aa6)),_0x4064c6=T['clsx'](H[_0x454be8(0x2c4)],{[H[_0x454be8(0x267)]]:_0x85e58d,[H[_0x454be8(0x2a8)]]:!_0x85e58d}),_0x45cd2e=_0x85e58d?w[_0x454be8(0x336)](xe,{}):w[_0x454be8(0x336)]($e,{}),_0x3da0a2=M[_0x454be8(0x132)](()=>{const _0x381840=_0x454be8;_0x85e58d||_0x303969[_0x381840(0x17e)]();},[_0x85e58d,_0x303969]);function _0x4cc249(){const _0x28dcde=_0x454be8;return w['jsxs'](_0x28dcde(0x1bf),{'className':T[_0x28dcde(0x23a)](_0x4064c6,'univer-flex\x20univer-items-center'),'onClick':_0x3da0a2,'children':[w[_0x28dcde(0x336)](_0x28dcde(0x1bf),{'className':H[_0x28dcde(0x34d)],'children':_0x45cd2e}),w[_0x28dcde(0x336)]('div',{'className':H['onlineStatusTitle'],'children':_0xe3407})]});}return _0x85e58d?_0x4cc249():w[_0x454be8(0x336)](T['Tooltip'],{'title':_0x467025['t'](_0x454be8(0x20f)),'children':_0x4cc249()});}var xt=Object[_0x3061ed(0x245)],jt=(_0x25cc70,_0x3d9522,_0x25868d,_0x177ba8)=>{for(var _0x372774=_0x177ba8>0x1?void 0x0:_0x177ba8?xt(_0x3d9522,_0x25868d):_0x3d9522,_0x3e3467=_0x25cc70['length']-0x1,_0x2fc170;_0x3e3467>=0x0;_0x3e3467--)(_0x2fc170=_0x25cc70[_0x3e3467])&&(_0x372774=_0x2fc170(_0x372774)||_0x372774);return _0x372774;},X=(_0x5ab50f,_0x143d54)=>(_0x3a4c16,_0x2cac42)=>_0x143d54(_0x3a4c16,_0x2cac42,_0x5ab50f);exports[_0x3061ed(0x16f)]=class extends a['Disposable']{constructor(_0x176428,_0x4b7773,_0x2af030,_0x436a29){const _0x2841ad=_0x3061ed;super(),h(this,_0x2841ad(0x289),new d['BehaviorSubject'](u[_0x2841ad(0x11f)][_0x2841ad(0x22f)])),(this['_univerInstanceService']=_0x176428,this[_0x2841ad(0x197)]=_0x4b7773,this[_0x2841ad(0x2d2)]=_0x2af030,this[_0x2841ad(0x29f)]=_0x436a29,this['_initStatusComponent'](),this[_0x2841ad(0x278)]());}[_0x3061ed(0x278)](){const _0x33ca56=_0x3061ed;this[_0x33ca56(0x265)](this[_0x33ca56(0x169)]['focused$']['pipe'](d[_0x33ca56(0x2a1)](()=>{const _0x560e4f=_0x33ca56,_0x541843=this[_0x560e4f(0x169)]['getFocusedUnit']();return _0x541843?this[_0x560e4f(0x2d2)][_0x560e4f(0x2b7)](_0x541843[_0x560e4f(0x339)]()):d['of'](null);}),d['switchMap'](_0x2023bc=>_0x2023bc?_0x2023bc[_0x33ca56(0x227)]:d['of'](u['CollaborationStatus'][_0x33ca56(0x22f)])))[_0x33ca56(0x27f)](_0x3fc5c0=>{const _0xb39a00=_0x33ca56;this[_0xb39a00(0x289)]['next'](_0x3fc5c0);}));}['_initStatusComponent'](){const _0x2ec713=_0x3061ed;this[_0x2ec713(0x265)](this[_0x2ec713(0x29f)][_0x2ec713(0x326)](R[_0x2ec713(0x1c3)][_0x2ec713(0xfb)],()=>R['connectInjector'](kt({'status$':this['_status$']['asObservable']()}),this[_0x2ec713(0x197)])));}},exports[_0x3061ed(0x16f)]=jt([X(0x0,a[_0x3061ed(0x269)]),X(0x1,a[_0x3061ed(0x16b)](a[_0x3061ed(0x30b)])),X(0x2,a[_0x3061ed(0x16b)](u[_0x3061ed(0x1e9)])),X(0x3,R[_0x3061ed(0xeb)])],exports['DesktopCollaborationStatusDisplayController']);function kt(_0x5db90a){const {status$:_0x4bf291}=_0x5db90a;return function(){const _0x5df757=_0x1868;return w[_0x5df757(0x336)](je,{'status$':_0x4bf291});};}var Bt=Object[_0x3061ed(0x245)],Ht=(_0xe0c05b,_0x2e96b4,_0x2608fb,_0x4c7280)=>{const _0x3a329b=_0x3061ed;for(var _0x30bd49=_0x4c7280>0x1?void 0x0:_0x4c7280?Bt(_0x2e96b4,_0x2608fb):_0x2e96b4,_0x2f7a84=_0xe0c05b[_0x3a329b(0xf6)]-0x1,_0x1201a9;_0x2f7a84>=0x0;_0x2f7a84--)(_0x1201a9=_0xe0c05b[_0x2f7a84])&&(_0x30bd49=_0x1201a9(_0x30bd49)||_0x30bd49);return _0x30bd49;},y=(_0x2f0a0d,_0x190007)=>(_0x26703d,_0x45c84d)=>_0x190007(_0x26703d,_0x45c84d,_0x2f0a0d);let z=class extends a[_0x3061ed(0xce)]{constructor(_0x189429,_0x25ca99,_0x23c120,_0x55db53,_0x42590a,_0x46d1b0){const _0x1259f1=_0x3061ed;super(),this[_0x1259f1(0x112)]=_0x189429,this[_0x1259f1(0x19c)]=_0x25ca99,this[_0x1259f1(0x125)]=_0x23c120,this[_0x1259f1(0x2f7)]=_0x55db53,this[_0x1259f1(0x11e)]=_0x42590a,this[_0x1259f1(0x1e6)]=_0x46d1b0,this['_setupBeforeClosingHandler'](),this[_0x1259f1(0x316)]();}[_0x3061ed(0x321)](){const _0x374896=_0x3061ed;this[_0x374896(0x265)](this[_0x374896(0x112)][_0x374896(0x1e0)](()=>{const _0x51f0ac=_0x374896;if(this[_0x51f0ac(0x19c)][_0x51f0ac(0x311)][_0x51f0ac(0x165)])return this[_0x51f0ac(0x1e6)]['t'](_0x51f0ac(0x18f));}));}['_initEvent'](){const _0xb66430=_0x3061ed;this[_0xb66430(0x265)](this['_collaborationUIEventService'][_0xb66430(0x30a)]['subscribe'](_0x1e94cf=>{const _0x1aa606=_0xb66430;_0x1e94cf['id']===u[_0x1aa606(0x106)]['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':T[_0x1aa606(0x319)][_0x1aa606(0x340)],'content':this[_0x1aa606(0x1e6)]['t'](_0x1aa606(0x2aa))}),_0x1e94cf['id']===u['CollaborationUIEventId'][_0x1aa606(0x26a)]&&this[_0x1aa606(0x2f7)][_0x1aa606(0x17c)]({'type':T[_0x1aa606(0x319)][_0x1aa606(0x340)],'content':this[_0x1aa606(0x1e6)]['t'](_0x1aa606(0x2db))}),_0x1e94cf['id']===u[_0x1aa606(0x106)][_0x1aa606(0xe9)]&&this[_0x1aa606(0x11e)][_0x1aa606(0x17c)]({'title':this[_0x1aa606(0x1e6)]['t'](_0x1aa606(0x117)),'content':this[_0x1aa606(0x1e6)]['t'](_0x1aa606(0x1c6)),'type':_0x1aa606(0x199),'duration':0x0}),_0x1e94cf['id']===u[_0x1aa606(0x106)][_0x1aa606(0x207)]&&this[_0x1aa606(0x2f7)][_0x1aa606(0x17c)]({'type':T['MessageType'][_0x1aa606(0x2ff)],'content':this[_0x1aa606(0x1e6)]['t'](_0x1aa606(0x2db))+'('+_0x1e94cf[_0x1aa606(0xe4)]+')'}),_0x1e94cf['id']===u[_0x1aa606(0x106)]['JOIN_ROOM_FAILED']&&this[_0x1aa606(0x2f7)][_0x1aa606(0x17c)]({'type':T['MessageType']['Warning'],'content':this[_0x1aa606(0x1e6)]['t'](_0x1e94cf[_0x1aa606(0xe4)]||'')}),_0x1e94cf['id']===u[_0x1aa606(0x106)][_0x1aa606(0x105)]&&this['_messageService']['show']({'type':T[_0x1aa606(0x319)][_0x1aa606(0x340)],'content':this[_0x1aa606(0x1e6)]['t'](_0x1aa606(0x231))}),_0x1e94cf['id']===u[_0x1aa606(0x106)][_0x1aa606(0x31a)]&&this[_0x1aa606(0x2f7)][_0x1aa606(0x17c)]({'type':T[_0x1aa606(0x319)]['Error'],'content':this[_0x1aa606(0x1e6)]['t'](_0x1aa606(0x29a))}),_0x1e94cf['id']===u['CollaborationUIEventId'][_0x1aa606(0x217)]&&this[_0x1aa606(0x2f7)]['show']({'type':T['MessageType'][_0x1aa606(0x2ff)],'content':this['_localeService']['t'](_0x1aa606(0x149))});}));}};z=Ht([y(0x0,R[_0x3061ed(0x2de)]),y(0x1,u[_0x3061ed(0x184)]),y(0x2,a[_0x3061ed(0x16b)](u['CollaborationUIEventService'])),y(0x3,R[_0x3061ed(0x28c)]),y(0x4,R[_0x3061ed(0x126)]),y(0x5,a[_0x3061ed(0x16b)](a[_0x3061ed(0x12c)]))],z);const Ft=_0x3061ed(0x174),Ne={},Ee=a[_0x3061ed(0x347)](_0x3061ed(0x25f));var Wt=Object[_0x3061ed(0x245)],Yt=(_0x4956b9,_0x458b5f,_0x316fe9,_0x26d82c)=>{const _0x3c643b=_0x3061ed;for(var _0x4c64b6=_0x26d82c>0x1?void 0x0:_0x26d82c?Wt(_0x458b5f,_0x316fe9):_0x458b5f,_0x2a9a0a=_0x4956b9[_0x3c643b(0xf6)]-0x1,_0x4ba78c;_0x2a9a0a>=0x0;_0x2a9a0a--)(_0x4ba78c=_0x4956b9[_0x2a9a0a])&&(_0x4c64b6=_0x4ba78c(_0x4c64b6)||_0x4c64b6);return _0x4c64b6;},F=(_0x501020,_0x438288)=>(_0x1e45cb,_0x37b98c)=>_0x438288(_0x1e45cb,_0x37b98c,_0x501020);exports[_0x3061ed(0x107)]=class extends a['RxDisposable']{constructor(_0x3f5079,_0x34b4a4,_0x3f8f4b,_0x636146,_0x404fd6){const _0x43ac86=_0x3061ed;super(),this[_0x43ac86(0x1f6)]=_0x3f5079,this[_0x43ac86(0x2f6)]=_0x34b4a4,this['_commandService']=_0x3f8f4b,this['_dataLoaderService']=_0x636146,_0x404fd6?_0x404fd6==null||_0x404fd6[_0x43ac86(0x1e2)]()[_0x43ac86(0x279)](()=>this['_init']()):(this[_0x43ac86(0x2f6)][_0x43ac86(0x110)](_0x43ac86(0x13a),_0x43ac86(0x33d)),this[_0x43ac86(0x201)]());}async[_0x3061ed(0x201)](){const _0x2ae1c5=_0x3061ed,_0x1a0d84=this[_0x2ae1c5(0x1f6)]['getParam']('unit'),_0x256ef4=this[_0x2ae1c5(0x1f6)][_0x2ae1c5(0x1c4)](_0x2ae1c5(0x131)),_0x1b0414=this['_urlService'][_0x2ae1c5(0x1c4)](_0x2ae1c5(0x11d));if(!_0x1a0d84||!_0x256ef4){this[_0x2ae1c5(0x2f6)]['debug'](_0x2ae1c5(0x13a),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2b2122=await this[_0x2ae1c5(0x301)]['loadUnit'](_0x1a0d84,Number(_0x256ef4),_0x1b0414);_0x2b2122&&_0x2b2122 instanceof a[_0x2ae1c5(0x263)]&&this[_0x2ae1c5(0x11c)](_0x2b2122);}async[_0x3061ed(0x11c)](_0x327f9f){const _0x3f9d01=_0x3061ed;await this[_0x3f9d01(0x1f3)](_0x327f9f),_0x327f9f['activeSheet$']['pipe'](d[_0x3f9d01(0x1f2)](this[_0x3f9d01(0x1e4)]))[_0x3f9d01(0x27f)](_0x76dc2a=>{const _0x2e485a=_0x3f9d01;_0x76dc2a&&this[_0x2e485a(0x264)](_0x76dc2a);}),this[_0x3f9d01(0x1f6)]['urlChange$'][_0x3f9d01(0x24e)](d['takeUntil'](this['dispose$']))[_0x3f9d01(0x27f)](()=>this[_0x3f9d01(0x1f3)](_0x327f9f));}[_0x3061ed(0x264)](_0x5bda63,_0x22843d=!0x1){const _0x5b38b5=_0x3061ed,_0xa4a09c=this[_0x5b38b5(0x1f6)]['getParam'](_0x5b38b5(0x11d));_0x5bda63['getSheetId']()!==_0xa4a09c&&this['_urlService'][_0x5b38b5(0x259)](_0x5b38b5(0x11d),_0x5bda63['getSheetId'](),_0x22843d);}async[_0x3061ed(0x1f3)](_0x4812ff){const _0xe82ebc=_0x3061ed;var _0x44de28;const _0x44ff1a=this[_0xe82ebc(0x1f6)]['getParam'](_0xe82ebc(0x11d));if(!_0x44ff1a||!_0x4812ff[_0xe82ebc(0x25d)](_0x44ff1a)){const _0x31acdb=_0x4812ff[_0xe82ebc(0x196)]()[0x0],_0x30ea1d=_0x4812ff[_0xe82ebc(0x25d)](_0x31acdb);if(!_0x30ea1d)return;this['_updateURLWithCurrentState'](_0x30ea1d,!0x0),await this[_0xe82ebc(0x12b)][_0xe82ebc(0xf0)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x4812ff[_0xe82ebc(0x339)](),'subUnitId':_0x31acdb});return;}((_0x44de28=_0x4812ff[_0xe82ebc(0x256)]())==null?void 0x0:_0x44de28[_0xe82ebc(0x1af)]())!==_0x44ff1a&&await this[_0xe82ebc(0x12b)][_0xe82ebc(0xf0)](g[_0xe82ebc(0x2c3)]['id'],{'unitId':_0x4812ff[_0xe82ebc(0x339)](),'subUnitId':_0x44ff1a});}},exports[_0x3061ed(0x107)]=Yt([F(0x0,Ee),F(0x1,a['ILogService']),F(0x2,a[_0x3061ed(0x194)]),F(0x3,a[_0x3061ed(0x16b)](u[_0x3061ed(0x20a)])),F(0x4,a[_0x3061ed(0x1d0)](Ke[_0x3061ed(0x115)]))],exports[_0x3061ed(0x107)]);var Vt=Object[_0x3061ed(0x245)],Xt=(_0x1bfe50,_0x2ec3f4,_0xc3ae7e,_0x5db46d)=>{const _0x1e961c=_0x3061ed;for(var _0x38a65a=_0x5db46d>0x1?void 0x0:_0x5db46d?Vt(_0x2ec3f4,_0xc3ae7e):_0x2ec3f4,_0x4818ed=_0x1bfe50[_0x1e961c(0xf6)]-0x1,_0x5192cf;_0x4818ed>=0x0;_0x4818ed--)(_0x5192cf=_0x1bfe50[_0x4818ed])&&(_0x38a65a=_0x5192cf(_0x38a65a)||_0x38a65a);return _0x38a65a;},le=(_0x49af75,_0x61c86b)=>(_0xc610d9,_0x4f34cd)=>_0x61c86b(_0xc610d9,_0x4f34cd,_0x49af75);let J=class{constructor(_0x2b8837,_0x2fb891,_0x5d2a50){const _0xc6a48a=_0x3061ed;this['_injector']=_0x2b8837,this[_0xc6a48a(0x282)]=_0x2fb891,this[_0xc6a48a(0x12f)]=_0x5d2a50;}[_0x3061ed(0x1c1)](_0x5db38f){const _0x4cb1b9=_0x3061ed;this['_transformUndoRedoStack'](_0x5db38f),this[_0x4cb1b9(0x345)](_0x5db38f);}[_0x3061ed(0x27d)](_0x371de2){const _0xe809b3=_0x3061ed,{unitID:_0x18e5b0}=_0x371de2,_0x40a6e6=this[_0xe809b3(0x12f)][_0xe809b3(0x190)](_0x18e5b0)[_0xe809b3(0x317)](b[_0xe809b3(0x338)]),{redoCache:_0x5670ea}=_0x40a6e6[_0xe809b3(0x1d4)]();if(_0x5670ea[_0xe809b3(0xf6)]===0x0)return _0x371de2;let _0x36f3de=a[_0xe809b3(0x1b5)]['deepClone'](_0x371de2[_0xe809b3(0x17f)][0x0]);for(let _0xabd364=0x0;_0xabd364<_0x5670ea[_0xe809b3(0xf6)];_0xabd364++){const _0x2e5d76={'id':_0xe809b3(0x32d),'params':{..._0x5670ea[_0xabd364]}},_0xd6f0db=this['_transformService'][_0xe809b3(0x154)](_0x36f3de,_0x2e5d76,!0x1);if(m[_0xe809b3(0x2d5)](_0xd6f0db))throw _0xd6f0db[_0xe809b3(0x199)];_0x36f3de=_0xd6f0db['m1Prime'];}return{...a[_0xe809b3(0x1b5)][_0xe809b3(0x295)](_0x371de2),'mutations':[_0x36f3de]};}['_transformUndoRedoStack'](_0x229bb7){const _0x194253=_0x3061ed,{unitID:_0x2a33aa}=_0x229bb7,_0x47fc8a=this[_0x194253(0x12f)][_0x194253(0x190)](_0x2a33aa)[_0x194253(0x317)](b[_0x194253(0x338)]),{undoCache:_0xa94878,redoCache:_0x43044f}=_0x47fc8a[_0x194253(0x1d4)]();if(_0xa94878[_0x194253(0xf6)]===0x0||_0x43044f[_0x194253(0xf6)]===0x0)return;const _0x8df609=[],_0x47796c=[];let _0xa953f6=a[_0x194253(0x1b5)][_0x194253(0x295)](_0x229bb7[_0x194253(0x17f)][0x0]),_0x4575c8=a['Tools']['deepClone'](_0x229bb7[_0x194253(0x17f)][0x0]);for(let _0x22630a=_0xa94878[_0x194253(0xf6)]-0x1;_0x22630a>=0x0;_0x22630a--){const _0x3028d3={'id':_0x194253(0x32d),'params':{..._0xa94878[_0x22630a]}},_0x5bb0ee={'id':_0x194253(0x32d),'params':{..._0x43044f[_0x22630a]}},_0x29d159=this[_0x194253(0x282)]['transformMutation'](_0xa953f6,_0x3028d3,!0x1),_0x419e75=this[_0x194253(0x282)][_0x194253(0x154)](_0x4575c8,_0x5bb0ee,!0x1);if(m['isTransformMutationFailure'](_0x29d159))throw _0x29d159[_0x194253(0x199)];if(m[_0x194253(0x2d5)](_0x419e75))throw _0x419e75['error'];_0x8df609[_0x194253(0x2b3)](_0x29d159[_0x194253(0x142)][_0x194253(0x128)]),_0x47796c[_0x194253(0x2b3)](_0x419e75[_0x194253(0x142)]['params']),_0xa953f6=_0x29d159[_0x194253(0x222)],_0x4575c8=_0x419e75[_0x194253(0x222)];}_0x47fc8a[_0x194253(0x1ea)]({'undoCache':_0x8df609,'redoCache':_0x47796c});}[_0x3061ed(0x345)](_0x5e8fa9){const _0x2bec0c=_0x3061ed,{unitID:_0x4836fb}=_0x5e8fa9,_0x34b5e3=this[_0x2bec0c(0x12f)]['getRenderById'](_0x4836fb)[_0x2bec0c(0x317)](b['DocIMEInputManagerService']),_0x5769ee=_0x34b5e3['getActiveRange']();if(_0x5769ee==null)return;const _0x3436c8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e8fa9[_0x2bec0c(0x14d)],'actions':null,'textRanges':[_0x5769ee]}}],_0x2b3661=this['_transformService'][_0x2bec0c(0x296)](_0x5e8fa9,_0x3436c8);if(!m[_0x2bec0c(0xff)](_0x2b3661))throw _0x2b3661[_0x2bec0c(0x199)];const _0xcd3636=_0x2b3661['m2Prime'][0x0][_0x2bec0c(0x128)][_0x2bec0c(0x2e1)];Array[_0x2bec0c(0x159)](_0xcd3636)&&_0xcd3636['length']&&_0x34b5e3[_0x2bec0c(0x2e9)](_0xcd3636[0x0]);}};J=Xt([le(0x0,a[_0x3061ed(0x16b)](a['Injector'])),le(0x1,m[_0x3061ed(0x27c)]),le(0x2,p[_0x3061ed(0x24b)])],J);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0xac48e8,_0x234091,_0x4d919a,_0x111b0b)=>{for(var _0xcda3cb=_0x111b0b>0x1?void 0x0:_0x111b0b?Gt(_0x234091,_0x4d919a):_0x234091,_0x37e838=_0xac48e8['length']-0x1,_0x1d877f;_0x37e838>=0x0;_0x37e838--)(_0x1d877f=_0xac48e8[_0x37e838])&&(_0xcda3cb=_0x1d877f(_0xcda3cb)||_0xcda3cb);return _0xcda3cb;},he=(_0x31e7da,_0x66a377)=>(_0x19ebbe,_0x3c4d65)=>_0x66a377(_0x19ebbe,_0x3c4d65,_0x31e7da);let Z=class{constructor(_0x173188,_0x8e59c7,_0x4c28b2){const _0x208178=_0x3061ed;this[_0x208178(0x197)]=_0x173188,this['_transformService']=_0x8e59c7,this[_0x208178(0xed)]=_0x4c28b2;}['transformStateCache'](_0x7d236d){this['_transformHistoryAndStateStack'](_0x7d236d);}[_0x3061ed(0x27d)](_0x51b600){const _0x48057d=_0x3061ed,{unitID:_0x244e66}=_0x51b600,{collaboration:_0x2a86e3}=this[_0x48057d(0xed)][_0x48057d(0x175)](_0x244e66);if(_0x2a86e3[_0x48057d(0xf6)]===0x0)return _0x51b600;let _0x545a6e=a[_0x48057d(0x1b5)][_0x48057d(0x295)](_0x51b600[_0x48057d(0x17f)][0x0]);for(let _0x2a17a3=0x0;_0x2a17a3<_0x2a86e3[_0x48057d(0xf6)];_0x2a17a3++){const _0x1d3049={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a86e3[_0x2a17a3][_0x48057d(0x1bb)],..._0x2a86e3[_0x2a17a3][_0x48057d(0x31e)]}},_0x1e1f6a=this['_transformService'][_0x48057d(0x154)](_0x545a6e,_0x1d3049,!0x1);if(m['isTransformMutationFailure'](_0x1e1f6a))throw _0x1e1f6a[_0x48057d(0x199)];_0x545a6e=_0x1e1f6a['m1Prime'];}return{...a['Tools'][_0x48057d(0x295)](_0x51b600),'mutations':[_0x545a6e]};}[_0x3061ed(0x283)](_0x2d94fb){const _0x1ceffa=_0x3061ed,{unitID:_0x3f152f}=_0x2d94fb,{history:_0x1a738b,collaboration:_0x42d4ba}=this[_0x1ceffa(0xed)][_0x1ceffa(0x175)](_0x3f152f);if(_0x1a738b['length']===0x0&&_0x42d4ba[_0x1ceffa(0xf6)]===0x0)return;const _0x49a9e1=[],_0x5a44c9=[];let _0x358f52=a[_0x1ceffa(0x1b5)][_0x1ceffa(0x295)](_0x2d94fb[_0x1ceffa(0x17f)][0x0]),_0x2f87ce=a[_0x1ceffa(0x1b5)]['deepClone'](_0x2d94fb[_0x1ceffa(0x17f)][0x0]);for(let _0x5062f9=_0x1a738b[_0x1ceffa(0xf6)]-0x1;_0x5062f9>=0x0;_0x5062f9--){const _0x2d4e80={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1a738b[_0x5062f9][_0x1ceffa(0x1bb)],..._0x1a738b[_0x5062f9][_0x1ceffa(0x2fe)]}},_0x1c9249={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1a738b[_0x5062f9][_0x1ceffa(0x1bb)],..._0x1a738b[_0x5062f9][_0x1ceffa(0x31e)]}},_0x338d13=this[_0x1ceffa(0x282)]['transformMutation'](_0x358f52,_0x2d4e80,!0x1),_0x1b127d=this['_transformService'][_0x1ceffa(0x154)](_0x2f87ce,_0x1c9249,!0x1);if(m[_0x1ceffa(0x2d5)](_0x338d13))throw _0x338d13[_0x1ceffa(0x199)];if(m['isTransformMutationFailure'](_0x1b127d))throw _0x1b127d[_0x1ceffa(0x199)];_0x49a9e1[_0x1ceffa(0x2b3)]({..._0x1a738b[_0x5062f9],'undoState':_0x338d13[_0x1ceffa(0x142)][_0x1ceffa(0x128)],'redoState':_0x1b127d[_0x1ceffa(0x142)][_0x1ceffa(0x128)]}),_0x358f52=_0x338d13[_0x1ceffa(0x222)],_0x2f87ce=_0x1b127d[_0x1ceffa(0x222)];}_0x358f52=a[_0x1ceffa(0x1b5)]['deepClone'](_0x2d94fb[_0x1ceffa(0x17f)][0x0]),_0x2f87ce=a[_0x1ceffa(0x1b5)]['deepClone'](_0x2d94fb[_0x1ceffa(0x17f)][0x0]);for(let _0x105b47=_0x42d4ba['length']-0x1;_0x105b47>=0x0;_0x105b47--){const _0x300525={'id':_0x1ceffa(0x32d),'params':{'unitId':_0x42d4ba[_0x105b47][_0x1ceffa(0x1bb)],..._0x42d4ba[_0x105b47][_0x1ceffa(0x2fe)]}},_0x677839={'id':_0x1ceffa(0x32d),'params':{'unitId':_0x42d4ba[_0x105b47][_0x1ceffa(0x1bb)],..._0x42d4ba[_0x105b47]['redoState']}},_0x20873b=this[_0x1ceffa(0x282)]['transformMutation'](_0x358f52,_0x300525,!0x1),_0x50be3c=this[_0x1ceffa(0x282)]['transformMutation'](_0x2f87ce,_0x677839,!0x1);if(m[_0x1ceffa(0x2d5)](_0x20873b))throw _0x20873b[_0x1ceffa(0x199)];if(m[_0x1ceffa(0x2d5)](_0x50be3c))throw _0x50be3c['error'];_0x5a44c9[_0x1ceffa(0x2b3)]({..._0x42d4ba[_0x105b47],'undoState':_0x20873b[_0x1ceffa(0x142)]['params'],'redoState':_0x50be3c['m2Prime'][_0x1ceffa(0x128)]}),_0x358f52=_0x20873b[_0x1ceffa(0x222)],_0x2f87ce=_0x50be3c[_0x1ceffa(0x222)];}this[_0x1ceffa(0xed)]['setStateCache'](_0x3f152f,{'history':_0x49a9e1,'collaboration':_0x5a44c9});}};Z=qt([he(0x0,a[_0x3061ed(0x16b)](a[_0x3061ed(0x30b)])),he(0x1,m[_0x3061ed(0x27c)]),he(0x2,a[_0x3061ed(0x16b)](b[_0x3061ed(0x2cd)]))],Z);var Kt=Object['getOwnPropertyDescriptor'],zt=(_0x45b059,_0x1dbf08,_0x9eccb2,_0xe5b38f)=>{const _0x31c823=_0x3061ed;for(var _0x212652=_0xe5b38f>0x1?void 0x0:_0xe5b38f?Kt(_0x1dbf08,_0x9eccb2):_0x1dbf08,_0x2961f1=_0x45b059[_0x31c823(0xf6)]-0x1,_0x3aa580;_0x2961f1>=0x0;_0x2961f1--)(_0x3aa580=_0x45b059[_0x2961f1])&&(_0x212652=_0x3aa580(_0x212652)||_0x212652);return _0x212652;},Me=(_0x19a231,_0x3de5eb)=>(_0x2b5a6b,_0x48ad55)=>_0x3de5eb(_0x2b5a6b,_0x48ad55,_0x19a231);let Q=class{constructor(_0x3b9073,_0x271a77){const _0x325eda=_0x3061ed;this['_injector']=_0x3b9073,this[_0x325eda(0x282)]=_0x271a77;}[_0x3061ed(0x290)](_0x5dd434){const _0x1f560e=_0x3061ed;var _0x4785b2;const _0x412456=this[_0x1f560e(0x197)][_0x1f560e(0x27e)](Y[_0x1f560e(0x348)]),_0x1373e6=(_0x4785b2=_0x412456[_0x1f560e(0x2ad)]())!=null?_0x4785b2:[];if(_0x1373e6[_0x1f560e(0xf6)]===0x0)return;const _0x240bf2=_0x5dd434[_0x1f560e(0x14d)],_0x266630=[{'id':_0x1f560e(0x32d),'params':{'unitId':_0x240bf2,'actions':null,'textRanges':_0x1373e6}}],_0x3a3c6f=this[_0x1f560e(0x282)][_0x1f560e(0x296)](_0x5dd434,_0x266630);if(!m[_0x1f560e(0xff)](_0x3a3c6f))throw _0x3a3c6f['error'];const _0x3bae7a=_0x3a3c6f[_0x1f560e(0x142)][0x0][_0x1f560e(0x128)]['textRanges'];Array['isArray'](_0x3bae7a)&&_0x3bae7a[_0x1f560e(0xf6)]&&_0x412456['replaceDocRanges'](_0x3bae7a,{'unitId':_0x240bf2,'subUnitId':_0x240bf2},!0x1);}};Q=zt([Me(0x0,a[_0x3061ed(0x16b)](a[_0x3061ed(0x30b)])),Me(0x1,m[_0x3061ed(0x27c)])],Q);var Jt=Object[_0x3061ed(0x245)],Zt=(_0x510417,_0x3c9000,_0x362b10,_0xee9df9)=>{const _0x31f8d4=_0x3061ed;for(var _0x3d7d54=_0xee9df9>0x1?void 0x0:_0xee9df9?Jt(_0x3c9000,_0x362b10):_0x3c9000,_0x54b35e=_0x510417[_0x31f8d4(0xf6)]-0x1,_0x260d59;_0x54b35e>=0x0;_0x54b35e--)(_0x260d59=_0x510417[_0x54b35e])&&(_0x3d7d54=_0x260d59(_0x3d7d54)||_0x3d7d54);return _0x3d7d54;},N=(_0x59d5cf,_0x6bb27f)=>(_0x215e10,_0x12a70e)=>_0x6bb27f(_0x215e10,_0x12a70e,_0x59d5cf);let ee=class extends a[_0x3061ed(0xce)]{constructor(_0x3c5cae,_0x34a428,_0x43b30b,_0x38a541,_0x19cbde,_0x230644,_0xe0cc8e,_0xd81394){const _0xa8bdff=_0x3061ed;super(),h(this,_0xa8bdff(0x289),new d[(_0xa8bdff(0x303))](u[_0xa8bdff(0x11f)][_0xa8bdff(0x22f)])),(this[_0xa8bdff(0xed)]=_0x3c5cae,this[_0xa8bdff(0x2d2)]=_0x34a428,this[_0xa8bdff(0x29b)]=_0x43b30b,this['_docTransformStateCacheService']=_0x38a541,this['_docTransformSelectionsService']=_0x19cbde,this['_docSyncEditingCollabCursorService']=_0x230644,this[_0xa8bdff(0x2f7)]=_0xe0cc8e,this['_localeService']=_0xd81394,this['_initEntityListener']());}[_0x3061ed(0x236)](){const _0x337aaf=_0x3061ed;this[_0x337aaf(0x265)](this[_0x337aaf(0x2d2)][_0x337aaf(0xd6)][_0x337aaf(0x27f)](_0x58d534=>{const _0x3adc22=_0x337aaf,_0x4dc254=this[_0x3adc22(0xed)][_0x3adc22(0x31b)][_0x3adc22(0x27f)](_0xe8e9ad=>{const _0x22b28c=_0x3adc22;if(_0xe8e9ad==null)return;const {unitId:_0x282dc2,redoState:_0x2d9cb2,commandId:_0x42578e}=_0xe8e9ad;if(_0x282dc2!==_0x58d534[_0x22b28c(0x14d)])return;const _0x3c04={'id':_0x42578e,'type':a[_0x22b28c(0x10c)][_0x22b28c(0x177)],'params':{'unitId':_0x282dc2,'actions':_0x2d9cb2[_0x22b28c(0x1e7)],'textRanges':null}};_0x58d534[_0x22b28c(0x103)](_0x3c04);});if(_0x58d534['disposeWithMe'](_0x4dc254),_0x58d534 instanceof u[_0x3adc22(0x101)]){const _0x25c609={'onTransformIME':_0x14a2d9=>this[_0x3adc22(0x29b)][_0x3adc22(0x1c1)](_0x14a2d9),'onTransformState':_0x11b6e3=>this[_0x3adc22(0x122)][_0x3adc22(0x188)](_0x11b6e3),'onTransformSelections':_0x145ba4=>this[_0x3adc22(0x2f1)][_0x3adc22(0x290)](_0x145ba4),'onSyncEditingCollabCursor':_0x63f721=>this[_0x3adc22(0x333)][_0x3adc22(0x29e)](_0x63f721),'onTransformRemoteChangesetByIMECache':_0x46db5d=>this[_0x3adc22(0x29b)][_0x3adc22(0x27d)](_0x46db5d),'onTransformRemoteChangesetByStateCache':_0x1110e6=>this[_0x3adc22(0x122)][_0x3adc22(0x27d)](_0x1110e6)};_0x58d534[_0x3adc22(0x164)](_0x25c609);}}));}};ee=Zt([N(0x0,a[_0x3061ed(0x16b)](b['DocStateChangeManagerService'])),N(0x1,a[_0x3061ed(0x16b)](u[_0x3061ed(0x1e9)])),N(0x2,a[_0x3061ed(0x16b)](J)),N(0x3,a[_0x3061ed(0x16b)](Z)),N(0x4,a['Inject'](Q)),N(0x5,a[_0x3061ed(0x16b)](pe)),N(0x6,R[_0x3061ed(0x28c)]),N(0x7,a[_0x3061ed(0x16b)](a[_0x3061ed(0x12c)]))],ee);var Qt=Object[_0x3061ed(0x245)],es=(_0x23e0b2,_0xb2c5ab,_0x437352,_0xdeb36c)=>{const _0x2dfa79=_0x3061ed;for(var _0x286c9a=_0xdeb36c>0x1?void 0x0:_0xdeb36c?Qt(_0xb2c5ab,_0x437352):_0xb2c5ab,_0x135e8e=_0x23e0b2[_0x2dfa79(0xf6)]-0x1,_0x18fe29;_0x135e8e>=0x0;_0x135e8e--)(_0x18fe29=_0x23e0b2[_0x135e8e])&&(_0x286c9a=_0x18fe29(_0x286c9a)||_0x286c9a);return _0x286c9a;},_e=(_0x1031b1,_0x5d5833)=>(_0x2c3b0e,_0x11a296)=>_0x5d5833(_0x2c3b0e,_0x11a296,_0x1031b1);let me=class extends a['Disposable']{constructor(_0x8a7fb2,_0x205aba,_0xa42ebd){const _0x2dac3f=_0x3061ed;super(),h(this,'_cachedData',new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x2dac3f(0x24d),!0x1),(this[_0x2dac3f(0xfa)]=_0x8a7fb2,this[_0x2dac3f(0x135)]=_0x205aba,this[_0x2dac3f(0x152)]=_0xa42ebd);}[_0x3061ed(0x13e)](){this['_disabled']=!0x0;}[_0x3061ed(0x322)](){const _0x3020c7=_0x3061ed;this[_0x3020c7(0x24d)]=!0x1;}get[_0x3061ed(0x311)](){const _0x117c99=_0x3061ed;return this[_0x117c99(0x2a5)];}[_0x3061ed(0xd0)](){const _0x11a17a=_0x3061ed;this['exhaustSavingTask']()['then'](()=>super[_0x11a17a(0xd0)]());}async[_0x3061ed(0x19e)](_0x4d362d){const _0x5558e5=_0x3061ed;return this[_0x5558e5(0x24d)]?null:this[_0x5558e5(0x135)][_0x5558e5(0x209)](u[_0x5558e5(0x13c)](_0x4d362d));}async[_0x3061ed(0x23d)](_0x8e307f,_0x1f1186){const _0x200210=_0x3061ed;return!!this[_0x200210(0x135)][_0x200210(0x2fd)](_0x8e307f,_0x1f1186);}[_0x3061ed(0x34e)](_0x47e8f8,_0x15227b,_0x595824,_0x55305b){const _0x20d414=_0x3061ed,_0x2df6bd=this['_revisionService'][_0x20d414(0x2f0)](_0x47e8f8);this[_0x20d414(0x29d)]['set'](_0x47e8f8,{'unitID':_0x47e8f8,'type':_0x15227b,'awaitingChangeset':_0x595824,'mutations':_0x55305b,'rev':_0x2df6bd}),this[_0x20d414(0x2a5)]['has'](_0x47e8f8)||this[_0x20d414(0x118)](_0x47e8f8);}['_scheduleSaving'](_0x1a6ac5){const _0x89d85e=_0x3061ed,_0x31a910=this[_0x89d85e(0xec)]();_0x31a910===0x0?this[_0x89d85e(0x1c7)](_0x1a6ac5):this['_saveTaskMap'][_0x89d85e(0x17b)](_0x1a6ac5,setTimeout(()=>this[_0x89d85e(0x1c7)](_0x1a6ac5),_0x31a910));}[_0x3061ed(0xec)](){const _0x380395=_0x3061ed;var _0x5c82bc;return(_0x5c82bc=this[_0x380395(0xfa)][_0x380395(0x1db)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x5c82bc:u[_0x380395(0x2fa)];}[_0x3061ed(0x1c7)](_0x4bd98b){const _0x1eeeb8=_0x3061ed,_0x1cf65b=this[_0x1eeeb8(0x2a5)][_0x1eeeb8(0x27e)](_0x4bd98b);return _0x1cf65b!==void 0x0&&window[_0x1eeeb8(0xd2)](_0x1cf65b),this[_0x1eeeb8(0x135)][_0x1eeeb8(0x2fd)](u[_0x1eeeb8(0x13c)](_0x4bd98b),this['_cachedData'][_0x1eeeb8(0x27e)](_0x4bd98b))[_0x1eeeb8(0x279)](()=>this['_saveTaskMap'][_0x1eeeb8(0x337)](_0x4bd98b));}async[_0x3061ed(0xd8)](){const _0x5097dc=_0x3061ed,_0xe917e=[];this[_0x5097dc(0x2a5)][_0x5097dc(0x204)]((_0x118ef9,_0x9a7d7e)=>{const _0x1e7a2d=_0x5097dc;window[_0x1e7a2d(0xd2)](_0x118ef9),_0xe917e[_0x1e7a2d(0x2e5)](this['_saveCache'](_0x9a7d7e)[_0x1e7a2d(0x279)](()=>{const _0x2f502c=_0x1e7a2d;this['_saveTaskMap'][_0x2f502c(0x337)](_0x9a7d7e);}));}),await Promise[_0x5097dc(0x2b6)](_0xe917e);}};me=es([_e(0x0,a[_0x3061ed(0x284)]),_e(0x1,a[_0x3061ed(0x30f)]),_e(0x2,a[_0x3061ed(0x16b)](m[_0x3061ed(0xee)]))],me);class ke extends a[_0x3061ed(0x1e8)]{constructor(){const _0x1bef40=_0x3061ed;super(),h(this,_0x1bef40(0x2c9)),this['urlChange$']=d[_0x1bef40(0x187)](window,_0x1bef40(0x146))['pipe'](d['takeUntil'](this[_0x1bef40(0x1e4)]),d['shareReplay'](0x1),d[_0x1bef40(0x2d6)](void 0x0));}[_0x3061ed(0x259)](_0x163f6f,_0x515dd6,_0xb27c24=!0x1){const _0x255472=_0x3061ed,_0x37d592=new URL(window[_0x255472(0x2c8)][_0x255472(0x167)]);_0x37d592['searchParams'][_0x255472(0x17b)](_0x163f6f,_0x515dd6),_0xb27c24?window[_0x255472(0x225)]['replaceState']('','',_0x37d592['toString']()):window[_0x255472(0x225)][_0x255472(0x285)]('','',_0x37d592[_0x255472(0x1be)]());}[_0x3061ed(0x108)](_0x42f0de,_0x4ff909=!0x1){const _0x306c65=_0x3061ed,_0x546de4=new URL(window['location']['href']);_0x546de4['searchParams'][_0x306c65(0x337)](_0x42f0de),_0x4ff909?window['history'][_0x306c65(0x276)]('','',_0x546de4[_0x306c65(0x1be)]()):window[_0x306c65(0x225)][_0x306c65(0x285)]('','',_0x546de4[_0x306c65(0x1be)]());}['getParam'](_0x1f47cd){const _0x1e6ff8=_0x3061ed;var _0x2379d0;return(_0x2379d0=new URL(window[_0x1e6ff8(0x2c8)]['href'])[_0x1e6ff8(0x155)]['get'](_0x1f47cd))!=null?_0x2379d0:void 0x0;}}var ts=Object[_0x3061ed(0x24f)],ss=Object[_0x3061ed(0x245)],ns=(_0x5492e0,_0x390bd8,_0x58bbad)=>_0x390bd8 in _0x5492e0?ts(_0x5492e0,_0x390bd8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58bbad}):_0x5492e0[_0x390bd8]=_0x58bbad,is=(_0x473ffc,_0x2082b8,_0x3d88be,_0x40c134)=>{const _0x5c7078=_0x3061ed;for(var _0x3cb6aa=_0x40c134>0x1?void 0x0:_0x40c134?ss(_0x2082b8,_0x3d88be):_0x2082b8,_0x5215c5=_0x473ffc[_0x5c7078(0xf6)]-0x1,_0x1e7b77;_0x5215c5>=0x0;_0x5215c5--)(_0x1e7b77=_0x473ffc[_0x5215c5])&&(_0x3cb6aa=_0x1e7b77(_0x3cb6aa)||_0x3cb6aa);return _0x3cb6aa;},ue=(_0x1ab0c1,_0x5c5c08)=>(_0xcf58e,_0x3e4069)=>_0x5c5c08(_0xcf58e,_0x3e4069,_0x1ab0c1),rs=(_0x5cf89c,_0x212fa4,_0x59d836)=>ns(_0x5cf89c,_0x212fa4+'',_0x59d836);const os=_0x3061ed(0x1bc);exports[_0x3061ed(0x221)]=class extends a[_0x3061ed(0x121)]{constructor(_0x1f3331=Ne,_0x3236ef,_0x3531b3,_0x22a40f){const _0x58e209=_0x3061ed;super(),this[_0x58e209(0x33c)]=_0x1f3331,this[_0x58e209(0x12f)]=_0x3236ef,this['_injector']=_0x3531b3,this[_0x58e209(0xfa)]=_0x22a40f;const {..._0xcb921a}=a['merge']({},Ne,this['_config']);this['_configService'][_0x58e209(0x10b)](Ft,_0xcb921a);}[_0x3061ed(0x2b4)](){const _0x115b04=_0x3061ed;this[_0x115b04(0x178)](),this['_initDependencies']();}[_0x3061ed(0x272)](){const _0x520ac5=_0x3061ed;this[_0x520ac5(0x1ce)]();}[_0x3061ed(0x178)](){const _0x59b0d8=_0x3061ed;var _0x599762;const _0x26b7e1=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x59b0d8(0x2ec)],{'useClass':q[_0x59b0d8(0x109)]}],[u[_0x59b0d8(0x184)],{'useClass':me}],[exports[_0x59b0d8(0x16f)]],[ee],[z],[x],[fe],[exports[_0x59b0d8(0x107)]]];a['registerDependencies'](this[_0x59b0d8(0x197)],a[_0x59b0d8(0x2d0)](_0x26b7e1,(_0x599762=this[_0x59b0d8(0x33c)])==null?void 0x0:_0x599762[_0x59b0d8(0x200)]));}[_0x3061ed(0x1ce)](){const _0x12f145=_0x3061ed;this[_0x12f145(0x265)](this[_0x12f145(0x12f)][_0x12f145(0x22b)](a[_0x12f145(0x352)][_0x12f145(0x233)],[ve])),this[_0x12f145(0x265)](this['_renderManagerService']['registerRenderModule'](a[_0x12f145(0x352)][_0x12f145(0x2a2)],[ge]));}['_initDependencies'](){const _0x2b7729=_0x3061ed;a['touchDependencies'](this[_0x2b7729(0x197)],[[x],[exports[_0x2b7729(0x16f)]],[ee],[z],[exports[_0x2b7729(0x107)]]]);}},rs(exports['UniverCollaborationClientUIPlugin'],'pluginName',os),exports[_0x3061ed(0x221)]=is([a[_0x3061ed(0x329)](u[_0x3061ed(0x2e7)]),ue(0x1,p[_0x3061ed(0x24b)]),ue(0x2,a[_0x3061ed(0x16b)](a['Injector'])),ue(0x3,a[_0x3061ed(0x284)])],exports[_0x3061ed(0x221)]);var as=Object[_0x3061ed(0x245)],cs=(_0x4922c1,_0x243b99,_0x48dcfd,_0x1ae9b0)=>{const _0x38de44=_0x3061ed;for(var _0x54f96a=_0x1ae9b0>0x1?void 0x0:_0x1ae9b0?as(_0x243b99,_0x48dcfd):_0x243b99,_0x2d5810=_0x4922c1[_0x38de44(0xf6)]-0x1,_0x15ad22;_0x2d5810>=0x0;_0x2d5810--)(_0x15ad22=_0x4922c1[_0x2d5810])&&(_0x54f96a=_0x15ad22(_0x54f96a)||_0x54f96a);return _0x54f96a;},W=(_0x28cd9b,_0x1c13fe)=>(_0x28ef67,_0x27bed1)=>_0x1c13fe(_0x28ef67,_0x27bed1,_0x28cd9b);exports[_0x3061ed(0x192)]=class extends u['CollaborationSocketService']{constructor(_0x12b0ea,_0x5b6801,_0x4f9043,_0x4b055e,_0x3a3455){super(_0x12b0ea,_0x5b6801,_0x4f9043,_0x4b055e,_0x3a3455);}async[_0x3061ed(0x129)](_0x2c2266){const _0x4bbc18=_0x3061ed,_0x32ec41=await this[_0x4bbc18(0x163)](),_0xe05d7a=this[_0x4bbc18(0x343)](_0x2c2266,_0x32ec41);return this[_0x4bbc18(0x1dc)](_0xe05d7a);}['_createSocketURL'](_0x443963,_0x494782){const _0x35aff4=_0x3061ed,_0x31a417=typeof window>'u'?new URL(_0x443963):new URL(_0x443963,window[_0x35aff4(0x2c8)][_0x35aff4(0x1ec)]);_0x31a417[_0x35aff4(0x155)][_0x35aff4(0x17b)]('sessionTicket',_0x494782);const _0x3fa5fc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x35aff4(0x2c8)]['search']);return _0x3fa5fc['get'](_0x35aff4(0x324))&&_0x31a417['searchParams']['set'](_0x35aff4(0x324),_0x3fa5fc[_0x35aff4(0x27e)](_0x35aff4(0x324))),_0x31a417[_0x35aff4(0x1be)]();}async[_0x3061ed(0x163)](){const _0x2c2149=_0x3061ed;var _0x43b826,_0x206787,_0xf1d680;const _0xa3a3a7=this[_0x2c2149(0xfa)]['getConfig'](u[_0x2c2149(0x1fd)]),_0x176ac5=(_0x43b826=_0xa3a3a7==null?void 0x0:_0xa3a3a7[_0x2c2149(0x24a)])!=null?_0x43b826:u[_0x2c2149(0x23c)];return(_0xf1d680=(_0x206787=(await this[_0x2c2149(0x21b)]['get'](_0x176ac5,{'headers':{'Content-Type':'application/json'}}))[_0x2c2149(0x213)])==null?void 0x0:_0x206787['ticket'])!=null?_0xf1d680:'';}},exports[_0x3061ed(0x192)]=cs([W(0x0,a[_0x3061ed(0x16b)](a[_0x3061ed(0x30b)])),W(0x1,a[_0x3061ed(0x16b)](q[_0x3061ed(0x20b)])),W(0x2,a['IConfigService']),W(0x3,a[_0x3061ed(0x21d)]),W(0x4,m['ISnapshotServerService'])],exports[_0x3061ed(0x192)]);const Pe=0x7530,we=_0x3061ed(0x161);class ls extends a[_0x3061ed(0xce)]{constructor(){const _0x4d7845=_0x3061ed;super(),h(this,_0x4d7845(0x17a),a[_0x4d7845(0x10a)]()),h(this,_0x4d7845(0x1b3),new Set()),h(this,_0x4d7845(0x2e3),new Map()),h(this,_0x4d7845(0xe8),null),h(this,_0x4d7845(0x294),new Map()),h(this,'_unitStatus',new Map()),this[_0x4d7845(0x201)]();}['dispose'](){const _0x2c2282=_0x3061ed;super['dispose'](),this[_0x2c2282(0x294)]['forEach']((_0x539e1c,_0x5684d4)=>this[_0x2c2282(0xf9)](_0x5684d4)),this[_0x2c2282(0xe8)]&&window[_0x2c2282(0x223)](this['_heartbeatTimer']);}[_0x3061ed(0x261)](_0x4a08f2){const _0x1d12ea=_0x3061ed;return this['_ensureSubject'](_0x4a08f2)[_0x1d12ea(0x24e)](d[_0x1d12ea(0x19d)]());}['editingUnit'](_0x368c92){const _0x886989=_0x3061ed;this[_0x886989(0x1b3)][_0x886989(0x165)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x886989(0x144)](_0x368c92),this[_0x886989(0x327)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x368c92],'isForwarded':!0x1});}['disposeUnit'](_0x53c441){const _0x29f5fb=_0x3061ed;this[_0x29f5fb(0x1b3)]['delete'](_0x53c441),this['_selfUnitIDs'][_0x29f5fb(0x165)]===0x0&&this[_0x29f5fb(0xe8)]&&window[_0x29f5fb(0x223)](this[_0x29f5fb(0xe8)]);}[_0x3061ed(0x201)](){const _0x228cd9=_0x3061ed;this[_0x228cd9(0x265)](a[_0x228cd9(0x1d1)](d[_0x228cd9(0x187)](window,_0x228cd9(0xd7))['subscribe'](_0x3ef72f=>{const _0x3cdf55=_0x228cd9;if(_0x3ef72f[_0x3cdf55(0x248)]!==we||!_0x3ef72f['newValue'])return;const _0x522285=JSON[_0x3cdf55(0x1b0)](_0x3ef72f[_0x3cdf55(0x33a)]);this['_handleEvent'](_0x522285);}))),window[_0x228cd9(0x299)](_0x228cd9(0x14f),()=>this[_0x228cd9(0x327)]({'type':0x1,'memberID':this[_0x228cd9(0x17a)],'unitIDs':Array[_0x228cd9(0x2a0)](this['_selfUnitIDs'])}));}[_0x3061ed(0x19a)](_0x57b0b4){const _0x10e1d1=_0x3061ed;switch(_0x57b0b4[_0x10e1d1(0x131)]){case 0x0:this[_0x10e1d1(0x2c2)](_0x57b0b4);break;case 0x1:this['_handleLeaveEvent'](_0x57b0b4);break;case 0x2:this[_0x10e1d1(0x208)](_0x57b0b4);break;}}[_0x3061ed(0x2c2)](_0x275adc){const _0x584985=_0x3061ed,{unitIDs:_0x37a5df,memberID:_0x20f8a4,isForwarded:_0x594993}=_0x275adc;_0x37a5df[_0x584985(0x204)](_0x33fb1b=>{const _0x49d2ae=_0x584985;if(!_0x594993&&this['_unitOnClients'][_0x49d2ae(0xf8)](_0x33fb1b)&&this[_0x49d2ae(0x29c)](_0x33fb1b)[_0x49d2ae(0x15c)](u['UnitStatus'][_0x49d2ae(0x15d)]),!this['_unitOnClients'][_0x49d2ae(0xf8)](_0x33fb1b)||!this['_unitOnClients'][_0x49d2ae(0x27e)](_0x33fb1b)[_0x49d2ae(0xf8)](_0x20f8a4)){const _0x353afe=this[_0x49d2ae(0x2e3)][_0x49d2ae(0x27e)](_0x33fb1b)||new Set();_0x353afe[_0x49d2ae(0x144)](_0x20f8a4),this[_0x49d2ae(0x2e3)]['set'](_0x33fb1b,_0x353afe),this[_0x49d2ae(0x151)](_0x20f8a4);}}),_0x594993||this[_0x584985(0x327)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x584985(0x1b3)]],'isForwarded':!0x0});}[_0x3061ed(0x151)](_0x574400){const _0xe17fe=_0x3061ed;this[_0xe17fe(0xf9)](_0x574400);const _0x4a857f=window[_0xe17fe(0x293)](()=>{const _0x2dcf6a=_0xe17fe;this['_unitOnClients'][_0x2dcf6a(0x204)](_0x480548=>{const _0x2c6493=_0x2dcf6a;_0x480548[_0x2c6493(0x337)](_0x574400);});},Pe*0x2);this[_0xe17fe(0x294)][_0xe17fe(0x17b)](_0x574400,_0x4a857f);}[_0x3061ed(0xf9)](_0x50b2d2){const _0x10f400=_0x3061ed;if(this[_0x10f400(0x294)][_0x10f400(0xf8)](_0x50b2d2)){const _0xc00c17=this[_0x10f400(0x294)][_0x10f400(0x27e)](_0x50b2d2);_0xc00c17&&window[_0x10f400(0xd2)](_0xc00c17),this[_0x10f400(0x294)][_0x10f400(0x17b)](_0x50b2d2,null);}}[_0x3061ed(0x120)](_0x535c56){const _0x244487=_0x3061ed,{memberID:_0x35e110,unitIDs:_0x3166c1}=_0x535c56;_0x3166c1['forEach'](_0x42e0a6=>{const _0x53d184=_0x1868;var _0x192e7c;const _0x5029ff=this[_0x53d184(0x2e3)][_0x53d184(0x27e)](_0x42e0a6);_0x5029ff&&(_0x5029ff[_0x53d184(0x337)](_0x35e110),(_0x192e7c=this[_0x53d184(0x29c)](_0x42e0a6))==null||_0x192e7c[_0x53d184(0x15c)](_0x5029ff[_0x53d184(0x165)]===0x0?u['UnitStatus'][_0x53d184(0x1a6)]:u[_0x53d184(0x2bd)][_0x53d184(0x15d)]));}),this[_0x244487(0xf9)](_0x35e110);}[_0x3061ed(0x208)](_0x5b933d){const _0x530a34=_0x3061ed;this[_0x530a34(0x151)](_0x5b933d[_0x530a34(0x16d)]);}[_0x3061ed(0x327)](_0x383c1c){const _0x1e858d=_0x3061ed;localStorage[_0x1e858d(0x2fd)](we,JSON[_0x1e858d(0x2d9)](_0x383c1c));}[_0x3061ed(0x1ee)](){const _0x173ce3=_0x3061ed;this['_heartbeatTimer']=window[_0x173ce3(0x241)](()=>{const _0x50ae78=_0x173ce3;this[_0x50ae78(0x327)]({'type':0x2,'memberID':this[_0x50ae78(0x17a)]});},Pe);}['_ensureSubject'](_0x50fa14){const _0x145415=_0x3061ed;return this[_0x145415(0xf3)][_0x145415(0xf8)](_0x50fa14)||this['_unitStatus'][_0x145415(0x17b)](_0x50fa14,new d[(_0x145415(0x303))](u['UnitStatus'][_0x145415(0x1a6)])),this['_unitStatus'][_0x145415(0x27e)](_0x50fa14);}}var Be=(_0x3e4aa9=>(_0x3e4aa9[_0x3e4aa9['UNDEFINED']=0x0]=_0x3061ed(0x2ee),_0x3e4aa9[_0x3e4aa9['OK']=0x1]='OK',_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x275)]=0x2]=_0x3061ed(0x275),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0xe9)]=0x3]=_0x3061ed(0xe9),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x13b)]=0x4]=_0x3061ed(0x13b),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x1b2)]=0x5]=_0x3061ed(0x1b2),_0x3e4aa9[_0x3e4aa9['ALREADY_EXISTS']=0x6]=_0x3061ed(0x2ea),_0x3e4aa9[_0x3e4aa9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x3e4aa9[_0x3e4aa9['TOO_MANY_REQUESTS']=0x8]=_0x3061ed(0x250),_0x3e4aa9[_0x3e4aa9['COMPLETION_FINISHED']=0x9]=_0x3061ed(0xd4),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x24c)]=0xa]=_0x3061ed(0x24c),_0x3e4aa9[_0x3e4aa9['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3061ed(0xea),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x18e)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3e4aa9[_0x3e4aa9['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3061ed(0x2a9),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x210)]=0x1773]=_0x3061ed(0x210),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x2f3)]=0x1b59]=_0x3061ed(0x2f3),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x249)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x2df)]=0x1b5b]=_0x3061ed(0x2df),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x25a)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x2bc)]=0x1b5d]=_0x3061ed(0x2bc),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x119)]=0x1f41]=_0x3061ed(0x119),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x13d)]=0x2329]=_0x3061ed(0x13d),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0xf2)]=0x232a]=_0x3061ed(0xf2),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x1d7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x123)]=0x232c]=_0x3061ed(0x123),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x288)]=0x232d]=_0x3061ed(0x288),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x266)]=0x2711]=_0x3061ed(0x266),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x130)]=0x2712]=_0x3061ed(0x130),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x2f2)]=0x2713]=_0x3061ed(0x2f2),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x298)]=0x2714]=_0x3061ed(0x298),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x11a)]=0x2af9]=_0x3061ed(0x11a),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x153)]=0x2ee1]=_0x3061ed(0x153),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x335)]=0x2ee2]='INVALID_INVITE_CODE',_0x3e4aa9[_0x3e4aa9['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3061ed(0x2d1),_0x3e4aa9[_0x3e4aa9[_0x3061ed(0x2a6)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3e4aa9[_0x3e4aa9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3061ed(0x1ff),_0x3e4aa9[_0x3e4aa9['UNRECOGNIZED']=-0x1]=_0x3061ed(0x180),_0x3e4aa9))(Be||{}),hs=Object[_0x3061ed(0x245)],_s=(_0x5bcaea,_0x53785c,_0x2ffe18,_0x22c402)=>{const _0x571eef=_0x3061ed;for(var _0x244fc6=_0x22c402>0x1?void 0x0:_0x22c402?hs(_0x53785c,_0x2ffe18):_0x53785c,_0x35ec37=_0x5bcaea[_0x571eef(0xf6)]-0x1,_0x42967c;_0x35ec37>=0x0;_0x35ec37--)(_0x42967c=_0x5bcaea[_0x35ec37])&&(_0x244fc6=_0x42967c(_0x244fc6)||_0x244fc6);return _0x244fc6;},de=(_0x2fa111,_0xdfe844)=>(_0x2127d4,_0x5ceca9)=>_0xdfe844(_0x2127d4,_0x5ceca9,_0x2fa111);function _0x9151(){const _0x3eac61=['fillRule','DEFAULT_WS_SESSION_TICKET_URL','saveOfflineData','getViewport','eventID','merge','setInterval','InsertRowCommandId','hovered','RemoveColCommandId','getOwnPropertyDescriptor','_collabSessionService','_context','key','APPLY_NON_SEQUENTIAL_REVISION','wsSessionTicketUrl','IRenderManagerService','LOGIN_FAILED','_disabled','pipe','defineProperty','TOO_MANY_REQUESTS','drawWith','isEditing','_textBubble','resize','path','getActiveSheet','gold400','_anchorDot','setParam','APPLY_PERMISSION_DENIED','_scene','_hover','getSheetBySheetId','AWAITING','uni.network.url-service','_shapes','getUnitStatus$','COLORS','Workbook','_updateURLWithCurrentState','disposeWithMe','YUUMI_UNABLE_LOAD_URL','online','collab-text-anchor-','IUniverInstanceService','CLOSE_ROOM','debounceTime','flatMap','RemoteUniscriptService','10pclpcJ','Subject','_refRangeService','startColumn','onRendered','CollaborationEvent','attrs','INTERNAL_ERROR','replaceState','subscribeEvent','_initStatusListener','then','icon','FromArray','ITransformService','transformRemoteChangeset','get','subscribe','getRangePointData','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_transformService','_transformHistoryAndStateStack','IConfigService','pushState','trim','RECT','LICENSE_DISTRO_REJECTED','_status$','_hideTimer','OffLineSingle','IMessageService','1216638SVOXIe','NodePositionConvertToCursor','onTransformChange$','transformSelections','createInstance','off-line-single','setTimeout','_clearOtherTimers','deepClone','transformMutationsWithChangeset','debounce','YUUMI_SUBSCRIPTION_NOT_FOUND','addEventListener','session.connection-failed','_docTransformIMECacheService','_ensureSubject','_cachedData','syncEditingCollabCursor','_uiPartsService','from','switchMap','UNIVER_SHEET','on-line-single_clip0_910_349','forwardRef','_saveTaskMap','USER_NOT_INVITED_CODE','@univerjs/core','offline','SNAPSHOT_HAS_BEEN_REMOVED','collaboration.single-unit.warning','useRef','@univerjs/docs','getDocRanges','concat','_getSheetObject','getCollabCursors$','518433zANpuM','unit','unshift','onStarting','EffectRefRangId','all','getCollabEntity$','_onCursorDelete','selections','string','transform','APPLY_DUPLICATED','UnitStatus','_session','includes','_initCommandExecutedListener','fill','_handleJoinEvent','SetWorksheetActivateCommand','onlineStatus','IImageIoService','getTypeOfUnitAdded$','_docSkeleton','location','urlChange$','_name','@univerjs/design','IDocClipboardService','DocStateChangeManagerService','_collabCursorController','tag','mergeOverrideWithDependencies','INVITE_CODE_REQUIRED','_collaborationController','fromEventSubject','handleInsertRow','isTransformMutationFailure','mapTo','svg','#FFF','stringify','text','collaboration.closeRoom','_range','SheetSkeletonManagerService','IBeforeCloseService','APPLY_REVISION_CONFILICT','1076LFQFmz','textRanges','restore','_unitOnClients','_handleHover','push','getMember','UniverCollaborationClientPlugin','onPointerEnter$','setActiveRange','ALREADY_EXISTS','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','ISocketService','sheetID','UNDEFINED','entries','getCurrentRevOfUnit','_docTransformSelectionsService','YUUMI_RATE_OVER_LIMIT','APPLY_REJECT','split','width','_logService','_messageService','_cursorInfo$','url(#$1','LOCAL_CACHE_INTERVAL','triggerDblclick','_colorAssignService','setItem','undoState','Error','handleInsertRangeMoveRight','_dataLoaderService','purple300','BehaviorSubject','USERS_LEAVE','_online','function','runRefRangeMutations','children','arc','event$','Injector','4NGGMRS','DOC_RANGE_TYPE','_anchor','ILocalStorageService','OnLineSingle','saveTaskMap','Shape','imageSourceType','send','clipPath','_initEvent','with','SetSelectionsOperation','MessageType','SOCKET_FAILED','docStateChange$','transformByState','propertyIsEnumerable','redoState','some','collabStatus.conflict','_setupBeforeClosingHandler','enableLocalCache','startsWith','runId','red300','registerComponent','_send','78xCPQXO','DependentOn','RemoveRowCommandId','_hovered','...','doc.mutation.rich-text-editing','_color','_imageIoService','getCoordByCell','@univerjs/engine-render','_cursorShapes','_docSyncEditingCollabCursorService','getMemberID','INVALID_INVITE_CODE','jsx','delete','DocIMEInputManagerService','getUnitId','newValue','onCommandExecuted','_config','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','InsertRangeMoveRightCommandId','font','Warning','init','serializeRangeWithSheet','_createSocketURL','univerjs-icon\x20univerjs-icon-','_transformPreviousActiveRange','color','createIdentifier','DocSelectionManagerService','handleInsertCol','CollaborationSessionService','UPDATE_CURSOR','handleDeleteRangeMoveLeft','onlineStatusIcon','updateOfflineData','saveImage','SetDocZoomRatioOperation','moveTo','UniverInstanceType','result','Disposable','lineTo','dispose','getSkeleton','clearTimeout','_getScale','COMPLETION_FINISHED','collabStatus.notCollab','entityInit$','storage','exhaustSavingTask','none','@univerjs/sheets-ui','replace','_updateLocalCursor','InsertRangeMoveDownCommandId','ColorKit','MemberService','apply','rxjs','unsubscribe','deserializeRangeWithSheet','data','PENDING','executionId','roomMembers','_heartbeatTimer','PERMISSION_DENIED','CHANGESET_REVISION_CONFILICT','IUIPartsService','_getSaveTimeout','_docStateChangeManagerService','RevisionService','name','executeCommand','defIds','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_unitStatus','row','_sheetSkeletonManagerService','length','getOwnPropertySymbols','has','_removeClearOtherTimer','_configService','HEADER_MENU','_toggleOffline','asObservable','getMergeData','isTransformMutationsWithChangesetSuccess','save','DocCollaborationEntity','57407bVythD','onLocalMutation','OFFLINE','SOCKET_FAILED_RETRY','CollaborationUIEventId','CollaborationDataLoaderController','removeParam','WebSocketService','generateRandomId','setConfig','CommandType','find','_instanceService','selection','debug','react/jsx-runtime','_beforeCloseService','getCellPositionByOffset','use','IRemoteInstanceService','@univerjs/network','permission.title','_scheduleSaving','CONNECTOR_DATA_TOO_LARGE','PY_RUNTIME_SCRIPT_ERROR','Vector2','_setupSubUnitSync','subunit','_notificationService','CollaborationStatus','_handleLeaveEvent','Plugin','_docTransformStateCacheService','LICENSE_EXPORT_SIZE_EXCEEDED','complete','_collaborationUIEventService','INotificationService','defs','params','createSocket','evenodd','_commandService','LocaleService','_labelPosition','react','_renderManagerService','YUUMI_URL_COL_OUT_OF_RANGE','type','useCallback','colorChannel1','_syncEditingCollabCursorService','_localStorageService','toStringTag','getCurrentSelections','getAncestorScale','_themeService','[CollaborationDataLoaderController]','NOT_FOUND','getLocalCacheKey','LICENSE_MAX_UNITS_EXCEEDED','disableLocalCache','univer-offline','hide','setShapeProps','m2Prime','collabStatus.syncing','add','bottom','popstate','0\x200\x2016\x2016','univer-online-status-title','session.collaboration-timeout','_startDocCollabCursor','currentColor','fillText','unitID','registerRefRange','unload','getColor','_scheduleClearOtherTimer','_revisionService','INVITE_CODE_HAS_BEEN_UES','transformMutation','searchParams','makeDirty','SheetsSelectionsService','_entityInit$','isArray','_backgroundColor','ThemeService','next','OTHER_CLIENTS_EDITING','_lastPointer','height','#fff','ACTIVE_UNIT_EVENT_CHANNEL','WebURLService','_getSessionTicket','addHandlerCallback','size','_roomMembers$','href','@univerjs-pro/collaboration-client','_univerInstanceService','round','Inject','rxjs/operators','memberID','toRgbString','DesktopCollaborationStatusDisplayController','setAlpha','RegularPolygon','DeleteRangeMoveLeftCommandId','_draw','collaboration-client-ui.config','getStateCache','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','MUTATION','_registerDependencies','column','_id','set','show','_memberService','reconnect','mutations','UNRECOGNIZED','@univerjs/ui','439dALEVk','getUniverSheetInstance','ILocalCacheService','_entities','_toggleOnline','fromEvent','transformStateCache','addClipboardHook','currentSkeleton$','cursorInfo$','prototype','min','SNAPSHOT_INVALID_SNAPSHOT','collaboration-client.offline-data-not-saved','getRenderById','blue400','BrowserCollaborationSocketService','currentTheme$','ICommandService','DeleteRangeMoveUpCommandId','getUnhiddenWorksheets','_injector','@univerjs/drawing','error','_handleEvent','UniverIcon','_localCacheService','distinctUntilChanged','loadOfflineData','roomMembers$','measureText','verdancy600','cursorInfo','@univerjs/docs-ui','_getAnchorBounding','assignAColorForMemberID','NO_OTHER_CLIENTS_EDITING','findNodePositionByCharIndex','_assignedColors','idSuffix','3358278JWqeRX','runOnServer','_getMergeRange','mask','_cursors','getSheetId','parse','_onRefRangeChange','UNAUTHENTICATED','_selfUnitIDs','SessionStatus','Tools','on-line-single','createElement','DisposableCollection','range','top','unitId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docSkeletonManagerService','toString','div','NodePositionConvertToRectRange','transformIMECache','sessionStatus$','BuiltInUIPart','getParam','_document','permission.content','_saveCache','TEXT','1437576UkrTbi','onMouseMove','_drawTextRange','_startSheetCollabCursor','rgba(255,\x20255,\x20255,\x200.01)','_registerRenderDependencies','TEXT_RANGE_LAYER_INDEX','Optional','toDisposable','Unknown\x20user','useDependency','getUndoRedoMutationParamsCache','assign','CollaborationStatusDisplay','LICENSE_IMPORT_SIZE_EXCEEDED','getTypeOfUnitDisposed$','indexOf','extend','getConfig','_doCreateSocket','@univerjs/sheets','invokeId','@univerjs-pro/collaboration','registerBeforeClose','requireSession','whenReady','startRow','dispose$','xlink:href','_localeService','actions','RxDisposable','CollaborationController','setUndoRedoMutationParamsCache','random','origin','379350VpUaKE','_scheduleHeartbeat','_colorIndex','url(#off-line-single_clip0_910_343)','code','takeUntil','_updateSubUnitFromURLParams','values','_onCursorUpdate','_urlService','className','_docClipboardService','M0\x200H16V16H0z','handleDeleteRangeMoveUp','@univerjs/rpc','off-line-single_clip0_910_343','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DocSkeletonManagerService','INVITE_CODE_ALREADY_BOUND','override','_init','black','jiqing500','forEach','collabStatus.offline','substring','CONFLICT','_handleHeartbeatEvent','getItem','DataLoaderService','HTTPService','Rectangle','labelPosition','/run/','collab-client.tooltip.reconnect','ENSURE_SNAPSHOT_EXECUTION','_removeCollabCursors','_cursor','body','contains','VIEW_MAIN','_collabCursorState$','SUBMIT_CHANGESET_TIMEOUT','getValue','collab-rect-range-','1em','_httpService','hasOwnProperty','ILogService','Rect','@univerjs/engine-formula','displayName','UniverCollaborationClientUIPlugin','m1Prime','clearInterval','onPointerLeave$','history','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','status$','ranges','_render','isActive','registerRenderModule','filter','_refreshCollabCursors','addObjects','NOT_COLLAB','source','session.will-retry','SheetCollabCursorShape','UNIVER_DOC','call','_eventUnsubscribe','_initEntityListener','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','map','handleIRemoveCol','clsx'];_0x9151=function(){return _0x3eac61;};return _0x9151();}exports[_0x3061ed(0x26d)]=class extends a[_0x3061ed(0xce)]{constructor(_0x16cdf4,_0xd84367,_0x1bca00){const _0x5e5f4a=_0x3061ed;super(),this[_0x5e5f4a(0x10e)]=_0x16cdf4,this[_0x5e5f4a(0x21b)]=_0xd84367,this[_0x5e5f4a(0xfa)]=_0x1bca00;}async[_0x3061ed(0x1ab)](_0x2d2372,_0x3432dc,_0x3d5a10,..._0x53710c){const _0x2bf002=_0x3061ed;var _0x35cadc,_0xce1ef7,_0x1ac80c,_0x911236;const _0x21746c=this[_0x2bf002(0x10e)]['getFocusedUnit']();if(!_0x21746c)throw new Error(_0x2bf002(0x281));const _0x7096db=((_0x35cadc=this[_0x2bf002(0xfa)][_0x2bf002(0x1db)](u[_0x2bf002(0x237)]))!=null?_0x35cadc:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2d2372+_0x2bf002(0x20e)+_0x3432dc,_0x5b2641=new URL(window[_0x2bf002(0x2c8)][_0x2bf002(0x167)]),_0x254816={'scriptId':_0x2d2372,'runId':(_0xce1ef7=_0x5b2641[_0x2bf002(0x155)][_0x2bf002(0x27e)](_0x2bf002(0x324)))!=null?_0xce1ef7:'','function':_0x3432dc,'unitId':_0x21746c['getUnitId'](),'argsOfFunction':JSON[_0x2bf002(0x2d9)](_0x53710c),'invokeId':(_0x1ac80c=_0x3d5a10[_0x2bf002(0x1de)])!=null?_0x1ac80c:'','executionId':(_0x911236=_0x3d5a10[_0x2bf002(0xe6)])!=null?_0x911236:''};try{const _0x370166=await this[_0x2bf002(0x21b)]['post'](_0x7096db,{'body':_0x254816});return _0x370166[_0x2bf002(0x213)][_0x2bf002(0x199)]&&_0x370166[_0x2bf002(0x213)][_0x2bf002(0x199)][_0x2bf002(0x1f1)]!==Be['OK']?'Failed':_0x370166['body'][_0x2bf002(0x353)];}catch{return'Failed';}}},exports[_0x3061ed(0x26d)]=_s([de(0x0,a[_0x3061ed(0x269)]),de(0x1,a['Inject'](q['HTTPService'])),de(0x2,a[_0x3061ed(0x284)])],exports[_0x3061ed(0x26d)]),exports[_0x3061ed(0x1d6)]=je,exports['IURLService']=Ee,exports[_0x3061ed(0x232)]=Ae,exports['WebBrowserSingleActiveUnitService']=ls,exports[_0x3061ed(0x162)]=ke;
@@ -1 +1 @@
1
- 'use strict';function _0x322c(_0x373b8d,_0x2ca33c){const _0x38ce93=_0x38ce();return _0x322c=function(_0x322cfe,_0x4d5983){_0x322cfe=_0x322cfe-0x90;let _0x1242c7=_0x38ce93[_0x322cfe];return _0x1242c7;},_0x322c(_0x373b8d,_0x2ca33c);}function _0x38ce(){const _0xc570d4=['Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','20079BrbLGr','Local\x20file','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','102530JPXCAe','4tVwzvA','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','286lVHxBi','8111222popwLL','683193jEUBSN','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','Edit\x20conflicts','1489060SmJhRl','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','4381075boUrMx','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing\x20server\x20data...','16WeVqxC','6105618UOTEpQ','3208XKBpfP'];_0x38ce=function(){return _0xc570d4;};return _0x38ce();}const _0x3b6476=_0x322c;(function(_0x2f7241,_0x3a3789){const _0x382d88=_0x322c,_0x272194=_0x2f7241();while(!![]){try{const _0xdc8db3=parseInt(_0x382d88(0xa6))/0x1*(-parseInt(_0x382d88(0x96))/0x2)+-parseInt(_0x382d88(0x9d))/0x3+-parseInt(_0x382d88(0x97))/0x4*(-parseInt(_0x382d88(0xa3))/0x5)+-parseInt(_0x382d88(0xa7))/0x6+-parseInt(_0x382d88(0x9c))/0x7+parseInt(_0x382d88(0xa8))/0x8*(-parseInt(_0x382d88(0x92))/0x9)+-parseInt(_0x382d88(0xa1))/0xa*(-parseInt(_0x382d88(0x9b))/0xb);if(_0xdc8db3===_0x3a3789)break;else _0x272194['push'](_0x272194['shift']());}catch(_0x594266){_0x272194['push'](_0x272194['shift']());}}}(_0x38ce,0x99854));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3b6476(0xa5),'conflict':_0x3b6476(0xa0),'notCollab':_0x3b6476(0x93),'synced':_0x3b6476(0x9f),'syncing':'Syncing...','offline':_0x3b6476(0x98)},'session':{'connection-failed':_0x3b6476(0xa4),'will-retry':_0x3b6476(0xa2),'room-full':_0x3b6476(0x9a),'collaboration-timeout':_0x3b6476(0xaa)},'conflict':{'title':_0x3b6476(0xa9),'content':_0x3b6476(0x95)},'permission':{'title':_0x3b6476(0x90),'content':_0x3b6476(0x9e)},'collaboration':{'single-unit':{'warning':_0x3b6476(0x94)},'closeRoom':_0x3b6476(0x99)},'auth':{'needGotoLoginAlert':_0x3b6476(0x91)}};module['exports']=e;
1
+ 'use strict';const _0x453172=_0x5a30;(function(_0xe1867a,_0x4c2e80){const _0x1d1de8=_0x5a30,_0x14ff25=_0xe1867a();while(!![]){try{const _0x58afc3=parseInt(_0x1d1de8(0x1e6))/0x1+-parseInt(_0x1d1de8(0x1e4))/0x2+parseInt(_0x1d1de8(0x1ee))/0x3+parseInt(_0x1d1de8(0x1ec))/0x4*(-parseInt(_0x1d1de8(0x1e2))/0x5)+-parseInt(_0x1d1de8(0x1e7))/0x6*(parseInt(_0x1d1de8(0x1f6))/0x7)+parseInt(_0x1d1de8(0x1e9))/0x8+parseInt(_0x1d1de8(0x1f0))/0x9*(parseInt(_0x1d1de8(0x1e5))/0xa);if(_0x58afc3===_0x4c2e80)break;else _0x14ff25['push'](_0x14ff25['shift']());}catch(_0x3922fd){_0x14ff25['push'](_0x14ff25['shift']());}}}(_0x2162,0x2e51f));const e={'collab-client':{'tooltip':{'reconnect':_0x453172(0x1f4)}},'collabStatus':{'fetchMiss':_0x453172(0x1ed),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x453172(0x1f5),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x453172(0x1f3),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x453172(0x1eb),'collaboration-timeout':_0x453172(0x1ea)},'conflict':{'title':_0x453172(0x1e3),'content':_0x453172(0x1f2)},'permission':{'title':_0x453172(0x1ef),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x453172(0x1f1)},'closeRoom':_0x453172(0x1e8)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x5a30(_0x1cb2da,_0x4e860d){const _0x216246=_0x2162();return _0x5a30=function(_0x5a30e1,_0x5c35b3){_0x5a30e1=_0x5a30e1-0x1e2;let _0x31ce85=_0x216246[_0x5a30e1];return _0x31ce85;},_0x5a30(_0x1cb2da,_0x4e860d);}module['exports']=e;function _0x2162(){const _0x454c7f=['480582tUzYNs','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect','Synced','2643193XzsWWo','2445OdsHyq','Collaboration\x20Conflict','451846MzibyV','40OdgXVK','248807bNssuA','6MHGoDT','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2575032raFjmU','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','2404ZvmxXl','Syncing\x20server\x20data...','908580gFSyFR','Authentication\x20Error'];_0x2162=function(){return _0x454c7f;};return _0x2162();}