@univerjs-pro/collaboration-client-ui 0.7.0-beta.0 → 0.7.0-nightly.202504301607
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 +16 -16
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x4b7938=_0x2ff3;(function(_0x33c726,_0x44dc95){const _0x203d68=_0x2ff3,_0x462879=_0x33c726();while(!![]){try{const _0x504b75=parseInt(_0x203d68(0x1ec))/0x1*(parseInt(_0x203d68(0x1ed))/0x2)+parseInt(_0x203d68(0x1f0))/0x3*(parseInt(_0x203d68(0x1e8))/0x4)+-parseInt(_0x203d68(0x1f1))/0x5*(parseInt(_0x203d68(0x1e7))/0x6)+-parseInt(_0x203d68(0x1f4))/0x7+-parseInt(_0x203d68(0x1e9))/0x8+parseInt(_0x203d68(0x1ef))/0x9+parseInt(_0x203d68(0x1f2))/0xa;if(_0x504b75===_0x44dc95)break;else _0x462879['push'](_0x462879['shift']());}catch(_0x581871){_0x462879['push'](_0x462879['shift']());}}}(_0x672f,0x3b8c4));function _0x672f(){const _0x6763ba=['runOnServer','500178VyLURA','363168yKlkzE','403104vnDosA','extend','@univerjs/core/facade','2oYudNK','417334xojCwB','_injector','2216466rQJAxn','9dJlmie','25lFTQZN','1491820gTKCIs','FUniver','2618385aOMrKH'];_0x672f=function(){return _0x6763ba;};return _0x672f();}function _0x2ff3(_0x168d94,_0xcd9a4f){const _0x672f7=_0x672f();return _0x2ff3=function(_0x2ff3cb,_0xf9cdc5){_0x2ff3cb=_0x2ff3cb-0x1e6;let _0x49142c=_0x672f7[_0x2ff3cb];return _0x49142c;},_0x2ff3(_0x168d94,_0xcd9a4f);}const t=require('@univerjs-pro/collaboration-client-ui'),e=require(_0x4b7938(0x1eb));class c extends e[_0x4b7938(0x1f3)]{[_0x4b7938(0x1e6)](_0x365edb,_0x1cc6fe,..._0x5d7bc3){const _0x183c23=_0x4b7938;return this[_0x183c23(0x1ee)]['get'](t['RemoteUniscriptService'])[_0x183c23(0x1e6)](_0x365edb,_0x1cc6fe,{},..._0x5d7bc3);}}e[_0x4b7938(0x1f3)][_0x4b7938(0x1ea)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x121fa1=_0x2681;(function(_0x377856,_0x2625dd){const _0x4f2efd=_0x2681,_0x1f482a=_0x377856();while(!![]){try{const _0x13b864=-parseInt(_0x4f2efd(0x23a))/0x1*(-parseInt(_0x4f2efd(0x244))/0x2)+-parseInt(_0x4f2efd(0x235))/0x3+-parseInt(_0x4f2efd(0x17d))/0x4*(parseInt(_0x4f2efd(0x2a5))/0x5)+-parseInt(_0x4f2efd(0x146))/0x6+-parseInt(_0x4f2efd(0x251))/0x7+-parseInt(_0x4f2efd(0x21c))/0x8+parseInt(_0x4f2efd(0x2ae))/0x9;if(_0x13b864===_0x2625dd)break;else _0x1f482a['push'](_0x1f482a['shift']());}catch(_0x2d2a14){_0x1f482a['push'](_0x1f482a['shift']());}}}(_0x528c,0x83405));var Ve=Object[_0x121fa1(0x13d)],Xe=(_0x392509,_0x2bd2d6,_0x627342)=>_0x2bd2d6 in _0x392509?Ve(_0x392509,_0x2bd2d6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x627342}):_0x392509[_0x2bd2d6]=_0x627342,h=(_0x294f8f,_0x583f1,_0x374949)=>Xe(_0x294f8f,typeof _0x583f1!=_0x121fa1(0x236)?_0x583f1+'':_0x583f1,_0x374949);Object[_0x121fa1(0x13d)](exports,Symbol[_0x121fa1(0x1c6)],{'value':'Module'});const u=require(_0x121fa1(0x163)),a=require(_0x121fa1(0x329)),p=require(_0x121fa1(0x1d3)),G=require('@univerjs/network'),b=require(_0x121fa1(0x155)),Ge=require(_0x121fa1(0x375)),d=require('rxjs'),W=require('@univerjs/docs'),m=require(_0x121fa1(0x367)),Ee=require(_0x121fa1(0x1b7)),g=require(_0x121fa1(0x33c)),$=require('rxjs/operators'),X=require(_0x121fa1(0x2a8)),P=require(_0x121fa1(0x2e7)),T=require(_0x121fa1(0x150)),D=require(_0x121fa1(0x338)),M=require(_0x121fa1(0x13f)),qe=require(_0x121fa1(0x325));var Ke=Object['getOwnPropertyDescriptor'],ze=(_0x574100,_0x1c2d21,_0x4891f0,_0x91e8b1)=>{const _0x28ee49=_0x121fa1;for(var _0x38c337=_0x91e8b1>0x1?void 0x0:_0x91e8b1?Ke(_0x1c2d21,_0x4891f0):_0x1c2d21,_0x58dd3b=_0x574100[_0x28ee49(0x363)]-0x1,_0x35e00c;_0x58dd3b>=0x0;_0x58dd3b--)(_0x35e00c=_0x574100[_0x58dd3b])&&(_0x38c337=_0x35e00c(_0x38c337)||_0x38c337);return _0x38c337;},Te=(_0x37b4f4,_0x5e8d45)=>(_0x276969,_0x196785)=>_0x5e8d45(_0x276969,_0x196785,_0x37b4f4);function _0x2681(_0x144e0d,_0x266f11){const _0x528ced=_0x528c();return _0x2681=function(_0x268183,_0x473b53){_0x268183=_0x268183-0x10c;let _0x54eb63=_0x528ced[_0x268183];return _0x54eb63;},_0x2681(_0x144e0d,_0x266f11);}let de=class extends a[_0x121fa1(0x189)]{constructor(_0x437ae4,_0x240e1d){const _0x55b814=_0x121fa1;super(),this[_0x55b814(0x1aa)]=_0x437ae4,this[_0x55b814(0x27c)]=_0x240e1d,this[_0x55b814(0x324)]();}[_0x121fa1(0x324)](){const _0x35a80c=_0x121fa1,_0x10575b=this;this[_0x35a80c(0x337)](this['_docClipboardService'][_0x35a80c(0x2d9)]({'onBeforePasteImage':async _0xd1e245=>{const _0x1fdf84=_0x35a80c,_0x5d343a=await _0x10575b['_imageIoService'][_0x1fdf84(0x29d)](_0xd1e245);return _0x5d343a?{'source':_0x5d343a['source'],'imageSourceType':_0x5d343a[_0x1fdf84(0x21f)]}:null;}}));}};de=ze([Te(0x0,b[_0x121fa1(0x161)]),Te(0x1,Ge['IImageIoService'])],de);const Oe=[_0x121fa1(0x2b7),'jiqing500',_0x121fa1(0x29b),_0x121fa1(0x364),_0x121fa1(0x30b),_0x121fa1(0x1f3)];class me extends a[_0x121fa1(0x28d)]{constructor(){const _0x24cfbf=_0x121fa1;super(...arguments),h(this,_0x24cfbf(0x21b),new Map()),h(this,'_colorIndex',0x0);}[_0x121fa1(0x1a9)](_0x1cbff4){const _0x5db7d5=_0x121fa1;if(this[_0x5db7d5(0x21b)]['has'](_0x1cbff4))return this[_0x5db7d5(0x21b)][_0x5db7d5(0x192)](_0x1cbff4);const _0x27d9fd=Oe[this[_0x5db7d5(0x2ed)]];return this[_0x5db7d5(0x2ed)]=(this[_0x5db7d5(0x2ed)]+0x1)%Oe[_0x5db7d5(0x363)],this[_0x5db7d5(0x21b)][_0x5db7d5(0x26d)](_0x1cbff4,_0x27d9fd),_0x27d9fd;}}function Pe(_0x6589e2){let _0x20cdb8='';for(const _0x81ff9 of _0x6589e2){const {startOffset:_0x11d952,endOffset:_0x410dbe,isActive:_0x4d8606,rangeType:_0x423a6e,segmentId:_0x18ddf2,segmentPage:_0x4da2d8}=_0x81ff9;_0x20cdb8['length']&&(_0x20cdb8+=','),_0x20cdb8+=_0x11d952+':'+_0x410dbe+':'+(_0x4d8606?'1':'0')+':'+_0x423a6e+':'+_0x18ddf2+':'+_0x4da2d8;}return _0x20cdb8;}function Je(_0x4ff8e6){const _0x4918ed=_0x121fa1,_0x5a65fa=_0x4ff8e6[_0x4918ed(0x273)](','),_0x3cf215=[];for(const _0x3f788f of _0x5a65fa){const [_0x310494,_0x815dfe,_0x58aca7,_0x517a92,_0xe58d73,_0x36a1de]=_0x3f788f[_0x4918ed(0x273)](':');_0x3cf215[_0x4918ed(0x342)]({'startOffset':Number(_0x310494),'endOffset':Number(_0x815dfe),'collapsed':_0x310494===_0x815dfe,'isActive':_0x58aca7==='1','rangeType':_0x517a92===a[_0x4918ed(0x1c9)][_0x4918ed(0x283)]?a['DOC_RANGE_TYPE']['TEXT']:a[_0x4918ed(0x1c9)][_0x4918ed(0x188)],'segmentId':typeof _0xe58d73==_0x4918ed(0x18b)?String(_0xe58d73):'','segmentPage':Number(_0x36a1de!=null?_0x36a1de:-0x1)});}return _0x3cf215[_0x4918ed(0x37f)](_0x43c713=>_0x43c713[_0x4918ed(0x25d)])||(_0x3cf215[0x0][_0x4918ed(0x25d)]=!0x0),_0x3cf215;}class Ce extends a[_0x121fa1(0x189)]{constructor(){const _0x1bad25=_0x121fa1;super(...arguments),h(this,'_collabCursorState$',new d[(_0x1bad25(0x368))](null)),h(this,_0x1bad25(0x257),this[_0x1bad25(0x1e5)][_0x1bad25(0x35c)]());}[_0x121fa1(0x1c1)](_0x208cb7){const _0x3a08e7=_0x121fa1,{unitID:_0x1d83b2,memberID:_0x25ec80,textRanges:_0xa8e5bd}=_0x208cb7,_0x42d182=Pe(_0xa8e5bd);if(_0x42d182==='')return;const _0x1ca1ca={'unitID':_0x1d83b2,'memberID':_0x25ec80,'selection':_0x42d182};this[_0x3a08e7(0x1e5)][_0x3a08e7(0x2fb)](_0x1ca1ca);}}var Ze=Object[_0x121fa1(0x383)],Qe=(_0x353fc3,_0x355b26,_0x58b1f5,_0x1fd375)=>{for(var _0x3b247e=_0x1fd375>0x1?void 0x0:_0x1fd375?Ze(_0x355b26,_0x58b1f5):_0x355b26,_0x3b0323=_0x353fc3['length']-0x1,_0x2ec2d6;_0x3b0323>=0x0;_0x3b0323--)(_0x2ec2d6=_0x353fc3[_0x3b0323])&&(_0x3b247e=_0x2ec2d6(_0x3b247e)||_0x3b247e);return _0x3b247e;},L=(_0x34f33b,_0x44d485)=>(_0x504f9a,_0x35df49)=>_0x44d485(_0x504f9a,_0x35df49,_0x34f33b);const et=0x12c,tt=0x64;let fe=class extends a[_0x121fa1(0x189)]{constructor(_0x57356e,_0x2f1cf3,_0x4002e6,_0x582862,_0x5687a1,_0x3aea2b,_0x3d6dc9,_0x1c5dab,_0x52cf7d){const _0x2d57a0=_0x121fa1;super(),h(this,'_online',!0x1),h(this,'_init',!0x1),h(this,_0x2d57a0(0x276),new d['BehaviorSubject'](new Map())),h(this,_0x2d57a0(0x199),this[_0x2d57a0(0x276)][_0x2d57a0(0x35c)]()),h(this,_0x2d57a0(0x2f3),new d[(_0x2d57a0(0x368))]([])),h(this,_0x2d57a0(0x18f),this[_0x2d57a0(0x2f3)]['pipe'](d['debounceTime'](et))),h(this,_0x2d57a0(0x2f4),a[_0x2d57a0(0x142)](_0x3c6bd4=>{const _0x32d8bf=_0x2d57a0,_0x1fc01e={'eventID':m[_0x32d8bf(0x11b)][_0x32d8bf(0x2d1)],'data':{'unitID':this[_0x32d8bf(0x173)],'memberID':this['_session'][_0x32d8bf(0x37a)](),'selection':Pe(_0x3c6bd4)}};this[_0x32d8bf(0x2a6)][_0x32d8bf(0x2f5)](_0x1fc01e,this[_0x32d8bf(0x173)]);},tt)),(this[_0x2d57a0(0x173)]=_0x57356e,this[_0x2d57a0(0x2a6)]=_0x2f1cf3,this[_0x2d57a0(0x2e3)]=_0x4002e6,this[_0x2d57a0(0x377)]=_0x582862,this['_memberService']=_0x5687a1,this[_0x2d57a0(0x307)]=_0x3aea2b,this['_transformService']=_0x3d6dc9,this[_0x2d57a0(0x32e)]=_0x1c5dab,this[_0x2d57a0(0x35a)]=_0x52cf7d);}get[_0x121fa1(0x17e)](){const _0x4dd83a=_0x121fa1;return this[_0x4dd83a(0x276)]['getValue']();}get[_0x121fa1(0x237)](){const _0x3b0993=_0x121fa1;return this[_0x3b0993(0x2f3)][_0x3b0993(0x33f)]();}['dispose'](){const _0x1d7fae=_0x121fa1;super[_0x1d7fae(0x29c)](),this[_0x1d7fae(0x276)][_0x1d7fae(0x2fb)](new Map()),this['_cursorInfo$'][_0x1d7fae(0x12b)](),this[_0x1d7fae(0x2f3)][_0x1d7fae(0x2fb)]([]),this[_0x1d7fae(0x2f3)][_0x1d7fae(0x12b)]();}[_0x121fa1(0x326)](){const _0x2b168a=_0x121fa1;this[_0x2b168a(0x324)]||(this[_0x2b168a(0x324)]=!0x0,this[_0x2b168a(0x2a6)][_0x2b168a(0x336)][_0x2b168a(0x166)](d[_0x2b168a(0x26c)](this[_0x2b168a(0x347)]))[_0x2b168a(0x2c7)](_0x4169d0=>{const _0x2adcc1=_0x2b168a;_0x4169d0===u[_0x2adcc1(0x2b2)][_0x2adcc1(0x334)]?this[_0x2adcc1(0x36b)]():this[_0x2adcc1(0x2ee)]();}),this[_0x2b168a(0x2a6)]['event$'][_0x2b168a(0x166)](d[_0x2b168a(0x26c)](this['dispose$']))[_0x2b168a(0x2c7)](_0x4dc43d=>{const _0x1e934c=_0x2b168a,_0x57a4b9=_0x4dc43d[_0x1e934c(0x1af)];_0x57a4b9===m['CollaborationEvent'][_0x1e934c(0x2d1)]&&this[_0x1e934c(0x2a1)](_0x4dc43d),_0x57a4b9===m[_0x1e934c(0x11b)][_0x1e934c(0x31c)]&&this[_0x1e934c(0x14f)](_0x4dc43d);}),this[_0x2b168a(0x337)](this[_0x2b168a(0x35a)][_0x2b168a(0x2ac)](_0x41ef43=>{const _0x19b8ac=_0x2b168a,_0x49c9f6=_0x41ef43['params'];_0x49c9f6!=null&&this['_online']&&_0x41ef43['id']===W[_0x19b8ac(0x21a)]['id']&&_0x49c9f6['unitId']===this[_0x19b8ac(0x173)]&&_0x49c9f6[_0x19b8ac(0x2e4)]===!0x1&&_0x49c9f6[_0x19b8ac(0x34a)]['length']>0x0&&this[_0x19b8ac(0x2f4)](_0x49c9f6[_0x19b8ac(0x34a)]);})),this['_syncEditingCollabCursorService'][_0x2b168a(0x257)][_0x2b168a(0x166)](d[_0x2b168a(0x26c)](this[_0x2b168a(0x347)]))['subscribe'](_0x1dcdb8=>{const _0x3e9fd6=_0x2b168a;if((_0x1dcdb8==null?void 0x0:_0x1dcdb8['unitID'])!==this[_0x3e9fd6(0x173)])return;const _0x5c7793={'eventID':m[_0x3e9fd6(0x11b)]['UPDATE_CURSOR'],'data':_0x1dcdb8};this[_0x3e9fd6(0x2a1)](_0x5c7793);}),this['disposeWithMe'](this[_0x2b168a(0x35a)][_0x2b168a(0x2ac)](_0x4abcfc=>{const _0x5bdc58=_0x2b168a;if(_0x4abcfc[_0x5bdc58(0x398)]==null)return;const _0x3fda03=_0x4abcfc['params'];if(_0x4abcfc['id']!==W['RichTextEditingMutation']['id']||_0x3fda03[_0x5bdc58(0x39c)]!==this[_0x5bdc58(0x173)])return;const _0x120d48={'id':_0x5bdc58(0x2e9),'params':_0x3fda03},_0x45c0ed=this['cursorInfo'];for(const [_0x8c0937,_0x40a5ad]of _0x45c0ed){const _0x4b6d8c={'id':_0x5bdc58(0x2e9),'params':{'unitId':this[_0x5bdc58(0x173)],'actions':null,'textRanges':_0x40a5ad['ranges']}},_0x1d9ee3=this[_0x5bdc58(0x366)][_0x5bdc58(0x1cb)](_0x120d48,_0x4b6d8c,!0x1);if(m[_0x5bdc58(0x335)](_0x1d9ee3))throw _0x1d9ee3[_0x5bdc58(0x2cf)];_0x45c0ed['set'](_0x8c0937,{..._0x40a5ad,'ranges':_0x1d9ee3['m2Prime']['params'][_0x5bdc58(0x2a3)]});}queueMicrotask(()=>{const _0x5888dc=_0x5bdc58;this[_0x5888dc(0x276)][_0x5888dc(0x2fb)](_0x45c0ed);});})));}[_0x121fa1(0x2a1)](_0x47893a){const _0x368c6b=_0x121fa1;var _0x202312,_0x53871e;const {memberID:_0x44c6ea,selection:_0x304848}=_0x47893a['data'],_0x1eead6=Je(_0x304848),_0x5f26a3=(_0x53871e=(_0x202312=this['_memberService']['getMember'](this[_0x368c6b(0x173)],_0x44c6ea))==null?void 0x0:_0x202312[_0x368c6b(0x158)])!=null?_0x53871e:'Unknown\x20user',_0x58c5be={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x44c6ea),'name':_0x5f26a3,'ranges':_0x1eead6},_0x16ab48=this[_0x368c6b(0x17e)];_0x16ab48['set'](_0x44c6ea,_0x58c5be),this[_0x368c6b(0x276)]['next'](_0x16ab48);}['_onCursorDelete'](_0x5656d1){const _0x191818=_0x121fa1,{memberID:_0x216e43}=_0x5656d1[_0x191818(0x1e2)],_0x323bdf=this[_0x191818(0x17e)];_0x323bdf[_0x191818(0x278)](_0x216e43),this[_0x191818(0x276)]['next'](_0x323bdf);}['_toggleOnline'](){const _0x507d31=_0x121fa1;var _0x55f7c5;if(this[_0x507d31(0x1b4)]=!0x0,((_0x55f7c5=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x55f7c5[_0x507d31(0x2cd)]())!==this[_0x507d31(0x173)])return;const _0x246807=this[_0x507d31(0x2e3)][_0x507d31(0x192)](W[_0x507d31(0x2af)])[_0x507d31(0x145)]();Array[_0x507d31(0x1b0)](_0x246807)&&_0x246807['length']>0x0&&this['_updateLocalCursor'](_0x246807);}['_toggleOffline'](){this['_online']=!0x1;}};fe=Qe([L(0x2,a[_0x121fa1(0x227)](a['Injector'])),L(0x3,a[_0x121fa1(0x227)](me)),L(0x4,a[_0x121fa1(0x227)](u[_0x121fa1(0x255)])),L(0x5,a[_0x121fa1(0x227)](Ce)),L(0x6,m[_0x121fa1(0x1a8)]),L(0x7,a['IUniverInstanceService']),L(0x8,a[_0x121fa1(0x256)])],fe);var st=Object[_0x121fa1(0x383)],it=(_0x2b94f5,_0x3cf184,_0x50b11e,_0x6a12d6)=>{const _0x2fa087=_0x121fa1;for(var _0x4fd2da=_0x6a12d6>0x1?void 0x0:_0x6a12d6?st(_0x3cf184,_0x50b11e):_0x3cf184,_0x3f8d1a=_0x2b94f5[_0x2fa087(0x363)]-0x1,_0x8b7474;_0x3f8d1a>=0x0;_0x3f8d1a--)(_0x8b7474=_0x2b94f5[_0x3f8d1a])&&(_0x4fd2da=_0x8b7474(_0x4fd2da)||_0x4fd2da);return _0x4fd2da;},A=(_0x23cede,_0x20ffd5)=>(_0x584a75,_0xb08a00)=>_0x20ffd5(_0x584a75,_0xb08a00,_0x23cede);const nt=0x12c,rt=0x64,ot=()=>{let _0x42722a=[],_0x44150f=!0x1;return _0x5e2820=>{const _0x56fa0e=_0x2681;_0x42722a[_0x56fa0e(0x342)](_0x5e2820),_0x44150f||(_0x44150f=!0x0,setTimeout(()=>{const _0x526db6=_0x56fa0e;_0x42722a[_0x526db6(0x397)](_0x5592b1=>_0x5592b1()),_0x42722a=[],_0x44150f=!0x1;}));};};let Se=class extends a[_0x121fa1(0x189)]{constructor(_0x3223a1,_0x511933,_0x337895,_0x3518f6,_0x533f38,_0x120f84,_0x4f59de,_0xf65ad5){const _0x5b76f5=_0x121fa1;super(),h(this,_0x5b76f5(0x1b4),!0x1),h(this,_0x5b76f5(0x324),!0x1),h(this,_0x5b76f5(0x276),new d[(_0x5b76f5(0x368))](new Map())),h(this,_0x5b76f5(0x199),this[_0x5b76f5(0x276)][_0x5b76f5(0x35c)]()),h(this,_0x5b76f5(0x2f3),new d[(_0x5b76f5(0x368))]([])),h(this,_0x5b76f5(0x18f),this[_0x5b76f5(0x2f3)][_0x5b76f5(0x166)](d[_0x5b76f5(0x262)](nt))),h(this,'_updateLocalCursor',a[_0x5b76f5(0x142)]((_0x15edf0,_0x238b63)=>{const _0x4cb77e=_0x5b76f5,_0x3188fa={'eventID':m[_0x4cb77e(0x11b)][_0x4cb77e(0x2d1)],'data':{'unitID':this[_0x4cb77e(0x173)],'memberID':this['_session']['getMemberID'](),'selection':Ee[_0x4cb77e(0x220)](_0x15edf0,_0x238b63[_0x4cb77e(0x234)])}};this[_0x4cb77e(0x2a6)][_0x4cb77e(0x2f5)](_0x3188fa,this['unitID']);},rt)),(this[_0x5b76f5(0x173)]=_0x3223a1,this[_0x5b76f5(0x2a6)]=_0x511933,this[_0x5b76f5(0x2e3)]=_0x337895,this[_0x5b76f5(0x377)]=_0x3518f6,this['_memberService']=_0x533f38,this[_0x5b76f5(0x32e)]=_0x120f84,this[_0x5b76f5(0x35a)]=_0x4f59de,this['_refRangeService']=_0xf65ad5);}get[_0x121fa1(0x17e)](){const _0x148d5c=_0x121fa1;return this[_0x148d5c(0x276)]['getValue']();}get[_0x121fa1(0x237)](){return this['_roomMembers$']['getValue']();}[_0x121fa1(0x29c)](){const _0x18c55d=_0x121fa1;super[_0x18c55d(0x29c)](),this[_0x18c55d(0x276)][_0x18c55d(0x2fb)](new Map()),this[_0x18c55d(0x276)]['complete'](),this['_roomMembers$'][_0x18c55d(0x2fb)]([]),this[_0x18c55d(0x2f3)][_0x18c55d(0x12b)]();}['init'](){const _0x506f96=_0x121fa1;this[_0x506f96(0x324)]||(this[_0x506f96(0x324)]=!0x0,this[_0x506f96(0x2a6)][_0x506f96(0x336)][_0x506f96(0x166)](d['takeUntil'](this[_0x506f96(0x347)]))['subscribe'](_0x51bf72=>{const _0x129838=_0x506f96;_0x51bf72===u[_0x129838(0x2b2)][_0x129838(0x334)]?this[_0x129838(0x36b)]():this[_0x129838(0x2ee)]();}),this[_0x506f96(0x2a6)][_0x506f96(0x323)][_0x506f96(0x166)](d[_0x506f96(0x26c)](this[_0x506f96(0x347)]))[_0x506f96(0x2c7)](_0x8b299=>{const _0x57c20a=_0x506f96,_0x175028=_0x8b299[_0x57c20a(0x1af)];_0x175028===m[_0x57c20a(0x11b)][_0x57c20a(0x2d1)]&&this['_onCursorUpdate'](_0x8b299),_0x175028===m[_0x57c20a(0x11b)][_0x57c20a(0x31c)]&&this[_0x57c20a(0x14f)](_0x8b299);}),this[_0x506f96(0x1fc)](),this['disposeWithMe'](this['_commandService'][_0x506f96(0x2ac)](_0xaefcd1=>{const _0xa75225=_0x506f96;if(this[_0xa75225(0x1b4)]&&_0xaefcd1['id']===g[_0xa75225(0x391)]['id']&&_0xaefcd1[_0xa75225(0x398)]['unitId']===this[_0xa75225(0x173)]){const _0x595962=_0xaefcd1[_0xa75225(0x398)];this['_updateLocalCursor'](_0x595962[_0xa75225(0x384)],_0x595962[_0xa75225(0x19f)][0x0]);}})));}[_0x121fa1(0x2a1)](_0x597bf3){const _0x12401b=_0x121fa1;var _0x505aa8,_0xf19013;const {memberID:_0x4d8476,selection:_0xe3673e}=_0x597bf3[_0x12401b(0x1e2)],{sheetName:_0xaa0a0e,range:_0x44fe50}=Ee['deserializeRangeWithSheet'](_0xe3673e),_0x18a568={'name':(_0xf19013=(_0x505aa8=this[_0x12401b(0x349)][_0x12401b(0x238)](this[_0x12401b(0x173)],_0x4d8476))==null?void 0x0:_0x505aa8[_0x12401b(0x158)])!=null?_0xf19013:_0x12401b(0x38f),'range':this['_getMergeRange'](_0xaa0a0e,_0x44fe50),'sheetID':_0xaa0a0e,'color':this[_0x12401b(0x377)][_0x12401b(0x1a9)](_0x4d8476),'selection':_0xe3673e},_0x3beae5=this[_0x12401b(0x17e)];_0x3beae5[_0x12401b(0x26d)](_0x4d8476,_0x18a568),this[_0x12401b(0x276)][_0x12401b(0x2fb)](_0x3beae5);}[_0x121fa1(0x14f)](_0x204fc4){const _0x186318=_0x121fa1,{memberID:_0xec3f6}=_0x204fc4['data'],_0x2cc457=this['cursorInfo'];_0x2cc457['delete'](_0xec3f6),this[_0x186318(0x276)][_0x186318(0x2fb)](_0x2cc457);}[_0x121fa1(0x2e8)](_0x5b8d1b,_0x1e08e8){const _0x33b235=_0x121fa1;var _0x586b99,_0x4bda52;const _0x406acf=(_0x4bda52=(_0x586b99=this[_0x33b235(0x32e)][_0x33b235(0x330)](this['unitID']))==null?void 0x0:_0x586b99[_0x33b235(0x13c)](_0x5b8d1b))==null?void 0x0:_0x4bda52[_0x33b235(0x14a)]();return(_0x406acf==null?void 0x0:_0x406acf[_0x33b235(0x27a)](_0x5e86f9=>a[_0x33b235(0x20a)][_0x33b235(0x196)](_0x5e86f9,_0x1e08e8)))||_0x1e08e8;}[_0x121fa1(0x1fc)](){const _0xe735cb=_0x121fa1,_0x4c3fab=new a[(_0xe735cb(0x34b))](),_0x53b62f=ot(),_0x355196=()=>{const _0xb93eb=_0xe735cb;_0x4c3fab['dispose']();const _0x2b21a4=(_0x779900,_0x170b4e,_0xda6746,_0x92b593)=>{const _0x30a857=_0x2681;let _0x893ceb=[];switch(_0x779900['id']){case g[_0x30a857(0x396)][_0x30a857(0x213)]:{_0x893ceb=g[_0x30a857(0x274)](_0x779900,_0x92b593);break;}case g['EffectRefRangId'][_0x30a857(0x290)]:{_0x893ceb=g['handleDeleteRangeMoveUp'](_0x779900,_0x92b593);break;}case g[_0x30a857(0x396)][_0x30a857(0x15c)]:{_0x893ceb=g[_0x30a857(0x370)](_0x779900,_0x92b593);break;}case g[_0x30a857(0x396)][_0x30a857(0x1d0)]:{_0x893ceb=g[_0x30a857(0x12e)](_0x779900,_0x92b593);break;}case g['EffectRefRangId'][_0x30a857(0x380)]:{_0x893ceb=g['handleInsertRangeMoveRight'](_0x779900,_0x92b593);break;}case g[_0x30a857(0x396)][_0x30a857(0x16e)]:{_0x893ceb=g[_0x30a857(0x14b)](_0x779900,_0x92b593);break;}case g[_0x30a857(0x396)][_0x30a857(0x15e)]:{_0x893ceb=g[_0x30a857(0x28c)](_0x779900,_0x92b593);break;}case g[_0x30a857(0x396)][_0x30a857(0x1a5)]:{_0x893ceb=g['handleIRemoveCol'](_0x779900,_0x92b593);break;}case g['EffectRefRangId']['RemoveRowCommandId']:{_0x893ceb=g[_0x30a857(0x167)](_0x779900,_0x92b593);break;}}const _0x251b3c=g[_0x30a857(0x19d)](_0x893ceb,_0x92b593),_0x2e449f=this['cursorInfo']['get'](_0x170b4e);if(_0x2e449f&&_0x251b3c){const _0x4361a2={..._0x2e449f,'range':_0x251b3c};this[_0x30a857(0x17e)][_0x30a857(0x26d)](_0x170b4e,_0x4361a2),_0x53b62f(()=>{const _0x263468=_0x30a857,_0x136b67=this[_0x263468(0x137)]['registerRefRange'](_0x251b3c,_0x235548=>(_0x136b67[_0x263468(0x29c)](),_0x2b21a4(_0x235548,_0x170b4e,_0xda6746,_0x251b3c)));_0x4c3fab[_0x263468(0x139)](_0x136b67);});}return{'redos':[],'undos':[]};};this[_0xb93eb(0x17e)][_0xb93eb(0x397)]((_0x571e2d,_0x1f22eb)=>{const _0x2029c6=_0xb93eb,{range:_0x55b480,sheetID:_0x4c0e6f}=_0x571e2d,_0x482b91=this[_0x2029c6(0x137)]['registerRefRange'](_0x55b480,_0x3f6da8=>(_0x482b91[_0x2029c6(0x29c)](),_0x2b21a4(_0x3f6da8,_0x1f22eb,_0x4c0e6f,_0x55b480)));_0x4c3fab[_0x2029c6(0x139)](_0x482b91);});};this['disposeWithMe'](a[_0xe735cb(0x340)](this[_0xe735cb(0x276)][_0xe735cb(0x2c7)](()=>{_0x355196();})));}[_0x121fa1(0x36b)](){const _0x4c67a8=_0x121fa1;var _0x931afa,_0x281ecb;if(this[_0x4c67a8(0x1b4)]=!0x0,((_0x931afa=this['_univerInstanceService'][_0x4c67a8(0x1b5)]())==null?void 0x0:_0x931afa[_0x4c67a8(0x2cd)]())!==this['unitID'])return;const _0xd90c9a=(_0x281ecb=this[_0x4c67a8(0x2e3)][_0x4c67a8(0x192)](g[_0x4c67a8(0x232)])[_0x4c67a8(0x206)]())==null?void 0x0:_0x281ecb[0x0],_0x471920=this['_univerInstanceService'][_0x4c67a8(0x293)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x4c67a8(0x22d)]();_0xd90c9a&&_0x471920&&this[_0x4c67a8(0x2f4)](_0x471920['getSheetId'](),_0xd90c9a);}[_0x121fa1(0x2ee)](){const _0x574b42=_0x121fa1;this[_0x574b42(0x1b4)]=!0x1;}};Se=it([A(0x2,a[_0x121fa1(0x227)](a[_0x121fa1(0x123)])),A(0x3,a[_0x121fa1(0x227)](me)),A(0x4,a[_0x121fa1(0x227)](u['MemberService'])),A(0x5,a[_0x121fa1(0x1a0)]),A(0x6,a[_0x121fa1(0x256)]),A(0x7,a['Inject'](g[_0x121fa1(0x1ba)]))],Se);var at=Object[_0x121fa1(0x383)],ct=(_0x5b67f5,_0x348aad,_0x1cecbb,_0x5b00e3)=>{const _0x53aa6c=_0x121fa1;for(var _0x125f10=_0x5b00e3>0x1?void 0x0:_0x5b00e3?at(_0x348aad,_0x1cecbb):_0x348aad,_0x5515e9=_0x5b67f5[_0x53aa6c(0x363)]-0x1,_0x7fc53e;_0x5515e9>=0x0;_0x5515e9--)(_0x7fc53e=_0x5b67f5[_0x5515e9])&&(_0x125f10=_0x7fc53e(_0x125f10)||_0x125f10);return _0x125f10;},ie=(_0x21e854,_0x3d0337)=>(_0x3f63ba,_0x37ba8c)=>_0x3d0337(_0x3f63ba,_0x37ba8c,_0x21e854);let x=class extends a[_0x121fa1(0x189)]{constructor(_0x2961,_0x1fb2ca,_0x35540d){const _0x485d28=_0x121fa1;super(),h(this,_0x485d28(0x14e),new Map()),h(this,'_entityInit$',new d[(_0x485d28(0x24b))]()),(this[_0x485d28(0x32e)]=_0x2961,this[_0x485d28(0x2e3)]=_0x1fb2ca,this['_collabSessionService']=_0x35540d,this[_0x485d28(0x324)]());}[_0x121fa1(0x29c)](){const _0x872981=_0x121fa1;super['dispose'](),this[_0x872981(0x2b9)][_0x872981(0x12b)](),this[_0x872981(0x14e)][_0x872981(0x397)](_0x5a3945=>_0x5a3945[_0x872981(0x29c)]());}['getCollabCursors$'](_0x345894){const _0x4e56fa=_0x121fa1;return this[_0x4e56fa(0x14e)][_0x4e56fa(0x295)](_0x345894)?this[_0x4e56fa(0x14e)]['get'](_0x345894)[_0x4e56fa(0x199)]:this[_0x4e56fa(0x2b9)]['pipe'](d[_0x4e56fa(0x36e)](_0x4b97ff=>_0x4b97ff['unitID']===_0x345894),d[_0x4e56fa(0x35e)](_0x319b19=>_0x319b19['cursorInfo$']));}['_init'](){const _0x36db14=_0x121fa1;this[_0x36db14(0x32e)][_0x36db14(0x134)](a[_0x36db14(0x1cf)][_0x36db14(0x2ce)])[_0x36db14(0x166)](d['takeUntil'](this[_0x36db14(0x347)]))[_0x36db14(0x2c7)](async _0x578964=>{const _0x57f35f=_0x36db14,_0x4cc6d5=_0x578964[_0x57f35f(0x2cd)](),_0x8c7ab6=await this[_0x57f35f(0x24a)](_0x4cc6d5);this[_0x57f35f(0x2b9)]['next'](_0x8c7ab6),this[_0x57f35f(0x14e)][_0x57f35f(0x26d)](_0x4cc6d5,_0x8c7ab6);}),this[_0x36db14(0x32e)]['getTypeOfUnitAdded$'](a[_0x36db14(0x1cf)][_0x36db14(0x1f9)])[_0x36db14(0x166)](d['takeUntil'](this[_0x36db14(0x347)]))[_0x36db14(0x166)](d[_0x36db14(0x36e)](_0x52b28c=>!_0x52b28c[_0x36db14(0x2cd)]()[_0x36db14(0x261)]('__')))[_0x36db14(0x2c7)](async _0x386081=>{const _0x5a3a30=_0x36db14,_0x509f25=_0x386081[_0x5a3a30(0x2cd)](),_0x39e6f8=await this[_0x5a3a30(0x129)](_0x509f25);this[_0x5a3a30(0x2b9)][_0x5a3a30(0x2fb)](_0x39e6f8),this[_0x5a3a30(0x14e)][_0x5a3a30(0x26d)](_0x509f25,_0x39e6f8);}),d['merge'](this[_0x36db14(0x32e)][_0x36db14(0x24d)](a[_0x36db14(0x1cf)][_0x36db14(0x1f9)]),this[_0x36db14(0x32e)][_0x36db14(0x24d)](a[_0x36db14(0x1cf)][_0x36db14(0x2ce)]))['pipe'](d[_0x36db14(0x26c)](this[_0x36db14(0x347)]))[_0x36db14(0x2c7)](_0x702eda=>{const _0x23f0c0=_0x36db14,_0x5ce548=_0x702eda[_0x23f0c0(0x2cd)](),_0x5129f5=this[_0x23f0c0(0x14e)]['get'](_0x5ce548);_0x5129f5&&(_0x5129f5[_0x23f0c0(0x29c)](),this[_0x23f0c0(0x14e)][_0x23f0c0(0x278)](_0x5ce548));});}async[_0x121fa1(0x24a)](_0x4a8876){const _0x420d58=_0x121fa1,_0xa22853=await this['_collabSessionService'][_0x420d58(0x185)](_0x4a8876),_0xd0263c=this['_injector'][_0x420d58(0x177)](Se,_0x4a8876,_0xa22853);return _0xd0263c['init'](),_0xd0263c;}async[_0x121fa1(0x129)](_0x406cd6){const _0x348a1e=_0x121fa1,_0x5bfb93=await this[_0x348a1e(0x2b8)][_0x348a1e(0x185)](_0x406cd6),_0x20067c=this['_injector'][_0x348a1e(0x177)](fe,_0x406cd6,_0x5bfb93);return _0x20067c[_0x348a1e(0x326)](),_0x20067c;}};x=ct([ie(0x0,a[_0x121fa1(0x1a0)]),ie(0x1,a['Inject'](a['Injector'])),ie(0x2,a[_0x121fa1(0x227)](u[_0x121fa1(0x2d3)]))],x);const q=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x494348,_0x9a8c22){const _0x39fbe9=_0x121fa1;let {radius:_0x245d62,width:_0xfee347,height:_0x552bb7}=_0x9a8c22;_0x245d62=_0x245d62!=null?_0x245d62:0x0,_0xfee347=_0xfee347!=null?_0xfee347:0x1e,_0x552bb7=_0x552bb7!=null?_0x552bb7:0x1e;let _0x50d9d4=0x0,_0x1756db=0x0,_0x40ec09=0x0;_0x50d9d4=_0x1756db=_0x40ec09=Math[_0x39fbe9(0x309)](_0x245d62,_0xfee347/0x2,_0x552bb7/0x2),_0x494348['beginPath'](),_0x494348[_0x39fbe9(0x2ba)](_0x50d9d4,0x0),_0x494348['lineTo'](_0xfee347-_0x1756db,0x0),_0x494348[_0x39fbe9(0x2f6)](_0xfee347-_0x1756db,_0x1756db,_0x1756db,Math['PI']*0x3/0x2,0x0,!0x1),_0x494348['lineTo'](_0xfee347,_0x552bb7-_0x40ec09),_0x494348[_0x39fbe9(0x2f6)](_0xfee347-_0x40ec09,_0x552bb7-_0x40ec09,_0x40ec09,0x0,Math['PI']/0x2,!0x1),_0x494348[_0x39fbe9(0x1ac)](0x0,_0x552bb7),_0x494348[_0x39fbe9(0x1ac)](0x0,_0x50d9d4),_0x494348['arc'](_0x50d9d4,_0x50d9d4,_0x50d9d4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x494348[_0x39fbe9(0x242)](),_0x9a8c22[_0x39fbe9(0x315)]&&(_0x494348[_0x39fbe9(0x15d)](),_0x494348['fillStyle']=_0x9a8c22[_0x39fbe9(0x315)],_0x9a8c22[_0x39fbe9(0x2c9)]===_0x39fbe9(0x348)?_0x494348['fill'](_0x39fbe9(0x348)):_0x494348[_0x39fbe9(0x315)](),_0x494348[_0x39fbe9(0x393)]());}class ee extends p[_0x121fa1(0x18d)]{constructor(_0x3ed634,_0x4453fb){const _0x5b47e7=_0x121fa1;super(_0x3ed634,_0x4453fb),h(this,_0x5b47e7(0x23c)),h(this,_0x5b47e7(0x2dc)),(this[_0x5b47e7(0x23c)]=_0x4453fb==null?void 0x0:_0x4453fb['color'],this[_0x5b47e7(0x2dc)]=_0x4453fb==null?void 0x0:_0x4453fb[_0x5b47e7(0x2dc)]);}static[_0x121fa1(0x26b)](_0x552716,_0x16433f){const _0x5160ff=_0x121fa1,{text:_0x1742ab,color:_0x27ec68}=_0x16433f;_0x552716[_0x5160ff(0x15d)](),_0x552716['font']=_0x5160ff(0x2e5);const _0x161d68=_0x552716['measureText'](_0x1742ab)[_0x5160ff(0x149)],_0x2744d5=Math[_0x5160ff(0x309)](_0x161d68+0x2*ne,Re);_t(_0x552716,{'height':q,'radius':0x4,'width':_0x2744d5,'fill':_0x27ec68}),_0x552716['fillStyle']=_0x5160ff(0x313);const _0x493150=ne,_0x456450=q-lt,_0xddac1f=Re-0x2*ne;if(_0x161d68>_0xddac1f){let _0x3ff662='',_0x179547=0x0;for(const _0x2384ba of _0x1742ab){const _0x5b6ec3=_0x552716[_0x5160ff(0x272)](_0x2384ba)[_0x5160ff(0x149)];if(_0x179547+_0x5b6ec3<=_0xddac1f-_0x552716[_0x5160ff(0x272)]('...')[_0x5160ff(0x149)])_0x3ff662+=_0x2384ba,_0x179547+=_0x5b6ec3;else{_0x3ff662+=_0x5160ff(0x118);break;}}_0x552716[_0x5160ff(0x1c0)](_0x3ff662,_0x493150,_0x456450);}else _0x552716[_0x5160ff(0x1c0)](_0x1742ab,_0x493150,_0x456450);_0x552716['restore']();}[_0x121fa1(0x122)](_0x1e03e1){const _0x36dab7=_0x121fa1;ee[_0x36dab7(0x26b)](_0x1e03e1,this);}}const re='collab-text-anchor-',ht=_0x121fa1(0x253),ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x121fa1(0x310);class De{constructor(_0x148df5,_0x458f13,_0x2389f6,_0x2c9b5b){const _0x5b05df=_0x121fa1;h(this,_0x5b05df(0x361),[]),h(this,_0x5b05df(0x131),null),h(this,_0x5b05df(0x289),null),h(this,_0x5b05df(0x1f8),null),h(this,_0x5b05df(0x394),null),h(this,_0x5b05df(0x222),null),(this[_0x5b05df(0x147)]=_0x148df5,this['_scene']=_0x458f13,this['_docSkeleton']=_0x2389f6,this['_document']=_0x2c9b5b,this[_0x5b05df(0x17c)]());}set[_0x121fa1(0x2b1)](_0x5ccf14){const _0x45204b=_0x121fa1;_0x5ccf14?(this[_0x45204b(0x1f8)]&&this[_0x45204b(0x1f8)][_0x45204b(0x1ae)](),this[_0x45204b(0x289)]&&this[_0x45204b(0x289)][_0x45204b(0x1a2)]()):(this[_0x45204b(0x1f8)]&&this[_0x45204b(0x1f8)][_0x45204b(0x1a2)](),this[_0x45204b(0x289)]&&this[_0x45204b(0x289)][_0x45204b(0x1ae)]());}['dispose'](){const _0x219060=_0x121fa1;for(const _0x51ffc4 of this[_0x219060(0x361)])_0x51ffc4[_0x219060(0x29c)]();this['_textBubble']&&this['_textBubble'][_0x219060(0x29c)](),this[_0x219060(0x1f8)]&&this[_0x219060(0x1f8)][_0x219060(0x29c)](),this[_0x219060(0x131)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x219060(0x222)]();}[_0x121fa1(0x17c)](){const _0x568d21=_0x121fa1;var _0x403762;const {_docSkeleton:_0x19bc2b,_document:_0x1f8cb5}=this,{color:_0xdbd9c5,name:_0x38580b,ranges:_0x372c24}=this[_0x568d21(0x147)],_0x428561=_0x1f8cb5['getOffsetConfig'](),{docsLeft:_0x3be66b,docsTop:_0x1d3e2c}=_0x428561,_0x95a6ae=new b[(_0x568d21(0x187))](_0x428561,_0x19bc2b);for(const {startOffset:_0xba1d1f,endOffset:_0x551415,rangeType:_0x3fc17e,segmentId:_0x5501ca,segmentPage:_0xda5103,collapsed:_0xd64437,isActive:_0x485512}of _0x372c24){const _0x4e4ce9=_0x19bc2b[_0x568d21(0x279)](_0xba1d1f,!0x0,_0x5501ca,_0xda5103);let _0x5e6043=_0x19bc2b[_0x568d21(0x279)](_0x551415,!0x0,_0x5501ca,_0xda5103);if(_0x5e6043==null&&(_0x5e6043=_0x19bc2b[_0x568d21(0x279)](_0x551415-0x1,!0x1,_0x5501ca,_0xda5103)),_0x485512){const {contentBoxPointGroup:_0x3d65c0}=_0x95a6ae[_0x568d21(0x2f7)](_0x5e6043,_0x5e6043);if(_0x3d65c0[_0x568d21(0x363)]===0x0)continue;this[_0x568d21(0x354)](_0xdbd9c5,_0x3d65c0,_0x3be66b,_0x1d3e2c,_0x38580b),this[_0x568d21(0x222)]=this[_0x568d21(0x320)]();}if(_0x4e4ce9&&_0x5e6043){if(_0x3fc17e===a['DOC_RANGE_TYPE'][_0x568d21(0x188)]){const _0x987c=new b[(_0x568d21(0x34c))](_0x428561,_0x19bc2b),{pointGroup:_0x3b3bdc}=(_0x403762=_0x987c[_0x568d21(0x2f7)](_0x4e4ce9,_0x5e6043))!=null?_0x403762:{};if(_0x3b3bdc==null||_0x3b3bdc[_0x568d21(0x363)]===0x0)continue;this[_0x568d21(0x352)](_0xdbd9c5,_0x3b3bdc,_0x3be66b,_0x1d3e2c);}else{if(!_0xd64437){const {borderBoxPointGroup:_0xe34adf}=_0x95a6ae[_0x568d21(0x2f7)](_0x4e4ce9,_0x5e6043);if(_0xe34adf[_0x568d21(0x363)]===0x0)continue;this[_0x568d21(0x1d1)](_0xdbd9c5,_0xe34adf,_0x3be66b,_0x1d3e2c);}}}}}[_0x121fa1(0x354)](_0x5a44ec,_0x19258d,_0x3d6bce,_0x23b5a1,_0x4e5a8b){const _0x14cdc3=_0x121fa1,_0x3b6728=this[_0x14cdc3(0x124)](_0x19258d),{left:_0x57b28b,top:_0x366a8f,height:_0x3f33c5}=_0x3b6728,_0x140237=this['_getScale'](),_0x451825=ft/_0x140237,_0x23223d=new p[(_0x14cdc3(0x39d))](re+a[_0x14cdc3(0x2b3)][_0x14cdc3(0x211)](k),{'left':_0x57b28b+_0x3d6bce-_0x451825,'top':_0x366a8f+_0x23b5a1,'height':_0x3f33c5,'width':dt,'fill':_0x5a44ec||p[_0x14cdc3(0x1d6)](a[_0x14cdc3(0x125)][_0x14cdc3(0x1f2)],0x0),'strokeWidth':_0x451825,'stroke':St,'evented':!0x0});this[_0x14cdc3(0x131)]=_0x23223d,this[_0x14cdc3(0x27f)][_0x14cdc3(0x144)](_0x23223d,b['TEXT_RANGE_LAYER_INDEX']);const _0x294a0b=new p['Rect'](re+a[_0x14cdc3(0x2b3)]['generateRandomId'](k),{'left':_0x57b28b+_0x3d6bce-_0x451825,'top':_0x366a8f+_0x23b5a1-oe/0x2,'height':oe,'width':oe,'fill':_0x5a44ec||p['getColor'](a[_0x14cdc3(0x125)][_0x14cdc3(0x1f2)],0x0),'strokeWidth':0x0,'stroke':_0x5a44ec||p['getColor'](a[_0x14cdc3(0x125)][_0x14cdc3(0x1f2)],0x0),'evented':!0x1});this[_0x14cdc3(0x1f8)]=_0x294a0b,this['_scene']['addObject'](_0x294a0b,b[_0x14cdc3(0x395)]);const _0x4aba79=new ee(re+a[_0x14cdc3(0x2b3)][_0x14cdc3(0x211)](k),{'left':_0x57b28b+_0x3d6bce-_0x451825,'top':_0x366a8f+_0x23b5a1-q,'text':_0x4e5a8b,'color':_0x5a44ec});this['_textBubble']=_0x4aba79,this[_0x14cdc3(0x27f)][_0x14cdc3(0x144)](_0x4aba79,b[_0x14cdc3(0x395)]),this[_0x14cdc3(0x2b1)]=!0x1;}[_0x121fa1(0x320)](){const _0x34c898=_0x121fa1,_0x23c71b=this['_anchor'][_0x34c898(0x119)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x117390=this['_anchor'][_0x34c898(0x219)][_0x34c898(0x221)](()=>{const _0xb4c264=_0x34c898;this['_hideTimer']&&clearTimeout(this[_0xb4c264(0x394)]),this[_0xb4c264(0x394)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x9593e0=_0x34c898;_0x23c71b[_0x9593e0(0x202)](),_0x117390['unsubscribe']();};}[_0x121fa1(0x1d1)](_0x1fa44f,_0x4fd4af,_0x199b7e,_0x1c753d){const _0x188ac8=_0x121fa1,_0x2335d1=new a[(_0x188ac8(0x2c8))](_0x1fa44f)[_0x188ac8(0x30f)](0.2)['toRgbString'](),_0x183a5f=new p[(_0x188ac8(0x160))](ht+a[_0x188ac8(0x2b3)]['generateRandomId'](k),{'pointsGroup':_0x4fd4af,'fill':_0x2335d1||p[_0x188ac8(0x1d6)](a[_0x188ac8(0x125)][_0x188ac8(0x1f2)],0.2),'left':_0x199b7e,'top':_0x1c753d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x188ac8(0x361)][_0x188ac8(0x342)](_0x183a5f),this[_0x188ac8(0x27f)]['addObject'](_0x183a5f,b[_0x188ac8(0x395)]);}[_0x121fa1(0x352)](_0xe97d9e,_0x512ea8,_0x8bf125,_0x4fbe23){const _0x3f3d98=_0x121fa1,_0x117098=new a[(_0x3f3d98(0x2c8))](_0xe97d9e)[_0x3f3d98(0x30f)](0.2)[_0x3f3d98(0x16b)](),_0x180302=new p[(_0x3f3d98(0x160))](ut+a['Tools'][_0x3f3d98(0x211)](k),{'pointsGroup':_0x512ea8,'fill':_0x117098||p['getColor'](a[_0x3f3d98(0x125)]['black'],0.2),'left':_0x8bf125,'top':_0x4fbe23,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f3d98(0x361)][_0x3f3d98(0x342)](_0x180302),this[_0x3f3d98(0x27f)]['addObject'](_0x180302,b['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x2ffc99){const _0x470081=_0x2ffc99[0x0],_0x4532e9=_0x470081[0x0],_0x1acada=_0x470081[0x2],{x:_0x5e77ca,y:_0x4c03cf}=_0x4532e9,{x:_0xd8d16a,y:_0x2720ea}=_0x1acada;return{'left':_0x5e77ca,'top':_0x4c03cf,'width':_0xd8d16a-_0x5e77ca,'height':_0x2720ea-_0x4c03cf};}[_0x121fa1(0x25b)](){const _0x3331f2=_0x121fa1,{scaleX:_0x20c0bd,scaleY:_0x3a136f}=this[_0x3331f2(0x27f)][_0x3331f2(0x353)]();return Math[_0x3331f2(0x327)](_0x20c0bd,_0x3a136f);}}var It=Object[_0x121fa1(0x383)],vt=(_0x2eaf49,_0x3356f0,_0x2f2cec,_0x4426a2)=>{const _0x130e13=_0x121fa1;for(var _0x9ec7bd=_0x4426a2>0x1?void 0x0:_0x4426a2?It(_0x3356f0,_0x2f2cec):_0x3356f0,_0x5a2033=_0x2eaf49[_0x130e13(0x363)]-0x1,_0x5c7085;_0x5a2033>=0x0;_0x5a2033--)(_0x5c7085=_0x2eaf49[_0x5a2033])&&(_0x9ec7bd=_0x5c7085(_0x9ec7bd)||_0x9ec7bd);return _0x9ec7bd;},Y=(_0x922d0a,_0x4afcfa)=>(_0x3009d9,_0x28b87e)=>_0x4afcfa(_0x3009d9,_0x28b87e,_0x922d0a);let Ie=class extends a[_0x121fa1(0x189)]{constructor(_0x2afc39,_0x205290,_0x3be220,_0x387d89,_0x37be69){const _0x1bc61f=_0x121fa1;super(),h(this,'_cursorShapes',[]),h(this,_0x1bc61f(0x17f),[]),(this['_context']=_0x2afc39,this[_0x1bc61f(0x387)]=_0x205290,this[_0x1bc61f(0x157)]=_0x3be220,this[_0x1bc61f(0x35a)]=_0x387d89,this[_0x1bc61f(0x126)]=_0x37be69,this[_0x1bc61f(0x324)]());}[_0x121fa1(0x324)](){const _0x4a3987=_0x121fa1,_0x5283d6=this[_0x4a3987(0x205)]['unitId'],_0x4a4251=this['_docSkeletonManagerService'];this[_0x4a3987(0x337)](d[_0x4a3987(0x2aa)]([this[_0x4a3987(0x157)]['getCollabCursors$'](_0x5283d6),this[_0x4a3987(0x126)][_0x4a3987(0x308)]])[_0x4a3987(0x166)]($[_0x4a3987(0x287)](([_0x26ffd2,_0xfcf3a7])=>({'skeleton':_0x4a4251[_0x4a3987(0x1fe)](),'cursors':[..._0x26ffd2[_0x4a3987(0x200)]()][_0x4a3987(0x116)](_0x23bdc3=>({..._0x23bdc3,'color':_0xfcf3a7[_0x23bdc3[_0x4a3987(0x23c)]]}))})))[_0x4a3987(0x2c7)](_0x362872=>{const _0x8431f7=_0x4a3987;if(this[_0x8431f7(0x28a)](),_0x362872){const {skeleton:_0x1da665,cursors:_0x1a247b}=_0x362872;this[_0x8431f7(0x16f)](_0x1da665,_0x1a247b);}})),this[_0x4a3987(0x2d7)](),this[_0x4a3987(0x1ff)]();}[_0x121fa1(0x16f)](_0x4a90e5,_0x5f3e30){const _0x2b9824=_0x121fa1,{scene:_0x21b9fc,mainComponent:_0x5e2bf}=this[_0x2b9824(0x205)],_0x5e7101=_0x5f3e30[_0x2b9824(0x287)](_0x58ccb8=>new De(_0x58ccb8,_0x21b9fc,_0x4a90e5,_0x5e2bf));this[_0x2b9824(0x31b)]=_0x5e7101,this['_cursors']=_0x5f3e30;}[_0x121fa1(0x351)](){const _0x218a70=_0x121fa1;this['_removeCollabCursors']();const {scene:_0xe880ee,mainComponent:_0x541f74}=this[_0x218a70(0x205)],_0xabb331=this['_docSkeletonManagerService'][_0x218a70(0x1fe)](),_0x3f3a26=this['_cursors'][_0x218a70(0x287)](_0x588d07=>new De(_0x588d07,_0xe880ee,_0xabb331,_0x541f74));this['_cursorShapes']=_0x3f3a26;}[_0x121fa1(0x28a)](){const _0x250c3d=_0x121fa1;this['_cursorShapes'][_0x250c3d(0x397)](_0x484d87=>_0x484d87[_0x250c3d(0x29c)]()),this[_0x250c3d(0x31b)]=[];}[_0x121fa1(0x1ff)](){const _0x4880d2=_0x121fa1,_0x510faa=[b[_0x4880d2(0x294)]['id']];this[_0x4880d2(0x337)](this['_commandService']['onCommandExecuted'](_0x14e611=>{const _0x4fc05a=_0x4880d2;_0x510faa[_0x4fc05a(0x32d)](_0x14e611['id'])&&_0x14e611[_0x4fc05a(0x398)][_0x4fc05a(0x39c)]===this[_0x4fc05a(0x205)][_0x4fc05a(0x39c)]&&this[_0x4fc05a(0x351)]();}));}[_0x121fa1(0x2d7)](){const _0x256586=_0x121fa1;this[_0x256586(0x337)](a[_0x256586(0x376)](this['_context']['engine'][_0x256586(0x138)])['pipe']($[_0x256586(0x36e)](_0x254125=>_0x254125[_0x256586(0x31e)]===p[_0x256586(0x168)][_0x256586(0x302)]),$['throttleTime'](0x10))[_0x256586(0x2c7)](()=>{this['_refreshCollabCursors']();}));}};Ie=vt([Y(0x1,a[_0x121fa1(0x227)](W[_0x121fa1(0x300)])),Y(0x2,a['Inject'](x)),Y(0x3,a[_0x121fa1(0x256)]),Y(0x4,a[_0x121fa1(0x227)](a['ThemeService']))],Ie);const gt=0x1,mt=1.5;class we extends p[_0x121fa1(0x18d)]{constructor(_0xcb6905,_0x2eb1b8){const _0x211c3d=_0x121fa1;super(_0xcb6905,_0x2eb1b8),h(this,_0x211c3d(0x198)),h(this,_0x211c3d(0x2c4),!0x1),h(this,'_range'),h(this,_0x211c3d(0x2dd),''),h(this,_0x211c3d(0x1be),_0x211c3d(0x19c)),h(this,_0x211c3d(0x20d)),(_0x2eb1b8&&this[_0x211c3d(0x25c)](_0x2eb1b8),this[_0x211c3d(0x119)][_0x211c3d(0x221)](()=>this[_0x211c3d(0x25c)]({'hovered':!0x0})),this[_0x211c3d(0x219)]['subscribeEvent'](()=>this[_0x211c3d(0x25c)]({'hovered':!0x1})));}[_0x121fa1(0x25c)](_0x896375){const _0x3c55c8=_0x121fa1;var _0xa61271,_0x2e299c,_0x2646b9,_0x118ec5,_0x523a9a,_0x2ffc8e;this[_0x3c55c8(0x198)]=(_0xa61271=_0x896375[_0x3c55c8(0x23c)])!=null?_0xa61271:this['_color'],this['_hovered']=(_0x2e299c=_0x896375[_0x3c55c8(0x203)])!=null?_0x2e299c:this[_0x3c55c8(0x2c4)],this['_range']=(_0x2646b9=_0x896375['range'])!=null?_0x2646b9:this[_0x3c55c8(0x346)],this[_0x3c55c8(0x2dd)]=(_0x118ec5=_0x896375[_0x3c55c8(0x158)])!=null?_0x118ec5:this['_name'],this[_0x3c55c8(0x1be)]=(_0x523a9a=_0x896375[_0x3c55c8(0x1d7)])!=null?_0x523a9a:this[_0x3c55c8(0x1be)],this[_0x3c55c8(0x20d)]=(_0x2ffc8e=_0x896375['backgroundColor'])!=null?_0x2ffc8e:this[_0x3c55c8(0x20d)],this[_0x3c55c8(0x304)]({'width':_0x896375[_0x3c55c8(0x149)],'height':_0x896375[_0x3c55c8(0x1d9)]});}[_0x121fa1(0x18c)](_0x4002ae){const _0x1200a7=_0x121fa1,{row:_0xf50bb,column:_0x4b3291}=_0x4002ae;if(_0xf50bb>=this[_0x1200a7(0x346)][_0x1200a7(0x341)]&&_0xf50bb<=this[_0x1200a7(0x346)][_0x1200a7(0x378)]&&_0x4b3291>=this[_0x1200a7(0x346)][_0x1200a7(0x27e)]&&_0x4b3291<=this[_0x1200a7(0x346)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x121fa1(0x374)](_0x2b2e1d){return!0x1;}['_draw'](_0x4a9f0a){const _0x38e2ea=_0x121fa1;p[_0x38e2ea(0x39d)][_0x38e2ea(0x26b)](_0x4a9f0a,{'width':this[_0x38e2ea(0x149)],'height':this['height'],'strokeWidth':mt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x38e2ea(0x20d)]}),this[_0x38e2ea(0x2c4)]&&(_0x4a9f0a[_0x38e2ea(0x15d)](),_0x4a9f0a[_0x38e2ea(0x2c2)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x38e2ea(0x267)?0x0:-0x14),ee[_0x38e2ea(0x26b)](_0x4a9f0a,{'text':this[_0x38e2ea(0x2dd)],'color':this['_color']}),_0x4a9f0a[_0x38e2ea(0x393)]());}}var Ct=Object[_0x121fa1(0x383)],pt=(_0xacca80,_0x1949f8,_0x491af2,_0x37b492)=>{const _0x207d57=_0x121fa1;for(var _0x3c067c=_0x37b492>0x1?void 0x0:_0x37b492?Ct(_0x1949f8,_0x491af2):_0x1949f8,_0x4faeb1=_0xacca80[_0x207d57(0x363)]-0x1,_0x483b07;_0x4faeb1>=0x0;_0x4faeb1--)(_0x483b07=_0xacca80[_0x4faeb1])&&(_0x3c067c=_0x483b07(_0x3c067c)||_0x3c067c);return _0x3c067c;},ae=(_0x422762,_0x4a7cd4)=>(_0x4b4f6,_0x14b7ba)=>_0x4a7cd4(_0x4b4f6,_0x14b7ba,_0x422762);const bt=0x1389;let ve=class extends a[_0x121fa1(0x189)]{constructor(_0x38c63d,_0x306536,_0x5b9cfb,_0x2eb156){const _0x2172de=_0x121fa1;super(),h(this,_0x2172de(0x17f),new Set()),h(this,_0x2172de(0x22e),null),(this[_0x2172de(0x205)]=_0x38c63d,this[_0x2172de(0x1c3)]=_0x306536,this[_0x2172de(0x157)]=_0x5b9cfb,this['_themeService']=_0x2eb156,this[_0x2172de(0x324)]());}[_0x121fa1(0x324)](){const _0x251e24=_0x121fa1;this[_0x251e24(0x1c3)][_0x251e24(0x33d)][_0x251e24(0x166)]($[_0x251e24(0x26c)](this[_0x251e24(0x347)]),$['switchMap'](_0x20f680=>{const _0x2bd22d=_0x251e24;if(_0x20f680){const _0x197d00=_0x20f680[_0x2bd22d(0x37b)];return d[_0x2bd22d(0x2aa)](this[_0x2bd22d(0x157)]['getCollabCursors$'](this[_0x2bd22d(0x205)][_0x2bd22d(0x39c)]),this[_0x2bd22d(0x126)]['currentTheme$'])[_0x2bd22d(0x166)]($[_0x2bd22d(0x287)](([_0x118957,_0x3af9c3])=>{const _0x4fcd45=_0x2bd22d,_0x353c18=new Map();return _0x118957[_0x4fcd45(0x397)]((_0x127190,_0x59c87f)=>{const _0x195c9f=_0x4fcd45;if(_0x127190[_0x195c9f(0x1b1)]===_0x197d00){const _0x4df97b={..._0x127190};_0x4df97b['color']=_0x3af9c3[_0x127190[_0x195c9f(0x23c)]],_0x353c18[_0x195c9f(0x26d)](_0x59c87f,_0x4df97b);}}),{'skeleton':_0x20f680,'cursors':_0x353c18};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x251e24(0x2c7)](({skeleton:_0x3340ad,cursors:_0x325334})=>{const _0x29b8bc=_0x251e24;this[_0x29b8bc(0x28a)](),_0x3340ad&&this[_0x29b8bc(0x16f)](_0x3340ad,_0x325334);}),this[_0x251e24(0x1c3)][_0x251e24(0x33d)]['subscribe'](_0x2d369a=>{const _0xfc047c=_0x251e24;if(_0x2d369a==null)return;const {skeleton:_0x4b064f}=_0x2d369a,{scene:_0x28589b}=this[_0xfc047c(0x205)];_0x28589b[_0xfc047c(0x312)][_0xfc047c(0x221)](a['debounce'](_0xdca75b=>{const _0x35bcae=_0xfc047c;var _0x4ddf70,_0x4a94ad;const {offsetX:_0x5cf0db,offsetY:_0x2adcd8}=_0xdca75b,{x:_0x1b2cd9,y:_0x3ab822}=_0x28589b['getRelativeToViewportCoord'](p['Vector2'][_0x35bcae(0x388)]([_0x5cf0db,_0x2adcd8])),{scaleX:_0x4f0ef8,scaleY:_0x134fa1}=_0x28589b['getAncestorScale'](),_0x3fa564=_0x28589b[_0x35bcae(0x254)](p[_0x35bcae(0x317)][_0x35bcae(0x207)]),_0x1b0e54=_0x28589b['getVpScrollXYInfoByPosToVp'](p[_0x35bcae(0x13a)][_0x35bcae(0x388)]([_0x1b2cd9,_0x3ab822]),_0x3fa564),_0x1fc64d=_0x4b064f[_0x35bcae(0x2fd)](_0x5cf0db,_0x2adcd8,_0x4f0ef8,_0x134fa1,_0x1b0e54);((_0x4ddf70=this[_0x35bcae(0x22e)])==null?void 0x0:_0x4ddf70[_0x35bcae(0x373)])===_0x1fc64d[_0x35bcae(0x373)]&&((_0x4a94ad=this[_0x35bcae(0x22e)])==null?void 0x0:_0x4a94ad[_0x35bcae(0x114)])===_0x1fc64d['row']||this['_cursors']['forEach'](_0x21f9b6=>{_0x21f9b6['onMouseMove'](_0x1fc64d);});},0x64));});}[_0x121fa1(0x16f)](_0x37a0eb,_0x579bd8){const _0x40fdf6=_0x121fa1;var _0x343403;const _0x46c606=(_0x343403=this[_0x40fdf6(0x1c3)][_0x40fdf6(0x217)]())==null?void 0x0:_0x343403[_0x40fdf6(0x1e9)];if(!_0x46c606)return;const _0x1bb18f=this[_0x40fdf6(0x332)]();if(!_0x1bb18f)return;this[_0x40fdf6(0x17f)]['forEach'](_0x4f9788=>{const _0x226ba7=_0x40fdf6;_0x4f9788[_0x226ba7(0x241)]();});const {scene:_0x5af4e0}=_0x1bb18f,_0x526366=Et(Array[_0x40fdf6(0x314)](_0x579bd8[_0x40fdf6(0x200)]()))[_0x40fdf6(0x287)](_0x5a3328=>{const _0x3af8ba=_0x40fdf6,{color:_0x1cfbad,range:_0x478cde,name:_0x29a552,selection:_0x1f8000,sheetID:_0x1d3645}=_0x5a3328,{startColumn:_0x3fb5a9,startRow:_0x5ab8c1,endColumn:_0x649745,endRow:_0x24b04e}=_0x478cde,_0x536dfd=X['getCoordByCell'](_0x5ab8c1,_0x3fb5a9,_0x5af4e0,_0x46c606),_0xad8c33=X[_0x3af8ba(0x23f)](_0x24b04e,_0x649745,_0x5af4e0,_0x46c606),{columnHeaderHeightAndMarginTop:_0x2372d2}=_0x46c606,{startX:_0x4a2679,startY:_0x1055b3}=_0x536dfd,{endX:_0xdb2d33,endY:_0x15ea84}=_0xad8c33,_0x3b105a=_0xdb2d33-_0x4a2679,_0x26a718=_0x15ea84-_0x1055b3,_0x1ec82b={'labelPosition':_0x1055b3-_0x2372d2>=q?_0x3af8ba(0x19c):_0x3af8ba(0x267),'sheetID':_0x1d3645,'range':_0x478cde,'color':_0x1cfbad,'name':_0x29a552,'selection':_0x1f8000,'left':_0x4a2679,'top':_0x1055b3,'width':_0x3b105a,'height':_0x26a718,'evented':!0x1,'zIndex':bt};return new we(_0x29a552,_0x1ec82b);});_0x5af4e0[_0x40fdf6(0x358)](_0x526366,gt),this[_0x40fdf6(0x17f)]=new Set(_0x526366);}[_0x121fa1(0x28a)](){const _0x10770f=_0x121fa1;var _0x203ca7;(_0x203ca7=this[_0x10770f(0x17f)])==null||_0x203ca7[_0x10770f(0x397)](_0x4fdbbe=>_0x4fdbbe[_0x10770f(0x29c)]());}[_0x121fa1(0x332)](){const _0x470dc3=_0x121fa1;return X[_0x470dc3(0x229)](this[_0x470dc3(0x205)][_0x470dc3(0x1b6)],this['_context']);}};ve=pt([ae(0x1,a[_0x121fa1(0x227)](X[_0x121fa1(0x133)])),ae(0x2,a[_0x121fa1(0x227)](x)),ae(0x3,a[_0x121fa1(0x227)](a['ThemeService']))],ve);function Et(_0x224617){const _0x4ed899=_0x121fa1,_0x11b737=new Map();return _0x224617['forEach'](_0x510d04=>{const _0x3f7074=_0x2681;if(_0x11b737[_0x3f7074(0x295)](_0x510d04[_0x3f7074(0x1fa)])){const _0x104d3c=_0x11b737['get'](_0x510d04[_0x3f7074(0x1fa)]);_0x104d3c[_0x3f7074(0x158)]+=',\x20'+_0x510d04[_0x3f7074(0x158)];}else _0x11b737['set'](_0x510d04[_0x3f7074(0x1fa)],_0x510d04);}),Array[_0x4ed899(0x314)](_0x11b737[_0x4ed899(0x200)]());}var E=function(){const _0x10a8d7=_0x121fa1;return E=Object[_0x10a8d7(0x2ea)]||function(_0x29caf0){const _0x205790=_0x10a8d7;for(var _0x1da26d,_0x2383b2=0x1,_0x417345=arguments[_0x205790(0x363)];_0x2383b2<_0x417345;_0x2383b2++){_0x1da26d=arguments[_0x2383b2];for(var _0x24a95f in _0x1da26d)Object[_0x205790(0x2a0)]['hasOwnProperty'][_0x205790(0x25e)](_0x1da26d,_0x24a95f)&&(_0x29caf0[_0x24a95f]=_0x1da26d[_0x24a95f]);}return _0x29caf0;},E[_0x10a8d7(0x194)](this,arguments);},Tt=function(_0x16bc8f,_0x39c5c9){const _0x2d8202=_0x121fa1;var _0x177ace={};for(var _0xfa436b in _0x16bc8f)Object['prototype'][_0x2d8202(0x270)][_0x2d8202(0x25e)](_0x16bc8f,_0xfa436b)&&_0x39c5c9[_0x2d8202(0x115)](_0xfa436b)<0x0&&(_0x177ace[_0xfa436b]=_0x16bc8f[_0xfa436b]);if(_0x16bc8f!=null&&typeof Object['getOwnPropertySymbols']==_0x2d8202(0x2eb)){for(var _0x38a98b=0x0,_0xfa436b=Object[_0x2d8202(0x269)](_0x16bc8f);_0x38a98b<_0xfa436b[_0x2d8202(0x363)];_0x38a98b++)_0x39c5c9['indexOf'](_0xfa436b[_0x38a98b])<0x0&&Object[_0x2d8202(0x2a0)][_0x2d8202(0x379)][_0x2d8202(0x25e)](_0x16bc8f,_0xfa436b[_0x38a98b])&&(_0x177ace[_0xfa436b[_0x38a98b]]=_0x16bc8f[_0xfa436b[_0x38a98b]]);}return _0x177ace;},pe=M['forwardRef'](function(_0x9f4f40,_0x497c00){const _0x266420=_0x121fa1;var _0x2bcf59=_0x9f4f40[_0x266420(0x2a9)],_0x2f2ca8=_0x9f4f40['id'],_0x348dfa=_0x9f4f40['className'],_0x570470=_0x9f4f40[_0x266420(0x2cb)],_0x11d645=Tt(_0x9f4f40,['icon','id',_0x266420(0x231),_0x266420(0x2cb)]),_0x29f785=_0x266420(0x10e)['concat'](_0x2f2ca8,'\x20')[_0x266420(0x11d)](_0x348dfa||'')[_0x266420(0x10c)](),_0x565611=M[_0x266420(0x2c1)]('_'[_0x266420(0x11d)](Dt()));return Ae(_0x2bcf59,''['concat'](_0x2f2ca8),{'defIds':_0x2bcf59[_0x266420(0x29a)],'idSuffix':_0x565611[_0x266420(0x15f)]},E({'ref':_0x497c00,'className':_0x29f785},_0x11d645),_0x570470);});function Ae(_0x304133,_0x3bb3de,_0x4de193,_0x1ead42,_0x11f247){const _0x744e92=_0x121fa1;return M[_0x744e92(0x2d8)](_0x304133[_0x744e92(0x197)],E(E({'key':_0x3bb3de},Ot(_0x304133,_0x4de193,_0x11f247)),_0x1ead42),(Rt(_0x304133,_0x4de193)[_0x744e92(0x1f5)]||[])['map'](function(_0x5cbe2f,_0x5819ca){const _0x4bbcbd=_0x744e92;return Ae(_0x5cbe2f,''[_0x4bbcbd(0x11d)](_0x3bb3de,'-')[_0x4bbcbd(0x11d)](_0x304133[_0x4bbcbd(0x197)],'-')[_0x4bbcbd(0x11d)](_0x5819ca),_0x4de193,void 0x0,_0x11f247);}));}function Ot(_0x4c26bb,_0x47e4a2,_0x5ea1dc){const _0x38b47b=_0x121fa1;var _0x4c904f=E({},_0x4c26bb[_0x38b47b(0x1f6)]);_0x5ea1dc!=null&&_0x5ea1dc[_0x38b47b(0x208)]&&_0x4c904f['fill']===_0x38b47b(0x208)&&(_0x4c904f[_0x38b47b(0x315)]=_0x5ea1dc[_0x38b47b(0x208)]),_0x4c26bb[_0x38b47b(0x197)]===_0x38b47b(0x22c)&&_0x4c904f['id']&&(_0x4c904f['id']=_0x4c904f['id']+_0x47e4a2['idSuffix']),Object[_0x38b47b(0x181)](_0x4c904f)[_0x38b47b(0x397)](function(_0x1382df){const _0x54b7a0=_0x38b47b;var _0xa07fe6=_0x1382df[0x0],_0x4f4e6a=_0x1382df[0x1];_0xa07fe6==='mask'&&typeof _0x4f4e6a==_0x54b7a0(0x18b)&&(_0x4c904f[_0xa07fe6]=_0x4f4e6a[_0x54b7a0(0x2ca)](/url\(#(.*)\)/,_0x54b7a0(0x1ec)[_0x54b7a0(0x11d)](_0x47e4a2['idSuffix'],')')));});var _0x3d5d9a=_0x47e4a2[_0x38b47b(0x29a)];return!_0x3d5d9a||_0x3d5d9a[_0x38b47b(0x363)]===0x0||(_0x4c26bb['tag']===_0x38b47b(0x26f)&&_0x4c904f[_0x38b47b(0x12d)]&&(_0x4c904f['xlink:href']=_0x4c904f['xlink:href']+_0x47e4a2[_0x38b47b(0x30e)]),Object[_0x38b47b(0x181)](_0x4c904f)[_0x38b47b(0x397)](function(_0x1f72a2){const _0x28cf58=_0x38b47b;var _0x4d0207=_0x1f72a2[0x0],_0x382664=_0x1f72a2[0x1];typeof _0x382664==_0x28cf58(0x18b)&&(_0x4c904f[_0x4d0207]=_0x382664[_0x28cf58(0x2ca)](/url\(#(.*)\)/,'url(#$1'[_0x28cf58(0x11d)](_0x47e4a2[_0x28cf58(0x30e)],')')));})),_0x4c904f;}function Rt(_0x51f89c,_0x1dfc66){const _0x286239=_0x121fa1;var _0x367846,_0x1c4c8e=_0x1dfc66[_0x286239(0x29a)];return!_0x1c4c8e||_0x1c4c8e['length']===0x0?_0x51f89c:_0x51f89c['tag']==='defs'&&(!((_0x367846=_0x51f89c[_0x286239(0x1f5)])===null||_0x367846===void 0x0)&&_0x367846['length'])?E(E({},_0x51f89c),{'children':_0x51f89c[_0x286239(0x1f5)][_0x286239(0x287)](function(_0x504dce){const _0x16b606=_0x286239;return typeof _0x504dce[_0x16b606(0x1f6)]['id']=='string'&&_0x1c4c8e&&_0x1c4c8e[_0x16b606(0x115)](_0x504dce['attrs']['id'])>-0x1?E(E({},_0x504dce),{'attrs':E(E({},_0x504dce[_0x16b606(0x1f6)]),{'id':_0x504dce[_0x16b606(0x1f6)]['id']+_0x1dfc66[_0x16b606(0x30e)]})}):_0x504dce;})}):_0x51f89c;}function Dt(){const _0x5a5b00=_0x121fa1;return Math[_0x5a5b00(0x1dd)]()[_0x5a5b00(0x2a2)](0x24)['substring'](0x2,0x8);}pe[_0x121fa1(0x23d)]='UniverIcon';var Ut={'tag':'svg','attrs':{'fill':_0x121fa1(0x2b5),'viewBox':_0x121fa1(0x345),'width':_0x121fa1(0x171),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x121fa1(0x385),'attrs':{'stroke':_0x121fa1(0x11f),'d':_0x121fa1(0x212),'strokeLinecap':'round','strokeLinejoin':_0x121fa1(0x127),'strokeWidth':1.2}}]},{'tag':_0x121fa1(0x130),'attrs':{},'children':[{'tag':_0x121fa1(0x372),'attrs':{'id':_0x121fa1(0x2b0)},'children':[{'tag':_0x121fa1(0x385),'attrs':{'fill':_0x121fa1(0x28e),'d':_0x121fa1(0x1a3)}}]}]}],'defIds':[_0x121fa1(0x2b0)]},ye=M[_0x121fa1(0x291)](function(_0x56d2c3,_0x37d7b8){const _0x41e861=_0x121fa1;return M[_0x41e861(0x2d8)](pe,Object['assign']({},_0x56d2c3,{'id':_0x41e861(0x11c),'ref':_0x37d7b8,'icon':Ut}));});ye[_0x121fa1(0x23d)]=_0x121fa1(0x218);var Nt={'tag':_0x121fa1(0x16d),'attrs':{'fill':_0x121fa1(0x2b5),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x121fa1(0x171)},'children':[{'tag':'g','attrs':{'clipPath':_0x121fa1(0x14c)},'children':[{'tag':_0x121fa1(0x385),'attrs':{'stroke':_0x121fa1(0x11f),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x121fa1(0x127),'strokeLinejoin':_0x121fa1(0x127),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x121fa1(0x372),'attrs':{'id':_0x121fa1(0x141)},'children':[{'tag':'path','attrs':{'fill':_0x121fa1(0x28e),'d':_0x121fa1(0x1a3),'transform':_0x121fa1(0x2e0)}}]}]}],'defIds':['on-line-single_clip0_910_349']},$e=M[_0x121fa1(0x291)](function(_0x3a62bc,_0x25f125){const _0x1c0157=_0x121fa1;return M[_0x1c0157(0x2d8)](pe,Object[_0x1c0157(0x2ea)]({},_0x3a62bc,{'id':_0x1c0157(0x1ab),'ref':_0x25f125,'icon':Nt}));});$e[_0x121fa1(0x23d)]=_0x121fa1(0x190);function Mt(_0x3f1a9b){const _0x5304cf=_0x121fa1;switch(_0x3f1a9b){case u[_0x5304cf(0x359)]['OFFLINE']:return _0x5304cf(0x20b);case u['CollaborationStatus'][_0x5304cf(0x11e)]:return _0x5304cf(0x36d);case u['CollaborationStatus'][_0x5304cf(0x2d2)]:return _0x5304cf(0x2d4);case u[_0x5304cf(0x359)][_0x5304cf(0x113)]:return'collabStatus.notCollab';case u[_0x5304cf(0x359)][_0x5304cf(0x2e2)]:case u['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case u[_0x5304cf(0x359)]['SYNCED']:case u[_0x5304cf(0x359)][_0x5304cf(0x2d0)]:return _0x5304cf(0x2c6);}}function xe(_0x2ae7c5){const _0x4f0cb1=_0x121fa1,{status$:_0x3606f8}=_0x2ae7c5,_0x3ef7ef=T['useObservable'](_0x3606f8,u['CollaborationStatus'][_0x4f0cb1(0x113)]),_0x141977=T['useDependency'](a[_0x4f0cb1(0x28f)]),_0x104d74=T[_0x4f0cb1(0x22a)](u[_0x4f0cb1(0x2d3)]),_0x26bb4e=_0x3ef7ef!==u['CollaborationStatus'][_0x4f0cb1(0x1e3)],_0x35bbb7=_0x141977['t'](Mt(_0x3ef7ef)),_0xdb0e41=_0x26bb4e?P[_0x4f0cb1(0x228)]($e,{}):P['jsx'](ye,{}),_0x4fd62f=M[_0x4f0cb1(0x1cd)](()=>{_0x26bb4e||_0x104d74['reconnect']();},[_0x26bb4e,_0x104d74]);function _0xe2ab99(){const _0x19974a=_0x4f0cb1;return P[_0x19974a(0x264)](_0x19974a(0x23e),{'className':_0x19974a(0x2b6),'onClick':_0x4fd62f,'children':[P[_0x19974a(0x228)]('div',{'className':D[_0x19974a(0x38b)](_0x19974a(0x1db),_0x26bb4e?'univer-text-green-500':_0x19974a(0x311)),'children':_0xdb0e41}),P[_0x19974a(0x228)](_0x19974a(0x23e),{'className':_0x19974a(0x153),'children':_0x35bbb7})]});}return _0x26bb4e?_0xe2ab99():P[_0x4f0cb1(0x228)](D[_0x4f0cb1(0x369)],{'title':_0x141977['t'](_0x4f0cb1(0x2df)),'children':_0xe2ab99()});}var Lt=Object[_0x121fa1(0x383)],Pt=(_0x177ed6,_0x2fda10,_0x51ffdf,_0x187a9c)=>{for(var _0x4c32f9=_0x187a9c>0x1?void 0x0:_0x187a9c?Lt(_0x2fda10,_0x51ffdf):_0x2fda10,_0x4ecbe2=_0x177ed6['length']-0x1,_0x56b20a;_0x4ecbe2>=0x0;_0x4ecbe2--)(_0x56b20a=_0x177ed6[_0x4ecbe2])&&(_0x4c32f9=_0x56b20a(_0x4c32f9)||_0x4c32f9);return _0x4c32f9;},V=(_0x3c41f6,_0x3259d7)=>(_0x147c10,_0x267546)=>_0x3259d7(_0x147c10,_0x267546,_0x3c41f6);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x121fa1(0x28d)]{constructor(_0x5046f4,_0x4f6e9f,_0x5decc3,_0x205171){const _0x2bde27=_0x121fa1;super(),h(this,_0x2bde27(0x1c8),new d['BehaviorSubject'](u[_0x2bde27(0x359)][_0x2bde27(0x113)])),(this[_0x2bde27(0x32e)]=_0x5046f4,this[_0x2bde27(0x2e3)]=_0x4f6e9f,this[_0x2bde27(0x1bd)]=_0x5decc3,this[_0x2bde27(0x175)]=_0x205171,this[_0x2bde27(0x245)](),this[_0x2bde27(0x1ea)]());}[_0x121fa1(0x1ea)](){const _0x2e9171=_0x121fa1;this[_0x2e9171(0x337)](this[_0x2e9171(0x32e)][_0x2e9171(0x25f)][_0x2e9171(0x166)](d[_0x2e9171(0x35e)](()=>{const _0x20dbb6=_0x2e9171,_0x28f952=this['_univerInstanceService'][_0x20dbb6(0x1b5)]();return _0x28f952?this[_0x20dbb6(0x1bd)][_0x20dbb6(0x38d)](_0x28f952['getUnitId']()):d['of'](null);}),d[_0x2e9171(0x35e)](_0x37eb91=>_0x37eb91?_0x37eb91[_0x2e9171(0x37d)]:d['of'](u[_0x2e9171(0x359)]['NOT_COLLAB'])))[_0x2e9171(0x2c7)](_0x49a8f5=>{const _0x265195=_0x2e9171;this['_status$'][_0x265195(0x2fb)](_0x49a8f5);}));}['_initStatusComponent'](){const _0x10c848=_0x121fa1;this[_0x10c848(0x337)](this['_uiPartsService'][_0x10c848(0x186)](T['BuiltInUIPart'][_0x10c848(0x322)],()=>T['connectInjector'](wt({'status$':this[_0x10c848(0x1c8)][_0x10c848(0x35c)]()}),this[_0x10c848(0x2e3)])));}},exports[_0x121fa1(0x285)]=Pt([V(0x0,a[_0x121fa1(0x1a0)]),V(0x1,a[_0x121fa1(0x227)](a[_0x121fa1(0x123)])),V(0x2,a[_0x121fa1(0x227)](u['CollaborationController'])),V(0x3,T[_0x121fa1(0x225)])],exports[_0x121fa1(0x285)]);function wt(_0x17e508){const {status$:_0x164e1c}=_0x17e508;return function(){const _0xb9b442=_0x2681;return P[_0xb9b442(0x228)](xe,{'status$':_0x164e1c});};}var At=Object[_0x121fa1(0x383)],yt=(_0x1538d7,_0x713473,_0x3c73d5,_0x172ee7)=>{const _0x4cd002=_0x121fa1;for(var _0x56a8ce=_0x172ee7>0x1?void 0x0:_0x172ee7?At(_0x713473,_0x3c73d5):_0x713473,_0xdb4f57=_0x1538d7[_0x4cd002(0x363)]-0x1,_0x14f955;_0xdb4f57>=0x0;_0xdb4f57--)(_0x14f955=_0x1538d7[_0xdb4f57])&&(_0x56a8ce=_0x14f955(_0x56a8ce)||_0x56a8ce);return _0x56a8ce;},y=(_0x558386,_0x4bdf57)=>(_0x51d0ef,_0x5d4a94)=>_0x4bdf57(_0x51d0ef,_0x5d4a94,_0x558386);let K=class extends a['Disposable']{constructor(_0x4d62bc,_0x4c4138,_0x2a0abc,_0x403911,_0x3c25d7,_0x3d6bb3){const _0x144ba3=_0x121fa1;super(),this[_0x144ba3(0x2cc)]=_0x4d62bc,this[_0x144ba3(0x1b9)]=_0x4c4138,this[_0x144ba3(0x1cc)]=_0x2a0abc,this['_messageService']=_0x403911,this[_0x144ba3(0x33b)]=_0x3c25d7,this[_0x144ba3(0x365)]=_0x3d6bb3,this[_0x144ba3(0x292)](),this['_initEvent']();}[_0x121fa1(0x292)](){const _0x4ffb2e=_0x121fa1;this[_0x4ffb2e(0x337)](this['_beforeCloseService'][_0x4ffb2e(0x36f)](()=>{const _0x513278=_0x4ffb2e;if(this[_0x513278(0x1b9)][_0x513278(0x2bd)]['size'])return this['_localeService']['t'](_0x513278(0x260));}));}[_0x121fa1(0x2ad)](){const _0x372887=_0x121fa1;this[_0x372887(0x337)](this['_collaborationUIEventService'][_0x372887(0x323)][_0x372887(0x2c7)](_0x1b7535=>{const _0x581366=_0x372887;_0x1b7535['id']===u[_0x581366(0x180)][_0x581366(0x1e8)]&&this[_0x581366(0x193)][_0x581366(0x1a2)]({'type':D[_0x581366(0x2bb)]['Warning'],'content':this[_0x581366(0x365)]['t'](_0x581366(0x33e))}),_0x1b7535['id']===u['CollaborationUIEventId'][_0x581366(0x371)]&&this[_0x581366(0x193)]['show']({'type':D[_0x581366(0x2bb)]['Warning'],'content':this[_0x581366(0x365)]['t']('collaboration.closeRoom')}),_0x1b7535['id']===u[_0x581366(0x180)][_0x581366(0x162)]&&this[_0x581366(0x33b)][_0x581366(0x1a2)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x581366(0x365)]['t'](_0x581366(0x10f)),'type':_0x581366(0x2cf),'duration':0x0}),_0x1b7535['id']===u[_0x581366(0x180)]['CONFLICT']&&this[_0x581366(0x193)]['show']({'type':D['MessageType'][_0x581366(0x22f)],'content':this[_0x581366(0x365)]['t'](_0x581366(0x34f))+'('+_0x1b7535['data']+')'}),_0x1b7535['id']===u[_0x581366(0x180)][_0x581366(0x1c2)]&&this[_0x581366(0x193)][_0x581366(0x1a2)]({'type':D[_0x581366(0x2bb)][_0x581366(0x355)],'content':this[_0x581366(0x365)]['t'](_0x1b7535[_0x581366(0x1e2)]||'')}),_0x1b7535['id']===u['CollaborationUIEventId'][_0x581366(0x110)]&&this[_0x581366(0x193)][_0x581366(0x1a2)]({'type':D[_0x581366(0x2bb)][_0x581366(0x355)],'content':this[_0x581366(0x365)]['t']('session.will-retry')}),_0x1b7535['id']===u['CollaborationUIEventId'][_0x581366(0x27b)]&&this[_0x581366(0x193)][_0x581366(0x1a2)]({'type':D[_0x581366(0x2bb)][_0x581366(0x22f)],'content':this[_0x581366(0x365)]['t'](_0x581366(0x179))}),_0x1b7535['id']===u[_0x581366(0x180)][_0x581366(0x20e)]&&this[_0x581366(0x193)][_0x581366(0x1a2)]({'type':D['MessageType'][_0x581366(0x22f)],'content':this['_localeService']['t'](_0x581366(0x1f7))});}));}};K=yt([y(0x0,T[_0x121fa1(0x252)]),y(0x1,u[_0x121fa1(0x183)]),y(0x2,a['Inject'](u[_0x121fa1(0x271)])),y(0x3,T[_0x121fa1(0x233)]),y(0x4,T[_0x121fa1(0x1df)]),y(0x5,a[_0x121fa1(0x227)](a['LocaleService']))],K);const $t=_0x121fa1(0x12f),Ue={},be=a[_0x121fa1(0x140)](_0x121fa1(0x38e));var xt=Object[_0x121fa1(0x383)],jt=(_0x3b5865,_0x35ff65,_0x36343e,_0x44b4fd)=>{const _0x123c44=_0x121fa1;for(var _0x2c90ca=_0x44b4fd>0x1?void 0x0:_0x44b4fd?xt(_0x35ff65,_0x36343e):_0x35ff65,_0x5da1da=_0x3b5865[_0x123c44(0x363)]-0x1,_0x38a490;_0x5da1da>=0x0;_0x5da1da--)(_0x38a490=_0x3b5865[_0x5da1da])&&(_0x2c90ca=_0x38a490(_0x2c90ca)||_0x2c90ca);return _0x2c90ca;},H=(_0x5239ef,_0x4d9dbe)=>(_0x4ccdc7,_0x49ec4b)=>_0x4d9dbe(_0x4ccdc7,_0x49ec4b,_0x5239ef);exports[_0x121fa1(0x2bf)]=class extends a[_0x121fa1(0x189)]{constructor(_0x362675,_0x1c9c00,_0x5994fd,_0x29fba1,_0x51832e){const _0x531127=_0x121fa1;super(),this[_0x531127(0x350)]=_0x362675,this[_0x531127(0x2ab)]=_0x1c9c00,this[_0x531127(0x35a)]=_0x5994fd,this[_0x531127(0x1b8)]=_0x29fba1,_0x51832e?_0x51832e==null||_0x51832e[_0x531127(0x321)]()[_0x531127(0x1bf)](()=>this[_0x531127(0x324)]()):(this[_0x531127(0x2ab)][_0x531127(0x37e)](_0x531127(0x117),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x531127(0x324)]());}async[_0x121fa1(0x324)](){const _0x45dfca=_0x121fa1,_0x157dd7=this['_urlService'][_0x45dfca(0x22b)](_0x45dfca(0x1b6)),_0x3f0636=this[_0x45dfca(0x350)][_0x45dfca(0x22b)](_0x45dfca(0x31e)),_0xbf07c7=this[_0x45dfca(0x350)][_0x45dfca(0x22b)](_0x45dfca(0x120));if(!_0x157dd7||!_0x3f0636){this['_logService'][_0x45dfca(0x37e)]('[CollaborationDataLoaderController]',_0x45dfca(0x36c));return;}const _0x29c65f=await this[_0x45dfca(0x1b8)][_0x45dfca(0x1c5)](_0x157dd7,Number(_0x3f0636),_0xbf07c7);_0x29c65f&&_0x29c65f instanceof a[_0x45dfca(0x209)]&&this[_0x45dfca(0x386)](_0x29c65f);}async[_0x121fa1(0x386)](_0x2c507d){const _0x3ad5c6=_0x121fa1;await this[_0x3ad5c6(0x19a)](_0x2c507d),_0x2c507d[_0x3ad5c6(0x39a)][_0x3ad5c6(0x166)](d['takeUntil'](this['dispose$']))[_0x3ad5c6(0x2c7)](_0xd4545d=>{const _0x2663bf=_0x3ad5c6;_0xd4545d&&this[_0x2663bf(0x1de)](_0xd4545d);}),this[_0x3ad5c6(0x350)][_0x3ad5c6(0x27d)]['pipe'](d[_0x3ad5c6(0x26c)](this[_0x3ad5c6(0x347)]))[_0x3ad5c6(0x2c7)](()=>this[_0x3ad5c6(0x19a)](_0x2c507d));}[_0x121fa1(0x1de)](_0x5ba616,_0xfe3dc1=!0x1){const _0x1d24ef=_0x121fa1,_0x573c58=this[_0x1d24ef(0x350)][_0x1d24ef(0x22b)](_0x1d24ef(0x120));_0x5ba616[_0x1d24ef(0x191)]()!==_0x573c58&&this[_0x1d24ef(0x350)][_0x1d24ef(0x184)](_0x1d24ef(0x120),_0x5ba616[_0x1d24ef(0x191)](),_0xfe3dc1);}async[_0x121fa1(0x19a)](_0x2f4b16){const _0x489ae9=_0x121fa1;var _0x10014b;const _0xc29add=this[_0x489ae9(0x350)]['getParam'](_0x489ae9(0x120));if(!_0xc29add||!_0x2f4b16[_0x489ae9(0x13c)](_0xc29add)){const _0x32daca=_0x2f4b16[_0x489ae9(0x2b4)]()[0x0],_0x48dc6b=_0x2f4b16[_0x489ae9(0x13c)](_0x32daca);if(!_0x48dc6b)return;this[_0x489ae9(0x1de)](_0x48dc6b,!0x0),await this[_0x489ae9(0x35a)][_0x489ae9(0x2ff)](g[_0x489ae9(0x24f)]['id'],{'unitId':_0x2f4b16[_0x489ae9(0x2cd)](),'subUnitId':_0x32daca});return;}((_0x10014b=_0x2f4b16['getActiveSheet']())==null?void 0x0:_0x10014b[_0x489ae9(0x191)]())!==_0xc29add&&await this['_commandService']['executeCommand'](g[_0x489ae9(0x24f)]['id'],{'unitId':_0x2f4b16[_0x489ae9(0x2cd)](),'subUnitId':_0xc29add});}},exports[_0x121fa1(0x2bf)]=jt([H(0x0,be),H(0x1,a['ILogService']),H(0x2,a[_0x121fa1(0x256)]),H(0x3,a[_0x121fa1(0x227)](u[_0x121fa1(0x1a6)])),H(0x4,a[_0x121fa1(0x30c)](qe[_0x121fa1(0x1e1)]))],exports[_0x121fa1(0x2bf)]);var Bt=Object['getOwnPropertyDescriptor'],kt=(_0x51f0fc,_0x4a975e,_0x3d1051,_0x1129df)=>{const _0x25881e=_0x121fa1;for(var _0x91315f=_0x1129df>0x1?void 0x0:_0x1129df?Bt(_0x4a975e,_0x3d1051):_0x4a975e,_0x1f4384=_0x51f0fc[_0x25881e(0x363)]-0x1,_0xecd8b9;_0x1f4384>=0x0;_0x1f4384--)(_0xecd8b9=_0x51f0fc[_0x1f4384])&&(_0x91315f=_0xecd8b9(_0x91315f)||_0x91315f);return _0x91315f;},ce=(_0x3c2bc0,_0xcb196a)=>(_0x3c8efa,_0x2f7877)=>_0xcb196a(_0x3c8efa,_0x2f7877,_0x3c2bc0);let z=class{constructor(_0x4fd4cb,_0x3420dd,_0x28b406){const _0x10f092=_0x121fa1;this['_injector']=_0x4fd4cb,this[_0x10f092(0x366)]=_0x3420dd,this[_0x10f092(0x282)]=_0x28b406;}['transformIMECache'](_0x5adc7b){const _0x2a69e6=_0x121fa1;this[_0x2a69e6(0x360)](_0x5adc7b),this[_0x2a69e6(0x178)](_0x5adc7b);}[_0x121fa1(0x195)](_0x13d863){const _0x3b0fbe=_0x121fa1,{unitID:_0x558c87}=_0x13d863,_0x29a8fe=this[_0x3b0fbe(0x282)][_0x3b0fbe(0x214)](_0x558c87)[_0x3b0fbe(0x2db)](b[_0x3b0fbe(0x18a)]),{redoCache:_0x5d287d}=_0x29a8fe['getUndoRedoMutationParamsCache']();if(_0x5d287d[_0x3b0fbe(0x363)]===0x0)return _0x13d863;let _0x3fd4f8=a['Tools'][_0x3b0fbe(0x112)](_0x13d863[_0x3b0fbe(0x288)][0x0]);for(let _0x48ac28=0x0;_0x48ac28<_0x5d287d['length'];_0x48ac28++){const _0x1b69d7={'id':_0x3b0fbe(0x2e9),'params':{..._0x5d287d[_0x48ac28]}},_0x45c1cb=this[_0x3b0fbe(0x366)][_0x3b0fbe(0x1cb)](_0x3fd4f8,_0x1b69d7,!0x1);if(m[_0x3b0fbe(0x335)](_0x45c1cb))throw _0x45c1cb[_0x3b0fbe(0x2cf)];_0x3fd4f8=_0x45c1cb['m1Prime'];}return{...a[_0x3b0fbe(0x2b3)][_0x3b0fbe(0x112)](_0x13d863),'mutations':[_0x3fd4f8]};}['_transformUndoRedoStack'](_0x1fcd7a){const _0x2e1d5d=_0x121fa1,{unitID:_0x245bf0}=_0x1fcd7a,_0x300c9d=this[_0x2e1d5d(0x282)][_0x2e1d5d(0x214)](_0x245bf0)[_0x2e1d5d(0x2db)](b['DocIMEInputManagerService']),{undoCache:_0x1d2eb3,redoCache:_0x254441}=_0x300c9d[_0x2e1d5d(0x263)]();if(_0x1d2eb3[_0x2e1d5d(0x363)]===0x0||_0x254441[_0x2e1d5d(0x363)]===0x0)return;const _0x4d023e=[],_0x4fabe4=[];let _0x36baa7=a[_0x2e1d5d(0x2b3)][_0x2e1d5d(0x112)](_0x1fcd7a[_0x2e1d5d(0x288)][0x0]),_0x589cd4=a['Tools']['deepClone'](_0x1fcd7a[_0x2e1d5d(0x288)][0x0]);for(let _0x130a42=_0x1d2eb3[_0x2e1d5d(0x363)]-0x1;_0x130a42>=0x0;_0x130a42--){const _0x3b3d41={'id':_0x2e1d5d(0x2e9),'params':{..._0x1d2eb3[_0x130a42]}},_0x375072={'id':_0x2e1d5d(0x2e9),'params':{..._0x254441[_0x130a42]}},_0x5996ee=this[_0x2e1d5d(0x366)][_0x2e1d5d(0x1cb)](_0x36baa7,_0x3b3d41,!0x1),_0x2f469f=this[_0x2e1d5d(0x366)][_0x2e1d5d(0x1cb)](_0x589cd4,_0x375072,!0x1);if(m[_0x2e1d5d(0x335)](_0x5996ee))throw _0x5996ee['error'];if(m['isTransformMutationFailure'](_0x2f469f))throw _0x2f469f['error'];_0x4d023e[_0x2e1d5d(0x1dc)](_0x5996ee[_0x2e1d5d(0x1e7)][_0x2e1d5d(0x398)]),_0x4fabe4[_0x2e1d5d(0x1dc)](_0x2f469f['m2Prime'][_0x2e1d5d(0x398)]),_0x36baa7=_0x5996ee['m1Prime'],_0x589cd4=_0x2f469f[_0x2e1d5d(0x277)];}_0x300c9d[_0x2e1d5d(0x1e0)]({'undoCache':_0x4d023e,'redoCache':_0x4fabe4});}[_0x121fa1(0x178)](_0x43c726){const _0x57be27=_0x121fa1,{unitID:_0x2edbaa}=_0x43c726,_0x3052c8=this[_0x57be27(0x282)][_0x57be27(0x214)](_0x2edbaa)[_0x57be27(0x2db)](b[_0x57be27(0x18a)]),_0x5a2760=_0x3052c8[_0x57be27(0x2f2)]();if(_0x5a2760==null)return;const _0x54e6b1=[{'id':_0x57be27(0x2e9),'params':{'unitId':_0x43c726[_0x57be27(0x173)],'actions':null,'textRanges':[_0x5a2760]}}],_0xb7cec5=this[_0x57be27(0x366)][_0x57be27(0x28b)](_0x43c726,_0x54e6b1);if(!m[_0x57be27(0x298)](_0xb7cec5))throw _0xb7cec5[_0x57be27(0x2cf)];const _0x7152e0=_0xb7cec5[_0x57be27(0x1e7)][0x0]['params'][_0x57be27(0x2a3)];Array['isArray'](_0x7152e0)&&_0x7152e0[_0x57be27(0x363)]&&_0x3052c8[_0x57be27(0x18e)](_0x7152e0[0x0]);}};z=kt([ce(0x0,a[_0x121fa1(0x227)](a[_0x121fa1(0x123)])),ce(0x1,m['ITransformService']),ce(0x2,p[_0x121fa1(0x1ce)])],z);var Ht=Object[_0x121fa1(0x383)],Ft=(_0x5d6cd5,_0x1ca9de,_0x123d20,_0x356ee0)=>{const _0x581731=_0x121fa1;for(var _0x4d765e=_0x356ee0>0x1?void 0x0:_0x356ee0?Ht(_0x1ca9de,_0x123d20):_0x1ca9de,_0x588aa1=_0x5d6cd5[_0x581731(0x363)]-0x1,_0x5ad580;_0x588aa1>=0x0;_0x588aa1--)(_0x5ad580=_0x5d6cd5[_0x588aa1])&&(_0x4d765e=_0x5ad580(_0x4d765e)||_0x4d765e);return _0x4d765e;},le=(_0x3e20ba,_0x337314)=>(_0x21bf33,_0x2f0c81)=>_0x337314(_0x21bf33,_0x2f0c81,_0x3e20ba);let J=class{constructor(_0x3e0b42,_0x23973a,_0x18ad75){const _0x4045a2=_0x121fa1;this[_0x4045a2(0x2e3)]=_0x3e0b42,this[_0x4045a2(0x366)]=_0x23973a,this[_0x4045a2(0x136)]=_0x18ad75;}[_0x121fa1(0x20c)](_0x37f996){const _0x485380=_0x121fa1;this[_0x485380(0x224)](_0x37f996);}[_0x121fa1(0x195)](_0x5224b3){const _0x25501a=_0x121fa1,{unitID:_0x4899de}=_0x5224b3,{collaboration:_0x1a0255}=this[_0x25501a(0x136)][_0x25501a(0x35d)](_0x4899de);if(_0x1a0255['length']===0x0)return _0x5224b3;let _0xc2fd8e=a[_0x25501a(0x2b3)][_0x25501a(0x112)](_0x5224b3[_0x25501a(0x288)][0x0]);for(let _0x494d1e=0x0;_0x494d1e<_0x1a0255[_0x25501a(0x363)];_0x494d1e++){const _0x32bd91={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1a0255[_0x494d1e][_0x25501a(0x39c)],..._0x1a0255[_0x494d1e]['redoState']}},_0x344776=this[_0x25501a(0x366)][_0x25501a(0x1cb)](_0xc2fd8e,_0x32bd91,!0x1);if(m[_0x25501a(0x335)](_0x344776))throw _0x344776['error'];_0xc2fd8e=_0x344776['m1Prime'];}return{...a['Tools'][_0x25501a(0x112)](_0x5224b3),'mutations':[_0xc2fd8e]};}[_0x121fa1(0x224)](_0x2b5636){const _0xf25a63=_0x121fa1,{unitID:_0x30cd7f}=_0x2b5636,{history:_0x426fca,collaboration:_0x3899a9}=this[_0xf25a63(0x136)][_0xf25a63(0x35d)](_0x30cd7f);if(_0x426fca[_0xf25a63(0x363)]===0x0&&_0x3899a9[_0xf25a63(0x363)]===0x0)return;const _0x5ddc9a=[],_0x5778d5=[];let _0x532fcf=a[_0xf25a63(0x2b3)][_0xf25a63(0x112)](_0x2b5636[_0xf25a63(0x288)][0x0]),_0x1a33ce=a['Tools']['deepClone'](_0x2b5636[_0xf25a63(0x288)][0x0]);for(let _0x511576=_0x426fca[_0xf25a63(0x363)]-0x1;_0x511576>=0x0;_0x511576--){const _0x2dc9bc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x426fca[_0x511576][_0xf25a63(0x39c)],..._0x426fca[_0x511576][_0xf25a63(0x243)]}},_0x243b0f={'id':_0xf25a63(0x2e9),'params':{'unitId':_0x426fca[_0x511576][_0xf25a63(0x39c)],..._0x426fca[_0x511576][_0xf25a63(0x2ef)]}},_0x2dc91c=this[_0xf25a63(0x366)][_0xf25a63(0x1cb)](_0x532fcf,_0x2dc9bc,!0x1),_0x4251af=this[_0xf25a63(0x366)][_0xf25a63(0x1cb)](_0x1a33ce,_0x243b0f,!0x1);if(m[_0xf25a63(0x335)](_0x2dc91c))throw _0x2dc91c[_0xf25a63(0x2cf)];if(m[_0xf25a63(0x335)](_0x4251af))throw _0x4251af[_0xf25a63(0x2cf)];_0x5ddc9a[_0xf25a63(0x1dc)]({..._0x426fca[_0x511576],'undoState':_0x2dc91c[_0xf25a63(0x1e7)][_0xf25a63(0x398)],'redoState':_0x4251af[_0xf25a63(0x1e7)]['params']}),_0x532fcf=_0x2dc91c[_0xf25a63(0x277)],_0x1a33ce=_0x4251af[_0xf25a63(0x277)];}_0x532fcf=a['Tools']['deepClone'](_0x2b5636[_0xf25a63(0x288)][0x0]),_0x1a33ce=a[_0xf25a63(0x2b3)]['deepClone'](_0x2b5636[_0xf25a63(0x288)][0x0]);for(let _0x42b80e=_0x3899a9[_0xf25a63(0x363)]-0x1;_0x42b80e>=0x0;_0x42b80e--){const _0x4e2cc6={'id':_0xf25a63(0x2e9),'params':{'unitId':_0x3899a9[_0x42b80e][_0xf25a63(0x39c)],..._0x3899a9[_0x42b80e][_0xf25a63(0x243)]}},_0x943020={'id':_0xf25a63(0x2e9),'params':{'unitId':_0x3899a9[_0x42b80e][_0xf25a63(0x39c)],..._0x3899a9[_0x42b80e][_0xf25a63(0x2ef)]}},_0x54b5f9=this['_transformService'][_0xf25a63(0x1cb)](_0x532fcf,_0x4e2cc6,!0x1),_0x3281d6=this[_0xf25a63(0x366)][_0xf25a63(0x1cb)](_0x1a33ce,_0x943020,!0x1);if(m['isTransformMutationFailure'](_0x54b5f9))throw _0x54b5f9[_0xf25a63(0x2cf)];if(m[_0xf25a63(0x335)](_0x3281d6))throw _0x3281d6['error'];_0x5778d5[_0xf25a63(0x1dc)]({..._0x3899a9[_0x42b80e],'undoState':_0x54b5f9[_0xf25a63(0x1e7)][_0xf25a63(0x398)],'redoState':_0x3281d6['m2Prime'][_0xf25a63(0x398)]}),_0x532fcf=_0x54b5f9[_0xf25a63(0x277)],_0x1a33ce=_0x3281d6[_0xf25a63(0x277)];}this[_0xf25a63(0x136)][_0xf25a63(0x2f0)](_0x30cd7f,{'history':_0x5ddc9a,'collaboration':_0x5778d5});}};J=Ft([le(0x0,a['Inject'](a[_0x121fa1(0x123)])),le(0x1,m[_0x121fa1(0x1a8)]),le(0x2,a[_0x121fa1(0x227)](b[_0x121fa1(0x31f)]))],J);var Wt=Object[_0x121fa1(0x383)],Yt=(_0x3777be,_0x877e57,_0x18aa83,_0x1d8269)=>{const _0x205dc3=_0x121fa1;for(var _0xfcd4ac=_0x1d8269>0x1?void 0x0:_0x1d8269?Wt(_0x877e57,_0x18aa83):_0x877e57,_0x50209d=_0x3777be[_0x205dc3(0x363)]-0x1,_0x471ee7;_0x50209d>=0x0;_0x50209d--)(_0x471ee7=_0x3777be[_0x50209d])&&(_0xfcd4ac=_0x471ee7(_0xfcd4ac)||_0xfcd4ac);return _0xfcd4ac;},Ne=(_0x42c444,_0xeb815)=>(_0x456922,_0x4f01eb)=>_0xeb815(_0x456922,_0x4f01eb,_0x42c444);let Z=class{constructor(_0xaaa2a1,_0x42a942){const _0x397dfd=_0x121fa1;this[_0x397dfd(0x2e3)]=_0xaaa2a1,this[_0x397dfd(0x366)]=_0x42a942;}[_0x121fa1(0x339)](_0x5c1880){const _0x56b42b=_0x121fa1;var _0x28d897;const _0x58a6d3=this['_injector'][_0x56b42b(0x192)](W[_0x56b42b(0x2af)]),_0x3f9e3c=(_0x28d897=_0x58a6d3[_0x56b42b(0x145)]())!=null?_0x28d897:[];if(_0x3f9e3c['length']===0x0)return;const _0x2a7610=_0x5c1880['unitID'],_0x2cd92b=[{'id':_0x56b42b(0x2e9),'params':{'unitId':_0x2a7610,'actions':null,'textRanges':_0x3f9e3c}}],_0x3be393=this[_0x56b42b(0x366)][_0x56b42b(0x28b)](_0x5c1880,_0x2cd92b);if(!m['isTransformMutationsWithChangesetSuccess'](_0x3be393))throw _0x3be393[_0x56b42b(0x2cf)];const _0x27b8ae=_0x3be393[_0x56b42b(0x1e7)][0x0][_0x56b42b(0x398)]['textRanges'];Array[_0x56b42b(0x1b0)](_0x27b8ae)&&_0x27b8ae[_0x56b42b(0x363)]&&_0x58a6d3[_0x56b42b(0x303)](_0x27b8ae,{'unitId':_0x2a7610,'subUnitId':_0x2a7610},!0x1);}};function _0x528c(){const _0x534636=['univer-text-red-500','onPointerMove$','#FFF','from','fill','setItem','SHEET_VIEWPORT_KEY','code','/run/','NOT_FOUND','_cursorShapes','USERS_LEAVE','getUnitStatus$','type','DocStateChangeManagerService','_handleHover','whenReady','HEADER_MENU','event$','_init','@univerjs/rpc','init','max','_initEntityListener','@univerjs/core','WECHAT_HAS_BEEN_BOUND','UNAUTHENTICATED','newValue','includes','_univerInstanceService','merge','getUniverSheetInstance','_getSaveTimeout','_getSheetObject','INVITE_CODE_REQUIRED','ONLINE','isTransformMutationFailure','sessionStatus$','disposeWithMe','@univerjs/design','transformSelections','onLocalMutation','_notificationService','@univerjs/sheets','currentSkeleton$','collaboration.single-unit.warning','getValue','toDisposable','startRow','push','_localStorageService','_configService','0\x200\x2016\x2016','_range','dispose$','evenodd','_memberService','ranges','DisposableCollection','NodePositionConvertToRectRange','entityInit$','docStateChange$','collaboration.closeRoom','_urlService','_refreshCollabCursors','_drawRectRange','getAncestorScale','_drawAnchor','Warning','history','loadOfflineData','addObjects','CollaborationStatus','_commandService','searchParams','asObservable','getStateCache','switchMap','_clearOtherTimers','_transformUndoRedoStack','_shapes','setTimeout','length','red300','_localeService','_transformService','@univerjs-pro/collaboration','BehaviorSubject','Tooltip','NO_OTHER_CLIENTS_EDITING','_toggleOnline','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.conflict','filter','registerBeforeClose','handleInsertCol','CLOSE_ROOM','clipPath','column','triggerDblclick','@univerjs/drawing','fromEventSubject','_colorAssignService','endRow','propertyIsEnumerable','getMemberID','sheetId','shareReplay','status$','debug','some','InsertRangeMoveRightCommandId','_revisionService','APPLY_REVISION_CONFILICT','getOwnPropertyDescriptor','subUnitId','path','_setupSubUnitSync','_docSkeletonManagerService','FromArray','all','_doCreateSocket','clsx','_handleJoinEvent','getCollabEntity$','uni.network.url-service','Unknown\x20user','_createSocketURL','SetSelectionsOperation','IConfigService','restore','_hideTimer','TEXT_RANGE_LAYER_INDEX','EffectRefRangId','forEach','params','disposeUnit','activeSheet$','INTERNAL_ERROR','unitId','Rect','trim','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univerjs-icon\x20univerjs-icon-','permission.content','SOCKET_FAILED_RETRY','override','deepClone','NOT_COLLAB','row','indexOf','flatMap','[CollaborationDataLoaderController]','...','onPointerEnter$','DEFAULT_WS_SESSION_TICKET_URL','CollaborationEvent','off-line-single','concat','CONFLICT','currentColor','subunit','clearInterval','_draw','Injector','_getAnchorBounding','COLORS','_themeService','round','registerRenderModule','_startDocCollabCursor','APPLY_PERMISSION_DENIED','complete','_httpService','xlink:href','handleInsertRangeMoveDown','collaboration-client-ui.config','defs','_anchor','_docSyncEditingCollabCursorService','SheetSkeletonManagerService','getTypeOfUnitAdded$','_registerDependencies','_docStateChangeManagerService','_refRangeService','onTransformChange$','add','Vector2','getItem','getSheetBySheetId','defineProperty','YUUMI_UNABLE_LOAD_URL','react','createIdentifier','on-line-single_clip0_910_349','debounce','removeParam','addObject','getDocRanges','1306752rrynWs','_cursor','CONNECTOR_DATA_TOO_LARGE','width','getMergeData','handleInsertRow','url(#on-line-single_clip0_910_349)','UniverCollaborationClientUIPlugin','_entities','_onCursorDelete','@univerjs/ui','_docTransformSelectionsService','body','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_scheduleHeartbeat','@univerjs/docs-ui','clearTimeout','_collabCursorController','name','_registerRenderDependencies','mapTo','_handleHeartbeatEvent','InsertColCommandId','save','MoveRangeCommandId','current','RegularPolygon','IDocClipboardService','PERMISSION_DENIED','@univerjs-pro/collaboration-client','_disabled','href','pipe','handleIRemoveRow','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ILogService','origin','toRgbString','_unitStatus','svg','InsertRowCommandId','_updateCollabCursors','storage','1em','ILocalStorageService','unitID','TOO_MANY_REQUESTS','_uiPartsService','_saveTaskMap','createInstance','_transformPreviousActiveRange','session.connection-failed','exhaustSavingTask','setConfig','_render','33536bskvSF','cursorInfo','_cursors','CollaborationUIEventId','entries','APPLY_NON_SEQUENTIAL_REVISION','ILocalCacheService','setParam','requireSession','registerComponent','NodePositionConvertToCursor','RECT','RxDisposable','DocIMEInputManagerService','string','onMouseMove','Shape','setActiveRange','roomMembers$','OnLineSingle','getSheetId','get','_messageService','apply','transformRemoteChangeset','contains','tag','_color','cursorInfo$','_updateSubUnitFromURLParams','_config','top','runRefRangeMutations','_instanceService','selections','IUniverInstanceService','RemoteUniscriptService','show','M0\x200H16V16H0z','transformIMECache','RemoveColCommandId','DataLoaderService','_send','ITransformService','assignAColorForMemberID','_docClipboardService','on-line-single','lineTo','SNAPSHOT_HAS_BEEN_REMOVED','hide','eventID','isArray','sheetID','disableLocalCache','stringify','_online','getFocusedUnit','unit','@univerjs/engine-formula','_dataLoaderService','_localCacheService','RefRangeService','pushState','OTHER_CLIENTS_EDITING','_collaborationController','_labelPosition','then','fillText','syncEditingCollabCursor','JOIN_ROOM_FAILED','_sheetSkeletonManagerService','_id','loadUnit','toStringTag','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_status$','DOC_RANGE_TYPE','USER_NOT_INVITED_CODE','transformMutation','_collaborationUIEventService','useCallback','IRenderManagerService','UniverInstanceType','InsertRangeMoveDownCommandId','_drawTextRange','PY_RUNTIME_SCRIPT_ERROR','@univerjs/engine-render','_getSessionTicket','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getColor','labelPosition','onStarting','height','WebURLService','univer-flex\x20univer-mr-2\x20univer-text-[20px]','unshift','random','_updateURLWithCurrentState','INotificationService','setUndoRedoMutationParamsCache','IRemoteInstanceService','data','OFFLINE','getCurrentRevOfUnit','_collabCursorState$','key','m2Prime','OTHER_CLIENT_EDITING','skeleton','_initStatusListener','INVITE_CODE_HAS_BEEN_UES','url(#$1','EMAIL_HAS_BEEN_BOUND','_removeClearOtherTimer','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_DISTRO_REJECTED','onRendered','black','gold400','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','children','attrs','session.collaboration-timeout','_anchorDot','UNIVER_DOC','selection','runOnServer','_onRefRangeChange','BrowserCollaborationSocketService','getSkeleton','_initCommandExecutedListener','values','post','unsubscribe','hovered','ticket','_context','getCurrentSelections','VIEW_MAIN','colorChannel1','Workbook','Rectangle','collabStatus.offline','transformStateCache','_backgroundColor','SUBMIT_CHANGESET_TIMEOUT','YUUMI_ASYNCIO_CANCELLED','HTTPService','generateRandomId','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','DeleteRangeMoveLeftCommandId','getRenderById','CollaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','getCurrent','OffLineSingle','onPointerLeave$','SetTextSelectionsOperation','_assignedColors','7027840RVePpN','invokeId','INVALID_ARGUMENT','imageSourceType','serializeRangeWithSheet','subscribeEvent','_eventUnsubscribe','result','_transformHistoryAndStateStack','IUIPartsService','enableLocalCache','Inject','jsx','getSheetObject','useDependency','getParam','mask','getActiveSheet','_lastPointer','Error','executionId','className','SheetsSelectionsService','IMessageService','range','1858587itrqbx','symbol','roomMembers','getMember','_docTransformIMECacheService','334932RDsnJd','getConfig','color','displayName','div','getCoordByCell','_ensureSubject','makeDirty','closePath','undoState','6ngBtWO','_initStatusComponent','distinctUntilChanged','unload','_selfUnitIDs','popstate','_startSheetCollabCursor','Subject','_saveCache','getTypeOfUnitDisposed$','ACTIVE_UNIT_EVENT_CHANNEL','SetWorksheetActivateCommand','location','4330550lbkffk','IBeforeCloseService','collab-text-range-','getViewport','MemberService','ICommandService','collabCursorState$','fromEvent','_heartbeatTimer','COMPLETION_FINISHED','_getScale','setShapeProps','isActive','call','focused$','collaboration-client.offline-data-not-saved','startsWith','debounceTime','getUndoRedoMutationParamsCache','jsxs','CHANGESET_REVISION_CONFILICT','LICENSE_IMPORT_SIZE_EXCEEDED','bottom','_cachedData','getOwnPropertySymbols','UniverCollaborationClientPlugin','drawWith','takeUntil','set','LOCAL_CACHE_INTERVAL_KEY','use','hasOwnProperty','CollaborationUIEventService','measureText','split','handleDeleteRangeMoveLeft','LOGIN_FAILED','_cursorInfo$','m1Prime','delete','findNodePositionByCharIndex','find','SOCKET_FAILED','_imageIoService','urlChange$','startColumn','_scene','addHandlerCallback','editingUnit','_renderManagerService','TEXT','WebSocketService','DesktopCollaborationStatusDisplayController','WebBrowserSingleActiveUnitService','map','mutations','_textBubble','_removeCollabCursors','transformMutationsWithChangeset','handleMoveRange','Disposable','#fff','LocaleService','DeleteRangeMoveUpCommandId','forwardRef','_setupBeforeClosingHandler','getCurrentUnitForType','SetDocZoomRatioOperation','has','Failed','LICENSE_EXPORT_SIZE_EXCEEDED','isTransformMutationsWithChangesetSuccess','DocCollaborationEntity','defIds','verdancy600','dispose','saveImage','YUUMI_URL_COL_OUT_OF_RANGE','_handleEvent','prototype','_onCursorUpdate','toString','textRanges','UnitStatus','525GlMdNj','_session','size','@univerjs/sheets-ui','icon','combineLatest','_logService','onCommandExecuted','_initEvent','24728220wfYeWB','DocSelectionManagerService','off-line-single_clip0_910_343','_hover','SessionStatus','Tools','getUnhiddenWorksheets','none','univer-flex\x20univer-items-center','purple300','_collabSessionService','_entityInit$','moveTo','MessageType','RevisionService','saveTaskMap','updateOfflineData','CollaborationDataLoaderController','ENSURE_SNAPSHOT_EXECUTION','useRef','transform','_unitOnClients','_hovered','ALREADY_EXISTS','collabStatus.synced','subscribe','ColorKit','fillRule','replace','extend','_beforeCloseService','getUnitId','UNIVER_SHEET','error','PENDING','UPDATE_CURSOR','FETCH_MISS','CollaborationSessionService','collabStatus.fetchMiss','APPLY_REJECT','INVALID_INVITE_CODE','_initResize','createElement','addClipboardHook','getLocalCacheKey','with','text','_name','CollaborationSocketService','collab-client.tooltip.reconnect','translate(.97)','INVITE_CODE_ALREADY_BOUND','AWAITING','_injector','isEditing','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','runId','react/jsx-runtime','_getMergeRange','doc.mutation.rich-text-editing','assign','function','mergeOverrideWithDependencies','_colorIndex','_toggleOffline','redoState','setStateCache','_handleLeaveEvent','getActiveRange','_roomMembers$','_updateLocalCursor','send','arc','getRangePointData','SheetCollabCursorShape','_scheduleSaving','MOBILE_HAS_BEEN_BOUND','next','wsSessionTicketUrl','getCellPositionByOffset','registerDependencies','executeCommand','DocSkeletonManagerService','application/json','resize','replaceDocRanges','transformByState','_scheduleClearOtherTimer','ISocketService','_syncEditingCollabCursorService','currentTheme$','min','LOCAL_CACHE_INTERVAL','blue400','Optional','YUUMI_RATE_OVER_LIMIT','idSuffix','setAlpha','rgba(255,\x20255,\x20255,\x200.01)'];_0x528c=function(){return _0x534636;};return _0x528c();}Z=Yt([Ne(0x0,a[_0x121fa1(0x227)](a[_0x121fa1(0x123)])),Ne(0x1,m[_0x121fa1(0x1a8)])],Z);var Vt=Object[_0x121fa1(0x383)],Xt=(_0x3c2d08,_0xda605,_0x2a519c,_0x36d81a)=>{for(var _0x38ee3b=_0x36d81a>0x1?void 0x0:_0x36d81a?Vt(_0xda605,_0x2a519c):_0xda605,_0x59ca2e=_0x3c2d08['length']-0x1,_0x21f921;_0x59ca2e>=0x0;_0x59ca2e--)(_0x21f921=_0x3c2d08[_0x59ca2e])&&(_0x38ee3b=_0x21f921(_0x38ee3b)||_0x38ee3b);return _0x38ee3b;},N=(_0x43d2fa,_0x253bae)=>(_0x49a72d,_0x366976)=>_0x253bae(_0x49a72d,_0x366976,_0x43d2fa);let Q=class extends a['Disposable']{constructor(_0x54a894,_0x2a36c7,_0x3878b9,_0xb00a6b,_0x58e675,_0x2be564,_0x4f2c6a,_0x44164f){const _0x3b9969=_0x121fa1;super(),h(this,_0x3b9969(0x1c8),new d[(_0x3b9969(0x368))](u[_0x3b9969(0x359)][_0x3b9969(0x113)])),(this[_0x3b9969(0x136)]=_0x54a894,this[_0x3b9969(0x1bd)]=_0x2a36c7,this[_0x3b9969(0x239)]=_0x3878b9,this['_docTransformStateCacheService']=_0xb00a6b,this[_0x3b9969(0x151)]=_0x58e675,this[_0x3b9969(0x132)]=_0x2be564,this[_0x3b9969(0x193)]=_0x4f2c6a,this['_localeService']=_0x44164f,this['_initEntityListener']());}[_0x121fa1(0x328)](){const _0x1cc999=_0x121fa1;this[_0x1cc999(0x337)](this[_0x1cc999(0x1bd)][_0x1cc999(0x34d)][_0x1cc999(0x2c7)](_0x57cdca=>{const _0x2117fd=_0x1cc999,_0xb1748f=this[_0x2117fd(0x136)][_0x2117fd(0x34e)][_0x2117fd(0x2c7)](_0x58e4c6=>{const _0x55cfea=_0x2117fd;if(_0x58e4c6==null)return;const {unitId:_0x5d3ad3,redoState:_0x3b38ea,commandId:_0x1ce41a}=_0x58e4c6;if(_0x5d3ad3!==_0x57cdca[_0x55cfea(0x173)])return;const _0x2d4363={'id':_0x1ce41a,'type':a['CommandType']['MUTATION'],'params':{'unitId':_0x5d3ad3,'actions':_0x3b38ea['actions'],'textRanges':null}};_0x57cdca[_0x55cfea(0x33a)](_0x2d4363);});if(_0x57cdca[_0x2117fd(0x337)](_0xb1748f),_0x57cdca instanceof u[_0x2117fd(0x299)]){const _0x5954c6={'onTransformIME':_0x33a42b=>this['_docTransformIMECacheService'][_0x2117fd(0x1a4)](_0x33a42b),'onTransformState':_0xb16f8b=>this['_docTransformStateCacheService'][_0x2117fd(0x20c)](_0xb16f8b),'onTransformSelections':_0x2e6124=>this[_0x2117fd(0x151)][_0x2117fd(0x339)](_0x2e6124),'onSyncEditingCollabCursor':_0x4cb8fb=>this['_docSyncEditingCollabCursorService'][_0x2117fd(0x1c1)](_0x4cb8fb),'onTransformRemoteChangesetByIMECache':_0x1950e8=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x1950e8),'onTransformRemoteChangesetByStateCache':_0x353149=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x353149)};_0x57cdca[_0x2117fd(0x280)](_0x5954c6);}}));}};Q=Xt([N(0x0,a[_0x121fa1(0x227)](b[_0x121fa1(0x31f)])),N(0x1,a[_0x121fa1(0x227)](u[_0x121fa1(0x215)])),N(0x2,a[_0x121fa1(0x227)](z)),N(0x3,a[_0x121fa1(0x227)](J)),N(0x4,a[_0x121fa1(0x227)](Z)),N(0x5,a[_0x121fa1(0x227)](Ce)),N(0x6,T[_0x121fa1(0x233)]),N(0x7,a['Inject'](a['LocaleService']))],Q);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x451781,_0x22129b,_0x5f02d8,_0x410650)=>{for(var _0x5933c8=_0x410650>0x1?void 0x0:_0x410650?Gt(_0x22129b,_0x5f02d8):_0x22129b,_0x33b655=_0x451781['length']-0x1,_0x6859c3;_0x33b655>=0x0;_0x33b655--)(_0x6859c3=_0x451781[_0x33b655])&&(_0x5933c8=_0x6859c3(_0x5933c8)||_0x5933c8);return _0x5933c8;},_e=(_0x177454,_0x1056e8)=>(_0x379f0c,_0x49f6d3)=>_0x1056e8(_0x379f0c,_0x49f6d3,_0x177454);let ge=class extends a[_0x121fa1(0x28d)]{constructor(_0xebdc4e,_0x27cf74,_0x47bbb1){const _0x3c14af=_0x121fa1;super(),h(this,'_cachedData',new Map()),h(this,_0x3c14af(0x176),new Map()),h(this,_0x3c14af(0x164),!0x1),(this[_0x3c14af(0x344)]=_0xebdc4e,this[_0x3c14af(0x343)]=_0x27cf74,this[_0x3c14af(0x381)]=_0x47bbb1);}[_0x121fa1(0x1b2)](){this['_disabled']=!0x0;}[_0x121fa1(0x226)](){this['_disabled']=!0x1;}get[_0x121fa1(0x2bd)](){return this['_saveTaskMap'];}[_0x121fa1(0x29c)](){const _0x53d55f=_0x121fa1;this[_0x53d55f(0x17a)]()[_0x53d55f(0x1bf)](()=>super[_0x53d55f(0x29c)]());}async[_0x121fa1(0x357)](_0x230565){const _0x477b74=_0x121fa1;return this['_disabled']?null:this[_0x477b74(0x343)][_0x477b74(0x13b)](u[_0x477b74(0x2da)](_0x230565));}async['saveOfflineData'](_0x4b52d7,_0x4ae3c2){const _0x48d2e1=_0x121fa1;return!!this['_localStorageService'][_0x48d2e1(0x316)](_0x4b52d7,_0x4ae3c2);}[_0x121fa1(0x2be)](_0x229df5,_0x26ed1b,_0x3c9876,_0x52af50){const _0x136918=_0x121fa1,_0x2fbb83=this[_0x136918(0x381)][_0x136918(0x1e4)](_0x229df5);this[_0x136918(0x268)]['set'](_0x229df5,{'unitID':_0x229df5,'type':_0x26ed1b,'awaitingChangeset':_0x3c9876,'mutations':_0x52af50,'rev':_0x2fbb83}),this[_0x136918(0x176)][_0x136918(0x295)](_0x229df5)||this['_scheduleSaving'](_0x229df5);}[_0x121fa1(0x2f9)](_0x57997c){const _0x14464a=_0x121fa1,_0x3592e3=this['_getSaveTimeout']();_0x3592e3===0x0?this[_0x14464a(0x24c)](_0x57997c):this[_0x14464a(0x176)][_0x14464a(0x26d)](_0x57997c,setTimeout(()=>this[_0x14464a(0x24c)](_0x57997c),_0x3592e3));}[_0x121fa1(0x331)](){const _0x3ddc5f=_0x121fa1;var _0x3b4593;return(_0x3b4593=this[_0x3ddc5f(0x344)]['getConfig'](u[_0x3ddc5f(0x26e)]))!=null?_0x3b4593:u[_0x3ddc5f(0x30a)];}['_saveCache'](_0x5e362a){const _0x43a5a7=_0x121fa1,_0x156157=this[_0x43a5a7(0x176)][_0x43a5a7(0x192)](_0x5e362a);return _0x156157!==void 0x0&&window['clearTimeout'](_0x156157),this[_0x43a5a7(0x343)][_0x43a5a7(0x316)](u[_0x43a5a7(0x2da)](_0x5e362a),this['_cachedData'][_0x43a5a7(0x192)](_0x5e362a))[_0x43a5a7(0x1bf)](()=>this[_0x43a5a7(0x176)][_0x43a5a7(0x278)](_0x5e362a));}async[_0x121fa1(0x17a)](){const _0x30bdea=_0x121fa1,_0x55e94d=[];this[_0x30bdea(0x176)][_0x30bdea(0x397)]((_0x123e1c,_0x1a5c88)=>{const _0x455132=_0x30bdea;window[_0x455132(0x156)](_0x123e1c),_0x55e94d[_0x455132(0x342)](this[_0x455132(0x24c)](_0x1a5c88)[_0x455132(0x1bf)](()=>{const _0x1aaf4e=_0x455132;this[_0x1aaf4e(0x176)][_0x1aaf4e(0x278)](_0x1a5c88);}));}),await Promise[_0x30bdea(0x389)](_0x55e94d);}};ge=qt([_e(0x0,a[_0x121fa1(0x392)]),_e(0x1,a[_0x121fa1(0x172)]),_e(0x2,a['Inject'](m[_0x121fa1(0x2bc)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x35bff6=_0x121fa1;super(),h(this,_0x35bff6(0x27d)),this['urlChange$']=d[_0x35bff6(0x258)](window,_0x35bff6(0x249))[_0x35bff6(0x166)](d[_0x35bff6(0x26c)](this[_0x35bff6(0x347)]),d[_0x35bff6(0x37c)](0x1),d[_0x35bff6(0x15a)](void 0x0));}[_0x121fa1(0x184)](_0x2211e9,_0x3747c2,_0x10f3cc=!0x1){const _0x3a245b=_0x121fa1,_0x4919f5=new URL(window[_0x3a245b(0x250)][_0x3a245b(0x165)]);_0x4919f5[_0x3a245b(0x35b)][_0x3a245b(0x26d)](_0x2211e9,_0x3747c2),_0x10f3cc?window['history']['replaceState']('','',_0x4919f5[_0x3a245b(0x2a2)]()):window[_0x3a245b(0x356)]['pushState']('','',_0x4919f5[_0x3a245b(0x2a2)]());}[_0x121fa1(0x143)](_0x56aa04,_0x3807dd=!0x1){const _0x4b8732=_0x121fa1,_0x6254cc=new URL(window[_0x4b8732(0x250)][_0x4b8732(0x165)]);_0x6254cc[_0x4b8732(0x35b)][_0x4b8732(0x278)](_0x56aa04),_0x3807dd?window[_0x4b8732(0x356)]['replaceState']('','',_0x6254cc['toString']()):window['history'][_0x4b8732(0x1bb)]('','',_0x6254cc[_0x4b8732(0x2a2)]());}[_0x121fa1(0x22b)](_0x1da8f3){const _0x37587d=_0x121fa1;var _0x7f73c7;return(_0x7f73c7=new URL(window[_0x37587d(0x250)][_0x37587d(0x165)])[_0x37587d(0x35b)][_0x37587d(0x192)](_0x1da8f3))!=null?_0x7f73c7:void 0x0;}}var Kt=Object[_0x121fa1(0x13d)],zt=Object[_0x121fa1(0x383)],Jt=(_0xc71526,_0x2087ea,_0x48986b)=>_0x2087ea in _0xc71526?Kt(_0xc71526,_0x2087ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48986b}):_0xc71526[_0x2087ea]=_0x48986b,Zt=(_0x6871bb,_0x56a8bd,_0x5e318e,_0x5ad221)=>{const _0x1f2412=_0x121fa1;for(var _0x35ebe5=_0x5ad221>0x1?void 0x0:_0x5ad221?zt(_0x56a8bd,_0x5e318e):_0x56a8bd,_0x362580=_0x6871bb[_0x1f2412(0x363)]-0x1,_0x446844;_0x362580>=0x0;_0x362580--)(_0x446844=_0x6871bb[_0x362580])&&(_0x35ebe5=_0x446844(_0x35ebe5)||_0x35ebe5);return _0x35ebe5;},he=(_0x59d28a,_0x2d28e8)=>(_0x67de89,_0x3a9fe6)=>_0x2d28e8(_0x67de89,_0x3a9fe6,_0x59d28a),Qt=(_0x3fabee,_0x4c704b,_0x993912)=>Jt(_0x3fabee,_0x4c704b+'',_0x993912);const es=_0x121fa1(0x1d5);exports['UniverCollaborationClientUIPlugin']=class extends a['Plugin']{constructor(_0x55633d=Ue,_0x64230b,_0xaac3f7,_0x5baebe){const _0x5035c6=_0x121fa1;super(),this['_config']=_0x55633d,this[_0x5035c6(0x282)]=_0x64230b,this['_injector']=_0xaac3f7,this[_0x5035c6(0x344)]=_0x5baebe;const {..._0x4cb99b}=a[_0x5035c6(0x32f)]({},Ue,this['_config']);this[_0x5035c6(0x344)][_0x5035c6(0x17b)]($t,_0x4cb99b);}[_0x121fa1(0x1d8)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x121fa1(0x1f1)](){const _0x2d7126=_0x121fa1;this[_0x2d7126(0x159)]();}[_0x121fa1(0x135)](){const _0x5153b6=_0x121fa1;var _0xcae1da;const _0x1c890f=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x5153b6(0x306)],{'useClass':G[_0x5153b6(0x284)]}],[u[_0x5153b6(0x183)],{'useClass':ge}],[exports[_0x5153b6(0x285)]],[Q],[K],[x],[de],[exports['CollaborationDataLoaderController']]];a[_0x5153b6(0x2fe)](this[_0x5153b6(0x2e3)],a[_0x5153b6(0x2ec)](_0x1c890f,(_0xcae1da=this[_0x5153b6(0x19b)])==null?void 0x0:_0xcae1da[_0x5153b6(0x111)]));}['_registerRenderDependencies'](){const _0x16ec3c=_0x121fa1;this['disposeWithMe'](this[_0x16ec3c(0x282)][_0x16ec3c(0x128)](a[_0x16ec3c(0x1cf)][_0x16ec3c(0x1f9)],[Ie])),this[_0x16ec3c(0x337)](this[_0x16ec3c(0x282)][_0x16ec3c(0x128)](a[_0x16ec3c(0x1cf)][_0x16ec3c(0x2ce)],[ve]));}['_initDependencies'](){const _0x2cae28=_0x121fa1;a['touchDependencies'](this[_0x2cae28(0x2e3)],[[x],[exports[_0x2cae28(0x285)]],[Q],[K],[exports['CollaborationDataLoaderController']]]);}},Qt(exports[_0x121fa1(0x14d)],'pluginName',es),exports[_0x121fa1(0x14d)]=Zt([a['DependentOn'](u[_0x121fa1(0x26a)]),he(0x1,p['IRenderManagerService']),he(0x2,a[_0x121fa1(0x227)](a['Injector'])),he(0x3,a['IConfigService'])],exports[_0x121fa1(0x14d)]);var ts=Object[_0x121fa1(0x383)],ss=(_0x16be5b,_0x2ebdb4,_0xe7c70e,_0x13b2b2)=>{const _0xbd9035=_0x121fa1;for(var _0x38a6c1=_0x13b2b2>0x1?void 0x0:_0x13b2b2?ts(_0x2ebdb4,_0xe7c70e):_0x2ebdb4,_0x5d32ad=_0x16be5b[_0xbd9035(0x363)]-0x1,_0x2c53e6;_0x5d32ad>=0x0;_0x5d32ad--)(_0x2c53e6=_0x16be5b[_0x5d32ad])&&(_0x38a6c1=_0x2c53e6(_0x38a6c1)||_0x38a6c1);return _0x38a6c1;},F=(_0x4179cd,_0xaa8937)=>(_0x1c2d37,_0xdded70)=>_0xaa8937(_0x1c2d37,_0xdded70,_0x4179cd);exports['BrowserCollaborationSocketService']=class extends u[_0x121fa1(0x2de)]{constructor(_0x2c8408,_0x563966,_0x5e068e,_0x417cad,_0x2707f9){super(_0x2c8408,_0x563966,_0x5e068e,_0x417cad,_0x2707f9);}async['createSocket'](_0x273e98){const _0x365ec7=_0x121fa1,_0x5adbc6=await this[_0x365ec7(0x1d4)](),_0x20d615=this[_0x365ec7(0x390)](_0x273e98,_0x5adbc6);return this[_0x365ec7(0x38a)](_0x20d615);}[_0x121fa1(0x390)](_0x1958ee,_0x162f10){const _0x5998ec=_0x121fa1,_0x20094d=typeof window>'u'?new URL(_0x1958ee):new URL(_0x1958ee,window[_0x5998ec(0x250)][_0x5998ec(0x16a)]);_0x20094d[_0x5998ec(0x35b)][_0x5998ec(0x26d)]('sessionTicket',_0x162f10);const _0x354991=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5998ec(0x250)]['search']);return _0x354991['get'](_0x5998ec(0x2e6))&&_0x20094d[_0x5998ec(0x35b)]['set'](_0x5998ec(0x2e6),_0x354991[_0x5998ec(0x192)](_0x5998ec(0x2e6))),_0x20094d['toString']();}async[_0x121fa1(0x1d4)](){const _0x3ae4c6=_0x121fa1;var _0x5346ae,_0x4f57af,_0x2466b6;const _0x37ff9d=this['_configService']['getConfig'](u[_0x3ae4c6(0x10d)]),_0x406e5d=(_0x5346ae=_0x37ff9d==null?void 0x0:_0x37ff9d[_0x3ae4c6(0x2fc)])!=null?_0x5346ae:u[_0x3ae4c6(0x11a)];return(_0x2466b6=(_0x4f57af=(await this[_0x3ae4c6(0x12c)][_0x3ae4c6(0x192)](_0x406e5d,{'headers':{'Content-Type':_0x3ae4c6(0x301)}}))[_0x3ae4c6(0x152)])==null?void 0x0:_0x4f57af[_0x3ae4c6(0x204)])!=null?_0x2466b6:'';}},exports[_0x121fa1(0x1fd)]=ss([F(0x0,a[_0x121fa1(0x227)](a[_0x121fa1(0x123)])),F(0x1,a[_0x121fa1(0x227)](G[_0x121fa1(0x210)])),F(0x2,a[_0x121fa1(0x392)]),F(0x3,a[_0x121fa1(0x169)]),F(0x4,m['ISnapshotServerService'])],exports[_0x121fa1(0x1fd)]);const Me=0x7530,Le=_0x121fa1(0x24e);class is extends a[_0x121fa1(0x28d)]{constructor(){const _0x26fd4e=_0x121fa1;super(),h(this,_0x26fd4e(0x1c4),a[_0x26fd4e(0x211)]()),h(this,_0x26fd4e(0x248),new Set()),h(this,_0x26fd4e(0x2c3),new Map()),h(this,_0x26fd4e(0x259),null),h(this,_0x26fd4e(0x35f),new Map()),h(this,_0x26fd4e(0x16c),new Map()),this[_0x26fd4e(0x324)]();}[_0x121fa1(0x29c)](){const _0x1f1735=_0x121fa1;super[_0x1f1735(0x29c)](),this[_0x1f1735(0x35f)][_0x1f1735(0x397)]((_0x4ba2b7,_0x545194)=>this[_0x1f1735(0x1ee)](_0x545194)),this['_heartbeatTimer']&&window[_0x1f1735(0x121)](this[_0x1f1735(0x259)]);}[_0x121fa1(0x31d)](_0x3045e){const _0x102cc8=_0x121fa1;return this[_0x102cc8(0x240)](_0x3045e)[_0x102cc8(0x166)](d[_0x102cc8(0x246)]());}[_0x121fa1(0x281)](_0x14229c){const _0x2d2c45=_0x121fa1;this[_0x2d2c45(0x248)][_0x2d2c45(0x2a7)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x2d2c45(0x139)](_0x14229c),this[_0x2d2c45(0x1a7)]({'type':0x0,'memberID':this[_0x2d2c45(0x1c4)],'unitIDs':[_0x14229c],'isForwarded':!0x1});}[_0x121fa1(0x399)](_0x5d4af3){const _0x57641a=_0x121fa1;this[_0x57641a(0x248)]['delete'](_0x5d4af3),this[_0x57641a(0x248)][_0x57641a(0x2a7)]===0x0&&this[_0x57641a(0x259)]&&window[_0x57641a(0x121)](this['_heartbeatTimer']);}['_init'](){const _0x353fcf=_0x121fa1;this[_0x353fcf(0x337)](a['toDisposable'](d[_0x353fcf(0x258)](window,_0x353fcf(0x170))[_0x353fcf(0x2c7)](_0x19cfa5=>{const _0x53eaca=_0x353fcf;if(_0x19cfa5[_0x53eaca(0x1e6)]!==Le||!_0x19cfa5[_0x53eaca(0x32c)])return;const _0x41e22a=JSON['parse'](_0x19cfa5[_0x53eaca(0x32c)]);this['_handleEvent'](_0x41e22a);}))),window['addEventListener'](_0x353fcf(0x247),()=>this[_0x353fcf(0x1a7)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x353fcf(0x314)](this['_selfUnitIDs'])}));}[_0x121fa1(0x29f)](_0xa8c7a2){const _0x37c925=_0x121fa1;switch(_0xa8c7a2[_0x37c925(0x31e)]){case 0x0:this[_0x37c925(0x38c)](_0xa8c7a2);break;case 0x1:this['_handleLeaveEvent'](_0xa8c7a2);break;case 0x2:this[_0x37c925(0x15b)](_0xa8c7a2);break;}}[_0x121fa1(0x38c)](_0x4a89b0){const _0x3f2324=_0x121fa1,{unitIDs:_0x4c32fe,memberID:_0x56ab09,isForwarded:_0x2bf884}=_0x4a89b0;_0x4c32fe[_0x3f2324(0x397)](_0x2594fc=>{const _0x5e507a=_0x3f2324;if(!_0x2bf884&&this[_0x5e507a(0x2c3)][_0x5e507a(0x295)](_0x2594fc)&&this[_0x5e507a(0x240)](_0x2594fc)[_0x5e507a(0x2fb)](u['UnitStatus'][_0x5e507a(0x1bc)]),!this[_0x5e507a(0x2c3)][_0x5e507a(0x295)](_0x2594fc)||!this[_0x5e507a(0x2c3)]['get'](_0x2594fc)['has'](_0x56ab09)){const _0x362871=this[_0x5e507a(0x2c3)][_0x5e507a(0x192)](_0x2594fc)||new Set();_0x362871[_0x5e507a(0x139)](_0x56ab09),this[_0x5e507a(0x2c3)][_0x5e507a(0x26d)](_0x2594fc,_0x362871),this[_0x5e507a(0x305)](_0x56ab09);}}),_0x2bf884||this[_0x3f2324(0x1a7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3f2324(0x248)]],'isForwarded':!0x0});}[_0x121fa1(0x305)](_0x1b2e07){const _0x2f4d15=_0x121fa1;this[_0x2f4d15(0x1ee)](_0x1b2e07);const _0x2d6bc4=window[_0x2f4d15(0x362)](()=>{const _0x52ad21=_0x2f4d15;this[_0x52ad21(0x2c3)][_0x52ad21(0x397)](_0x2e0d99=>{const _0x15d536=_0x52ad21;_0x2e0d99[_0x15d536(0x278)](_0x1b2e07);});},Me*0x2);this[_0x2f4d15(0x35f)][_0x2f4d15(0x26d)](_0x1b2e07,_0x2d6bc4);}[_0x121fa1(0x1ee)](_0x503342){const _0x11bbaf=_0x121fa1;if(this[_0x11bbaf(0x35f)]['has'](_0x503342)){const _0x445c6f=this['_clearOtherTimers']['get'](_0x503342);_0x445c6f&&window[_0x11bbaf(0x156)](_0x445c6f),this['_clearOtherTimers'][_0x11bbaf(0x26d)](_0x503342,null);}}[_0x121fa1(0x2f1)](_0x2b65e6){const _0x3165c4=_0x121fa1,{memberID:_0x5d0e21,unitIDs:_0x101bfe}=_0x2b65e6;_0x101bfe[_0x3165c4(0x397)](_0xc77055=>{const _0x2c42a7=_0x3165c4;var _0x243b19;const _0x5d2e3f=this[_0x2c42a7(0x2c3)][_0x2c42a7(0x192)](_0xc77055);_0x5d2e3f&&(_0x5d2e3f['delete'](_0x5d0e21),(_0x243b19=this['_ensureSubject'](_0xc77055))==null||_0x243b19[_0x2c42a7(0x2fb)](_0x5d2e3f[_0x2c42a7(0x2a7)]===0x0?u[_0x2c42a7(0x2a4)][_0x2c42a7(0x36a)]:u[_0x2c42a7(0x2a4)][_0x2c42a7(0x1bc)]));}),this[_0x3165c4(0x1ee)](_0x5d0e21);}[_0x121fa1(0x15b)](_0x4e571e){const _0xc9373=_0x121fa1;this[_0xc9373(0x305)](_0x4e571e['memberID']);}[_0x121fa1(0x1a7)](_0x4a337c){const _0x3c761d=_0x121fa1;localStorage[_0x3c761d(0x316)](Le,JSON['stringify'](_0x4a337c));}[_0x121fa1(0x154)](){const _0x16ef9e=_0x121fa1;this[_0x16ef9e(0x259)]=window['setInterval'](()=>{const _0x3a4bee=_0x16ef9e;this[_0x3a4bee(0x1a7)]({'type':0x2,'memberID':this[_0x3a4bee(0x1c4)]});},Me);}['_ensureSubject'](_0x5dd7fb){const _0x126775=_0x121fa1;return this[_0x126775(0x16c)][_0x126775(0x295)](_0x5dd7fb)||this[_0x126775(0x16c)]['set'](_0x5dd7fb,new d[(_0x126775(0x368))](u['UnitStatus'][_0x126775(0x36a)])),this[_0x126775(0x16c)][_0x126775(0x192)](_0x5dd7fb);}}var Be=(_0x1e7c36=>(_0x1e7c36[_0x1e7c36['UNDEFINED']=0x0]='UNDEFINED',_0x1e7c36[_0x1e7c36['OK']=0x1]='OK',_0x1e7c36[_0x1e7c36[_0x121fa1(0x39b)]=0x2]=_0x121fa1(0x39b),_0x1e7c36[_0x1e7c36[_0x121fa1(0x162)]=0x3]=_0x121fa1(0x162),_0x1e7c36[_0x1e7c36[_0x121fa1(0x31a)]=0x4]=_0x121fa1(0x31a),_0x1e7c36[_0x1e7c36['UNAUTHENTICATED']=0x5]=_0x121fa1(0x32b),_0x1e7c36[_0x1e7c36['ALREADY_EXISTS']=0x6]=_0x121fa1(0x2c5),_0x1e7c36[_0x1e7c36[_0x121fa1(0x21e)]=0x7]=_0x121fa1(0x21e),_0x1e7c36[_0x1e7c36[_0x121fa1(0x174)]=0x8]=_0x121fa1(0x174),_0x1e7c36[_0x1e7c36[_0x121fa1(0x25a)]=0x9]=_0x121fa1(0x25a),_0x1e7c36[_0x1e7c36['LOGIN_FAILED']=0xa]=_0x121fa1(0x275),_0x1e7c36[_0x1e7c36[_0x121fa1(0x265)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1e7c36[_0x1e7c36[_0x121fa1(0x1ef)]=0x1771]=_0x121fa1(0x1ef),_0x1e7c36[_0x1e7c36[_0x121fa1(0x1ad)]=0x1772]=_0x121fa1(0x1ad),_0x1e7c36[_0x1e7c36[_0x121fa1(0x2c0)]=0x1773]=_0x121fa1(0x2c0),_0x1e7c36[_0x1e7c36[_0x121fa1(0x2d5)]=0x1b59]=_0x121fa1(0x2d5),_0x1e7c36[_0x1e7c36['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x121fa1(0x182),_0x1e7c36[_0x1e7c36['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x121fa1(0x382),_0x1e7c36[_0x1e7c36['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x121fa1(0x12a),_0x1e7c36[_0x1e7c36['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x1e7c36[_0x1e7c36[_0x121fa1(0x148)]=0x1f41]=_0x121fa1(0x148),_0x1e7c36[_0x1e7c36['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1e7c36[_0x1e7c36[_0x121fa1(0x1f4)]=0x232a]=_0x121fa1(0x1f4),_0x1e7c36[_0x1e7c36[_0x121fa1(0x266)]=0x232b]=_0x121fa1(0x266),_0x1e7c36[_0x1e7c36[_0x121fa1(0x297)]=0x232c]=_0x121fa1(0x297),_0x1e7c36[_0x1e7c36[_0x121fa1(0x1f0)]=0x232d]=_0x121fa1(0x1f0),_0x1e7c36[_0x1e7c36[_0x121fa1(0x13e)]=0x2711]=_0x121fa1(0x13e),_0x1e7c36[_0x1e7c36[_0x121fa1(0x29e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1e7c36[_0x1e7c36[_0x121fa1(0x30d)]=0x2713]=_0x121fa1(0x30d),_0x1e7c36[_0x1e7c36[_0x121fa1(0x216)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1e7c36[_0x1e7c36['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1e7c36[_0x1e7c36[_0x121fa1(0x20f)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1e7c36[_0x1e7c36[_0x121fa1(0x1d2)]=0x2af9]=_0x121fa1(0x1d2),_0x1e7c36[_0x1e7c36['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x121fa1(0x1eb),_0x1e7c36[_0x1e7c36['INVALID_INVITE_CODE']=0x2ee2]=_0x121fa1(0x2d6),_0x1e7c36[_0x1e7c36['INVITE_CODE_REQUIRED']=0x2ee3]=_0x121fa1(0x333),_0x1e7c36[_0x1e7c36[_0x121fa1(0x1ca)]=0x2ee4]=_0x121fa1(0x1ca),_0x1e7c36[_0x1e7c36[_0x121fa1(0x2e1)]=0x2ee5]=_0x121fa1(0x2e1),_0x1e7c36[_0x1e7c36[_0x121fa1(0x32a)]=0x32c9]=_0x121fa1(0x32a),_0x1e7c36[_0x1e7c36[_0x121fa1(0x2fa)]=0x32ca]=_0x121fa1(0x2fa),_0x1e7c36[_0x1e7c36[_0x121fa1(0x1ed)]=0x32cb]=_0x121fa1(0x1ed),_0x1e7c36[_0x1e7c36['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1e7c36))(Be||{}),ns=Object[_0x121fa1(0x383)],rs=(_0x36570e,_0x405a85,_0x3915c7,_0x43d78c)=>{const _0x54a6af=_0x121fa1;for(var _0x5c51ac=_0x43d78c>0x1?void 0x0:_0x43d78c?ns(_0x405a85,_0x3915c7):_0x405a85,_0x470500=_0x36570e[_0x54a6af(0x363)]-0x1,_0x36e995;_0x470500>=0x0;_0x470500--)(_0x36e995=_0x36570e[_0x470500])&&(_0x5c51ac=_0x36e995(_0x5c51ac)||_0x5c51ac);return _0x5c51ac;},ue=(_0x20cdd3,_0x3228a0)=>(_0x42198c,_0x5d13e6)=>_0x3228a0(_0x42198c,_0x5d13e6,_0x20cdd3);exports[_0x121fa1(0x1a1)]=class extends a[_0x121fa1(0x28d)]{constructor(_0x180781,_0x13616c,_0x3127ce){const _0x3beaeb=_0x121fa1;super(),this[_0x3beaeb(0x19e)]=_0x180781,this[_0x3beaeb(0x12c)]=_0x13616c,this[_0x3beaeb(0x344)]=_0x3127ce;}async[_0x121fa1(0x1fb)](_0x6fbad1,_0x1070b2,_0x284ea1,..._0xcc0518){const _0x23f10d=_0x121fa1;var _0x359609,_0x52315e,_0xc07287,_0x3ca570;const _0x59f1e9=this[_0x23f10d(0x19e)][_0x23f10d(0x1b5)]();if(!_0x59f1e9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x477b3b=((_0x359609=this[_0x23f10d(0x344)][_0x23f10d(0x23b)](u[_0x23f10d(0x1c7)]))!=null?_0x359609:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x6fbad1+_0x23f10d(0x319)+_0x1070b2,_0x1b16bf=new URL(window[_0x23f10d(0x250)][_0x23f10d(0x165)]),_0x197ab7={'scriptId':_0x6fbad1,'runId':(_0x52315e=_0x1b16bf[_0x23f10d(0x35b)][_0x23f10d(0x192)](_0x23f10d(0x2e6)))!=null?_0x52315e:'','function':_0x1070b2,'unitId':_0x59f1e9['getUnitId'](),'argsOfFunction':JSON[_0x23f10d(0x1b3)](_0xcc0518),'invokeId':(_0xc07287=_0x284ea1[_0x23f10d(0x21d)])!=null?_0xc07287:'','executionId':(_0x3ca570=_0x284ea1[_0x23f10d(0x230)])!=null?_0x3ca570:''};try{const _0x488401=await this['_httpService'][_0x23f10d(0x201)](_0x477b3b,{'body':_0x197ab7});return _0x488401[_0x23f10d(0x152)]['error']&&_0x488401['body'][_0x23f10d(0x2cf)][_0x23f10d(0x318)]!==Be['OK']?_0x23f10d(0x296):_0x488401[_0x23f10d(0x152)][_0x23f10d(0x223)];}catch{return _0x23f10d(0x296);}}},exports['RemoteUniscriptService']=rs([ue(0x0,a[_0x121fa1(0x1a0)]),ue(0x1,a[_0x121fa1(0x227)](G[_0x121fa1(0x210)])),ue(0x2,a[_0x121fa1(0x392)])],exports[_0x121fa1(0x1a1)]),exports['CollaborationStatusDisplay']=xe,exports['IURLService']=be,exports[_0x121fa1(0x2f8)]=we,exports[_0x121fa1(0x286)]=is,exports[_0x121fa1(0x1da)]=je;
|
|
1
|
+
'use strict';const _0x5241c7=_0x5ae1;(function(_0x4bbfaf,_0x2bf3fc){const _0x27136a=_0x5ae1,_0x4ca5e2=_0x4bbfaf();while(!![]){try{const _0x7db984=parseInt(_0x27136a(0x3b7))/0x1+parseInt(_0x27136a(0x329))/0x2+-parseInt(_0x27136a(0x378))/0x3+parseInt(_0x27136a(0x2f4))/0x4*(-parseInt(_0x27136a(0x1c9))/0x5)+-parseInt(_0x27136a(0x3b9))/0x6+-parseInt(_0x27136a(0x1ab))/0x7+-parseInt(_0x27136a(0x194))/0x8*(-parseInt(_0x27136a(0x30e))/0x9);if(_0x7db984===_0x2bf3fc)break;else _0x4ca5e2['push'](_0x4ca5e2['shift']());}catch(_0x7e297d){_0x4ca5e2['push'](_0x4ca5e2['shift']());}}}(_0x4565,0xaefa4));var Ve=Object[_0x5241c7(0x28a)],Xe=(_0xe5e2b0,_0x9c9d8f,_0x422be2)=>_0x9c9d8f in _0xe5e2b0?Ve(_0xe5e2b0,_0x9c9d8f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x422be2}):_0xe5e2b0[_0x9c9d8f]=_0x422be2,h=(_0x3240da,_0x2f55ca,_0x259c60)=>Xe(_0x3240da,typeof _0x2f55ca!='symbol'?_0x2f55ca+'':_0x2f55ca,_0x259c60);Object[_0x5241c7(0x28a)](exports,Symbol[_0x5241c7(0x328)],{'value':_0x5241c7(0x2f9)});const u=require('@univerjs-pro/collaboration-client'),a=require(_0x5241c7(0x25e)),p=require(_0x5241c7(0x17b)),G=require(_0x5241c7(0x1d9)),b=require(_0x5241c7(0x2f2)),Ge=require(_0x5241c7(0x20c)),d=require(_0x5241c7(0x27f)),W=require(_0x5241c7(0x35e)),m=require(_0x5241c7(0x3bf)),Ee=require(_0x5241c7(0x2ec)),g=require(_0x5241c7(0x295)),$=require(_0x5241c7(0x23f)),X=require(_0x5241c7(0x2bf)),P=require(_0x5241c7(0x33a)),T=require(_0x5241c7(0x38d)),D=require(_0x5241c7(0x235)),M=require(_0x5241c7(0x2c8)),qe=require(_0x5241c7(0x25d));var Ke=Object[_0x5241c7(0x334)],ze=(_0x55776a,_0x4d3af8,_0x23db3f,_0x1b0ad4)=>{const _0x48c973=_0x5241c7;for(var _0x42d7fd=_0x1b0ad4>0x1?void 0x0:_0x1b0ad4?Ke(_0x4d3af8,_0x23db3f):_0x4d3af8,_0xf5ed7c=_0x55776a[_0x48c973(0x3bd)]-0x1,_0x6d840b;_0xf5ed7c>=0x0;_0xf5ed7c--)(_0x6d840b=_0x55776a[_0xf5ed7c])&&(_0x42d7fd=_0x6d840b(_0x42d7fd)||_0x42d7fd);return _0x42d7fd;},Te=(_0xbf1aa2,_0x19b830)=>(_0x23d0ac,_0x341db1)=>_0x19b830(_0x23d0ac,_0x341db1,_0xbf1aa2);let de=class extends a['RxDisposable']{constructor(_0x31ca6d,_0x3884df){const _0x551ddc=_0x5241c7;super(),this[_0x551ddc(0x2e0)]=_0x31ca6d,this[_0x551ddc(0x2b7)]=_0x3884df,this[_0x551ddc(0x369)]();}['_init'](){const _0x514e3c=_0x5241c7,_0xd7cfc1=this;this[_0x514e3c(0x1de)](this[_0x514e3c(0x2e0)]['addClipboardHook']({'onBeforePasteImage':async _0x2f089e=>{const _0x3fccfe=_0x514e3c,_0x2d3b2d=await _0xd7cfc1['_imageIoService'][_0x3fccfe(0x3d3)](_0x2f089e);return _0x2d3b2d?{'source':_0x2d3b2d[_0x3fccfe(0x1a2)],'imageSourceType':_0x2d3b2d[_0x3fccfe(0x31a)]}:null;}}));}};de=ze([Te(0x0,b[_0x5241c7(0x300)]),Te(0x1,Ge[_0x5241c7(0x348)])],de);const Oe=[_0x5241c7(0x221),'jiqing500',_0x5241c7(0x2c5),_0x5241c7(0x37d),'blue400','gold400'];class me extends a[_0x5241c7(0x2c9)]{constructor(){const _0x5cd321=_0x5241c7;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x5cd321(0x1e6),0x0);}[_0x5241c7(0x1c8)](_0x5cd676){const _0xaec2a0=_0x5241c7;if(this['_assignedColors'][_0xaec2a0(0x310)](_0x5cd676))return this[_0xaec2a0(0x2b3)][_0xaec2a0(0x187)](_0x5cd676);const _0x1faff9=Oe[this[_0xaec2a0(0x1e6)]];return this[_0xaec2a0(0x1e6)]=(this[_0xaec2a0(0x1e6)]+0x1)%Oe['length'],this[_0xaec2a0(0x2b3)][_0xaec2a0(0x314)](_0x5cd676,_0x1faff9),_0x1faff9;}}function Pe(_0x1abda1){const _0x4f910a=_0x5241c7;let _0xa8bbb5='';for(const _0x584947 of _0x1abda1){const {startOffset:_0x5d1f89,endOffset:_0x276529,isActive:_0x57c40c,rangeType:_0x4ab989,segmentId:_0x2bf785,segmentPage:_0x24ef58}=_0x584947;_0xa8bbb5[_0x4f910a(0x3bd)]&&(_0xa8bbb5+=','),_0xa8bbb5+=_0x5d1f89+':'+_0x276529+':'+(_0x57c40c?'1':'0')+':'+_0x4ab989+':'+_0x2bf785+':'+_0x24ef58;}return _0xa8bbb5;}function Je(_0x2b20ff){const _0xb8a73b=_0x5241c7,_0x585594=_0x2b20ff[_0xb8a73b(0x1d3)](','),_0x104e03=[];for(const _0x12e0ed of _0x585594){const [_0x4ad263,_0x3ee572,_0x4b3641,_0x368bdf,_0x3d81f5,_0x1bc8b1]=_0x12e0ed[_0xb8a73b(0x1d3)](':');_0x104e03[_0xb8a73b(0x234)]({'startOffset':Number(_0x4ad263),'endOffset':Number(_0x3ee572),'collapsed':_0x4ad263===_0x3ee572,'isActive':_0x4b3641==='1','rangeType':_0x368bdf===a['DOC_RANGE_TYPE']['TEXT']?a[_0xb8a73b(0x29f)][_0xb8a73b(0x26e)]:a[_0xb8a73b(0x29f)][_0xb8a73b(0x1b0)],'segmentId':typeof _0x3d81f5=='string'?String(_0x3d81f5):'','segmentPage':Number(_0x1bc8b1!=null?_0x1bc8b1:-0x1)});}return _0x104e03[_0xb8a73b(0x339)](_0x1e8f4c=>_0x1e8f4c[_0xb8a73b(0x2f7)])||(_0x104e03[0x0]['isActive']=!0x0),_0x104e03;}class Ce extends a[_0x5241c7(0x1dd)]{constructor(){const _0x2c7977=_0x5241c7;super(...arguments),h(this,_0x2c7977(0x3c0),new d['BehaviorSubject'](null)),h(this,_0x2c7977(0x20a),this[_0x2c7977(0x3c0)][_0x2c7977(0x322)]());}[_0x5241c7(0x32a)](_0x12a492){const _0x3c6ccf=_0x5241c7,{unitID:_0x449615,memberID:_0x301cbe,textRanges:_0x17e174}=_0x12a492,_0xea052a=Pe(_0x17e174);if(_0xea052a==='')return;const _0x26e349={'unitID':_0x449615,'memberID':_0x301cbe,'selection':_0xea052a};this[_0x3c6ccf(0x3c0)][_0x3c6ccf(0x24c)](_0x26e349);}}var Ze=Object['getOwnPropertyDescriptor'],Qe=(_0x3437c5,_0x24f797,_0x42b19a,_0x40d3ce)=>{const _0x599b6e=_0x5241c7;for(var _0x4379bb=_0x40d3ce>0x1?void 0x0:_0x40d3ce?Ze(_0x24f797,_0x42b19a):_0x24f797,_0x568eac=_0x3437c5[_0x599b6e(0x3bd)]-0x1,_0x5f178c;_0x568eac>=0x0;_0x568eac--)(_0x5f178c=_0x3437c5[_0x568eac])&&(_0x4379bb=_0x5f178c(_0x4379bb)||_0x4379bb);return _0x4379bb;},L=(_0x4561ff,_0x4d79d2)=>(_0x24fc37,_0x3efa58)=>_0x4d79d2(_0x24fc37,_0x3efa58,_0x4561ff);const et=0x12c,tt=0x64;let fe=class extends a[_0x5241c7(0x1dd)]{constructor(_0x1e959a,_0x197326,_0x5919cf,_0x2ec710,_0x7b1b24,_0x3853fc,_0x49bd63,_0x3ca087,_0x163b5a){const _0x4b1db6=_0x5241c7;super(),h(this,'_online',!0x1),h(this,_0x4b1db6(0x369),!0x1),h(this,_0x4b1db6(0x172),new d[(_0x4b1db6(0x366))](new Map())),h(this,'cursorInfo$',this[_0x4b1db6(0x172)][_0x4b1db6(0x322)]()),h(this,_0x4b1db6(0x193),new d[(_0x4b1db6(0x366))]([])),h(this,_0x4b1db6(0x224),this[_0x4b1db6(0x193)][_0x4b1db6(0x353)](d[_0x4b1db6(0x27e)](et))),h(this,'_updateLocalCursor',a[_0x4b1db6(0x302)](_0x23b9f1=>{const _0x219138=_0x4b1db6,_0x27ad3f={'eventID':m[_0x219138(0x1e1)][_0x219138(0x3bb)],'data':{'unitID':this['unitID'],'memberID':this[_0x219138(0x204)][_0x219138(0x1ee)](),'selection':Pe(_0x23b9f1)}};this[_0x219138(0x204)][_0x219138(0x1b9)](_0x27ad3f,this['unitID']);},tt)),(this['unitID']=_0x1e959a,this[_0x4b1db6(0x204)]=_0x197326,this[_0x4b1db6(0x3c8)]=_0x5919cf,this[_0x4b1db6(0x1f7)]=_0x2ec710,this[_0x4b1db6(0x3e4)]=_0x7b1b24,this[_0x4b1db6(0x2f3)]=_0x3853fc,this[_0x4b1db6(0x1e5)]=_0x49bd63,this[_0x4b1db6(0x308)]=_0x3ca087,this[_0x4b1db6(0x1fb)]=_0x163b5a);}get[_0x5241c7(0x198)](){const _0x4dc2df=_0x5241c7;return this[_0x4dc2df(0x172)]['getValue']();}get['roomMembers'](){const _0x264519=_0x5241c7;return this[_0x264519(0x193)]['getValue']();}['dispose'](){const _0x2f4201=_0x5241c7;super[_0x2f4201(0x347)](),this[_0x2f4201(0x172)][_0x2f4201(0x24c)](new Map()),this[_0x2f4201(0x172)]['complete'](),this['_roomMembers$'][_0x2f4201(0x24c)]([]),this[_0x2f4201(0x193)][_0x2f4201(0x375)]();}[_0x5241c7(0x2b9)](){const _0x51a2ec=_0x5241c7;this[_0x51a2ec(0x369)]||(this['_init']=!0x0,this[_0x51a2ec(0x204)][_0x51a2ec(0x384)][_0x51a2ec(0x353)](d[_0x51a2ec(0x214)](this['dispose$']))[_0x51a2ec(0x3d4)](_0x409f69=>{const _0x199c47=_0x51a2ec;_0x409f69===u[_0x199c47(0x39f)][_0x199c47(0x2c6)]?this[_0x199c47(0x1c5)]():this['_toggleOffline']();}),this[_0x51a2ec(0x204)][_0x51a2ec(0x188)][_0x51a2ec(0x353)](d[_0x51a2ec(0x214)](this[_0x51a2ec(0x352)]))[_0x51a2ec(0x3d4)](_0x1f5fb2=>{const _0x493ac7=_0x51a2ec,_0x56e420=_0x1f5fb2[_0x493ac7(0x189)];_0x56e420===m[_0x493ac7(0x1e1)][_0x493ac7(0x3bb)]&&this[_0x493ac7(0x1d8)](_0x1f5fb2),_0x56e420===m[_0x493ac7(0x1e1)]['USERS_LEAVE']&&this[_0x493ac7(0x3c6)](_0x1f5fb2);}),this['disposeWithMe'](this['_commandService'][_0x51a2ec(0x376)](_0x2ac386=>{const _0xf156d5=_0x51a2ec,_0x233eb1=_0x2ac386[_0xf156d5(0x1e3)];_0x233eb1!=null&&this[_0xf156d5(0x276)]&&_0x2ac386['id']===W[_0xf156d5(0x3c2)]['id']&&_0x233eb1[_0xf156d5(0x2b5)]===this[_0xf156d5(0x18f)]&&_0x233eb1[_0xf156d5(0x1f5)]===!0x1&&_0x233eb1[_0xf156d5(0x38c)][_0xf156d5(0x3bd)]>0x0&&this['_updateLocalCursor'](_0x233eb1['ranges']);})),this[_0x51a2ec(0x2f3)]['collabCursorState$'][_0x51a2ec(0x353)](d[_0x51a2ec(0x214)](this['dispose$']))[_0x51a2ec(0x3d4)](_0x680359=>{const _0xd81282=_0x51a2ec;if((_0x680359==null?void 0x0:_0x680359['unitID'])!==this[_0xd81282(0x18f)])return;const _0x3e20c9={'eventID':m[_0xd81282(0x1e1)][_0xd81282(0x3bb)],'data':_0x680359};this['_onCursorUpdate'](_0x3e20c9);}),this[_0x51a2ec(0x1de)](this[_0x51a2ec(0x1fb)][_0x51a2ec(0x376)](_0x9250cb=>{const _0xedf5f4=_0x51a2ec;if(_0x9250cb[_0xedf5f4(0x1e3)]==null)return;const _0x1dc2e6=_0x9250cb[_0xedf5f4(0x1e3)];if(_0x9250cb['id']!==W['RichTextEditingMutation']['id']||_0x1dc2e6[_0xedf5f4(0x2b5)]!==this['unitID'])return;const _0x34860f={'id':_0xedf5f4(0x34e),'params':_0x1dc2e6},_0x2cace7=this[_0xedf5f4(0x198)];for(const [_0x1d1cac,_0x9f9d5b]of _0x2cace7){const _0x10e7bf={'id':_0xedf5f4(0x34e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x9f9d5b[_0xedf5f4(0x38c)]}},_0x273989=this[_0xedf5f4(0x1e5)][_0xedf5f4(0x285)](_0x34860f,_0x10e7bf,!0x1);if(m[_0xedf5f4(0x36e)](_0x273989))throw _0x273989[_0xedf5f4(0x327)];_0x2cace7[_0xedf5f4(0x314)](_0x1d1cac,{..._0x9f9d5b,'ranges':_0x273989['m2Prime'][_0xedf5f4(0x1e3)][_0xedf5f4(0x357)]});}queueMicrotask(()=>{const _0x543eda=_0xedf5f4;this[_0x543eda(0x172)][_0x543eda(0x24c)](_0x2cace7);});})));}['_onCursorUpdate'](_0x4ee5b2){const _0x49b858=_0x5241c7;var _0x237c64,_0x21a1d3;const {memberID:_0x1aaaa1,selection:_0x4646c0}=_0x4ee5b2[_0x49b858(0x23d)],_0x1f2ebc=Je(_0x4646c0),_0x105b02=(_0x21a1d3=(_0x237c64=this[_0x49b858(0x3e4)]['getMember'](this[_0x49b858(0x18f)],_0x1aaaa1))==null?void 0x0:_0x237c64[_0x49b858(0x380)])!=null?_0x21a1d3:_0x49b858(0x175),_0x25d575={'color':this['_colorAssignService'][_0x49b858(0x1c8)](_0x1aaaa1),'name':_0x105b02,'ranges':_0x1f2ebc},_0x2962b8=this['cursorInfo'];_0x2962b8[_0x49b858(0x314)](_0x1aaaa1,_0x25d575),this[_0x49b858(0x172)]['next'](_0x2962b8);}[_0x5241c7(0x3c6)](_0x50f880){const _0x41e505=_0x5241c7,{memberID:_0x4bba7d}=_0x50f880[_0x41e505(0x23d)],_0x293876=this[_0x41e505(0x198)];_0x293876[_0x41e505(0x364)](_0x4bba7d),this[_0x41e505(0x172)][_0x41e505(0x24c)](_0x293876);}[_0x5241c7(0x1c5)](){const _0x25d07e=_0x5241c7;var _0x29e736;if(this[_0x25d07e(0x276)]=!0x0,((_0x29e736=this[_0x25d07e(0x308)][_0x25d07e(0x169)]())==null?void 0x0:_0x29e736['getUnitId']())!==this[_0x25d07e(0x18f)])return;const _0x49c03e=this[_0x25d07e(0x3c8)][_0x25d07e(0x187)](W[_0x25d07e(0x3b1)])['getDocRanges']();Array['isArray'](_0x49c03e)&&_0x49c03e[_0x25d07e(0x3bd)]>0x0&&this[_0x25d07e(0x241)](_0x49c03e);}['_toggleOffline'](){const _0x1604a2=_0x5241c7;this[_0x1604a2(0x276)]=!0x1;}};fe=Qe([L(0x2,a[_0x5241c7(0x190)](a[_0x5241c7(0x197)])),L(0x3,a[_0x5241c7(0x190)](me)),L(0x4,a[_0x5241c7(0x190)](u[_0x5241c7(0x259)])),L(0x5,a['Inject'](Ce)),L(0x6,m[_0x5241c7(0x361)]),L(0x7,a[_0x5241c7(0x356)]),L(0x8,a[_0x5241c7(0x387)])],fe);var st=Object['getOwnPropertyDescriptor'],it=(_0x47188a,_0x5ac0fc,_0x8a9b1a,_0x290130)=>{const _0xbf72f6=_0x5241c7;for(var _0x93ffa6=_0x290130>0x1?void 0x0:_0x290130?st(_0x5ac0fc,_0x8a9b1a):_0x5ac0fc,_0x177890=_0x47188a[_0xbf72f6(0x3bd)]-0x1,_0x4f97e2;_0x177890>=0x0;_0x177890--)(_0x4f97e2=_0x47188a[_0x177890])&&(_0x93ffa6=_0x4f97e2(_0x93ffa6)||_0x93ffa6);return _0x93ffa6;},A=(_0x1b4c2b,_0x3918fb)=>(_0x263f61,_0x2c0940)=>_0x3918fb(_0x263f61,_0x2c0940,_0x1b4c2b);const nt=0x12c,rt=0x64,ot=()=>{let _0x555879=[],_0x373931=!0x1;return _0x4b4dd0=>{const _0xfd294=_0x5ae1;_0x555879[_0xfd294(0x234)](_0x4b4dd0),_0x373931||(_0x373931=!0x0,setTimeout(()=>{const _0x3455b7=_0xfd294;_0x555879[_0x3455b7(0x37a)](_0x2498c9=>_0x2498c9()),_0x555879=[],_0x373931=!0x1;}));};};function _0x5ae1(_0x340c57,_0xdee13a){const _0x45657d=_0x4565();return _0x5ae1=function(_0x5ae146,_0x2c6e31){_0x5ae146=_0x5ae146-0x169;let _0x131769=_0x45657d[_0x5ae146];return _0x131769;},_0x5ae1(_0x340c57,_0xdee13a);}let Se=class extends a[_0x5241c7(0x1dd)]{constructor(_0x2a4c2b,_0x4d5f65,_0x556de0,_0xab274a,_0x29f249,_0x352eac,_0x40e4c1,_0x5c187e){const _0x366403=_0x5241c7;super(),h(this,_0x366403(0x276),!0x1),h(this,'_init',!0x1),h(this,_0x366403(0x172),new d[(_0x366403(0x366))](new Map())),h(this,'cursorInfo$',this[_0x366403(0x172)]['asObservable']()),h(this,_0x366403(0x193),new d[(_0x366403(0x366))]([])),h(this,'roomMembers$',this['_roomMembers$'][_0x366403(0x353)](d[_0x366403(0x27e)](nt))),h(this,_0x366403(0x241),a[_0x366403(0x302)]((_0x24ca88,_0x22b89d)=>{const _0x1b8254=_0x366403,_0x518e3e={'eventID':m[_0x1b8254(0x1e1)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1b8254(0x18f)],'memberID':this[_0x1b8254(0x204)][_0x1b8254(0x1ee)](),'selection':Ee[_0x1b8254(0x24d)](_0x24ca88,_0x22b89d[_0x1b8254(0x3b8)])}};this[_0x1b8254(0x204)]['send'](_0x518e3e,this[_0x1b8254(0x18f)]);},rt)),(this['unitID']=_0x2a4c2b,this[_0x366403(0x204)]=_0x4d5f65,this[_0x366403(0x3c8)]=_0x556de0,this[_0x366403(0x1f7)]=_0xab274a,this[_0x366403(0x3e4)]=_0x29f249,this[_0x366403(0x308)]=_0x352eac,this[_0x366403(0x1fb)]=_0x40e4c1,this[_0x366403(0x229)]=_0x5c187e);}get['cursorInfo'](){const _0x1316ff=_0x5241c7;return this[_0x1316ff(0x172)][_0x1316ff(0x2bd)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x5241c7(0x347)](){const _0x3239f5=_0x5241c7;super[_0x3239f5(0x347)](),this[_0x3239f5(0x172)][_0x3239f5(0x24c)](new Map()),this[_0x3239f5(0x172)][_0x3239f5(0x375)](),this[_0x3239f5(0x193)][_0x3239f5(0x24c)]([]),this[_0x3239f5(0x193)][_0x3239f5(0x375)]();}[_0x5241c7(0x2b9)](){const _0x480bb0=_0x5241c7;this[_0x480bb0(0x369)]||(this[_0x480bb0(0x369)]=!0x0,this[_0x480bb0(0x204)][_0x480bb0(0x384)][_0x480bb0(0x353)](d[_0x480bb0(0x214)](this[_0x480bb0(0x352)]))[_0x480bb0(0x3d4)](_0x4c2a98=>{const _0x5b335e=_0x480bb0;_0x4c2a98===u['SessionStatus'][_0x5b335e(0x2c6)]?this[_0x5b335e(0x1c5)]():this[_0x5b335e(0x38f)]();}),this[_0x480bb0(0x204)][_0x480bb0(0x188)][_0x480bb0(0x353)](d[_0x480bb0(0x214)](this['dispose$']))[_0x480bb0(0x3d4)](_0x161812=>{const _0x254a3b=_0x480bb0,_0x1c0c32=_0x161812[_0x254a3b(0x189)];_0x1c0c32===m[_0x254a3b(0x1e1)][_0x254a3b(0x3bb)]&&this[_0x254a3b(0x1d8)](_0x161812),_0x1c0c32===m[_0x254a3b(0x1e1)]['USERS_LEAVE']&&this[_0x254a3b(0x3c6)](_0x161812);}),this[_0x480bb0(0x32f)](),this['disposeWithMe'](this['_commandService'][_0x480bb0(0x376)](_0x52a733=>{const _0x1b2824=_0x480bb0;if(this[_0x1b2824(0x276)]&&_0x52a733['id']===g[_0x1b2824(0x1bc)]['id']&&_0x52a733[_0x1b2824(0x1e3)][_0x1b2824(0x2b5)]===this[_0x1b2824(0x18f)]){const _0x64221=_0x52a733[_0x1b2824(0x1e3)];this[_0x1b2824(0x241)](_0x64221['subUnitId'],_0x64221[_0x1b2824(0x1ed)][0x0]);}})));}[_0x5241c7(0x1d8)](_0x5c3f8f){const _0x418eb5=_0x5241c7;var _0x19c093,_0x4161e2;const {memberID:_0x1d71fd,selection:_0x34a8a6}=_0x5c3f8f['data'],{sheetName:_0xf050ae,range:_0x4a3b95}=Ee[_0x418eb5(0x2cc)](_0x34a8a6),_0x5db8de={'name':(_0x4161e2=(_0x19c093=this['_memberService']['getMember'](this[_0x418eb5(0x18f)],_0x1d71fd))==null?void 0x0:_0x19c093[_0x418eb5(0x380)])!=null?_0x4161e2:_0x418eb5(0x175),'range':this[_0x418eb5(0x34f)](_0xf050ae,_0x4a3b95),'sheetID':_0xf050ae,'color':this[_0x418eb5(0x1f7)][_0x418eb5(0x1c8)](_0x1d71fd),'selection':_0x34a8a6},_0x26b549=this[_0x418eb5(0x198)];_0x26b549[_0x418eb5(0x314)](_0x1d71fd,_0x5db8de),this[_0x418eb5(0x172)][_0x418eb5(0x24c)](_0x26b549);}[_0x5241c7(0x3c6)](_0x31c431){const _0x2331ae=_0x5241c7,{memberID:_0x113d29}=_0x31c431[_0x2331ae(0x23d)],_0x52e7ca=this['cursorInfo'];_0x52e7ca[_0x2331ae(0x364)](_0x113d29),this['_cursorInfo$']['next'](_0x52e7ca);}['_getMergeRange'](_0x30424e,_0x4d74f1){const _0x4a1956=_0x5241c7;var _0x44d760,_0x641788;const _0xc3839e=(_0x641788=(_0x44d760=this[_0x4a1956(0x308)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x44d760[_0x4a1956(0x1c4)](_0x30424e))==null?void 0x0:_0x641788['getMergeData']();return(_0xc3839e==null?void 0x0:_0xc3839e[_0x4a1956(0x2ff)](_0x9b89f7=>a['Rectangle'][_0x4a1956(0x373)](_0x9b89f7,_0x4d74f1)))||_0x4d74f1;}[_0x5241c7(0x32f)](){const _0x4aa20c=_0x5241c7,_0x2dff29=new a['DisposableCollection'](),_0x5e0148=ot(),_0x1d397a=()=>{const _0x5ac5a6=_0x5ae1;_0x2dff29['dispose']();const _0x5e07a2=(_0x40edac,_0xa062ca,_0x184768,_0x4eb43a)=>{const _0x368482=_0x5ae1;let _0x494388=[];switch(_0x40edac['id']){case g['EffectRefRangId'][_0x368482(0x213)]:{_0x494388=g['handleDeleteRangeMoveLeft'](_0x40edac,_0x4eb43a);break;}case g[_0x368482(0x1b4)][_0x368482(0x2ea)]:{_0x494388=g[_0x368482(0x39d)](_0x40edac,_0x4eb43a);break;}case g[_0x368482(0x1b4)][_0x368482(0x2a0)]:{_0x494388=g[_0x368482(0x2aa)](_0x40edac,_0x4eb43a);break;}case g['EffectRefRangId'][_0x368482(0x3cb)]:{_0x494388=g[_0x368482(0x181)](_0x40edac,_0x4eb43a);break;}case g[_0x368482(0x1b4)][_0x368482(0x253)]:{_0x494388=g[_0x368482(0x17e)](_0x40edac,_0x4eb43a);break;}case g[_0x368482(0x1b4)]['InsertRowCommandId']:{_0x494388=g[_0x368482(0x263)](_0x40edac,_0x4eb43a);break;}case g[_0x368482(0x1b4)]['MoveRangeCommandId']:{_0x494388=g[_0x368482(0x208)](_0x40edac,_0x4eb43a);break;}case g[_0x368482(0x1b4)][_0x368482(0x271)]:{_0x494388=g[_0x368482(0x1a9)](_0x40edac,_0x4eb43a);break;}case g[_0x368482(0x1b4)][_0x368482(0x2d7)]:{_0x494388=g[_0x368482(0x1ce)](_0x40edac,_0x4eb43a);break;}}const _0x4318e8=g[_0x368482(0x331)](_0x494388,_0x4eb43a),_0x11ec9e=this['cursorInfo'][_0x368482(0x187)](_0xa062ca);if(_0x11ec9e&&_0x4318e8){const _0x415aee={..._0x11ec9e,'range':_0x4318e8};this[_0x368482(0x198)][_0x368482(0x314)](_0xa062ca,_0x415aee),_0x5e0148(()=>{const _0x52f7a1=_0x368482,_0x411765=this[_0x52f7a1(0x229)]['registerRefRange'](_0x4318e8,_0x1c8c3f=>(_0x411765['dispose'](),_0x5e07a2(_0x1c8c3f,_0xa062ca,_0x184768,_0x4318e8)));_0x2dff29[_0x52f7a1(0x344)](_0x411765);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5ac5a6(0x37a)]((_0x5e5885,_0x1205a)=>{const _0x173ad4=_0x5ac5a6,{range:_0x4f10a1,sheetID:_0x274975}=_0x5e5885,_0x74f62e=this[_0x173ad4(0x229)][_0x173ad4(0x2fa)](_0x4f10a1,_0x3a8b08=>(_0x74f62e[_0x173ad4(0x347)](),_0x5e07a2(_0x3a8b08,_0x1205a,_0x274975,_0x4f10a1)));_0x2dff29[_0x173ad4(0x344)](_0x74f62e);});};this['disposeWithMe'](a['toDisposable'](this[_0x4aa20c(0x172)][_0x4aa20c(0x3d4)](()=>{_0x1d397a();})));}[_0x5241c7(0x1c5)](){const _0x2a7732=_0x5241c7;var _0x47b88d,_0x34a85b;if(this[_0x2a7732(0x276)]=!0x0,((_0x47b88d=this[_0x2a7732(0x308)][_0x2a7732(0x169)]())==null?void 0x0:_0x47b88d[_0x2a7732(0x2d1)]())!==this['unitID'])return;const _0xaa2717=(_0x34a85b=this[_0x2a7732(0x3c8)]['get'](g[_0x2a7732(0x1b3)])['getCurrentSelections']())==null?void 0x0:_0x34a85b[0x0],_0x1d716b=this[_0x2a7732(0x308)]['getCurrentUnitForType'](a[_0x2a7732(0x215)][_0x2a7732(0x3c5)])[_0x2a7732(0x289)]();_0xaa2717&&_0x1d716b&&this[_0x2a7732(0x241)](_0x1d716b[_0x2a7732(0x195)](),_0xaa2717);}['_toggleOffline'](){this['_online']=!0x1;}};Se=it([A(0x2,a[_0x5241c7(0x190)](a[_0x5241c7(0x197)])),A(0x3,a[_0x5241c7(0x190)](me)),A(0x4,a[_0x5241c7(0x190)](u[_0x5241c7(0x259)])),A(0x5,a['IUniverInstanceService']),A(0x6,a[_0x5241c7(0x387)]),A(0x7,a['Inject'](g['RefRangeService']))],Se);var at=Object[_0x5241c7(0x334)],ct=(_0x4f857d,_0x45fd6b,_0x26161b,_0x14b072)=>{const _0x23fc1d=_0x5241c7;for(var _0x14fdf4=_0x14b072>0x1?void 0x0:_0x14b072?at(_0x45fd6b,_0x26161b):_0x45fd6b,_0x56e1b6=_0x4f857d[_0x23fc1d(0x3bd)]-0x1,_0x74155f;_0x56e1b6>=0x0;_0x56e1b6--)(_0x74155f=_0x4f857d[_0x56e1b6])&&(_0x14fdf4=_0x74155f(_0x14fdf4)||_0x14fdf4);return _0x14fdf4;},ie=(_0x1f615d,_0x37728c)=>(_0x1c7561,_0x1026c0)=>_0x37728c(_0x1c7561,_0x1026c0,_0x1f615d);let x=class extends a[_0x5241c7(0x1dd)]{constructor(_0xc2c55b,_0x2311cd,_0x3d15c2){const _0x416859=_0x5241c7;super(),h(this,_0x416859(0x31c),new Map()),h(this,'_entityInit$',new d[(_0x416859(0x377))]()),(this[_0x416859(0x308)]=_0xc2c55b,this['_injector']=_0x2311cd,this[_0x416859(0x31b)]=_0x3d15c2,this[_0x416859(0x369)]());}[_0x5241c7(0x347)](){const _0xf57772=_0x5241c7;super[_0xf57772(0x347)](),this['_entityInit$'][_0xf57772(0x375)](),this[_0xf57772(0x31c)]['forEach'](_0x39cc52=>_0x39cc52[_0xf57772(0x347)]());}[_0x5241c7(0x1fc)](_0x568a92){const _0x562384=_0x5241c7;return this[_0x562384(0x31c)][_0x562384(0x310)](_0x568a92)?this[_0x562384(0x31c)][_0x562384(0x187)](_0x568a92)[_0x562384(0x179)]:this['_entityInit$'][_0x562384(0x353)](d['filter'](_0x27aa8f=>_0x27aa8f['unitID']===_0x568a92),d[_0x562384(0x3d0)](_0x2d14a5=>_0x2d14a5[_0x562384(0x179)]));}[_0x5241c7(0x369)](){const _0x260857=_0x5241c7;this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x260857(0x3c5)])['pipe'](d[_0x260857(0x214)](this[_0x260857(0x352)]))[_0x260857(0x3d4)](async _0xd943ad=>{const _0x37d181=_0x260857,_0x4a1267=_0xd943ad['getUnitId'](),_0x35869a=await this[_0x37d181(0x1a1)](_0x4a1267);this[_0x37d181(0x266)][_0x37d181(0x24c)](_0x35869a),this[_0x37d181(0x31c)][_0x37d181(0x314)](_0x4a1267,_0x35869a);}),this[_0x260857(0x308)][_0x260857(0x367)](a[_0x260857(0x215)][_0x260857(0x2a5)])[_0x260857(0x353)](d['takeUntil'](this[_0x260857(0x352)]))[_0x260857(0x353)](d[_0x260857(0x269)](_0x44609a=>!_0x44609a[_0x260857(0x2d1)]()[_0x260857(0x1ef)]('__')))[_0x260857(0x3d4)](async _0x78783d=>{const _0xa31ee4=_0x260857,_0x444b26=_0x78783d['getUnitId'](),_0x30ed7a=await this[_0xa31ee4(0x2e9)](_0x444b26);this[_0xa31ee4(0x266)][_0xa31ee4(0x24c)](_0x30ed7a),this[_0xa31ee4(0x31c)]['set'](_0x444b26,_0x30ed7a);}),d[_0x260857(0x2cb)](this[_0x260857(0x308)]['getTypeOfUnitDisposed$'](a[_0x260857(0x215)][_0x260857(0x2a5)]),this[_0x260857(0x308)][_0x260857(0x176)](a[_0x260857(0x215)][_0x260857(0x3c5)]))['pipe'](d[_0x260857(0x214)](this[_0x260857(0x352)]))['subscribe'](_0x5cceb6=>{const _0x329b71=_0x260857,_0x2af457=_0x5cceb6[_0x329b71(0x2d1)](),_0x5a6fb6=this[_0x329b71(0x31c)][_0x329b71(0x187)](_0x2af457);_0x5a6fb6&&(_0x5a6fb6['dispose'](),this['_entities'][_0x329b71(0x364)](_0x2af457));});}async['_startSheetCollabCursor'](_0x17f7d6){const _0x28317e=_0x5241c7,_0x131344=await this[_0x28317e(0x31b)]['requireSession'](_0x17f7d6),_0x5a39dc=this['_injector']['createInstance'](Se,_0x17f7d6,_0x131344);return _0x5a39dc[_0x28317e(0x2b9)](),_0x5a39dc;}async[_0x5241c7(0x2e9)](_0x31191c){const _0x4fd488=_0x5241c7,_0x586c73=await this[_0x4fd488(0x31b)]['requireSession'](_0x31191c),_0x4d935f=this[_0x4fd488(0x3c8)][_0x4fd488(0x1fe)](fe,_0x31191c,_0x586c73);return _0x4d935f[_0x4fd488(0x2b9)](),_0x4d935f;}};x=ct([ie(0x0,a[_0x5241c7(0x356)]),ie(0x1,a[_0x5241c7(0x190)](a['Injector'])),ie(0x2,a[_0x5241c7(0x190)](u[_0x5241c7(0x33c)]))],x);const q=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x5256e4,_0x398817){const _0xdfe49c=_0x5241c7;let {radius:_0x588831,width:_0x1be016,height:_0x2f5ec9}=_0x398817;_0x588831=_0x588831!=null?_0x588831:0x0,_0x1be016=_0x1be016!=null?_0x1be016:0x1e,_0x2f5ec9=_0x2f5ec9!=null?_0x2f5ec9:0x1e;let _0x2daa52=0x0,_0x648ae4=0x0,_0x31d5fd=0x0;_0x2daa52=_0x648ae4=_0x31d5fd=Math[_0xdfe49c(0x2f5)](_0x588831,_0x1be016/0x2,_0x2f5ec9/0x2),_0x5256e4[_0xdfe49c(0x260)](),_0x5256e4[_0xdfe49c(0x32b)](_0x2daa52,0x0),_0x5256e4[_0xdfe49c(0x299)](_0x1be016-_0x648ae4,0x0),_0x5256e4[_0xdfe49c(0x343)](_0x1be016-_0x648ae4,_0x648ae4,_0x648ae4,Math['PI']*0x3/0x2,0x0,!0x1),_0x5256e4['lineTo'](_0x1be016,_0x2f5ec9-_0x31d5fd),_0x5256e4['arc'](_0x1be016-_0x31d5fd,_0x2f5ec9-_0x31d5fd,_0x31d5fd,0x0,Math['PI']/0x2,!0x1),_0x5256e4[_0xdfe49c(0x299)](0x0,_0x2f5ec9),_0x5256e4[_0xdfe49c(0x299)](0x0,_0x2daa52),_0x5256e4[_0xdfe49c(0x343)](_0x2daa52,_0x2daa52,_0x2daa52,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5256e4[_0xdfe49c(0x24f)](),_0x398817[_0xdfe49c(0x29c)]&&(_0x5256e4['save'](),_0x5256e4[_0xdfe49c(0x332)]=_0x398817[_0xdfe49c(0x29c)],_0x398817[_0xdfe49c(0x2f6)]===_0xdfe49c(0x1bd)?_0x5256e4['fill'](_0xdfe49c(0x1bd)):_0x5256e4[_0xdfe49c(0x29c)](),_0x5256e4[_0xdfe49c(0x296)]());}class ee extends p[_0x5241c7(0x2a7)]{constructor(_0x33cab4,_0xfa98f3){const _0x1a2ce5=_0x5241c7;super(_0x33cab4,_0xfa98f3),h(this,'color'),h(this,_0x1a2ce5(0x210)),(this[_0x1a2ce5(0x1fa)]=_0xfa98f3==null?void 0x0:_0xfa98f3[_0x1a2ce5(0x1fa)],this[_0x1a2ce5(0x210)]=_0xfa98f3==null?void 0x0:_0xfa98f3[_0x1a2ce5(0x210)]);}static[_0x5241c7(0x1e0)](_0x235911,_0xfe9b4){const _0x5eaa30=_0x5241c7,{text:_0x4fe9e1,color:_0xa8d580}=_0xfe9b4;_0x235911[_0x5eaa30(0x27c)](),_0x235911['font']=_0x5eaa30(0x1b6);const _0x20a7d0=_0x235911[_0x5eaa30(0x37e)](_0x4fe9e1)[_0x5eaa30(0x390)],_0x432562=Math[_0x5eaa30(0x2f5)](_0x20a7d0+0x2*ne,Re);_t(_0x235911,{'height':q,'radius':0x4,'width':_0x432562,'fill':_0xa8d580}),_0x235911[_0x5eaa30(0x332)]=_0x5eaa30(0x1a5);const _0x1041e9=ne,_0x2f7176=q-lt,_0x5364b9=Re-0x2*ne;if(_0x20a7d0>_0x5364b9){let _0x1480f4='',_0x2b2cc8=0x0;for(const _0x1dfc5c of _0x4fe9e1){const _0x4cab72=_0x235911[_0x5eaa30(0x37e)](_0x1dfc5c)['width'];if(_0x2b2cc8+_0x4cab72<=_0x5364b9-_0x235911['measureText'](_0x5eaa30(0x216))['width'])_0x1480f4+=_0x1dfc5c,_0x2b2cc8+=_0x4cab72;else{_0x1480f4+=_0x5eaa30(0x216);break;}}_0x235911['fillText'](_0x1480f4,_0x1041e9,_0x2f7176);}else _0x235911[_0x5eaa30(0x35a)](_0x4fe9e1,_0x1041e9,_0x2f7176);_0x235911[_0x5eaa30(0x296)]();}[_0x5241c7(0x1e2)](_0x12ac37){const _0x1e4d6c=_0x5241c7;ee[_0x1e4d6c(0x1e0)](_0x12ac37,this);}}const re='collab-text-anchor-',ht=_0x5241c7(0x272),ut=_0x5241c7(0x389),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x5241c7(0x25f);class De{constructor(_0x54f88b,_0x294e2e,_0x4fb9e6,_0x543205){const _0x525de6=_0x5241c7;h(this,_0x525de6(0x30f),[]),h(this,_0x525de6(0x273),null),h(this,'_textBubble',null),h(this,_0x525de6(0x25c),null),h(this,_0x525de6(0x2af),null),h(this,_0x525de6(0x292),null),(this[_0x525de6(0x240)]=_0x54f88b,this['_scene']=_0x294e2e,this[_0x525de6(0x233)]=_0x4fb9e6,this['_document']=_0x543205,this[_0x525de6(0x275)]());}set[_0x5241c7(0x26a)](_0xd5faca){const _0x2cd114=_0x5241c7;_0xd5faca?(this[_0x2cd114(0x25c)]&&this['_anchorDot'][_0x2cd114(0x222)](),this[_0x2cd114(0x3a7)]&&this[_0x2cd114(0x3a7)][_0x2cd114(0x262)]()):(this['_anchorDot']&&this['_anchorDot'][_0x2cd114(0x262)](),this[_0x2cd114(0x3a7)]&&this[_0x2cd114(0x3a7)][_0x2cd114(0x222)]());}[_0x5241c7(0x347)](){const _0x4efc28=_0x5241c7;for(const _0x2c6538 of this[_0x4efc28(0x30f)])_0x2c6538['dispose']();this[_0x4efc28(0x3a7)]&&this['_textBubble']['dispose'](),this[_0x4efc28(0x25c)]&&this[_0x4efc28(0x25c)][_0x4efc28(0x347)](),this['_anchor']&&this[_0x4efc28(0x273)][_0x4efc28(0x347)](),this[_0x4efc28(0x292)]&&this[_0x4efc28(0x292)]();}[_0x5241c7(0x275)](){const _0x15f133=_0x5241c7;var _0x5bc7cb;const {_docSkeleton:_0x999db0,_document:_0x4c5ae5}=this,{color:_0x54093c,name:_0x467eaf,ranges:_0x36c196}=this['_cursor'],_0x1c5aa7=_0x4c5ae5[_0x15f133(0x29b)](),{docsLeft:_0x27894b,docsTop:_0x39c9ae}=_0x1c5aa7,_0x5947d6=new b[(_0x15f133(0x32d))](_0x1c5aa7,_0x999db0);for(const {startOffset:_0x489fb0,endOffset:_0xb00d38,rangeType:_0x255691,segmentId:_0xe09820,segmentPage:_0x19c6cd,collapsed:_0xa24607,isActive:_0x595992}of _0x36c196){const _0x4b9c3a=_0x999db0[_0x15f133(0x236)](_0x489fb0,!0x0,_0xe09820,_0x19c6cd);let _0x50a9c0=_0x999db0[_0x15f133(0x236)](_0xb00d38,!0x0,_0xe09820,_0x19c6cd);if(_0x50a9c0==null&&(_0x50a9c0=_0x999db0[_0x15f133(0x236)](_0xb00d38-0x1,!0x1,_0xe09820,_0x19c6cd)),_0x595992){const {contentBoxPointGroup:_0x1379d9}=_0x5947d6[_0x15f133(0x26b)](_0x50a9c0,_0x50a9c0);if(_0x1379d9['length']===0x0)continue;this[_0x15f133(0x3db)](_0x54093c,_0x1379d9,_0x27894b,_0x39c9ae,_0x467eaf),this[_0x15f133(0x292)]=this[_0x15f133(0x17a)]();}if(_0x4b9c3a&&_0x50a9c0){if(_0x255691===a[_0x15f133(0x29f)][_0x15f133(0x1b0)]){const _0xb5c21=new b['NodePositionConvertToRectRange'](_0x1c5aa7,_0x999db0),{pointGroup:_0x56275b}=(_0x5bc7cb=_0xb5c21[_0x15f133(0x26b)](_0x4b9c3a,_0x50a9c0))!=null?_0x5bc7cb:{};if(_0x56275b==null||_0x56275b['length']===0x0)continue;this[_0x15f133(0x33e)](_0x54093c,_0x56275b,_0x27894b,_0x39c9ae);}else{if(!_0xa24607){const {borderBoxPointGroup:_0x496c7a}=_0x5947d6[_0x15f133(0x26b)](_0x4b9c3a,_0x50a9c0);if(_0x496c7a[_0x15f133(0x3bd)]===0x0)continue;this[_0x15f133(0x209)](_0x54093c,_0x496c7a,_0x27894b,_0x39c9ae);}}}}}[_0x5241c7(0x3db)](_0x56a496,_0x24372f,_0x50fac5,_0x48da22,_0x53288e){const _0x12fe35=_0x5241c7,_0x257647=this[_0x12fe35(0x351)](_0x24372f),{left:_0xa24c3,top:_0x40e412,height:_0x12228d}=_0x257647,_0x26f32d=this[_0x12fe35(0x3a0)](),_0x1c3851=ft/_0x26f32d,_0x4d26bb=new p['Rect'](re+a[_0x12fe35(0x29e)][_0x12fe35(0x34a)](k),{'left':_0xa24c3+_0x50fac5-_0x1c3851,'top':_0x40e412+_0x48da22,'height':_0x12228d,'width':dt,'fill':_0x56a496||p[_0x12fe35(0x247)](a['COLORS']['black'],0x0),'strokeWidth':_0x1c3851,'stroke':St,'evented':!0x0});this[_0x12fe35(0x273)]=_0x4d26bb,this[_0x12fe35(0x2b8)][_0x12fe35(0x205)](_0x4d26bb,b[_0x12fe35(0x219)]);const _0x5010d0=new p[(_0x12fe35(0x256))](re+a[_0x12fe35(0x29e)][_0x12fe35(0x34a)](k),{'left':_0xa24c3+_0x50fac5-_0x1c3851,'top':_0x40e412+_0x48da22-oe/0x2,'height':oe,'width':oe,'fill':_0x56a496||p[_0x12fe35(0x247)](a[_0x12fe35(0x22b)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56a496||p[_0x12fe35(0x247)](a[_0x12fe35(0x22b)][_0x12fe35(0x37c)],0x0),'evented':!0x1});this[_0x12fe35(0x25c)]=_0x5010d0,this[_0x12fe35(0x2b8)][_0x12fe35(0x205)](_0x5010d0,b[_0x12fe35(0x219)]);const _0x4d1e9f=new ee(re+a['Tools']['generateRandomId'](k),{'left':_0xa24c3+_0x50fac5-_0x1c3851,'top':_0x40e412+_0x48da22-q,'text':_0x53288e,'color':_0x56a496});this[_0x12fe35(0x3a7)]=_0x4d1e9f,this[_0x12fe35(0x2b8)]['addObject'](_0x4d1e9f,b[_0x12fe35(0x219)]),this[_0x12fe35(0x26a)]=!0x1;}[_0x5241c7(0x17a)](){const _0x15e822=_0x5241c7,_0x3b5d9f=this[_0x15e822(0x273)][_0x15e822(0x1d4)][_0x15e822(0x2f0)](()=>{const _0x44d5d7=_0x15e822;this[_0x44d5d7(0x26a)]=!0x0;}),_0x2feeb4=this['_anchor'][_0x15e822(0x3d2)][_0x15e822(0x2f0)](()=>{const _0x583337=_0x15e822;this['_hideTimer']&&clearTimeout(this[_0x583337(0x2af)]),this[_0x583337(0x2af)]=setTimeout(()=>{const _0x5b4337=_0x583337;this[_0x5b4337(0x26a)]=!0x1;},0x7d0);});return()=>{const _0x442b45=_0x15e822;_0x3b5d9f[_0x442b45(0x306)](),_0x2feeb4[_0x442b45(0x306)]();};}[_0x5241c7(0x209)](_0x17f638,_0x54f679,_0x45d84a,_0x59daa7){const _0x45e525=_0x5241c7,_0x187a90=new a['ColorKit'](_0x17f638)['setAlpha'](0.2)[_0x45e525(0x3e0)](),_0x1016e4=new p['RegularPolygon'](ht+a['Tools'][_0x45e525(0x34a)](k),{'pointsGroup':_0x54f679,'fill':_0x187a90||p[_0x45e525(0x247)](a[_0x45e525(0x22b)][_0x45e525(0x37c)],0.2),'left':_0x45d84a,'top':_0x59daa7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45e525(0x30f)][_0x45e525(0x234)](_0x1016e4),this[_0x45e525(0x2b8)]['addObject'](_0x1016e4,b[_0x45e525(0x219)]);}[_0x5241c7(0x33e)](_0x5b59cf,_0x429072,_0x1916dc,_0x597aff){const _0x436d82=_0x5241c7,_0x443b63=new a[(_0x436d82(0x3b0))](_0x5b59cf)['setAlpha'](0.2)[_0x436d82(0x3e0)](),_0x5e631b=new p['RegularPolygon'](ut+a[_0x436d82(0x29e)][_0x436d82(0x34a)](k),{'pointsGroup':_0x429072,'fill':_0x443b63||p[_0x436d82(0x247)](a[_0x436d82(0x22b)][_0x436d82(0x37c)],0.2),'left':_0x1916dc,'top':_0x597aff,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x436d82(0x234)](_0x5e631b),this[_0x436d82(0x2b8)][_0x436d82(0x205)](_0x5e631b,b['TEXT_RANGE_LAYER_INDEX']);}[_0x5241c7(0x351)](_0x2b3d92){const _0x2bb939=_0x2b3d92[0x0],_0x26d101=_0x2bb939[0x0],_0x1dea98=_0x2bb939[0x2],{x:_0x33f4a1,y:_0x58a287}=_0x26d101,{x:_0x3eec8a,y:_0x36e259}=_0x1dea98;return{'left':_0x33f4a1,'top':_0x58a287,'width':_0x3eec8a-_0x33f4a1,'height':_0x36e259-_0x58a287};}[_0x5241c7(0x3a0)](){const _0x4e1a74=_0x5241c7,{scaleX:_0xbf2d3e,scaleY:_0x27aae7}=this[_0x4e1a74(0x2b8)][_0x4e1a74(0x2e7)]();return Math[_0x4e1a74(0x26f)](_0xbf2d3e,_0x27aae7);}}var It=Object[_0x5241c7(0x334)],vt=(_0x429edc,_0x14d890,_0x4f5b37,_0x5b34f4)=>{const _0x2376a6=_0x5241c7;for(var _0x5dec4a=_0x5b34f4>0x1?void 0x0:_0x5b34f4?It(_0x14d890,_0x4f5b37):_0x14d890,_0x3163ea=_0x429edc[_0x2376a6(0x3bd)]-0x1,_0x13518d;_0x3163ea>=0x0;_0x3163ea--)(_0x13518d=_0x429edc[_0x3163ea])&&(_0x5dec4a=_0x13518d(_0x5dec4a)||_0x5dec4a);return _0x5dec4a;},Y=(_0x465281,_0x2d1040)=>(_0x3c9e20,_0x329f81)=>_0x2d1040(_0x3c9e20,_0x329f81,_0x465281);let Ie=class extends a[_0x5241c7(0x1dd)]{constructor(_0x2f0a98,_0x974ce0,_0x1d84ca,_0x125dfe,_0x26c44e){const _0x336a74=_0x5241c7;super(),h(this,_0x336a74(0x1f4),[]),h(this,_0x336a74(0x207),[]),(this[_0x336a74(0x16e)]=_0x2f0a98,this[_0x336a74(0x385)]=_0x974ce0,this[_0x336a74(0x1a6)]=_0x1d84ca,this['_commandService']=_0x125dfe,this[_0x336a74(0x3d8)]=_0x26c44e,this[_0x336a74(0x369)]());}[_0x5241c7(0x369)](){const _0x28a0ff=_0x5241c7,_0x23404a=this['_context'][_0x28a0ff(0x2b5)],_0x5ee210=this['_docSkeletonManagerService'];this[_0x28a0ff(0x1de)](d[_0x28a0ff(0x2df)]([this[_0x28a0ff(0x1a6)]['getCollabCursors$'](_0x23404a),this[_0x28a0ff(0x3d8)][_0x28a0ff(0x1c1)]])['pipe']($[_0x28a0ff(0x39c)](([_0x3dad24,_0x554b42])=>({'skeleton':_0x5ee210[_0x28a0ff(0x170)](),'cursors':[..._0x3dad24[_0x28a0ff(0x3dd)]()][_0x28a0ff(0x2a6)](_0x3377bc=>({..._0x3377bc,'color':_0x554b42[_0x3377bc[_0x28a0ff(0x1fa)]]}))})))['subscribe'](_0x37b97a=>{if(this['_removeCollabCursors'](),_0x37b97a){const {skeleton:_0x4c91a5,cursors:_0x39380e}=_0x37b97a;this['_updateCollabCursors'](_0x4c91a5,_0x39380e);}})),this[_0x28a0ff(0x3c3)](),this['_initCommandExecutedListener']();}[_0x5241c7(0x303)](_0x416213,_0x1bcd21){const _0x39d7af=_0x5241c7,{scene:_0xfc0d14,mainComponent:_0xfc5c13}=this['_context'],_0xfa0b6d=_0x1bcd21[_0x39d7af(0x39c)](_0x33721c=>new De(_0x33721c,_0xfc0d14,_0x416213,_0xfc5c13));this[_0x39d7af(0x1f4)]=_0xfa0b6d,this[_0x39d7af(0x207)]=_0x1bcd21;}[_0x5241c7(0x249)](){const _0x27a17b=_0x5241c7;this[_0x27a17b(0x19e)]();const {scene:_0x38f561,mainComponent:_0x3923cc}=this[_0x27a17b(0x16e)],_0x535207=this[_0x27a17b(0x385)]['getSkeleton'](),_0x3d39ff=this['_cursors'][_0x27a17b(0x39c)](_0x5e94d2=>new De(_0x5e94d2,_0x38f561,_0x535207,_0x3923cc));this[_0x27a17b(0x1f4)]=_0x3d39ff;}[_0x5241c7(0x19e)](){const _0x4261cb=_0x5241c7;this[_0x4261cb(0x1f4)][_0x4261cb(0x37a)](_0x301f8b=>_0x301f8b[_0x4261cb(0x347)]()),this[_0x4261cb(0x1f4)]=[];}[_0x5241c7(0x324)](){const _0x3f733e=_0x5241c7,_0x4bd25f=[b[_0x3f733e(0x257)]['id']];this['disposeWithMe'](this[_0x3f733e(0x1fb)][_0x3f733e(0x376)](_0x269604=>{const _0x17e606=_0x3f733e;_0x4bd25f['includes'](_0x269604['id'])&&_0x269604[_0x17e606(0x1e3)][_0x17e606(0x2b5)]===this[_0x17e606(0x16e)][_0x17e606(0x2b5)]&&this[_0x17e606(0x249)]();}));}[_0x5241c7(0x3c3)](){const _0x313b44=_0x5241c7;this['disposeWithMe'](a[_0x313b44(0x3cf)](this[_0x313b44(0x16e)][_0x313b44(0x2b4)][_0x313b44(0x281)])[_0x313b44(0x353)]($[_0x313b44(0x269)](_0x4a9d44=>_0x4a9d44['type']===p[_0x313b44(0x2d8)][_0x313b44(0x279)]),$[_0x313b44(0x252)](0x10))['subscribe'](()=>{const _0x3eb86e=_0x313b44;this[_0x3eb86e(0x249)]();}));}};Ie=vt([Y(0x1,a[_0x5241c7(0x190)](W['DocSkeletonManagerService'])),Y(0x2,a['Inject'](x)),Y(0x3,a['ICommandService']),Y(0x4,a[_0x5241c7(0x190)](a[_0x5241c7(0x2dc)]))],Ie);const gt=0x1,mt=1.5;class we extends p[_0x5241c7(0x2a7)]{constructor(_0x276815,_0x261eef){const _0x54cdb2=_0x5241c7;super(_0x276815,_0x261eef),h(this,_0x54cdb2(0x2a8)),h(this,_0x54cdb2(0x19a),!0x1),h(this,_0x54cdb2(0x358)),h(this,_0x54cdb2(0x1e4),''),h(this,'_labelPosition',_0x54cdb2(0x1cc)),h(this,_0x54cdb2(0x2e4)),(_0x261eef&&this[_0x54cdb2(0x1b5)](_0x261eef),this[_0x54cdb2(0x1d4)][_0x54cdb2(0x2f0)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x54cdb2(0x3d2)]['subscribeEvent'](()=>this[_0x54cdb2(0x1b5)]({'hovered':!0x1})));}[_0x5241c7(0x1b5)](_0x25cf9d){const _0x7c441a=_0x5241c7;var _0x5425eb,_0x19e011,_0x570f00,_0x135c2a,_0x31a931,_0x5c9c4d;this[_0x7c441a(0x2a8)]=(_0x5425eb=_0x25cf9d[_0x7c441a(0x1fa)])!=null?_0x5425eb:this[_0x7c441a(0x2a8)],this[_0x7c441a(0x19a)]=(_0x19e011=_0x25cf9d[_0x7c441a(0x32e)])!=null?_0x19e011:this[_0x7c441a(0x19a)],this[_0x7c441a(0x358)]=(_0x570f00=_0x25cf9d[_0x7c441a(0x3b8)])!=null?_0x570f00:this['_range'],this['_name']=(_0x135c2a=_0x25cf9d['name'])!=null?_0x135c2a:this[_0x7c441a(0x1e4)],this[_0x7c441a(0x24a)]=(_0x31a931=_0x25cf9d['labelPosition'])!=null?_0x31a931:this['_labelPosition'],this[_0x7c441a(0x2e4)]=(_0x5c9c4d=_0x25cf9d['backgroundColor'])!=null?_0x5c9c4d:this[_0x7c441a(0x2e4)],this[_0x7c441a(0x265)]({'width':_0x25cf9d[_0x7c441a(0x390)],'height':_0x25cf9d[_0x7c441a(0x1c7)]});}['onMouseMove'](_0x30e675){const _0x4a9848=_0x5241c7,{row:_0xf525f5,column:_0x28d884}=_0x30e675;if(_0xf525f5>=this[_0x4a9848(0x358)][_0x4a9848(0x17c)]&&_0xf525f5<=this['_range'][_0x4a9848(0x17f)]&&_0x28d884>=this['_range'][_0x4a9848(0x199)]&&_0x28d884<=this[_0x4a9848(0x358)][_0x4a9848(0x228)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4a9848(0x1b5)]({'hovered':!0x1});}[_0x5241c7(0x3a6)](_0x488d27){return!0x1;}[_0x5241c7(0x1e2)](_0x16a049){const _0x29daff=_0x5241c7;p[_0x29daff(0x256)][_0x29daff(0x1e0)](_0x16a049,{'width':this['width'],'height':this[_0x29daff(0x1c7)],'strokeWidth':mt,'stroke':this[_0x29daff(0x2a8)],'evented':!0x1,'fill':this[_0x29daff(0x2e4)]}),this[_0x29daff(0x19a)]&&(_0x16a049['save'](),_0x16a049[_0x29daff(0x1d0)](0x1,0x0,0x0,0x1,this[_0x29daff(0x390)],this[_0x29daff(0x24a)]===_0x29daff(0x3a3)?0x0:-0x14),ee['drawWith'](_0x16a049,{'text':this[_0x29daff(0x1e4)],'color':this[_0x29daff(0x2a8)]}),_0x16a049[_0x29daff(0x296)]());}}var Ct=Object[_0x5241c7(0x334)],pt=(_0x537798,_0x314613,_0x49ab26,_0x38e3b1)=>{const _0x5c3949=_0x5241c7;for(var _0x796a2f=_0x38e3b1>0x1?void 0x0:_0x38e3b1?Ct(_0x314613,_0x49ab26):_0x314613,_0x1f8b28=_0x537798[_0x5c3949(0x3bd)]-0x1,_0xf22448;_0x1f8b28>=0x0;_0x1f8b28--)(_0xf22448=_0x537798[_0x1f8b28])&&(_0x796a2f=_0xf22448(_0x796a2f)||_0x796a2f);return _0x796a2f;},ae=(_0x520ea2,_0x89a060)=>(_0x2ed82f,_0x58c652)=>_0x89a060(_0x2ed82f,_0x58c652,_0x520ea2);const bt=0x1389;let ve=class extends a[_0x5241c7(0x1dd)]{constructor(_0x163810,_0x6deb77,_0x486812,_0x833c87){const _0x41bcdd=_0x5241c7;super(),h(this,_0x41bcdd(0x207),new Set()),h(this,_0x41bcdd(0x345),null),(this[_0x41bcdd(0x16e)]=_0x163810,this[_0x41bcdd(0x23c)]=_0x6deb77,this[_0x41bcdd(0x1a6)]=_0x486812,this[_0x41bcdd(0x3d8)]=_0x833c87,this[_0x41bcdd(0x369)]());}[_0x5241c7(0x369)](){const _0x42fd9b=_0x5241c7;this[_0x42fd9b(0x23c)]['currentSkeleton$'][_0x42fd9b(0x353)]($[_0x42fd9b(0x214)](this['dispose$']),$[_0x42fd9b(0x3d0)](_0x2f80a7=>{const _0x5afcd4=_0x42fd9b;if(_0x2f80a7){const _0x20c587=_0x2f80a7['sheetId'];return d['combineLatest'](this[_0x5afcd4(0x1a6)][_0x5afcd4(0x1fc)](this[_0x5afcd4(0x16e)][_0x5afcd4(0x2b5)]),this[_0x5afcd4(0x3d8)][_0x5afcd4(0x1c1)])[_0x5afcd4(0x353)]($[_0x5afcd4(0x39c)](([_0x4a25b2,_0xfc6ec5])=>{const _0x1959b8=_0x5afcd4,_0x402109=new Map();return _0x4a25b2[_0x1959b8(0x37a)]((_0x425c63,_0x42ce4e)=>{const _0x4399de=_0x1959b8;if(_0x425c63['sheetID']===_0x20c587){const _0x2cb2a1={..._0x425c63};_0x2cb2a1[_0x4399de(0x1fa)]=_0xfc6ec5[_0x425c63[_0x4399de(0x1fa)]],_0x402109[_0x4399de(0x314)](_0x42ce4e,_0x2cb2a1);}}),{'skeleton':_0x2f80a7,'cursors':_0x402109};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x31b7de,cursors:_0x10bf6d})=>{const _0x2128d9=_0x42fd9b;this[_0x2128d9(0x19e)](),_0x31b7de&&this[_0x2128d9(0x303)](_0x31b7de,_0x10bf6d);}),this[_0x42fd9b(0x23c)][_0x42fd9b(0x178)][_0x42fd9b(0x3d4)](_0x4ce734=>{const _0x2b0a3d=_0x42fd9b;if(_0x4ce734==null)return;const {skeleton:_0x527220}=_0x4ce734,{scene:_0x3234e7}=this['_context'];_0x3234e7[_0x2b0a3d(0x340)][_0x2b0a3d(0x2f0)](a[_0x2b0a3d(0x302)](_0x59e47b=>{const _0x1801c8=_0x2b0a3d;var _0x2c857a,_0x572870;const {offsetX:_0x42a163,offsetY:_0xaec04}=_0x59e47b,{x:_0xf7eab6,y:_0x1a3dc8}=_0x3234e7[_0x1801c8(0x2d4)](p[_0x1801c8(0x1c6)][_0x1801c8(0x337)]([_0x42a163,_0xaec04])),{scaleX:_0x2df89c,scaleY:_0x353341}=_0x3234e7[_0x1801c8(0x2e7)](),_0x5aa980=_0x3234e7[_0x1801c8(0x391)](p['SHEET_VIEWPORT_KEY'][_0x1801c8(0x3cc)]),_0x27d445=_0x3234e7['getVpScrollXYInfoByPosToVp'](p[_0x1801c8(0x1c6)][_0x1801c8(0x337)]([_0xf7eab6,_0x1a3dc8]),_0x5aa980),_0x50bac3=_0x527220['getCellPositionByOffset'](_0x42a163,_0xaec04,_0x2df89c,_0x353341,_0x27d445);((_0x2c857a=this[_0x1801c8(0x345)])==null?void 0x0:_0x2c857a[_0x1801c8(0x1cb)])===_0x50bac3[_0x1801c8(0x1cb)]&&((_0x572870=this[_0x1801c8(0x345)])==null?void 0x0:_0x572870['row'])===_0x50bac3['row']||this[_0x1801c8(0x207)]['forEach'](_0x222e73=>{const _0x2a3f26=_0x1801c8;_0x222e73[_0x2a3f26(0x225)](_0x50bac3);});},0x64));});}[_0x5241c7(0x303)](_0x571c15,_0x169759){const _0x5ae323=_0x5241c7;var _0x20e18e;const _0x4241b2=(_0x20e18e=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x20e18e['skeleton'];if(!_0x4241b2)return;const _0xc8fef4=this['_getSheetObject']();if(!_0xc8fef4)return;this[_0x5ae323(0x207)]['forEach'](_0x194fb3=>{const _0x4fa275=_0x5ae323;_0x194fb3[_0x4fa275(0x1dc)]();});const {scene:_0x130687}=_0xc8fef4,_0x24e12d=Et(Array['from'](_0x169759[_0x5ae323(0x3dd)]()))[_0x5ae323(0x39c)](_0x306465=>{const _0x142a1c=_0x5ae323,{color:_0xd2297d,range:_0x287048,name:_0x49874a,selection:_0x5dbf04,sheetID:_0x14235d}=_0x306465,{startColumn:_0x14acb7,startRow:_0x316a01,endColumn:_0x179515,endRow:_0x2b99f1}=_0x287048,_0x3fab3d=X[_0x142a1c(0x319)](_0x316a01,_0x14acb7,_0x130687,_0x4241b2),_0x477df8=X[_0x142a1c(0x319)](_0x2b99f1,_0x179515,_0x130687,_0x4241b2),{columnHeaderHeightAndMarginTop:_0x52d329}=_0x4241b2,{startX:_0x5a55c9,startY:_0x562a5b}=_0x3fab3d,{endX:_0x54cf19,endY:_0x53f0e4}=_0x477df8,_0x12ea08=_0x54cf19-_0x5a55c9,_0xaf92d5=_0x53f0e4-_0x562a5b,_0x106893={'labelPosition':_0x562a5b-_0x52d329>=q?_0x142a1c(0x1cc):_0x142a1c(0x3a3),'sheetID':_0x14235d,'range':_0x287048,'color':_0xd2297d,'name':_0x49874a,'selection':_0x5dbf04,'left':_0x5a55c9,'top':_0x562a5b,'width':_0x12ea08,'height':_0xaf92d5,'evented':!0x1,'zIndex':bt};return new we(_0x49874a,_0x106893);});_0x130687['addObjects'](_0x24e12d,gt),this[_0x5ae323(0x207)]=new Set(_0x24e12d);}[_0x5241c7(0x19e)](){const _0x11843a=_0x5241c7;var _0x271010;(_0x271010=this[_0x11843a(0x207)])==null||_0x271010[_0x11843a(0x37a)](_0x38e802=>_0x38e802[_0x11843a(0x347)]());}['_getSheetObject'](){const _0x5a75df=_0x5241c7;return X[_0x5a75df(0x1f9)](this['_context'][_0x5a75df(0x2fe)],this[_0x5a75df(0x16e)]);}};ve=pt([ae(0x1,a['Inject'](X[_0x5241c7(0x3d5)])),ae(0x2,a[_0x5241c7(0x190)](x)),ae(0x3,a[_0x5241c7(0x190)](a['ThemeService']))],ve);function Et(_0x5c796c){const _0x39c49d=_0x5241c7,_0x5c0eb9=new Map();return _0x5c796c[_0x39c49d(0x37a)](_0x46c75f=>{const _0x160bf4=_0x39c49d;if(_0x5c0eb9[_0x160bf4(0x310)](_0x46c75f['selection'])){const _0x4e6525=_0x5c0eb9['get'](_0x46c75f[_0x160bf4(0x226)]);_0x4e6525[_0x160bf4(0x380)]+=',\x20'+_0x46c75f['name'];}else _0x5c0eb9[_0x160bf4(0x314)](_0x46c75f[_0x160bf4(0x226)],_0x46c75f);}),Array[_0x39c49d(0x25a)](_0x5c0eb9[_0x39c49d(0x3dd)]());}var E=function(){const _0x31662d=_0x5241c7;return E=Object[_0x31662d(0x2be)]||function(_0x2f452a){const _0xb9e5b3=_0x31662d;for(var _0x17e847,_0x2cc60e=0x1,_0x61f9ac=arguments['length'];_0x2cc60e<_0x61f9ac;_0x2cc60e++){_0x17e847=arguments[_0x2cc60e];for(var _0x3fa4a7 in _0x17e847)Object[_0xb9e5b3(0x399)]['hasOwnProperty'][_0xb9e5b3(0x2c4)](_0x17e847,_0x3fa4a7)&&(_0x2f452a[_0x3fa4a7]=_0x17e847[_0x3fa4a7]);}return _0x2f452a;},E['apply'](this,arguments);},Tt=function(_0x11342f,_0xcd1f5d){const _0x24b5fa=_0x5241c7;var _0x5ef8f1={};for(var _0x1e02df in _0x11342f)Object[_0x24b5fa(0x399)]['hasOwnProperty']['call'](_0x11342f,_0x1e02df)&&_0xcd1f5d['indexOf'](_0x1e02df)<0x0&&(_0x5ef8f1[_0x1e02df]=_0x11342f[_0x1e02df]);if(_0x11342f!=null&&typeof Object[_0x24b5fa(0x382)]=='function'){for(var _0x62d538=0x0,_0x1e02df=Object[_0x24b5fa(0x382)](_0x11342f);_0x62d538<_0x1e02df[_0x24b5fa(0x3bd)];_0x62d538++)_0xcd1f5d[_0x24b5fa(0x2da)](_0x1e02df[_0x62d538])<0x0&&Object[_0x24b5fa(0x399)][_0x24b5fa(0x326)][_0x24b5fa(0x2c4)](_0x11342f,_0x1e02df[_0x62d538])&&(_0x5ef8f1[_0x1e02df[_0x62d538]]=_0x11342f[_0x1e02df[_0x62d538]]);}return _0x5ef8f1;},pe=M['forwardRef'](function(_0xc5ad9e,_0x3aec25){const _0x1e0878=_0x5241c7;var _0x537a3c=_0xc5ad9e[_0x1e0878(0x2de)],_0x1ade30=_0xc5ad9e['id'],_0x349f10=_0xc5ad9e[_0x1e0878(0x242)],_0x1a77a8=_0xc5ad9e[_0x1e0878(0x2e2)],_0x460e09=Tt(_0xc5ad9e,['icon','id',_0x1e0878(0x242),_0x1e0878(0x2e2)]),_0x2e4e1f=_0x1e0878(0x258)[_0x1e0878(0x333)](_0x1ade30,'\x20')['concat'](_0x349f10||'')[_0x1e0878(0x2b0)](),_0x704cc6=M[_0x1e0878(0x22c)]('_'[_0x1e0878(0x333)](Dt()));return Ae(_0x537a3c,''[_0x1e0878(0x333)](_0x1ade30),{'defIds':_0x537a3c[_0x1e0878(0x1a0)],'idSuffix':_0x704cc6[_0x1e0878(0x394)]},E({'ref':_0x3aec25,'className':_0x2e4e1f},_0x460e09),_0x1a77a8);});function Ae(_0x19e4d4,_0x3f8965,_0x24abf7,_0x287379,_0x2d5437){const _0x1b6857=_0x5241c7;return M['createElement'](_0x19e4d4['tag'],E(E({'key':_0x3f8965},Ot(_0x19e4d4,_0x24abf7,_0x2d5437)),_0x287379),(Rt(_0x19e4d4,_0x24abf7)[_0x1b6857(0x27d)]||[])[_0x1b6857(0x39c)](function(_0x4a8895,_0x190f98){const _0x14a45=_0x1b6857;return Ae(_0x4a8895,''[_0x14a45(0x333)](_0x3f8965,'-')[_0x14a45(0x333)](_0x19e4d4[_0x14a45(0x321)],'-')[_0x14a45(0x333)](_0x190f98),_0x24abf7,void 0x0,_0x2d5437);}));}function Ot(_0x426155,_0x5ead92,_0x5c34ba){const _0x5ef683=_0x5241c7;var _0x39fad2=E({},_0x426155[_0x5ef683(0x27a)]);_0x5c34ba!=null&&_0x5c34ba[_0x5ef683(0x1ea)]&&_0x39fad2[_0x5ef683(0x29c)]===_0x5ef683(0x1ea)&&(_0x39fad2[_0x5ef683(0x29c)]=_0x5c34ba['colorChannel1']),_0x426155[_0x5ef683(0x321)]===_0x5ef683(0x1b2)&&_0x39fad2['id']&&(_0x39fad2['id']=_0x39fad2['id']+_0x5ead92[_0x5ef683(0x27b)]),Object[_0x5ef683(0x386)](_0x39fad2)[_0x5ef683(0x37a)](function(_0x16093b){const _0x5c9b52=_0x5ef683;var _0x18565a=_0x16093b[0x0],_0x467c6b=_0x16093b[0x1];_0x18565a===_0x5c9b52(0x1b2)&&typeof _0x467c6b==_0x5c9b52(0x3e3)&&(_0x39fad2[_0x18565a]=_0x467c6b['replace'](/url\(#(.*)\)/,_0x5c9b52(0x318)[_0x5c9b52(0x333)](_0x5ead92[_0x5c9b52(0x27b)],')')));});var _0x4e8633=_0x5ead92['defIds'];return!_0x4e8633||_0x4e8633[_0x5ef683(0x3bd)]===0x0||(_0x426155['tag']===_0x5ef683(0x294)&&_0x39fad2[_0x5ef683(0x323)]&&(_0x39fad2[_0x5ef683(0x323)]=_0x39fad2['xlink:href']+_0x5ead92[_0x5ef683(0x27b)]),Object['entries'](_0x39fad2)[_0x5ef683(0x37a)](function(_0x377283){const _0x3e647b=_0x5ef683;var _0x24661e=_0x377283[0x0],_0x468f80=_0x377283[0x1];typeof _0x468f80=='string'&&(_0x39fad2[_0x24661e]=_0x468f80[_0x3e647b(0x277)](/url\(#(.*)\)/,_0x3e647b(0x318)[_0x3e647b(0x333)](_0x5ead92[_0x3e647b(0x27b)],')')));})),_0x39fad2;}function Rt(_0x120911,_0x9aeb96){const _0x5a0a05=_0x5241c7;var _0x302633,_0x47def0=_0x9aeb96['defIds'];return!_0x47def0||_0x47def0[_0x5a0a05(0x3bd)]===0x0?_0x120911:_0x120911['tag']===_0x5a0a05(0x24b)&&(!((_0x302633=_0x120911[_0x5a0a05(0x27d)])===null||_0x302633===void 0x0)&&_0x302633['length'])?E(E({},_0x120911),{'children':_0x120911[_0x5a0a05(0x27d)]['map'](function(_0x3e0096){const _0x3477ec=_0x5a0a05;return typeof _0x3e0096[_0x3477ec(0x27a)]['id']==_0x3477ec(0x3e3)&&_0x47def0&&_0x47def0['indexOf'](_0x3e0096['attrs']['id'])>-0x1?E(E({},_0x3e0096),{'attrs':E(E({},_0x3e0096[_0x3477ec(0x27a)]),{'id':_0x3e0096[_0x3477ec(0x27a)]['id']+_0x9aeb96['idSuffix']})}):_0x3e0096;})}):_0x120911;}function Dt(){const _0x44ab76=_0x5241c7;return Math[_0x44ab76(0x18d)]()['toString'](0x24)[_0x44ab76(0x3e2)](0x2,0x8);}pe['displayName']='UniverIcon';var Ut={'tag':'svg','attrs':{'fill':_0x5241c7(0x2dd),'viewBox':_0x5241c7(0x1b1),'width':_0x5241c7(0x372),'height':_0x5241c7(0x372)},'children':[{'tag':'g','attrs':{'clipPath':_0x5241c7(0x282)},'children':[{'tag':_0x5241c7(0x350),'attrs':{'stroke':_0x5241c7(0x3d6),'d':_0x5241c7(0x317),'strokeLinecap':_0x5241c7(0x19b),'strokeLinejoin':_0x5241c7(0x19b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5241c7(0x2ca)},'children':[{'tag':_0x5241c7(0x350),'attrs':{'fill':'#fff','d':_0x5241c7(0x20b)}}]}]}],'defIds':['off-line-single_clip0_910_343']},ye=M[_0x5241c7(0x2d9)](function(_0x3c32b0,_0x34865c){const _0xf639f7=_0x5241c7;return M[_0xf639f7(0x362)](pe,Object['assign']({},_0x3c32b0,{'id':_0xf639f7(0x2ac),'ref':_0x34865c,'icon':Ut}));});ye['displayName']=_0x5241c7(0x1c3);var Nt={'tag':_0x5241c7(0x245),'attrs':{'fill':_0x5241c7(0x2dd),'viewBox':_0x5241c7(0x1fd),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5241c7(0x350),'attrs':{'stroke':_0x5241c7(0x3d6),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x5241c7(0x19b),'strokeLinejoin':_0x5241c7(0x19b),'strokeWidth':1.2}}]},{'tag':_0x5241c7(0x24b),'attrs':{},'children':[{'tag':_0x5241c7(0x2cd),'attrs':{'id':_0x5241c7(0x3aa)},'children':[{'tag':'path','attrs':{'fill':_0x5241c7(0x243),'d':_0x5241c7(0x20b),'transform':_0x5241c7(0x3ab)}}]}]}],'defIds':[_0x5241c7(0x3aa)]},$e=M[_0x5241c7(0x2d9)](function(_0x2fae79,_0x43aa1c){const _0x4e66aa=_0x5241c7;return M[_0x4e66aa(0x362)](pe,Object['assign']({},_0x2fae79,{'id':'on-line-single','ref':_0x43aa1c,'icon':Nt}));});$e[_0x5241c7(0x3e6)]=_0x5241c7(0x3e8);function Mt(_0x2069a0){const _0x3168a3=_0x5241c7;switch(_0x2069a0){case u[_0x3168a3(0x16f)][_0x3168a3(0x3e7)]:return'collabStatus.offline';case u[_0x3168a3(0x16f)][_0x3168a3(0x379)]:return _0x3168a3(0x2ad);case u[_0x3168a3(0x16f)][_0x3168a3(0x284)]:return _0x3168a3(0x3da);case u[_0x3168a3(0x16f)][_0x3168a3(0x2a4)]:return _0x3168a3(0x38b);case u[_0x3168a3(0x16f)][_0x3168a3(0x1eb)]:case u['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x3168a3(0x325);case u[_0x3168a3(0x16f)]['SYNCED']:case u[_0x3168a3(0x16f)]['PENDING']:return'collabStatus.synced';}}function xe(_0xf521de){const _0x5d5538=_0x5241c7,{status$:_0x1cba72}=_0xf521de,_0x4bede4=T[_0x5d5538(0x3ae)](_0x1cba72,u[_0x5d5538(0x16f)]['NOT_COLLAB']),_0xe71a37=T['useDependency'](a['LocaleService']),_0x390056=T[_0x5d5538(0x3e1)](u[_0x5d5538(0x33c)]),_0x3f24b1=_0x4bede4!==u['CollaborationStatus'][_0x5d5538(0x3e7)],_0x36bf80=_0xe71a37['t'](Mt(_0x4bede4)),_0x81f375=_0x3f24b1?P[_0x5d5538(0x230)]($e,{}):P['jsx'](ye,{}),_0x3ba148=M['useCallback'](()=>{_0x3f24b1||_0x390056['reconnect']();},[_0x3f24b1,_0x390056]);function _0x19a812(){const _0x42b634=_0x5d5538;return P['jsxs'](_0x42b634(0x2e3),{'className':_0x42b634(0x267),'onClick':_0x3ba148,'children':[P['jsx']('div',{'className':D['clsx'](_0x42b634(0x183),_0x3f24b1?_0x42b634(0x3df):'univer-text-red-500'),'children':_0x81f375}),P['jsx']('div',{'className':_0x42b634(0x2f8),'children':_0x36bf80})]});}return _0x3f24b1?_0x19a812():P[_0x5d5538(0x230)](D[_0x5d5538(0x246)],{'title':_0xe71a37['t'](_0x5d5538(0x3be)),'children':_0x19a812()});}var Lt=Object['getOwnPropertyDescriptor'],Pt=(_0x570797,_0x50d1a1,_0x578df1,_0x4dd715)=>{const _0x2509fa=_0x5241c7;for(var _0x2c0b18=_0x4dd715>0x1?void 0x0:_0x4dd715?Lt(_0x50d1a1,_0x578df1):_0x50d1a1,_0x2c5fe0=_0x570797[_0x2509fa(0x3bd)]-0x1,_0x2b20c2;_0x2c5fe0>=0x0;_0x2c5fe0--)(_0x2b20c2=_0x570797[_0x2c5fe0])&&(_0x2c0b18=_0x2b20c2(_0x2c0b18)||_0x2c0b18);return _0x2c0b18;},V=(_0x4e2896,_0x16e085)=>(_0x50edf1,_0x372257)=>_0x16e085(_0x50edf1,_0x372257,_0x4e2896);exports[_0x5241c7(0x39b)]=class extends a[_0x5241c7(0x2c9)]{constructor(_0x1186c1,_0x44a464,_0x5c7a92,_0x3ef7eb){const _0xbe1ee5=_0x5241c7;super(),h(this,_0xbe1ee5(0x290),new d[(_0xbe1ee5(0x366))](u[_0xbe1ee5(0x16f)][_0xbe1ee5(0x2a4)])),(this['_univerInstanceService']=_0x1186c1,this[_0xbe1ee5(0x3c8)]=_0x44a464,this[_0xbe1ee5(0x220)]=_0x5c7a92,this[_0xbe1ee5(0x2a2)]=_0x3ef7eb,this[_0xbe1ee5(0x203)](),this[_0xbe1ee5(0x21f)]());}['_initStatusListener'](){const _0xc61747=_0x5241c7;this[_0xc61747(0x1de)](this[_0xc61747(0x308)][_0xc61747(0x3b4)][_0xc61747(0x353)](d[_0xc61747(0x3d0)](()=>{const _0x3a790d=_0xc61747,_0x5b78c4=this[_0x3a790d(0x308)][_0x3a790d(0x169)]();return _0x5b78c4?this[_0x3a790d(0x220)][_0x3a790d(0x286)](_0x5b78c4['getUnitId']()):d['of'](null);}),d[_0xc61747(0x3d0)](_0x1a2c7e=>_0x1a2c7e?_0x1a2c7e[_0xc61747(0x29d)]:d['of'](u[_0xc61747(0x16f)][_0xc61747(0x2a4)])))[_0xc61747(0x3d4)](_0x85d35d=>{const _0x401209=_0xc61747;this['_status$'][_0x401209(0x24c)](_0x85d35d);}));}[_0x5241c7(0x203)](){const _0x5cf784=_0x5241c7;this['disposeWithMe'](this[_0x5cf784(0x2a2)]['registerComponent'](T[_0x5cf784(0x309)][_0x5cf784(0x341)],()=>T[_0x5cf784(0x16c)](wt({'status$':this[_0x5cf784(0x290)]['asObservable']()}),this[_0x5cf784(0x3c8)])));}},exports[_0x5241c7(0x39b)]=Pt([V(0x0,a[_0x5241c7(0x356)]),V(0x1,a[_0x5241c7(0x190)](a['Injector'])),V(0x2,a['Inject'](u[_0x5241c7(0x3ba)])),V(0x3,T[_0x5241c7(0x182)])],exports[_0x5241c7(0x39b)]);function wt(_0x4f83e0){const {status$:_0x334435}=_0x4f83e0;return function(){const _0x11b17e=_0x5ae1;return P[_0x11b17e(0x230)](xe,{'status$':_0x334435});};}var At=Object[_0x5241c7(0x334)],yt=(_0x51185a,_0x276d8a,_0x442a02,_0x306bad)=>{const _0x5a0d1e=_0x5241c7;for(var _0x2260b8=_0x306bad>0x1?void 0x0:_0x306bad?At(_0x276d8a,_0x442a02):_0x276d8a,_0x2b2745=_0x51185a[_0x5a0d1e(0x3bd)]-0x1,_0x4591dc;_0x2b2745>=0x0;_0x2b2745--)(_0x4591dc=_0x51185a[_0x2b2745])&&(_0x2260b8=_0x4591dc(_0x2260b8)||_0x2260b8);return _0x2260b8;},y=(_0x57183e,_0x5e0cb7)=>(_0x177004,_0x22f18d)=>_0x5e0cb7(_0x177004,_0x22f18d,_0x57183e);let K=class extends a[_0x5241c7(0x2c9)]{constructor(_0x28408f,_0x138fa3,_0x4f1e1a,_0x1d0f96,_0xbcf097,_0x12de15){const _0x1a2028=_0x5241c7;super(),this[_0x1a2028(0x32c)]=_0x28408f,this[_0x1a2028(0x19d)]=_0x138fa3,this[_0x1a2028(0x374)]=_0x4f1e1a,this[_0x1a2028(0x365)]=_0x1d0f96,this[_0x1a2028(0x171)]=_0xbcf097,this[_0x1a2028(0x21c)]=_0x12de15,this[_0x1a2028(0x2ef)](),this[_0x1a2028(0x1da)]();}[_0x5241c7(0x2ef)](){const _0x25ae57=_0x5241c7;this[_0x25ae57(0x1de)](this[_0x25ae57(0x32c)][_0x25ae57(0x2fc)](()=>{const _0x3b2c23=_0x25ae57;if(this[_0x3b2c23(0x19d)][_0x3b2c23(0x359)]['size'])return this[_0x3b2c23(0x21c)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x5241c7(0x1da)](){const _0x26ee01=_0x5241c7;this[_0x26ee01(0x1de)](this[_0x26ee01(0x374)][_0x26ee01(0x188)][_0x26ee01(0x3d4)](_0x557cb8=>{const _0x30fe68=_0x26ee01;_0x557cb8['id']===u[_0x30fe68(0x396)][_0x30fe68(0x2f1)]&&this[_0x30fe68(0x365)][_0x30fe68(0x262)]({'type':D[_0x30fe68(0x206)]['Warning'],'content':this[_0x30fe68(0x21c)]['t'](_0x30fe68(0x35b))}),_0x557cb8['id']===u[_0x30fe68(0x396)]['CLOSE_ROOM']&&this['_messageService']['show']({'type':D['MessageType'][_0x30fe68(0x1a7)],'content':this[_0x30fe68(0x21c)]['t']('collaboration.closeRoom')}),_0x557cb8['id']===u[_0x30fe68(0x396)][_0x30fe68(0x3eb)]&&this[_0x30fe68(0x171)][_0x30fe68(0x262)]({'title':this[_0x30fe68(0x21c)]['t'](_0x30fe68(0x316)),'content':this[_0x30fe68(0x21c)]['t'](_0x30fe68(0x21d)),'type':_0x30fe68(0x327),'duration':0x0}),_0x557cb8['id']===u[_0x30fe68(0x396)][_0x30fe68(0x379)]&&this[_0x30fe68(0x365)][_0x30fe68(0x262)]({'type':D[_0x30fe68(0x206)][_0x30fe68(0x3af)],'content':this[_0x30fe68(0x21c)]['t'](_0x30fe68(0x30b))+'('+_0x557cb8[_0x30fe68(0x23d)]+')'}),_0x557cb8['id']===u[_0x30fe68(0x396)][_0x30fe68(0x3ac)]&&this['_messageService']['show']({'type':D[_0x30fe68(0x206)]['Warning'],'content':this[_0x30fe68(0x21c)]['t'](_0x557cb8[_0x30fe68(0x23d)]||'')}),_0x557cb8['id']===u[_0x30fe68(0x396)][_0x30fe68(0x2ed)]&&this[_0x30fe68(0x365)][_0x30fe68(0x262)]({'type':D['MessageType'][_0x30fe68(0x1a7)],'content':this[_0x30fe68(0x21c)]['t']('session.will-retry')}),_0x557cb8['id']===u[_0x30fe68(0x396)][_0x30fe68(0x1d5)]&&this['_messageService'][_0x30fe68(0x262)]({'type':D[_0x30fe68(0x206)][_0x30fe68(0x3af)],'content':this['_localeService']['t']('session.connection-failed')}),_0x557cb8['id']===u[_0x30fe68(0x396)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x30fe68(0x365)]['show']({'type':D[_0x30fe68(0x206)][_0x30fe68(0x3af)],'content':this[_0x30fe68(0x21c)]['t'](_0x30fe68(0x3ea))});}));}};K=yt([y(0x0,T[_0x5241c7(0x1ac)]),y(0x1,u[_0x5241c7(0x30a)]),y(0x2,a[_0x5241c7(0x190)](u[_0x5241c7(0x33f)])),y(0x3,T['IMessageService']),y(0x4,T[_0x5241c7(0x2ae)]),y(0x5,a['Inject'](a[_0x5241c7(0x37b)]))],K);const $t='collaboration-client-ui.config',Ue={},be=a['createIdentifier'](_0x5241c7(0x36f));var xt=Object[_0x5241c7(0x334)],jt=(_0x2a35af,_0xb505a5,_0x7fae85,_0x2076c4)=>{const _0x53b2e2=_0x5241c7;for(var _0x31b8f3=_0x2076c4>0x1?void 0x0:_0x2076c4?xt(_0xb505a5,_0x7fae85):_0xb505a5,_0x378e36=_0x2a35af[_0x53b2e2(0x3bd)]-0x1,_0x21ff87;_0x378e36>=0x0;_0x378e36--)(_0x21ff87=_0x2a35af[_0x378e36])&&(_0x31b8f3=_0x21ff87(_0x31b8f3)||_0x31b8f3);return _0x31b8f3;},H=(_0x2add69,_0x3ebf2c)=>(_0x280042,_0x1c3e4e)=>_0x3ebf2c(_0x280042,_0x1c3e4e,_0x2add69);exports[_0x5241c7(0x38e)]=class extends a[_0x5241c7(0x1dd)]{constructor(_0x4ddf22,_0xef8202,_0x46bbfa,_0x4b4a4a,_0x5040a9){const _0x30a1b4=_0x5241c7;super(),this[_0x30a1b4(0x16a)]=_0x4ddf22,this['_logService']=_0xef8202,this[_0x30a1b4(0x1fb)]=_0x46bbfa,this[_0x30a1b4(0x239)]=_0x4b4a4a,_0x5040a9?_0x5040a9==null||_0x5040a9[_0x30a1b4(0x305)]()[_0x30a1b4(0x3ec)](()=>this[_0x30a1b4(0x369)]()):(this['_logService'][_0x30a1b4(0x397)](_0x30a1b4(0x238),_0x30a1b4(0x1f0)),this[_0x30a1b4(0x369)]());}async['_init'](){const _0x132cbc=_0x5241c7,_0x539c2d=this['_urlService'][_0x132cbc(0x261)]('unit'),_0x50f347=this[_0x132cbc(0x16a)][_0x132cbc(0x261)](_0x132cbc(0x201)),_0x424c5f=this[_0x132cbc(0x16a)][_0x132cbc(0x261)]('subunit');if(!_0x539c2d||!_0x50f347){this[_0x132cbc(0x180)][_0x132cbc(0x397)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x471aa0=await this[_0x132cbc(0x239)][_0x132cbc(0x2db)](_0x539c2d,Number(_0x50f347),_0x424c5f);_0x471aa0&&_0x471aa0 instanceof a[_0x132cbc(0x186)]&&this['_setupSubUnitSync'](_0x471aa0);}async[_0x5241c7(0x36d)](_0x482672){const _0x5b0816=_0x5241c7;await this[_0x5b0816(0x231)](_0x482672),_0x482672[_0x5b0816(0x1af)][_0x5b0816(0x353)](d[_0x5b0816(0x214)](this['dispose$']))[_0x5b0816(0x3d4)](_0x5e5c15=>{const _0x4fa3b9=_0x5b0816;_0x5e5c15&&this[_0x4fa3b9(0x1aa)](_0x5e5c15);}),this['_urlService']['urlChange$'][_0x5b0816(0x353)](d[_0x5b0816(0x214)](this[_0x5b0816(0x352)]))[_0x5b0816(0x3d4)](()=>this[_0x5b0816(0x231)](_0x482672));}['_updateURLWithCurrentState'](_0x45ef79,_0xd1804a=!0x1){const _0x52aaab=_0x5241c7,_0x588f58=this[_0x52aaab(0x16a)][_0x52aaab(0x261)](_0x52aaab(0x388));_0x45ef79['getSheetId']()!==_0x588f58&&this[_0x52aaab(0x16a)][_0x52aaab(0x395)]('subunit',_0x45ef79[_0x52aaab(0x195)](),_0xd1804a);}async['_updateSubUnitFromURLParams'](_0x32a970){const _0x52b622=_0x5241c7;var _0x2cf294;const _0x7ee39c=this['_urlService'][_0x52b622(0x261)](_0x52b622(0x388));if(!_0x7ee39c||!_0x32a970['getSheetBySheetId'](_0x7ee39c)){const _0x47207f=_0x32a970[_0x52b622(0x2c3)]()[0x0],_0xc765d2=_0x32a970['getSheetBySheetId'](_0x47207f);if(!_0xc765d2)return;this[_0x52b622(0x1aa)](_0xc765d2,!0x0),await this[_0x52b622(0x1fb)][_0x52b622(0x3a8)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x32a970['getUnitId'](),'subUnitId':_0x47207f});return;}((_0x2cf294=_0x32a970['getActiveSheet']())==null?void 0x0:_0x2cf294[_0x52b622(0x195)]())!==_0x7ee39c&&await this['_commandService']['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x32a970[_0x52b622(0x2d1)](),'subUnitId':_0x7ee39c});}},exports['CollaborationDataLoaderController']=jt([H(0x0,be),H(0x1,a[_0x5241c7(0x1f6)]),H(0x2,a['ICommandService']),H(0x3,a[_0x5241c7(0x190)](u[_0x5241c7(0x30c)])),H(0x4,a[_0x5241c7(0x212)](qe[_0x5241c7(0x3a9)]))],exports[_0x5241c7(0x38e)]);var Bt=Object[_0x5241c7(0x334)],kt=(_0x1b082b,_0x528dfd,_0x48a24d,_0x493926)=>{for(var _0x19378b=_0x493926>0x1?void 0x0:_0x493926?Bt(_0x528dfd,_0x48a24d):_0x528dfd,_0x29ac8f=_0x1b082b['length']-0x1,_0x5360ed;_0x29ac8f>=0x0;_0x29ac8f--)(_0x5360ed=_0x1b082b[_0x29ac8f])&&(_0x19378b=_0x5360ed(_0x19378b)||_0x19378b);return _0x19378b;},ce=(_0x2987ea,_0x4f49b4)=>(_0xa080c8,_0x90e6c3)=>_0x4f49b4(_0xa080c8,_0x90e6c3,_0x2987ea);let z=class{constructor(_0x3e6493,_0x1c1afa,_0xea57be){const _0x150b8d=_0x5241c7;this[_0x150b8d(0x3c8)]=_0x3e6493,this['_transformService']=_0x1c1afa,this[_0x150b8d(0x2a1)]=_0xea57be;}[_0x5241c7(0x1b8)](_0x5dd805){const _0x3ee0c6=_0x5241c7;this[_0x3ee0c6(0x20f)](_0x5dd805),this['_transformPreviousActiveRange'](_0x5dd805);}[_0x5241c7(0x33b)](_0x371b7a){const _0x84454c=_0x5241c7,{unitID:_0x3d55ac}=_0x371b7a,_0x2bd6a4=this[_0x84454c(0x2a1)][_0x84454c(0x23a)](_0x3d55ac)[_0x84454c(0x336)](b[_0x84454c(0x368)]),{redoCache:_0x8bfed3}=_0x2bd6a4[_0x84454c(0x1e9)]();if(_0x8bfed3[_0x84454c(0x3bd)]===0x0)return _0x371b7a;let _0x49c3ea=a[_0x84454c(0x29e)]['deepClone'](_0x371b7a[_0x84454c(0x3a1)][0x0]);for(let _0x98b781=0x0;_0x98b781<_0x8bfed3[_0x84454c(0x3bd)];_0x98b781++){const _0x2811c0={'id':_0x84454c(0x34e),'params':{..._0x8bfed3[_0x98b781]}},_0x5bcaea=this[_0x84454c(0x1e5)][_0x84454c(0x285)](_0x49c3ea,_0x2811c0,!0x1);if(m[_0x84454c(0x36e)](_0x5bcaea))throw _0x5bcaea[_0x84454c(0x327)];_0x49c3ea=_0x5bcaea['m1Prime'];}return{...a[_0x84454c(0x29e)][_0x84454c(0x2b2)](_0x371b7a),'mutations':[_0x49c3ea]};}[_0x5241c7(0x20f)](_0x492623){const _0xaa08bd=_0x5241c7,{unitID:_0x4ce720}=_0x492623,_0x23faa8=this[_0xaa08bd(0x2a1)][_0xaa08bd(0x23a)](_0x4ce720)[_0xaa08bd(0x336)](b[_0xaa08bd(0x368)]),{undoCache:_0x5417a0,redoCache:_0xaf8f65}=_0x23faa8[_0xaa08bd(0x1e9)]();if(_0x5417a0[_0xaa08bd(0x3bd)]===0x0||_0xaf8f65[_0xaa08bd(0x3bd)]===0x0)return;const _0xbe2c2c=[],_0x715a64=[];let _0x262354=a['Tools'][_0xaa08bd(0x2b2)](_0x492623[_0xaa08bd(0x3a1)][0x0]),_0x1c6760=a[_0xaa08bd(0x29e)][_0xaa08bd(0x2b2)](_0x492623[_0xaa08bd(0x3a1)][0x0]);for(let _0x4eddc5=_0x5417a0[_0xaa08bd(0x3bd)]-0x1;_0x4eddc5>=0x0;_0x4eddc5--){const _0x4b89b5={'id':_0xaa08bd(0x34e),'params':{..._0x5417a0[_0x4eddc5]}},_0x651f13={'id':_0xaa08bd(0x34e),'params':{..._0xaf8f65[_0x4eddc5]}},_0x27c7eb=this[_0xaa08bd(0x1e5)][_0xaa08bd(0x285)](_0x262354,_0x4b89b5,!0x1),_0x5783bf=this[_0xaa08bd(0x1e5)][_0xaa08bd(0x285)](_0x1c6760,_0x651f13,!0x1);if(m['isTransformMutationFailure'](_0x27c7eb))throw _0x27c7eb[_0xaa08bd(0x327)];if(m[_0xaa08bd(0x36e)](_0x5783bf))throw _0x5783bf[_0xaa08bd(0x327)];_0xbe2c2c[_0xaa08bd(0x18e)](_0x27c7eb[_0xaa08bd(0x21b)][_0xaa08bd(0x1e3)]),_0x715a64['unshift'](_0x5783bf[_0xaa08bd(0x21b)][_0xaa08bd(0x1e3)]),_0x262354=_0x27c7eb[_0xaa08bd(0x363)],_0x1c6760=_0x5783bf[_0xaa08bd(0x363)];}_0x23faa8[_0xaa08bd(0x1df)]({'undoCache':_0xbe2c2c,'redoCache':_0x715a64});}[_0x5241c7(0x191)](_0x4918f1){const _0x317ba6=_0x5241c7,{unitID:_0x3e0c2e}=_0x4918f1,_0x5b609a=this['_renderManagerService'][_0x317ba6(0x23a)](_0x3e0c2e)[_0x317ba6(0x336)](b['DocIMEInputManagerService']),_0x3de62f=_0x5b609a[_0x317ba6(0x2e5)]();if(_0x3de62f==null)return;const _0x2fbc73=[{'id':_0x317ba6(0x34e),'params':{'unitId':_0x4918f1[_0x317ba6(0x18f)],'actions':null,'textRanges':[_0x3de62f]}}],_0x4904e3=this['_transformService'][_0x317ba6(0x1cd)](_0x4918f1,_0x2fbc73);if(!m[_0x317ba6(0x381)](_0x4904e3))throw _0x4904e3[_0x317ba6(0x327)];const _0x31b5c5=_0x4904e3[_0x317ba6(0x21b)][0x0]['params']['textRanges'];Array['isArray'](_0x31b5c5)&&_0x31b5c5[_0x317ba6(0x3bd)]&&_0x5b609a[_0x317ba6(0x2a9)](_0x31b5c5[0x0]);}};z=kt([ce(0x0,a[_0x5241c7(0x190)](a[_0x5241c7(0x197)])),ce(0x1,m[_0x5241c7(0x361)]),ce(0x2,p[_0x5241c7(0x196)])],z);var Ht=Object[_0x5241c7(0x334)],Ft=(_0x25347e,_0x40cd61,_0xbd5c66,_0x527f76)=>{const _0x3e6157=_0x5241c7;for(var _0x62b39=_0x527f76>0x1?void 0x0:_0x527f76?Ht(_0x40cd61,_0xbd5c66):_0x40cd61,_0x2c4b23=_0x25347e[_0x3e6157(0x3bd)]-0x1,_0x5d6ea3;_0x2c4b23>=0x0;_0x2c4b23--)(_0x5d6ea3=_0x25347e[_0x2c4b23])&&(_0x62b39=_0x5d6ea3(_0x62b39)||_0x62b39);return _0x62b39;},le=(_0x11b9a8,_0x4769f8)=>(_0x59fe43,_0x392a8c)=>_0x4769f8(_0x59fe43,_0x392a8c,_0x11b9a8);let J=class{constructor(_0x5da3b8,_0x349f88,_0x71260d){const _0x145acd=_0x5241c7;this['_injector']=_0x5da3b8,this[_0x145acd(0x1e5)]=_0x349f88,this['_docStateChangeManagerService']=_0x71260d;}[_0x5241c7(0x1ff)](_0x141ba7){const _0x1c06a5=_0x5241c7;this[_0x1c06a5(0x29a)](_0x141ba7);}['transformRemoteChangeset'](_0x928ba6){const _0x2134e3=_0x5241c7,{unitID:_0x2f0be3}=_0x928ba6,{collaboration:_0xba69c3}=this[_0x2134e3(0x355)][_0x2134e3(0x3d9)](_0x2f0be3);if(_0xba69c3[_0x2134e3(0x3bd)]===0x0)return _0x928ba6;let _0x509254=a[_0x2134e3(0x29e)][_0x2134e3(0x2b2)](_0x928ba6['mutations'][0x0]);for(let _0x2980c3=0x0;_0x2980c3<_0xba69c3['length'];_0x2980c3++){const _0x3d997c={'id':_0x2134e3(0x34e),'params':{'unitId':_0xba69c3[_0x2980c3][_0x2134e3(0x2b5)],..._0xba69c3[_0x2980c3]['redoState']}},_0x1fcf4f=this[_0x2134e3(0x1e5)]['transformMutation'](_0x509254,_0x3d997c,!0x1);if(m[_0x2134e3(0x36e)](_0x1fcf4f))throw _0x1fcf4f[_0x2134e3(0x327)];_0x509254=_0x1fcf4f[_0x2134e3(0x363)];}return{...a[_0x2134e3(0x29e)]['deepClone'](_0x928ba6),'mutations':[_0x509254]};}[_0x5241c7(0x29a)](_0x2e2e40){const _0x2fc5a9=_0x5241c7,{unitID:_0xa3f5d0}=_0x2e2e40,{history:_0x26d8ae,collaboration:_0x2f8f2a}=this['_docStateChangeManagerService'][_0x2fc5a9(0x3d9)](_0xa3f5d0);if(_0x26d8ae[_0x2fc5a9(0x3bd)]===0x0&&_0x2f8f2a[_0x2fc5a9(0x3bd)]===0x0)return;const _0x543ca2=[],_0x55f1eb=[];let _0x3f1a04=a[_0x2fc5a9(0x29e)][_0x2fc5a9(0x2b2)](_0x2e2e40[_0x2fc5a9(0x3a1)][0x0]),_0x1ac4ba=a[_0x2fc5a9(0x29e)]['deepClone'](_0x2e2e40[_0x2fc5a9(0x3a1)][0x0]);for(let _0x13adfd=_0x26d8ae[_0x2fc5a9(0x3bd)]-0x1;_0x13adfd>=0x0;_0x13adfd--){const _0x4840d9={'id':_0x2fc5a9(0x34e),'params':{'unitId':_0x26d8ae[_0x13adfd][_0x2fc5a9(0x2b5)],..._0x26d8ae[_0x13adfd][_0x2fc5a9(0x268)]}},_0x57e91c={'id':_0x2fc5a9(0x34e),'params':{'unitId':_0x26d8ae[_0x13adfd]['unitId'],..._0x26d8ae[_0x13adfd]['redoState']}},_0x206c82=this[_0x2fc5a9(0x1e5)][_0x2fc5a9(0x285)](_0x3f1a04,_0x4840d9,!0x1),_0x10ea72=this['_transformService'][_0x2fc5a9(0x285)](_0x1ac4ba,_0x57e91c,!0x1);if(m[_0x2fc5a9(0x36e)](_0x206c82))throw _0x206c82['error'];if(m[_0x2fc5a9(0x36e)](_0x10ea72))throw _0x10ea72[_0x2fc5a9(0x327)];_0x543ca2[_0x2fc5a9(0x18e)]({..._0x26d8ae[_0x13adfd],'undoState':_0x206c82[_0x2fc5a9(0x21b)][_0x2fc5a9(0x1e3)],'redoState':_0x10ea72[_0x2fc5a9(0x21b)][_0x2fc5a9(0x1e3)]}),_0x3f1a04=_0x206c82[_0x2fc5a9(0x363)],_0x1ac4ba=_0x10ea72['m1Prime'];}_0x3f1a04=a[_0x2fc5a9(0x29e)][_0x2fc5a9(0x2b2)](_0x2e2e40[_0x2fc5a9(0x3a1)][0x0]),_0x1ac4ba=a['Tools'][_0x2fc5a9(0x2b2)](_0x2e2e40[_0x2fc5a9(0x3a1)][0x0]);for(let _0x1e7602=_0x2f8f2a[_0x2fc5a9(0x3bd)]-0x1;_0x1e7602>=0x0;_0x1e7602--){const _0x1fe83f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f8f2a[_0x1e7602][_0x2fc5a9(0x2b5)],..._0x2f8f2a[_0x1e7602]['undoState']}},_0x162374={'id':_0x2fc5a9(0x34e),'params':{'unitId':_0x2f8f2a[_0x1e7602]['unitId'],..._0x2f8f2a[_0x1e7602][_0x2fc5a9(0x2a3)]}},_0x691156=this[_0x2fc5a9(0x1e5)][_0x2fc5a9(0x285)](_0x3f1a04,_0x1fe83f,!0x1),_0x391f01=this['_transformService'][_0x2fc5a9(0x285)](_0x1ac4ba,_0x162374,!0x1);if(m['isTransformMutationFailure'](_0x691156))throw _0x691156[_0x2fc5a9(0x327)];if(m['isTransformMutationFailure'](_0x391f01))throw _0x391f01['error'];_0x55f1eb[_0x2fc5a9(0x18e)]({..._0x2f8f2a[_0x1e7602],'undoState':_0x691156[_0x2fc5a9(0x21b)]['params'],'redoState':_0x391f01['m2Prime'][_0x2fc5a9(0x1e3)]}),_0x3f1a04=_0x691156[_0x2fc5a9(0x363)],_0x1ac4ba=_0x391f01[_0x2fc5a9(0x363)];}this[_0x2fc5a9(0x355)]['setStateCache'](_0xa3f5d0,{'history':_0x543ca2,'collaboration':_0x55f1eb});}};J=Ft([le(0x0,a[_0x5241c7(0x190)](a[_0x5241c7(0x197)])),le(0x1,m['ITransformService']),le(0x2,a['Inject'](b[_0x5241c7(0x1ae)]))],J);var Wt=Object[_0x5241c7(0x334)],Yt=(_0x494f68,_0x5be4ce,_0x478965,_0x274544)=>{for(var _0x4c1751=_0x274544>0x1?void 0x0:_0x274544?Wt(_0x5be4ce,_0x478965):_0x5be4ce,_0x46a1e6=_0x494f68['length']-0x1,_0x1680b6;_0x46a1e6>=0x0;_0x46a1e6--)(_0x1680b6=_0x494f68[_0x46a1e6])&&(_0x4c1751=_0x1680b6(_0x4c1751)||_0x4c1751);return _0x4c1751;},Ne=(_0x52b846,_0x147e87)=>(_0x1d4736,_0x2fca7e)=>_0x147e87(_0x1d4736,_0x2fca7e,_0x52b846);let Z=class{constructor(_0xa9d12,_0x2aee78){const _0x13a685=_0x5241c7;this['_injector']=_0xa9d12,this[_0x13a685(0x1e5)]=_0x2aee78;}[_0x5241c7(0x1f1)](_0x298190){const _0x37d6c=_0x5241c7;var _0xe607f1;const _0x44c44c=this[_0x37d6c(0x3c8)][_0x37d6c(0x187)](W[_0x37d6c(0x3b1)]),_0x446a40=(_0xe607f1=_0x44c44c[_0x37d6c(0x3ad)]())!=null?_0xe607f1:[];if(_0x446a40[_0x37d6c(0x3bd)]===0x0)return;const _0x1b99c0=_0x298190[_0x37d6c(0x18f)],_0x39bad5=[{'id':_0x37d6c(0x34e),'params':{'unitId':_0x1b99c0,'actions':null,'textRanges':_0x446a40}}],_0x58288d=this[_0x37d6c(0x1e5)][_0x37d6c(0x1cd)](_0x298190,_0x39bad5);if(!m['isTransformMutationsWithChangesetSuccess'](_0x58288d))throw _0x58288d['error'];const _0x51c64b=_0x58288d[_0x37d6c(0x21b)][0x0][_0x37d6c(0x1e3)][_0x37d6c(0x357)];Array['isArray'](_0x51c64b)&&_0x51c64b[_0x37d6c(0x3bd)]&&_0x44c44c[_0x37d6c(0x28c)](_0x51c64b,{'unitId':_0x1b99c0,'subUnitId':_0x1b99c0},!0x1);}};Z=Yt([Ne(0x0,a[_0x5241c7(0x190)](a[_0x5241c7(0x197)])),Ne(0x1,m[_0x5241c7(0x361)])],Z);var Vt=Object[_0x5241c7(0x334)],Xt=(_0x49322f,_0x594701,_0xed0cbf,_0x2afc8a)=>{for(var _0x30ffae=_0x2afc8a>0x1?void 0x0:_0x2afc8a?Vt(_0x594701,_0xed0cbf):_0x594701,_0x3e3882=_0x49322f['length']-0x1,_0xf2f55b;_0x3e3882>=0x0;_0x3e3882--)(_0xf2f55b=_0x49322f[_0x3e3882])&&(_0x30ffae=_0xf2f55b(_0x30ffae)||_0x30ffae);return _0x30ffae;},N=(_0x35f56a,_0x5b42f6)=>(_0xf4ca78,_0x30727d)=>_0x5b42f6(_0xf4ca78,_0x30727d,_0x35f56a);let Q=class extends a[_0x5241c7(0x2c9)]{constructor(_0x458250,_0x2a93d5,_0x6b3ddf,_0x5c8ecc,_0x10b666,_0x1bb770,_0x21ca3e,_0xb7e322){const _0x4fa875=_0x5241c7;super(),h(this,_0x4fa875(0x290),new d[(_0x4fa875(0x366))](u[_0x4fa875(0x16f)][_0x4fa875(0x2a4)])),(this['_docStateChangeManagerService']=_0x458250,this['_collaborationController']=_0x2a93d5,this['_docTransformIMECacheService']=_0x6b3ddf,this[_0x4fa875(0x2c0)]=_0x5c8ecc,this[_0x4fa875(0x2bb)]=_0x10b666,this[_0x4fa875(0x3cd)]=_0x1bb770,this[_0x4fa875(0x365)]=_0x21ca3e,this['_localeService']=_0xb7e322,this['_initEntityListener']());}[_0x5241c7(0x298)](){const _0x1d599f=_0x5241c7;this['disposeWithMe'](this[_0x1d599f(0x220)][_0x1d599f(0x320)][_0x1d599f(0x3d4)](_0x131a21=>{const _0x374553=_0x1d599f,_0x10433b=this[_0x374553(0x355)][_0x374553(0x185)][_0x374553(0x3d4)](_0x3a0428=>{const _0x218c1e=_0x374553;if(_0x3a0428==null)return;const {unitId:_0x3689de,redoState:_0x30d2a4,commandId:_0x13c756}=_0x3a0428;if(_0x3689de!==_0x131a21['unitID'])return;const _0x38b5be={'id':_0x13c756,'type':a[_0x218c1e(0x36a)][_0x218c1e(0x22f)],'params':{'unitId':_0x3689de,'actions':_0x30d2a4[_0x218c1e(0x3a2)],'textRanges':null}};_0x131a21['onLocalMutation'](_0x38b5be);});if(_0x131a21[_0x374553(0x1de)](_0x10433b),_0x131a21 instanceof u[_0x374553(0x232)]){const _0x1b7999={'onTransformIME':_0x1d2b8=>this['_docTransformIMECacheService'][_0x374553(0x1b8)](_0x1d2b8),'onTransformState':_0x495d70=>this[_0x374553(0x2c0)][_0x374553(0x1ff)](_0x495d70),'onTransformSelections':_0xca17d1=>this[_0x374553(0x2bb)][_0x374553(0x1f1)](_0xca17d1),'onSyncEditingCollabCursor':_0x162e43=>this[_0x374553(0x3cd)][_0x374553(0x32a)](_0x162e43),'onTransformRemoteChangesetByIMECache':_0xbe6e49=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xbe6e49),'onTransformRemoteChangesetByStateCache':_0xb09f0e=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0xb09f0e)};_0x131a21[_0x374553(0x2ab)](_0x1b7999);}}));}};Q=Xt([N(0x0,a[_0x5241c7(0x190)](b[_0x5241c7(0x1ae)])),N(0x1,a[_0x5241c7(0x190)](u[_0x5241c7(0x3ba)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x5241c7(0x190)](J)),N(0x4,a[_0x5241c7(0x190)](Z)),N(0x5,a[_0x5241c7(0x190)](Ce)),N(0x6,T[_0x5241c7(0x1d2)]),N(0x7,a[_0x5241c7(0x190)](a[_0x5241c7(0x37b)]))],Q);var Gt=Object[_0x5241c7(0x334)],qt=(_0x13e2a9,_0x47bc98,_0x73933a,_0x371d89)=>{const _0x5e45f9=_0x5241c7;for(var _0x498aee=_0x371d89>0x1?void 0x0:_0x371d89?Gt(_0x47bc98,_0x73933a):_0x47bc98,_0x196490=_0x13e2a9[_0x5e45f9(0x3bd)]-0x1,_0x17706b;_0x196490>=0x0;_0x196490--)(_0x17706b=_0x13e2a9[_0x196490])&&(_0x498aee=_0x17706b(_0x498aee)||_0x498aee);return _0x498aee;},_e=(_0x549636,_0x1693ed)=>(_0x1f211e,_0x2ba9c9)=>_0x1693ed(_0x1f211e,_0x2ba9c9,_0x549636);let ge=class extends a[_0x5241c7(0x2c9)]{constructor(_0x3ab906,_0x4e71c7,_0x5672d3){const _0x515906=_0x5241c7;super(),h(this,'_cachedData',new Map()),h(this,_0x515906(0x393),new Map()),h(this,_0x515906(0x19f),!0x1),(this['_configService']=_0x3ab906,this[_0x515906(0x22a)]=_0x4e71c7,this[_0x515906(0x18a)]=_0x5672d3);}[_0x5241c7(0x22e)](){const _0x2a3133=_0x5241c7;this[_0x2a3133(0x19f)]=!0x0;}[_0x5241c7(0x31e)](){const _0x36bc0b=_0x5241c7;this[_0x36bc0b(0x19f)]=!0x1;}get[_0x5241c7(0x359)](){const _0x3b6e0a=_0x5241c7;return this[_0x3b6e0a(0x393)];}[_0x5241c7(0x347)](){const _0x254896=_0x5241c7;this[_0x254896(0x1bf)]()[_0x254896(0x3ec)](()=>super[_0x254896(0x347)]());}async[_0x5241c7(0x3c9)](_0x144f56){const _0x2c27e7=_0x5241c7;return this[_0x2c27e7(0x19f)]?null:this[_0x2c27e7(0x22a)]['getItem'](u['getLocalCacheKey'](_0x144f56));}async[_0x5241c7(0x21e)](_0x36c4d5,_0x23a55d){const _0x5c18e0=_0x5241c7;return!!this[_0x5c18e0(0x22a)][_0x5c18e0(0x20e)](_0x36c4d5,_0x23a55d);}[_0x5241c7(0x39a)](_0x4b9b6f,_0x2a5c26,_0x5ca1ff,_0x947181){const _0x46d65d=_0x5241c7,_0x5447b7=this['_revisionService'][_0x46d65d(0x1f8)](_0x4b9b6f);this['_cachedData'][_0x46d65d(0x314)](_0x4b9b6f,{'unitID':_0x4b9b6f,'type':_0x2a5c26,'awaitingChangeset':_0x5ca1ff,'mutations':_0x947181,'rev':_0x5447b7}),this[_0x46d65d(0x393)][_0x46d65d(0x310)](_0x4b9b6f)||this[_0x46d65d(0x274)](_0x4b9b6f);}[_0x5241c7(0x274)](_0xe380ad){const _0x3ad24c=_0x5241c7,_0x148f64=this[_0x3ad24c(0x301)]();_0x148f64===0x0?this['_saveCache'](_0xe380ad):this[_0x3ad24c(0x393)]['set'](_0xe380ad,setTimeout(()=>this[_0x3ad24c(0x2ce)](_0xe380ad),_0x148f64));}['_getSaveTimeout'](){const _0x1f385d=_0x5241c7;var _0x2f2fcd;return(_0x2f2fcd=this['_configService'][_0x1f385d(0x2d0)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2f2fcd:u[_0x1f385d(0x2e6)];}['_saveCache'](_0x335313){const _0x339296=_0x5241c7,_0x434d4a=this[_0x339296(0x393)][_0x339296(0x187)](_0x335313);return _0x434d4a!==void 0x0&&window[_0x339296(0x3ce)](_0x434d4a),this['_localStorageService']['setItem'](u[_0x339296(0x251)](_0x335313),this[_0x339296(0x3b2)][_0x339296(0x187)](_0x335313))[_0x339296(0x3ec)](()=>this[_0x339296(0x393)]['delete'](_0x335313));}async[_0x5241c7(0x1bf)](){const _0x53cf6e=_0x5241c7,_0x5dfce9=[];this[_0x53cf6e(0x393)][_0x53cf6e(0x37a)]((_0x3db271,_0x4a1b98)=>{const _0x36a1c9=_0x53cf6e;window[_0x36a1c9(0x3ce)](_0x3db271),_0x5dfce9['push'](this[_0x36a1c9(0x2ce)](_0x4a1b98)[_0x36a1c9(0x3ec)](()=>{const _0x12f4db=_0x36a1c9;this[_0x12f4db(0x393)][_0x12f4db(0x364)](_0x4a1b98);}));}),await Promise[_0x53cf6e(0x3de)](_0x5dfce9);}};ge=qt([_e(0x0,a[_0x5241c7(0x1ad)]),_e(0x1,a[_0x5241c7(0x392)]),_e(0x2,a[_0x5241c7(0x190)](m[_0x5241c7(0x202)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x593b0a=_0x5241c7;super(),h(this,_0x593b0a(0x18b)),this['urlChange$']=d['fromEvent'](window,_0x593b0a(0x288))['pipe'](d[_0x593b0a(0x214)](this[_0x593b0a(0x352)]),d[_0x593b0a(0x2ee)](0x1),d[_0x593b0a(0x287)](void 0x0));}[_0x5241c7(0x395)](_0x1fd136,_0x5d034c,_0x3ba2ac=!0x1){const _0x4526f8=_0x5241c7,_0x1803ef=new URL(window['location'][_0x4526f8(0x3b6)]);_0x1803ef[_0x4526f8(0x25b)]['set'](_0x1fd136,_0x5d034c),_0x3ba2ac?window[_0x4526f8(0x39e)][_0x4526f8(0x177)]('','',_0x1803ef[_0x4526f8(0x3a5)]()):window['history'][_0x4526f8(0x1d6)]('','',_0x1803ef[_0x4526f8(0x3a5)]());}[_0x5241c7(0x278)](_0x17754b,_0x460f61=!0x1){const _0x51d6d2=_0x5241c7,_0x1d4d96=new URL(window['location'][_0x51d6d2(0x3b6)]);_0x1d4d96[_0x51d6d2(0x25b)][_0x51d6d2(0x364)](_0x17754b),_0x460f61?window[_0x51d6d2(0x39e)][_0x51d6d2(0x177)]('','',_0x1d4d96[_0x51d6d2(0x3a5)]()):window[_0x51d6d2(0x39e)][_0x51d6d2(0x1d6)]('','',_0x1d4d96['toString']());}[_0x5241c7(0x261)](_0x16f5af){const _0x3917fd=_0x5241c7;var _0x10036e;return(_0x10036e=new URL(window[_0x3917fd(0x1ba)]['href'])[_0x3917fd(0x25b)][_0x3917fd(0x187)](_0x16f5af))!=null?_0x10036e:void 0x0;}}var Kt=Object['defineProperty'],zt=Object[_0x5241c7(0x334)],Jt=(_0x2303ce,_0x5dc063,_0x292389)=>_0x5dc063 in _0x2303ce?Kt(_0x2303ce,_0x5dc063,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x292389}):_0x2303ce[_0x5dc063]=_0x292389,Zt=(_0x2eba70,_0xa97249,_0x3553a8,_0x5e8d79)=>{for(var _0x2b5ec0=_0x5e8d79>0x1?void 0x0:_0x5e8d79?zt(_0xa97249,_0x3553a8):_0xa97249,_0x2fe126=_0x2eba70['length']-0x1,_0x3a6fd0;_0x2fe126>=0x0;_0x2fe126--)(_0x3a6fd0=_0x2eba70[_0x2fe126])&&(_0x2b5ec0=_0x3a6fd0(_0x2b5ec0)||_0x2b5ec0);return _0x2b5ec0;},he=(_0x23430a,_0x5b78bd)=>(_0x2807a2,_0x2950dc)=>_0x5b78bd(_0x2807a2,_0x2950dc,_0x23430a),Qt=(_0x467598,_0x5ec922,_0x544fe8)=>Jt(_0x467598,_0x5ec922+'',_0x544fe8);const es=_0x5241c7(0x2c1);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x5241c7(0x34b)]{constructor(_0x24b2db=Ue,_0x4617ac,_0xdcb930,_0x249959){const _0x3a661a=_0x5241c7;super(),this[_0x3a661a(0x1d7)]=_0x24b2db,this['_renderManagerService']=_0x4617ac,this['_injector']=_0xdcb930,this[_0x3a661a(0x35f)]=_0x249959;const {..._0x380b23}=a[_0x3a661a(0x2cb)]({},Ue,this[_0x3a661a(0x1d7)]);this[_0x3a661a(0x35f)]['setConfig']($t,_0x380b23);}[_0x5241c7(0x23e)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x5241c7(0x36b)](){const _0x262998=_0x5241c7;this[_0x262998(0x1d1)]();}[_0x5241c7(0x174)](){const _0x1e6491=_0x5241c7;var _0x181976;const _0x44a2f4=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x1e6491(0x354)],{'useClass':G[_0x1e6491(0x200)]}],[u['ILocalCacheService'],{'useClass':ge}],[exports[_0x1e6491(0x39b)]],[Q],[K],[x],[de],[exports[_0x1e6491(0x38e)]]];a[_0x1e6491(0x270)](this['_injector'],a['mergeOverrideWithDependencies'](_0x44a2f4,(_0x181976=this['_config'])==null?void 0x0:_0x181976['override']));}[_0x5241c7(0x1d1)](){const _0xf24f5c=_0x5241c7;this[_0xf24f5c(0x1de)](this[_0xf24f5c(0x2a1)][_0xf24f5c(0x37f)](a[_0xf24f5c(0x215)]['UNIVER_DOC'],[Ie])),this['disposeWithMe'](this[_0xf24f5c(0x2a1)][_0xf24f5c(0x37f)](a['UniverInstanceType'][_0xf24f5c(0x3c5)],[ve]));}[_0x5241c7(0x173)](){const _0x34ff08=_0x5241c7;a[_0x34ff08(0x293)](this['_injector'],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[K],[exports['CollaborationDataLoaderController']]]);}},Qt(exports[_0x5241c7(0x1cf)],_0x5241c7(0x297),es),exports['UniverCollaborationClientUIPlugin']=Zt([a[_0x5241c7(0x36c)](u['UniverCollaborationClientPlugin']),he(0x1,p['IRenderManagerService']),he(0x2,a['Inject'](a[_0x5241c7(0x197)])),he(0x3,a[_0x5241c7(0x1ad)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object[_0x5241c7(0x334)],ss=(_0x59d344,_0x5c34ca,_0x135597,_0x503dcc)=>{const _0x43a648=_0x5241c7;for(var _0x106d22=_0x503dcc>0x1?void 0x0:_0x503dcc?ts(_0x5c34ca,_0x135597):_0x5c34ca,_0x24c364=_0x59d344[_0x43a648(0x3bd)]-0x1,_0x1ed2a7;_0x24c364>=0x0;_0x24c364--)(_0x1ed2a7=_0x59d344[_0x24c364])&&(_0x106d22=_0x1ed2a7(_0x106d22)||_0x106d22);return _0x106d22;},F=(_0x4a46a8,_0x4eb2dd)=>(_0x5566a0,_0x106880)=>_0x4eb2dd(_0x5566a0,_0x106880,_0x4a46a8);exports[_0x5241c7(0x28f)]=class extends u[_0x5241c7(0x2d5)]{constructor(_0x421001,_0x4775dc,_0x5435a6,_0x4cac5f,_0x1a4eb8){super(_0x421001,_0x4775dc,_0x5435a6,_0x4cac5f,_0x1a4eb8);}async['createSocket'](_0x3e137f){const _0x42fe12=_0x5241c7,_0x2cd464=await this[_0x42fe12(0x3e9)](),_0x183fee=this['_createSocketURL'](_0x3e137f,_0x2cd464);return this['_doCreateSocket'](_0x183fee);}[_0x5241c7(0x2b6)](_0x119794,_0x27359f){const _0x291d06=_0x5241c7,_0x5bbe07=typeof window>'u'?new URL(_0x119794):new URL(_0x119794,window[_0x291d06(0x1ba)][_0x291d06(0x280)]);_0x5bbe07[_0x291d06(0x25b)][_0x291d06(0x314)](_0x291d06(0x2b1),_0x27359f);const _0x2df206=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x291d06(0x1ba)][_0x291d06(0x3c1)]);return _0x2df206['get']('runId')&&_0x5bbe07[_0x291d06(0x25b)]['set'](_0x291d06(0x1f3),_0x2df206[_0x291d06(0x187)](_0x291d06(0x1f3))),_0x5bbe07['toString']();}async[_0x5241c7(0x3e9)](){const _0x5e178d=_0x5241c7;var _0x2191f5,_0x1dd369,_0x2695fc;const _0x59b6d9=this[_0x5e178d(0x35f)][_0x5e178d(0x2d0)](u[_0x5e178d(0x1e7)]),_0x22230f=(_0x2191f5=_0x59b6d9==null?void 0x0:_0x59b6d9[_0x5e178d(0x2c7)])!=null?_0x2191f5:u[_0x5e178d(0x217)];return(_0x2695fc=(_0x1dd369=(await this[_0x5e178d(0x338)][_0x5e178d(0x187)](_0x22230f,{'headers':{'Content-Type':_0x5e178d(0x370)}}))['body'])==null?void 0x0:_0x1dd369[_0x5e178d(0x3bc)])!=null?_0x2695fc:'';}},exports[_0x5241c7(0x28f)]=ss([F(0x0,a[_0x5241c7(0x190)](a[_0x5241c7(0x197)])),F(0x1,a[_0x5241c7(0x190)](G[_0x5241c7(0x264)])),F(0x2,a[_0x5241c7(0x1ad)]),F(0x3,a[_0x5241c7(0x1f6)]),F(0x4,m[_0x5241c7(0x3dc)])],exports[_0x5241c7(0x28f)]);const Me=0x7530,Le=_0x5241c7(0x2fd);class is extends a[_0x5241c7(0x2c9)]{constructor(){const _0xc9901f=_0x5241c7;super(),h(this,_0xc9901f(0x31d),a[_0xc9901f(0x34a)]()),h(this,'_selfUnitIDs',new Set()),h(this,'_unitOnClients',new Map()),h(this,_0xc9901f(0x398),null),h(this,_0xc9901f(0x35c),new Map()),h(this,'_unitStatus',new Map()),this[_0xc9901f(0x369)]();}[_0x5241c7(0x347)](){const _0x2f44af=_0x5241c7;super[_0x2f44af(0x347)](),this['_clearOtherTimers']['forEach']((_0xc0aecf,_0x5d3c64)=>this[_0x2f44af(0x17d)](_0x5d3c64)),this[_0x2f44af(0x398)]&&window[_0x2f44af(0x1c2)](this[_0x2f44af(0x398)]);}[_0x5241c7(0x2d2)](_0x2638f5){const _0x1a4e33=_0x5241c7;return this[_0x1a4e33(0x33d)](_0x2638f5)[_0x1a4e33(0x353)](d[_0x1a4e33(0x21a)]());}[_0x5241c7(0x19c)](_0x3b187d){const _0x6232a0=_0x5241c7;this[_0x6232a0(0x283)][_0x6232a0(0x223)]===0x0&&this[_0x6232a0(0x1db)](),this[_0x6232a0(0x283)]['add'](_0x3b187d),this[_0x6232a0(0x311)]({'type':0x0,'memberID':this[_0x6232a0(0x31d)],'unitIDs':[_0x3b187d],'isForwarded':!0x1});}[_0x5241c7(0x2cf)](_0x516b2f){const _0x2e9318=_0x5241c7;this['_selfUnitIDs'][_0x2e9318(0x364)](_0x516b2f),this[_0x2e9318(0x283)]['size']===0x0&&this[_0x2e9318(0x398)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x5241c7(0x369)](){const _0x44e588=_0x5241c7;this[_0x44e588(0x1de)](a[_0x44e588(0x3c7)](d[_0x44e588(0x304)](window,'storage')['subscribe'](_0x589dce=>{const _0x51e81b=_0x44e588;if(_0x589dce['key']!==Le||!_0x589dce[_0x51e81b(0x237)])return;const _0x18386c=JSON[_0x51e81b(0x34c)](_0x589dce[_0x51e81b(0x237)]);this[_0x51e81b(0x3b5)](_0x18386c);}))),window[_0x44e588(0x1b7)](_0x44e588(0x2d6),()=>this[_0x44e588(0x311)]({'type':0x1,'memberID':this[_0x44e588(0x31d)],'unitIDs':Array['from'](this[_0x44e588(0x283)])}));}[_0x5241c7(0x3b5)](_0x442d7f){const _0x39fa93=_0x5241c7;switch(_0x442d7f['type']){case 0x0:this[_0x39fa93(0x313)](_0x442d7f);break;case 0x1:this['_handleLeaveEvent'](_0x442d7f);break;case 0x2:this['_handleHeartbeatEvent'](_0x442d7f);break;}}[_0x5241c7(0x313)](_0x2ec55e){const _0x2d29a2=_0x5241c7,{unitIDs:_0x4c6d34,memberID:_0x446b0b,isForwarded:_0x59a0a5}=_0x2ec55e;_0x4c6d34[_0x2d29a2(0x37a)](_0x12ce66=>{const _0xbcd80f=_0x2d29a2;if(!_0x59a0a5&&this[_0xbcd80f(0x315)]['has'](_0x12ce66)&&this[_0xbcd80f(0x33d)](_0x12ce66)[_0xbcd80f(0x24c)](u[_0xbcd80f(0x1ec)][_0xbcd80f(0x342)]),!this['_unitOnClients'][_0xbcd80f(0x310)](_0x12ce66)||!this[_0xbcd80f(0x315)][_0xbcd80f(0x187)](_0x12ce66)[_0xbcd80f(0x310)](_0x446b0b)){const _0x33d72b=this[_0xbcd80f(0x315)][_0xbcd80f(0x187)](_0x12ce66)||new Set();_0x33d72b[_0xbcd80f(0x344)](_0x446b0b),this[_0xbcd80f(0x315)]['set'](_0x12ce66,_0x33d72b),this[_0xbcd80f(0x2e1)](_0x446b0b);}}),_0x59a0a5||this[_0x2d29a2(0x311)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2d29a2(0x283)]],'isForwarded':!0x0});}[_0x5241c7(0x2e1)](_0x45a8e3){const _0x2fbf1c=_0x5241c7;this[_0x2fbf1c(0x17d)](_0x45a8e3);const _0x33f016=window['setTimeout'](()=>{const _0x1cfb31=_0x2fbf1c;this['_unitOnClients'][_0x1cfb31(0x37a)](_0x23e6e7=>{const _0x200950=_0x1cfb31;_0x23e6e7[_0x200950(0x364)](_0x45a8e3);});},Me*0x2);this['_clearOtherTimers'][_0x2fbf1c(0x314)](_0x45a8e3,_0x33f016);}[_0x5241c7(0x17d)](_0x35739f){const _0xc16c93=_0x5241c7;if(this[_0xc16c93(0x35c)][_0xc16c93(0x310)](_0x35739f)){const _0x138375=this[_0xc16c93(0x35c)][_0xc16c93(0x187)](_0x35739f);_0x138375&&window[_0xc16c93(0x3ce)](_0x138375),this[_0xc16c93(0x35c)][_0xc16c93(0x314)](_0x35739f,null);}}[_0x5241c7(0x1e8)](_0x46c5b){const _0x4b20a1=_0x5241c7,{memberID:_0x326689,unitIDs:_0x20d91d}=_0x46c5b;_0x20d91d[_0x4b20a1(0x37a)](_0x5627f3=>{const _0x40fea0=_0x4b20a1;var _0x5b3015;const _0x1d0021=this[_0x40fea0(0x315)]['get'](_0x5627f3);_0x1d0021&&(_0x1d0021[_0x40fea0(0x364)](_0x326689),(_0x5b3015=this['_ensureSubject'](_0x5627f3))==null||_0x5b3015['next'](_0x1d0021[_0x40fea0(0x223)]===0x0?u[_0x40fea0(0x1ec)][_0x40fea0(0x211)]:u[_0x40fea0(0x1ec)]['OTHER_CLIENTS_EDITING']));}),this[_0x4b20a1(0x17d)](_0x326689);}['_handleHeartbeatEvent'](_0x40f7ac){const _0x12aede=_0x5241c7;this[_0x12aede(0x2e1)](_0x40f7ac[_0x12aede(0x3b3)]);}[_0x5241c7(0x311)](_0xadeab7){const _0x426356=_0x5241c7;localStorage['setItem'](Le,JSON[_0x426356(0x244)](_0xadeab7));}[_0x5241c7(0x1db)](){const _0x4dde2d=_0x5241c7;this[_0x4dde2d(0x398)]=window[_0x4dde2d(0x3c4)](()=>{const _0x5e0f3a=_0x4dde2d;this[_0x5e0f3a(0x311)]({'type':0x2,'memberID':this[_0x5e0f3a(0x31d)]});},Me);}[_0x5241c7(0x33d)](_0x3ba797){const _0x97bc6d=_0x5241c7;return this[_0x97bc6d(0x312)][_0x97bc6d(0x310)](_0x3ba797)||this[_0x97bc6d(0x312)][_0x97bc6d(0x314)](_0x3ba797,new d[(_0x97bc6d(0x366))](u['UnitStatus'][_0x97bc6d(0x211)])),this['_unitStatus'][_0x97bc6d(0x187)](_0x3ba797);}}var Be=(_0x2c05fb=>(_0x2c05fb[_0x2c05fb[_0x5241c7(0x1a4)]=0x0]=_0x5241c7(0x1a4),_0x2c05fb[_0x2c05fb['OK']=0x1]='OK',_0x2c05fb[_0x2c05fb[_0x5241c7(0x250)]=0x2]='INTERNAL_ERROR',_0x2c05fb[_0x2c05fb[_0x5241c7(0x3eb)]=0x3]='PERMISSION_DENIED',_0x2c05fb[_0x2c05fb['NOT_FOUND']=0x4]='NOT_FOUND',_0x2c05fb[_0x2c05fb[_0x5241c7(0x1be)]=0x5]=_0x5241c7(0x1be),_0x2c05fb[_0x2c05fb['ALREADY_EXISTS']=0x6]=_0x5241c7(0x360),_0x2c05fb[_0x2c05fb[_0x5241c7(0x2bc)]=0x7]=_0x5241c7(0x2bc),_0x2c05fb[_0x2c05fb[_0x5241c7(0x335)]=0x8]=_0x5241c7(0x335),_0x2c05fb[_0x2c05fb[_0x5241c7(0x38a)]=0x9]=_0x5241c7(0x38a),_0x2c05fb[_0x2c05fb[_0x5241c7(0x383)]=0xa]=_0x5241c7(0x383),_0x2c05fb[_0x2c05fb[_0x5241c7(0x2fb)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2c05fb[_0x2c05fb[_0x5241c7(0x28d)]=0x1771]=_0x5241c7(0x28d),_0x2c05fb[_0x2c05fb[_0x5241c7(0x184)]=0x1772]=_0x5241c7(0x184),_0x2c05fb[_0x2c05fb[_0x5241c7(0x1ca)]=0x1773]=_0x5241c7(0x1ca),_0x2c05fb[_0x2c05fb[_0x5241c7(0x255)]=0x1b59]='APPLY_REJECT',_0x2c05fb[_0x2c05fb[_0x5241c7(0x1a3)]=0x1b5a]=_0x5241c7(0x1a3),_0x2c05fb[_0x2c05fb[_0x5241c7(0x192)]=0x1b5b]=_0x5241c7(0x192),_0x2c05fb[_0x2c05fb[_0x5241c7(0x254)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2c05fb[_0x2c05fb[_0x5241c7(0x218)]=0x1b5d]=_0x5241c7(0x218),_0x2c05fb[_0x2c05fb[_0x5241c7(0x3e5)]=0x1f41]=_0x5241c7(0x3e5),_0x2c05fb[_0x2c05fb[_0x5241c7(0x2e8)]=0x2329]=_0x5241c7(0x2e8),_0x2c05fb[_0x2c05fb[_0x5241c7(0x34d)]=0x232a]=_0x5241c7(0x34d),_0x2c05fb[_0x2c05fb[_0x5241c7(0x2c2)]=0x232b]=_0x5241c7(0x2c2),_0x2c05fb[_0x2c05fb[_0x5241c7(0x16b)]=0x232c]=_0x5241c7(0x16b),_0x2c05fb[_0x2c05fb[_0x5241c7(0x2d3)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2c05fb[_0x2c05fb[_0x5241c7(0x26d)]=0x2711]=_0x5241c7(0x26d),_0x2c05fb[_0x2c05fb[_0x5241c7(0x24e)]=0x2712]=_0x5241c7(0x24e),_0x2c05fb[_0x2c05fb['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5241c7(0x35d),_0x2c05fb[_0x2c05fb[_0x5241c7(0x2eb)]=0x2714]=_0x5241c7(0x2eb),_0x2c05fb[_0x2c05fb[_0x5241c7(0x2ba)]=0x271a]=_0x5241c7(0x2ba),_0x2c05fb[_0x2c05fb[_0x5241c7(0x346)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2c05fb[_0x2c05fb[_0x5241c7(0x1a8)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2c05fb[_0x2c05fb['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5241c7(0x3ca),_0x2c05fb[_0x2c05fb[_0x5241c7(0x3d7)]=0x2ee2]=_0x5241c7(0x3d7),_0x2c05fb[_0x2c05fb[_0x5241c7(0x22d)]=0x2ee3]=_0x5241c7(0x22d),_0x2c05fb[_0x2c05fb['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5241c7(0x30d),_0x2c05fb[_0x2c05fb['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5241c7(0x248),_0x2c05fb[_0x2c05fb['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5241c7(0x307),_0x2c05fb[_0x2c05fb[_0x5241c7(0x1f2)]=0x32ca]=_0x5241c7(0x1f2),_0x2c05fb[_0x2c05fb['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5241c7(0x291),_0x2c05fb[_0x2c05fb['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2c05fb))(Be||{}),ns=Object[_0x5241c7(0x334)],rs=(_0x5d2e64,_0x191618,_0x58d051,_0x10e61f)=>{const _0x2243e4=_0x5241c7;for(var _0xf46547=_0x10e61f>0x1?void 0x0:_0x10e61f?ns(_0x191618,_0x58d051):_0x191618,_0x51580f=_0x5d2e64[_0x2243e4(0x3bd)]-0x1,_0x62c739;_0x51580f>=0x0;_0x51580f--)(_0x62c739=_0x5d2e64[_0x51580f])&&(_0xf46547=_0x62c739(_0xf46547)||_0xf46547);return _0xf46547;},ue=(_0x393f14,_0x539db8)=>(_0x4d9997,_0x198176)=>_0x539db8(_0x4d9997,_0x198176,_0x393f14);exports[_0x5241c7(0x227)]=class extends a[_0x5241c7(0x2c9)]{constructor(_0x6558fd,_0x1020ce,_0x200665){const _0x10114=_0x5241c7;super(),this[_0x10114(0x28b)]=_0x6558fd,this[_0x10114(0x338)]=_0x1020ce,this['_configService']=_0x200665;}async['runOnServer'](_0xfe9623,_0x3d01a2,_0x513834,..._0x2bb2d5){const _0x3586d6=_0x5241c7;var _0x55caed,_0x5c06bd,_0x199b0d,_0x574f99;const _0x2e5973=this[_0x3586d6(0x28b)][_0x3586d6(0x169)]();if(!_0x2e5973)throw new Error(_0x3586d6(0x18c));const _0x5604d6=((_0x55caed=this['_configService'][_0x3586d6(0x2d0)](u[_0x3586d6(0x1c0)]))!=null?_0x55caed:u[_0x3586d6(0x20d)])+'/'+_0xfe9623+_0x3586d6(0x1bb)+_0x3d01a2,_0x3ea0a4=new URL(window[_0x3586d6(0x1ba)]['href']),_0x42da20={'scriptId':_0xfe9623,'runId':(_0x5c06bd=_0x3ea0a4[_0x3586d6(0x25b)][_0x3586d6(0x187)](_0x3586d6(0x1f3)))!=null?_0x5c06bd:'','function':_0x3d01a2,'unitId':_0x2e5973[_0x3586d6(0x2d1)](),'argsOfFunction':JSON[_0x3586d6(0x244)](_0x2bb2d5),'invokeId':(_0x199b0d=_0x513834[_0x3586d6(0x371)])!=null?_0x199b0d:'','executionId':(_0x574f99=_0x513834['executionId'])!=null?_0x574f99:''};try{const _0x4530ad=await this[_0x3586d6(0x338)][_0x3586d6(0x16d)](_0x5604d6,{'body':_0x42da20});return _0x4530ad[_0x3586d6(0x26c)]['error']&&_0x4530ad['body'][_0x3586d6(0x327)][_0x3586d6(0x23b)]!==Be['OK']?_0x3586d6(0x3a4):_0x4530ad[_0x3586d6(0x26c)][_0x3586d6(0x3d1)];}catch{return'Failed';}}},exports[_0x5241c7(0x227)]=rs([ue(0x0,a[_0x5241c7(0x356)]),ue(0x1,a[_0x5241c7(0x190)](G[_0x5241c7(0x264)])),ue(0x2,a['IConfigService'])],exports[_0x5241c7(0x227)]),exports['CollaborationStatusDisplay']=xe,exports[_0x5241c7(0x28e)]=be,exports[_0x5241c7(0x349)]=we,exports[_0x5241c7(0x330)]=is,exports[_0x5241c7(0x31f)]=je;function _0x4565(){const _0x299898=['deepClone','_assignedColors','engine','unitId','_createSocketURL','_imageIoService','_scene','init','YUUMI_NO_CUBOID_FOR_QUESTION','_docTransformSelectionsService','INVALID_ARGUMENT','getValue','assign','@univerjs/sheets-ui','_docTransformStateCacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','LICENSE_IMPORT_SIZE_EXCEEDED','getUnhiddenWorksheets','call','verdancy600','ONLINE','wsSessionTicketUrl','react','Disposable','off-line-single_clip0_910_343','merge','deserializeRangeWithSheet','clipPath','_saveCache','disposeUnit','getConfig','getUnitId','getUnitStatus$','LICENSE_DISTRO_REJECTED','getRelativeToViewportCoord','CollaborationSocketService','unload','RemoveRowCommandId','TRANSFORM_CHANGE_OBSERVABLE_TYPE','forwardRef','indexOf','loadUnit','ThemeService','none','icon','combineLatest','_docClipboardService','_scheduleClearOtherTimer','extend','div','_backgroundColor','getActiveRange','LOCAL_CACHE_INTERVAL','getAncestorScale','LICENSE_MAX_UNITS_EXCEEDED','_startDocCollabCursor','DeleteRangeMoveUpCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','@univerjs/engine-formula','SOCKET_FAILED_RETRY','shareReplay','_setupBeforeClosingHandler','subscribeEvent','OTHER_CLIENT_EDITING','@univerjs/docs-ui','_syncEditingCollabCursorService','6996TjsvdE','min','fillRule','isActive','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','Module','registerRefRange','CHANGESET_REVISION_CONFILICT','registerBeforeClose','ACTIVE_UNIT_EVENT_CHANNEL','unit','find','IDocClipboardService','_getSaveTimeout','debounce','_updateCollabCursors','fromEvent','whenReady','unsubscribe','WECHAT_HAS_BEEN_BOUND','_univerInstanceService','BuiltInUIPart','ILocalCacheService','collaboration.closeRoom','DataLoaderService','USER_NOT_INVITED_CODE','63sEwViQ','_shapes','has','_send','_unitStatus','_handleJoinEvent','set','_unitOnClients','permission.title','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','url(#$1','getCoordByCell','imageSourceType','_collabSessionService','_entities','_id','enableLocalCache','WebURLService','entityInit$','tag','asObservable','xlink:href','_initCommandExecutedListener','collabStatus.syncing','propertyIsEnumerable','error','toStringTag','1049912qPvsSO','syncEditingCollabCursor','moveTo','_beforeCloseService','NodePositionConvertToCursor','hovered','_onRefRangeChange','WebBrowserSingleActiveUnitService','runRefRangeMutations','fillStyle','concat','getOwnPropertyDescriptor','TOO_MANY_REQUESTS','with','FromArray','_httpService','some','react/jsx-runtime','transformRemoteChangeset','CollaborationSessionService','_ensureSubject','_drawRectRange','CollaborationUIEventService','onPointerMove$','HEADER_MENU','OTHER_CLIENTS_EDITING','arc','add','_lastPointer','YUUMI_ASYNCIO_CANCELLED','dispose','IImageIoService','SheetCollabCursorShape','generateRandomId','Plugin','parse','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','doc.mutation.rich-text-editing','_getMergeRange','path','_getAnchorBounding','dispose$','pipe','ISocketService','_docStateChangeManagerService','IUniverInstanceService','textRanges','_range','saveTaskMap','fillText','collaboration.single-unit.warning','_clearOtherTimers','YUUMI_RATE_OVER_LIMIT','@univerjs/docs','_configService','ALREADY_EXISTS','ITransformService','createElement','m1Prime','delete','_messageService','BehaviorSubject','getTypeOfUnitAdded$','DocIMEInputManagerService','_init','CommandType','onRendered','DependentOn','_setupSubUnitSync','isTransformMutationFailure','uni.network.url-service','application/json','invokeId','1em','contains','_collaborationUIEventService','complete','onCommandExecuted','Subject','1035276ChdRGO','CONFLICT','forEach','LocaleService','black','red300','measureText','registerRenderModule','name','isTransformMutationsWithChangesetSuccess','getOwnPropertySymbols','LOGIN_FAILED','sessionStatus$','_docSkeletonManagerService','entries','ICommandService','subunit','collab-rect-range-','COMPLETION_FINISHED','collabStatus.notCollab','ranges','@univerjs/ui','CollaborationDataLoaderController','_toggleOffline','width','getViewport','ILocalStorageService','_saveTaskMap','current','setParam','CollaborationUIEventId','debug','_heartbeatTimer','prototype','updateOfflineData','DesktopCollaborationStatusDisplayController','map','handleDeleteRangeMoveUp','history','SessionStatus','_getScale','mutations','actions','bottom','Failed','toString','triggerDblclick','_textBubble','executeCommand','IRemoteInstanceService','on-line-single_clip0_910_349','translate(.97)','JOIN_ROOM_FAILED','getDocRanges','useObservable','Error','ColorKit','DocSelectionManagerService','_cachedData','memberID','focused$','_handleEvent','href','181384tXpgTf','range','6715242QYVGrk','CollaborationController','UPDATE_CURSOR','ticket','length','collab-client.tooltip.reconnect','@univerjs-pro/collaboration','_collabCursorState$','search','SetTextSelectionsOperation','_initResize','setInterval','UNIVER_SHEET','_onCursorDelete','toDisposable','_injector','loadOfflineData','INVITE_CODE_HAS_BEEN_UES','InsertRangeMoveDownCommandId','VIEW_MAIN','_docSyncEditingCollabCursorService','clearTimeout','fromEventSubject','switchMap','result','onPointerLeave$','saveImage','subscribe','SheetSkeletonManagerService','currentColor','INVALID_INVITE_CODE','_themeService','getStateCache','collabStatus.fetchMiss','_drawAnchor','ISnapshotServerService','values','all','univer-text-green-500','toRgbString','useDependency','substring','string','_memberService','CONNECTOR_DATA_TOO_LARGE','displayName','OFFLINE','OnLineSingle','_getSessionTicket','session.collaboration-timeout','PERMISSION_DENIED','then','getFocusedUnit','_urlService','LICENSE_EXPORT_SIZE_EXCEEDED','connectInjector','post','_context','CollaborationStatus','getSkeleton','_notificationService','_cursorInfo$','_initDependencies','_registerDependencies','Unknown\x20user','getTypeOfUnitDisposed$','replaceState','currentSkeleton$','cursorInfo$','_handleHover','@univerjs/engine-render','startRow','_removeClearOtherTimer','handleInsertRangeMoveRight','endRow','_logService','handleInsertRangeMoveDown','IUIPartsService','univer-flex\x20univer-mr-2\x20univer-text-[20px]','SNAPSHOT_HAS_BEEN_REMOVED','docStateChange$','Workbook','get','event$','eventID','_revisionService','urlChange$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','random','unshift','unitID','Inject','_transformPreviousActiveRange','APPLY_REVISION_CONFILICT','_roomMembers$','2346488bfUaMC','getSheetId','IRenderManagerService','Injector','cursorInfo','startColumn','_hovered','round','editingUnit','_localCacheService','_removeCollabCursors','_disabled','defIds','_startSheetCollabCursor','source','APPLY_NON_SEQUENTIAL_REVISION','UNDEFINED','#FFF','_collabCursorController','Warning','PY_RUNTIME_SCRIPT_ERROR','handleIRemoveCol','_updateURLWithCurrentState','3596579uoVRKo','IBeforeCloseService','IConfigService','DocStateChangeManagerService','activeSheet$','RECT','0\x200\x2016\x2016','mask','SheetsSelectionsService','EffectRefRangId','setShapeProps','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addEventListener','transformIMECache','send','location','/run/','SetSelectionsOperation','evenodd','UNAUTHENTICATED','exhaustSavingTask','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','currentTheme$','clearInterval','OffLineSingle','getSheetBySheetId','_toggleOnline','Vector2','height','assignAColorForMemberID','185IuhKoB','ENSURE_SNAPSHOT_EXECUTION','column','top','transformMutationsWithChangeset','handleIRemoveRow','UniverCollaborationClientUIPlugin','transform','_registerRenderDependencies','IMessageService','split','onPointerEnter$','SOCKET_FAILED','pushState','_config','_onCursorUpdate','@univerjs/network','_initEvent','_scheduleHeartbeat','makeDirty','RxDisposable','disposeWithMe','setUndoRedoMutationParamsCache','drawWith','CollaborationEvent','_draw','params','_name','_transformService','_colorIndex','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_handleLeaveEvent','getUndoRedoMutationParamsCache','colorChannel1','AWAITING','UnitStatus','selections','getMemberID','startsWith','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','transformSelections','MOBILE_HAS_BEEN_BOUND','runId','_cursorShapes','isEditing','ILogService','_colorAssignService','getCurrentRevOfUnit','getSheetObject','color','_commandService','getCollabCursors$','0\x200\x2017\x2016','createInstance','transformStateCache','WebSocketService','type','RevisionService','_initStatusComponent','_session','addObject','MessageType','_cursors','handleMoveRange','_drawTextRange','collabCursorState$','M0\x200H16V16H0z','@univerjs/drawing','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setItem','_transformUndoRedoStack','text','NO_OTHER_CLIENTS_EDITING','Optional','DeleteRangeMoveLeftCommandId','takeUntil','UniverInstanceType','...','DEFAULT_WS_SESSION_TICKET_URL','APPLY_DUPLICATED','TEXT_RANGE_LAYER_INDEX','distinctUntilChanged','m2Prime','_localeService','permission.content','saveOfflineData','_initStatusListener','_collaborationController','purple300','hide','size','roomMembers$','onMouseMove','selection','RemoteUniscriptService','endColumn','_refRangeService','_localStorageService','COLORS','useRef','INVITE_CODE_REQUIRED','disableLocalCache','MUTATION','jsx','_updateSubUnitFromURLParams','DocCollaborationEntity','_docSkeleton','push','@univerjs/design','findNodePositionByCharIndex','newValue','[CollaborationDataLoaderController]','_dataLoaderService','getRenderById','code','_sheetSkeletonManagerService','data','onStarting','rxjs/operators','_cursor','_updateLocalCursor','className','#fff','stringify','svg','Tooltip','getColor','INVITE_CODE_ALREADY_BOUND','_refreshCollabCursors','_labelPosition','defs','next','serializeRangeWithSheet','YUUMI_URL_COL_OUT_OF_RANGE','closePath','INTERNAL_ERROR','getLocalCacheKey','throttleTime','InsertRangeMoveRightCommandId','APPLY_PERMISSION_DENIED','APPLY_REJECT','Rect','SetDocZoomRatioOperation','univerjs-icon\x20univerjs-icon-','MemberService','from','searchParams','_anchorDot','@univerjs/rpc','@univerjs/core','rgba(255,\x20255,\x20255,\x200.01)','beginPath','getParam','show','handleInsertRow','HTTPService','transformByState','_entityInit$','univer-flex\x20univer-items-center','undoState','filter','_hover','getRangePointData','body','YUUMI_UNABLE_LOAD_URL','TEXT','max','registerDependencies','RemoveColCommandId','collab-text-range-','_anchor','_scheduleSaving','_render','_online','replace','removeParam','resize','attrs','idSuffix','save','children','debounceTime','rxjs','origin','onTransformChange$','url(#off-line-single_clip0_910_343)','_selfUnitIDs','FETCH_MISS','transformMutation','getCollabEntity$','mapTo','popstate','getActiveSheet','defineProperty','_instanceService','replaceDocRanges','SNAPSHOT_INVALID_SNAPSHOT','IURLService','BrowserCollaborationSocketService','_status$','EMAIL_HAS_BEEN_BOUND','_eventUnsubscribe','touchDependencies','use','@univerjs/sheets','restore','pluginName','_initEntityListener','lineTo','_transformHistoryAndStateStack','getOffsetConfig','fill','status$','Tools','DOC_RANGE_TYPE','InsertColCommandId','_renderManagerService','_uiPartsService','redoState','NOT_COLLAB','UNIVER_DOC','flatMap','Shape','_color','setActiveRange','handleInsertCol','addHandlerCallback','off-line-single','collabStatus.conflict','INotificationService','_hideTimer','trim','sessionTicket'];_0x4565=function(){return _0x299898;};return _0x4565();}
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x1045(){const _0x9a5e87=['7oTiHoM','Click\x20to\x20Reconnect','3463216EUQIpy','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','138998vaXHop','Connection\x20failed,\x20please\x20check\x20your\x20network.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','964434AccVRz','Syncing...','848760EGoFhQ','246CZKvjJ','Local\x20file','3wFzUDZ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','528FLAkfg','1325178kONvnO','Edit\x20conflicts','100562LtwQiw','10WLUiQd','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Syncing\x20server\x20data...','28460pBURqw'];_0x1045=function(){return _0x9a5e87;};return _0x1045();}const _0x15045f=_0x5b63;(function(_0x53006c,_0x3902df){const _0xceef2b=_0x5b63,_0x5ee930=_0x53006c();while(!![]){try{const _0x3dba1c=-parseInt(_0xceef2b(0x84))/0x1*(-parseInt(_0xceef2b(0x94))/0x2)+parseInt(_0xceef2b(0x97))/0x3+parseInt(_0xceef2b(0x99))/0x4+parseInt(_0xceef2b(0x8e))/0x5*(parseInt(_0xceef2b(0x82))/0x6)+-parseInt(_0xceef2b(0x8f))/0x7*(parseInt(_0xceef2b(0x91))/0x8)+parseInt(_0xceef2b(0x87))/0x9*(parseInt(_0xceef2b(0x8a))/0xa)+-parseInt(_0xceef2b(0x89))/0xb*(parseInt(_0xceef2b(0x86))/0xc);if(_0x3dba1c===_0x3902df)break;else _0x5ee930['push'](_0x5ee930['shift']());}catch(_0x2d431b){_0x5ee930['push'](_0x5ee930['shift']());}}}(_0x1045,0x4638d));function _0x5b63(_0x56a75b,_0x2a4141){const _0x104537=_0x1045();return _0x5b63=function(_0x5b6394,_0x1a3339){_0x5b6394=_0x5b6394-0x82;let _0x1678d9=_0x104537[_0x5b6394];return _0x1678d9;},_0x5b63(_0x56a75b,_0x2a4141);}const e={'collab-client':{'tooltip':{'reconnect':_0x15045f(0x90)}},'collabStatus':{'fetchMiss':_0x15045f(0x8d),'conflict':_0x15045f(0x88),'notCollab':_0x15045f(0x83),'synced':_0x15045f(0x93),'syncing':_0x15045f(0x98),'offline':_0x15045f(0x96)},'session':{'connection-failed':_0x15045f(0x95),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x15045f(0x8c)},'permission':{'title':'Authentication\x20Error','content':_0x15045f(0x92)},'collaboration':{'single-unit':{'warning':_0x15045f(0x8b)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x15045f(0x85)}};module['exports']=e;
|