@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250421-e4eb9bc → 0.6.10-experimental.20250424-9e348ed
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5655fa=_0x360b;(function(_0x5c2e00,_0x5263b4){const _0x38a660=_0x360b,_0x326640=_0x5c2e00();while(!![]){try{const _0x3bf417=-parseInt(_0x38a660(0x1ee))/0x1*(parseInt(_0x38a660(0x1f0))/0x2)+-parseInt(_0x38a660(0x1f4))/0x3*(parseInt(_0x38a660(0x1f1))/0x4)+parseInt(_0x38a660(0x1ef))/0x5*(parseInt(_0x38a660(0x1f5))/0x6)+parseInt(_0x38a660(0x1f7))/0x7*(-parseInt(_0x38a660(0x1f9))/0x8)+parseInt(_0x38a660(0x1f8))/0x9+parseInt(_0x38a660(0x1fb))/0xa+parseInt(_0x38a660(0x1fd))/0xb;if(_0x3bf417===_0x5263b4)break;else _0x326640['push'](_0x326640['shift']());}catch(_0x1c495e){_0x326640['push'](_0x326640['shift']());}}}(_0x2769,0xc97ef));function _0x360b(_0x55490a,_0x1b5432){const _0x276995=_0x2769();return _0x360b=function(_0x360b91,_0x8fb88d){_0x360b91=_0x360b91-0x1ec;let _0x3a26c0=_0x276995[_0x360b91];return _0x3a26c0;},_0x360b(_0x55490a,_0x1b5432);}const t=require(_0x5655fa(0x1f2)),e=require(_0x5655fa(0x1ed));function _0x2769(){const _0x205791=['220795ExRsXs','1268KtKZvn','4oQchwW','@univerjs-pro/collaboration-client-ui','get','4566339VNnnkn','222EqytHE','_injector','4105892DOxDnA','10203309jSCweK','8FDaMSU','FUniver','6672650iRQHoo','extend','8731525kPUgsG','runOnServer','RemoteUniscriptService','@univerjs/core/facade','2042lClrzQ'];_0x2769=function(){return _0x205791;};return _0x2769();}class c extends e['FUniver']{[_0x5655fa(0x1fe)](_0x47c5ca,_0x5c7955,..._0x404870){const _0x3cbaff=_0x5655fa;return this[_0x3cbaff(0x1f6)][_0x3cbaff(0x1f3)](t[_0x3cbaff(0x1ec)])[_0x3cbaff(0x1fe)](_0x47c5ca,_0x5c7955,{},..._0x404870);}}e[_0x5655fa(0x1fa)][_0x5655fa(0x1fc)](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 _0x578d62=_0xaa00;(function(_0x41c54e,_0xcb1129){const _0x28f5df=_0xaa00,_0x4a25a8=_0x41c54e();while(!![]){try{const _0x15ae36=parseInt(_0x28f5df(0x2d2))/0x1*(parseInt(_0x28f5df(0x342))/0x2)+-parseInt(_0x28f5df(0x2b0))/0x3*(-parseInt(_0x28f5df(0x1b7))/0x4)+-parseInt(_0x28f5df(0x346))/0x5*(-parseInt(_0x28f5df(0x33c))/0x6)+parseInt(_0x28f5df(0x189))/0x7+-parseInt(_0x28f5df(0x327))/0x8*(parseInt(_0x28f5df(0x1a8))/0x9)+parseInt(_0x28f5df(0x358))/0xa+-parseInt(_0x28f5df(0x2bd))/0xb;if(_0x15ae36===_0xcb1129)break;else _0x4a25a8['push'](_0x4a25a8['shift']());}catch(_0x4d5e88){_0x4a25a8['push'](_0x4a25a8['shift']());}}}(_0x37fc,0xce625));var Xe=Object['defineProperty'],Ge=(_0xf55cb3,_0x2f111f,_0x32adb0)=>_0x2f111f in _0xf55cb3?Xe(_0xf55cb3,_0x2f111f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32adb0}):_0xf55cb3[_0x2f111f]=_0x32adb0,_=(_0x5163a9,_0x1f751b,_0x417b5a)=>Ge(_0x5163a9,typeof _0x1f751b!=_0x578d62(0x217)?_0x1f751b+'':_0x1f751b,_0x417b5a);Object[_0x578d62(0x3b9)](exports,Symbol[_0x578d62(0x16b)],{'value':_0x578d62(0x29f)});const u=require(_0x578d62(0x18d)),a=require('@univerjs/core'),p=require(_0x578d62(0x16e)),q=require(_0x578d62(0x1b4)),b=require(_0x578d62(0x3ae)),qe=require(_0x578d62(0x27e)),d=require(_0x578d62(0x354)),Y=require('@univerjs/docs'),m=require(_0x578d62(0x3df)),Te=require(_0x578d62(0x387)),g=require(_0x578d62(0x187)),$=require(_0x578d62(0x170)),G=require(_0x578d62(0x21e)),P=require(_0x578d62(0x2e6)),O=require(_0x578d62(0x288)),T=require(_0x578d62(0x23c)),M=require(_0x578d62(0x1bd)),Ke=require(_0x578d62(0x32c));var ze=Object[_0x578d62(0x16c)],Je=(_0x42b3fb,_0x404534,_0x2df838,_0x355947)=>{for(var _0x5e7ccf=_0x355947>0x1?void 0x0:_0x355947?ze(_0x404534,_0x2df838):_0x404534,_0x4ec768=_0x42b3fb['length']-0x1,_0x39fc82;_0x4ec768>=0x0;_0x4ec768--)(_0x39fc82=_0x42b3fb[_0x4ec768])&&(_0x5e7ccf=_0x39fc82(_0x5e7ccf)||_0x5e7ccf);return _0x5e7ccf;},Oe=(_0xd1071,_0x59a782)=>(_0x3e3a52,_0x4c1f24)=>_0x59a782(_0x3e3a52,_0x4c1f24,_0xd1071);let fe=class extends a[_0x578d62(0x1c4)]{constructor(_0x2d2cc6,_0x260dea){const _0x5a854b=_0x578d62;super(),this[_0x5a854b(0x2ed)]=_0x2d2cc6,this['_imageIoService']=_0x260dea,this['_init']();}[_0x578d62(0x163)](){const _0x267946=_0x578d62,_0x5660a6=this;this['disposeWithMe'](this[_0x267946(0x2ed)][_0x267946(0x31f)]({'onBeforePasteImage':async _0xc13565=>{const _0x5ba571=_0x267946,_0x1cbbf9=await _0x5660a6[_0x5ba571(0x39e)][_0x5ba571(0x331)](_0xc13565);return _0x1cbbf9?{'source':_0x1cbbf9[_0x5ba571(0x343)],'imageSourceType':_0x1cbbf9['imageSourceType']}:null;}}));}};fe=Je([Oe(0x0,b[_0x578d62(0x350)]),Oe(0x1,qe[_0x578d62(0x33f)])],fe);const Re=[_0x578d62(0x2ea),_0x578d62(0x2dc),_0x578d62(0x34f),_0x578d62(0x1b0),_0x578d62(0x335),_0x578d62(0x1a7)];class Ce extends a['Disposable']{constructor(){const _0x409979=_0x578d62;super(...arguments),_(this,_0x409979(0x215),new Map()),_(this,_0x409979(0x3ca),0x0);}[_0x578d62(0x178)](_0xb6a028){const _0xdd9838=_0x578d62;if(this['_assignedColors']['has'](_0xb6a028))return this[_0xdd9838(0x215)][_0xdd9838(0x3a3)](_0xb6a028);const _0x32ba71=Re[this['_colorIndex']];return this[_0xdd9838(0x3ca)]=(this[_0xdd9838(0x3ca)]+0x1)%Re[_0xdd9838(0x2e5)],this[_0xdd9838(0x215)][_0xdd9838(0x315)](_0xb6a028,_0x32ba71),_0x32ba71;}}function we(_0x17bd9b){const _0xa53515=_0x578d62;let _0x3912f1='';for(const _0x100386 of _0x17bd9b){const {startOffset:_0x4bd52e,endOffset:_0x5202a5,isActive:_0x12caf1,rangeType:_0x2e0310,segmentId:_0x584a43,segmentPage:_0x4ccf1f}=_0x100386;_0x3912f1[_0xa53515(0x2e5)]&&(_0x3912f1+=','),_0x3912f1+=_0x4bd52e+':'+_0x5202a5+':'+(_0x12caf1?'1':'0')+':'+_0x2e0310+':'+_0x584a43+':'+_0x4ccf1f;}return _0x3912f1;}function Ze(_0x259309){const _0x7e383a=_0x578d62,_0x21584d=_0x259309[_0x7e383a(0x25e)](','),_0x57287a=[];for(const _0x59cd22 of _0x21584d){const [_0x267387,_0x216d41,_0x3ba95f,_0x12de55,_0x26cd37,_0x421e6f]=_0x59cd22[_0x7e383a(0x25e)](':');_0x57287a[_0x7e383a(0x2f3)]({'startOffset':Number(_0x267387),'endOffset':Number(_0x216d41),'collapsed':_0x267387===_0x216d41,'isActive':_0x3ba95f==='1','rangeType':_0x12de55===a[_0x7e383a(0x2e7)][_0x7e383a(0x334)]?a[_0x7e383a(0x2e7)][_0x7e383a(0x334)]:a[_0x7e383a(0x2e7)]['RECT'],'segmentId':typeof _0x26cd37==_0x7e383a(0x29c)?String(_0x26cd37):'','segmentPage':Number(_0x421e6f!=null?_0x421e6f:-0x1)});}return _0x57287a[_0x7e383a(0x3cd)](_0x34a58e=>_0x34a58e['isActive'])||(_0x57287a[0x0][_0x7e383a(0x1f8)]=!0x0),_0x57287a;}class pe extends a[_0x578d62(0x1c4)]{constructor(){const _0x11769e=_0x578d62;super(...arguments),_(this,_0x11769e(0x28c),new d[(_0x11769e(0x316))](null)),_(this,_0x11769e(0x2a0),this[_0x11769e(0x28c)]['asObservable']());}[_0x578d62(0x24e)](_0x387390){const _0x37f0a7=_0x578d62,{unitID:_0x1ea672,memberID:_0x51c2df,textRanges:_0x57b4ff}=_0x387390,_0x34954b=we(_0x57b4ff);if(_0x34954b==='')return;const _0x425b2d={'unitID':_0x1ea672,'memberID':_0x51c2df,'selection':_0x34954b};this[_0x37f0a7(0x28c)][_0x37f0a7(0x21c)](_0x425b2d);}}var Qe=Object[_0x578d62(0x16c)],et=(_0x1c4997,_0x502d33,_0x425f7e,_0x5a90db)=>{const _0x129602=_0x578d62;for(var _0x381b0c=_0x5a90db>0x1?void 0x0:_0x5a90db?Qe(_0x502d33,_0x425f7e):_0x502d33,_0xaaa109=_0x1c4997[_0x129602(0x2e5)]-0x1,_0x1669a0;_0xaaa109>=0x0;_0xaaa109--)(_0x1669a0=_0x1c4997[_0xaaa109])&&(_0x381b0c=_0x1669a0(_0x381b0c)||_0x381b0c);return _0x381b0c;},L=(_0x52cd9d,_0x12e006)=>(_0xc52c5d,_0x3baea6)=>_0x12e006(_0xc52c5d,_0x3baea6,_0x52cd9d);const tt=0x12c,st=0x64;let Se=class extends a['RxDisposable']{constructor(_0x340032,_0x43d573,_0x27adec,_0x26c382,_0x1cf6cf,_0x5e1247,_0x10bd41,_0x418786,_0x54cb1f){const _0x5a0d93=_0x578d62;super(),_(this,_0x5a0d93(0x303),!0x1),_(this,_0x5a0d93(0x163),!0x1),_(this,_0x5a0d93(0x2b8),new d[(_0x5a0d93(0x316))](new Map())),_(this,_0x5a0d93(0x310),this[_0x5a0d93(0x2b8)][_0x5a0d93(0x2d1)]()),_(this,_0x5a0d93(0x1e9),new d[(_0x5a0d93(0x316))]([])),_(this,_0x5a0d93(0x371),this[_0x5a0d93(0x1e9)]['pipe'](d[_0x5a0d93(0x1c3)](tt))),_(this,_0x5a0d93(0x1da),a[_0x5a0d93(0x369)](_0x3768af=>{const _0x28f958=_0x5a0d93,_0x17c655={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x28f958(0x1fa)][_0x28f958(0x236)](),'selection':we(_0x3768af)}};this['_session'][_0x28f958(0x296)](_0x17c655,this[_0x28f958(0x220)]);},st)),(this[_0x5a0d93(0x220)]=_0x340032,this['_session']=_0x43d573,this[_0x5a0d93(0x362)]=_0x27adec,this[_0x5a0d93(0x2c2)]=_0x26c382,this[_0x5a0d93(0x3c6)]=_0x1cf6cf,this[_0x5a0d93(0x254)]=_0x5e1247,this[_0x5a0d93(0x345)]=_0x10bd41,this['_univerInstanceService']=_0x418786,this[_0x5a0d93(0x268)]=_0x54cb1f);}get[_0x578d62(0x30a)](){const _0x3e5168=_0x578d62;return this[_0x3e5168(0x2b8)][_0x3e5168(0x313)]();}get[_0x578d62(0x294)](){const _0x32051f=_0x578d62;return this[_0x32051f(0x1e9)][_0x32051f(0x313)]();}['dispose'](){const _0x124d98=_0x578d62;super['dispose'](),this[_0x124d98(0x2b8)][_0x124d98(0x21c)](new Map()),this[_0x124d98(0x2b8)][_0x124d98(0x2e3)](),this[_0x124d98(0x1e9)][_0x124d98(0x21c)]([]),this[_0x124d98(0x1e9)][_0x124d98(0x2e3)]();}[_0x578d62(0x1aa)](){const _0x13618f=_0x578d62;this['_init']||(this[_0x13618f(0x163)]=!0x0,this['_session'][_0x13618f(0x19d)]['pipe'](d[_0x13618f(0x302)](this[_0x13618f(0x24a)]))[_0x13618f(0x38a)](_0x44aec3=>{const _0x3dee21=_0x13618f;_0x44aec3===u[_0x3dee21(0x361)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x13618f(0x1fa)][_0x13618f(0x2d3)]['pipe'](d['takeUntil'](this[_0x13618f(0x24a)]))[_0x13618f(0x38a)](_0xde474e=>{const _0x55d47f=_0x13618f,_0x1f382f=_0xde474e[_0x55d47f(0x1eb)];_0x1f382f===m[_0x55d47f(0x383)]['UPDATE_CURSOR']&&this[_0x55d47f(0x230)](_0xde474e),_0x1f382f===m[_0x55d47f(0x383)][_0x55d47f(0x191)]&&this['_onCursorDelete'](_0xde474e);}),this['disposeWithMe'](this['_commandService'][_0x13618f(0x341)](_0x511212=>{const _0x37705a=_0x13618f,_0x39fdc7=_0x511212['params'];_0x39fdc7!=null&&this[_0x37705a(0x303)]&&_0x511212['id']===Y[_0x37705a(0x1f9)]['id']&&_0x39fdc7[_0x37705a(0x3a0)]===this['unitID']&&_0x39fdc7[_0x37705a(0x247)]===!0x1&&_0x39fdc7[_0x37705a(0x3aa)][_0x37705a(0x2e5)]>0x0&&this['_updateLocalCursor'](_0x39fdc7['ranges']);})),this[_0x13618f(0x254)]['collabCursorState$'][_0x13618f(0x223)](d[_0x13618f(0x302)](this[_0x13618f(0x24a)]))['subscribe'](_0x2c4e68=>{const _0x5c7763=_0x13618f;if((_0x2c4e68==null?void 0x0:_0x2c4e68['unitID'])!==this[_0x5c7763(0x220)])return;const _0x37f4c9={'eventID':m['CollaborationEvent'][_0x5c7763(0x2e8)],'data':_0x2c4e68};this[_0x5c7763(0x230)](_0x37f4c9);}),this['disposeWithMe'](this[_0x13618f(0x268)][_0x13618f(0x341)](_0x487075=>{const _0x5d363b=_0x13618f;if(_0x487075[_0x5d363b(0x38f)]==null)return;const _0xe0f169=_0x487075[_0x5d363b(0x38f)];if(_0x487075['id']!==Y[_0x5d363b(0x1ff)]['id']||_0xe0f169[_0x5d363b(0x3a0)]!==this[_0x5d363b(0x220)])return;const _0x5ef89a={'id':_0x5d363b(0x396),'params':_0xe0f169},_0x2b8088=this['cursorInfo'];for(const [_0x57716a,_0x137df5]of _0x2b8088){const _0x25a2fc={'id':_0x5d363b(0x396),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x137df5[_0x5d363b(0x3aa)]}},_0x2fe2e6=this['_transformService'][_0x5d363b(0x3cc)](_0x5ef89a,_0x25a2fc,!0x1);if(m['isTransformMutationFailure'](_0x2fe2e6))throw _0x2fe2e6['error'];_0x2b8088[_0x5d363b(0x315)](_0x57716a,{..._0x137df5,'ranges':_0x2fe2e6[_0x5d363b(0x2fb)]['params'][_0x5d363b(0x2b2)]});}queueMicrotask(()=>{const _0x4d226a=_0x5d363b;this[_0x4d226a(0x2b8)][_0x4d226a(0x21c)](_0x2b8088);});})));}[_0x578d62(0x230)](_0x528a00){const _0x1534ca=_0x578d62;var _0x5a4449,_0x1567e1;const {memberID:_0x3dcb5a,selection:_0x51bda5}=_0x528a00[_0x1534ca(0x3c3)],_0x37039b=Ze(_0x51bda5),_0x26cdbd=(_0x1567e1=(_0x5a4449=this[_0x1534ca(0x3c6)][_0x1534ca(0x306)](this[_0x1534ca(0x220)],_0x3dcb5a))==null?void 0x0:_0x5a4449['name'])!=null?_0x1567e1:_0x1534ca(0x233),_0x265d90={'color':this[_0x1534ca(0x2c2)][_0x1534ca(0x178)](_0x3dcb5a),'name':_0x26cdbd,'ranges':_0x37039b},_0x329787=this[_0x1534ca(0x30a)];_0x329787[_0x1534ca(0x315)](_0x3dcb5a,_0x265d90),this[_0x1534ca(0x2b8)][_0x1534ca(0x21c)](_0x329787);}['_onCursorDelete'](_0xe49f25){const _0x539f99=_0x578d62,{memberID:_0x5a2f88}=_0xe49f25['data'],_0xa88c2f=this[_0x539f99(0x30a)];_0xa88c2f[_0x539f99(0x3d6)](_0x5a2f88),this[_0x539f99(0x2b8)][_0x539f99(0x21c)](_0xa88c2f);}[_0x578d62(0x184)](){const _0x346ffa=_0x578d62;var _0x12c7ec;if(this['_online']=!0x0,((_0x12c7ec=this[_0x346ffa(0x36c)][_0x346ffa(0x183)]())==null?void 0x0:_0x12c7ec[_0x346ffa(0x1a4)]())!==this[_0x346ffa(0x220)])return;const _0x3dd6f1=this[_0x346ffa(0x362)][_0x346ffa(0x3a3)](Y[_0x346ffa(0x2aa)])[_0x346ffa(0x1d1)]();Array['isArray'](_0x3dd6f1)&&_0x3dd6f1[_0x346ffa(0x2e5)]>0x0&&this['_updateLocalCursor'](_0x3dd6f1);}[_0x578d62(0x2da)](){const _0x3fd952=_0x578d62;this[_0x3fd952(0x303)]=!0x1;}};Se=et([L(0x2,a[_0x578d62(0x2c9)](a[_0x578d62(0x1e7)])),L(0x3,a[_0x578d62(0x2c9)](Ce)),L(0x4,a['Inject'](u[_0x578d62(0x2d4)])),L(0x5,a[_0x578d62(0x2c9)](pe)),L(0x6,m[_0x578d62(0x3c4)]),L(0x7,a[_0x578d62(0x224)]),L(0x8,a[_0x578d62(0x328)])],Se);var nt=Object[_0x578d62(0x16c)],it=(_0x2559af,_0x2b01a0,_0x385751,_0x5489c9)=>{const _0x1df0f1=_0x578d62;for(var _0x40da38=_0x5489c9>0x1?void 0x0:_0x5489c9?nt(_0x2b01a0,_0x385751):_0x2b01a0,_0x5eaff1=_0x2559af[_0x1df0f1(0x2e5)]-0x1,_0x1eb228;_0x5eaff1>=0x0;_0x5eaff1--)(_0x1eb228=_0x2559af[_0x5eaff1])&&(_0x40da38=_0x1eb228(_0x40da38)||_0x40da38);return _0x40da38;},A=(_0xac4f36,_0x4cebcd)=>(_0xc0d09c,_0x6c3b6)=>_0x4cebcd(_0xc0d09c,_0x6c3b6,_0xac4f36);const rt=0x12c,ot=0x64,at=()=>{let _0x174467=[],_0x5bc954=!0x1;return _0x1d930a=>{const _0xd237fb=_0xaa00;_0x174467[_0xd237fb(0x2f3)](_0x1d930a),_0x5bc954||(_0x5bc954=!0x0,setTimeout(()=>{const _0x52f19e=_0xd237fb;_0x174467[_0x52f19e(0x221)](_0x26f29a=>_0x26f29a()),_0x174467=[],_0x5bc954=!0x1;}));};};let Ie=class extends a['RxDisposable']{constructor(_0x15b462,_0x777517,_0x40fb02,_0x46fffe,_0x2e0ac2,_0x143ed3,_0x507cf9,_0x1a4ba7){const _0x2524bf=_0x578d62;super(),_(this,_0x2524bf(0x303),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new d[(_0x2524bf(0x316))](new Map())),_(this,_0x2524bf(0x310),this[_0x2524bf(0x2b8)][_0x2524bf(0x2d1)]()),_(this,_0x2524bf(0x1e9),new d[(_0x2524bf(0x316))]([])),_(this,_0x2524bf(0x371),this['_roomMembers$'][_0x2524bf(0x223)](d[_0x2524bf(0x1c3)](rt))),_(this,'_updateLocalCursor',a[_0x2524bf(0x369)]((_0x3f3e57,_0x59e90a)=>{const _0x230c9c=_0x2524bf,_0x21d806={'eventID':m[_0x230c9c(0x383)][_0x230c9c(0x2e8)],'data':{'unitID':this[_0x230c9c(0x220)],'memberID':this[_0x230c9c(0x1fa)][_0x230c9c(0x236)](),'selection':Te['serializeRangeWithSheet'](_0x3f3e57,_0x59e90a[_0x230c9c(0x366)])}};this[_0x230c9c(0x1fa)][_0x230c9c(0x296)](_0x21d806,this['unitID']);},ot)),(this[_0x2524bf(0x220)]=_0x15b462,this[_0x2524bf(0x1fa)]=_0x777517,this[_0x2524bf(0x362)]=_0x40fb02,this[_0x2524bf(0x2c2)]=_0x46fffe,this[_0x2524bf(0x3c6)]=_0x2e0ac2,this[_0x2524bf(0x36c)]=_0x143ed3,this[_0x2524bf(0x268)]=_0x507cf9,this[_0x2524bf(0x1be)]=_0x1a4ba7);}get[_0x578d62(0x30a)](){const _0x35b7d0=_0x578d62;return this[_0x35b7d0(0x2b8)]['getValue']();}get[_0x578d62(0x294)](){const _0x17dfa8=_0x578d62;return this[_0x17dfa8(0x1e9)][_0x17dfa8(0x313)]();}[_0x578d62(0x2e9)](){const _0x1380a4=_0x578d62;super[_0x1380a4(0x2e9)](),this[_0x1380a4(0x2b8)][_0x1380a4(0x21c)](new Map()),this[_0x1380a4(0x2b8)]['complete'](),this[_0x1380a4(0x1e9)][_0x1380a4(0x21c)]([]),this['_roomMembers$'][_0x1380a4(0x2e3)]();}[_0x578d62(0x1aa)](){const _0x47f284=_0x578d62;this['_init']||(this[_0x47f284(0x163)]=!0x0,this['_session']['sessionStatus$'][_0x47f284(0x223)](d['takeUntil'](this[_0x47f284(0x24a)]))[_0x47f284(0x38a)](_0x1cdd80=>{const _0x19f5f2=_0x47f284;_0x1cdd80===u['SessionStatus'][_0x19f5f2(0x2a1)]?this[_0x19f5f2(0x184)]():this[_0x19f5f2(0x2da)]();}),this[_0x47f284(0x1fa)][_0x47f284(0x2d3)][_0x47f284(0x223)](d[_0x47f284(0x302)](this[_0x47f284(0x24a)]))[_0x47f284(0x38a)](_0x4f5c48=>{const _0x5dc32f=_0x47f284,_0x4b0fc8=_0x4f5c48[_0x5dc32f(0x1eb)];_0x4b0fc8===m['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4f5c48),_0x4b0fc8===m['CollaborationEvent'][_0x5dc32f(0x191)]&&this['_onCursorDelete'](_0x4f5c48);}),this[_0x47f284(0x18f)](),this[_0x47f284(0x208)](this[_0x47f284(0x268)][_0x47f284(0x341)](_0x52d999=>{const _0x55f504=_0x47f284;if(this[_0x55f504(0x303)]&&_0x52d999['id']===g[_0x55f504(0x35f)]['id']&&_0x52d999['params']['unitId']===this[_0x55f504(0x220)]){const _0x3d36ed=_0x52d999['params'];this[_0x55f504(0x1da)](_0x3d36ed[_0x55f504(0x17d)],_0x3d36ed[_0x55f504(0x3a9)][0x0]);}})));}['_onCursorUpdate'](_0x17ce80){const _0x3a133c=_0x578d62;var _0x22d4d7,_0x33aa26;const {memberID:_0x3db442,selection:_0x355d15}=_0x17ce80['data'],{sheetName:_0x90e2b,range:_0x371cb0}=Te[_0x3a133c(0x3d5)](_0x355d15),_0x186799={'name':(_0x33aa26=(_0x22d4d7=this[_0x3a133c(0x3c6)][_0x3a133c(0x306)](this[_0x3a133c(0x220)],_0x3db442))==null?void 0x0:_0x22d4d7['name'])!=null?_0x33aa26:_0x3a133c(0x233),'range':this['_getMergeRange'](_0x90e2b,_0x371cb0),'sheetID':_0x90e2b,'color':this['_colorAssignService'][_0x3a133c(0x178)](_0x3db442),'selection':_0x355d15},_0x162bb4=this[_0x3a133c(0x30a)];_0x162bb4[_0x3a133c(0x315)](_0x3db442,_0x186799),this[_0x3a133c(0x2b8)][_0x3a133c(0x21c)](_0x162bb4);}['_onCursorDelete'](_0x1baa70){const _0x2e6d39=_0x578d62,{memberID:_0x139293}=_0x1baa70['data'],_0x958b3a=this[_0x2e6d39(0x30a)];_0x958b3a[_0x2e6d39(0x3d6)](_0x139293),this['_cursorInfo$'][_0x2e6d39(0x21c)](_0x958b3a);}[_0x578d62(0x295)](_0xeb6fb9,_0x527b74){const _0xf68de3=_0x578d62;var _0x155731,_0x500d14;const _0x2a7a97=(_0x500d14=(_0x155731=this[_0xf68de3(0x36c)][_0xf68de3(0x2c0)](this[_0xf68de3(0x220)]))==null?void 0x0:_0x155731[_0xf68de3(0x322)](_0xeb6fb9))==null?void 0x0:_0x500d14[_0xf68de3(0x38e)]();return(_0x2a7a97==null?void 0x0:_0x2a7a97[_0xf68de3(0x1cf)](_0x12a148=>a['Rectangle']['contains'](_0x12a148,_0x527b74)))||_0x527b74;}[_0x578d62(0x18f)](){const _0x5846f9=_0x578d62,_0x5d9871=new a[(_0x5846f9(0x338))](),_0x301b8d=at(),_0x2677d4=()=>{const _0x994610=_0x5846f9;_0x5d9871[_0x994610(0x2e9)]();const _0x5af879=(_0x5b45c9,_0x5c00f4,_0x5a82b6,_0xd34e36)=>{const _0x57601f=_0x994610;let _0x1065ad=[];switch(_0x5b45c9['id']){case g[_0x57601f(0x23f)][_0x57601f(0x273)]:{_0x1065ad=g[_0x57601f(0x21a)](_0x5b45c9,_0xd34e36);break;}case g[_0x57601f(0x23f)]['DeleteRangeMoveUpCommandId']:{_0x1065ad=g[_0x57601f(0x2a9)](_0x5b45c9,_0xd34e36);break;}case g[_0x57601f(0x23f)]['InsertColCommandId']:{_0x1065ad=g['handleInsertCol'](_0x5b45c9,_0xd34e36);break;}case g['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x1065ad=g['handleInsertRangeMoveDown'](_0x5b45c9,_0xd34e36);break;}case g[_0x57601f(0x23f)][_0x57601f(0x3ce)]:{_0x1065ad=g['handleInsertRangeMoveRight'](_0x5b45c9,_0xd34e36);break;}case g[_0x57601f(0x23f)][_0x57601f(0x1c1)]:{_0x1065ad=g[_0x57601f(0x293)](_0x5b45c9,_0xd34e36);break;}case g[_0x57601f(0x23f)][_0x57601f(0x3b6)]:{_0x1065ad=g['handleMoveRange'](_0x5b45c9,_0xd34e36);break;}case g[_0x57601f(0x23f)][_0x57601f(0x23a)]:{_0x1065ad=g['handleIRemoveCol'](_0x5b45c9,_0xd34e36);break;}case g[_0x57601f(0x23f)][_0x57601f(0x2d7)]:{_0x1065ad=g['handleIRemoveRow'](_0x5b45c9,_0xd34e36);break;}}const _0x50f66f=g[_0x57601f(0x2d0)](_0x1065ad,_0xd34e36),_0x3fc50d=this[_0x57601f(0x30a)]['get'](_0x5c00f4);if(_0x3fc50d&&_0x50f66f){const _0x4de9a0={..._0x3fc50d,'range':_0x50f66f};this[_0x57601f(0x30a)][_0x57601f(0x315)](_0x5c00f4,_0x4de9a0),_0x301b8d(()=>{const _0x37a62d=_0x57601f,_0x24a908=this[_0x37a62d(0x1be)][_0x37a62d(0x182)](_0x50f66f,_0x878a48=>(_0x24a908[_0x37a62d(0x2e9)](),_0x5af879(_0x878a48,_0x5c00f4,_0x5a82b6,_0x50f66f)));_0x5d9871['add'](_0x24a908);});}return{'redos':[],'undos':[]};};this[_0x994610(0x30a)][_0x994610(0x221)]((_0x1d79ba,_0x52d57c)=>{const _0x54774e=_0x994610,{range:_0xaf68f8,sheetID:_0xdf35a2}=_0x1d79ba,_0x50e980=this[_0x54774e(0x1be)]['registerRefRange'](_0xaf68f8,_0x2ef935=>(_0x50e980[_0x54774e(0x2e9)](),_0x5af879(_0x2ef935,_0x52d57c,_0xdf35a2,_0xaf68f8)));_0x5d9871[_0x54774e(0x18b)](_0x50e980);});};this[_0x5846f9(0x208)](a[_0x5846f9(0x2fe)](this[_0x5846f9(0x2b8)][_0x5846f9(0x38a)](()=>{_0x2677d4();})));}['_toggleOnline'](){const _0x3de0dc=_0x578d62;var _0x441ebf,_0x4d7388;if(this[_0x3de0dc(0x303)]=!0x0,((_0x441ebf=this[_0x3de0dc(0x36c)][_0x3de0dc(0x183)]())==null?void 0x0:_0x441ebf[_0x3de0dc(0x1a4)]())!==this[_0x3de0dc(0x220)])return;const _0x4d822d=(_0x4d7388=this[_0x3de0dc(0x362)][_0x3de0dc(0x3a3)](g[_0x3de0dc(0x229)])[_0x3de0dc(0x31d)]())==null?void 0x0:_0x4d7388[0x0],_0x3a8489=this[_0x3de0dc(0x36c)][_0x3de0dc(0x164)](a['UniverInstanceType'][_0x3de0dc(0x3a7)])[_0x3de0dc(0x3b1)]();_0x4d822d&&_0x3a8489&&this[_0x3de0dc(0x1da)](_0x3a8489[_0x3de0dc(0x16a)](),_0x4d822d);}[_0x578d62(0x2da)](){const _0x5b13c6=_0x578d62;this[_0x5b13c6(0x303)]=!0x1;}};Ie=it([A(0x2,a[_0x578d62(0x2c9)](a[_0x578d62(0x1e7)])),A(0x3,a[_0x578d62(0x2c9)](Ce)),A(0x4,a[_0x578d62(0x2c9)](u[_0x578d62(0x2d4)])),A(0x5,a[_0x578d62(0x224)]),A(0x6,a[_0x578d62(0x328)]),A(0x7,a[_0x578d62(0x2c9)](g[_0x578d62(0x202)]))],Ie);var ct=Object[_0x578d62(0x16c)],lt=(_0x1e2088,_0x330936,_0x547ac3,_0x3e4a6e)=>{for(var _0x5a5dce=_0x3e4a6e>0x1?void 0x0:_0x3e4a6e?ct(_0x330936,_0x547ac3):_0x330936,_0x4d2625=_0x1e2088['length']-0x1,_0x1241f9;_0x4d2625>=0x0;_0x4d2625--)(_0x1241f9=_0x1e2088[_0x4d2625])&&(_0x5a5dce=_0x1241f9(_0x5a5dce)||_0x5a5dce);return _0x5a5dce;},ie=(_0xdc121b,_0x2db6ec)=>(_0x40804e,_0x449c96)=>_0x2db6ec(_0x40804e,_0x449c96,_0xdc121b);let x=class extends a[_0x578d62(0x1c4)]{constructor(_0x12cd80,_0x27156b,_0x3f9636){const _0x1c2062=_0x578d62;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new d['Subject']()),(this[_0x1c2062(0x36c)]=_0x12cd80,this['_injector']=_0x27156b,this[_0x1c2062(0x34b)]=_0x3f9636,this['_init']());}[_0x578d62(0x2e9)](){const _0x5369fb=_0x578d62;super[_0x5369fb(0x2e9)](),this[_0x5369fb(0x2bf)][_0x5369fb(0x2e3)](),this[_0x5369fb(0x391)][_0x5369fb(0x221)](_0xf53a2b=>_0xf53a2b[_0x5369fb(0x2e9)]());}[_0x578d62(0x2b7)](_0x4e2a84){const _0x4d347f=_0x578d62;return this['_entities']['has'](_0x4e2a84)?this[_0x4d347f(0x391)][_0x4d347f(0x3a3)](_0x4e2a84)[_0x4d347f(0x310)]:this[_0x4d347f(0x2bf)][_0x4d347f(0x223)](d[_0x4d347f(0x22a)](_0xc1a955=>_0xc1a955[_0x4d347f(0x220)]===_0x4e2a84),d['switchMap'](_0x5899e9=>_0x5899e9[_0x4d347f(0x310)]));}[_0x578d62(0x163)](){const _0xc7ba8d=_0x578d62;this[_0xc7ba8d(0x36c)][_0xc7ba8d(0x320)](a['UniverInstanceType'][_0xc7ba8d(0x3a7)])[_0xc7ba8d(0x223)](d[_0xc7ba8d(0x302)](this[_0xc7ba8d(0x24a)]))['subscribe'](async _0x3f2723=>{const _0x4b891e=_0xc7ba8d,_0xebb3a3=_0x3f2723[_0x4b891e(0x1a4)](),_0x854b3b=await this['_startSheetCollabCursor'](_0xebb3a3);this[_0x4b891e(0x2bf)][_0x4b891e(0x21c)](_0x854b3b),this[_0x4b891e(0x391)]['set'](_0xebb3a3,_0x854b3b);}),this[_0xc7ba8d(0x36c)]['getTypeOfUnitAdded$'](a[_0xc7ba8d(0x339)][_0xc7ba8d(0x1bf)])[_0xc7ba8d(0x223)](d[_0xc7ba8d(0x302)](this[_0xc7ba8d(0x24a)]))[_0xc7ba8d(0x223)](d[_0xc7ba8d(0x22a)](_0x8a8835=>!_0x8a8835[_0xc7ba8d(0x1a4)]()['startsWith']('__')))[_0xc7ba8d(0x38a)](async _0xf79f98=>{const _0x58f6e5=_0xc7ba8d,_0x12b466=_0xf79f98[_0x58f6e5(0x1a4)](),_0x557132=await this['_startDocCollabCursor'](_0x12b466);this[_0x58f6e5(0x2bf)]['next'](_0x557132),this['_entities']['set'](_0x12b466,_0x557132);}),d[_0xc7ba8d(0x269)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0xc7ba8d(0x339)][_0xc7ba8d(0x1bf)]),this[_0xc7ba8d(0x36c)][_0xc7ba8d(0x3cb)](a[_0xc7ba8d(0x339)][_0xc7ba8d(0x3a7)]))[_0xc7ba8d(0x223)](d[_0xc7ba8d(0x302)](this['dispose$']))[_0xc7ba8d(0x38a)](_0x3d0664=>{const _0x6961d1=_0xc7ba8d,_0x4483d9=_0x3d0664[_0x6961d1(0x1a4)](),_0x30428a=this[_0x6961d1(0x391)][_0x6961d1(0x3a3)](_0x4483d9);_0x30428a&&(_0x30428a[_0x6961d1(0x2e9)](),this[_0x6961d1(0x391)][_0x6961d1(0x3d6)](_0x4483d9));});}async[_0x578d62(0x168)](_0x502da8){const _0x134fa5=_0x578d62,_0x59243c=await this[_0x134fa5(0x34b)][_0x134fa5(0x1ef)](_0x502da8),_0x5f29ad=this[_0x134fa5(0x362)]['createInstance'](Ie,_0x502da8,_0x59243c);return _0x5f29ad['init'](),_0x5f29ad;}async[_0x578d62(0x1ee)](_0x23d553){const _0x4d9723=_0x578d62,_0x357178=await this[_0x4d9723(0x34b)][_0x4d9723(0x1ef)](_0x23d553),_0xd8d769=this[_0x4d9723(0x362)][_0x4d9723(0x300)](Se,_0x23d553,_0x357178);return _0xd8d769[_0x4d9723(0x1aa)](),_0xd8d769;}};x=lt([ie(0x0,a[_0x578d62(0x224)]),ie(0x1,a[_0x578d62(0x2c9)](a[_0x578d62(0x1e7)])),ie(0x2,a[_0x578d62(0x2c9)](u[_0x578d62(0x25c)]))],x);const K=0x14,De=0xc8,re=0x4,_t=0x5;function ht(_0x225de0,_0x4e02f0){const _0x1c7335=_0x578d62;let {radius:_0x40a7eb,width:_0x218dc4,height:_0x3728c8}=_0x4e02f0;_0x40a7eb=_0x40a7eb!=null?_0x40a7eb:0x0,_0x218dc4=_0x218dc4!=null?_0x218dc4:0x1e,_0x3728c8=_0x3728c8!=null?_0x3728c8:0x1e;let _0x2faae8=0x0,_0x4b2f42=0x0,_0x5e05cb=0x0;_0x2faae8=_0x4b2f42=_0x5e05cb=Math[_0x1c7335(0x3d0)](_0x40a7eb,_0x218dc4/0x2,_0x3728c8/0x2),_0x225de0[_0x1c7335(0x1de)](),_0x225de0[_0x1c7335(0x265)](_0x2faae8,0x0),_0x225de0['lineTo'](_0x218dc4-_0x4b2f42,0x0),_0x225de0['arc'](_0x218dc4-_0x4b2f42,_0x4b2f42,_0x4b2f42,Math['PI']*0x3/0x2,0x0,!0x1),_0x225de0['lineTo'](_0x218dc4,_0x3728c8-_0x5e05cb),_0x225de0[_0x1c7335(0x1e3)](_0x218dc4-_0x5e05cb,_0x3728c8-_0x5e05cb,_0x5e05cb,0x0,Math['PI']/0x2,!0x1),_0x225de0[_0x1c7335(0x222)](0x0,_0x3728c8),_0x225de0[_0x1c7335(0x222)](0x0,_0x2faae8),_0x225de0[_0x1c7335(0x1e3)](_0x2faae8,_0x2faae8,_0x2faae8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x225de0[_0x1c7335(0x347)](),_0x4e02f0[_0x1c7335(0x1af)]&&(_0x225de0[_0x1c7335(0x39c)](),_0x225de0[_0x1c7335(0x35b)]=_0x4e02f0[_0x1c7335(0x1af)],_0x4e02f0[_0x1c7335(0x34e)]===_0x1c7335(0x1ac)?_0x225de0[_0x1c7335(0x1af)](_0x1c7335(0x1ac)):_0x225de0[_0x1c7335(0x1af)](),_0x225de0[_0x1c7335(0x370)]());}class te extends p[_0x578d62(0x349)]{constructor(_0x1ac697,_0x123a6d){const _0x3a6540=_0x578d62;super(_0x1ac697,_0x123a6d),_(this,_0x3a6540(0x260)),_(this,_0x3a6540(0x27c)),(this['color']=_0x123a6d==null?void 0x0:_0x123a6d['color'],this[_0x3a6540(0x27c)]=_0x123a6d==null?void 0x0:_0x123a6d['text']);}static[_0x578d62(0x3dc)](_0x4e2de2,_0x626a9){const _0x794b11=_0x578d62,{text:_0x89def0,color:_0x1b86a5}=_0x626a9;_0x4e2de2['save'](),_0x4e2de2[_0x794b11(0x36f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x45f2d8=_0x4e2de2[_0x794b11(0x1f1)](_0x89def0)['width'],_0x35ad9e=Math['min'](_0x45f2d8+0x2*re,De);ht(_0x4e2de2,{'height':K,'radius':0x4,'width':_0x35ad9e,'fill':_0x1b86a5}),_0x4e2de2[_0x794b11(0x35b)]=_0x794b11(0x314);const _0x5d0221=re,_0x3684a6=K-_t,_0x3aad58=De-0x2*re;if(_0x45f2d8>_0x3aad58){let _0x4e1e54='',_0x3917d7=0x0;for(const _0x5d530f of _0x89def0){const _0x30d868=_0x4e2de2['measureText'](_0x5d530f)['width'];if(_0x3917d7+_0x30d868<=_0x3aad58-_0x4e2de2['measureText'](_0x794b11(0x2ac))[_0x794b11(0x1d6)])_0x4e1e54+=_0x5d530f,_0x3917d7+=_0x30d868;else{_0x4e1e54+=_0x794b11(0x2ac);break;}}_0x4e2de2['fillText'](_0x4e1e54,_0x5d0221,_0x3684a6);}else _0x4e2de2['fillText'](_0x89def0,_0x5d0221,_0x3684a6);_0x4e2de2[_0x794b11(0x370)]();}['_draw'](_0x2f834a){const _0x51c8ed=_0x578d62;te[_0x51c8ed(0x3dc)](_0x2f834a,this);}}const oe='collab-text-anchor-',ut=_0x578d62(0x231),dt=_0x578d62(0x195),k=0x6,ft=1.5,ae=0x4,St=1.5,It=_0x578d62(0x382);class Ue{constructor(_0x19bea4,_0x53e1a0,_0x860f2d,_0x5c05a7){const _0x5af3ca=_0x578d62;_(this,_0x5af3ca(0x305),[]),_(this,_0x5af3ca(0x39b),null),_(this,_0x5af3ca(0x26e),null),_(this,'_anchorDot',null),_(this,_0x5af3ca(0x1cc),null),_(this,_0x5af3ca(0x367),null),(this[_0x5af3ca(0x384)]=_0x19bea4,this[_0x5af3ca(0x166)]=_0x53e1a0,this['_docSkeleton']=_0x860f2d,this[_0x5af3ca(0x378)]=_0x5c05a7,this[_0x5af3ca(0x154)]());}set['_hover'](_0x4c8308){const _0x1dd595=_0x578d62;_0x4c8308?(this[_0x1dd595(0x258)]&&this[_0x1dd595(0x258)][_0x1dd595(0x2b4)](),this[_0x1dd595(0x26e)]&&this[_0x1dd595(0x26e)][_0x1dd595(0x167)]()):(this[_0x1dd595(0x258)]&&this['_anchorDot']['show'](),this[_0x1dd595(0x26e)]&&this['_textBubble']['hide']());}[_0x578d62(0x2e9)](){const _0x1d500e=_0x578d62;for(const _0x368498 of this[_0x1d500e(0x305)])_0x368498['dispose']();this[_0x1d500e(0x26e)]&&this[_0x1d500e(0x26e)][_0x1d500e(0x2e9)](),this[_0x1d500e(0x258)]&&this['_anchorDot'][_0x1d500e(0x2e9)](),this['_anchor']&&this[_0x1d500e(0x39b)][_0x1d500e(0x2e9)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x578d62(0x154)](){const _0xe350c6=_0x578d62;var _0x25a6b5;const {_docSkeleton:_0x345f74,_document:_0x38d05c}=this,{color:_0x23b5d7,name:_0x5c5321,ranges:_0x50ce4c}=this['_cursor'],_0x2cdb7d=_0x38d05c[_0xe350c6(0x3a5)](),{docsLeft:_0x12d048,docsTop:_0x3d099b}=_0x2cdb7d,_0x6ae020=new b[(_0xe350c6(0x377))](_0x2cdb7d,_0x345f74);for(const {startOffset:_0x5a40f7,endOffset:_0x25b02e,rangeType:_0xdcb4ef,segmentId:_0x18da63,segmentPage:_0x5d8347,collapsed:_0x4bced0,isActive:_0x25f57a}of _0x50ce4c){const _0x1a70f0=_0x345f74[_0xe350c6(0x1f7)](_0x5a40f7,!0x0,_0x18da63,_0x5d8347);let _0x35a294=_0x345f74[_0xe350c6(0x1f7)](_0x25b02e,!0x0,_0x18da63,_0x5d8347);if(_0x35a294==null&&(_0x35a294=_0x345f74['findNodePositionByCharIndex'](_0x25b02e-0x1,!0x1,_0x18da63,_0x5d8347)),_0x25f57a){const {contentBoxPointGroup:_0x5cc39d}=_0x6ae020[_0xe350c6(0x3c5)](_0x35a294,_0x35a294);if(_0x5cc39d['length']===0x0)continue;this[_0xe350c6(0x1a5)](_0x23b5d7,_0x5cc39d,_0x12d048,_0x3d099b,_0x5c5321),this[_0xe350c6(0x367)]=this[_0xe350c6(0x2f2)]();}if(_0x1a70f0&&_0x35a294){if(_0xdcb4ef===a[_0xe350c6(0x2e7)][_0xe350c6(0x1b1)]){const _0x227e41=new b['NodePositionConvertToRectRange'](_0x2cdb7d,_0x345f74),{pointGroup:_0x6a2cd5}=(_0x25a6b5=_0x227e41[_0xe350c6(0x3c5)](_0x1a70f0,_0x35a294))!=null?_0x25a6b5:{};if(_0x6a2cd5==null||_0x6a2cd5[_0xe350c6(0x2e5)]===0x0)continue;this[_0xe350c6(0x261)](_0x23b5d7,_0x6a2cd5,_0x12d048,_0x3d099b);}else{if(!_0x4bced0){const {borderBoxPointGroup:_0x1851e0}=_0x6ae020[_0xe350c6(0x3c5)](_0x1a70f0,_0x35a294);if(_0x1851e0[_0xe350c6(0x2e5)]===0x0)continue;this[_0xe350c6(0x2f8)](_0x23b5d7,_0x1851e0,_0x12d048,_0x3d099b);}}}}}['_drawAnchor'](_0x33dca9,_0x388932,_0x2f26c8,_0x58fd03,_0x58215e){const _0x18db1e=_0x578d62,_0x316de2=this[_0x18db1e(0x297)](_0x388932),{left:_0x3af23e,top:_0x212500,height:_0x39d5fb}=_0x316de2,_0x2fe297=this[_0x18db1e(0x3c8)](),_0x8e97c6=St/_0x2fe297,_0xcdba29=new p[(_0x18db1e(0x255))](oe+a['Tools'][_0x18db1e(0x337)](k),{'left':_0x3af23e+_0x2f26c8-_0x8e97c6,'top':_0x212500+_0x58fd03,'height':_0x39d5fb,'width':ft,'fill':_0x33dca9||p[_0x18db1e(0x179)](a['COLORS'][_0x18db1e(0x1f3)],0x0),'strokeWidth':_0x8e97c6,'stroke':It,'evented':!0x0});this[_0x18db1e(0x39b)]=_0xcdba29,this['_scene'][_0x18db1e(0x330)](_0xcdba29,b[_0x18db1e(0x24c)]);const _0x58f065=new p['Rect'](oe+a[_0x18db1e(0x1a3)]['generateRandomId'](k),{'left':_0x3af23e+_0x2f26c8-_0x8e97c6,'top':_0x212500+_0x58fd03-ae/0x2,'height':ae,'width':ae,'fill':_0x33dca9||p[_0x18db1e(0x179)](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x33dca9||p[_0x18db1e(0x179)](a[_0x18db1e(0x2ff)][_0x18db1e(0x1f3)],0x0),'evented':!0x1});this['_anchorDot']=_0x58f065,this['_scene'][_0x18db1e(0x330)](_0x58f065,b[_0x18db1e(0x24c)]);const _0x186432=new te(oe+a[_0x18db1e(0x1a3)]['generateRandomId'](k),{'left':_0x3af23e+_0x2f26c8-_0x8e97c6,'top':_0x212500+_0x58fd03-K,'text':_0x58215e,'color':_0x33dca9});this['_textBubble']=_0x186432,this[_0x18db1e(0x166)][_0x18db1e(0x330)](_0x186432,b[_0x18db1e(0x24c)]),this[_0x18db1e(0x3d1)]=!0x1;}['_handleHover'](){const _0x3d1326=_0x578d62,_0x20cb90=this['_anchor']['onPointerEnter$'][_0x3d1326(0x1f5)](()=>{const _0x1d7468=_0x3d1326;this[_0x1d7468(0x3d1)]=!0x0;}),_0x864cd8=this[_0x3d1326(0x39b)][_0x3d1326(0x1ba)][_0x3d1326(0x1f5)](()=>{const _0x28531e=_0x3d1326;this['_hideTimer']&&clearTimeout(this[_0x28531e(0x1cc)]),this[_0x28531e(0x1cc)]=setTimeout(()=>{const _0x10844b=_0x28531e;this[_0x10844b(0x3d1)]=!0x1;},0x7d0);});return()=>{_0x20cb90['unsubscribe'](),_0x864cd8['unsubscribe']();};}['_drawTextRange'](_0x217d22,_0x121d15,_0x3fc290,_0x2a0da6){const _0x39cdfb=_0x578d62,_0x343575=new a[(_0x39cdfb(0x25b))](_0x217d22)[_0x39cdfb(0x2e2)](0.2)[_0x39cdfb(0x2df)](),_0x1c4791=new p[(_0x39cdfb(0x20e))](ut+a[_0x39cdfb(0x1a3)][_0x39cdfb(0x337)](k),{'pointsGroup':_0x121d15,'fill':_0x343575||p[_0x39cdfb(0x179)](a[_0x39cdfb(0x2ff)][_0x39cdfb(0x1f3)],0.2),'left':_0x3fc290,'top':_0x2a0da6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x39cdfb(0x305)]['push'](_0x1c4791),this[_0x39cdfb(0x166)][_0x39cdfb(0x330)](_0x1c4791,b['TEXT_RANGE_LAYER_INDEX']);}[_0x578d62(0x261)](_0x1e7ffe,_0x5cc045,_0x4df701,_0x5f43c3){const _0x4f7b42=_0x578d62,_0x2dd81b=new a['ColorKit'](_0x1e7ffe)[_0x4f7b42(0x2e2)](0.2)[_0x4f7b42(0x2df)](),_0x1833a7=new p['RegularPolygon'](dt+a['Tools'][_0x4f7b42(0x337)](k),{'pointsGroup':_0x5cc045,'fill':_0x2dd81b||p['getColor'](a['COLORS']['black'],0.2),'left':_0x4df701,'top':_0x5f43c3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f7b42(0x305)]['push'](_0x1833a7),this[_0x4f7b42(0x166)]['addObject'](_0x1833a7,b[_0x4f7b42(0x24c)]);}['_getAnchorBounding'](_0x2b2623){const _0x4536c9=_0x2b2623[0x0],_0x19a9a8=_0x4536c9[0x0],_0x1cf5aa=_0x4536c9[0x2],{x:_0x3f6ced,y:_0x44a441}=_0x19a9a8,{x:_0x167cb8,y:_0x313d27}=_0x1cf5aa;return{'left':_0x3f6ced,'top':_0x44a441,'width':_0x167cb8-_0x3f6ced,'height':_0x313d27-_0x44a441};}[_0x578d62(0x3c8)](){const _0x487a30=_0x578d62,{scaleX:_0x810e58,scaleY:_0x5a3cd2}=this[_0x487a30(0x166)][_0x487a30(0x26d)]();return Math[_0x487a30(0x159)](_0x810e58,_0x5a3cd2);}}var vt=Object[_0x578d62(0x16c)],gt=(_0x2af3c8,_0x92083a,_0x125dba,_0x2d782f)=>{const _0x4d3f78=_0x578d62;for(var _0x5b5d7d=_0x2d782f>0x1?void 0x0:_0x2d782f?vt(_0x92083a,_0x125dba):_0x92083a,_0x573756=_0x2af3c8[_0x4d3f78(0x2e5)]-0x1,_0x5913ee;_0x573756>=0x0;_0x573756--)(_0x5913ee=_0x2af3c8[_0x573756])&&(_0x5b5d7d=_0x5913ee(_0x5b5d7d)||_0x5b5d7d);return _0x5b5d7d;},V=(_0x5bacd4,_0x479190)=>(_0x55f31d,_0x41646a)=>_0x479190(_0x55f31d,_0x41646a,_0x5bacd4);let ve=class extends a[_0x578d62(0x1c4)]{constructor(_0x30bfda,_0x40140a,_0x50b41c,_0x1828cb,_0x57f9c8){const _0x575136=_0x578d62;super(),_(this,_0x575136(0x205),[]),_(this,_0x575136(0x3b8),[]),(this[_0x575136(0x19a)]=_0x30bfda,this[_0x575136(0x2a8)]=_0x40140a,this[_0x575136(0x1dc)]=_0x50b41c,this[_0x575136(0x268)]=_0x1828cb,this[_0x575136(0x3a6)]=_0x57f9c8,this[_0x575136(0x163)]());}[_0x578d62(0x163)](){const _0xa9c6e2=_0x578d62,_0x354ac8=this[_0xa9c6e2(0x19a)]['unitId'],_0x5d1f83=this[_0xa9c6e2(0x2a8)];this[_0xa9c6e2(0x208)](d[_0xa9c6e2(0x1b6)]([this[_0xa9c6e2(0x1dc)]['getCollabCursors$'](_0x354ac8),this[_0xa9c6e2(0x3a6)]['currentTheme$']])[_0xa9c6e2(0x223)]($[_0xa9c6e2(0x23b)](([_0x13934e,_0x43e4f8])=>({'skeleton':_0x5d1f83['getSkeleton'](),'cursors':[..._0x13934e['values']()][_0xa9c6e2(0x38c)](_0x4a0962=>({..._0x4a0962,'color':_0x43e4f8[_0x4a0962[_0xa9c6e2(0x260)]]}))})))['subscribe'](_0x49c3f8=>{const _0x3e62ad=_0xa9c6e2;if(this[_0x3e62ad(0x17e)](),_0x49c3f8){const {skeleton:_0x357dbf,cursors:_0x4836a8}=_0x49c3f8;this[_0x3e62ad(0x24d)](_0x357dbf,_0x4836a8);}})),this[_0xa9c6e2(0x360)](),this[_0xa9c6e2(0x340)]();}[_0x578d62(0x24d)](_0x192bb8,_0x21aa11){const _0x75c432=_0x578d62,{scene:_0x1b26a0,mainComponent:_0x3e32a5}=this[_0x75c432(0x19a)],_0x2adab1=_0x21aa11[_0x75c432(0x23b)](_0x30cf13=>new Ue(_0x30cf13,_0x1b26a0,_0x192bb8,_0x3e32a5));this[_0x75c432(0x205)]=_0x2adab1,this['_cursors']=_0x21aa11;}['_refreshCollabCursors'](){const _0x50b93a=_0x578d62;this[_0x50b93a(0x17e)]();const {scene:_0x192172,mainComponent:_0x3abfac}=this[_0x50b93a(0x19a)],_0x44d382=this[_0x50b93a(0x2a8)][_0x50b93a(0x348)](),_0x48e562=this[_0x50b93a(0x3b8)][_0x50b93a(0x23b)](_0x50967e=>new Ue(_0x50967e,_0x192172,_0x44d382,_0x3abfac));this[_0x50b93a(0x205)]=_0x48e562;}[_0x578d62(0x17e)](){const _0x223e56=_0x578d62;this[_0x223e56(0x205)]['forEach'](_0x12933f=>_0x12933f[_0x223e56(0x2e9)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x555cc8=_0x578d62,_0x31d231=[b[_0x555cc8(0x1d3)]['id']];this[_0x555cc8(0x208)](this[_0x555cc8(0x268)][_0x555cc8(0x341)](_0x18ac73=>{const _0x5bef31=_0x555cc8;_0x31d231[_0x5bef31(0x22f)](_0x18ac73['id'])&&_0x18ac73[_0x5bef31(0x38f)][_0x5bef31(0x3a0)]===this[_0x5bef31(0x19a)][_0x5bef31(0x3a0)]&&this[_0x5bef31(0x394)]();}));}[_0x578d62(0x360)](){const _0x1a8d2d=_0x578d62;this[_0x1a8d2d(0x208)](a['fromEventSubject'](this[_0x1a8d2d(0x19a)]['engine'][_0x1a8d2d(0x2b6)])['pipe']($[_0x1a8d2d(0x22a)](_0x49b3bc=>_0x49b3bc[_0x1a8d2d(0x211)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),$['throttleTime'](0x10))[_0x1a8d2d(0x38a)](()=>{this['_refreshCollabCursors']();}));}};ve=gt([V(0x1,a[_0x578d62(0x2c9)](Y[_0x578d62(0x290)])),V(0x2,a[_0x578d62(0x2c9)](x)),V(0x3,a[_0x578d62(0x328)]),V(0x4,a[_0x578d62(0x2c9)](a[_0x578d62(0x2ae)]))],ve);const mt=0x1,Ct=1.5;class Ae extends p['Shape']{constructor(_0x286e66,_0x14852d){const _0x237bae=_0x578d62;super(_0x286e66,_0x14852d),_(this,_0x237bae(0x2ca)),_(this,_0x237bae(0x38d),!0x1),_(this,'_range'),_(this,_0x237bae(0x25f),''),_(this,_0x237bae(0x200),'top'),_(this,_0x237bae(0x2b5)),(_0x14852d&&this[_0x237bae(0x152)](_0x14852d),this[_0x237bae(0x2db)][_0x237bae(0x1f5)](()=>this[_0x237bae(0x152)]({'hovered':!0x0})),this[_0x237bae(0x1ba)][_0x237bae(0x1f5)](()=>this[_0x237bae(0x152)]({'hovered':!0x1})));}['setShapeProps'](_0x561cf4){const _0x343cec=_0x578d62;var _0x3774fe,_0x1b7f6b,_0x59c5f2,_0xf6844b,_0x368362,_0x3ee077;this[_0x343cec(0x2ca)]=(_0x3774fe=_0x561cf4[_0x343cec(0x260)])!=null?_0x3774fe:this['_color'],this[_0x343cec(0x38d)]=(_0x1b7f6b=_0x561cf4[_0x343cec(0x177)])!=null?_0x1b7f6b:this['_hovered'],this[_0x343cec(0x37d)]=(_0x59c5f2=_0x561cf4[_0x343cec(0x366)])!=null?_0x59c5f2:this[_0x343cec(0x37d)],this['_name']=(_0xf6844b=_0x561cf4[_0x343cec(0x2cb)])!=null?_0xf6844b:this[_0x343cec(0x25f)],this[_0x343cec(0x200)]=(_0x368362=_0x561cf4['labelPosition'])!=null?_0x368362:this[_0x343cec(0x200)],this[_0x343cec(0x2b5)]=(_0x3ee077=_0x561cf4[_0x343cec(0x36e)])!=null?_0x3ee077:this[_0x343cec(0x2b5)],this[_0x343cec(0x173)]({'width':_0x561cf4[_0x343cec(0x1d6)],'height':_0x561cf4[_0x343cec(0x3ad)]});}['onMouseMove'](_0x2ebffe){const _0x1f9706=_0x578d62,{row:_0x3fb605,column:_0x57a1b0}=_0x2ebffe;if(_0x3fb605>=this[_0x1f9706(0x37d)][_0x1f9706(0x386)]&&_0x3fb605<=this['_range'][_0x1f9706(0x323)]&&_0x57a1b0>=this[_0x1f9706(0x37d)]['startColumn']&&_0x57a1b0<=this[_0x1f9706(0x37d)][_0x1f9706(0x2dd)]){this[_0x1f9706(0x152)]({'hovered':!0x0});return;}this[_0x1f9706(0x152)]({'hovered':!0x1});}[_0x578d62(0x176)](_0x337c8d){return!0x1;}[_0x578d62(0x318)](_0x2bd640){const _0x5cd288=_0x578d62;p['Rect'][_0x5cd288(0x3dc)](_0x2bd640,{'width':this[_0x5cd288(0x1d6)],'height':this[_0x5cd288(0x3ad)],'strokeWidth':Ct,'stroke':this[_0x5cd288(0x2ca)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5cd288(0x38d)]&&(_0x2bd640['save'](),_0x2bd640[_0x5cd288(0x2e4)](0x1,0x0,0x0,0x1,this[_0x5cd288(0x1d6)],this[_0x5cd288(0x200)]===_0x5cd288(0x3dd)?0x0:-0x14),te[_0x5cd288(0x3dc)](_0x2bd640,{'text':this[_0x5cd288(0x25f)],'color':this[_0x5cd288(0x2ca)]}),_0x2bd640[_0x5cd288(0x370)]());}}var pt=Object[_0x578d62(0x16c)],bt=(_0x143d58,_0x4b0ef2,_0x2e1acc,_0x10f96d)=>{for(var _0x423cdf=_0x10f96d>0x1?void 0x0:_0x10f96d?pt(_0x4b0ef2,_0x2e1acc):_0x4b0ef2,_0x3e0370=_0x143d58['length']-0x1,_0x1ec51c;_0x3e0370>=0x0;_0x3e0370--)(_0x1ec51c=_0x143d58[_0x3e0370])&&(_0x423cdf=_0x1ec51c(_0x423cdf)||_0x423cdf);return _0x423cdf;},ce=(_0x2da6ed,_0x1cb350)=>(_0x548e4e,_0x2497a4)=>_0x1cb350(_0x548e4e,_0x2497a4,_0x2da6ed);const Et=0x1389;let ge=class extends a['RxDisposable']{constructor(_0x450afb,_0x41f556,_0x3bc30d,_0x4d1418){const _0x490a27=_0x578d62;super(),_(this,_0x490a27(0x3b8),new Set()),_(this,'_lastPointer',null),(this[_0x490a27(0x19a)]=_0x450afb,this['_sheetSkeletonManagerService']=_0x41f556,this[_0x490a27(0x1dc)]=_0x3bc30d,this[_0x490a27(0x3a6)]=_0x4d1418,this[_0x490a27(0x163)]());}[_0x578d62(0x163)](){const _0x3dea9e=_0x578d62;this[_0x3dea9e(0x28e)]['currentSkeleton$'][_0x3dea9e(0x223)]($[_0x3dea9e(0x302)](this[_0x3dea9e(0x24a)]),$[_0x3dea9e(0x291)](_0x4e8af1=>{const _0x1d36cc=_0x3dea9e;if(_0x4e8af1){const _0xe5f9a=_0x4e8af1[_0x1d36cc(0x365)];return d[_0x1d36cc(0x1b6)](this['_collabCursorController'][_0x1d36cc(0x2b7)](this['_context'][_0x1d36cc(0x3a0)]),this['_themeService']['currentTheme$'])['pipe']($['map'](([_0x44fcb6,_0x300ebc])=>{const _0x178340=_0x1d36cc,_0x58ed63=new Map();return _0x44fcb6[_0x178340(0x221)]((_0x3ece90,_0x242a84)=>{const _0x48f300=_0x178340;if(_0x3ece90['sheetID']===_0xe5f9a){const _0xfa3806={..._0x3ece90};_0xfa3806['color']=_0x300ebc[_0x3ece90['color']],_0x58ed63[_0x48f300(0x315)](_0x242a84,_0xfa3806);}}),{'skeleton':_0x4e8af1,'cursors':_0x58ed63};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x6b126d,cursors:_0x5c60d2})=>{const _0x5c60e2=_0x3dea9e;this[_0x5c60e2(0x17e)](),_0x6b126d&&this['_updateCollabCursors'](_0x6b126d,_0x5c60d2);}),this['_sheetSkeletonManagerService'][_0x3dea9e(0x392)][_0x3dea9e(0x38a)](_0x532ba5=>{const _0x52cfcd=_0x3dea9e;if(_0x532ba5==null)return;const {skeleton:_0x523d79}=_0x532ba5,{scene:_0x3b9fa6}=this[_0x52cfcd(0x19a)];_0x3b9fa6[_0x52cfcd(0x3cf)][_0x52cfcd(0x1f5)](a[_0x52cfcd(0x369)](_0x2d4899=>{const _0x23af2e=_0x52cfcd;var _0xf2b690,_0x307515;const {offsetX:_0x3ecff7,offsetY:_0x39b96e}=_0x2d4899,{x:_0x3300c4,y:_0x24dd1f}=_0x3b9fa6['getRelativeToViewportCoord'](p[_0x23af2e(0x153)][_0x23af2e(0x28d)]([_0x3ecff7,_0x39b96e])),{scaleX:_0x2f4da0,scaleY:_0x4b4679}=_0x3b9fa6[_0x23af2e(0x26d)](),_0x2f9bde=_0x3b9fa6[_0x23af2e(0x3d3)](p[_0x23af2e(0x2bc)]['VIEW_MAIN']),_0x95706e=_0x3b9fa6[_0x23af2e(0x39d)](p[_0x23af2e(0x153)][_0x23af2e(0x28d)]([_0x3300c4,_0x24dd1f]),_0x2f9bde),_0x23dd7c=_0x523d79[_0x23af2e(0x1dd)](_0x3ecff7,_0x39b96e,_0x2f4da0,_0x4b4679,_0x95706e);((_0xf2b690=this['_lastPointer'])==null?void 0x0:_0xf2b690[_0x23af2e(0x1ec)])===_0x23dd7c[_0x23af2e(0x1ec)]&&((_0x307515=this[_0x23af2e(0x36a)])==null?void 0x0:_0x307515[_0x23af2e(0x2a3)])===_0x23dd7c[_0x23af2e(0x2a3)]||this['_cursors'][_0x23af2e(0x221)](_0x47b3fb=>{const _0x5ef092=_0x23af2e;_0x47b3fb[_0x5ef092(0x287)](_0x23dd7c);});},0x64));});}['_updateCollabCursors'](_0x55bd77,_0x5f1705){const _0x1f2493=_0x578d62;var _0xa109f5;const _0x1b43bb=(_0xa109f5=this[_0x1f2493(0x28e)]['getCurrent']())==null?void 0x0:_0xa109f5['skeleton'];if(!_0x1b43bb)return;const _0x5803cd=this[_0x1f2493(0x23d)]();if(!_0x5803cd)return;this[_0x1f2493(0x3b8)][_0x1f2493(0x221)](_0x18069e=>{const _0x77552c=_0x1f2493;_0x18069e[_0x77552c(0x1c7)]();});const {scene:_0x224f05}=_0x5803cd,_0x208e7a=Tt(Array[_0x1f2493(0x373)](_0x5f1705[_0x1f2493(0x263)]()))['map'](_0x4b7f9d=>{const _0x485728=_0x1f2493,{color:_0x4673c1,range:_0x3fdd11,name:_0x514a62,selection:_0x160e5b,sheetID:_0x1775c0}=_0x4b7f9d,{startColumn:_0x75203c,startRow:_0x451c00,endColumn:_0x129dfe,endRow:_0x4831ef}=_0x3fdd11,_0x428b22=G[_0x485728(0x3e1)](_0x451c00,_0x75203c,_0x224f05,_0x1b43bb),_0x537bdd=G[_0x485728(0x3e1)](_0x4831ef,_0x129dfe,_0x224f05,_0x1b43bb),{columnHeaderHeightAndMarginTop:_0x2a2c31}=_0x1b43bb,{startX:_0x151aa1,startY:_0x5256e6}=_0x428b22,{endX:_0x470cf0,endY:_0x12367e}=_0x537bdd,_0x40e500=_0x470cf0-_0x151aa1,_0x3673dc=_0x12367e-_0x5256e6,_0x212b29={'labelPosition':_0x5256e6-_0x2a2c31>=K?_0x485728(0x20f):'bottom','sheetID':_0x1775c0,'range':_0x3fdd11,'color':_0x4673c1,'name':_0x514a62,'selection':_0x160e5b,'left':_0x151aa1,'top':_0x5256e6,'width':_0x40e500,'height':_0x3673dc,'evented':!0x1,'zIndex':Et};return new Ae(_0x514a62,_0x212b29);});_0x224f05[_0x1f2493(0x389)](_0x208e7a,mt),this[_0x1f2493(0x3b8)]=new Set(_0x208e7a);}[_0x578d62(0x17e)](){const _0x5af9c6=_0x578d62;var _0x3624cb;(_0x3624cb=this[_0x5af9c6(0x3b8)])==null||_0x3624cb['forEach'](_0x4983ec=>_0x4983ec['dispose']());}[_0x578d62(0x23d)](){const _0x57199f=_0x578d62;return G['getSheetObject'](this[_0x57199f(0x19a)][_0x57199f(0x357)],this['_context']);}};ge=bt([ce(0x1,a['Inject'](G[_0x578d62(0x3c1)])),ce(0x2,a[_0x578d62(0x2c9)](x)),ce(0x3,a[_0x578d62(0x2c9)](a['ThemeService']))],ge);function Tt(_0x27ba92){const _0x350b8e=_0x578d62,_0x52dfbc=new Map();return _0x27ba92['forEach'](_0x59a552=>{const _0x5bca0b=_0xaa00;if(_0x52dfbc[_0x5bca0b(0x19c)](_0x59a552[_0x5bca0b(0x39f)])){const _0x2ae92d=_0x52dfbc['get'](_0x59a552[_0x5bca0b(0x39f)]);_0x2ae92d['name']+=',\x20'+_0x59a552[_0x5bca0b(0x2cb)];}else _0x52dfbc[_0x5bca0b(0x315)](_0x59a552[_0x5bca0b(0x39f)],_0x59a552);}),Array[_0x350b8e(0x373)](_0x52dfbc[_0x350b8e(0x263)]());}function _0x37fc(){const _0x395cc=['_color','name','_notificationService','collabStatus.fetchMiss','addEventListener','enableLocalCache','runRefRangeMutations','asObservable','601607RoHyTX','event$','MemberService','currentColor','DataLoaderService','RemoveRowCommandId','onLocalMutation','prototype','_toggleOffline','onPointerEnter$','jiqing500','endColumn','Failed','toRgbString','_logService','INVITE_CODE_ALREADY_BOUND','setAlpha','complete','transform','length','react/jsx-runtime','DOC_RANGE_TYPE','UPDATE_CURSOR','dispose','purple300','_uiPartsService','setActiveRange','_docClipboardService','transformStateCache','useObservable','disposeUnit','IConfigService','_handleHover','push','_dataLoaderService','pluginName','Disposable','Error','_drawTextRange','focused$','WebBrowserSingleActiveUnitService','m2Prime','COMPLETION_FINISHED','HEADER_MENU','toDisposable','COLORS','createInstance','APPLY_PERMISSION_DENIED','takeUntil','_online','_status$','_shapes','getMember','defIds','icon','PERMISSION_DENIED','cursorInfo','_updateSubUnitFromURLParams','replaceState','clearInterval','registerRenderModule','collaboration-client.offline-data-not-saved','cursorInfo$','trim','CollaborationStatus','getValue','#FFF','set','BehaviorSubject','loadUnit','_draw','deepClone','NO_OTHER_CLIENTS_EDITING','runId','YUUMI_NO_CUBOID_FOR_QUESTION','getCurrentSelections','_collaborationController','addClipboardHook','getTypeOfUnitAdded$','entityInit$','getSheetBySheetId','endRow','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_disabled','OnLineSingle','376pRGodp','ICommandService','UnitStatus','extend','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/rpc','colorChannel1','storage','_transformPreviousActiveRange','addObject','saveImage','ILocalStorageService','MUTATION','TEXT','blue400','use','generateRandomId','DisposableCollection','UniverInstanceType','editingUnit','_docTransformSelectionsService','162390GgnVet','_initStatusComponent','current','IImageIoService','_initCommandExecutedListener','onCommandExecuted','2eLjxCD','source','setItem','_transformService','255dwRqQD','closePath','getSkeleton','Shape','_renderManagerService','_collabSessionService','UNDEFINED','0\x200\x2017\x2016','fillRule','verdancy600','IDocClipboardService','setParam','xlink:href','HTTPService','rxjs','_id','attrs','unit','10847000GKQRes','uni.network.url-service','_httpService','fillStyle','Tooltip','concat','unshift','SetSelectionsOperation','_initResize','SessionStatus','_injector','activeSheet$','#fff','sheetId','range','_eventUnsubscribe','_initStatusListener','debounce','_lastPointer','idSuffix','_univerInstanceService','LICENSE_DISTRO_REJECTED','backgroundColor','font','restore','roomMembers$','WebSocketService','from','getUnhiddenWorksheets','ILogService','APPLY_DUPLICATED','NodePositionConvertToCursor','_document','className','YUUMI_RATE_OVER_LIMIT','_transformUndoRedoStack','_ensureSubject','_range','invokeId','univer-offline','DependentOn','_beforeCloseService','rgba(255,\x20255,\x20255,\x200.01)','CollaborationEvent','_cursor','onlineStatusTitle','startRow','@univerjs/engine-formula','getCurrentRevOfUnit','addObjects','subscribe','override','flatMap','_hovered','getMergeData','params','getActiveRange','_entities','currentSkeleton$','defs','_refreshCollabCursors','saveOfflineData','doc.mutation.rich-text-editing','_handleHeartbeatEvent','BuiltInUIPart','replace','CollaborationDataLoaderController','_anchor','save','getVpScrollXYInfoByPosToVp','_imageIoService','selection','unitId','LOGIN_FAILED','SNAPSHOT_INVALID_SNAPSHOT','get','clearTimeout','getOffsetConfig','_themeService','UNIVER_SHEET','_initEntityListener','selections','ranges','/run/','IRenderManagerService','height','@univerjs/docs-ui','IUIPartsService','history','getActiveSheet','offline','whenReady','IBeforeCloseService','mutations','MoveRangeCommandId','translate(.97)','_cursors','defineProperty','CollaborationStatusDisplay','collaboration-client-ui.config','path','getStateCache','key','CHANGESET_REVISION_CONFILICT','then','SheetSkeletonManagerService','YUUMI_URL_COL_OUT_OF_RANGE','data','ITransformService','getRangePointData','_memberService','onlineStatus','_getScale','_messageService','_colorIndex','getTypeOfUnitDisposed$','transformMutation','some','InsertRangeMoveRightCommandId','onPointerMove$','min','_hover','href','getViewport','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','deserializeRangeWithSheet','delete','CLOSE_ROOM','executeCommand','Plugin','clipPath','JOIN_ROOM_FAILED','drawWith','bottom','connectInjector','@univerjs-pro/collaboration','_getSessionTicket','getCoordByCell','setShapeProps','Vector2','_render','tag','DesktopCollaborationStatusDisplayController','replaceDocRanges','onlineStatusIcon','max','_scheduleHeartbeat','CollaborationUIEventId','getItem','ALREADY_EXISTS','DocStateChangeManagerService','collabStatus.notCollab','runOnServer','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','APPLY_NON_SEQUENTIAL_REVISION','_init','getCurrentUnitForType','UniverIcon','_scene','show','_startSheetCollabCursor','SOCKET_FAILED_RETRY','getSheetId','toStringTag','getOwnPropertyDescriptor','hasOwnProperty','@univerjs/engine-render','DocCollaborationEntity','rxjs/operators','NOT_COLLAB','_saveCache','transformByState','div','transformRemoteChangeset','triggerDblclick','hovered','assignAColorForMemberID','getColor','_handleJoinEvent','updateOfflineData','propertyIsEnumerable','subUnitId','_removeCollabCursors','_localeService','setInterval','toString','registerRefRange','getFocusedUnit','_toggleOnline','_saveTaskMap','useDependency','@univerjs/sheets','ISocketService','2837163dzmLeh','RemoteUniscriptService','add','_collaborationUIEventService','@univerjs-pro/collaboration-client','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_onRefRangeChange','getRenderById','USERS_LEAVE','stringify','getConfig','off-line-single_clip0_910_343','collab-rect-range-','distinctUntilChanged','SheetCollabCursorShape','CollaborationUIEventService','isTransformMutationsWithChangesetSuccess','_context','code','has','sessionStatus$','Warning','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUnitStatus$','IURLService','UniverCollaborationClientUIPlugin','Tools','getUnitId','_drawAnchor','INVITE_CODE_HAS_BEEN_UES','gold400','257751eZOskF','isArray','init','DocIMEInputManagerService','evenodd','[CollaborationDataLoaderController]','IMessageService','fill','red300','RECT','_urlService','collabStatus.syncing','@univerjs/network','MOBILE_HAS_BEEN_BOUND','combineLatest','382892KFVtGz','_revisionService','all','onPointerLeave$','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationSocketService','react','_refRangeService','UNIVER_DOC','_initEvent','InsertRowCommandId','_setupBeforeClosingHandler','debounceTime','RxDisposable','error','WebURLService','makeDirty','INotificationService','OFFLINE','INVALID_ARGUMENT','registerDependencies','_hideTimer','searchParams','CONNECTOR_DATA_TOO_LARGE','find','_config','getDocRanges','BrowserCollaborationSocketService','SetDocZoomRatioOperation','session.will-retry','M0\x200H16V16H0z','width','_configService','TOO_MANY_REQUESTS','reconnect','_updateLocalCursor','univer-flex\x20univer-items-center','_collabCursorController','getCellPositionByOffset','beginPath','children','url(#on-line-single_clip0_910_349)','SYNCED','NOT_FOUND','arc','setConfig','INVITE_CODE_REQUIRED','_unitOnClients','Injector','getUndoRedoMutationParamsCache','_roomMembers$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','eventID','column','_removeClearOtherTimer','_startDocCollabCursor','requireSession','unload','measureText','search','black','YUUMI_SUBSCRIPTION_NOT_FOUND','subscribeEvent','getOwnPropertySymbols','findNodePositionByCharIndex','isActive','SetTextSelectionsOperation','_session','urlChange$','m1Prime','location','useRef','RichTextEditingMutation','_labelPosition','_scheduleSaving','RefRangeService','PENDING','OTHER_CLIENT_EDITING','_cursorShapes','apply','_handleEvent','disposeWithMe','_send','FETCH_MISS','PY_RUNTIME_SCRIPT_ERROR','_docTransformStateCacheService','LICENSE_MAX_UNITS_EXCEEDED','RegularPolygon','top','Optional','type','univer-online-status-title','LOCAL_CACHE_INTERVAL','OTHER_CLIENTS_EDITING','_assignedColors','loadOfflineData','symbol','url(#$1','collaboration.closeRoom','handleDeleteRangeMoveLeft','pushState','next','createSocket','@univerjs/sheets-ui','setTimeout','unitID','forEach','lineTo','pipe','IUniverInstanceService','onRendered','_cachedData','LICENSE_IMPORT_SIZE_EXCEEDED','exhaustSavingTask','SheetsSelectionsService','filter','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.conflict','LOCAL_CACHE_INTERVAL_KEY','MessageType','includes','_onCursorUpdate','collab-text-range-','jsx','Unknown\x20user','_localStorageService','UniverCollaborationClientPlugin','getMemberID','debug','mergeOverrideWithDependencies','CommandType','RemoveColCommandId','map','@univerjs/design','_getSheetObject','_setupSubUnitSync','EffectRefRangId','url(#off-line-single_clip0_910_343)','_instanceService','_createSocketURL','displayName','actions','UNRECOGNIZED','_docSyncEditingCollabCursorService','isEditing','_selfUnitIDs','INVALID_INVITE_CODE','dispose$','undoState','TEXT_RANGE_LAYER_INDEX','_updateCollabCursors','syncEditingCollabCursor','newValue','off-line-single','_docTransformIMECacheService','svg','transformMutationsWithChangeset','_syncEditingCollabCursorService','Rect','USER_NOT_INVITED_CODE','_registerRenderDependencies','_anchorDot','_heartbeatTimer','YUUMI_UNABLE_LOAD_URL','ColorKit','CollaborationSessionService','subunit','split','_name','color','_drawRectRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','values','application/json','moveTo','CollaborationController','_transformHistoryAndStateStack','_commandService','merge','removeParam','round','size','getAncestorScale','_textBubble','sessionTicket','redoState','WECHAT_HAS_BEEN_BOUND','_initDependencies','DeleteRangeMoveLeftCommandId','_updateURLWithCurrentState','getLocalCacheKey','_getSaveTimeout','isTransformMutationFailure','createIdentifier','fromEvent','_doCreateSocket','setUndoRedoMutationParamsCache','text','permission.title','@univerjs/drawing','saveTaskMap','origin','none','clsx','forwardRef','SUBMIT_CHANGESET_TIMEOUT','getParam','assign','onMouseMove','@univerjs/ui','collabStatus.synced','ISnapshotServerService','CONFLICT','_collabCursorState$','FromArray','_sheetSkeletonManagerService','transformIMECache','DocSkeletonManagerService','switchMap','_scheduleClearOtherTimer','handleInsertRow','roomMembers','_getMergeRange','send','_getAnchorBounding','entries','result','_unitStatus','function','string','YUUMI_ASYNCIO_CANCELLED','indexOf','Module','collabCursorState$','ONLINE','_registerDependencies','row','INTERNAL_ERROR','APPLY_REVISION_CONFILICT','popstate','body','_docSkeletonManagerService','handleDeleteRangeMoveUp','DocSelectionManagerService','LocaleService','...','1em','ThemeService','_docStateChangeManagerService','3BfPbVL','transformSelections','textRanges','mask','hide','_backgroundColor','onTransformChange$','getCollabCursors$','_cursorInfo$','collab-client.tooltip.reconnect','OffLineSingle','setStateCache','SHEET_VIEWPORT_KEY','15138992uNYXgK','_localCacheService','_entityInit$','getUniverSheetInstance','_handleLeaveEvent','_colorAssignService','online','call','collabStatus.offline','with','_clearOtherTimers','addHandlerCallback','Inject'];_0x37fc=function(){return _0x395cc;};return _0x37fc();}var E=function(){const _0x3fff89=_0x578d62;return E=Object[_0x3fff89(0x286)]||function(_0x240891){const _0x540abc=_0x3fff89;for(var _0x7f8ac8,_0x50b86b=0x1,_0x48fa25=arguments[_0x540abc(0x2e5)];_0x50b86b<_0x48fa25;_0x50b86b++){_0x7f8ac8=arguments[_0x50b86b];for(var _0x29c44e in _0x7f8ac8)Object[_0x540abc(0x2d9)][_0x540abc(0x16d)]['call'](_0x7f8ac8,_0x29c44e)&&(_0x240891[_0x29c44e]=_0x7f8ac8[_0x29c44e]);}return _0x240891;},E[_0x3fff89(0x206)](this,arguments);},Ot=function(_0xbd5a63,_0x2eb55c){const _0xde767f=_0x578d62;var _0x56f78c={};for(var _0x348581 in _0xbd5a63)Object[_0xde767f(0x2d9)]['hasOwnProperty'][_0xde767f(0x2c4)](_0xbd5a63,_0x348581)&&_0x2eb55c['indexOf'](_0x348581)<0x0&&(_0x56f78c[_0x348581]=_0xbd5a63[_0x348581]);if(_0xbd5a63!=null&&typeof Object[_0xde767f(0x1f6)]==_0xde767f(0x29b)){for(var _0xa04d5=0x0,_0x348581=Object['getOwnPropertySymbols'](_0xbd5a63);_0xa04d5<_0x348581[_0xde767f(0x2e5)];_0xa04d5++)_0x2eb55c[_0xde767f(0x29e)](_0x348581[_0xa04d5])<0x0&&Object[_0xde767f(0x2d9)][_0xde767f(0x17c)][_0xde767f(0x2c4)](_0xbd5a63,_0x348581[_0xa04d5])&&(_0x56f78c[_0x348581[_0xa04d5]]=_0xbd5a63[_0x348581[_0xa04d5]]);}return _0x56f78c;},be=M['forwardRef'](function(_0x37ed56,_0x3c1c28){const _0x277663=_0x578d62;var _0x56a46b=_0x37ed56[_0x277663(0x308)],_0x546e24=_0x37ed56['id'],_0x560b99=_0x37ed56[_0x277663(0x379)],_0x25eb7d=_0x37ed56['extend'],_0x45e2e9=Ot(_0x37ed56,[_0x277663(0x308),'id','className',_0x277663(0x32a)]),_0x582213='univerjs-icon\x20univerjs-icon-'[_0x277663(0x35d)](_0x546e24,'\x20')[_0x277663(0x35d)](_0x560b99||'')[_0x277663(0x311)](),_0x4d3bbe=M[_0x277663(0x1fe)]('_'[_0x277663(0x35d)](Ut()));return ye(_0x56a46b,''[_0x277663(0x35d)](_0x546e24),{'defIds':_0x56a46b[_0x277663(0x307)],'idSuffix':_0x4d3bbe[_0x277663(0x33e)]},E({'ref':_0x3c1c28,'className':_0x582213},_0x45e2e9),_0x25eb7d);});function ye(_0x10620c,_0x3f3a62,_0x1cc129,_0x48919d,_0x136d01){const _0x467f24=_0x578d62;return M['createElement'](_0x10620c[_0x467f24(0x155)],E(E({'key':_0x3f3a62},Rt(_0x10620c,_0x1cc129,_0x136d01)),_0x48919d),(Dt(_0x10620c,_0x1cc129)[_0x467f24(0x1df)]||[])[_0x467f24(0x23b)](function(_0x27da81,_0x25029e){const _0x5be492=_0x467f24;return ye(_0x27da81,''[_0x5be492(0x35d)](_0x3f3a62,'-')['concat'](_0x10620c['tag'],'-')[_0x5be492(0x35d)](_0x25029e),_0x1cc129,void 0x0,_0x136d01);}));}function Rt(_0x5001b4,_0x428c08,_0x13eec1){const _0x1eeb43=_0x578d62;var _0x45a257=E({},_0x5001b4['attrs']);_0x13eec1!=null&&_0x13eec1[_0x1eeb43(0x32d)]&&_0x45a257[_0x1eeb43(0x1af)]===_0x1eeb43(0x32d)&&(_0x45a257[_0x1eeb43(0x1af)]=_0x13eec1[_0x1eeb43(0x32d)]),_0x5001b4[_0x1eeb43(0x155)]==='mask'&&_0x45a257['id']&&(_0x45a257['id']=_0x45a257['id']+_0x428c08['idSuffix']),Object['entries'](_0x45a257)[_0x1eeb43(0x221)](function(_0x551b19){const _0xe33e06=_0x1eeb43;var _0x169b5b=_0x551b19[0x0],_0x9859a=_0x551b19[0x1];_0x169b5b===_0xe33e06(0x2b3)&&typeof _0x9859a==_0xe33e06(0x29c)&&(_0x45a257[_0x169b5b]=_0x9859a[_0xe33e06(0x399)](/url\(#(.*)\)/,'url(#$1'[_0xe33e06(0x35d)](_0x428c08['idSuffix'],')')));});var _0x471f7d=_0x428c08[_0x1eeb43(0x307)];return!_0x471f7d||_0x471f7d['length']===0x0||(_0x5001b4['tag']===_0x1eeb43(0x336)&&_0x45a257[_0x1eeb43(0x352)]&&(_0x45a257['xlink:href']=_0x45a257[_0x1eeb43(0x352)]+_0x428c08[_0x1eeb43(0x36b)]),Object[_0x1eeb43(0x298)](_0x45a257)['forEach'](function(_0x3a53f){const _0x4d740f=_0x1eeb43;var _0x1ab8f8=_0x3a53f[0x0],_0x12523e=_0x3a53f[0x1];typeof _0x12523e==_0x4d740f(0x29c)&&(_0x45a257[_0x1ab8f8]=_0x12523e[_0x4d740f(0x399)](/url\(#(.*)\)/,_0x4d740f(0x218)[_0x4d740f(0x35d)](_0x428c08[_0x4d740f(0x36b)],')')));})),_0x45a257;}function Dt(_0x15e82b,_0x3a35e4){const _0x53caab=_0x578d62;var _0x3a72df,_0x3c1461=_0x3a35e4[_0x53caab(0x307)];return!_0x3c1461||_0x3c1461[_0x53caab(0x2e5)]===0x0?_0x15e82b:_0x15e82b['tag']===_0x53caab(0x393)&&(!((_0x3a72df=_0x15e82b[_0x53caab(0x1df)])===null||_0x3a72df===void 0x0)&&_0x3a72df[_0x53caab(0x2e5)])?E(E({},_0x15e82b),{'children':_0x15e82b[_0x53caab(0x1df)][_0x53caab(0x23b)](function(_0x3efd77){const _0x466d7b=_0x53caab;return typeof _0x3efd77['attrs']['id']==_0x466d7b(0x29c)&&_0x3c1461&&_0x3c1461[_0x466d7b(0x29e)](_0x3efd77[_0x466d7b(0x356)]['id'])>-0x1?E(E({},_0x3efd77),{'attrs':E(E({},_0x3efd77[_0x466d7b(0x356)]),{'id':_0x3efd77['attrs']['id']+_0x3a35e4['idSuffix']})}):_0x3efd77;})}):_0x15e82b;}function Ut(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}be[_0x578d62(0x243)]=_0x578d62(0x165);var Nt={'tag':_0x578d62(0x252),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x578d62(0x2ad)},'children':[{'tag':'g','attrs':{'clipPath':_0x578d62(0x240)},'children':[{'tag':_0x578d62(0x3bc),'attrs':{'stroke':_0x578d62(0x2d5),'d':_0x578d62(0x3d4),'strokeLinecap':_0x578d62(0x26b),'strokeLinejoin':_0x578d62(0x26b),'strokeWidth':1.2}}]},{'tag':_0x578d62(0x393),'attrs':{},'children':[{'tag':_0x578d62(0x3da),'attrs':{'id':_0x578d62(0x194)},'children':[{'tag':_0x578d62(0x3bc),'attrs':{'fill':'#fff','d':_0x578d62(0x1d5)}}]}]}],'defIds':[_0x578d62(0x194)]},$e=M[_0x578d62(0x283)](function(_0xab7777,_0x3f6662){const _0x162294=_0x578d62;return M['createElement'](be,Object[_0x162294(0x286)]({},_0xab7777,{'id':_0x162294(0x250),'ref':_0x3f6662,'icon':Nt}));});$e[_0x578d62(0x243)]=_0x578d62(0x2ba);var Mt={'tag':_0x578d62(0x252),'attrs':{'fill':_0x578d62(0x281),'viewBox':_0x578d62(0x34d),'width':_0x578d62(0x2ad),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x578d62(0x1e0)},'children':[{'tag':_0x578d62(0x3bc),'attrs':{'stroke':_0x578d62(0x2d5),'d':_0x578d62(0x161),'strokeLinecap':_0x578d62(0x26b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x578d62(0x393),'attrs':{},'children':[{'tag':_0x578d62(0x3da),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x578d62(0x3bc),'attrs':{'fill':_0x578d62(0x364),'d':_0x578d62(0x1d5),'transform':_0x578d62(0x3b7)}}]}]}],'defIds':['on-line-single_clip0_910_349']},xe=M['forwardRef'](function(_0x101458,_0x5d6d50){const _0xb8167f=_0x578d62;return M['createElement'](be,Object[_0xb8167f(0x286)]({},_0x101458,{'id':'on-line-single','ref':_0x5d6d50,'icon':Mt}));});xe[_0x578d62(0x243)]=_0x578d62(0x326);const Lt='univer-online-status-icon',Pt=_0x578d62(0x212),wt='univer-online-status',At='univer-online',yt=_0x578d62(0x37f),H={'onlineStatusIcon':Lt,'onlineStatusTitle':Pt,'onlineStatus':wt,'online':At,'offline':yt};function $t(_0x3e4bf6){const _0xc3f97a=_0x578d62;switch(_0x3e4bf6){case u[_0xc3f97a(0x312)][_0xc3f97a(0x1c9)]:return _0xc3f97a(0x2c5);case u['CollaborationStatus']['CONFLICT']:return _0xc3f97a(0x22c);case u['CollaborationStatus'][_0xc3f97a(0x20a)]:return _0xc3f97a(0x2cd);case u['CollaborationStatus'][_0xc3f97a(0x171)]:return _0xc3f97a(0x15f);case u[_0xc3f97a(0x312)]['AWAITING']:case u['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0xc3f97a(0x1b3);case u[_0xc3f97a(0x312)][_0xc3f97a(0x1e1)]:case u[_0xc3f97a(0x312)][_0xc3f97a(0x203)]:return _0xc3f97a(0x289);}}function je(_0x1bc516){const _0x1ef1d1=_0x578d62,{status$:_0x233532}=_0x1bc516,_0x4cc19d=O[_0x1ef1d1(0x2ef)](_0x233532,u[_0x1ef1d1(0x312)][_0x1ef1d1(0x171)]),_0x1b0ed3=O[_0x1ef1d1(0x186)](a[_0x1ef1d1(0x2ab)]),_0x21c67=O[_0x1ef1d1(0x186)](u['CollaborationSessionService']),_0x4b2793=_0x4cc19d!==u[_0x1ef1d1(0x312)][_0x1ef1d1(0x1c9)],_0xefb419=_0x1b0ed3['t']($t(_0x4cc19d)),_0x21c95a=T[_0x1ef1d1(0x282)](H[_0x1ef1d1(0x3c7)],{[H[_0x1ef1d1(0x2c3)]]:_0x4b2793,[H[_0x1ef1d1(0x3b2)]]:!_0x4b2793}),_0x48f997=_0x4b2793?P[_0x1ef1d1(0x232)](xe,{}):P['jsx']($e,{}),_0x47e1dc=M['useCallback'](()=>{const _0x2f8d1d=_0x1ef1d1;_0x4b2793||_0x21c67[_0x2f8d1d(0x1d9)]();},[_0x4b2793,_0x21c67]);function _0x4ea1e2(){const _0x52a6ac=_0x1ef1d1;return P['jsxs'](_0x52a6ac(0x174),{'className':T[_0x52a6ac(0x282)](_0x21c95a,_0x52a6ac(0x1db)),'onClick':_0x47e1dc,'children':[P['jsx'](_0x52a6ac(0x174),{'className':H[_0x52a6ac(0x158)],'children':_0x48f997}),P[_0x52a6ac(0x232)](_0x52a6ac(0x174),{'className':H[_0x52a6ac(0x385)],'children':_0xefb419})]});}return _0x4b2793?_0x4ea1e2():P[_0x1ef1d1(0x232)](T[_0x1ef1d1(0x35c)],{'title':_0x1b0ed3['t'](_0x1ef1d1(0x2b9)),'children':_0x4ea1e2()});}var xt=Object[_0x578d62(0x16c)],jt=(_0x5080e9,_0x223168,_0x4e86fa,_0x113f04)=>{const _0x346631=_0x578d62;for(var _0x3cc4aa=_0x113f04>0x1?void 0x0:_0x113f04?xt(_0x223168,_0x4e86fa):_0x223168,_0x5a7a5a=_0x5080e9[_0x346631(0x2e5)]-0x1,_0x1ce632;_0x5a7a5a>=0x0;_0x5a7a5a--)(_0x1ce632=_0x5080e9[_0x5a7a5a])&&(_0x3cc4aa=_0x1ce632(_0x3cc4aa)||_0x3cc4aa);return _0x3cc4aa;},X=(_0x1efc8d,_0x328737)=>(_0x4b8670,_0x1bc6b1)=>_0x328737(_0x4b8670,_0x1bc6b1,_0x1efc8d);exports[_0x578d62(0x156)]=class extends a[_0x578d62(0x2f6)]{constructor(_0x35a7fc,_0x34acbc,_0x347193,_0x217f5b){const _0x3660c5=_0x578d62;super(),_(this,_0x3660c5(0x304),new d['BehaviorSubject'](u[_0x3660c5(0x312)]['NOT_COLLAB'])),(this[_0x3660c5(0x36c)]=_0x35a7fc,this[_0x3660c5(0x362)]=_0x34acbc,this['_collaborationController']=_0x347193,this['_uiPartsService']=_0x217f5b,this[_0x3660c5(0x33d)](),this[_0x3660c5(0x368)]());}['_initStatusListener'](){const _0x9d337e=_0x578d62;this[_0x9d337e(0x208)](this['_univerInstanceService'][_0x9d337e(0x2f9)]['pipe'](d[_0x9d337e(0x291)](()=>{const _0x200a38=_0x9d337e,_0x1eab68=this[_0x200a38(0x36c)]['getFocusedUnit']();return _0x1eab68?this['_collaborationController']['getCollabEntity$'](_0x1eab68['getUnitId']()):d['of'](null);}),d['switchMap'](_0x420d25=>_0x420d25?_0x420d25['status$']:d['of'](u[_0x9d337e(0x312)][_0x9d337e(0x171)])))[_0x9d337e(0x38a)](_0x1dfe0a=>{const _0x1c035a=_0x9d337e;this[_0x1c035a(0x304)][_0x1c035a(0x21c)](_0x1dfe0a);}));}[_0x578d62(0x33d)](){const _0x491e7b=_0x578d62;this['disposeWithMe'](this[_0x491e7b(0x2eb)]['registerComponent'](O[_0x491e7b(0x398)][_0x491e7b(0x2fd)],()=>O[_0x491e7b(0x3de)](Bt({'status$':this[_0x491e7b(0x304)]['asObservable']()}),this[_0x491e7b(0x362)])));}},exports[_0x578d62(0x156)]=jt([X(0x0,a[_0x578d62(0x224)]),X(0x1,a['Inject'](a['Injector'])),X(0x2,a[_0x578d62(0x2c9)](u[_0x578d62(0x266)])),X(0x3,O[_0x578d62(0x3af)])],exports[_0x578d62(0x156)]);function _0xaa00(_0x6c202d,_0x15c771){const _0x37fc04=_0x37fc();return _0xaa00=function(_0xaa006b,_0x2ad548){_0xaa006b=_0xaa006b-0x152;let _0x387a56=_0x37fc04[_0xaa006b];return _0x387a56;},_0xaa00(_0x6c202d,_0x15c771);}function Bt(_0x4f11d0){const {status$:_0x119cda}=_0x4f11d0;return function(){const _0x363160=_0xaa00;return P[_0x363160(0x232)](je,{'status$':_0x119cda});};}var kt=Object[_0x578d62(0x16c)],Ht=(_0x288b61,_0x381bbd,_0x5c95f6,_0x3779ea)=>{for(var _0x3eaf6d=_0x3779ea>0x1?void 0x0:_0x3779ea?kt(_0x381bbd,_0x5c95f6):_0x381bbd,_0xab3da3=_0x288b61['length']-0x1,_0x45f77e;_0xab3da3>=0x0;_0xab3da3--)(_0x45f77e=_0x288b61[_0xab3da3])&&(_0x3eaf6d=_0x45f77e(_0x3eaf6d)||_0x3eaf6d);return _0x3eaf6d;},y=(_0x114273,_0x5220fc)=>(_0x110f1a,_0x534653)=>_0x5220fc(_0x110f1a,_0x534653,_0x114273);let z=class extends a['Disposable']{constructor(_0x13d174,_0x5e053b,_0x10b507,_0x3dad27,_0x37874f,_0x2d73d2){const _0x2b383b=_0x578d62;super(),this['_beforeCloseService']=_0x13d174,this[_0x2b383b(0x2be)]=_0x5e053b,this[_0x2b383b(0x18c)]=_0x10b507,this[_0x2b383b(0x3c9)]=_0x3dad27,this[_0x2b383b(0x2cc)]=_0x37874f,this['_localeService']=_0x2d73d2,this[_0x2b383b(0x1c2)](),this[_0x2b383b(0x1c0)]();}[_0x578d62(0x1c2)](){const _0x5dd220=_0x578d62;this[_0x5dd220(0x208)](this[_0x5dd220(0x381)]['registerBeforeClose'](()=>{const _0x16ce4f=_0x5dd220;if(this['_localCacheService'][_0x16ce4f(0x27f)]['size'])return this[_0x16ce4f(0x17f)]['t'](_0x16ce4f(0x30f));}));}[_0x578d62(0x1c0)](){const _0x1792e9=_0x578d62;this[_0x1792e9(0x208)](this[_0x1792e9(0x18c)][_0x1792e9(0x2d3)][_0x1792e9(0x38a)](_0x51ed81=>{const _0x56d9bb=_0x1792e9;_0x51ed81['id']===u['CollaborationUIEventId'][_0x56d9bb(0x204)]&&this[_0x56d9bb(0x3c9)][_0x56d9bb(0x167)]({'type':T['MessageType']['Warning'],'content':this[_0x56d9bb(0x17f)]['t']('collaboration.single-unit.warning')}),_0x51ed81['id']===u[_0x56d9bb(0x15b)][_0x56d9bb(0x3d7)]&&this[_0x56d9bb(0x3c9)][_0x56d9bb(0x167)]({'type':T[_0x56d9bb(0x22e)]['Warning'],'content':this[_0x56d9bb(0x17f)]['t'](_0x56d9bb(0x219))}),_0x51ed81['id']===u['CollaborationUIEventId'][_0x56d9bb(0x309)]&&this['_notificationService'][_0x56d9bb(0x167)]({'title':this[_0x56d9bb(0x17f)]['t'](_0x56d9bb(0x27d)),'content':this['_localeService']['t']('permission.content'),'type':_0x56d9bb(0x1c5),'duration':0x0}),_0x51ed81['id']===u['CollaborationUIEventId'][_0x56d9bb(0x28b)]&&this[_0x56d9bb(0x3c9)]['show']({'type':T[_0x56d9bb(0x22e)][_0x56d9bb(0x2f7)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x51ed81['data']+')'}),_0x51ed81['id']===u[_0x56d9bb(0x15b)][_0x56d9bb(0x3db)]&&this[_0x56d9bb(0x3c9)][_0x56d9bb(0x167)]({'type':T[_0x56d9bb(0x22e)][_0x56d9bb(0x19e)],'content':this['_localeService']['t'](_0x51ed81[_0x56d9bb(0x3c3)]||'')}),_0x51ed81['id']===u[_0x56d9bb(0x15b)][_0x56d9bb(0x169)]&&this[_0x56d9bb(0x3c9)][_0x56d9bb(0x167)]({'type':T[_0x56d9bb(0x22e)][_0x56d9bb(0x19e)],'content':this[_0x56d9bb(0x17f)]['t'](_0x56d9bb(0x1d4))}),_0x51ed81['id']===u[_0x56d9bb(0x15b)]['SOCKET_FAILED']&&this['_messageService'][_0x56d9bb(0x167)]({'type':T['MessageType'][_0x56d9bb(0x2f7)],'content':this[_0x56d9bb(0x17f)]['t']('session.connection-failed')}),_0x51ed81['id']===u['CollaborationUIEventId'][_0x56d9bb(0x284)]&&this[_0x56d9bb(0x3c9)][_0x56d9bb(0x167)]({'type':T[_0x56d9bb(0x22e)][_0x56d9bb(0x2f7)],'content':this[_0x56d9bb(0x17f)]['t']('session.collaboration-timeout')});}));}};z=Ht([y(0x0,O[_0x578d62(0x3b4)]),y(0x1,u['ILocalCacheService']),y(0x2,a['Inject'](u[_0x578d62(0x198)])),y(0x3,O[_0x578d62(0x1ae)]),y(0x4,O[_0x578d62(0x1c8)]),y(0x5,a['Inject'](a[_0x578d62(0x2ab)]))],z);const Ft=_0x578d62(0x3bb),Ne={},Ee=a[_0x578d62(0x278)](_0x578d62(0x359));var Wt=Object[_0x578d62(0x16c)],Yt=(_0x4dad7e,_0x46f52e,_0x18a23e,_0x4ff0fa)=>{const _0x11eaa4=_0x578d62;for(var _0x10d946=_0x4ff0fa>0x1?void 0x0:_0x4ff0fa?Wt(_0x46f52e,_0x18a23e):_0x46f52e,_0x3dea08=_0x4dad7e[_0x11eaa4(0x2e5)]-0x1,_0x5db4c0;_0x3dea08>=0x0;_0x3dea08--)(_0x5db4c0=_0x4dad7e[_0x3dea08])&&(_0x10d946=_0x5db4c0(_0x10d946)||_0x10d946);return _0x10d946;},F=(_0x17e941,_0x3234d9)=>(_0x813ea5,_0x14f01e)=>_0x3234d9(_0x813ea5,_0x14f01e,_0x17e941);exports[_0x578d62(0x39a)]=class extends a[_0x578d62(0x1c4)]{constructor(_0x5d3f66,_0x3a696d,_0x271930,_0x1406a7,_0x1c0d5c){const _0x1cd884=_0x578d62;super(),this[_0x1cd884(0x1b2)]=_0x5d3f66,this[_0x1cd884(0x2e0)]=_0x3a696d,this[_0x1cd884(0x268)]=_0x271930,this[_0x1cd884(0x2f4)]=_0x1406a7,_0x1c0d5c?_0x1c0d5c==null||_0x1c0d5c[_0x1cd884(0x3b3)]()[_0x1cd884(0x3c0)](()=>this[_0x1cd884(0x163)]()):(this[_0x1cd884(0x2e0)][_0x1cd884(0x237)]('[CollaborationDataLoaderController]',_0x1cd884(0x262)),this[_0x1cd884(0x163)]());}async[_0x578d62(0x163)](){const _0x30d8f0=_0x578d62,_0x512792=this['_urlService'][_0x30d8f0(0x285)](_0x30d8f0(0x357)),_0x7d994b=this[_0x30d8f0(0x1b2)][_0x30d8f0(0x285)](_0x30d8f0(0x211)),_0x56c161=this['_urlService']['getParam'](_0x30d8f0(0x25d));if(!_0x512792||!_0x7d994b){this[_0x30d8f0(0x2e0)]['debug'](_0x30d8f0(0x1ad),_0x30d8f0(0x1ea));return;}const _0x227d82=await this[_0x30d8f0(0x2f4)][_0x30d8f0(0x317)](_0x512792,Number(_0x7d994b),_0x56c161);_0x227d82&&_0x227d82 instanceof a['Workbook']&&this[_0x30d8f0(0x23e)](_0x227d82);}async['_setupSubUnitSync'](_0x255e9e){const _0x351e04=_0x578d62;await this[_0x351e04(0x30b)](_0x255e9e),_0x255e9e[_0x351e04(0x363)][_0x351e04(0x223)](d[_0x351e04(0x302)](this[_0x351e04(0x24a)]))['subscribe'](_0x2367a7=>{const _0x39f2bf=_0x351e04;_0x2367a7&&this[_0x39f2bf(0x274)](_0x2367a7);}),this[_0x351e04(0x1b2)][_0x351e04(0x1fb)][_0x351e04(0x223)](d[_0x351e04(0x302)](this['dispose$']))[_0x351e04(0x38a)](()=>this[_0x351e04(0x30b)](_0x255e9e));}[_0x578d62(0x274)](_0x507046,_0x18cb25=!0x1){const _0x18201e=_0x578d62,_0x421263=this[_0x18201e(0x1b2)][_0x18201e(0x285)](_0x18201e(0x25d));_0x507046[_0x18201e(0x16a)]()!==_0x421263&&this[_0x18201e(0x1b2)][_0x18201e(0x351)](_0x18201e(0x25d),_0x507046[_0x18201e(0x16a)](),_0x18cb25);}async[_0x578d62(0x30b)](_0xf55b39){const _0x58a4a2=_0x578d62;var _0x22661a;const _0x4be882=this[_0x58a4a2(0x1b2)][_0x58a4a2(0x285)](_0x58a4a2(0x25d));if(!_0x4be882||!_0xf55b39[_0x58a4a2(0x322)](_0x4be882)){const _0x19bb61=_0xf55b39[_0x58a4a2(0x374)]()[0x0],_0x508522=_0xf55b39[_0x58a4a2(0x322)](_0x19bb61);if(!_0x508522)return;this[_0x58a4a2(0x274)](_0x508522,!0x0),await this[_0x58a4a2(0x268)][_0x58a4a2(0x3d8)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0xf55b39['getUnitId'](),'subUnitId':_0x19bb61});return;}((_0x22661a=_0xf55b39[_0x58a4a2(0x3b1)]())==null?void 0x0:_0x22661a[_0x58a4a2(0x16a)]())!==_0x4be882&&await this[_0x58a4a2(0x268)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0xf55b39[_0x58a4a2(0x1a4)](),'subUnitId':_0x4be882});}},exports[_0x578d62(0x39a)]=Yt([F(0x0,Ee),F(0x1,a[_0x578d62(0x375)]),F(0x2,a[_0x578d62(0x328)]),F(0x3,a['Inject'](u[_0x578d62(0x2d6)])),F(0x4,a[_0x578d62(0x210)](Ke['IRemoteInstanceService']))],exports[_0x578d62(0x39a)]);var Vt=Object[_0x578d62(0x16c)],Xt=(_0x5b3d0b,_0x18f491,_0x2d16dd,_0x2016ff)=>{const _0x2d85b7=_0x578d62;for(var _0x388b9e=_0x2016ff>0x1?void 0x0:_0x2016ff?Vt(_0x18f491,_0x2d16dd):_0x18f491,_0x552094=_0x5b3d0b[_0x2d85b7(0x2e5)]-0x1,_0x2a3969;_0x552094>=0x0;_0x552094--)(_0x2a3969=_0x5b3d0b[_0x552094])&&(_0x388b9e=_0x2a3969(_0x388b9e)||_0x388b9e);return _0x388b9e;},le=(_0x5a0e13,_0x389ae6)=>(_0x46768c,_0x4628f7)=>_0x389ae6(_0x46768c,_0x4628f7,_0x5a0e13);let J=class{constructor(_0x5438bc,_0x35bdeb,_0x4ee871){const _0x508fca=_0x578d62;this[_0x508fca(0x362)]=_0x5438bc,this['_transformService']=_0x35bdeb,this[_0x508fca(0x34a)]=_0x4ee871;}[_0x578d62(0x28f)](_0x3cf50b){const _0x4e28dc=_0x578d62;this[_0x4e28dc(0x37b)](_0x3cf50b),this[_0x4e28dc(0x32f)](_0x3cf50b);}[_0x578d62(0x175)](_0x5d65b3){const _0x2c812c=_0x578d62,{unitID:_0x1633c6}=_0x5d65b3,_0x152d5f=this[_0x2c812c(0x34a)][_0x2c812c(0x190)](_0x1633c6)[_0x2c812c(0x2c6)](b['DocIMEInputManagerService']),{redoCache:_0x4eec28}=_0x152d5f[_0x2c812c(0x1e8)]();if(_0x4eec28[_0x2c812c(0x2e5)]===0x0)return _0x5d65b3;let _0x16a80c=a[_0x2c812c(0x1a3)][_0x2c812c(0x319)](_0x5d65b3[_0x2c812c(0x3b5)][0x0]);for(let _0xd2bdd3=0x0;_0xd2bdd3<_0x4eec28[_0x2c812c(0x2e5)];_0xd2bdd3++){const _0x4f9ea4={'id':'doc.mutation.rich-text-editing','params':{..._0x4eec28[_0xd2bdd3]}},_0xf301da=this[_0x2c812c(0x345)][_0x2c812c(0x3cc)](_0x16a80c,_0x4f9ea4,!0x1);if(m[_0x2c812c(0x277)](_0xf301da))throw _0xf301da['error'];_0x16a80c=_0xf301da['m1Prime'];}return{...a[_0x2c812c(0x1a3)][_0x2c812c(0x319)](_0x5d65b3),'mutations':[_0x16a80c]};}[_0x578d62(0x37b)](_0x6a1fad){const _0x97209a=_0x578d62,{unitID:_0x1d6e0a}=_0x6a1fad,_0x20c2be=this[_0x97209a(0x34a)]['getRenderById'](_0x1d6e0a)[_0x97209a(0x2c6)](b[_0x97209a(0x1ab)]),{undoCache:_0xa5ff84,redoCache:_0x3f011e}=_0x20c2be['getUndoRedoMutationParamsCache']();if(_0xa5ff84[_0x97209a(0x2e5)]===0x0||_0x3f011e[_0x97209a(0x2e5)]===0x0)return;const _0x125d15=[],_0xc79eb3=[];let _0x5923d2=a[_0x97209a(0x1a3)][_0x97209a(0x319)](_0x6a1fad[_0x97209a(0x3b5)][0x0]),_0x5e52bc=a[_0x97209a(0x1a3)][_0x97209a(0x319)](_0x6a1fad['mutations'][0x0]);for(let _0x4aac2d=_0xa5ff84['length']-0x1;_0x4aac2d>=0x0;_0x4aac2d--){const _0x34dd34={'id':_0x97209a(0x396),'params':{..._0xa5ff84[_0x4aac2d]}},_0x170d38={'id':'doc.mutation.rich-text-editing','params':{..._0x3f011e[_0x4aac2d]}},_0x3cd796=this[_0x97209a(0x345)][_0x97209a(0x3cc)](_0x5923d2,_0x34dd34,!0x1),_0x2637cd=this[_0x97209a(0x345)][_0x97209a(0x3cc)](_0x5e52bc,_0x170d38,!0x1);if(m['isTransformMutationFailure'](_0x3cd796))throw _0x3cd796[_0x97209a(0x1c5)];if(m[_0x97209a(0x277)](_0x2637cd))throw _0x2637cd[_0x97209a(0x1c5)];_0x125d15['unshift'](_0x3cd796[_0x97209a(0x2fb)][_0x97209a(0x38f)]),_0xc79eb3[_0x97209a(0x35e)](_0x2637cd['m2Prime']['params']),_0x5923d2=_0x3cd796[_0x97209a(0x1fc)],_0x5e52bc=_0x2637cd[_0x97209a(0x1fc)];}_0x20c2be[_0x97209a(0x27b)]({'undoCache':_0x125d15,'redoCache':_0xc79eb3});}[_0x578d62(0x32f)](_0x303795){const _0x42339b=_0x578d62,{unitID:_0x1871b8}=_0x303795,_0x362d39=this[_0x42339b(0x34a)][_0x42339b(0x190)](_0x1871b8)[_0x42339b(0x2c6)](b[_0x42339b(0x1ab)]),_0xdfb18=_0x362d39[_0x42339b(0x390)]();if(_0xdfb18==null)return;const _0x1592a1=[{'id':_0x42339b(0x396),'params':{'unitId':_0x303795[_0x42339b(0x220)],'actions':null,'textRanges':[_0xdfb18]}}],_0xed4620=this[_0x42339b(0x345)]['transformMutationsWithChangeset'](_0x303795,_0x1592a1);if(!m[_0x42339b(0x199)](_0xed4620))throw _0xed4620['error'];const _0x791f39=_0xed4620[_0x42339b(0x2fb)][0x0][_0x42339b(0x38f)]['textRanges'];Array[_0x42339b(0x1a9)](_0x791f39)&&_0x791f39[_0x42339b(0x2e5)]&&_0x362d39[_0x42339b(0x2ec)](_0x791f39[0x0]);}};J=Xt([le(0x0,a['Inject'](a[_0x578d62(0x1e7)])),le(0x1,m[_0x578d62(0x3c4)]),le(0x2,p[_0x578d62(0x3ac)])],J);var Gt=Object[_0x578d62(0x16c)],qt=(_0x5d6e54,_0x2a48d8,_0x131ccd,_0x25d412)=>{for(var _0x2a8717=_0x25d412>0x1?void 0x0:_0x25d412?Gt(_0x2a48d8,_0x131ccd):_0x2a48d8,_0x3b3d5c=_0x5d6e54['length']-0x1,_0x17e86c;_0x3b3d5c>=0x0;_0x3b3d5c--)(_0x17e86c=_0x5d6e54[_0x3b3d5c])&&(_0x2a8717=_0x17e86c(_0x2a8717)||_0x2a8717);return _0x2a8717;},_e=(_0x31b802,_0x593593)=>(_0xb583ca,_0x8957dd)=>_0x593593(_0xb583ca,_0x8957dd,_0x31b802);let Z=class{constructor(_0x48454d,_0x11289d,_0x56c056){const _0x50e35a=_0x578d62;this[_0x50e35a(0x362)]=_0x48454d,this[_0x50e35a(0x345)]=_0x11289d,this[_0x50e35a(0x2af)]=_0x56c056;}[_0x578d62(0x2ee)](_0x375f16){const _0x32441b=_0x578d62;this[_0x32441b(0x267)](_0x375f16);}[_0x578d62(0x175)](_0x31867e){const _0x5069ee=_0x578d62,{unitID:_0x22f90d}=_0x31867e,{collaboration:_0x11fd53}=this[_0x5069ee(0x2af)][_0x5069ee(0x3bd)](_0x22f90d);if(_0x11fd53[_0x5069ee(0x2e5)]===0x0)return _0x31867e;let _0x20eafd=a['Tools'][_0x5069ee(0x319)](_0x31867e[_0x5069ee(0x3b5)][0x0]);for(let _0x595e5e=0x0;_0x595e5e<_0x11fd53[_0x5069ee(0x2e5)];_0x595e5e++){const _0x3826df={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11fd53[_0x595e5e][_0x5069ee(0x3a0)],..._0x11fd53[_0x595e5e][_0x5069ee(0x270)]}},_0x293ca4=this[_0x5069ee(0x345)]['transformMutation'](_0x20eafd,_0x3826df,!0x1);if(m[_0x5069ee(0x277)](_0x293ca4))throw _0x293ca4['error'];_0x20eafd=_0x293ca4[_0x5069ee(0x1fc)];}return{...a[_0x5069ee(0x1a3)][_0x5069ee(0x319)](_0x31867e),'mutations':[_0x20eafd]};}[_0x578d62(0x267)](_0x4dc12f){const _0x513987=_0x578d62,{unitID:_0x920505}=_0x4dc12f,{history:_0x1a5bc8,collaboration:_0x224253}=this['_docStateChangeManagerService'][_0x513987(0x3bd)](_0x920505);if(_0x1a5bc8[_0x513987(0x2e5)]===0x0&&_0x224253[_0x513987(0x2e5)]===0x0)return;const _0x455dfc=[],_0x1fc3f5=[];let _0x316ff2=a[_0x513987(0x1a3)]['deepClone'](_0x4dc12f[_0x513987(0x3b5)][0x0]),_0x281c89=a[_0x513987(0x1a3)][_0x513987(0x319)](_0x4dc12f[_0x513987(0x3b5)][0x0]);for(let _0x493c8d=_0x1a5bc8[_0x513987(0x2e5)]-0x1;_0x493c8d>=0x0;_0x493c8d--){const _0x3dee2d={'id':_0x513987(0x396),'params':{'unitId':_0x1a5bc8[_0x493c8d][_0x513987(0x3a0)],..._0x1a5bc8[_0x493c8d][_0x513987(0x24b)]}},_0x4877b8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1a5bc8[_0x493c8d]['unitId'],..._0x1a5bc8[_0x493c8d][_0x513987(0x270)]}},_0xd62cdc=this[_0x513987(0x345)][_0x513987(0x3cc)](_0x316ff2,_0x3dee2d,!0x1),_0x1f1768=this[_0x513987(0x345)][_0x513987(0x3cc)](_0x281c89,_0x4877b8,!0x1);if(m[_0x513987(0x277)](_0xd62cdc))throw _0xd62cdc[_0x513987(0x1c5)];if(m[_0x513987(0x277)](_0x1f1768))throw _0x1f1768['error'];_0x455dfc[_0x513987(0x35e)]({..._0x1a5bc8[_0x493c8d],'undoState':_0xd62cdc['m2Prime']['params'],'redoState':_0x1f1768[_0x513987(0x2fb)][_0x513987(0x38f)]}),_0x316ff2=_0xd62cdc['m1Prime'],_0x281c89=_0x1f1768['m1Prime'];}_0x316ff2=a['Tools']['deepClone'](_0x4dc12f[_0x513987(0x3b5)][0x0]),_0x281c89=a[_0x513987(0x1a3)][_0x513987(0x319)](_0x4dc12f[_0x513987(0x3b5)][0x0]);for(let _0x16701f=_0x224253[_0x513987(0x2e5)]-0x1;_0x16701f>=0x0;_0x16701f--){const _0xa57885={'id':_0x513987(0x396),'params':{'unitId':_0x224253[_0x16701f][_0x513987(0x3a0)],..._0x224253[_0x16701f][_0x513987(0x24b)]}},_0x17b29a={'id':_0x513987(0x396),'params':{'unitId':_0x224253[_0x16701f]['unitId'],..._0x224253[_0x16701f][_0x513987(0x270)]}},_0x97db01=this['_transformService'][_0x513987(0x3cc)](_0x316ff2,_0xa57885,!0x1),_0x30fbe3=this[_0x513987(0x345)][_0x513987(0x3cc)](_0x281c89,_0x17b29a,!0x1);if(m[_0x513987(0x277)](_0x97db01))throw _0x97db01[_0x513987(0x1c5)];if(m['isTransformMutationFailure'](_0x30fbe3))throw _0x30fbe3[_0x513987(0x1c5)];_0x1fc3f5[_0x513987(0x35e)]({..._0x224253[_0x16701f],'undoState':_0x97db01['m2Prime'][_0x513987(0x38f)],'redoState':_0x30fbe3[_0x513987(0x2fb)][_0x513987(0x38f)]}),_0x316ff2=_0x97db01[_0x513987(0x1fc)],_0x281c89=_0x30fbe3['m1Prime'];}this[_0x513987(0x2af)][_0x513987(0x2bb)](_0x920505,{'history':_0x455dfc,'collaboration':_0x1fc3f5});}};Z=qt([_e(0x0,a[_0x578d62(0x2c9)](a['Injector'])),_e(0x1,m[_0x578d62(0x3c4)]),_e(0x2,a[_0x578d62(0x2c9)](b['DocStateChangeManagerService']))],Z);var Kt=Object[_0x578d62(0x16c)],zt=(_0x4a6a76,_0x4df9b9,_0x5bd464,_0x17ed05)=>{const _0x1fe90c=_0x578d62;for(var _0x26b37e=_0x17ed05>0x1?void 0x0:_0x17ed05?Kt(_0x4df9b9,_0x5bd464):_0x4df9b9,_0x455a58=_0x4a6a76[_0x1fe90c(0x2e5)]-0x1,_0x7ca799;_0x455a58>=0x0;_0x455a58--)(_0x7ca799=_0x4a6a76[_0x455a58])&&(_0x26b37e=_0x7ca799(_0x26b37e)||_0x26b37e);return _0x26b37e;},Me=(_0x102844,_0x411f2d)=>(_0x1a0c47,_0x1b9de5)=>_0x411f2d(_0x1a0c47,_0x1b9de5,_0x102844);let Q=class{constructor(_0x195360,_0x168c09){const _0x3ec5fc=_0x578d62;this[_0x3ec5fc(0x362)]=_0x195360,this['_transformService']=_0x168c09;}[_0x578d62(0x2b1)](_0x24b5fd){const _0x387ec2=_0x578d62;var _0x5829ed;const _0xc08a6=this['_injector'][_0x387ec2(0x3a3)](Y['DocSelectionManagerService']),_0x519e2d=(_0x5829ed=_0xc08a6[_0x387ec2(0x1d1)]())!=null?_0x5829ed:[];if(_0x519e2d[_0x387ec2(0x2e5)]===0x0)return;const _0x2d44e1=_0x24b5fd[_0x387ec2(0x220)],_0x40b2f5=[{'id':_0x387ec2(0x396),'params':{'unitId':_0x2d44e1,'actions':null,'textRanges':_0x519e2d}}],_0x12d5bd=this['_transformService'][_0x387ec2(0x253)](_0x24b5fd,_0x40b2f5);if(!m[_0x387ec2(0x199)](_0x12d5bd))throw _0x12d5bd[_0x387ec2(0x1c5)];const _0x4a84b6=_0x12d5bd[_0x387ec2(0x2fb)][0x0][_0x387ec2(0x38f)][_0x387ec2(0x2b2)];Array[_0x387ec2(0x1a9)](_0x4a84b6)&&_0x4a84b6[_0x387ec2(0x2e5)]&&_0xc08a6[_0x387ec2(0x157)](_0x4a84b6,{'unitId':_0x2d44e1,'subUnitId':_0x2d44e1},!0x1);}};Q=zt([Me(0x0,a[_0x578d62(0x2c9)](a[_0x578d62(0x1e7)])),Me(0x1,m[_0x578d62(0x3c4)])],Q);var Jt=Object[_0x578d62(0x16c)],Zt=(_0x30eca0,_0x53e4ab,_0x53c5c3,_0x4ac4c5)=>{for(var _0xdd2f76=_0x4ac4c5>0x1?void 0x0:_0x4ac4c5?Jt(_0x53e4ab,_0x53c5c3):_0x53e4ab,_0x2e89b3=_0x30eca0['length']-0x1,_0x2baff3;_0x2e89b3>=0x0;_0x2e89b3--)(_0x2baff3=_0x30eca0[_0x2e89b3])&&(_0xdd2f76=_0x2baff3(_0xdd2f76)||_0xdd2f76);return _0xdd2f76;},N=(_0x2847b6,_0x37f619)=>(_0x5e868c,_0x5dda49)=>_0x37f619(_0x5e868c,_0x5dda49,_0x2847b6);let ee=class extends a['Disposable']{constructor(_0x51c227,_0x48c52c,_0x146381,_0x50c3c0,_0x5b611e,_0x35cb79,_0x13ccec,_0x4b2032){const _0x16f2df=_0x578d62;super(),_(this,_0x16f2df(0x304),new d[(_0x16f2df(0x316))](u[_0x16f2df(0x312)][_0x16f2df(0x171)])),(this[_0x16f2df(0x2af)]=_0x51c227,this['_collaborationController']=_0x48c52c,this['_docTransformIMECacheService']=_0x146381,this[_0x16f2df(0x20c)]=_0x50c3c0,this[_0x16f2df(0x33b)]=_0x5b611e,this[_0x16f2df(0x246)]=_0x35cb79,this[_0x16f2df(0x3c9)]=_0x13ccec,this[_0x16f2df(0x17f)]=_0x4b2032,this[_0x16f2df(0x3a8)]());}[_0x578d62(0x3a8)](){const _0x251ce5=_0x578d62;this[_0x251ce5(0x208)](this[_0x251ce5(0x31e)][_0x251ce5(0x321)][_0x251ce5(0x38a)](_0x11cb5a=>{const _0xc64298=_0x251ce5,_0x5b59b0=this[_0xc64298(0x2af)]['docStateChange$'][_0xc64298(0x38a)](_0x53a1b2=>{const _0xfc9c38=_0xc64298;if(_0x53a1b2==null)return;const {unitId:_0x60611e,redoState:_0x55e584,commandId:_0x1ca02a}=_0x53a1b2;if(_0x60611e!==_0x11cb5a[_0xfc9c38(0x220)])return;const _0x389a17={'id':_0x1ca02a,'type':a[_0xfc9c38(0x239)][_0xfc9c38(0x333)],'params':{'unitId':_0x60611e,'actions':_0x55e584[_0xfc9c38(0x244)],'textRanges':null}};_0x11cb5a[_0xfc9c38(0x2d8)](_0x389a17);});if(_0x11cb5a[_0xc64298(0x208)](_0x5b59b0),_0x11cb5a instanceof u[_0xc64298(0x16f)]){const _0x26e238={'onTransformIME':_0x2b0a02=>this[_0xc64298(0x251)][_0xc64298(0x28f)](_0x2b0a02),'onTransformState':_0x40de3d=>this[_0xc64298(0x20c)][_0xc64298(0x2ee)](_0x40de3d),'onTransformSelections':_0x3be335=>this[_0xc64298(0x33b)]['transformSelections'](_0x3be335),'onSyncEditingCollabCursor':_0x3cbae9=>this[_0xc64298(0x246)][_0xc64298(0x24e)](_0x3cbae9),'onTransformRemoteChangesetByIMECache':_0xf3fb42=>this[_0xc64298(0x251)][_0xc64298(0x175)](_0xf3fb42),'onTransformRemoteChangesetByStateCache':_0x2a27ad=>this[_0xc64298(0x20c)][_0xc64298(0x175)](_0x2a27ad)};_0x11cb5a[_0xc64298(0x2c8)](_0x26e238);}}));}};ee=Zt([N(0x0,a['Inject'](b[_0x578d62(0x15e)])),N(0x1,a[_0x578d62(0x2c9)](u[_0x578d62(0x266)])),N(0x2,a[_0x578d62(0x2c9)](J)),N(0x3,a[_0x578d62(0x2c9)](Z)),N(0x4,a[_0x578d62(0x2c9)](Q)),N(0x5,a[_0x578d62(0x2c9)](pe)),N(0x6,O['IMessageService']),N(0x7,a[_0x578d62(0x2c9)](a[_0x578d62(0x2ab)]))],ee);var Qt=Object[_0x578d62(0x16c)],es=(_0x52fc3,_0x4b4a5b,_0xbd0d0f,_0x567677)=>{const _0x302a2c=_0x578d62;for(var _0x23aead=_0x567677>0x1?void 0x0:_0x567677?Qt(_0x4b4a5b,_0xbd0d0f):_0x4b4a5b,_0x3b3879=_0x52fc3[_0x302a2c(0x2e5)]-0x1,_0xef90ae;_0x3b3879>=0x0;_0x3b3879--)(_0xef90ae=_0x52fc3[_0x3b3879])&&(_0x23aead=_0xef90ae(_0x23aead)||_0x23aead);return _0x23aead;},he=(_0x32443c,_0x51b066)=>(_0x30d679,_0x3434f2)=>_0x51b066(_0x30d679,_0x3434f2,_0x32443c);let me=class extends a[_0x578d62(0x2f6)]{constructor(_0x2c869d,_0x304d74,_0x22df75){const _0x39a9fc=_0x578d62;super(),_(this,_0x39a9fc(0x226),new Map()),_(this,_0x39a9fc(0x185),new Map()),_(this,'_disabled',!0x1),(this[_0x39a9fc(0x1d7)]=_0x2c869d,this['_localStorageService']=_0x304d74,this['_revisionService']=_0x22df75);}['disableLocalCache'](){const _0x3731a5=_0x578d62;this[_0x3731a5(0x325)]=!0x0;}[_0x578d62(0x2cf)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x2e76da=_0x578d62;return this[_0x2e76da(0x185)];}[_0x578d62(0x2e9)](){const _0x19f639=_0x578d62;this[_0x19f639(0x228)]()[_0x19f639(0x3c0)](()=>super['dispose']());}async[_0x578d62(0x216)](_0x3675b5){const _0xce0866=_0x578d62;return this['_disabled']?null:this[_0xce0866(0x234)][_0xce0866(0x15c)](u[_0xce0866(0x275)](_0x3675b5));}async[_0x578d62(0x395)](_0x5f1db4,_0x1c2234){const _0x354adb=_0x578d62;return!!this[_0x354adb(0x234)]['setItem'](_0x5f1db4,_0x1c2234);}[_0x578d62(0x17b)](_0x2cffb0,_0x5ade75,_0x142377,_0x30cd27){const _0x1b9390=_0x578d62,_0x3fddb0=this[_0x1b9390(0x1b8)][_0x1b9390(0x388)](_0x2cffb0);this[_0x1b9390(0x226)][_0x1b9390(0x315)](_0x2cffb0,{'unitID':_0x2cffb0,'type':_0x5ade75,'awaitingChangeset':_0x142377,'mutations':_0x30cd27,'rev':_0x3fddb0}),this[_0x1b9390(0x185)][_0x1b9390(0x19c)](_0x2cffb0)||this[_0x1b9390(0x201)](_0x2cffb0);}['_scheduleSaving'](_0x57abeb){const _0x3ec2fe=_0x578d62,_0x263c8b=this[_0x3ec2fe(0x276)]();_0x263c8b===0x0?this[_0x3ec2fe(0x172)](_0x57abeb):this['_saveTaskMap'][_0x3ec2fe(0x315)](_0x57abeb,setTimeout(()=>this[_0x3ec2fe(0x172)](_0x57abeb),_0x263c8b));}[_0x578d62(0x276)](){const _0x1bb0fb=_0x578d62;var _0x502e2;return(_0x502e2=this[_0x1bb0fb(0x1d7)]['getConfig'](u[_0x1bb0fb(0x22d)]))!=null?_0x502e2:u[_0x1bb0fb(0x213)];}[_0x578d62(0x172)](_0x257adf){const _0x276b1a=_0x578d62,_0x1630e8=this[_0x276b1a(0x185)][_0x276b1a(0x3a3)](_0x257adf);return _0x1630e8!==void 0x0&&window[_0x276b1a(0x3a4)](_0x1630e8),this[_0x276b1a(0x234)][_0x276b1a(0x344)](u[_0x276b1a(0x275)](_0x257adf),this['_cachedData'][_0x276b1a(0x3a3)](_0x257adf))[_0x276b1a(0x3c0)](()=>this['_saveTaskMap'][_0x276b1a(0x3d6)](_0x257adf));}async['exhaustSavingTask'](){const _0x1dc149=_0x578d62,_0x554b4d=[];this[_0x1dc149(0x185)]['forEach']((_0x4d954a,_0x5a4a61)=>{const _0x204b3a=_0x1dc149;window['clearTimeout'](_0x4d954a),_0x554b4d[_0x204b3a(0x2f3)](this[_0x204b3a(0x172)](_0x5a4a61)[_0x204b3a(0x3c0)](()=>{this['_saveTaskMap']['delete'](_0x5a4a61);}));}),await Promise[_0x1dc149(0x1b9)](_0x554b4d);}};me=es([he(0x0,a[_0x578d62(0x2f1)]),he(0x1,a[_0x578d62(0x332)]),he(0x2,a['Inject'](m['RevisionService']))],me);class Be extends a[_0x578d62(0x1c4)]{constructor(){const _0x335e8b=_0x578d62;super(),_(this,_0x335e8b(0x1fb)),this[_0x335e8b(0x1fb)]=d['fromEvent'](window,_0x335e8b(0x2a6))['pipe'](d[_0x335e8b(0x302)](this['dispose$']),d['shareReplay'](0x1),d['mapTo'](void 0x0));}[_0x578d62(0x351)](_0x46dcab,_0x1cd10d,_0xfa4cf2=!0x1){const _0x4beeca=_0x578d62,_0x22c4b6=new URL(window[_0x4beeca(0x1fd)][_0x4beeca(0x3d2)]);_0x22c4b6[_0x4beeca(0x1cd)]['set'](_0x46dcab,_0x1cd10d),_0xfa4cf2?window[_0x4beeca(0x3b0)][_0x4beeca(0x30c)]('','',_0x22c4b6[_0x4beeca(0x181)]()):window[_0x4beeca(0x3b0)][_0x4beeca(0x21b)]('','',_0x22c4b6[_0x4beeca(0x181)]());}[_0x578d62(0x26a)](_0x14b4d1,_0x2f02e3=!0x1){const _0x45a4a0=_0x578d62,_0x1e716f=new URL(window[_0x45a4a0(0x1fd)]['href']);_0x1e716f['searchParams']['delete'](_0x14b4d1),_0x2f02e3?window['history'][_0x45a4a0(0x30c)]('','',_0x1e716f[_0x45a4a0(0x181)]()):window['history'][_0x45a4a0(0x21b)]('','',_0x1e716f[_0x45a4a0(0x181)]());}[_0x578d62(0x285)](_0x3b8aeb){const _0x3a392a=_0x578d62;var _0x529d06;return(_0x529d06=new URL(window['location'][_0x3a392a(0x3d2)])[_0x3a392a(0x1cd)][_0x3a392a(0x3a3)](_0x3b8aeb))!=null?_0x529d06:void 0x0;}}var ts=Object[_0x578d62(0x3b9)],ss=Object[_0x578d62(0x16c)],ns=(_0x565acd,_0x5a0bab,_0x28ea8b)=>_0x5a0bab in _0x565acd?ts(_0x565acd,_0x5a0bab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28ea8b}):_0x565acd[_0x5a0bab]=_0x28ea8b,is=(_0x53bac6,_0x11fcb7,_0x4e4cbf,_0x57d17a)=>{const _0x1eb367=_0x578d62;for(var _0x3daf78=_0x57d17a>0x1?void 0x0:_0x57d17a?ss(_0x11fcb7,_0x4e4cbf):_0x11fcb7,_0x32d052=_0x53bac6[_0x1eb367(0x2e5)]-0x1,_0x5103a4;_0x32d052>=0x0;_0x32d052--)(_0x5103a4=_0x53bac6[_0x32d052])&&(_0x3daf78=_0x5103a4(_0x3daf78)||_0x3daf78);return _0x3daf78;},ue=(_0x54c185,_0x2d0296)=>(_0xe646ea,_0x40fa94)=>_0x2d0296(_0xe646ea,_0x40fa94,_0x54c185),rs=(_0x216b71,_0x4c0250,_0x373806)=>ns(_0x216b71,_0x4c0250+'',_0x373806);const os=_0x578d62(0x324);exports[_0x578d62(0x1a2)]=class extends a[_0x578d62(0x3d9)]{constructor(_0x351f03=Ne,_0x427e87,_0x5b0475,_0x3f8e4b){const _0x18c43d=_0x578d62;super(),this[_0x18c43d(0x1d0)]=_0x351f03,this['_renderManagerService']=_0x427e87,this[_0x18c43d(0x362)]=_0x5b0475,this['_configService']=_0x3f8e4b;const {..._0x106eb5}=a['merge']({},Ne,this['_config']);this[_0x18c43d(0x1d7)][_0x18c43d(0x1e4)](Ft,_0x106eb5);}['onStarting'](){const _0x540638=_0x578d62;this[_0x540638(0x2a2)](),this[_0x540638(0x272)]();}[_0x578d62(0x225)](){const _0x1d7aaa=_0x578d62;this[_0x1d7aaa(0x257)]();}[_0x578d62(0x2a2)](){const _0x514f9c=_0x578d62;var _0xee457a;const _0x6ec798=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':Be}],[q[_0x514f9c(0x188)],{'useClass':q[_0x514f9c(0x372)]}],[u['ILocalCacheService'],{'useClass':me}],[exports[_0x514f9c(0x156)]],[ee],[z],[x],[fe],[exports[_0x514f9c(0x39a)]]];a[_0x514f9c(0x1cb)](this[_0x514f9c(0x362)],a[_0x514f9c(0x238)](_0x6ec798,(_0xee457a=this[_0x514f9c(0x1d0)])==null?void 0x0:_0xee457a[_0x514f9c(0x38b)]));}['_registerRenderDependencies'](){const _0x337f13=_0x578d62;this[_0x337f13(0x208)](this['_renderManagerService'][_0x337f13(0x30e)](a[_0x337f13(0x339)][_0x337f13(0x1bf)],[ve])),this['disposeWithMe'](this[_0x337f13(0x34a)]['registerRenderModule'](a[_0x337f13(0x339)]['UNIVER_SHEET'],[ge]));}[_0x578d62(0x272)](){const _0x5e02b0=_0x578d62;a['touchDependencies'](this[_0x5e02b0(0x362)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports['CollaborationDataLoaderController']]]);}},rs(exports[_0x578d62(0x1a2)],_0x578d62(0x2f5),os),exports[_0x578d62(0x1a2)]=is([a[_0x578d62(0x380)](u[_0x578d62(0x235)]),ue(0x1,p[_0x578d62(0x3ac)]),ue(0x2,a['Inject'](a['Injector'])),ue(0x3,a[_0x578d62(0x2f1)])],exports[_0x578d62(0x1a2)]);var as=Object['getOwnPropertyDescriptor'],cs=(_0x22c4d2,_0x3c547f,_0x5c7169,_0x23cd41)=>{for(var _0x1f61fe=_0x23cd41>0x1?void 0x0:_0x23cd41?as(_0x3c547f,_0x5c7169):_0x3c547f,_0x25364c=_0x22c4d2['length']-0x1,_0xd79fe7;_0x25364c>=0x0;_0x25364c--)(_0xd79fe7=_0x22c4d2[_0x25364c])&&(_0x1f61fe=_0xd79fe7(_0x1f61fe)||_0x1f61fe);return _0x1f61fe;},W=(_0x13eb6c,_0x1dd945)=>(_0x443a2a,_0x41bea2)=>_0x1dd945(_0x443a2a,_0x41bea2,_0x13eb6c);exports['BrowserCollaborationSocketService']=class extends u[_0x578d62(0x1bc)]{constructor(_0x5cdd20,_0x65aa1e,_0x49d5ae,_0x5bd756,_0x23e24f){super(_0x5cdd20,_0x65aa1e,_0x49d5ae,_0x5bd756,_0x23e24f);}async[_0x578d62(0x21d)](_0x4b6537){const _0x3ec75a=_0x578d62,_0x399a95=await this['_getSessionTicket'](),_0x425504=this['_createSocketURL'](_0x4b6537,_0x399a95);return this[_0x3ec75a(0x27a)](_0x425504);}[_0x578d62(0x242)](_0x19f3b8,_0x31e86c){const _0x261dbe=_0x578d62,_0x3055cc=typeof window>'u'?new URL(_0x19f3b8):new URL(_0x19f3b8,window[_0x261dbe(0x1fd)][_0x261dbe(0x280)]);_0x3055cc[_0x261dbe(0x1cd)][_0x261dbe(0x315)](_0x261dbe(0x26f),_0x31e86c);const _0x39a0b7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x261dbe(0x1fd)][_0x261dbe(0x1f2)]);return _0x39a0b7['get'](_0x261dbe(0x31b))&&_0x3055cc[_0x261dbe(0x1cd)][_0x261dbe(0x315)]('runId',_0x39a0b7[_0x261dbe(0x3a3)](_0x261dbe(0x31b))),_0x3055cc[_0x261dbe(0x181)]();}async[_0x578d62(0x3e0)](){const _0x335955=_0x578d62;var _0x3a5f2f,_0x4cffb5,_0x1de462;const _0x37ebc1=this[_0x335955(0x1d7)][_0x335955(0x193)](u[_0x335955(0x18e)]),_0x2529d0=(_0x3a5f2f=_0x37ebc1==null?void 0x0:_0x37ebc1['wsSessionTicketUrl'])!=null?_0x3a5f2f:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1de462=(_0x4cffb5=(await this[_0x335955(0x35a)][_0x335955(0x3a3)](_0x2529d0,{'headers':{'Content-Type':_0x335955(0x264)}}))['body'])==null?void 0x0:_0x4cffb5['ticket'])!=null?_0x1de462:'';}},exports[_0x578d62(0x1d2)]=cs([W(0x0,a[_0x578d62(0x2c9)](a[_0x578d62(0x1e7)])),W(0x1,a[_0x578d62(0x2c9)](q[_0x578d62(0x353)])),W(0x2,a[_0x578d62(0x2f1)]),W(0x3,a[_0x578d62(0x375)]),W(0x4,m[_0x578d62(0x28a)])],exports[_0x578d62(0x1d2)]);const Le=0x7530,Pe='ACTIVE_UNIT_EVENT_CHANNEL';class ls extends a['Disposable']{constructor(){const _0x281531=_0x578d62;super(),_(this,_0x281531(0x355),a[_0x281531(0x337)]()),_(this,_0x281531(0x248),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x281531(0x259),null),_(this,_0x281531(0x2c7),new Map()),_(this,_0x281531(0x29a),new Map()),this[_0x281531(0x163)]();}[_0x578d62(0x2e9)](){const _0x51e6bf=_0x578d62;super[_0x51e6bf(0x2e9)](),this['_clearOtherTimers']['forEach']((_0x457df8,_0x24b6dd)=>this['_removeClearOtherTimer'](_0x24b6dd)),this[_0x51e6bf(0x259)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x578d62(0x1a0)](_0x4ba19c){const _0x39ed9b=_0x578d62;return this['_ensureSubject'](_0x4ba19c)['pipe'](d[_0x39ed9b(0x196)]());}[_0x578d62(0x33a)](_0x220add){const _0x4a1822=_0x578d62;this[_0x4a1822(0x248)][_0x4a1822(0x26c)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4a1822(0x248)]['add'](_0x220add),this[_0x4a1822(0x209)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x220add],'isForwarded':!0x1});}[_0x578d62(0x2f0)](_0x5a65ac){const _0x2f5ecb=_0x578d62;this[_0x2f5ecb(0x248)][_0x2f5ecb(0x3d6)](_0x5a65ac),this['_selfUnitIDs'][_0x2f5ecb(0x26c)]===0x0&&this['_heartbeatTimer']&&window[_0x2f5ecb(0x30d)](this[_0x2f5ecb(0x259)]);}['_init'](){const _0x980a6c=_0x578d62;this['disposeWithMe'](a['toDisposable'](d[_0x980a6c(0x279)](window,_0x980a6c(0x32e))['subscribe'](_0x552cdd=>{const _0x5b9d62=_0x980a6c;if(_0x552cdd[_0x5b9d62(0x3be)]!==Pe||!_0x552cdd[_0x5b9d62(0x24f)])return;const _0xfb1386=JSON['parse'](_0x552cdd['newValue']);this[_0x5b9d62(0x207)](_0xfb1386);}))),window[_0x980a6c(0x2ce)](_0x980a6c(0x1f0),()=>this[_0x980a6c(0x209)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x980a6c(0x248)])}));}[_0x578d62(0x207)](_0x581003){const _0x2590e8=_0x578d62;switch(_0x581003[_0x2590e8(0x211)]){case 0x0:this['_handleJoinEvent'](_0x581003);break;case 0x1:this[_0x2590e8(0x2c1)](_0x581003);break;case 0x2:this[_0x2590e8(0x397)](_0x581003);break;}}[_0x578d62(0x17a)](_0x228950){const _0x574a5a=_0x578d62,{unitIDs:_0xc6cba7,memberID:_0x793317,isForwarded:_0x34097a}=_0x228950;_0xc6cba7['forEach'](_0x7339de=>{const _0xa734a7=_0xaa00;if(!_0x34097a&&this['_unitOnClients'][_0xa734a7(0x19c)](_0x7339de)&&this[_0xa734a7(0x37c)](_0x7339de)['next'](u[_0xa734a7(0x329)][_0xa734a7(0x214)]),!this['_unitOnClients'][_0xa734a7(0x19c)](_0x7339de)||!this[_0xa734a7(0x1e6)]['get'](_0x7339de)['has'](_0x793317)){const _0x409587=this[_0xa734a7(0x1e6)][_0xa734a7(0x3a3)](_0x7339de)||new Set();_0x409587[_0xa734a7(0x18b)](_0x793317),this[_0xa734a7(0x1e6)][_0xa734a7(0x315)](_0x7339de,_0x409587),this[_0xa734a7(0x292)](_0x793317);}}),_0x34097a||this[_0x574a5a(0x209)]({'type':0x0,'memberID':this[_0x574a5a(0x355)],'unitIDs':[...this[_0x574a5a(0x248)]],'isForwarded':!0x0});}[_0x578d62(0x292)](_0x58eac1){const _0x5e8baf=_0x578d62;this['_removeClearOtherTimer'](_0x58eac1);const _0x249df4=window[_0x5e8baf(0x21f)](()=>{const _0x7367e2=_0x5e8baf;this[_0x7367e2(0x1e6)]['forEach'](_0x38dcb5=>{_0x38dcb5['delete'](_0x58eac1);});},Le*0x2);this['_clearOtherTimers']['set'](_0x58eac1,_0x249df4);}[_0x578d62(0x1ed)](_0x56ba0b){const _0x2080d6=_0x578d62;if(this[_0x2080d6(0x2c7)][_0x2080d6(0x19c)](_0x56ba0b)){const _0x44d846=this['_clearOtherTimers'][_0x2080d6(0x3a3)](_0x56ba0b);_0x44d846&&window[_0x2080d6(0x3a4)](_0x44d846),this[_0x2080d6(0x2c7)][_0x2080d6(0x315)](_0x56ba0b,null);}}[_0x578d62(0x2c1)](_0x1743e0){const _0x4c0f49=_0x578d62,{memberID:_0x526bd2,unitIDs:_0xeaa04b}=_0x1743e0;_0xeaa04b[_0x4c0f49(0x221)](_0x5955d2=>{const _0x586ddd=_0x4c0f49;var _0x34df89;const _0x65b5ca=this[_0x586ddd(0x1e6)][_0x586ddd(0x3a3)](_0x5955d2);_0x65b5ca&&(_0x65b5ca['delete'](_0x526bd2),(_0x34df89=this['_ensureSubject'](_0x5955d2))==null||_0x34df89['next'](_0x65b5ca[_0x586ddd(0x26c)]===0x0?u[_0x586ddd(0x329)][_0x586ddd(0x31a)]:u[_0x586ddd(0x329)][_0x586ddd(0x214)]));}),this[_0x4c0f49(0x1ed)](_0x526bd2);}[_0x578d62(0x397)](_0x323955){const _0x5de044=_0x578d62;this[_0x5de044(0x292)](_0x323955['memberID']);}[_0x578d62(0x209)](_0xb845d9){const _0x5209e0=_0x578d62;localStorage[_0x5209e0(0x344)](Pe,JSON['stringify'](_0xb845d9));}[_0x578d62(0x15a)](){const _0x3fc64c=_0x578d62;this[_0x3fc64c(0x259)]=window[_0x3fc64c(0x180)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},Le);}[_0x578d62(0x37c)](_0x265201){const _0x97809d=_0x578d62;return this['_unitStatus']['has'](_0x265201)||this[_0x97809d(0x29a)]['set'](_0x265201,new d[(_0x97809d(0x316))](u[_0x97809d(0x329)][_0x97809d(0x31a)])),this[_0x97809d(0x29a)][_0x97809d(0x3a3)](_0x265201);}}var ke=(_0x278c6f=>(_0x278c6f[_0x278c6f[_0x578d62(0x34c)]=0x0]=_0x578d62(0x34c),_0x278c6f[_0x278c6f['OK']=0x1]='OK',_0x278c6f[_0x278c6f[_0x578d62(0x2a4)]=0x2]=_0x578d62(0x2a4),_0x278c6f[_0x278c6f[_0x578d62(0x309)]=0x3]='PERMISSION_DENIED',_0x278c6f[_0x278c6f[_0x578d62(0x1e2)]=0x4]=_0x578d62(0x1e2),_0x278c6f[_0x278c6f['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x278c6f[_0x278c6f[_0x578d62(0x15d)]=0x6]=_0x578d62(0x15d),_0x278c6f[_0x278c6f[_0x578d62(0x1ca)]=0x7]=_0x578d62(0x1ca),_0x278c6f[_0x278c6f['TOO_MANY_REQUESTS']=0x8]=_0x578d62(0x1d8),_0x278c6f[_0x278c6f[_0x578d62(0x2fc)]=0x9]='COMPLETION_FINISHED',_0x278c6f[_0x278c6f[_0x578d62(0x3a1)]=0xa]=_0x578d62(0x3a1),_0x278c6f[_0x278c6f['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x578d62(0x3bf),_0x278c6f[_0x278c6f[_0x578d62(0x3a2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x278c6f[_0x278c6f[_0x578d62(0x1bb)]=0x1772]=_0x578d62(0x1bb),_0x278c6f[_0x278c6f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x278c6f[_0x278c6f['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x278c6f[_0x278c6f[_0x578d62(0x162)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x278c6f[_0x278c6f[_0x578d62(0x2a5)]=0x1b5b]=_0x578d62(0x2a5),_0x278c6f[_0x278c6f['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x578d62(0x301),_0x278c6f[_0x278c6f['APPLY_DUPLICATED']=0x1b5d]=_0x578d62(0x376),_0x278c6f[_0x278c6f[_0x578d62(0x1ce)]=0x1f41]=_0x578d62(0x1ce),_0x278c6f[_0x278c6f[_0x578d62(0x20d)]=0x2329]=_0x578d62(0x20d),_0x278c6f[_0x278c6f[_0x578d62(0x22b)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x278c6f[_0x278c6f['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x578d62(0x227),_0x278c6f[_0x278c6f[_0x578d62(0x32b)]=0x232c]=_0x578d62(0x32b),_0x278c6f[_0x278c6f[_0x578d62(0x36d)]=0x232d]=_0x578d62(0x36d),_0x278c6f[_0x278c6f[_0x578d62(0x25a)]=0x2711]=_0x578d62(0x25a),_0x278c6f[_0x278c6f[_0x578d62(0x3c2)]=0x2712]=_0x578d62(0x3c2),_0x278c6f[_0x278c6f[_0x578d62(0x37a)]=0x2713]=_0x578d62(0x37a),_0x278c6f[_0x278c6f[_0x578d62(0x1f4)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x278c6f[_0x278c6f[_0x578d62(0x31c)]=0x271a]=_0x578d62(0x31c),_0x278c6f[_0x278c6f['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x578d62(0x29d),_0x278c6f[_0x278c6f[_0x578d62(0x20b)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x278c6f[_0x278c6f[_0x578d62(0x1a6)]=0x2ee1]=_0x578d62(0x1a6),_0x278c6f[_0x278c6f[_0x578d62(0x249)]=0x2ee2]='INVALID_INVITE_CODE',_0x278c6f[_0x278c6f[_0x578d62(0x1e5)]=0x2ee3]=_0x578d62(0x1e5),_0x278c6f[_0x278c6f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x578d62(0x256),_0x278c6f[_0x278c6f[_0x578d62(0x2e1)]=0x2ee5]=_0x578d62(0x2e1),_0x278c6f[_0x278c6f[_0x578d62(0x271)]=0x32c9]=_0x578d62(0x271),_0x278c6f[_0x278c6f['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x578d62(0x1b5),_0x278c6f[_0x278c6f['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x278c6f[_0x278c6f['UNRECOGNIZED']=-0x1]=_0x578d62(0x245),_0x278c6f))(ke||{}),_s=Object['getOwnPropertyDescriptor'],hs=(_0x2c34bf,_0xd1af4c,_0x181b89,_0x425ed2)=>{const _0x7193ef=_0x578d62;for(var _0xbc16a=_0x425ed2>0x1?void 0x0:_0x425ed2?_s(_0xd1af4c,_0x181b89):_0xd1af4c,_0x2fea7c=_0x2c34bf[_0x7193ef(0x2e5)]-0x1,_0x16ef99;_0x2fea7c>=0x0;_0x2fea7c--)(_0x16ef99=_0x2c34bf[_0x2fea7c])&&(_0xbc16a=_0x16ef99(_0xbc16a)||_0xbc16a);return _0xbc16a;},de=(_0x478520,_0x1b8ec7)=>(_0x3891aa,_0x5ac549)=>_0x1b8ec7(_0x3891aa,_0x5ac549,_0x478520);exports[_0x578d62(0x18a)]=class extends a[_0x578d62(0x2f6)]{constructor(_0x35454f,_0x4b0c0a,_0x12b698){const _0x464493=_0x578d62;super(),this[_0x464493(0x241)]=_0x35454f,this[_0x464493(0x35a)]=_0x4b0c0a,this['_configService']=_0x12b698;}async[_0x578d62(0x160)](_0x21aa33,_0x5ac861,_0x2dd156,..._0x3d939c){const _0x4df7c7=_0x578d62;var _0x35ac61,_0x3c7266,_0x30ea47,_0xf1aeed;const _0x2d9d31=this[_0x4df7c7(0x241)]['getFocusedUnit']();if(!_0x2d9d31)throw new Error(_0x4df7c7(0x19f));const _0x4c69cb=((_0x35ac61=this['_configService'][_0x4df7c7(0x193)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x35ac61:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x21aa33+_0x4df7c7(0x3ab)+_0x5ac861,_0x4d6570=new URL(window[_0x4df7c7(0x1fd)]['href']),_0x564691={'scriptId':_0x21aa33,'runId':(_0x3c7266=_0x4d6570[_0x4df7c7(0x1cd)][_0x4df7c7(0x3a3)](_0x4df7c7(0x31b)))!=null?_0x3c7266:'','function':_0x5ac861,'unitId':_0x2d9d31[_0x4df7c7(0x1a4)](),'argsOfFunction':JSON[_0x4df7c7(0x192)](_0x3d939c),'invokeId':(_0x30ea47=_0x2dd156[_0x4df7c7(0x37e)])!=null?_0x30ea47:'','executionId':(_0xf1aeed=_0x2dd156['executionId'])!=null?_0xf1aeed:''};try{const _0x1252e6=await this[_0x4df7c7(0x35a)]['post'](_0x4c69cb,{'body':_0x564691});return _0x1252e6[_0x4df7c7(0x2a7)]['error']&&_0x1252e6[_0x4df7c7(0x2a7)][_0x4df7c7(0x1c5)][_0x4df7c7(0x19b)]!==ke['OK']?'Failed':_0x1252e6[_0x4df7c7(0x2a7)][_0x4df7c7(0x299)];}catch{return _0x4df7c7(0x2de);}}},exports[_0x578d62(0x18a)]=hs([de(0x0,a[_0x578d62(0x224)]),de(0x1,a[_0x578d62(0x2c9)](q[_0x578d62(0x353)])),de(0x2,a[_0x578d62(0x2f1)])],exports[_0x578d62(0x18a)]),exports[_0x578d62(0x3ba)]=je,exports[_0x578d62(0x1a1)]=Ee,exports[_0x578d62(0x197)]=Ae,exports[_0x578d62(0x2fa)]=ls,exports[_0x578d62(0x1c6)]=Be;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x1caa(_0x85fb30,_0x5798fb){const _0x24ef07=_0x24ef();return _0x1caa=function(_0x1caa72,_0x18920a){_0x1caa72=_0x1caa72-0x108;let _0x5c5737=_0x24ef07[_0x1caa72];return _0x5c5737;},_0x1caa(_0x85fb30,_0x5798fb);}const _0x40ada3=_0x1caa;function _0x24ef(){const _0x4681a2=['Synced','7JhKiRM','6711670TxgJVc','Authentication\x20Error','141016xxGEFL','1zkLaiG','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','50tRKBOw','Connection\x20failed,\x20please\x20check\x20your\x20network.','865989jdVhoW','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','1003386divhPW','8885404PdKeao','2204778isOzjo','612812CrhzIJ','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','8eaYRPh','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','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.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x24ef=function(){return _0x4681a2;};return _0x24ef();}(function(_0x48f0ff,_0x5c1841){const _0xf828b1=_0x1caa,_0x1158b2=_0x48f0ff();while(!![]){try{const _0x599e06=parseInt(_0xf828b1(0x111))/0x1*(parseInt(_0xf828b1(0x11d))/0x2)+-parseInt(_0xf828b1(0x11a))/0x3+parseInt(_0xf828b1(0x110))/0x4*(-parseInt(_0xf828b1(0x113))/0x5)+parseInt(_0xf828b1(0x11c))/0x6*(-parseInt(_0xf828b1(0x10d))/0x7)+parseInt(_0xf828b1(0x11f))/0x8*(-parseInt(_0xf828b1(0x115))/0x9)+parseInt(_0xf828b1(0x10e))/0xa+parseInt(_0xf828b1(0x11b))/0xb;if(_0x599e06===_0x5c1841)break;else _0x1158b2['push'](_0x1158b2['shift']());}catch(_0x15bab3){_0x1158b2['push'](_0x1158b2['shift']());}}}(_0x24ef,0x9af1b));const e={'collab-client':{'tooltip':{'reconnect':_0x40ada3(0x119)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x40ada3(0x10c),'syncing':_0x40ada3(0x116),'offline':_0x40ada3(0x11e)},'session':{'connection-failed':_0x40ada3(0x114),'will-retry':_0x40ada3(0x120),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x40ada3(0x118)},'conflict':{'title':_0x40ada3(0x109),'content':_0x40ada3(0x10a)},'permission':{'title':_0x40ada3(0x10f),'content':_0x40ada3(0x10b)},'collaboration':{'single-unit':{'warning':_0x40ada3(0x117)},'closeRoom':_0x40ada3(0x112)},'auth':{'needGotoLoginAlert':_0x40ada3(0x108)}};module['exports']=e;
|