@univerjs-pro/collaboration-client-ui 0.10.1-nightly.202508020912 → 0.10.2-nightly.202508071209
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.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/types/index.d.ts +5 -5
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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 +16 -16
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x38dc0a=_0x457e;(function(_0x115aba,_0x2626a2){const _0x440ce9=_0x457e,_0x1ba90e=_0x115aba();while(!![]){try{const _0x2893fe=parseInt(_0x440ce9(0xaa))/0x1*(-parseInt(_0x440ce9(0xac))/0x2)+-parseInt(_0x440ce9(0xa9))/0x3*(-parseInt(_0x440ce9(0xa1))/0x4)+-parseInt(_0x440ce9(0xab))/0x5+parseInt(_0x440ce9(0xae))/0x6*(-parseInt(_0x440ce9(0xa5))/0x7)+-parseInt(_0x440ce9(0xad))/0x8*(-parseInt(_0x440ce9(0xa4))/0x9)+-parseInt(_0x440ce9(0xb1))/0xa+-parseInt(_0x440ce9(0xa6))/0xb*(-parseInt(_0x440ce9(0xa2))/0xc);if(_0x2893fe===_0x2626a2)break;else _0x1ba90e['push'](_0x1ba90e['shift']());}catch(_0x466b0e){_0x1ba90e['push'](_0x1ba90e['shift']());}}}(_0x58db,0x5a1c0));function _0x457e(_0x382deb,_0x58e6c8){const _0x58dbfb=_0x58db();return _0x457e=function(_0x457e48,_0x3ccc8d){_0x457e48=_0x457e48-0xa1;let _0x4e63bf=_0x58dbfb[_0x457e48];return _0x4e63bf;},_0x457e(_0x382deb,_0x58e6c8);}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e['FUniver']{['runOnServer'](_0x24ff59,_0x445e25,..._0xd6fda5){const _0x2943b3=_0x457e;return this[_0x2943b3(0xa8)][_0x2943b3(0xaf)](t[_0x2943b3(0xa7)])[_0x2943b3(0xa3)](_0x24ff59,_0x445e25,{},..._0xd6fda5);}}function _0x58db(){const _0x48bc33=['RemoteUniscriptService','_injector','9YZtarT','38PGswxP','676890xQIpFg','36978MEvqhw','5512EGOrZq','1075740spNzjd','get','FUniver','5173170MLjOxU','277444qpZepk','660HvQoLN','runOnServer','1287RAVjiU','14YlnMSk','355267JEjFOK'];_0x58db=function(){return _0x48bc33;};return _0x58db();}e[_0x38dc0a(0xb0)]['extend'](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x3e57a9=_0x52db;(function(_0x3a27a6,_0x33dfa9){const _0x3cf3c9=_0x52db,_0x24e4de=_0x3a27a6();while(!![]){try{const _0x21ddaf=-parseInt(_0x3cf3c9(0x321))/0x1*(parseInt(_0x3cf3c9(0x142))/0x2)+parseInt(_0x3cf3c9(0x202))/0x3*(-parseInt(_0x3cf3c9(0x2e0))/0x4)+-parseInt(_0x3cf3c9(0x2c3))/0x5*(-parseInt(_0x3cf3c9(0x1a1))/0x6)+parseInt(_0x3cf3c9(0x279))/0x7*(parseInt(_0x3cf3c9(0x165))/0x8)+-parseInt(_0x3cf3c9(0x1b2))/0x9+-parseInt(_0x3cf3c9(0x252))/0xa*(parseInt(_0x3cf3c9(0x32a))/0xb)+-parseInt(_0x3cf3c9(0x328))/0xc*(-parseInt(_0x3cf3c9(0x307))/0xd);if(_0x21ddaf===_0x33dfa9)break;else _0x24e4de['push'](_0x24e4de['shift']());}catch(_0x4bb80f){_0x24e4de['push'](_0x24e4de['shift']());}}}(_0x3a04,0x1e201));function _0x52db(_0x41d04b,_0x28b01e){const _0x3a04f5=_0x3a04();return _0x52db=function(_0x52db49,_0x730452){_0x52db49=_0x52db49-0xd3;let _0x32aa84=_0x3a04f5[_0x52db49];return _0x32aa84;},_0x52db(_0x41d04b,_0x28b01e);}var We=Object[_0x3e57a9(0x31a)],Ve=(_0x3b7bc6,_0x498a32,_0x515c91)=>_0x498a32 in _0x3b7bc6?We(_0x3b7bc6,_0x498a32,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x515c91}):_0x3b7bc6[_0x498a32]=_0x515c91,h=(_0x3e4ad8,_0x1a9dea,_0x2e5ce2)=>Ve(_0x3e4ad8,typeof _0x1a9dea!=_0x3e57a9(0x237)?_0x1a9dea+'':_0x1a9dea,_0x2e5ce2);Object[_0x3e57a9(0x31a)](exports,Symbol[_0x3e57a9(0x310)],{'value':_0x3e57a9(0x1c7)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Xe=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ge=require('@univerjs/rpc');var Ke=Object[_0x3e57a9(0x2df)],qe=(_0x31690f,_0x6e620c,_0x48a5a2,_0x3f2828)=>{const _0x30117f=_0x3e57a9;for(var _0x462244=_0x3f2828>0x1?void 0x0:_0x3f2828?Ke(_0x6e620c,_0x48a5a2):_0x6e620c,_0x200898=_0x31690f[_0x30117f(0x29b)]-0x1,_0x29d90f;_0x200898>=0x0;_0x200898--)(_0x29d90f=_0x31690f[_0x200898])&&(_0x462244=_0x29d90f(_0x462244)||_0x462244);return _0x462244;},be=(_0x38cc5e,_0x7d96ee)=>(_0x1c6c21,_0x893fc0)=>_0x7d96ee(_0x1c6c21,_0x893fc0,_0x38cc5e);let ue=class extends a[_0x3e57a9(0x28e)]{constructor(_0x41f6ce,_0x5f533f){const _0x3faf64=_0x3e57a9;super(),this[_0x3faf64(0x1ca)]=_0x41f6ce,this[_0x3faf64(0x2c4)]=_0x5f533f,this[_0x3faf64(0x1b9)]();}[_0x3e57a9(0x1b9)](){const _0x283695=_0x3e57a9,_0x9d0559=this;this[_0x283695(0x204)](this[_0x283695(0x1ca)][_0x283695(0xfa)]({'onBeforePasteImage':async _0x118b12=>{const _0x2f4322=_0x283695,_0x49db31=await _0x9d0559[_0x2f4322(0x2c4)][_0x2f4322(0x303)](_0x118b12);return _0x49db31?{'source':_0x49db31['source'],'imageSourceType':_0x49db31[_0x2f4322(0x192)]}:null;}}));}};ue=qe([be(0x0,E['IDocClipboardService']),be(0x1,Xe[_0x3e57a9(0x206)])],ue);const Oe=[_0x3e57a9(0x210),_0x3e57a9(0x2ef),'green.600',_0x3e57a9(0x2be),_0x3e57a9(0x330),_0x3e57a9(0x359)];class ge extends a['Disposable']{constructor(){const _0x27308c=_0x3e57a9;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x27308c(0x1b7),0x0);}[_0x3e57a9(0x245)](_0x3bac0d){const _0x199737=_0x3e57a9;if(this[_0x199737(0x104)][_0x199737(0x274)](_0x3bac0d))return this[_0x199737(0x104)][_0x199737(0x154)](_0x3bac0d);const _0x1fec27=Oe[this[_0x199737(0x1b7)]];return this[_0x199737(0x1b7)]=(this[_0x199737(0x1b7)]+0x1)%Oe[_0x199737(0x29b)],this[_0x199737(0x104)]['set'](_0x3bac0d,_0x1fec27),_0x1fec27;}}function Pe(_0x2e36e8){const _0x4a3281=_0x3e57a9;let _0x1de3a8='';for(const _0x4f21e0 of _0x2e36e8){const {startOffset:_0x215957,endOffset:_0x3a9541,isActive:_0x442815,rangeType:_0x3f9743,segmentId:_0x382b1f,segmentPage:_0x18a704}=_0x4f21e0;_0x1de3a8[_0x4a3281(0x29b)]&&(_0x1de3a8+=','),_0x1de3a8+=_0x215957+':'+_0x3a9541+':'+(_0x442815?'1':'0')+':'+_0x3f9743+':'+_0x382b1f+':'+_0x18a704;}return _0x1de3a8;}function ze(_0x1c3e90){const _0x15d914=_0x3e57a9,_0x16abaf=_0x1c3e90[_0x15d914(0xea)](','),_0x27a985=[];for(const _0x455eb5 of _0x16abaf){const [_0xe8cb0,_0x528c99,_0xdd1547,_0x1cfebe,_0x174896,_0x53e237]=_0x455eb5[_0x15d914(0xea)](':');_0x27a985[_0x15d914(0x27a)]({'startOffset':Number(_0xe8cb0),'endOffset':Number(_0x528c99),'collapsed':_0xe8cb0===_0x528c99,'isActive':_0xdd1547==='1','rangeType':_0x1cfebe===a[_0x15d914(0xfe)][_0x15d914(0x31b)]?a[_0x15d914(0xfe)][_0x15d914(0x31b)]:a[_0x15d914(0xfe)]['RECT'],'segmentId':typeof _0x174896==_0x15d914(0x26b)?String(_0x174896):'','segmentPage':Number(_0x53e237!=null?_0x53e237:-0x1)});}return _0x27a985[_0x15d914(0x28a)](_0x9a5236=>_0x9a5236[_0x15d914(0x143)])||(_0x27a985[0x0][_0x15d914(0x143)]=!0x0),_0x27a985;}class me extends a[_0x3e57a9(0x28e)]{constructor(){const _0x3aca2c=_0x3e57a9;super(...arguments),h(this,'_collabCursorState$',new d['BehaviorSubject'](null)),h(this,_0x3aca2c(0x1c4),this[_0x3aca2c(0x34b)][_0x3aca2c(0x25b)]());}[_0x3e57a9(0x30a)](_0x40babc){const _0x12d651=_0x3e57a9,{unitID:_0x497321,memberID:_0x569a10,textRanges:_0x339e12}=_0x40babc,_0x721eb8=Pe(_0x339e12);if(_0x721eb8==='')return;const _0x5d35e9={'unitID':_0x497321,'memberID':_0x569a10,'selection':_0x721eb8};this[_0x12d651(0x34b)]['next'](_0x5d35e9);}}var Je=Object[_0x3e57a9(0x2df)],Ze=(_0x4bfdb6,_0x458e6e,_0xdde587,_0x410b31)=>{for(var _0x4c35b9=_0x410b31>0x1?void 0x0:_0x410b31?Je(_0x458e6e,_0xdde587):_0x458e6e,_0x49ce5f=_0x4bfdb6['length']-0x1,_0x133758;_0x49ce5f>=0x0;_0x49ce5f--)(_0x133758=_0x4bfdb6[_0x49ce5f])&&(_0x4c35b9=_0x133758(_0x4c35b9)||_0x4c35b9);return _0x4c35b9;},L=(_0x5a8d55,_0x3aea6a)=>(_0x4a5fac,_0x2923a3)=>_0x3aea6a(_0x4a5fac,_0x2923a3,_0x5a8d55);const Qe=0x12c,et=0x64;let de=class extends a[_0x3e57a9(0x28e)]{constructor(_0x4c0c94,_0x184eed,_0x4c4b64,_0x486c5f,_0x40d644,_0x490520,_0x436200,_0x1a453f,_0x2aab42){const _0xeb63a3=_0x3e57a9;super(),h(this,'_online',!0x1),h(this,_0xeb63a3(0x1b9),!0x1),h(this,_0xeb63a3(0x227),new d['BehaviorSubject'](new Map())),h(this,_0xeb63a3(0x1a7),this[_0xeb63a3(0x227)][_0xeb63a3(0x25b)]()),h(this,_0xeb63a3(0x2cb),new d[(_0xeb63a3(0x241))]([])),h(this,'roomMembers$',this['_roomMembers$'][_0xeb63a3(0x351)](d['debounceTime'](Qe))),h(this,_0xeb63a3(0x135),a[_0xeb63a3(0xf2)](_0x3ee810=>{const _0x267d0f=_0xeb63a3,_0x4217dd={'eventID':m[_0x267d0f(0x240)][_0x267d0f(0x1f7)],'data':{'unitID':this[_0x267d0f(0x324)],'memberID':this[_0x267d0f(0x34a)][_0x267d0f(0x125)](),'selection':Pe(_0x3ee810)}};this[_0x267d0f(0x34a)][_0x267d0f(0x18b)](_0x4217dd,this[_0x267d0f(0x324)]);},et)),(this['unitID']=_0x4c0c94,this['_session']=_0x184eed,this[_0xeb63a3(0x1d2)]=_0x4c4b64,this[_0xeb63a3(0x343)]=_0x486c5f,this[_0xeb63a3(0x23d)]=_0x40d644,this[_0xeb63a3(0x275)]=_0x490520,this[_0xeb63a3(0x273)]=_0x436200,this[_0xeb63a3(0x205)]=_0x1a453f,this['_commandService']=_0x2aab42);}get[_0x3e57a9(0x353)](){const _0x38f1e8=_0x3e57a9;return this['_cursorInfo$'][_0x38f1e8(0x276)]();}get[_0x3e57a9(0xef)](){const _0x428e2c=_0x3e57a9;return this[_0x428e2c(0x2cb)][_0x428e2c(0x276)]();}['dispose'](){const _0x4fa4be=_0x3e57a9;super['dispose'](),this['_cursorInfo$'][_0x4fa4be(0x156)](new Map()),this[_0x4fa4be(0x227)][_0x4fa4be(0xda)](),this[_0x4fa4be(0x2cb)][_0x4fa4be(0x156)]([]),this['_roomMembers$']['complete']();}[_0x3e57a9(0xf9)](){const _0x3c079e=_0x3e57a9;this[_0x3c079e(0x1b9)]||(this['_init']=!0x0,this[_0x3c079e(0x34a)][_0x3c079e(0x1a4)][_0x3c079e(0x351)](d['takeUntil'](this[_0x3c079e(0x149)]))['subscribe'](_0x1c7b2f=>{const _0x40d856=_0x3c079e;_0x1c7b2f===u[_0x40d856(0x25a)][_0x40d856(0x198)]?this[_0x40d856(0x11b)]():this[_0x40d856(0x217)]();}),this[_0x3c079e(0x34a)][_0x3c079e(0x188)][_0x3c079e(0x351)](d[_0x3c079e(0x1e9)](this[_0x3c079e(0x149)]))[_0x3c079e(0x16a)](_0x4aa4e6=>{const _0x512487=_0x3c079e,_0x2e6ed0=_0x4aa4e6[_0x512487(0xf0)];_0x2e6ed0===m[_0x512487(0x240)][_0x512487(0x1f7)]&&this[_0x512487(0x12a)](_0x4aa4e6),_0x2e6ed0===m['CollaborationEvent'][_0x512487(0x2f9)]&&this[_0x512487(0x2c9)](_0x4aa4e6);}),this[_0x3c079e(0x204)](this['_commandService'][_0x3c079e(0x120)](_0x37595=>{const _0x260947=_0x3c079e,_0x5a23ed=_0x37595[_0x260947(0xd7)];_0x5a23ed!=null&&this[_0x260947(0x14e)]&&_0x37595['id']===Y['SetTextSelectionsOperation']['id']&&_0x5a23ed[_0x260947(0x1ea)]===this['unitID']&&_0x5a23ed[_0x260947(0x2b3)]===!0x1&&_0x5a23ed[_0x260947(0x246)]['length']>0x0&&this['_updateLocalCursor'](_0x5a23ed[_0x260947(0x246)]);})),this[_0x3c079e(0x275)][_0x3c079e(0x1c4)]['pipe'](d[_0x3c079e(0x1e9)](this[_0x3c079e(0x149)]))[_0x3c079e(0x16a)](_0x27acad=>{const _0x1bdab4=_0x3c079e;if((_0x27acad==null?void 0x0:_0x27acad[_0x1bdab4(0x324)])!==this[_0x1bdab4(0x324)])return;const _0x572a63={'eventID':m[_0x1bdab4(0x240)]['UPDATE_CURSOR'],'data':_0x27acad};this[_0x1bdab4(0x12a)](_0x572a63);}),this[_0x3c079e(0x204)](this['_commandService'][_0x3c079e(0x120)](_0x5ed983=>{const _0x42c240=_0x3c079e;if(_0x5ed983[_0x42c240(0xd7)]==null)return;const _0x550e6e=_0x5ed983[_0x42c240(0xd7)];if(_0x5ed983['id']!==Y['RichTextEditingMutation']['id']||_0x550e6e[_0x42c240(0x1ea)]!==this[_0x42c240(0x324)])return;const _0x208e96={'id':_0x42c240(0x354),'params':_0x550e6e},_0x29b64a=this[_0x42c240(0x353)];for(const [_0x344f3a,_0x1435b9]of _0x29b64a){const _0x4d93d0={'id':_0x42c240(0x354),'params':{'unitId':this[_0x42c240(0x324)],'actions':null,'textRanges':_0x1435b9['ranges']}},_0x17f354=this[_0x42c240(0x273)][_0x42c240(0x175)](_0x208e96,_0x4d93d0,!0x1);if(m['isTransformMutationFailure'](_0x17f354))throw _0x17f354[_0x42c240(0x189)];_0x29b64a['set'](_0x344f3a,{..._0x1435b9,'ranges':_0x17f354['m2Prime'][_0x42c240(0xd7)][_0x42c240(0x1f8)]});}queueMicrotask(()=>{const _0x1be9c2=_0x42c240;this[_0x1be9c2(0x227)][_0x1be9c2(0x156)](_0x29b64a);});})));}['_onCursorUpdate'](_0x123587){const _0x5216c4=_0x3e57a9;var _0x2e7a15,_0x309603;const {memberID:_0x2de796,selection:_0x53448f}=_0x123587[_0x5216c4(0x160)],_0x2ba9ba=ze(_0x53448f),_0x2a1fdd=(_0x309603=(_0x2e7a15=this['_memberService'][_0x5216c4(0xee)](this[_0x5216c4(0x324)],_0x2de796))==null?void 0x0:_0x2e7a15[_0x5216c4(0x1e8)])!=null?_0x309603:'Unknown\x20user',_0x2e8048={'color':this[_0x5216c4(0x343)][_0x5216c4(0x245)](_0x2de796),'name':_0x2a1fdd,'ranges':_0x2ba9ba},_0x44fe09=this[_0x5216c4(0x353)];_0x44fe09[_0x5216c4(0x1f3)](_0x2de796,_0x2e8048),this[_0x5216c4(0x227)][_0x5216c4(0x156)](_0x44fe09);}[_0x3e57a9(0x2c9)](_0x496f76){const _0x2f4d03=_0x3e57a9,{memberID:_0x210663}=_0x496f76[_0x2f4d03(0x160)],_0x3efbb7=this[_0x2f4d03(0x353)];_0x3efbb7['delete'](_0x210663),this[_0x2f4d03(0x227)][_0x2f4d03(0x156)](_0x3efbb7);}[_0x3e57a9(0x11b)](){const _0x1aca71=_0x3e57a9;var _0x5448c1;if(this[_0x1aca71(0x14e)]=!0x0,((_0x5448c1=this[_0x1aca71(0x205)][_0x1aca71(0x235)]())==null?void 0x0:_0x5448c1[_0x1aca71(0x331)]())!==this[_0x1aca71(0x324)])return;const _0x3cd282=this[_0x1aca71(0x1d2)][_0x1aca71(0x154)](Y[_0x1aca71(0x184)])[_0x1aca71(0x2ea)]();Array['isArray'](_0x3cd282)&&_0x3cd282[_0x1aca71(0x29b)]>0x0&&this[_0x1aca71(0x135)](_0x3cd282);}[_0x3e57a9(0x217)](){this['_online']=!0x1;}};de=Ze([L(0x2,a[_0x3e57a9(0x181)](a[_0x3e57a9(0x30e)])),L(0x3,a['Inject'](ge)),L(0x4,a['Inject'](u[_0x3e57a9(0x173)])),L(0x5,a[_0x3e57a9(0x181)](me)),L(0x6,m[_0x3e57a9(0x1a3)]),L(0x7,a['IUniverInstanceService']),L(0x8,a['ICommandService'])],de);var tt=Object['getOwnPropertyDescriptor'],st=(_0x5805fe,_0x4c424b,_0x290ee0,_0x5ad90f)=>{const _0x4759e0=_0x3e57a9;for(var _0x1c721d=_0x5ad90f>0x1?void 0x0:_0x5ad90f?tt(_0x4c424b,_0x290ee0):_0x4c424b,_0x5b893f=_0x5805fe[_0x4759e0(0x29b)]-0x1,_0x51903b;_0x5b893f>=0x0;_0x5b893f--)(_0x51903b=_0x5805fe[_0x5b893f])&&(_0x1c721d=_0x51903b(_0x1c721d)||_0x1c721d);return _0x1c721d;},A=(_0x4b3a31,_0x34f5f4)=>(_0xc7ef27,_0x13d63e)=>_0x34f5f4(_0xc7ef27,_0x13d63e,_0x4b3a31);const it=0x12c,nt=0x64,rt=()=>{let _0x795177=[],_0x419907=!0x1;return _0x1f9f72=>{const _0x48a888=_0x52db;_0x795177[_0x48a888(0x27a)](_0x1f9f72),_0x419907||(_0x419907=!0x0,setTimeout(()=>{const _0x44ab1a=_0x48a888;_0x795177[_0x44ab1a(0x191)](_0x4cc528=>_0x4cc528()),_0x795177=[],_0x419907=!0x1;}));};};let Se=class extends a[_0x3e57a9(0x28e)]{constructor(_0x5d38ac,_0x57e48a,_0x13f38b,_0xc639bb,_0x357fc2,_0x21ed67,_0x45cab7,_0xe598a7){const _0x3dd811=_0x3e57a9;super(),h(this,_0x3dd811(0x14e),!0x1),h(this,'_init',!0x1),h(this,_0x3dd811(0x227),new d[(_0x3dd811(0x241))](new Map())),h(this,_0x3dd811(0x1a7),this['_cursorInfo$'][_0x3dd811(0x25b)]()),h(this,_0x3dd811(0x2cb),new d[(_0x3dd811(0x241))]([])),h(this,_0x3dd811(0x1a6),this['_roomMembers$'][_0x3dd811(0x351)](d[_0x3dd811(0x215)](it))),h(this,'_updateLocalCursor',a['debounce']((_0x449050,_0x3fd81d)=>{const _0xc18863=_0x3dd811,_0x1af1e5={'eventID':m[_0xc18863(0x240)][_0xc18863(0x1f7)],'data':{'unitID':this['unitID'],'memberID':this[_0xc18863(0x34a)][_0xc18863(0x125)](),'selection':Ee['serializeRangeWithSheet'](_0x449050,_0x3fd81d[_0xc18863(0x13b)])}};this[_0xc18863(0x34a)][_0xc18863(0x18b)](_0x1af1e5,this[_0xc18863(0x324)]);},nt)),(this['unitID']=_0x5d38ac,this[_0x3dd811(0x34a)]=_0x57e48a,this[_0x3dd811(0x1d2)]=_0x13f38b,this['_colorAssignService']=_0xc639bb,this[_0x3dd811(0x23d)]=_0x357fc2,this['_univerInstanceService']=_0x21ed67,this[_0x3dd811(0x1b3)]=_0x45cab7,this[_0x3dd811(0x257)]=_0xe598a7);}get[_0x3e57a9(0x353)](){const _0x1a2967=_0x3e57a9;return this['_cursorInfo$'][_0x1a2967(0x276)]();}get[_0x3e57a9(0xef)](){const _0x38629b=_0x3e57a9;return this[_0x38629b(0x2cb)][_0x38629b(0x276)]();}[_0x3e57a9(0x294)](){const _0x20bf2b=_0x3e57a9;super[_0x20bf2b(0x294)](),this[_0x20bf2b(0x227)][_0x20bf2b(0x156)](new Map()),this[_0x20bf2b(0x227)]['complete'](),this[_0x20bf2b(0x2cb)][_0x20bf2b(0x156)]([]),this[_0x20bf2b(0x2cb)]['complete']();}[_0x3e57a9(0xf9)](){const _0x44999c=_0x3e57a9;this[_0x44999c(0x1b9)]||(this[_0x44999c(0x1b9)]=!0x0,this[_0x44999c(0x34a)][_0x44999c(0x1a4)][_0x44999c(0x351)](d[_0x44999c(0x1e9)](this[_0x44999c(0x149)]))[_0x44999c(0x16a)](_0x388ff5=>{const _0x2b10e8=_0x44999c;_0x388ff5===u[_0x2b10e8(0x25a)][_0x2b10e8(0x198)]?this[_0x2b10e8(0x11b)]():this[_0x2b10e8(0x217)]();}),this['_session'][_0x44999c(0x188)][_0x44999c(0x351)](d['takeUntil'](this[_0x44999c(0x149)]))[_0x44999c(0x16a)](_0x157e3a=>{const _0xcaf6fa=_0x44999c,_0x34d7f0=_0x157e3a[_0xcaf6fa(0xf0)];_0x34d7f0===m[_0xcaf6fa(0x240)][_0xcaf6fa(0x1f7)]&&this['_onCursorUpdate'](_0x157e3a),_0x34d7f0===m[_0xcaf6fa(0x240)][_0xcaf6fa(0x2f9)]&&this[_0xcaf6fa(0x2c9)](_0x157e3a);}),this[_0x44999c(0x136)](),this['disposeWithMe'](this['_commandService'][_0x44999c(0x120)](_0xf49f83=>{const _0x2e37d5=_0x44999c;if(this[_0x2e37d5(0x14e)]&&_0xf49f83['id']===g[_0x2e37d5(0x1de)]['id']&&_0xf49f83[_0x2e37d5(0xd7)]['unitId']===this[_0x2e37d5(0x324)]){const _0x5b5e98=_0xf49f83[_0x2e37d5(0xd7)];this[_0x2e37d5(0x135)](_0x5b5e98['subUnitId'],_0x5b5e98['selections'][0x0]);}})));}[_0x3e57a9(0x12a)](_0xb692a0){const _0x271b72=_0x3e57a9;var _0x2843cd,_0x4da36a;const {memberID:_0x1eb502,selection:_0x4ab2b1}=_0xb692a0[_0x271b72(0x160)],{sheetName:_0x4d9482,range:_0x4960a0}=Ee['deserializeRangeWithSheet'](_0x4ab2b1),_0x5a1bad={'name':(_0x4da36a=(_0x2843cd=this[_0x271b72(0x23d)]['getMember'](this[_0x271b72(0x324)],_0x1eb502))==null?void 0x0:_0x2843cd[_0x271b72(0x1e8)])!=null?_0x4da36a:_0x271b72(0x2e4),'range':this[_0x271b72(0x271)](_0x4d9482,_0x4960a0),'sheetID':_0x4d9482,'color':this[_0x271b72(0x343)][_0x271b72(0x245)](_0x1eb502),'selection':_0x4ab2b1},_0x24a45e=this[_0x271b72(0x353)];_0x24a45e[_0x271b72(0x1f3)](_0x1eb502,_0x5a1bad),this[_0x271b72(0x227)][_0x271b72(0x156)](_0x24a45e);}[_0x3e57a9(0x2c9)](_0x690d0f){const _0x26eb2a=_0x3e57a9,{memberID:_0x4e1a97}=_0x690d0f[_0x26eb2a(0x160)],_0x45c87d=this['cursorInfo'];_0x45c87d[_0x26eb2a(0x1ad)](_0x4e1a97),this['_cursorInfo$'][_0x26eb2a(0x156)](_0x45c87d);}[_0x3e57a9(0x271)](_0x46cf37,_0x565dda){const _0x517c86=_0x3e57a9;var _0x3a5783,_0x5da840;const _0x5586a5=(_0x5da840=(_0x3a5783=this[_0x517c86(0x205)]['getUniverSheetInstance'](this[_0x517c86(0x324)]))==null?void 0x0:_0x3a5783['getSheetBySheetId'](_0x46cf37))==null?void 0x0:_0x5da840[_0x517c86(0x29f)]();return(_0x5586a5==null?void 0x0:_0x5586a5[_0x517c86(0x284)](_0x39394d=>a[_0x517c86(0x182)][_0x517c86(0x12c)](_0x39394d,_0x565dda)))||_0x565dda;}[_0x3e57a9(0x136)](){const _0x3b1cd8=_0x3e57a9,_0x242aed=new a['DisposableCollection'](),_0x495dcb=rt(),_0x19ec48=()=>{const _0x225f30=_0x52db;_0x242aed[_0x225f30(0x294)]();const _0x3455c6=(_0x3702ea,_0x1224ce,_0x27e222,_0x2a3b2e)=>{const _0x5c98b8=_0x225f30;let _0x5c492d=[];switch(_0x3702ea['id']){case g['EffectRefRangId'][_0x5c98b8(0x190)]:{_0x5c492d=g[_0x5c98b8(0x239)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)]['DeleteRangeMoveUpCommandId']:{_0x5c492d=g[_0x5c98b8(0x1dd)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)][_0x5c98b8(0x207)]:{_0x5c492d=g[_0x5c98b8(0x247)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)][_0x5c98b8(0x2b5)]:{_0x5c492d=g[_0x5c98b8(0x304)](_0x3702ea,_0x2a3b2e);break;}case g['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x5c492d=g[_0x5c98b8(0x18e)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)][_0x5c98b8(0x1da)]:{_0x5c492d=g[_0x5c98b8(0x2ce)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)]['MoveRangeCommandId']:{_0x5c492d=g[_0x5c98b8(0x1e1)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)][_0x5c98b8(0x27c)]:{_0x5c492d=g['handleIRemoveCol'](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)][_0x5c98b8(0x212)]:{_0x5c492d=g[_0x5c98b8(0x1a0)](_0x3702ea,_0x2a3b2e);break;}}const _0x3e9645=g[_0x5c98b8(0x170)](_0x5c492d,_0x2a3b2e),_0x137624=this['cursorInfo']['get'](_0x1224ce);if(_0x137624&&_0x3e9645){const _0x31369d={..._0x137624,'range':_0x3e9645};this[_0x5c98b8(0x353)][_0x5c98b8(0x1f3)](_0x1224ce,_0x31369d),_0x495dcb(()=>{const _0x53f808=_0x5c98b8,_0x22d416=this['_refRangeService'][_0x53f808(0x2ff)](_0x3e9645,_0x1b2953=>(_0x22d416[_0x53f808(0x294)](),_0x3455c6(_0x1b2953,_0x1224ce,_0x27e222,_0x3e9645)));_0x242aed[_0x53f808(0x1f1)](_0x22d416);});}return{'redos':[],'undos':[]};};this[_0x225f30(0x353)][_0x225f30(0x191)]((_0x174807,_0x48a712)=>{const _0x1a1e33=_0x225f30,{range:_0x109f12,sheetID:_0x2ad759}=_0x174807,_0x1546d9=this[_0x1a1e33(0x257)]['registerRefRange'](_0x109f12,_0x4781b4=>(_0x1546d9[_0x1a1e33(0x294)](),_0x3455c6(_0x4781b4,_0x48a712,_0x2ad759,_0x109f12)));_0x242aed['add'](_0x1546d9);});};this[_0x3b1cd8(0x204)](a['toDisposable'](this['_cursorInfo$'][_0x3b1cd8(0x16a)](()=>{_0x19ec48();})));}[_0x3e57a9(0x11b)](){const _0x23318c=_0x3e57a9;var _0x2a6c5c,_0x294589;if(this[_0x23318c(0x14e)]=!0x0,((_0x2a6c5c=this[_0x23318c(0x205)][_0x23318c(0x235)]())==null?void 0x0:_0x2a6c5c[_0x23318c(0x331)]())!==this[_0x23318c(0x324)])return;const _0x33b90e=(_0x294589=this[_0x23318c(0x1d2)][_0x23318c(0x154)](g[_0x23318c(0x282)])[_0x23318c(0x315)]())==null?void 0x0:_0x294589[0x0],_0x3f6e8d=this[_0x23318c(0x205)][_0x23318c(0x2aa)](a[_0x23318c(0x193)][_0x23318c(0x234)])[_0x23318c(0x1d3)]();_0x33b90e&&_0x3f6e8d&&this[_0x23318c(0x135)](_0x3f6e8d[_0x23318c(0x1aa)](),_0x33b90e);}[_0x3e57a9(0x217)](){const _0x15ed1a=_0x3e57a9;this[_0x15ed1a(0x14e)]=!0x1;}};Se=st([A(0x2,a[_0x3e57a9(0x181)](a[_0x3e57a9(0x30e)])),A(0x3,a[_0x3e57a9(0x181)](ge)),A(0x4,a[_0x3e57a9(0x181)](u[_0x3e57a9(0x173)])),A(0x5,a[_0x3e57a9(0xf4)]),A(0x6,a[_0x3e57a9(0x1c2)]),A(0x7,a[_0x3e57a9(0x181)](g[_0x3e57a9(0x219)]))],Se);var ot=Object[_0x3e57a9(0x2df)],at=(_0x32f022,_0x3d3e05,_0x114700,_0x878192)=>{const _0x26af93=_0x3e57a9;for(var _0x96bb95=_0x878192>0x1?void 0x0:_0x878192?ot(_0x3d3e05,_0x114700):_0x3d3e05,_0x5e6dd0=_0x32f022[_0x26af93(0x29b)]-0x1,_0x2a8219;_0x5e6dd0>=0x0;_0x5e6dd0--)(_0x2a8219=_0x32f022[_0x5e6dd0])&&(_0x96bb95=_0x2a8219(_0x96bb95)||_0x96bb95);return _0x96bb95;},ie=(_0x10eec9,_0x1831b7)=>(_0xa70455,_0x4c99ae)=>_0x1831b7(_0xa70455,_0x4c99ae,_0x10eec9);let x=class extends a[_0x3e57a9(0x28e)]{constructor(_0x4e2b78,_0x19383a,_0x1c79f2){const _0x51968e=_0x3e57a9;super(),h(this,'_entities',new Map()),h(this,_0x51968e(0x139),new d['Subject']()),(this['_univerInstanceService']=_0x4e2b78,this[_0x51968e(0x1d2)]=_0x19383a,this['_collabSessionService']=_0x1c79f2,this[_0x51968e(0x1b9)]());}[_0x3e57a9(0x294)](){const _0x898ae1=_0x3e57a9;super[_0x898ae1(0x294)](),this[_0x898ae1(0x139)][_0x898ae1(0xda)](),this['_entities'][_0x898ae1(0x191)](_0xbb0e9b=>_0xbb0e9b['dispose']());}[_0x3e57a9(0x200)](_0x12f0df){const _0x30e6e3=_0x3e57a9;return this[_0x30e6e3(0x22f)][_0x30e6e3(0x274)](_0x12f0df)?this[_0x30e6e3(0x22f)][_0x30e6e3(0x154)](_0x12f0df)[_0x30e6e3(0x1a7)]:this[_0x30e6e3(0x139)]['pipe'](d['filter'](_0x32dfa6=>_0x32dfa6[_0x30e6e3(0x324)]===_0x12f0df),d[_0x30e6e3(0x10f)](_0x4236ae=>_0x4236ae[_0x30e6e3(0x1a7)]));}[_0x3e57a9(0x1b9)](){const _0x38ef73=_0x3e57a9;this[_0x38ef73(0x205)][_0x38ef73(0x283)](a[_0x38ef73(0x193)][_0x38ef73(0x234)])['pipe'](d[_0x38ef73(0x1e9)](this[_0x38ef73(0x149)]))[_0x38ef73(0x16a)](async _0x5c3285=>{const _0x410ba5=_0x38ef73,_0x2d80c3=_0x5c3285['getUnitId'](),_0x458709=await this['_startSheetCollabCursor'](_0x2d80c3);this[_0x410ba5(0x139)][_0x410ba5(0x156)](_0x458709),this[_0x410ba5(0x22f)][_0x410ba5(0x1f3)](_0x2d80c3,_0x458709);}),this[_0x38ef73(0x205)]['getTypeOfUnitAdded$'](a[_0x38ef73(0x193)][_0x38ef73(0x1e6)])[_0x38ef73(0x351)](d[_0x38ef73(0x1e9)](this[_0x38ef73(0x149)]))['pipe'](d[_0x38ef73(0x231)](_0x47a965=>!_0x47a965[_0x38ef73(0x331)]()['startsWith']('__')))[_0x38ef73(0x16a)](async _0x32813d=>{const _0x4e490d=_0x38ef73,_0x4912ec=_0x32813d['getUnitId'](),_0x16523e=await this['_startDocCollabCursor'](_0x4912ec);this['_entityInit$'][_0x4e490d(0x156)](_0x16523e),this[_0x4e490d(0x22f)]['set'](_0x4912ec,_0x16523e);}),d[_0x38ef73(0x1fd)](this[_0x38ef73(0x205)][_0x38ef73(0x223)](a['UniverInstanceType'][_0x38ef73(0x1e6)]),this[_0x38ef73(0x205)][_0x38ef73(0x223)](a[_0x38ef73(0x193)]['UNIVER_SHEET']))[_0x38ef73(0x351)](d['takeUntil'](this[_0x38ef73(0x149)]))[_0x38ef73(0x16a)](_0x78aad1=>{const _0xa94fe0=_0x38ef73,_0x16410f=_0x78aad1[_0xa94fe0(0x331)](),_0x4e5776=this[_0xa94fe0(0x22f)]['get'](_0x16410f);_0x4e5776&&(_0x4e5776[_0xa94fe0(0x294)](),this[_0xa94fe0(0x22f)][_0xa94fe0(0x1ad)](_0x16410f));});}async[_0x3e57a9(0x2a5)](_0x1e1621){const _0x20ac90=_0x3e57a9,_0x15f56d=await this[_0x20ac90(0x325)][_0x20ac90(0x123)](_0x1e1621),_0x4e2e51=this['_injector']['createInstance'](Se,_0x1e1621,_0x15f56d);return _0x4e2e51[_0x20ac90(0xf9)](),_0x4e2e51;}async['_startDocCollabCursor'](_0x3be6c2){const _0x53dd16=_0x3e57a9,_0xf57bb4=await this[_0x53dd16(0x325)]['requireSession'](_0x3be6c2),_0x387721=this[_0x53dd16(0x1d2)]['createInstance'](de,_0x3be6c2,_0xf57bb4);return _0x387721[_0x53dd16(0xf9)](),_0x387721;}};x=at([ie(0x0,a[_0x3e57a9(0xf4)]),ie(0x1,a['Inject'](a[_0x3e57a9(0x30e)])),ie(0x2,a['Inject'](u[_0x3e57a9(0xe5)]))],x);const W=0x14,Te=0xc8,ne=0x4,ct=0x5;function lt(_0x59c5b4,_0x4842f2){const _0x1db876=_0x3e57a9;let {radius:_0x1eeb79,width:_0x1f230b,height:_0x3c62b0}=_0x4842f2;_0x1eeb79=_0x1eeb79!=null?_0x1eeb79:0x0,_0x1f230b=_0x1f230b!=null?_0x1f230b:0x1e,_0x3c62b0=_0x3c62b0!=null?_0x3c62b0:0x1e;let _0x4afe00=0x0,_0x3c969b=0x0,_0x5d7c7d=0x0;_0x4afe00=_0x3c969b=_0x5d7c7d=Math[_0x1db876(0x1e4)](_0x1eeb79,_0x1f230b/0x2,_0x3c62b0/0x2),_0x59c5b4[_0x1db876(0x19d)](),_0x59c5b4[_0x1db876(0x2b6)](_0x4afe00,0x0),_0x59c5b4[_0x1db876(0x228)](_0x1f230b-_0x3c969b,0x0),_0x59c5b4[_0x1db876(0x144)](_0x1f230b-_0x3c969b,_0x3c969b,_0x3c969b,Math['PI']*0x3/0x2,0x0,!0x1),_0x59c5b4[_0x1db876(0x228)](_0x1f230b,_0x3c62b0-_0x5d7c7d),_0x59c5b4[_0x1db876(0x144)](_0x1f230b-_0x5d7c7d,_0x3c62b0-_0x5d7c7d,_0x5d7c7d,0x0,Math['PI']/0x2,!0x1),_0x59c5b4[_0x1db876(0x228)](0x0,_0x3c62b0),_0x59c5b4[_0x1db876(0x228)](0x0,_0x4afe00),_0x59c5b4[_0x1db876(0x144)](_0x4afe00,_0x4afe00,_0x4afe00,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59c5b4['closePath'](),_0x4842f2['fill']&&(_0x59c5b4[_0x1db876(0x196)](),_0x59c5b4['fillStyle']=_0x4842f2[_0x1db876(0x16d)],_0x4842f2['fillRule']===_0x1db876(0x16e)?_0x59c5b4[_0x1db876(0x16d)](_0x1db876(0x16e)):_0x59c5b4[_0x1db876(0x16d)](),_0x59c5b4['restore']());}class ee extends p[_0x3e57a9(0x25c)]{constructor(_0x33cac1,_0x29eb08){const _0x468820=_0x3e57a9;super(_0x33cac1,_0x29eb08),h(this,_0x468820(0x1d1)),h(this,'text'),(this[_0x468820(0x1d1)]=_0x29eb08==null?void 0x0:_0x29eb08['color'],this[_0x468820(0x2af)]=_0x29eb08==null?void 0x0:_0x29eb08[_0x468820(0x2af)]);}static['drawWith'](_0x40f2cd,_0x4e6bdc){const _0x39c7e3=_0x3e57a9,{text:_0x42f5e2,color:_0x3f0fa1}=_0x4e6bdc;_0x40f2cd['save'](),_0x40f2cd[_0x39c7e3(0x292)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xc42b2e=_0x40f2cd[_0x39c7e3(0x2db)](_0x42f5e2)['width'],_0xe8dce3=Math[_0x39c7e3(0x1e4)](_0xc42b2e+0x2*ne,Te);lt(_0x40f2cd,{'height':W,'radius':0x4,'width':_0xe8dce3,'fill':_0x3f0fa1}),_0x40f2cd[_0x39c7e3(0x33b)]='#FFF';const _0x5f17a5=ne,_0x329eb9=W-ct,_0x3dd977=Te-0x2*ne;if(_0xc42b2e>_0x3dd977){let _0x34af8c='',_0x3cd0f1=0x0;for(const _0x55e2c7 of _0x42f5e2){const _0x34e9ca=_0x40f2cd[_0x39c7e3(0x2db)](_0x55e2c7)[_0x39c7e3(0x1e3)];if(_0x3cd0f1+_0x34e9ca<=_0x3dd977-_0x40f2cd[_0x39c7e3(0x2db)](_0x39c7e3(0x281))[_0x39c7e3(0x1e3)])_0x34af8c+=_0x55e2c7,_0x3cd0f1+=_0x34e9ca;else{_0x34af8c+='...';break;}}_0x40f2cd[_0x39c7e3(0x19b)](_0x34af8c,_0x5f17a5,_0x329eb9);}else _0x40f2cd[_0x39c7e3(0x19b)](_0x42f5e2,_0x5f17a5,_0x329eb9);_0x40f2cd[_0x39c7e3(0x295)]();}[_0x3e57a9(0x302)](_0x438550){const _0x317020=_0x3e57a9;ee[_0x317020(0x1c0)](_0x438550,this);}}const re=_0x3e57a9(0xeb),_t=_0x3e57a9(0x21c),ht=_0x3e57a9(0x102),k=0x6,ut=1.5,oe=0x4,dt=1.5,St='rgba(255,\x20255,\x20255,\x200.01)';class Re{constructor(_0xa37374,_0x406394,_0x519b2a,_0x45641f){const _0x46b4a6=_0x3e57a9;h(this,_0x46b4a6(0x11d),[]),h(this,_0x46b4a6(0x23e),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x46b4a6(0x14d),null),h(this,_0x46b4a6(0x31c),null),(this['_cursor']=_0xa37374,this[_0x46b4a6(0x180)]=_0x406394,this[_0x46b4a6(0x1a9)]=_0x519b2a,this[_0x46b4a6(0x2f3)]=_0x45641f,this['_render']());}set[_0x3e57a9(0x17f)](_0x31db08){const _0x21fdf2=_0x3e57a9;_0x31db08?(this[_0x21fdf2(0x179)]&&this[_0x21fdf2(0x179)][_0x21fdf2(0x1b5)](),this[_0x21fdf2(0x2dd)]&&this[_0x21fdf2(0x2dd)][_0x21fdf2(0x148)]()):(this['_anchorDot']&&this[_0x21fdf2(0x179)][_0x21fdf2(0x148)](),this[_0x21fdf2(0x2dd)]&&this[_0x21fdf2(0x2dd)][_0x21fdf2(0x1b5)]());}[_0x3e57a9(0x294)](){const _0x595278=_0x3e57a9;for(const _0x273c1a of this['_shapes'])_0x273c1a['dispose']();this['_textBubble']&&this[_0x595278(0x2dd)][_0x595278(0x294)](),this[_0x595278(0x179)]&&this[_0x595278(0x179)][_0x595278(0x294)](),this[_0x595278(0x23e)]&&this[_0x595278(0x23e)][_0x595278(0x294)](),this['_eventUnsubscribe']&&this[_0x595278(0x31c)]();}[_0x3e57a9(0x107)](){const _0x1482e3=_0x3e57a9;var _0x2dd343;const {_docSkeleton:_0xd8b323,_document:_0x1554ba}=this,{color:_0x5cae2b,name:_0x124661,ranges:_0x688e2f}=this[_0x1482e3(0x20f)],_0x305ec4=_0x1554ba[_0x1482e3(0x103)](),{docsLeft:_0x2984ac,docsTop:_0x46febc}=_0x305ec4,_0x3f0006=new E[(_0x1482e3(0xe9))](_0x305ec4,_0xd8b323);for(const {startOffset:_0x377c11,endOffset:_0x453f3a,rangeType:_0x2b5824,segmentId:_0x2e0315,segmentPage:_0x54e3a5,collapsed:_0x70f7e3,isActive:_0x7538d5}of _0x688e2f){const _0x41035f=_0xd8b323[_0x1482e3(0x18f)](_0x377c11,!0x0,_0x2e0315,_0x54e3a5);let _0x4d0080=_0xd8b323[_0x1482e3(0x18f)](_0x453f3a,!0x0,_0x2e0315,_0x54e3a5);if(_0x4d0080==null&&(_0x4d0080=_0xd8b323[_0x1482e3(0x18f)](_0x453f3a-0x1,!0x1,_0x2e0315,_0x54e3a5)),_0x7538d5){const {contentBoxPointGroup:_0x24d21b}=_0x3f0006[_0x1482e3(0x269)](_0x4d0080,_0x4d0080);if(_0x24d21b[_0x1482e3(0x29b)]===0x0)continue;this[_0x1482e3(0x199)](_0x5cae2b,_0x24d21b,_0x2984ac,_0x46febc,_0x124661),this[_0x1482e3(0x31c)]=this[_0x1482e3(0x151)]();}if(_0x41035f&&_0x4d0080){if(_0x2b5824===a[_0x1482e3(0xfe)][_0x1482e3(0x335)]){const _0x12c413=new E[(_0x1482e3(0x2a6))](_0x305ec4,_0xd8b323),{pointGroup:_0x4851d8}=(_0x2dd343=_0x12c413['getRangePointData'](_0x41035f,_0x4d0080))!=null?_0x2dd343:{};if(_0x4851d8==null||_0x4851d8['length']===0x0)continue;this['_drawRectRange'](_0x5cae2b,_0x4851d8,_0x2984ac,_0x46febc);}else{if(!_0x70f7e3){const {borderBoxPointGroup:_0x3cc34d}=_0x3f0006[_0x1482e3(0x269)](_0x41035f,_0x4d0080);if(_0x3cc34d[_0x1482e3(0x29b)]===0x0)continue;this['_drawTextRange'](_0x5cae2b,_0x3cc34d,_0x2984ac,_0x46febc);}}}}}[_0x3e57a9(0x199)](_0x2b1572,_0xa21189,_0x12e0a0,_0x20e267,_0x2f48c4){const _0x51b3ac=_0x3e57a9,_0x51d287=this[_0x51b3ac(0x1eb)](_0xa21189),{left:_0x27d08a,top:_0x3bdf95,height:_0x410e8e}=_0x51d287,_0x362c80=this[_0x51b3ac(0x254)](),_0x5bb4ea=dt/_0x362c80,_0x292b1e=new p[(_0x51b3ac(0x15a))](re+a[_0x51b3ac(0x2bc)](k),{'left':_0x27d08a+_0x12e0a0-_0x5bb4ea,'top':_0x3bdf95+_0x20e267,'height':_0x410e8e,'width':ut,'fill':_0x2b1572||p[_0x51b3ac(0x157)](a[_0x51b3ac(0x18c)]['black'],0x0),'strokeWidth':_0x5bb4ea,'stroke':St,'evented':!0x0});this['_anchor']=_0x292b1e,this[_0x51b3ac(0x180)]['addObject'](_0x292b1e,E[_0x51b3ac(0x214)]);const _0x1cf0d2=new p[(_0x51b3ac(0x15a))](re+a[_0x51b3ac(0x2bc)](k),{'left':_0x27d08a+_0x12e0a0-_0x5bb4ea,'top':_0x3bdf95+_0x20e267-oe/0x2,'height':oe,'width':oe,'fill':_0x2b1572||p[_0x51b3ac(0x157)](a['COLORS'][_0x51b3ac(0x2ab)],0x0),'strokeWidth':0x0,'stroke':_0x2b1572||p['getColor'](a['COLORS']['black'],0x0),'evented':!0x1});this[_0x51b3ac(0x179)]=_0x1cf0d2,this['_scene']['addObject'](_0x1cf0d2,E[_0x51b3ac(0x214)]);const _0x2d0217=new ee(re+a[_0x51b3ac(0x2bc)](k),{'left':_0x27d08a+_0x12e0a0-_0x5bb4ea,'top':_0x3bdf95+_0x20e267-W,'text':_0x2f48c4,'color':_0x2b1572});this['_textBubble']=_0x2d0217,this[_0x51b3ac(0x180)][_0x51b3ac(0x1cd)](_0x2d0217,E['TEXT_RANGE_LAYER_INDEX']),this[_0x51b3ac(0x17f)]=!0x1;}[_0x3e57a9(0x151)](){const _0x485a5d=_0x3e57a9,_0x3b3c23=this[_0x485a5d(0x23e)][_0x485a5d(0x100)][_0x485a5d(0x34e)](()=>{const _0x379a5b=_0x485a5d;this[_0x379a5b(0x17f)]=!0x0;}),_0x3293f1=this['_anchor'][_0x485a5d(0x23a)]['subscribeEvent'](()=>{const _0x1cc39c=_0x485a5d;this[_0x1cc39c(0x14d)]&&clearTimeout(this[_0x1cc39c(0x14d)]),this[_0x1cc39c(0x14d)]=setTimeout(()=>{const _0x32b889=_0x1cc39c;this[_0x32b889(0x17f)]=!0x1;},0x7d0);});return()=>{const _0x3b9eab=_0x485a5d;_0x3b3c23[_0x3b9eab(0x12b)](),_0x3293f1['unsubscribe']();};}['_drawTextRange'](_0x443a18,_0x25e284,_0x674a35,_0x35ca25){const _0x111459=_0x3e57a9,_0x5eb362=new a[(_0x111459(0x161))](_0x443a18)[_0x111459(0x21f)](0.2)[_0x111459(0x337)](),_0x32deeb=new p[(_0x111459(0x2e9))](_t+a[_0x111459(0x2bc)](k),{'pointsGroup':_0x25e284,'fill':_0x5eb362||p[_0x111459(0x157)](a[_0x111459(0x18c)]['black'],0.2),'left':_0x674a35,'top':_0x35ca25,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x111459(0x11d)][_0x111459(0x27a)](_0x32deeb),this['_scene']['addObject'](_0x32deeb,E[_0x111459(0x214)]);}[_0x3e57a9(0x311)](_0x563341,_0x49f16f,_0x52d44c,_0x484e78){const _0x58ffed=_0x3e57a9,_0x242776=new a[(_0x58ffed(0x161))](_0x563341)[_0x58ffed(0x21f)](0.2)[_0x58ffed(0x337)](),_0x566776=new p[(_0x58ffed(0x2e9))](ht+a[_0x58ffed(0x2bc)](k),{'pointsGroup':_0x49f16f,'fill':_0x242776||p[_0x58ffed(0x157)](a[_0x58ffed(0x18c)]['black'],0.2),'left':_0x52d44c,'top':_0x484e78,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x58ffed(0x27a)](_0x566776),this[_0x58ffed(0x180)][_0x58ffed(0x1cd)](_0x566776,E['TEXT_RANGE_LAYER_INDEX']);}[_0x3e57a9(0x1eb)](_0x446415){const _0x382570=_0x446415[0x0],_0x38b264=_0x382570[0x0],_0x4ad231=_0x382570[0x2],{x:_0xa528b2,y:_0x40c840}=_0x38b264,{x:_0x4ac2b1,y:_0x171710}=_0x4ad231;return{'left':_0xa528b2,'top':_0x40c840,'width':_0x4ac2b1-_0xa528b2,'height':_0x171710-_0x40c840};}[_0x3e57a9(0x254)](){const _0x2a14f8=_0x3e57a9,{scaleX:_0x15055e,scaleY:_0x3eadb5}=this[_0x2a14f8(0x180)][_0x2a14f8(0x2fd)]();return Math['max'](_0x15055e,_0x3eadb5);}}var ft=Object[_0x3e57a9(0x2df)],It=(_0x31ed71,_0xf96eaf,_0xa702c4,_0x3b4f22)=>{for(var _0x4d8117=_0x3b4f22>0x1?void 0x0:_0x3b4f22?ft(_0xf96eaf,_0xa702c4):_0xf96eaf,_0x2523d3=_0x31ed71['length']-0x1,_0xf5c818;_0x2523d3>=0x0;_0x2523d3--)(_0xf5c818=_0x31ed71[_0x2523d3])&&(_0x4d8117=_0xf5c818(_0x4d8117)||_0x4d8117);return _0x4d8117;},V=(_0x55a51a,_0x34c6af)=>(_0x4eefa3,_0xaf2f71)=>_0x34c6af(_0x4eefa3,_0xaf2f71,_0x55a51a);let fe=class extends a[_0x3e57a9(0x28e)]{constructor(_0x17bb9d,_0x5a8c8b,_0x5a2ec5,_0x13bbb6,_0x1590e1){const _0x31982f=_0x3e57a9;super(),h(this,'_cursorShapes',[]),h(this,_0x31982f(0x1fa),[]),(this[_0x31982f(0x109)]=_0x17bb9d,this[_0x31982f(0x261)]=_0x5a8c8b,this[_0x31982f(0x272)]=_0x5a2ec5,this['_commandService']=_0x13bbb6,this[_0x31982f(0x106)]=_0x1590e1,this[_0x31982f(0x1b9)]());}[_0x3e57a9(0x1b9)](){const _0x242eca=_0x3e57a9,_0x765ef2=this['_context'][_0x242eca(0x1ea)],_0x128247=this['_docSkeletonManagerService'];this['disposeWithMe'](d[_0x242eca(0x174)]([this[_0x242eca(0x272)][_0x242eca(0x200)](_0x765ef2),this['_themeService']['currentTheme$']])[_0x242eca(0x351)]($[_0x242eca(0x11a)](([_0x24d6fb,_0x113c23])=>({'skeleton':_0x128247['getSkeleton'](),'cursors':[..._0x24d6fb[_0x242eca(0x1e7)]()][_0x242eca(0x2eb)](_0x3703d2=>({..._0x3703d2,'color':this['_themeService'][_0x242eca(0x203)](_0x3703d2['color'])}))})))[_0x242eca(0x16a)](_0x2231ab=>{const _0x439a97=_0x242eca;if(this[_0x439a97(0x1a8)](),_0x2231ab){const {skeleton:_0x19311c,cursors:_0x471f1c}=_0x2231ab;this[_0x439a97(0x117)](_0x19311c,_0x471f1c);}})),this[_0x242eca(0x2d4)](),this[_0x242eca(0xd3)]();}[_0x3e57a9(0x117)](_0xb6e553,_0x66f8d3){const _0x316729=_0x3e57a9,{scene:_0x3831cd,mainComponent:_0x1ddc18}=this['_context'],_0x134c6c=_0x66f8d3['map'](_0x228578=>new Re(_0x228578,_0x3831cd,_0xb6e553,_0x1ddc18));this[_0x316729(0x1b0)]=_0x134c6c,this['_cursors']=_0x66f8d3;}[_0x3e57a9(0x186)](){const _0x1b8d5e=_0x3e57a9;this['_removeCollabCursors']();const {scene:_0x12892c,mainComponent:_0x3e85c8}=this[_0x1b8d5e(0x109)],_0x8b1d0c=this['_docSkeletonManagerService'][_0x1b8d5e(0x1c8)](),_0x343227=this['_cursors'][_0x1b8d5e(0x11a)](_0x14053e=>new Re(_0x14053e,_0x12892c,_0x8b1d0c,_0x3e85c8));this[_0x1b8d5e(0x1b0)]=_0x343227;}[_0x3e57a9(0x1a8)](){const _0x98f44f=_0x3e57a9;this[_0x98f44f(0x1b0)][_0x98f44f(0x191)](_0x16dc67=>_0x16dc67['dispose']()),this[_0x98f44f(0x1b0)]=[];}[_0x3e57a9(0xd3)](){const _0x1ca524=_0x3e57a9,_0x1361ae=[E[_0x1ca524(0x1bf)]['id']];this[_0x1ca524(0x204)](this[_0x1ca524(0x1b3)][_0x1ca524(0x120)](_0x3412c1=>{const _0x18f610=_0x1ca524;_0x1361ae['includes'](_0x3412c1['id'])&&_0x3412c1[_0x18f610(0xd7)][_0x18f610(0x1ea)]===this[_0x18f610(0x109)][_0x18f610(0x1ea)]&&this['_refreshCollabCursors']();}));}[_0x3e57a9(0x2d4)](){const _0x270ef6=_0x3e57a9;this[_0x270ef6(0x204)](a[_0x270ef6(0x2b9)](this[_0x270ef6(0x109)]['engine']['onTransformChange$'])[_0x270ef6(0x351)]($[_0x270ef6(0x231)](_0x58c50a=>_0x58c50a['type']===p[_0x270ef6(0x277)]['resize']),$[_0x270ef6(0xd5)](0x10))[_0x270ef6(0x16a)](()=>{const _0x5681f1=_0x270ef6;this[_0x5681f1(0x186)]();}));}};fe=It([V(0x1,a['Inject'](Y[_0x3e57a9(0x33c)])),V(0x2,a[_0x3e57a9(0x181)](x)),V(0x3,a[_0x3e57a9(0x1c2)]),V(0x4,a['Inject'](a[_0x3e57a9(0x127)]))],fe);const vt=0x1,gt=1.5;class we extends p['Shape']{constructor(_0x23edc6,_0x115163){const _0x5f33cb=_0x3e57a9;super(_0x23edc6,_0x115163),h(this,_0x5f33cb(0x1c5)),h(this,_0x5f33cb(0x2f1),!0x1),h(this,'_range'),h(this,_0x5f33cb(0x25e),''),h(this,_0x5f33cb(0x259),_0x5f33cb(0x356)),h(this,_0x5f33cb(0x2c7)),(_0x115163&&this[_0x5f33cb(0x108)](_0x115163),this['onPointerEnter$'][_0x5f33cb(0x34e)](()=>this[_0x5f33cb(0x108)]({'hovered':!0x0})),this[_0x5f33cb(0x23a)][_0x5f33cb(0x34e)](()=>this[_0x5f33cb(0x108)]({'hovered':!0x1})));}[_0x3e57a9(0x108)](_0x29d271){const _0x2c8e2d=_0x3e57a9;var _0x59345a,_0x4c52de,_0x9d6abd,_0x4ac7b4,_0xae5b6,_0x42f4da;this['_color']=(_0x59345a=_0x29d271['color'])!=null?_0x59345a:this['_color'],this[_0x2c8e2d(0x2f1)]=(_0x4c52de=_0x29d271[_0x2c8e2d(0x187)])!=null?_0x4c52de:this[_0x2c8e2d(0x2f1)],this[_0x2c8e2d(0x2dc)]=(_0x9d6abd=_0x29d271[_0x2c8e2d(0x13b)])!=null?_0x9d6abd:this['_range'],this[_0x2c8e2d(0x25e)]=(_0x4ac7b4=_0x29d271['name'])!=null?_0x4ac7b4:this[_0x2c8e2d(0x25e)],this[_0x2c8e2d(0x259)]=(_0xae5b6=_0x29d271['labelPosition'])!=null?_0xae5b6:this[_0x2c8e2d(0x259)],this['_backgroundColor']=(_0x42f4da=_0x29d271[_0x2c8e2d(0x20e)])!=null?_0x42f4da:this[_0x2c8e2d(0x2c7)],this[_0x2c8e2d(0x20d)]({'width':_0x29d271['width'],'height':_0x29d271[_0x2c8e2d(0x263)]});}['onMouseMove'](_0x58d40e){const _0x3eb7c1=_0x3e57a9,{row:_0x249d40,column:_0x806ce0}=_0x58d40e;if(_0x249d40>=this['_range'][_0x3eb7c1(0x24f)]&&_0x249d40<=this['_range'][_0x3eb7c1(0x1ec)]&&_0x806ce0>=this[_0x3eb7c1(0x2dc)][_0x3eb7c1(0x30f)]&&_0x806ce0<=this['_range']['endColumn']){this[_0x3eb7c1(0x108)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3e57a9(0x24a)](_0x333515){return!0x1;}[_0x3e57a9(0x302)](_0xc4bcfe){const _0x26c547=_0x3e57a9;p[_0x26c547(0x15a)][_0x26c547(0x1c0)](_0xc4bcfe,{'width':this[_0x26c547(0x1e3)],'height':this['height'],'strokeWidth':gt,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x26c547(0x2f1)]&&(_0xc4bcfe[_0x26c547(0x196)](),_0xc4bcfe['transform'](0x1,0x0,0x0,0x1,this[_0x26c547(0x1e3)],this[_0x26c547(0x259)]===_0x26c547(0x1f2)?0x0:-W),ee[_0x26c547(0x1c0)](_0xc4bcfe,{'text':this[_0x26c547(0x25e)],'color':this['_color']}),_0xc4bcfe[_0x26c547(0x295)]());}}var mt=Object[_0x3e57a9(0x2df)],Ct=(_0x5349a5,_0xcd9d49,_0x25dc9d,_0x533fc5)=>{const _0x30eddd=_0x3e57a9;for(var _0x50d202=_0x533fc5>0x1?void 0x0:_0x533fc5?mt(_0xcd9d49,_0x25dc9d):_0xcd9d49,_0x457da8=_0x5349a5[_0x30eddd(0x29b)]-0x1,_0x3fdbda;_0x457da8>=0x0;_0x457da8--)(_0x3fdbda=_0x5349a5[_0x457da8])&&(_0x50d202=_0x3fdbda(_0x50d202)||_0x50d202);return _0x50d202;},ae=(_0x5303db,_0x5489a8)=>(_0x4757be,_0x4d1c1d)=>_0x5489a8(_0x4757be,_0x4d1c1d,_0x5303db);const pt=0x1389;let Ie=class extends a[_0x3e57a9(0x28e)]{constructor(_0x26c2b4,_0x2fc2d7,_0x24de6c,_0x24046e){const _0x396e8c=_0x3e57a9;super(),h(this,_0x396e8c(0x1fa),new Set()),h(this,_0x396e8c(0x2a4),null),(this['_context']=_0x26c2b4,this[_0x396e8c(0x2b2)]=_0x2fc2d7,this[_0x396e8c(0x272)]=_0x24de6c,this['_themeService']=_0x24046e,this[_0x396e8c(0x1b9)]());}[_0x3e57a9(0x1b9)](){const _0x432cd7=_0x3e57a9;this[_0x432cd7(0x2b2)][_0x432cd7(0x255)][_0x432cd7(0x351)]($[_0x432cd7(0x1e9)](this['dispose$']),$[_0x432cd7(0x10f)](_0x962158=>{const _0x427c8c=_0x432cd7;if(_0x962158){const _0x5d7e93=_0x962158[_0x427c8c(0x267)];return d['combineLatest'](this[_0x427c8c(0x272)]['getCollabCursors$'](this[_0x427c8c(0x109)][_0x427c8c(0x1ea)]),this[_0x427c8c(0x106)]['currentTheme$'])[_0x427c8c(0x351)]($[_0x427c8c(0x11a)](([_0x227071,_0x48a96a])=>{const _0x4592ef=_0x427c8c,_0x323052=new Map();return _0x227071[_0x4592ef(0x191)]((_0x205199,_0x3458f3)=>{const _0x1a57af=_0x4592ef;if(_0x205199[_0x1a57af(0x183)]===_0x5d7e93){const _0xf2c87c={..._0x205199};_0xf2c87c[_0x1a57af(0x1d1)]=this['_themeService'][_0x1a57af(0x203)](_0x205199[_0x1a57af(0x1d1)]),_0x323052['set'](_0x3458f3,_0xf2c87c);}}),{'skeleton':_0x962158,'cursors':_0x323052};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x432cd7(0x16a)](({skeleton:_0x4d248b,cursors:_0x36bb21})=>{const _0x411c00=_0x432cd7;this['_removeCollabCursors'](),_0x4d248b&&this[_0x411c00(0x117)](_0x4d248b,_0x36bb21);}),this['_sheetSkeletonManagerService'][_0x432cd7(0x255)][_0x432cd7(0x16a)](_0x254c6e=>{const _0x1362df=_0x432cd7;if(_0x254c6e==null)return;const {skeleton:_0x445947}=_0x254c6e,{scene:_0x2306c7}=this[_0x1362df(0x109)];_0x2306c7[_0x1362df(0x1ef)][_0x1362df(0x34e)](a[_0x1362df(0xf2)](_0x581841=>{const _0x566fdf=_0x1362df;var _0xccb59,_0x475334;const {offsetX:_0x4ce7b6,offsetY:_0x192f0e}=_0x581841,{x:_0x482f44,y:_0xe9e9dc}=_0x2306c7[_0x566fdf(0x119)](p['Vector2'][_0x566fdf(0x2e7)]([_0x4ce7b6,_0x192f0e])),{scaleX:_0xab5ce7,scaleY:_0x442749}=_0x2306c7[_0x566fdf(0x2fd)](),_0xc84d4f=_0x2306c7['getViewport'](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x54dace=_0x2306c7[_0x566fdf(0x2c8)](p[_0x566fdf(0x278)][_0x566fdf(0x2e7)]([_0x482f44,_0xe9e9dc]),_0xc84d4f),_0x1e7faf=_0x445947[_0x566fdf(0x172)](_0x4ce7b6,_0x192f0e,_0xab5ce7,_0x442749,_0x54dace);((_0xccb59=this[_0x566fdf(0x2a4)])==null?void 0x0:_0xccb59[_0x566fdf(0x1bb)])===_0x1e7faf['column']&&((_0x475334=this['_lastPointer'])==null?void 0x0:_0x475334[_0x566fdf(0x346)])===_0x1e7faf[_0x566fdf(0x346)]||this[_0x566fdf(0x1fa)]['forEach'](_0x147b7a=>{_0x147b7a['onMouseMove'](_0x1e7faf);});},0x64));});}[_0x3e57a9(0x117)](_0x7ba8a8,_0x1751bf){const _0x56dcda=_0x3e57a9;var _0x2018ea;const _0xe6bc0e=(_0x2018ea=this[_0x56dcda(0x2b2)]['getCurrent']())==null?void 0x0:_0x2018ea[_0x56dcda(0x13e)];if(!_0xe6bc0e)return;const _0x466a46=this[_0x56dcda(0x1ff)]();if(!_0x466a46)return;this[_0x56dcda(0x1fa)][_0x56dcda(0x191)](_0x59a5d8=>{const _0x4e5c60=_0x56dcda;_0x59a5d8[_0x4e5c60(0x2f7)]();});const {scene:_0x40a51f}=_0x466a46,_0x3a20fe=Et(Array[_0x56dcda(0x35a)](_0x1751bf[_0x56dcda(0x1e7)]()))[_0x56dcda(0x11a)](_0x393b8e=>{const _0x1b9c6c=_0x56dcda,{color:_0x38a34,range:_0x2f7881,name:_0x3a9775,selection:_0x223895,sheetID:_0x37b34a}=_0x393b8e,{startColumn:_0x5257ee,startRow:_0x4605f4,endColumn:_0x1aabb4,endRow:_0x11cddb}=_0x2f7881,_0x5b5a11=G[_0x1b9c6c(0x1b8)](_0x4605f4,_0x5257ee,_0x40a51f,_0xe6bc0e),_0x565c31=G[_0x1b9c6c(0x1b8)](_0x11cddb,_0x1aabb4,_0x40a51f,_0xe6bc0e),{columnHeaderHeightAndMarginTop:_0x49742b}=_0xe6bc0e,{startX:_0x4648b0,startY:_0x3bc03d}=_0x5b5a11,{endX:_0x40d91b,endY:_0x420e31}=_0x565c31,_0x50b3c9=_0x40d91b-_0x4648b0,_0xfb2841=_0x420e31-_0x3bc03d,_0x5be8be={'labelPosition':_0x3bc03d-_0x49742b>=W?_0x1b9c6c(0x356):'bottom','sheetID':_0x37b34a,'range':_0x2f7881,'color':_0x38a34,'name':_0x3a9775,'selection':_0x223895,'left':_0x4648b0,'top':_0x3bc03d,'width':_0x50b3c9,'height':_0xfb2841,'evented':!0x1,'zIndex':pt};return new we(_0x3a9775,_0x5be8be);});_0x40a51f[_0x56dcda(0x1f9)](_0x3a20fe,vt),this[_0x56dcda(0x1fa)]=new Set(_0x3a20fe);}['_removeCollabCursors'](){const _0x4e8c29=_0x3e57a9;var _0x469b01;(_0x469b01=this[_0x4e8c29(0x1fa)])==null||_0x469b01['forEach'](_0x515871=>_0x515871['dispose']());}['_getSheetObject'](){const _0x36a861=_0x3e57a9;return G[_0x36a861(0x209)](this['_context']['unit'],this[_0x36a861(0x109)]);}};Ie=Ct([ae(0x1,a[_0x3e57a9(0x181)](G[_0x3e57a9(0x158)])),ae(0x2,a[_0x3e57a9(0x181)](x)),ae(0x3,a[_0x3e57a9(0x181)](a['ThemeService']))],Ie);function Et(_0x280ccf){const _0x4ddad1=_0x3e57a9,_0x1e735b=new Map();return _0x280ccf[_0x4ddad1(0x191)](_0xe083b1=>{const _0xc22167=_0x4ddad1;if(_0x1e735b[_0xc22167(0x274)](_0xe083b1[_0xc22167(0x21a)])){const _0x5e60b0=_0x1e735b[_0xc22167(0x154)](_0xe083b1[_0xc22167(0x21a)]);_0x5e60b0['name']+=',\x20'+_0xe083b1[_0xc22167(0x1e8)];}else _0x1e735b[_0xc22167(0x1f3)](_0xe083b1[_0xc22167(0x21a)],_0xe083b1);}),Array[_0x4ddad1(0x35a)](_0x1e735b[_0x4ddad1(0x1e7)]());}var b=function(){const _0x287ac8=_0x3e57a9;return b=Object[_0x287ac8(0x11c)]||function(_0x2fc284){const _0x5ee624=_0x287ac8;for(var _0x4f736b,_0x30b04e=0x1,_0x4b8180=arguments[_0x5ee624(0x29b)];_0x30b04e<_0x4b8180;_0x30b04e++){_0x4f736b=arguments[_0x30b04e];for(var _0x40ba0d in _0x4f736b)Object[_0x5ee624(0x222)]['hasOwnProperty'][_0x5ee624(0x17b)](_0x4f736b,_0x40ba0d)&&(_0x2fc284[_0x40ba0d]=_0x4f736b[_0x40ba0d]);}return _0x2fc284;},b[_0x287ac8(0x1ce)](this,arguments);},bt=function(_0x3c2998,_0x5c78e6){const _0x3f1219=_0x3e57a9;var _0x1bc4d6={};for(var _0x674a24 in _0x3c2998)Object[_0x3f1219(0x222)]['hasOwnProperty']['call'](_0x3c2998,_0x674a24)&&_0x5c78e6[_0x3f1219(0x220)](_0x674a24)<0x0&&(_0x1bc4d6[_0x674a24]=_0x3c2998[_0x674a24]);if(_0x3c2998!=null&&typeof Object[_0x3f1219(0x178)]==_0x3f1219(0x345)){for(var _0xea4711=0x0,_0x674a24=Object[_0x3f1219(0x178)](_0x3c2998);_0xea4711<_0x674a24[_0x3f1219(0x29b)];_0xea4711++)_0x5c78e6[_0x3f1219(0x220)](_0x674a24[_0xea4711])<0x0&&Object[_0x3f1219(0x222)][_0x3f1219(0x17c)]['call'](_0x3c2998,_0x674a24[_0xea4711])&&(_0x1bc4d6[_0x674a24[_0xea4711]]=_0x3c2998[_0x674a24[_0xea4711]]);}return _0x1bc4d6;},Ce=M['forwardRef'](function(_0x367918,_0x4ef0b3){const _0x40b8ab=_0x3e57a9;var _0xef5970=_0x367918[_0x40b8ab(0x18a)],_0x46fd6f=_0x367918['id'],_0x249afc=_0x367918['className'],_0x1ba88f=_0x367918[_0x40b8ab(0xfc)],_0x7d0ccb=bt(_0x367918,[_0x40b8ab(0x18a),'id',_0x40b8ab(0x213),_0x40b8ab(0xfc)]),_0x4e10c1=_0x40b8ab(0x111)['concat'](_0x46fd6f,'\x20')[_0x40b8ab(0x34d)](_0x249afc||'')['trim'](),_0x13fbce=M[_0x40b8ab(0x126)]('_'[_0x40b8ab(0x34d)](Rt()));return Ae(_0xef5970,''[_0x40b8ab(0x34d)](_0x46fd6f),{'defIds':_0xef5970[_0x40b8ab(0x22d)],'idSuffix':_0x13fbce['current']},b({'ref':_0x4ef0b3,'className':_0x4e10c1},_0x7d0ccb),_0x1ba88f);});function Ae(_0x3f9ca6,_0x5080f2,_0x18e535,_0x5b18a5,_0x246eaf){const _0x3ee23b=_0x3e57a9;return M[_0x3ee23b(0xe1)](_0x3f9ca6['tag'],b(b({'key':_0x5080f2},Ot(_0x3f9ca6,_0x18e535,_0x246eaf)),_0x5b18a5),(Tt(_0x3f9ca6,_0x18e535)[_0x3ee23b(0x326)]||[])[_0x3ee23b(0x11a)](function(_0x534350,_0x15b85f){const _0x280498=_0x3ee23b;return Ae(_0x534350,''['concat'](_0x5080f2,'-')[_0x280498(0x34d)](_0x3f9ca6[_0x280498(0x2c1)],'-')[_0x280498(0x34d)](_0x15b85f),_0x18e535,void 0x0,_0x246eaf);}));}function Ot(_0x43c65d,_0x3b0f2b,_0xd4b83d){const _0x20d12c=_0x3e57a9;var _0x11ec31=b({},_0x43c65d['attrs']);_0xd4b83d!=null&&_0xd4b83d[_0x20d12c(0x133)]&&_0x11ec31['fill']===_0x20d12c(0x133)&&(_0x11ec31[_0x20d12c(0x16d)]=_0xd4b83d[_0x20d12c(0x133)]),_0x43c65d[_0x20d12c(0x2c1)]===_0x20d12c(0x2ed)&&_0x11ec31['id']&&(_0x11ec31['id']=_0x11ec31['id']+_0x3b0f2b['idSuffix']),Object['entries'](_0x11ec31)[_0x20d12c(0x191)](function(_0x323056){const _0xc3b5a9=_0x20d12c;var _0x4e0f62=_0x323056[0x0],_0x4aab26=_0x323056[0x1];_0x4e0f62===_0xc3b5a9(0x2ed)&&typeof _0x4aab26==_0xc3b5a9(0x26b)&&(_0x11ec31[_0x4e0f62]=_0x4aab26['replace'](/url\(#(.*)\)/,_0xc3b5a9(0x334)[_0xc3b5a9(0x34d)](_0x3b0f2b[_0xc3b5a9(0x17d)],')')));});var _0x4da9b2=_0x3b0f2b[_0x20d12c(0x22d)];return!_0x4da9b2||_0x4da9b2[_0x20d12c(0x29b)]===0x0||(_0x43c65d[_0x20d12c(0x2c1)]===_0x20d12c(0x176)&&_0x11ec31[_0x20d12c(0x24b)]&&(_0x11ec31['xlink:href']=_0x11ec31[_0x20d12c(0x24b)]+_0x3b0f2b[_0x20d12c(0x17d)]),Object[_0x20d12c(0x2c6)](_0x11ec31)[_0x20d12c(0x191)](function(_0x2eed97){const _0x1d369f=_0x20d12c;var _0x9503e3=_0x2eed97[0x0],_0x524c3a=_0x2eed97[0x1];typeof _0x524c3a==_0x1d369f(0x26b)&&(_0x11ec31[_0x9503e3]=_0x524c3a[_0x1d369f(0x1fe)](/url\(#(.*)\)/,_0x1d369f(0x334)['concat'](_0x3b0f2b[_0x1d369f(0x17d)],')')));})),_0x11ec31;}function _0x3a04(){const _0x4f5253=['APPLY_NON_SEQUENTIAL_REVISION','handleMoveRange','FETCH_MISS','width','min','BrowserCollaborationSocketService','UNIVER_DOC','values','name','takeUntil','unitId','_getAnchorBounding','endRow','1em','INVITE_CODE_ALREADY_BOUND','onPointerMove$','MessageType','add','bottom','set','LICENSE_EXPORT_SIZE_EXCEEDED','_initEntityListener','path','UPDATE_CURSOR','textRanges','addObjects','_cursors','YUUMI_AI_RUN_FAILED','UniverIcon','merge','replace','_getSheetObject','getCollabCursors$','_docTransformIMECacheService','43179wzgdNK','getColorFromTheme','disposeWithMe','_univerInstanceService','IImageIoService','InsertColCommandId','_dataLoaderService','getSheetObject','setActiveRange','UniverCollaborationClientPlugin','INotificationService','transformByState','backgroundColor','_cursor','purple.300','jsxs','RemoveRowCommandId','className','TEXT_RANGE_LAYER_INDEX','debounceTime','useCallback','_toggleOffline','0\x200\x2017\x2016','RefRangeService','selection','useObservable','collab-text-range-','_notificationService','setItem','setAlpha','indexOf','_registerRenderDependencies','prototype','getTypeOfUnitDisposed$','transformSelections','history','CollaborationUIEventService','_cursorInfo$','lineTo','PENDING','Error','_uiPartsService','saveOfflineData','defIds','_handleHeartbeatEvent','_entities','LOGIN_FAILED','filter','with','jsx','UNIVER_SHEET','getFocusedUnit','HEADER_MENU','symbol','permission.title','handleDeleteRangeMoveLeft','onPointerLeave$','_docTransformStateCacheService','COMPLETION_FINISHED','_memberService','_anchor','getUnhiddenWorksheets','CollaborationEvent','BehaviorSubject','_beforeCloseService','deepClone','svg','assignAColorForMemberID','ranges','handleInsertCol','_collaborationUIEventService','_localCacheService','triggerDblclick','xlink:href','override','YUUMI_URL_COL_OUT_OF_RANGE','Tools','startRow','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_handleJoinEvent','12110mgaehr','executionId','_getScale','currentSkeleton$','all','_refRangeService','INTERNAL_ERROR','_labelPosition','SessionStatus','asObservable','Shape','SUBMIT_CHANGESET_TIMEOUT','_name','memberID','defs','_docSkeletonManagerService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','height','unit','_registerDependencies','OffLineIcon','sheetId','WebBrowserSingleActiveUnitService','getRangePointData','_saveTaskMap','string','_removeClearOtherTimer','SetWorksheetActivateCommand','_updateURLWithCurrentState','searchParams','key','_getMergeRange','_collabCursorController','_transformService','has','_syncEditingCollabCursorService','getValue','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Vector2','34069Pxjggi','push','Optional','RemoveColCommandId','_configService','_logService','toString','search','...','SheetsSelectionsService','getTypeOfUnitAdded$','find','onStarting','_revisionService','CollaborationSocketService','_transformHistoryAndStateStack','disposeUnit','some','collabStatus.notCollab','session.collaboration-timeout','_updateSubUnitFromURLParams','RxDisposable','post','getActiveRange','_scheduleSaving','font','useDependency','dispose','restore','on-line-icon_clip0_910_349','_clearOtherTimers','CHANGESET_REVISION_CONFILICT','ACTIVE_UNIT_EVENT_CHANNEL','debug','length','YUUMI_SUBSCRIPTION_NOT_FOUND','_getSessionTicket','onRendered','getMergeData','pluginName','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setInterval','NOT_COLLAB','_lastPointer','_startSheetCollabCursor','NodePositionConvertToRectRange','Disposable','IRenderManagerService','onLocalMutation','getCurrentUnitForType','black','href','_disabled','SheetCollabCursorShape','text','IUIPartsService','Warning','_sheetSkeletonManagerService','isEditing','CollaborationController','InsertRangeMoveDownCommandId','moveTo','editingUnit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fromEventSubject','M0\x200H16V16H0z','_setupBeforeClosingHandler','generateRandomId','ILogService','red.300','setConfig','then','tag','_collaborationController','10WPVKHa','_imageIoService','YUUMI_UNABLE_LOAD_URL','entries','_backgroundColor','getVpScrollXYInfoByPosToVp','_onCursorDelete','YUUMI_ASYNCIO_CANCELLED','_roomMembers$','transformIMECache','YUUMI_RATE_OVER_LIMIT','handleInsertRow','undoState','addHandlerCallback','IBeforeCloseService','_transformUndoRedoStack','WebSocketService','_initResize','EMAIL_VERIFY_CODE_MISMATCH','SNAPSHOT_HAS_BEEN_REMOVED','INVALID_ARGUMENT','MUTATION','IMessageService','_messageService','measureText','_range','_textBubble','_renderManagerService','getOwnPropertyDescriptor','56OfUiIB','UNAUTHENTICATED','unload','_handleEvent','Unknown\x20user','_localeService','sessionTicket','FromArray','off-line-icon_clip0_910_343','RegularPolygon','getDocRanges','flatMap','code','mask','redoState','jiqing.500','/run/','_hovered','YUUMI_ALL_TABLES_IS_INVALID','_document','DocIMEInputManagerService','collabStatus.offline','off-line-icon','makeDirty','urlChange$','USERS_LEAVE','round','collab-client.tooltip.reconnect','runOnServer','getAncestorScale','UNDEFINED','registerRefRange','getRenderById','translate(.97)','_draw','saveImage','handleInsertRangeMoveDown','UniverCollaborationClientUIPlugin','_status$','49114PuJZna','forwardRef','APPLY_DUPLICATED','syncEditingCollabCursor','_send','displayName','collabStatus.conflict','Injector','startColumn','toStringTag','_drawRectRange','NO_OTHER_CLIENTS_EDITING','RemoteUniscriptService','getLocalCacheKey','getCurrentSelections','mapTo','connectInjector','OFFLINE','attrs','defineProperty','TEXT','_eventUnsubscribe','setUndoRedoMutationParamsCache','OTHER_CLIENT_EDITING','_config','ILocalCacheService','39854ocXpEe','type','collaboration-client.offline-data-not-saved','unitID','_collabSessionService','children','NOT_FOUND','996VqPuxv','_cachedData','1001euRVJd','getUnitStatus$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','whenReady','collabStatus.fetchMiss','pushState','blue.400','getUnitId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','mutations','url(#$1','RECT','registerRenderModule','toRgbString','SOCKET_FAILED','collaboration-client-ui.config','getSheetBySheetId','fillStyle','DocSkeletonManagerService','_scheduleClearOtherTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REVISION_CONFILICT','INVALID_INVITE_CODE','popstate','collaboration.closeRoom','_colorAssignService','clsx','function','row','size','OTHER_CLIENTS_EDITING','_createSocketURL','_session','_collabCursorState$','_heartbeatTimer','concat','subscribeEvent','SOCKET_FAILED_RETRY','Tooltip','pipe','m1Prime','cursorInfo','doc.mutation.rich-text-editing','isTransformMutationsWithChangesetSuccess','top','CONFLICT','includes','yellow.400','from','UnitStatus','_initCommandExecutedListener','IURLService','throttleTime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','params','stringify','fromEvent','complete','http://www.w3.org/2000/svg','LICENSE_MAX_UNITS_EXCEEDED','MOBILE_HAS_BEEN_BOUND','body','result','Failed','createElement','EMAIL_HAS_BEEN_BOUND','currentColor','LICENSE_DISTRO_REJECTED','CollaborationSessionService','WECHAT_HAS_BEEN_BOUND','getCollabEntity$','registerDependencies','NodePositionConvertToCursor','split','collab-text-anchor-','setParam','DesktopCollaborationStatusDisplayController','getMember','roomMembers','eventID','CollaborationUIEventId','debounce','subunit','IUniverInstanceService','INVITE_CODE_HAS_BEEN_UES','SYNCED','APPLY_REJECT','_httpService','init','addClipboardHook','DocStateChangeManagerService','extend','executeCommand','DOC_RANGE_TYPE','_transformPreviousActiveRange','onPointerEnter$','LICENSE_IMPORT_SIZE_EXCEEDED','collab-rect-range-','getOffsetConfig','_assignedColors','exhaustSavingTask','_themeService','_render','setShapeProps','_context','[CollaborationDataLoaderController]','addEventListener','on-line-icon','ENSURE_SNAPSHOT_EXECUTION','USER_NOT_INVITED_CODE','switchMap','toDisposable','univerjs-icon\x20univerjs-icon-','DEFAULT_WS_SESSION_TICKET_URL','RevisionService','getItem','getUndoRedoMutationParamsCache','loadOfflineData','_updateCollabCursors','CLOSE_ROOM','getRelativeToViewportCoord','map','_toggleOnline','assign','_shapes','clipPath','touchDependencies','onCommandExecuted','PY_RUNTIME_SCRIPT_ERROR','loadUnit','requireSession','isArray','getMemberID','useRef','ThemeService','_docStateChangeManagerService','random','_onCursorUpdate','unsubscribe','contains','ALREADY_EXISTS','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collabStatus.synced','EffectRefRangId','UNRECOGNIZED','CollaborationStatus','colorChannel1','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_updateLocalCursor','_onRefRangeChange','TOO_MANY_REQUESTS','ISocketService','_entityInit$','runId','range','getConfig','DataLoaderService','skeleton','wsSessionTicketUrl','ticket','_unitOnClients','8FPZbBL','isActive','arc','transformMutationsWithChangeset','_initDependencies','_selfUnitIDs','show','dispose$','CollaborationDataLoaderController','LOCAL_CACHE_INTERVAL_KEY','_unitStatus','_hideTimer','_online','enableLocalCache','_setupSubUnitSync','_handleHover','focused$','LocaleService','get','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','next','getColor','SheetSkeletonManagerService','_handleLeaveEvent','Rect','transformStateCache','activeSheet$','HTTPService','newValue','origin','data','ColorKit','_localStorageService','storage','clearInterval','248CivqjN','clearTimeout','docStateChange$','_saveCache','_initStatusComponent','subscribe','_initStatusListener','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','fill','evenodd','entityInit$','runRefRangeMutations','CommandType','getCellPositionByOffset','MemberService','combineLatest','transformMutation','use','unshift','getOwnPropertySymbols','_anchorDot','permission.content','call','propertyIsEnumerable','idSuffix','_ensureSubject','_hover','_scene','Inject','Rectangle','sheetID','DocSelectionManagerService','setTimeout','_refreshCollabCursors','hovered','event$','error','icon','send','COLORS','white','handleInsertRangeMoveRight','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','forEach','imageSourceType','UniverInstanceType','div','ISnapshotServerService','save','MOBILE_VERIFY_CODE_MISMATCH','ONLINE','_drawAnchor','getParam','fillText','_urlService','beginPath','AWAITING','INVITE_CODE_REQUIRED','handleIRemoveRow','449532IwvsTs','univer-flex\x20univer-items-center','ITransformService','sessionStatus$','_id','roomMembers$','cursorInfo$','_removeCollabCursors','_docSkeleton','getSheetId','_instanceService','SNAPSHOT_INVALID_SNAPSHOT','delete','transformRemoteChangeset','CONNECTOR_DATA_TOO_LARGE','_cursorShapes','location','178047ciSkPy','_commandService','none','hide','_scheduleHeartbeat','_colorIndex','getCoordByCell','_init','_docSyncEditingCollabCursorService','column','YUUMI_CONNECTOR_URL_NOT_FOUND','createIdentifier','isTransformMutationFailure','SetDocZoomRatioOperation','drawWith','IConfigService','ICommandService','updateOfflineData','collabCursorState$','_color','PERMISSION_DENIED','Module','getSkeleton','saveTaskMap','_docClipboardService','session.connection-failed','url(#on-line-icon_clip0_910_349)','addObject','apply','substring','univer-mr-2\x20univer-flex\x20univer-text-xl','color','_injector','getActiveSheet','reconnect','0\x200\x2016\x2016','m2Prime','getStateCache','YUUMI_NO_CUBOID_FOR_QUESTION','disableLocalCache','InsertRowCommandId','_initEvent','replaceDocRanges','handleDeleteRangeMoveUp','SetSelectionsOperation','_docTransformSelectionsService'];_0x3a04=function(){return _0x4f5253;};return _0x3a04();}function Tt(_0x30a99e,_0x19b555){const _0x4576db=_0x3e57a9;var _0x24b81f,_0x17c056=_0x19b555[_0x4576db(0x22d)];return!_0x17c056||_0x17c056['length']===0x0?_0x30a99e:_0x30a99e[_0x4576db(0x2c1)]==='defs'&&(!((_0x24b81f=_0x30a99e['children'])===null||_0x24b81f===void 0x0)&&_0x24b81f[_0x4576db(0x29b)])?b(b({},_0x30a99e),{'children':_0x30a99e[_0x4576db(0x326)][_0x4576db(0x11a)](function(_0x280136){const _0x2ed68d=_0x4576db;return typeof _0x280136[_0x2ed68d(0x319)]['id']==_0x2ed68d(0x26b)&&_0x17c056&&_0x17c056[_0x2ed68d(0x358)](_0x280136[_0x2ed68d(0x319)]['id'])?b(b({},_0x280136),{'attrs':b(b({},_0x280136[_0x2ed68d(0x319)]),{'id':_0x280136['attrs']['id']+_0x19b555[_0x2ed68d(0x17d)]})}):_0x280136;})}):_0x30a99e;}function Rt(){const _0x4db060=_0x3e57a9;return Math[_0x4db060(0x129)]()['toString'](0x24)[_0x4db060(0x1cf)](0x2,0x8);}Ce[_0x3e57a9(0x30c)]=_0x3e57a9(0x1fc);var Dt={'tag':_0x3e57a9(0x244),'attrs':{'xmlns':_0x3e57a9(0xdb),'fill':_0x3e57a9(0x1b4),'viewBox':_0x3e57a9(0x1d5),'width':_0x3e57a9(0x1ed),'height':_0x3e57a9(0x1ed)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3e57a9(0x1f6),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3e57a9(0x2fa),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3e57a9(0x260),'attrs':{},'children':[{'tag':_0x3e57a9(0x11e),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3e57a9(0x1f6),'attrs':{'fill':_0x3e57a9(0x18d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3e57a9(0x2e8)]},ye=M[_0x3e57a9(0x308)](function(_0x490302,_0x3d1ba2){const _0x1fa581=_0x3e57a9;return M['createElement'](Ce,Object['assign']({},_0x490302,{'id':_0x1fa581(0x2f6),'ref':_0x3d1ba2,'icon':Dt}));});ye['displayName']=_0x3e57a9(0x266);var Ut={'tag':_0x3e57a9(0x244),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e57a9(0x1b4),'viewBox':_0x3e57a9(0x218),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3e57a9(0x1cc)},'children':[{'tag':'path','attrs':{'stroke':_0x3e57a9(0xe3),'d':_0x3e57a9(0x155),'strokeLinecap':_0x3e57a9(0x2fa),'strokeLinejoin':_0x3e57a9(0x2fa),'strokeWidth':1.2}}]},{'tag':_0x3e57a9(0x260),'attrs':{},'children':[{'tag':_0x3e57a9(0x11e),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x3e57a9(0x18d),'d':_0x3e57a9(0x2ba),'transform':_0x3e57a9(0x301)}}]}]}],'defIds':[_0x3e57a9(0x296)]},$e=M[_0x3e57a9(0x308)](function(_0xe3860,_0x46d285){const _0x2789e2=_0x3e57a9;return M[_0x2789e2(0xe1)](Ce,Object[_0x2789e2(0x11c)]({},_0xe3860,{'id':_0x2789e2(0x10c),'ref':_0x46d285,'icon':Ut}));});$e[_0x3e57a9(0x30c)]='OnLineIcon';function Nt(_0x1f1542){const _0x455ce3=_0x3e57a9;switch(_0x1f1542){case u[_0x455ce3(0x132)][_0x455ce3(0x318)]:return _0x455ce3(0x2f5);case u['CollaborationStatus'][_0x455ce3(0x357)]:return _0x455ce3(0x30d);case u[_0x455ce3(0x132)][_0x455ce3(0x1e2)]:return _0x455ce3(0x32e);case u[_0x455ce3(0x132)][_0x455ce3(0x2a3)]:return _0x455ce3(0x28b);case u[_0x455ce3(0x132)][_0x455ce3(0x19e)]:case u['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case u['CollaborationStatus'][_0x455ce3(0xf6)]:case u[_0x455ce3(0x132)][_0x455ce3(0x229)]:return _0x455ce3(0x12f);}}function Mt(_0x1e67b1){const _0x12ae82=_0x3e57a9,{status$:_0x4c0603}=_0x1e67b1,_0x2254ae=O[_0x12ae82(0x21b)](_0x4c0603,u[_0x12ae82(0x132)][_0x12ae82(0x2a3)]),_0x15ca3c=O['useDependency'](a[_0x12ae82(0x153)]),_0x59d003=O[_0x12ae82(0x293)](u[_0x12ae82(0xe5)]),_0x3dd138=_0x2254ae!==u[_0x12ae82(0x132)][_0x12ae82(0x318)],_0x42c2a0=_0x15ca3c['t'](Nt(_0x2254ae)),_0x3d5db0=_0x3dd138?P[_0x12ae82(0x233)]($e,{}):P[_0x12ae82(0x233)](ye,{}),_0x5d3f51=M[_0x12ae82(0x216)](()=>{const _0x259cae=_0x12ae82;_0x3dd138||_0x59d003[_0x259cae(0x1d4)]();},[_0x3dd138,_0x59d003]);function _0x2f9f21(){const _0x4c3fe2=_0x12ae82;return P[_0x4c3fe2(0x211)](_0x4c3fe2(0x194),{'className':_0x4c3fe2(0x1a2),'onClick':_0x5d3f51,'children':[P[_0x4c3fe2(0x233)](_0x4c3fe2(0x194),{'className':D[_0x4c3fe2(0x344)](_0x4c3fe2(0x1d0),{'univer-text-green-500':_0x3dd138,'univer-text-red-500':!_0x3dd138}),'children':_0x3d5db0}),P[_0x4c3fe2(0x233)]('div',{'className':_0x4c3fe2(0x16c),'children':_0x42c2a0})]});}return _0x3dd138?_0x2f9f21():P[_0x12ae82(0x233)](D[_0x12ae82(0x350)],{'title':_0x15ca3c['t'](_0x12ae82(0x2fb)),'children':_0x2f9f21()});}var Lt=Object[_0x3e57a9(0x2df)],Pt=(_0x3a1016,_0x1a06ef,_0x549e86,_0x2fb80f)=>{const _0x3733b1=_0x3e57a9;for(var _0xb8f6b2=_0x2fb80f>0x1?void 0x0:_0x2fb80f?Lt(_0x1a06ef,_0x549e86):_0x1a06ef,_0x4da414=_0x3a1016[_0x3733b1(0x29b)]-0x1,_0x124c8f;_0x4da414>=0x0;_0x4da414--)(_0x124c8f=_0x3a1016[_0x4da414])&&(_0xb8f6b2=_0x124c8f(_0xb8f6b2)||_0xb8f6b2);return _0xb8f6b2;},X=(_0x19f28b,_0x162582)=>(_0xdaaa27,_0x4ae123)=>_0x162582(_0xdaaa27,_0x4ae123,_0x19f28b);exports[_0x3e57a9(0xed)]=class extends a[_0x3e57a9(0x2a7)]{constructor(_0x4f2db2,_0x5d8951,_0x48475d,_0x1b39d2){const _0x6c43f3=_0x3e57a9;super(),h(this,_0x6c43f3(0x306),new d[(_0x6c43f3(0x241))](u[_0x6c43f3(0x132)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x4f2db2,this[_0x6c43f3(0x1d2)]=_0x5d8951,this[_0x6c43f3(0x2c2)]=_0x48475d,this['_uiPartsService']=_0x1b39d2,this[_0x6c43f3(0x169)](),this['_initStatusListener']());}[_0x3e57a9(0x16b)](){const _0x25ae0f=_0x3e57a9;this[_0x25ae0f(0x204)](this[_0x25ae0f(0x205)][_0x25ae0f(0x152)][_0x25ae0f(0x351)](d[_0x25ae0f(0x10f)](()=>{const _0x3ab10d=_0x25ae0f,_0x2f8c47=this['_univerInstanceService'][_0x3ab10d(0x235)]();return _0x2f8c47?this['_collaborationController'][_0x3ab10d(0xe7)](_0x2f8c47['getUnitId']()):d['of'](null);}),d[_0x25ae0f(0x10f)](_0x44d463=>_0x44d463?_0x44d463['status$']:d['of'](u[_0x25ae0f(0x132)][_0x25ae0f(0x2a3)])))[_0x25ae0f(0x16a)](_0x2e5cf1=>{const _0x5b19e9=_0x25ae0f;this[_0x5b19e9(0x306)][_0x5b19e9(0x156)](_0x2e5cf1);}));}['_initStatusComponent'](){const _0x1b3c89=_0x3e57a9;this[_0x1b3c89(0x204)](this[_0x1b3c89(0x22b)]['registerComponent'](O['BuiltInUIPart'][_0x1b3c89(0x236)],()=>O[_0x1b3c89(0x317)](wt({'status$':this[_0x1b3c89(0x306)]['asObservable']()}),this[_0x1b3c89(0x1d2)])));}},exports[_0x3e57a9(0xed)]=Pt([X(0x0,a[_0x3e57a9(0xf4)]),X(0x1,a[_0x3e57a9(0x181)](a['Injector'])),X(0x2,a[_0x3e57a9(0x181)](u[_0x3e57a9(0x2b4)])),X(0x3,O[_0x3e57a9(0x2b0)])],exports['DesktopCollaborationStatusDisplayController']);function wt(_0x433452){const {status$:_0x14096f}=_0x433452;return function(){const _0x58addd=_0x52db;return P[_0x58addd(0x233)](Mt,{'status$':_0x14096f});};}var At=Object[_0x3e57a9(0x2df)],yt=(_0x27fc64,_0x1bdb07,_0x3f0c76,_0x5047f7)=>{const _0x1cbb02=_0x3e57a9;for(var _0x34b355=_0x5047f7>0x1?void 0x0:_0x5047f7?At(_0x1bdb07,_0x3f0c76):_0x1bdb07,_0x5ee61a=_0x27fc64[_0x1cbb02(0x29b)]-0x1,_0x4c705a;_0x5ee61a>=0x0;_0x5ee61a--)(_0x4c705a=_0x27fc64[_0x5ee61a])&&(_0x34b355=_0x4c705a(_0x34b355)||_0x34b355);return _0x34b355;},y=(_0x4d23df,_0x296738)=>(_0x3664f0,_0x973923)=>_0x296738(_0x3664f0,_0x973923,_0x4d23df);let q=class extends a[_0x3e57a9(0x2a7)]{constructor(_0x57c945,_0x336ea1,_0x14cc52,_0x19280c,_0x5549c5,_0x4e6660){const _0x134267=_0x3e57a9;super(),this[_0x134267(0x242)]=_0x57c945,this['_localCacheService']=_0x336ea1,this['_collaborationUIEventService']=_0x14cc52,this[_0x134267(0x2da)]=_0x19280c,this[_0x134267(0x21d)]=_0x5549c5,this['_localeService']=_0x4e6660,this['_setupBeforeClosingHandler'](),this[_0x134267(0x1db)]();}[_0x3e57a9(0x2bb)](){const _0x5cacd5=_0x3e57a9;this[_0x5cacd5(0x204)](this[_0x5cacd5(0x242)]['registerBeforeClose'](()=>{const _0x10f36a=_0x5cacd5;if(this[_0x10f36a(0x249)][_0x10f36a(0x1c9)][_0x10f36a(0x347)])return this[_0x10f36a(0x2e5)]['t'](_0x10f36a(0x323));}));}[_0x3e57a9(0x1db)](){const _0x3cb20b=_0x3e57a9;this[_0x3cb20b(0x204)](this[_0x3cb20b(0x248)][_0x3cb20b(0x188)][_0x3cb20b(0x16a)](_0x45733e=>{const _0x54a630=_0x3cb20b;_0x45733e['id']===u['CollaborationUIEventId'][_0x54a630(0x31e)]&&this[_0x54a630(0x2da)]['show']({'type':D[_0x54a630(0x1f0)]['Warning'],'content':this[_0x54a630(0x2e5)]['t']('collaboration.single-unit.warning')}),_0x45733e['id']===u[_0x54a630(0xf1)][_0x54a630(0x118)]&&this[_0x54a630(0x2da)][_0x54a630(0x148)]({'type':D[_0x54a630(0x1f0)][_0x54a630(0x2b1)],'content':this['_localeService']['t'](_0x54a630(0x342))}),_0x45733e['id']===u['CollaborationUIEventId'][_0x54a630(0x1c6)]&&this['_notificationService'][_0x54a630(0x148)]({'title':this['_localeService']['t'](_0x54a630(0x238)),'content':this[_0x54a630(0x2e5)]['t'](_0x54a630(0x17a)),'type':_0x54a630(0x189),'duration':0x0}),_0x45733e['id']===u[_0x54a630(0xf1)][_0x54a630(0x357)]&&this[_0x54a630(0x2da)]['show']({'type':D[_0x54a630(0x1f0)]['Error'],'content':this[_0x54a630(0x2e5)]['t'](_0x54a630(0x342))+'('+_0x45733e[_0x54a630(0x160)]+')'}),_0x45733e['id']===u[_0x54a630(0xf1)]['JOIN_ROOM_FAILED']&&this[_0x54a630(0x2da)][_0x54a630(0x148)]({'type':D[_0x54a630(0x1f0)]['Warning'],'content':this[_0x54a630(0x2e5)]['t'](_0x45733e[_0x54a630(0x160)]||'')}),_0x45733e['id']===u[_0x54a630(0xf1)][_0x54a630(0x34f)]&&this[_0x54a630(0x2da)][_0x54a630(0x148)]({'type':D['MessageType'][_0x54a630(0x2b1)],'content':this[_0x54a630(0x2e5)]['t']('session.will-retry')}),_0x45733e['id']===u['CollaborationUIEventId'][_0x54a630(0x338)]&&this[_0x54a630(0x2da)][_0x54a630(0x148)]({'type':D[_0x54a630(0x1f0)][_0x54a630(0x22a)],'content':this[_0x54a630(0x2e5)]['t'](_0x54a630(0x1cb))}),_0x45733e['id']===u[_0x54a630(0xf1)][_0x54a630(0x25d)]&&this['_messageService']['show']({'type':D[_0x54a630(0x1f0)][_0x54a630(0x22a)],'content':this[_0x54a630(0x2e5)]['t'](_0x54a630(0x28c))});}));}};q=yt([y(0x0,O[_0x3e57a9(0x2d1)]),y(0x1,u[_0x3e57a9(0x320)]),y(0x2,a[_0x3e57a9(0x181)](u[_0x3e57a9(0x226)])),y(0x3,O[_0x3e57a9(0x2d9)]),y(0x4,O[_0x3e57a9(0x20c)]),y(0x5,a[_0x3e57a9(0x181)](a['LocaleService']))],q);const $t=_0x3e57a9(0x339),De={},pe=a[_0x3e57a9(0x1bd)]('uni.network.url-service');var xt=Object['getOwnPropertyDescriptor'],Bt=(_0x17c075,_0x123da1,_0x29c77a,_0x2e4c93)=>{const _0x2326fa=_0x3e57a9;for(var _0x606f48=_0x2e4c93>0x1?void 0x0:_0x2e4c93?xt(_0x123da1,_0x29c77a):_0x123da1,_0x11461b=_0x17c075[_0x2326fa(0x29b)]-0x1,_0x1aa1c0;_0x11461b>=0x0;_0x11461b--)(_0x1aa1c0=_0x17c075[_0x11461b])&&(_0x606f48=_0x1aa1c0(_0x606f48)||_0x606f48);return _0x606f48;},F=(_0x5e4d46,_0x47cb35)=>(_0x576ba8,_0x444a95)=>_0x47cb35(_0x576ba8,_0x444a95,_0x5e4d46);exports[_0x3e57a9(0x14a)]=class extends a[_0x3e57a9(0x28e)]{constructor(_0x46e158,_0x26ba06,_0xa57b96,_0x289b62,_0x2e1d49){const _0xe0b586=_0x3e57a9;super(),this[_0xe0b586(0x19c)]=_0x46e158,this['_logService']=_0x26ba06,this[_0xe0b586(0x1b3)]=_0xa57b96,this[_0xe0b586(0x208)]=_0x289b62,_0x2e1d49?_0x2e1d49==null||_0x2e1d49[_0xe0b586(0x32d)]()[_0xe0b586(0x2c0)](()=>this[_0xe0b586(0x1b9)]()):(this[_0xe0b586(0x27e)][_0xe0b586(0x29a)](_0xe0b586(0x10a),_0xe0b586(0x134)),this['_init']());}async[_0x3e57a9(0x1b9)](){const _0x226dac=_0x3e57a9,_0x170f84=this[_0x226dac(0x19c)][_0x226dac(0x19a)](_0x226dac(0x264)),_0x3cc77d=this[_0x226dac(0x19c)][_0x226dac(0x19a)]('type'),_0x47dc4e=this['_urlService'][_0x226dac(0x19a)](_0x226dac(0xf3));if(!_0x170f84||!_0x3cc77d){this[_0x226dac(0x27e)][_0x226dac(0x29a)](_0x226dac(0x10a),_0x226dac(0x2b8));return;}const _0x5e9ac5=await this[_0x226dac(0x208)][_0x226dac(0x122)](_0x170f84,Number(_0x3cc77d),_0x47dc4e);_0x5e9ac5&&_0x5e9ac5 instanceof a['Workbook']&&this[_0x226dac(0x150)](_0x5e9ac5);}async[_0x3e57a9(0x150)](_0x2dcbd6){const _0x57eac6=_0x3e57a9;await this[_0x57eac6(0x28d)](_0x2dcbd6),_0x2dcbd6[_0x57eac6(0x15c)][_0x57eac6(0x351)](d[_0x57eac6(0x1e9)](this[_0x57eac6(0x149)]))[_0x57eac6(0x16a)](_0x305e2e=>{const _0x5cc7de=_0x57eac6;_0x305e2e&&this[_0x5cc7de(0x26e)](_0x305e2e);}),this[_0x57eac6(0x19c)][_0x57eac6(0x2f8)][_0x57eac6(0x351)](d[_0x57eac6(0x1e9)](this[_0x57eac6(0x149)]))[_0x57eac6(0x16a)](()=>this[_0x57eac6(0x28d)](_0x2dcbd6));}[_0x3e57a9(0x26e)](_0x1775c8,_0xed3ddc=!0x1){const _0x34f089=_0x3e57a9,_0x18f6b5=this['_urlService'][_0x34f089(0x19a)](_0x34f089(0xf3));_0x1775c8[_0x34f089(0x1aa)]()!==_0x18f6b5&&this['_urlService'][_0x34f089(0xec)](_0x34f089(0xf3),_0x1775c8[_0x34f089(0x1aa)](),_0xed3ddc);}async[_0x3e57a9(0x28d)](_0x4dba96){const _0xbe4034=_0x3e57a9;var _0x3ce3be;const _0x5e4841=this[_0xbe4034(0x19c)][_0xbe4034(0x19a)](_0xbe4034(0xf3));if(!_0x5e4841||!_0x4dba96[_0xbe4034(0x33a)](_0x5e4841)){const _0x15677f=_0x4dba96[_0xbe4034(0x23f)]()[0x0],_0xaeadcc=_0x4dba96[_0xbe4034(0x33a)](_0x15677f);if(!_0xaeadcc)return;this['_updateURLWithCurrentState'](_0xaeadcc,!0x0),await this['_commandService'][_0xbe4034(0xfd)](g[_0xbe4034(0x26d)]['id'],{'unitId':_0x4dba96[_0xbe4034(0x331)](),'subUnitId':_0x15677f});return;}((_0x3ce3be=_0x4dba96[_0xbe4034(0x1d3)]())==null?void 0x0:_0x3ce3be[_0xbe4034(0x1aa)]())!==_0x5e4841&&await this['_commandService'][_0xbe4034(0xfd)](g[_0xbe4034(0x26d)]['id'],{'unitId':_0x4dba96[_0xbe4034(0x331)](),'subUnitId':_0x5e4841});}},exports[_0x3e57a9(0x14a)]=Bt([F(0x0,pe),F(0x1,a['ILogService']),F(0x2,a[_0x3e57a9(0x1c2)]),F(0x3,a[_0x3e57a9(0x181)](u[_0x3e57a9(0x13d)])),F(0x4,a[_0x3e57a9(0x27b)](Ge['IRemoteInstanceService']))],exports['CollaborationDataLoaderController']);var jt=Object[_0x3e57a9(0x2df)],kt=(_0x15c619,_0xf97295,_0x500a3c,_0x28d549)=>{const _0x281072=_0x3e57a9;for(var _0x4b95b6=_0x28d549>0x1?void 0x0:_0x28d549?jt(_0xf97295,_0x500a3c):_0xf97295,_0x23e38a=_0x15c619[_0x281072(0x29b)]-0x1,_0x2251fb;_0x23e38a>=0x0;_0x23e38a--)(_0x2251fb=_0x15c619[_0x23e38a])&&(_0x4b95b6=_0x2251fb(_0x4b95b6)||_0x4b95b6);return _0x4b95b6;},Ue=(_0x5e81ff,_0x1d1703)=>(_0x316d93,_0x5f3918)=>_0x1d1703(_0x316d93,_0x5f3918,_0x5e81ff);let z=class{constructor(_0x4e423a,_0x189126){const _0x508190=_0x3e57a9;this['_transformService']=_0x4e423a,this[_0x508190(0x2de)]=_0x189126;}[_0x3e57a9(0x2cc)](_0x5e9c16){const _0x20ef51=_0x3e57a9;this[_0x20ef51(0x2d2)](_0x5e9c16),this['_transformPreviousActiveRange'](_0x5e9c16);}[_0x3e57a9(0x1ae)](_0x19f494){const _0x226af3=_0x3e57a9,{unitID:_0x3fdd69}=_0x19f494,_0x16871a=this[_0x226af3(0x2de)][_0x226af3(0x300)](_0x3fdd69)[_0x226af3(0x232)](E[_0x226af3(0x2f4)]),{redoCache:_0x3398f1}=_0x16871a[_0x226af3(0x115)]();if(_0x3398f1[_0x226af3(0x29b)]===0x0)return _0x19f494;let _0x41c015=a[_0x226af3(0x24e)]['deepClone'](_0x19f494[_0x226af3(0x333)][0x0]);for(let _0x377732=0x0;_0x377732<_0x3398f1[_0x226af3(0x29b)];_0x377732++){const _0x3358a3={'id':_0x226af3(0x354),'params':{..._0x3398f1[_0x377732]}},_0x2ecc0b=this['_transformService'][_0x226af3(0x175)](_0x41c015,_0x3358a3,!0x1);if(m['isTransformMutationFailure'](_0x2ecc0b))throw _0x2ecc0b[_0x226af3(0x189)];_0x41c015=_0x2ecc0b[_0x226af3(0x352)];}return{...a[_0x226af3(0x24e)]['deepClone'](_0x19f494),'mutations':[_0x41c015]};}['_transformUndoRedoStack'](_0x4d1454){const _0x560fff=_0x3e57a9,{unitID:_0x1321eb}=_0x4d1454,_0x3a9a64=this[_0x560fff(0x2de)][_0x560fff(0x300)](_0x1321eb)[_0x560fff(0x232)](E[_0x560fff(0x2f4)]),{undoCache:_0xaf6338,redoCache:_0x15ce1d}=_0x3a9a64[_0x560fff(0x115)]();if(_0xaf6338['length']===0x0||_0x15ce1d[_0x560fff(0x29b)]===0x0)return;const _0x954cf0=[],_0x12e35e=[];let _0x410284=a[_0x560fff(0x24e)][_0x560fff(0x243)](_0x4d1454['mutations'][0x0]),_0x38e7da=a[_0x560fff(0x24e)][_0x560fff(0x243)](_0x4d1454[_0x560fff(0x333)][0x0]);for(let _0x4fe2ce=_0xaf6338['length']-0x1;_0x4fe2ce>=0x0;_0x4fe2ce--){const _0xcbc943={'id':'doc.mutation.rich-text-editing','params':{..._0xaf6338[_0x4fe2ce]}},_0x10a3ab={'id':_0x560fff(0x354),'params':{..._0x15ce1d[_0x4fe2ce]}},_0x539051=this[_0x560fff(0x273)][_0x560fff(0x175)](_0x410284,_0xcbc943,!0x1),_0x466345=this[_0x560fff(0x273)][_0x560fff(0x175)](_0x38e7da,_0x10a3ab,!0x1);if(m[_0x560fff(0x1be)](_0x539051))throw _0x539051[_0x560fff(0x189)];if(m['isTransformMutationFailure'](_0x466345))throw _0x466345[_0x560fff(0x189)];_0x954cf0[_0x560fff(0x177)](_0x539051['m2Prime']['params']),_0x12e35e[_0x560fff(0x177)](_0x466345[_0x560fff(0x1d6)][_0x560fff(0xd7)]),_0x410284=_0x539051[_0x560fff(0x352)],_0x38e7da=_0x466345[_0x560fff(0x352)];}_0x3a9a64[_0x560fff(0x31d)]({'undoCache':_0x954cf0,'redoCache':_0x12e35e});}[_0x3e57a9(0xff)](_0x243b1f){const _0x102d18=_0x3e57a9,{unitID:_0x52494f}=_0x243b1f,_0x1b4359=this[_0x102d18(0x2de)][_0x102d18(0x300)](_0x52494f)[_0x102d18(0x232)](E['DocIMEInputManagerService']),_0x33e9fc=_0x1b4359[_0x102d18(0x290)]();if(_0x33e9fc==null)return;const _0x2eeefb=[{'id':_0x102d18(0x354),'params':{'unitId':_0x243b1f[_0x102d18(0x324)],'actions':null,'textRanges':[_0x33e9fc]}}],_0x49258e=this['_transformService']['transformMutationsWithChangeset'](_0x243b1f,_0x2eeefb);if(!m['isTransformMutationsWithChangesetSuccess'](_0x49258e))throw _0x49258e[_0x102d18(0x189)];const _0x30fd17=_0x49258e['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0x30fd17)&&_0x30fd17[_0x102d18(0x29b)]&&_0x1b4359[_0x102d18(0x20a)](_0x30fd17[0x0]);}};z=kt([Ue(0x0,m[_0x3e57a9(0x1a3)]),Ue(0x1,p[_0x3e57a9(0x2a8)])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x4866c9,_0x5374e8,_0x47e725,_0x38800c)=>{const _0x4943bf=_0x3e57a9;for(var _0x1ed96f=_0x38800c>0x1?void 0x0:_0x38800c?Ft(_0x5374e8,_0x47e725):_0x5374e8,_0x5ed735=_0x4866c9[_0x4943bf(0x29b)]-0x1,_0x510688;_0x5ed735>=0x0;_0x5ed735--)(_0x510688=_0x4866c9[_0x5ed735])&&(_0x1ed96f=_0x510688(_0x1ed96f)||_0x1ed96f);return _0x1ed96f;},ce=(_0x27395e,_0x25f6a4)=>(_0x19a053,_0x57b5c9)=>_0x25f6a4(_0x19a053,_0x57b5c9,_0x27395e);let J=class{constructor(_0x3d465b,_0x39a165,_0x59c1c3){const _0x2ad244=_0x3e57a9;this[_0x2ad244(0x1d2)]=_0x3d465b,this[_0x2ad244(0x273)]=_0x39a165,this[_0x2ad244(0x128)]=_0x59c1c3;}[_0x3e57a9(0x15b)](_0x2bf9b3){this['_transformHistoryAndStateStack'](_0x2bf9b3);}[_0x3e57a9(0x1ae)](_0x624421){const _0x1bc85d=_0x3e57a9,{unitID:_0x1e7a2d}=_0x624421,{collaboration:_0x585e80}=this[_0x1bc85d(0x128)][_0x1bc85d(0x1d7)](_0x1e7a2d);if(_0x585e80[_0x1bc85d(0x29b)]===0x0)return _0x624421;let _0x5041ac=a['Tools']['deepClone'](_0x624421['mutations'][0x0]);for(let _0x25f087=0x0;_0x25f087<_0x585e80['length'];_0x25f087++){const _0x5cb5fc={'id':_0x1bc85d(0x354),'params':{'unitId':_0x585e80[_0x25f087]['unitId'],..._0x585e80[_0x25f087][_0x1bc85d(0x2ee)]}},_0x57fa9b=this['_transformService']['transformMutation'](_0x5041ac,_0x5cb5fc,!0x1);if(m[_0x1bc85d(0x1be)](_0x57fa9b))throw _0x57fa9b[_0x1bc85d(0x189)];_0x5041ac=_0x57fa9b['m1Prime'];}return{...a[_0x1bc85d(0x24e)][_0x1bc85d(0x243)](_0x624421),'mutations':[_0x5041ac]};}[_0x3e57a9(0x288)](_0x365262){const _0x26a3e1=_0x3e57a9,{unitID:_0x1e91b5}=_0x365262,{history:_0xe2b97a,collaboration:_0x3fd319}=this[_0x26a3e1(0x128)]['getStateCache'](_0x1e91b5);if(_0xe2b97a['length']===0x0&&_0x3fd319['length']===0x0)return;const _0x8b8808=[],_0x58ccc5=[];let _0x23bcb1=a[_0x26a3e1(0x24e)]['deepClone'](_0x365262['mutations'][0x0]),_0x44001d=a[_0x26a3e1(0x24e)][_0x26a3e1(0x243)](_0x365262[_0x26a3e1(0x333)][0x0]);for(let _0x2b97f9=_0xe2b97a[_0x26a3e1(0x29b)]-0x1;_0x2b97f9>=0x0;_0x2b97f9--){const _0x352fcf={'id':_0x26a3e1(0x354),'params':{'unitId':_0xe2b97a[_0x2b97f9][_0x26a3e1(0x1ea)],..._0xe2b97a[_0x2b97f9]['undoState']}},_0x257001={'id':_0x26a3e1(0x354),'params':{'unitId':_0xe2b97a[_0x2b97f9][_0x26a3e1(0x1ea)],..._0xe2b97a[_0x2b97f9][_0x26a3e1(0x2ee)]}},_0x23a373=this[_0x26a3e1(0x273)][_0x26a3e1(0x175)](_0x23bcb1,_0x352fcf,!0x1),_0x28c9cc=this['_transformService'][_0x26a3e1(0x175)](_0x44001d,_0x257001,!0x1);if(m[_0x26a3e1(0x1be)](_0x23a373))throw _0x23a373['error'];if(m[_0x26a3e1(0x1be)](_0x28c9cc))throw _0x28c9cc[_0x26a3e1(0x189)];_0x8b8808[_0x26a3e1(0x177)]({..._0xe2b97a[_0x2b97f9],'undoState':_0x23a373[_0x26a3e1(0x1d6)][_0x26a3e1(0xd7)],'redoState':_0x28c9cc['m2Prime'][_0x26a3e1(0xd7)]}),_0x23bcb1=_0x23a373[_0x26a3e1(0x352)],_0x44001d=_0x28c9cc[_0x26a3e1(0x352)];}_0x23bcb1=a['Tools']['deepClone'](_0x365262[_0x26a3e1(0x333)][0x0]),_0x44001d=a[_0x26a3e1(0x24e)][_0x26a3e1(0x243)](_0x365262['mutations'][0x0]);for(let _0x1381b3=_0x3fd319[_0x26a3e1(0x29b)]-0x1;_0x1381b3>=0x0;_0x1381b3--){const _0x29717a={'id':_0x26a3e1(0x354),'params':{'unitId':_0x3fd319[_0x1381b3][_0x26a3e1(0x1ea)],..._0x3fd319[_0x1381b3][_0x26a3e1(0x2cf)]}},_0x58f555={'id':_0x26a3e1(0x354),'params':{'unitId':_0x3fd319[_0x1381b3][_0x26a3e1(0x1ea)],..._0x3fd319[_0x1381b3][_0x26a3e1(0x2ee)]}},_0xf81059=this[_0x26a3e1(0x273)]['transformMutation'](_0x23bcb1,_0x29717a,!0x1),_0x16882d=this[_0x26a3e1(0x273)][_0x26a3e1(0x175)](_0x44001d,_0x58f555,!0x1);if(m['isTransformMutationFailure'](_0xf81059))throw _0xf81059[_0x26a3e1(0x189)];if(m['isTransformMutationFailure'](_0x16882d))throw _0x16882d[_0x26a3e1(0x189)];_0x58ccc5['unshift']({..._0x3fd319[_0x1381b3],'undoState':_0xf81059[_0x26a3e1(0x1d6)]['params'],'redoState':_0x16882d[_0x26a3e1(0x1d6)][_0x26a3e1(0xd7)]}),_0x23bcb1=_0xf81059[_0x26a3e1(0x352)],_0x44001d=_0x16882d[_0x26a3e1(0x352)];}this['_docStateChangeManagerService']['setStateCache'](_0x1e91b5,{'history':_0x8b8808,'collaboration':_0x58ccc5});}};J=Ht([ce(0x0,a[_0x3e57a9(0x181)](a['Injector'])),ce(0x1,m[_0x3e57a9(0x1a3)]),ce(0x2,a['Inject'](E[_0x3e57a9(0xfb)]))],J);var Yt=Object['getOwnPropertyDescriptor'],Wt=(_0x1f7c11,_0x4c3935,_0x1a7643,_0x3789de)=>{const _0x599976=_0x3e57a9;for(var _0x1958d8=_0x3789de>0x1?void 0x0:_0x3789de?Yt(_0x4c3935,_0x1a7643):_0x4c3935,_0x45ac07=_0x1f7c11[_0x599976(0x29b)]-0x1,_0x1e9a71;_0x45ac07>=0x0;_0x45ac07--)(_0x1e9a71=_0x1f7c11[_0x45ac07])&&(_0x1958d8=_0x1e9a71(_0x1958d8)||_0x1958d8);return _0x1958d8;},Ne=(_0x3f717d,_0x21f47c)=>(_0x54de9d,_0x51943f)=>_0x21f47c(_0x54de9d,_0x51943f,_0x3f717d);let Z=class{constructor(_0x303199,_0x1822ff){const _0x17c14d=_0x3e57a9;this['_injector']=_0x303199,this[_0x17c14d(0x273)]=_0x1822ff;}[_0x3e57a9(0x224)](_0x1c5530){const _0x53cdf6=_0x3e57a9;var _0x343238;const _0x36f0a6=this[_0x53cdf6(0x1d2)]['get'](Y[_0x53cdf6(0x184)]),_0x3bbd7c=(_0x343238=_0x36f0a6['getDocRanges']())!=null?_0x343238:[];if(_0x3bbd7c['length']===0x0)return;const _0x2e561c=_0x1c5530['unitID'],_0x502a57=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e561c,'actions':null,'textRanges':_0x3bbd7c}}],_0x509592=this['_transformService'][_0x53cdf6(0x145)](_0x1c5530,_0x502a57);if(!m[_0x53cdf6(0x355)](_0x509592))throw _0x509592[_0x53cdf6(0x189)];const _0x1e14aa=_0x509592[_0x53cdf6(0x1d6)][0x0]['params']['textRanges'];Array[_0x53cdf6(0x124)](_0x1e14aa)&&_0x1e14aa[_0x53cdf6(0x29b)]&&_0x36f0a6[_0x53cdf6(0x1dc)](_0x1e14aa,{'unitId':_0x2e561c,'subUnitId':_0x2e561c},!0x1);}};Z=Wt([Ne(0x0,a[_0x3e57a9(0x181)](a['Injector'])),Ne(0x1,m[_0x3e57a9(0x1a3)])],Z);var Vt=Object[_0x3e57a9(0x2df)],Xt=(_0x32e11f,_0x11c0a4,_0x457a16,_0x5003ed)=>{const _0x10eaa8=_0x3e57a9;for(var _0x2760ae=_0x5003ed>0x1?void 0x0:_0x5003ed?Vt(_0x11c0a4,_0x457a16):_0x11c0a4,_0x2a4c0e=_0x32e11f[_0x10eaa8(0x29b)]-0x1,_0x154374;_0x2a4c0e>=0x0;_0x2a4c0e--)(_0x154374=_0x32e11f[_0x2a4c0e])&&(_0x2760ae=_0x154374(_0x2760ae)||_0x2760ae);return _0x2760ae;},N=(_0x2c8dc7,_0x36871b)=>(_0x929c3,_0x3e62f4)=>_0x36871b(_0x929c3,_0x3e62f4,_0x2c8dc7);let Q=class extends a[_0x3e57a9(0x2a7)]{constructor(_0x4252b4,_0x498d1a,_0x1393a7,_0x39933f,_0x3abc5c,_0x376e78,_0x58defb,_0x358bb5){const _0x592865=_0x3e57a9;super(),h(this,'_status$',new d['BehaviorSubject'](u[_0x592865(0x132)]['NOT_COLLAB'])),(this[_0x592865(0x128)]=_0x4252b4,this[_0x592865(0x2c2)]=_0x498d1a,this[_0x592865(0x201)]=_0x1393a7,this['_docTransformStateCacheService']=_0x39933f,this[_0x592865(0x1df)]=_0x3abc5c,this[_0x592865(0x1ba)]=_0x376e78,this[_0x592865(0x2da)]=_0x58defb,this['_localeService']=_0x358bb5,this[_0x592865(0x1f5)]());}[_0x3e57a9(0x1f5)](){const _0x1e7769=_0x3e57a9;this[_0x1e7769(0x204)](this[_0x1e7769(0x2c2)][_0x1e7769(0x16f)][_0x1e7769(0x16a)](_0x2b1882=>{const _0x2261d6=_0x1e7769,_0x1b8022=this[_0x2261d6(0x128)][_0x2261d6(0x167)][_0x2261d6(0x16a)](_0x104483=>{const _0x4b2bc5=_0x2261d6;if(_0x104483==null)return;const {unitId:_0x5a43eb,redoState:_0x56c5c6,commandId:_0x54b71c}=_0x104483;if(_0x5a43eb!==_0x2b1882[_0x4b2bc5(0x324)])return;const _0x5d327d={'id':_0x54b71c,'type':a[_0x4b2bc5(0x171)][_0x4b2bc5(0x2d8)],'params':{'unitId':_0x5a43eb,'actions':_0x56c5c6['actions'],'textRanges':null}};_0x2b1882[_0x4b2bc5(0x2a9)](_0x5d327d);});if(_0x2b1882[_0x2261d6(0x204)](_0x1b8022),_0x2b1882 instanceof u['DocCollaborationEntity']){const _0x565199={'onTransformIME':_0x459f47=>this[_0x2261d6(0x201)][_0x2261d6(0x2cc)](_0x459f47),'onTransformState':_0x2ad827=>this[_0x2261d6(0x23b)][_0x2261d6(0x15b)](_0x2ad827),'onTransformSelections':_0x5babb1=>this['_docTransformSelectionsService']['transformSelections'](_0x5babb1),'onSyncEditingCollabCursor':_0x4541c1=>this[_0x2261d6(0x1ba)]['syncEditingCollabCursor'](_0x4541c1),'onTransformRemoteChangesetByIMECache':_0xc80ff7=>this[_0x2261d6(0x201)]['transformRemoteChangeset'](_0xc80ff7),'onTransformRemoteChangesetByStateCache':_0x18e5e8=>this[_0x2261d6(0x23b)]['transformRemoteChangeset'](_0x18e5e8)};_0x2b1882[_0x2261d6(0x2d0)](_0x565199);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0x3e57a9(0xfb)])),N(0x1,a[_0x3e57a9(0x181)](u['CollaborationController'])),N(0x2,a[_0x3e57a9(0x181)](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0x3e57a9(0x181)](Z)),N(0x5,a[_0x3e57a9(0x181)](me)),N(0x6,O['IMessageService']),N(0x7,a[_0x3e57a9(0x181)](a['LocaleService']))],Q);var Gt=Object[_0x3e57a9(0x2df)],Kt=(_0x1b10d5,_0x212b2a,_0x4d5638,_0x463464)=>{const _0x139d69=_0x3e57a9;for(var _0x4208be=_0x463464>0x1?void 0x0:_0x463464?Gt(_0x212b2a,_0x4d5638):_0x212b2a,_0x356f2f=_0x1b10d5[_0x139d69(0x29b)]-0x1,_0x2843e0;_0x356f2f>=0x0;_0x356f2f--)(_0x2843e0=_0x1b10d5[_0x356f2f])&&(_0x4208be=_0x2843e0(_0x4208be)||_0x4208be);return _0x4208be;},le=(_0x40dff5,_0x25d976)=>(_0x2ab4ea,_0x2e3d73)=>_0x25d976(_0x2ab4ea,_0x2e3d73,_0x40dff5);let ve=class extends a[_0x3e57a9(0x2a7)]{constructor(_0x674546,_0x5200a2,_0xa93d74){const _0x47e64c=_0x3e57a9;super(),h(this,'_cachedData',new Map()),h(this,'_saveTaskMap',new Map()),h(this,'_disabled',!0x1),(this[_0x47e64c(0x27d)]=_0x674546,this[_0x47e64c(0x162)]=_0x5200a2,this['_revisionService']=_0xa93d74);}[_0x3e57a9(0x1d9)](){this['_disabled']=!0x0;}[_0x3e57a9(0x14f)](){const _0x4d2581=_0x3e57a9;this[_0x4d2581(0x2ad)]=!0x1;}get[_0x3e57a9(0x1c9)](){return this['_saveTaskMap'];}[_0x3e57a9(0x294)](){const _0x563c9b=_0x3e57a9;this[_0x563c9b(0x105)]()[_0x563c9b(0x2c0)](()=>super['dispose']());}async[_0x3e57a9(0x116)](_0x439f61){const _0x4a6b15=_0x3e57a9;return this[_0x4a6b15(0x2ad)]?null:this[_0x4a6b15(0x162)][_0x4a6b15(0x114)](u[_0x4a6b15(0x314)](_0x439f61));}async[_0x3e57a9(0x22c)](_0x293b7a,_0xbf128b){const _0x25a6bc=_0x3e57a9;return!!this[_0x25a6bc(0x162)]['setItem'](_0x293b7a,_0xbf128b);}[_0x3e57a9(0x1c3)](_0x41b176,_0x609958,_0x345616,_0x1f41f2){const _0x3f829b=_0x3e57a9,_0x703a9a=this[_0x3f829b(0x286)]['getCurrentRevOfUnit'](_0x41b176);this[_0x3f829b(0x329)]['set'](_0x41b176,{'unitID':_0x41b176,'type':_0x609958,'awaitingChangeset':_0x345616,'mutations':_0x1f41f2,'rev':_0x703a9a}),this[_0x3f829b(0x26a)]['has'](_0x41b176)||this[_0x3f829b(0x291)](_0x41b176);}[_0x3e57a9(0x291)](_0x4d7ff3){const _0x588013=_0x3e57a9,_0x3be389=this['_getSaveTimeout']();_0x3be389===0x0?this[_0x588013(0x168)](_0x4d7ff3):this[_0x588013(0x26a)]['set'](_0x4d7ff3,setTimeout(()=>this[_0x588013(0x168)](_0x4d7ff3),_0x3be389));}['_getSaveTimeout'](){const _0x3aec9b=_0x3e57a9;var _0x1f377c;return(_0x1f377c=this[_0x3aec9b(0x27d)][_0x3aec9b(0x13c)](u[_0x3aec9b(0x14b)]))!=null?_0x1f377c:u['LOCAL_CACHE_INTERVAL'];}[_0x3e57a9(0x168)](_0x15ef6f){const _0x13d59d=_0x3e57a9,_0x27d469=this[_0x13d59d(0x26a)][_0x13d59d(0x154)](_0x15ef6f);return _0x27d469!==void 0x0&&window[_0x13d59d(0x166)](_0x27d469),this[_0x13d59d(0x162)][_0x13d59d(0x21e)](u[_0x13d59d(0x314)](_0x15ef6f),this[_0x13d59d(0x329)][_0x13d59d(0x154)](_0x15ef6f))['then'](()=>this[_0x13d59d(0x26a)][_0x13d59d(0x1ad)](_0x15ef6f));}async[_0x3e57a9(0x105)](){const _0x5a8ba6=_0x3e57a9,_0x154abe=[];this[_0x5a8ba6(0x26a)]['forEach']((_0x4ab650,_0x526dbe)=>{const _0x54cdd0=_0x5a8ba6;window[_0x54cdd0(0x166)](_0x4ab650),_0x154abe[_0x54cdd0(0x27a)](this[_0x54cdd0(0x168)](_0x526dbe)[_0x54cdd0(0x2c0)](()=>{const _0x1dd546=_0x54cdd0;this[_0x1dd546(0x26a)][_0x1dd546(0x1ad)](_0x526dbe);}));}),await Promise[_0x5a8ba6(0x256)](_0x154abe);}};ve=Kt([le(0x0,a[_0x3e57a9(0x1c1)]),le(0x1,a['ILocalStorageService']),le(0x2,a[_0x3e57a9(0x181)](m[_0x3e57a9(0x113)]))],ve);class xe extends a[_0x3e57a9(0x28e)]{constructor(){const _0x5e91f0=_0x3e57a9;super(),h(this,_0x5e91f0(0x2f8)),this[_0x5e91f0(0x2f8)]=d[_0x5e91f0(0xd9)](window,_0x5e91f0(0x341))[_0x5e91f0(0x351)](d[_0x5e91f0(0x1e9)](this[_0x5e91f0(0x149)]),d['shareReplay'](0x1),d[_0x5e91f0(0x316)](void 0x0));}[_0x3e57a9(0xec)](_0x4ca272,_0x396dab,_0x5c793=!0x1){const _0x26b6c6=_0x3e57a9,_0x9e1d39=new URL(window['location'][_0x26b6c6(0x2ac)]);_0x9e1d39[_0x26b6c6(0x26f)][_0x26b6c6(0x1f3)](_0x4ca272,_0x396dab),_0x5c793?window[_0x26b6c6(0x225)]['replaceState']('','',_0x9e1d39['toString']()):window[_0x26b6c6(0x225)]['pushState']('','',_0x9e1d39[_0x26b6c6(0x27f)]());}['removeParam'](_0x20e750,_0x4ae281=!0x1){const _0x3a0ab2=_0x3e57a9,_0x10a7ed=new URL(window[_0x3a0ab2(0x1b1)][_0x3a0ab2(0x2ac)]);_0x10a7ed[_0x3a0ab2(0x26f)][_0x3a0ab2(0x1ad)](_0x20e750),_0x4ae281?window[_0x3a0ab2(0x225)]['replaceState']('','',_0x10a7ed[_0x3a0ab2(0x27f)]()):window['history'][_0x3a0ab2(0x32f)]('','',_0x10a7ed['toString']());}['getParam'](_0x2682ca){const _0x51858c=_0x3e57a9;var _0x19996e;return(_0x19996e=new URL(window[_0x51858c(0x1b1)][_0x51858c(0x2ac)])[_0x51858c(0x26f)][_0x51858c(0x154)](_0x2682ca))!=null?_0x19996e:void 0x0;}}var qt=Object['defineProperty'],zt=Object[_0x3e57a9(0x2df)],Jt=(_0x5c25d5,_0x340318,_0xc094e4)=>_0x340318 in _0x5c25d5?qt(_0x5c25d5,_0x340318,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc094e4}):_0x5c25d5[_0x340318]=_0xc094e4,Zt=(_0x315cb8,_0x4d50d3,_0x3aca85,_0x104577)=>{for(var _0x4865d1=_0x104577>0x1?void 0x0:_0x104577?zt(_0x4d50d3,_0x3aca85):_0x4d50d3,_0x432f61=_0x315cb8['length']-0x1,_0x1c8221;_0x432f61>=0x0;_0x432f61--)(_0x1c8221=_0x315cb8[_0x432f61])&&(_0x4865d1=_0x1c8221(_0x4865d1)||_0x4865d1);return _0x4865d1;},_e=(_0x417d1e,_0x2dc49f)=>(_0x442000,_0xc0f36a)=>_0x2dc49f(_0x442000,_0xc0f36a,_0x417d1e),Qt=(_0x869b62,_0x48e9dd,_0x215b9b)=>Jt(_0x869b62,_0x48e9dd+'',_0x215b9b);const es=_0x3e57a9(0x262);exports[_0x3e57a9(0x305)]=class extends a['Plugin']{constructor(_0x122e5b=De,_0x5dc0cf,_0x1f94f6,_0x4ffc31){const _0x56155f=_0x3e57a9;super(),this[_0x56155f(0x31f)]=_0x122e5b,this[_0x56155f(0x2de)]=_0x5dc0cf,this[_0x56155f(0x1d2)]=_0x1f94f6,this[_0x56155f(0x27d)]=_0x4ffc31;const {..._0x45c4b4}=a['merge']({},De,this[_0x56155f(0x31f)]);this[_0x56155f(0x27d)][_0x56155f(0x2bf)]($t,_0x45c4b4);}[_0x3e57a9(0x285)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x3e57a9(0x29e)](){const _0x1cf11b=_0x3e57a9;this[_0x1cf11b(0x221)]();}[_0x3e57a9(0x265)](){const _0x1f6b5d=_0x3e57a9;var _0x1c7843;const _0x1b9962=[[ge],[Z],[z],[J],[me],[pe,{'useClass':xe}],[K[_0x1f6b5d(0x138)],{'useClass':K[_0x1f6b5d(0x2d3)]}],[u['ILocalCacheService'],{'useClass':ve}],[exports[_0x1f6b5d(0xed)]],[Q],[q],[x],[ue],[exports[_0x1f6b5d(0x14a)]]];a[_0x1f6b5d(0xe8)](this['_injector'],a['mergeOverrideWithDependencies'](_0x1b9962,(_0x1c7843=this[_0x1f6b5d(0x31f)])==null?void 0x0:_0x1c7843[_0x1f6b5d(0x24c)]));}[_0x3e57a9(0x221)](){const _0x299417=_0x3e57a9;this['disposeWithMe'](this[_0x299417(0x2de)][_0x299417(0x336)](a[_0x299417(0x193)][_0x299417(0x1e6)],[fe])),this[_0x299417(0x204)](this[_0x299417(0x2de)][_0x299417(0x336)](a[_0x299417(0x193)][_0x299417(0x234)],[Ie]));}[_0x3e57a9(0x146)](){const _0x36a871=_0x3e57a9;a[_0x36a871(0x11f)](this[_0x36a871(0x1d2)],[[x],[exports[_0x36a871(0xed)]],[Q],[q],[exports[_0x36a871(0x14a)]]]);}},Qt(exports[_0x3e57a9(0x305)],_0x3e57a9(0x2a0),es),exports[_0x3e57a9(0x305)]=Zt([a['DependentOn'](u[_0x3e57a9(0x20b)]),_e(0x1,p[_0x3e57a9(0x2a8)]),_e(0x2,a[_0x3e57a9(0x181)](a[_0x3e57a9(0x30e)])),_e(0x3,a[_0x3e57a9(0x1c1)])],exports[_0x3e57a9(0x305)]);var ts=Object[_0x3e57a9(0x2df)],ss=(_0x537210,_0x5f2aae,_0x547966,_0x30bc2f)=>{const _0x431031=_0x3e57a9;for(var _0x4c5de3=_0x30bc2f>0x1?void 0x0:_0x30bc2f?ts(_0x5f2aae,_0x547966):_0x5f2aae,_0x2641ff=_0x537210[_0x431031(0x29b)]-0x1,_0x25ee2f;_0x2641ff>=0x0;_0x2641ff--)(_0x25ee2f=_0x537210[_0x2641ff])&&(_0x4c5de3=_0x25ee2f(_0x4c5de3)||_0x4c5de3);return _0x4c5de3;},H=(_0x1199ec,_0x47b433)=>(_0x2efba4,_0x3ab696)=>_0x47b433(_0x2efba4,_0x3ab696,_0x1199ec);exports[_0x3e57a9(0x1e5)]=class extends u[_0x3e57a9(0x287)]{constructor(_0x431883,_0x2454b2,_0x3dcf41,_0x3293ef,_0x41c3e2){super(_0x431883,_0x2454b2,_0x3dcf41,_0x3293ef,_0x41c3e2);}async['createSocket'](_0xca8168){const _0x2c2f6e=_0x3e57a9,_0x444048=await this[_0x2c2f6e(0x29d)](),_0x14b29d=this[_0x2c2f6e(0x349)](_0xca8168,_0x444048);return this['_doCreateSocket'](_0x14b29d);}[_0x3e57a9(0x349)](_0x54c459,_0x224951){const _0x2b31bc=_0x3e57a9,_0x2cb095=typeof window>'u'?new URL(_0x54c459):new URL(_0x54c459,window[_0x2b31bc(0x1b1)][_0x2b31bc(0x15f)]);_0x2cb095[_0x2b31bc(0x26f)][_0x2b31bc(0x1f3)](_0x2b31bc(0x2e6),_0x224951);const _0x34169f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2b31bc(0x1b1)][_0x2b31bc(0x280)]);return _0x34169f[_0x2b31bc(0x154)]('runId')&&_0x2cb095['searchParams']['set'](_0x2b31bc(0x13a),_0x34169f['get']('runId')),_0x2cb095[_0x2b31bc(0x27f)]();}async[_0x3e57a9(0x29d)](){const _0x15055f=_0x3e57a9;var _0x3f82ab,_0x59b6fc,_0x536b1c;const _0x1c9c9a=this[_0x15055f(0x27d)][_0x15055f(0x13c)](u[_0x15055f(0x250)]),_0x573e30=(_0x3f82ab=_0x1c9c9a==null?void 0x0:_0x1c9c9a[_0x15055f(0x13f)])!=null?_0x3f82ab:u[_0x15055f(0x112)];return(_0x536b1c=(_0x59b6fc=(await this[_0x15055f(0xf8)][_0x15055f(0x154)](_0x573e30,{'headers':{'Content-Type':'application/json'}}))[_0x15055f(0xde)])==null?void 0x0:_0x59b6fc[_0x15055f(0x140)])!=null?_0x536b1c:'';}},exports['BrowserCollaborationSocketService']=ss([H(0x0,a[_0x3e57a9(0x181)](a[_0x3e57a9(0x30e)])),H(0x1,a[_0x3e57a9(0x181)](K[_0x3e57a9(0x15d)])),H(0x2,a[_0x3e57a9(0x1c1)]),H(0x3,a[_0x3e57a9(0x2bd)]),H(0x4,m[_0x3e57a9(0x195)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x3e57a9(0x299);class is extends a['Disposable']{constructor(){const _0x53e217=_0x3e57a9;super(),h(this,_0x53e217(0x1a5),a['generateRandomId']()),h(this,_0x53e217(0x147),new Set()),h(this,_0x53e217(0x141),new Map()),h(this,_0x53e217(0x34c),null),h(this,_0x53e217(0x297),new Map()),h(this,_0x53e217(0x14c),new Map()),this[_0x53e217(0x1b9)]();}[_0x3e57a9(0x294)](){const _0x4c8755=_0x3e57a9;super[_0x4c8755(0x294)](),this[_0x4c8755(0x297)][_0x4c8755(0x191)]((_0x51e1d5,_0x4e80af)=>this['_removeClearOtherTimer'](_0x4e80af)),this['_heartbeatTimer']&&window[_0x4c8755(0x164)](this[_0x4c8755(0x34c)]);}[_0x3e57a9(0x32b)](_0x5abaff){const _0x2414a8=_0x3e57a9;return this[_0x2414a8(0x17e)](_0x5abaff)['pipe'](d['distinctUntilChanged']());}[_0x3e57a9(0x2b7)](_0x1ffff3){const _0x2be01e=_0x3e57a9;this['_selfUnitIDs'][_0x2be01e(0x347)]===0x0&&this[_0x2be01e(0x1b6)](),this[_0x2be01e(0x147)]['add'](_0x1ffff3),this[_0x2be01e(0x30b)]({'type':0x0,'memberID':this[_0x2be01e(0x1a5)],'unitIDs':[_0x1ffff3],'isForwarded':!0x1});}[_0x3e57a9(0x289)](_0x30e24a){const _0x2992e4=_0x3e57a9;this[_0x2992e4(0x147)][_0x2992e4(0x1ad)](_0x30e24a),this[_0x2992e4(0x147)][_0x2992e4(0x347)]===0x0&&this[_0x2992e4(0x34c)]&&window['clearInterval'](this[_0x2992e4(0x34c)]);}[_0x3e57a9(0x1b9)](){const _0x4f2b72=_0x3e57a9;this['disposeWithMe'](a[_0x4f2b72(0x110)](d[_0x4f2b72(0xd9)](window,_0x4f2b72(0x163))[_0x4f2b72(0x16a)](_0x36be66=>{const _0x51a6fa=_0x4f2b72;if(_0x36be66[_0x51a6fa(0x270)]!==Le||!_0x36be66['newValue'])return;const _0x4963e8=JSON['parse'](_0x36be66[_0x51a6fa(0x15e)]);this[_0x51a6fa(0x2e3)](_0x4963e8);}))),window[_0x4f2b72(0x10b)](_0x4f2b72(0x2e2),()=>this[_0x4f2b72(0x30b)]({'type':0x1,'memberID':this[_0x4f2b72(0x1a5)],'unitIDs':Array[_0x4f2b72(0x35a)](this[_0x4f2b72(0x147)])}));}[_0x3e57a9(0x2e3)](_0x1a95ec){const _0x27045a=_0x3e57a9;switch(_0x1a95ec[_0x27045a(0x322)]){case 0x0:this[_0x27045a(0x251)](_0x1a95ec);break;case 0x1:this['_handleLeaveEvent'](_0x1a95ec);break;case 0x2:this['_handleHeartbeatEvent'](_0x1a95ec);break;}}['_handleJoinEvent'](_0x1c8875){const _0x4b0f66=_0x3e57a9,{unitIDs:_0x3e164f,memberID:_0x8e9d2b,isForwarded:_0x480171}=_0x1c8875;_0x3e164f[_0x4b0f66(0x191)](_0x385159=>{const _0x5eec02=_0x4b0f66;if(!_0x480171&&this[_0x5eec02(0x141)][_0x5eec02(0x274)](_0x385159)&&this[_0x5eec02(0x17e)](_0x385159)['next'](u[_0x5eec02(0x35b)]['OTHER_CLIENTS_EDITING']),!this[_0x5eec02(0x141)][_0x5eec02(0x274)](_0x385159)||!this['_unitOnClients']['get'](_0x385159)[_0x5eec02(0x274)](_0x8e9d2b)){const _0x947e86=this[_0x5eec02(0x141)][_0x5eec02(0x154)](_0x385159)||new Set();_0x947e86[_0x5eec02(0x1f1)](_0x8e9d2b),this[_0x5eec02(0x141)][_0x5eec02(0x1f3)](_0x385159,_0x947e86),this[_0x5eec02(0x33d)](_0x8e9d2b);}}),_0x480171||this[_0x4b0f66(0x30b)]({'type':0x0,'memberID':this[_0x4b0f66(0x1a5)],'unitIDs':[...this[_0x4b0f66(0x147)]],'isForwarded':!0x0});}[_0x3e57a9(0x33d)](_0x5b76ca){const _0x24c0db=_0x3e57a9;this[_0x24c0db(0x26c)](_0x5b76ca);const _0x436742=window[_0x24c0db(0x185)](()=>{const _0x4b6bf3=_0x24c0db;this[_0x4b6bf3(0x141)][_0x4b6bf3(0x191)](_0x448520=>{_0x448520['delete'](_0x5b76ca);});},Me*0x2);this['_clearOtherTimers']['set'](_0x5b76ca,_0x436742);}['_removeClearOtherTimer'](_0x477b9f){const _0x346a67=_0x3e57a9;if(this[_0x346a67(0x297)][_0x346a67(0x274)](_0x477b9f)){const _0x3a2584=this[_0x346a67(0x297)]['get'](_0x477b9f);_0x3a2584&&window[_0x346a67(0x166)](_0x3a2584),this[_0x346a67(0x297)][_0x346a67(0x1f3)](_0x477b9f,null);}}[_0x3e57a9(0x159)](_0x8c92ec){const _0x229820=_0x3e57a9,{memberID:_0x9eceb,unitIDs:_0x3c1181}=_0x8c92ec;_0x3c1181[_0x229820(0x191)](_0x104501=>{const _0x1154e8=_0x229820;var _0x3847e2;const _0x2fa01f=this[_0x1154e8(0x141)]['get'](_0x104501);_0x2fa01f&&(_0x2fa01f[_0x1154e8(0x1ad)](_0x9eceb),(_0x3847e2=this['_ensureSubject'](_0x104501))==null||_0x3847e2[_0x1154e8(0x156)](_0x2fa01f['size']===0x0?u['UnitStatus'][_0x1154e8(0x312)]:u[_0x1154e8(0x35b)][_0x1154e8(0x348)]));}),this[_0x229820(0x26c)](_0x9eceb);}[_0x3e57a9(0x22e)](_0x13236b){const _0x5a4871=_0x3e57a9;this[_0x5a4871(0x33d)](_0x13236b[_0x5a4871(0x25f)]);}['_send'](_0x2c9df8){const _0x526805=_0x3e57a9;localStorage[_0x526805(0x21e)](Le,JSON[_0x526805(0xd8)](_0x2c9df8));}['_scheduleHeartbeat'](){const _0x418799=_0x3e57a9;this['_heartbeatTimer']=window[_0x418799(0x2a2)](()=>{const _0x32825d=_0x418799;this[_0x32825d(0x30b)]({'type':0x2,'memberID':this[_0x32825d(0x1a5)]});},Me);}['_ensureSubject'](_0x3ae47e){const _0x323f33=_0x3e57a9;return this[_0x323f33(0x14c)][_0x323f33(0x274)](_0x3ae47e)||this[_0x323f33(0x14c)]['set'](_0x3ae47e,new d[(_0x323f33(0x241))](u['UnitStatus'][_0x323f33(0x312)])),this['_unitStatus'][_0x323f33(0x154)](_0x3ae47e);}}var Be=(_0x5b40f2=>(_0x5b40f2[_0x5b40f2['UNDEFINED']=0x0]=_0x3e57a9(0x2fe),_0x5b40f2[_0x5b40f2['OK']=0x1]='OK',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x258)]=0x2]=_0x3e57a9(0x258),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1c6)]=0x3]=_0x3e57a9(0x1c6),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x327)]=0x4]=_0x3e57a9(0x327),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2e1)]=0x5]=_0x3e57a9(0x2e1),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x12d)]=0x6]='ALREADY_EXISTS',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2d7)]=0x7]='INVALID_ARGUMENT',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x137)]=0x8]=_0x3e57a9(0x137),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x23c)]=0x9]=_0x3e57a9(0x23c),_0x5b40f2[_0x5b40f2['LOGIN_FAILED']=0xa]=_0x3e57a9(0x230),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x197)]=0xb]=_0x3e57a9(0x197),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x12e)]=0xc]=_0x3e57a9(0x12e),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2d5)]=0xd]=_0x3e57a9(0x2d5),_0x5b40f2[_0x5b40f2['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5b40f2[_0x5b40f2['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3e57a9(0x298),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1ac)]=0x1771]=_0x3e57a9(0x1ac),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2d6)]=0x1772]=_0x3e57a9(0x2d6),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x10d)]=0x1773]=_0x3e57a9(0x10d),_0x5b40f2[_0x5b40f2['APPLY_REJECT']=0x1b59]=_0x3e57a9(0xf7),_0x5b40f2[_0x5b40f2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3e57a9(0x1e0),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x33f)]=0x1b5b]=_0x3e57a9(0x33f),_0x5b40f2[_0x5b40f2['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x309)]=0x1b5d]='APPLY_DUPLICATED',_0x5b40f2[_0x5b40f2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3e57a9(0x1af),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xdc)]=0x2329]=_0x3e57a9(0xdc),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x33e)]=0x232a]=_0x3e57a9(0x33e),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x101)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1f4)]=0x232c]=_0x3e57a9(0x1f4),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xe4)]=0x232d]=_0x3e57a9(0xe4),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2c5)]=0x2711]=_0x3e57a9(0x2c5),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x24d)]=0x2712]=_0x3e57a9(0x24d),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2cd)]=0x2713]=_0x3e57a9(0x2cd),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x29c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1d8)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2ca)]=0x271b]=_0x3e57a9(0x2ca),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xd6)]=0x271c]=_0x3e57a9(0xd6),_0x5b40f2[_0x5b40f2['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3e57a9(0x2f2),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x332)]=0x271e]=_0x3e57a9(0x332),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1fb)]=0x271f]=_0x3e57a9(0x1fb),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1bc)]=0x2720]=_0x3e57a9(0x1bc),_0x5b40f2[_0x5b40f2['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3e57a9(0x121),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xf5)]=0x2ee1]=_0x3e57a9(0xf5),_0x5b40f2[_0x5b40f2['INVALID_INVITE_CODE']=0x2ee2]=_0x3e57a9(0x340),_0x5b40f2[_0x5b40f2['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3e57a9(0x19f),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x10e)]=0x2ee4]=_0x3e57a9(0x10e),_0x5b40f2[_0x5b40f2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3e57a9(0x1ee),_0x5b40f2[_0x5b40f2['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3e57a9(0xe6),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xdd)]=0x32ca]=_0x3e57a9(0xdd),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xe2)]=0x32cb]=_0x3e57a9(0xe2),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x131)]=-0x1]=_0x3e57a9(0x131),_0x5b40f2))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x1d68e8,_0x3dbc2c,_0x77d113,_0x106501)=>{const _0x3d8033=_0x3e57a9;for(var _0x2081ad=_0x106501>0x1?void 0x0:_0x106501?ns(_0x3dbc2c,_0x77d113):_0x3dbc2c,_0x1dc2c1=_0x1d68e8[_0x3d8033(0x29b)]-0x1,_0x405a36;_0x1dc2c1>=0x0;_0x1dc2c1--)(_0x405a36=_0x1d68e8[_0x1dc2c1])&&(_0x2081ad=_0x405a36(_0x2081ad)||_0x2081ad);return _0x2081ad;},he=(_0x4b451d,_0x56c337)=>(_0x52b6e8,_0x35b0ff)=>_0x56c337(_0x52b6e8,_0x35b0ff,_0x4b451d);exports[_0x3e57a9(0x313)]=class extends a[_0x3e57a9(0x2a7)]{constructor(_0x117bf3,_0xee4762,_0x196797){const _0x220cad=_0x3e57a9;super(),this[_0x220cad(0x1ab)]=_0x117bf3,this[_0x220cad(0xf8)]=_0xee4762,this[_0x220cad(0x27d)]=_0x196797;}async[_0x3e57a9(0x2fc)](_0x16d02f,_0x2f1154,_0x4b1ddd,..._0x3688ec){const _0x594c4a=_0x3e57a9;var _0x2e7cf7,_0x4ba71b,_0x1a2df2,_0x16017e;const _0x9ffd4=this['_instanceService'][_0x594c4a(0x235)]();if(!_0x9ffd4)throw new Error(_0x594c4a(0x32c));const _0xa63974=((_0x2e7cf7=this[_0x594c4a(0x27d)][_0x594c4a(0x13c)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x2e7cf7:u[_0x594c4a(0x2a1)])+'/'+_0x16d02f+_0x594c4a(0x2f0)+_0x2f1154,_0x135cef=new URL(window[_0x594c4a(0x1b1)][_0x594c4a(0x2ac)]),_0x1ae848={'scriptId':_0x16d02f,'runId':(_0x4ba71b=_0x135cef[_0x594c4a(0x26f)][_0x594c4a(0x154)]('runId'))!=null?_0x4ba71b:'','function':_0x2f1154,'unitId':_0x9ffd4[_0x594c4a(0x331)](),'argsOfFunction':JSON[_0x594c4a(0xd8)](_0x3688ec),'invokeId':(_0x1a2df2=_0x4b1ddd['invokeId'])!=null?_0x1a2df2:'','executionId':(_0x16017e=_0x4b1ddd[_0x594c4a(0x253)])!=null?_0x16017e:''};try{const _0x45adce=await this[_0x594c4a(0xf8)][_0x594c4a(0x28f)](_0xa63974,{'body':_0x1ae848});return _0x45adce['body'][_0x594c4a(0x189)]&&_0x45adce[_0x594c4a(0xde)][_0x594c4a(0x189)][_0x594c4a(0x2ec)]!==Be['OK']?_0x594c4a(0xe0):_0x45adce[_0x594c4a(0xde)][_0x594c4a(0xdf)];}catch{return _0x594c4a(0xe0);}}},exports[_0x3e57a9(0x313)]=rs([he(0x0,a[_0x3e57a9(0xf4)]),he(0x1,a[_0x3e57a9(0x181)](K[_0x3e57a9(0x15d)])),he(0x2,a['IConfigService'])],exports[_0x3e57a9(0x313)]),exports[_0x3e57a9(0xd4)]=pe,exports[_0x3e57a9(0x2ae)]=we,exports[_0x3e57a9(0x268)]=is,exports['WebURLService']=xe;
|
|
1
|
+
'use strict';const _0x5871cc=_0x3ae7;(function(_0x484ed4,_0x198c72){const _0x29a642=_0x3ae7,_0x2b76ec=_0x484ed4();while(!![]){try{const _0x4d9a68=parseInt(_0x29a642(0x136))/0x1*(parseInt(_0x29a642(0x353))/0x2)+-parseInt(_0x29a642(0x191))/0x3+-parseInt(_0x29a642(0x2c7))/0x4+-parseInt(_0x29a642(0x202))/0x5+parseInt(_0x29a642(0x204))/0x6+parseInt(_0x29a642(0x249))/0x7*(-parseInt(_0x29a642(0x14d))/0x8)+-parseInt(_0x29a642(0x234))/0x9*(-parseInt(_0x29a642(0x1db))/0xa);if(_0x4d9a68===_0x198c72)break;else _0x2b76ec['push'](_0x2b76ec['shift']());}catch(_0xced59f){_0x2b76ec['push'](_0x2b76ec['shift']());}}}(_0xc756,0xed434));var We=Object['defineProperty'],Ve=(_0x73d345,_0x13fb6d,_0x39d556)=>_0x13fb6d in _0x73d345?We(_0x73d345,_0x13fb6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39d556}):_0x73d345[_0x13fb6d]=_0x39d556,h=(_0x35b963,_0x16ee1e,_0xb844b8)=>Ve(_0x35b963,typeof _0x16ee1e!='symbol'?_0x16ee1e+'':_0x16ee1e,_0xb844b8);Object[_0x5871cc(0x162)](exports,Symbol['toStringTag'],{'value':_0x5871cc(0x19c)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0x31eda3=_0x5871cc;return b=Object[_0x31eda3(0x1a6)]||function(_0x1937c2){const _0x3bec7f=_0x31eda3;for(var _0xa479b4,_0x560d46=0x1,_0x2fc62c=arguments[_0x3bec7f(0x395)];_0x560d46<_0x2fc62c;_0x560d46++){_0xa479b4=arguments[_0x560d46];for(var _0x21e52f in _0xa479b4)Object[_0x3bec7f(0x2fb)][_0x3bec7f(0x154)][_0x3bec7f(0x2fa)](_0xa479b4,_0x21e52f)&&(_0x1937c2[_0x21e52f]=_0xa479b4[_0x21e52f]);}return _0x1937c2;},b['apply'](this,arguments);},Ke=function(_0x152597,_0x5825d5){const _0x401c37=_0x5871cc;var _0x3803cc={};for(var _0x7d053a in _0x152597)Object[_0x401c37(0x2fb)][_0x401c37(0x154)][_0x401c37(0x2fa)](_0x152597,_0x7d053a)&&_0x5825d5['indexOf'](_0x7d053a)<0x0&&(_0x3803cc[_0x7d053a]=_0x152597[_0x7d053a]);if(_0x152597!=null&&typeof Object['getOwnPropertySymbols']==_0x401c37(0x28c)){for(var _0x239ed9=0x0,_0x7d053a=Object['getOwnPropertySymbols'](_0x152597);_0x239ed9<_0x7d053a['length'];_0x239ed9++)_0x5825d5['indexOf'](_0x7d053a[_0x239ed9])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x401c37(0x2fa)](_0x152597,_0x7d053a[_0x239ed9])&&(_0x3803cc[_0x7d053a[_0x239ed9]]=_0x152597[_0x7d053a[_0x239ed9]]);}return _0x3803cc;},ge=M[_0x5871cc(0x203)](function(_0x1c5da8,_0xf273e7){const _0x35e9fc=_0x5871cc;var _0x4b8fbe=_0x1c5da8[_0x35e9fc(0x170)],_0x1d2997=_0x1c5da8['id'],_0x3193e3=_0x1c5da8['className'],_0x4256ee=_0x1c5da8[_0x35e9fc(0x22c)],_0x3cc576=Ke(_0x1c5da8,[_0x35e9fc(0x170),'id','className','extend']),_0x5c5773=_0x35e9fc(0x314)[_0x35e9fc(0x2f6)](_0x1d2997,'\x20')[_0x35e9fc(0x2f6)](_0x3193e3||'')[_0x35e9fc(0x130)](),_0x4bdc19=M['useRef']('_'[_0x35e9fc(0x2f6)](Je()));return Pe(_0x4b8fbe,''['concat'](_0x1d2997),{'defIds':_0x4b8fbe['defIds'],'idSuffix':_0x4bdc19[_0x35e9fc(0x183)]},b({'ref':_0xf273e7,'className':_0x5c5773},_0x3cc576),_0x4256ee);});function Pe(_0x2849a4,_0x33f6f2,_0x2783c4,_0x28350d,_0x15ee94){const _0x16cbcb=_0x5871cc;return M[_0x16cbcb(0x23d)](_0x2849a4[_0x16cbcb(0x19f)],b(b({'key':_0x33f6f2},qe(_0x2849a4,_0x2783c4,_0x15ee94)),_0x28350d),(ze(_0x2849a4,_0x2783c4)[_0x16cbcb(0x2ba)]||[])[_0x16cbcb(0x317)](function(_0x518694,_0x367687){const _0x557839=_0x16cbcb;return Pe(_0x518694,''[_0x557839(0x2f6)](_0x33f6f2,'-')[_0x557839(0x2f6)](_0x2849a4[_0x557839(0x19f)],'-')[_0x557839(0x2f6)](_0x367687),_0x2783c4,void 0x0,_0x15ee94);}));}function qe(_0xb9ef23,_0x226158,_0x52a08a){const _0x23c294=_0x5871cc;var _0x16d6eb=b({},_0xb9ef23[_0x23c294(0x369)]);_0x52a08a!=null&&_0x52a08a[_0x23c294(0x2d7)]&&_0x16d6eb['fill']===_0x23c294(0x2d7)&&(_0x16d6eb[_0x23c294(0x169)]=_0x52a08a['colorChannel1']),_0xb9ef23[_0x23c294(0x19f)]===_0x23c294(0x2d5)&&_0x16d6eb['id']&&(_0x16d6eb['id']=_0x16d6eb['id']+_0x226158['idSuffix']),Object[_0x23c294(0x230)](_0x16d6eb)['forEach'](function(_0x31d053){const _0x359a26=_0x23c294;var _0x1181d1=_0x31d053[0x0],_0xb8ed13=_0x31d053[0x1];_0x1181d1===_0x359a26(0x2d5)&&typeof _0xb8ed13==_0x359a26(0x336)&&(_0x16d6eb[_0x1181d1]=_0xb8ed13['replace'](/url\(#(.*)\)/,'url(#$1'[_0x359a26(0x2f6)](_0x226158[_0x359a26(0x35f)],')')));});var _0x598ed0=_0x226158[_0x23c294(0x35c)];return!_0x598ed0||_0x598ed0[_0x23c294(0x395)]===0x0||(_0xb9ef23[_0x23c294(0x19f)]==='use'&&_0x16d6eb[_0x23c294(0x200)]&&(_0x16d6eb[_0x23c294(0x200)]=_0x16d6eb[_0x23c294(0x200)]+_0x226158[_0x23c294(0x35f)]),Object[_0x23c294(0x230)](_0x16d6eb)[_0x23c294(0x2de)](function(_0x2c195d){const _0x2a03fb=_0x23c294;var _0x168890=_0x2c195d[0x0],_0x350d9e=_0x2c195d[0x1];typeof _0x350d9e==_0x2a03fb(0x336)&&(_0x16d6eb[_0x168890]=_0x350d9e[_0x2a03fb(0x124)](/url\(#(.*)\)/,_0x2a03fb(0x2f2)[_0x2a03fb(0x2f6)](_0x226158['idSuffix'],')')));})),_0x16d6eb;}function ze(_0x391428,_0x47b76f){const _0x2fca1b=_0x5871cc;var _0x1da293,_0x61d589=_0x47b76f['defIds'];return!_0x61d589||_0x61d589[_0x2fca1b(0x395)]===0x0?_0x391428:_0x391428[_0x2fca1b(0x19f)]===_0x2fca1b(0x1d2)&&(!((_0x1da293=_0x391428[_0x2fca1b(0x2ba)])===null||_0x1da293===void 0x0)&&_0x1da293[_0x2fca1b(0x395)])?b(b({},_0x391428),{'children':_0x391428[_0x2fca1b(0x2ba)][_0x2fca1b(0x317)](function(_0x51a4f1){const _0x45faed=_0x2fca1b;return typeof _0x51a4f1[_0x45faed(0x369)]['id']==_0x45faed(0x336)&&_0x61d589&&_0x61d589['includes'](_0x51a4f1[_0x45faed(0x369)]['id'])?b(b({},_0x51a4f1),{'attrs':b(b({},_0x51a4f1[_0x45faed(0x369)]),{'id':_0x51a4f1[_0x45faed(0x369)]['id']+_0x47b76f[_0x45faed(0x35f)]})}):_0x51a4f1;})}):_0x391428;}function Je(){const _0x353cdd=_0x5871cc;return Math[_0x353cdd(0x347)]()[_0x353cdd(0x211)](0x24)['substring'](0x2,0x8);}ge['displayName']=_0x5871cc(0x292);var Ze={'tag':_0x5871cc(0x1af),'attrs':{'xmlns':_0x5871cc(0x18e),'fill':'none','viewBox':_0x5871cc(0x16f),'width':_0x5871cc(0x1a3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x5871cc(0x2b3),'attrs':{'stroke':_0x5871cc(0x29c),'d':_0x5871cc(0x139),'strokeLinecap':_0x5871cc(0x295),'strokeLinejoin':_0x5871cc(0x295),'strokeWidth':1.2}}]},{'tag':_0x5871cc(0x1d2),'attrs':{},'children':[{'tag':_0x5871cc(0x25f),'attrs':{'id':_0x5871cc(0x30c)},'children':[{'tag':_0x5871cc(0x2b3),'attrs':{'fill':'white','d':_0x5871cc(0x28a)}}]}]}],'defIds':[_0x5871cc(0x30c)]},we=M['forwardRef'](function(_0x167987,_0x5c9d29){const _0xfc72cb=_0x5871cc;return M['createElement'](ge,Object[_0xfc72cb(0x1a6)]({},_0x167987,{'id':_0xfc72cb(0x32c),'ref':_0x5c9d29,'icon':Ze}));});we[_0x5871cc(0x132)]=_0x5871cc(0x182);var Qe={'tag':_0x5871cc(0x1af),'attrs':{'xmlns':_0x5871cc(0x18e),'fill':'none','viewBox':_0x5871cc(0x155),'width':_0x5871cc(0x1a3),'height':_0x5871cc(0x1a3)},'children':[{'tag':'g','attrs':{'clipPath':_0x5871cc(0x1d5)},'children':[{'tag':_0x5871cc(0x2b3),'attrs':{'stroke':'currentColor','d':_0x5871cc(0x1c5),'strokeLinecap':_0x5871cc(0x295),'strokeLinejoin':_0x5871cc(0x295),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5871cc(0x1a5)},'children':[{'tag':'path','attrs':{'fill':_0x5871cc(0x34b),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Ae=M[_0x5871cc(0x203)](function(_0x5d1673,_0x5f5400){const _0x4b6689=_0x5871cc;return M[_0x4b6689(0x23d)](ge,Object[_0x4b6689(0x1a6)]({},_0x5d1673,{'id':'on-line-icon','ref':_0x5f5400,'icon':Qe}));});Ae['displayName']='OnLineIcon';function et(_0x760fdc){const _0x17e104=_0x5871cc;switch(_0x760fdc){case u[_0x17e104(0x31c)]['OFFLINE']:return'collabStatus.offline';case u[_0x17e104(0x31c)][_0x17e104(0x161)]:return _0x17e104(0x1ae);case u[_0x17e104(0x31c)][_0x17e104(0x378)]:return _0x17e104(0x13d);case u[_0x17e104(0x31c)][_0x17e104(0x32d)]:return _0x17e104(0x188);case u[_0x17e104(0x31c)]['AWAITING']:case u[_0x17e104(0x31c)]['AWAITING_WITH_PENDING']:return _0x17e104(0x2c6);case u[_0x17e104(0x31c)][_0x17e104(0x346)]:case u[_0x17e104(0x31c)]['PENDING']:return _0x17e104(0x281);}}function tt(_0x37c5e5){const _0x123f4b=_0x5871cc,{status$:_0x147700}=_0x37c5e5,_0x3f3d89=O[_0x123f4b(0x2ea)](_0x147700,u[_0x123f4b(0x31c)][_0x123f4b(0x32d)]),_0x32f014=O['useDependency'](a[_0x123f4b(0x171)]),_0x1c21bf=O[_0x123f4b(0x2d1)](u[_0x123f4b(0x21a)]),_0x31fc67=_0x3f3d89!==u[_0x123f4b(0x31c)][_0x123f4b(0x220)],_0x2a51bd=_0x32f014['t'](et(_0x3f3d89)),_0x294c10=_0x31fc67?P[_0x123f4b(0x12d)](Ae,{}):P[_0x123f4b(0x12d)](we,{}),_0x6502ac=M[_0x123f4b(0x2eb)](()=>{_0x31fc67||_0x1c21bf['reconnect']();},[_0x31fc67,_0x1c21bf]);function _0x9df503(){const _0x25d343=_0x123f4b;return P[_0x25d343(0x1f5)](_0x25d343(0x190),{'className':_0x25d343(0x1d3),'onClick':_0x6502ac,'children':[P['jsx'](_0x25d343(0x190),{'className':D[_0x25d343(0x1bb)](_0x25d343(0x20c),{'univer-text-green-500':_0x31fc67,'univer-text-red-500':!_0x31fc67}),'children':_0x294c10}),P[_0x25d343(0x12d)](_0x25d343(0x190),{'className':_0x25d343(0x1c2),'children':_0x2a51bd})]});}return _0x31fc67?_0x9df503():P['jsx'](D[_0x123f4b(0x282)],{'title':_0x32f014['t']('collab-client.tooltip.reconnect'),'children':_0x9df503()});}var st=Object[_0x5871cc(0x300)],it=(_0x22e303,_0x4de9f1,_0x4456a6,_0x3f2ff0)=>{const _0x508778=_0x5871cc;for(var _0xd3d878=_0x3f2ff0>0x1?void 0x0:_0x3f2ff0?st(_0x4de9f1,_0x4456a6):_0x4de9f1,_0x14b952=_0x22e303[_0x508778(0x395)]-0x1,_0x380c0c;_0x14b952>=0x0;_0x14b952--)(_0x380c0c=_0x22e303[_0x14b952])&&(_0xd3d878=_0x380c0c(_0xd3d878)||_0xd3d878);return _0xd3d878;},V=(_0x4289cd,_0x4ab6b7)=>(_0x2ec39e,_0x3c3b37)=>_0x4ab6b7(_0x2ec39e,_0x3c3b37,_0x4289cd);exports[_0x5871cc(0x333)]=class extends a['Disposable']{constructor(_0x487495,_0x4794f6,_0x22fe4d,_0xe2ecaa){const _0x31d963=_0x5871cc;super(),h(this,_0x31d963(0x26a),new d[(_0x31d963(0x344))](u[_0x31d963(0x31c)][_0x31d963(0x32d)])),(this[_0x31d963(0x260)]=_0x487495,this[_0x31d963(0x209)]=_0x4794f6,this['_collaborationController']=_0x22fe4d,this[_0x31d963(0x166)]=_0xe2ecaa,this[_0x31d963(0x360)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x2a25e1=_0x5871cc;this[_0x2a25e1(0x159)](this[_0x2a25e1(0x260)][_0x2a25e1(0x341)][_0x2a25e1(0x2e3)](d[_0x2a25e1(0x363)](()=>{const _0x4e6dfd=_0x2a25e1,_0xcd2494=this[_0x4e6dfd(0x260)][_0x4e6dfd(0x23e)]();return _0xcd2494?this[_0x4e6dfd(0x35d)][_0x4e6dfd(0x16e)](_0xcd2494[_0x4e6dfd(0x364)]()):d['of'](null);}),d[_0x2a25e1(0x363)](_0x253929=>_0x253929?_0x253929['status$']:d['of'](u[_0x2a25e1(0x31c)][_0x2a25e1(0x32d)])))[_0x2a25e1(0x13f)](_0x164128=>{const _0x4db866=_0x2a25e1;this[_0x4db866(0x26a)][_0x4db866(0x13c)](_0x164128);}));}[_0x5871cc(0x360)](){const _0x4ba4f8=_0x5871cc;this[_0x4ba4f8(0x159)](this[_0x4ba4f8(0x166)][_0x4ba4f8(0x2cd)](O[_0x4ba4f8(0x327)]['HEADER_MENU'],()=>O[_0x4ba4f8(0x1ff)](nt({'status$':this['_status$'][_0x4ba4f8(0x269)]()}),this[_0x4ba4f8(0x209)])));}},exports[_0x5871cc(0x333)]=it([V(0x0,a[_0x5871cc(0x2b1)]),V(0x1,a[_0x5871cc(0x141)](a[_0x5871cc(0x31e)])),V(0x2,a[_0x5871cc(0x141)](u[_0x5871cc(0x33a)])),V(0x3,O[_0x5871cc(0x298)])],exports[_0x5871cc(0x333)]);function _0xc756(){const _0x52cf27=['setInterval','asObservable','_status$','EMAIL_VERIFY_CODE_MISMATCH','_imageIoService','addObjects','sessionStatus$','_startSheetCollabCursor','onPointerMove$','findNodePositionByCharIndex','getCurrentSelections','CHANGESET_REVISION_CONFILICT','_entityInit$','application/json','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','deepClone','_init','_cursorShapes','_httpService','SetSelectionsOperation','DocSelectionManagerService','debounceTime','addEventListener','getSheetObject','_dataLoaderService','collabStatus.synced','Tooltip','_getSessionTicket','DocIMEInputManagerService','Optional','debounce','unitId','setConfig','registerBeforeClose','M0\x200H16V16H0z','_instanceService','function','IDocClipboardService','IImageIoService','SessionStatus','permission.content','_handleHover','UniverIcon','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','NodePositionConvertToRectRange','round','pushState','_updateSubUnitFromURLParams','IUIPartsService','labelPosition','setShapeProps','unshift','currentColor','_shapes','_localCacheService','popstate','CONNECTOR_DATA_TOO_LARGE','_drawRectRange','eventID','APPLY_REVISION_CONFILICT','addHandlerCallback','syncEditingCollabCursor','clearTimeout','getRangePointData','requireSession','toRgbString','getAncestorScale','replaceDocRanges','_docClipboardService','_refreshCollabCursors','handleInsertRangeMoveDown','saveTaskMap','NOT_FOUND','IUniverInstanceService','_color','path','DOC_RANGE_TYPE','onMouseMove','MessageType','_colorIndex','onCommandExecuted','UNAUTHENTICATED','children','origin','Plugin','CollaborationUIEventService','DeleteRangeMoveUpCommandId','transformSelections','subscribeEvent','_context','_cursor','_initEvent','LICENSE_IMPORT_SIZE_EXCEEDED','Vector2','collabStatus.syncing','1705300wQWTdA','_heartbeatTimer','serializeRangeWithSheet','VIEW_MAIN','size','getUnitStatus$','registerComponent','InsertRowCommandId','setItem','docStateChange$','useDependency','_transformHistoryAndStateStack','filter','_cachedData','mask','yellow.400','colorChannel1','set','EffectRefRangId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','split','SetDocZoomRatioOperation','handleDeleteRangeMoveUp','forEach','ENSURE_SNAPSHOT_EXECUTION','FromArray','UniverCollaborationClientUIPlugin','arc','pipe','startsWith','clearInterval','createSocket','_getSheetObject','SNAPSHOT_INVALID_SNAPSHOT','debug','useObservable','useCallback','getColor','init','name','Shape','all','_registerDependencies','url(#$1','_entities','COMPLETION_FINISHED','_unitStatus','concat','textRanges','InsertColCommandId','actions','call','prototype','m2Prime','_urlService','_colorAssignService','touchDependencies','getOwnPropertyDescriptor','_hovered','_eventUnsubscribe','DisposableCollection','getUndoRedoMutationParamsCache','InsertRangeMoveRightCommandId','skeleton','_anchor','UniverInstanceType','runId','ThemeService','SHEET_VIEWPORT_KEY','off-line-icon_clip0_910_343','_initEntityListener','CommandType','setParam','whenReady','SOCKET_FAILED_RETRY','color','_setupBeforeClosingHandler','univerjs-icon\x20univerjs-icon-','_docTransformStateCacheService','Unknown\x20user','map','_sheetSkeletonManagerService','APPLY_PERMISSION_DENIED','isArray','getOffsetConfig','CollaborationStatus','DocSkeletonManagerService','Injector','Rectangle','getMemberID','ICommandService','cursorInfo$','_transformPreviousActiveRange','getVpScrollXYInfoByPosToVp','USERS_LEAVE','Disposable','BuiltInUIPart','transformMutationsWithChangeset','_scene','transformIMECache','onTransformChange$','off-line-icon','NOT_COLLAB','_name','RichTextEditingMutation','transformMutation','href','RxDisposable','DesktopCollaborationStatusDisplayController','transformStateCache','saveOfflineData','string','throttleTime','_drawAnchor','column','CollaborationController','TEXT_RANGE_LAYER_INDEX','getCoordByCell','_handleLeaveEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IRemoteInstanceService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','focused$','then','endRow','BehaviorSubject','getRenderById','SYNCED','random','getMember','InsertRangeMoveDownCommandId','ILocalCacheService','white','beginPath','_collabCursorController','_collabSessionService','redoState','_themeService','startColumn','DeleteRangeMoveLeftCommandId','201554DWOtgJ','_initCommandExecutedListener','getLocalCacheKey','ILocalStorageService','_onCursorUpdate','_transformUndoRedoStack','LOCAL_CACHE_INTERVAL','range','transformRemoteChangeset','defIds','_collaborationController','hide','idSuffix','_initStatusComponent','removeParam','makeDirty','switchMap','getUnitId','_disabled','_selfUnitIDs','_cursors','collab-rect-range-','attrs','_beforeCloseService','_initResize','ranges','_setupSubUnitSync','MUTATION','_labelPosition','parse','_localStorageService','_onRefRangeChange','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','NO_OTHER_CLIENTS_EDITING','transformByState','OTHER_CLIENTS_EDITING','setAlpha','FETCH_MISS','currentTheme$','collaboration-client-ui.config','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collabCursorState$','has','UPDATE_CURSOR','getColorFromTheme','OTHER_CLIENT_EDITING','INTERNAL_ERROR','ITransformService','JOIN_ROOM_FAILED','_range','uni.network.url-service','_getSaveTimeout','isTransformMutationsWithChangesetSuccess','add','ILogService','LOCAL_CACHE_INTERVAL_KEY','getCurrent','entityInit$','_assignedColors','WECHAT_HAS_BEEN_BOUND','_registerRenderDependencies','from','event$','drawWith','_handleHeartbeatEvent','session.collaboration-timeout','length','_onCursorDelete','NodePositionConvertToCursor','body','ISocketService','fillText','collab-text-anchor-','createIdentifier','toDisposable','replace','ticket','measureText','invokeId','INVITE_CODE_HAS_BEEN_UES','type','font','_removeClearOtherTimer','_updateCollabCursors','jsx','_hideTimer','UNDEFINED','trim','LICENSE_DISTRO_REJECTED','displayName','SetWorksheetActivateCommand','_cursorInfo$','unsubscribe','1zNIqLW','INVALID_ARGUMENT','CollaborationSocketService','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','[CollaborationDataLoaderController]','_refRangeService','next','collabStatus.fetchMiss','permission.title','subscribe','get','Inject','sessionTicket','LOGIN_FAILED','MoveRangeCommandId','ACTIVE_UNIT_EVENT_CHANNEL','DocStateChangeManagerService','cursorInfo','save','_hover','executionId','_scheduleClearOtherTimer','height','704UyHhwc','Workbook','_backgroundColor','Tools','_updateLocalCursor','m1Prime','_handleJoinEvent','hasOwnProperty','0\x200\x2017\x2016','_saveTaskMap','_getScale','dispose','disposeWithMe','_unitOnClients','APPLY_DUPLICATED','Warning','currentSkeleton$','flatMap','getParam','getActiveSheet','CONFLICT','defineProperty','YUUMI_TABLE_NOT_FOUND_IN_UNIT','HTTPService','getConfig','_uiPartsService','getViewport','sheetID','fill','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_removeCollabCursors','assignAColorForMemberID','_roomMembers$','getCollabEntity$','0\x200\x2016\x2016','icon','LocaleService','post','INVITE_CODE_REQUIRED','delete','registerRenderModule','_initDependencies','YUUMI_UNABLE_LOAD_URL','getCurrentUnitForType','APPLY_NON_SEQUENTIAL_REVISION','_memberService','location','_online','unit','handleDeleteRangeMoveLeft','ColorKit','replaceState','fromEventSubject','OffLineIcon','current','IRenderManagerService','restore','_docSkeletonManagerService','RemoveColCommandId','collabStatus.notCollab','getCurrentRevOfUnit','with','mapTo','_commandService','_anchorDot','http://www.w3.org/2000/svg','fromEvent','div','3080427uiwqaM','_scheduleSaving','UNRECOGNIZED','top','saveImage','_startDocCollabCursor','LICENSE_EXPORT_SIZE_EXCEEDED','MemberService','session.will-retry','selection','handleMoveRange','Module','roomMembers$','_toggleOnline','tag','deserializeRangeWithSheet','_updateURLWithCurrentState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','1em','fillRule','on-line-icon_clip0_910_349','assign','merge','show','setStateCache','generateRandomId','_handleEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','dispose$','collabStatus.conflict','svg','INVITE_CODE_ALREADY_BOUND','_docTransformSelectionsService','result','bottom','send','YUUMI_CONNECTOR_URL_NOT_FOUND','activeSheet$','getSkeleton','_logService','_localeService','getTypeOfUnitDisposed$','clsx','YUUMI_ALL_TABLES_IS_INVALID','INotificationService','registerDependencies','SUBMIT_CHANGESET_TIMEOUT','history','newValue','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getSheetId','_id','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','CollaborationEvent','some','complete','search','getValue','PERMISSION_DENIED','UnitStatus','_configService','USER_NOT_INVITED_CODE','includes','evenodd','_getMergeRange','defs','univer-flex\x20univer-items-center','_messageService','url(#on-line-icon_clip0_910_349)','RegularPolygon','takeUntil','IMessageService','sheetId','endColumn','14450MPnAHY','setUndoRedoMutationParamsCache','RemoteUniscriptService','_ensureSubject','width','YUUMI_ASYNCIO_CANCELLED','wsSessionTicketUrl','_notificationService','data','UNIVER_SHEET','values','startRow','YUUMI_RATE_OVER_LIMIT','_clearOtherTimers','roomMembers','push','UNIVER_DOC','onLocalMutation','IURLService','runOnServer','getCollabCursors$','lineTo','Subject','ONLINE','onPointerEnter$','hovered','jsxs','text','searchParams','mutations','_saveCache','Error','black','CollaborationDataLoaderController','getCellPositionByOffset','_docTransformIMECacheService','connectInjector','xlink:href','_docSyncEditingCollabCursorService','4044870RklpEw','forwardRef','8907180vIEgfa','_doCreateSocket','setTimeout','DocCollaborationEntity','rgba(255,\x20255,\x20255,\x200.01)','_injector','collab-text-range-','_transformService','univer-mr-2\x20univer-flex\x20univer-text-xl','_docSkeleton','storage','unitID','CollaborationUIEventId','toString','params','urlChange$','_syncEditingCollabCursorService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ISnapshotServerService','handleInsertRangeMoveRight','SheetSkeletonManagerService','_lastPointer','CollaborationSessionService','collaboration.closeRoom','subUnitId','stringify','override','RECT','OFFLINE','getStateCache','_textBubble','getTypeOfUnitAdded$','_revisionService','BrowserCollaborationSocketService','addObject','COLORS','RevisionService','getDocRanges','YUUMI_NO_CUBOID_FOR_QUESTION','INVALID_INVITE_CODE','extend','getSheetBySheetId','TEXT','_collaborationUIEventService','entries','combineLatest','_scheduleHeartbeat','blue.400','11889ZaRYus','_draw','_renderManagerService','SheetsSelectionsService','UniverCollaborationClientPlugin','_send','editingUnit','IConfigService','error','createElement','getFocusedUnit','IBeforeCloseService','exhaustSavingTask','_createSocketURL','ALREADY_EXISTS','_session','TOO_MANY_REQUESTS','PY_RUNTIME_SCRIPT_ERROR','onRendered','row','getUnhiddenWorksheets','20699vbTuNq','_config','setActiveRange','contains','createInstance','Rect','subunit','APPLY_REJECT','SNAPSHOT_HAS_BEEN_REMOVED','_docStateChangeManagerService','doc.mutation.rich-text-editing','addClipboardHook','min','collaboration-client.offline-data-not-saved','isActive','MOBILE_HAS_BEEN_BOUND','_render','EMAIL_HAS_BEEN_BOUND','triggerDblclick','collabCursorState$','_toggleOffline','isTransformMutationFailure','clipPath','_univerInstanceService','YUUMI_URL_COL_OUT_OF_RANGE','handleIRemoveCol','YUUMI_AI_RUN_FAILED','onPointerLeave$','_drawTextRange','MOBILE_VERIFY_CODE_MISMATCH','unload'];_0xc756=function(){return _0x52cf27;};return _0xc756();}function nt(_0x168e17){const {status$:_0xe956ed}=_0x168e17;return function(){const _0x3b6e5d=_0x3ae7;return P[_0x3b6e5d(0x12d)](tt,{'status$':_0xe956ed});};}const me=a[_0x5871cc(0x39c)](_0x5871cc(0x385));function _0x3ae7(_0x126f58,_0x3b930a){const _0xc756cb=_0xc756();return _0x3ae7=function(_0x3ae7c6,_0x42e502){_0x3ae7c6=_0x3ae7c6-0x123;let _0x43d3ff=_0xc756cb[_0x3ae7c6];return _0x43d3ff;},_0x3ae7(_0x126f58,_0x3b930a);}var rt=Object[_0x5871cc(0x300)],ot=(_0x6633ab,_0x10b0f2,_0x4fbdb2,_0x35fe02)=>{const _0x21644f=_0x5871cc;for(var _0x1d0e0d=_0x35fe02>0x1?void 0x0:_0x35fe02?rt(_0x10b0f2,_0x4fbdb2):_0x10b0f2,_0x4d29c9=_0x6633ab[_0x21644f(0x395)]-0x1,_0x4ecda9;_0x4d29c9>=0x0;_0x4d29c9--)(_0x4ecda9=_0x6633ab[_0x4d29c9])&&(_0x1d0e0d=_0x4ecda9(_0x1d0e0d)||_0x1d0e0d);return _0x1d0e0d;},k=(_0x28ca61,_0x20ef08)=>(_0x33bd28,_0x31070c)=>_0x20ef08(_0x33bd28,_0x31070c,_0x28ca61);exports[_0x5871cc(0x1fc)]=class extends a['RxDisposable']{constructor(_0x2d83b9,_0x3d1829,_0x11c68a,_0x471106,_0x2a3311){const _0x3dad71=_0x5871cc;super(),this['_urlService']=_0x2d83b9,this['_logService']=_0x3d1829,this[_0x3dad71(0x18c)]=_0x11c68a,this[_0x3dad71(0x280)]=_0x471106,_0x2a3311?_0x2a3311==null||_0x2a3311[_0x3dad71(0x310)]()[_0x3dad71(0x342)](()=>this[_0x3dad71(0x278)]()):(this[_0x3dad71(0x1b8)][_0x3dad71(0x2e9)](_0x3dad71(0x13a),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3dad71(0x278)]());}async[_0x5871cc(0x278)](){const _0x261716=_0x5871cc,_0x2d86f9=this['_urlService'][_0x261716(0x15f)](_0x261716(0x17d)),_0x43b6d4=this[_0x261716(0x2fd)][_0x261716(0x15f)](_0x261716(0x129)),_0x44b386=this['_urlService'][_0x261716(0x15f)](_0x261716(0x24f));if(!_0x2d86f9||!_0x43b6d4){this[_0x261716(0x1b8)]['debug']('[CollaborationDataLoaderController]',_0x261716(0x293));return;}const _0x24e394=await this['_dataLoaderService']['loadUnit'](_0x2d86f9,Number(_0x43b6d4),_0x44b386);_0x24e394&&_0x24e394 instanceof a[_0x261716(0x14e)]&&this[_0x261716(0x36d)](_0x24e394);}async[_0x5871cc(0x36d)](_0x352675){const _0x23b1ae=_0x5871cc;await this[_0x23b1ae(0x297)](_0x352675),_0x352675[_0x23b1ae(0x1b6)][_0x23b1ae(0x2e3)](d['takeUntil'](this[_0x23b1ae(0x1ad)]))[_0x23b1ae(0x13f)](_0x3547e8=>{const _0x49db92=_0x23b1ae;_0x3547e8&&this[_0x49db92(0x1a1)](_0x3547e8);}),this[_0x23b1ae(0x2fd)]['urlChange$']['pipe'](d[_0x23b1ae(0x1d7)](this[_0x23b1ae(0x1ad)]))['subscribe'](()=>this[_0x23b1ae(0x297)](_0x352675));}[_0x5871cc(0x1a1)](_0x3ede0c,_0x32f994=!0x1){const _0x1cab4a=_0x5871cc,_0x367da9=this[_0x1cab4a(0x2fd)][_0x1cab4a(0x15f)]('subunit');_0x3ede0c[_0x1cab4a(0x1c3)]()!==_0x367da9&&this[_0x1cab4a(0x2fd)]['setParam']('subunit',_0x3ede0c[_0x1cab4a(0x1c3)](),_0x32f994);}async[_0x5871cc(0x297)](_0x8e5524){const _0x364cd1=_0x5871cc;var _0x473d48;const _0x3ca4b1=this['_urlService']['getParam']('subunit');if(!_0x3ca4b1||!_0x8e5524[_0x364cd1(0x22d)](_0x3ca4b1)){const _0x1331fc=_0x8e5524[_0x364cd1(0x248)]()[0x0],_0x1f2660=_0x8e5524['getSheetBySheetId'](_0x1331fc);if(!_0x1f2660)return;this['_updateURLWithCurrentState'](_0x1f2660,!0x0),await this[_0x364cd1(0x18c)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x8e5524[_0x364cd1(0x364)](),'subUnitId':_0x1331fc});return;}((_0x473d48=_0x8e5524[_0x364cd1(0x160)]())==null?void 0x0:_0x473d48[_0x364cd1(0x1c3)]())!==_0x3ca4b1&&await this['_commandService']['executeCommand'](g[_0x364cd1(0x133)]['id'],{'unitId':_0x8e5524['getUnitId'](),'subUnitId':_0x3ca4b1});}},exports[_0x5871cc(0x1fc)]=ot([k(0x0,me),k(0x1,a['ILogService']),k(0x2,a[_0x5871cc(0x321)]),k(0x3,a[_0x5871cc(0x141)](u['DataLoaderService'])),k(0x4,a[_0x5871cc(0x285)](Xe[_0x5871cc(0x33f)]))],exports[_0x5871cc(0x1fc)]);var at=Object[_0x5871cc(0x300)],ct=(_0x419af5,_0x23f153,_0xea4e2,_0x5b610e)=>{const _0x1feb85=_0x5871cc;for(var _0x3101fd=_0x5b610e>0x1?void 0x0:_0x5b610e?at(_0x23f153,_0xea4e2):_0x23f153,_0x3adbc1=_0x419af5[_0x1feb85(0x395)]-0x1,_0x412e8f;_0x3adbc1>=0x0;_0x3adbc1--)(_0x412e8f=_0x419af5[_0x3adbc1])&&(_0x3101fd=_0x412e8f(_0x3101fd)||_0x3101fd);return _0x3101fd;},be=(_0x5a2cf5,_0x20e2b7)=>(_0x2d7e4d,_0x589a7c)=>_0x20e2b7(_0x2d7e4d,_0x589a7c,_0x5a2cf5);let ue=class extends a[_0x5871cc(0x332)]{constructor(_0x3ecbed,_0xd24b8a){const _0x446e42=_0x5871cc;super(),this[_0x446e42(0x2ac)]=_0x3ecbed,this[_0x446e42(0x26c)]=_0xd24b8a,this[_0x446e42(0x278)]();}[_0x5871cc(0x278)](){const _0x19851d=_0x5871cc,_0x3c6068=this;this[_0x19851d(0x159)](this[_0x19851d(0x2ac)][_0x19851d(0x254)]({'onBeforePasteImage':async _0x48f421=>{const _0x448dac=_0x19851d,_0x20365d=await _0x3c6068[_0x448dac(0x26c)][_0x448dac(0x195)](_0x48f421);return _0x20365d?{'source':_0x20365d['source'],'imageSourceType':_0x20365d['imageSourceType']}:null;}}));}};ue=ct([be(0x0,E[_0x5871cc(0x28d)]),be(0x1,Ge[_0x5871cc(0x28e)])],ue);const Oe=['purple.300','jiqing.500','green.600','red.300',_0x5871cc(0x233),_0x5871cc(0x2d6)];class Ce extends a[_0x5871cc(0x326)]{constructor(){const _0x141ffc=_0x5871cc;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x141ffc(0x2b7),0x0);}['assignAColorForMemberID'](_0x5ae8ea){const _0x3e1d6f=_0x5871cc;if(this['_assignedColors'][_0x3e1d6f(0x37d)](_0x5ae8ea))return this[_0x3e1d6f(0x38d)]['get'](_0x5ae8ea);const _0x2db5f6=Oe[this[_0x3e1d6f(0x2b7)]];return this[_0x3e1d6f(0x2b7)]=(this[_0x3e1d6f(0x2b7)]+0x1)%Oe['length'],this[_0x3e1d6f(0x38d)][_0x3e1d6f(0x2d8)](_0x5ae8ea,_0x2db5f6),_0x2db5f6;}}function ye(_0x34df71){const _0x3a712c=_0x5871cc;let _0x417b07='';for(const _0x57b97d of _0x34df71){const {startOffset:_0x5ab450,endOffset:_0x3ebf9f,isActive:_0x6c2ef6,rangeType:_0x1fc01e,segmentId:_0x165076,segmentPage:_0x9d61cf}=_0x57b97d;_0x417b07[_0x3a712c(0x395)]&&(_0x417b07+=','),_0x417b07+=_0x5ab450+':'+_0x3ebf9f+':'+(_0x6c2ef6?'1':'0')+':'+_0x1fc01e+':'+_0x165076+':'+_0x9d61cf;}return _0x417b07;}function lt(_0x1feca2){const _0x44b261=_0x5871cc,_0x48e2b7=_0x1feca2[_0x44b261(0x2db)](','),_0x1c8f9a=[];for(const _0x301602 of _0x48e2b7){const [_0xdc6351,_0x10337b,_0x218761,_0x44a296,_0x1d7e0d,_0x418ccd]=_0x301602[_0x44b261(0x2db)](':');_0x1c8f9a['push']({'startOffset':Number(_0xdc6351),'endOffset':Number(_0x10337b),'collapsed':_0xdc6351===_0x10337b,'isActive':_0x218761==='1','rangeType':_0x44a296===a[_0x44b261(0x2b4)]['TEXT']?a[_0x44b261(0x2b4)][_0x44b261(0x22e)]:a['DOC_RANGE_TYPE'][_0x44b261(0x21f)],'segmentId':typeof _0x1d7e0d==_0x44b261(0x336)?String(_0x1d7e0d):'','segmentPage':Number(_0x418ccd!=null?_0x418ccd:-0x1)});}return _0x1c8f9a[_0x44b261(0x1c7)](_0x5e98fa=>_0x5e98fa[_0x44b261(0x257)])||(_0x1c8f9a[0x0][_0x44b261(0x257)]=!0x0),_0x1c8f9a;}class pe extends a['RxDisposable']{constructor(){const _0x4db936=_0x5871cc;super(...arguments),h(this,_0x4db936(0x37c),new d[(_0x4db936(0x344))](null)),h(this,_0x4db936(0x25c),this['_collabCursorState$'][_0x4db936(0x269)]());}[_0x5871cc(0x2a5)](_0x529e77){const _0x962ccc=_0x5871cc,{unitID:_0x14af55,memberID:_0x3a2977,textRanges:_0x2bf8a3}=_0x529e77,_0x37c16a=ye(_0x2bf8a3);if(_0x37c16a==='')return;const _0x5ef28d={'unitID':_0x14af55,'memberID':_0x3a2977,'selection':_0x37c16a};this[_0x962ccc(0x37c)]['next'](_0x5ef28d);}}var _t=Object['getOwnPropertyDescriptor'],ht=(_0x1c6299,_0x432b8c,_0x2356f4,_0x1fc9e5)=>{for(var _0x11913b=_0x1fc9e5>0x1?void 0x0:_0x1fc9e5?_t(_0x432b8c,_0x2356f4):_0x432b8c,_0x37caa5=_0x1c6299['length']-0x1,_0x5aa34a;_0x37caa5>=0x0;_0x37caa5--)(_0x5aa34a=_0x1c6299[_0x37caa5])&&(_0x11913b=_0x5aa34a(_0x11913b)||_0x11913b);return _0x11913b;},L=(_0x2a22f2,_0x101112)=>(_0x1195d3,_0x6a553e)=>_0x101112(_0x1195d3,_0x6a553e,_0x2a22f2);const ut=0x12c,dt=0x64;let de=class extends a[_0x5871cc(0x332)]{constructor(_0x350d1f,_0x592370,_0x941d9e,_0x22841d,_0x21aa5f,_0x1993de,_0x244946,_0x3b29ac,_0x319e26){const _0x5c73fc=_0x5871cc;super(),h(this,_0x5c73fc(0x17c),!0x1),h(this,_0x5c73fc(0x278),!0x1),h(this,'_cursorInfo$',new d['BehaviorSubject'](new Map())),h(this,_0x5c73fc(0x322),this[_0x5c73fc(0x134)][_0x5c73fc(0x269)]()),h(this,'_roomMembers$',new d[(_0x5c73fc(0x344))]([])),h(this,_0x5c73fc(0x19d),this[_0x5c73fc(0x16d)][_0x5c73fc(0x2e3)](d[_0x5c73fc(0x27d)](ut))),h(this,_0x5c73fc(0x151),a[_0x5c73fc(0x286)](_0x417540=>{const _0x11bc72=_0x5c73fc,_0x30895e={'eventID':m[_0x11bc72(0x1c6)][_0x11bc72(0x37e)],'data':{'unitID':this[_0x11bc72(0x20f)],'memberID':this[_0x11bc72(0x243)][_0x11bc72(0x320)](),'selection':ye(_0x417540)}};this[_0x11bc72(0x243)][_0x11bc72(0x1b4)](_0x30895e,this[_0x11bc72(0x20f)]);},dt)),(this['unitID']=_0x350d1f,this[_0x5c73fc(0x243)]=_0x592370,this['_injector']=_0x941d9e,this['_colorAssignService']=_0x22841d,this['_memberService']=_0x21aa5f,this[_0x5c73fc(0x214)]=_0x1993de,this[_0x5c73fc(0x20b)]=_0x244946,this[_0x5c73fc(0x260)]=_0x3b29ac,this[_0x5c73fc(0x18c)]=_0x319e26);}get[_0x5871cc(0x147)](){const _0x4857f1=_0x5871cc;return this['_cursorInfo$'][_0x4857f1(0x1ca)]();}get['roomMembers'](){const _0x109dad=_0x5871cc;return this[_0x109dad(0x16d)][_0x109dad(0x1ca)]();}[_0x5871cc(0x158)](){const _0x3b7c5b=_0x5871cc;super['dispose'](),this['_cursorInfo$'][_0x3b7c5b(0x13c)](new Map()),this['_cursorInfo$']['complete'](),this[_0x3b7c5b(0x16d)][_0x3b7c5b(0x13c)]([]),this[_0x3b7c5b(0x16d)][_0x3b7c5b(0x1c8)]();}[_0x5871cc(0x2ed)](){const _0x3d7d17=_0x5871cc;this['_init']||(this[_0x3d7d17(0x278)]=!0x0,this[_0x3d7d17(0x243)][_0x3d7d17(0x26e)][_0x3d7d17(0x2e3)](d[_0x3d7d17(0x1d7)](this[_0x3d7d17(0x1ad)]))[_0x3d7d17(0x13f)](_0x57c3f6=>{const _0x46b109=_0x3d7d17;_0x57c3f6===u[_0x46b109(0x28f)][_0x46b109(0x1f2)]?this[_0x46b109(0x19e)]():this[_0x46b109(0x25d)]();}),this[_0x3d7d17(0x243)][_0x3d7d17(0x391)][_0x3d7d17(0x2e3)](d[_0x3d7d17(0x1d7)](this[_0x3d7d17(0x1ad)]))[_0x3d7d17(0x13f)](_0xd3aeb6=>{const _0x167f5c=_0x3d7d17,_0x2e2974=_0xd3aeb6[_0x167f5c(0x2a2)];_0x2e2974===m[_0x167f5c(0x1c6)][_0x167f5c(0x37e)]&&this[_0x167f5c(0x357)](_0xd3aeb6),_0x2e2974===m[_0x167f5c(0x1c6)][_0x167f5c(0x325)]&&this['_onCursorDelete'](_0xd3aeb6);}),this['disposeWithMe'](this[_0x3d7d17(0x18c)][_0x3d7d17(0x2b8)](_0x42c1a4=>{const _0x588dfd=_0x3d7d17,_0x349c2d=_0x42c1a4[_0x588dfd(0x212)];_0x349c2d!=null&&this[_0x588dfd(0x17c)]&&_0x42c1a4['id']===Y['SetTextSelectionsOperation']['id']&&_0x349c2d[_0x588dfd(0x287)]===this[_0x588dfd(0x20f)]&&_0x349c2d['isEditing']===!0x1&&_0x349c2d[_0x588dfd(0x36c)][_0x588dfd(0x395)]>0x0&&this[_0x588dfd(0x151)](_0x349c2d[_0x588dfd(0x36c)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](d['takeUntil'](this['dispose$']))[_0x3d7d17(0x13f)](_0x395c2d=>{const _0x32fa59=_0x3d7d17;if((_0x395c2d==null?void 0x0:_0x395c2d[_0x32fa59(0x20f)])!==this['unitID'])return;const _0x564b6c={'eventID':m[_0x32fa59(0x1c6)][_0x32fa59(0x37e)],'data':_0x395c2d};this[_0x32fa59(0x357)](_0x564b6c);}),this['disposeWithMe'](this[_0x3d7d17(0x18c)][_0x3d7d17(0x2b8)](_0x180088=>{const _0x28004f=_0x3d7d17;if(_0x180088['params']==null)return;const _0x2eb3c6=_0x180088['params'];if(_0x180088['id']!==Y[_0x28004f(0x32f)]['id']||_0x2eb3c6['unitId']!==this['unitID'])return;const _0x47432b={'id':_0x28004f(0x253),'params':_0x2eb3c6},_0x4075ec=this['cursorInfo'];for(const [_0x3e6f9d,_0x338776]of _0x4075ec){const _0x12c491={'id':_0x28004f(0x253),'params':{'unitId':this[_0x28004f(0x20f)],'actions':null,'textRanges':_0x338776[_0x28004f(0x36c)]}},_0x4269a4=this['_transformService'][_0x28004f(0x330)](_0x47432b,_0x12c491,!0x1);if(m[_0x28004f(0x25e)](_0x4269a4))throw _0x4269a4['error'];_0x4075ec['set'](_0x3e6f9d,{..._0x338776,'ranges':_0x4269a4[_0x28004f(0x2fc)][_0x28004f(0x212)][_0x28004f(0x2f7)]});}queueMicrotask(()=>{const _0x5dfa7=_0x28004f;this[_0x5dfa7(0x134)][_0x5dfa7(0x13c)](_0x4075ec);});})));}['_onCursorUpdate'](_0x37bed1){const _0x4a4a13=_0x5871cc;var _0x1e5fe0,_0x3a26cb;const {memberID:_0xb3abfb,selection:_0x418127}=_0x37bed1[_0x4a4a13(0x1e3)],_0x442c01=lt(_0x418127),_0xe05edd=(_0x3a26cb=(_0x1e5fe0=this[_0x4a4a13(0x17a)][_0x4a4a13(0x348)](this['unitID'],_0xb3abfb))==null?void 0x0:_0x1e5fe0[_0x4a4a13(0x2ee)])!=null?_0x3a26cb:_0x4a4a13(0x316),_0x27d455={'color':this[_0x4a4a13(0x2fe)][_0x4a4a13(0x16c)](_0xb3abfb),'name':_0xe05edd,'ranges':_0x442c01},_0x38fac5=this[_0x4a4a13(0x147)];_0x38fac5[_0x4a4a13(0x2d8)](_0xb3abfb,_0x27d455),this['_cursorInfo$']['next'](_0x38fac5);}[_0x5871cc(0x396)](_0x56a63c){const _0x5c7d15=_0x5871cc,{memberID:_0x4c371d}=_0x56a63c[_0x5c7d15(0x1e3)],_0x13d2d6=this[_0x5c7d15(0x147)];_0x13d2d6[_0x5c7d15(0x174)](_0x4c371d),this[_0x5c7d15(0x134)][_0x5c7d15(0x13c)](_0x13d2d6);}['_toggleOnline'](){const _0x2b91a9=_0x5871cc;var _0x5b4462;if(this[_0x2b91a9(0x17c)]=!0x0,((_0x5b4462=this[_0x2b91a9(0x260)]['getFocusedUnit']())==null?void 0x0:_0x5b4462['getUnitId']())!==this[_0x2b91a9(0x20f)])return;const _0x2068e9=this[_0x2b91a9(0x209)]['get'](Y[_0x2b91a9(0x27c)])['getDocRanges']();Array[_0x2b91a9(0x31a)](_0x2068e9)&&_0x2068e9[_0x2b91a9(0x395)]>0x0&&this[_0x2b91a9(0x151)](_0x2068e9);}[_0x5871cc(0x25d)](){this['_online']=!0x1;}};de=ht([L(0x2,a[_0x5871cc(0x141)](a[_0x5871cc(0x31e)])),L(0x3,a['Inject'](Ce)),L(0x4,a[_0x5871cc(0x141)](u[_0x5871cc(0x198)])),L(0x5,a[_0x5871cc(0x141)](pe)),L(0x6,m[_0x5871cc(0x382)]),L(0x7,a[_0x5871cc(0x2b1)]),L(0x8,a[_0x5871cc(0x321)])],de);var St=Object['getOwnPropertyDescriptor'],ft=(_0x31afb3,_0x28b8e3,_0x2b751e,_0x1fd770)=>{const _0x401f75=_0x5871cc;for(var _0x360fdc=_0x1fd770>0x1?void 0x0:_0x1fd770?St(_0x28b8e3,_0x2b751e):_0x28b8e3,_0x4662b7=_0x31afb3[_0x401f75(0x395)]-0x1,_0x758a2c;_0x4662b7>=0x0;_0x4662b7--)(_0x758a2c=_0x31afb3[_0x4662b7])&&(_0x360fdc=_0x758a2c(_0x360fdc)||_0x360fdc);return _0x360fdc;},A=(_0x4e045d,_0x2c4cc9)=>(_0x2fc6f0,_0x4f03c5)=>_0x2c4cc9(_0x2fc6f0,_0x4f03c5,_0x4e045d);const It=0x12c,vt=0x64,gt=()=>{let _0x42af16=[],_0x19b99d=!0x1;return _0x1bc344=>{const _0xfd0745=_0x3ae7;_0x42af16[_0xfd0745(0x1ea)](_0x1bc344),_0x19b99d||(_0x19b99d=!0x0,setTimeout(()=>{const _0x55e5f0=_0xfd0745;_0x42af16[_0x55e5f0(0x2de)](_0x313396=>_0x313396()),_0x42af16=[],_0x19b99d=!0x1;}));};};let Se=class extends a[_0x5871cc(0x332)]{constructor(_0x4510f1,_0xa2c266,_0xc51e72,_0x5b9f6c,_0x2b1741,_0xff03db,_0x4e17d4,_0xdb4919){const _0x336867=_0x5871cc;super(),h(this,_0x336867(0x17c),!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new d['BehaviorSubject'](new Map())),h(this,_0x336867(0x322),this['_cursorInfo$']['asObservable']()),h(this,'_roomMembers$',new d[(_0x336867(0x344))]([])),h(this,_0x336867(0x19d),this['_roomMembers$'][_0x336867(0x2e3)](d[_0x336867(0x27d)](It))),h(this,'_updateLocalCursor',a[_0x336867(0x286)]((_0x10dc96,_0x5e5ad8)=>{const _0x524928=_0x336867,_0x31b54a={'eventID':m[_0x524928(0x1c6)][_0x524928(0x37e)],'data':{'unitID':this[_0x524928(0x20f)],'memberID':this[_0x524928(0x243)][_0x524928(0x320)](),'selection':Ee[_0x524928(0x2c9)](_0x10dc96,_0x5e5ad8['range'])}};this[_0x524928(0x243)]['send'](_0x31b54a,this['unitID']);},vt)),(this[_0x336867(0x20f)]=_0x4510f1,this[_0x336867(0x243)]=_0xa2c266,this[_0x336867(0x209)]=_0xc51e72,this[_0x336867(0x2fe)]=_0x5b9f6c,this[_0x336867(0x17a)]=_0x2b1741,this[_0x336867(0x260)]=_0xff03db,this[_0x336867(0x18c)]=_0x4e17d4,this['_refRangeService']=_0xdb4919);}get[_0x5871cc(0x147)](){const _0x47efac=_0x5871cc;return this[_0x47efac(0x134)][_0x47efac(0x1ca)]();}get[_0x5871cc(0x1e9)](){const _0xc59c38=_0x5871cc;return this[_0xc59c38(0x16d)][_0xc59c38(0x1ca)]();}['dispose'](){const _0x4e5f3b=_0x5871cc;super[_0x4e5f3b(0x158)](),this[_0x4e5f3b(0x134)][_0x4e5f3b(0x13c)](new Map()),this[_0x4e5f3b(0x134)][_0x4e5f3b(0x1c8)](),this[_0x4e5f3b(0x16d)][_0x4e5f3b(0x13c)]([]),this[_0x4e5f3b(0x16d)][_0x4e5f3b(0x1c8)]();}[_0x5871cc(0x2ed)](){const _0x18adfc=_0x5871cc;this['_init']||(this[_0x18adfc(0x278)]=!0x0,this[_0x18adfc(0x243)][_0x18adfc(0x26e)][_0x18adfc(0x2e3)](d[_0x18adfc(0x1d7)](this[_0x18adfc(0x1ad)]))[_0x18adfc(0x13f)](_0x847c04=>{const _0x5dbe9c=_0x18adfc;_0x847c04===u[_0x5dbe9c(0x28f)]['ONLINE']?this['_toggleOnline']():this[_0x5dbe9c(0x25d)]();}),this['_session'][_0x18adfc(0x391)][_0x18adfc(0x2e3)](d['takeUntil'](this[_0x18adfc(0x1ad)]))[_0x18adfc(0x13f)](_0x33d8a7=>{const _0x2c927f=_0x18adfc,_0xfb77af=_0x33d8a7['eventID'];_0xfb77af===m[_0x2c927f(0x1c6)][_0x2c927f(0x37e)]&&this[_0x2c927f(0x357)](_0x33d8a7),_0xfb77af===m[_0x2c927f(0x1c6)][_0x2c927f(0x325)]&&this[_0x2c927f(0x396)](_0x33d8a7);}),this[_0x18adfc(0x372)](),this[_0x18adfc(0x159)](this[_0x18adfc(0x18c)][_0x18adfc(0x2b8)](_0x5e02b9=>{const _0x3e62c6=_0x18adfc;if(this['_online']&&_0x5e02b9['id']===g[_0x3e62c6(0x27b)]['id']&&_0x5e02b9[_0x3e62c6(0x212)][_0x3e62c6(0x287)]===this['unitID']){const _0x45a231=_0x5e02b9['params'];this['_updateLocalCursor'](_0x45a231[_0x3e62c6(0x21c)],_0x45a231['selections'][0x0]);}})));}[_0x5871cc(0x357)](_0x2b0bf6){const _0x1ef1f3=_0x5871cc;var _0x5501ae,_0x745ba6;const {memberID:_0x55f5ca,selection:_0x5c6d31}=_0x2b0bf6[_0x1ef1f3(0x1e3)],{sheetName:_0x235a65,range:_0x596505}=Ee[_0x1ef1f3(0x1a0)](_0x5c6d31),_0x300e91={'name':(_0x745ba6=(_0x5501ae=this['_memberService'][_0x1ef1f3(0x348)](this['unitID'],_0x55f5ca))==null?void 0x0:_0x5501ae[_0x1ef1f3(0x2ee)])!=null?_0x745ba6:'Unknown\x20user','range':this[_0x1ef1f3(0x1d1)](_0x235a65,_0x596505),'sheetID':_0x235a65,'color':this[_0x1ef1f3(0x2fe)][_0x1ef1f3(0x16c)](_0x55f5ca),'selection':_0x5c6d31},_0x2cc08e=this[_0x1ef1f3(0x147)];_0x2cc08e[_0x1ef1f3(0x2d8)](_0x55f5ca,_0x300e91),this[_0x1ef1f3(0x134)]['next'](_0x2cc08e);}[_0x5871cc(0x396)](_0x2c91a3){const _0x58a499=_0x5871cc,{memberID:_0x224c37}=_0x2c91a3[_0x58a499(0x1e3)],_0x1e0c32=this[_0x58a499(0x147)];_0x1e0c32[_0x58a499(0x174)](_0x224c37),this[_0x58a499(0x134)][_0x58a499(0x13c)](_0x1e0c32);}[_0x5871cc(0x1d1)](_0x5b09d5,_0x49d249){const _0x2b4544=_0x5871cc;var _0x3d09b9,_0x3b5120;const _0x50e4b6=(_0x3b5120=(_0x3d09b9=this[_0x2b4544(0x260)]['getUniverSheetInstance'](this[_0x2b4544(0x20f)]))==null?void 0x0:_0x3d09b9['getSheetBySheetId'](_0x5b09d5))==null?void 0x0:_0x3b5120['getMergeData']();return(_0x50e4b6==null?void 0x0:_0x50e4b6['find'](_0xb34813=>a[_0x2b4544(0x31f)][_0x2b4544(0x24c)](_0xb34813,_0x49d249)))||_0x49d249;}['_onRefRangeChange'](){const _0x37d3be=_0x5871cc,_0x5a34ba=new a[(_0x37d3be(0x303))](),_0x5b54ce=gt(),_0x2ea325=()=>{const _0x2041d6=_0x37d3be;_0x5a34ba['dispose']();const _0x1b51c9=(_0x1ebf28,_0x367f08,_0x1365b8,_0x3d80d6)=>{const _0x5cbc82=_0x3ae7;let _0x5e414f=[];switch(_0x1ebf28['id']){case g[_0x5cbc82(0x2d9)][_0x5cbc82(0x352)]:{_0x5e414f=g[_0x5cbc82(0x17e)](_0x1ebf28,_0x3d80d6);break;}case g['EffectRefRangId'][_0x5cbc82(0x2be)]:{_0x5e414f=g[_0x5cbc82(0x2dd)](_0x1ebf28,_0x3d80d6);break;}case g[_0x5cbc82(0x2d9)][_0x5cbc82(0x2f8)]:{_0x5e414f=g['handleInsertCol'](_0x1ebf28,_0x3d80d6);break;}case g[_0x5cbc82(0x2d9)][_0x5cbc82(0x349)]:{_0x5e414f=g[_0x5cbc82(0x2ae)](_0x1ebf28,_0x3d80d6);break;}case g[_0x5cbc82(0x2d9)][_0x5cbc82(0x305)]:{_0x5e414f=g[_0x5cbc82(0x217)](_0x1ebf28,_0x3d80d6);break;}case g['EffectRefRangId'][_0x5cbc82(0x2ce)]:{_0x5e414f=g['handleInsertRow'](_0x1ebf28,_0x3d80d6);break;}case g[_0x5cbc82(0x2d9)][_0x5cbc82(0x144)]:{_0x5e414f=g[_0x5cbc82(0x19b)](_0x1ebf28,_0x3d80d6);break;}case g[_0x5cbc82(0x2d9)][_0x5cbc82(0x187)]:{_0x5e414f=g[_0x5cbc82(0x262)](_0x1ebf28,_0x3d80d6);break;}case g[_0x5cbc82(0x2d9)]['RemoveRowCommandId']:{_0x5e414f=g['handleIRemoveRow'](_0x1ebf28,_0x3d80d6);break;}}const _0x16b437=g['runRefRangeMutations'](_0x5e414f,_0x3d80d6),_0x176840=this[_0x5cbc82(0x147)]['get'](_0x367f08);if(_0x176840&&_0x16b437){const _0x339e38={..._0x176840,'range':_0x16b437};this[_0x5cbc82(0x147)]['set'](_0x367f08,_0x339e38),_0x5b54ce(()=>{const _0x236ee2=_0x5cbc82,_0x6a273f=this[_0x236ee2(0x13b)]['registerRefRange'](_0x16b437,_0x111c84=>(_0x6a273f[_0x236ee2(0x158)](),_0x1b51c9(_0x111c84,_0x367f08,_0x1365b8,_0x16b437)));_0x5a34ba['add'](_0x6a273f);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x2041d6(0x2de)]((_0x1917be,_0x1a5343)=>{const _0x6d095c=_0x2041d6,{range:_0x11fae5,sheetID:_0x2be4ea}=_0x1917be,_0x3395cf=this[_0x6d095c(0x13b)]['registerRefRange'](_0x11fae5,_0x353ccf=>(_0x3395cf[_0x6d095c(0x158)](),_0x1b51c9(_0x353ccf,_0x1a5343,_0x2be4ea,_0x11fae5)));_0x5a34ba[_0x6d095c(0x388)](_0x3395cf);});};this[_0x37d3be(0x159)](a[_0x37d3be(0x123)](this[_0x37d3be(0x134)]['subscribe'](()=>{_0x2ea325();})));}['_toggleOnline'](){const _0x5eace1=_0x5871cc;var _0x486322,_0x338322;if(this[_0x5eace1(0x17c)]=!0x0,((_0x486322=this[_0x5eace1(0x260)]['getFocusedUnit']())==null?void 0x0:_0x486322[_0x5eace1(0x364)]())!==this[_0x5eace1(0x20f)])return;const _0x10c619=(_0x338322=this[_0x5eace1(0x209)][_0x5eace1(0x140)](g[_0x5eace1(0x237)])[_0x5eace1(0x272)]())==null?void 0x0:_0x338322[0x0],_0x2eebf6=this[_0x5eace1(0x260)][_0x5eace1(0x178)](a['UniverInstanceType'][_0x5eace1(0x1e4)])['getActiveSheet']();_0x10c619&&_0x2eebf6&&this['_updateLocalCursor'](_0x2eebf6[_0x5eace1(0x1c3)](),_0x10c619);}[_0x5871cc(0x25d)](){const _0x4a5d33=_0x5871cc;this[_0x4a5d33(0x17c)]=!0x1;}};Se=ft([A(0x2,a[_0x5871cc(0x141)](a[_0x5871cc(0x31e)])),A(0x3,a[_0x5871cc(0x141)](Ce)),A(0x4,a[_0x5871cc(0x141)](u[_0x5871cc(0x198)])),A(0x5,a[_0x5871cc(0x2b1)]),A(0x6,a['ICommandService']),A(0x7,a['Inject'](g['RefRangeService']))],Se);var mt=Object['getOwnPropertyDescriptor'],Ct=(_0x4f217e,_0x5121ef,_0x2b148e,_0x311fa3)=>{for(var _0x5084cd=_0x311fa3>0x1?void 0x0:_0x311fa3?mt(_0x5121ef,_0x2b148e):_0x5121ef,_0x4b50ac=_0x4f217e['length']-0x1,_0x4535e1;_0x4b50ac>=0x0;_0x4b50ac--)(_0x4535e1=_0x4f217e[_0x4b50ac])&&(_0x5084cd=_0x4535e1(_0x5084cd)||_0x5084cd);return _0x5084cd;},ie=(_0x2074dd,_0x37d6d4)=>(_0x1e295c,_0x4d9a65)=>_0x37d6d4(_0x1e295c,_0x4d9a65,_0x2074dd);let x=class extends a[_0x5871cc(0x332)]{constructor(_0x52834b,_0x14fde6,_0x538c75){const _0x155e9f=_0x5871cc;super(),h(this,'_entities',new Map()),h(this,_0x155e9f(0x274),new d[(_0x155e9f(0x1f1))]()),(this[_0x155e9f(0x260)]=_0x52834b,this[_0x155e9f(0x209)]=_0x14fde6,this[_0x155e9f(0x34e)]=_0x538c75,this[_0x155e9f(0x278)]());}[_0x5871cc(0x158)](){const _0x18a04b=_0x5871cc;super[_0x18a04b(0x158)](),this[_0x18a04b(0x274)][_0x18a04b(0x1c8)](),this[_0x18a04b(0x2f3)][_0x18a04b(0x2de)](_0x15cd37=>_0x15cd37[_0x18a04b(0x158)]());}[_0x5871cc(0x1ef)](_0x2424f2){const _0x3df48d=_0x5871cc;return this[_0x3df48d(0x2f3)]['has'](_0x2424f2)?this[_0x3df48d(0x2f3)][_0x3df48d(0x140)](_0x2424f2)[_0x3df48d(0x322)]:this[_0x3df48d(0x274)]['pipe'](d['filter'](_0x1db154=>_0x1db154[_0x3df48d(0x20f)]===_0x2424f2),d[_0x3df48d(0x363)](_0x48f0cf=>_0x48f0cf[_0x3df48d(0x322)]));}[_0x5871cc(0x278)](){const _0x112ae7=_0x5871cc;this[_0x112ae7(0x260)][_0x112ae7(0x223)](a[_0x112ae7(0x308)][_0x112ae7(0x1e4)])[_0x112ae7(0x2e3)](d['takeUntil'](this[_0x112ae7(0x1ad)]))[_0x112ae7(0x13f)](async _0x20399b=>{const _0x4c8b4a=_0x112ae7,_0x5ca5bc=_0x20399b[_0x4c8b4a(0x364)](),_0x40a600=await this['_startSheetCollabCursor'](_0x5ca5bc);this[_0x4c8b4a(0x274)]['next'](_0x40a600),this[_0x4c8b4a(0x2f3)][_0x4c8b4a(0x2d8)](_0x5ca5bc,_0x40a600);}),this[_0x112ae7(0x260)][_0x112ae7(0x223)](a[_0x112ae7(0x308)][_0x112ae7(0x1eb)])[_0x112ae7(0x2e3)](d[_0x112ae7(0x1d7)](this[_0x112ae7(0x1ad)]))[_0x112ae7(0x2e3)](d[_0x112ae7(0x2d3)](_0x1cf056=>!_0x1cf056[_0x112ae7(0x364)]()[_0x112ae7(0x2e4)]('__')))[_0x112ae7(0x13f)](async _0x464cb9=>{const _0x2ff6a2=_0x112ae7,_0x4701ee=_0x464cb9[_0x2ff6a2(0x364)](),_0x130f0c=await this[_0x2ff6a2(0x196)](_0x4701ee);this['_entityInit$'][_0x2ff6a2(0x13c)](_0x130f0c),this['_entities'][_0x2ff6a2(0x2d8)](_0x4701ee,_0x130f0c);}),d[_0x112ae7(0x1a7)](this[_0x112ae7(0x260)][_0x112ae7(0x1ba)](a[_0x112ae7(0x308)]['UNIVER_DOC']),this['_univerInstanceService'][_0x112ae7(0x1ba)](a[_0x112ae7(0x308)][_0x112ae7(0x1e4)]))[_0x112ae7(0x2e3)](d[_0x112ae7(0x1d7)](this[_0x112ae7(0x1ad)]))[_0x112ae7(0x13f)](_0x390e8f=>{const _0x1b9e40=_0x112ae7,_0x12a0d7=_0x390e8f[_0x1b9e40(0x364)](),_0x2b0431=this[_0x1b9e40(0x2f3)][_0x1b9e40(0x140)](_0x12a0d7);_0x2b0431&&(_0x2b0431[_0x1b9e40(0x158)](),this[_0x1b9e40(0x2f3)][_0x1b9e40(0x174)](_0x12a0d7));});}async[_0x5871cc(0x26f)](_0x39ffc9){const _0x22ee53=_0x5871cc,_0x47348f=await this[_0x22ee53(0x34e)][_0x22ee53(0x2a8)](_0x39ffc9),_0x1c130e=this[_0x22ee53(0x209)][_0x22ee53(0x24d)](Se,_0x39ffc9,_0x47348f);return _0x1c130e['init'](),_0x1c130e;}async[_0x5871cc(0x196)](_0x45d6a2){const _0x4512c0=_0x5871cc,_0x1923c0=await this[_0x4512c0(0x34e)][_0x4512c0(0x2a8)](_0x45d6a2),_0x4cd903=this['_injector'][_0x4512c0(0x24d)](de,_0x45d6a2,_0x1923c0);return _0x4cd903[_0x4512c0(0x2ed)](),_0x4cd903;}};x=Ct([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x5871cc(0x141)](a[_0x5871cc(0x31e)])),ie(0x2,a['Inject'](u[_0x5871cc(0x21a)]))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x8f909e,_0x24e60a){const _0x15821e=_0x5871cc;let {radius:_0x2473fb,width:_0x1ecfa5,height:_0x535c07}=_0x24e60a;_0x2473fb=_0x2473fb!=null?_0x2473fb:0x0,_0x1ecfa5=_0x1ecfa5!=null?_0x1ecfa5:0x1e,_0x535c07=_0x535c07!=null?_0x535c07:0x1e;let _0x58932f=0x0,_0x9ad13a=0x0,_0x15415d=0x0;_0x58932f=_0x9ad13a=_0x15415d=Math[_0x15821e(0x255)](_0x2473fb,_0x1ecfa5/0x2,_0x535c07/0x2),_0x8f909e[_0x15821e(0x34c)](),_0x8f909e['moveTo'](_0x58932f,0x0),_0x8f909e['lineTo'](_0x1ecfa5-_0x9ad13a,0x0),_0x8f909e[_0x15821e(0x2e2)](_0x1ecfa5-_0x9ad13a,_0x9ad13a,_0x9ad13a,Math['PI']*0x3/0x2,0x0,!0x1),_0x8f909e[_0x15821e(0x1f0)](_0x1ecfa5,_0x535c07-_0x15415d),_0x8f909e[_0x15821e(0x2e2)](_0x1ecfa5-_0x15415d,_0x535c07-_0x15415d,_0x15415d,0x0,Math['PI']/0x2,!0x1),_0x8f909e['lineTo'](0x0,_0x535c07),_0x8f909e[_0x15821e(0x1f0)](0x0,_0x58932f),_0x8f909e[_0x15821e(0x2e2)](_0x58932f,_0x58932f,_0x58932f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8f909e['closePath'](),_0x24e60a['fill']&&(_0x8f909e[_0x15821e(0x148)](),_0x8f909e['fillStyle']=_0x24e60a['fill'],_0x24e60a[_0x15821e(0x1a4)]===_0x15821e(0x1d0)?_0x8f909e[_0x15821e(0x169)](_0x15821e(0x1d0)):_0x8f909e[_0x15821e(0x169)](),_0x8f909e[_0x15821e(0x185)]());}class ee extends p[_0x5871cc(0x2ef)]{constructor(_0x4f4436,_0x3db64a){const _0x328cb8=_0x5871cc;super(_0x4f4436,_0x3db64a),h(this,_0x328cb8(0x312)),h(this,_0x328cb8(0x1f6)),(this['color']=_0x3db64a==null?void 0x0:_0x3db64a['color'],this[_0x328cb8(0x1f6)]=_0x3db64a==null?void 0x0:_0x3db64a[_0x328cb8(0x1f6)]);}static[_0x5871cc(0x392)](_0xa450cd,_0x31df75){const _0x4f69de=_0x5871cc,{text:_0x539aaa,color:_0xfce5fb}=_0x31df75;_0xa450cd[_0x4f69de(0x148)](),_0xa450cd[_0x4f69de(0x12a)]=_0x4f69de(0x340);const _0x328ff2=_0xa450cd['measureText'](_0x539aaa)[_0x4f69de(0x1df)],_0x1b2b10=Math['min'](_0x328ff2+0x2*ne,Te);Et(_0xa450cd,{'height':W,'radius':0x4,'width':_0x1b2b10,'fill':_0xfce5fb}),_0xa450cd['fillStyle']='#FFF';const _0x2efbae=ne,_0x4c0c34=W-pt,_0xf2eb31=Te-0x2*ne;if(_0x328ff2>_0xf2eb31){let _0x267757='',_0x2e9afb=0x0;for(const _0x189d0d of _0x539aaa){const _0x4cb805=_0xa450cd[_0x4f69de(0x126)](_0x189d0d)['width'];if(_0x2e9afb+_0x4cb805<=_0xf2eb31-_0xa450cd[_0x4f69de(0x126)]('...')[_0x4f69de(0x1df)])_0x267757+=_0x189d0d,_0x2e9afb+=_0x4cb805;else{_0x267757+='...';break;}}_0xa450cd[_0x4f69de(0x39a)](_0x267757,_0x2efbae,_0x4c0c34);}else _0xa450cd[_0x4f69de(0x39a)](_0x539aaa,_0x2efbae,_0x4c0c34);_0xa450cd[_0x4f69de(0x185)]();}['_draw'](_0x347989){ee['drawWith'](_0x347989,this);}}const re=_0x5871cc(0x39b),bt=_0x5871cc(0x20a),Ot=_0x5871cc(0x368),F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0x5871cc(0x208);class Re{constructor(_0x289e33,_0x1489ca,_0x500f92,_0x346886){const _0x26cc1f=_0x5871cc;h(this,'_shapes',[]),h(this,_0x26cc1f(0x307),null),h(this,_0x26cc1f(0x222),null),h(this,'_anchorDot',null),h(this,_0x26cc1f(0x12e),null),h(this,_0x26cc1f(0x302),null),(this[_0x26cc1f(0x2c2)]=_0x289e33,this[_0x26cc1f(0x329)]=_0x1489ca,this[_0x26cc1f(0x20d)]=_0x500f92,this['_document']=_0x346886,this[_0x26cc1f(0x259)]());}set[_0x5871cc(0x149)](_0x1f9093){const _0x411f60=_0x5871cc;_0x1f9093?(this[_0x411f60(0x18d)]&&this['_anchorDot'][_0x411f60(0x35e)](),this['_textBubble']&&this[_0x411f60(0x222)][_0x411f60(0x1a8)]()):(this[_0x411f60(0x18d)]&&this['_anchorDot']['show'](),this[_0x411f60(0x222)]&&this[_0x411f60(0x222)][_0x411f60(0x35e)]());}[_0x5871cc(0x158)](){const _0x4b8fd7=_0x5871cc;for(const _0x47fc87 of this['_shapes'])_0x47fc87[_0x4b8fd7(0x158)]();this[_0x4b8fd7(0x222)]&&this[_0x4b8fd7(0x222)][_0x4b8fd7(0x158)](),this[_0x4b8fd7(0x18d)]&&this[_0x4b8fd7(0x18d)][_0x4b8fd7(0x158)](),this[_0x4b8fd7(0x307)]&&this[_0x4b8fd7(0x307)][_0x4b8fd7(0x158)](),this['_eventUnsubscribe']&&this[_0x4b8fd7(0x302)]();}[_0x5871cc(0x259)](){const _0x34fc88=_0x5871cc;var _0x428a5a;const {_docSkeleton:_0x7edb84,_document:_0x50e580}=this,{color:_0x4599cb,name:_0x60c443,ranges:_0x227026}=this['_cursor'],_0x517b2a=_0x50e580[_0x34fc88(0x31b)](),{docsLeft:_0x295ebc,docsTop:_0x500878}=_0x517b2a,_0x5b3cba=new E[(_0x34fc88(0x397))](_0x517b2a,_0x7edb84);for(const {startOffset:_0x29c842,endOffset:_0x25d7b3,rangeType:_0xa240d,segmentId:_0x271658,segmentPage:_0x991d32,collapsed:_0x13e474,isActive:_0x349591}of _0x227026){const _0xc0dbd8=_0x7edb84[_0x34fc88(0x271)](_0x29c842,!0x0,_0x271658,_0x991d32);let _0x34cd06=_0x7edb84[_0x34fc88(0x271)](_0x25d7b3,!0x0,_0x271658,_0x991d32);if(_0x34cd06==null&&(_0x34cd06=_0x7edb84[_0x34fc88(0x271)](_0x25d7b3-0x1,!0x1,_0x271658,_0x991d32)),_0x349591){const {contentBoxPointGroup:_0xa41307}=_0x5b3cba[_0x34fc88(0x2a7)](_0x34cd06,_0x34cd06);if(_0xa41307['length']===0x0)continue;this[_0x34fc88(0x338)](_0x4599cb,_0xa41307,_0x295ebc,_0x500878,_0x60c443),this[_0x34fc88(0x302)]=this[_0x34fc88(0x291)]();}if(_0xc0dbd8&&_0x34cd06){if(_0xa240d===a[_0x34fc88(0x2b4)]['RECT']){const _0x24b02b=new E[(_0x34fc88(0x294))](_0x517b2a,_0x7edb84),{pointGroup:_0x1847be}=(_0x428a5a=_0x24b02b['getRangePointData'](_0xc0dbd8,_0x34cd06))!=null?_0x428a5a:{};if(_0x1847be==null||_0x1847be[_0x34fc88(0x395)]===0x0)continue;this[_0x34fc88(0x2a1)](_0x4599cb,_0x1847be,_0x295ebc,_0x500878);}else{if(!_0x13e474){const {borderBoxPointGroup:_0x2cea38}=_0x5b3cba['getRangePointData'](_0xc0dbd8,_0x34cd06);if(_0x2cea38[_0x34fc88(0x395)]===0x0)continue;this[_0x34fc88(0x265)](_0x4599cb,_0x2cea38,_0x295ebc,_0x500878);}}}}}['_drawAnchor'](_0x6292d2,_0x1c096b,_0x303170,_0x2a72d8,_0xf3afaa){const _0x26a99e=_0x5871cc,_0x2a5c5e=this['_getAnchorBounding'](_0x1c096b),{left:_0x42588a,top:_0x5d9698,height:_0x1238da}=_0x2a5c5e,_0x3b4521=this['_getScale'](),_0x33688a=Rt/_0x3b4521,_0x169e79=new p[(_0x26a99e(0x24e))](re+a[_0x26a99e(0x1aa)](F),{'left':_0x42588a+_0x303170-_0x33688a,'top':_0x5d9698+_0x2a72d8,'height':_0x1238da,'width':Tt,'fill':_0x6292d2||p[_0x26a99e(0x2ec)](a[_0x26a99e(0x227)][_0x26a99e(0x1fb)],0x0),'strokeWidth':_0x33688a,'stroke':Dt,'evented':!0x0});this[_0x26a99e(0x307)]=_0x169e79,this[_0x26a99e(0x329)][_0x26a99e(0x226)](_0x169e79,E[_0x26a99e(0x33b)]);const _0x46cb75=new p[(_0x26a99e(0x24e))](re+a[_0x26a99e(0x1aa)](F),{'left':_0x42588a+_0x303170-_0x33688a,'top':_0x5d9698+_0x2a72d8-oe/0x2,'height':oe,'width':oe,'fill':_0x6292d2||p[_0x26a99e(0x2ec)](a['COLORS'][_0x26a99e(0x1fb)],0x0),'strokeWidth':0x0,'stroke':_0x6292d2||p['getColor'](a[_0x26a99e(0x227)][_0x26a99e(0x1fb)],0x0),'evented':!0x1});this['_anchorDot']=_0x46cb75,this['_scene'][_0x26a99e(0x226)](_0x46cb75,E[_0x26a99e(0x33b)]);const _0x447175=new ee(re+a[_0x26a99e(0x1aa)](F),{'left':_0x42588a+_0x303170-_0x33688a,'top':_0x5d9698+_0x2a72d8-W,'text':_0xf3afaa,'color':_0x6292d2});this['_textBubble']=_0x447175,this[_0x26a99e(0x329)][_0x26a99e(0x226)](_0x447175,E['TEXT_RANGE_LAYER_INDEX']),this[_0x26a99e(0x149)]=!0x1;}[_0x5871cc(0x291)](){const _0x5d17e0=_0x5871cc,_0x3f7358=this[_0x5d17e0(0x307)][_0x5d17e0(0x1f3)][_0x5d17e0(0x2c0)](()=>{const _0x1019c9=_0x5d17e0;this[_0x1019c9(0x149)]=!0x0;}),_0x3def13=this[_0x5d17e0(0x307)][_0x5d17e0(0x264)][_0x5d17e0(0x2c0)](()=>{const _0x12dad3=_0x5d17e0;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x12dad3(0x12e)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1cca70=_0x5d17e0;_0x3f7358['unsubscribe'](),_0x3def13[_0x1cca70(0x135)]();};}[_0x5871cc(0x265)](_0xbd667f,_0x32e08a,_0x1c790f,_0x4ad85c){const _0xe719a1=_0x5871cc,_0x5a4dfd=new a[(_0xe719a1(0x17f))](_0xbd667f)[_0xe719a1(0x377)](0.2)[_0xe719a1(0x2a9)](),_0x21a996=new p[(_0xe719a1(0x1d6))](bt+a[_0xe719a1(0x1aa)](F),{'pointsGroup':_0x32e08a,'fill':_0x5a4dfd||p[_0xe719a1(0x2ec)](a[_0xe719a1(0x227)][_0xe719a1(0x1fb)],0.2),'left':_0x1c790f,'top':_0x4ad85c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe719a1(0x29d)][_0xe719a1(0x1ea)](_0x21a996),this[_0xe719a1(0x329)][_0xe719a1(0x226)](_0x21a996,E['TEXT_RANGE_LAYER_INDEX']);}[_0x5871cc(0x2a1)](_0x5eed21,_0xa61914,_0x24b263,_0x2b67a1){const _0x21efb8=_0x5871cc,_0x565a1d=new a[(_0x21efb8(0x17f))](_0x5eed21)['setAlpha'](0.2)[_0x21efb8(0x2a9)](),_0x59e8dc=new p[(_0x21efb8(0x1d6))](Ot+a[_0x21efb8(0x1aa)](F),{'pointsGroup':_0xa61914,'fill':_0x565a1d||p['getColor'](a[_0x21efb8(0x227)][_0x21efb8(0x1fb)],0.2),'left':_0x24b263,'top':_0x2b67a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x21efb8(0x29d)][_0x21efb8(0x1ea)](_0x59e8dc),this[_0x21efb8(0x329)][_0x21efb8(0x226)](_0x59e8dc,E[_0x21efb8(0x33b)]);}['_getAnchorBounding'](_0x574c37){const _0x593202=_0x574c37[0x0],_0x4a00b9=_0x593202[0x0],_0x5d4474=_0x593202[0x2],{x:_0x39d765,y:_0x227b90}=_0x4a00b9,{x:_0x27a91e,y:_0x3bfa5f}=_0x5d4474;return{'left':_0x39d765,'top':_0x227b90,'width':_0x27a91e-_0x39d765,'height':_0x3bfa5f-_0x227b90};}[_0x5871cc(0x157)](){const _0x1dcb5f=_0x5871cc,{scaleX:_0x16596e,scaleY:_0xf70873}=this[_0x1dcb5f(0x329)][_0x1dcb5f(0x2aa)]();return Math['max'](_0x16596e,_0xf70873);}}var Ut=Object['getOwnPropertyDescriptor'],Nt=(_0x58550f,_0x3570ec,_0x465127,_0x12fdcc)=>{const _0x117f81=_0x5871cc;for(var _0x38f479=_0x12fdcc>0x1?void 0x0:_0x12fdcc?Ut(_0x3570ec,_0x465127):_0x3570ec,_0x96e32f=_0x58550f[_0x117f81(0x395)]-0x1,_0x1f14e7;_0x96e32f>=0x0;_0x96e32f--)(_0x1f14e7=_0x58550f[_0x96e32f])&&(_0x38f479=_0x1f14e7(_0x38f479)||_0x38f479);return _0x38f479;},X=(_0x1dab92,_0x4eea56)=>(_0x27de68,_0x15ab45)=>_0x4eea56(_0x27de68,_0x15ab45,_0x1dab92);let fe=class extends a[_0x5871cc(0x332)]{constructor(_0x4b2769,_0x18bd1e,_0x125945,_0x1b0ae8,_0x205976){const _0x414ab0=_0x5871cc;super(),h(this,'_cursorShapes',[]),h(this,_0x414ab0(0x367),[]),(this[_0x414ab0(0x2c1)]=_0x4b2769,this[_0x414ab0(0x186)]=_0x18bd1e,this[_0x414ab0(0x34d)]=_0x125945,this[_0x414ab0(0x18c)]=_0x1b0ae8,this[_0x414ab0(0x350)]=_0x205976,this[_0x414ab0(0x278)]());}[_0x5871cc(0x278)](){const _0x4b4801=_0x5871cc,_0x666d8c=this[_0x4b4801(0x2c1)][_0x4b4801(0x287)],_0x25d59d=this[_0x4b4801(0x186)];this[_0x4b4801(0x159)](d[_0x4b4801(0x231)]([this[_0x4b4801(0x34d)][_0x4b4801(0x1ef)](_0x666d8c),this['_themeService'][_0x4b4801(0x379)]])['pipe']($[_0x4b4801(0x317)](([_0x350c10,_0x1a7ec6])=>({'skeleton':_0x25d59d[_0x4b4801(0x1b7)](),'cursors':[..._0x350c10[_0x4b4801(0x1e5)]()][_0x4b4801(0x15e)](_0x65a35c=>({..._0x65a35c,'color':this['_themeService'][_0x4b4801(0x37f)](_0x65a35c['color'])}))})))[_0x4b4801(0x13f)](_0x1e108d=>{const _0x5d8bb1=_0x4b4801;if(this['_removeCollabCursors'](),_0x1e108d){const {skeleton:_0x569519,cursors:_0xa9428a}=_0x1e108d;this[_0x5d8bb1(0x12c)](_0x569519,_0xa9428a);}})),this['_initResize'](),this[_0x4b4801(0x354)]();}['_updateCollabCursors'](_0x281d2a,_0x101ad9){const _0x21e816=_0x5871cc,{scene:_0x1f2b56,mainComponent:_0x2526b2}=this[_0x21e816(0x2c1)],_0x3c77bc=_0x101ad9[_0x21e816(0x317)](_0x2faff4=>new Re(_0x2faff4,_0x1f2b56,_0x281d2a,_0x2526b2));this[_0x21e816(0x279)]=_0x3c77bc,this['_cursors']=_0x101ad9;}[_0x5871cc(0x2ad)](){const _0x2b5dd1=_0x5871cc;this['_removeCollabCursors']();const {scene:_0x1f6045,mainComponent:_0x53d95a}=this[_0x2b5dd1(0x2c1)],_0x4a4c11=this['_docSkeletonManagerService'][_0x2b5dd1(0x1b7)](),_0x4ddf71=this[_0x2b5dd1(0x367)]['map'](_0x36024b=>new Re(_0x36024b,_0x1f6045,_0x4a4c11,_0x53d95a));this[_0x2b5dd1(0x279)]=_0x4ddf71;}[_0x5871cc(0x16b)](){const _0x41825c=_0x5871cc;this[_0x41825c(0x279)][_0x41825c(0x2de)](_0x4d91cc=>_0x4d91cc[_0x41825c(0x158)]()),this['_cursorShapes']=[];}[_0x5871cc(0x354)](){const _0x2bcb70=_0x5871cc,_0x377d84=[E[_0x2bcb70(0x2dc)]['id']];this[_0x2bcb70(0x159)](this['_commandService'][_0x2bcb70(0x2b8)](_0x56bb73=>{const _0x292aca=_0x2bcb70;_0x377d84[_0x292aca(0x1cf)](_0x56bb73['id'])&&_0x56bb73[_0x292aca(0x212)]['unitId']===this[_0x292aca(0x2c1)][_0x292aca(0x287)]&&this[_0x292aca(0x2ad)]();}));}[_0x5871cc(0x36b)](){const _0x5886f7=_0x5871cc;this[_0x5886f7(0x159)](a[_0x5886f7(0x181)](this['_context']['engine'][_0x5886f7(0x32b)])[_0x5886f7(0x2e3)]($['filter'](_0x4de6ec=>_0x4de6ec[_0x5886f7(0x129)]===p[_0x5886f7(0x215)]['resize']),$[_0x5886f7(0x337)](0x10))[_0x5886f7(0x13f)](()=>{this['_refreshCollabCursors']();}));}};fe=Nt([X(0x1,a[_0x5871cc(0x141)](Y[_0x5871cc(0x31d)])),X(0x2,a[_0x5871cc(0x141)](x)),X(0x3,a['ICommandService']),X(0x4,a[_0x5871cc(0x141)](a[_0x5871cc(0x30a)]))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x5871cc(0x2ef)]{constructor(_0x1b39a1,_0x4e7481){const _0x343b01=_0x5871cc;super(_0x1b39a1,_0x4e7481),h(this,_0x343b01(0x2b2)),h(this,_0x343b01(0x301),!0x1),h(this,'_range'),h(this,'_name',''),h(this,_0x343b01(0x36f),'top'),h(this,'_backgroundColor'),(_0x4e7481&&this[_0x343b01(0x29a)](_0x4e7481),this[_0x343b01(0x1f3)][_0x343b01(0x2c0)](()=>this[_0x343b01(0x29a)]({'hovered':!0x0})),this[_0x343b01(0x264)][_0x343b01(0x2c0)](()=>this[_0x343b01(0x29a)]({'hovered':!0x1})));}[_0x5871cc(0x29a)](_0x32b58a){const _0x53d49a=_0x5871cc;var _0x492eee,_0x3838b5,_0x9406f2,_0x258531,_0x2143e4,_0xb9426f;this['_color']=(_0x492eee=_0x32b58a[_0x53d49a(0x312)])!=null?_0x492eee:this['_color'],this['_hovered']=(_0x3838b5=_0x32b58a[_0x53d49a(0x1f4)])!=null?_0x3838b5:this['_hovered'],this[_0x53d49a(0x384)]=(_0x9406f2=_0x32b58a[_0x53d49a(0x35a)])!=null?_0x9406f2:this['_range'],this[_0x53d49a(0x32e)]=(_0x258531=_0x32b58a[_0x53d49a(0x2ee)])!=null?_0x258531:this[_0x53d49a(0x32e)],this[_0x53d49a(0x36f)]=(_0x2143e4=_0x32b58a[_0x53d49a(0x299)])!=null?_0x2143e4:this[_0x53d49a(0x36f)],this[_0x53d49a(0x14f)]=(_0xb9426f=_0x32b58a['backgroundColor'])!=null?_0xb9426f:this[_0x53d49a(0x14f)],this[_0x53d49a(0x375)]({'width':_0x32b58a['width'],'height':_0x32b58a[_0x53d49a(0x14c)]});}['onMouseMove'](_0x4aea6b){const _0x7eac50=_0x5871cc,{row:_0x2623e0,column:_0x2daa78}=_0x4aea6b;if(_0x2623e0>=this[_0x7eac50(0x384)][_0x7eac50(0x1e6)]&&_0x2623e0<=this[_0x7eac50(0x384)][_0x7eac50(0x343)]&&_0x2daa78>=this[_0x7eac50(0x384)][_0x7eac50(0x351)]&&_0x2daa78<=this[_0x7eac50(0x384)][_0x7eac50(0x1da)]){this[_0x7eac50(0x29a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5871cc(0x25b)](_0x52976c){return!0x1;}[_0x5871cc(0x235)](_0x5c82ca){const _0x17edc8=_0x5871cc;p[_0x17edc8(0x24e)]['drawWith'](_0x5c82ca,{'width':this[_0x17edc8(0x1df)],'height':this['height'],'strokeWidth':Lt,'stroke':this[_0x17edc8(0x2b2)],'evented':!0x1,'fill':this[_0x17edc8(0x14f)]}),this[_0x17edc8(0x301)]&&(_0x5c82ca[_0x17edc8(0x148)](),_0x5c82ca['transform'](0x1,0x0,0x0,0x1,this[_0x17edc8(0x1df)],this[_0x17edc8(0x36f)]===_0x17edc8(0x1b3)?0x0:-W),ee[_0x17edc8(0x392)](_0x5c82ca,{'text':this[_0x17edc8(0x32e)],'color':this[_0x17edc8(0x2b2)]}),_0x5c82ca[_0x17edc8(0x185)]());}}var Pt=Object['getOwnPropertyDescriptor'],wt=(_0x138457,_0x19c5f1,_0x134183,_0x8fa54b)=>{const _0x2a743f=_0x5871cc;for(var _0x5a9c99=_0x8fa54b>0x1?void 0x0:_0x8fa54b?Pt(_0x19c5f1,_0x134183):_0x19c5f1,_0x5c5ca9=_0x138457[_0x2a743f(0x395)]-0x1,_0x26c01d;_0x5c5ca9>=0x0;_0x5c5ca9--)(_0x26c01d=_0x138457[_0x5c5ca9])&&(_0x5a9c99=_0x26c01d(_0x5a9c99)||_0x5a9c99);return _0x5a9c99;},ae=(_0x239b13,_0x39308d)=>(_0x54972c,_0x293e1d)=>_0x39308d(_0x54972c,_0x293e1d,_0x239b13);const At=0x1389;let Ie=class extends a[_0x5871cc(0x332)]{constructor(_0x5d2d7c,_0xdd45ed,_0x1bb09f,_0xd04f7e){const _0x738d4f=_0x5871cc;super(),h(this,_0x738d4f(0x367),new Set()),h(this,_0x738d4f(0x219),null),(this[_0x738d4f(0x2c1)]=_0x5d2d7c,this[_0x738d4f(0x318)]=_0xdd45ed,this[_0x738d4f(0x34d)]=_0x1bb09f,this[_0x738d4f(0x350)]=_0xd04f7e,this['_init']());}[_0x5871cc(0x278)](){const _0x4a94a7=_0x5871cc;this[_0x4a94a7(0x318)][_0x4a94a7(0x15d)]['pipe']($[_0x4a94a7(0x1d7)](this[_0x4a94a7(0x1ad)]),$[_0x4a94a7(0x363)](_0x37f285=>{const _0x271017=_0x4a94a7;if(_0x37f285){const _0xacb913=_0x37f285[_0x271017(0x1d9)];return d[_0x271017(0x231)](this['_collabCursorController'][_0x271017(0x1ef)](this[_0x271017(0x2c1)][_0x271017(0x287)]),this[_0x271017(0x350)][_0x271017(0x379)])[_0x271017(0x2e3)]($[_0x271017(0x317)](([_0x15511d,_0xae7db9])=>{const _0x3e1c13=_0x271017,_0x857958=new Map();return _0x15511d[_0x3e1c13(0x2de)]((_0x7fda87,_0x418b6b)=>{const _0x3439d6=_0x3e1c13;if(_0x7fda87[_0x3439d6(0x168)]===_0xacb913){const _0x5c6470={..._0x7fda87};_0x5c6470['color']=this[_0x3439d6(0x350)][_0x3439d6(0x37f)](_0x7fda87[_0x3439d6(0x312)]),_0x857958[_0x3439d6(0x2d8)](_0x418b6b,_0x5c6470);}}),{'skeleton':_0x37f285,'cursors':_0x857958};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a94a7(0x13f)](({skeleton:_0x5dd7b1,cursors:_0x3bc458})=>{const _0x49dde0=_0x4a94a7;this[_0x49dde0(0x16b)](),_0x5dd7b1&&this[_0x49dde0(0x12c)](_0x5dd7b1,_0x3bc458);}),this[_0x4a94a7(0x318)][_0x4a94a7(0x15d)][_0x4a94a7(0x13f)](_0x322857=>{const _0x5c626d=_0x4a94a7;if(_0x322857==null)return;const {skeleton:_0x381f19}=_0x322857,{scene:_0x2eb665}=this[_0x5c626d(0x2c1)];_0x2eb665[_0x5c626d(0x270)]['subscribeEvent'](a['debounce'](_0x56db81=>{const _0x5b9232=_0x5c626d;var _0x4383f0,_0x2370f2;const {offsetX:_0x4ee81f,offsetY:_0x13fa60}=_0x56db81,{x:_0x2c8cbd,y:_0x5b6cd8}=_0x2eb665['getRelativeToViewportCoord'](p['Vector2']['FromArray']([_0x4ee81f,_0x13fa60])),{scaleX:_0x764ada,scaleY:_0x5b42c5}=_0x2eb665['getAncestorScale'](),_0x2daacb=_0x2eb665[_0x5b9232(0x167)](p[_0x5b9232(0x30b)][_0x5b9232(0x2ca)]),_0x2c7817=_0x2eb665[_0x5b9232(0x324)](p[_0x5b9232(0x2c5)][_0x5b9232(0x2e0)]([_0x2c8cbd,_0x5b6cd8]),_0x2daacb),_0x5722b2=_0x381f19[_0x5b9232(0x1fd)](_0x4ee81f,_0x13fa60,_0x764ada,_0x5b42c5,_0x2c7817);((_0x4383f0=this[_0x5b9232(0x219)])==null?void 0x0:_0x4383f0['column'])===_0x5722b2[_0x5b9232(0x339)]&&((_0x2370f2=this[_0x5b9232(0x219)])==null?void 0x0:_0x2370f2['row'])===_0x5722b2[_0x5b9232(0x247)]||this[_0x5b9232(0x367)][_0x5b9232(0x2de)](_0x3333a9=>{const _0x8a2e52=_0x5b9232;_0x3333a9[_0x8a2e52(0x2b5)](_0x5722b2);});},0x64));});}[_0x5871cc(0x12c)](_0x525de6,_0x25182e){const _0x5d8365=_0x5871cc;var _0x3feecd;const _0x3c59b7=(_0x3feecd=this[_0x5d8365(0x318)][_0x5d8365(0x38b)]())==null?void 0x0:_0x3feecd[_0x5d8365(0x306)];if(!_0x3c59b7)return;const _0x28ddfc=this[_0x5d8365(0x2e7)]();if(!_0x28ddfc)return;this[_0x5d8365(0x367)]['forEach'](_0x235c5b=>{const _0x32027f=_0x5d8365;_0x235c5b[_0x32027f(0x362)]();});const {scene:_0x136c03}=_0x28ddfc,_0x12db7e=yt(Array[_0x5d8365(0x390)](_0x25182e[_0x5d8365(0x1e5)]()))[_0x5d8365(0x317)](_0x136705=>{const _0x1189a9=_0x5d8365,{color:_0x9748aa,range:_0x4c5a45,name:_0x17906a,selection:_0xec9c6c,sheetID:_0x112485}=_0x136705,{startColumn:_0x5ccf07,startRow:_0x38e307,endColumn:_0x213734,endRow:_0xa6f023}=_0x4c5a45,_0x15e1f7=G[_0x1189a9(0x33c)](_0x38e307,_0x5ccf07,_0x136c03,_0x3c59b7),_0x22e45d=G[_0x1189a9(0x33c)](_0xa6f023,_0x213734,_0x136c03,_0x3c59b7),{columnHeaderHeightAndMarginTop:_0x586465}=_0x3c59b7,{startX:_0x2594d9,startY:_0x561391}=_0x15e1f7,{endX:_0x4ce5ce,endY:_0x3ed785}=_0x22e45d,_0x1cd8dd=_0x4ce5ce-_0x2594d9,_0x1af04d=_0x3ed785-_0x561391,_0x237d06={'labelPosition':_0x561391-_0x586465>=W?_0x1189a9(0x194):_0x1189a9(0x1b3),'sheetID':_0x112485,'range':_0x4c5a45,'color':_0x9748aa,'name':_0x17906a,'selection':_0xec9c6c,'left':_0x2594d9,'top':_0x561391,'width':_0x1cd8dd,'height':_0x1af04d,'evented':!0x1,'zIndex':At};return new $e(_0x17906a,_0x237d06);});_0x136c03[_0x5d8365(0x26d)](_0x12db7e,Mt),this[_0x5d8365(0x367)]=new Set(_0x12db7e);}[_0x5871cc(0x16b)](){const _0x288209=_0x5871cc;var _0x351694;(_0x351694=this[_0x288209(0x367)])==null||_0x351694['forEach'](_0x59abc1=>_0x59abc1[_0x288209(0x158)]());}[_0x5871cc(0x2e7)](){const _0x2b076e=_0x5871cc;return G[_0x2b076e(0x27f)](this['_context'][_0x2b076e(0x17d)],this[_0x2b076e(0x2c1)]);}};Ie=wt([ae(0x1,a[_0x5871cc(0x141)](G[_0x5871cc(0x218)])),ae(0x2,a[_0x5871cc(0x141)](x)),ae(0x3,a[_0x5871cc(0x141)](a['ThemeService']))],Ie);function yt(_0x5e8f1e){const _0x2ff571=_0x5871cc,_0x2ffb6a=new Map();return _0x5e8f1e[_0x2ff571(0x2de)](_0x2f296a=>{const _0x59bde5=_0x2ff571;if(_0x2ffb6a[_0x59bde5(0x37d)](_0x2f296a[_0x59bde5(0x19a)])){const _0x50262b=_0x2ffb6a[_0x59bde5(0x140)](_0x2f296a['selection']);_0x50262b[_0x59bde5(0x2ee)]+=',\x20'+_0x2f296a[_0x59bde5(0x2ee)];}else _0x2ffb6a[_0x59bde5(0x2d8)](_0x2f296a['selection'],_0x2f296a);}),Array[_0x2ff571(0x390)](_0x2ffb6a[_0x2ff571(0x1e5)]());}var $t=Object['getOwnPropertyDescriptor'],xt=(_0x5e68de,_0x3b9404,_0x8d967,_0x45102b)=>{const _0x3d42ba=_0x5871cc;for(var _0x168718=_0x45102b>0x1?void 0x0:_0x45102b?$t(_0x3b9404,_0x8d967):_0x3b9404,_0xa5e3fb=_0x5e68de[_0x3d42ba(0x395)]-0x1,_0x364609;_0xa5e3fb>=0x0;_0xa5e3fb--)(_0x364609=_0x5e68de[_0xa5e3fb])&&(_0x168718=_0x364609(_0x168718)||_0x168718);return _0x168718;},y=(_0x42fa6b,_0xf470bd)=>(_0x6c9dea,_0x1c565b)=>_0xf470bd(_0x6c9dea,_0x1c565b,_0x42fa6b);let q=class extends a[_0x5871cc(0x326)]{constructor(_0x420527,_0x195359,_0x5ada7e,_0x158dc1,_0x189682,_0x284c64){const _0x1fc7fb=_0x5871cc;super(),this[_0x1fc7fb(0x36a)]=_0x420527,this[_0x1fc7fb(0x29e)]=_0x195359,this[_0x1fc7fb(0x22f)]=_0x5ada7e,this[_0x1fc7fb(0x1d4)]=_0x158dc1,this[_0x1fc7fb(0x1e2)]=_0x189682,this[_0x1fc7fb(0x1b9)]=_0x284c64,this['_setupBeforeClosingHandler'](),this[_0x1fc7fb(0x2c3)]();}[_0x5871cc(0x313)](){const _0x176796=_0x5871cc;this[_0x176796(0x159)](this[_0x176796(0x36a)][_0x176796(0x289)](()=>{const _0x5164d7=_0x176796;if(this[_0x5164d7(0x29e)]['saveTaskMap'][_0x5164d7(0x2cb)])return this[_0x5164d7(0x1b9)]['t'](_0x5164d7(0x256));}));}[_0x5871cc(0x2c3)](){const _0x2e6312=_0x5871cc;this[_0x2e6312(0x159)](this[_0x2e6312(0x22f)][_0x2e6312(0x391)][_0x2e6312(0x13f)](_0x19273b=>{const _0x4dcc0e=_0x2e6312;_0x19273b['id']===u[_0x4dcc0e(0x210)][_0x4dcc0e(0x380)]&&this[_0x4dcc0e(0x1d4)]['show']({'type':D[_0x4dcc0e(0x2b6)][_0x4dcc0e(0x15c)],'content':this[_0x4dcc0e(0x1b9)]['t']('collaboration.single-unit.warning')}),_0x19273b['id']===u[_0x4dcc0e(0x210)]['CLOSE_ROOM']&&this[_0x4dcc0e(0x1d4)]['show']({'type':D[_0x4dcc0e(0x2b6)][_0x4dcc0e(0x15c)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x19273b['id']===u['CollaborationUIEventId'][_0x4dcc0e(0x1cb)]&&this['_notificationService'][_0x4dcc0e(0x1a8)]({'title':this['_localeService']['t'](_0x4dcc0e(0x13e)),'content':this[_0x4dcc0e(0x1b9)]['t'](_0x4dcc0e(0x290)),'type':_0x4dcc0e(0x23c),'duration':0x0}),_0x19273b['id']===u[_0x4dcc0e(0x210)][_0x4dcc0e(0x161)]&&this['_messageService'][_0x4dcc0e(0x1a8)]({'type':D[_0x4dcc0e(0x2b6)][_0x4dcc0e(0x1fa)],'content':this[_0x4dcc0e(0x1b9)]['t'](_0x4dcc0e(0x21b))+'('+_0x19273b[_0x4dcc0e(0x1e3)]+')'}),_0x19273b['id']===u['CollaborationUIEventId'][_0x4dcc0e(0x383)]&&this['_messageService']['show']({'type':D[_0x4dcc0e(0x2b6)]['Warning'],'content':this[_0x4dcc0e(0x1b9)]['t'](_0x19273b[_0x4dcc0e(0x1e3)]||'')}),_0x19273b['id']===u[_0x4dcc0e(0x210)][_0x4dcc0e(0x311)]&&this['_messageService'][_0x4dcc0e(0x1a8)]({'type':D[_0x4dcc0e(0x2b6)][_0x4dcc0e(0x15c)],'content':this[_0x4dcc0e(0x1b9)]['t'](_0x4dcc0e(0x199))}),_0x19273b['id']===u['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x4dcc0e(0x1d4)][_0x4dcc0e(0x1a8)]({'type':D[_0x4dcc0e(0x2b6)][_0x4dcc0e(0x1fa)],'content':this['_localeService']['t']('session.connection-failed')}),_0x19273b['id']===u[_0x4dcc0e(0x210)][_0x4dcc0e(0x1bf)]&&this[_0x4dcc0e(0x1d4)][_0x4dcc0e(0x1a8)]({'type':D['MessageType'][_0x4dcc0e(0x1fa)],'content':this[_0x4dcc0e(0x1b9)]['t'](_0x4dcc0e(0x394))});}));}};q=xt([y(0x0,O[_0x5871cc(0x23f)]),y(0x1,u[_0x5871cc(0x34a)]),y(0x2,a[_0x5871cc(0x141)](u[_0x5871cc(0x2bd)])),y(0x3,O[_0x5871cc(0x1d8)]),y(0x4,O[_0x5871cc(0x1bd)]),y(0x5,a['Inject'](a[_0x5871cc(0x171)]))],q);const Bt=_0x5871cc(0x37a),De={};var jt=Object['getOwnPropertyDescriptor'],kt=(_0x12a3c4,_0x31b252,_0xee3d4c,_0x4efca7)=>{for(var _0x2f8de8=_0x4efca7>0x1?void 0x0:_0x4efca7?jt(_0x31b252,_0xee3d4c):_0x31b252,_0x4be360=_0x12a3c4['length']-0x1,_0x1d0308;_0x4be360>=0x0;_0x4be360--)(_0x1d0308=_0x12a3c4[_0x4be360])&&(_0x2f8de8=_0x1d0308(_0x2f8de8)||_0x2f8de8);return _0x2f8de8;},Ue=(_0x273315,_0x391f75)=>(_0x227762,_0x4bb751)=>_0x391f75(_0x227762,_0x4bb751,_0x273315);let z=class{constructor(_0x3e5930,_0xca92e6){const _0x5490ca=_0x5871cc;this[_0x5490ca(0x20b)]=_0x3e5930,this[_0x5490ca(0x236)]=_0xca92e6;}[_0x5871cc(0x32a)](_0x24e26b){const _0x449dc1=_0x5871cc;this[_0x449dc1(0x358)](_0x24e26b),this[_0x449dc1(0x323)](_0x24e26b);}[_0x5871cc(0x35b)](_0xd05be9){const _0x82c5ab=_0x5871cc,{unitID:_0xcb9183}=_0xd05be9,_0x4032e2=this['_renderManagerService']['getRenderById'](_0xcb9183)[_0x82c5ab(0x18a)](E[_0x82c5ab(0x284)]),{redoCache:_0x51f9c9}=_0x4032e2[_0x82c5ab(0x304)]();if(_0x51f9c9['length']===0x0)return _0xd05be9;let _0x3dcc09=a['Tools']['deepClone'](_0xd05be9[_0x82c5ab(0x1f8)][0x0]);for(let _0x43f6c9=0x0;_0x43f6c9<_0x51f9c9[_0x82c5ab(0x395)];_0x43f6c9++){const _0x5a00eb={'id':_0x82c5ab(0x253),'params':{..._0x51f9c9[_0x43f6c9]}},_0x5381b0=this[_0x82c5ab(0x20b)][_0x82c5ab(0x330)](_0x3dcc09,_0x5a00eb,!0x1);if(m['isTransformMutationFailure'](_0x5381b0))throw _0x5381b0[_0x82c5ab(0x23c)];_0x3dcc09=_0x5381b0[_0x82c5ab(0x152)];}return{...a[_0x82c5ab(0x150)][_0x82c5ab(0x277)](_0xd05be9),'mutations':[_0x3dcc09]};}['_transformUndoRedoStack'](_0x18e56a){const _0x26e4a3=_0x5871cc,{unitID:_0x21962d}=_0x18e56a,_0x43df7c=this[_0x26e4a3(0x236)][_0x26e4a3(0x345)](_0x21962d)['with'](E[_0x26e4a3(0x284)]),{undoCache:_0x2c1c6a,redoCache:_0x68a9a6}=_0x43df7c['getUndoRedoMutationParamsCache']();if(_0x2c1c6a[_0x26e4a3(0x395)]===0x0||_0x68a9a6[_0x26e4a3(0x395)]===0x0)return;const _0x158532=[],_0x458bfc=[];let _0x3dac13=a[_0x26e4a3(0x150)][_0x26e4a3(0x277)](_0x18e56a['mutations'][0x0]),_0x2c223e=a[_0x26e4a3(0x150)][_0x26e4a3(0x277)](_0x18e56a[_0x26e4a3(0x1f8)][0x0]);for(let _0x1c723d=_0x2c1c6a['length']-0x1;_0x1c723d>=0x0;_0x1c723d--){const _0x20195d={'id':_0x26e4a3(0x253),'params':{..._0x2c1c6a[_0x1c723d]}},_0x3ad0e5={'id':_0x26e4a3(0x253),'params':{..._0x68a9a6[_0x1c723d]}},_0x2bb7a6=this[_0x26e4a3(0x20b)][_0x26e4a3(0x330)](_0x3dac13,_0x20195d,!0x1),_0x10f866=this[_0x26e4a3(0x20b)][_0x26e4a3(0x330)](_0x2c223e,_0x3ad0e5,!0x1);if(m['isTransformMutationFailure'](_0x2bb7a6))throw _0x2bb7a6[_0x26e4a3(0x23c)];if(m['isTransformMutationFailure'](_0x10f866))throw _0x10f866[_0x26e4a3(0x23c)];_0x158532[_0x26e4a3(0x29b)](_0x2bb7a6[_0x26e4a3(0x2fc)]['params']),_0x458bfc['unshift'](_0x10f866[_0x26e4a3(0x2fc)][_0x26e4a3(0x212)]),_0x3dac13=_0x2bb7a6[_0x26e4a3(0x152)],_0x2c223e=_0x10f866['m1Prime'];}_0x43df7c[_0x26e4a3(0x1dc)]({'undoCache':_0x158532,'redoCache':_0x458bfc});}[_0x5871cc(0x323)](_0x346101){const _0x16bc1f=_0x5871cc,{unitID:_0x287ba2}=_0x346101,_0x363b1b=this['_renderManagerService']['getRenderById'](_0x287ba2)[_0x16bc1f(0x18a)](E[_0x16bc1f(0x284)]),_0x20dc9b=_0x363b1b['getActiveRange']();if(_0x20dc9b==null)return;const _0x1e8624=[{'id':_0x16bc1f(0x253),'params':{'unitId':_0x346101[_0x16bc1f(0x20f)],'actions':null,'textRanges':[_0x20dc9b]}}],_0x4416cc=this[_0x16bc1f(0x20b)][_0x16bc1f(0x328)](_0x346101,_0x1e8624);if(!m[_0x16bc1f(0x387)](_0x4416cc))throw _0x4416cc[_0x16bc1f(0x23c)];const _0x205bca=_0x4416cc['m2Prime'][0x0][_0x16bc1f(0x212)][_0x16bc1f(0x2f7)];Array[_0x16bc1f(0x31a)](_0x205bca)&&_0x205bca['length']&&_0x363b1b[_0x16bc1f(0x24b)](_0x205bca[0x0]);}};z=kt([Ue(0x0,m['ITransformService']),Ue(0x1,p[_0x5871cc(0x184)])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x2c2316,_0x189df2,_0x27cc21,_0x54395d)=>{const _0x2ddaaa=_0x5871cc;for(var _0x22cd5b=_0x54395d>0x1?void 0x0:_0x54395d?Ft(_0x189df2,_0x27cc21):_0x189df2,_0xed93fa=_0x2c2316[_0x2ddaaa(0x395)]-0x1,_0x31ca6c;_0xed93fa>=0x0;_0xed93fa--)(_0x31ca6c=_0x2c2316[_0xed93fa])&&(_0x22cd5b=_0x31ca6c(_0x22cd5b)||_0x22cd5b);return _0x22cd5b;},ce=(_0x5b155b,_0x4adf88)=>(_0x52308f,_0x3c840f)=>_0x4adf88(_0x52308f,_0x3c840f,_0x5b155b);let J=class{constructor(_0x4c4a75,_0x5585e0,_0x1752cb){const _0x25cf50=_0x5871cc;this['_injector']=_0x4c4a75,this[_0x25cf50(0x20b)]=_0x5585e0,this[_0x25cf50(0x252)]=_0x1752cb;}[_0x5871cc(0x334)](_0x585df5){const _0x489867=_0x5871cc;this[_0x489867(0x2d2)](_0x585df5);}[_0x5871cc(0x35b)](_0x10091b){const _0x24f9f8=_0x5871cc,{unitID:_0xc5cca0}=_0x10091b,{collaboration:_0x3a8bca}=this[_0x24f9f8(0x252)][_0x24f9f8(0x221)](_0xc5cca0);if(_0x3a8bca[_0x24f9f8(0x395)]===0x0)return _0x10091b;let _0x500264=a[_0x24f9f8(0x150)][_0x24f9f8(0x277)](_0x10091b[_0x24f9f8(0x1f8)][0x0]);for(let _0x3dd748=0x0;_0x3dd748<_0x3a8bca[_0x24f9f8(0x395)];_0x3dd748++){const _0x430cff={'id':_0x24f9f8(0x253),'params':{'unitId':_0x3a8bca[_0x3dd748][_0x24f9f8(0x287)],..._0x3a8bca[_0x3dd748]['redoState']}},_0x188253=this[_0x24f9f8(0x20b)]['transformMutation'](_0x500264,_0x430cff,!0x1);if(m[_0x24f9f8(0x25e)](_0x188253))throw _0x188253[_0x24f9f8(0x23c)];_0x500264=_0x188253[_0x24f9f8(0x152)];}return{...a[_0x24f9f8(0x150)][_0x24f9f8(0x277)](_0x10091b),'mutations':[_0x500264]};}[_0x5871cc(0x2d2)](_0x56667a){const _0x588eb0=_0x5871cc,{unitID:_0x3d0949}=_0x56667a,{history:_0x208667,collaboration:_0x542a5a}=this[_0x588eb0(0x252)][_0x588eb0(0x221)](_0x3d0949);if(_0x208667[_0x588eb0(0x395)]===0x0&&_0x542a5a[_0x588eb0(0x395)]===0x0)return;const _0xcb550f=[],_0x25c621=[];let _0x1188d0=a['Tools'][_0x588eb0(0x277)](_0x56667a['mutations'][0x0]),_0x1204db=a[_0x588eb0(0x150)][_0x588eb0(0x277)](_0x56667a['mutations'][0x0]);for(let _0xc64e8e=_0x208667[_0x588eb0(0x395)]-0x1;_0xc64e8e>=0x0;_0xc64e8e--){const _0x188a67={'id':_0x588eb0(0x253),'params':{'unitId':_0x208667[_0xc64e8e][_0x588eb0(0x287)],..._0x208667[_0xc64e8e]['undoState']}},_0x210152={'id':_0x588eb0(0x253),'params':{'unitId':_0x208667[_0xc64e8e][_0x588eb0(0x287)],..._0x208667[_0xc64e8e][_0x588eb0(0x34f)]}},_0x199f23=this[_0x588eb0(0x20b)]['transformMutation'](_0x1188d0,_0x188a67,!0x1),_0x1a2963=this[_0x588eb0(0x20b)]['transformMutation'](_0x1204db,_0x210152,!0x1);if(m[_0x588eb0(0x25e)](_0x199f23))throw _0x199f23[_0x588eb0(0x23c)];if(m[_0x588eb0(0x25e)](_0x1a2963))throw _0x1a2963[_0x588eb0(0x23c)];_0xcb550f[_0x588eb0(0x29b)]({..._0x208667[_0xc64e8e],'undoState':_0x199f23['m2Prime'][_0x588eb0(0x212)],'redoState':_0x1a2963[_0x588eb0(0x2fc)]['params']}),_0x1188d0=_0x199f23['m1Prime'],_0x1204db=_0x1a2963[_0x588eb0(0x152)];}_0x1188d0=a['Tools'][_0x588eb0(0x277)](_0x56667a[_0x588eb0(0x1f8)][0x0]),_0x1204db=a[_0x588eb0(0x150)][_0x588eb0(0x277)](_0x56667a[_0x588eb0(0x1f8)][0x0]);for(let _0x31d56c=_0x542a5a[_0x588eb0(0x395)]-0x1;_0x31d56c>=0x0;_0x31d56c--){const _0x3ae600={'id':_0x588eb0(0x253),'params':{'unitId':_0x542a5a[_0x31d56c][_0x588eb0(0x287)],..._0x542a5a[_0x31d56c]['undoState']}},_0x1b19a6={'id':_0x588eb0(0x253),'params':{'unitId':_0x542a5a[_0x31d56c][_0x588eb0(0x287)],..._0x542a5a[_0x31d56c][_0x588eb0(0x34f)]}},_0x23481e=this[_0x588eb0(0x20b)][_0x588eb0(0x330)](_0x1188d0,_0x3ae600,!0x1),_0x59cd57=this[_0x588eb0(0x20b)][_0x588eb0(0x330)](_0x1204db,_0x1b19a6,!0x1);if(m[_0x588eb0(0x25e)](_0x23481e))throw _0x23481e[_0x588eb0(0x23c)];if(m[_0x588eb0(0x25e)](_0x59cd57))throw _0x59cd57[_0x588eb0(0x23c)];_0x25c621[_0x588eb0(0x29b)]({..._0x542a5a[_0x31d56c],'undoState':_0x23481e[_0x588eb0(0x2fc)][_0x588eb0(0x212)],'redoState':_0x59cd57[_0x588eb0(0x2fc)]['params']}),_0x1188d0=_0x23481e[_0x588eb0(0x152)],_0x1204db=_0x59cd57['m1Prime'];}this['_docStateChangeManagerService'][_0x588eb0(0x1a9)](_0x3d0949,{'history':_0xcb550f,'collaboration':_0x25c621});}};J=Ht([ce(0x0,a[_0x5871cc(0x141)](a[_0x5871cc(0x31e)])),ce(0x1,m[_0x5871cc(0x382)]),ce(0x2,a[_0x5871cc(0x141)](E['DocStateChangeManagerService']))],J);var Yt=Object[_0x5871cc(0x300)],Wt=(_0x4b6778,_0x394477,_0x20840a,_0x436d7c)=>{for(var _0x543ea4=_0x436d7c>0x1?void 0x0:_0x436d7c?Yt(_0x394477,_0x20840a):_0x394477,_0x11676a=_0x4b6778['length']-0x1,_0x2e60d3;_0x11676a>=0x0;_0x11676a--)(_0x2e60d3=_0x4b6778[_0x11676a])&&(_0x543ea4=_0x2e60d3(_0x543ea4)||_0x543ea4);return _0x543ea4;},Ne=(_0x544df5,_0x16dcc4)=>(_0x2601cb,_0x16c4cf)=>_0x16dcc4(_0x2601cb,_0x16c4cf,_0x544df5);let Z=class{constructor(_0x34fbef,_0x4b36e6){const _0x11cc71=_0x5871cc;this[_0x11cc71(0x209)]=_0x34fbef,this[_0x11cc71(0x20b)]=_0x4b36e6;}[_0x5871cc(0x2bf)](_0xa991c6){const _0x55dd1e=_0x5871cc;var _0x3a67fa;const _0x2f16c3=this[_0x55dd1e(0x209)]['get'](Y[_0x55dd1e(0x27c)]),_0x196129=(_0x3a67fa=_0x2f16c3[_0x55dd1e(0x229)]())!=null?_0x3a67fa:[];if(_0x196129[_0x55dd1e(0x395)]===0x0)return;const _0x4cad9b=_0xa991c6[_0x55dd1e(0x20f)],_0x3bbc6c=[{'id':_0x55dd1e(0x253),'params':{'unitId':_0x4cad9b,'actions':null,'textRanges':_0x196129}}],_0x1bae2f=this[_0x55dd1e(0x20b)]['transformMutationsWithChangeset'](_0xa991c6,_0x3bbc6c);if(!m[_0x55dd1e(0x387)](_0x1bae2f))throw _0x1bae2f[_0x55dd1e(0x23c)];const _0x26786d=_0x1bae2f[_0x55dd1e(0x2fc)][0x0][_0x55dd1e(0x212)][_0x55dd1e(0x2f7)];Array[_0x55dd1e(0x31a)](_0x26786d)&&_0x26786d[_0x55dd1e(0x395)]&&_0x2f16c3[_0x55dd1e(0x2ab)](_0x26786d,{'unitId':_0x4cad9b,'subUnitId':_0x4cad9b},!0x1);}};Z=Wt([Ne(0x0,a[_0x5871cc(0x141)](a[_0x5871cc(0x31e)])),Ne(0x1,m[_0x5871cc(0x382)])],Z);var Vt=Object[_0x5871cc(0x300)],Xt=(_0x1f01ba,_0x32f319,_0x344416,_0x7a25ea)=>{const _0xbcacc1=_0x5871cc;for(var _0x38d4d6=_0x7a25ea>0x1?void 0x0:_0x7a25ea?Vt(_0x32f319,_0x344416):_0x32f319,_0x5bd07f=_0x1f01ba[_0xbcacc1(0x395)]-0x1,_0x4bf3bd;_0x5bd07f>=0x0;_0x5bd07f--)(_0x4bf3bd=_0x1f01ba[_0x5bd07f])&&(_0x38d4d6=_0x4bf3bd(_0x38d4d6)||_0x38d4d6);return _0x38d4d6;},N=(_0x438dc5,_0x359a89)=>(_0x394b8c,_0x4d5588)=>_0x359a89(_0x394b8c,_0x4d5588,_0x438dc5);let Q=class extends a['Disposable']{constructor(_0x142e2f,_0x388a26,_0x33f0eb,_0x1a2827,_0xccfdb9,_0x461678,_0x1685c2,_0x31f1bb){const _0x3cd2ff=_0x5871cc;super(),h(this,_0x3cd2ff(0x26a),new d['BehaviorSubject'](u['CollaborationStatus'][_0x3cd2ff(0x32d)])),(this[_0x3cd2ff(0x252)]=_0x142e2f,this[_0x3cd2ff(0x35d)]=_0x388a26,this[_0x3cd2ff(0x1fe)]=_0x33f0eb,this[_0x3cd2ff(0x315)]=_0x1a2827,this[_0x3cd2ff(0x1b1)]=_0xccfdb9,this[_0x3cd2ff(0x201)]=_0x461678,this['_messageService']=_0x1685c2,this[_0x3cd2ff(0x1b9)]=_0x31f1bb,this[_0x3cd2ff(0x30d)]());}[_0x5871cc(0x30d)](){const _0x541fab=_0x5871cc;this[_0x541fab(0x159)](this[_0x541fab(0x35d)][_0x541fab(0x38c)]['subscribe'](_0x832c12=>{const _0x42062c=_0x541fab,_0x49ca31=this[_0x42062c(0x252)][_0x42062c(0x2d0)]['subscribe'](_0x3f5493=>{const _0x49f612=_0x42062c;if(_0x3f5493==null)return;const {unitId:_0x12d3a1,redoState:_0x30219f,commandId:_0x3064b3}=_0x3f5493;if(_0x12d3a1!==_0x832c12[_0x49f612(0x20f)])return;const _0x1c5f3d={'id':_0x3064b3,'type':a[_0x49f612(0x30e)][_0x49f612(0x36e)],'params':{'unitId':_0x12d3a1,'actions':_0x30219f[_0x49f612(0x2f9)],'textRanges':null}};_0x832c12[_0x49f612(0x1ec)](_0x1c5f3d);});if(_0x832c12[_0x42062c(0x159)](_0x49ca31),_0x832c12 instanceof u[_0x42062c(0x207)]){const _0x80df68={'onTransformIME':_0xeaf0df=>this['_docTransformIMECacheService'][_0x42062c(0x32a)](_0xeaf0df),'onTransformState':_0xead41f=>this[_0x42062c(0x315)][_0x42062c(0x334)](_0xead41f),'onTransformSelections':_0x3ffe4f=>this['_docTransformSelectionsService']['transformSelections'](_0x3ffe4f),'onSyncEditingCollabCursor':_0x46777f=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x46777f),'onTransformRemoteChangesetByIMECache':_0x2bae3b=>this['_docTransformIMECacheService'][_0x42062c(0x35b)](_0x2bae3b),'onTransformRemoteChangesetByStateCache':_0x46d7b8=>this[_0x42062c(0x315)][_0x42062c(0x35b)](_0x46d7b8)};_0x832c12[_0x42062c(0x2a4)](_0x80df68);}}));}};Q=Xt([N(0x0,a[_0x5871cc(0x141)](E[_0x5871cc(0x146)])),N(0x1,a[_0x5871cc(0x141)](u[_0x5871cc(0x33a)])),N(0x2,a[_0x5871cc(0x141)](z)),N(0x3,a['Inject'](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x5871cc(0x141)](pe)),N(0x6,O['IMessageService']),N(0x7,a['Inject'](a[_0x5871cc(0x171)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x103155,_0x48c8f7,_0x3bf9d1,_0x16ded3)=>{const _0x50e4f2=_0x5871cc;for(var _0x6f16c7=_0x16ded3>0x1?void 0x0:_0x16ded3?Gt(_0x48c8f7,_0x3bf9d1):_0x48c8f7,_0x1ca047=_0x103155[_0x50e4f2(0x395)]-0x1,_0xf5db67;_0x1ca047>=0x0;_0x1ca047--)(_0xf5db67=_0x103155[_0x1ca047])&&(_0x6f16c7=_0xf5db67(_0x6f16c7)||_0x6f16c7);return _0x6f16c7;},le=(_0x1c5637,_0x485e4f)=>(_0x57725b,_0x41a64d)=>_0x485e4f(_0x57725b,_0x41a64d,_0x1c5637);let ve=class extends a[_0x5871cc(0x326)]{constructor(_0x5e5950,_0x179b7e,_0x5ca3cb){const _0x16ef8b=_0x5871cc;super(),h(this,_0x16ef8b(0x2d4),new Map()),h(this,_0x16ef8b(0x156),new Map()),h(this,_0x16ef8b(0x365),!0x1),(this[_0x16ef8b(0x1cd)]=_0x5e5950,this[_0x16ef8b(0x371)]=_0x179b7e,this[_0x16ef8b(0x224)]=_0x5ca3cb);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1cec42=_0x5871cc;this[_0x1cec42(0x365)]=!0x1;}get[_0x5871cc(0x2af)](){const _0x1aece1=_0x5871cc;return this[_0x1aece1(0x156)];}[_0x5871cc(0x158)](){const _0x46dd52=_0x5871cc;this[_0x46dd52(0x240)]()[_0x46dd52(0x342)](()=>super[_0x46dd52(0x158)]());}async['loadOfflineData'](_0x4736f5){const _0x49080d=_0x5871cc;return this['_disabled']?null:this['_localStorageService']['getItem'](u[_0x49080d(0x355)](_0x4736f5));}async[_0x5871cc(0x335)](_0x2e154b,_0x248018){const _0x4a9e4a=_0x5871cc;return!!this[_0x4a9e4a(0x371)][_0x4a9e4a(0x2cf)](_0x2e154b,_0x248018);}['updateOfflineData'](_0x2eaeb7,_0x5a5078,_0x240805,_0x1ec62d){const _0x3a5d96=_0x5871cc,_0x138e8a=this[_0x3a5d96(0x224)][_0x3a5d96(0x189)](_0x2eaeb7);this[_0x3a5d96(0x2d4)][_0x3a5d96(0x2d8)](_0x2eaeb7,{'unitID':_0x2eaeb7,'type':_0x5a5078,'awaitingChangeset':_0x240805,'mutations':_0x1ec62d,'rev':_0x138e8a}),this[_0x3a5d96(0x156)][_0x3a5d96(0x37d)](_0x2eaeb7)||this[_0x3a5d96(0x192)](_0x2eaeb7);}['_scheduleSaving'](_0xa0cd0e){const _0x2d3ab3=_0x5871cc,_0x30b466=this[_0x2d3ab3(0x386)]();_0x30b466===0x0?this[_0x2d3ab3(0x1f9)](_0xa0cd0e):this[_0x2d3ab3(0x156)][_0x2d3ab3(0x2d8)](_0xa0cd0e,setTimeout(()=>this[_0x2d3ab3(0x1f9)](_0xa0cd0e),_0x30b466));}[_0x5871cc(0x386)](){const _0x104c26=_0x5871cc;var _0x502dd1;return(_0x502dd1=this[_0x104c26(0x1cd)][_0x104c26(0x165)](u[_0x104c26(0x38a)]))!=null?_0x502dd1:u[_0x104c26(0x359)];}[_0x5871cc(0x1f9)](_0x23a78e){const _0x2e5317=_0x5871cc,_0x5d5650=this['_saveTaskMap'][_0x2e5317(0x140)](_0x23a78e);return _0x5d5650!==void 0x0&&window['clearTimeout'](_0x5d5650),this[_0x2e5317(0x371)][_0x2e5317(0x2cf)](u[_0x2e5317(0x355)](_0x23a78e),this[_0x2e5317(0x2d4)][_0x2e5317(0x140)](_0x23a78e))[_0x2e5317(0x342)](()=>this[_0x2e5317(0x156)][_0x2e5317(0x174)](_0x23a78e));}async[_0x5871cc(0x240)](){const _0x23decd=_0x5871cc,_0x26cb74=[];this[_0x23decd(0x156)]['forEach']((_0x39befd,_0x4cae84)=>{const _0x53f518=_0x23decd;window[_0x53f518(0x2a6)](_0x39befd),_0x26cb74['push'](this[_0x53f518(0x1f9)](_0x4cae84)[_0x53f518(0x342)](()=>{const _0x370682=_0x53f518;this[_0x370682(0x156)][_0x370682(0x174)](_0x4cae84);}));}),await Promise[_0x23decd(0x2f0)](_0x26cb74);}};ve=Kt([le(0x0,a[_0x5871cc(0x23b)]),le(0x1,a[_0x5871cc(0x356)]),le(0x2,a[_0x5871cc(0x141)](m[_0x5871cc(0x228)]))],ve);class xe extends a[_0x5871cc(0x332)]{constructor(){const _0x3e8526=_0x5871cc;super(),h(this,_0x3e8526(0x213)),this['urlChange$']=d[_0x3e8526(0x18f)](window,_0x3e8526(0x29f))[_0x3e8526(0x2e3)](d[_0x3e8526(0x1d7)](this[_0x3e8526(0x1ad)]),d['shareReplay'](0x1),d[_0x3e8526(0x18b)](void 0x0));}[_0x5871cc(0x30f)](_0x31e722,_0x14cc28,_0x31ed03=!0x1){const _0x394735=_0x5871cc,_0x36027c=new URL(window['location'][_0x394735(0x331)]);_0x36027c[_0x394735(0x1f7)][_0x394735(0x2d8)](_0x31e722,_0x14cc28),_0x31ed03?window[_0x394735(0x1c0)][_0x394735(0x180)]('','',_0x36027c['toString']()):window['history']['pushState']('','',_0x36027c[_0x394735(0x211)]());}[_0x5871cc(0x361)](_0x37a583,_0x5b0743=!0x1){const _0x1cbb12=_0x5871cc,_0x3e3a31=new URL(window[_0x1cbb12(0x17b)][_0x1cbb12(0x331)]);_0x3e3a31[_0x1cbb12(0x1f7)][_0x1cbb12(0x174)](_0x37a583),_0x5b0743?window[_0x1cbb12(0x1c0)][_0x1cbb12(0x180)]('','',_0x3e3a31[_0x1cbb12(0x211)]()):window['history'][_0x1cbb12(0x296)]('','',_0x3e3a31[_0x1cbb12(0x211)]());}['getParam'](_0x2f5cd1){const _0x42cbd8=_0x5871cc;var _0x51c128;return(_0x51c128=new URL(window['location'][_0x42cbd8(0x331)])['searchParams'][_0x42cbd8(0x140)](_0x2f5cd1))!=null?_0x51c128:void 0x0;}}var qt=Object[_0x5871cc(0x162)],zt=Object[_0x5871cc(0x300)],Jt=(_0x2c9c3d,_0x3f4361,_0x50f1e2)=>_0x3f4361 in _0x2c9c3d?qt(_0x2c9c3d,_0x3f4361,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50f1e2}):_0x2c9c3d[_0x3f4361]=_0x50f1e2,Zt=(_0x2ea7c5,_0x3da0e1,_0x12f59e,_0x3d2274)=>{const _0x1a479e=_0x5871cc;for(var _0x2875ee=_0x3d2274>0x1?void 0x0:_0x3d2274?zt(_0x3da0e1,_0x12f59e):_0x3da0e1,_0x426b68=_0x2ea7c5[_0x1a479e(0x395)]-0x1,_0x33cd24;_0x426b68>=0x0;_0x426b68--)(_0x33cd24=_0x2ea7c5[_0x426b68])&&(_0x2875ee=_0x33cd24(_0x2875ee)||_0x2875ee);return _0x2875ee;},_e=(_0x27f5c6,_0x2550ed)=>(_0x1eea26,_0x1ca7d5)=>_0x2550ed(_0x1eea26,_0x1ca7d5,_0x27f5c6),Qt=(_0x46b45b,_0x3e8826,_0x13592e)=>Jt(_0x46b45b,_0x3e8826+'',_0x13592e);const es=_0x5871cc(0x1a2);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x5871cc(0x2bc)]{constructor(_0x4e89a4=De,_0x4af0bc,_0x3ddbf6,_0xb8ee92){const _0x26d547=_0x5871cc;super(),this[_0x26d547(0x24a)]=_0x4e89a4,this[_0x26d547(0x236)]=_0x4af0bc,this[_0x26d547(0x209)]=_0x3ddbf6,this['_configService']=_0xb8ee92;const {..._0x545b3e}=a[_0x26d547(0x1a7)]({},De,this[_0x26d547(0x24a)]);this[_0x26d547(0x1cd)][_0x26d547(0x288)](Bt,_0x545b3e);}['onStarting'](){const _0x1f86c6=_0x5871cc;this[_0x1f86c6(0x2f1)](),this[_0x1f86c6(0x176)]();}[_0x5871cc(0x246)](){const _0x33c129=_0x5871cc;this[_0x33c129(0x38f)]();}[_0x5871cc(0x2f1)](){const _0x2ac45e=_0x5871cc;var _0x5aa41b;const _0xd9792e=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K[_0x2ac45e(0x399)],{'useClass':K['WebSocketService']}],[u[_0x2ac45e(0x34a)],{'useClass':ve}],[exports[_0x2ac45e(0x333)]],[Q],[q],[x],[ue],[exports[_0x2ac45e(0x1fc)]]];a[_0x2ac45e(0x1be)](this[_0x2ac45e(0x209)],a['mergeOverrideWithDependencies'](_0xd9792e,(_0x5aa41b=this[_0x2ac45e(0x24a)])==null?void 0x0:_0x5aa41b[_0x2ac45e(0x21e)]));}['_registerRenderDependencies'](){const _0x10ea81=_0x5871cc;this[_0x10ea81(0x159)](this['_renderManagerService'][_0x10ea81(0x175)](a[_0x10ea81(0x308)][_0x10ea81(0x1eb)],[fe])),this[_0x10ea81(0x159)](this[_0x10ea81(0x236)][_0x10ea81(0x175)](a[_0x10ea81(0x308)]['UNIVER_SHEET'],[Ie]));}[_0x5871cc(0x176)](){const _0x51a358=_0x5871cc;a[_0x51a358(0x2ff)](this[_0x51a358(0x209)],[[x],[exports[_0x51a358(0x333)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports[_0x5871cc(0x2e1)],'pluginName',es),exports[_0x5871cc(0x2e1)]=Zt([a['DependentOn'](u[_0x5871cc(0x238)]),_e(0x1,p[_0x5871cc(0x184)]),_e(0x2,a['Inject'](a['Injector'])),_e(0x3,a[_0x5871cc(0x23b)])],exports[_0x5871cc(0x2e1)]);var ts=Object[_0x5871cc(0x300)],ss=(_0x553b7a,_0x27443c,_0x2ff1fe,_0x24218d)=>{const _0x1d390d=_0x5871cc;for(var _0x43b381=_0x24218d>0x1?void 0x0:_0x24218d?ts(_0x27443c,_0x2ff1fe):_0x27443c,_0x22463e=_0x553b7a[_0x1d390d(0x395)]-0x1,_0x5bc3fc;_0x22463e>=0x0;_0x22463e--)(_0x5bc3fc=_0x553b7a[_0x22463e])&&(_0x43b381=_0x5bc3fc(_0x43b381)||_0x43b381);return _0x43b381;},H=(_0x2574e6,_0x57bd44)=>(_0x576023,_0x4a9a42)=>_0x57bd44(_0x576023,_0x4a9a42,_0x2574e6);exports['BrowserCollaborationSocketService']=class extends u[_0x5871cc(0x138)]{constructor(_0x3998ec,_0x2bfd79,_0x1e9ecc,_0x2d71f6,_0x4a0262){super(_0x3998ec,_0x2bfd79,_0x1e9ecc,_0x2d71f6,_0x4a0262);}async[_0x5871cc(0x2e6)](_0x4fc0a4){const _0x346941=_0x5871cc,_0x5cd53f=await this[_0x346941(0x283)](),_0x14581f=this[_0x346941(0x241)](_0x4fc0a4,_0x5cd53f);return this[_0x346941(0x205)](_0x14581f);}[_0x5871cc(0x241)](_0x4f41a0,_0x47e697){const _0x14fe1d=_0x5871cc,_0x482090=typeof window>'u'?new URL(_0x4f41a0):new URL(_0x4f41a0,window[_0x14fe1d(0x17b)][_0x14fe1d(0x2bb)]);_0x482090['searchParams']['set'](_0x14fe1d(0x142),_0x47e697);const _0x1de213=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x14fe1d(0x1c9)]);return _0x1de213[_0x14fe1d(0x140)]('runId')&&_0x482090[_0x14fe1d(0x1f7)][_0x14fe1d(0x2d8)](_0x14fe1d(0x309),_0x1de213[_0x14fe1d(0x140)](_0x14fe1d(0x309))),_0x482090[_0x14fe1d(0x211)]();}async[_0x5871cc(0x283)](){const _0x22102b=_0x5871cc;var _0x1388cc,_0x102bf6,_0x4389c0;const _0x4afa79=this[_0x22102b(0x1cd)][_0x22102b(0x165)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x44b5de=(_0x1388cc=_0x4afa79==null?void 0x0:_0x4afa79[_0x22102b(0x1e1)])!=null?_0x1388cc:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4389c0=(_0x102bf6=(await this[_0x22102b(0x27a)]['get'](_0x44b5de,{'headers':{'Content-Type':_0x22102b(0x275)}}))[_0x22102b(0x398)])==null?void 0x0:_0x102bf6[_0x22102b(0x125)])!=null?_0x4389c0:'';}},exports[_0x5871cc(0x225)]=ss([H(0x0,a['Inject'](a[_0x5871cc(0x31e)])),H(0x1,a[_0x5871cc(0x141)](K[_0x5871cc(0x164)])),H(0x2,a[_0x5871cc(0x23b)]),H(0x3,a[_0x5871cc(0x389)]),H(0x4,m[_0x5871cc(0x216)])],exports['BrowserCollaborationSocketService']);var Be=(_0x1d5668=>(_0x1d5668[_0x1d5668[_0x5871cc(0x12f)]=0x0]=_0x5871cc(0x12f),_0x1d5668[_0x1d5668['OK']=0x1]='OK',_0x1d5668[_0x1d5668[_0x5871cc(0x381)]=0x2]='INTERNAL_ERROR',_0x1d5668[_0x1d5668[_0x5871cc(0x1cb)]=0x3]=_0x5871cc(0x1cb),_0x1d5668[_0x1d5668[_0x5871cc(0x2b0)]=0x4]=_0x5871cc(0x2b0),_0x1d5668[_0x1d5668[_0x5871cc(0x2b9)]=0x5]=_0x5871cc(0x2b9),_0x1d5668[_0x1d5668[_0x5871cc(0x242)]=0x6]=_0x5871cc(0x242),_0x1d5668[_0x1d5668[_0x5871cc(0x137)]=0x7]=_0x5871cc(0x137),_0x1d5668[_0x1d5668['TOO_MANY_REQUESTS']=0x8]=_0x5871cc(0x244),_0x1d5668[_0x1d5668[_0x5871cc(0x2f4)]=0x9]=_0x5871cc(0x2f4),_0x1d5668[_0x1d5668[_0x5871cc(0x143)]=0xa]=_0x5871cc(0x143),_0x1d5668[_0x1d5668[_0x5871cc(0x266)]=0xb]=_0x5871cc(0x266),_0x1d5668[_0x1d5668[_0x5871cc(0x37b)]=0xc]=_0x5871cc(0x37b),_0x1d5668[_0x1d5668[_0x5871cc(0x26b)]=0xd]=_0x5871cc(0x26b),_0x1d5668[_0x1d5668[_0x5871cc(0x2da)]=0xe]=_0x5871cc(0x2da),_0x1d5668[_0x1d5668[_0x5871cc(0x273)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1d5668[_0x1d5668[_0x5871cc(0x2e8)]=0x1771]=_0x5871cc(0x2e8),_0x1d5668[_0x1d5668[_0x5871cc(0x251)]=0x1772]=_0x5871cc(0x251),_0x1d5668[_0x1d5668[_0x5871cc(0x2df)]=0x1773]=_0x5871cc(0x2df),_0x1d5668[_0x1d5668['APPLY_REJECT']=0x1b59]=_0x5871cc(0x250),_0x1d5668[_0x1d5668['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5871cc(0x179),_0x1d5668[_0x1d5668[_0x5871cc(0x2a3)]=0x1b5b]=_0x5871cc(0x2a3),_0x1d5668[_0x1d5668[_0x5871cc(0x319)]=0x1b5c]=_0x5871cc(0x319),_0x1d5668[_0x1d5668[_0x5871cc(0x15b)]=0x1b5d]=_0x5871cc(0x15b),_0x1d5668[_0x1d5668['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5871cc(0x2a0),_0x1d5668[_0x1d5668['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1d5668[_0x1d5668['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5871cc(0x33e),_0x1d5668[_0x1d5668[_0x5871cc(0x2c4)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1d5668[_0x1d5668[_0x5871cc(0x197)]=0x232c]=_0x5871cc(0x197),_0x1d5668[_0x1d5668[_0x5871cc(0x131)]=0x232d]=_0x5871cc(0x131),_0x1d5668[_0x1d5668[_0x5871cc(0x177)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1d5668[_0x1d5668[_0x5871cc(0x261)]=0x2712]=_0x5871cc(0x261),_0x1d5668[_0x1d5668[_0x5871cc(0x1e7)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1d5668[_0x1d5668['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1d5668[_0x1d5668[_0x5871cc(0x22a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1d5668[_0x1d5668[_0x5871cc(0x1e0)]=0x271b]=_0x5871cc(0x1e0),_0x1d5668[_0x1d5668[_0x5871cc(0x163)]=0x271c]=_0x5871cc(0x163),_0x1d5668[_0x1d5668[_0x5871cc(0x1bc)]=0x271d]=_0x5871cc(0x1bc),_0x1d5668[_0x1d5668[_0x5871cc(0x373)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1d5668[_0x1d5668[_0x5871cc(0x263)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1d5668[_0x1d5668[_0x5871cc(0x1b5)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1d5668[_0x1d5668[_0x5871cc(0x245)]=0x2af9]=_0x5871cc(0x245),_0x1d5668[_0x1d5668[_0x5871cc(0x128)]=0x2ee1]=_0x5871cc(0x128),_0x1d5668[_0x1d5668[_0x5871cc(0x22b)]=0x2ee2]=_0x5871cc(0x22b),_0x1d5668[_0x1d5668['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5871cc(0x173),_0x1d5668[_0x1d5668[_0x5871cc(0x1ce)]=0x2ee4]=_0x5871cc(0x1ce),_0x1d5668[_0x1d5668[_0x5871cc(0x1b0)]=0x2ee5]=_0x5871cc(0x1b0),_0x1d5668[_0x1d5668[_0x5871cc(0x38e)]=0x32c9]=_0x5871cc(0x38e),_0x1d5668[_0x1d5668['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5871cc(0x258),_0x1d5668[_0x1d5668[_0x5871cc(0x25a)]=0x32cb]=_0x5871cc(0x25a),_0x1d5668[_0x1d5668[_0x5871cc(0x193)]=-0x1]=_0x5871cc(0x193),_0x1d5668))(Be||{}),is=Object[_0x5871cc(0x300)],ns=(_0x5bfec7,_0x34d1be,_0x1a285d,_0x2aa027)=>{const _0x3ffd2d=_0x5871cc;for(var _0x4d3ec7=_0x2aa027>0x1?void 0x0:_0x2aa027?is(_0x34d1be,_0x1a285d):_0x34d1be,_0x3933a4=_0x5bfec7[_0x3ffd2d(0x395)]-0x1,_0x4dac38;_0x3933a4>=0x0;_0x3933a4--)(_0x4dac38=_0x5bfec7[_0x3933a4])&&(_0x4d3ec7=_0x4dac38(_0x4d3ec7)||_0x4d3ec7);return _0x4d3ec7;},he=(_0x22bcad,_0x5387d7)=>(_0x1d946a,_0x38acc2)=>_0x5387d7(_0x1d946a,_0x38acc2,_0x22bcad);exports[_0x5871cc(0x1dd)]=class extends a[_0x5871cc(0x326)]{constructor(_0x3e5bfd,_0x143060,_0x5b92be){const _0x18ad71=_0x5871cc;super(),this[_0x18ad71(0x28b)]=_0x3e5bfd,this['_httpService']=_0x143060,this[_0x18ad71(0x1cd)]=_0x5b92be;}async[_0x5871cc(0x1ee)](_0x16ef09,_0xf1f0e7,_0x52de0b,..._0x3b7416){const _0xd3a99c=_0x5871cc;var _0x4c3017,_0x4a2646,_0x241f47,_0x2d5eac;const _0x250db8=this[_0xd3a99c(0x28b)]['getFocusedUnit']();if(!_0x250db8)throw new Error(_0xd3a99c(0x1ac));const _0x2c1a27=((_0x4c3017=this['_configService'][_0xd3a99c(0x165)](u[_0xd3a99c(0x276)]))!=null?_0x4c3017:u[_0xd3a99c(0x16a)])+'/'+_0x16ef09+'/run/'+_0xf1f0e7,_0x3356d0=new URL(window['location'][_0xd3a99c(0x331)]),_0x30c854={'scriptId':_0x16ef09,'runId':(_0x4a2646=_0x3356d0['searchParams']['get'](_0xd3a99c(0x309)))!=null?_0x4a2646:'','function':_0xf1f0e7,'unitId':_0x250db8[_0xd3a99c(0x364)](),'argsOfFunction':JSON[_0xd3a99c(0x21d)](_0x3b7416),'invokeId':(_0x241f47=_0x52de0b[_0xd3a99c(0x127)])!=null?_0x241f47:'','executionId':(_0x2d5eac=_0x52de0b[_0xd3a99c(0x14a)])!=null?_0x2d5eac:''};try{const _0x2fa704=await this[_0xd3a99c(0x27a)][_0xd3a99c(0x172)](_0x2c1a27,{'body':_0x30c854});return _0x2fa704['body'][_0xd3a99c(0x23c)]&&_0x2fa704[_0xd3a99c(0x398)]['error']['code']!==Be['OK']?'Failed':_0x2fa704[_0xd3a99c(0x398)][_0xd3a99c(0x1b2)];}catch{return'Failed';}}},exports[_0x5871cc(0x1dd)]=ns([he(0x0,a[_0x5871cc(0x2b1)]),he(0x1,a[_0x5871cc(0x141)](K[_0x5871cc(0x164)])),he(0x2,a[_0x5871cc(0x23b)])],exports[_0x5871cc(0x1dd)]);const Me=0x7530,Le=_0x5871cc(0x145);class rs extends a[_0x5871cc(0x326)]{constructor(){const _0x3b03df=_0x5871cc;super(),h(this,_0x3b03df(0x1c4),a[_0x3b03df(0x1aa)]()),h(this,_0x3b03df(0x366),new Set()),h(this,_0x3b03df(0x15a),new Map()),h(this,_0x3b03df(0x2c8),null),h(this,_0x3b03df(0x1e8),new Map()),h(this,_0x3b03df(0x2f5),new Map()),this[_0x3b03df(0x278)]();}[_0x5871cc(0x158)](){const _0x4cef04=_0x5871cc;super[_0x4cef04(0x158)](),this[_0x4cef04(0x1e8)][_0x4cef04(0x2de)]((_0x441870,_0x5171fa)=>this[_0x4cef04(0x12b)](_0x5171fa)),this[_0x4cef04(0x2c8)]&&window[_0x4cef04(0x2e5)](this[_0x4cef04(0x2c8)]);}[_0x5871cc(0x2cc)](_0x3c4b2d){const _0x29ec78=_0x5871cc;return this[_0x29ec78(0x1de)](_0x3c4b2d)[_0x29ec78(0x2e3)](d['distinctUntilChanged']());}[_0x5871cc(0x23a)](_0x34baaa){const _0x1e0bb0=_0x5871cc;this[_0x1e0bb0(0x366)][_0x1e0bb0(0x2cb)]===0x0&&this[_0x1e0bb0(0x232)](),this[_0x1e0bb0(0x366)][_0x1e0bb0(0x388)](_0x34baaa),this['_send']({'type':0x0,'memberID':this[_0x1e0bb0(0x1c4)],'unitIDs':[_0x34baaa],'isForwarded':!0x1});}['disposeUnit'](_0x4ef5c0){const _0x16c1e9=_0x5871cc;this[_0x16c1e9(0x366)][_0x16c1e9(0x174)](_0x4ef5c0),this['_selfUnitIDs']['size']===0x0&&this[_0x16c1e9(0x2c8)]&&window['clearInterval'](this[_0x16c1e9(0x2c8)]);}['_init'](){const _0x15f98c=_0x5871cc;this[_0x15f98c(0x159)](a[_0x15f98c(0x123)](d[_0x15f98c(0x18f)](window,_0x15f98c(0x20e))[_0x15f98c(0x13f)](_0x48340=>{const _0x524998=_0x15f98c;if(_0x48340['key']!==Le||!_0x48340[_0x524998(0x1c1)])return;const _0x5351b0=JSON[_0x524998(0x370)](_0x48340[_0x524998(0x1c1)]);this['_handleEvent'](_0x5351b0);}))),window[_0x15f98c(0x27e)](_0x15f98c(0x267),()=>this[_0x15f98c(0x239)]({'type':0x1,'memberID':this[_0x15f98c(0x1c4)],'unitIDs':Array[_0x15f98c(0x390)](this[_0x15f98c(0x366)])}));}[_0x5871cc(0x1ab)](_0x436fcd){const _0x4f3fe5=_0x5871cc;switch(_0x436fcd[_0x4f3fe5(0x129)]){case 0x0:this[_0x4f3fe5(0x153)](_0x436fcd);break;case 0x1:this[_0x4f3fe5(0x33d)](_0x436fcd);break;case 0x2:this[_0x4f3fe5(0x393)](_0x436fcd);break;}}[_0x5871cc(0x153)](_0x285cec){const _0x5f0f7a=_0x5871cc,{unitIDs:_0x2cf518,memberID:_0x25ad3c,isForwarded:_0x2b13cc}=_0x285cec;_0x2cf518['forEach'](_0x4bc929=>{const _0x20b0bd=_0x3ae7;if(!_0x2b13cc&&this['_unitOnClients'][_0x20b0bd(0x37d)](_0x4bc929)&&this[_0x20b0bd(0x1de)](_0x4bc929)[_0x20b0bd(0x13c)](u[_0x20b0bd(0x1cc)][_0x20b0bd(0x376)]),!this[_0x20b0bd(0x15a)][_0x20b0bd(0x37d)](_0x4bc929)||!this[_0x20b0bd(0x15a)][_0x20b0bd(0x140)](_0x4bc929)['has'](_0x25ad3c)){const _0x563a7e=this[_0x20b0bd(0x15a)][_0x20b0bd(0x140)](_0x4bc929)||new Set();_0x563a7e[_0x20b0bd(0x388)](_0x25ad3c),this[_0x20b0bd(0x15a)]['set'](_0x4bc929,_0x563a7e),this[_0x20b0bd(0x14b)](_0x25ad3c);}}),_0x2b13cc||this[_0x5f0f7a(0x239)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5f0f7a(0x366)]],'isForwarded':!0x0});}[_0x5871cc(0x14b)](_0x369341){const _0x1375be=_0x5871cc;this[_0x1375be(0x12b)](_0x369341);const _0x208403=window[_0x1375be(0x206)](()=>{const _0x34e80b=_0x1375be;this['_unitOnClients'][_0x34e80b(0x2de)](_0xe9edc3=>{_0xe9edc3['delete'](_0x369341);});},Me*0x2);this['_clearOtherTimers']['set'](_0x369341,_0x208403);}['_removeClearOtherTimer'](_0x14e14e){const _0x1e7f88=_0x5871cc;if(this['_clearOtherTimers'][_0x1e7f88(0x37d)](_0x14e14e)){const _0x562924=this['_clearOtherTimers'][_0x1e7f88(0x140)](_0x14e14e);_0x562924&&window[_0x1e7f88(0x2a6)](_0x562924),this[_0x1e7f88(0x1e8)][_0x1e7f88(0x2d8)](_0x14e14e,null);}}[_0x5871cc(0x33d)](_0x2d4d39){const _0x1dc6c3=_0x5871cc,{memberID:_0x3ae3cb,unitIDs:_0x3e76bb}=_0x2d4d39;_0x3e76bb[_0x1dc6c3(0x2de)](_0x23e879=>{const _0x44b3eb=_0x1dc6c3;var _0x20b78e;const _0x481e00=this[_0x44b3eb(0x15a)][_0x44b3eb(0x140)](_0x23e879);_0x481e00&&(_0x481e00['delete'](_0x3ae3cb),(_0x20b78e=this[_0x44b3eb(0x1de)](_0x23e879))==null||_0x20b78e['next'](_0x481e00[_0x44b3eb(0x2cb)]===0x0?u[_0x44b3eb(0x1cc)][_0x44b3eb(0x374)]:u[_0x44b3eb(0x1cc)][_0x44b3eb(0x376)]));}),this[_0x1dc6c3(0x12b)](_0x3ae3cb);}[_0x5871cc(0x393)](_0x1cceae){const _0x6bb847=_0x5871cc;this[_0x6bb847(0x14b)](_0x1cceae['memberID']);}[_0x5871cc(0x239)](_0x30c891){const _0x470378=_0x5871cc;localStorage[_0x470378(0x2cf)](Le,JSON[_0x470378(0x21d)](_0x30c891));}[_0x5871cc(0x232)](){const _0x59aeee=_0x5871cc;this[_0x59aeee(0x2c8)]=window[_0x59aeee(0x268)](()=>{const _0x1fe820=_0x59aeee;this[_0x1fe820(0x239)]({'type':0x2,'memberID':this[_0x1fe820(0x1c4)]});},Me);}[_0x5871cc(0x1de)](_0x2f3a48){const _0x53720c=_0x5871cc;return this['_unitStatus']['has'](_0x2f3a48)||this[_0x53720c(0x2f5)][_0x53720c(0x2d8)](_0x2f3a48,new d[(_0x53720c(0x344))](u[_0x53720c(0x1cc)][_0x53720c(0x374)])),this[_0x53720c(0x2f5)][_0x53720c(0x140)](_0x2f3a48);}}exports[_0x5871cc(0x1ed)]=me,exports['SheetCollabCursorShape']=$e,exports['WebBrowserSingleActiveUnitService']=rs,exports['WebURLService']=xe;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1d2f8c=_0x1812;(function(_0x3b2565,_0x1cbc46){const _0x44f40f=_0x1812,_0x1b021d=_0x3b2565();while(!![]){try{const _0x5b7ae0=parseInt(_0x44f40f(0x108))/0x1+-parseInt(_0x44f40f(0x116))/0x2+parseInt(_0x44f40f(0x109))/0x3*(-parseInt(_0x44f40f(0x111))/0x4)+-parseInt(_0x44f40f(0x107))/0x5+parseInt(_0x44f40f(0x10d))/0x6+-parseInt(_0x44f40f(0x10e))/0x7*(-parseInt(_0x44f40f(0x11a))/0x8)+-parseInt(_0x44f40f(0x112))/0x9*(parseInt(_0x44f40f(0x113))/0xa);if(_0x5b7ae0===_0x1cbc46)break;else _0x1b021d['push'](_0x1b021d['shift']());}catch(_0x574ec6){_0x1b021d['push'](_0x1b021d['shift']());}}}(_0x4205,0x52a11));function _0x4205(){const _0x12a6af=['Synced','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.','439860RKjIgK','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','112UwbXbT','Syncing...','952940TrAKJu','487525CbmPNz','4278ZvtyJK','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','506340saYkRF','218869iqFTFl','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','516BWWHzD','18zcTjkq','383660mKkveb'];_0x4205=function(){return _0x12a6af;};return _0x4205();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x1d2f8c(0x114),'syncing':_0x1d2f8c(0x106),'offline':_0x1d2f8c(0x118)},'session':{'connection-failed':_0x1d2f8c(0x10a),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x1d2f8c(0x117),'collaboration-timeout':_0x1d2f8c(0x10b)},'conflict':{'title':_0x1d2f8c(0x10f),'content':_0x1d2f8c(0x115)},'permission':{'title':'Authentication\x20Error','content':_0x1d2f8c(0x110)},'collaboration':{'single-unit':{'warning':_0x1d2f8c(0x10c)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1d2f8c(0x119)}},o=e;function _0x1812(_0x1f17bc,_0xfd8817){const _0x42051b=_0x4205();return _0x1812=function(_0x18120f,_0x26ea9c){_0x18120f=_0x18120f-0x106;let _0x441eda=_0x42051b[_0x18120f];return _0x441eda;},_0x1812(_0x1f17bc,_0xfd8817);}module['exports']=o;
|