@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250421-e4eb9bc → 0.6.10-experimental.20250427-173dc06

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2fa775=_0x3b90;(function(_0x45fac0,_0x163636){const _0xce9eef=_0x3b90,_0x1d6749=_0x45fac0();while(!![]){try{const _0x552893=parseInt(_0xce9eef(0x114))/0x1+parseInt(_0xce9eef(0x115))/0x2*(parseInt(_0xce9eef(0x11c))/0x3)+parseInt(_0xce9eef(0x119))/0x4*(-parseInt(_0xce9eef(0x112))/0x5)+-parseInt(_0xce9eef(0x113))/0x6+parseInt(_0xce9eef(0x11f))/0x7*(-parseInt(_0xce9eef(0x122))/0x8)+parseInt(_0xce9eef(0x120))/0x9+-parseInt(_0xce9eef(0x116))/0xa*(-parseInt(_0xce9eef(0x121))/0xb);if(_0x552893===_0x163636)break;else _0x1d6749['push'](_0x1d6749['shift']());}catch(_0x25ab47){_0x1d6749['push'](_0x1d6749['shift']());}}}(_0x35bb,0x9b3c2));const t=require(_0x2fa775(0x118)),e=require(_0x2fa775(0x117));class c extends e[_0x2fa775(0x11d)]{[_0x2fa775(0x11a)](_0x17a0f8,_0x9db363,..._0x2dc228){const _0x433b87=_0x2fa775;return this[_0x433b87(0x11e)][_0x433b87(0x11b)](t[_0x433b87(0x111)])[_0x433b87(0x11a)](_0x17a0f8,_0x9db363,{},..._0x2dc228);}}e[_0x2fa775(0x11d)]['extend'](c);function _0x3b90(_0x46f24a,_0x5a3e1e){const _0x35bb76=_0x35bb();return _0x3b90=function(_0x3b9063,_0x41125f){_0x3b9063=_0x3b9063-0x111;let _0x19c376=_0x35bb76[_0x3b9063];return _0x19c376;},_0x3b90(_0x46f24a,_0x5a3e1e);}function _0x35bb(){const _0x5f3e85=['3244041EdiWsh','374geZfNE','2921528thJhPl','RemoteUniscriptService','5gqyceH','2067006PmcqNM','404462hmOeuf','504646NqfpYs','154640TCtXGU','@univerjs/core/facade','@univerjs-pro/collaboration-client-ui','789904uiQpGd','runOnServer','get','3oAytOW','FUniver','_injector','7aNtLdB'];_0x35bb=function(){return _0x5f3e85;};return _0x35bb();}
1
+ 'use strict';const _0x26d5be=_0x58f0;function _0x58f0(_0x5c8b03,_0x22bd77){const _0x1d8bf0=_0x1d8b();return _0x58f0=function(_0x58f033,_0x1c7958){_0x58f033=_0x58f033-0x1a7;let _0x2aec51=_0x1d8bf0[_0x58f033];return _0x2aec51;},_0x58f0(_0x5c8b03,_0x22bd77);}function _0x1d8b(){const _0x2ffb7c=['extend','109962YGvKIu','1343195OrxzkT','2986160ICdYMb','7570584aHiSAj','@univerjs-pro/collaboration-client-ui','2009094JFqMJh','703954TfKrlI','5409516ikwylj','1iSDjsa','runOnServer','_injector','get','RemoteUniscriptService','FUniver','@univerjs/core/facade'];_0x1d8b=function(){return _0x2ffb7c;};return _0x1d8b();}(function(_0x4849ef,_0x46654a){const _0x5e920e=_0x58f0,_0x210639=_0x4849ef();while(!![]){try{const _0x537aec=-parseInt(_0x5e920e(0x1af))/0x1*(parseInt(_0x5e920e(0x1ad))/0x2)+-parseInt(_0x5e920e(0x1a7))/0x3+parseInt(_0x5e920e(0x1ae))/0x4+parseInt(_0x5e920e(0x1a9))/0x5+parseInt(_0x5e920e(0x1ac))/0x6+-parseInt(_0x5e920e(0x1a8))/0x7+-parseInt(_0x5e920e(0x1aa))/0x8;if(_0x537aec===_0x46654a)break;else _0x210639['push'](_0x210639['shift']());}catch(_0x393ecb){_0x210639['push'](_0x210639['shift']());}}}(_0x1d8b,0xb8f75));const t=require(_0x26d5be(0x1ab)),e=require(_0x26d5be(0x1b5));class c extends e[_0x26d5be(0x1b4)]{[_0x26d5be(0x1b0)](_0x416345,_0x5a0806,..._0x2680ea){const _0x41dce0=_0x26d5be;return this[_0x41dce0(0x1b1)][_0x41dce0(0x1b2)](t[_0x41dce0(0x1b3)])[_0x41dce0(0x1b0)](_0x416345,_0x5a0806,{},..._0x2680ea);}}e[_0x26d5be(0x1b4)][_0x26d5be(0x1b6)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x56af3f=_0x408b;(function(_0x2b3d4b,_0x29afc4){const _0x1ab3d9=_0x408b,_0x408fd0=_0x2b3d4b();while(!![]){try{const _0x4d78aa=parseInt(_0x1ab3d9(0x399))/0x1+parseInt(_0x1ab3d9(0x295))/0x2+-parseInt(_0x1ab3d9(0x1ad))/0x3+-parseInt(_0x1ab3d9(0x2e2))/0x4*(-parseInt(_0x1ab3d9(0x152))/0x5)+-parseInt(_0x1ab3d9(0x1ce))/0x6+parseInt(_0x1ab3d9(0x345))/0x7+-parseInt(_0x1ab3d9(0x147))/0x8;if(_0x4d78aa===_0x29afc4)break;else _0x408fd0['push'](_0x408fd0['shift']());}catch(_0x42f96d){_0x408fd0['push'](_0x408fd0['shift']());}}}(_0xcc01,0x7a276));var Xe=Object[_0x56af3f(0x2ec)],Ge=(_0x212169,_0x2d1051,_0x3bef73)=>_0x2d1051 in _0x212169?Xe(_0x212169,_0x2d1051,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bef73}):_0x212169[_0x2d1051]=_0x3bef73,_=(_0x464d34,_0x416357,_0xd449c)=>Ge(_0x464d34,typeof _0x416357!='symbol'?_0x416357+'':_0x416357,_0xd449c);Object[_0x56af3f(0x2ec)](exports,Symbol['toStringTag'],{'value':_0x56af3f(0x195)});const u=require(_0x56af3f(0x3a1)),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),q=require(_0x56af3f(0x370)),b=require('@univerjs/docs-ui'),qe=require(_0x56af3f(0x201)),d=require('rxjs'),Y=require(_0x56af3f(0x18e)),m=require(_0x56af3f(0x179)),Te=require('@univerjs/engine-formula'),g=require(_0x56af3f(0x1da)),$=require(_0x56af3f(0x34c)),G=require(_0x56af3f(0x3c7)),P=require(_0x56af3f(0x3c2)),O=require(_0x56af3f(0x3be)),T=require('@univerjs/design'),M=require('react'),Ke=require('@univerjs/rpc');var ze=Object['getOwnPropertyDescriptor'],Je=(_0x21f210,_0x5ea52f,_0x3b1fcc,_0x2e0061)=>{for(var _0x17acdb=_0x2e0061>0x1?void 0x0:_0x2e0061?ze(_0x5ea52f,_0x3b1fcc):_0x5ea52f,_0x2254b1=_0x21f210['length']-0x1,_0x3e56e2;_0x2254b1>=0x0;_0x2254b1--)(_0x3e56e2=_0x21f210[_0x2254b1])&&(_0x17acdb=_0x3e56e2(_0x17acdb)||_0x17acdb);return _0x17acdb;},Oe=(_0x26031d,_0x142be7)=>(_0x3dc7aa,_0x261f29)=>_0x142be7(_0x3dc7aa,_0x261f29,_0x26031d);let fe=class extends a[_0x56af3f(0x2b9)]{constructor(_0x2fa7c3,_0x1af97b){const _0x25c4ff=_0x56af3f;super(),this[_0x25c4ff(0x36e)]=_0x2fa7c3,this[_0x25c4ff(0x311)]=_0x1af97b,this[_0x25c4ff(0x39b)]();}[_0x56af3f(0x39b)](){const _0x1fe099=_0x56af3f,_0x2c462f=this;this[_0x1fe099(0x2a6)](this[_0x1fe099(0x36e)][_0x1fe099(0x172)]({'onBeforePasteImage':async _0x5c78ea=>{const _0x3d7a0f=_0x1fe099,_0x553daf=await _0x2c462f[_0x3d7a0f(0x311)][_0x3d7a0f(0x1ca)](_0x5c78ea);return _0x553daf?{'source':_0x553daf[_0x3d7a0f(0x34a)],'imageSourceType':_0x553daf[_0x3d7a0f(0x279)]}:null;}}));}};fe=Je([Oe(0x0,b['IDocClipboardService']),Oe(0x1,qe[_0x56af3f(0x243)])],fe);const Re=['purple300',_0x56af3f(0x294),'verdancy600','red300',_0x56af3f(0x2ea),_0x56af3f(0x2f7)];class Ce extends a['Disposable']{constructor(){const _0x5b8f7d=_0x56af3f;super(...arguments),_(this,_0x5b8f7d(0x1fd),new Map()),_(this,_0x5b8f7d(0x35a),0x0);}[_0x56af3f(0x212)](_0xb8f890){const _0x4492a3=_0x56af3f;if(this['_assignedColors'][_0x4492a3(0x140)](_0xb8f890))return this['_assignedColors'][_0x4492a3(0x302)](_0xb8f890);const _0x11f13b=Re[this[_0x4492a3(0x35a)]];return this[_0x4492a3(0x35a)]=(this[_0x4492a3(0x35a)]+0x1)%Re[_0x4492a3(0x36a)],this[_0x4492a3(0x1fd)][_0x4492a3(0x3b5)](_0xb8f890,_0x11f13b),_0x11f13b;}}function we(_0x3f101e){let _0x2039b2='';for(const _0x91a3b1 of _0x3f101e){const {startOffset:_0x5367ef,endOffset:_0x15d93c,isActive:_0x48e658,rangeType:_0x4e6447,segmentId:_0x2ab581,segmentPage:_0xb896f8}=_0x91a3b1;_0x2039b2['length']&&(_0x2039b2+=','),_0x2039b2+=_0x5367ef+':'+_0x15d93c+':'+(_0x48e658?'1':'0')+':'+_0x4e6447+':'+_0x2ab581+':'+_0xb896f8;}return _0x2039b2;}function Ze(_0x19331c){const _0x3392f4=_0x56af3f,_0x3086e5=_0x19331c[_0x3392f4(0x14e)](','),_0x2fae80=[];for(const _0x2ec1af of _0x3086e5){const [_0x328612,_0x3f21ea,_0x1fc4ea,_0x5bab92,_0x4958cd,_0xe1612f]=_0x2ec1af['split'](':');_0x2fae80['push']({'startOffset':Number(_0x328612),'endOffset':Number(_0x3f21ea),'collapsed':_0x328612===_0x3f21ea,'isActive':_0x1fc4ea==='1','rangeType':_0x5bab92===a[_0x3392f4(0x1b9)][_0x3392f4(0x3ae)]?a['DOC_RANGE_TYPE'][_0x3392f4(0x3ae)]:a[_0x3392f4(0x1b9)][_0x3392f4(0x255)],'segmentId':typeof _0x4958cd=='string'?String(_0x4958cd):'','segmentPage':Number(_0xe1612f!=null?_0xe1612f:-0x1)});}return _0x2fae80[_0x3392f4(0x17b)](_0x334276=>_0x334276[_0x3392f4(0x325)])||(_0x2fae80[0x0][_0x3392f4(0x325)]=!0x0),_0x2fae80;}class pe extends a['RxDisposable']{constructor(){const _0x5718bc=_0x56af3f;super(...arguments),_(this,_0x5718bc(0x342),new d[(_0x5718bc(0x3c9))](null)),_(this,_0x5718bc(0x25f),this[_0x5718bc(0x342)][_0x5718bc(0x2fb)]());}[_0x56af3f(0x181)](_0x33c166){const _0x170948=_0x56af3f,{unitID:_0x4a87d9,memberID:_0xecd9e3,textRanges:_0x4b2670}=_0x33c166,_0x2c1169=we(_0x4b2670);if(_0x2c1169==='')return;const _0x3626d8={'unitID':_0x4a87d9,'memberID':_0xecd9e3,'selection':_0x2c1169};this[_0x170948(0x342)][_0x170948(0x30b)](_0x3626d8);}}var Qe=Object['getOwnPropertyDescriptor'],et=(_0x189a80,_0x2af041,_0x2c23a6,_0x424b91)=>{const _0x3c4a04=_0x56af3f;for(var _0x389c51=_0x424b91>0x1?void 0x0:_0x424b91?Qe(_0x2af041,_0x2c23a6):_0x2af041,_0x58616d=_0x189a80[_0x3c4a04(0x36a)]-0x1,_0x16c168;_0x58616d>=0x0;_0x58616d--)(_0x16c168=_0x189a80[_0x58616d])&&(_0x389c51=_0x16c168(_0x389c51)||_0x389c51);return _0x389c51;},L=(_0x335da1,_0x509572)=>(_0x2cde2a,_0x207c38)=>_0x509572(_0x2cde2a,_0x207c38,_0x335da1);const tt=0x12c,st=0x64;let Se=class extends a[_0x56af3f(0x2b9)]{constructor(_0x124d15,_0x4f7329,_0x46ab2a,_0x21945a,_0x54b840,_0x502b45,_0x72f70f,_0x43cf9f,_0x54343d){const _0x2755f4=_0x56af3f;super(),_(this,_0x2755f4(0x34b),!0x1),_(this,_0x2755f4(0x39b),!0x1),_(this,'_cursorInfo$',new d['BehaviorSubject'](new Map())),_(this,_0x2755f4(0x2cc),this[_0x2755f4(0x1ea)][_0x2755f4(0x2fb)]()),_(this,'_roomMembers$',new d[(_0x2755f4(0x3c9))]([])),_(this,_0x2755f4(0x2d5),this[_0x2755f4(0x339)][_0x2755f4(0x215)](d[_0x2755f4(0x367)](tt))),_(this,_0x2755f4(0x369),a[_0x2755f4(0x1ac)](_0x4610d6=>{const _0x307e1e=_0x2755f4,_0x3666db={'eventID':m[_0x307e1e(0x2a1)][_0x307e1e(0x1a3)],'data':{'unitID':this[_0x307e1e(0x1cb)],'memberID':this[_0x307e1e(0x1b4)][_0x307e1e(0x1f5)](),'selection':we(_0x4610d6)}};this[_0x307e1e(0x1b4)]['send'](_0x3666db,this[_0x307e1e(0x1cb)]);},st)),(this[_0x2755f4(0x1cb)]=_0x124d15,this['_session']=_0x4f7329,this['_injector']=_0x46ab2a,this[_0x2755f4(0x24c)]=_0x21945a,this[_0x2755f4(0x203)]=_0x54b840,this[_0x2755f4(0x352)]=_0x502b45,this[_0x2755f4(0x1dd)]=_0x72f70f,this[_0x2755f4(0x214)]=_0x43cf9f,this[_0x2755f4(0x198)]=_0x54343d);}get[_0x56af3f(0x274)](){const _0x30a480=_0x56af3f;return this['_cursorInfo$'][_0x30a480(0x2e7)]();}get[_0x56af3f(0x228)](){const _0x35f303=_0x56af3f;return this['_roomMembers$'][_0x35f303(0x2e7)]();}[_0x56af3f(0x3bd)](){const _0x209646=_0x56af3f;super[_0x209646(0x3bd)](),this[_0x209646(0x1ea)][_0x209646(0x30b)](new Map()),this['_cursorInfo$']['complete'](),this[_0x209646(0x339)][_0x209646(0x30b)]([]),this[_0x209646(0x339)][_0x209646(0x270)]();}[_0x56af3f(0x362)](){const _0x16651f=_0x56af3f;this[_0x16651f(0x39b)]||(this['_init']=!0x0,this[_0x16651f(0x1b4)][_0x16651f(0x37c)][_0x16651f(0x215)](d[_0x16651f(0x273)](this[_0x16651f(0x170)]))[_0x16651f(0x17d)](_0x7a2279=>{const _0x428379=_0x16651f;_0x7a2279===u['SessionStatus'][_0x428379(0x24b)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x16651f(0x1b4)][_0x16651f(0x360)][_0x16651f(0x215)](d[_0x16651f(0x273)](this[_0x16651f(0x170)]))[_0x16651f(0x17d)](_0x313f40=>{const _0x5c5947=_0x16651f,_0x1740fe=_0x313f40[_0x5c5947(0x380)];_0x1740fe===m[_0x5c5947(0x2a1)][_0x5c5947(0x1a3)]&&this[_0x5c5947(0x2ef)](_0x313f40),_0x1740fe===m['CollaborationEvent']['USERS_LEAVE']&&this[_0x5c5947(0x39c)](_0x313f40);}),this[_0x16651f(0x2a6)](this[_0x16651f(0x198)][_0x16651f(0x31c)](_0x4d32d2=>{const _0x27bf72=_0x16651f,_0x4092ed=_0x4d32d2[_0x27bf72(0x1f8)];_0x4092ed!=null&&this[_0x27bf72(0x34b)]&&_0x4d32d2['id']===Y['SetTextSelectionsOperation']['id']&&_0x4092ed[_0x27bf72(0x24a)]===this[_0x27bf72(0x1cb)]&&_0x4092ed[_0x27bf72(0x2af)]===!0x1&&_0x4092ed[_0x27bf72(0x202)]['length']>0x0&&this[_0x27bf72(0x369)](_0x4092ed[_0x27bf72(0x202)]);})),this[_0x16651f(0x352)][_0x16651f(0x25f)]['pipe'](d['takeUntil'](this[_0x16651f(0x170)]))['subscribe'](_0x143bad=>{const _0x4241e0=_0x16651f;if((_0x143bad==null?void 0x0:_0x143bad['unitID'])!==this[_0x4241e0(0x1cb)])return;const _0x3fe262={'eventID':m[_0x4241e0(0x2a1)][_0x4241e0(0x1a3)],'data':_0x143bad};this[_0x4241e0(0x2ef)](_0x3fe262);}),this[_0x16651f(0x2a6)](this['_commandService'][_0x16651f(0x31c)](_0x423844=>{const _0x35058a=_0x16651f;if(_0x423844[_0x35058a(0x1f8)]==null)return;const _0x35f137=_0x423844[_0x35058a(0x1f8)];if(_0x423844['id']!==Y[_0x35058a(0x1ba)]['id']||_0x35f137[_0x35058a(0x24a)]!==this[_0x35058a(0x1cb)])return;const _0x5c125a={'id':'doc.mutation.rich-text-editing','params':_0x35f137},_0x396e35=this[_0x35058a(0x274)];for(const [_0x429b54,_0x2c5964]of _0x396e35){const _0x4a0267={'id':_0x35058a(0x14a),'params':{'unitId':this[_0x35058a(0x1cb)],'actions':null,'textRanges':_0x2c5964[_0x35058a(0x202)]}},_0x475d9e=this['_transformService']['transformMutation'](_0x5c125a,_0x4a0267,!0x1);if(m[_0x35058a(0x2e1)](_0x475d9e))throw _0x475d9e[_0x35058a(0x252)];_0x396e35[_0x35058a(0x3b5)](_0x429b54,{..._0x2c5964,'ranges':_0x475d9e[_0x35058a(0x193)][_0x35058a(0x1f8)][_0x35058a(0x1b7)]});}queueMicrotask(()=>{const _0xc02ff9=_0x35058a;this[_0xc02ff9(0x1ea)][_0xc02ff9(0x30b)](_0x396e35);});})));}['_onCursorUpdate'](_0xa5d880){const _0x3338c5=_0x56af3f;var _0x5d48f5,_0x7a2e0;const {memberID:_0x5d39de,selection:_0x5d0bae}=_0xa5d880[_0x3338c5(0x180)],_0x113ed9=Ze(_0x5d0bae),_0x554277=(_0x7a2e0=(_0x5d48f5=this[_0x3338c5(0x203)][_0x3338c5(0x2b3)](this[_0x3338c5(0x1cb)],_0x5d39de))==null?void 0x0:_0x5d48f5[_0x3338c5(0x39a)])!=null?_0x7a2e0:'Unknown\x20user',_0x51991e={'color':this[_0x3338c5(0x24c)][_0x3338c5(0x212)](_0x5d39de),'name':_0x554277,'ranges':_0x113ed9},_0x19d603=this['cursorInfo'];_0x19d603[_0x3338c5(0x3b5)](_0x5d39de,_0x51991e),this[_0x3338c5(0x1ea)][_0x3338c5(0x30b)](_0x19d603);}[_0x56af3f(0x39c)](_0x2838c3){const _0x4942be=_0x56af3f,{memberID:_0x461e7b}=_0x2838c3[_0x4942be(0x180)],_0x5e3584=this[_0x4942be(0x274)];_0x5e3584['delete'](_0x461e7b),this[_0x4942be(0x1ea)][_0x4942be(0x30b)](_0x5e3584);}[_0x56af3f(0x2f5)](){const _0x209823=_0x56af3f;var _0x4f3e88;if(this['_online']=!0x0,((_0x4f3e88=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x4f3e88['getUnitId']())!==this[_0x209823(0x1cb)])return;const _0x2b75d4=this[_0x209823(0x3b1)][_0x209823(0x302)](Y[_0x209823(0x22b)])[_0x209823(0x2dd)]();Array[_0x209823(0x22f)](_0x2b75d4)&&_0x2b75d4[_0x209823(0x36a)]>0x0&&this[_0x209823(0x369)](_0x2b75d4);}[_0x56af3f(0x239)](){const _0x37e234=_0x56af3f;this[_0x37e234(0x34b)]=!0x1;}};Se=et([L(0x2,a[_0x56af3f(0x253)](a[_0x56af3f(0x3b6)])),L(0x3,a['Inject'](Ce)),L(0x4,a[_0x56af3f(0x253)](u[_0x56af3f(0x227)])),L(0x5,a[_0x56af3f(0x253)](pe)),L(0x6,m[_0x56af3f(0x275)]),L(0x7,a[_0x56af3f(0x3bb)]),L(0x8,a[_0x56af3f(0x1f7)])],Se);function _0xcc01(){const _0x12f888=['FETCH_MISS','merge','InsertRangeMoveDownCommandId','_hideTimer','OnLineSingle','fillStyle','executeCommand','_collabCursorState$','disposeUnit','TRANSFORM_CHANGE_OBSERVABLE_TYPE','5713736TjUEWD','type','round','xlink:href','_handleJoinEvent','source','_online','rxjs/operators','getSheetObject','1em','values','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','transformByState','_syncEditingCollabCursorService','toDisposable','IMessageService','_saveTaskMap','_eventUnsubscribe','clsx','getVpScrollXYInfoByPosToVp','_initResize','_colorIndex','SNAPSHOT_INVALID_SNAPSHOT','includes','runRefRangeMutations','_transformUndoRedoStack','onlineStatusTitle','event$','onPointerLeave$','init','evenodd','children','YUUMI_SUBSCRIPTION_NOT_FOUND','push','debounceTime','SetWorksheetActivateCommand','_updateLocalCursor','length','transformIMECache','_uiPartsService','registerComponent','_docClipboardService','indexOf','@univerjs/network','RemoveRowCommandId','hasOwnProperty','DataLoaderService','sheetId','_ensureSubject','transformMutationsWithChangeset','function','transformSelections','hovered','setStateCache','random','sessionStatus$','removeParam','OFFLINE','_httpService','eventID','max','startColumn','getActiveSheet','CollaborationStatus','Vector2','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','searchParams','currentColor','_docTransformStateCacheService','editingUnit','_collaborationUIEventService','_getAnchorBounding','range','startRow','connectInjector','_messageService','transformRemoteChangeset','handleDeleteRangeMoveLeft','executionId','#fff','path','_scheduleHeartbeat','measureText','M0\x200H16V16H0z','188335WBJrNP','name','_init','_onCursorDelete','Workbook','getCurrent','getRenderById','m1Prime','@univerjs-pro/collaboration-client','IRenderManagerService','handleMoveRange','_render','getCoordByCell','SUBMIT_CHANGESET_TIMEOUT','_notificationService','OffLineSingle','getSkeleton','onStarting','_name','getLocalCacheKey','LOCAL_CACHE_INTERVAL','TEXT','width','EMAIL_HAS_BEEN_BOUND','_injector','SessionStatus','USER_NOT_INVITED_CODE','getUndoRedoMutationParamsCache','set','Injector','NOT_COLLAB','DeleteRangeMoveUpCommandId','ColorKit','_collabCursorController','IUniverInstanceService','_docSyncEditingCollabCursorService','dispose','@univerjs/ui','_logService','_anchor','NO_OTHER_CLIENTS_EDITING','react/jsx-runtime','_initStatusComponent','_getScale','UNRECOGNIZED','location','@univerjs/sheets-ui','session.collaboration-timeout','BehaviorSubject','backgroundColor','getCollabCursors$','LICENSE_EXPORT_SIZE_EXCEEDED','_heartbeatTimer','_scene','has','ILocalCacheService','translate(.97)','EffectRefRangId','...','offline','_status$','10607240qGZaGf','_updateCollabCursors','sessionTicket','doc.mutation.rich-text-editing','fromEvent','unload','useObservable','split','registerBeforeClose','UnitStatus','_drawTextRange','1730810vJvOoM','fill','skeleton','use','fillRule','_getSessionTicket','Error','actions','LICENSE_MAX_UNITS_EXCEEDED','unit','_disabled','transformStateCache','currentTheme$','UNDEFINED','arc','getItem','getOwnPropertyDescriptor','addEventListener','PY_RUNTIME_SCRIPT_ERROR','handleIRemoveRow','with','invokeId','getCellPositionByOffset','on-line-single_clip0_910_349','LOCAL_CACHE_INTERVAL_KEY','_backgroundColor','collabStatus.notCollab','univer-online-status-title','throttleTime','toString','dispose$','setConfig','addClipboardHook','size','NodePositionConvertToCursor','_transformHistoryAndStateStack','activeSheet$','_localeService','_cachedData','@univerjs-pro/collaboration','PENDING','some','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','subscribe','restore','addObject','data','syncEditingCollabCursor','WebBrowserSingleActiveUnitService','APPLY_DUPLICATED','storage','YUUMI_RATE_OVER_LIMIT','SetDocZoomRatioOperation','_anchorDot','UNIVER_DOC','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initDependencies','updateOfflineData','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_collaborationController','@univerjs/docs','CommandType','replace','map','ticket','m2Prime','WECHAT_HAS_BEEN_BOUND','Module','INotificationService','_hovered','_commandService','CLOSE_ROOM','clipPath','_hover','_removeClearOtherTimer','href','post','[RemoteUniscriptService]:\x20no\x20focused\x20unit','attrs','black','then','UPDATE_CURSOR','_getMergeRange','icon','univerjs-icon\x20univerjs-icon-','_entities','_unitOnClients','univer-online-status-icon','collaboration.single-unit.warning','handleDeleteRangeMoveUp','debounce','456711jUdDSe','TOO_MANY_REQUESTS','_transformPreviousActiveRange','JOIN_ROOM_FAILED','LocaleService','APPLY_REVISION_CONFILICT','setAlpha','_session','history','AWAITING_WITH_PENDING','textRanges','debug','DOC_RANGE_TYPE','RichTextEditingMutation','generateRandomId','off-line-single_clip0_910_343','add','urlChange$','fillText','engine','_startSheetCollabCursor','mapTo','current','_docSkeleton','LICENSE_IMPORT_SIZE_EXCEEDED','_saveCache','_cursorShapes','hide','exhaustSavingTask','saveImage','unitID','_scheduleSaving','_docStateChangeManagerService','3304428plIyIr','useRef','DEFAULT_WS_SESSION_TICKET_URL','forwardRef','memberID','DocCollaborationEntity','IUIPartsService','handleInsertCol','_handleHeartbeatEvent','DependentOn','AWAITING','entries','@univerjs/sheets','getOwnPropertySymbols','url(#$1','_transformService','parse','_registerDependencies','saveOfflineData','className','SOCKET_FAILED_RETRY','createInstance','_drawRectRange','replaceDocRanges','MessageType','_handleEvent','ENSURE_SNAPSHOT_EXECUTION','transformMutation','_cursorInfo$','getUniverSheetInstance','_entityInit$','search','saveTaskMap','_themeService','_updateURLWithCurrentState','getMergeData','setInterval','newValue','permission.content','getMemberID','DeleteRangeMoveLeftCommandId','ICommandService','params','svg','LICENSE_DISTRO_REJECTED','_refreshCollabCursors','assign','_assignedColors','getCurrentSelections','_shapes','online','@univerjs/drawing','ranges','_memberService','SheetsSelectionsService','startsWith','status$','DocStateChangeManagerService','switchMap','LOGIN_FAILED','_configService','CONFLICT','font','IBeforeCloseService','DesktopCollaborationStatusDisplayController','collab-rect-range-','drawWith','_docTransformIMECacheService','assignAColorForMemberID','CollaborationUIEventService','_univerInstanceService','pipe','_renderManagerService','CollaborationUIEventId','onlineStatusIcon','INVALID_ARGUMENT','getViewport','mutations','isTransformMutationsWithChangesetSuccess','useCallback','_startDocCollabCursor','Subject','Rectangle','findNodePositionByCharIndex','div','getCurrentUnitForType','replaceState','serializeRangeWithSheet','runOnServer','MemberService','roomMembers','labelPosition','getSheetId','DocSelectionManagerService','getParam','none','RemoveColCommandId','isArray','BuiltInUIPart','CollaborationSessionService','_range','IURLService','selection','WebSocketService','collab-text-range-','wsSessionTicketUrl','ACTIVE_UNIT_EVENT_CHANNEL','_toggleOffline','SNAPSHOT_HAS_BEEN_REMOVED','RegularPolygon','_removeCollabCursors','handleInsertRangeMoveRight','setTimeout','requireSession','getStateCache','call','code','IImageIoService','collaboration-client-ui.config','_getSaveTimeout','UniverInstanceType','selections','getAncestorScale','VIEW_MAIN','unitId','ONLINE','_colorAssignService','registerDependencies','defs','show','Shape','stringify','error','Inject','INVITE_CODE_HAS_BEEN_UES','RECT','Rect','_scheduleClearOtherTimer','COLORS','_lastPointer','Plugin','setUndoRedoMutationParamsCache','0\x200\x2017\x2016','0\x200\x2016\x2016','triggerDblclick','collabCursorState$','flatMap','column','uni.network.url-service','collab-client.tooltip.reconnect','subunit','[CollaborationDataLoaderController]','send','_clearOtherTimers','handleInsertRow','_localCacheService','getColor','jsx','enableLocalCache','session.connection-failed','trim','RevisionService','complete','_unitStatus','unsubscribe','takeUntil','cursorInfo','ITransformService','registerRefRange','loadUnit','subscribeEvent','imageSourceType','combineLatest','Disposable','closePath','onLocalMutation','INVALID_INVITE_CODE','INVITE_CODE_ALREADY_BOUND','subUnitId','runId','_initCommandExecutedListener','UniverCollaborationClientPlugin','addHandlerCallback','DocIMEInputManagerService','color','_setupBeforeClosingHandler','CHANGESET_REVISION_CONFILICT','_doCreateSocket','onPointerMove$','MoveRangeCommandId','createSocket','SheetCollabCursorShape','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ILocalStorageService','mask','top','prototype','_send','jiqing500','1664630zPPmks','collabStatus.syncing','_selfUnitIDs','clearTimeout','colorChannel1','handleInsertRangeMoveDown','NodePositionConvertToRectRange','apply','APPLY_REJECT','clearInterval','useDependency','_cursor','CollaborationEvent','_urlService','moveTo','getUnhiddenWorksheets','body','disposeWithMe','getRelativeToViewportCoord','session.will-retry','_id','getFocusedUnit','_initStatusListener','resize','onMouseMove','_revisionService','isEditing','_draw','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','loadOfflineData','getMember','_localStorageService','_collabSessionService','YUUMI_URL_COL_OUT_OF_RANGE','undoState','row','RxDisposable','ThemeService','InsertRangeMoveRightCommandId','ISnapshotServerService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','pushState','_setupSubUnitSync','defIds','CollaborationStatusDisplay','_context','filter','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','text','unshift','IConfigService','on-line-single','BrowserCollaborationSocketService','propertyIsEnumerable','getTypeOfUnitDisposed$','cursorInfo$','_handleLeaveEvent','HTTPService','_refRangeService','CollaborationSocketService','COMPLETION_FINISHED','UNAUTHENTICATED','focused$','contains','roomMembers$','_initEvent','Tools','delete','_registerRenderDependencies','Warning','_sheetSkeletonManagerService','lineTo','getDocRanges','INTERNAL_ERROR','deepClone','univer-flex\x20univer-items-center','isTransformMutationFailure','8tbWydz','getSheetBySheetId','setShapeProps','_handleHover','setItem','getValue','setParam','TEXT_RANGE_LAYER_INDEX','blue400','forEach','defineProperty','Unknown\x20user','key','_onCursorUpdate','_updateSubUnitFromURLParams','concat','ILogService','IRemoteInstanceService','_initEntityListener','_toggleOnline','HEADER_MENU','gold400','createIdentifier','CollaborationController','getConfig','asObservable','collab-text-anchor-','getUnitId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_createSocketURL','getUnitStatus$','shareReplay','get','WebURLService','INVITE_CODE_REQUIRED','addObjects','redoState','UniverIcon','SheetSkeletonManagerService','bottom','CollaborationDataLoaderController','next','Failed','touchDependencies','_textBubble','_docTransformSelectionsService','NOT_FOUND','_imageIoService','displayName','transform','application/json','CONNECTOR_DATA_TOO_LARGE','_instanceService','onPointerEnter$','_onRefRangeChange','collaboration.closeRoom','extend','onTransformChange$','onCommandExecuted','currentSkeleton$','beginPath','idSuffix','tag','_labelPosition','string','from','toRgbString','isActive','handleIRemoveCol','_color','PERMISSION_DENIED','_cursors','collabStatus.fetchMiss','UNIVER_SHEET','YUUMI_NO_CUBOID_FOR_QUESTION','save','docStateChange$','MOBILE_HAS_BEEN_BOUND','_dataLoaderService','APPLY_NON_SEQUENTIAL_REVISION','getTypeOfUnitAdded$','entityInit$','SetSelectionsOperation','getRangePointData','RemoteUniscriptService','ALREADY_EXISTS','_beforeCloseService','_roomMembers$','createElement'];_0xcc01=function(){return _0x12f888;};return _0xcc01();}var nt=Object[_0x56af3f(0x162)],it=(_0x2bf849,_0x24ea6,_0x453aaf,_0x1472fd)=>{const _0x27d030=_0x56af3f;for(var _0x5ed4a4=_0x1472fd>0x1?void 0x0:_0x1472fd?nt(_0x24ea6,_0x453aaf):_0x24ea6,_0x45a764=_0x2bf849[_0x27d030(0x36a)]-0x1,_0x46d258;_0x45a764>=0x0;_0x45a764--)(_0x46d258=_0x2bf849[_0x45a764])&&(_0x5ed4a4=_0x46d258(_0x5ed4a4)||_0x5ed4a4);return _0x5ed4a4;},A=(_0xdccbf1,_0x3d662e)=>(_0x25599e,_0x29f3d3)=>_0x3d662e(_0x25599e,_0x29f3d3,_0xdccbf1);const rt=0x12c,ot=0x64,at=()=>{let _0x457e18=[],_0x34a90b=!0x1;return _0xb96c4b=>{const _0x15d338=_0x408b;_0x457e18[_0x15d338(0x366)](_0xb96c4b),_0x34a90b||(_0x34a90b=!0x0,setTimeout(()=>{const _0x383e63=_0x15d338;_0x457e18[_0x383e63(0x2eb)](_0x2a0c58=>_0x2a0c58()),_0x457e18=[],_0x34a90b=!0x1;}));};};let Ie=class extends a[_0x56af3f(0x2b9)]{constructor(_0x5b32db,_0x240964,_0x54016a,_0x30a1b1,_0x4286de,_0x4633ec,_0x4484b0,_0x1424d4){const _0x470290=_0x56af3f;super(),_(this,_0x470290(0x34b),!0x1),_(this,_0x470290(0x39b),!0x1),_(this,_0x470290(0x1ea),new d['BehaviorSubject'](new Map())),_(this,_0x470290(0x2cc),this[_0x470290(0x1ea)][_0x470290(0x2fb)]()),_(this,_0x470290(0x339),new d[(_0x470290(0x3c9))]([])),_(this,_0x470290(0x2d5),this[_0x470290(0x339)][_0x470290(0x215)](d[_0x470290(0x367)](rt))),_(this,_0x470290(0x369),a[_0x470290(0x1ac)]((_0x41c25e,_0x2938)=>{const _0x3e6441=_0x470290,_0x38db15={'eventID':m[_0x3e6441(0x2a1)][_0x3e6441(0x1a3)],'data':{'unitID':this['unitID'],'memberID':this[_0x3e6441(0x1b4)][_0x3e6441(0x1f5)](),'selection':Te[_0x3e6441(0x225)](_0x41c25e,_0x2938[_0x3e6441(0x38d)])}};this[_0x3e6441(0x1b4)][_0x3e6441(0x266)](_0x38db15,this[_0x3e6441(0x1cb)]);},ot)),(this[_0x470290(0x1cb)]=_0x5b32db,this[_0x470290(0x1b4)]=_0x240964,this['_injector']=_0x54016a,this[_0x470290(0x24c)]=_0x30a1b1,this['_memberService']=_0x4286de,this['_univerInstanceService']=_0x4633ec,this[_0x470290(0x198)]=_0x4484b0,this[_0x470290(0x2cf)]=_0x1424d4);}get['cursorInfo'](){const _0x20d4d3=_0x56af3f;return this[_0x20d4d3(0x1ea)]['getValue']();}get[_0x56af3f(0x228)](){const _0x1f4f7e=_0x56af3f;return this['_roomMembers$'][_0x1f4f7e(0x2e7)]();}[_0x56af3f(0x3bd)](){const _0x2cff89=_0x56af3f;super[_0x2cff89(0x3bd)](),this[_0x2cff89(0x1ea)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x2cff89(0x339)][_0x2cff89(0x30b)]([]),this[_0x2cff89(0x339)][_0x2cff89(0x270)]();}[_0x56af3f(0x362)](){const _0x440249=_0x56af3f;this[_0x440249(0x39b)]||(this[_0x440249(0x39b)]=!0x0,this[_0x440249(0x1b4)][_0x440249(0x37c)]['pipe'](d[_0x440249(0x273)](this[_0x440249(0x170)]))['subscribe'](_0x528db6=>{const _0x1cb61b=_0x440249;_0x528db6===u[_0x1cb61b(0x3b2)][_0x1cb61b(0x24b)]?this[_0x1cb61b(0x2f5)]():this[_0x1cb61b(0x239)]();}),this['_session'][_0x440249(0x360)][_0x440249(0x215)](d[_0x440249(0x273)](this[_0x440249(0x170)]))[_0x440249(0x17d)](_0x354dd6=>{const _0x466d7f=_0x440249,_0x83f697=_0x354dd6[_0x466d7f(0x380)];_0x83f697===m['CollaborationEvent'][_0x466d7f(0x1a3)]&&this['_onCursorUpdate'](_0x354dd6),_0x83f697===m[_0x466d7f(0x2a1)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x354dd6);}),this['_onRefRangeChange'](),this[_0x440249(0x2a6)](this[_0x440249(0x198)][_0x440249(0x31c)](_0x5dd05c=>{const _0x559113=_0x440249;if(this[_0x559113(0x34b)]&&_0x5dd05c['id']===g[_0x559113(0x334)]['id']&&_0x5dd05c['params'][_0x559113(0x24a)]===this[_0x559113(0x1cb)]){const _0x51b593=_0x5dd05c[_0x559113(0x1f8)];this[_0x559113(0x369)](_0x51b593[_0x559113(0x280)],_0x51b593[_0x559113(0x247)][0x0]);}})));}[_0x56af3f(0x2ef)](_0x3c54de){const _0x28ec2d=_0x56af3f;var _0x1bab36,_0x22991c;const {memberID:_0x295cf8,selection:_0x569103}=_0x3c54de[_0x28ec2d(0x180)],{sheetName:_0x2d2752,range:_0x52e115}=Te['deserializeRangeWithSheet'](_0x569103),_0x5148c6={'name':(_0x22991c=(_0x1bab36=this['_memberService']['getMember'](this['unitID'],_0x295cf8))==null?void 0x0:_0x1bab36[_0x28ec2d(0x39a)])!=null?_0x22991c:_0x28ec2d(0x2ed),'range':this[_0x28ec2d(0x1a4)](_0x2d2752,_0x52e115),'sheetID':_0x2d2752,'color':this[_0x28ec2d(0x24c)][_0x28ec2d(0x212)](_0x295cf8),'selection':_0x569103},_0x2f28cc=this[_0x28ec2d(0x274)];_0x2f28cc['set'](_0x295cf8,_0x5148c6),this[_0x28ec2d(0x1ea)]['next'](_0x2f28cc);}['_onCursorDelete'](_0x468ac8){const _0x2e2507=_0x56af3f,{memberID:_0x221fff}=_0x468ac8['data'],_0x5aa2ce=this[_0x2e2507(0x274)];_0x5aa2ce[_0x2e2507(0x2d8)](_0x221fff),this[_0x2e2507(0x1ea)]['next'](_0x5aa2ce);}['_getMergeRange'](_0x10f135,_0x2d9caa){const _0x3f912b=_0x56af3f;var _0x1b093b,_0x9b43e3;const _0x3f9294=(_0x9b43e3=(_0x1b093b=this[_0x3f912b(0x214)][_0x3f912b(0x1eb)](this['unitID']))==null?void 0x0:_0x1b093b['getSheetBySheetId'](_0x10f135))==null?void 0x0:_0x9b43e3[_0x3f912b(0x1f1)]();return(_0x3f9294==null?void 0x0:_0x3f9294['find'](_0x5ba997=>a[_0x3f912b(0x220)][_0x3f912b(0x2d4)](_0x5ba997,_0x2d9caa)))||_0x2d9caa;}[_0x56af3f(0x318)](){const _0x33012f=_0x56af3f,_0x4423a5=new a['DisposableCollection'](),_0x3876fc=at(),_0xf262e6=()=>{const _0x4d4ac6=_0x408b;_0x4423a5[_0x4d4ac6(0x3bd)]();const _0x3f01a7=(_0x1547a5,_0x54485a,_0x534cc1,_0x27f675)=>{const _0x234770=_0x4d4ac6;let _0x16c35f=[];switch(_0x1547a5['id']){case g['EffectRefRangId'][_0x234770(0x1f6)]:{_0x16c35f=g[_0x234770(0x392)](_0x1547a5,_0x27f675);break;}case g['EffectRefRangId'][_0x234770(0x3b8)]:{_0x16c35f=g[_0x234770(0x1ab)](_0x1547a5,_0x27f675);break;}case g[_0x234770(0x143)]['InsertColCommandId']:{_0x16c35f=g[_0x234770(0x1d5)](_0x1547a5,_0x27f675);break;}case g['EffectRefRangId'][_0x234770(0x33d)]:{_0x16c35f=g[_0x234770(0x29a)](_0x1547a5,_0x27f675);break;}case g[_0x234770(0x143)][_0x234770(0x2bb)]:{_0x16c35f=g[_0x234770(0x23d)](_0x1547a5,_0x27f675);break;}case g['EffectRefRangId']['InsertRowCommandId']:{_0x16c35f=g[_0x234770(0x268)](_0x1547a5,_0x27f675);break;}case g[_0x234770(0x143)][_0x234770(0x28b)]:{_0x16c35f=g[_0x234770(0x3a3)](_0x1547a5,_0x27f675);break;}case g[_0x234770(0x143)][_0x234770(0x22e)]:{_0x16c35f=g[_0x234770(0x326)](_0x1547a5,_0x27f675);break;}case g['EffectRefRangId'][_0x234770(0x371)]:{_0x16c35f=g[_0x234770(0x165)](_0x1547a5,_0x27f675);break;}}const _0xda37ac=g[_0x234770(0x35d)](_0x16c35f,_0x27f675),_0x265369=this['cursorInfo'][_0x234770(0x302)](_0x54485a);if(_0x265369&&_0xda37ac){const _0x1d3cec={..._0x265369,'range':_0xda37ac};this[_0x234770(0x274)]['set'](_0x54485a,_0x1d3cec),_0x3876fc(()=>{const _0x1169bf=_0x234770,_0x36bcbe=this[_0x1169bf(0x2cf)][_0x1169bf(0x276)](_0xda37ac,_0x162bf6=>(_0x36bcbe['dispose'](),_0x3f01a7(_0x162bf6,_0x54485a,_0x534cc1,_0xda37ac)));_0x4423a5[_0x1169bf(0x1bd)](_0x36bcbe);});}return{'redos':[],'undos':[]};};this[_0x4d4ac6(0x274)][_0x4d4ac6(0x2eb)]((_0x4cef7a,_0x12cc5f)=>{const _0x479a34=_0x4d4ac6,{range:_0x10a59e,sheetID:_0x5282a5}=_0x4cef7a,_0x218212=this[_0x479a34(0x2cf)][_0x479a34(0x276)](_0x10a59e,_0x3b063a=>(_0x218212[_0x479a34(0x3bd)](),_0x3f01a7(_0x3b063a,_0x12cc5f,_0x5282a5,_0x10a59e)));_0x4423a5['add'](_0x218212);});};this[_0x33012f(0x2a6)](a[_0x33012f(0x353)](this[_0x33012f(0x1ea)][_0x33012f(0x17d)](()=>{_0xf262e6();})));}[_0x56af3f(0x2f5)](){const _0xddd1f6=_0x56af3f;var _0x45fc46,_0xbd480e;if(this[_0xddd1f6(0x34b)]=!0x0,((_0x45fc46=this[_0xddd1f6(0x214)][_0xddd1f6(0x2aa)]())==null?void 0x0:_0x45fc46[_0xddd1f6(0x2fd)]())!==this['unitID'])return;const _0x446852=(_0xbd480e=this[_0xddd1f6(0x3b1)][_0xddd1f6(0x302)](g[_0xddd1f6(0x204)])[_0xddd1f6(0x1fe)]())==null?void 0x0:_0xbd480e[0x0],_0x5dd8d4=this[_0xddd1f6(0x214)][_0xddd1f6(0x223)](a[_0xddd1f6(0x246)][_0xddd1f6(0x32b)])[_0xddd1f6(0x383)]();_0x446852&&_0x5dd8d4&&this[_0xddd1f6(0x369)](_0x5dd8d4[_0xddd1f6(0x22a)](),_0x446852);}[_0x56af3f(0x239)](){const _0x1a95f4=_0x56af3f;this[_0x1a95f4(0x34b)]=!0x1;}};Ie=it([A(0x2,a[_0x56af3f(0x253)](a[_0x56af3f(0x3b6)])),A(0x3,a[_0x56af3f(0x253)](Ce)),A(0x4,a[_0x56af3f(0x253)](u[_0x56af3f(0x227)])),A(0x5,a[_0x56af3f(0x3bb)]),A(0x6,a[_0x56af3f(0x1f7)]),A(0x7,a[_0x56af3f(0x253)](g['RefRangeService']))],Ie);var ct=Object[_0x56af3f(0x162)],lt=(_0x2152b9,_0x1abcab,_0x57589a,_0x589962)=>{const _0x30c04f=_0x56af3f;for(var _0x660b62=_0x589962>0x1?void 0x0:_0x589962?ct(_0x1abcab,_0x57589a):_0x1abcab,_0x431aaf=_0x2152b9[_0x30c04f(0x36a)]-0x1,_0xcb5f11;_0x431aaf>=0x0;_0x431aaf--)(_0xcb5f11=_0x2152b9[_0x431aaf])&&(_0x660b62=_0xcb5f11(_0x660b62)||_0x660b62);return _0x660b62;},ie=(_0x54261a,_0x56d4e0)=>(_0x5a62b2,_0x116e80)=>_0x56d4e0(_0x5a62b2,_0x116e80,_0x54261a);let x=class extends a[_0x56af3f(0x2b9)]{constructor(_0x13a35c,_0x19dec5,_0x4b8ce8){const _0x51ab9f=_0x56af3f;super(),_(this,_0x51ab9f(0x1a7),new Map()),_(this,_0x51ab9f(0x1ec),new d[(_0x51ab9f(0x21f))]()),(this[_0x51ab9f(0x214)]=_0x13a35c,this[_0x51ab9f(0x3b1)]=_0x19dec5,this[_0x51ab9f(0x2b5)]=_0x4b8ce8,this[_0x51ab9f(0x39b)]());}[_0x56af3f(0x3bd)](){const _0x54284a=_0x56af3f;super[_0x54284a(0x3bd)](),this[_0x54284a(0x1ec)][_0x54284a(0x270)](),this['_entities'][_0x54284a(0x2eb)](_0x19a9aa=>_0x19a9aa[_0x54284a(0x3bd)]());}[_0x56af3f(0x3cb)](_0x113ee4){const _0x321bb6=_0x56af3f;return this['_entities'][_0x321bb6(0x140)](_0x113ee4)?this['_entities'][_0x321bb6(0x302)](_0x113ee4)['cursorInfo$']:this['_entityInit$'][_0x321bb6(0x215)](d[_0x321bb6(0x2c3)](_0x3ea74b=>_0x3ea74b[_0x321bb6(0x1cb)]===_0x113ee4),d['switchMap'](_0x183670=>_0x183670[_0x321bb6(0x2cc)]));}[_0x56af3f(0x39b)](){const _0x256a1c=_0x56af3f;this[_0x256a1c(0x214)]['getTypeOfUnitAdded$'](a[_0x256a1c(0x246)][_0x256a1c(0x32b)])[_0x256a1c(0x215)](d[_0x256a1c(0x273)](this[_0x256a1c(0x170)]))[_0x256a1c(0x17d)](async _0x4e1b60=>{const _0x539f31=_0x256a1c,_0x33993c=_0x4e1b60['getUnitId'](),_0x34637e=await this[_0x539f31(0x1c1)](_0x33993c);this[_0x539f31(0x1ec)]['next'](_0x34637e),this[_0x539f31(0x1a7)][_0x539f31(0x3b5)](_0x33993c,_0x34637e);}),this[_0x256a1c(0x214)][_0x256a1c(0x332)](a['UniverInstanceType'][_0x256a1c(0x188)])[_0x256a1c(0x215)](d[_0x256a1c(0x273)](this['dispose$']))[_0x256a1c(0x215)](d['filter'](_0x53225e=>!_0x53225e[_0x256a1c(0x2fd)]()[_0x256a1c(0x205)]('__')))[_0x256a1c(0x17d)](async _0x1d7bd0=>{const _0x5528ad=_0x256a1c,_0x47a6d8=_0x1d7bd0[_0x5528ad(0x2fd)](),_0x3c33d9=await this[_0x5528ad(0x21e)](_0x47a6d8);this[_0x5528ad(0x1ec)][_0x5528ad(0x30b)](_0x3c33d9),this[_0x5528ad(0x1a7)]['set'](_0x47a6d8,_0x3c33d9);}),d[_0x256a1c(0x33c)](this[_0x256a1c(0x214)][_0x256a1c(0x2cb)](a[_0x256a1c(0x246)][_0x256a1c(0x188)]),this['_univerInstanceService'][_0x256a1c(0x2cb)](a[_0x256a1c(0x246)]['UNIVER_SHEET']))['pipe'](d[_0x256a1c(0x273)](this[_0x256a1c(0x170)]))[_0x256a1c(0x17d)](_0x2dd50f=>{const _0x52c706=_0x256a1c,_0x33f1ce=_0x2dd50f[_0x52c706(0x2fd)](),_0x23455b=this[_0x52c706(0x1a7)][_0x52c706(0x302)](_0x33f1ce);_0x23455b&&(_0x23455b[_0x52c706(0x3bd)](),this[_0x52c706(0x1a7)][_0x52c706(0x2d8)](_0x33f1ce));});}async['_startSheetCollabCursor'](_0x178f33){const _0x36172a=_0x56af3f,_0x343ffd=await this['_collabSessionService'][_0x36172a(0x23f)](_0x178f33),_0x1ae101=this[_0x36172a(0x3b1)][_0x36172a(0x1e3)](Ie,_0x178f33,_0x343ffd);return _0x1ae101[_0x36172a(0x362)](),_0x1ae101;}async['_startDocCollabCursor'](_0x44e1f2){const _0x35d91f=_0x56af3f,_0x38f524=await this[_0x35d91f(0x2b5)][_0x35d91f(0x23f)](_0x44e1f2),_0x175d23=this['_injector']['createInstance'](Se,_0x44e1f2,_0x38f524);return _0x175d23[_0x35d91f(0x362)](),_0x175d23;}};x=lt([ie(0x0,a['IUniverInstanceService']),ie(0x1,a['Inject'](a[_0x56af3f(0x3b6)])),ie(0x2,a[_0x56af3f(0x253)](u[_0x56af3f(0x231)]))],x);const K=0x14,De=0xc8,re=0x4,_t=0x5;function ht(_0x3c37d8,_0x2f10c3){const _0x4afb1f=_0x56af3f;let {radius:_0x1e4beb,width:_0x3a38e6,height:_0x32d758}=_0x2f10c3;_0x1e4beb=_0x1e4beb!=null?_0x1e4beb:0x0,_0x3a38e6=_0x3a38e6!=null?_0x3a38e6:0x1e,_0x32d758=_0x32d758!=null?_0x32d758:0x1e;let _0x46d600=0x0,_0x59c1ad=0x0,_0x4040a0=0x0;_0x46d600=_0x59c1ad=_0x4040a0=Math['min'](_0x1e4beb,_0x3a38e6/0x2,_0x32d758/0x2),_0x3c37d8[_0x4afb1f(0x31e)](),_0x3c37d8[_0x4afb1f(0x2a3)](_0x46d600,0x0),_0x3c37d8['lineTo'](_0x3a38e6-_0x59c1ad,0x0),_0x3c37d8[_0x4afb1f(0x160)](_0x3a38e6-_0x59c1ad,_0x59c1ad,_0x59c1ad,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c37d8[_0x4afb1f(0x2dc)](_0x3a38e6,_0x32d758-_0x4040a0),_0x3c37d8[_0x4afb1f(0x160)](_0x3a38e6-_0x4040a0,_0x32d758-_0x4040a0,_0x4040a0,0x0,Math['PI']/0x2,!0x1),_0x3c37d8[_0x4afb1f(0x2dc)](0x0,_0x32d758),_0x3c37d8[_0x4afb1f(0x2dc)](0x0,_0x46d600),_0x3c37d8['arc'](_0x46d600,_0x46d600,_0x46d600,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c37d8[_0x4afb1f(0x27c)](),_0x2f10c3[_0x4afb1f(0x153)]&&(_0x3c37d8[_0x4afb1f(0x32d)](),_0x3c37d8[_0x4afb1f(0x340)]=_0x2f10c3[_0x4afb1f(0x153)],_0x2f10c3[_0x4afb1f(0x156)]===_0x4afb1f(0x363)?_0x3c37d8[_0x4afb1f(0x153)]('evenodd'):_0x3c37d8[_0x4afb1f(0x153)](),_0x3c37d8[_0x4afb1f(0x17e)]());}class te extends p['Shape']{constructor(_0x1c8323,_0x20937c){const _0x54838e=_0x56af3f;super(_0x1c8323,_0x20937c),_(this,_0x54838e(0x286)),_(this,_0x54838e(0x2c5)),(this[_0x54838e(0x286)]=_0x20937c==null?void 0x0:_0x20937c[_0x54838e(0x286)],this[_0x54838e(0x2c5)]=_0x20937c==null?void 0x0:_0x20937c['text']);}static['drawWith'](_0x11e60a,_0x8e94bb){const _0x512d22=_0x56af3f,{text:_0xa13c5a,color:_0x7c8151}=_0x8e94bb;_0x11e60a[_0x512d22(0x32d)](),_0x11e60a[_0x512d22(0x20c)]=_0x512d22(0x2b1);const _0x7d19=_0x11e60a['measureText'](_0xa13c5a)['width'],_0x107813=Math['min'](_0x7d19+0x2*re,De);ht(_0x11e60a,{'height':K,'radius':0x4,'width':_0x107813,'fill':_0x7c8151}),_0x11e60a[_0x512d22(0x340)]='#FFF';const _0x2d07cb=re,_0x336dc0=K-_t,_0x187e06=De-0x2*re;if(_0x7d19>_0x187e06){let _0x31ce59='',_0x4b5ba4=0x0;for(const _0x52d6bc of _0xa13c5a){const _0x38e198=_0x11e60a[_0x512d22(0x397)](_0x52d6bc)[_0x512d22(0x3af)];if(_0x4b5ba4+_0x38e198<=_0x187e06-_0x11e60a['measureText'](_0x512d22(0x144))[_0x512d22(0x3af)])_0x31ce59+=_0x52d6bc,_0x4b5ba4+=_0x38e198;else{_0x31ce59+=_0x512d22(0x144);break;}}_0x11e60a['fillText'](_0x31ce59,_0x2d07cb,_0x336dc0);}else _0x11e60a[_0x512d22(0x1bf)](_0xa13c5a,_0x2d07cb,_0x336dc0);_0x11e60a[_0x512d22(0x17e)]();}[_0x56af3f(0x2b0)](_0x30d044){te['drawWith'](_0x30d044,this);}}const oe=_0x56af3f(0x2fc),ut=_0x56af3f(0x236),dt=_0x56af3f(0x20f),k=0x6,ft=1.5,ae=0x4,St=1.5,It='rgba(255,\x20255,\x20255,\x200.01)';class Ue{constructor(_0x3b93c9,_0x337ac7,_0x5d7585,_0x28eba9){const _0x4322e6=_0x56af3f;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x4322e6(0x187),null),_(this,_0x4322e6(0x33e),null),_(this,'_eventUnsubscribe',null),(this[_0x4322e6(0x2a0)]=_0x3b93c9,this[_0x4322e6(0x3ce)]=_0x337ac7,this[_0x4322e6(0x1c4)]=_0x5d7585,this['_document']=_0x28eba9,this[_0x4322e6(0x3a4)]());}set[_0x56af3f(0x19b)](_0x32d389){const _0x4c8746=_0x56af3f;_0x32d389?(this[_0x4c8746(0x187)]&&this['_anchorDot'][_0x4c8746(0x1c8)](),this[_0x4c8746(0x30e)]&&this[_0x4c8746(0x30e)][_0x4c8746(0x24f)]()):(this[_0x4c8746(0x187)]&&this[_0x4c8746(0x187)][_0x4c8746(0x24f)](),this['_textBubble']&&this[_0x4c8746(0x30e)][_0x4c8746(0x1c8)]());}[_0x56af3f(0x3bd)](){const _0x236e22=_0x56af3f;for(const _0x447ba1 of this[_0x236e22(0x1ff)])_0x447ba1['dispose']();this['_textBubble']&&this[_0x236e22(0x30e)]['dispose'](),this[_0x236e22(0x187)]&&this[_0x236e22(0x187)][_0x236e22(0x3bd)](),this[_0x236e22(0x3c0)]&&this[_0x236e22(0x3c0)][_0x236e22(0x3bd)](),this[_0x236e22(0x356)]&&this[_0x236e22(0x356)]();}[_0x56af3f(0x3a4)](){const _0x53a72b=_0x56af3f;var _0x576a71;const {_docSkeleton:_0x99560,_document:_0x55e7e6}=this,{color:_0x224ea6,name:_0x5ba2ee,ranges:_0x5bd2ec}=this['_cursor'],_0x35b365=_0x55e7e6['getOffsetConfig'](),{docsLeft:_0x169976,docsTop:_0x12b0c1}=_0x35b365,_0x1eeed8=new b[(_0x53a72b(0x174))](_0x35b365,_0x99560);for(const {startOffset:_0x311ccc,endOffset:_0xde039e,rangeType:_0x3aed5c,segmentId:_0x437763,segmentPage:_0x3896e1,collapsed:_0x5b8ab4,isActive:_0x47e111}of _0x5bd2ec){const _0x18ab58=_0x99560['findNodePositionByCharIndex'](_0x311ccc,!0x0,_0x437763,_0x3896e1);let _0x36fb45=_0x99560[_0x53a72b(0x221)](_0xde039e,!0x0,_0x437763,_0x3896e1);if(_0x36fb45==null&&(_0x36fb45=_0x99560[_0x53a72b(0x221)](_0xde039e-0x1,!0x1,_0x437763,_0x3896e1)),_0x47e111){const {contentBoxPointGroup:_0x22bec0}=_0x1eeed8['getRangePointData'](_0x36fb45,_0x36fb45);if(_0x22bec0['length']===0x0)continue;this['_drawAnchor'](_0x224ea6,_0x22bec0,_0x169976,_0x12b0c1,_0x5ba2ee),this[_0x53a72b(0x356)]=this['_handleHover']();}if(_0x18ab58&&_0x36fb45){if(_0x3aed5c===a[_0x53a72b(0x1b9)][_0x53a72b(0x255)]){const _0x4d5b39=new b[(_0x53a72b(0x29b))](_0x35b365,_0x99560),{pointGroup:_0x533be8}=(_0x576a71=_0x4d5b39[_0x53a72b(0x335)](_0x18ab58,_0x36fb45))!=null?_0x576a71:{};if(_0x533be8==null||_0x533be8[_0x53a72b(0x36a)]===0x0)continue;this['_drawRectRange'](_0x224ea6,_0x533be8,_0x169976,_0x12b0c1);}else{if(!_0x5b8ab4){const {borderBoxPointGroup:_0x4cc427}=_0x1eeed8[_0x53a72b(0x335)](_0x18ab58,_0x36fb45);if(_0x4cc427[_0x53a72b(0x36a)]===0x0)continue;this[_0x53a72b(0x151)](_0x224ea6,_0x4cc427,_0x169976,_0x12b0c1);}}}}}['_drawAnchor'](_0x56ffce,_0x324e5b,_0x3504ce,_0x307093,_0x48967e){const _0x11a151=_0x56af3f,_0x1aa98a=this[_0x11a151(0x38c)](_0x324e5b),{left:_0x115517,top:_0x4f3e0d,height:_0x30395b}=_0x1aa98a,_0x2c09ce=this[_0x11a151(0x3c4)](),_0x56a3c3=St/_0x2c09ce,_0x4f8251=new p[(_0x11a151(0x256))](oe+a['Tools'][_0x11a151(0x1bb)](k),{'left':_0x115517+_0x3504ce-_0x56a3c3,'top':_0x4f3e0d+_0x307093,'height':_0x30395b,'width':ft,'fill':_0x56ffce||p[_0x11a151(0x26a)](a['COLORS'][_0x11a151(0x1a1)],0x0),'strokeWidth':_0x56a3c3,'stroke':It,'evented':!0x0});this['_anchor']=_0x4f8251,this[_0x11a151(0x3ce)]['addObject'](_0x4f8251,b[_0x11a151(0x2e9)]);const _0x2f4e87=new p[(_0x11a151(0x256))](oe+a[_0x11a151(0x2d7)][_0x11a151(0x1bb)](k),{'left':_0x115517+_0x3504ce-_0x56a3c3,'top':_0x4f3e0d+_0x307093-ae/0x2,'height':ae,'width':ae,'fill':_0x56ffce||p[_0x11a151(0x26a)](a[_0x11a151(0x258)][_0x11a151(0x1a1)],0x0),'strokeWidth':0x0,'stroke':_0x56ffce||p[_0x11a151(0x26a)](a[_0x11a151(0x258)]['black'],0x0),'evented':!0x1});this[_0x11a151(0x187)]=_0x2f4e87,this[_0x11a151(0x3ce)][_0x11a151(0x17f)](_0x2f4e87,b[_0x11a151(0x2e9)]);const _0x58fa9b=new te(oe+a[_0x11a151(0x2d7)]['generateRandomId'](k),{'left':_0x115517+_0x3504ce-_0x56a3c3,'top':_0x4f3e0d+_0x307093-K,'text':_0x48967e,'color':_0x56ffce});this['_textBubble']=_0x58fa9b,this[_0x11a151(0x3ce)]['addObject'](_0x58fa9b,b[_0x11a151(0x2e9)]),this[_0x11a151(0x19b)]=!0x1;}[_0x56af3f(0x2e5)](){const _0x3b26e4=_0x56af3f,_0x4126f0=this[_0x3b26e4(0x3c0)][_0x3b26e4(0x317)][_0x3b26e4(0x278)](()=>{const _0x14fa4d=_0x3b26e4;this[_0x14fa4d(0x19b)]=!0x0;}),_0x448180=this[_0x3b26e4(0x3c0)][_0x3b26e4(0x361)]['subscribeEvent'](()=>{const _0x179a04=_0x3b26e4;this[_0x179a04(0x33e)]&&clearTimeout(this[_0x179a04(0x33e)]),this[_0x179a04(0x33e)]=setTimeout(()=>{const _0x3e2326=_0x179a04;this[_0x3e2326(0x19b)]=!0x1;},0x7d0);});return()=>{const _0x49f72a=_0x3b26e4;_0x4126f0['unsubscribe'](),_0x448180[_0x49f72a(0x272)]();};}['_drawTextRange'](_0x46c3ec,_0x2cd8c0,_0x55224b,_0x59afd1){const _0x3ef419=_0x56af3f,_0x11a457=new a['ColorKit'](_0x46c3ec)[_0x3ef419(0x1b3)](0.2)[_0x3ef419(0x324)](),_0xf70de4=new p['RegularPolygon'](ut+a[_0x3ef419(0x2d7)][_0x3ef419(0x1bb)](k),{'pointsGroup':_0x2cd8c0,'fill':_0x11a457||p[_0x3ef419(0x26a)](a[_0x3ef419(0x258)][_0x3ef419(0x1a1)],0.2),'left':_0x55224b,'top':_0x59afd1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ef419(0x1ff)][_0x3ef419(0x366)](_0xf70de4),this[_0x3ef419(0x3ce)]['addObject'](_0xf70de4,b['TEXT_RANGE_LAYER_INDEX']);}[_0x56af3f(0x1e4)](_0x3b1677,_0x16b692,_0x2a01a6,_0x25e17e){const _0x4dad91=_0x56af3f,_0xd7a177=new a[(_0x4dad91(0x3b9))](_0x3b1677)[_0x4dad91(0x1b3)](0.2)[_0x4dad91(0x324)](),_0x12ba76=new p[(_0x4dad91(0x23b))](dt+a[_0x4dad91(0x2d7)][_0x4dad91(0x1bb)](k),{'pointsGroup':_0x16b692,'fill':_0xd7a177||p[_0x4dad91(0x26a)](a[_0x4dad91(0x258)][_0x4dad91(0x1a1)],0.2),'left':_0x2a01a6,'top':_0x25e17e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4dad91(0x1ff)][_0x4dad91(0x366)](_0x12ba76),this['_scene'][_0x4dad91(0x17f)](_0x12ba76,b[_0x4dad91(0x2e9)]);}[_0x56af3f(0x38c)](_0x235307){const _0x9413ad=_0x235307[0x0],_0xe4f206=_0x9413ad[0x0],_0x32c5d4=_0x9413ad[0x2],{x:_0x18dc22,y:_0x1df9b3}=_0xe4f206,{x:_0x1f1c7b,y:_0x216305}=_0x32c5d4;return{'left':_0x18dc22,'top':_0x1df9b3,'width':_0x1f1c7b-_0x18dc22,'height':_0x216305-_0x1df9b3};}['_getScale'](){const _0x20438a=_0x56af3f,{scaleX:_0x2ce7c5,scaleY:_0x4b54e3}=this[_0x20438a(0x3ce)]['getAncestorScale']();return Math[_0x20438a(0x381)](_0x2ce7c5,_0x4b54e3);}}var vt=Object[_0x56af3f(0x162)],gt=(_0x43fbd0,_0x4cefbd,_0x56f5f9,_0x588cb6)=>{const _0x5549b1=_0x56af3f;for(var _0x5f585a=_0x588cb6>0x1?void 0x0:_0x588cb6?vt(_0x4cefbd,_0x56f5f9):_0x4cefbd,_0x3af053=_0x43fbd0[_0x5549b1(0x36a)]-0x1,_0x4a4ea3;_0x3af053>=0x0;_0x3af053--)(_0x4a4ea3=_0x43fbd0[_0x3af053])&&(_0x5f585a=_0x4a4ea3(_0x5f585a)||_0x5f585a);return _0x5f585a;},V=(_0x546687,_0x273953)=>(_0x133f31,_0x5549c4)=>_0x273953(_0x133f31,_0x5549c4,_0x546687);let ve=class extends a['RxDisposable']{constructor(_0x21d700,_0x5e7b0f,_0xe7413f,_0xd522ae,_0xc0169f){const _0x35ca22=_0x56af3f;super(),_(this,_0x35ca22(0x1c7),[]),_(this,'_cursors',[]),(this[_0x35ca22(0x2c2)]=_0x21d700,this['_docSkeletonManagerService']=_0x5e7b0f,this['_collabCursorController']=_0xe7413f,this[_0x35ca22(0x198)]=_0xd522ae,this[_0x35ca22(0x1ef)]=_0xc0169f,this[_0x35ca22(0x39b)]());}['_init'](){const _0x2d7f01=_0x56af3f,_0x446a63=this[_0x2d7f01(0x2c2)][_0x2d7f01(0x24a)],_0x69b131=this['_docSkeletonManagerService'];this[_0x2d7f01(0x2a6)](d['combineLatest']([this['_collabCursorController'][_0x2d7f01(0x3cb)](_0x446a63),this[_0x2d7f01(0x1ef)][_0x2d7f01(0x15e)]])[_0x2d7f01(0x215)]($['map'](([_0x1a37dc,_0x556066])=>({'skeleton':_0x69b131[_0x2d7f01(0x3a9)](),'cursors':[..._0x1a37dc[_0x2d7f01(0x34f)]()][_0x2d7f01(0x260)](_0x2ec63c=>({..._0x2ec63c,'color':_0x556066[_0x2ec63c[_0x2d7f01(0x286)]]}))})))['subscribe'](_0x47b8a6=>{const _0x3eb6bf=_0x2d7f01;if(this[_0x3eb6bf(0x23c)](),_0x47b8a6){const {skeleton:_0x538aac,cursors:_0x3b7869}=_0x47b8a6;this[_0x3eb6bf(0x148)](_0x538aac,_0x3b7869);}})),this[_0x2d7f01(0x359)](),this[_0x2d7f01(0x282)]();}[_0x56af3f(0x148)](_0x41332c,_0x52ee47){const _0x2e947f=_0x56af3f,{scene:_0x178cde,mainComponent:_0x43464a}=this[_0x2e947f(0x2c2)],_0x179db4=_0x52ee47['map'](_0x51a153=>new Ue(_0x51a153,_0x178cde,_0x41332c,_0x43464a));this['_cursorShapes']=_0x179db4,this[_0x2e947f(0x329)]=_0x52ee47;}[_0x56af3f(0x1fb)](){const _0x50a483=_0x56af3f;this['_removeCollabCursors']();const {scene:_0xc9a095,mainComponent:_0x212519}=this[_0x50a483(0x2c2)],_0xc0e33e=this['_docSkeletonManagerService'][_0x50a483(0x3a9)](),_0x3b1f9b=this[_0x50a483(0x329)][_0x50a483(0x191)](_0x4aa31c=>new Ue(_0x4aa31c,_0xc9a095,_0xc0e33e,_0x212519));this[_0x50a483(0x1c7)]=_0x3b1f9b;}[_0x56af3f(0x23c)](){const _0x14c443=_0x56af3f;this[_0x14c443(0x1c7)][_0x14c443(0x2eb)](_0x190d46=>_0x190d46[_0x14c443(0x3bd)]()),this[_0x14c443(0x1c7)]=[];}[_0x56af3f(0x282)](){const _0x505de8=_0x56af3f,_0x26b0be=[b[_0x505de8(0x186)]['id']];this[_0x505de8(0x2a6)](this[_0x505de8(0x198)]['onCommandExecuted'](_0x4d5db8=>{const _0x544fde=_0x505de8;_0x26b0be[_0x544fde(0x35c)](_0x4d5db8['id'])&&_0x4d5db8[_0x544fde(0x1f8)][_0x544fde(0x24a)]===this[_0x544fde(0x2c2)][_0x544fde(0x24a)]&&this[_0x544fde(0x1fb)]();}));}[_0x56af3f(0x359)](){const _0x5754f3=_0x56af3f;this[_0x5754f3(0x2a6)](a['fromEventSubject'](this['_context'][_0x5754f3(0x1c0)][_0x5754f3(0x31b)])[_0x5754f3(0x215)]($[_0x5754f3(0x2c3)](_0x14dde1=>_0x14dde1[_0x5754f3(0x346)]===p[_0x5754f3(0x344)][_0x5754f3(0x2ac)]),$[_0x5754f3(0x16e)](0x10))[_0x5754f3(0x17d)](()=>{const _0x51e0d2=_0x5754f3;this[_0x51e0d2(0x1fb)]();}));}};ve=gt([V(0x1,a[_0x56af3f(0x253)](Y['DocSkeletonManagerService'])),V(0x2,a[_0x56af3f(0x253)](x)),V(0x3,a['ICommandService']),V(0x4,a[_0x56af3f(0x253)](a[_0x56af3f(0x2ba)]))],ve);const mt=0x1,Ct=1.5;class Ae extends p[_0x56af3f(0x250)]{constructor(_0x1c16fd,_0x1f5ce2){const _0x91d550=_0x56af3f;super(_0x1c16fd,_0x1f5ce2),_(this,_0x91d550(0x327)),_(this,_0x91d550(0x197),!0x1),_(this,_0x91d550(0x232)),_(this,_0x91d550(0x3ab),''),_(this,'_labelPosition',_0x91d550(0x291)),_(this,_0x91d550(0x16b)),(_0x1f5ce2&&this[_0x91d550(0x2e4)](_0x1f5ce2),this[_0x91d550(0x317)]['subscribeEvent'](()=>this[_0x91d550(0x2e4)]({'hovered':!0x0})),this[_0x91d550(0x361)]['subscribeEvent'](()=>this[_0x91d550(0x2e4)]({'hovered':!0x1})));}[_0x56af3f(0x2e4)](_0x33562a){const _0x123f0e=_0x56af3f;var _0x8f793e,_0x587a7e,_0x30fd82,_0x174e82,_0x383a8c,_0x5bf27c;this[_0x123f0e(0x327)]=(_0x8f793e=_0x33562a[_0x123f0e(0x286)])!=null?_0x8f793e:this[_0x123f0e(0x327)],this['_hovered']=(_0x587a7e=_0x33562a[_0x123f0e(0x379)])!=null?_0x587a7e:this[_0x123f0e(0x197)],this[_0x123f0e(0x232)]=(_0x30fd82=_0x33562a[_0x123f0e(0x38d)])!=null?_0x30fd82:this[_0x123f0e(0x232)],this[_0x123f0e(0x3ab)]=(_0x174e82=_0x33562a[_0x123f0e(0x39a)])!=null?_0x174e82:this[_0x123f0e(0x3ab)],this[_0x123f0e(0x321)]=(_0x383a8c=_0x33562a[_0x123f0e(0x229)])!=null?_0x383a8c:this['_labelPosition'],this['_backgroundColor']=(_0x5bf27c=_0x33562a[_0x123f0e(0x3ca)])!=null?_0x5bf27c:this[_0x123f0e(0x16b)],this[_0x123f0e(0x351)]({'width':_0x33562a[_0x123f0e(0x3af)],'height':_0x33562a['height']});}['onMouseMove'](_0x5a33d0){const _0x425896=_0x56af3f,{row:_0x1f95fd,column:_0x1d8eac}=_0x5a33d0;if(_0x1f95fd>=this[_0x425896(0x232)][_0x425896(0x38e)]&&_0x1f95fd<=this['_range']['endRow']&&_0x1d8eac>=this['_range'][_0x425896(0x382)]&&_0x1d8eac<=this[_0x425896(0x232)]['endColumn']){this[_0x425896(0x2e4)]({'hovered':!0x0});return;}this[_0x425896(0x2e4)]({'hovered':!0x1});}[_0x56af3f(0x25e)](_0x483d79){return!0x1;}[_0x56af3f(0x2b0)](_0x3e99cd){const _0x53b56d=_0x56af3f;p[_0x53b56d(0x256)][_0x53b56d(0x210)](_0x3e99cd,{'width':this[_0x53b56d(0x3af)],'height':this['height'],'strokeWidth':Ct,'stroke':this[_0x53b56d(0x327)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x3e99cd[_0x53b56d(0x32d)](),_0x3e99cd[_0x53b56d(0x313)](0x1,0x0,0x0,0x1,this['width'],this[_0x53b56d(0x321)]===_0x53b56d(0x309)?0x0:-0x14),te[_0x53b56d(0x210)](_0x3e99cd,{'text':this['_name'],'color':this['_color']}),_0x3e99cd[_0x53b56d(0x17e)]());}}var pt=Object['getOwnPropertyDescriptor'],bt=(_0x134ba5,_0x3ab161,_0x5e6eed,_0x4b683c)=>{const _0x30ed8e=_0x56af3f;for(var _0x5a32a1=_0x4b683c>0x1?void 0x0:_0x4b683c?pt(_0x3ab161,_0x5e6eed):_0x3ab161,_0xe8c440=_0x134ba5[_0x30ed8e(0x36a)]-0x1,_0x54f5f2;_0xe8c440>=0x0;_0xe8c440--)(_0x54f5f2=_0x134ba5[_0xe8c440])&&(_0x5a32a1=_0x54f5f2(_0x5a32a1)||_0x5a32a1);return _0x5a32a1;},ce=(_0x39f19b,_0x17c165)=>(_0x33cc8c,_0x8d875e)=>_0x17c165(_0x33cc8c,_0x8d875e,_0x39f19b);const Et=0x1389;let ge=class extends a[_0x56af3f(0x2b9)]{constructor(_0x1f19f1,_0xfc7506,_0xd34145,_0xfae13d){const _0x295066=_0x56af3f;super(),_(this,_0x295066(0x329),new Set()),_(this,_0x295066(0x259),null),(this[_0x295066(0x2c2)]=_0x1f19f1,this[_0x295066(0x2db)]=_0xfc7506,this['_collabCursorController']=_0xd34145,this[_0x295066(0x1ef)]=_0xfae13d,this['_init']());}['_init'](){const _0x9e5502=_0x56af3f;this[_0x9e5502(0x2db)][_0x9e5502(0x31d)][_0x9e5502(0x215)]($[_0x9e5502(0x273)](this['dispose$']),$[_0x9e5502(0x208)](_0x1abf23=>{const _0x457b7d=_0x9e5502;if(_0x1abf23){const _0x2255c8=_0x1abf23[_0x457b7d(0x374)];return d[_0x457b7d(0x27a)](this[_0x457b7d(0x3ba)][_0x457b7d(0x3cb)](this['_context'][_0x457b7d(0x24a)]),this[_0x457b7d(0x1ef)][_0x457b7d(0x15e)])[_0x457b7d(0x215)]($[_0x457b7d(0x191)](([_0x1bb839,_0xf5d698])=>{const _0x1e79ee=_0x457b7d,_0x26b23e=new Map();return _0x1bb839[_0x1e79ee(0x2eb)]((_0x214314,_0x391188)=>{const _0x27dcdf=_0x1e79ee;if(_0x214314['sheetID']===_0x2255c8){const _0x443891={..._0x214314};_0x443891[_0x27dcdf(0x286)]=_0xf5d698[_0x214314[_0x27dcdf(0x286)]],_0x26b23e['set'](_0x391188,_0x443891);}}),{'skeleton':_0x1abf23,'cursors':_0x26b23e};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x269b58,cursors:_0x2be49e})=>{const _0x5c67bf=_0x9e5502;this[_0x5c67bf(0x23c)](),_0x269b58&&this[_0x5c67bf(0x148)](_0x269b58,_0x2be49e);}),this['_sheetSkeletonManagerService'][_0x9e5502(0x31d)][_0x9e5502(0x17d)](_0x25191c=>{const _0x2ead63=_0x9e5502;if(_0x25191c==null)return;const {skeleton:_0x1246f6}=_0x25191c,{scene:_0x4fea5e}=this['_context'];_0x4fea5e[_0x2ead63(0x28a)][_0x2ead63(0x278)](a[_0x2ead63(0x1ac)](_0x6c557=>{const _0x42e80c=_0x2ead63;var _0x3ba276,_0x41fcd5;const {offsetX:_0x193e28,offsetY:_0x523a9f}=_0x6c557,{x:_0x1d4808,y:_0x57a7a1}=_0x4fea5e[_0x42e80c(0x2a7)](p[_0x42e80c(0x385)]['FromArray']([_0x193e28,_0x523a9f])),{scaleX:_0x23f8c4,scaleY:_0x1d2f65}=_0x4fea5e[_0x42e80c(0x248)](),_0x582418=_0x4fea5e[_0x42e80c(0x21a)](p['SHEET_VIEWPORT_KEY'][_0x42e80c(0x249)]),_0x2c3cc9=_0x4fea5e[_0x42e80c(0x358)](p[_0x42e80c(0x385)]['FromArray']([_0x1d4808,_0x57a7a1]),_0x582418),_0x2422ef=_0x1246f6[_0x42e80c(0x168)](_0x193e28,_0x523a9f,_0x23f8c4,_0x1d2f65,_0x2c3cc9);((_0x3ba276=this[_0x42e80c(0x259)])==null?void 0x0:_0x3ba276[_0x42e80c(0x261)])===_0x2422ef['column']&&((_0x41fcd5=this[_0x42e80c(0x259)])==null?void 0x0:_0x41fcd5[_0x42e80c(0x2b8)])===_0x2422ef[_0x42e80c(0x2b8)]||this['_cursors'][_0x42e80c(0x2eb)](_0x5cea90=>{const _0x4af26e=_0x42e80c;_0x5cea90[_0x4af26e(0x2ad)](_0x2422ef);});},0x64));});}['_updateCollabCursors'](_0x5cb952,_0x3df03e){const _0x1cafdb=_0x56af3f;var _0x19c079;const _0x4c1a23=(_0x19c079=this[_0x1cafdb(0x2db)][_0x1cafdb(0x39e)]())==null?void 0x0:_0x19c079[_0x1cafdb(0x154)];if(!_0x4c1a23)return;const _0x38891d=this['_getSheetObject']();if(!_0x38891d)return;this['_cursors'][_0x1cafdb(0x2eb)](_0x44dd83=>{_0x44dd83['makeDirty']();});const {scene:_0x4a0585}=_0x38891d,_0x3a168a=Tt(Array[_0x1cafdb(0x323)](_0x3df03e[_0x1cafdb(0x34f)]()))[_0x1cafdb(0x191)](_0x2c5df8=>{const _0x5edc7b=_0x1cafdb,{color:_0x143b31,range:_0x96693a,name:_0x15434c,selection:_0x23f192,sheetID:_0x450f91}=_0x2c5df8,{startColumn:_0x3ef9dc,startRow:_0x44a03a,endColumn:_0x3effe4,endRow:_0x511425}=_0x96693a,_0x39610b=G[_0x5edc7b(0x3a5)](_0x44a03a,_0x3ef9dc,_0x4a0585,_0x4c1a23),_0x17e6ae=G['getCoordByCell'](_0x511425,_0x3effe4,_0x4a0585,_0x4c1a23),{columnHeaderHeightAndMarginTop:_0x584cfb}=_0x4c1a23,{startX:_0x33e4fc,startY:_0x22cfc1}=_0x39610b,{endX:_0x47be8e,endY:_0x29d75a}=_0x17e6ae,_0x14d945=_0x47be8e-_0x33e4fc,_0x1290d2=_0x29d75a-_0x22cfc1,_0x240b6d={'labelPosition':_0x22cfc1-_0x584cfb>=K?_0x5edc7b(0x291):_0x5edc7b(0x309),'sheetID':_0x450f91,'range':_0x96693a,'color':_0x143b31,'name':_0x15434c,'selection':_0x23f192,'left':_0x33e4fc,'top':_0x22cfc1,'width':_0x14d945,'height':_0x1290d2,'evented':!0x1,'zIndex':Et};return new Ae(_0x15434c,_0x240b6d);});_0x4a0585[_0x1cafdb(0x305)](_0x3a168a,mt),this[_0x1cafdb(0x329)]=new Set(_0x3a168a);}['_removeCollabCursors'](){const _0x45a8a4=_0x56af3f;var _0x1e427b;(_0x1e427b=this[_0x45a8a4(0x329)])==null||_0x1e427b['forEach'](_0x117843=>_0x117843['dispose']());}['_getSheetObject'](){const _0x5a183a=_0x56af3f;return G[_0x5a183a(0x34d)](this[_0x5a183a(0x2c2)][_0x5a183a(0x15b)],this[_0x5a183a(0x2c2)]);}};ge=bt([ce(0x1,a[_0x56af3f(0x253)](G[_0x56af3f(0x308)])),ce(0x2,a[_0x56af3f(0x253)](x)),ce(0x3,a[_0x56af3f(0x253)](a[_0x56af3f(0x2ba)]))],ge);function Tt(_0x2b56b1){const _0x2fd844=_0x56af3f,_0x3d2633=new Map();return _0x2b56b1[_0x2fd844(0x2eb)](_0x4d5de2=>{const _0xa7535a=_0x2fd844;if(_0x3d2633[_0xa7535a(0x140)](_0x4d5de2[_0xa7535a(0x234)])){const _0x1f6d92=_0x3d2633[_0xa7535a(0x302)](_0x4d5de2[_0xa7535a(0x234)]);_0x1f6d92['name']+=',\x20'+_0x4d5de2[_0xa7535a(0x39a)];}else _0x3d2633[_0xa7535a(0x3b5)](_0x4d5de2[_0xa7535a(0x234)],_0x4d5de2);}),Array[_0x2fd844(0x323)](_0x3d2633['values']());}var E=function(){const _0x489bbc=_0x56af3f;return E=Object[_0x489bbc(0x1fc)]||function(_0x336192){const _0xff2b9a=_0x489bbc;for(var _0x407b7c,_0x3aed0e=0x1,_0x24d2f9=arguments[_0xff2b9a(0x36a)];_0x3aed0e<_0x24d2f9;_0x3aed0e++){_0x407b7c=arguments[_0x3aed0e];for(var _0x3d4455 in _0x407b7c)Object[_0xff2b9a(0x292)][_0xff2b9a(0x372)][_0xff2b9a(0x241)](_0x407b7c,_0x3d4455)&&(_0x336192[_0x3d4455]=_0x407b7c[_0x3d4455]);}return _0x336192;},E[_0x489bbc(0x29c)](this,arguments);},Ot=function(_0x558d86,_0x39d3a1){const _0x51377f=_0x56af3f;var _0x521b61={};for(var _0x58fa3f in _0x558d86)Object['prototype'][_0x51377f(0x372)]['call'](_0x558d86,_0x58fa3f)&&_0x39d3a1[_0x51377f(0x36f)](_0x58fa3f)<0x0&&(_0x521b61[_0x58fa3f]=_0x558d86[_0x58fa3f]);if(_0x558d86!=null&&typeof Object[_0x51377f(0x1db)]==_0x51377f(0x377)){for(var _0x503ef9=0x0,_0x58fa3f=Object[_0x51377f(0x1db)](_0x558d86);_0x503ef9<_0x58fa3f['length'];_0x503ef9++)_0x39d3a1[_0x51377f(0x36f)](_0x58fa3f[_0x503ef9])<0x0&&Object[_0x51377f(0x292)][_0x51377f(0x2ca)]['call'](_0x558d86,_0x58fa3f[_0x503ef9])&&(_0x521b61[_0x58fa3f[_0x503ef9]]=_0x558d86[_0x58fa3f[_0x503ef9]]);}return _0x521b61;},be=M['forwardRef'](function(_0x59440b,_0x3554e6){const _0x37c186=_0x56af3f;var _0x14b23f=_0x59440b[_0x37c186(0x1a5)],_0x23bd1a=_0x59440b['id'],_0x21c293=_0x59440b[_0x37c186(0x1e1)],_0x2da046=_0x59440b[_0x37c186(0x31a)],_0x1b2154=Ot(_0x59440b,[_0x37c186(0x1a5),'id','className',_0x37c186(0x31a)]),_0x4de9e1=_0x37c186(0x1a6)[_0x37c186(0x2f1)](_0x23bd1a,'\x20')[_0x37c186(0x2f1)](_0x21c293||'')[_0x37c186(0x26e)](),_0x41b578=M[_0x37c186(0x1cf)]('_'['concat'](Ut()));return ye(_0x14b23f,''['concat'](_0x23bd1a),{'defIds':_0x14b23f['defIds'],'idSuffix':_0x41b578[_0x37c186(0x1c3)]},E({'ref':_0x3554e6,'className':_0x4de9e1},_0x1b2154),_0x2da046);});function ye(_0x5d375e,_0x2e0cf1,_0xe55435,_0x59e73f,_0x5b9161){const _0x71cfb7=_0x56af3f;return M[_0x71cfb7(0x33a)](_0x5d375e[_0x71cfb7(0x320)],E(E({'key':_0x2e0cf1},Rt(_0x5d375e,_0xe55435,_0x5b9161)),_0x59e73f),(Dt(_0x5d375e,_0xe55435)['children']||[])['map'](function(_0x5b2be7,_0x51440c){const _0x38488c=_0x71cfb7;return ye(_0x5b2be7,''['concat'](_0x2e0cf1,'-')[_0x38488c(0x2f1)](_0x5d375e[_0x38488c(0x320)],'-')[_0x38488c(0x2f1)](_0x51440c),_0xe55435,void 0x0,_0x5b9161);}));}function Rt(_0x34d65d,_0x2f7868,_0x4ecd75){const _0x524e1=_0x56af3f;var _0x50a727=E({},_0x34d65d[_0x524e1(0x1a0)]);_0x4ecd75!=null&&_0x4ecd75[_0x524e1(0x299)]&&_0x50a727[_0x524e1(0x153)]===_0x524e1(0x299)&&(_0x50a727[_0x524e1(0x153)]=_0x4ecd75[_0x524e1(0x299)]),_0x34d65d[_0x524e1(0x320)]==='mask'&&_0x50a727['id']&&(_0x50a727['id']=_0x50a727['id']+_0x2f7868[_0x524e1(0x31f)]),Object[_0x524e1(0x1d9)](_0x50a727)[_0x524e1(0x2eb)](function(_0x1d8499){const _0x4a43f1=_0x524e1;var _0x518433=_0x1d8499[0x0],_0x18c0f6=_0x1d8499[0x1];_0x518433===_0x4a43f1(0x290)&&typeof _0x18c0f6=='string'&&(_0x50a727[_0x518433]=_0x18c0f6[_0x4a43f1(0x190)](/url\(#(.*)\)/,_0x4a43f1(0x1dc)[_0x4a43f1(0x2f1)](_0x2f7868[_0x4a43f1(0x31f)],')')));});var _0x5a3251=_0x2f7868[_0x524e1(0x2c0)];return!_0x5a3251||_0x5a3251[_0x524e1(0x36a)]===0x0||(_0x34d65d[_0x524e1(0x320)]===_0x524e1(0x155)&&_0x50a727[_0x524e1(0x348)]&&(_0x50a727[_0x524e1(0x348)]=_0x50a727[_0x524e1(0x348)]+_0x2f7868[_0x524e1(0x31f)]),Object[_0x524e1(0x1d9)](_0x50a727)[_0x524e1(0x2eb)](function(_0x5ba0d3){const _0x5eecc4=_0x524e1;var _0x4fd044=_0x5ba0d3[0x0],_0x30b9c6=_0x5ba0d3[0x1];typeof _0x30b9c6==_0x5eecc4(0x322)&&(_0x50a727[_0x4fd044]=_0x30b9c6[_0x5eecc4(0x190)](/url\(#(.*)\)/,_0x5eecc4(0x1dc)[_0x5eecc4(0x2f1)](_0x2f7868['idSuffix'],')')));})),_0x50a727;}function Dt(_0x48a0c7,_0x36b2fd){const _0x151956=_0x56af3f;var _0x3db146,_0x544e2d=_0x36b2fd[_0x151956(0x2c0)];return!_0x544e2d||_0x544e2d[_0x151956(0x36a)]===0x0?_0x48a0c7:_0x48a0c7[_0x151956(0x320)]==='defs'&&(!((_0x3db146=_0x48a0c7[_0x151956(0x364)])===null||_0x3db146===void 0x0)&&_0x3db146[_0x151956(0x36a)])?E(E({},_0x48a0c7),{'children':_0x48a0c7[_0x151956(0x364)][_0x151956(0x191)](function(_0x4af775){const _0x1fef50=_0x151956;return typeof _0x4af775[_0x1fef50(0x1a0)]['id']=='string'&&_0x544e2d&&_0x544e2d[_0x1fef50(0x36f)](_0x4af775[_0x1fef50(0x1a0)]['id'])>-0x1?E(E({},_0x4af775),{'attrs':E(E({},_0x4af775['attrs']),{'id':_0x4af775['attrs']['id']+_0x36b2fd['idSuffix']})}):_0x4af775;})}):_0x48a0c7;}function Ut(){const _0x26158e=_0x56af3f;return Math[_0x26158e(0x37b)]()[_0x26158e(0x16f)](0x24)['substring'](0x2,0x8);}be[_0x56af3f(0x312)]=_0x56af3f(0x307);var Nt={'tag':_0x56af3f(0x1f9),'attrs':{'fill':_0x56af3f(0x22d),'viewBox':_0x56af3f(0x25d),'width':_0x56af3f(0x34e),'height':_0x56af3f(0x34e)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x56af3f(0x395),'attrs':{'stroke':_0x56af3f(0x388),'d':_0x56af3f(0x17c),'strokeLinecap':_0x56af3f(0x347),'strokeLinejoin':_0x56af3f(0x347),'strokeWidth':1.2}}]},{'tag':_0x56af3f(0x24e),'attrs':{},'children':[{'tag':_0x56af3f(0x19a),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x56af3f(0x395),'attrs':{'fill':_0x56af3f(0x394),'d':_0x56af3f(0x398)}}]}]}],'defIds':[_0x56af3f(0x1bc)]},$e=M['forwardRef'](function(_0x4afedf,_0x2efe5a){const _0x2fa8e3=_0x56af3f;return M[_0x2fa8e3(0x33a)](be,Object[_0x2fa8e3(0x1fc)]({},_0x4afedf,{'id':'off-line-single','ref':_0x2efe5a,'icon':Nt}));});$e['displayName']=_0x56af3f(0x3a8);var Mt={'tag':_0x56af3f(0x1f9),'attrs':{'fill':'none','viewBox':_0x56af3f(0x25c),'width':_0x56af3f(0x34e),'height':_0x56af3f(0x34e)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x56af3f(0x395),'attrs':{'stroke':'currentColor','d':_0x56af3f(0x386),'strokeLinecap':_0x56af3f(0x347),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x56af3f(0x24e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x56af3f(0x169)},'children':[{'tag':_0x56af3f(0x395),'attrs':{'fill':_0x56af3f(0x394),'d':_0x56af3f(0x398),'transform':_0x56af3f(0x142)}}]}]}],'defIds':[_0x56af3f(0x169)]},xe=M[_0x56af3f(0x1d1)](function(_0x4b10cf,_0x100ba0){const _0x216648=_0x56af3f;return M[_0x216648(0x33a)](be,Object[_0x216648(0x1fc)]({},_0x4b10cf,{'id':_0x216648(0x2c8),'ref':_0x100ba0,'icon':Mt}));});xe['displayName']=_0x56af3f(0x33f);const Lt=_0x56af3f(0x1a9),Pt=_0x56af3f(0x16d),wt='univer-online-status',At='univer-online',yt='univer-offline',H={'onlineStatusIcon':Lt,'onlineStatusTitle':Pt,'onlineStatus':wt,'online':At,'offline':yt};function $t(_0x22de25){const _0x29adaa=_0x56af3f;switch(_0x22de25){case u['CollaborationStatus']['OFFLINE']:return'collabStatus.offline';case u[_0x29adaa(0x384)]['CONFLICT']:return'collabStatus.conflict';case u[_0x29adaa(0x384)][_0x29adaa(0x33b)]:return _0x29adaa(0x32a);case u[_0x29adaa(0x384)]['NOT_COLLAB']:return _0x29adaa(0x16c);case u[_0x29adaa(0x384)][_0x29adaa(0x1d8)]:case u['CollaborationStatus'][_0x29adaa(0x1b6)]:return _0x29adaa(0x296);case u['CollaborationStatus']['SYNCED']:case u[_0x29adaa(0x384)][_0x29adaa(0x17a)]:return'collabStatus.synced';}}function je(_0x1a0465){const _0x2e5bc7=_0x56af3f,{status$:_0x158400}=_0x1a0465,_0x10b0b4=O[_0x2e5bc7(0x14d)](_0x158400,u[_0x2e5bc7(0x384)][_0x2e5bc7(0x3b7)]),_0x205e67=O[_0x2e5bc7(0x29f)](a[_0x2e5bc7(0x1b1)]),_0x2186e4=O['useDependency'](u[_0x2e5bc7(0x231)]),_0x46eaf9=_0x10b0b4!==u['CollaborationStatus'][_0x2e5bc7(0x37e)],_0x4dfbe2=_0x205e67['t']($t(_0x10b0b4)),_0x211c48=T['clsx'](H['onlineStatus'],{[H[_0x2e5bc7(0x200)]]:_0x46eaf9,[H[_0x2e5bc7(0x145)]]:!_0x46eaf9}),_0x4b97d5=_0x46eaf9?P[_0x2e5bc7(0x26b)](xe,{}):P['jsx']($e,{}),_0xf53c0=M[_0x2e5bc7(0x21d)](()=>{_0x46eaf9||_0x2186e4['reconnect']();},[_0x46eaf9,_0x2186e4]);function _0x18814a(){const _0x22c61b=_0x2e5bc7;return P['jsxs']('div',{'className':T[_0x22c61b(0x357)](_0x211c48,_0x22c61b(0x2e0)),'onClick':_0xf53c0,'children':[P['jsx']('div',{'className':H[_0x22c61b(0x218)],'children':_0x4b97d5}),P[_0x22c61b(0x26b)](_0x22c61b(0x222),{'className':H[_0x22c61b(0x35f)],'children':_0x4dfbe2})]});}return _0x46eaf9?_0x18814a():P['jsx'](T['Tooltip'],{'title':_0x205e67['t'](_0x2e5bc7(0x263)),'children':_0x18814a()});}var xt=Object[_0x56af3f(0x162)],jt=(_0x47b78a,_0x326253,_0x43f3b8,_0x4c77a0)=>{for(var _0x5ae8f1=_0x4c77a0>0x1?void 0x0:_0x4c77a0?xt(_0x326253,_0x43f3b8):_0x326253,_0x155901=_0x47b78a['length']-0x1,_0x1872ff;_0x155901>=0x0;_0x155901--)(_0x1872ff=_0x47b78a[_0x155901])&&(_0x5ae8f1=_0x1872ff(_0x5ae8f1)||_0x5ae8f1);return _0x5ae8f1;},X=(_0x349bed,_0x2957f1)=>(_0x5138da,_0x1b9ec4)=>_0x2957f1(_0x5138da,_0x1b9ec4,_0x349bed);exports[_0x56af3f(0x20e)]=class extends a[_0x56af3f(0x27b)]{constructor(_0x2b175b,_0x471e12,_0x2e8283,_0x457ee8){const _0x2cc5f9=_0x56af3f;super(),_(this,_0x2cc5f9(0x146),new d[(_0x2cc5f9(0x3c9))](u[_0x2cc5f9(0x384)]['NOT_COLLAB'])),(this[_0x2cc5f9(0x214)]=_0x2b175b,this['_injector']=_0x471e12,this[_0x2cc5f9(0x18d)]=_0x2e8283,this[_0x2cc5f9(0x36c)]=_0x457ee8,this['_initStatusComponent'](),this[_0x2cc5f9(0x2ab)]());}[_0x56af3f(0x2ab)](){const _0x102151=_0x56af3f;this[_0x102151(0x2a6)](this['_univerInstanceService'][_0x102151(0x2d3)][_0x102151(0x215)](d[_0x102151(0x208)](()=>{const _0x3decb4=_0x102151,_0xa015da=this[_0x3decb4(0x214)]['getFocusedUnit']();return _0xa015da?this['_collaborationController']['getCollabEntity$'](_0xa015da[_0x3decb4(0x2fd)]()):d['of'](null);}),d[_0x102151(0x208)](_0x5b7931=>_0x5b7931?_0x5b7931[_0x102151(0x206)]:d['of'](u[_0x102151(0x384)][_0x102151(0x3b7)])))[_0x102151(0x17d)](_0x4badf7=>{const _0x32497b=_0x102151;this[_0x32497b(0x146)][_0x32497b(0x30b)](_0x4badf7);}));}[_0x56af3f(0x3c3)](){const _0x208442=_0x56af3f;this[_0x208442(0x2a6)](this[_0x208442(0x36c)][_0x208442(0x36d)](O[_0x208442(0x230)][_0x208442(0x2f6)],()=>O[_0x208442(0x38f)](Bt({'status$':this[_0x208442(0x146)][_0x208442(0x2fb)]()}),this[_0x208442(0x3b1)])));}},exports['DesktopCollaborationStatusDisplayController']=jt([X(0x0,a[_0x56af3f(0x3bb)]),X(0x1,a['Inject'](a[_0x56af3f(0x3b6)])),X(0x2,a[_0x56af3f(0x253)](u[_0x56af3f(0x2f9)])),X(0x3,O[_0x56af3f(0x1d4)])],exports['DesktopCollaborationStatusDisplayController']);function _0x408b(_0x54b3ac,_0x1904f9){const _0xcc01b5=_0xcc01();return _0x408b=function(_0x408b31,_0x1628a4){_0x408b31=_0x408b31-0x140;let _0x544c00=_0xcc01b5[_0x408b31];return _0x544c00;},_0x408b(_0x54b3ac,_0x1904f9);}function Bt(_0x513eea){const {status$:_0x519607}=_0x513eea;return function(){const _0x42ef7c=_0x408b;return P[_0x42ef7c(0x26b)](je,{'status$':_0x519607});};}var kt=Object[_0x56af3f(0x162)],Ht=(_0x2eae85,_0x31fdaa,_0x18a3bd,_0x5541c9)=>{const _0x392763=_0x56af3f;for(var _0x559eb9=_0x5541c9>0x1?void 0x0:_0x5541c9?kt(_0x31fdaa,_0x18a3bd):_0x31fdaa,_0x5824e7=_0x2eae85[_0x392763(0x36a)]-0x1,_0x9f492d;_0x5824e7>=0x0;_0x5824e7--)(_0x9f492d=_0x2eae85[_0x5824e7])&&(_0x559eb9=_0x9f492d(_0x559eb9)||_0x559eb9);return _0x559eb9;},y=(_0x2bf6d6,_0x50dc75)=>(_0xf20761,_0x42c28e)=>_0x50dc75(_0xf20761,_0x42c28e,_0x2bf6d6);let z=class extends a[_0x56af3f(0x27b)]{constructor(_0x517c9a,_0x5ac7bc,_0x3e8189,_0x24b33c,_0x2bd9df,_0x461c58){const _0x1e34f4=_0x56af3f;super(),this[_0x1e34f4(0x338)]=_0x517c9a,this[_0x1e34f4(0x269)]=_0x5ac7bc,this[_0x1e34f4(0x38b)]=_0x3e8189,this[_0x1e34f4(0x390)]=_0x24b33c,this[_0x1e34f4(0x3a7)]=_0x2bd9df,this[_0x1e34f4(0x177)]=_0x461c58,this[_0x1e34f4(0x287)](),this[_0x1e34f4(0x2d6)]();}[_0x56af3f(0x287)](){const _0x4cfcf4=_0x56af3f;this[_0x4cfcf4(0x2a6)](this[_0x4cfcf4(0x338)][_0x4cfcf4(0x14f)](()=>{const _0x23ce5c=_0x4cfcf4;if(this[_0x23ce5c(0x269)][_0x23ce5c(0x1ee)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x56af3f(0x2d6)](){const _0xb67c9e=_0x56af3f;this['disposeWithMe'](this[_0xb67c9e(0x38b)][_0xb67c9e(0x360)][_0xb67c9e(0x17d)](_0x317b0f=>{const _0x34826f=_0xb67c9e;_0x317b0f['id']===u['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x34826f(0x390)][_0x34826f(0x24f)]({'type':T[_0x34826f(0x1e6)]['Warning'],'content':this[_0x34826f(0x177)]['t'](_0x34826f(0x1aa))}),_0x317b0f['id']===u['CollaborationUIEventId'][_0x34826f(0x199)]&&this['_messageService'][_0x34826f(0x24f)]({'type':T[_0x34826f(0x1e6)][_0x34826f(0x2da)],'content':this[_0x34826f(0x177)]['t'](_0x34826f(0x319))}),_0x317b0f['id']===u[_0x34826f(0x217)][_0x34826f(0x328)]&&this[_0x34826f(0x3a7)][_0x34826f(0x24f)]({'title':this[_0x34826f(0x177)]['t']('permission.title'),'content':this[_0x34826f(0x177)]['t'](_0x34826f(0x1f4)),'type':_0x34826f(0x252),'duration':0x0}),_0x317b0f['id']===u[_0x34826f(0x217)][_0x34826f(0x20b)]&&this['_messageService'][_0x34826f(0x24f)]({'type':T[_0x34826f(0x1e6)][_0x34826f(0x158)],'content':this[_0x34826f(0x177)]['t'](_0x34826f(0x319))+'('+_0x317b0f[_0x34826f(0x180)]+')'}),_0x317b0f['id']===u['CollaborationUIEventId'][_0x34826f(0x1b0)]&&this[_0x34826f(0x390)]['show']({'type':T[_0x34826f(0x1e6)][_0x34826f(0x2da)],'content':this[_0x34826f(0x177)]['t'](_0x317b0f['data']||'')}),_0x317b0f['id']===u[_0x34826f(0x217)][_0x34826f(0x1e2)]&&this['_messageService'][_0x34826f(0x24f)]({'type':T[_0x34826f(0x1e6)][_0x34826f(0x2da)],'content':this[_0x34826f(0x177)]['t'](_0x34826f(0x2a8))}),_0x317b0f['id']===u[_0x34826f(0x217)]['SOCKET_FAILED']&&this[_0x34826f(0x390)][_0x34826f(0x24f)]({'type':T[_0x34826f(0x1e6)][_0x34826f(0x158)],'content':this[_0x34826f(0x177)]['t'](_0x34826f(0x26d))}),_0x317b0f['id']===u[_0x34826f(0x217)][_0x34826f(0x3a6)]&&this[_0x34826f(0x390)][_0x34826f(0x24f)]({'type':T[_0x34826f(0x1e6)][_0x34826f(0x158)],'content':this['_localeService']['t'](_0x34826f(0x3c8))});}));}};z=Ht([y(0x0,O[_0x56af3f(0x20d)]),y(0x1,u[_0x56af3f(0x141)]),y(0x2,a[_0x56af3f(0x253)](u[_0x56af3f(0x213)])),y(0x3,O['IMessageService']),y(0x4,O[_0x56af3f(0x196)]),y(0x5,a['Inject'](a[_0x56af3f(0x1b1)]))],z);const Ft=_0x56af3f(0x244),Ne={},Ee=a[_0x56af3f(0x2f8)](_0x56af3f(0x262));var Wt=Object[_0x56af3f(0x162)],Yt=(_0x4e2db9,_0x379251,_0x2df1ac,_0x3f85d4)=>{const _0x2c193e=_0x56af3f;for(var _0x3d490d=_0x3f85d4>0x1?void 0x0:_0x3f85d4?Wt(_0x379251,_0x2df1ac):_0x379251,_0x8567ad=_0x4e2db9[_0x2c193e(0x36a)]-0x1,_0x3e65ba;_0x8567ad>=0x0;_0x8567ad--)(_0x3e65ba=_0x4e2db9[_0x8567ad])&&(_0x3d490d=_0x3e65ba(_0x3d490d)||_0x3d490d);return _0x3d490d;},F=(_0x2b9f31,_0x578886)=>(_0x43046c,_0x1e6ee3)=>_0x578886(_0x43046c,_0x1e6ee3,_0x2b9f31);exports[_0x56af3f(0x30a)]=class extends a[_0x56af3f(0x2b9)]{constructor(_0x56b06d,_0x226a12,_0x38024c,_0x938b81,_0x18b2fc){const _0x273bce=_0x56af3f;super(),this['_urlService']=_0x56b06d,this['_logService']=_0x226a12,this[_0x273bce(0x198)]=_0x38024c,this[_0x273bce(0x330)]=_0x938b81,_0x18b2fc?_0x18b2fc==null||_0x18b2fc['whenReady']()['then'](()=>this[_0x273bce(0x39b)]()):(this[_0x273bce(0x3bf)][_0x273bce(0x1b8)](_0x273bce(0x265),_0x273bce(0x2bd)),this[_0x273bce(0x39b)]());}async[_0x56af3f(0x39b)](){const _0x5905a3=_0x56af3f,_0x42a4d6=this[_0x5905a3(0x2a2)]['getParam'](_0x5905a3(0x15b)),_0x58b88a=this['_urlService'][_0x5905a3(0x22c)]('type'),_0x1ef0a5=this[_0x5905a3(0x2a2)][_0x5905a3(0x22c)](_0x5905a3(0x264));if(!_0x42a4d6||!_0x58b88a){this['_logService'][_0x5905a3(0x1b8)](_0x5905a3(0x265),_0x5905a3(0x189));return;}const _0x8f0bbb=await this[_0x5905a3(0x330)][_0x5905a3(0x277)](_0x42a4d6,Number(_0x58b88a),_0x1ef0a5);_0x8f0bbb&&_0x8f0bbb instanceof a[_0x5905a3(0x39d)]&&this[_0x5905a3(0x2bf)](_0x8f0bbb);}async[_0x56af3f(0x2bf)](_0x55df62){const _0x20a145=_0x56af3f;await this[_0x20a145(0x2f0)](_0x55df62),_0x55df62[_0x20a145(0x176)][_0x20a145(0x215)](d[_0x20a145(0x273)](this[_0x20a145(0x170)]))['subscribe'](_0x5733be=>{const _0x1ddd54=_0x20a145;_0x5733be&&this[_0x1ddd54(0x1f0)](_0x5733be);}),this[_0x20a145(0x2a2)][_0x20a145(0x1be)][_0x20a145(0x215)](d[_0x20a145(0x273)](this[_0x20a145(0x170)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x55df62));}[_0x56af3f(0x1f0)](_0x9d729,_0xcbbfc0=!0x1){const _0x18103e=_0x56af3f,_0x2a2e98=this['_urlService'][_0x18103e(0x22c)](_0x18103e(0x264));_0x9d729[_0x18103e(0x22a)]()!==_0x2a2e98&&this['_urlService'][_0x18103e(0x2e8)]('subunit',_0x9d729[_0x18103e(0x22a)](),_0xcbbfc0);}async['_updateSubUnitFromURLParams'](_0x54fe8a){const _0x43ae10=_0x56af3f;var _0x2b055e;const _0x166846=this[_0x43ae10(0x2a2)][_0x43ae10(0x22c)](_0x43ae10(0x264));if(!_0x166846||!_0x54fe8a[_0x43ae10(0x2e3)](_0x166846)){const _0x5c7b08=_0x54fe8a[_0x43ae10(0x2a4)]()[0x0],_0x352c7b=_0x54fe8a[_0x43ae10(0x2e3)](_0x5c7b08);if(!_0x352c7b)return;this[_0x43ae10(0x1f0)](_0x352c7b,!0x0),await this[_0x43ae10(0x198)][_0x43ae10(0x341)](g[_0x43ae10(0x368)]['id'],{'unitId':_0x54fe8a[_0x43ae10(0x2fd)](),'subUnitId':_0x5c7b08});return;}((_0x2b055e=_0x54fe8a[_0x43ae10(0x383)]())==null?void 0x0:_0x2b055e[_0x43ae10(0x22a)]())!==_0x166846&&await this[_0x43ae10(0x198)][_0x43ae10(0x341)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x54fe8a[_0x43ae10(0x2fd)](),'subUnitId':_0x166846});}},exports[_0x56af3f(0x30a)]=Yt([F(0x0,Ee),F(0x1,a[_0x56af3f(0x2f2)]),F(0x2,a[_0x56af3f(0x1f7)]),F(0x3,a[_0x56af3f(0x253)](u[_0x56af3f(0x373)])),F(0x4,a['Optional'](Ke[_0x56af3f(0x2f3)]))],exports[_0x56af3f(0x30a)]);var Vt=Object[_0x56af3f(0x162)],Xt=(_0x19b947,_0x320d1d,_0x3c1ca7,_0x453eff)=>{for(var _0x63c309=_0x453eff>0x1?void 0x0:_0x453eff?Vt(_0x320d1d,_0x3c1ca7):_0x320d1d,_0x15cb14=_0x19b947['length']-0x1,_0x1e40e4;_0x15cb14>=0x0;_0x15cb14--)(_0x1e40e4=_0x19b947[_0x15cb14])&&(_0x63c309=_0x1e40e4(_0x63c309)||_0x63c309);return _0x63c309;},le=(_0x5f2732,_0x1c5dd1)=>(_0x756fd4,_0x1543b8)=>_0x1c5dd1(_0x756fd4,_0x1543b8,_0x5f2732);let J=class{constructor(_0x379f87,_0x325469,_0x55a907){const _0x13409b=_0x56af3f;this['_injector']=_0x379f87,this['_transformService']=_0x325469,this[_0x13409b(0x216)]=_0x55a907;}[_0x56af3f(0x36b)](_0x4b2265){const _0x1733e7=_0x56af3f;this[_0x1733e7(0x35e)](_0x4b2265),this['_transformPreviousActiveRange'](_0x4b2265);}[_0x56af3f(0x391)](_0x39292a){const _0x12dbda=_0x56af3f,{unitID:_0x12e80e}=_0x39292a,_0x3c1d8e=this['_renderManagerService']['getRenderById'](_0x12e80e)[_0x12dbda(0x166)](b[_0x12dbda(0x285)]),{redoCache:_0x528133}=_0x3c1d8e[_0x12dbda(0x3b4)]();if(_0x528133[_0x12dbda(0x36a)]===0x0)return _0x39292a;let _0x57696e=a[_0x12dbda(0x2d7)][_0x12dbda(0x2df)](_0x39292a[_0x12dbda(0x21b)][0x0]);for(let _0x784f08=0x0;_0x784f08<_0x528133['length'];_0x784f08++){const _0x1e5adb={'id':'doc.mutation.rich-text-editing','params':{..._0x528133[_0x784f08]}},_0x2cc470=this['_transformService'][_0x12dbda(0x1e9)](_0x57696e,_0x1e5adb,!0x1);if(m[_0x12dbda(0x2e1)](_0x2cc470))throw _0x2cc470[_0x12dbda(0x252)];_0x57696e=_0x2cc470[_0x12dbda(0x3a0)];}return{...a[_0x12dbda(0x2d7)]['deepClone'](_0x39292a),'mutations':[_0x57696e]};}[_0x56af3f(0x35e)](_0x5ebacb){const _0x15e99e=_0x56af3f,{unitID:_0x4fac7d}=_0x5ebacb,_0x2da153=this[_0x15e99e(0x216)][_0x15e99e(0x39f)](_0x4fac7d)['with'](b['DocIMEInputManagerService']),{undoCache:_0x208465,redoCache:_0x5b11ad}=_0x2da153['getUndoRedoMutationParamsCache']();if(_0x208465[_0x15e99e(0x36a)]===0x0||_0x5b11ad[_0x15e99e(0x36a)]===0x0)return;const _0xa9c20d=[],_0x16c060=[];let _0x4ce89a=a[_0x15e99e(0x2d7)][_0x15e99e(0x2df)](_0x5ebacb[_0x15e99e(0x21b)][0x0]),_0x37550c=a['Tools'][_0x15e99e(0x2df)](_0x5ebacb[_0x15e99e(0x21b)][0x0]);for(let _0x3414e8=_0x208465['length']-0x1;_0x3414e8>=0x0;_0x3414e8--){const _0x42b772={'id':_0x15e99e(0x14a),'params':{..._0x208465[_0x3414e8]}},_0x110191={'id':'doc.mutation.rich-text-editing','params':{..._0x5b11ad[_0x3414e8]}},_0xb68748=this[_0x15e99e(0x1dd)]['transformMutation'](_0x4ce89a,_0x42b772,!0x1),_0x1bf56e=this[_0x15e99e(0x1dd)]['transformMutation'](_0x37550c,_0x110191,!0x1);if(m[_0x15e99e(0x2e1)](_0xb68748))throw _0xb68748['error'];if(m[_0x15e99e(0x2e1)](_0x1bf56e))throw _0x1bf56e[_0x15e99e(0x252)];_0xa9c20d[_0x15e99e(0x2c6)](_0xb68748[_0x15e99e(0x193)]['params']),_0x16c060['unshift'](_0x1bf56e[_0x15e99e(0x193)][_0x15e99e(0x1f8)]),_0x4ce89a=_0xb68748[_0x15e99e(0x3a0)],_0x37550c=_0x1bf56e[_0x15e99e(0x3a0)];}_0x2da153[_0x15e99e(0x25b)]({'undoCache':_0xa9c20d,'redoCache':_0x16c060});}[_0x56af3f(0x1af)](_0x504f24){const _0x2c634b=_0x56af3f,{unitID:_0x2a059a}=_0x504f24,_0x1c81b2=this[_0x2c634b(0x216)][_0x2c634b(0x39f)](_0x2a059a)[_0x2c634b(0x166)](b[_0x2c634b(0x285)]),_0x573181=_0x1c81b2['getActiveRange']();if(_0x573181==null)return;const _0x3c51b2=[{'id':_0x2c634b(0x14a),'params':{'unitId':_0x504f24[_0x2c634b(0x1cb)],'actions':null,'textRanges':[_0x573181]}}],_0x2076ad=this[_0x2c634b(0x1dd)][_0x2c634b(0x376)](_0x504f24,_0x3c51b2);if(!m[_0x2c634b(0x21c)](_0x2076ad))throw _0x2076ad[_0x2c634b(0x252)];const _0x62c81d=_0x2076ad[_0x2c634b(0x193)][0x0]['params']['textRanges'];Array[_0x2c634b(0x22f)](_0x62c81d)&&_0x62c81d[_0x2c634b(0x36a)]&&_0x1c81b2['setActiveRange'](_0x62c81d[0x0]);}};J=Xt([le(0x0,a[_0x56af3f(0x253)](a[_0x56af3f(0x3b6)])),le(0x1,m[_0x56af3f(0x275)]),le(0x2,p[_0x56af3f(0x3a2)])],J);var Gt=Object[_0x56af3f(0x162)],qt=(_0x18475c,_0x30be89,_0x486256,_0x16ad4c)=>{const _0x9451d2=_0x56af3f;for(var _0x15078e=_0x16ad4c>0x1?void 0x0:_0x16ad4c?Gt(_0x30be89,_0x486256):_0x30be89,_0x3757fa=_0x18475c[_0x9451d2(0x36a)]-0x1,_0x1d1d94;_0x3757fa>=0x0;_0x3757fa--)(_0x1d1d94=_0x18475c[_0x3757fa])&&(_0x15078e=_0x1d1d94(_0x15078e)||_0x15078e);return _0x15078e;},_e=(_0xa23e2f,_0x2a8f75)=>(_0x27964d,_0x6a96b2)=>_0x2a8f75(_0x27964d,_0x6a96b2,_0xa23e2f);let Z=class{constructor(_0x463cb9,_0xde4c94,_0x44746d){const _0x36b31f=_0x56af3f;this[_0x36b31f(0x3b1)]=_0x463cb9,this[_0x36b31f(0x1dd)]=_0xde4c94,this[_0x36b31f(0x1cd)]=_0x44746d;}[_0x56af3f(0x15d)](_0x3282a3){this['_transformHistoryAndStateStack'](_0x3282a3);}[_0x56af3f(0x391)](_0x4ac2b6){const _0x585920=_0x56af3f,{unitID:_0x20da16}=_0x4ac2b6,{collaboration:_0x2bbdb3}=this[_0x585920(0x1cd)][_0x585920(0x240)](_0x20da16);if(_0x2bbdb3[_0x585920(0x36a)]===0x0)return _0x4ac2b6;let _0x276646=a[_0x585920(0x2d7)][_0x585920(0x2df)](_0x4ac2b6[_0x585920(0x21b)][0x0]);for(let _0x61749c=0x0;_0x61749c<_0x2bbdb3[_0x585920(0x36a)];_0x61749c++){const _0x2fe50e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2bbdb3[_0x61749c]['unitId'],..._0x2bbdb3[_0x61749c]['redoState']}},_0x29779d=this['_transformService'][_0x585920(0x1e9)](_0x276646,_0x2fe50e,!0x1);if(m[_0x585920(0x2e1)](_0x29779d))throw _0x29779d[_0x585920(0x252)];_0x276646=_0x29779d[_0x585920(0x3a0)];}return{...a['Tools'][_0x585920(0x2df)](_0x4ac2b6),'mutations':[_0x276646]};}[_0x56af3f(0x175)](_0x50af5f){const _0x1aa663=_0x56af3f,{unitID:_0x10676}=_0x50af5f,{history:_0x2666c8,collaboration:_0x438f7e}=this['_docStateChangeManagerService']['getStateCache'](_0x10676);if(_0x2666c8['length']===0x0&&_0x438f7e[_0x1aa663(0x36a)]===0x0)return;const _0x349403=[],_0xc1b21e=[];let _0x43fca1=a[_0x1aa663(0x2d7)][_0x1aa663(0x2df)](_0x50af5f[_0x1aa663(0x21b)][0x0]),_0x55042d=a['Tools'][_0x1aa663(0x2df)](_0x50af5f[_0x1aa663(0x21b)][0x0]);for(let _0x545ce5=_0x2666c8[_0x1aa663(0x36a)]-0x1;_0x545ce5>=0x0;_0x545ce5--){const _0x222834={'id':_0x1aa663(0x14a),'params':{'unitId':_0x2666c8[_0x545ce5][_0x1aa663(0x24a)],..._0x2666c8[_0x545ce5][_0x1aa663(0x2b7)]}},_0xfbf0ca={'id':_0x1aa663(0x14a),'params':{'unitId':_0x2666c8[_0x545ce5][_0x1aa663(0x24a)],..._0x2666c8[_0x545ce5][_0x1aa663(0x306)]}},_0xa6b0b7=this['_transformService']['transformMutation'](_0x43fca1,_0x222834,!0x1),_0x5427a9=this['_transformService'][_0x1aa663(0x1e9)](_0x55042d,_0xfbf0ca,!0x1);if(m[_0x1aa663(0x2e1)](_0xa6b0b7))throw _0xa6b0b7['error'];if(m[_0x1aa663(0x2e1)](_0x5427a9))throw _0x5427a9[_0x1aa663(0x252)];_0x349403[_0x1aa663(0x2c6)]({..._0x2666c8[_0x545ce5],'undoState':_0xa6b0b7['m2Prime'][_0x1aa663(0x1f8)],'redoState':_0x5427a9[_0x1aa663(0x193)][_0x1aa663(0x1f8)]}),_0x43fca1=_0xa6b0b7[_0x1aa663(0x3a0)],_0x55042d=_0x5427a9['m1Prime'];}_0x43fca1=a[_0x1aa663(0x2d7)][_0x1aa663(0x2df)](_0x50af5f[_0x1aa663(0x21b)][0x0]),_0x55042d=a[_0x1aa663(0x2d7)][_0x1aa663(0x2df)](_0x50af5f['mutations'][0x0]);for(let _0x278794=_0x438f7e[_0x1aa663(0x36a)]-0x1;_0x278794>=0x0;_0x278794--){const _0x18a928={'id':_0x1aa663(0x14a),'params':{'unitId':_0x438f7e[_0x278794][_0x1aa663(0x24a)],..._0x438f7e[_0x278794][_0x1aa663(0x2b7)]}},_0x59776c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x438f7e[_0x278794][_0x1aa663(0x24a)],..._0x438f7e[_0x278794][_0x1aa663(0x306)]}},_0x1d2312=this[_0x1aa663(0x1dd)][_0x1aa663(0x1e9)](_0x43fca1,_0x18a928,!0x1),_0x59cbf0=this['_transformService'][_0x1aa663(0x1e9)](_0x55042d,_0x59776c,!0x1);if(m[_0x1aa663(0x2e1)](_0x1d2312))throw _0x1d2312[_0x1aa663(0x252)];if(m[_0x1aa663(0x2e1)](_0x59cbf0))throw _0x59cbf0[_0x1aa663(0x252)];_0xc1b21e['unshift']({..._0x438f7e[_0x278794],'undoState':_0x1d2312[_0x1aa663(0x193)][_0x1aa663(0x1f8)],'redoState':_0x59cbf0[_0x1aa663(0x193)][_0x1aa663(0x1f8)]}),_0x43fca1=_0x1d2312['m1Prime'],_0x55042d=_0x59cbf0['m1Prime'];}this['_docStateChangeManagerService'][_0x1aa663(0x37a)](_0x10676,{'history':_0x349403,'collaboration':_0xc1b21e});}};Z=qt([_e(0x0,a[_0x56af3f(0x253)](a[_0x56af3f(0x3b6)])),_e(0x1,m['ITransformService']),_e(0x2,a[_0x56af3f(0x253)](b[_0x56af3f(0x207)]))],Z);var Kt=Object[_0x56af3f(0x162)],zt=(_0x191ad9,_0x5d4e00,_0x5dc90a,_0xfa128e)=>{for(var _0x2d8a4d=_0xfa128e>0x1?void 0x0:_0xfa128e?Kt(_0x5d4e00,_0x5dc90a):_0x5d4e00,_0x1261b1=_0x191ad9['length']-0x1,_0x2c72bc;_0x1261b1>=0x0;_0x1261b1--)(_0x2c72bc=_0x191ad9[_0x1261b1])&&(_0x2d8a4d=_0x2c72bc(_0x2d8a4d)||_0x2d8a4d);return _0x2d8a4d;},Me=(_0xb5cbf5,_0x35334c)=>(_0x15c4d3,_0xf40209)=>_0x35334c(_0x15c4d3,_0xf40209,_0xb5cbf5);let Q=class{constructor(_0x25ddcd,_0x238987){const _0x43f905=_0x56af3f;this[_0x43f905(0x3b1)]=_0x25ddcd,this[_0x43f905(0x1dd)]=_0x238987;}[_0x56af3f(0x378)](_0x4b419f){const _0x2bcadd=_0x56af3f;var _0x5ef6bb;const _0x3d117b=this[_0x2bcadd(0x3b1)]['get'](Y[_0x2bcadd(0x22b)]),_0x409191=(_0x5ef6bb=_0x3d117b[_0x2bcadd(0x2dd)]())!=null?_0x5ef6bb:[];if(_0x409191[_0x2bcadd(0x36a)]===0x0)return;const _0x23e26f=_0x4b419f[_0x2bcadd(0x1cb)],_0x4d2fe2=[{'id':_0x2bcadd(0x14a),'params':{'unitId':_0x23e26f,'actions':null,'textRanges':_0x409191}}],_0x2bbcac=this['_transformService'][_0x2bcadd(0x376)](_0x4b419f,_0x4d2fe2);if(!m[_0x2bcadd(0x21c)](_0x2bbcac))throw _0x2bbcac[_0x2bcadd(0x252)];const _0x22ac1e=_0x2bbcac['m2Prime'][0x0][_0x2bcadd(0x1f8)][_0x2bcadd(0x1b7)];Array['isArray'](_0x22ac1e)&&_0x22ac1e[_0x2bcadd(0x36a)]&&_0x3d117b[_0x2bcadd(0x1e5)](_0x22ac1e,{'unitId':_0x23e26f,'subUnitId':_0x23e26f},!0x1);}};Q=zt([Me(0x0,a[_0x56af3f(0x253)](a['Injector'])),Me(0x1,m[_0x56af3f(0x275)])],Q);var Jt=Object['getOwnPropertyDescriptor'],Zt=(_0xab4d82,_0x10854f,_0x2d5e21,_0x1e472b)=>{const _0x2307a0=_0x56af3f;for(var _0x1d853a=_0x1e472b>0x1?void 0x0:_0x1e472b?Jt(_0x10854f,_0x2d5e21):_0x10854f,_0x1b577c=_0xab4d82[_0x2307a0(0x36a)]-0x1,_0xe5d8b;_0x1b577c>=0x0;_0x1b577c--)(_0xe5d8b=_0xab4d82[_0x1b577c])&&(_0x1d853a=_0xe5d8b(_0x1d853a)||_0x1d853a);return _0x1d853a;},N=(_0x175818,_0x179d3c)=>(_0x955a91,_0x13c02e)=>_0x179d3c(_0x955a91,_0x13c02e,_0x175818);let ee=class extends a[_0x56af3f(0x27b)]{constructor(_0x2a87bb,_0x1ae52f,_0x1943ed,_0x6cc8a7,_0x3ba219,_0x3a8676,_0x37030b,_0x52b131){const _0xe7d42d=_0x56af3f;super(),_(this,'_status$',new d[(_0xe7d42d(0x3c9))](u[_0xe7d42d(0x384)][_0xe7d42d(0x3b7)])),(this['_docStateChangeManagerService']=_0x2a87bb,this[_0xe7d42d(0x18d)]=_0x1ae52f,this['_docTransformIMECacheService']=_0x1943ed,this[_0xe7d42d(0x389)]=_0x6cc8a7,this[_0xe7d42d(0x30f)]=_0x3ba219,this[_0xe7d42d(0x3bc)]=_0x3a8676,this[_0xe7d42d(0x390)]=_0x37030b,this[_0xe7d42d(0x177)]=_0x52b131,this[_0xe7d42d(0x2f4)]());}['_initEntityListener'](){const _0x2579e7=_0x56af3f;this[_0x2579e7(0x2a6)](this[_0x2579e7(0x18d)][_0x2579e7(0x333)][_0x2579e7(0x17d)](_0x5271a5=>{const _0x498ba1=_0x2579e7,_0x3b28d5=this[_0x498ba1(0x1cd)][_0x498ba1(0x32e)][_0x498ba1(0x17d)](_0x5d543a=>{const _0x2bb118=_0x498ba1;if(_0x5d543a==null)return;const {unitId:_0x427055,redoState:_0x159114,commandId:_0x4b6c50}=_0x5d543a;if(_0x427055!==_0x5271a5[_0x2bb118(0x1cb)])return;const _0x910005={'id':_0x4b6c50,'type':a[_0x2bb118(0x18f)]['MUTATION'],'params':{'unitId':_0x427055,'actions':_0x159114[_0x2bb118(0x159)],'textRanges':null}};_0x5271a5[_0x2bb118(0x27d)](_0x910005);});if(_0x5271a5[_0x498ba1(0x2a6)](_0x3b28d5),_0x5271a5 instanceof u[_0x498ba1(0x1d3)]){const _0x1c2326={'onTransformIME':_0x8cef6=>this['_docTransformIMECacheService']['transformIMECache'](_0x8cef6),'onTransformState':_0xca802f=>this['_docTransformStateCacheService'][_0x498ba1(0x15d)](_0xca802f),'onTransformSelections':_0x35b3fa=>this[_0x498ba1(0x30f)][_0x498ba1(0x378)](_0x35b3fa),'onSyncEditingCollabCursor':_0x576b91=>this[_0x498ba1(0x3bc)][_0x498ba1(0x181)](_0x576b91),'onTransformRemoteChangesetByIMECache':_0x46825d=>this[_0x498ba1(0x211)][_0x498ba1(0x391)](_0x46825d),'onTransformRemoteChangesetByStateCache':_0x2bf479=>this[_0x498ba1(0x389)][_0x498ba1(0x391)](_0x2bf479)};_0x5271a5[_0x498ba1(0x284)](_0x1c2326);}}));}};ee=Zt([N(0x0,a[_0x56af3f(0x253)](b['DocStateChangeManagerService'])),N(0x1,a[_0x56af3f(0x253)](u['CollaborationController'])),N(0x2,a[_0x56af3f(0x253)](J)),N(0x3,a[_0x56af3f(0x253)](Z)),N(0x4,a[_0x56af3f(0x253)](Q)),N(0x5,a[_0x56af3f(0x253)](pe)),N(0x6,O[_0x56af3f(0x354)]),N(0x7,a[_0x56af3f(0x253)](a[_0x56af3f(0x1b1)]))],ee);var Qt=Object[_0x56af3f(0x162)],es=(_0x4a6505,_0x5d6a53,_0x376a2c,_0x1a1f56)=>{const _0x765e6d=_0x56af3f;for(var _0x421ddc=_0x1a1f56>0x1?void 0x0:_0x1a1f56?Qt(_0x5d6a53,_0x376a2c):_0x5d6a53,_0x1af678=_0x4a6505[_0x765e6d(0x36a)]-0x1,_0x5ebb49;_0x1af678>=0x0;_0x1af678--)(_0x5ebb49=_0x4a6505[_0x1af678])&&(_0x421ddc=_0x5ebb49(_0x421ddc)||_0x421ddc);return _0x421ddc;},he=(_0x33da24,_0x4534df)=>(_0x32d480,_0x5d5417)=>_0x4534df(_0x32d480,_0x5d5417,_0x33da24);let me=class extends a[_0x56af3f(0x27b)]{constructor(_0x2121d6,_0x56d3b9,_0x4289f5){const _0x3de96d=_0x56af3f;super(),_(this,_0x3de96d(0x178),new Map()),_(this,_0x3de96d(0x355),new Map()),_(this,_0x3de96d(0x15c),!0x1),(this[_0x3de96d(0x20a)]=_0x2121d6,this[_0x3de96d(0x2b4)]=_0x56d3b9,this[_0x3de96d(0x2ae)]=_0x4289f5);}['disableLocalCache'](){const _0x480058=_0x56af3f;this[_0x480058(0x15c)]=!0x0;}[_0x56af3f(0x26c)](){const _0x596d88=_0x56af3f;this[_0x596d88(0x15c)]=!0x1;}get[_0x56af3f(0x1ee)](){return this['_saveTaskMap'];}[_0x56af3f(0x3bd)](){const _0x46b80b=_0x56af3f;this[_0x46b80b(0x1c9)]()[_0x46b80b(0x1a2)](()=>super[_0x46b80b(0x3bd)]());}async[_0x56af3f(0x2b2)](_0x24e6b1){const _0x1dbdad=_0x56af3f;return this['_disabled']?null:this[_0x1dbdad(0x2b4)][_0x1dbdad(0x161)](u[_0x1dbdad(0x3ac)](_0x24e6b1));}async[_0x56af3f(0x1e0)](_0x335797,_0x2ff745){const _0x321a2b=_0x56af3f;return!!this[_0x321a2b(0x2b4)][_0x321a2b(0x2e6)](_0x335797,_0x2ff745);}[_0x56af3f(0x18b)](_0x76f155,_0x37bf75,_0x29380c,_0x5ea086){const _0x34e939=_0x56af3f,_0x65d2cf=this[_0x34e939(0x2ae)]['getCurrentRevOfUnit'](_0x76f155);this[_0x34e939(0x178)][_0x34e939(0x3b5)](_0x76f155,{'unitID':_0x76f155,'type':_0x37bf75,'awaitingChangeset':_0x29380c,'mutations':_0x5ea086,'rev':_0x65d2cf}),this[_0x34e939(0x355)]['has'](_0x76f155)||this[_0x34e939(0x1cc)](_0x76f155);}[_0x56af3f(0x1cc)](_0x2e3f18){const _0x50a61a=_0x56af3f,_0x554385=this['_getSaveTimeout']();_0x554385===0x0?this['_saveCache'](_0x2e3f18):this[_0x50a61a(0x355)][_0x50a61a(0x3b5)](_0x2e3f18,setTimeout(()=>this[_0x50a61a(0x1c6)](_0x2e3f18),_0x554385));}[_0x56af3f(0x245)](){const _0x247ddd=_0x56af3f;var _0x18db6e;return(_0x18db6e=this[_0x247ddd(0x20a)]['getConfig'](u[_0x247ddd(0x16a)]))!=null?_0x18db6e:u[_0x247ddd(0x3ad)];}[_0x56af3f(0x1c6)](_0x21a077){const _0x475059=_0x56af3f,_0xc85a21=this[_0x475059(0x355)][_0x475059(0x302)](_0x21a077);return _0xc85a21!==void 0x0&&window[_0x475059(0x298)](_0xc85a21),this['_localStorageService'][_0x475059(0x2e6)](u[_0x475059(0x3ac)](_0x21a077),this[_0x475059(0x178)][_0x475059(0x302)](_0x21a077))[_0x475059(0x1a2)](()=>this[_0x475059(0x355)]['delete'](_0x21a077));}async[_0x56af3f(0x1c9)](){const _0x3c86f0=_0x56af3f,_0x233e91=[];this['_saveTaskMap'][_0x3c86f0(0x2eb)]((_0x330688,_0xd159f6)=>{const _0x3ca99a=_0x3c86f0;window[_0x3ca99a(0x298)](_0x330688),_0x233e91[_0x3ca99a(0x366)](this['_saveCache'](_0xd159f6)[_0x3ca99a(0x1a2)](()=>{const _0x389d42=_0x3ca99a;this[_0x389d42(0x355)][_0x389d42(0x2d8)](_0xd159f6);}));}),await Promise['all'](_0x233e91);}};me=es([he(0x0,a[_0x56af3f(0x2c7)]),he(0x1,a[_0x56af3f(0x28f)]),he(0x2,a[_0x56af3f(0x253)](m[_0x56af3f(0x26f)]))],me);class Be extends a[_0x56af3f(0x2b9)]{constructor(){const _0x10d1f2=_0x56af3f;super(),_(this,_0x10d1f2(0x1be)),this[_0x10d1f2(0x1be)]=d[_0x10d1f2(0x14b)](window,'popstate')[_0x10d1f2(0x215)](d['takeUntil'](this[_0x10d1f2(0x170)]),d[_0x10d1f2(0x301)](0x1),d[_0x10d1f2(0x1c2)](void 0x0));}['setParam'](_0x37a727,_0x36af75,_0x1b58bf=!0x1){const _0x1e4320=_0x56af3f,_0x439fa9=new URL(window['location'][_0x1e4320(0x19d)]);_0x439fa9['searchParams'][_0x1e4320(0x3b5)](_0x37a727,_0x36af75),_0x1b58bf?window[_0x1e4320(0x1b5)][_0x1e4320(0x224)]('','',_0x439fa9['toString']()):window['history']['pushState']('','',_0x439fa9[_0x1e4320(0x16f)]());}[_0x56af3f(0x37d)](_0x27d255,_0x3edef9=!0x1){const _0x3586ef=_0x56af3f,_0x1dc8b9=new URL(window['location'][_0x3586ef(0x19d)]);_0x1dc8b9['searchParams'][_0x3586ef(0x2d8)](_0x27d255),_0x3edef9?window[_0x3586ef(0x1b5)][_0x3586ef(0x224)]('','',_0x1dc8b9[_0x3586ef(0x16f)]()):window[_0x3586ef(0x1b5)][_0x3586ef(0x2be)]('','',_0x1dc8b9[_0x3586ef(0x16f)]());}[_0x56af3f(0x22c)](_0x3c3455){const _0x584b1e=_0x56af3f;var _0x25c2f6;return(_0x25c2f6=new URL(window[_0x584b1e(0x3c6)][_0x584b1e(0x19d)])[_0x584b1e(0x387)][_0x584b1e(0x302)](_0x3c3455))!=null?_0x25c2f6:void 0x0;}}var ts=Object[_0x56af3f(0x2ec)],ss=Object[_0x56af3f(0x162)],ns=(_0xb223cc,_0x5eccc8,_0x5ac49e)=>_0x5eccc8 in _0xb223cc?ts(_0xb223cc,_0x5eccc8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ac49e}):_0xb223cc[_0x5eccc8]=_0x5ac49e,is=(_0x4f0b63,_0xd17ef8,_0x515dae,_0x237fee)=>{const _0x11eee9=_0x56af3f;for(var _0x3aac5c=_0x237fee>0x1?void 0x0:_0x237fee?ss(_0xd17ef8,_0x515dae):_0xd17ef8,_0xf59a7d=_0x4f0b63[_0x11eee9(0x36a)]-0x1,_0x368dd0;_0xf59a7d>=0x0;_0xf59a7d--)(_0x368dd0=_0x4f0b63[_0xf59a7d])&&(_0x3aac5c=_0x368dd0(_0x3aac5c)||_0x3aac5c);return _0x3aac5c;},ue=(_0x5be1af,_0x95f28)=>(_0x4c9e87,_0x280dae)=>_0x95f28(_0x4c9e87,_0x280dae,_0x5be1af),rs=(_0x4167f8,_0x3c0d40,_0x3c5fe7)=>ns(_0x4167f8,_0x3c0d40+'',_0x3c5fe7);const os=_0x56af3f(0x2c4);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x56af3f(0x25a)]{constructor(_0x447f1d=Ne,_0x1d46d3,_0x14d689,_0x39c40e){const _0x56d84e=_0x56af3f;super(),this['_config']=_0x447f1d,this[_0x56d84e(0x216)]=_0x1d46d3,this['_injector']=_0x14d689,this[_0x56d84e(0x20a)]=_0x39c40e;const {..._0x2bbe18}=a[_0x56d84e(0x33c)]({},Ne,this['_config']);this[_0x56d84e(0x20a)][_0x56d84e(0x171)](Ft,_0x2bbe18);}[_0x56af3f(0x3aa)](){const _0x57bc07=_0x56af3f;this[_0x57bc07(0x1df)](),this[_0x57bc07(0x18a)]();}['onRendered'](){const _0x2ac93e=_0x56af3f;this[_0x2ac93e(0x2d9)]();}[_0x56af3f(0x1df)](){const _0x1cb0f9=_0x56af3f;var _0x4a3d03;const _0x2d55f7=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':Be}],[q['ISocketService'],{'useClass':q[_0x1cb0f9(0x235)]}],[u['ILocalCacheService'],{'useClass':me}],[exports[_0x1cb0f9(0x20e)]],[ee],[z],[x],[fe],[exports[_0x1cb0f9(0x30a)]]];a[_0x1cb0f9(0x24d)](this[_0x1cb0f9(0x3b1)],a['mergeOverrideWithDependencies'](_0x2d55f7,(_0x4a3d03=this['_config'])==null?void 0x0:_0x4a3d03['override']));}[_0x56af3f(0x2d9)](){const _0x3205ee=_0x56af3f;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](a[_0x3205ee(0x246)][_0x3205ee(0x188)],[ve])),this[_0x3205ee(0x2a6)](this[_0x3205ee(0x216)]['registerRenderModule'](a['UniverInstanceType'][_0x3205ee(0x32b)],[ge]));}[_0x56af3f(0x18a)](){const _0x2c6f97=_0x56af3f;a[_0x2c6f97(0x30d)](this[_0x2c6f97(0x3b1)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x2c6f97(0x30a)]]]);}},rs(exports['UniverCollaborationClientUIPlugin'],'pluginName',os),exports['UniverCollaborationClientUIPlugin']=is([a[_0x56af3f(0x1d7)](u[_0x56af3f(0x283)]),ue(0x1,p[_0x56af3f(0x3a2)]),ue(0x2,a[_0x56af3f(0x253)](a['Injector'])),ue(0x3,a['IConfigService'])],exports['UniverCollaborationClientUIPlugin']);var as=Object[_0x56af3f(0x162)],cs=(_0x331658,_0x549365,_0x3572dc,_0x1c696b)=>{const _0x514778=_0x56af3f;for(var _0x21246d=_0x1c696b>0x1?void 0x0:_0x1c696b?as(_0x549365,_0x3572dc):_0x549365,_0x19e905=_0x331658[_0x514778(0x36a)]-0x1,_0x1f2671;_0x19e905>=0x0;_0x19e905--)(_0x1f2671=_0x331658[_0x19e905])&&(_0x21246d=_0x1f2671(_0x21246d)||_0x21246d);return _0x21246d;},W=(_0x386c9f,_0x8d2f96)=>(_0xf8a6c,_0x882ab2)=>_0x8d2f96(_0xf8a6c,_0x882ab2,_0x386c9f);exports[_0x56af3f(0x2c9)]=class extends u[_0x56af3f(0x2d0)]{constructor(_0x3aa7fa,_0x315394,_0xc0623a,_0x365a4c,_0x13e11c){super(_0x3aa7fa,_0x315394,_0xc0623a,_0x365a4c,_0x13e11c);}async[_0x56af3f(0x28c)](_0x2b950a){const _0x57d971=_0x56af3f,_0x1e3e9f=await this[_0x57d971(0x157)](),_0x2c29dd=this[_0x57d971(0x2ff)](_0x2b950a,_0x1e3e9f);return this[_0x57d971(0x289)](_0x2c29dd);}[_0x56af3f(0x2ff)](_0x43ca6b,_0xf108db){const _0x4e75f7=_0x56af3f,_0x1b5edb=typeof window>'u'?new URL(_0x43ca6b):new URL(_0x43ca6b,window[_0x4e75f7(0x3c6)]['origin']);_0x1b5edb[_0x4e75f7(0x387)][_0x4e75f7(0x3b5)](_0x4e75f7(0x149),_0xf108db);const _0x549be3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4e75f7(0x3c6)][_0x4e75f7(0x1ed)]);return _0x549be3[_0x4e75f7(0x302)]('runId')&&_0x1b5edb[_0x4e75f7(0x387)][_0x4e75f7(0x3b5)](_0x4e75f7(0x281),_0x549be3[_0x4e75f7(0x302)](_0x4e75f7(0x281))),_0x1b5edb[_0x4e75f7(0x16f)]();}async[_0x56af3f(0x157)](){const _0x56c525=_0x56af3f;var _0x52b0b7,_0x32d9ad,_0x42697b;const _0x5842fc=this[_0x56c525(0x20a)]['getConfig'](u[_0x56c525(0x18c)]),_0x2acc44=(_0x52b0b7=_0x5842fc==null?void 0x0:_0x5842fc[_0x56c525(0x237)])!=null?_0x52b0b7:u[_0x56c525(0x1d0)];return(_0x42697b=(_0x32d9ad=(await this[_0x56c525(0x37f)][_0x56c525(0x302)](_0x2acc44,{'headers':{'Content-Type':_0x56c525(0x314)}}))[_0x56c525(0x2a5)])==null?void 0x0:_0x32d9ad[_0x56c525(0x192)])!=null?_0x42697b:'';}},exports['BrowserCollaborationSocketService']=cs([W(0x0,a[_0x56af3f(0x253)](a[_0x56af3f(0x3b6)])),W(0x1,a[_0x56af3f(0x253)](q['HTTPService'])),W(0x2,a['IConfigService']),W(0x3,a['ILogService']),W(0x4,m[_0x56af3f(0x2bc)])],exports['BrowserCollaborationSocketService']);const Le=0x7530,Pe=_0x56af3f(0x238);class ls extends a[_0x56af3f(0x27b)]{constructor(){const _0x500a66=_0x56af3f;super(),_(this,_0x500a66(0x2a9),a['generateRandomId']()),_(this,_0x500a66(0x297),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x500a66(0x3cd),null),_(this,_0x500a66(0x267),new Map()),_(this,_0x500a66(0x271),new Map()),this[_0x500a66(0x39b)]();}['dispose'](){const _0xf2c50=_0x56af3f;super[_0xf2c50(0x3bd)](),this[_0xf2c50(0x267)]['forEach']((_0x130eb3,_0x58b31c)=>this[_0xf2c50(0x19c)](_0x58b31c)),this[_0xf2c50(0x3cd)]&&window['clearInterval'](this[_0xf2c50(0x3cd)]);}[_0x56af3f(0x300)](_0xfffb40){const _0x1882d4=_0x56af3f;return this[_0x1882d4(0x375)](_0xfffb40)['pipe'](d['distinctUntilChanged']());}[_0x56af3f(0x38a)](_0x2524e2){const _0x422403=_0x56af3f;this[_0x422403(0x297)][_0x422403(0x173)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x2524e2),this[_0x422403(0x293)]({'type':0x0,'memberID':this[_0x422403(0x2a9)],'unitIDs':[_0x2524e2],'isForwarded':!0x1});}[_0x56af3f(0x343)](_0x6d44a7){const _0xbfe216=_0x56af3f;this[_0xbfe216(0x297)][_0xbfe216(0x2d8)](_0x6d44a7),this['_selfUnitIDs'][_0xbfe216(0x173)]===0x0&&this[_0xbfe216(0x3cd)]&&window[_0xbfe216(0x29e)](this[_0xbfe216(0x3cd)]);}[_0x56af3f(0x39b)](){const _0x43daff=_0x56af3f;this[_0x43daff(0x2a6)](a[_0x43daff(0x353)](d[_0x43daff(0x14b)](window,_0x43daff(0x184))['subscribe'](_0x3e27a9=>{const _0x564185=_0x43daff;if(_0x3e27a9[_0x564185(0x2ee)]!==Pe||!_0x3e27a9[_0x564185(0x1f3)])return;const _0x483c17=JSON[_0x564185(0x1de)](_0x3e27a9[_0x564185(0x1f3)]);this[_0x564185(0x1e7)](_0x483c17);}))),window[_0x43daff(0x163)](_0x43daff(0x14c),()=>this[_0x43daff(0x293)]({'type':0x1,'memberID':this[_0x43daff(0x2a9)],'unitIDs':Array[_0x43daff(0x323)](this[_0x43daff(0x297)])}));}[_0x56af3f(0x1e7)](_0x5dd752){const _0x3d41d3=_0x56af3f;switch(_0x5dd752[_0x3d41d3(0x346)]){case 0x0:this[_0x3d41d3(0x349)](_0x5dd752);break;case 0x1:this[_0x3d41d3(0x2cd)](_0x5dd752);break;case 0x2:this[_0x3d41d3(0x1d6)](_0x5dd752);break;}}[_0x56af3f(0x349)](_0x3fbd55){const _0x45925b=_0x56af3f,{unitIDs:_0x4660ef,memberID:_0x58b798,isForwarded:_0x1938fb}=_0x3fbd55;_0x4660ef['forEach'](_0x3e959e=>{const _0x2d1f76=_0x408b;if(!_0x1938fb&&this[_0x2d1f76(0x1a8)][_0x2d1f76(0x140)](_0x3e959e)&&this[_0x2d1f76(0x375)](_0x3e959e)['next'](u[_0x2d1f76(0x150)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x3e959e)||!this[_0x2d1f76(0x1a8)][_0x2d1f76(0x302)](_0x3e959e)['has'](_0x58b798)){const _0x2990c0=this[_0x2d1f76(0x1a8)][_0x2d1f76(0x302)](_0x3e959e)||new Set();_0x2990c0['add'](_0x58b798),this['_unitOnClients'][_0x2d1f76(0x3b5)](_0x3e959e,_0x2990c0),this[_0x2d1f76(0x257)](_0x58b798);}}),_0x1938fb||this[_0x45925b(0x293)]({'type':0x0,'memberID':this[_0x45925b(0x2a9)],'unitIDs':[...this[_0x45925b(0x297)]],'isForwarded':!0x0});}[_0x56af3f(0x257)](_0x5a670c){const _0x330679=_0x56af3f;this['_removeClearOtherTimer'](_0x5a670c);const _0x20a797=window[_0x330679(0x23e)](()=>{const _0x45cdbb=_0x330679;this[_0x45cdbb(0x1a8)][_0x45cdbb(0x2eb)](_0x2f654d=>{_0x2f654d['delete'](_0x5a670c);});},Le*0x2);this['_clearOtherTimers']['set'](_0x5a670c,_0x20a797);}[_0x56af3f(0x19c)](_0x59bd7e){const _0x414f9e=_0x56af3f;if(this['_clearOtherTimers'][_0x414f9e(0x140)](_0x59bd7e)){const _0x48b055=this['_clearOtherTimers']['get'](_0x59bd7e);_0x48b055&&window[_0x414f9e(0x298)](_0x48b055),this[_0x414f9e(0x267)][_0x414f9e(0x3b5)](_0x59bd7e,null);}}[_0x56af3f(0x2cd)](_0x412508){const _0x2580f7=_0x56af3f,{memberID:_0x58f564,unitIDs:_0x4953bb}=_0x412508;_0x4953bb[_0x2580f7(0x2eb)](_0x47fd2b=>{const _0x1cbe0c=_0x2580f7;var _0x5efd71;const _0x1758fd=this['_unitOnClients'][_0x1cbe0c(0x302)](_0x47fd2b);_0x1758fd&&(_0x1758fd[_0x1cbe0c(0x2d8)](_0x58f564),(_0x5efd71=this[_0x1cbe0c(0x375)](_0x47fd2b))==null||_0x5efd71['next'](_0x1758fd['size']===0x0?u[_0x1cbe0c(0x150)][_0x1cbe0c(0x3c1)]:u[_0x1cbe0c(0x150)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x58f564);}[_0x56af3f(0x1d6)](_0x2d4012){const _0xa72e5d=_0x56af3f;this['_scheduleClearOtherTimer'](_0x2d4012[_0xa72e5d(0x1d2)]);}['_send'](_0x2b1b20){const _0x125863=_0x56af3f;localStorage[_0x125863(0x2e6)](Pe,JSON[_0x125863(0x251)](_0x2b1b20));}[_0x56af3f(0x396)](){const _0x337fe4=_0x56af3f;this[_0x337fe4(0x3cd)]=window[_0x337fe4(0x1f2)](()=>{const _0x5ce7e5=_0x337fe4;this[_0x5ce7e5(0x293)]({'type':0x2,'memberID':this[_0x5ce7e5(0x2a9)]});},Le);}[_0x56af3f(0x375)](_0x534ca1){const _0x289d7d=_0x56af3f;return this[_0x289d7d(0x271)]['has'](_0x534ca1)||this[_0x289d7d(0x271)][_0x289d7d(0x3b5)](_0x534ca1,new d[(_0x289d7d(0x3c9))](u['UnitStatus'][_0x289d7d(0x3c1)])),this[_0x289d7d(0x271)][_0x289d7d(0x302)](_0x534ca1);}}var ke=(_0x33d841=>(_0x33d841[_0x33d841[_0x56af3f(0x15f)]=0x0]=_0x56af3f(0x15f),_0x33d841[_0x33d841['OK']=0x1]='OK',_0x33d841[_0x33d841[_0x56af3f(0x2de)]=0x2]=_0x56af3f(0x2de),_0x33d841[_0x33d841[_0x56af3f(0x328)]=0x3]=_0x56af3f(0x328),_0x33d841[_0x33d841[_0x56af3f(0x310)]=0x4]=_0x56af3f(0x310),_0x33d841[_0x33d841[_0x56af3f(0x2d2)]=0x5]=_0x56af3f(0x2d2),_0x33d841[_0x33d841['ALREADY_EXISTS']=0x6]=_0x56af3f(0x337),_0x33d841[_0x33d841[_0x56af3f(0x219)]=0x7]='INVALID_ARGUMENT',_0x33d841[_0x33d841[_0x56af3f(0x1ae)]=0x8]='TOO_MANY_REQUESTS',_0x33d841[_0x33d841[_0x56af3f(0x2d1)]=0x9]='COMPLETION_FINISHED',_0x33d841[_0x33d841['LOGIN_FAILED']=0xa]=_0x56af3f(0x209),_0x33d841[_0x33d841[_0x56af3f(0x288)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x33d841[_0x33d841[_0x56af3f(0x35b)]=0x1771]=_0x56af3f(0x35b),_0x33d841[_0x33d841[_0x56af3f(0x23a)]=0x1772]=_0x56af3f(0x23a),_0x33d841[_0x33d841['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x56af3f(0x1e8),_0x33d841[_0x33d841['APPLY_REJECT']=0x1b59]=_0x56af3f(0x29d),_0x33d841[_0x33d841[_0x56af3f(0x331)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x33d841[_0x33d841[_0x56af3f(0x1b2)]=0x1b5b]=_0x56af3f(0x1b2),_0x33d841[_0x33d841['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x33d841[_0x33d841[_0x56af3f(0x183)]=0x1b5d]=_0x56af3f(0x183),_0x33d841[_0x33d841['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x56af3f(0x315),_0x33d841[_0x33d841[_0x56af3f(0x15a)]=0x2329]=_0x56af3f(0x15a),_0x33d841[_0x33d841[_0x56af3f(0x2fe)]=0x232a]=_0x56af3f(0x2fe),_0x33d841[_0x33d841['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x56af3f(0x1c5),_0x33d841[_0x33d841[_0x56af3f(0x3cc)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x33d841[_0x33d841[_0x56af3f(0x1fa)]=0x232d]=_0x56af3f(0x1fa),_0x33d841[_0x33d841['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x33d841[_0x33d841[_0x56af3f(0x2b6)]=0x2712]=_0x56af3f(0x2b6),_0x33d841[_0x33d841[_0x56af3f(0x185)]=0x2713]=_0x56af3f(0x185),_0x33d841[_0x33d841[_0x56af3f(0x365)]=0x2714]=_0x56af3f(0x365),_0x33d841[_0x33d841[_0x56af3f(0x32c)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x33d841[_0x33d841['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x33d841[_0x33d841[_0x56af3f(0x164)]=0x2af9]=_0x56af3f(0x164),_0x33d841[_0x33d841['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x56af3f(0x254),_0x33d841[_0x33d841['INVALID_INVITE_CODE']=0x2ee2]=_0x56af3f(0x27e),_0x33d841[_0x33d841[_0x56af3f(0x304)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x33d841[_0x33d841[_0x56af3f(0x3b3)]=0x2ee4]=_0x56af3f(0x3b3),_0x33d841[_0x33d841['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x56af3f(0x27f),_0x33d841[_0x33d841['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x56af3f(0x194),_0x33d841[_0x33d841[_0x56af3f(0x32f)]=0x32ca]=_0x56af3f(0x32f),_0x33d841[_0x33d841[_0x56af3f(0x3b0)]=0x32cb]=_0x56af3f(0x3b0),_0x33d841[_0x33d841[_0x56af3f(0x3c5)]=-0x1]=_0x56af3f(0x3c5),_0x33d841))(ke||{}),_s=Object[_0x56af3f(0x162)],hs=(_0x137fbf,_0x4f25c4,_0x3b5e7c,_0x434625)=>{for(var _0xbd9bc7=_0x434625>0x1?void 0x0:_0x434625?_s(_0x4f25c4,_0x3b5e7c):_0x4f25c4,_0x20073c=_0x137fbf['length']-0x1,_0x59efc9;_0x20073c>=0x0;_0x20073c--)(_0x59efc9=_0x137fbf[_0x20073c])&&(_0xbd9bc7=_0x59efc9(_0xbd9bc7)||_0xbd9bc7);return _0xbd9bc7;},de=(_0x3e333b,_0x329d40)=>(_0x34cf76,_0x25d136)=>_0x329d40(_0x34cf76,_0x25d136,_0x3e333b);exports[_0x56af3f(0x336)]=class extends a[_0x56af3f(0x27b)]{constructor(_0x5beabe,_0x3ab70c,_0x32e545){const _0x201a7d=_0x56af3f;super(),this[_0x201a7d(0x316)]=_0x5beabe,this[_0x201a7d(0x37f)]=_0x3ab70c,this[_0x201a7d(0x20a)]=_0x32e545;}async[_0x56af3f(0x226)](_0x451b32,_0x2dac78,_0x76c863,..._0x1ec495){const _0x5a4c9b=_0x56af3f;var _0x775940,_0x344abb,_0x1c6ac1,_0x45d6d3;const _0x3b7a1a=this[_0x5a4c9b(0x316)]['getFocusedUnit']();if(!_0x3b7a1a)throw new Error(_0x5a4c9b(0x19f));const _0xb60692=((_0x775940=this['_configService'][_0x5a4c9b(0x2fa)](u[_0x5a4c9b(0x350)]))!=null?_0x775940:u[_0x5a4c9b(0x28e)])+'/'+_0x451b32+'/run/'+_0x2dac78,_0x5c3a38=new URL(window[_0x5a4c9b(0x3c6)][_0x5a4c9b(0x19d)]),_0x354d75={'scriptId':_0x451b32,'runId':(_0x344abb=_0x5c3a38[_0x5a4c9b(0x387)]['get'](_0x5a4c9b(0x281)))!=null?_0x344abb:'','function':_0x2dac78,'unitId':_0x3b7a1a[_0x5a4c9b(0x2fd)](),'argsOfFunction':JSON[_0x5a4c9b(0x251)](_0x1ec495),'invokeId':(_0x1c6ac1=_0x76c863[_0x5a4c9b(0x167)])!=null?_0x1c6ac1:'','executionId':(_0x45d6d3=_0x76c863[_0x5a4c9b(0x393)])!=null?_0x45d6d3:''};try{const _0x5a27ba=await this[_0x5a4c9b(0x37f)][_0x5a4c9b(0x19e)](_0xb60692,{'body':_0x354d75});return _0x5a27ba[_0x5a4c9b(0x2a5)]['error']&&_0x5a27ba['body'][_0x5a4c9b(0x252)][_0x5a4c9b(0x242)]!==ke['OK']?_0x5a4c9b(0x30c):_0x5a27ba[_0x5a4c9b(0x2a5)]['result'];}catch{return _0x5a4c9b(0x30c);}}},exports[_0x56af3f(0x336)]=hs([de(0x0,a[_0x56af3f(0x3bb)]),de(0x1,a[_0x56af3f(0x253)](q[_0x56af3f(0x2ce)])),de(0x2,a[_0x56af3f(0x2c7)])],exports['RemoteUniscriptService']),exports[_0x56af3f(0x2c1)]=je,exports[_0x56af3f(0x233)]=Ee,exports[_0x56af3f(0x28d)]=Ae,exports[_0x56af3f(0x182)]=ls,exports[_0x56af3f(0x303)]=Be;
1
+ 'use strict';const _0x45141a=_0x2ce7;(function(_0x2eb6d0,_0x3436c0){const _0x64380=_0x2ce7,_0x3acadc=_0x2eb6d0();while(!![]){try{const _0x486deb=-parseInt(_0x64380(0x120))/0x1+parseInt(_0x64380(0x2da))/0x2+-parseInt(_0x64380(0x29a))/0x3+-parseInt(_0x64380(0x1d4))/0x4+parseInt(_0x64380(0xcc))/0x5+parseInt(_0x64380(0x154))/0x6+parseInt(_0x64380(0x188))/0x7;if(_0x486deb===_0x3436c0)break;else _0x3acadc['push'](_0x3acadc['shift']());}catch(_0x1aaa1b){_0x3acadc['push'](_0x3acadc['shift']());}}}(_0x1606,0xbdd84));var Ve=Object['defineProperty'],Xe=(_0x3c0016,_0x49c52f,_0x1064b1)=>_0x49c52f in _0x3c0016?Ve(_0x3c0016,_0x49c52f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1064b1}):_0x3c0016[_0x49c52f]=_0x1064b1,h=(_0x54de75,_0x11d1cb,_0x1e8d45)=>Xe(_0x54de75,typeof _0x11d1cb!=_0x45141a(0x19b)?_0x11d1cb+'':_0x11d1cb,_0x1e8d45);Object[_0x45141a(0x100)](exports,Symbol['toStringTag'],{'value':_0x45141a(0x10e)});const u=require(_0x45141a(0x2d1)),a=require(_0x45141a(0x169)),p=require(_0x45141a(0x2f7)),G=require(_0x45141a(0x219)),b=require('@univerjs/docs-ui'),Ge=require(_0x45141a(0x27f)),d=require(_0x45141a(0x2e3)),W=require(_0x45141a(0x136)),m=require(_0x45141a(0x305)),Ee=require('@univerjs/engine-formula'),g=require(_0x45141a(0xe8)),$=require(_0x45141a(0xa0)),X=require(_0x45141a(0x157)),P=require('react/jsx-runtime'),T=require(_0x45141a(0x117)),D=require('@univerjs/design'),M=require(_0x45141a(0x279)),qe=require(_0x45141a(0x144));var Ke=Object[_0x45141a(0x104)],ze=(_0x2c3333,_0x3b725c,_0x10a9e8,_0x509995)=>{const _0x5c1cb8=_0x45141a;for(var _0x8c3512=_0x509995>0x1?void 0x0:_0x509995?Ke(_0x3b725c,_0x10a9e8):_0x3b725c,_0xf2241a=_0x2c3333[_0x5c1cb8(0x1fe)]-0x1,_0x1f7f13;_0xf2241a>=0x0;_0xf2241a--)(_0x1f7f13=_0x2c3333[_0xf2241a])&&(_0x8c3512=_0x1f7f13(_0x8c3512)||_0x8c3512);return _0x8c3512;},Te=(_0x3ddc3a,_0x53be32)=>(_0x33e32e,_0x1caaed)=>_0x53be32(_0x33e32e,_0x1caaed,_0x3ddc3a);let de=class extends a[_0x45141a(0x171)]{constructor(_0x13fa0d,_0x6df41a){const _0x5bbeb7=_0x45141a;super(),this['_docClipboardService']=_0x13fa0d,this[_0x5bbeb7(0x23c)]=_0x6df41a,this[_0x5bbeb7(0x210)]();}[_0x45141a(0x210)](){const _0x3658d7=_0x45141a,_0x28d953=this;this[_0x3658d7(0x18a)](this[_0x3658d7(0x22e)][_0x3658d7(0x1e2)]({'onBeforePasteImage':async _0x3e8744=>{const _0x4445c4=_0x3658d7,_0x138a96=await _0x28d953[_0x4445c4(0x23c)]['saveImage'](_0x3e8744);return _0x138a96?{'source':_0x138a96['source'],'imageSourceType':_0x138a96[_0x4445c4(0x25c)]}:null;}}));}};de=ze([Te(0x0,b[_0x45141a(0x125)]),Te(0x1,Ge[_0x45141a(0x2fb)])],de);const Oe=[_0x45141a(0x2ca),_0x45141a(0x102),_0x45141a(0x195),'red300',_0x45141a(0x113),_0x45141a(0x190)];class me extends a[_0x45141a(0x298)]{constructor(){const _0x5f4522=_0x45141a;super(...arguments),h(this,_0x5f4522(0x23f),new Map()),h(this,'_colorIndex',0x0);}[_0x45141a(0x24e)](_0x1de1af){const _0x3359ed=_0x45141a;if(this[_0x3359ed(0x23f)][_0x3359ed(0x17c)](_0x1de1af))return this[_0x3359ed(0x23f)]['get'](_0x1de1af);const _0x14935c=Oe[this[_0x3359ed(0xbe)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Oe[_0x3359ed(0x1fe)],this['_assignedColors']['set'](_0x1de1af,_0x14935c),_0x14935c;}}function Pe(_0x224cc9){const _0x11c59a=_0x45141a;let _0x1b4366='';for(const _0x546610 of _0x224cc9){const {startOffset:_0x35db8b,endOffset:_0x4fcee8,isActive:_0x14d9e5,rangeType:_0x3a0416,segmentId:_0x159e67,segmentPage:_0x3fdeb7}=_0x546610;_0x1b4366[_0x11c59a(0x1fe)]&&(_0x1b4366+=','),_0x1b4366+=_0x35db8b+':'+_0x4fcee8+':'+(_0x14d9e5?'1':'0')+':'+_0x3a0416+':'+_0x159e67+':'+_0x3fdeb7;}return _0x1b4366;}function Je(_0x1dabd4){const _0x5b9df0=_0x45141a,_0x1e904b=_0x1dabd4[_0x5b9df0(0x2b4)](','),_0x4b2712=[];for(const _0x582f9e of _0x1e904b){const [_0x39e867,_0x5b25e7,_0x5db409,_0x24c38c,_0x2ba46b,_0x2cf209]=_0x582f9e[_0x5b9df0(0x2b4)](':');_0x4b2712[_0x5b9df0(0x297)]({'startOffset':Number(_0x39e867),'endOffset':Number(_0x5b25e7),'collapsed':_0x39e867===_0x5b25e7,'isActive':_0x5db409==='1','rangeType':_0x24c38c===a[_0x5b9df0(0x2df)][_0x5b9df0(0x107)]?a['DOC_RANGE_TYPE']['TEXT']:a[_0x5b9df0(0x2df)][_0x5b9df0(0x105)],'segmentId':typeof _0x2ba46b==_0x5b9df0(0x2d8)?String(_0x2ba46b):'','segmentPage':Number(_0x2cf209!=null?_0x2cf209:-0x1)});}return _0x4b2712[_0x5b9df0(0x251)](_0x4e3a67=>_0x4e3a67[_0x5b9df0(0x2f5)])||(_0x4b2712[0x0][_0x5b9df0(0x2f5)]=!0x0),_0x4b2712;}class Ce extends a[_0x45141a(0x171)]{constructor(){const _0x39446e=_0x45141a;super(...arguments),h(this,_0x39446e(0x246),new d[(_0x39446e(0x242))](null)),h(this,'collabCursorState$',this[_0x39446e(0x246)][_0x39446e(0x30e)]());}['syncEditingCollabCursor'](_0x453978){const _0x372c8f=_0x45141a,{unitID:_0x380a2a,memberID:_0x4cd3e0,textRanges:_0x50bb1a}=_0x453978,_0x2fb7f5=Pe(_0x50bb1a);if(_0x2fb7f5==='')return;const _0xd9c3ba={'unitID':_0x380a2a,'memberID':_0x4cd3e0,'selection':_0x2fb7f5};this[_0x372c8f(0x246)][_0x372c8f(0x2e4)](_0xd9c3ba);}}var Ze=Object[_0x45141a(0x104)],Qe=(_0x1ff8d3,_0x293067,_0xad518e,_0x323b72)=>{const _0x563b8d=_0x45141a;for(var _0x45f293=_0x323b72>0x1?void 0x0:_0x323b72?Ze(_0x293067,_0xad518e):_0x293067,_0xba31ba=_0x1ff8d3[_0x563b8d(0x1fe)]-0x1,_0x2457b1;_0xba31ba>=0x0;_0xba31ba--)(_0x2457b1=_0x1ff8d3[_0xba31ba])&&(_0x45f293=_0x2457b1(_0x45f293)||_0x45f293);return _0x45f293;},L=(_0x497350,_0x19c1fb)=>(_0x2ba01f,_0x4c7b0e)=>_0x19c1fb(_0x2ba01f,_0x4c7b0e,_0x497350);const et=0x12c,tt=0x64;let fe=class extends a[_0x45141a(0x171)]{constructor(_0x4713d3,_0xef60f8,_0x48316b,_0x19fc3e,_0x29054a,_0xd731cb,_0x281a86,_0x1453c3,_0x65939a){const _0xa61730=_0x45141a;super(),h(this,_0xa61730(0x25a),!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new d[(_0xa61730(0x242))](new Map())),h(this,_0xa61730(0x223),this['_cursorInfo$']['asObservable']()),h(this,_0xa61730(0x255),new d[(_0xa61730(0x242))]([])),h(this,'roomMembers$',this[_0xa61730(0x255)][_0xa61730(0x186)](d['debounceTime'](et))),h(this,'_updateLocalCursor',a[_0xa61730(0x206)](_0xad05df=>{const _0x535837=_0xa61730,_0x4134f1={'eventID':m[_0x535837(0x122)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x535837(0x290)],'memberID':this[_0x535837(0x10b)][_0x535837(0x1a1)](),'selection':Pe(_0xad05df)}};this[_0x535837(0x10b)]['send'](_0x4134f1,this[_0x535837(0x290)]);},tt)),(this[_0xa61730(0x290)]=_0x4713d3,this['_session']=_0xef60f8,this[_0xa61730(0x19c)]=_0x48316b,this[_0xa61730(0x1da)]=_0x19fc3e,this[_0xa61730(0x2f6)]=_0x29054a,this['_syncEditingCollabCursorService']=_0xd731cb,this['_transformService']=_0x281a86,this[_0xa61730(0x181)]=_0x1453c3,this[_0xa61730(0x160)]=_0x65939a);}get['cursorInfo'](){const _0x52271d=_0x45141a;return this[_0x52271d(0x220)][_0x52271d(0x257)]();}get[_0x45141a(0x1d8)](){const _0xdb658b=_0x45141a;return this['_roomMembers$'][_0xdb658b(0x257)]();}['dispose'](){const _0x29108f=_0x45141a;super[_0x29108f(0x20f)](),this['_cursorInfo$']['next'](new Map()),this[_0x29108f(0x220)][_0x29108f(0x300)](),this['_roomMembers$'][_0x29108f(0x2e4)]([]),this[_0x29108f(0x255)][_0x29108f(0x300)]();}[_0x45141a(0xc3)](){const _0x3e1f62=_0x45141a;this[_0x3e1f62(0x210)]||(this[_0x3e1f62(0x210)]=!0x0,this[_0x3e1f62(0x10b)]['sessionStatus$'][_0x3e1f62(0x186)](d[_0x3e1f62(0x2cc)](this[_0x3e1f62(0x1f2)]))[_0x3e1f62(0xdf)](_0x1dc102=>{const _0x452f28=_0x3e1f62;_0x1dc102===u['SessionStatus'][_0x452f28(0x235)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x3e1f62(0x10b)][_0x3e1f62(0x1d5)][_0x3e1f62(0x186)](d[_0x3e1f62(0x2cc)](this[_0x3e1f62(0x1f2)]))[_0x3e1f62(0xdf)](_0x495e79=>{const _0x2156d5=_0x3e1f62,_0x5c471d=_0x495e79[_0x2156d5(0x214)];_0x5c471d===m[_0x2156d5(0x122)][_0x2156d5(0x17d)]&&this[_0x2156d5(0x1b7)](_0x495e79),_0x5c471d===m[_0x2156d5(0x122)][_0x2156d5(0x12f)]&&this[_0x2156d5(0x27b)](_0x495e79);}),this[_0x3e1f62(0x18a)](this[_0x3e1f62(0x160)][_0x3e1f62(0x2a0)](_0x183978=>{const _0x2e5ebd=_0x3e1f62,_0x1f5969=_0x183978['params'];_0x1f5969!=null&&this['_online']&&_0x183978['id']===W[_0x2e5ebd(0x26d)]['id']&&_0x1f5969['unitId']===this[_0x2e5ebd(0x290)]&&_0x1f5969['isEditing']===!0x1&&_0x1f5969[_0x2e5ebd(0x2db)][_0x2e5ebd(0x1fe)]>0x0&&this[_0x2e5ebd(0x243)](_0x1f5969['ranges']);})),this[_0x3e1f62(0x1a9)][_0x3e1f62(0x19a)][_0x3e1f62(0x186)](d[_0x3e1f62(0x2cc)](this[_0x3e1f62(0x1f2)]))[_0x3e1f62(0xdf)](_0xf8e43e=>{const _0x580a17=_0x3e1f62;if((_0xf8e43e==null?void 0x0:_0xf8e43e['unitID'])!==this[_0x580a17(0x290)])return;const _0x1c2b37={'eventID':m['CollaborationEvent'][_0x580a17(0x17d)],'data':_0xf8e43e};this['_onCursorUpdate'](_0x1c2b37);}),this[_0x3e1f62(0x18a)](this['_commandService'][_0x3e1f62(0x2a0)](_0x39d992=>{const _0x1a12d2=_0x3e1f62;if(_0x39d992['params']==null)return;const _0x261f32=_0x39d992['params'];if(_0x39d992['id']!==W[_0x1a12d2(0x2a1)]['id']||_0x261f32[_0x1a12d2(0x286)]!==this[_0x1a12d2(0x290)])return;const _0x2641af={'id':_0x1a12d2(0x20b),'params':_0x261f32},_0x5562e3=this[_0x1a12d2(0x2d7)];for(const [_0x524437,_0x2a96f9]of _0x5562e3){const _0xa7d699={'id':_0x1a12d2(0x20b),'params':{'unitId':this[_0x1a12d2(0x290)],'actions':null,'textRanges':_0x2a96f9[_0x1a12d2(0x2db)]}},_0x1bd55b=this['_transformService'][_0x1a12d2(0xae)](_0x2641af,_0xa7d699,!0x1);if(m[_0x1a12d2(0x254)](_0x1bd55b))throw _0x1bd55b[_0x1a12d2(0x299)];_0x5562e3[_0x1a12d2(0x11e)](_0x524437,{..._0x2a96f9,'ranges':_0x1bd55b['m2Prime'][_0x1a12d2(0xbd)][_0x1a12d2(0x18d)]});}queueMicrotask(()=>{const _0x22a7e1=_0x1a12d2;this[_0x22a7e1(0x220)][_0x22a7e1(0x2e4)](_0x5562e3);});})));}[_0x45141a(0x1b7)](_0x13f3d8){const _0x54c5a0=_0x45141a;var _0x3393e2,_0x2abb07;const {memberID:_0x2aa03d,selection:_0x930c91}=_0x13f3d8[_0x54c5a0(0x139)],_0x57aa20=Je(_0x930c91),_0x2d1f9b=(_0x2abb07=(_0x3393e2=this['_memberService']['getMember'](this['unitID'],_0x2aa03d))==null?void 0x0:_0x3393e2['name'])!=null?_0x2abb07:_0x54c5a0(0x209),_0x4351ff={'color':this[_0x54c5a0(0x1da)][_0x54c5a0(0x24e)](_0x2aa03d),'name':_0x2d1f9b,'ranges':_0x57aa20},_0x5222fb=this[_0x54c5a0(0x2d7)];_0x5222fb[_0x54c5a0(0x11e)](_0x2aa03d,_0x4351ff),this[_0x54c5a0(0x220)][_0x54c5a0(0x2e4)](_0x5222fb);}['_onCursorDelete'](_0x23f52c){const _0x17193d=_0x45141a,{memberID:_0xbfa458}=_0x23f52c[_0x17193d(0x139)],_0x19d70f=this['cursorInfo'];_0x19d70f[_0x17193d(0x151)](_0xbfa458),this[_0x17193d(0x220)]['next'](_0x19d70f);}[_0x45141a(0x1c4)](){const _0x20b52c=_0x45141a;var _0x4efc56;if(this[_0x20b52c(0x25a)]=!0x0,((_0x4efc56=this[_0x20b52c(0x181)]['getFocusedUnit']())==null?void 0x0:_0x4efc56['getUnitId']())!==this['unitID'])return;const _0x1e9aed=this[_0x20b52c(0x19c)][_0x20b52c(0x1a0)](W['DocSelectionManagerService'])[_0x20b52c(0x115)]();Array[_0x20b52c(0xbb)](_0x1e9aed)&&_0x1e9aed[_0x20b52c(0x1fe)]>0x0&&this[_0x20b52c(0x243)](_0x1e9aed);}[_0x45141a(0x1cf)](){const _0x321a55=_0x45141a;this[_0x321a55(0x25a)]=!0x1;}};fe=Qe([L(0x2,a['Inject'](a[_0x45141a(0x1b0)])),L(0x3,a[_0x45141a(0x147)](me)),L(0x4,a[_0x45141a(0x147)](u[_0x45141a(0x2f8)])),L(0x5,a[_0x45141a(0x147)](Ce)),L(0x6,m[_0x45141a(0x1b9)]),L(0x7,a['IUniverInstanceService']),L(0x8,a['ICommandService'])],fe);var st=Object[_0x45141a(0x104)],it=(_0xc80056,_0x160f19,_0x5a9ae0,_0x502400)=>{for(var _0x4da4b2=_0x502400>0x1?void 0x0:_0x502400?st(_0x160f19,_0x5a9ae0):_0x160f19,_0x7583fe=_0xc80056['length']-0x1,_0x1118b6;_0x7583fe>=0x0;_0x7583fe--)(_0x1118b6=_0xc80056[_0x7583fe])&&(_0x4da4b2=_0x1118b6(_0x4da4b2)||_0x4da4b2);return _0x4da4b2;},A=(_0x580010,_0x10c044)=>(_0x27652d,_0x513764)=>_0x10c044(_0x27652d,_0x513764,_0x580010);const nt=0x12c,rt=0x64,ot=()=>{let _0x26261d=[],_0x5ed823=!0x1;return _0x4664b1=>{const _0x458807=_0x2ce7;_0x26261d[_0x458807(0x297)](_0x4664b1),_0x5ed823||(_0x5ed823=!0x0,setTimeout(()=>{const _0x3daeec=_0x458807;_0x26261d[_0x3daeec(0xf1)](_0x517efa=>_0x517efa()),_0x26261d=[],_0x5ed823=!0x1;}));};};let Se=class extends a[_0x45141a(0x171)]{constructor(_0x450215,_0x1b88c6,_0xfe6d83,_0x7fe6fd,_0x4c32d9,_0x321b56,_0x29a3b5,_0x13bb5f){const _0x1fc541=_0x45141a;super(),h(this,_0x1fc541(0x25a),!0x1),h(this,'_init',!0x1),h(this,_0x1fc541(0x220),new d['BehaviorSubject'](new Map())),h(this,_0x1fc541(0x223),this[_0x1fc541(0x220)][_0x1fc541(0x30e)]()),h(this,'_roomMembers$',new d[(_0x1fc541(0x242))]([])),h(this,'roomMembers$',this[_0x1fc541(0x255)][_0x1fc541(0x186)](d['debounceTime'](nt))),h(this,_0x1fc541(0x243),a[_0x1fc541(0x206)]((_0x31d532,_0x4e409c)=>{const _0x1b3735=_0x1fc541,_0x2d7fe0={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x1b3735(0x290)],'memberID':this[_0x1b3735(0x10b)][_0x1b3735(0x1a1)](),'selection':Ee['serializeRangeWithSheet'](_0x31d532,_0x4e409c[_0x1b3735(0x259)])}};this[_0x1b3735(0x10b)][_0x1b3735(0x17f)](_0x2d7fe0,this['unitID']);},rt)),(this[_0x1fc541(0x290)]=_0x450215,this[_0x1fc541(0x10b)]=_0x1b88c6,this[_0x1fc541(0x19c)]=_0xfe6d83,this[_0x1fc541(0x1da)]=_0x7fe6fd,this[_0x1fc541(0x2f6)]=_0x4c32d9,this['_univerInstanceService']=_0x321b56,this[_0x1fc541(0x160)]=_0x29a3b5,this[_0x1fc541(0x178)]=_0x13bb5f);}get['cursorInfo'](){const _0x2c1039=_0x45141a;return this['_cursorInfo$'][_0x2c1039(0x257)]();}get[_0x45141a(0x1d8)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x1919c6=_0x45141a;super['dispose'](),this[_0x1919c6(0x220)][_0x1919c6(0x2e4)](new Map()),this[_0x1919c6(0x220)][_0x1919c6(0x300)](),this[_0x1919c6(0x255)][_0x1919c6(0x2e4)]([]),this['_roomMembers$']['complete']();}[_0x45141a(0xc3)](){const _0x2b4b1e=_0x45141a;this['_init']||(this[_0x2b4b1e(0x210)]=!0x0,this[_0x2b4b1e(0x10b)]['sessionStatus$'][_0x2b4b1e(0x186)](d[_0x2b4b1e(0x2cc)](this[_0x2b4b1e(0x1f2)]))[_0x2b4b1e(0xdf)](_0x2faab5=>{const _0x2b751d=_0x2b4b1e;_0x2faab5===u[_0x2b751d(0x30c)]['ONLINE']?this[_0x2b751d(0x1c4)]():this[_0x2b751d(0x1cf)]();}),this[_0x2b4b1e(0x10b)][_0x2b4b1e(0x1d5)][_0x2b4b1e(0x186)](d[_0x2b4b1e(0x2cc)](this[_0x2b4b1e(0x1f2)]))['subscribe'](_0x2960ac=>{const _0x1b140a=_0x2b4b1e,_0x3d7c02=_0x2960ac[_0x1b140a(0x214)];_0x3d7c02===m['CollaborationEvent'][_0x1b140a(0x17d)]&&this[_0x1b140a(0x1b7)](_0x2960ac),_0x3d7c02===m[_0x1b140a(0x122)][_0x1b140a(0x12f)]&&this['_onCursorDelete'](_0x2960ac);}),this[_0x2b4b1e(0xcf)](),this[_0x2b4b1e(0x18a)](this[_0x2b4b1e(0x160)][_0x2b4b1e(0x2a0)](_0x209a5d=>{const _0x575c59=_0x2b4b1e;if(this[_0x575c59(0x25a)]&&_0x209a5d['id']===g[_0x575c59(0x1e9)]['id']&&_0x209a5d[_0x575c59(0xbd)][_0x575c59(0x286)]===this[_0x575c59(0x290)]){const _0x4e40bf=_0x209a5d[_0x575c59(0xbd)];this[_0x575c59(0x243)](_0x4e40bf['subUnitId'],_0x4e40bf[_0x575c59(0x2a3)][0x0]);}})));}[_0x45141a(0x1b7)](_0x3660a9){const _0x46d871=_0x45141a;var _0x3460d3,_0x2bfca8;const {memberID:_0x4f6384,selection:_0x50fdcc}=_0x3660a9[_0x46d871(0x139)],{sheetName:_0x34ac9d,range:_0xc5586a}=Ee['deserializeRangeWithSheet'](_0x50fdcc),_0x116265={'name':(_0x2bfca8=(_0x3460d3=this['_memberService'][_0x46d871(0x118)](this[_0x46d871(0x290)],_0x4f6384))==null?void 0x0:_0x3460d3[_0x46d871(0x1f8)])!=null?_0x2bfca8:_0x46d871(0x209),'range':this[_0x46d871(0x1a6)](_0x34ac9d,_0xc5586a),'sheetID':_0x34ac9d,'color':this[_0x46d871(0x1da)][_0x46d871(0x24e)](_0x4f6384),'selection':_0x50fdcc},_0x4ab787=this[_0x46d871(0x2d7)];_0x4ab787[_0x46d871(0x11e)](_0x4f6384,_0x116265),this['_cursorInfo$'][_0x46d871(0x2e4)](_0x4ab787);}[_0x45141a(0x27b)](_0x1c1e40){const _0x427b29=_0x45141a,{memberID:_0x276bb7}=_0x1c1e40['data'],_0x58d6fe=this[_0x427b29(0x2d7)];_0x58d6fe[_0x427b29(0x151)](_0x276bb7),this[_0x427b29(0x220)][_0x427b29(0x2e4)](_0x58d6fe);}['_getMergeRange'](_0x20dfb2,_0x12a560){const _0x4f368e=_0x45141a;var _0x348135,_0x4aae46;const _0x82329e=(_0x4aae46=(_0x348135=this[_0x4f368e(0x181)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x348135[_0x4f368e(0x126)](_0x20dfb2))==null?void 0x0:_0x4aae46[_0x4f368e(0x27a)]();return(_0x82329e==null?void 0x0:_0x82329e[_0x4f368e(0xd9)](_0x422bc6=>a[_0x4f368e(0x1d9)][_0x4f368e(0x262)](_0x422bc6,_0x12a560)))||_0x12a560;}['_onRefRangeChange'](){const _0x1e4fe7=_0x45141a,_0x5a53c8=new a[(_0x1e4fe7(0x12e))](),_0x2d2e46=ot(),_0x4282a3=()=>{const _0x1e33f5=_0x1e4fe7;_0x5a53c8[_0x1e33f5(0x20f)]();const _0x51c025=(_0x1d9430,_0x28bfc6,_0x42a4b1,_0x4d981b)=>{const _0x1014ec=_0x1e33f5;let _0x2ef404=[];switch(_0x1d9430['id']){case g[_0x1014ec(0x1ad)][_0x1014ec(0x295)]:{_0x2ef404=g[_0x1014ec(0x2ff)](_0x1d9430,_0x4d981b);break;}case g['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x2ef404=g[_0x1014ec(0xf5)](_0x1d9430,_0x4d981b);break;}case g['EffectRefRangId'][_0x1014ec(0x1bd)]:{_0x2ef404=g['handleInsertCol'](_0x1d9430,_0x4d981b);break;}case g[_0x1014ec(0x1ad)][_0x1014ec(0x127)]:{_0x2ef404=g[_0x1014ec(0x176)](_0x1d9430,_0x4d981b);break;}case g['EffectRefRangId'][_0x1014ec(0xeb)]:{_0x2ef404=g['handleInsertRangeMoveRight'](_0x1d9430,_0x4d981b);break;}case g[_0x1014ec(0x1ad)]['InsertRowCommandId']:{_0x2ef404=g[_0x1014ec(0x24f)](_0x1d9430,_0x4d981b);break;}case g[_0x1014ec(0x1ad)][_0x1014ec(0xb3)]:{_0x2ef404=g[_0x1014ec(0x175)](_0x1d9430,_0x4d981b);break;}case g[_0x1014ec(0x1ad)]['RemoveColCommandId']:{_0x2ef404=g['handleIRemoveCol'](_0x1d9430,_0x4d981b);break;}case g['EffectRefRangId'][_0x1014ec(0x2dd)]:{_0x2ef404=g['handleIRemoveRow'](_0x1d9430,_0x4d981b);break;}}const _0x37de6f=g[_0x1014ec(0x2fc)](_0x2ef404,_0x4d981b),_0x3fd406=this[_0x1014ec(0x2d7)][_0x1014ec(0x1a0)](_0x28bfc6);if(_0x3fd406&&_0x37de6f){const _0x17abb2={..._0x3fd406,'range':_0x37de6f};this['cursorInfo'][_0x1014ec(0x11e)](_0x28bfc6,_0x17abb2),_0x2d2e46(()=>{const _0x16f3ca=_0x1014ec,_0x3d5b0f=this[_0x16f3ca(0x178)][_0x16f3ca(0xd6)](_0x37de6f,_0x4b83b7=>(_0x3d5b0f[_0x16f3ca(0x20f)](),_0x51c025(_0x4b83b7,_0x28bfc6,_0x42a4b1,_0x37de6f)));_0x5a53c8[_0x16f3ca(0x2b3)](_0x3d5b0f);});}return{'redos':[],'undos':[]};};this[_0x1e33f5(0x2d7)]['forEach']((_0x316298,_0xebbc90)=>{const _0x410bb7=_0x1e33f5,{range:_0x2da97b,sheetID:_0xc852e2}=_0x316298,_0x2e1f01=this[_0x410bb7(0x178)]['registerRefRange'](_0x2da97b,_0x42f104=>(_0x2e1f01[_0x410bb7(0x20f)](),_0x51c025(_0x42f104,_0xebbc90,_0xc852e2,_0x2da97b)));_0x5a53c8[_0x410bb7(0x2b3)](_0x2e1f01);});};this[_0x1e4fe7(0x18a)](a[_0x1e4fe7(0x1be)](this['_cursorInfo$'][_0x1e4fe7(0xdf)](()=>{_0x4282a3();})));}[_0x45141a(0x1c4)](){const _0x589266=_0x45141a;var _0x485318,_0x385367;if(this['_online']=!0x0,((_0x485318=this[_0x589266(0x181)][_0x589266(0x269)]())==null?void 0x0:_0x485318[_0x589266(0x189)]())!==this[_0x589266(0x290)])return;const _0x20140c=(_0x385367=this[_0x589266(0x19c)][_0x589266(0x1a0)](g['SheetsSelectionsService'])[_0x589266(0x2c3)]())==null?void 0x0:_0x385367[0x0],_0x371d7b=this['_univerInstanceService']['getCurrentUnitForType'](a[_0x589266(0x29b)][_0x589266(0x21b)])[_0x589266(0x2f2)]();_0x20140c&&_0x371d7b&&this[_0x589266(0x243)](_0x371d7b[_0x589266(0xf7)](),_0x20140c);}['_toggleOffline'](){const _0x36c920=_0x45141a;this[_0x36c920(0x25a)]=!0x1;}};Se=it([A(0x2,a[_0x45141a(0x147)](a[_0x45141a(0x1b0)])),A(0x3,a[_0x45141a(0x147)](me)),A(0x4,a['Inject'](u[_0x45141a(0x2f8)])),A(0x5,a[_0x45141a(0x101)]),A(0x6,a[_0x45141a(0x274)]),A(0x7,a[_0x45141a(0x147)](g[_0x45141a(0x1bc)]))],Se);function _0x1606(){const _0x2aa8a6=['_handleEvent','collabStatus.fetchMiss','LOCAL_CACHE_INTERVAL_KEY','unit','BrowserCollaborationSocketService','getTypeOfUnitAdded$','_docClipboardService','hasOwnProperty','[RemoteUniscriptService]:\x20no\x20focused\x20unit','EMAIL_HAS_BEEN_BOUND','connectInjector','_textBubble','whenReady','ONLINE','SHEET_VIEWPORT_KEY','executeCommand','collabStatus.notCollab','forwardRef','collaboration-client.offline-data-not-saved','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_imageIoService','_collaborationController','_scene','_assignedColors','black','_localStorageService','BehaviorSubject','_updateLocalCursor','MessageType','WebSocketService','_collabCursorState$','executionId','getColor','APPLY_DUPLICATED','setAlpha','_anchor','collabStatus.conflict','_localeService','assignAColorForMemberID','handleInsertRow','_docSyncEditingCollabCursorService','some','_clearOtherTimers','currentColor','isTransformMutationFailure','_roomMembers$','_getAnchorBounding','getValue','ThemeService','range','_online','INVITE_CODE_HAS_BEEN_UES','imageSourceType','_notificationService','UniverCollaborationClientUIPlugin','_removeClearOtherTimer','pushState','IRemoteInstanceService','contains','_heartbeatTimer','use','key','show','SYNCED','_hover','getFocusedUnit','Tooltip','all','height','SetTextSelectionsOperation','Rect','isTransformMutationsWithChangesetSuccess','filter','getRangePointData','APPLY_NON_SEQUENTIAL_REVISION','evenodd','ICommandService','_refreshCollabCursors','ALREADY_EXISTS','onLocalMutation','_setupBeforeClosingHandler','react','getMergeData','_onCursorDelete','concat','fromEventSubject','MOBILE_HAS_BEEN_BOUND','@univerjs/drawing','bottom','_registerDependencies','_handleHover','currentTheme$','m2Prime','round','unitId','clearTimeout','ColorKit','getUndoRedoMutationParamsCache','Workbook','INVALID_ARGUMENT','_uiPartsService','CollaborationStatusDisplay','DocCollaborationEntity','on-line-single_clip0_910_349','unitID','entries','_configService','div','PENDING','DeleteRangeMoveLeftCommandId','prototype','push','Disposable','error','1075131ssFQpn','UniverInstanceType','IMessageService','body','DependentOn','ACTIVE_UNIT_EVENT_CHANNEL','onCommandExecuted','RichTextEditingMutation','_lastPointer','selections','CollaborationController','SheetSkeletonManagerService','_docTransformIMECacheService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','row','session.collaboration-timeout','idSuffix','DocStateChangeManagerService','IConfigService','top','_removeCollabCursors','from','_initStatusComponent','NO_OTHER_CLIENTS_EDITING','skeleton','add','split','_labelPosition','clipPath','_unitStatus','setUndoRedoMutationParamsCache','engine','NodePositionConvertToRectRange','UniverCollaborationClientPlugin','unshift','_cursorShapes','transformRemoteChangeset','children','_eventUnsubscribe','combineLatest','clsx','getCurrentSelections','drawWith','_collaborationUIEventService','VIEW_MAIN','_updateSubUnitFromURLParams','setStateCache','mergeOverrideWithDependencies','purple300','throttleTime','takeUntil','NOT_FOUND','_httpService','_cursor','runId','@univerjs-pro/collaboration-client','_disabled','disableLocalCache','replaceDocRanges','_entityInit$','UniverIcon','cursorInfo','string','_themeService','1098736RPFcip','ranges','/run/','RemoveRowCommandId','_saveTaskMap','DOC_RANGE_TYPE','PERMISSION_DENIED','ENSURE_SNAPSHOT_EXECUTION','INotificationService','rxjs','next','_cursors','_getSheetObject','YUUMI_URL_COL_OUT_OF_RANGE','with','SetDocZoomRatioOperation','collabStatus.synced','useDependency','endRow','DocIMEInputManagerService','assign','CollaborationStatus','getVpScrollXYInfoByPosToVp','_initResize','getActiveSheet','LocaleService','_getScale','isActive','_memberService','@univerjs/engine-render','MemberService','_urlService','_getSaveTimeout','IImageIoService','runRefRangeMutations','flatMap','IRenderManagerService','handleDeleteRangeMoveLeft','complete','makeDirty','getCellPositionByOffset','CONNECTOR_DATA_TOO_LARGE','type','@univerjs-pro/collaboration','COMPLETION_FINISHED','values','_unitOnClients','HTTPService','transformStateCache','Failed','SessionStatus','Plugin','asObservable','_config','onMouseMove','OFFLINE','jsxs','onRendered','addObjects','off-line-single','getCurrentRevOfUnit','backgroundColor','_registerRenderDependencies','rxjs/operators','width','_getSessionTicket','map','LOGIN_FAILED','_backgroundColor','[CollaborationDataLoaderController]','_setupSubUnitSync','collab-rect-range-','findNodePositionByCharIndex','ILocalStorageService','SNAPSHOT_INVALID_SNAPSHOT','_transformPreviousActiveRange','_selfUnitIDs','transformMutation','history','arc','addHandlerCallback','subunit','MoveRangeCommandId','onStarting','Vector2','getLocalCacheKey','function','APPLY_REJECT','DesktopCollaborationStatusDisplayController','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isArray','getCoordByCell','params','_colorIndex','ILocalCacheService','_scheduleHeartbeat','_anchorDot','trim','init','UNIVER_DOC','_initEvent','switchMap','urlChange$','getCollabCursors$','APPLY_PERMISSION_DENIED','hide','_status$','2752385mAAPmO','href','UNAUTHENTICATED','_onRefRangeChange','_document','JOIN_ROOM_FAILED','_dataLoaderService','rgba(255,\x20255,\x20255,\x200.01)','newValue','_initCommandExecutedListener','registerRefRange','includes','moveTo','find','measureText','AWAITING','_createSocketURL','syncEditingCollabCursor','DocSelectionManagerService','subscribe','call','YUUMI_NO_CUBOID_FOR_QUESTION','startColumn','updateOfflineData','USER_NOT_INVITED_CODE','_id','YUUMI_UNABLE_LOAD_URL','apply','@univerjs/sheets','getRenderById','Error','InsertRangeMoveRightCommandId','UNDEFINED','#fff','onPointerLeave$','origin','univerjs-icon\x20univerjs-icon-','forEach','CommandType','MUTATION','RegularPolygon','handleDeleteRangeMoveUp','text','getSheetId','_color','onPointerEnter$','SOCKET_FAILED','displayName','getCollabEntity$','override','setShapeProps','_render','defineProperty','IUniverInstanceService','jiqing500','1em','getOwnPropertyDescriptor','RECT','deepClone','TEXT','_instanceService','COLORS','on-line-single','_session','OTHER_CLIENT_EDITING','FETCH_MISS','Module','transformByState','getActiveRange','runOnServer','...','blue400','getOffsetConfig','getDocRanges','fillRule','@univerjs/ui','getMember','m1Prime','HEADER_MENU','collaboration.single-unit.warning','setConfig','url(#$1','set','NOT_COLLAB','847684TfKoGd','LICENSE_MAX_UNITS_EXCEEDED','CollaborationEvent','code','_initEntityListener','IDocClipboardService','getSheetBySheetId','InsertRangeMoveDownCommandId','collabStatus.syncing','setParam','TOO_MANY_REQUESTS','closePath','addEventListener','_initDependencies','DisposableCollection','USERS_LEAVE','_hideTimer','INVITE_CODE_REQUIRED','transformMutationsWithChangeset','Subject','getParam','search','@univerjs/docs','currentSkeleton$','status$','data','ISocketService','_startDocCollabCursor','color','fillStyle','CHANGESET_REVISION_CONFILICT','useObservable','useCallback','docStateChange$','#FFF','setInterval','@univerjs/rpc','merge','M0\x200H16V16H0z','Inject','_name','extend','_context','stringify','CollaborationSessionService','_drawAnchor','RevisionService','collabStatus.offline','collaboration.closeRoom','delete','getSkeleton','current','1840890oHIXgD','off-line-single_clip0_910_343','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/sheets-ui','OffLineSingle','mask','transformIMECache','_initStatusListener','focused$','_transformService','APPLY_REVISION_CONFILICT','_sheetSkeletonManagerService','_commandService','Warning','_drawRectRange','LICENSE_IMPORT_SIZE_EXCEEDED','url(#off-line-single_clip0_910_343)','INVITE_CODE_ALREADY_BOUND','_hovered','DEFAULT_WS_SESSION_TICKET_URL','SheetCollabCursorShape','@univerjs/core','_shapes','_messageService','requireSession','_docSkeletonManagerService','LICENSE_DISTRO_REJECTED','registerBeforeClose','useRef','RxDisposable','_drawTextRange','save','UnitStatus','handleMoveRange','handleInsertRangeMoveDown','addObject','_refRangeService','_transformUndoRedoStack','_scheduleSaving','location','has','UPDATE_CURSOR','_docTransformSelectionsService','send','_entities','_univerInstanceService','SUBMIT_CHANGESET_TIMEOUT','restore','_logService','activeSheet$','pipe','getUnhiddenWorksheets','5481686Uxgvtp','getUnitId','disposeWithMe','SNAPSHOT_HAS_BEEN_REMOVED','replace','textRanges','createInstance','collab-client.tooltip.reconnect','gold400','svg','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformSelections','replaceState','verdancy600','Shape','setActiveRange','CONFLICT','beginPath','collabCursorState$','symbol','_injector','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','univer-text-green-500','CollaborationDataLoaderController','get','getMemberID','getStateCache','generateRandomId','className','selection','_getMergeRange','toString','searchParams','_syncEditingCollabCursorService','icon','_saveCache','TEXT_RANGE_LAYER_INDEX','EffectRefRangId','memberID','FromArray','Injector','colorChannel1','createElement','0\x200\x2017\x2016','exhaustSavingTask','unsubscribe','createIdentifier','_onCursorUpdate','column','ITransformService','getItem','redoState','RefRangeService','InsertColCommandId','toDisposable','collab-text-anchor-','LICENSE_EXPORT_SIZE_EXCEEDED','mutations','fromEvent','fill','_toggleOnline','IBeforeCloseService','translate(.97)','_draw','registerDependencies','setItem','startsWith','size','INTERNAL_ERROR','clearInterval','lineTo','_toggleOffline','Tools','getAncestorScale','ILogService','_startSheetCollabCursor','824372JsKyDr','event$','shareReplay','removeParam','roomMembers','Rectangle','_colorAssignService','_cachedData','undoState','labelPosition','touchDependencies','BuiltInUIPart','disposeUnit','indexOf','addClipboardHook','attrs','triggerDblclick','getTypeOfUnitDisposed$','YUUMI_SUBSCRIPTION_NOT_FOUND','font','_renderManagerService','SetSelectionsOperation','path','_scheduleClearOtherTimer','saveTaskMap','CLOSE_ROOM','_collabCursorController','_range','jsx','WebBrowserSingleActiveUnitService','dispose$','getOwnPropertySymbols','propertyIsEnumerable','tag','CollaborationUIEventId','WebURLService','name','uni.network.url-service','saveOfflineData','getRelativeToViewportCoord','storage','subscribeEvent','length','Optional','_collabSessionService','OnLineSingle','INVALID_INVITE_CODE','getSheetObject','enableLocalCache','popstate','debounce','SetWorksheetActivateCommand','getConfig','Unknown\x20user','_send','doc.mutation.rich-text-editing','_updateCollabCursors','_ensureSubject','RemoteUniscriptService','dispose','_init','defIds','WECHAT_HAS_BEEN_BOUND','CollaborationSocketService','eventID','unload','onTransformChange$','_docStateChangeManagerService','permission.title','@univerjs/network','min','UNIVER_SHEET','_beforeCloseService','none','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','then','_cursorInfo$','session.will-retry','YUUMI_RATE_OVER_LIMIT','cursorInfo$','defs','_revisionService','_updateURLWithCurrentState','registerComponent'];_0x1606=function(){return _0x2aa8a6;};return _0x1606();}var at=Object[_0x45141a(0x104)],ct=(_0x131d40,_0x961475,_0x42d888,_0x2d9e08)=>{for(var _0x3b7fd7=_0x2d9e08>0x1?void 0x0:_0x2d9e08?at(_0x961475,_0x42d888):_0x961475,_0x25a347=_0x131d40['length']-0x1,_0x4d372c;_0x25a347>=0x0;_0x25a347--)(_0x4d372c=_0x131d40[_0x25a347])&&(_0x3b7fd7=_0x4d372c(_0x3b7fd7)||_0x3b7fd7);return _0x3b7fd7;},ie=(_0x513c0b,_0x2d4b39)=>(_0x712523,_0x1c7a0c)=>_0x2d4b39(_0x712523,_0x1c7a0c,_0x513c0b);let x=class extends a[_0x45141a(0x171)]{constructor(_0x2677bd,_0x58d4fb,_0x164941){const _0x3832da=_0x45141a;super(),h(this,'_entities',new Map()),h(this,_0x3832da(0x2d5),new d[(_0x3832da(0x133))]()),(this['_univerInstanceService']=_0x2677bd,this[_0x3832da(0x19c)]=_0x58d4fb,this[_0x3832da(0x200)]=_0x164941,this[_0x3832da(0x210)]());}['dispose'](){const _0x37b278=_0x45141a;super[_0x37b278(0x20f)](),this[_0x37b278(0x2d5)][_0x37b278(0x300)](),this[_0x37b278(0x180)]['forEach'](_0x9ad6ce=>_0x9ad6ce[_0x37b278(0x20f)]());}[_0x45141a(0xc8)](_0x4ea2ad){const _0x5a39cf=_0x45141a;return this[_0x5a39cf(0x180)][_0x5a39cf(0x17c)](_0x4ea2ad)?this['_entities'][_0x5a39cf(0x1a0)](_0x4ea2ad)[_0x5a39cf(0x223)]:this[_0x5a39cf(0x2d5)][_0x5a39cf(0x186)](d[_0x5a39cf(0x270)](_0x2fe17f=>_0x2fe17f['unitID']===_0x4ea2ad),d['switchMap'](_0x9d6a89=>_0x9d6a89['cursorInfo$']));}[_0x45141a(0x210)](){const _0x545525=_0x45141a;this[_0x545525(0x181)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x545525(0x21b)])[_0x545525(0x186)](d['takeUntil'](this['dispose$']))[_0x545525(0xdf)](async _0x2ad7fb=>{const _0x3636e8=_0x545525,_0x15402c=_0x2ad7fb[_0x3636e8(0x189)](),_0x18bf0e=await this['_startSheetCollabCursor'](_0x15402c);this[_0x3636e8(0x2d5)][_0x3636e8(0x2e4)](_0x18bf0e),this[_0x3636e8(0x180)][_0x3636e8(0x11e)](_0x15402c,_0x18bf0e);}),this[_0x545525(0x181)][_0x545525(0x22d)](a[_0x545525(0x29b)][_0x545525(0xc4)])[_0x545525(0x186)](d[_0x545525(0x2cc)](this['dispose$']))[_0x545525(0x186)](d[_0x545525(0x270)](_0x5a8566=>!_0x5a8566[_0x545525(0x189)]()[_0x545525(0x1ca)]('__')))[_0x545525(0xdf)](async _0x3beb0b=>{const _0x508fcf=_0x545525,_0x1ff796=_0x3beb0b[_0x508fcf(0x189)](),_0x3c2353=await this['_startDocCollabCursor'](_0x1ff796);this[_0x508fcf(0x2d5)]['next'](_0x3c2353),this[_0x508fcf(0x180)]['set'](_0x1ff796,_0x3c2353);}),d[_0x545525(0x145)](this[_0x545525(0x181)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x545525(0xc4)]),this[_0x545525(0x181)][_0x545525(0x1e5)](a[_0x545525(0x29b)]['UNIVER_SHEET']))[_0x545525(0x186)](d['takeUntil'](this[_0x545525(0x1f2)]))['subscribe'](_0x134283=>{const _0x13b24a=_0x545525,_0x29d24f=_0x134283[_0x13b24a(0x189)](),_0x519b92=this[_0x13b24a(0x180)][_0x13b24a(0x1a0)](_0x29d24f);_0x519b92&&(_0x519b92['dispose'](),this[_0x13b24a(0x180)][_0x13b24a(0x151)](_0x29d24f));});}async[_0x45141a(0x1d3)](_0x54a0a7){const _0x2347a2=_0x45141a,_0x199f91=await this[_0x2347a2(0x200)][_0x2347a2(0x16c)](_0x54a0a7),_0x14536b=this[_0x2347a2(0x19c)][_0x2347a2(0x18e)](Se,_0x54a0a7,_0x199f91);return _0x14536b[_0x2347a2(0xc3)](),_0x14536b;}async[_0x45141a(0x13b)](_0x29c8c7){const _0x33bb83=_0x45141a,_0x59a79c=await this[_0x33bb83(0x200)]['requireSession'](_0x29c8c7),_0x3c1056=this[_0x33bb83(0x19c)][_0x33bb83(0x18e)](fe,_0x29c8c7,_0x59a79c);return _0x3c1056['init'](),_0x3c1056;}};x=ct([ie(0x0,a[_0x45141a(0x101)]),ie(0x1,a['Inject'](a[_0x45141a(0x1b0)])),ie(0x2,a[_0x45141a(0x147)](u[_0x45141a(0x14c)]))],x);const q=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x286a9f,_0x1449eb){const _0x5a0279=_0x45141a;let {radius:_0x5ef463,width:_0x293ed3,height:_0x25ed27}=_0x1449eb;_0x5ef463=_0x5ef463!=null?_0x5ef463:0x0,_0x293ed3=_0x293ed3!=null?_0x293ed3:0x1e,_0x25ed27=_0x25ed27!=null?_0x25ed27:0x1e;let _0x868235=0x0,_0x13bb9d=0x0,_0x5ac938=0x0;_0x868235=_0x13bb9d=_0x5ac938=Math['min'](_0x5ef463,_0x293ed3/0x2,_0x25ed27/0x2),_0x286a9f[_0x5a0279(0x199)](),_0x286a9f[_0x5a0279(0xd8)](_0x868235,0x0),_0x286a9f[_0x5a0279(0x1ce)](_0x293ed3-_0x13bb9d,0x0),_0x286a9f['arc'](_0x293ed3-_0x13bb9d,_0x13bb9d,_0x13bb9d,Math['PI']*0x3/0x2,0x0,!0x1),_0x286a9f['lineTo'](_0x293ed3,_0x25ed27-_0x5ac938),_0x286a9f[_0x5a0279(0xb0)](_0x293ed3-_0x5ac938,_0x25ed27-_0x5ac938,_0x5ac938,0x0,Math['PI']/0x2,!0x1),_0x286a9f['lineTo'](0x0,_0x25ed27),_0x286a9f[_0x5a0279(0x1ce)](0x0,_0x868235),_0x286a9f['arc'](_0x868235,_0x868235,_0x868235,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x286a9f[_0x5a0279(0x12b)](),_0x1449eb[_0x5a0279(0x1c3)]&&(_0x286a9f[_0x5a0279(0x173)](),_0x286a9f[_0x5a0279(0x13d)]=_0x1449eb[_0x5a0279(0x1c3)],_0x1449eb[_0x5a0279(0x116)]===_0x5a0279(0x273)?_0x286a9f[_0x5a0279(0x1c3)](_0x5a0279(0x273)):_0x286a9f[_0x5a0279(0x1c3)](),_0x286a9f[_0x5a0279(0x183)]());}class ee extends p[_0x45141a(0x196)]{constructor(_0x47b6f1,_0x419ef7){const _0x3f1daa=_0x45141a;super(_0x47b6f1,_0x419ef7),h(this,_0x3f1daa(0x13c)),h(this,'text'),(this['color']=_0x419ef7==null?void 0x0:_0x419ef7['color'],this[_0x3f1daa(0xf6)]=_0x419ef7==null?void 0x0:_0x419ef7[_0x3f1daa(0xf6)]);}static[_0x45141a(0x2c4)](_0x2bed4f,_0x263e77){const _0x1363a6=_0x45141a,{text:_0xe1547a,color:_0x5d22f3}=_0x263e77;_0x2bed4f[_0x1363a6(0x173)](),_0x2bed4f[_0x1363a6(0x1e7)]=_0x1363a6(0x192);const _0x294093=_0x2bed4f[_0x1363a6(0xda)](_0xe1547a)[_0x1363a6(0xa1)],_0x1f89e2=Math[_0x1363a6(0x21a)](_0x294093+0x2*ne,Re);_t(_0x2bed4f,{'height':q,'radius':0x4,'width':_0x1f89e2,'fill':_0x5d22f3}),_0x2bed4f[_0x1363a6(0x13d)]=_0x1363a6(0x142);const _0x554c96=ne,_0x5d5972=q-lt,_0x4917ea=Re-0x2*ne;if(_0x294093>_0x4917ea){let _0x4ec5c2='',_0x5ddf3a=0x0;for(const _0x17657b of _0xe1547a){const _0x29f4f6=_0x2bed4f[_0x1363a6(0xda)](_0x17657b)[_0x1363a6(0xa1)];if(_0x5ddf3a+_0x29f4f6<=_0x4917ea-_0x2bed4f[_0x1363a6(0xda)](_0x1363a6(0x112))[_0x1363a6(0xa1)])_0x4ec5c2+=_0x17657b,_0x5ddf3a+=_0x29f4f6;else{_0x4ec5c2+=_0x1363a6(0x112);break;}}_0x2bed4f['fillText'](_0x4ec5c2,_0x554c96,_0x5d5972);}else _0x2bed4f['fillText'](_0xe1547a,_0x554c96,_0x5d5972);_0x2bed4f[_0x1363a6(0x183)]();}[_0x45141a(0x1c7)](_0x569fca){const _0x2dbdeb=_0x45141a;ee[_0x2dbdeb(0x2c4)](_0x569fca,this);}}const re=_0x45141a(0x1bf),ht='collab-text-range-',ut=_0x45141a(0xa8),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x45141a(0xd3);class De{constructor(_0x234c9d,_0x2a57b3,_0x9b11ca,_0x34a981){const _0x41d116=_0x45141a;h(this,_0x41d116(0x16a),[]),h(this,_0x41d116(0x24b),null),h(this,_0x41d116(0x233),null),h(this,_0x41d116(0xc1),null),h(this,_0x41d116(0x130),null),h(this,_0x41d116(0x2c0),null),(this[_0x41d116(0x2cf)]=_0x234c9d,this[_0x41d116(0x23e)]=_0x2a57b3,this['_docSkeleton']=_0x9b11ca,this[_0x41d116(0xd0)]=_0x34a981,this[_0x41d116(0xff)]());}set[_0x45141a(0x268)](_0x274401){const _0x2225aa=_0x45141a;_0x274401?(this[_0x2225aa(0xc1)]&&this[_0x2225aa(0xc1)][_0x2225aa(0xca)](),this[_0x2225aa(0x233)]&&this[_0x2225aa(0x233)][_0x2225aa(0x266)]()):(this['_anchorDot']&&this[_0x2225aa(0xc1)][_0x2225aa(0x266)](),this[_0x2225aa(0x233)]&&this[_0x2225aa(0x233)][_0x2225aa(0xca)]());}[_0x45141a(0x20f)](){const _0x2b3050=_0x45141a;for(const _0x2b6332 of this['_shapes'])_0x2b6332[_0x2b3050(0x20f)]();this[_0x2b3050(0x233)]&&this[_0x2b3050(0x233)]['dispose'](),this[_0x2b3050(0xc1)]&&this[_0x2b3050(0xc1)]['dispose'](),this[_0x2b3050(0x24b)]&&this['_anchor'][_0x2b3050(0x20f)](),this[_0x2b3050(0x2c0)]&&this[_0x2b3050(0x2c0)]();}[_0x45141a(0xff)](){const _0xf5a0c1=_0x45141a;var _0x56de6a;const {_docSkeleton:_0x33be5a,_document:_0x4b46c9}=this,{color:_0x26b1c4,name:_0x26457f,ranges:_0x3b7fdd}=this['_cursor'],_0x1455ec=_0x4b46c9[_0xf5a0c1(0x114)](),{docsLeft:_0x10a239,docsTop:_0x92d423}=_0x1455ec,_0x466b7d=new b['NodePositionConvertToCursor'](_0x1455ec,_0x33be5a);for(const {startOffset:_0x492ee2,endOffset:_0x20bc28,rangeType:_0x5deac5,segmentId:_0x1d878f,segmentPage:_0x4f1e14,collapsed:_0x963d4a,isActive:_0x2ef9ae}of _0x3b7fdd){const _0x31b7fc=_0x33be5a['findNodePositionByCharIndex'](_0x492ee2,!0x0,_0x1d878f,_0x4f1e14);let _0x567d57=_0x33be5a[_0xf5a0c1(0xa9)](_0x20bc28,!0x0,_0x1d878f,_0x4f1e14);if(_0x567d57==null&&(_0x567d57=_0x33be5a['findNodePositionByCharIndex'](_0x20bc28-0x1,!0x1,_0x1d878f,_0x4f1e14)),_0x2ef9ae){const {contentBoxPointGroup:_0x103000}=_0x466b7d[_0xf5a0c1(0x271)](_0x567d57,_0x567d57);if(_0x103000[_0xf5a0c1(0x1fe)]===0x0)continue;this[_0xf5a0c1(0x14d)](_0x26b1c4,_0x103000,_0x10a239,_0x92d423,_0x26457f),this[_0xf5a0c1(0x2c0)]=this[_0xf5a0c1(0x282)]();}if(_0x31b7fc&&_0x567d57){if(_0x5deac5===a['DOC_RANGE_TYPE']['RECT']){const _0x24746b=new b[(_0xf5a0c1(0x2ba))](_0x1455ec,_0x33be5a),{pointGroup:_0x384a38}=(_0x56de6a=_0x24746b[_0xf5a0c1(0x271)](_0x31b7fc,_0x567d57))!=null?_0x56de6a:{};if(_0x384a38==null||_0x384a38[_0xf5a0c1(0x1fe)]===0x0)continue;this[_0xf5a0c1(0x162)](_0x26b1c4,_0x384a38,_0x10a239,_0x92d423);}else{if(!_0x963d4a){const {borderBoxPointGroup:_0xbcfec}=_0x466b7d[_0xf5a0c1(0x271)](_0x31b7fc,_0x567d57);if(_0xbcfec[_0xf5a0c1(0x1fe)]===0x0)continue;this['_drawTextRange'](_0x26b1c4,_0xbcfec,_0x10a239,_0x92d423);}}}}}[_0x45141a(0x14d)](_0x317de4,_0x3dc179,_0x2e071f,_0x2def6d,_0x575610){const _0x468c87=_0x45141a,_0x218ca9=this[_0x468c87(0x256)](_0x3dc179),{left:_0x492f86,top:_0x1ebc69,height:_0x2235b7}=_0x218ca9,_0x201cbc=this[_0x468c87(0x2f4)](),_0x219586=ft/_0x201cbc,_0x2e30dd=new p['Rect'](re+a[_0x468c87(0x1d0)][_0x468c87(0x1a3)](k),{'left':_0x492f86+_0x2e071f-_0x219586,'top':_0x1ebc69+_0x2def6d,'height':_0x2235b7,'width':dt,'fill':_0x317de4||p['getColor'](a['COLORS'][_0x468c87(0x240)],0x0),'strokeWidth':_0x219586,'stroke':St,'evented':!0x0});this['_anchor']=_0x2e30dd,this[_0x468c87(0x23e)][_0x468c87(0x177)](_0x2e30dd,b[_0x468c87(0x1ac)]);const _0x27218f=new p[(_0x468c87(0x26e))](re+a[_0x468c87(0x1d0)][_0x468c87(0x1a3)](k),{'left':_0x492f86+_0x2e071f-_0x219586,'top':_0x1ebc69+_0x2def6d-oe/0x2,'height':oe,'width':oe,'fill':_0x317de4||p[_0x468c87(0x248)](a['COLORS'][_0x468c87(0x240)],0x0),'strokeWidth':0x0,'stroke':_0x317de4||p[_0x468c87(0x248)](a[_0x468c87(0x109)][_0x468c87(0x240)],0x0),'evented':!0x1});this[_0x468c87(0xc1)]=_0x27218f,this['_scene'][_0x468c87(0x177)](_0x27218f,b['TEXT_RANGE_LAYER_INDEX']);const _0xed91fe=new ee(re+a[_0x468c87(0x1d0)][_0x468c87(0x1a3)](k),{'left':_0x492f86+_0x2e071f-_0x219586,'top':_0x1ebc69+_0x2def6d-q,'text':_0x575610,'color':_0x317de4});this[_0x468c87(0x233)]=_0xed91fe,this[_0x468c87(0x23e)][_0x468c87(0x177)](_0xed91fe,b[_0x468c87(0x1ac)]),this[_0x468c87(0x268)]=!0x1;}[_0x45141a(0x282)](){const _0x94480a=_0x45141a,_0x347741=this['_anchor'][_0x94480a(0xf9)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x245481=this[_0x94480a(0x24b)][_0x94480a(0xee)][_0x94480a(0x1fd)](()=>{const _0x40934d=_0x94480a;this[_0x40934d(0x130)]&&clearTimeout(this[_0x40934d(0x130)]),this[_0x40934d(0x130)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4aa800=_0x94480a;_0x347741['unsubscribe'](),_0x245481[_0x4aa800(0x1b5)]();};}[_0x45141a(0x172)](_0xe38788,_0xc71e0f,_0x58a4f2,_0x41b14b){const _0x1bfc67=_0x45141a,_0x2c3d7b=new a[(_0x1bfc67(0x288))](_0xe38788)['setAlpha'](0.2)['toRgbString'](),_0x4e71a4=new p[(_0x1bfc67(0xf4))](ht+a[_0x1bfc67(0x1d0)][_0x1bfc67(0x1a3)](k),{'pointsGroup':_0xc71e0f,'fill':_0x2c3d7b||p[_0x1bfc67(0x248)](a['COLORS'][_0x1bfc67(0x240)],0.2),'left':_0x58a4f2,'top':_0x41b14b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1bfc67(0x16a)]['push'](_0x4e71a4),this[_0x1bfc67(0x23e)][_0x1bfc67(0x177)](_0x4e71a4,b[_0x1bfc67(0x1ac)]);}[_0x45141a(0x162)](_0x16efc2,_0x5ba0f6,_0x573ece,_0x4ce252){const _0xbe7386=_0x45141a,_0x23f725=new a[(_0xbe7386(0x288))](_0x16efc2)[_0xbe7386(0x24a)](0.2)['toRgbString'](),_0x102887=new p[(_0xbe7386(0xf4))](ut+a[_0xbe7386(0x1d0)][_0xbe7386(0x1a3)](k),{'pointsGroup':_0x5ba0f6,'fill':_0x23f725||p[_0xbe7386(0x248)](a['COLORS'][_0xbe7386(0x240)],0.2),'left':_0x573ece,'top':_0x4ce252,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbe7386(0x16a)][_0xbe7386(0x297)](_0x102887),this['_scene'][_0xbe7386(0x177)](_0x102887,b[_0xbe7386(0x1ac)]);}['_getAnchorBounding'](_0x100a9){const _0x2c4b86=_0x100a9[0x0],_0x17b20d=_0x2c4b86[0x0],_0x384517=_0x2c4b86[0x2],{x:_0xd6420b,y:_0x372d8a}=_0x17b20d,{x:_0x359fe4,y:_0x3a677d}=_0x384517;return{'left':_0xd6420b,'top':_0x372d8a,'width':_0x359fe4-_0xd6420b,'height':_0x3a677d-_0x372d8a};}['_getScale'](){const _0x5f31c5=_0x45141a,{scaleX:_0x3e29b1,scaleY:_0x430ed4}=this[_0x5f31c5(0x23e)][_0x5f31c5(0x1d1)]();return Math['max'](_0x3e29b1,_0x430ed4);}}var It=Object['getOwnPropertyDescriptor'],vt=(_0x553b22,_0x250bb0,_0x25e2b0,_0x57644e)=>{const _0xdb4309=_0x45141a;for(var _0x62e773=_0x57644e>0x1?void 0x0:_0x57644e?It(_0x250bb0,_0x25e2b0):_0x250bb0,_0xea252a=_0x553b22[_0xdb4309(0x1fe)]-0x1,_0x144f16;_0xea252a>=0x0;_0xea252a--)(_0x144f16=_0x553b22[_0xea252a])&&(_0x62e773=_0x144f16(_0x62e773)||_0x62e773);return _0x62e773;},Y=(_0x215dbc,_0xd853bc)=>(_0x12f079,_0x3c5001)=>_0xd853bc(_0x12f079,_0x3c5001,_0x215dbc);let Ie=class extends a[_0x45141a(0x171)]{constructor(_0x985f0b,_0x521214,_0x1008ab,_0x25f195,_0xbce216){const _0x6504b4=_0x45141a;super(),h(this,'_cursorShapes',[]),h(this,_0x6504b4(0x2e5),[]),(this[_0x6504b4(0x14a)]=_0x985f0b,this[_0x6504b4(0x16d)]=_0x521214,this['_collabCursorController']=_0x1008ab,this[_0x6504b4(0x160)]=_0x25f195,this[_0x6504b4(0x2d9)]=_0xbce216,this[_0x6504b4(0x210)]());}[_0x45141a(0x210)](){const _0x2a19de=_0x45141a,_0x4d38bc=this['_context']['unitId'],_0x181cee=this[_0x2a19de(0x16d)];this[_0x2a19de(0x18a)](d[_0x2a19de(0x2c1)]([this[_0x2a19de(0x1ee)][_0x2a19de(0xc8)](_0x4d38bc),this['_themeService'][_0x2a19de(0x283)]])[_0x2a19de(0x186)]($[_0x2a19de(0xa3)](([_0x39fc63,_0x45c575])=>({'skeleton':_0x181cee[_0x2a19de(0x152)](),'cursors':[..._0x39fc63[_0x2a19de(0x307)]()][_0x2a19de(0x2fd)](_0x545292=>({..._0x545292,'color':_0x45c575[_0x545292[_0x2a19de(0x13c)]]}))})))[_0x2a19de(0xdf)](_0x47bf64=>{const _0xa32234=_0x2a19de;if(this[_0xa32234(0x2ae)](),_0x47bf64){const {skeleton:_0x12a9e6,cursors:_0x4ccd43}=_0x47bf64;this[_0xa32234(0x20c)](_0x12a9e6,_0x4ccd43);}})),this[_0x2a19de(0x2f1)](),this[_0x2a19de(0xd5)]();}[_0x45141a(0x20c)](_0x3841d9,_0x2f8155){const _0x5ee047=_0x45141a,{scene:_0xa02af8,mainComponent:_0x4892b6}=this[_0x5ee047(0x14a)],_0x4a8bbe=_0x2f8155['map'](_0x9012ea=>new De(_0x9012ea,_0xa02af8,_0x3841d9,_0x4892b6));this[_0x5ee047(0x2bd)]=_0x4a8bbe,this[_0x5ee047(0x2e5)]=_0x2f8155;}[_0x45141a(0x275)](){const _0x351b97=_0x45141a;this[_0x351b97(0x2ae)]();const {scene:_0x16be76,mainComponent:_0x146c4e}=this['_context'],_0x5ddfc5=this['_docSkeletonManagerService']['getSkeleton'](),_0x36241e=this[_0x351b97(0x2e5)][_0x351b97(0xa3)](_0x1a9501=>new De(_0x1a9501,_0x16be76,_0x5ddfc5,_0x146c4e));this['_cursorShapes']=_0x36241e;}[_0x45141a(0x2ae)](){const _0x131d90=_0x45141a;this[_0x131d90(0x2bd)][_0x131d90(0xf1)](_0x5abbd4=>_0x5abbd4[_0x131d90(0x20f)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x34e2d7=_0x45141a,_0x301658=[b[_0x34e2d7(0x2e9)]['id']];this['disposeWithMe'](this[_0x34e2d7(0x160)]['onCommandExecuted'](_0x31ad16=>{const _0x335813=_0x34e2d7;_0x301658[_0x335813(0xd7)](_0x31ad16['id'])&&_0x31ad16[_0x335813(0xbd)][_0x335813(0x286)]===this[_0x335813(0x14a)][_0x335813(0x286)]&&this['_refreshCollabCursors']();}));}[_0x45141a(0x2f1)](){const _0x72334f=_0x45141a;this[_0x72334f(0x18a)](a[_0x72334f(0x27d)](this['_context'][_0x72334f(0x2b9)][_0x72334f(0x216)])['pipe']($['filter'](_0x5052f9=>_0x5052f9[_0x72334f(0x304)]===p[_0x72334f(0x156)]['resize']),$[_0x72334f(0x2cb)](0x10))[_0x72334f(0xdf)](()=>{this['_refreshCollabCursors']();}));}};Ie=vt([Y(0x1,a[_0x45141a(0x147)](W['DocSkeletonManagerService'])),Y(0x2,a[_0x45141a(0x147)](x)),Y(0x3,a['ICommandService']),Y(0x4,a[_0x45141a(0x147)](a[_0x45141a(0x258)]))],Ie);const gt=0x1,mt=1.5;class we extends p[_0x45141a(0x196)]{constructor(_0x25978e,_0x2c19e9){const _0x137fc6=_0x45141a;super(_0x25978e,_0x2c19e9),h(this,_0x137fc6(0xf8)),h(this,_0x137fc6(0x166),!0x1),h(this,'_range'),h(this,'_name',''),h(this,_0x137fc6(0x2b5),'top'),h(this,_0x137fc6(0xa5)),(_0x2c19e9&&this['setShapeProps'](_0x2c19e9),this[_0x137fc6(0xf9)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x137fc6(0x1fd)](()=>this[_0x137fc6(0xfe)]({'hovered':!0x1})));}[_0x45141a(0xfe)](_0x1175c4){const _0x1634c3=_0x45141a;var _0x57d227,_0x5042b9,_0x53f83b,_0x89c543,_0x92f034,_0x466aea;this[_0x1634c3(0xf8)]=(_0x57d227=_0x1175c4[_0x1634c3(0x13c)])!=null?_0x57d227:this[_0x1634c3(0xf8)],this[_0x1634c3(0x166)]=(_0x5042b9=_0x1175c4['hovered'])!=null?_0x5042b9:this[_0x1634c3(0x166)],this['_range']=(_0x53f83b=_0x1175c4[_0x1634c3(0x259)])!=null?_0x53f83b:this[_0x1634c3(0x1ef)],this['_name']=(_0x89c543=_0x1175c4[_0x1634c3(0x1f8)])!=null?_0x89c543:this['_name'],this[_0x1634c3(0x2b5)]=(_0x92f034=_0x1175c4[_0x1634c3(0x1dd)])!=null?_0x92f034:this[_0x1634c3(0x2b5)],this[_0x1634c3(0xa5)]=(_0x466aea=_0x1175c4[_0x1634c3(0x9e)])!=null?_0x466aea:this[_0x1634c3(0xa5)],this[_0x1634c3(0x10f)]({'width':_0x1175c4[_0x1634c3(0xa1)],'height':_0x1175c4[_0x1634c3(0x26c)]});}[_0x45141a(0x310)](_0xde8580){const _0x189989=_0x45141a,{row:_0x204411,column:_0x49a4f5}=_0xde8580;if(_0x204411>=this['_range']['startRow']&&_0x204411<=this[_0x189989(0x1ef)][_0x189989(0x2ec)]&&_0x49a4f5>=this[_0x189989(0x1ef)][_0x189989(0xe2)]&&_0x49a4f5<=this[_0x189989(0x1ef)]['endColumn']){this[_0x189989(0xfe)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x45141a(0x1e4)](_0x43cbe5){return!0x1;}[_0x45141a(0x1c7)](_0x1d7e9d){const _0x55c980=_0x45141a;p[_0x55c980(0x26e)]['drawWith'](_0x1d7e9d,{'width':this[_0x55c980(0xa1)],'height':this[_0x55c980(0x26c)],'strokeWidth':mt,'stroke':this[_0x55c980(0xf8)],'evented':!0x1,'fill':this[_0x55c980(0xa5)]}),this[_0x55c980(0x166)]&&(_0x1d7e9d[_0x55c980(0x173)](),_0x1d7e9d['transform'](0x1,0x0,0x0,0x1,this[_0x55c980(0xa1)],this[_0x55c980(0x2b5)]==='bottom'?0x0:-0x14),ee[_0x55c980(0x2c4)](_0x1d7e9d,{'text':this[_0x55c980(0x148)],'color':this[_0x55c980(0xf8)]}),_0x1d7e9d[_0x55c980(0x183)]());}}var Ct=Object[_0x45141a(0x104)],pt=(_0x206c8a,_0x5e0493,_0x5a52a1,_0xe55186)=>{const _0x1b416f=_0x45141a;for(var _0x55d383=_0xe55186>0x1?void 0x0:_0xe55186?Ct(_0x5e0493,_0x5a52a1):_0x5e0493,_0x15eb83=_0x206c8a[_0x1b416f(0x1fe)]-0x1,_0x57efa6;_0x15eb83>=0x0;_0x15eb83--)(_0x57efa6=_0x206c8a[_0x15eb83])&&(_0x55d383=_0x57efa6(_0x55d383)||_0x55d383);return _0x55d383;},ae=(_0x289cb,_0x373151)=>(_0x29e835,_0x14719c)=>_0x373151(_0x29e835,_0x14719c,_0x289cb);const bt=0x1389;let ve=class extends a[_0x45141a(0x171)]{constructor(_0x21be3c,_0x108ae9,_0xc028f7,_0x2a9fa8){const _0xc4c56=_0x45141a;super(),h(this,_0xc4c56(0x2e5),new Set()),h(this,_0xc4c56(0x2a2),null),(this[_0xc4c56(0x14a)]=_0x21be3c,this[_0xc4c56(0x15f)]=_0x108ae9,this[_0xc4c56(0x1ee)]=_0xc028f7,this['_themeService']=_0x2a9fa8,this[_0xc4c56(0x210)]());}[_0x45141a(0x210)](){const _0x1d4539=_0x45141a;this[_0x1d4539(0x15f)]['currentSkeleton$'][_0x1d4539(0x186)]($[_0x1d4539(0x2cc)](this[_0x1d4539(0x1f2)]),$[_0x1d4539(0xc6)](_0x3349db=>{const _0x3831ca=_0x1d4539;if(_0x3349db){const _0x26c62d=_0x3349db['sheetId'];return d['combineLatest'](this[_0x3831ca(0x1ee)]['getCollabCursors$'](this['_context']['unitId']),this[_0x3831ca(0x2d9)]['currentTheme$'])[_0x3831ca(0x186)]($[_0x3831ca(0xa3)](([_0x3543d2,_0x2866cf])=>{const _0x1fecdc=_0x3831ca,_0x37636e=new Map();return _0x3543d2[_0x1fecdc(0xf1)]((_0x18b60c,_0x3e8eaf)=>{const _0x128c12=_0x1fecdc;if(_0x18b60c['sheetID']===_0x26c62d){const _0x59faef={..._0x18b60c};_0x59faef[_0x128c12(0x13c)]=_0x2866cf[_0x18b60c['color']],_0x37636e[_0x128c12(0x11e)](_0x3e8eaf,_0x59faef);}}),{'skeleton':_0x3349db,'cursors':_0x37636e};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x1d4539(0xdf)](({skeleton:_0xbc8bcc,cursors:_0x2cc6da})=>{const _0x36a733=_0x1d4539;this[_0x36a733(0x2ae)](),_0xbc8bcc&&this[_0x36a733(0x20c)](_0xbc8bcc,_0x2cc6da);}),this[_0x1d4539(0x15f)][_0x1d4539(0x137)][_0x1d4539(0xdf)](_0x4cf3a3=>{const _0x5af5a4=_0x1d4539;if(_0x4cf3a3==null)return;const {skeleton:_0x223450}=_0x4cf3a3,{scene:_0x2d45d5}=this[_0x5af5a4(0x14a)];_0x2d45d5['onPointerMove$'][_0x5af5a4(0x1fd)](a['debounce'](_0x33e9fa=>{const _0x161fb6=_0x5af5a4;var _0x32636e,_0x243d0e;const {offsetX:_0x4dbe2d,offsetY:_0x3b19e4}=_0x33e9fa,{x:_0x2e46e3,y:_0x1b61d7}=_0x2d45d5[_0x161fb6(0x1fb)](p[_0x161fb6(0xb5)][_0x161fb6(0x1af)]([_0x4dbe2d,_0x3b19e4])),{scaleX:_0x40c1ec,scaleY:_0x18d720}=_0x2d45d5[_0x161fb6(0x1d1)](),_0x1a054a=_0x2d45d5['getViewport'](p[_0x161fb6(0x236)][_0x161fb6(0x2c6)]),_0x28400c=_0x2d45d5[_0x161fb6(0x2f0)](p[_0x161fb6(0xb5)][_0x161fb6(0x1af)]([_0x2e46e3,_0x1b61d7]),_0x1a054a),_0xa659a3=_0x223450[_0x161fb6(0x302)](_0x4dbe2d,_0x3b19e4,_0x40c1ec,_0x18d720,_0x28400c);((_0x32636e=this[_0x161fb6(0x2a2)])==null?void 0x0:_0x32636e[_0x161fb6(0x1b8)])===_0xa659a3[_0x161fb6(0x1b8)]&&((_0x243d0e=this[_0x161fb6(0x2a2)])==null?void 0x0:_0x243d0e[_0x161fb6(0x2a8)])===_0xa659a3['row']||this[_0x161fb6(0x2e5)]['forEach'](_0x1d0ac3=>{const _0xa1ffdd=_0x161fb6;_0x1d0ac3[_0xa1ffdd(0x310)](_0xa659a3);});},0x64));});}[_0x45141a(0x20c)](_0x43bf69,_0x2b575b){const _0x4f1f43=_0x45141a;var _0x19e196;const _0x338976=(_0x19e196=this[_0x4f1f43(0x15f)]['getCurrent']())==null?void 0x0:_0x19e196[_0x4f1f43(0x2b2)];if(!_0x338976)return;const _0x3185fa=this[_0x4f1f43(0x2e6)]();if(!_0x3185fa)return;this[_0x4f1f43(0x2e5)][_0x4f1f43(0xf1)](_0x423ca5=>{const _0x55f791=_0x4f1f43;_0x423ca5[_0x55f791(0x301)]();});const {scene:_0xa2c63f}=_0x3185fa,_0x59a3e4=Et(Array[_0x4f1f43(0x2af)](_0x2b575b[_0x4f1f43(0x307)]()))['map'](_0x3d2e2f=>{const _0x186c23=_0x4f1f43,{color:_0x405ff4,range:_0x2dd697,name:_0x2fe439,selection:_0x576b7a,sheetID:_0x11409a}=_0x3d2e2f,{startColumn:_0x4847ef,startRow:_0x4e5f03,endColumn:_0x3b41c7,endRow:_0x4b158a}=_0x2dd697,_0x56fc1e=X[_0x186c23(0xbc)](_0x4e5f03,_0x4847ef,_0xa2c63f,_0x338976),_0x4ce54a=X[_0x186c23(0xbc)](_0x4b158a,_0x3b41c7,_0xa2c63f,_0x338976),{columnHeaderHeightAndMarginTop:_0xf58e5c}=_0x338976,{startX:_0x5d1c13,startY:_0x2080c2}=_0x56fc1e,{endX:_0x4da537,endY:_0x35d838}=_0x4ce54a,_0x1809b9=_0x4da537-_0x5d1c13,_0x193d9b=_0x35d838-_0x2080c2,_0x279290={'labelPosition':_0x2080c2-_0xf58e5c>=q?_0x186c23(0x2ad):_0x186c23(0x280),'sheetID':_0x11409a,'range':_0x2dd697,'color':_0x405ff4,'name':_0x2fe439,'selection':_0x576b7a,'left':_0x5d1c13,'top':_0x2080c2,'width':_0x1809b9,'height':_0x193d9b,'evented':!0x1,'zIndex':bt};return new we(_0x2fe439,_0x279290);});_0xa2c63f[_0x4f1f43(0x314)](_0x59a3e4,gt),this[_0x4f1f43(0x2e5)]=new Set(_0x59a3e4);}['_removeCollabCursors'](){const _0x16c7e5=_0x45141a;var _0x84a727;(_0x84a727=this[_0x16c7e5(0x2e5)])==null||_0x84a727[_0x16c7e5(0xf1)](_0x16724e=>_0x16724e[_0x16c7e5(0x20f)]());}[_0x45141a(0x2e6)](){const _0x5b30b8=_0x45141a;return X[_0x5b30b8(0x203)](this[_0x5b30b8(0x14a)]['unit'],this['_context']);}};ve=pt([ae(0x1,a[_0x45141a(0x147)](X[_0x45141a(0x2a5)])),ae(0x2,a[_0x45141a(0x147)](x)),ae(0x3,a[_0x45141a(0x147)](a['ThemeService']))],ve);function Et(_0x3258d0){const _0x3b4d5c=_0x45141a,_0x12dbfc=new Map();return _0x3258d0[_0x3b4d5c(0xf1)](_0x194fe0=>{const _0x37c969=_0x3b4d5c;if(_0x12dbfc[_0x37c969(0x17c)](_0x194fe0[_0x37c969(0x1a5)])){const _0x2e6f6b=_0x12dbfc[_0x37c969(0x1a0)](_0x194fe0[_0x37c969(0x1a5)]);_0x2e6f6b[_0x37c969(0x1f8)]+=',\x20'+_0x194fe0[_0x37c969(0x1f8)];}else _0x12dbfc['set'](_0x194fe0[_0x37c969(0x1a5)],_0x194fe0);}),Array[_0x3b4d5c(0x2af)](_0x12dbfc[_0x3b4d5c(0x307)]());}var E=function(){const _0x304133=_0x45141a;return E=Object['assign']||function(_0x2a6c02){const _0x98c768=_0x2ce7;for(var _0x1eb82d,_0x3750cd=0x1,_0x46eef4=arguments['length'];_0x3750cd<_0x46eef4;_0x3750cd++){_0x1eb82d=arguments[_0x3750cd];for(var _0x56e029 in _0x1eb82d)Object[_0x98c768(0x296)][_0x98c768(0x22f)][_0x98c768(0xe0)](_0x1eb82d,_0x56e029)&&(_0x2a6c02[_0x56e029]=_0x1eb82d[_0x56e029]);}return _0x2a6c02;},E[_0x304133(0xe7)](this,arguments);},Tt=function(_0x366767,_0x50de4d){const _0x3cd48e=_0x45141a;var _0x2ee04c={};for(var _0x456e64 in _0x366767)Object[_0x3cd48e(0x296)]['hasOwnProperty'][_0x3cd48e(0xe0)](_0x366767,_0x456e64)&&_0x50de4d[_0x3cd48e(0x1e1)](_0x456e64)<0x0&&(_0x2ee04c[_0x456e64]=_0x366767[_0x456e64]);if(_0x366767!=null&&typeof Object['getOwnPropertySymbols']==_0x3cd48e(0xb7)){for(var _0x26e95f=0x0,_0x456e64=Object[_0x3cd48e(0x1f3)](_0x366767);_0x26e95f<_0x456e64[_0x3cd48e(0x1fe)];_0x26e95f++)_0x50de4d[_0x3cd48e(0x1e1)](_0x456e64[_0x26e95f])<0x0&&Object['prototype'][_0x3cd48e(0x1f4)][_0x3cd48e(0xe0)](_0x366767,_0x456e64[_0x26e95f])&&(_0x2ee04c[_0x456e64[_0x26e95f]]=_0x366767[_0x456e64[_0x26e95f]]);}return _0x2ee04c;},pe=M[_0x45141a(0x239)](function(_0x20733d,_0x1f59db){const _0x4d2a65=_0x45141a;var _0x4df33e=_0x20733d[_0x4d2a65(0x1aa)],_0x33ee8d=_0x20733d['id'],_0x46ecca=_0x20733d[_0x4d2a65(0x1a4)],_0x4e29af=_0x20733d[_0x4d2a65(0x149)],_0x2b0f3c=Tt(_0x20733d,['icon','id',_0x4d2a65(0x1a4),_0x4d2a65(0x149)]),_0x24d874=_0x4d2a65(0xf0)['concat'](_0x33ee8d,'\x20')[_0x4d2a65(0x27c)](_0x46ecca||'')[_0x4d2a65(0xc2)](),_0x475e9c=M[_0x4d2a65(0x170)]('_'[_0x4d2a65(0x27c)](Dt()));return Ae(_0x4df33e,''['concat'](_0x33ee8d),{'defIds':_0x4df33e['defIds'],'idSuffix':_0x475e9c[_0x4d2a65(0x153)]},E({'ref':_0x1f59db,'className':_0x24d874},_0x2b0f3c),_0x4e29af);});function Ae(_0x7fac6f,_0x2aad2,_0x10b002,_0xdd5114,_0x476f40){const _0x18de84=_0x45141a;return M['createElement'](_0x7fac6f[_0x18de84(0x1f5)],E(E({'key':_0x2aad2},Ot(_0x7fac6f,_0x10b002,_0x476f40)),_0xdd5114),(Rt(_0x7fac6f,_0x10b002)[_0x18de84(0x2bf)]||[])[_0x18de84(0xa3)](function(_0x55dcd0,_0x22017b){const _0x2bb64a=_0x18de84;return Ae(_0x55dcd0,''[_0x2bb64a(0x27c)](_0x2aad2,'-')[_0x2bb64a(0x27c)](_0x7fac6f['tag'],'-')[_0x2bb64a(0x27c)](_0x22017b),_0x10b002,void 0x0,_0x476f40);}));}function Ot(_0x57ebbd,_0x381a8e,_0x57e817){const _0x2f65ab=_0x45141a;var _0x447e88=E({},_0x57ebbd['attrs']);_0x57e817!=null&&_0x57e817[_0x2f65ab(0x1b1)]&&_0x447e88[_0x2f65ab(0x1c3)]==='colorChannel1'&&(_0x447e88[_0x2f65ab(0x1c3)]=_0x57e817[_0x2f65ab(0x1b1)]),_0x57ebbd[_0x2f65ab(0x1f5)]==='mask'&&_0x447e88['id']&&(_0x447e88['id']=_0x447e88['id']+_0x381a8e[_0x2f65ab(0x2aa)]),Object[_0x2f65ab(0x291)](_0x447e88)[_0x2f65ab(0xf1)](function(_0x48fd89){const _0x17e805=_0x2f65ab;var _0x31389f=_0x48fd89[0x0],_0x206d73=_0x48fd89[0x1];_0x31389f===_0x17e805(0x159)&&typeof _0x206d73==_0x17e805(0x2d8)&&(_0x447e88[_0x31389f]=_0x206d73[_0x17e805(0x18c)](/url\(#(.*)\)/,_0x17e805(0x11d)[_0x17e805(0x27c)](_0x381a8e[_0x17e805(0x2aa)],')')));});var _0x28ed33=_0x381a8e[_0x2f65ab(0x211)];return!_0x28ed33||_0x28ed33[_0x2f65ab(0x1fe)]===0x0||(_0x57ebbd[_0x2f65ab(0x1f5)]===_0x2f65ab(0x264)&&_0x447e88['xlink:href']&&(_0x447e88['xlink:href']=_0x447e88['xlink:href']+_0x381a8e[_0x2f65ab(0x2aa)]),Object['entries'](_0x447e88)['forEach'](function(_0x5c483d){const _0x489275=_0x2f65ab;var _0x557f87=_0x5c483d[0x0],_0x574965=_0x5c483d[0x1];typeof _0x574965=='string'&&(_0x447e88[_0x557f87]=_0x574965['replace'](/url\(#(.*)\)/,_0x489275(0x11d)['concat'](_0x381a8e['idSuffix'],')')));})),_0x447e88;}function Rt(_0x422c87,_0x424dd1){const _0x4dc63=_0x45141a;var _0x5578cf,_0x10abac=_0x424dd1[_0x4dc63(0x211)];return!_0x10abac||_0x10abac[_0x4dc63(0x1fe)]===0x0?_0x422c87:_0x422c87[_0x4dc63(0x1f5)]===_0x4dc63(0x224)&&(!((_0x5578cf=_0x422c87[_0x4dc63(0x2bf)])===null||_0x5578cf===void 0x0)&&_0x5578cf[_0x4dc63(0x1fe)])?E(E({},_0x422c87),{'children':_0x422c87[_0x4dc63(0x2bf)]['map'](function(_0x153767){const _0x35b7b=_0x4dc63;return typeof _0x153767[_0x35b7b(0x1e3)]['id']==_0x35b7b(0x2d8)&&_0x10abac&&_0x10abac[_0x35b7b(0x1e1)](_0x153767[_0x35b7b(0x1e3)]['id'])>-0x1?E(E({},_0x153767),{'attrs':E(E({},_0x153767['attrs']),{'id':_0x153767[_0x35b7b(0x1e3)]['id']+_0x424dd1[_0x35b7b(0x2aa)]})}):_0x153767;})}):_0x422c87;}function Dt(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}pe[_0x45141a(0xfb)]=_0x45141a(0x2d6);var Ut={'tag':_0x45141a(0x191),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x45141a(0x103),'height':_0x45141a(0x103)},'children':[{'tag':'g','attrs':{'clipPath':_0x45141a(0x164)},'children':[{'tag':'path','attrs':{'stroke':_0x45141a(0x253),'d':'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','strokeLinecap':_0x45141a(0x285),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x45141a(0x224),'attrs':{},'children':[{'tag':_0x45141a(0x2b6),'attrs':{'id':_0x45141a(0x155)},'children':[{'tag':_0x45141a(0x1ea),'attrs':{'fill':_0x45141a(0xed),'d':_0x45141a(0x146)}}]}]}],'defIds':[_0x45141a(0x155)]},ye=M[_0x45141a(0x239)](function(_0x4d52b7,_0x5f5c1c){const _0x854cef=_0x45141a;return M[_0x854cef(0x1b2)](pe,Object['assign']({},_0x4d52b7,{'id':_0x854cef(0x315),'ref':_0x5f5c1c,'icon':Ut}));});ye['displayName']=_0x45141a(0x158);var Nt={'tag':_0x45141a(0x191),'attrs':{'fill':_0x45141a(0x21d),'viewBox':_0x45141a(0x1b3),'width':_0x45141a(0x103),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x45141a(0x21e),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x45141a(0x224),'attrs':{},'children':[{'tag':_0x45141a(0x2b6),'attrs':{'id':_0x45141a(0x28f)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x45141a(0x1c6)}}]}]}],'defIds':['on-line-single_clip0_910_349']},$e=M[_0x45141a(0x239)](function(_0x4bda51,_0x4b48eb){const _0xbfd2c4=_0x45141a;return M[_0xbfd2c4(0x1b2)](pe,Object[_0xbfd2c4(0x2ee)]({},_0x4bda51,{'id':_0xbfd2c4(0x10a),'ref':_0x4b48eb,'icon':Nt}));});$e[_0x45141a(0xfb)]=_0x45141a(0x201);function Mt(_0x474424){const _0x5f280b=_0x45141a;switch(_0x474424){case u[_0x5f280b(0x2ef)][_0x5f280b(0x311)]:return _0x5f280b(0x14f);case u['CollaborationStatus']['CONFLICT']:return _0x5f280b(0x24c);case u[_0x5f280b(0x2ef)][_0x5f280b(0x10d)]:return _0x5f280b(0x229);case u['CollaborationStatus']['NOT_COLLAB']:return _0x5f280b(0x238);case u[_0x5f280b(0x2ef)][_0x5f280b(0xdb)]:case u[_0x5f280b(0x2ef)]['AWAITING_WITH_PENDING']:return _0x5f280b(0x128);case u[_0x5f280b(0x2ef)][_0x5f280b(0x267)]:case u[_0x5f280b(0x2ef)][_0x5f280b(0x294)]:return _0x5f280b(0x2ea);}}function xe(_0xae173a){const _0x5e25bf=_0x45141a,{status$:_0x2f8001}=_0xae173a,_0x966801=T[_0x5e25bf(0x13f)](_0x2f8001,u['CollaborationStatus'][_0x5e25bf(0x11f)]),_0x49ddd6=T[_0x5e25bf(0x2eb)](a[_0x5e25bf(0x2f3)]),_0x2bd9a0=T[_0x5e25bf(0x2eb)](u['CollaborationSessionService']),_0x5e72d0=_0x966801!==u[_0x5e25bf(0x2ef)][_0x5e25bf(0x311)],_0x3f7c51=_0x49ddd6['t'](Mt(_0x966801)),_0x162032=_0x5e72d0?P[_0x5e25bf(0x1f0)]($e,{}):P[_0x5e25bf(0x1f0)](ye,{}),_0x54a30b=M[_0x5e25bf(0x140)](()=>{_0x5e72d0||_0x2bd9a0['reconnect']();},[_0x5e72d0,_0x2bd9a0]);function _0x1a9220(){const _0x2c0ea1=_0x5e25bf;return P[_0x2c0ea1(0x312)](_0x2c0ea1(0x293),{'className':'univer-flex\x20univer-items-center','onClick':_0x54a30b,'children':[P[_0x2c0ea1(0x1f0)](_0x2c0ea1(0x293),{'className':D[_0x2c0ea1(0x2c2)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x5e72d0?_0x2c0ea1(0x19e):'univer-text-red-500'),'children':_0x162032}),P['jsx']('div',{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x3f7c51})]});}return _0x5e72d0?_0x1a9220():P['jsx'](D[_0x5e25bf(0x26a)],{'title':_0x49ddd6['t'](_0x5e25bf(0x18f)),'children':_0x1a9220()});}function _0x2ce7(_0x170a14,_0x315e06){const _0x16064d=_0x1606();return _0x2ce7=function(_0x2ce778,_0x1a470c){_0x2ce778=_0x2ce778-0x9e;let _0x214e7a=_0x16064d[_0x2ce778];return _0x214e7a;},_0x2ce7(_0x170a14,_0x315e06);}var Lt=Object[_0x45141a(0x104)],Pt=(_0x35506f,_0x549f35,_0xc079ee,_0x24a0f7)=>{const _0x46fd61=_0x45141a;for(var _0x37f99c=_0x24a0f7>0x1?void 0x0:_0x24a0f7?Lt(_0x549f35,_0xc079ee):_0x549f35,_0xff38cd=_0x35506f[_0x46fd61(0x1fe)]-0x1,_0x22453d;_0xff38cd>=0x0;_0xff38cd--)(_0x22453d=_0x35506f[_0xff38cd])&&(_0x37f99c=_0x22453d(_0x37f99c)||_0x37f99c);return _0x37f99c;},V=(_0x3d6827,_0x105dc1)=>(_0x2ea335,_0x46fe12)=>_0x105dc1(_0x2ea335,_0x46fe12,_0x3d6827);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x45141a(0x298)]{constructor(_0x1ef07c,_0x345ee7,_0x52723e,_0x3866fc){const _0x2b0238=_0x45141a;super(),h(this,_0x2b0238(0xcb),new d[(_0x2b0238(0x242))](u[_0x2b0238(0x2ef)][_0x2b0238(0x11f)])),(this[_0x2b0238(0x181)]=_0x1ef07c,this[_0x2b0238(0x19c)]=_0x345ee7,this[_0x2b0238(0x23d)]=_0x52723e,this['_uiPartsService']=_0x3866fc,this[_0x2b0238(0x2b0)](),this[_0x2b0238(0x15b)]());}['_initStatusListener'](){const _0x4968c4=_0x45141a;this[_0x4968c4(0x18a)](this[_0x4968c4(0x181)][_0x4968c4(0x15c)][_0x4968c4(0x186)](d[_0x4968c4(0xc6)](()=>{const _0x13972b=_0x4968c4,_0x2c4714=this[_0x13972b(0x181)][_0x13972b(0x269)]();return _0x2c4714?this[_0x13972b(0x23d)][_0x13972b(0xfc)](_0x2c4714[_0x13972b(0x189)]()):d['of'](null);}),d['switchMap'](_0x3d0019=>_0x3d0019?_0x3d0019[_0x4968c4(0x138)]:d['of'](u[_0x4968c4(0x2ef)][_0x4968c4(0x11f)])))[_0x4968c4(0xdf)](_0x45cd77=>{const _0xf29174=_0x4968c4;this[_0xf29174(0xcb)][_0xf29174(0x2e4)](_0x45cd77);}));}[_0x45141a(0x2b0)](){const _0x2884ec=_0x45141a;this['disposeWithMe'](this[_0x2884ec(0x28c)][_0x2884ec(0x227)](T[_0x2884ec(0x1df)][_0x2884ec(0x11a)],()=>T[_0x2884ec(0x232)](wt({'status$':this['_status$'][_0x2884ec(0x30e)]()}),this[_0x2884ec(0x19c)])));}},exports['DesktopCollaborationStatusDisplayController']=Pt([V(0x0,a[_0x45141a(0x101)]),V(0x1,a[_0x45141a(0x147)](a['Injector'])),V(0x2,a[_0x45141a(0x147)](u[_0x45141a(0x2a4)])),V(0x3,T['IUIPartsService'])],exports[_0x45141a(0xb9)]);function wt(_0xf29721){const {status$:_0x5b161f}=_0xf29721;return function(){return P['jsx'](xe,{'status$':_0x5b161f});};}var At=Object[_0x45141a(0x104)],yt=(_0x5b295f,_0x548041,_0x496dc7,_0x2fa567)=>{const _0x25ddb2=_0x45141a;for(var _0x522300=_0x2fa567>0x1?void 0x0:_0x2fa567?At(_0x548041,_0x496dc7):_0x548041,_0x2f329d=_0x5b295f[_0x25ddb2(0x1fe)]-0x1,_0x37b7d6;_0x2f329d>=0x0;_0x2f329d--)(_0x37b7d6=_0x5b295f[_0x2f329d])&&(_0x522300=_0x37b7d6(_0x522300)||_0x522300);return _0x522300;},y=(_0xbcbd75,_0x23468b)=>(_0x2812dc,_0x38e91e)=>_0x23468b(_0x2812dc,_0x38e91e,_0xbcbd75);let K=class extends a[_0x45141a(0x298)]{constructor(_0x3953da,_0x5024ef,_0x59c69e,_0x39f7fe,_0x5d4711,_0x35a2b5){const _0x1c1868=_0x45141a;super(),this[_0x1c1868(0x21c)]=_0x3953da,this['_localCacheService']=_0x5024ef,this[_0x1c1868(0x2c5)]=_0x59c69e,this[_0x1c1868(0x16b)]=_0x39f7fe,this['_notificationService']=_0x5d4711,this[_0x1c1868(0x24d)]=_0x35a2b5,this[_0x1c1868(0x278)](),this[_0x1c1868(0xc5)]();}['_setupBeforeClosingHandler'](){const _0x437637=_0x45141a;this[_0x437637(0x18a)](this[_0x437637(0x21c)][_0x437637(0x16f)](()=>{const _0xe31995=_0x437637;if(this['_localCacheService'][_0xe31995(0x1ec)][_0xe31995(0x1cb)])return this['_localeService']['t'](_0xe31995(0x23a));}));}[_0x45141a(0xc5)](){const _0x405efd=_0x45141a;this[_0x405efd(0x18a)](this[_0x405efd(0x2c5)][_0x405efd(0x1d5)]['subscribe'](_0x1d41db=>{const _0x44d1cd=_0x405efd;_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0x10c)]&&this[_0x44d1cd(0x16b)][_0x44d1cd(0x266)]({'type':D[_0x44d1cd(0x244)][_0x44d1cd(0x161)],'content':this[_0x44d1cd(0x24d)]['t'](_0x44d1cd(0x11b))}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0x1ed)]&&this['_messageService'][_0x44d1cd(0x266)]({'type':D[_0x44d1cd(0x244)][_0x44d1cd(0x161)],'content':this[_0x44d1cd(0x24d)]['t'](_0x44d1cd(0x150))}),_0x1d41db['id']===u['CollaborationUIEventId'][_0x44d1cd(0x2e0)]&&this[_0x44d1cd(0x25d)]['show']({'title':this[_0x44d1cd(0x24d)]['t'](_0x44d1cd(0x218)),'content':this[_0x44d1cd(0x24d)]['t']('permission.content'),'type':_0x44d1cd(0x299),'duration':0x0}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0x198)]&&this[_0x44d1cd(0x16b)][_0x44d1cd(0x266)]({'type':D[_0x44d1cd(0x244)][_0x44d1cd(0xea)],'content':this['_localeService']['t'](_0x44d1cd(0x150))+'('+_0x1d41db['data']+')'}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0xd1)]&&this[_0x44d1cd(0x16b)][_0x44d1cd(0x266)]({'type':D[_0x44d1cd(0x244)][_0x44d1cd(0x161)],'content':this[_0x44d1cd(0x24d)]['t'](_0x1d41db[_0x44d1cd(0x139)]||'')}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)]['SOCKET_FAILED_RETRY']&&this[_0x44d1cd(0x16b)]['show']({'type':D['MessageType']['Warning'],'content':this[_0x44d1cd(0x24d)]['t'](_0x44d1cd(0x221))}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0xfa)]&&this[_0x44d1cd(0x16b)]['show']({'type':D['MessageType'][_0x44d1cd(0xea)],'content':this[_0x44d1cd(0x24d)]['t']('session.connection-failed')}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0x182)]&&this[_0x44d1cd(0x16b)][_0x44d1cd(0x266)]({'type':D[_0x44d1cd(0x244)][_0x44d1cd(0xea)],'content':this['_localeService']['t'](_0x44d1cd(0x2a9))});}));}};K=yt([y(0x0,T[_0x45141a(0x1c5)]),y(0x1,u[_0x45141a(0xbf)]),y(0x2,a['Inject'](u['CollaborationUIEventService'])),y(0x3,T[_0x45141a(0x29c)]),y(0x4,T[_0x45141a(0x2e2)]),y(0x5,a[_0x45141a(0x147)](a[_0x45141a(0x2f3)]))],K);const $t='collaboration-client-ui.config',Ue={},be=a[_0x45141a(0x1b6)](_0x45141a(0x1f9));var xt=Object[_0x45141a(0x104)],jt=(_0x33924f,_0x505709,_0x1d619f,_0x451448)=>{const _0x309ed0=_0x45141a;for(var _0x2fbcd7=_0x451448>0x1?void 0x0:_0x451448?xt(_0x505709,_0x1d619f):_0x505709,_0x59d7da=_0x33924f[_0x309ed0(0x1fe)]-0x1,_0x1727d8;_0x59d7da>=0x0;_0x59d7da--)(_0x1727d8=_0x33924f[_0x59d7da])&&(_0x2fbcd7=_0x1727d8(_0x2fbcd7)||_0x2fbcd7);return _0x2fbcd7;},H=(_0x444fed,_0x403c15)=>(_0x138ef0,_0x323c50)=>_0x403c15(_0x138ef0,_0x323c50,_0x444fed);exports[_0x45141a(0x19f)]=class extends a[_0x45141a(0x171)]{constructor(_0x5e09e9,_0x2e3148,_0x2d20b2,_0x5d7237,_0x139bbf){const _0x2f463f=_0x45141a;super(),this[_0x2f463f(0x2f9)]=_0x5e09e9,this[_0x2f463f(0x184)]=_0x2e3148,this['_commandService']=_0x2d20b2,this['_dataLoaderService']=_0x5d7237,_0x139bbf?_0x139bbf==null||_0x139bbf[_0x2f463f(0x234)]()[_0x2f463f(0x21f)](()=>this['_init']()):(this[_0x2f463f(0x184)]['debug'](_0x2f463f(0xa6),_0x2f463f(0x2a7)),this[_0x2f463f(0x210)]());}async[_0x45141a(0x210)](){const _0x55b5da=_0x45141a,_0x150efe=this[_0x55b5da(0x2f9)]['getParam'](_0x55b5da(0x22b)),_0x487e2e=this[_0x55b5da(0x2f9)][_0x55b5da(0x134)](_0x55b5da(0x304)),_0x1000cd=this[_0x55b5da(0x2f9)][_0x55b5da(0x134)](_0x55b5da(0xb2));if(!_0x150efe||!_0x487e2e){this['_logService']['debug'](_0x55b5da(0xa6),_0x55b5da(0x23b));return;}const _0x3709cf=await this[_0x55b5da(0xd2)]['loadUnit'](_0x150efe,Number(_0x487e2e),_0x1000cd);_0x3709cf&&_0x3709cf instanceof a[_0x55b5da(0x28a)]&&this[_0x55b5da(0xa7)](_0x3709cf);}async[_0x45141a(0xa7)](_0x1124c4){const _0xbade1=_0x45141a;await this[_0xbade1(0x2c7)](_0x1124c4),_0x1124c4[_0xbade1(0x185)][_0xbade1(0x186)](d['takeUntil'](this['dispose$']))['subscribe'](_0x1b7db0=>{const _0x56f551=_0xbade1;_0x1b7db0&&this[_0x56f551(0x226)](_0x1b7db0);}),this[_0xbade1(0x2f9)][_0xbade1(0xc7)][_0xbade1(0x186)](d[_0xbade1(0x2cc)](this[_0xbade1(0x1f2)]))[_0xbade1(0xdf)](()=>this['_updateSubUnitFromURLParams'](_0x1124c4));}[_0x45141a(0x226)](_0x2f4b54,_0x3cd47e=!0x1){const _0x53635e=_0x45141a,_0x46df9d=this[_0x53635e(0x2f9)][_0x53635e(0x134)](_0x53635e(0xb2));_0x2f4b54[_0x53635e(0xf7)]()!==_0x46df9d&&this['_urlService']['setParam'](_0x53635e(0xb2),_0x2f4b54['getSheetId'](),_0x3cd47e);}async[_0x45141a(0x2c7)](_0x168960){const _0xbf16e=_0x45141a;var _0x584ec6;const _0x28c4d6=this[_0xbf16e(0x2f9)][_0xbf16e(0x134)](_0xbf16e(0xb2));if(!_0x28c4d6||!_0x168960[_0xbf16e(0x126)](_0x28c4d6)){const _0x4d1690=_0x168960[_0xbf16e(0x187)]()[0x0],_0x3675b1=_0x168960[_0xbf16e(0x126)](_0x4d1690);if(!_0x3675b1)return;this['_updateURLWithCurrentState'](_0x3675b1,!0x0),await this['_commandService'][_0xbf16e(0x237)](g[_0xbf16e(0x207)]['id'],{'unitId':_0x168960['getUnitId'](),'subUnitId':_0x4d1690});return;}((_0x584ec6=_0x168960[_0xbf16e(0x2f2)]())==null?void 0x0:_0x584ec6[_0xbf16e(0xf7)]())!==_0x28c4d6&&await this[_0xbf16e(0x160)][_0xbf16e(0x237)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x168960['getUnitId'](),'subUnitId':_0x28c4d6});}},exports[_0x45141a(0x19f)]=jt([H(0x0,be),H(0x1,a[_0x45141a(0x1d2)]),H(0x2,a[_0x45141a(0x274)]),H(0x3,a[_0x45141a(0x147)](u['DataLoaderService'])),H(0x4,a[_0x45141a(0x1ff)](qe[_0x45141a(0x261)]))],exports[_0x45141a(0x19f)]);var Bt=Object['getOwnPropertyDescriptor'],kt=(_0x4f3149,_0x29755d,_0x52e703,_0x2b5ab1)=>{const _0x4adae9=_0x45141a;for(var _0x26e932=_0x2b5ab1>0x1?void 0x0:_0x2b5ab1?Bt(_0x29755d,_0x52e703):_0x29755d,_0x212fbd=_0x4f3149[_0x4adae9(0x1fe)]-0x1,_0x36ef57;_0x212fbd>=0x0;_0x212fbd--)(_0x36ef57=_0x4f3149[_0x212fbd])&&(_0x26e932=_0x36ef57(_0x26e932)||_0x26e932);return _0x26e932;},ce=(_0x586625,_0x599508)=>(_0x1b342e,_0x16a85a)=>_0x599508(_0x1b342e,_0x16a85a,_0x586625);let z=class{constructor(_0x46b104,_0x533b60,_0x62a99e){const _0x25196c=_0x45141a;this[_0x25196c(0x19c)]=_0x46b104,this[_0x25196c(0x15d)]=_0x533b60,this[_0x25196c(0x1e8)]=_0x62a99e;}[_0x45141a(0x15a)](_0x2bba4b){const _0x58c7a2=_0x45141a;this['_transformUndoRedoStack'](_0x2bba4b),this[_0x58c7a2(0xac)](_0x2bba4b);}['transformRemoteChangeset'](_0x964d81){const _0x31d3ab=_0x45141a,{unitID:_0x51d083}=_0x964d81,_0x3fb8b8=this[_0x31d3ab(0x1e8)]['getRenderById'](_0x51d083)[_0x31d3ab(0x2e8)](b['DocIMEInputManagerService']),{redoCache:_0x4d4bf0}=_0x3fb8b8['getUndoRedoMutationParamsCache']();if(_0x4d4bf0[_0x31d3ab(0x1fe)]===0x0)return _0x964d81;let _0x2d4049=a[_0x31d3ab(0x1d0)][_0x31d3ab(0x106)](_0x964d81['mutations'][0x0]);for(let _0x3593af=0x0;_0x3593af<_0x4d4bf0[_0x31d3ab(0x1fe)];_0x3593af++){const _0x15c71b={'id':_0x31d3ab(0x20b),'params':{..._0x4d4bf0[_0x3593af]}},_0x4edbc6=this[_0x31d3ab(0x15d)]['transformMutation'](_0x2d4049,_0x15c71b,!0x1);if(m[_0x31d3ab(0x254)](_0x4edbc6))throw _0x4edbc6[_0x31d3ab(0x299)];_0x2d4049=_0x4edbc6['m1Prime'];}return{...a['Tools'][_0x31d3ab(0x106)](_0x964d81),'mutations':[_0x2d4049]};}[_0x45141a(0x179)](_0x49a818){const _0x42ef54=_0x45141a,{unitID:_0x580f8a}=_0x49a818,_0x3ec31b=this[_0x42ef54(0x1e8)][_0x42ef54(0xe9)](_0x580f8a)[_0x42ef54(0x2e8)](b[_0x42ef54(0x2ed)]),{undoCache:_0x2ac393,redoCache:_0x171e61}=_0x3ec31b[_0x42ef54(0x289)]();if(_0x2ac393[_0x42ef54(0x1fe)]===0x0||_0x171e61[_0x42ef54(0x1fe)]===0x0)return;const _0x57b937=[],_0x27f2c9=[];let _0x505d40=a[_0x42ef54(0x1d0)][_0x42ef54(0x106)](_0x49a818[_0x42ef54(0x1c1)][0x0]),_0x20ccac=a['Tools']['deepClone'](_0x49a818[_0x42ef54(0x1c1)][0x0]);for(let _0x59bf22=_0x2ac393[_0x42ef54(0x1fe)]-0x1;_0x59bf22>=0x0;_0x59bf22--){const _0x29a3c9={'id':_0x42ef54(0x20b),'params':{..._0x2ac393[_0x59bf22]}},_0x5e9cb1={'id':_0x42ef54(0x20b),'params':{..._0x171e61[_0x59bf22]}},_0x37d3fd=this[_0x42ef54(0x15d)][_0x42ef54(0xae)](_0x505d40,_0x29a3c9,!0x1),_0x22c779=this['_transformService'][_0x42ef54(0xae)](_0x20ccac,_0x5e9cb1,!0x1);if(m[_0x42ef54(0x254)](_0x37d3fd))throw _0x37d3fd[_0x42ef54(0x299)];if(m['isTransformMutationFailure'](_0x22c779))throw _0x22c779[_0x42ef54(0x299)];_0x57b937[_0x42ef54(0x2bc)](_0x37d3fd[_0x42ef54(0x284)][_0x42ef54(0xbd)]),_0x27f2c9['unshift'](_0x22c779[_0x42ef54(0x284)]['params']),_0x505d40=_0x37d3fd[_0x42ef54(0x119)],_0x20ccac=_0x22c779[_0x42ef54(0x119)];}_0x3ec31b[_0x42ef54(0x2b8)]({'undoCache':_0x57b937,'redoCache':_0x27f2c9});}['_transformPreviousActiveRange'](_0x3a62cb){const _0x33c8e2=_0x45141a,{unitID:_0xb97b29}=_0x3a62cb,_0x5df089=this[_0x33c8e2(0x1e8)][_0x33c8e2(0xe9)](_0xb97b29)[_0x33c8e2(0x2e8)](b['DocIMEInputManagerService']),_0x223eae=_0x5df089[_0x33c8e2(0x110)]();if(_0x223eae==null)return;const _0x51cdcc=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a62cb[_0x33c8e2(0x290)],'actions':null,'textRanges':[_0x223eae]}}],_0x19650d=this[_0x33c8e2(0x15d)][_0x33c8e2(0x132)](_0x3a62cb,_0x51cdcc);if(!m[_0x33c8e2(0x26f)](_0x19650d))throw _0x19650d[_0x33c8e2(0x299)];const _0x2261bf=_0x19650d[_0x33c8e2(0x284)][0x0][_0x33c8e2(0xbd)]['textRanges'];Array['isArray'](_0x2261bf)&&_0x2261bf['length']&&_0x5df089[_0x33c8e2(0x197)](_0x2261bf[0x0]);}};z=kt([ce(0x0,a[_0x45141a(0x147)](a[_0x45141a(0x1b0)])),ce(0x1,m[_0x45141a(0x1b9)]),ce(0x2,p[_0x45141a(0x2fe)])],z);var Ht=Object[_0x45141a(0x104)],Ft=(_0x4e49c1,_0xf74d77,_0x2cf65e,_0x5ef33d)=>{const _0x5a3b40=_0x45141a;for(var _0x162865=_0x5ef33d>0x1?void 0x0:_0x5ef33d?Ht(_0xf74d77,_0x2cf65e):_0xf74d77,_0x1b15e0=_0x4e49c1[_0x5a3b40(0x1fe)]-0x1,_0x2ec979;_0x1b15e0>=0x0;_0x1b15e0--)(_0x2ec979=_0x4e49c1[_0x1b15e0])&&(_0x162865=_0x2ec979(_0x162865)||_0x162865);return _0x162865;},le=(_0x540976,_0x3ab61e)=>(_0x1d76db,_0x3cbad0)=>_0x3ab61e(_0x1d76db,_0x3cbad0,_0x540976);let J=class{constructor(_0x41fb03,_0x1c5864,_0x1ad7a2){const _0x45d26a=_0x45141a;this[_0x45d26a(0x19c)]=_0x41fb03,this[_0x45d26a(0x15d)]=_0x1c5864,this[_0x45d26a(0x217)]=_0x1ad7a2;}[_0x45141a(0x30a)](_0x493c06){this['_transformHistoryAndStateStack'](_0x493c06);}[_0x45141a(0x2be)](_0x13ecf4){const _0x3c0fb6=_0x45141a,{unitID:_0x543f4d}=_0x13ecf4,{collaboration:_0x5ee271}=this['_docStateChangeManagerService'][_0x3c0fb6(0x1a2)](_0x543f4d);if(_0x5ee271[_0x3c0fb6(0x1fe)]===0x0)return _0x13ecf4;let _0x2005bd=a[_0x3c0fb6(0x1d0)]['deepClone'](_0x13ecf4[_0x3c0fb6(0x1c1)][0x0]);for(let _0x4d7df0=0x0;_0x4d7df0<_0x5ee271['length'];_0x4d7df0++){const _0x5b1292={'id':_0x3c0fb6(0x20b),'params':{'unitId':_0x5ee271[_0x4d7df0]['unitId'],..._0x5ee271[_0x4d7df0][_0x3c0fb6(0x1bb)]}},_0x18de71=this['_transformService'][_0x3c0fb6(0xae)](_0x2005bd,_0x5b1292,!0x1);if(m[_0x3c0fb6(0x254)](_0x18de71))throw _0x18de71[_0x3c0fb6(0x299)];_0x2005bd=_0x18de71[_0x3c0fb6(0x119)];}return{...a[_0x3c0fb6(0x1d0)][_0x3c0fb6(0x106)](_0x13ecf4),'mutations':[_0x2005bd]};}['_transformHistoryAndStateStack'](_0x442ca7){const _0xee4b98=_0x45141a,{unitID:_0x3555f4}=_0x442ca7,{history:_0x30ee02,collaboration:_0x56a296}=this[_0xee4b98(0x217)]['getStateCache'](_0x3555f4);if(_0x30ee02[_0xee4b98(0x1fe)]===0x0&&_0x56a296['length']===0x0)return;const _0x2c4823=[],_0x1bdfd7=[];let _0x3a57a2=a[_0xee4b98(0x1d0)][_0xee4b98(0x106)](_0x442ca7[_0xee4b98(0x1c1)][0x0]),_0x4c1f08=a[_0xee4b98(0x1d0)][_0xee4b98(0x106)](_0x442ca7[_0xee4b98(0x1c1)][0x0]);for(let _0x328d5b=_0x30ee02[_0xee4b98(0x1fe)]-0x1;_0x328d5b>=0x0;_0x328d5b--){const _0x11792b={'id':_0xee4b98(0x20b),'params':{'unitId':_0x30ee02[_0x328d5b]['unitId'],..._0x30ee02[_0x328d5b][_0xee4b98(0x1dc)]}},_0x5b7719={'id':_0xee4b98(0x20b),'params':{'unitId':_0x30ee02[_0x328d5b][_0xee4b98(0x286)],..._0x30ee02[_0x328d5b][_0xee4b98(0x1bb)]}},_0x3629c5=this[_0xee4b98(0x15d)][_0xee4b98(0xae)](_0x3a57a2,_0x11792b,!0x1),_0x37ac30=this[_0xee4b98(0x15d)][_0xee4b98(0xae)](_0x4c1f08,_0x5b7719,!0x1);if(m[_0xee4b98(0x254)](_0x3629c5))throw _0x3629c5[_0xee4b98(0x299)];if(m[_0xee4b98(0x254)](_0x37ac30))throw _0x37ac30[_0xee4b98(0x299)];_0x2c4823[_0xee4b98(0x2bc)]({..._0x30ee02[_0x328d5b],'undoState':_0x3629c5[_0xee4b98(0x284)][_0xee4b98(0xbd)],'redoState':_0x37ac30[_0xee4b98(0x284)][_0xee4b98(0xbd)]}),_0x3a57a2=_0x3629c5['m1Prime'],_0x4c1f08=_0x37ac30[_0xee4b98(0x119)];}_0x3a57a2=a[_0xee4b98(0x1d0)][_0xee4b98(0x106)](_0x442ca7['mutations'][0x0]),_0x4c1f08=a[_0xee4b98(0x1d0)][_0xee4b98(0x106)](_0x442ca7['mutations'][0x0]);for(let _0x5147e0=_0x56a296[_0xee4b98(0x1fe)]-0x1;_0x5147e0>=0x0;_0x5147e0--){const _0x1d96ad={'id':_0xee4b98(0x20b),'params':{'unitId':_0x56a296[_0x5147e0]['unitId'],..._0x56a296[_0x5147e0][_0xee4b98(0x1dc)]}},_0x279fbd={'id':_0xee4b98(0x20b),'params':{'unitId':_0x56a296[_0x5147e0][_0xee4b98(0x286)],..._0x56a296[_0x5147e0][_0xee4b98(0x1bb)]}},_0x564713=this[_0xee4b98(0x15d)][_0xee4b98(0xae)](_0x3a57a2,_0x1d96ad,!0x1),_0x1e9c60=this[_0xee4b98(0x15d)][_0xee4b98(0xae)](_0x4c1f08,_0x279fbd,!0x1);if(m[_0xee4b98(0x254)](_0x564713))throw _0x564713[_0xee4b98(0x299)];if(m[_0xee4b98(0x254)](_0x1e9c60))throw _0x1e9c60[_0xee4b98(0x299)];_0x1bdfd7[_0xee4b98(0x2bc)]({..._0x56a296[_0x5147e0],'undoState':_0x564713['m2Prime']['params'],'redoState':_0x1e9c60['m2Prime'][_0xee4b98(0xbd)]}),_0x3a57a2=_0x564713[_0xee4b98(0x119)],_0x4c1f08=_0x1e9c60['m1Prime'];}this[_0xee4b98(0x217)][_0xee4b98(0x2c8)](_0x3555f4,{'history':_0x2c4823,'collaboration':_0x1bdfd7});}};J=Ft([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x45141a(0x1b9)]),le(0x2,a[_0x45141a(0x147)](b[_0x45141a(0x2ab)]))],J);var Wt=Object[_0x45141a(0x104)],Yt=(_0x3f86d9,_0x3f61b2,_0x1efdd3,_0x1191d6)=>{for(var _0xd47e4d=_0x1191d6>0x1?void 0x0:_0x1191d6?Wt(_0x3f61b2,_0x1efdd3):_0x3f61b2,_0x440118=_0x3f86d9['length']-0x1,_0x1cd42e;_0x440118>=0x0;_0x440118--)(_0x1cd42e=_0x3f86d9[_0x440118])&&(_0xd47e4d=_0x1cd42e(_0xd47e4d)||_0xd47e4d);return _0xd47e4d;},Ne=(_0x1bc43c,_0x5585b4)=>(_0x1f91f4,_0x1b27cb)=>_0x5585b4(_0x1f91f4,_0x1b27cb,_0x1bc43c);let Z=class{constructor(_0xeb17,_0x442f30){const _0x58d533=_0x45141a;this[_0x58d533(0x19c)]=_0xeb17,this[_0x58d533(0x15d)]=_0x442f30;}[_0x45141a(0x193)](_0x495ec3){const _0x195116=_0x45141a;var _0x47dd7f;const _0x1e4ec7=this[_0x195116(0x19c)][_0x195116(0x1a0)](W[_0x195116(0xde)]),_0x1b93c2=(_0x47dd7f=_0x1e4ec7[_0x195116(0x115)]())!=null?_0x47dd7f:[];if(_0x1b93c2[_0x195116(0x1fe)]===0x0)return;const _0x279487=_0x495ec3[_0x195116(0x290)],_0x5393ab=[{'id':_0x195116(0x20b),'params':{'unitId':_0x279487,'actions':null,'textRanges':_0x1b93c2}}],_0xd71cbd=this[_0x195116(0x15d)][_0x195116(0x132)](_0x495ec3,_0x5393ab);if(!m[_0x195116(0x26f)](_0xd71cbd))throw _0xd71cbd[_0x195116(0x299)];const _0x28448a=_0xd71cbd[_0x195116(0x284)][0x0][_0x195116(0xbd)][_0x195116(0x18d)];Array[_0x195116(0xbb)](_0x28448a)&&_0x28448a[_0x195116(0x1fe)]&&_0x1e4ec7[_0x195116(0x2d4)](_0x28448a,{'unitId':_0x279487,'subUnitId':_0x279487},!0x1);}};Z=Yt([Ne(0x0,a[_0x45141a(0x147)](a[_0x45141a(0x1b0)])),Ne(0x1,m[_0x45141a(0x1b9)])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0xc0ef46,_0x2f703d,_0x2cd10d,_0xd06b0e)=>{for(var _0xc5e20f=_0xd06b0e>0x1?void 0x0:_0xd06b0e?Vt(_0x2f703d,_0x2cd10d):_0x2f703d,_0x546f5d=_0xc0ef46['length']-0x1,_0x2063e3;_0x546f5d>=0x0;_0x546f5d--)(_0x2063e3=_0xc0ef46[_0x546f5d])&&(_0xc5e20f=_0x2063e3(_0xc5e20f)||_0xc5e20f);return _0xc5e20f;},N=(_0x4cb6ba,_0x594fa4)=>(_0x15fba6,_0xad0cc2)=>_0x594fa4(_0x15fba6,_0xad0cc2,_0x4cb6ba);let Q=class extends a[_0x45141a(0x298)]{constructor(_0x154bde,_0x53ecb5,_0x41df27,_0x3ad709,_0xc7d540,_0x3ea5cb,_0x5d154e,_0x273184){const _0x7825a3=_0x45141a;super(),h(this,'_status$',new d[(_0x7825a3(0x242))](u[_0x7825a3(0x2ef)][_0x7825a3(0x11f)])),(this[_0x7825a3(0x217)]=_0x154bde,this[_0x7825a3(0x23d)]=_0x53ecb5,this[_0x7825a3(0x2a6)]=_0x41df27,this['_docTransformStateCacheService']=_0x3ad709,this[_0x7825a3(0x17e)]=_0xc7d540,this[_0x7825a3(0x250)]=_0x3ea5cb,this['_messageService']=_0x5d154e,this[_0x7825a3(0x24d)]=_0x273184,this[_0x7825a3(0x124)]());}[_0x45141a(0x124)](){const _0x26925a=_0x45141a;this['disposeWithMe'](this[_0x26925a(0x23d)]['entityInit$']['subscribe'](_0x363a3f=>{const _0x313557=_0x26925a,_0x353570=this[_0x313557(0x217)][_0x313557(0x141)][_0x313557(0xdf)](_0x35b19e=>{const _0x45bb87=_0x313557;if(_0x35b19e==null)return;const {unitId:_0x4af828,redoState:_0x4db1f6,commandId:_0x351375}=_0x35b19e;if(_0x4af828!==_0x363a3f[_0x45bb87(0x290)])return;const _0x59b4a5={'id':_0x351375,'type':a[_0x45bb87(0xf2)][_0x45bb87(0xf3)],'params':{'unitId':_0x4af828,'actions':_0x4db1f6['actions'],'textRanges':null}};_0x363a3f[_0x45bb87(0x277)](_0x59b4a5);});if(_0x363a3f['disposeWithMe'](_0x353570),_0x363a3f instanceof u[_0x313557(0x28e)]){const _0x28610a={'onTransformIME':_0x4a801a=>this[_0x313557(0x2a6)][_0x313557(0x15a)](_0x4a801a),'onTransformState':_0x155b7a=>this['_docTransformStateCacheService'][_0x313557(0x30a)](_0x155b7a),'onTransformSelections':_0x4adf71=>this[_0x313557(0x17e)][_0x313557(0x193)](_0x4adf71),'onSyncEditingCollabCursor':_0xcb353d=>this['_docSyncEditingCollabCursorService'][_0x313557(0xdd)](_0xcb353d),'onTransformRemoteChangesetByIMECache':_0x4ea539=>this['_docTransformIMECacheService'][_0x313557(0x2be)](_0x4ea539),'onTransformRemoteChangesetByStateCache':_0x3d6fb5=>this['_docTransformStateCacheService'][_0x313557(0x2be)](_0x3d6fb5)};_0x363a3f[_0x313557(0xb1)](_0x28610a);}}));}};Q=Xt([N(0x0,a[_0x45141a(0x147)](b['DocStateChangeManagerService'])),N(0x1,a[_0x45141a(0x147)](u[_0x45141a(0x2a4)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x45141a(0x147)](J)),N(0x4,a[_0x45141a(0x147)](Z)),N(0x5,a[_0x45141a(0x147)](Ce)),N(0x6,T['IMessageService']),N(0x7,a[_0x45141a(0x147)](a['LocaleService']))],Q);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x7d54b3,_0x3e3332,_0x41fc31,_0x4062d2)=>{for(var _0x1c4b05=_0x4062d2>0x1?void 0x0:_0x4062d2?Gt(_0x3e3332,_0x41fc31):_0x3e3332,_0x238102=_0x7d54b3['length']-0x1,_0x2f1675;_0x238102>=0x0;_0x238102--)(_0x2f1675=_0x7d54b3[_0x238102])&&(_0x1c4b05=_0x2f1675(_0x1c4b05)||_0x1c4b05);return _0x1c4b05;},_e=(_0x3df477,_0x426e17)=>(_0x5f0bc3,_0x323109)=>_0x426e17(_0x5f0bc3,_0x323109,_0x3df477);let ge=class extends a[_0x45141a(0x298)]{constructor(_0x4cc7f5,_0x3357b7,_0x50e248){const _0x5d9019=_0x45141a;super(),h(this,_0x5d9019(0x1db),new Map()),h(this,_0x5d9019(0x2de),new Map()),h(this,_0x5d9019(0x2d2),!0x1),(this[_0x5d9019(0x292)]=_0x4cc7f5,this[_0x5d9019(0x241)]=_0x3357b7,this['_revisionService']=_0x50e248);}[_0x45141a(0x2d3)](){const _0x5be9cb=_0x45141a;this[_0x5be9cb(0x2d2)]=!0x0;}[_0x45141a(0x204)](){const _0x9c270f=_0x45141a;this[_0x9c270f(0x2d2)]=!0x1;}get[_0x45141a(0x1ec)](){const _0x35ed4d=_0x45141a;return this[_0x35ed4d(0x2de)];}['dispose'](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x206dd4){const _0x5a333b=_0x45141a;return this[_0x5a333b(0x2d2)]?null:this[_0x5a333b(0x241)][_0x5a333b(0x1ba)](u[_0x5a333b(0xb6)](_0x206dd4));}async[_0x45141a(0x1fa)](_0x4e012a,_0x8c2267){const _0x63e47b=_0x45141a;return!!this[_0x63e47b(0x241)][_0x63e47b(0x1c9)](_0x4e012a,_0x8c2267);}[_0x45141a(0xe3)](_0x4dfdfc,_0x4577d7,_0x4ab1a2,_0x36e56c){const _0x1a9c8d=_0x45141a,_0x3eeed5=this[_0x1a9c8d(0x225)][_0x1a9c8d(0x316)](_0x4dfdfc);this[_0x1a9c8d(0x1db)]['set'](_0x4dfdfc,{'unitID':_0x4dfdfc,'type':_0x4577d7,'awaitingChangeset':_0x4ab1a2,'mutations':_0x36e56c,'rev':_0x3eeed5}),this[_0x1a9c8d(0x2de)][_0x1a9c8d(0x17c)](_0x4dfdfc)||this[_0x1a9c8d(0x17a)](_0x4dfdfc);}[_0x45141a(0x17a)](_0x12034d){const _0x1b125b=_0x45141a,_0x484334=this[_0x1b125b(0x2fa)]();_0x484334===0x0?this[_0x1b125b(0x1ab)](_0x12034d):this[_0x1b125b(0x2de)][_0x1b125b(0x11e)](_0x12034d,setTimeout(()=>this['_saveCache'](_0x12034d),_0x484334));}[_0x45141a(0x2fa)](){const _0x430a8b=_0x45141a;var _0x30435c;return(_0x30435c=this[_0x430a8b(0x292)][_0x430a8b(0x208)](u[_0x430a8b(0x22a)]))!=null?_0x30435c:u['LOCAL_CACHE_INTERVAL'];}[_0x45141a(0x1ab)](_0x1f5719){const _0x38c249=_0x45141a,_0xa2a4f9=this[_0x38c249(0x2de)][_0x38c249(0x1a0)](_0x1f5719);return _0xa2a4f9!==void 0x0&&window[_0x38c249(0x287)](_0xa2a4f9),this['_localStorageService']['setItem'](u[_0x38c249(0xb6)](_0x1f5719),this[_0x38c249(0x1db)][_0x38c249(0x1a0)](_0x1f5719))[_0x38c249(0x21f)](()=>this[_0x38c249(0x2de)]['delete'](_0x1f5719));}async[_0x45141a(0x1b4)](){const _0x55452f=_0x45141a,_0x27161c=[];this['_saveTaskMap'][_0x55452f(0xf1)]((_0x2afcc0,_0x1ed11c)=>{const _0x30a027=_0x55452f;window[_0x30a027(0x287)](_0x2afcc0),_0x27161c[_0x30a027(0x297)](this['_saveCache'](_0x1ed11c)[_0x30a027(0x21f)](()=>{const _0x3da8d1=_0x30a027;this[_0x3da8d1(0x2de)][_0x3da8d1(0x151)](_0x1ed11c);}));}),await Promise[_0x55452f(0x26b)](_0x27161c);}};ge=qt([_e(0x0,a[_0x45141a(0x2ac)]),_e(0x1,a[_0x45141a(0xaa)]),_e(0x2,a[_0x45141a(0x147)](m[_0x45141a(0x14e)]))],ge);class je extends a[_0x45141a(0x171)]{constructor(){const _0x3e2088=_0x45141a;super(),h(this,_0x3e2088(0xc7)),this['urlChange$']=d['fromEvent'](window,_0x3e2088(0x205))[_0x3e2088(0x186)](d[_0x3e2088(0x2cc)](this['dispose$']),d[_0x3e2088(0x1d6)](0x1),d['mapTo'](void 0x0));}[_0x45141a(0x129)](_0x40c63d,_0x1763b8,_0x590185=!0x1){const _0x2208af=_0x45141a,_0xfc952=new URL(window[_0x2208af(0x17b)][_0x2208af(0xcd)]);_0xfc952[_0x2208af(0x1a8)][_0x2208af(0x11e)](_0x40c63d,_0x1763b8),_0x590185?window['history'][_0x2208af(0x194)]('','',_0xfc952['toString']()):window[_0x2208af(0xaf)][_0x2208af(0x260)]('','',_0xfc952['toString']());}[_0x45141a(0x1d7)](_0x104dd1,_0x233398=!0x1){const _0xa13c32=_0x45141a,_0x59a507=new URL(window['location'][_0xa13c32(0xcd)]);_0x59a507[_0xa13c32(0x1a8)][_0xa13c32(0x151)](_0x104dd1),_0x233398?window[_0xa13c32(0xaf)][_0xa13c32(0x194)]('','',_0x59a507[_0xa13c32(0x1a7)]()):window[_0xa13c32(0xaf)]['pushState']('','',_0x59a507[_0xa13c32(0x1a7)]());}['getParam'](_0x1470fc){const _0x482570=_0x45141a;var _0x425ca7;return(_0x425ca7=new URL(window[_0x482570(0x17b)]['href'])[_0x482570(0x1a8)][_0x482570(0x1a0)](_0x1470fc))!=null?_0x425ca7:void 0x0;}}var Kt=Object['defineProperty'],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x40abe0,_0x4e16f9,_0x217a2e)=>_0x4e16f9 in _0x40abe0?Kt(_0x40abe0,_0x4e16f9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x217a2e}):_0x40abe0[_0x4e16f9]=_0x217a2e,Zt=(_0x42c3e0,_0x18d11c,_0x2631bf,_0x2b295f)=>{const _0x3192fe=_0x45141a;for(var _0x3c4b7b=_0x2b295f>0x1?void 0x0:_0x2b295f?zt(_0x18d11c,_0x2631bf):_0x18d11c,_0x3f2457=_0x42c3e0[_0x3192fe(0x1fe)]-0x1,_0x22258a;_0x3f2457>=0x0;_0x3f2457--)(_0x22258a=_0x42c3e0[_0x3f2457])&&(_0x3c4b7b=_0x22258a(_0x3c4b7b)||_0x3c4b7b);return _0x3c4b7b;},he=(_0x8f1cf9,_0xd830b3)=>(_0x4201bb,_0x506055)=>_0xd830b3(_0x4201bb,_0x506055,_0x8f1cf9),Qt=(_0x535df8,_0x34ab1a,_0x1fafe8)=>Jt(_0x535df8,_0x34ab1a+'',_0x1fafe8);const es=_0x45141a(0x19d);exports[_0x45141a(0x25e)]=class extends a[_0x45141a(0x30d)]{constructor(_0x309a47=Ue,_0x578c7d,_0x54f948,_0x68b507){const _0x3f6e82=_0x45141a;super(),this[_0x3f6e82(0x30f)]=_0x309a47,this[_0x3f6e82(0x1e8)]=_0x578c7d,this['_injector']=_0x54f948,this[_0x3f6e82(0x292)]=_0x68b507;const {..._0x409935}=a[_0x3f6e82(0x145)]({},Ue,this[_0x3f6e82(0x30f)]);this[_0x3f6e82(0x292)][_0x3f6e82(0x11c)]($t,_0x409935);}[_0x45141a(0xb4)](){const _0x21cd66=_0x45141a;this[_0x21cd66(0x281)](),this[_0x21cd66(0x12d)]();}[_0x45141a(0x313)](){const _0x26d375=_0x45141a;this[_0x26d375(0x9f)]();}['_registerDependencies'](){const _0x1308c4=_0x45141a;var _0x4a62d2;const _0x2bd6e5=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x1308c4(0x13a)],{'useClass':G[_0x1308c4(0x245)]}],[u[_0x1308c4(0xbf)],{'useClass':ge}],[exports[_0x1308c4(0xb9)]],[Q],[K],[x],[de],[exports[_0x1308c4(0x19f)]]];a[_0x1308c4(0x1c8)](this[_0x1308c4(0x19c)],a[_0x1308c4(0x2c9)](_0x2bd6e5,(_0x4a62d2=this['_config'])==null?void 0x0:_0x4a62d2[_0x1308c4(0xfd)]));}[_0x45141a(0x9f)](){const _0xcac7c0=_0x45141a;this[_0xcac7c0(0x18a)](this[_0xcac7c0(0x1e8)]['registerRenderModule'](a[_0xcac7c0(0x29b)]['UNIVER_DOC'],[Ie])),this['disposeWithMe'](this[_0xcac7c0(0x1e8)]['registerRenderModule'](a[_0xcac7c0(0x29b)][_0xcac7c0(0x21b)],[ve]));}[_0x45141a(0x12d)](){const _0x95f1c1=_0x45141a;a[_0x95f1c1(0x1de)](this[_0x95f1c1(0x19c)],[[x],[exports[_0x95f1c1(0xb9)]],[Q],[K],[exports[_0x95f1c1(0x19f)]]]);}},Qt(exports[_0x45141a(0x25e)],'pluginName',es),exports[_0x45141a(0x25e)]=Zt([a[_0x45141a(0x29e)](u[_0x45141a(0x2bb)]),he(0x1,p[_0x45141a(0x2fe)]),he(0x2,a[_0x45141a(0x147)](a['Injector'])),he(0x3,a[_0x45141a(0x2ac)])],exports[_0x45141a(0x25e)]);var ts=Object[_0x45141a(0x104)],ss=(_0x92f9d0,_0x60a4d2,_0x13e1b0,_0x5e8e65)=>{for(var _0x4a2db7=_0x5e8e65>0x1?void 0x0:_0x5e8e65?ts(_0x60a4d2,_0x13e1b0):_0x60a4d2,_0x32f425=_0x92f9d0['length']-0x1,_0x51f80d;_0x32f425>=0x0;_0x32f425--)(_0x51f80d=_0x92f9d0[_0x32f425])&&(_0x4a2db7=_0x51f80d(_0x4a2db7)||_0x4a2db7);return _0x4a2db7;},F=(_0x4437f5,_0x55eec1)=>(_0x512b74,_0x1f9fdc)=>_0x55eec1(_0x512b74,_0x1f9fdc,_0x4437f5);exports['BrowserCollaborationSocketService']=class extends u[_0x45141a(0x213)]{constructor(_0xd0ce0b,_0x1f24d2,_0x1f17ff,_0x548cf6,_0x980de1){super(_0xd0ce0b,_0x1f24d2,_0x1f17ff,_0x548cf6,_0x980de1);}async['createSocket'](_0x228e4e){const _0x552229=_0x45141a,_0x495ee2=await this[_0x552229(0xa2)](),_0x3d6004=this[_0x552229(0xdc)](_0x228e4e,_0x495ee2);return this['_doCreateSocket'](_0x3d6004);}[_0x45141a(0xdc)](_0xd765f2,_0x5139e3){const _0x533abf=_0x45141a,_0x368216=typeof window>'u'?new URL(_0xd765f2):new URL(_0xd765f2,window[_0x533abf(0x17b)][_0x533abf(0xef)]);_0x368216[_0x533abf(0x1a8)]['set']('sessionTicket',_0x5139e3);const _0x39d734=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x533abf(0x17b)][_0x533abf(0x135)]);return _0x39d734[_0x533abf(0x1a0)](_0x533abf(0x2d0))&&_0x368216[_0x533abf(0x1a8)][_0x533abf(0x11e)](_0x533abf(0x2d0),_0x39d734[_0x533abf(0x1a0)]('runId')),_0x368216[_0x533abf(0x1a7)]();}async[_0x45141a(0xa2)](){const _0x29de12=_0x45141a;var _0xa29beb,_0x2d9045,_0x5c3296;const _0x3a0ec7=this[_0x29de12(0x292)][_0x29de12(0x208)](u[_0x29de12(0xba)]),_0xd2dbc8=(_0xa29beb=_0x3a0ec7==null?void 0x0:_0x3a0ec7['wsSessionTicketUrl'])!=null?_0xa29beb:u[_0x29de12(0x167)];return(_0x5c3296=(_0x2d9045=(await this[_0x29de12(0x2ce)]['get'](_0xd2dbc8,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x2d9045['ticket'])!=null?_0x5c3296:'';}},exports[_0x45141a(0x22c)]=ss([F(0x0,a[_0x45141a(0x147)](a[_0x45141a(0x1b0)])),F(0x1,a[_0x45141a(0x147)](G['HTTPService'])),F(0x2,a[_0x45141a(0x2ac)]),F(0x3,a['ILogService']),F(0x4,m['ISnapshotServerService'])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x45141a(0x29f);class is extends a[_0x45141a(0x298)]{constructor(){const _0x1824ce=_0x45141a;super(),h(this,'_id',a['generateRandomId']()),h(this,_0x1824ce(0xad),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x1824ce(0x263),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x1824ce(0x2b7),new Map()),this['_init']();}[_0x45141a(0x20f)](){const _0x50b6e6=_0x45141a;super[_0x50b6e6(0x20f)](),this['_clearOtherTimers'][_0x50b6e6(0xf1)]((_0x393c66,_0x5819f4)=>this['_removeClearOtherTimer'](_0x5819f4)),this[_0x50b6e6(0x263)]&&window[_0x50b6e6(0x1cd)](this[_0x50b6e6(0x263)]);}['getUnitStatus$'](_0x5cf903){const _0x3508ec=_0x45141a;return this[_0x3508ec(0x20d)](_0x5cf903)['pipe'](d['distinctUntilChanged']());}['editingUnit'](_0x22b9e3){const _0x58012c=_0x45141a;this['_selfUnitIDs'][_0x58012c(0x1cb)]===0x0&&this[_0x58012c(0xc0)](),this['_selfUnitIDs'][_0x58012c(0x2b3)](_0x22b9e3),this['_send']({'type':0x0,'memberID':this[_0x58012c(0xe5)],'unitIDs':[_0x22b9e3],'isForwarded':!0x1});}[_0x45141a(0x1e0)](_0x5037cb){const _0x5f2cd3=_0x45141a;this[_0x5f2cd3(0xad)][_0x5f2cd3(0x151)](_0x5037cb),this[_0x5f2cd3(0xad)][_0x5f2cd3(0x1cb)]===0x0&&this['_heartbeatTimer']&&window[_0x5f2cd3(0x1cd)](this['_heartbeatTimer']);}[_0x45141a(0x210)](){const _0x5525f4=_0x45141a;this['disposeWithMe'](a[_0x5525f4(0x1be)](d[_0x5525f4(0x1c2)](window,_0x5525f4(0x1fc))['subscribe'](_0x2ffa77=>{const _0x452ac9=_0x5525f4;if(_0x2ffa77[_0x452ac9(0x265)]!==Le||!_0x2ffa77[_0x452ac9(0xd4)])return;const _0x1b8132=JSON['parse'](_0x2ffa77['newValue']);this[_0x452ac9(0x228)](_0x1b8132);}))),window[_0x5525f4(0x12c)](_0x5525f4(0x215),()=>this[_0x5525f4(0x20a)]({'type':0x1,'memberID':this[_0x5525f4(0xe5)],'unitIDs':Array[_0x5525f4(0x2af)](this['_selfUnitIDs'])}));}[_0x45141a(0x228)](_0x49b9e2){switch(_0x49b9e2['type']){case 0x0:this['_handleJoinEvent'](_0x49b9e2);break;case 0x1:this['_handleLeaveEvent'](_0x49b9e2);break;case 0x2:this['_handleHeartbeatEvent'](_0x49b9e2);break;}}['_handleJoinEvent'](_0x75ade5){const _0x2fd6d7=_0x45141a,{unitIDs:_0x5e61b7,memberID:_0x3f7a23,isForwarded:_0x3c1197}=_0x75ade5;_0x5e61b7[_0x2fd6d7(0xf1)](_0x41aabe=>{const _0xcffe36=_0x2fd6d7;if(!_0x3c1197&&this[_0xcffe36(0x308)][_0xcffe36(0x17c)](_0x41aabe)&&this[_0xcffe36(0x20d)](_0x41aabe)[_0xcffe36(0x2e4)](u[_0xcffe36(0x174)]['OTHER_CLIENTS_EDITING']),!this[_0xcffe36(0x308)][_0xcffe36(0x17c)](_0x41aabe)||!this['_unitOnClients']['get'](_0x41aabe)[_0xcffe36(0x17c)](_0x3f7a23)){const _0x1e70ff=this[_0xcffe36(0x308)]['get'](_0x41aabe)||new Set();_0x1e70ff[_0xcffe36(0x2b3)](_0x3f7a23),this[_0xcffe36(0x308)][_0xcffe36(0x11e)](_0x41aabe,_0x1e70ff),this[_0xcffe36(0x1eb)](_0x3f7a23);}}),_0x3c1197||this[_0x2fd6d7(0x20a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x45141a(0x1eb)](_0x4701cd){const _0x2b919b=_0x45141a;this[_0x2b919b(0x25f)](_0x4701cd);const _0x378631=window['setTimeout'](()=>{const _0x35cbfe=_0x2b919b;this[_0x35cbfe(0x308)][_0x35cbfe(0xf1)](_0x1ac6fb=>{const _0x5da64e=_0x35cbfe;_0x1ac6fb[_0x5da64e(0x151)](_0x4701cd);});},Me*0x2);this[_0x2b919b(0x252)][_0x2b919b(0x11e)](_0x4701cd,_0x378631);}[_0x45141a(0x25f)](_0x2cffba){const _0xf75097=_0x45141a;if(this['_clearOtherTimers']['has'](_0x2cffba)){const _0x4e8c0a=this[_0xf75097(0x252)]['get'](_0x2cffba);_0x4e8c0a&&window[_0xf75097(0x287)](_0x4e8c0a),this[_0xf75097(0x252)]['set'](_0x2cffba,null);}}['_handleLeaveEvent'](_0x21bb78){const _0x173af5=_0x45141a,{memberID:_0x5476cb,unitIDs:_0x4d6ed6}=_0x21bb78;_0x4d6ed6[_0x173af5(0xf1)](_0x81b90=>{const _0x4b81d8=_0x173af5;var _0x2cf081;const _0x5ad31b=this[_0x4b81d8(0x308)][_0x4b81d8(0x1a0)](_0x81b90);_0x5ad31b&&(_0x5ad31b[_0x4b81d8(0x151)](_0x5476cb),(_0x2cf081=this[_0x4b81d8(0x20d)](_0x81b90))==null||_0x2cf081[_0x4b81d8(0x2e4)](_0x5ad31b['size']===0x0?u['UnitStatus'][_0x4b81d8(0x2b1)]:u[_0x4b81d8(0x174)]['OTHER_CLIENTS_EDITING']));}),this[_0x173af5(0x25f)](_0x5476cb);}['_handleHeartbeatEvent'](_0x111d77){const _0x3aad10=_0x45141a;this[_0x3aad10(0x1eb)](_0x111d77[_0x3aad10(0x1ae)]);}['_send'](_0x929199){const _0x3ca70a=_0x45141a;localStorage['setItem'](Le,JSON[_0x3ca70a(0x14b)](_0x929199));}[_0x45141a(0xc0)](){const _0x3fd950=_0x45141a;this[_0x3fd950(0x263)]=window[_0x3fd950(0x143)](()=>{const _0x2f0087=_0x3fd950;this[_0x2f0087(0x20a)]({'type':0x2,'memberID':this[_0x2f0087(0xe5)]});},Me);}[_0x45141a(0x20d)](_0x207def){const _0x4180ab=_0x45141a;return this[_0x4180ab(0x2b7)][_0x4180ab(0x17c)](_0x207def)||this['_unitStatus']['set'](_0x207def,new d['BehaviorSubject'](u[_0x4180ab(0x174)][_0x4180ab(0x2b1)])),this['_unitStatus']['get'](_0x207def);}}var Be=(_0x4212e1=>(_0x4212e1[_0x4212e1[_0x45141a(0xec)]=0x0]='UNDEFINED',_0x4212e1[_0x4212e1['OK']=0x1]='OK',_0x4212e1[_0x4212e1[_0x45141a(0x1cc)]=0x2]=_0x45141a(0x1cc),_0x4212e1[_0x4212e1[_0x45141a(0x2e0)]=0x3]=_0x45141a(0x2e0),_0x4212e1[_0x4212e1[_0x45141a(0x2cd)]=0x4]=_0x45141a(0x2cd),_0x4212e1[_0x4212e1[_0x45141a(0xce)]=0x5]='UNAUTHENTICATED',_0x4212e1[_0x4212e1[_0x45141a(0x276)]=0x6]=_0x45141a(0x276),_0x4212e1[_0x4212e1[_0x45141a(0x28b)]=0x7]='INVALID_ARGUMENT',_0x4212e1[_0x4212e1[_0x45141a(0x12a)]=0x8]='TOO_MANY_REQUESTS',_0x4212e1[_0x4212e1[_0x45141a(0x306)]=0x9]='COMPLETION_FINISHED',_0x4212e1[_0x4212e1['LOGIN_FAILED']=0xa]=_0x45141a(0xa4),_0x4212e1[_0x4212e1['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x45141a(0x13e),_0x4212e1[_0x4212e1[_0x45141a(0xab)]=0x1771]=_0x45141a(0xab),_0x4212e1[_0x4212e1[_0x45141a(0x18b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4212e1[_0x4212e1[_0x45141a(0x2e1)]=0x1773]=_0x45141a(0x2e1),_0x4212e1[_0x4212e1[_0x45141a(0xb8)]=0x1b59]=_0x45141a(0xb8),_0x4212e1[_0x4212e1['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x45141a(0x272),_0x4212e1[_0x4212e1[_0x45141a(0x15e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4212e1[_0x4212e1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x45141a(0xc9),_0x4212e1[_0x4212e1[_0x45141a(0x249)]=0x1b5d]=_0x45141a(0x249),_0x4212e1[_0x4212e1[_0x45141a(0x303)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4212e1[_0x4212e1[_0x45141a(0x121)]=0x2329]=_0x45141a(0x121),_0x4212e1[_0x4212e1['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4212e1[_0x4212e1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x45141a(0x163),_0x4212e1[_0x4212e1[_0x45141a(0x1c0)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4212e1[_0x4212e1[_0x45141a(0x16e)]=0x232d]=_0x45141a(0x16e),_0x4212e1[_0x4212e1['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x45141a(0xe6),_0x4212e1[_0x4212e1['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x45141a(0x2e7),_0x4212e1[_0x4212e1['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x45141a(0x222),_0x4212e1[_0x4212e1[_0x45141a(0x1e6)]=0x2714]=_0x45141a(0x1e6),_0x4212e1[_0x4212e1[_0x45141a(0xe1)]=0x271a]=_0x45141a(0xe1),_0x4212e1[_0x4212e1['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4212e1[_0x4212e1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4212e1[_0x4212e1[_0x45141a(0x25b)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4212e1[_0x4212e1[_0x45141a(0x202)]=0x2ee2]=_0x45141a(0x202),_0x4212e1[_0x4212e1[_0x45141a(0x131)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4212e1[_0x4212e1[_0x45141a(0xe4)]=0x2ee4]=_0x45141a(0xe4),_0x4212e1[_0x4212e1[_0x45141a(0x165)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4212e1[_0x4212e1[_0x45141a(0x212)]=0x32c9]=_0x45141a(0x212),_0x4212e1[_0x4212e1['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x45141a(0x27e),_0x4212e1[_0x4212e1['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x45141a(0x231),_0x4212e1[_0x4212e1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4212e1))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x7b1c29,_0x4a5a87,_0x310754,_0x21ee4b)=>{const _0x29e16f=_0x45141a;for(var _0x390065=_0x21ee4b>0x1?void 0x0:_0x21ee4b?ns(_0x4a5a87,_0x310754):_0x4a5a87,_0x344429=_0x7b1c29[_0x29e16f(0x1fe)]-0x1,_0x1a9f17;_0x344429>=0x0;_0x344429--)(_0x1a9f17=_0x7b1c29[_0x344429])&&(_0x390065=_0x1a9f17(_0x390065)||_0x390065);return _0x390065;},ue=(_0x1993f3,_0x2d6826)=>(_0xe8fd4f,_0x34d126)=>_0x2d6826(_0xe8fd4f,_0x34d126,_0x1993f3);exports[_0x45141a(0x20e)]=class extends a[_0x45141a(0x298)]{constructor(_0x3278be,_0x2ba61c,_0x2c07fe){const _0x481935=_0x45141a;super(),this[_0x481935(0x108)]=_0x3278be,this[_0x481935(0x2ce)]=_0x2ba61c,this[_0x481935(0x292)]=_0x2c07fe;}async[_0x45141a(0x111)](_0x4ec187,_0x352a52,_0x3b5cf0,..._0x54c996){const _0x5777ef=_0x45141a;var _0x17358f,_0x20ed02,_0x559cd3,_0x57a141;const _0x5c6d25=this[_0x5777ef(0x108)][_0x5777ef(0x269)]();if(!_0x5c6d25)throw new Error(_0x5777ef(0x230));const _0x514d7d=((_0x17358f=this[_0x5777ef(0x292)][_0x5777ef(0x208)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x17358f:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4ec187+_0x5777ef(0x2dc)+_0x352a52,_0x1e9422=new URL(window[_0x5777ef(0x17b)][_0x5777ef(0xcd)]),_0x305ecf={'scriptId':_0x4ec187,'runId':(_0x20ed02=_0x1e9422[_0x5777ef(0x1a8)]['get'](_0x5777ef(0x2d0)))!=null?_0x20ed02:'','function':_0x352a52,'unitId':_0x5c6d25[_0x5777ef(0x189)](),'argsOfFunction':JSON['stringify'](_0x54c996),'invokeId':(_0x559cd3=_0x3b5cf0['invokeId'])!=null?_0x559cd3:'','executionId':(_0x57a141=_0x3b5cf0[_0x5777ef(0x247)])!=null?_0x57a141:''};try{const _0x17e66d=await this[_0x5777ef(0x2ce)]['post'](_0x514d7d,{'body':_0x305ecf});return _0x17e66d[_0x5777ef(0x29d)][_0x5777ef(0x299)]&&_0x17e66d[_0x5777ef(0x29d)][_0x5777ef(0x299)][_0x5777ef(0x123)]!==Be['OK']?'Failed':_0x17e66d[_0x5777ef(0x29d)]['result'];}catch{return _0x5777ef(0x30b);}}},exports[_0x45141a(0x20e)]=rs([ue(0x0,a[_0x45141a(0x101)]),ue(0x1,a[_0x45141a(0x147)](G[_0x45141a(0x309)])),ue(0x2,a[_0x45141a(0x2ac)])],exports[_0x45141a(0x20e)]),exports[_0x45141a(0x28d)]=xe,exports['IURLService']=be,exports[_0x45141a(0x168)]=we,exports[_0x45141a(0x1f1)]=is,exports[_0x45141a(0x1f7)]=je;
@@ -1 +1 @@
1
- 'use strict';const _0x168af1=_0x24f9;(function(_0x581f01,_0x25354d){const _0x3cba64=_0x24f9,_0x29bc97=_0x581f01();while(!![]){try{const _0x36e9e6=-parseInt(_0x3cba64(0x17f))/0x1+parseInt(_0x3cba64(0x189))/0x2+parseInt(_0x3cba64(0x18c))/0x3+parseInt(_0x3cba64(0x188))/0x4*(parseInt(_0x3cba64(0x17b))/0x5)+-parseInt(_0x3cba64(0x187))/0x6+parseInt(_0x3cba64(0x17c))/0x7+-parseInt(_0x3cba64(0x18f))/0x8;if(_0x36e9e6===_0x25354d)break;else _0x29bc97['push'](_0x29bc97['shift']());}catch(_0x376027){_0x29bc97['push'](_0x29bc97['shift']());}}}(_0x3982,0x6b0e9));function _0x24f9(_0x20732f,_0x2316f4){const _0x39821d=_0x3982();return _0x24f9=function(_0x24f98d,_0x3d927c){_0x24f98d=_0x24f98d-0x17b;let _0x15987b=_0x39821d[_0x24f98d];return _0x15987b;},_0x24f9(_0x20732f,_0x2316f4);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x168af1(0x17d),'conflict':_0x168af1(0x18a),'notCollab':_0x168af1(0x180),'synced':_0x168af1(0x18b),'syncing':_0x168af1(0x18e),'offline':_0x168af1(0x186)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x168af1(0x181),'room-full':_0x168af1(0x184),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x168af1(0x183),'content':_0x168af1(0x182)},'permission':{'title':'Authentication\x20Error','content':_0x168af1(0x18d)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x168af1(0x185)}};function _0x3982(){const _0x29f220=['548148MXdSaf','Local\x20file','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','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.','Collaboration\x20Conflict','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','3224334KtkWcY','744YIinjK','225216hKheeV','Edit\x20conflicts','Synced','2486934ROaDTK','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing...','8538976pUjQNO','21930NfsLvg','5838224tZxika','Syncing\x20server\x20data...','exports'];_0x3982=function(){return _0x29f220;};return _0x3982();}module[_0x168af1(0x17e)]=e;
1
+ 'use strict';function _0x2979(_0x4f2454,_0x45ab87){const _0x559999=_0x5599();return _0x2979=function(_0x29795a,_0x67dba7){_0x29795a=_0x29795a-0x1c7;let _0x54d47b=_0x559999[_0x29795a];return _0x54d47b;},_0x2979(_0x4f2454,_0x45ab87);}function _0x5599(){const _0x287a6e=['60702NeUpTf','627658RXPPvZ','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Local\x20file','Synced','1518470BnBFVE','63gRVsyB','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','245iAZrID','323771UNNaSw','343160MNUrmV','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','exports','Connection\x20failed,\x20please\x20check\x20your\x20network.','848328mLIFmc','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.','454650VheqgH','Edit\x20conflicts','Authentication\x20Error','3SamkDR'];_0x5599=function(){return _0x287a6e;};return _0x5599();}const _0x2c63cd=_0x2979;(function(_0x202726,_0x28d684){const _0x2e4e00=_0x2979,_0x4f8243=_0x202726();while(!![]){try{const _0x15f8c2=parseInt(_0x2e4e00(0x1d1))/0x1+-parseInt(_0x2e4e00(0x1dd))/0x2*(-parseInt(_0x2e4e00(0x1db))/0x3)+parseInt(_0x2e4e00(0x1d2))/0x4+parseInt(_0x2e4e00(0x1d8))/0x5+-parseInt(_0x2e4e00(0x1dc))/0x6*(-parseInt(_0x2e4e00(0x1d0))/0x7)+parseInt(_0x2e4e00(0x1d6))/0x8+parseInt(_0x2e4e00(0x1cb))/0x9*(-parseInt(_0x2e4e00(0x1ca))/0xa);if(_0x15f8c2===_0x28d684)break;else _0x4f8243['push'](_0x4f8243['shift']());}catch(_0x54efeb){_0x4f8243['push'](_0x4f8243['shift']());}}}(_0x5599,0x33a47));const e={'collab-client':{'tooltip':{'reconnect':_0x2c63cd(0x1cc)}},'collabStatus':{'fetchMiss':_0x2c63cd(0x1ce),'conflict':_0x2c63cd(0x1d9),'notCollab':_0x2c63cd(0x1c8),'synced':_0x2c63cd(0x1c9),'syncing':'Syncing...','offline':_0x2c63cd(0x1cf)},'session':{'connection-failed':_0x2c63cd(0x1d5),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x2c63cd(0x1d3)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x2c63cd(0x1d7)},'permission':{'title':_0x2c63cd(0x1da),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2c63cd(0x1c7)},'auth':{'needGotoLoginAlert':_0x2c63cd(0x1cd)}};module[_0x2c63cd(0x1d4)]=e;