@univerjs-pro/collaboration-client-ui 0.6.6 → 0.6.7-experimental.20250328-3aaa828
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -0
- package/lib/index.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +21 -21
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x58f01f=_0x4120;(function(_0x2fd018,_0x41b57e){const _0xe3a124=_0x4120,_0x310bb7=_0x2fd018();while(!![]){try{const _0xd3c68e=parseInt(_0xe3a124(0x1bd))/0x1+parseInt(_0xe3a124(0x1c0))/0x2*(parseInt(_0xe3a124(0x1ba))/0x3)+-parseInt(_0xe3a124(0x1c7))/0x4+-parseInt(_0xe3a124(0x1c1))/0x5*(-parseInt(_0xe3a124(0x1c5))/0x6)+parseInt(_0xe3a124(0x1c3))/0x7+-parseInt(_0xe3a124(0x1c9))/0x8*(parseInt(_0xe3a124(0x1bb))/0x9)+-parseInt(_0xe3a124(0x1bc))/0xa;if(_0xd3c68e===_0x41b57e)break;else _0x310bb7['push'](_0x310bb7['shift']());}catch(_0x4e0036){_0x310bb7['push'](_0x310bb7['shift']());}}}(_0x3388,0x287c6));function _0x3388(){const _0x20aa7c=['203745VkKerY','@univerjs-pro/collaboration-client-ui','273350fWfLzK','_injector','36xEoaWl','FUniver','268008aFAdej','runOnServer','349648AXbWrJ','9wQaqwb','9GxKTSB','5151120zCTQSG','287861GeuOZN','extend','get','146830QTUgZi'];_0x3388=function(){return _0x20aa7c;};return _0x3388();}const t=require(_0x58f01f(0x1c2)),e=require('@univerjs/core/facade');class c extends e[_0x58f01f(0x1c6)]{[_0x58f01f(0x1c8)](_0x5dbd8a,_0x51a22a,..._0x958bd7){const _0x5c0e30=_0x58f01f;return this[_0x5c0e30(0x1c4)][_0x5c0e30(0x1bf)](t['RemoteUniscriptService'])[_0x5c0e30(0x1c8)](_0x5dbd8a,_0x51a22a,{},..._0x958bd7);}}function _0x4120(_0x21506d,_0x5b1784){const _0x3388e2=_0x3388();return _0x4120=function(_0x41208a,_0x363747){_0x41208a=_0x41208a-0x1ba;let _0x52ff22=_0x3388e2[_0x41208a];return _0x52ff22;},_0x4120(_0x21506d,_0x5b1784);}e[_0x58f01f(0x1c6)][_0x58f01f(0x1be)](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 _0x3c1166=_0xc689;(function(_0x311245,_0x4c88d6){const _0x41600f=_0xc689,_0xb3144f=_0x311245();while(!![]){try{const _0x4dfc43=parseInt(_0x41600f(0x271))/0x1+-parseInt(_0x41600f(0x259))/0x2+parseInt(_0x41600f(0x1ec))/0x3*(-parseInt(_0x41600f(0x2aa))/0x4)+-parseInt(_0x41600f(0x28d))/0x5+parseInt(_0x41600f(0x1ac))/0x6+parseInt(_0x41600f(0x1eb))/0x7+parseInt(_0x41600f(0x373))/0x8;if(_0x4dfc43===_0x4c88d6)break;else _0xb3144f['push'](_0xb3144f['shift']());}catch(_0x4a9744){_0xb3144f['push'](_0xb3144f['shift']());}}}(_0xa036,0x27301));var Xe=Object[_0x3c1166(0x3c0)],Ge=(_0x5ab2ad,_0x28212f,_0x302a6e)=>_0x28212f in _0x5ab2ad?Xe(_0x5ab2ad,_0x28212f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x302a6e}):_0x5ab2ad[_0x28212f]=_0x302a6e,h=(_0x280181,_0x36536a,_0x540d1e)=>Ge(_0x280181,typeof _0x36536a!=_0x3c1166(0x38c)?_0x36536a+'':_0x36536a,_0x540d1e);Object[_0x3c1166(0x3c0)](exports,Symbol[_0x3c1166(0x3f1)],{'value':'Module'});function _0xc689(_0x4c0cfa,_0x5dfafc){const _0xa036da=_0xa036();return _0xc689=function(_0xc6899b,_0x45e9b0){_0xc6899b=_0xc6899b-0x1ac;let _0x2cb161=_0xa036da[_0xc6899b];return _0x2cb161;},_0xc689(_0x4c0cfa,_0x5dfafc);}const u=require(_0x3c1166(0x1e2)),a=require(_0x3c1166(0x27d)),p=require('@univerjs/engine-render'),q=require(_0x3c1166(0x1b2)),b=require(_0x3c1166(0x414)),qe=require(_0x3c1166(0x431)),d=require(_0x3c1166(0x1be)),Y=require(_0x3c1166(0x209)),m=require(_0x3c1166(0x216)),Te=require('@univerjs/engine-formula'),g=require(_0x3c1166(0x3f3)),$=require(_0x3c1166(0x269)),G=require(_0x3c1166(0x2e3)),w=require(_0x3c1166(0x3dd)),R=require('@univerjs/ui'),T=require(_0x3c1166(0x306)),M=require(_0x3c1166(0x35e)),Ke=require(_0x3c1166(0x2e8));var ze=Object[_0x3c1166(0x344)],Je=(_0xd7e2a1,_0xa9b5c5,_0x10e96c,_0x267d75)=>{const _0x266237=_0x3c1166;for(var _0x5a7bbd=_0x267d75>0x1?void 0x0:_0x267d75?ze(_0xa9b5c5,_0x10e96c):_0xa9b5c5,_0x11ec9b=_0xd7e2a1[_0x266237(0x43b)]-0x1,_0x5ed647;_0x11ec9b>=0x0;_0x11ec9b--)(_0x5ed647=_0xd7e2a1[_0x11ec9b])&&(_0x5a7bbd=_0x5ed647(_0x5a7bbd)||_0x5a7bbd);return _0x5a7bbd;},Re=(_0x483747,_0x4d03c5)=>(_0x1b56d9,_0x2e5a3f)=>_0x4d03c5(_0x1b56d9,_0x2e5a3f,_0x483747);let fe=class extends a[_0x3c1166(0x235)]{constructor(_0x3c7dd8,_0x149fda){const _0x112a1a=_0x3c1166;super(),this[_0x112a1a(0x43a)]=_0x3c7dd8,this[_0x112a1a(0x2f6)]=_0x149fda,this[_0x112a1a(0x2c5)]();}['_init'](){const _0x48125d=_0x3c1166,_0x4ca1d1=this;this[_0x48125d(0x369)](this[_0x48125d(0x43a)][_0x48125d(0x2e0)]({'onBeforePasteImage':async _0x2f068f=>{const _0x5adf6f=_0x48125d,_0x37c5fd=await _0x4ca1d1[_0x5adf6f(0x2f6)][_0x5adf6f(0x42b)](_0x2f068f);return _0x37c5fd?{'source':_0x37c5fd[_0x5adf6f(0x347)],'imageSourceType':_0x37c5fd[_0x5adf6f(0x1fc)]}:null;}}));}};fe=Je([Re(0x0,b[_0x3c1166(0x1fe)]),Re(0x1,qe[_0x3c1166(0x28a)])],fe);const Oe=[_0x3c1166(0x24f),_0x3c1166(0x3e9),_0x3c1166(0x236),'red300',_0x3c1166(0x320),_0x3c1166(0x352)];class Ce extends a['Disposable']{constructor(){const _0x55deb0=_0x3c1166;super(...arguments),h(this,_0x55deb0(0x340),new Map()),h(this,'_colorIndex',0x0);}[_0x3c1166(0x2a6)](_0x10cb1f){const _0x3d1867=_0x3c1166;if(this[_0x3d1867(0x340)]['has'](_0x10cb1f))return this['_assignedColors'][_0x3d1867(0x309)](_0x10cb1f);const _0x259a0d=Oe[this[_0x3d1867(0x331)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Oe[_0x3d1867(0x43b)],this[_0x3d1867(0x340)]['set'](_0x10cb1f,_0x259a0d),_0x259a0d;}}function Le(_0x172e37){const _0x463892=_0x3c1166;let _0xb784f2='';for(const _0x175659 of _0x172e37){const {startOffset:_0x52f2bc,endOffset:_0x2eeadf,isActive:_0x53e230,rangeType:_0x17e29f,segmentId:_0x17a5ec,segmentPage:_0x460d57}=_0x175659;_0xb784f2[_0x463892(0x43b)]&&(_0xb784f2+=','),_0xb784f2+=_0x52f2bc+':'+_0x2eeadf+':'+(_0x53e230?'1':'0')+':'+_0x17e29f+':'+_0x17a5ec+':'+_0x460d57;}return _0xb784f2;}function Ze(_0xb74fbe){const _0x3bfb93=_0x3c1166,_0x2939aa=_0xb74fbe[_0x3bfb93(0x413)](','),_0x239c6e=[];for(const _0x4b4b0b of _0x2939aa){const [_0x5be7f4,_0x3768cc,_0x3c586c,_0x5372ec,_0x562156,_0x32a19c]=_0x4b4b0b[_0x3bfb93(0x413)](':');_0x239c6e[_0x3bfb93(0x418)]({'startOffset':Number(_0x5be7f4),'endOffset':Number(_0x3768cc),'collapsed':_0x5be7f4===_0x3768cc,'isActive':_0x3c586c==='1','rangeType':_0x5372ec===a[_0x3bfb93(0x2de)][_0x3bfb93(0x21e)]?a[_0x3bfb93(0x2de)][_0x3bfb93(0x21e)]:a[_0x3bfb93(0x2de)][_0x3bfb93(0x237)],'segmentId':typeof _0x562156=='string'?String(_0x562156):'','segmentPage':Number(_0x32a19c!=null?_0x32a19c:-0x1)});}return _0x239c6e['some'](_0x4b3152=>_0x4b3152[_0x3bfb93(0x346)])||(_0x239c6e[0x0]['isActive']=!0x0),_0x239c6e;}class pe extends a[_0x3c1166(0x235)]{constructor(){const _0x496814=_0x3c1166;super(...arguments),h(this,_0x496814(0x249),new d[(_0x496814(0x401))](null)),h(this,_0x496814(0x407),this['_collabCursorState$'][_0x496814(0x3af)]());}[_0x3c1166(0x2b2)](_0x162a29){const _0x267f29=_0x3c1166,{unitID:_0x2268cd,memberID:_0x8bc1d5,textRanges:_0x2047ce}=_0x162a29,_0x4759dd=Le(_0x2047ce);if(_0x4759dd==='')return;const _0x5590c3={'unitID':_0x2268cd,'memberID':_0x8bc1d5,'selection':_0x4759dd};this[_0x267f29(0x249)][_0x267f29(0x310)](_0x5590c3);}}var Qe=Object['getOwnPropertyDescriptor'],et=(_0x4dccfa,_0x3abb2c,_0x4026cc,_0xd5bd32)=>{const _0x7a469d=_0x3c1166;for(var _0x170ded=_0xd5bd32>0x1?void 0x0:_0xd5bd32?Qe(_0x3abb2c,_0x4026cc):_0x3abb2c,_0x17b6cd=_0x4dccfa[_0x7a469d(0x43b)]-0x1,_0x6f63d3;_0x17b6cd>=0x0;_0x17b6cd--)(_0x6f63d3=_0x4dccfa[_0x17b6cd])&&(_0x170ded=_0x6f63d3(_0x170ded)||_0x170ded);return _0x170ded;},P=(_0x4a50c3,_0x258ddd)=>(_0x38670e,_0x5e8e59)=>_0x258ddd(_0x38670e,_0x5e8e59,_0x4a50c3);const tt=0x12c,st=0x64;let Se=class extends a[_0x3c1166(0x235)]{constructor(_0x5c09f0,_0x19f2ec,_0x54d6b8,_0x129e0c,_0x367d7f,_0x3107b1,_0x1e199c,_0x38265d,_0x3b1df2){const _0x13dc8d=_0x3c1166;super(),h(this,_0x13dc8d(0x25c),!0x1),h(this,_0x13dc8d(0x2c5),!0x1),h(this,'_cursorInfo$',new d[(_0x13dc8d(0x401))](new Map())),h(this,'cursorInfo$',this[_0x13dc8d(0x1e5)][_0x13dc8d(0x3af)]()),h(this,_0x13dc8d(0x2af),new d[(_0x13dc8d(0x401))]([])),h(this,'roomMembers$',this[_0x13dc8d(0x2af)][_0x13dc8d(0x298)](d['debounceTime'](tt))),h(this,_0x13dc8d(0x384),a[_0x13dc8d(0x43c)](_0x2370a9=>{const _0x519bbd=_0x13dc8d,_0x5b9315={'eventID':m[_0x519bbd(0x353)][_0x519bbd(0x24d)],'data':{'unitID':this[_0x519bbd(0x205)],'memberID':this[_0x519bbd(0x37c)][_0x519bbd(0x1bc)](),'selection':Le(_0x2370a9)}};this[_0x519bbd(0x37c)]['send'](_0x5b9315,this[_0x519bbd(0x205)]);},st)),(this['unitID']=_0x5c09f0,this[_0x13dc8d(0x37c)]=_0x19f2ec,this['_injector']=_0x54d6b8,this['_colorAssignService']=_0x129e0c,this[_0x13dc8d(0x268)]=_0x367d7f,this[_0x13dc8d(0x226)]=_0x3107b1,this[_0x13dc8d(0x3d7)]=_0x1e199c,this['_univerInstanceService']=_0x38265d,this[_0x13dc8d(0x41a)]=_0x3b1df2);}get[_0x3c1166(0x338)](){const _0x15c8b2=_0x3c1166;return this[_0x15c8b2(0x1e5)][_0x15c8b2(0x349)]();}get['roomMembers'](){const _0x3a504=_0x3c1166;return this[_0x3a504(0x2af)][_0x3a504(0x349)]();}[_0x3c1166(0x218)](){const _0x561462=_0x3c1166;super[_0x561462(0x218)](),this[_0x561462(0x1e5)][_0x561462(0x310)](new Map()),this[_0x561462(0x1e5)][_0x561462(0x426)](),this[_0x561462(0x2af)][_0x561462(0x310)]([]),this[_0x561462(0x2af)][_0x561462(0x426)]();}[_0x3c1166(0x2c9)](){const _0x15db05=_0x3c1166;this[_0x15db05(0x2c5)]||(this[_0x15db05(0x2c5)]=!0x0,this[_0x15db05(0x37c)][_0x15db05(0x409)][_0x15db05(0x298)](d['takeUntil'](this['dispose$']))[_0x15db05(0x1f3)](_0x44d0cb=>{const _0x266b81=_0x15db05;_0x44d0cb===u[_0x266b81(0x3c1)][_0x266b81(0x2cb)]?this[_0x266b81(0x429)]():this[_0x266b81(0x3ad)]();}),this['_session'][_0x15db05(0x23a)][_0x15db05(0x298)](d[_0x15db05(0x41f)](this['dispose$']))[_0x15db05(0x1f3)](_0x391614=>{const _0x2a542d=_0x15db05,_0xc46ac9=_0x391614[_0x2a542d(0x3bf)];_0xc46ac9===m[_0x2a542d(0x353)][_0x2a542d(0x24d)]&&this[_0x2a542d(0x38f)](_0x391614),_0xc46ac9===m[_0x2a542d(0x353)][_0x2a542d(0x1bb)]&&this[_0x2a542d(0x315)](_0x391614);}),this[_0x15db05(0x369)](this['_commandService'][_0x15db05(0x2a5)](_0x17af9a=>{const _0x5f4d79=_0x15db05,_0x31c22d=_0x17af9a[_0x5f4d79(0x2fa)];_0x31c22d!=null&&this['_online']&&_0x17af9a['id']===Y['SetTextSelectionsOperation']['id']&&_0x31c22d[_0x5f4d79(0x3b0)]===this[_0x5f4d79(0x205)]&&_0x31c22d['isEditing']===!0x1&&_0x31c22d[_0x5f4d79(0x3a2)][_0x5f4d79(0x43b)]>0x0&&this[_0x5f4d79(0x384)](_0x31c22d[_0x5f4d79(0x3a2)]);})),this[_0x15db05(0x226)][_0x15db05(0x407)][_0x15db05(0x298)](d['takeUntil'](this[_0x15db05(0x256)]))[_0x15db05(0x1f3)](_0x177fee=>{const _0x426abd=_0x15db05;if((_0x177fee==null?void 0x0:_0x177fee[_0x426abd(0x205)])!==this[_0x426abd(0x205)])return;const _0x17a905={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x177fee};this[_0x426abd(0x38f)](_0x17a905);}),this[_0x15db05(0x369)](this['_commandService'][_0x15db05(0x2a5)](_0x14f0c0=>{const _0x139d65=_0x15db05;if(_0x14f0c0['params']==null)return;const _0x22899b=_0x14f0c0[_0x139d65(0x2fa)];if(_0x14f0c0['id']!==Y[_0x139d65(0x39b)]['id']||_0x22899b[_0x139d65(0x3b0)]!==this[_0x139d65(0x205)])return;const _0x1765a6={'id':_0x139d65(0x40e),'params':_0x22899b},_0x24275d=this[_0x139d65(0x338)];for(const [_0x5d83d0,_0x14374e]of _0x24275d){const _0x54df2a={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x14374e[_0x139d65(0x3a2)]}},_0x1e2e3a=this['_transformService'][_0x139d65(0x303)](_0x1765a6,_0x54df2a,!0x1);if(m[_0x139d65(0x202)](_0x1e2e3a))throw _0x1e2e3a[_0x139d65(0x324)];_0x24275d['set'](_0x5d83d0,{..._0x14374e,'ranges':_0x1e2e3a[_0x139d65(0x242)][_0x139d65(0x2fa)][_0x139d65(0x297)]});}queueMicrotask(()=>{const _0x586526=_0x139d65;this[_0x586526(0x1e5)][_0x586526(0x310)](_0x24275d);});})));}[_0x3c1166(0x38f)](_0x515355){const _0x65c2e5=_0x3c1166;var _0x1c9b57,_0x26ed7b;const {memberID:_0x1c238b,selection:_0x56ebe7}=_0x515355['data'],_0x4b89ef=Ze(_0x56ebe7),_0x2a64e9=(_0x26ed7b=(_0x1c9b57=this['_memberService']['getMember'](this['unitID'],_0x1c238b))==null?void 0x0:_0x1c9b57[_0x65c2e5(0x30e)])!=null?_0x26ed7b:_0x65c2e5(0x370),_0x8fb5bb={'color':this[_0x65c2e5(0x1ee)][_0x65c2e5(0x2a6)](_0x1c238b),'name':_0x2a64e9,'ranges':_0x4b89ef},_0x21abd6=this[_0x65c2e5(0x338)];_0x21abd6[_0x65c2e5(0x427)](_0x1c238b,_0x8fb5bb),this[_0x65c2e5(0x1e5)]['next'](_0x21abd6);}['_onCursorDelete'](_0x1b64bc){const _0x1f9fb8=_0x3c1166,{memberID:_0x297271}=_0x1b64bc[_0x1f9fb8(0x3ff)],_0x49d886=this[_0x1f9fb8(0x338)];_0x49d886[_0x1f9fb8(0x2d5)](_0x297271),this['_cursorInfo$'][_0x1f9fb8(0x310)](_0x49d886);}['_toggleOnline'](){const _0x1e1f07=_0x3c1166;var _0x10e539;if(this['_online']=!0x0,((_0x10e539=this[_0x1e1f07(0x3b6)][_0x1e1f07(0x3be)]())==null?void 0x0:_0x10e539['getUnitId']())!==this[_0x1e1f07(0x205)])return;const _0x511dae=this['_injector']['get'](Y[_0x1e1f07(0x21c)])['getDocRanges']();Array[_0x1e1f07(0x333)](_0x511dae)&&_0x511dae['length']>0x0&&this[_0x1e1f07(0x384)](_0x511dae);}[_0x3c1166(0x3ad)](){const _0x1ccee0=_0x3c1166;this[_0x1ccee0(0x25c)]=!0x1;}};Se=et([P(0x2,a[_0x3c1166(0x238)](a['Injector'])),P(0x3,a['Inject'](Ce)),P(0x4,a[_0x3c1166(0x238)](u['MemberService'])),P(0x5,a[_0x3c1166(0x238)](pe)),P(0x6,m[_0x3c1166(0x3f5)]),P(0x7,a[_0x3c1166(0x3ba)]),P(0x8,a[_0x3c1166(0x206)])],Se);var nt=Object[_0x3c1166(0x344)],it=(_0x4d9be7,_0x55a9ac,_0x5595c9,_0x2d5e6b)=>{for(var _0x37b47d=_0x2d5e6b>0x1?void 0x0:_0x2d5e6b?nt(_0x55a9ac,_0x5595c9):_0x55a9ac,_0x33d487=_0x4d9be7['length']-0x1,_0x396855;_0x33d487>=0x0;_0x33d487--)(_0x396855=_0x4d9be7[_0x33d487])&&(_0x37b47d=_0x396855(_0x37b47d)||_0x37b47d);return _0x37b47d;},A=(_0x25e0ec,_0x3c3347)=>(_0x14d37c,_0x451bf1)=>_0x3c3347(_0x14d37c,_0x451bf1,_0x25e0ec);const rt=0x12c,ot=0x64,at=()=>{let _0x29eaf1=[],_0x83c1a6=!0x1;return _0x2a4e00=>{const _0x1da9e1=_0xc689;_0x29eaf1[_0x1da9e1(0x418)](_0x2a4e00),_0x83c1a6||(_0x83c1a6=!0x0,setTimeout(()=>{const _0x302d46=_0x1da9e1;_0x29eaf1[_0x302d46(0x20f)](_0x35fd8f=>_0x35fd8f()),_0x29eaf1=[],_0x83c1a6=!0x1;}));};};let Ie=class extends a[_0x3c1166(0x235)]{constructor(_0x3b617b,_0x4881c6,_0x281c83,_0x105f8f,_0x455fdc,_0x29535a,_0x111bc7,_0x3e0b02){const _0x488d11=_0x3c1166;super(),h(this,'_online',!0x1),h(this,'_init',!0x1),h(this,_0x488d11(0x1e5),new d['BehaviorSubject'](new Map())),h(this,_0x488d11(0x253),this[_0x488d11(0x1e5)]['asObservable']()),h(this,_0x488d11(0x2af),new d['BehaviorSubject']([])),h(this,_0x488d11(0x3f0),this[_0x488d11(0x2af)][_0x488d11(0x298)](d[_0x488d11(0x283)](rt))),h(this,'_updateLocalCursor',a[_0x488d11(0x43c)]((_0x25268f,_0x5b68b2)=>{const _0x190b9b=_0x488d11,_0x516437={'eventID':m[_0x190b9b(0x353)][_0x190b9b(0x24d)],'data':{'unitID':this[_0x190b9b(0x205)],'memberID':this['_session'][_0x190b9b(0x1bc)](),'selection':Te[_0x190b9b(0x367)](_0x25268f,_0x5b68b2['range'])}};this[_0x190b9b(0x37c)]['send'](_0x516437,this['unitID']);},ot)),(this['unitID']=_0x3b617b,this[_0x488d11(0x37c)]=_0x4881c6,this[_0x488d11(0x31a)]=_0x281c83,this['_colorAssignService']=_0x105f8f,this[_0x488d11(0x268)]=_0x455fdc,this['_univerInstanceService']=_0x29535a,this['_commandService']=_0x111bc7,this[_0x488d11(0x375)]=_0x3e0b02);}get[_0x3c1166(0x338)](){const _0x56f847=_0x3c1166;return this[_0x56f847(0x1e5)][_0x56f847(0x349)]();}get[_0x3c1166(0x332)](){const _0x4b2565=_0x3c1166;return this[_0x4b2565(0x2af)][_0x4b2565(0x349)]();}['dispose'](){const _0x2c4325=_0x3c1166;super[_0x2c4325(0x218)](),this[_0x2c4325(0x1e5)][_0x2c4325(0x310)](new Map()),this[_0x2c4325(0x1e5)][_0x2c4325(0x426)](),this[_0x2c4325(0x2af)][_0x2c4325(0x310)]([]),this['_roomMembers$']['complete']();}[_0x3c1166(0x2c9)](){const _0x1659e0=_0x3c1166;this[_0x1659e0(0x2c5)]||(this[_0x1659e0(0x2c5)]=!0x0,this[_0x1659e0(0x37c)][_0x1659e0(0x409)][_0x1659e0(0x298)](d[_0x1659e0(0x41f)](this[_0x1659e0(0x256)]))[_0x1659e0(0x1f3)](_0x96610d=>{const _0x34c198=_0x1659e0;_0x96610d===u[_0x34c198(0x3c1)][_0x34c198(0x2cb)]?this[_0x34c198(0x429)]():this['_toggleOffline']();}),this[_0x1659e0(0x37c)]['event$'][_0x1659e0(0x298)](d[_0x1659e0(0x41f)](this['dispose$']))[_0x1659e0(0x1f3)](_0x11ce91=>{const _0x4d6bce=_0x1659e0,_0x103b72=_0x11ce91[_0x4d6bce(0x3bf)];_0x103b72===m['CollaborationEvent'][_0x4d6bce(0x24d)]&&this[_0x4d6bce(0x38f)](_0x11ce91),_0x103b72===m[_0x4d6bce(0x353)][_0x4d6bce(0x1bb)]&&this[_0x4d6bce(0x315)](_0x11ce91);}),this[_0x1659e0(0x2f9)](),this[_0x1659e0(0x369)](this[_0x1659e0(0x41a)][_0x1659e0(0x2a5)](_0x21306b=>{const _0xe7a317=_0x1659e0;if(this[_0xe7a317(0x25c)]&&_0x21306b['id']===g[_0xe7a317(0x1b6)]['id']&&_0x21306b[_0xe7a317(0x2fa)][_0xe7a317(0x3b0)]===this['unitID']){const _0x4079dc=_0x21306b[_0xe7a317(0x2fa)];this[_0xe7a317(0x384)](_0x4079dc[_0xe7a317(0x307)],_0x4079dc[_0xe7a317(0x28e)][0x0]);}})));}[_0x3c1166(0x38f)](_0x5599c9){const _0x1da4dd=_0x3c1166;var _0x17fbc2,_0x23cedd;const {memberID:_0x2d9b77,selection:_0x53b80}=_0x5599c9['data'],{sheetName:_0x2910b7,range:_0x3853f7}=Te[_0x1da4dd(0x394)](_0x53b80),_0x56eefc={'name':(_0x23cedd=(_0x17fbc2=this[_0x1da4dd(0x268)][_0x1da4dd(0x24c)](this[_0x1da4dd(0x205)],_0x2d9b77))==null?void 0x0:_0x17fbc2[_0x1da4dd(0x30e)])!=null?_0x23cedd:'Unknown\x20user','range':this[_0x1da4dd(0x1d6)](_0x2910b7,_0x3853f7),'sheetID':_0x2910b7,'color':this[_0x1da4dd(0x1ee)][_0x1da4dd(0x2a6)](_0x2d9b77),'selection':_0x53b80},_0x1c5167=this[_0x1da4dd(0x338)];_0x1c5167[_0x1da4dd(0x427)](_0x2d9b77,_0x56eefc),this['_cursorInfo$']['next'](_0x1c5167);}[_0x3c1166(0x315)](_0x5c92f1){const _0xc9b4c5=_0x3c1166,{memberID:_0x151ede}=_0x5c92f1[_0xc9b4c5(0x3ff)],_0x57e804=this[_0xc9b4c5(0x338)];_0x57e804[_0xc9b4c5(0x2d5)](_0x151ede),this[_0xc9b4c5(0x1e5)][_0xc9b4c5(0x310)](_0x57e804);}[_0x3c1166(0x1d6)](_0x5befee,_0x95aa4){const _0x1a727d=_0x3c1166;var _0x2dde13,_0x2fc04e;const _0x3a3ba2=(_0x2fc04e=(_0x2dde13=this[_0x1a727d(0x3b6)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x2dde13['getSheetBySheetId'](_0x5befee))==null?void 0x0:_0x2fc04e['getMergeData']();return(_0x3a3ba2==null?void 0x0:_0x3a3ba2['find'](_0xee715b=>a[_0x1a727d(0x437)][_0x1a727d(0x3e3)](_0xee715b,_0x95aa4)))||_0x95aa4;}[_0x3c1166(0x2f9)](){const _0x5baede=_0x3c1166,_0x5f417a=new a[(_0x5baede(0x357))](),_0x3daafb=at(),_0x13e8e2=()=>{const _0x3dce4c=_0x5baede;_0x5f417a[_0x3dce4c(0x218)]();const _0x1af087=(_0x37f478,_0xe57326,_0x135c55,_0x52ba96)=>{const _0x12a994=_0x3dce4c;let _0x297577=[];switch(_0x37f478['id']){case g[_0x12a994(0x3e1)][_0x12a994(0x2ef)]:{_0x297577=g[_0x12a994(0x1f6)](_0x37f478,_0x52ba96);break;}case g[_0x12a994(0x3e1)][_0x12a994(0x440)]:{_0x297577=g['handleDeleteRangeMoveUp'](_0x37f478,_0x52ba96);break;}case g['EffectRefRangId'][_0x12a994(0x3cb)]:{_0x297577=g[_0x12a994(0x289)](_0x37f478,_0x52ba96);break;}case g['EffectRefRangId'][_0x12a994(0x267)]:{_0x297577=g[_0x12a994(0x2cf)](_0x37f478,_0x52ba96);break;}case g[_0x12a994(0x3e1)][_0x12a994(0x2e7)]:{_0x297577=g[_0x12a994(0x3fd)](_0x37f478,_0x52ba96);break;}case g['EffectRefRangId'][_0x12a994(0x3a8)]:{_0x297577=g[_0x12a994(0x21b)](_0x37f478,_0x52ba96);break;}case g[_0x12a994(0x3e1)][_0x12a994(0x3b3)]:{_0x297577=g[_0x12a994(0x1b9)](_0x37f478,_0x52ba96);break;}case g[_0x12a994(0x3e1)][_0x12a994(0x1bd)]:{_0x297577=g[_0x12a994(0x436)](_0x37f478,_0x52ba96);break;}case g[_0x12a994(0x3e1)]['RemoveRowCommandId']:{_0x297577=g[_0x12a994(0x2d2)](_0x37f478,_0x52ba96);break;}}const _0x123a85=g[_0x12a994(0x280)](_0x297577,_0x52ba96),_0x75ddaf=this['cursorInfo']['get'](_0xe57326);if(_0x75ddaf&&_0x123a85){const _0x230d6={..._0x75ddaf,'range':_0x123a85};this['cursorInfo'][_0x12a994(0x427)](_0xe57326,_0x230d6),_0x3daafb(()=>{const _0x45c543=_0x12a994,_0x55d85f=this[_0x45c543(0x375)][_0x45c543(0x3bb)](_0x123a85,_0x4ae717=>(_0x55d85f[_0x45c543(0x218)](),_0x1af087(_0x4ae717,_0xe57326,_0x135c55,_0x123a85)));_0x5f417a['add'](_0x55d85f);});}return{'redos':[],'undos':[]};};this[_0x3dce4c(0x338)][_0x3dce4c(0x20f)]((_0x50bf2f,_0x2a0f26)=>{const _0xf96992=_0x3dce4c,{range:_0x3e3f98,sheetID:_0x3e3d8a}=_0x50bf2f,_0x5ae97b=this[_0xf96992(0x375)][_0xf96992(0x3bb)](_0x3e3f98,_0x28081d=>(_0x5ae97b[_0xf96992(0x218)](),_0x1af087(_0x28081d,_0x2a0f26,_0x3e3d8a,_0x3e3f98)));_0x5f417a[_0xf96992(0x2d3)](_0x5ae97b);});};this['disposeWithMe'](a['toDisposable'](this[_0x5baede(0x1e5)][_0x5baede(0x1f3)](()=>{_0x13e8e2();})));}[_0x3c1166(0x429)](){const _0x2c7afb=_0x3c1166;var _0x9ba446,_0x326981;if(this[_0x2c7afb(0x25c)]=!0x0,((_0x9ba446=this[_0x2c7afb(0x3b6)][_0x2c7afb(0x3be)]())==null?void 0x0:_0x9ba446[_0x2c7afb(0x3a4)]())!==this[_0x2c7afb(0x205)])return;const _0x1ecba0=(_0x326981=this['_injector'][_0x2c7afb(0x309)](g[_0x2c7afb(0x1bf)])['getCurrentSelections']())==null?void 0x0:_0x326981[0x0],_0x30ead1=this['_univerInstanceService'][_0x2c7afb(0x36d)](a[_0x2c7afb(0x378)][_0x2c7afb(0x27c)])[_0x2c7afb(0x434)]();_0x1ecba0&&_0x30ead1&&this[_0x2c7afb(0x384)](_0x30ead1['getSheetId'](),_0x1ecba0);}[_0x3c1166(0x3ad)](){const _0x543bfd=_0x3c1166;this[_0x543bfd(0x25c)]=!0x1;}};Ie=it([A(0x2,a[_0x3c1166(0x238)](a[_0x3c1166(0x3cd)])),A(0x3,a['Inject'](Ce)),A(0x4,a['Inject'](u[_0x3c1166(0x2ce)])),A(0x5,a['IUniverInstanceService']),A(0x6,a[_0x3c1166(0x206)]),A(0x7,a[_0x3c1166(0x238)](g[_0x3c1166(0x1dd)]))],Ie);var ct=Object[_0x3c1166(0x344)],lt=(_0x3fce59,_0x5c43b8,_0x39491b,_0x1f3eb2)=>{const _0x827d1e=_0x3c1166;for(var _0x19bcb9=_0x1f3eb2>0x1?void 0x0:_0x1f3eb2?ct(_0x5c43b8,_0x39491b):_0x5c43b8,_0x334dec=_0x3fce59[_0x827d1e(0x43b)]-0x1,_0x5ca26a;_0x334dec>=0x0;_0x334dec--)(_0x5ca26a=_0x3fce59[_0x334dec])&&(_0x19bcb9=_0x5ca26a(_0x19bcb9)||_0x19bcb9);return _0x19bcb9;},ie=(_0x7a2105,_0x71279c)=>(_0x621f32,_0x24e735)=>_0x71279c(_0x621f32,_0x24e735,_0x7a2105);let x=class extends a[_0x3c1166(0x235)]{constructor(_0x46320d,_0x1aaebd,_0x7ba6d4){const _0x314229=_0x3c1166;super(),h(this,'_entities',new Map()),h(this,_0x314229(0x246),new d[(_0x314229(0x284))]()),(this[_0x314229(0x3b6)]=_0x46320d,this['_injector']=_0x1aaebd,this[_0x314229(0x2b8)]=_0x7ba6d4,this['_init']());}['dispose'](){const _0x3cb074=_0x3c1166;super[_0x3cb074(0x218)](),this['_entityInit$'][_0x3cb074(0x426)](),this[_0x3cb074(0x2bf)][_0x3cb074(0x20f)](_0x41b82b=>_0x41b82b[_0x3cb074(0x218)]());}['getCollabCursors$'](_0x112fc6){const _0x5c3aa1=_0x3c1166;return this['_entities']['has'](_0x112fc6)?this['_entities'][_0x5c3aa1(0x309)](_0x112fc6)[_0x5c3aa1(0x253)]:this[_0x5c3aa1(0x246)]['pipe'](d[_0x5c3aa1(0x263)](_0x4552fb=>_0x4552fb['unitID']===_0x112fc6),d[_0x5c3aa1(0x312)](_0x3e5993=>_0x3e5993[_0x5c3aa1(0x253)]));}[_0x3c1166(0x2c5)](){const _0x8b7b84=_0x3c1166;this['_univerInstanceService'][_0x8b7b84(0x40d)](a[_0x8b7b84(0x378)][_0x8b7b84(0x27c)])[_0x8b7b84(0x298)](d[_0x8b7b84(0x41f)](this[_0x8b7b84(0x256)]))[_0x8b7b84(0x1f3)](async _0x4c2af1=>{const _0x155e77=_0x8b7b84,_0x50ecdc=_0x4c2af1['getUnitId'](),_0x299019=await this['_startSheetCollabCursor'](_0x50ecdc);this[_0x155e77(0x246)][_0x155e77(0x310)](_0x299019),this[_0x155e77(0x2bf)][_0x155e77(0x427)](_0x50ecdc,_0x299019);}),this[_0x8b7b84(0x3b6)][_0x8b7b84(0x40d)](a['UniverInstanceType'][_0x8b7b84(0x2e6)])[_0x8b7b84(0x298)](d[_0x8b7b84(0x41f)](this[_0x8b7b84(0x256)]))[_0x8b7b84(0x298)](d[_0x8b7b84(0x263)](_0x545945=>!_0x545945[_0x8b7b84(0x3a4)]()[_0x8b7b84(0x3d9)]('__')))['subscribe'](async _0x279827=>{const _0x47af4f=_0x8b7b84,_0x4b1784=_0x279827[_0x47af4f(0x3a4)](),_0xee3d7e=await this[_0x47af4f(0x2e9)](_0x4b1784);this[_0x47af4f(0x246)][_0x47af4f(0x310)](_0xee3d7e),this[_0x47af4f(0x2bf)][_0x47af4f(0x427)](_0x4b1784,_0xee3d7e);}),d[_0x8b7b84(0x24b)](this['_univerInstanceService'][_0x8b7b84(0x3b8)](a[_0x8b7b84(0x378)][_0x8b7b84(0x2e6)]),this[_0x8b7b84(0x3b6)]['getTypeOfUnitDisposed$'](a[_0x8b7b84(0x378)][_0x8b7b84(0x27c)]))[_0x8b7b84(0x298)](d[_0x8b7b84(0x41f)](this[_0x8b7b84(0x256)]))[_0x8b7b84(0x1f3)](_0x1e193d=>{const _0x2820b3=_0x8b7b84,_0x4ce45e=_0x1e193d[_0x2820b3(0x3a4)](),_0x3cf192=this[_0x2820b3(0x2bf)]['get'](_0x4ce45e);_0x3cf192&&(_0x3cf192[_0x2820b3(0x218)](),this[_0x2820b3(0x2bf)][_0x2820b3(0x2d5)](_0x4ce45e));});}async['_startSheetCollabCursor'](_0x5856b6){const _0x1ebffb=_0x3c1166,_0x5501df=await this['_collabSessionService']['requireSession'](_0x5856b6),_0x29eb75=this[_0x1ebffb(0x31a)]['createInstance'](Ie,_0x5856b6,_0x5501df);return _0x29eb75[_0x1ebffb(0x2c9)](),_0x29eb75;}async['_startDocCollabCursor'](_0x4a213f){const _0x4b8e5c=_0x3c1166,_0x490923=await this['_collabSessionService'][_0x4b8e5c(0x35f)](_0x4a213f),_0x1f0c96=this[_0x4b8e5c(0x31a)][_0x4b8e5c(0x3b2)](Se,_0x4a213f,_0x490923);return _0x1f0c96[_0x4b8e5c(0x2c9)](),_0x1f0c96;}};x=lt([ie(0x0,a[_0x3c1166(0x3ba)]),ie(0x1,a['Inject'](a['Injector'])),ie(0x2,a[_0x3c1166(0x238)](u['CollaborationSessionService']))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x20a76f,_0x3f4030){const _0x2f3794=_0x3c1166;let {radius:_0x1c923d,width:_0x549e1d,height:_0xb407c2}=_0x3f4030;_0x1c923d=_0x1c923d!=null?_0x1c923d:0x0,_0x549e1d=_0x549e1d!=null?_0x549e1d:0x1e,_0xb407c2=_0xb407c2!=null?_0xb407c2:0x1e;let _0x551e4b=0x0,_0xaf846a=0x0,_0x4f06ae=0x0;_0x551e4b=_0xaf846a=_0x4f06ae=Math[_0x2f3794(0x255)](_0x1c923d,_0x549e1d/0x2,_0xb407c2/0x2),_0x20a76f[_0x2f3794(0x26b)](),_0x20a76f['moveTo'](_0x551e4b,0x0),_0x20a76f[_0x2f3794(0x302)](_0x549e1d-_0xaf846a,0x0),_0x20a76f[_0x2f3794(0x39e)](_0x549e1d-_0xaf846a,_0xaf846a,_0xaf846a,Math['PI']*0x3/0x2,0x0,!0x1),_0x20a76f[_0x2f3794(0x302)](_0x549e1d,_0xb407c2-_0x4f06ae),_0x20a76f[_0x2f3794(0x39e)](_0x549e1d-_0x4f06ae,_0xb407c2-_0x4f06ae,_0x4f06ae,0x0,Math['PI']/0x2,!0x1),_0x20a76f[_0x2f3794(0x302)](0x0,_0xb407c2),_0x20a76f[_0x2f3794(0x302)](0x0,_0x551e4b),_0x20a76f[_0x2f3794(0x39e)](_0x551e4b,_0x551e4b,_0x551e4b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20a76f[_0x2f3794(0x3e8)](),_0x3f4030[_0x2f3794(0x3c7)]&&(_0x20a76f[_0x2f3794(0x21f)](),_0x20a76f[_0x2f3794(0x345)]=_0x3f4030[_0x2f3794(0x3c7)],_0x3f4030['fillRule']==='evenodd'?_0x20a76f[_0x2f3794(0x3c7)](_0x2f3794(0x36c)):_0x20a76f[_0x2f3794(0x3c7)](),_0x20a76f[_0x2f3794(0x2ed)]());}class te extends p['Shape']{constructor(_0x5d510b,_0xe9da06){const _0x4940ba=_0x3c1166;super(_0x5d510b,_0xe9da06),h(this,_0x4940ba(0x341)),h(this,'text'),(this[_0x4940ba(0x341)]=_0xe9da06==null?void 0x0:_0xe9da06[_0x4940ba(0x341)],this[_0x4940ba(0x3f8)]=_0xe9da06==null?void 0x0:_0xe9da06['text']);}static['drawWith'](_0x3c3826,_0x1c4323){const _0x507b02=_0x3c1166,{text:_0x1225e3,color:_0x353810}=_0x1c4323;_0x3c3826[_0x507b02(0x21f)](),_0x3c3826[_0x507b02(0x204)]=_0x507b02(0x3e0);const _0x18bdf0=_0x3c3826[_0x507b02(0x348)](_0x1225e3)[_0x507b02(0x1c7)],_0x2c8b30=Math[_0x507b02(0x255)](_0x18bdf0+0x2*re,De);_t(_0x3c3826,{'height':K,'radius':0x4,'width':_0x2c8b30,'fill':_0x353810}),_0x3c3826['fillStyle']='#FFF';const _0x2d2741=re,_0x5ade0c=K-ht,_0x194dc7=De-0x2*re;if(_0x18bdf0>_0x194dc7){let _0x58e4a5='',_0xa62977=0x0;for(const _0x2bf738 of _0x1225e3){const _0x56743b=_0x3c3826[_0x507b02(0x348)](_0x2bf738)[_0x507b02(0x1c7)];if(_0xa62977+_0x56743b<=_0x194dc7-_0x3c3826[_0x507b02(0x348)]('...')['width'])_0x58e4a5+=_0x2bf738,_0xa62977+=_0x56743b;else{_0x58e4a5+=_0x507b02(0x223);break;}}_0x3c3826['fillText'](_0x58e4a5,_0x2d2741,_0x5ade0c);}else _0x3c3826[_0x507b02(0x29e)](_0x1225e3,_0x2d2741,_0x5ade0c);_0x3c3826[_0x507b02(0x2ed)]();}[_0x3c1166(0x37e)](_0x2e8a9c){te['drawWith'](_0x2e8a9c,this);}}const oe='collab-text-anchor-',ut=_0x3c1166(0x3ac),dt=_0x3c1166(0x2f7),B=0x6,ft=1.5,ae=0x4,St=1.5,It=_0x3c1166(0x3d2);class Ue{constructor(_0x3b7ec1,_0x150a51,_0x48d373,_0x594929){const _0x2bd757=_0x3c1166;h(this,_0x2bd757(0x2c0),[]),h(this,_0x2bd757(0x243),null),h(this,_0x2bd757(0x2d6),null),h(this,_0x2bd757(0x2ad),null),h(this,_0x2bd757(0x322),null),h(this,'_eventUnsubscribe',null),(this[_0x2bd757(0x390)]=_0x3b7ec1,this[_0x2bd757(0x22c)]=_0x150a51,this[_0x2bd757(0x36a)]=_0x48d373,this[_0x2bd757(0x26a)]=_0x594929,this[_0x2bd757(0x1d1)]());}set[_0x3c1166(0x2d0)](_0x2c0b45){const _0x2d3f02=_0x3c1166;_0x2c0b45?(this[_0x2d3f02(0x2ad)]&&this[_0x2d3f02(0x2ad)][_0x2d3f02(0x2a8)](),this['_textBubble']&&this[_0x2d3f02(0x2d6)][_0x2d3f02(0x2cd)]()):(this['_anchorDot']&&this['_anchorDot'][_0x2d3f02(0x2cd)](),this['_textBubble']&&this[_0x2d3f02(0x2d6)]['hide']());}[_0x3c1166(0x218)](){const _0x34793f=_0x3c1166;for(const _0x3f6d77 of this[_0x34793f(0x2c0)])_0x3f6d77[_0x34793f(0x218)]();this['_textBubble']&&this[_0x34793f(0x2d6)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x34793f(0x218)](),this[_0x34793f(0x243)]&&this[_0x34793f(0x243)][_0x34793f(0x218)](),this[_0x34793f(0x308)]&&this[_0x34793f(0x308)]();}[_0x3c1166(0x1d1)](){const _0x4efe9d=_0x3c1166;var _0x2af09b;const {_docSkeleton:_0x2bcc1a,_document:_0x5c673e}=this,{color:_0x265e6d,name:_0x21786b,ranges:_0x5b7a20}=this[_0x4efe9d(0x390)],_0x5c1069=_0x5c673e[_0x4efe9d(0x217)](),{docsLeft:_0x4847d8,docsTop:_0x4cc1de}=_0x5c1069,_0x3c98a6=new b['NodePositionConvertToCursor'](_0x5c1069,_0x2bcc1a);for(const {startOffset:_0x2a0ea1,endOffset:_0x4e1ed2,rangeType:_0x2423a9,segmentId:_0x291a57,segmentPage:_0x11cd5f,collapsed:_0x1cc6e9,isActive:_0x22935a}of _0x5b7a20){const _0x40959b=_0x2bcc1a[_0x4efe9d(0x2c4)](_0x2a0ea1,!0x0,_0x291a57,_0x11cd5f);let _0x266c51=_0x2bcc1a[_0x4efe9d(0x2c4)](_0x4e1ed2,!0x0,_0x291a57,_0x11cd5f);if(_0x266c51==null&&(_0x266c51=_0x2bcc1a['findNodePositionByCharIndex'](_0x4e1ed2-0x1,!0x1,_0x291a57,_0x11cd5f)),_0x22935a){const {contentBoxPointGroup:_0x15eb7d}=_0x3c98a6['getRangePointData'](_0x266c51,_0x266c51);if(_0x15eb7d['length']===0x0)continue;this[_0x4efe9d(0x406)](_0x265e6d,_0x15eb7d,_0x4847d8,_0x4cc1de,_0x21786b),this['_eventUnsubscribe']=this[_0x4efe9d(0x1ce)]();}if(_0x40959b&&_0x266c51){if(_0x2423a9===a[_0x4efe9d(0x2de)][_0x4efe9d(0x237)]){const _0x1ae7bb=new b[(_0x4efe9d(0x31c))](_0x5c1069,_0x2bcc1a),{pointGroup:_0x58812b}=(_0x2af09b=_0x1ae7bb[_0x4efe9d(0x292)](_0x40959b,_0x266c51))!=null?_0x2af09b:{};if(_0x58812b==null||_0x58812b[_0x4efe9d(0x43b)]===0x0)continue;this[_0x4efe9d(0x29a)](_0x265e6d,_0x58812b,_0x4847d8,_0x4cc1de);}else{if(!_0x1cc6e9){const {borderBoxPointGroup:_0x26ab6b}=_0x3c98a6[_0x4efe9d(0x292)](_0x40959b,_0x266c51);if(_0x26ab6b[_0x4efe9d(0x43b)]===0x0)continue;this[_0x4efe9d(0x1ae)](_0x265e6d,_0x26ab6b,_0x4847d8,_0x4cc1de);}}}}}[_0x3c1166(0x406)](_0x3cd547,_0x4291e8,_0x16e9a1,_0x1cf45d,_0x1a86be){const _0x405c32=_0x3c1166,_0x2eaa81=this['_getAnchorBounding'](_0x4291e8),{left:_0x42e302,top:_0x14a4d7,height:_0x3d571d}=_0x2eaa81,_0x16643c=this[_0x405c32(0x395)](),_0x5501bc=St/_0x16643c,_0x503085=new p[(_0x405c32(0x362))](oe+a[_0x405c32(0x37a)][_0x405c32(0x402)](B),{'left':_0x42e302+_0x16e9a1-_0x5501bc,'top':_0x14a4d7+_0x1cf45d,'height':_0x3d571d,'width':ft,'fill':_0x3cd547||p['getColor'](a[_0x405c32(0x29d)][_0x405c32(0x317)],0x0),'strokeWidth':_0x5501bc,'stroke':It,'evented':!0x0});this['_anchor']=_0x503085,this[_0x405c32(0x22c)][_0x405c32(0x1fb)](_0x503085,b[_0x405c32(0x2f4)]);const _0x1cf1a8=new p[(_0x405c32(0x362))](oe+a[_0x405c32(0x37a)][_0x405c32(0x402)](B),{'left':_0x42e302+_0x16e9a1-_0x5501bc,'top':_0x14a4d7+_0x1cf45d-ae/0x2,'height':ae,'width':ae,'fill':_0x3cd547||p[_0x405c32(0x229)](a[_0x405c32(0x29d)][_0x405c32(0x317)],0x0),'strokeWidth':0x0,'stroke':_0x3cd547||p[_0x405c32(0x229)](a['COLORS'][_0x405c32(0x317)],0x0),'evented':!0x1});this[_0x405c32(0x2ad)]=_0x1cf1a8,this['_scene'][_0x405c32(0x1fb)](_0x1cf1a8,b[_0x405c32(0x2f4)]);const _0x257e1a=new te(oe+a[_0x405c32(0x37a)][_0x405c32(0x402)](B),{'left':_0x42e302+_0x16e9a1-_0x5501bc,'top':_0x14a4d7+_0x1cf45d-K,'text':_0x1a86be,'color':_0x3cd547});this[_0x405c32(0x2d6)]=_0x257e1a,this['_scene'][_0x405c32(0x1fb)](_0x257e1a,b['TEXT_RANGE_LAYER_INDEX']),this[_0x405c32(0x2d0)]=!0x1;}[_0x3c1166(0x1ce)](){const _0x4a2204=_0x3c1166,_0xbbd141=this['_anchor']['onPointerEnter$'][_0x4a2204(0x25a)](()=>{const _0x56ba6c=_0x4a2204;this[_0x56ba6c(0x2d0)]=!0x0;}),_0x10ba24=this[_0x4a2204(0x243)][_0x4a2204(0x396)][_0x4a2204(0x25a)](()=>{const _0x5f1539=_0x4a2204;this[_0x5f1539(0x322)]&&clearTimeout(this['_hideTimer']),this[_0x5f1539(0x322)]=setTimeout(()=>{const _0x536407=_0x5f1539;this[_0x536407(0x2d0)]=!0x1;},0x7d0);});return()=>{const _0x4a15af=_0x4a2204;_0xbbd141[_0x4a15af(0x25b)](),_0x10ba24[_0x4a15af(0x25b)]();};}['_drawTextRange'](_0x2eb3fc,_0x5566fd,_0x2611f9,_0x2d4dba){const _0x206e6d=_0x3c1166,_0x1201e0=new a['ColorKit'](_0x2eb3fc)[_0x206e6d(0x1f9)](0.2)[_0x206e6d(0x419)](),_0x283697=new p[(_0x206e6d(0x2f8))](ut+a[_0x206e6d(0x37a)]['generateRandomId'](B),{'pointsGroup':_0x5566fd,'fill':_0x1201e0||p['getColor'](a[_0x206e6d(0x29d)][_0x206e6d(0x317)],0.2),'left':_0x2611f9,'top':_0x2d4dba,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x206e6d(0x2c0)][_0x206e6d(0x418)](_0x283697),this['_scene'][_0x206e6d(0x1fb)](_0x283697,b[_0x206e6d(0x2f4)]);}[_0x3c1166(0x29a)](_0x454666,_0xe38cda,_0x229d37,_0x35ef3f){const _0x413ad4=_0x3c1166,_0x536166=new a[(_0x413ad4(0x2b4))](_0x454666)[_0x413ad4(0x1f9)](0.2)[_0x413ad4(0x419)](),_0x17abd7=new p[(_0x413ad4(0x2f8))](dt+a[_0x413ad4(0x37a)]['generateRandomId'](B),{'pointsGroup':_0xe38cda,'fill':_0x536166||p[_0x413ad4(0x229)](a[_0x413ad4(0x29d)][_0x413ad4(0x317)],0.2),'left':_0x229d37,'top':_0x35ef3f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x413ad4(0x2c0)]['push'](_0x17abd7),this[_0x413ad4(0x22c)][_0x413ad4(0x1fb)](_0x17abd7,b[_0x413ad4(0x2f4)]);}[_0x3c1166(0x3ef)](_0x218de1){const _0x4446cd=_0x218de1[0x0],_0x499f0f=_0x4446cd[0x0],_0x3dad48=_0x4446cd[0x2],{x:_0x3bdba6,y:_0x1dfa0b}=_0x499f0f,{x:_0x1d37d4,y:_0x2c0064}=_0x3dad48;return{'left':_0x3bdba6,'top':_0x1dfa0b,'width':_0x1d37d4-_0x3bdba6,'height':_0x2c0064-_0x1dfa0b};}[_0x3c1166(0x395)](){const _0x2a0432=_0x3c1166,{scaleX:_0x52af47,scaleY:_0x142a94}=this[_0x2a0432(0x22c)][_0x2a0432(0x2b7)]();return Math[_0x2a0432(0x2e1)](_0x52af47,_0x142a94);}}var vt=Object[_0x3c1166(0x344)],gt=(_0x14c47e,_0x487726,_0x486549,_0x177de6)=>{const _0x48bd37=_0x3c1166;for(var _0x416e37=_0x177de6>0x1?void 0x0:_0x177de6?vt(_0x487726,_0x486549):_0x487726,_0x5accaa=_0x14c47e[_0x48bd37(0x43b)]-0x1,_0x4c5256;_0x5accaa>=0x0;_0x5accaa--)(_0x4c5256=_0x14c47e[_0x5accaa])&&(_0x416e37=_0x4c5256(_0x416e37)||_0x416e37);return _0x416e37;},V=(_0x3e5402,_0x4a1df0)=>(_0x47a7bf,_0x117d0d)=>_0x4a1df0(_0x47a7bf,_0x117d0d,_0x3e5402);let ve=class extends a[_0x3c1166(0x235)]{constructor(_0x2fe2f8,_0x315b97,_0x50b12f,_0xa2a673,_0x214ddd){const _0x1c9bb3=_0x3c1166;super(),h(this,_0x1c9bb3(0x275),[]),h(this,_0x1c9bb3(0x20c),[]),(this[_0x1c9bb3(0x376)]=_0x2fe2f8,this[_0x1c9bb3(0x428)]=_0x315b97,this[_0x1c9bb3(0x39c)]=_0x50b12f,this[_0x1c9bb3(0x41a)]=_0xa2a673,this[_0x1c9bb3(0x211)]=_0x214ddd,this[_0x1c9bb3(0x2c5)]());}[_0x3c1166(0x2c5)](){const _0x525e3b=_0x3c1166,_0x5ddec3=this['_context'][_0x525e3b(0x3b0)],_0x1b7b6=this[_0x525e3b(0x428)];this[_0x525e3b(0x369)](d[_0x525e3b(0x214)]([this[_0x525e3b(0x39c)][_0x525e3b(0x1e4)](_0x5ddec3),this['_themeService'][_0x525e3b(0x228)]])[_0x525e3b(0x298)]($[_0x525e3b(0x36e)](([_0x4d0161,_0x347d67])=>({'skeleton':_0x1b7b6[_0x525e3b(0x31e)](),'cursors':[..._0x4d0161[_0x525e3b(0x41c)]()][_0x525e3b(0x301)](_0x1d2bc0=>({..._0x1d2bc0,'color':_0x347d67[_0x1d2bc0[_0x525e3b(0x341)]]}))})))[_0x525e3b(0x1f3)](_0x40398c=>{if(this['_removeCollabCursors'](),_0x40398c){const {skeleton:_0x588171,cursors:_0xbcdca8}=_0x40398c;this['_updateCollabCursors'](_0x588171,_0xbcdca8);}})),this[_0x525e3b(0x2fe)](),this['_initCommandExecutedListener']();}[_0x3c1166(0x351)](_0x39dfa8,_0xfcabdf){const _0x465fe=_0x3c1166,{scene:_0x4dec00,mainComponent:_0x42e748}=this[_0x465fe(0x376)],_0x181edf=_0xfcabdf[_0x465fe(0x36e)](_0x33e91c=>new Ue(_0x33e91c,_0x4dec00,_0x39dfa8,_0x42e748));this['_cursorShapes']=_0x181edf,this[_0x465fe(0x20c)]=_0xfcabdf;}['_refreshCollabCursors'](){const _0x3184cf=_0x3c1166;this[_0x3184cf(0x1cf)]();const {scene:_0x3356c6,mainComponent:_0x30236d}=this[_0x3184cf(0x376)],_0x32e94b=this[_0x3184cf(0x428)][_0x3184cf(0x31e)](),_0x11d02a=this[_0x3184cf(0x20c)][_0x3184cf(0x36e)](_0x5a9c87=>new Ue(_0x5a9c87,_0x3356c6,_0x32e94b,_0x30236d));this[_0x3184cf(0x275)]=_0x11d02a;}['_removeCollabCursors'](){const _0x4a952b=_0x3c1166;this[_0x4a952b(0x275)][_0x4a952b(0x20f)](_0xb067f3=>_0xb067f3['dispose']()),this['_cursorShapes']=[];}[_0x3c1166(0x20e)](){const _0x5ceb57=_0x3c1166,_0x25b474=[b['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x5ceb57(0x41a)][_0x5ceb57(0x2a5)](_0x1f443a=>{const _0x4e50ec=_0x5ceb57;_0x25b474[_0x4e50ec(0x3d5)](_0x1f443a['id'])&&_0x1f443a['params'][_0x4e50ec(0x3b0)]===this[_0x4e50ec(0x376)][_0x4e50ec(0x3b0)]&&this[_0x4e50ec(0x423)]();}));}[_0x3c1166(0x2fe)](){const _0x576adb=_0x3c1166;this[_0x576adb(0x369)](a[_0x576adb(0x444)](this['_context'][_0x576adb(0x405)][_0x576adb(0x37f)])[_0x576adb(0x298)]($[_0x576adb(0x263)](_0x363d1f=>_0x363d1f[_0x576adb(0x40a)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x576adb(0x281)]),$[_0x576adb(0x2ba)](0x10))[_0x576adb(0x1f3)](()=>{this['_refreshCollabCursors']();}));}};ve=gt([V(0x1,a[_0x3c1166(0x238)](Y[_0x3c1166(0x1c2)])),V(0x2,a[_0x3c1166(0x238)](x)),V(0x3,a[_0x3c1166(0x206)]),V(0x4,a[_0x3c1166(0x238)](a[_0x3c1166(0x3d4)]))],ve);const mt=0x1,Ct=1.5;class Ae extends p[_0x3c1166(0x3d8)]{constructor(_0x189be6,_0x30a445){const _0xc515c5=_0x3c1166;super(_0x189be6,_0x30a445),h(this,'_color'),h(this,_0xc515c5(0x311),!0x1),h(this,_0xc515c5(0x2c2)),h(this,'_name',''),h(this,_0xc515c5(0x33d),_0xc515c5(0x32c)),h(this,_0xc515c5(0x2ff)),(_0x30a445&&this[_0xc515c5(0x34f)](_0x30a445),this[_0xc515c5(0x33c)][_0xc515c5(0x25a)](()=>this[_0xc515c5(0x34f)]({'hovered':!0x0})),this[_0xc515c5(0x396)][_0xc515c5(0x25a)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3c1166(0x34f)](_0x369836){const _0x253239=_0x3c1166;var _0x52d802,_0x43183b,_0x59c4c8,_0x2624ec,_0x253efd,_0x47c0ee;this[_0x253239(0x1e8)]=(_0x52d802=_0x369836[_0x253239(0x341)])!=null?_0x52d802:this[_0x253239(0x1e8)],this['_hovered']=(_0x43183b=_0x369836['hovered'])!=null?_0x43183b:this[_0x253239(0x311)],this[_0x253239(0x2c2)]=(_0x59c4c8=_0x369836['range'])!=null?_0x59c4c8:this[_0x253239(0x2c2)],this[_0x253239(0x43d)]=(_0x2624ec=_0x369836[_0x253239(0x30e)])!=null?_0x2624ec:this[_0x253239(0x43d)],this[_0x253239(0x33d)]=(_0x253efd=_0x369836[_0x253239(0x247)])!=null?_0x253efd:this[_0x253239(0x33d)],this[_0x253239(0x2ff)]=(_0x47c0ee=_0x369836[_0x253239(0x2d9)])!=null?_0x47c0ee:this[_0x253239(0x2ff)],this[_0x253239(0x42e)]({'width':_0x369836[_0x253239(0x1c7)],'height':_0x369836[_0x253239(0x3a3)]});}[_0x3c1166(0x1e9)](_0x139847){const _0x3d9337=_0x3c1166,{row:_0x3995b6,column:_0x595365}=_0x139847;if(_0x3995b6>=this['_range'][_0x3d9337(0x219)]&&_0x3995b6<=this[_0x3d9337(0x2c2)][_0x3d9337(0x3ae)]&&_0x595365>=this[_0x3d9337(0x2c2)]['startColumn']&&_0x595365<=this[_0x3d9337(0x2c2)][_0x3d9337(0x39f)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x20772e){return!0x1;}[_0x3c1166(0x37e)](_0x1b999a){const _0x538726=_0x3c1166;p['Rect'][_0x538726(0x230)](_0x1b999a,{'width':this['width'],'height':this[_0x538726(0x3a3)],'strokeWidth':Ct,'stroke':this[_0x538726(0x1e8)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1b999a[_0x538726(0x21f)](),_0x1b999a['transform'](0x1,0x0,0x0,0x1,this[_0x538726(0x1c7)],this[_0x538726(0x33d)]===_0x538726(0x40f)?0x0:-0x14),te[_0x538726(0x230)](_0x1b999a,{'text':this[_0x538726(0x43d)],'color':this[_0x538726(0x1e8)]}),_0x1b999a['restore']());}}var pt=Object[_0x3c1166(0x344)],bt=(_0x464780,_0x581c31,_0x372b6d,_0x32daf4)=>{const _0x5e301a=_0x3c1166;for(var _0x145088=_0x32daf4>0x1?void 0x0:_0x32daf4?pt(_0x581c31,_0x372b6d):_0x581c31,_0x172860=_0x464780[_0x5e301a(0x43b)]-0x1,_0x57aca4;_0x172860>=0x0;_0x172860--)(_0x57aca4=_0x464780[_0x172860])&&(_0x145088=_0x57aca4(_0x145088)||_0x145088);return _0x145088;},ce=(_0x4c5ab8,_0x145b04)=>(_0x9c60fb,_0x430979)=>_0x145b04(_0x9c60fb,_0x430979,_0x4c5ab8);const Et=0x1389;function _0xa036(){const _0x4f6c8d=['url(#on-line-single_clip0_910_349)','runOnServer','setInterval','restore','_lastPointer','DeleteRangeMoveLeftCommandId','CollaborationStatus','_getSessionTicket','sheetId','collab-client.tooltip.reconnect','TEXT_RANGE_LAYER_INDEX','getRelativeToViewportCoord','_imageIoService','collab-rect-range-','RegularPolygon','_onRefRangeChange','params','_transformUndoRedoStack','Error','CollaborationController','_initResize','_backgroundColor','_handleHeartbeatEvent','flatMap','lineTo','transformMutation','_handleJoinEvent','from','@univerjs/design','subUnitId','_eventUnsubscribe','get','undoState','CollaborationDataLoaderController','[CollaborationDataLoaderController]','getParam','name','CollaborationStatusDisplay','next','_hovered','switchMap','registerBeforeClose','IMessageService','_onCursorDelete','exhaustSavingTask','black','transformSelections','_unitOnClients','_injector','APPLY_NON_SEQUENTIAL_REVISION','NodePositionConvertToRectRange','_clearOtherTimers','getSkeleton','WebBrowserSingleActiveUnitService','blue400','/run/','_hideTimer','forwardRef','error','unit','removeParam','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','WebSocketService','CollaborationSocketService','_urlService','transformStateCache','top','_updateSubUnitFromURLParams','clearTimeout','children','sessionTicket','_colorIndex','roomMembers','isArray','size','LICENSE_MAX_UNITS_EXCEEDED','jsx','Tooltip','cursorInfo','url(#off-line-single_clip0_910_343)','getSheetId','fromEvent','onPointerEnter$','_labelPosition','LOGIN_FAILED','_doCreateSocket','_assignedColors','color','CollaborationUIEventId','_revisionService','getOwnPropertyDescriptor','fillStyle','isActive','source','measureText','getValue','CONNECTOR_DATA_TOO_LARGE','path','_transformHistoryAndStateStack','useCallback','YUUMI_UNABLE_LOAD_URL','setShapeProps','PERMISSION_DENIED','_updateCollabCursors','gold400','CollaborationEvent','addEventListener','AWAITING_WITH_PENDING','_handleEvent','DisposableCollection','transformMutationsWithChangeset','UNDEFINED','_updateURLWithCurrentState','memberID','INTERNAL_ERROR','OnLineSingle','react','requireSession','onlineStatusIcon','_saveTaskMap','Rect','createElement','_unitStatus','_renderManagerService','random','serializeRangeWithSheet','call','disposeWithMe','_docSkeleton','popstate','evenodd','getCurrentUnitForType','map','makeDirty','Unknown\x20user','stringify','univer-online-status','3289272vvIUCK','APPLY_REVISION_CONFILICT','_refRangeService','_context','APPLY_REJECT','UniverInstanceType','OTHER_CLIENTS_EDITING','Tools','search','_session','status$','_draw','onTransformChange$','storage','mutations','off-line-single_clip0_910_343','_docTransformStateCacheService','_updateLocalCursor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','saveTaskMap','HTTPService','currentColor','onlineStatus','translate(.97)','0\x200\x2016\x2016','symbol','APPLY_DUPLICATED','DesktopCollaborationStatusDisplayController','_onCursorUpdate','_cursor','executeCommand','NO_OTHER_CLIENTS_EDITING','getDocRanges','deserializeRangeWithSheet','_getScale','onPointerLeave$','function','getLocalCacheKey','collaboration-client-ui.config','SheetSkeletonManagerService','RichTextEditingMutation','_collabCursorController','icon','arc','endColumn','INotificationService','replaceDocRanges','ranges','height','getUnitId','sheetID','SNAPSHOT_INVALID_SNAPSHOT','univer-online-status-title','InsertRowCommandId','permission.title','currentSkeleton$','disposeUnit','collab-text-range-','_toggleOffline','endRow','asObservable','unitId','getUnhiddenWorksheets','createInstance','MoveRangeCommandId','IBeforeCloseService','_initEntityListener','_univerInstanceService','WebURLService','getTypeOfUnitDisposed$','_logService','IUniverInstanceService','registerRefRange','loadUnit','defIds','getFocusedUnit','eventID','defineProperty','SessionStatus','deepClone','getVpScrollXYInfoByPosToVp','_localCacheService','ILogService','_removeClearOtherTimer','fill','toString','RemoteUniscriptService','CHANGESET_REVISION_CONFILICT','InsertColCommandId','url(#$1','Injector','setTimeout','SheetCollabCursorShape','FETCH_MISS','column','rgba(255,\x20255,\x20255,\x200.01)','onRendered','ThemeService','includes','1em','_transformService','Shape','startsWith','_id','_setupSubUnitSync','_initDependencies','react/jsx-runtime','DocCollaborationEntity','SYNCED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','EffectRefRangId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','contains','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','off-line-single','getConfig','parse','closePath','jiqing500','trim','uni.network.url-service','UNRECOGNIZED','redoState','none','_getAnchorBounding','roomMembers$','toStringTag','_docTransformSelectionsService','@univerjs/sheets','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ITransformService','addHandlerCallback','then','text','INVALID_INVITE_CODE','with','LOCAL_CACHE_INTERVAL','_sheetSkeletonManagerService','handleInsertRangeMoveRight','subunit','data','NOT_COLLAB','BehaviorSubject','generateRandomId','collaboration-client.offline-data-not-saved','_docSyncEditingCollabCursorService','engine','_drawAnchor','collabCursorState$','INVITE_CODE_REQUIRED','sessionStatus$','type','origin','extend','getTypeOfUnitAdded$','doc.mutation.rich-text-editing','bottom','COMPLETION_FINISHED','HEADER_MENU','transformRemoteChangeset','split','@univerjs/docs-ui','IUIPartsService','IRenderManagerService','collabStatus.notCollab','push','toRgbString','_commandService','SOCKET_FAILED','values','application/json','_localStorageService','takeUntil','whenReady','registerRenderModule','indexOf','_refreshCollabCursors','_selfUnitIDs','getSheetObject','complete','set','_docSkeletonManagerService','_toggleOnline','invokeId','saveImage','className','assign','transformByState','mask','_send','@univerjs/drawing','registerComponent','JOIN_ROOM_FAILED','getActiveSheet','editingUnit','handleIRemoveCol','Rectangle','YUUMI_SUBSCRIPTION_NOT_FOUND','m1Prime','_docClipboardService','length','debounce','_name','getStateCache','DocIMEInputManagerService','DeleteRangeMoveUpCommandId','M0\x200H16V16H0z','body','runId','fromEventSubject','current','105138JlCvxD','SUBMIT_CHANGESET_TIMEOUT','_drawTextRange','Warning','CLOSE_ROOM','ILocalStorageService','@univerjs/network','CollaborationSessionService','RevisionService','_status$','SetSelectionsOperation','_configService','_saveCache','handleMoveRange','on-line-single','USERS_LEAVE','getMemberID','RemoveColCommandId','rxjs','SheetsSelectionsService','focused$','PY_RUNTIME_SCRIPT_ERROR','DocSkeletonManagerService','_getSaveTimeout','UniverCollaborationClientUIPlugin','Optional','_createSocketURL','width','_registerRenderDependencies','has','_collaborationController','[RemoteUniscriptService]:\x20no\x20focused\x20unit','apply','getCoordByCell','_handleHover','_removeCollabCursors','_transformPreviousActiveRange','_render','_config','concat','0\x200\x2017\x2016','getRenderById','_getMergeRange','getViewport','_disabled','code','#fff','getCurrentRevOfUnit','collabStatus.offline','RefRangeService','mergeOverrideWithDependencies','_scheduleSaving','LICENSE_EXPORT_SIZE_EXCEEDED','getUndoRedoMutationParamsCache','@univerjs-pro/collaboration-client','prototype','getCollabCursors$','_cursorInfo$','USER_NOT_INVITED_CODE','ISocketService','_color','onMouseMove','toDisposable','1508647bOrLfK','238473ePjTbM','_docStateChangeManagerService','_colorAssignService','_ensureSubject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_notificationService','_cachedData','subscribe','SetWorksheetActivateCommand','getCurrent','handleDeleteRangeMoveLeft','mapTo','searchParams','setAlpha','collaboration.closeRoom','addObject','imageSourceType','_docTransformIMECacheService','IDocClipboardService','UNAUTHENTICATED','clipPath','BuiltInUIPart','isTransformMutationFailure','pluginName','font','unitID','ICommandService','entries','univer-online-status-icon','@univerjs/docs','UniverIcon','SOCKET_FAILED_RETRY','_cursors','row','_initCommandExecutedListener','forEach','all','_themeService','selection','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','combineLatest','setParam','@univerjs-pro/collaboration','getOffsetConfig','dispose','startRow','result','handleInsertRow','DocSelectionManagerService','session.collaboration-timeout','TEXT','save','displayName','session.will-retry','BrowserCollaborationSocketService','...','OFFLINE','LICENSE_DISTRO_REJECTED','_syncEditingCollabCursorService','entityInit$','currentTheme$','getColor','use','_getSheetObject','_scene','setItem','DEFAULT_WS_SESSION_TICKET_URL','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','drawWith','_beforeCloseService','online','replace','onStarting','RxDisposable','verdancy600','RECT','Inject','onlineStatusTitle','event$','PENDING','univer-online','href','history','MessageType','replaceState','_initEvent','m2Prime','_anchor','useDependency','div','_entityInit$','labelPosition','connectInjector','_collabCursorState$','Failed','merge','getMember','UPDATE_CURSOR','DocStateChangeManagerService','purple300','string','univer-flex\x20univer-items-center','_initStatusListener','cursorInfo$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','min','dispose$','urlChange$','wsSessionTicketUrl','472028UuLlLw','subscribeEvent','unsubscribe','_online','unshift','MUTATION','getSheetBySheetId','getCollabEntity$','_setupBeforeClosingHandler','IConfigService','filter','UnitStatus','ISnapshotServerService','collaboration.single-unit.warning','InsertRangeMoveDownCommandId','_memberService','rxjs/operators','_document','beginPath','_collaborationUIEventService','_registerDependencies','useRef','INVALID_ARGUMENT','APPLY_PERMISSION_DENIED','275562dxOEPL','getOwnPropertySymbols','key','newValue','_cursorShapes','_scheduleHeartbeat','Workbook','setActiveRange','_dataLoaderService','FromArray','getUnitStatus$','UNIVER_SHEET','@univerjs/core','round','INVITE_CODE_HAS_BEEN_UES','runRefRangeMutations','resize','location','debounceTime','Subject','collabStatus.synced','VIEW_MAIN','INVITE_CODE_ALREADY_BOUND','ALREADY_EXISTS','handleInsertCol','IImageIoService','_scheduleClearOtherTimer','_initStatusComponent','1423825GpJwFi','selections','unload','distinctUntilChanged','SNAPSHOT_HAS_BEEN_REMOVED','getRangePointData','colorChannel1','attrs','hasOwnProperty','collabStatus.conflict','textRanges','pipe','pushState','_drawRectRange','YUUMI_URL_COL_OUT_OF_RANGE','reconnect','COLORS','fillText','ILocalCacheService','getItem','saveOfflineData','idSuffix','xlink:href','touchDependencies','onCommandExecuted','assignAColorForMemberID','Disposable','hide','_handleLeaveEvent','12SVdWdu','_uiPartsService','addObjects','_anchorDot','debug','_roomMembers$','CommandType','activeSheet$','syncEditingCollabCursor','_httpService','ColorKit','transformIMECache','TOO_MANY_REQUESTS','getAncestorScale','_collabSessionService','_instanceService','throttleTime','loadOfflineData','defs','updateOfflineData','IURLService','_entities','_shapes','isTransformMutationsWithChangesetSuccess','_range','onLocalMutation','findNodePositionByCharIndex','_init','Plugin','YUUMI_RATE_OVER_LIMIT','_localeService','init','permission.content','ONLINE','enableLocalCache','show','MemberService','handleInsertRangeMoveDown','_hover','CONFLICT','handleIRemoveRow','add','_heartbeatTimer','delete','_textBubble','OffLineSingle','propertyIsEnumerable','backgroundColor','Vector2','tag','onPointerMove$','clearInterval','DOC_RANGE_TYPE','_messageService','addClipboardHook','max','clsx','@univerjs/sheets-ui','NOT_FOUND','LocaleService','UNIVER_DOC','InsertRangeMoveRightCommandId','@univerjs/rpc','_startDocCollabCursor'];_0xa036=function(){return _0x4f6c8d;};return _0xa036();}let ge=class extends a[_0x3c1166(0x235)]{constructor(_0x2bec80,_0x17e1d2,_0x4adc17,_0x191c6a){const _0x1d153b=_0x3c1166;super(),h(this,_0x1d153b(0x20c),new Set()),h(this,'_lastPointer',null),(this[_0x1d153b(0x376)]=_0x2bec80,this['_sheetSkeletonManagerService']=_0x17e1d2,this[_0x1d153b(0x39c)]=_0x4adc17,this[_0x1d153b(0x211)]=_0x191c6a,this[_0x1d153b(0x2c5)]());}[_0x3c1166(0x2c5)](){const _0x3a6cf5=_0x3c1166;this[_0x3a6cf5(0x3fc)][_0x3a6cf5(0x3aa)][_0x3a6cf5(0x298)]($['takeUntil'](this[_0x3a6cf5(0x256)]),$[_0x3a6cf5(0x312)](_0x3a4c43=>{const _0x4d0b9c=_0x3a6cf5;if(_0x3a4c43){const _0x5b1727=_0x3a4c43[_0x4d0b9c(0x2f2)];return d[_0x4d0b9c(0x214)](this[_0x4d0b9c(0x39c)][_0x4d0b9c(0x1e4)](this[_0x4d0b9c(0x376)][_0x4d0b9c(0x3b0)]),this[_0x4d0b9c(0x211)]['currentTheme$'])[_0x4d0b9c(0x298)]($[_0x4d0b9c(0x36e)](([_0x1b6885,_0x1c22d])=>{const _0x12c79c=new Map();return _0x1b6885['forEach']((_0x507632,_0x5cdb20)=>{const _0x581d38=_0xc689;if(_0x507632[_0x581d38(0x3a5)]===_0x5b1727){const _0x2a69a8={..._0x507632};_0x2a69a8[_0x581d38(0x341)]=_0x1c22d[_0x507632[_0x581d38(0x341)]],_0x12c79c[_0x581d38(0x427)](_0x5cdb20,_0x2a69a8);}}),{'skeleton':_0x3a4c43,'cursors':_0x12c79c};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x3a6cf5(0x1f3)](({skeleton:_0x142a6d,cursors:_0x5a4a00})=>{const _0x5c1d5c=_0x3a6cf5;this[_0x5c1d5c(0x1cf)](),_0x142a6d&&this[_0x5c1d5c(0x351)](_0x142a6d,_0x5a4a00);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3a6cf5(0x1f3)](_0x304936=>{const _0x33f7d5=_0x3a6cf5;if(_0x304936==null)return;const {skeleton:_0x2155da}=_0x304936,{scene:_0x5d6f23}=this[_0x33f7d5(0x376)];_0x5d6f23[_0x33f7d5(0x2dc)][_0x33f7d5(0x25a)](a[_0x33f7d5(0x43c)](_0x4e9ce6=>{const _0x5369a1=_0x33f7d5;var _0x57f2b9,_0x5d059f;const {offsetX:_0x50a312,offsetY:_0xa66748}=_0x4e9ce6,{x:_0xc057b,y:_0x1e12fb}=_0x5d6f23[_0x5369a1(0x2f5)](p[_0x5369a1(0x2da)][_0x5369a1(0x27a)]([_0x50a312,_0xa66748])),{scaleX:_0x421dd7,scaleY:_0x4011b5}=_0x5d6f23[_0x5369a1(0x2b7)](),_0x5db280=_0x5d6f23[_0x5369a1(0x1d7)](p['SHEET_VIEWPORT_KEY'][_0x5369a1(0x286)]),_0x36847a=_0x5d6f23[_0x5369a1(0x3c3)](p['Vector2'][_0x5369a1(0x27a)]([_0xc057b,_0x1e12fb]),_0x5db280),_0x22f4e0=_0x2155da['getCellPositionByOffset'](_0x50a312,_0xa66748,_0x421dd7,_0x4011b5,_0x36847a);((_0x57f2b9=this[_0x5369a1(0x2ee)])==null?void 0x0:_0x57f2b9[_0x5369a1(0x3d1)])===_0x22f4e0[_0x5369a1(0x3d1)]&&((_0x5d059f=this[_0x5369a1(0x2ee)])==null?void 0x0:_0x5d059f[_0x5369a1(0x20d)])===_0x22f4e0['row']||this['_cursors'][_0x5369a1(0x20f)](_0x4ab08e=>{_0x4ab08e['onMouseMove'](_0x22f4e0);});},0x64));});}[_0x3c1166(0x351)](_0x84f35b,_0x561b16){const _0x9f2598=_0x3c1166;var _0x21bebd;const _0x2eb625=(_0x21bebd=this[_0x9f2598(0x3fc)][_0x9f2598(0x1f5)]())==null?void 0x0:_0x21bebd['skeleton'];if(!_0x2eb625)return;const _0x5772ff=this[_0x9f2598(0x22b)]();if(!_0x5772ff)return;this[_0x9f2598(0x20c)][_0x9f2598(0x20f)](_0x421adc=>{const _0x279830=_0x9f2598;_0x421adc[_0x279830(0x36f)]();});const {scene:_0x37098d}=_0x5772ff,_0x9415f6=Tt(Array[_0x9f2598(0x305)](_0x561b16[_0x9f2598(0x41c)]()))[_0x9f2598(0x36e)](_0x2a6d5a=>{const _0x2d2eff=_0x9f2598,{color:_0x32b389,range:_0x49d4ba,name:_0x47df62,selection:_0x11609d,sheetID:_0x23d69c}=_0x2a6d5a,{startColumn:_0x2c5683,startRow:_0x31ac0c,endColumn:_0x587d8e,endRow:_0x236b75}=_0x49d4ba,_0x567c49=G[_0x2d2eff(0x1cd)](_0x31ac0c,_0x2c5683,_0x37098d,_0x2eb625),_0x1f51f1=G[_0x2d2eff(0x1cd)](_0x236b75,_0x587d8e,_0x37098d,_0x2eb625),{columnHeaderHeightAndMarginTop:_0x3c6107}=_0x2eb625,{startX:_0x1f6694,startY:_0x44c3bd}=_0x567c49,{endX:_0x3c9f39,endY:_0x46dc0d}=_0x1f51f1,_0x43b7fb=_0x3c9f39-_0x1f6694,_0x37c35a=_0x46dc0d-_0x44c3bd,_0x46b68f={'labelPosition':_0x44c3bd-_0x3c6107>=K?_0x2d2eff(0x32c):'bottom','sheetID':_0x23d69c,'range':_0x49d4ba,'color':_0x32b389,'name':_0x47df62,'selection':_0x11609d,'left':_0x1f6694,'top':_0x44c3bd,'width':_0x43b7fb,'height':_0x37c35a,'evented':!0x1,'zIndex':Et};return new Ae(_0x47df62,_0x46b68f);});_0x37098d[_0x9f2598(0x2ac)](_0x9415f6,mt),this[_0x9f2598(0x20c)]=new Set(_0x9415f6);}[_0x3c1166(0x1cf)](){const _0x3f2295=_0x3c1166;var _0x1f1ad9;(_0x1f1ad9=this['_cursors'])==null||_0x1f1ad9[_0x3f2295(0x20f)](_0x35502e=>_0x35502e[_0x3f2295(0x218)]());}[_0x3c1166(0x22b)](){const _0x416e5b=_0x3c1166;return G[_0x416e5b(0x425)](this[_0x416e5b(0x376)][_0x416e5b(0x325)],this[_0x416e5b(0x376)]);}};ge=bt([ce(0x1,a[_0x3c1166(0x238)](G[_0x3c1166(0x39a)])),ce(0x2,a['Inject'](x)),ce(0x3,a[_0x3c1166(0x238)](a[_0x3c1166(0x3d4)]))],ge);function Tt(_0x2b11d6){const _0x55df91=_0x3c1166,_0x509f28=new Map();return _0x2b11d6[_0x55df91(0x20f)](_0x323332=>{const _0x5a7231=_0x55df91;if(_0x509f28[_0x5a7231(0x1c9)](_0x323332[_0x5a7231(0x212)])){const _0x59feee=_0x509f28[_0x5a7231(0x309)](_0x323332[_0x5a7231(0x212)]);_0x59feee[_0x5a7231(0x30e)]+=',\x20'+_0x323332['name'];}else _0x509f28[_0x5a7231(0x427)](_0x323332[_0x5a7231(0x212)],_0x323332);}),Array[_0x55df91(0x305)](_0x509f28[_0x55df91(0x41c)]());}var E=function(){const _0xf333c5=_0x3c1166;return E=Object[_0xf333c5(0x42d)]||function(_0x13b8dc){const _0xef0746=_0xf333c5;for(var _0x19a31b,_0x11de8a=0x1,_0xecd7b0=arguments[_0xef0746(0x43b)];_0x11de8a<_0xecd7b0;_0x11de8a++){_0x19a31b=arguments[_0x11de8a];for(var _0x456004 in _0x19a31b)Object[_0xef0746(0x1e3)]['hasOwnProperty'][_0xef0746(0x368)](_0x19a31b,_0x456004)&&(_0x13b8dc[_0x456004]=_0x19a31b[_0x456004]);}return _0x13b8dc;},E[_0xf333c5(0x1cc)](this,arguments);},Rt=function(_0xb93aea,_0x2f8677){const _0x5440c3=_0x3c1166;var _0xed4fe={};for(var _0x4658a1 in _0xb93aea)Object[_0x5440c3(0x1e3)][_0x5440c3(0x295)][_0x5440c3(0x368)](_0xb93aea,_0x4658a1)&&_0x2f8677[_0x5440c3(0x422)](_0x4658a1)<0x0&&(_0xed4fe[_0x4658a1]=_0xb93aea[_0x4658a1]);if(_0xb93aea!=null&&typeof Object[_0x5440c3(0x272)]==_0x5440c3(0x397)){for(var _0x2b6f68=0x0,_0x4658a1=Object[_0x5440c3(0x272)](_0xb93aea);_0x2b6f68<_0x4658a1[_0x5440c3(0x43b)];_0x2b6f68++)_0x2f8677[_0x5440c3(0x422)](_0x4658a1[_0x2b6f68])<0x0&&Object[_0x5440c3(0x1e3)][_0x5440c3(0x2d8)][_0x5440c3(0x368)](_0xb93aea,_0x4658a1[_0x2b6f68])&&(_0xed4fe[_0x4658a1[_0x2b6f68]]=_0xb93aea[_0x4658a1[_0x2b6f68]]);}return _0xed4fe;},be=M[_0x3c1166(0x323)](function(_0x30b857,_0xcccbde){const _0x254378=_0x3c1166;var _0x5478b4=_0x30b857[_0x254378(0x39d)],_0x454465=_0x30b857['id'],_0x4f5410=_0x30b857['className'],_0x563a2b=_0x30b857[_0x254378(0x40c)],_0x1b55f1=Rt(_0x30b857,[_0x254378(0x39d),'id',_0x254378(0x42c),'extend']),_0x25efe3='univerjs-icon\x20univerjs-icon-'[_0x254378(0x1d3)](_0x454465,'\x20')['concat'](_0x4f5410||'')[_0x254378(0x3ea)](),_0x47cf85=M[_0x254378(0x26e)]('_'['concat'](Ut()));return ye(_0x5478b4,''[_0x254378(0x1d3)](_0x454465),{'defIds':_0x5478b4['defIds'],'idSuffix':_0x47cf85[_0x254378(0x445)]},E({'ref':_0xcccbde,'className':_0x25efe3},_0x1b55f1),_0x563a2b);});function ye(_0x4314e,_0xa91416,_0x1dadab,_0x4d05f3,_0x32460c){const _0x2aee98=_0x3c1166;return M[_0x2aee98(0x363)](_0x4314e[_0x2aee98(0x2db)],E(E({'key':_0xa91416},Ot(_0x4314e,_0x1dadab,_0x32460c)),_0x4d05f3),(Dt(_0x4314e,_0x1dadab)[_0x2aee98(0x32f)]||[])[_0x2aee98(0x36e)](function(_0x452c8f,_0x133f8d){const _0x128bcb=_0x2aee98;return ye(_0x452c8f,''[_0x128bcb(0x1d3)](_0xa91416,'-')[_0x128bcb(0x1d3)](_0x4314e[_0x128bcb(0x2db)],'-')[_0x128bcb(0x1d3)](_0x133f8d),_0x1dadab,void 0x0,_0x32460c);}));}function Ot(_0x212f49,_0x5cc875,_0x5ee792){const _0x5b2840=_0x3c1166;var _0xb48d1=E({},_0x212f49[_0x5b2840(0x294)]);_0x5ee792!=null&&_0x5ee792[_0x5b2840(0x293)]&&_0xb48d1[_0x5b2840(0x3c7)]===_0x5b2840(0x293)&&(_0xb48d1['fill']=_0x5ee792[_0x5b2840(0x293)]),_0x212f49[_0x5b2840(0x2db)]===_0x5b2840(0x42f)&&_0xb48d1['id']&&(_0xb48d1['id']=_0xb48d1['id']+_0x5cc875[_0x5b2840(0x2a2)]),Object[_0x5b2840(0x207)](_0xb48d1)[_0x5b2840(0x20f)](function(_0x48cae9){const _0x1f0baf=_0x5b2840;var _0x202571=_0x48cae9[0x0],_0x3931d4=_0x48cae9[0x1];_0x202571==='mask'&&typeof _0x3931d4==_0x1f0baf(0x250)&&(_0xb48d1[_0x202571]=_0x3931d4[_0x1f0baf(0x233)](/url\(#(.*)\)/,_0x1f0baf(0x3cc)[_0x1f0baf(0x1d3)](_0x5cc875['idSuffix'],')')));});var _0x370e2a=_0x5cc875[_0x5b2840(0x3bd)];return!_0x370e2a||_0x370e2a[_0x5b2840(0x43b)]===0x0||(_0x212f49[_0x5b2840(0x2db)]===_0x5b2840(0x22a)&&_0xb48d1[_0x5b2840(0x2a3)]&&(_0xb48d1[_0x5b2840(0x2a3)]=_0xb48d1['xlink:href']+_0x5cc875[_0x5b2840(0x2a2)]),Object[_0x5b2840(0x207)](_0xb48d1)[_0x5b2840(0x20f)](function(_0x464f16){const _0xfe62a5=_0x5b2840;var _0x4edd2f=_0x464f16[0x0],_0x22cb80=_0x464f16[0x1];typeof _0x22cb80==_0xfe62a5(0x250)&&(_0xb48d1[_0x4edd2f]=_0x22cb80[_0xfe62a5(0x233)](/url\(#(.*)\)/,_0xfe62a5(0x3cc)[_0xfe62a5(0x1d3)](_0x5cc875[_0xfe62a5(0x2a2)],')')));})),_0xb48d1;}function Dt(_0xeb91c5,_0xaa275b){const _0x2cf0f4=_0x3c1166;var _0x4f82c0,_0x1e8d34=_0xaa275b['defIds'];return!_0x1e8d34||_0x1e8d34[_0x2cf0f4(0x43b)]===0x0?_0xeb91c5:_0xeb91c5[_0x2cf0f4(0x2db)]==='defs'&&(!((_0x4f82c0=_0xeb91c5['children'])===null||_0x4f82c0===void 0x0)&&_0x4f82c0['length'])?E(E({},_0xeb91c5),{'children':_0xeb91c5[_0x2cf0f4(0x32f)][_0x2cf0f4(0x36e)](function(_0x210449){const _0x372aa1=_0x2cf0f4;return typeof _0x210449[_0x372aa1(0x294)]['id']=='string'&&_0x1e8d34&&_0x1e8d34[_0x372aa1(0x422)](_0x210449[_0x372aa1(0x294)]['id'])>-0x1?E(E({},_0x210449),{'attrs':E(E({},_0x210449[_0x372aa1(0x294)]),{'id':_0x210449[_0x372aa1(0x294)]['id']+_0xaa275b[_0x372aa1(0x2a2)]})}):_0x210449;})}):_0xeb91c5;}function Ut(){const _0x40c357=_0x3c1166;return Math[_0x40c357(0x366)]()[_0x40c357(0x3c8)](0x24)['substring'](0x2,0x8);}be[_0x3c1166(0x220)]=_0x3c1166(0x20a);var Nt={'tag':'svg','attrs':{'fill':_0x3c1166(0x3ee),'viewBox':_0x3c1166(0x38b),'width':'1em','height':_0x3c1166(0x3d6)},'children':[{'tag':'g','attrs':{'clipPath':_0x3c1166(0x339)},'children':[{'tag':_0x3c1166(0x34b),'attrs':{'stroke':'currentColor','d':_0x3c1166(0x22f),'strokeLinecap':_0x3c1166(0x27e),'strokeLinejoin':_0x3c1166(0x27e),'strokeWidth':1.2}}]},{'tag':_0x3c1166(0x2bc),'attrs':{},'children':[{'tag':_0x3c1166(0x200),'attrs':{'id':_0x3c1166(0x382)},'children':[{'tag':'path','attrs':{'fill':_0x3c1166(0x1da),'d':_0x3c1166(0x441)}}]}]}],'defIds':[_0x3c1166(0x382)]},$e=M[_0x3c1166(0x323)](function(_0x502ace,_0x3db474){const _0x280087=_0x3c1166;return M[_0x280087(0x363)](be,Object['assign']({},_0x502ace,{'id':_0x280087(0x3e5),'ref':_0x3db474,'icon':Nt}));});$e['displayName']=_0x3c1166(0x2d7);var Mt={'tag':'svg','attrs':{'fill':'none','viewBox':_0x3c1166(0x1d4),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3c1166(0x2ea)},'children':[{'tag':_0x3c1166(0x34b),'attrs':{'stroke':_0x3c1166(0x388),'d':_0x3c1166(0x327),'strokeLinecap':_0x3c1166(0x27e),'strokeLinejoin':_0x3c1166(0x27e),'strokeWidth':1.2}}]},{'tag':_0x3c1166(0x2bc),'attrs':{},'children':[{'tag':_0x3c1166(0x200),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x3c1166(0x34b),'attrs':{'fill':_0x3c1166(0x1da),'d':'M0\x200H16V16H0z','transform':_0x3c1166(0x38a)}}]}]}],'defIds':['on-line-single_clip0_910_349']},xe=M[_0x3c1166(0x323)](function(_0x30757d,_0x59608b){const _0xf7013e=_0x3c1166;return M['createElement'](be,Object[_0xf7013e(0x42d)]({},_0x30757d,{'id':_0xf7013e(0x1ba),'ref':_0x59608b,'icon':Mt}));});xe[_0x3c1166(0x220)]=_0x3c1166(0x35d);const Pt=_0x3c1166(0x208),wt=_0x3c1166(0x3a7),Lt=_0x3c1166(0x372),At=_0x3c1166(0x23c),yt='univer-offline',H={'onlineStatusIcon':Pt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':At,'offline':yt};function $t(_0x54075d){const _0x55f912=_0x3c1166;switch(_0x54075d){case u['CollaborationStatus'][_0x55f912(0x224)]:return _0x55f912(0x1dc);case u[_0x55f912(0x2f0)][_0x55f912(0x2d1)]:return _0x55f912(0x296);case u[_0x55f912(0x2f0)][_0x55f912(0x3d0)]:return'collabStatus.fetchMiss';case u[_0x55f912(0x2f0)][_0x55f912(0x400)]:return _0x55f912(0x417);case u[_0x55f912(0x2f0)]['AWAITING']:case u[_0x55f912(0x2f0)][_0x55f912(0x355)]:return'collabStatus.syncing';case u[_0x55f912(0x2f0)][_0x55f912(0x3df)]:case u[_0x55f912(0x2f0)][_0x55f912(0x23b)]:return _0x55f912(0x285);}}function je(_0x525c6){const _0x426d06=_0x3c1166,{status$:_0xde9393}=_0x525c6,_0x19fc50=R['useObservable'](_0xde9393,u[_0x426d06(0x2f0)]['NOT_COLLAB']),_0x1c4cf9=R[_0x426d06(0x244)](a[_0x426d06(0x2e5)]),_0x373175=R['useDependency'](u[_0x426d06(0x1b3)]),_0x7fb3e8=_0x19fc50!==u[_0x426d06(0x2f0)][_0x426d06(0x224)],_0x150ec7=_0x1c4cf9['t']($t(_0x19fc50)),_0x11bab9=T['clsx'](H[_0x426d06(0x389)],{[H[_0x426d06(0x232)]]:_0x7fb3e8,[H['offline']]:!_0x7fb3e8}),_0x428b1b=_0x7fb3e8?w[_0x426d06(0x336)](xe,{}):w[_0x426d06(0x336)]($e,{}),_0x13db0b=M[_0x426d06(0x34d)](()=>{const _0x1ed1de=_0x426d06;_0x7fb3e8||_0x373175[_0x1ed1de(0x29c)]();},[_0x7fb3e8,_0x373175]);function _0x144c0f(){const _0x2dfe94=_0x426d06;return w['jsxs']('div',{'className':T[_0x2dfe94(0x2e2)](_0x11bab9,_0x2dfe94(0x251)),'onClick':_0x13db0b,'children':[w[_0x2dfe94(0x336)](_0x2dfe94(0x245),{'className':H[_0x2dfe94(0x360)],'children':_0x428b1b}),w['jsx'](_0x2dfe94(0x245),{'className':H[_0x2dfe94(0x239)],'children':_0x150ec7})]});}return _0x7fb3e8?_0x144c0f():w['jsx'](T[_0x426d06(0x337)],{'title':_0x1c4cf9['t'](_0x426d06(0x2f3)),'children':_0x144c0f()});}var xt=Object[_0x3c1166(0x344)],jt=(_0x3f1254,_0x9837b0,_0x42352c,_0x26c51d)=>{for(var _0x106ed2=_0x26c51d>0x1?void 0x0:_0x26c51d?xt(_0x9837b0,_0x42352c):_0x9837b0,_0x9d217e=_0x3f1254['length']-0x1,_0x32db89;_0x9d217e>=0x0;_0x9d217e--)(_0x32db89=_0x3f1254[_0x9d217e])&&(_0x106ed2=_0x32db89(_0x106ed2)||_0x106ed2);return _0x106ed2;},X=(_0x5b2b62,_0x1c0e39)=>(_0x3d1302,_0x50a489)=>_0x1c0e39(_0x3d1302,_0x50a489,_0x5b2b62);exports[_0x3c1166(0x38e)]=class extends a[_0x3c1166(0x2a7)]{constructor(_0x3cdf6f,_0x5c3ea8,_0x57ddb5,_0x128756){const _0x472db4=_0x3c1166;super(),h(this,_0x472db4(0x1b5),new d[(_0x472db4(0x401))](u[_0x472db4(0x2f0)][_0x472db4(0x400)])),(this[_0x472db4(0x3b6)]=_0x3cdf6f,this['_injector']=_0x5c3ea8,this['_collaborationController']=_0x57ddb5,this['_uiPartsService']=_0x128756,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x3c1166(0x252)](){const _0x110c29=_0x3c1166;this[_0x110c29(0x369)](this[_0x110c29(0x3b6)][_0x110c29(0x1c0)][_0x110c29(0x298)](d[_0x110c29(0x312)](()=>{const _0x4ce900=_0x110c29,_0x2cc31b=this[_0x4ce900(0x3b6)]['getFocusedUnit']();return _0x2cc31b?this[_0x4ce900(0x1ca)][_0x4ce900(0x260)](_0x2cc31b['getUnitId']()):d['of'](null);}),d['switchMap'](_0x5e28e7=>_0x5e28e7?_0x5e28e7[_0x110c29(0x37d)]:d['of'](u[_0x110c29(0x2f0)][_0x110c29(0x400)])))[_0x110c29(0x1f3)](_0x11e32e=>{const _0x556be4=_0x110c29;this[_0x556be4(0x1b5)][_0x556be4(0x310)](_0x11e32e);}));}[_0x3c1166(0x28c)](){const _0xefd92=_0x3c1166;this[_0xefd92(0x369)](this[_0xefd92(0x2ab)][_0xefd92(0x432)](R[_0xefd92(0x201)][_0xefd92(0x411)],()=>R[_0xefd92(0x248)](kt({'status$':this[_0xefd92(0x1b5)]['asObservable']()}),this[_0xefd92(0x31a)])));}},exports['DesktopCollaborationStatusDisplayController']=jt([X(0x0,a[_0x3c1166(0x3ba)]),X(0x1,a['Inject'](a['Injector'])),X(0x2,a[_0x3c1166(0x238)](u[_0x3c1166(0x2fd)])),X(0x3,R[_0x3c1166(0x415)])],exports['DesktopCollaborationStatusDisplayController']);function kt(_0x4e58e5){const {status$:_0x241b59}=_0x4e58e5;return function(){const _0x535f59=_0xc689;return w[_0x535f59(0x336)](je,{'status$':_0x241b59});};}var Bt=Object[_0x3c1166(0x344)],Ht=(_0x1a68d9,_0x3616de,_0xf2ec90,_0x1c575c)=>{const _0x7cbfa3=_0x3c1166;for(var _0xa44b39=_0x1c575c>0x1?void 0x0:_0x1c575c?Bt(_0x3616de,_0xf2ec90):_0x3616de,_0x3caef8=_0x1a68d9[_0x7cbfa3(0x43b)]-0x1,_0x4155a0;_0x3caef8>=0x0;_0x3caef8--)(_0x4155a0=_0x1a68d9[_0x3caef8])&&(_0xa44b39=_0x4155a0(_0xa44b39)||_0xa44b39);return _0xa44b39;},y=(_0x1e8023,_0x2de125)=>(_0x45960c,_0x528276)=>_0x2de125(_0x45960c,_0x528276,_0x1e8023);let z=class extends a['Disposable']{constructor(_0x30397a,_0x209a4e,_0x554a24,_0x196e6e,_0x176ccf,_0x2a4929){const _0x146407=_0x3c1166;super(),this[_0x146407(0x231)]=_0x30397a,this[_0x146407(0x3c4)]=_0x209a4e,this[_0x146407(0x26c)]=_0x554a24,this['_messageService']=_0x196e6e,this[_0x146407(0x1f1)]=_0x176ccf,this[_0x146407(0x2c8)]=_0x2a4929,this[_0x146407(0x261)](),this[_0x146407(0x241)]();}[_0x3c1166(0x261)](){const _0x304bc0=_0x3c1166;this[_0x304bc0(0x369)](this[_0x304bc0(0x231)][_0x304bc0(0x313)](()=>{const _0x505129=_0x304bc0;if(this[_0x505129(0x3c4)][_0x505129(0x386)][_0x505129(0x334)])return this[_0x505129(0x2c8)]['t'](_0x505129(0x403));}));}[_0x3c1166(0x241)](){const _0x5343e2=_0x3c1166;this[_0x5343e2(0x369)](this[_0x5343e2(0x26c)]['event$'][_0x5343e2(0x1f3)](_0x2ba489=>{const _0x2d9b2b=_0x5343e2;_0x2ba489['id']===u[_0x2d9b2b(0x342)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x2d9b2b(0x2cd)]({'type':T['MessageType'][_0x2d9b2b(0x1af)],'content':this[_0x2d9b2b(0x2c8)]['t'](_0x2d9b2b(0x266))}),_0x2ba489['id']===u[_0x2d9b2b(0x342)][_0x2d9b2b(0x1b0)]&&this['_messageService'][_0x2d9b2b(0x2cd)]({'type':T[_0x2d9b2b(0x23f)][_0x2d9b2b(0x1af)],'content':this[_0x2d9b2b(0x2c8)]['t'](_0x2d9b2b(0x1fa))}),_0x2ba489['id']===u[_0x2d9b2b(0x342)][_0x2d9b2b(0x350)]&&this[_0x2d9b2b(0x1f1)][_0x2d9b2b(0x2cd)]({'title':this[_0x2d9b2b(0x2c8)]['t'](_0x2d9b2b(0x3a9)),'content':this['_localeService']['t'](_0x2d9b2b(0x2ca)),'type':_0x2d9b2b(0x324),'duration':0x0}),_0x2ba489['id']===u['CollaborationUIEventId'][_0x2d9b2b(0x2d1)]&&this['_messageService'][_0x2d9b2b(0x2cd)]({'type':T[_0x2d9b2b(0x23f)]['Error'],'content':this[_0x2d9b2b(0x2c8)]['t']('collaboration.closeRoom')+'('+_0x2ba489[_0x2d9b2b(0x3ff)]+')'}),_0x2ba489['id']===u['CollaborationUIEventId'][_0x2d9b2b(0x433)]&&this[_0x2d9b2b(0x2df)]['show']({'type':T[_0x2d9b2b(0x23f)][_0x2d9b2b(0x1af)],'content':this[_0x2d9b2b(0x2c8)]['t'](_0x2ba489[_0x2d9b2b(0x3ff)]||'')}),_0x2ba489['id']===u[_0x2d9b2b(0x342)][_0x2d9b2b(0x20b)]&&this[_0x2d9b2b(0x2df)][_0x2d9b2b(0x2cd)]({'type':T[_0x2d9b2b(0x23f)]['Warning'],'content':this[_0x2d9b2b(0x2c8)]['t'](_0x2d9b2b(0x221))}),_0x2ba489['id']===u['CollaborationUIEventId'][_0x2d9b2b(0x41b)]&&this[_0x2d9b2b(0x2df)][_0x2d9b2b(0x2cd)]({'type':T[_0x2d9b2b(0x23f)][_0x2d9b2b(0x2fc)],'content':this[_0x2d9b2b(0x2c8)]['t']('session.connection-failed')}),_0x2ba489['id']===u['CollaborationUIEventId'][_0x2d9b2b(0x1ad)]&&this['_messageService']['show']({'type':T[_0x2d9b2b(0x23f)][_0x2d9b2b(0x2fc)],'content':this[_0x2d9b2b(0x2c8)]['t'](_0x2d9b2b(0x21d))});}));}};z=Ht([y(0x0,R[_0x3c1166(0x3b4)]),y(0x1,u[_0x3c1166(0x29f)]),y(0x2,a[_0x3c1166(0x238)](u['CollaborationUIEventService'])),y(0x3,R[_0x3c1166(0x314)]),y(0x4,R[_0x3c1166(0x3a0)]),y(0x5,a[_0x3c1166(0x238)](a[_0x3c1166(0x2e5)]))],z);const Ft=_0x3c1166(0x399),Ne={},Ee=a['createIdentifier'](_0x3c1166(0x3eb));var Wt=Object[_0x3c1166(0x344)],Yt=(_0x1ecc4d,_0x6e574b,_0x221b48,_0x444a33)=>{const _0xee4905=_0x3c1166;for(var _0x1edcc3=_0x444a33>0x1?void 0x0:_0x444a33?Wt(_0x6e574b,_0x221b48):_0x6e574b,_0x290182=_0x1ecc4d[_0xee4905(0x43b)]-0x1,_0x35f559;_0x290182>=0x0;_0x290182--)(_0x35f559=_0x1ecc4d[_0x290182])&&(_0x1edcc3=_0x35f559(_0x1edcc3)||_0x1edcc3);return _0x1edcc3;},F=(_0x3c5d9e,_0x233347)=>(_0x16125d,_0x36a93e)=>_0x233347(_0x16125d,_0x36a93e,_0x3c5d9e);exports['CollaborationDataLoaderController']=class extends a[_0x3c1166(0x235)]{constructor(_0x5dba6c,_0x1fa5d7,_0x258894,_0x3ed171,_0x12228b){const _0x3e474c=_0x3c1166;super(),this['_urlService']=_0x5dba6c,this['_logService']=_0x1fa5d7,this[_0x3e474c(0x41a)]=_0x258894,this[_0x3e474c(0x279)]=_0x3ed171,_0x12228b?_0x12228b==null||_0x12228b[_0x3e474c(0x420)]()['then'](()=>this[_0x3e474c(0x2c5)]()):(this['_logService'][_0x3e474c(0x2ae)](_0x3e474c(0x30c),_0x3e474c(0x3f4)),this[_0x3e474c(0x2c5)]());}async[_0x3c1166(0x2c5)](){const _0x4b614a=_0x3c1166,_0x42c852=this[_0x4b614a(0x32a)][_0x4b614a(0x30d)](_0x4b614a(0x325)),_0x1c083a=this[_0x4b614a(0x32a)][_0x4b614a(0x30d)](_0x4b614a(0x40a)),_0x21936f=this[_0x4b614a(0x32a)]['getParam']('subunit');if(!_0x42c852||!_0x1c083a){this[_0x4b614a(0x3b9)][_0x4b614a(0x2ae)](_0x4b614a(0x30c),_0x4b614a(0x254));return;}const _0x9b71e1=await this[_0x4b614a(0x279)][_0x4b614a(0x3bc)](_0x42c852,Number(_0x1c083a),_0x21936f);_0x9b71e1&&_0x9b71e1 instanceof a[_0x4b614a(0x277)]&&this['_setupSubUnitSync'](_0x9b71e1);}async[_0x3c1166(0x3db)](_0x1bd60e){const _0x6ffe0e=_0x3c1166;await this[_0x6ffe0e(0x32d)](_0x1bd60e),_0x1bd60e[_0x6ffe0e(0x2b1)][_0x6ffe0e(0x298)](d['takeUntil'](this[_0x6ffe0e(0x256)]))[_0x6ffe0e(0x1f3)](_0x287155=>{_0x287155&&this['_updateURLWithCurrentState'](_0x287155);}),this[_0x6ffe0e(0x32a)][_0x6ffe0e(0x257)][_0x6ffe0e(0x298)](d[_0x6ffe0e(0x41f)](this['dispose$']))['subscribe'](()=>this[_0x6ffe0e(0x32d)](_0x1bd60e));}[_0x3c1166(0x35a)](_0x3cd55e,_0x3888b1=!0x1){const _0x1027e4=_0x3c1166,_0x53a7b4=this[_0x1027e4(0x32a)][_0x1027e4(0x30d)](_0x1027e4(0x3fe));_0x3cd55e['getSheetId']()!==_0x53a7b4&&this[_0x1027e4(0x32a)][_0x1027e4(0x215)](_0x1027e4(0x3fe),_0x3cd55e[_0x1027e4(0x33a)](),_0x3888b1);}async[_0x3c1166(0x32d)](_0x3508b8){const _0x573e6a=_0x3c1166;var _0x6fd5ca;const _0x161d16=this[_0x573e6a(0x32a)][_0x573e6a(0x30d)]('subunit');if(!_0x161d16||!_0x3508b8[_0x573e6a(0x25f)](_0x161d16)){const _0x1a7046=_0x3508b8[_0x573e6a(0x3b1)]()[0x0],_0x3d68b2=_0x3508b8[_0x573e6a(0x25f)](_0x1a7046);if(!_0x3d68b2)return;this['_updateURLWithCurrentState'](_0x3d68b2,!0x0),await this[_0x573e6a(0x41a)][_0x573e6a(0x391)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x3508b8[_0x573e6a(0x3a4)](),'subUnitId':_0x1a7046});return;}((_0x6fd5ca=_0x3508b8['getActiveSheet']())==null?void 0x0:_0x6fd5ca['getSheetId']())!==_0x161d16&&await this[_0x573e6a(0x41a)][_0x573e6a(0x391)](g[_0x573e6a(0x1f4)]['id'],{'unitId':_0x3508b8[_0x573e6a(0x3a4)](),'subUnitId':_0x161d16});}},exports[_0x3c1166(0x30b)]=Yt([F(0x0,Ee),F(0x1,a[_0x3c1166(0x3c5)]),F(0x2,a[_0x3c1166(0x206)]),F(0x3,a[_0x3c1166(0x238)](u['DataLoaderService'])),F(0x4,a[_0x3c1166(0x1c5)](Ke['IRemoteInstanceService']))],exports[_0x3c1166(0x30b)]);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x2f7e19,_0x20f4e1,_0x122895,_0x1a2404)=>{const _0x54720f=_0x3c1166;for(var _0x2f642f=_0x1a2404>0x1?void 0x0:_0x1a2404?Vt(_0x20f4e1,_0x122895):_0x20f4e1,_0x30b734=_0x2f7e19[_0x54720f(0x43b)]-0x1,_0x38d2c6;_0x30b734>=0x0;_0x30b734--)(_0x38d2c6=_0x2f7e19[_0x30b734])&&(_0x2f642f=_0x38d2c6(_0x2f642f)||_0x2f642f);return _0x2f642f;},le=(_0x2a306e,_0xd06155)=>(_0x285fa3,_0x4fce6d)=>_0xd06155(_0x285fa3,_0x4fce6d,_0x2a306e);let J=class{constructor(_0x5c3b19,_0x56dbac,_0x36eaae){const _0x5115ba=_0x3c1166;this[_0x5115ba(0x31a)]=_0x5c3b19,this['_transformService']=_0x56dbac,this['_renderManagerService']=_0x36eaae;}['transformIMECache'](_0xfadccb){const _0x20b710=_0x3c1166;this['_transformUndoRedoStack'](_0xfadccb),this[_0x20b710(0x1d0)](_0xfadccb);}['transformRemoteChangeset'](_0x4d445e){const _0x54d3f1=_0x3c1166,{unitID:_0x53fe97}=_0x4d445e,_0x5cb0b4=this[_0x54d3f1(0x365)][_0x54d3f1(0x1d5)](_0x53fe97)[_0x54d3f1(0x3fa)](b[_0x54d3f1(0x43f)]),{redoCache:_0x251174}=_0x5cb0b4[_0x54d3f1(0x1e1)]();if(_0x251174[_0x54d3f1(0x43b)]===0x0)return _0x4d445e;let _0x110ac6=a[_0x54d3f1(0x37a)][_0x54d3f1(0x3c2)](_0x4d445e[_0x54d3f1(0x381)][0x0]);for(let _0x37bf1c=0x0;_0x37bf1c<_0x251174['length'];_0x37bf1c++){const _0x2f4b14={'id':_0x54d3f1(0x40e),'params':{..._0x251174[_0x37bf1c]}},_0x537d01=this['_transformService'][_0x54d3f1(0x303)](_0x110ac6,_0x2f4b14,!0x1);if(m[_0x54d3f1(0x202)](_0x537d01))throw _0x537d01[_0x54d3f1(0x324)];_0x110ac6=_0x537d01[_0x54d3f1(0x439)];}return{...a[_0x54d3f1(0x37a)][_0x54d3f1(0x3c2)](_0x4d445e),'mutations':[_0x110ac6]};}[_0x3c1166(0x2fb)](_0x24a2bc){const _0x416317=_0x3c1166,{unitID:_0x44b532}=_0x24a2bc,_0x21238c=this[_0x416317(0x365)][_0x416317(0x1d5)](_0x44b532)[_0x416317(0x3fa)](b['DocIMEInputManagerService']),{undoCache:_0x34e5be,redoCache:_0x387b66}=_0x21238c['getUndoRedoMutationParamsCache']();if(_0x34e5be[_0x416317(0x43b)]===0x0||_0x387b66['length']===0x0)return;const _0x50ec52=[],_0x1ed0df=[];let _0x4e05f9=a['Tools'][_0x416317(0x3c2)](_0x24a2bc['mutations'][0x0]),_0xf09024=a['Tools'][_0x416317(0x3c2)](_0x24a2bc['mutations'][0x0]);for(let _0x4589ac=_0x34e5be[_0x416317(0x43b)]-0x1;_0x4589ac>=0x0;_0x4589ac--){const _0x13847d={'id':_0x416317(0x40e),'params':{..._0x34e5be[_0x4589ac]}},_0x9a0c20={'id':_0x416317(0x40e),'params':{..._0x387b66[_0x4589ac]}},_0x3a6b52=this[_0x416317(0x3d7)][_0x416317(0x303)](_0x4e05f9,_0x13847d,!0x1),_0x22f937=this[_0x416317(0x3d7)]['transformMutation'](_0xf09024,_0x9a0c20,!0x1);if(m[_0x416317(0x202)](_0x3a6b52))throw _0x3a6b52[_0x416317(0x324)];if(m[_0x416317(0x202)](_0x22f937))throw _0x22f937[_0x416317(0x324)];_0x50ec52[_0x416317(0x25d)](_0x3a6b52[_0x416317(0x242)]['params']),_0x1ed0df[_0x416317(0x25d)](_0x22f937['m2Prime']['params']),_0x4e05f9=_0x3a6b52['m1Prime'],_0xf09024=_0x22f937[_0x416317(0x439)];}_0x21238c['setUndoRedoMutationParamsCache']({'undoCache':_0x50ec52,'redoCache':_0x1ed0df});}[_0x3c1166(0x1d0)](_0x2b1500){const _0x4b546e=_0x3c1166,{unitID:_0x3763af}=_0x2b1500,_0x2dfa92=this[_0x4b546e(0x365)]['getRenderById'](_0x3763af)[_0x4b546e(0x3fa)](b[_0x4b546e(0x43f)]),_0x1a9b45=_0x2dfa92['getActiveRange']();if(_0x1a9b45==null)return;const _0x463a87=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b1500[_0x4b546e(0x205)],'actions':null,'textRanges':[_0x1a9b45]}}],_0x62d9bc=this[_0x4b546e(0x3d7)][_0x4b546e(0x358)](_0x2b1500,_0x463a87);if(!m[_0x4b546e(0x2c1)](_0x62d9bc))throw _0x62d9bc[_0x4b546e(0x324)];const _0x1b524c=_0x62d9bc['m2Prime'][0x0][_0x4b546e(0x2fa)][_0x4b546e(0x297)];Array['isArray'](_0x1b524c)&&_0x1b524c['length']&&_0x2dfa92[_0x4b546e(0x278)](_0x1b524c[0x0]);}};J=Xt([le(0x0,a[_0x3c1166(0x238)](a['Injector'])),le(0x1,m[_0x3c1166(0x3f5)]),le(0x2,p[_0x3c1166(0x416)])],J);var Gt=Object[_0x3c1166(0x344)],qt=(_0x1d2ae4,_0x175304,_0x3d079a,_0x13eb09)=>{const _0x52edbf=_0x3c1166;for(var _0x2252b4=_0x13eb09>0x1?void 0x0:_0x13eb09?Gt(_0x175304,_0x3d079a):_0x175304,_0x5dc29b=_0x1d2ae4[_0x52edbf(0x43b)]-0x1,_0x41cb46;_0x5dc29b>=0x0;_0x5dc29b--)(_0x41cb46=_0x1d2ae4[_0x5dc29b])&&(_0x2252b4=_0x41cb46(_0x2252b4)||_0x2252b4);return _0x2252b4;},he=(_0x55481e,_0x20013f)=>(_0x381f00,_0x31f4e4)=>_0x20013f(_0x381f00,_0x31f4e4,_0x55481e);let Z=class{constructor(_0x556885,_0xd3e503,_0xc04203){const _0x46b5c7=_0x3c1166;this['_injector']=_0x556885,this[_0x46b5c7(0x3d7)]=_0xd3e503,this[_0x46b5c7(0x1ed)]=_0xc04203;}[_0x3c1166(0x32b)](_0x1329e4){const _0x511365=_0x3c1166;this[_0x511365(0x34c)](_0x1329e4);}[_0x3c1166(0x412)](_0x4d8c8c){const _0x4cc099=_0x3c1166,{unitID:_0x11c298}=_0x4d8c8c,{collaboration:_0x3126cc}=this[_0x4cc099(0x1ed)][_0x4cc099(0x43e)](_0x11c298);if(_0x3126cc[_0x4cc099(0x43b)]===0x0)return _0x4d8c8c;let _0x1e792e=a[_0x4cc099(0x37a)][_0x4cc099(0x3c2)](_0x4d8c8c['mutations'][0x0]);for(let _0xad4fc1=0x0;_0xad4fc1<_0x3126cc[_0x4cc099(0x43b)];_0xad4fc1++){const _0x565bf4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3126cc[_0xad4fc1][_0x4cc099(0x3b0)],..._0x3126cc[_0xad4fc1][_0x4cc099(0x3ed)]}},_0x8027a2=this[_0x4cc099(0x3d7)][_0x4cc099(0x303)](_0x1e792e,_0x565bf4,!0x1);if(m['isTransformMutationFailure'](_0x8027a2))throw _0x8027a2[_0x4cc099(0x324)];_0x1e792e=_0x8027a2[_0x4cc099(0x439)];}return{...a[_0x4cc099(0x37a)][_0x4cc099(0x3c2)](_0x4d8c8c),'mutations':[_0x1e792e]};}[_0x3c1166(0x34c)](_0x65542a){const _0x17d3c6=_0x3c1166,{unitID:_0x162858}=_0x65542a,{history:_0x42a6ea,collaboration:_0x1afbfe}=this[_0x17d3c6(0x1ed)][_0x17d3c6(0x43e)](_0x162858);if(_0x42a6ea[_0x17d3c6(0x43b)]===0x0&&_0x1afbfe['length']===0x0)return;const _0x32297b=[],_0xe6bc4c=[];let _0x20f085=a[_0x17d3c6(0x37a)][_0x17d3c6(0x3c2)](_0x65542a[_0x17d3c6(0x381)][0x0]),_0x2f55ac=a['Tools'][_0x17d3c6(0x3c2)](_0x65542a[_0x17d3c6(0x381)][0x0]);for(let _0x5a79d2=_0x42a6ea[_0x17d3c6(0x43b)]-0x1;_0x5a79d2>=0x0;_0x5a79d2--){const _0x513a1e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42a6ea[_0x5a79d2][_0x17d3c6(0x3b0)],..._0x42a6ea[_0x5a79d2][_0x17d3c6(0x30a)]}},_0xb8dbcd={'id':_0x17d3c6(0x40e),'params':{'unitId':_0x42a6ea[_0x5a79d2][_0x17d3c6(0x3b0)],..._0x42a6ea[_0x5a79d2][_0x17d3c6(0x3ed)]}},_0x471acb=this[_0x17d3c6(0x3d7)][_0x17d3c6(0x303)](_0x20f085,_0x513a1e,!0x1),_0x3a3742=this[_0x17d3c6(0x3d7)][_0x17d3c6(0x303)](_0x2f55ac,_0xb8dbcd,!0x1);if(m[_0x17d3c6(0x202)](_0x471acb))throw _0x471acb[_0x17d3c6(0x324)];if(m[_0x17d3c6(0x202)](_0x3a3742))throw _0x3a3742['error'];_0x32297b[_0x17d3c6(0x25d)]({..._0x42a6ea[_0x5a79d2],'undoState':_0x471acb[_0x17d3c6(0x242)][_0x17d3c6(0x2fa)],'redoState':_0x3a3742[_0x17d3c6(0x242)][_0x17d3c6(0x2fa)]}),_0x20f085=_0x471acb[_0x17d3c6(0x439)],_0x2f55ac=_0x3a3742[_0x17d3c6(0x439)];}_0x20f085=a[_0x17d3c6(0x37a)][_0x17d3c6(0x3c2)](_0x65542a['mutations'][0x0]),_0x2f55ac=a[_0x17d3c6(0x37a)][_0x17d3c6(0x3c2)](_0x65542a[_0x17d3c6(0x381)][0x0]);for(let _0x2379db=_0x1afbfe[_0x17d3c6(0x43b)]-0x1;_0x2379db>=0x0;_0x2379db--){const _0x2f1be3={'id':_0x17d3c6(0x40e),'params':{'unitId':_0x1afbfe[_0x2379db][_0x17d3c6(0x3b0)],..._0x1afbfe[_0x2379db][_0x17d3c6(0x30a)]}},_0x42a2cc={'id':_0x17d3c6(0x40e),'params':{'unitId':_0x1afbfe[_0x2379db][_0x17d3c6(0x3b0)],..._0x1afbfe[_0x2379db]['redoState']}},_0xd5b83b=this[_0x17d3c6(0x3d7)][_0x17d3c6(0x303)](_0x20f085,_0x2f1be3,!0x1),_0x422499=this[_0x17d3c6(0x3d7)]['transformMutation'](_0x2f55ac,_0x42a2cc,!0x1);if(m[_0x17d3c6(0x202)](_0xd5b83b))throw _0xd5b83b[_0x17d3c6(0x324)];if(m[_0x17d3c6(0x202)](_0x422499))throw _0x422499[_0x17d3c6(0x324)];_0xe6bc4c[_0x17d3c6(0x25d)]({..._0x1afbfe[_0x2379db],'undoState':_0xd5b83b[_0x17d3c6(0x242)][_0x17d3c6(0x2fa)],'redoState':_0x422499[_0x17d3c6(0x242)][_0x17d3c6(0x2fa)]}),_0x20f085=_0xd5b83b['m1Prime'],_0x2f55ac=_0x422499[_0x17d3c6(0x439)];}this[_0x17d3c6(0x1ed)]['setStateCache'](_0x162858,{'history':_0x32297b,'collaboration':_0xe6bc4c});}};Z=qt([he(0x0,a['Inject'](a[_0x3c1166(0x3cd)])),he(0x1,m['ITransformService']),he(0x2,a[_0x3c1166(0x238)](b[_0x3c1166(0x24e)]))],Z);var Kt=Object[_0x3c1166(0x344)],zt=(_0x18e6d0,_0x23b714,_0x4d17c9,_0x5f0de1)=>{const _0x4b97b5=_0x3c1166;for(var _0x1df836=_0x5f0de1>0x1?void 0x0:_0x5f0de1?Kt(_0x23b714,_0x4d17c9):_0x23b714,_0x2742be=_0x18e6d0[_0x4b97b5(0x43b)]-0x1,_0x348c66;_0x2742be>=0x0;_0x2742be--)(_0x348c66=_0x18e6d0[_0x2742be])&&(_0x1df836=_0x348c66(_0x1df836)||_0x1df836);return _0x1df836;},Me=(_0x53b999,_0x160400)=>(_0x315f02,_0x2656df)=>_0x160400(_0x315f02,_0x2656df,_0x53b999);let Q=class{constructor(_0x402aa1,_0x18b3d8){const _0x25a164=_0x3c1166;this[_0x25a164(0x31a)]=_0x402aa1,this[_0x25a164(0x3d7)]=_0x18b3d8;}['transformSelections'](_0x4c28f5){const _0x155bec=_0x3c1166;var _0x2046e1;const _0x1598ac=this[_0x155bec(0x31a)]['get'](Y[_0x155bec(0x21c)]),_0x5993e2=(_0x2046e1=_0x1598ac[_0x155bec(0x393)]())!=null?_0x2046e1:[];if(_0x5993e2[_0x155bec(0x43b)]===0x0)return;const _0x4a6a64=_0x4c28f5[_0x155bec(0x205)],_0x147e7b=[{'id':_0x155bec(0x40e),'params':{'unitId':_0x4a6a64,'actions':null,'textRanges':_0x5993e2}}],_0x1005d4=this[_0x155bec(0x3d7)]['transformMutationsWithChangeset'](_0x4c28f5,_0x147e7b);if(!m[_0x155bec(0x2c1)](_0x1005d4))throw _0x1005d4[_0x155bec(0x324)];const _0x882454=_0x1005d4['m2Prime'][0x0][_0x155bec(0x2fa)][_0x155bec(0x297)];Array[_0x155bec(0x333)](_0x882454)&&_0x882454[_0x155bec(0x43b)]&&_0x1598ac[_0x155bec(0x3a1)](_0x882454,{'unitId':_0x4a6a64,'subUnitId':_0x4a6a64},!0x1);}};Q=zt([Me(0x0,a[_0x3c1166(0x238)](a[_0x3c1166(0x3cd)])),Me(0x1,m[_0x3c1166(0x3f5)])],Q);var Jt=Object['getOwnPropertyDescriptor'],Zt=(_0x4ab86b,_0x1932d1,_0x303625,_0x110dbd)=>{const _0x4568c4=_0x3c1166;for(var _0x3adc0b=_0x110dbd>0x1?void 0x0:_0x110dbd?Jt(_0x1932d1,_0x303625):_0x1932d1,_0x2d710c=_0x4ab86b[_0x4568c4(0x43b)]-0x1,_0x4c15bd;_0x2d710c>=0x0;_0x2d710c--)(_0x4c15bd=_0x4ab86b[_0x2d710c])&&(_0x3adc0b=_0x4c15bd(_0x3adc0b)||_0x3adc0b);return _0x3adc0b;},N=(_0x16dbd8,_0x3b5bbd)=>(_0x307eb1,_0x473389)=>_0x3b5bbd(_0x307eb1,_0x473389,_0x16dbd8);let ee=class extends a[_0x3c1166(0x2a7)]{constructor(_0x2fe905,_0x1816e7,_0x1f34b2,_0x2fe1af,_0x48cfce,_0x4743db,_0x4c37a2,_0x40e759){const _0xe5412=_0x3c1166;super(),h(this,_0xe5412(0x1b5),new d[(_0xe5412(0x401))](u['CollaborationStatus']['NOT_COLLAB'])),(this[_0xe5412(0x1ed)]=_0x2fe905,this[_0xe5412(0x1ca)]=_0x1816e7,this[_0xe5412(0x1fd)]=_0x1f34b2,this[_0xe5412(0x383)]=_0x2fe1af,this[_0xe5412(0x3f2)]=_0x48cfce,this[_0xe5412(0x404)]=_0x4743db,this[_0xe5412(0x2df)]=_0x4c37a2,this[_0xe5412(0x2c8)]=_0x40e759,this[_0xe5412(0x3b5)]());}['_initEntityListener'](){const _0xaace6a=_0x3c1166;this[_0xaace6a(0x369)](this[_0xaace6a(0x1ca)][_0xaace6a(0x227)][_0xaace6a(0x1f3)](_0x23c539=>{const _0x3c6e16=_0xaace6a,_0x5c6205=this[_0x3c6e16(0x1ed)]['docStateChange$'][_0x3c6e16(0x1f3)](_0x10851e=>{const _0x56de97=_0x3c6e16;if(_0x10851e==null)return;const {unitId:_0x2d6afa,redoState:_0x31deca,commandId:_0x3f9f15}=_0x10851e;if(_0x2d6afa!==_0x23c539[_0x56de97(0x205)])return;const _0x333662={'id':_0x3f9f15,'type':a[_0x56de97(0x2b0)][_0x56de97(0x25e)],'params':{'unitId':_0x2d6afa,'actions':_0x31deca['actions'],'textRanges':null}};_0x23c539[_0x56de97(0x2c3)](_0x333662);});if(_0x23c539[_0x3c6e16(0x369)](_0x5c6205),_0x23c539 instanceof u[_0x3c6e16(0x3de)]){const _0x3908fb={'onTransformIME':_0x3bb2af=>this[_0x3c6e16(0x1fd)][_0x3c6e16(0x2b5)](_0x3bb2af),'onTransformState':_0xc745c0=>this[_0x3c6e16(0x383)][_0x3c6e16(0x32b)](_0xc745c0),'onTransformSelections':_0xab2416=>this['_docTransformSelectionsService'][_0x3c6e16(0x318)](_0xab2416),'onSyncEditingCollabCursor':_0x38e00b=>this[_0x3c6e16(0x404)][_0x3c6e16(0x2b2)](_0x38e00b),'onTransformRemoteChangesetByIMECache':_0x3a2819=>this[_0x3c6e16(0x1fd)][_0x3c6e16(0x412)](_0x3a2819),'onTransformRemoteChangesetByStateCache':_0x56ae59=>this[_0x3c6e16(0x383)][_0x3c6e16(0x412)](_0x56ae59)};_0x23c539[_0x3c6e16(0x3f6)](_0x3908fb);}}));}};ee=Zt([N(0x0,a[_0x3c1166(0x238)](b[_0x3c1166(0x24e)])),N(0x1,a['Inject'](u['CollaborationController'])),N(0x2,a[_0x3c1166(0x238)](J)),N(0x3,a[_0x3c1166(0x238)](Z)),N(0x4,a['Inject'](Q)),N(0x5,a['Inject'](pe)),N(0x6,R[_0x3c1166(0x314)]),N(0x7,a['Inject'](a['LocaleService']))],ee);var Qt=Object[_0x3c1166(0x344)],es=(_0x3ab6c0,_0x3e9716,_0x36feba,_0x591470)=>{const _0x12d21b=_0x3c1166;for(var _0x40cca2=_0x591470>0x1?void 0x0:_0x591470?Qt(_0x3e9716,_0x36feba):_0x3e9716,_0x35eca4=_0x3ab6c0[_0x12d21b(0x43b)]-0x1,_0x3b3cec;_0x35eca4>=0x0;_0x35eca4--)(_0x3b3cec=_0x3ab6c0[_0x35eca4])&&(_0x40cca2=_0x3b3cec(_0x40cca2)||_0x40cca2);return _0x40cca2;},_e=(_0x56813f,_0x42ecb6)=>(_0x1454f0,_0x59aaed)=>_0x42ecb6(_0x1454f0,_0x59aaed,_0x56813f);let me=class extends a[_0x3c1166(0x2a7)]{constructor(_0x34bbf1,_0x2e02b1,_0x1e9aa0){const _0x25364c=_0x3c1166;super(),h(this,_0x25364c(0x1f2),new Map()),h(this,_0x25364c(0x361),new Map()),h(this,_0x25364c(0x1d8),!0x1),(this[_0x25364c(0x1b7)]=_0x34bbf1,this[_0x25364c(0x41e)]=_0x2e02b1,this[_0x25364c(0x343)]=_0x1e9aa0);}['disableLocalCache'](){const _0x27cad6=_0x3c1166;this[_0x27cad6(0x1d8)]=!0x0;}[_0x3c1166(0x2cc)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x5e208d=_0x3c1166;return this[_0x5e208d(0x361)];}[_0x3c1166(0x218)](){const _0x4e1ef8=_0x3c1166;this['exhaustSavingTask']()[_0x4e1ef8(0x3f7)](()=>super[_0x4e1ef8(0x218)]());}async[_0x3c1166(0x2bb)](_0x257412){const _0x4c5ff2=_0x3c1166;return this[_0x4c5ff2(0x1d8)]?null:this[_0x4c5ff2(0x41e)][_0x4c5ff2(0x2a0)](u[_0x4c5ff2(0x398)](_0x257412));}async[_0x3c1166(0x2a1)](_0x411d97,_0x8a00f5){const _0x2e1f99=_0x3c1166;return!!this['_localStorageService'][_0x2e1f99(0x22d)](_0x411d97,_0x8a00f5);}[_0x3c1166(0x2bd)](_0x35c954,_0x35b3b6,_0x5ab022,_0x41c280){const _0x18d003=_0x3c1166,_0x389182=this[_0x18d003(0x343)][_0x18d003(0x1db)](_0x35c954);this[_0x18d003(0x1f2)][_0x18d003(0x427)](_0x35c954,{'unitID':_0x35c954,'type':_0x35b3b6,'awaitingChangeset':_0x5ab022,'mutations':_0x41c280,'rev':_0x389182}),this[_0x18d003(0x361)]['has'](_0x35c954)||this[_0x18d003(0x1df)](_0x35c954);}['_scheduleSaving'](_0x38f0fb){const _0x25f055=_0x3c1166,_0x42f548=this['_getSaveTimeout']();_0x42f548===0x0?this[_0x25f055(0x1b8)](_0x38f0fb):this[_0x25f055(0x361)][_0x25f055(0x427)](_0x38f0fb,setTimeout(()=>this['_saveCache'](_0x38f0fb),_0x42f548));}[_0x3c1166(0x1c3)](){const _0xd80cfc=_0x3c1166;var _0x426e2d;return(_0x426e2d=this[_0xd80cfc(0x1b7)][_0xd80cfc(0x3e6)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x426e2d:u[_0xd80cfc(0x3fb)];}[_0x3c1166(0x1b8)](_0x230f06){const _0x215f79=_0x3c1166,_0x5421ec=this[_0x215f79(0x361)][_0x215f79(0x309)](_0x230f06);return _0x5421ec!==void 0x0&&window[_0x215f79(0x32e)](_0x5421ec),this['_localStorageService'][_0x215f79(0x22d)](u[_0x215f79(0x398)](_0x230f06),this[_0x215f79(0x1f2)][_0x215f79(0x309)](_0x230f06))['then'](()=>this[_0x215f79(0x361)][_0x215f79(0x2d5)](_0x230f06));}async[_0x3c1166(0x316)](){const _0x3ed13a=_0x3c1166,_0x2886a8=[];this[_0x3ed13a(0x361)][_0x3ed13a(0x20f)]((_0xb8894e,_0x128d4c)=>{const _0x4d58d0=_0x3ed13a;window[_0x4d58d0(0x32e)](_0xb8894e),_0x2886a8[_0x4d58d0(0x418)](this[_0x4d58d0(0x1b8)](_0x128d4c)['then'](()=>{const _0x339842=_0x4d58d0;this[_0x339842(0x361)][_0x339842(0x2d5)](_0x128d4c);}));}),await Promise[_0x3ed13a(0x210)](_0x2886a8);}};me=es([_e(0x0,a[_0x3c1166(0x262)]),_e(0x1,a[_0x3c1166(0x1b1)]),_e(0x2,a[_0x3c1166(0x238)](m[_0x3c1166(0x1b4)]))],me);class ke extends a['RxDisposable']{constructor(){const _0x21c176=_0x3c1166;super(),h(this,_0x21c176(0x257)),this['urlChange$']=d[_0x21c176(0x33b)](window,_0x21c176(0x36b))[_0x21c176(0x298)](d[_0x21c176(0x41f)](this[_0x21c176(0x256)]),d['shareReplay'](0x1),d[_0x21c176(0x1f7)](void 0x0));}['setParam'](_0x253ce9,_0x3a899b,_0x1aea33=!0x1){const _0x160005=_0x3c1166,_0x14d210=new URL(window[_0x160005(0x282)][_0x160005(0x23d)]);_0x14d210[_0x160005(0x1f8)][_0x160005(0x427)](_0x253ce9,_0x3a899b),_0x1aea33?window['history'][_0x160005(0x240)]('','',_0x14d210[_0x160005(0x3c8)]()):window[_0x160005(0x23e)][_0x160005(0x299)]('','',_0x14d210['toString']());}[_0x3c1166(0x326)](_0x2ac39a,_0x46a80f=!0x1){const _0x54a0d1=_0x3c1166,_0x4f2acf=new URL(window[_0x54a0d1(0x282)][_0x54a0d1(0x23d)]);_0x4f2acf[_0x54a0d1(0x1f8)]['delete'](_0x2ac39a),_0x46a80f?window[_0x54a0d1(0x23e)][_0x54a0d1(0x240)]('','',_0x4f2acf[_0x54a0d1(0x3c8)]()):window[_0x54a0d1(0x23e)]['pushState']('','',_0x4f2acf[_0x54a0d1(0x3c8)]());}['getParam'](_0x2ea393){const _0x4966e5=_0x3c1166;var _0x141907;return(_0x141907=new URL(window[_0x4966e5(0x282)][_0x4966e5(0x23d)])[_0x4966e5(0x1f8)][_0x4966e5(0x309)](_0x2ea393))!=null?_0x141907:void 0x0;}}var ts=Object[_0x3c1166(0x3c0)],ss=Object[_0x3c1166(0x344)],ns=(_0x5d6794,_0x5ea40d,_0x5144b0)=>_0x5ea40d in _0x5d6794?ts(_0x5d6794,_0x5ea40d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5144b0}):_0x5d6794[_0x5ea40d]=_0x5144b0,is=(_0x5d98d8,_0x404916,_0x15611e,_0x2b2112)=>{const _0x2bed14=_0x3c1166;for(var _0x58fb4d=_0x2b2112>0x1?void 0x0:_0x2b2112?ss(_0x404916,_0x15611e):_0x404916,_0x315f98=_0x5d98d8[_0x2bed14(0x43b)]-0x1,_0x27726f;_0x315f98>=0x0;_0x315f98--)(_0x27726f=_0x5d98d8[_0x315f98])&&(_0x58fb4d=_0x27726f(_0x58fb4d)||_0x58fb4d);return _0x58fb4d;},ue=(_0x494288,_0xb995e6)=>(_0x5afec1,_0x44878a)=>_0xb995e6(_0x5afec1,_0x44878a,_0x494288),rs=(_0x331356,_0x400cfb,_0x54de5b)=>ns(_0x331356,_0x400cfb+'',_0x54de5b);const os=_0x3c1166(0x3e4);exports[_0x3c1166(0x1c4)]=class extends a[_0x3c1166(0x2c6)]{constructor(_0x54fe94=Ne,_0x20209c,_0x2ef94f,_0x4f4480){const _0x463b7a=_0x3c1166;super(),this[_0x463b7a(0x1d2)]=_0x54fe94,this[_0x463b7a(0x365)]=_0x20209c,this[_0x463b7a(0x31a)]=_0x2ef94f,this[_0x463b7a(0x1b7)]=_0x4f4480;const {..._0x3ff871}=a[_0x463b7a(0x24b)]({},Ne,this['_config']);this['_configService']['setConfig'](Ft,_0x3ff871);}[_0x3c1166(0x234)](){const _0x408216=_0x3c1166;this[_0x408216(0x26d)](),this[_0x408216(0x3dc)]();}[_0x3c1166(0x3d3)](){const _0x55f361=_0x3c1166;this[_0x55f361(0x1c8)]();}[_0x3c1166(0x26d)](){const _0x52a9cc=_0x3c1166;var _0x251518;const _0x172002=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x52a9cc(0x1e7)],{'useClass':q[_0x52a9cc(0x328)]}],[u[_0x52a9cc(0x29f)],{'useClass':me}],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[x],[fe],[exports[_0x52a9cc(0x30b)]]];a['registerDependencies'](this['_injector'],a[_0x52a9cc(0x1de)](_0x172002,(_0x251518=this[_0x52a9cc(0x1d2)])==null?void 0x0:_0x251518['override']));}['_registerRenderDependencies'](){const _0x5cd8cd=_0x3c1166;this[_0x5cd8cd(0x369)](this[_0x5cd8cd(0x365)][_0x5cd8cd(0x421)](a[_0x5cd8cd(0x378)][_0x5cd8cd(0x2e6)],[ve])),this[_0x5cd8cd(0x369)](this[_0x5cd8cd(0x365)][_0x5cd8cd(0x421)](a[_0x5cd8cd(0x378)][_0x5cd8cd(0x27c)],[ge]));}[_0x3c1166(0x3dc)](){const _0x567ea5=_0x3c1166;a[_0x567ea5(0x2a4)](this['_injector'],[[x],[exports[_0x567ea5(0x38e)]],[ee],[z],[exports['CollaborationDataLoaderController']]]);}},rs(exports['UniverCollaborationClientUIPlugin'],_0x3c1166(0x203),os),exports[_0x3c1166(0x1c4)]=is([a['DependentOn'](u['UniverCollaborationClientPlugin']),ue(0x1,p[_0x3c1166(0x416)]),ue(0x2,a['Inject'](a[_0x3c1166(0x3cd)])),ue(0x3,a['IConfigService'])],exports['UniverCollaborationClientUIPlugin']);var as=Object[_0x3c1166(0x344)],cs=(_0x202ecf,_0x32875d,_0x394771,_0x428a0c)=>{for(var _0x2005ab=_0x428a0c>0x1?void 0x0:_0x428a0c?as(_0x32875d,_0x394771):_0x32875d,_0x2dcd05=_0x202ecf['length']-0x1,_0x22f985;_0x2dcd05>=0x0;_0x2dcd05--)(_0x22f985=_0x202ecf[_0x2dcd05])&&(_0x2005ab=_0x22f985(_0x2005ab)||_0x2005ab);return _0x2005ab;},W=(_0x1b9639,_0x561b03)=>(_0x568531,_0x5604b0)=>_0x561b03(_0x568531,_0x5604b0,_0x1b9639);exports[_0x3c1166(0x222)]=class extends u[_0x3c1166(0x329)]{constructor(_0xd273d4,_0x11421b,_0x2cffbe,_0xf58261,_0xeaa21d){super(_0xd273d4,_0x11421b,_0x2cffbe,_0xf58261,_0xeaa21d);}async['createSocket'](_0x3cd020){const _0x5119af=_0x3c1166,_0xc2e9e2=await this['_getSessionTicket'](),_0x32b61d=this[_0x5119af(0x1c6)](_0x3cd020,_0xc2e9e2);return this[_0x5119af(0x33f)](_0x32b61d);}['_createSocketURL'](_0xa137b0,_0x1679a0){const _0x281a20=_0x3c1166,_0x47246b=typeof window>'u'?new URL(_0xa137b0):new URL(_0xa137b0,window[_0x281a20(0x282)][_0x281a20(0x40b)]);_0x47246b['searchParams'][_0x281a20(0x427)](_0x281a20(0x330),_0x1679a0);const _0xc3d4e1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x281a20(0x37b)]);return _0xc3d4e1[_0x281a20(0x309)](_0x281a20(0x443))&&_0x47246b[_0x281a20(0x1f8)][_0x281a20(0x427)](_0x281a20(0x443),_0xc3d4e1[_0x281a20(0x309)](_0x281a20(0x443))),_0x47246b[_0x281a20(0x3c8)]();}async[_0x3c1166(0x2f1)](){const _0x1b8fbb=_0x3c1166;var _0x5ef17b,_0x34b8d5,_0x34b1f1;const _0x3faa01=this[_0x1b8fbb(0x1b7)]['getConfig'](u[_0x1b8fbb(0x385)]),_0x52ffd9=(_0x5ef17b=_0x3faa01==null?void 0x0:_0x3faa01[_0x1b8fbb(0x258)])!=null?_0x5ef17b:u[_0x1b8fbb(0x22e)];return(_0x34b1f1=(_0x34b8d5=(await this[_0x1b8fbb(0x2b3)][_0x1b8fbb(0x309)](_0x52ffd9,{'headers':{'Content-Type':_0x1b8fbb(0x41d)}}))[_0x1b8fbb(0x442)])==null?void 0x0:_0x34b8d5['ticket'])!=null?_0x34b1f1:'';}},exports[_0x3c1166(0x222)]=cs([W(0x0,a['Inject'](a['Injector'])),W(0x1,a[_0x3c1166(0x238)](q[_0x3c1166(0x387)])),W(0x2,a[_0x3c1166(0x262)]),W(0x3,a['ILogService']),W(0x4,m[_0x3c1166(0x265)])],exports[_0x3c1166(0x222)]);const Pe=0x7530,we='ACTIVE_UNIT_EVENT_CHANNEL';class ls extends a['Disposable']{constructor(){const _0x2a9aac=_0x3c1166;super(),h(this,_0x2a9aac(0x3da),a['generateRandomId']()),h(this,'_selfUnitIDs',new Set()),h(this,'_unitOnClients',new Map()),h(this,'_heartbeatTimer',null),h(this,_0x2a9aac(0x31d),new Map()),h(this,_0x2a9aac(0x364),new Map()),this['_init']();}[_0x3c1166(0x218)](){const _0x38dbdf=_0x3c1166;super[_0x38dbdf(0x218)](),this[_0x38dbdf(0x31d)][_0x38dbdf(0x20f)]((_0x5d4db6,_0x552107)=>this[_0x38dbdf(0x3c6)](_0x552107)),this['_heartbeatTimer']&&window[_0x38dbdf(0x2dd)](this[_0x38dbdf(0x2d4)]);}[_0x3c1166(0x27b)](_0x225b10){const _0x288ea0=_0x3c1166;return this[_0x288ea0(0x1ef)](_0x225b10)[_0x288ea0(0x298)](d[_0x288ea0(0x290)]());}[_0x3c1166(0x435)](_0x108700){const _0x3b7e86=_0x3c1166;this[_0x3b7e86(0x424)]['size']===0x0&&this[_0x3b7e86(0x276)](),this[_0x3b7e86(0x424)]['add'](_0x108700),this[_0x3b7e86(0x430)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x108700],'isForwarded':!0x1});}[_0x3c1166(0x3ab)](_0x51eff6){const _0x1204bf=_0x3c1166;this['_selfUnitIDs']['delete'](_0x51eff6),this[_0x1204bf(0x424)]['size']===0x0&&this[_0x1204bf(0x2d4)]&&window[_0x1204bf(0x2dd)](this['_heartbeatTimer']);}[_0x3c1166(0x2c5)](){const _0x5a5ec1=_0x3c1166;this[_0x5a5ec1(0x369)](a[_0x5a5ec1(0x1ea)](d['fromEvent'](window,_0x5a5ec1(0x380))[_0x5a5ec1(0x1f3)](_0x14e15b=>{const _0x113b56=_0x5a5ec1;if(_0x14e15b[_0x113b56(0x273)]!==we||!_0x14e15b['newValue'])return;const _0xbdcd90=JSON[_0x113b56(0x3e7)](_0x14e15b[_0x113b56(0x274)]);this[_0x113b56(0x356)](_0xbdcd90);}))),window[_0x5a5ec1(0x354)](_0x5a5ec1(0x28f),()=>this['_send']({'type':0x1,'memberID':this[_0x5a5ec1(0x3da)],'unitIDs':Array[_0x5a5ec1(0x305)](this[_0x5a5ec1(0x424)])}));}[_0x3c1166(0x356)](_0x49444d){const _0x84f0da=_0x3c1166;switch(_0x49444d[_0x84f0da(0x40a)]){case 0x0:this[_0x84f0da(0x304)](_0x49444d);break;case 0x1:this[_0x84f0da(0x2a9)](_0x49444d);break;case 0x2:this[_0x84f0da(0x300)](_0x49444d);break;}}[_0x3c1166(0x304)](_0x1c6e6f){const _0x2477e0=_0x3c1166,{unitIDs:_0x2ae37f,memberID:_0x3d2af6,isForwarded:_0xa8bd3c}=_0x1c6e6f;_0x2ae37f[_0x2477e0(0x20f)](_0x78497a=>{const _0x668b8a=_0x2477e0;if(!_0xa8bd3c&&this[_0x668b8a(0x319)]['has'](_0x78497a)&&this[_0x668b8a(0x1ef)](_0x78497a)[_0x668b8a(0x310)](u[_0x668b8a(0x264)][_0x668b8a(0x379)]),!this['_unitOnClients']['has'](_0x78497a)||!this[_0x668b8a(0x319)][_0x668b8a(0x309)](_0x78497a)[_0x668b8a(0x1c9)](_0x3d2af6)){const _0x3513c5=this[_0x668b8a(0x319)]['get'](_0x78497a)||new Set();_0x3513c5['add'](_0x3d2af6),this[_0x668b8a(0x319)][_0x668b8a(0x427)](_0x78497a,_0x3513c5),this[_0x668b8a(0x28b)](_0x3d2af6);}}),_0xa8bd3c||this[_0x2477e0(0x430)]({'type':0x0,'memberID':this[_0x2477e0(0x3da)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3c1166(0x28b)](_0xcded61){const _0x31dd54=_0x3c1166;this[_0x31dd54(0x3c6)](_0xcded61);const _0x2d4394=window[_0x31dd54(0x3ce)](()=>{const _0x4846b8=_0x31dd54;this[_0x4846b8(0x319)][_0x4846b8(0x20f)](_0x279395=>{const _0xa188c6=_0x4846b8;_0x279395[_0xa188c6(0x2d5)](_0xcded61);});},Pe*0x2);this['_clearOtherTimers'][_0x31dd54(0x427)](_0xcded61,_0x2d4394);}['_removeClearOtherTimer'](_0xa0d7ae){const _0x2fecaa=_0x3c1166;if(this[_0x2fecaa(0x31d)][_0x2fecaa(0x1c9)](_0xa0d7ae)){const _0x6f9f6a=this[_0x2fecaa(0x31d)]['get'](_0xa0d7ae);_0x6f9f6a&&window[_0x2fecaa(0x32e)](_0x6f9f6a),this['_clearOtherTimers'][_0x2fecaa(0x427)](_0xa0d7ae,null);}}[_0x3c1166(0x2a9)](_0x24d00c){const _0x380d30=_0x3c1166,{memberID:_0x3cc8a0,unitIDs:_0x178c63}=_0x24d00c;_0x178c63['forEach'](_0x4cb2ab=>{const _0x4a1ecf=_0xc689;var _0x440ed4;const _0x554151=this['_unitOnClients'][_0x4a1ecf(0x309)](_0x4cb2ab);_0x554151&&(_0x554151[_0x4a1ecf(0x2d5)](_0x3cc8a0),(_0x440ed4=this[_0x4a1ecf(0x1ef)](_0x4cb2ab))==null||_0x440ed4[_0x4a1ecf(0x310)](_0x554151[_0x4a1ecf(0x334)]===0x0?u[_0x4a1ecf(0x264)]['NO_OTHER_CLIENTS_EDITING']:u[_0x4a1ecf(0x264)][_0x4a1ecf(0x379)]));}),this[_0x380d30(0x3c6)](_0x3cc8a0);}[_0x3c1166(0x300)](_0x35ee82){const _0x2572a4=_0x3c1166;this[_0x2572a4(0x28b)](_0x35ee82[_0x2572a4(0x35b)]);}[_0x3c1166(0x430)](_0x451a11){const _0x5ab737=_0x3c1166;localStorage[_0x5ab737(0x22d)](we,JSON['stringify'](_0x451a11));}[_0x3c1166(0x276)](){const _0x180d6e=_0x3c1166;this['_heartbeatTimer']=window[_0x180d6e(0x2ec)](()=>{const _0x466e20=_0x180d6e;this[_0x466e20(0x430)]({'type':0x2,'memberID':this['_id']});},Pe);}['_ensureSubject'](_0x30b31a){const _0x20e28f=_0x3c1166;return this['_unitStatus'][_0x20e28f(0x1c9)](_0x30b31a)||this[_0x20e28f(0x364)][_0x20e28f(0x427)](_0x30b31a,new d[(_0x20e28f(0x401))](u[_0x20e28f(0x264)][_0x20e28f(0x392)])),this['_unitStatus']['get'](_0x30b31a);}}var Be=(_0x5f287b=>(_0x5f287b[_0x5f287b['UNDEFINED']=0x0]=_0x3c1166(0x359),_0x5f287b[_0x5f287b['OK']=0x1]='OK',_0x5f287b[_0x5f287b[_0x3c1166(0x35c)]=0x2]=_0x3c1166(0x35c),_0x5f287b[_0x5f287b[_0x3c1166(0x350)]=0x3]='PERMISSION_DENIED',_0x5f287b[_0x5f287b[_0x3c1166(0x2e4)]=0x4]=_0x3c1166(0x2e4),_0x5f287b[_0x5f287b[_0x3c1166(0x1ff)]=0x5]=_0x3c1166(0x1ff),_0x5f287b[_0x5f287b[_0x3c1166(0x288)]=0x6]='ALREADY_EXISTS',_0x5f287b[_0x5f287b['INVALID_ARGUMENT']=0x7]=_0x3c1166(0x26f),_0x5f287b[_0x5f287b[_0x3c1166(0x2b6)]=0x8]=_0x3c1166(0x2b6),_0x5f287b[_0x5f287b['COMPLETION_FINISHED']=0x9]=_0x3c1166(0x410),_0x5f287b[_0x5f287b['LOGIN_FAILED']=0xa]=_0x3c1166(0x33e),_0x5f287b[_0x5f287b[_0x3c1166(0x3ca)]=0x1389]=_0x3c1166(0x3ca),_0x5f287b[_0x5f287b[_0x3c1166(0x3a6)]=0x1771]=_0x3c1166(0x3a6),_0x5f287b[_0x5f287b[_0x3c1166(0x291)]=0x1772]=_0x3c1166(0x291),_0x5f287b[_0x5f287b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5f287b[_0x5f287b[_0x3c1166(0x377)]=0x1b59]='APPLY_REJECT',_0x5f287b[_0x5f287b[_0x3c1166(0x31b)]=0x1b5a]=_0x3c1166(0x31b),_0x5f287b[_0x5f287b[_0x3c1166(0x374)]=0x1b5b]=_0x3c1166(0x374),_0x5f287b[_0x5f287b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3c1166(0x270),_0x5f287b[_0x5f287b[_0x3c1166(0x38d)]=0x1b5d]=_0x3c1166(0x38d),_0x5f287b[_0x5f287b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3c1166(0x34a),_0x5f287b[_0x5f287b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3c1166(0x335),_0x5f287b[_0x5f287b[_0x3c1166(0x3e2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5f287b[_0x5f287b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5f287b[_0x5f287b[_0x3c1166(0x1e0)]=0x232c]=_0x3c1166(0x1e0),_0x5f287b[_0x5f287b[_0x3c1166(0x225)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5f287b[_0x5f287b[_0x3c1166(0x34e)]=0x2711]=_0x3c1166(0x34e),_0x5f287b[_0x5f287b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3c1166(0x29b),_0x5f287b[_0x5f287b[_0x3c1166(0x2c7)]=0x2713]=_0x3c1166(0x2c7),_0x5f287b[_0x5f287b[_0x3c1166(0x438)]=0x2714]=_0x3c1166(0x438),_0x5f287b[_0x5f287b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3c1166(0x1c1),_0x5f287b[_0x5f287b[_0x3c1166(0x27f)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5f287b[_0x5f287b[_0x3c1166(0x3f9)]=0x2ee2]='INVALID_INVITE_CODE',_0x5f287b[_0x5f287b[_0x3c1166(0x408)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5f287b[_0x5f287b[_0x3c1166(0x1e6)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5f287b[_0x5f287b[_0x3c1166(0x287)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5f287b[_0x5f287b[_0x3c1166(0x3ec)]=-0x1]=_0x3c1166(0x3ec),_0x5f287b))(Be||{}),hs=Object[_0x3c1166(0x344)],_s=(_0x3295a2,_0x5ad06e,_0x5012f4,_0x4589cb)=>{const _0x24fc11=_0x3c1166;for(var _0x2ce1ba=_0x4589cb>0x1?void 0x0:_0x4589cb?hs(_0x5ad06e,_0x5012f4):_0x5ad06e,_0xed6462=_0x3295a2[_0x24fc11(0x43b)]-0x1,_0x5a5b4e;_0xed6462>=0x0;_0xed6462--)(_0x5a5b4e=_0x3295a2[_0xed6462])&&(_0x2ce1ba=_0x5a5b4e(_0x2ce1ba)||_0x2ce1ba);return _0x2ce1ba;},de=(_0x553b81,_0x48caf6)=>(_0x298ff6,_0x5bab25)=>_0x48caf6(_0x298ff6,_0x5bab25,_0x553b81);exports[_0x3c1166(0x3c9)]=class extends a[_0x3c1166(0x2a7)]{constructor(_0x2223fc,_0x408bb2,_0x976a10){const _0x4e9bcd=_0x3c1166;super(),this['_instanceService']=_0x2223fc,this[_0x4e9bcd(0x2b3)]=_0x408bb2,this[_0x4e9bcd(0x1b7)]=_0x976a10;}async[_0x3c1166(0x2eb)](_0x333a20,_0x256af4,_0xf32b49,..._0x33803a){const _0x503a39=_0x3c1166;var _0x460ab2,_0xe45a8b,_0x6b1fba,_0x206126;const _0x39d5ac=this[_0x503a39(0x2b9)]['getFocusedUnit']();if(!_0x39d5ac)throw new Error(_0x503a39(0x1cb));const _0x534053=((_0x460ab2=this['_configService'][_0x503a39(0x3e6)](u[_0x503a39(0x1f0)]))!=null?_0x460ab2:u[_0x503a39(0x213)])+'/'+_0x333a20+_0x503a39(0x321)+_0x256af4,_0x1b8a6f=new URL(window[_0x503a39(0x282)][_0x503a39(0x23d)]),_0x47a4cd={'scriptId':_0x333a20,'runId':(_0xe45a8b=_0x1b8a6f[_0x503a39(0x1f8)][_0x503a39(0x309)]('runId'))!=null?_0xe45a8b:'','function':_0x256af4,'unitId':_0x39d5ac['getUnitId'](),'argsOfFunction':JSON[_0x503a39(0x371)](_0x33803a),'invokeId':(_0x6b1fba=_0xf32b49[_0x503a39(0x42a)])!=null?_0x6b1fba:'','executionId':(_0x206126=_0xf32b49['executionId'])!=null?_0x206126:''};try{const _0x3e08f8=await this[_0x503a39(0x2b3)]['post'](_0x534053,{'body':_0x47a4cd});return _0x3e08f8['body']['error']&&_0x3e08f8[_0x503a39(0x442)][_0x503a39(0x324)][_0x503a39(0x1d9)]!==Be['OK']?_0x503a39(0x24a):_0x3e08f8['body'][_0x503a39(0x21a)];}catch{return _0x503a39(0x24a);}}},exports[_0x3c1166(0x3c9)]=_s([de(0x0,a[_0x3c1166(0x3ba)]),de(0x1,a[_0x3c1166(0x238)](q['HTTPService'])),de(0x2,a[_0x3c1166(0x262)])],exports['RemoteUniscriptService']),exports[_0x3c1166(0x30f)]=je,exports[_0x3c1166(0x2be)]=Ee,exports[_0x3c1166(0x3cf)]=Ae,exports[_0x3c1166(0x31f)]=ls,exports[_0x3c1166(0x3b7)]=ke;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const _0x184edf=_0x260c;(function(_0x467dd3,_0xb9b93c){const _0x3c4a0d=_0x260c,_0x3e2bc5=_0x467dd3();while(!![]){try{const _0xe0faa=parseInt(_0x3c4a0d(0x175))/0x1+-parseInt(_0x3c4a0d(0x176))/0x2+parseInt(_0x3c4a0d(0x174))/0x3+-parseInt(_0x3c4a0d(0x177))/0x4*(-parseInt(_0x3c4a0d(0x179))/0x5)+parseInt(_0x3c4a0d(0x170))/0x6+-parseInt(_0x3c4a0d(0x173))/0x7*(-parseInt(_0x3c4a0d(0x16f))/0x8)+-parseInt(_0x3c4a0d(0x171))/0x9;if(_0xe0faa===_0xb9b93c)break;else _0x3e2bc5['push'](_0x3e2bc5['shift']());}catch(_0x4263a1){_0x3e2bc5['push'](_0x3e2bc5['shift']());}}}(_0x3d05,0x5bea8));function _0x260c(_0x386204,_0x3e5b5b){const _0x3d0526=_0x3d05();return _0x260c=function(_0x260c51,_0x1e94d2){_0x260c51=_0x260c51-0x168;let _0x57f1d7=_0x3d0526[_0x260c51];return _0x57f1d7;},_0x260c(_0x386204,_0x3e5b5b);}function _0x3d05(){const _0x1e980f=['Authentication\x20Error','Collaboration\x20Conflict','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','104VMnyAM','492240FTOyQA','3414762FZtjPa','Click\x20to\x20Reconnect','128695fTuoyC','749157GMkNUu','302813MnrXjI','1467450lGQGPY','4wUysrf','Syncing...','3080270qyTEOH','Connection\x20failed,\x20please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','exports'];_0x3d05=function(){return _0x1e980f;};return _0x3d05();}const e={'collab-client':{'tooltip':{'reconnect':_0x184edf(0x172)}},'collabStatus':{'fetchMiss':_0x184edf(0x17e),'conflict':'Edit\x20conflicts','notCollab':_0x184edf(0x16d),'synced':'Synced','syncing':_0x184edf(0x178),'offline':_0x184edf(0x16c)},'session':{'connection-failed':_0x184edf(0x17a),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x184edf(0x16b),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x184edf(0x16a),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x184edf(0x169),'content':_0x184edf(0x16e)},'collaboration':{'single-unit':{'warning':_0x184edf(0x17d)},'closeRoom':_0x184edf(0x17c)},'auth':{'needGotoLoginAlert':_0x184edf(0x17b)}};module[_0x184edf(0x168)]=e;
|