@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505031606 → 0.7.0-nightly.202505051607
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 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x3f71(){const _0x4bc91a=['44721kayVpv','184TYmGaf','93360HAqsst','@univerjs/core/facade','_injector','get','RemoteUniscriptService','@univerjs-pro/collaboration-client-ui','11034OCfzVX','990lqXfKT','runOnServer','495LRpIdk','70007Hkjydy','100DWTsFs','30sPypwf','442970QSfOLh','3337919DXVsmS','extend','16WGQMDn','13562TTnMFe'];_0x3f71=function(){return _0x4bc91a;};return _0x3f71();}const _0x1e74b8=_0x1e5f;(function(_0x38d154,_0x407d13){const _0x417bf6=_0x1e5f,_0x1658d0=_0x38d154();while(!![]){try{const _0x110c67=parseInt(_0x417bf6(0x18e))/0x1*(parseInt(_0x417bf6(0x18d))/0x2)+-parseInt(_0x417bf6(0x18f))/0x3*(parseInt(_0x417bf6(0x188))/0x4)+parseInt(_0x417bf6(0x18a))/0x5*(-parseInt(_0x417bf6(0x189))/0x6)+parseInt(_0x417bf6(0x187))/0x7*(parseInt(_0x417bf6(0x190))/0x8)+-parseInt(_0x417bf6(0x183))/0x9*(-parseInt(_0x417bf6(0x184))/0xa)+-parseInt(_0x417bf6(0x186))/0xb*(-parseInt(_0x417bf6(0x191))/0xc)+parseInt(_0x417bf6(0x18b))/0xd;if(_0x110c67===_0x407d13)break;else _0x1658d0['push'](_0x1658d0['shift']());}catch(_0x4c0a41){_0x1658d0['push'](_0x1658d0['shift']());}}}(_0x3f71,0x3d4e7));const t=require(_0x1e74b8(0x182)),e=require(_0x1e74b8(0x192));function _0x1e5f(_0x1fa134,_0x5653a0){const _0x3f71d9=_0x3f71();return _0x1e5f=function(_0x1e5f49,_0x2deef7){_0x1e5f49=_0x1e5f49-0x181;let _0x30e95c=_0x3f71d9[_0x1e5f49];return _0x30e95c;},_0x1e5f(_0x1fa134,_0x5653a0);}class c extends e['FUniver']{[_0x1e74b8(0x185)](_0x1dd7fa,_0x21e722,..._0xd0a2d8){const _0x3f895b=_0x1e74b8;return this[_0x3f895b(0x193)][_0x3f895b(0x194)](t[_0x3f895b(0x181)])[_0x3f895b(0x185)](_0x1dd7fa,_0x21e722,{},..._0xd0a2d8);}}e['FUniver'][_0x1e74b8(0x18c)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4a64d1=_0x31bb;(function(_0x3fed42,_0x55b7bb){const _0x52c6c3=_0x31bb,_0x422c0a=_0x3fed42();while(!![]){try{const _0xfa603d=-parseInt(_0x52c6c3(0x20d))/0x1*(parseInt(_0x52c6c3(0x2d2))/0x2)+-parseInt(_0x52c6c3(0x132))/0x3*(-parseInt(_0x52c6c3(0x256))/0x4)+-parseInt(_0x52c6c3(0x3a3))/0x5+-parseInt(_0x52c6c3(0x23e))/0x6+-parseInt(_0x52c6c3(0x2f1))/0x7*(parseInt(_0x52c6c3(0x2d3))/0x8)+-parseInt(_0x52c6c3(0x181))/0x9*(parseInt(_0x52c6c3(0x313))/0xa)+parseInt(_0x52c6c3(0x1e4))/0xb;if(_0xfa603d===_0x55b7bb)break;else _0x422c0a['push'](_0x422c0a['shift']());}catch(_0x498379){_0x422c0a['push'](_0x422c0a['shift']());}}}(_0x5436,0xa9f3f));var Ve=Object[_0x4a64d1(0x35b)],Xe=(_0x334985,_0x3eb5ff,_0x34e9b9)=>_0x3eb5ff in _0x334985?Ve(_0x334985,_0x3eb5ff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34e9b9}):_0x334985[_0x3eb5ff]=_0x34e9b9,h=(_0x1fb44e,_0x50117c,_0x212bd8)=>Xe(_0x1fb44e,typeof _0x50117c!=_0x4a64d1(0x211)?_0x50117c+'':_0x50117c,_0x212bd8);Object[_0x4a64d1(0x35b)](exports,Symbol['toStringTag'],{'value':_0x4a64d1(0x2c3)});const u=require(_0x4a64d1(0x223)),a=require(_0x4a64d1(0x2b1)),p=require('@univerjs/engine-render'),G=require(_0x4a64d1(0x1da)),b=require('@univerjs/docs-ui'),Ge=require(_0x4a64d1(0x38c)),d=require(_0x4a64d1(0x38b)),F=require(_0x4a64d1(0x34d)),m=require('@univerjs-pro/collaboration'),Ee=require(_0x4a64d1(0x25b)),g=require(_0x4a64d1(0x288)),$=require(_0x4a64d1(0x244)),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),T=require(_0x4a64d1(0x21d)),D=require(_0x4a64d1(0x2e4)),M=require(_0x4a64d1(0x265)),Ke=require(_0x4a64d1(0x2fb));var qe=Object[_0x4a64d1(0x26f)],ze=(_0x3de4f0,_0x27baab,_0x3bcd52,_0x1325f2)=>{const _0x12ac62=_0x4a64d1;for(var _0x54a1b0=_0x1325f2>0x1?void 0x0:_0x1325f2?qe(_0x27baab,_0x3bcd52):_0x27baab,_0x2b4db6=_0x3de4f0[_0x12ac62(0x159)]-0x1,_0x2125cd;_0x2b4db6>=0x0;_0x2b4db6--)(_0x2125cd=_0x3de4f0[_0x2b4db6])&&(_0x54a1b0=_0x2125cd(_0x54a1b0)||_0x54a1b0);return _0x54a1b0;},Te=(_0x104261,_0x429e90)=>(_0x48cbea,_0x4052cd)=>_0x429e90(_0x48cbea,_0x4052cd,_0x104261);let de=class extends a[_0x4a64d1(0x20b)]{constructor(_0x3b5af3,_0x20d94b){const _0x322c6c=_0x4a64d1;super(),this[_0x322c6c(0x2ef)]=_0x3b5af3,this[_0x322c6c(0x27e)]=_0x20d94b,this['_init']();}[_0x4a64d1(0x240)](){const _0x65b927=_0x4a64d1,_0x3db941=this;this[_0x65b927(0x1ba)](this[_0x65b927(0x2ef)]['addClipboardHook']({'onBeforePasteImage':async _0x27273d=>{const _0x4718cc=_0x65b927,_0x2abb0c=await _0x3db941[_0x4718cc(0x27e)][_0x4718cc(0x26a)](_0x27273d);return _0x2abb0c?{'source':_0x2abb0c[_0x4718cc(0x138)],'imageSourceType':_0x2abb0c[_0x4718cc(0x233)]}:null;}}));}};de=ze([Te(0x0,b[_0x4a64d1(0x167)]),Te(0x1,Ge['IImageIoService'])],de);const Oe=[_0x4a64d1(0x184),_0x4a64d1(0x2a9),_0x4a64d1(0x270),_0x4a64d1(0x1ac),'blue400',_0x4a64d1(0x325)];class me extends a['Disposable']{constructor(){const _0xaba0c7=_0x4a64d1;super(...arguments),h(this,_0xaba0c7(0x216),new Map()),h(this,_0xaba0c7(0x398),0x0);}[_0x4a64d1(0x150)](_0x4d68cd){const _0x268c96=_0x4a64d1;if(this[_0x268c96(0x216)][_0x268c96(0x158)](_0x4d68cd))return this[_0x268c96(0x216)][_0x268c96(0x2df)](_0x4d68cd);const _0x204b86=Oe[this['_colorIndex']];return this[_0x268c96(0x398)]=(this['_colorIndex']+0x1)%Oe['length'],this[_0x268c96(0x216)][_0x268c96(0x207)](_0x4d68cd,_0x204b86),_0x204b86;}}function Pe(_0x57a3af){const _0x569e2d=_0x4a64d1;let _0x1acdc9='';for(const _0x3c4a3a of _0x57a3af){const {startOffset:_0x5d87b4,endOffset:_0x1b3964,isActive:_0x411661,rangeType:_0x87d6c,segmentId:_0x508580,segmentPage:_0x2c3a67}=_0x3c4a3a;_0x1acdc9[_0x569e2d(0x159)]&&(_0x1acdc9+=','),_0x1acdc9+=_0x5d87b4+':'+_0x1b3964+':'+(_0x411661?'1':'0')+':'+_0x87d6c+':'+_0x508580+':'+_0x2c3a67;}return _0x1acdc9;}function Je(_0xf9cdd1){const _0x5b88a3=_0x4a64d1,_0x19d5af=_0xf9cdd1[_0x5b88a3(0x29c)](','),_0x47834e=[];for(const _0x4b3d0a of _0x19d5af){const [_0x2e9668,_0x249387,_0x503c9b,_0x18396f,_0x33d7c8,_0x2ed6f5]=_0x4b3d0a[_0x5b88a3(0x29c)](':');_0x47834e[_0x5b88a3(0x24c)]({'startOffset':Number(_0x2e9668),'endOffset':Number(_0x249387),'collapsed':_0x2e9668===_0x249387,'isActive':_0x503c9b==='1','rangeType':_0x18396f===a['DOC_RANGE_TYPE']['TEXT']?a[_0x5b88a3(0x1ef)][_0x5b88a3(0x212)]:a[_0x5b88a3(0x1ef)][_0x5b88a3(0x315)],'segmentId':typeof _0x33d7c8==_0x5b88a3(0x209)?String(_0x33d7c8):'','segmentPage':Number(_0x2ed6f5!=null?_0x2ed6f5:-0x1)});}return _0x47834e[_0x5b88a3(0x1f7)](_0x261f69=>_0x261f69['isActive'])||(_0x47834e[0x0][_0x5b88a3(0x121)]=!0x0),_0x47834e;}class Ce extends a[_0x4a64d1(0x20b)]{constructor(){const _0x408c46=_0x4a64d1;super(...arguments),h(this,'_collabCursorState$',new d[(_0x408c46(0x32d))](null)),h(this,_0x408c46(0x22a),this[_0x408c46(0x384)]['asObservable']());}['syncEditingCollabCursor'](_0x2e5867){const _0x50be78=_0x4a64d1,{unitID:_0x3ef969,memberID:_0x38a4fa,textRanges:_0x46b7bd}=_0x2e5867,_0x4ce895=Pe(_0x46b7bd);if(_0x4ce895==='')return;const _0xd07e87={'unitID':_0x3ef969,'memberID':_0x38a4fa,'selection':_0x4ce895};this[_0x50be78(0x384)][_0x50be78(0x14f)](_0xd07e87);}}var Ze=Object[_0x4a64d1(0x26f)],Qe=(_0x36f4f3,_0x692d33,_0x36ea9f,_0x2d2738)=>{const _0x49386e=_0x4a64d1;for(var _0x10e92a=_0x2d2738>0x1?void 0x0:_0x2d2738?Ze(_0x692d33,_0x36ea9f):_0x692d33,_0x347d61=_0x36f4f3[_0x49386e(0x159)]-0x1,_0xa6abec;_0x347d61>=0x0;_0x347d61--)(_0xa6abec=_0x36f4f3[_0x347d61])&&(_0x10e92a=_0xa6abec(_0x10e92a)||_0x10e92a);return _0x10e92a;},L=(_0x3d3847,_0x1fbbfc)=>(_0x498a56,_0x51aef4)=>_0x1fbbfc(_0x498a56,_0x51aef4,_0x3d3847);const et=0x12c,tt=0x64;let fe=class extends a[_0x4a64d1(0x20b)]{constructor(_0xe90596,_0x374376,_0x4be751,_0x52605c,_0x2a850d,_0x2ad381,_0x5f0bc5,_0x2782c7,_0x142118){const _0x409d6d=_0x4a64d1;super(),h(this,_0x409d6d(0x1d7),!0x1),h(this,_0x409d6d(0x240),!0x1),h(this,_0x409d6d(0x2a5),new d[(_0x409d6d(0x32d))](new Map())),h(this,_0x409d6d(0x169),this[_0x409d6d(0x2a5)][_0x409d6d(0x238)]()),h(this,_0x409d6d(0x144),new d[(_0x409d6d(0x32d))]([])),h(this,_0x409d6d(0x2d4),this[_0x409d6d(0x144)][_0x409d6d(0x11d)](d[_0x409d6d(0x36b)](et))),h(this,_0x409d6d(0x338),a['debounce'](_0x343c72=>{const _0x2883bb=_0x409d6d,_0x2d1826={'eventID':m[_0x2883bb(0x2a3)][_0x2883bb(0x28d)],'data':{'unitID':this['unitID'],'memberID':this[_0x2883bb(0x2c9)][_0x2883bb(0x16e)](),'selection':Pe(_0x343c72)}};this[_0x2883bb(0x2c9)][_0x2883bb(0x2ed)](_0x2d1826,this[_0x2883bb(0x14b)]);},tt)),(this[_0x409d6d(0x14b)]=_0xe90596,this[_0x409d6d(0x2c9)]=_0x374376,this['_injector']=_0x4be751,this['_colorAssignService']=_0x52605c,this[_0x409d6d(0x1fa)]=_0x2a850d,this['_syncEditingCollabCursorService']=_0x2ad381,this['_transformService']=_0x5f0bc5,this[_0x409d6d(0x272)]=_0x2782c7,this[_0x409d6d(0x147)]=_0x142118);}get[_0x4a64d1(0x22b)](){const _0x34620f=_0x4a64d1;return this[_0x34620f(0x2a5)]['getValue']();}get[_0x4a64d1(0x285)](){const _0x2571eb=_0x4a64d1;return this[_0x2571eb(0x144)][_0x2571eb(0x224)]();}[_0x4a64d1(0x197)](){const _0x15b292=_0x4a64d1;super[_0x15b292(0x197)](),this[_0x15b292(0x2a5)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x15b292(0x144)][_0x15b292(0x14f)]([]),this[_0x15b292(0x144)][_0x15b292(0x281)]();}[_0x4a64d1(0x2fa)](){const _0x3d5148=_0x4a64d1;this[_0x3d5148(0x240)]||(this[_0x3d5148(0x240)]=!0x0,this['_session']['sessionStatus$'][_0x3d5148(0x11d)](d['takeUntil'](this['dispose$']))[_0x3d5148(0x1d2)](_0x4c895e=>{const _0x484891=_0x3d5148;_0x4c895e===u[_0x484891(0x308)][_0x484891(0x1e5)]?this['_toggleOnline']():this[_0x484891(0x2f4)]();}),this['_session']['event$'][_0x3d5148(0x11d)](d[_0x3d5148(0x11a)](this['dispose$']))[_0x3d5148(0x1d2)](_0x1628be=>{const _0x2d72b5=_0x3d5148,_0x3eb88e=_0x1628be[_0x2d72b5(0x14c)];_0x3eb88e===m[_0x2d72b5(0x2a3)][_0x2d72b5(0x28d)]&&this['_onCursorUpdate'](_0x1628be),_0x3eb88e===m[_0x2d72b5(0x2a3)][_0x2d72b5(0x19b)]&&this[_0x2d72b5(0x24d)](_0x1628be);}),this['disposeWithMe'](this[_0x3d5148(0x147)][_0x3d5148(0x297)](_0x2253f6=>{const _0x34299d=_0x3d5148,_0x3b09d3=_0x2253f6[_0x34299d(0x30d)];_0x3b09d3!=null&&this[_0x34299d(0x1d7)]&&_0x2253f6['id']===F['SetTextSelectionsOperation']['id']&&_0x3b09d3[_0x34299d(0x123)]===this[_0x34299d(0x14b)]&&_0x3b09d3[_0x34299d(0x137)]===!0x1&&_0x3b09d3[_0x34299d(0x16f)][_0x34299d(0x159)]>0x0&&this['_updateLocalCursor'](_0x3b09d3[_0x34299d(0x16f)]);})),this[_0x3d5148(0x2e7)][_0x3d5148(0x22a)][_0x3d5148(0x11d)](d['takeUntil'](this[_0x3d5148(0x298)]))[_0x3d5148(0x1d2)](_0x233f26=>{const _0x3291a6=_0x3d5148;if((_0x233f26==null?void 0x0:_0x233f26[_0x3291a6(0x14b)])!==this['unitID'])return;const _0x42a2e7={'eventID':m[_0x3291a6(0x2a3)][_0x3291a6(0x28d)],'data':_0x233f26};this[_0x3291a6(0x30c)](_0x42a2e7);}),this[_0x3d5148(0x1ba)](this['_commandService'][_0x3d5148(0x297)](_0x4b51a3=>{const _0x3ccf3d=_0x3d5148;if(_0x4b51a3[_0x3ccf3d(0x30d)]==null)return;const _0x62f9f3=_0x4b51a3['params'];if(_0x4b51a3['id']!==F['RichTextEditingMutation']['id']||_0x62f9f3[_0x3ccf3d(0x123)]!==this[_0x3ccf3d(0x14b)])return;const _0x494906={'id':'doc.mutation.rich-text-editing','params':_0x62f9f3},_0x153d3b=this[_0x3ccf3d(0x22b)];for(const [_0x27fa27,_0xee79c7]of _0x153d3b){const _0x20dfce={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3ccf3d(0x14b)],'actions':null,'textRanges':_0xee79c7[_0x3ccf3d(0x16f)]}},_0x4d2125=this['_transformService']['transformMutation'](_0x494906,_0x20dfce,!0x1);if(m['isTransformMutationFailure'](_0x4d2125))throw _0x4d2125[_0x3ccf3d(0x201)];_0x153d3b[_0x3ccf3d(0x207)](_0x27fa27,{..._0xee79c7,'ranges':_0x4d2125[_0x3ccf3d(0x273)][_0x3ccf3d(0x30d)][_0x3ccf3d(0x360)]});}queueMicrotask(()=>{const _0x3557ce=_0x3ccf3d;this[_0x3557ce(0x2a5)]['next'](_0x153d3b);});})));}[_0x4a64d1(0x30c)](_0x19247c){const _0x2212ae=_0x4a64d1;var _0x307c4f,_0x25e664;const {memberID:_0x57a4b7,selection:_0x2edb45}=_0x19247c[_0x2212ae(0x2b8)],_0x1e3c3d=Je(_0x2edb45),_0x48022e=(_0x25e664=(_0x307c4f=this[_0x2212ae(0x1fa)]['getMember'](this[_0x2212ae(0x14b)],_0x57a4b7))==null?void 0x0:_0x307c4f[_0x2212ae(0x118)])!=null?_0x25e664:_0x2212ae(0x125),_0x4de770={'color':this[_0x2212ae(0x114)][_0x2212ae(0x150)](_0x57a4b7),'name':_0x48022e,'ranges':_0x1e3c3d},_0x4a9ab0=this[_0x2212ae(0x22b)];_0x4a9ab0[_0x2212ae(0x207)](_0x57a4b7,_0x4de770),this[_0x2212ae(0x2a5)][_0x2212ae(0x14f)](_0x4a9ab0);}[_0x4a64d1(0x24d)](_0x18d252){const _0x2aa475=_0x4a64d1,{memberID:_0x594f77}=_0x18d252[_0x2aa475(0x2b8)],_0x3cf22f=this['cursorInfo'];_0x3cf22f[_0x2aa475(0x27b)](_0x594f77),this[_0x2aa475(0x2a5)][_0x2aa475(0x14f)](_0x3cf22f);}[_0x4a64d1(0x2bd)](){const _0xc54f9=_0x4a64d1;var _0x1c0be5;if(this['_online']=!0x0,((_0x1c0be5=this[_0xc54f9(0x272)][_0xc54f9(0x1dc)]())==null?void 0x0:_0x1c0be5[_0xc54f9(0x129)]())!==this[_0xc54f9(0x14b)])return;const _0x15e37e=this['_injector'][_0xc54f9(0x2df)](F[_0xc54f9(0x39e)])[_0xc54f9(0x222)]();Array[_0xc54f9(0x387)](_0x15e37e)&&_0x15e37e[_0xc54f9(0x159)]>0x0&&this[_0xc54f9(0x338)](_0x15e37e);}[_0x4a64d1(0x2f4)](){const _0x20502c=_0x4a64d1;this[_0x20502c(0x1d7)]=!0x1;}};fe=Qe([L(0x2,a[_0x4a64d1(0x34b)](a[_0x4a64d1(0x1c8)])),L(0x3,a['Inject'](me)),L(0x4,a[_0x4a64d1(0x34b)](u[_0x4a64d1(0x318)])),L(0x5,a[_0x4a64d1(0x34b)](Ce)),L(0x6,m[_0x4a64d1(0x2d1)]),L(0x7,a['IUniverInstanceService']),L(0x8,a[_0x4a64d1(0x268)])],fe);var st=Object[_0x4a64d1(0x26f)],it=(_0x290a39,_0x4fb0a5,_0x2da551,_0x486796)=>{const _0x2a64ef=_0x4a64d1;for(var _0x15ee31=_0x486796>0x1?void 0x0:_0x486796?st(_0x4fb0a5,_0x2da551):_0x4fb0a5,_0x3786e4=_0x290a39[_0x2a64ef(0x159)]-0x1,_0x5f0b7e;_0x3786e4>=0x0;_0x3786e4--)(_0x5f0b7e=_0x290a39[_0x3786e4])&&(_0x15ee31=_0x5f0b7e(_0x15ee31)||_0x15ee31);return _0x15ee31;},w=(_0x440afb,_0x3d9c46)=>(_0x2b57b0,_0x2c0f72)=>_0x3d9c46(_0x2b57b0,_0x2c0f72,_0x440afb);const nt=0x12c,rt=0x64,ot=()=>{let _0x4295ab=[],_0x31be7a=!0x1;return _0x259f61=>{const _0x4d2643=_0x31bb;_0x4295ab[_0x4d2643(0x24c)](_0x259f61),_0x31be7a||(_0x31be7a=!0x0,setTimeout(()=>{_0x4295ab['forEach'](_0x145cf2=>_0x145cf2()),_0x4295ab=[],_0x31be7a=!0x1;}));};};let Se=class extends a[_0x4a64d1(0x20b)]{constructor(_0x180b07,_0x4346d9,_0x1b546f,_0x1fb595,_0x36b265,_0x22de8a,_0xf7a5b8,_0x575dcb){const _0x4ea3c0=_0x4a64d1;super(),h(this,'_online',!0x1),h(this,_0x4ea3c0(0x240),!0x1),h(this,'_cursorInfo$',new d[(_0x4ea3c0(0x32d))](new Map())),h(this,_0x4ea3c0(0x169),this[_0x4ea3c0(0x2a5)][_0x4ea3c0(0x238)]()),h(this,_0x4ea3c0(0x144),new d[(_0x4ea3c0(0x32d))]([])),h(this,_0x4ea3c0(0x2d4),this[_0x4ea3c0(0x144)]['pipe'](d[_0x4ea3c0(0x36b)](nt))),h(this,_0x4ea3c0(0x338),a['debounce']((_0x36ca8a,_0x2356bd)=>{const _0x4bcefd=_0x4ea3c0,_0x593cc3={'eventID':m[_0x4bcefd(0x2a3)][_0x4bcefd(0x28d)],'data':{'unitID':this['unitID'],'memberID':this[_0x4bcefd(0x2c9)][_0x4bcefd(0x16e)](),'selection':Ee[_0x4bcefd(0x300)](_0x36ca8a,_0x2356bd[_0x4bcefd(0x1de)])}};this[_0x4bcefd(0x2c9)]['send'](_0x593cc3,this[_0x4bcefd(0x14b)]);},rt)),(this[_0x4ea3c0(0x14b)]=_0x180b07,this[_0x4ea3c0(0x2c9)]=_0x4346d9,this[_0x4ea3c0(0x2bf)]=_0x1b546f,this[_0x4ea3c0(0x114)]=_0x1fb595,this[_0x4ea3c0(0x1fa)]=_0x36b265,this[_0x4ea3c0(0x272)]=_0x22de8a,this[_0x4ea3c0(0x147)]=_0xf7a5b8,this[_0x4ea3c0(0x130)]=_0x575dcb);}get[_0x4a64d1(0x22b)](){const _0x40cad8=_0x4a64d1;return this[_0x40cad8(0x2a5)][_0x40cad8(0x224)]();}get[_0x4a64d1(0x285)](){const _0x679bcb=_0x4a64d1;return this[_0x679bcb(0x144)][_0x679bcb(0x224)]();}[_0x4a64d1(0x197)](){const _0x1004bb=_0x4a64d1;super['dispose'](),this[_0x1004bb(0x2a5)][_0x1004bb(0x14f)](new Map()),this['_cursorInfo$']['complete'](),this[_0x1004bb(0x144)]['next']([]),this[_0x1004bb(0x144)]['complete']();}[_0x4a64d1(0x2fa)](){const _0x558d72=_0x4a64d1;this['_init']||(this[_0x558d72(0x240)]=!0x0,this['_session']['sessionStatus$']['pipe'](d[_0x558d72(0x11a)](this[_0x558d72(0x298)]))[_0x558d72(0x1d2)](_0x4dd1b0=>{const _0x174884=_0x558d72;_0x4dd1b0===u[_0x174884(0x308)][_0x174884(0x1e5)]?this[_0x174884(0x2bd)]():this[_0x174884(0x2f4)]();}),this[_0x558d72(0x2c9)][_0x558d72(0x388)][_0x558d72(0x11d)](d[_0x558d72(0x11a)](this[_0x558d72(0x298)]))[_0x558d72(0x1d2)](_0x5a3637=>{const _0x2e08f9=_0x558d72,_0x30805f=_0x5a3637[_0x2e08f9(0x14c)];_0x30805f===m[_0x2e08f9(0x2a3)][_0x2e08f9(0x28d)]&&this[_0x2e08f9(0x30c)](_0x5a3637),_0x30805f===m[_0x2e08f9(0x2a3)][_0x2e08f9(0x19b)]&&this[_0x2e08f9(0x24d)](_0x5a3637);}),this['_onRefRangeChange'](),this[_0x558d72(0x1ba)](this[_0x558d72(0x147)]['onCommandExecuted'](_0x347982=>{const _0x47f516=_0x558d72;if(this[_0x47f516(0x1d7)]&&_0x347982['id']===g[_0x47f516(0x2ee)]['id']&&_0x347982[_0x47f516(0x30d)][_0x47f516(0x123)]===this[_0x47f516(0x14b)]){const _0x2d9af0=_0x347982[_0x47f516(0x30d)];this[_0x47f516(0x338)](_0x2d9af0[_0x47f516(0x231)],_0x2d9af0[_0x47f516(0x359)][0x0]);}})));}[_0x4a64d1(0x30c)](_0x10aab0){const _0x39152c=_0x4a64d1;var _0x22a52b,_0x34d49d;const {memberID:_0xd8c40a,selection:_0x41263a}=_0x10aab0[_0x39152c(0x2b8)],{sheetName:_0x5970b8,range:_0x2659b0}=Ee[_0x39152c(0x2ff)](_0x41263a),_0x16f232={'name':(_0x34d49d=(_0x22a52b=this['_memberService'][_0x39152c(0x27f)](this[_0x39152c(0x14b)],_0xd8c40a))==null?void 0x0:_0x22a52b[_0x39152c(0x118)])!=null?_0x34d49d:_0x39152c(0x125),'range':this[_0x39152c(0x310)](_0x5970b8,_0x2659b0),'sheetID':_0x5970b8,'color':this['_colorAssignService'][_0x39152c(0x150)](_0xd8c40a),'selection':_0x41263a},_0x31853e=this[_0x39152c(0x22b)];_0x31853e['set'](_0xd8c40a,_0x16f232),this[_0x39152c(0x2a5)][_0x39152c(0x14f)](_0x31853e);}[_0x4a64d1(0x24d)](_0x527a29){const _0x83b122=_0x4a64d1,{memberID:_0x51ef93}=_0x527a29['data'],_0x3ab9d9=this[_0x83b122(0x22b)];_0x3ab9d9[_0x83b122(0x27b)](_0x51ef93),this[_0x83b122(0x2a5)][_0x83b122(0x14f)](_0x3ab9d9);}[_0x4a64d1(0x310)](_0xe99fe3,_0x54fc44){const _0x5b9568=_0x4a64d1;var _0x58352d,_0xf4076e;const _0x4092dd=(_0xf4076e=(_0x58352d=this[_0x5b9568(0x272)][_0x5b9568(0x1c5)](this[_0x5b9568(0x14b)]))==null?void 0x0:_0x58352d['getSheetBySheetId'](_0xe99fe3))==null?void 0x0:_0xf4076e['getMergeData']();return(_0x4092dd==null?void 0x0:_0x4092dd[_0x5b9568(0x122)](_0x1859e3=>a[_0x5b9568(0x366)]['contains'](_0x1859e3,_0x54fc44)))||_0x54fc44;}['_onRefRangeChange'](){const _0x38d0c4=_0x4a64d1,_0x406049=new a[(_0x38d0c4(0x36c))](),_0x1917fa=ot(),_0x184b76=()=>{const _0x2f95fe=_0x38d0c4;_0x406049[_0x2f95fe(0x197)]();const _0x3c1181=(_0x242718,_0x58fb4d,_0x52baa2,_0x199e1f)=>{const _0x52c93a=_0x2f95fe;let _0x1b4ea4=[];switch(_0x242718['id']){case g[_0x52c93a(0x24f)]['DeleteRangeMoveLeftCommandId']:{_0x1b4ea4=g[_0x52c93a(0x304)](_0x242718,_0x199e1f);break;}case g[_0x52c93a(0x24f)][_0x52c93a(0x25c)]:{_0x1b4ea4=g[_0x52c93a(0x3ac)](_0x242718,_0x199e1f);break;}case g[_0x52c93a(0x24f)]['InsertColCommandId']:{_0x1b4ea4=g[_0x52c93a(0x399)](_0x242718,_0x199e1f);break;}case g[_0x52c93a(0x24f)][_0x52c93a(0x295)]:{_0x1b4ea4=g[_0x52c93a(0x12c)](_0x242718,_0x199e1f);break;}case g['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x1b4ea4=g[_0x52c93a(0x276)](_0x242718,_0x199e1f);break;}case g['EffectRefRangId']['InsertRowCommandId']:{_0x1b4ea4=g[_0x52c93a(0x15e)](_0x242718,_0x199e1f);break;}case g['EffectRefRangId'][_0x52c93a(0x141)]:{_0x1b4ea4=g[_0x52c93a(0x2b2)](_0x242718,_0x199e1f);break;}case g[_0x52c93a(0x24f)][_0x52c93a(0x1d0)]:{_0x1b4ea4=g[_0x52c93a(0x356)](_0x242718,_0x199e1f);break;}case g['EffectRefRangId'][_0x52c93a(0x1b8)]:{_0x1b4ea4=g[_0x52c93a(0x2a1)](_0x242718,_0x199e1f);break;}}const _0xfa5aca=g['runRefRangeMutations'](_0x1b4ea4,_0x199e1f),_0x59cf34=this['cursorInfo']['get'](_0x58fb4d);if(_0x59cf34&&_0xfa5aca){const _0x26adf8={..._0x59cf34,'range':_0xfa5aca};this[_0x52c93a(0x22b)][_0x52c93a(0x207)](_0x58fb4d,_0x26adf8),_0x1917fa(()=>{const _0x5695eb=_0x52c93a,_0x57ac7a=this[_0x5695eb(0x130)][_0x5695eb(0x2d5)](_0xfa5aca,_0x347d88=>(_0x57ac7a[_0x5695eb(0x197)](),_0x3c1181(_0x347d88,_0x58fb4d,_0x52baa2,_0xfa5aca)));_0x406049['add'](_0x57ac7a);});}return{'redos':[],'undos':[]};};this[_0x2f95fe(0x22b)][_0x2f95fe(0x173)]((_0x2c95cc,_0x21d3d3)=>{const _0xc0a510=_0x2f95fe,{range:_0x5e8d63,sheetID:_0x1d4dfc}=_0x2c95cc,_0x4240ec=this[_0xc0a510(0x130)]['registerRefRange'](_0x5e8d63,_0xd493ce=>(_0x4240ec[_0xc0a510(0x197)](),_0x3c1181(_0xd493ce,_0x21d3d3,_0x1d4dfc,_0x5e8d63)));_0x406049['add'](_0x4240ec);});};this[_0x38d0c4(0x1ba)](a[_0x38d0c4(0x37c)](this[_0x38d0c4(0x2a5)][_0x38d0c4(0x1d2)](()=>{_0x184b76();})));}[_0x4a64d1(0x2bd)](){const _0x53f255=_0x4a64d1;var _0x3c66bd,_0x275ec2;if(this[_0x53f255(0x1d7)]=!0x0,((_0x3c66bd=this[_0x53f255(0x272)]['getFocusedUnit']())==null?void 0x0:_0x3c66bd[_0x53f255(0x129)]())!==this[_0x53f255(0x14b)])return;const _0xbf9e1f=(_0x275ec2=this[_0x53f255(0x2bf)][_0x53f255(0x2df)](g[_0x53f255(0x31e)])[_0x53f255(0x35d)]())==null?void 0x0:_0x275ec2[0x0],_0x8b8725=this[_0x53f255(0x272)][_0x53f255(0x2cd)](a[_0x53f255(0x248)]['UNIVER_SHEET'])['getActiveSheet']();_0xbf9e1f&&_0x8b8725&&this[_0x53f255(0x338)](_0x8b8725[_0x53f255(0x2c8)](),_0xbf9e1f);}[_0x4a64d1(0x2f4)](){const _0x5dcd82=_0x4a64d1;this[_0x5dcd82(0x1d7)]=!0x1;}};Se=it([w(0x2,a[_0x4a64d1(0x34b)](a[_0x4a64d1(0x1c8)])),w(0x3,a[_0x4a64d1(0x34b)](me)),w(0x4,a[_0x4a64d1(0x34b)](u['MemberService'])),w(0x5,a[_0x4a64d1(0x1c7)]),w(0x6,a[_0x4a64d1(0x268)]),w(0x7,a['Inject'](g[_0x4a64d1(0x215)]))],Se);var at=Object['getOwnPropertyDescriptor'],ct=(_0x553871,_0x35253c,_0x49f255,_0x5c365c)=>{const _0x199e72=_0x4a64d1;for(var _0x31bb19=_0x5c365c>0x1?void 0x0:_0x5c365c?at(_0x35253c,_0x49f255):_0x35253c,_0x2e402f=_0x553871[_0x199e72(0x159)]-0x1,_0x2516ca;_0x2e402f>=0x0;_0x2e402f--)(_0x2516ca=_0x553871[_0x2e402f])&&(_0x31bb19=_0x2516ca(_0x31bb19)||_0x31bb19);return _0x31bb19;},ie=(_0x5611f5,_0x202537)=>(_0x54b9be,_0x74f338)=>_0x202537(_0x54b9be,_0x74f338,_0x5611f5);let x=class extends a[_0x4a64d1(0x20b)]{constructor(_0x5dec73,_0x5321ca,_0x138652){const _0x23c7c5=_0x4a64d1;super(),h(this,_0x23c7c5(0x38a),new Map()),h(this,_0x23c7c5(0x2cf),new d[(_0x23c7c5(0x229))]()),(this['_univerInstanceService']=_0x5dec73,this[_0x23c7c5(0x2bf)]=_0x5321ca,this[_0x23c7c5(0x249)]=_0x138652,this['_init']());}[_0x4a64d1(0x197)](){const _0x4f3d60=_0x4a64d1;super[_0x4f3d60(0x197)](),this[_0x4f3d60(0x2cf)]['complete'](),this[_0x4f3d60(0x38a)]['forEach'](_0x7ff17f=>_0x7ff17f['dispose']());}[_0x4a64d1(0x29d)](_0x27082f){const _0x27b688=_0x4a64d1;return this[_0x27b688(0x38a)][_0x27b688(0x158)](_0x27082f)?this[_0x27b688(0x38a)][_0x27b688(0x2df)](_0x27082f)[_0x27b688(0x169)]:this[_0x27b688(0x2cf)][_0x27b688(0x11d)](d[_0x27b688(0x13c)](_0x2e02a2=>_0x2e02a2['unitID']===_0x27082f),d[_0x27b688(0x243)](_0x526bba=>_0x526bba['cursorInfo$']));}['_init'](){const _0x4626b1=_0x4a64d1;this[_0x4626b1(0x272)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x4626b1(0x135)])['pipe'](d['takeUntil'](this[_0x4626b1(0x298)]))[_0x4626b1(0x1d2)](async _0x1dd94e=>{const _0x39d222=_0x4626b1,_0x529141=_0x1dd94e[_0x39d222(0x129)](),_0x761c45=await this[_0x39d222(0x2b9)](_0x529141);this[_0x39d222(0x2cf)][_0x39d222(0x14f)](_0x761c45),this['_entities'][_0x39d222(0x207)](_0x529141,_0x761c45);}),this[_0x4626b1(0x272)][_0x4626b1(0x2e0)](a[_0x4626b1(0x248)]['UNIVER_DOC'])['pipe'](d[_0x4626b1(0x11a)](this['dispose$']))[_0x4626b1(0x11d)](d[_0x4626b1(0x13c)](_0x30c17a=>!_0x30c17a[_0x4626b1(0x129)]()['startsWith']('__')))[_0x4626b1(0x1d2)](async _0x38cf00=>{const _0x42b2b4=_0x4626b1,_0x276db2=_0x38cf00['getUnitId'](),_0x2e177c=await this['_startDocCollabCursor'](_0x276db2);this[_0x42b2b4(0x2cf)]['next'](_0x2e177c),this[_0x42b2b4(0x38a)][_0x42b2b4(0x207)](_0x276db2,_0x2e177c);}),d[_0x4626b1(0x143)](this[_0x4626b1(0x272)][_0x4626b1(0x26d)](a['UniverInstanceType'][_0x4626b1(0x2ec)]),this[_0x4626b1(0x272)]['getTypeOfUnitDisposed$'](a[_0x4626b1(0x248)][_0x4626b1(0x135)]))['pipe'](d['takeUntil'](this[_0x4626b1(0x298)]))[_0x4626b1(0x1d2)](_0x102fcf=>{const _0x3de66d=_0x4626b1,_0x520ba1=_0x102fcf[_0x3de66d(0x129)](),_0x4bbbf5=this[_0x3de66d(0x38a)][_0x3de66d(0x2df)](_0x520ba1);_0x4bbbf5&&(_0x4bbbf5[_0x3de66d(0x197)](),this[_0x3de66d(0x38a)]['delete'](_0x520ba1));});}async[_0x4a64d1(0x2b9)](_0xdc5e18){const _0x79f081=_0x4a64d1,_0x2fa494=await this[_0x79f081(0x249)][_0x79f081(0x38d)](_0xdc5e18),_0x46d8cc=this[_0x79f081(0x2bf)][_0x79f081(0x253)](Se,_0xdc5e18,_0x2fa494);return _0x46d8cc[_0x79f081(0x2fa)](),_0x46d8cc;}async[_0x4a64d1(0x27d)](_0x1403e3){const _0x2964bd=_0x4a64d1,_0x4bbbcc=await this[_0x2964bd(0x249)][_0x2964bd(0x38d)](_0x1403e3),_0x39bd2e=this[_0x2964bd(0x2bf)][_0x2964bd(0x253)](fe,_0x1403e3,_0x4bbbcc);return _0x39bd2e[_0x2964bd(0x2fa)](),_0x39bd2e;}};x=ct([ie(0x0,a[_0x4a64d1(0x1c7)]),ie(0x1,a[_0x4a64d1(0x34b)](a[_0x4a64d1(0x1c8)])),ie(0x2,a['Inject'](u[_0x4a64d1(0x177)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x119737,_0x3e0f01){const _0x154c9e=_0x4a64d1;let {radius:_0x9d8678,width:_0x4ae87d,height:_0x40ea99}=_0x3e0f01;_0x9d8678=_0x9d8678!=null?_0x9d8678:0x0,_0x4ae87d=_0x4ae87d!=null?_0x4ae87d:0x1e,_0x40ea99=_0x40ea99!=null?_0x40ea99:0x1e;let _0x411c16=0x0,_0x3ec18d=0x0,_0x4bda80=0x0;_0x411c16=_0x3ec18d=_0x4bda80=Math[_0x154c9e(0x2cb)](_0x9d8678,_0x4ae87d/0x2,_0x40ea99/0x2),_0x119737[_0x154c9e(0x115)](),_0x119737['moveTo'](_0x411c16,0x0),_0x119737[_0x154c9e(0x255)](_0x4ae87d-_0x3ec18d,0x0),_0x119737['arc'](_0x4ae87d-_0x3ec18d,_0x3ec18d,_0x3ec18d,Math['PI']*0x3/0x2,0x0,!0x1),_0x119737[_0x154c9e(0x255)](_0x4ae87d,_0x40ea99-_0x4bda80),_0x119737[_0x154c9e(0x1c2)](_0x4ae87d-_0x4bda80,_0x40ea99-_0x4bda80,_0x4bda80,0x0,Math['PI']/0x2,!0x1),_0x119737[_0x154c9e(0x255)](0x0,_0x40ea99),_0x119737[_0x154c9e(0x255)](0x0,_0x411c16),_0x119737[_0x154c9e(0x1c2)](_0x411c16,_0x411c16,_0x411c16,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x119737[_0x154c9e(0x21b)](),_0x3e0f01[_0x154c9e(0x2c2)]&&(_0x119737[_0x154c9e(0x31c)](),_0x119737[_0x154c9e(0x22e)]=_0x3e0f01[_0x154c9e(0x2c2)],_0x3e0f01[_0x154c9e(0x113)]===_0x154c9e(0x305)?_0x119737[_0x154c9e(0x2c2)](_0x154c9e(0x305)):_0x119737['fill'](),_0x119737[_0x154c9e(0x30b)]());}class ee extends p[_0x4a64d1(0x32c)]{constructor(_0x25a50a,_0x957100){const _0x455035=_0x4a64d1;super(_0x25a50a,_0x957100),h(this,_0x455035(0x2b0)),h(this,'text'),(this['color']=_0x957100==null?void 0x0:_0x957100[_0x455035(0x2b0)],this[_0x455035(0x16c)]=_0x957100==null?void 0x0:_0x957100[_0x455035(0x16c)]);}static[_0x4a64d1(0x15b)](_0x51c9e2,_0x1cf7e6){const _0x9af37c=_0x4a64d1,{text:_0x3ee16b,color:_0x523cd8}=_0x1cf7e6;_0x51c9e2[_0x9af37c(0x31c)](),_0x51c9e2[_0x9af37c(0x1ae)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x28bea6=_0x51c9e2[_0x9af37c(0x112)](_0x3ee16b)[_0x9af37c(0x33f)],_0x5a7bc7=Math[_0x9af37c(0x2cb)](_0x28bea6+0x2*ne,Re);_t(_0x51c9e2,{'height':K,'radius':0x4,'width':_0x5a7bc7,'fill':_0x523cd8}),_0x51c9e2[_0x9af37c(0x22e)]='#FFF';const _0x46e3cc=ne,_0x4dbb20=K-lt,_0x3d108b=Re-0x2*ne;if(_0x28bea6>_0x3d108b){let _0x126968='',_0x35b0b5=0x0;for(const _0x397af5 of _0x3ee16b){const _0x3fdb29=_0x51c9e2[_0x9af37c(0x112)](_0x397af5)[_0x9af37c(0x33f)];if(_0x35b0b5+_0x3fdb29<=_0x3d108b-_0x51c9e2[_0x9af37c(0x112)]('...')[_0x9af37c(0x33f)])_0x126968+=_0x397af5,_0x35b0b5+=_0x3fdb29;else{_0x126968+=_0x9af37c(0x20c);break;}}_0x51c9e2[_0x9af37c(0x1b3)](_0x126968,_0x46e3cc,_0x4dbb20);}else _0x51c9e2[_0x9af37c(0x1b3)](_0x3ee16b,_0x46e3cc,_0x4dbb20);_0x51c9e2[_0x9af37c(0x30b)]();}[_0x4a64d1(0x156)](_0x3ead68){const _0x281d09=_0x4a64d1;ee[_0x281d09(0x15b)](_0x3ead68,this);}}const re=_0x4a64d1(0x2ba),ht=_0x4a64d1(0x2c1),ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x4a64d1(0x151);class De{constructor(_0x437c35,_0x55cabd,_0x560161,_0x4ed96e){const _0x30c59c=_0x4a64d1;h(this,_0x30c59c(0x1f6),[]),h(this,_0x30c59c(0x208),null),h(this,_0x30c59c(0x319),null),h(this,_0x30c59c(0x24e),null),h(this,_0x30c59c(0x331),null),h(this,'_eventUnsubscribe',null),(this[_0x30c59c(0x2bb)]=_0x437c35,this[_0x30c59c(0x1c6)]=_0x55cabd,this[_0x30c59c(0x344)]=_0x560161,this[_0x30c59c(0x225)]=_0x4ed96e,this[_0x30c59c(0x2cc)]());}set[_0x4a64d1(0x299)](_0x51a623){const _0xd6b629=_0x4a64d1;_0x51a623?(this[_0xd6b629(0x24e)]&&this[_0xd6b629(0x24e)][_0xd6b629(0x258)](),this[_0xd6b629(0x319)]&&this['_textBubble']['show']()):(this[_0xd6b629(0x24e)]&&this[_0xd6b629(0x24e)][_0xd6b629(0x19c)](),this['_textBubble']&&this[_0xd6b629(0x319)][_0xd6b629(0x258)]());}['dispose'](){const _0x55ce50=_0x4a64d1;for(const _0x1817a6 of this['_shapes'])_0x1817a6[_0x55ce50(0x197)]();this[_0x55ce50(0x319)]&&this[_0x55ce50(0x319)][_0x55ce50(0x197)](),this['_anchorDot']&&this[_0x55ce50(0x24e)][_0x55ce50(0x197)](),this['_anchor']&&this[_0x55ce50(0x208)][_0x55ce50(0x197)](),this[_0x55ce50(0x2da)]&&this[_0x55ce50(0x2da)]();}[_0x4a64d1(0x2cc)](){const _0x2a829e=_0x4a64d1;var _0x527a03;const {_docSkeleton:_0x43175d,_document:_0x544afa}=this,{color:_0x509a79,name:_0x2efe0e,ranges:_0x2a1a07}=this[_0x2a829e(0x2bb)],_0x193475=_0x544afa[_0x2a829e(0x171)](),{docsLeft:_0x50c43e,docsTop:_0x12d04a}=_0x193475,_0x2b90c5=new b[(_0x2a829e(0x2d6))](_0x193475,_0x43175d);for(const {startOffset:_0x15abfa,endOffset:_0xe0f174,rangeType:_0x27d04c,segmentId:_0x486ee4,segmentPage:_0x11a0c4,collapsed:_0x29b7b8,isActive:_0x179be7}of _0x2a1a07){const _0x5c7589=_0x43175d[_0x2a829e(0x35f)](_0x15abfa,!0x0,_0x486ee4,_0x11a0c4);let _0x1cc506=_0x43175d[_0x2a829e(0x35f)](_0xe0f174,!0x0,_0x486ee4,_0x11a0c4);if(_0x1cc506==null&&(_0x1cc506=_0x43175d[_0x2a829e(0x35f)](_0xe0f174-0x1,!0x1,_0x486ee4,_0x11a0c4)),_0x179be7){const {contentBoxPointGroup:_0x519b8c}=_0x2b90c5[_0x2a829e(0x1dd)](_0x1cc506,_0x1cc506);if(_0x519b8c[_0x2a829e(0x159)]===0x0)continue;this['_drawAnchor'](_0x509a79,_0x519b8c,_0x50c43e,_0x12d04a,_0x2efe0e),this[_0x2a829e(0x2da)]=this[_0x2a829e(0x180)]();}if(_0x5c7589&&_0x1cc506){if(_0x27d04c===a['DOC_RANGE_TYPE']['RECT']){const _0x2b189d=new b[(_0x2a829e(0x3a9))](_0x193475,_0x43175d),{pointGroup:_0xfd75b8}=(_0x527a03=_0x2b189d[_0x2a829e(0x1dd)](_0x5c7589,_0x1cc506))!=null?_0x527a03:{};if(_0xfd75b8==null||_0xfd75b8['length']===0x0)continue;this[_0x2a829e(0x351)](_0x509a79,_0xfd75b8,_0x50c43e,_0x12d04a);}else{if(!_0x29b7b8){const {borderBoxPointGroup:_0x3315c6}=_0x2b90c5['getRangePointData'](_0x5c7589,_0x1cc506);if(_0x3315c6[_0x2a829e(0x159)]===0x0)continue;this[_0x2a829e(0x11f)](_0x509a79,_0x3315c6,_0x50c43e,_0x12d04a);}}}}}[_0x4a64d1(0x283)](_0xda9fb3,_0x311db8,_0x3e9b13,_0x2dcb72,_0x1601e1){const _0x419388=_0x4a64d1,_0x68d672=this[_0x419388(0x20e)](_0x311db8),{left:_0x38189c,top:_0x129412,height:_0x1d82ce}=_0x68d672,_0x4b7c4d=this[_0x419388(0x178)](),_0x343cde=ft/_0x4b7c4d,_0x1c206f=new p[(_0x419388(0x292))](re+a[_0x419388(0x1fc)][_0x419388(0x1fd)](k),{'left':_0x38189c+_0x3e9b13-_0x343cde,'top':_0x129412+_0x2dcb72,'height':_0x1d82ce,'width':dt,'fill':_0xda9fb3||p['getColor'](a[_0x419388(0x11c)][_0x419388(0x29e)],0x0),'strokeWidth':_0x343cde,'stroke':St,'evented':!0x0});this[_0x419388(0x208)]=_0x1c206f,this[_0x419388(0x1c6)][_0x419388(0x1ad)](_0x1c206f,b[_0x419388(0x206)]);const _0x499a0b=new p['Rect'](re+a[_0x419388(0x1fc)][_0x419388(0x1fd)](k),{'left':_0x38189c+_0x3e9b13-_0x343cde,'top':_0x129412+_0x2dcb72-oe/0x2,'height':oe,'width':oe,'fill':_0xda9fb3||p[_0x419388(0x1b2)](a[_0x419388(0x11c)][_0x419388(0x29e)],0x0),'strokeWidth':0x0,'stroke':_0xda9fb3||p['getColor'](a[_0x419388(0x11c)]['black'],0x0),'evented':!0x1});this[_0x419388(0x24e)]=_0x499a0b,this['_scene'][_0x419388(0x1ad)](_0x499a0b,b[_0x419388(0x206)]);const _0x17fcf6=new ee(re+a[_0x419388(0x1fc)][_0x419388(0x1fd)](k),{'left':_0x38189c+_0x3e9b13-_0x343cde,'top':_0x129412+_0x2dcb72-K,'text':_0x1601e1,'color':_0xda9fb3});this['_textBubble']=_0x17fcf6,this[_0x419388(0x1c6)][_0x419388(0x1ad)](_0x17fcf6,b[_0x419388(0x206)]),this[_0x419388(0x299)]=!0x1;}[_0x4a64d1(0x180)](){const _0x2962b8=_0x4a64d1,_0x1a9a1b=this['_anchor'][_0x2962b8(0x18f)][_0x2962b8(0x2e5)](()=>{const _0x216bee=_0x2962b8;this[_0x216bee(0x299)]=!0x0;}),_0x366df4=this[_0x2962b8(0x208)][_0x2962b8(0x1df)][_0x2962b8(0x2e5)](()=>{const _0x52c6a4=_0x2962b8;this[_0x52c6a4(0x331)]&&clearTimeout(this[_0x52c6a4(0x331)]),this[_0x52c6a4(0x331)]=setTimeout(()=>{const _0x55b378=_0x52c6a4;this[_0x55b378(0x299)]=!0x1;},0x7d0);});return()=>{const _0x2a603d=_0x2962b8;_0x1a9a1b[_0x2a603d(0x1b7)](),_0x366df4['unsubscribe']();};}[_0x4a64d1(0x11f)](_0x2e0319,_0x289c6d,_0x4d5ac9,_0x4af292){const _0x19f8a2=_0x4a64d1,_0x5a1268=new a[(_0x19f8a2(0x179))](_0x2e0319)[_0x19f8a2(0x230)](0.2)['toRgbString'](),_0x44066c=new p[(_0x19f8a2(0x203))](ht+a[_0x19f8a2(0x1fc)]['generateRandomId'](k),{'pointsGroup':_0x289c6d,'fill':_0x5a1268||p[_0x19f8a2(0x1b2)](a[_0x19f8a2(0x11c)][_0x19f8a2(0x29e)],0.2),'left':_0x4d5ac9,'top':_0x4af292,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x19f8a2(0x24c)](_0x44066c),this[_0x19f8a2(0x1c6)][_0x19f8a2(0x1ad)](_0x44066c,b[_0x19f8a2(0x206)]);}[_0x4a64d1(0x351)](_0x46c222,_0x53247d,_0x5d48f1,_0x8b9b5d){const _0x5ebb14=_0x4a64d1,_0x360578=new a[(_0x5ebb14(0x179))](_0x46c222)[_0x5ebb14(0x230)](0.2)[_0x5ebb14(0x34e)](),_0x42af3b=new p[(_0x5ebb14(0x203))](ut+a['Tools'][_0x5ebb14(0x1fd)](k),{'pointsGroup':_0x53247d,'fill':_0x360578||p[_0x5ebb14(0x1b2)](a[_0x5ebb14(0x11c)]['black'],0.2),'left':_0x5d48f1,'top':_0x8b9b5d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ebb14(0x1f6)][_0x5ebb14(0x24c)](_0x42af3b),this[_0x5ebb14(0x1c6)]['addObject'](_0x42af3b,b[_0x5ebb14(0x206)]);}[_0x4a64d1(0x20e)](_0x5a228c){const _0x5ad9c3=_0x5a228c[0x0],_0x13ed44=_0x5ad9c3[0x0],_0x703d6b=_0x5ad9c3[0x2],{x:_0x20bf82,y:_0x461cf9}=_0x13ed44,{x:_0x44c826,y:_0x51409a}=_0x703d6b;return{'left':_0x20bf82,'top':_0x461cf9,'width':_0x44c826-_0x20bf82,'height':_0x51409a-_0x461cf9};}['_getScale'](){const _0x1c2cb3=_0x4a64d1,{scaleX:_0x14839a,scaleY:_0x424203}=this['_scene']['getAncestorScale']();return Math[_0x1c2cb3(0x1e9)](_0x14839a,_0x424203);}}var It=Object[_0x4a64d1(0x26f)],vt=(_0x490a16,_0x579e6a,_0x48a782,_0x494b07)=>{const _0x544827=_0x4a64d1;for(var _0x2cf417=_0x494b07>0x1?void 0x0:_0x494b07?It(_0x579e6a,_0x48a782):_0x579e6a,_0x2d0410=_0x490a16[_0x544827(0x159)]-0x1,_0x1cc358;_0x2d0410>=0x0;_0x2d0410--)(_0x1cc358=_0x490a16[_0x2d0410])&&(_0x2cf417=_0x1cc358(_0x2cf417)||_0x2cf417);return _0x2cf417;},W=(_0x4419bb,_0x485901)=>(_0x20dedd,_0x126310)=>_0x485901(_0x20dedd,_0x126310,_0x4419bb);let Ie=class extends a['RxDisposable']{constructor(_0x2e4046,_0x2eb9b5,_0x423dbf,_0x454aaa,_0xab11e4){const _0x2bf4b6=_0x4a64d1;super(),h(this,_0x2bf4b6(0x2dd),[]),h(this,'_cursors',[]),(this['_context']=_0x2e4046,this[_0x2bf4b6(0x2f6)]=_0x2eb9b5,this[_0x2bf4b6(0x3a1)]=_0x423dbf,this['_commandService']=_0x454aaa,this[_0x2bf4b6(0x205)]=_0xab11e4,this[_0x2bf4b6(0x240)]());}['_init'](){const _0x53c2f6=_0x4a64d1,_0x4bcdb0=this[_0x53c2f6(0x373)][_0x53c2f6(0x123)],_0x1cb499=this[_0x53c2f6(0x2f6)];this[_0x53c2f6(0x1ba)](d[_0x53c2f6(0x21a)]([this['_collabCursorController'][_0x53c2f6(0x29d)](_0x4bcdb0),this['_themeService'][_0x53c2f6(0x221)]])[_0x53c2f6(0x11d)]($[_0x53c2f6(0x3a4)](([_0x59de01,_0x400be9])=>({'skeleton':_0x1cb499[_0x53c2f6(0x286)](),'cursors':[..._0x59de01[_0x53c2f6(0x1b1)]()][_0x53c2f6(0x166)](_0x5362e2=>({..._0x5362e2,'color':_0x400be9[_0x5362e2['color']]}))})))[_0x53c2f6(0x1d2)](_0x605241=>{const _0x1d5d71=_0x53c2f6;if(this[_0x1d5d71(0x2be)](),_0x605241){const {skeleton:_0x2f22a0,cursors:_0x503a2a}=_0x605241;this[_0x1d5d71(0x2a8)](_0x2f22a0,_0x503a2a);}})),this[_0x53c2f6(0x116)](),this[_0x53c2f6(0x3a8)]();}[_0x4a64d1(0x2a8)](_0x2b70a5,_0x302972){const _0x3473a6=_0x4a64d1,{scene:_0x3be28e,mainComponent:_0x5993a4}=this['_context'],_0x335436=_0x302972[_0x3473a6(0x3a4)](_0x51c98a=>new De(_0x51c98a,_0x3be28e,_0x2b70a5,_0x5993a4));this[_0x3473a6(0x2dd)]=_0x335436,this[_0x3473a6(0x153)]=_0x302972;}['_refreshCollabCursors'](){const _0x5d77e6=_0x4a64d1;this[_0x5d77e6(0x2be)]();const {scene:_0x5a3a1a,mainComponent:_0x47290d}=this[_0x5d77e6(0x373)],_0x24595c=this[_0x5d77e6(0x2f6)][_0x5d77e6(0x286)](),_0x1e3eac=this['_cursors'][_0x5d77e6(0x3a4)](_0x43ad9c=>new De(_0x43ad9c,_0x5a3a1a,_0x24595c,_0x47290d));this['_cursorShapes']=_0x1e3eac;}[_0x4a64d1(0x2be)](){const _0x1c3cc4=_0x4a64d1;this[_0x1c3cc4(0x2dd)][_0x1c3cc4(0x173)](_0x4e2664=>_0x4e2664[_0x1c3cc4(0x197)]()),this[_0x1c3cc4(0x2dd)]=[];}[_0x4a64d1(0x3a8)](){const _0x4c9d42=_0x4a64d1,_0x7c381d=[b[_0x4c9d42(0x2e9)]['id']];this[_0x4c9d42(0x1ba)](this[_0x4c9d42(0x147)]['onCommandExecuted'](_0x4f71df=>{const _0x161200=_0x4c9d42;_0x7c381d[_0x161200(0x2ae)](_0x4f71df['id'])&&_0x4f71df['params'][_0x161200(0x123)]===this[_0x161200(0x373)][_0x161200(0x123)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x1494e1=_0x4a64d1;this[_0x1494e1(0x1ba)](a[_0x1494e1(0x2b3)](this[_0x1494e1(0x373)]['engine'][_0x1494e1(0x1b6)])[_0x1494e1(0x11d)]($[_0x1494e1(0x13c)](_0x5d500b=>_0x5d500b[_0x1494e1(0x2f2)]===p[_0x1494e1(0x34a)]['resize']),$[_0x1494e1(0x376)](0x10))[_0x1494e1(0x1d2)](()=>{this['_refreshCollabCursors']();}));}};Ie=vt([W(0x1,a[_0x4a64d1(0x34b)](F['DocSkeletonManagerService'])),W(0x2,a[_0x4a64d1(0x34b)](x)),W(0x3,a[_0x4a64d1(0x268)]),W(0x4,a[_0x4a64d1(0x34b)](a['ThemeService']))],Ie);const gt=0x1,mt=1.5;class Ae extends p[_0x4a64d1(0x32c)]{constructor(_0x5c5696,_0x4bc3d0){const _0x20bdea=_0x4a64d1;super(_0x5c5696,_0x4bc3d0),h(this,_0x20bdea(0x1d4)),h(this,_0x20bdea(0x1a8),!0x1),h(this,_0x20bdea(0x364)),h(this,_0x20bdea(0x25f),''),h(this,_0x20bdea(0x34f),_0x20bdea(0x30f)),h(this,_0x20bdea(0x198)),(_0x4bc3d0&&this[_0x20bdea(0x36e)](_0x4bc3d0),this['onPointerEnter$'][_0x20bdea(0x2e5)](()=>this[_0x20bdea(0x36e)]({'hovered':!0x0})),this[_0x20bdea(0x1df)][_0x20bdea(0x2e5)](()=>this[_0x20bdea(0x36e)]({'hovered':!0x1})));}['setShapeProps'](_0xb3b94c){const _0x4ad1c1=_0x4a64d1;var _0x547e1a,_0x3d2415,_0x44ce20,_0x260fd5,_0x1c07af,_0x474cf2;this['_color']=(_0x547e1a=_0xb3b94c[_0x4ad1c1(0x2b0)])!=null?_0x547e1a:this[_0x4ad1c1(0x1d4)],this[_0x4ad1c1(0x1a8)]=(_0x3d2415=_0xb3b94c[_0x4ad1c1(0x126)])!=null?_0x3d2415:this[_0x4ad1c1(0x1a8)],this[_0x4ad1c1(0x364)]=(_0x44ce20=_0xb3b94c['range'])!=null?_0x44ce20:this[_0x4ad1c1(0x364)],this[_0x4ad1c1(0x25f)]=(_0x260fd5=_0xb3b94c[_0x4ad1c1(0x118)])!=null?_0x260fd5:this[_0x4ad1c1(0x25f)],this['_labelPosition']=(_0x1c07af=_0xb3b94c[_0x4ad1c1(0x2af)])!=null?_0x1c07af:this[_0x4ad1c1(0x34f)],this[_0x4ad1c1(0x198)]=(_0x474cf2=_0xb3b94c[_0x4ad1c1(0x155)])!=null?_0x474cf2:this[_0x4ad1c1(0x198)],this[_0x4ad1c1(0x279)]({'width':_0xb3b94c[_0x4ad1c1(0x33f)],'height':_0xb3b94c['height']});}[_0x4a64d1(0x397)](_0x312869){const _0x908af4=_0x4a64d1,{row:_0x209f20,column:_0x190fbd}=_0x312869;if(_0x209f20>=this[_0x908af4(0x364)][_0x908af4(0x2ea)]&&_0x209f20<=this[_0x908af4(0x364)][_0x908af4(0x2d8)]&&_0x190fbd>=this['_range']['startColumn']&&_0x190fbd<=this['_range'][_0x908af4(0x321)]){this[_0x908af4(0x36e)]({'hovered':!0x0});return;}this[_0x908af4(0x36e)]({'hovered':!0x1});}[_0x4a64d1(0x1f1)](_0x33b77e){return!0x1;}[_0x4a64d1(0x156)](_0x364989){const _0x46d9f7=_0x4a64d1;p['Rect'][_0x46d9f7(0x15b)](_0x364989,{'width':this[_0x46d9f7(0x33f)],'height':this[_0x46d9f7(0x353)],'strokeWidth':mt,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x46d9f7(0x1a8)]&&(_0x364989[_0x46d9f7(0x31c)](),_0x364989[_0x46d9f7(0x323)](0x1,0x0,0x0,0x1,this[_0x46d9f7(0x33f)],this[_0x46d9f7(0x34f)]===_0x46d9f7(0x354)?0x0:-0x14),ee['drawWith'](_0x364989,{'text':this[_0x46d9f7(0x25f)],'color':this[_0x46d9f7(0x1d4)]}),_0x364989[_0x46d9f7(0x30b)]());}}var Ct=Object[_0x4a64d1(0x26f)],pt=(_0x267d60,_0x5da8dd,_0x524e8a,_0x561b42)=>{for(var _0x1c000f=_0x561b42>0x1?void 0x0:_0x561b42?Ct(_0x5da8dd,_0x524e8a):_0x5da8dd,_0x196130=_0x267d60['length']-0x1,_0x59b4d0;_0x196130>=0x0;_0x196130--)(_0x59b4d0=_0x267d60[_0x196130])&&(_0x1c000f=_0x59b4d0(_0x1c000f)||_0x1c000f);return _0x1c000f;},ae=(_0x560be0,_0x41c7ab)=>(_0x502f28,_0x3dbe4e)=>_0x41c7ab(_0x502f28,_0x3dbe4e,_0x560be0);const bt=0x1389;let ve=class extends a[_0x4a64d1(0x20b)]{constructor(_0xc164fb,_0x25d5e4,_0x9ba232,_0x3b54fc){const _0xaa4d08=_0x4a64d1;super(),h(this,'_cursors',new Set()),h(this,'_lastPointer',null),(this[_0xaa4d08(0x373)]=_0xc164fb,this[_0xaa4d08(0x36d)]=_0x25d5e4,this[_0xaa4d08(0x3a1)]=_0x9ba232,this[_0xaa4d08(0x205)]=_0x3b54fc,this[_0xaa4d08(0x240)]());}[_0x4a64d1(0x240)](){const _0x3b6fb8=_0x4a64d1;this[_0x3b6fb8(0x36d)]['currentSkeleton$']['pipe']($['takeUntil'](this[_0x3b6fb8(0x298)]),$[_0x3b6fb8(0x243)](_0x31316b=>{const _0x20ef60=_0x3b6fb8;if(_0x31316b){const _0x3a846b=_0x31316b[_0x20ef60(0x27c)];return d[_0x20ef60(0x21a)](this[_0x20ef60(0x3a1)][_0x20ef60(0x29d)](this[_0x20ef60(0x373)][_0x20ef60(0x123)]),this[_0x20ef60(0x205)]['currentTheme$'])[_0x20ef60(0x11d)]($[_0x20ef60(0x3a4)](([_0x2dbaa3,_0x5e5e05])=>{const _0x38e98b=_0x20ef60,_0x4f3e65=new Map();return _0x2dbaa3[_0x38e98b(0x173)]((_0x267c73,_0x2a5449)=>{const _0xbff92a=_0x38e98b;if(_0x267c73[_0xbff92a(0x266)]===_0x3a846b){const _0xc34c9c={..._0x267c73};_0xc34c9c[_0xbff92a(0x2b0)]=_0x5e5e05[_0x267c73[_0xbff92a(0x2b0)]],_0x4f3e65[_0xbff92a(0x207)](_0x2a5449,_0xc34c9c);}}),{'skeleton':_0x31316b,'cursors':_0x4f3e65};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x3b6fb8(0x1d2)](({skeleton:_0x12da65,cursors:_0x2f23c6})=>{const _0x19ca17=_0x3b6fb8;this[_0x19ca17(0x2be)](),_0x12da65&&this[_0x19ca17(0x2a8)](_0x12da65,_0x2f23c6);}),this[_0x3b6fb8(0x36d)]['currentSkeleton$'][_0x3b6fb8(0x1d2)](_0x3c21d1=>{const _0x2b7118=_0x3b6fb8;if(_0x3c21d1==null)return;const {skeleton:_0x239d90}=_0x3c21d1,{scene:_0x23ea07}=this['_context'];_0x23ea07[_0x2b7118(0x2c7)][_0x2b7118(0x2e5)](a[_0x2b7118(0x13f)](_0x2d1ecc=>{const _0x2b6889=_0x2b7118;var _0x100d76,_0x3d9842;const {offsetX:_0x50bd00,offsetY:_0x41df37}=_0x2d1ecc,{x:_0x1ce4be,y:_0x963c10}=_0x23ea07[_0x2b6889(0x289)](p[_0x2b6889(0x196)]['FromArray']([_0x50bd00,_0x41df37])),{scaleX:_0x96a752,scaleY:_0x86df01}=_0x23ea07[_0x2b6889(0x389)](),_0x46f3da=_0x23ea07['getViewport'](p[_0x2b6889(0x380)]['VIEW_MAIN']),_0x294705=_0x23ea07['getVpScrollXYInfoByPosToVp'](p[_0x2b6889(0x196)][_0x2b6889(0x32e)]([_0x1ce4be,_0x963c10]),_0x46f3da),_0x244109=_0x239d90[_0x2b6889(0x382)](_0x50bd00,_0x41df37,_0x96a752,_0x86df01,_0x294705);((_0x100d76=this[_0x2b6889(0x31f)])==null?void 0x0:_0x100d76[_0x2b6889(0x35e)])===_0x244109[_0x2b6889(0x35e)]&&((_0x3d9842=this['_lastPointer'])==null?void 0x0:_0x3d9842['row'])===_0x244109[_0x2b6889(0x314)]||this[_0x2b6889(0x153)]['forEach'](_0x3f7f87=>{const _0x24f391=_0x2b6889;_0x3f7f87[_0x24f391(0x397)](_0x244109);});},0x64));});}['_updateCollabCursors'](_0x143b7c,_0x2f023b){const _0x3e8d4e=_0x4a64d1;var _0x2c5275;const _0x378e94=(_0x2c5275=this[_0x3e8d4e(0x36d)][_0x3e8d4e(0x191)]())==null?void 0x0:_0x2c5275[_0x3e8d4e(0x291)];if(!_0x378e94)return;const _0xc98b02=this[_0x3e8d4e(0x1cf)]();if(!_0xc98b02)return;this[_0x3e8d4e(0x153)][_0x3e8d4e(0x173)](_0x4f8879=>{const _0x14e951=_0x3e8d4e;_0x4f8879[_0x14e951(0x218)]();});const {scene:_0x3fa097}=_0xc98b02,_0x3d5643=Et(Array[_0x3e8d4e(0x1eb)](_0x2f023b[_0x3e8d4e(0x1b1)]()))['map'](_0x1cbc0c=>{const _0x4d75f4=_0x3e8d4e,{color:_0x16b6ce,range:_0x3a0f86,name:_0xb4d794,selection:_0x5b82de,sheetID:_0x3c9e00}=_0x1cbc0c,{startColumn:_0x3af3a6,startRow:_0x40c2a0,endColumn:_0x156143,endRow:_0x462929}=_0x3a0f86,_0x353efb=X[_0x4d75f4(0x1fb)](_0x40c2a0,_0x3af3a6,_0x3fa097,_0x378e94),_0x4cd57a=X[_0x4d75f4(0x1fb)](_0x462929,_0x156143,_0x3fa097,_0x378e94),{columnHeaderHeightAndMarginTop:_0x367219}=_0x378e94,{startX:_0x18f6d4,startY:_0x5954bb}=_0x353efb,{endX:_0x56b559,endY:_0xfbeff4}=_0x4cd57a,_0xef2a4b=_0x56b559-_0x18f6d4,_0xb8818b=_0xfbeff4-_0x5954bb,_0x48a9f8={'labelPosition':_0x5954bb-_0x367219>=K?_0x4d75f4(0x30f):'bottom','sheetID':_0x3c9e00,'range':_0x3a0f86,'color':_0x16b6ce,'name':_0xb4d794,'selection':_0x5b82de,'left':_0x18f6d4,'top':_0x5954bb,'width':_0xef2a4b,'height':_0xb8818b,'evented':!0x1,'zIndex':bt};return new Ae(_0xb4d794,_0x48a9f8);});_0x3fa097[_0x3e8d4e(0x369)](_0x3d5643,gt),this[_0x3e8d4e(0x153)]=new Set(_0x3d5643);}[_0x4a64d1(0x2be)](){const _0x4986d5=_0x4a64d1;var _0x456a72;(_0x456a72=this[_0x4986d5(0x153)])==null||_0x456a72[_0x4986d5(0x173)](_0x284a41=>_0x284a41[_0x4986d5(0x197)]());}['_getSheetObject'](){const _0x1c88fe=_0x4a64d1;return X[_0x1c88fe(0x163)](this[_0x1c88fe(0x373)][_0x1c88fe(0x1d1)],this['_context']);}};ve=pt([ae(0x1,a[_0x4a64d1(0x34b)](X['SheetSkeletonManagerService'])),ae(0x2,a[_0x4a64d1(0x34b)](x)),ae(0x3,a[_0x4a64d1(0x34b)](a[_0x4a64d1(0x17c)]))],ve);function Et(_0x580c5f){const _0x269119=_0x4a64d1,_0x5cadc9=new Map();return _0x580c5f[_0x269119(0x173)](_0x1a48a8=>{const _0x15a54b=_0x269119;if(_0x5cadc9[_0x15a54b(0x158)](_0x1a48a8[_0x15a54b(0x247)])){const _0x1a4c25=_0x5cadc9[_0x15a54b(0x2df)](_0x1a48a8[_0x15a54b(0x247)]);_0x1a4c25['name']+=',\x20'+_0x1a48a8[_0x15a54b(0x118)];}else _0x5cadc9[_0x15a54b(0x207)](_0x1a48a8[_0x15a54b(0x247)],_0x1a48a8);}),Array['from'](_0x5cadc9['values']());}var E=function(){const _0x280d46=_0x4a64d1;return E=Object['assign']||function(_0x73ef18){const _0x548dcf=_0x31bb;for(var _0x2de7d5,_0x45ae97=0x1,_0x597b96=arguments[_0x548dcf(0x159)];_0x45ae97<_0x597b96;_0x45ae97++){_0x2de7d5=arguments[_0x45ae97];for(var _0x49632d in _0x2de7d5)Object[_0x548dcf(0x324)][_0x548dcf(0x1d9)]['call'](_0x2de7d5,_0x49632d)&&(_0x73ef18[_0x49632d]=_0x2de7d5[_0x49632d]);}return _0x73ef18;},E[_0x280d46(0x30a)](this,arguments);},Tt=function(_0x10ec78,_0x3c4e1b){const _0x28c513=_0x4a64d1;var _0x1f89ac={};for(var _0x25fa61 in _0x10ec78)Object[_0x28c513(0x324)][_0x28c513(0x1d9)][_0x28c513(0x14e)](_0x10ec78,_0x25fa61)&&_0x3c4e1b[_0x28c513(0x140)](_0x25fa61)<0x0&&(_0x1f89ac[_0x25fa61]=_0x10ec78[_0x25fa61]);if(_0x10ec78!=null&&typeof Object[_0x28c513(0x185)]==_0x28c513(0x2c6)){for(var _0x28bb0e=0x0,_0x25fa61=Object[_0x28c513(0x185)](_0x10ec78);_0x28bb0e<_0x25fa61['length'];_0x28bb0e++)_0x3c4e1b[_0x28c513(0x140)](_0x25fa61[_0x28bb0e])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x28c513(0x14e)](_0x10ec78,_0x25fa61[_0x28bb0e])&&(_0x1f89ac[_0x25fa61[_0x28bb0e]]=_0x10ec78[_0x25fa61[_0x28bb0e]]);}return _0x1f89ac;},pe=M[_0x4a64d1(0x3a2)](function(_0x283cab,_0x32d173){const _0x54e785=_0x4a64d1;var _0x4b4b3f=_0x283cab['icon'],_0x438740=_0x283cab['id'],_0x1520da=_0x283cab['className'],_0x52d9a6=_0x283cab['extend'],_0x2a9570=Tt(_0x283cab,[_0x54e785(0x22c),'id',_0x54e785(0x33a),_0x54e785(0x20f)]),_0xd2a8d5=_0x54e785(0x124)[_0x54e785(0x1c3)](_0x438740,'\x20')[_0x54e785(0x1c3)](_0x1520da||'')[_0x54e785(0x340)](),_0x4d0882=M['useRef']('_'[_0x54e785(0x1c3)](Dt()));return we(_0x4b4b3f,''[_0x54e785(0x1c3)](_0x438740),{'defIds':_0x4b4b3f[_0x54e785(0x1f3)],'idSuffix':_0x4d0882[_0x54e785(0x261)]},E({'ref':_0x32d173,'className':_0xd2a8d5},_0x2a9570),_0x52d9a6);});function we(_0x340a4d,_0x126ba8,_0x1fadf8,_0x2c57b1,_0x183241){const _0xb101e8=_0x4a64d1;return M[_0xb101e8(0x372)](_0x340a4d[_0xb101e8(0x127)],E(E({'key':_0x126ba8},Ot(_0x340a4d,_0x1fadf8,_0x183241)),_0x2c57b1),(Rt(_0x340a4d,_0x1fadf8)[_0xb101e8(0x17d)]||[])[_0xb101e8(0x3a4)](function(_0x3de054,_0x23193a){const _0x189985=_0xb101e8;return we(_0x3de054,''[_0x189985(0x1c3)](_0x126ba8,'-')[_0x189985(0x1c3)](_0x340a4d[_0x189985(0x127)],'-')[_0x189985(0x1c3)](_0x23193a),_0x1fadf8,void 0x0,_0x183241);}));}function Ot(_0x2922b5,_0x5bda37,_0x3974d0){const _0x1f96ff=_0x4a64d1;var _0x4fdfb7=E({},_0x2922b5[_0x1f96ff(0x17a)]);_0x3974d0!=null&&_0x3974d0[_0x1f96ff(0x15f)]&&_0x4fdfb7[_0x1f96ff(0x2c2)]==='colorChannel1'&&(_0x4fdfb7[_0x1f96ff(0x2c2)]=_0x3974d0['colorChannel1']),_0x2922b5[_0x1f96ff(0x127)]===_0x1f96ff(0x38f)&&_0x4fdfb7['id']&&(_0x4fdfb7['id']=_0x4fdfb7['id']+_0x5bda37[_0x1f96ff(0x2b6)]),Object['entries'](_0x4fdfb7)['forEach'](function(_0xfbc8d5){const _0x18bb0e=_0x1f96ff;var _0x3dcfaf=_0xfbc8d5[0x0],_0x494220=_0xfbc8d5[0x1];_0x3dcfaf===_0x18bb0e(0x38f)&&typeof _0x494220==_0x18bb0e(0x209)&&(_0x4fdfb7[_0x3dcfaf]=_0x494220[_0x18bb0e(0x11b)](/url\(#(.*)\)/,'url(#$1'[_0x18bb0e(0x1c3)](_0x5bda37['idSuffix'],')')));});var _0x47d4c8=_0x5bda37[_0x1f96ff(0x1f3)];return!_0x47d4c8||_0x47d4c8[_0x1f96ff(0x159)]===0x0||(_0x2922b5[_0x1f96ff(0x127)]==='use'&&_0x4fdfb7['xlink:href']&&(_0x4fdfb7[_0x1f96ff(0x31a)]=_0x4fdfb7[_0x1f96ff(0x31a)]+_0x5bda37[_0x1f96ff(0x2b6)]),Object[_0x1f96ff(0x254)](_0x4fdfb7)[_0x1f96ff(0x173)](function(_0x5995ae){const _0x3bc8c1=_0x1f96ff;var _0x4d5939=_0x5995ae[0x0],_0x235a61=_0x5995ae[0x1];typeof _0x235a61==_0x3bc8c1(0x209)&&(_0x4fdfb7[_0x4d5939]=_0x235a61[_0x3bc8c1(0x11b)](/url\(#(.*)\)/,_0x3bc8c1(0x1f9)[_0x3bc8c1(0x1c3)](_0x5bda37[_0x3bc8c1(0x2b6)],')')));})),_0x4fdfb7;}function Rt(_0xca3dd,_0x1590b5){const _0x5e7458=_0x4a64d1;var _0x3e3f41,_0x18dc95=_0x1590b5[_0x5e7458(0x1f3)];return!_0x18dc95||_0x18dc95[_0x5e7458(0x159)]===0x0?_0xca3dd:_0xca3dd[_0x5e7458(0x127)]===_0x5e7458(0x119)&&(!((_0x3e3f41=_0xca3dd[_0x5e7458(0x17d)])===null||_0x3e3f41===void 0x0)&&_0x3e3f41[_0x5e7458(0x159)])?E(E({},_0xca3dd),{'children':_0xca3dd[_0x5e7458(0x17d)][_0x5e7458(0x3a4)](function(_0x1ad0e5){const _0x5de5b5=_0x5e7458;return typeof _0x1ad0e5[_0x5de5b5(0x17a)]['id']==_0x5de5b5(0x209)&&_0x18dc95&&_0x18dc95['indexOf'](_0x1ad0e5[_0x5de5b5(0x17a)]['id'])>-0x1?E(E({},_0x1ad0e5),{'attrs':E(E({},_0x1ad0e5[_0x5de5b5(0x17a)]),{'id':_0x1ad0e5[_0x5de5b5(0x17a)]['id']+_0x1590b5[_0x5de5b5(0x2b6)]})}):_0x1ad0e5;})}):_0xca3dd;}function Dt(){const _0x5d98aa=_0x4a64d1;return Math['random']()[_0x5d98aa(0x361)](0x24)['substring'](0x2,0x8);}pe[_0x4a64d1(0x2e2)]=_0x4a64d1(0x234);var Ut={'tag':_0x4a64d1(0x2eb),'attrs':{'fill':_0x4a64d1(0x1e2),'viewBox':_0x4a64d1(0x220),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4a64d1(0x21e)},'children':[{'tag':'path','attrs':{'stroke':_0x4a64d1(0x1c4),'d':_0x4a64d1(0x264),'strokeLinecap':_0x4a64d1(0x1b9),'strokeLinejoin':_0x4a64d1(0x1b9),'strokeWidth':1.2}}]},{'tag':_0x4a64d1(0x119),'attrs':{},'children':[{'tag':_0x4a64d1(0x1fe),'attrs':{'id':_0x4a64d1(0x133)},'children':[{'tag':'path','attrs':{'fill':_0x4a64d1(0x2a0),'d':_0x4a64d1(0x219)}}]}]}],'defIds':[_0x4a64d1(0x133)]},ye=M[_0x4a64d1(0x3a2)](function(_0x941b2d,_0xf6b120){const _0xada350=_0x4a64d1;return M[_0xada350(0x372)](pe,Object[_0xada350(0x386)]({},_0x941b2d,{'id':_0xada350(0x2de),'ref':_0xf6b120,'icon':Ut}));});ye['displayName']=_0x4a64d1(0x1bb);var Nt={'tag':_0x4a64d1(0x2eb),'attrs':{'fill':_0x4a64d1(0x1e2),'viewBox':_0x4a64d1(0x13a),'width':_0x4a64d1(0x1db),'height':_0x4a64d1(0x1db)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a64d1(0x154)},'children':[{'tag':_0x4a64d1(0x19e),'attrs':{'stroke':_0x4a64d1(0x1c4),'d':_0x4a64d1(0x164),'strokeLinecap':_0x4a64d1(0x1b9),'strokeLinejoin':_0x4a64d1(0x1b9),'strokeWidth':1.2}}]},{'tag':_0x4a64d1(0x119),'attrs':{},'children':[{'tag':_0x4a64d1(0x1fe),'attrs':{'id':_0x4a64d1(0x25d)},'children':[{'tag':_0x4a64d1(0x19e),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x4a64d1(0x2e8)}}]}]}],'defIds':[_0x4a64d1(0x25d)]},$e=M[_0x4a64d1(0x3a2)](function(_0x20597e,_0x1f02d4){const _0x497abc=_0x4a64d1;return M[_0x497abc(0x372)](pe,Object[_0x497abc(0x386)]({},_0x20597e,{'id':_0x497abc(0x396),'ref':_0x1f02d4,'icon':Nt}));});$e[_0x4a64d1(0x2e2)]=_0x4a64d1(0x18e);function Mt(_0x263c61){const _0x4aab4e=_0x4a64d1;switch(_0x263c61){case u[_0x4aab4e(0x379)]['OFFLINE']:return _0x4aab4e(0x1a7);case u[_0x4aab4e(0x379)][_0x4aab4e(0x2e3)]:return _0x4aab4e(0x2dc);case u[_0x4aab4e(0x379)][_0x4aab4e(0x330)]:return _0x4aab4e(0x1af);case u[_0x4aab4e(0x379)][_0x4aab4e(0x2f5)]:return _0x4aab4e(0x3ab);case u['CollaborationStatus'][_0x4aab4e(0x188)]:case u[_0x4aab4e(0x379)]['AWAITING_WITH_PENDING']:return _0x4aab4e(0x189);case u[_0x4aab4e(0x379)][_0x4aab4e(0x1a2)]:case u[_0x4aab4e(0x379)][_0x4aab4e(0x322)]:return _0x4aab4e(0x241);}}function xe(_0x52dc9e){const _0x58ee6d=_0x4a64d1,{status$:_0x53d01e}=_0x52dc9e,_0x4adc9e=T[_0x58ee6d(0x370)](_0x53d01e,u[_0x58ee6d(0x379)]['NOT_COLLAB']),_0x32999f=T[_0x58ee6d(0x1b0)](a['LocaleService']),_0x23024a=T[_0x58ee6d(0x1b0)](u['CollaborationSessionService']),_0xab7e59=_0x4adc9e!==u[_0x58ee6d(0x379)][_0x58ee6d(0x1bf)],_0x5dab20=_0x32999f['t'](Mt(_0x4adc9e)),_0x984435=_0xab7e59?P[_0x58ee6d(0x26c)]($e,{}):P['jsx'](ye,{}),_0x569f09=M[_0x58ee6d(0x2c0)](()=>{const _0x4dc40c=_0x58ee6d;_0xab7e59||_0x23024a[_0x4dc40c(0x302)]();},[_0xab7e59,_0x23024a]);function _0x1c3940(){const _0x1a2d10=_0x58ee6d;return P[_0x1a2d10(0x2a4)](_0x1a2d10(0x2f7),{'className':_0x1a2d10(0x342),'onClick':_0x569f09,'children':[P[_0x1a2d10(0x26c)](_0x1a2d10(0x2f7),{'className':D[_0x1a2d10(0x33b)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0xab7e59?_0x1a2d10(0x23d):_0x1a2d10(0x131)),'children':_0x984435}),P['jsx'](_0x1a2d10(0x2f7),{'className':_0x1a2d10(0x157),'children':_0x5dab20})]});}return _0xab7e59?_0x1c3940():P[_0x58ee6d(0x26c)](D[_0x58ee6d(0x1ec)],{'title':_0x32999f['t'](_0x58ee6d(0x1e3)),'children':_0x1c3940()});}var Lt=Object[_0x4a64d1(0x26f)],Pt=(_0x1564ab,_0x33951f,_0x4edf89,_0x55288e)=>{const _0x14aa59=_0x4a64d1;for(var _0x5bb3b1=_0x55288e>0x1?void 0x0:_0x55288e?Lt(_0x33951f,_0x4edf89):_0x33951f,_0x21baf4=_0x1564ab[_0x14aa59(0x159)]-0x1,_0x42f400;_0x21baf4>=0x0;_0x21baf4--)(_0x42f400=_0x1564ab[_0x21baf4])&&(_0x5bb3b1=_0x42f400(_0x5bb3b1)||_0x5bb3b1);return _0x5bb3b1;},V=(_0x2f4c80,_0x3ecee4)=>(_0x1dfde0,_0x352620)=>_0x3ecee4(_0x1dfde0,_0x352620,_0x2f4c80);exports[_0x4a64d1(0x383)]=class extends a[_0x4a64d1(0x1b4)]{constructor(_0x68c700,_0x1c266d,_0x21ad56,_0xbba039){const _0x130275=_0x4a64d1;super(),h(this,_0x130275(0x1f2),new d[(_0x130275(0x32d))](u[_0x130275(0x379)][_0x130275(0x2f5)])),(this[_0x130275(0x272)]=_0x68c700,this[_0x130275(0x2bf)]=_0x1c266d,this[_0x130275(0x287)]=_0x21ad56,this[_0x130275(0x12f)]=_0xbba039,this[_0x130275(0x161)](),this[_0x130275(0x18d)]());}[_0x4a64d1(0x18d)](){const _0x6a9836=_0x4a64d1;this['disposeWithMe'](this['_univerInstanceService'][_0x6a9836(0x343)]['pipe'](d[_0x6a9836(0x243)](()=>{const _0x1b50e7=_0x6a9836,_0x4ea2ed=this[_0x1b50e7(0x272)][_0x1b50e7(0x1dc)]();return _0x4ea2ed?this[_0x1b50e7(0x287)][_0x1b50e7(0x284)](_0x4ea2ed[_0x1b50e7(0x129)]()):d['of'](null);}),d[_0x6a9836(0x243)](_0x112cf7=>_0x112cf7?_0x112cf7[_0x6a9836(0x146)]:d['of'](u[_0x6a9836(0x379)][_0x6a9836(0x2f5)])))[_0x6a9836(0x1d2)](_0x5bd5fb=>{const _0x43ff31=_0x6a9836;this[_0x43ff31(0x1f2)][_0x43ff31(0x14f)](_0x5bd5fb);}));}[_0x4a64d1(0x161)](){const _0x4cba10=_0x4a64d1;this[_0x4cba10(0x1ba)](this['_uiPartsService']['registerComponent'](T[_0x4cba10(0x195)][_0x4cba10(0x39f)],()=>T[_0x4cba10(0x165)](At({'status$':this[_0x4cba10(0x1f2)][_0x4cba10(0x238)]()}),this['_injector'])));}},exports[_0x4a64d1(0x383)]=Pt([V(0x0,a[_0x4a64d1(0x1c7)]),V(0x1,a['Inject'](a[_0x4a64d1(0x1c8)])),V(0x2,a[_0x4a64d1(0x34b)](u['CollaborationController'])),V(0x3,T[_0x4a64d1(0x2ce)])],exports[_0x4a64d1(0x383)]);function At(_0x3c04b4){const {status$:_0xaeebd8}=_0x3c04b4;return function(){const _0x57d0d4=_0x31bb;return P[_0x57d0d4(0x26c)](xe,{'status$':_0xaeebd8});};}var wt=Object[_0x4a64d1(0x26f)],yt=(_0x3cdc45,_0x4aeb1e,_0x306591,_0x57fabc)=>{for(var _0x1973a8=_0x57fabc>0x1?void 0x0:_0x57fabc?wt(_0x4aeb1e,_0x306591):_0x4aeb1e,_0x5a8de9=_0x3cdc45['length']-0x1,_0x5ea9eb;_0x5a8de9>=0x0;_0x5a8de9--)(_0x5ea9eb=_0x3cdc45[_0x5a8de9])&&(_0x1973a8=_0x5ea9eb(_0x1973a8)||_0x1973a8);return _0x1973a8;},y=(_0x176102,_0x5a2398)=>(_0x501e57,_0x165457)=>_0x5a2398(_0x501e57,_0x165457,_0x176102);let q=class extends a[_0x4a64d1(0x1b4)]{constructor(_0xc8b343,_0x301a86,_0x42f0f2,_0x5cac9a,_0x5a8e17,_0x5934ef){const _0x254b45=_0x4a64d1;super(),this[_0x254b45(0x1bd)]=_0xc8b343,this['_localCacheService']=_0x301a86,this['_collaborationUIEventService']=_0x42f0f2,this['_messageService']=_0x5cac9a,this[_0x254b45(0x303)]=_0x5a8e17,this['_localeService']=_0x5934ef,this[_0x254b45(0x172)](),this[_0x254b45(0x1e6)]();}[_0x4a64d1(0x172)](){const _0x5c0e6a=_0x4a64d1;this['disposeWithMe'](this[_0x5c0e6a(0x1bd)][_0x5c0e6a(0x1ea)](()=>{const _0x4571ad=_0x5c0e6a;if(this[_0x4571ad(0x246)][_0x4571ad(0x38e)]['size'])return this['_localeService']['t'](_0x4571ad(0x337));}));}['_initEvent'](){const _0x4ef432=_0x4a64d1;this[_0x4ef432(0x1ba)](this[_0x4ef432(0x339)][_0x4ef432(0x388)][_0x4ef432(0x1d2)](_0x563688=>{const _0x242f6a=_0x4ef432;_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x1b5)]&&this[_0x242f6a(0x307)]['show']({'type':D[_0x242f6a(0x24a)][_0x242f6a(0x306)],'content':this[_0x242f6a(0x13e)]['t'](_0x242f6a(0x267))}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x14d)]&&this[_0x242f6a(0x307)][_0x242f6a(0x19c)]({'type':D['MessageType'][_0x242f6a(0x306)],'content':this[_0x242f6a(0x13e)]['t']('collaboration.closeRoom')}),_0x563688['id']===u[_0x242f6a(0x15d)]['PERMISSION_DENIED']&&this[_0x242f6a(0x303)][_0x242f6a(0x19c)]({'title':this[_0x242f6a(0x13e)]['t'](_0x242f6a(0x24b)),'content':this[_0x242f6a(0x13e)]['t'](_0x242f6a(0x1e7)),'type':_0x242f6a(0x201),'duration':0x0}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x2e3)]&&this['_messageService']['show']({'type':D[_0x242f6a(0x24a)]['Error'],'content':this['_localeService']['t'](_0x242f6a(0x3a0))+'('+_0x563688['data']+')'}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x136)]&&this[_0x242f6a(0x307)]['show']({'type':D[_0x242f6a(0x24a)][_0x242f6a(0x306)],'content':this['_localeService']['t'](_0x563688[_0x242f6a(0x2b8)]||'')}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x228)]&&this[_0x242f6a(0x307)][_0x242f6a(0x19c)]({'type':D[_0x242f6a(0x24a)][_0x242f6a(0x306)],'content':this[_0x242f6a(0x13e)]['t']('session.will-retry')}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x194)]&&this['_messageService'][_0x242f6a(0x19c)]({'type':D['MessageType'][_0x242f6a(0x391)],'content':this[_0x242f6a(0x13e)]['t'](_0x242f6a(0x320))}),_0x563688['id']===u[_0x242f6a(0x15d)][_0x242f6a(0x1c0)]&&this['_messageService'][_0x242f6a(0x19c)]({'type':D['MessageType'][_0x242f6a(0x391)],'content':this['_localeService']['t'](_0x242f6a(0x17f))});}));}};q=yt([y(0x0,T[_0x4a64d1(0x30e)]),y(0x1,u[_0x4a64d1(0x312)]),y(0x2,a[_0x4a64d1(0x34b)](u[_0x4a64d1(0x145)])),y(0x3,T[_0x4a64d1(0x20a)]),y(0x4,T[_0x4a64d1(0x346)]),y(0x5,a['Inject'](a['LocaleService']))],q);const $t='collaboration-client-ui.config',Ue={},be=a['createIdentifier'](_0x4a64d1(0x381));var xt=Object[_0x4a64d1(0x26f)],jt=(_0xc592e7,_0x479d96,_0x1d2c58,_0x53e82e)=>{const _0x12a0a8=_0x4a64d1;for(var _0x419601=_0x53e82e>0x1?void 0x0:_0x53e82e?xt(_0x479d96,_0x1d2c58):_0x479d96,_0x218bb7=_0xc592e7[_0x12a0a8(0x159)]-0x1,_0x4deabc;_0x218bb7>=0x0;_0x218bb7--)(_0x4deabc=_0xc592e7[_0x218bb7])&&(_0x419601=_0x4deabc(_0x419601)||_0x419601);return _0x419601;},H=(_0x5f5150,_0x25a70e)=>(_0x5e43e7,_0x502a77)=>_0x25a70e(_0x5e43e7,_0x502a77,_0x5f5150);exports['CollaborationDataLoaderController']=class extends a['RxDisposable']{constructor(_0x124af7,_0x23efe7,_0x48d060,_0x555ad9,_0x4c97cd){const _0x3dd683=_0x4a64d1;super(),this[_0x3dd683(0x214)]=_0x124af7,this[_0x3dd683(0x32f)]=_0x23efe7,this[_0x3dd683(0x147)]=_0x48d060,this[_0x3dd683(0x37a)]=_0x555ad9,_0x4c97cd?_0x4c97cd==null||_0x4c97cd[_0x3dd683(0x395)]()[_0x3dd683(0x326)](()=>this['_init']()):(this[_0x3dd683(0x32f)][_0x3dd683(0x28c)](_0x3dd683(0x182),_0x3dd683(0x1a9)),this[_0x3dd683(0x240)]());}async[_0x4a64d1(0x240)](){const _0x6da71d=_0x4a64d1,_0x17bab6=this[_0x6da71d(0x214)][_0x6da71d(0x290)](_0x6da71d(0x1d1)),_0x3a79ee=this[_0x6da71d(0x214)]['getParam'](_0x6da71d(0x2f2)),_0x2bd87c=this['_urlService'][_0x6da71d(0x290)](_0x6da71d(0x1a3));if(!_0x17bab6||!_0x3a79ee){this['_logService'][_0x6da71d(0x28c)](_0x6da71d(0x182),_0x6da71d(0x18a));return;}const _0x34bdea=await this[_0x6da71d(0x37a)][_0x6da71d(0x199)](_0x17bab6,Number(_0x3a79ee),_0x2bd87c);_0x34bdea&&_0x34bdea instanceof a[_0x6da71d(0x335)]&&this[_0x6da71d(0x1d5)](_0x34bdea);}async[_0x4a64d1(0x1d5)](_0xa90750){const _0x477e85=_0x4a64d1;await this['_updateSubUnitFromURLParams'](_0xa90750),_0xa90750[_0x477e85(0x317)][_0x477e85(0x11d)](d['takeUntil'](this[_0x477e85(0x298)]))[_0x477e85(0x1d2)](_0xf5d150=>{const _0x220ff7=_0x477e85;_0xf5d150&&this[_0x220ff7(0x217)](_0xf5d150);}),this[_0x477e85(0x214)][_0x477e85(0x39c)][_0x477e85(0x11d)](d['takeUntil'](this[_0x477e85(0x298)]))[_0x477e85(0x1d2)](()=>this['_updateSubUnitFromURLParams'](_0xa90750));}[_0x4a64d1(0x217)](_0x4dad50,_0x4b4cd4=!0x1){const _0x4af874=_0x4a64d1,_0x494529=this[_0x4af874(0x214)][_0x4af874(0x290)](_0x4af874(0x1a3));_0x4dad50[_0x4af874(0x2c8)]()!==_0x494529&&this[_0x4af874(0x214)]['setParam'](_0x4af874(0x1a3),_0x4dad50[_0x4af874(0x2c8)](),_0x4b4cd4);}async[_0x4a64d1(0x29a)](_0x4b987d){const _0x52d0d3=_0x4a64d1;var _0x3aa43a;const _0x289322=this[_0x52d0d3(0x214)][_0x52d0d3(0x290)](_0x52d0d3(0x1a3));if(!_0x289322||!_0x4b987d['getSheetBySheetId'](_0x289322)){const _0x2de940=_0x4b987d[_0x52d0d3(0x21c)]()[0x0],_0x283b58=_0x4b987d['getSheetBySheetId'](_0x2de940);if(!_0x283b58)return;this[_0x52d0d3(0x217)](_0x283b58,!0x0),await this[_0x52d0d3(0x147)]['executeCommand'](g[_0x52d0d3(0x32a)]['id'],{'unitId':_0x4b987d[_0x52d0d3(0x129)](),'subUnitId':_0x2de940});return;}((_0x3aa43a=_0x4b987d[_0x52d0d3(0x394)]())==null?void 0x0:_0x3aa43a[_0x52d0d3(0x2c8)]())!==_0x289322&&await this[_0x52d0d3(0x147)][_0x52d0d3(0x3aa)](g[_0x52d0d3(0x32a)]['id'],{'unitId':_0x4b987d[_0x52d0d3(0x129)](),'subUnitId':_0x289322});}},exports[_0x4a64d1(0x237)]=jt([H(0x0,be),H(0x1,a[_0x4a64d1(0x309)]),H(0x2,a['ICommandService']),H(0x3,a[_0x4a64d1(0x34b)](u[_0x4a64d1(0x371)])),H(0x4,a[_0x4a64d1(0x390)](Ke[_0x4a64d1(0x1bc)]))],exports[_0x4a64d1(0x237)]);var Bt=Object[_0x4a64d1(0x26f)],kt=(_0x2bbfa9,_0x89202d,_0xbbd9c6,_0x251da0)=>{const _0x55e0ed=_0x4a64d1;for(var _0x1571da=_0x251da0>0x1?void 0x0:_0x251da0?Bt(_0x89202d,_0xbbd9c6):_0x89202d,_0x4529de=_0x2bbfa9[_0x55e0ed(0x159)]-0x1,_0x490b02;_0x4529de>=0x0;_0x4529de--)(_0x490b02=_0x2bbfa9[_0x4529de])&&(_0x1571da=_0x490b02(_0x1571da)||_0x1571da);return _0x1571da;},ce=(_0x2cd3f6,_0x58c867)=>(_0x5a6d02,_0x46d6e4)=>_0x58c867(_0x5a6d02,_0x46d6e4,_0x2cd3f6);let z=class{constructor(_0x63c6f7,_0x3b28e3,_0x15a399){const _0x354271=_0x4a64d1;this[_0x354271(0x2bf)]=_0x63c6f7,this[_0x354271(0x348)]=_0x3b28e3,this[_0x354271(0x336)]=_0x15a399;}[_0x4a64d1(0x28e)](_0x2c5573){const _0x5f55ec=_0x4a64d1;this[_0x5f55ec(0x250)](_0x2c5573),this[_0x5f55ec(0x375)](_0x2c5573);}[_0x4a64d1(0x1a0)](_0x329ba6){const _0x24a27c=_0x4a64d1,{unitID:_0x25271f}=_0x329ba6,_0x34529f=this[_0x24a27c(0x336)][_0x24a27c(0x1d3)](_0x25271f)[_0x24a27c(0x15c)](b[_0x24a27c(0x1ee)]),{redoCache:_0x451c35}=_0x34529f[_0x24a27c(0x378)]();if(_0x451c35[_0x24a27c(0x159)]===0x0)return _0x329ba6;let _0x21a4a0=a['Tools'][_0x24a27c(0x1ce)](_0x329ba6[_0x24a27c(0x2fd)][0x0]);for(let _0xd3d40d=0x0;_0xd3d40d<_0x451c35[_0x24a27c(0x159)];_0xd3d40d++){const _0xd3b7b3={'id':_0x24a27c(0x23b),'params':{..._0x451c35[_0xd3d40d]}},_0x2e67f2=this[_0x24a27c(0x348)][_0x24a27c(0x2b5)](_0x21a4a0,_0xd3b7b3,!0x1);if(m[_0x24a27c(0x2a7)](_0x2e67f2))throw _0x2e67f2[_0x24a27c(0x201)];_0x21a4a0=_0x2e67f2[_0x24a27c(0x32b)];}return{...a['Tools'][_0x24a27c(0x1ce)](_0x329ba6),'mutations':[_0x21a4a0]};}[_0x4a64d1(0x250)](_0x433400){const _0x486627=_0x4a64d1,{unitID:_0x7bd30e}=_0x433400,_0x22ffb0=this['_renderManagerService'][_0x486627(0x1d3)](_0x7bd30e)[_0x486627(0x15c)](b['DocIMEInputManagerService']),{undoCache:_0x508fed,redoCache:_0x37a582}=_0x22ffb0[_0x486627(0x378)]();if(_0x508fed[_0x486627(0x159)]===0x0||_0x37a582['length']===0x0)return;const _0x576178=[],_0x140e4e=[];let _0x160ff4=a[_0x486627(0x1fc)][_0x486627(0x1ce)](_0x433400['mutations'][0x0]),_0x1a9c67=a[_0x486627(0x1fc)][_0x486627(0x1ce)](_0x433400['mutations'][0x0]);for(let _0x182d82=_0x508fed[_0x486627(0x159)]-0x1;_0x182d82>=0x0;_0x182d82--){const _0x2fb8bc={'id':'doc.mutation.rich-text-editing','params':{..._0x508fed[_0x182d82]}},_0x11d48d={'id':_0x486627(0x23b),'params':{..._0x37a582[_0x182d82]}},_0x47f553=this[_0x486627(0x348)][_0x486627(0x2b5)](_0x160ff4,_0x2fb8bc,!0x1),_0x4156fa=this['_transformService'][_0x486627(0x2b5)](_0x1a9c67,_0x11d48d,!0x1);if(m[_0x486627(0x2a7)](_0x47f553))throw _0x47f553[_0x486627(0x201)];if(m[_0x486627(0x2a7)](_0x4156fa))throw _0x4156fa[_0x486627(0x201)];_0x576178[_0x486627(0x2d7)](_0x47f553[_0x486627(0x273)]['params']),_0x140e4e[_0x486627(0x2d7)](_0x4156fa['m2Prime'][_0x486627(0x30d)]),_0x160ff4=_0x47f553[_0x486627(0x32b)],_0x1a9c67=_0x4156fa[_0x486627(0x32b)];}_0x22ffb0['setUndoRedoMutationParamsCache']({'undoCache':_0x576178,'redoCache':_0x140e4e});}[_0x4a64d1(0x375)](_0x4a76cd){const _0x7d4fa7=_0x4a64d1,{unitID:_0x1c47a0}=_0x4a76cd,_0x4df7aa=this[_0x7d4fa7(0x336)]['getRenderById'](_0x1c47a0)[_0x7d4fa7(0x15c)](b[_0x7d4fa7(0x1ee)]),_0x1ba3cc=_0x4df7aa['getActiveRange']();if(_0x1ba3cc==null)return;const _0x2c9e5f=[{'id':_0x7d4fa7(0x23b),'params':{'unitId':_0x4a76cd[_0x7d4fa7(0x14b)],'actions':null,'textRanges':[_0x1ba3cc]}}],_0x55849c=this['_transformService']['transformMutationsWithChangeset'](_0x4a76cd,_0x2c9e5f);if(!m[_0x7d4fa7(0x328)](_0x55849c))throw _0x55849c[_0x7d4fa7(0x201)];const _0x5b34af=_0x55849c['m2Prime'][0x0][_0x7d4fa7(0x30d)][_0x7d4fa7(0x360)];Array[_0x7d4fa7(0x387)](_0x5b34af)&&_0x5b34af['length']&&_0x4df7aa[_0x7d4fa7(0x327)](_0x5b34af[0x0]);}};z=kt([ce(0x0,a['Inject'](a[_0x4a64d1(0x1c8)])),ce(0x1,m[_0x4a64d1(0x2d1)]),ce(0x2,p[_0x4a64d1(0x200)])],z);var Ht=Object[_0x4a64d1(0x26f)],Yt=(_0x4ea8f9,_0x519431,_0x5b97a4,_0x1d4270)=>{const _0x5e14ff=_0x4a64d1;for(var _0xda1abc=_0x1d4270>0x1?void 0x0:_0x1d4270?Ht(_0x519431,_0x5b97a4):_0x519431,_0x4dd5db=_0x4ea8f9[_0x5e14ff(0x159)]-0x1,_0x3cde1a;_0x4dd5db>=0x0;_0x4dd5db--)(_0x3cde1a=_0x4ea8f9[_0x4dd5db])&&(_0xda1abc=_0x3cde1a(_0xda1abc)||_0xda1abc);return _0xda1abc;},le=(_0x114435,_0x392089)=>(_0x36bdc4,_0x3a5116)=>_0x392089(_0x36bdc4,_0x3a5116,_0x114435);let J=class{constructor(_0x121565,_0x5e2059,_0x1ac085){const _0x4ebeb1=_0x4a64d1;this[_0x4ebeb1(0x2bf)]=_0x121565,this[_0x4ebeb1(0x348)]=_0x5e2059,this[_0x4ebeb1(0x293)]=_0x1ac085;}[_0x4a64d1(0x385)](_0x84b812){this['_transformHistoryAndStateStack'](_0x84b812);}['transformRemoteChangeset'](_0x35025a){const _0x2de4ea=_0x4a64d1,{unitID:_0x46ece8}=_0x35025a,{collaboration:_0x59b70f}=this[_0x2de4ea(0x293)][_0x2de4ea(0x1cb)](_0x46ece8);if(_0x59b70f[_0x2de4ea(0x159)]===0x0)return _0x35025a;let _0x36b2ee=a[_0x2de4ea(0x1fc)]['deepClone'](_0x35025a[_0x2de4ea(0x2fd)][0x0]);for(let _0x36aadb=0x0;_0x36aadb<_0x59b70f['length'];_0x36aadb++){const _0x1b4f2d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x59b70f[_0x36aadb][_0x2de4ea(0x123)],..._0x59b70f[_0x36aadb]['redoState']}},_0x197ebd=this[_0x2de4ea(0x348)]['transformMutation'](_0x36b2ee,_0x1b4f2d,!0x1);if(m[_0x2de4ea(0x2a7)](_0x197ebd))throw _0x197ebd[_0x2de4ea(0x201)];_0x36b2ee=_0x197ebd[_0x2de4ea(0x32b)];}return{...a[_0x2de4ea(0x1fc)][_0x2de4ea(0x1ce)](_0x35025a),'mutations':[_0x36b2ee]};}[_0x4a64d1(0x29b)](_0x377340){const _0x5718f8=_0x4a64d1,{unitID:_0x3667aa}=_0x377340,{history:_0x94da6f,collaboration:_0x5c7c7f}=this['_docStateChangeManagerService']['getStateCache'](_0x3667aa);if(_0x94da6f[_0x5718f8(0x159)]===0x0&&_0x5c7c7f['length']===0x0)return;const _0x452ec7=[],_0x336bb2=[];let _0x18c4e1=a[_0x5718f8(0x1fc)][_0x5718f8(0x1ce)](_0x377340[_0x5718f8(0x2fd)][0x0]),_0x57a1a4=a[_0x5718f8(0x1fc)]['deepClone'](_0x377340[_0x5718f8(0x2fd)][0x0]);for(let _0x3c4d11=_0x94da6f[_0x5718f8(0x159)]-0x1;_0x3c4d11>=0x0;_0x3c4d11--){const _0x33ead4={'id':_0x5718f8(0x23b),'params':{'unitId':_0x94da6f[_0x3c4d11][_0x5718f8(0x123)],..._0x94da6f[_0x3c4d11][_0x5718f8(0x341)]}},_0x35b872={'id':_0x5718f8(0x23b),'params':{'unitId':_0x94da6f[_0x3c4d11][_0x5718f8(0x123)],..._0x94da6f[_0x3c4d11][_0x5718f8(0x34c)]}},_0x503a31=this[_0x5718f8(0x348)][_0x5718f8(0x2b5)](_0x18c4e1,_0x33ead4,!0x1),_0x456307=this['_transformService'][_0x5718f8(0x2b5)](_0x57a1a4,_0x35b872,!0x1);if(m['isTransformMutationFailure'](_0x503a31))throw _0x503a31[_0x5718f8(0x201)];if(m[_0x5718f8(0x2a7)](_0x456307))throw _0x456307[_0x5718f8(0x201)];_0x452ec7[_0x5718f8(0x2d7)]({..._0x94da6f[_0x3c4d11],'undoState':_0x503a31[_0x5718f8(0x273)][_0x5718f8(0x30d)],'redoState':_0x456307['m2Prime'][_0x5718f8(0x30d)]}),_0x18c4e1=_0x503a31['m1Prime'],_0x57a1a4=_0x456307[_0x5718f8(0x32b)];}_0x18c4e1=a[_0x5718f8(0x1fc)]['deepClone'](_0x377340[_0x5718f8(0x2fd)][0x0]),_0x57a1a4=a['Tools'][_0x5718f8(0x1ce)](_0x377340[_0x5718f8(0x2fd)][0x0]);for(let _0x32aeca=_0x5c7c7f[_0x5718f8(0x159)]-0x1;_0x32aeca>=0x0;_0x32aeca--){const _0x3f72e3={'id':_0x5718f8(0x23b),'params':{'unitId':_0x5c7c7f[_0x32aeca][_0x5718f8(0x123)],..._0x5c7c7f[_0x32aeca][_0x5718f8(0x341)]}},_0x5ca608={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c7c7f[_0x32aeca]['unitId'],..._0x5c7c7f[_0x32aeca][_0x5718f8(0x34c)]}},_0x44466f=this['_transformService']['transformMutation'](_0x18c4e1,_0x3f72e3,!0x1),_0x362482=this[_0x5718f8(0x348)][_0x5718f8(0x2b5)](_0x57a1a4,_0x5ca608,!0x1);if(m[_0x5718f8(0x2a7)](_0x44466f))throw _0x44466f[_0x5718f8(0x201)];if(m[_0x5718f8(0x2a7)](_0x362482))throw _0x362482[_0x5718f8(0x201)];_0x336bb2['unshift']({..._0x5c7c7f[_0x32aeca],'undoState':_0x44466f[_0x5718f8(0x273)][_0x5718f8(0x30d)],'redoState':_0x362482[_0x5718f8(0x273)][_0x5718f8(0x30d)]}),_0x18c4e1=_0x44466f[_0x5718f8(0x32b)],_0x57a1a4=_0x362482[_0x5718f8(0x32b)];}this['_docStateChangeManagerService']['setStateCache'](_0x3667aa,{'history':_0x452ec7,'collaboration':_0x336bb2});}};function _0x5436(){const _0x2fcf91=['7773684ARraww','mergeOverrideWithDependencies','_init','collabStatus.synced','clearTimeout','switchMap','rxjs/operators','popstate','_localCacheService','selection','UniverInstanceType','_collabSessionService','MessageType','permission.title','push','_onCursorDelete','_anchorDot','EffectRefRangId','_transformUndoRedoStack','pluginName','shareReplay','createInstance','entries','lineTo','65668uLIQMe','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','hide','_id','invokeId','@univerjs/engine-formula','DeleteRangeMoveUpCommandId','on-line-single_clip0_910_349','_doCreateSocket','_name','setParam','current','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INVALID_INVITE_CODE','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','react','sheetID','collaboration.single-unit.warning','ICommandService','getItem','saveImage','YUUMI_RATE_OVER_LIMIT','jsx','getTypeOfUnitDisposed$','YUUMI_AI_RUN_FAILED','getOwnPropertyDescriptor','verdancy600','distinctUntilChanged','_univerInstanceService','m2Prime','clearInterval','ticket','handleInsertRangeMoveRight','href','body','transformByState','INVITE_CODE_HAS_BEEN_UES','delete','sheetId','_startDocCollabCursor','_imageIoService','getMember','fromEvent','complete','_localStorageService','_drawAnchor','getCollabEntity$','roomMembers','getSkeleton','_collaborationController','@univerjs/sheets','getRelativeToViewportCoord','_selfUnitIDs','DocCollaborationEntity','debug','UPDATE_CURSOR','transformIMECache','COMPLETION_FINISHED','getParam','skeleton','Rect','_docStateChangeManagerService','HTTPService','InsertRangeMoveDownCommandId','LICENSE_DISTRO_REJECTED','onCommandExecuted','dispose$','_hover','_updateSubUnitFromURLParams','_transformHistoryAndStateStack','split','getCollabCursors$','black','getLocalCacheKey','#fff','handleIRemoveRow','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CollaborationEvent','jsxs','_cursorInfo$','history','isTransformMutationFailure','_updateCollabCursors','jiqing500','UniverCollaborationClientUIPlugin','getCurrentRevOfUnit','pushState','UnitStatus','includes','labelPosition','color','@univerjs/core','handleMoveRange','fromEventSubject','touchDependencies','transformMutation','idSuffix','UNRECOGNIZED','data','_startSheetCollabCursor','collab-text-anchor-','_cursor','NOT_FOUND','_toggleOnline','_removeCollabCursors','_injector','useCallback','collab-text-range-','fill','Module','runId','_handleHeartbeatEvent','function','onPointerMove$','getSheetId','_session','ALREADY_EXISTS','min','_render','getCurrentUnitForType','IUIPartsService','_entityInit$','code','ITransformService','442NUWsDo','923248bzfjTV','roomMembers$','registerRefRange','NodePositionConvertToCursor','unshift','endRow','wsSessionTicketUrl','_eventUnsubscribe','Plugin','collabStatus.conflict','_cursorShapes','off-line-single','get','getTypeOfUnitAdded$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','displayName','CONFLICT','@univerjs/design','subscribeEvent','key','_syncEditingCollabCursorService','translate(.97)','SetDocZoomRatioOperation','startRow','svg','UNIVER_DOC','send','SetSelectionsOperation','_docClipboardService','_cachedData','7LeRsjp','type','_getSaveTimeout','_toggleOffline','NOT_COLLAB','_docSkeletonManagerService','div','addEventListener','UNDEFINED','init','@univerjs/rpc','_send','mutations','LICENSE_EXPORT_SIZE_EXCEEDED','deserializeRangeWithSheet','serializeRangeWithSheet','WECHAT_HAS_BEEN_BOUND','reconnect','_notificationService','handleDeleteRangeMoveLeft','evenodd','Warning','_messageService','SessionStatus','ILogService','apply','restore','_onCursorUpdate','params','IBeforeCloseService','top','_getMergeRange','createSocket','ILocalCacheService','90tRqzhz','row','RECT','USER_NOT_INVITED_CODE','activeSheet$','MemberService','_textBubble','xlink:href','YUUMI_ALL_TABLES_IS_INVALID','save','_scheduleClearOtherTimer','SheetsSelectionsService','_lastPointer','session.connection-failed','endColumn','PENDING','transform','prototype','gold400','then','setActiveRange','isTransformMutationsWithChangesetSuccess','result','SetWorksheetActivateCommand','m1Prime','Shape','BehaviorSubject','FromArray','_logService','FETCH_MISS','_hideTimer','_heartbeatTimer','_unitStatus','unload','Workbook','_renderManagerService','collaboration-client.offline-data-not-saved','_updateLocalCursor','_collaborationUIEventService','className','clsx','_clearOtherTimers','post','_removeClearOtherTimer','width','trim','undoState','univer-flex\x20univer-items-center','focused$','_docSkeleton','TOO_MANY_REQUESTS','INotificationService','YUUMI_NO_CUBOID_FOR_QUESTION','_transformService','SheetCollabCursorShape','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Inject','redoState','@univerjs/docs','toRgbString','_labelPosition','NO_OTHER_CLIENTS_EDITING','_drawRectRange','_docSyncEditingCollabCursorService','height','bottom','enableLocalCache','handleIRemoveCol','_scheduleHeartbeat','syncEditingCollabCursor','selections','ILocalStorageService','defineProperty','_getSessionTicket','getCurrentSelections','column','findNodePositionByCharIndex','textRanges','toString','_registerRenderDependencies','_configService','_range','_scheduleSaving','Rectangle','DEFAULT_WS_SESSION_TICKET_URL','BrowserCollaborationSocketService','addObjects','sessionTicket','debounceTime','DisposableCollection','_sheetSkeletonManagerService','setShapeProps','CollaborationController','useObservable','DataLoaderService','createElement','_context','MUTATION','_transformPreviousActiveRange','throttleTime','size','getUndoRedoMutationParamsCache','CollaborationStatus','_dataLoaderService','LocaleService','toDisposable','setItem','_docTransformStateCacheService','INVITE_CODE_ALREADY_BOUND','SHEET_VIEWPORT_KEY','uni.network.url-service','getCellPositionByOffset','DesktopCollaborationStatusDisplayController','_collabCursorState$','transformStateCache','assign','isArray','event$','getAncestorScale','_entities','rxjs','@univerjs/drawing','requireSession','saveTaskMap','mask','Optional','Error','docStateChange$','CommandType','getActiveSheet','whenReady','on-line-single','onMouseMove','_colorIndex','handleInsertCol','replaceState','RemoteUniscriptService','urlChange$','/run/','DocSelectionManagerService','HEADER_MENU','collaboration.closeRoom','_collabCursorController','forwardRef','4071630Gwtdmz','map','runOnServer','ISocketService','LICENSE_IMPORT_SIZE_EXCEEDED','_initCommandExecutedListener','NodePositionConvertToRectRange','executeCommand','collabStatus.notCollab','handleDeleteRangeMoveUp','transformSelections','measureText','fillRule','_colorAssignService','beginPath','_initResize','LOCAL_CACHE_INTERVAL','name','defs','takeUntil','replace','COLORS','pipe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_drawTextRange','search','isActive','find','unitId','univerjs-icon\x20univerjs-icon-','Unknown\x20user','hovered','tag','registerRenderModule','getUnitId','_handleJoinEvent','_docTransformSelectionsService','handleInsertRangeMoveDown','Failed','_saveTaskMap','_uiPartsService','_refRangeService','univer-text-red-500','159DUzLYY','off-line-single_clip0_910_343','IConfigService','UNIVER_SHEET','JOIN_ROOM_FAILED','isEditing','source','_initDependencies','0\x200\x2017\x2016','YUUMI_ASYNCIO_CANCELLED','filter','registerDependencies','_localeService','debounce','indexOf','MoveRangeCommandId','_docTransformIMECacheService','merge','_roomMembers$','CollaborationUIEventService','status$','_commandService','setInterval','_initEntityListener','DependentOn','unitID','eventID','CLOSE_ROOM','call','next','assignAColorForMemberID','rgba(255,\x20255,\x20255,\x200.01)','saveOfflineData','_cursors','url(#on-line-single_clip0_910_349)','backgroundColor','_draw','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','has','length','onLocalMutation','drawWith','with','CollaborationUIEventId','handleInsertRow','colorChannel1','origin','_initStatusComponent','addHandlerCallback','getSheetObject','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','connectInjector','flatMap','IDocClipboardService','_saveCache','cursorInfo$','setConfig','_instanceService','text','INVALID_ARGUMENT','getMemberID','ranges','_config','getOffsetConfig','_setupBeforeClosingHandler','forEach','CollaborationSocketService','YUUMI_UNABLE_LOAD_URL','ENSURE_SNAPSHOT_EXECUTION','CollaborationSessionService','_getScale','ColorKit','attrs','UniverCollaborationClientPlugin','ThemeService','children','stringify','session.collaboration-timeout','_handleHover','961272cUUNSz','[CollaborationDataLoaderController]','exhaustSavingTask','purple300','getOwnPropertySymbols','LOGIN_FAILED','_registerDependencies','AWAITING','collabStatus.syncing','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','location','EMAIL_HAS_BEEN_BOUND','_initStatusListener','OnLineSingle','onPointerEnter$','APPLY_PERMISSION_DENIED','getCurrent','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_DENIED','SOCKET_FAILED','BuiltInUIPart','Vector2','dispose','_backgroundColor','loadUnit','_createSocketURL','USERS_LEAVE','show','WebSocketService','path','WebBrowserSingleActiveUnitService','transformRemoteChangeset','CONNECTOR_DATA_TOO_LARGE','SYNCED','subunit','_ensureSubject','MOBILE_HAS_BEEN_BOUND','DocStateChangeManagerService','collabStatus.offline','_hovered','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','INVITE_CODE_REQUIRED','_disabled','red300','addObject','font','collabStatus.fetchMiss','useDependency','values','getColor','fillText','Disposable','OTHER_CLIENT_EDITING','onTransformChange$','unsubscribe','RemoveRowCommandId','round','disposeWithMe','OffLineSingle','IRemoteInstanceService','_beforeCloseService','loadOfflineData','OFFLINE','SUBMIT_CHANGESET_TIMEOUT','add','arc','concat','currentColor','getUniverSheetInstance','_scene','IUniverInstanceService','Injector','OTHER_CLIENTS_EDITING','searchParams','getStateCache','newValue','memberID','deepClone','_getSheetObject','RemoveColCommandId','unit','subscribe','getRenderById','_color','_setupSubUnitSync','APPLY_REJECT','_online','getConfig','hasOwnProperty','@univerjs/network','1em','getFocusedUnit','getRangePointData','range','onPointerLeave$','disableLocalCache','PY_RUNTIME_SCRIPT_ERROR','none','collab-client.tooltip.reconnect','42196990aIYtRJ','ONLINE','_initEvent','permission.content','_httpService','max','registerBeforeClose','from','Tooltip','WebURLService','DocIMEInputManagerService','DOC_RANGE_TYPE','ISnapshotServerService','triggerDblclick','_status$','defIds','_handleLeaveEvent','_unitOnClients','_shapes','some','ACTIVE_UNIT_EVENT_CHANNEL','url(#$1','_memberService','getCoordByCell','Tools','generateRandomId','clipPath','UNAUTHENTICATED','IRenderManagerService','error','storage','RegularPolygon','LICENSE_MAX_UNITS_EXCEEDED','_themeService','TEXT_RANGE_LAYER_INDEX','set','_anchor','string','IMessageService','RxDisposable','...','3726CryfoS','_getAnchorBounding','extend','parse','symbol','TEXT','APPLY_NON_SEQUENTIAL_REVISION','_urlService','RefRangeService','_assignedColors','_updateURLWithCurrentState','makeDirty','M0\x200H16V16H0z','combineLatest','closePath','getUnhiddenWorksheets','@univerjs/ui','url(#off-line-single_clip0_910_343)','_revisionService','0\x200\x2016\x2016','currentTheme$','getDocRanges','@univerjs-pro/collaboration-client','getValue','_document','LOCAL_CACHE_INTERVAL_KEY','APPLY_DUPLICATED','SOCKET_FAILED_RETRY','Subject','collabCursorState$','cursorInfo','icon','removeParam','fillStyle','APPLY_REVISION_CONFILICT','setAlpha','subUnitId','INTERNAL_ERROR','imageSourceType','UniverIcon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','override','CollaborationDataLoaderController','asObservable','SNAPSHOT_INVALID_SNAPSHOT','SNAPSHOT_HAS_BEEN_REMOVED','doc.mutation.rich-text-editing','RevisionService','univer-text-green-500'];_0x5436=function(){return _0x2fcf91;};return _0x5436();}J=Yt([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x4a64d1(0x2d1)]),le(0x2,a[_0x4a64d1(0x34b)](b['DocStateChangeManagerService']))],J);var Ft=Object['getOwnPropertyDescriptor'],Wt=(_0x42f967,_0x123650,_0x4069e4,_0x46e11e)=>{for(var _0x25456d=_0x46e11e>0x1?void 0x0:_0x46e11e?Ft(_0x123650,_0x4069e4):_0x123650,_0x596491=_0x42f967['length']-0x1,_0x1e8fef;_0x596491>=0x0;_0x596491--)(_0x1e8fef=_0x42f967[_0x596491])&&(_0x25456d=_0x1e8fef(_0x25456d)||_0x25456d);return _0x25456d;},Ne=(_0x80cc4,_0x38be03)=>(_0x2e1f93,_0x446c46)=>_0x38be03(_0x2e1f93,_0x446c46,_0x80cc4);let Z=class{constructor(_0x512356,_0x50dcc6){this['_injector']=_0x512356,this['_transformService']=_0x50dcc6;}[_0x4a64d1(0x111)](_0x2fb0f1){const _0x25fb60=_0x4a64d1;var _0x351dc7;const _0x50b8ed=this[_0x25fb60(0x2bf)][_0x25fb60(0x2df)](F['DocSelectionManagerService']),_0xd5bf81=(_0x351dc7=_0x50b8ed[_0x25fb60(0x222)]())!=null?_0x351dc7:[];if(_0xd5bf81[_0x25fb60(0x159)]===0x0)return;const _0x3496e4=_0x2fb0f1['unitID'],_0x53d978=[{'id':_0x25fb60(0x23b),'params':{'unitId':_0x3496e4,'actions':null,'textRanges':_0xd5bf81}}],_0x24b3c8=this[_0x25fb60(0x348)]['transformMutationsWithChangeset'](_0x2fb0f1,_0x53d978);if(!m[_0x25fb60(0x328)](_0x24b3c8))throw _0x24b3c8[_0x25fb60(0x201)];const _0x574c69=_0x24b3c8[_0x25fb60(0x273)][0x0]['params']['textRanges'];Array[_0x25fb60(0x387)](_0x574c69)&&_0x574c69['length']&&_0x50b8ed['replaceDocRanges'](_0x574c69,{'unitId':_0x3496e4,'subUnitId':_0x3496e4},!0x1);}};Z=Wt([Ne(0x0,a[_0x4a64d1(0x34b)](a['Injector'])),Ne(0x1,m[_0x4a64d1(0x2d1)])],Z);var Vt=Object[_0x4a64d1(0x26f)],Xt=(_0x259ac3,_0x5e0129,_0x5d9e64,_0x3a1692)=>{const _0x2ce805=_0x4a64d1;for(var _0x282952=_0x3a1692>0x1?void 0x0:_0x3a1692?Vt(_0x5e0129,_0x5d9e64):_0x5e0129,_0x3dc3eb=_0x259ac3[_0x2ce805(0x159)]-0x1,_0x2888e9;_0x3dc3eb>=0x0;_0x3dc3eb--)(_0x2888e9=_0x259ac3[_0x3dc3eb])&&(_0x282952=_0x2888e9(_0x282952)||_0x282952);return _0x282952;},N=(_0xc0d7ef,_0x31cbeb)=>(_0xfde00e,_0x1fb8b0)=>_0x31cbeb(_0xfde00e,_0x1fb8b0,_0xc0d7ef);let Q=class extends a[_0x4a64d1(0x1b4)]{constructor(_0x415821,_0x495629,_0x13b04b,_0x3735f7,_0x22eea4,_0x20c4d9,_0x35873b,_0xd8e04a){const _0x3ac5a6=_0x4a64d1;super(),h(this,_0x3ac5a6(0x1f2),new d['BehaviorSubject'](u[_0x3ac5a6(0x379)][_0x3ac5a6(0x2f5)])),(this[_0x3ac5a6(0x293)]=_0x415821,this[_0x3ac5a6(0x287)]=_0x495629,this[_0x3ac5a6(0x142)]=_0x13b04b,this[_0x3ac5a6(0x37e)]=_0x3735f7,this[_0x3ac5a6(0x12b)]=_0x22eea4,this[_0x3ac5a6(0x352)]=_0x20c4d9,this['_messageService']=_0x35873b,this['_localeService']=_0xd8e04a,this[_0x3ac5a6(0x149)]());}['_initEntityListener'](){const _0x3030ea=_0x4a64d1;this[_0x3030ea(0x1ba)](this['_collaborationController']['entityInit$'][_0x3030ea(0x1d2)](_0x1e5241=>{const _0x53b81f=_0x3030ea,_0x528d55=this['_docStateChangeManagerService'][_0x53b81f(0x392)][_0x53b81f(0x1d2)](_0x10241d=>{const _0x3a8826=_0x53b81f;if(_0x10241d==null)return;const {unitId:_0x2e5e64,redoState:_0xa25649,commandId:_0x59c9a6}=_0x10241d;if(_0x2e5e64!==_0x1e5241['unitID'])return;const _0x598f4d={'id':_0x59c9a6,'type':a[_0x3a8826(0x393)][_0x3a8826(0x374)],'params':{'unitId':_0x2e5e64,'actions':_0xa25649['actions'],'textRanges':null}};_0x1e5241[_0x3a8826(0x15a)](_0x598f4d);});if(_0x1e5241[_0x53b81f(0x1ba)](_0x528d55),_0x1e5241 instanceof u[_0x53b81f(0x28b)]){const _0x19cb03={'onTransformIME':_0x374588=>this[_0x53b81f(0x142)]['transformIMECache'](_0x374588),'onTransformState':_0xc988f=>this[_0x53b81f(0x37e)][_0x53b81f(0x385)](_0xc988f),'onTransformSelections':_0x522e06=>this['_docTransformSelectionsService']['transformSelections'](_0x522e06),'onSyncEditingCollabCursor':_0x483788=>this['_docSyncEditingCollabCursorService'][_0x53b81f(0x358)](_0x483788),'onTransformRemoteChangesetByIMECache':_0x5ef450=>this[_0x53b81f(0x142)][_0x53b81f(0x1a0)](_0x5ef450),'onTransformRemoteChangesetByStateCache':_0x4331b1=>this[_0x53b81f(0x37e)][_0x53b81f(0x1a0)](_0x4331b1)};_0x1e5241[_0x53b81f(0x162)](_0x19cb03);}}));}};Q=Xt([N(0x0,a[_0x4a64d1(0x34b)](b[_0x4a64d1(0x1a6)])),N(0x1,a[_0x4a64d1(0x34b)](u[_0x4a64d1(0x36f)])),N(0x2,a[_0x4a64d1(0x34b)](z)),N(0x3,a[_0x4a64d1(0x34b)](J)),N(0x4,a[_0x4a64d1(0x34b)](Z)),N(0x5,a['Inject'](Ce)),N(0x6,T[_0x4a64d1(0x20a)]),N(0x7,a['Inject'](a[_0x4a64d1(0x37b)]))],Q);var Gt=Object[_0x4a64d1(0x26f)],Kt=(_0x2be405,_0x3128c0,_0x42ec44,_0xd9222b)=>{for(var _0x22b729=_0xd9222b>0x1?void 0x0:_0xd9222b?Gt(_0x3128c0,_0x42ec44):_0x3128c0,_0x567b12=_0x2be405['length']-0x1,_0x261f49;_0x567b12>=0x0;_0x567b12--)(_0x261f49=_0x2be405[_0x567b12])&&(_0x22b729=_0x261f49(_0x22b729)||_0x22b729);return _0x22b729;},_e=(_0x4ba2ef,_0xc55271)=>(_0x5c5e45,_0x5dfeb7)=>_0xc55271(_0x5c5e45,_0x5dfeb7,_0x4ba2ef);let ge=class extends a[_0x4a64d1(0x1b4)]{constructor(_0x4cdca2,_0x414946,_0x23331b){const _0x4a6af6=_0x4a64d1;super(),h(this,_0x4a6af6(0x2f0),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x4a6af6(0x1ab),!0x1),(this['_configService']=_0x4cdca2,this[_0x4a6af6(0x282)]=_0x414946,this[_0x4a6af6(0x21f)]=_0x23331b);}[_0x4a64d1(0x1e0)](){const _0x5dbedf=_0x4a64d1;this[_0x5dbedf(0x1ab)]=!0x0;}[_0x4a64d1(0x355)](){const _0x142d67=_0x4a64d1;this[_0x142d67(0x1ab)]=!0x1;}get[_0x4a64d1(0x38e)](){const _0x5c34d2=_0x4a64d1;return this[_0x5c34d2(0x12e)];}['dispose'](){const _0x4e520c=_0x4a64d1;this[_0x4e520c(0x183)]()['then'](()=>super[_0x4e520c(0x197)]());}async[_0x4a64d1(0x1be)](_0x5c5ff9){const _0x1f73eb=_0x4a64d1;return this[_0x1f73eb(0x1ab)]?null:this['_localStorageService'][_0x1f73eb(0x269)](u[_0x1f73eb(0x29f)](_0x5c5ff9));}async[_0x4a64d1(0x152)](_0x11d829,_0x3bb54f){return!!this['_localStorageService']['setItem'](_0x11d829,_0x3bb54f);}['updateOfflineData'](_0x37b4d1,_0x2bacd0,_0x384b83,_0x3b5bd9){const _0x17e345=_0x4a64d1,_0xb9431e=this[_0x17e345(0x21f)][_0x17e345(0x2ab)](_0x37b4d1);this['_cachedData'][_0x17e345(0x207)](_0x37b4d1,{'unitID':_0x37b4d1,'type':_0x2bacd0,'awaitingChangeset':_0x384b83,'mutations':_0x3b5bd9,'rev':_0xb9431e}),this[_0x17e345(0x12e)]['has'](_0x37b4d1)||this[_0x17e345(0x365)](_0x37b4d1);}[_0x4a64d1(0x365)](_0x5d143d){const _0x5dbec7=_0x4a64d1,_0x9b1451=this[_0x5dbec7(0x2f3)]();_0x9b1451===0x0?this[_0x5dbec7(0x168)](_0x5d143d):this[_0x5dbec7(0x12e)][_0x5dbec7(0x207)](_0x5d143d,setTimeout(()=>this['_saveCache'](_0x5d143d),_0x9b1451));}['_getSaveTimeout'](){const _0x49afa2=_0x4a64d1;var _0x2811a3;return(_0x2811a3=this[_0x49afa2(0x363)]['getConfig'](u[_0x49afa2(0x226)]))!=null?_0x2811a3:u[_0x49afa2(0x117)];}['_saveCache'](_0x4ef596){const _0x56b65d=_0x4a64d1,_0x3fc59d=this['_saveTaskMap'][_0x56b65d(0x2df)](_0x4ef596);return _0x3fc59d!==void 0x0&&window['clearTimeout'](_0x3fc59d),this[_0x56b65d(0x282)]['setItem'](u[_0x56b65d(0x29f)](_0x4ef596),this[_0x56b65d(0x2f0)][_0x56b65d(0x2df)](_0x4ef596))['then'](()=>this['_saveTaskMap'][_0x56b65d(0x27b)](_0x4ef596));}async[_0x4a64d1(0x183)](){const _0x52a193=_0x4a64d1,_0x4e3d9e=[];this['_saveTaskMap'][_0x52a193(0x173)]((_0x1f02ce,_0x4f37cc)=>{const _0x4f6748=_0x52a193;window[_0x4f6748(0x242)](_0x1f02ce),_0x4e3d9e[_0x4f6748(0x24c)](this[_0x4f6748(0x168)](_0x4f37cc)[_0x4f6748(0x326)](()=>{const _0x524840=_0x4f6748;this[_0x524840(0x12e)]['delete'](_0x4f37cc);}));}),await Promise['all'](_0x4e3d9e);}};ge=Kt([_e(0x0,a[_0x4a64d1(0x134)]),_e(0x1,a[_0x4a64d1(0x35a)]),_e(0x2,a[_0x4a64d1(0x34b)](m[_0x4a64d1(0x23c)]))],ge);class je extends a[_0x4a64d1(0x20b)]{constructor(){const _0x455a51=_0x4a64d1;super(),h(this,_0x455a51(0x39c)),this[_0x455a51(0x39c)]=d[_0x455a51(0x280)](window,_0x455a51(0x245))[_0x455a51(0x11d)](d[_0x455a51(0x11a)](this[_0x455a51(0x298)]),d[_0x455a51(0x252)](0x1),d['mapTo'](void 0x0));}[_0x4a64d1(0x260)](_0x543311,_0x3de105,_0x2fe25d=!0x1){const _0x468f75=_0x4a64d1,_0x77a239=new URL(window[_0x468f75(0x18b)][_0x468f75(0x277)]);_0x77a239[_0x468f75(0x1ca)][_0x468f75(0x207)](_0x543311,_0x3de105),_0x2fe25d?window[_0x468f75(0x2a6)][_0x468f75(0x39a)]('','',_0x77a239[_0x468f75(0x361)]()):window[_0x468f75(0x2a6)]['pushState']('','',_0x77a239['toString']());}[_0x4a64d1(0x22d)](_0x589594,_0x53cd30=!0x1){const _0x480547=_0x4a64d1,_0x359fe9=new URL(window[_0x480547(0x18b)][_0x480547(0x277)]);_0x359fe9[_0x480547(0x1ca)]['delete'](_0x589594),_0x53cd30?window[_0x480547(0x2a6)][_0x480547(0x39a)]('','',_0x359fe9['toString']()):window[_0x480547(0x2a6)][_0x480547(0x2ac)]('','',_0x359fe9[_0x480547(0x361)]());}['getParam'](_0x162f6a){const _0x27af3e=_0x4a64d1;var _0x57d26c;return(_0x57d26c=new URL(window[_0x27af3e(0x18b)][_0x27af3e(0x277)])['searchParams']['get'](_0x162f6a))!=null?_0x57d26c:void 0x0;}}var qt=Object['defineProperty'],zt=Object[_0x4a64d1(0x26f)],Jt=(_0x453ba7,_0x344fd6,_0x5e3a1f)=>_0x344fd6 in _0x453ba7?qt(_0x453ba7,_0x344fd6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e3a1f}):_0x453ba7[_0x344fd6]=_0x5e3a1f,Zt=(_0x48e7f0,_0x1942b9,_0x34068f,_0x77a2ac)=>{for(var _0x208b9a=_0x77a2ac>0x1?void 0x0:_0x77a2ac?zt(_0x1942b9,_0x34068f):_0x1942b9,_0x415906=_0x48e7f0['length']-0x1,_0x48248f;_0x415906>=0x0;_0x415906--)(_0x48248f=_0x48e7f0[_0x415906])&&(_0x208b9a=_0x48248f(_0x208b9a)||_0x208b9a);return _0x208b9a;},he=(_0xfc3ba2,_0x336780)=>(_0x2b0127,_0x6871f2)=>_0x336780(_0x2b0127,_0x6871f2,_0xfc3ba2),Qt=(_0x4f60c0,_0x211ae5,_0x448dc0)=>Jt(_0x4f60c0,_0x211ae5+'',_0x448dc0);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x4a64d1(0x2aa)]=class extends a[_0x4a64d1(0x2db)]{constructor(_0x2e18e6=Ue,_0x57cf25,_0x291502,_0x4c0cdb){const _0x12c497=_0x4a64d1;super(),this[_0x12c497(0x170)]=_0x2e18e6,this[_0x12c497(0x336)]=_0x57cf25,this[_0x12c497(0x2bf)]=_0x291502,this[_0x12c497(0x363)]=_0x4c0cdb;const {..._0x3a27d7}=a[_0x12c497(0x143)]({},Ue,this[_0x12c497(0x170)]);this['_configService'][_0x12c497(0x16a)]($t,_0x3a27d7);}['onStarting'](){const _0x12a8a2=_0x4a64d1;this[_0x12a8a2(0x187)](),this[_0x12a8a2(0x139)]();}['onRendered'](){const _0x3e511e=_0x4a64d1;this[_0x3e511e(0x362)]();}[_0x4a64d1(0x187)](){const _0x11ab4e=_0x4a64d1;var _0x2df75a;const _0x1e9421=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x11ab4e(0x3a6)],{'useClass':G[_0x11ab4e(0x19d)]}],[u[_0x11ab4e(0x312)],{'useClass':ge}],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[x],[de],[exports[_0x11ab4e(0x237)]]];a[_0x11ab4e(0x13d)](this['_injector'],a[_0x11ab4e(0x23f)](_0x1e9421,(_0x2df75a=this[_0x11ab4e(0x170)])==null?void 0x0:_0x2df75a[_0x11ab4e(0x236)]));}['_registerRenderDependencies'](){const _0xb5de4d=_0x4a64d1;this[_0xb5de4d(0x1ba)](this['_renderManagerService'][_0xb5de4d(0x128)](a[_0xb5de4d(0x248)][_0xb5de4d(0x2ec)],[Ie])),this['disposeWithMe'](this[_0xb5de4d(0x336)]['registerRenderModule'](a['UniverInstanceType'][_0xb5de4d(0x135)],[ve]));}['_initDependencies'](){const _0x1a9d6b=_0x4a64d1;a[_0x1a9d6b(0x2b4)](this[_0x1a9d6b(0x2bf)],[[x],[exports[_0x1a9d6b(0x383)]],[Q],[q],[exports[_0x1a9d6b(0x237)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x4a64d1(0x251),es),exports[_0x4a64d1(0x2aa)]=Zt([a[_0x4a64d1(0x14a)](u[_0x4a64d1(0x17b)]),he(0x1,p[_0x4a64d1(0x200)]),he(0x2,a[_0x4a64d1(0x34b)](a[_0x4a64d1(0x1c8)])),he(0x3,a[_0x4a64d1(0x134)])],exports[_0x4a64d1(0x2aa)]);var ts=Object[_0x4a64d1(0x26f)],ss=(_0x50a5d0,_0x16fb9b,_0x33d2e0,_0x57bf4d)=>{const _0x5c0bdf=_0x4a64d1;for(var _0x343c1f=_0x57bf4d>0x1?void 0x0:_0x57bf4d?ts(_0x16fb9b,_0x33d2e0):_0x16fb9b,_0x529fbf=_0x50a5d0[_0x5c0bdf(0x159)]-0x1,_0x1ac0d8;_0x529fbf>=0x0;_0x529fbf--)(_0x1ac0d8=_0x50a5d0[_0x529fbf])&&(_0x343c1f=_0x1ac0d8(_0x343c1f)||_0x343c1f);return _0x343c1f;},Y=(_0x189d88,_0xa6c97a)=>(_0x42591c,_0xefe37c)=>_0xa6c97a(_0x42591c,_0xefe37c,_0x189d88);function _0x31bb(_0x260558,_0x34d458){const _0x54362e=_0x5436();return _0x31bb=function(_0x31bb6f,_0x20ff9b){_0x31bb6f=_0x31bb6f-0x111;let _0x1c88ab=_0x54362e[_0x31bb6f];return _0x1c88ab;},_0x31bb(_0x260558,_0x34d458);}exports['BrowserCollaborationSocketService']=class extends u[_0x4a64d1(0x174)]{constructor(_0x589056,_0x508eb4,_0x25ccfd,_0xe6f56b,_0x57a599){super(_0x589056,_0x508eb4,_0x25ccfd,_0xe6f56b,_0x57a599);}async[_0x4a64d1(0x311)](_0x27bb52){const _0x1ebb3f=_0x4a64d1,_0x4d6ff1=await this['_getSessionTicket'](),_0x3f9040=this[_0x1ebb3f(0x19a)](_0x27bb52,_0x4d6ff1);return this[_0x1ebb3f(0x25e)](_0x3f9040);}[_0x4a64d1(0x19a)](_0x4db31a,_0x1b7c44){const _0x1962b1=_0x4a64d1,_0x58d807=typeof window>'u'?new URL(_0x4db31a):new URL(_0x4db31a,window[_0x1962b1(0x18b)][_0x1962b1(0x160)]);_0x58d807['searchParams'][_0x1962b1(0x207)](_0x1962b1(0x36a),_0x1b7c44);const _0x35c76b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1962b1(0x120)]);return _0x35c76b['get'](_0x1962b1(0x2c4))&&_0x58d807['searchParams'][_0x1962b1(0x207)]('runId',_0x35c76b[_0x1962b1(0x2df)](_0x1962b1(0x2c4))),_0x58d807[_0x1962b1(0x361)]();}async[_0x4a64d1(0x35c)](){const _0x4edcbd=_0x4a64d1;var _0x4350f7,_0x3800e2,_0x16674d;const _0x40e9ab=this['_configService'][_0x4edcbd(0x1d8)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x88fc78=(_0x4350f7=_0x40e9ab==null?void 0x0:_0x40e9ab[_0x4edcbd(0x2d9)])!=null?_0x4350f7:u[_0x4edcbd(0x367)];return(_0x16674d=(_0x3800e2=(await this[_0x4edcbd(0x1e8)][_0x4edcbd(0x2df)](_0x88fc78,{'headers':{'Content-Type':'application/json'}}))[_0x4edcbd(0x278)])==null?void 0x0:_0x3800e2[_0x4edcbd(0x275)])!=null?_0x16674d:'';}},exports[_0x4a64d1(0x368)]=ss([Y(0x0,a[_0x4a64d1(0x34b)](a['Injector'])),Y(0x1,a['Inject'](G[_0x4a64d1(0x294)])),Y(0x2,a[_0x4a64d1(0x134)]),Y(0x3,a['ILogService']),Y(0x4,m[_0x4a64d1(0x1f0)])],exports[_0x4a64d1(0x368)]);const Me=0x7530,Le=_0x4a64d1(0x1f8);class is extends a[_0x4a64d1(0x1b4)]{constructor(){const _0x2fc28e=_0x4a64d1;super(),h(this,_0x2fc28e(0x259),a['generateRandomId']()),h(this,_0x2fc28e(0x28a),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x2fc28e(0x332),null),h(this,_0x2fc28e(0x33c),new Map()),h(this,_0x2fc28e(0x333),new Map()),this[_0x2fc28e(0x240)]();}['dispose'](){const _0x10d35f=_0x4a64d1;super['dispose'](),this[_0x10d35f(0x33c)]['forEach']((_0x4342b9,_0x3d973e)=>this[_0x10d35f(0x33e)](_0x3d973e)),this[_0x10d35f(0x332)]&&window[_0x10d35f(0x274)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x247cf1){const _0x211a0d=_0x4a64d1;return this['_ensureSubject'](_0x247cf1)['pipe'](d[_0x211a0d(0x271)]());}['editingUnit'](_0x3ac639){const _0x5a7a35=_0x4a64d1;this[_0x5a7a35(0x28a)][_0x5a7a35(0x377)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5a7a35(0x28a)][_0x5a7a35(0x1c1)](_0x3ac639),this[_0x5a7a35(0x2fc)]({'type':0x0,'memberID':this[_0x5a7a35(0x259)],'unitIDs':[_0x3ac639],'isForwarded':!0x1});}['disposeUnit'](_0x2e8e18){const _0x15aec6=_0x4a64d1;this['_selfUnitIDs'][_0x15aec6(0x27b)](_0x2e8e18),this[_0x15aec6(0x28a)][_0x15aec6(0x377)]===0x0&&this[_0x15aec6(0x332)]&&window[_0x15aec6(0x274)](this[_0x15aec6(0x332)]);}[_0x4a64d1(0x240)](){const _0xa73594=_0x4a64d1;this['disposeWithMe'](a[_0xa73594(0x37c)](d[_0xa73594(0x280)](window,_0xa73594(0x202))[_0xa73594(0x1d2)](_0x5d1991=>{const _0x50c3ad=_0xa73594;if(_0x5d1991[_0x50c3ad(0x2e6)]!==Le||!_0x5d1991[_0x50c3ad(0x1cc)])return;const _0x2d1331=JSON[_0x50c3ad(0x210)](_0x5d1991[_0x50c3ad(0x1cc)]);this['_handleEvent'](_0x2d1331);}))),window[_0xa73594(0x2f8)](_0xa73594(0x334),()=>this[_0xa73594(0x2fc)]({'type':0x1,'memberID':this[_0xa73594(0x259)],'unitIDs':Array[_0xa73594(0x1eb)](this[_0xa73594(0x28a)])}));}['_handleEvent'](_0x5081d6){const _0x4d5887=_0x4a64d1;switch(_0x5081d6[_0x4d5887(0x2f2)]){case 0x0:this['_handleJoinEvent'](_0x5081d6);break;case 0x1:this[_0x4d5887(0x1f4)](_0x5081d6);break;case 0x2:this[_0x4d5887(0x2c5)](_0x5081d6);break;}}[_0x4a64d1(0x12a)](_0x1735a0){const _0x2a8bc7=_0x4a64d1,{unitIDs:_0x5d9409,memberID:_0x30f26a,isForwarded:_0x4585e9}=_0x1735a0;_0x5d9409[_0x2a8bc7(0x173)](_0x3be212=>{const _0x270fb8=_0x2a8bc7;if(!_0x4585e9&&this[_0x270fb8(0x1f5)]['has'](_0x3be212)&&this[_0x270fb8(0x1a4)](_0x3be212)[_0x270fb8(0x14f)](u[_0x270fb8(0x2ad)][_0x270fb8(0x1c9)]),!this[_0x270fb8(0x1f5)][_0x270fb8(0x158)](_0x3be212)||!this[_0x270fb8(0x1f5)][_0x270fb8(0x2df)](_0x3be212)['has'](_0x30f26a)){const _0x3cb251=this[_0x270fb8(0x1f5)]['get'](_0x3be212)||new Set();_0x3cb251[_0x270fb8(0x1c1)](_0x30f26a),this[_0x270fb8(0x1f5)][_0x270fb8(0x207)](_0x3be212,_0x3cb251),this['_scheduleClearOtherTimer'](_0x30f26a);}}),_0x4585e9||this[_0x2a8bc7(0x2fc)]({'type':0x0,'memberID':this[_0x2a8bc7(0x259)],'unitIDs':[...this[_0x2a8bc7(0x28a)]],'isForwarded':!0x0});}[_0x4a64d1(0x31d)](_0x506e8e){const _0x147d5c=_0x4a64d1;this['_removeClearOtherTimer'](_0x506e8e);const _0x169097=window['setTimeout'](()=>{const _0xc4b6a8=_0x31bb;this[_0xc4b6a8(0x1f5)]['forEach'](_0x3722f7=>{const _0x560c2b=_0xc4b6a8;_0x3722f7[_0x560c2b(0x27b)](_0x506e8e);});},Me*0x2);this[_0x147d5c(0x33c)][_0x147d5c(0x207)](_0x506e8e,_0x169097);}[_0x4a64d1(0x33e)](_0x4ca9b9){const _0x43712c=_0x4a64d1;if(this[_0x43712c(0x33c)][_0x43712c(0x158)](_0x4ca9b9)){const _0x4377fe=this[_0x43712c(0x33c)][_0x43712c(0x2df)](_0x4ca9b9);_0x4377fe&&window[_0x43712c(0x242)](_0x4377fe),this[_0x43712c(0x33c)][_0x43712c(0x207)](_0x4ca9b9,null);}}[_0x4a64d1(0x1f4)](_0x4c91d7){const _0x22c8c0=_0x4a64d1,{memberID:_0x5309a2,unitIDs:_0x539162}=_0x4c91d7;_0x539162[_0x22c8c0(0x173)](_0x6c4caa=>{const _0x5b985a=_0x22c8c0;var _0x18621d;const _0x391e19=this[_0x5b985a(0x1f5)]['get'](_0x6c4caa);_0x391e19&&(_0x391e19['delete'](_0x5309a2),(_0x18621d=this['_ensureSubject'](_0x6c4caa))==null||_0x18621d[_0x5b985a(0x14f)](_0x391e19[_0x5b985a(0x377)]===0x0?u[_0x5b985a(0x2ad)][_0x5b985a(0x350)]:u[_0x5b985a(0x2ad)][_0x5b985a(0x1c9)]));}),this[_0x22c8c0(0x33e)](_0x5309a2);}[_0x4a64d1(0x2c5)](_0x48e8e1){const _0x24c3be=_0x4a64d1;this['_scheduleClearOtherTimer'](_0x48e8e1[_0x24c3be(0x1cd)]);}['_send'](_0x20b30b){const _0x47a1dd=_0x4a64d1;localStorage[_0x47a1dd(0x37d)](Le,JSON[_0x47a1dd(0x17e)](_0x20b30b));}[_0x4a64d1(0x357)](){const _0x348a1b=_0x4a64d1;this[_0x348a1b(0x332)]=window[_0x348a1b(0x148)](()=>{const _0x18a737=_0x348a1b;this[_0x18a737(0x2fc)]({'type':0x2,'memberID':this['_id']});},Me);}[_0x4a64d1(0x1a4)](_0x5d43af){const _0x2be66c=_0x4a64d1;return this[_0x2be66c(0x333)][_0x2be66c(0x158)](_0x5d43af)||this[_0x2be66c(0x333)]['set'](_0x5d43af,new d[(_0x2be66c(0x32d))](u['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x2be66c(0x333)][_0x2be66c(0x2df)](_0x5d43af);}}var Be=(_0x533806=>(_0x533806[_0x533806[_0x4a64d1(0x2f9)]=0x0]=_0x4a64d1(0x2f9),_0x533806[_0x533806['OK']=0x1]='OK',_0x533806[_0x533806[_0x4a64d1(0x232)]=0x2]='INTERNAL_ERROR',_0x533806[_0x533806['PERMISSION_DENIED']=0x3]=_0x4a64d1(0x193),_0x533806[_0x533806[_0x4a64d1(0x2bc)]=0x4]=_0x4a64d1(0x2bc),_0x533806[_0x533806[_0x4a64d1(0x1ff)]=0x5]=_0x4a64d1(0x1ff),_0x533806[_0x533806[_0x4a64d1(0x2ca)]=0x6]=_0x4a64d1(0x2ca),_0x533806[_0x533806[_0x4a64d1(0x16d)]=0x7]=_0x4a64d1(0x16d),_0x533806[_0x533806[_0x4a64d1(0x345)]=0x8]=_0x4a64d1(0x345),_0x533806[_0x533806[_0x4a64d1(0x28f)]=0x9]=_0x4a64d1(0x28f),_0x533806[_0x533806[_0x4a64d1(0x186)]=0xa]=_0x4a64d1(0x186),_0x533806[_0x533806['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x533806[_0x533806['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4a64d1(0x239),_0x533806[_0x533806['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4a64d1(0x23a),_0x533806[_0x533806['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a64d1(0x176),_0x533806[_0x533806[_0x4a64d1(0x1d6)]=0x1b59]=_0x4a64d1(0x1d6),_0x533806[_0x533806[_0x4a64d1(0x213)]=0x1b5a]=_0x4a64d1(0x213),_0x533806[_0x533806[_0x4a64d1(0x22f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x533806[_0x533806[_0x4a64d1(0x190)]=0x1b5c]=_0x4a64d1(0x190),_0x533806[_0x533806[_0x4a64d1(0x227)]=0x1b5d]='APPLY_DUPLICATED',_0x533806[_0x533806[_0x4a64d1(0x1a1)]=0x1f41]=_0x4a64d1(0x1a1),_0x533806[_0x533806[_0x4a64d1(0x204)]=0x2329]=_0x4a64d1(0x204),_0x533806[_0x533806[_0x4a64d1(0x262)]=0x232a]=_0x4a64d1(0x262),_0x533806[_0x533806[_0x4a64d1(0x3a7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x533806[_0x533806[_0x4a64d1(0x2fe)]=0x232c]=_0x4a64d1(0x2fe),_0x533806[_0x533806['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4a64d1(0x296),_0x533806[_0x533806[_0x4a64d1(0x175)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x533806[_0x533806[_0x4a64d1(0x192)]=0x2712]=_0x4a64d1(0x192),_0x533806[_0x533806[_0x4a64d1(0x26b)]=0x2713]=_0x4a64d1(0x26b),_0x533806[_0x533806['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x533806[_0x533806[_0x4a64d1(0x347)]=0x271a]=_0x4a64d1(0x347),_0x533806[_0x533806[_0x4a64d1(0x13b)]=0x271b]=_0x4a64d1(0x13b),_0x533806[_0x533806[_0x4a64d1(0x11e)]=0x271c]=_0x4a64d1(0x11e),_0x533806[_0x533806[_0x4a64d1(0x31b)]=0x271d]=_0x4a64d1(0x31b),_0x533806[_0x533806['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4a64d1(0x235),_0x533806[_0x533806['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4a64d1(0x26e),_0x533806[_0x533806[_0x4a64d1(0x1e1)]=0x2af9]=_0x4a64d1(0x1e1),_0x533806[_0x533806['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4a64d1(0x27a),_0x533806[_0x533806['INVALID_INVITE_CODE']=0x2ee2]=_0x4a64d1(0x263),_0x533806[_0x533806['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4a64d1(0x1aa),_0x533806[_0x533806[_0x4a64d1(0x316)]=0x2ee4]=_0x4a64d1(0x316),_0x533806[_0x533806['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4a64d1(0x37f),_0x533806[_0x533806[_0x4a64d1(0x301)]=0x32c9]=_0x4a64d1(0x301),_0x533806[_0x533806[_0x4a64d1(0x1a5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x533806[_0x533806['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4a64d1(0x18c),_0x533806[_0x533806[_0x4a64d1(0x2b7)]=-0x1]=_0x4a64d1(0x2b7),_0x533806))(Be||{}),ns=Object[_0x4a64d1(0x26f)],rs=(_0x551537,_0x5012c2,_0x5c3c58,_0x45fed1)=>{for(var _0x5af509=_0x45fed1>0x1?void 0x0:_0x45fed1?ns(_0x5012c2,_0x5c3c58):_0x5012c2,_0x4ce43c=_0x551537['length']-0x1,_0x241eb2;_0x4ce43c>=0x0;_0x4ce43c--)(_0x241eb2=_0x551537[_0x4ce43c])&&(_0x5af509=_0x241eb2(_0x5af509)||_0x5af509);return _0x5af509;},ue=(_0x26416a,_0x4d25df)=>(_0x15ea44,_0x851bfd)=>_0x4d25df(_0x15ea44,_0x851bfd,_0x26416a);exports['RemoteUniscriptService']=class extends a[_0x4a64d1(0x1b4)]{constructor(_0x587df7,_0x2b5b6c,_0x344f53){const _0x464aa6=_0x4a64d1;super(),this[_0x464aa6(0x16b)]=_0x587df7,this[_0x464aa6(0x1e8)]=_0x2b5b6c,this[_0x464aa6(0x363)]=_0x344f53;}async[_0x4a64d1(0x3a5)](_0x43d350,_0x2d3e7d,_0x144745,..._0x43195d){const _0x29f81e=_0x4a64d1;var _0x1a5db6,_0x1cc973,_0x2098e4,_0x37f01a;const _0x4cc8d0=this[_0x29f81e(0x16b)][_0x29f81e(0x1dc)]();if(!_0x4cc8d0)throw new Error(_0x29f81e(0x2e1));const _0x48567e=((_0x1a5db6=this[_0x29f81e(0x363)][_0x29f81e(0x1d8)](u[_0x29f81e(0x2a2)]))!=null?_0x1a5db6:u[_0x29f81e(0x257)])+'/'+_0x43d350+_0x29f81e(0x39d)+_0x2d3e7d,_0x4d7c30=new URL(window[_0x29f81e(0x18b)]['href']),_0x54fb13={'scriptId':_0x43d350,'runId':(_0x1cc973=_0x4d7c30[_0x29f81e(0x1ca)][_0x29f81e(0x2df)](_0x29f81e(0x2c4)))!=null?_0x1cc973:'','function':_0x2d3e7d,'unitId':_0x4cc8d0['getUnitId'](),'argsOfFunction':JSON[_0x29f81e(0x17e)](_0x43195d),'invokeId':(_0x2098e4=_0x144745[_0x29f81e(0x25a)])!=null?_0x2098e4:'','executionId':(_0x37f01a=_0x144745['executionId'])!=null?_0x37f01a:''};try{const _0x43f438=await this[_0x29f81e(0x1e8)][_0x29f81e(0x33d)](_0x48567e,{'body':_0x54fb13});return _0x43f438['body'][_0x29f81e(0x201)]&&_0x43f438[_0x29f81e(0x278)][_0x29f81e(0x201)][_0x29f81e(0x2d0)]!==Be['OK']?_0x29f81e(0x12d):_0x43f438[_0x29f81e(0x278)][_0x29f81e(0x329)];}catch{return _0x29f81e(0x12d);}}},exports[_0x4a64d1(0x39b)]=rs([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x4a64d1(0x34b)](G['HTTPService'])),ue(0x2,a[_0x4a64d1(0x134)])],exports[_0x4a64d1(0x39b)]),exports['CollaborationStatusDisplay']=xe,exports['IURLService']=be,exports[_0x4a64d1(0x349)]=Ae,exports[_0x4a64d1(0x19f)]=is,exports[_0x4a64d1(0x1ed)]=je;
|
|
1
|
+
'use strict';function _0x3299(){const _0x142c9a=['subscribeEvent','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','deepClone','_handleEvent','unload','isArray','triggerDblclick','executionId','newValue','SOCKET_FAILED','blue400','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','_eventUnsubscribe','Disposable','SetDocZoomRatioOperation','then','_document','_transformPreviousActiveRange','Shape','onTransformChange$','CollaborationStatus','_configService','_handleHeartbeatEvent','path','TEXT_RANGE_LAYER_INDEX','requireSession','@univerjs-pro/collaboration','doc.mutation.rich-text-editing','Subject','CollaborationUIEventId','black','_doCreateSocket','getSheetBySheetId','_ensureSubject','36zIQOUl','SYNCED','CollaborationSessionService','ILogService','from','@univerjs/network','CONFLICT','registerBeforeClose','selection','mapTo','transformMutationsWithChangeset','search','LICENSE_EXPORT_SIZE_EXCEEDED','substring','collab-client.tooltip.reconnect','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_removeClearOtherTimer','_initStatusComponent','_initCommandExecutedListener','getCurrentUnitForType','Tools','trim','RemoteUniscriptService','href','RxDisposable','UniverIcon','source','uni.network.url-service','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_saveTaskMap','endRow','@univerjs/rpc','getRelativeToViewportCoord','fillStyle','_status$','_initEvent','_toggleOffline','IMessageService','_hover','exhaustSavingTask','getColor','handleMoveRange','_instanceService','LICENSE_DISTRO_REJECTED','disposeWithMe','createInstance','Unknown\x20user','INVALID_INVITE_CODE','min','getRangePointData','override','LOCAL_CACHE_INTERVAL','getLocalCacheKey','params','unitId','getOwnPropertyDescriptor','prototype','OTHER_CLIENT_EDITING','_commandService','_initDependencies','_localStorageService','2pknTcU','YUUMI_URL_COL_OUT_OF_RANGE','status$','indexOf','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','addHandlerCallback','56cvCYzv','_initEntityListener','transformSelections','BehaviorSubject','CommandType','getUnitId','_handleJoinEvent','url(#$1','#fff','currentSkeleton$','permission.title','current','includes','hasOwnProperty','univer-flex\x20univer-items-center','_online','_localeService','_scene','_startSheetCollabCursor','_getAnchorBounding','attrs','univerjs-icon\x20univerjs-icon-','unit','NOT_COLLAB','switchMap','editingUnit','collab-text-range-','focused$','BrowserCollaborationSocketService','dispose','Vector2','LICENSE_MAX_UNITS_EXCEEDED','saveTaskMap','INotificationService','length','PY_RUNTIME_SCRIPT_ERROR','EMAIL_HAS_BEEN_BOUND','UniverInstanceType','runOnServer','_onCursorUpdate','defs','takeUntil','Failed','DocStateChangeManagerService','PERMISSION_DENIED','_entityInit$','getRenderById','_renderManagerService','whenReady','SheetCollabCursorShape','CollaborationSocketService','disposeUnit','toDisposable','_refreshCollabCursors','jsxs','_hideTimer','_roomMembers$','div','Rect','isActive','NodePositionConvertToRectRange','DocIMEInputManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_context','enableLocalCache','getCoordByCell','row','serializeRangeWithSheet','SheetsSelectionsService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','1005310YJMDTX','_urlService','getDocRanges','transform','_selfUnitIDs','_colorAssignService','useCallback','transformStateCache','_logService','collabStatus.offline','size','@univerjs-pro/collaboration-client','saveImage','_updateSubUnitFromURLParams','_updateLocalCursor','saveOfflineData','CollaborationEvent','_docTransformSelectionsService','toRgbString','getTypeOfUnitAdded$','merge','_name','_beforeCloseService','SNAPSHOT_HAS_BEEN_REMOVED','replaceState','_unitOnClients','cursorInfo','syncEditingCollabCursor','stringify','setUndoRedoMutationParamsCache','LOCAL_CACHE_INTERVAL_KEY','with','YUUMI_UNABLE_LOAD_URL','NodePositionConvertToCursor','_cachedData','_anchor','_lastPointer','startsWith','YUUMI_TABLE_NOT_FOUND_IN_UNIT','IBeforeCloseService','YUUMI_AI_RUN_FAILED','getCurrent','_scheduleHeartbeat','transformMutation','collaboration.single-unit.warning','setActiveRange','lineTo','isEditing','name','transformRemoteChangeset','react/jsx-runtime','getMergeData','onMouseMove','setInterval','LICENSE_IMPORT_SIZE_EXCEEDED','187472LUibbP','_scheduleSaving','MOBILE_HAS_BEEN_BOUND','parse','_docSkeleton','_refRangeService','setStateCache','ILocalStorageService','_disabled','_initStatusListener','none','_getSaveTimeout','event$','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','MUTATION','USERS_LEAVE','debounceTime','symbol','icon','_transformHistoryAndStateStack','filter','rxjs','_init','dispose$','executeCommand','colorChannel1','data','assign','setAlpha','subunit','wsSessionTicketUrl','Warning','@univerjs/docs-ui','TEXT','YUUMI_ASYNCIO_CANCELLED','RegularPolygon','UNRECOGNIZED','getSheetObject','getViewport','getParam','debounce','runId','getValue','@univerjs/sheets-ui','currentTheme$','hide','_getSessionTicket','RemoveRowCommandId','APPLY_REJECT','unsubscribe','addEventListener','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','addObjects','generateRandomId','column','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','reconnect','startRow','UPDATE_CURSOR','COMPLETION_FINISHED','values','displayName','_handleLeaveEvent','EffectRefRangId','getConfig','_drawAnchor','add','_httpService','_revisionService','_updateCollabCursors','transformIMECache','_updateURLWithCurrentState','USER_NOT_INVITED_CODE','DesktopCollaborationStatusDisplayController','replace','subscribe','_session','eventID','unshift','_collaborationController','_removeCollabCursors','save','INVITE_CODE_ALREADY_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','off-line-single_clip0_910_343','SetTextSelectionsOperation','debug','getActiveRange','init','skeleton','795913BsRFQR','isTransformMutationFailure','arc','findNodePositionByCharIndex','getMemberID','DocSkeletonManagerService','delete','UNDEFINED','assignAColorForMemberID','useRef','setItem','forwardRef','1009685tMSHRm','_draw','fillText','_getMergeRange','touchDependencies','_collabCursorState$','set','_notificationService','SheetSkeletonManagerService','pushState','rgba(255,\x20255,\x20255,\x200.01)','MessageType','_unitStatus','UNAUTHENTICATED','mutations','_themeService','subUnitId','6984027UcoqXe','svg','_docSyncEditingCollabCursorService','m2Prime','collabStatus.syncing','setConfig','combineLatest','currentColor','42yoFhsJ','measureText','createIdentifier','22QBUwfg','INVITE_CODE_REQUIRED','HEADER_MENU','_color','distinctUntilChanged','_id','round','_docClipboardService','defineProperty','fromEventSubject','bottom','0\x200\x2016\x2016','pipe','getSheetId','getActiveSheet','ITransformService','UnitStatus','range','handleIRemoveRow','memberID','_saveCache','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','width','handleInsertCol','_initResize','getMember','DeleteRangeMoveUpCommandId','9646975qPLxeS','RefRangeService','_messageService','makeDirty','use','FromArray','APPLY_REVISION_CONFILICT','_handleHover','SetSelectionsOperation','handleDeleteRangeMoveUp','Tooltip','6ndTByb','m1Prime','toStringTag','@univerjs/ui','toString','history','entityInit$','_config','_univerInstanceService','_collabCursorController','key','MemberService','_memberService','sessionStatus$','IImageIoService','_setupBeforeClosingHandler','DependentOn','_docStateChangeManagerService','DocCollaborationEntity','InsertColCommandId','IConfigService','onPointerEnter$','random','permission.content','ONLINE','_entities','session.will-retry','_uiPartsService','CLOSE_ROOM','disableLocalCache','_sheetSkeletonManagerService','UNIVER_SHEET','AWAITING_WITH_PENDING','_createSocketURL','registerRefRange','_getSheetObject','children','_backgroundColor','APPLY_PERMISSION_DENIED','_setupSubUnitSync','location','NO_OTHER_CLIENTS_EDITING','Optional','createElement','CollaborationController','xlink:href','body','_send','LOGIN_FAILED','_shapes','_clearOtherTimers','DOC_RANGE_TYPE','font','InsertRowCommandId','...','_colorIndex','IURLService','registerDependencies','show','imageSourceType','_startDocCollabCursor','RemoveColCommandId','collab-text-anchor-','deserializeRangeWithSheet','send','VIEW_MAIN','off-line-single','CollaborationStatusDisplay','onRendered','#FFF','@univerjs/core','clearInterval','getTypeOfUnitDisposed$','_cursorInfo$','getCollabCursors$','getOffsetConfig','split','onPointerMove$','unitID','COLORS','collabStatus.notCollab','INVALID_ARGUMENT','error','UniverCollaborationClientUIPlugin','clearTimeout','NOT_FOUND','text','ILocalCacheService','getCollabEntity$','has','_onCursorDelete','string','DeleteRangeMoveLeftCommandId','LocaleService','defIds','TOO_MANY_REQUESTS','AWAITING','roomMembers$','OnLineSingle','SUBMIT_CHANGESET_TIMEOUT','_onRefRangeChange','mergeOverrideWithDependencies','_anchorDot','ALREADY_EXISTS','selections','ticket','CollaborationDataLoaderController','WebURLService','collabCursorState$','Error','ISnapshotServerService','_textBubble','react','undoState','WebSocketService','_cursorShapes','purple300','pluginName','@univerjs/docs','collaboration-client-ui.config','_cursors','_docSkeletonManagerService','ranges','fromEvent','0\x200\x2017\x2016','IRenderManagerService','UniverCollaborationClientPlugin','setShapeProps','UNIVER_DOC','addClipboardHook','tag','collaboration.closeRoom','JOIN_ROOM_FAILED','INVITE_CODE_HAS_BEEN_UES','SetWorksheetActivateCommand','_drawTextRange','_labelPosition','session.connection-failed','clsx','_registerRenderDependencies','DEFAULT_WS_SESSION_TICKET_URL','urlChange$','restore','InsertRangeMoveDownCommandId','on-line-single','fillRule','collabStatus.conflict','addObject','collaboration-client.offline-data-not-saved','redoState','SNAPSHOT_INVALID_SNAPSHOT','_dataLoaderService','SessionStatus','_assignedColors','getOwnPropertySymbols','_hovered','fill','jiqing500','IDocClipboardService','registerComponent','_transformUndoRedoStack','call','_docTransformStateCacheService','color','forEach','_localCacheService','handleDeleteRangeMoveLeft','map','cursorInfo$','[CollaborationDataLoaderController]','next','IUniverInstanceService','get','hovered','Injector','jsx','ENSURE_SNAPSHOT_EXECUTION','APPLY_DUPLICATED','_toggleOnline','DataLoaderService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CollaborationUIEventService','evenodd','@univerjs/engine-formula','_range','getAncestorScale','INTERNAL_ERROR','670432GJlqai','concat','1em','textRanges','M0\x200H16V16H0z','on-line-single_clip0_910_349','gold400','YUUMI_NO_CUBOID_FOR_QUESTION','find','storage','getUnitStatus$','FETCH_MISS','_transformService','_collabSessionService','closePath','actions','verdancy600','onPointerLeave$','engine','setParam','asObservable','DocSelectionManagerService','_docTransformIMECacheService','/run/','idSuffix','mask','apply','sessionTicket','ICommandService','getUnhiddenWorksheets','CONNECTOR_DATA_TOO_LARGE','ColorKit','RichTextEditingMutation','getStateCache','CHANGESET_REVISION_CONFILICT','isTransformMutationsWithChangesetSuccess','function','session.collaboration-timeout','HTTPService','throttleTime','all','_imageIoService','_registerDependencies','searchParams','handleIRemoveCol','getUndoRedoMutationParamsCache','getSkeleton','Inject','onCommandExecuted','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','push','RevisionService','ThemeService','clipPath','SOCKET_FAILED_RETRY','className','registerRenderModule','type','@univerjs/sheets','drawWith','WECHAT_HAS_BEEN_BOUND','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_RATE_OVER_LIMIT','collabStatus.fetchMiss','_render','getFocusedUnit','OTHER_CLIENTS_EDITING','YUUMI_ALL_TABLES_IS_INVALID','_injector','_heartbeatTimer','top','_scheduleClearOtherTimer','setTimeout','complete','_drawRectRange','PENDING'];_0x3299=function(){return _0x142c9a;};return _0x3299();}const _0x15b43e=_0x543b;(function(_0x2fc9c3,_0x1b1c74){const _0x333b67=_0x543b,_0x5c7d61=_0x2fc9c3();while(!![]){try{const _0x1d8818=parseInt(_0x333b67(0x29e))/0x1*(parseInt(_0x333b67(0x1c0))/0x2)+-parseInt(_0x333b67(0x2c3))/0x3*(parseInt(_0x333b67(0x243))/0x4)+parseInt(_0x333b67(0x2aa))/0x5*(-parseInt(_0x333b67(0x2ec))/0x6)+parseInt(_0x333b67(0x1c6))/0x7*(-parseInt(_0x333b67(0x115))/0x8)+-parseInt(_0x333b67(0x2bb))/0x9+-parseInt(_0x333b67(0x20c))/0xa*(parseInt(_0x333b67(0x2c6))/0xb)+parseInt(_0x333b67(0x183))/0xc*(parseInt(_0x333b67(0x2e1))/0xd);if(_0x1d8818===_0x1b1c74)break;else _0x5c7d61['push'](_0x5c7d61['shift']());}catch(_0x5f1cbf){_0x5c7d61['push'](_0x5c7d61['shift']());}}}(_0x3299,0x7e1c8));var Ve=Object[_0x15b43e(0x2ce)],Xe=(_0x4943b4,_0xafbfa9,_0x12d166)=>_0xafbfa9 in _0x4943b4?Ve(_0x4943b4,_0xafbfa9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12d166}):_0x4943b4[_0xafbfa9]=_0x12d166,h=(_0xbae2d5,_0x25f393,_0x39a3ce)=>Xe(_0xbae2d5,typeof _0x25f393!=_0x15b43e(0x255)?_0x25f393+'':_0x25f393,_0x39a3ce);Object[_0x15b43e(0x2ce)](exports,Symbol[_0x15b43e(0x2ee)],{'value':'Module'});const u=require(_0x15b43e(0x217)),a=require(_0x15b43e(0xa0)),p=require('@univerjs/engine-render'),G=require(_0x15b43e(0x188)),b=require(_0x15b43e(0x264)),Ge=require('@univerjs/drawing'),d=require(_0x15b43e(0x259)),F=require(_0x15b43e(0xd0)),m=require(_0x15b43e(0x17b)),Ee=require(_0x15b43e(0x111)),g=require(_0x15b43e(0x14f)),$=require('rxjs/operators'),X=require(_0x15b43e(0x26f)),P=require(_0x15b43e(0x23e)),T=require(_0x15b43e(0x2ef)),D=require('@univerjs/design'),M=require(_0x15b43e(0xca)),Ke=require(_0x15b43e(0x1a2));var qe=Object[_0x15b43e(0x1ba)],ze=(_0x634e6f,_0x261584,_0x2493cc,_0x460c67)=>{const _0x290086=_0x15b43e;for(var _0x2d774a=_0x460c67>0x1?void 0x0:_0x460c67?qe(_0x261584,_0x2493cc):_0x261584,_0x356494=_0x634e6f[_0x290086(0x1e8)]-0x1,_0x3e387a;_0x356494>=0x0;_0x356494--)(_0x3e387a=_0x634e6f[_0x356494])&&(_0x2d774a=_0x3e387a(_0x2d774a)||_0x2d774a);return _0x2d774a;},Te=(_0x4c46b8,_0x1f4b02)=>(_0x305e9a,_0x85eb87)=>_0x1f4b02(_0x305e9a,_0x85eb87,_0x4c46b8);let de=class extends a[_0x15b43e(0x19b)]{constructor(_0x215d14,_0x40f8b6){const _0x5b592c=_0x15b43e;super(),this[_0x5b592c(0x2cd)]=_0x215d14,this['_imageIoService']=_0x40f8b6,this[_0x5b592c(0x25a)]();}[_0x15b43e(0x25a)](){const _0x1a68d4=_0x15b43e,_0x168d2c=this;this[_0x1a68d4(0x1af)](this['_docClipboardService'][_0x1a68d4(0xdb)]({'onBeforePasteImage':async _0x397b54=>{const _0x6c960=_0x1a68d4,_0x25b5a4=await _0x168d2c[_0x6c960(0x13e)][_0x6c960(0x218)](_0x397b54);return _0x25b5a4?{'source':_0x25b5a4[_0x6c960(0x19d)],'imageSourceType':_0x25b5a4[_0x6c960(0x327)]}:null;}}));}};de=ze([Te(0x0,b[_0x15b43e(0xf8)]),Te(0x1,Ge[_0x15b43e(0x2fa)])],de);const Oe=[_0x15b43e(0xce),_0x15b43e(0xf7),_0x15b43e(0x125),'red300',_0x15b43e(0x16b),_0x15b43e(0x11b)];class me extends a[_0x15b43e(0x16e)]{constructor(){const _0x1a6a26=_0x15b43e;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x1a6a26(0x323),0x0);}[_0x15b43e(0x2a6)](_0x58eed8){const _0x46592f=_0x15b43e;if(this[_0x46592f(0xf3)]['has'](_0x58eed8))return this[_0x46592f(0xf3)][_0x46592f(0x106)](_0x58eed8);const _0x280b5a=Oe[this[_0x46592f(0x323)]];return this['_colorIndex']=(this[_0x46592f(0x323)]+0x1)%Oe[_0x46592f(0x1e8)],this[_0x46592f(0xf3)][_0x46592f(0x2b0)](_0x58eed8,_0x280b5a),_0x280b5a;}}function Pe(_0x158d42){const _0x25e4b3=_0x15b43e;let _0x460965='';for(const _0x2b52bb of _0x158d42){const {startOffset:_0x7967a3,endOffset:_0x43661e,isActive:_0x39481f,rangeType:_0x389f1e,segmentId:_0x616630,segmentPage:_0x34b754}=_0x2b52bb;_0x460965[_0x25e4b3(0x1e8)]&&(_0x460965+=','),_0x460965+=_0x7967a3+':'+_0x43661e+':'+(_0x39481f?'1':'0')+':'+_0x389f1e+':'+_0x616630+':'+_0x34b754;}return _0x460965;}function Je(_0x467c50){const _0xf895fa=_0x15b43e,_0x4555ba=_0x467c50['split'](','),_0x4ab6bf=[];for(const _0x135e89 of _0x4555ba){const [_0x1d2a14,_0x237184,_0x524e17,_0xf10afc,_0xa1d3f6,_0x24a64b]=_0x135e89[_0xf895fa(0xa6)](':');_0x4ab6bf[_0xf895fa(0x147)]({'startOffset':Number(_0x1d2a14),'endOffset':Number(_0x237184),'collapsed':_0x1d2a14===_0x237184,'isActive':_0x524e17==='1','rangeType':_0xf10afc===a[_0xf895fa(0x31f)][_0xf895fa(0x265)]?a['DOC_RANGE_TYPE'][_0xf895fa(0x265)]:a[_0xf895fa(0x31f)]['RECT'],'segmentId':typeof _0xa1d3f6=='string'?String(_0xa1d3f6):'','segmentPage':Number(_0x24a64b!=null?_0x24a64b:-0x1)});}return _0x4ab6bf['some'](_0x41bc46=>_0x41bc46[_0xf895fa(0x201)])||(_0x4ab6bf[0x0]['isActive']=!0x0),_0x4ab6bf;}class Ce extends a['RxDisposable']{constructor(){const _0x4ae265=_0x15b43e;super(...arguments),h(this,_0x4ae265(0x2af),new d[(_0x4ae265(0x1c9))](null)),h(this,_0x4ae265(0xc6),this['_collabCursorState$'][_0x4ae265(0x129)]());}[_0x15b43e(0x227)](_0x3f6d87){const _0xbede7a=_0x15b43e,{unitID:_0xb8d488,memberID:_0x13000f,textRanges:_0x34bf9c}=_0x3f6d87,_0x1222ea=Pe(_0x34bf9c);if(_0x1222ea==='')return;const _0x4030af={'unitID':_0xb8d488,'memberID':_0x13000f,'selection':_0x1222ea};this[_0xbede7a(0x2af)]['next'](_0x4030af);}}var Ze=Object[_0x15b43e(0x1ba)],Qe=(_0x40a4e5,_0x178183,_0x16d0e3,_0x45554c)=>{for(var _0x42a7a8=_0x45554c>0x1?void 0x0:_0x45554c?Ze(_0x178183,_0x16d0e3):_0x178183,_0x388185=_0x40a4e5['length']-0x1,_0x67036e;_0x388185>=0x0;_0x388185--)(_0x67036e=_0x40a4e5[_0x388185])&&(_0x42a7a8=_0x67036e(_0x42a7a8)||_0x42a7a8);return _0x42a7a8;},L=(_0x544876,_0x23d13a)=>(_0x2501fd,_0x1982b3)=>_0x23d13a(_0x2501fd,_0x1982b3,_0x544876);const et=0x12c,tt=0x64;let fe=class extends a['RxDisposable']{constructor(_0x11c73c,_0x42074c,_0x58b5ae,_0x2220af,_0x360df6,_0x30707e,_0x2a389a,_0x21a498,_0x5f17f1){const _0x1af8d4=_0x15b43e;super(),h(this,_0x1af8d4(0x1d5),!0x1),h(this,'_init',!0x1),h(this,_0x1af8d4(0xa3),new d[(_0x1af8d4(0x1c9))](new Map())),h(this,_0x1af8d4(0x102),this[_0x1af8d4(0xa3)][_0x1af8d4(0x129)]()),h(this,'_roomMembers$',new d[(_0x1af8d4(0x1c9))]([])),h(this,_0x1af8d4(0xbb),this[_0x1af8d4(0x1fe)][_0x1af8d4(0x2d2)](d['debounceTime'](et))),h(this,_0x1af8d4(0x21a),a[_0x1af8d4(0x26c)](_0x4f5442=>{const _0x3739f2=_0x1af8d4,_0x8e045c={'eventID':m[_0x3739f2(0x21c)][_0x3739f2(0x27e)],'data':{'unitID':this[_0x3739f2(0xa8)],'memberID':this['_session'][_0x3739f2(0x2a2)](),'selection':Pe(_0x4f5442)}};this[_0x3739f2(0x290)][_0x3739f2(0x32c)](_0x8e045c,this['unitID']);},tt)),(this['unitID']=_0x11c73c,this[_0x1af8d4(0x290)]=_0x42074c,this[_0x1af8d4(0x159)]=_0x58b5ae,this[_0x1af8d4(0x211)]=_0x2220af,this[_0x1af8d4(0x2f8)]=_0x360df6,this['_syncEditingCollabCursorService']=_0x30707e,this['_transformService']=_0x2a389a,this[_0x1af8d4(0x2f4)]=_0x21a498,this['_commandService']=_0x5f17f1);}get[_0x15b43e(0x226)](){const _0x3ac25f=_0x15b43e;return this[_0x3ac25f(0xa3)]['getValue']();}get['roomMembers'](){const _0x36621e=_0x15b43e;return this[_0x36621e(0x1fe)][_0x36621e(0x26e)]();}['dispose'](){const _0x46d981=_0x15b43e;super['dispose'](),this[_0x46d981(0xa3)][_0x46d981(0x104)](new Map()),this[_0x46d981(0xa3)]['complete'](),this[_0x46d981(0x1fe)]['next']([]),this[_0x46d981(0x1fe)]['complete']();}[_0x15b43e(0x29c)](){const _0x3a0fc3=_0x15b43e;this['_init']||(this[_0x3a0fc3(0x25a)]=!0x0,this['_session'][_0x3a0fc3(0x2f9)][_0x3a0fc3(0x2d2)](d[_0x3a0fc3(0x1ef)](this[_0x3a0fc3(0x25b)]))['subscribe'](_0x15a67b=>{const _0x5dff78=_0x3a0fc3;_0x15a67b===u[_0x5dff78(0xf2)][_0x5dff78(0x304)]?this[_0x5dff78(0x10c)]():this[_0x5dff78(0x1a7)]();}),this[_0x3a0fc3(0x290)][_0x3a0fc3(0x24f)]['pipe'](d[_0x3a0fc3(0x1ef)](this[_0x3a0fc3(0x25b)]))[_0x3a0fc3(0x28f)](_0x49d49c=>{const _0x1b8741=_0x3a0fc3,_0x329985=_0x49d49c['eventID'];_0x329985===m['CollaborationEvent'][_0x1b8741(0x27e)]&&this[_0x1b8741(0x1ed)](_0x49d49c),_0x329985===m[_0x1b8741(0x21c)][_0x1b8741(0x253)]&&this[_0x1b8741(0xb4)](_0x49d49c);}),this[_0x3a0fc3(0x1af)](this[_0x3a0fc3(0x1bd)][_0x3a0fc3(0x145)](_0x387f28=>{const _0xcb79dc=_0x3a0fc3,_0x27891e=_0x387f28[_0xcb79dc(0x1b8)];_0x27891e!=null&&this[_0xcb79dc(0x1d5)]&&_0x387f28['id']===F[_0xcb79dc(0x299)]['id']&&_0x27891e['unitId']===this[_0xcb79dc(0xa8)]&&_0x27891e[_0xcb79dc(0x23b)]===!0x1&&_0x27891e[_0xcb79dc(0xd4)]['length']>0x0&&this[_0xcb79dc(0x21a)](_0x27891e['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x3a0fc3(0x2d2)](d[_0x3a0fc3(0x1ef)](this[_0x3a0fc3(0x25b)]))[_0x3a0fc3(0x28f)](_0x5d8738=>{const _0x179ee3=_0x3a0fc3;if((_0x5d8738==null?void 0x0:_0x5d8738[_0x179ee3(0xa8)])!==this[_0x179ee3(0xa8)])return;const _0x45c365={'eventID':m['CollaborationEvent'][_0x179ee3(0x27e)],'data':_0x5d8738};this[_0x179ee3(0x1ed)](_0x45c365);}),this[_0x3a0fc3(0x1af)](this[_0x3a0fc3(0x1bd)][_0x3a0fc3(0x145)](_0x33c040=>{const _0x1b0b02=_0x3a0fc3;if(_0x33c040[_0x1b0b02(0x1b8)]==null)return;const _0x2739f5=_0x33c040[_0x1b0b02(0x1b8)];if(_0x33c040['id']!==F[_0x1b0b02(0x135)]['id']||_0x2739f5[_0x1b0b02(0x1b9)]!==this[_0x1b0b02(0xa8)])return;const _0x4e3e99={'id':_0x1b0b02(0x17c),'params':_0x2739f5},_0x4f26dc=this[_0x1b0b02(0x226)];for(const [_0x38595e,_0xe1b6ad]of _0x4f26dc){const _0x1ee562={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xe1b6ad[_0x1b0b02(0xd4)]}},_0x156503=this['_transformService'][_0x1b0b02(0x237)](_0x4e3e99,_0x1ee562,!0x1);if(m[_0x1b0b02(0x29f)](_0x156503))throw _0x156503[_0x1b0b02(0xac)];_0x4f26dc[_0x1b0b02(0x2b0)](_0x38595e,{..._0xe1b6ad,'ranges':_0x156503[_0x1b0b02(0x2be)][_0x1b0b02(0x1b8)]['textRanges']});}queueMicrotask(()=>{const _0x154eed=_0x1b0b02;this['_cursorInfo$'][_0x154eed(0x104)](_0x4f26dc);});})));}[_0x15b43e(0x1ed)](_0x166890){const _0x4e131d=_0x15b43e;var _0x49ce97,_0x3916c4;const {memberID:_0x1c176d,selection:_0x3c5ce2}=_0x166890[_0x4e131d(0x25e)],_0x4ed300=Je(_0x3c5ce2),_0x8ad4a2=(_0x3916c4=(_0x49ce97=this[_0x4e131d(0x2f8)][_0x4e131d(0x2df)](this[_0x4e131d(0xa8)],_0x1c176d))==null?void 0x0:_0x49ce97[_0x4e131d(0x23c)])!=null?_0x3916c4:_0x4e131d(0x1b1),_0x2a70c3={'color':this[_0x4e131d(0x211)]['assignAColorForMemberID'](_0x1c176d),'name':_0x8ad4a2,'ranges':_0x4ed300},_0x3726d5=this['cursorInfo'];_0x3726d5[_0x4e131d(0x2b0)](_0x1c176d,_0x2a70c3),this['_cursorInfo$'][_0x4e131d(0x104)](_0x3726d5);}[_0x15b43e(0xb4)](_0x2ad710){const _0x376f12=_0x15b43e,{memberID:_0xf655c7}=_0x2ad710['data'],_0x259284=this[_0x376f12(0x226)];_0x259284[_0x376f12(0x2a4)](_0xf655c7),this[_0x376f12(0xa3)][_0x376f12(0x104)](_0x259284);}[_0x15b43e(0x10c)](){const _0x375fad=_0x15b43e;var _0x5d27f5;if(this[_0x375fad(0x1d5)]=!0x0,((_0x5d27f5=this[_0x375fad(0x2f4)][_0x375fad(0x156)]())==null?void 0x0:_0x5d27f5['getUnitId']())!==this[_0x375fad(0xa8)])return;const _0x43c6b0=this[_0x375fad(0x159)][_0x375fad(0x106)](F[_0x375fad(0x12a)])[_0x375fad(0x20e)]();Array[_0x375fad(0x166)](_0x43c6b0)&&_0x43c6b0[_0x375fad(0x1e8)]>0x0&&this[_0x375fad(0x21a)](_0x43c6b0);}[_0x15b43e(0x1a7)](){const _0x342042=_0x15b43e;this[_0x342042(0x1d5)]=!0x1;}};function _0x543b(_0x4e8a2d,_0xa7a6ad){const _0x329998=_0x3299();return _0x543b=function(_0x543b95,_0x289842){_0x543b95=_0x543b95-0x9b;let _0x75f614=_0x329998[_0x543b95];return _0x75f614;},_0x543b(_0x4e8a2d,_0xa7a6ad);}fe=Qe([L(0x2,a[_0x15b43e(0x144)](a[_0x15b43e(0x108)])),L(0x3,a[_0x15b43e(0x144)](me)),L(0x4,a[_0x15b43e(0x144)](u['MemberService'])),L(0x5,a[_0x15b43e(0x144)](Ce)),L(0x6,m['ITransformService']),L(0x7,a['IUniverInstanceService']),L(0x8,a['ICommandService'])],fe);var st=Object[_0x15b43e(0x1ba)],it=(_0xa83d88,_0x2ed808,_0x1a0745,_0x9a4363)=>{for(var _0x3353a3=_0x9a4363>0x1?void 0x0:_0x9a4363?st(_0x2ed808,_0x1a0745):_0x2ed808,_0x4755aa=_0xa83d88['length']-0x1,_0x5f3fe5;_0x4755aa>=0x0;_0x4755aa--)(_0x5f3fe5=_0xa83d88[_0x4755aa])&&(_0x3353a3=_0x5f3fe5(_0x3353a3)||_0x3353a3);return _0x3353a3;},w=(_0x28df9e,_0x1249c5)=>(_0xe232e8,_0x27c17f)=>_0x1249c5(_0xe232e8,_0x27c17f,_0x28df9e);const nt=0x12c,rt=0x64,ot=()=>{let _0x299993=[],_0x59dba6=!0x1;return _0x4ce137=>{const _0x48cb35=_0x543b;_0x299993[_0x48cb35(0x147)](_0x4ce137),_0x59dba6||(_0x59dba6=!0x0,setTimeout(()=>{const _0x2c671c=_0x48cb35;_0x299993[_0x2c671c(0xfe)](_0x2130a1=>_0x2130a1()),_0x299993=[],_0x59dba6=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x53fc8a,_0x3604bb,_0xdc6a58,_0x248009,_0x25301d,_0x4f4de0,_0x2d13b0,_0x4a34c9){const _0x5ccf93=_0x15b43e;super(),h(this,_0x5ccf93(0x1d5),!0x1),h(this,_0x5ccf93(0x25a),!0x1),h(this,'_cursorInfo$',new d[(_0x5ccf93(0x1c9))](new Map())),h(this,_0x5ccf93(0x102),this[_0x5ccf93(0xa3)][_0x5ccf93(0x129)]()),h(this,_0x5ccf93(0x1fe),new d[(_0x5ccf93(0x1c9))]([])),h(this,_0x5ccf93(0xbb),this[_0x5ccf93(0x1fe)][_0x5ccf93(0x2d2)](d[_0x5ccf93(0x254)](nt))),h(this,'_updateLocalCursor',a[_0x5ccf93(0x26c)]((_0x1a2e2c,_0x6adb9d)=>{const _0x1963d3=_0x5ccf93,_0x12766c={'eventID':m[_0x1963d3(0x21c)][_0x1963d3(0x27e)],'data':{'unitID':this[_0x1963d3(0xa8)],'memberID':this[_0x1963d3(0x290)]['getMemberID'](),'selection':Ee[_0x1963d3(0x209)](_0x1a2e2c,_0x6adb9d[_0x1963d3(0x2d7)])}};this[_0x1963d3(0x290)][_0x1963d3(0x32c)](_0x12766c,this[_0x1963d3(0xa8)]);},rt)),(this[_0x5ccf93(0xa8)]=_0x53fc8a,this[_0x5ccf93(0x290)]=_0x3604bb,this[_0x5ccf93(0x159)]=_0xdc6a58,this[_0x5ccf93(0x211)]=_0x248009,this[_0x5ccf93(0x2f8)]=_0x25301d,this[_0x5ccf93(0x2f4)]=_0x4f4de0,this[_0x5ccf93(0x1bd)]=_0x2d13b0,this['_refRangeService']=_0x4a34c9);}get[_0x15b43e(0x226)](){const _0xbf6c70=_0x15b43e;return this[_0xbf6c70(0xa3)][_0xbf6c70(0x26e)]();}get['roomMembers'](){const _0x13aff1=_0x15b43e;return this[_0x13aff1(0x1fe)][_0x13aff1(0x26e)]();}[_0x15b43e(0x1e3)](){const _0x1e7eb4=_0x15b43e;super[_0x1e7eb4(0x1e3)](),this[_0x1e7eb4(0xa3)][_0x1e7eb4(0x104)](new Map()),this['_cursorInfo$'][_0x1e7eb4(0x15e)](),this[_0x1e7eb4(0x1fe)][_0x1e7eb4(0x104)]([]),this[_0x1e7eb4(0x1fe)][_0x1e7eb4(0x15e)]();}[_0x15b43e(0x29c)](){const _0x14f552=_0x15b43e;this['_init']||(this['_init']=!0x0,this[_0x14f552(0x290)][_0x14f552(0x2f9)][_0x14f552(0x2d2)](d[_0x14f552(0x1ef)](this[_0x14f552(0x25b)]))[_0x14f552(0x28f)](_0x385c2c=>{const _0x5e61a9=_0x14f552;_0x385c2c===u['SessionStatus'][_0x5e61a9(0x304)]?this[_0x5e61a9(0x10c)]():this['_toggleOffline']();}),this[_0x14f552(0x290)][_0x14f552(0x24f)][_0x14f552(0x2d2)](d[_0x14f552(0x1ef)](this[_0x14f552(0x25b)]))['subscribe'](_0x5cd7f9=>{const _0x5b366c=_0x14f552,_0x595814=_0x5cd7f9[_0x5b366c(0x291)];_0x595814===m[_0x5b366c(0x21c)][_0x5b366c(0x27e)]&&this[_0x5b366c(0x1ed)](_0x5cd7f9),_0x595814===m[_0x5b366c(0x21c)][_0x5b366c(0x253)]&&this[_0x5b366c(0xb4)](_0x5cd7f9);}),this[_0x14f552(0xbe)](),this[_0x14f552(0x1af)](this[_0x14f552(0x1bd)][_0x14f552(0x145)](_0x57f9b2=>{const _0x4aaafb=_0x14f552;if(this[_0x4aaafb(0x1d5)]&&_0x57f9b2['id']===g[_0x4aaafb(0x2e9)]['id']&&_0x57f9b2[_0x4aaafb(0x1b8)][_0x4aaafb(0x1b9)]===this['unitID']){const _0x55a572=_0x57f9b2[_0x4aaafb(0x1b8)];this['_updateLocalCursor'](_0x55a572[_0x4aaafb(0x2ba)],_0x55a572[_0x4aaafb(0xc2)][0x0]);}})));}['_onCursorUpdate'](_0x59c76a){const _0x45d86e=_0x15b43e;var _0x2f9a90,_0x368f22;const {memberID:_0xd20da0,selection:_0x3e48a0}=_0x59c76a[_0x45d86e(0x25e)],{sheetName:_0x46453a,range:_0x56f39d}=Ee[_0x45d86e(0x32b)](_0x3e48a0),_0x1a6c6f={'name':(_0x368f22=(_0x2f9a90=this[_0x45d86e(0x2f8)][_0x45d86e(0x2df)](this['unitID'],_0xd20da0))==null?void 0x0:_0x2f9a90[_0x45d86e(0x23c)])!=null?_0x368f22:'Unknown\x20user','range':this['_getMergeRange'](_0x46453a,_0x56f39d),'sheetID':_0x46453a,'color':this[_0x45d86e(0x211)]['assignAColorForMemberID'](_0xd20da0),'selection':_0x3e48a0},_0x416666=this[_0x45d86e(0x226)];_0x416666[_0x45d86e(0x2b0)](_0xd20da0,_0x1a6c6f),this['_cursorInfo$'][_0x45d86e(0x104)](_0x416666);}['_onCursorDelete'](_0x1b0cb6){const _0xf7915=_0x15b43e,{memberID:_0x3c2636}=_0x1b0cb6['data'],_0x92ce7c=this[_0xf7915(0x226)];_0x92ce7c[_0xf7915(0x2a4)](_0x3c2636),this['_cursorInfo$'][_0xf7915(0x104)](_0x92ce7c);}[_0x15b43e(0x2ad)](_0x3f541c,_0x370b6d){const _0x24055c=_0x15b43e;var _0x5b6dd7,_0x2f14fb;const _0x2279f3=(_0x2f14fb=(_0x5b6dd7=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x24055c(0xa8)]))==null?void 0x0:_0x5b6dd7[_0x24055c(0x181)](_0x3f541c))==null?void 0x0:_0x2f14fb[_0x24055c(0x23f)]();return(_0x2279f3==null?void 0x0:_0x2279f3[_0x24055c(0x11d)](_0x28677d=>a['Rectangle']['contains'](_0x28677d,_0x370b6d)))||_0x370b6d;}[_0x15b43e(0xbe)](){const _0x1bf6e3=_0x15b43e,_0x41a6d1=new a['DisposableCollection'](),_0x390e18=ot(),_0x5d5450=()=>{const _0x4a74a4=_0x543b;_0x41a6d1['dispose']();const _0x2279a9=(_0x3fc3dd,_0x31d75c,_0x322e7e,_0x9c5fe4)=>{const _0x208000=_0x543b;let _0x389fe1=[];switch(_0x3fc3dd['id']){case g[_0x208000(0x283)][_0x208000(0xb6)]:{_0x389fe1=g[_0x208000(0x100)](_0x3fc3dd,_0x9c5fe4);break;}case g['EffectRefRangId'][_0x208000(0x2e0)]:{_0x389fe1=g[_0x208000(0x2ea)](_0x3fc3dd,_0x9c5fe4);break;}case g[_0x208000(0x283)][_0x208000(0x2ff)]:{_0x389fe1=g[_0x208000(0x2dd)](_0x3fc3dd,_0x9c5fe4);break;}case g[_0x208000(0x283)][_0x208000(0xe9)]:{_0x389fe1=g['handleInsertRangeMoveDown'](_0x3fc3dd,_0x9c5fe4);break;}case g[_0x208000(0x283)]['InsertRangeMoveRightCommandId']:{_0x389fe1=g['handleInsertRangeMoveRight'](_0x3fc3dd,_0x9c5fe4);break;}case g[_0x208000(0x283)][_0x208000(0x321)]:{_0x389fe1=g['handleInsertRow'](_0x3fc3dd,_0x9c5fe4);break;}case g[_0x208000(0x283)]['MoveRangeCommandId']:{_0x389fe1=g[_0x208000(0x1ac)](_0x3fc3dd,_0x9c5fe4);break;}case g[_0x208000(0x283)][_0x208000(0x329)]:{_0x389fe1=g[_0x208000(0x141)](_0x3fc3dd,_0x9c5fe4);break;}case g[_0x208000(0x283)][_0x208000(0x273)]:{_0x389fe1=g[_0x208000(0x2d8)](_0x3fc3dd,_0x9c5fe4);break;}}const _0x5a4f7e=g['runRefRangeMutations'](_0x389fe1,_0x9c5fe4),_0x2010a6=this[_0x208000(0x226)]['get'](_0x31d75c);if(_0x2010a6&&_0x5a4f7e){const _0x6fbecb={..._0x2010a6,'range':_0x5a4f7e};this['cursorInfo'][_0x208000(0x2b0)](_0x31d75c,_0x6fbecb),_0x390e18(()=>{const _0x2e74a0=_0x208000,_0x412cf0=this[_0x2e74a0(0x248)][_0x2e74a0(0x30e)](_0x5a4f7e,_0x2d3430=>(_0x412cf0[_0x2e74a0(0x1e3)](),_0x2279a9(_0x2d3430,_0x31d75c,_0x322e7e,_0x5a4f7e)));_0x41a6d1[_0x2e74a0(0x286)](_0x412cf0);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4a74a4(0xfe)]((_0x11ea18,_0xda475d)=>{const _0x5642ca=_0x4a74a4,{range:_0x746bd2,sheetID:_0x281805}=_0x11ea18,_0x521e68=this[_0x5642ca(0x248)][_0x5642ca(0x30e)](_0x746bd2,_0x12f2da=>(_0x521e68[_0x5642ca(0x1e3)](),_0x2279a9(_0x12f2da,_0xda475d,_0x281805,_0x746bd2)));_0x41a6d1['add'](_0x521e68);});};this['disposeWithMe'](a[_0x1bf6e3(0x1fa)](this[_0x1bf6e3(0xa3)][_0x1bf6e3(0x28f)](()=>{_0x5d5450();})));}[_0x15b43e(0x10c)](){const _0x4d7193=_0x15b43e;var _0x1e8bbe,_0x39f17c;if(this['_online']=!0x0,((_0x1e8bbe=this[_0x4d7193(0x2f4)][_0x4d7193(0x156)]())==null?void 0x0:_0x1e8bbe[_0x4d7193(0x1cb)]())!==this[_0x4d7193(0xa8)])return;const _0x4a01cd=(_0x39f17c=this['_injector'][_0x4d7193(0x106)](g[_0x4d7193(0x20a)])['getCurrentSelections']())==null?void 0x0:_0x39f17c[0x0],_0x5509fd=this[_0x4d7193(0x2f4)][_0x4d7193(0x196)](a['UniverInstanceType'][_0x4d7193(0x30b)])[_0x4d7193(0x2d4)]();_0x4a01cd&&_0x5509fd&&this[_0x4d7193(0x21a)](_0x5509fd[_0x4d7193(0x2d3)](),_0x4a01cd);}[_0x15b43e(0x1a7)](){const _0x4372cd=_0x15b43e;this[_0x4372cd(0x1d5)]=!0x1;}};Se=it([w(0x2,a['Inject'](a[_0x15b43e(0x108)])),w(0x3,a[_0x15b43e(0x144)](me)),w(0x4,a[_0x15b43e(0x144)](u[_0x15b43e(0x2f7)])),w(0x5,a[_0x15b43e(0x105)]),w(0x6,a[_0x15b43e(0x131)]),w(0x7,a[_0x15b43e(0x144)](g[_0x15b43e(0x2e2)]))],Se);var at=Object['getOwnPropertyDescriptor'],ct=(_0xd51f89,_0x284b3c,_0x4241e4,_0x1d6ce0)=>{const _0x3c8ea2=_0x15b43e;for(var _0xb7fb6b=_0x1d6ce0>0x1?void 0x0:_0x1d6ce0?at(_0x284b3c,_0x4241e4):_0x284b3c,_0x32a029=_0xd51f89[_0x3c8ea2(0x1e8)]-0x1,_0xe82cdc;_0x32a029>=0x0;_0x32a029--)(_0xe82cdc=_0xd51f89[_0x32a029])&&(_0xb7fb6b=_0xe82cdc(_0xb7fb6b)||_0xb7fb6b);return _0xb7fb6b;},ie=(_0x7089bc,_0x346831)=>(_0x180911,_0x55ea4d)=>_0x346831(_0x180911,_0x55ea4d,_0x7089bc);let x=class extends a['RxDisposable']{constructor(_0x1f382c,_0x39fdd6,_0x2c1850){const _0x368fdf=_0x15b43e;super(),h(this,'_entities',new Map()),h(this,_0x368fdf(0x1f3),new d[(_0x368fdf(0x17d))]()),(this[_0x368fdf(0x2f4)]=_0x1f382c,this[_0x368fdf(0x159)]=_0x39fdd6,this['_collabSessionService']=_0x2c1850,this[_0x368fdf(0x25a)]());}[_0x15b43e(0x1e3)](){const _0x24c1b6=_0x15b43e;super[_0x24c1b6(0x1e3)](),this[_0x24c1b6(0x1f3)][_0x24c1b6(0x15e)](),this[_0x24c1b6(0x305)][_0x24c1b6(0xfe)](_0x1fbf2d=>_0x1fbf2d['dispose']());}[_0x15b43e(0xa4)](_0x5ca019){const _0x489af1=_0x15b43e;return this[_0x489af1(0x305)][_0x489af1(0xb3)](_0x5ca019)?this['_entities'][_0x489af1(0x106)](_0x5ca019)[_0x489af1(0x102)]:this['_entityInit$'][_0x489af1(0x2d2)](d[_0x489af1(0x258)](_0x3f0fea=>_0x3f0fea[_0x489af1(0xa8)]===_0x5ca019),d['switchMap'](_0x1d97ed=>_0x1d97ed[_0x489af1(0x102)]));}[_0x15b43e(0x25a)](){const _0x33d286=_0x15b43e;this[_0x33d286(0x2f4)][_0x33d286(0x21f)](a[_0x33d286(0x1eb)]['UNIVER_SHEET'])[_0x33d286(0x2d2)](d['takeUntil'](this[_0x33d286(0x25b)]))[_0x33d286(0x28f)](async _0x3665e7=>{const _0x43f838=_0x33d286,_0xa90902=_0x3665e7[_0x43f838(0x1cb)](),_0x327e55=await this[_0x43f838(0x1d8)](_0xa90902);this[_0x43f838(0x1f3)][_0x43f838(0x104)](_0x327e55),this[_0x43f838(0x305)]['set'](_0xa90902,_0x327e55);}),this[_0x33d286(0x2f4)]['getTypeOfUnitAdded$'](a[_0x33d286(0x1eb)][_0x33d286(0xda)])['pipe'](d['takeUntil'](this[_0x33d286(0x25b)]))[_0x33d286(0x2d2)](d['filter'](_0x5112e7=>!_0x5112e7[_0x33d286(0x1cb)]()[_0x33d286(0x231)]('__')))[_0x33d286(0x28f)](async _0x1fdeb7=>{const _0x16a4a6=_0x33d286,_0x5c77b5=_0x1fdeb7[_0x16a4a6(0x1cb)](),_0x5c0595=await this[_0x16a4a6(0x328)](_0x5c77b5);this[_0x16a4a6(0x1f3)]['next'](_0x5c0595),this[_0x16a4a6(0x305)][_0x16a4a6(0x2b0)](_0x5c77b5,_0x5c0595);}),d[_0x33d286(0x220)](this[_0x33d286(0x2f4)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x33d286(0xda)]),this[_0x33d286(0x2f4)][_0x33d286(0xa2)](a[_0x33d286(0x1eb)]['UNIVER_SHEET']))[_0x33d286(0x2d2)](d[_0x33d286(0x1ef)](this[_0x33d286(0x25b)]))[_0x33d286(0x28f)](_0x538e28=>{const _0x1606de=_0x33d286,_0x308fc2=_0x538e28['getUnitId'](),_0x34ee04=this[_0x1606de(0x305)]['get'](_0x308fc2);_0x34ee04&&(_0x34ee04[_0x1606de(0x1e3)](),this['_entities'][_0x1606de(0x2a4)](_0x308fc2));});}async[_0x15b43e(0x1d8)](_0x1a706c){const _0x49869d=_0x15b43e,_0x33e2c6=await this[_0x49869d(0x122)][_0x49869d(0x17a)](_0x1a706c),_0x3f7568=this['_injector']['createInstance'](Se,_0x1a706c,_0x33e2c6);return _0x3f7568[_0x49869d(0x29c)](),_0x3f7568;}async[_0x15b43e(0x328)](_0x1f0de4){const _0x5b4e5f=_0x15b43e,_0x5ddb6a=await this[_0x5b4e5f(0x122)][_0x5b4e5f(0x17a)](_0x1f0de4),_0x46b385=this[_0x5b4e5f(0x159)][_0x5b4e5f(0x1b0)](fe,_0x1f0de4,_0x5ddb6a);return _0x46b385[_0x5b4e5f(0x29c)](),_0x46b385;}};x=ct([ie(0x0,a[_0x15b43e(0x105)]),ie(0x1,a[_0x15b43e(0x144)](a[_0x15b43e(0x108)])),ie(0x2,a[_0x15b43e(0x144)](u[_0x15b43e(0x185)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x5d7eb1,_0x5ebd2c){const _0x2c32ef=_0x15b43e;let {radius:_0x4b7acd,width:_0x47afb9,height:_0x564352}=_0x5ebd2c;_0x4b7acd=_0x4b7acd!=null?_0x4b7acd:0x0,_0x47afb9=_0x47afb9!=null?_0x47afb9:0x1e,_0x564352=_0x564352!=null?_0x564352:0x1e;let _0x593601=0x0,_0x4090e2=0x0,_0x187253=0x0;_0x593601=_0x4090e2=_0x187253=Math[_0x2c32ef(0x1b3)](_0x4b7acd,_0x47afb9/0x2,_0x564352/0x2),_0x5d7eb1['beginPath'](),_0x5d7eb1['moveTo'](_0x593601,0x0),_0x5d7eb1['lineTo'](_0x47afb9-_0x4090e2,0x0),_0x5d7eb1[_0x2c32ef(0x2a0)](_0x47afb9-_0x4090e2,_0x4090e2,_0x4090e2,Math['PI']*0x3/0x2,0x0,!0x1),_0x5d7eb1['lineTo'](_0x47afb9,_0x564352-_0x187253),_0x5d7eb1[_0x2c32ef(0x2a0)](_0x47afb9-_0x187253,_0x564352-_0x187253,_0x187253,0x0,Math['PI']/0x2,!0x1),_0x5d7eb1[_0x2c32ef(0x23a)](0x0,_0x564352),_0x5d7eb1['lineTo'](0x0,_0x593601),_0x5d7eb1[_0x2c32ef(0x2a0)](_0x593601,_0x593601,_0x593601,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5d7eb1[_0x2c32ef(0x123)](),_0x5ebd2c[_0x2c32ef(0xf6)]&&(_0x5d7eb1['save'](),_0x5d7eb1[_0x2c32ef(0x1a4)]=_0x5ebd2c[_0x2c32ef(0xf6)],_0x5ebd2c[_0x2c32ef(0xeb)]===_0x2c32ef(0x110)?_0x5d7eb1[_0x2c32ef(0xf6)]('evenodd'):_0x5d7eb1[_0x2c32ef(0xf6)](),_0x5d7eb1[_0x2c32ef(0xe8)]());}class ee extends p[_0x15b43e(0x173)]{constructor(_0x28d903,_0x5bc7bd){const _0x28beaf=_0x15b43e;super(_0x28d903,_0x5bc7bd),h(this,'color'),h(this,_0x28beaf(0xb0)),(this[_0x28beaf(0xfd)]=_0x5bc7bd==null?void 0x0:_0x5bc7bd[_0x28beaf(0xfd)],this[_0x28beaf(0xb0)]=_0x5bc7bd==null?void 0x0:_0x5bc7bd['text']);}static[_0x15b43e(0x150)](_0x60f29f,_0x3a6b98){const _0x517417=_0x15b43e,{text:_0x53dab2,color:_0x108b95}=_0x3a6b98;_0x60f29f[_0x517417(0x295)](),_0x60f29f[_0x517417(0x320)]=_0x517417(0x146);const _0xad97ec=_0x60f29f[_0x517417(0x2c4)](_0x53dab2)[_0x517417(0x2dc)],_0x3f580e=Math[_0x517417(0x1b3)](_0xad97ec+0x2*ne,Re);_t(_0x60f29f,{'height':K,'radius':0x4,'width':_0x3f580e,'fill':_0x108b95}),_0x60f29f[_0x517417(0x1a4)]=_0x517417(0x9f);const _0x133a90=ne,_0x4d7fbe=K-lt,_0x4f1021=Re-0x2*ne;if(_0xad97ec>_0x4f1021){let _0x476e65='',_0x5f1a92=0x0;for(const _0x37814d of _0x53dab2){const _0x5c2f4c=_0x60f29f['measureText'](_0x37814d)[_0x517417(0x2dc)];if(_0x5f1a92+_0x5c2f4c<=_0x4f1021-_0x60f29f[_0x517417(0x2c4)](_0x517417(0x322))[_0x517417(0x2dc)])_0x476e65+=_0x37814d,_0x5f1a92+=_0x5c2f4c;else{_0x476e65+=_0x517417(0x322);break;}}_0x60f29f[_0x517417(0x2ac)](_0x476e65,_0x133a90,_0x4d7fbe);}else _0x60f29f[_0x517417(0x2ac)](_0x53dab2,_0x133a90,_0x4d7fbe);_0x60f29f[_0x517417(0xe8)]();}[_0x15b43e(0x2ab)](_0x2f1d0a){const _0x4341a6=_0x15b43e;ee[_0x4341a6(0x150)](_0x2f1d0a,this);}}const re=_0x15b43e(0x32a),ht=_0x15b43e(0x1e0),ut=_0x15b43e(0x251),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x15b43e(0x2b4);class De{constructor(_0x3b65a8,_0x2ef1b5,_0xfe93ce,_0x3740ca){const _0x406935=_0x15b43e;h(this,_0x406935(0x31d),[]),h(this,_0x406935(0x22f),null),h(this,'_textBubble',null),h(this,_0x406935(0xc0),null),h(this,_0x406935(0x1fd),null),h(this,_0x406935(0x16d),null),(this['_cursor']=_0x3b65a8,this['_scene']=_0x2ef1b5,this[_0x406935(0x247)]=_0xfe93ce,this[_0x406935(0x171)]=_0x3740ca,this[_0x406935(0x155)]());}set[_0x15b43e(0x1a9)](_0x25bbf7){const _0x4eadec=_0x15b43e;_0x25bbf7?(this[_0x4eadec(0xc0)]&&this[_0x4eadec(0xc0)][_0x4eadec(0x271)](),this[_0x4eadec(0xc9)]&&this[_0x4eadec(0xc9)][_0x4eadec(0x326)]()):(this[_0x4eadec(0xc0)]&&this['_anchorDot']['show'](),this[_0x4eadec(0xc9)]&&this[_0x4eadec(0xc9)]['hide']());}[_0x15b43e(0x1e3)](){const _0x8dfe7a=_0x15b43e;for(const _0x46bd16 of this['_shapes'])_0x46bd16[_0x8dfe7a(0x1e3)]();this[_0x8dfe7a(0xc9)]&&this[_0x8dfe7a(0xc9)][_0x8dfe7a(0x1e3)](),this[_0x8dfe7a(0xc0)]&&this[_0x8dfe7a(0xc0)][_0x8dfe7a(0x1e3)](),this['_anchor']&&this[_0x8dfe7a(0x22f)][_0x8dfe7a(0x1e3)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x175fa1=_0x15b43e;var _0x61c22c;const {_docSkeleton:_0x5b1ad0,_document:_0x35c0cc}=this,{color:_0x40589b,name:_0x354733,ranges:_0x19f36d}=this['_cursor'],_0x5aebf1=_0x35c0cc[_0x175fa1(0xa5)](),{docsLeft:_0x20fa10,docsTop:_0xc768d8}=_0x5aebf1,_0x43b8de=new b[(_0x175fa1(0x22d))](_0x5aebf1,_0x5b1ad0);for(const {startOffset:_0x249041,endOffset:_0x677dc4,rangeType:_0x2053c0,segmentId:_0x13bed2,segmentPage:_0x5475ee,collapsed:_0x48250e,isActive:_0x472622}of _0x19f36d){const _0x5d2d4b=_0x5b1ad0[_0x175fa1(0x2a1)](_0x249041,!0x0,_0x13bed2,_0x5475ee);let _0x13dcd7=_0x5b1ad0[_0x175fa1(0x2a1)](_0x677dc4,!0x0,_0x13bed2,_0x5475ee);if(_0x13dcd7==null&&(_0x13dcd7=_0x5b1ad0[_0x175fa1(0x2a1)](_0x677dc4-0x1,!0x1,_0x13bed2,_0x5475ee)),_0x472622){const {contentBoxPointGroup:_0x88e9ae}=_0x43b8de[_0x175fa1(0x1b4)](_0x13dcd7,_0x13dcd7);if(_0x88e9ae[_0x175fa1(0x1e8)]===0x0)continue;this[_0x175fa1(0x285)](_0x40589b,_0x88e9ae,_0x20fa10,_0xc768d8,_0x354733),this[_0x175fa1(0x16d)]=this[_0x175fa1(0x2e8)]();}if(_0x5d2d4b&&_0x13dcd7){if(_0x2053c0===a[_0x175fa1(0x31f)]['RECT']){const _0x4f7c72=new b[(_0x175fa1(0x202))](_0x5aebf1,_0x5b1ad0),{pointGroup:_0x2651b3}=(_0x61c22c=_0x4f7c72['getRangePointData'](_0x5d2d4b,_0x13dcd7))!=null?_0x61c22c:{};if(_0x2651b3==null||_0x2651b3[_0x175fa1(0x1e8)]===0x0)continue;this[_0x175fa1(0x15f)](_0x40589b,_0x2651b3,_0x20fa10,_0xc768d8);}else{if(!_0x48250e){const {borderBoxPointGroup:_0x27f582}=_0x43b8de[_0x175fa1(0x1b4)](_0x5d2d4b,_0x13dcd7);if(_0x27f582[_0x175fa1(0x1e8)]===0x0)continue;this[_0x175fa1(0xe1)](_0x40589b,_0x27f582,_0x20fa10,_0xc768d8);}}}}}[_0x15b43e(0x285)](_0x1f5876,_0x5b11c2,_0x59187f,_0x58502a,_0x54f4a8){const _0x54e2dc=_0x15b43e,_0x5e360d=this['_getAnchorBounding'](_0x5b11c2),{left:_0x42968f,top:_0x295b74,height:_0xf16eab}=_0x5e360d,_0x3cd28c=this['_getScale'](),_0x53b7a5=ft/_0x3cd28c,_0x5485e8=new p['Rect'](re+a[_0x54e2dc(0x197)][_0x54e2dc(0x279)](k),{'left':_0x42968f+_0x59187f-_0x53b7a5,'top':_0x295b74+_0x58502a,'height':_0xf16eab,'width':dt,'fill':_0x1f5876||p[_0x54e2dc(0x1ab)](a[_0x54e2dc(0xa9)]['black'],0x0),'strokeWidth':_0x53b7a5,'stroke':St,'evented':!0x0});this['_anchor']=_0x5485e8,this['_scene']['addObject'](_0x5485e8,b[_0x54e2dc(0x179)]);const _0x3f6af0=new p[(_0x54e2dc(0x200))](re+a[_0x54e2dc(0x197)][_0x54e2dc(0x279)](k),{'left':_0x42968f+_0x59187f-_0x53b7a5,'top':_0x295b74+_0x58502a-oe/0x2,'height':oe,'width':oe,'fill':_0x1f5876||p[_0x54e2dc(0x1ab)](a[_0x54e2dc(0xa9)][_0x54e2dc(0x17f)],0x0),'strokeWidth':0x0,'stroke':_0x1f5876||p[_0x54e2dc(0x1ab)](a['COLORS'][_0x54e2dc(0x17f)],0x0),'evented':!0x1});this['_anchorDot']=_0x3f6af0,this['_scene'][_0x54e2dc(0xed)](_0x3f6af0,b[_0x54e2dc(0x179)]);const _0x21cd03=new ee(re+a[_0x54e2dc(0x197)][_0x54e2dc(0x279)](k),{'left':_0x42968f+_0x59187f-_0x53b7a5,'top':_0x295b74+_0x58502a-K,'text':_0x54f4a8,'color':_0x1f5876});this[_0x54e2dc(0xc9)]=_0x21cd03,this['_scene'][_0x54e2dc(0xed)](_0x21cd03,b[_0x54e2dc(0x179)]),this[_0x54e2dc(0x1a9)]=!0x1;}[_0x15b43e(0x2e8)](){const _0x333654=_0x15b43e,_0x10db60=this[_0x333654(0x22f)][_0x333654(0x301)][_0x333654(0x161)](()=>{const _0x1fed09=_0x333654;this[_0x1fed09(0x1a9)]=!0x0;}),_0x68dca7=this[_0x333654(0x22f)][_0x333654(0x126)]['subscribeEvent'](()=>{const _0x4fe71f=_0x333654;this[_0x4fe71f(0x1fd)]&&clearTimeout(this[_0x4fe71f(0x1fd)]),this['_hideTimer']=setTimeout(()=>{const _0x388aba=_0x4fe71f;this[_0x388aba(0x1a9)]=!0x1;},0x7d0);});return()=>{const _0x2e9254=_0x333654;_0x10db60[_0x2e9254(0x275)](),_0x68dca7['unsubscribe']();};}[_0x15b43e(0xe1)](_0x1f01cb,_0x553b18,_0x1ca3b1,_0x46c9eb){const _0x4ae08c=_0x15b43e,_0x4c3eb8=new a[(_0x4ae08c(0x134))](_0x1f01cb)['setAlpha'](0.2)[_0x4ae08c(0x21e)](),_0x4c05a4=new p[(_0x4ae08c(0x267))](ht+a[_0x4ae08c(0x197)][_0x4ae08c(0x279)](k),{'pointsGroup':_0x553b18,'fill':_0x4c3eb8||p[_0x4ae08c(0x1ab)](a[_0x4ae08c(0xa9)][_0x4ae08c(0x17f)],0.2),'left':_0x1ca3b1,'top':_0x46c9eb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4ae08c(0x31d)]['push'](_0x4c05a4),this[_0x4ae08c(0x1d7)][_0x4ae08c(0xed)](_0x4c05a4,b[_0x4ae08c(0x179)]);}[_0x15b43e(0x15f)](_0x271476,_0xf981eb,_0x16ff6c,_0xca098f){const _0x9e4f3d=_0x15b43e,_0x5a0c6b=new a[(_0x9e4f3d(0x134))](_0x271476)[_0x9e4f3d(0x260)](0.2)[_0x9e4f3d(0x21e)](),_0x3b08af=new p[(_0x9e4f3d(0x267))](ut+a[_0x9e4f3d(0x197)][_0x9e4f3d(0x279)](k),{'pointsGroup':_0xf981eb,'fill':_0x5a0c6b||p[_0x9e4f3d(0x1ab)](a[_0x9e4f3d(0xa9)][_0x9e4f3d(0x17f)],0.2),'left':_0x16ff6c,'top':_0xca098f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x9e4f3d(0x31d)][_0x9e4f3d(0x147)](_0x3b08af),this['_scene']['addObject'](_0x3b08af,b[_0x9e4f3d(0x179)]);}[_0x15b43e(0x1d9)](_0x2e3ee9){const _0x5cf8c2=_0x2e3ee9[0x0],_0x295802=_0x5cf8c2[0x0],_0x5f33c8=_0x5cf8c2[0x2],{x:_0x52557e,y:_0x29e267}=_0x295802,{x:_0x221c76,y:_0x53afa3}=_0x5f33c8;return{'left':_0x52557e,'top':_0x29e267,'width':_0x221c76-_0x52557e,'height':_0x53afa3-_0x29e267};}['_getScale'](){const _0x4ebde7=_0x15b43e,{scaleX:_0x4cd771,scaleY:_0x4d5dfd}=this['_scene'][_0x4ebde7(0x113)]();return Math['max'](_0x4cd771,_0x4d5dfd);}}var It=Object[_0x15b43e(0x1ba)],vt=(_0x3138ce,_0x5282d8,_0x1085a4,_0x92fb1d)=>{const _0x5b19cd=_0x15b43e;for(var _0x4cf8c7=_0x92fb1d>0x1?void 0x0:_0x92fb1d?It(_0x5282d8,_0x1085a4):_0x5282d8,_0x251305=_0x3138ce[_0x5b19cd(0x1e8)]-0x1,_0x1fa642;_0x251305>=0x0;_0x251305--)(_0x1fa642=_0x3138ce[_0x251305])&&(_0x4cf8c7=_0x1fa642(_0x4cf8c7)||_0x4cf8c7);return _0x4cf8c7;},W=(_0x5782e2,_0x19b014)=>(_0x11fbbf,_0x328193)=>_0x19b014(_0x11fbbf,_0x328193,_0x5782e2);let Ie=class extends a['RxDisposable']{constructor(_0x552645,_0x1b56bb,_0x1e0f9a,_0x30e369,_0x332f6d){const _0x2f2d0b=_0x15b43e;super(),h(this,_0x2f2d0b(0xcd),[]),h(this,_0x2f2d0b(0xd2),[]),(this[_0x2f2d0b(0x205)]=_0x552645,this[_0x2f2d0b(0xd3)]=_0x1b56bb,this[_0x2f2d0b(0x2f5)]=_0x1e0f9a,this[_0x2f2d0b(0x1bd)]=_0x30e369,this['_themeService']=_0x332f6d,this[_0x2f2d0b(0x25a)]());}['_init'](){const _0x13995b=_0x15b43e,_0x19fb3a=this[_0x13995b(0x205)][_0x13995b(0x1b9)],_0x41c3f5=this[_0x13995b(0xd3)];this[_0x13995b(0x1af)](d[_0x13995b(0x2c1)]([this[_0x13995b(0x2f5)][_0x13995b(0xa4)](_0x19fb3a),this['_themeService'][_0x13995b(0x270)]])[_0x13995b(0x2d2)]($[_0x13995b(0x101)](([_0x838c1a,_0x114492])=>({'skeleton':_0x41c3f5[_0x13995b(0x143)](),'cursors':[..._0x838c1a[_0x13995b(0x280)]()]['flatMap'](_0xb54dd7=>({..._0xb54dd7,'color':_0x114492[_0xb54dd7[_0x13995b(0xfd)]]}))})))[_0x13995b(0x28f)](_0x5323fc=>{const _0x190eb4=_0x13995b;if(this['_removeCollabCursors'](),_0x5323fc){const {skeleton:_0x128311,cursors:_0x44df8a}=_0x5323fc;this[_0x190eb4(0x289)](_0x128311,_0x44df8a);}})),this['_initResize'](),this[_0x13995b(0x195)]();}[_0x15b43e(0x289)](_0x3aeec8,_0x5b02f0){const _0x476966=_0x15b43e,{scene:_0x2ac676,mainComponent:_0x2f01f9}=this['_context'],_0x540493=_0x5b02f0['map'](_0x4adb54=>new De(_0x4adb54,_0x2ac676,_0x3aeec8,_0x2f01f9));this[_0x476966(0xcd)]=_0x540493,this['_cursors']=_0x5b02f0;}[_0x15b43e(0x1fb)](){const _0x116560=_0x15b43e;this['_removeCollabCursors']();const {scene:_0xb66356,mainComponent:_0x1699aa}=this[_0x116560(0x205)],_0x9477de=this[_0x116560(0xd3)][_0x116560(0x143)](),_0x4c4be9=this[_0x116560(0xd2)][_0x116560(0x101)](_0x3761a0=>new De(_0x3761a0,_0xb66356,_0x9477de,_0x1699aa));this[_0x116560(0xcd)]=_0x4c4be9;}[_0x15b43e(0x294)](){const _0x4127bc=_0x15b43e;this['_cursorShapes'][_0x4127bc(0xfe)](_0x1910d6=>_0x1910d6[_0x4127bc(0x1e3)]()),this[_0x4127bc(0xcd)]=[];}[_0x15b43e(0x195)](){const _0x5d9707=_0x15b43e,_0x54a708=[b[_0x5d9707(0x16f)]['id']];this[_0x5d9707(0x1af)](this['_commandService']['onCommandExecuted'](_0xb4e15d=>{const _0x76ad38=_0x5d9707;_0x54a708[_0x76ad38(0x1d2)](_0xb4e15d['id'])&&_0xb4e15d[_0x76ad38(0x1b8)][_0x76ad38(0x1b9)]===this[_0x76ad38(0x205)][_0x76ad38(0x1b9)]&&this[_0x76ad38(0x1fb)]();}));}[_0x15b43e(0x2de)](){const _0x232514=_0x15b43e;this[_0x232514(0x1af)](a[_0x232514(0x2cf)](this[_0x232514(0x205)][_0x232514(0x127)][_0x232514(0x174)])[_0x232514(0x2d2)]($[_0x232514(0x258)](_0x436ff0=>_0x436ff0[_0x232514(0x14e)]===p[_0x232514(0x10e)]['resize']),$[_0x232514(0x13c)](0x10))['subscribe'](()=>{const _0x40622a=_0x232514;this[_0x40622a(0x1fb)]();}));}};Ie=vt([W(0x1,a['Inject'](F[_0x15b43e(0x2a3)])),W(0x2,a[_0x15b43e(0x144)](x)),W(0x3,a[_0x15b43e(0x131)]),W(0x4,a[_0x15b43e(0x144)](a[_0x15b43e(0x149)]))],Ie);const gt=0x1,mt=1.5;class Ae extends p[_0x15b43e(0x173)]{constructor(_0x1ea581,_0x2860a7){const _0x15509d=_0x15b43e;super(_0x1ea581,_0x2860a7),h(this,_0x15509d(0x2c9)),h(this,_0x15509d(0xf5),!0x1),h(this,_0x15509d(0x112)),h(this,'_name',''),h(this,_0x15509d(0xe2),'top'),h(this,'_backgroundColor'),(_0x2860a7&&this[_0x15509d(0xd9)](_0x2860a7),this[_0x15509d(0x301)][_0x15509d(0x161)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x15509d(0x126)][_0x15509d(0x161)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x15b43e(0xd9)](_0x1a561e){const _0x4b67d9=_0x15b43e;var _0x141282,_0x55d923,_0x58c865,_0x26d5e4,_0x52e2dd,_0x1c471f;this[_0x4b67d9(0x2c9)]=(_0x141282=_0x1a561e[_0x4b67d9(0xfd)])!=null?_0x141282:this[_0x4b67d9(0x2c9)],this['_hovered']=(_0x55d923=_0x1a561e[_0x4b67d9(0x107)])!=null?_0x55d923:this[_0x4b67d9(0xf5)],this['_range']=(_0x58c865=_0x1a561e['range'])!=null?_0x58c865:this[_0x4b67d9(0x112)],this[_0x4b67d9(0x221)]=(_0x26d5e4=_0x1a561e[_0x4b67d9(0x23c)])!=null?_0x26d5e4:this[_0x4b67d9(0x221)],this[_0x4b67d9(0xe2)]=(_0x52e2dd=_0x1a561e['labelPosition'])!=null?_0x52e2dd:this['_labelPosition'],this['_backgroundColor']=(_0x1c471f=_0x1a561e['backgroundColor'])!=null?_0x1c471f:this[_0x4b67d9(0x311)],this['transformByState']({'width':_0x1a561e['width'],'height':_0x1a561e['height']});}[_0x15b43e(0x240)](_0x3eb3ab){const _0x35eebb=_0x15b43e,{row:_0x556658,column:_0x4cef8e}=_0x3eb3ab;if(_0x556658>=this[_0x35eebb(0x112)][_0x35eebb(0x27d)]&&_0x556658<=this[_0x35eebb(0x112)][_0x35eebb(0x1a1)]&&_0x4cef8e>=this[_0x35eebb(0x112)]['startColumn']&&_0x4cef8e<=this[_0x35eebb(0x112)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x35eebb(0xd9)]({'hovered':!0x1});}[_0x15b43e(0x167)](_0x2dc54f){return!0x1;}['_draw'](_0x1c3fb2){const _0x29ebf6=_0x15b43e;p[_0x29ebf6(0x200)][_0x29ebf6(0x150)](_0x1c3fb2,{'width':this['width'],'height':this['height'],'strokeWidth':mt,'stroke':this[_0x29ebf6(0x2c9)],'evented':!0x1,'fill':this[_0x29ebf6(0x311)]}),this[_0x29ebf6(0xf5)]&&(_0x1c3fb2[_0x29ebf6(0x295)](),_0x1c3fb2[_0x29ebf6(0x20f)](0x1,0x0,0x0,0x1,this[_0x29ebf6(0x2dc)],this[_0x29ebf6(0xe2)]===_0x29ebf6(0x2d0)?0x0:-0x14),ee[_0x29ebf6(0x150)](_0x1c3fb2,{'text':this[_0x29ebf6(0x221)],'color':this[_0x29ebf6(0x2c9)]}),_0x1c3fb2[_0x29ebf6(0xe8)]());}}var Ct=Object[_0x15b43e(0x1ba)],pt=(_0xd965b2,_0x39e884,_0x163f03,_0x2b7517)=>{const _0x53da02=_0x15b43e;for(var _0x3cbaee=_0x2b7517>0x1?void 0x0:_0x2b7517?Ct(_0x39e884,_0x163f03):_0x39e884,_0xe64d21=_0xd965b2[_0x53da02(0x1e8)]-0x1,_0x25c6e5;_0xe64d21>=0x0;_0xe64d21--)(_0x25c6e5=_0xd965b2[_0xe64d21])&&(_0x3cbaee=_0x25c6e5(_0x3cbaee)||_0x3cbaee);return _0x3cbaee;},ae=(_0x35f5a5,_0x1ae269)=>(_0xec2452,_0x40978f)=>_0x1ae269(_0xec2452,_0x40978f,_0x35f5a5);const bt=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x402357,_0x57e441,_0x4849d2,_0x1f78db){const _0x2f8df0=_0x15b43e;super(),h(this,_0x2f8df0(0xd2),new Set()),h(this,_0x2f8df0(0x230),null),(this['_context']=_0x402357,this[_0x2f8df0(0x30a)]=_0x57e441,this[_0x2f8df0(0x2f5)]=_0x4849d2,this[_0x2f8df0(0x2b9)]=_0x1f78db,this[_0x2f8df0(0x25a)]());}[_0x15b43e(0x25a)](){const _0x88ae87=_0x15b43e;this[_0x88ae87(0x30a)][_0x88ae87(0x1cf)][_0x88ae87(0x2d2)]($[_0x88ae87(0x1ef)](this[_0x88ae87(0x25b)]),$['switchMap'](_0x33b4ff=>{const _0x312023=_0x88ae87;if(_0x33b4ff){const _0x2a70cb=_0x33b4ff['sheetId'];return d[_0x312023(0x2c1)](this[_0x312023(0x2f5)]['getCollabCursors$'](this[_0x312023(0x205)][_0x312023(0x1b9)]),this[_0x312023(0x2b9)][_0x312023(0x270)])['pipe']($[_0x312023(0x101)](([_0x34685f,_0x22de37])=>{const _0x3a4b14=_0x312023,_0x2bcbb6=new Map();return _0x34685f[_0x3a4b14(0xfe)]((_0x484ec4,_0x41111d)=>{const _0x5a5a17=_0x3a4b14;if(_0x484ec4['sheetID']===_0x2a70cb){const _0x5eec70={..._0x484ec4};_0x5eec70[_0x5a5a17(0xfd)]=_0x22de37[_0x484ec4[_0x5a5a17(0xfd)]],_0x2bcbb6['set'](_0x41111d,_0x5eec70);}}),{'skeleton':_0x33b4ff,'cursors':_0x2bcbb6};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x88ae87(0x28f)](({skeleton:_0x32d90d,cursors:_0x4e6cec})=>{const _0x2666ed=_0x88ae87;this[_0x2666ed(0x294)](),_0x32d90d&&this[_0x2666ed(0x289)](_0x32d90d,_0x4e6cec);}),this[_0x88ae87(0x30a)][_0x88ae87(0x1cf)][_0x88ae87(0x28f)](_0x39ad7d=>{const _0x5eb21b=_0x88ae87;if(_0x39ad7d==null)return;const {skeleton:_0x211157}=_0x39ad7d,{scene:_0x36c087}=this[_0x5eb21b(0x205)];_0x36c087[_0x5eb21b(0xa7)][_0x5eb21b(0x161)](a[_0x5eb21b(0x26c)](_0x22251f=>{const _0x47ef22=_0x5eb21b;var _0x47ab7d,_0x46c4b7;const {offsetX:_0x12068f,offsetY:_0x8ddd7a}=_0x22251f,{x:_0x387863,y:_0xb0af26}=_0x36c087[_0x47ef22(0x1a3)](p[_0x47ef22(0x1e4)][_0x47ef22(0x2e6)]([_0x12068f,_0x8ddd7a])),{scaleX:_0x1d00c9,scaleY:_0x3af7ae}=_0x36c087['getAncestorScale'](),_0x65b4ef=_0x36c087[_0x47ef22(0x26a)](p['SHEET_VIEWPORT_KEY'][_0x47ef22(0x9b)]),_0x28d07d=_0x36c087['getVpScrollXYInfoByPosToVp'](p[_0x47ef22(0x1e4)][_0x47ef22(0x2e6)]([_0x387863,_0xb0af26]),_0x65b4ef),_0xf7ed29=_0x211157['getCellPositionByOffset'](_0x12068f,_0x8ddd7a,_0x1d00c9,_0x3af7ae,_0x28d07d);((_0x47ab7d=this[_0x47ef22(0x230)])==null?void 0x0:_0x47ab7d[_0x47ef22(0x27a)])===_0xf7ed29[_0x47ef22(0x27a)]&&((_0x46c4b7=this[_0x47ef22(0x230)])==null?void 0x0:_0x46c4b7['row'])===_0xf7ed29[_0x47ef22(0x208)]||this['_cursors'][_0x47ef22(0xfe)](_0x1b351d=>{const _0xb09346=_0x47ef22;_0x1b351d[_0xb09346(0x240)](_0xf7ed29);});},0x64));});}[_0x15b43e(0x289)](_0x2eb3ac,_0x44f178){const _0x2a0fcd=_0x15b43e;var _0x5f335c;const _0xe9e651=(_0x5f335c=this[_0x2a0fcd(0x30a)][_0x2a0fcd(0x235)]())==null?void 0x0:_0x5f335c[_0x2a0fcd(0x29d)];if(!_0xe9e651)return;const _0x2c3770=this[_0x2a0fcd(0x30f)]();if(!_0x2c3770)return;this[_0x2a0fcd(0xd2)][_0x2a0fcd(0xfe)](_0x51bae3=>{const _0x253ff2=_0x2a0fcd;_0x51bae3[_0x253ff2(0x2e4)]();});const {scene:_0x381bd1}=_0x2c3770,_0x2fd4fc=Et(Array[_0x2a0fcd(0x187)](_0x44f178[_0x2a0fcd(0x280)]()))[_0x2a0fcd(0x101)](_0x1fb54c=>{const _0x2d0f30=_0x2a0fcd,{color:_0x2a5332,range:_0x189e6a,name:_0x5a81cc,selection:_0x7c1a3f,sheetID:_0xdf689e}=_0x1fb54c,{startColumn:_0x1c29cc,startRow:_0x4cb833,endColumn:_0x266dc5,endRow:_0x4a806a}=_0x189e6a,_0x4f6b7d=X[_0x2d0f30(0x207)](_0x4cb833,_0x1c29cc,_0x381bd1,_0xe9e651),_0x56d9fd=X[_0x2d0f30(0x207)](_0x4a806a,_0x266dc5,_0x381bd1,_0xe9e651),{columnHeaderHeightAndMarginTop:_0x5661b6}=_0xe9e651,{startX:_0x589549,startY:_0x386a65}=_0x4f6b7d,{endX:_0x12fb34,endY:_0x2209ad}=_0x56d9fd,_0x4b074d=_0x12fb34-_0x589549,_0x179763=_0x2209ad-_0x386a65,_0x17bba9={'labelPosition':_0x386a65-_0x5661b6>=K?_0x2d0f30(0x15b):_0x2d0f30(0x2d0),'sheetID':_0xdf689e,'range':_0x189e6a,'color':_0x2a5332,'name':_0x5a81cc,'selection':_0x7c1a3f,'left':_0x589549,'top':_0x386a65,'width':_0x4b074d,'height':_0x179763,'evented':!0x1,'zIndex':bt};return new Ae(_0x5a81cc,_0x17bba9);});_0x381bd1[_0x2a0fcd(0x278)](_0x2fd4fc,gt),this['_cursors']=new Set(_0x2fd4fc);}[_0x15b43e(0x294)](){const _0x2ac9fd=_0x15b43e;var _0x3d9c23;(_0x3d9c23=this[_0x2ac9fd(0xd2)])==null||_0x3d9c23[_0x2ac9fd(0xfe)](_0x4253f6=>_0x4253f6[_0x2ac9fd(0x1e3)]());}[_0x15b43e(0x30f)](){const _0x385b9c=_0x15b43e;return X[_0x385b9c(0x269)](this[_0x385b9c(0x205)]['unit'],this['_context']);}};ve=pt([ae(0x1,a['Inject'](X[_0x15b43e(0x2b2)])),ae(0x2,a[_0x15b43e(0x144)](x)),ae(0x3,a['Inject'](a[_0x15b43e(0x149)]))],ve);function Et(_0x50d087){const _0x9dac49=_0x15b43e,_0x379c57=new Map();return _0x50d087[_0x9dac49(0xfe)](_0x3fa7fd=>{const _0xf1753b=_0x9dac49;if(_0x379c57[_0xf1753b(0xb3)](_0x3fa7fd['selection'])){const _0x410192=_0x379c57[_0xf1753b(0x106)](_0x3fa7fd['selection']);_0x410192[_0xf1753b(0x23c)]+=',\x20'+_0x3fa7fd[_0xf1753b(0x23c)];}else _0x379c57[_0xf1753b(0x2b0)](_0x3fa7fd[_0xf1753b(0x18b)],_0x3fa7fd);}),Array[_0x9dac49(0x187)](_0x379c57[_0x9dac49(0x280)]());}var E=function(){const _0x2bccd9=_0x15b43e;return E=Object[_0x2bccd9(0x25f)]||function(_0x400a0c){const _0x39375e=_0x2bccd9;for(var _0x41cb00,_0x5c9967=0x1,_0xb99aed=arguments[_0x39375e(0x1e8)];_0x5c9967<_0xb99aed;_0x5c9967++){_0x41cb00=arguments[_0x5c9967];for(var _0x4d4a7b in _0x41cb00)Object[_0x39375e(0x1bb)][_0x39375e(0x1d3)][_0x39375e(0xfb)](_0x41cb00,_0x4d4a7b)&&(_0x400a0c[_0x4d4a7b]=_0x41cb00[_0x4d4a7b]);}return _0x400a0c;},E[_0x2bccd9(0x12f)](this,arguments);},Tt=function(_0x2051cb,_0x15c0dd){const _0x2141bc=_0x15b43e;var _0x33fa30={};for(var _0x1778a7 in _0x2051cb)Object[_0x2141bc(0x1bb)][_0x2141bc(0x1d3)]['call'](_0x2051cb,_0x1778a7)&&_0x15c0dd['indexOf'](_0x1778a7)<0x0&&(_0x33fa30[_0x1778a7]=_0x2051cb[_0x1778a7]);if(_0x2051cb!=null&&typeof Object[_0x2141bc(0xf4)]==_0x2141bc(0x139)){for(var _0x38c0bc=0x0,_0x1778a7=Object[_0x2141bc(0xf4)](_0x2051cb);_0x38c0bc<_0x1778a7[_0x2141bc(0x1e8)];_0x38c0bc++)_0x15c0dd[_0x2141bc(0x1c3)](_0x1778a7[_0x38c0bc])<0x0&&Object[_0x2141bc(0x1bb)]['propertyIsEnumerable'][_0x2141bc(0xfb)](_0x2051cb,_0x1778a7[_0x38c0bc])&&(_0x33fa30[_0x1778a7[_0x38c0bc]]=_0x2051cb[_0x1778a7[_0x38c0bc]]);}return _0x33fa30;},pe=M[_0x15b43e(0x2a9)](function(_0x6835af,_0x2affb2){const _0x57fa7c=_0x15b43e;var _0x2038ca=_0x6835af['icon'],_0x24dd21=_0x6835af['id'],_0x54ea5f=_0x6835af[_0x57fa7c(0x14c)],_0x2703f5=_0x6835af['extend'],_0x327def=Tt(_0x6835af,[_0x57fa7c(0x256),'id',_0x57fa7c(0x14c),'extend']),_0x7b1ad1=_0x57fa7c(0x1db)[_0x57fa7c(0x116)](_0x24dd21,'\x20')[_0x57fa7c(0x116)](_0x54ea5f||'')[_0x57fa7c(0x198)](),_0x5c2407=M[_0x57fa7c(0x2a7)]('_'[_0x57fa7c(0x116)](Dt()));return we(_0x2038ca,''[_0x57fa7c(0x116)](_0x24dd21),{'defIds':_0x2038ca['defIds'],'idSuffix':_0x5c2407[_0x57fa7c(0x1d1)]},E({'ref':_0x2affb2,'className':_0x7b1ad1},_0x327def),_0x2703f5);});function we(_0x3c8832,_0x3877ba,_0xf4f120,_0x31ba46,_0x5aec91){const _0x1474dd=_0x15b43e;return M[_0x1474dd(0x317)](_0x3c8832['tag'],E(E({'key':_0x3877ba},Ot(_0x3c8832,_0xf4f120,_0x5aec91)),_0x31ba46),(Rt(_0x3c8832,_0xf4f120)[_0x1474dd(0x310)]||[])[_0x1474dd(0x101)](function(_0x50e6da,_0x529874){const _0x18749c=_0x1474dd;return we(_0x50e6da,''['concat'](_0x3877ba,'-')[_0x18749c(0x116)](_0x3c8832[_0x18749c(0xdc)],'-')[_0x18749c(0x116)](_0x529874),_0xf4f120,void 0x0,_0x5aec91);}));}function Ot(_0x43601f,_0x5e5241,_0x5f2220){const _0x529e09=_0x15b43e;var _0x1f9f1e=E({},_0x43601f[_0x529e09(0x1da)]);_0x5f2220!=null&&_0x5f2220[_0x529e09(0x25d)]&&_0x1f9f1e[_0x529e09(0xf6)]===_0x529e09(0x25d)&&(_0x1f9f1e['fill']=_0x5f2220[_0x529e09(0x25d)]),_0x43601f[_0x529e09(0xdc)]===_0x529e09(0x12e)&&_0x1f9f1e['id']&&(_0x1f9f1e['id']=_0x1f9f1e['id']+_0x5e5241['idSuffix']),Object['entries'](_0x1f9f1e)[_0x529e09(0xfe)](function(_0x212a30){const _0x53b41d=_0x529e09;var _0x5a0b3b=_0x212a30[0x0],_0x46cc8d=_0x212a30[0x1];_0x5a0b3b===_0x53b41d(0x12e)&&typeof _0x46cc8d==_0x53b41d(0xb5)&&(_0x1f9f1e[_0x5a0b3b]=_0x46cc8d[_0x53b41d(0x28e)](/url\(#(.*)\)/,'url(#$1'[_0x53b41d(0x116)](_0x5e5241[_0x53b41d(0x12d)],')')));});var _0xc4eae6=_0x5e5241['defIds'];return!_0xc4eae6||_0xc4eae6[_0x529e09(0x1e8)]===0x0||(_0x43601f[_0x529e09(0xdc)]===_0x529e09(0x2e5)&&_0x1f9f1e[_0x529e09(0x319)]&&(_0x1f9f1e[_0x529e09(0x319)]=_0x1f9f1e[_0x529e09(0x319)]+_0x5e5241[_0x529e09(0x12d)]),Object['entries'](_0x1f9f1e)[_0x529e09(0xfe)](function(_0x509812){const _0x5d985d=_0x529e09;var _0x1ad6a1=_0x509812[0x0],_0x5b3d00=_0x509812[0x1];typeof _0x5b3d00==_0x5d985d(0xb5)&&(_0x1f9f1e[_0x1ad6a1]=_0x5b3d00[_0x5d985d(0x28e)](/url\(#(.*)\)/,_0x5d985d(0x1cd)[_0x5d985d(0x116)](_0x5e5241[_0x5d985d(0x12d)],')')));})),_0x1f9f1e;}function Rt(_0x21935e,_0x92cfe0){const _0xcef2b0=_0x15b43e;var _0x432550,_0x303c87=_0x92cfe0[_0xcef2b0(0xb8)];return!_0x303c87||_0x303c87[_0xcef2b0(0x1e8)]===0x0?_0x21935e:_0x21935e[_0xcef2b0(0xdc)]===_0xcef2b0(0x1ee)&&(!((_0x432550=_0x21935e[_0xcef2b0(0x310)])===null||_0x432550===void 0x0)&&_0x432550['length'])?E(E({},_0x21935e),{'children':_0x21935e[_0xcef2b0(0x310)][_0xcef2b0(0x101)](function(_0x98be5a){const _0x49a451=_0xcef2b0;return typeof _0x98be5a[_0x49a451(0x1da)]['id']==_0x49a451(0xb5)&&_0x303c87&&_0x303c87[_0x49a451(0x1c3)](_0x98be5a[_0x49a451(0x1da)]['id'])>-0x1?E(E({},_0x98be5a),{'attrs':E(E({},_0x98be5a[_0x49a451(0x1da)]),{'id':_0x98be5a[_0x49a451(0x1da)]['id']+_0x92cfe0['idSuffix']})}):_0x98be5a;})}):_0x21935e;}function Dt(){const _0x3ba6fc=_0x15b43e;return Math[_0x3ba6fc(0x302)]()[_0x3ba6fc(0x2f0)](0x24)[_0x3ba6fc(0x190)](0x2,0x8);}pe[_0x15b43e(0x281)]=_0x15b43e(0x19c);var Ut={'tag':'svg','attrs':{'fill':'none','viewBox':_0x15b43e(0x2d1),'width':_0x15b43e(0x117),'height':_0x15b43e(0x117)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x15b43e(0x2c2),'d':_0x15b43e(0x27b),'strokeLinecap':_0x15b43e(0x2cc),'strokeLinejoin':_0x15b43e(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x15b43e(0x1ee),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x15b43e(0x298)},'children':[{'tag':_0x15b43e(0x178),'attrs':{'fill':_0x15b43e(0x1ce),'d':_0x15b43e(0x119)}}]}]}],'defIds':['off-line-single_clip0_910_343']},ye=M[_0x15b43e(0x2a9)](function(_0x57ab8a,_0x8689b0){const _0x31442f=_0x15b43e;return M[_0x31442f(0x317)](pe,Object[_0x31442f(0x25f)]({},_0x57ab8a,{'id':_0x31442f(0x9c),'ref':_0x8689b0,'icon':Ut}));});ye[_0x15b43e(0x281)]='OffLineSingle';var Nt={'tag':_0x15b43e(0x2bc),'attrs':{'fill':_0x15b43e(0x24d),'viewBox':_0x15b43e(0xd6),'width':_0x15b43e(0x117),'height':_0x15b43e(0x117)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x15b43e(0x178),'attrs':{'stroke':_0x15b43e(0x2c2),'d':_0x15b43e(0x16c),'strokeLinecap':_0x15b43e(0x2cc),'strokeLinejoin':_0x15b43e(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x15b43e(0x1ee),'attrs':{},'children':[{'tag':_0x15b43e(0x14a),'attrs':{'id':_0x15b43e(0x11a)},'children':[{'tag':_0x15b43e(0x178),'attrs':{'fill':_0x15b43e(0x1ce),'d':_0x15b43e(0x119),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},$e=M['forwardRef'](function(_0x30e0f3,_0x9af25){const _0x519e99=_0x15b43e;return M[_0x519e99(0x317)](pe,Object['assign']({},_0x30e0f3,{'id':_0x519e99(0xea),'ref':_0x9af25,'icon':Nt}));});$e['displayName']=_0x15b43e(0xbc);function Mt(_0x2bb1fe){const _0x1e9ac2=_0x15b43e;switch(_0x2bb1fe){case u['CollaborationStatus']['OFFLINE']:return _0x1e9ac2(0x215);case u[_0x1e9ac2(0x175)][_0x1e9ac2(0x189)]:return _0x1e9ac2(0xec);case u[_0x1e9ac2(0x175)][_0x1e9ac2(0x120)]:return _0x1e9ac2(0x154);case u[_0x1e9ac2(0x175)]['NOT_COLLAB']:return _0x1e9ac2(0xaa);case u[_0x1e9ac2(0x175)][_0x1e9ac2(0xba)]:case u[_0x1e9ac2(0x175)][_0x1e9ac2(0x30c)]:return _0x1e9ac2(0x2bf);case u[_0x1e9ac2(0x175)][_0x1e9ac2(0x184)]:case u[_0x1e9ac2(0x175)][_0x1e9ac2(0x160)]:return'collabStatus.synced';}}function xe(_0x42e2d1){const _0x1e86f1=_0x15b43e,{status$:_0x584c26}=_0x42e2d1,_0x4d8c41=T['useObservable'](_0x584c26,u[_0x1e86f1(0x175)][_0x1e86f1(0x1dd)]),_0x104f09=T['useDependency'](a['LocaleService']),_0x205b95=T['useDependency'](u[_0x1e86f1(0x185)]),_0x45cdff=_0x4d8c41!==u[_0x1e86f1(0x175)]['OFFLINE'],_0x2e1208=_0x104f09['t'](Mt(_0x4d8c41)),_0x1c8b8a=_0x45cdff?P[_0x1e86f1(0x109)]($e,{}):P[_0x1e86f1(0x109)](ye,{}),_0xb1117d=M[_0x1e86f1(0x212)](()=>{const _0x1258d2=_0x1e86f1;_0x45cdff||_0x205b95[_0x1258d2(0x27c)]();},[_0x45cdff,_0x205b95]);function _0x49f616(){const _0x1dc03b=_0x1e86f1;return P[_0x1dc03b(0x1fc)](_0x1dc03b(0x1ff),{'className':_0x1dc03b(0x1d4),'onClick':_0xb1117d,'children':[P[_0x1dc03b(0x109)](_0x1dc03b(0x1ff),{'className':D[_0x1dc03b(0xe4)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x45cdff?'univer-text-green-500':'univer-text-red-500'),'children':_0x1c8b8a}),P['jsx']('div',{'className':_0x1dc03b(0x2db),'children':_0x2e1208})]});}return _0x45cdff?_0x49f616():P[_0x1e86f1(0x109)](D[_0x1e86f1(0x2eb)],{'title':_0x104f09['t'](_0x1e86f1(0x191)),'children':_0x49f616()});}var Lt=Object[_0x15b43e(0x1ba)],Pt=(_0x41542b,_0x219eca,_0x25e5d5,_0x41092b)=>{const _0xc64992=_0x15b43e;for(var _0x237c21=_0x41092b>0x1?void 0x0:_0x41092b?Lt(_0x219eca,_0x25e5d5):_0x219eca,_0x14a834=_0x41542b[_0xc64992(0x1e8)]-0x1,_0x131669;_0x14a834>=0x0;_0x14a834--)(_0x131669=_0x41542b[_0x14a834])&&(_0x237c21=_0x131669(_0x237c21)||_0x237c21);return _0x237c21;},V=(_0x4698ac,_0x519743)=>(_0x4d8563,_0x8ba266)=>_0x519743(_0x4d8563,_0x8ba266,_0x4698ac);exports[_0x15b43e(0x28d)]=class extends a['Disposable']{constructor(_0xb17c13,_0x13801c,_0x259910,_0x23f077){const _0x282245=_0x15b43e;super(),h(this,_0x282245(0x1a5),new d[(_0x282245(0x1c9))](u['CollaborationStatus']['NOT_COLLAB'])),(this[_0x282245(0x2f4)]=_0xb17c13,this[_0x282245(0x159)]=_0x13801c,this[_0x282245(0x293)]=_0x259910,this['_uiPartsService']=_0x23f077,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x15b43e(0x24c)](){const _0x3599be=_0x15b43e;this[_0x3599be(0x1af)](this[_0x3599be(0x2f4)][_0x3599be(0x1e1)][_0x3599be(0x2d2)](d[_0x3599be(0x1de)](()=>{const _0x4c72b1=_0x3599be,_0x35f4ae=this[_0x4c72b1(0x2f4)][_0x4c72b1(0x156)]();return _0x35f4ae?this['_collaborationController'][_0x4c72b1(0xb2)](_0x35f4ae[_0x4c72b1(0x1cb)]()):d['of'](null);}),d[_0x3599be(0x1de)](_0x2af526=>_0x2af526?_0x2af526[_0x3599be(0x1c2)]:d['of'](u[_0x3599be(0x175)][_0x3599be(0x1dd)])))[_0x3599be(0x28f)](_0x13e62d=>{const _0x312e47=_0x3599be;this[_0x312e47(0x1a5)][_0x312e47(0x104)](_0x13e62d);}));}[_0x15b43e(0x194)](){const _0x3b11b8=_0x15b43e;this[_0x3b11b8(0x1af)](this[_0x3b11b8(0x307)][_0x3b11b8(0xf9)](T['BuiltInUIPart'][_0x3b11b8(0x2c8)],()=>T['connectInjector'](At({'status$':this[_0x3b11b8(0x1a5)][_0x3b11b8(0x129)]()}),this[_0x3b11b8(0x159)])));}},exports[_0x15b43e(0x28d)]=Pt([V(0x0,a[_0x15b43e(0x105)]),V(0x1,a[_0x15b43e(0x144)](a[_0x15b43e(0x108)])),V(0x2,a[_0x15b43e(0x144)](u[_0x15b43e(0x318)])),V(0x3,T['IUIPartsService'])],exports['DesktopCollaborationStatusDisplayController']);function At(_0x249b13){const {status$:_0x86afb3}=_0x249b13;return function(){const _0x22ce26=_0x543b;return P[_0x22ce26(0x109)](xe,{'status$':_0x86afb3});};}var wt=Object[_0x15b43e(0x1ba)],yt=(_0x55ce7f,_0x1ccaeb,_0x4b4aac,_0x43f79b)=>{const _0x57b5ff=_0x15b43e;for(var _0x2c73de=_0x43f79b>0x1?void 0x0:_0x43f79b?wt(_0x1ccaeb,_0x4b4aac):_0x1ccaeb,_0x1375ae=_0x55ce7f[_0x57b5ff(0x1e8)]-0x1,_0x5eee24;_0x1375ae>=0x0;_0x1375ae--)(_0x5eee24=_0x55ce7f[_0x1375ae])&&(_0x2c73de=_0x5eee24(_0x2c73de)||_0x2c73de);return _0x2c73de;},y=(_0x5e014d,_0x4363ce)=>(_0x2b34e,_0x22493a)=>_0x4363ce(_0x2b34e,_0x22493a,_0x5e014d);let q=class extends a[_0x15b43e(0x16e)]{constructor(_0x267e21,_0x249198,_0x3d2847,_0x245d9d,_0x372b96,_0x504db2){const _0x2118ed=_0x15b43e;super(),this[_0x2118ed(0x222)]=_0x267e21,this[_0x2118ed(0xff)]=_0x249198,this['_collaborationUIEventService']=_0x3d2847,this[_0x2118ed(0x2e3)]=_0x245d9d,this[_0x2118ed(0x2b1)]=_0x372b96,this[_0x2118ed(0x1d6)]=_0x504db2,this[_0x2118ed(0x2fb)](),this[_0x2118ed(0x1a6)]();}[_0x15b43e(0x2fb)](){const _0x5c6910=_0x15b43e;this['disposeWithMe'](this[_0x5c6910(0x222)][_0x5c6910(0x18a)](()=>{const _0x1fee2f=_0x5c6910;if(this['_localCacheService'][_0x1fee2f(0x1e6)][_0x1fee2f(0x216)])return this[_0x1fee2f(0x1d6)]['t'](_0x1fee2f(0xee));}));}[_0x15b43e(0x1a6)](){const _0x2716dc=_0x15b43e;this['disposeWithMe'](this['_collaborationUIEventService'][_0x2716dc(0x24f)][_0x2716dc(0x28f)](_0x29090c=>{const _0xd58b8a=_0x2716dc;_0x29090c['id']===u[_0xd58b8a(0x17e)][_0xd58b8a(0x1bc)]&&this[_0xd58b8a(0x2e3)][_0xd58b8a(0x326)]({'type':D[_0xd58b8a(0x2b5)][_0xd58b8a(0x263)],'content':this[_0xd58b8a(0x1d6)]['t'](_0xd58b8a(0x238))}),_0x29090c['id']===u[_0xd58b8a(0x17e)][_0xd58b8a(0x308)]&&this[_0xd58b8a(0x2e3)]['show']({'type':D['MessageType'][_0xd58b8a(0x263)],'content':this['_localeService']['t'](_0xd58b8a(0xdd))}),_0x29090c['id']===u['CollaborationUIEventId'][_0xd58b8a(0x1f2)]&&this['_notificationService'][_0xd58b8a(0x326)]({'title':this[_0xd58b8a(0x1d6)]['t'](_0xd58b8a(0x1d0)),'content':this['_localeService']['t'](_0xd58b8a(0x303)),'type':_0xd58b8a(0xac),'duration':0x0}),_0x29090c['id']===u[_0xd58b8a(0x17e)][_0xd58b8a(0x189)]&&this[_0xd58b8a(0x2e3)][_0xd58b8a(0x326)]({'type':D[_0xd58b8a(0x2b5)][_0xd58b8a(0xc7)],'content':this['_localeService']['t'](_0xd58b8a(0xdd))+'('+_0x29090c['data']+')'}),_0x29090c['id']===u['CollaborationUIEventId'][_0xd58b8a(0xde)]&&this[_0xd58b8a(0x2e3)][_0xd58b8a(0x326)]({'type':D[_0xd58b8a(0x2b5)][_0xd58b8a(0x263)],'content':this[_0xd58b8a(0x1d6)]['t'](_0x29090c[_0xd58b8a(0x25e)]||'')}),_0x29090c['id']===u[_0xd58b8a(0x17e)][_0xd58b8a(0x14b)]&&this[_0xd58b8a(0x2e3)][_0xd58b8a(0x326)]({'type':D['MessageType'][_0xd58b8a(0x263)],'content':this[_0xd58b8a(0x1d6)]['t'](_0xd58b8a(0x306))}),_0x29090c['id']===u[_0xd58b8a(0x17e)][_0xd58b8a(0x16a)]&&this['_messageService']['show']({'type':D[_0xd58b8a(0x2b5)][_0xd58b8a(0xc7)],'content':this[_0xd58b8a(0x1d6)]['t'](_0xd58b8a(0xe3))}),_0x29090c['id']===u[_0xd58b8a(0x17e)][_0xd58b8a(0xbd)]&&this[_0xd58b8a(0x2e3)]['show']({'type':D[_0xd58b8a(0x2b5)]['Error'],'content':this['_localeService']['t'](_0xd58b8a(0x13a))});}));}};q=yt([y(0x0,T[_0x15b43e(0x233)]),y(0x1,u[_0x15b43e(0xb1)]),y(0x2,a[_0x15b43e(0x144)](u[_0x15b43e(0x10f)])),y(0x3,T[_0x15b43e(0x1a8)]),y(0x4,T[_0x15b43e(0x1e7)]),y(0x5,a[_0x15b43e(0x144)](a[_0x15b43e(0xb7)]))],q);const $t=_0x15b43e(0xd1),Ue={},be=a[_0x15b43e(0x2c5)](_0x15b43e(0x19e));var xt=Object['getOwnPropertyDescriptor'],jt=(_0x425196,_0x327fdb,_0x46f943,_0x3db233)=>{const _0x1b745d=_0x15b43e;for(var _0x5a4002=_0x3db233>0x1?void 0x0:_0x3db233?xt(_0x327fdb,_0x46f943):_0x327fdb,_0x49d591=_0x425196[_0x1b745d(0x1e8)]-0x1,_0x58b4d9;_0x49d591>=0x0;_0x49d591--)(_0x58b4d9=_0x425196[_0x49d591])&&(_0x5a4002=_0x58b4d9(_0x5a4002)||_0x5a4002);return _0x5a4002;},H=(_0x4246d5,_0x34c8ec)=>(_0x16ee44,_0x270f02)=>_0x34c8ec(_0x16ee44,_0x270f02,_0x4246d5);exports[_0x15b43e(0xc4)]=class extends a[_0x15b43e(0x19b)]{constructor(_0x18e359,_0x27b9d0,_0x53e081,_0x24d867,_0x292211){const _0x5e559f=_0x15b43e;super(),this[_0x5e559f(0x20d)]=_0x18e359,this[_0x5e559f(0x214)]=_0x27b9d0,this['_commandService']=_0x53e081,this[_0x5e559f(0xf1)]=_0x24d867,_0x292211?_0x292211==null||_0x292211[_0x5e559f(0x1f6)]()[_0x5e559f(0x170)](()=>this[_0x5e559f(0x25a)]()):(this[_0x5e559f(0x214)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5e559f(0x25a)]());}async[_0x15b43e(0x25a)](){const _0x2ecb05=_0x15b43e,_0x4b71e7=this[_0x2ecb05(0x20d)][_0x2ecb05(0x26b)](_0x2ecb05(0x1dc)),_0x43d0ad=this[_0x2ecb05(0x20d)][_0x2ecb05(0x26b)](_0x2ecb05(0x14e)),_0x16a15b=this[_0x2ecb05(0x20d)][_0x2ecb05(0x26b)](_0x2ecb05(0x261));if(!_0x4b71e7||!_0x43d0ad){this['_logService'][_0x2ecb05(0x29a)](_0x2ecb05(0x103),_0x2ecb05(0x192));return;}const _0x1bee9a=await this[_0x2ecb05(0xf1)]['loadUnit'](_0x4b71e7,Number(_0x43d0ad),_0x16a15b);_0x1bee9a&&_0x1bee9a instanceof a['Workbook']&&this[_0x2ecb05(0x313)](_0x1bee9a);}async['_setupSubUnitSync'](_0x5cfc53){const _0x2b6358=_0x15b43e;await this[_0x2b6358(0x219)](_0x5cfc53),_0x5cfc53['activeSheet$']['pipe'](d[_0x2b6358(0x1ef)](this[_0x2b6358(0x25b)]))[_0x2b6358(0x28f)](_0x302252=>{_0x302252&&this['_updateURLWithCurrentState'](_0x302252);}),this[_0x2b6358(0x20d)][_0x2b6358(0xe7)][_0x2b6358(0x2d2)](d[_0x2b6358(0x1ef)](this[_0x2b6358(0x25b)]))[_0x2b6358(0x28f)](()=>this[_0x2b6358(0x219)](_0x5cfc53));}[_0x15b43e(0x28b)](_0xa15002,_0x1b4d32=!0x1){const _0x1e13c6=_0x15b43e,_0x1163f6=this[_0x1e13c6(0x20d)]['getParam'](_0x1e13c6(0x261));_0xa15002['getSheetId']()!==_0x1163f6&&this[_0x1e13c6(0x20d)][_0x1e13c6(0x128)](_0x1e13c6(0x261),_0xa15002[_0x1e13c6(0x2d3)](),_0x1b4d32);}async[_0x15b43e(0x219)](_0x257603){const _0x259658=_0x15b43e;var _0x30647b;const _0x34de9e=this[_0x259658(0x20d)][_0x259658(0x26b)](_0x259658(0x261));if(!_0x34de9e||!_0x257603[_0x259658(0x181)](_0x34de9e)){const _0x4c5ea4=_0x257603[_0x259658(0x132)]()[0x0],_0x48c163=_0x257603[_0x259658(0x181)](_0x4c5ea4);if(!_0x48c163)return;this['_updateURLWithCurrentState'](_0x48c163,!0x0),await this['_commandService'][_0x259658(0x25c)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x257603[_0x259658(0x1cb)](),'subUnitId':_0x4c5ea4});return;}((_0x30647b=_0x257603[_0x259658(0x2d4)]())==null?void 0x0:_0x30647b[_0x259658(0x2d3)]())!==_0x34de9e&&await this[_0x259658(0x1bd)][_0x259658(0x25c)](g[_0x259658(0xe0)]['id'],{'unitId':_0x257603[_0x259658(0x1cb)](),'subUnitId':_0x34de9e});}},exports[_0x15b43e(0xc4)]=jt([H(0x0,be),H(0x1,a[_0x15b43e(0x186)]),H(0x2,a[_0x15b43e(0x131)]),H(0x3,a[_0x15b43e(0x144)](u[_0x15b43e(0x10d)])),H(0x4,a[_0x15b43e(0x316)](Ke['IRemoteInstanceService']))],exports[_0x15b43e(0xc4)]);var Bt=Object[_0x15b43e(0x1ba)],kt=(_0x2b108a,_0x3b7930,_0x42862f,_0x1e1f11)=>{const _0x14f336=_0x15b43e;for(var _0x3f3087=_0x1e1f11>0x1?void 0x0:_0x1e1f11?Bt(_0x3b7930,_0x42862f):_0x3b7930,_0x29bdd4=_0x2b108a[_0x14f336(0x1e8)]-0x1,_0x33aac3;_0x29bdd4>=0x0;_0x29bdd4--)(_0x33aac3=_0x2b108a[_0x29bdd4])&&(_0x3f3087=_0x33aac3(_0x3f3087)||_0x3f3087);return _0x3f3087;},ce=(_0x58e071,_0x3059cb)=>(_0x3b0f5b,_0x5afa33)=>_0x3059cb(_0x3b0f5b,_0x5afa33,_0x58e071);let z=class{constructor(_0x49cd44,_0x23bcc8,_0x701b7b){const _0x5b3788=_0x15b43e;this[_0x5b3788(0x159)]=_0x49cd44,this[_0x5b3788(0x121)]=_0x23bcc8,this['_renderManagerService']=_0x701b7b;}[_0x15b43e(0x28a)](_0x5049e2){const _0x2af90d=_0x15b43e;this[_0x2af90d(0xfa)](_0x5049e2),this['_transformPreviousActiveRange'](_0x5049e2);}[_0x15b43e(0x23d)](_0x4a8493){const _0x334629=_0x15b43e,{unitID:_0x560e86}=_0x4a8493,_0xda77d3=this[_0x334629(0x1f5)]['getRenderById'](_0x560e86)[_0x334629(0x22b)](b['DocIMEInputManagerService']),{redoCache:_0x504639}=_0xda77d3['getUndoRedoMutationParamsCache']();if(_0x504639[_0x334629(0x1e8)]===0x0)return _0x4a8493;let _0x5f5853=a[_0x334629(0x197)][_0x334629(0x163)](_0x4a8493['mutations'][0x0]);for(let _0x5eda5c=0x0;_0x5eda5c<_0x504639[_0x334629(0x1e8)];_0x5eda5c++){const _0x342f62={'id':_0x334629(0x17c),'params':{..._0x504639[_0x5eda5c]}},_0x7c32d6=this[_0x334629(0x121)]['transformMutation'](_0x5f5853,_0x342f62,!0x1);if(m['isTransformMutationFailure'](_0x7c32d6))throw _0x7c32d6[_0x334629(0xac)];_0x5f5853=_0x7c32d6[_0x334629(0x2ed)];}return{...a[_0x334629(0x197)][_0x334629(0x163)](_0x4a8493),'mutations':[_0x5f5853]};}['_transformUndoRedoStack'](_0x231201){const _0x43d7d5=_0x15b43e,{unitID:_0x330489}=_0x231201,_0x4d137c=this['_renderManagerService'][_0x43d7d5(0x1f4)](_0x330489)[_0x43d7d5(0x22b)](b[_0x43d7d5(0x203)]),{undoCache:_0x4bcdd6,redoCache:_0x20b2d2}=_0x4d137c[_0x43d7d5(0x142)]();if(_0x4bcdd6[_0x43d7d5(0x1e8)]===0x0||_0x20b2d2[_0x43d7d5(0x1e8)]===0x0)return;const _0x122d30=[],_0x595f11=[];let _0x2ddcf3=a[_0x43d7d5(0x197)][_0x43d7d5(0x163)](_0x231201['mutations'][0x0]),_0x2798b5=a['Tools'][_0x43d7d5(0x163)](_0x231201['mutations'][0x0]);for(let _0x2fa69f=_0x4bcdd6[_0x43d7d5(0x1e8)]-0x1;_0x2fa69f>=0x0;_0x2fa69f--){const _0x24ac2b={'id':_0x43d7d5(0x17c),'params':{..._0x4bcdd6[_0x2fa69f]}},_0xa3a4e5={'id':_0x43d7d5(0x17c),'params':{..._0x20b2d2[_0x2fa69f]}},_0x5d0b22=this[_0x43d7d5(0x121)][_0x43d7d5(0x237)](_0x2ddcf3,_0x24ac2b,!0x1),_0x49a351=this[_0x43d7d5(0x121)][_0x43d7d5(0x237)](_0x2798b5,_0xa3a4e5,!0x1);if(m[_0x43d7d5(0x29f)](_0x5d0b22))throw _0x5d0b22['error'];if(m['isTransformMutationFailure'](_0x49a351))throw _0x49a351[_0x43d7d5(0xac)];_0x122d30[_0x43d7d5(0x292)](_0x5d0b22['m2Prime']['params']),_0x595f11[_0x43d7d5(0x292)](_0x49a351[_0x43d7d5(0x2be)][_0x43d7d5(0x1b8)]),_0x2ddcf3=_0x5d0b22[_0x43d7d5(0x2ed)],_0x2798b5=_0x49a351[_0x43d7d5(0x2ed)];}_0x4d137c[_0x43d7d5(0x229)]({'undoCache':_0x122d30,'redoCache':_0x595f11});}[_0x15b43e(0x172)](_0x45b7c3){const _0x299397=_0x15b43e,{unitID:_0xe98e3c}=_0x45b7c3,_0x4b9fe9=this['_renderManagerService']['getRenderById'](_0xe98e3c)['with'](b['DocIMEInputManagerService']),_0x2c4119=_0x4b9fe9[_0x299397(0x29b)]();if(_0x2c4119==null)return;const _0x1836cf=[{'id':_0x299397(0x17c),'params':{'unitId':_0x45b7c3[_0x299397(0xa8)],'actions':null,'textRanges':[_0x2c4119]}}],_0x18c488=this['_transformService'][_0x299397(0x18d)](_0x45b7c3,_0x1836cf);if(!m['isTransformMutationsWithChangesetSuccess'](_0x18c488))throw _0x18c488['error'];const _0xe5cafb=_0x18c488[_0x299397(0x2be)][0x0][_0x299397(0x1b8)][_0x299397(0x118)];Array[_0x299397(0x166)](_0xe5cafb)&&_0xe5cafb[_0x299397(0x1e8)]&&_0x4b9fe9[_0x299397(0x239)](_0xe5cafb[0x0]);}};z=kt([ce(0x0,a[_0x15b43e(0x144)](a[_0x15b43e(0x108)])),ce(0x1,m[_0x15b43e(0x2d5)]),ce(0x2,p[_0x15b43e(0xd7)])],z);var Ht=Object['getOwnPropertyDescriptor'],Yt=(_0x1116b7,_0x2f0003,_0xe594b9,_0x5845bf)=>{const _0x55b279=_0x15b43e;for(var _0x2f9fe8=_0x5845bf>0x1?void 0x0:_0x5845bf?Ht(_0x2f0003,_0xe594b9):_0x2f0003,_0x1808e2=_0x1116b7[_0x55b279(0x1e8)]-0x1,_0x124a8d;_0x1808e2>=0x0;_0x1808e2--)(_0x124a8d=_0x1116b7[_0x1808e2])&&(_0x2f9fe8=_0x124a8d(_0x2f9fe8)||_0x2f9fe8);return _0x2f9fe8;},le=(_0x1fbf45,_0x35ea38)=>(_0x1e8010,_0x4f07e4)=>_0x35ea38(_0x1e8010,_0x4f07e4,_0x1fbf45);let J=class{constructor(_0x516268,_0x4064af,_0x2f1781){const _0x1c322f=_0x15b43e;this[_0x1c322f(0x159)]=_0x516268,this['_transformService']=_0x4064af,this['_docStateChangeManagerService']=_0x2f1781;}[_0x15b43e(0x213)](_0x41c673){const _0x2f508f=_0x15b43e;this[_0x2f508f(0x257)](_0x41c673);}[_0x15b43e(0x23d)](_0x51cbac){const _0x28cf89=_0x15b43e,{unitID:_0x132f08}=_0x51cbac,{collaboration:_0x4b0c0e}=this[_0x28cf89(0x2fd)][_0x28cf89(0x136)](_0x132f08);if(_0x4b0c0e[_0x28cf89(0x1e8)]===0x0)return _0x51cbac;let _0xa7570a=a['Tools'][_0x28cf89(0x163)](_0x51cbac[_0x28cf89(0x2b8)][0x0]);for(let _0x3a68af=0x0;_0x3a68af<_0x4b0c0e[_0x28cf89(0x1e8)];_0x3a68af++){const _0x233b97={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4b0c0e[_0x3a68af][_0x28cf89(0x1b9)],..._0x4b0c0e[_0x3a68af]['redoState']}},_0x48f072=this[_0x28cf89(0x121)][_0x28cf89(0x237)](_0xa7570a,_0x233b97,!0x1);if(m['isTransformMutationFailure'](_0x48f072))throw _0x48f072[_0x28cf89(0xac)];_0xa7570a=_0x48f072[_0x28cf89(0x2ed)];}return{...a[_0x28cf89(0x197)][_0x28cf89(0x163)](_0x51cbac),'mutations':[_0xa7570a]};}[_0x15b43e(0x257)](_0x2a5598){const _0x303c58=_0x15b43e,{unitID:_0x2a529c}=_0x2a5598,{history:_0x51f0d3,collaboration:_0x1f840b}=this[_0x303c58(0x2fd)]['getStateCache'](_0x2a529c);if(_0x51f0d3[_0x303c58(0x1e8)]===0x0&&_0x1f840b[_0x303c58(0x1e8)]===0x0)return;const _0x118477=[],_0x5a9a5a=[];let _0x56efe2=a[_0x303c58(0x197)][_0x303c58(0x163)](_0x2a5598[_0x303c58(0x2b8)][0x0]),_0x49f84f=a[_0x303c58(0x197)][_0x303c58(0x163)](_0x2a5598[_0x303c58(0x2b8)][0x0]);for(let _0x1683cf=_0x51f0d3[_0x303c58(0x1e8)]-0x1;_0x1683cf>=0x0;_0x1683cf--){const _0x264438={'id':_0x303c58(0x17c),'params':{'unitId':_0x51f0d3[_0x1683cf][_0x303c58(0x1b9)],..._0x51f0d3[_0x1683cf][_0x303c58(0xcb)]}},_0x6ccfe1={'id':_0x303c58(0x17c),'params':{'unitId':_0x51f0d3[_0x1683cf][_0x303c58(0x1b9)],..._0x51f0d3[_0x1683cf][_0x303c58(0xef)]}},_0xf74957=this[_0x303c58(0x121)][_0x303c58(0x237)](_0x56efe2,_0x264438,!0x1),_0x160d00=this[_0x303c58(0x121)][_0x303c58(0x237)](_0x49f84f,_0x6ccfe1,!0x1);if(m[_0x303c58(0x29f)](_0xf74957))throw _0xf74957[_0x303c58(0xac)];if(m[_0x303c58(0x29f)](_0x160d00))throw _0x160d00['error'];_0x118477[_0x303c58(0x292)]({..._0x51f0d3[_0x1683cf],'undoState':_0xf74957['m2Prime'][_0x303c58(0x1b8)],'redoState':_0x160d00[_0x303c58(0x2be)][_0x303c58(0x1b8)]}),_0x56efe2=_0xf74957[_0x303c58(0x2ed)],_0x49f84f=_0x160d00['m1Prime'];}_0x56efe2=a['Tools'][_0x303c58(0x163)](_0x2a5598[_0x303c58(0x2b8)][0x0]),_0x49f84f=a[_0x303c58(0x197)]['deepClone'](_0x2a5598[_0x303c58(0x2b8)][0x0]);for(let _0x137116=_0x1f840b[_0x303c58(0x1e8)]-0x1;_0x137116>=0x0;_0x137116--){const _0x4154af={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f840b[_0x137116][_0x303c58(0x1b9)],..._0x1f840b[_0x137116][_0x303c58(0xcb)]}},_0x63d8e7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f840b[_0x137116]['unitId'],..._0x1f840b[_0x137116][_0x303c58(0xef)]}},_0x497520=this['_transformService']['transformMutation'](_0x56efe2,_0x4154af,!0x1),_0x7bebaa=this[_0x303c58(0x121)][_0x303c58(0x237)](_0x49f84f,_0x63d8e7,!0x1);if(m['isTransformMutationFailure'](_0x497520))throw _0x497520['error'];if(m[_0x303c58(0x29f)](_0x7bebaa))throw _0x7bebaa[_0x303c58(0xac)];_0x5a9a5a[_0x303c58(0x292)]({..._0x1f840b[_0x137116],'undoState':_0x497520['m2Prime']['params'],'redoState':_0x7bebaa[_0x303c58(0x2be)]['params']}),_0x56efe2=_0x497520[_0x303c58(0x2ed)],_0x49f84f=_0x7bebaa[_0x303c58(0x2ed)];}this[_0x303c58(0x2fd)][_0x303c58(0x249)](_0x2a529c,{'history':_0x118477,'collaboration':_0x5a9a5a});}};J=Yt([le(0x0,a[_0x15b43e(0x144)](a['Injector'])),le(0x1,m[_0x15b43e(0x2d5)]),le(0x2,a[_0x15b43e(0x144)](b[_0x15b43e(0x1f1)]))],J);var Ft=Object[_0x15b43e(0x1ba)],Wt=(_0x1ce67d,_0x363c7d,_0x1717dd,_0x57437d)=>{const _0x31b954=_0x15b43e;for(var _0x449a7d=_0x57437d>0x1?void 0x0:_0x57437d?Ft(_0x363c7d,_0x1717dd):_0x363c7d,_0x31c37b=_0x1ce67d[_0x31b954(0x1e8)]-0x1,_0x49c633;_0x31c37b>=0x0;_0x31c37b--)(_0x49c633=_0x1ce67d[_0x31c37b])&&(_0x449a7d=_0x49c633(_0x449a7d)||_0x449a7d);return _0x449a7d;},Ne=(_0x3c8862,_0x21a56d)=>(_0x5c31a8,_0x2fbfe2)=>_0x21a56d(_0x5c31a8,_0x2fbfe2,_0x3c8862);let Z=class{constructor(_0x5aef6e,_0x1f4af6){const _0x449655=_0x15b43e;this[_0x449655(0x159)]=_0x5aef6e,this[_0x449655(0x121)]=_0x1f4af6;}[_0x15b43e(0x1c8)](_0x5b4d06){const _0x5c71e8=_0x15b43e;var _0x32ec6c;const _0xffd7d3=this[_0x5c71e8(0x159)][_0x5c71e8(0x106)](F[_0x5c71e8(0x12a)]),_0x318f9e=(_0x32ec6c=_0xffd7d3['getDocRanges']())!=null?_0x32ec6c:[];if(_0x318f9e[_0x5c71e8(0x1e8)]===0x0)return;const _0x5590f4=_0x5b4d06['unitID'],_0x56af60=[{'id':_0x5c71e8(0x17c),'params':{'unitId':_0x5590f4,'actions':null,'textRanges':_0x318f9e}}],_0x137eaf=this[_0x5c71e8(0x121)][_0x5c71e8(0x18d)](_0x5b4d06,_0x56af60);if(!m[_0x5c71e8(0x138)](_0x137eaf))throw _0x137eaf['error'];const _0x306b55=_0x137eaf[_0x5c71e8(0x2be)][0x0][_0x5c71e8(0x1b8)][_0x5c71e8(0x118)];Array[_0x5c71e8(0x166)](_0x306b55)&&_0x306b55[_0x5c71e8(0x1e8)]&&_0xffd7d3['replaceDocRanges'](_0x306b55,{'unitId':_0x5590f4,'subUnitId':_0x5590f4},!0x1);}};Z=Wt([Ne(0x0,a[_0x15b43e(0x144)](a['Injector'])),Ne(0x1,m[_0x15b43e(0x2d5)])],Z);var Vt=Object[_0x15b43e(0x1ba)],Xt=(_0x1dd04b,_0x1bac59,_0x233438,_0x63d492)=>{for(var _0x56a864=_0x63d492>0x1?void 0x0:_0x63d492?Vt(_0x1bac59,_0x233438):_0x1bac59,_0x474685=_0x1dd04b['length']-0x1,_0x416305;_0x474685>=0x0;_0x474685--)(_0x416305=_0x1dd04b[_0x474685])&&(_0x56a864=_0x416305(_0x56a864)||_0x56a864);return _0x56a864;},N=(_0x4a9ff1,_0x374cde)=>(_0x188dea,_0x224daa)=>_0x374cde(_0x188dea,_0x224daa,_0x4a9ff1);let Q=class extends a[_0x15b43e(0x16e)]{constructor(_0x25b6e4,_0x1872f0,_0xdbc010,_0x521e98,_0x3acf94,_0x373dff,_0x3eb20c,_0x50d3c){const _0x169383=_0x15b43e;super(),h(this,'_status$',new d[(_0x169383(0x1c9))](u['CollaborationStatus'][_0x169383(0x1dd)])),(this[_0x169383(0x2fd)]=_0x25b6e4,this['_collaborationController']=_0x1872f0,this[_0x169383(0x12b)]=_0xdbc010,this[_0x169383(0xfc)]=_0x521e98,this['_docTransformSelectionsService']=_0x3acf94,this[_0x169383(0x2bd)]=_0x373dff,this['_messageService']=_0x3eb20c,this[_0x169383(0x1d6)]=_0x50d3c,this[_0x169383(0x1c7)]());}[_0x15b43e(0x1c7)](){const _0x362243=_0x15b43e;this[_0x362243(0x1af)](this[_0x362243(0x293)][_0x362243(0x2f2)]['subscribe'](_0x52a3c2=>{const _0x1cacbe=_0x362243,_0x580299=this[_0x1cacbe(0x2fd)]['docStateChange$'][_0x1cacbe(0x28f)](_0x28e3bb=>{const _0x58d628=_0x1cacbe;if(_0x28e3bb==null)return;const {unitId:_0x7ff579,redoState:_0x4e9476,commandId:_0x44a6aa}=_0x28e3bb;if(_0x7ff579!==_0x52a3c2[_0x58d628(0xa8)])return;const _0x526ef8={'id':_0x44a6aa,'type':a[_0x58d628(0x1ca)][_0x58d628(0x252)],'params':{'unitId':_0x7ff579,'actions':_0x4e9476[_0x58d628(0x124)],'textRanges':null}};_0x52a3c2['onLocalMutation'](_0x526ef8);});if(_0x52a3c2[_0x1cacbe(0x1af)](_0x580299),_0x52a3c2 instanceof u[_0x1cacbe(0x2fe)]){const _0x421b83={'onTransformIME':_0x3bdb62=>this[_0x1cacbe(0x12b)][_0x1cacbe(0x28a)](_0x3bdb62),'onTransformState':_0x1e0056=>this[_0x1cacbe(0xfc)][_0x1cacbe(0x213)](_0x1e0056),'onTransformSelections':_0x97349=>this[_0x1cacbe(0x21d)]['transformSelections'](_0x97349),'onSyncEditingCollabCursor':_0x30cd44=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x30cd44),'onTransformRemoteChangesetByIMECache':_0x3ebffb=>this[_0x1cacbe(0x12b)]['transformRemoteChangeset'](_0x3ebffb),'onTransformRemoteChangesetByStateCache':_0x266a5e=>this[_0x1cacbe(0xfc)][_0x1cacbe(0x23d)](_0x266a5e)};_0x52a3c2[_0x1cacbe(0x1c5)](_0x421b83);}}));}};Q=Xt([N(0x0,a[_0x15b43e(0x144)](b[_0x15b43e(0x1f1)])),N(0x1,a[_0x15b43e(0x144)](u[_0x15b43e(0x318)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x15b43e(0x144)](J)),N(0x4,a['Inject'](Z)),N(0x5,a['Inject'](Ce)),N(0x6,T[_0x15b43e(0x1a8)]),N(0x7,a[_0x15b43e(0x144)](a[_0x15b43e(0xb7)]))],Q);var Gt=Object[_0x15b43e(0x1ba)],Kt=(_0x39d750,_0x552bbf,_0x41aa63,_0x21e8bb)=>{const _0x55cbf8=_0x15b43e;for(var _0x367eb1=_0x21e8bb>0x1?void 0x0:_0x21e8bb?Gt(_0x552bbf,_0x41aa63):_0x552bbf,_0x37c0a9=_0x39d750[_0x55cbf8(0x1e8)]-0x1,_0x1c2826;_0x37c0a9>=0x0;_0x37c0a9--)(_0x1c2826=_0x39d750[_0x37c0a9])&&(_0x367eb1=_0x1c2826(_0x367eb1)||_0x367eb1);return _0x367eb1;},_e=(_0x177396,_0x598275)=>(_0x4924fb,_0x3a34b7)=>_0x598275(_0x4924fb,_0x3a34b7,_0x177396);let ge=class extends a['Disposable']{constructor(_0x2af0b9,_0x591542,_0x3e03c0){const _0x3c2b9d=_0x15b43e;super(),h(this,_0x3c2b9d(0x22e),new Map()),h(this,_0x3c2b9d(0x1a0),new Map()),h(this,_0x3c2b9d(0x24b),!0x1),(this[_0x3c2b9d(0x176)]=_0x2af0b9,this[_0x3c2b9d(0x1bf)]=_0x591542,this[_0x3c2b9d(0x288)]=_0x3e03c0);}[_0x15b43e(0x309)](){this['_disabled']=!0x0;}[_0x15b43e(0x206)](){this['_disabled']=!0x1;}get[_0x15b43e(0x1e6)](){return this['_saveTaskMap'];}[_0x15b43e(0x1e3)](){const _0x52f729=_0x15b43e;this[_0x52f729(0x1aa)]()[_0x52f729(0x170)](()=>super['dispose']());}async['loadOfflineData'](_0x2e160a){const _0x32f597=_0x15b43e;return this[_0x32f597(0x24b)]?null:this['_localStorageService']['getItem'](u['getLocalCacheKey'](_0x2e160a));}async[_0x15b43e(0x21b)](_0x7a2b32,_0x36776a){const _0x5098b6=_0x15b43e;return!!this[_0x5098b6(0x1bf)][_0x5098b6(0x2a8)](_0x7a2b32,_0x36776a);}['updateOfflineData'](_0x1db2f0,_0x25bba5,_0x21dda7,_0x1be45f){const _0x21d395=_0x15b43e,_0x4fadfb=this[_0x21d395(0x288)]['getCurrentRevOfUnit'](_0x1db2f0);this[_0x21d395(0x22e)][_0x21d395(0x2b0)](_0x1db2f0,{'unitID':_0x1db2f0,'type':_0x25bba5,'awaitingChangeset':_0x21dda7,'mutations':_0x1be45f,'rev':_0x4fadfb}),this[_0x21d395(0x1a0)][_0x21d395(0xb3)](_0x1db2f0)||this[_0x21d395(0x244)](_0x1db2f0);}[_0x15b43e(0x244)](_0xcea3f4){const _0x11bd14=_0x15b43e,_0x52cffb=this[_0x11bd14(0x24e)]();_0x52cffb===0x0?this[_0x11bd14(0x2da)](_0xcea3f4):this['_saveTaskMap'][_0x11bd14(0x2b0)](_0xcea3f4,setTimeout(()=>this[_0x11bd14(0x2da)](_0xcea3f4),_0x52cffb));}[_0x15b43e(0x24e)](){const _0x36e789=_0x15b43e;var _0x2525e6;return(_0x2525e6=this[_0x36e789(0x176)]['getConfig'](u[_0x36e789(0x22a)]))!=null?_0x2525e6:u[_0x36e789(0x1b6)];}[_0x15b43e(0x2da)](_0xf10e53){const _0x417b4d=_0x15b43e,_0xf33a22=this[_0x417b4d(0x1a0)]['get'](_0xf10e53);return _0xf33a22!==void 0x0&&window[_0x417b4d(0xae)](_0xf33a22),this['_localStorageService'][_0x417b4d(0x2a8)](u[_0x417b4d(0x1b7)](_0xf10e53),this['_cachedData'][_0x417b4d(0x106)](_0xf10e53))['then'](()=>this[_0x417b4d(0x1a0)][_0x417b4d(0x2a4)](_0xf10e53));}async['exhaustSavingTask'](){const _0x2d392e=_0x15b43e,_0x3c40f6=[];this[_0x2d392e(0x1a0)][_0x2d392e(0xfe)]((_0x5cf886,_0x38c759)=>{const _0x4a3dae=_0x2d392e;window[_0x4a3dae(0xae)](_0x5cf886),_0x3c40f6[_0x4a3dae(0x147)](this[_0x4a3dae(0x2da)](_0x38c759)[_0x4a3dae(0x170)](()=>{const _0x1c56b5=_0x4a3dae;this['_saveTaskMap'][_0x1c56b5(0x2a4)](_0x38c759);}));}),await Promise[_0x2d392e(0x13d)](_0x3c40f6);}};ge=Kt([_e(0x0,a[_0x15b43e(0x300)]),_e(0x1,a[_0x15b43e(0x24a)]),_e(0x2,a[_0x15b43e(0x144)](m[_0x15b43e(0x148)]))],ge);class je extends a[_0x15b43e(0x19b)]{constructor(){const _0xc2d724=_0x15b43e;super(),h(this,_0xc2d724(0xe7)),this[_0xc2d724(0xe7)]=d[_0xc2d724(0xd5)](window,'popstate')[_0xc2d724(0x2d2)](d[_0xc2d724(0x1ef)](this[_0xc2d724(0x25b)]),d['shareReplay'](0x1),d[_0xc2d724(0x18c)](void 0x0));}[_0x15b43e(0x128)](_0x196056,_0x2bf2d5,_0xa8cbf1=!0x1){const _0x59accb=_0x15b43e,_0x3cb3ab=new URL(window[_0x59accb(0x314)][_0x59accb(0x19a)]);_0x3cb3ab[_0x59accb(0x140)]['set'](_0x196056,_0x2bf2d5),_0xa8cbf1?window[_0x59accb(0x2f1)][_0x59accb(0x224)]('','',_0x3cb3ab['toString']()):window[_0x59accb(0x2f1)][_0x59accb(0x2b3)]('','',_0x3cb3ab[_0x59accb(0x2f0)]());}['removeParam'](_0x19594c,_0x3d6356=!0x1){const _0x51a907=_0x15b43e,_0x111786=new URL(window['location']['href']);_0x111786[_0x51a907(0x140)]['delete'](_0x19594c),_0x3d6356?window[_0x51a907(0x2f1)]['replaceState']('','',_0x111786[_0x51a907(0x2f0)]()):window[_0x51a907(0x2f1)][_0x51a907(0x2b3)]('','',_0x111786[_0x51a907(0x2f0)]());}[_0x15b43e(0x26b)](_0x57cbf1){const _0x54a601=_0x15b43e;var _0x2966b0;return(_0x2966b0=new URL(window[_0x54a601(0x314)][_0x54a601(0x19a)])['searchParams'][_0x54a601(0x106)](_0x57cbf1))!=null?_0x2966b0:void 0x0;}}var qt=Object[_0x15b43e(0x2ce)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x24fce5,_0x2adf36,_0x59a8f3)=>_0x2adf36 in _0x24fce5?qt(_0x24fce5,_0x2adf36,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59a8f3}):_0x24fce5[_0x2adf36]=_0x59a8f3,Zt=(_0x4fbacb,_0x573d24,_0x39dd6d,_0x43876d)=>{const _0x49b135=_0x15b43e;for(var _0x22ec38=_0x43876d>0x1?void 0x0:_0x43876d?zt(_0x573d24,_0x39dd6d):_0x573d24,_0x3cc7e8=_0x4fbacb[_0x49b135(0x1e8)]-0x1,_0x1e5c5d;_0x3cc7e8>=0x0;_0x3cc7e8--)(_0x1e5c5d=_0x4fbacb[_0x3cc7e8])&&(_0x22ec38=_0x1e5c5d(_0x22ec38)||_0x22ec38);return _0x22ec38;},he=(_0x4a94e6,_0x4f027d)=>(_0x5d6d02,_0x6851e7)=>_0x4f027d(_0x5d6d02,_0x6851e7,_0x4a94e6),Qt=(_0x5dc190,_0x221fce,_0x1689c1)=>Jt(_0x5dc190,_0x221fce+'',_0x1689c1);const es=_0x15b43e(0x162);exports[_0x15b43e(0xad)]=class extends a['Plugin']{constructor(_0x434d94=Ue,_0x354781,_0x1612a9,_0x578db7){const _0x160347=_0x15b43e;super(),this['_config']=_0x434d94,this['_renderManagerService']=_0x354781,this['_injector']=_0x1612a9,this[_0x160347(0x176)]=_0x578db7;const {..._0x387ba9}=a[_0x160347(0x220)]({},Ue,this[_0x160347(0x2f3)]);this[_0x160347(0x176)][_0x160347(0x2c0)]($t,_0x387ba9);}['onStarting'](){const _0x5ac58e=_0x15b43e;this[_0x5ac58e(0x13f)](),this['_initDependencies']();}[_0x15b43e(0x9e)](){this['_registerRenderDependencies']();}[_0x15b43e(0x13f)](){const _0xa8092e=_0x15b43e;var _0x7d89e2;const _0x20397f=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G['ISocketService'],{'useClass':G[_0xa8092e(0xcc)]}],[u[_0xa8092e(0xb1)],{'useClass':ge}],[exports[_0xa8092e(0x28d)]],[Q],[q],[x],[de],[exports[_0xa8092e(0xc4)]]];a[_0xa8092e(0x325)](this[_0xa8092e(0x159)],a[_0xa8092e(0xbf)](_0x20397f,(_0x7d89e2=this['_config'])==null?void 0x0:_0x7d89e2[_0xa8092e(0x1b5)]));}[_0x15b43e(0xe5)](){const _0x3d90fd=_0x15b43e;this[_0x3d90fd(0x1af)](this['_renderManagerService'][_0x3d90fd(0x14d)](a['UniverInstanceType']['UNIVER_DOC'],[Ie])),this[_0x3d90fd(0x1af)](this[_0x3d90fd(0x1f5)][_0x3d90fd(0x14d)](a[_0x3d90fd(0x1eb)][_0x3d90fd(0x30b)],[ve]));}[_0x15b43e(0x1be)](){const _0x3e5218=_0x15b43e;a[_0x3e5218(0x2ae)](this[_0x3e5218(0x159)],[[x],[exports[_0x3e5218(0x28d)]],[Q],[q],[exports[_0x3e5218(0xc4)]]]);}},Qt(exports[_0x15b43e(0xad)],_0x15b43e(0xcf),es),exports[_0x15b43e(0xad)]=Zt([a[_0x15b43e(0x2fc)](u[_0x15b43e(0xd8)]),he(0x1,p['IRenderManagerService']),he(0x2,a[_0x15b43e(0x144)](a[_0x15b43e(0x108)])),he(0x3,a['IConfigService'])],exports[_0x15b43e(0xad)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x207b7f,_0x4bbd15,_0x42cf54,_0x4873a6)=>{const _0x2b2fa1=_0x15b43e;for(var _0x34cecf=_0x4873a6>0x1?void 0x0:_0x4873a6?ts(_0x4bbd15,_0x42cf54):_0x4bbd15,_0x4dc5e4=_0x207b7f[_0x2b2fa1(0x1e8)]-0x1,_0x3c5ecf;_0x4dc5e4>=0x0;_0x4dc5e4--)(_0x3c5ecf=_0x207b7f[_0x4dc5e4])&&(_0x34cecf=_0x3c5ecf(_0x34cecf)||_0x34cecf);return _0x34cecf;},Y=(_0x283200,_0x2df260)=>(_0x53ce05,_0x446cb7)=>_0x2df260(_0x53ce05,_0x446cb7,_0x283200);exports['BrowserCollaborationSocketService']=class extends u[_0x15b43e(0x1f8)]{constructor(_0x1734e5,_0xf62d97,_0x5ba7a1,_0x18d762,_0x38b598){super(_0x1734e5,_0xf62d97,_0x5ba7a1,_0x18d762,_0x38b598);}async['createSocket'](_0x248e19){const _0x471a27=_0x15b43e,_0x7d7ac9=await this[_0x471a27(0x272)](),_0x3d340b=this['_createSocketURL'](_0x248e19,_0x7d7ac9);return this[_0x471a27(0x180)](_0x3d340b);}[_0x15b43e(0x30d)](_0x4ff855,_0xde3a5){const _0x2fc458=_0x15b43e,_0x531a49=typeof window>'u'?new URL(_0x4ff855):new URL(_0x4ff855,window[_0x2fc458(0x314)]['origin']);_0x531a49[_0x2fc458(0x140)][_0x2fc458(0x2b0)](_0x2fc458(0x130),_0xde3a5);const _0xbafb82=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2fc458(0x314)][_0x2fc458(0x18e)]);return _0xbafb82[_0x2fc458(0x106)](_0x2fc458(0x26d))&&_0x531a49['searchParams']['set'](_0x2fc458(0x26d),_0xbafb82[_0x2fc458(0x106)](_0x2fc458(0x26d))),_0x531a49[_0x2fc458(0x2f0)]();}async[_0x15b43e(0x272)](){const _0x3a655a=_0x15b43e;var _0x280f91,_0x1623ab,_0x53ac2f;const _0x59ac62=this['_configService'][_0x3a655a(0x284)](u[_0x3a655a(0x1c4)]),_0x2bf3e5=(_0x280f91=_0x59ac62==null?void 0x0:_0x59ac62[_0x3a655a(0x262)])!=null?_0x280f91:u[_0x3a655a(0xe6)];return(_0x53ac2f=(_0x1623ab=(await this[_0x3a655a(0x287)][_0x3a655a(0x106)](_0x2bf3e5,{'headers':{'Content-Type':'application/json'}}))[_0x3a655a(0x31a)])==null?void 0x0:_0x1623ab[_0x3a655a(0xc3)])!=null?_0x53ac2f:'';}},exports[_0x15b43e(0x1e2)]=ss([Y(0x0,a[_0x15b43e(0x144)](a[_0x15b43e(0x108)])),Y(0x1,a[_0x15b43e(0x144)](G[_0x15b43e(0x13b)])),Y(0x2,a['IConfigService']),Y(0x3,a[_0x15b43e(0x186)]),Y(0x4,m[_0x15b43e(0xc8)])],exports[_0x15b43e(0x1e2)]);const Me=0x7530,Le=_0x15b43e(0x250);class is extends a[_0x15b43e(0x16e)]{constructor(){const _0x50e0ba=_0x15b43e;super(),h(this,_0x50e0ba(0x2cb),a[_0x50e0ba(0x279)]()),h(this,_0x50e0ba(0x210),new Set()),h(this,_0x50e0ba(0x225),new Map()),h(this,'_heartbeatTimer',null),h(this,_0x50e0ba(0x31e),new Map()),h(this,_0x50e0ba(0x2b6),new Map()),this[_0x50e0ba(0x25a)]();}['dispose'](){const _0xb3909d=_0x15b43e;super['dispose'](),this[_0xb3909d(0x31e)][_0xb3909d(0xfe)]((_0x17cd21,_0x28dbf7)=>this[_0xb3909d(0x193)](_0x28dbf7)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x15b43e(0x11f)](_0x210bb9){const _0x5c2456=_0x15b43e;return this[_0x5c2456(0x182)](_0x210bb9)['pipe'](d[_0x5c2456(0x2ca)]());}[_0x15b43e(0x1df)](_0x13f94f){const _0x29bc68=_0x15b43e;this[_0x29bc68(0x210)][_0x29bc68(0x216)]===0x0&&this[_0x29bc68(0x236)](),this[_0x29bc68(0x210)][_0x29bc68(0x286)](_0x13f94f),this[_0x29bc68(0x31b)]({'type':0x0,'memberID':this[_0x29bc68(0x2cb)],'unitIDs':[_0x13f94f],'isForwarded':!0x1});}[_0x15b43e(0x1f9)](_0x4fe963){const _0x386334=_0x15b43e;this[_0x386334(0x210)][_0x386334(0x2a4)](_0x4fe963),this['_selfUnitIDs'][_0x386334(0x216)]===0x0&&this[_0x386334(0x15a)]&&window[_0x386334(0xa1)](this[_0x386334(0x15a)]);}[_0x15b43e(0x25a)](){const _0x50c72e=_0x15b43e;this[_0x50c72e(0x1af)](a[_0x50c72e(0x1fa)](d[_0x50c72e(0xd5)](window,_0x50c72e(0x11e))['subscribe'](_0x42e634=>{const _0x4da5d1=_0x50c72e;if(_0x42e634[_0x4da5d1(0x2f6)]!==Le||!_0x42e634[_0x4da5d1(0x169)])return;const _0xaea535=JSON[_0x4da5d1(0x246)](_0x42e634[_0x4da5d1(0x169)]);this[_0x4da5d1(0x164)](_0xaea535);}))),window[_0x50c72e(0x276)](_0x50c72e(0x165),()=>this[_0x50c72e(0x31b)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x50c72e(0x187)](this[_0x50c72e(0x210)])}));}[_0x15b43e(0x164)](_0x2521c2){const _0x37de55=_0x15b43e;switch(_0x2521c2[_0x37de55(0x14e)]){case 0x0:this[_0x37de55(0x1cc)](_0x2521c2);break;case 0x1:this[_0x37de55(0x282)](_0x2521c2);break;case 0x2:this['_handleHeartbeatEvent'](_0x2521c2);break;}}[_0x15b43e(0x1cc)](_0x235576){const _0x176db3=_0x15b43e,{unitIDs:_0x5dbeef,memberID:_0x293321,isForwarded:_0x14c092}=_0x235576;_0x5dbeef['forEach'](_0x3de96b=>{const _0x5e7833=_0x543b;if(!_0x14c092&&this[_0x5e7833(0x225)]['has'](_0x3de96b)&&this[_0x5e7833(0x182)](_0x3de96b)[_0x5e7833(0x104)](u[_0x5e7833(0x2d6)][_0x5e7833(0x157)]),!this['_unitOnClients']['has'](_0x3de96b)||!this[_0x5e7833(0x225)][_0x5e7833(0x106)](_0x3de96b)[_0x5e7833(0xb3)](_0x293321)){const _0x35b96a=this[_0x5e7833(0x225)][_0x5e7833(0x106)](_0x3de96b)||new Set();_0x35b96a[_0x5e7833(0x286)](_0x293321),this[_0x5e7833(0x225)][_0x5e7833(0x2b0)](_0x3de96b,_0x35b96a),this[_0x5e7833(0x15c)](_0x293321);}}),_0x14c092||this[_0x176db3(0x31b)]({'type':0x0,'memberID':this[_0x176db3(0x2cb)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x15b43e(0x15c)](_0x3f08a3){const _0x3135f7=_0x15b43e;this[_0x3135f7(0x193)](_0x3f08a3);const _0x50158c=window[_0x3135f7(0x15d)](()=>{const _0x5f0308=_0x3135f7;this[_0x5f0308(0x225)][_0x5f0308(0xfe)](_0xf82463=>{const _0x2dbb01=_0x5f0308;_0xf82463[_0x2dbb01(0x2a4)](_0x3f08a3);});},Me*0x2);this['_clearOtherTimers']['set'](_0x3f08a3,_0x50158c);}['_removeClearOtherTimer'](_0x260093){const _0xd5e5b6=_0x15b43e;if(this[_0xd5e5b6(0x31e)][_0xd5e5b6(0xb3)](_0x260093)){const _0x224b73=this[_0xd5e5b6(0x31e)][_0xd5e5b6(0x106)](_0x260093);_0x224b73&&window[_0xd5e5b6(0xae)](_0x224b73),this[_0xd5e5b6(0x31e)]['set'](_0x260093,null);}}[_0x15b43e(0x282)](_0x57c068){const _0x541cfe=_0x15b43e,{memberID:_0x504829,unitIDs:_0x4256e7}=_0x57c068;_0x4256e7[_0x541cfe(0xfe)](_0x3330dd=>{const _0xeb4391=_0x541cfe;var _0x5b17d5;const _0x8a1d96=this[_0xeb4391(0x225)]['get'](_0x3330dd);_0x8a1d96&&(_0x8a1d96[_0xeb4391(0x2a4)](_0x504829),(_0x5b17d5=this[_0xeb4391(0x182)](_0x3330dd))==null||_0x5b17d5['next'](_0x8a1d96[_0xeb4391(0x216)]===0x0?u['UnitStatus'][_0xeb4391(0x315)]:u[_0xeb4391(0x2d6)][_0xeb4391(0x157)]));}),this[_0x541cfe(0x193)](_0x504829);}[_0x15b43e(0x177)](_0x28f9da){const _0x1b56cc=_0x15b43e;this[_0x1b56cc(0x15c)](_0x28f9da[_0x1b56cc(0x2d9)]);}['_send'](_0x1b8ebc){const _0x2210fc=_0x15b43e;localStorage[_0x2210fc(0x2a8)](Le,JSON[_0x2210fc(0x228)](_0x1b8ebc));}[_0x15b43e(0x236)](){const _0x539bff=_0x15b43e;this[_0x539bff(0x15a)]=window[_0x539bff(0x241)](()=>{const _0x35d09a=_0x539bff;this[_0x35d09a(0x31b)]({'type':0x2,'memberID':this[_0x35d09a(0x2cb)]});},Me);}['_ensureSubject'](_0x492722){const _0x353cff=_0x15b43e;return this['_unitStatus'][_0x353cff(0xb3)](_0x492722)||this['_unitStatus'][_0x353cff(0x2b0)](_0x492722,new d[(_0x353cff(0x1c9))](u[_0x353cff(0x2d6)][_0x353cff(0x315)])),this[_0x353cff(0x2b6)][_0x353cff(0x106)](_0x492722);}}var Be=(_0x2d25b7=>(_0x2d25b7[_0x2d25b7[_0x15b43e(0x2a5)]=0x0]=_0x15b43e(0x2a5),_0x2d25b7[_0x2d25b7['OK']=0x1]='OK',_0x2d25b7[_0x2d25b7['INTERNAL_ERROR']=0x2]=_0x15b43e(0x114),_0x2d25b7[_0x2d25b7[_0x15b43e(0x1f2)]=0x3]='PERMISSION_DENIED',_0x2d25b7[_0x2d25b7[_0x15b43e(0xaf)]=0x4]='NOT_FOUND',_0x2d25b7[_0x2d25b7[_0x15b43e(0x2b7)]=0x5]=_0x15b43e(0x2b7),_0x2d25b7[_0x2d25b7[_0x15b43e(0xc1)]=0x6]=_0x15b43e(0xc1),_0x2d25b7[_0x2d25b7[_0x15b43e(0xab)]=0x7]=_0x15b43e(0xab),_0x2d25b7[_0x2d25b7['TOO_MANY_REQUESTS']=0x8]=_0x15b43e(0xb9),_0x2d25b7[_0x2d25b7['COMPLETION_FINISHED']=0x9]=_0x15b43e(0x27f),_0x2d25b7[_0x2d25b7[_0x15b43e(0x31c)]=0xa]=_0x15b43e(0x31c),_0x2d25b7[_0x2d25b7[_0x15b43e(0x137)]=0x1389]=_0x15b43e(0x137),_0x2d25b7[_0x2d25b7['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x15b43e(0xf0),_0x2d25b7[_0x2d25b7[_0x15b43e(0x223)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2d25b7[_0x2d25b7[_0x15b43e(0x10a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2d25b7[_0x2d25b7[_0x15b43e(0x274)]=0x1b59]='APPLY_REJECT',_0x2d25b7[_0x2d25b7[_0x15b43e(0x152)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2d25b7[_0x2d25b7['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x15b43e(0x2e7),_0x2d25b7[_0x2d25b7[_0x15b43e(0x312)]=0x1b5c]=_0x15b43e(0x312),_0x2d25b7[_0x2d25b7[_0x15b43e(0x10b)]=0x1b5d]=_0x15b43e(0x10b),_0x2d25b7[_0x2d25b7[_0x15b43e(0x133)]=0x1f41]=_0x15b43e(0x133),_0x2d25b7[_0x2d25b7['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x15b43e(0x1e5),_0x2d25b7[_0x2d25b7[_0x15b43e(0x277)]=0x232a]=_0x15b43e(0x277),_0x2d25b7[_0x2d25b7[_0x15b43e(0x242)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2d25b7[_0x2d25b7[_0x15b43e(0x18f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2d25b7[_0x2d25b7['LICENSE_DISTRO_REJECTED']=0x232d]=_0x15b43e(0x1ae),_0x2d25b7[_0x2d25b7['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x15b43e(0x22c),_0x2d25b7[_0x2d25b7[_0x15b43e(0x1c1)]=0x2712]=_0x15b43e(0x1c1),_0x2d25b7[_0x2d25b7[_0x15b43e(0x153)]=0x2713]=_0x15b43e(0x153),_0x2d25b7[_0x2d25b7[_0x15b43e(0x297)]=0x2714]=_0x15b43e(0x297),_0x2d25b7[_0x2d25b7[_0x15b43e(0x11c)]=0x271a]=_0x15b43e(0x11c),_0x2d25b7[_0x2d25b7['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x15b43e(0x266),_0x2d25b7[_0x2d25b7['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x15b43e(0x232),_0x2d25b7[_0x2d25b7['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x15b43e(0x158),_0x2d25b7[_0x2d25b7[_0x15b43e(0x20b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2d25b7[_0x2d25b7[_0x15b43e(0x234)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2d25b7[_0x2d25b7[_0x15b43e(0x1e9)]=0x2af9]=_0x15b43e(0x1e9),_0x2d25b7[_0x2d25b7[_0x15b43e(0xdf)]=0x2ee1]=_0x15b43e(0xdf),_0x2d25b7[_0x2d25b7[_0x15b43e(0x1b2)]=0x2ee2]=_0x15b43e(0x1b2),_0x2d25b7[_0x2d25b7[_0x15b43e(0x2c7)]=0x2ee3]=_0x15b43e(0x2c7),_0x2d25b7[_0x2d25b7[_0x15b43e(0x28c)]=0x2ee4]=_0x15b43e(0x28c),_0x2d25b7[_0x2d25b7[_0x15b43e(0x296)]=0x2ee5]=_0x15b43e(0x296),_0x2d25b7[_0x2d25b7[_0x15b43e(0x151)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2d25b7[_0x2d25b7[_0x15b43e(0x245)]=0x32ca]=_0x15b43e(0x245),_0x2d25b7[_0x2d25b7[_0x15b43e(0x1ea)]=0x32cb]=_0x15b43e(0x1ea),_0x2d25b7[_0x2d25b7[_0x15b43e(0x268)]=-0x1]=_0x15b43e(0x268),_0x2d25b7))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0xc9b071,_0x25b615,_0x15aee0,_0x469f80)=>{const _0xfc2166=_0x15b43e;for(var _0x473a06=_0x469f80>0x1?void 0x0:_0x469f80?ns(_0x25b615,_0x15aee0):_0x25b615,_0x368787=_0xc9b071[_0xfc2166(0x1e8)]-0x1,_0x48b306;_0x368787>=0x0;_0x368787--)(_0x48b306=_0xc9b071[_0x368787])&&(_0x473a06=_0x48b306(_0x473a06)||_0x473a06);return _0x473a06;},ue=(_0x212acf,_0x5ecf78)=>(_0x2721ec,_0x106ad7)=>_0x5ecf78(_0x2721ec,_0x106ad7,_0x212acf);exports['RemoteUniscriptService']=class extends a[_0x15b43e(0x16e)]{constructor(_0x13eb10,_0x58ecd6,_0xe7d1a8){const _0x3f8310=_0x15b43e;super(),this['_instanceService']=_0x13eb10,this[_0x3f8310(0x287)]=_0x58ecd6,this[_0x3f8310(0x176)]=_0xe7d1a8;}async[_0x15b43e(0x1ec)](_0x22e6a4,_0x569eaf,_0x417707,..._0x5f485b){const _0x3ba3d0=_0x15b43e;var _0x89bbc,_0x443243,_0x2c955e,_0x367650;const _0x351e83=this[_0x3ba3d0(0x1ad)]['getFocusedUnit']();if(!_0x351e83)throw new Error(_0x3ba3d0(0x204));const _0x14648d=((_0x89bbc=this[_0x3ba3d0(0x176)]['getConfig'](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x89bbc:u[_0x3ba3d0(0x19f)])+'/'+_0x22e6a4+_0x3ba3d0(0x12c)+_0x569eaf,_0x1fbe16=new URL(window['location'][_0x3ba3d0(0x19a)]),_0x2f0787={'scriptId':_0x22e6a4,'runId':(_0x443243=_0x1fbe16[_0x3ba3d0(0x140)][_0x3ba3d0(0x106)](_0x3ba3d0(0x26d)))!=null?_0x443243:'','function':_0x569eaf,'unitId':_0x351e83['getUnitId'](),'argsOfFunction':JSON[_0x3ba3d0(0x228)](_0x5f485b),'invokeId':(_0x2c955e=_0x417707['invokeId'])!=null?_0x2c955e:'','executionId':(_0x367650=_0x417707[_0x3ba3d0(0x168)])!=null?_0x367650:''};try{const _0x532409=await this['_httpService']['post'](_0x14648d,{'body':_0x2f0787});return _0x532409[_0x3ba3d0(0x31a)][_0x3ba3d0(0xac)]&&_0x532409[_0x3ba3d0(0x31a)][_0x3ba3d0(0xac)]['code']!==Be['OK']?_0x3ba3d0(0x1f0):_0x532409[_0x3ba3d0(0x31a)]['result'];}catch{return'Failed';}}},exports[_0x15b43e(0x199)]=rs([ue(0x0,a[_0x15b43e(0x105)]),ue(0x1,a[_0x15b43e(0x144)](G[_0x15b43e(0x13b)])),ue(0x2,a[_0x15b43e(0x300)])],exports[_0x15b43e(0x199)]),exports[_0x15b43e(0x9d)]=xe,exports[_0x15b43e(0x324)]=be,exports[_0x15b43e(0x1f7)]=Ae,exports['WebBrowserSingleActiveUnitService']=is,exports[_0x15b43e(0xc5)]=je;
|