@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507051607 → 0.9.1-nightly.202507071607
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/ko-KR.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/ko-KR.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/ko-KR.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/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3d428b=_0x15bb;(function(_0x4d110b,_0x73ae86){const _0x96b66c=_0x15bb,_0x437f76=_0x4d110b();while(!![]){try{const _0x392cc3=-parseInt(_0x96b66c(0xc4))/0x1*(parseInt(_0x96b66c(0xc2))/0x2)+parseInt(_0x96b66c(0xc1))/0x3*(parseInt(_0x96b66c(0xba))/0x4)+parseInt(_0x96b66c(0xc5))/0x5+parseInt(_0x96b66c(0xbd))/0x6+-parseInt(_0x96b66c(0xb9))/0x7*(-parseInt(_0x96b66c(0xc0))/0x8)+parseInt(_0x96b66c(0xc3))/0x9+-parseInt(_0x96b66c(0xc6))/0xa;if(_0x392cc3===_0x73ae86)break;else _0x437f76['push'](_0x437f76['shift']());}catch(_0xa10e2d){_0x437f76['push'](_0x437f76['shift']());}}}(_0x345f,0xdd973));function _0x15bb(_0x569dc0,_0x5a658d){const _0x345fe1=_0x345f();return _0x15bb=function(_0x15bbb6,_0x39905e){_0x15bbb6=_0x15bbb6-0xb8;let _0x198709=_0x345fe1[_0x15bbb6];return _0x198709;},_0x15bb(_0x569dc0,_0x5a658d);}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');function _0x345f(){const _0x5a992d=['2274wGTwxU','3223158TgtJFP','8609256UwsGtS','1lNIGBT','4365970RhSQnX','22954200zMeZvi','runOnServer','80234PlxXik','7892EJyzTP','FUniver','_injector','3915576aFhAMA','get','extend','584Bbnxps'];_0x345f=function(){return _0x5a992d;};return _0x345f();}class c extends e[_0x3d428b(0xbb)]{['runOnServer'](_0x5a3380,_0x38c6f9,..._0x3a2c27){const _0x354279=_0x3d428b;return this[_0x354279(0xbc)][_0x354279(0xbe)](t['RemoteUniscriptService'])[_0x354279(0xb8)](_0x5a3380,_0x38c6f9,{},..._0x3a2c27);}}e['FUniver'][_0x3d428b(0xbf)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x26dd52=_0x178e;(function(_0x555b56,_0x490694){const _0x1a931f=_0x178e,_0x128ce4=_0x555b56();while(!![]){try{const _0x5eddc0=-parseInt(_0x1a931f(0x24a))/0x1+parseInt(_0x1a931f(0x1bf))/0x2+-parseInt(_0x1a931f(0x319))/0x3+parseInt(_0x1a931f(0x15f))/0x4*(parseInt(_0x1a931f(0x31d))/0x5)+parseInt(_0x1a931f(0x250))/0x6+parseInt(_0x1a931f(0x263))/0x7*(parseInt(_0x1a931f(0x2da))/0x8)+-parseInt(_0x1a931f(0xb6))/0x9*(parseInt(_0x1a931f(0x100))/0xa);if(_0x5eddc0===_0x490694)break;else _0x128ce4['push'](_0x128ce4['shift']());}catch(_0x1ff154){_0x128ce4['push'](_0x128ce4['shift']());}}}(_0x4ae1,0x88674));var Ve=Object['defineProperty'],Xe=(_0x31a2b1,_0x268802,_0x1276e5)=>_0x268802 in _0x31a2b1?Ve(_0x31a2b1,_0x268802,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1276e5}):_0x31a2b1[_0x268802]=_0x1276e5,h=(_0x50c0a4,_0x46fac2,_0x3b3a3b)=>Xe(_0x50c0a4,typeof _0x46fac2!=_0x26dd52(0xba)?_0x46fac2+'':_0x46fac2,_0x3b3a3b);function _0x178e(_0xcb76fe,_0x341434){const _0x4ae1c9=_0x4ae1();return _0x178e=function(_0x178ed8,_0x1340ad){_0x178ed8=_0x178ed8-0xaa;let _0x56af04=_0x4ae1c9[_0x178ed8];return _0x56af04;},_0x178e(_0xcb76fe,_0x341434);}Object[_0x26dd52(0x2e5)](exports,Symbol[_0x26dd52(0x32c)],{'value':_0x26dd52(0x164)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),G=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),be=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object['getOwnPropertyDescriptor'],ze=(_0x4bb5aa,_0x1c5a8b,_0x9f7453,_0x47a5ca)=>{for(var _0x4896ad=_0x47a5ca>0x1?void 0x0:_0x47a5ca?qe(_0x1c5a8b,_0x9f7453):_0x1c5a8b,_0x4906e3=_0x4bb5aa['length']-0x1,_0x11ed7a;_0x4906e3>=0x0;_0x4906e3--)(_0x11ed7a=_0x4bb5aa[_0x4906e3])&&(_0x4896ad=_0x11ed7a(_0x4896ad)||_0x4896ad);return _0x4896ad;},Oe=(_0x299cf6,_0x408027)=>(_0xcdc6dc,_0x186fa4)=>_0x408027(_0xcdc6dc,_0x186fa4,_0x299cf6);let de=class extends a['RxDisposable']{constructor(_0x30879f,_0x250783){const _0x4c22e5=_0x26dd52;super(),this['_docClipboardService']=_0x30879f,this[_0x4c22e5(0x2d9)]=_0x250783,this['_init']();}[_0x26dd52(0x145)](){const _0x1d1b1f=_0x26dd52,_0x1e8486=this;this[_0x1d1b1f(0x146)](this[_0x1d1b1f(0xd5)][_0x1d1b1f(0x2b2)]({'onBeforePasteImage':async _0x2aaf65=>{const _0x1bfc0b=_0x1d1b1f,_0x47bdbc=await _0x1e8486[_0x1bfc0b(0x2d9)]['saveImage'](_0x2aaf65);return _0x47bdbc?{'source':_0x47bdbc[_0x1bfc0b(0x254)],'imageSourceType':_0x47bdbc[_0x1bfc0b(0x277)]}:null;}}));}};de=ze([Oe(0x0,E[_0x26dd52(0x170)]),Oe(0x1,Ge[_0x26dd52(0xfd)])],de);const Te=['purple.300',_0x26dd52(0x24f),_0x26dd52(0x306),'red.300',_0x26dd52(0xb2),_0x26dd52(0x16a)];class me extends a['Disposable']{constructor(){const _0xa58c32=_0x26dd52;super(...arguments),h(this,_0xa58c32(0xd9),new Map()),h(this,'_colorIndex',0x0);}[_0x26dd52(0x1c4)](_0x7fc839){const _0x5e062e=_0x26dd52;if(this[_0x5e062e(0xd9)][_0x5e062e(0x220)](_0x7fc839))return this['_assignedColors'][_0x5e062e(0x21b)](_0x7fc839);const _0xf26313=Te[this[_0x5e062e(0x2d6)]];return this[_0x5e062e(0x2d6)]=(this['_colorIndex']+0x1)%Te[_0x5e062e(0x1d5)],this[_0x5e062e(0xd9)]['set'](_0x7fc839,_0xf26313),_0xf26313;}}function Pe(_0x4d528b){const _0x15e3c8=_0x26dd52;let _0xf45919='';for(const _0x582d2f of _0x4d528b){const {startOffset:_0x189d79,endOffset:_0x26076e,isActive:_0x33ad06,rangeType:_0x3fc597,segmentId:_0x539fc5,segmentPage:_0x94190f}=_0x582d2f;_0xf45919[_0x15e3c8(0x1d5)]&&(_0xf45919+=','),_0xf45919+=_0x189d79+':'+_0x26076e+':'+(_0x33ad06?'1':'0')+':'+_0x3fc597+':'+_0x539fc5+':'+_0x94190f;}return _0xf45919;}function Je(_0x3e97d4){const _0x289d6b=_0x26dd52,_0x4afec6=_0x3e97d4['split'](','),_0x5d291e=[];for(const _0x48905f of _0x4afec6){const [_0x255ae6,_0x5df680,_0x2a4db3,_0x37d4e8,_0x436db,_0x218693]=_0x48905f['split'](':');_0x5d291e[_0x289d6b(0x213)]({'startOffset':Number(_0x255ae6),'endOffset':Number(_0x5df680),'collapsed':_0x255ae6===_0x5df680,'isActive':_0x2a4db3==='1','rangeType':_0x37d4e8===a[_0x289d6b(0x29d)][_0x289d6b(0xd8)]?a[_0x289d6b(0x29d)]['TEXT']:a[_0x289d6b(0x29d)][_0x289d6b(0x2e3)],'segmentId':typeof _0x436db==_0x289d6b(0x22d)?String(_0x436db):'','segmentPage':Number(_0x218693!=null?_0x218693:-0x1)});}return _0x5d291e['some'](_0x2ec02c=>_0x2ec02c[_0x289d6b(0x223)])||(_0x5d291e[0x0][_0x289d6b(0x223)]=!0x0),_0x5d291e;}class Ce extends a['RxDisposable']{constructor(){const _0x3ee6cf=_0x26dd52;super(...arguments),h(this,_0x3ee6cf(0x19d),new d[(_0x3ee6cf(0x302))](null)),h(this,_0x3ee6cf(0xc7),this[_0x3ee6cf(0x19d)][_0x3ee6cf(0x271)]());}[_0x26dd52(0x28c)](_0x4cb904){const _0xb812f=_0x26dd52,{unitID:_0x139226,memberID:_0x21b6b5,textRanges:_0x485a8f}=_0x4cb904,_0x52f84f=Pe(_0x485a8f);if(_0x52f84f==='')return;const _0x40ad76={'unitID':_0x139226,'memberID':_0x21b6b5,'selection':_0x52f84f};this[_0xb812f(0x19d)][_0xb812f(0x184)](_0x40ad76);}}var Ze=Object[_0x26dd52(0xf0)],Qe=(_0x136d56,_0x290aeb,_0x35f752,_0x525f1c)=>{const _0x186c9d=_0x26dd52;for(var _0x5db360=_0x525f1c>0x1?void 0x0:_0x525f1c?Ze(_0x290aeb,_0x35f752):_0x290aeb,_0x5289b4=_0x136d56[_0x186c9d(0x1d5)]-0x1,_0x452720;_0x5289b4>=0x0;_0x5289b4--)(_0x452720=_0x136d56[_0x5289b4])&&(_0x5db360=_0x452720(_0x5db360)||_0x5db360);return _0x5db360;},L=(_0x28905a,_0x15b639)=>(_0xcea192,_0x4fc0fc)=>_0x15b639(_0xcea192,_0x4fc0fc,_0x28905a);const et=0x12c,tt=0x64;let Ie=class extends a[_0x26dd52(0x129)]{constructor(_0x72fdb0,_0x550d87,_0x57c854,_0x5c4529,_0x2e52cf,_0x2c4a46,_0x261683,_0x29380b,_0x5b88de){const _0x2d2ba3=_0x26dd52;super(),h(this,_0x2d2ba3(0x280),!0x1),h(this,_0x2d2ba3(0x145),!0x1),h(this,_0x2d2ba3(0x139),new d['BehaviorSubject'](new Map())),h(this,_0x2d2ba3(0x1ca),this[_0x2d2ba3(0x139)][_0x2d2ba3(0x271)]()),h(this,_0x2d2ba3(0x30e),new d[(_0x2d2ba3(0x302))]([])),h(this,_0x2d2ba3(0x212),this['_roomMembers$'][_0x2d2ba3(0x291)](d[_0x2d2ba3(0xf4)](et))),h(this,_0x2d2ba3(0x15c),a[_0x2d2ba3(0x257)](_0x17a867=>{const _0x233791=_0x2d2ba3,_0x56b2ec={'eventID':m['CollaborationEvent'][_0x233791(0x15e)],'data':{'unitID':this[_0x233791(0x2d7)],'memberID':this[_0x233791(0x1c0)]['getMemberID'](),'selection':Pe(_0x17a867)}};this[_0x233791(0x1c0)]['send'](_0x56b2ec,this[_0x233791(0x2d7)]);},tt)),(this[_0x2d2ba3(0x2d7)]=_0x72fdb0,this[_0x2d2ba3(0x1c0)]=_0x550d87,this[_0x2d2ba3(0x14d)]=_0x57c854,this[_0x2d2ba3(0xe0)]=_0x5c4529,this[_0x2d2ba3(0x1ae)]=_0x2e52cf,this[_0x2d2ba3(0x2c1)]=_0x2c4a46,this[_0x2d2ba3(0x318)]=_0x261683,this[_0x2d2ba3(0x2b5)]=_0x29380b,this[_0x2d2ba3(0x1e7)]=_0x5b88de);}get[_0x26dd52(0x20d)](){const _0x3d0979=_0x26dd52;return this[_0x3d0979(0x139)][_0x3d0979(0xaa)]();}get[_0x26dd52(0x1a4)](){const _0x16d1c4=_0x26dd52;return this[_0x16d1c4(0x30e)][_0x16d1c4(0xaa)]();}[_0x26dd52(0x1e2)](){const _0x3f35d3=_0x26dd52;super[_0x3f35d3(0x1e2)](),this[_0x3f35d3(0x139)][_0x3f35d3(0x184)](new Map()),this[_0x3f35d3(0x139)]['complete'](),this[_0x3f35d3(0x30e)][_0x3f35d3(0x184)]([]),this[_0x3f35d3(0x30e)][_0x3f35d3(0x2a3)]();}['init'](){const _0x5dec02=_0x26dd52;this[_0x5dec02(0x145)]||(this['_init']=!0x0,this[_0x5dec02(0x1c0)][_0x5dec02(0x229)][_0x5dec02(0x291)](d[_0x5dec02(0x251)](this[_0x5dec02(0x322)]))[_0x5dec02(0x301)](_0x297489=>{const _0x28d6d8=_0x5dec02;_0x297489===u[_0x28d6d8(0x228)][_0x28d6d8(0x304)]?this[_0x28d6d8(0x2c7)]():this[_0x28d6d8(0x231)]();}),this['_session'][_0x5dec02(0x242)][_0x5dec02(0x291)](d['takeUntil'](this[_0x5dec02(0x322)]))[_0x5dec02(0x301)](_0x4c2b86=>{const _0x3497c6=_0x5dec02,_0x3c8d3e=_0x4c2b86[_0x3497c6(0x16d)];_0x3c8d3e===m[_0x3497c6(0xc0)][_0x3497c6(0x15e)]&&this[_0x3497c6(0x18a)](_0x4c2b86),_0x3c8d3e===m[_0x3497c6(0xc0)]['USERS_LEAVE']&&this[_0x3497c6(0x2b1)](_0x4c2b86);}),this[_0x5dec02(0x146)](this[_0x5dec02(0x1e7)][_0x5dec02(0x295)](_0x494a8e=>{const _0x4cbd86=_0x5dec02,_0x35cc3f=_0x494a8e[_0x4cbd86(0x195)];_0x35cc3f!=null&&this['_online']&&_0x494a8e['id']===Y[_0x4cbd86(0x2f5)]['id']&&_0x35cc3f['unitId']===this[_0x4cbd86(0x2d7)]&&_0x35cc3f[_0x4cbd86(0xaf)]===!0x1&&_0x35cc3f[_0x4cbd86(0xae)][_0x4cbd86(0x1d5)]>0x0&&this[_0x4cbd86(0x15c)](_0x35cc3f['ranges']);})),this[_0x5dec02(0x2c1)][_0x5dec02(0xc7)]['pipe'](d[_0x5dec02(0x251)](this[_0x5dec02(0x322)]))[_0x5dec02(0x301)](_0x34c9a7=>{const _0x5783dd=_0x5dec02;if((_0x34c9a7==null?void 0x0:_0x34c9a7[_0x5783dd(0x2d7)])!==this[_0x5783dd(0x2d7)])return;const _0x5d5d54={'eventID':m[_0x5783dd(0xc0)][_0x5783dd(0x15e)],'data':_0x34c9a7};this[_0x5783dd(0x18a)](_0x5d5d54);}),this[_0x5dec02(0x146)](this[_0x5dec02(0x1e7)][_0x5dec02(0x295)](_0x1c6b47=>{const _0xce2491=_0x5dec02;if(_0x1c6b47[_0xce2491(0x195)]==null)return;const _0x5d4c79=_0x1c6b47[_0xce2491(0x195)];if(_0x1c6b47['id']!==Y['RichTextEditingMutation']['id']||_0x5d4c79[_0xce2491(0x12f)]!==this['unitID'])return;const _0x31b8c2={'id':'doc.mutation.rich-text-editing','params':_0x5d4c79},_0x4d03f=this[_0xce2491(0x20d)];for(const [_0x4056b6,_0x1c7ad5]of _0x4d03f){const _0x4c6096={'id':_0xce2491(0x226),'params':{'unitId':this[_0xce2491(0x2d7)],'actions':null,'textRanges':_0x1c7ad5[_0xce2491(0xae)]}},_0x3e4974=this['_transformService'][_0xce2491(0x292)](_0x31b8c2,_0x4c6096,!0x1);if(m[_0xce2491(0x2ef)](_0x3e4974))throw _0x3e4974[_0xce2491(0x12c)];_0x4d03f[_0xce2491(0xf9)](_0x4056b6,{..._0x1c7ad5,'ranges':_0x3e4974[_0xce2491(0x1fb)]['params'][_0xce2491(0x243)]});}queueMicrotask(()=>{const _0x23754d=_0xce2491;this['_cursorInfo$'][_0x23754d(0x184)](_0x4d03f);});})));}['_onCursorUpdate'](_0x48b235){const _0x2a61f4=_0x26dd52;var _0x430be9,_0x2e12aa;const {memberID:_0x4b4d53,selection:_0x3b2457}=_0x48b235[_0x2a61f4(0x101)],_0x13a325=Je(_0x3b2457),_0x47d7ba=(_0x2e12aa=(_0x430be9=this[_0x2a61f4(0x1ae)]['getMember'](this[_0x2a61f4(0x2d7)],_0x4b4d53))==null?void 0x0:_0x430be9[_0x2a61f4(0x289)])!=null?_0x2e12aa:'Unknown\x20user',_0x2cdd63={'color':this['_colorAssignService'][_0x2a61f4(0x1c4)](_0x4b4d53),'name':_0x47d7ba,'ranges':_0x13a325},_0x359267=this[_0x2a61f4(0x20d)];_0x359267[_0x2a61f4(0xf9)](_0x4b4d53,_0x2cdd63),this[_0x2a61f4(0x139)][_0x2a61f4(0x184)](_0x359267);}['_onCursorDelete'](_0xdb3702){const _0x2e1123=_0x26dd52,{memberID:_0x3a9ed8}=_0xdb3702[_0x2e1123(0x101)],_0x14645e=this[_0x2e1123(0x20d)];_0x14645e[_0x2e1123(0x12b)](_0x3a9ed8),this[_0x2e1123(0x139)][_0x2e1123(0x184)](_0x14645e);}[_0x26dd52(0x2c7)](){const _0x305d12=_0x26dd52;var _0xde739e;if(this[_0x305d12(0x280)]=!0x0,((_0xde739e=this['_univerInstanceService'][_0x305d12(0x111)]())==null?void 0x0:_0xde739e[_0x305d12(0xee)]())!==this['unitID'])return;const _0x26a942=this['_injector'][_0x305d12(0x21b)](Y[_0x305d12(0x264)])[_0x305d12(0x2f8)]();Array[_0x305d12(0x125)](_0x26a942)&&_0x26a942['length']>0x0&&this[_0x305d12(0x15c)](_0x26a942);}['_toggleOffline'](){const _0x57031b=_0x26dd52;this[_0x57031b(0x280)]=!0x1;}};Ie=Qe([L(0x2,a[_0x26dd52(0x2bf)](a[_0x26dd52(0x18b)])),L(0x3,a[_0x26dd52(0x2bf)](me)),L(0x4,a[_0x26dd52(0x2bf)](u['MemberService'])),L(0x5,a[_0x26dd52(0x2bf)](Ce)),L(0x6,m[_0x26dd52(0x26a)]),L(0x7,a[_0x26dd52(0x121)]),L(0x8,a[_0x26dd52(0x2f9)])],Ie);var st=Object[_0x26dd52(0xf0)],it=(_0x4e33da,_0x4fce73,_0x371efc,_0x27dad3)=>{const _0x57cb60=_0x26dd52;for(var _0x26490d=_0x27dad3>0x1?void 0x0:_0x27dad3?st(_0x4fce73,_0x371efc):_0x4fce73,_0x5552e2=_0x4e33da[_0x57cb60(0x1d5)]-0x1,_0x8ff6ff;_0x5552e2>=0x0;_0x5552e2--)(_0x8ff6ff=_0x4e33da[_0x5552e2])&&(_0x26490d=_0x8ff6ff(_0x26490d)||_0x26490d);return _0x26490d;},A=(_0x168ac3,_0x1d69bf)=>(_0x32eaf9,_0x1c43e6)=>_0x1d69bf(_0x32eaf9,_0x1c43e6,_0x168ac3);const nt=0x12c,rt=0x64,ot=()=>{let _0x1a6cd0=[],_0x20582a=!0x1;return _0x2c5348=>{const _0x28698c=_0x178e;_0x1a6cd0[_0x28698c(0x213)](_0x2c5348),_0x20582a||(_0x20582a=!0x0,setTimeout(()=>{_0x1a6cd0['forEach'](_0x32ceca=>_0x32ceca()),_0x1a6cd0=[],_0x20582a=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x50f9bb,_0x3b3d5b,_0x112baf,_0x626e8b,_0x26b450,_0x5a920b,_0x4ebd45,_0xd8ce25){const _0x5c5484=_0x26dd52;super(),h(this,_0x5c5484(0x280),!0x1),h(this,_0x5c5484(0x145),!0x1),h(this,_0x5c5484(0x139),new d[(_0x5c5484(0x302))](new Map())),h(this,_0x5c5484(0x1ca),this['_cursorInfo$'][_0x5c5484(0x271)]()),h(this,'_roomMembers$',new d[(_0x5c5484(0x302))]([])),h(this,_0x5c5484(0x212),this[_0x5c5484(0x30e)][_0x5c5484(0x291)](d[_0x5c5484(0xf4)](nt))),h(this,_0x5c5484(0x15c),a[_0x5c5484(0x257)]((_0x5ac7f0,_0x2fa4ee)=>{const _0x1e5ea8=_0x5c5484,_0x1bd9e6={'eventID':m[_0x1e5ea8(0xc0)][_0x1e5ea8(0x15e)],'data':{'unitID':this[_0x1e5ea8(0x2d7)],'memberID':this[_0x1e5ea8(0x1c0)][_0x1e5ea8(0x112)](),'selection':be[_0x1e5ea8(0x241)](_0x5ac7f0,_0x2fa4ee['range'])}};this[_0x1e5ea8(0x1c0)][_0x1e5ea8(0x1db)](_0x1bd9e6,this[_0x1e5ea8(0x2d7)]);},rt)),(this[_0x5c5484(0x2d7)]=_0x50f9bb,this[_0x5c5484(0x1c0)]=_0x3b3d5b,this['_injector']=_0x112baf,this[_0x5c5484(0xe0)]=_0x626e8b,this[_0x5c5484(0x1ae)]=_0x26b450,this[_0x5c5484(0x2b5)]=_0x5a920b,this['_commandService']=_0x4ebd45,this['_refRangeService']=_0xd8ce25);}get[_0x26dd52(0x20d)](){const _0x4599a6=_0x26dd52;return this[_0x4599a6(0x139)][_0x4599a6(0xaa)]();}get[_0x26dd52(0x1a4)](){const _0x15288f=_0x26dd52;return this[_0x15288f(0x30e)]['getValue']();}[_0x26dd52(0x1e2)](){const _0x4001dd=_0x26dd52;super[_0x4001dd(0x1e2)](),this[_0x4001dd(0x139)][_0x4001dd(0x184)](new Map()),this[_0x4001dd(0x139)][_0x4001dd(0x2a3)](),this['_roomMembers$'][_0x4001dd(0x184)]([]),this[_0x4001dd(0x30e)]['complete']();}[_0x26dd52(0x240)](){const _0x3476ba=_0x26dd52;this[_0x3476ba(0x145)]||(this[_0x3476ba(0x145)]=!0x0,this['_session'][_0x3476ba(0x229)][_0x3476ba(0x291)](d[_0x3476ba(0x251)](this[_0x3476ba(0x322)]))['subscribe'](_0x2a8b90=>{const _0x514c5e=_0x3476ba;_0x2a8b90===u[_0x514c5e(0x228)][_0x514c5e(0x304)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x3476ba(0x1c0)][_0x3476ba(0x242)][_0x3476ba(0x291)](d['takeUntil'](this[_0x3476ba(0x322)]))[_0x3476ba(0x301)](_0x629788=>{const _0x26bf7a=_0x3476ba,_0x38b7a9=_0x629788[_0x26bf7a(0x16d)];_0x38b7a9===m[_0x26bf7a(0xc0)][_0x26bf7a(0x15e)]&&this[_0x26bf7a(0x18a)](_0x629788),_0x38b7a9===m[_0x26bf7a(0xc0)]['USERS_LEAVE']&&this[_0x26bf7a(0x2b1)](_0x629788);}),this[_0x3476ba(0x27a)](),this['disposeWithMe'](this['_commandService'][_0x3476ba(0x295)](_0x15d24f=>{const _0x3b86f9=_0x3476ba;if(this['_online']&&_0x15d24f['id']===g['SetSelectionsOperation']['id']&&_0x15d24f[_0x3b86f9(0x195)]['unitId']===this[_0x3b86f9(0x2d7)]){const _0xbb0b22=_0x15d24f[_0x3b86f9(0x195)];this['_updateLocalCursor'](_0xbb0b22['subUnitId'],_0xbb0b22['selections'][0x0]);}})));}['_onCursorUpdate'](_0x259d2f){const _0x25302c=_0x26dd52;var _0x19fb58,_0x5cc4a1;const {memberID:_0x4ff32a,selection:_0x24a1f3}=_0x259d2f['data'],{sheetName:_0x3e322b,range:_0x1c1586}=be[_0x25302c(0x2f3)](_0x24a1f3),_0x47daeb={'name':(_0x5cc4a1=(_0x19fb58=this[_0x25302c(0x1ae)][_0x25302c(0x1d3)](this[_0x25302c(0x2d7)],_0x4ff32a))==null?void 0x0:_0x19fb58[_0x25302c(0x289)])!=null?_0x5cc4a1:_0x25302c(0x31b),'range':this[_0x25302c(0x11c)](_0x3e322b,_0x1c1586),'sheetID':_0x3e322b,'color':this['_colorAssignService'][_0x25302c(0x1c4)](_0x4ff32a),'selection':_0x24a1f3},_0x3a3304=this['cursorInfo'];_0x3a3304['set'](_0x4ff32a,_0x47daeb),this[_0x25302c(0x139)]['next'](_0x3a3304);}[_0x26dd52(0x2b1)](_0x3cce90){const _0x3543b6=_0x26dd52,{memberID:_0xaf183c}=_0x3cce90[_0x3543b6(0x101)],_0x545f58=this['cursorInfo'];_0x545f58[_0x3543b6(0x12b)](_0xaf183c),this[_0x3543b6(0x139)]['next'](_0x545f58);}['_getMergeRange'](_0x57a442,_0x46ce49){const _0x75a855=_0x26dd52;var _0x478c01,_0x520f42;const _0x3c6e57=(_0x520f42=(_0x478c01=this[_0x75a855(0x2b5)][_0x75a855(0x2a5)](this[_0x75a855(0x2d7)]))==null?void 0x0:_0x478c01[_0x75a855(0xc5)](_0x57a442))==null?void 0x0:_0x520f42[_0x75a855(0x1a6)]();return(_0x3c6e57==null?void 0x0:_0x3c6e57[_0x75a855(0x27e)](_0x2c2191=>a[_0x75a855(0x1ec)]['contains'](_0x2c2191,_0x46ce49)))||_0x46ce49;}[_0x26dd52(0x27a)](){const _0x2a11dd=_0x26dd52,_0x3fe864=new a[(_0x2a11dd(0x1c7))](),_0x55a273=ot(),_0x1682f9=()=>{const _0x17dc9a=_0x2a11dd;_0x3fe864[_0x17dc9a(0x1e2)]();const _0x54e744=(_0x3e19f2,_0x344684,_0x59e7d5,_0x3ede81)=>{const _0x183be3=_0x17dc9a;let _0x4e9cb6=[];switch(_0x3e19f2['id']){case g[_0x183be3(0xcd)]['DeleteRangeMoveLeftCommandId']:{_0x4e9cb6=g[_0x183be3(0x245)](_0x3e19f2,_0x3ede81);break;}case g['EffectRefRangId'][_0x183be3(0x290)]:{_0x4e9cb6=g['handleDeleteRangeMoveUp'](_0x3e19f2,_0x3ede81);break;}case g[_0x183be3(0xcd)][_0x183be3(0x12e)]:{_0x4e9cb6=g['handleInsertCol'](_0x3e19f2,_0x3ede81);break;}case g[_0x183be3(0xcd)][_0x183be3(0x2e0)]:{_0x4e9cb6=g[_0x183be3(0x1e0)](_0x3e19f2,_0x3ede81);break;}case g[_0x183be3(0xcd)][_0x183be3(0x1f7)]:{_0x4e9cb6=g[_0x183be3(0x1f8)](_0x3e19f2,_0x3ede81);break;}case g['EffectRefRangId'][_0x183be3(0x298)]:{_0x4e9cb6=g[_0x183be3(0x2ca)](_0x3e19f2,_0x3ede81);break;}case g[_0x183be3(0xcd)]['MoveRangeCommandId']:{_0x4e9cb6=g[_0x183be3(0x300)](_0x3e19f2,_0x3ede81);break;}case g[_0x183be3(0xcd)][_0x183be3(0x169)]:{_0x4e9cb6=g[_0x183be3(0x141)](_0x3e19f2,_0x3ede81);break;}case g[_0x183be3(0xcd)][_0x183be3(0x256)]:{_0x4e9cb6=g[_0x183be3(0x2c6)](_0x3e19f2,_0x3ede81);break;}}const _0x37e224=g['runRefRangeMutations'](_0x4e9cb6,_0x3ede81),_0x1df342=this[_0x183be3(0x20d)][_0x183be3(0x21b)](_0x344684);if(_0x1df342&&_0x37e224){const _0x5e3dad={..._0x1df342,'range':_0x37e224};this[_0x183be3(0x20d)][_0x183be3(0xf9)](_0x344684,_0x5e3dad),_0x55a273(()=>{const _0x4b5fb6=_0x183be3,_0x51e46c=this[_0x4b5fb6(0x232)]['registerRefRange'](_0x37e224,_0x33b30c=>(_0x51e46c['dispose'](),_0x54e744(_0x33b30c,_0x344684,_0x59e7d5,_0x37e224)));_0x3fe864[_0x4b5fb6(0x217)](_0x51e46c);});}return{'redos':[],'undos':[]};};this[_0x17dc9a(0x20d)]['forEach']((_0x5b9e96,_0x584226)=>{const _0x2562af=_0x17dc9a,{range:_0x190823,sheetID:_0x5f4da0}=_0x5b9e96,_0x36bd4d=this[_0x2562af(0x232)][_0x2562af(0x113)](_0x190823,_0x47f409=>(_0x36bd4d[_0x2562af(0x1e2)](),_0x54e744(_0x47f409,_0x584226,_0x5f4da0,_0x190823)));_0x3fe864['add'](_0x36bd4d);});};this[_0x2a11dd(0x146)](a[_0x2a11dd(0xc9)](this[_0x2a11dd(0x139)]['subscribe'](()=>{_0x1682f9();})));}[_0x26dd52(0x2c7)](){const _0x3e19b6=_0x26dd52;var _0x5701b0,_0x3c1b31;if(this[_0x3e19b6(0x280)]=!0x0,((_0x5701b0=this['_univerInstanceService'][_0x3e19b6(0x111)]())==null?void 0x0:_0x5701b0[_0x3e19b6(0xee)]())!==this[_0x3e19b6(0x2d7)])return;const _0x3a424c=(_0x3c1b31=this[_0x3e19b6(0x14d)][_0x3e19b6(0x21b)](g['SheetsSelectionsService'])[_0x3e19b6(0x15b)]())==null?void 0x0:_0x3c1b31[0x0],_0x5c6c4b=this[_0x3e19b6(0x2b5)][_0x3e19b6(0x285)](a[_0x3e19b6(0x2ae)][_0x3e19b6(0x27d)])[_0x3e19b6(0xbe)]();_0x3a424c&&_0x5c6c4b&&this[_0x3e19b6(0x15c)](_0x5c6c4b[_0x3e19b6(0x1f5)](),_0x3a424c);}[_0x26dd52(0x231)](){const _0x26c4bf=_0x26dd52;this[_0x26c4bf(0x280)]=!0x1;}};Se=it([A(0x2,a['Inject'](a[_0x26dd52(0x18b)])),A(0x3,a[_0x26dd52(0x2bf)](me)),A(0x4,a[_0x26dd52(0x2bf)](u['MemberService'])),A(0x5,a[_0x26dd52(0x121)]),A(0x6,a['ICommandService']),A(0x7,a[_0x26dd52(0x2bf)](g[_0x26dd52(0x1ff)]))],Se);var at=Object[_0x26dd52(0xf0)],ct=(_0x486992,_0x1c43e5,_0x59c22b,_0x4ff637)=>{for(var _0x2694a5=_0x4ff637>0x1?void 0x0:_0x4ff637?at(_0x1c43e5,_0x59c22b):_0x1c43e5,_0x1e671c=_0x486992['length']-0x1,_0x2b86ff;_0x1e671c>=0x0;_0x1e671c--)(_0x2b86ff=_0x486992[_0x1e671c])&&(_0x2694a5=_0x2b86ff(_0x2694a5)||_0x2694a5);return _0x2694a5;},ie=(_0x22c5d4,_0x179ac9)=>(_0x5c5320,_0x45719b)=>_0x179ac9(_0x5c5320,_0x45719b,_0x22c5d4);let x=class extends a[_0x26dd52(0x129)]{constructor(_0x4c571f,_0x4a8ab4,_0x185083){const _0x33703f=_0x26dd52;super(),h(this,_0x33703f(0x13e),new Map()),h(this,_0x33703f(0x1d7),new d[(_0x33703f(0xed))]()),(this[_0x33703f(0x2b5)]=_0x4c571f,this[_0x33703f(0x14d)]=_0x4a8ab4,this['_collabSessionService']=_0x185083,this[_0x33703f(0x145)]());}[_0x26dd52(0x1e2)](){const _0x1ab27a=_0x26dd52;super[_0x1ab27a(0x1e2)](),this[_0x1ab27a(0x1d7)][_0x1ab27a(0x2a3)](),this['_entities'][_0x1ab27a(0x214)](_0x5896c9=>_0x5896c9[_0x1ab27a(0x1e2)]());}[_0x26dd52(0xd4)](_0x59d173){const _0x253de1=_0x26dd52;return this[_0x253de1(0x13e)][_0x253de1(0x220)](_0x59d173)?this['_entities'][_0x253de1(0x21b)](_0x59d173)['cursorInfo$']:this['_entityInit$'][_0x253de1(0x291)](d[_0x253de1(0x1ac)](_0x400962=>_0x400962[_0x253de1(0x2d7)]===_0x59d173),d[_0x253de1(0x17c)](_0x3b9cf7=>_0x3b9cf7['cursorInfo$']));}['_init'](){const _0x1e177f=_0x26dd52;this[_0x1e177f(0x2b5)]['getTypeOfUnitAdded$'](a[_0x1e177f(0x2ae)][_0x1e177f(0x27d)])[_0x1e177f(0x291)](d[_0x1e177f(0x251)](this[_0x1e177f(0x322)]))['subscribe'](async _0x29fdda=>{const _0x33b2cc=_0x1e177f,_0x517bcb=_0x29fdda['getUnitId'](),_0x16b096=await this[_0x33b2cc(0x2b4)](_0x517bcb);this[_0x33b2cc(0x1d7)][_0x33b2cc(0x184)](_0x16b096),this[_0x33b2cc(0x13e)][_0x33b2cc(0xf9)](_0x517bcb,_0x16b096);}),this['_univerInstanceService'][_0x1e177f(0x236)](a['UniverInstanceType'][_0x1e177f(0x1de)])[_0x1e177f(0x291)](d[_0x1e177f(0x251)](this[_0x1e177f(0x322)]))['pipe'](d['filter'](_0x287433=>!_0x287433['getUnitId']()[_0x1e177f(0x133)]('__')))[_0x1e177f(0x301)](async _0x1b1fe5=>{const _0x39d548=_0x1e177f,_0x21d5b1=_0x1b1fe5['getUnitId'](),_0x581925=await this[_0x39d548(0x1d6)](_0x21d5b1);this['_entityInit$'][_0x39d548(0x184)](_0x581925),this[_0x39d548(0x13e)]['set'](_0x21d5b1,_0x581925);}),d[_0x1e177f(0x1cf)](this[_0x1e177f(0x2b5)][_0x1e177f(0xb7)](a['UniverInstanceType'][_0x1e177f(0x1de)]),this[_0x1e177f(0x2b5)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x1e177f(0x27d)]))[_0x1e177f(0x291)](d[_0x1e177f(0x251)](this[_0x1e177f(0x322)]))[_0x1e177f(0x301)](_0x3fe4b0=>{const _0x27328a=_0x1e177f,_0x52ae94=_0x3fe4b0['getUnitId'](),_0x222e96=this[_0x27328a(0x13e)][_0x27328a(0x21b)](_0x52ae94);_0x222e96&&(_0x222e96[_0x27328a(0x1e2)](),this[_0x27328a(0x13e)][_0x27328a(0x12b)](_0x52ae94));});}async[_0x26dd52(0x2b4)](_0x58d3d1){const _0x53ff90=_0x26dd52,_0x2269f6=await this['_collabSessionService'][_0x53ff90(0x185)](_0x58d3d1),_0x5cb7a7=this[_0x53ff90(0x14d)][_0x53ff90(0x1ed)](Se,_0x58d3d1,_0x2269f6);return _0x5cb7a7['init'](),_0x5cb7a7;}async[_0x26dd52(0x1d6)](_0x4a1f08){const _0x2931ba=_0x26dd52,_0x271e88=await this[_0x2931ba(0x320)][_0x2931ba(0x185)](_0x4a1f08),_0x26c0cb=this[_0x2931ba(0x14d)][_0x2931ba(0x1ed)](Ie,_0x4a1f08,_0x271e88);return _0x26c0cb['init'](),_0x26c0cb;}};x=ct([ie(0x0,a[_0x26dd52(0x121)]),ie(0x1,a[_0x26dd52(0x2bf)](a[_0x26dd52(0x18b)])),ie(0x2,a[_0x26dd52(0x2bf)](u['CollaborationSessionService']))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x1c3057,_0x26daf6){const _0x2d8f4b=_0x26dd52;let {radius:_0x1dd29c,width:_0x3c835d,height:_0x1a0c2b}=_0x26daf6;_0x1dd29c=_0x1dd29c!=null?_0x1dd29c:0x0,_0x3c835d=_0x3c835d!=null?_0x3c835d:0x1e,_0x1a0c2b=_0x1a0c2b!=null?_0x1a0c2b:0x1e;let _0x15ef10=0x0,_0x3000dd=0x0,_0x532d4c=0x0;_0x15ef10=_0x3000dd=_0x532d4c=Math[_0x2d8f4b(0x216)](_0x1dd29c,_0x3c835d/0x2,_0x1a0c2b/0x2),_0x1c3057[_0x2d8f4b(0x27b)](),_0x1c3057[_0x2d8f4b(0x116)](_0x15ef10,0x0),_0x1c3057[_0x2d8f4b(0x175)](_0x3c835d-_0x3000dd,0x0),_0x1c3057[_0x2d8f4b(0x258)](_0x3c835d-_0x3000dd,_0x3000dd,_0x3000dd,Math['PI']*0x3/0x2,0x0,!0x1),_0x1c3057[_0x2d8f4b(0x175)](_0x3c835d,_0x1a0c2b-_0x532d4c),_0x1c3057[_0x2d8f4b(0x258)](_0x3c835d-_0x532d4c,_0x1a0c2b-_0x532d4c,_0x532d4c,0x0,Math['PI']/0x2,!0x1),_0x1c3057[_0x2d8f4b(0x175)](0x0,_0x1a0c2b),_0x1c3057['lineTo'](0x0,_0x15ef10),_0x1c3057['arc'](_0x15ef10,_0x15ef10,_0x15ef10,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1c3057[_0x2d8f4b(0x2c8)](),_0x26daf6[_0x2d8f4b(0x189)]&&(_0x1c3057[_0x2d8f4b(0x1ef)](),_0x1c3057[_0x2d8f4b(0xf2)]=_0x26daf6[_0x2d8f4b(0x189)],_0x26daf6['fillRule']==='evenodd'?_0x1c3057[_0x2d8f4b(0x189)](_0x2d8f4b(0xb4)):_0x1c3057[_0x2d8f4b(0x189)](),_0x1c3057[_0x2d8f4b(0x316)]());}class ee extends p[_0x26dd52(0x16f)]{constructor(_0x55fef1,_0x2f58a3){const _0x338158=_0x26dd52;super(_0x55fef1,_0x2f58a3),h(this,'color'),h(this,_0x338158(0x14f)),(this[_0x338158(0xe2)]=_0x2f58a3==null?void 0x0:_0x2f58a3[_0x338158(0xe2)],this[_0x338158(0x14f)]=_0x2f58a3==null?void 0x0:_0x2f58a3[_0x338158(0x14f)]);}static[_0x26dd52(0xe9)](_0x705348,_0x2b3e5c){const _0x361c70=_0x26dd52,{text:_0x1a6565,color:_0x6b1c08}=_0x2b3e5c;_0x705348[_0x361c70(0x1ef)](),_0x705348[_0x361c70(0x2ec)]=_0x361c70(0x148);const _0x4f6658=_0x705348[_0x361c70(0x255)](_0x1a6565)[_0x361c70(0x2ea)],_0x564877=Math['min'](_0x4f6658+0x2*ne,Re);_t(_0x705348,{'height':K,'radius':0x4,'width':_0x564877,'fill':_0x6b1c08}),_0x705348[_0x361c70(0xf2)]=_0x361c70(0x1c1);const _0x363eb6=ne,_0x359586=K-lt,_0x4b69bc=Re-0x2*ne;if(_0x4f6658>_0x4b69bc){let _0x5e9911='',_0x5c625a=0x0;for(const _0x48f1bb of _0x1a6565){const _0x494d29=_0x705348['measureText'](_0x48f1bb)['width'];if(_0x5c625a+_0x494d29<=_0x4b69bc-_0x705348[_0x361c70(0x255)]('...')[_0x361c70(0x2ea)])_0x5e9911+=_0x48f1bb,_0x5c625a+=_0x494d29;else{_0x5e9911+=_0x361c70(0x2a6);break;}}_0x705348[_0x361c70(0x123)](_0x5e9911,_0x363eb6,_0x359586);}else _0x705348['fillText'](_0x1a6565,_0x363eb6,_0x359586);_0x705348[_0x361c70(0x316)]();}[_0x26dd52(0x28a)](_0x1e0abd){ee['drawWith'](_0x1e0abd,this);}}const re=_0x26dd52(0x1f1),ht=_0x26dd52(0x207),ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,It=1.5,St=_0x26dd52(0x28e);class De{constructor(_0x1eadd2,_0x2a8afd,_0x24f5d8,_0x8d9f09){const _0x506bc7=_0x26dd52;h(this,_0x506bc7(0x105),[]),h(this,_0x506bc7(0x266),null),h(this,_0x506bc7(0x165),null),h(this,_0x506bc7(0xc1),null),h(this,'_hideTimer',null),h(this,_0x506bc7(0x328),null),(this[_0x506bc7(0xab)]=_0x1eadd2,this[_0x506bc7(0xb5)]=_0x2a8afd,this['_docSkeleton']=_0x24f5d8,this[_0x506bc7(0x14c)]=_0x8d9f09,this[_0x506bc7(0x1f9)]());}set[_0x26dd52(0x186)](_0x489bc8){const _0x86da56=_0x26dd52;_0x489bc8?(this[_0x86da56(0xc1)]&&this[_0x86da56(0xc1)][_0x86da56(0xb1)](),this[_0x86da56(0x165)]&&this[_0x86da56(0x165)][_0x86da56(0xca)]()):(this[_0x86da56(0xc1)]&&this[_0x86da56(0xc1)][_0x86da56(0xca)](),this[_0x86da56(0x165)]&&this['_textBubble'][_0x86da56(0xb1)]());}['dispose'](){const _0x13f608=_0x26dd52;for(const _0x1a4b28 of this[_0x13f608(0x105)])_0x1a4b28[_0x13f608(0x1e2)]();this[_0x13f608(0x165)]&&this[_0x13f608(0x165)][_0x13f608(0x1e2)](),this[_0x13f608(0xc1)]&&this[_0x13f608(0xc1)][_0x13f608(0x1e2)](),this[_0x13f608(0x266)]&&this[_0x13f608(0x266)][_0x13f608(0x1e2)](),this[_0x13f608(0x328)]&&this[_0x13f608(0x328)]();}[_0x26dd52(0x1f9)](){const _0x315e26=_0x26dd52;var _0x1ff7b4;const {_docSkeleton:_0x1d19e5,_document:_0x463475}=this,{color:_0x52f0af,name:_0x537f69,ranges:_0x13fadc}=this[_0x315e26(0xab)],_0x37be19=_0x463475['getOffsetConfig'](),{docsLeft:_0x519608,docsTop:_0x2d1c27}=_0x37be19,_0x31f258=new E[(_0x315e26(0x287))](_0x37be19,_0x1d19e5);for(const {startOffset:_0x5c14cc,endOffset:_0x22f342,rangeType:_0x2ac6ec,segmentId:_0x43235c,segmentPage:_0x241243,collapsed:_0x5b6407,isActive:_0x12efd4}of _0x13fadc){const _0x2d0122=_0x1d19e5[_0x315e26(0xb9)](_0x5c14cc,!0x0,_0x43235c,_0x241243);let _0x5a8375=_0x1d19e5['findNodePositionByCharIndex'](_0x22f342,!0x0,_0x43235c,_0x241243);if(_0x5a8375==null&&(_0x5a8375=_0x1d19e5[_0x315e26(0xb9)](_0x22f342-0x1,!0x1,_0x43235c,_0x241243)),_0x12efd4){const {contentBoxPointGroup:_0x5d0459}=_0x31f258[_0x315e26(0x23c)](_0x5a8375,_0x5a8375);if(_0x5d0459['length']===0x0)continue;this[_0x315e26(0x233)](_0x52f0af,_0x5d0459,_0x519608,_0x2d1c27,_0x537f69),this[_0x315e26(0x328)]=this['_handleHover']();}if(_0x2d0122&&_0x5a8375){if(_0x2ac6ec===a[_0x315e26(0x29d)][_0x315e26(0x2e3)]){const _0x173e70=new E[(_0x315e26(0x22b))](_0x37be19,_0x1d19e5),{pointGroup:_0x71c5dc}=(_0x1ff7b4=_0x173e70[_0x315e26(0x23c)](_0x2d0122,_0x5a8375))!=null?_0x1ff7b4:{};if(_0x71c5dc==null||_0x71c5dc[_0x315e26(0x1d5)]===0x0)continue;this[_0x315e26(0x2a4)](_0x52f0af,_0x71c5dc,_0x519608,_0x2d1c27);}else{if(!_0x5b6407){const {borderBoxPointGroup:_0x2e5066}=_0x31f258[_0x315e26(0x23c)](_0x2d0122,_0x5a8375);if(_0x2e5066[_0x315e26(0x1d5)]===0x0)continue;this[_0x315e26(0x13f)](_0x52f0af,_0x2e5066,_0x519608,_0x2d1c27);}}}}}['_drawAnchor'](_0x4b1726,_0x49bf13,_0x559490,_0x2d6bba,_0x2e8677){const _0x7ea761=_0x26dd52,_0x360573=this[_0x7ea761(0x30d)](_0x49bf13),{left:_0x5148e7,top:_0x117b7d,height:_0x3c567e}=_0x360573,_0x2057e6=this[_0x7ea761(0x131)](),_0x3d7c2d=It/_0x2057e6,_0x3d2b29=new p['Rect'](re+a['Tools']['generateRandomId'](k),{'left':_0x5148e7+_0x559490-_0x3d7c2d,'top':_0x117b7d+_0x2d6bba,'height':_0x3c567e,'width':dt,'fill':_0x4b1726||p[_0x7ea761(0x18f)](a[_0x7ea761(0x183)][_0x7ea761(0x19f)],0x0),'strokeWidth':_0x3d7c2d,'stroke':St,'evented':!0x0});this[_0x7ea761(0x266)]=_0x3d2b29,this[_0x7ea761(0xb5)][_0x7ea761(0x20a)](_0x3d2b29,E['TEXT_RANGE_LAYER_INDEX']);const _0x5096e6=new p[(_0x7ea761(0x219))](re+a['Tools'][_0x7ea761(0x2af)](k),{'left':_0x5148e7+_0x559490-_0x3d7c2d,'top':_0x117b7d+_0x2d6bba-oe/0x2,'height':oe,'width':oe,'fill':_0x4b1726||p[_0x7ea761(0x18f)](a[_0x7ea761(0x183)][_0x7ea761(0x19f)],0x0),'strokeWidth':0x0,'stroke':_0x4b1726||p[_0x7ea761(0x18f)](a[_0x7ea761(0x183)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x5096e6,this['_scene'][_0x7ea761(0x20a)](_0x5096e6,E[_0x7ea761(0xeb)]);const _0x2bfbff=new ee(re+a[_0x7ea761(0x2c4)][_0x7ea761(0x2af)](k),{'left':_0x5148e7+_0x559490-_0x3d7c2d,'top':_0x117b7d+_0x2d6bba-K,'text':_0x2e8677,'color':_0x4b1726});this['_textBubble']=_0x2bfbff,this[_0x7ea761(0xb5)]['addObject'](_0x2bfbff,E[_0x7ea761(0xeb)]),this[_0x7ea761(0x186)]=!0x1;}['_handleHover'](){const _0x24bb7a=_0x26dd52,_0x4beb26=this[_0x24bb7a(0x266)]['onPointerEnter$'][_0x24bb7a(0x1fa)](()=>{const _0x3dbd2d=_0x24bb7a;this[_0x3dbd2d(0x186)]=!0x0;}),_0x3f11c5=this[_0x24bb7a(0x266)]['onPointerLeave$'][_0x24bb7a(0x1fa)](()=>{const _0x1ba788=_0x24bb7a;this[_0x1ba788(0x11f)]&&clearTimeout(this[_0x1ba788(0x11f)]),this[_0x1ba788(0x11f)]=setTimeout(()=>{const _0x1c3e55=_0x1ba788;this[_0x1c3e55(0x186)]=!0x1;},0x7d0);});return()=>{const _0x46f4b8=_0x24bb7a;_0x4beb26[_0x46f4b8(0x20f)](),_0x3f11c5['unsubscribe']();};}[_0x26dd52(0x13f)](_0x1ca9d1,_0xd7a65f,_0x143ce2,_0x338160){const _0x33a20b=_0x26dd52,_0x465ade=new a[(_0x33a20b(0x1df))](_0x1ca9d1)['setAlpha'](0.2)[_0x33a20b(0x23e)](),_0xd748d5=new p[(_0x33a20b(0x1dc))](ht+a[_0x33a20b(0x2c4)][_0x33a20b(0x2af)](k),{'pointsGroup':_0xd7a65f,'fill':_0x465ade||p[_0x33a20b(0x18f)](a['COLORS']['black'],0.2),'left':_0x143ce2,'top':_0x338160,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x33a20b(0x105)][_0x33a20b(0x213)](_0xd748d5),this[_0x33a20b(0xb5)]['addObject'](_0xd748d5,E[_0x33a20b(0xeb)]);}['_drawRectRange'](_0x22adc7,_0x2db6b5,_0x397ec9,_0x578a32){const _0x25a307=_0x26dd52,_0x458d5d=new a['ColorKit'](_0x22adc7)['setAlpha'](0.2)[_0x25a307(0x23e)](),_0x246f5c=new p[(_0x25a307(0x1dc))](ut+a[_0x25a307(0x2c4)][_0x25a307(0x2af)](k),{'pointsGroup':_0x2db6b5,'fill':_0x458d5d||p[_0x25a307(0x18f)](a[_0x25a307(0x183)][_0x25a307(0x19f)],0.2),'left':_0x397ec9,'top':_0x578a32,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x25a307(0x213)](_0x246f5c),this[_0x25a307(0xb5)]['addObject'](_0x246f5c,E[_0x25a307(0xeb)]);}['_getAnchorBounding'](_0x368a55){const _0x19c714=_0x368a55[0x0],_0x18c1a0=_0x19c714[0x0],_0x5e2881=_0x19c714[0x2],{x:_0x3a1185,y:_0xfc6fa0}=_0x18c1a0,{x:_0x21c1f3,y:_0x24c5cb}=_0x5e2881;return{'left':_0x3a1185,'top':_0xfc6fa0,'width':_0x21c1f3-_0x3a1185,'height':_0x24c5cb-_0xfc6fa0};}[_0x26dd52(0x131)](){const _0x356158=_0x26dd52,{scaleX:_0x5fd149,scaleY:_0x37ab69}=this[_0x356158(0xb5)][_0x356158(0x28d)]();return Math[_0x356158(0x25e)](_0x5fd149,_0x37ab69);}}var ft=Object[_0x26dd52(0xf0)],vt=(_0x2cd624,_0x1c7659,_0x48629a,_0x54e62d)=>{const _0x5a9216=_0x26dd52;for(var _0x19572d=_0x54e62d>0x1?void 0x0:_0x54e62d?ft(_0x1c7659,_0x48629a):_0x1c7659,_0xdf91c5=_0x2cd624[_0x5a9216(0x1d5)]-0x1,_0x1d03cc;_0xdf91c5>=0x0;_0xdf91c5--)(_0x1d03cc=_0x2cd624[_0xdf91c5])&&(_0x19572d=_0x1d03cc(_0x19572d)||_0x19572d);return _0x19572d;},W=(_0x2b2c1e,_0x2ca4ed)=>(_0x31ad5b,_0x625dbe)=>_0x2ca4ed(_0x31ad5b,_0x625dbe,_0x2b2c1e);let fe=class extends a[_0x26dd52(0x129)]{constructor(_0x3652d2,_0x1cfeca,_0x1d60ef,_0x332868,_0x310ab3){const _0x52e51c=_0x26dd52;super(),h(this,_0x52e51c(0x151),[]),h(this,_0x52e51c(0x2fc),[]),(this[_0x52e51c(0x2c5)]=_0x3652d2,this['_docSkeletonManagerService']=_0x1cfeca,this[_0x52e51c(0x260)]=_0x1d60ef,this[_0x52e51c(0x1e7)]=_0x332868,this[_0x52e51c(0x2cc)]=_0x310ab3,this[_0x52e51c(0x145)]());}[_0x26dd52(0x145)](){const _0x1a2589=_0x26dd52,_0x1406d9=this[_0x1a2589(0x2c5)][_0x1a2589(0x12f)],_0x3c3c79=this['_docSkeletonManagerService'];this[_0x1a2589(0x146)](d[_0x1a2589(0x2ac)]([this[_0x1a2589(0x260)][_0x1a2589(0xd4)](_0x1406d9),this[_0x1a2589(0x2cc)]['currentTheme$']])[_0x1a2589(0x291)]($['map'](([_0x2a04,_0x3b569])=>({'skeleton':_0x3c3c79[_0x1a2589(0x2a2)](),'cursors':[..._0x2a04[_0x1a2589(0x25b)]()]['flatMap'](_0x5d6eb3=>({..._0x5d6eb3,'color':this['_themeService'][_0x1a2589(0x180)](_0x5d6eb3[_0x1a2589(0xe2)])}))})))[_0x1a2589(0x301)](_0x2f1bd5=>{const _0x236b39=_0x1a2589;if(this[_0x236b39(0x115)](),_0x2f1bd5){const {skeleton:_0x3ed468,cursors:_0x4eb8b2}=_0x2f1bd5;this[_0x236b39(0x201)](_0x3ed468,_0x4eb8b2);}})),this[_0x1a2589(0x1a5)](),this[_0x1a2589(0x2e4)]();}['_updateCollabCursors'](_0x477250,_0x43b35b){const _0x4dc4a4=_0x26dd52,{scene:_0xbdb2d1,mainComponent:_0x2fa4ff}=this[_0x4dc4a4(0x2c5)],_0x1473bf=_0x43b35b['map'](_0x1309a6=>new De(_0x1309a6,_0xbdb2d1,_0x477250,_0x2fa4ff));this[_0x4dc4a4(0x151)]=_0x1473bf,this['_cursors']=_0x43b35b;}[_0x26dd52(0x13b)](){const _0x2a2719=_0x26dd52;this[_0x2a2719(0x115)]();const {scene:_0x45b795,mainComponent:_0x5c3281}=this['_context'],_0x1bf441=this[_0x2a2719(0x132)]['getSkeleton'](),_0x38a2a8=this[_0x2a2719(0x2fc)]['map'](_0x4d1583=>new De(_0x4d1583,_0x45b795,_0x1bf441,_0x5c3281));this[_0x2a2719(0x151)]=_0x38a2a8;}[_0x26dd52(0x115)](){const _0x1f659e=_0x26dd52;this[_0x1f659e(0x151)][_0x1f659e(0x214)](_0x4e97ce=>_0x4e97ce['dispose']()),this[_0x1f659e(0x151)]=[];}[_0x26dd52(0x2e4)](){const _0x3e3501=_0x26dd52,_0x58a0d6=[E[_0x3e3501(0x1d9)]['id']];this['disposeWithMe'](this[_0x3e3501(0x1e7)][_0x3e3501(0x295)](_0x24e269=>{const _0x499736=_0x3e3501;_0x58a0d6[_0x499736(0x142)](_0x24e269['id'])&&_0x24e269[_0x499736(0x195)][_0x499736(0x12f)]===this['_context']['unitId']&&this[_0x499736(0x13b)]();}));}[_0x26dd52(0x1a5)](){const _0x2fdf0c=_0x26dd52;this[_0x2fdf0c(0x146)](a[_0x2fdf0c(0x2b9)](this[_0x2fdf0c(0x2c5)][_0x2fdf0c(0x2dd)][_0x2fdf0c(0x210)])[_0x2fdf0c(0x291)]($['filter'](_0x15f4bc=>_0x15f4bc[_0x2fdf0c(0xdc)]===p[_0x2fdf0c(0x190)][_0x2fdf0c(0xe8)]),$['throttleTime'](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};fe=vt([W(0x1,a[_0x26dd52(0x2bf)](Y['DocSkeletonManagerService'])),W(0x2,a['Inject'](x)),W(0x3,a[_0x26dd52(0x2f9)]),W(0x4,a[_0x26dd52(0x2bf)](a[_0x26dd52(0x317)]))],fe);const gt=0x1,mt=1.5;class we extends p[_0x26dd52(0x16f)]{constructor(_0x322e0d,_0xf14473){const _0x30f8e3=_0x26dd52;super(_0x322e0d,_0xf14473),h(this,'_color'),h(this,_0x30f8e3(0x1ce),!0x1),h(this,_0x30f8e3(0x1eb)),h(this,_0x30f8e3(0x12a),''),h(this,_0x30f8e3(0x1ea),'top'),h(this,'_backgroundColor'),(_0xf14473&&this[_0x30f8e3(0x138)](_0xf14473),this[_0x30f8e3(0x153)]['subscribeEvent'](()=>this[_0x30f8e3(0x138)]({'hovered':!0x0})),this[_0x30f8e3(0x17b)][_0x30f8e3(0x1fa)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x26dd52(0x138)](_0x383f9b){const _0x4e0b03=_0x26dd52;var _0x2187a1,_0xfd0374,_0x5bc9d2,_0x5de6e4,_0x5ac10c,_0x315c73;this['_color']=(_0x2187a1=_0x383f9b[_0x4e0b03(0xe2)])!=null?_0x2187a1:this['_color'],this['_hovered']=(_0xfd0374=_0x383f9b[_0x4e0b03(0x1e3)])!=null?_0xfd0374:this['_hovered'],this[_0x4e0b03(0x1eb)]=(_0x5bc9d2=_0x383f9b[_0x4e0b03(0x252)])!=null?_0x5bc9d2:this[_0x4e0b03(0x1eb)],this[_0x4e0b03(0x12a)]=(_0x5de6e4=_0x383f9b['name'])!=null?_0x5de6e4:this['_name'],this[_0x4e0b03(0x1ea)]=(_0x5ac10c=_0x383f9b[_0x4e0b03(0x239)])!=null?_0x5ac10c:this[_0x4e0b03(0x1ea)],this['_backgroundColor']=(_0x315c73=_0x383f9b['backgroundColor'])!=null?_0x315c73:this[_0x4e0b03(0x31e)],this['transformByState']({'width':_0x383f9b[_0x4e0b03(0x2ea)],'height':_0x383f9b[_0x4e0b03(0x109)]});}[_0x26dd52(0x1a8)](_0x3b4def){const _0x3a9e3a=_0x26dd52,{row:_0x22d74f,column:_0x248d9c}=_0x3b4def;if(_0x22d74f>=this[_0x3a9e3a(0x1eb)][_0x3a9e3a(0x21f)]&&_0x22d74f<=this[_0x3a9e3a(0x1eb)]['endRow']&&_0x248d9c>=this[_0x3a9e3a(0x1eb)][_0x3a9e3a(0x22f)]&&_0x248d9c<=this[_0x3a9e3a(0x1eb)][_0x3a9e3a(0x157)]){this[_0x3a9e3a(0x138)]({'hovered':!0x0});return;}this[_0x3a9e3a(0x138)]({'hovered':!0x1});}[_0x26dd52(0xbb)](_0x27f25c){return!0x1;}[_0x26dd52(0x28a)](_0xa58673){const _0x249cf6=_0x26dd52;p[_0x249cf6(0x219)]['drawWith'](_0xa58673,{'width':this[_0x249cf6(0x2ea)],'height':this['height'],'strokeWidth':mt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x249cf6(0x31e)]}),this[_0x249cf6(0x1ce)]&&(_0xa58673[_0x249cf6(0x1ef)](),_0xa58673[_0x249cf6(0xf5)](0x1,0x0,0x0,0x1,this[_0x249cf6(0x2ea)],this[_0x249cf6(0x1ea)]==='bottom'?0x0:-0x14),ee[_0x249cf6(0xe9)](_0xa58673,{'text':this[_0x249cf6(0x12a)],'color':this[_0x249cf6(0x1e5)]}),_0xa58673[_0x249cf6(0x316)]());}}var Ct=Object[_0x26dd52(0xf0)],pt=(_0x2f0600,_0x50a7e5,_0x272e1e,_0x49a001)=>{const _0x58c4bd=_0x26dd52;for(var _0x995543=_0x49a001>0x1?void 0x0:_0x49a001?Ct(_0x50a7e5,_0x272e1e):_0x50a7e5,_0x2fb321=_0x2f0600[_0x58c4bd(0x1d5)]-0x1,_0x267b55;_0x2fb321>=0x0;_0x2fb321--)(_0x267b55=_0x2f0600[_0x2fb321])&&(_0x995543=_0x267b55(_0x995543)||_0x995543);return _0x995543;},ae=(_0x27cc12,_0x375279)=>(_0x15c7a0,_0x4a8e76)=>_0x375279(_0x15c7a0,_0x4a8e76,_0x27cc12);const Et=0x1389;let ve=class extends a[_0x26dd52(0x129)]{constructor(_0x491559,_0x34f9b8,_0x474de9,_0x2dae25){const _0x1bc665=_0x26dd52;super(),h(this,'_cursors',new Set()),h(this,_0x1bc665(0x2f7),null),(this['_context']=_0x491559,this[_0x1bc665(0x29b)]=_0x34f9b8,this['_collabCursorController']=_0x474de9,this['_themeService']=_0x2dae25,this[_0x1bc665(0x145)]());}[_0x26dd52(0x145)](){const _0x1047da=_0x26dd52;this[_0x1047da(0x29b)][_0x1047da(0x1f3)]['pipe']($['takeUntil'](this['dispose$']),$[_0x1047da(0x17c)](_0x181bcc=>{const _0x2216ab=_0x1047da;if(_0x181bcc){const _0x35707e=_0x181bcc[_0x2216ab(0x197)];return d[_0x2216ab(0x2ac)](this[_0x2216ab(0x260)][_0x2216ab(0xd4)](this['_context']['unitId']),this['_themeService'][_0x2216ab(0x31c)])[_0x2216ab(0x291)]($[_0x2216ab(0x31f)](([_0x37ba6a,_0x47ec5e])=>{const _0x299a8a=_0x2216ab,_0x400ae9=new Map();return _0x37ba6a[_0x299a8a(0x214)]((_0x434f15,_0x4f310d)=>{const _0x410cbe=_0x299a8a;if(_0x434f15['sheetID']===_0x35707e){const _0x355cd1={..._0x434f15};_0x355cd1[_0x410cbe(0xe2)]=this[_0x410cbe(0x2cc)]['getColorFromTheme'](_0x434f15[_0x410cbe(0xe2)]),_0x400ae9[_0x410cbe(0xf9)](_0x4f310d,_0x355cd1);}}),{'skeleton':_0x181bcc,'cursors':_0x400ae9};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x1047da(0x301)](({skeleton:_0xefa540,cursors:_0x271377})=>{const _0x28d57c=_0x1047da;this[_0x28d57c(0x115)](),_0xefa540&&this[_0x28d57c(0x201)](_0xefa540,_0x271377);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x1047da(0x301)](_0x5cd2ee=>{const _0x53e071=_0x1047da;if(_0x5cd2ee==null)return;const {skeleton:_0x3220a5}=_0x5cd2ee,{scene:_0x1f7f62}=this[_0x53e071(0x2c5)];_0x1f7f62[_0x53e071(0x13c)]['subscribeEvent'](a['debounce'](_0x2649b1=>{const _0x2f264d=_0x53e071;var _0x3bd661,_0x1ae6af;const {offsetX:_0x4cb72c,offsetY:_0x1bcf30}=_0x2649b1,{x:_0x358d25,y:_0x53a46b}=_0x1f7f62[_0x2f264d(0x1f0)](p['Vector2'][_0x2f264d(0x2f4)]([_0x4cb72c,_0x1bcf30])),{scaleX:_0x568e24,scaleY:_0x11f3da}=_0x1f7f62[_0x2f264d(0x28d)](),_0x2249f3=_0x1f7f62[_0x2f264d(0x2de)](p[_0x2f264d(0x108)][_0x2f264d(0x20b)]),_0x55cfaa=_0x1f7f62[_0x2f264d(0x327)](p['Vector2']['FromArray']([_0x358d25,_0x53a46b]),_0x2249f3),_0xe0c652=_0x3220a5[_0x2f264d(0x1b9)](_0x4cb72c,_0x1bcf30,_0x568e24,_0x11f3da,_0x55cfaa);((_0x3bd661=this['_lastPointer'])==null?void 0x0:_0x3bd661[_0x2f264d(0xef)])===_0xe0c652['column']&&((_0x1ae6af=this[_0x2f264d(0x2f7)])==null?void 0x0:_0x1ae6af[_0x2f264d(0xb0)])===_0xe0c652['row']||this[_0x2f264d(0x2fc)][_0x2f264d(0x214)](_0x4d6e9d=>{const _0x4a8575=_0x2f264d;_0x4d6e9d[_0x4a8575(0x1a8)](_0xe0c652);});},0x64));});}['_updateCollabCursors'](_0x23a35b,_0x2f8409){const _0x18faa0=_0x26dd52;var _0x574825;const _0x1c501f=(_0x574825=this[_0x18faa0(0x29b)][_0x18faa0(0x191)]())==null?void 0x0:_0x574825[_0x18faa0(0x10a)];if(!_0x1c501f)return;const _0x3f7df0=this[_0x18faa0(0x2a1)]();if(!_0x3f7df0)return;this[_0x18faa0(0x2fc)][_0x18faa0(0x214)](_0x3accf4=>{const _0x50f759=_0x18faa0;_0x3accf4[_0x50f759(0x140)]();});const {scene:_0xaac108}=_0x3f7df0,_0x2a88ee=bt(Array[_0x18faa0(0x11e)](_0x2f8409[_0x18faa0(0x25b)]()))[_0x18faa0(0x31f)](_0x2c8e09=>{const _0x3b0557=_0x18faa0,{color:_0x4f60bd,range:_0x578cb1,name:_0x4d9dfc,selection:_0x47b9c0,sheetID:_0x9bebb8}=_0x2c8e09,{startColumn:_0x515136,startRow:_0x9937f8,endColumn:_0x64396e,endRow:_0x31a562}=_0x578cb1,_0x2c753b=X[_0x3b0557(0xf8)](_0x9937f8,_0x515136,_0xaac108,_0x1c501f),_0x8f80f=X[_0x3b0557(0xf8)](_0x31a562,_0x64396e,_0xaac108,_0x1c501f),{columnHeaderHeightAndMarginTop:_0x34b744}=_0x1c501f,{startX:_0x2d414d,startY:_0x4d70ba}=_0x2c753b,{endX:_0x37f5ae,endY:_0xbf722}=_0x8f80f,_0x3d6a85=_0x37f5ae-_0x2d414d,_0x2ef9cb=_0xbf722-_0x4d70ba,_0x104a79={'labelPosition':_0x4d70ba-_0x34b744>=K?_0x3b0557(0x182):_0x3b0557(0x2b3),'sheetID':_0x9bebb8,'range':_0x578cb1,'color':_0x4f60bd,'name':_0x4d9dfc,'selection':_0x47b9c0,'left':_0x2d414d,'top':_0x4d70ba,'width':_0x3d6a85,'height':_0x2ef9cb,'evented':!0x1,'zIndex':Et};return new we(_0x4d9dfc,_0x104a79);});_0xaac108['addObjects'](_0x2a88ee,gt),this['_cursors']=new Set(_0x2a88ee);}['_removeCollabCursors'](){const _0x13e69d=_0x26dd52;var _0x42db5c;(_0x42db5c=this['_cursors'])==null||_0x42db5c[_0x13e69d(0x214)](_0x5b6d9f=>_0x5b6d9f[_0x13e69d(0x1e2)]());}[_0x26dd52(0x2a1)](){return X['getSheetObject'](this['_context']['unit'],this['_context']);}};ve=pt([ae(0x1,a[_0x26dd52(0x2bf)](X[_0x26dd52(0x2a7)])),ae(0x2,a[_0x26dd52(0x2bf)](x)),ae(0x3,a[_0x26dd52(0x2bf)](a[_0x26dd52(0x317)]))],ve);function bt(_0x5af1a6){const _0x25140c=_0x26dd52,_0x566b6c=new Map();return _0x5af1a6[_0x25140c(0x214)](_0x4356fc=>{const _0x4f0a4a=_0x25140c;if(_0x566b6c[_0x4f0a4a(0x220)](_0x4356fc[_0x4f0a4a(0x2b0)])){const _0x5d0e93=_0x566b6c[_0x4f0a4a(0x21b)](_0x4356fc[_0x4f0a4a(0x2b0)]);_0x5d0e93[_0x4f0a4a(0x289)]+=',\x20'+_0x4356fc[_0x4f0a4a(0x289)];}else _0x566b6c['set'](_0x4356fc[_0x4f0a4a(0x2b0)],_0x4356fc);}),Array[_0x25140c(0x11e)](_0x566b6c['values']());}var b=function(){const _0x1624db=_0x26dd52;return b=Object[_0x1624db(0x23f)]||function(_0x397713){const _0x3cf552=_0x1624db;for(var _0x314d22,_0x363b5f=0x1,_0xa10298=arguments[_0x3cf552(0x1d5)];_0x363b5f<_0xa10298;_0x363b5f++){_0x314d22=arguments[_0x363b5f];for(var _0x35491c in _0x314d22)Object[_0x3cf552(0x2ce)][_0x3cf552(0x1f2)][_0x3cf552(0xce)](_0x314d22,_0x35491c)&&(_0x397713[_0x35491c]=_0x314d22[_0x35491c]);}return _0x397713;},b[_0x1624db(0x209)](this,arguments);},Ot=function(_0x17a67f,_0x26bb63){const _0x3afd2c=_0x26dd52;var _0x2ce959={};for(var _0x2aa829 in _0x17a67f)Object['prototype'][_0x3afd2c(0x1f2)][_0x3afd2c(0xce)](_0x17a67f,_0x2aa829)&&_0x26bb63[_0x3afd2c(0x198)](_0x2aa829)<0x0&&(_0x2ce959[_0x2aa829]=_0x17a67f[_0x2aa829]);if(_0x17a67f!=null&&typeof Object[_0x3afd2c(0x25d)]=='function'){for(var _0x479fcc=0x0,_0x2aa829=Object[_0x3afd2c(0x25d)](_0x17a67f);_0x479fcc<_0x2aa829[_0x3afd2c(0x1d5)];_0x479fcc++)_0x26bb63[_0x3afd2c(0x198)](_0x2aa829[_0x479fcc])<0x0&&Object[_0x3afd2c(0x2ce)][_0x3afd2c(0x269)][_0x3afd2c(0xce)](_0x17a67f,_0x2aa829[_0x479fcc])&&(_0x2ce959[_0x2aa829[_0x479fcc]]=_0x17a67f[_0x2aa829[_0x479fcc]]);}return _0x2ce959;},pe=M['forwardRef'](function(_0x141518,_0x3dd9ff){const _0xb5a031=_0x26dd52;var _0x7f3807=_0x141518[_0xb5a031(0x154)],_0x558c1e=_0x141518['id'],_0x93ba5e=_0x141518[_0xb5a031(0x249)],_0x1feea8=_0x141518['extend'],_0x2d1f6a=Ot(_0x141518,[_0xb5a031(0x154),'id',_0xb5a031(0x249),_0xb5a031(0x24d)]),_0x1abcf5=_0xb5a031(0x2f0)['concat'](_0x558c1e,'\x20')['concat'](_0x93ba5e||'')[_0xb5a031(0x10e)](),_0x9facb6=M[_0xb5a031(0x2a0)]('_'[_0xb5a031(0x2e9)](Dt()));return Ae(_0x7f3807,''[_0xb5a031(0x2e9)](_0x558c1e),{'defIds':_0x7f3807[_0xb5a031(0x23b)],'idSuffix':_0x9facb6['current']},b({'ref':_0x3dd9ff,'className':_0x1abcf5},_0x2d1f6a),_0x1feea8);});function Ae(_0x5a87d7,_0x5106d8,_0x1e332d,_0x4b2b43,_0x2a48f1){const _0x4359c1=_0x26dd52;return M['createElement'](_0x5a87d7['tag'],b(b({'key':_0x5106d8},Tt(_0x5a87d7,_0x1e332d,_0x2a48f1)),_0x4b2b43),(Rt(_0x5a87d7,_0x1e332d)['children']||[])[_0x4359c1(0x31f)](function(_0x407590,_0x248397){const _0x50b6bb=_0x4359c1;return Ae(_0x407590,''[_0x50b6bb(0x2e9)](_0x5106d8,'-')[_0x50b6bb(0x2e9)](_0x5a87d7[_0x50b6bb(0x2fa)],'-')[_0x50b6bb(0x2e9)](_0x248397),_0x1e332d,void 0x0,_0x2a48f1);}));}function Tt(_0x4a5a63,_0x4838da,_0x40bff8){const _0x107cfb=_0x26dd52;var _0x584696=b({},_0x4a5a63[_0x107cfb(0x329)]);_0x40bff8!=null&&_0x40bff8['colorChannel1']&&_0x584696[_0x107cfb(0x189)]===_0x107cfb(0x2ba)&&(_0x584696['fill']=_0x40bff8[_0x107cfb(0x2ba)]),_0x4a5a63[_0x107cfb(0x2fa)]===_0x107cfb(0x2d3)&&_0x584696['id']&&(_0x584696['id']=_0x584696['id']+_0x4838da[_0x107cfb(0x200)]),Object[_0x107cfb(0x176)](_0x584696)['forEach'](function(_0x10d418){const _0x1b9c7e=_0x107cfb;var _0x4548a4=_0x10d418[0x0],_0x9104d6=_0x10d418[0x1];_0x4548a4===_0x1b9c7e(0x2d3)&&typeof _0x9104d6==_0x1b9c7e(0x22d)&&(_0x584696[_0x4548a4]=_0x9104d6[_0x1b9c7e(0x215)](/url\(#(.*)\)/,_0x1b9c7e(0x313)[_0x1b9c7e(0x2e9)](_0x4838da[_0x1b9c7e(0x200)],')')));});var _0x218bb5=_0x4838da[_0x107cfb(0x23b)];return!_0x218bb5||_0x218bb5[_0x107cfb(0x1d5)]===0x0||(_0x4a5a63[_0x107cfb(0x2fa)]===_0x107cfb(0x1fc)&&_0x584696['xlink:href']&&(_0x584696['xlink:href']=_0x584696[_0x107cfb(0x114)]+_0x4838da[_0x107cfb(0x200)]),Object['entries'](_0x584696)[_0x107cfb(0x214)](function(_0x3e9a85){const _0x5ef3a4=_0x107cfb;var _0x54ca96=_0x3e9a85[0x0],_0x39ee20=_0x3e9a85[0x1];typeof _0x39ee20==_0x5ef3a4(0x22d)&&(_0x584696[_0x54ca96]=_0x39ee20[_0x5ef3a4(0x215)](/url\(#(.*)\)/,_0x5ef3a4(0x313)[_0x5ef3a4(0x2e9)](_0x4838da[_0x5ef3a4(0x200)],')')));})),_0x584696;}function Rt(_0x34b80d,_0x1602bb){const _0x944219=_0x26dd52;var _0x466218,_0x58e147=_0x1602bb['defIds'];return!_0x58e147||_0x58e147[_0x944219(0x1d5)]===0x0?_0x34b80d:_0x34b80d[_0x944219(0x2fa)]==='defs'&&(!((_0x466218=_0x34b80d['children'])===null||_0x466218===void 0x0)&&_0x466218[_0x944219(0x1d5)])?b(b({},_0x34b80d),{'children':_0x34b80d[_0x944219(0x307)][_0x944219(0x31f)](function(_0x26038a){const _0xd5dc43=_0x944219;return typeof _0x26038a[_0xd5dc43(0x329)]['id']==_0xd5dc43(0x22d)&&_0x58e147&&_0x58e147[_0xd5dc43(0x142)](_0x26038a[_0xd5dc43(0x329)]['id'])?b(b({},_0x26038a),{'attrs':b(b({},_0x26038a[_0xd5dc43(0x329)]),{'id':_0x26038a[_0xd5dc43(0x329)]['id']+_0x1602bb[_0xd5dc43(0x200)]})}):_0x26038a;})}):_0x34b80d;}function Dt(){const _0x227e33=_0x26dd52;return Math[_0x227e33(0x27c)]()[_0x227e33(0x1c8)](0x24)[_0x227e33(0x29e)](0x2,0x8);}pe[_0x26dd52(0x13d)]=_0x26dd52(0x19b);var Ut={'tag':_0x26dd52(0x1e9),'attrs':{'xmlns':_0x26dd52(0x1ee),'fill':_0x26dd52(0x265),'viewBox':_0x26dd52(0x276),'width':_0x26dd52(0x211),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x26dd52(0x262)},'children':[{'tag':_0x26dd52(0xbc),'attrs':{'stroke':_0x26dd52(0x16b),'d':_0x26dd52(0xb8),'strokeLinecap':'round','strokeLinejoin':_0x26dd52(0x162),'strokeWidth':1.2}}]},{'tag':_0x26dd52(0x17f),'attrs':{},'children':[{'tag':_0x26dd52(0x1da),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x26dd52(0xbc),'attrs':{'fill':_0x26dd52(0x11d),'d':_0x26dd52(0x11b)}}]}]}],'defIds':[_0x26dd52(0x224)]},ye=M['forwardRef'](function(_0x4a2d28,_0x50b703){const _0x253cbc=_0x26dd52;return M[_0x253cbc(0x1af)](pe,Object['assign']({},_0x4a2d28,{'id':_0x253cbc(0x136),'ref':_0x50b703,'icon':Ut}));});ye[_0x26dd52(0x13d)]=_0x26dd52(0x205);var Nt={'tag':_0x26dd52(0x1e9),'attrs':{'xmlns':_0x26dd52(0x1ee),'fill':'none','viewBox':_0x26dd52(0x234),'width':_0x26dd52(0x211),'height':_0x26dd52(0x211)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x26dd52(0x16b),'d':_0x26dd52(0x1e4),'strokeLinecap':_0x26dd52(0x162),'strokeLinejoin':_0x26dd52(0x162),'strokeWidth':1.2}}]},{'tag':_0x26dd52(0x17f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x26dd52(0xfa)},'children':[{'tag':'path','attrs':{'fill':_0x26dd52(0x11d),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x26dd52(0xfa)]},$e=M['forwardRef'](function(_0x28c4c5,_0x3c40bc){const _0x493ccb=_0x26dd52;return M[_0x493ccb(0x1af)](pe,Object[_0x493ccb(0x23f)]({},_0x28c4c5,{'id':_0x493ccb(0x18e),'ref':_0x3c40bc,'icon':Nt}));});$e[_0x26dd52(0x13d)]=_0x26dd52(0x26b);function Mt(_0x27952d){const _0x4d9a55=_0x26dd52;switch(_0x27952d){case u[_0x4d9a55(0x310)]['OFFLINE']:return _0x4d9a55(0x18d);case u[_0x4d9a55(0x310)]['CONFLICT']:return _0x4d9a55(0xd3);case u[_0x4d9a55(0x310)][_0x4d9a55(0x1c3)]:return _0x4d9a55(0x17d);case u[_0x4d9a55(0x310)][_0x4d9a55(0x2e1)]:return _0x4d9a55(0x118);case u[_0x4d9a55(0x310)][_0x4d9a55(0x1d2)]:case u[_0x4d9a55(0x310)][_0x4d9a55(0x163)]:return'collabStatus.syncing';case u['CollaborationStatus'][_0x4d9a55(0x225)]:case u[_0x4d9a55(0x310)][_0x4d9a55(0x1c6)]:return'collabStatus.synced';}}function xe(_0x3a3083){const _0x34c630=_0x26dd52,{status$:_0x21cc82}=_0x3a3083,_0x1690c3=O[_0x34c630(0x27f)](_0x21cc82,u[_0x34c630(0x310)][_0x34c630(0x2e1)]),_0x5931fd=O[_0x34c630(0x1bd)](a[_0x34c630(0x273)]),_0x53b191=O[_0x34c630(0x1bd)](u[_0x34c630(0x19c)]),_0x103191=_0x1690c3!==u[_0x34c630(0x310)][_0x34c630(0x279)],_0x5a2591=_0x5931fd['t'](Mt(_0x1690c3)),_0x141f6e=_0x103191?P['jsx']($e,{}):P['jsx'](ye,{}),_0x11ff7c=M[_0x34c630(0x11a)](()=>{const _0x479126=_0x34c630;_0x103191||_0x53b191[_0x479126(0x2fe)]();},[_0x103191,_0x53b191]);function _0x2c5b39(){const _0x4b8db4=_0x34c630;return P['jsxs'](_0x4b8db4(0x152),{'className':_0x4b8db4(0x1b6),'onClick':_0x11ff7c,'children':[P[_0x4b8db4(0xc2)](_0x4b8db4(0x152),{'className':D[_0x4b8db4(0x297)](_0x4b8db4(0x2c2),{'univer-text-green-500':_0x103191,'univer-text-red-500':!_0x103191}),'children':_0x141f6e}),P[_0x4b8db4(0xc2)](_0x4b8db4(0x152),{'className':_0x4b8db4(0x110),'children':_0x5a2591})]});}return _0x103191?_0x2c5b39():P['jsx'](D[_0x34c630(0x10c)],{'title':_0x5931fd['t'](_0x34c630(0xea)),'children':_0x2c5b39()});}var Lt=Object[_0x26dd52(0xf0)],Pt=(_0x2f8b79,_0x1a8f3d,_0x438d8c,_0x298013)=>{const _0x45eb30=_0x26dd52;for(var _0x564fc0=_0x298013>0x1?void 0x0:_0x298013?Lt(_0x1a8f3d,_0x438d8c):_0x1a8f3d,_0x19cf68=_0x2f8b79[_0x45eb30(0x1d5)]-0x1,_0x1b1897;_0x19cf68>=0x0;_0x19cf68--)(_0x1b1897=_0x2f8b79[_0x19cf68])&&(_0x564fc0=_0x1b1897(_0x564fc0)||_0x564fc0);return _0x564fc0;},V=(_0x18786b,_0x27bb70)=>(_0x2c6964,_0x144edb)=>_0x27bb70(_0x2c6964,_0x144edb,_0x18786b);function _0x4ae1(){const _0x2a7bce=['_initStatusComponent','_collaborationUIEventService','0\x200\x2016\x2016','imageSourceType','UNDEFINED','OFFLINE','_onRefRangeChange','beginPath','random','UNIVER_SHEET','find','useObservable','_online','executeCommand','touchDependencies','override','setParam','getCurrentUnitForType','APPLY_PERMISSION_DENIED','NodePositionConvertToCursor','wsSessionTicketUrl','name','_draw','connectInjector','syncEditingCollabCursor','getAncestorScale','rgba(255,\x20255,\x20255,\x200.01)','executionId','DeleteRangeMoveUpCommandId','pipe','transformMutation','_urlService','deepClone','onCommandExecuted','CollaborationUIEventService','clsx','InsertRowCommandId','IBeforeCloseService','_httpService','_sheetSkeletonManagerService','_clearOtherTimers','DOC_RANGE_TYPE','substring','DocIMEInputManagerService','useRef','_getSheetObject','getSkeleton','complete','_drawRectRange','getUniverSheetInstance','...','SheetSkeletonManagerService','_handleLeaveEvent','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_MAX_UNITS_EXCEEDED','BrowserCollaborationSocketService','combineLatest','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UniverInstanceType','generateRandomId','selection','_onCursorDelete','addClipboardHook','bottom','_startSheetCollabCursor','_univerInstanceService','Warning','APPLY_NON_SEQUENTIAL_REVISION','WECHAT_HAS_BEEN_BOUND','fromEventSubject','colorChannel1','WebBrowserSingleActiveUnitService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MOBILE_HAS_BEEN_BOUND','sessionTicket','Inject','[CollaborationDataLoaderController]','_syncEditingCollabCursorService','univer-mr-2\x20univer-flex\x20univer-text-xl','JOIN_ROOM_FAILED','Tools','_context','handleIRemoveRow','_toggleOnline','closePath','getConfig','handleInsertRow','LOCAL_CACHE_INTERVAL','_themeService','SNAPSHOT_HAS_BEEN_REMOVED','prototype','UniverCollaborationClientPlugin','permission.title','undoState','transformIMECache','mask','_docTransformIMECacheService','then','_colorIndex','unitID','_scheduleSaving','_imageIoService','992kwUAuI','/run/','newValue','engine','getViewport','_handleHeartbeatEvent','InsertRangeMoveDownCommandId','NOT_COLLAB','_collaborationController','RECT','_initCommandExecutedListener','defineProperty','search','getActiveRange','getStateCache','concat','width','_localStorageService','font','removeParam','registerBeforeClose','isTransformMutationFailure','univerjs-icon\x20univerjs-icon-','INTERNAL_ERROR','disableLocalCache','deserializeRangeWithSheet','FromArray','SetTextSelectionsOperation','stringify','_lastPointer','getDocRanges','ICommandService','tag','MUTATION','_cursors','unit','reconnect','_registerDependencies','handleMoveRange','subscribe','BehaviorSubject','CollaborationDataLoaderController','ONLINE','disposeUnit','green.600','children','UNRECOGNIZED','_docTransformSelectionsService','ACTIVE_UNIT_EVENT_CHANNEL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','transformRemoteChangeset','_getAnchorBounding','_roomMembers$','clearTimeout','CollaborationStatus','loadUnit','TOO_MANY_REQUESTS','url(#$1','_send','PERMISSION_DENIED','restore','ThemeService','_transformService','2677680BbPzRE','_scheduleHeartbeat','Unknown\x20user','currentTheme$','125890bkFUSv','_backgroundColor','map','_collabSessionService','_unitOnClients','dispose$','unload','INVALID_ARGUMENT','OTHER_CLIENT_EDITING','NOT_FOUND','getVpScrollXYInfoByPosToVp','_eventUnsubscribe','attrs','_initStatusListener','YUUMI_SUBSCRIPTION_NOT_FOUND','toStringTag','ENSURE_SNAPSHOT_EXECUTION','getValue','_cursor','_removeClearOtherTimer','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ranges','isEditing','row','hide','blue.400','CollaborationUIEventId','evenodd','_scene','147294HfjwCb','getTypeOfUnitDisposed$','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','findNodePositionByCharIndex','symbol','triggerDblclick','path','body','getActiveSheet','getUnitStatus$','CollaborationEvent','_anchorDot','jsx','getCollabEntity$','ILocalCacheService','getSheetBySheetId','USER_NOT_INVITED_CODE','collabCursorState$','RemoteUniscriptService','toDisposable','show','_id','_ensureSubject','EffectRefRangId','call','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','actions','_dataLoaderService','activeSheet$','collabStatus.conflict','getCollabCursors$','_docClipboardService','saveTaskMap','m1Prime','TEXT','_assignedColors','INVITE_CODE_HAS_BEEN_UES','_status$','type','_instanceService','replaceDocRanges','LOCAL_CACHE_INTERVAL_KEY','_colorAssignService','COMPLETION_FINISHED','color','createSocket','isTransformMutationsWithChangesetSuccess','pushState','origin','INotificationService','resize','drawWith','collab-client.tooltip.reconnect','TEXT_RANGE_LAYER_INDEX','_scheduleClearOtherTimer','Subject','getUnitId','column','getOwnPropertyDescriptor','IRenderManagerService','fillStyle','YUUMI_ALL_TABLES_IS_INVALID','debounceTime','transform','key','CHANGESET_REVISION_CONFILICT','getCoordByCell','set','on-line-icon_clip0_910_349','setItem','SUBMIT_CHANGESET_TIMEOUT','IImageIoService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','YUUMI_URL_COL_OUT_OF_RANGE','870cHcSfB','data','popstate','EMAIL_HAS_BEEN_BOUND','entityInit$','_shapes','ALREADY_EXISTS','CONNECTOR_DATA_TOO_LARGE','SHEET_VIEWPORT_KEY','height','skeleton','IURLService','Tooltip','WebURLService','trim','IUIPartsService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getFocusedUnit','getMemberID','registerRefRange','xlink:href','_removeCollabCursors','moveTo','setStateCache','collabStatus.notCollab','_initDependencies','useCallback','M0\x200H16V16H0z','_getMergeRange','white','from','_hideTimer','MessageType','IUniverInstanceService','exhaustSavingTask','fillText','session.will-retry','isArray','href','_initEvent','runOnServer','RxDisposable','_name','delete','error','getUndoRedoMutationParamsCache','InsertColCommandId','unitId','_uiPartsService','_getScale','_docSkeletonManagerService','startsWith','_logService','pluginName','off-line-icon','unshift','setShapeProps','_cursorInfo$','invokeId','_refreshCollabCursors','onPointerMove$','displayName','_entities','_drawTextRange','makeDirty','handleIRemoveCol','includes','_disabled','LICENSE_DISTRO_REJECTED','_init','disposeWithMe','INVITE_CODE_REQUIRED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_updateURLWithCurrentState','_saveTaskMap','mutations','_document','_injector','_localCacheService','text','ILogService','_cursorShapes','div','onPointerEnter$','icon','memberID','YUUMI_NO_CUBOID_FOR_QUESTION','endColumn','_updateSubUnitFromURLParams','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','shareReplay','getCurrentSelections','_updateLocalCursor','_transformHistoryAndStateStack','UPDATE_CURSOR','156wqyOIp','session.collaboration-timeout','subunit','round','AWAITING_WITH_PENDING','Module','_textBubble','redoState','_getSessionTicket','_messageService','RemoveColCommandId','yellow.400','currentColor','distinctUntilChanged','eventID','YUUMI_AI_RUN_FAILED','Shape','IDocClipboardService','application/json','HTTPService','DocCollaborationEntity','_configService','lineTo','entries','_notificationService','INVITE_CODE_ALREADY_BOUND','_transformUndoRedoStack','enableLocalCache','onPointerLeave$','switchMap','collabStatus.fetchMiss','BuiltInUIPart','defs','getColorFromTheme','_getSaveTimeout','top','COLORS','next','requireSession','_hover','parse','ISnapshotServerService','fill','_onCursorUpdate','Injector','APPLY_REVISION_CONFILICT','collabStatus.offline','on-line-icon','getColor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getCurrent','_saveCache','mergeOverrideWithDependencies','setInterval','params','docStateChange$','sheetId','indexOf','YUUMI_ASYNCIO_CANCELLED','_handleEvent','UniverIcon','CollaborationSessionService','_collabCursorState$','setUndoRedoMutationParamsCache','black','collaboration.closeRoom','Plugin','_docStateChangeManagerService','DocStateChangeManagerService','roomMembers','_initResize','getMergeData','getRenderById','onMouseMove','_docSyncEditingCollabCursorService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','addEventListener','filter','_selfUnitIDs','_memberService','createElement','debug','_handleJoinEvent','_heartbeatTimer','ticket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REJECT','univer-flex\x20univer-items-center','size','searchParams','getCellPositionByOffset','YUUMI_CONNECTOR_URL_NOT_FOUND','_setupSubUnitSync','_initEntityListener','useDependency','IConfigService','1355522rpaCIW','_session','#FFF','YUUMI_RATE_OVER_LIMIT','FETCH_MISS','assignAColorForMemberID','runId','PENDING','DisposableCollection','toString','EMAIL_VERIFY_CODE_MISMATCH','cursorInfo$','Disposable','_registerRenderDependencies','whenReady','_hovered','merge','getItem','UniverCollaborationClientUIPlugin','AWAITING','getMember','getCurrentRevOfUnit','length','_startDocCollabCursor','_entityInit$','LICENSE_IMPORT_SIZE_EXCEEDED','SetDocZoomRatioOperation','clipPath','send','RegularPolygon','_docTransformStateCacheService','UNIVER_DOC','ColorKit','handleInsertRangeMoveDown','transformMutationsWithChangeset','dispose','hovered','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','_color','collaboration.single-unit.warning','_commandService','_renderManagerService','svg','_labelPosition','_range','Rectangle','createInstance','http://www.w3.org/2000/svg','save','getRelativeToViewportCoord','collab-text-anchor-','hasOwnProperty','currentSkeleton$','ILocalStorageService','getSheetId','registerRenderModule','InsertRangeMoveRightCommandId','handleInsertRangeMoveRight','_render','subscribeEvent','m2Prime','use','PY_RUNTIME_SCRIPT_ERROR','getParam','RefRangeService','idSuffix','_updateCollabCursors','session.connection-failed','_localeService','_setupBeforeClosingHandler','OffLineIcon','_transformPreviousActiveRange','collab-text-range-','UnitStatus','apply','addObject','VIEW_MAIN','replaceState','cursorInfo','getLocalCacheKey','unsubscribe','onTransformChange$','1em','roomMembers$','push','forEach','replace','min','add','clearInterval','Rect','UNAUTHENTICATED','get','IMessageService','APPLY_DUPLICATED','history','startRow','has','transformStateCache','status$','isActive','off-line-icon_clip0_910_343','SYNCED','doc.mutation.rich-text-editing','YUUMI_UNABLE_LOAD_URL','SessionStatus','sessionStatus$','focused$','NodePositionConvertToRectRange','Failed','string','_revisionService','startColumn','Workbook','_toggleOffline','_refRangeService','_drawAnchor','0\x200\x2017\x2016','_createSocketURL','getTypeOfUnitAdded$','LOGIN_FAILED','Error','labelPosition','loadOfflineData','defIds','getRangePointData','CONFLICT','toRgbString','assign','init','serializeRangeWithSheet','event$','textRanges','_config','handleDeleteRangeMoveLeft','SOCKET_FAILED_RETRY','onStarting','collaboration-client.offline-data-not-saved','className','129029iIdnGR','DEFAULT_WS_SESSION_TICKET_URL','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','extend','setTimeout','jiqing.500','6679056keTMtd','takeUntil','range','DataLoaderService','source','measureText','RemoveRowCommandId','debounce','arc','storage','_unitStatus','values','_cachedData','getOwnPropertySymbols','max','CollaborationController','_collabCursorController','urlChange$','url(#off-line-icon_clip0_910_343)','13055CcTzal','DocSelectionManagerService','none','_anchor','SheetCollabCursorShape','all','propertyIsEnumerable','ITransformService','OnLineIcon','DesktopCollaborationStatusDisplayController','registerDependencies','MOBILE_VERIFY_CODE_MISMATCH','createIdentifier','location','asObservable','SNAPSHOT_INVALID_SNAPSHOT','LocaleService'];_0x4ae1=function(){return _0x2a7bce;};return _0x4ae1();}exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x5feb29,_0x54547b,_0x2d9cb8,_0x4967ab){const _0x215ea2=_0x26dd52;super(),h(this,'_status$',new d['BehaviorSubject'](u[_0x215ea2(0x310)]['NOT_COLLAB'])),(this[_0x215ea2(0x2b5)]=_0x5feb29,this[_0x215ea2(0x14d)]=_0x54547b,this[_0x215ea2(0x2e2)]=_0x2d9cb8,this[_0x215ea2(0x130)]=_0x4967ab,this[_0x215ea2(0x274)](),this[_0x215ea2(0x32a)]());}['_initStatusListener'](){const _0x154029=_0x26dd52;this[_0x154029(0x146)](this[_0x154029(0x2b5)][_0x154029(0x22a)][_0x154029(0x291)](d[_0x154029(0x17c)](()=>{const _0x11c356=_0x154029,_0x24f4d5=this['_univerInstanceService'][_0x11c356(0x111)]();return _0x24f4d5?this['_collaborationController'][_0x11c356(0xc3)](_0x24f4d5[_0x11c356(0xee)]()):d['of'](null);}),d['switchMap'](_0x592d39=>_0x592d39?_0x592d39[_0x154029(0x222)]:d['of'](u[_0x154029(0x310)]['NOT_COLLAB'])))[_0x154029(0x301)](_0x4903d9=>{const _0x32f7ef=_0x154029;this['_status$'][_0x32f7ef(0x184)](_0x4903d9);}));}[_0x26dd52(0x274)](){const _0x27ba5a=_0x26dd52;this['disposeWithMe'](this[_0x27ba5a(0x130)]['registerComponent'](O[_0x27ba5a(0x17e)]['HEADER_MENU'],()=>O[_0x27ba5a(0x28b)](wt({'status$':this[_0x27ba5a(0xdb)][_0x27ba5a(0x271)]()}),this[_0x27ba5a(0x14d)])));}},exports[_0x26dd52(0x26c)]=Pt([V(0x0,a[_0x26dd52(0x121)]),V(0x1,a[_0x26dd52(0x2bf)](a[_0x26dd52(0x18b)])),V(0x2,a[_0x26dd52(0x2bf)](u[_0x26dd52(0x25f)])),V(0x3,O[_0x26dd52(0x10f)])],exports[_0x26dd52(0x26c)]);function wt(_0x3a8bd8){const {status$:_0x4c35bc}=_0x3a8bd8;return function(){return P['jsx'](xe,{'status$':_0x4c35bc});};}var At=Object[_0x26dd52(0xf0)],yt=(_0x1fdc14,_0x43c089,_0x96de1e,_0xf73159)=>{const _0x3705d8=_0x26dd52;for(var _0x391545=_0xf73159>0x1?void 0x0:_0xf73159?At(_0x43c089,_0x96de1e):_0x43c089,_0x28caac=_0x1fdc14[_0x3705d8(0x1d5)]-0x1,_0x41e483;_0x28caac>=0x0;_0x28caac--)(_0x41e483=_0x1fdc14[_0x28caac])&&(_0x391545=_0x41e483(_0x391545)||_0x391545);return _0x391545;},y=(_0x6b1477,_0x127ae9)=>(_0x3cf3dc,_0x1c45ab)=>_0x127ae9(_0x3cf3dc,_0x1c45ab,_0x6b1477);let q=class extends a[_0x26dd52(0x1cb)]{constructor(_0x339471,_0x4232f8,_0x1e994d,_0x5258c2,_0x5e186a,_0x1cdfe7){const _0x462d77=_0x26dd52;super(),this['_beforeCloseService']=_0x339471,this[_0x462d77(0x14e)]=_0x4232f8,this[_0x462d77(0x275)]=_0x1e994d,this['_messageService']=_0x5258c2,this[_0x462d77(0x177)]=_0x5e186a,this[_0x462d77(0x203)]=_0x1cdfe7,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x26dd52(0x204)](){const _0x4996e5=_0x26dd52;this[_0x4996e5(0x146)](this['_beforeCloseService'][_0x4996e5(0x2ee)](()=>{const _0xb22a16=_0x4996e5;if(this[_0xb22a16(0x14e)][_0xb22a16(0xd6)][_0xb22a16(0x1b7)])return this[_0xb22a16(0x203)]['t'](_0xb22a16(0x248));}));}[_0x26dd52(0x127)](){const _0x5a14b4=_0x26dd52;this[_0x5a14b4(0x146)](this[_0x5a14b4(0x275)][_0x5a14b4(0x242)][_0x5a14b4(0x301)](_0x10d14c=>{const _0x439e7b=_0x5a14b4;_0x10d14c['id']===u[_0x439e7b(0xb3)][_0x439e7b(0x325)]&&this[_0x439e7b(0x168)][_0x439e7b(0xca)]({'type':D[_0x439e7b(0x120)]['Warning'],'content':this[_0x439e7b(0x203)]['t'](_0x439e7b(0x1e6))}),_0x10d14c['id']===u['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x439e7b(0x168)][_0x439e7b(0xca)]({'type':D[_0x439e7b(0x120)][_0x439e7b(0x2b6)],'content':this[_0x439e7b(0x203)]['t'](_0x439e7b(0x1a0))}),_0x10d14c['id']===u['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x439e7b(0x177)]['show']({'title':this['_localeService']['t'](_0x439e7b(0x2d0)),'content':this[_0x439e7b(0x203)]['t']('permission.content'),'type':'error','duration':0x0}),_0x10d14c['id']===u[_0x439e7b(0xb3)][_0x439e7b(0x23d)]&&this[_0x439e7b(0x168)][_0x439e7b(0xca)]({'type':D[_0x439e7b(0x120)][_0x439e7b(0x238)],'content':this[_0x439e7b(0x203)]['t']('collaboration.closeRoom')+'('+_0x10d14c['data']+')'}),_0x10d14c['id']===u[_0x439e7b(0xb3)][_0x439e7b(0x2c3)]&&this['_messageService']['show']({'type':D[_0x439e7b(0x120)][_0x439e7b(0x2b6)],'content':this[_0x439e7b(0x203)]['t'](_0x10d14c[_0x439e7b(0x101)]||'')}),_0x10d14c['id']===u['CollaborationUIEventId'][_0x439e7b(0x246)]&&this[_0x439e7b(0x168)]['show']({'type':D[_0x439e7b(0x120)][_0x439e7b(0x2b6)],'content':this[_0x439e7b(0x203)]['t'](_0x439e7b(0x124))}),_0x10d14c['id']===u[_0x439e7b(0xb3)]['SOCKET_FAILED']&&this[_0x439e7b(0x168)][_0x439e7b(0xca)]({'type':D[_0x439e7b(0x120)][_0x439e7b(0x238)],'content':this[_0x439e7b(0x203)]['t'](_0x439e7b(0x202))}),_0x10d14c['id']===u[_0x439e7b(0xb3)][_0x439e7b(0xfc)]&&this[_0x439e7b(0x168)]['show']({'type':D[_0x439e7b(0x120)]['Error'],'content':this[_0x439e7b(0x203)]['t'](_0x439e7b(0x160))});}));}};q=yt([y(0x0,O[_0x26dd52(0x299)]),y(0x1,u[_0x26dd52(0xc4)]),y(0x2,a['Inject'](u[_0x26dd52(0x296)])),y(0x3,O[_0x26dd52(0x21c)]),y(0x4,O[_0x26dd52(0xe7)]),y(0x5,a['Inject'](a[_0x26dd52(0x273)]))],q);const $t='collaboration-client-ui.config',Ue={},Ee=a[_0x26dd52(0x26f)]('uni.network.url-service');var xt=Object[_0x26dd52(0xf0)],Bt=(_0x3df7e8,_0x370bed,_0xe4e36c,_0x4dc988)=>{const _0x1227b1=_0x26dd52;for(var _0x4aacdd=_0x4dc988>0x1?void 0x0:_0x4dc988?xt(_0x370bed,_0xe4e36c):_0x370bed,_0x187a1a=_0x3df7e8[_0x1227b1(0x1d5)]-0x1,_0x2c3e19;_0x187a1a>=0x0;_0x187a1a--)(_0x2c3e19=_0x3df7e8[_0x187a1a])&&(_0x4aacdd=_0x2c3e19(_0x4aacdd)||_0x4aacdd);return _0x4aacdd;},F=(_0x30ea5d,_0x11ea8b)=>(_0xe4339d,_0x2da5ea)=>_0x11ea8b(_0xe4339d,_0x2da5ea,_0x30ea5d);exports[_0x26dd52(0x303)]=class extends a[_0x26dd52(0x129)]{constructor(_0x45f919,_0x2ce34d,_0x320e44,_0xe72e78,_0x22d34e){const _0x3e5690=_0x26dd52;super(),this[_0x3e5690(0x293)]=_0x45f919,this['_logService']=_0x2ce34d,this['_commandService']=_0x320e44,this[_0x3e5690(0xd1)]=_0xe72e78,_0x22d34e?_0x22d34e==null||_0x22d34e[_0x3e5690(0x1cd)]()[_0x3e5690(0x2d5)](()=>this['_init']()):(this[_0x3e5690(0x134)][_0x3e5690(0x1b0)]('[CollaborationDataLoaderController]',_0x3e5690(0x2bc)),this[_0x3e5690(0x145)]());}async[_0x26dd52(0x145)](){const _0x4ec75d=_0x26dd52,_0x149541=this['_urlService']['getParam'](_0x4ec75d(0x2fd)),_0x5c7457=this[_0x4ec75d(0x293)][_0x4ec75d(0x1fe)]('type'),_0x46688c=this[_0x4ec75d(0x293)][_0x4ec75d(0x1fe)](_0x4ec75d(0x161));if(!_0x149541||!_0x5c7457){this['_logService'][_0x4ec75d(0x1b0)](_0x4ec75d(0x2c0),_0x4ec75d(0x1aa));return;}const _0x1d6557=await this[_0x4ec75d(0xd1)][_0x4ec75d(0x311)](_0x149541,Number(_0x5c7457),_0x46688c);_0x1d6557&&_0x1d6557 instanceof a[_0x4ec75d(0x230)]&&this[_0x4ec75d(0x1bb)](_0x1d6557);}async[_0x26dd52(0x1bb)](_0x4c1858){const _0x900ff6=_0x26dd52;await this[_0x900ff6(0x158)](_0x4c1858),_0x4c1858[_0x900ff6(0xd2)][_0x900ff6(0x291)](d[_0x900ff6(0x251)](this['dispose$']))['subscribe'](_0xc9400d=>{const _0x466592=_0x900ff6;_0xc9400d&&this[_0x466592(0x149)](_0xc9400d);}),this[_0x900ff6(0x293)][_0x900ff6(0x261)][_0x900ff6(0x291)](d[_0x900ff6(0x251)](this['dispose$']))[_0x900ff6(0x301)](()=>this['_updateSubUnitFromURLParams'](_0x4c1858));}[_0x26dd52(0x149)](_0x2cfdf1,_0x51060f=!0x1){const _0xcc6d47=_0x26dd52,_0x22813d=this[_0xcc6d47(0x293)][_0xcc6d47(0x1fe)](_0xcc6d47(0x161));_0x2cfdf1[_0xcc6d47(0x1f5)]()!==_0x22813d&&this[_0xcc6d47(0x293)]['setParam'](_0xcc6d47(0x161),_0x2cfdf1[_0xcc6d47(0x1f5)](),_0x51060f);}async[_0x26dd52(0x158)](_0x3ce67f){const _0x2665d3=_0x26dd52;var _0x376695;const _0x492840=this[_0x2665d3(0x293)][_0x2665d3(0x1fe)](_0x2665d3(0x161));if(!_0x492840||!_0x3ce67f['getSheetBySheetId'](_0x492840)){const _0x2a9fca=_0x3ce67f['getUnhiddenWorksheets']()[0x0],_0x5f0475=_0x3ce67f[_0x2665d3(0xc5)](_0x2a9fca);if(!_0x5f0475)return;this[_0x2665d3(0x149)](_0x5f0475,!0x0),await this['_commandService'][_0x2665d3(0x281)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x3ce67f['getUnitId'](),'subUnitId':_0x2a9fca});return;}((_0x376695=_0x3ce67f['getActiveSheet']())==null?void 0x0:_0x376695['getSheetId']())!==_0x492840&&await this[_0x2665d3(0x1e7)][_0x2665d3(0x281)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x3ce67f[_0x2665d3(0xee)](),'subUnitId':_0x492840});}},exports[_0x26dd52(0x303)]=Bt([F(0x0,Ee),F(0x1,a[_0x26dd52(0x150)]),F(0x2,a[_0x26dd52(0x2f9)]),F(0x3,a['Inject'](u[_0x26dd52(0x253)])),F(0x4,a['Optional'](Ke['IRemoteInstanceService']))],exports[_0x26dd52(0x303)]);var jt=Object['getOwnPropertyDescriptor'],kt=(_0x4eeec7,_0x2cccdc,_0x2ac586,_0x3627ba)=>{const _0x4b56ef=_0x26dd52;for(var _0x4f5e1d=_0x3627ba>0x1?void 0x0:_0x3627ba?jt(_0x2cccdc,_0x2ac586):_0x2cccdc,_0x5af23a=_0x4eeec7[_0x4b56ef(0x1d5)]-0x1,_0x3915eb;_0x5af23a>=0x0;_0x5af23a--)(_0x3915eb=_0x4eeec7[_0x5af23a])&&(_0x4f5e1d=_0x3915eb(_0x4f5e1d)||_0x4f5e1d);return _0x4f5e1d;},ce=(_0x2ef9f7,_0x264ead)=>(_0x13f905,_0x1681b1)=>_0x264ead(_0x13f905,_0x1681b1,_0x2ef9f7);let z=class{constructor(_0x4dd7b1,_0x20f4bc,_0x2d7552){const _0x27a30f=_0x26dd52;this[_0x27a30f(0x14d)]=_0x4dd7b1,this['_transformService']=_0x20f4bc,this[_0x27a30f(0x1e8)]=_0x2d7552;}[_0x26dd52(0x2d2)](_0x246e24){const _0x24f09c=_0x26dd52;this[_0x24f09c(0x179)](_0x246e24),this[_0x24f09c(0x206)](_0x246e24);}['transformRemoteChangeset'](_0x4430e7){const _0x5abdc0=_0x26dd52,{unitID:_0x3dec1a}=_0x4430e7,_0x22f3b5=this['_renderManagerService']['getRenderById'](_0x3dec1a)['with'](E[_0x5abdc0(0x29f)]),{redoCache:_0x174754}=_0x22f3b5['getUndoRedoMutationParamsCache']();if(_0x174754[_0x5abdc0(0x1d5)]===0x0)return _0x4430e7;let _0x35c828=a[_0x5abdc0(0x2c4)][_0x5abdc0(0x294)](_0x4430e7[_0x5abdc0(0x14b)][0x0]);for(let _0xcec382=0x0;_0xcec382<_0x174754[_0x5abdc0(0x1d5)];_0xcec382++){const _0x141063={'id':_0x5abdc0(0x226),'params':{..._0x174754[_0xcec382]}},_0x2565e1=this[_0x5abdc0(0x318)][_0x5abdc0(0x292)](_0x35c828,_0x141063,!0x1);if(m[_0x5abdc0(0x2ef)](_0x2565e1))throw _0x2565e1[_0x5abdc0(0x12c)];_0x35c828=_0x2565e1[_0x5abdc0(0xd7)];}return{...a[_0x5abdc0(0x2c4)]['deepClone'](_0x4430e7),'mutations':[_0x35c828]};}[_0x26dd52(0x179)](_0x4471de){const _0x35b779=_0x26dd52,{unitID:_0xf721d0}=_0x4471de,_0x302c7e=this[_0x35b779(0x1e8)][_0x35b779(0x1a7)](_0xf721d0)['with'](E[_0x35b779(0x29f)]),{undoCache:_0x2dbc11,redoCache:_0x2e70e9}=_0x302c7e[_0x35b779(0x12d)]();if(_0x2dbc11['length']===0x0||_0x2e70e9['length']===0x0)return;const _0x5615ba=[],_0x18727f=[];let _0x190163=a['Tools']['deepClone'](_0x4471de[_0x35b779(0x14b)][0x0]),_0x4544b7=a[_0x35b779(0x2c4)][_0x35b779(0x294)](_0x4471de[_0x35b779(0x14b)][0x0]);for(let _0x2b0444=_0x2dbc11[_0x35b779(0x1d5)]-0x1;_0x2b0444>=0x0;_0x2b0444--){const _0x44177e={'id':'doc.mutation.rich-text-editing','params':{..._0x2dbc11[_0x2b0444]}},_0x1b2583={'id':'doc.mutation.rich-text-editing','params':{..._0x2e70e9[_0x2b0444]}},_0x172a93=this[_0x35b779(0x318)][_0x35b779(0x292)](_0x190163,_0x44177e,!0x1),_0x6d55f9=this['_transformService'][_0x35b779(0x292)](_0x4544b7,_0x1b2583,!0x1);if(m[_0x35b779(0x2ef)](_0x172a93))throw _0x172a93[_0x35b779(0x12c)];if(m[_0x35b779(0x2ef)](_0x6d55f9))throw _0x6d55f9['error'];_0x5615ba[_0x35b779(0x137)](_0x172a93[_0x35b779(0x1fb)][_0x35b779(0x195)]),_0x18727f['unshift'](_0x6d55f9['m2Prime'][_0x35b779(0x195)]),_0x190163=_0x172a93[_0x35b779(0xd7)],_0x4544b7=_0x6d55f9[_0x35b779(0xd7)];}_0x302c7e[_0x35b779(0x19e)]({'undoCache':_0x5615ba,'redoCache':_0x18727f});}[_0x26dd52(0x206)](_0x23f07d){const _0x4b031b=_0x26dd52,{unitID:_0x5485e0}=_0x23f07d,_0x2ad8a0=this['_renderManagerService'][_0x4b031b(0x1a7)](_0x5485e0)['with'](E[_0x4b031b(0x29f)]),_0x54f9c3=_0x2ad8a0[_0x4b031b(0x2e7)]();if(_0x54f9c3==null)return;const _0x226a2e=[{'id':_0x4b031b(0x226),'params':{'unitId':_0x23f07d[_0x4b031b(0x2d7)],'actions':null,'textRanges':[_0x54f9c3]}}],_0x18e30d=this[_0x4b031b(0x318)][_0x4b031b(0x1e1)](_0x23f07d,_0x226a2e);if(!m[_0x4b031b(0xe4)](_0x18e30d))throw _0x18e30d[_0x4b031b(0x12c)];const _0x18e50a=_0x18e30d['m2Prime'][0x0][_0x4b031b(0x195)][_0x4b031b(0x243)];Array[_0x4b031b(0x125)](_0x18e50a)&&_0x18e50a[_0x4b031b(0x1d5)]&&_0x2ad8a0['setActiveRange'](_0x18e50a[0x0]);}};z=kt([ce(0x0,a[_0x26dd52(0x2bf)](a[_0x26dd52(0x18b)])),ce(0x1,m[_0x26dd52(0x26a)]),ce(0x2,p[_0x26dd52(0xf1)])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x4fe795,_0x44ed21,_0x29bac4,_0x592c13)=>{const _0x5a06c5=_0x26dd52;for(var _0x2a2b0c=_0x592c13>0x1?void 0x0:_0x592c13?Ft(_0x44ed21,_0x29bac4):_0x44ed21,_0x151756=_0x4fe795[_0x5a06c5(0x1d5)]-0x1,_0x3b3ba2;_0x151756>=0x0;_0x151756--)(_0x3b3ba2=_0x4fe795[_0x151756])&&(_0x2a2b0c=_0x3b3ba2(_0x2a2b0c)||_0x2a2b0c);return _0x2a2b0c;},le=(_0x3e6c40,_0x55dd97)=>(_0xf72ab0,_0x14ab4b)=>_0x55dd97(_0xf72ab0,_0x14ab4b,_0x3e6c40);let J=class{constructor(_0x9b3a96,_0x2a99dd,_0x3824e3){const _0x22ddc0=_0x26dd52;this['_injector']=_0x9b3a96,this[_0x22ddc0(0x318)]=_0x2a99dd,this['_docStateChangeManagerService']=_0x3824e3;}[_0x26dd52(0x221)](_0x13ad08){const _0x231dd1=_0x26dd52;this[_0x231dd1(0x15d)](_0x13ad08);}[_0x26dd52(0x30c)](_0x3b359e){const _0x4085a0=_0x26dd52,{unitID:_0x197511}=_0x3b359e,{collaboration:_0x323109}=this[_0x4085a0(0x1a2)][_0x4085a0(0x2e8)](_0x197511);if(_0x323109[_0x4085a0(0x1d5)]===0x0)return _0x3b359e;let _0x39afca=a[_0x4085a0(0x2c4)]['deepClone'](_0x3b359e[_0x4085a0(0x14b)][0x0]);for(let _0x5d1f0e=0x0;_0x5d1f0e<_0x323109[_0x4085a0(0x1d5)];_0x5d1f0e++){const _0x5da9ad={'id':_0x4085a0(0x226),'params':{'unitId':_0x323109[_0x5d1f0e][_0x4085a0(0x12f)],..._0x323109[_0x5d1f0e][_0x4085a0(0x166)]}},_0x285f86=this[_0x4085a0(0x318)][_0x4085a0(0x292)](_0x39afca,_0x5da9ad,!0x1);if(m[_0x4085a0(0x2ef)](_0x285f86))throw _0x285f86['error'];_0x39afca=_0x285f86[_0x4085a0(0xd7)];}return{...a[_0x4085a0(0x2c4)][_0x4085a0(0x294)](_0x3b359e),'mutations':[_0x39afca]};}['_transformHistoryAndStateStack'](_0x3b6e55){const _0x3285d6=_0x26dd52,{unitID:_0xa90af}=_0x3b6e55,{history:_0x1e1de7,collaboration:_0xe0458c}=this[_0x3285d6(0x1a2)]['getStateCache'](_0xa90af);if(_0x1e1de7[_0x3285d6(0x1d5)]===0x0&&_0xe0458c[_0x3285d6(0x1d5)]===0x0)return;const _0x1e9021=[],_0x5c234=[];let _0x3a9fac=a[_0x3285d6(0x2c4)][_0x3285d6(0x294)](_0x3b6e55[_0x3285d6(0x14b)][0x0]),_0x1660ed=a['Tools'][_0x3285d6(0x294)](_0x3b6e55['mutations'][0x0]);for(let _0x231cf0=_0x1e1de7[_0x3285d6(0x1d5)]-0x1;_0x231cf0>=0x0;_0x231cf0--){const _0x5af38d={'id':_0x3285d6(0x226),'params':{'unitId':_0x1e1de7[_0x231cf0][_0x3285d6(0x12f)],..._0x1e1de7[_0x231cf0][_0x3285d6(0x2d1)]}},_0x1a09d3={'id':_0x3285d6(0x226),'params':{'unitId':_0x1e1de7[_0x231cf0][_0x3285d6(0x12f)],..._0x1e1de7[_0x231cf0][_0x3285d6(0x166)]}},_0xdd0249=this[_0x3285d6(0x318)][_0x3285d6(0x292)](_0x3a9fac,_0x5af38d,!0x1),_0x59c190=this['_transformService'][_0x3285d6(0x292)](_0x1660ed,_0x1a09d3,!0x1);if(m[_0x3285d6(0x2ef)](_0xdd0249))throw _0xdd0249[_0x3285d6(0x12c)];if(m[_0x3285d6(0x2ef)](_0x59c190))throw _0x59c190['error'];_0x1e9021['unshift']({..._0x1e1de7[_0x231cf0],'undoState':_0xdd0249[_0x3285d6(0x1fb)][_0x3285d6(0x195)],'redoState':_0x59c190['m2Prime'][_0x3285d6(0x195)]}),_0x3a9fac=_0xdd0249[_0x3285d6(0xd7)],_0x1660ed=_0x59c190[_0x3285d6(0xd7)];}_0x3a9fac=a[_0x3285d6(0x2c4)][_0x3285d6(0x294)](_0x3b6e55[_0x3285d6(0x14b)][0x0]),_0x1660ed=a['Tools'][_0x3285d6(0x294)](_0x3b6e55[_0x3285d6(0x14b)][0x0]);for(let _0x547c7f=_0xe0458c[_0x3285d6(0x1d5)]-0x1;_0x547c7f>=0x0;_0x547c7f--){const _0x55b388={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe0458c[_0x547c7f][_0x3285d6(0x12f)],..._0xe0458c[_0x547c7f][_0x3285d6(0x2d1)]}},_0x5ed628={'id':_0x3285d6(0x226),'params':{'unitId':_0xe0458c[_0x547c7f][_0x3285d6(0x12f)],..._0xe0458c[_0x547c7f][_0x3285d6(0x166)]}},_0x3d5ec6=this[_0x3285d6(0x318)][_0x3285d6(0x292)](_0x3a9fac,_0x55b388,!0x1),_0x510800=this[_0x3285d6(0x318)][_0x3285d6(0x292)](_0x1660ed,_0x5ed628,!0x1);if(m['isTransformMutationFailure'](_0x3d5ec6))throw _0x3d5ec6[_0x3285d6(0x12c)];if(m[_0x3285d6(0x2ef)](_0x510800))throw _0x510800['error'];_0x5c234[_0x3285d6(0x137)]({..._0xe0458c[_0x547c7f],'undoState':_0x3d5ec6[_0x3285d6(0x1fb)][_0x3285d6(0x195)],'redoState':_0x510800['m2Prime'][_0x3285d6(0x195)]}),_0x3a9fac=_0x3d5ec6['m1Prime'],_0x1660ed=_0x510800[_0x3285d6(0xd7)];}this['_docStateChangeManagerService'][_0x3285d6(0x117)](_0xa90af,{'history':_0x1e9021,'collaboration':_0x5c234});}};J=Ht([le(0x0,a[_0x26dd52(0x2bf)](a['Injector'])),le(0x1,m[_0x26dd52(0x26a)]),le(0x2,a['Inject'](E['DocStateChangeManagerService']))],J);var Yt=Object[_0x26dd52(0xf0)],Wt=(_0xb858d6,_0x9c23ac,_0x53882f,_0x543bc4)=>{const _0x23ba6f=_0x26dd52;for(var _0xd622ff=_0x543bc4>0x1?void 0x0:_0x543bc4?Yt(_0x9c23ac,_0x53882f):_0x9c23ac,_0x439791=_0xb858d6[_0x23ba6f(0x1d5)]-0x1,_0x50994a;_0x439791>=0x0;_0x439791--)(_0x50994a=_0xb858d6[_0x439791])&&(_0xd622ff=_0x50994a(_0xd622ff)||_0xd622ff);return _0xd622ff;},Ne=(_0x5609e4,_0x2bab81)=>(_0x3bebe7,_0x29ce63)=>_0x2bab81(_0x3bebe7,_0x29ce63,_0x5609e4);let Z=class{constructor(_0x851034,_0x2ed7b1){const _0x31f772=_0x26dd52;this[_0x31f772(0x14d)]=_0x851034,this[_0x31f772(0x318)]=_0x2ed7b1;}['transformSelections'](_0x3026db){const _0x12e180=_0x26dd52;var _0x202ccf;const _0x576919=this[_0x12e180(0x14d)][_0x12e180(0x21b)](Y[_0x12e180(0x264)]),_0x347c90=(_0x202ccf=_0x576919['getDocRanges']())!=null?_0x202ccf:[];if(_0x347c90[_0x12e180(0x1d5)]===0x0)return;const _0x311cf5=_0x3026db[_0x12e180(0x2d7)],_0x3ae873=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x311cf5,'actions':null,'textRanges':_0x347c90}}],_0x30c0fe=this[_0x12e180(0x318)][_0x12e180(0x1e1)](_0x3026db,_0x3ae873);if(!m[_0x12e180(0xe4)](_0x30c0fe))throw _0x30c0fe[_0x12e180(0x12c)];const _0x6f9f50=_0x30c0fe[_0x12e180(0x1fb)][0x0][_0x12e180(0x195)][_0x12e180(0x243)];Array[_0x12e180(0x125)](_0x6f9f50)&&_0x6f9f50[_0x12e180(0x1d5)]&&_0x576919[_0x12e180(0xde)](_0x6f9f50,{'unitId':_0x311cf5,'subUnitId':_0x311cf5},!0x1);}};Z=Wt([Ne(0x0,a[_0x26dd52(0x2bf)](a['Injector'])),Ne(0x1,m[_0x26dd52(0x26a)])],Z);var Vt=Object[_0x26dd52(0xf0)],Xt=(_0x4de1c3,_0x2fc3fb,_0x4d5e41,_0x1c0edb)=>{const _0x225838=_0x26dd52;for(var _0x8a151e=_0x1c0edb>0x1?void 0x0:_0x1c0edb?Vt(_0x2fc3fb,_0x4d5e41):_0x2fc3fb,_0x5387d7=_0x4de1c3[_0x225838(0x1d5)]-0x1,_0x52c6d9;_0x5387d7>=0x0;_0x5387d7--)(_0x52c6d9=_0x4de1c3[_0x5387d7])&&(_0x8a151e=_0x52c6d9(_0x8a151e)||_0x8a151e);return _0x8a151e;},N=(_0x34aa68,_0x2bd5f2)=>(_0x13c1bf,_0xa637b8)=>_0x2bd5f2(_0x13c1bf,_0xa637b8,_0x34aa68);let Q=class extends a[_0x26dd52(0x1cb)]{constructor(_0x24debb,_0x39a4a1,_0x11bbce,_0x4c2697,_0x273504,_0x1311ec,_0x99042f,_0x4c2702){const _0x3b6c65=_0x26dd52;super(),h(this,_0x3b6c65(0xdb),new d[(_0x3b6c65(0x302))](u[_0x3b6c65(0x310)][_0x3b6c65(0x2e1)])),(this[_0x3b6c65(0x1a2)]=_0x24debb,this['_collaborationController']=_0x39a4a1,this[_0x3b6c65(0x2d4)]=_0x11bbce,this['_docTransformStateCacheService']=_0x4c2697,this[_0x3b6c65(0x309)]=_0x273504,this[_0x3b6c65(0x1a9)]=_0x1311ec,this['_messageService']=_0x99042f,this[_0x3b6c65(0x203)]=_0x4c2702,this[_0x3b6c65(0x1bc)]());}[_0x26dd52(0x1bc)](){const _0x3d198c=_0x26dd52;this[_0x3d198c(0x146)](this[_0x3d198c(0x2e2)][_0x3d198c(0x104)][_0x3d198c(0x301)](_0x537ba5=>{const _0x4108fa=_0x3d198c,_0x4710aa=this[_0x4108fa(0x1a2)][_0x4108fa(0x196)]['subscribe'](_0x374462=>{const _0x5ada8f=_0x4108fa;if(_0x374462==null)return;const {unitId:_0x2a4094,redoState:_0xa9d337,commandId:_0x54665a}=_0x374462;if(_0x2a4094!==_0x537ba5[_0x5ada8f(0x2d7)])return;const _0x4ae3f7={'id':_0x54665a,'type':a['CommandType'][_0x5ada8f(0x2fb)],'params':{'unitId':_0x2a4094,'actions':_0xa9d337[_0x5ada8f(0xd0)],'textRanges':null}};_0x537ba5['onLocalMutation'](_0x4ae3f7);});if(_0x537ba5[_0x4108fa(0x146)](_0x4710aa),_0x537ba5 instanceof u[_0x4108fa(0x173)]){const _0x5e91a1={'onTransformIME':_0x34eaf7=>this['_docTransformIMECacheService']['transformIMECache'](_0x34eaf7),'onTransformState':_0x47a525=>this[_0x4108fa(0x1dd)][_0x4108fa(0x221)](_0x47a525),'onTransformSelections':_0x46fba2=>this['_docTransformSelectionsService']['transformSelections'](_0x46fba2),'onSyncEditingCollabCursor':_0x1ce219=>this[_0x4108fa(0x1a9)][_0x4108fa(0x28c)](_0x1ce219),'onTransformRemoteChangesetByIMECache':_0x408962=>this['_docTransformIMECacheService'][_0x4108fa(0x30c)](_0x408962),'onTransformRemoteChangesetByStateCache':_0x53f5eb=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x53f5eb)};_0x537ba5['addHandlerCallback'](_0x5e91a1);}}));}};Q=Xt([N(0x0,a[_0x26dd52(0x2bf)](E[_0x26dd52(0x1a3)])),N(0x1,a[_0x26dd52(0x2bf)](u[_0x26dd52(0x25f)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x26dd52(0x2bf)](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x26dd52(0x2bf)](Ce)),N(0x6,O[_0x26dd52(0x21c)]),N(0x7,a[_0x26dd52(0x2bf)](a['LocaleService']))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x1793d3,_0x4f99b6,_0x3b45fd,_0x2150db)=>{const _0xad5143=_0x26dd52;for(var _0x98c719=_0x2150db>0x1?void 0x0:_0x2150db?Gt(_0x4f99b6,_0x3b45fd):_0x4f99b6,_0x46b736=_0x1793d3[_0xad5143(0x1d5)]-0x1,_0x28b966;_0x46b736>=0x0;_0x46b736--)(_0x28b966=_0x1793d3[_0x46b736])&&(_0x98c719=_0x28b966(_0x98c719)||_0x98c719);return _0x98c719;},_e=(_0x3fe6be,_0x2662f8)=>(_0x44be2b,_0x5ac21c)=>_0x2662f8(_0x44be2b,_0x5ac21c,_0x3fe6be);let ge=class extends a['Disposable']{constructor(_0x50f00d,_0x2d3571,_0x5635dc){const _0x1265fc=_0x26dd52;super(),h(this,'_cachedData',new Map()),h(this,_0x1265fc(0x14a),new Map()),h(this,_0x1265fc(0x143),!0x1),(this[_0x1265fc(0x174)]=_0x50f00d,this[_0x1265fc(0x2eb)]=_0x2d3571,this[_0x1265fc(0x22e)]=_0x5635dc);}[_0x26dd52(0x2f2)](){const _0x5b8ffd=_0x26dd52;this[_0x5b8ffd(0x143)]=!0x0;}[_0x26dd52(0x17a)](){const _0x1f79ad=_0x26dd52;this[_0x1f79ad(0x143)]=!0x1;}get['saveTaskMap'](){const _0x210adc=_0x26dd52;return this[_0x210adc(0x14a)];}[_0x26dd52(0x1e2)](){const _0x40c279=_0x26dd52;this['exhaustSavingTask']()['then'](()=>super[_0x40c279(0x1e2)]());}async[_0x26dd52(0x23a)](_0x4ef2d4){const _0x3585e7=_0x26dd52;return this[_0x3585e7(0x143)]?null:this['_localStorageService'][_0x3585e7(0x1d0)](u[_0x3585e7(0x20e)](_0x4ef2d4));}async['saveOfflineData'](_0x15ef85,_0x2225fd){const _0x4de330=_0x26dd52;return!!this['_localStorageService'][_0x4de330(0xfb)](_0x15ef85,_0x2225fd);}['updateOfflineData'](_0x45ec7f,_0x318592,_0x54fc67,_0x2e37f5){const _0x2825a3=_0x26dd52,_0x3a8a5c=this[_0x2825a3(0x22e)][_0x2825a3(0x1d4)](_0x45ec7f);this['_cachedData'][_0x2825a3(0xf9)](_0x45ec7f,{'unitID':_0x45ec7f,'type':_0x318592,'awaitingChangeset':_0x54fc67,'mutations':_0x2e37f5,'rev':_0x3a8a5c}),this[_0x2825a3(0x14a)]['has'](_0x45ec7f)||this[_0x2825a3(0x2d8)](_0x45ec7f);}[_0x26dd52(0x2d8)](_0x492e99){const _0x176345=_0x26dd52,_0x2ee8fe=this[_0x176345(0x181)]();_0x2ee8fe===0x0?this[_0x176345(0x192)](_0x492e99):this[_0x176345(0x14a)][_0x176345(0xf9)](_0x492e99,setTimeout(()=>this[_0x176345(0x192)](_0x492e99),_0x2ee8fe));}[_0x26dd52(0x181)](){const _0xaf0ef7=_0x26dd52;var _0x2b0f5e;return(_0x2b0f5e=this[_0xaf0ef7(0x174)]['getConfig'](u[_0xaf0ef7(0xdf)]))!=null?_0x2b0f5e:u[_0xaf0ef7(0x2cb)];}[_0x26dd52(0x192)](_0x1d64d9){const _0x4319cf=_0x26dd52,_0x16c315=this[_0x4319cf(0x14a)][_0x4319cf(0x21b)](_0x1d64d9);return _0x16c315!==void 0x0&&window[_0x4319cf(0x30f)](_0x16c315),this[_0x4319cf(0x2eb)]['setItem'](u[_0x4319cf(0x20e)](_0x1d64d9),this[_0x4319cf(0x25c)][_0x4319cf(0x21b)](_0x1d64d9))[_0x4319cf(0x2d5)](()=>this[_0x4319cf(0x14a)][_0x4319cf(0x12b)](_0x1d64d9));}async[_0x26dd52(0x122)](){const _0x2bd163=_0x26dd52,_0x45bc2d=[];this[_0x2bd163(0x14a)][_0x2bd163(0x214)]((_0x4c337d,_0x45bdf8)=>{const _0x320939=_0x2bd163;window[_0x320939(0x30f)](_0x4c337d),_0x45bc2d['push'](this[_0x320939(0x192)](_0x45bdf8)['then'](()=>{const _0x226924=_0x320939;this[_0x226924(0x14a)][_0x226924(0x12b)](_0x45bdf8);}));}),await Promise[_0x2bd163(0x268)](_0x45bc2d);}};ge=Kt([_e(0x0,a[_0x26dd52(0x1be)]),_e(0x1,a[_0x26dd52(0x1f4)]),_e(0x2,a[_0x26dd52(0x2bf)](m['RevisionService']))],ge);class Be extends a[_0x26dd52(0x129)]{constructor(){const _0x743b9e=_0x26dd52;super(),h(this,_0x743b9e(0x261)),this[_0x743b9e(0x261)]=d['fromEvent'](window,_0x743b9e(0x102))[_0x743b9e(0x291)](d[_0x743b9e(0x251)](this['dispose$']),d[_0x743b9e(0x15a)](0x1),d['mapTo'](void 0x0));}[_0x26dd52(0x284)](_0x4d5630,_0x10507d,_0x47eed5=!0x1){const _0x46c923=_0x26dd52,_0x94e5bd=new URL(window[_0x46c923(0x270)]['href']);_0x94e5bd[_0x46c923(0x1b8)][_0x46c923(0xf9)](_0x4d5630,_0x10507d),_0x47eed5?window[_0x46c923(0x21e)][_0x46c923(0x20c)]('','',_0x94e5bd[_0x46c923(0x1c8)]()):window[_0x46c923(0x21e)][_0x46c923(0xe5)]('','',_0x94e5bd[_0x46c923(0x1c8)]());}[_0x26dd52(0x2ed)](_0x390f49,_0x5c600b=!0x1){const _0x265057=_0x26dd52,_0x2f1e7e=new URL(window[_0x265057(0x270)]['href']);_0x2f1e7e[_0x265057(0x1b8)][_0x265057(0x12b)](_0x390f49),_0x5c600b?window[_0x265057(0x21e)][_0x265057(0x20c)]('','',_0x2f1e7e[_0x265057(0x1c8)]()):window[_0x265057(0x21e)][_0x265057(0xe5)]('','',_0x2f1e7e[_0x265057(0x1c8)]());}[_0x26dd52(0x1fe)](_0x3e53f2){const _0x471c31=_0x26dd52;var _0x42fec7;return(_0x42fec7=new URL(window['location'][_0x471c31(0x126)])[_0x471c31(0x1b8)]['get'](_0x3e53f2))!=null?_0x42fec7:void 0x0;}}var qt=Object[_0x26dd52(0x2e5)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x4e4630,_0x47dbcc,_0x56b559)=>_0x47dbcc in _0x4e4630?qt(_0x4e4630,_0x47dbcc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56b559}):_0x4e4630[_0x47dbcc]=_0x56b559,Zt=(_0xfe29f1,_0xc805ca,_0x2b9290,_0x4850ce)=>{const _0x448b32=_0x26dd52;for(var _0x145c2b=_0x4850ce>0x1?void 0x0:_0x4850ce?zt(_0xc805ca,_0x2b9290):_0xc805ca,_0x16364e=_0xfe29f1[_0x448b32(0x1d5)]-0x1,_0x375263;_0x16364e>=0x0;_0x16364e--)(_0x375263=_0xfe29f1[_0x16364e])&&(_0x145c2b=_0x375263(_0x145c2b)||_0x145c2b);return _0x145c2b;},he=(_0x51da5b,_0x3efbe8)=>(_0x2c56a2,_0x15b312)=>_0x3efbe8(_0x2c56a2,_0x15b312,_0x51da5b),Qt=(_0x591368,_0x152e84,_0x37b4b1)=>Jt(_0x591368,_0x152e84+'',_0x37b4b1);const es=_0x26dd52(0xfe);exports[_0x26dd52(0x1d1)]=class extends a[_0x26dd52(0x1a1)]{constructor(_0x273fc5=Ue,_0x6a8568,_0x551b82,_0x4d25a2){const _0x2988ae=_0x26dd52;super(),this[_0x2988ae(0x244)]=_0x273fc5,this[_0x2988ae(0x1e8)]=_0x6a8568,this[_0x2988ae(0x14d)]=_0x551b82,this[_0x2988ae(0x174)]=_0x4d25a2;const {..._0x317d14}=a[_0x2988ae(0x1cf)]({},Ue,this[_0x2988ae(0x244)]);this['_configService']['setConfig']($t,_0x317d14);}[_0x26dd52(0x247)](){const _0x500eeb=_0x26dd52;this['_registerDependencies'](),this[_0x500eeb(0x119)]();}['onRendered'](){const _0x641cbd=_0x26dd52;this[_0x641cbd(0x1cc)]();}[_0x26dd52(0x2ff)](){const _0x4f4c82=_0x26dd52;var _0x2dfc11;const _0x573ba9=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G['ISocketService'],{'useClass':G['WebSocketService']}],[u[_0x4f4c82(0xc4)],{'useClass':ge}],[exports[_0x4f4c82(0x26c)]],[Q],[q],[x],[de],[exports[_0x4f4c82(0x303)]]];a[_0x4f4c82(0x26d)](this['_injector'],a[_0x4f4c82(0x193)](_0x573ba9,(_0x2dfc11=this[_0x4f4c82(0x244)])==null?void 0x0:_0x2dfc11[_0x4f4c82(0x283)]));}[_0x26dd52(0x1cc)](){const _0x5e7a4e=_0x26dd52;this[_0x5e7a4e(0x146)](this['_renderManagerService'][_0x5e7a4e(0x1f6)](a[_0x5e7a4e(0x2ae)]['UNIVER_DOC'],[fe])),this[_0x5e7a4e(0x146)](this[_0x5e7a4e(0x1e8)][_0x5e7a4e(0x1f6)](a[_0x5e7a4e(0x2ae)][_0x5e7a4e(0x27d)],[ve]));}[_0x26dd52(0x119)](){const _0xeb80=_0x26dd52;a[_0xeb80(0x282)](this[_0xeb80(0x14d)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[exports[_0xeb80(0x303)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x26dd52(0x135),es),exports[_0x26dd52(0x1d1)]=Zt([a['DependentOn'](u[_0x26dd52(0x2cf)]),he(0x1,p[_0x26dd52(0xf1)]),he(0x2,a[_0x26dd52(0x2bf)](a[_0x26dd52(0x18b)])),he(0x3,a[_0x26dd52(0x1be)])],exports[_0x26dd52(0x1d1)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x85a4bc,_0x18abb8,_0x1ebccf,_0xa6fb45)=>{const _0x298277=_0x26dd52;for(var _0x4f45af=_0xa6fb45>0x1?void 0x0:_0xa6fb45?ts(_0x18abb8,_0x1ebccf):_0x18abb8,_0x4d59e1=_0x85a4bc[_0x298277(0x1d5)]-0x1,_0x4da3f3;_0x4d59e1>=0x0;_0x4d59e1--)(_0x4da3f3=_0x85a4bc[_0x4d59e1])&&(_0x4f45af=_0x4da3f3(_0x4f45af)||_0x4f45af);return _0x4f45af;},H=(_0x4ddd04,_0x2e399f)=>(_0x38b7e1,_0x5e3b70)=>_0x2e399f(_0x38b7e1,_0x5e3b70,_0x4ddd04);exports[_0x26dd52(0x2ab)]=class extends u['CollaborationSocketService']{constructor(_0x57c21f,_0x2f3544,_0x558078,_0x551d4a,_0x424cd4){super(_0x57c21f,_0x2f3544,_0x558078,_0x551d4a,_0x424cd4);}async[_0x26dd52(0xe3)](_0x12ede4){const _0x38e7f3=_0x26dd52,_0x48cbf6=await this['_getSessionTicket'](),_0x41ff47=this[_0x38e7f3(0x235)](_0x12ede4,_0x48cbf6);return this['_doCreateSocket'](_0x41ff47);}['_createSocketURL'](_0x1b35ed,_0x15f65f){const _0x4c626f=_0x26dd52,_0x44018b=typeof window>'u'?new URL(_0x1b35ed):new URL(_0x1b35ed,window[_0x4c626f(0x270)][_0x4c626f(0xe6)]);_0x44018b[_0x4c626f(0x1b8)][_0x4c626f(0xf9)](_0x4c626f(0x2be),_0x15f65f);const _0x31cd80=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4c626f(0x270)][_0x4c626f(0x2e6)]);return _0x31cd80[_0x4c626f(0x21b)](_0x4c626f(0x1c5))&&_0x44018b[_0x4c626f(0x1b8)][_0x4c626f(0xf9)](_0x4c626f(0x1c5),_0x31cd80[_0x4c626f(0x21b)](_0x4c626f(0x1c5))),_0x44018b['toString']();}async[_0x26dd52(0x167)](){const _0x188f12=_0x26dd52;var _0x29ddef,_0x1fe40f,_0x5b6cc5;const _0x25b47b=this['_configService'][_0x188f12(0x2c9)](u[_0x188f12(0x24c)]),_0x2193be=(_0x29ddef=_0x25b47b==null?void 0x0:_0x25b47b[_0x188f12(0x288)])!=null?_0x29ddef:u[_0x188f12(0x24b)];return(_0x5b6cc5=(_0x1fe40f=(await this[_0x188f12(0x29a)][_0x188f12(0x21b)](_0x2193be,{'headers':{'Content-Type':_0x188f12(0x171)}}))[_0x188f12(0xbd)])==null?void 0x0:_0x1fe40f[_0x188f12(0x1b3)])!=null?_0x5b6cc5:'';}},exports['BrowserCollaborationSocketService']=ss([H(0x0,a['Inject'](a[_0x26dd52(0x18b)])),H(0x1,a[_0x26dd52(0x2bf)](G[_0x26dd52(0x172)])),H(0x2,a[_0x26dd52(0x1be)]),H(0x3,a[_0x26dd52(0x150)]),H(0x4,m[_0x26dd52(0x188)])],exports[_0x26dd52(0x2ab)]);const Me=0x7530,Le=_0x26dd52(0x30a);class is extends a[_0x26dd52(0x1cb)]{constructor(){const _0x1343d2=_0x26dd52;super(),h(this,'_id',a[_0x1343d2(0x2af)]()),h(this,_0x1343d2(0x1ad),new Set()),h(this,_0x1343d2(0x321),new Map()),h(this,_0x1343d2(0x1b2),null),h(this,_0x1343d2(0x29c),new Map()),h(this,_0x1343d2(0x25a),new Map()),this[_0x1343d2(0x145)]();}[_0x26dd52(0x1e2)](){const _0x26f0ff=_0x26dd52;super[_0x26f0ff(0x1e2)](),this[_0x26f0ff(0x29c)]['forEach']((_0x1b876d,_0x12010d)=>this[_0x26f0ff(0xac)](_0x12010d)),this[_0x26f0ff(0x1b2)]&&window[_0x26f0ff(0x218)](this['_heartbeatTimer']);}[_0x26dd52(0xbf)](_0x1e19df){const _0x2f6825=_0x26dd52;return this[_0x2f6825(0xcc)](_0x1e19df)[_0x2f6825(0x291)](d[_0x2f6825(0x16c)]());}['editingUnit'](_0x4aba4e){const _0x1c2975=_0x26dd52;this['_selfUnitIDs'][_0x1c2975(0x1b7)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1c2975(0x217)](_0x4aba4e),this['_send']({'type':0x0,'memberID':this[_0x1c2975(0xcb)],'unitIDs':[_0x4aba4e],'isForwarded':!0x1});}[_0x26dd52(0x305)](_0x261b54){const _0x4c3001=_0x26dd52;this[_0x4c3001(0x1ad)]['delete'](_0x261b54),this[_0x4c3001(0x1ad)]['size']===0x0&&this[_0x4c3001(0x1b2)]&&window[_0x4c3001(0x218)](this[_0x4c3001(0x1b2)]);}[_0x26dd52(0x145)](){const _0x5821e2=_0x26dd52;this[_0x5821e2(0x146)](a[_0x5821e2(0xc9)](d['fromEvent'](window,_0x5821e2(0x259))['subscribe'](_0x392cbd=>{const _0x47078b=_0x5821e2;if(_0x392cbd[_0x47078b(0xf6)]!==Le||!_0x392cbd[_0x47078b(0x2dc)])return;const _0x3b3c01=JSON[_0x47078b(0x187)](_0x392cbd['newValue']);this[_0x47078b(0x19a)](_0x3b3c01);}))),window[_0x5821e2(0x1ab)](_0x5821e2(0x323),()=>this['_send']({'type':0x1,'memberID':this[_0x5821e2(0xcb)],'unitIDs':Array[_0x5821e2(0x11e)](this[_0x5821e2(0x1ad)])}));}['_handleEvent'](_0x30e9d5){const _0x518c19=_0x26dd52;switch(_0x30e9d5[_0x518c19(0xdc)]){case 0x0:this[_0x518c19(0x1b1)](_0x30e9d5);break;case 0x1:this['_handleLeaveEvent'](_0x30e9d5);break;case 0x2:this['_handleHeartbeatEvent'](_0x30e9d5);break;}}[_0x26dd52(0x1b1)](_0x180e40){const _0x162673=_0x26dd52,{unitIDs:_0x409100,memberID:_0x25a4ba,isForwarded:_0x327625}=_0x180e40;_0x409100['forEach'](_0x11157b=>{const _0x2220fc=_0x178e;if(!_0x327625&&this[_0x2220fc(0x321)][_0x2220fc(0x220)](_0x11157b)&&this[_0x2220fc(0xcc)](_0x11157b)[_0x2220fc(0x184)](u[_0x2220fc(0x208)]['OTHER_CLIENTS_EDITING']),!this[_0x2220fc(0x321)]['has'](_0x11157b)||!this['_unitOnClients'][_0x2220fc(0x21b)](_0x11157b)[_0x2220fc(0x220)](_0x25a4ba)){const _0x3ad21f=this[_0x2220fc(0x321)][_0x2220fc(0x21b)](_0x11157b)||new Set();_0x3ad21f[_0x2220fc(0x217)](_0x25a4ba),this[_0x2220fc(0x321)][_0x2220fc(0xf9)](_0x11157b,_0x3ad21f),this[_0x2220fc(0xec)](_0x25a4ba);}}),_0x327625||this[_0x162673(0x314)]({'type':0x0,'memberID':this[_0x162673(0xcb)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x26dd52(0xec)](_0x24a572){const _0xe2e35b=_0x26dd52;this['_removeClearOtherTimer'](_0x24a572);const _0x1d0d51=window[_0xe2e35b(0x24e)](()=>{const _0x3c4374=_0xe2e35b;this['_unitOnClients'][_0x3c4374(0x214)](_0x1870e0=>{const _0x3c5c4c=_0x3c4374;_0x1870e0[_0x3c5c4c(0x12b)](_0x24a572);});},Me*0x2);this[_0xe2e35b(0x29c)]['set'](_0x24a572,_0x1d0d51);}[_0x26dd52(0xac)](_0x236543){const _0x39a00d=_0x26dd52;if(this[_0x39a00d(0x29c)][_0x39a00d(0x220)](_0x236543)){const _0xe3988b=this[_0x39a00d(0x29c)][_0x39a00d(0x21b)](_0x236543);_0xe3988b&&window[_0x39a00d(0x30f)](_0xe3988b),this[_0x39a00d(0x29c)]['set'](_0x236543,null);}}[_0x26dd52(0x2a8)](_0x103475){const _0x1a0afb=_0x26dd52,{memberID:_0x55d702,unitIDs:_0x58c25a}=_0x103475;_0x58c25a[_0x1a0afb(0x214)](_0x258683=>{const _0x6bcfc2=_0x1a0afb;var _0x26d684;const _0x3c0171=this['_unitOnClients'][_0x6bcfc2(0x21b)](_0x258683);_0x3c0171&&(_0x3c0171[_0x6bcfc2(0x12b)](_0x55d702),(_0x26d684=this['_ensureSubject'](_0x258683))==null||_0x26d684[_0x6bcfc2(0x184)](_0x3c0171[_0x6bcfc2(0x1b7)]===0x0?u[_0x6bcfc2(0x208)]['NO_OTHER_CLIENTS_EDITING']:u[_0x6bcfc2(0x208)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x55d702);}[_0x26dd52(0x2df)](_0x5d81da){const _0x1bec23=_0x26dd52;this['_scheduleClearOtherTimer'](_0x5d81da[_0x1bec23(0x155)]);}['_send'](_0x3bd2a9){const _0x3fabbd=_0x26dd52;localStorage[_0x3fabbd(0xfb)](Le,JSON[_0x3fabbd(0x2f6)](_0x3bd2a9));}[_0x26dd52(0x31a)](){const _0x5854d9=_0x26dd52;this['_heartbeatTimer']=window[_0x5854d9(0x194)](()=>{const _0x594cdd=_0x5854d9;this[_0x594cdd(0x314)]({'type':0x2,'memberID':this[_0x594cdd(0xcb)]});},Me);}[_0x26dd52(0xcc)](_0x136062){const _0x4917f4=_0x26dd52;return this[_0x4917f4(0x25a)][_0x4917f4(0x220)](_0x136062)||this['_unitStatus']['set'](_0x136062,new d[(_0x4917f4(0x302))](u[_0x4917f4(0x208)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x4917f4(0x21b)](_0x136062);}}var je=(_0x435b5a=>(_0x435b5a[_0x435b5a['UNDEFINED']=0x0]=_0x26dd52(0x278),_0x435b5a[_0x435b5a['OK']=0x1]='OK',_0x435b5a[_0x435b5a[_0x26dd52(0x2f1)]=0x2]=_0x26dd52(0x2f1),_0x435b5a[_0x435b5a['PERMISSION_DENIED']=0x3]=_0x26dd52(0x315),_0x435b5a[_0x435b5a['NOT_FOUND']=0x4]=_0x26dd52(0x326),_0x435b5a[_0x435b5a['UNAUTHENTICATED']=0x5]=_0x26dd52(0x21a),_0x435b5a[_0x435b5a['ALREADY_EXISTS']=0x6]=_0x26dd52(0x106),_0x435b5a[_0x435b5a[_0x26dd52(0x324)]=0x7]='INVALID_ARGUMENT',_0x435b5a[_0x435b5a[_0x26dd52(0x312)]=0x8]=_0x26dd52(0x312),_0x435b5a[_0x435b5a[_0x26dd52(0xe1)]=0x9]=_0x26dd52(0xe1),_0x435b5a[_0x435b5a[_0x26dd52(0x237)]=0xa]=_0x26dd52(0x237),_0x435b5a[_0x435b5a[_0x26dd52(0x26e)]=0xb]=_0x26dd52(0x26e),_0x435b5a[_0x435b5a[_0x26dd52(0xcf)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x435b5a[_0x435b5a[_0x26dd52(0x1c9)]=0xd]=_0x26dd52(0x1c9),_0x435b5a[_0x435b5a[_0x26dd52(0x159)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x435b5a[_0x435b5a[_0x26dd52(0xf7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x435b5a[_0x435b5a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x26dd52(0x272),_0x435b5a[_0x435b5a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x26dd52(0x2cd),_0x435b5a[_0x435b5a[_0x26dd52(0x32d)]=0x1773]=_0x26dd52(0x32d),_0x435b5a[_0x435b5a[_0x26dd52(0x1b5)]=0x1b59]=_0x26dd52(0x1b5),_0x435b5a[_0x435b5a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x26dd52(0x2b7),_0x435b5a[_0x435b5a[_0x26dd52(0x18c)]=0x1b5b]=_0x26dd52(0x18c),_0x435b5a[_0x435b5a[_0x26dd52(0x286)]=0x1b5c]=_0x26dd52(0x286),_0x435b5a[_0x435b5a[_0x26dd52(0x21d)]=0x1b5d]='APPLY_DUPLICATED',_0x435b5a[_0x435b5a[_0x26dd52(0x107)]=0x1f41]=_0x26dd52(0x107),_0x435b5a[_0x435b5a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x26dd52(0x2aa),_0x435b5a[_0x435b5a[_0x26dd52(0x1b4)]=0x232a]=_0x26dd52(0x1b4),_0x435b5a[_0x435b5a[_0x26dd52(0x1d8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x435b5a[_0x435b5a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x435b5a[_0x435b5a[_0x26dd52(0x144)]=0x232d]=_0x26dd52(0x144),_0x435b5a[_0x435b5a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x26dd52(0x227),_0x435b5a[_0x435b5a[_0x26dd52(0xff)]=0x2712]=_0x26dd52(0xff),_0x435b5a[_0x435b5a[_0x26dd52(0x1c2)]=0x2713]=_0x26dd52(0x1c2),_0x435b5a[_0x435b5a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x26dd52(0x32b),_0x435b5a[_0x435b5a[_0x26dd52(0x156)]=0x271a]=_0x26dd52(0x156),_0x435b5a[_0x435b5a['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x26dd52(0x199),_0x435b5a[_0x435b5a[_0x26dd52(0x2ad)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x435b5a[_0x435b5a[_0x26dd52(0xf3)]=0x271d]=_0x26dd52(0xf3),_0x435b5a[_0x435b5a[_0x26dd52(0x30b)]=0x271e]=_0x26dd52(0x30b),_0x435b5a[_0x435b5a[_0x26dd52(0x16e)]=0x271f]=_0x26dd52(0x16e),_0x435b5a[_0x435b5a['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x26dd52(0x1ba),_0x435b5a[_0x435b5a[_0x26dd52(0x1fd)]=0x2af9]=_0x26dd52(0x1fd),_0x435b5a[_0x435b5a[_0x26dd52(0xda)]=0x2ee1]=_0x26dd52(0xda),_0x435b5a[_0x435b5a['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x435b5a[_0x435b5a[_0x26dd52(0x147)]=0x2ee3]=_0x26dd52(0x147),_0x435b5a[_0x435b5a[_0x26dd52(0xc6)]=0x2ee4]=_0x26dd52(0xc6),_0x435b5a[_0x435b5a[_0x26dd52(0x178)]=0x2ee5]=_0x26dd52(0x178),_0x435b5a[_0x435b5a[_0x26dd52(0x2b8)]=0x32c9]=_0x26dd52(0x2b8),_0x435b5a[_0x435b5a[_0x26dd52(0x2bd)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x435b5a[_0x435b5a[_0x26dd52(0x103)]=0x32cb]=_0x26dd52(0x103),_0x435b5a[_0x435b5a['UNRECOGNIZED']=-0x1]=_0x26dd52(0x308),_0x435b5a))(je||{}),ns=Object[_0x26dd52(0xf0)],rs=(_0x5e36f5,_0x16dab3,_0x5823e5,_0x2343bb)=>{for(var _0xc38848=_0x2343bb>0x1?void 0x0:_0x2343bb?ns(_0x16dab3,_0x5823e5):_0x16dab3,_0xff239=_0x5e36f5['length']-0x1,_0x43dbeb;_0xff239>=0x0;_0xff239--)(_0x43dbeb=_0x5e36f5[_0xff239])&&(_0xc38848=_0x43dbeb(_0xc38848)||_0xc38848);return _0xc38848;},ue=(_0x2c5aa8,_0x1a856d)=>(_0x837ba4,_0x4561fe)=>_0x1a856d(_0x837ba4,_0x4561fe,_0x2c5aa8);exports[_0x26dd52(0xc8)]=class extends a['Disposable']{constructor(_0x11454f,_0x371f73,_0x521713){super(),this['_instanceService']=_0x11454f,this['_httpService']=_0x371f73,this['_configService']=_0x521713;}async[_0x26dd52(0x128)](_0x4292e5,_0x3b3bd6,_0x549b91,..._0x32bbd7){const _0x1a7b45=_0x26dd52;var _0x413616,_0x2b0a76,_0x319d07,_0x11d89f;const _0x23a87e=this[_0x1a7b45(0xdd)][_0x1a7b45(0x111)]();if(!_0x23a87e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1079b0=((_0x413616=this['_configService'][_0x1a7b45(0x2c9)](u[_0x1a7b45(0xad)]))!=null?_0x413616:u[_0x1a7b45(0x2a9)])+'/'+_0x4292e5+_0x1a7b45(0x2db)+_0x3b3bd6,_0x147042=new URL(window['location'][_0x1a7b45(0x126)]),_0x1e24ed={'scriptId':_0x4292e5,'runId':(_0x2b0a76=_0x147042[_0x1a7b45(0x1b8)][_0x1a7b45(0x21b)](_0x1a7b45(0x1c5)))!=null?_0x2b0a76:'','function':_0x3b3bd6,'unitId':_0x23a87e[_0x1a7b45(0xee)](),'argsOfFunction':JSON[_0x1a7b45(0x2f6)](_0x32bbd7),'invokeId':(_0x319d07=_0x549b91[_0x1a7b45(0x13a)])!=null?_0x319d07:'','executionId':(_0x11d89f=_0x549b91[_0x1a7b45(0x28f)])!=null?_0x11d89f:''};try{const _0x440b7b=await this[_0x1a7b45(0x29a)]['post'](_0x1079b0,{'body':_0x1e24ed});return _0x440b7b['body'][_0x1a7b45(0x12c)]&&_0x440b7b[_0x1a7b45(0xbd)][_0x1a7b45(0x12c)]['code']!==je['OK']?_0x1a7b45(0x22c):_0x440b7b[_0x1a7b45(0xbd)]['result'];}catch{return _0x1a7b45(0x22c);}}},exports[_0x26dd52(0xc8)]=rs([ue(0x0,a[_0x26dd52(0x121)]),ue(0x1,a[_0x26dd52(0x2bf)](G[_0x26dd52(0x172)])),ue(0x2,a[_0x26dd52(0x1be)])],exports['RemoteUniscriptService']),exports['CollaborationStatusDisplay']=xe,exports[_0x26dd52(0x10b)]=Ee,exports[_0x26dd52(0x267)]=we,exports[_0x26dd52(0x2bb)]=is,exports[_0x26dd52(0x10d)]=Be;
|
|
1
|
+
'use strict';const _0x3d2806=_0x2d87;(function(_0x994e4e,_0x2f20ce){const _0x291929=_0x2d87,_0x24f5cc=_0x994e4e();while(!![]){try{const _0x439788=parseInt(_0x291929(0x1df))/0x1*(-parseInt(_0x291929(0x27a))/0x2)+-parseInt(_0x291929(0x185))/0x3+-parseInt(_0x291929(0x89))/0x4*(-parseInt(_0x291929(0x1dd))/0x5)+parseInt(_0x291929(0xf3))/0x6+parseInt(_0x291929(0x287))/0x7*(-parseInt(_0x291929(0x315))/0x8)+-parseInt(_0x291929(0x251))/0x9+-parseInt(_0x291929(0x174))/0xa*(-parseInt(_0x291929(0x18b))/0xb);if(_0x439788===_0x2f20ce)break;else _0x24f5cc['push'](_0x24f5cc['shift']());}catch(_0x1c987a){_0x24f5cc['push'](_0x24f5cc['shift']());}}}(_0x5e28,0x1d237));var Ve=Object[_0x3d2806(0x27d)],Xe=(_0xa9b2f0,_0x288d4f,_0x2fad46)=>_0x288d4f in _0xa9b2f0?Ve(_0xa9b2f0,_0x288d4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2fad46}):_0xa9b2f0[_0x288d4f]=_0x2fad46,h=(_0x470d28,_0xc99b4a,_0x19de42)=>Xe(_0x470d28,typeof _0xc99b4a!=_0x3d2806(0x253)?_0xc99b4a+'':_0xc99b4a,_0x19de42);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x3d2806(0x1f4)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),G=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),be=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object[_0x3d2806(0x19f)],ze=(_0x527e65,_0x2b39a8,_0x17b8b1,_0x228d40)=>{const _0x86cb48=_0x3d2806;for(var _0x5e8d78=_0x228d40>0x1?void 0x0:_0x228d40?qe(_0x2b39a8,_0x17b8b1):_0x2b39a8,_0x407c75=_0x527e65[_0x86cb48(0x83)]-0x1,_0x1992b8;_0x407c75>=0x0;_0x407c75--)(_0x1992b8=_0x527e65[_0x407c75])&&(_0x5e8d78=_0x1992b8(_0x5e8d78)||_0x5e8d78);return _0x5e8d78;},Oe=(_0x24fbd5,_0x2eec79)=>(_0x8f9d1d,_0x4c0a88)=>_0x2eec79(_0x8f9d1d,_0x4c0a88,_0x24fbd5);let de=class extends a['RxDisposable']{constructor(_0x5e3fdc,_0x4ef5a8){const _0x311bb5=_0x3d2806;super(),this['_docClipboardService']=_0x5e3fdc,this[_0x311bb5(0x16e)]=_0x4ef5a8,this[_0x311bb5(0x1ad)]();}[_0x3d2806(0x1ad)](){const _0x5bcb12=_0x3d2806,_0x5751ae=this;this[_0x5bcb12(0x94)](this[_0x5bcb12(0x1a0)][_0x5bcb12(0x2ca)]({'onBeforePasteImage':async _0x10f2b8=>{const _0x7972ec=_0x5bcb12,_0x20db14=await _0x5751ae[_0x7972ec(0x16e)][_0x7972ec(0x162)](_0x10f2b8);return _0x20db14?{'source':_0x20db14[_0x7972ec(0x204)],'imageSourceType':_0x20db14['imageSourceType']}:null;}}));}};de=ze([Oe(0x0,E[_0x3d2806(0x146)]),Oe(0x1,Ge[_0x3d2806(0x2a5)])],de);const Te=[_0x3d2806(0x2a0),_0x3d2806(0x2f2),_0x3d2806(0x112),_0x3d2806(0x23d),_0x3d2806(0x9a),'yellow.400'];class me extends a[_0x3d2806(0x2c3)]{constructor(){const _0x119563=_0x3d2806;super(...arguments),h(this,_0x119563(0x291),new Map()),h(this,_0x119563(0x2a6),0x0);}[_0x3d2806(0x2d6)](_0x289524){const _0x27df4e=_0x3d2806;if(this['_assignedColors'][_0x27df4e(0x2c2)](_0x289524))return this[_0x27df4e(0x291)][_0x27df4e(0x107)](_0x289524);const _0x348384=Te[this[_0x27df4e(0x2a6)]];return this[_0x27df4e(0x2a6)]=(this['_colorIndex']+0x1)%Te[_0x27df4e(0x83)],this['_assignedColors'][_0x27df4e(0x8a)](_0x289524,_0x348384),_0x348384;}}function Pe(_0xa3f27b){let _0x2395b5='';for(const _0x4aa7b0 of _0xa3f27b){const {startOffset:_0x5cc84e,endOffset:_0x144568,isActive:_0x488c59,rangeType:_0x5dba39,segmentId:_0x14782a,segmentPage:_0x177312}=_0x4aa7b0;_0x2395b5['length']&&(_0x2395b5+=','),_0x2395b5+=_0x5cc84e+':'+_0x144568+':'+(_0x488c59?'1':'0')+':'+_0x5dba39+':'+_0x14782a+':'+_0x177312;}return _0x2395b5;}function Je(_0x4dc64f){const _0x253f67=_0x3d2806,_0x178da2=_0x4dc64f['split'](','),_0x132ad8=[];for(const _0x37f9f6 of _0x178da2){const [_0x63d198,_0x1b29d2,_0xb0694d,_0x1fd5be,_0x582b68,_0x235e3f]=_0x37f9f6[_0x253f67(0xf0)](':');_0x132ad8['push']({'startOffset':Number(_0x63d198),'endOffset':Number(_0x1b29d2),'collapsed':_0x63d198===_0x1b29d2,'isActive':_0xb0694d==='1','rangeType':_0x1fd5be===a[_0x253f67(0x101)][_0x253f67(0x8e)]?a[_0x253f67(0x101)][_0x253f67(0x8e)]:a[_0x253f67(0x101)][_0x253f67(0x21b)],'segmentId':typeof _0x582b68==_0x253f67(0x258)?String(_0x582b68):'','segmentPage':Number(_0x235e3f!=null?_0x235e3f:-0x1)});}return _0x132ad8[_0x253f67(0x1f7)](_0x2af3b7=>_0x2af3b7[_0x253f67(0x82)])||(_0x132ad8[0x0][_0x253f67(0x82)]=!0x0),_0x132ad8;}class Ce extends a[_0x3d2806(0x96)]{constructor(){const _0x2bcc1e=_0x3d2806;super(...arguments),h(this,'_collabCursorState$',new d[(_0x2bcc1e(0xec))](null)),h(this,'collabCursorState$',this[_0x2bcc1e(0x275)][_0x2bcc1e(0x2cd)]());}['syncEditingCollabCursor'](_0x593029){const _0x1b6dd1=_0x3d2806,{unitID:_0x3a9611,memberID:_0x23b84b,textRanges:_0x4ffb85}=_0x593029,_0x24cc0d=Pe(_0x4ffb85);if(_0x24cc0d==='')return;const _0x2077d6={'unitID':_0x3a9611,'memberID':_0x23b84b,'selection':_0x24cc0d};this[_0x1b6dd1(0x275)]['next'](_0x2077d6);}}var Ze=Object['getOwnPropertyDescriptor'],Qe=(_0x4f01db,_0x73c4f3,_0x2f1ab0,_0xa63a6d)=>{const _0x4aa299=_0x3d2806;for(var _0x2f4a95=_0xa63a6d>0x1?void 0x0:_0xa63a6d?Ze(_0x73c4f3,_0x2f1ab0):_0x73c4f3,_0x399dc8=_0x4f01db[_0x4aa299(0x83)]-0x1,_0x91e30b;_0x399dc8>=0x0;_0x399dc8--)(_0x91e30b=_0x4f01db[_0x399dc8])&&(_0x2f4a95=_0x91e30b(_0x2f4a95)||_0x2f4a95);return _0x2f4a95;},L=(_0xd043fc,_0x3382fa)=>(_0x522c4c,_0x2ab384)=>_0x3382fa(_0x522c4c,_0x2ab384,_0xd043fc);const et=0x12c,tt=0x64;let Ie=class extends a[_0x3d2806(0x96)]{constructor(_0x2a3187,_0x4d92f9,_0x39f0f5,_0x32cbc2,_0x2971a3,_0xfba36d,_0xbfd599,_0x556342,_0x47141e){const _0x25d91c=_0x3d2806;super(),h(this,_0x25d91c(0x1aa),!0x1),h(this,_0x25d91c(0x1ad),!0x1),h(this,_0x25d91c(0x143),new d['BehaviorSubject'](new Map())),h(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),h(this,_0x25d91c(0x11d),new d['BehaviorSubject']([])),h(this,'roomMembers$',this[_0x25d91c(0x11d)]['pipe'](d[_0x25d91c(0x280)](et))),h(this,_0x25d91c(0x237),a[_0x25d91c(0x296)](_0x52e78d=>{const _0x49a8d9=_0x25d91c,_0x478934={'eventID':m[_0x49a8d9(0x28b)][_0x49a8d9(0xd0)],'data':{'unitID':this[_0x49a8d9(0x1ec)],'memberID':this[_0x49a8d9(0x29a)]['getMemberID'](),'selection':Pe(_0x52e78d)}};this[_0x49a8d9(0x29a)][_0x49a8d9(0x2dc)](_0x478934,this[_0x49a8d9(0x1ec)]);},tt)),(this['unitID']=_0x2a3187,this[_0x25d91c(0x29a)]=_0x4d92f9,this[_0x25d91c(0x193)]=_0x39f0f5,this[_0x25d91c(0x1af)]=_0x32cbc2,this[_0x25d91c(0x1ee)]=_0x2971a3,this[_0x25d91c(0x30d)]=_0xfba36d,this[_0x25d91c(0x13d)]=_0xbfd599,this[_0x25d91c(0x1a8)]=_0x556342,this[_0x25d91c(0xa3)]=_0x47141e);}get[_0x3d2806(0x27e)](){const _0x41d662=_0x3d2806;return this['_cursorInfo$'][_0x41d662(0x150)]();}get[_0x3d2806(0x25f)](){const _0xc8f1fd=_0x3d2806;return this[_0xc8f1fd(0x11d)]['getValue']();}['dispose'](){const _0x546309=_0x3d2806;super['dispose'](),this[_0x546309(0x143)][_0x546309(0x1bf)](new Map()),this[_0x546309(0x143)][_0x546309(0xa2)](),this['_roomMembers$']['next']([]),this[_0x546309(0x11d)]['complete']();}[_0x3d2806(0x106)](){const _0x466ff6=_0x3d2806;this[_0x466ff6(0x1ad)]||(this[_0x466ff6(0x1ad)]=!0x0,this[_0x466ff6(0x29a)][_0x466ff6(0xeb)][_0x466ff6(0x2c6)](d[_0x466ff6(0x189)](this[_0x466ff6(0x139)]))[_0x466ff6(0x124)](_0x1b7032=>{const _0x2f0775=_0x466ff6;_0x1b7032===u[_0x2f0775(0x99)][_0x2f0775(0x10d)]?this[_0x2f0775(0x21d)]():this[_0x2f0775(0x2df)]();}),this[_0x466ff6(0x29a)][_0x466ff6(0x19c)][_0x466ff6(0x2c6)](d[_0x466ff6(0x189)](this[_0x466ff6(0x139)]))[_0x466ff6(0x124)](_0x46710c=>{const _0x182187=_0x466ff6,_0x563ad8=_0x46710c['eventID'];_0x563ad8===m['CollaborationEvent'][_0x182187(0xd0)]&&this['_onCursorUpdate'](_0x46710c),_0x563ad8===m['CollaborationEvent'][_0x182187(0x301)]&&this[_0x182187(0x14c)](_0x46710c);}),this[_0x466ff6(0x94)](this[_0x466ff6(0xa3)]['onCommandExecuted'](_0x78cef=>{const _0x303f86=_0x466ff6,_0x4e3a94=_0x78cef['params'];_0x4e3a94!=null&&this[_0x303f86(0x1aa)]&&_0x78cef['id']===Y[_0x303f86(0xfb)]['id']&&_0x4e3a94[_0x303f86(0x211)]===this[_0x303f86(0x1ec)]&&_0x4e3a94[_0x303f86(0x29c)]===!0x1&&_0x4e3a94[_0x303f86(0x17d)][_0x303f86(0x83)]>0x0&&this['_updateLocalCursor'](_0x4e3a94[_0x303f86(0x17d)]);})),this[_0x466ff6(0x30d)][_0x466ff6(0xd1)][_0x466ff6(0x2c6)](d[_0x466ff6(0x189)](this[_0x466ff6(0x139)]))[_0x466ff6(0x124)](_0x2c595a=>{const _0x7874f9=_0x466ff6;if((_0x2c595a==null?void 0x0:_0x2c595a[_0x7874f9(0x1ec)])!==this['unitID'])return;const _0x33d8e2={'eventID':m[_0x7874f9(0x28b)][_0x7874f9(0xd0)],'data':_0x2c595a};this[_0x7874f9(0x16c)](_0x33d8e2);}),this[_0x466ff6(0x94)](this[_0x466ff6(0xa3)][_0x466ff6(0xf1)](_0x13e4bd=>{const _0x5b667a=_0x466ff6;if(_0x13e4bd[_0x5b667a(0x180)]==null)return;const _0x5e9ef6=_0x13e4bd[_0x5b667a(0x180)];if(_0x13e4bd['id']!==Y[_0x5b667a(0x114)]['id']||_0x5e9ef6[_0x5b667a(0x211)]!==this[_0x5b667a(0x1ec)])return;const _0x2dbf27={'id':'doc.mutation.rich-text-editing','params':_0x5e9ef6},_0x45cf84=this[_0x5b667a(0x27e)];for(const [_0x428ed7,_0x222aa6]of _0x45cf84){const _0x5530a9={'id':_0x5b667a(0x1d9),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x222aa6[_0x5b667a(0x17d)]}},_0x665c90=this['_transformService'][_0x5b667a(0x2cc)](_0x2dbf27,_0x5530a9,!0x1);if(m[_0x5b667a(0x2f7)](_0x665c90))throw _0x665c90['error'];_0x45cf84[_0x5b667a(0x8a)](_0x428ed7,{..._0x222aa6,'ranges':_0x665c90[_0x5b667a(0xb2)][_0x5b667a(0x180)]['textRanges']});}queueMicrotask(()=>{const _0x382ea4=_0x5b667a;this[_0x382ea4(0x143)]['next'](_0x45cf84);});})));}[_0x3d2806(0x16c)](_0x46e272){const _0x1696ea=_0x3d2806;var _0x15aaa6,_0x10fda6;const {memberID:_0x1b3524,selection:_0x8270c8}=_0x46e272['data'],_0x4137b1=Je(_0x8270c8),_0x526c47=(_0x10fda6=(_0x15aaa6=this[_0x1696ea(0x1ee)]['getMember'](this[_0x1696ea(0x1ec)],_0x1b3524))==null?void 0x0:_0x15aaa6[_0x1696ea(0x1b5)])!=null?_0x10fda6:_0x1696ea(0x1e7),_0x111804={'color':this['_colorAssignService'][_0x1696ea(0x2d6)](_0x1b3524),'name':_0x526c47,'ranges':_0x4137b1},_0x30303f=this['cursorInfo'];_0x30303f[_0x1696ea(0x8a)](_0x1b3524,_0x111804),this[_0x1696ea(0x143)][_0x1696ea(0x1bf)](_0x30303f);}['_onCursorDelete'](_0x5ef30f){const _0x261d17=_0x3d2806,{memberID:_0x570081}=_0x5ef30f[_0x261d17(0x87)],_0x580356=this[_0x261d17(0x27e)];_0x580356['delete'](_0x570081),this[_0x261d17(0x143)][_0x261d17(0x1bf)](_0x580356);}[_0x3d2806(0x21d)](){const _0x1828e0=_0x3d2806;var _0x1734bb;if(this[_0x1828e0(0x1aa)]=!0x0,((_0x1734bb=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1734bb['getUnitId']())!==this[_0x1828e0(0x1ec)])return;const _0x38609=this[_0x1828e0(0x193)][_0x1828e0(0x107)](Y[_0x1828e0(0x2d1)])[_0x1828e0(0x127)]();Array[_0x1828e0(0xf5)](_0x38609)&&_0x38609[_0x1828e0(0x83)]>0x0&&this['_updateLocalCursor'](_0x38609);}[_0x3d2806(0x2df)](){const _0x38996b=_0x3d2806;this[_0x38996b(0x1aa)]=!0x1;}};Ie=Qe([L(0x2,a[_0x3d2806(0xb9)](a[_0x3d2806(0x145)])),L(0x3,a[_0x3d2806(0xb9)](me)),L(0x4,a[_0x3d2806(0xb9)](u[_0x3d2806(0x130)])),L(0x5,a[_0x3d2806(0xb9)](Ce)),L(0x6,m[_0x3d2806(0xd9)]),L(0x7,a[_0x3d2806(0x15b)]),L(0x8,a[_0x3d2806(0xbb)])],Ie);var st=Object[_0x3d2806(0x19f)],it=(_0x2a2f13,_0x1ba6ff,_0x38bf7d,_0x568bbf)=>{const _0x1e05e9=_0x3d2806;for(var _0x1d15ed=_0x568bbf>0x1?void 0x0:_0x568bbf?st(_0x1ba6ff,_0x38bf7d):_0x1ba6ff,_0x46a7bc=_0x2a2f13[_0x1e05e9(0x83)]-0x1,_0x46d1e3;_0x46a7bc>=0x0;_0x46a7bc--)(_0x46d1e3=_0x2a2f13[_0x46a7bc])&&(_0x1d15ed=_0x46d1e3(_0x1d15ed)||_0x1d15ed);return _0x1d15ed;},A=(_0x1982be,_0x4cd84c)=>(_0x16256e,_0x555e62)=>_0x4cd84c(_0x16256e,_0x555e62,_0x1982be);function _0x2d87(_0x27a402,_0x1c6309){const _0x5e28c1=_0x5e28();return _0x2d87=function(_0x2d8783,_0xe83ea5){_0x2d8783=_0x2d8783-0x81;let _0xee8edd=_0x5e28c1[_0x2d8783];return _0xee8edd;},_0x2d87(_0x27a402,_0x1c6309);}const nt=0x12c,rt=0x64,ot=()=>{let _0x4c6e67=[],_0x1d5b81=!0x1;return _0x26ced8=>{const _0x17f35f=_0x2d87;_0x4c6e67[_0x17f35f(0x210)](_0x26ced8),_0x1d5b81||(_0x1d5b81=!0x0,setTimeout(()=>{const _0xb547db=_0x17f35f;_0x4c6e67[_0xb547db(0x246)](_0x15b5b4=>_0x15b5b4()),_0x4c6e67=[],_0x1d5b81=!0x1;}));};};let Se=class extends a[_0x3d2806(0x96)]{constructor(_0x3b499d,_0x7b37ff,_0x2215ce,_0x5ae87a,_0xac9df8,_0x4deeed,_0x5d85ad,_0x13f634){const _0xa964e=_0x3d2806;super(),h(this,'_online',!0x1),h(this,_0xa964e(0x1ad),!0x1),h(this,'_cursorInfo$',new d[(_0xa964e(0xec))](new Map())),h(this,_0xa964e(0x233),this[_0xa964e(0x143)][_0xa964e(0x2cd)]()),h(this,_0xa964e(0x11d),new d[(_0xa964e(0xec))]([])),h(this,_0xa964e(0x20b),this[_0xa964e(0x11d)]['pipe'](d[_0xa964e(0x280)](nt))),h(this,_0xa964e(0x237),a[_0xa964e(0x296)]((_0x74801c,_0x5ce019)=>{const _0x54fb03=_0xa964e,_0x55acda={'eventID':m['CollaborationEvent'][_0x54fb03(0xd0)],'data':{'unitID':this['unitID'],'memberID':this[_0x54fb03(0x29a)][_0x54fb03(0x24f)](),'selection':be[_0x54fb03(0x224)](_0x74801c,_0x5ce019[_0x54fb03(0x27b)])}};this[_0x54fb03(0x29a)][_0x54fb03(0x2dc)](_0x55acda,this[_0x54fb03(0x1ec)]);},rt)),(this[_0xa964e(0x1ec)]=_0x3b499d,this[_0xa964e(0x29a)]=_0x7b37ff,this[_0xa964e(0x193)]=_0x2215ce,this[_0xa964e(0x1af)]=_0x5ae87a,this[_0xa964e(0x1ee)]=_0xac9df8,this[_0xa964e(0x1a8)]=_0x4deeed,this[_0xa964e(0xa3)]=_0x5d85ad,this[_0xa964e(0xbe)]=_0x13f634);}get['cursorInfo'](){const _0x323244=_0x3d2806;return this[_0x323244(0x143)][_0x323244(0x150)]();}get[_0x3d2806(0x25f)](){const _0x360450=_0x3d2806;return this[_0x360450(0x11d)]['getValue']();}[_0x3d2806(0xe3)](){const _0x5b7349=_0x3d2806;super[_0x5b7349(0xe3)](),this[_0x5b7349(0x143)]['next'](new Map()),this['_cursorInfo$'][_0x5b7349(0xa2)](),this[_0x5b7349(0x11d)][_0x5b7349(0x1bf)]([]),this['_roomMembers$']['complete']();}[_0x3d2806(0x106)](){const _0x1b6bde=_0x3d2806;this[_0x1b6bde(0x1ad)]||(this[_0x1b6bde(0x1ad)]=!0x0,this[_0x1b6bde(0x29a)][_0x1b6bde(0xeb)]['pipe'](d['takeUntil'](this['dispose$']))[_0x1b6bde(0x124)](_0x4aa21d=>{const _0x27716b=_0x1b6bde;_0x4aa21d===u[_0x27716b(0x99)][_0x27716b(0x10d)]?this[_0x27716b(0x21d)]():this['_toggleOffline']();}),this[_0x1b6bde(0x29a)][_0x1b6bde(0x19c)][_0x1b6bde(0x2c6)](d[_0x1b6bde(0x189)](this['dispose$']))[_0x1b6bde(0x124)](_0x4490f0=>{const _0x4ef1c8=_0x1b6bde,_0x272f43=_0x4490f0['eventID'];_0x272f43===m['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x4ef1c8(0x16c)](_0x4490f0),_0x272f43===m[_0x4ef1c8(0x28b)][_0x4ef1c8(0x301)]&&this[_0x4ef1c8(0x14c)](_0x4490f0);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x1b6bde(0xa3)]['onCommandExecuted'](_0x268ba1=>{const _0x33c320=_0x1b6bde;if(this[_0x33c320(0x1aa)]&&_0x268ba1['id']===g['SetSelectionsOperation']['id']&&_0x268ba1[_0x33c320(0x180)][_0x33c320(0x211)]===this[_0x33c320(0x1ec)]){const _0x3d691c=_0x268ba1[_0x33c320(0x180)];this['_updateLocalCursor'](_0x3d691c[_0x33c320(0x271)],_0x3d691c[_0x33c320(0x12e)][0x0]);}})));}['_onCursorUpdate'](_0x3df231){const _0xdf51a0=_0x3d2806;var _0x2592f5,_0x4d670c;const {memberID:_0x5bbb1e,selection:_0x480dd8}=_0x3df231['data'],{sheetName:_0x4f5c4d,range:_0x1b0168}=be[_0xdf51a0(0x20e)](_0x480dd8),_0x517720={'name':(_0x4d670c=(_0x2592f5=this[_0xdf51a0(0x1ee)][_0xdf51a0(0x281)](this[_0xdf51a0(0x1ec)],_0x5bbb1e))==null?void 0x0:_0x2592f5[_0xdf51a0(0x1b5)])!=null?_0x4d670c:_0xdf51a0(0x1e7),'range':this[_0xdf51a0(0x1e1)](_0x4f5c4d,_0x1b0168),'sheetID':_0x4f5c4d,'color':this['_colorAssignService'][_0xdf51a0(0x2d6)](_0x5bbb1e),'selection':_0x480dd8},_0x5c9c8a=this[_0xdf51a0(0x27e)];_0x5c9c8a[_0xdf51a0(0x8a)](_0x5bbb1e,_0x517720),this[_0xdf51a0(0x143)]['next'](_0x5c9c8a);}[_0x3d2806(0x14c)](_0x190d20){const _0x4f97f9=_0x3d2806,{memberID:_0x250997}=_0x190d20[_0x4f97f9(0x87)],_0x182445=this['cursorInfo'];_0x182445[_0x4f97f9(0x2f8)](_0x250997),this[_0x4f97f9(0x143)][_0x4f97f9(0x1bf)](_0x182445);}[_0x3d2806(0x1e1)](_0x2673dc,_0x26eeee){const _0x241d23=_0x3d2806;var _0x7ae155,_0x5dc1b2;const _0x413ff9=(_0x5dc1b2=(_0x7ae155=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x241d23(0x1ec)]))==null?void 0x0:_0x7ae155[_0x241d23(0x2ac)](_0x2673dc))==null?void 0x0:_0x5dc1b2[_0x241d23(0x2ce)]();return(_0x413ff9==null?void 0x0:_0x413ff9[_0x241d23(0x247)](_0x37b41b=>a[_0x241d23(0x2c7)][_0x241d23(0x123)](_0x37b41b,_0x26eeee)))||_0x26eeee;}['_onRefRangeChange'](){const _0x39217c=_0x3d2806,_0x88bd5a=new a[(_0x39217c(0x266))](),_0x448780=ot(),_0x5d3c6c=()=>{const _0x52d0ef=_0x39217c;_0x88bd5a[_0x52d0ef(0xe3)]();const _0x43b4f1=(_0x3f0ef4,_0x2b319a,_0x5033de,_0x30963e)=>{const _0x4309ff=_0x52d0ef;let _0xe1fa32=[];switch(_0x3f0ef4['id']){case g[_0x4309ff(0x2be)][_0x4309ff(0x274)]:{_0xe1fa32=g['handleDeleteRangeMoveLeft'](_0x3f0ef4,_0x30963e);break;}case g['EffectRefRangId'][_0x4309ff(0x2b0)]:{_0xe1fa32=g[_0x4309ff(0x250)](_0x3f0ef4,_0x30963e);break;}case g[_0x4309ff(0x2be)][_0x4309ff(0x97)]:{_0xe1fa32=g[_0x4309ff(0x2dd)](_0x3f0ef4,_0x30963e);break;}case g['EffectRefRangId'][_0x4309ff(0x214)]:{_0xe1fa32=g[_0x4309ff(0x1b4)](_0x3f0ef4,_0x30963e);break;}case g[_0x4309ff(0x2be)][_0x4309ff(0x2f1)]:{_0xe1fa32=g['handleInsertRangeMoveRight'](_0x3f0ef4,_0x30963e);break;}case g[_0x4309ff(0x2be)][_0x4309ff(0xd5)]:{_0xe1fa32=g[_0x4309ff(0xed)](_0x3f0ef4,_0x30963e);break;}case g['EffectRefRangId'][_0x4309ff(0x118)]:{_0xe1fa32=g[_0x4309ff(0x21f)](_0x3f0ef4,_0x30963e);break;}case g[_0x4309ff(0x2be)][_0x4309ff(0x129)]:{_0xe1fa32=g[_0x4309ff(0x17a)](_0x3f0ef4,_0x30963e);break;}case g[_0x4309ff(0x2be)][_0x4309ff(0x105)]:{_0xe1fa32=g[_0x4309ff(0x13f)](_0x3f0ef4,_0x30963e);break;}}const _0x281e3a=g[_0x4309ff(0x2ba)](_0xe1fa32,_0x30963e),_0x360e3c=this[_0x4309ff(0x27e)][_0x4309ff(0x107)](_0x2b319a);if(_0x360e3c&&_0x281e3a){const _0x37d174={..._0x360e3c,'range':_0x281e3a};this['cursorInfo'][_0x4309ff(0x8a)](_0x2b319a,_0x37d174),_0x448780(()=>{const _0x28b272=_0x4309ff,_0x57e108=this[_0x28b272(0xbe)]['registerRefRange'](_0x281e3a,_0x3016ff=>(_0x57e108[_0x28b272(0xe3)](),_0x43b4f1(_0x3016ff,_0x2b319a,_0x5033de,_0x281e3a)));_0x88bd5a[_0x28b272(0x256)](_0x57e108);});}return{'redos':[],'undos':[]};};this[_0x52d0ef(0x27e)][_0x52d0ef(0x246)]((_0x1578bb,_0xe19c03)=>{const _0x33f68b=_0x52d0ef,{range:_0x224903,sheetID:_0x1ad597}=_0x1578bb,_0x4faf80=this[_0x33f68b(0xbe)]['registerRefRange'](_0x224903,_0xff98b9=>(_0x4faf80[_0x33f68b(0xe3)](),_0x43b4f1(_0xff98b9,_0xe19c03,_0x1ad597,_0x224903)));_0x88bd5a['add'](_0x4faf80);});};this[_0x39217c(0x94)](a[_0x39217c(0x1d6)](this['_cursorInfo$'][_0x39217c(0x124)](()=>{_0x5d3c6c();})));}[_0x3d2806(0x21d)](){const _0x3462fc=_0x3d2806;var _0x20f5cc,_0x31eb8b;if(this[_0x3462fc(0x1aa)]=!0x0,((_0x20f5cc=this[_0x3462fc(0x1a8)]['getFocusedUnit']())==null?void 0x0:_0x20f5cc[_0x3462fc(0x1ba)]())!==this[_0x3462fc(0x1ec)])return;const _0x43f93b=(_0x31eb8b=this[_0x3462fc(0x193)][_0x3462fc(0x107)](g[_0x3462fc(0x121)])[_0x3462fc(0x86)]())==null?void 0x0:_0x31eb8b[0x0],_0x1e3069=this[_0x3462fc(0x1a8)][_0x3462fc(0x1b7)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x3462fc(0x12c)]();_0x43f93b&&_0x1e3069&&this['_updateLocalCursor'](_0x1e3069[_0x3462fc(0x144)](),_0x43f93b);}[_0x3d2806(0x2df)](){const _0x1525af=_0x3d2806;this[_0x1525af(0x1aa)]=!0x1;}};Se=it([A(0x2,a[_0x3d2806(0xb9)](a['Injector'])),A(0x3,a[_0x3d2806(0xb9)](me)),A(0x4,a['Inject'](u[_0x3d2806(0x130)])),A(0x5,a[_0x3d2806(0x15b)]),A(0x6,a[_0x3d2806(0xbb)]),A(0x7,a[_0x3d2806(0xb9)](g[_0x3d2806(0x270)]))],Se);var at=Object[_0x3d2806(0x19f)],ct=(_0x5280b0,_0x729b15,_0x90090a,_0x5ad6ee)=>{const _0x4c624a=_0x3d2806;for(var _0x2f9390=_0x5ad6ee>0x1?void 0x0:_0x5ad6ee?at(_0x729b15,_0x90090a):_0x729b15,_0x5ed1e3=_0x5280b0[_0x4c624a(0x83)]-0x1,_0x7f393d;_0x5ed1e3>=0x0;_0x5ed1e3--)(_0x7f393d=_0x5280b0[_0x5ed1e3])&&(_0x2f9390=_0x7f393d(_0x2f9390)||_0x2f9390);return _0x2f9390;},ie=(_0x56f99b,_0xd10953)=>(_0x5615f2,_0x5dbe47)=>_0xd10953(_0x5615f2,_0x5dbe47,_0x56f99b);let x=class extends a[_0x3d2806(0x96)]{constructor(_0x2f6497,_0x49ca96,_0x4747d6){const _0x39b040=_0x3d2806;super(),h(this,_0x39b040(0x1b3),new Map()),h(this,_0x39b040(0x16b),new d[(_0x39b040(0x119))]()),(this[_0x39b040(0x1a8)]=_0x2f6497,this[_0x39b040(0x193)]=_0x49ca96,this[_0x39b040(0xab)]=_0x4747d6,this['_init']());}[_0x3d2806(0xe3)](){const _0x13d87f=_0x3d2806;super[_0x13d87f(0xe3)](),this[_0x13d87f(0x16b)][_0x13d87f(0xa2)](),this[_0x13d87f(0x1b3)]['forEach'](_0xd6ef8d=>_0xd6ef8d[_0x13d87f(0xe3)]());}[_0x3d2806(0xe2)](_0x1f2cc9){const _0x44a181=_0x3d2806;return this[_0x44a181(0x1b3)]['has'](_0x1f2cc9)?this[_0x44a181(0x1b3)][_0x44a181(0x107)](_0x1f2cc9)[_0x44a181(0x233)]:this[_0x44a181(0x16b)]['pipe'](d['filter'](_0x4f01af=>_0x4f01af[_0x44a181(0x1ec)]===_0x1f2cc9),d[_0x44a181(0x88)](_0x3d125a=>_0x3d125a['cursorInfo$']));}['_init'](){const _0x7cbe36=_0x3d2806;this[_0x7cbe36(0x1a8)][_0x7cbe36(0x2b7)](a[_0x7cbe36(0x100)]['UNIVER_SHEET'])['pipe'](d['takeUntil'](this[_0x7cbe36(0x139)]))[_0x7cbe36(0x124)](async _0x3cb01a=>{const _0x11a856=_0x7cbe36,_0x40db94=_0x3cb01a['getUnitId'](),_0x53e227=await this[_0x11a856(0x175)](_0x40db94);this['_entityInit$'][_0x11a856(0x1bf)](_0x53e227),this['_entities']['set'](_0x40db94,_0x53e227);}),this[_0x7cbe36(0x1a8)][_0x7cbe36(0x2b7)](a[_0x7cbe36(0x100)]['UNIVER_DOC'])[_0x7cbe36(0x2c6)](d[_0x7cbe36(0x189)](this['dispose$']))[_0x7cbe36(0x2c6)](d[_0x7cbe36(0xda)](_0x26acb8=>!_0x26acb8['getUnitId']()[_0x7cbe36(0x1d8)]('__')))[_0x7cbe36(0x124)](async _0xddd0a=>{const _0x12daf5=_0x7cbe36,_0x1414f5=_0xddd0a[_0x12daf5(0x1ba)](),_0x121d4f=await this[_0x12daf5(0x10c)](_0x1414f5);this['_entityInit$']['next'](_0x121d4f),this[_0x12daf5(0x1b3)][_0x12daf5(0x8a)](_0x1414f5,_0x121d4f);}),d['merge'](this[_0x7cbe36(0x1a8)][_0x7cbe36(0x153)](a[_0x7cbe36(0x100)][_0x7cbe36(0x1a9)]),this[_0x7cbe36(0x1a8)][_0x7cbe36(0x153)](a[_0x7cbe36(0x100)]['UNIVER_SHEET']))[_0x7cbe36(0x2c6)](d[_0x7cbe36(0x189)](this[_0x7cbe36(0x139)]))[_0x7cbe36(0x124)](_0x431de8=>{const _0x5cce5d=_0x7cbe36,_0x23528d=_0x431de8[_0x5cce5d(0x1ba)](),_0x4a0717=this[_0x5cce5d(0x1b3)]['get'](_0x23528d);_0x4a0717&&(_0x4a0717[_0x5cce5d(0xe3)](),this[_0x5cce5d(0x1b3)][_0x5cce5d(0x2f8)](_0x23528d));});}async[_0x3d2806(0x175)](_0x5eb747){const _0x41d2ba=_0x3d2806,_0x14ff64=await this['_collabSessionService'][_0x41d2ba(0x151)](_0x5eb747),_0x813ef6=this['_injector'][_0x41d2ba(0x142)](Se,_0x5eb747,_0x14ff64);return _0x813ef6['init'](),_0x813ef6;}async[_0x3d2806(0x10c)](_0xf3abab){const _0x1f02e4=_0x3d2806,_0x42a97f=await this[_0x1f02e4(0xab)][_0x1f02e4(0x151)](_0xf3abab),_0x510fa7=this['_injector'][_0x1f02e4(0x142)](Ie,_0xf3abab,_0x42a97f);return _0x510fa7[_0x1f02e4(0x106)](),_0x510fa7;}};x=ct([ie(0x0,a[_0x3d2806(0x15b)]),ie(0x1,a[_0x3d2806(0xb9)](a[_0x3d2806(0x145)])),ie(0x2,a[_0x3d2806(0xb9)](u['CollaborationSessionService']))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x3c99ba,_0x3049a9){const _0x2562f2=_0x3d2806;let {radius:_0x44637e,width:_0x36f5c7,height:_0x1fe5be}=_0x3049a9;_0x44637e=_0x44637e!=null?_0x44637e:0x0,_0x36f5c7=_0x36f5c7!=null?_0x36f5c7:0x1e,_0x1fe5be=_0x1fe5be!=null?_0x1fe5be:0x1e;let _0x2e0ce2=0x0,_0x523ca7=0x0,_0x331557=0x0;_0x2e0ce2=_0x523ca7=_0x331557=Math[_0x2562f2(0x113)](_0x44637e,_0x36f5c7/0x2,_0x1fe5be/0x2),_0x3c99ba[_0x2562f2(0x2af)](),_0x3c99ba[_0x2562f2(0x2d0)](_0x2e0ce2,0x0),_0x3c99ba['lineTo'](_0x36f5c7-_0x523ca7,0x0),_0x3c99ba[_0x2562f2(0x2e0)](_0x36f5c7-_0x523ca7,_0x523ca7,_0x523ca7,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c99ba[_0x2562f2(0x2b2)](_0x36f5c7,_0x1fe5be-_0x331557),_0x3c99ba[_0x2562f2(0x2e0)](_0x36f5c7-_0x331557,_0x1fe5be-_0x331557,_0x331557,0x0,Math['PI']/0x2,!0x1),_0x3c99ba[_0x2562f2(0x2b2)](0x0,_0x1fe5be),_0x3c99ba['lineTo'](0x0,_0x2e0ce2),_0x3c99ba[_0x2562f2(0x2e0)](_0x2e0ce2,_0x2e0ce2,_0x2e0ce2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c99ba[_0x2562f2(0xdf)](),_0x3049a9[_0x2562f2(0x304)]&&(_0x3c99ba['save'](),_0x3c99ba[_0x2562f2(0x2ed)]=_0x3049a9[_0x2562f2(0x304)],_0x3049a9[_0x2562f2(0x140)]===_0x2562f2(0x254)?_0x3c99ba[_0x2562f2(0x304)]('evenodd'):_0x3c99ba[_0x2562f2(0x304)](),_0x3c99ba['restore']());}class ee extends p[_0x3d2806(0x299)]{constructor(_0x31f3c8,_0xf86cc7){const _0x502e0c=_0x3d2806;super(_0x31f3c8,_0xf86cc7),h(this,_0x502e0c(0x22a)),h(this,'text'),(this[_0x502e0c(0x22a)]=_0xf86cc7==null?void 0x0:_0xf86cc7[_0x502e0c(0x22a)],this[_0x502e0c(0x9c)]=_0xf86cc7==null?void 0x0:_0xf86cc7['text']);}static[_0x3d2806(0xad)](_0x1cdea5,_0x22d47e){const _0x4f870f=_0x3d2806,{text:_0x5a2c09,color:_0x58371d}=_0x22d47e;_0x1cdea5[_0x4f870f(0x208)](),_0x1cdea5['font']=_0x4f870f(0x1d4);const _0x5c9713=_0x1cdea5[_0x4f870f(0x22f)](_0x5a2c09)['width'],_0x4260fe=Math['min'](_0x5c9713+0x2*ne,Re);_t(_0x1cdea5,{'height':K,'radius':0x4,'width':_0x4260fe,'fill':_0x58371d}),_0x1cdea5[_0x4f870f(0x2ed)]=_0x4f870f(0x29e);const _0x37fab6=ne,_0x350ca7=K-lt,_0x11376a=Re-0x2*ne;if(_0x5c9713>_0x11376a){let _0x5f38a1='',_0x3ed031=0x0;for(const _0x1ef4cb of _0x5a2c09){const _0x45ab5e=_0x1cdea5[_0x4f870f(0x22f)](_0x1ef4cb)[_0x4f870f(0x14d)];if(_0x3ed031+_0x45ab5e<=_0x11376a-_0x1cdea5[_0x4f870f(0x22f)]('...')[_0x4f870f(0x14d)])_0x5f38a1+=_0x1ef4cb,_0x3ed031+=_0x45ab5e;else{_0x5f38a1+='...';break;}}_0x1cdea5[_0x4f870f(0x26c)](_0x5f38a1,_0x37fab6,_0x350ca7);}else _0x1cdea5[_0x4f870f(0x26c)](_0x5a2c09,_0x37fab6,_0x350ca7);_0x1cdea5[_0x4f870f(0x1e9)]();}[_0x3d2806(0x203)](_0x2d7c0d){const _0x4e5a83=_0x3d2806;ee[_0x4e5a83(0xad)](_0x2d7c0d,this);}}const re=_0x3d2806(0xb0),ht=_0x3d2806(0x16d),ut=_0x3d2806(0x1bb),k=0x6,dt=1.5,oe=0x4,It=1.5,St=_0x3d2806(0x25b);class De{constructor(_0x1e7b39,_0x52b3b8,_0x2f5752,_0xa666d2){const _0x311974=_0x3d2806;h(this,_0x311974(0x244),[]),h(this,_0x311974(0x2b9),null),h(this,'_textBubble',null),h(this,_0x311974(0x8c),null),h(this,'_hideTimer',null),h(this,'_eventUnsubscribe',null),(this['_cursor']=_0x1e7b39,this[_0x311974(0x289)]=_0x52b3b8,this[_0x311974(0x28c)]=_0x2f5752,this[_0x311974(0x24c)]=_0xa666d2,this[_0x311974(0x24a)]());}set[_0x3d2806(0x156)](_0x5d470e){const _0x536ab6=_0x3d2806;_0x5d470e?(this[_0x536ab6(0x8c)]&&this['_anchorDot'][_0x536ab6(0x2cb)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x536ab6(0x8c)]&&this['_anchorDot'][_0x536ab6(0xbc)](),this[_0x536ab6(0xbf)]&&this['_textBubble'][_0x536ab6(0x2cb)]());}['dispose'](){const _0x2af642=_0x3d2806;for(const _0xfabb30 of this[_0x2af642(0x244)])_0xfabb30[_0x2af642(0xe3)]();this[_0x2af642(0xbf)]&&this[_0x2af642(0xbf)][_0x2af642(0xe3)](),this[_0x2af642(0x8c)]&&this[_0x2af642(0x8c)][_0x2af642(0xe3)](),this[_0x2af642(0x2b9)]&&this[_0x2af642(0x2b9)][_0x2af642(0xe3)](),this[_0x2af642(0x13a)]&&this[_0x2af642(0x13a)]();}['_render'](){const _0x2808ca=_0x3d2806;var _0x56a306;const {_docSkeleton:_0x4c6b21,_document:_0x2aba62}=this,{color:_0x1f2016,name:_0x4b6106,ranges:_0x4c56da}=this[_0x2808ca(0xee)],_0x39b7a8=_0x2aba62['getOffsetConfig'](),{docsLeft:_0x5264b6,docsTop:_0x5d66e9}=_0x39b7a8,_0x272138=new E[(_0x2808ca(0x84))](_0x39b7a8,_0x4c6b21);for(const {startOffset:_0x470934,endOffset:_0x2e0f0f,rangeType:_0x407f50,segmentId:_0x1d3085,segmentPage:_0x280c1a,collapsed:_0x1be881,isActive:_0x51f629}of _0x4c56da){const _0x233189=_0x4c6b21[_0x2808ca(0x1a7)](_0x470934,!0x0,_0x1d3085,_0x280c1a);let _0x218da5=_0x4c6b21[_0x2808ca(0x1a7)](_0x2e0f0f,!0x0,_0x1d3085,_0x280c1a);if(_0x218da5==null&&(_0x218da5=_0x4c6b21['findNodePositionByCharIndex'](_0x2e0f0f-0x1,!0x1,_0x1d3085,_0x280c1a)),_0x51f629){const {contentBoxPointGroup:_0x3bbc90}=_0x272138[_0x2808ca(0x2fc)](_0x218da5,_0x218da5);if(_0x3bbc90[_0x2808ca(0x83)]===0x0)continue;this[_0x2808ca(0xc9)](_0x1f2016,_0x3bbc90,_0x5264b6,_0x5d66e9,_0x4b6106),this[_0x2808ca(0x13a)]=this[_0x2808ca(0x12f)]();}if(_0x233189&&_0x218da5){if(_0x407f50===a[_0x2808ca(0x101)][_0x2808ca(0x21b)]){const _0x10621c=new E['NodePositionConvertToRectRange'](_0x39b7a8,_0x4c6b21),{pointGroup:_0xa61177}=(_0x56a306=_0x10621c[_0x2808ca(0x2fc)](_0x233189,_0x218da5))!=null?_0x56a306:{};if(_0xa61177==null||_0xa61177['length']===0x0)continue;this[_0x2808ca(0xba)](_0x1f2016,_0xa61177,_0x5264b6,_0x5d66e9);}else{if(!_0x1be881){const {borderBoxPointGroup:_0x5e0184}=_0x272138[_0x2808ca(0x2fc)](_0x233189,_0x218da5);if(_0x5e0184['length']===0x0)continue;this[_0x2808ca(0x10f)](_0x1f2016,_0x5e0184,_0x5264b6,_0x5d66e9);}}}}}[_0x3d2806(0xc9)](_0x1828bb,_0x591f83,_0x4357f8,_0x18ec3b,_0x3ed168){const _0x598ce0=_0x3d2806,_0x5853c6=this[_0x598ce0(0x1fd)](_0x591f83),{left:_0x874832,top:_0x2f9527,height:_0x3bc10a}=_0x5853c6,_0x59bfc8=this[_0x598ce0(0x11f)](),_0x1afe58=It/_0x59bfc8,_0x14fa7c=new p[(_0x598ce0(0x18e))](re+a[_0x598ce0(0x147)][_0x598ce0(0x202)](k),{'left':_0x874832+_0x4357f8-_0x1afe58,'top':_0x2f9527+_0x18ec3b,'height':_0x3bc10a,'width':dt,'fill':_0x1828bb||p[_0x598ce0(0x18c)](a['COLORS'][_0x598ce0(0x1ce)],0x0),'strokeWidth':_0x1afe58,'stroke':St,'evented':!0x0});this['_anchor']=_0x14fa7c,this[_0x598ce0(0x289)][_0x598ce0(0x232)](_0x14fa7c,E[_0x598ce0(0x228)]);const _0x3abcba=new p[(_0x598ce0(0x18e))](re+a['Tools'][_0x598ce0(0x202)](k),{'left':_0x874832+_0x4357f8-_0x1afe58,'top':_0x2f9527+_0x18ec3b-oe/0x2,'height':oe,'width':oe,'fill':_0x1828bb||p[_0x598ce0(0x18c)](a[_0x598ce0(0x182)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x1828bb||p[_0x598ce0(0x18c)](a[_0x598ce0(0x182)][_0x598ce0(0x1ce)],0x0),'evented':!0x1});this[_0x598ce0(0x8c)]=_0x3abcba,this[_0x598ce0(0x289)]['addObject'](_0x3abcba,E['TEXT_RANGE_LAYER_INDEX']);const _0x4b4b2d=new ee(re+a[_0x598ce0(0x147)]['generateRandomId'](k),{'left':_0x874832+_0x4357f8-_0x1afe58,'top':_0x2f9527+_0x18ec3b-K,'text':_0x3ed168,'color':_0x1828bb});this[_0x598ce0(0xbf)]=_0x4b4b2d,this[_0x598ce0(0x289)][_0x598ce0(0x232)](_0x4b4b2d,E['TEXT_RANGE_LAYER_INDEX']),this[_0x598ce0(0x156)]=!0x1;}[_0x3d2806(0x12f)](){const _0x3960ff=_0x3d2806,_0x541ff3=this[_0x3960ff(0x2b9)][_0x3960ff(0x2b6)][_0x3960ff(0xf2)](()=>{const _0x18fb26=_0x3960ff;this[_0x18fb26(0x156)]=!0x0;}),_0x1cb1cd=this['_anchor'][_0x3960ff(0xfe)]['subscribeEvent'](()=>{const _0x409ca0=_0x3960ff;this[_0x409ca0(0xde)]&&clearTimeout(this['_hideTimer']),this[_0x409ca0(0xde)]=setTimeout(()=>{const _0x20b6bb=_0x409ca0;this[_0x20b6bb(0x156)]=!0x1;},0x7d0);});return()=>{const _0xe2a414=_0x3960ff;_0x541ff3['unsubscribe'](),_0x1cb1cd[_0xe2a414(0x14f)]();};}['_drawTextRange'](_0x56f95b,_0x3bc349,_0x195eaf,_0x38c412){const _0x2c900e=_0x3d2806,_0x2f0ee5=new a[(_0x2c900e(0x8b))](_0x56f95b)['setAlpha'](0.2)[_0x2c900e(0x273)](),_0x52c675=new p[(_0x2c900e(0x1eb))](ht+a['Tools'][_0x2c900e(0x202)](k),{'pointsGroup':_0x3bc349,'fill':_0x2f0ee5||p[_0x2c900e(0x18c)](a[_0x2c900e(0x182)]['black'],0.2),'left':_0x195eaf,'top':_0x38c412,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x52c675),this[_0x2c900e(0x289)][_0x2c900e(0x232)](_0x52c675,E[_0x2c900e(0x228)]);}['_drawRectRange'](_0x2c0e83,_0x41004a,_0xb4f415,_0x5e0768){const _0x210114=_0x3d2806,_0xa8d8b3=new a[(_0x210114(0x8b))](_0x2c0e83)[_0x210114(0x279)](0.2)[_0x210114(0x273)](),_0x1cbf77=new p[(_0x210114(0x1eb))](ut+a['Tools']['generateRandomId'](k),{'pointsGroup':_0x41004a,'fill':_0xa8d8b3||p['getColor'](a[_0x210114(0x182)]['black'],0.2),'left':_0xb4f415,'top':_0x5e0768,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x210114(0x244)][_0x210114(0x210)](_0x1cbf77),this[_0x210114(0x289)][_0x210114(0x232)](_0x1cbf77,E[_0x210114(0x228)]);}[_0x3d2806(0x1fd)](_0x18fc67){const _0x400de1=_0x18fc67[0x0],_0x294bc4=_0x400de1[0x0],_0x4a5126=_0x400de1[0x2],{x:_0x3ee661,y:_0x309a1f}=_0x294bc4,{x:_0x12a2ca,y:_0x12e0c0}=_0x4a5126;return{'left':_0x3ee661,'top':_0x309a1f,'width':_0x12a2ca-_0x3ee661,'height':_0x12e0c0-_0x309a1f};}[_0x3d2806(0x11f)](){const _0x2f52e2=_0x3d2806,{scaleX:_0x33c8d3,scaleY:_0x4053c7}=this[_0x2f52e2(0x289)][_0x2f52e2(0x157)]();return Math[_0x2f52e2(0x2e9)](_0x33c8d3,_0x4053c7);}}var ft=Object[_0x3d2806(0x19f)],vt=(_0x2c2a7e,_0x4bb878,_0x308350,_0x2f90eb)=>{const _0x723359=_0x3d2806;for(var _0x4ce1d8=_0x2f90eb>0x1?void 0x0:_0x2f90eb?ft(_0x4bb878,_0x308350):_0x4bb878,_0x56bffc=_0x2c2a7e[_0x723359(0x83)]-0x1,_0x414fab;_0x56bffc>=0x0;_0x56bffc--)(_0x414fab=_0x2c2a7e[_0x56bffc])&&(_0x4ce1d8=_0x414fab(_0x4ce1d8)||_0x4ce1d8);return _0x4ce1d8;},W=(_0x5d3477,_0x41836d)=>(_0x2d17c8,_0x19abf2)=>_0x41836d(_0x2d17c8,_0x19abf2,_0x5d3477);let fe=class extends a[_0x3d2806(0x96)]{constructor(_0x45c8e3,_0x29b553,_0x15a458,_0x2cec8f,_0x182d24){const _0x1fb0db=_0x3d2806;super(),h(this,_0x1fb0db(0xa4),[]),h(this,'_cursors',[]),(this[_0x1fb0db(0x19d)]=_0x45c8e3,this[_0x1fb0db(0x312)]=_0x29b553,this['_collabCursorController']=_0x15a458,this[_0x1fb0db(0xa3)]=_0x2cec8f,this[_0x1fb0db(0xb3)]=_0x182d24,this['_init']());}[_0x3d2806(0x1ad)](){const _0x325fba=_0x3d2806,_0x1bb6fd=this[_0x325fba(0x19d)][_0x325fba(0x211)],_0x2c1f87=this[_0x325fba(0x312)];this[_0x325fba(0x94)](d[_0x325fba(0xbd)]([this[_0x325fba(0x1f9)][_0x325fba(0xe2)](_0x1bb6fd),this[_0x325fba(0xb3)][_0x325fba(0x155)]])[_0x325fba(0x2c6)]($[_0x325fba(0xc3)](([_0x359c9c,_0x59b2a4])=>({'skeleton':_0x2c1f87[_0x325fba(0x13b)](),'cursors':[..._0x359c9c['values']()][_0x325fba(0x24e)](_0x17630c=>({..._0x17630c,'color':this[_0x325fba(0xb3)]['getColorFromTheme'](_0x17630c[_0x325fba(0x22a)])}))})))[_0x325fba(0x124)](_0xe9e735=>{const _0x522c37=_0x325fba;if(this[_0x522c37(0x1f5)](),_0xe9e735){const {skeleton:_0x50b50c,cursors:_0x40306f}=_0xe9e735;this[_0x522c37(0xf7)](_0x50b50c,_0x40306f);}})),this[_0x325fba(0x117)](),this[_0x325fba(0x15f)]();}[_0x3d2806(0xf7)](_0x1e0d3e,_0x2a955a){const _0xe29035=_0x3d2806,{scene:_0x436ff4,mainComponent:_0xd37717}=this[_0xe29035(0x19d)],_0x56a542=_0x2a955a[_0xe29035(0xc3)](_0x30b404=>new De(_0x30b404,_0x436ff4,_0x1e0d3e,_0xd37717));this[_0xe29035(0xa4)]=_0x56a542,this[_0xe29035(0x1cc)]=_0x2a955a;}['_refreshCollabCursors'](){const _0x1c6d94=_0x3d2806;this[_0x1c6d94(0x1f5)]();const {scene:_0x39ac88,mainComponent:_0x42737c}=this['_context'],_0x40ef06=this['_docSkeletonManagerService'][_0x1c6d94(0x13b)](),_0x100ce0=this[_0x1c6d94(0x1cc)][_0x1c6d94(0xc3)](_0x3c646e=>new De(_0x3c646e,_0x39ac88,_0x40ef06,_0x42737c));this[_0x1c6d94(0xa4)]=_0x100ce0;}[_0x3d2806(0x1f5)](){const _0x4b31ed=_0x3d2806;this['_cursorShapes'][_0x4b31ed(0x246)](_0x2170cd=>_0x2170cd[_0x4b31ed(0xe3)]()),this[_0x4b31ed(0xa4)]=[];}[_0x3d2806(0x15f)](){const _0x55496a=_0x3d2806,_0x387056=[E[_0x55496a(0x2c5)]['id']];this[_0x55496a(0x94)](this[_0x55496a(0xa3)][_0x55496a(0xf1)](_0x47641f=>{const _0x20cd8c=_0x55496a;_0x387056['includes'](_0x47641f['id'])&&_0x47641f['params']['unitId']===this[_0x20cd8c(0x19d)][_0x20cd8c(0x211)]&&this[_0x20cd8c(0x1f6)]();}));}[_0x3d2806(0x117)](){const _0x4818d4=_0x3d2806;this[_0x4818d4(0x94)](a[_0x4818d4(0x300)](this['_context'][_0x4818d4(0x1c3)][_0x4818d4(0x2f9)])[_0x4818d4(0x2c6)]($[_0x4818d4(0xda)](_0x7501e2=>_0x7501e2['type']===p[_0x4818d4(0x1ae)][_0x4818d4(0x218)]),$['throttleTime'](0x10))[_0x4818d4(0x124)](()=>{const _0x5d702d=_0x4818d4;this[_0x5d702d(0x1f6)]();}));}};fe=vt([W(0x1,a['Inject'](Y[_0x3d2806(0x1a5)])),W(0x2,a[_0x3d2806(0xb9)](x)),W(0x3,a[_0x3d2806(0xbb)]),W(0x4,a[_0x3d2806(0xb9)](a[_0x3d2806(0x137)]))],fe);const gt=0x1,mt=1.5;class we extends p[_0x3d2806(0x299)]{constructor(_0xd363e3,_0x2ac10e){const _0x5bb9ba=_0x3d2806;super(_0xd363e3,_0x2ac10e),h(this,_0x5bb9ba(0x303)),h(this,'_hovered',!0x1),h(this,'_range'),h(this,'_name',''),h(this,_0x5bb9ba(0xfa),_0x5bb9ba(0x1d5)),h(this,_0x5bb9ba(0x1c5)),(_0x2ac10e&&this['setShapeProps'](_0x2ac10e),this[_0x5bb9ba(0x2b6)][_0x5bb9ba(0xf2)](()=>this[_0x5bb9ba(0x15a)]({'hovered':!0x0})),this[_0x5bb9ba(0xfe)][_0x5bb9ba(0xf2)](()=>this[_0x5bb9ba(0x15a)]({'hovered':!0x1})));}[_0x3d2806(0x15a)](_0x3d1dfa){const _0x59ff85=_0x3d2806;var _0x277851,_0x3b689f,_0x2b0737,_0x24e3c2,_0x3f8060,_0x40ec03;this[_0x59ff85(0x303)]=(_0x277851=_0x3d1dfa['color'])!=null?_0x277851:this[_0x59ff85(0x303)],this[_0x59ff85(0x29d)]=(_0x3b689f=_0x3d1dfa['hovered'])!=null?_0x3b689f:this['_hovered'],this[_0x59ff85(0x2de)]=(_0x2b0737=_0x3d1dfa[_0x59ff85(0x27b)])!=null?_0x2b0737:this[_0x59ff85(0x2de)],this['_name']=(_0x24e3c2=_0x3d1dfa[_0x59ff85(0x1b5)])!=null?_0x24e3c2:this['_name'],this[_0x59ff85(0xfa)]=(_0x3f8060=_0x3d1dfa[_0x59ff85(0x1ef)])!=null?_0x3f8060:this[_0x59ff85(0xfa)],this[_0x59ff85(0x1c5)]=(_0x40ec03=_0x3d1dfa[_0x59ff85(0x1c1)])!=null?_0x40ec03:this[_0x59ff85(0x1c5)],this['transformByState']({'width':_0x3d1dfa[_0x59ff85(0x14d)],'height':_0x3d1dfa[_0x59ff85(0x18f)]});}[_0x3d2806(0x26f)](_0x54b2ff){const _0xb00e95=_0x3d2806,{row:_0x358c17,column:_0x539b74}=_0x54b2ff;if(_0x358c17>=this[_0xb00e95(0x2de)][_0xb00e95(0x14b)]&&_0x358c17<=this[_0xb00e95(0x2de)][_0xb00e95(0x178)]&&_0x539b74>=this[_0xb00e95(0x2de)][_0xb00e95(0x235)]&&_0x539b74<=this[_0xb00e95(0x2de)][_0xb00e95(0x30c)]){this[_0xb00e95(0x15a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3d2806(0x134)](_0x2a57fd){return!0x1;}[_0x3d2806(0x203)](_0x4820b2){const _0x5b3549=_0x3d2806;p['Rect'][_0x5b3549(0xad)](_0x4820b2,{'width':this[_0x5b3549(0x14d)],'height':this[_0x5b3549(0x18f)],'strokeWidth':mt,'stroke':this[_0x5b3549(0x303)],'evented':!0x1,'fill':this[_0x5b3549(0x1c5)]}),this[_0x5b3549(0x29d)]&&(_0x4820b2[_0x5b3549(0x208)](),_0x4820b2[_0x5b3549(0x141)](0x1,0x0,0x0,0x1,this[_0x5b3549(0x14d)],this[_0x5b3549(0xfa)]==='bottom'?0x0:-0x14),ee[_0x5b3549(0xad)](_0x4820b2,{'text':this[_0x5b3549(0x297)],'color':this[_0x5b3549(0x303)]}),_0x4820b2[_0x5b3549(0x1e9)]());}}var Ct=Object[_0x3d2806(0x19f)],pt=(_0x284abe,_0xf1e0d1,_0x142685,_0x422d62)=>{const _0x3c1e99=_0x3d2806;for(var _0x24fe6f=_0x422d62>0x1?void 0x0:_0x422d62?Ct(_0xf1e0d1,_0x142685):_0xf1e0d1,_0x26db5c=_0x284abe[_0x3c1e99(0x83)]-0x1,_0x4b4fc2;_0x26db5c>=0x0;_0x26db5c--)(_0x4b4fc2=_0x284abe[_0x26db5c])&&(_0x24fe6f=_0x4b4fc2(_0x24fe6f)||_0x24fe6f);return _0x24fe6f;},ae=(_0x5f0c3c,_0x2dec03)=>(_0x29410a,_0x4884e2)=>_0x2dec03(_0x29410a,_0x4884e2,_0x5f0c3c);const Et=0x1389;let ve=class extends a[_0x3d2806(0x96)]{constructor(_0x5942d5,_0x3c6aa6,_0x209b9b,_0x7b4470){const _0x37510c=_0x3d2806;super(),h(this,_0x37510c(0x1cc),new Set()),h(this,_0x37510c(0x1ca),null),(this[_0x37510c(0x19d)]=_0x5942d5,this[_0x37510c(0x21a)]=_0x3c6aa6,this[_0x37510c(0x1f9)]=_0x209b9b,this[_0x37510c(0xb3)]=_0x7b4470,this[_0x37510c(0x1ad)]());}['_init'](){const _0xa4ab54=_0x3d2806;this[_0xa4ab54(0x21a)][_0xa4ab54(0xb5)][_0xa4ab54(0x2c6)]($['takeUntil'](this[_0xa4ab54(0x139)]),$[_0xa4ab54(0x88)](_0x181a42=>{const _0x43891b=_0xa4ab54;if(_0x181a42){const _0x598370=_0x181a42[_0x43891b(0x220)];return d[_0x43891b(0xbd)](this[_0x43891b(0x1f9)]['getCollabCursors$'](this[_0x43891b(0x19d)][_0x43891b(0x211)]),this[_0x43891b(0xb3)][_0x43891b(0x155)])[_0x43891b(0x2c6)]($[_0x43891b(0xc3)](([_0x458a45,_0x18ba97])=>{const _0xbae9bc=_0x43891b,_0x484def=new Map();return _0x458a45[_0xbae9bc(0x246)]((_0x73510a,_0x525197)=>{const _0x14ff4c=_0xbae9bc;if(_0x73510a[_0x14ff4c(0x2fd)]===_0x598370){const _0x56cc85={..._0x73510a};_0x56cc85[_0x14ff4c(0x22a)]=this['_themeService']['getColorFromTheme'](_0x73510a['color']),_0x484def['set'](_0x525197,_0x56cc85);}}),{'skeleton':_0x181a42,'cursors':_0x484def};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x33e627,cursors:_0x7bf794})=>{const _0x23835e=_0xa4ab54;this[_0x23835e(0x1f5)](),_0x33e627&&this[_0x23835e(0xf7)](_0x33e627,_0x7bf794);}),this[_0xa4ab54(0x21a)][_0xa4ab54(0xb5)]['subscribe'](_0x47ebc9=>{const _0xdd3f1d=_0xa4ab54;if(_0x47ebc9==null)return;const {skeleton:_0x84e2ac}=_0x47ebc9,{scene:_0x4f0bfb}=this[_0xdd3f1d(0x19d)];_0x4f0bfb[_0xdd3f1d(0x1d3)]['subscribeEvent'](a['debounce'](_0x4a9e7e=>{const _0x22303d=_0xdd3f1d;var _0x138feb,_0x425e6b;const {offsetX:_0x27d7ec,offsetY:_0x1d8cac}=_0x4a9e7e,{x:_0x25be1d,y:_0x302102}=_0x4f0bfb['getRelativeToViewportCoord'](p[_0x22303d(0xd6)][_0x22303d(0x192)]([_0x27d7ec,_0x1d8cac])),{scaleX:_0x388627,scaleY:_0xe58ed3}=_0x4f0bfb[_0x22303d(0x157)](),_0x32d74d=_0x4f0bfb['getViewport'](p[_0x22303d(0x1e8)][_0x22303d(0x1ff)]),_0x545599=_0x4f0bfb['getVpScrollXYInfoByPosToVp'](p[_0x22303d(0xd6)][_0x22303d(0x192)]([_0x25be1d,_0x302102]),_0x32d74d),_0x2b1f58=_0x84e2ac[_0x22303d(0x311)](_0x27d7ec,_0x1d8cac,_0x388627,_0xe58ed3,_0x545599);((_0x138feb=this['_lastPointer'])==null?void 0x0:_0x138feb['column'])===_0x2b1f58[_0x22303d(0x158)]&&((_0x425e6b=this[_0x22303d(0x1ca)])==null?void 0x0:_0x425e6b[_0x22303d(0x221)])===_0x2b1f58[_0x22303d(0x221)]||this[_0x22303d(0x1cc)][_0x22303d(0x246)](_0x5e13ca=>{const _0xc15c86=_0x22303d;_0x5e13ca[_0xc15c86(0x26f)](_0x2b1f58);});},0x64));});}[_0x3d2806(0xf7)](_0x6ece3f,_0x3145ad){const _0x11f728=_0x3d2806;var _0x151db6;const _0xe5331=(_0x151db6=this['_sheetSkeletonManagerService'][_0x11f728(0x276)]())==null?void 0x0:_0x151db6[_0x11f728(0x2e1)];if(!_0xe5331)return;const _0x1c0144=this[_0x11f728(0xc7)]();if(!_0x1c0144)return;this[_0x11f728(0x1cc)][_0x11f728(0x246)](_0x19a1a0=>{_0x19a1a0['makeDirty']();});const {scene:_0x3d179a}=_0x1c0144,_0x3e8cfa=bt(Array[_0x11f728(0x292)](_0x3145ad[_0x11f728(0x293)]()))[_0x11f728(0xc3)](_0x17998f=>{const _0x39cbd7=_0x11f728,{color:_0xcee21,range:_0x55c0d2,name:_0x182339,selection:_0x45ffc8,sheetID:_0x3f7837}=_0x17998f,{startColumn:_0x598878,startRow:_0x3bab77,endColumn:_0x2d570b,endRow:_0x3f04e9}=_0x55c0d2,_0x243fb9=X[_0x39cbd7(0x259)](_0x3bab77,_0x598878,_0x3d179a,_0xe5331),_0x16aa09=X[_0x39cbd7(0x259)](_0x3f04e9,_0x2d570b,_0x3d179a,_0xe5331),{columnHeaderHeightAndMarginTop:_0x10b32d}=_0xe5331,{startX:_0x242879,startY:_0x4a2589}=_0x243fb9,{endX:_0x123094,endY:_0x5d55e2}=_0x16aa09,_0x12f080=_0x123094-_0x242879,_0x3c528b=_0x5d55e2-_0x4a2589,_0x238866={'labelPosition':_0x4a2589-_0x10b32d>=K?_0x39cbd7(0x1d5):_0x39cbd7(0xb8),'sheetID':_0x3f7837,'range':_0x55c0d2,'color':_0xcee21,'name':_0x182339,'selection':_0x45ffc8,'left':_0x242879,'top':_0x4a2589,'width':_0x12f080,'height':_0x3c528b,'evented':!0x1,'zIndex':Et};return new we(_0x182339,_0x238866);});_0x3d179a['addObjects'](_0x3e8cfa,gt),this[_0x11f728(0x1cc)]=new Set(_0x3e8cfa);}[_0x3d2806(0x1f5)](){const _0x14a56e=_0x3d2806;var _0x21f877;(_0x21f877=this[_0x14a56e(0x1cc)])==null||_0x21f877['forEach'](_0x33cfb1=>_0x33cfb1[_0x14a56e(0xe3)]());}[_0x3d2806(0xc7)](){const _0x11a373=_0x3d2806;return X[_0x11a373(0x11a)](this[_0x11a373(0x19d)][_0x11a373(0x12a)],this[_0x11a373(0x19d)]);}};ve=pt([ae(0x1,a[_0x3d2806(0xb9)](X[_0x3d2806(0x1c6)])),ae(0x2,a[_0x3d2806(0xb9)](x)),ae(0x3,a[_0x3d2806(0xb9)](a['ThemeService']))],ve);function bt(_0x4a5e1a){const _0x5942a2=_0x3d2806,_0xc5d379=new Map();return _0x4a5e1a[_0x5942a2(0x246)](_0x33db2e=>{const _0x4fa5b0=_0x5942a2;if(_0xc5d379[_0x4fa5b0(0x2c2)](_0x33db2e[_0x4fa5b0(0x17b)])){const _0x52def7=_0xc5d379[_0x4fa5b0(0x107)](_0x33db2e[_0x4fa5b0(0x17b)]);_0x52def7[_0x4fa5b0(0x1b5)]+=',\x20'+_0x33db2e['name'];}else _0xc5d379['set'](_0x33db2e[_0x4fa5b0(0x17b)],_0x33db2e);}),Array['from'](_0xc5d379['values']());}var b=function(){const _0x2804fc=_0x3d2806;return b=Object[_0x2804fc(0x2a3)]||function(_0x4c80d0){const _0x3fd7c7=_0x2804fc;for(var _0x22d136,_0x3d4d0d=0x1,_0xbc182e=arguments[_0x3fd7c7(0x83)];_0x3d4d0d<_0xbc182e;_0x3d4d0d++){_0x22d136=arguments[_0x3d4d0d];for(var _0x47dd88 in _0x22d136)Object[_0x3fd7c7(0x21e)]['hasOwnProperty'][_0x3fd7c7(0x219)](_0x22d136,_0x47dd88)&&(_0x4c80d0[_0x47dd88]=_0x22d136[_0x47dd88]);}return _0x4c80d0;},b[_0x2804fc(0x13c)](this,arguments);},Ot=function(_0x20b40d,_0x38876c){const _0x130d96=_0x3d2806;var _0x578f77={};for(var _0x2cae56 in _0x20b40d)Object[_0x130d96(0x21e)][_0x130d96(0x2ee)][_0x130d96(0x219)](_0x20b40d,_0x2cae56)&&_0x38876c[_0x130d96(0x1d2)](_0x2cae56)<0x0&&(_0x578f77[_0x2cae56]=_0x20b40d[_0x2cae56]);if(_0x20b40d!=null&&typeof Object[_0x130d96(0x148)]=='function'){for(var _0x370599=0x0,_0x2cae56=Object[_0x130d96(0x148)](_0x20b40d);_0x370599<_0x2cae56['length'];_0x370599++)_0x38876c[_0x130d96(0x1d2)](_0x2cae56[_0x370599])<0x0&&Object[_0x130d96(0x21e)][_0x130d96(0x252)][_0x130d96(0x219)](_0x20b40d,_0x2cae56[_0x370599])&&(_0x578f77[_0x2cae56[_0x370599]]=_0x20b40d[_0x2cae56[_0x370599]]);}return _0x578f77;},pe=M[_0x3d2806(0x2ef)](function(_0x12571c,_0x259025){const _0x491c08=_0x3d2806;var _0x5285cf=_0x12571c[_0x491c08(0x9b)],_0x1ff0c5=_0x12571c['id'],_0x284961=_0x12571c['className'],_0x5a324a=_0x12571c[_0x491c08(0x1f8)],_0xc805b7=Ot(_0x12571c,[_0x491c08(0x9b),'id',_0x491c08(0xb4),'extend']),_0x27f88a=_0x491c08(0x169)[_0x491c08(0x1f3)](_0x1ff0c5,'\x20')[_0x491c08(0x1f3)](_0x284961||'')[_0x491c08(0x183)](),_0x57d9dd=M[_0x491c08(0xdc)]('_'[_0x491c08(0x1f3)](Dt()));return Ae(_0x5285cf,''[_0x491c08(0x1f3)](_0x1ff0c5),{'defIds':_0x5285cf[_0x491c08(0x278)],'idSuffix':_0x57d9dd[_0x491c08(0x199)]},b({'ref':_0x259025,'className':_0x27f88a},_0xc805b7),_0x5a324a);});function Ae(_0x57446a,_0x55b95b,_0x199655,_0x48e514,_0x574051){const _0x297345=_0x3d2806;return M['createElement'](_0x57446a[_0x297345(0x1dc)],b(b({'key':_0x55b95b},Tt(_0x57446a,_0x199655,_0x574051)),_0x48e514),(Rt(_0x57446a,_0x199655)['children']||[])[_0x297345(0xc3)](function(_0x74315d,_0x1ef996){const _0x1b78d5=_0x297345;return Ae(_0x74315d,''[_0x1b78d5(0x1f3)](_0x55b95b,'-')['concat'](_0x57446a[_0x1b78d5(0x1dc)],'-')[_0x1b78d5(0x1f3)](_0x1ef996),_0x199655,void 0x0,_0x574051);}));}function Tt(_0x5d9c1,_0x5d7d08,_0x15db0f){const _0x3d6923=_0x3d2806;var _0x2f1cb5=b({},_0x5d9c1[_0x3d6923(0x265)]);_0x15db0f!=null&&_0x15db0f[_0x3d6923(0x1f1)]&&_0x2f1cb5[_0x3d6923(0x304)]===_0x3d6923(0x1f1)&&(_0x2f1cb5[_0x3d6923(0x304)]=_0x15db0f[_0x3d6923(0x1f1)]),_0x5d9c1[_0x3d6923(0x1dc)]===_0x3d6923(0xe0)&&_0x2f1cb5['id']&&(_0x2f1cb5['id']=_0x2f1cb5['id']+_0x5d7d08['idSuffix']),Object[_0x3d6923(0x2eb)](_0x2f1cb5)[_0x3d6923(0x246)](function(_0x21a12d){const _0x1d8b14=_0x3d6923;var _0x293eb1=_0x21a12d[0x0],_0x42baba=_0x21a12d[0x1];_0x293eb1===_0x1d8b14(0xe0)&&typeof _0x42baba=='string'&&(_0x2f1cb5[_0x293eb1]=_0x42baba[_0x1d8b14(0x109)](/url\(#(.*)\)/,_0x1d8b14(0x179)['concat'](_0x5d7d08[_0x1d8b14(0x215)],')')));});var _0x2a85e0=_0x5d7d08[_0x3d6923(0x278)];return!_0x2a85e0||_0x2a85e0['length']===0x0||(_0x5d9c1[_0x3d6923(0x1dc)]===_0x3d6923(0x22c)&&_0x2f1cb5[_0x3d6923(0x149)]&&(_0x2f1cb5[_0x3d6923(0x149)]=_0x2f1cb5['xlink:href']+_0x5d7d08[_0x3d6923(0x215)]),Object[_0x3d6923(0x2eb)](_0x2f1cb5)[_0x3d6923(0x246)](function(_0x4b8138){const _0x88fe26=_0x3d6923;var _0x4dd6a8=_0x4b8138[0x0],_0x10a83c=_0x4b8138[0x1];typeof _0x10a83c==_0x88fe26(0x258)&&(_0x2f1cb5[_0x4dd6a8]=_0x10a83c[_0x88fe26(0x109)](/url\(#(.*)\)/,_0x88fe26(0x179)[_0x88fe26(0x1f3)](_0x5d7d08[_0x88fe26(0x215)],')')));})),_0x2f1cb5;}function Rt(_0x13b47a,_0x43cf51){const _0x3b6707=_0x3d2806;var _0x3128e4,_0x1409de=_0x43cf51[_0x3b6707(0x278)];return!_0x1409de||_0x1409de[_0x3b6707(0x83)]===0x0?_0x13b47a:_0x13b47a[_0x3b6707(0x1dc)]===_0x3b6707(0x1ac)&&(!((_0x3128e4=_0x13b47a[_0x3b6707(0x11c)])===null||_0x3128e4===void 0x0)&&_0x3128e4[_0x3b6707(0x83)])?b(b({},_0x13b47a),{'children':_0x13b47a[_0x3b6707(0x11c)][_0x3b6707(0xc3)](function(_0x1ec91c){const _0x6be1f7=_0x3b6707;return typeof _0x1ec91c[_0x6be1f7(0x265)]['id']==_0x6be1f7(0x258)&&_0x1409de&&_0x1409de[_0x6be1f7(0x255)](_0x1ec91c[_0x6be1f7(0x265)]['id'])?b(b({},_0x1ec91c),{'attrs':b(b({},_0x1ec91c['attrs']),{'id':_0x1ec91c[_0x6be1f7(0x265)]['id']+_0x43cf51['idSuffix']})}):_0x1ec91c;})}):_0x13b47a;}function Dt(){const _0x569ba4=_0x3d2806;return Math[_0x569ba4(0x2e7)]()[_0x569ba4(0x302)](0x24)[_0x569ba4(0x285)](0x2,0x8);}pe[_0x3d2806(0xf9)]=_0x3d2806(0x1b8);var Ut={'tag':_0x3d2806(0x1cb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3d2806(0x125),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3d2806(0x1c2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3d2806(0x26a),'attrs':{'stroke':'currentColor','d':_0x3d2806(0xf6),'strokeLinecap':_0x3d2806(0x2ff),'strokeLinejoin':_0x3d2806(0x2ff),'strokeWidth':1.2}}]},{'tag':_0x3d2806(0x1ac),'attrs':{},'children':[{'tag':_0x3d2806(0x241),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3d2806(0x26a),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},ye=M['forwardRef'](function(_0x591529,_0x53022d){const _0x843c5f=_0x3d2806;return M[_0x843c5f(0x16a)](pe,Object['assign']({},_0x591529,{'id':'off-line-icon','ref':_0x53022d,'icon':Ut}));});ye[_0x3d2806(0xf9)]=_0x3d2806(0x205);var Nt={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3d2806(0x125),'viewBox':_0x3d2806(0x170),'width':_0x3d2806(0x1c2),'height':_0x3d2806(0x1c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x3d2806(0x243)},'children':[{'tag':'path','attrs':{'stroke':_0x3d2806(0x262),'d':_0x3d2806(0x2ab),'strokeLinecap':'round','strokeLinejoin':_0x3d2806(0x2ff),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3d2806(0x241),'attrs':{'id':_0x3d2806(0x1c9)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x3d2806(0x19e),'transform':_0x3d2806(0x2fe)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},$e=M['forwardRef'](function(_0x576c7a,_0x52157c){const _0x447e83=_0x3d2806;return M[_0x447e83(0x16a)](pe,Object['assign']({},_0x576c7a,{'id':_0x447e83(0x23f),'ref':_0x52157c,'icon':Nt}));});$e[_0x3d2806(0xf9)]=_0x3d2806(0x168);function Mt(_0x5c78c5){const _0x266694=_0x3d2806;switch(_0x5c78c5){case u['CollaborationStatus'][_0x266694(0x30f)]:return _0x266694(0x257);case u[_0x266694(0x1a4)]['CONFLICT']:return'collabStatus.conflict';case u['CollaborationStatus']['FETCH_MISS']:return _0x266694(0x277);case u[_0x266694(0x1a4)]['NOT_COLLAB']:return _0x266694(0xcc);case u[_0x266694(0x1a4)][_0x266694(0x225)]:case u[_0x266694(0x1a4)][_0x266694(0x98)]:return'collabStatus.syncing';case u[_0x266694(0x1a4)][_0x266694(0x20d)]:case u[_0x266694(0x1a4)][_0x266694(0x2a4)]:return _0x266694(0x17f);}}function xe(_0x34f6e9){const _0x24afe2=_0x3d2806,{status$:_0x58b4b3}=_0x34f6e9,_0x3ddcc6=O[_0x24afe2(0x2cf)](_0x58b4b3,u['CollaborationStatus'][_0x24afe2(0xfd)]),_0x5da7d3=O[_0x24afe2(0x213)](a[_0x24afe2(0x26e)]),_0x37291e=O[_0x24afe2(0x213)](u[_0x24afe2(0x24d)]),_0x139829=_0x3ddcc6!==u[_0x24afe2(0x1a4)][_0x24afe2(0x30f)],_0x219259=_0x5da7d3['t'](Mt(_0x3ddcc6)),_0x5421c2=_0x139829?P[_0x24afe2(0x2e2)]($e,{}):P['jsx'](ye,{}),_0x335887=M[_0x24afe2(0xe6)](()=>{const _0x87ca0a=_0x24afe2;_0x139829||_0x37291e[_0x87ca0a(0x267)]();},[_0x139829,_0x37291e]);function _0x4674e6(){const _0x2bff46=_0x24afe2;return P[_0x2bff46(0x190)](_0x2bff46(0xac),{'className':_0x2bff46(0x1be),'onClick':_0x335887,'children':[P[_0x2bff46(0x2e2)](_0x2bff46(0xac),{'className':D['clsx'](_0x2bff46(0x173),{'univer-text-green-500':_0x139829,'univer-text-red-500':!_0x139829}),'children':_0x5421c2}),P[_0x2bff46(0x2e2)](_0x2bff46(0xac),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x219259})]});}return _0x139829?_0x4674e6():P[_0x24afe2(0x2e2)](D[_0x24afe2(0x2b3)],{'title':_0x5da7d3['t'](_0x24afe2(0x122)),'children':_0x4674e6()});}var Lt=Object['getOwnPropertyDescriptor'],Pt=(_0x1a9646,_0x3dc581,_0x4746b4,_0x2be3d3)=>{const _0x10dd78=_0x3d2806;for(var _0x87231=_0x2be3d3>0x1?void 0x0:_0x2be3d3?Lt(_0x3dc581,_0x4746b4):_0x3dc581,_0x346c0e=_0x1a9646[_0x10dd78(0x83)]-0x1,_0x55063f;_0x346c0e>=0x0;_0x346c0e--)(_0x55063f=_0x1a9646[_0x346c0e])&&(_0x87231=_0x55063f(_0x87231)||_0x87231);return _0x87231;},V=(_0x3a26bb,_0x40d03b)=>(_0x2d4bba,_0x5caa95)=>_0x40d03b(_0x2d4bba,_0x5caa95,_0x3a26bb);exports[_0x3d2806(0x2e8)]=class extends a['Disposable']{constructor(_0x2d3ca2,_0x3880a2,_0x3d91fa,_0x395b33){const _0x51c8c0=_0x3d2806;super(),h(this,_0x51c8c0(0x2d4),new d[(_0x51c8c0(0xec))](u['CollaborationStatus'][_0x51c8c0(0xfd)])),(this[_0x51c8c0(0x1a8)]=_0x2d3ca2,this[_0x51c8c0(0x193)]=_0x3880a2,this[_0x51c8c0(0x30b)]=_0x3d91fa,this['_uiPartsService']=_0x395b33,this[_0x51c8c0(0x28d)](),this[_0x51c8c0(0xa7)]());}[_0x3d2806(0xa7)](){const _0x64b47d=_0x3d2806;this[_0x64b47d(0x94)](this['_univerInstanceService'][_0x64b47d(0x264)][_0x64b47d(0x2c6)](d[_0x64b47d(0x88)](()=>{const _0x28f11e=_0x64b47d,_0x9ed286=this[_0x28f11e(0x1a8)][_0x28f11e(0x136)]();return _0x9ed286?this[_0x28f11e(0x30b)]['getCollabEntity$'](_0x9ed286['getUnitId']()):d['of'](null);}),d[_0x64b47d(0x88)](_0x12523e=>_0x12523e?_0x12523e[_0x64b47d(0x29f)]:d['of'](u['CollaborationStatus']['NOT_COLLAB'])))[_0x64b47d(0x124)](_0x407809=>{const _0x5ef6b9=_0x64b47d;this[_0x5ef6b9(0x2d4)]['next'](_0x407809);}));}[_0x3d2806(0x28d)](){const _0x5676fc=_0x3d2806;this[_0x5676fc(0x94)](this[_0x5676fc(0x309)][_0x5676fc(0x1a6)](O[_0x5676fc(0xea)]['HEADER_MENU'],()=>O[_0x5676fc(0x135)](wt({'status$':this[_0x5676fc(0x2d4)][_0x5676fc(0x2cd)]()}),this[_0x5676fc(0x193)])));}},exports['DesktopCollaborationStatusDisplayController']=Pt([V(0x0,a[_0x3d2806(0x15b)]),V(0x1,a['Inject'](a['Injector'])),V(0x2,a[_0x3d2806(0xb9)](u[_0x3d2806(0xc8)])),V(0x3,O[_0x3d2806(0x1d1)])],exports[_0x3d2806(0x2e8)]);function wt(_0x4d4658){const {status$:_0x4e2357}=_0x4d4658;return function(){const _0x2c61dd=_0x2d87;return P[_0x2c61dd(0x2e2)](xe,{'status$':_0x4e2357});};}var At=Object[_0x3d2806(0x19f)],yt=(_0x2037a9,_0x3d637d,_0x5306b0,_0x9b39b)=>{const _0x2df8c4=_0x3d2806;for(var _0x4be32f=_0x9b39b>0x1?void 0x0:_0x9b39b?At(_0x3d637d,_0x5306b0):_0x3d637d,_0x2a0ca6=_0x2037a9[_0x2df8c4(0x83)]-0x1,_0x4b143a;_0x2a0ca6>=0x0;_0x2a0ca6--)(_0x4b143a=_0x2037a9[_0x2a0ca6])&&(_0x4be32f=_0x4b143a(_0x4be32f)||_0x4be32f);return _0x4be32f;},y=(_0x2c4d4a,_0x13a9f5)=>(_0x2f5a44,_0x13a44e)=>_0x13a9f5(_0x2f5a44,_0x13a44e,_0x2c4d4a);let q=class extends a['Disposable']{constructor(_0x27e9ec,_0xe58ff,_0x2c5047,_0x5bcd58,_0x2f6591,_0x495871){const _0x36a454=_0x3d2806;super(),this[_0x36a454(0x1b9)]=_0x27e9ec,this[_0x36a454(0x152)]=_0xe58ff,this[_0x36a454(0xd3)]=_0x2c5047,this[_0x36a454(0xe5)]=_0x5bcd58,this[_0x36a454(0x16f)]=_0x2f6591,this[_0x36a454(0x14a)]=_0x495871,this[_0x36a454(0xb7)](),this[_0x36a454(0x222)]();}['_setupBeforeClosingHandler'](){const _0x295f26=_0x3d2806;this[_0x295f26(0x94)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x5a8e6d=_0x295f26;if(this['_localCacheService'][_0x5a8e6d(0x1bc)]['size'])return this['_localeService']['t'](_0x5a8e6d(0x2ec));}));}[_0x3d2806(0x222)](){const _0x46a388=_0x3d2806;this[_0x46a388(0x94)](this[_0x46a388(0xd3)][_0x46a388(0x19c)][_0x46a388(0x124)](_0x300355=>{const _0x21ad07=_0x46a388;_0x300355['id']===u[_0x21ad07(0x176)][_0x21ad07(0xcb)]&&this[_0x21ad07(0xe5)][_0x21ad07(0xbc)]({'type':D[_0x21ad07(0x172)][_0x21ad07(0x20a)],'content':this[_0x21ad07(0x14a)]['t'](_0x21ad07(0x286))}),_0x300355['id']===u[_0x21ad07(0x176)][_0x21ad07(0x19a)]&&this[_0x21ad07(0xe5)][_0x21ad07(0xbc)]({'type':D[_0x21ad07(0x172)][_0x21ad07(0x20a)],'content':this['_localeService']['t'](_0x21ad07(0x132))}),_0x300355['id']===u[_0x21ad07(0x176)][_0x21ad07(0x1d7)]&&this[_0x21ad07(0x16f)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x21ad07(0x1fa)),'type':'error','duration':0x0}),_0x300355['id']===u[_0x21ad07(0x176)][_0x21ad07(0x1a1)]&&this[_0x21ad07(0xe5)][_0x21ad07(0xbc)]({'type':D[_0x21ad07(0x172)]['Error'],'content':this[_0x21ad07(0x14a)]['t'](_0x21ad07(0x132))+'('+_0x300355[_0x21ad07(0x87)]+')'}),_0x300355['id']===u['CollaborationUIEventId'][_0x21ad07(0x260)]&&this['_messageService']['show']({'type':D[_0x21ad07(0x172)][_0x21ad07(0x20a)],'content':this['_localeService']['t'](_0x300355[_0x21ad07(0x87)]||'')}),_0x300355['id']===u[_0x21ad07(0x176)][_0x21ad07(0x200)]&&this[_0x21ad07(0xe5)][_0x21ad07(0xbc)]({'type':D[_0x21ad07(0x172)][_0x21ad07(0x20a)],'content':this[_0x21ad07(0x14a)]['t']('session.will-retry')}),_0x300355['id']===u[_0x21ad07(0x176)][_0x21ad07(0x2bb)]&&this[_0x21ad07(0xe5)][_0x21ad07(0xbc)]({'type':D[_0x21ad07(0x172)][_0x21ad07(0x1bd)],'content':this[_0x21ad07(0x14a)]['t']('session.connection-failed')}),_0x300355['id']===u[_0x21ad07(0x176)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x21ad07(0xe5)][_0x21ad07(0xbc)]({'type':D['MessageType'][_0x21ad07(0x1bd)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};q=yt([y(0x0,O[_0x3d2806(0x196)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x3d2806(0xb9)](u[_0x3d2806(0x91)])),y(0x3,O[_0x3d2806(0x1cd)]),y(0x4,O[_0x3d2806(0x120)]),y(0x5,a['Inject'](a[_0x3d2806(0x26e)]))],q);const $t=_0x3d2806(0x181),Ue={},Ee=a['createIdentifier'](_0x3d2806(0x1ea));var xt=Object[_0x3d2806(0x19f)],Bt=(_0x43d5f5,_0x36bd1b,_0x4d50e9,_0x1c99fc)=>{const _0x5f131c=_0x3d2806;for(var _0x2055f4=_0x1c99fc>0x1?void 0x0:_0x1c99fc?xt(_0x36bd1b,_0x4d50e9):_0x36bd1b,_0x17a6e8=_0x43d5f5[_0x5f131c(0x83)]-0x1,_0x514f97;_0x17a6e8>=0x0;_0x17a6e8--)(_0x514f97=_0x43d5f5[_0x17a6e8])&&(_0x2055f4=_0x514f97(_0x2055f4)||_0x2055f4);return _0x2055f4;},F=(_0x37e67d,_0x3b5960)=>(_0x293e1e,_0x278aea)=>_0x3b5960(_0x293e1e,_0x278aea,_0x37e67d);exports[_0x3d2806(0x305)]=class extends a[_0x3d2806(0x96)]{constructor(_0xf1e4b,_0x32468a,_0x23ebe2,_0x5603af,_0x16e02a){const _0x10f1de=_0x3d2806;super(),this[_0x10f1de(0x171)]=_0xf1e4b,this['_logService']=_0x32468a,this['_commandService']=_0x23ebe2,this[_0x10f1de(0x25c)]=_0x5603af,_0x16e02a?_0x16e02a==null||_0x16e02a[_0x10f1de(0xa9)]()[_0x10f1de(0x201)](()=>this['_init']()):(this[_0x10f1de(0x2c8)][_0x10f1de(0x20c)]('[CollaborationDataLoaderController]',_0x10f1de(0x15e)),this[_0x10f1de(0x1ad)]());}async['_init'](){const _0x99b150=_0x3d2806,_0x975dfa=this[_0x99b150(0x171)][_0x99b150(0x223)](_0x99b150(0x12a)),_0x45b80c=this[_0x99b150(0x171)][_0x99b150(0x223)](_0x99b150(0x95)),_0x2c492b=this['_urlService'][_0x99b150(0x223)](_0x99b150(0xe8));if(!_0x975dfa||!_0x45b80c){this[_0x99b150(0x2c8)]['debug']('[CollaborationDataLoaderController]',_0x99b150(0x159));return;}const _0xbc93a8=await this[_0x99b150(0x25c)]['loadUnit'](_0x975dfa,Number(_0x45b80c),_0x2c492b);_0xbc93a8&&_0xbc93a8 instanceof a[_0x99b150(0xaa)]&&this[_0x99b150(0x187)](_0xbc93a8);}async[_0x3d2806(0x187)](_0x3ae702){const _0x1da551=_0x3d2806;await this['_updateSubUnitFromURLParams'](_0x3ae702),_0x3ae702[_0x1da551(0x242)]['pipe'](d[_0x1da551(0x189)](this[_0x1da551(0x139)]))['subscribe'](_0x4fce2a=>{_0x4fce2a&&this['_updateURLWithCurrentState'](_0x4fce2a);}),this['_urlService'][_0x1da551(0x2b5)][_0x1da551(0x2c6)](d[_0x1da551(0x189)](this[_0x1da551(0x139)]))[_0x1da551(0x124)](()=>this[_0x1da551(0x2d8)](_0x3ae702));}['_updateURLWithCurrentState'](_0x152e7a,_0x542d74=!0x1){const _0x2e2fb9=_0x3d2806,_0x2d7df7=this[_0x2e2fb9(0x171)]['getParam'](_0x2e2fb9(0xe8));_0x152e7a['getSheetId']()!==_0x2d7df7&&this['_urlService']['setParam'](_0x2e2fb9(0xe8),_0x152e7a['getSheetId'](),_0x542d74);}async[_0x3d2806(0x2d8)](_0x3d37ed){const _0x3ab85e=_0x3d2806;var _0x419b80;const _0x46c168=this['_urlService']['getParam'](_0x3ab85e(0xe8));if(!_0x46c168||!_0x3d37ed[_0x3ab85e(0x2ac)](_0x46c168)){const _0x3264ed=_0x3d37ed[_0x3ab85e(0xf8)]()[0x0],_0x35c57a=_0x3d37ed[_0x3ab85e(0x2ac)](_0x3264ed);if(!_0x35c57a)return;this[_0x3ab85e(0xd7)](_0x35c57a,!0x0),await this['_commandService']['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x3d37ed[_0x3ab85e(0x1ba)](),'subUnitId':_0x3264ed});return;}((_0x419b80=_0x3d37ed[_0x3ab85e(0x12c)]())==null?void 0x0:_0x419b80[_0x3ab85e(0x144)]())!==_0x46c168&&await this[_0x3ab85e(0xa3)][_0x3ab85e(0x23e)](g[_0x3ab85e(0x207)]['id'],{'unitId':_0x3d37ed[_0x3ab85e(0x1ba)](),'subUnitId':_0x46c168});}},exports[_0x3d2806(0x305)]=Bt([F(0x0,Ee),F(0x1,a[_0x3d2806(0x1e4)]),F(0x2,a[_0x3d2806(0xbb)]),F(0x3,a[_0x3d2806(0xb9)](u[_0x3d2806(0x248)])),F(0x4,a['Optional'](Ke[_0x3d2806(0x15d)]))],exports[_0x3d2806(0x305)]);var jt=Object['getOwnPropertyDescriptor'],kt=(_0x58f379,_0x4292aa,_0x53cd6b,_0x2bab33)=>{for(var _0x397014=_0x2bab33>0x1?void 0x0:_0x2bab33?jt(_0x4292aa,_0x53cd6b):_0x4292aa,_0x25a30a=_0x58f379['length']-0x1,_0x1d783d;_0x25a30a>=0x0;_0x25a30a--)(_0x1d783d=_0x58f379[_0x25a30a])&&(_0x397014=_0x1d783d(_0x397014)||_0x397014);return _0x397014;},ce=(_0x452b62,_0x48f45b)=>(_0x258304,_0x24fb54)=>_0x48f45b(_0x258304,_0x24fb54,_0x452b62);let z=class{constructor(_0x52cc84,_0x192bcf,_0x1b26a9){const _0x48eb02=_0x3d2806;this[_0x48eb02(0x193)]=_0x52cc84,this[_0x48eb02(0x13d)]=_0x192bcf,this[_0x48eb02(0x1c4)]=_0x1b26a9;}[_0x3d2806(0x24b)](_0xa9e449){const _0x31df8d=_0x3d2806;this[_0x31df8d(0x12b)](_0xa9e449),this[_0x31df8d(0x111)](_0xa9e449);}['transformRemoteChangeset'](_0x2912e9){const _0x41f098=_0x3d2806,{unitID:_0x41472f}=_0x2912e9,_0x53c4cb=this[_0x41f098(0x1c4)]['getRenderById'](_0x41472f)[_0x41f098(0x2f0)](E[_0x41f098(0xe4)]),{redoCache:_0x3c20e5}=_0x53c4cb[_0x41f098(0x2fb)]();if(_0x3c20e5['length']===0x0)return _0x2912e9;let _0x549236=a[_0x41f098(0x147)][_0x41f098(0x230)](_0x2912e9[_0x41f098(0x1de)][0x0]);for(let _0x1183fc=0x0;_0x1183fc<_0x3c20e5[_0x41f098(0x83)];_0x1183fc++){const _0x5dc107={'id':_0x41f098(0x1d9),'params':{..._0x3c20e5[_0x1183fc]}},_0x3d1555=this[_0x41f098(0x13d)][_0x41f098(0x2cc)](_0x549236,_0x5dc107,!0x1);if(m[_0x41f098(0x2f7)](_0x3d1555))throw _0x3d1555[_0x41f098(0x197)];_0x549236=_0x3d1555[_0x41f098(0x19b)];}return{...a[_0x41f098(0x147)]['deepClone'](_0x2912e9),'mutations':[_0x549236]};}['_transformUndoRedoStack'](_0x52be5a){const _0x2d611b=_0x3d2806,{unitID:_0x4c8512}=_0x52be5a,_0xb6c026=this['_renderManagerService'][_0x2d611b(0x1e2)](_0x4c8512)['with'](E[_0x2d611b(0xe4)]),{undoCache:_0x119199,redoCache:_0x3596d0}=_0xb6c026[_0x2d611b(0x2fb)]();if(_0x119199[_0x2d611b(0x83)]===0x0||_0x3596d0[_0x2d611b(0x83)]===0x0)return;const _0x118b8c=[],_0x1f942a=[];let _0x2d22db=a[_0x2d611b(0x147)][_0x2d611b(0x230)](_0x52be5a[_0x2d611b(0x1de)][0x0]),_0x905dd3=a[_0x2d611b(0x147)][_0x2d611b(0x230)](_0x52be5a['mutations'][0x0]);for(let _0x21d78c=_0x119199[_0x2d611b(0x83)]-0x1;_0x21d78c>=0x0;_0x21d78c--){const _0x16c090={'id':'doc.mutation.rich-text-editing','params':{..._0x119199[_0x21d78c]}},_0x3f6b64={'id':_0x2d611b(0x1d9),'params':{..._0x3596d0[_0x21d78c]}},_0x5b01c8=this[_0x2d611b(0x13d)]['transformMutation'](_0x2d22db,_0x16c090,!0x1),_0x55c851=this[_0x2d611b(0x13d)][_0x2d611b(0x2cc)](_0x905dd3,_0x3f6b64,!0x1);if(m[_0x2d611b(0x2f7)](_0x5b01c8))throw _0x5b01c8['error'];if(m['isTransformMutationFailure'](_0x55c851))throw _0x55c851[_0x2d611b(0x197)];_0x118b8c[_0x2d611b(0xa8)](_0x5b01c8[_0x2d611b(0xb2)]['params']),_0x1f942a[_0x2d611b(0xa8)](_0x55c851['m2Prime'][_0x2d611b(0x180)]),_0x2d22db=_0x5b01c8[_0x2d611b(0x19b)],_0x905dd3=_0x55c851[_0x2d611b(0x19b)];}_0xb6c026[_0x2d611b(0x1f0)]({'undoCache':_0x118b8c,'redoCache':_0x1f942a});}[_0x3d2806(0x111)](_0x2a362d){const _0x41a5ce=_0x3d2806,{unitID:_0x5cb0ea}=_0x2a362d,_0x4f59d7=this[_0x41a5ce(0x1c4)][_0x41a5ce(0x1e2)](_0x5cb0ea)[_0x41a5ce(0x2f0)](E[_0x41a5ce(0xe4)]),_0x476386=_0x4f59d7[_0x41a5ce(0x26b)]();if(_0x476386==null)return;const _0x277f71=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a362d[_0x41a5ce(0x1ec)],'actions':null,'textRanges':[_0x476386]}}],_0x5df6b4=this['_transformService']['transformMutationsWithChangeset'](_0x2a362d,_0x277f71);if(!m[_0x41a5ce(0x104)](_0x5df6b4))throw _0x5df6b4[_0x41a5ce(0x197)];const _0x166fcc=_0x5df6b4[_0x41a5ce(0xb2)][0x0]['params'][_0x41a5ce(0x30e)];Array[_0x41a5ce(0xf5)](_0x166fcc)&&_0x166fcc[_0x41a5ce(0x83)]&&_0x4f59d7[_0x41a5ce(0x110)](_0x166fcc[0x0]);}};z=kt([ce(0x0,a[_0x3d2806(0xb9)](a[_0x3d2806(0x145)])),ce(0x1,m[_0x3d2806(0xd9)]),ce(0x2,p[_0x3d2806(0x2bf)])],z);var Ft=Object[_0x3d2806(0x19f)],Ht=(_0x491c50,_0x3bf89e,_0x18bdf6,_0x4ee8e2)=>{const _0xaa004=_0x3d2806;for(var _0x2c0850=_0x4ee8e2>0x1?void 0x0:_0x4ee8e2?Ft(_0x3bf89e,_0x18bdf6):_0x3bf89e,_0x3ee965=_0x491c50[_0xaa004(0x83)]-0x1,_0x151c8b;_0x3ee965>=0x0;_0x3ee965--)(_0x151c8b=_0x491c50[_0x3ee965])&&(_0x2c0850=_0x151c8b(_0x2c0850)||_0x2c0850);return _0x2c0850;},le=(_0x1138a3,_0x9d68af)=>(_0x302f51,_0x189478)=>_0x9d68af(_0x302f51,_0x189478,_0x1138a3);let J=class{constructor(_0x22f80e,_0x1d1f78,_0x562fe1){const _0x13e086=_0x3d2806;this[_0x13e086(0x193)]=_0x22f80e,this[_0x13e086(0x13d)]=_0x1d1f78,this[_0x13e086(0x231)]=_0x562fe1;}[_0x3d2806(0x102)](_0x45947c){const _0x12631c=_0x3d2806;this[_0x12631c(0x29b)](_0x45947c);}[_0x3d2806(0x2f3)](_0x2384a1){const _0x357b26=_0x3d2806,{unitID:_0x45d151}=_0x2384a1,{collaboration:_0x548aed}=this[_0x357b26(0x231)]['getStateCache'](_0x45d151);if(_0x548aed['length']===0x0)return _0x2384a1;let _0x23f68b=a[_0x357b26(0x147)][_0x357b26(0x230)](_0x2384a1[_0x357b26(0x1de)][0x0]);for(let _0x2a9c61=0x0;_0x2a9c61<_0x548aed[_0x357b26(0x83)];_0x2a9c61++){const _0x2460f3={'id':_0x357b26(0x1d9),'params':{'unitId':_0x548aed[_0x2a9c61][_0x357b26(0x211)],..._0x548aed[_0x2a9c61]['redoState']}},_0x3940b1=this[_0x357b26(0x13d)][_0x357b26(0x2cc)](_0x23f68b,_0x2460f3,!0x1);if(m[_0x357b26(0x2f7)](_0x3940b1))throw _0x3940b1[_0x357b26(0x197)];_0x23f68b=_0x3940b1['m1Prime'];}return{...a[_0x357b26(0x147)][_0x357b26(0x230)](_0x2384a1),'mutations':[_0x23f68b]};}['_transformHistoryAndStateStack'](_0x17d477){const _0x778725=_0x3d2806,{unitID:_0x137d0c}=_0x17d477,{history:_0xc2721c,collaboration:_0x2a7cb6}=this[_0x778725(0x231)][_0x778725(0x1b0)](_0x137d0c);if(_0xc2721c['length']===0x0&&_0x2a7cb6[_0x778725(0x83)]===0x0)return;const _0x4e0c00=[],_0x3f2a5c=[];let _0x5e757a=a['Tools'][_0x778725(0x230)](_0x17d477[_0x778725(0x1de)][0x0]),_0x105126=a[_0x778725(0x147)][_0x778725(0x230)](_0x17d477[_0x778725(0x1de)][0x0]);for(let _0x41dcda=_0xc2721c[_0x778725(0x83)]-0x1;_0x41dcda>=0x0;_0x41dcda--){const _0x4835cd={'id':_0x778725(0x1d9),'params':{'unitId':_0xc2721c[_0x41dcda]['unitId'],..._0xc2721c[_0x41dcda]['undoState']}},_0x379c7a={'id':_0x778725(0x1d9),'params':{'unitId':_0xc2721c[_0x41dcda]['unitId'],..._0xc2721c[_0x41dcda][_0x778725(0xd8)]}},_0x25b4c5=this[_0x778725(0x13d)]['transformMutation'](_0x5e757a,_0x4835cd,!0x1),_0x8e2c11=this[_0x778725(0x13d)]['transformMutation'](_0x105126,_0x379c7a,!0x1);if(m['isTransformMutationFailure'](_0x25b4c5))throw _0x25b4c5[_0x778725(0x197)];if(m['isTransformMutationFailure'](_0x8e2c11))throw _0x8e2c11[_0x778725(0x197)];_0x4e0c00[_0x778725(0xa8)]({..._0xc2721c[_0x41dcda],'undoState':_0x25b4c5[_0x778725(0xb2)][_0x778725(0x180)],'redoState':_0x8e2c11[_0x778725(0xb2)][_0x778725(0x180)]}),_0x5e757a=_0x25b4c5[_0x778725(0x19b)],_0x105126=_0x8e2c11[_0x778725(0x19b)];}_0x5e757a=a[_0x778725(0x147)][_0x778725(0x230)](_0x17d477['mutations'][0x0]),_0x105126=a[_0x778725(0x147)][_0x778725(0x230)](_0x17d477[_0x778725(0x1de)][0x0]);for(let _0x3c9cef=_0x2a7cb6[_0x778725(0x83)]-0x1;_0x3c9cef>=0x0;_0x3c9cef--){const _0x163b50={'id':_0x778725(0x1d9),'params':{'unitId':_0x2a7cb6[_0x3c9cef]['unitId'],..._0x2a7cb6[_0x3c9cef][_0x778725(0x184)]}},_0x5bcfc3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a7cb6[_0x3c9cef][_0x778725(0x211)],..._0x2a7cb6[_0x3c9cef][_0x778725(0xd8)]}},_0x399052=this[_0x778725(0x13d)][_0x778725(0x2cc)](_0x5e757a,_0x163b50,!0x1),_0x1079b2=this[_0x778725(0x13d)][_0x778725(0x2cc)](_0x105126,_0x5bcfc3,!0x1);if(m[_0x778725(0x2f7)](_0x399052))throw _0x399052[_0x778725(0x197)];if(m['isTransformMutationFailure'](_0x1079b2))throw _0x1079b2['error'];_0x3f2a5c['unshift']({..._0x2a7cb6[_0x3c9cef],'undoState':_0x399052['m2Prime'][_0x778725(0x180)],'redoState':_0x1079b2[_0x778725(0xb2)]['params']}),_0x5e757a=_0x399052[_0x778725(0x19b)],_0x105126=_0x1079b2[_0x778725(0x19b)];}this['_docStateChangeManagerService'][_0x778725(0x1b6)](_0x137d0c,{'history':_0x4e0c00,'collaboration':_0x3f2a5c});}};J=Ht([le(0x0,a[_0x3d2806(0xb9)](a[_0x3d2806(0x145)])),le(0x1,m['ITransformService']),le(0x2,a[_0x3d2806(0xb9)](E['DocStateChangeManagerService']))],J);var Yt=Object[_0x3d2806(0x19f)],Wt=(_0x459e17,_0x45ed57,_0x4f53d7,_0x1f4d9d)=>{const _0x3d3661=_0x3d2806;for(var _0x54f493=_0x1f4d9d>0x1?void 0x0:_0x1f4d9d?Yt(_0x45ed57,_0x4f53d7):_0x45ed57,_0x2d8d98=_0x459e17[_0x3d3661(0x83)]-0x1,_0x46ee01;_0x2d8d98>=0x0;_0x2d8d98--)(_0x46ee01=_0x459e17[_0x2d8d98])&&(_0x54f493=_0x46ee01(_0x54f493)||_0x54f493);return _0x54f493;},Ne=(_0x553a08,_0x576797)=>(_0x403597,_0x1fbaf6)=>_0x576797(_0x403597,_0x1fbaf6,_0x553a08);let Z=class{constructor(_0x2ca968,_0x32890e){const _0xa90627=_0x3d2806;this['_injector']=_0x2ca968,this[_0xa90627(0x13d)]=_0x32890e;}[_0x3d2806(0x2d7)](_0x1a6eec){const _0x168842=_0x3d2806;var _0x3e5dcc;const _0xfe4839=this[_0x168842(0x193)][_0x168842(0x107)](Y[_0x168842(0x2d1)]),_0x180ae9=(_0x3e5dcc=_0xfe4839[_0x168842(0x127)]())!=null?_0x3e5dcc:[];if(_0x180ae9[_0x168842(0x83)]===0x0)return;const _0xae5db4=_0x1a6eec[_0x168842(0x1ec)],_0x74401c=[{'id':_0x168842(0x1d9),'params':{'unitId':_0xae5db4,'actions':null,'textRanges':_0x180ae9}}],_0x1ed681=this[_0x168842(0x13d)][_0x168842(0x164)](_0x1a6eec,_0x74401c);if(!m[_0x168842(0x104)](_0x1ed681))throw _0x1ed681[_0x168842(0x197)];const _0x653c84=_0x1ed681[_0x168842(0xb2)][0x0][_0x168842(0x180)][_0x168842(0x30e)];Array[_0x168842(0xf5)](_0x653c84)&&_0x653c84['length']&&_0xfe4839[_0x168842(0x2e4)](_0x653c84,{'unitId':_0xae5db4,'subUnitId':_0xae5db4},!0x1);}};Z=Wt([Ne(0x0,a['Inject'](a[_0x3d2806(0x145)])),Ne(0x1,m[_0x3d2806(0xd9)])],Z);var Vt=Object[_0x3d2806(0x19f)],Xt=(_0x2c5394,_0x227d5f,_0x37434e,_0x8ed30c)=>{for(var _0x3ca050=_0x8ed30c>0x1?void 0x0:_0x8ed30c?Vt(_0x227d5f,_0x37434e):_0x227d5f,_0x24fe5d=_0x2c5394['length']-0x1,_0x1c25b5;_0x24fe5d>=0x0;_0x24fe5d--)(_0x1c25b5=_0x2c5394[_0x24fe5d])&&(_0x3ca050=_0x1c25b5(_0x3ca050)||_0x3ca050);return _0x3ca050;},N=(_0xc80cf0,_0x297b10)=>(_0x21385b,_0x25c99f)=>_0x297b10(_0x21385b,_0x25c99f,_0xc80cf0);let Q=class extends a[_0x3d2806(0x2c3)]{constructor(_0x1db9fe,_0xe51786,_0x40c4d5,_0x410cca,_0x21002c,_0xae62ff,_0x4b828d,_0x409daa){const _0x4ea629=_0x3d2806;super(),h(this,_0x4ea629(0x2d4),new d[(_0x4ea629(0xec))](u[_0x4ea629(0x1a4)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1db9fe,this['_collaborationController']=_0xe51786,this[_0x4ea629(0x2b8)]=_0x40c4d5,this[_0x4ea629(0x1c0)]=_0x410cca,this[_0x4ea629(0x194)]=_0x21002c,this[_0x4ea629(0x284)]=_0xae62ff,this[_0x4ea629(0xe5)]=_0x4b828d,this[_0x4ea629(0x14a)]=_0x409daa,this['_initEntityListener']());}[_0x3d2806(0x1b1)](){const _0x32cadf=_0x3d2806;this['disposeWithMe'](this[_0x32cadf(0x30b)][_0x32cadf(0x1da)][_0x32cadf(0x124)](_0x2b44f1=>{const _0x1d3f6a=_0x32cadf,_0x36bf4b=this[_0x1d3f6a(0x231)][_0x1d3f6a(0x2c9)][_0x1d3f6a(0x124)](_0x5e84ca=>{const _0x1bdecf=_0x1d3f6a;if(_0x5e84ca==null)return;const {unitId:_0x39bef0,redoState:_0x56e2d0,commandId:_0x41e7c9}=_0x5e84ca;if(_0x39bef0!==_0x2b44f1[_0x1bdecf(0x1ec)])return;const _0x509d5d={'id':_0x41e7c9,'type':a[_0x1bdecf(0x2ae)][_0x1bdecf(0x103)],'params':{'unitId':_0x39bef0,'actions':_0x56e2d0[_0x1bdecf(0x2f6)],'textRanges':null}};_0x2b44f1[_0x1bdecf(0xe7)](_0x509d5d);});if(_0x2b44f1[_0x1d3f6a(0x94)](_0x36bf4b),_0x2b44f1 instanceof u[_0x1d3f6a(0x17e)]){const _0x5609b1={'onTransformIME':_0x39f0c7=>this[_0x1d3f6a(0x2b8)][_0x1d3f6a(0x24b)](_0x39f0c7),'onTransformState':_0x3deb82=>this[_0x1d3f6a(0x1c0)]['transformStateCache'](_0x3deb82),'onTransformSelections':_0x1e5136=>this[_0x1d3f6a(0x194)][_0x1d3f6a(0x2d7)](_0x1e5136),'onSyncEditingCollabCursor':_0x13fc58=>this[_0x1d3f6a(0x284)][_0x1d3f6a(0x2bc)](_0x13fc58),'onTransformRemoteChangesetByIMECache':_0x46d2e2=>this[_0x1d3f6a(0x2b8)]['transformRemoteChangeset'](_0x46d2e2),'onTransformRemoteChangesetByStateCache':_0x45f3b7=>this[_0x1d3f6a(0x1c0)][_0x1d3f6a(0x2f3)](_0x45f3b7)};_0x2b44f1['addHandlerCallback'](_0x5609b1);}}));}};Q=Xt([N(0x0,a[_0x3d2806(0xb9)](E[_0x3d2806(0x8f)])),N(0x1,a['Inject'](u[_0x3d2806(0xc8)])),N(0x2,a[_0x3d2806(0xb9)](z)),N(0x3,a[_0x3d2806(0xb9)](J)),N(0x4,a[_0x3d2806(0xb9)](Z)),N(0x5,a[_0x3d2806(0xb9)](Ce)),N(0x6,O[_0x3d2806(0x1cd)]),N(0x7,a[_0x3d2806(0xb9)](a['LocaleService']))],Q);var Gt=Object[_0x3d2806(0x19f)],Kt=(_0x532ac9,_0x4dd3a6,_0x41828b,_0x57e89c)=>{const _0x47b59b=_0x3d2806;for(var _0x37d84a=_0x57e89c>0x1?void 0x0:_0x57e89c?Gt(_0x4dd3a6,_0x41828b):_0x4dd3a6,_0x2d8812=_0x532ac9[_0x47b59b(0x83)]-0x1,_0x45e69a;_0x2d8812>=0x0;_0x2d8812--)(_0x45e69a=_0x532ac9[_0x2d8812])&&(_0x37d84a=_0x45e69a(_0x37d84a)||_0x37d84a);return _0x37d84a;},_e=(_0x5dec98,_0xb47c36)=>(_0xf19f57,_0xcc5534)=>_0xb47c36(_0xf19f57,_0xcc5534,_0x5dec98);function _0x5e28(){const _0x4ba750=['_registerDependencies','TEXT_RANGE_LAYER_INDEX','getLocalCacheKey','color','_localStorageService','use','distinctUntilChanged','_handleJoinEvent','measureText','deepClone','_docStateChangeManagerService','addObject','cursorInfo$','setConfig','startColumn','APPLY_NON_SEQUENTIAL_REVISION','_updateLocalCursor','key','ILocalCacheService','disposeUnit','removeParam','APPLY_REVISION_CONFILICT','red.300','executeCommand','on-line-icon','YUUMI_TABLE_NOT_FOUND_IN_UNIT','clipPath','activeSheet$','url(#on-line-icon_clip0_910_349)','_shapes','UniverCollaborationClientUIPlugin','forEach','find','DataLoaderService','CHANGESET_REVISION_CONFILICT','_render','transformIMECache','_document','CollaborationSessionService','flatMap','getMemberID','handleDeleteRangeMoveUp','331128GQHznc','propertyIsEnumerable','symbol','evenodd','includes','add','collabStatus.offline','string','getCoordByCell','_doCreateSocket','rgba(255,\x20255,\x20255,\x200.01)','_dataLoaderService','YUUMI_URL_COL_OUT_OF_RANGE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','roomMembers','JOIN_ROOM_FAILED','SNAPSHOT_HAS_BEEN_REMOVED','currentColor','sessionTicket','focused$','attrs','DisposableCollection','reconnect','APPLY_PERMISSION_DENIED','parse','path','getActiveRange','fillText','_instanceService','LocaleService','onMouseMove','RefRangeService','subUnitId','runOnServer','toRgbString','DeleteRangeMoveLeftCommandId','_collabCursorState$','getCurrent','collabStatus.fetchMiss','defIds','setAlpha','2kiCuYy','range','all','defineProperty','cursorInfo','OTHER_CLIENTS_EDITING','debounceTime','getMember','invokeId','runId','_docSyncEditingCollabCursorService','substring','collaboration.single-unit.warning','1384411WsEBJq','UNDEFINED','_scene','registerRenderModule','CollaborationEvent','_docSkeleton','_initStatusComponent','LOCAL_CACHE_INTERVAL_KEY','_ensureSubject','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_assignedColors','from','values','_initDependencies','YUUMI_UNABLE_LOAD_URL','debounce','_name','getUnitStatus$','Shape','_session','_transformHistoryAndStateStack','isEditing','_hovered','#FFF','status$','purple.300','TOO_MANY_REQUESTS','APPLY_REJECT','assign','PENDING','IImageIoService','_colorIndex','ISocketService','override','NOT_FOUND','_scheduleHeartbeat','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','getSheetBySheetId','_heartbeatTimer','CommandType','beginPath','DeleteRangeMoveUpCommandId','application/json','lineTo','Tooltip','INTERNAL_ERROR','urlChange$','onPointerEnter$','getTypeOfUnitAdded$','_docTransformIMECacheService','_anchor','runRefRangeMutations','SOCKET_FAILED','syncEditingCollabCursor','_id','EffectRefRangId','IRenderManagerService','clearTimeout','saveOfflineData','has','Disposable','HTTPService','SetDocZoomRatioOperation','pipe','Rectangle','_logService','docStateChange$','addClipboardHook','hide','transformMutation','asObservable','getMergeData','useObservable','moveTo','DocSelectionManagerService','EMAIL_VERIFY_CODE_MISMATCH','SNAPSHOT_INVALID_SNAPSHOT','_status$','YUUMI_CONNECTOR_URL_NOT_FOUND','assignAColorForMemberID','transformSelections','_updateSubUnitFromURLParams','_getSaveTimeout','INVITE_CODE_ALREADY_BOUND','_handleHeartbeatEvent','send','handleInsertCol','_range','_toggleOffline','arc','skeleton','jsx','setParam','replaceDocRanges','_send','history','random','DesktopCollaborationStatusDisplayController','max','_configService','entries','collaboration-client.offline-data-not-saved','fillStyle','hasOwnProperty','forwardRef','with','InsertRangeMoveRightCommandId','jiqing.500','transformRemoteChangeset','WebURLService','LICENSE_EXPORT_SIZE_EXCEEDED','actions','isTransformMutationFailure','delete','onTransformChange$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getUndoRedoMutationParamsCache','getRangePointData','sheetID','translate(.97)','round','fromEventSubject','USERS_LEAVE','toString','_color','fill','CollaborationDataLoaderController','_removeClearOtherTimer','_saveCache','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_uiPartsService','UnitStatus','_collaborationController','endColumn','_syncEditingCollabCursorService','textRanges','OFFLINE','_selfUnitIDs','getCellPositionByOffset','_docSkeletonManagerService','_disabled','_revisionService','8tXptcY','enableLocalCache','isActive','length','NodePositionConvertToCursor','popstate','getCurrentSelections','data','switchMap','20ANRvuP','set','ColorKit','_anchorDot','_getSessionTicket','TEXT','DocStateChangeManagerService','_cachedData','CollaborationUIEventService','href','_unitOnClients','disposeWithMe','type','RxDisposable','InsertColCommandId','AWAITING_WITH_PENDING','SessionStatus','blue.400','icon','text','CollaborationStatusDisplay','_createSocketURL','ENSURE_SNAPSHOT_EXECUTION','_handleLeaveEvent','LICENSE_DISTRO_REJECTED','complete','_commandService','_cursorShapes','result','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_initStatusListener','unshift','whenReady','Workbook','_collabSessionService','div','drawWith','YUUMI_RATE_OVER_LIMIT','USER_NOT_INVITED_CODE','collab-text-anchor-','size','m2Prime','_themeService','className','currentSkeleton$','UNRECOGNIZED','_setupBeforeClosingHandler','bottom','Inject','_drawRectRange','ICommandService','show','combineLatest','_refRangeService','_textBubble','_registerRenderDependencies','ISnapshotServerService','exhaustSavingTask','map','INVITE_CODE_HAS_BEEN_UES','searchParams','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getSheetObject','CollaborationController','_drawAnchor','/run/','OTHER_CLIENT_EDITING','collabStatus.notCollab','ticket','replaceState','getCurrentRevOfUnit','UPDATE_CURSOR','collabCursorState$','UNIVER_SHEET','_collaborationUIEventService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','InsertRowCommandId','Vector2','_updateURLWithCurrentState','redoState','ITransformService','filter','onRendered','useRef','origin','_hideTimer','closePath','mask','INVITE_CODE_REQUIRED','getCollabCursors$','dispose','DocIMEInputManagerService','_messageService','useCallback','onLocalMutation','subunit','_httpService','BuiltInUIPart','sessionStatus$','BehaviorSubject','handleInsertRow','_cursor','WECHAT_HAS_BEEN_BOUND','split','onCommandExecuted','subscribeEvent','1250202LlEEeR','body','isArray','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','_updateCollabCursors','getUnhiddenWorksheets','displayName','_labelPosition','SetTextSelectionsOperation','editingUnit','NOT_COLLAB','onPointerLeave$','CollaborationSocketService','UniverInstanceType','DOC_RANGE_TYPE','transformStateCache','MUTATION','isTransformMutationsWithChangesetSuccess','RemoveRowCommandId','init','get','onStarting','replace','_handleEvent','IURLService','_startDocCollabCursor','ONLINE','memberID','_drawTextRange','setActiveRange','_transformPreviousActiveRange','green.600','min','RichTextEditingMutation','ILocalStorageService','_scheduleClearOtherTimer','_initResize','MoveRangeCommandId','Subject','getSheetObject','SheetCollabCursorShape','children','_roomMembers$','createSocket','_getScale','INotificationService','SheetsSelectionsService','collab-client.tooltip.reconnect','contains','subscribe','none','setTimeout','getDocRanges','RemoteUniscriptService','RemoveColCommandId','unit','_transformUndoRedoStack','getActiveSheet','fromEvent','selections','_handleHover','MemberService','_scheduleSaving','collaboration.closeRoom','pluginName','triggerDblclick','connectInjector','getFocusedUnit','ThemeService','mergeOverrideWithDependencies','dispose$','_eventUnsubscribe','getSkeleton','apply','_transformService','LOGIN_FAILED','handleIRemoveRow','fillRule','transform','createInstance','_cursorInfo$','getSheetId','Injector','IDocClipboardService','Tools','getOwnPropertySymbols','xlink:href','_localeService','startRow','_onCursorDelete','width','YUUMI_ALL_TABLES_IS_INVALID','unsubscribe','getValue','requireSession','_localCacheService','getTypeOfUnitDisposed$','IConfigService','currentTheme$','_hover','getAncestorScale','column','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setShapeProps','IUniverInstanceService','LICENSE_MAX_UNITS_EXCEEDED','IRemoteInstanceService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initCommandExecutedListener','ACTIVE_UNIT_EVENT_CHANNEL','MOBILE_HAS_BEEN_BOUND','saveImage','WebBrowserSingleActiveUnitService','transformMutationsWithChangeset','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_SUBSCRIPTION_NOT_FOUND','loadOfflineData','OnLineIcon','univerjs-icon\x20univerjs-icon-','createElement','_entityInit$','_onCursorUpdate','collab-text-range-','_imageIoService','_notificationService','0\x200\x2017\x2016','_urlService','MessageType','univer-mr-2\x20univer-flex\x20univer-text-xl','10EKLCkW','_startSheetCollabCursor','CollaborationUIEventId','location','endRow','url(#$1','handleIRemoveCol','selection','mapTo','ranges','DocCollaborationEntity','collabStatus.synced','params','collaboration-client-ui.config','COLORS','trim','undoState','640608rgziEJ','APPLY_DUPLICATED','_setupSubUnitSync','code','takeUntil','UNAUTHENTICATED','4022898ZVoDaq','getColor','clearInterval','Rect','height','jsxs','_config','FromArray','_injector','_docTransformSelectionsService','EMAIL_HAS_BEEN_BOUND','IBeforeCloseService','error','executionId','current','CLOSE_ROOM','m1Prime','event$','_context','M0\x200H16V16H0z','getOwnPropertyDescriptor','_docClipboardService','CONFLICT','setItem','COMPLETION_FINISHED','CollaborationStatus','DocSkeletonManagerService','registerComponent','findNodePositionByCharIndex','_univerInstanceService','UNIVER_DOC','_online','search','defs','_init','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_colorAssignService','getStateCache','_initEntityListener','getConfig','_entities','handleInsertRangeMoveDown','name','setStateCache','getCurrentUnitForType','UniverIcon','_beforeCloseService','getUnitId','collab-rect-range-','saveTaskMap','Error','univer-flex\x20univer-items-center','next','_docTransformStateCacheService','backgroundColor','1em','engine','_renderManagerService','_backgroundColor','SheetSkeletonManagerService','shareReplay','NO_OTHER_CLIENTS_EDITING','on-line-icon_clip0_910_349','_lastPointer','svg','_cursors','IMessageService','black','YUUMI_NO_CUBOID_FOR_QUESTION','_clearOtherTimers','IUIPartsService','indexOf','onPointerMove$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','top','toDisposable','PERMISSION_DENIED','startsWith','doc.mutation.rich-text-editing','entityInit$','YUUMI_ASYNCIO_CANCELLED','tag','207355xflTHa','mutations','213988AgsXgP','LICENSE_IMPORT_SIZE_EXCEEDED','_getMergeRange','getRenderById','touchDependencies','ILogService','DependentOn','setInterval','Unknown\x20user','SHEET_VIEWPORT_KEY','restore','uni.network.url-service','RegularPolygon','unitID','BrowserCollaborationSocketService','_memberService','labelPosition','setUndoRedoMutationParamsCache','colorChannel1','stringify','concat','Module','_removeCollabCursors','_refreshCollabCursors','some','extend','_collabCursorController','permission.content','YUUMI_AI_RUN_FAILED','ALREADY_EXISTS','_getAnchorBounding','_saveTaskMap','VIEW_MAIN','SOCKET_FAILED_RETRY','then','generateRandomId','_draw','source','OffLineIcon','_unitStatus','SetWorksheetActivateCommand','save','CONNECTOR_DATA_TOO_LARGE','Warning','roomMembers$','debug','SYNCED','deserializeRangeWithSheet','addEventListener','push','unitId','MOBILE_VERIFY_CODE_MISMATCH','useDependency','InsertRangeMoveDownCommandId','idSuffix','newValue','INVALID_ARGUMENT','resize','call','_sheetSkeletonManagerService','RECT','Failed','_toggleOnline','prototype','handleMoveRange','sheetId','row','_initEvent','getParam','serializeRangeWithSheet','AWAITING','pushState'];_0x5e28=function(){return _0x4ba750;};return _0x5e28();}let ge=class extends a[_0x3d2806(0x2c3)]{constructor(_0xf72bac,_0x583ced,_0x38fa8b){const _0x409639=_0x3d2806;super(),h(this,'_cachedData',new Map()),h(this,_0x409639(0x1fe),new Map()),h(this,_0x409639(0x313),!0x1),(this[_0x409639(0x2ea)]=_0xf72bac,this[_0x409639(0x22b)]=_0x583ced,this[_0x409639(0x314)]=_0x38fa8b);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3d2806(0x81)](){const _0x391efc=_0x3d2806;this[_0x391efc(0x313)]=!0x1;}get['saveTaskMap'](){const _0x3f1564=_0x3d2806;return this[_0x3f1564(0x1fe)];}[_0x3d2806(0xe3)](){const _0x48458c=_0x3d2806;this[_0x48458c(0xc2)]()[_0x48458c(0x201)](()=>super[_0x48458c(0xe3)]());}async[_0x3d2806(0x167)](_0x25462e){const _0xa272df=_0x3d2806;return this[_0xa272df(0x313)]?null:this['_localStorageService']['getItem'](u[_0xa272df(0x229)](_0x25462e));}async[_0x3d2806(0x2c1)](_0x5a0e0d,_0x25fa3b){const _0x277b52=_0x3d2806;return!!this['_localStorageService'][_0x277b52(0x1a2)](_0x5a0e0d,_0x25fa3b);}['updateOfflineData'](_0x460d3d,_0x2995fa,_0x25baa9,_0x76990e){const _0x3d52f3=_0x3d2806,_0x23bd60=this[_0x3d52f3(0x314)][_0x3d52f3(0xcf)](_0x460d3d);this[_0x3d52f3(0x90)][_0x3d52f3(0x8a)](_0x460d3d,{'unitID':_0x460d3d,'type':_0x2995fa,'awaitingChangeset':_0x25baa9,'mutations':_0x76990e,'rev':_0x23bd60}),this[_0x3d52f3(0x1fe)][_0x3d52f3(0x2c2)](_0x460d3d)||this[_0x3d52f3(0x131)](_0x460d3d);}[_0x3d2806(0x131)](_0x1f88d1){const _0x37d403=_0x3d2806,_0x318d32=this[_0x37d403(0x2d9)]();_0x318d32===0x0?this['_saveCache'](_0x1f88d1):this[_0x37d403(0x1fe)]['set'](_0x1f88d1,setTimeout(()=>this[_0x37d403(0x307)](_0x1f88d1),_0x318d32));}[_0x3d2806(0x2d9)](){const _0x226beb=_0x3d2806;var _0x4cdb9d;return(_0x4cdb9d=this['_configService'][_0x226beb(0x1b2)](u[_0x226beb(0x28e)]))!=null?_0x4cdb9d:u['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x3305a4){const _0x381176=_0x3d2806,_0xce7141=this[_0x381176(0x1fe)]['get'](_0x3305a4);return _0xce7141!==void 0x0&&window[_0x381176(0x2c0)](_0xce7141),this[_0x381176(0x22b)]['setItem'](u[_0x381176(0x229)](_0x3305a4),this[_0x381176(0x90)][_0x381176(0x107)](_0x3305a4))[_0x381176(0x201)](()=>this[_0x381176(0x1fe)][_0x381176(0x2f8)](_0x3305a4));}async[_0x3d2806(0xc2)](){const _0x536552=_0x3d2806,_0x40c07e=[];this['_saveTaskMap'][_0x536552(0x246)]((_0x52eeab,_0x3cfe7c)=>{const _0x45d700=_0x536552;window['clearTimeout'](_0x52eeab),_0x40c07e[_0x45d700(0x210)](this[_0x45d700(0x307)](_0x3cfe7c)['then'](()=>{const _0x77a350=_0x45d700;this[_0x77a350(0x1fe)][_0x77a350(0x2f8)](_0x3cfe7c);}));}),await Promise[_0x536552(0x27c)](_0x40c07e);}};ge=Kt([_e(0x0,a[_0x3d2806(0x154)]),_e(0x1,a[_0x3d2806(0x115)]),_e(0x2,a['Inject'](m['RevisionService']))],ge);class Be extends a['RxDisposable']{constructor(){const _0x59d2c2=_0x3d2806;super(),h(this,_0x59d2c2(0x2b5)),this[_0x59d2c2(0x2b5)]=d['fromEvent'](window,_0x59d2c2(0x85))[_0x59d2c2(0x2c6)](d[_0x59d2c2(0x189)](this['dispose$']),d[_0x59d2c2(0x1c7)](0x1),d[_0x59d2c2(0x17c)](void 0x0));}[_0x3d2806(0x2e3)](_0x253d93,_0x3adbaa,_0x3eead7=!0x1){const _0x346321=_0x3d2806,_0x54214e=new URL(window[_0x346321(0x177)][_0x346321(0x92)]);_0x54214e['searchParams'][_0x346321(0x8a)](_0x253d93,_0x3adbaa),_0x3eead7?window[_0x346321(0x2e6)]['replaceState']('','',_0x54214e[_0x346321(0x302)]()):window['history'][_0x346321(0x226)]('','',_0x54214e[_0x346321(0x302)]());}[_0x3d2806(0x23b)](_0x2bc616,_0x442b55=!0x1){const _0x1f2567=_0x3d2806,_0x5e75e3=new URL(window[_0x1f2567(0x177)][_0x1f2567(0x92)]);_0x5e75e3[_0x1f2567(0xc5)]['delete'](_0x2bc616),_0x442b55?window[_0x1f2567(0x2e6)][_0x1f2567(0xce)]('','',_0x5e75e3['toString']()):window[_0x1f2567(0x2e6)][_0x1f2567(0x226)]('','',_0x5e75e3[_0x1f2567(0x302)]());}[_0x3d2806(0x223)](_0x5439ed){const _0x32e286=_0x3d2806;var _0x12c225;return(_0x12c225=new URL(window[_0x32e286(0x177)][_0x32e286(0x92)])[_0x32e286(0xc5)][_0x32e286(0x107)](_0x5439ed))!=null?_0x12c225:void 0x0;}}var qt=Object[_0x3d2806(0x27d)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x411e52,_0x2fc15a,_0x3b1dd9)=>_0x2fc15a in _0x411e52?qt(_0x411e52,_0x2fc15a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b1dd9}):_0x411e52[_0x2fc15a]=_0x3b1dd9,Zt=(_0x22714c,_0x269c96,_0x294680,_0x8f5837)=>{const _0x2ba465=_0x3d2806;for(var _0xfb6ee3=_0x8f5837>0x1?void 0x0:_0x8f5837?zt(_0x269c96,_0x294680):_0x269c96,_0x16f6da=_0x22714c[_0x2ba465(0x83)]-0x1,_0x4a4195;_0x16f6da>=0x0;_0x16f6da--)(_0x4a4195=_0x22714c[_0x16f6da])&&(_0xfb6ee3=_0x4a4195(_0xfb6ee3)||_0xfb6ee3);return _0xfb6ee3;},he=(_0x1a61bf,_0xd6a403)=>(_0x3dc521,_0x51df35)=>_0xd6a403(_0x3dc521,_0x51df35,_0x1a61bf),Qt=(_0x4dd9b7,_0x302488,_0x5008ec)=>Jt(_0x4dd9b7,_0x302488+'',_0x5008ec);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x3d2806(0x245)]=class extends a['Plugin']{constructor(_0x47b7dd=Ue,_0x37b035,_0x190ba3,_0x25a931){const _0x23a7ba=_0x3d2806;super(),this[_0x23a7ba(0x191)]=_0x47b7dd,this['_renderManagerService']=_0x37b035,this[_0x23a7ba(0x193)]=_0x190ba3,this[_0x23a7ba(0x2ea)]=_0x25a931;const {..._0x3faace}=a['merge']({},Ue,this[_0x23a7ba(0x191)]);this['_configService'][_0x23a7ba(0x234)]($t,_0x3faace);}[_0x3d2806(0x108)](){const _0x513ba3=_0x3d2806;this[_0x513ba3(0x227)](),this[_0x513ba3(0x294)]();}[_0x3d2806(0xdb)](){const _0x53f8d6=_0x3d2806;this[_0x53f8d6(0xc0)]();}[_0x3d2806(0x227)](){const _0x365913=_0x3d2806;var _0xe8da0b;const _0x1a4292=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G[_0x365913(0x2a7)],{'useClass':G['WebSocketService']}],[u[_0x365913(0x239)],{'useClass':ge}],[exports[_0x365913(0x2e8)]],[Q],[q],[x],[de],[exports[_0x365913(0x305)]]];a['registerDependencies'](this['_injector'],a[_0x365913(0x138)](_0x1a4292,(_0xe8da0b=this['_config'])==null?void 0x0:_0xe8da0b[_0x365913(0x2a8)]));}[_0x3d2806(0xc0)](){const _0x11b8b7=_0x3d2806;this[_0x11b8b7(0x94)](this[_0x11b8b7(0x1c4)][_0x11b8b7(0x28a)](a[_0x11b8b7(0x100)]['UNIVER_DOC'],[fe])),this[_0x11b8b7(0x94)](this[_0x11b8b7(0x1c4)][_0x11b8b7(0x28a)](a[_0x11b8b7(0x100)][_0x11b8b7(0xd2)],[ve]));}[_0x3d2806(0x294)](){const _0x3dce5b=_0x3d2806;a[_0x3dce5b(0x1e3)](this[_0x3dce5b(0x193)],[[x],[exports[_0x3dce5b(0x2e8)]],[Q],[q],[exports[_0x3dce5b(0x305)]]]);}},Qt(exports[_0x3d2806(0x245)],_0x3d2806(0x133),es),exports[_0x3d2806(0x245)]=Zt([a[_0x3d2806(0x1e5)](u['UniverCollaborationClientPlugin']),he(0x1,p[_0x3d2806(0x2bf)]),he(0x2,a[_0x3d2806(0xb9)](a[_0x3d2806(0x145)])),he(0x3,a['IConfigService'])],exports[_0x3d2806(0x245)]);var ts=Object[_0x3d2806(0x19f)],ss=(_0x4bf294,_0x5cf097,_0x3cbd71,_0x499079)=>{const _0xb73927=_0x3d2806;for(var _0x4cf027=_0x499079>0x1?void 0x0:_0x499079?ts(_0x5cf097,_0x3cbd71):_0x5cf097,_0x6b0ad6=_0x4bf294[_0xb73927(0x83)]-0x1,_0x1c171f;_0x6b0ad6>=0x0;_0x6b0ad6--)(_0x1c171f=_0x4bf294[_0x6b0ad6])&&(_0x4cf027=_0x1c171f(_0x4cf027)||_0x4cf027);return _0x4cf027;},H=(_0x2073c0,_0x535fd0)=>(_0x3c083f,_0x28d197)=>_0x535fd0(_0x3c083f,_0x28d197,_0x2073c0);exports[_0x3d2806(0x1ed)]=class extends u[_0x3d2806(0xff)]{constructor(_0x5259c9,_0x49617f,_0x863cb5,_0x27cf74,_0x260bbe){super(_0x5259c9,_0x49617f,_0x863cb5,_0x27cf74,_0x260bbe);}async[_0x3d2806(0x11e)](_0x2795d1){const _0x2f78fe=_0x3d2806,_0x346642=await this[_0x2f78fe(0x8d)](),_0xaafa90=this[_0x2f78fe(0x9e)](_0x2795d1,_0x346642);return this[_0x2f78fe(0x25a)](_0xaafa90);}[_0x3d2806(0x9e)](_0x527e3f,_0x26dc8a){const _0x5f1ac0=_0x3d2806,_0x4a31b6=typeof window>'u'?new URL(_0x527e3f):new URL(_0x527e3f,window[_0x5f1ac0(0x177)][_0x5f1ac0(0xdd)]);_0x4a31b6[_0x5f1ac0(0xc5)]['set'](_0x5f1ac0(0x263),_0x26dc8a);const _0x53bc51=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5f1ac0(0x177)][_0x5f1ac0(0x1ab)]);return _0x53bc51[_0x5f1ac0(0x107)]('runId')&&_0x4a31b6[_0x5f1ac0(0xc5)][_0x5f1ac0(0x8a)](_0x5f1ac0(0x283),_0x53bc51[_0x5f1ac0(0x107)](_0x5f1ac0(0x283))),_0x4a31b6['toString']();}async[_0x3d2806(0x8d)](){const _0x5ee533=_0x3d2806;var _0x5edfeb,_0x1b07d7,_0x571235;const _0x396fc6=this[_0x5ee533(0x2ea)][_0x5ee533(0x1b2)](u[_0x5ee533(0xd4)]),_0x5e73ce=(_0x5edfeb=_0x396fc6==null?void 0x0:_0x396fc6['wsSessionTicketUrl'])!=null?_0x5edfeb:u[_0x5ee533(0x165)];return(_0x571235=(_0x1b07d7=(await this[_0x5ee533(0xe9)]['get'](_0x5e73ce,{'headers':{'Content-Type':_0x5ee533(0x2b1)}}))[_0x5ee533(0xf4)])==null?void 0x0:_0x1b07d7[_0x5ee533(0xcd)])!=null?_0x571235:'';}},exports['BrowserCollaborationSocketService']=ss([H(0x0,a[_0x3d2806(0xb9)](a[_0x3d2806(0x145)])),H(0x1,a[_0x3d2806(0xb9)](G[_0x3d2806(0x2c4)])),H(0x2,a[_0x3d2806(0x154)]),H(0x3,a[_0x3d2806(0x1e4)]),H(0x4,m[_0x3d2806(0xc1)])],exports[_0x3d2806(0x1ed)]);const Me=0x7530,Le=_0x3d2806(0x160);class is extends a[_0x3d2806(0x2c3)]{constructor(){const _0x5cfc5f=_0x3d2806;super(),h(this,_0x5cfc5f(0x2bd),a[_0x5cfc5f(0x202)]()),h(this,'_selfUnitIDs',new Set()),h(this,_0x5cfc5f(0x93),new Map()),h(this,_0x5cfc5f(0x2ad),null),h(this,'_clearOtherTimers',new Map()),h(this,'_unitStatus',new Map()),this['_init']();}[_0x3d2806(0xe3)](){const _0x3ccc1f=_0x3d2806;super[_0x3ccc1f(0xe3)](),this[_0x3ccc1f(0x1d0)][_0x3ccc1f(0x246)]((_0x16cb3f,_0x399a5d)=>this[_0x3ccc1f(0x306)](_0x399a5d)),this[_0x3ccc1f(0x2ad)]&&window[_0x3ccc1f(0x18d)](this[_0x3ccc1f(0x2ad)]);}[_0x3d2806(0x298)](_0x2b4cbc){const _0xb3b5a=_0x3d2806;return this[_0xb3b5a(0x28f)](_0x2b4cbc)['pipe'](d[_0xb3b5a(0x22d)]());}[_0x3d2806(0xfc)](_0x160c00){const _0x5b5e0d=_0x3d2806;this[_0x5b5e0d(0x310)][_0x5b5e0d(0xb1)]===0x0&&this[_0x5b5e0d(0x2aa)](),this[_0x5b5e0d(0x310)][_0x5b5e0d(0x256)](_0x160c00),this[_0x5b5e0d(0x2e5)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x160c00],'isForwarded':!0x1});}[_0x3d2806(0x23a)](_0x479771){const _0x33a08f=_0x3d2806;this[_0x33a08f(0x310)]['delete'](_0x479771),this[_0x33a08f(0x310)][_0x33a08f(0xb1)]===0x0&&this['_heartbeatTimer']&&window[_0x33a08f(0x18d)](this[_0x33a08f(0x2ad)]);}[_0x3d2806(0x1ad)](){const _0x2f85d7=_0x3d2806;this[_0x2f85d7(0x94)](a['toDisposable'](d[_0x2f85d7(0x12d)](window,'storage')[_0x2f85d7(0x124)](_0x5da3a7=>{const _0x2decbb=_0x2f85d7;if(_0x5da3a7[_0x2decbb(0x238)]!==Le||!_0x5da3a7[_0x2decbb(0x216)])return;const _0x447e93=JSON[_0x2decbb(0x269)](_0x5da3a7[_0x2decbb(0x216)]);this[_0x2decbb(0x10a)](_0x447e93);}))),window[_0x2f85d7(0x20f)]('unload',()=>this[_0x2f85d7(0x2e5)]({'type':0x1,'memberID':this[_0x2f85d7(0x2bd)],'unitIDs':Array[_0x2f85d7(0x292)](this[_0x2f85d7(0x310)])}));}['_handleEvent'](_0xaf24b2){const _0x8fd010=_0x3d2806;switch(_0xaf24b2[_0x8fd010(0x95)]){case 0x0:this[_0x8fd010(0x22e)](_0xaf24b2);break;case 0x1:this['_handleLeaveEvent'](_0xaf24b2);break;case 0x2:this[_0x8fd010(0x2db)](_0xaf24b2);break;}}[_0x3d2806(0x22e)](_0x3761af){const _0x2369ed=_0x3d2806,{unitIDs:_0x3f03db,memberID:_0x1d0931,isForwarded:_0x540323}=_0x3761af;_0x3f03db[_0x2369ed(0x246)](_0x10453a=>{const _0x21378a=_0x2369ed;if(!_0x540323&&this['_unitOnClients']['has'](_0x10453a)&&this[_0x21378a(0x28f)](_0x10453a)[_0x21378a(0x1bf)](u[_0x21378a(0x30a)][_0x21378a(0x27f)]),!this[_0x21378a(0x93)][_0x21378a(0x2c2)](_0x10453a)||!this[_0x21378a(0x93)][_0x21378a(0x107)](_0x10453a)[_0x21378a(0x2c2)](_0x1d0931)){const _0x22b06a=this[_0x21378a(0x93)][_0x21378a(0x107)](_0x10453a)||new Set();_0x22b06a[_0x21378a(0x256)](_0x1d0931),this[_0x21378a(0x93)][_0x21378a(0x8a)](_0x10453a,_0x22b06a),this[_0x21378a(0x116)](_0x1d0931);}}),_0x540323||this[_0x2369ed(0x2e5)]({'type':0x0,'memberID':this[_0x2369ed(0x2bd)],'unitIDs':[...this[_0x2369ed(0x310)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x317cee){const _0x3cf2a2=_0x3d2806;this[_0x3cf2a2(0x306)](_0x317cee);const _0x20cf38=window[_0x3cf2a2(0x126)](()=>{const _0x57a74b=_0x3cf2a2;this[_0x57a74b(0x93)]['forEach'](_0x459953=>{const _0x56a7a9=_0x57a74b;_0x459953[_0x56a7a9(0x2f8)](_0x317cee);});},Me*0x2);this['_clearOtherTimers'][_0x3cf2a2(0x8a)](_0x317cee,_0x20cf38);}[_0x3d2806(0x306)](_0x4973e1){const _0x14c605=_0x3d2806;if(this['_clearOtherTimers'][_0x14c605(0x2c2)](_0x4973e1)){const _0x2fea5c=this[_0x14c605(0x1d0)][_0x14c605(0x107)](_0x4973e1);_0x2fea5c&&window[_0x14c605(0x2c0)](_0x2fea5c),this[_0x14c605(0x1d0)][_0x14c605(0x8a)](_0x4973e1,null);}}[_0x3d2806(0xa0)](_0x3e6eb2){const _0x444bb2=_0x3d2806,{memberID:_0x4f0109,unitIDs:_0x1d2e29}=_0x3e6eb2;_0x1d2e29[_0x444bb2(0x246)](_0x4b31e3=>{const _0x2d635b=_0x444bb2;var _0x254f8f;const _0x3186f7=this['_unitOnClients']['get'](_0x4b31e3);_0x3186f7&&(_0x3186f7[_0x2d635b(0x2f8)](_0x4f0109),(_0x254f8f=this['_ensureSubject'](_0x4b31e3))==null||_0x254f8f['next'](_0x3186f7[_0x2d635b(0xb1)]===0x0?u[_0x2d635b(0x30a)][_0x2d635b(0x1c8)]:u[_0x2d635b(0x30a)][_0x2d635b(0x27f)]));}),this[_0x444bb2(0x306)](_0x4f0109);}['_handleHeartbeatEvent'](_0x345b94){const _0x4356a7=_0x3d2806;this[_0x4356a7(0x116)](_0x345b94[_0x4356a7(0x10e)]);}['_send'](_0x2fd789){const _0x5d90e1=_0x3d2806;localStorage[_0x5d90e1(0x1a2)](Le,JSON[_0x5d90e1(0x1f2)](_0x2fd789));}[_0x3d2806(0x2aa)](){const _0x443dc4=_0x3d2806;this[_0x443dc4(0x2ad)]=window[_0x443dc4(0x1e6)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},Me);}[_0x3d2806(0x28f)](_0x415047){const _0x104cbe=_0x3d2806;return this[_0x104cbe(0x206)]['has'](_0x415047)||this[_0x104cbe(0x206)]['set'](_0x415047,new d[(_0x104cbe(0xec))](u[_0x104cbe(0x30a)][_0x104cbe(0x1c8)])),this[_0x104cbe(0x206)]['get'](_0x415047);}}var je=(_0x5bde05=>(_0x5bde05[_0x5bde05[_0x3d2806(0x288)]=0x0]='UNDEFINED',_0x5bde05[_0x5bde05['OK']=0x1]='OK',_0x5bde05[_0x5bde05[_0x3d2806(0x2b4)]=0x2]=_0x3d2806(0x2b4),_0x5bde05[_0x5bde05['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5bde05[_0x5bde05[_0x3d2806(0x2a9)]=0x4]=_0x3d2806(0x2a9),_0x5bde05[_0x5bde05[_0x3d2806(0x18a)]=0x5]=_0x3d2806(0x18a),_0x5bde05[_0x5bde05[_0x3d2806(0x1fc)]=0x6]=_0x3d2806(0x1fc),_0x5bde05[_0x5bde05[_0x3d2806(0x217)]=0x7]=_0x3d2806(0x217),_0x5bde05[_0x5bde05[_0x3d2806(0x2a1)]=0x8]=_0x3d2806(0x2a1),_0x5bde05[_0x5bde05[_0x3d2806(0x1a3)]=0x9]=_0x3d2806(0x1a3),_0x5bde05[_0x5bde05[_0x3d2806(0x13e)]=0xa]=_0x3d2806(0x13e),_0x5bde05[_0x5bde05[_0x3d2806(0x212)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5bde05[_0x5bde05[_0x3d2806(0xc6)]=0xc]=_0x3d2806(0xc6),_0x5bde05[_0x5bde05[_0x3d2806(0x2d2)]=0xd]=_0x3d2806(0x2d2),_0x5bde05[_0x5bde05[_0x3d2806(0x308)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5bde05[_0x5bde05[_0x3d2806(0x249)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5bde05[_0x5bde05[_0x3d2806(0x2d3)]=0x1771]=_0x3d2806(0x2d3),_0x5bde05[_0x5bde05[_0x3d2806(0x261)]=0x1772]=_0x3d2806(0x261),_0x5bde05[_0x5bde05[_0x3d2806(0x9f)]=0x1773]=_0x3d2806(0x9f),_0x5bde05[_0x5bde05[_0x3d2806(0x2a2)]=0x1b59]=_0x3d2806(0x2a2),_0x5bde05[_0x5bde05[_0x3d2806(0x236)]=0x1b5a]=_0x3d2806(0x236),_0x5bde05[_0x5bde05[_0x3d2806(0x23c)]=0x1b5b]=_0x3d2806(0x23c),_0x5bde05[_0x5bde05[_0x3d2806(0x268)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5bde05[_0x5bde05[_0x3d2806(0x186)]=0x1b5d]=_0x3d2806(0x186),_0x5bde05[_0x5bde05['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3d2806(0x209),_0x5bde05[_0x5bde05[_0x3d2806(0x15c)]=0x2329]=_0x3d2806(0x15c),_0x5bde05[_0x5bde05['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3d2806(0x2fa),_0x5bde05[_0x5bde05[_0x3d2806(0x1e0)]=0x232b]=_0x3d2806(0x1e0),_0x5bde05[_0x5bde05[_0x3d2806(0x2f5)]=0x232c]=_0x3d2806(0x2f5),_0x5bde05[_0x5bde05[_0x3d2806(0xa1)]=0x232d]=_0x3d2806(0xa1),_0x5bde05[_0x5bde05[_0x3d2806(0x295)]=0x2711]=_0x3d2806(0x295),_0x5bde05[_0x5bde05[_0x3d2806(0x25d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5bde05[_0x5bde05['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3d2806(0xae),_0x5bde05[_0x5bde05[_0x3d2806(0x166)]=0x2714]=_0x3d2806(0x166),_0x5bde05[_0x5bde05['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3d2806(0x1cf),_0x5bde05[_0x5bde05[_0x3d2806(0x1db)]=0x271b]=_0x3d2806(0x1db),_0x5bde05[_0x5bde05[_0x3d2806(0x240)]=0x271c]=_0x3d2806(0x240),_0x5bde05[_0x5bde05[_0x3d2806(0x14e)]=0x271d]=_0x3d2806(0x14e),_0x5bde05[_0x5bde05[_0x3d2806(0x290)]=0x271e]=_0x3d2806(0x290),_0x5bde05[_0x5bde05[_0x3d2806(0x1fb)]=0x271f]=_0x3d2806(0x1fb),_0x5bde05[_0x5bde05[_0x3d2806(0x2d5)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5bde05[_0x5bde05['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5bde05[_0x5bde05['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3d2806(0xc4),_0x5bde05[_0x5bde05['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5bde05[_0x5bde05[_0x3d2806(0xe1)]=0x2ee3]=_0x3d2806(0xe1),_0x5bde05[_0x5bde05[_0x3d2806(0xaf)]=0x2ee4]=_0x3d2806(0xaf),_0x5bde05[_0x5bde05[_0x3d2806(0x2da)]=0x2ee5]=_0x3d2806(0x2da),_0x5bde05[_0x5bde05['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3d2806(0xef),_0x5bde05[_0x5bde05[_0x3d2806(0x161)]=0x32ca]=_0x3d2806(0x161),_0x5bde05[_0x5bde05['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3d2806(0x195),_0x5bde05[_0x5bde05[_0x3d2806(0xb6)]=-0x1]=_0x3d2806(0xb6),_0x5bde05))(je||{}),ns=Object[_0x3d2806(0x19f)],rs=(_0x3f2595,_0x2f923a,_0x325f9e,_0x278a0e)=>{const _0x23b7f2=_0x3d2806;for(var _0x372d1b=_0x278a0e>0x1?void 0x0:_0x278a0e?ns(_0x2f923a,_0x325f9e):_0x2f923a,_0x3a538f=_0x3f2595[_0x23b7f2(0x83)]-0x1,_0x2c5315;_0x3a538f>=0x0;_0x3a538f--)(_0x2c5315=_0x3f2595[_0x3a538f])&&(_0x372d1b=_0x2c5315(_0x372d1b)||_0x372d1b);return _0x372d1b;},ue=(_0x53d11c,_0x52cf76)=>(_0x29c1dc,_0x2c998a)=>_0x52cf76(_0x29c1dc,_0x2c998a,_0x53d11c);exports[_0x3d2806(0x128)]=class extends a[_0x3d2806(0x2c3)]{constructor(_0x1081a5,_0x2a0022,_0x2e1b31){const _0x429323=_0x3d2806;super(),this[_0x429323(0x26d)]=_0x1081a5,this['_httpService']=_0x2a0022,this['_configService']=_0x2e1b31;}async[_0x3d2806(0x272)](_0xbc0464,_0x2d4cb0,_0x5e0fe2,..._0xc02ec5){const _0x14dc11=_0x3d2806;var _0x5c9b2e,_0x559f69,_0x28cacf,_0x2329c6;const _0x4be6a9=this[_0x14dc11(0x26d)][_0x14dc11(0x136)]();if(!_0x4be6a9)throw new Error(_0x14dc11(0x25e));const _0x548761=((_0x5c9b2e=this[_0x14dc11(0x2ea)][_0x14dc11(0x1b2)](u[_0x14dc11(0xa6)]))!=null?_0x5c9b2e:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xbc0464+_0x14dc11(0xca)+_0x2d4cb0,_0x5c8a8a=new URL(window[_0x14dc11(0x177)]['href']),_0x225963={'scriptId':_0xbc0464,'runId':(_0x559f69=_0x5c8a8a[_0x14dc11(0xc5)][_0x14dc11(0x107)](_0x14dc11(0x283)))!=null?_0x559f69:'','function':_0x2d4cb0,'unitId':_0x4be6a9[_0x14dc11(0x1ba)](),'argsOfFunction':JSON[_0x14dc11(0x1f2)](_0xc02ec5),'invokeId':(_0x28cacf=_0x5e0fe2[_0x14dc11(0x282)])!=null?_0x28cacf:'','executionId':(_0x2329c6=_0x5e0fe2[_0x14dc11(0x198)])!=null?_0x2329c6:''};try{const _0x4c16cc=await this[_0x14dc11(0xe9)]['post'](_0x548761,{'body':_0x225963});return _0x4c16cc[_0x14dc11(0xf4)][_0x14dc11(0x197)]&&_0x4c16cc['body']['error'][_0x14dc11(0x188)]!==je['OK']?_0x14dc11(0x21c):_0x4c16cc[_0x14dc11(0xf4)][_0x14dc11(0xa5)];}catch{return _0x14dc11(0x21c);}}},exports[_0x3d2806(0x128)]=rs([ue(0x0,a[_0x3d2806(0x15b)]),ue(0x1,a[_0x3d2806(0xb9)](G[_0x3d2806(0x2c4)])),ue(0x2,a[_0x3d2806(0x154)])],exports[_0x3d2806(0x128)]),exports[_0x3d2806(0x9d)]=xe,exports[_0x3d2806(0x10b)]=Ee,exports[_0x3d2806(0x11b)]=we,exports[_0x3d2806(0x163)]=is,exports[_0x3d2806(0x2f4)]=Be;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5f00ba=_0x19f3;function _0x19f3(_0x346bc7,_0x51d121){const _0x4ef303=_0x4ef3();return _0x19f3=function(_0x19f3ce,_0x27f8db){_0x19f3ce=_0x19f3ce-0x1d3;let _0x2ead1a=_0x4ef303[_0x19f3ce];return _0x2ead1a;},_0x19f3(_0x346bc7,_0x51d121);}(function(_0x8e74b4,_0x3d2fd8){const _0xd39694=_0x19f3,_0x1476cc=_0x8e74b4();while(!![]){try{const _0x5282e2=parseInt(_0xd39694(0x1e0))/0x1*(-parseInt(_0xd39694(0x1ea))/0x2)+parseInt(_0xd39694(0x1d4))/0x3*(-parseInt(_0xd39694(0x1dd))/0x4)+parseInt(_0xd39694(0x1e1))/0x5+parseInt(_0xd39694(0x1d6))/0x6*(parseInt(_0xd39694(0x1df))/0x7)+-parseInt(_0xd39694(0x1de))/0x8+-parseInt(_0xd39694(0x1e5))/0x9*(parseInt(_0xd39694(0x1d3))/0xa)+parseInt(_0xd39694(0x1d8))/0xb;if(_0x5282e2===_0x3d2fd8)break;else _0x1476cc['push'](_0x1476cc['shift']());}catch(_0x479d84){_0x1476cc['push'](_0x1476cc['shift']());}}}(_0x4ef3,0x891c1));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x5f00ba(0x1d5),'conflict':_0x5f00ba(0x1e9),'notCollab':_0x5f00ba(0x1e8),'synced':_0x5f00ba(0x1e7),'syncing':_0x5f00ba(0x1db),'offline':_0x5f00ba(0x1e6)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x5f00ba(0x1e4),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5f00ba(0x1d7),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x5f00ba(0x1dc),'content':_0x5f00ba(0x1e3)},'collaboration':{'single-unit':{'warning':_0x5f00ba(0x1e2)},'closeRoom':_0x5f00ba(0x1d9)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x4ef3(){const _0x2e3e4d=['1535547UnzswH','Syncing\x20server\x20data...','12SBavLN','Collaboration\x20Conflict','9913486LmIZyl','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','exports','Syncing...','Authentication\x20Error','4cpOmGH','6550248ngnIpt','1002519AIOsmc','31dJmlvT','4858720BPYUQi','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','18vGkKnu','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','Local\x20file','Edit\x20conflicts','18CjVTLI','1334470tIZiiv'];_0x4ef3=function(){return _0x2e3e4d;};return _0x4ef3();}module[_0x5f00ba(0x1da)]=e;
|