@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506041607 → 0.8.0-nightly.202506061607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1e48d4,_0x769121){const _0x4fbafe=_0x5307,_0x385612=_0x1e48d4();while(!![]){try{const _0x7a531a=-parseInt(_0x4fbafe(0x1a2))/0x1*(-parseInt(_0x4fbafe(0x2e0))/0x2)+-parseInt(_0x4fbafe(0x1bd))/0x3*(parseInt(_0x4fbafe(0x1dd))/0x4)+-parseInt(_0x4fbafe(0x405))/0x5*(-parseInt(_0x4fbafe(0x198))/0x6)+-parseInt(_0x4fbafe(0x368))/0x7+parseInt(_0x4fbafe(0x21e))/0x8+parseInt(_0x4fbafe(0x3d1))/0x9*(-parseInt(_0x4fbafe(0x35b))/0xa)+-parseInt(_0x4fbafe(0x2fd))/0xb*(-parseInt(_0x4fbafe(0x175))/0xc);if(_0x7a531a===_0x769121)break;else _0x385612['push'](_0x385612['shift']());}catch(_0x4d9a0e){_0x385612['push'](_0x385612['shift']());}}}(_0x5e8b,0x88faa),function(_0x1e046b,_0x3c5621){const _0x375659=_0x5307;typeof exports==_0x375659(0x3a2)&&typeof module<'u'?_0x3c5621(exports,require(_0x375659(0x35f)),require(_0x375659(0x3f7)),require(_0x375659(0x25f)),require(_0x375659(0x236)),require(_0x375659(0x24c)),require(_0x375659(0x39e)),require(_0x375659(0x3bf)),require('@univerjs/docs'),require(_0x375659(0x1b2)),require(_0x375659(0x165)),require(_0x375659(0x1bb)),require(_0x375659(0x21b)),require(_0x375659(0x38a)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x375659(0x271)),require(_0x375659(0x16d)),require(_0x375659(0x395))):typeof define==_0x375659(0x313)&&define['amd']?define(['exports',_0x375659(0x35f),_0x375659(0x3f7),_0x375659(0x25f),_0x375659(0x236),_0x375659(0x24c),_0x375659(0x39e),_0x375659(0x3bf),'@univerjs/docs',_0x375659(0x1b2),_0x375659(0x165),_0x375659(0x1bb),_0x375659(0x21b),'@univerjs/sheets-ui','react/jsx-runtime',_0x375659(0x18c),_0x375659(0x271),'react',_0x375659(0x395)],_0x3c5621):(_0x1e046b=typeof globalThis<'u'?globalThis:_0x1e046b||self,_0x3c5621(_0x1e046b['UniverProCollaborationClientUi']={},_0x1e046b['UniverProCollaborationClient'],_0x1e046b[_0x375659(0x2b5)],_0x1e046b[_0x375659(0x30a)],_0x1e046b[_0x375659(0x22c)],_0x1e046b[_0x375659(0x356)],_0x1e046b['UniverDrawing'],_0x1e046b['rxjs'],_0x1e046b[_0x375659(0x2ce)],_0x1e046b[_0x375659(0x19e)],_0x1e046b[_0x375659(0x401)],_0x1e046b[_0x375659(0x2de)],_0x1e046b[_0x375659(0x3bf)]['operators'],_0x1e046b[_0x375659(0x332)],_0x1e046b['React'],_0x1e046b['UniverUi'],_0x1e046b['UniverDesign'],_0x1e046b[_0x375659(0x360)],_0x1e046b[_0x375659(0x3a5)]));}(this,function(_0x4249ec,_0x494363,_0x2c7269,_0x592bb1,_0x1cbe98,_0x1004b1,_0x5d030c,_0x59059a,_0x413a2a,_0x2f42e3,_0x2f1db8,_0x5cfe1c,_0x2b7df1,_0x4a5757,_0x19bcf8,_0x4ccf9e,_0x31d647,_0x288c05,_0x27b1a0){'use strict';const _0xbc5e4e=_0x5307;var _0x2d6e06=Object[_0xbc5e4e(0x3cb)],_0x491184=(_0x48a87c,_0x50e354,_0x4ca4ee)=>_0x50e354 in _0x48a87c?_0x2d6e06(_0x48a87c,_0x50e354,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ca4ee}):_0x48a87c[_0x50e354]=_0x4ca4ee,_0x4cb7e1=(_0x5a4898,_0x2bbc65,_0x24ea09)=>_0x491184(_0x5a4898,typeof _0x2bbc65!='symbol'?_0x2bbc65+'':_0x2bbc65,_0x24ea09),_0x3c7c96=Object[_0xbc5e4e(0x23c)],_0x39860f=(_0x1abd14,_0x1e55a0,_0x415794,_0x395d37)=>{const _0x1beb5c=_0xbc5e4e;for(var _0x497bc1=_0x395d37>0x1?void 0x0:_0x395d37?_0x3c7c96(_0x1e55a0,_0x415794):_0x1e55a0,_0x9b72e8=_0x1abd14[_0x1beb5c(0x299)]-0x1,_0x4521d0;_0x9b72e8>=0x0;_0x9b72e8--)(_0x4521d0=_0x1abd14[_0x9b72e8])&&(_0x497bc1=_0x4521d0(_0x497bc1)||_0x497bc1);return _0x497bc1;},_0x1fd8b5=(_0x2409ae,_0x2276c9)=>(_0x277f32,_0x24b351)=>_0x2276c9(_0x277f32,_0x24b351,_0x2409ae);let _0x3b7306=class extends _0x2c7269[_0xbc5e4e(0x391)]{constructor(_0x3814c8,_0x54d48b){const _0x71c0b3=_0xbc5e4e;super(),this[_0x71c0b3(0x19c)]=_0x3814c8,this['_imageIoService']=_0x54d48b,this[_0x71c0b3(0x2dc)]();}['_init'](){const _0x48c516=_0xbc5e4e,_0x5a7e4f=this;this['disposeWithMe'](this['_docClipboardService'][_0x48c516(0x1fa)]({'onBeforePasteImage':async _0x429082=>{const _0x2cb8d2=_0x48c516,_0x10bdde=await _0x5a7e4f[_0x2cb8d2(0x33d)][_0x2cb8d2(0x188)](_0x429082);return _0x10bdde?{'source':_0x10bdde[_0x2cb8d2(0x180)],'imageSourceType':_0x10bdde[_0x2cb8d2(0x20b)]}:null;}}));}};_0x3b7306=_0x39860f([_0x1fd8b5(0x0,_0x1004b1[_0xbc5e4e(0x2d2)]),_0x1fd8b5(0x1,_0x5d030c[_0xbc5e4e(0x330)])],_0x3b7306);const _0x1eae87=[_0xbc5e4e(0x323),_0xbc5e4e(0x179),_0xbc5e4e(0x19b),'red.300',_0xbc5e4e(0x20d),_0xbc5e4e(0x366)];class _0x5cc52d extends _0x2c7269[_0xbc5e4e(0x285)]{constructor(){const _0x1b715e=_0xbc5e4e;super(...arguments),_0x4cb7e1(this,_0x1b715e(0x241),new Map()),_0x4cb7e1(this,_0x1b715e(0x357),0x0);}[_0xbc5e4e(0x232)](_0x163aaf){const _0x2789fa=_0xbc5e4e;if(this[_0x2789fa(0x241)][_0x2789fa(0x284)](_0x163aaf))return this[_0x2789fa(0x241)][_0x2789fa(0x2bd)](_0x163aaf);const _0x4f24fb=_0x1eae87[this[_0x2789fa(0x357)]];return this[_0x2789fa(0x357)]=(this['_colorIndex']+0x1)%_0x1eae87[_0x2789fa(0x299)],this[_0x2789fa(0x241)][_0x2789fa(0x35c)](_0x163aaf,_0x4f24fb),_0x4f24fb;}}function _0x229ec4(_0xffd66c){const _0x7bddee=_0xbc5e4e;let _0x1676eb='';for(const _0x5da9d0 of _0xffd66c){const {startOffset:_0x2dd7ef,endOffset:_0x47d50f,isActive:_0x1582d3,rangeType:_0x60085e,segmentId:_0x504766,segmentPage:_0x11e02c}=_0x5da9d0;_0x1676eb[_0x7bddee(0x299)]&&(_0x1676eb+=','),_0x1676eb+=_0x2dd7ef+':'+_0x47d50f+':'+(_0x1582d3?'1':'0')+':'+_0x60085e+':'+_0x504766+':'+_0x11e02c;}return _0x1676eb;}function _0xf29907(_0x3152d0){const _0x321a75=_0xbc5e4e,_0x10bda9=_0x3152d0[_0x321a75(0x27f)](','),_0x335df3=[];for(const _0x3e6263 of _0x10bda9){const [_0x38a56b,_0x3a5ac8,_0x5224c7,_0x14adb8,_0x5ab0ea,_0x64c89c]=_0x3e6263[_0x321a75(0x27f)](':');_0x335df3[_0x321a75(0x371)]({'startOffset':Number(_0x38a56b),'endOffset':Number(_0x3a5ac8),'collapsed':_0x38a56b===_0x3a5ac8,'isActive':_0x5224c7==='1','rangeType':_0x14adb8===_0x2c7269['DOC_RANGE_TYPE']['TEXT']?_0x2c7269[_0x321a75(0x3c9)][_0x321a75(0x25e)]:_0x2c7269[_0x321a75(0x3c9)]['RECT'],'segmentId':typeof _0x5ab0ea==_0x321a75(0x354)?String(_0x5ab0ea):'','segmentPage':Number(_0x64c89c!=null?_0x64c89c:-0x1)});}return _0x335df3['some'](_0x71a967=>_0x71a967[_0x321a75(0x3f3)])||(_0x335df3[0x0][_0x321a75(0x3f3)]=!0x0),_0x335df3;}class _0x44a566 extends _0x2c7269[_0xbc5e4e(0x391)]{constructor(){const _0x15779d=_0xbc5e4e;super(...arguments),_0x4cb7e1(this,'_collabCursorState$',new _0x59059a['BehaviorSubject'](null)),_0x4cb7e1(this,_0x15779d(0x343),this['_collabCursorState$']['asObservable']());}[_0xbc5e4e(0x34b)](_0x5aa662){const _0x37d477=_0xbc5e4e,{unitID:_0x1c4f31,memberID:_0x31584b,textRanges:_0x228eb9}=_0x5aa662,_0x445c26=_0x229ec4(_0x228eb9);if(_0x445c26==='')return;const _0x47d644={'unitID':_0x1c4f31,'memberID':_0x31584b,'selection':_0x445c26};this[_0x37d477(0x2b7)][_0x37d477(0x33e)](_0x47d644);}}var _0x4f5b24=Object['getOwnPropertyDescriptor'],_0x53fef2=(_0x15096f,_0x1085b0,_0x25027c,_0x7e9c38)=>{for(var _0x47163a=_0x7e9c38>0x1?void 0x0:_0x7e9c38?_0x4f5b24(_0x1085b0,_0x25027c):_0x1085b0,_0x10e9a2=_0x15096f['length']-0x1,_0x4bd787;_0x10e9a2>=0x0;_0x10e9a2--)(_0x4bd787=_0x15096f[_0x10e9a2])&&(_0x47163a=_0x4bd787(_0x47163a)||_0x47163a);return _0x47163a;},_0x36adfc=(_0x13efa0,_0x4120b7)=>(_0x294ca1,_0x1a9e79)=>_0x4120b7(_0x294ca1,_0x1a9e79,_0x13efa0);const _0x48737f=0x12c,_0x315c20=0x64;let _0x4c90c5=class extends _0x2c7269['RxDisposable']{constructor(_0x4a6100,_0x2642a9,_0x3a35a7,_0x4c55cb,_0x4f312d,_0x4883d0,_0xc3f79,_0x11623a,_0x43360f){const _0xc1bf19=_0xbc5e4e;super(),_0x4cb7e1(this,_0xc1bf19(0x19a),!0x1),_0x4cb7e1(this,'_init',!0x1),_0x4cb7e1(this,_0xc1bf19(0x185),new _0x59059a[(_0xc1bf19(0x2fb))](new Map())),_0x4cb7e1(this,_0xc1bf19(0x252),this[_0xc1bf19(0x185)][_0xc1bf19(0x338)]()),_0x4cb7e1(this,_0xc1bf19(0x201),new _0x59059a[(_0xc1bf19(0x2fb))]([])),_0x4cb7e1(this,_0xc1bf19(0x249),this['_roomMembers$'][_0xc1bf19(0x253)](_0x59059a['debounceTime'](_0x48737f))),_0x4cb7e1(this,_0xc1bf19(0x25d),_0x2c7269[_0xc1bf19(0x2f8)](_0x6c29ae=>{const _0x29445e=_0xc1bf19,_0x427e6a={'eventID':_0x2f42e3[_0x29445e(0x398)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x29445e(0x379)],'memberID':this[_0x29445e(0x1bc)]['getMemberID'](),'selection':_0x229ec4(_0x6c29ae)}};this[_0x29445e(0x1bc)]['send'](_0x427e6a,this['unitID']);},_0x315c20)),(this['unitID']=_0x4a6100,this[_0xc1bf19(0x1bc)]=_0x2642a9,this['_injector']=_0x3a35a7,this[_0xc1bf19(0x214)]=_0x4c55cb,this[_0xc1bf19(0x321)]=_0x4f312d,this['_syncEditingCollabCursorService']=_0x4883d0,this['_transformService']=_0xc3f79,this['_univerInstanceService']=_0x11623a,this[_0xc1bf19(0x272)]=_0x43360f);}get[_0xbc5e4e(0x1ec)](){const _0x253e3b=_0xbc5e4e;return this[_0x253e3b(0x185)]['getValue']();}get['roomMembers'](){const _0x1477a3=_0xbc5e4e;return this['_roomMembers$'][_0x1477a3(0x294)]();}[_0xbc5e4e(0x257)](){const _0x236aaa=_0xbc5e4e;super[_0x236aaa(0x257)](),this['_cursorInfo$']['next'](new Map()),this[_0x236aaa(0x185)]['complete'](),this['_roomMembers$']['next']([]),this[_0x236aaa(0x201)][_0x236aaa(0x295)]();}[_0xbc5e4e(0x1f7)](){const _0xd61f2c=_0xbc5e4e;this[_0xd61f2c(0x2dc)]||(this[_0xd61f2c(0x2dc)]=!0x0,this[_0xd61f2c(0x1bc)][_0xd61f2c(0x3b7)][_0xd61f2c(0x253)](_0x59059a[_0xd61f2c(0x39d)](this[_0xd61f2c(0x254)]))['subscribe'](_0x264fa5=>{const _0x588d49=_0xd61f2c;_0x264fa5===_0x494363['SessionStatus'][_0x588d49(0x3f2)]?this[_0x588d49(0x2da)]():this[_0x588d49(0x209)]();}),this[_0xd61f2c(0x1bc)][_0xd61f2c(0x32c)][_0xd61f2c(0x253)](_0x59059a[_0xd61f2c(0x39d)](this[_0xd61f2c(0x254)]))[_0xd61f2c(0x20f)](_0xc1c99c=>{const _0x5698a2=_0xd61f2c,_0xfa2c3d=_0xc1c99c[_0x5698a2(0x2ba)];_0xfa2c3d===_0x2f42e3[_0x5698a2(0x398)][_0x5698a2(0x1a9)]&&this[_0x5698a2(0x1fb)](_0xc1c99c),_0xfa2c3d===_0x2f42e3[_0x5698a2(0x398)][_0x5698a2(0x213)]&&this['_onCursorDelete'](_0xc1c99c);}),this[_0xd61f2c(0x1e1)](this[_0xd61f2c(0x272)][_0xd61f2c(0x2c1)](_0x288c43=>{const _0x4c0508=_0xd61f2c,_0x41d8ac=_0x288c43[_0x4c0508(0x35a)];_0x41d8ac!=null&&this[_0x4c0508(0x19a)]&&_0x288c43['id']===_0x413a2a[_0x4c0508(0x31b)]['id']&&_0x41d8ac[_0x4c0508(0x34d)]===this[_0x4c0508(0x379)]&&_0x41d8ac[_0x4c0508(0x183)]===!0x1&&_0x41d8ac[_0x4c0508(0x287)]['length']>0x0&&this['_updateLocalCursor'](_0x41d8ac['ranges']);})),this['_syncEditingCollabCursorService'][_0xd61f2c(0x343)][_0xd61f2c(0x253)](_0x59059a[_0xd61f2c(0x39d)](this[_0xd61f2c(0x254)]))[_0xd61f2c(0x20f)](_0x186f90=>{const _0x3ad6ed=_0xd61f2c;if((_0x186f90==null?void 0x0:_0x186f90[_0x3ad6ed(0x379)])!==this[_0x3ad6ed(0x379)])return;const _0x6e5ec7={'eventID':_0x2f42e3[_0x3ad6ed(0x398)][_0x3ad6ed(0x1a9)],'data':_0x186f90};this[_0x3ad6ed(0x1fb)](_0x6e5ec7);}),this[_0xd61f2c(0x1e1)](this[_0xd61f2c(0x272)][_0xd61f2c(0x2c1)](_0x3a34b2=>{const _0x2448ad=_0xd61f2c;if(_0x3a34b2[_0x2448ad(0x35a)]==null)return;const _0x3e089d=_0x3a34b2[_0x2448ad(0x35a)];if(_0x3a34b2['id']!==_0x413a2a[_0x2448ad(0x230)]['id']||_0x3e089d[_0x2448ad(0x34d)]!==this[_0x2448ad(0x379)])return;const _0x39645c={'id':_0x2448ad(0x310),'params':_0x3e089d},_0x57fa0c=this[_0x2448ad(0x1ec)];for(const [_0xa0a690,_0x5a1335]of _0x57fa0c){const _0x498767={'id':_0x2448ad(0x310),'params':{'unitId':this[_0x2448ad(0x379)],'actions':null,'textRanges':_0x5a1335[_0x2448ad(0x287)]}},_0x2cc654=this[_0x2448ad(0x374)][_0x2448ad(0x3c2)](_0x39645c,_0x498767,!0x1);if(_0x2f42e3[_0x2448ad(0x3c6)](_0x2cc654))throw _0x2cc654[_0x2448ad(0x3bc)];_0x57fa0c[_0x2448ad(0x35c)](_0xa0a690,{..._0x5a1335,'ranges':_0x2cc654[_0x2448ad(0x1a8)]['params'][_0x2448ad(0x20c)]});}queueMicrotask(()=>{const _0x26b9fb=_0x2448ad;this[_0x26b9fb(0x185)][_0x26b9fb(0x33e)](_0x57fa0c);});})));}[_0xbc5e4e(0x1fb)](_0x2190d0){const _0x469454=_0xbc5e4e;var _0x5b1a36,_0x214468;const {memberID:_0xcf4885,selection:_0x4903cd}=_0x2190d0[_0x469454(0x2a1)],_0x410a3b=_0xf29907(_0x4903cd),_0x453b31=(_0x214468=(_0x5b1a36=this[_0x469454(0x321)][_0x469454(0x355)](this[_0x469454(0x379)],_0xcf4885))==null?void 0x0:_0x5b1a36[_0x469454(0x258)])!=null?_0x214468:_0x469454(0x1fe),_0x4887ca={'color':this[_0x469454(0x214)][_0x469454(0x232)](_0xcf4885),'name':_0x453b31,'ranges':_0x410a3b},_0x25791f=this[_0x469454(0x1ec)];_0x25791f[_0x469454(0x35c)](_0xcf4885,_0x4887ca),this[_0x469454(0x185)]['next'](_0x25791f);}['_onCursorDelete'](_0x625caa){const _0x597002=_0xbc5e4e,{memberID:_0x158f9e}=_0x625caa[_0x597002(0x2a1)],_0x2b2d94=this[_0x597002(0x1ec)];_0x2b2d94['delete'](_0x158f9e),this['_cursorInfo$'][_0x597002(0x33e)](_0x2b2d94);}['_toggleOnline'](){const _0x34a508=_0xbc5e4e;var _0x1a1840;if(this[_0x34a508(0x19a)]=!0x0,((_0x1a1840=this['_univerInstanceService'][_0x34a508(0x316)]())==null?void 0x0:_0x1a1840[_0x34a508(0x1b5)]())!==this[_0x34a508(0x379)])return;const _0x337024=this[_0x34a508(0x226)][_0x34a508(0x2bd)](_0x413a2a[_0x34a508(0x170)])[_0x34a508(0x319)]();Array['isArray'](_0x337024)&&_0x337024[_0x34a508(0x299)]>0x0&&this['_updateLocalCursor'](_0x337024);}[_0xbc5e4e(0x209)](){const _0x5b4cc4=_0xbc5e4e;this[_0x5b4cc4(0x19a)]=!0x1;}};_0x4c90c5=_0x53fef2([_0x36adfc(0x2,_0x2c7269['Inject'](_0x2c7269[_0xbc5e4e(0x3d6)])),_0x36adfc(0x3,_0x2c7269[_0xbc5e4e(0x344)](_0x5cc52d)),_0x36adfc(0x4,_0x2c7269[_0xbc5e4e(0x344)](_0x494363[_0xbc5e4e(0x1b9)])),_0x36adfc(0x5,_0x2c7269[_0xbc5e4e(0x344)](_0x44a566)),_0x36adfc(0x6,_0x2f42e3[_0xbc5e4e(0x21a)]),_0x36adfc(0x7,_0x2c7269['IUniverInstanceService']),_0x36adfc(0x8,_0x2c7269['ICommandService'])],_0x4c90c5);var _0x27dd89=Object['getOwnPropertyDescriptor'],_0x2405bf=(_0x4dc60d,_0x5b982c,_0x62d872,_0x156440)=>{for(var _0x4ebeae=_0x156440>0x1?void 0x0:_0x156440?_0x27dd89(_0x5b982c,_0x62d872):_0x5b982c,_0xcaf2bc=_0x4dc60d['length']-0x1,_0x27279;_0xcaf2bc>=0x0;_0xcaf2bc--)(_0x27279=_0x4dc60d[_0xcaf2bc])&&(_0x4ebeae=_0x27279(_0x4ebeae)||_0x4ebeae);return _0x4ebeae;},_0x2f3e19=(_0x1da721,_0x30de45)=>(_0x3fe8c8,_0x2585ba)=>_0x30de45(_0x3fe8c8,_0x2585ba,_0x1da721);const _0x37e8b6=0x12c,_0x156100=0x64,_0x34497c=()=>{let _0x4f3679=[],_0x1cf8f3=!0x1;return _0xa0497b=>{const _0xf2987e=_0x5307;_0x4f3679[_0xf2987e(0x371)](_0xa0497b),_0x1cf8f3||(_0x1cf8f3=!0x0,setTimeout(()=>{const _0x32607f=_0xf2987e;_0x4f3679[_0x32607f(0x31c)](_0x8bb694=>_0x8bb694()),_0x4f3679=[],_0x1cf8f3=!0x1;}));};};let _0x3e1196=class extends _0x2c7269['RxDisposable']{constructor(_0x190d3f,_0x2d0dc4,_0x27ffde,_0x21f0d2,_0x9fe69a,_0xa315b9,_0x268f60,_0x39c06a){const _0x405d7c=_0xbc5e4e;super(),_0x4cb7e1(this,_0x405d7c(0x19a),!0x1),_0x4cb7e1(this,'_init',!0x1),_0x4cb7e1(this,_0x405d7c(0x185),new _0x59059a[(_0x405d7c(0x2fb))](new Map())),_0x4cb7e1(this,'cursorInfo$',this['_cursorInfo$'][_0x405d7c(0x338)]()),_0x4cb7e1(this,_0x405d7c(0x201),new _0x59059a[(_0x405d7c(0x2fb))]([])),_0x4cb7e1(this,_0x405d7c(0x249),this['_roomMembers$'][_0x405d7c(0x253)](_0x59059a[_0x405d7c(0x2df)](_0x37e8b6))),_0x4cb7e1(this,_0x405d7c(0x25d),_0x2c7269[_0x405d7c(0x2f8)]((_0x8c1615,_0x5918aa)=>{const _0x4a0fa7=_0x405d7c,_0x45a608={'eventID':_0x2f42e3[_0x4a0fa7(0x398)][_0x4a0fa7(0x1a9)],'data':{'unitID':this[_0x4a0fa7(0x379)],'memberID':this[_0x4a0fa7(0x1bc)][_0x4a0fa7(0x1da)](),'selection':_0x2f1db8['serializeRangeWithSheet'](_0x8c1615,_0x5918aa[_0x4a0fa7(0x3cd)])}};this[_0x4a0fa7(0x1bc)][_0x4a0fa7(0x16f)](_0x45a608,this[_0x4a0fa7(0x379)]);},_0x156100)),(this[_0x405d7c(0x379)]=_0x190d3f,this[_0x405d7c(0x1bc)]=_0x2d0dc4,this['_injector']=_0x27ffde,this[_0x405d7c(0x214)]=_0x21f0d2,this[_0x405d7c(0x321)]=_0x9fe69a,this[_0x405d7c(0x1ee)]=_0xa315b9,this[_0x405d7c(0x272)]=_0x268f60,this[_0x405d7c(0x2d1)]=_0x39c06a);}get[_0xbc5e4e(0x1ec)](){const _0x4314dc=_0xbc5e4e;return this['_cursorInfo$'][_0x4314dc(0x294)]();}get[_0xbc5e4e(0x1d3)](){const _0x3d5671=_0xbc5e4e;return this[_0x3d5671(0x201)][_0x3d5671(0x294)]();}[_0xbc5e4e(0x257)](){const _0x58952a=_0xbc5e4e;super[_0x58952a(0x257)](),this[_0x58952a(0x185)][_0x58952a(0x33e)](new Map()),this[_0x58952a(0x185)][_0x58952a(0x295)](),this[_0x58952a(0x201)][_0x58952a(0x33e)]([]),this[_0x58952a(0x201)][_0x58952a(0x295)]();}[_0xbc5e4e(0x1f7)](){const _0x1b3d8d=_0xbc5e4e;this[_0x1b3d8d(0x2dc)]||(this[_0x1b3d8d(0x2dc)]=!0x0,this[_0x1b3d8d(0x1bc)][_0x1b3d8d(0x3b7)][_0x1b3d8d(0x253)](_0x59059a['takeUntil'](this[_0x1b3d8d(0x254)]))[_0x1b3d8d(0x20f)](_0x3907af=>{const _0x4b2b03=_0x1b3d8d;_0x3907af===_0x494363['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x4b2b03(0x209)]();}),this['_session']['event$'][_0x1b3d8d(0x253)](_0x59059a[_0x1b3d8d(0x39d)](this['dispose$']))['subscribe'](_0x21932a=>{const _0x37bbf0=_0x1b3d8d,_0x168cd5=_0x21932a['eventID'];_0x168cd5===_0x2f42e3[_0x37bbf0(0x398)][_0x37bbf0(0x1a9)]&&this[_0x37bbf0(0x1fb)](_0x21932a),_0x168cd5===_0x2f42e3[_0x37bbf0(0x398)][_0x37bbf0(0x213)]&&this[_0x37bbf0(0x27b)](_0x21932a);}),this[_0x1b3d8d(0x392)](),this[_0x1b3d8d(0x1e1)](this[_0x1b3d8d(0x272)][_0x1b3d8d(0x2c1)](_0x528f60=>{const _0x42d9dc=_0x1b3d8d;if(this[_0x42d9dc(0x19a)]&&_0x528f60['id']===_0x5cfe1c[_0x42d9dc(0x3a3)]['id']&&_0x528f60[_0x42d9dc(0x35a)]['unitId']===this[_0x42d9dc(0x379)]){const _0x273d2e=_0x528f60[_0x42d9dc(0x35a)];this[_0x42d9dc(0x25d)](_0x273d2e['subUnitId'],_0x273d2e[_0x42d9dc(0x336)][0x0]);}})));}[_0xbc5e4e(0x1fb)](_0x55961b){const _0x48db59=_0xbc5e4e;var _0x504e87,_0x3608de;const {memberID:_0x1308cf,selection:_0x3992e2}=_0x55961b[_0x48db59(0x2a1)],{sheetName:_0x429142,range:_0xd4ac21}=_0x2f1db8['deserializeRangeWithSheet'](_0x3992e2),_0x1bcb19={'name':(_0x3608de=(_0x504e87=this[_0x48db59(0x321)][_0x48db59(0x355)](this[_0x48db59(0x379)],_0x1308cf))==null?void 0x0:_0x504e87[_0x48db59(0x258)])!=null?_0x3608de:_0x48db59(0x1fe),'range':this[_0x48db59(0x1a1)](_0x429142,_0xd4ac21),'sheetID':_0x429142,'color':this[_0x48db59(0x214)][_0x48db59(0x232)](_0x1308cf),'selection':_0x3992e2},_0x3e0ac7=this['cursorInfo'];_0x3e0ac7['set'](_0x1308cf,_0x1bcb19),this['_cursorInfo$']['next'](_0x3e0ac7);}['_onCursorDelete'](_0x126426){const _0x5c1aab=_0xbc5e4e,{memberID:_0x5bb5e5}=_0x126426[_0x5c1aab(0x2a1)],_0x3659a0=this[_0x5c1aab(0x1ec)];_0x3659a0['delete'](_0x5bb5e5),this[_0x5c1aab(0x185)][_0x5c1aab(0x33e)](_0x3659a0);}[_0xbc5e4e(0x1a1)](_0x53ec48,_0x5e5070){const _0x4e793c=_0xbc5e4e;var _0x1cdb5b,_0x48ff45;const _0x1b139a=(_0x48ff45=(_0x1cdb5b=this[_0x4e793c(0x1ee)][_0x4e793c(0x333)](this[_0x4e793c(0x379)]))==null?void 0x0:_0x1cdb5b[_0x4e793c(0x2b6)](_0x53ec48))==null?void 0x0:_0x48ff45[_0x4e793c(0x3d3)]();return(_0x1b139a==null?void 0x0:_0x1b139a[_0x4e793c(0x25c)](_0x56d045=>_0x2c7269[_0x4e793c(0x2ac)][_0x4e793c(0x3ad)](_0x56d045,_0x5e5070)))||_0x5e5070;}[_0xbc5e4e(0x392)](){const _0x5cee14=_0xbc5e4e,_0x93e855=new _0x2c7269[(_0x5cee14(0x40b))](),_0x3955f8=_0x34497c(),_0x987db0=()=>{_0x93e855['dispose']();const _0x15e3e4=(_0x1c59a5,_0x3707c3,_0x479066,_0x2d2882)=>{const _0x21d816=_0x5307;let _0x477a8e=[];switch(_0x1c59a5['id']){case _0x5cfe1c['EffectRefRangId'][_0x21d816(0x33a)]:{_0x477a8e=_0x5cfe1c[_0x21d816(0x3b2)](_0x1c59a5,_0x2d2882);break;}case _0x5cfe1c['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x477a8e=_0x5cfe1c[_0x21d816(0x2a0)](_0x1c59a5,_0x2d2882);break;}case _0x5cfe1c[_0x21d816(0x26a)][_0x21d816(0x393)]:{_0x477a8e=_0x5cfe1c[_0x21d816(0x306)](_0x1c59a5,_0x2d2882);break;}case _0x5cfe1c[_0x21d816(0x26a)]['InsertRangeMoveDownCommandId']:{_0x477a8e=_0x5cfe1c[_0x21d816(0x259)](_0x1c59a5,_0x2d2882);break;}case _0x5cfe1c[_0x21d816(0x26a)][_0x21d816(0x386)]:{_0x477a8e=_0x5cfe1c[_0x21d816(0x1a7)](_0x1c59a5,_0x2d2882);break;}case _0x5cfe1c[_0x21d816(0x26a)][_0x21d816(0x1e5)]:{_0x477a8e=_0x5cfe1c[_0x21d816(0x30c)](_0x1c59a5,_0x2d2882);break;}case _0x5cfe1c[_0x21d816(0x26a)][_0x21d816(0x1d9)]:{_0x477a8e=_0x5cfe1c[_0x21d816(0x301)](_0x1c59a5,_0x2d2882);break;}case _0x5cfe1c[_0x21d816(0x26a)][_0x21d816(0x404)]:{_0x477a8e=_0x5cfe1c[_0x21d816(0x1a0)](_0x1c59a5,_0x2d2882);break;}case _0x5cfe1c['EffectRefRangId'][_0x21d816(0x229)]:{_0x477a8e=_0x5cfe1c[_0x21d816(0x339)](_0x1c59a5,_0x2d2882);break;}}const _0x1bf62d=_0x5cfe1c[_0x21d816(0x1bf)](_0x477a8e,_0x2d2882),_0x10de67=this[_0x21d816(0x1ec)]['get'](_0x3707c3);if(_0x10de67&&_0x1bf62d){const _0x4cb8a7={..._0x10de67,'range':_0x1bf62d};this[_0x21d816(0x1ec)][_0x21d816(0x35c)](_0x3707c3,_0x4cb8a7),_0x3955f8(()=>{const _0x83822c=_0x21d816,_0x3d3912=this[_0x83822c(0x2d1)][_0x83822c(0x18f)](_0x1bf62d,_0x1124f1=>(_0x3d3912[_0x83822c(0x257)](),_0x15e3e4(_0x1124f1,_0x3707c3,_0x479066,_0x1bf62d)));_0x93e855[_0x83822c(0x216)](_0x3d3912);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x8301e3,_0x19ac92)=>{const _0x400f6e=_0x5307,{range:_0x2c8b68,sheetID:_0x2fdeaa}=_0x8301e3,_0x2f54b8=this[_0x400f6e(0x2d1)][_0x400f6e(0x18f)](_0x2c8b68,_0x934921=>(_0x2f54b8[_0x400f6e(0x257)](),_0x15e3e4(_0x934921,_0x19ac92,_0x2fdeaa,_0x2c8b68)));_0x93e855['add'](_0x2f54b8);});};this[_0x5cee14(0x1e1)](_0x2c7269[_0x5cee14(0x2ab)](this[_0x5cee14(0x185)][_0x5cee14(0x20f)](()=>{_0x987db0();})));}[_0xbc5e4e(0x2da)](){const _0x3a235f=_0xbc5e4e;var _0x45faaa,_0x32b4d8;if(this[_0x3a235f(0x19a)]=!0x0,((_0x45faaa=this[_0x3a235f(0x1ee)][_0x3a235f(0x316)]())==null?void 0x0:_0x45faaa[_0x3a235f(0x1b5)]())!==this[_0x3a235f(0x379)])return;const _0x318336=(_0x32b4d8=this[_0x3a235f(0x226)]['get'](_0x5cfe1c[_0x3a235f(0x376)])[_0x3a235f(0x3c4)]())==null?void 0x0:_0x32b4d8[0x0],_0x22846e=this[_0x3a235f(0x1ee)][_0x3a235f(0x2ef)](_0x2c7269[_0x3a235f(0x2ff)]['UNIVER_SHEET'])[_0x3a235f(0x1b4)]();_0x318336&&_0x22846e&&this['_updateLocalCursor'](_0x22846e[_0x3a235f(0x173)](),_0x318336);}[_0xbc5e4e(0x209)](){this['_online']=!0x1;}};_0x3e1196=_0x2405bf([_0x2f3e19(0x2,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269[_0xbc5e4e(0x3d6)])),_0x2f3e19(0x3,_0x2c7269[_0xbc5e4e(0x344)](_0x5cc52d)),_0x2f3e19(0x4,_0x2c7269['Inject'](_0x494363[_0xbc5e4e(0x1b9)])),_0x2f3e19(0x5,_0x2c7269['IUniverInstanceService']),_0x2f3e19(0x6,_0x2c7269[_0xbc5e4e(0x1e0)]),_0x2f3e19(0x7,_0x2c7269['Inject'](_0x5cfe1c[_0xbc5e4e(0x2a6)]))],_0x3e1196);var _0x54d6ac=Object[_0xbc5e4e(0x23c)],_0x39b0b4=(_0x1db740,_0x4dd170,_0x12ff71,_0x108b9c)=>{const _0x262409=_0xbc5e4e;for(var _0x2a765e=_0x108b9c>0x1?void 0x0:_0x108b9c?_0x54d6ac(_0x4dd170,_0x12ff71):_0x4dd170,_0x3233dc=_0x1db740[_0x262409(0x299)]-0x1,_0x47e6f0;_0x3233dc>=0x0;_0x3233dc--)(_0x47e6f0=_0x1db740[_0x3233dc])&&(_0x2a765e=_0x47e6f0(_0x2a765e)||_0x2a765e);return _0x2a765e;},_0x8b9d35=(_0x1ae16c,_0x1c4988)=>(_0x4b7acb,_0x4bffee)=>_0x1c4988(_0x4b7acb,_0x4bffee,_0x1ae16c);let _0x99c4b=class extends _0x2c7269[_0xbc5e4e(0x391)]{constructor(_0x433975,_0x3e6025,_0x5ddaac){const _0x53f55c=_0xbc5e4e;super(),_0x4cb7e1(this,_0x53f55c(0x23b),new Map()),_0x4cb7e1(this,_0x53f55c(0x2d8),new _0x59059a[(_0x53f55c(0x351))]()),(this[_0x53f55c(0x1ee)]=_0x433975,this[_0x53f55c(0x226)]=_0x3e6025,this[_0x53f55c(0x1e3)]=_0x5ddaac,this['_init']());}[_0xbc5e4e(0x257)](){const _0x4c102d=_0xbc5e4e;super[_0x4c102d(0x257)](),this[_0x4c102d(0x2d8)][_0x4c102d(0x295)](),this[_0x4c102d(0x23b)][_0x4c102d(0x31c)](_0x2a1658=>_0x2a1658[_0x4c102d(0x257)]());}[_0xbc5e4e(0x325)](_0x5049d2){const _0x4fed76=_0xbc5e4e;return this[_0x4fed76(0x23b)][_0x4fed76(0x284)](_0x5049d2)?this[_0x4fed76(0x23b)][_0x4fed76(0x2bd)](_0x5049d2)[_0x4fed76(0x252)]:this['_entityInit$'][_0x4fed76(0x253)](_0x59059a[_0x4fed76(0x1b7)](_0x561622=>_0x561622[_0x4fed76(0x379)]===_0x5049d2),_0x59059a[_0x4fed76(0x3ec)](_0x7ad0d8=>_0x7ad0d8[_0x4fed76(0x252)]));}[_0xbc5e4e(0x2dc)](){const _0x571fe1=_0xbc5e4e;this[_0x571fe1(0x1ee)]['getTypeOfUnitAdded$'](_0x2c7269['UniverInstanceType'][_0x571fe1(0x1e2)])['pipe'](_0x59059a[_0x571fe1(0x39d)](this[_0x571fe1(0x254)]))[_0x571fe1(0x20f)](async _0x29653e=>{const _0x1bf061=_0x571fe1,_0x2071ed=_0x29653e['getUnitId'](),_0x1d6059=await this[_0x1bf061(0x204)](_0x2071ed);this[_0x1bf061(0x2d8)][_0x1bf061(0x33e)](_0x1d6059),this['_entities']['set'](_0x2071ed,_0x1d6059);}),this[_0x571fe1(0x1ee)][_0x571fe1(0x1ea)](_0x2c7269[_0x571fe1(0x2ff)]['UNIVER_DOC'])['pipe'](_0x59059a[_0x571fe1(0x39d)](this[_0x571fe1(0x254)]))[_0x571fe1(0x253)](_0x59059a['filter'](_0x239f42=>!_0x239f42[_0x571fe1(0x1b5)]()[_0x571fe1(0x3a4)]('__')))[_0x571fe1(0x20f)](async _0x1029a8=>{const _0x2a866f=_0x571fe1,_0xa38505=_0x1029a8[_0x2a866f(0x1b5)](),_0x6fc35a=await this[_0x2a866f(0x359)](_0xa38505);this[_0x2a866f(0x2d8)][_0x2a866f(0x33e)](_0x6fc35a),this[_0x2a866f(0x23b)]['set'](_0xa38505,_0x6fc35a);}),_0x59059a[_0x571fe1(0x23a)](this[_0x571fe1(0x1ee)]['getTypeOfUnitDisposed$'](_0x2c7269[_0x571fe1(0x2ff)][_0x571fe1(0x3c7)]),this[_0x571fe1(0x1ee)]['getTypeOfUnitDisposed$'](_0x2c7269[_0x571fe1(0x2ff)][_0x571fe1(0x1e2)]))[_0x571fe1(0x253)](_0x59059a[_0x571fe1(0x39d)](this[_0x571fe1(0x254)]))[_0x571fe1(0x20f)](_0x43ea13=>{const _0x21a84a=_0x571fe1,_0x278ec8=_0x43ea13[_0x21a84a(0x1b5)](),_0x24910a=this[_0x21a84a(0x23b)][_0x21a84a(0x2bd)](_0x278ec8);_0x24910a&&(_0x24910a[_0x21a84a(0x257)](),this['_entities'][_0x21a84a(0x1b6)](_0x278ec8));});}async[_0xbc5e4e(0x204)](_0x1f8e11){const _0x369066=_0xbc5e4e,_0x40fda7=await this[_0x369066(0x1e3)][_0x369066(0x1c8)](_0x1f8e11),_0x10b241=this[_0x369066(0x226)][_0x369066(0x3d4)](_0x3e1196,_0x1f8e11,_0x40fda7);return _0x10b241[_0x369066(0x1f7)](),_0x10b241;}async[_0xbc5e4e(0x359)](_0x3d0bfa){const _0xb0929=_0xbc5e4e,_0x55431f=await this[_0xb0929(0x1e3)]['requireSession'](_0x3d0bfa),_0x41d153=this['_injector'][_0xb0929(0x3d4)](_0x4c90c5,_0x3d0bfa,_0x55431f);return _0x41d153[_0xb0929(0x1f7)](),_0x41d153;}};_0x99c4b=_0x39b0b4([_0x8b9d35(0x0,_0x2c7269['IUniverInstanceService']),_0x8b9d35(0x1,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269['Injector'])),_0x8b9d35(0x2,_0x2c7269[_0xbc5e4e(0x344)](_0x494363[_0xbc5e4e(0x1b1)]))],_0x99c4b);const _0x2f3a18=0x14,_0x538a9d=0xc8,_0x39b034=0x4,_0x2b7eb0=0x5;function _0xc7ab88(_0x4a82d3,_0x58f82c){const _0x37eb3a=_0xbc5e4e;let {radius:_0x575dd8,width:_0x2dedb5,height:_0x34dda1}=_0x58f82c;_0x575dd8=_0x575dd8!=null?_0x575dd8:0x0,_0x2dedb5=_0x2dedb5!=null?_0x2dedb5:0x1e,_0x34dda1=_0x34dda1!=null?_0x34dda1:0x1e;let _0x2e6767=0x0,_0x19589b=0x0,_0x577d1b=0x0;_0x2e6767=_0x19589b=_0x577d1b=Math['min'](_0x575dd8,_0x2dedb5/0x2,_0x34dda1/0x2),_0x4a82d3[_0x37eb3a(0x1a5)](),_0x4a82d3['moveTo'](_0x2e6767,0x0),_0x4a82d3[_0x37eb3a(0x388)](_0x2dedb5-_0x19589b,0x0),_0x4a82d3[_0x37eb3a(0x3e5)](_0x2dedb5-_0x19589b,_0x19589b,_0x19589b,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a82d3[_0x37eb3a(0x388)](_0x2dedb5,_0x34dda1-_0x577d1b),_0x4a82d3[_0x37eb3a(0x3e5)](_0x2dedb5-_0x577d1b,_0x34dda1-_0x577d1b,_0x577d1b,0x0,Math['PI']/0x2,!0x1),_0x4a82d3[_0x37eb3a(0x388)](0x0,_0x34dda1),_0x4a82d3['lineTo'](0x0,_0x2e6767),_0x4a82d3[_0x37eb3a(0x3e5)](_0x2e6767,_0x2e6767,_0x2e6767,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a82d3[_0x37eb3a(0x305)](),_0x58f82c[_0x37eb3a(0x17f)]&&(_0x4a82d3['save'](),_0x4a82d3[_0x37eb3a(0x2a2)]=_0x58f82c['fill'],_0x58f82c[_0x37eb3a(0x3a7)]===_0x37eb3a(0x239)?_0x4a82d3[_0x37eb3a(0x17f)]('evenodd'):_0x4a82d3[_0x37eb3a(0x17f)](),_0x4a82d3['restore']());}class _0x173424 extends _0x592bb1[_0xbc5e4e(0x280)]{constructor(_0x10e33c,_0x273c0a){const _0x3c19e1=_0xbc5e4e;super(_0x10e33c,_0x273c0a),_0x4cb7e1(this,_0x3c19e1(0x37a)),_0x4cb7e1(this,'text'),(this[_0x3c19e1(0x37a)]=_0x273c0a==null?void 0x0:_0x273c0a[_0x3c19e1(0x37a)],this[_0x3c19e1(0x205)]=_0x273c0a==null?void 0x0:_0x273c0a[_0x3c19e1(0x205)]);}static[_0xbc5e4e(0x3a6)](_0x1eb9be,_0x5b69da){const _0xa217a1=_0xbc5e4e,{text:_0x2fbef5,color:_0x16d52f}=_0x5b69da;_0x1eb9be[_0xa217a1(0x23d)](),_0x1eb9be[_0xa217a1(0x3b5)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x47a4b2=_0x1eb9be[_0xa217a1(0x1ed)](_0x2fbef5)[_0xa217a1(0x223)],_0xc2c66f=Math[_0xa217a1(0x1e9)](_0x47a4b2+0x2*_0x39b034,_0x538a9d);_0xc7ab88(_0x1eb9be,{'height':_0x2f3a18,'radius':0x4,'width':_0xc2c66f,'fill':_0x16d52f}),_0x1eb9be['fillStyle']=_0xa217a1(0x278);const _0x4ec54c=_0x39b034,_0x3bc597=_0x2f3a18-_0x2b7eb0,_0x25466f=_0x538a9d-0x2*_0x39b034;if(_0x47a4b2>_0x25466f){let _0x2e51ce='',_0x409209=0x0;for(const _0x2a161a of _0x2fbef5){const _0x1db614=_0x1eb9be[_0xa217a1(0x1ed)](_0x2a161a)[_0xa217a1(0x223)];if(_0x409209+_0x1db614<=_0x25466f-_0x1eb9be[_0xa217a1(0x1ed)](_0xa217a1(0x36f))[_0xa217a1(0x223)])_0x2e51ce+=_0x2a161a,_0x409209+=_0x1db614;else{_0x2e51ce+=_0xa217a1(0x36f);break;}}_0x1eb9be['fillText'](_0x2e51ce,_0x4ec54c,_0x3bc597);}else _0x1eb9be[_0xa217a1(0x300)](_0x2fbef5,_0x4ec54c,_0x3bc597);_0x1eb9be['restore']();}[_0xbc5e4e(0x17a)](_0x5663d4){_0x173424['drawWith'](_0x5663d4,this);}}const _0x3260fd=_0xbc5e4e(0x22a),_0xfe8028='collab-text-range-',_0x54c21='collab-rect-range-',_0x1c7bcd=0x6,_0x2b7125=1.5,_0x411612=0x4,_0x2db4f3=1.5,_0x416d15=_0xbc5e4e(0x322);class _0x330e34{constructor(_0x82f520,_0x19e03f,_0x5d1cd7,_0x104079){const _0x299d96=_0xbc5e4e;_0x4cb7e1(this,_0x299d96(0x242),[]),_0x4cb7e1(this,_0x299d96(0x171),null),_0x4cb7e1(this,_0x299d96(0x297),null),_0x4cb7e1(this,_0x299d96(0x38e),null),_0x4cb7e1(this,_0x299d96(0x26d),null),_0x4cb7e1(this,_0x299d96(0x292),null),(this['_cursor']=_0x82f520,this[_0x299d96(0x1eb)]=_0x19e03f,this['_docSkeleton']=_0x5d1cd7,this[_0x299d96(0x2a9)]=_0x104079,this[_0x299d96(0x1f9)]());}set[_0xbc5e4e(0x1ac)](_0x22059b){const _0x1176ca=_0xbc5e4e;_0x22059b?(this[_0x1176ca(0x38e)]&&this[_0x1176ca(0x38e)][_0x1176ca(0x365)](),this[_0x1176ca(0x297)]&&this['_textBubble'][_0x1176ca(0x394)]()):(this['_anchorDot']&&this[_0x1176ca(0x38e)]['show'](),this[_0x1176ca(0x297)]&&this[_0x1176ca(0x297)]['hide']());}[_0xbc5e4e(0x257)](){const _0x5e2d18=_0xbc5e4e;for(const _0x17263d of this['_shapes'])_0x17263d[_0x5e2d18(0x257)]();this[_0x5e2d18(0x297)]&&this['_textBubble'][_0x5e2d18(0x257)](),this[_0x5e2d18(0x38e)]&&this['_anchorDot'][_0x5e2d18(0x257)](),this['_anchor']&&this[_0x5e2d18(0x171)][_0x5e2d18(0x257)](),this['_eventUnsubscribe']&&this[_0x5e2d18(0x292)]();}[_0xbc5e4e(0x1f9)](){const _0x3d800b=_0xbc5e4e;var _0x4a17c8;const {_docSkeleton:_0x3e58ba,_document:_0xdc8882}=this,{color:_0x2dbaa0,name:_0x4892dd,ranges:_0x3eb4b1}=this[_0x3d800b(0x31d)],_0x19d197=_0xdc8882['getOffsetConfig'](),{docsLeft:_0x2cfe21,docsTop:_0x386c85}=_0x19d197,_0xb454c3=new _0x1004b1[(_0x3d800b(0x2f1))](_0x19d197,_0x3e58ba);for(const {startOffset:_0x24cd53,endOffset:_0x120bda,rangeType:_0x1a78c7,segmentId:_0x5638aa,segmentPage:_0x515480,collapsed:_0x4acf5c,isActive:_0x10cc77}of _0x3eb4b1){const _0x14683a=_0x3e58ba[_0x3d800b(0x273)](_0x24cd53,!0x0,_0x5638aa,_0x515480);let _0x3c060a=_0x3e58ba[_0x3d800b(0x273)](_0x120bda,!0x0,_0x5638aa,_0x515480);if(_0x3c060a==null&&(_0x3c060a=_0x3e58ba['findNodePositionByCharIndex'](_0x120bda-0x1,!0x1,_0x5638aa,_0x515480)),_0x10cc77){const {contentBoxPointGroup:_0x5a99c4}=_0xb454c3[_0x3d800b(0x27e)](_0x3c060a,_0x3c060a);if(_0x5a99c4[_0x3d800b(0x299)]===0x0)continue;this[_0x3d800b(0x262)](_0x2dbaa0,_0x5a99c4,_0x2cfe21,_0x386c85,_0x4892dd),this[_0x3d800b(0x292)]=this['_handleHover']();}if(_0x14683a&&_0x3c060a){if(_0x1a78c7===_0x2c7269[_0x3d800b(0x3c9)]['RECT']){const _0x4b671f=new _0x1004b1[(_0x3d800b(0x1f6))](_0x19d197,_0x3e58ba),{pointGroup:_0x8dad0e}=(_0x4a17c8=_0x4b671f[_0x3d800b(0x27e)](_0x14683a,_0x3c060a))!=null?_0x4a17c8:{};if(_0x8dad0e==null||_0x8dad0e[_0x3d800b(0x299)]===0x0)continue;this['_drawRectRange'](_0x2dbaa0,_0x8dad0e,_0x2cfe21,_0x386c85);}else{if(!_0x4acf5c){const {borderBoxPointGroup:_0x584ddb}=_0xb454c3[_0x3d800b(0x27e)](_0x14683a,_0x3c060a);if(_0x584ddb[_0x3d800b(0x299)]===0x0)continue;this['_drawTextRange'](_0x2dbaa0,_0x584ddb,_0x2cfe21,_0x386c85);}}}}}[_0xbc5e4e(0x262)](_0x4ebc4d,_0x3a8a0e,_0x5012a6,_0x213636,_0x4575f5){const _0x326ebc=_0xbc5e4e,_0x567bdf=this[_0x326ebc(0x250)](_0x3a8a0e),{left:_0xd67b03,top:_0x263168,height:_0x43f5a5}=_0x567bdf,_0xce3548=this[_0x326ebc(0x308)](),_0x3b75a3=_0x2db4f3/_0xce3548,_0x41b119=new _0x592bb1[(_0x326ebc(0x2db))](_0x3260fd+_0x2c7269[_0x326ebc(0x1c9)][_0x326ebc(0x399)](_0x1c7bcd),{'left':_0xd67b03+_0x5012a6-_0x3b75a3,'top':_0x263168+_0x213636,'height':_0x43f5a5,'width':_0x2b7125,'fill':_0x4ebc4d||_0x592bb1[_0x326ebc(0x235)](_0x2c7269[_0x326ebc(0x1c7)][_0x326ebc(0x2ee)],0x0),'strokeWidth':_0x3b75a3,'stroke':_0x416d15,'evented':!0x0});this[_0x326ebc(0x171)]=_0x41b119,this['_scene'][_0x326ebc(0x3ed)](_0x41b119,_0x1004b1['TEXT_RANGE_LAYER_INDEX']);const _0x3cd48e=new _0x592bb1[(_0x326ebc(0x2db))](_0x3260fd+_0x2c7269[_0x326ebc(0x1c9)][_0x326ebc(0x399)](_0x1c7bcd),{'left':_0xd67b03+_0x5012a6-_0x3b75a3,'top':_0x263168+_0x213636-_0x411612/0x2,'height':_0x411612,'width':_0x411612,'fill':_0x4ebc4d||_0x592bb1[_0x326ebc(0x235)](_0x2c7269[_0x326ebc(0x1c7)][_0x326ebc(0x2ee)],0x0),'strokeWidth':0x0,'stroke':_0x4ebc4d||_0x592bb1['getColor'](_0x2c7269[_0x326ebc(0x1c7)][_0x326ebc(0x2ee)],0x0),'evented':!0x1});this['_anchorDot']=_0x3cd48e,this[_0x326ebc(0x1eb)][_0x326ebc(0x3ed)](_0x3cd48e,_0x1004b1[_0x326ebc(0x1a6)]);const _0x18002b=new _0x173424(_0x3260fd+_0x2c7269[_0x326ebc(0x1c9)]['generateRandomId'](_0x1c7bcd),{'left':_0xd67b03+_0x5012a6-_0x3b75a3,'top':_0x263168+_0x213636-_0x2f3a18,'text':_0x4575f5,'color':_0x4ebc4d});this['_textBubble']=_0x18002b,this[_0x326ebc(0x1eb)]['addObject'](_0x18002b,_0x1004b1['TEXT_RANGE_LAYER_INDEX']),this[_0x326ebc(0x1ac)]=!0x1;}[_0xbc5e4e(0x2b8)](){const _0x5ceab1=_0xbc5e4e,_0x558c05=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0x7b7e59=_0x5307;this[_0x7b7e59(0x1ac)]=!0x0;}),_0x46d967=this['_anchor'][_0x5ceab1(0x26e)][_0x5ceab1(0x2a7)](()=>{const _0x20148b=_0x5ceab1;this[_0x20148b(0x26d)]&&clearTimeout(this[_0x20148b(0x26d)]),this[_0x20148b(0x26d)]=setTimeout(()=>{const _0xf25fb9=_0x20148b;this[_0xf25fb9(0x1ac)]=!0x1;},0x7d0);});return()=>{const _0x7c1b6=_0x5ceab1;_0x558c05[_0x7c1b6(0x382)](),_0x46d967[_0x7c1b6(0x382)]();};}[_0xbc5e4e(0x312)](_0xbc9a55,_0x308632,_0x27caec,_0x4db105){const _0xa0ae4=_0xbc5e4e,_0x376be1=new _0x2c7269[(_0xa0ae4(0x2ae))](_0xbc9a55)[_0xa0ae4(0x178)](0.2)[_0xa0ae4(0x3a0)](),_0x13dbf3=new _0x592bb1['RegularPolygon'](_0xfe8028+_0x2c7269[_0xa0ae4(0x1c9)][_0xa0ae4(0x399)](_0x1c7bcd),{'pointsGroup':_0x308632,'fill':_0x376be1||_0x592bb1['getColor'](_0x2c7269[_0xa0ae4(0x1c7)]['black'],0.2),'left':_0x27caec,'top':_0x4db105,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x13dbf3),this[_0xa0ae4(0x1eb)]['addObject'](_0x13dbf3,_0x1004b1['TEXT_RANGE_LAYER_INDEX']);}[_0xbc5e4e(0x16e)](_0x15feaf,_0x27b295,_0x47fbcf,_0x379d7f){const _0x4f8ccd=_0xbc5e4e,_0x3fe6c6=new _0x2c7269[(_0x4f8ccd(0x2ae))](_0x15feaf)[_0x4f8ccd(0x178)](0.2)[_0x4f8ccd(0x3a0)](),_0x5ba8c9=new _0x592bb1[(_0x4f8ccd(0x3ac))](_0x54c21+_0x2c7269[_0x4f8ccd(0x1c9)][_0x4f8ccd(0x399)](_0x1c7bcd),{'pointsGroup':_0x27b295,'fill':_0x3fe6c6||_0x592bb1[_0x4f8ccd(0x235)](_0x2c7269[_0x4f8ccd(0x1c7)][_0x4f8ccd(0x2ee)],0.2),'left':_0x47fbcf,'top':_0x379d7f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4f8ccd(0x371)](_0x5ba8c9),this[_0x4f8ccd(0x1eb)]['addObject'](_0x5ba8c9,_0x1004b1[_0x4f8ccd(0x1a6)]);}[_0xbc5e4e(0x250)](_0x30c17f){const _0x1e6795=_0x30c17f[0x0],_0x7ff784=_0x1e6795[0x0],_0x413673=_0x1e6795[0x2],{x:_0x3a140a,y:_0x11be21}=_0x7ff784,{x:_0xcb11e4,y:_0x2daecf}=_0x413673;return{'left':_0x3a140a,'top':_0x11be21,'width':_0xcb11e4-_0x3a140a,'height':_0x2daecf-_0x11be21};}['_getScale'](){const _0x20e531=_0xbc5e4e,{scaleX:_0x55da4b,scaleY:_0x214d14}=this[_0x20e531(0x1eb)][_0x20e531(0x2c3)]();return Math[_0x20e531(0x3b8)](_0x55da4b,_0x214d14);}}var _0x313eb7=Object[_0xbc5e4e(0x23c)],_0x3cb717=(_0x3190d3,_0x1273dc,_0x43e9f1,_0x428a20)=>{const _0x35ad83=_0xbc5e4e;for(var _0x5df2ef=_0x428a20>0x1?void 0x0:_0x428a20?_0x313eb7(_0x1273dc,_0x43e9f1):_0x1273dc,_0x44c67e=_0x3190d3[_0x35ad83(0x299)]-0x1,_0x586f27;_0x44c67e>=0x0;_0x44c67e--)(_0x586f27=_0x3190d3[_0x44c67e])&&(_0x5df2ef=_0x586f27(_0x5df2ef)||_0x5df2ef);return _0x5df2ef;},_0x597e37=(_0x39cb96,_0x53d81b)=>(_0x13a011,_0x12eeb6)=>_0x53d81b(_0x13a011,_0x12eeb6,_0x39cb96);let _0x5d2fbd=class extends _0x2c7269[_0xbc5e4e(0x391)]{constructor(_0x39c4e4,_0x488ee1,_0x1168df,_0x567319,_0x466e86){const _0x20b75f=_0xbc5e4e;super(),_0x4cb7e1(this,_0x20b75f(0x3ce),[]),_0x4cb7e1(this,_0x20b75f(0x221),[]),(this[_0x20b75f(0x187)]=_0x39c4e4,this[_0x20b75f(0x21c)]=_0x488ee1,this[_0x20b75f(0x3a9)]=_0x1168df,this[_0x20b75f(0x272)]=_0x567319,this[_0x20b75f(0x233)]=_0x466e86,this[_0x20b75f(0x2dc)]());}[_0xbc5e4e(0x2dc)](){const _0x4dabec=_0xbc5e4e,_0x405574=this[_0x4dabec(0x187)][_0x4dabec(0x34d)],_0x241c2c=this[_0x4dabec(0x21c)];this[_0x4dabec(0x1e1)](_0x59059a[_0x4dabec(0x334)]([this[_0x4dabec(0x3a9)][_0x4dabec(0x325)](_0x405574),this[_0x4dabec(0x233)][_0x4dabec(0x326)]])[_0x4dabec(0x253)](_0x2b7df1['map'](([_0x46b5d6,_0x37014b])=>({'skeleton':_0x241c2c[_0x4dabec(0x1ce)](),'cursors':[..._0x46b5d6[_0x4dabec(0x296)]()][_0x4dabec(0x291)](_0x5ed383=>({..._0x5ed383,'color':this['_themeService']['getColorFromTheme'](_0x5ed383[_0x4dabec(0x37a)])}))})))[_0x4dabec(0x20f)](_0x46edc9=>{const _0x37248f=_0x4dabec;if(this[_0x37248f(0x2fa)](),_0x46edc9){const {skeleton:_0x6039b,cursors:_0x539e25}=_0x46edc9;this[_0x37248f(0x390)](_0x6039b,_0x539e25);}})),this['_initResize'](),this[_0x4dabec(0x28f)]();}[_0xbc5e4e(0x390)](_0x5de227,_0x371158){const _0x95c60e=_0xbc5e4e,{scene:_0x3e4abe,mainComponent:_0x12688d}=this[_0x95c60e(0x187)],_0x51b2e5=_0x371158[_0x95c60e(0x348)](_0x15ef76=>new _0x330e34(_0x15ef76,_0x3e4abe,_0x5de227,_0x12688d));this[_0x95c60e(0x3ce)]=_0x51b2e5,this['_cursors']=_0x371158;}[_0xbc5e4e(0x39a)](){const _0x3b885a=_0xbc5e4e;this[_0x3b885a(0x2fa)]();const {scene:_0x473ced,mainComponent:_0x508f9e}=this['_context'],_0x1c349d=this[_0x3b885a(0x21c)]['getSkeleton'](),_0x1bf616=this[_0x3b885a(0x221)][_0x3b885a(0x348)](_0x195295=>new _0x330e34(_0x195295,_0x473ced,_0x1c349d,_0x508f9e));this[_0x3b885a(0x3ce)]=_0x1bf616;}[_0xbc5e4e(0x2fa)](){const _0x334497=_0xbc5e4e;this['_cursorShapes']['forEach'](_0x4757c1=>_0x4757c1['dispose']()),this[_0x334497(0x3ce)]=[];}[_0xbc5e4e(0x28f)](){const _0xbdcf1f=_0xbc5e4e,_0x1d0dd9=[_0x1004b1[_0xbdcf1f(0x2c6)]['id']];this[_0xbdcf1f(0x1e1)](this['_commandService'][_0xbdcf1f(0x2c1)](_0x290efc=>{const _0x4d3efa=_0xbdcf1f;_0x1d0dd9[_0x4d3efa(0x2af)](_0x290efc['id'])&&_0x290efc['params'][_0x4d3efa(0x34d)]===this[_0x4d3efa(0x187)][_0x4d3efa(0x34d)]&&this[_0x4d3efa(0x39a)]();}));}['_initResize'](){const _0x52c668=_0xbc5e4e;this[_0x52c668(0x1e1)](_0x2c7269[_0x52c668(0x20e)](this[_0x52c668(0x187)][_0x52c668(0x1db)][_0x52c668(0x3a1)])[_0x52c668(0x253)](_0x2b7df1[_0x52c668(0x1b7)](_0x28cc92=>_0x28cc92[_0x52c668(0x2e6)]===_0x592bb1[_0x52c668(0x384)][_0x52c668(0x224)]),_0x2b7df1[_0x52c668(0x29d)](0x10))[_0x52c668(0x20f)](()=>{const _0x37b16f=_0x52c668;this[_0x37b16f(0x39a)]();}));}};_0x5d2fbd=_0x3cb717([_0x597e37(0x1,_0x2c7269[_0xbc5e4e(0x344)](_0x413a2a[_0xbc5e4e(0x3b3)])),_0x597e37(0x2,_0x2c7269[_0xbc5e4e(0x344)](_0x99c4b)),_0x597e37(0x3,_0x2c7269[_0xbc5e4e(0x1e0)]),_0x597e37(0x4,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269[_0xbc5e4e(0x3ee)]))],_0x5d2fbd);const _0x1878c5=0x1,_0x166875=1.5;class _0x54b8d1 extends _0x592bb1[_0xbc5e4e(0x280)]{constructor(_0x5dea40,_0x3d1327){const _0x1f9be2=_0xbc5e4e;super(_0x5dea40,_0x3d1327),_0x4cb7e1(this,_0x1f9be2(0x39b)),_0x4cb7e1(this,_0x1f9be2(0x1e7),!0x1),_0x4cb7e1(this,_0x1f9be2(0x193)),_0x4cb7e1(this,_0x1f9be2(0x286),''),_0x4cb7e1(this,_0x1f9be2(0x358),_0x1f9be2(0x3e7)),_0x4cb7e1(this,_0x1f9be2(0x29a)),(_0x3d1327&&this[_0x1f9be2(0x1f0)](_0x3d1327),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x1f9be2(0x1f0)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1f9be2(0x2a7)](()=>this[_0x1f9be2(0x1f0)]({'hovered':!0x1})));}[_0xbc5e4e(0x1f0)](_0x17c67e){const _0x384297=_0xbc5e4e;var _0x1b6833,_0x3ba030,_0x4490f7,_0x4c3eeb,_0x4f9a3a,_0x17a647;this[_0x384297(0x39b)]=(_0x1b6833=_0x17c67e[_0x384297(0x37a)])!=null?_0x1b6833:this[_0x384297(0x39b)],this['_hovered']=(_0x3ba030=_0x17c67e[_0x384297(0x2bf)])!=null?_0x3ba030:this[_0x384297(0x1e7)],this[_0x384297(0x193)]=(_0x4490f7=_0x17c67e[_0x384297(0x3cd)])!=null?_0x4490f7:this[_0x384297(0x193)],this[_0x384297(0x286)]=(_0x4c3eeb=_0x17c67e[_0x384297(0x258)])!=null?_0x4c3eeb:this[_0x384297(0x286)],this[_0x384297(0x358)]=(_0x4f9a3a=_0x17c67e[_0x384297(0x3f1)])!=null?_0x4f9a3a:this[_0x384297(0x358)],this[_0x384297(0x29a)]=(_0x17a647=_0x17c67e['backgroundColor'])!=null?_0x17a647:this[_0x384297(0x29a)],this[_0x384297(0x324)]({'width':_0x17c67e['width'],'height':_0x17c67e[_0x384297(0x29b)]});}[_0xbc5e4e(0x3c0)](_0x24c876){const _0x3df3be=_0xbc5e4e,{row:_0x2df619,column:_0x540473}=_0x24c876;if(_0x2df619>=this[_0x3df3be(0x193)]['startRow']&&_0x2df619<=this['_range'][_0x3df3be(0x38c)]&&_0x540473>=this['_range'][_0x3df3be(0x34f)]&&_0x540473<=this[_0x3df3be(0x193)][_0x3df3be(0x215)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3df3be(0x1f0)]({'hovered':!0x1});}['triggerDblclick'](_0x594197){return!0x1;}[_0xbc5e4e(0x17a)](_0x1caa3f){const _0x2473bd=_0xbc5e4e;_0x592bb1[_0x2473bd(0x2db)][_0x2473bd(0x3a6)](_0x1caa3f,{'width':this[_0x2473bd(0x223)],'height':this[_0x2473bd(0x29b)],'strokeWidth':_0x166875,'stroke':this[_0x2473bd(0x39b)],'evented':!0x1,'fill':this[_0x2473bd(0x29a)]}),this[_0x2473bd(0x1e7)]&&(_0x1caa3f[_0x2473bd(0x23d)](),_0x1caa3f[_0x2473bd(0x304)](0x1,0x0,0x0,0x1,this[_0x2473bd(0x223)],this['_labelPosition']===_0x2473bd(0x21d)?0x0:-0x14),_0x173424[_0x2473bd(0x3a6)](_0x1caa3f,{'text':this['_name'],'color':this['_color']}),_0x1caa3f[_0x2473bd(0x1e6)]());}}var _0x5cea49=Object[_0xbc5e4e(0x23c)],_0x5b00cf=(_0x408471,_0x250f32,_0x43a5bb,_0x3b569a)=>{const _0x5200e0=_0xbc5e4e;for(var _0x41ae22=_0x3b569a>0x1?void 0x0:_0x3b569a?_0x5cea49(_0x250f32,_0x43a5bb):_0x250f32,_0x53f48e=_0x408471[_0x5200e0(0x299)]-0x1,_0xf9210b;_0x53f48e>=0x0;_0x53f48e--)(_0xf9210b=_0x408471[_0x53f48e])&&(_0x41ae22=_0xf9210b(_0x41ae22)||_0x41ae22);return _0x41ae22;},_0x71149e=(_0x5da30a,_0x185e43)=>(_0x359dfd,_0x33ec2b)=>_0x185e43(_0x359dfd,_0x33ec2b,_0x5da30a);const _0x18784c=0x1389;let _0xd4b692=class extends _0x2c7269[_0xbc5e4e(0x391)]{constructor(_0x181089,_0x2817c0,_0x488043,_0xcb7b63){const _0x30f6ba=_0xbc5e4e;super(),_0x4cb7e1(this,_0x30f6ba(0x221),new Set()),_0x4cb7e1(this,'_lastPointer',null),(this['_context']=_0x181089,this[_0x30f6ba(0x3c8)]=_0x2817c0,this[_0x30f6ba(0x3a9)]=_0x488043,this['_themeService']=_0xcb7b63,this[_0x30f6ba(0x2dc)]());}[_0xbc5e4e(0x2dc)](){const _0x508e6e=_0xbc5e4e;this[_0x508e6e(0x3c8)]['currentSkeleton$'][_0x508e6e(0x253)](_0x2b7df1['takeUntil'](this['dispose$']),_0x2b7df1[_0x508e6e(0x3ec)](_0x3692ed=>{const _0x439ee5=_0x508e6e;if(_0x3692ed){const _0x481ce6=_0x3692ed[_0x439ee5(0x2d0)];return _0x59059a['combineLatest'](this['_collabCursorController'][_0x439ee5(0x325)](this[_0x439ee5(0x187)]['unitId']),this['_themeService'][_0x439ee5(0x326)])[_0x439ee5(0x253)](_0x2b7df1[_0x439ee5(0x348)](([_0x3b5deb,_0x486eca])=>{const _0x409262=_0x439ee5,_0x52c05f=new Map();return _0x3b5deb[_0x409262(0x31c)]((_0x173205,_0x49cf1b)=>{const _0x185054=_0x409262;if(_0x173205[_0x185054(0x32d)]===_0x481ce6){const _0x23d81c={..._0x173205};_0x23d81c['color']=this[_0x185054(0x233)][_0x185054(0x3f5)](_0x173205[_0x185054(0x37a)]),_0x52c05f[_0x185054(0x35c)](_0x49cf1b,_0x23d81c);}}),{'skeleton':_0x3692ed,'cursors':_0x52c05f};}));}return _0x59059a['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x297504,cursors:_0x26989b})=>{const _0x2fe3b9=_0x508e6e;this[_0x2fe3b9(0x2fa)](),_0x297504&&this['_updateCollabCursors'](_0x297504,_0x26989b);}),this['_sheetSkeletonManagerService'][_0x508e6e(0x2ed)][_0x508e6e(0x20f)](_0x2389bb=>{const _0x19334a=_0x508e6e;if(_0x2389bb==null)return;const {skeleton:_0x2d4cd1}=_0x2389bb,{scene:_0x1d6451}=this[_0x19334a(0x187)];_0x1d6451['onPointerMove$'][_0x19334a(0x2a7)](_0x2c7269[_0x19334a(0x2f8)](_0x14e683=>{const _0x1a669f=_0x19334a;var _0x5e0770,_0x34dd48;const {offsetX:_0x3b9cee,offsetY:_0x43a93b}=_0x14e683,{x:_0x1c6fed,y:_0x43884b}=_0x1d6451[_0x1a669f(0x17c)](_0x592bb1[_0x1a669f(0x3dd)]['FromArray']([_0x3b9cee,_0x43a93b])),{scaleX:_0x3a999d,scaleY:_0x3ee618}=_0x1d6451[_0x1a669f(0x2c3)](),_0x1c5264=_0x1d6451[_0x1a669f(0x255)](_0x592bb1[_0x1a669f(0x2d5)][_0x1a669f(0x2b0)]),_0x26c30d=_0x1d6451[_0x1a669f(0x222)](_0x592bb1[_0x1a669f(0x3dd)][_0x1a669f(0x32e)]([_0x1c6fed,_0x43884b]),_0x1c5264),_0x3acf6e=_0x2d4cd1[_0x1a669f(0x373)](_0x3b9cee,_0x43a93b,_0x3a999d,_0x3ee618,_0x26c30d);((_0x5e0770=this[_0x1a669f(0x195)])==null?void 0x0:_0x5e0770[_0x1a669f(0x29c)])===_0x3acf6e[_0x1a669f(0x29c)]&&((_0x34dd48=this['_lastPointer'])==null?void 0x0:_0x34dd48[_0x1a669f(0x3bd)])===_0x3acf6e[_0x1a669f(0x3bd)]||this['_cursors'][_0x1a669f(0x31c)](_0x10be2a=>{const _0x29c861=_0x1a669f;_0x10be2a[_0x29c861(0x3c0)](_0x3acf6e);});},0x64));});}[_0xbc5e4e(0x390)](_0x6dbac3,_0x55148f){const _0x1d73bb=_0xbc5e4e;var _0xd47d75;const _0x16033b=(_0xd47d75=this[_0x1d73bb(0x3c8)][_0x1d73bb(0x385)]())==null?void 0x0:_0xd47d75['skeleton'];if(!_0x16033b)return;const _0x2207da=this[_0x1d73bb(0x26b)]();if(!_0x2207da)return;this[_0x1d73bb(0x221)][_0x1d73bb(0x31c)](_0x3704d7=>{const _0x95d3=_0x1d73bb;_0x3704d7[_0x95d3(0x25b)]();});const {scene:_0x284c87}=_0x2207da,_0x504f13=_0x13fc02(Array['from'](_0x55148f[_0x1d73bb(0x296)]()))[_0x1d73bb(0x348)](_0x4b7fa6=>{const _0x405818=_0x1d73bb,{color:_0x36234b,range:_0x26d577,name:_0x10972b,selection:_0x50f018,sheetID:_0x3b8def}=_0x4b7fa6,{startColumn:_0x3ed223,startRow:_0x5218f9,endColumn:_0x46db02,endRow:_0x4f95eb}=_0x26d577,_0x3b1877=_0x4a5757[_0x405818(0x3d2)](_0x5218f9,_0x3ed223,_0x284c87,_0x16033b),_0x29f1b4=_0x4a5757[_0x405818(0x3d2)](_0x4f95eb,_0x46db02,_0x284c87,_0x16033b),{columnHeaderHeightAndMarginTop:_0x45960c}=_0x16033b,{startX:_0x13cae3,startY:_0x490d4d}=_0x3b1877,{endX:_0x14dc19,endY:_0x4b922b}=_0x29f1b4,_0x2bf4df=_0x14dc19-_0x13cae3,_0x44cbd0=_0x4b922b-_0x490d4d,_0x14650b={'labelPosition':_0x490d4d-_0x45960c>=_0x2f3a18?_0x405818(0x3e7):_0x405818(0x21d),'sheetID':_0x3b8def,'range':_0x26d577,'color':_0x36234b,'name':_0x10972b,'selection':_0x50f018,'left':_0x13cae3,'top':_0x490d4d,'width':_0x2bf4df,'height':_0x44cbd0,'evented':!0x1,'zIndex':_0x18784c};return new _0x54b8d1(_0x10972b,_0x14650b);});_0x284c87[_0x1d73bb(0x264)](_0x504f13,_0x1878c5),this['_cursors']=new Set(_0x504f13);}[_0xbc5e4e(0x2fa)](){const _0x2ece2c=_0xbc5e4e;var _0x375550;(_0x375550=this[_0x2ece2c(0x221)])==null||_0x375550[_0x2ece2c(0x31c)](_0x2baf91=>_0x2baf91[_0x2ece2c(0x257)]());}[_0xbc5e4e(0x26b)](){const _0x4dd66e=_0xbc5e4e;return _0x4a5757[_0x4dd66e(0x3e1)](this[_0x4dd66e(0x187)][_0x4dd66e(0x196)],this[_0x4dd66e(0x187)]);}};_0xd4b692=_0x5b00cf([_0x71149e(0x1,_0x2c7269['Inject'](_0x4a5757['SheetSkeletonManagerService'])),_0x71149e(0x2,_0x2c7269['Inject'](_0x99c4b)),_0x71149e(0x3,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269[_0xbc5e4e(0x3ee)]))],_0xd4b692);function _0x13fc02(_0x1c998b){const _0x354219=_0xbc5e4e,_0x30afae=new Map();return _0x1c998b[_0x354219(0x31c)](_0x2a4c2b=>{const _0x306fc0=_0x354219;if(_0x30afae[_0x306fc0(0x284)](_0x2a4c2b[_0x306fc0(0x320)])){const _0x3b5865=_0x30afae['get'](_0x2a4c2b['selection']);_0x3b5865[_0x306fc0(0x258)]+=',\x20'+_0x2a4c2b[_0x306fc0(0x258)];}else _0x30afae['set'](_0x2a4c2b[_0x306fc0(0x320)],_0x2a4c2b);}),Array[_0x354219(0x220)](_0x30afae[_0x354219(0x296)]());}var _0x44cb2d=function(){const _0x16594c=_0xbc5e4e;return _0x44cb2d=Object[_0x16594c(0x27c)]||function(_0x7766c4){const _0x3bb29d=_0x16594c;for(var _0x497623,_0x22673e=0x1,_0x419c71=arguments[_0x3bb29d(0x299)];_0x22673e<_0x419c71;_0x22673e++){_0x497623=arguments[_0x22673e];for(var _0x4d398d in _0x497623)Object['prototype'][_0x3bb29d(0x3da)][_0x3bb29d(0x283)](_0x497623,_0x4d398d)&&(_0x7766c4[_0x4d398d]=_0x497623[_0x4d398d]);}return _0x7766c4;},_0x44cb2d['apply'](this,arguments);},_0x1da117=function(_0x54a119,_0x32adda){const _0x283d11=_0xbc5e4e;var _0x565d6c={};for(var _0x2c47ca in _0x54a119)Object['prototype']['hasOwnProperty'][_0x283d11(0x283)](_0x54a119,_0x2c47ca)&&_0x32adda['indexOf'](_0x2c47ca)<0x0&&(_0x565d6c[_0x2c47ca]=_0x54a119[_0x2c47ca]);if(_0x54a119!=null&&typeof Object['getOwnPropertySymbols']==_0x283d11(0x313)){for(var _0x50c428=0x0,_0x2c47ca=Object[_0x283d11(0x1e4)](_0x54a119);_0x50c428<_0x2c47ca[_0x283d11(0x299)];_0x50c428++)_0x32adda[_0x283d11(0x1f2)](_0x2c47ca[_0x50c428])<0x0&&Object[_0x283d11(0x172)][_0x283d11(0x29f)][_0x283d11(0x283)](_0x54a119,_0x2c47ca[_0x50c428])&&(_0x565d6c[_0x2c47ca[_0x50c428]]=_0x54a119[_0x2c47ca[_0x50c428]]);}return _0x565d6c;},_0x47f68c=_0x288c05['forwardRef'](function(_0x3fc4b2,_0xcc987e){const _0x41a7a0=_0xbc5e4e;var _0xe3317f=_0x3fc4b2['icon'],_0x51fd05=_0x3fc4b2['id'],_0x327a6b=_0x3fc4b2[_0x41a7a0(0x396)],_0x54aa00=_0x3fc4b2[_0x41a7a0(0x260)],_0x39e9b1=_0x1da117(_0x3fc4b2,[_0x41a7a0(0x39f),'id',_0x41a7a0(0x396),_0x41a7a0(0x260)]),_0x1347d5=_0x41a7a0(0x290)[_0x41a7a0(0x2b4)](_0x51fd05,'\x20')[_0x41a7a0(0x2b4)](_0x327a6b||'')['trim'](),_0x1b0ea0=_0x288c05[_0x41a7a0(0x3f8)]('_'['concat'](_0x135256()));return _0x482037(_0xe3317f,''[_0x41a7a0(0x2b4)](_0x51fd05),{'defIds':_0xe3317f[_0x41a7a0(0x3af)],'idSuffix':_0x1b0ea0[_0x41a7a0(0x3b6)]},_0x44cb2d({'ref':_0xcc987e,'className':_0x1347d5},_0x39e9b1),_0x54aa00);});function _0x482037(_0x4e9fe3,_0x3f8040,_0x13fe09,_0x29280d,_0x935f10){const _0x4cb19d=_0xbc5e4e;return _0x288c05[_0x4cb19d(0x17e)](_0x4e9fe3['tag'],_0x44cb2d(_0x44cb2d({'key':_0x3f8040},_0x549e9d(_0x4e9fe3,_0x13fe09,_0x935f10)),_0x29280d),(_0x26818b(_0x4e9fe3,_0x13fe09)[_0x4cb19d(0x1f5)]||[])['map'](function(_0x563ad5,_0x2c08f4){const _0x3540ac=_0x4cb19d;return _0x482037(_0x563ad5,''[_0x3540ac(0x2b4)](_0x3f8040,'-')[_0x3540ac(0x2b4)](_0x4e9fe3[_0x3540ac(0x227)],'-')[_0x3540ac(0x2b4)](_0x2c08f4),_0x13fe09,void 0x0,_0x935f10);}));}function _0x549e9d(_0x3a89bf,_0x8bd775,_0x345e6f){const _0x2d7d86=_0xbc5e4e;var _0x1e5a0b=_0x44cb2d({},_0x3a89bf['attrs']);_0x345e6f!=null&&_0x345e6f[_0x2d7d86(0x2e4)]&&_0x1e5a0b[_0x2d7d86(0x17f)]==='colorChannel1'&&(_0x1e5a0b[_0x2d7d86(0x17f)]=_0x345e6f[_0x2d7d86(0x2e4)]),_0x3a89bf['tag']==='mask'&&_0x1e5a0b['id']&&(_0x1e5a0b['id']=_0x1e5a0b['id']+_0x8bd775[_0x2d7d86(0x345)]),Object['entries'](_0x1e5a0b)[_0x2d7d86(0x31c)](function(_0x2fc6cc){const _0x49b07e=_0x2d7d86;var _0x28ff1a=_0x2fc6cc[0x0],_0x47d6a3=_0x2fc6cc[0x1];_0x28ff1a===_0x49b07e(0x2a4)&&typeof _0x47d6a3==_0x49b07e(0x354)&&(_0x1e5a0b[_0x28ff1a]=_0x47d6a3[_0x49b07e(0x25a)](/url\(#(.*)\)/,_0x49b07e(0x1f4)[_0x49b07e(0x2b4)](_0x8bd775[_0x49b07e(0x345)],')')));});var _0x445e20=_0x8bd775[_0x2d7d86(0x3af)];return!_0x445e20||_0x445e20[_0x2d7d86(0x299)]===0x0||(_0x3a89bf[_0x2d7d86(0x227)]===_0x2d7d86(0x279)&&_0x1e5a0b[_0x2d7d86(0x2bb)]&&(_0x1e5a0b[_0x2d7d86(0x2bb)]=_0x1e5a0b[_0x2d7d86(0x2bb)]+_0x8bd775['idSuffix']),Object['entries'](_0x1e5a0b)[_0x2d7d86(0x31c)](function(_0x3c826c){const _0x4fa670=_0x2d7d86;var _0x2f45b1=_0x3c826c[0x0],_0x47bb3c=_0x3c826c[0x1];typeof _0x47bb3c==_0x4fa670(0x354)&&(_0x1e5a0b[_0x2f45b1]=_0x47bb3c[_0x4fa670(0x25a)](/url\(#(.*)\)/,_0x4fa670(0x1f4)['concat'](_0x8bd775[_0x4fa670(0x345)],')')));})),_0x1e5a0b;}function _0x26818b(_0x1fffa8,_0x2ddb84){const _0x13edd0=_0xbc5e4e;var _0x20aa16,_0x1140d7=_0x2ddb84[_0x13edd0(0x3af)];return!_0x1140d7||_0x1140d7[_0x13edd0(0x299)]===0x0?_0x1fffa8:_0x1fffa8[_0x13edd0(0x227)]===_0x13edd0(0x311)&&(!((_0x20aa16=_0x1fffa8['children'])===null||_0x20aa16===void 0x0)&&_0x20aa16[_0x13edd0(0x299)])?_0x44cb2d(_0x44cb2d({},_0x1fffa8),{'children':_0x1fffa8[_0x13edd0(0x1f5)][_0x13edd0(0x348)](function(_0x32a6fd){const _0x5e3ceb=_0x13edd0;return typeof _0x32a6fd['attrs']['id']=='string'&&_0x1140d7&&_0x1140d7[_0x5e3ceb(0x2af)](_0x32a6fd[_0x5e3ceb(0x3e8)]['id'])?_0x44cb2d(_0x44cb2d({},_0x32a6fd),{'attrs':_0x44cb2d(_0x44cb2d({},_0x32a6fd['attrs']),{'id':_0x32a6fd['attrs']['id']+_0x2ddb84[_0x5e3ceb(0x345)]})}):_0x32a6fd;})}):_0x1fffa8;}function _0x135256(){const _0x445069=_0xbc5e4e;return Math['random']()[_0x445069(0x381)](0x24)[_0x445069(0x32a)](0x2,0x8);}_0x47f68c[_0xbc5e4e(0x2ad)]=_0xbc5e4e(0x2e7);var _0x582f13={'tag':_0xbc5e4e(0x2c8),'attrs':{'xmlns':_0xbc5e4e(0x208),'fill':_0xbc5e4e(0x3de),'viewBox':_0xbc5e4e(0x33c),'width':_0xbc5e4e(0x1a3),'height':_0xbc5e4e(0x1a3)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc5e4e(0x36d)},'children':[{'tag':_0xbc5e4e(0x30b),'attrs':{'stroke':_0xbc5e4e(0x1dc),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0xbc5e4e(0x2f2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xbc5e4e(0x22d),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0xbc5e4e(0x3e9),'d':_0xbc5e4e(0x3ab)}}]}]}],'defIds':[_0xbc5e4e(0x1ff)]},_0x5a1fb0=_0x288c05['forwardRef'](function(_0x5363da,_0x3c6dea){const _0x498d25=_0xbc5e4e;return _0x288c05['createElement'](_0x47f68c,Object[_0x498d25(0x27c)]({},_0x5363da,{'id':_0x498d25(0x337),'ref':_0x3c6dea,'icon':_0x582f13}));});_0x5a1fb0[_0xbc5e4e(0x2ad)]='OffLineIcon';var _0xac59d9={'tag':_0xbc5e4e(0x2c8),'attrs':{'xmlns':_0xbc5e4e(0x208),'fill':'none','viewBox':_0xbc5e4e(0x22f),'width':'1em','height':_0xbc5e4e(0x1a3)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc5e4e(0x263)},'children':[{'tag':_0xbc5e4e(0x30b),'attrs':{'stroke':_0xbc5e4e(0x1dc),'d':_0xbc5e4e(0x293),'strokeLinecap':'round','strokeLinejoin':_0xbc5e4e(0x2f2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbc5e4e(0x2f7)},'children':[{'tag':'path','attrs':{'fill':_0xbc5e4e(0x3e9),'d':'M0\x200H16V16H0z','transform':_0xbc5e4e(0x327)}}]}]}],'defIds':[_0xbc5e4e(0x2f7)]},_0x278e89=_0x288c05['forwardRef'](function(_0x4ba51c,_0x4de7d7){const _0x3ae5fc=_0xbc5e4e;return _0x288c05[_0x3ae5fc(0x17e)](_0x47f68c,Object[_0x3ae5fc(0x27c)]({},_0x4ba51c,{'id':_0x3ae5fc(0x248),'ref':_0x4de7d7,'icon':_0xac59d9}));});_0x278e89['displayName']=_0xbc5e4e(0x231);function _0x43390d(_0xd76e99){const _0x460ab5=_0xbc5e4e;switch(_0xd76e99){case _0x494363[_0x460ab5(0x1c4)][_0x460ab5(0x23f)]:return'collabStatus.offline';case _0x494363[_0x460ab5(0x1c4)]['CONFLICT']:return _0x460ab5(0x281);case _0x494363[_0x460ab5(0x1c4)][_0x460ab5(0x211)]:return _0x460ab5(0x3e2);case _0x494363['CollaborationStatus'][_0x460ab5(0x199)]:return'collabStatus.notCollab';case _0x494363['CollaborationStatus'][_0x460ab5(0x35e)]:case _0x494363[_0x460ab5(0x1c4)][_0x460ab5(0x277)]:return'collabStatus.syncing';case _0x494363[_0x460ab5(0x1c4)]['SYNCED']:case _0x494363[_0x460ab5(0x1c4)][_0x460ab5(0x1ae)]:return _0x460ab5(0x28d);}}function _0xafe174(_0x234e5f){const _0x3935af=_0xbc5e4e,{status$:_0x12722c}=_0x234e5f,_0x772eaf=_0x4ccf9e[_0x3935af(0x269)](_0x12722c,_0x494363[_0x3935af(0x1c4)]['NOT_COLLAB']),_0x3ce6f4=_0x4ccf9e[_0x3935af(0x167)](_0x2c7269[_0x3935af(0x3d9)]),_0xf50ebb=_0x4ccf9e[_0x3935af(0x167)](_0x494363[_0x3935af(0x1b1)]),_0x5cef9a=_0x772eaf!==_0x494363[_0x3935af(0x1c4)]['OFFLINE'],_0x21181a=_0x3ce6f4['t'](_0x43390d(_0x772eaf)),_0x44cb22=_0x5cef9a?_0x19bcf8['jsx'](_0x278e89,{}):_0x19bcf8[_0x3935af(0x36e)](_0x5a1fb0,{}),_0x5b37c7=_0x288c05['useCallback'](()=>{const _0x5dc4d0=_0x3935af;_0x5cef9a||_0xf50ebb[_0x5dc4d0(0x31a)]();},[_0x5cef9a,_0xf50ebb]);function _0x101b19(){const _0x5054c6=_0x3935af;return _0x19bcf8['jsxs'](_0x5054c6(0x1c1),{'className':_0x5054c6(0x364),'onClick':_0x5b37c7,'children':[_0x19bcf8[_0x5054c6(0x36e)](_0x5054c6(0x1c1),{'className':_0x31d647[_0x5054c6(0x34e)](_0x5054c6(0x400),{'univer-text-green-500':_0x5cef9a,'univer-text-red-500':!_0x5cef9a}),'children':_0x44cb22}),_0x19bcf8[_0x5054c6(0x36e)](_0x5054c6(0x1c1),{'className':_0x5054c6(0x32f),'children':_0x21181a})]});}return _0x5cef9a?_0x101b19():_0x19bcf8[_0x3935af(0x36e)](_0x31d647['Tooltip'],{'title':_0x3ce6f4['t']('collab-client.tooltip.reconnect'),'children':_0x101b19()});}var _0x174fdd=Object[_0xbc5e4e(0x23c)],_0xdb350f=(_0x20a43c,_0x39a7d7,_0xdfe21f,_0x27a6fb)=>{const _0x3b702d=_0xbc5e4e;for(var _0x44d267=_0x27a6fb>0x1?void 0x0:_0x27a6fb?_0x174fdd(_0x39a7d7,_0xdfe21f):_0x39a7d7,_0x13abf0=_0x20a43c[_0x3b702d(0x299)]-0x1,_0x3cda34;_0x13abf0>=0x0;_0x13abf0--)(_0x3cda34=_0x20a43c[_0x13abf0])&&(_0x44d267=_0x3cda34(_0x44d267)||_0x44d267);return _0x44d267;},_0x843c00=(_0x2f5c86,_0x29121c)=>(_0x361fd6,_0x3ab310)=>_0x29121c(_0x361fd6,_0x3ab310,_0x2f5c86);_0x4249ec['DesktopCollaborationStatusDisplayController']=class extends _0x2c7269[_0xbc5e4e(0x285)]{constructor(_0x28635f,_0x491114,_0x43b5e2,_0x28845e){const _0x441282=_0xbc5e4e;super(),_0x4cb7e1(this,_0x441282(0x24b),new _0x59059a[(_0x441282(0x2fb))](_0x494363[_0x441282(0x1c4)]['NOT_COLLAB'])),(this[_0x441282(0x1ee)]=_0x28635f,this['_injector']=_0x491114,this[_0x441282(0x36b)]=_0x43b5e2,this['_uiPartsService']=_0x28845e,this[_0x441282(0x182)](),this['_initStatusListener']());}[_0xbc5e4e(0x383)](){const _0x54e039=_0xbc5e4e;this['disposeWithMe'](this[_0x54e039(0x1ee)][_0x54e039(0x1d4)]['pipe'](_0x59059a['switchMap'](()=>{const _0x50b31b=_0x54e039,_0x284911=this['_univerInstanceService']['getFocusedUnit']();return _0x284911?this[_0x50b31b(0x36b)][_0x50b31b(0x2c4)](_0x284911[_0x50b31b(0x1b5)]()):_0x59059a['of'](null);}),_0x59059a[_0x54e039(0x3ec)](_0x2ecbd4=>_0x2ecbd4?_0x2ecbd4[_0x54e039(0x2aa)]:_0x59059a['of'](_0x494363[_0x54e039(0x1c4)][_0x54e039(0x199)])))[_0x54e039(0x20f)](_0x1e68ad=>{const _0x533654=_0x54e039;this['_status$'][_0x533654(0x33e)](_0x1e68ad);}));}[_0xbc5e4e(0x182)](){const _0x40decd=_0xbc5e4e;this[_0x40decd(0x1e1)](this['_uiPartsService'][_0x40decd(0x251)](_0x4ccf9e[_0x40decd(0x3cf)]['HEADER_MENU'],()=>_0x4ccf9e[_0x40decd(0x19d)](_0x5b0733({'status$':this['_status$']['asObservable']()}),this[_0x40decd(0x226)])));}},_0x4249ec['DesktopCollaborationStatusDisplayController']=_0xdb350f([_0x843c00(0x0,_0x2c7269[_0xbc5e4e(0x237)]),_0x843c00(0x1,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269[_0xbc5e4e(0x3d6)])),_0x843c00(0x2,_0x2c7269[_0xbc5e4e(0x344)](_0x494363['CollaborationController'])),_0x843c00(0x3,_0x4ccf9e['IUIPartsService'])],_0x4249ec[_0xbc5e4e(0x3bb)]);function _0x5b0733(_0x2a2f90){const {status$:_0x1897e2}=_0x2a2f90;return function(){const _0x4bbcaa=_0x5307;return _0x19bcf8[_0x4bbcaa(0x36e)](_0xafe174,{'status$':_0x1897e2});};}var _0x54789b=Object[_0xbc5e4e(0x23c)],_0x1211b2=(_0x1594e0,_0x2a3943,_0x173bde,_0x5f23b4)=>{const _0x3ac89f=_0xbc5e4e;for(var _0x25af29=_0x5f23b4>0x1?void 0x0:_0x5f23b4?_0x54789b(_0x2a3943,_0x173bde):_0x2a3943,_0xb19236=_0x1594e0[_0x3ac89f(0x299)]-0x1,_0x339d33;_0xb19236>=0x0;_0xb19236--)(_0x339d33=_0x1594e0[_0xb19236])&&(_0x25af29=_0x339d33(_0x25af29)||_0x25af29);return _0x25af29;},_0x58f42d=(_0x289c9b,_0x375763)=>(_0x41088b,_0x437ffb)=>_0x375763(_0x41088b,_0x437ffb,_0x289c9b);let _0x1c1eb0=class extends _0x2c7269[_0xbc5e4e(0x285)]{constructor(_0x3f29de,_0x15dece,_0x249370,_0x398b47,_0x461523,_0x3d7cda){const _0x492676=_0xbc5e4e;super(),this[_0x492676(0x190)]=_0x3f29de,this['_localCacheService']=_0x15dece,this[_0x492676(0x2b2)]=_0x249370,this['_messageService']=_0x398b47,this[_0x492676(0x409)]=_0x461523,this[_0x492676(0x2e8)]=_0x3d7cda,this[_0x492676(0x372)](),this[_0x492676(0x1ba)]();}['_setupBeforeClosingHandler'](){const _0x29ea9c=_0xbc5e4e;this[_0x29ea9c(0x1e1)](this['_beforeCloseService'][_0x29ea9c(0x16b)](()=>{const _0x4fc11a=_0x29ea9c;if(this[_0x4fc11a(0x16c)][_0x4fc11a(0x37b)]['size'])return this[_0x4fc11a(0x2e8)]['t'](_0x4fc11a(0x3eb));}));}[_0xbc5e4e(0x1ba)](){const _0x38d05f=_0xbc5e4e;this[_0x38d05f(0x1e1)](this['_collaborationUIEventService']['event$'][_0x38d05f(0x20f)](_0x436479=>{const _0x118639=_0x38d05f;_0x436479['id']===_0x494363[_0x118639(0x27a)][_0x118639(0x217)]&&this['_messageService'][_0x118639(0x394)]({'type':_0x31d647[_0x118639(0x36c)][_0x118639(0x1aa)],'content':this[_0x118639(0x2e8)]['t']('collaboration.single-unit.warning')}),_0x436479['id']===_0x494363[_0x118639(0x27a)][_0x118639(0x28a)]&&this[_0x118639(0x3dc)][_0x118639(0x394)]({'type':_0x31d647[_0x118639(0x36c)][_0x118639(0x1aa)],'content':this['_localeService']['t'](_0x118639(0x39c))}),_0x436479['id']===_0x494363[_0x118639(0x27a)][_0x118639(0x2c7)]&&this[_0x118639(0x409)][_0x118639(0x394)]({'title':this[_0x118639(0x2e8)]['t'](_0x118639(0x210)),'content':this[_0x118639(0x2e8)]['t'](_0x118639(0x200)),'type':_0x118639(0x3bc),'duration':0x0}),_0x436479['id']===_0x494363[_0x118639(0x27a)]['CONFLICT']&&this['_messageService'][_0x118639(0x394)]({'type':_0x31d647[_0x118639(0x36c)][_0x118639(0x3fd)],'content':this[_0x118639(0x2e8)]['t'](_0x118639(0x39c))+'('+_0x436479[_0x118639(0x2a1)]+')'}),_0x436479['id']===_0x494363[_0x118639(0x27a)]['JOIN_ROOM_FAILED']&&this[_0x118639(0x3dc)][_0x118639(0x394)]({'type':_0x31d647['MessageType'][_0x118639(0x1aa)],'content':this[_0x118639(0x2e8)]['t'](_0x436479[_0x118639(0x2a1)]||'')}),_0x436479['id']===_0x494363[_0x118639(0x27a)][_0x118639(0x377)]&&this[_0x118639(0x3dc)][_0x118639(0x394)]({'type':_0x31d647[_0x118639(0x36c)][_0x118639(0x1aa)],'content':this['_localeService']['t']('session.will-retry')}),_0x436479['id']===_0x494363[_0x118639(0x27a)][_0x118639(0x3ba)]&&this[_0x118639(0x3dc)]['show']({'type':_0x31d647[_0x118639(0x36c)][_0x118639(0x3fd)],'content':this[_0x118639(0x2e8)]['t'](_0x118639(0x3b4))}),_0x436479['id']===_0x494363[_0x118639(0x27a)][_0x118639(0x203)]&&this[_0x118639(0x3dc)][_0x118639(0x394)]({'type':_0x31d647[_0x118639(0x36c)]['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x1c1eb0=_0x1211b2([_0x58f42d(0x0,_0x4ccf9e[_0xbc5e4e(0x275)]),_0x58f42d(0x1,_0x494363[_0xbc5e4e(0x1c6)]),_0x58f42d(0x2,_0x2c7269[_0xbc5e4e(0x344)](_0x494363['CollaborationUIEventService'])),_0x58f42d(0x3,_0x4ccf9e[_0xbc5e4e(0x3f9)]),_0x58f42d(0x4,_0x4ccf9e[_0xbc5e4e(0x240)]),_0x58f42d(0x5,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269[_0xbc5e4e(0x3d9)]))],_0x1c1eb0);const _0x201696='collaboration-client-ui.config',_0x2cb2e7={},_0x1814d6=_0x2c7269['createIdentifier'](_0xbc5e4e(0x2d4));var _0x5ade9d=Object['getOwnPropertyDescriptor'],_0x1565e5=(_0x5502f9,_0x51df7b,_0x1c4a37,_0x36feaa)=>{const _0x3d2430=_0xbc5e4e;for(var _0x3e94d4=_0x36feaa>0x1?void 0x0:_0x36feaa?_0x5ade9d(_0x51df7b,_0x1c4a37):_0x51df7b,_0x3d9b9a=_0x5502f9[_0x3d2430(0x299)]-0x1,_0x412904;_0x3d9b9a>=0x0;_0x3d9b9a--)(_0x412904=_0x5502f9[_0x3d9b9a])&&(_0x3e94d4=_0x412904(_0x3e94d4)||_0x3e94d4);return _0x3e94d4;},_0x55f82f=(_0x21800b,_0x21d93f)=>(_0x52fc2a,_0xf2c227)=>_0x21d93f(_0x52fc2a,_0xf2c227,_0x21800b);_0x4249ec[_0xbc5e4e(0x1d2)]=class extends _0x2c7269['RxDisposable']{constructor(_0x2c5e96,_0x212437,_0x486a54,_0x6b34d1,_0x42c986){const _0x4ba7a1=_0xbc5e4e;super(),this['_urlService']=_0x2c5e96,this['_logService']=_0x212437,this[_0x4ba7a1(0x272)]=_0x486a54,this['_dataLoaderService']=_0x6b34d1,_0x42c986?_0x42c986==null||_0x42c986[_0x4ba7a1(0x276)]()[_0x4ba7a1(0x2a5)](()=>this['_init']()):(this[_0x4ba7a1(0x18e)][_0x4ba7a1(0x256)](_0x4ba7a1(0x31e),_0x4ba7a1(0x2be)),this['_init']());}async[_0xbc5e4e(0x2dc)](){const _0x83b76c=_0xbc5e4e,_0x521760=this['_urlService']['getParam'](_0x83b76c(0x196)),_0x1a0bca=this[_0x83b76c(0x169)]['getParam'](_0x83b76c(0x2e6)),_0x39722c=this['_urlService'][_0x83b76c(0x303)](_0x83b76c(0x362));if(!_0x521760||!_0x1a0bca){this[_0x83b76c(0x18e)][_0x83b76c(0x256)]('[CollaborationDataLoaderController]',_0x83b76c(0x23e));return;}const _0xd14803=await this[_0x83b76c(0x3fa)]['loadUnit'](_0x521760,Number(_0x1a0bca),_0x39722c);_0xd14803&&_0xd14803 instanceof _0x2c7269[_0x83b76c(0x2e9)]&&this[_0x83b76c(0x1c2)](_0xd14803);}async[_0xbc5e4e(0x1c2)](_0x1f731d){const _0x2819fe=_0xbc5e4e;await this[_0x2819fe(0x243)](_0x1f731d),_0x1f731d[_0x2819fe(0x202)]['pipe'](_0x59059a['takeUntil'](this['dispose$']))[_0x2819fe(0x20f)](_0x5eed62=>{_0x5eed62&&this['_updateURLWithCurrentState'](_0x5eed62);}),this['_urlService'][_0x2819fe(0x387)][_0x2819fe(0x253)](_0x59059a[_0x2819fe(0x39d)](this[_0x2819fe(0x254)]))[_0x2819fe(0x20f)](()=>this['_updateSubUnitFromURLParams'](_0x1f731d));}[_0xbc5e4e(0x20a)](_0x2e63d4,_0x368944=!0x1){const _0x2de8f4=_0xbc5e4e,_0x264e98=this[_0x2de8f4(0x169)]['getParam'](_0x2de8f4(0x362));_0x2e63d4[_0x2de8f4(0x173)]()!==_0x264e98&&this[_0x2de8f4(0x169)]['setParam'](_0x2de8f4(0x362),_0x2e63d4[_0x2de8f4(0x173)](),_0x368944);}async[_0xbc5e4e(0x243)](_0x189fd){const _0x156198=_0xbc5e4e;var _0x36a0c0;const _0x33eca7=this['_urlService'][_0x156198(0x303)]('subunit');if(!_0x33eca7||!_0x189fd[_0x156198(0x2b6)](_0x33eca7)){const _0x576c29=_0x189fd[_0x156198(0x212)]()[0x0],_0x4e4b18=_0x189fd['getSheetBySheetId'](_0x576c29);if(!_0x4e4b18)return;this[_0x156198(0x20a)](_0x4e4b18,!0x0),await this[_0x156198(0x272)]['executeCommand'](_0x5cfe1c[_0x156198(0x3fb)]['id'],{'unitId':_0x189fd['getUnitId'](),'subUnitId':_0x576c29});return;}((_0x36a0c0=_0x189fd[_0x156198(0x1b4)]())==null?void 0x0:_0x36a0c0[_0x156198(0x173)]())!==_0x33eca7&&await this[_0x156198(0x272)][_0x156198(0x191)](_0x5cfe1c['SetWorksheetActivateCommand']['id'],{'unitId':_0x189fd[_0x156198(0x1b5)](),'subUnitId':_0x33eca7});}},_0x4249ec[_0xbc5e4e(0x1d2)]=_0x1565e5([_0x55f82f(0x0,_0x1814d6),_0x55f82f(0x1,_0x2c7269[_0xbc5e4e(0x402)]),_0x55f82f(0x2,_0x2c7269[_0xbc5e4e(0x1e0)]),_0x55f82f(0x3,_0x2c7269[_0xbc5e4e(0x344)](_0x494363['DataLoaderService'])),_0x55f82f(0x4,_0x2c7269[_0xbc5e4e(0x380)](_0x27b1a0[_0xbc5e4e(0x328)]))],_0x4249ec[_0xbc5e4e(0x1d2)]);var _0x4a9cfd=Object[_0xbc5e4e(0x23c)],_0x2feae4=(_0x364844,_0x5d389f,_0x23d3f0,_0x1b0f51)=>{for(var _0xcb08b1=_0x1b0f51>0x1?void 0x0:_0x1b0f51?_0x4a9cfd(_0x5d389f,_0x23d3f0):_0x5d389f,_0x512d34=_0x364844['length']-0x1,_0x1f4410;_0x512d34>=0x0;_0x512d34--)(_0x1f4410=_0x364844[_0x512d34])&&(_0xcb08b1=_0x1f4410(_0xcb08b1)||_0xcb08b1);return _0xcb08b1;},_0x9520f6=(_0x60a50a,_0x596805)=>(_0x3b03d9,_0x14bbfc)=>_0x596805(_0x3b03d9,_0x14bbfc,_0x60a50a);let _0x48be19=class{constructor(_0x592cc4,_0x429d85,_0x1b8425){const _0x1319e7=_0xbc5e4e;this[_0x1319e7(0x226)]=_0x592cc4,this[_0x1319e7(0x374)]=_0x429d85,this[_0x1319e7(0x353)]=_0x1b8425;}[_0xbc5e4e(0x238)](_0x2d3c21){const _0x69a2b5=_0xbc5e4e;this[_0x69a2b5(0x361)](_0x2d3c21),this[_0x69a2b5(0x346)](_0x2d3c21);}['transformRemoteChangeset'](_0x1ff211){const _0x2b11ee=_0xbc5e4e,{unitID:_0x15edd3}=_0x1ff211,_0x15e820=this[_0x2b11ee(0x353)]['getRenderById'](_0x15edd3)['with'](_0x1004b1['DocIMEInputManagerService']),{redoCache:_0x166df4}=_0x15e820[_0x2b11ee(0x1af)]();if(_0x166df4[_0x2b11ee(0x299)]===0x0)return _0x1ff211;let _0x5d9348=_0x2c7269[_0x2b11ee(0x1c9)][_0x2b11ee(0x184)](_0x1ff211[_0x2b11ee(0x331)][0x0]);for(let _0x1cc7e4=0x0;_0x1cc7e4<_0x166df4[_0x2b11ee(0x299)];_0x1cc7e4++){const _0xac839f={'id':_0x2b11ee(0x310),'params':{..._0x166df4[_0x1cc7e4]}},_0x549d07=this[_0x2b11ee(0x374)][_0x2b11ee(0x3c2)](_0x5d9348,_0xac839f,!0x1);if(_0x2f42e3[_0x2b11ee(0x3c6)](_0x549d07))throw _0x549d07[_0x2b11ee(0x3bc)];_0x5d9348=_0x549d07[_0x2b11ee(0x2c2)];}return{..._0x2c7269[_0x2b11ee(0x1c9)][_0x2b11ee(0x184)](_0x1ff211),'mutations':[_0x5d9348]};}[_0xbc5e4e(0x361)](_0x980eba){const _0x263a3e=_0xbc5e4e,{unitID:_0x526967}=_0x980eba,_0x4e2941=this[_0x263a3e(0x353)][_0x263a3e(0x370)](_0x526967)[_0x263a3e(0x166)](_0x1004b1['DocIMEInputManagerService']),{undoCache:_0x15a9db,redoCache:_0xbe2f73}=_0x4e2941[_0x263a3e(0x1af)]();if(_0x15a9db[_0x263a3e(0x299)]===0x0||_0xbe2f73[_0x263a3e(0x299)]===0x0)return;const _0x3be1d2=[],_0x2d8a53=[];let _0x4f9fd7=_0x2c7269[_0x263a3e(0x1c9)][_0x263a3e(0x184)](_0x980eba[_0x263a3e(0x331)][0x0]),_0x593dff=_0x2c7269['Tools']['deepClone'](_0x980eba['mutations'][0x0]);for(let _0x2bb6ad=_0x15a9db[_0x263a3e(0x299)]-0x1;_0x2bb6ad>=0x0;_0x2bb6ad--){const _0x2c66f4={'id':_0x263a3e(0x310),'params':{..._0x15a9db[_0x2bb6ad]}},_0x5db0a2={'id':_0x263a3e(0x310),'params':{..._0xbe2f73[_0x2bb6ad]}},_0x99ffb1=this[_0x263a3e(0x374)][_0x263a3e(0x3c2)](_0x4f9fd7,_0x2c66f4,!0x1),_0x5a7416=this[_0x263a3e(0x374)][_0x263a3e(0x3c2)](_0x593dff,_0x5db0a2,!0x1);if(_0x2f42e3[_0x263a3e(0x3c6)](_0x99ffb1))throw _0x99ffb1['error'];if(_0x2f42e3[_0x263a3e(0x3c6)](_0x5a7416))throw _0x5a7416[_0x263a3e(0x3bc)];_0x3be1d2['unshift'](_0x99ffb1['m2Prime']['params']),_0x2d8a53[_0x263a3e(0x270)](_0x5a7416[_0x263a3e(0x1a8)][_0x263a3e(0x35a)]),_0x4f9fd7=_0x99ffb1['m1Prime'],_0x593dff=_0x5a7416[_0x263a3e(0x2c2)];}_0x4e2941['setUndoRedoMutationParamsCache']({'undoCache':_0x3be1d2,'redoCache':_0x2d8a53});}[_0xbc5e4e(0x346)](_0x5af120){const _0x47da48=_0xbc5e4e,{unitID:_0x423522}=_0x5af120,_0x5b9372=this[_0x47da48(0x353)][_0x47da48(0x370)](_0x423522)[_0x47da48(0x166)](_0x1004b1['DocIMEInputManagerService']),_0x21ba49=_0x5b9372[_0x47da48(0x3c3)]();if(_0x21ba49==null)return;const _0x1f39f5=[{'id':_0x47da48(0x310),'params':{'unitId':_0x5af120['unitID'],'actions':null,'textRanges':[_0x21ba49]}}],_0xbf76fe=this['_transformService'][_0x47da48(0x1b8)](_0x5af120,_0x1f39f5);if(!_0x2f42e3[_0x47da48(0x36a)](_0xbf76fe))throw _0xbf76fe[_0x47da48(0x3bc)];const _0x298ef1=_0xbf76fe[_0x47da48(0x1a8)][0x0][_0x47da48(0x35a)]['textRanges'];Array[_0x47da48(0x34c)](_0x298ef1)&&_0x298ef1[_0x47da48(0x299)]&&_0x5b9372['setActiveRange'](_0x298ef1[0x0]);}};_0x48be19=_0x2feae4([_0x9520f6(0x0,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269[_0xbc5e4e(0x3d6)])),_0x9520f6(0x1,_0x2f42e3['ITransformService']),_0x9520f6(0x2,_0x592bb1[_0xbc5e4e(0x37f)])],_0x48be19);var _0x223b81=Object[_0xbc5e4e(0x23c)],_0x31cf61=(_0x331adb,_0x20a343,_0x48e523,_0x27ebc4)=>{const _0x44b80e=_0xbc5e4e;for(var _0x4e6f98=_0x27ebc4>0x1?void 0x0:_0x27ebc4?_0x223b81(_0x20a343,_0x48e523):_0x20a343,_0x430ddb=_0x331adb[_0x44b80e(0x299)]-0x1,_0x3d29fe;_0x430ddb>=0x0;_0x430ddb--)(_0x3d29fe=_0x331adb[_0x430ddb])&&(_0x4e6f98=_0x3d29fe(_0x4e6f98)||_0x4e6f98);return _0x4e6f98;},_0x46bb36=(_0x18124b,_0xdb5c7a)=>(_0x3a8183,_0x4339b0)=>_0xdb5c7a(_0x3a8183,_0x4339b0,_0x18124b);let _0x25bc81=class{constructor(_0x470995,_0x5911a5,_0x35d098){const _0x31356a=_0xbc5e4e;this[_0x31356a(0x226)]=_0x470995,this[_0x31356a(0x374)]=_0x5911a5,this[_0x31356a(0x2ea)]=_0x35d098;}[_0xbc5e4e(0x2b3)](_0x4bacb0){const _0x49e11b=_0xbc5e4e;this[_0x49e11b(0x1ef)](_0x4bacb0);}[_0xbc5e4e(0x2f5)](_0x16de6f){const _0x579fa1=_0xbc5e4e,{unitID:_0x352849}=_0x16de6f,{collaboration:_0x2444c1}=this[_0x579fa1(0x2ea)][_0x579fa1(0x31f)](_0x352849);if(_0x2444c1[_0x579fa1(0x299)]===0x0)return _0x16de6f;let _0x24ea78=_0x2c7269['Tools'][_0x579fa1(0x184)](_0x16de6f[_0x579fa1(0x331)][0x0]);for(let _0x2cdf2c=0x0;_0x2cdf2c<_0x2444c1[_0x579fa1(0x299)];_0x2cdf2c++){const _0x184ef2={'id':_0x579fa1(0x310),'params':{'unitId':_0x2444c1[_0x2cdf2c][_0x579fa1(0x34d)],..._0x2444c1[_0x2cdf2c]['redoState']}},_0x395ca8=this[_0x579fa1(0x374)][_0x579fa1(0x3c2)](_0x24ea78,_0x184ef2,!0x1);if(_0x2f42e3[_0x579fa1(0x3c6)](_0x395ca8))throw _0x395ca8[_0x579fa1(0x3bc)];_0x24ea78=_0x395ca8[_0x579fa1(0x2c2)];}return{..._0x2c7269['Tools']['deepClone'](_0x16de6f),'mutations':[_0x24ea78]};}[_0xbc5e4e(0x1ef)](_0x2dafb6){const _0x2e5690=_0xbc5e4e,{unitID:_0xbfd0b2}=_0x2dafb6,{history:_0x9c51f1,collaboration:_0x3197bc}=this[_0x2e5690(0x2ea)][_0x2e5690(0x31f)](_0xbfd0b2);if(_0x9c51f1[_0x2e5690(0x299)]===0x0&&_0x3197bc[_0x2e5690(0x299)]===0x0)return;const _0x1553ba=[],_0x5a87fe=[];let _0x3c1d26=_0x2c7269[_0x2e5690(0x1c9)][_0x2e5690(0x184)](_0x2dafb6[_0x2e5690(0x331)][0x0]),_0x32cf31=_0x2c7269[_0x2e5690(0x1c9)][_0x2e5690(0x184)](_0x2dafb6['mutations'][0x0]);for(let _0x5dd753=_0x9c51f1[_0x2e5690(0x299)]-0x1;_0x5dd753>=0x0;_0x5dd753--){const _0xed4553={'id':_0x2e5690(0x310),'params':{'unitId':_0x9c51f1[_0x5dd753][_0x2e5690(0x34d)],..._0x9c51f1[_0x5dd753][_0x2e5690(0x3f0)]}},_0x5a79b9={'id':_0x2e5690(0x310),'params':{'unitId':_0x9c51f1[_0x5dd753]['unitId'],..._0x9c51f1[_0x5dd753][_0x2e5690(0x2e5)]}},_0x203efc=this['_transformService'][_0x2e5690(0x3c2)](_0x3c1d26,_0xed4553,!0x1),_0x144ff1=this['_transformService'][_0x2e5690(0x3c2)](_0x32cf31,_0x5a79b9,!0x1);if(_0x2f42e3['isTransformMutationFailure'](_0x203efc))throw _0x203efc[_0x2e5690(0x3bc)];if(_0x2f42e3['isTransformMutationFailure'](_0x144ff1))throw _0x144ff1['error'];_0x1553ba['unshift']({..._0x9c51f1[_0x5dd753],'undoState':_0x203efc[_0x2e5690(0x1a8)]['params'],'redoState':_0x144ff1['m2Prime'][_0x2e5690(0x35a)]}),_0x3c1d26=_0x203efc[_0x2e5690(0x2c2)],_0x32cf31=_0x144ff1[_0x2e5690(0x2c2)];}_0x3c1d26=_0x2c7269[_0x2e5690(0x1c9)][_0x2e5690(0x184)](_0x2dafb6[_0x2e5690(0x331)][0x0]),_0x32cf31=_0x2c7269[_0x2e5690(0x1c9)][_0x2e5690(0x184)](_0x2dafb6[_0x2e5690(0x331)][0x0]);for(let _0x1b7866=_0x3197bc[_0x2e5690(0x299)]-0x1;_0x1b7866>=0x0;_0x1b7866--){const _0x51d757={'id':_0x2e5690(0x310),'params':{'unitId':_0x3197bc[_0x1b7866][_0x2e5690(0x34d)],..._0x3197bc[_0x1b7866][_0x2e5690(0x3f0)]}},_0x31e46f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3197bc[_0x1b7866]['unitId'],..._0x3197bc[_0x1b7866]['redoState']}},_0x54cb90=this['_transformService'][_0x2e5690(0x3c2)](_0x3c1d26,_0x51d757,!0x1),_0x16a243=this['_transformService']['transformMutation'](_0x32cf31,_0x31e46f,!0x1);if(_0x2f42e3[_0x2e5690(0x3c6)](_0x54cb90))throw _0x54cb90[_0x2e5690(0x3bc)];if(_0x2f42e3['isTransformMutationFailure'](_0x16a243))throw _0x16a243[_0x2e5690(0x3bc)];_0x5a87fe[_0x2e5690(0x270)]({..._0x3197bc[_0x1b7866],'undoState':_0x54cb90['m2Prime'][_0x2e5690(0x35a)],'redoState':_0x16a243['m2Prime'][_0x2e5690(0x35a)]}),_0x3c1d26=_0x54cb90['m1Prime'],_0x32cf31=_0x16a243[_0x2e5690(0x2c2)];}this[_0x2e5690(0x2ea)][_0x2e5690(0x194)](_0xbfd0b2,{'history':_0x1553ba,'collaboration':_0x5a87fe});}};_0x25bc81=_0x31cf61([_0x46bb36(0x0,_0x2c7269['Inject'](_0x2c7269[_0xbc5e4e(0x3d6)])),_0x46bb36(0x1,_0x2f42e3['ITransformService']),_0x46bb36(0x2,_0x2c7269[_0xbc5e4e(0x344)](_0x1004b1[_0xbc5e4e(0x340)]))],_0x25bc81);var _0x1927b7=Object[_0xbc5e4e(0x23c)],_0x58bc02=(_0x2abf14,_0x39fef4,_0x14d11d,_0x158f32)=>{const _0x465bc5=_0xbc5e4e;for(var _0xfdb0af=_0x158f32>0x1?void 0x0:_0x158f32?_0x1927b7(_0x39fef4,_0x14d11d):_0x39fef4,_0x61fb4c=_0x2abf14[_0x465bc5(0x299)]-0x1,_0x550364;_0x61fb4c>=0x0;_0x61fb4c--)(_0x550364=_0x2abf14[_0x61fb4c])&&(_0xfdb0af=_0x550364(_0xfdb0af)||_0xfdb0af);return _0xfdb0af;},_0x4931ff=(_0x98de06,_0x395315)=>(_0x36d85c,_0x2b9d8b)=>_0x395315(_0x36d85c,_0x2b9d8b,_0x98de06);let _0x51727d=class{constructor(_0x5e2fa2,_0x53d49d){const _0x2ab857=_0xbc5e4e;this['_injector']=_0x5e2fa2,this[_0x2ab857(0x374)]=_0x53d49d;}['transformSelections'](_0x2261c3){const _0x5e0a94=_0xbc5e4e;var _0x503947;const _0x5e6e12=this['_injector']['get'](_0x413a2a[_0x5e0a94(0x170)]),_0x5dcb56=(_0x503947=_0x5e6e12['getDocRanges']())!=null?_0x503947:[];if(_0x5dcb56[_0x5e0a94(0x299)]===0x0)return;const _0x5d3d57=_0x2261c3[_0x5e0a94(0x379)],_0x65afc9=[{'id':_0x5e0a94(0x310),'params':{'unitId':_0x5d3d57,'actions':null,'textRanges':_0x5dcb56}}],_0x2089b5=this[_0x5e0a94(0x374)][_0x5e0a94(0x1b8)](_0x2261c3,_0x65afc9);if(!_0x2f42e3[_0x5e0a94(0x36a)](_0x2089b5))throw _0x2089b5[_0x5e0a94(0x3bc)];const _0x1cc040=_0x2089b5['m2Prime'][0x0][_0x5e0a94(0x35a)][_0x5e0a94(0x20c)];Array[_0x5e0a94(0x34c)](_0x1cc040)&&_0x1cc040['length']&&_0x5e6e12[_0x5e0a94(0x1c0)](_0x1cc040,{'unitId':_0x5d3d57,'subUnitId':_0x5d3d57},!0x1);}};_0x51727d=_0x58bc02([_0x4931ff(0x0,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269[_0xbc5e4e(0x3d6)])),_0x4931ff(0x1,_0x2f42e3[_0xbc5e4e(0x21a)])],_0x51727d);var _0xbdb7b7=Object['getOwnPropertyDescriptor'],_0x1f611d=(_0x53aad4,_0x14b3f8,_0x2a6d12,_0x371956)=>{const _0x38d6d9=_0xbc5e4e;for(var _0x3b22b7=_0x371956>0x1?void 0x0:_0x371956?_0xbdb7b7(_0x14b3f8,_0x2a6d12):_0x14b3f8,_0x56f6fe=_0x53aad4[_0x38d6d9(0x299)]-0x1,_0x259e62;_0x56f6fe>=0x0;_0x56f6fe--)(_0x259e62=_0x53aad4[_0x56f6fe])&&(_0x3b22b7=_0x259e62(_0x3b22b7)||_0x3b22b7);return _0x3b22b7;},_0xc6cfa4=(_0x386610,_0x54279d)=>(_0x3e22d0,_0x47cee9)=>_0x54279d(_0x3e22d0,_0x47cee9,_0x386610);let _0x54bff8=class extends _0x2c7269['Disposable']{constructor(_0x1761b9,_0x4ba90b,_0x48ec15,_0x71ce23,_0x381da0,_0xb6036c,_0x3802a2,_0x12e199){const _0x39fb65=_0xbc5e4e;super(),_0x4cb7e1(this,'_status$',new _0x59059a[(_0x39fb65(0x2fb))](_0x494363[_0x39fb65(0x1c4)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1761b9,this[_0x39fb65(0x36b)]=_0x4ba90b,this['_docTransformIMECacheService']=_0x48ec15,this['_docTransformStateCacheService']=_0x71ce23,this[_0x39fb65(0x1cf)]=_0x381da0,this[_0x39fb65(0x350)]=_0xb6036c,this[_0x39fb65(0x3dc)]=_0x3802a2,this[_0x39fb65(0x2e8)]=_0x12e199,this[_0x39fb65(0x192)]());}[_0xbc5e4e(0x192)](){const _0x297121=_0xbc5e4e;this[_0x297121(0x1e1)](this[_0x297121(0x36b)]['entityInit$']['subscribe'](_0x36fff8=>{const _0x38fc47=_0x297121,_0x5bb5a4=this[_0x38fc47(0x2ea)][_0x38fc47(0x3e6)][_0x38fc47(0x20f)](_0x230fac=>{const _0x4b327b=_0x38fc47;if(_0x230fac==null)return;const {unitId:_0x5ef568,redoState:_0x4d52e7,commandId:_0x25c48f}=_0x230fac;if(_0x5ef568!==_0x36fff8[_0x4b327b(0x379)])return;const _0x36f7c4={'id':_0x25c48f,'type':_0x2c7269[_0x4b327b(0x18d)]['MUTATION'],'params':{'unitId':_0x5ef568,'actions':_0x4d52e7[_0x4b327b(0x30f)],'textRanges':null}};_0x36fff8[_0x4b327b(0x1c5)](_0x36f7c4);});if(_0x36fff8[_0x38fc47(0x1e1)](_0x5bb5a4),_0x36fff8 instanceof _0x494363[_0x38fc47(0x1ad)]){const _0xc9a801={'onTransformIME':_0x49309e=>this['_docTransformIMECacheService'][_0x38fc47(0x238)](_0x49309e),'onTransformState':_0x53c25a=>this[_0x38fc47(0x1ab)][_0x38fc47(0x2b3)](_0x53c25a),'onTransformSelections':_0x6ad866=>this[_0x38fc47(0x1cf)][_0x38fc47(0x27d)](_0x6ad866),'onSyncEditingCollabCursor':_0x5b94e3=>this[_0x38fc47(0x350)]['syncEditingCollabCursor'](_0x5b94e3),'onTransformRemoteChangesetByIMECache':_0x922b2=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x922b2),'onTransformRemoteChangesetByStateCache':_0x2d5ece=>this[_0x38fc47(0x1ab)][_0x38fc47(0x2f5)](_0x2d5ece)};_0x36fff8[_0x38fc47(0x298)](_0xc9a801);}}));}};_0x54bff8=_0x1f611d([_0xc6cfa4(0x0,_0x2c7269['Inject'](_0x1004b1[_0xbc5e4e(0x340)])),_0xc6cfa4(0x1,_0x2c7269['Inject'](_0x494363[_0xbc5e4e(0x1d0)])),_0xc6cfa4(0x2,_0x2c7269[_0xbc5e4e(0x344)](_0x48be19)),_0xc6cfa4(0x3,_0x2c7269[_0xbc5e4e(0x344)](_0x25bc81)),_0xc6cfa4(0x4,_0x2c7269[_0xbc5e4e(0x344)](_0x51727d)),_0xc6cfa4(0x5,_0x2c7269['Inject'](_0x44a566)),_0xc6cfa4(0x6,_0x4ccf9e[_0xbc5e4e(0x3f9)]),_0xc6cfa4(0x7,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269[_0xbc5e4e(0x3d9)]))],_0x54bff8);var _0x248cb9=Object['getOwnPropertyDescriptor'],_0x345fdc=(_0x29c337,_0x57be8e,_0x2c530a,_0x4ffd18)=>{const _0x90b94=_0xbc5e4e;for(var _0x50ab6b=_0x4ffd18>0x1?void 0x0:_0x4ffd18?_0x248cb9(_0x57be8e,_0x2c530a):_0x57be8e,_0x1d986b=_0x29c337[_0x90b94(0x299)]-0x1,_0xfa74cf;_0x1d986b>=0x0;_0x1d986b--)(_0xfa74cf=_0x29c337[_0x1d986b])&&(_0x50ab6b=_0xfa74cf(_0x50ab6b)||_0x50ab6b);return _0x50ab6b;},_0x295ac0=(_0xc8cb61,_0x4a21e3)=>(_0x46fdb1,_0x28d0dd)=>_0x4a21e3(_0x46fdb1,_0x28d0dd,_0xc8cb61);let _0x280b45=class extends _0x2c7269[_0xbc5e4e(0x285)]{constructor(_0xbb49ea,_0x33e452,_0x3edeff){const _0x1f51c1=_0xbc5e4e;super(),_0x4cb7e1(this,_0x1f51c1(0x219),new Map()),_0x4cb7e1(this,_0x1f51c1(0x2a8),new Map()),_0x4cb7e1(this,_0x1f51c1(0x375),!0x1),(this[_0x1f51c1(0x309)]=_0xbb49ea,this[_0x1f51c1(0x37e)]=_0x33e452,this[_0x1f51c1(0x1a4)]=_0x3edeff);}['disableLocalCache'](){const _0x2aab69=_0xbc5e4e;this[_0x2aab69(0x375)]=!0x0;}['enableLocalCache'](){const _0x1bdb99=_0xbc5e4e;this[_0x1bdb99(0x375)]=!0x1;}get[_0xbc5e4e(0x37b)](){const _0x1e392f=_0xbc5e4e;return this[_0x1e392f(0x2a8)];}[_0xbc5e4e(0x257)](){const _0x1ff5d5=_0xbc5e4e;this[_0x1ff5d5(0x186)]()[_0x1ff5d5(0x2a5)](()=>super['dispose']());}async[_0xbc5e4e(0x2c9)](_0xe389cc){const _0x7f11c=_0xbc5e4e;return this[_0x7f11c(0x375)]?null:this['_localStorageService']['getItem'](_0x494363[_0x7f11c(0x3b1)](_0xe389cc));}async[_0xbc5e4e(0x2f3)](_0x1bb403,_0x3ded41){const _0x4eed8f=_0xbc5e4e;return!!this[_0x4eed8f(0x37e)][_0x4eed8f(0x3e3)](_0x1bb403,_0x3ded41);}[_0xbc5e4e(0x168)](_0x552f34,_0x36ba0a,_0x28383a,_0x2e316f){const _0x511259=_0xbc5e4e,_0x3e46e9=this[_0x511259(0x1a4)][_0x511259(0x3e4)](_0x552f34);this[_0x511259(0x219)][_0x511259(0x35c)](_0x552f34,{'unitID':_0x552f34,'type':_0x36ba0a,'awaitingChangeset':_0x28383a,'mutations':_0x2e316f,'rev':_0x3e46e9}),this[_0x511259(0x2a8)][_0x511259(0x284)](_0x552f34)||this[_0x511259(0x3cc)](_0x552f34);}[_0xbc5e4e(0x3cc)](_0x14060a){const _0x2c9a1=_0xbc5e4e,_0x4cb775=this[_0x2c9a1(0x406)]();_0x4cb775===0x0?this[_0x2c9a1(0x18a)](_0x14060a):this['_saveTaskMap'][_0x2c9a1(0x35c)](_0x14060a,setTimeout(()=>this[_0x2c9a1(0x18a)](_0x14060a),_0x4cb775));}['_getSaveTimeout'](){const _0x46ebd3=_0xbc5e4e;var _0x4aa4c3;return(_0x4aa4c3=this[_0x46ebd3(0x309)][_0x46ebd3(0x228)](_0x494363[_0x46ebd3(0x26c)]))!=null?_0x4aa4c3:_0x494363[_0x46ebd3(0x17d)];}['_saveCache'](_0x157473){const _0xe1221d=_0xbc5e4e,_0x1b5fcc=this[_0xe1221d(0x2a8)]['get'](_0x157473);return _0x1b5fcc!==void 0x0&&window[_0xe1221d(0x18b)](_0x1b5fcc),this[_0xe1221d(0x37e)][_0xe1221d(0x3e3)](_0x494363[_0xe1221d(0x3b1)](_0x157473),this[_0xe1221d(0x219)][_0xe1221d(0x2bd)](_0x157473))[_0xe1221d(0x2a5)](()=>this[_0xe1221d(0x2a8)][_0xe1221d(0x1b6)](_0x157473));}async[_0xbc5e4e(0x186)](){const _0x2525f8=_0xbc5e4e,_0x375caf=[];this['_saveTaskMap'][_0x2525f8(0x31c)]((_0x5e1347,_0x3a0414)=>{const _0xa55f2a=_0x2525f8;window[_0xa55f2a(0x18b)](_0x5e1347),_0x375caf[_0xa55f2a(0x371)](this[_0xa55f2a(0x18a)](_0x3a0414)[_0xa55f2a(0x2a5)](()=>{this['_saveTaskMap']['delete'](_0x3a0414);}));}),await Promise[_0x2525f8(0x314)](_0x375caf);}};_0x280b45=_0x345fdc([_0x295ac0(0x0,_0x2c7269[_0xbc5e4e(0x24a)]),_0x295ac0(0x1,_0x2c7269[_0xbc5e4e(0x181)]),_0x295ac0(0x2,_0x2c7269['Inject'](_0x2f42e3[_0xbc5e4e(0x1be)]))],_0x280b45);class _0x7bd465 extends _0x2c7269[_0xbc5e4e(0x391)]{constructor(){const _0x1232fe=_0xbc5e4e;super(),_0x4cb7e1(this,_0x1232fe(0x387)),this[_0x1232fe(0x387)]=_0x59059a[_0x1232fe(0x1d7)](window,_0x1232fe(0x352))[_0x1232fe(0x253)](_0x59059a[_0x1232fe(0x39d)](this[_0x1232fe(0x254)]),_0x59059a[_0x1232fe(0x245)](0x1),_0x59059a[_0x1232fe(0x1e8)](void 0x0));}[_0xbc5e4e(0x24e)](_0x398d3a,_0x4575a1,_0x11b814=!0x1){const _0x1c54b0=_0xbc5e4e,_0x27f331=new URL(window[_0x1c54b0(0x38f)][_0x1c54b0(0x3b9)]);_0x27f331[_0x1c54b0(0x363)]['set'](_0x398d3a,_0x4575a1),_0x11b814?window[_0x1c54b0(0x3b0)]['replaceState']('','',_0x27f331[_0x1c54b0(0x381)]()):window[_0x1c54b0(0x3b0)][_0x1c54b0(0x1d8)]('','',_0x27f331[_0x1c54b0(0x381)]());}['removeParam'](_0xf7e2d0,_0x5adf33=!0x1){const _0x261dbc=_0xbc5e4e,_0x25f4dc=new URL(window[_0x261dbc(0x38f)]['href']);_0x25f4dc[_0x261dbc(0x363)][_0x261dbc(0x1b6)](_0xf7e2d0),_0x5adf33?window[_0x261dbc(0x3b0)][_0x261dbc(0x1cb)]('','',_0x25f4dc[_0x261dbc(0x381)]()):window[_0x261dbc(0x3b0)]['pushState']('','',_0x25f4dc[_0x261dbc(0x381)]());}[_0xbc5e4e(0x303)](_0x2d3694){const _0x344539=_0xbc5e4e;var _0x34dd80;return(_0x34dd80=new URL(window[_0x344539(0x38f)][_0x344539(0x3b9)])['searchParams'][_0x344539(0x2bd)](_0x2d3694))!=null?_0x34dd80:void 0x0;}}var _0xb10eee=Object[_0xbc5e4e(0x3cb)],_0x8285c=Object[_0xbc5e4e(0x23c)],_0x255d32=(_0x728ae5,_0x27f8c8,_0x2e245e)=>_0x27f8c8 in _0x728ae5?_0xb10eee(_0x728ae5,_0x27f8c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e245e}):_0x728ae5[_0x27f8c8]=_0x2e245e,_0x13c5b=(_0x5ac2be,_0x39357d,_0x4e7a45,_0x2bae63)=>{const _0x2d6c5b=_0xbc5e4e;for(var _0x48d9f8=_0x2bae63>0x1?void 0x0:_0x2bae63?_0x8285c(_0x39357d,_0x4e7a45):_0x39357d,_0x2e9864=_0x5ac2be[_0x2d6c5b(0x299)]-0x1,_0x1057dc;_0x2e9864>=0x0;_0x2e9864--)(_0x1057dc=_0x5ac2be[_0x2e9864])&&(_0x48d9f8=_0x1057dc(_0x48d9f8)||_0x48d9f8);return _0x48d9f8;},_0x3cb1d5=(_0x3e2131,_0x444f1f)=>(_0x473549,_0x193e71)=>_0x444f1f(_0x473549,_0x193e71,_0x3e2131),_0x2f118b=(_0xc04583,_0x3efd98,_0x19d1c6)=>_0x255d32(_0xc04583,_0x3efd98+'',_0x19d1c6);const _0x59c4d9=_0xbc5e4e(0x1cc);_0x4249ec[_0xbc5e4e(0x2e3)]=class extends _0x2c7269[_0xbc5e4e(0x2eb)]{constructor(_0x356a20=_0x2cb2e7,_0x835af6,_0x4eed92,_0x31fa69){const _0x1a38d8=_0xbc5e4e;super(),this['_config']=_0x356a20,this[_0x1a38d8(0x353)]=_0x835af6,this[_0x1a38d8(0x226)]=_0x4eed92,this[_0x1a38d8(0x309)]=_0x31fa69;const {..._0x5cbedc}=_0x2c7269[_0x1a38d8(0x23a)]({},_0x2cb2e7,this[_0x1a38d8(0x2c0)]);this[_0x1a38d8(0x309)]['setConfig'](_0x201696,_0x5cbedc);}[_0xbc5e4e(0x288)](){const _0x5e8f74=_0xbc5e4e;this['_registerDependencies'](),this[_0x5e8f74(0x2ec)]();}[_0xbc5e4e(0x3aa)](){const _0xe0b44f=_0xbc5e4e;this[_0xe0b44f(0x33b)]();}[_0xbc5e4e(0x38d)](){const _0x3eaadd=_0xbc5e4e;var _0x5aca99;const _0xa335df=[[_0x5cc52d],[_0x51727d],[_0x48be19],[_0x25bc81],[_0x44a566],[_0x1814d6,{'useClass':_0x7bd465}],[_0x1cbe98[_0x3eaadd(0x2bc)],{'useClass':_0x1cbe98[_0x3eaadd(0x206)]}],[_0x494363[_0x3eaadd(0x1c6)],{'useClass':_0x280b45}],[_0x4249ec[_0x3eaadd(0x3bb)]],[_0x54bff8],[_0x1c1eb0],[_0x99c4b],[_0x3b7306],[_0x4249ec[_0x3eaadd(0x1d2)]]];_0x2c7269[_0x3eaadd(0x317)](this[_0x3eaadd(0x226)],_0x2c7269[_0x3eaadd(0x40a)](_0xa335df,(_0x5aca99=this[_0x3eaadd(0x2c0)])==null?void 0x0:_0x5aca99[_0x3eaadd(0x16a)]));}[_0xbc5e4e(0x33b)](){const _0x1991d1=_0xbc5e4e;this[_0x1991d1(0x1e1)](this[_0x1991d1(0x353)][_0x1991d1(0x378)](_0x2c7269['UniverInstanceType'][_0x1991d1(0x3c7)],[_0x5d2fbd])),this[_0x1991d1(0x1e1)](this[_0x1991d1(0x353)][_0x1991d1(0x378)](_0x2c7269[_0x1991d1(0x2ff)][_0x1991d1(0x1e2)],[_0xd4b692]));}[_0xbc5e4e(0x2ec)](){const _0x55491d=_0xbc5e4e;_0x2c7269[_0x55491d(0x2e1)](this[_0x55491d(0x226)],[[_0x99c4b],[_0x4249ec['DesktopCollaborationStatusDisplayController']],[_0x54bff8],[_0x1c1eb0],[_0x4249ec[_0x55491d(0x1d2)]]]);}},_0x2f118b(_0x4249ec['UniverCollaborationClientUIPlugin'],_0xbc5e4e(0x261),_0x59c4d9),_0x4249ec['UniverCollaborationClientUIPlugin']=_0x13c5b([_0x2c7269[_0xbc5e4e(0x225)](_0x494363[_0xbc5e4e(0x407)]),_0x3cb1d5(0x1,_0x592bb1['IRenderManagerService']),_0x3cb1d5(0x2,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269[_0xbc5e4e(0x3d6)])),_0x3cb1d5(0x3,_0x2c7269[_0xbc5e4e(0x24a)])],_0x4249ec[_0xbc5e4e(0x2e3)]);var _0x40b00f=Object[_0xbc5e4e(0x23c)],_0x4e0ca1=(_0x248728,_0x4f83a6,_0x3f76de,_0x108c56)=>{for(var _0xf89c24=_0x108c56>0x1?void 0x0:_0x108c56?_0x40b00f(_0x4f83a6,_0x3f76de):_0x4f83a6,_0x24eee6=_0x248728['length']-0x1,_0x4c1f74;_0x24eee6>=0x0;_0x24eee6--)(_0x4c1f74=_0x248728[_0x24eee6])&&(_0xf89c24=_0x4c1f74(_0xf89c24)||_0xf89c24);return _0xf89c24;},_0x210bb8=(_0x499ce6,_0x3b8ad0)=>(_0x312ef0,_0xd324f2)=>_0x3b8ad0(_0x312ef0,_0xd324f2,_0x499ce6);_0x4249ec['BrowserCollaborationSocketService']=class extends _0x494363[_0xbc5e4e(0x2fe)]{constructor(_0x59eb64,_0x2deccd,_0xf3431b,_0x30cdaf,_0x10ba3c){super(_0x59eb64,_0x2deccd,_0xf3431b,_0x30cdaf,_0x10ba3c);}async[_0xbc5e4e(0x267)](_0x1fcfda){const _0x96b1e4=_0xbc5e4e,_0x5b18b4=await this[_0x96b1e4(0x302)](),_0x2184f2=this[_0x96b1e4(0x408)](_0x1fcfda,_0x5b18b4);return this[_0x96b1e4(0x2cb)](_0x2184f2);}[_0xbc5e4e(0x408)](_0x22f0c7,_0x454846){const _0x5bc9dd=_0xbc5e4e,_0x5e8bb9=typeof window>'u'?new URL(_0x22f0c7):new URL(_0x22f0c7,window[_0x5bc9dd(0x38f)][_0x5bc9dd(0x3ef)]);_0x5e8bb9[_0x5bc9dd(0x363)][_0x5bc9dd(0x35c)]('sessionTicket',_0x454846);const _0xfa22a3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5bc9dd(0x38f)][_0x5bc9dd(0x2cd)]);return _0xfa22a3['get'](_0x5bc9dd(0x3db))&&_0x5e8bb9[_0x5bc9dd(0x363)][_0x5bc9dd(0x35c)]('runId',_0xfa22a3[_0x5bc9dd(0x2bd)](_0x5bc9dd(0x3db))),_0x5e8bb9[_0x5bc9dd(0x381)]();}async[_0xbc5e4e(0x302)](){const _0x57c33b=_0xbc5e4e;var _0x4b69f1,_0x37792a,_0x1e7022;const _0xa4f36e=this[_0x57c33b(0x309)][_0x57c33b(0x228)](_0x494363[_0x57c33b(0x2b1)]),_0x10a5ea=(_0x4b69f1=_0xa4f36e==null?void 0x0:_0xa4f36e[_0x57c33b(0x1c3)])!=null?_0x4b69f1:_0x494363[_0x57c33b(0x197)];return(_0x1e7022=(_0x37792a=(await this[_0x57c33b(0x268)][_0x57c33b(0x2bd)](_0x10a5ea,{'headers':{'Content-Type':_0x57c33b(0x21f)}}))[_0x57c33b(0x189)])==null?void 0x0:_0x37792a['ticket'])!=null?_0x1e7022:'';}},_0x4249ec['BrowserCollaborationSocketService']=_0x4e0ca1([_0x210bb8(0x0,_0x2c7269[_0xbc5e4e(0x344)](_0x2c7269[_0xbc5e4e(0x3d6)])),_0x210bb8(0x1,_0x2c7269['Inject'](_0x1cbe98[_0xbc5e4e(0x3a8)])),_0x210bb8(0x2,_0x2c7269[_0xbc5e4e(0x24a)]),_0x210bb8(0x3,_0x2c7269['ILogService']),_0x210bb8(0x4,_0x2f42e3['ISnapshotServerService'])],_0x4249ec[_0xbc5e4e(0x3d5)]);const _0x4bdb86=0x7530,_0x580346=_0xbc5e4e(0x1b0);class _0x5828e7 extends _0x2c7269[_0xbc5e4e(0x285)]{constructor(){const _0x562ef7=_0xbc5e4e;super(),_0x4cb7e1(this,_0x562ef7(0x315),_0x2c7269[_0x562ef7(0x399)]()),_0x4cb7e1(this,_0x562ef7(0x3ae),new Set()),_0x4cb7e1(this,'_unitOnClients',new Map()),_0x4cb7e1(this,_0x562ef7(0x3ff),null),_0x4cb7e1(this,_0x562ef7(0x2f4),new Map()),_0x4cb7e1(this,_0x562ef7(0x1cd),new Map()),this[_0x562ef7(0x2dc)]();}[_0xbc5e4e(0x257)](){const _0x56e19c=_0xbc5e4e;super['dispose'](),this[_0x56e19c(0x2f4)][_0x56e19c(0x31c)]((_0x27c05b,_0x51be86)=>this[_0x56e19c(0x3fc)](_0x51be86)),this[_0x56e19c(0x3ff)]&&window[_0x56e19c(0x403)](this['_heartbeatTimer']);}[_0xbc5e4e(0x266)](_0x571188){const _0x4994f1=_0xbc5e4e;return this[_0x4994f1(0x289)](_0x571188)[_0x4994f1(0x253)](_0x59059a['distinctUntilChanged']());}[_0xbc5e4e(0x1f8)](_0x2de357){const _0x29e61c=_0xbc5e4e;this[_0x29e61c(0x3ae)][_0x29e61c(0x2f6)]===0x0&&this[_0x29e61c(0x177)](),this[_0x29e61c(0x3ae)][_0x29e61c(0x216)](_0x2de357),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2de357],'isForwarded':!0x1});}[_0xbc5e4e(0x3df)](_0x5c0249){const _0x468c80=_0xbc5e4e;this[_0x468c80(0x3ae)][_0x468c80(0x1b6)](_0x5c0249),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x468c80(0x403)](this[_0x468c80(0x3ff)]);}[_0xbc5e4e(0x2dc)](){const _0x5a877f=_0xbc5e4e;this[_0x5a877f(0x1e1)](_0x2c7269[_0x5a877f(0x2ab)](_0x59059a[_0x5a877f(0x1d7)](window,_0x5a877f(0x1d6))['subscribe'](_0x4f3faa=>{const _0x486576=_0x5a877f;if(_0x4f3faa[_0x486576(0x274)]!==_0x580346||!_0x4f3faa[_0x486576(0x38b)])return;const _0x494062=JSON[_0x486576(0x1fd)](_0x4f3faa[_0x486576(0x38b)]);this[_0x486576(0x28b)](_0x494062);}))),window[_0x5a877f(0x1de)](_0x5a877f(0x2d7),()=>this[_0x5a877f(0x2f9)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5a877f(0x220)](this[_0x5a877f(0x3ae)])}));}[_0xbc5e4e(0x28b)](_0x23ccee){const _0x10bb18=_0xbc5e4e;switch(_0x23ccee['type']){case 0x0:this[_0x10bb18(0x2d3)](_0x23ccee);break;case 0x1:this['_handleLeaveEvent'](_0x23ccee);break;case 0x2:this[_0x10bb18(0x2e2)](_0x23ccee);break;}}[_0xbc5e4e(0x2d3)](_0x3419fa){const _0x52aa06=_0xbc5e4e,{unitIDs:_0x4cdefd,memberID:_0x2f2657,isForwarded:_0x2d2c8b}=_0x3419fa;_0x4cdefd[_0x52aa06(0x31c)](_0x5e8b93=>{const _0x4ecb42=_0x52aa06;if(!_0x2d2c8b&&this['_unitOnClients'][_0x4ecb42(0x284)](_0x5e8b93)&&this[_0x4ecb42(0x289)](_0x5e8b93)[_0x4ecb42(0x33e)](_0x494363['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x4ecb42(0x282)][_0x4ecb42(0x284)](_0x5e8b93)||!this[_0x4ecb42(0x282)]['get'](_0x5e8b93)[_0x4ecb42(0x284)](_0x2f2657)){const _0x12ebf6=this[_0x4ecb42(0x282)][_0x4ecb42(0x2bd)](_0x5e8b93)||new Set();_0x12ebf6[_0x4ecb42(0x216)](_0x2f2657),this['_unitOnClients']['set'](_0x5e8b93,_0x12ebf6),this[_0x4ecb42(0x2a3)](_0x2f2657);}}),_0x2d2c8b||this[_0x52aa06(0x2f9)]({'type':0x0,'memberID':this[_0x52aa06(0x315)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xbc5e4e(0x2a3)](_0x3179f3){const _0x20521f=_0xbc5e4e;this[_0x20521f(0x3fc)](_0x3179f3);const _0x404e31=window[_0x20521f(0x389)](()=>{const _0x3086bc=_0x20521f;this[_0x3086bc(0x282)][_0x3086bc(0x31c)](_0x3dc67d=>{const _0x5bdfd4=_0x3086bc;_0x3dc67d[_0x5bdfd4(0x1b6)](_0x3179f3);});},_0x4bdb86*0x2);this[_0x20521f(0x2f4)][_0x20521f(0x35c)](_0x3179f3,_0x404e31);}['_removeClearOtherTimer'](_0x2f1024){const _0x420aec=_0xbc5e4e;if(this[_0x420aec(0x2f4)][_0x420aec(0x284)](_0x2f1024)){const _0x100583=this[_0x420aec(0x2f4)]['get'](_0x2f1024);_0x100583&&window[_0x420aec(0x18b)](_0x100583),this['_clearOtherTimers'][_0x420aec(0x35c)](_0x2f1024,null);}}[_0xbc5e4e(0x3fe)](_0x9bd5d2){const _0x3b39b0=_0xbc5e4e,{memberID:_0x57e991,unitIDs:_0x3199f9}=_0x9bd5d2;_0x3199f9[_0x3b39b0(0x31c)](_0x3923c3=>{const _0x2c1050=_0x3b39b0;var _0x134e48;const _0x4c4486=this[_0x2c1050(0x282)][_0x2c1050(0x2bd)](_0x3923c3);_0x4c4486&&(_0x4c4486['delete'](_0x57e991),(_0x134e48=this['_ensureSubject'](_0x3923c3))==null||_0x134e48[_0x2c1050(0x33e)](_0x4c4486['size']===0x0?_0x494363[_0x2c1050(0x247)][_0x2c1050(0x244)]:_0x494363['UnitStatus'][_0x2c1050(0x3f4)]));}),this['_removeClearOtherTimer'](_0x57e991);}['_handleHeartbeatEvent'](_0x5af6a1){const _0x2c826a=_0xbc5e4e;this[_0x2c826a(0x2a3)](_0x5af6a1[_0x2c826a(0x329)]);}[_0xbc5e4e(0x2f9)](_0x1a42a1){const _0x38c63f=_0xbc5e4e;localStorage[_0x38c63f(0x3e3)](_0x580346,JSON[_0x38c63f(0x22b)](_0x1a42a1));}[_0xbc5e4e(0x177)](){const _0x3a6c73=_0xbc5e4e;this[_0x3a6c73(0x3ff)]=window[_0x3a6c73(0x3ea)](()=>{const _0x9b363b=_0x3a6c73;this[_0x9b363b(0x2f9)]({'type':0x2,'memberID':this[_0x9b363b(0x315)]});},_0x4bdb86);}[_0xbc5e4e(0x289)](_0x28cea4){const _0xa0bf9=_0xbc5e4e;return this[_0xa0bf9(0x1cd)]['has'](_0x28cea4)||this[_0xa0bf9(0x1cd)][_0xa0bf9(0x35c)](_0x28cea4,new _0x59059a[(_0xa0bf9(0x2fb))](_0x494363[_0xa0bf9(0x247)][_0xa0bf9(0x244)])),this['_unitStatus']['get'](_0x28cea4);}}var _0x5c5659=(_0x12ef31=>(_0x12ef31[_0x12ef31['UNDEFINED']=0x0]=_0xbc5e4e(0x349),_0x12ef31[_0x12ef31['OK']=0x1]='OK',_0x12ef31[_0x12ef31['INTERNAL_ERROR']=0x2]=_0xbc5e4e(0x2cf),_0x12ef31[_0x12ef31[_0xbc5e4e(0x2c7)]=0x3]=_0xbc5e4e(0x2c7),_0x12ef31[_0x12ef31[_0xbc5e4e(0x28e)]=0x4]=_0xbc5e4e(0x28e),_0x12ef31[_0x12ef31[_0xbc5e4e(0x342)]=0x5]=_0xbc5e4e(0x342),_0x12ef31[_0x12ef31[_0xbc5e4e(0x2f0)]=0x6]=_0xbc5e4e(0x2f0),_0x12ef31[_0x12ef31[_0xbc5e4e(0x307)]=0x7]=_0xbc5e4e(0x307),_0x12ef31[_0x12ef31['TOO_MANY_REQUESTS']=0x8]=_0xbc5e4e(0x1d5),_0x12ef31[_0x12ef31[_0xbc5e4e(0x3c1)]=0x9]=_0xbc5e4e(0x3c1),_0x12ef31[_0x12ef31['LOGIN_FAILED']=0xa]=_0xbc5e4e(0x1f1),_0x12ef31[_0x12ef31[_0xbc5e4e(0x2fc)]=0x1389]=_0xbc5e4e(0x2fc),_0x12ef31[_0x12ef31[_0xbc5e4e(0x234)]=0x1771]=_0xbc5e4e(0x234),_0x12ef31[_0x12ef31[_0xbc5e4e(0x34a)]=0x1772]=_0xbc5e4e(0x34a),_0x12ef31[_0x12ef31['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xbc5e4e(0x176),_0x12ef31[_0x12ef31[_0xbc5e4e(0x24f)]=0x1b59]=_0xbc5e4e(0x24f),_0x12ef31[_0x12ef31[_0xbc5e4e(0x397)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x12ef31[_0x12ef31['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xbc5e4e(0x3be),_0x12ef31[_0x12ef31[_0xbc5e4e(0x2d6)]=0x1b5c]=_0xbc5e4e(0x2d6),_0x12ef31[_0x12ef31[_0xbc5e4e(0x3d7)]=0x1b5d]=_0xbc5e4e(0x3d7),_0x12ef31[_0x12ef31[_0xbc5e4e(0x318)]=0x1f41]=_0xbc5e4e(0x318),_0x12ef31[_0x12ef31[_0xbc5e4e(0x174)]=0x2329]=_0xbc5e4e(0x174),_0x12ef31[_0x12ef31[_0xbc5e4e(0x35d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x12ef31[_0x12ef31[_0xbc5e4e(0x347)]=0x232b]=_0xbc5e4e(0x347),_0x12ef31[_0x12ef31[_0xbc5e4e(0x30d)]=0x232c]=_0xbc5e4e(0x30d),_0x12ef31[_0x12ef31[_0xbc5e4e(0x207)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x12ef31[_0x12ef31['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xbc5e4e(0x33f),_0x12ef31[_0x12ef31[_0xbc5e4e(0x30e)]=0x2712]=_0xbc5e4e(0x30e),_0x12ef31[_0x12ef31[_0xbc5e4e(0x1d1)]=0x2713]=_0xbc5e4e(0x1d1),_0x12ef31[_0x12ef31[_0xbc5e4e(0x1ca)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x12ef31[_0x12ef31[_0xbc5e4e(0x2ca)]=0x271a]=_0xbc5e4e(0x2ca),_0x12ef31[_0x12ef31['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xbc5e4e(0x3e0),_0x12ef31[_0x12ef31[_0xbc5e4e(0x37c)]=0x271c]=_0xbc5e4e(0x37c),_0x12ef31[_0x12ef31[_0xbc5e4e(0x2cc)]=0x271d]=_0xbc5e4e(0x2cc),_0x12ef31[_0x12ef31[_0xbc5e4e(0x37d)]=0x271e]=_0xbc5e4e(0x37d),_0x12ef31[_0x12ef31[_0xbc5e4e(0x1b3)]=0x271f]=_0xbc5e4e(0x1b3),_0x12ef31[_0x12ef31['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xbc5e4e(0x218),_0x12ef31[_0x12ef31[_0xbc5e4e(0x369)]=0x2ee1]=_0xbc5e4e(0x369),_0x12ef31[_0x12ef31[_0xbc5e4e(0x32b)]=0x2ee2]=_0xbc5e4e(0x32b),_0x12ef31[_0x12ef31[_0xbc5e4e(0x3c5)]=0x2ee3]=_0xbc5e4e(0x3c5),_0x12ef31[_0x12ef31['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x12ef31[_0x12ef31[_0xbc5e4e(0x2c5)]=0x2ee5]=_0xbc5e4e(0x2c5),_0x12ef31[_0x12ef31[_0xbc5e4e(0x26f)]=0x32c9]=_0xbc5e4e(0x26f),_0x12ef31[_0x12ef31[_0xbc5e4e(0x3d0)]=0x32ca]=_0xbc5e4e(0x3d0),_0x12ef31[_0x12ef31[_0xbc5e4e(0x3ca)]=0x32cb]=_0xbc5e4e(0x3ca),_0x12ef31[_0x12ef31[_0xbc5e4e(0x1fc)]=-0x1]=_0xbc5e4e(0x1fc),_0x12ef31))(_0x5c5659||{}),_0x5ec814=Object['getOwnPropertyDescriptor'],_0x3bd38f=(_0x5dc3d2,_0x2c2bb8,_0xc2be21,_0x2145b5)=>{for(var _0x30b56a=_0x2145b5>0x1?void 0x0:_0x2145b5?_0x5ec814(_0x2c2bb8,_0xc2be21):_0x2c2bb8,_0x1221e8=_0x5dc3d2['length']-0x1,_0x504bdc;_0x1221e8>=0x0;_0x1221e8--)(_0x504bdc=_0x5dc3d2[_0x1221e8])&&(_0x30b56a=_0x504bdc(_0x30b56a)||_0x30b56a);return _0x30b56a;},_0x54b5b1=(_0x1b1ba1,_0xe7f8a5)=>(_0x2d53d2,_0x5631cd)=>_0xe7f8a5(_0x2d53d2,_0x5631cd,_0x1b1ba1);_0x4249ec['RemoteUniscriptService']=class extends _0x2c7269['Disposable']{constructor(_0x113b4a,_0xd92164,_0xc948f3){const _0x31f51b=_0xbc5e4e;super(),this[_0x31f51b(0x19f)]=_0x113b4a,this[_0x31f51b(0x268)]=_0xd92164,this[_0x31f51b(0x309)]=_0xc948f3;}async[_0xbc5e4e(0x2b9)](_0x11cb8d,_0x764d50,_0x3da0b5,..._0x59168c){const _0x3d1519=_0xbc5e4e;var _0x578e38,_0x574170,_0x38eadf,_0x2b6541;const _0x226637=this[_0x3d1519(0x19f)][_0x3d1519(0x316)]();if(!_0x226637)throw new Error(_0x3d1519(0x3f6));const _0x3d55c1=((_0x578e38=this[_0x3d1519(0x309)][_0x3d1519(0x228)](_0x494363[_0x3d1519(0x17b)]))!=null?_0x578e38:_0x494363[_0x3d1519(0x2d9)])+'/'+_0x11cb8d+'/run/'+_0x764d50,_0x2b1ca7=new URL(window[_0x3d1519(0x38f)][_0x3d1519(0x3b9)]),_0x26604d={'scriptId':_0x11cb8d,'runId':(_0x574170=_0x2b1ca7[_0x3d1519(0x363)][_0x3d1519(0x2bd)](_0x3d1519(0x3db)))!=null?_0x574170:'','function':_0x764d50,'unitId':_0x226637[_0x3d1519(0x1b5)](),'argsOfFunction':JSON[_0x3d1519(0x22b)](_0x59168c),'invokeId':(_0x38eadf=_0x3da0b5[_0x3d1519(0x24d)])!=null?_0x38eadf:'','executionId':(_0x2b6541=_0x3da0b5[_0x3d1519(0x2dd)])!=null?_0x2b6541:''};try{const _0x1afe23=await this[_0x3d1519(0x268)]['post'](_0x3d55c1,{'body':_0x26604d});return _0x1afe23[_0x3d1519(0x189)]['error']&&_0x1afe23['body'][_0x3d1519(0x3bc)][_0x3d1519(0x265)]!==_0x5c5659['OK']?'Failed':_0x1afe23[_0x3d1519(0x189)][_0x3d1519(0x335)];}catch{return _0x3d1519(0x22e);}}},_0x4249ec['RemoteUniscriptService']=_0x3bd38f([_0x54b5b1(0x0,_0x2c7269[_0xbc5e4e(0x237)]),_0x54b5b1(0x1,_0x2c7269['Inject'](_0x1cbe98['HTTPService'])),_0x54b5b1(0x2,_0x2c7269[_0xbc5e4e(0x24a)])],_0x4249ec[_0xbc5e4e(0x3d8)]),_0x4249ec[_0xbc5e4e(0x367)]=_0xafe174,_0x4249ec[_0xbc5e4e(0x341)]=_0x1814d6,_0x4249ec[_0xbc5e4e(0x29e)]=_0x54b8d1,_0x4249ec[_0xbc5e4e(0x246)]=_0x5828e7,_0x4249ec[_0xbc5e4e(0x28c)]=_0x7bd465,Object[_0xbc5e4e(0x3cb)](_0x4249ec,Symbol[_0xbc5e4e(0x1df)],{'value':_0xbc5e4e(0x1f3)});}));function _0x5307(_0x49e30f,_0x154415){const _0x5e8bee=_0x5e8b();return _0x5307=function(_0x5307bc,_0xc3af08){_0x5307bc=_0x5307bc-0x165;let _0x3d441b=_0x5e8bee[_0x5307bc];return _0x3d441b;},_0x5307(_0x49e30f,_0x154415);}function _0x5e8b(){const _0x3f2fce=['_labelPosition','_startDocCollabCursor','params','1708220GhNdeO','set','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','AWAITING','@univerjs-pro/collaboration-client','React','_transformUndoRedoStack','subunit','searchParams','univer-flex\x20univer-items-center','hide','yellow.400','CollaborationStatusDisplay','6016248XDZqaj','INVITE_CODE_HAS_BEEN_UES','isTransformMutationsWithChangesetSuccess','_collaborationController','MessageType','url(#off-line-icon_clip0_910_343)','jsx','...','getRenderById','push','_setupBeforeClosingHandler','getCellPositionByOffset','_transformService','_disabled','SheetsSelectionsService','SOCKET_FAILED_RETRY','registerRenderModule','unitID','color','saveTaskMap','YUUMI_TABLE_NOT_FOUND_IN_UNIT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_localStorageService','IRenderManagerService','Optional','toString','unsubscribe','_initStatusListener','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getCurrent','InsertRangeMoveRightCommandId','urlChange$','lineTo','setTimeout','@univerjs/sheets-ui','newValue','endRow','_registerDependencies','_anchorDot','location','_updateCollabCursors','RxDisposable','_onRefRangeChange','InsertColCommandId','show','@univerjs/rpc','className','APPLY_NON_SEQUENTIAL_REVISION','CollaborationEvent','generateRandomId','_refreshCollabCursors','_color','collaboration.closeRoom','takeUntil','@univerjs/drawing','icon','toRgbString','onTransformChange$','object','SetSelectionsOperation','startsWith','UniverRpc','drawWith','fillRule','HTTPService','_collabCursorController','onRendered','M0\x200H16V16H0z','RegularPolygon','contains','_selfUnitIDs','defIds','history','getLocalCacheKey','handleDeleteRangeMoveLeft','DocSkeletonManagerService','session.connection-failed','font','current','sessionStatus$','max','href','SOCKET_FAILED','DesktopCollaborationStatusDisplayController','error','row','APPLY_REVISION_CONFILICT','rxjs','onMouseMove','COMPLETION_FINISHED','transformMutation','getActiveRange','getCurrentSelections','INVITE_CODE_REQUIRED','isTransformMutationFailure','UNIVER_DOC','_sheetSkeletonManagerService','DOC_RANGE_TYPE','EMAIL_HAS_BEEN_BOUND','defineProperty','_scheduleSaving','range','_cursorShapes','BuiltInUIPart','MOBILE_HAS_BEEN_BOUND','27oXigyu','getCoordByCell','getMergeData','createInstance','BrowserCollaborationSocketService','Injector','APPLY_DUPLICATED','RemoteUniscriptService','LocaleService','hasOwnProperty','runId','_messageService','Vector2','none','disposeUnit','YUUMI_ASYNCIO_CANCELLED','getSheetObject','collabStatus.fetchMiss','setItem','getCurrentRevOfUnit','arc','docStateChange$','top','attrs','white','setInterval','collaboration-client.offline-data-not-saved','switchMap','addObject','ThemeService','origin','undoState','labelPosition','ONLINE','isActive','OTHER_CLIENTS_EDITING','getColorFromTheme','[RemoteUniscriptService]:\x20no\x20focused\x20unit','@univerjs/core','useRef','IMessageService','_dataLoaderService','SetWorksheetActivateCommand','_removeClearOtherTimer','Error','_handleLeaveEvent','_heartbeatTimer','univer-flex\x20univer-mr-2\x20univer-text-xl','UniverEngineFormula','ILogService','clearInterval','RemoveColCommandId','374370wTzWTS','_getSaveTimeout','UniverCollaborationClientPlugin','_createSocketURL','_notificationService','mergeOverrideWithDependencies','DisposableCollection','@univerjs/engine-formula','with','useDependency','updateOfflineData','_urlService','override','registerBeforeClose','_localCacheService','react','_drawRectRange','send','DocSelectionManagerService','_anchor','prototype','getSheetId','LICENSE_MAX_UNITS_EXCEEDED','1116pkeEBX','ENSURE_SNAPSHOT_EXECUTION','_scheduleHeartbeat','setAlpha','jiqing.500','_draw','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getRelativeToViewportCoord','LOCAL_CACHE_INTERVAL','createElement','fill','source','ILocalStorageService','_initStatusComponent','isEditing','deepClone','_cursorInfo$','exhaustSavingTask','_context','saveImage','body','_saveCache','clearTimeout','@univerjs/ui','CommandType','_logService','registerRefRange','_beforeCloseService','executeCommand','_initEntityListener','_range','setStateCache','_lastPointer','unit','DEFAULT_WS_SESSION_TICKET_URL','36LDwSpn','NOT_COLLAB','_online','green.600','_docClipboardService','connectInjector','UniverProCollaboration','_instanceService','handleIRemoveCol','_getMergeRange','78226NaQojL','1em','_revisionService','beginPath','TEXT_RANGE_LAYER_INDEX','handleInsertRangeMoveRight','m2Prime','UPDATE_CURSOR','Warning','_docTransformStateCacheService','_hover','DocCollaborationEntity','PENDING','getUndoRedoMutationParamsCache','ACTIVE_UNIT_EVENT_CHANNEL','CollaborationSessionService','@univerjs-pro/collaboration','YUUMI_AI_RUN_FAILED','getActiveSheet','getUnitId','delete','filter','transformMutationsWithChangeset','MemberService','_initEvent','@univerjs/sheets','_session','69MWaviE','RevisionService','runRefRangeMutations','replaceDocRanges','div','_setupSubUnitSync','wsSessionTicketUrl','CollaborationStatus','onLocalMutation','ILocalCacheService','COLORS','requireSession','Tools','YUUMI_SUBSCRIPTION_NOT_FOUND','replaceState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_unitStatus','getSkeleton','_docTransformSelectionsService','CollaborationController','YUUMI_RATE_OVER_LIMIT','CollaborationDataLoaderController','roomMembers','focused$','TOO_MANY_REQUESTS','storage','fromEvent','pushState','MoveRangeCommandId','getMemberID','engine','currentColor','114692jHVTOB','addEventListener','toStringTag','ICommandService','disposeWithMe','UNIVER_SHEET','_collabSessionService','getOwnPropertySymbols','InsertRowCommandId','restore','_hovered','mapTo','min','getTypeOfUnitAdded$','_scene','cursorInfo','measureText','_univerInstanceService','_transformHistoryAndStateStack','setShapeProps','LOGIN_FAILED','indexOf','Module','url(#$1','children','NodePositionConvertToRectRange','init','editingUnit','_render','addClipboardHook','_onCursorUpdate','UNRECOGNIZED','parse','Unknown\x20user','off-line-icon_clip0_910_343','permission.content','_roomMembers$','activeSheet$','SUBMIT_CHANGESET_TIMEOUT','_startSheetCollabCursor','text','WebSocketService','LICENSE_DISTRO_REJECTED','http://www.w3.org/2000/svg','_toggleOffline','_updateURLWithCurrentState','imageSourceType','textRanges','blue.400','fromEventSubject','subscribe','permission.title','FETCH_MISS','getUnhiddenWorksheets','USERS_LEAVE','_colorAssignService','endColumn','add','OTHER_CLIENT_EDITING','PY_RUNTIME_SCRIPT_ERROR','_cachedData','ITransformService','rxjs/operators','_docSkeletonManagerService','bottom','7650072ottGah','application/json','from','_cursors','getVpScrollXYInfoByPosToVp','width','resize','DependentOn','_injector','tag','getConfig','RemoveRowCommandId','collab-text-anchor-','stringify','UniverNetwork','clipPath','Failed','0\x200\x2017\x2016','RichTextEditingMutation','OnLineIcon','assignAColorForMemberID','_themeService','SNAPSHOT_INVALID_SNAPSHOT','getColor','@univerjs/network','IUniverInstanceService','transformIMECache','evenodd','merge','_entities','getOwnPropertyDescriptor','save','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','OFFLINE','INotificationService','_assignedColors','_shapes','_updateSubUnitFromURLParams','NO_OTHER_CLIENTS_EDITING','shareReplay','WebBrowserSingleActiveUnitService','UnitStatus','on-line-icon','roomMembers$','IConfigService','_status$','@univerjs/docs-ui','invokeId','setParam','APPLY_REJECT','_getAnchorBounding','registerComponent','cursorInfo$','pipe','dispose$','getViewport','debug','dispose','name','handleInsertRangeMoveDown','replace','makeDirty','find','_updateLocalCursor','TEXT','@univerjs/engine-render','extend','pluginName','_drawAnchor','url(#on-line-icon_clip0_910_349)','addObjects','code','getUnitStatus$','createSocket','_httpService','useObservable','EffectRefRangId','_getSheetObject','LOCAL_CACHE_INTERVAL_KEY','_hideTimer','onPointerLeave$','WECHAT_HAS_BEEN_BOUND','unshift','@univerjs/design','_commandService','findNodePositionByCharIndex','key','IBeforeCloseService','whenReady','AWAITING_WITH_PENDING','#FFF','use','CollaborationUIEventId','_onCursorDelete','assign','transformSelections','getRangePointData','split','Shape','collabStatus.conflict','_unitOnClients','call','has','Disposable','_name','ranges','onStarting','_ensureSubject','CLOSE_ROOM','_handleEvent','WebURLService','collabStatus.synced','NOT_FOUND','_initCommandExecutedListener','univerjs-icon\x20univerjs-icon-','flatMap','_eventUnsubscribe','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','getValue','complete','values','_textBubble','addHandlerCallback','length','_backgroundColor','height','column','throttleTime','SheetCollabCursorShape','propertyIsEnumerable','handleDeleteRangeMoveUp','data','fillStyle','_scheduleClearOtherTimer','mask','then','RefRangeService','subscribeEvent','_saveTaskMap','_document','status$','toDisposable','Rectangle','displayName','ColorKit','includes','VIEW_MAIN','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_collaborationUIEventService','transformStateCache','concat','UniverCore','getSheetBySheetId','_collabCursorState$','_handleHover','runOnServer','eventID','xlink:href','ISocketService','get','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','hovered','_config','onCommandExecuted','m1Prime','getAncestorScale','getCollabEntity$','INVITE_CODE_ALREADY_BOUND','SetDocZoomRatioOperation','PERMISSION_DENIED','svg','loadOfflineData','YUUMI_NO_CUBOID_FOR_QUESTION','_doCreateSocket','YUUMI_ALL_TABLES_IS_INVALID','search','UniverDocs','INTERNAL_ERROR','sheetId','_refRangeService','IDocClipboardService','_handleJoinEvent','uni.network.url-service','SHEET_VIEWPORT_KEY','APPLY_PERMISSION_DENIED','unload','_entityInit$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_toggleOnline','Rect','_init','executionId','UniverSheets','debounceTime','2dLInlI','touchDependencies','_handleHeartbeatEvent','UniverCollaborationClientUIPlugin','colorChannel1','redoState','type','UniverIcon','_localeService','Workbook','_docStateChangeManagerService','Plugin','_initDependencies','currentSkeleton$','black','getCurrentUnitForType','ALREADY_EXISTS','NodePositionConvertToCursor','round','saveOfflineData','_clearOtherTimers','transformRemoteChangeset','size','on-line-icon_clip0_910_349','debounce','_send','_removeCollabCursors','BehaviorSubject','CHANGESET_REVISION_CONFILICT','131142QibNLi','CollaborationSocketService','UniverInstanceType','fillText','handleMoveRange','_getSessionTicket','getParam','transform','closePath','handleInsertCol','INVALID_ARGUMENT','_getScale','_configService','UniverEngineRender','path','handleInsertRow','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','actions','doc.mutation.rich-text-editing','defs','_drawTextRange','function','all','_id','getFocusedUnit','registerDependencies','CONNECTOR_DATA_TOO_LARGE','getDocRanges','reconnect','SetTextSelectionsOperation','forEach','_cursor','[CollaborationDataLoaderController]','getStateCache','selection','_memberService','rgba(255,\x20255,\x20255,\x200.01)','purple.300','transformByState','getCollabCursors$','currentTheme$','translate(.97)','IRemoteInstanceService','memberID','substring','INVALID_INVITE_CODE','event$','sheetID','FromArray','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','IImageIoService','mutations','UniverSheetsUi','getUniverSheetInstance','combineLatest','result','selections','off-line-icon','asObservable','handleIRemoveRow','DeleteRangeMoveLeftCommandId','_registerRenderDependencies','0\x200\x2016\x2016','_imageIoService','next','YUUMI_UNABLE_LOAD_URL','DocStateChangeManagerService','IURLService','UNAUTHENTICATED','collabCursorState$','Inject','idSuffix','_transformPreviousActiveRange','LICENSE_IMPORT_SIZE_EXCEEDED','map','UNDEFINED','SNAPSHOT_HAS_BEEN_REMOVED','syncEditingCollabCursor','isArray','unitId','clsx','startColumn','_docSyncEditingCollabCursorService','Subject','popstate','_renderManagerService','string','getMember','UniverDocsUi','_colorIndex'];_0x5e8b=function(){return _0x3f2fce;};return _0x5e8b();}
|
|
1
|
+
(function(_0x332437,_0x254834){const _0x3bb36a=_0x10ca,_0x2693d1=_0x332437();while(!![]){try{const _0x3bf9e2=parseInt(_0x3bb36a(0x89))/0x1+-parseInt(_0x3bb36a(0x286))/0x2+parseInt(_0x3bb36a(0x21e))/0x3+-parseInt(_0x3bb36a(0xba))/0x4+-parseInt(_0x3bb36a(0xea))/0x5*(parseInt(_0x3bb36a(0x16d))/0x6)+-parseInt(_0x3bb36a(0xf6))/0x7+parseInt(_0x3bb36a(0x136))/0x8;if(_0x3bf9e2===_0x254834)break;else _0x2693d1['push'](_0x2693d1['shift']());}catch(_0xe67d04){_0x2693d1['push'](_0x2693d1['shift']());}}}(_0x3087,0x18cbd),function(_0x5a7dd7,_0x2207ab){const _0x4e3205=_0x10ca;typeof exports=='object'&&typeof module<'u'?_0x2207ab(exports,require(_0x4e3205(0x1a2)),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require(_0x4e3205(0xa0)),require(_0x4e3205(0x22e)),require(_0x4e3205(0x16b)),require(_0x4e3205(0x1f3)),require(_0x4e3205(0x118)),require(_0x4e3205(0x114)),require(_0x4e3205(0x1be)),require(_0x4e3205(0x15d)),require(_0x4e3205(0x104)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x4e3205(0x135)),require(_0x4e3205(0xf3)),require('@univerjs/rpc')):typeof define=='function'&&define['amd']?define([_0x4e3205(0x8d),_0x4e3205(0x1a2),_0x4e3205(0x2f4),_0x4e3205(0x284),_0x4e3205(0x254),_0x4e3205(0xa0),'@univerjs/drawing',_0x4e3205(0x16b),'@univerjs/docs','@univerjs-pro/collaboration',_0x4e3205(0x114),_0x4e3205(0x1be),_0x4e3205(0x15d),_0x4e3205(0x104),_0x4e3205(0x1b5),_0x4e3205(0xf1),_0x4e3205(0x135),_0x4e3205(0xf3),_0x4e3205(0x1f9)],_0x2207ab):(_0x5a7dd7=typeof globalThis<'u'?globalThis:_0x5a7dd7||self,_0x2207ab(_0x5a7dd7[_0x4e3205(0x111)]={},_0x5a7dd7[_0x4e3205(0x11f)],_0x5a7dd7[_0x4e3205(0xc8)],_0x5a7dd7[_0x4e3205(0x2d7)],_0x5a7dd7[_0x4e3205(0x18a)],_0x5a7dd7[_0x4e3205(0x12a)],_0x5a7dd7[_0x4e3205(0x23c)],_0x5a7dd7['rxjs'],_0x5a7dd7[_0x4e3205(0x2a9)],_0x5a7dd7['UniverProCollaboration'],_0x5a7dd7[_0x4e3205(0x191)],_0x5a7dd7[_0x4e3205(0x2af)],_0x5a7dd7['rxjs']['operators'],_0x5a7dd7['UniverSheetsUi'],_0x5a7dd7[_0x4e3205(0xc6)],_0x5a7dd7[_0x4e3205(0x1bb)],_0x5a7dd7[_0x4e3205(0x149)],_0x5a7dd7[_0x4e3205(0xc6)],_0x5a7dd7['UniverRpc']));}(this,function(_0x3e697f,_0xe14e,_0x23c5c6,_0x112879,_0x4e0660,_0x1f875c,_0x69963,_0xb82969,_0x20283b,_0x17be28,_0x59f94d,_0x3b49ce,_0x15e5b5,_0x2562e9,_0x9e75b8,_0x4c9765,_0x4f07b6,_0x7521d1,_0x49a16d){'use strict';const _0x401f20=_0x10ca;var _0x2d901b=Object['defineProperty'],_0x2f2768=(_0x2fe8d9,_0x382074,_0x483d2d)=>_0x382074 in _0x2fe8d9?_0x2d901b(_0x2fe8d9,_0x382074,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x483d2d}):_0x2fe8d9[_0x382074]=_0x483d2d,_0x1fcf73=(_0x1d77ea,_0x14a53b,_0x5d801f)=>_0x2f2768(_0x1d77ea,typeof _0x14a53b!=_0x401f20(0x253)?_0x14a53b+'':_0x14a53b,_0x5d801f),_0x28cb5a=Object[_0x401f20(0x2e6)],_0x9bc2a6=(_0xabb5a6,_0x5a263e,_0x22d2ac,_0x2bb20b)=>{const _0x530b1c=_0x401f20;for(var _0x159020=_0x2bb20b>0x1?void 0x0:_0x2bb20b?_0x28cb5a(_0x5a263e,_0x22d2ac):_0x5a263e,_0x303fe9=_0xabb5a6[_0x530b1c(0x2c4)]-0x1,_0x203bbb;_0x303fe9>=0x0;_0x303fe9--)(_0x203bbb=_0xabb5a6[_0x303fe9])&&(_0x159020=_0x203bbb(_0x159020)||_0x159020);return _0x159020;},_0x2560d8=(_0x4f90e3,_0x4b03e6)=>(_0x4228ad,_0x3db1b1)=>_0x4b03e6(_0x4228ad,_0x3db1b1,_0x4f90e3);let _0x98f6c6=class extends _0x23c5c6['RxDisposable']{constructor(_0x217319,_0x52660e){const _0x3de731=_0x401f20;super(),this[_0x3de731(0x14e)]=_0x217319,this['_imageIoService']=_0x52660e,this[_0x3de731(0x153)]();}[_0x401f20(0x153)](){const _0x2deba3=_0x401f20,_0x502407=this;this['disposeWithMe'](this[_0x2deba3(0x14e)]['addClipboardHook']({'onBeforePasteImage':async _0x3b5b46=>{const _0x32f7ac=_0x2deba3,_0x17363c=await _0x502407[_0x32f7ac(0x137)][_0x32f7ac(0x299)](_0x3b5b46);return _0x17363c?{'source':_0x17363c['source'],'imageSourceType':_0x17363c[_0x32f7ac(0x151)]}:null;}}));}};_0x98f6c6=_0x9bc2a6([_0x2560d8(0x0,_0x1f875c[_0x401f20(0x218)]),_0x2560d8(0x1,_0x69963['IImageIoService'])],_0x98f6c6);const _0x247bba=['purple.300','jiqing.500',_0x401f20(0x1e9),_0x401f20(0x1b4),'blue.400',_0x401f20(0x1fa)];class _0x1568d7 extends _0x23c5c6[_0x401f20(0x1c4)]{constructor(){const _0x25b3d1=_0x401f20;super(...arguments),_0x1fcf73(this,_0x25b3d1(0xe7),new Map()),_0x1fcf73(this,_0x25b3d1(0x222),0x0);}[_0x401f20(0x9d)](_0x2d6c2c){const _0x41e969=_0x401f20;if(this[_0x41e969(0xe7)][_0x41e969(0x1bd)](_0x2d6c2c))return this[_0x41e969(0xe7)][_0x41e969(0x150)](_0x2d6c2c);const _0x1fbd96=_0x247bba[this[_0x41e969(0x222)]];return this[_0x41e969(0x222)]=(this['_colorIndex']+0x1)%_0x247bba[_0x41e969(0x2c4)],this[_0x41e969(0xe7)][_0x41e969(0xa1)](_0x2d6c2c,_0x1fbd96),_0x1fbd96;}}function _0x409109(_0x88dd77){const _0x210bea=_0x401f20;let _0x52319d='';for(const _0x5103fd of _0x88dd77){const {startOffset:_0x121671,endOffset:_0x3305c4,isActive:_0x3b00fd,rangeType:_0x2acc6e,segmentId:_0xc795a5,segmentPage:_0x23852c}=_0x5103fd;_0x52319d[_0x210bea(0x2c4)]&&(_0x52319d+=','),_0x52319d+=_0x121671+':'+_0x3305c4+':'+(_0x3b00fd?'1':'0')+':'+_0x2acc6e+':'+_0xc795a5+':'+_0x23852c;}return _0x52319d;}function _0x5ef98a(_0x2b7425){const _0x3cb62c=_0x401f20,_0xa44217=_0x2b7425[_0x3cb62c(0x10d)](','),_0x56db71=[];for(const _0xcd1aaf of _0xa44217){const [_0x237eae,_0x2570f5,_0x3955f2,_0x944616,_0x3bf662,_0xc485c3]=_0xcd1aaf[_0x3cb62c(0x10d)](':');_0x56db71[_0x3cb62c(0x1b0)]({'startOffset':Number(_0x237eae),'endOffset':Number(_0x2570f5),'collapsed':_0x237eae===_0x2570f5,'isActive':_0x3955f2==='1','rangeType':_0x944616===_0x23c5c6[_0x3cb62c(0x90)][_0x3cb62c(0x139)]?_0x23c5c6[_0x3cb62c(0x90)]['TEXT']:_0x23c5c6[_0x3cb62c(0x90)][_0x3cb62c(0x1c5)],'segmentId':typeof _0x3bf662=='string'?String(_0x3bf662):'','segmentPage':Number(_0xc485c3!=null?_0xc485c3:-0x1)});}return _0x56db71[_0x3cb62c(0x2a1)](_0x16bb21=>_0x16bb21[_0x3cb62c(0x24a)])||(_0x56db71[0x0]['isActive']=!0x0),_0x56db71;}class _0x302224 extends _0x23c5c6[_0x401f20(0x143)]{constructor(){const _0x75be53=_0x401f20;super(...arguments),_0x1fcf73(this,'_collabCursorState$',new _0xb82969[(_0x75be53(0x23b))](null)),_0x1fcf73(this,'collabCursorState$',this['_collabCursorState$'][_0x75be53(0x196)]());}['syncEditingCollabCursor'](_0x1ac262){const _0x500fa1=_0x401f20,{unitID:_0x701f19,memberID:_0x3d7bbe,textRanges:_0x438c37}=_0x1ac262,_0x307114=_0x409109(_0x438c37);if(_0x307114==='')return;const _0x4f7fa5={'unitID':_0x701f19,'memberID':_0x3d7bbe,'selection':_0x307114};this[_0x500fa1(0x2f3)]['next'](_0x4f7fa5);}}var _0x2f1d32=Object[_0x401f20(0x2e6)],_0x3dfa60=(_0x2784e6,_0x2707e5,_0x584c40,_0x2376c7)=>{const _0x4b4c14=_0x401f20;for(var _0x20c6a6=_0x2376c7>0x1?void 0x0:_0x2376c7?_0x2f1d32(_0x2707e5,_0x584c40):_0x2707e5,_0x59eaa5=_0x2784e6[_0x4b4c14(0x2c4)]-0x1,_0x154cdf;_0x59eaa5>=0x0;_0x59eaa5--)(_0x154cdf=_0x2784e6[_0x59eaa5])&&(_0x20c6a6=_0x154cdf(_0x20c6a6)||_0x20c6a6);return _0x20c6a6;},_0x5a764c=(_0xecf537,_0x34d760)=>(_0x467056,_0x43c806)=>_0x34d760(_0x467056,_0x43c806,_0xecf537);const _0x41b7fb=0x12c,_0x381add=0x64;let _0x4bbd88=class extends _0x23c5c6[_0x401f20(0x143)]{constructor(_0x185ba1,_0x2efcbf,_0x52c095,_0x49918a,_0x456cb7,_0x539e51,_0x34eaf6,_0x3055f0,_0x2337e5){const _0x7c7943=_0x401f20;super(),_0x1fcf73(this,_0x7c7943(0x141),!0x1),_0x1fcf73(this,'_init',!0x1),_0x1fcf73(this,_0x7c7943(0x221),new _0xb82969['BehaviorSubject'](new Map())),_0x1fcf73(this,_0x7c7943(0x2ad),this['_cursorInfo$'][_0x7c7943(0x196)]()),_0x1fcf73(this,_0x7c7943(0x25d),new _0xb82969[(_0x7c7943(0x23b))]([])),_0x1fcf73(this,_0x7c7943(0x1c1),this['_roomMembers$'][_0x7c7943(0xb9)](_0xb82969['debounceTime'](_0x41b7fb))),_0x1fcf73(this,'_updateLocalCursor',_0x23c5c6[_0x7c7943(0xcc)](_0x31d642=>{const _0x5807e0=_0x7c7943,_0x3ec494={'eventID':_0x17be28[_0x5807e0(0x30a)][_0x5807e0(0x2eb)],'data':{'unitID':this[_0x5807e0(0xcf)],'memberID':this[_0x5807e0(0x2bb)][_0x5807e0(0x92)](),'selection':_0x409109(_0x31d642)}};this['_session'][_0x5807e0(0x260)](_0x3ec494,this[_0x5807e0(0xcf)]);},_0x381add)),(this['unitID']=_0x185ba1,this[_0x7c7943(0x2bb)]=_0x2efcbf,this[_0x7c7943(0x217)]=_0x52c095,this[_0x7c7943(0x95)]=_0x49918a,this[_0x7c7943(0x20f)]=_0x456cb7,this[_0x7c7943(0x1c3)]=_0x539e51,this[_0x7c7943(0x2cb)]=_0x34eaf6,this['_univerInstanceService']=_0x3055f0,this[_0x7c7943(0x9f)]=_0x2337e5);}get[_0x401f20(0x24c)](){const _0x46dc9c=_0x401f20;return this[_0x46dc9c(0x221)]['getValue']();}get[_0x401f20(0x11a)](){const _0x4af175=_0x401f20;return this['_roomMembers$'][_0x4af175(0x1e1)]();}['dispose'](){const _0x14d65f=_0x401f20;super[_0x14d65f(0x2b1)](),this[_0x14d65f(0x221)][_0x14d65f(0x29d)](new Map()),this[_0x14d65f(0x221)][_0x14d65f(0xc7)](),this[_0x14d65f(0x25d)][_0x14d65f(0x29d)]([]),this[_0x14d65f(0x25d)][_0x14d65f(0xc7)]();}[_0x401f20(0x1ea)](){const _0x5d2955=_0x401f20;this[_0x5d2955(0x153)]||(this['_init']=!0x0,this[_0x5d2955(0x2bb)]['sessionStatus$'][_0x5d2955(0xb9)](_0xb82969[_0x5d2955(0x310)](this['dispose$']))[_0x5d2955(0x1bc)](_0x4fd477=>{const _0x106ce0=_0x5d2955;_0x4fd477===_0xe14e[_0x106ce0(0x207)][_0x106ce0(0x99)]?this[_0x106ce0(0x214)]():this[_0x106ce0(0x2ff)]();}),this[_0x5d2955(0x2bb)]['event$'][_0x5d2955(0xb9)](_0xb82969[_0x5d2955(0x310)](this[_0x5d2955(0x25e)]))[_0x5d2955(0x1bc)](_0x50eba7=>{const _0x3306d9=_0x5d2955,_0x2f5714=_0x50eba7[_0x3306d9(0x18d)];_0x2f5714===_0x17be28[_0x3306d9(0x30a)][_0x3306d9(0x2eb)]&&this['_onCursorUpdate'](_0x50eba7),_0x2f5714===_0x17be28['CollaborationEvent'][_0x3306d9(0x28f)]&&this[_0x3306d9(0x26b)](_0x50eba7);}),this['disposeWithMe'](this[_0x5d2955(0x9f)]['onCommandExecuted'](_0x11927b=>{const _0x23a534=_0x5d2955,_0xbfea46=_0x11927b[_0x23a534(0x1cf)];_0xbfea46!=null&&this[_0x23a534(0x141)]&&_0x11927b['id']===_0x20283b['SetTextSelectionsOperation']['id']&&_0xbfea46['unitId']===this['unitID']&&_0xbfea46[_0x23a534(0x108)]===!0x1&&_0xbfea46[_0x23a534(0x187)]['length']>0x0&&this['_updateLocalCursor'](_0xbfea46[_0x23a534(0x187)]);})),this[_0x5d2955(0x1c3)]['collabCursorState$'][_0x5d2955(0xb9)](_0xb82969['takeUntil'](this['dispose$']))['subscribe'](_0x4d910c=>{const _0x3b37cb=_0x5d2955;if((_0x4d910c==null?void 0x0:_0x4d910c[_0x3b37cb(0xcf)])!==this[_0x3b37cb(0xcf)])return;const _0x4a3248={'eventID':_0x17be28['CollaborationEvent'][_0x3b37cb(0x2eb)],'data':_0x4d910c};this[_0x3b37cb(0x17b)](_0x4a3248);}),this[_0x5d2955(0x164)](this['_commandService'][_0x5d2955(0x18b)](_0xb35596=>{const _0x5f524a=_0x5d2955;if(_0xb35596['params']==null)return;const _0x19dd00=_0xb35596['params'];if(_0xb35596['id']!==_0x20283b['RichTextEditingMutation']['id']||_0x19dd00[_0x5f524a(0x21a)]!==this['unitID'])return;const _0x426dfb={'id':'doc.mutation.rich-text-editing','params':_0x19dd00},_0x46e5c8=this[_0x5f524a(0x24c)];for(const [_0x1a3250,_0x36c4c1]of _0x46e5c8){const _0x1d2f61={'id':_0x5f524a(0x22d),'params':{'unitId':this[_0x5f524a(0xcf)],'actions':null,'textRanges':_0x36c4c1[_0x5f524a(0x187)]}},_0x30def9=this[_0x5f524a(0x2cb)][_0x5f524a(0x223)](_0x426dfb,_0x1d2f61,!0x1);if(_0x17be28[_0x5f524a(0xf4)](_0x30def9))throw _0x30def9['error'];_0x46e5c8[_0x5f524a(0xa1)](_0x1a3250,{..._0x36c4c1,'ranges':_0x30def9[_0x5f524a(0x249)]['params'][_0x5f524a(0x1df)]});}queueMicrotask(()=>{const _0x29d535=_0x5f524a;this['_cursorInfo$'][_0x29d535(0x29d)](_0x46e5c8);});})));}[_0x401f20(0x17b)](_0x5d8556){const _0x4cebed=_0x401f20;var _0x2a67e8,_0x1c09d1;const {memberID:_0x1f8783,selection:_0x21cba6}=_0x5d8556[_0x4cebed(0x2a5)],_0x46532e=_0x5ef98a(_0x21cba6),_0x5269b8=(_0x1c09d1=(_0x2a67e8=this[_0x4cebed(0x20f)]['getMember'](this[_0x4cebed(0xcf)],_0x1f8783))==null?void 0x0:_0x2a67e8['name'])!=null?_0x1c09d1:_0x4cebed(0x14b),_0x59faf2={'color':this[_0x4cebed(0x95)][_0x4cebed(0x9d)](_0x1f8783),'name':_0x5269b8,'ranges':_0x46532e},_0x11fdab=this[_0x4cebed(0x24c)];_0x11fdab['set'](_0x1f8783,_0x59faf2),this[_0x4cebed(0x221)][_0x4cebed(0x29d)](_0x11fdab);}['_onCursorDelete'](_0x2653c2){const _0x4b5fe9=_0x401f20,{memberID:_0x4b72d3}=_0x2653c2[_0x4b5fe9(0x2a5)],_0x15c9e8=this[_0x4b5fe9(0x24c)];_0x15c9e8['delete'](_0x4b72d3),this[_0x4b5fe9(0x221)][_0x4b5fe9(0x29d)](_0x15c9e8);}[_0x401f20(0x214)](){const _0x1daed0=_0x401f20;var _0x31ac69;if(this[_0x1daed0(0x141)]=!0x0,((_0x31ac69=this[_0x1daed0(0x27e)][_0x1daed0(0x248)]())==null?void 0x0:_0x31ac69[_0x1daed0(0xf9)]())!==this['unitID'])return;const _0x3deeb8=this[_0x1daed0(0x217)][_0x1daed0(0x150)](_0x20283b[_0x1daed0(0x300)])[_0x1daed0(0x17a)]();Array[_0x1daed0(0x29e)](_0x3deeb8)&&_0x3deeb8['length']>0x0&&this[_0x1daed0(0xad)](_0x3deeb8);}[_0x401f20(0x2ff)](){const _0x2e1d0c=_0x401f20;this[_0x2e1d0c(0x141)]=!0x1;}};_0x4bbd88=_0x3dfa60([_0x5a764c(0x2,_0x23c5c6['Inject'](_0x23c5c6[_0x401f20(0x311)])),_0x5a764c(0x3,_0x23c5c6[_0x401f20(0x12e)](_0x1568d7)),_0x5a764c(0x4,_0x23c5c6[_0x401f20(0x12e)](_0xe14e['MemberService'])),_0x5a764c(0x5,_0x23c5c6['Inject'](_0x302224)),_0x5a764c(0x6,_0x17be28[_0x401f20(0x29b)]),_0x5a764c(0x7,_0x23c5c6[_0x401f20(0x2b6)]),_0x5a764c(0x8,_0x23c5c6[_0x401f20(0x30c)])],_0x4bbd88);var _0x36a9c7=Object['getOwnPropertyDescriptor'],_0xa1f53f=(_0x30a32b,_0x321b15,_0x5df1ee,_0x528e9a)=>{const _0x4c3476=_0x401f20;for(var _0x43bf4e=_0x528e9a>0x1?void 0x0:_0x528e9a?_0x36a9c7(_0x321b15,_0x5df1ee):_0x321b15,_0x41d432=_0x30a32b[_0x4c3476(0x2c4)]-0x1,_0x4bb0e5;_0x41d432>=0x0;_0x41d432--)(_0x4bb0e5=_0x30a32b[_0x41d432])&&(_0x43bf4e=_0x4bb0e5(_0x43bf4e)||_0x43bf4e);return _0x43bf4e;},_0x19b74d=(_0x52c0ac,_0x365719)=>(_0x536711,_0x23f84a)=>_0x365719(_0x536711,_0x23f84a,_0x52c0ac);const _0x534959=0x12c,_0x47747a=0x64,_0x262ecc=()=>{let _0x58e257=[],_0x5f3578=!0x1;return _0x156381=>{const _0x2cddd8=_0x10ca;_0x58e257[_0x2cddd8(0x1b0)](_0x156381),_0x5f3578||(_0x5f3578=!0x0,setTimeout(()=>{const _0x2a7cb7=_0x2cddd8;_0x58e257[_0x2a7cb7(0x122)](_0x2ac691=>_0x2ac691()),_0x58e257=[],_0x5f3578=!0x1;}));};};let _0x2d7a73=class extends _0x23c5c6[_0x401f20(0x143)]{constructor(_0xc5cca4,_0x16f43a,_0x103724,_0x39541e,_0x1ce00c,_0x5c88b8,_0x49c1de,_0x265395){const _0x26bde5=_0x401f20;super(),_0x1fcf73(this,_0x26bde5(0x141),!0x1),_0x1fcf73(this,_0x26bde5(0x153),!0x1),_0x1fcf73(this,'_cursorInfo$',new _0xb82969[(_0x26bde5(0x23b))](new Map())),_0x1fcf73(this,'cursorInfo$',this[_0x26bde5(0x221)][_0x26bde5(0x196)]()),_0x1fcf73(this,_0x26bde5(0x25d),new _0xb82969[(_0x26bde5(0x23b))]([])),_0x1fcf73(this,_0x26bde5(0x1c1),this['_roomMembers$'][_0x26bde5(0xb9)](_0xb82969['debounceTime'](_0x534959))),_0x1fcf73(this,_0x26bde5(0xad),_0x23c5c6[_0x26bde5(0xcc)]((_0x2b3006,_0x210527)=>{const _0x468278=_0x26bde5,_0x3ee524={'eventID':_0x17be28['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x468278(0x92)](),'selection':_0x59f94d[_0x468278(0x2ae)](_0x2b3006,_0x210527[_0x468278(0x86)])}};this[_0x468278(0x2bb)][_0x468278(0x260)](_0x3ee524,this['unitID']);},_0x47747a)),(this[_0x26bde5(0xcf)]=_0xc5cca4,this[_0x26bde5(0x2bb)]=_0x16f43a,this[_0x26bde5(0x217)]=_0x103724,this['_colorAssignService']=_0x39541e,this[_0x26bde5(0x20f)]=_0x1ce00c,this[_0x26bde5(0x27e)]=_0x5c88b8,this['_commandService']=_0x49c1de,this['_refRangeService']=_0x265395);}get[_0x401f20(0x24c)](){const _0x179d19=_0x401f20;return this[_0x179d19(0x221)][_0x179d19(0x1e1)]();}get[_0x401f20(0x11a)](){const _0x5c3324=_0x401f20;return this[_0x5c3324(0x25d)][_0x5c3324(0x1e1)]();}[_0x401f20(0x2b1)](){const _0x34655c=_0x401f20;super[_0x34655c(0x2b1)](),this['_cursorInfo$'][_0x34655c(0x29d)](new Map()),this[_0x34655c(0x221)][_0x34655c(0xc7)](),this[_0x34655c(0x25d)]['next']([]),this[_0x34655c(0x25d)][_0x34655c(0xc7)]();}['init'](){const _0x453a00=_0x401f20;this[_0x453a00(0x153)]||(this[_0x453a00(0x153)]=!0x0,this['_session'][_0x453a00(0x2a3)]['pipe'](_0xb82969[_0x453a00(0x310)](this['dispose$']))['subscribe'](_0x438ec3=>{const _0x233f10=_0x453a00;_0x438ec3===_0xe14e[_0x233f10(0x207)][_0x233f10(0x99)]?this[_0x233f10(0x214)]():this[_0x233f10(0x2ff)]();}),this['_session'][_0x453a00(0x1c7)][_0x453a00(0xb9)](_0xb82969[_0x453a00(0x310)](this['dispose$']))['subscribe'](_0x20ef25=>{const _0x3da4b9=_0x453a00,_0x236674=_0x20ef25[_0x3da4b9(0x18d)];_0x236674===_0x17be28[_0x3da4b9(0x30a)][_0x3da4b9(0x2eb)]&&this['_onCursorUpdate'](_0x20ef25),_0x236674===_0x17be28[_0x3da4b9(0x30a)][_0x3da4b9(0x28f)]&&this['_onCursorDelete'](_0x20ef25);}),this[_0x453a00(0x1e6)](),this[_0x453a00(0x164)](this['_commandService'][_0x453a00(0x18b)](_0x2024e9=>{const _0x5b2b8a=_0x453a00;if(this[_0x5b2b8a(0x141)]&&_0x2024e9['id']===_0x3b49ce[_0x5b2b8a(0xfc)]['id']&&_0x2024e9[_0x5b2b8a(0x1cf)][_0x5b2b8a(0x21a)]===this[_0x5b2b8a(0xcf)]){const _0x35f9ea=_0x2024e9['params'];this[_0x5b2b8a(0xad)](_0x35f9ea['subUnitId'],_0x35f9ea[_0x5b2b8a(0x232)][0x0]);}})));}[_0x401f20(0x17b)](_0x1f00b7){const _0x313fab=_0x401f20;var _0x367a25,_0xccaa2;const {memberID:_0x460951,selection:_0x45a9e8}=_0x1f00b7['data'],{sheetName:_0x5ec0d6,range:_0x3450ee}=_0x59f94d[_0x313fab(0x1ec)](_0x45a9e8),_0xc87fee={'name':(_0xccaa2=(_0x367a25=this[_0x313fab(0x20f)]['getMember'](this['unitID'],_0x460951))==null?void 0x0:_0x367a25[_0x313fab(0x269)])!=null?_0xccaa2:_0x313fab(0x14b),'range':this['_getMergeRange'](_0x5ec0d6,_0x3450ee),'sheetID':_0x5ec0d6,'color':this[_0x313fab(0x95)][_0x313fab(0x9d)](_0x460951),'selection':_0x45a9e8},_0x2fe63b=this['cursorInfo'];_0x2fe63b['set'](_0x460951,_0xc87fee),this[_0x313fab(0x221)][_0x313fab(0x29d)](_0x2fe63b);}['_onCursorDelete'](_0x49d9e8){const _0x475587=_0x401f20,{memberID:_0x558cd9}=_0x49d9e8[_0x475587(0x2a5)],_0x51ceff=this['cursorInfo'];_0x51ceff[_0x475587(0x29c)](_0x558cd9),this[_0x475587(0x221)][_0x475587(0x29d)](_0x51ceff);}[_0x401f20(0x1cd)](_0x2487e0,_0x21cc5c){const _0xdaba5c=_0x401f20;var _0x115f5f,_0x3eaecc;const _0x1dbe80=(_0x3eaecc=(_0x115f5f=this['_univerInstanceService'][_0xdaba5c(0xdb)](this[_0xdaba5c(0xcf)]))==null?void 0x0:_0x115f5f['getSheetBySheetId'](_0x2487e0))==null?void 0x0:_0x3eaecc[_0xdaba5c(0x15b)]();return(_0x1dbe80==null?void 0x0:_0x1dbe80[_0xdaba5c(0x262)](_0x19a28f=>_0x23c5c6['Rectangle'][_0xdaba5c(0x2a7)](_0x19a28f,_0x21cc5c)))||_0x21cc5c;}[_0x401f20(0x1e6)](){const _0x4062a0=_0x401f20,_0x462f3f=new _0x23c5c6['DisposableCollection'](),_0x45ff29=_0x262ecc(),_0x15ef3e=()=>{const _0x1bbfa5=_0x10ca;_0x462f3f[_0x1bbfa5(0x2b1)]();const _0x14a5f3=(_0x3dcfb5,_0x331cbc,_0x169b60,_0x58abe1)=>{const _0x1a1607=_0x1bbfa5;let _0x39dd05=[];switch(_0x3dcfb5['id']){case _0x3b49ce[_0x1a1607(0x1dc)][_0x1a1607(0xe5)]:{_0x39dd05=_0x3b49ce['handleDeleteRangeMoveLeft'](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce['EffectRefRangId'][_0x1a1607(0x1b2)]:{_0x39dd05=_0x3b49ce[_0x1a1607(0xdc)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce['EffectRefRangId']['InsertColCommandId']:{_0x39dd05=_0x3b49ce[_0x1a1607(0x1f4)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce[_0x1a1607(0x1dc)]['InsertRangeMoveDownCommandId']:{_0x39dd05=_0x3b49ce[_0x1a1607(0x2b8)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce[_0x1a1607(0x1dc)]['InsertRangeMoveRightCommandId']:{_0x39dd05=_0x3b49ce[_0x1a1607(0x194)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce[_0x1a1607(0x1dc)][_0x1a1607(0x145)]:{_0x39dd05=_0x3b49ce[_0x1a1607(0x98)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce[_0x1a1607(0x1dc)][_0x1a1607(0x106)]:{_0x39dd05=_0x3b49ce[_0x1a1607(0x283)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce['EffectRefRangId'][_0x1a1607(0xee)]:{_0x39dd05=_0x3b49ce['handleIRemoveCol'](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce['EffectRefRangId'][_0x1a1607(0x265)]:{_0x39dd05=_0x3b49ce[_0x1a1607(0xfd)](_0x3dcfb5,_0x58abe1);break;}}const _0x562877=_0x3b49ce[_0x1a1607(0x102)](_0x39dd05,_0x58abe1),_0x303510=this['cursorInfo'][_0x1a1607(0x150)](_0x331cbc);if(_0x303510&&_0x562877){const _0x3af38b={..._0x303510,'range':_0x562877};this['cursorInfo'][_0x1a1607(0xa1)](_0x331cbc,_0x3af38b),_0x45ff29(()=>{const _0x43f25f=_0x1a1607,_0x4205f5=this[_0x43f25f(0x1da)][_0x43f25f(0x193)](_0x562877,_0x4a30b8=>(_0x4205f5['dispose'](),_0x14a5f3(_0x4a30b8,_0x331cbc,_0x169b60,_0x562877)));_0x462f3f[_0x43f25f(0xd8)](_0x4205f5);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1bbfa5(0x122)]((_0x390d48,_0x39fc91)=>{const _0x2ee979=_0x1bbfa5,{range:_0x5a648f,sheetID:_0x495892}=_0x390d48,_0x593d23=this[_0x2ee979(0x1da)]['registerRefRange'](_0x5a648f,_0x324ac2=>(_0x593d23[_0x2ee979(0x2b1)](),_0x14a5f3(_0x324ac2,_0x39fc91,_0x495892,_0x5a648f)));_0x462f3f[_0x2ee979(0xd8)](_0x593d23);});};this[_0x4062a0(0x164)](_0x23c5c6[_0x4062a0(0x275)](this['_cursorInfo$'][_0x4062a0(0x1bc)](()=>{_0x15ef3e();})));}['_toggleOnline'](){const _0x5580da=_0x401f20;var _0x148b67,_0x14c3f8;if(this[_0x5580da(0x141)]=!0x0,((_0x148b67=this[_0x5580da(0x27e)][_0x5580da(0x248)]())==null?void 0x0:_0x148b67[_0x5580da(0xf9)]())!==this[_0x5580da(0xcf)])return;const _0x50dc8e=(_0x14c3f8=this[_0x5580da(0x217)]['get'](_0x3b49ce[_0x5580da(0x9b)])[_0x5580da(0x25a)]())==null?void 0x0:_0x14c3f8[0x0],_0x394bd8=this[_0x5580da(0x27e)][_0x5580da(0xd3)](_0x23c5c6[_0x5580da(0x295)][_0x5580da(0x123)])[_0x5580da(0x14a)]();_0x50dc8e&&_0x394bd8&&this[_0x5580da(0xad)](_0x394bd8[_0x5580da(0xe3)](),_0x50dc8e);}[_0x401f20(0x2ff)](){const _0x398bf3=_0x401f20;this[_0x398bf3(0x141)]=!0x1;}};_0x2d7a73=_0xa1f53f([_0x19b74d(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x311)])),_0x19b74d(0x3,_0x23c5c6[_0x401f20(0x12e)](_0x1568d7)),_0x19b74d(0x4,_0x23c5c6[_0x401f20(0x12e)](_0xe14e[_0x401f20(0x119)])),_0x19b74d(0x5,_0x23c5c6[_0x401f20(0x2b6)]),_0x19b74d(0x6,_0x23c5c6[_0x401f20(0x30c)]),_0x19b74d(0x7,_0x23c5c6[_0x401f20(0x12e)](_0x3b49ce[_0x401f20(0x209)]))],_0x2d7a73);var _0x102d20=Object[_0x401f20(0x2e6)],_0x29f12c=(_0x347548,_0x69d51a,_0x5f1eb0,_0x3d10bf)=>{for(var _0x3b3824=_0x3d10bf>0x1?void 0x0:_0x3d10bf?_0x102d20(_0x69d51a,_0x5f1eb0):_0x69d51a,_0x2b559b=_0x347548['length']-0x1,_0x211a61;_0x2b559b>=0x0;_0x2b559b--)(_0x211a61=_0x347548[_0x2b559b])&&(_0x3b3824=_0x211a61(_0x3b3824)||_0x3b3824);return _0x3b3824;},_0x36921d=(_0x46dfc2,_0xc5a6f3)=>(_0x25cb26,_0x5afad5)=>_0xc5a6f3(_0x25cb26,_0x5afad5,_0x46dfc2);let _0x4265e2=class extends _0x23c5c6[_0x401f20(0x143)]{constructor(_0x17229b,_0x1b7a8d,_0x3a4eae){const _0x238874=_0x401f20;super(),_0x1fcf73(this,_0x238874(0x225),new Map()),_0x1fcf73(this,_0x238874(0x25c),new _0xb82969['Subject']()),(this[_0x238874(0x27e)]=_0x17229b,this['_injector']=_0x1b7a8d,this[_0x238874(0x1ae)]=_0x3a4eae,this['_init']());}[_0x401f20(0x2b1)](){const _0x28de84=_0x401f20;super[_0x28de84(0x2b1)](),this[_0x28de84(0x25c)][_0x28de84(0xc7)](),this[_0x28de84(0x225)][_0x28de84(0x122)](_0x5ec468=>_0x5ec468[_0x28de84(0x2b1)]());}['getCollabCursors$'](_0x25a75d){const _0x303b53=_0x401f20;return this[_0x303b53(0x225)][_0x303b53(0x1bd)](_0x25a75d)?this[_0x303b53(0x225)][_0x303b53(0x150)](_0x25a75d)['cursorInfo$']:this[_0x303b53(0x25c)][_0x303b53(0xb9)](_0xb82969['filter'](_0x4a9340=>_0x4a9340['unitID']===_0x25a75d),_0xb82969[_0x303b53(0x1a6)](_0x56bc13=>_0x56bc13[_0x303b53(0x2ad)]));}['_init'](){const _0x13fcaa=_0x401f20;this[_0x13fcaa(0x27e)][_0x13fcaa(0x1b8)](_0x23c5c6[_0x13fcaa(0x295)][_0x13fcaa(0x123)])['pipe'](_0xb82969[_0x13fcaa(0x310)](this[_0x13fcaa(0x25e)]))[_0x13fcaa(0x1bc)](async _0x37a523=>{const _0x566e9d=_0x13fcaa,_0xe3a53d=_0x37a523['getUnitId'](),_0x334cb0=await this[_0x566e9d(0x213)](_0xe3a53d);this[_0x566e9d(0x25c)][_0x566e9d(0x29d)](_0x334cb0),this[_0x566e9d(0x225)]['set'](_0xe3a53d,_0x334cb0);}),this[_0x13fcaa(0x27e)][_0x13fcaa(0x1b8)](_0x23c5c6[_0x13fcaa(0x295)][_0x13fcaa(0x2c2)])['pipe'](_0xb82969[_0x13fcaa(0x310)](this['dispose$']))['pipe'](_0xb82969[_0x13fcaa(0x9e)](_0x451990=>!_0x451990[_0x13fcaa(0xf9)]()[_0x13fcaa(0x172)]('__')))[_0x13fcaa(0x1bc)](async _0x2c2e20=>{const _0x5be79a=_0x13fcaa,_0x153e4b=_0x2c2e20[_0x5be79a(0xf9)](),_0xb41f06=await this[_0x5be79a(0x12c)](_0x153e4b);this['_entityInit$']['next'](_0xb41f06),this[_0x5be79a(0x225)]['set'](_0x153e4b,_0xb41f06);}),_0xb82969[_0x13fcaa(0x2b4)](this[_0x13fcaa(0x27e)][_0x13fcaa(0xc1)](_0x23c5c6[_0x13fcaa(0x295)]['UNIVER_DOC']),this[_0x13fcaa(0x27e)][_0x13fcaa(0xc1)](_0x23c5c6['UniverInstanceType'][_0x13fcaa(0x123)]))[_0x13fcaa(0xb9)](_0xb82969[_0x13fcaa(0x310)](this[_0x13fcaa(0x25e)]))[_0x13fcaa(0x1bc)](_0x263a43=>{const _0x1788fb=_0x13fcaa,_0x38b65e=_0x263a43['getUnitId'](),_0x4bf794=this['_entities'][_0x1788fb(0x150)](_0x38b65e);_0x4bf794&&(_0x4bf794[_0x1788fb(0x2b1)](),this[_0x1788fb(0x225)][_0x1788fb(0x29c)](_0x38b65e));});}async[_0x401f20(0x213)](_0x134f78){const _0xae1eb7=_0x401f20,_0x2465e5=await this[_0xae1eb7(0x1ae)][_0xae1eb7(0x14d)](_0x134f78),_0x272a85=this['_injector']['createInstance'](_0x2d7a73,_0x134f78,_0x2465e5);return _0x272a85[_0xae1eb7(0x1ea)](),_0x272a85;}async[_0x401f20(0x12c)](_0x19da8c){const _0x67b13=_0x401f20,_0x31689a=await this[_0x67b13(0x1ae)][_0x67b13(0x14d)](_0x19da8c),_0x1a82fa=this['_injector']['createInstance'](_0x4bbd88,_0x19da8c,_0x31689a);return _0x1a82fa[_0x67b13(0x1ea)](),_0x1a82fa;}};_0x4265e2=_0x29f12c([_0x36921d(0x0,_0x23c5c6[_0x401f20(0x2b6)]),_0x36921d(0x1,_0x23c5c6['Inject'](_0x23c5c6[_0x401f20(0x311)])),_0x36921d(0x2,_0x23c5c6[_0x401f20(0x12e)](_0xe14e[_0x401f20(0x2fc)]))],_0x4265e2);const _0x403e4a=0x14,_0x2156e7=0xc8,_0x4a0a7a=0x4,_0x3cf652=0x5;function _0x313403(_0x199bc3,_0x167896){const _0x58993b=_0x401f20;let {radius:_0x35d47b,width:_0x553bc9,height:_0x69e9a}=_0x167896;_0x35d47b=_0x35d47b!=null?_0x35d47b:0x0,_0x553bc9=_0x553bc9!=null?_0x553bc9:0x1e,_0x69e9a=_0x69e9a!=null?_0x69e9a:0x1e;let _0x48aa81=0x0,_0x5150f7=0x0,_0x70193f=0x0;_0x48aa81=_0x5150f7=_0x70193f=Math[_0x58993b(0x19e)](_0x35d47b,_0x553bc9/0x2,_0x69e9a/0x2),_0x199bc3[_0x58993b(0x2a0)](),_0x199bc3['moveTo'](_0x48aa81,0x0),_0x199bc3[_0x58993b(0x26d)](_0x553bc9-_0x5150f7,0x0),_0x199bc3[_0x58993b(0x28d)](_0x553bc9-_0x5150f7,_0x5150f7,_0x5150f7,Math['PI']*0x3/0x2,0x0,!0x1),_0x199bc3[_0x58993b(0x26d)](_0x553bc9,_0x69e9a-_0x70193f),_0x199bc3[_0x58993b(0x28d)](_0x553bc9-_0x70193f,_0x69e9a-_0x70193f,_0x70193f,0x0,Math['PI']/0x2,!0x1),_0x199bc3[_0x58993b(0x26d)](0x0,_0x69e9a),_0x199bc3['lineTo'](0x0,_0x48aa81),_0x199bc3[_0x58993b(0x28d)](_0x48aa81,_0x48aa81,_0x48aa81,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x199bc3['closePath'](),_0x167896[_0x58993b(0x140)]&&(_0x199bc3[_0x58993b(0x24f)](),_0x199bc3[_0x58993b(0x138)]=_0x167896[_0x58993b(0x140)],_0x167896[_0x58993b(0x244)]===_0x58993b(0x112)?_0x199bc3[_0x58993b(0x140)](_0x58993b(0x112)):_0x199bc3[_0x58993b(0x140)](),_0x199bc3[_0x58993b(0x2fb)]());}class _0x14240d extends _0x112879['Shape']{constructor(_0x250741,_0x34970b){const _0x51139d=_0x401f20;super(_0x250741,_0x34970b),_0x1fcf73(this,_0x51139d(0x116)),_0x1fcf73(this,_0x51139d(0x21b)),(this[_0x51139d(0x116)]=_0x34970b==null?void 0x0:_0x34970b[_0x51139d(0x116)],this[_0x51139d(0x21b)]=_0x34970b==null?void 0x0:_0x34970b[_0x51139d(0x21b)]);}static[_0x401f20(0x1a7)](_0x1f7b9c,_0x1aa39e){const _0x38b4d2=_0x401f20,{text:_0x1d19f7,color:_0x3a30c1}=_0x1aa39e;_0x1f7b9c[_0x38b4d2(0x24f)](),_0x1f7b9c[_0x38b4d2(0x18e)]=_0x38b4d2(0x251);const _0x5de9ab=_0x1f7b9c[_0x38b4d2(0x169)](_0x1d19f7)['width'],_0x48b33a=Math[_0x38b4d2(0x19e)](_0x5de9ab+0x2*_0x4a0a7a,_0x2156e7);_0x313403(_0x1f7b9c,{'height':_0x403e4a,'radius':0x4,'width':_0x48b33a,'fill':_0x3a30c1}),_0x1f7b9c[_0x38b4d2(0x138)]=_0x38b4d2(0x1e0);const _0x3cf17e=_0x4a0a7a,_0x34db73=_0x403e4a-_0x3cf652,_0x5d5f86=_0x2156e7-0x2*_0x4a0a7a;if(_0x5de9ab>_0x5d5f86){let _0x657901='',_0x37ce18=0x0;for(const _0x18065b of _0x1d19f7){const _0x568276=_0x1f7b9c[_0x38b4d2(0x169)](_0x18065b)[_0x38b4d2(0xf2)];if(_0x37ce18+_0x568276<=_0x5d5f86-_0x1f7b9c[_0x38b4d2(0x169)](_0x38b4d2(0x175))[_0x38b4d2(0xf2)])_0x657901+=_0x18065b,_0x37ce18+=_0x568276;else{_0x657901+=_0x38b4d2(0x175);break;}}_0x1f7b9c[_0x38b4d2(0x308)](_0x657901,_0x3cf17e,_0x34db73);}else _0x1f7b9c[_0x38b4d2(0x308)](_0x1d19f7,_0x3cf17e,_0x34db73);_0x1f7b9c['restore']();}['_draw'](_0x46e5a4){_0x14240d['drawWith'](_0x46e5a4,this);}}const _0x2825af=_0x401f20(0x142),_0x24e957=_0x401f20(0x203),_0x4575d9=_0x401f20(0x292),_0x12e552=0x6,_0x33f1fb=1.5,_0x143e57=0x4,_0x13b623=1.5,_0xec043c='rgba(255,\x20255,\x20255,\x200.01)';class _0x34a9ef{constructor(_0x186e47,_0x216550,_0x3ec74a,_0x16b3bd){const _0x5a703b=_0x401f20;_0x1fcf73(this,_0x5a703b(0x155),[]),_0x1fcf73(this,_0x5a703b(0x21f),null),_0x1fcf73(this,_0x5a703b(0xbf),null),_0x1fcf73(this,_0x5a703b(0x22a),null),_0x1fcf73(this,_0x5a703b(0x120),null),_0x1fcf73(this,_0x5a703b(0x2ec),null),(this[_0x5a703b(0x1e2)]=_0x186e47,this['_scene']=_0x216550,this[_0x5a703b(0x2fa)]=_0x3ec74a,this[_0x5a703b(0x184)]=_0x16b3bd,this['_render']());}set[_0x401f20(0x2d2)](_0x49c13d){const _0x253804=_0x401f20;_0x49c13d?(this[_0x253804(0x22a)]&&this[_0x253804(0x22a)]['hide'](),this[_0x253804(0xbf)]&&this[_0x253804(0xbf)]['show']()):(this[_0x253804(0x22a)]&&this['_anchorDot'][_0x253804(0x2b3)](),this['_textBubble']&&this[_0x253804(0xbf)][_0x253804(0x281)]());}[_0x401f20(0x2b1)](){const _0x2457bf=_0x401f20;for(const _0x2f74d2 of this[_0x2457bf(0x155)])_0x2f74d2[_0x2457bf(0x2b1)]();this[_0x2457bf(0xbf)]&&this[_0x2457bf(0xbf)]['dispose'](),this[_0x2457bf(0x22a)]&&this[_0x2457bf(0x22a)][_0x2457bf(0x2b1)](),this[_0x2457bf(0x21f)]&&this[_0x2457bf(0x21f)][_0x2457bf(0x2b1)](),this[_0x2457bf(0x2ec)]&&this[_0x2457bf(0x2ec)]();}[_0x401f20(0x2ef)](){const _0x1b98f6=_0x401f20;var _0x2d5138;const {_docSkeleton:_0x538b49,_document:_0x34e24f}=this,{color:_0x559c89,name:_0x274a0f,ranges:_0xaf42e0}=this[_0x1b98f6(0x1e2)],_0x34d27c=_0x34e24f[_0x1b98f6(0x9a)](),{docsLeft:_0x4ad45f,docsTop:_0xd36fea}=_0x34d27c,_0x1f0efe=new _0x1f875c[(_0x1b98f6(0x10e))](_0x34d27c,_0x538b49);for(const {startOffset:_0x5bc805,endOffset:_0x106388,rangeType:_0x4d9fcf,segmentId:_0x301085,segmentPage:_0x221991,collapsed:_0x43154f,isActive:_0x46a24a}of _0xaf42e0){const _0x4e4108=_0x538b49[_0x1b98f6(0x171)](_0x5bc805,!0x0,_0x301085,_0x221991);let _0x253554=_0x538b49[_0x1b98f6(0x171)](_0x106388,!0x0,_0x301085,_0x221991);if(_0x253554==null&&(_0x253554=_0x538b49['findNodePositionByCharIndex'](_0x106388-0x1,!0x1,_0x301085,_0x221991)),_0x46a24a){const {contentBoxPointGroup:_0x146d9d}=_0x1f0efe[_0x1b98f6(0xe6)](_0x253554,_0x253554);if(_0x146d9d[_0x1b98f6(0x2c4)]===0x0)continue;this[_0x1b98f6(0x237)](_0x559c89,_0x146d9d,_0x4ad45f,_0xd36fea,_0x274a0f),this['_eventUnsubscribe']=this[_0x1b98f6(0xdf)]();}if(_0x4e4108&&_0x253554){if(_0x4d9fcf===_0x23c5c6['DOC_RANGE_TYPE']['RECT']){const _0x583207=new _0x1f875c['NodePositionConvertToRectRange'](_0x34d27c,_0x538b49),{pointGroup:_0x412d17}=(_0x2d5138=_0x583207[_0x1b98f6(0xe6)](_0x4e4108,_0x253554))!=null?_0x2d5138:{};if(_0x412d17==null||_0x412d17[_0x1b98f6(0x2c4)]===0x0)continue;this[_0x1b98f6(0x20d)](_0x559c89,_0x412d17,_0x4ad45f,_0xd36fea);}else{if(!_0x43154f){const {borderBoxPointGroup:_0x4fae6f}=_0x1f0efe['getRangePointData'](_0x4e4108,_0x253554);if(_0x4fae6f[_0x1b98f6(0x2c4)]===0x0)continue;this[_0x1b98f6(0xbd)](_0x559c89,_0x4fae6f,_0x4ad45f,_0xd36fea);}}}}}[_0x401f20(0x237)](_0x213e9f,_0x23bac1,_0x12c376,_0x465b12,_0x9498c1){const _0x59714c=_0x401f20,_0x1d7e63=this[_0x59714c(0x206)](_0x23bac1),{left:_0x588313,top:_0x37a38c,height:_0x406b14}=_0x1d7e63,_0x19e37c=this[_0x59714c(0x1e8)](),_0x4022a8=_0x13b623/_0x19e37c,_0x4e94b6=new _0x112879[(_0x59714c(0xe4))](_0x2825af+_0x23c5c6['Tools'][_0x59714c(0x165)](_0x12e552),{'left':_0x588313+_0x12c376-_0x4022a8,'top':_0x37a38c+_0x465b12,'height':_0x406b14,'width':_0x33f1fb,'fill':_0x213e9f||_0x112879[_0x59714c(0x256)](_0x23c5c6['COLORS'][_0x59714c(0x186)],0x0),'strokeWidth':_0x4022a8,'stroke':_0xec043c,'evented':!0x0});this[_0x59714c(0x21f)]=_0x4e94b6,this[_0x59714c(0x12d)]['addObject'](_0x4e94b6,_0x1f875c[_0x59714c(0x94)]);const _0x1d0fb4=new _0x112879[(_0x59714c(0xe4))](_0x2825af+_0x23c5c6[_0x59714c(0x1aa)][_0x59714c(0x165)](_0x12e552),{'left':_0x588313+_0x12c376-_0x4022a8,'top':_0x37a38c+_0x465b12-_0x143e57/0x2,'height':_0x143e57,'width':_0x143e57,'fill':_0x213e9f||_0x112879['getColor'](_0x23c5c6['COLORS'][_0x59714c(0x186)],0x0),'strokeWidth':0x0,'stroke':_0x213e9f||_0x112879[_0x59714c(0x256)](_0x23c5c6[_0x59714c(0xb1)][_0x59714c(0x186)],0x0),'evented':!0x1});this[_0x59714c(0x22a)]=_0x1d0fb4,this['_scene'][_0x59714c(0x266)](_0x1d0fb4,_0x1f875c[_0x59714c(0x94)]);const _0x58ceeb=new _0x14240d(_0x2825af+_0x23c5c6[_0x59714c(0x1aa)][_0x59714c(0x165)](_0x12e552),{'left':_0x588313+_0x12c376-_0x4022a8,'top':_0x37a38c+_0x465b12-_0x403e4a,'text':_0x9498c1,'color':_0x213e9f});this[_0x59714c(0xbf)]=_0x58ceeb,this[_0x59714c(0x12d)][_0x59714c(0x266)](_0x58ceeb,_0x1f875c['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x401f20(0xdf)](){const _0x55cffc=_0x401f20,_0x2ba3a9=this['_anchor'][_0x55cffc(0x1d2)][_0x55cffc(0x105)](()=>{const _0xcef4a4=_0x55cffc;this[_0xcef4a4(0x2d2)]=!0x0;}),_0x3c66c3=this[_0x55cffc(0x21f)][_0x55cffc(0x273)][_0x55cffc(0x105)](()=>{const _0x3e73a7=_0x55cffc;this[_0x3e73a7(0x120)]&&clearTimeout(this[_0x3e73a7(0x120)]),this[_0x3e73a7(0x120)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x885547=_0x55cffc;_0x2ba3a9['unsubscribe'](),_0x3c66c3[_0x885547(0x1ee)]();};}[_0x401f20(0xbd)](_0x422df2,_0x5be3f0,_0x39eabe,_0x10407e){const _0x1af339=_0x401f20,_0x2263a0=new _0x23c5c6[(_0x1af339(0x27c))](_0x422df2)[_0x1af339(0xe9)](0.2)[_0x1af339(0x1c2)](),_0x54850f=new _0x112879['RegularPolygon'](_0x24e957+_0x23c5c6[_0x1af339(0x1aa)]['generateRandomId'](_0x12e552),{'pointsGroup':_0x5be3f0,'fill':_0x2263a0||_0x112879[_0x1af339(0x256)](_0x23c5c6[_0x1af339(0xb1)][_0x1af339(0x186)],0.2),'left':_0x39eabe,'top':_0x10407e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1af339(0x155)][_0x1af339(0x1b0)](_0x54850f),this['_scene'][_0x1af339(0x266)](_0x54850f,_0x1f875c['TEXT_RANGE_LAYER_INDEX']);}[_0x401f20(0x20d)](_0x2fbde3,_0x47c4a0,_0x2816d9,_0x1d91ef){const _0x55a726=_0x401f20,_0x2349a5=new _0x23c5c6['ColorKit'](_0x2fbde3)['setAlpha'](0.2)['toRgbString'](),_0x23c0e5=new _0x112879['RegularPolygon'](_0x4575d9+_0x23c5c6[_0x55a726(0x1aa)][_0x55a726(0x165)](_0x12e552),{'pointsGroup':_0x47c4a0,'fill':_0x2349a5||_0x112879['getColor'](_0x23c5c6[_0x55a726(0xb1)][_0x55a726(0x186)],0.2),'left':_0x2816d9,'top':_0x1d91ef,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x55a726(0x1b0)](_0x23c0e5),this[_0x55a726(0x12d)][_0x55a726(0x266)](_0x23c0e5,_0x1f875c['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x44e93b){const _0x219feb=_0x44e93b[0x0],_0x172cc5=_0x219feb[0x0],_0x3b4dc3=_0x219feb[0x2],{x:_0x3414b5,y:_0x2c4d58}=_0x172cc5,{x:_0x2e4fef,y:_0x47ce06}=_0x3b4dc3;return{'left':_0x3414b5,'top':_0x2c4d58,'width':_0x2e4fef-_0x3414b5,'height':_0x47ce06-_0x2c4d58};}[_0x401f20(0x1e8)](){const _0x128dbe=_0x401f20,{scaleX:_0x435620,scaleY:_0x53512b}=this[_0x128dbe(0x12d)]['getAncestorScale']();return Math['max'](_0x435620,_0x53512b);}}var _0x26fcc7=Object[_0x401f20(0x2e6)],_0x2a23c0=(_0x2bedd8,_0x580975,_0x1fe652,_0x28f6b9)=>{const _0x39d7f3=_0x401f20;for(var _0x1f24f4=_0x28f6b9>0x1?void 0x0:_0x28f6b9?_0x26fcc7(_0x580975,_0x1fe652):_0x580975,_0x17b87c=_0x2bedd8[_0x39d7f3(0x2c4)]-0x1,_0x12d076;_0x17b87c>=0x0;_0x17b87c--)(_0x12d076=_0x2bedd8[_0x17b87c])&&(_0x1f24f4=_0x12d076(_0x1f24f4)||_0x1f24f4);return _0x1f24f4;},_0x5d64e9=(_0x29e6fb,_0x19b360)=>(_0x5d59e6,_0x48ff4a)=>_0x19b360(_0x5d59e6,_0x48ff4a,_0x29e6fb);let _0x1ef9a4=class extends _0x23c5c6['RxDisposable']{constructor(_0x3b2a20,_0xd6b6db,_0x15cf45,_0x1bb840,_0x415418){const _0x5f3106=_0x401f20;super(),_0x1fcf73(this,_0x5f3106(0x290),[]),_0x1fcf73(this,_0x5f3106(0x235),[]),(this[_0x5f3106(0x220)]=_0x3b2a20,this[_0x5f3106(0x26e)]=_0xd6b6db,this[_0x5f3106(0x258)]=_0x15cf45,this['_commandService']=_0x1bb840,this['_themeService']=_0x415418,this['_init']());}[_0x401f20(0x153)](){const _0x5d8ec0=_0x401f20,_0x482d59=this['_context'][_0x5d8ec0(0x21a)],_0x172496=this[_0x5d8ec0(0x26e)];this[_0x5d8ec0(0x164)](_0xb82969[_0x5d8ec0(0x129)]([this[_0x5d8ec0(0x258)][_0x5d8ec0(0x30e)](_0x482d59),this['_themeService'][_0x5d8ec0(0x97)]])[_0x5d8ec0(0xb9)](_0x15e5b5[_0x5d8ec0(0x28e)](([_0x209127,_0x26a66])=>({'skeleton':_0x172496[_0x5d8ec0(0x278)](),'cursors':[..._0x209127[_0x5d8ec0(0x185)]()][_0x5d8ec0(0x25f)](_0x8ce304=>({..._0x8ce304,'color':this['_themeService'][_0x5d8ec0(0x264)](_0x8ce304['color'])}))})))[_0x5d8ec0(0x1bc)](_0x11c998=>{const _0xbd033d=_0x5d8ec0;if(this[_0xbd033d(0x2b7)](),_0x11c998){const {skeleton:_0x101151,cursors:_0x488578}=_0x11c998;this[_0xbd033d(0x113)](_0x101151,_0x488578);}})),this[_0x5d8ec0(0x2db)](),this[_0x5d8ec0(0x130)]();}['_updateCollabCursors'](_0x55b4cf,_0x1270d0){const _0x1f25d6=_0x401f20,{scene:_0x3182ec,mainComponent:_0x38e1c8}=this[_0x1f25d6(0x220)],_0x255f00=_0x1270d0[_0x1f25d6(0x28e)](_0x1c6c3f=>new _0x34a9ef(_0x1c6c3f,_0x3182ec,_0x55b4cf,_0x38e1c8));this['_cursorShapes']=_0x255f00,this[_0x1f25d6(0x235)]=_0x1270d0;}[_0x401f20(0x21d)](){const _0x1076d8=_0x401f20;this[_0x1076d8(0x2b7)]();const {scene:_0x46ac0e,mainComponent:_0x4b4439}=this[_0x1076d8(0x220)],_0x39a1c0=this['_docSkeletonManagerService'][_0x1076d8(0x278)](),_0x45cf40=this[_0x1076d8(0x235)][_0x1076d8(0x28e)](_0x1e0ba3=>new _0x34a9ef(_0x1e0ba3,_0x46ac0e,_0x39a1c0,_0x4b4439));this['_cursorShapes']=_0x45cf40;}[_0x401f20(0x2b7)](){const _0xcbd3e8=_0x401f20;this[_0xcbd3e8(0x290)]['forEach'](_0xc2367a=>_0xc2367a['dispose']()),this[_0xcbd3e8(0x290)]=[];}[_0x401f20(0x130)](){const _0x5840bc=_0x401f20,_0x3b4a08=[_0x1f875c[_0x5840bc(0xc9)]['id']];this['disposeWithMe'](this[_0x5840bc(0x9f)][_0x5840bc(0x18b)](_0x289224=>{const _0xa6ddb5=_0x5840bc;_0x3b4a08[_0xa6ddb5(0xa5)](_0x289224['id'])&&_0x289224['params'][_0xa6ddb5(0x21a)]===this[_0xa6ddb5(0x220)][_0xa6ddb5(0x21a)]&&this[_0xa6ddb5(0x21d)]();}));}['_initResize'](){const _0x45e081=_0x401f20;this[_0x45e081(0x164)](_0x23c5c6[_0x45e081(0x30b)](this[_0x45e081(0x220)][_0x45e081(0x212)][_0x45e081(0xff)])[_0x45e081(0xb9)](_0x15e5b5['filter'](_0x3d72f2=>_0x3d72f2[_0x45e081(0x161)]===_0x112879[_0x45e081(0x1c8)][_0x45e081(0x2f2)]),_0x15e5b5[_0x45e081(0x11d)](0x10))[_0x45e081(0x1bc)](()=>{const _0xc30dba=_0x45e081;this[_0xc30dba(0x21d)]();}));}};_0x1ef9a4=_0x2a23c0([_0x5d64e9(0x1,_0x23c5c6['Inject'](_0x20283b[_0x401f20(0x190)])),_0x5d64e9(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x4265e2)),_0x5d64e9(0x3,_0x23c5c6[_0x401f20(0x30c)]),_0x5d64e9(0x4,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x303)]))],_0x1ef9a4);const _0x564d59=0x1,_0x21989b=1.5;class _0x4a6a14 extends _0x112879['Shape']{constructor(_0x21ba26,_0xcfa220){const _0x46dcd8=_0x401f20;super(_0x21ba26,_0xcfa220),_0x1fcf73(this,_0x46dcd8(0x2d9)),_0x1fcf73(this,'_hovered',!0x1),_0x1fcf73(this,'_range'),_0x1fcf73(this,_0x46dcd8(0x1fc),''),_0x1fcf73(this,_0x46dcd8(0x188),_0x46dcd8(0x2ba)),_0x1fcf73(this,_0x46dcd8(0x1ad)),(_0xcfa220&&this[_0x46dcd8(0x29f)](_0xcfa220),this['onPointerEnter$'][_0x46dcd8(0x105)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x46dcd8(0x273)][_0x46dcd8(0x105)](()=>this[_0x46dcd8(0x29f)]({'hovered':!0x1})));}[_0x401f20(0x29f)](_0x5e61fc){const _0x324870=_0x401f20;var _0x5ea232,_0x5a2802,_0x38706f,_0x1cfa77,_0x366d24,_0x441847;this[_0x324870(0x2d9)]=(_0x5ea232=_0x5e61fc[_0x324870(0x116)])!=null?_0x5ea232:this[_0x324870(0x2d9)],this['_hovered']=(_0x5a2802=_0x5e61fc['hovered'])!=null?_0x5a2802:this[_0x324870(0xb2)],this['_range']=(_0x38706f=_0x5e61fc[_0x324870(0x86)])!=null?_0x38706f:this[_0x324870(0xd7)],this[_0x324870(0x1fc)]=(_0x1cfa77=_0x5e61fc[_0x324870(0x269)])!=null?_0x1cfa77:this[_0x324870(0x1fc)],this[_0x324870(0x188)]=(_0x366d24=_0x5e61fc[_0x324870(0xec)])!=null?_0x366d24:this[_0x324870(0x188)],this[_0x324870(0x1ad)]=(_0x441847=_0x5e61fc[_0x324870(0x230)])!=null?_0x441847:this['_backgroundColor'],this[_0x324870(0x88)]({'width':_0x5e61fc[_0x324870(0xf2)],'height':_0x5e61fc[_0x324870(0xa6)]});}[_0x401f20(0x30d)](_0x55180c){const _0x2fc784=_0x401f20,{row:_0x35f565,column:_0xd0c252}=_0x55180c;if(_0x35f565>=this[_0x2fc784(0xd7)][_0x2fc784(0x9c)]&&_0x35f565<=this[_0x2fc784(0xd7)]['endRow']&&_0xd0c252>=this['_range'][_0x2fc784(0x293)]&&_0xd0c252<=this[_0x2fc784(0xd7)][_0x2fc784(0x16e)]){this[_0x2fc784(0x29f)]({'hovered':!0x0});return;}this[_0x2fc784(0x29f)]({'hovered':!0x1});}[_0x401f20(0x2e4)](_0x9af42f){return!0x1;}[_0x401f20(0x183)](_0x1cd22b){const _0x1e8b86=_0x401f20;_0x112879['Rect'][_0x1e8b86(0x1a7)](_0x1cd22b,{'width':this['width'],'height':this[_0x1e8b86(0xa6)],'strokeWidth':_0x21989b,'stroke':this[_0x1e8b86(0x2d9)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1e8b86(0xb2)]&&(_0x1cd22b[_0x1e8b86(0x24f)](),_0x1cd22b['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x1e8b86(0x188)]===_0x1e8b86(0x156)?0x0:-0x14),_0x14240d['drawWith'](_0x1cd22b,{'text':this[_0x1e8b86(0x1fc)],'color':this['_color']}),_0x1cd22b[_0x1e8b86(0x2fb)]());}}var _0x1dfc08=Object[_0x401f20(0x2e6)],_0x470600=(_0x1e0f60,_0x86b3cf,_0x46e038,_0x24d6c5)=>{const _0x3e43b5=_0x401f20;for(var _0x5cb352=_0x24d6c5>0x1?void 0x0:_0x24d6c5?_0x1dfc08(_0x86b3cf,_0x46e038):_0x86b3cf,_0x4ac283=_0x1e0f60[_0x3e43b5(0x2c4)]-0x1,_0x6a28a5;_0x4ac283>=0x0;_0x4ac283--)(_0x6a28a5=_0x1e0f60[_0x4ac283])&&(_0x5cb352=_0x6a28a5(_0x5cb352)||_0x5cb352);return _0x5cb352;},_0x3c5254=(_0x230fc7,_0x4b5f1b)=>(_0x26851e,_0x48f034)=>_0x4b5f1b(_0x26851e,_0x48f034,_0x230fc7);const _0xc2386=0x1389;let _0x1785e5=class extends _0x23c5c6['RxDisposable']{constructor(_0x260055,_0x4cbb87,_0x37f3b1,_0x4afc18){const _0x48ef2c=_0x401f20;super(),_0x1fcf73(this,_0x48ef2c(0x235),new Set()),_0x1fcf73(this,_0x48ef2c(0x166),null),(this[_0x48ef2c(0x220)]=_0x260055,this['_sheetSkeletonManagerService']=_0x4cbb87,this[_0x48ef2c(0x258)]=_0x37f3b1,this['_themeService']=_0x4afc18,this[_0x48ef2c(0x153)]());}[_0x401f20(0x153)](){const _0x1a9b95=_0x401f20;this[_0x1a9b95(0x13d)][_0x1a9b95(0x101)][_0x1a9b95(0xb9)](_0x15e5b5['takeUntil'](this['dispose$']),_0x15e5b5[_0x1a9b95(0x1a6)](_0x57b5e1=>{const _0xc66a3=_0x1a9b95;if(_0x57b5e1){const _0x28aab8=_0x57b5e1[_0xc66a3(0x1ac)];return _0xb82969[_0xc66a3(0x129)](this[_0xc66a3(0x258)]['getCollabCursors$'](this['_context'][_0xc66a3(0x21a)]),this[_0xc66a3(0xef)]['currentTheme$'])[_0xc66a3(0xb9)](_0x15e5b5[_0xc66a3(0x28e)](([_0x647953,_0x59bb51])=>{const _0x4ae876=_0xc66a3,_0x3e9999=new Map();return _0x647953[_0x4ae876(0x122)]((_0x44ff0e,_0x5ac1ab)=>{const _0x377bd2=_0x4ae876;if(_0x44ff0e[_0x377bd2(0x28b)]===_0x28aab8){const _0xb7de91={..._0x44ff0e};_0xb7de91[_0x377bd2(0x116)]=this[_0x377bd2(0xef)][_0x377bd2(0x264)](_0x44ff0e['color']),_0x3e9999['set'](_0x5ac1ab,_0xb7de91);}}),{'skeleton':_0x57b5e1,'cursors':_0x3e9999};}));}return _0xb82969['of']({'skeleton':null,'cursors':new Map()});}))[_0x1a9b95(0x1bc)](({skeleton:_0x261420,cursors:_0x42d5d2})=>{const _0x390fc3=_0x1a9b95;this[_0x390fc3(0x2b7)](),_0x261420&&this[_0x390fc3(0x113)](_0x261420,_0x42d5d2);}),this['_sheetSkeletonManagerService'][_0x1a9b95(0x101)][_0x1a9b95(0x1bc)](_0x3edab7=>{const _0x430039=_0x1a9b95;if(_0x3edab7==null)return;const {skeleton:_0x4f286a}=_0x3edab7,{scene:_0x1b1544}=this[_0x430039(0x220)];_0x1b1544[_0x430039(0xa7)][_0x430039(0x105)](_0x23c5c6[_0x430039(0xcc)](_0x127eb0=>{const _0x2f5627=_0x430039;var _0x13f4c0,_0x4282c8;const {offsetX:_0x3e0f3b,offsetY:_0x84c674}=_0x127eb0,{x:_0x223b2c,y:_0x5929ad}=_0x1b1544['getRelativeToViewportCoord'](_0x112879[_0x2f5627(0x26a)][_0x2f5627(0x23f)]([_0x3e0f3b,_0x84c674])),{scaleX:_0x935bab,scaleY:_0x4085cb}=_0x1b1544['getAncestorScale'](),_0x497c30=_0x1b1544[_0x2f5627(0x1a4)](_0x112879[_0x2f5627(0x2e2)][_0x2f5627(0x26f)]),_0x5654aa=_0x1b1544[_0x2f5627(0x15e)](_0x112879[_0x2f5627(0x26a)]['FromArray']([_0x223b2c,_0x5929ad]),_0x497c30),_0x224496=_0x4f286a[_0x2f5627(0x257)](_0x3e0f3b,_0x84c674,_0x935bab,_0x4085cb,_0x5654aa);((_0x13f4c0=this[_0x2f5627(0x166)])==null?void 0x0:_0x13f4c0[_0x2f5627(0x2da)])===_0x224496[_0x2f5627(0x2da)]&&((_0x4282c8=this[_0x2f5627(0x166)])==null?void 0x0:_0x4282c8['row'])===_0x224496[_0x2f5627(0x14f)]||this[_0x2f5627(0x235)][_0x2f5627(0x122)](_0x230411=>{const _0xd401d9=_0x2f5627;_0x230411[_0xd401d9(0x30d)](_0x224496);});},0x64));});}['_updateCollabCursors'](_0x26f10,_0x39982a){const _0x200479=_0x401f20;var _0x3f8294;const _0x37c4d2=(_0x3f8294=this[_0x200479(0x13d)]['getCurrent']())==null?void 0x0:_0x3f8294[_0x200479(0x242)];if(!_0x37c4d2)return;const _0x18e40c=this[_0x200479(0x247)]();if(!_0x18e40c)return;this[_0x200479(0x235)][_0x200479(0x122)](_0x479d84=>{const _0x1e01a3=_0x200479;_0x479d84[_0x1e01a3(0x289)]();});const {scene:_0x2068ed}=_0x18e40c,_0x31732b=_0x44d130(Array[_0x200479(0x2ac)](_0x39982a[_0x200479(0x185)]()))['map'](_0x34b38f=>{const _0x3960e0=_0x200479,{color:_0x10c629,range:_0x3d015d,name:_0x2e31ef,selection:_0x5cdb7d,sheetID:_0x380f2e}=_0x34b38f,{startColumn:_0xa6108,startRow:_0x4713e5,endColumn:_0x149955,endRow:_0x3d7e46}=_0x3d015d,_0x50e0c8=_0x2562e9[_0x3960e0(0x2c0)](_0x4713e5,_0xa6108,_0x2068ed,_0x37c4d2),_0x3d4a06=_0x2562e9[_0x3960e0(0x2c0)](_0x3d7e46,_0x149955,_0x2068ed,_0x37c4d2),{columnHeaderHeightAndMarginTop:_0x43fbac}=_0x37c4d2,{startX:_0x127247,startY:_0x5f4a5c}=_0x50e0c8,{endX:_0x56621b,endY:_0x1bd58a}=_0x3d4a06,_0x159197=_0x56621b-_0x127247,_0x8bd967=_0x1bd58a-_0x5f4a5c,_0x4f4f6f={'labelPosition':_0x5f4a5c-_0x43fbac>=_0x403e4a?_0x3960e0(0x2ba):_0x3960e0(0x156),'sheetID':_0x380f2e,'range':_0x3d015d,'color':_0x10c629,'name':_0x2e31ef,'selection':_0x5cdb7d,'left':_0x127247,'top':_0x5f4a5c,'width':_0x159197,'height':_0x8bd967,'evented':!0x1,'zIndex':_0xc2386};return new _0x4a6a14(_0x2e31ef,_0x4f4f6f);});_0x2068ed[_0x200479(0x2b0)](_0x31732b,_0x564d59),this[_0x200479(0x235)]=new Set(_0x31732b);}[_0x401f20(0x2b7)](){const _0xb13886=_0x401f20;var _0x337fa1;(_0x337fa1=this['_cursors'])==null||_0x337fa1[_0xb13886(0x122)](_0x205a2c=>_0x205a2c[_0xb13886(0x2b1)]());}[_0x401f20(0x247)](){const _0xc6055e=_0x401f20;return _0x2562e9[_0xc6055e(0x1d5)](this[_0xc6055e(0x220)]['unit'],this[_0xc6055e(0x220)]);}};_0x1785e5=_0x470600([_0x3c5254(0x1,_0x23c5c6[_0x401f20(0x12e)](_0x2562e9[_0x401f20(0x163)])),_0x3c5254(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x4265e2)),_0x3c5254(0x3,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x303)]))],_0x1785e5);function _0x44d130(_0x31eafd){const _0x3d70cd=_0x401f20,_0x57eb9b=new Map();return _0x31eafd[_0x3d70cd(0x122)](_0x1ad38d=>{const _0x4da280=_0x3d70cd;if(_0x57eb9b['has'](_0x1ad38d[_0x4da280(0x285)])){const _0x470ca5=_0x57eb9b[_0x4da280(0x150)](_0x1ad38d[_0x4da280(0x285)]);_0x470ca5[_0x4da280(0x269)]+=',\x20'+_0x1ad38d[_0x4da280(0x269)];}else _0x57eb9b[_0x4da280(0xa1)](_0x1ad38d[_0x4da280(0x285)],_0x1ad38d);}),Array[_0x3d70cd(0x2ac)](_0x57eb9b[_0x3d70cd(0x185)]());}var _0x50fb04=function(){const _0x530145=_0x401f20;return _0x50fb04=Object[_0x530145(0x1b7)]||function(_0x232cb6){const _0x2e3ddb=_0x530145;for(var _0x3e2171,_0x949822=0x1,_0x2fdbfa=arguments[_0x2e3ddb(0x2c4)];_0x949822<_0x2fdbfa;_0x949822++){_0x3e2171=arguments[_0x949822];for(var _0x56c638 in _0x3e2171)Object[_0x2e3ddb(0x115)]['hasOwnProperty'][_0x2e3ddb(0xde)](_0x3e2171,_0x56c638)&&(_0x232cb6[_0x56c638]=_0x3e2171[_0x56c638]);}return _0x232cb6;},_0x50fb04[_0x530145(0x8a)](this,arguments);},_0x523c36=function(_0xe9167a,_0x589dd8){const _0x460028=_0x401f20;var _0x233098={};for(var _0x36a1bb in _0xe9167a)Object[_0x460028(0x115)]['hasOwnProperty'][_0x460028(0xde)](_0xe9167a,_0x36a1bb)&&_0x589dd8[_0x460028(0x1e5)](_0x36a1bb)<0x0&&(_0x233098[_0x36a1bb]=_0xe9167a[_0x36a1bb]);if(_0xe9167a!=null&&typeof Object[_0x460028(0x189)]==_0x460028(0x30f)){for(var _0x166e4f=0x0,_0x36a1bb=Object[_0x460028(0x189)](_0xe9167a);_0x166e4f<_0x36a1bb['length'];_0x166e4f++)_0x589dd8[_0x460028(0x1e5)](_0x36a1bb[_0x166e4f])<0x0&&Object['prototype'][_0x460028(0x2ab)][_0x460028(0xde)](_0xe9167a,_0x36a1bb[_0x166e4f])&&(_0x233098[_0x36a1bb[_0x166e4f]]=_0xe9167a[_0x36a1bb[_0x166e4f]]);}return _0x233098;},_0x51b640=_0x7521d1[_0x401f20(0x2ed)](function(_0x206ebc,_0x8152ad){const _0x487f1e=_0x401f20;var _0x5585f4=_0x206ebc[_0x487f1e(0x2c6)],_0x19be18=_0x206ebc['id'],_0xfbb690=_0x206ebc[_0x487f1e(0x148)],_0x4193de=_0x206ebc[_0x487f1e(0xb0)],_0x126a8d=_0x523c36(_0x206ebc,[_0x487f1e(0x2c6),'id','className','extend']),_0x282825='univerjs-icon\x20univerjs-icon-'[_0x487f1e(0x241)](_0x19be18,'\x20')[_0x487f1e(0x241)](_0xfbb690||'')[_0x487f1e(0x20e)](),_0x12e64f=_0x7521d1['useRef']('_'[_0x487f1e(0x241)](_0x67b581()));return _0x284747(_0x5585f4,''[_0x487f1e(0x241)](_0x19be18),{'defIds':_0x5585f4[_0x487f1e(0x2dd)],'idSuffix':_0x12e64f[_0x487f1e(0x208)]},_0x50fb04({'ref':_0x8152ad,'className':_0x282825},_0x126a8d),_0x4193de);});function _0x284747(_0x2f78ea,_0x29b4e8,_0x164aec,_0x3c508f,_0x956746){const _0x317066=_0x401f20;return _0x7521d1['createElement'](_0x2f78ea[_0x317066(0xe8)],_0x50fb04(_0x50fb04({'key':_0x29b4e8},_0x1d1fab(_0x2f78ea,_0x164aec,_0x956746)),_0x3c508f),(_0x1f8e7e(_0x2f78ea,_0x164aec)[_0x317066(0x1c0)]||[])['map'](function(_0x5b17fc,_0x16d8c6){const _0x1b0f5f=_0x317066;return _0x284747(_0x5b17fc,''[_0x1b0f5f(0x241)](_0x29b4e8,'-')[_0x1b0f5f(0x241)](_0x2f78ea[_0x1b0f5f(0xe8)],'-')['concat'](_0x16d8c6),_0x164aec,void 0x0,_0x956746);}));}function _0x1d1fab(_0x3a97fb,_0x5302b8,_0x11ed6e){const _0x2c7055=_0x401f20;var _0x3aa7da=_0x50fb04({},_0x3a97fb[_0x2c7055(0x2d5)]);_0x11ed6e!=null&&_0x11ed6e[_0x2c7055(0x2be)]&&_0x3aa7da['fill']===_0x2c7055(0x2be)&&(_0x3aa7da[_0x2c7055(0x140)]=_0x11ed6e[_0x2c7055(0x2be)]),_0x3a97fb[_0x2c7055(0xe8)]===_0x2c7055(0x2aa)&&_0x3aa7da['id']&&(_0x3aa7da['id']=_0x3aa7da['id']+_0x5302b8[_0x2c7055(0x224)]),Object[_0x2c7055(0x28c)](_0x3aa7da)['forEach'](function(_0x38c8e2){const _0x1fcbce=_0x2c7055;var _0xf8e6fb=_0x38c8e2[0x0],_0x3f1efd=_0x38c8e2[0x1];_0xf8e6fb===_0x1fcbce(0x2aa)&&typeof _0x3f1efd==_0x1fcbce(0x19a)&&(_0x3aa7da[_0xf8e6fb]=_0x3f1efd[_0x1fcbce(0x1bf)](/url\(#(.*)\)/,'url(#$1'[_0x1fcbce(0x241)](_0x5302b8['idSuffix'],')')));});var _0x8df22d=_0x5302b8[_0x2c7055(0x2dd)];return!_0x8df22d||_0x8df22d[_0x2c7055(0x2c4)]===0x0||(_0x3a97fb[_0x2c7055(0xe8)]==='use'&&_0x3aa7da[_0x2c7055(0x1f2)]&&(_0x3aa7da['xlink:href']=_0x3aa7da[_0x2c7055(0x1f2)]+_0x5302b8[_0x2c7055(0x224)]),Object['entries'](_0x3aa7da)[_0x2c7055(0x122)](function(_0x4508b5){const _0x3944c3=_0x2c7055;var _0x218e4b=_0x4508b5[0x0],_0x4aeec8=_0x4508b5[0x1];typeof _0x4aeec8==_0x3944c3(0x19a)&&(_0x3aa7da[_0x218e4b]=_0x4aeec8[_0x3944c3(0x1bf)](/url\(#(.*)\)/,_0x3944c3(0x132)[_0x3944c3(0x241)](_0x5302b8['idSuffix'],')')));})),_0x3aa7da;}function _0x1f8e7e(_0x857c42,_0x3ebdbf){const _0x1a8e39=_0x401f20;var _0x3ef47a,_0x48fa8e=_0x3ebdbf[_0x1a8e39(0x2dd)];return!_0x48fa8e||_0x48fa8e['length']===0x0?_0x857c42:_0x857c42['tag']==='defs'&&(!((_0x3ef47a=_0x857c42['children'])===null||_0x3ef47a===void 0x0)&&_0x3ef47a['length'])?_0x50fb04(_0x50fb04({},_0x857c42),{'children':_0x857c42[_0x1a8e39(0x1c0)]['map'](function(_0x386a9e){const _0x3f165c=_0x1a8e39;return typeof _0x386a9e[_0x3f165c(0x2d5)]['id']=='string'&&_0x48fa8e&&_0x48fa8e[_0x3f165c(0xa5)](_0x386a9e[_0x3f165c(0x2d5)]['id'])?_0x50fb04(_0x50fb04({},_0x386a9e),{'attrs':_0x50fb04(_0x50fb04({},_0x386a9e[_0x3f165c(0x2d5)]),{'id':_0x386a9e[_0x3f165c(0x2d5)]['id']+_0x3ebdbf[_0x3f165c(0x224)]})}):_0x386a9e;})}):_0x857c42;}function _0x67b581(){const _0x320e10=_0x401f20;return Math[_0x320e10(0x13e)]()[_0x320e10(0xaa)](0x24)['substring'](0x2,0x8);}_0x51b640[_0x401f20(0x27b)]='UniverIcon';var _0x3b340b={'tag':_0x401f20(0x274),'attrs':{'xmlns':_0x401f20(0x198),'fill':'none','viewBox':_0x401f20(0x1eb),'width':_0x401f20(0x2e8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x401f20(0xb8)},'children':[{'tag':'path','attrs':{'stroke':_0x401f20(0x1d9),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x401f20(0x2e0),'strokeLinejoin':_0x401f20(0x2e0),'strokeWidth':1.2}}]},{'tag':_0x401f20(0x199),'attrs':{},'children':[{'tag':_0x401f20(0x2bd),'attrs':{'id':_0x401f20(0x84)},'children':[{'tag':_0x401f20(0x2f9),'attrs':{'fill':_0x401f20(0x15c),'d':_0x401f20(0x17f)}}]}]}],'defIds':[_0x401f20(0x84)]},_0x38ebad=_0x7521d1[_0x401f20(0x2ed)](function(_0x5cd1f8,_0x5dbd75){const _0x37d4c1=_0x401f20;return _0x7521d1[_0x37d4c1(0x1db)](_0x51b640,Object['assign']({},_0x5cd1f8,{'id':_0x37d4c1(0x1ca),'ref':_0x5dbd75,'icon':_0x3b340b}));});_0x38ebad[_0x401f20(0x27b)]=_0x401f20(0x1a3);var _0x189d46={'tag':'svg','attrs':{'xmlns':_0x401f20(0x198),'fill':_0x401f20(0xf8),'viewBox':_0x401f20(0x1d0),'width':_0x401f20(0x2e8),'height':_0x401f20(0x2e8)},'children':[{'tag':'g','attrs':{'clipPath':_0x401f20(0x1cb)},'children':[{'tag':'path','attrs':{'stroke':_0x401f20(0x1d9),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x401f20(0x2e0),'strokeLinejoin':_0x401f20(0x2e0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x401f20(0x2bd),'attrs':{'id':_0x401f20(0x13a)},'children':[{'tag':_0x401f20(0x2f9),'attrs':{'fill':_0x401f20(0x15c),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x401f20(0x13a)]},_0x4569a0=_0x7521d1['forwardRef'](function(_0x4febb5,_0x38567a){const _0x3b820a=_0x401f20;return _0x7521d1[_0x3b820a(0x1db)](_0x51b640,Object[_0x3b820a(0x1b7)]({},_0x4febb5,{'id':_0x3b820a(0x259),'ref':_0x38567a,'icon':_0x189d46}));});_0x4569a0['displayName']=_0x401f20(0x250);function _0x3990dd(_0xe97a65){const _0x330d2e=_0x401f20;switch(_0xe97a65){case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0x297)]:return _0x330d2e(0x238);case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0x229)]:return _0x330d2e(0x1ef);case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0xb7)]:return'collabStatus.fetchMiss';case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0x2c7)]:return _0x330d2e(0xdd);case _0xe14e['CollaborationStatus']['AWAITING']:case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0xf5)]:return'collabStatus.syncing';case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0x2ea)]:case _0xe14e['CollaborationStatus'][_0x330d2e(0x12b)]:return _0x330d2e(0x277);}}function _0x5e0fc3(_0x1ba516){const _0xf20fae=_0x401f20,{status$:_0x5145b4}=_0x1ba516,_0x24e3ed=_0x4c9765['useObservable'](_0x5145b4,_0xe14e[_0xf20fae(0x178)][_0xf20fae(0x2c7)]),_0x47524d=_0x4c9765['useDependency'](_0x23c5c6[_0xf20fae(0x227)]),_0xf066e3=_0x4c9765['useDependency'](_0xe14e[_0xf20fae(0x2fc)]),_0x19b9b3=_0x24e3ed!==_0xe14e['CollaborationStatus']['OFFLINE'],_0x13c118=_0x47524d['t'](_0x3990dd(_0x24e3ed)),_0x46812a=_0x19b9b3?_0x9e75b8['jsx'](_0x4569a0,{}):_0x9e75b8['jsx'](_0x38ebad,{}),_0x5394ac=_0x7521d1[_0xf20fae(0x128)](()=>{const _0x7f87dd=_0xf20fae;_0x19b9b3||_0xf066e3[_0x7f87dd(0x1d7)]();},[_0x19b9b3,_0xf066e3]);function _0x380aea(){const _0x497846=_0xf20fae;return _0x9e75b8[_0x497846(0x1b9)]('div',{'className':_0x497846(0x195),'onClick':_0x5394ac,'children':[_0x9e75b8[_0x497846(0x1fb)](_0x497846(0x263),{'className':_0x4f07b6[_0x497846(0x226)](_0x497846(0x22c),{'univer-text-green-500':_0x19b9b3,'univer-text-red-500':!_0x19b9b3}),'children':_0x46812a}),_0x9e75b8[_0x497846(0x1fb)](_0x497846(0x263),{'className':_0x497846(0x261),'children':_0x13c118})]});}return _0x19b9b3?_0x380aea():_0x9e75b8[_0xf20fae(0x1fb)](_0x4f07b6[_0xf20fae(0x2a4)],{'title':_0x47524d['t'](_0xf20fae(0x272)),'children':_0x380aea()});}var _0x132c7c=Object[_0x401f20(0x2e6)],_0x4f5dbd=(_0x420ee6,_0x5cf1d8,_0x2b5347,_0x379b53)=>{const _0x151fc0=_0x401f20;for(var _0x3595aa=_0x379b53>0x1?void 0x0:_0x379b53?_0x132c7c(_0x5cf1d8,_0x2b5347):_0x5cf1d8,_0x44a039=_0x420ee6[_0x151fc0(0x2c4)]-0x1,_0x2a8021;_0x44a039>=0x0;_0x44a039--)(_0x2a8021=_0x420ee6[_0x44a039])&&(_0x3595aa=_0x2a8021(_0x3595aa)||_0x3595aa);return _0x3595aa;},_0x4b9891=(_0x53b094,_0x12a657)=>(_0x59658f,_0x1631f8)=>_0x12a657(_0x59658f,_0x1631f8,_0x53b094);_0x3e697f['DesktopCollaborationStatusDisplayController']=class extends _0x23c5c6['Disposable']{constructor(_0x50a05b,_0x4cf1e9,_0x526b30,_0x24c025){const _0x143125=_0x401f20;super(),_0x1fcf73(this,_0x143125(0x270),new _0xb82969['BehaviorSubject'](_0xe14e[_0x143125(0x178)]['NOT_COLLAB'])),(this[_0x143125(0x27e)]=_0x50a05b,this['_injector']=_0x4cf1e9,this[_0x143125(0x8b)]=_0x526b30,this[_0x143125(0x239)]=_0x24c025,this[_0x143125(0x1f0)](),this[_0x143125(0x252)]());}['_initStatusListener'](){const _0x504767=_0x401f20;this[_0x504767(0x164)](this[_0x504767(0x27e)][_0x504767(0x182)]['pipe'](_0xb82969['switchMap'](()=>{const _0x5eb860=_0x504767,_0x4c4c65=this[_0x5eb860(0x27e)][_0x5eb860(0x248)]();return _0x4c4c65?this['_collaborationController'][_0x5eb860(0x85)](_0x4c4c65[_0x5eb860(0xf9)]()):_0xb82969['of'](null);}),_0xb82969[_0x504767(0x1a6)](_0x8b74b0=>_0x8b74b0?_0x8b74b0[_0x504767(0x2e5)]:_0xb82969['of'](_0xe14e[_0x504767(0x178)][_0x504767(0x2c7)])))[_0x504767(0x1bc)](_0xeb57a7=>{const _0x24903f=_0x504767;this[_0x24903f(0x270)][_0x24903f(0x29d)](_0xeb57a7);}));}[_0x401f20(0x1f0)](){const _0x5e708c=_0x401f20;this[_0x5e708c(0x164)](this[_0x5e708c(0x239)][_0x5e708c(0x2ca)](_0x4c9765[_0x5e708c(0x107)][_0x5e708c(0x2c1)],()=>_0x4c9765['connectInjector'](_0xdcd281({'status$':this[_0x5e708c(0x270)][_0x5e708c(0x196)]()}),this['_injector'])));}},_0x3e697f[_0x401f20(0x1f1)]=_0x4f5dbd([_0x4b9891(0x0,_0x23c5c6[_0x401f20(0x2b6)]),_0x4b9891(0x1,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6['Injector'])),_0x4b9891(0x2,_0x23c5c6[_0x401f20(0x12e)](_0xe14e[_0x401f20(0x18c)])),_0x4b9891(0x3,_0x4c9765[_0x401f20(0x279)])],_0x3e697f[_0x401f20(0x1f1)]);function _0xdcd281(_0x21ae0b){const {status$:_0x47e621}=_0x21ae0b;return function(){const _0x1860a1=_0x10ca;return _0x9e75b8[_0x1860a1(0x1fb)](_0x5e0fc3,{'status$':_0x47e621});};}var _0x574366=Object[_0x401f20(0x2e6)],_0x3693b9=(_0x4554f5,_0x22f279,_0x573588,_0x218a19)=>{const _0xe88503=_0x401f20;for(var _0x32c959=_0x218a19>0x1?void 0x0:_0x218a19?_0x574366(_0x22f279,_0x573588):_0x22f279,_0x4ad99d=_0x4554f5[_0xe88503(0x2c4)]-0x1,_0xffc43c;_0x4ad99d>=0x0;_0x4ad99d--)(_0xffc43c=_0x4554f5[_0x4ad99d])&&(_0x32c959=_0xffc43c(_0x32c959)||_0x32c959);return _0x32c959;},_0x15ac61=(_0x57aa79,_0x20d0ff)=>(_0x3057b3,_0x5ae1ca)=>_0x20d0ff(_0x3057b3,_0x5ae1ca,_0x57aa79);let _0x5a6da5=class extends _0x23c5c6[_0x401f20(0x1c4)]{constructor(_0x3f9424,_0x31e159,_0x38d24e,_0x14a6b4,_0x2bdeab,_0x15f4b2){const _0x2cd19a=_0x401f20;super(),this[_0x2cd19a(0x121)]=_0x3f9424,this[_0x2cd19a(0x276)]=_0x31e159,this[_0x2cd19a(0x1c9)]=_0x38d24e,this[_0x2cd19a(0x1d4)]=_0x14a6b4,this[_0x2cd19a(0x1ff)]=_0x2bdeab,this[_0x2cd19a(0xbb)]=_0x15f4b2,this[_0x2cd19a(0x133)](),this['_initEvent']();}[_0x401f20(0x133)](){const _0x36ada9=_0x401f20;this[_0x36ada9(0x164)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0xe6563d=_0x36ada9;if(this['_localCacheService'][_0xe6563d(0x1fe)]['size'])return this['_localeService']['t'](_0xe6563d(0x302));}));}['_initEvent'](){const _0x48fbdd=_0x401f20;this[_0x48fbdd(0x164)](this[_0x48fbdd(0x1c9)][_0x48fbdd(0x1c7)]['subscribe'](_0x3f1c9f=>{const _0x4a86fb=_0x48fbdd;_0x3f1c9f['id']===_0xe14e['CollaborationUIEventId'][_0x4a86fb(0x228)]&&this[_0x4a86fb(0x1d4)][_0x4a86fb(0x2b3)]({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x109)],'content':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0x21c))}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0xc3)]&&this[_0x4a86fb(0x1d4)][_0x4a86fb(0x2b3)]({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x109)],'content':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0x126))}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0xfe)]&&this[_0x4a86fb(0x1ff)]['show']({'title':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0x24b)),'content':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0xc4)),'type':_0x4a86fb(0x236),'duration':0x0}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0x229)]&&this[_0x4a86fb(0x1d4)]['show']({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x10a)],'content':this['_localeService']['t'](_0x4a86fb(0x126))+'('+_0x3f1c9f[_0x4a86fb(0x2a5)]+')'}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0x1b6)]&&this[_0x4a86fb(0x1d4)][_0x4a86fb(0x2b3)]({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x109)],'content':this[_0x4a86fb(0xbb)]['t'](_0x3f1c9f[_0x4a86fb(0x2a5)]||'')}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0xb4)]&&this['_messageService'][_0x4a86fb(0x2b3)]({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x109)],'content':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0x176))}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0x15f)]&&this[_0x4a86fb(0x1d4)][_0x4a86fb(0x2b3)]({'type':_0x4f07b6['MessageType']['Error'],'content':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0x231))}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0x2e3)]&&this[_0x4a86fb(0x1d4)][_0x4a86fb(0x2b3)]({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x10a)],'content':this['_localeService']['t'](_0x4a86fb(0xed))});}));}};_0x5a6da5=_0x3693b9([_0x15ac61(0x0,_0x4c9765[_0x401f20(0x25b)]),_0x15ac61(0x1,_0xe14e[_0x401f20(0x288)]),_0x15ac61(0x2,_0x23c5c6[_0x401f20(0x12e)](_0xe14e[_0x401f20(0xc2)])),_0x15ac61(0x3,_0x4c9765[_0x401f20(0x2de)]),_0x15ac61(0x4,_0x4c9765[_0x401f20(0xd1)]),_0x15ac61(0x5,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x227)]))],_0x5a6da5);const _0x2530f0=_0x401f20(0xcb),_0x701b81={},_0x2488de=_0x23c5c6[_0x401f20(0x1e7)]('uni.network.url-service');var _0x35c3b1=Object[_0x401f20(0x2e6)],_0x34bddd=(_0x3a30e6,_0x586ebf,_0x40051e,_0x23537b)=>{const _0x112c6a=_0x401f20;for(var _0x4116f2=_0x23537b>0x1?void 0x0:_0x23537b?_0x35c3b1(_0x586ebf,_0x40051e):_0x586ebf,_0x49b014=_0x3a30e6[_0x112c6a(0x2c4)]-0x1,_0xcaf267;_0x49b014>=0x0;_0x49b014--)(_0xcaf267=_0x3a30e6[_0x49b014])&&(_0x4116f2=_0xcaf267(_0x4116f2)||_0x4116f2);return _0x4116f2;},_0x129b34=(_0xeb8dc6,_0x92d952)=>(_0x25fd6e,_0x27624c)=>_0x92d952(_0x25fd6e,_0x27624c,_0xeb8dc6);_0x3e697f[_0x401f20(0x282)]=class extends _0x23c5c6[_0x401f20(0x143)]{constructor(_0x418797,_0x5c8ced,_0x4c54b6,_0x261db9,_0x309cd2){const _0x3d28cd=_0x401f20;super(),this[_0x3d28cd(0x1ba)]=_0x418797,this[_0x3d28cd(0x17c)]=_0x5c8ced,this['_commandService']=_0x4c54b6,this[_0x3d28cd(0x2f0)]=_0x261db9,_0x309cd2?_0x309cd2==null||_0x309cd2['whenReady']()[_0x3d28cd(0x144)](()=>this[_0x3d28cd(0x153)]()):(this[_0x3d28cd(0x17c)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x401f20(0x153)](){const _0x4219ff=_0x401f20,_0x2d8a9f=this[_0x4219ff(0x1ba)][_0x4219ff(0x2f1)](_0x4219ff(0x280)),_0x4da6e8=this['_urlService']['getParam'](_0x4219ff(0x161)),_0x23a219=this[_0x4219ff(0x1ba)][_0x4219ff(0x2f1)]('subunit');if(!_0x2d8a9f||!_0x4da6e8){this[_0x4219ff(0x17c)][_0x4219ff(0xcd)](_0x4219ff(0x134),_0x4219ff(0xaf));return;}const _0x4a8a7b=await this[_0x4219ff(0x2f0)]['loadUnit'](_0x2d8a9f,Number(_0x4da6e8),_0x23a219);_0x4a8a7b&&_0x4a8a7b instanceof _0x23c5c6['Workbook']&&this['_setupSubUnitSync'](_0x4a8a7b);}async[_0x401f20(0x27a)](_0x193667){const _0x3b9f78=_0x401f20;await this[_0x3b9f78(0x2d8)](_0x193667),_0x193667[_0x3b9f78(0x268)]['pipe'](_0xb82969[_0x3b9f78(0x310)](this[_0x3b9f78(0x25e)]))[_0x3b9f78(0x1bc)](_0x5522ee=>{_0x5522ee&&this['_updateURLWithCurrentState'](_0x5522ee);}),this['_urlService']['urlChange$'][_0x3b9f78(0xb9)](_0xb82969['takeUntil'](this[_0x3b9f78(0x25e)]))[_0x3b9f78(0x1bc)](()=>this[_0x3b9f78(0x2d8)](_0x193667));}[_0x401f20(0x287)](_0x2a2ba4,_0x40cab8=!0x1){const _0x4e2229=_0x401f20,_0x8c3e27=this['_urlService'][_0x4e2229(0x2f1)](_0x4e2229(0x211));_0x2a2ba4[_0x4e2229(0xe3)]()!==_0x8c3e27&&this['_urlService'][_0x4e2229(0x2e9)](_0x4e2229(0x211),_0x2a2ba4[_0x4e2229(0xe3)](),_0x40cab8);}async[_0x401f20(0x2d8)](_0x50087d){const _0x1ee9b2=_0x401f20;var _0x488be3;const _0x3558b4=this[_0x1ee9b2(0x1ba)][_0x1ee9b2(0x2f1)](_0x1ee9b2(0x211));if(!_0x3558b4||!_0x50087d['getSheetBySheetId'](_0x3558b4)){const _0x115c2a=_0x50087d[_0x1ee9b2(0x13c)]()[0x0],_0x2fdcde=_0x50087d['getSheetBySheetId'](_0x115c2a);if(!_0x2fdcde)return;this[_0x1ee9b2(0x287)](_0x2fdcde,!0x0),await this['_commandService']['executeCommand'](_0x3b49ce['SetWorksheetActivateCommand']['id'],{'unitId':_0x50087d[_0x1ee9b2(0xf9)](),'subUnitId':_0x115c2a});return;}((_0x488be3=_0x50087d[_0x1ee9b2(0x14a)]())==null?void 0x0:_0x488be3[_0x1ee9b2(0xe3)]())!==_0x3558b4&&await this[_0x1ee9b2(0x9f)][_0x1ee9b2(0x243)](_0x3b49ce['SetWorksheetActivateCommand']['id'],{'unitId':_0x50087d[_0x1ee9b2(0xf9)](),'subUnitId':_0x3558b4});}},_0x3e697f[_0x401f20(0x282)]=_0x34bddd([_0x129b34(0x0,_0x2488de),_0x129b34(0x1,_0x23c5c6[_0x401f20(0x1f6)]),_0x129b34(0x2,_0x23c5c6[_0x401f20(0x30c)]),_0x129b34(0x3,_0x23c5c6['Inject'](_0xe14e[_0x401f20(0xda)])),_0x129b34(0x4,_0x23c5c6['Optional'](_0x49a16d['IRemoteInstanceService']))],_0x3e697f[_0x401f20(0x282)]);var _0x45a324=Object[_0x401f20(0x2e6)],_0x206601=(_0x31b207,_0x4b5448,_0x1f990,_0x21c450)=>{const _0x145b6c=_0x401f20;for(var _0x4f455c=_0x21c450>0x1?void 0x0:_0x21c450?_0x45a324(_0x4b5448,_0x1f990):_0x4b5448,_0x179a34=_0x31b207[_0x145b6c(0x2c4)]-0x1,_0xb8d88b;_0x179a34>=0x0;_0x179a34--)(_0xb8d88b=_0x31b207[_0x179a34])&&(_0x4f455c=_0xb8d88b(_0x4f455c)||_0x4f455c);return _0x4f455c;},_0x4c51eb=(_0xd66e7c,_0x3cd003)=>(_0x4127a0,_0x168dad)=>_0x3cd003(_0x4127a0,_0x168dad,_0xd66e7c);let _0x2c6c00=class{constructor(_0x35aa96,_0x11a938,_0x3c80b7){const _0x3aca27=_0x401f20;this['_injector']=_0x35aa96,this[_0x3aca27(0x2cb)]=_0x11a938,this['_renderManagerService']=_0x3c80b7;}[_0x401f20(0x174)](_0xcbda6e){const _0xe9823d=_0x401f20;this[_0xe9823d(0x103)](_0xcbda6e),this[_0xe9823d(0x291)](_0xcbda6e);}['transformRemoteChangeset'](_0xfba76a){const _0x282179=_0x401f20,{unitID:_0x460f53}=_0xfba76a,_0x122e29=this[_0x282179(0x240)][_0x282179(0x233)](_0x460f53)[_0x282179(0x1c6)](_0x1f875c[_0x282179(0x173)]),{redoCache:_0x10a065}=_0x122e29[_0x282179(0x210)]();if(_0x10a065[_0x282179(0x2c4)]===0x0)return _0xfba76a;let _0x40ec45=_0x23c5c6['Tools'][_0x282179(0x181)](_0xfba76a[_0x282179(0xd5)][0x0]);for(let _0x398b20=0x0;_0x398b20<_0x10a065[_0x282179(0x2c4)];_0x398b20++){const _0x57fafa={'id':_0x282179(0x22d),'params':{..._0x10a065[_0x398b20]}},_0x21cefc=this[_0x282179(0x2cb)]['transformMutation'](_0x40ec45,_0x57fafa,!0x1);if(_0x17be28[_0x282179(0xf4)](_0x21cefc))throw _0x21cefc['error'];_0x40ec45=_0x21cefc[_0x282179(0x26c)];}return{..._0x23c5c6[_0x282179(0x1aa)][_0x282179(0x181)](_0xfba76a),'mutations':[_0x40ec45]};}[_0x401f20(0x103)](_0x5ee18e){const _0x3429e2=_0x401f20,{unitID:_0x57f311}=_0x5ee18e,_0x46b47d=this['_renderManagerService'][_0x3429e2(0x233)](_0x57f311)[_0x3429e2(0x1c6)](_0x1f875c[_0x3429e2(0x173)]),{undoCache:_0x5ad6a5,redoCache:_0x4b7cd6}=_0x46b47d[_0x3429e2(0x210)]();if(_0x5ad6a5['length']===0x0||_0x4b7cd6[_0x3429e2(0x2c4)]===0x0)return;const _0x4b621f=[],_0x5cc6a9=[];let _0x187d23=_0x23c5c6['Tools'][_0x3429e2(0x181)](_0x5ee18e[_0x3429e2(0xd5)][0x0]),_0x11bccd=_0x23c5c6[_0x3429e2(0x1aa)][_0x3429e2(0x181)](_0x5ee18e[_0x3429e2(0xd5)][0x0]);for(let _0x42a0d5=_0x5ad6a5[_0x3429e2(0x2c4)]-0x1;_0x42a0d5>=0x0;_0x42a0d5--){const _0x5730fb={'id':_0x3429e2(0x22d),'params':{..._0x5ad6a5[_0x42a0d5]}},_0x5b9ac3={'id':_0x3429e2(0x22d),'params':{..._0x4b7cd6[_0x42a0d5]}},_0x4cf482=this['_transformService']['transformMutation'](_0x187d23,_0x5730fb,!0x1),_0x3c5b7a=this[_0x3429e2(0x2cb)][_0x3429e2(0x223)](_0x11bccd,_0x5b9ac3,!0x1);if(_0x17be28[_0x3429e2(0xf4)](_0x4cf482))throw _0x4cf482[_0x3429e2(0x236)];if(_0x17be28[_0x3429e2(0xf4)](_0x3c5b7a))throw _0x3c5b7a[_0x3429e2(0x236)];_0x4b621f['unshift'](_0x4cf482['m2Prime'][_0x3429e2(0x1cf)]),_0x5cc6a9[_0x3429e2(0x1f8)](_0x3c5b7a['m2Prime'][_0x3429e2(0x1cf)]),_0x187d23=_0x4cf482[_0x3429e2(0x26c)],_0x11bccd=_0x3c5b7a[_0x3429e2(0x26c)];}_0x46b47d[_0x3429e2(0x1a1)]({'undoCache':_0x4b621f,'redoCache':_0x5cc6a9});}[_0x401f20(0x291)](_0x22213b){const _0x1c1d29=_0x401f20,{unitID:_0x464c70}=_0x22213b,_0x3e4248=this[_0x1c1d29(0x240)][_0x1c1d29(0x233)](_0x464c70)['with'](_0x1f875c['DocIMEInputManagerService']),_0x27b4d8=_0x3e4248[_0x1c1d29(0xc5)]();if(_0x27b4d8==null)return;const _0x4c0703=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22213b[_0x1c1d29(0xcf)],'actions':null,'textRanges':[_0x27b4d8]}}],_0x416f1d=this['_transformService'][_0x1c1d29(0x246)](_0x22213b,_0x4c0703);if(!_0x17be28[_0x1c1d29(0x1af)](_0x416f1d))throw _0x416f1d['error'];const _0x3a4345=_0x416f1d[_0x1c1d29(0x249)][0x0]['params'][_0x1c1d29(0x1df)];Array[_0x1c1d29(0x29e)](_0x3a4345)&&_0x3a4345[_0x1c1d29(0x2c4)]&&_0x3e4248['setActiveRange'](_0x3a4345[0x0]);}};_0x2c6c00=_0x206601([_0x4c51eb(0x0,_0x23c5c6['Inject'](_0x23c5c6[_0x401f20(0x311)])),_0x4c51eb(0x1,_0x17be28[_0x401f20(0x29b)]),_0x4c51eb(0x2,_0x112879['IRenderManagerService'])],_0x2c6c00);var _0x22749b=Object[_0x401f20(0x2e6)],_0x263ac8=(_0x465bb2,_0xce8b36,_0x147561,_0x8dfa65)=>{for(var _0xc6a374=_0x8dfa65>0x1?void 0x0:_0x8dfa65?_0x22749b(_0xce8b36,_0x147561):_0xce8b36,_0x3b5e2b=_0x465bb2['length']-0x1,_0x279a07;_0x3b5e2b>=0x0;_0x3b5e2b--)(_0x279a07=_0x465bb2[_0x3b5e2b])&&(_0xc6a374=_0x279a07(_0xc6a374)||_0xc6a374);return _0xc6a374;},_0x2ead50=(_0x1da31a,_0x599715)=>(_0x5387e7,_0x12135f)=>_0x599715(_0x5387e7,_0x12135f,_0x1da31a);let _0x45c26e=class{constructor(_0x3d59a3,_0x2fedd6,_0x1ad0b5){const _0x1eabc0=_0x401f20;this[_0x1eabc0(0x217)]=_0x3d59a3,this['_transformService']=_0x2fedd6,this[_0x1eabc0(0x23d)]=_0x1ad0b5;}[_0x401f20(0x1a8)](_0x5cb0c6){const _0x5d0b7d=_0x401f20;this[_0x5d0b7d(0x2c9)](_0x5cb0c6);}[_0x401f20(0x179)](_0x1387f0){const _0x381810=_0x401f20,{unitID:_0x52487c}=_0x1387f0,{collaboration:_0x55c8c1}=this[_0x381810(0x23d)]['getStateCache'](_0x52487c);if(_0x55c8c1['length']===0x0)return _0x1387f0;let _0x772014=_0x23c5c6[_0x381810(0x1aa)][_0x381810(0x181)](_0x1387f0['mutations'][0x0]);for(let _0xca115f=0x0;_0xca115f<_0x55c8c1[_0x381810(0x2c4)];_0xca115f++){const _0x3c794c={'id':_0x381810(0x22d),'params':{'unitId':_0x55c8c1[_0xca115f][_0x381810(0x21a)],..._0x55c8c1[_0xca115f][_0x381810(0x1a9)]}},_0x2c2851=this['_transformService']['transformMutation'](_0x772014,_0x3c794c,!0x1);if(_0x17be28['isTransformMutationFailure'](_0x2c2851))throw _0x2c2851['error'];_0x772014=_0x2c2851[_0x381810(0x26c)];}return{..._0x23c5c6[_0x381810(0x1aa)][_0x381810(0x181)](_0x1387f0),'mutations':[_0x772014]};}[_0x401f20(0x2c9)](_0x51c0be){const _0x1e001c=_0x401f20,{unitID:_0x3bc8ad}=_0x51c0be,{history:_0x5467ee,collaboration:_0x5b2b48}=this[_0x1e001c(0x23d)]['getStateCache'](_0x3bc8ad);if(_0x5467ee[_0x1e001c(0x2c4)]===0x0&&_0x5b2b48['length']===0x0)return;const _0x269239=[],_0x57253b=[];let _0x1e483c=_0x23c5c6[_0x1e001c(0x1aa)][_0x1e001c(0x181)](_0x51c0be[_0x1e001c(0xd5)][0x0]),_0x4ed753=_0x23c5c6[_0x1e001c(0x1aa)][_0x1e001c(0x181)](_0x51c0be[_0x1e001c(0xd5)][0x0]);for(let _0x4927c8=_0x5467ee[_0x1e001c(0x2c4)]-0x1;_0x4927c8>=0x0;_0x4927c8--){const _0x385bee={'id':_0x1e001c(0x22d),'params':{'unitId':_0x5467ee[_0x4927c8][_0x1e001c(0x21a)],..._0x5467ee[_0x4927c8]['undoState']}},_0x433863={'id':_0x1e001c(0x22d),'params':{'unitId':_0x5467ee[_0x4927c8][_0x1e001c(0x21a)],..._0x5467ee[_0x4927c8]['redoState']}},_0x55b283=this[_0x1e001c(0x2cb)][_0x1e001c(0x223)](_0x1e483c,_0x385bee,!0x1),_0x4a57ba=this[_0x1e001c(0x2cb)]['transformMutation'](_0x4ed753,_0x433863,!0x1);if(_0x17be28[_0x1e001c(0xf4)](_0x55b283))throw _0x55b283[_0x1e001c(0x236)];if(_0x17be28[_0x1e001c(0xf4)](_0x4a57ba))throw _0x4a57ba[_0x1e001c(0x236)];_0x269239['unshift']({..._0x5467ee[_0x4927c8],'undoState':_0x55b283['m2Prime'][_0x1e001c(0x1cf)],'redoState':_0x4a57ba[_0x1e001c(0x249)][_0x1e001c(0x1cf)]}),_0x1e483c=_0x55b283[_0x1e001c(0x26c)],_0x4ed753=_0x4a57ba['m1Prime'];}_0x1e483c=_0x23c5c6[_0x1e001c(0x1aa)]['deepClone'](_0x51c0be[_0x1e001c(0xd5)][0x0]),_0x4ed753=_0x23c5c6[_0x1e001c(0x1aa)]['deepClone'](_0x51c0be[_0x1e001c(0xd5)][0x0]);for(let _0x85fae4=_0x5b2b48[_0x1e001c(0x2c4)]-0x1;_0x85fae4>=0x0;_0x85fae4--){const _0x5f2e1e={'id':_0x1e001c(0x22d),'params':{'unitId':_0x5b2b48[_0x85fae4]['unitId'],..._0x5b2b48[_0x85fae4][_0x1e001c(0x117)]}},_0x351e7b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5b2b48[_0x85fae4][_0x1e001c(0x21a)],..._0x5b2b48[_0x85fae4][_0x1e001c(0x1a9)]}},_0x190f86=this[_0x1e001c(0x2cb)]['transformMutation'](_0x1e483c,_0x5f2e1e,!0x1),_0xd36019=this[_0x1e001c(0x2cb)][_0x1e001c(0x223)](_0x4ed753,_0x351e7b,!0x1);if(_0x17be28[_0x1e001c(0xf4)](_0x190f86))throw _0x190f86[_0x1e001c(0x236)];if(_0x17be28[_0x1e001c(0xf4)](_0xd36019))throw _0xd36019['error'];_0x57253b['unshift']({..._0x5b2b48[_0x85fae4],'undoState':_0x190f86[_0x1e001c(0x249)][_0x1e001c(0x1cf)],'redoState':_0xd36019[_0x1e001c(0x249)]['params']}),_0x1e483c=_0x190f86[_0x1e001c(0x26c)],_0x4ed753=_0xd36019[_0x1e001c(0x26c)];}this[_0x1e001c(0x23d)][_0x1e001c(0x162)](_0x3bc8ad,{'history':_0x269239,'collaboration':_0x57253b});}};_0x45c26e=_0x263ac8([_0x2ead50(0x0,_0x23c5c6['Inject'](_0x23c5c6[_0x401f20(0x311)])),_0x2ead50(0x1,_0x17be28['ITransformService']),_0x2ead50(0x2,_0x23c5c6['Inject'](_0x1f875c['DocStateChangeManagerService']))],_0x45c26e);var _0x2d5d81=Object[_0x401f20(0x2e6)],_0x5185e9=(_0x28451e,_0x166cb3,_0x1a45d3,_0x5e7445)=>{const _0x1586c3=_0x401f20;for(var _0x366d96=_0x5e7445>0x1?void 0x0:_0x5e7445?_0x2d5d81(_0x166cb3,_0x1a45d3):_0x166cb3,_0x46951c=_0x28451e[_0x1586c3(0x2c4)]-0x1,_0x299297;_0x46951c>=0x0;_0x46951c--)(_0x299297=_0x28451e[_0x46951c])&&(_0x366d96=_0x299297(_0x366d96)||_0x366d96);return _0x366d96;},_0x3da4cd=(_0x52db0c,_0x3bb47d)=>(_0x1930f8,_0x1c3d0e)=>_0x3bb47d(_0x1930f8,_0x1c3d0e,_0x52db0c);let _0x7aa11b=class{constructor(_0x53b24c,_0x3a7c1e){const _0x44e90f=_0x401f20;this[_0x44e90f(0x217)]=_0x53b24c,this[_0x44e90f(0x2cb)]=_0x3a7c1e;}['transformSelections'](_0x5ce720){const _0x31e1ea=_0x401f20;var _0x5e891b;const _0x5e1127=this[_0x31e1ea(0x217)][_0x31e1ea(0x150)](_0x20283b['DocSelectionManagerService']),_0x2d34ab=(_0x5e891b=_0x5e1127[_0x31e1ea(0x17a)]())!=null?_0x5e891b:[];if(_0x2d34ab[_0x31e1ea(0x2c4)]===0x0)return;const _0x4c62cb=_0x5ce720['unitID'],_0x56d14b=[{'id':_0x31e1ea(0x22d),'params':{'unitId':_0x4c62cb,'actions':null,'textRanges':_0x2d34ab}}],_0x5bf015=this[_0x31e1ea(0x2cb)][_0x31e1ea(0x246)](_0x5ce720,_0x56d14b);if(!_0x17be28[_0x31e1ea(0x1af)](_0x5bf015))throw _0x5bf015[_0x31e1ea(0x236)];const _0x5a7ef2=_0x5bf015[_0x31e1ea(0x249)][0x0][_0x31e1ea(0x1cf)]['textRanges'];Array[_0x31e1ea(0x29e)](_0x5a7ef2)&&_0x5a7ef2['length']&&_0x5e1127['replaceDocRanges'](_0x5a7ef2,{'unitId':_0x4c62cb,'subUnitId':_0x4c62cb},!0x1);}};_0x7aa11b=_0x5185e9([_0x3da4cd(0x0,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x311)])),_0x3da4cd(0x1,_0x17be28[_0x401f20(0x29b)])],_0x7aa11b);var _0x1bd30a=Object['getOwnPropertyDescriptor'],_0x130699=(_0x2fcf93,_0x20126e,_0x4540dc,_0x555f8b)=>{const _0x52f36a=_0x401f20;for(var _0x41e3d5=_0x555f8b>0x1?void 0x0:_0x555f8b?_0x1bd30a(_0x20126e,_0x4540dc):_0x20126e,_0x43c65c=_0x2fcf93[_0x52f36a(0x2c4)]-0x1,_0x3619af;_0x43c65c>=0x0;_0x43c65c--)(_0x3619af=_0x2fcf93[_0x43c65c])&&(_0x41e3d5=_0x3619af(_0x41e3d5)||_0x41e3d5);return _0x41e3d5;},_0x5c3bed=(_0x53aa17,_0x15e1ab)=>(_0x291bbf,_0x5cb6bd)=>_0x15e1ab(_0x291bbf,_0x5cb6bd,_0x53aa17);let _0x1cda0a=class extends _0x23c5c6[_0x401f20(0x1c4)]{constructor(_0xabdc8e,_0xe89dfa,_0xa120fb,_0x291cca,_0x1023dc,_0x5d58cb,_0x318002,_0x40ac5f){const _0x4f3ab7=_0x401f20;super(),_0x1fcf73(this,_0x4f3ab7(0x270),new _0xb82969[(_0x4f3ab7(0x23b))](_0xe14e[_0x4f3ab7(0x178)][_0x4f3ab7(0x2c7)])),(this['_docStateChangeManagerService']=_0xabdc8e,this[_0x4f3ab7(0x8b)]=_0xe89dfa,this[_0x4f3ab7(0x20a)]=_0xa120fb,this[_0x4f3ab7(0xb5)]=_0x291cca,this[_0x4f3ab7(0x2c3)]=_0x1023dc,this['_docSyncEditingCollabCursorService']=_0x5d58cb,this[_0x4f3ab7(0x1d4)]=_0x318002,this[_0x4f3ab7(0xbb)]=_0x40ac5f,this['_initEntityListener']());}['_initEntityListener'](){const _0xb31211=_0x401f20;this[_0xb31211(0x164)](this[_0xb31211(0x8b)]['entityInit$']['subscribe'](_0x411ef3=>{const _0x30fb65=_0xb31211,_0x426eca=this[_0x30fb65(0x23d)][_0x30fb65(0x200)][_0x30fb65(0x1bc)](_0x27d87f=>{const _0x2e0a50=_0x30fb65;if(_0x27d87f==null)return;const {unitId:_0x583ef,redoState:_0x15bd41,commandId:_0x1d7379}=_0x27d87f;if(_0x583ef!==_0x411ef3[_0x2e0a50(0xcf)])return;const _0x1b4259={'id':_0x1d7379,'type':_0x23c5c6['CommandType'][_0x2e0a50(0x2cc)],'params':{'unitId':_0x583ef,'actions':_0x15bd41[_0x2e0a50(0x20b)],'textRanges':null}};_0x411ef3[_0x2e0a50(0x19f)](_0x1b4259);});if(_0x411ef3[_0x30fb65(0x164)](_0x426eca),_0x411ef3 instanceof _0xe14e['DocCollaborationEntity']){const _0x314f54={'onTransformIME':_0x4b1208=>this[_0x30fb65(0x20a)][_0x30fb65(0x174)](_0x4b1208),'onTransformState':_0x4a5eef=>this[_0x30fb65(0xb5)][_0x30fb65(0x1a8)](_0x4a5eef),'onTransformSelections':_0x50d950=>this[_0x30fb65(0x2c3)]['transformSelections'](_0x50d950),'onSyncEditingCollabCursor':_0x104bb9=>this[_0x30fb65(0x127)][_0x30fb65(0x1a0)](_0x104bb9),'onTransformRemoteChangesetByIMECache':_0x164962=>this['_docTransformIMECacheService'][_0x30fb65(0x179)](_0x164962),'onTransformRemoteChangesetByStateCache':_0x347210=>this['_docTransformStateCacheService'][_0x30fb65(0x179)](_0x347210)};_0x411ef3[_0x30fb65(0x2b2)](_0x314f54);}}));}};_0x1cda0a=_0x130699([_0x5c3bed(0x0,_0x23c5c6['Inject'](_0x1f875c[_0x401f20(0x234)])),_0x5c3bed(0x1,_0x23c5c6[_0x401f20(0x12e)](_0xe14e['CollaborationController'])),_0x5c3bed(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x2c6c00)),_0x5c3bed(0x3,_0x23c5c6['Inject'](_0x45c26e)),_0x5c3bed(0x4,_0x23c5c6[_0x401f20(0x12e)](_0x7aa11b)),_0x5c3bed(0x5,_0x23c5c6[_0x401f20(0x12e)](_0x302224)),_0x5c3bed(0x6,_0x4c9765['IMessageService']),_0x5c3bed(0x7,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x227)]))],_0x1cda0a);var _0x159c3a=Object[_0x401f20(0x2e6)],_0x3a0a22=(_0x206004,_0x1cf309,_0x53421a,_0x440dd5)=>{const _0x1a52f=_0x401f20;for(var _0x1e50ae=_0x440dd5>0x1?void 0x0:_0x440dd5?_0x159c3a(_0x1cf309,_0x53421a):_0x1cf309,_0x4bc39b=_0x206004[_0x1a52f(0x2c4)]-0x1,_0x17adc9;_0x4bc39b>=0x0;_0x4bc39b--)(_0x17adc9=_0x206004[_0x4bc39b])&&(_0x1e50ae=_0x17adc9(_0x1e50ae)||_0x1e50ae);return _0x1e50ae;},_0x5bdf33=(_0x13917b,_0x29db97)=>(_0x57d783,_0x1b3118)=>_0x29db97(_0x57d783,_0x1b3118,_0x13917b);let _0x21502f=class extends _0x23c5c6['Disposable']{constructor(_0x1830a1,_0x1964c0,_0x401e78){const _0x3f5e2a=_0x401f20;super(),_0x1fcf73(this,_0x3f5e2a(0x2fe),new Map()),_0x1fcf73(this,_0x3f5e2a(0x2b5),new Map()),_0x1fcf73(this,_0x3f5e2a(0x2e7),!0x1),(this['_configService']=_0x1830a1,this[_0x3f5e2a(0x24d)]=_0x1964c0,this[_0x3f5e2a(0xce)]=_0x401e78);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x401f20(0x1ab)](){const _0xcffbbc=_0x401f20;this[_0xcffbbc(0x2e7)]=!0x1;}get['saveTaskMap'](){const _0x23043a=_0x401f20;return this[_0x23043a(0x2b5)];}[_0x401f20(0x2b1)](){const _0x43eaeb=_0x401f20;this['exhaustSavingTask']()['then'](()=>super[_0x43eaeb(0x2b1)]());}async[_0x401f20(0x307)](_0x5d22c0){const _0x3a7b64=_0x401f20;return this[_0x3a7b64(0x2e7)]?null:this[_0x3a7b64(0x24d)][_0x3a7b64(0x23e)](_0xe14e[_0x3a7b64(0x93)](_0x5d22c0));}async['saveOfflineData'](_0x45027f,_0x1e1211){const _0x5c579b=_0x401f20;return!!this[_0x5c579b(0x24d)][_0x5c579b(0x157)](_0x45027f,_0x1e1211);}[_0x401f20(0x2f7)](_0x3c9c5c,_0xf997ad,_0x36f561,_0x115363){const _0x4a20c8=_0x401f20,_0x468d0d=this[_0x4a20c8(0xce)][_0x4a20c8(0x1b3)](_0x3c9c5c);this[_0x4a20c8(0x2fe)]['set'](_0x3c9c5c,{'unitID':_0x3c9c5c,'type':_0xf997ad,'awaitingChangeset':_0x36f561,'mutations':_0x115363,'rev':_0x468d0d}),this[_0x4a20c8(0x2b5)]['has'](_0x3c9c5c)||this[_0x4a20c8(0xae)](_0x3c9c5c);}[_0x401f20(0xae)](_0x2a6aec){const _0x5a8436=_0x401f20,_0x4550cb=this[_0x5a8436(0xe2)]();_0x4550cb===0x0?this['_saveCache'](_0x2a6aec):this[_0x5a8436(0x2b5)][_0x5a8436(0xa1)](_0x2a6aec,setTimeout(()=>this['_saveCache'](_0x2a6aec),_0x4550cb));}[_0x401f20(0xe2)](){const _0x155fc0=_0x401f20;var _0x3ce310;return(_0x3ce310=this[_0x155fc0(0x23a)][_0x155fc0(0x2f5)](_0xe14e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x3ce310:_0xe14e[_0x155fc0(0x205)];}[_0x401f20(0xb3)](_0x5b66f7){const _0xe18c49=_0x401f20,_0x21f236=this['_saveTaskMap'][_0xe18c49(0x150)](_0x5b66f7);return _0x21f236!==void 0x0&&window[_0xe18c49(0x17d)](_0x21f236),this[_0xe18c49(0x24d)]['setItem'](_0xe14e[_0xe18c49(0x93)](_0x5b66f7),this['_cachedData']['get'](_0x5b66f7))['then'](()=>this['_saveTaskMap'][_0xe18c49(0x29c)](_0x5b66f7));}async[_0x401f20(0x267)](){const _0x494ee7=_0x401f20,_0x158a1f=[];this[_0x494ee7(0x2b5)][_0x494ee7(0x122)]((_0x5ea329,_0x3a6fcb)=>{const _0x2907b6=_0x494ee7;window[_0x2907b6(0x17d)](_0x5ea329),_0x158a1f[_0x2907b6(0x1b0)](this[_0x2907b6(0xb3)](_0x3a6fcb)[_0x2907b6(0x144)](()=>{const _0x4f0662=_0x2907b6;this[_0x4f0662(0x2b5)][_0x4f0662(0x29c)](_0x3a6fcb);}));}),await Promise[_0x494ee7(0x17e)](_0x158a1f);}};_0x21502f=_0x3a0a22([_0x5bdf33(0x0,_0x23c5c6[_0x401f20(0x2bf)]),_0x5bdf33(0x1,_0x23c5c6[_0x401f20(0x100)]),_0x5bdf33(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x17be28[_0x401f20(0x19c)]))],_0x21502f);class _0xc7c929 extends _0x23c5c6[_0x401f20(0x143)]{constructor(){const _0x2f186f=_0x401f20;super(),_0x1fcf73(this,_0x2f186f(0x87)),this[_0x2f186f(0x87)]=_0xb82969[_0x2f186f(0x255)](window,_0x2f186f(0x8e))[_0x2f186f(0xb9)](_0xb82969['takeUntil'](this[_0x2f186f(0x25e)]),_0xb82969[_0x2f186f(0x91)](0x1),_0xb82969['mapTo'](void 0x0));}['setParam'](_0x55b533,_0x3a18b6,_0x319d4a=!0x1){const _0x31dfb0=_0x401f20,_0x44f1d4=new URL(window[_0x31dfb0(0x124)][_0x31dfb0(0x204)]);_0x44f1d4[_0x31dfb0(0x1cc)][_0x31dfb0(0xa1)](_0x55b533,_0x3a18b6),_0x319d4a?window[_0x31dfb0(0x2e1)]['replaceState']('','',_0x44f1d4[_0x31dfb0(0xaa)]()):window[_0x31dfb0(0x2e1)][_0x31dfb0(0x27f)]('','',_0x44f1d4[_0x31dfb0(0xaa)]());}[_0x401f20(0x15a)](_0x40f472,_0x2245ea=!0x1){const _0x10e40b=_0x401f20,_0x24e1f0=new URL(window[_0x10e40b(0x124)][_0x10e40b(0x204)]);_0x24e1f0[_0x10e40b(0x1cc)][_0x10e40b(0x29c)](_0x40f472),_0x2245ea?window[_0x10e40b(0x2e1)]['replaceState']('','',_0x24e1f0[_0x10e40b(0xaa)]()):window['history']['pushState']('','',_0x24e1f0[_0x10e40b(0xaa)]());}[_0x401f20(0x2f1)](_0x59bf68){const _0x2cb9ad=_0x401f20;var _0x4348b9;return(_0x4348b9=new URL(window[_0x2cb9ad(0x124)][_0x2cb9ad(0x204)])[_0x2cb9ad(0x1cc)][_0x2cb9ad(0x150)](_0x59bf68))!=null?_0x4348b9:void 0x0;}}var _0x2278f6=Object['defineProperty'],_0x31c0ae=Object[_0x401f20(0x2e6)],_0x1fb67c=(_0x331333,_0x549a86,_0x1a00d7)=>_0x549a86 in _0x331333?_0x2278f6(_0x331333,_0x549a86,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a00d7}):_0x331333[_0x549a86]=_0x1a00d7,_0x313062=(_0x33a3c7,_0x134567,_0x46221a,_0x586dba)=>{const _0xde9787=_0x401f20;for(var _0x5cc472=_0x586dba>0x1?void 0x0:_0x586dba?_0x31c0ae(_0x134567,_0x46221a):_0x134567,_0x30d2f1=_0x33a3c7[_0xde9787(0x2c4)]-0x1,_0x5f17b1;_0x30d2f1>=0x0;_0x30d2f1--)(_0x5f17b1=_0x33a3c7[_0x30d2f1])&&(_0x5cc472=_0x5f17b1(_0x5cc472)||_0x5cc472);return _0x5cc472;},_0x5542ea=(_0x5912f7,_0x3bc545)=>(_0xc8dc1a,_0x2714eb)=>_0x3bc545(_0xc8dc1a,_0x2714eb,_0x5912f7),_0x3db8b1=(_0xba69ce,_0x1c0aa6,_0x5797b8)=>_0x1fb67c(_0xba69ce,_0x1c0aa6+'',_0x5797b8);const _0x324543=_0x401f20(0xbe);_0x3e697f['UniverCollaborationClientUIPlugin']=class extends _0x23c5c6['Plugin']{constructor(_0x11c757=_0x701b81,_0x175e0a,_0x6a05b1,_0xbbeb35){const _0x1a0ae9=_0x401f20;super(),this[_0x1a0ae9(0x160)]=_0x11c757,this['_renderManagerService']=_0x175e0a,this[_0x1a0ae9(0x217)]=_0x6a05b1,this[_0x1a0ae9(0x23a)]=_0xbbeb35;const {..._0x453fc9}=_0x23c5c6[_0x1a0ae9(0x2b4)]({},_0x701b81,this[_0x1a0ae9(0x160)]);this[_0x1a0ae9(0x23a)][_0x1a0ae9(0x180)](_0x2530f0,_0x453fc9);}[_0x401f20(0x1f7)](){const _0x216c60=_0x401f20;this[_0x216c60(0x24e)](),this[_0x216c60(0x13f)]();}[_0x401f20(0x12f)](){this['_registerRenderDependencies']();}[_0x401f20(0x24e)](){const _0x456757=_0x401f20;var _0x457374;const _0x51f3ff=[[_0x1568d7],[_0x7aa11b],[_0x2c6c00],[_0x45c26e],[_0x302224],[_0x2488de,{'useClass':_0xc7c929}],[_0x4e0660[_0x456757(0xd2)],{'useClass':_0x4e0660[_0x456757(0x1e3)]}],[_0xe14e['ILocalCacheService'],{'useClass':_0x21502f}],[_0x3e697f[_0x456757(0x1f1)]],[_0x1cda0a],[_0x5a6da5],[_0x4265e2],[_0x98f6c6],[_0x3e697f[_0x456757(0x282)]]];_0x23c5c6[_0x456757(0x245)](this[_0x456757(0x217)],_0x23c5c6['mergeOverrideWithDependencies'](_0x51f3ff,(_0x457374=this['_config'])==null?void 0x0:_0x457374[_0x456757(0x18f)]));}[_0x401f20(0x1a5)](){const _0x1d9156=_0x401f20;this[_0x1d9156(0x164)](this[_0x1d9156(0x240)]['registerRenderModule'](_0x23c5c6[_0x1d9156(0x295)][_0x1d9156(0x2c2)],[_0x1ef9a4])),this[_0x1d9156(0x164)](this[_0x1d9156(0x240)]['registerRenderModule'](_0x23c5c6[_0x1d9156(0x295)]['UNIVER_SHEET'],[_0x1785e5]));}['_initDependencies'](){const _0x32129a=_0x401f20;_0x23c5c6[_0x32129a(0xa8)](this[_0x32129a(0x217)],[[_0x4265e2],[_0x3e697f[_0x32129a(0x1f1)]],[_0x1cda0a],[_0x5a6da5],[_0x3e697f['CollaborationDataLoaderController']]]);}},_0x3db8b1(_0x3e697f['UniverCollaborationClientUIPlugin'],'pluginName',_0x324543),_0x3e697f[_0x401f20(0x8c)]=_0x313062([_0x23c5c6[_0x401f20(0x11c)](_0xe14e[_0x401f20(0xd6)]),_0x5542ea(0x1,_0x112879['IRenderManagerService']),_0x5542ea(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6['Injector'])),_0x5542ea(0x3,_0x23c5c6[_0x401f20(0x2bf)])],_0x3e697f[_0x401f20(0x8c)]);var _0x51d57c=Object['getOwnPropertyDescriptor'],_0x24881b=(_0x34a377,_0x26a56f,_0x31e4c7,_0x4905fd)=>{const _0x314a1f=_0x401f20;for(var _0x45e630=_0x4905fd>0x1?void 0x0:_0x4905fd?_0x51d57c(_0x26a56f,_0x31e4c7):_0x26a56f,_0x1e29d2=_0x34a377[_0x314a1f(0x2c4)]-0x1,_0x108638;_0x1e29d2>=0x0;_0x1e29d2--)(_0x108638=_0x34a377[_0x1e29d2])&&(_0x45e630=_0x108638(_0x45e630)||_0x45e630);return _0x45e630;},_0xfa049d=(_0x5457f0,_0x5aa743)=>(_0x29f156,_0x15d07b)=>_0x5aa743(_0x29f156,_0x15d07b,_0x5457f0);_0x3e697f[_0x401f20(0x1ed)]=class extends _0xe14e[_0x401f20(0x154)]{constructor(_0x597921,_0x15647e,_0x47e524,_0x2041e5,_0x50edd4){super(_0x597921,_0x15647e,_0x47e524,_0x2041e5,_0x50edd4);}async[_0x401f20(0x1d6)](_0x2f523e){const _0x148abf=_0x401f20,_0x254935=await this[_0x148abf(0x215)](),_0x19a497=this[_0x148abf(0x22b)](_0x2f523e,_0x254935);return this[_0x148abf(0x11e)](_0x19a497);}[_0x401f20(0x22b)](_0x50e845,_0x29ee07){const _0x4726dd=_0x401f20,_0x21f8cd=typeof window>'u'?new URL(_0x50e845):new URL(_0x50e845,window[_0x4726dd(0x124)][_0x4726dd(0x294)]);_0x21f8cd[_0x4726dd(0x1cc)][_0x4726dd(0xa1)](_0x4726dd(0xb6),_0x29ee07);const _0x50e68e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x50e68e[_0x4726dd(0x150)](_0x4726dd(0x305))&&_0x21f8cd[_0x4726dd(0x1cc)]['set'](_0x4726dd(0x305),_0x50e68e[_0x4726dd(0x150)](_0x4726dd(0x305))),_0x21f8cd['toString']();}async[_0x401f20(0x215)](){const _0x25c0a6=_0x401f20;var _0x2c0264,_0xa5c606,_0x358792;const _0x2194f1=this[_0x25c0a6(0x23a)]['getConfig'](_0xe14e['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1b7cab=(_0x2c0264=_0x2194f1==null?void 0x0:_0x2194f1['wsSessionTicketUrl'])!=null?_0x2c0264:_0xe14e['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x358792=(_0xa5c606=(await this[_0x25c0a6(0x152)][_0x25c0a6(0x150)](_0x1b7cab,{'headers':{'Content-Type':_0x25c0a6(0x2fd)}}))[_0x25c0a6(0x110)])==null?void 0x0:_0xa5c606[_0x25c0a6(0x19d)])!=null?_0x358792:'';}},_0x3e697f[_0x401f20(0x1ed)]=_0x24881b([_0xfa049d(0x0,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x311)])),_0xfa049d(0x1,_0x23c5c6[_0x401f20(0x12e)](_0x4e0660['HTTPService'])),_0xfa049d(0x2,_0x23c5c6[_0x401f20(0x2bf)]),_0xfa049d(0x3,_0x23c5c6['ILogService']),_0xfa049d(0x4,_0x17be28['ISnapshotServerService'])],_0x3e697f[_0x401f20(0x1ed)]);const _0x478612=0x7530,_0x10704c=_0x401f20(0x2d0);class _0x4e4604 extends _0x23c5c6['Disposable']{constructor(){const _0x38e86d=_0x401f20;super(),_0x1fcf73(this,_0x38e86d(0x1dd),_0x23c5c6[_0x38e86d(0x165)]()),_0x1fcf73(this,'_selfUnitIDs',new Set()),_0x1fcf73(this,'_unitOnClients',new Map()),_0x1fcf73(this,_0x38e86d(0xf7),null),_0x1fcf73(this,_0x38e86d(0x170),new Map()),_0x1fcf73(this,_0x38e86d(0x2b9),new Map()),this[_0x38e86d(0x153)]();}[_0x401f20(0x2b1)](){const _0x446c0b=_0x401f20;super[_0x446c0b(0x2b1)](),this['_clearOtherTimers']['forEach']((_0x4e3550,_0x274fb6)=>this['_removeClearOtherTimer'](_0x274fb6)),this[_0x446c0b(0xf7)]&&window[_0x446c0b(0x197)](this[_0x446c0b(0xf7)]);}['getUnitStatus$'](_0x14f3d6){const _0x33b870=_0x401f20;return this[_0x33b870(0x16c)](_0x14f3d6)[_0x33b870(0xb9)](_0xb82969[_0x33b870(0xe1)]());}['editingUnit'](_0x3693d0){const _0x1d10ec=_0x401f20;this[_0x1d10ec(0x2f6)][_0x1d10ec(0x125)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1d10ec(0x2f6)][_0x1d10ec(0xd8)](_0x3693d0),this[_0x1d10ec(0x16a)]({'type':0x0,'memberID':this[_0x1d10ec(0x1dd)],'unitIDs':[_0x3693d0],'isForwarded':!0x1});}[_0x401f20(0x2d1)](_0x237fe9){const _0x4903df=_0x401f20;this[_0x4903df(0x2f6)][_0x4903df(0x29c)](_0x237fe9),this[_0x4903df(0x2f6)]['size']===0x0&&this[_0x4903df(0xf7)]&&window[_0x4903df(0x197)](this['_heartbeatTimer']);}[_0x401f20(0x153)](){const _0x56c449=_0x401f20;this[_0x56c449(0x164)](_0x23c5c6[_0x56c449(0x275)](_0xb82969[_0x56c449(0x255)](window,_0x56c449(0x10b))[_0x56c449(0x1bc)](_0x5f2a1e=>{const _0x345f41=_0x56c449;if(_0x5f2a1e['key']!==_0x10704c||!_0x5f2a1e[_0x345f41(0x1ce)])return;const _0x4d6556=JSON[_0x345f41(0x296)](_0x5f2a1e['newValue']);this['_handleEvent'](_0x4d6556);}))),window[_0x56c449(0x2dc)](_0x56c449(0xeb),()=>this[_0x56c449(0x16a)]({'type':0x1,'memberID':this[_0x56c449(0x1dd)],'unitIDs':Array['from'](this[_0x56c449(0x2f6)])}));}[_0x401f20(0x147)](_0x4da6bf){const _0x415dd4=_0x401f20;switch(_0x4da6bf['type']){case 0x0:this[_0x415dd4(0x10c)](_0x4da6bf);break;case 0x1:this[_0x415dd4(0x1d1)](_0x4da6bf);break;case 0x2:this[_0x415dd4(0x1f5)](_0x4da6bf);break;}}[_0x401f20(0x10c)](_0x1df197){const _0x50a960=_0x401f20,{unitIDs:_0x16e9cf,memberID:_0x77b009,isForwarded:_0xa3c5d9}=_0x1df197;_0x16e9cf[_0x50a960(0x122)](_0x56a480=>{const _0x42b2e3=_0x50a960;if(!_0xa3c5d9&&this[_0x42b2e3(0x301)]['has'](_0x56a480)&&this['_ensureSubject'](_0x56a480)[_0x42b2e3(0x29d)](_0xe14e['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x42b2e3(0x301)][_0x42b2e3(0x1bd)](_0x56a480)||!this['_unitOnClients']['get'](_0x56a480)[_0x42b2e3(0x1bd)](_0x77b009)){const _0x44473b=this[_0x42b2e3(0x301)][_0x42b2e3(0x150)](_0x56a480)||new Set();_0x44473b['add'](_0x77b009),this['_unitOnClients'][_0x42b2e3(0xa1)](_0x56a480,_0x44473b),this['_scheduleClearOtherTimer'](_0x77b009);}}),_0xa3c5d9||this[_0x50a960(0x16a)]({'type':0x0,'memberID':this[_0x50a960(0x1dd)],'unitIDs':[...this[_0x50a960(0x2f6)]],'isForwarded':!0x0});}[_0x401f20(0xd9)](_0x3c37a5){const _0x1c2aa0=_0x401f20;this[_0x1c2aa0(0x304)](_0x3c37a5);const _0x1bee24=window[_0x1c2aa0(0xf0)](()=>{const _0x498b3a=_0x1c2aa0;this[_0x498b3a(0x301)][_0x498b3a(0x122)](_0x55902f=>{const _0x3c8e98=_0x498b3a;_0x55902f[_0x3c8e98(0x29c)](_0x3c37a5);});},_0x478612*0x2);this[_0x1c2aa0(0x170)][_0x1c2aa0(0xa1)](_0x3c37a5,_0x1bee24);}[_0x401f20(0x304)](_0x43ef22){const _0x5d1c53=_0x401f20;if(this[_0x5d1c53(0x170)][_0x5d1c53(0x1bd)](_0x43ef22)){const _0x20fc2f=this['_clearOtherTimers']['get'](_0x43ef22);_0x20fc2f&&window['clearTimeout'](_0x20fc2f),this[_0x5d1c53(0x170)]['set'](_0x43ef22,null);}}[_0x401f20(0x1d1)](_0x110ceb){const _0x93ef93=_0x401f20,{memberID:_0x36ef53,unitIDs:_0xc4fe96}=_0x110ceb;_0xc4fe96[_0x93ef93(0x122)](_0x259548=>{const _0x2a7482=_0x93ef93;var _0x2f58b9;const _0x5bb616=this[_0x2a7482(0x301)][_0x2a7482(0x150)](_0x259548);_0x5bb616&&(_0x5bb616['delete'](_0x36ef53),(_0x2f58b9=this['_ensureSubject'](_0x259548))==null||_0x2f58b9[_0x2a7482(0x29d)](_0x5bb616[_0x2a7482(0x125)]===0x0?_0xe14e['UnitStatus'][_0x2a7482(0x16f)]:_0xe14e[_0x2a7482(0x22f)][_0x2a7482(0x271)]));}),this[_0x93ef93(0x304)](_0x36ef53);}[_0x401f20(0x1f5)](_0x2dbd47){const _0x472007=_0x401f20;this['_scheduleClearOtherTimer'](_0x2dbd47[_0x472007(0xfb)]);}['_send'](_0x5b9255){const _0x9cbbb8=_0x401f20;localStorage[_0x9cbbb8(0x157)](_0x10704c,JSON[_0x9cbbb8(0x11b)](_0x5b9255));}[_0x401f20(0x298)](){const _0x9057d5=_0x401f20;this['_heartbeatTimer']=window[_0x9057d5(0xfa)](()=>{const _0x5f1c90=_0x9057d5;this[_0x5f1c90(0x16a)]({'type':0x2,'memberID':this['_id']});},_0x478612);}[_0x401f20(0x16c)](_0x57b5e5){const _0x227417=_0x401f20;return this[_0x227417(0x2b9)][_0x227417(0x1bd)](_0x57b5e5)||this['_unitStatus'][_0x227417(0xa1)](_0x57b5e5,new _0xb82969[(_0x227417(0x23b))](_0xe14e[_0x227417(0x22f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x227417(0x2b9)][_0x227417(0x150)](_0x57b5e5);}}var _0x36a032=(_0x58dc93=>(_0x58dc93[_0x58dc93[_0x401f20(0x312)]=0x0]=_0x401f20(0x312),_0x58dc93[_0x58dc93['OK']=0x1]='OK',_0x58dc93[_0x58dc93['INTERNAL_ERROR']=0x2]=_0x401f20(0x1de),_0x58dc93[_0x58dc93['PERMISSION_DENIED']=0x3]=_0x401f20(0xfe),_0x58dc93[_0x58dc93['NOT_FOUND']=0x4]=_0x401f20(0x1b1),_0x58dc93[_0x58dc93[_0x401f20(0x2ee)]=0x5]=_0x401f20(0x2ee),_0x58dc93[_0x58dc93[_0x401f20(0x306)]=0x6]=_0x401f20(0x306),_0x58dc93[_0x58dc93[_0x401f20(0x2cf)]=0x7]=_0x401f20(0x2cf),_0x58dc93[_0x58dc93['TOO_MANY_REQUESTS']=0x8]=_0x401f20(0xc0),_0x58dc93[_0x58dc93[_0x401f20(0xab)]=0x9]=_0x401f20(0xab),_0x58dc93[_0x58dc93[_0x401f20(0x2a8)]=0xa]=_0x401f20(0x2a8),_0x58dc93[_0x58dc93[_0x401f20(0xe0)]=0x1389]=_0x401f20(0xe0),_0x58dc93[_0x58dc93[_0x401f20(0x202)]=0x1771]=_0x401f20(0x202),_0x58dc93[_0x58dc93[_0x401f20(0xa9)]=0x1772]=_0x401f20(0xa9),_0x58dc93[_0x58dc93[_0x401f20(0x10f)]=0x1773]=_0x401f20(0x10f),_0x58dc93[_0x58dc93[_0x401f20(0x8f)]=0x1b59]=_0x401f20(0x8f),_0x58dc93[_0x58dc93[_0x401f20(0x192)]=0x1b5a]=_0x401f20(0x192),_0x58dc93[_0x58dc93[_0x401f20(0x20c)]=0x1b5b]=_0x401f20(0x20c),_0x58dc93[_0x58dc93['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x401f20(0xd4),_0x58dc93[_0x58dc93[_0x401f20(0x1e4)]=0x1b5d]='APPLY_DUPLICATED',_0x58dc93[_0x58dc93['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x401f20(0x1d3),_0x58dc93[_0x58dc93['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x401f20(0x2c5),_0x58dc93[_0x58dc93['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x401f20(0x2df),_0x58dc93[_0x58dc93[_0x401f20(0xbc)]=0x232b]=_0x401f20(0xbc),_0x58dc93[_0x58dc93['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x401f20(0xd0),_0x58dc93[_0x58dc93[_0x401f20(0x201)]=0x232d]=_0x401f20(0x201),_0x58dc93[_0x58dc93[_0x401f20(0x2d4)]=0x2711]=_0x401f20(0x2d4),_0x58dc93[_0x58dc93[_0x401f20(0xa2)]=0x2712]=_0x401f20(0xa2),_0x58dc93[_0x58dc93[_0x401f20(0xa3)]=0x2713]=_0x401f20(0xa3),_0x58dc93[_0x58dc93[_0x401f20(0x14c)]=0x2714]=_0x401f20(0x14c),_0x58dc93[_0x58dc93[_0x401f20(0x2a6)]=0x271a]=_0x401f20(0x2a6),_0x58dc93[_0x58dc93[_0x401f20(0x167)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x58dc93[_0x58dc93[_0x401f20(0x1fd)]=0x271c]=_0x401f20(0x1fd),_0x58dc93[_0x58dc93[_0x401f20(0x28a)]=0x271d]=_0x401f20(0x28a),_0x58dc93[_0x58dc93[_0x401f20(0x2f8)]=0x271e]=_0x401f20(0x2f8),_0x58dc93[_0x58dc93[_0x401f20(0x216)]=0x271f]=_0x401f20(0x216),_0x58dc93[_0x58dc93['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x58dc93[_0x58dc93[_0x401f20(0x2a2)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x58dc93[_0x58dc93[_0x401f20(0x131)]=0x2ee2]=_0x401f20(0x131),_0x58dc93[_0x58dc93['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x58dc93[_0x58dc93[_0x401f20(0x29a)]=0x2ee4]=_0x401f20(0x29a),_0x58dc93[_0x58dc93[_0x401f20(0x177)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x58dc93[_0x58dc93['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x401f20(0x2cd),_0x58dc93[_0x58dc93[_0x401f20(0xca)]=0x32ca]=_0x401f20(0xca),_0x58dc93[_0x58dc93[_0x401f20(0xa4)]=0x32cb]=_0x401f20(0xa4),_0x58dc93[_0x58dc93['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x58dc93))(_0x36a032||{}),_0x14e7fa=Object[_0x401f20(0x2e6)],_0x516f47=(_0x1f8ae1,_0x18492f,_0x3cdc37,_0xa06ca2)=>{const _0x35b841=_0x401f20;for(var _0x879770=_0xa06ca2>0x1?void 0x0:_0xa06ca2?_0x14e7fa(_0x18492f,_0x3cdc37):_0x18492f,_0x9e38dd=_0x1f8ae1[_0x35b841(0x2c4)]-0x1,_0xfb3769;_0x9e38dd>=0x0;_0x9e38dd--)(_0xfb3769=_0x1f8ae1[_0x9e38dd])&&(_0x879770=_0xfb3769(_0x879770)||_0x879770);return _0x879770;},_0x367dd3=(_0x2a4509,_0xcace9d)=>(_0x25235c,_0x29e975)=>_0xcace9d(_0x25235c,_0x29e975,_0x2a4509);_0x3e697f['RemoteUniscriptService']=class extends _0x23c5c6[_0x401f20(0x1c4)]{constructor(_0x4b9ae3,_0x54e18d,_0x5f0caa){const _0x4d6a8f=_0x401f20;super(),this[_0x4d6a8f(0x13b)]=_0x4b9ae3,this[_0x4d6a8f(0x152)]=_0x54e18d,this[_0x4d6a8f(0x23a)]=_0x5f0caa;}async['runOnServer'](_0x4bb9b0,_0x3700dc,_0x57d68a,..._0x5adf32){const _0x12515a=_0x401f20;var _0x59602d,_0x2d6f4c,_0x1ca158,_0x19ae25;const _0x522428=this[_0x12515a(0x13b)][_0x12515a(0x248)]();if(!_0x522428)throw new Error(_0x12515a(0x158));const _0x1877b2=((_0x59602d=this[_0x12515a(0x23a)]['getConfig'](_0xe14e['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x59602d:_0xe14e['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4bb9b0+'/run/'+_0x3700dc,_0x190806=new URL(window[_0x12515a(0x124)][_0x12515a(0x204)]),_0xd819be={'scriptId':_0x4bb9b0,'runId':(_0x2d6f4c=_0x190806[_0x12515a(0x1cc)]['get'](_0x12515a(0x305)))!=null?_0x2d6f4c:'','function':_0x3700dc,'unitId':_0x522428[_0x12515a(0xf9)](),'argsOfFunction':JSON['stringify'](_0x5adf32),'invokeId':(_0x1ca158=_0x57d68a[_0x12515a(0x2d6)])!=null?_0x1ca158:'','executionId':(_0x19ae25=_0x57d68a[_0x12515a(0x309)])!=null?_0x19ae25:''};try{const _0x12ee33=await this[_0x12515a(0x152)]['post'](_0x1877b2,{'body':_0xd819be});return _0x12ee33['body'][_0x12515a(0x236)]&&_0x12ee33[_0x12515a(0x110)]['error'][_0x12515a(0x2c8)]!==_0x36a032['OK']?'Failed':_0x12ee33['body'][_0x12515a(0xac)];}catch{return'Failed';}}},_0x3e697f[_0x401f20(0x2d3)]=_0x516f47([_0x367dd3(0x0,_0x23c5c6[_0x401f20(0x2b6)]),_0x367dd3(0x1,_0x23c5c6[_0x401f20(0x12e)](_0x4e0660[_0x401f20(0x168)])),_0x367dd3(0x2,_0x23c5c6['IConfigService'])],_0x3e697f['RemoteUniscriptService']),_0x3e697f[_0x401f20(0x96)]=_0x5e0fc3,_0x3e697f[_0x401f20(0x2ce)]=_0x2488de,_0x3e697f['SheetCollabCursorShape']=_0x4a6a14,_0x3e697f[_0x401f20(0x27d)]=_0x4e4604,_0x3e697f[_0x401f20(0x19b)]=_0xc7c929,Object[_0x401f20(0x146)](_0x3e697f,Symbol[_0x401f20(0x2bc)],{'value':_0x401f20(0x1d8)});}));function _0x10ca(_0x7fa856,_0x227153){const _0x308706=_0x3087();return _0x10ca=function(_0x10ca5c,_0x3d4bef){_0x10ca5c=_0x10ca5c-0x84;let _0x524367=_0x308706[_0x10ca5c];return _0x524367;},_0x10ca(_0x7fa856,_0x227153);}function _0x3087(){const _0x24d3d8=['getColorFromTheme','RemoveRowCommandId','addObject','exhaustSavingTask','activeSheet$','name','Vector2','_onCursorDelete','m1Prime','lineTo','_docSkeletonManagerService','VIEW_MAIN','_status$','OTHER_CLIENTS_EDITING','collab-client.tooltip.reconnect','onPointerLeave$','svg','toDisposable','_localCacheService','collabStatus.synced','getSkeleton','IUIPartsService','_setupSubUnitSync','displayName','ColorKit','WebBrowserSingleActiveUnitService','_univerInstanceService','pushState','unit','hide','CollaborationDataLoaderController','handleMoveRange','@univerjs/engine-render','selection','375754OvbyBf','_updateURLWithCurrentState','ILocalCacheService','makeDirty','YUUMI_ALL_TABLES_IS_INVALID','sheetID','entries','arc','map','USERS_LEAVE','_cursorShapes','_transformPreviousActiveRange','collab-rect-range-','startColumn','origin','UniverInstanceType','parse','OFFLINE','_scheduleHeartbeat','saveImage','USER_NOT_INVITED_CODE','ITransformService','delete','next','isArray','setShapeProps','beginPath','some','INVITE_CODE_HAS_BEEN_UES','sessionStatus$','Tooltip','data','YUUMI_NO_CUBOID_FOR_QUESTION','contains','LOGIN_FAILED','UniverDocs','mask','propertyIsEnumerable','from','cursorInfo$','serializeRangeWithSheet','UniverSheets','addObjects','dispose','addHandlerCallback','show','merge','_saveTaskMap','IUniverInstanceService','_removeCollabCursors','handleInsertRangeMoveDown','_unitStatus','top','_session','toStringTag','clipPath','colorChannel1','IConfigService','getCoordByCell','HEADER_MENU','UNIVER_DOC','_docTransformSelectionsService','length','LICENSE_MAX_UNITS_EXCEEDED','icon','NOT_COLLAB','code','_transformHistoryAndStateStack','registerComponent','_transformService','MUTATION','WECHAT_HAS_BEEN_BOUND','IURLService','INVALID_ARGUMENT','ACTIVE_UNIT_EVENT_CHANNEL','disposeUnit','_hover','RemoteUniscriptService','YUUMI_UNABLE_LOAD_URL','attrs','invokeId','UniverEngineRender','_updateSubUnitFromURLParams','_color','column','_initResize','addEventListener','defIds','IMessageService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','round','history','SHEET_VIEWPORT_KEY','SUBMIT_CHANGESET_TIMEOUT','triggerDblclick','status$','getOwnPropertyDescriptor','_disabled','1em','setParam','SYNCED','UPDATE_CURSOR','_eventUnsubscribe','forwardRef','UNAUTHENTICATED','_render','_dataLoaderService','getParam','resize','_collabCursorState$','@univerjs/core','getConfig','_selfUnitIDs','updateOfflineData','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','path','_docSkeleton','restore','CollaborationSessionService','application/json','_cachedData','_toggleOffline','DocSelectionManagerService','_unitOnClients','collaboration-client.offline-data-not-saved','ThemeService','_removeClearOtherTimer','runId','ALREADY_EXISTS','loadOfflineData','fillText','executionId','CollaborationEvent','fromEventSubject','ICommandService','onMouseMove','getCollabCursors$','function','takeUntil','Injector','UNDEFINED','off-line-icon_clip0_910_343','getCollabEntity$','range','urlChange$','transformByState','61000ApGSlf','apply','_collaborationController','UniverCollaborationClientUIPlugin','exports','popstate','APPLY_REJECT','DOC_RANGE_TYPE','shareReplay','getMemberID','getLocalCacheKey','TEXT_RANGE_LAYER_INDEX','_colorAssignService','CollaborationStatusDisplay','currentTheme$','handleInsertRow','ONLINE','getOffsetConfig','SheetsSelectionsService','startRow','assignAColorForMemberID','filter','_commandService','@univerjs/docs-ui','set','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_RATE_OVER_LIMIT','EMAIL_HAS_BEEN_BOUND','includes','height','onPointerMove$','touchDependencies','SNAPSHOT_HAS_BEEN_REMOVED','toString','COMPLETION_FINISHED','result','_updateLocalCursor','_scheduleSaving','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','extend','COLORS','_hovered','_saveCache','SOCKET_FAILED_RETRY','_docTransformStateCacheService','sessionTicket','FETCH_MISS','url(#off-line-icon_clip0_910_343)','pipe','557608qBPMhd','_localeService','LICENSE_IMPORT_SIZE_EXCEEDED','_drawTextRange','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_textBubble','TOO_MANY_REQUESTS','getTypeOfUnitDisposed$','CollaborationUIEventService','CLOSE_ROOM','permission.content','getActiveRange','React','complete','UniverCore','SetDocZoomRatioOperation','MOBILE_HAS_BEEN_BOUND','collaboration-client-ui.config','debounce','debug','_revisionService','unitID','LICENSE_EXPORT_SIZE_EXCEEDED','INotificationService','ISocketService','getCurrentUnitForType','APPLY_PERMISSION_DENIED','mutations','UniverCollaborationClientPlugin','_range','add','_scheduleClearOtherTimer','DataLoaderService','getUniverSheetInstance','handleDeleteRangeMoveUp','collabStatus.notCollab','call','_handleHover','CHANGESET_REVISION_CONFILICT','distinctUntilChanged','_getSaveTimeout','getSheetId','Rect','DeleteRangeMoveLeftCommandId','getRangePointData','_assignedColors','tag','setAlpha','290bPMCal','unload','labelPosition','session.collaboration-timeout','RemoveColCommandId','_themeService','setTimeout','@univerjs/ui','width','react','isTransformMutationFailure','AWAITING_WITH_PENDING','262927ehravT','_heartbeatTimer','none','getUnitId','setInterval','memberID','SetSelectionsOperation','handleIRemoveRow','PERMISSION_DENIED','onTransformChange$','ILocalStorageService','currentSkeleton$','runRefRangeMutations','_transformUndoRedoStack','@univerjs/sheets-ui','subscribeEvent','MoveRangeCommandId','BuiltInUIPart','isEditing','Warning','Error','storage','_handleJoinEvent','split','NodePositionConvertToCursor','ENSURE_SNAPSHOT_EXECUTION','body','UniverProCollaborationClientUi','evenodd','_updateCollabCursors','@univerjs/engine-formula','prototype','color','undoState','@univerjs-pro/collaboration','MemberService','roomMembers','stringify','DependentOn','throttleTime','_doCreateSocket','UniverProCollaborationClient','_hideTimer','_beforeCloseService','forEach','UNIVER_SHEET','location','size','collaboration.closeRoom','_docSyncEditingCollabCursorService','useCallback','combineLatest','UniverDocsUi','PENDING','_startDocCollabCursor','_scene','Inject','onRendered','_initCommandExecutedListener','INVALID_INVITE_CODE','url(#$1','_setupBeforeClosingHandler','[CollaborationDataLoaderController]','@univerjs/design','3699944UKzvAQ','_imageIoService','fillStyle','TEXT','on-line-icon_clip0_910_349','_instanceService','getUnhiddenWorksheets','_sheetSkeletonManagerService','random','_initDependencies','fill','_online','collab-text-anchor-','RxDisposable','then','InsertRowCommandId','defineProperty','_handleEvent','className','UniverDesign','getActiveSheet','Unknown\x20user','YUUMI_SUBSCRIPTION_NOT_FOUND','requireSession','_docClipboardService','row','get','imageSourceType','_httpService','_init','CollaborationSocketService','_shapes','bottom','setItem','[RemoteUniscriptService]:\x20no\x20focused\x20unit','MessageType','removeParam','getMergeData','white','rxjs/operators','getVpScrollXYInfoByPosToVp','SOCKET_FAILED','_config','type','setStateCache','SheetSkeletonManagerService','disposeWithMe','generateRandomId','_lastPointer','YUUMI_ASYNCIO_CANCELLED','HTTPService','measureText','_send','rxjs','_ensureSubject','19032WPldoF','endColumn','NO_OTHER_CLIENTS_EDITING','_clearOtherTimers','findNodePositionByCharIndex','startsWith','DocIMEInputManagerService','transformIMECache','...','session.will-retry','INVITE_CODE_ALREADY_BOUND','CollaborationStatus','transformRemoteChangeset','getDocRanges','_onCursorUpdate','_logService','clearTimeout','all','M0\x200H16V16H0z','setConfig','deepClone','focused$','_draw','_document','values','black','ranges','_labelPosition','getOwnPropertySymbols','UniverNetwork','onCommandExecuted','CollaborationController','eventID','font','override','DocSkeletonManagerService','UniverEngineFormula','APPLY_NON_SEQUENTIAL_REVISION','registerRefRange','handleInsertRangeMoveRight','univer-flex\x20univer-items-center','asObservable','clearInterval','http://www.w3.org/2000/svg','defs','string','WebURLService','RevisionService','ticket','min','onLocalMutation','syncEditingCollabCursor','setUndoRedoMutationParamsCache','@univerjs-pro/collaboration-client','OffLineIcon','getViewport','_registerRenderDependencies','switchMap','drawWith','transformStateCache','redoState','Tools','enableLocalCache','sheetId','_backgroundColor','_collabSessionService','isTransformMutationsWithChangesetSuccess','push','NOT_FOUND','DeleteRangeMoveUpCommandId','getCurrentRevOfUnit','red.300','react/jsx-runtime','JOIN_ROOM_FAILED','assign','getTypeOfUnitAdded$','jsxs','_urlService','UniverUi','subscribe','has','@univerjs/sheets','replace','children','roomMembers$','toRgbString','_syncEditingCollabCursorService','Disposable','RECT','with','event$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_collaborationUIEventService','off-line-icon','url(#on-line-icon_clip0_910_349)','searchParams','_getMergeRange','newValue','params','0\x200\x2017\x2016','_handleLeaveEvent','onPointerEnter$','CONNECTOR_DATA_TOO_LARGE','_messageService','getSheetObject','createSocket','reconnect','Module','currentColor','_refRangeService','createElement','EffectRefRangId','_id','INTERNAL_ERROR','textRanges','#FFF','getValue','_cursor','WebSocketService','APPLY_DUPLICATED','indexOf','_onRefRangeChange','createIdentifier','_getScale','green.600','init','0\x200\x2016\x2016','deserializeRangeWithSheet','BrowserCollaborationSocketService','unsubscribe','collabStatus.conflict','_initStatusComponent','DesktopCollaborationStatusDisplayController','xlink:href','@univerjs/docs','handleInsertCol','_handleHeartbeatEvent','ILogService','onStarting','unshift','@univerjs/rpc','yellow.400','jsx','_name','YUUMI_TABLE_NOT_FOUND_IN_UNIT','saveTaskMap','_notificationService','docStateChange$','LICENSE_DISTRO_REJECTED','SNAPSHOT_INVALID_SNAPSHOT','collab-text-range-','href','LOCAL_CACHE_INTERVAL','_getAnchorBounding','SessionStatus','current','RefRangeService','_docTransformIMECacheService','actions','APPLY_REVISION_CONFILICT','_drawRectRange','trim','_memberService','getUndoRedoMutationParamsCache','subunit','engine','_startSheetCollabCursor','_toggleOnline','_getSessionTicket','YUUMI_AI_RUN_FAILED','_injector','IDocClipboardService','CollaborationUIEventId','unitId','text','collaboration.single-unit.warning','_refreshCollabCursors','380664qxGLsj','_anchor','_context','_cursorInfo$','_colorIndex','transformMutation','idSuffix','_entities','clsx','LocaleService','OTHER_CLIENT_EDITING','CONFLICT','_anchorDot','_createSocketURL','univer-flex\x20univer-mr-2\x20univer-text-xl','doc.mutation.rich-text-editing','@univerjs/drawing','UnitStatus','backgroundColor','session.connection-failed','selections','getRenderById','DocStateChangeManagerService','_cursors','error','_drawAnchor','collabStatus.offline','_uiPartsService','_configService','BehaviorSubject','UniverDrawing','_docStateChangeManagerService','getItem','FromArray','_renderManagerService','concat','skeleton','executeCommand','fillRule','registerDependencies','transformMutationsWithChangeset','_getSheetObject','getFocusedUnit','m2Prime','isActive','permission.title','cursorInfo','_localStorageService','_registerDependencies','save','OnLineIcon','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initStatusListener','symbol','@univerjs/network','fromEvent','getColor','getCellPositionByOffset','_collabCursorController','on-line-icon','getCurrentSelections','IBeforeCloseService','_entityInit$','_roomMembers$','dispose$','flatMap','send','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','find','div'];_0x3087=function(){return _0x24d3d8;};return _0x3087();}
|