@univerjs-pro/collaboration-client-ui 0.8.2-nightly.202506251607 → 0.8.2

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.
Files changed (42) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.js +1 -1
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/umd/facade.js +1 -1
  29. package/lib/umd/index.js +1 -1
  30. package/lib/umd/locale/en-US.js +1 -1
  31. package/lib/umd/locale/fa-IR.js +1 -1
  32. package/lib/umd/locale/fr-FR.js +1 -1
  33. package/lib/umd/locale/ru-RU.js +1 -1
  34. package/lib/umd/locale/vi-VN.js +1 -1
  35. package/lib/umd/locale/zh-CN.js +1 -1
  36. package/lib/umd/locale/zh-TW.js +1 -1
  37. package/package.json +16 -16
  38. package/lib/cjs/locale/ko-KR.js +0 -1
  39. package/lib/es/locale/ko-KR.js +0 -1
  40. package/lib/locale/ko-KR.js +0 -1
  41. package/lib/types/locale/ko-KR.d.ts +0 -3
  42. package/lib/umd/locale/ko-KR.js +0 -1
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x57a65f=_0x3c6f;(function(_0x391f92,_0x200758){const _0x3cf047=_0x3c6f,_0x25b914=_0x391f92();while(!![]){try{const _0x5b71dc=parseInt(_0x3cf047(0xd5))/0x1*(-parseInt(_0x3cf047(0xda))/0x2)+parseInt(_0x3cf047(0xd7))/0x3*(parseInt(_0x3cf047(0xd9))/0x4)+parseInt(_0x3cf047(0xdb))/0x5+parseInt(_0x3cf047(0xe2))/0x6+-parseInt(_0x3cf047(0xe1))/0x7*(parseInt(_0x3cf047(0xe4))/0x8)+parseInt(_0x3cf047(0xd2))/0x9*(parseInt(_0x3cf047(0xd6))/0xa)+parseInt(_0x3cf047(0xdc))/0xb*(-parseInt(_0x3cf047(0xdd))/0xc);if(_0x5b71dc===_0x200758)break;else _0x25b914['push'](_0x25b914['shift']());}catch(_0x1d5929){_0x25b914['push'](_0x25b914['shift']());}}}(_0x2aea,0x7414e));const t=require(_0x57a65f(0xd4)),e=require(_0x57a65f(0xe3));function _0x3c6f(_0x2bd093,_0x30bef3){const _0x2aea18=_0x2aea();return _0x3c6f=function(_0x3c6f38,_0x6768ed){_0x3c6f38=_0x3c6f38-0xd2;let _0x585011=_0x2aea18[_0x3c6f38];return _0x585011;},_0x3c6f(_0x2bd093,_0x30bef3);}class c extends e[_0x57a65f(0xd3)]{[_0x57a65f(0xdf)](_0x4c2c49,_0x4181a2,..._0x199db7){const _0x47dd6b=_0x57a65f;return this[_0x47dd6b(0xde)]['get'](t[_0x47dd6b(0xd8)])[_0x47dd6b(0xdf)](_0x4c2c49,_0x4181a2,{},..._0x199db7);}}e[_0x57a65f(0xd3)][_0x57a65f(0xe0)](c);function _0x2aea(){const _0xb701e7=['FUniver','@univerjs-pro/collaboration-client-ui','9hTMwxc','11670FgowCu','3XJuFYx','RemoteUniscriptService','2676084OIfELW','15798ZRwYMq','1138720ORXGwO','11LCePNE','2241732OXxOno','_injector','runOnServer','extend','3869005BLIduT','816498MAvUhz','@univerjs/core/facade','8oZIhod','1953jmLshk'];_0x2aea=function(){return _0xb701e7;};return _0x2aea();}
1
+ 'use strict';const _0x1c3774=_0x1a12;(function(_0x2c2cba,_0x4694e8){const _0x343167=_0x1a12,_0x1633f2=_0x2c2cba();while(!![]){try{const _0x2a3aea=-parseInt(_0x343167(0x89))/0x1*(parseInt(_0x343167(0x87))/0x2)+-parseInt(_0x343167(0x8a))/0x3+-parseInt(_0x343167(0x92))/0x4+parseInt(_0x343167(0x8d))/0x5*(parseInt(_0x343167(0x94))/0x6)+-parseInt(_0x343167(0x86))/0x7*(-parseInt(_0x343167(0x8e))/0x8)+parseInt(_0x343167(0x88))/0x9+parseInt(_0x343167(0x93))/0xa;if(_0x2a3aea===_0x4694e8)break;else _0x1633f2['push'](_0x1633f2['shift']());}catch(_0x5b7787){_0x1633f2['push'](_0x1633f2['shift']());}}}(_0x546c,0xc4c30));function _0x546c(){const _0x1eb6b7=['12757bAJxlO','666222rSVDdd','extend','FUniver','1345145SrcWfo','208rSfbeM','@univerjs-pro/collaboration-client-ui','runOnServer','@univerjs/core/facade','1652972LWuJUk','6328110pVrsaa','30rndXvv','RemoteUniscriptService','get','8267OWhyrB','122FvchGq','1896912DsAbMl'];_0x546c=function(){return _0x1eb6b7;};return _0x546c();}const t=require(_0x1c3774(0x8f)),e=require(_0x1c3774(0x91));class c extends e[_0x1c3774(0x8c)]{['runOnServer'](_0x51c8c2,_0x48a02f,..._0x8782b){const _0x276128=_0x1c3774;return this['_injector'][_0x276128(0x85)](t[_0x276128(0x95)])[_0x276128(0x90)](_0x51c8c2,_0x48a02f,{},..._0x8782b);}}function _0x1a12(_0x5138e6,_0x2d3681){const _0x546c4c=_0x546c();return _0x1a12=function(_0x1a127e,_0x4c8a8b){_0x1a127e=_0x1a127e-0x85;let _0x2a19b1=_0x546c4c[_0x1a127e];return _0x2a19b1;},_0x1a12(_0x5138e6,_0x2d3681);}e[_0x1c3774(0x8c)][_0x1c3774(0x8b)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x511f53=_0x543b;(function(_0x28ea6d,_0x33bd1e){const _0x3152b7=_0x543b,_0xf9fb6b=_0x28ea6d();while(!![]){try{const _0x3ac38d=parseInt(_0x3152b7(0x3eb))/0x1+parseInt(_0x3152b7(0x261))/0x2+-parseInt(_0x3152b7(0x2f6))/0x3+parseInt(_0x3152b7(0x346))/0x4+parseInt(_0x3152b7(0x239))/0x5*(parseInt(_0x3152b7(0x19b))/0x6)+parseInt(_0x3152b7(0x2cc))/0x7*(parseInt(_0x3152b7(0x3b7))/0x8)+parseInt(_0x3152b7(0x283))/0x9*(-parseInt(_0x3152b7(0x1f0))/0xa);if(_0x3ac38d===_0x33bd1e)break;else _0xf9fb6b['push'](_0xf9fb6b['shift']());}catch(_0xd7d0b9){_0xf9fb6b['push'](_0xf9fb6b['shift']());}}}(_0x5a22,0xbe51d));var Ve=Object['defineProperty'],Xe=(_0x46151d,_0x4320c4,_0x33be17)=>_0x4320c4 in _0x46151d?Ve(_0x46151d,_0x4320c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33be17}):_0x46151d[_0x4320c4]=_0x33be17,h=(_0x39f35b,_0x59f448,_0x4df6e4)=>Xe(_0x39f35b,typeof _0x59f448!=_0x511f53(0x1e1)?_0x59f448+'':_0x59f448,_0x4df6e4);Object['defineProperty'](exports,Symbol[_0x511f53(0x3ec)],{'value':_0x511f53(0x3f1)});const u=require(_0x511f53(0x391)),a=require(_0x511f53(0x343)),p=require(_0x511f53(0x3e3)),G=require(_0x511f53(0x310)),E=require('@univerjs/docs-ui'),Ge=require(_0x511f53(0x32f)),d=require(_0x511f53(0x3fb)),m=require('@univerjs-pro/collaboration'),Y=require(_0x511f53(0x408)),be=require(_0x511f53(0x3ac)),g=require(_0x511f53(0x19d)),$=require(_0x511f53(0x226)),X=require(_0x511f53(0x384)),P=require(_0x511f53(0x357)),O=require(_0x511f53(0x2c4)),D=require(_0x511f53(0x410)),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object['getOwnPropertyDescriptor'],ze=(_0x170fe6,_0x43b8e4,_0xfa03c6,_0x40e770)=>{const _0x10fd3c=_0x511f53;for(var _0x3a16a9=_0x40e770>0x1?void 0x0:_0x40e770?qe(_0x43b8e4,_0xfa03c6):_0x43b8e4,_0x4532a1=_0x170fe6[_0x10fd3c(0x1dc)]-0x1,_0x53d685;_0x4532a1>=0x0;_0x4532a1--)(_0x53d685=_0x170fe6[_0x4532a1])&&(_0x3a16a9=_0x53d685(_0x3a16a9)||_0x3a16a9);return _0x3a16a9;},Oe=(_0x14fc13,_0x168a6c)=>(_0x3caf31,_0x28c4d1)=>_0x168a6c(_0x3caf31,_0x28c4d1,_0x14fc13);let de=class extends a[_0x511f53(0x1e5)]{constructor(_0x447ef5,_0x34d9cb){const _0x1aa401=_0x511f53;super(),this['_docClipboardService']=_0x447ef5,this[_0x1aa401(0x28b)]=_0x34d9cb,this[_0x1aa401(0x3e8)]();}[_0x511f53(0x3e8)](){const _0x402ad0=_0x511f53,_0x533416=this;this[_0x402ad0(0x203)](this[_0x402ad0(0x24f)][_0x402ad0(0x404)]({'onBeforePasteImage':async _0x16a749=>{const _0x1c4ae4=_0x402ad0,_0x5f3af6=await _0x533416[_0x1c4ae4(0x28b)][_0x1c4ae4(0x30b)](_0x16a749);return _0x5f3af6?{'source':_0x5f3af6[_0x1c4ae4(0x2a7)],'imageSourceType':_0x5f3af6[_0x1c4ae4(0x1f6)]}:null;}}));}};de=ze([Oe(0x0,E[_0x511f53(0x228)]),Oe(0x1,Ge[_0x511f53(0x1b6)])],de);const Te=[_0x511f53(0x1ed),_0x511f53(0x34e),_0x511f53(0x31b),_0x511f53(0x246),_0x511f53(0x315),'yellow.400'];class me extends a[_0x511f53(0x22b)]{constructor(){const _0x4e66c7=_0x511f53;super(...arguments),h(this,_0x4e66c7(0x31a),new Map()),h(this,_0x4e66c7(0x211),0x0);}['assignAColorForMemberID'](_0xd21bcf){const _0x2fcd94=_0x511f53;if(this[_0x2fcd94(0x31a)][_0x2fcd94(0x2bd)](_0xd21bcf))return this[_0x2fcd94(0x31a)]['get'](_0xd21bcf);const _0x4961c2=Te[this[_0x2fcd94(0x211)]];return this[_0x2fcd94(0x211)]=(this[_0x2fcd94(0x211)]+0x1)%Te[_0x2fcd94(0x1dc)],this[_0x2fcd94(0x31a)][_0x2fcd94(0x3c7)](_0xd21bcf,_0x4961c2),_0x4961c2;}}function Pe(_0x23ec90){const _0x58ea7a=_0x511f53;let _0x4271fa='';for(const _0x410093 of _0x23ec90){const {startOffset:_0x5eec81,endOffset:_0x12057a,isActive:_0x1a8563,rangeType:_0x406133,segmentId:_0xae90bd,segmentPage:_0x2632ea}=_0x410093;_0x4271fa[_0x58ea7a(0x1dc)]&&(_0x4271fa+=','),_0x4271fa+=_0x5eec81+':'+_0x12057a+':'+(_0x1a8563?'1':'0')+':'+_0x406133+':'+_0xae90bd+':'+_0x2632ea;}return _0x4271fa;}function Je(_0x124d99){const _0x503b5a=_0x511f53,_0x1d6f05=_0x124d99[_0x503b5a(0x300)](','),_0x172667=[];for(const _0x37b69f of _0x1d6f05){const [_0x5edd95,_0x48249b,_0x3b4593,_0x50725e,_0x13f661,_0x546c90]=_0x37b69f[_0x503b5a(0x300)](':');_0x172667[_0x503b5a(0x23b)]({'startOffset':Number(_0x5edd95),'endOffset':Number(_0x48249b),'collapsed':_0x5edd95===_0x48249b,'isActive':_0x3b4593==='1','rangeType':_0x50725e===a[_0x503b5a(0x23d)][_0x503b5a(0x37f)]?a[_0x503b5a(0x23d)][_0x503b5a(0x37f)]:a[_0x503b5a(0x23d)]['RECT'],'segmentId':typeof _0x13f661==_0x503b5a(0x240)?String(_0x13f661):'','segmentPage':Number(_0x546c90!=null?_0x546c90:-0x1)});}return _0x172667[_0x503b5a(0x265)](_0x32b04a=>_0x32b04a[_0x503b5a(0x291)])||(_0x172667[0x0][_0x503b5a(0x291)]=!0x0),_0x172667;}class Ce extends a[_0x511f53(0x1e5)]{constructor(){const _0x107e70=_0x511f53;super(...arguments),h(this,'_collabCursorState$',new d[(_0x107e70(0x263))](null)),h(this,_0x107e70(0x319),this[_0x107e70(0x24a)][_0x107e70(0x3bc)]());}[_0x511f53(0x33f)](_0x59055b){const _0x32ed0b=_0x511f53,{unitID:_0xde6ccd,memberID:_0x34f9a6,textRanges:_0x170ad1}=_0x59055b,_0xdfb228=Pe(_0x170ad1);if(_0xdfb228==='')return;const _0x143aa7={'unitID':_0xde6ccd,'memberID':_0x34f9a6,'selection':_0xdfb228};this[_0x32ed0b(0x24a)][_0x32ed0b(0x262)](_0x143aa7);}}var Ze=Object[_0x511f53(0x1d6)],Qe=(_0x5c9408,_0x3110e9,_0x1de186,_0x4d5c8a)=>{const _0x525747=_0x511f53;for(var _0x5f1eee=_0x4d5c8a>0x1?void 0x0:_0x4d5c8a?Ze(_0x3110e9,_0x1de186):_0x3110e9,_0x3c9d4d=_0x5c9408[_0x525747(0x1dc)]-0x1,_0x4df1a7;_0x3c9d4d>=0x0;_0x3c9d4d--)(_0x4df1a7=_0x5c9408[_0x3c9d4d])&&(_0x5f1eee=_0x4df1a7(_0x5f1eee)||_0x5f1eee);return _0x5f1eee;},L=(_0x5d7ba0,_0x375347)=>(_0x327ba2,_0x5deb57)=>_0x375347(_0x327ba2,_0x5deb57,_0x5d7ba0);const et=0x12c,tt=0x64;let Ie=class extends a[_0x511f53(0x1e5)]{constructor(_0x112c5f,_0x394579,_0x479cc0,_0x3a6003,_0x4c89e1,_0x3a61cf,_0x4ee851,_0x586ff8,_0xd711fe){const _0x29b807=_0x511f53;super(),h(this,_0x29b807(0x28e),!0x1),h(this,_0x29b807(0x3e8),!0x1),h(this,_0x29b807(0x326),new d[(_0x29b807(0x263))](new Map())),h(this,_0x29b807(0x400),this[_0x29b807(0x326)][_0x29b807(0x3bc)]()),h(this,_0x29b807(0x251),new d[(_0x29b807(0x263))]([])),h(this,'roomMembers$',this['_roomMembers$']['pipe'](d['debounceTime'](et))),h(this,_0x29b807(0x20f),a[_0x29b807(0x288)](_0x1eec96=>{const _0x3f647a=_0x29b807,_0x220f1c={'eventID':m['CollaborationEvent'][_0x3f647a(0x2c1)],'data':{'unitID':this[_0x3f647a(0x2ef)],'memberID':this['_session'][_0x3f647a(0x26c)](),'selection':Pe(_0x1eec96)}};this[_0x3f647a(0x271)]['send'](_0x220f1c,this[_0x3f647a(0x2ef)]);},tt)),(this[_0x29b807(0x2ef)]=_0x112c5f,this[_0x29b807(0x271)]=_0x394579,this[_0x29b807(0x32e)]=_0x479cc0,this[_0x29b807(0x3fc)]=_0x3a6003,this[_0x29b807(0x3da)]=_0x4c89e1,this[_0x29b807(0x236)]=_0x3a61cf,this[_0x29b807(0x2b4)]=_0x4ee851,this[_0x29b807(0x1d5)]=_0x586ff8,this['_commandService']=_0xd711fe);}get[_0x511f53(0x26e)](){const _0x8be488=_0x511f53;return this[_0x8be488(0x326)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x408dfd=_0x511f53;super[_0x408dfd(0x23a)](),this['_cursorInfo$'][_0x408dfd(0x262)](new Map()),this[_0x408dfd(0x326)][_0x408dfd(0x2f8)](),this[_0x408dfd(0x251)][_0x408dfd(0x262)]([]),this[_0x408dfd(0x251)]['complete']();}[_0x511f53(0x341)](){const _0x13ec27=_0x511f53;this[_0x13ec27(0x3e8)]||(this['_init']=!0x0,this['_session'][_0x13ec27(0x37a)][_0x13ec27(0x33d)](d['takeUntil'](this[_0x13ec27(0x1cb)]))[_0x13ec27(0x2d0)](_0x1c0288=>{const _0xc86c3=_0x13ec27;_0x1c0288===u['SessionStatus'][_0xc86c3(0x3d7)]?this[_0xc86c3(0x1e8)]():this[_0xc86c3(0x3d4)]();}),this[_0x13ec27(0x271)][_0x13ec27(0x259)][_0x13ec27(0x33d)](d[_0x13ec27(0x207)](this[_0x13ec27(0x1cb)]))['subscribe'](_0x1e0792=>{const _0x1019e8=_0x13ec27,_0x101f76=_0x1e0792['eventID'];_0x101f76===m[_0x1019e8(0x189)]['UPDATE_CURSOR']&&this[_0x1019e8(0x33e)](_0x1e0792),_0x101f76===m[_0x1019e8(0x189)][_0x1019e8(0x329)]&&this[_0x1019e8(0x229)](_0x1e0792);}),this[_0x13ec27(0x203)](this['_commandService'][_0x13ec27(0x32d)](_0xdf48fa=>{const _0x552305=_0x13ec27,_0xafd4da=_0xdf48fa[_0x552305(0x411)];_0xafd4da!=null&&this['_online']&&_0xdf48fa['id']===Y[_0x552305(0x1b3)]['id']&&_0xafd4da[_0x552305(0x32c)]===this[_0x552305(0x2ef)]&&_0xafd4da[_0x552305(0x2bc)]===!0x1&&_0xafd4da[_0x552305(0x2ab)][_0x552305(0x1dc)]>0x0&&this[_0x552305(0x20f)](_0xafd4da[_0x552305(0x2ab)]);})),this[_0x13ec27(0x236)][_0x13ec27(0x319)][_0x13ec27(0x33d)](d[_0x13ec27(0x207)](this[_0x13ec27(0x1cb)]))[_0x13ec27(0x2d0)](_0x2f1be4=>{const _0x5a35f8=_0x13ec27;if((_0x2f1be4==null?void 0x0:_0x2f1be4[_0x5a35f8(0x2ef)])!==this[_0x5a35f8(0x2ef)])return;const _0x36d477={'eventID':m[_0x5a35f8(0x189)][_0x5a35f8(0x2c1)],'data':_0x2f1be4};this['_onCursorUpdate'](_0x36d477);}),this[_0x13ec27(0x203)](this[_0x13ec27(0x1b9)][_0x13ec27(0x32d)](_0x862c0b=>{const _0x21edc2=_0x13ec27;if(_0x862c0b[_0x21edc2(0x411)]==null)return;const _0x34fc29=_0x862c0b[_0x21edc2(0x411)];if(_0x862c0b['id']!==Y['RichTextEditingMutation']['id']||_0x34fc29[_0x21edc2(0x32c)]!==this[_0x21edc2(0x2ef)])return;const _0x424d97={'id':_0x21edc2(0x2f4),'params':_0x34fc29},_0x2cb329=this[_0x21edc2(0x26e)];for(const [_0x515fce,_0x33acc5]of _0x2cb329){const _0xb0d783={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x33acc5[_0x21edc2(0x2ab)]}},_0xd61c7e=this[_0x21edc2(0x2b4)]['transformMutation'](_0x424d97,_0xb0d783,!0x1);if(m[_0x21edc2(0x322)](_0xd61c7e))throw _0xd61c7e[_0x21edc2(0x1bc)];_0x2cb329[_0x21edc2(0x3c7)](_0x515fce,{..._0x33acc5,'ranges':_0xd61c7e['m2Prime'][_0x21edc2(0x411)]['textRanges']});}queueMicrotask(()=>{const _0x13b62d=_0x21edc2;this[_0x13b62d(0x326)][_0x13b62d(0x262)](_0x2cb329);});})));}['_onCursorUpdate'](_0x19c3f2){const _0xaaf93b=_0x511f53;var _0x43dcc0,_0x1d2e58;const {memberID:_0x647eb9,selection:_0x135154}=_0x19c3f2[_0xaaf93b(0x278)],_0x2bb282=Je(_0x135154),_0x1942ca=(_0x1d2e58=(_0x43dcc0=this[_0xaaf93b(0x3da)][_0xaaf93b(0x26d)](this[_0xaaf93b(0x2ef)],_0x647eb9))==null?void 0x0:_0x43dcc0[_0xaaf93b(0x205)])!=null?_0x1d2e58:_0xaaf93b(0x31e),_0x578059={'color':this[_0xaaf93b(0x3fc)]['assignAColorForMemberID'](_0x647eb9),'name':_0x1942ca,'ranges':_0x2bb282},_0x1a1e1d=this['cursorInfo'];_0x1a1e1d[_0xaaf93b(0x3c7)](_0x647eb9,_0x578059),this[_0xaaf93b(0x326)][_0xaaf93b(0x262)](_0x1a1e1d);}['_onCursorDelete'](_0x4431fb){const _0x1b6040=_0x511f53,{memberID:_0x5c5e97}=_0x4431fb[_0x1b6040(0x278)],_0x45194e=this[_0x1b6040(0x26e)];_0x45194e[_0x1b6040(0x2dc)](_0x5c5e97),this[_0x1b6040(0x326)][_0x1b6040(0x262)](_0x45194e);}[_0x511f53(0x1e8)](){const _0x8c83ca=_0x511f53;var _0x279c5d;if(this[_0x8c83ca(0x28e)]=!0x0,((_0x279c5d=this[_0x8c83ca(0x1d5)]['getFocusedUnit']())==null?void 0x0:_0x279c5d[_0x8c83ca(0x22f)]())!==this['unitID'])return;const _0x412f80=this['_injector'][_0x8c83ca(0x21f)](Y[_0x8c83ca(0x215)])[_0x8c83ca(0x3b3)]();Array[_0x8c83ca(0x287)](_0x412f80)&&_0x412f80[_0x8c83ca(0x1dc)]>0x0&&this[_0x8c83ca(0x20f)](_0x412f80);}[_0x511f53(0x3d4)](){this['_online']=!0x1;}};Ie=Qe([L(0x2,a[_0x511f53(0x3be)](a['Injector'])),L(0x3,a[_0x511f53(0x3be)](me)),L(0x4,a[_0x511f53(0x3be)](u['MemberService'])),L(0x5,a[_0x511f53(0x3be)](Ce)),L(0x6,m[_0x511f53(0x214)]),L(0x7,a[_0x511f53(0x1be)]),L(0x8,a[_0x511f53(0x27b)])],Ie);var st=Object['getOwnPropertyDescriptor'],it=(_0x2c0dc5,_0x1a2d5c,_0x4980c0,_0xe9c4f3)=>{const _0x2e7383=_0x511f53;for(var _0x99af4a=_0xe9c4f3>0x1?void 0x0:_0xe9c4f3?st(_0x1a2d5c,_0x4980c0):_0x1a2d5c,_0x263310=_0x2c0dc5[_0x2e7383(0x1dc)]-0x1,_0x1cddb2;_0x263310>=0x0;_0x263310--)(_0x1cddb2=_0x2c0dc5[_0x263310])&&(_0x99af4a=_0x1cddb2(_0x99af4a)||_0x99af4a);return _0x99af4a;},A=(_0x7bb7ce,_0x46bb9c)=>(_0x5d9e71,_0x40be95)=>_0x46bb9c(_0x5d9e71,_0x40be95,_0x7bb7ce);const nt=0x12c,rt=0x64,ot=()=>{let _0x37c737=[],_0x32da59=!0x1;return _0x488259=>{const _0x5290ac=_0x543b;_0x37c737[_0x5290ac(0x23b)](_0x488259),_0x32da59||(_0x32da59=!0x0,setTimeout(()=>{_0x37c737['forEach'](_0x32f9dd=>_0x32f9dd()),_0x37c737=[],_0x32da59=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x3a0a9f,_0x408bdb,_0x611466,_0x57f5d7,_0x30b0f8,_0x252e6f,_0x450414,_0x206bfb){const _0x5b2461=_0x511f53;super(),h(this,_0x5b2461(0x28e),!0x1),h(this,_0x5b2461(0x3e8),!0x1),h(this,_0x5b2461(0x326),new d[(_0x5b2461(0x263))](new Map())),h(this,_0x5b2461(0x400),this[_0x5b2461(0x326)][_0x5b2461(0x3bc)]()),h(this,_0x5b2461(0x251),new d['BehaviorSubject']([])),h(this,_0x5b2461(0x256),this[_0x5b2461(0x251)]['pipe'](d[_0x5b2461(0x3f6)](nt))),h(this,_0x5b2461(0x20f),a[_0x5b2461(0x288)]((_0x4e175f,_0x459b6b)=>{const _0x22f0cf=_0x5b2461,_0x2cb9bd={'eventID':m[_0x22f0cf(0x189)][_0x22f0cf(0x2c1)],'data':{'unitID':this['unitID'],'memberID':this[_0x22f0cf(0x271)]['getMemberID'](),'selection':be['serializeRangeWithSheet'](_0x4e175f,_0x459b6b['range'])}};this[_0x22f0cf(0x271)][_0x22f0cf(0x3a0)](_0x2cb9bd,this['unitID']);},rt)),(this['unitID']=_0x3a0a9f,this[_0x5b2461(0x271)]=_0x408bdb,this[_0x5b2461(0x32e)]=_0x611466,this[_0x5b2461(0x3fc)]=_0x57f5d7,this[_0x5b2461(0x3da)]=_0x30b0f8,this[_0x5b2461(0x1d5)]=_0x252e6f,this['_commandService']=_0x450414,this[_0x5b2461(0x23f)]=_0x206bfb);}get[_0x511f53(0x26e)](){const _0x3c5041=_0x511f53;return this[_0x3c5041(0x326)][_0x3c5041(0x378)]();}get[_0x511f53(0x353)](){const _0x5c1bfa=_0x511f53;return this[_0x5c1bfa(0x251)][_0x5c1bfa(0x378)]();}['dispose'](){const _0x5f524d=_0x511f53;super[_0x5f524d(0x23a)](),this['_cursorInfo$'][_0x5f524d(0x262)](new Map()),this[_0x5f524d(0x326)]['complete'](),this[_0x5f524d(0x251)][_0x5f524d(0x262)]([]),this[_0x5f524d(0x251)][_0x5f524d(0x2f8)]();}['init'](){const _0x5d768e=_0x511f53;this[_0x5d768e(0x3e8)]||(this[_0x5d768e(0x3e8)]=!0x0,this[_0x5d768e(0x271)]['sessionStatus$'][_0x5d768e(0x33d)](d['takeUntil'](this[_0x5d768e(0x1cb)]))[_0x5d768e(0x2d0)](_0x5b5216=>{const _0x16fcb0=_0x5d768e;_0x5b5216===u['SessionStatus'][_0x16fcb0(0x3d7)]?this[_0x16fcb0(0x1e8)]():this[_0x16fcb0(0x3d4)]();}),this[_0x5d768e(0x271)][_0x5d768e(0x259)][_0x5d768e(0x33d)](d[_0x5d768e(0x207)](this[_0x5d768e(0x1cb)]))[_0x5d768e(0x2d0)](_0x3c7ff0=>{const _0x4687b4=_0x5d768e,_0x509b6a=_0x3c7ff0[_0x4687b4(0x27d)];_0x509b6a===m[_0x4687b4(0x189)][_0x4687b4(0x2c1)]&&this[_0x4687b4(0x33e)](_0x3c7ff0),_0x509b6a===m[_0x4687b4(0x189)][_0x4687b4(0x329)]&&this['_onCursorDelete'](_0x3c7ff0);}),this[_0x5d768e(0x209)](),this[_0x5d768e(0x203)](this[_0x5d768e(0x1b9)][_0x5d768e(0x32d)](_0x48ab26=>{const _0x4a8935=_0x5d768e;if(this[_0x4a8935(0x28e)]&&_0x48ab26['id']===g[_0x4a8935(0x3d6)]['id']&&_0x48ab26[_0x4a8935(0x411)][_0x4a8935(0x32c)]===this[_0x4a8935(0x2ef)]){const _0x113697=_0x48ab26[_0x4a8935(0x411)];this['_updateLocalCursor'](_0x113697[_0x4a8935(0x25e)],_0x113697[_0x4a8935(0x2e6)][0x0]);}})));}['_onCursorUpdate'](_0x5e7176){const _0x33ec3e=_0x511f53;var _0x2047cb,_0x119484;const {memberID:_0x5e3bc1,selection:_0x5c51f4}=_0x5e7176[_0x33ec3e(0x278)],{sheetName:_0x1107ab,range:_0x3ec40a}=be['deserializeRangeWithSheet'](_0x5c51f4),_0x9723b6={'name':(_0x119484=(_0x2047cb=this['_memberService'][_0x33ec3e(0x26d)](this['unitID'],_0x5e3bc1))==null?void 0x0:_0x2047cb['name'])!=null?_0x119484:'Unknown\x20user','range':this['_getMergeRange'](_0x1107ab,_0x3ec40a),'sheetID':_0x1107ab,'color':this[_0x33ec3e(0x3fc)][_0x33ec3e(0x2fc)](_0x5e3bc1),'selection':_0x5c51f4},_0x1ea6eb=this['cursorInfo'];_0x1ea6eb[_0x33ec3e(0x3c7)](_0x5e3bc1,_0x9723b6),this[_0x33ec3e(0x326)][_0x33ec3e(0x262)](_0x1ea6eb);}['_onCursorDelete'](_0x381f39){const _0x59ab66=_0x511f53,{memberID:_0x2d2239}=_0x381f39['data'],_0x8d7ac5=this[_0x59ab66(0x26e)];_0x8d7ac5[_0x59ab66(0x2dc)](_0x2d2239),this[_0x59ab66(0x326)]['next'](_0x8d7ac5);}['_getMergeRange'](_0x44224d,_0x1f1fb0){const _0x22899e=_0x511f53;var _0x4b257e,_0x492973;const _0x1f19d4=(_0x492973=(_0x4b257e=this[_0x22899e(0x1d5)][_0x22899e(0x2b5)](this[_0x22899e(0x2ef)]))==null?void 0x0:_0x4b257e[_0x22899e(0x359)](_0x44224d))==null?void 0x0:_0x492973[_0x22899e(0x3e2)]();return(_0x1f19d4==null?void 0x0:_0x1f19d4['find'](_0x4d80c0=>a['Rectangle']['contains'](_0x4d80c0,_0x1f1fb0)))||_0x1f1fb0;}['_onRefRangeChange'](){const _0x21de86=_0x511f53,_0x2cc8e8=new a['DisposableCollection'](),_0x567663=ot(),_0x5b6467=()=>{const _0x16278f=_0x543b;_0x2cc8e8['dispose']();const _0x1c0b47=(_0x57e34a,_0x3ab624,_0x7fd273,_0x120f64)=>{const _0x2dbe9a=_0x543b;let _0x4074cf=[];switch(_0x57e34a['id']){case g[_0x2dbe9a(0x18d)][_0x2dbe9a(0x1fb)]:{_0x4074cf=g[_0x2dbe9a(0x1aa)](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)]['DeleteRangeMoveUpCommandId']:{_0x4074cf=g[_0x2dbe9a(0x266)](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)][_0x2dbe9a(0x18c)]:{_0x4074cf=g[_0x2dbe9a(0x3a8)](_0x57e34a,_0x120f64);break;}case g['EffectRefRangId'][_0x2dbe9a(0x27c)]:{_0x4074cf=g[_0x2dbe9a(0x234)](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)][_0x2dbe9a(0x191)]:{_0x4074cf=g[_0x2dbe9a(0x277)](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)][_0x2dbe9a(0x2a0)]:{_0x4074cf=g[_0x2dbe9a(0x2d5)](_0x57e34a,_0x120f64);break;}case g['EffectRefRangId'][_0x2dbe9a(0x377)]:{_0x4074cf=g[_0x2dbe9a(0x3bd)](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)][_0x2dbe9a(0x1c2)]:{_0x4074cf=g['handleIRemoveCol'](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)]['RemoveRowCommandId']:{_0x4074cf=g['handleIRemoveRow'](_0x57e34a,_0x120f64);break;}}const _0x4da4be=g[_0x2dbe9a(0x1e3)](_0x4074cf,_0x120f64),_0x2edb40=this[_0x2dbe9a(0x26e)][_0x2dbe9a(0x21f)](_0x3ab624);if(_0x2edb40&&_0x4da4be){const _0x44bed5={..._0x2edb40,'range':_0x4da4be};this['cursorInfo'][_0x2dbe9a(0x3c7)](_0x3ab624,_0x44bed5),_0x567663(()=>{const _0x125168=_0x2dbe9a,_0x4fe177=this[_0x125168(0x23f)][_0x125168(0x1af)](_0x4da4be,_0x4fde0f=>(_0x4fe177[_0x125168(0x23a)](),_0x1c0b47(_0x4fde0f,_0x3ab624,_0x7fd273,_0x4da4be)));_0x2cc8e8[_0x125168(0x2d4)](_0x4fe177);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x16278f(0x29b)]((_0x3db421,_0x216f96)=>{const _0x323bb3=_0x16278f,{range:_0x4c07ae,sheetID:_0x29ff81}=_0x3db421,_0x259f0b=this['_refRangeService'][_0x323bb3(0x1af)](_0x4c07ae,_0x4d01e7=>(_0x259f0b[_0x323bb3(0x23a)](),_0x1c0b47(_0x4d01e7,_0x216f96,_0x29ff81,_0x4c07ae)));_0x2cc8e8[_0x323bb3(0x2d4)](_0x259f0b);});};this[_0x21de86(0x203)](a['toDisposable'](this[_0x21de86(0x326)][_0x21de86(0x2d0)](()=>{_0x5b6467();})));}['_toggleOnline'](){const _0x28d6f1=_0x511f53;var _0x4f4d80,_0x56ca0a;if(this['_online']=!0x0,((_0x4f4d80=this[_0x28d6f1(0x1d5)][_0x28d6f1(0x1f1)]())==null?void 0x0:_0x4f4d80['getUnitId']())!==this[_0x28d6f1(0x2ef)])return;const _0x25dc69=(_0x56ca0a=this[_0x28d6f1(0x32e)]['get'](g[_0x28d6f1(0x19f)])[_0x28d6f1(0x3d3)]())==null?void 0x0:_0x56ca0a[0x0],_0x4015b4=this[_0x28d6f1(0x1d5)]['getCurrentUnitForType'](a[_0x28d6f1(0x19e)]['UNIVER_SHEET'])['getActiveSheet']();_0x25dc69&&_0x4015b4&&this['_updateLocalCursor'](_0x4015b4[_0x28d6f1(0x365)](),_0x25dc69);}[_0x511f53(0x3d4)](){const _0x588691=_0x511f53;this[_0x588691(0x28e)]=!0x1;}};Se=it([A(0x2,a[_0x511f53(0x3be)](a['Injector'])),A(0x3,a[_0x511f53(0x3be)](me)),A(0x4,a[_0x511f53(0x3be)](u['MemberService'])),A(0x5,a[_0x511f53(0x1be)]),A(0x6,a[_0x511f53(0x27b)]),A(0x7,a[_0x511f53(0x3be)](g[_0x511f53(0x2b1)]))],Se);var at=Object[_0x511f53(0x1d6)],ct=(_0x232d0f,_0x388bb4,_0x39fcbf,_0x26d340)=>{const _0x3e59e9=_0x511f53;for(var _0x542f63=_0x26d340>0x1?void 0x0:_0x26d340?at(_0x388bb4,_0x39fcbf):_0x388bb4,_0x5b44f7=_0x232d0f[_0x3e59e9(0x1dc)]-0x1,_0xfbf334;_0x5b44f7>=0x0;_0x5b44f7--)(_0xfbf334=_0x232d0f[_0x5b44f7])&&(_0x542f63=_0xfbf334(_0x542f63)||_0x542f63);return _0x542f63;},ie=(_0x2fcfb9,_0x16ea12)=>(_0x230557,_0x5b5583)=>_0x16ea12(_0x230557,_0x5b5583,_0x2fcfb9);let x=class extends a[_0x511f53(0x1e5)]{constructor(_0x449b15,_0x338a9b,_0x349ba9){const _0x4fa67a=_0x511f53;super(),h(this,_0x4fa67a(0x3fd),new Map()),h(this,'_entityInit$',new d[(_0x4fa67a(0x23e))]()),(this[_0x4fa67a(0x1d5)]=_0x449b15,this[_0x4fa67a(0x32e)]=_0x338a9b,this['_collabSessionService']=_0x349ba9,this['_init']());}[_0x511f53(0x23a)](){const _0x366b7e=_0x511f53;super['dispose'](),this['_entityInit$'][_0x366b7e(0x2f8)](),this[_0x366b7e(0x3fd)][_0x366b7e(0x29b)](_0xe3742f=>_0xe3742f['dispose']());}[_0x511f53(0x345)](_0x243114){const _0x303216=_0x511f53;return this[_0x303216(0x3fd)][_0x303216(0x2bd)](_0x243114)?this[_0x303216(0x3fd)][_0x303216(0x21f)](_0x243114)[_0x303216(0x400)]:this[_0x303216(0x31f)][_0x303216(0x33d)](d['filter'](_0x56b2f5=>_0x56b2f5[_0x303216(0x2ef)]===_0x243114),d[_0x303216(0x258)](_0x41c40e=>_0x41c40e[_0x303216(0x400)]));}[_0x511f53(0x3e8)](){const _0x269d58=_0x511f53;this[_0x269d58(0x1d5)][_0x269d58(0x30d)](a[_0x269d58(0x19e)]['UNIVER_SHEET'])[_0x269d58(0x33d)](d[_0x269d58(0x207)](this[_0x269d58(0x1cb)]))[_0x269d58(0x2d0)](async _0x47d9b9=>{const _0x5d143d=_0x269d58,_0x5de397=_0x47d9b9[_0x5d143d(0x22f)](),_0x5b8681=await this['_startSheetCollabCursor'](_0x5de397);this[_0x5d143d(0x31f)]['next'](_0x5b8681),this[_0x5d143d(0x3fd)][_0x5d143d(0x3c7)](_0x5de397,_0x5b8681);}),this['_univerInstanceService'][_0x269d58(0x30d)](a['UniverInstanceType']['UNIVER_DOC'])[_0x269d58(0x33d)](d[_0x269d58(0x207)](this[_0x269d58(0x1cb)]))['pipe'](d[_0x269d58(0x3bf)](_0xb58892=>!_0xb58892[_0x269d58(0x22f)]()['startsWith']('__')))['subscribe'](async _0x2e731c=>{const _0x38d861=_0x269d58,_0x44eac0=_0x2e731c[_0x38d861(0x22f)](),_0x13c695=await this[_0x38d861(0x3a7)](_0x44eac0);this[_0x38d861(0x31f)][_0x38d861(0x262)](_0x13c695),this[_0x38d861(0x3fd)][_0x38d861(0x3c7)](_0x44eac0,_0x13c695);}),d[_0x269d58(0x33c)](this[_0x269d58(0x1d5)]['getTypeOfUnitDisposed$'](a[_0x269d58(0x19e)][_0x269d58(0x2e4)]),this[_0x269d58(0x1d5)][_0x269d58(0x2e9)](a[_0x269d58(0x19e)][_0x269d58(0x22c)]))[_0x269d58(0x33d)](d[_0x269d58(0x207)](this[_0x269d58(0x1cb)]))[_0x269d58(0x2d0)](_0x4b9417=>{const _0xd13812=_0x269d58,_0x500e7c=_0x4b9417[_0xd13812(0x22f)](),_0x4a1b14=this['_entities'][_0xd13812(0x21f)](_0x500e7c);_0x4a1b14&&(_0x4a1b14[_0xd13812(0x23a)](),this[_0xd13812(0x3fd)][_0xd13812(0x2dc)](_0x500e7c));});}async['_startSheetCollabCursor'](_0x427144){const _0x597c54=_0x511f53,_0x35a236=await this['_collabSessionService'][_0x597c54(0x26b)](_0x427144),_0x309126=this[_0x597c54(0x32e)][_0x597c54(0x2d7)](Se,_0x427144,_0x35a236);return _0x309126[_0x597c54(0x341)](),_0x309126;}async[_0x511f53(0x3a7)](_0x1bd484){const _0x1af2ad=_0x511f53,_0x1ce9f3=await this[_0x1af2ad(0x2d8)]['requireSession'](_0x1bd484),_0x35ee82=this[_0x1af2ad(0x32e)][_0x1af2ad(0x2d7)](Ie,_0x1bd484,_0x1ce9f3);return _0x35ee82[_0x1af2ad(0x341)](),_0x35ee82;}};x=ct([ie(0x0,a[_0x511f53(0x1be)]),ie(0x1,a['Inject'](a[_0x511f53(0x1d8)])),ie(0x2,a[_0x511f53(0x3be)](u[_0x511f53(0x3e0)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x1005db,_0x532596){const _0x49d960=_0x511f53;let {radius:_0x4dfd9a,width:_0x8648d3,height:_0x2ffb98}=_0x532596;_0x4dfd9a=_0x4dfd9a!=null?_0x4dfd9a:0x0,_0x8648d3=_0x8648d3!=null?_0x8648d3:0x1e,_0x2ffb98=_0x2ffb98!=null?_0x2ffb98:0x1e;let _0x3ef0b3=0x0,_0xafd676=0x0,_0x46f047=0x0;_0x3ef0b3=_0xafd676=_0x46f047=Math['min'](_0x4dfd9a,_0x8648d3/0x2,_0x2ffb98/0x2),_0x1005db[_0x49d960(0x37e)](),_0x1005db[_0x49d960(0x3c6)](_0x3ef0b3,0x0),_0x1005db[_0x49d960(0x3b1)](_0x8648d3-_0xafd676,0x0),_0x1005db[_0x49d960(0x2ea)](_0x8648d3-_0xafd676,_0xafd676,_0xafd676,Math['PI']*0x3/0x2,0x0,!0x1),_0x1005db[_0x49d960(0x3b1)](_0x8648d3,_0x2ffb98-_0x46f047),_0x1005db[_0x49d960(0x2ea)](_0x8648d3-_0x46f047,_0x2ffb98-_0x46f047,_0x46f047,0x0,Math['PI']/0x2,!0x1),_0x1005db[_0x49d960(0x3b1)](0x0,_0x2ffb98),_0x1005db[_0x49d960(0x3b1)](0x0,_0x3ef0b3),_0x1005db[_0x49d960(0x2ea)](_0x3ef0b3,_0x3ef0b3,_0x3ef0b3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1005db[_0x49d960(0x338)](),_0x532596[_0x49d960(0x243)]&&(_0x1005db[_0x49d960(0x31d)](),_0x1005db[_0x49d960(0x1c3)]=_0x532596[_0x49d960(0x243)],_0x532596[_0x49d960(0x187)]===_0x49d960(0x1f4)?_0x1005db[_0x49d960(0x243)](_0x49d960(0x1f4)):_0x1005db[_0x49d960(0x243)](),_0x1005db['restore']());}class ee extends p['Shape']{constructor(_0x21a78c,_0x6932f8){const _0x2420fa=_0x511f53;super(_0x21a78c,_0x6932f8),h(this,_0x2420fa(0x2fd)),h(this,_0x2420fa(0x184)),(this[_0x2420fa(0x2fd)]=_0x6932f8==null?void 0x0:_0x6932f8[_0x2420fa(0x2fd)],this[_0x2420fa(0x184)]=_0x6932f8==null?void 0x0:_0x6932f8[_0x2420fa(0x184)]);}static[_0x511f53(0x188)](_0x1e4b69,_0x3383b3){const _0x4c027f=_0x511f53,{text:_0x2ca053,color:_0x1ed424}=_0x3383b3;_0x1e4b69[_0x4c027f(0x31d)](),_0x1e4b69[_0x4c027f(0x27e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x329f47=_0x1e4b69['measureText'](_0x2ca053)['width'],_0x4a50a2=Math[_0x4c027f(0x1ba)](_0x329f47+0x2*ne,Re);_t(_0x1e4b69,{'height':K,'radius':0x4,'width':_0x4a50a2,'fill':_0x1ed424}),_0x1e4b69[_0x4c027f(0x1c3)]='#FFF';const _0x2728ad=ne,_0x24a2c9=K-lt,_0x1970f4=Re-0x2*ne;if(_0x329f47>_0x1970f4){let _0x281d26='',_0x8c71df=0x0;for(const _0x3d1db8 of _0x2ca053){const _0x44ba91=_0x1e4b69[_0x4c027f(0x1c0)](_0x3d1db8)['width'];if(_0x8c71df+_0x44ba91<=_0x1970f4-_0x1e4b69[_0x4c027f(0x1c0)]('...')[_0x4c027f(0x302)])_0x281d26+=_0x3d1db8,_0x8c71df+=_0x44ba91;else{_0x281d26+='...';break;}}_0x1e4b69[_0x4c027f(0x185)](_0x281d26,_0x2728ad,_0x24a2c9);}else _0x1e4b69['fillText'](_0x2ca053,_0x2728ad,_0x24a2c9);_0x1e4b69['restore']();}[_0x511f53(0x1db)](_0xd0f5f6){const _0x252037=_0x511f53;ee[_0x252037(0x188)](_0xd0f5f6,this);}}const re='collab-text-anchor-',ht=_0x511f53(0x279),ut=_0x511f53(0x2ff),k=0x6,dt=1.5,oe=0x4,It=1.5,St=_0x511f53(0x324);class De{constructor(_0x27d2f0,_0x590057,_0x1c6ad4,_0x3d80fd){const _0x483213=_0x511f53;h(this,'_shapes',[]),h(this,'_anchor',null),h(this,'_textBubble',null),h(this,_0x483213(0x1d9),null),h(this,_0x483213(0x1f5),null),h(this,'_eventUnsubscribe',null),(this[_0x483213(0x1a0)]=_0x27d2f0,this[_0x483213(0x386)]=_0x590057,this[_0x483213(0x36a)]=_0x1c6ad4,this['_document']=_0x3d80fd,this[_0x483213(0x2f5)]());}set['_hover'](_0x2b49a6){const _0x5c4a26=_0x511f53;_0x2b49a6?(this[_0x5c4a26(0x1d9)]&&this['_anchorDot'][_0x5c4a26(0x27a)](),this[_0x5c4a26(0x3ea)]&&this['_textBubble'][_0x5c4a26(0x225)]()):(this[_0x5c4a26(0x1d9)]&&this[_0x5c4a26(0x1d9)][_0x5c4a26(0x225)](),this[_0x5c4a26(0x3ea)]&&this[_0x5c4a26(0x3ea)]['hide']());}[_0x511f53(0x23a)](){const _0xf7b8da=_0x511f53;for(const _0x2c42f9 of this[_0xf7b8da(0x2cb)])_0x2c42f9['dispose']();this[_0xf7b8da(0x3ea)]&&this[_0xf7b8da(0x3ea)][_0xf7b8da(0x23a)](),this[_0xf7b8da(0x1d9)]&&this['_anchorDot'][_0xf7b8da(0x23a)](),this[_0xf7b8da(0x1ae)]&&this[_0xf7b8da(0x1ae)]['dispose'](),this[_0xf7b8da(0x362)]&&this[_0xf7b8da(0x362)]();}[_0x511f53(0x2f5)](){const _0x340655=_0x511f53;var _0x506d01;const {_docSkeleton:_0x550c60,_document:_0x504de8}=this,{color:_0x10a7a2,name:_0x148d9f,ranges:_0x42dcc8}=this[_0x340655(0x1a0)],_0x417a7f=_0x504de8[_0x340655(0x317)](),{docsLeft:_0x40ff0d,docsTop:_0x2b59dd}=_0x417a7f,_0x3c1ef4=new E[(_0x340655(0x255))](_0x417a7f,_0x550c60);for(const {startOffset:_0x152306,endOffset:_0x5e680c,rangeType:_0x21ea09,segmentId:_0x3714b3,segmentPage:_0x596e78,collapsed:_0xdb4752,isActive:_0xf7b22f}of _0x42dcc8){const _0x4593e8=_0x550c60[_0x340655(0x350)](_0x152306,!0x0,_0x3714b3,_0x596e78);let _0x4b343f=_0x550c60[_0x340655(0x350)](_0x5e680c,!0x0,_0x3714b3,_0x596e78);if(_0x4b343f==null&&(_0x4b343f=_0x550c60[_0x340655(0x350)](_0x5e680c-0x1,!0x1,_0x3714b3,_0x596e78)),_0xf7b22f){const {contentBoxPointGroup:_0x1978f0}=_0x3c1ef4[_0x340655(0x403)](_0x4b343f,_0x4b343f);if(_0x1978f0[_0x340655(0x1dc)]===0x0)continue;this[_0x340655(0x2d2)](_0x10a7a2,_0x1978f0,_0x40ff0d,_0x2b59dd,_0x148d9f),this[_0x340655(0x362)]=this[_0x340655(0x316)]();}if(_0x4593e8&&_0x4b343f){if(_0x21ea09===a['DOC_RANGE_TYPE'][_0x340655(0x340)]){const _0x1f6d62=new E[(_0x340655(0x18f))](_0x417a7f,_0x550c60),{pointGroup:_0x54ae39}=(_0x506d01=_0x1f6d62[_0x340655(0x403)](_0x4593e8,_0x4b343f))!=null?_0x506d01:{};if(_0x54ae39==null||_0x54ae39[_0x340655(0x1dc)]===0x0)continue;this[_0x340655(0x1a2)](_0x10a7a2,_0x54ae39,_0x40ff0d,_0x2b59dd);}else{if(!_0xdb4752){const {borderBoxPointGroup:_0x3126d7}=_0x3c1ef4[_0x340655(0x403)](_0x4593e8,_0x4b343f);if(_0x3126d7['length']===0x0)continue;this['_drawTextRange'](_0x10a7a2,_0x3126d7,_0x40ff0d,_0x2b59dd);}}}}}[_0x511f53(0x2d2)](_0x51207c,_0x4c725a,_0x5f000f,_0x3ec95f,_0xb3e95a){const _0x2cbf20=_0x511f53,_0x446133=this[_0x2cbf20(0x2b0)](_0x4c725a),{left:_0x4f37f4,top:_0x34dfe1,height:_0x106404}=_0x446133,_0x52c305=this['_getScale'](),_0x1b13bb=It/_0x52c305,_0x2fd333=new p[(_0x2cbf20(0x1df))](re+a['Tools'][_0x2cbf20(0x227)](k),{'left':_0x4f37f4+_0x5f000f-_0x1b13bb,'top':_0x34dfe1+_0x3ec95f,'height':_0x106404,'width':dt,'fill':_0x51207c||p[_0x2cbf20(0x3f4)](a[_0x2cbf20(0x1a9)]['black'],0x0),'strokeWidth':_0x1b13bb,'stroke':St,'evented':!0x0});this[_0x2cbf20(0x1ae)]=_0x2fd333,this[_0x2cbf20(0x386)][_0x2cbf20(0x280)](_0x2fd333,E[_0x2cbf20(0x3fa)]);const _0x40161d=new p[(_0x2cbf20(0x1df))](re+a[_0x2cbf20(0x193)][_0x2cbf20(0x227)](k),{'left':_0x4f37f4+_0x5f000f-_0x1b13bb,'top':_0x34dfe1+_0x3ec95f-oe/0x2,'height':oe,'width':oe,'fill':_0x51207c||p[_0x2cbf20(0x3f4)](a[_0x2cbf20(0x1a9)][_0x2cbf20(0x200)],0x0),'strokeWidth':0x0,'stroke':_0x51207c||p[_0x2cbf20(0x3f4)](a[_0x2cbf20(0x1a9)][_0x2cbf20(0x200)],0x0),'evented':!0x1});this[_0x2cbf20(0x1d9)]=_0x40161d,this[_0x2cbf20(0x386)][_0x2cbf20(0x280)](_0x40161d,E[_0x2cbf20(0x3fa)]);const _0x4c9549=new ee(re+a[_0x2cbf20(0x193)][_0x2cbf20(0x227)](k),{'left':_0x4f37f4+_0x5f000f-_0x1b13bb,'top':_0x34dfe1+_0x3ec95f-K,'text':_0xb3e95a,'color':_0x51207c});this[_0x2cbf20(0x3ea)]=_0x4c9549,this[_0x2cbf20(0x386)][_0x2cbf20(0x280)](_0x4c9549,E[_0x2cbf20(0x3fa)]),this[_0x2cbf20(0x1bf)]=!0x1;}[_0x511f53(0x316)](){const _0x16f442=_0x511f53,_0x23865d=this[_0x16f442(0x1ae)][_0x16f442(0x2b9)][_0x16f442(0x36f)](()=>{const _0xe46e04=_0x16f442;this[_0xe46e04(0x1bf)]=!0x0;}),_0x3dd61f=this[_0x16f442(0x1ae)][_0x16f442(0x383)][_0x16f442(0x36f)](()=>{const _0x4a65ce=_0x16f442;this[_0x4a65ce(0x1f5)]&&clearTimeout(this[_0x4a65ce(0x1f5)]),this[_0x4a65ce(0x1f5)]=setTimeout(()=>{const _0x3ed8eb=_0x4a65ce;this[_0x3ed8eb(0x1bf)]=!0x1;},0x7d0);});return()=>{const _0x446ea2=_0x16f442;_0x23865d[_0x446ea2(0x38b)](),_0x3dd61f[_0x446ea2(0x38b)]();};}[_0x511f53(0x2e1)](_0x405cab,_0x23507a,_0xf7e7f3,_0x36d90d){const _0x419159=_0x511f53,_0x10219f=new a[(_0x419159(0x20b))](_0x405cab)[_0x419159(0x358)](0.2)[_0x419159(0x269)](),_0x2184d7=new p['RegularPolygon'](ht+a[_0x419159(0x193)]['generateRandomId'](k),{'pointsGroup':_0x23507a,'fill':_0x10219f||p[_0x419159(0x3f4)](a['COLORS'][_0x419159(0x200)],0.2),'left':_0xf7e7f3,'top':_0x36d90d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x419159(0x2cb)][_0x419159(0x23b)](_0x2184d7),this['_scene']['addObject'](_0x2184d7,E[_0x419159(0x3fa)]);}['_drawRectRange'](_0x58b314,_0x1a6076,_0x5a92e6,_0x2e7e66){const _0x26f82d=_0x511f53,_0x2cb980=new a[(_0x26f82d(0x20b))](_0x58b314)['setAlpha'](0.2)[_0x26f82d(0x269)](),_0x448ff4=new p[(_0x26f82d(0x32a))](ut+a['Tools'][_0x26f82d(0x227)](k),{'pointsGroup':_0x1a6076,'fill':_0x2cb980||p[_0x26f82d(0x3f4)](a[_0x26f82d(0x1a9)]['black'],0.2),'left':_0x5a92e6,'top':_0x2e7e66,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26f82d(0x2cb)]['push'](_0x448ff4),this[_0x26f82d(0x386)][_0x26f82d(0x280)](_0x448ff4,E[_0x26f82d(0x3fa)]);}[_0x511f53(0x2b0)](_0x1a7a37){const _0xb2dabf=_0x1a7a37[0x0],_0x9eb1dd=_0xb2dabf[0x0],_0x437b7f=_0xb2dabf[0x2],{x:_0x3239da,y:_0x187ca5}=_0x9eb1dd,{x:_0x19563b,y:_0x4b4ebc}=_0x437b7f;return{'left':_0x3239da,'top':_0x187ca5,'width':_0x19563b-_0x3239da,'height':_0x4b4ebc-_0x187ca5};}[_0x511f53(0x2e3)](){const _0x33d7de=_0x511f53,{scaleX:_0x4eb6e5,scaleY:_0x45f64d}=this['_scene'][_0x33d7de(0x38f)]();return Math['max'](_0x4eb6e5,_0x45f64d);}}var ft=Object['getOwnPropertyDescriptor'],vt=(_0x34697d,_0x107358,_0x4cda01,_0x3c8ef6)=>{const _0x2637de=_0x511f53;for(var _0x4a6f24=_0x3c8ef6>0x1?void 0x0:_0x3c8ef6?ft(_0x107358,_0x4cda01):_0x107358,_0x5f00f4=_0x34697d[_0x2637de(0x1dc)]-0x1,_0x15eedf;_0x5f00f4>=0x0;_0x5f00f4--)(_0x15eedf=_0x34697d[_0x5f00f4])&&(_0x4a6f24=_0x15eedf(_0x4a6f24)||_0x4a6f24);return _0x4a6f24;},W=(_0x28ac89,_0x3563d7)=>(_0x175c17,_0x1c43a4)=>_0x3563d7(_0x175c17,_0x1c43a4,_0x28ac89);let fe=class extends a[_0x511f53(0x1e5)]{constructor(_0xd01974,_0x2fdb32,_0x551cc0,_0x14fccb,_0x5d2c26){const _0x4b6b37=_0x511f53;super(),h(this,_0x4b6b37(0x210),[]),h(this,_0x4b6b37(0x17c),[]),(this[_0x4b6b37(0x331)]=_0xd01974,this[_0x4b6b37(0x2e5)]=_0x2fdb32,this[_0x4b6b37(0x181)]=_0x551cc0,this[_0x4b6b37(0x1b9)]=_0x14fccb,this['_themeService']=_0x5d2c26,this[_0x4b6b37(0x3e8)]());}[_0x511f53(0x3e8)](){const _0x55b138=_0x511f53,_0x3b65e6=this[_0x55b138(0x331)][_0x55b138(0x32c)],_0x22a73c=this['_docSkeletonManagerService'];this['disposeWithMe'](d[_0x55b138(0x405)]([this[_0x55b138(0x181)][_0x55b138(0x345)](_0x3b65e6),this[_0x55b138(0x1ef)][_0x55b138(0x275)]])[_0x55b138(0x33d)]($[_0x55b138(0x39e)](([_0x3487fa,_0x5ef893])=>({'skeleton':_0x22a73c[_0x55b138(0x3df)](),'cursors':[..._0x3487fa[_0x55b138(0x38d)]()]['flatMap'](_0xa9eb41=>({..._0xa9eb41,'color':this[_0x55b138(0x1ef)][_0x55b138(0x2b2)](_0xa9eb41[_0x55b138(0x2fd)])}))})))[_0x55b138(0x2d0)](_0x52b52f=>{if(this['_removeCollabCursors'](),_0x52b52f){const {skeleton:_0x5889bf,cursors:_0x480993}=_0x52b52f;this['_updateCollabCursors'](_0x5889bf,_0x480993);}})),this[_0x55b138(0x1ce)](),this[_0x55b138(0x216)]();}[_0x511f53(0x1ad)](_0x52f618,_0x4e9452){const _0x28db0b=_0x511f53,{scene:_0x2997a0,mainComponent:_0x40c846}=this[_0x28db0b(0x331)],_0x4596ce=_0x4e9452[_0x28db0b(0x39e)](_0x3f833c=>new De(_0x3f833c,_0x2997a0,_0x52f618,_0x40c846));this['_cursorShapes']=_0x4596ce,this[_0x28db0b(0x17c)]=_0x4e9452;}[_0x511f53(0x237)](){const _0x4a3e07=_0x511f53;this['_removeCollabCursors']();const {scene:_0x3948c7,mainComponent:_0x6f5761}=this[_0x4a3e07(0x331)],_0x55452d=this['_docSkeletonManagerService']['getSkeleton'](),_0x274fe8=this[_0x4a3e07(0x17c)][_0x4a3e07(0x39e)](_0x4b93fa=>new De(_0x4b93fa,_0x3948c7,_0x55452d,_0x6f5761));this[_0x4a3e07(0x210)]=_0x274fe8;}['_removeCollabCursors'](){const _0x2f1c4b=_0x511f53;this[_0x2f1c4b(0x210)]['forEach'](_0x4cd8db=>_0x4cd8db[_0x2f1c4b(0x23a)]()),this['_cursorShapes']=[];}[_0x511f53(0x216)](){const _0x19947c=_0x511f53,_0xfcefdd=[E[_0x19947c(0x39b)]['id']];this['disposeWithMe'](this[_0x19947c(0x1b9)][_0x19947c(0x32d)](_0xac59a=>{const _0x30598e=_0x19947c;_0xfcefdd[_0x30598e(0x2c2)](_0xac59a['id'])&&_0xac59a[_0x30598e(0x411)][_0x30598e(0x32c)]===this['_context'][_0x30598e(0x32c)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x2bd7bb=_0x511f53;this[_0x2bd7bb(0x203)](a[_0x2bd7bb(0x2a3)](this['_context'][_0x2bd7bb(0x2f2)][_0x2bd7bb(0x20c)])[_0x2bd7bb(0x33d)]($[_0x2bd7bb(0x3bf)](_0x2d2cfe=>_0x2d2cfe['type']===p[_0x2bd7bb(0x409)][_0x2bd7bb(0x3e5)]),$[_0x2bd7bb(0x272)](0x10))[_0x2bd7bb(0x2d0)](()=>{this['_refreshCollabCursors']();}));}};fe=vt([W(0x1,a[_0x511f53(0x3be)](Y['DocSkeletonManagerService'])),W(0x2,a[_0x511f53(0x3be)](x)),W(0x3,a[_0x511f53(0x27b)]),W(0x4,a[_0x511f53(0x3be)](a['ThemeService']))],fe);const gt=0x1,mt=1.5;class we extends p['Shape']{constructor(_0x2bbcfc,_0x5104f3){const _0x9ee1de=_0x511f53;super(_0x2bbcfc,_0x5104f3),h(this,'_color'),h(this,_0x9ee1de(0x366),!0x1),h(this,_0x9ee1de(0x3d1)),h(this,_0x9ee1de(0x25c),''),h(this,_0x9ee1de(0x2a8),_0x9ee1de(0x17d)),h(this,_0x9ee1de(0x390)),(_0x5104f3&&this[_0x9ee1de(0x273)](_0x5104f3),this['onPointerEnter$'][_0x9ee1de(0x36f)](()=>this[_0x9ee1de(0x273)]({'hovered':!0x0})),this['onPointerLeave$'][_0x9ee1de(0x36f)](()=>this[_0x9ee1de(0x273)]({'hovered':!0x1})));}[_0x511f53(0x273)](_0x5e3b35){const _0x35c710=_0x511f53;var _0x2f999c,_0x484a4f,_0x2b7a8e,_0x5d832f,_0x212034,_0x380089;this[_0x35c710(0x1b5)]=(_0x2f999c=_0x5e3b35[_0x35c710(0x2fd)])!=null?_0x2f999c:this['_color'],this[_0x35c710(0x366)]=(_0x484a4f=_0x5e3b35[_0x35c710(0x212)])!=null?_0x484a4f:this[_0x35c710(0x366)],this[_0x35c710(0x3d1)]=(_0x2b7a8e=_0x5e3b35[_0x35c710(0x242)])!=null?_0x2b7a8e:this['_range'],this['_name']=(_0x5d832f=_0x5e3b35[_0x35c710(0x205)])!=null?_0x5d832f:this[_0x35c710(0x25c)],this[_0x35c710(0x2a8)]=(_0x212034=_0x5e3b35['labelPosition'])!=null?_0x212034:this['_labelPosition'],this['_backgroundColor']=(_0x380089=_0x5e3b35[_0x35c710(0x1e0)])!=null?_0x380089:this[_0x35c710(0x390)],this[_0x35c710(0x354)]({'width':_0x5e3b35[_0x35c710(0x302)],'height':_0x5e3b35[_0x35c710(0x1c6)]});}['onMouseMove'](_0x16abfc){const _0x5cfc49=_0x511f53,{row:_0x13bbfe,column:_0xcd4469}=_0x16abfc;if(_0x13bbfe>=this[_0x5cfc49(0x3d1)][_0x5cfc49(0x35f)]&&_0x13bbfe<=this['_range'][_0x5cfc49(0x320)]&&_0xcd4469>=this['_range'][_0x5cfc49(0x2a4)]&&_0xcd4469<=this['_range']['endColumn']){this[_0x5cfc49(0x273)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x511f53(0x2d6)](_0x103778){return!0x1;}[_0x511f53(0x1db)](_0x38f9a7){const _0x1f0fde=_0x511f53;p[_0x1f0fde(0x1df)][_0x1f0fde(0x188)](_0x38f9a7,{'width':this['width'],'height':this[_0x1f0fde(0x1c6)],'strokeWidth':mt,'stroke':this[_0x1f0fde(0x1b5)],'evented':!0x1,'fill':this[_0x1f0fde(0x390)]}),this['_hovered']&&(_0x38f9a7['save'](),_0x38f9a7[_0x1f0fde(0x295)](0x1,0x0,0x0,0x1,this['width'],this[_0x1f0fde(0x2a8)]==='bottom'?0x0:-0x14),ee[_0x1f0fde(0x188)](_0x38f9a7,{'text':this[_0x1f0fde(0x25c)],'color':this['_color']}),_0x38f9a7[_0x1f0fde(0x3f9)]());}}var Ct=Object[_0x511f53(0x1d6)],pt=(_0x41b24b,_0x551161,_0x551686,_0x1b9c86)=>{const _0x1fb754=_0x511f53;for(var _0x2682ff=_0x1b9c86>0x1?void 0x0:_0x1b9c86?Ct(_0x551161,_0x551686):_0x551161,_0x474a65=_0x41b24b[_0x1fb754(0x1dc)]-0x1,_0x365742;_0x474a65>=0x0;_0x474a65--)(_0x365742=_0x41b24b[_0x474a65])&&(_0x2682ff=_0x365742(_0x2682ff)||_0x2682ff);return _0x2682ff;},ae=(_0x2264c0,_0x19e3a2)=>(_0x15d9c8,_0xa60581)=>_0x19e3a2(_0x15d9c8,_0xa60581,_0x2264c0);const Et=0x1389;let ve=class extends a[_0x511f53(0x1e5)]{constructor(_0x505ed1,_0x2d33c3,_0x919c6d,_0x4c292f){const _0x345be0=_0x511f53;super(),h(this,_0x345be0(0x17c),new Set()),h(this,_0x345be0(0x199),null),(this[_0x345be0(0x331)]=_0x505ed1,this[_0x345be0(0x344)]=_0x2d33c3,this['_collabCursorController']=_0x919c6d,this[_0x345be0(0x1ef)]=_0x4c292f,this[_0x345be0(0x3e8)]());}['_init'](){const _0x1883d6=_0x511f53;this[_0x1883d6(0x344)]['currentSkeleton$'][_0x1883d6(0x33d)]($[_0x1883d6(0x207)](this[_0x1883d6(0x1cb)]),$[_0x1883d6(0x258)](_0x14234f=>{const _0x6cfed5=_0x1883d6;if(_0x14234f){const _0x401e5f=_0x14234f[_0x6cfed5(0x332)];return d['combineLatest'](this[_0x6cfed5(0x181)][_0x6cfed5(0x345)](this[_0x6cfed5(0x331)][_0x6cfed5(0x32c)]),this['_themeService'][_0x6cfed5(0x275)])[_0x6cfed5(0x33d)]($[_0x6cfed5(0x39e)](([_0x5e28ea,_0x55c6d7])=>{const _0x1b06e2=_0x6cfed5,_0x1f0486=new Map();return _0x5e28ea[_0x1b06e2(0x29b)]((_0x4889e3,_0xa58a7c)=>{const _0x45c199=_0x1b06e2;if(_0x4889e3[_0x45c199(0x286)]===_0x401e5f){const _0xbff486={..._0x4889e3};_0xbff486[_0x45c199(0x2fd)]=this['_themeService'][_0x45c199(0x2b2)](_0x4889e3[_0x45c199(0x2fd)]),_0x1f0486[_0x45c199(0x3c7)](_0xa58a7c,_0xbff486);}}),{'skeleton':_0x14234f,'cursors':_0x1f0486};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x1883d6(0x2d0)](({skeleton:_0x325c87,cursors:_0x3d4f45})=>{const _0x176775=_0x1883d6;this[_0x176775(0x1e9)](),_0x325c87&&this['_updateCollabCursors'](_0x325c87,_0x3d4f45);}),this[_0x1883d6(0x344)][_0x1883d6(0x3ef)][_0x1883d6(0x2d0)](_0x2c8280=>{const _0x52b052=_0x1883d6;if(_0x2c8280==null)return;const {skeleton:_0x45f729}=_0x2c8280,{scene:_0x3f8277}=this['_context'];_0x3f8277[_0x52b052(0x351)][_0x52b052(0x36f)](a['debounce'](_0xa69e0c=>{const _0x2476cb=_0x52b052;var _0x29d842,_0x4b32b7;const {offsetX:_0x370dc7,offsetY:_0x5104ba}=_0xa69e0c,{x:_0x29c9ad,y:_0x2ea913}=_0x3f8277[_0x2476cb(0x396)](p[_0x2476cb(0x1a1)][_0x2476cb(0x3c3)]([_0x370dc7,_0x5104ba])),{scaleX:_0x58aa2f,scaleY:_0x5ae0bd}=_0x3f8277[_0x2476cb(0x38f)](),_0x4822b6=_0x3f8277[_0x2476cb(0x389)](p[_0x2476cb(0x197)][_0x2476cb(0x1f7)]),_0x4dcf74=_0x3f8277[_0x2476cb(0x3d9)](p['Vector2'][_0x2476cb(0x3c3)]([_0x29c9ad,_0x2ea913]),_0x4822b6),_0x133c48=_0x45f729[_0x2476cb(0x224)](_0x370dc7,_0x5104ba,_0x58aa2f,_0x5ae0bd,_0x4dcf74);((_0x29d842=this[_0x2476cb(0x199)])==null?void 0x0:_0x29d842[_0x2476cb(0x22e)])===_0x133c48['column']&&((_0x4b32b7=this[_0x2476cb(0x199)])==null?void 0x0:_0x4b32b7['row'])===_0x133c48[_0x2476cb(0x2e2)]||this['_cursors'][_0x2476cb(0x29b)](_0xdd5af2=>{const _0x33beb2=_0x2476cb;_0xdd5af2[_0x33beb2(0x35d)](_0x133c48);});},0x64));});}[_0x511f53(0x1ad)](_0x1da7ae,_0x54d606){const _0x47ed59=_0x511f53;var _0x3aacf8;const _0x177c23=(_0x3aacf8=this[_0x47ed59(0x344)]['getCurrent']())==null?void 0x0:_0x3aacf8[_0x47ed59(0x394)];if(!_0x177c23)return;const _0x1402cf=this['_getSheetObject']();if(!_0x1402cf)return;this[_0x47ed59(0x17c)][_0x47ed59(0x29b)](_0x5c35f6=>{const _0x4fe907=_0x47ed59;_0x5c35f6[_0x4fe907(0x3dd)]();});const {scene:_0x5596ee}=_0x1402cf,_0x15824b=bt(Array['from'](_0x54d606[_0x47ed59(0x38d)]()))[_0x47ed59(0x39e)](_0x1d376e=>{const _0x1a4503=_0x47ed59,{color:_0x330aae,range:_0x263d70,name:_0x10e803,selection:_0x585a81,sheetID:_0x506bfd}=_0x1d376e,{startColumn:_0x4ea88a,startRow:_0x776108,endColumn:_0x3f357c,endRow:_0x3192db}=_0x263d70,_0xf0f02a=X['getCoordByCell'](_0x776108,_0x4ea88a,_0x5596ee,_0x177c23),_0x1df43f=X[_0x1a4503(0x2c5)](_0x3192db,_0x3f357c,_0x5596ee,_0x177c23),{columnHeaderHeightAndMarginTop:_0x57bd02}=_0x177c23,{startX:_0x6c40b4,startY:_0x5ee47e}=_0xf0f02a,{endX:_0x5df502,endY:_0x1e2d71}=_0x1df43f,_0x2e9ad1=_0x5df502-_0x6c40b4,_0x2eed52=_0x1e2d71-_0x5ee47e,_0x1e1aec={'labelPosition':_0x5ee47e-_0x57bd02>=K?_0x1a4503(0x17d):'bottom','sheetID':_0x506bfd,'range':_0x263d70,'color':_0x330aae,'name':_0x10e803,'selection':_0x585a81,'left':_0x6c40b4,'top':_0x5ee47e,'width':_0x2e9ad1,'height':_0x2eed52,'evented':!0x1,'zIndex':Et};return new we(_0x10e803,_0x1e1aec);});_0x5596ee[_0x47ed59(0x217)](_0x15824b,gt),this[_0x47ed59(0x17c)]=new Set(_0x15824b);}[_0x511f53(0x1e9)](){const _0x182e71=_0x511f53;var _0x210d92;(_0x210d92=this[_0x182e71(0x17c)])==null||_0x210d92[_0x182e71(0x29b)](_0x495505=>_0x495505['dispose']());}[_0x511f53(0x20d)](){const _0x2f19b7=_0x511f53;return X[_0x2f19b7(0x25b)](this[_0x2f19b7(0x331)][_0x2f19b7(0x1fa)],this[_0x2f19b7(0x331)]);}};ve=pt([ae(0x1,a[_0x511f53(0x3be)](X[_0x511f53(0x330)])),ae(0x2,a[_0x511f53(0x3be)](x)),ae(0x3,a[_0x511f53(0x3be)](a[_0x511f53(0x40d)]))],ve);function bt(_0x22cf44){const _0x27036c=_0x511f53,_0x11e0e2=new Map();return _0x22cf44['forEach'](_0x39aff7=>{const _0x589505=_0x543b;if(_0x11e0e2[_0x589505(0x2bd)](_0x39aff7[_0x589505(0x314)])){const _0x57f188=_0x11e0e2[_0x589505(0x21f)](_0x39aff7[_0x589505(0x314)]);_0x57f188[_0x589505(0x205)]+=',\x20'+_0x39aff7['name'];}else _0x11e0e2[_0x589505(0x3c7)](_0x39aff7[_0x589505(0x314)],_0x39aff7);}),Array[_0x27036c(0x19a)](_0x11e0e2[_0x27036c(0x38d)]());}var b=function(){const _0x5662fa=_0x511f53;return b=Object[_0x5662fa(0x19c)]||function(_0x5bec1e){const _0x4daa3b=_0x5662fa;for(var _0x3eb45d,_0x163270=0x1,_0x60ab92=arguments[_0x4daa3b(0x1dc)];_0x163270<_0x60ab92;_0x163270++){_0x3eb45d=arguments[_0x163270];for(var _0x5751f3 in _0x3eb45d)Object['prototype']['hasOwnProperty'][_0x4daa3b(0x1d1)](_0x3eb45d,_0x5751f3)&&(_0x5bec1e[_0x5751f3]=_0x3eb45d[_0x5751f3]);}return _0x5bec1e;},b[_0x5662fa(0x367)](this,arguments);},Ot=function(_0x46479e,_0xd3fd3f){const _0x6a16e3=_0x511f53;var _0x3eea59={};for(var _0x26850e in _0x46479e)Object[_0x6a16e3(0x3db)][_0x6a16e3(0x29d)][_0x6a16e3(0x1d1)](_0x46479e,_0x26850e)&&_0xd3fd3f[_0x6a16e3(0x18a)](_0x26850e)<0x0&&(_0x3eea59[_0x26850e]=_0x46479e[_0x26850e]);if(_0x46479e!=null&&typeof Object[_0x6a16e3(0x2f0)]==_0x6a16e3(0x34d)){for(var _0x4115c9=0x0,_0x26850e=Object[_0x6a16e3(0x2f0)](_0x46479e);_0x4115c9<_0x26850e[_0x6a16e3(0x1dc)];_0x4115c9++)_0xd3fd3f['indexOf'](_0x26850e[_0x4115c9])<0x0&&Object[_0x6a16e3(0x3db)][_0x6a16e3(0x2a5)]['call'](_0x46479e,_0x26850e[_0x4115c9])&&(_0x3eea59[_0x26850e[_0x4115c9]]=_0x46479e[_0x26850e[_0x4115c9]]);}return _0x3eea59;},pe=M[_0x511f53(0x194)](function(_0x5ed3d1,_0x1646cb){const _0x27f527=_0x511f53;var _0x1f9f9c=_0x5ed3d1[_0x27f527(0x3a9)],_0x21541a=_0x5ed3d1['id'],_0x2726b1=_0x5ed3d1[_0x27f527(0x379)],_0x38fc8c=_0x5ed3d1[_0x27f527(0x37c)],_0x46adba=Ot(_0x5ed3d1,[_0x27f527(0x3a9),'id',_0x27f527(0x379),_0x27f527(0x37c)]),_0x118ad2=_0x27f527(0x2d9)[_0x27f527(0x34b)](_0x21541a,'\x20')[_0x27f527(0x34b)](_0x2726b1||'')[_0x27f527(0x282)](),_0x484424=M['useRef']('_'[_0x27f527(0x34b)](Dt()));return Ae(_0x1f9f9c,''[_0x27f527(0x34b)](_0x21541a),{'defIds':_0x1f9f9c[_0x27f527(0x1ff)],'idSuffix':_0x484424[_0x27f527(0x2cd)]},b({'ref':_0x1646cb,'className':_0x118ad2},_0x46adba),_0x38fc8c);});function Ae(_0x15a15a,_0x2adf22,_0x35a1c9,_0x449e94,_0x78fef2){const _0x6692db=_0x511f53;return M['createElement'](_0x15a15a[_0x6692db(0x305)],b(b({'key':_0x2adf22},Tt(_0x15a15a,_0x35a1c9,_0x78fef2)),_0x449e94),(Rt(_0x15a15a,_0x35a1c9)[_0x6692db(0x2ca)]||[])[_0x6692db(0x39e)](function(_0x145389,_0x180861){const _0x3db124=_0x6692db;return Ae(_0x145389,''[_0x3db124(0x34b)](_0x2adf22,'-')['concat'](_0x15a15a[_0x3db124(0x305)],'-')[_0x3db124(0x34b)](_0x180861),_0x35a1c9,void 0x0,_0x78fef2);}));}function Tt(_0x197998,_0xb20195,_0x1962de){const _0x45cc65=_0x511f53;var _0x59656b=b({},_0x197998['attrs']);_0x1962de!=null&&_0x1962de[_0x45cc65(0x22d)]&&_0x59656b['fill']==='colorChannel1'&&(_0x59656b[_0x45cc65(0x243)]=_0x1962de['colorChannel1']),_0x197998[_0x45cc65(0x305)]===_0x45cc65(0x198)&&_0x59656b['id']&&(_0x59656b['id']=_0x59656b['id']+_0xb20195[_0x45cc65(0x3ad)]),Object[_0x45cc65(0x355)](_0x59656b)[_0x45cc65(0x29b)](function(_0x110d94){const _0x53f7d1=_0x45cc65;var _0x2cd014=_0x110d94[0x0],_0x1bc4ba=_0x110d94[0x1];_0x2cd014===_0x53f7d1(0x198)&&typeof _0x1bc4ba=='string'&&(_0x59656b[_0x2cd014]=_0x1bc4ba['replace'](/url\(#(.*)\)/,'url(#$1'[_0x53f7d1(0x34b)](_0xb20195['idSuffix'],')')));});var _0x422fae=_0xb20195[_0x45cc65(0x1ff)];return!_0x422fae||_0x422fae['length']===0x0||(_0x197998['tag']===_0x45cc65(0x1a6)&&_0x59656b['xlink:href']&&(_0x59656b[_0x45cc65(0x23c)]=_0x59656b[_0x45cc65(0x23c)]+_0xb20195[_0x45cc65(0x3ad)]),Object[_0x45cc65(0x355)](_0x59656b)[_0x45cc65(0x29b)](function(_0x5d109f){const _0x39a4d8=_0x45cc65;var _0x988fe4=_0x5d109f[0x0],_0x2c3849=_0x5d109f[0x1];typeof _0x2c3849==_0x39a4d8(0x240)&&(_0x59656b[_0x988fe4]=_0x2c3849['replace'](/url\(#(.*)\)/,_0x39a4d8(0x368)[_0x39a4d8(0x34b)](_0xb20195[_0x39a4d8(0x3ad)],')')));})),_0x59656b;}function Rt(_0x3307e2,_0x59aacd){const _0x3f7058=_0x511f53;var _0x30903c,_0x1ef5fe=_0x59aacd[_0x3f7058(0x1ff)];return!_0x1ef5fe||_0x1ef5fe[_0x3f7058(0x1dc)]===0x0?_0x3307e2:_0x3307e2[_0x3f7058(0x305)]===_0x3f7058(0x1d3)&&(!((_0x30903c=_0x3307e2[_0x3f7058(0x2ca)])===null||_0x30903c===void 0x0)&&_0x30903c[_0x3f7058(0x1dc)])?b(b({},_0x3307e2),{'children':_0x3307e2[_0x3f7058(0x2ca)][_0x3f7058(0x39e)](function(_0x393ebd){const _0x26c00a=_0x3f7058;return typeof _0x393ebd['attrs']['id']==_0x26c00a(0x240)&&_0x1ef5fe&&_0x1ef5fe[_0x26c00a(0x2c2)](_0x393ebd[_0x26c00a(0x301)]['id'])?b(b({},_0x393ebd),{'attrs':b(b({},_0x393ebd[_0x26c00a(0x301)]),{'id':_0x393ebd[_0x26c00a(0x301)]['id']+_0x59aacd[_0x26c00a(0x3ad)]})}):_0x393ebd;})}):_0x3307e2;}function Dt(){const _0x11fe7d=_0x511f53;return Math['random']()[_0x11fe7d(0x312)](0x24)['substring'](0x2,0x8);}pe['displayName']=_0x511f53(0x2d3);var Ut={'tag':_0x511f53(0x21d),'attrs':{'xmlns':_0x511f53(0x3ca),'fill':_0x511f53(0x363),'viewBox':_0x511f53(0x40b),'width':'1em','height':_0x511f53(0x260)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x511f53(0x3a2),'attrs':{'stroke':_0x511f53(0x232),'d':_0x511f53(0x382),'strokeLinecap':_0x511f53(0x1cc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x511f53(0x1d3),'attrs':{},'children':[{'tag':_0x511f53(0x2fb),'attrs':{'id':_0x511f53(0x2ee)},'children':[{'tag':_0x511f53(0x3a2),'attrs':{'fill':_0x511f53(0x267),'d':_0x511f53(0x2f9)}}]}]}],'defIds':[_0x511f53(0x2ee)]},ye=M['forwardRef'](function(_0x3ab75b,_0x43d379){const _0x4ddcd2=_0x511f53;return M['createElement'](pe,Object['assign']({},_0x3ab75b,{'id':_0x4ddcd2(0x2e7),'ref':_0x43d379,'icon':Ut}));});ye[_0x511f53(0x392)]=_0x511f53(0x334);var Nt={'tag':'svg','attrs':{'xmlns':_0x511f53(0x3ca),'fill':_0x511f53(0x363),'viewBox':_0x511f53(0x252),'width':'1em','height':_0x511f53(0x260)},'children':[{'tag':'g','attrs':{'clipPath':_0x511f53(0x2eb)},'children':[{'tag':_0x511f53(0x3a2),'attrs':{'stroke':'currentColor','d':_0x511f53(0x311),'strokeLinecap':_0x511f53(0x1cc),'strokeLinejoin':_0x511f53(0x1cc),'strokeWidth':1.2}}]},{'tag':_0x511f53(0x1d3),'attrs':{},'children':[{'tag':_0x511f53(0x2fb),'attrs':{'id':_0x511f53(0x3cb)},'children':[{'tag':_0x511f53(0x3a2),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x511f53(0x1fc)}}]}]}],'defIds':[_0x511f53(0x3cb)]},$e=M[_0x511f53(0x194)](function(_0x1d28de,_0x424c58){const _0x235f06=_0x511f53;return M[_0x235f06(0x2f1)](pe,Object[_0x235f06(0x19c)]({},_0x1d28de,{'id':_0x235f06(0x1c4),'ref':_0x424c58,'icon':Nt}));});function _0x543b(_0x1e8d4e,_0x4b289a){const _0x5a220a=_0x5a22();return _0x543b=function(_0x543b7b,_0x3ba0d1){_0x543b7b=_0x543b7b-0x17c;let _0xf47f78=_0x5a220a[_0x543b7b];return _0xf47f78;},_0x543b(_0x1e8d4e,_0x4b289a);}$e[_0x511f53(0x392)]=_0x511f53(0x206);function Mt(_0x6e7e08){const _0x47b8a0=_0x511f53;switch(_0x6e7e08){case u[_0x47b8a0(0x192)]['OFFLINE']:return _0x47b8a0(0x373);case u['CollaborationStatus'][_0x47b8a0(0x35c)]:return _0x47b8a0(0x364);case u['CollaborationStatus'][_0x47b8a0(0x2c0)]:return _0x47b8a0(0x339);case u[_0x47b8a0(0x192)][_0x47b8a0(0x2c7)]:return _0x47b8a0(0x230);case u[_0x47b8a0(0x192)][_0x47b8a0(0x3c0)]:case u[_0x47b8a0(0x192)][_0x47b8a0(0x2e0)]:return _0x47b8a0(0x374);case u[_0x47b8a0(0x192)][_0x47b8a0(0x31c)]:case u[_0x47b8a0(0x192)][_0x47b8a0(0x1e6)]:return _0x47b8a0(0x292);}}function xe(_0x46dc3d){const _0x100a06=_0x511f53,{status$:_0x126edd}=_0x46dc3d,_0x11f225=O['useObservable'](_0x126edd,u[_0x100a06(0x192)][_0x100a06(0x2c7)]),_0x4eb1cb=O[_0x100a06(0x281)](a['LocaleService']),_0x10b7a7=O[_0x100a06(0x281)](u[_0x100a06(0x3e0)]),_0x487144=_0x11f225!==u[_0x100a06(0x192)][_0x100a06(0x244)],_0x2dbc6e=_0x4eb1cb['t'](Mt(_0x11f225)),_0x5735c2=_0x487144?P[_0x100a06(0x36c)]($e,{}):P[_0x100a06(0x36c)](ye,{}),_0x3d9886=M['useCallback'](()=>{const _0x4dbdb1=_0x100a06;_0x487144||_0x10b7a7[_0x4dbdb1(0x371)]();},[_0x487144,_0x10b7a7]);function _0x3474cd(){const _0x286d5f=_0x100a06;return P['jsxs'](_0x286d5f(0x182),{'className':_0x286d5f(0x1c7),'onClick':_0x3d9886,'children':[P['jsx'](_0x286d5f(0x182),{'className':D[_0x286d5f(0x289)](_0x286d5f(0x1fd),{'univer-text-green-500':_0x487144,'univer-text-red-500':!_0x487144}),'children':_0x5735c2}),P['jsx'](_0x286d5f(0x182),{'className':_0x286d5f(0x1f9),'children':_0x2dbc6e})]});}return _0x487144?_0x3474cd():P['jsx'](D['Tooltip'],{'title':_0x4eb1cb['t'](_0x100a06(0x21b)),'children':_0x3474cd()});}var Lt=Object[_0x511f53(0x1d6)],Pt=(_0x1f5839,_0x617db4,_0xef89c3,_0x21410e)=>{for(var _0x42a3b3=_0x21410e>0x1?void 0x0:_0x21410e?Lt(_0x617db4,_0xef89c3):_0x617db4,_0x4ed017=_0x1f5839['length']-0x1,_0x265b95;_0x4ed017>=0x0;_0x4ed017--)(_0x265b95=_0x1f5839[_0x4ed017])&&(_0x42a3b3=_0x265b95(_0x42a3b3)||_0x42a3b3);return _0x42a3b3;},V=(_0xab9048,_0x285fff)=>(_0x17244c,_0x4fb641)=>_0x285fff(_0x17244c,_0x4fb641,_0xab9048);exports[_0x511f53(0x2bb)]=class extends a[_0x511f53(0x22b)]{constructor(_0x4dfb79,_0x5bd9ee,_0x45fbd3,_0x4ba1de){const _0x8f4362=_0x511f53;super(),h(this,_0x8f4362(0x3aa),new d[(_0x8f4362(0x263))](u[_0x8f4362(0x192)]['NOT_COLLAB'])),(this[_0x8f4362(0x1d5)]=_0x4dfb79,this[_0x8f4362(0x32e)]=_0x5bd9ee,this[_0x8f4362(0x250)]=_0x45fbd3,this['_uiPartsService']=_0x4ba1de,this[_0x8f4362(0x3c2)](),this[_0x8f4362(0x1f3)]());}['_initStatusListener'](){const _0x3f18d7=_0x511f53;this[_0x3f18d7(0x203)](this['_univerInstanceService'][_0x3f18d7(0x183)]['pipe'](d[_0x3f18d7(0x258)](()=>{const _0x5b9042=_0x3f18d7,_0x540955=this['_univerInstanceService'][_0x5b9042(0x1f1)]();return _0x540955?this[_0x5b9042(0x250)]['getCollabEntity$'](_0x540955[_0x5b9042(0x22f)]()):d['of'](null);}),d[_0x3f18d7(0x258)](_0x3d3292=>_0x3d3292?_0x3d3292['status$']:d['of'](u[_0x3f18d7(0x192)][_0x3f18d7(0x2c7)])))[_0x3f18d7(0x2d0)](_0x39248a=>{const _0x51e323=_0x3f18d7;this[_0x51e323(0x3aa)][_0x51e323(0x262)](_0x39248a);}));}['_initStatusComponent'](){const _0x2d1381=_0x511f53;this['disposeWithMe'](this[_0x2d1381(0x2a9)][_0x2d1381(0x2af)](O[_0x2d1381(0x39d)]['HEADER_MENU'],()=>O[_0x2d1381(0x1a3)](wt({'status$':this[_0x2d1381(0x3aa)][_0x2d1381(0x3bc)]()}),this[_0x2d1381(0x32e)])));}},exports[_0x511f53(0x2bb)]=Pt([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x511f53(0x3be)](a['Injector'])),V(0x2,a[_0x511f53(0x3be)](u[_0x511f53(0x376)])),V(0x3,O[_0x511f53(0x38e)])],exports[_0x511f53(0x2bb)]);function wt(_0x1e84e2){const {status$:_0x961241}=_0x1e84e2;return function(){const _0x56f063=_0x543b;return P[_0x56f063(0x36c)](xe,{'status$':_0x961241});};}var At=Object[_0x511f53(0x1d6)],yt=(_0x293ca2,_0x139def,_0x3870d8,_0x2982e2)=>{const _0x46f1d1=_0x511f53;for(var _0x4613ff=_0x2982e2>0x1?void 0x0:_0x2982e2?At(_0x139def,_0x3870d8):_0x139def,_0x19212b=_0x293ca2[_0x46f1d1(0x1dc)]-0x1,_0x402424;_0x19212b>=0x0;_0x19212b--)(_0x402424=_0x293ca2[_0x19212b])&&(_0x4613ff=_0x402424(_0x4613ff)||_0x4613ff);return _0x4613ff;},y=(_0x4e3f7e,_0x163216)=>(_0x113c0c,_0x42f499)=>_0x163216(_0x113c0c,_0x42f499,_0x4e3f7e);let q=class extends a[_0x511f53(0x22b)]{constructor(_0xf8c4f1,_0x429744,_0xc9815b,_0xd22f1a,_0x2bca34,_0x5346ca){const _0x294162=_0x511f53;super(),this[_0x294162(0x3c8)]=_0xf8c4f1,this[_0x294162(0x1d0)]=_0x429744,this[_0x294162(0x1f2)]=_0xc9815b,this[_0x294162(0x2ba)]=_0xd22f1a,this[_0x294162(0x299)]=_0x2bca34,this[_0x294162(0x290)]=_0x5346ca,this[_0x294162(0x249)](),this[_0x294162(0x30c)]();}[_0x511f53(0x249)](){const _0xb9ed35=_0x511f53;this[_0xb9ed35(0x203)](this[_0xb9ed35(0x3c8)][_0xb9ed35(0x38a)](()=>{const _0x41015d=_0xb9ed35;if(this[_0x41015d(0x1d0)][_0x41015d(0x248)][_0x41015d(0x17e)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x511f53(0x30c)](){const _0x59cd32=_0x511f53;this['disposeWithMe'](this[_0x59cd32(0x1f2)]['event$']['subscribe'](_0x164c85=>{const _0x305c96=_0x59cd32;_0x164c85['id']===u['CollaborationUIEventId'][_0x305c96(0x35b)]&&this[_0x305c96(0x2ba)]['show']({'type':D[_0x305c96(0x2f3)][_0x305c96(0x1c8)],'content':this[_0x305c96(0x290)]['t'](_0x305c96(0x2ac))}),_0x164c85['id']===u['CollaborationUIEventId']['CLOSE_ROOM']&&this['_messageService'][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)][_0x305c96(0x1c8)],'content':this[_0x305c96(0x290)]['t'](_0x305c96(0x223))}),_0x164c85['id']===u[_0x305c96(0x356)][_0x305c96(0x2ec)]&&this[_0x305c96(0x299)][_0x305c96(0x225)]({'title':this[_0x305c96(0x290)]['t'](_0x305c96(0x1f8)),'content':this[_0x305c96(0x290)]['t']('permission.content'),'type':_0x305c96(0x1bc),'duration':0x0}),_0x164c85['id']===u[_0x305c96(0x356)][_0x305c96(0x35c)]&&this[_0x305c96(0x2ba)][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)]['Error'],'content':this['_localeService']['t'](_0x305c96(0x223))+'('+_0x164c85[_0x305c96(0x278)]+')'}),_0x164c85['id']===u[_0x305c96(0x356)][_0x305c96(0x29a)]&&this[_0x305c96(0x2ba)][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)][_0x305c96(0x1c8)],'content':this['_localeService']['t'](_0x164c85['data']||'')}),_0x164c85['id']===u['CollaborationUIEventId'][_0x305c96(0x24e)]&&this[_0x305c96(0x2ba)][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)][_0x305c96(0x1c8)],'content':this['_localeService']['t'](_0x305c96(0x3ed))}),_0x164c85['id']===u[_0x305c96(0x356)][_0x305c96(0x335)]&&this[_0x305c96(0x2ba)][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)]['Error'],'content':this['_localeService']['t'](_0x305c96(0x3b4))}),_0x164c85['id']===u['CollaborationUIEventId'][_0x305c96(0x34c)]&&this[_0x305c96(0x2ba)][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)][_0x305c96(0x1bb)],'content':this[_0x305c96(0x290)]['t'](_0x305c96(0x2b3))});}));}};q=yt([y(0x0,O[_0x511f53(0x1e2)]),y(0x1,u[_0x511f53(0x328)]),y(0x2,a[_0x511f53(0x3be)](u[_0x511f53(0x3cd)])),y(0x3,O[_0x511f53(0x1d4)]),y(0x4,O['INotificationService']),y(0x5,a[_0x511f53(0x3be)](a[_0x511f53(0x349)]))],q);const $t=_0x511f53(0x3bb),Ue={},Ee=a[_0x511f53(0x39c)](_0x511f53(0x2ad));var xt=Object['getOwnPropertyDescriptor'],Bt=(_0x275a67,_0xbc14c0,_0xd79701,_0x43cf1b)=>{const _0x24db01=_0x511f53;for(var _0x1762ab=_0x43cf1b>0x1?void 0x0:_0x43cf1b?xt(_0xbc14c0,_0xd79701):_0xbc14c0,_0xb887ae=_0x275a67[_0x24db01(0x1dc)]-0x1,_0x236939;_0xb887ae>=0x0;_0xb887ae--)(_0x236939=_0x275a67[_0xb887ae])&&(_0x1762ab=_0x236939(_0x1762ab)||_0x1762ab);return _0x1762ab;},F=(_0x1a8ed4,_0x4e5493)=>(_0x4eed2e,_0x43a5fd)=>_0x4e5493(_0x4eed2e,_0x43a5fd,_0x1a8ed4);exports[_0x511f53(0x3a1)]=class extends a[_0x511f53(0x1e5)]{constructor(_0x387474,_0x41c359,_0x51298c,_0x370535,_0x3f5007){const _0x53a2be=_0x511f53;super(),this[_0x53a2be(0x2de)]=_0x387474,this['_logService']=_0x41c359,this[_0x53a2be(0x1b9)]=_0x51298c,this[_0x53a2be(0x2e8)]=_0x370535,_0x3f5007?_0x3f5007==null||_0x3f5007['whenReady']()[_0x53a2be(0x36e)](()=>this['_init']()):(this['_logService'][_0x53a2be(0x407)](_0x53a2be(0x1c5),_0x53a2be(0x3a6)),this['_init']());}async['_init'](){const _0x10d87e=_0x511f53,_0x172aab=this[_0x10d87e(0x2de)][_0x10d87e(0x1b1)](_0x10d87e(0x1fa)),_0x29eb56=this[_0x10d87e(0x2de)]['getParam']('type'),_0xb31584=this['_urlService'][_0x10d87e(0x1b1)](_0x10d87e(0x39a));if(!_0x172aab||!_0x29eb56){this[_0x10d87e(0x406)][_0x10d87e(0x407)]('[CollaborationDataLoaderController]',_0x10d87e(0x1d7));return;}const _0x35fba0=await this[_0x10d87e(0x2e8)][_0x10d87e(0x40f)](_0x172aab,Number(_0x29eb56),_0xb31584);_0x35fba0&&_0x35fba0 instanceof a[_0x10d87e(0x247)]&&this[_0x10d87e(0x253)](_0x35fba0);}async[_0x511f53(0x253)](_0x42b14b){const _0xfee848=_0x511f53;await this['_updateSubUnitFromURLParams'](_0x42b14b),_0x42b14b[_0xfee848(0x313)][_0xfee848(0x33d)](d[_0xfee848(0x207)](this['dispose$']))[_0xfee848(0x2d0)](_0x12951f=>{const _0x41c137=_0xfee848;_0x12951f&&this[_0x41c137(0x21c)](_0x12951f);}),this[_0xfee848(0x2de)][_0xfee848(0x24c)][_0xfee848(0x33d)](d[_0xfee848(0x207)](this[_0xfee848(0x1cb)]))[_0xfee848(0x2d0)](()=>this[_0xfee848(0x3fe)](_0x42b14b));}[_0x511f53(0x21c)](_0xf40192,_0x3f5af6=!0x1){const _0x383cc6=_0x511f53,_0x5a8a7d=this[_0x383cc6(0x2de)][_0x383cc6(0x1b1)](_0x383cc6(0x39a));_0xf40192[_0x383cc6(0x365)]()!==_0x5a8a7d&&this[_0x383cc6(0x2de)][_0x383cc6(0x303)]('subunit',_0xf40192[_0x383cc6(0x365)](),_0x3f5af6);}async[_0x511f53(0x3fe)](_0x116855){const _0xebeeb8=_0x511f53;var _0x1963c5;const _0x50b8e2=this[_0xebeeb8(0x2de)][_0xebeeb8(0x1b1)](_0xebeeb8(0x39a));if(!_0x50b8e2||!_0x116855[_0xebeeb8(0x359)](_0x50b8e2)){const _0x2bda0d=_0x116855[_0xebeeb8(0x1ac)]()[0x0],_0x357981=_0x116855[_0xebeeb8(0x359)](_0x2bda0d);if(!_0x357981)return;this['_updateURLWithCurrentState'](_0x357981,!0x0),await this[_0xebeeb8(0x1b9)][_0xebeeb8(0x372)](g[_0xebeeb8(0x1d2)]['id'],{'unitId':_0x116855[_0xebeeb8(0x22f)](),'subUnitId':_0x2bda0d});return;}((_0x1963c5=_0x116855[_0xebeeb8(0x308)]())==null?void 0x0:_0x1963c5[_0xebeeb8(0x365)]())!==_0x50b8e2&&await this['_commandService']['executeCommand'](g[_0xebeeb8(0x1d2)]['id'],{'unitId':_0x116855[_0xebeeb8(0x22f)](),'subUnitId':_0x50b8e2});}},exports[_0x511f53(0x3a1)]=Bt([F(0x0,Ee),F(0x1,a[_0x511f53(0x3c9)]),F(0x2,a[_0x511f53(0x27b)]),F(0x3,a['Inject'](u['DataLoaderService'])),F(0x4,a[_0x511f53(0x235)](Ke[_0x511f53(0x3d5)]))],exports[_0x511f53(0x3a1)]);var jt=Object[_0x511f53(0x1d6)],kt=(_0x29bd52,_0x1cedcb,_0x3c13c8,_0x23f6ab)=>{const _0x5a2d5b=_0x511f53;for(var _0x3f9651=_0x23f6ab>0x1?void 0x0:_0x23f6ab?jt(_0x1cedcb,_0x3c13c8):_0x1cedcb,_0x1735bc=_0x29bd52[_0x5a2d5b(0x1dc)]-0x1,_0x5c6f37;_0x1735bc>=0x0;_0x1735bc--)(_0x5c6f37=_0x29bd52[_0x1735bc])&&(_0x3f9651=_0x5c6f37(_0x3f9651)||_0x3f9651);return _0x3f9651;},ce=(_0x47a39b,_0x28e757)=>(_0x27d656,_0xb4fb00)=>_0x28e757(_0x27d656,_0xb4fb00,_0x47a39b);let z=class{constructor(_0x5d77e3,_0x24ad47,_0x5595a0){const _0x2beb0b=_0x511f53;this[_0x2beb0b(0x32e)]=_0x5d77e3,this[_0x2beb0b(0x2b4)]=_0x24ad47,this[_0x2beb0b(0x201)]=_0x5595a0;}[_0x511f53(0x28f)](_0x38f35b){const _0x5cfa95=_0x511f53;this['_transformUndoRedoStack'](_0x38f35b),this[_0x5cfa95(0x2cf)](_0x38f35b);}[_0x511f53(0x323)](_0x3ff248){const _0x5023d5=_0x511f53,{unitID:_0x256ae4}=_0x3ff248,_0x42c75e=this[_0x5023d5(0x201)][_0x5023d5(0x309)](_0x256ae4)[_0x5023d5(0x1c1)](E[_0x5023d5(0x34a)]),{redoCache:_0x4c52fe}=_0x42c75e[_0x5023d5(0x2df)]();if(_0x4c52fe[_0x5023d5(0x1dc)]===0x0)return _0x3ff248;let _0x51117f=a[_0x5023d5(0x193)]['deepClone'](_0x3ff248['mutations'][0x0]);for(let _0x2e00a4=0x0;_0x2e00a4<_0x4c52fe[_0x5023d5(0x1dc)];_0x2e00a4++){const _0x31517f={'id':_0x5023d5(0x2f4),'params':{..._0x4c52fe[_0x2e00a4]}},_0x339716=this['_transformService'][_0x5023d5(0x381)](_0x51117f,_0x31517f,!0x1);if(m['isTransformMutationFailure'](_0x339716))throw _0x339716[_0x5023d5(0x1bc)];_0x51117f=_0x339716[_0x5023d5(0x2aa)];}return{...a[_0x5023d5(0x193)]['deepClone'](_0x3ff248),'mutations':[_0x51117f]};}[_0x511f53(0x36b)](_0x564850){const _0x53c54c=_0x511f53,{unitID:_0x479c15}=_0x564850,_0x416a61=this[_0x53c54c(0x201)][_0x53c54c(0x309)](_0x479c15)[_0x53c54c(0x1c1)](E[_0x53c54c(0x34a)]),{undoCache:_0x317f1c,redoCache:_0x4cffee}=_0x416a61[_0x53c54c(0x2df)]();if(_0x317f1c[_0x53c54c(0x1dc)]===0x0||_0x4cffee[_0x53c54c(0x1dc)]===0x0)return;const _0x19d3f1=[],_0x5b6418=[];let _0x407ee0=a['Tools'][_0x53c54c(0x2bf)](_0x564850[_0x53c54c(0x294)][0x0]),_0x187ab7=a[_0x53c54c(0x193)][_0x53c54c(0x2bf)](_0x564850[_0x53c54c(0x294)][0x0]);for(let _0x1a6550=_0x317f1c['length']-0x1;_0x1a6550>=0x0;_0x1a6550--){const _0x4adc56={'id':_0x53c54c(0x2f4),'params':{..._0x317f1c[_0x1a6550]}},_0x14eb66={'id':_0x53c54c(0x2f4),'params':{..._0x4cffee[_0x1a6550]}},_0xcec39f=this[_0x53c54c(0x2b4)][_0x53c54c(0x381)](_0x407ee0,_0x4adc56,!0x1),_0x772325=this[_0x53c54c(0x2b4)][_0x53c54c(0x381)](_0x187ab7,_0x14eb66,!0x1);if(m['isTransformMutationFailure'](_0xcec39f))throw _0xcec39f[_0x53c54c(0x1bc)];if(m[_0x53c54c(0x322)](_0x772325))throw _0x772325[_0x53c54c(0x1bc)];_0x19d3f1[_0x53c54c(0x3b0)](_0xcec39f[_0x53c54c(0x3d8)][_0x53c54c(0x411)]),_0x5b6418[_0x53c54c(0x3b0)](_0x772325[_0x53c54c(0x3d8)][_0x53c54c(0x411)]),_0x407ee0=_0xcec39f[_0x53c54c(0x2aa)],_0x187ab7=_0x772325[_0x53c54c(0x2aa)];}_0x416a61[_0x53c54c(0x3dc)]({'undoCache':_0x19d3f1,'redoCache':_0x5b6418});}['_transformPreviousActiveRange'](_0x4a0049){const _0x5161bd=_0x511f53,{unitID:_0x6adca}=_0x4a0049,_0x4c0fcd=this[_0x5161bd(0x201)][_0x5161bd(0x309)](_0x6adca)['with'](E[_0x5161bd(0x34a)]),_0x31309c=_0x4c0fcd[_0x5161bd(0x3f3)]();if(_0x31309c==null)return;const _0x1a4dd2=[{'id':_0x5161bd(0x2f4),'params':{'unitId':_0x4a0049[_0x5161bd(0x2ef)],'actions':null,'textRanges':[_0x31309c]}}],_0x40d52d=this[_0x5161bd(0x2b4)][_0x5161bd(0x307)](_0x4a0049,_0x1a4dd2);if(!m['isTransformMutationsWithChangesetSuccess'](_0x40d52d))throw _0x40d52d[_0x5161bd(0x1bc)];const _0x2ce02b=_0x40d52d[_0x5161bd(0x3d8)][0x0][_0x5161bd(0x411)][_0x5161bd(0x30a)];Array[_0x5161bd(0x287)](_0x2ce02b)&&_0x2ce02b['length']&&_0x4c0fcd[_0x5161bd(0x254)](_0x2ce02b[0x0]);}};z=kt([ce(0x0,a[_0x511f53(0x3be)](a[_0x511f53(0x1d8)])),ce(0x1,m[_0x511f53(0x214)]),ce(0x2,p[_0x511f53(0x3e7)])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x2f5360,_0x33da19,_0x4056b2,_0x47685d)=>{const _0x524d36=_0x511f53;for(var _0x187d41=_0x47685d>0x1?void 0x0:_0x47685d?Ft(_0x33da19,_0x4056b2):_0x33da19,_0x212750=_0x2f5360[_0x524d36(0x1dc)]-0x1,_0x3e10a9;_0x212750>=0x0;_0x212750--)(_0x3e10a9=_0x2f5360[_0x212750])&&(_0x187d41=_0x3e10a9(_0x187d41)||_0x187d41);return _0x187d41;},le=(_0x27703d,_0x265c8e)=>(_0x3301ad,_0x181a7d)=>_0x265c8e(_0x3301ad,_0x181a7d,_0x27703d);let J=class{constructor(_0x547024,_0x19b1ce,_0x486e80){const _0x57fcbe=_0x511f53;this[_0x57fcbe(0x32e)]=_0x547024,this['_transformService']=_0x19b1ce,this[_0x57fcbe(0x3a4)]=_0x486e80;}[_0x511f53(0x37b)](_0xc230ac){const _0x300025=_0x511f53;this[_0x300025(0x231)](_0xc230ac);}[_0x511f53(0x323)](_0x5eb657){const _0x403075=_0x511f53,{unitID:_0x344fac}=_0x5eb657,{collaboration:_0x432ad5}=this[_0x403075(0x3a4)][_0x403075(0x3de)](_0x344fac);if(_0x432ad5[_0x403075(0x1dc)]===0x0)return _0x5eb657;let _0x3cdb65=a['Tools'][_0x403075(0x2bf)](_0x5eb657[_0x403075(0x294)][0x0]);for(let _0x49fa6d=0x0;_0x49fa6d<_0x432ad5['length'];_0x49fa6d++){const _0x5b3cd2={'id':_0x403075(0x2f4),'params':{'unitId':_0x432ad5[_0x49fa6d][_0x403075(0x32c)],..._0x432ad5[_0x49fa6d][_0x403075(0x3f5)]}},_0x669c2e=this['_transformService'][_0x403075(0x381)](_0x3cdb65,_0x5b3cd2,!0x1);if(m[_0x403075(0x322)](_0x669c2e))throw _0x669c2e[_0x403075(0x1bc)];_0x3cdb65=_0x669c2e[_0x403075(0x2aa)];}return{...a[_0x403075(0x193)][_0x403075(0x2bf)](_0x5eb657),'mutations':[_0x3cdb65]};}['_transformHistoryAndStateStack'](_0x33a41a){const _0x9b432c=_0x511f53,{unitID:_0x4dda5b}=_0x33a41a,{history:_0x19c6ca,collaboration:_0x3bb08b}=this[_0x9b432c(0x3a4)][_0x9b432c(0x3de)](_0x4dda5b);if(_0x19c6ca[_0x9b432c(0x1dc)]===0x0&&_0x3bb08b[_0x9b432c(0x1dc)]===0x0)return;const _0xa25d97=[],_0x343446=[];let _0x2788bd=a[_0x9b432c(0x193)][_0x9b432c(0x2bf)](_0x33a41a[_0x9b432c(0x294)][0x0]),_0x4e8724=a[_0x9b432c(0x193)][_0x9b432c(0x2bf)](_0x33a41a[_0x9b432c(0x294)][0x0]);for(let _0x4ff343=_0x19c6ca[_0x9b432c(0x1dc)]-0x1;_0x4ff343>=0x0;_0x4ff343--){const _0x23e4ad={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19c6ca[_0x4ff343][_0x9b432c(0x32c)],..._0x19c6ca[_0x4ff343][_0x9b432c(0x3a3)]}},_0x27f5a8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19c6ca[_0x4ff343][_0x9b432c(0x32c)],..._0x19c6ca[_0x4ff343][_0x9b432c(0x3f5)]}},_0x101c98=this[_0x9b432c(0x2b4)][_0x9b432c(0x381)](_0x2788bd,_0x23e4ad,!0x1),_0x4cf69c=this[_0x9b432c(0x2b4)][_0x9b432c(0x381)](_0x4e8724,_0x27f5a8,!0x1);if(m['isTransformMutationFailure'](_0x101c98))throw _0x101c98[_0x9b432c(0x1bc)];if(m[_0x9b432c(0x322)](_0x4cf69c))throw _0x4cf69c[_0x9b432c(0x1bc)];_0xa25d97['unshift']({..._0x19c6ca[_0x4ff343],'undoState':_0x101c98[_0x9b432c(0x3d8)][_0x9b432c(0x411)],'redoState':_0x4cf69c[_0x9b432c(0x3d8)][_0x9b432c(0x411)]}),_0x2788bd=_0x101c98[_0x9b432c(0x2aa)],_0x4e8724=_0x4cf69c['m1Prime'];}_0x2788bd=a[_0x9b432c(0x193)][_0x9b432c(0x2bf)](_0x33a41a[_0x9b432c(0x294)][0x0]),_0x4e8724=a[_0x9b432c(0x193)]['deepClone'](_0x33a41a['mutations'][0x0]);for(let _0x835226=_0x3bb08b[_0x9b432c(0x1dc)]-0x1;_0x835226>=0x0;_0x835226--){const _0xd014d2={'id':_0x9b432c(0x2f4),'params':{'unitId':_0x3bb08b[_0x835226][_0x9b432c(0x32c)],..._0x3bb08b[_0x835226][_0x9b432c(0x3a3)]}},_0x3b8358={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3bb08b[_0x835226][_0x9b432c(0x32c)],..._0x3bb08b[_0x835226][_0x9b432c(0x3f5)]}},_0x4fe686=this[_0x9b432c(0x2b4)][_0x9b432c(0x381)](_0x2788bd,_0xd014d2,!0x1),_0x535138=this['_transformService']['transformMutation'](_0x4e8724,_0x3b8358,!0x1);if(m['isTransformMutationFailure'](_0x4fe686))throw _0x4fe686[_0x9b432c(0x1bc)];if(m[_0x9b432c(0x322)](_0x535138))throw _0x535138[_0x9b432c(0x1bc)];_0x343446['unshift']({..._0x3bb08b[_0x835226],'undoState':_0x4fe686[_0x9b432c(0x3d8)][_0x9b432c(0x411)],'redoState':_0x535138[_0x9b432c(0x3d8)][_0x9b432c(0x411)]}),_0x2788bd=_0x4fe686[_0x9b432c(0x2aa)],_0x4e8724=_0x535138[_0x9b432c(0x2aa)];}this[_0x9b432c(0x3a4)]['setStateCache'](_0x4dda5b,{'history':_0xa25d97,'collaboration':_0x343446});}};J=Ht([le(0x0,a[_0x511f53(0x3be)](a[_0x511f53(0x1d8)])),le(0x1,m[_0x511f53(0x214)]),le(0x2,a[_0x511f53(0x3be)](E[_0x511f53(0x34f)]))],J);var Yt=Object[_0x511f53(0x1d6)],Wt=(_0x7f6a47,_0x15bfc0,_0x100109,_0x5baaa6)=>{for(var _0x21ed21=_0x5baaa6>0x1?void 0x0:_0x5baaa6?Yt(_0x15bfc0,_0x100109):_0x15bfc0,_0x50a629=_0x7f6a47['length']-0x1,_0x5e7214;_0x50a629>=0x0;_0x50a629--)(_0x5e7214=_0x7f6a47[_0x50a629])&&(_0x21ed21=_0x5e7214(_0x21ed21)||_0x21ed21);return _0x21ed21;},Ne=(_0x1f50bb,_0xad3d70)=>(_0x35a7f8,_0x265b40)=>_0xad3d70(_0x35a7f8,_0x265b40,_0x1f50bb);let Z=class{constructor(_0x5434a3,_0x76ea18){const _0x3693ce=_0x511f53;this[_0x3693ce(0x32e)]=_0x5434a3,this[_0x3693ce(0x2b4)]=_0x76ea18;}[_0x511f53(0x1a5)](_0x54a827){const _0x5c820c=_0x511f53;var _0x2d239c;const _0x1e54a7=this['_injector']['get'](Y[_0x5c820c(0x215)]),_0x5a1ae1=(_0x2d239c=_0x1e54a7[_0x5c820c(0x3b3)]())!=null?_0x2d239c:[];if(_0x5a1ae1[_0x5c820c(0x1dc)]===0x0)return;const _0x3238d2=_0x54a827[_0x5c820c(0x2ef)],_0x371be1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3238d2,'actions':null,'textRanges':_0x5a1ae1}}],_0x36fb1a=this[_0x5c820c(0x2b4)]['transformMutationsWithChangeset'](_0x54a827,_0x371be1);if(!m['isTransformMutationsWithChangesetSuccess'](_0x36fb1a))throw _0x36fb1a['error'];const _0x21e1be=_0x36fb1a[_0x5c820c(0x3d8)][0x0][_0x5c820c(0x411)][_0x5c820c(0x30a)];Array[_0x5c820c(0x287)](_0x21e1be)&&_0x21e1be[_0x5c820c(0x1dc)]&&_0x1e54a7[_0x5c820c(0x33a)](_0x21e1be,{'unitId':_0x3238d2,'subUnitId':_0x3238d2},!0x1);}};Z=Wt([Ne(0x0,a[_0x511f53(0x3be)](a[_0x511f53(0x1d8)])),Ne(0x1,m[_0x511f53(0x214)])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x165b7f,_0x2c3f21,_0x2e29b6,_0x3835f2)=>{const _0x5cd82f=_0x511f53;for(var _0x35ed07=_0x3835f2>0x1?void 0x0:_0x3835f2?Vt(_0x2c3f21,_0x2e29b6):_0x2c3f21,_0x152d66=_0x165b7f[_0x5cd82f(0x1dc)]-0x1,_0x4fac7a;_0x152d66>=0x0;_0x152d66--)(_0x4fac7a=_0x165b7f[_0x152d66])&&(_0x35ed07=_0x4fac7a(_0x35ed07)||_0x35ed07);return _0x35ed07;},N=(_0x567049,_0x407eb9)=>(_0x2fec82,_0x5ebd9d)=>_0x407eb9(_0x2fec82,_0x5ebd9d,_0x567049);function _0x5a22(){const _0x1dd549=['path','undoState','_docStateChangeManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_startDocCollabCursor','handleInsertCol','icon','_status$','result','@univerjs/engine-formula','idSuffix','_send','_cachedData','unshift','lineTo','type','getDocRanges','session.connection-failed','entityInit$','LOCAL_CACHE_INTERVAL','1450776rIluod','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DependentOn','distinctUntilChanged','collaboration-client-ui.config','asObservable','handleMoveRange','Inject','filter','AWAITING','LICENSE_IMPORT_SIZE_EXCEEDED','_initStatusComponent','FromArray','newValue','_selfUnitIDs','moveTo','set','_beforeCloseService','ILogService','http://www.w3.org/2000/svg','on-line-icon_clip0_910_349','exhaustSavingTask','CollaborationUIEventService','INVALID_ARGUMENT','override','onLocalMutation','_range','BrowserCollaborationSocketService','getCurrentSelections','_toggleOffline','IRemoteInstanceService','SetSelectionsOperation','ONLINE','m2Prime','getVpScrollXYInfoByPosToVp','_memberService','prototype','setUndoRedoMutationParamsCache','makeDirty','getStateCache','getSkeleton','CollaborationSessionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getMergeData','@univerjs/engine-render','_registerRenderDependencies','resize','getUnitStatus$','IRenderManagerService','_init','_heartbeatTimer','_textBubble','750615ILXwsz','toStringTag','session.will-retry','RevisionService','currentSkeleton$','mergeOverrideWithDependencies','Module','NO_OTHER_CLIENTS_EDITING','getActiveRange','getColor','redoState','debounceTime','APPLY_DUPLICATED','executionId','restore','TEXT_RANGE_LAYER_INDEX','rxjs','_colorAssignService','_entities','_updateSubUnitFromURLParams','SNAPSHOT_HAS_BEEN_REMOVED','cursorInfo$','history','RemoteUniscriptService','getRangePointData','addClipboardHook','combineLatest','_logService','debug','@univerjs/docs','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_registerDependencies','0\x200\x2016\x2016','MOBILE_HAS_BEEN_BOUND','ThemeService','key','loadUnit','@univerjs/design','params','_cursors','top','size','LICENSE_DISTRO_REJECTED','LICENSE_EXPORT_SIZE_EXCEEDED','_collabCursorController','div','focused$','text','fillText','_initEntityListener','fillRule','drawWith','CollaborationEvent','indexOf','all','InsertColCommandId','EffectRefRangId','invokeId','NodePositionConvertToRectRange','INVALID_INVITE_CODE','InsertRangeMoveRightCommandId','CollaborationStatus','Tools','forwardRef','saveOfflineData','HTTPService','SHEET_VIEWPORT_KEY','mask','_lastPointer','from','18kGAdLg','assign','@univerjs/sheets','UniverInstanceType','SheetsSelectionsService','_cursor','Vector2','_drawRectRange','connectInjector','_ensureSubject','transformSelections','use','NOT_FOUND','OTHER_CLIENTS_EDITING','COLORS','handleDeleteRangeMoveLeft','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getUnhiddenWorksheets','_updateCollabCursors','_anchor','registerRefRange','WebBrowserSingleActiveUnitService','getParam','Failed','SetTextSelectionsOperation','setTimeout','_color','IImageIoService','editingUnit','mapTo','_commandService','min','Error','error','YUUMI_AI_RUN_FAILED','IUniverInstanceService','_hover','measureText','with','RemoveColCommandId','fillStyle','on-line-icon','[CollaborationDataLoaderController]','height','univer-flex\x20univer-items-center','Warning','registerRenderModule','APPLY_REJECT','dispose$','round','_removeClearOtherTimer','_initResize','replaceState','_localCacheService','call','SetWorksheetActivateCommand','defs','IMessageService','_univerInstanceService','getOwnPropertyDescriptor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Injector','_anchorDot','_handleEvent','_draw','length','docStateChange$','UNRECOGNIZED','Rect','backgroundColor','symbol','IBeforeCloseService','runRefRangeMutations','YUUMI_RATE_OVER_LIMIT','RxDisposable','PENDING','SNAPSHOT_INVALID_SNAPSHOT','_toggleOnline','_removeCollabCursors','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNAUTHENTICATED','APPLY_NON_SEQUENTIAL_REVISION','purple.300','_handleHeartbeatEvent','_themeService','13011690NWSpyO','getFocusedUnit','_collaborationUIEventService','_initStatusListener','evenodd','_hideTimer','imageSourceType','VIEW_MAIN','permission.title','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','unit','DeleteRangeMoveLeftCommandId','translate(.97)','univer-mr-2\x20univer-flex\x20univer-text-xl','_handleLeaveEvent','defIds','black','_renderManagerService','stringify','disposeWithMe','UniverCollaborationClientUIPlugin','name','OnLineIcon','takeUntil','USER_NOT_INVITED_CODE','_onRefRangeChange','ISnapshotServerService','ColorKit','onTransformChange$','_getSheetObject','_scheduleHeartbeat','_updateLocalCursor','_cursorShapes','_colorIndex','hovered','_getSessionTicket','ITransformService','DocSelectionManagerService','_initCommandExecutedListener','addObjects','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CollaborationSocketService','pushState','collab-client.tooltip.reconnect','_updateURLWithCurrentState','svg','YUUMI_CONNECTOR_URL_NOT_FOUND','get','disableLocalCache','_id','origin','collaboration.closeRoom','getCellPositionByOffset','show','rxjs/operators','generateRandomId','IDocClipboardService','_onCursorDelete','/run/','Disposable','UNIVER_SHEET','colorChannel1','column','getUnitId','collabStatus.notCollab','_transformHistoryAndStateStack','currentColor','INVITE_CODE_ALREADY_BOUND','handleInsertRangeMoveDown','Optional','_syncEditingCollabCursorService','_refreshCollabCursors','toDisposable','651810SkcVfb','dispose','push','xlink:href','DOC_RANGE_TYPE','Subject','_refRangeService','string','CONNECTOR_DATA_TOO_LARGE','range','fill','OFFLINE','application/json','red.300','Workbook','saveTaskMap','_setupBeforeClosingHandler','_collabCursorState$','shareReplay','urlChange$','IURLService','SOCKET_FAILED_RETRY','_docClipboardService','_collaborationController','_roomMembers$','0\x200\x2017\x2016','_setupSubUnitSync','setActiveRange','NodePositionConvertToCursor','roomMembers$','INTERNAL_ERROR','switchMap','event$','YUUMI_ALL_TABLES_IS_INVALID','getSheetObject','_name','addEventListener','subUnitId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','1em','2114174azSIZn','next','BehaviorSubject','YUUMI_UNABLE_LOAD_URL','some','handleDeleteRangeMoveUp','white','_unitOnClients','toRgbString','unload','requireSession','getMemberID','getMember','cursorInfo','CollaborationStatusDisplay','getCurrentRevOfUnit','_session','throttleTime','setShapeProps','_instanceService','currentTheme$','_createSocketURL','handleInsertRangeMoveRight','data','collab-text-range-','hide','ICommandService','InsertRangeMoveDownCommandId','eventID','font','YUUMI_NO_CUBOID_FOR_QUESTION','addObject','useDependency','trim','9xGJdUo','LOCAL_CACHE_INTERVAL_KEY','enableLocalCache','sheetID','isArray','debounce','clsx','APPLY_REVISION_CONFILICT','_imageIoService','CommandType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_online','transformIMECache','_localeService','isActive','collabStatus.synced','disposeUnit','mutations','transform','_saveCache','Plugin','UNDEFINED','_notificationService','JOIN_ROOM_FAILED','forEach','_clearOtherTimers','hasOwnProperty','_docTransformStateCacheService','SheetCollabCursorShape','InsertRowCommandId','_saveTaskMap','_localStorageService','fromEventSubject','startColumn','propertyIsEnumerable','setConfig','source','_labelPosition','_uiPartsService','m1Prime','ranges','collaboration.single-unit.warning','uni.network.url-service','_docTransformIMECacheService','registerComponent','_getAnchorBounding','RefRangeService','getColorFromTheme','session.collaboration-timeout','_transformService','getUniverSheetInstance','_doCreateSocket','_httpService','_unitStatus','onPointerEnter$','_messageService','DesktopCollaborationStatusDisplayController','isEditing','has','CHANGESET_REVISION_CONFILICT','deepClone','FETCH_MISS','UPDATE_CURSOR','includes','runId','@univerjs/ui','getCoordByCell','LICENSE_MAX_UNITS_EXCEEDED','NOT_COLLAB','body','_disabled','children','_shapes','49rzRdfh','current','memberID','_transformPreviousActiveRange','subscribe','_revisionService','_drawAnchor','UniverIcon','add','handleInsertRow','triggerDblclick','createInstance','_collabSessionService','univerjs-icon\x20univerjs-icon-','MUTATION','YUUMI_ASYNCIO_CANCELLED','delete','YUUMI_URL_COL_OUT_OF_RANGE','_urlService','getUndoRedoMutationParamsCache','AWAITING_WITH_PENDING','_drawTextRange','row','_getScale','UNIVER_DOC','_docSkeletonManagerService','selections','off-line-icon','_dataLoaderService','getTypeOfUnitDisposed$','arc','url(#on-line-icon_clip0_910_349)','PERMISSION_DENIED','pluginName','off-line-icon_clip0_910_343','unitID','getOwnPropertySymbols','createElement','engine','MessageType','doc.mutation.rich-text-editing','_render','4557408BqvfTH','runOnServer','complete','M0\x200H16V16H0z','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','clipPath','assignAColorForMemberID','color','_getSaveTimeout','collab-rect-range-','split','attrs','width','setParam','_scheduleClearOtherTimer','tag','sessionTicket','transformMutationsWithChangeset','getActiveSheet','getRenderById','textRanges','saveImage','_initEvent','getTypeOfUnitAdded$','createSocket','EMAIL_VERIFY_CODE_MISMATCH','@univerjs/network','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','toString','activeSheet$','selection','blue.400','_handleHover','getOffsetConfig','WebURLService','collabCursorState$','_assignedColors','green.600','SYNCED','save','Unknown\x20user','_entityInit$','endRow','_docTransformSelectionsService','isTransformMutationFailure','transformRemoteChangeset','rgba(255,\x20255,\x20255,\x200.01)','UnitStatus','_cursorInfo$','setItem','ILocalCacheService','USERS_LEAVE','RegularPolygon','ENSURE_SNAPSHOT_EXECUTION','unitId','onCommandExecuted','_injector','@univerjs/drawing','SheetSkeletonManagerService','_context','sheetId','INVITE_CODE_HAS_BEEN_UES','OffLineIcon','SOCKET_FAILED','_configService','COMPLETION_FINISHED','closePath','collabStatus.fetchMiss','replaceDocRanges','_config','merge','pipe','_onCursorUpdate','syncEditingCollabCursor','RECT','init','addHandlerCallback','@univerjs/core','_sheetSkeletonManagerService','getCollabCursors$','526548ZOvWcU','clearInterval','WECHAT_HAS_BEEN_BOUND','LocaleService','DocIMEInputManagerService','concat','SUBMIT_CHANGESET_TIMEOUT','function','jiqing.500','DocStateChangeManagerService','findNodePositionByCharIndex','onPointerMove$','getLocalCacheKey','roomMembers','transformByState','entries','CollaborationUIEventId','react/jsx-runtime','setAlpha','getSheetBySheetId','_initDependencies','OTHER_CLIENT_EDITING','CONFLICT','onMouseMove','ACTIVE_UNIT_EVENT_CHANNEL','startRow','TOO_MANY_REQUESTS','LOGIN_FAILED','_eventUnsubscribe','none','collabStatus.conflict','getSheetId','_hovered','apply','url(#$1','location','_docSkeleton','_transformUndoRedoStack','jsx','IConfigService','then','subscribeEvent','popstate','reconnect','executeCommand','collabStatus.offline','collabStatus.syncing','updateOfflineData','CollaborationController','MoveRangeCommandId','getValue','className','sessionStatus$','transformStateCache','extend','MOBILE_VERIFY_CODE_MISMATCH','beginPath','TEXT','wsSessionTicketUrl','transformMutation','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','onPointerLeave$','@univerjs/sheets-ui','_handleJoinEvent','_scene','fromEvent','getItem','getViewport','registerBeforeClose','unsubscribe','code','values','IUIPartsService','getAncestorScale','_backgroundColor','@univerjs-pro/collaboration-client','displayName','EMAIL_HAS_BEEN_BOUND','skeleton','searchParams','getRelativeToViewportCoord','href','getConfig','loadOfflineData','subunit','SetDocZoomRatioOperation','createIdentifier','BuiltInUIPart','map','_docSyncEditingCollabCursorService','send','CollaborationDataLoaderController'];_0x5a22=function(){return _0x1dd549;};return _0x5a22();}let Q=class extends a[_0x511f53(0x22b)]{constructor(_0x74cfe3,_0x32ad63,_0x4068f7,_0x5a6356,_0x45ac0f,_0x4e192d,_0x4786ed,_0x3b9885){const _0x4672fb=_0x511f53;super(),h(this,_0x4672fb(0x3aa),new d[(_0x4672fb(0x263))](u[_0x4672fb(0x192)]['NOT_COLLAB'])),(this[_0x4672fb(0x3a4)]=_0x74cfe3,this['_collaborationController']=_0x32ad63,this[_0x4672fb(0x2ae)]=_0x4068f7,this[_0x4672fb(0x29e)]=_0x5a6356,this[_0x4672fb(0x321)]=_0x45ac0f,this[_0x4672fb(0x39f)]=_0x4e192d,this[_0x4672fb(0x2ba)]=_0x4786ed,this[_0x4672fb(0x290)]=_0x3b9885,this[_0x4672fb(0x186)]());}[_0x511f53(0x186)](){const _0x269540=_0x511f53;this[_0x269540(0x203)](this[_0x269540(0x250)][_0x269540(0x3b5)]['subscribe'](_0xa77fe8=>{const _0x334c25=_0x269540,_0x44f011=this[_0x334c25(0x3a4)][_0x334c25(0x1dd)][_0x334c25(0x2d0)](_0x277131=>{const _0xc98e0c=_0x334c25;if(_0x277131==null)return;const {unitId:_0x12608e,redoState:_0x3225b4,commandId:_0x48b73f}=_0x277131;if(_0x12608e!==_0xa77fe8[_0xc98e0c(0x2ef)])return;const _0xacf79c={'id':_0x48b73f,'type':a[_0xc98e0c(0x28c)][_0xc98e0c(0x2da)],'params':{'unitId':_0x12608e,'actions':_0x3225b4['actions'],'textRanges':null}};_0xa77fe8[_0xc98e0c(0x3d0)](_0xacf79c);});if(_0xa77fe8['disposeWithMe'](_0x44f011),_0xa77fe8 instanceof u['DocCollaborationEntity']){const _0x378053={'onTransformIME':_0x1852c1=>this[_0x334c25(0x2ae)][_0x334c25(0x28f)](_0x1852c1),'onTransformState':_0x238bcf=>this[_0x334c25(0x29e)][_0x334c25(0x37b)](_0x238bcf),'onTransformSelections':_0x7100a=>this[_0x334c25(0x321)][_0x334c25(0x1a5)](_0x7100a),'onSyncEditingCollabCursor':_0x1db6bd=>this[_0x334c25(0x39f)]['syncEditingCollabCursor'](_0x1db6bd),'onTransformRemoteChangesetByIMECache':_0x1c80f1=>this[_0x334c25(0x2ae)]['transformRemoteChangeset'](_0x1c80f1),'onTransformRemoteChangesetByStateCache':_0x1d47f2=>this[_0x334c25(0x29e)]['transformRemoteChangeset'](_0x1d47f2)};_0xa77fe8[_0x334c25(0x342)](_0x378053);}}));}};Q=Xt([N(0x0,a[_0x511f53(0x3be)](E[_0x511f53(0x34f)])),N(0x1,a[_0x511f53(0x3be)](u[_0x511f53(0x376)])),N(0x2,a[_0x511f53(0x3be)](z)),N(0x3,a[_0x511f53(0x3be)](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x511f53(0x3be)](Ce)),N(0x6,O[_0x511f53(0x1d4)]),N(0x7,a['Inject'](a['LocaleService']))],Q);var Gt=Object[_0x511f53(0x1d6)],Kt=(_0x44db79,_0xbc453e,_0x37ceec,_0x32a66c)=>{for(var _0xef15b0=_0x32a66c>0x1?void 0x0:_0x32a66c?Gt(_0xbc453e,_0x37ceec):_0xbc453e,_0x195d73=_0x44db79['length']-0x1,_0x2426d4;_0x195d73>=0x0;_0x195d73--)(_0x2426d4=_0x44db79[_0x195d73])&&(_0xef15b0=_0x2426d4(_0xef15b0)||_0xef15b0);return _0xef15b0;},_e=(_0x463ec6,_0xd80fcc)=>(_0x50b5ce,_0x72a9f9)=>_0xd80fcc(_0x50b5ce,_0x72a9f9,_0x463ec6);let ge=class extends a[_0x511f53(0x22b)]{constructor(_0x3fe9fb,_0x4727d7,_0x1f9286){const _0x38eb42=_0x511f53;super(),h(this,_0x38eb42(0x3af),new Map()),h(this,_0x38eb42(0x2a1),new Map()),h(this,'_disabled',!0x1),(this[_0x38eb42(0x336)]=_0x3fe9fb,this[_0x38eb42(0x2a2)]=_0x4727d7,this[_0x38eb42(0x2d1)]=_0x1f9286);}[_0x511f53(0x220)](){const _0x5a0e8c=_0x511f53;this[_0x5a0e8c(0x2c9)]=!0x0;}[_0x511f53(0x285)](){const _0x150cc3=_0x511f53;this[_0x150cc3(0x2c9)]=!0x1;}get[_0x511f53(0x248)](){return this['_saveTaskMap'];}[_0x511f53(0x23a)](){const _0x5c2cf0=_0x511f53;this[_0x5c2cf0(0x3cc)]()[_0x5c2cf0(0x36e)](()=>super['dispose']());}async[_0x511f53(0x399)](_0x45f62d){const _0x12ff9a=_0x511f53;return this['_disabled']?null:this[_0x12ff9a(0x2a2)][_0x12ff9a(0x388)](u[_0x12ff9a(0x352)](_0x45f62d));}async[_0x511f53(0x195)](_0x588aa2,_0x258853){const _0x575668=_0x511f53;return!!this[_0x575668(0x2a2)][_0x575668(0x327)](_0x588aa2,_0x258853);}[_0x511f53(0x375)](_0x4c0837,_0x232d6f,_0x1fe59d,_0xb67088){const _0x4e4b44=_0x511f53,_0x3e4758=this['_revisionService'][_0x4e4b44(0x270)](_0x4c0837);this['_cachedData'][_0x4e4b44(0x3c7)](_0x4c0837,{'unitID':_0x4c0837,'type':_0x232d6f,'awaitingChangeset':_0x1fe59d,'mutations':_0xb67088,'rev':_0x3e4758}),this['_saveTaskMap'][_0x4e4b44(0x2bd)](_0x4c0837)||this['_scheduleSaving'](_0x4c0837);}['_scheduleSaving'](_0x52d98a){const _0x214a56=_0x511f53,_0x296013=this[_0x214a56(0x2fe)]();_0x296013===0x0?this['_saveCache'](_0x52d98a):this['_saveTaskMap'][_0x214a56(0x3c7)](_0x52d98a,setTimeout(()=>this[_0x214a56(0x296)](_0x52d98a),_0x296013));}[_0x511f53(0x2fe)](){const _0x56389f=_0x511f53;var _0xccedc5;return(_0xccedc5=this['_configService'][_0x56389f(0x398)](u[_0x56389f(0x284)]))!=null?_0xccedc5:u[_0x56389f(0x3b6)];}[_0x511f53(0x296)](_0x486f8a){const _0x5931f9=_0x511f53,_0x422ee1=this[_0x5931f9(0x2a1)][_0x5931f9(0x21f)](_0x486f8a);return _0x422ee1!==void 0x0&&window['clearTimeout'](_0x422ee1),this[_0x5931f9(0x2a2)][_0x5931f9(0x327)](u[_0x5931f9(0x352)](_0x486f8a),this[_0x5931f9(0x3af)]['get'](_0x486f8a))[_0x5931f9(0x36e)](()=>this['_saveTaskMap']['delete'](_0x486f8a));}async['exhaustSavingTask'](){const _0x5b78dd=_0x511f53,_0x49905c=[];this[_0x5b78dd(0x2a1)][_0x5b78dd(0x29b)]((_0x4aa935,_0x71e446)=>{const _0x351c88=_0x5b78dd;window['clearTimeout'](_0x4aa935),_0x49905c[_0x351c88(0x23b)](this['_saveCache'](_0x71e446)[_0x351c88(0x36e)](()=>{const _0x2183ab=_0x351c88;this[_0x2183ab(0x2a1)]['delete'](_0x71e446);}));}),await Promise[_0x5b78dd(0x18b)](_0x49905c);}};ge=Kt([_e(0x0,a[_0x511f53(0x36d)]),_e(0x1,a['ILocalStorageService']),_e(0x2,a[_0x511f53(0x3be)](m[_0x511f53(0x3ee)]))],ge);class Be extends a['RxDisposable']{constructor(){const _0x2cc6a9=_0x511f53;super(),h(this,'urlChange$'),this[_0x2cc6a9(0x24c)]=d[_0x2cc6a9(0x387)](window,_0x2cc6a9(0x370))[_0x2cc6a9(0x33d)](d[_0x2cc6a9(0x207)](this[_0x2cc6a9(0x1cb)]),d[_0x2cc6a9(0x24b)](0x1),d[_0x2cc6a9(0x1b8)](void 0x0));}['setParam'](_0x214149,_0x2bf680,_0x408573=!0x1){const _0x410739=_0x511f53,_0x2c6e60=new URL(window[_0x410739(0x369)]['href']);_0x2c6e60[_0x410739(0x395)][_0x410739(0x3c7)](_0x214149,_0x2bf680),_0x408573?window[_0x410739(0x401)][_0x410739(0x1cf)]('','',_0x2c6e60[_0x410739(0x312)]()):window['history']['pushState']('','',_0x2c6e60['toString']());}['removeParam'](_0x36fcbd,_0x424097=!0x1){const _0x3e8b17=_0x511f53,_0x105681=new URL(window[_0x3e8b17(0x369)][_0x3e8b17(0x397)]);_0x105681['searchParams']['delete'](_0x36fcbd),_0x424097?window['history'][_0x3e8b17(0x1cf)]('','',_0x105681['toString']()):window['history'][_0x3e8b17(0x21a)]('','',_0x105681['toString']());}[_0x511f53(0x1b1)](_0x36cc58){const _0x372b86=_0x511f53;var _0x42243f;return(_0x42243f=new URL(window[_0x372b86(0x369)][_0x372b86(0x397)])[_0x372b86(0x395)]['get'](_0x36cc58))!=null?_0x42243f:void 0x0;}}var qt=Object['defineProperty'],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x2c7da6,_0x57a49d,_0x455c11)=>_0x57a49d in _0x2c7da6?qt(_0x2c7da6,_0x57a49d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x455c11}):_0x2c7da6[_0x57a49d]=_0x455c11,Zt=(_0x4a220b,_0x4e0e21,_0x53870e,_0x14ffbf)=>{const _0x27c87f=_0x511f53;for(var _0x44033b=_0x14ffbf>0x1?void 0x0:_0x14ffbf?zt(_0x4e0e21,_0x53870e):_0x4e0e21,_0x10b92f=_0x4a220b[_0x27c87f(0x1dc)]-0x1,_0x4e9848;_0x10b92f>=0x0;_0x10b92f--)(_0x4e9848=_0x4a220b[_0x10b92f])&&(_0x44033b=_0x4e9848(_0x44033b)||_0x44033b);return _0x44033b;},he=(_0x4a798e,_0x19e65f)=>(_0x519c65,_0xa1f4b5)=>_0x19e65f(_0x519c65,_0xa1f4b5,_0x4a798e),Qt=(_0x56586b,_0x376f95,_0x5e9152)=>Jt(_0x56586b,_0x376f95+'',_0x5e9152);const es=_0x511f53(0x3e1);exports[_0x511f53(0x204)]=class extends a[_0x511f53(0x297)]{constructor(_0x4b9bc2=Ue,_0x3393dd,_0x41e17b,_0x1ec6c8){const _0x2dcf98=_0x511f53;super(),this[_0x2dcf98(0x33b)]=_0x4b9bc2,this[_0x2dcf98(0x201)]=_0x3393dd,this[_0x2dcf98(0x32e)]=_0x41e17b,this['_configService']=_0x1ec6c8;const {..._0x403d9c}=a['merge']({},Ue,this[_0x2dcf98(0x33b)]);this[_0x2dcf98(0x336)][_0x2dcf98(0x2a6)]($t,_0x403d9c);}['onStarting'](){const _0x5c20d1=_0x511f53;this[_0x5c20d1(0x40a)](),this[_0x5c20d1(0x35a)]();}['onRendered'](){const _0x8ab5f2=_0x511f53;this[_0x8ab5f2(0x3e4)]();}[_0x511f53(0x40a)](){const _0x50af2e=_0x511f53;var _0x391c7d;const _0x3aaebc=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G['ISocketService'],{'useClass':G['WebSocketService']}],[u[_0x50af2e(0x328)],{'useClass':ge}],[exports[_0x50af2e(0x2bb)]],[Q],[q],[x],[de],[exports[_0x50af2e(0x3a1)]]];a['registerDependencies'](this[_0x50af2e(0x32e)],a[_0x50af2e(0x3f0)](_0x3aaebc,(_0x391c7d=this[_0x50af2e(0x33b)])==null?void 0x0:_0x391c7d[_0x50af2e(0x3cf)]));}[_0x511f53(0x3e4)](){const _0x19ee52=_0x511f53;this[_0x19ee52(0x203)](this[_0x19ee52(0x201)][_0x19ee52(0x1c9)](a['UniverInstanceType']['UNIVER_DOC'],[fe])),this[_0x19ee52(0x203)](this[_0x19ee52(0x201)][_0x19ee52(0x1c9)](a[_0x19ee52(0x19e)][_0x19ee52(0x22c)],[ve]));}[_0x511f53(0x35a)](){const _0x8da914=_0x511f53;a['touchDependencies'](this['_injector'],[[x],[exports[_0x8da914(0x2bb)]],[Q],[q],[exports[_0x8da914(0x3a1)]]]);}},Qt(exports[_0x511f53(0x204)],_0x511f53(0x2ed),es),exports[_0x511f53(0x204)]=Zt([a[_0x511f53(0x3b9)](u['UniverCollaborationClientPlugin']),he(0x1,p[_0x511f53(0x3e7)]),he(0x2,a['Inject'](a[_0x511f53(0x1d8)])),he(0x3,a[_0x511f53(0x36d)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x33c8ae,_0xf40481,_0x4bc894,_0x859a3d)=>{const _0x151327=_0x511f53;for(var _0x2224e5=_0x859a3d>0x1?void 0x0:_0x859a3d?ts(_0xf40481,_0x4bc894):_0xf40481,_0x5d3092=_0x33c8ae[_0x151327(0x1dc)]-0x1,_0x5a24a9;_0x5d3092>=0x0;_0x5d3092--)(_0x5a24a9=_0x33c8ae[_0x5d3092])&&(_0x2224e5=_0x5a24a9(_0x2224e5)||_0x2224e5);return _0x2224e5;},H=(_0x57d35f,_0x422be1)=>(_0x5f327f,_0x10fa09)=>_0x422be1(_0x5f327f,_0x10fa09,_0x57d35f);exports[_0x511f53(0x3d2)]=class extends u[_0x511f53(0x219)]{constructor(_0xc689ab,_0x15c441,_0x194144,_0x12d2d8,_0x1ddcd4){super(_0xc689ab,_0x15c441,_0x194144,_0x12d2d8,_0x1ddcd4);}async[_0x511f53(0x30e)](_0x4abd4f){const _0x51afbd=_0x511f53,_0x3fe695=await this[_0x51afbd(0x213)](),_0x45bea3=this[_0x51afbd(0x276)](_0x4abd4f,_0x3fe695);return this[_0x51afbd(0x2b6)](_0x45bea3);}[_0x511f53(0x276)](_0x3676d7,_0x1aff59){const _0x407b21=_0x511f53,_0x26fccb=typeof window>'u'?new URL(_0x3676d7):new URL(_0x3676d7,window['location'][_0x407b21(0x222)]);_0x26fccb['searchParams'][_0x407b21(0x3c7)](_0x407b21(0x306),_0x1aff59);const _0x4fed8b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x4fed8b[_0x407b21(0x21f)](_0x407b21(0x2c3))&&_0x26fccb[_0x407b21(0x395)][_0x407b21(0x3c7)]('runId',_0x4fed8b['get']('runId')),_0x26fccb[_0x407b21(0x312)]();}async[_0x511f53(0x213)](){const _0x219f0e=_0x511f53;var _0x498c09,_0x50a1bb,_0xee106b;const _0x493723=this[_0x219f0e(0x336)][_0x219f0e(0x398)](u[_0x219f0e(0x2fa)]),_0x2fa3d5=(_0x498c09=_0x493723==null?void 0x0:_0x493723[_0x219f0e(0x380)])!=null?_0x498c09:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xee106b=(_0x50a1bb=(await this[_0x219f0e(0x2b7)][_0x219f0e(0x21f)](_0x2fa3d5,{'headers':{'Content-Type':_0x219f0e(0x245)}}))[_0x219f0e(0x2c8)])==null?void 0x0:_0x50a1bb['ticket'])!=null?_0xee106b:'';}},exports[_0x511f53(0x3d2)]=ss([H(0x0,a[_0x511f53(0x3be)](a['Injector'])),H(0x1,a['Inject'](G[_0x511f53(0x196)])),H(0x2,a[_0x511f53(0x36d)]),H(0x3,a['ILogService']),H(0x4,m[_0x511f53(0x20a)])],exports[_0x511f53(0x3d2)]);const Me=0x7530,Le=_0x511f53(0x35e);class is extends a[_0x511f53(0x22b)]{constructor(){const _0x21c0c0=_0x511f53;super(),h(this,_0x21c0c0(0x221),a[_0x21c0c0(0x227)]()),h(this,'_selfUnitIDs',new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x21c0c0(0x3e9),null),h(this,_0x21c0c0(0x29c),new Map()),h(this,_0x21c0c0(0x2b8),new Map()),this[_0x21c0c0(0x3e8)]();}[_0x511f53(0x23a)](){const _0x29192b=_0x511f53;super[_0x29192b(0x23a)](),this[_0x29192b(0x29c)][_0x29192b(0x29b)]((_0x193fc6,_0x2f16cc)=>this[_0x29192b(0x1cd)](_0x2f16cc)),this[_0x29192b(0x3e9)]&&window[_0x29192b(0x347)](this[_0x29192b(0x3e9)]);}[_0x511f53(0x3e6)](_0x20a1bf){const _0x1888a0=_0x511f53;return this[_0x1888a0(0x1a4)](_0x20a1bf)[_0x1888a0(0x33d)](d[_0x1888a0(0x3ba)]());}[_0x511f53(0x1b7)](_0x2eff33){const _0x4e15c0=_0x511f53;this[_0x4e15c0(0x3c5)]['size']===0x0&&this[_0x4e15c0(0x20e)](),this[_0x4e15c0(0x3c5)][_0x4e15c0(0x2d4)](_0x2eff33),this[_0x4e15c0(0x3ae)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2eff33],'isForwarded':!0x1});}[_0x511f53(0x293)](_0x6b1e12){const _0x2ec9f1=_0x511f53;this[_0x2ec9f1(0x3c5)][_0x2ec9f1(0x2dc)](_0x6b1e12),this[_0x2ec9f1(0x3c5)][_0x2ec9f1(0x17e)]===0x0&&this[_0x2ec9f1(0x3e9)]&&window['clearInterval'](this[_0x2ec9f1(0x3e9)]);}[_0x511f53(0x3e8)](){const _0x46afa9=_0x511f53;this[_0x46afa9(0x203)](a[_0x46afa9(0x238)](d[_0x46afa9(0x387)](window,'storage')[_0x46afa9(0x2d0)](_0x3f59ef=>{const _0x4ec996=_0x46afa9;if(_0x3f59ef[_0x4ec996(0x40e)]!==Le||!_0x3f59ef['newValue'])return;const _0x14ffaa=JSON['parse'](_0x3f59ef[_0x4ec996(0x3c4)]);this[_0x4ec996(0x1da)](_0x14ffaa);}))),window[_0x46afa9(0x25d)](_0x46afa9(0x26a),()=>this[_0x46afa9(0x3ae)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x46afa9(0x3c5)])}));}[_0x511f53(0x1da)](_0x5451bd){const _0x522062=_0x511f53;switch(_0x5451bd[_0x522062(0x3b2)]){case 0x0:this[_0x522062(0x385)](_0x5451bd);break;case 0x1:this[_0x522062(0x1fe)](_0x5451bd);break;case 0x2:this[_0x522062(0x1ee)](_0x5451bd);break;}}[_0x511f53(0x385)](_0x23994c){const _0x1a1766=_0x511f53,{unitIDs:_0x3b14f6,memberID:_0xd89d64,isForwarded:_0x47ffcc}=_0x23994c;_0x3b14f6[_0x1a1766(0x29b)](_0x338881=>{const _0x53399b=_0x1a1766;if(!_0x47ffcc&&this[_0x53399b(0x268)]['has'](_0x338881)&&this['_ensureSubject'](_0x338881)[_0x53399b(0x262)](u[_0x53399b(0x325)][_0x53399b(0x1a8)]),!this[_0x53399b(0x268)][_0x53399b(0x2bd)](_0x338881)||!this[_0x53399b(0x268)][_0x53399b(0x21f)](_0x338881)[_0x53399b(0x2bd)](_0xd89d64)){const _0x375d34=this['_unitOnClients'][_0x53399b(0x21f)](_0x338881)||new Set();_0x375d34['add'](_0xd89d64),this[_0x53399b(0x268)][_0x53399b(0x3c7)](_0x338881,_0x375d34),this[_0x53399b(0x304)](_0xd89d64);}}),_0x47ffcc||this[_0x1a1766(0x3ae)]({'type':0x0,'memberID':this[_0x1a1766(0x221)],'unitIDs':[...this[_0x1a1766(0x3c5)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x462a87){const _0x11a5c6=_0x511f53;this[_0x11a5c6(0x1cd)](_0x462a87);const _0x5bad95=window[_0x11a5c6(0x1b4)](()=>{const _0x38b595=_0x11a5c6;this[_0x38b595(0x268)][_0x38b595(0x29b)](_0xdff3fa=>{const _0x32a292=_0x38b595;_0xdff3fa[_0x32a292(0x2dc)](_0x462a87);});},Me*0x2);this[_0x11a5c6(0x29c)]['set'](_0x462a87,_0x5bad95);}[_0x511f53(0x1cd)](_0x2e8ee5){const _0x75c1ba=_0x511f53;if(this[_0x75c1ba(0x29c)]['has'](_0x2e8ee5)){const _0x444769=this[_0x75c1ba(0x29c)][_0x75c1ba(0x21f)](_0x2e8ee5);_0x444769&&window['clearTimeout'](_0x444769),this[_0x75c1ba(0x29c)][_0x75c1ba(0x3c7)](_0x2e8ee5,null);}}[_0x511f53(0x1fe)](_0x345131){const _0x4e71e1=_0x511f53,{memberID:_0x46d5ef,unitIDs:_0x318559}=_0x345131;_0x318559['forEach'](_0x1e7f3b=>{const _0x354f1d=_0x543b;var _0x187712;const _0x115436=this[_0x354f1d(0x268)][_0x354f1d(0x21f)](_0x1e7f3b);_0x115436&&(_0x115436[_0x354f1d(0x2dc)](_0x46d5ef),(_0x187712=this[_0x354f1d(0x1a4)](_0x1e7f3b))==null||_0x187712[_0x354f1d(0x262)](_0x115436[_0x354f1d(0x17e)]===0x0?u[_0x354f1d(0x325)][_0x354f1d(0x3f2)]:u['UnitStatus'][_0x354f1d(0x1a8)]));}),this[_0x4e71e1(0x1cd)](_0x46d5ef);}[_0x511f53(0x1ee)](_0x3d5f69){const _0x3c2348=_0x511f53;this[_0x3c2348(0x304)](_0x3d5f69[_0x3c2348(0x2ce)]);}['_send'](_0x434f8d){const _0x1c675=_0x511f53;localStorage['setItem'](Le,JSON[_0x1c675(0x202)](_0x434f8d));}['_scheduleHeartbeat'](){const _0x506583=_0x511f53;this[_0x506583(0x3e9)]=window['setInterval'](()=>{const _0x3639f1=_0x506583;this[_0x3639f1(0x3ae)]({'type':0x2,'memberID':this[_0x3639f1(0x221)]});},Me);}['_ensureSubject'](_0x6a77a7){const _0x378f58=_0x511f53;return this['_unitStatus'][_0x378f58(0x2bd)](_0x6a77a7)||this[_0x378f58(0x2b8)][_0x378f58(0x3c7)](_0x6a77a7,new d[(_0x378f58(0x263))](u[_0x378f58(0x325)][_0x378f58(0x3f2)])),this[_0x378f58(0x2b8)][_0x378f58(0x21f)](_0x6a77a7);}}var je=(_0x203af0=>(_0x203af0[_0x203af0[_0x511f53(0x298)]=0x0]=_0x511f53(0x298),_0x203af0[_0x203af0['OK']=0x1]='OK',_0x203af0[_0x203af0['INTERNAL_ERROR']=0x2]=_0x511f53(0x257),_0x203af0[_0x203af0['PERMISSION_DENIED']=0x3]=_0x511f53(0x2ec),_0x203af0[_0x203af0[_0x511f53(0x1a7)]=0x4]=_0x511f53(0x1a7),_0x203af0[_0x203af0[_0x511f53(0x1eb)]=0x5]=_0x511f53(0x1eb),_0x203af0[_0x203af0['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x203af0[_0x203af0[_0x511f53(0x3ce)]=0x7]=_0x511f53(0x3ce),_0x203af0[_0x203af0[_0x511f53(0x360)]=0x8]='TOO_MANY_REQUESTS',_0x203af0[_0x203af0['COMPLETION_FINISHED']=0x9]=_0x511f53(0x337),_0x203af0[_0x203af0[_0x511f53(0x361)]=0xa]=_0x511f53(0x361),_0x203af0[_0x203af0[_0x511f53(0x37d)]=0xb]=_0x511f53(0x37d),_0x203af0[_0x203af0[_0x511f53(0x1ea)]=0xc]=_0x511f53(0x1ea),_0x203af0[_0x203af0[_0x511f53(0x30f)]=0xd]=_0x511f53(0x30f),_0x203af0[_0x203af0[_0x511f53(0x218)]=0xe]=_0x511f53(0x218),_0x203af0[_0x203af0['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x511f53(0x2be),_0x203af0[_0x203af0[_0x511f53(0x1e7)]=0x1771]=_0x511f53(0x1e7),_0x203af0[_0x203af0['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x511f53(0x3ff),_0x203af0[_0x203af0['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x511f53(0x32b),_0x203af0[_0x203af0[_0x511f53(0x1ca)]=0x1b59]='APPLY_REJECT',_0x203af0[_0x203af0[_0x511f53(0x1ec)]=0x1b5a]=_0x511f53(0x1ec),_0x203af0[_0x203af0[_0x511f53(0x28a)]=0x1b5b]=_0x511f53(0x28a),_0x203af0[_0x203af0['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x203af0[_0x203af0[_0x511f53(0x3f7)]=0x1b5d]=_0x511f53(0x3f7),_0x203af0[_0x203af0[_0x511f53(0x241)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x203af0[_0x203af0[_0x511f53(0x2c6)]=0x2329]=_0x511f53(0x2c6),_0x203af0[_0x203af0[_0x511f53(0x28d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x203af0[_0x203af0[_0x511f53(0x3c1)]=0x232b]=_0x511f53(0x3c1),_0x203af0[_0x203af0[_0x511f53(0x180)]=0x232c]=_0x511f53(0x180),_0x203af0[_0x203af0[_0x511f53(0x17f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x203af0[_0x203af0[_0x511f53(0x264)]=0x2711]=_0x511f53(0x264),_0x203af0[_0x203af0[_0x511f53(0x2dd)]=0x2712]=_0x511f53(0x2dd),_0x203af0[_0x203af0[_0x511f53(0x1e4)]=0x2713]=_0x511f53(0x1e4),_0x203af0[_0x203af0[_0x511f53(0x3a5)]=0x2714]=_0x511f53(0x3a5),_0x203af0[_0x203af0[_0x511f53(0x27f)]=0x271a]=_0x511f53(0x27f),_0x203af0[_0x203af0[_0x511f53(0x2db)]=0x271b]=_0x511f53(0x2db),_0x203af0[_0x203af0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x203af0[_0x203af0[_0x511f53(0x25a)]=0x271d]=_0x511f53(0x25a),_0x203af0[_0x203af0[_0x511f53(0x25f)]=0x271e]=_0x511f53(0x25f),_0x203af0[_0x203af0[_0x511f53(0x1bd)]=0x271f]=_0x511f53(0x1bd),_0x203af0[_0x203af0['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x511f53(0x21e),_0x203af0[_0x203af0['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x203af0[_0x203af0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x511f53(0x333),_0x203af0[_0x203af0[_0x511f53(0x190)]=0x2ee2]='INVALID_INVITE_CODE',_0x203af0[_0x203af0['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x203af0[_0x203af0['USER_NOT_INVITED_CODE']=0x2ee4]=_0x511f53(0x208),_0x203af0[_0x203af0[_0x511f53(0x233)]=0x2ee5]=_0x511f53(0x233),_0x203af0[_0x203af0[_0x511f53(0x348)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x203af0[_0x203af0[_0x511f53(0x40c)]=0x32ca]=_0x511f53(0x40c),_0x203af0[_0x203af0[_0x511f53(0x393)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x203af0[_0x203af0['UNRECOGNIZED']=-0x1]=_0x511f53(0x1de),_0x203af0))(je||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x5a85cd,_0x127a24,_0x138d9c,_0x21246e)=>{for(var _0x39ea3a=_0x21246e>0x1?void 0x0:_0x21246e?ns(_0x127a24,_0x138d9c):_0x127a24,_0x436952=_0x5a85cd['length']-0x1,_0x4655ff;_0x436952>=0x0;_0x436952--)(_0x4655ff=_0x5a85cd[_0x436952])&&(_0x39ea3a=_0x4655ff(_0x39ea3a)||_0x39ea3a);return _0x39ea3a;},ue=(_0x441db7,_0x5b69df)=>(_0x3d77cf,_0x94ae87)=>_0x5b69df(_0x3d77cf,_0x94ae87,_0x441db7);exports[_0x511f53(0x402)]=class extends a[_0x511f53(0x22b)]{constructor(_0x73957b,_0x54091b,_0x701a3b){const _0x4e33c0=_0x511f53;super(),this[_0x4e33c0(0x274)]=_0x73957b,this[_0x4e33c0(0x2b7)]=_0x54091b,this[_0x4e33c0(0x336)]=_0x701a3b;}async[_0x511f53(0x2f7)](_0x267b23,_0x597083,_0x5cf8a1,..._0xbd5d7a){const _0xc2cde4=_0x511f53;var _0x94a902,_0x1dadb5,_0x4e8518,_0x57b0b4;const _0x1702f5=this[_0xc2cde4(0x274)][_0xc2cde4(0x1f1)]();if(!_0x1702f5)throw new Error(_0xc2cde4(0x3b8));const _0x427c25=((_0x94a902=this[_0xc2cde4(0x336)][_0xc2cde4(0x398)](u[_0xc2cde4(0x1ab)]))!=null?_0x94a902:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x267b23+_0xc2cde4(0x22a)+_0x597083,_0x276a44=new URL(window['location']['href']),_0x422bea={'scriptId':_0x267b23,'runId':(_0x1dadb5=_0x276a44[_0xc2cde4(0x395)][_0xc2cde4(0x21f)](_0xc2cde4(0x2c3)))!=null?_0x1dadb5:'','function':_0x597083,'unitId':_0x1702f5[_0xc2cde4(0x22f)](),'argsOfFunction':JSON[_0xc2cde4(0x202)](_0xbd5d7a),'invokeId':(_0x4e8518=_0x5cf8a1[_0xc2cde4(0x18e)])!=null?_0x4e8518:'','executionId':(_0x57b0b4=_0x5cf8a1[_0xc2cde4(0x3f8)])!=null?_0x57b0b4:''};try{const _0x55f302=await this['_httpService']['post'](_0x427c25,{'body':_0x422bea});return _0x55f302[_0xc2cde4(0x2c8)][_0xc2cde4(0x1bc)]&&_0x55f302[_0xc2cde4(0x2c8)][_0xc2cde4(0x1bc)][_0xc2cde4(0x38c)]!==je['OK']?_0xc2cde4(0x1b2):_0x55f302[_0xc2cde4(0x2c8)][_0xc2cde4(0x3ab)];}catch{return'Failed';}}},exports['RemoteUniscriptService']=rs([ue(0x0,a[_0x511f53(0x1be)]),ue(0x1,a['Inject'](G[_0x511f53(0x196)])),ue(0x2,a[_0x511f53(0x36d)])],exports['RemoteUniscriptService']),exports[_0x511f53(0x26f)]=xe,exports[_0x511f53(0x24d)]=Ee,exports[_0x511f53(0x29f)]=we,exports[_0x511f53(0x1b0)]=is,exports[_0x511f53(0x318)]=Be;
1
+ 'use strict';const _0xe865d9=_0x3cdf;(function(_0xc0252c,_0x5eb75d){const _0xe9f964=_0x3cdf,_0x33d8c4=_0xc0252c();while(!![]){try{const _0x4d61da=parseInt(_0xe9f964(0x35b))/0x1*(-parseInt(_0xe9f964(0x1bc))/0x2)+parseInt(_0xe9f964(0x2ee))/0x3+parseInt(_0xe9f964(0x2ec))/0x4+parseInt(_0xe9f964(0x25d))/0x5*(-parseInt(_0xe9f964(0x123))/0x6)+-parseInt(_0xe9f964(0x1c7))/0x7*(-parseInt(_0xe9f964(0xf9))/0x8)+parseInt(_0xe9f964(0x29d))/0x9*(parseInt(_0xe9f964(0x21c))/0xa)+-parseInt(_0xe9f964(0x23c))/0xb*(parseInt(_0xe9f964(0xf6))/0xc);if(_0x4d61da===_0x5eb75d)break;else _0x33d8c4['push'](_0x33d8c4['shift']());}catch(_0x46b28b){_0x33d8c4['push'](_0x33d8c4['shift']());}}}(_0x3a4a,0x75c5f));var Ve=Object[_0xe865d9(0x307)],Xe=(_0xf8b1b2,_0x196baf,_0x29f70d)=>_0x196baf in _0xf8b1b2?Ve(_0xf8b1b2,_0x196baf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29f70d}):_0xf8b1b2[_0x196baf]=_0x29f70d,h=(_0x17aa9f,_0x1b9f85,_0x3facf3)=>Xe(_0x17aa9f,typeof _0x1b9f85!=_0xe865d9(0x2dc)?_0x1b9f85+'':_0x1b9f85,_0x3facf3);Object[_0xe865d9(0x307)](exports,Symbol[_0xe865d9(0x1d9)],{'value':_0xe865d9(0x2b1)});const u=require('@univerjs-pro/collaboration-client'),a=require(_0xe865d9(0x2af)),p=require(_0xe865d9(0x154)),G=require(_0xe865d9(0x336)),E=require(_0xe865d9(0x2ab)),Ge=require('@univerjs/drawing'),d=require(_0xe865d9(0x1c2)),m=require(_0xe865d9(0x2e2)),Y=require(_0xe865d9(0x21f)),be=require(_0xe865d9(0x38a)),g=require(_0xe865d9(0x1a0)),$=require('rxjs/operators'),X=require('@univerjs/sheets-ui'),P=require(_0xe865d9(0x341)),O=require(_0xe865d9(0x31d)),D=require(_0xe865d9(0x315)),M=require('react'),Ke=require(_0xe865d9(0x1e1));var qe=Object[_0xe865d9(0x16f)],ze=(_0x3cdbfe,_0x4bc04d,_0x546ace,_0x52530e)=>{const _0xd1ef22=_0xe865d9;for(var _0x444885=_0x52530e>0x1?void 0x0:_0x52530e?qe(_0x4bc04d,_0x546ace):_0x4bc04d,_0x4bfad3=_0x3cdbfe[_0xd1ef22(0x314)]-0x1,_0x3b2a8d;_0x4bfad3>=0x0;_0x4bfad3--)(_0x3b2a8d=_0x3cdbfe[_0x4bfad3])&&(_0x444885=_0x3b2a8d(_0x444885)||_0x444885);return _0x444885;},Oe=(_0x1a4bdc,_0x4d78fe)=>(_0x190b8c,_0xf75c44)=>_0x4d78fe(_0x190b8c,_0xf75c44,_0x1a4bdc);let de=class extends a[_0xe865d9(0x24f)]{constructor(_0x1891bd,_0x1722cf){const _0xb0333f=_0xe865d9;super(),this[_0xb0333f(0x1f3)]=_0x1891bd,this['_imageIoService']=_0x1722cf,this[_0xb0333f(0x2a0)]();}[_0xe865d9(0x2a0)](){const _0x5eb570=_0xe865d9,_0x2bc337=this;this[_0x5eb570(0x11c)](this[_0x5eb570(0x1f3)][_0x5eb570(0x181)]({'onBeforePasteImage':async _0x4c63d2=>{const _0x52c417=_0x5eb570,_0x502ccf=await _0x2bc337[_0x52c417(0x208)][_0x52c417(0x1fa)](_0x4c63d2);return _0x502ccf?{'source':_0x502ccf[_0x52c417(0x298)],'imageSourceType':_0x502ccf[_0x52c417(0x289)]}:null;}}));}};de=ze([Oe(0x0,E[_0xe865d9(0x1dc)]),Oe(0x1,Ge[_0xe865d9(0x302)])],de);const Te=['purple.300','jiqing.500',_0xe865d9(0x149),_0xe865d9(0x328),_0xe865d9(0x236),_0xe865d9(0x312)];class me extends a[_0xe865d9(0x36c)]{constructor(){super(...arguments),h(this,'_assignedColors',new Map()),h(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x2c6a5e){const _0x1892f3=_0xe865d9;if(this[_0x1892f3(0x21b)][_0x1892f3(0x12e)](_0x2c6a5e))return this[_0x1892f3(0x21b)][_0x1892f3(0x1df)](_0x2c6a5e);const _0x5b1c3b=Te[this['_colorIndex']];return this[_0x1892f3(0x130)]=(this['_colorIndex']+0x1)%Te[_0x1892f3(0x314)],this[_0x1892f3(0x21b)][_0x1892f3(0x1c4)](_0x2c6a5e,_0x5b1c3b),_0x5b1c3b;}}function Pe(_0x4040bb){const _0xf48d05=_0xe865d9;let _0x3bfa3a='';for(const _0x148164 of _0x4040bb){const {startOffset:_0x548fc4,endOffset:_0xe961a1,isActive:_0x401fe4,rangeType:_0x2bed1b,segmentId:_0x37bbc0,segmentPage:_0x12731d}=_0x148164;_0x3bfa3a[_0xf48d05(0x314)]&&(_0x3bfa3a+=','),_0x3bfa3a+=_0x548fc4+':'+_0xe961a1+':'+(_0x401fe4?'1':'0')+':'+_0x2bed1b+':'+_0x37bbc0+':'+_0x12731d;}return _0x3bfa3a;}function Je(_0xdacfbb){const _0x3b2471=_0xe865d9,_0x2a4f2d=_0xdacfbb[_0x3b2471(0x2fc)](','),_0x5778bc=[];for(const _0x39d4d2 of _0x2a4f2d){const [_0x1c5e6c,_0x4fea14,_0x354a54,_0x33ff49,_0x5dca20,_0xbeed8b]=_0x39d4d2[_0x3b2471(0x2fc)](':');_0x5778bc[_0x3b2471(0x244)]({'startOffset':Number(_0x1c5e6c),'endOffset':Number(_0x4fea14),'collapsed':_0x1c5e6c===_0x4fea14,'isActive':_0x354a54==='1','rangeType':_0x33ff49===a['DOC_RANGE_TYPE'][_0x3b2471(0x2fe)]?a[_0x3b2471(0x331)][_0x3b2471(0x2fe)]:a[_0x3b2471(0x331)][_0x3b2471(0x109)],'segmentId':typeof _0x5dca20==_0x3b2471(0x290)?String(_0x5dca20):'','segmentPage':Number(_0xbeed8b!=null?_0xbeed8b:-0x1)});}return _0x5778bc[_0x3b2471(0x16b)](_0x2d82ae=>_0x2d82ae[_0x3b2471(0x1b6)])||(_0x5778bc[0x0][_0x3b2471(0x1b6)]=!0x0),_0x5778bc;}class Ce extends a[_0xe865d9(0x24f)]{constructor(){const _0x380987=_0xe865d9;super(...arguments),h(this,'_collabCursorState$',new d['BehaviorSubject'](null)),h(this,_0x380987(0x205),this[_0x380987(0x15b)][_0x380987(0x2f0)]());}[_0xe865d9(0x131)](_0x148187){const _0x15a572=_0xe865d9,{unitID:_0x302512,memberID:_0xa5b1c7,textRanges:_0x73f18d}=_0x148187,_0x5385a1=Pe(_0x73f18d);if(_0x5385a1==='')return;const _0x472892={'unitID':_0x302512,'memberID':_0xa5b1c7,'selection':_0x5385a1};this['_collabCursorState$'][_0x15a572(0x29b)](_0x472892);}}var Ze=Object[_0xe865d9(0x16f)],Qe=(_0x4cdb94,_0x4da394,_0x15a738,_0x561c3d)=>{const _0x4bacbb=_0xe865d9;for(var _0x581ca5=_0x561c3d>0x1?void 0x0:_0x561c3d?Ze(_0x4da394,_0x15a738):_0x4da394,_0x56b090=_0x4cdb94[_0x4bacbb(0x314)]-0x1,_0x1835cb;_0x56b090>=0x0;_0x56b090--)(_0x1835cb=_0x4cdb94[_0x56b090])&&(_0x581ca5=_0x1835cb(_0x581ca5)||_0x581ca5);return _0x581ca5;},L=(_0x464705,_0x39bcb7)=>(_0x217b5c,_0x542ca8)=>_0x39bcb7(_0x217b5c,_0x542ca8,_0x464705);const et=0x12c,tt=0x64;let Ie=class extends a[_0xe865d9(0x24f)]{constructor(_0x1a607e,_0x2ccfd1,_0x200123,_0x4cf95,_0x2a035d,_0x23cdc4,_0x5d275c,_0x19df88,_0x26d0da){const _0x58a3bc=_0xe865d9;super(),h(this,_0x58a3bc(0x256),!0x1),h(this,_0x58a3bc(0x2a0),!0x1),h(this,_0x58a3bc(0x233),new d[(_0x58a3bc(0x273))](new Map())),h(this,_0x58a3bc(0x14a),this[_0x58a3bc(0x233)]['asObservable']()),h(this,_0x58a3bc(0x2ea),new d['BehaviorSubject']([])),h(this,_0x58a3bc(0x24c),this[_0x58a3bc(0x2ea)][_0x58a3bc(0x333)](d['debounceTime'](et))),h(this,_0x58a3bc(0x186),a[_0x58a3bc(0x121)](_0x23fe84=>{const _0x5a8d1c=_0x58a3bc,_0x4147bd={'eventID':m[_0x5a8d1c(0x13e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5a8d1c(0x38f)],'memberID':this[_0x5a8d1c(0x31a)]['getMemberID'](),'selection':Pe(_0x23fe84)}};this[_0x5a8d1c(0x31a)][_0x5a8d1c(0x2eb)](_0x4147bd,this[_0x5a8d1c(0x38f)]);},tt)),(this[_0x58a3bc(0x38f)]=_0x1a607e,this['_session']=_0x2ccfd1,this[_0x58a3bc(0x280)]=_0x200123,this[_0x58a3bc(0x157)]=_0x4cf95,this[_0x58a3bc(0x1fc)]=_0x2a035d,this[_0x58a3bc(0x2fb)]=_0x23cdc4,this[_0x58a3bc(0x277)]=_0x5d275c,this['_univerInstanceService']=_0x19df88,this['_commandService']=_0x26d0da);}get[_0xe865d9(0x2e9)](){const _0x4218d8=_0xe865d9;return this[_0x4218d8(0x233)][_0x4218d8(0x2c5)]();}get[_0xe865d9(0x326)](){const _0x2d291b=_0xe865d9;return this[_0x2d291b(0x2ea)]['getValue']();}[_0xe865d9(0x370)](){const _0x4e83fb=_0xe865d9;super[_0x4e83fb(0x370)](),this[_0x4e83fb(0x233)][_0x4e83fb(0x29b)](new Map()),this[_0x4e83fb(0x233)][_0x4e83fb(0x2a5)](),this[_0x4e83fb(0x2ea)][_0x4e83fb(0x29b)]([]),this[_0x4e83fb(0x2ea)][_0x4e83fb(0x2a5)]();}[_0xe865d9(0x1ce)](){const _0x5a5901=_0xe865d9;this[_0x5a5901(0x2a0)]||(this[_0x5a5901(0x2a0)]=!0x0,this['_session'][_0x5a5901(0x18d)]['pipe'](d[_0x5a5901(0x17f)](this[_0x5a5901(0x2b8)]))[_0x5a5901(0x309)](_0x96cd2a=>{const _0x3a9bb3=_0x5a5901;_0x96cd2a===u[_0x3a9bb3(0xfe)][_0x3a9bb3(0x355)]?this[_0x3a9bb3(0x268)]():this[_0x3a9bb3(0x16d)]();}),this[_0x5a5901(0x31a)][_0x5a5901(0x2f4)]['pipe'](d[_0x5a5901(0x17f)](this[_0x5a5901(0x2b8)]))[_0x5a5901(0x309)](_0x2c82f8=>{const _0x4462be=_0x5a5901,_0x2eef1e=_0x2c82f8[_0x4462be(0x180)];_0x2eef1e===m[_0x4462be(0x13e)][_0x4462be(0x17b)]&&this[_0x4462be(0x32f)](_0x2c82f8),_0x2eef1e===m[_0x4462be(0x13e)][_0x4462be(0x165)]&&this[_0x4462be(0x2f8)](_0x2c82f8);}),this[_0x5a5901(0x11c)](this[_0x5a5901(0x100)][_0x5a5901(0x214)](_0x254326=>{const _0x13e7c5=_0x5a5901,_0x4cbb9d=_0x254326[_0x13e7c5(0x18f)];_0x4cbb9d!=null&&this[_0x13e7c5(0x256)]&&_0x254326['id']===Y[_0x13e7c5(0x1f1)]['id']&&_0x4cbb9d[_0x13e7c5(0x251)]===this[_0x13e7c5(0x38f)]&&_0x4cbb9d[_0x13e7c5(0x362)]===!0x1&&_0x4cbb9d[_0x13e7c5(0x385)]['length']>0x0&&this[_0x13e7c5(0x186)](_0x4cbb9d[_0x13e7c5(0x385)]);})),this[_0x5a5901(0x2fb)][_0x5a5901(0x205)][_0x5a5901(0x333)](d['takeUntil'](this[_0x5a5901(0x2b8)]))[_0x5a5901(0x309)](_0x4ffeb8=>{const _0x13c07b=_0x5a5901;if((_0x4ffeb8==null?void 0x0:_0x4ffeb8['unitID'])!==this['unitID'])return;const _0x351cdf={'eventID':m[_0x13c07b(0x13e)][_0x13c07b(0x17b)],'data':_0x4ffeb8};this[_0x13c07b(0x32f)](_0x351cdf);}),this[_0x5a5901(0x11c)](this['_commandService'][_0x5a5901(0x214)](_0x3a34a3=>{const _0x120c14=_0x5a5901;if(_0x3a34a3[_0x120c14(0x18f)]==null)return;const _0x1c2db3=_0x3a34a3['params'];if(_0x3a34a3['id']!==Y[_0x120c14(0x1d7)]['id']||_0x1c2db3[_0x120c14(0x251)]!==this[_0x120c14(0x38f)])return;const _0x53efea={'id':_0x120c14(0x1a3),'params':_0x1c2db3},_0x164cb3=this[_0x120c14(0x2e9)];for(const [_0xed1f00,_0x46c26f]of _0x164cb3){const _0x57bf20={'id':_0x120c14(0x1a3),'params':{'unitId':this[_0x120c14(0x38f)],'actions':null,'textRanges':_0x46c26f[_0x120c14(0x385)]}},_0x479592=this[_0x120c14(0x277)]['transformMutation'](_0x53efea,_0x57bf20,!0x1);if(m['isTransformMutationFailure'](_0x479592))throw _0x479592[_0x120c14(0x2a7)];_0x164cb3[_0x120c14(0x1c4)](_0xed1f00,{..._0x46c26f,'ranges':_0x479592[_0x120c14(0x160)]['params'][_0x120c14(0x1b9)]});}queueMicrotask(()=>{const _0x3e16d9=_0x120c14;this[_0x3e16d9(0x233)][_0x3e16d9(0x29b)](_0x164cb3);});})));}['_onCursorUpdate'](_0x250c7c){const _0x4a0100=_0xe865d9;var _0x4e619b,_0x1197b4;const {memberID:_0xb986db,selection:_0x26476b}=_0x250c7c[_0x4a0100(0xfd)],_0x2a3568=Je(_0x26476b),_0x17a4fd=(_0x1197b4=(_0x4e619b=this[_0x4a0100(0x1fc)][_0x4a0100(0x2c7)](this['unitID'],_0xb986db))==null?void 0x0:_0x4e619b[_0x4a0100(0x297)])!=null?_0x1197b4:'Unknown\x20user',_0x2d211e={'color':this[_0x4a0100(0x157)][_0x4a0100(0x12d)](_0xb986db),'name':_0x17a4fd,'ranges':_0x2a3568},_0x3b354a=this['cursorInfo'];_0x3b354a[_0x4a0100(0x1c4)](_0xb986db,_0x2d211e),this['_cursorInfo$'][_0x4a0100(0x29b)](_0x3b354a);}[_0xe865d9(0x2f8)](_0x4fbe0c){const _0x15d083=_0xe865d9,{memberID:_0x4037e9}=_0x4fbe0c[_0x15d083(0xfd)],_0x1ac062=this[_0x15d083(0x2e9)];_0x1ac062[_0x15d083(0x361)](_0x4037e9),this[_0x15d083(0x233)][_0x15d083(0x29b)](_0x1ac062);}['_toggleOnline'](){const _0x4b5dc4=_0xe865d9;var _0x1c6ac2;if(this[_0x4b5dc4(0x256)]=!0x0,((_0x1c6ac2=this[_0x4b5dc4(0x390)]['getFocusedUnit']())==null?void 0x0:_0x1c6ac2['getUnitId']())!==this[_0x4b5dc4(0x38f)])return;const _0x1a33d0=this[_0x4b5dc4(0x280)]['get'](Y[_0x4b5dc4(0x161)])[_0x4b5dc4(0x203)]();Array['isArray'](_0x1a33d0)&&_0x1a33d0[_0x4b5dc4(0x314)]>0x0&&this[_0x4b5dc4(0x186)](_0x1a33d0);}['_toggleOffline'](){const _0x21287c=_0xe865d9;this[_0x21287c(0x256)]=!0x1;}};Ie=Qe([L(0x2,a[_0xe865d9(0x2d0)](a['Injector'])),L(0x3,a[_0xe865d9(0x2d0)](me)),L(0x4,a['Inject'](u[_0xe865d9(0x313)])),L(0x5,a[_0xe865d9(0x2d0)](Ce)),L(0x6,m[_0xe865d9(0x11b)]),L(0x7,a[_0xe865d9(0x183)]),L(0x8,a['ICommandService'])],Ie);var st=Object[_0xe865d9(0x16f)],it=(_0x46e63a,_0x157e72,_0x20b2f0,_0x255eef)=>{const _0x391f6e=_0xe865d9;for(var _0x187b26=_0x255eef>0x1?void 0x0:_0x255eef?st(_0x157e72,_0x20b2f0):_0x157e72,_0x22af88=_0x46e63a[_0x391f6e(0x314)]-0x1,_0x580038;_0x22af88>=0x0;_0x22af88--)(_0x580038=_0x46e63a[_0x22af88])&&(_0x187b26=_0x580038(_0x187b26)||_0x187b26);return _0x187b26;},A=(_0x8f16f,_0x4e890a)=>(_0x5482b6,_0xcf6bfc)=>_0x4e890a(_0x5482b6,_0xcf6bfc,_0x8f16f);const nt=0x12c,rt=0x64,ot=()=>{let _0x1e8199=[],_0x43601b=!0x1;return _0x33785b=>{const _0x3cb713=_0x3cdf;_0x1e8199[_0x3cb713(0x244)](_0x33785b),_0x43601b||(_0x43601b=!0x0,setTimeout(()=>{_0x1e8199['forEach'](_0x331642=>_0x331642()),_0x1e8199=[],_0x43601b=!0x1;}));};};let Se=class extends a[_0xe865d9(0x24f)]{constructor(_0x29ed1a,_0x31dad2,_0x48f95b,_0x1cad0a,_0x5e2de5,_0x3894dd,_0x79feef,_0x416344){const _0xd39f5d=_0xe865d9;super(),h(this,_0xd39f5d(0x256),!0x1),h(this,_0xd39f5d(0x2a0),!0x1),h(this,_0xd39f5d(0x233),new d[(_0xd39f5d(0x273))](new Map())),h(this,_0xd39f5d(0x14a),this[_0xd39f5d(0x233)][_0xd39f5d(0x2f0)]()),h(this,_0xd39f5d(0x2ea),new d[(_0xd39f5d(0x273))]([])),h(this,_0xd39f5d(0x24c),this[_0xd39f5d(0x2ea)]['pipe'](d[_0xd39f5d(0x169)](nt))),h(this,_0xd39f5d(0x186),a['debounce']((_0x5952d3,_0x1dc7ca)=>{const _0x449973=_0xd39f5d,_0x5cf719={'eventID':m[_0x449973(0x13e)][_0x449973(0x17b)],'data':{'unitID':this[_0x449973(0x38f)],'memberID':this[_0x449973(0x31a)][_0x449973(0x2ad)](),'selection':be[_0x449973(0x2a6)](_0x5952d3,_0x1dc7ca[_0x449973(0xfb)])}};this['_session']['send'](_0x5cf719,this['unitID']);},rt)),(this[_0xd39f5d(0x38f)]=_0x29ed1a,this['_session']=_0x31dad2,this[_0xd39f5d(0x280)]=_0x48f95b,this[_0xd39f5d(0x157)]=_0x1cad0a,this[_0xd39f5d(0x1fc)]=_0x5e2de5,this['_univerInstanceService']=_0x3894dd,this['_commandService']=_0x79feef,this['_refRangeService']=_0x416344);}get[_0xe865d9(0x2e9)](){const _0x3ceaf5=_0xe865d9;return this[_0x3ceaf5(0x233)][_0x3ceaf5(0x2c5)]();}get[_0xe865d9(0x326)](){return this['_roomMembers$']['getValue']();}[_0xe865d9(0x370)](){const _0x3bd1cc=_0xe865d9;super[_0x3bd1cc(0x370)](),this[_0x3bd1cc(0x233)]['next'](new Map()),this[_0x3bd1cc(0x233)][_0x3bd1cc(0x2a5)](),this[_0x3bd1cc(0x2ea)]['next']([]),this[_0x3bd1cc(0x2ea)]['complete']();}['init'](){const _0xf359f=_0xe865d9;this[_0xf359f(0x2a0)]||(this[_0xf359f(0x2a0)]=!0x0,this['_session'][_0xf359f(0x18d)]['pipe'](d[_0xf359f(0x17f)](this[_0xf359f(0x2b8)]))['subscribe'](_0x219aeb=>{const _0x41db1d=_0xf359f;_0x219aeb===u[_0x41db1d(0xfe)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xf359f(0x31a)][_0xf359f(0x2f4)][_0xf359f(0x333)](d['takeUntil'](this[_0xf359f(0x2b8)]))[_0xf359f(0x309)](_0x16a2a2=>{const _0x8f324d=_0xf359f,_0x5bc332=_0x16a2a2[_0x8f324d(0x180)];_0x5bc332===m[_0x8f324d(0x13e)][_0x8f324d(0x17b)]&&this['_onCursorUpdate'](_0x16a2a2),_0x5bc332===m[_0x8f324d(0x13e)]['USERS_LEAVE']&&this[_0x8f324d(0x2f8)](_0x16a2a2);}),this[_0xf359f(0x2c4)](),this[_0xf359f(0x11c)](this[_0xf359f(0x100)][_0xf359f(0x214)](_0x100b60=>{const _0x5421c9=_0xf359f;if(this[_0x5421c9(0x256)]&&_0x100b60['id']===g[_0x5421c9(0x1a4)]['id']&&_0x100b60[_0x5421c9(0x18f)][_0x5421c9(0x251)]===this[_0x5421c9(0x38f)]){const _0x1cefd3=_0x100b60[_0x5421c9(0x18f)];this['_updateLocalCursor'](_0x1cefd3['subUnitId'],_0x1cefd3['selections'][0x0]);}})));}[_0xe865d9(0x32f)](_0xcb3cab){const _0x33faaa=_0xe865d9;var _0x11af4f,_0x1974d0;const {memberID:_0x11339e,selection:_0x1910a2}=_0xcb3cab[_0x33faaa(0xfd)],{sheetName:_0x203072,range:_0x11ccea}=be[_0x33faaa(0x369)](_0x1910a2),_0xad19d6={'name':(_0x1974d0=(_0x11af4f=this[_0x33faaa(0x1fc)][_0x33faaa(0x2c7)](this['unitID'],_0x11339e))==null?void 0x0:_0x11af4f[_0x33faaa(0x297)])!=null?_0x1974d0:_0x33faaa(0x304),'range':this['_getMergeRange'](_0x203072,_0x11ccea),'sheetID':_0x203072,'color':this[_0x33faaa(0x157)][_0x33faaa(0x12d)](_0x11339e),'selection':_0x1910a2},_0x42c843=this[_0x33faaa(0x2e9)];_0x42c843[_0x33faaa(0x1c4)](_0x11339e,_0xad19d6),this[_0x33faaa(0x233)][_0x33faaa(0x29b)](_0x42c843);}['_onCursorDelete'](_0x23b57b){const _0xa1289d=_0xe865d9,{memberID:_0x59ab94}=_0x23b57b[_0xa1289d(0xfd)],_0x414815=this[_0xa1289d(0x2e9)];_0x414815[_0xa1289d(0x361)](_0x59ab94),this[_0xa1289d(0x233)][_0xa1289d(0x29b)](_0x414815);}[_0xe865d9(0x377)](_0x96b241,_0x3621b8){const _0x406f45=_0xe865d9;var _0x45220a,_0x30c0c9;const _0x1903aa=(_0x30c0c9=(_0x45220a=this['_univerInstanceService'][_0x406f45(0x2a9)](this[_0x406f45(0x38f)]))==null?void 0x0:_0x45220a[_0x406f45(0x391)](_0x96b241))==null?void 0x0:_0x30c0c9[_0x406f45(0x250)]();return(_0x1903aa==null?void 0x0:_0x1903aa[_0x406f45(0x135)](_0x14014d=>a[_0x406f45(0x114)][_0x406f45(0x261)](_0x14014d,_0x3621b8)))||_0x3621b8;}[_0xe865d9(0x2c4)](){const _0x48af2e=_0xe865d9,_0x51fab5=new a[(_0x48af2e(0x2f3))](),_0x40dd82=ot(),_0x396246=()=>{const _0x45006d=_0x48af2e;_0x51fab5['dispose']();const _0x43821b=(_0x35e856,_0xb2d89a,_0x24ca17,_0x377193)=>{const _0x2fa9b5=_0x3cdf;let _0x5a4d1a=[];switch(_0x35e856['id']){case g[_0x2fa9b5(0x17c)][_0x2fa9b5(0x2f2)]:{_0x5a4d1a=g[_0x2fa9b5(0x257)](_0x35e856,_0x377193);break;}case g['EffectRefRangId'][_0x2fa9b5(0x113)]:{_0x5a4d1a=g[_0x2fa9b5(0x1cc)](_0x35e856,_0x377193);break;}case g[_0x2fa9b5(0x17c)]['InsertColCommandId']:{_0x5a4d1a=g[_0x2fa9b5(0x29c)](_0x35e856,_0x377193);break;}case g[_0x2fa9b5(0x17c)][_0x2fa9b5(0x33f)]:{_0x5a4d1a=g[_0x2fa9b5(0x2db)](_0x35e856,_0x377193);break;}case g[_0x2fa9b5(0x17c)][_0x2fa9b5(0x193)]:{_0x5a4d1a=g['handleInsertRangeMoveRight'](_0x35e856,_0x377193);break;}case g[_0x2fa9b5(0x17c)][_0x2fa9b5(0x2e7)]:{_0x5a4d1a=g[_0x2fa9b5(0x145)](_0x35e856,_0x377193);break;}case g[_0x2fa9b5(0x17c)][_0x2fa9b5(0x1b8)]:{_0x5a4d1a=g[_0x2fa9b5(0x2b7)](_0x35e856,_0x377193);break;}case g[_0x2fa9b5(0x17c)][_0x2fa9b5(0x320)]:{_0x5a4d1a=g[_0x2fa9b5(0x2f7)](_0x35e856,_0x377193);break;}case g[_0x2fa9b5(0x17c)][_0x2fa9b5(0x35c)]:{_0x5a4d1a=g[_0x2fa9b5(0x22c)](_0x35e856,_0x377193);break;}}const _0x216840=g[_0x2fa9b5(0x37f)](_0x5a4d1a,_0x377193),_0x45f8e0=this['cursorInfo']['get'](_0xb2d89a);if(_0x45f8e0&&_0x216840){const _0xa93de2={..._0x45f8e0,'range':_0x216840};this[_0x2fa9b5(0x2e9)][_0x2fa9b5(0x1c4)](_0xb2d89a,_0xa93de2),_0x40dd82(()=>{const _0x2d97bc=_0x2fa9b5,_0x1da5fc=this[_0x2d97bc(0x17d)][_0x2d97bc(0x294)](_0x216840,_0x4a2e8a=>(_0x1da5fc[_0x2d97bc(0x370)](),_0x43821b(_0x4a2e8a,_0xb2d89a,_0x24ca17,_0x216840)));_0x51fab5[_0x2d97bc(0x20a)](_0x1da5fc);});}return{'redos':[],'undos':[]};};this[_0x45006d(0x2e9)][_0x45006d(0x284)]((_0x56e2fc,_0x191569)=>{const _0xda9257=_0x45006d,{range:_0x26745e,sheetID:_0x2e5424}=_0x56e2fc,_0x2776d6=this['_refRangeService'][_0xda9257(0x294)](_0x26745e,_0x5bb73a=>(_0x2776d6['dispose'](),_0x43821b(_0x5bb73a,_0x191569,_0x2e5424,_0x26745e)));_0x51fab5[_0xda9257(0x20a)](_0x2776d6);});};this['disposeWithMe'](a[_0x48af2e(0x335)](this[_0x48af2e(0x233)][_0x48af2e(0x309)](()=>{_0x396246();})));}[_0xe865d9(0x268)](){const _0x466d6c=_0xe865d9;var _0x2be037,_0x3067b4;if(this[_0x466d6c(0x256)]=!0x0,((_0x2be037=this[_0x466d6c(0x390)][_0x466d6c(0x25b)]())==null?void 0x0:_0x2be037[_0x466d6c(0x2c9)]())!==this[_0x466d6c(0x38f)])return;const _0x2346ea=(_0x3067b4=this[_0x466d6c(0x280)][_0x466d6c(0x1df)](g[_0x466d6c(0x1a7)])[_0x466d6c(0x300)]())==null?void 0x0:_0x3067b4[0x0],_0x55220d=this[_0x466d6c(0x390)][_0x466d6c(0x1ea)](a['UniverInstanceType'][_0x466d6c(0x1f9)])[_0x466d6c(0x36a)]();_0x2346ea&&_0x55220d&&this['_updateLocalCursor'](_0x55220d[_0x466d6c(0x397)](),_0x2346ea);}[_0xe865d9(0x16d)](){this['_online']=!0x1;}};Se=it([A(0x2,a[_0xe865d9(0x2d0)](a[_0xe865d9(0x33d)])),A(0x3,a['Inject'](me)),A(0x4,a[_0xe865d9(0x2d0)](u['MemberService'])),A(0x5,a['IUniverInstanceService']),A(0x6,a['ICommandService']),A(0x7,a[_0xe865d9(0x2d0)](g[_0xe865d9(0x1fd)]))],Se);var at=Object[_0xe865d9(0x16f)],ct=(_0x200a58,_0x1716db,_0x4e7b3d,_0x277986)=>{const _0x1e4748=_0xe865d9;for(var _0x3c92c7=_0x277986>0x1?void 0x0:_0x277986?at(_0x1716db,_0x4e7b3d):_0x1716db,_0x374d26=_0x200a58[_0x1e4748(0x314)]-0x1,_0x583c72;_0x374d26>=0x0;_0x374d26--)(_0x583c72=_0x200a58[_0x374d26])&&(_0x3c92c7=_0x583c72(_0x3c92c7)||_0x3c92c7);return _0x3c92c7;},ie=(_0x28fa6f,_0x101770)=>(_0x2ee06f,_0x37a2f0)=>_0x101770(_0x2ee06f,_0x37a2f0,_0x28fa6f);let x=class extends a[_0xe865d9(0x24f)]{constructor(_0xc54763,_0x564bc2,_0x4389f0){const _0x32bd08=_0xe865d9;super(),h(this,'_entities',new Map()),h(this,_0x32bd08(0x36b),new d[(_0x32bd08(0x1d6))]()),(this[_0x32bd08(0x390)]=_0xc54763,this['_injector']=_0x564bc2,this[_0x32bd08(0x32a)]=_0x4389f0,this[_0x32bd08(0x2a0)]());}['dispose'](){const _0x5eda2c=_0xe865d9;super['dispose'](),this['_entityInit$'][_0x5eda2c(0x2a5)](),this[_0x5eda2c(0x2d3)][_0x5eda2c(0x284)](_0x575c5d=>_0x575c5d[_0x5eda2c(0x370)]());}[_0xe865d9(0x2c0)](_0x48581d){const _0x10f555=_0xe865d9;return this['_entities'][_0x10f555(0x12e)](_0x48581d)?this['_entities'][_0x10f555(0x1df)](_0x48581d)[_0x10f555(0x14a)]:this['_entityInit$'][_0x10f555(0x333)](d[_0x10f555(0x138)](_0x1653b2=>_0x1653b2['unitID']===_0x48581d),d['switchMap'](_0x2cf522=>_0x2cf522[_0x10f555(0x14a)]));}[_0xe865d9(0x2a0)](){const _0x16f600=_0xe865d9;this[_0x16f600(0x390)][_0x16f600(0x170)](a[_0x16f600(0x13b)][_0x16f600(0x1f9)])[_0x16f600(0x333)](d[_0x16f600(0x17f)](this[_0x16f600(0x2b8)]))[_0x16f600(0x309)](async _0x4b50d9=>{const _0x4dde6c=_0x16f600,_0x3aeec0=_0x4b50d9[_0x4dde6c(0x2c9)](),_0x133236=await this[_0x4dde6c(0x32e)](_0x3aeec0);this[_0x4dde6c(0x36b)][_0x4dde6c(0x29b)](_0x133236),this[_0x4dde6c(0x2d3)][_0x4dde6c(0x1c4)](_0x3aeec0,_0x133236);}),this['_univerInstanceService'][_0x16f600(0x170)](a[_0x16f600(0x13b)][_0x16f600(0x150)])[_0x16f600(0x333)](d[_0x16f600(0x17f)](this[_0x16f600(0x2b8)]))[_0x16f600(0x333)](d[_0x16f600(0x138)](_0x1879da=>!_0x1879da['getUnitId']()['startsWith']('__')))[_0x16f600(0x309)](async _0x522d58=>{const _0xc8f9de=_0x16f600,_0xad4dfe=_0x522d58[_0xc8f9de(0x2c9)](),_0x455e80=await this[_0xc8f9de(0x344)](_0xad4dfe);this['_entityInit$'][_0xc8f9de(0x29b)](_0x455e80),this[_0xc8f9de(0x2d3)][_0xc8f9de(0x1c4)](_0xad4dfe,_0x455e80);}),d[_0x16f600(0x2f5)](this[_0x16f600(0x390)][_0x16f600(0x2e5)](a[_0x16f600(0x13b)][_0x16f600(0x150)]),this[_0x16f600(0x390)][_0x16f600(0x2e5)](a[_0x16f600(0x13b)][_0x16f600(0x1f9)]))[_0x16f600(0x333)](d['takeUntil'](this[_0x16f600(0x2b8)]))[_0x16f600(0x309)](_0x51fb2f=>{const _0x545d4c=_0x16f600,_0x2a8791=_0x51fb2f['getUnitId'](),_0xb475d9=this[_0x545d4c(0x2d3)]['get'](_0x2a8791);_0xb475d9&&(_0xb475d9[_0x545d4c(0x370)](),this[_0x545d4c(0x2d3)][_0x545d4c(0x361)](_0x2a8791));});}async['_startSheetCollabCursor'](_0x1977c1){const _0x32a804=_0xe865d9,_0x1a51c0=await this[_0x32a804(0x32a)][_0x32a804(0x327)](_0x1977c1),_0x34f7fe=this[_0x32a804(0x280)]['createInstance'](Se,_0x1977c1,_0x1a51c0);return _0x34f7fe[_0x32a804(0x1ce)](),_0x34f7fe;}async[_0xe865d9(0x344)](_0x4ec4d6){const _0x8da75a=_0xe865d9,_0x554fc1=await this[_0x8da75a(0x32a)]['requireSession'](_0x4ec4d6),_0x5e7ed4=this[_0x8da75a(0x280)][_0x8da75a(0x1be)](Ie,_0x4ec4d6,_0x554fc1);return _0x5e7ed4[_0x8da75a(0x1ce)](),_0x5e7ed4;}};x=ct([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0xe865d9(0x2d0)](a[_0xe865d9(0x33d)])),ie(0x2,a[_0xe865d9(0x2d0)](u['CollaborationSessionService']))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x2d6842,_0x450526){const _0x471870=_0xe865d9;let {radius:_0x4497ec,width:_0x26eeb8,height:_0x49765d}=_0x450526;_0x4497ec=_0x4497ec!=null?_0x4497ec:0x0,_0x26eeb8=_0x26eeb8!=null?_0x26eeb8:0x1e,_0x49765d=_0x49765d!=null?_0x49765d:0x1e;let _0x5dfdca=0x0,_0x292279=0x0,_0x266a91=0x0;_0x5dfdca=_0x292279=_0x266a91=Math['min'](_0x4497ec,_0x26eeb8/0x2,_0x49765d/0x2),_0x2d6842[_0x471870(0x27d)](),_0x2d6842[_0x471870(0x18b)](_0x5dfdca,0x0),_0x2d6842['lineTo'](_0x26eeb8-_0x292279,0x0),_0x2d6842[_0x471870(0x360)](_0x26eeb8-_0x292279,_0x292279,_0x292279,Math['PI']*0x3/0x2,0x0,!0x1),_0x2d6842[_0x471870(0x2b9)](_0x26eeb8,_0x49765d-_0x266a91),_0x2d6842['arc'](_0x26eeb8-_0x266a91,_0x49765d-_0x266a91,_0x266a91,0x0,Math['PI']/0x2,!0x1),_0x2d6842[_0x471870(0x2b9)](0x0,_0x49765d),_0x2d6842[_0x471870(0x2b9)](0x0,_0x5dfdca),_0x2d6842['arc'](_0x5dfdca,_0x5dfdca,_0x5dfdca,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2d6842[_0x471870(0x37e)](),_0x450526[_0x471870(0x1d1)]&&(_0x2d6842[_0x471870(0x248)](),_0x2d6842[_0x471870(0x394)]=_0x450526['fill'],_0x450526[_0x471870(0x2df)]===_0x471870(0x305)?_0x2d6842[_0x471870(0x1d1)]('evenodd'):_0x2d6842[_0x471870(0x1d1)](),_0x2d6842[_0x471870(0x31f)]());}class ee extends p[_0xe865d9(0x2c3)]{constructor(_0x59cc93,_0x601caf){const _0x20feb8=_0xe865d9;super(_0x59cc93,_0x601caf),h(this,_0x20feb8(0x164)),h(this,'text'),(this['color']=_0x601caf==null?void 0x0:_0x601caf[_0x20feb8(0x164)],this['text']=_0x601caf==null?void 0x0:_0x601caf[_0x20feb8(0x2e0)]);}static[_0xe865d9(0x27e)](_0x2ddc57,_0xb0f505){const _0x398bfa=_0xe865d9,{text:_0x409f86,color:_0x40359b}=_0xb0f505;_0x2ddc57['save'](),_0x2ddc57[_0x398bfa(0x299)]=_0x398bfa(0x218);const _0x5bd638=_0x2ddc57[_0x398bfa(0x2b5)](_0x409f86)[_0x398bfa(0x30e)],_0x203237=Math[_0x398bfa(0x2de)](_0x5bd638+0x2*ne,Re);_t(_0x2ddc57,{'height':K,'radius':0x4,'width':_0x203237,'fill':_0x40359b}),_0x2ddc57[_0x398bfa(0x394)]=_0x398bfa(0xfa);const _0x31901f=ne,_0x2cb03d=K-lt,_0x5423c2=Re-0x2*ne;if(_0x5bd638>_0x5423c2){let _0x24bada='',_0x553628=0x0;for(const _0x53d02e of _0x409f86){const _0x2dfad8=_0x2ddc57['measureText'](_0x53d02e)['width'];if(_0x553628+_0x2dfad8<=_0x5423c2-_0x2ddc57[_0x398bfa(0x2b5)](_0x398bfa(0x226))[_0x398bfa(0x30e)])_0x24bada+=_0x53d02e,_0x553628+=_0x2dfad8;else{_0x24bada+=_0x398bfa(0x226);break;}}_0x2ddc57[_0x398bfa(0x30c)](_0x24bada,_0x31901f,_0x2cb03d);}else _0x2ddc57['fillText'](_0x409f86,_0x31901f,_0x2cb03d);_0x2ddc57[_0x398bfa(0x31f)]();}[_0xe865d9(0x392)](_0x4a8a44){ee['drawWith'](_0x4a8a44,this);}}const re=_0xe865d9(0x177),ht='collab-text-range-',ut=_0xe865d9(0x26b),k=0x6,dt=1.5,oe=0x4,It=1.5,St=_0xe865d9(0x287);class De{constructor(_0x18c17c,_0x505dcb,_0x59097a,_0x16f677){const _0x1092e1=_0xe865d9;h(this,_0x1092e1(0x288),[]),h(this,_0x1092e1(0x10c),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x1092e1(0x117),null),h(this,_0x1092e1(0x272),null),(this['_cursor']=_0x18c17c,this['_scene']=_0x505dcb,this['_docSkeleton']=_0x59097a,this[_0x1092e1(0x15f)]=_0x16f677,this[_0x1092e1(0x242)]());}set[_0xe865d9(0x2fd)](_0x2f6682){const _0x16a595=_0xe865d9;_0x2f6682?(this['_anchorDot']&&this['_anchorDot'][_0x16a595(0x23e)](),this[_0x16a595(0x367)]&&this[_0x16a595(0x367)][_0x16a595(0x2d5)]()):(this[_0x16a595(0x28c)]&&this[_0x16a595(0x28c)][_0x16a595(0x2d5)](),this[_0x16a595(0x367)]&&this['_textBubble'][_0x16a595(0x23e)]());}['dispose'](){const _0x164509=_0xe865d9;for(const _0x160e93 of this[_0x164509(0x288)])_0x160e93[_0x164509(0x370)]();this[_0x164509(0x367)]&&this[_0x164509(0x367)][_0x164509(0x370)](),this['_anchorDot']&&this[_0x164509(0x28c)]['dispose'](),this[_0x164509(0x10c)]&&this[_0x164509(0x10c)]['dispose'](),this[_0x164509(0x272)]&&this[_0x164509(0x272)]();}[_0xe865d9(0x242)](){const _0x2e4804=_0xe865d9;var _0x444ac8;const {_docSkeleton:_0x4c810f,_document:_0x279f0d}=this,{color:_0x183428,name:_0x6565ab,ranges:_0x10388f}=this[_0x2e4804(0x22f)],_0x74b1=_0x279f0d[_0x2e4804(0x330)](),{docsLeft:_0x2385b1,docsTop:_0x399e30}=_0x74b1,_0x38cf27=new E[(_0x2e4804(0x345))](_0x74b1,_0x4c810f);for(const {startOffset:_0x3c85cd,endOffset:_0x425bf7,rangeType:_0x2151fd,segmentId:_0x6a72a1,segmentPage:_0x11f4ed,collapsed:_0x1b690f,isActive:_0x382b7a}of _0x10388f){const _0x56bfb7=_0x4c810f[_0x2e4804(0x13d)](_0x3c85cd,!0x0,_0x6a72a1,_0x11f4ed);let _0x3f0c8a=_0x4c810f[_0x2e4804(0x13d)](_0x425bf7,!0x0,_0x6a72a1,_0x11f4ed);if(_0x3f0c8a==null&&(_0x3f0c8a=_0x4c810f[_0x2e4804(0x13d)](_0x425bf7-0x1,!0x1,_0x6a72a1,_0x11f4ed)),_0x382b7a){const {contentBoxPointGroup:_0x36e1be}=_0x38cf27[_0x2e4804(0xf7)](_0x3f0c8a,_0x3f0c8a);if(_0x36e1be[_0x2e4804(0x314)]===0x0)continue;this[_0x2e4804(0x220)](_0x183428,_0x36e1be,_0x2385b1,_0x399e30,_0x6565ab),this[_0x2e4804(0x272)]=this[_0x2e4804(0x192)]();}if(_0x56bfb7&&_0x3f0c8a){if(_0x2151fd===a['DOC_RANGE_TYPE'][_0x2e4804(0x109)]){const _0x2376d6=new E[(_0x2e4804(0x107))](_0x74b1,_0x4c810f),{pointGroup:_0x295e7b}=(_0x444ac8=_0x2376d6[_0x2e4804(0xf7)](_0x56bfb7,_0x3f0c8a))!=null?_0x444ac8:{};if(_0x295e7b==null||_0x295e7b[_0x2e4804(0x314)]===0x0)continue;this[_0x2e4804(0x38e)](_0x183428,_0x295e7b,_0x2385b1,_0x399e30);}else{if(!_0x1b690f){const {borderBoxPointGroup:_0x47326f}=_0x38cf27['getRangePointData'](_0x56bfb7,_0x3f0c8a);if(_0x47326f[_0x2e4804(0x314)]===0x0)continue;this[_0x2e4804(0x30b)](_0x183428,_0x47326f,_0x2385b1,_0x399e30);}}}}}[_0xe865d9(0x220)](_0x5eb2fc,_0x145ab6,_0x46ccbe,_0x2c135a,_0x4c1052){const _0x67ec09=_0xe865d9,_0x22dd0c=this[_0x67ec09(0x378)](_0x145ab6),{left:_0x760759,top:_0x96f205,height:_0x443f82}=_0x22dd0c,_0x25f02d=this[_0x67ec09(0x2a2)](),_0x4b9ba7=It/_0x25f02d,_0xff5eb0=new p[(_0x67ec09(0x28a))](re+a[_0x67ec09(0x1c5)][_0x67ec09(0x239)](k),{'left':_0x760759+_0x46ccbe-_0x4b9ba7,'top':_0x96f205+_0x2c135a,'height':_0x443f82,'width':dt,'fill':_0x5eb2fc||p[_0x67ec09(0x147)](a[_0x67ec09(0x196)]['black'],0x0),'strokeWidth':_0x4b9ba7,'stroke':St,'evented':!0x0});this[_0x67ec09(0x10c)]=_0xff5eb0,this[_0x67ec09(0x20b)][_0x67ec09(0x316)](_0xff5eb0,E[_0x67ec09(0x10f)]);const _0x366b12=new p['Rect'](re+a[_0x67ec09(0x1c5)][_0x67ec09(0x239)](k),{'left':_0x760759+_0x46ccbe-_0x4b9ba7,'top':_0x96f205+_0x2c135a-oe/0x2,'height':oe,'width':oe,'fill':_0x5eb2fc||p[_0x67ec09(0x147)](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x5eb2fc||p[_0x67ec09(0x147)](a['COLORS']['black'],0x0),'evented':!0x1});this[_0x67ec09(0x28c)]=_0x366b12,this[_0x67ec09(0x20b)][_0x67ec09(0x316)](_0x366b12,E[_0x67ec09(0x10f)]);const _0x4b93bb=new ee(re+a[_0x67ec09(0x1c5)]['generateRandomId'](k),{'left':_0x760759+_0x46ccbe-_0x4b9ba7,'top':_0x96f205+_0x2c135a-K,'text':_0x4c1052,'color':_0x5eb2fc});this[_0x67ec09(0x367)]=_0x4b93bb,this['_scene'][_0x67ec09(0x316)](_0x4b93bb,E['TEXT_RANGE_LAYER_INDEX']),this[_0x67ec09(0x2fd)]=!0x1;}[_0xe865d9(0x192)](){const _0xf489c5=_0xe865d9,_0x13b2ea=this['_anchor'][_0xf489c5(0x2bd)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x592ce2=this['_anchor'][_0xf489c5(0x136)]['subscribeEvent'](()=>{const _0x1cdadf=_0xf489c5;this[_0x1cdadf(0x117)]&&clearTimeout(this[_0x1cdadf(0x117)]),this[_0x1cdadf(0x117)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2994e1=_0xf489c5;_0x13b2ea[_0x2994e1(0x381)](),_0x592ce2[_0x2994e1(0x381)]();};}['_drawTextRange'](_0x1a952f,_0x11c7a2,_0x22150c,_0x50068e){const _0x89c332=_0xe865d9,_0xe9935b=new a[(_0x89c332(0x108))](_0x1a952f)[_0x89c332(0x395)](0.2)['toRgbString'](),_0x488d28=new p['RegularPolygon'](ht+a[_0x89c332(0x1c5)][_0x89c332(0x239)](k),{'pointsGroup':_0x11c7a2,'fill':_0xe9935b||p[_0x89c332(0x147)](a[_0x89c332(0x196)][_0x89c332(0x2ef)],0.2),'left':_0x22150c,'top':_0x50068e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x89c332(0x244)](_0x488d28),this[_0x89c332(0x20b)][_0x89c332(0x316)](_0x488d28,E['TEXT_RANGE_LAYER_INDEX']);}[_0xe865d9(0x38e)](_0x345df8,_0x3695b0,_0x26c540,_0x4d828f){const _0x28a468=_0xe865d9,_0x4d9d48=new a[(_0x28a468(0x108))](_0x345df8)[_0x28a468(0x395)](0.2)[_0x28a468(0x317)](),_0x45dcfe=new p['RegularPolygon'](ut+a[_0x28a468(0x1c5)][_0x28a468(0x239)](k),{'pointsGroup':_0x3695b0,'fill':_0x4d9d48||p[_0x28a468(0x147)](a[_0x28a468(0x196)][_0x28a468(0x2ef)],0.2),'left':_0x26c540,'top':_0x4d828f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x28a468(0x244)](_0x45dcfe),this[_0x28a468(0x20b)]['addObject'](_0x45dcfe,E[_0x28a468(0x10f)]);}[_0xe865d9(0x378)](_0x2232b3){const _0x8f4860=_0x2232b3[0x0],_0x2c2f30=_0x8f4860[0x0],_0x1cf5f=_0x8f4860[0x2],{x:_0x536081,y:_0x28887f}=_0x2c2f30,{x:_0x4e1531,y:_0xe6f32f}=_0x1cf5f;return{'left':_0x536081,'top':_0x28887f,'width':_0x4e1531-_0x536081,'height':_0xe6f32f-_0x28887f};}[_0xe865d9(0x2a2)](){const _0x42bf9a=_0xe865d9,{scaleX:_0x5cd7fd,scaleY:_0xa327f8}=this[_0x42bf9a(0x20b)][_0x42bf9a(0x368)]();return Math[_0x42bf9a(0x2d7)](_0x5cd7fd,_0xa327f8);}}var ft=Object[_0xe865d9(0x16f)],vt=(_0x37b38b,_0x463d89,_0x5201f2,_0x5a463b)=>{const _0x18c699=_0xe865d9;for(var _0x40abf4=_0x5a463b>0x1?void 0x0:_0x5a463b?ft(_0x463d89,_0x5201f2):_0x463d89,_0x37212e=_0x37b38b[_0x18c699(0x314)]-0x1,_0x4eb084;_0x37212e>=0x0;_0x37212e--)(_0x4eb084=_0x37b38b[_0x37212e])&&(_0x40abf4=_0x4eb084(_0x40abf4)||_0x40abf4);return _0x40abf4;},W=(_0x2613c6,_0x2372fb)=>(_0x14e26e,_0xdd4533)=>_0x2372fb(_0x14e26e,_0xdd4533,_0x2613c6);let fe=class extends a['RxDisposable']{constructor(_0x3ca584,_0x1e5d84,_0xcb6e3f,_0x5066e7,_0x149600){const _0x3559d4=_0xe865d9;super(),h(this,_0x3559d4(0x1db),[]),h(this,_0x3559d4(0x1a8),[]),(this[_0x3559d4(0x267)]=_0x3ca584,this[_0x3559d4(0x14d)]=_0x1e5d84,this[_0x3559d4(0x281)]=_0xcb6e3f,this[_0x3559d4(0x100)]=_0x5066e7,this[_0x3559d4(0x158)]=_0x149600,this[_0x3559d4(0x2a0)]());}[_0xe865d9(0x2a0)](){const _0x431574=_0xe865d9,_0x4df8e2=this['_context'][_0x431574(0x251)],_0x30aa2f=this[_0x431574(0x14d)];this[_0x431574(0x11c)](d[_0x431574(0x1aa)]([this[_0x431574(0x281)][_0x431574(0x2c0)](_0x4df8e2),this[_0x431574(0x158)][_0x431574(0x346)]])[_0x431574(0x333)]($['map'](([_0x1cdb7f,_0x25a1e0])=>({'skeleton':_0x30aa2f[_0x431574(0x14f)](),'cursors':[..._0x1cdb7f[_0x431574(0x303)]()][_0x431574(0x1ca)](_0x3cae88=>({..._0x3cae88,'color':this[_0x431574(0x158)][_0x431574(0x1b7)](_0x3cae88[_0x431574(0x164)])}))})))['subscribe'](_0x1368e5=>{const _0xeb35a4=_0x431574;if(this[_0xeb35a4(0x2bc)](),_0x1368e5){const {skeleton:_0x35cbdc,cursors:_0xb37c8e}=_0x1368e5;this[_0xeb35a4(0x322)](_0x35cbdc,_0xb37c8e);}})),this[_0x431574(0x118)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x21977e,_0x2dcd74){const _0x357778=_0xe865d9,{scene:_0x127b85,mainComponent:_0x3bfea4}=this[_0x357778(0x267)],_0x2d6c60=_0x2dcd74[_0x357778(0x380)](_0x52eedc=>new De(_0x52eedc,_0x127b85,_0x21977e,_0x3bfea4));this[_0x357778(0x1db)]=_0x2d6c60,this[_0x357778(0x1a8)]=_0x2dcd74;}['_refreshCollabCursors'](){const _0x2fb34b=_0xe865d9;this['_removeCollabCursors']();const {scene:_0x2effd8,mainComponent:_0x43ac33}=this[_0x2fb34b(0x267)],_0x20c486=this[_0x2fb34b(0x14d)]['getSkeleton'](),_0x4996e8=this[_0x2fb34b(0x1a8)]['map'](_0x3f7c47=>new De(_0x3f7c47,_0x2effd8,_0x20c486,_0x43ac33));this[_0x2fb34b(0x1db)]=_0x4996e8;}[_0xe865d9(0x2bc)](){const _0x3f2ee5=_0xe865d9;this[_0x3f2ee5(0x1db)][_0x3f2ee5(0x284)](_0x39fc9a=>_0x39fc9a[_0x3f2ee5(0x370)]()),this[_0x3f2ee5(0x1db)]=[];}['_initCommandExecutedListener'](){const _0x27a82f=_0xe865d9,_0x4fe2bd=[E[_0x27a82f(0x172)]['id']];this[_0x27a82f(0x11c)](this['_commandService'][_0x27a82f(0x214)](_0x290210=>{const _0x3f8713=_0x27a82f;_0x4fe2bd[_0x3f8713(0x353)](_0x290210['id'])&&_0x290210['params'][_0x3f8713(0x251)]===this[_0x3f8713(0x267)][_0x3f8713(0x251)]&&this[_0x3f8713(0x143)]();}));}[_0xe865d9(0x118)](){const _0x1cb64e=_0xe865d9;this['disposeWithMe'](a[_0x1cb64e(0x1f0)](this[_0x1cb64e(0x267)][_0x1cb64e(0x2ed)][_0x1cb64e(0x279)])['pipe']($[_0x1cb64e(0x138)](_0x1ab4d9=>_0x1ab4d9[_0x1cb64e(0x102)]===p[_0x1cb64e(0x11f)][_0x1cb64e(0x23a)]),$[_0x1cb64e(0x1bf)](0x10))[_0x1cb64e(0x309)](()=>{const _0x5932db=_0x1cb64e;this[_0x5932db(0x143)]();}));}};fe=vt([W(0x1,a[_0xe865d9(0x2d0)](Y[_0xe865d9(0x156)])),W(0x2,a['Inject'](x)),W(0x3,a['ICommandService']),W(0x4,a[_0xe865d9(0x2d0)](a[_0xe865d9(0x286)]))],fe);const gt=0x1,mt=1.5;class we extends p['Shape']{constructor(_0x18ce25,_0x3a2ba4){const _0x66fb11=_0xe865d9;super(_0x18ce25,_0x3a2ba4),h(this,_0x66fb11(0x32d)),h(this,_0x66fb11(0x2cf),!0x1),h(this,_0x66fb11(0x1af)),h(this,_0x66fb11(0x34a),''),h(this,'_labelPosition',_0x66fb11(0x29e)),h(this,'_backgroundColor'),(_0x3a2ba4&&this[_0x66fb11(0x144)](_0x3a2ba4),this['onPointerEnter$'][_0x66fb11(0x2a8)](()=>this[_0x66fb11(0x144)]({'hovered':!0x0})),this[_0x66fb11(0x136)][_0x66fb11(0x2a8)](()=>this[_0x66fb11(0x144)]({'hovered':!0x1})));}[_0xe865d9(0x144)](_0x47a4a5){const _0x430095=_0xe865d9;var _0x4915c4,_0x4d28ac,_0x3f2603,_0x35d6e3,_0xc59c9d,_0x3205e8;this[_0x430095(0x32d)]=(_0x4915c4=_0x47a4a5[_0x430095(0x164)])!=null?_0x4915c4:this[_0x430095(0x32d)],this['_hovered']=(_0x4d28ac=_0x47a4a5['hovered'])!=null?_0x4d28ac:this[_0x430095(0x2cf)],this[_0x430095(0x1af)]=(_0x3f2603=_0x47a4a5[_0x430095(0xfb)])!=null?_0x3f2603:this[_0x430095(0x1af)],this['_name']=(_0x35d6e3=_0x47a4a5['name'])!=null?_0x35d6e3:this[_0x430095(0x34a)],this[_0x430095(0x2f6)]=(_0xc59c9d=_0x47a4a5[_0x430095(0x389)])!=null?_0xc59c9d:this[_0x430095(0x2f6)],this[_0x430095(0x264)]=(_0x3205e8=_0x47a4a5[_0x430095(0x258)])!=null?_0x3205e8:this[_0x430095(0x264)],this[_0x430095(0x249)]({'width':_0x47a4a5[_0x430095(0x30e)],'height':_0x47a4a5[_0x430095(0x10b)]});}[_0xe865d9(0x101)](_0x31ef3e){const _0x31d72b=_0xe865d9,{row:_0x4854ae,column:_0x5fff8e}=_0x31ef3e;if(_0x4854ae>=this[_0x31d72b(0x1af)][_0x31d72b(0x259)]&&_0x4854ae<=this[_0x31d72b(0x1af)][_0x31d72b(0x2b6)]&&_0x5fff8e>=this[_0x31d72b(0x1af)][_0x31d72b(0x240)]&&_0x5fff8e<=this[_0x31d72b(0x1af)][_0x31d72b(0x125)]){this[_0x31d72b(0x144)]({'hovered':!0x0});return;}this[_0x31d72b(0x144)]({'hovered':!0x1});}[_0xe865d9(0x1e6)](_0x13440a){return!0x1;}[_0xe865d9(0x392)](_0x1b378e){const _0x186868=_0xe865d9;p[_0x186868(0x28a)][_0x186868(0x27e)](_0x1b378e,{'width':this[_0x186868(0x30e)],'height':this[_0x186868(0x10b)],'strokeWidth':mt,'stroke':this[_0x186868(0x32d)],'evented':!0x1,'fill':this[_0x186868(0x264)]}),this[_0x186868(0x2cf)]&&(_0x1b378e[_0x186868(0x248)](),_0x1b378e[_0x186868(0x252)](0x1,0x0,0x0,0x1,this[_0x186868(0x30e)],this[_0x186868(0x2f6)]===_0x186868(0x231)?0x0:-0x14),ee[_0x186868(0x27e)](_0x1b378e,{'text':this['_name'],'color':this[_0x186868(0x32d)]}),_0x1b378e['restore']());}}var Ct=Object[_0xe865d9(0x16f)],pt=(_0x777ac1,_0x5982a1,_0x2c1df2,_0x4cc706)=>{const _0x435f9a=_0xe865d9;for(var _0x12ec48=_0x4cc706>0x1?void 0x0:_0x4cc706?Ct(_0x5982a1,_0x2c1df2):_0x5982a1,_0x10a39a=_0x777ac1[_0x435f9a(0x314)]-0x1,_0x54f9f7;_0x10a39a>=0x0;_0x10a39a--)(_0x54f9f7=_0x777ac1[_0x10a39a])&&(_0x12ec48=_0x54f9f7(_0x12ec48)||_0x12ec48);return _0x12ec48;},ae=(_0x494430,_0x3a8a71)=>(_0x323faf,_0x1e0ddc)=>_0x3a8a71(_0x323faf,_0x1e0ddc,_0x494430);const Et=0x1389;let ve=class extends a[_0xe865d9(0x24f)]{constructor(_0x414748,_0x3649a0,_0x4332d2,_0x586426){const _0xf83b5e=_0xe865d9;super(),h(this,_0xf83b5e(0x1a8),new Set()),h(this,'_lastPointer',null),(this[_0xf83b5e(0x267)]=_0x414748,this[_0xf83b5e(0x329)]=_0x3649a0,this[_0xf83b5e(0x281)]=_0x4332d2,this['_themeService']=_0x586426,this[_0xf83b5e(0x2a0)]());}[_0xe865d9(0x2a0)](){const _0x502be5=_0xe865d9;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x502be5(0x333)]($[_0x502be5(0x17f)](this[_0x502be5(0x2b8)]),$[_0x502be5(0x19f)](_0x46bf2e=>{const _0x1ad48e=_0x502be5;if(_0x46bf2e){const _0x16e775=_0x46bf2e['sheetId'];return d[_0x1ad48e(0x1aa)](this[_0x1ad48e(0x281)][_0x1ad48e(0x2c0)](this[_0x1ad48e(0x267)][_0x1ad48e(0x251)]),this[_0x1ad48e(0x158)]['currentTheme$'])['pipe']($[_0x1ad48e(0x380)](([_0x395198,_0x2ed0ab])=>{const _0xc34ae3=_0x1ad48e,_0x27d773=new Map();return _0x395198[_0xc34ae3(0x284)]((_0x3e035f,_0x85326)=>{const _0x227a75=_0xc34ae3;if(_0x3e035f['sheetID']===_0x16e775){const _0x79de11={..._0x3e035f};_0x79de11[_0x227a75(0x164)]=this[_0x227a75(0x158)][_0x227a75(0x1b7)](_0x3e035f[_0x227a75(0x164)]),_0x27d773[_0x227a75(0x1c4)](_0x85326,_0x79de11);}}),{'skeleton':_0x46bf2e,'cursors':_0x27d773};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x502be5(0x309)](({skeleton:_0x564c86,cursors:_0x547dd8})=>{this['_removeCollabCursors'](),_0x564c86&&this['_updateCollabCursors'](_0x564c86,_0x547dd8);}),this[_0x502be5(0x329)][_0x502be5(0x1d0)][_0x502be5(0x309)](_0x3a39df=>{const _0x3973b1=_0x502be5;if(_0x3a39df==null)return;const {skeleton:_0x2f506f}=_0x3a39df,{scene:_0x21bdba}=this['_context'];_0x21bdba['onPointerMove$'][_0x3973b1(0x2a8)](a['debounce'](_0x20744a=>{const _0x1b5e52=_0x3973b1;var _0x592712,_0x2f19cc;const {offsetX:_0x5da700,offsetY:_0x3523fb}=_0x20744a,{x:_0x22110f,y:_0x5a6623}=_0x21bdba[_0x1b5e52(0x210)](p[_0x1b5e52(0x28e)]['FromArray']([_0x5da700,_0x3523fb])),{scaleX:_0x3782e2,scaleY:_0x4b9317}=_0x21bdba[_0x1b5e52(0x368)](),_0x37acdf=_0x21bdba[_0x1b5e52(0x347)](p[_0x1b5e52(0x2be)][_0x1b5e52(0x28b)]),_0xa490fa=_0x21bdba[_0x1b5e52(0x221)](p[_0x1b5e52(0x28e)]['FromArray']([_0x22110f,_0x5a6623]),_0x37acdf),_0x10941c=_0x2f506f[_0x1b5e52(0x133)](_0x5da700,_0x3523fb,_0x3782e2,_0x4b9317,_0xa490fa);((_0x592712=this[_0x1b5e52(0x321)])==null?void 0x0:_0x592712['column'])===_0x10941c[_0x1b5e52(0x1cf)]&&((_0x2f19cc=this[_0x1b5e52(0x321)])==null?void 0x0:_0x2f19cc[_0x1b5e52(0x127)])===_0x10941c[_0x1b5e52(0x127)]||this['_cursors'][_0x1b5e52(0x284)](_0x4c51a5=>{const _0x1ac31d=_0x1b5e52;_0x4c51a5[_0x1ac31d(0x101)](_0x10941c);});},0x64));});}[_0xe865d9(0x322)](_0x349ccf,_0xe8412c){const _0x36ed5c=_0xe865d9;var _0x2150d7;const _0x1ef719=(_0x2150d7=this[_0x36ed5c(0x329)][_0x36ed5c(0x30d)]())==null?void 0x0:_0x2150d7['skeleton'];if(!_0x1ef719)return;const _0x3308bf=this['_getSheetObject']();if(!_0x3308bf)return;this['_cursors'][_0x36ed5c(0x284)](_0x2577f1=>{const _0x620ba8=_0x36ed5c;_0x2577f1[_0x620ba8(0x11a)]();});const {scene:_0x41a82f}=_0x3308bf,_0x574182=bt(Array[_0x36ed5c(0x1e8)](_0xe8412c[_0x36ed5c(0x303)]()))[_0x36ed5c(0x380)](_0x21b480=>{const _0x30f70f=_0x36ed5c,{color:_0x37a591,range:_0x5dd59c,name:_0x2268b3,selection:_0x20ea36,sheetID:_0x38ef71}=_0x21b480,{startColumn:_0x2b404c,startRow:_0x31bd85,endColumn:_0x1fd60b,endRow:_0x9ebfe9}=_0x5dd59c,_0x3b45b9=X['getCoordByCell'](_0x31bd85,_0x2b404c,_0x41a82f,_0x1ef719),_0x3e8bb2=X[_0x30f70f(0x182)](_0x9ebfe9,_0x1fd60b,_0x41a82f,_0x1ef719),{columnHeaderHeightAndMarginTop:_0x4eb6d8}=_0x1ef719,{startX:_0x569c28,startY:_0x1f9d80}=_0x3b45b9,{endX:_0x346b74,endY:_0x57f8be}=_0x3e8bb2,_0x38ca4e=_0x346b74-_0x569c28,_0x26ebef=_0x57f8be-_0x1f9d80,_0x26e385={'labelPosition':_0x1f9d80-_0x4eb6d8>=K?_0x30f70f(0x29e):_0x30f70f(0x231),'sheetID':_0x38ef71,'range':_0x5dd59c,'color':_0x37a591,'name':_0x2268b3,'selection':_0x20ea36,'left':_0x569c28,'top':_0x1f9d80,'width':_0x38ca4e,'height':_0x26ebef,'evented':!0x1,'zIndex':Et};return new we(_0x2268b3,_0x26e385);});_0x41a82f[_0x36ed5c(0x37b)](_0x574182,gt),this['_cursors']=new Set(_0x574182);}[_0xe865d9(0x2bc)](){const _0x4abc02=_0xe865d9;var _0xfc2aaa;(_0xfc2aaa=this[_0x4abc02(0x1a8)])==null||_0xfc2aaa['forEach'](_0x2bbe0f=>_0x2bbe0f['dispose']());}[_0xe865d9(0x2cc)](){const _0x26fe10=_0xe865d9;return X['getSheetObject'](this[_0x26fe10(0x267)][_0x26fe10(0x319)],this[_0x26fe10(0x267)]);}};ve=pt([ae(0x1,a['Inject'](X[_0xe865d9(0x1ad)])),ae(0x2,a[_0xe865d9(0x2d0)](x)),ae(0x3,a[_0xe865d9(0x2d0)](a[_0xe865d9(0x286)]))],ve);function bt(_0x5896a7){const _0x138138=_0xe865d9,_0x37bed6=new Map();return _0x5896a7['forEach'](_0x522335=>{const _0x1a405c=_0x3cdf;if(_0x37bed6['has'](_0x522335[_0x1a405c(0x184)])){const _0x287c6f=_0x37bed6[_0x1a405c(0x1df)](_0x522335[_0x1a405c(0x184)]);_0x287c6f[_0x1a405c(0x297)]+=',\x20'+_0x522335[_0x1a405c(0x297)];}else _0x37bed6[_0x1a405c(0x1c4)](_0x522335[_0x1a405c(0x184)],_0x522335);}),Array[_0x138138(0x1e8)](_0x37bed6[_0x138138(0x303)]());}var b=function(){const _0x2dae68=_0xe865d9;return b=Object['assign']||function(_0x424a6e){const _0x1289b4=_0x3cdf;for(var _0x2f91d5,_0x5b2f0f=0x1,_0x5a2ec7=arguments[_0x1289b4(0x314)];_0x5b2f0f<_0x5a2ec7;_0x5b2f0f++){_0x2f91d5=arguments[_0x5b2f0f];for(var _0x21f07b in _0x2f91d5)Object[_0x1289b4(0x27b)][_0x1289b4(0x1a9)][_0x1289b4(0x254)](_0x2f91d5,_0x21f07b)&&(_0x424a6e[_0x21f07b]=_0x2f91d5[_0x21f07b]);}return _0x424a6e;},b[_0x2dae68(0x35e)](this,arguments);},Ot=function(_0x38e27c,_0x5078f9){const _0x15e715=_0xe865d9;var _0x235f7a={};for(var _0x498f74 in _0x38e27c)Object[_0x15e715(0x27b)][_0x15e715(0x1a9)]['call'](_0x38e27c,_0x498f74)&&_0x5078f9['indexOf'](_0x498f74)<0x0&&(_0x235f7a[_0x498f74]=_0x38e27c[_0x498f74]);if(_0x38e27c!=null&&typeof Object[_0x15e715(0x1b0)]=='function'){for(var _0x46cd06=0x0,_0x498f74=Object['getOwnPropertySymbols'](_0x38e27c);_0x46cd06<_0x498f74[_0x15e715(0x314)];_0x46cd06++)_0x5078f9[_0x15e715(0x104)](_0x498f74[_0x46cd06])<0x0&&Object[_0x15e715(0x27b)][_0x15e715(0x234)][_0x15e715(0x254)](_0x38e27c,_0x498f74[_0x46cd06])&&(_0x235f7a[_0x498f74[_0x46cd06]]=_0x38e27c[_0x498f74[_0x46cd06]]);}return _0x235f7a;},pe=M[_0xe865d9(0x373)](function(_0x57ce74,_0xe44ac0){const _0x189d35=_0xe865d9;var _0x554748=_0x57ce74[_0x189d35(0x16a)],_0x343484=_0x57ce74['id'],_0x55e981=_0x57ce74[_0x189d35(0x36d)],_0x42f62e=_0x57ce74[_0x189d35(0x16c)],_0x2a2f72=Ot(_0x57ce74,[_0x189d35(0x16a),'id',_0x189d35(0x36d),_0x189d35(0x16c)]),_0x21d0f2=_0x189d35(0x34c)['concat'](_0x343484,'\x20')['concat'](_0x55e981||'')[_0x189d35(0x310)](),_0x4b52b8=M[_0x189d35(0x139)]('_'[_0x189d35(0xf5)](Dt()));return Ae(_0x554748,''[_0x189d35(0xf5)](_0x343484),{'defIds':_0x554748[_0x189d35(0x1ae)],'idSuffix':_0x4b52b8[_0x189d35(0x31b)]},b({'ref':_0xe44ac0,'className':_0x21d0f2},_0x2a2f72),_0x42f62e);});function Ae(_0x53d2a0,_0x13a45c,_0x54442c,_0xfbdc6,_0x469e83){const _0x47731d=_0xe865d9;return M[_0x47731d(0x20f)](_0x53d2a0[_0x47731d(0x245)],b(b({'key':_0x13a45c},Tt(_0x53d2a0,_0x54442c,_0x469e83)),_0xfbdc6),(Rt(_0x53d2a0,_0x54442c)[_0x47731d(0x2bb)]||[])[_0x47731d(0x380)](function(_0x5f1cb7,_0x4b0125){const _0x46930d=_0x47731d;return Ae(_0x5f1cb7,''['concat'](_0x13a45c,'-')[_0x46930d(0xf5)](_0x53d2a0['tag'],'-')[_0x46930d(0xf5)](_0x4b0125),_0x54442c,void 0x0,_0x469e83);}));}function Tt(_0x14531a,_0x15af21,_0x959d1a){const _0x475949=_0xe865d9;var _0x54395f=b({},_0x14531a[_0x475949(0x1bb)]);_0x959d1a!=null&&_0x959d1a[_0x475949(0x225)]&&_0x54395f[_0x475949(0x1d1)]===_0x475949(0x225)&&(_0x54395f['fill']=_0x959d1a['colorChannel1']),_0x14531a[_0x475949(0x245)]==='mask'&&_0x54395f['id']&&(_0x54395f['id']=_0x54395f['id']+_0x15af21[_0x475949(0x36f)]),Object['entries'](_0x54395f)[_0x475949(0x284)](function(_0x4c20b0){const _0x36809f=_0x475949;var _0xcbb221=_0x4c20b0[0x0],_0x517859=_0x4c20b0[0x1];_0xcbb221===_0x36809f(0x2a3)&&typeof _0x517859==_0x36809f(0x290)&&(_0x54395f[_0xcbb221]=_0x517859[_0x36809f(0x384)](/url\(#(.*)\)/,_0x36809f(0x153)['concat'](_0x15af21[_0x36809f(0x36f)],')')));});var _0x3f2d6c=_0x15af21['defIds'];return!_0x3f2d6c||_0x3f2d6c[_0x475949(0x314)]===0x0||(_0x14531a[_0x475949(0x245)]==='use'&&_0x54395f['xlink:href']&&(_0x54395f[_0x475949(0x25e)]=_0x54395f[_0x475949(0x25e)]+_0x15af21['idSuffix']),Object[_0x475949(0x14c)](_0x54395f)[_0x475949(0x284)](function(_0x116823){const _0x54557a=_0x475949;var _0x3c1a5a=_0x116823[0x0],_0x5e667a=_0x116823[0x1];typeof _0x5e667a==_0x54557a(0x290)&&(_0x54395f[_0x3c1a5a]=_0x5e667a[_0x54557a(0x384)](/url\(#(.*)\)/,_0x54557a(0x153)[_0x54557a(0xf5)](_0x15af21[_0x54557a(0x36f)],')')));})),_0x54395f;}function Rt(_0x2186e0,_0x2b8572){const _0x171cd3=_0xe865d9;var _0xdda2b5,_0x3cd5b6=_0x2b8572[_0x171cd3(0x1ae)];return!_0x3cd5b6||_0x3cd5b6[_0x171cd3(0x314)]===0x0?_0x2186e0:_0x2186e0[_0x171cd3(0x245)]==='defs'&&(!((_0xdda2b5=_0x2186e0['children'])===null||_0xdda2b5===void 0x0)&&_0xdda2b5['length'])?b(b({},_0x2186e0),{'children':_0x2186e0[_0x171cd3(0x2bb)]['map'](function(_0x21b755){const _0x264f08=_0x171cd3;return typeof _0x21b755[_0x264f08(0x1bb)]['id']=='string'&&_0x3cd5b6&&_0x3cd5b6[_0x264f08(0x353)](_0x21b755[_0x264f08(0x1bb)]['id'])?b(b({},_0x21b755),{'attrs':b(b({},_0x21b755['attrs']),{'id':_0x21b755[_0x264f08(0x1bb)]['id']+_0x2b8572[_0x264f08(0x36f)]})}):_0x21b755;})}):_0x2186e0;}function Dt(){const _0x585531=_0xe865d9;return Math[_0x585531(0x178)]()['toString'](0x24)['substring'](0x2,0x8);}pe[_0xe865d9(0x179)]='UniverIcon';var Ut={'tag':_0xe865d9(0x111),'attrs':{'xmlns':_0xe865d9(0x2d6),'fill':_0xe865d9(0x22e),'viewBox':_0xe865d9(0x1c8),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xe865d9(0x38c)},'children':[{'tag':_0xe865d9(0x112),'attrs':{'stroke':_0xe865d9(0x26c),'d':_0xe865d9(0x174),'strokeLinecap':_0xe865d9(0x386),'strokeLinejoin':_0xe865d9(0x386),'strokeWidth':1.2}}]},{'tag':_0xe865d9(0x2ff),'attrs':{},'children':[{'tag':_0xe865d9(0x188),'attrs':{'id':_0xe865d9(0x24e)},'children':[{'tag':'path','attrs':{'fill':_0xe865d9(0x35a),'d':_0xe865d9(0x339)}}]}]}],'defIds':[_0xe865d9(0x24e)]},ye=M[_0xe865d9(0x373)](function(_0x272d4c,_0x33b917){const _0x22d37c=_0xe865d9;return M[_0x22d37c(0x20f)](pe,Object[_0x22d37c(0x215)]({},_0x272d4c,{'id':_0x22d37c(0x20d),'ref':_0x33b917,'icon':Ut}));});ye[_0xe865d9(0x179)]=_0xe865d9(0x23f);function _0x3cdf(_0x152b4e,_0x12e476){const _0x3a4acc=_0x3a4a();return _0x3cdf=function(_0x3cdfd6,_0x353677){_0x3cdfd6=_0x3cdfd6-0xf5;let _0x4f8a49=_0x3a4acc[_0x3cdfd6];return _0x4f8a49;},_0x3cdf(_0x152b4e,_0x12e476);}var Nt={'tag':_0xe865d9(0x111),'attrs':{'xmlns':_0xe865d9(0x2d6),'fill':'none','viewBox':_0xe865d9(0x134),'width':_0xe865d9(0x232),'height':_0xe865d9(0x232)},'children':[{'tag':'g','attrs':{'clipPath':_0xe865d9(0x1f7)},'children':[{'tag':_0xe865d9(0x112),'attrs':{'stroke':'currentColor','d':_0xe865d9(0x1d4),'strokeLinecap':_0xe865d9(0x386),'strokeLinejoin':_0xe865d9(0x386),'strokeWidth':1.2}}]},{'tag':_0xe865d9(0x2ff),'attrs':{},'children':[{'tag':_0xe865d9(0x188),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0xe865d9(0x35a),'d':_0xe865d9(0x339),'transform':_0xe865d9(0x1e0)}}]}]}],'defIds':[_0xe865d9(0x337)]},$e=M['forwardRef'](function(_0x3d1d56,_0x33410c){const _0x1d2ea8=_0xe865d9;return M['createElement'](pe,Object['assign']({},_0x3d1d56,{'id':_0x1d2ea8(0x291),'ref':_0x33410c,'icon':Nt}));});$e[_0xe865d9(0x179)]=_0xe865d9(0x1ba);function Mt(_0x4d7e6a){const _0x4e6043=_0xe865d9;switch(_0x4d7e6a){case u['CollaborationStatus'][_0x4e6043(0x262)]:return'collabStatus.offline';case u[_0x4e6043(0x18c)]['CONFLICT']:return _0x4e6043(0x2f9);case u['CollaborationStatus']['FETCH_MISS']:return _0x4e6043(0x379);case u['CollaborationStatus'][_0x4e6043(0x293)]:return'collabStatus.notCollab';case u['CollaborationStatus'][_0x4e6043(0x343)]:case u[_0x4e6043(0x18c)][_0x4e6043(0x1b4)]:return _0x4e6043(0x146);case u[_0x4e6043(0x18c)][_0x4e6043(0x2f1)]:case u[_0x4e6043(0x18c)][_0x4e6043(0x2ac)]:return _0x4e6043(0x1ed);}}function xe(_0x5b685a){const _0x2bf850=_0xe865d9,{status$:_0x3dd00c}=_0x5b685a,_0x1e837d=O[_0x2bf850(0x340)](_0x3dd00c,u['CollaborationStatus'][_0x2bf850(0x293)]),_0x30ab0e=O['useDependency'](a[_0x2bf850(0x10a)]),_0x5d8141=O[_0x2bf850(0x278)](u['CollaborationSessionService']),_0x436ae2=_0x1e837d!==u['CollaborationStatus']['OFFLINE'],_0x156e15=_0x30ab0e['t'](Mt(_0x1e837d)),_0x3f6645=_0x436ae2?P['jsx']($e,{}):P[_0x2bf850(0x19a)](ye,{}),_0x3d8d8d=M[_0x2bf850(0x1cb)](()=>{const _0x41718f=_0x2bf850;_0x436ae2||_0x5d8141[_0x41718f(0x173)]();},[_0x436ae2,_0x5d8141]);function _0x3e6ca6(){const _0x49ce6e=_0x2bf850;return P[_0x49ce6e(0x132)](_0x49ce6e(0x16e),{'className':_0x49ce6e(0x159),'onClick':_0x3d8d8d,'children':[P['jsx'](_0x49ce6e(0x16e),{'className':D[_0x49ce6e(0x1d3)](_0x49ce6e(0x15a),{'univer-text-green-500':_0x436ae2,'univer-text-red-500':!_0x436ae2}),'children':_0x3f6645}),P[_0x49ce6e(0x19a)](_0x49ce6e(0x16e),{'className':_0x49ce6e(0x271),'children':_0x156e15})]});}return _0x436ae2?_0x3e6ca6():P[_0x2bf850(0x19a)](D[_0x2bf850(0x24b)],{'title':_0x30ab0e['t'](_0x2bf850(0x141)),'children':_0x3e6ca6()});}var Lt=Object['getOwnPropertyDescriptor'],Pt=(_0xbbbb10,_0x2fb6b0,_0x5167dd,_0x376416)=>{for(var _0x5b7277=_0x376416>0x1?void 0x0:_0x376416?Lt(_0x2fb6b0,_0x5167dd):_0x2fb6b0,_0x37a667=_0xbbbb10['length']-0x1,_0x59bea3;_0x37a667>=0x0;_0x37a667--)(_0x59bea3=_0xbbbb10[_0x37a667])&&(_0x5b7277=_0x59bea3(_0x5b7277)||_0x5b7277);return _0x5b7277;},V=(_0x3d9970,_0x1cfcb0)=>(_0x162d34,_0x67ad7d)=>_0x1cfcb0(_0x162d34,_0x67ad7d,_0x3d9970);exports[_0xe865d9(0x246)]=class extends a['Disposable']{constructor(_0x39d3d0,_0x1991a3,_0x4b53b1,_0x1db3d9){const _0x3f1e94=_0xe865d9;super(),h(this,'_status$',new d['BehaviorSubject'](u[_0x3f1e94(0x18c)][_0x3f1e94(0x293)])),(this[_0x3f1e94(0x390)]=_0x39d3d0,this[_0x3f1e94(0x280)]=_0x1991a3,this[_0x3f1e94(0x32c)]=_0x4b53b1,this[_0x3f1e94(0x209)]=_0x1db3d9,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xe865d9(0x151)](){const _0x21a24d=_0xe865d9;this['disposeWithMe'](this[_0x21a24d(0x390)][_0x21a24d(0x119)][_0x21a24d(0x333)](d[_0x21a24d(0x19f)](()=>{const _0x44c604=_0x21a24d,_0x568238=this[_0x44c604(0x390)][_0x44c604(0x25b)]();return _0x568238?this['_collaborationController'][_0x44c604(0xf8)](_0x568238[_0x44c604(0x2c9)]()):d['of'](null);}),d[_0x21a24d(0x19f)](_0x5028b3=>_0x5028b3?_0x5028b3['status$']:d['of'](u[_0x21a24d(0x18c)][_0x21a24d(0x293)])))[_0x21a24d(0x309)](_0x1e5500=>{const _0x58db9d=_0x21a24d;this['_status$'][_0x58db9d(0x29b)](_0x1e5500);}));}[_0xe865d9(0x1d5)](){const _0x499e66=_0xe865d9;this[_0x499e66(0x11c)](this[_0x499e66(0x209)]['registerComponent'](O[_0x499e66(0x137)]['HEADER_MENU'],()=>O['connectInjector'](wt({'status$':this['_status$'][_0x499e66(0x2f0)]()}),this[_0x499e66(0x280)])));}},exports[_0xe865d9(0x246)]=Pt([V(0x0,a[_0xe865d9(0x183)]),V(0x1,a['Inject'](a[_0xe865d9(0x33d)])),V(0x2,a[_0xe865d9(0x2d0)](u['CollaborationController'])),V(0x3,O[_0xe865d9(0x1ee)])],exports['DesktopCollaborationStatusDisplayController']);function wt(_0x390f16){const {status$:_0x3ee306}=_0x390f16;return function(){return P['jsx'](xe,{'status$':_0x3ee306});};}var At=Object[_0xe865d9(0x16f)],yt=(_0x1c5f7d,_0x404212,_0x113061,_0x5ea33d)=>{const _0x38bff5=_0xe865d9;for(var _0x22b327=_0x5ea33d>0x1?void 0x0:_0x5ea33d?At(_0x404212,_0x113061):_0x404212,_0x199688=_0x1c5f7d[_0x38bff5(0x314)]-0x1,_0x301f3b;_0x199688>=0x0;_0x199688--)(_0x301f3b=_0x1c5f7d[_0x199688])&&(_0x22b327=_0x301f3b(_0x22b327)||_0x22b327);return _0x22b327;},y=(_0x3ed898,_0x3dc78a)=>(_0x13cc89,_0x50a0e7)=>_0x3dc78a(_0x13cc89,_0x50a0e7,_0x3ed898);let q=class extends a[_0xe865d9(0x36c)]{constructor(_0xf31c46,_0x5941b2,_0x3841e0,_0xc066a8,_0x4477f5,_0x5e4826){const _0x49f538=_0xe865d9;super(),this[_0x49f538(0x382)]=_0xf31c46,this['_localCacheService']=_0x5941b2,this[_0x49f538(0x31c)]=_0x3841e0,this['_messageService']=_0xc066a8,this[_0x49f538(0x1f8)]=_0x4477f5,this['_localeService']=_0x5e4826,this['_setupBeforeClosingHandler'](),this[_0x49f538(0x116)]();}[_0xe865d9(0x1eb)](){const _0x51a7f1=_0xe865d9;this['disposeWithMe'](this[_0x51a7f1(0x382)][_0x51a7f1(0x1c1)](()=>{const _0x2e15d7=_0x51a7f1;if(this[_0x2e15d7(0x292)][_0x2e15d7(0x1ef)][_0x2e15d7(0x1fb)])return this[_0x2e15d7(0x238)]['t'](_0x2e15d7(0x1a2));}));}[_0xe865d9(0x116)](){const _0x200400=_0xe865d9;this['disposeWithMe'](this['_collaborationUIEventService'][_0x200400(0x2f4)][_0x200400(0x309)](_0x2db8c5=>{const _0x3e82b2=_0x200400;_0x2db8c5['id']===u['CollaborationUIEventId'][_0x3e82b2(0x167)]&&this[_0x3e82b2(0x318)][_0x3e82b2(0x2d5)]({'type':D[_0x3e82b2(0x1c6)][_0x3e82b2(0x1bd)],'content':this[_0x3e82b2(0x238)]['t'](_0x3e82b2(0x115))}),_0x2db8c5['id']===u[_0x3e82b2(0x1c0)][_0x3e82b2(0x31e)]&&this['_messageService'][_0x3e82b2(0x2d5)]({'type':D[_0x3e82b2(0x1c6)][_0x3e82b2(0x1bd)],'content':this[_0x3e82b2(0x238)]['t'](_0x3e82b2(0x1f5))}),_0x2db8c5['id']===u[_0x3e82b2(0x1c0)]['PERMISSION_DENIED']&&this[_0x3e82b2(0x1f8)][_0x3e82b2(0x2d5)]({'title':this[_0x3e82b2(0x238)]['t'](_0x3e82b2(0x2d4)),'content':this[_0x3e82b2(0x238)]['t'](_0x3e82b2(0x13c)),'type':'error','duration':0x0}),_0x2db8c5['id']===u[_0x3e82b2(0x1c0)][_0x3e82b2(0x253)]&&this['_messageService'][_0x3e82b2(0x2d5)]({'type':D[_0x3e82b2(0x1c6)][_0x3e82b2(0x14b)],'content':this[_0x3e82b2(0x238)]['t']('collaboration.closeRoom')+'('+_0x2db8c5[_0x3e82b2(0xfd)]+')'}),_0x2db8c5['id']===u['CollaborationUIEventId'][_0x3e82b2(0x15c)]&&this[_0x3e82b2(0x318)][_0x3e82b2(0x2d5)]({'type':D[_0x3e82b2(0x1c6)][_0x3e82b2(0x1bd)],'content':this['_localeService']['t'](_0x2db8c5[_0x3e82b2(0xfd)]||'')}),_0x2db8c5['id']===u[_0x3e82b2(0x1c0)][_0x3e82b2(0x12b)]&&this[_0x3e82b2(0x318)][_0x3e82b2(0x2d5)]({'type':D[_0x3e82b2(0x1c6)][_0x3e82b2(0x1bd)],'content':this[_0x3e82b2(0x238)]['t']('session.will-retry')}),_0x2db8c5['id']===u['CollaborationUIEventId'][_0x3e82b2(0x152)]&&this[_0x3e82b2(0x318)]['show']({'type':D[_0x3e82b2(0x1c6)][_0x3e82b2(0x14b)],'content':this['_localeService']['t'](_0x3e82b2(0x13a))}),_0x2db8c5['id']===u['CollaborationUIEventId'][_0x3e82b2(0x323)]&&this[_0x3e82b2(0x318)][_0x3e82b2(0x2d5)]({'type':D[_0x3e82b2(0x1c6)][_0x3e82b2(0x14b)],'content':this[_0x3e82b2(0x238)]['t'](_0x3e82b2(0x213))});}));}};q=yt([y(0x0,O[_0xe865d9(0x28f)]),y(0x1,u[_0xe865d9(0x10e)]),y(0x2,a[_0xe865d9(0x2d0)](u[_0xe865d9(0x332)])),y(0x3,O['IMessageService']),y(0x4,O['INotificationService']),y(0x5,a[_0xe865d9(0x2d0)](a['LocaleService']))],q);const $t=_0xe865d9(0x216),Ue={},Ee=a[_0xe865d9(0x11d)](_0xe865d9(0x1ac));var xt=Object[_0xe865d9(0x16f)],Bt=(_0x16ba48,_0x4a97a9,_0x183c23,_0xdeba75)=>{const _0x52e79b=_0xe865d9;for(var _0x1ae7fc=_0xdeba75>0x1?void 0x0:_0xdeba75?xt(_0x4a97a9,_0x183c23):_0x4a97a9,_0x5d6dc4=_0x16ba48[_0x52e79b(0x314)]-0x1,_0x459931;_0x5d6dc4>=0x0;_0x5d6dc4--)(_0x459931=_0x16ba48[_0x5d6dc4])&&(_0x1ae7fc=_0x459931(_0x1ae7fc)||_0x1ae7fc);return _0x1ae7fc;},F=(_0x2999cf,_0x2f6aae)=>(_0xf0a8f5,_0x4521b3)=>_0x2f6aae(_0xf0a8f5,_0x4521b3,_0x2999cf);exports[_0xe865d9(0x324)]=class extends a['RxDisposable']{constructor(_0x52b0b2,_0x42ac0a,_0x23128b,_0xaf94bd,_0x13891c){const _0x66880a=_0xe865d9;super(),this[_0x66880a(0x223)]=_0x52b0b2,this[_0x66880a(0x185)]=_0x42ac0a,this[_0x66880a(0x100)]=_0x23128b,this[_0x66880a(0x387)]=_0xaf94bd,_0x13891c?_0x13891c==null||_0x13891c[_0x66880a(0x175)]()[_0x66880a(0x211)](()=>this[_0x66880a(0x2a0)]()):(this['_logService'][_0x66880a(0x356)](_0x66880a(0x241),_0x66880a(0x1d2)),this['_init']());}async[_0xe865d9(0x2a0)](){const _0x5432c7=_0xe865d9,_0x4a9d17=this['_urlService'][_0x5432c7(0x35f)]('unit'),_0xa36cee=this[_0x5432c7(0x223)][_0x5432c7(0x35f)](_0x5432c7(0x102)),_0x1dd6c3=this[_0x5432c7(0x223)][_0x5432c7(0x35f)](_0x5432c7(0x2d8));if(!_0x4a9d17||!_0xa36cee){this['_logService'][_0x5432c7(0x356)](_0x5432c7(0x241),_0x5432c7(0x195));return;}const _0x59c2ac=await this[_0x5432c7(0x387)]['loadUnit'](_0x4a9d17,Number(_0xa36cee),_0x1dd6c3);_0x59c2ac&&_0x59c2ac instanceof a[_0x5432c7(0x1ec)]&&this['_setupSubUnitSync'](_0x59c2ac);}async['_setupSubUnitSync'](_0x1d4c83){const _0x23386e=_0xe865d9;await this[_0x23386e(0x354)](_0x1d4c83),_0x1d4c83[_0x23386e(0x2a1)][_0x23386e(0x333)](d[_0x23386e(0x17f)](this[_0x23386e(0x2b8)]))[_0x23386e(0x309)](_0x53bfbb=>{_0x53bfbb&&this['_updateURLWithCurrentState'](_0x53bfbb);}),this['_urlService'][_0x23386e(0x357)]['pipe'](d[_0x23386e(0x17f)](this[_0x23386e(0x2b8)]))[_0x23386e(0x309)](()=>this['_updateSubUnitFromURLParams'](_0x1d4c83));}['_updateURLWithCurrentState'](_0x74c387,_0x40bef2=!0x1){const _0x2b2e55=_0xe865d9,_0x14cdfe=this[_0x2b2e55(0x223)][_0x2b2e55(0x35f)](_0x2b2e55(0x2d8));_0x74c387[_0x2b2e55(0x397)]()!==_0x14cdfe&&this['_urlService'][_0x2b2e55(0x25a)](_0x2b2e55(0x2d8),_0x74c387['getSheetId'](),_0x40bef2);}async[_0xe865d9(0x354)](_0x31edd1){const _0x5463ee=_0xe865d9;var _0x2c6128;const _0x558cc4=this[_0x5463ee(0x223)][_0x5463ee(0x35f)]('subunit');if(!_0x558cc4||!_0x31edd1['getSheetBySheetId'](_0x558cc4)){const _0x8ee3dd=_0x31edd1[_0x5463ee(0x2b0)]()[0x0],_0x4a43eb=_0x31edd1['getSheetBySheetId'](_0x8ee3dd);if(!_0x4a43eb)return;this[_0x5463ee(0x1cd)](_0x4a43eb,!0x0),await this['_commandService'][_0x5463ee(0x301)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x31edd1[_0x5463ee(0x2c9)](),'subUnitId':_0x8ee3dd});return;}((_0x2c6128=_0x31edd1[_0x5463ee(0x36a)]())==null?void 0x0:_0x2c6128[_0x5463ee(0x397)]())!==_0x558cc4&&await this['_commandService'][_0x5463ee(0x301)](g[_0x5463ee(0x2d2)]['id'],{'unitId':_0x31edd1[_0x5463ee(0x2c9)](),'subUnitId':_0x558cc4});}},exports[_0xe865d9(0x324)]=Bt([F(0x0,Ee),F(0x1,a[_0xe865d9(0x1d8)]),F(0x2,a[_0xe865d9(0x1c3)]),F(0x3,a[_0xe865d9(0x2d0)](u[_0xe865d9(0x23b)])),F(0x4,a[_0xe865d9(0x230)](Ke['IRemoteInstanceService']))],exports['CollaborationDataLoaderController']);var jt=Object[_0xe865d9(0x16f)],kt=(_0x139720,_0x25e4f5,_0x5a6bca,_0x3a5f5f)=>{const _0x1d15e1=_0xe865d9;for(var _0x1732ee=_0x3a5f5f>0x1?void 0x0:_0x3a5f5f?jt(_0x25e4f5,_0x5a6bca):_0x25e4f5,_0x3628f0=_0x139720[_0x1d15e1(0x314)]-0x1,_0x380cf8;_0x3628f0>=0x0;_0x3628f0--)(_0x380cf8=_0x139720[_0x3628f0])&&(_0x1732ee=_0x380cf8(_0x1732ee)||_0x1732ee);return _0x1732ee;},ce=(_0x3677d8,_0x2fa898)=>(_0x4412ed,_0x32f004)=>_0x2fa898(_0x4412ed,_0x32f004,_0x3677d8);let z=class{constructor(_0x2ab3de,_0x3c689d,_0x46f7b2){const _0x312718=_0xe865d9;this['_injector']=_0x2ab3de,this[_0x312718(0x277)]=_0x3c689d,this[_0x312718(0x18e)]=_0x46f7b2;}[_0xe865d9(0x17e)](_0x4f5122){const _0xa74fdb=_0xe865d9;this['_transformUndoRedoStack'](_0x4f5122),this[_0xa74fdb(0x265)](_0x4f5122);}['transformRemoteChangeset'](_0x24ddb5){const _0x246eea=_0xe865d9,{unitID:_0x6f46ec}=_0x24ddb5,_0x342d5f=this[_0x246eea(0x18e)][_0x246eea(0x308)](_0x6f46ec)[_0x246eea(0x19e)](E['DocIMEInputManagerService']),{redoCache:_0x583351}=_0x342d5f[_0x246eea(0x351)]();if(_0x583351[_0x246eea(0x314)]===0x0)return _0x24ddb5;let _0x5c45f1=a[_0x246eea(0x1c5)][_0x246eea(0x171)](_0x24ddb5[_0x246eea(0x306)][0x0]);for(let _0xaa49a5=0x0;_0xaa49a5<_0x583351[_0x246eea(0x314)];_0xaa49a5++){const _0x4f2bac={'id':_0x246eea(0x1a3),'params':{..._0x583351[_0xaa49a5]}},_0x2c4801=this['_transformService'][_0x246eea(0x224)](_0x5c45f1,_0x4f2bac,!0x1);if(m[_0x246eea(0x25c)](_0x2c4801))throw _0x2c4801['error'];_0x5c45f1=_0x2c4801[_0x246eea(0x35d)];}return{...a[_0x246eea(0x1c5)][_0x246eea(0x171)](_0x24ddb5),'mutations':[_0x5c45f1]};}[_0xe865d9(0x325)](_0x5cb1ea){const _0x1833f4=_0xe865d9,{unitID:_0x53b5cf}=_0x5cb1ea,_0xe21414=this[_0x1833f4(0x18e)][_0x1833f4(0x308)](_0x53b5cf)[_0x1833f4(0x19e)](E[_0x1833f4(0x140)]),{undoCache:_0x4f128a,redoCache:_0x808a25}=_0xe21414[_0x1833f4(0x351)]();if(_0x4f128a['length']===0x0||_0x808a25[_0x1833f4(0x314)]===0x0)return;const _0x34d52e=[],_0x2661fb=[];let _0x3e83e5=a[_0x1833f4(0x1c5)][_0x1833f4(0x171)](_0x5cb1ea[_0x1833f4(0x306)][0x0]),_0x37d54f=a[_0x1833f4(0x1c5)][_0x1833f4(0x171)](_0x5cb1ea['mutations'][0x0]);for(let _0x23990e=_0x4f128a[_0x1833f4(0x314)]-0x1;_0x23990e>=0x0;_0x23990e--){const _0x50d741={'id':_0x1833f4(0x1a3),'params':{..._0x4f128a[_0x23990e]}},_0x29fad4={'id':_0x1833f4(0x1a3),'params':{..._0x808a25[_0x23990e]}},_0xb2e316=this[_0x1833f4(0x277)][_0x1833f4(0x224)](_0x3e83e5,_0x50d741,!0x1),_0x3bcede=this[_0x1833f4(0x277)][_0x1833f4(0x224)](_0x37d54f,_0x29fad4,!0x1);if(m[_0x1833f4(0x25c)](_0xb2e316))throw _0xb2e316['error'];if(m[_0x1833f4(0x25c)](_0x3bcede))throw _0x3bcede['error'];_0x34d52e['unshift'](_0xb2e316[_0x1833f4(0x160)][_0x1833f4(0x18f)]),_0x2661fb[_0x1833f4(0x1a1)](_0x3bcede[_0x1833f4(0x160)][_0x1833f4(0x18f)]),_0x3e83e5=_0xb2e316[_0x1833f4(0x35d)],_0x37d54f=_0x3bcede[_0x1833f4(0x35d)];}_0xe21414[_0x1833f4(0x28d)]({'undoCache':_0x34d52e,'redoCache':_0x2661fb});}[_0xe865d9(0x265)](_0xd70a9){const _0x35a87d=_0xe865d9,{unitID:_0x2af042}=_0xd70a9,_0x130c1c=this[_0x35a87d(0x18e)][_0x35a87d(0x308)](_0x2af042)[_0x35a87d(0x19e)](E[_0x35a87d(0x140)]),_0x44f157=_0x130c1c[_0x35a87d(0x2dd)]();if(_0x44f157==null)return;const _0x30ffd5=[{'id':_0x35a87d(0x1a3),'params':{'unitId':_0xd70a9['unitID'],'actions':null,'textRanges':[_0x44f157]}}],_0x530ad5=this[_0x35a87d(0x277)][_0x35a87d(0x23d)](_0xd70a9,_0x30ffd5);if(!m['isTransformMutationsWithChangesetSuccess'](_0x530ad5))throw _0x530ad5[_0x35a87d(0x2a7)];const _0x471dc0=_0x530ad5[_0x35a87d(0x160)][0x0][_0x35a87d(0x18f)][_0x35a87d(0x1b9)];Array[_0x35a87d(0x375)](_0x471dc0)&&_0x471dc0[_0x35a87d(0x314)]&&_0x130c1c[_0x35a87d(0x2cd)](_0x471dc0[0x0]);}};z=kt([ce(0x0,a[_0xe865d9(0x2d0)](a[_0xe865d9(0x33d)])),ce(0x1,m[_0xe865d9(0x11b)]),ce(0x2,p[_0xe865d9(0x29a)])],z);var Ft=Object[_0xe865d9(0x16f)],Ht=(_0x38fcfd,_0x30937b,_0x12eb26,_0x15511c)=>{const _0x59ea7c=_0xe865d9;for(var _0x43295c=_0x15511c>0x1?void 0x0:_0x15511c?Ft(_0x30937b,_0x12eb26):_0x30937b,_0x51437f=_0x38fcfd[_0x59ea7c(0x314)]-0x1,_0x1d2620;_0x51437f>=0x0;_0x51437f--)(_0x1d2620=_0x38fcfd[_0x51437f])&&(_0x43295c=_0x1d2620(_0x43295c)||_0x43295c);return _0x43295c;},le=(_0x563de4,_0xb581a)=>(_0x4ee3e0,_0x145a43)=>_0xb581a(_0x4ee3e0,_0x145a43,_0x563de4);let J=class{constructor(_0x873f77,_0x2e1afa,_0xf3d826){const _0x1eec1a=_0xe865d9;this[_0x1eec1a(0x280)]=_0x873f77,this[_0x1eec1a(0x277)]=_0x2e1afa,this[_0x1eec1a(0x155)]=_0xf3d826;}[_0xe865d9(0x124)](_0x4a36ff){const _0x25f0d0=_0xe865d9;this[_0x25f0d0(0x350)](_0x4a36ff);}[_0xe865d9(0x1b5)](_0x55e90b){const _0x230bdf=_0xe865d9,{unitID:_0x105773}=_0x55e90b,{collaboration:_0x3fdfa3}=this[_0x230bdf(0x155)][_0x230bdf(0x2b2)](_0x105773);if(_0x3fdfa3[_0x230bdf(0x314)]===0x0)return _0x55e90b;let _0x251394=a[_0x230bdf(0x1c5)][_0x230bdf(0x171)](_0x55e90b[_0x230bdf(0x306)][0x0]);for(let _0x1aea1a=0x0;_0x1aea1a<_0x3fdfa3[_0x230bdf(0x314)];_0x1aea1a++){const _0x4fdb00={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3fdfa3[_0x1aea1a][_0x230bdf(0x251)],..._0x3fdfa3[_0x1aea1a]['redoState']}},_0x8d13b4=this[_0x230bdf(0x277)][_0x230bdf(0x224)](_0x251394,_0x4fdb00,!0x1);if(m['isTransformMutationFailure'](_0x8d13b4))throw _0x8d13b4[_0x230bdf(0x2a7)];_0x251394=_0x8d13b4[_0x230bdf(0x35d)];}return{...a[_0x230bdf(0x1c5)][_0x230bdf(0x171)](_0x55e90b),'mutations':[_0x251394]};}[_0xe865d9(0x350)](_0x46a263){const _0x3c461e=_0xe865d9,{unitID:_0x3f2b59}=_0x46a263,{history:_0x2f0bef,collaboration:_0x44a69e}=this[_0x3c461e(0x155)]['getStateCache'](_0x3f2b59);if(_0x2f0bef[_0x3c461e(0x314)]===0x0&&_0x44a69e[_0x3c461e(0x314)]===0x0)return;const _0x5b1135=[],_0x380e99=[];let _0x51bbae=a[_0x3c461e(0x1c5)]['deepClone'](_0x46a263[_0x3c461e(0x306)][0x0]),_0x3e66ce=a['Tools']['deepClone'](_0x46a263[_0x3c461e(0x306)][0x0]);for(let _0x244e62=_0x2f0bef[_0x3c461e(0x314)]-0x1;_0x244e62>=0x0;_0x244e62--){const _0x16c6e7={'id':_0x3c461e(0x1a3),'params':{'unitId':_0x2f0bef[_0x244e62][_0x3c461e(0x251)],..._0x2f0bef[_0x244e62]['undoState']}},_0xe5b60a={'id':_0x3c461e(0x1a3),'params':{'unitId':_0x2f0bef[_0x244e62][_0x3c461e(0x251)],..._0x2f0bef[_0x244e62]['redoState']}},_0x27dd86=this[_0x3c461e(0x277)][_0x3c461e(0x224)](_0x51bbae,_0x16c6e7,!0x1),_0x3cfc78=this[_0x3c461e(0x277)]['transformMutation'](_0x3e66ce,_0xe5b60a,!0x1);if(m[_0x3c461e(0x25c)](_0x27dd86))throw _0x27dd86[_0x3c461e(0x2a7)];if(m[_0x3c461e(0x25c)](_0x3cfc78))throw _0x3cfc78[_0x3c461e(0x2a7)];_0x5b1135[_0x3c461e(0x1a1)]({..._0x2f0bef[_0x244e62],'undoState':_0x27dd86[_0x3c461e(0x160)][_0x3c461e(0x18f)],'redoState':_0x3cfc78[_0x3c461e(0x160)]['params']}),_0x51bbae=_0x27dd86[_0x3c461e(0x35d)],_0x3e66ce=_0x3cfc78['m1Prime'];}_0x51bbae=a['Tools'][_0x3c461e(0x171)](_0x46a263['mutations'][0x0]),_0x3e66ce=a[_0x3c461e(0x1c5)]['deepClone'](_0x46a263[_0x3c461e(0x306)][0x0]);for(let _0x295a97=_0x44a69e['length']-0x1;_0x295a97>=0x0;_0x295a97--){const _0x3a7f5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x44a69e[_0x295a97][_0x3c461e(0x251)],..._0x44a69e[_0x295a97][_0x3c461e(0x1a5)]}},_0x189fbd={'id':_0x3c461e(0x1a3),'params':{'unitId':_0x44a69e[_0x295a97]['unitId'],..._0x44a69e[_0x295a97][_0x3c461e(0x19c)]}},_0x5904ef=this[_0x3c461e(0x277)]['transformMutation'](_0x51bbae,_0x3a7f5,!0x1),_0x212aaf=this[_0x3c461e(0x277)][_0x3c461e(0x224)](_0x3e66ce,_0x189fbd,!0x1);if(m[_0x3c461e(0x25c)](_0x5904ef))throw _0x5904ef['error'];if(m[_0x3c461e(0x25c)](_0x212aaf))throw _0x212aaf[_0x3c461e(0x2a7)];_0x380e99[_0x3c461e(0x1a1)]({..._0x44a69e[_0x295a97],'undoState':_0x5904ef[_0x3c461e(0x160)]['params'],'redoState':_0x212aaf[_0x3c461e(0x160)][_0x3c461e(0x18f)]}),_0x51bbae=_0x5904ef[_0x3c461e(0x35d)],_0x3e66ce=_0x212aaf['m1Prime'];}this[_0x3c461e(0x155)][_0x3c461e(0x363)](_0x3f2b59,{'history':_0x5b1135,'collaboration':_0x380e99});}};J=Ht([le(0x0,a['Inject'](a[_0xe865d9(0x33d)])),le(0x1,m[_0xe865d9(0x11b)]),le(0x2,a['Inject'](E[_0xe865d9(0x27a)]))],J);var Yt=Object[_0xe865d9(0x16f)],Wt=(_0x4b5bcd,_0x4c7a54,_0x19a8a2,_0x5bed65)=>{const _0x3b704a=_0xe865d9;for(var _0x3a95ea=_0x5bed65>0x1?void 0x0:_0x5bed65?Yt(_0x4c7a54,_0x19a8a2):_0x4c7a54,_0x446361=_0x4b5bcd[_0x3b704a(0x314)]-0x1,_0x3c18b6;_0x446361>=0x0;_0x446361--)(_0x3c18b6=_0x4b5bcd[_0x446361])&&(_0x3a95ea=_0x3c18b6(_0x3a95ea)||_0x3a95ea);return _0x3a95ea;},Ne=(_0x54e819,_0x8d40fb)=>(_0x41e1c6,_0x1924ad)=>_0x8d40fb(_0x41e1c6,_0x1924ad,_0x54e819);let Z=class{constructor(_0x59f2d7,_0x86315){const _0x2dad21=_0xe865d9;this[_0x2dad21(0x280)]=_0x59f2d7,this['_transformService']=_0x86315;}[_0xe865d9(0x207)](_0x141b20){const _0x376e02=_0xe865d9;var _0x3912e2;const _0x2d0646=this[_0x376e02(0x280)][_0x376e02(0x1df)](Y[_0x376e02(0x161)]),_0x13a8f7=(_0x3912e2=_0x2d0646[_0x376e02(0x203)]())!=null?_0x3912e2:[];if(_0x13a8f7[_0x376e02(0x314)]===0x0)return;const _0x2174fe=_0x141b20['unitID'],_0x373b24=[{'id':_0x376e02(0x1a3),'params':{'unitId':_0x2174fe,'actions':null,'textRanges':_0x13a8f7}}],_0xc5a93c=this[_0x376e02(0x277)][_0x376e02(0x23d)](_0x141b20,_0x373b24);if(!m[_0x376e02(0x105)](_0xc5a93c))throw _0xc5a93c['error'];const _0x1f26be=_0xc5a93c['m2Prime'][0x0][_0x376e02(0x18f)]['textRanges'];Array[_0x376e02(0x375)](_0x1f26be)&&_0x1f26be[_0x376e02(0x314)]&&_0x2d0646[_0x376e02(0x2e1)](_0x1f26be,{'unitId':_0x2174fe,'subUnitId':_0x2174fe},!0x1);}};Z=Wt([Ne(0x0,a[_0xe865d9(0x2d0)](a[_0xe865d9(0x33d)])),Ne(0x1,m[_0xe865d9(0x11b)])],Z);var Vt=Object[_0xe865d9(0x16f)],Xt=(_0x582c72,_0x196d46,_0x196e86,_0x2476e5)=>{for(var _0x3b335f=_0x2476e5>0x1?void 0x0:_0x2476e5?Vt(_0x196d46,_0x196e86):_0x196d46,_0x2fed69=_0x582c72['length']-0x1,_0x14a904;_0x2fed69>=0x0;_0x2fed69--)(_0x14a904=_0x582c72[_0x2fed69])&&(_0x3b335f=_0x14a904(_0x3b335f)||_0x3b335f);return _0x3b335f;},N=(_0x1bb3a2,_0x3b595b)=>(_0x3aa6cb,_0x4662b3)=>_0x3b595b(_0x3aa6cb,_0x4662b3,_0x1bb3a2);let Q=class extends a[_0xe865d9(0x36c)]{constructor(_0x1aea3f,_0x2e2199,_0x2953c6,_0x1f20a5,_0x380849,_0x4d0706,_0x5aaaf1,_0x2f3377){const _0x47afe8=_0xe865d9;super(),h(this,_0x47afe8(0x1b3),new d[(_0x47afe8(0x273))](u[_0x47afe8(0x18c)][_0x47afe8(0x293)])),(this[_0x47afe8(0x155)]=_0x1aea3f,this[_0x47afe8(0x32c)]=_0x2e2199,this['_docTransformIMECacheService']=_0x2953c6,this[_0x47afe8(0x2d1)]=_0x1f20a5,this[_0x47afe8(0x2cb)]=_0x380849,this[_0x47afe8(0x20c)]=_0x4d0706,this[_0x47afe8(0x318)]=_0x5aaaf1,this[_0x47afe8(0x238)]=_0x2f3377,this[_0x47afe8(0x2ca)]());}[_0xe865d9(0x2ca)](){const _0x5b658b=_0xe865d9;this[_0x5b658b(0x11c)](this[_0x5b658b(0x32c)][_0x5b658b(0x24d)][_0x5b658b(0x309)](_0x32820a=>{const _0x5bc98c=_0x5b658b,_0x2f1635=this[_0x5bc98c(0x155)]['docStateChange$'][_0x5bc98c(0x309)](_0x38c769=>{const _0x489676=_0x5bc98c;if(_0x38c769==null)return;const {unitId:_0x375208,redoState:_0x2b02c5,commandId:_0x425d70}=_0x38c769;if(_0x375208!==_0x32820a[_0x489676(0x38f)])return;const _0x188ae8={'id':_0x425d70,'type':a[_0x489676(0x15d)][_0x489676(0xff)],'params':{'unitId':_0x375208,'actions':_0x2b02c5['actions'],'textRanges':null}};_0x32820a[_0x489676(0x388)](_0x188ae8);});if(_0x32820a[_0x5bc98c(0x11c)](_0x2f1635),_0x32820a instanceof u['DocCollaborationEntity']){const _0x8e63ab={'onTransformIME':_0x3ff45c=>this[_0x5bc98c(0x21d)][_0x5bc98c(0x17e)](_0x3ff45c),'onTransformState':_0x4074d3=>this[_0x5bc98c(0x2d1)][_0x5bc98c(0x124)](_0x4074d3),'onTransformSelections':_0x213546=>this[_0x5bc98c(0x2cb)][_0x5bc98c(0x207)](_0x213546),'onSyncEditingCollabCursor':_0x3e0c91=>this[_0x5bc98c(0x20c)]['syncEditingCollabCursor'](_0x3e0c91),'onTransformRemoteChangesetByIMECache':_0x2262c6=>this[_0x5bc98c(0x21d)]['transformRemoteChangeset'](_0x2262c6),'onTransformRemoteChangesetByStateCache':_0x43aa1c=>this[_0x5bc98c(0x2d1)][_0x5bc98c(0x1b5)](_0x43aa1c)};_0x32820a['addHandlerCallback'](_0x8e63ab);}}));}};Q=Xt([N(0x0,a[_0xe865d9(0x2d0)](E[_0xe865d9(0x27a)])),N(0x1,a[_0xe865d9(0x2d0)](u['CollaborationController'])),N(0x2,a[_0xe865d9(0x2d0)](z)),N(0x3,a[_0xe865d9(0x2d0)](J)),N(0x4,a[_0xe865d9(0x2d0)](Z)),N(0x5,a['Inject'](Ce)),N(0x6,O[_0xe865d9(0x1e2)]),N(0x7,a[_0xe865d9(0x2d0)](a[_0xe865d9(0x10a)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x673a6c,_0x51b47e,_0x39b280,_0x10dab4)=>{const _0x5a7b2f=_0xe865d9;for(var _0x30e60f=_0x10dab4>0x1?void 0x0:_0x10dab4?Gt(_0x51b47e,_0x39b280):_0x51b47e,_0x4cb865=_0x673a6c[_0x5a7b2f(0x314)]-0x1,_0x15efa3;_0x4cb865>=0x0;_0x4cb865--)(_0x15efa3=_0x673a6c[_0x4cb865])&&(_0x30e60f=_0x15efa3(_0x30e60f)||_0x30e60f);return _0x30e60f;},_e=(_0x486070,_0x2fc447)=>(_0x53b7b5,_0x10e895)=>_0x2fc447(_0x53b7b5,_0x10e895,_0x486070);let ge=class extends a[_0xe865d9(0x36c)]{constructor(_0x486749,_0x52d976,_0x373448){const _0x4ce159=_0xe865d9;super(),h(this,_0x4ce159(0x338),new Map()),h(this,_0x4ce159(0x33b),new Map()),h(this,_0x4ce159(0x2d9),!0x1),(this[_0x4ce159(0x22a)]=_0x486749,this[_0x4ce159(0x176)]=_0x52d976,this[_0x4ce159(0x376)]=_0x373448);}['disableLocalCache'](){const _0x37ecb4=_0xe865d9;this[_0x37ecb4(0x2d9)]=!0x0;}[_0xe865d9(0x1e4)](){this['_disabled']=!0x1;}get[_0xe865d9(0x1ef)](){const _0x2d7951=_0xe865d9;return this[_0x2d7951(0x33b)];}[_0xe865d9(0x370)](){const _0x43acce=_0xe865d9;this[_0x43acce(0x365)]()[_0x43acce(0x211)](()=>super[_0x43acce(0x370)]());}async[_0xe865d9(0x34e)](_0xf2393e){const _0x5e9aff=_0xe865d9;return this[_0x5e9aff(0x2d9)]?null:this[_0x5e9aff(0x176)][_0x5e9aff(0x194)](u[_0x5e9aff(0x2c2)](_0xf2393e));}async[_0xe865d9(0x1fe)](_0x54cfc4,_0x217efb){const _0x2e4bc7=_0xe865d9;return!!this[_0x2e4bc7(0x176)][_0x2e4bc7(0x1f6)](_0x54cfc4,_0x217efb);}[_0xe865d9(0x358)](_0x1b67c6,_0x1d3f1d,_0x5ac5f3,_0x26e98c){const _0x3552c6=_0xe865d9,_0x27687b=this[_0x3552c6(0x376)][_0x3552c6(0x275)](_0x1b67c6);this[_0x3552c6(0x338)]['set'](_0x1b67c6,{'unitID':_0x1b67c6,'type':_0x1d3f1d,'awaitingChangeset':_0x5ac5f3,'mutations':_0x26e98c,'rev':_0x27687b}),this['_saveTaskMap'][_0x3552c6(0x12e)](_0x1b67c6)||this[_0x3552c6(0x352)](_0x1b67c6);}[_0xe865d9(0x352)](_0x455f5b){const _0x195713=_0xe865d9,_0x152402=this['_getSaveTimeout']();_0x152402===0x0?this[_0x195713(0x27f)](_0x455f5b):this[_0x195713(0x33b)][_0x195713(0x1c4)](_0x455f5b,setTimeout(()=>this['_saveCache'](_0x455f5b),_0x152402));}[_0xe865d9(0x1e7)](){const _0xcf9e84=_0xe865d9;var _0x330328;return(_0x330328=this['_configService'][_0xcf9e84(0x371)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x330328:u[_0xcf9e84(0x190)];}[_0xe865d9(0x27f)](_0x6c795e){const _0x2b901f=_0xe865d9,_0x4af3ac=this['_saveTaskMap'][_0x2b901f(0x1df)](_0x6c795e);return _0x4af3ac!==void 0x0&&window[_0x2b901f(0x166)](_0x4af3ac),this[_0x2b901f(0x176)]['setItem'](u[_0x2b901f(0x2c2)](_0x6c795e),this[_0x2b901f(0x338)]['get'](_0x6c795e))[_0x2b901f(0x211)](()=>this[_0x2b901f(0x33b)]['delete'](_0x6c795e));}async['exhaustSavingTask'](){const _0x583e10=_0xe865d9,_0xd9d8b7=[];this[_0x583e10(0x33b)][_0x583e10(0x284)]((_0x3ac7cb,_0x15ef5e)=>{const _0x35363b=_0x583e10;window[_0x35363b(0x166)](_0x3ac7cb),_0xd9d8b7['push'](this['_saveCache'](_0x15ef5e)['then'](()=>{const _0x237d2b=_0x35363b;this[_0x237d2b(0x33b)][_0x237d2b(0x361)](_0x15ef5e);}));}),await Promise['all'](_0xd9d8b7);}};ge=Kt([_e(0x0,a[_0xe865d9(0x11e)]),_e(0x1,a[_0xe865d9(0x359)]),_e(0x2,a[_0xe865d9(0x2d0)](m[_0xe865d9(0x106)]))],ge);class Be extends a['RxDisposable']{constructor(){const _0x1a18dc=_0xe865d9;super(),h(this,'urlChange$'),this['urlChange$']=d[_0x1a18dc(0x22d)](window,'popstate')[_0x1a18dc(0x333)](d[_0x1a18dc(0x17f)](this['dispose$']),d['shareReplay'](0x1),d['mapTo'](void 0x0));}[_0xe865d9(0x25a)](_0x2f62d3,_0x2cf883,_0x334c03=!0x1){const _0x5b1c6b=_0xe865d9,_0x48571b=new URL(window['location']['href']);_0x48571b[_0x5b1c6b(0x19b)][_0x5b1c6b(0x1c4)](_0x2f62d3,_0x2cf883),_0x334c03?window[_0x5b1c6b(0x1da)][_0x5b1c6b(0xfc)]('','',_0x48571b[_0x5b1c6b(0x396)]()):window[_0x5b1c6b(0x1da)]['pushState']('','',_0x48571b[_0x5b1c6b(0x396)]());}[_0xe865d9(0x222)](_0x1c3d9c,_0x34d39e=!0x1){const _0x174732=_0xe865d9,_0x2bc6f1=new URL(window[_0x174732(0x26d)][_0x174732(0x202)]);_0x2bc6f1['searchParams'][_0x174732(0x361)](_0x1c3d9c),_0x34d39e?window['history'][_0x174732(0xfc)]('','',_0x2bc6f1[_0x174732(0x396)]()):window['history'][_0x174732(0x229)]('','',_0x2bc6f1[_0x174732(0x396)]());}[_0xe865d9(0x35f)](_0x832bae){const _0x97464d=_0xe865d9;var _0x4fc681;return(_0x4fc681=new URL(window[_0x97464d(0x26d)]['href'])[_0x97464d(0x19b)][_0x97464d(0x1df)](_0x832bae))!=null?_0x4fc681:void 0x0;}}function _0x3a4a(){const _0x28b1a7=['Optional','bottom','1em','_cursorInfo$','propertyIsEnumerable','HTTPService','blue.400','LICENSE_DISTRO_REJECTED','_localeService','generateRandomId','resize','DataLoaderService','11HbimIj','transformMutationsWithChangeset','hide','OffLineIcon','startColumn','[CollaborationDataLoaderController]','_render','addEventListener','push','tag','DesktopCollaborationStatusDisplayController','YUUMI_NO_CUBOID_FOR_QUESTION','save','transformByState','PERMISSION_DENIED','Tooltip','roomMembers$','entityInit$','off-line-icon_clip0_910_343','RxDisposable','getMergeData','unitId','transform','CONFLICT','call','setInterval','_online','handleDeleteRangeMoveLeft','backgroundColor','startRow','setParam','getFocusedUnit','isTransformMutationFailure','24935XeqDaL','xlink:href','disposeUnit','_handleHeartbeatEvent','contains','OFFLINE','APPLY_DUPLICATED','_backgroundColor','_transformPreviousActiveRange','_removeClearOtherTimer','_context','_toggleOnline','Failed','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collab-rect-range-','currentColor','location','LOGIN_FAILED','INVITE_CODE_ALREADY_BOUND','YUUMI_ALL_TABLES_IS_INVALID','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_eventUnsubscribe','BehaviorSubject','_handleLeaveEvent','getCurrentRevOfUnit','touchDependencies','_transformService','useDependency','onTransformChange$','DocStateChangeManagerService','prototype','UNAUTHENTICATED','beginPath','drawWith','_saveCache','_injector','_collabCursorController','storage','_registerDependencies','forEach','_initDependencies','ThemeService','rgba(255,\x20255,\x20255,\x200.01)','_shapes','imageSourceType','Rect','VIEW_MAIN','_anchorDot','setUndoRedoMutationParamsCache','Vector2','IBeforeCloseService','string','on-line-icon','_localCacheService','NOT_COLLAB','registerRefRange','_ensureSubject','ALREADY_EXISTS','name','source','font','IRenderManagerService','next','handleInsertCol','841473XjvQQp','top','CHANGESET_REVISION_CONFILICT','_init','activeSheet$','_getScale','mask','IURLService','complete','serializeRangeWithSheet','error','subscribeEvent','getUniverSheetInstance','CollaborationSocketService','@univerjs/docs-ui','PENDING','getMemberID','EMAIL_HAS_BEEN_BOUND','@univerjs/core','getUnhiddenWorksheets','Module','getStateCache','BrowserCollaborationSocketService','pluginName','measureText','endRow','handleMoveRange','dispose$','lineTo','_instanceService','children','_removeCollabCursors','onPointerEnter$','SHEET_VIEWPORT_KEY','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getCollabCursors$','APPLY_PERMISSION_DENIED','getLocalCacheKey','Shape','_onRefRangeChange','getValue','YUUMI_RATE_OVER_LIMIT','getMember','YUUMI_ASYNCIO_CANCELLED','getUnitId','_initEntityListener','_docTransformSelectionsService','_getSheetObject','setActiveRange','override','_hovered','Inject','_docTransformStateCacheService','SetWorksheetActivateCommand','_entities','permission.title','show','http://www.w3.org/2000/svg','max','subunit','_disabled','_config','handleInsertRangeMoveDown','symbol','getActiveRange','min','fillRule','text','replaceDocRanges','@univerjs-pro/collaboration','NOT_FOUND','SNAPSHOT_HAS_BEEN_REMOVED','getTypeOfUnitDisposed$','EMAIL_VERIFY_CODE_MISMATCH','InsertRowCommandId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','cursorInfo','_roomMembers$','send','1228752IyjHXg','engine','522546GTAXXt','black','asObservable','SYNCED','DeleteRangeMoveLeftCommandId','DisposableCollection','event$','merge','_labelPosition','handleIRemoveCol','_onCursorDelete','collabStatus.conflict','editingUnit','_syncEditingCollabCursorService','split','_hover','TEXT','defs','getCurrentSelections','executeCommand','IImageIoService','values','Unknown\x20user','evenodd','mutations','defineProperty','getRenderById','subscribe','stringify','_drawTextRange','fillText','getCurrent','width','_heartbeatTimer','trim','ISnapshotServerService','yellow.400','MemberService','length','@univerjs/design','addObject','toRgbString','_messageService','unit','_session','current','_collaborationUIEventService','@univerjs/ui','CLOSE_ROOM','restore','RemoveColCommandId','_lastPointer','_updateCollabCursors','SUBMIT_CHANGESET_TIMEOUT','CollaborationDataLoaderController','_transformUndoRedoStack','roomMembers','requireSession','red.300','_sheetSkeletonManagerService','_collabSessionService','PY_RUNTIME_SCRIPT_ERROR','_collaborationController','_color','_startSheetCollabCursor','_onCursorUpdate','getOffsetConfig','DOC_RANGE_TYPE','CollaborationUIEventService','pipe','clearInterval','toDisposable','@univerjs/network','on-line-icon_clip0_910_349','_cachedData','M0\x200H16V16H0z','post','_saveTaskMap','onRendered','Injector','[RemoteUniscriptService]:\x20no\x20focused\x20unit','InsertRangeMoveDownCommandId','useObservable','react/jsx-runtime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','AWAITING','_startDocCollabCursor','NodePositionConvertToCursor','currentTheme$','getViewport','YUUMI_CONNECTOR_URL_NOT_FOUND','registerDependencies','_name','_id','univerjs-icon\x20univerjs-icon-','TOO_MANY_REQUESTS','loadOfflineData','_handleJoinEvent','_transformHistoryAndStateStack','getUndoRedoMutationParamsCache','_scheduleSaving','includes','_updateSubUnitFromURLParams','ONLINE','debug','urlChange$','updateOfflineData','ILocalStorageService','white','241507klcHBC','RemoveRowCommandId','m1Prime','apply','getParam','arc','delete','isEditing','setStateCache','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','LICENSE_EXPORT_SIZE_EXCEEDED','_textBubble','getAncestorScale','deserializeRangeWithSheet','getActiveSheet','_entityInit$','Disposable','className','_unitOnClients','idSuffix','dispose','getConfig','UNRECOGNIZED','forwardRef','setTimeout','isArray','_revisionService','_getMergeRange','_getAnchorBounding','collabStatus.fetchMiss','_clearOtherTimers','addObjects','OTHER_CLIENTS_EDITING','ACTIVE_UNIT_EVENT_CHANNEL','closePath','runRefRangeMutations','map','unsubscribe','_beforeCloseService','body','replace','ranges','round','_dataLoaderService','onLocalMutation','labelPosition','@univerjs/engine-formula','UniverCollaborationClientUIPlugin','url(#off-line-icon_clip0_910_343)','_scheduleClearOtherTimer','_drawRectRange','unitID','_univerInstanceService','getSheetBySheetId','_draw','CollaborationStatusDisplay','fillStyle','setAlpha','toString','getSheetId','concat','4182216yyRJUM','getRangePointData','getCollabEntity$','975928kEbbTM','#FFF','range','replaceState','data','SessionStatus','MUTATION','_commandService','onMouseMove','type','WebSocketService','indexOf','isTransformMutationsWithChangesetSuccess','RevisionService','NodePositionConvertToRectRange','ColorKit','RECT','LocaleService','height','_anchor','mergeOverrideWithDependencies','ILocalCacheService','TEXT_RANGE_LAYER_INDEX','registerRenderModule','svg','path','DeleteRangeMoveUpCommandId','Rectangle','collaboration.single-unit.warning','_initEvent','_hideTimer','_initResize','focused$','makeDirty','ITransformService','disposeWithMe','createIdentifier','IConfigService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','INVALID_INVITE_CODE','debounce','SheetCollabCursorShape','282IlAgqT','transformStateCache','endColumn','MOBILE_VERIFY_CODE_MISMATCH','row','YUUMI_SUBSCRIPTION_NOT_FOUND','LICENSE_MAX_UNITS_EXCEEDED','INTERNAL_ERROR','SOCKET_FAILED_RETRY','_createSocketURL','assignAColorForMemberID','has','INVITE_CODE_REQUIRED','_colorIndex','syncEditingCollabCursor','jsxs','getCellPositionByOffset','0\x200\x2017\x2016','find','onPointerLeave$','BuiltInUIPart','filter','useRef','session.connection-failed','UniverInstanceType','permission.content','findNodePositionByCharIndex','CollaborationEvent','_unitStatus','DocIMEInputManagerService','collab-client.tooltip.reconnect','ISocketService','_refreshCollabCursors','setShapeProps','handleInsertRow','collabStatus.syncing','getColor','APPLY_REVISION_CONFILICT','green.600','cursorInfo$','Error','entries','_docSkeletonManagerService','invokeId','getSkeleton','UNIVER_DOC','_initStatusListener','SOCKET_FAILED','url(#$1','@univerjs/engine-render','_docStateChangeManagerService','DocSkeletonManagerService','_colorAssignService','_themeService','univer-flex\x20univer-items-center','univer-mr-2\x20univer-flex\x20univer-text-xl','_collabCursorState$','JOIN_ROOM_FAILED','CommandType','unload','_document','m2Prime','DocSelectionManagerService','memberID','ENSURE_SNAPSHOT_EXECUTION','color','USERS_LEAVE','clearTimeout','OTHER_CLIENT_EDITING','COMPLETION_FINISHED','debounceTime','icon','some','extend','_toggleOffline','div','getOwnPropertyDescriptor','getTypeOfUnitAdded$','deepClone','SetDocZoomRatioOperation','reconnect','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','whenReady','_localStorageService','collab-text-anchor-','random','displayName','INVALID_ARGUMENT','UPDATE_CURSOR','EffectRefRangId','_refRangeService','transformIMECache','takeUntil','eventID','addClipboardHook','getCoordByCell','IUniverInstanceService','selection','_logService','_updateLocalCursor','distinctUntilChanged','clipPath','code','RemoteUniscriptService','moveTo','CollaborationStatus','sessionStatus$','_renderManagerService','params','LOCAL_CACHE_INTERVAL','runOnServer','_handleHover','InsertRangeMoveRightCommandId','getItem','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COLORS','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','search','jsx','searchParams','redoState','UnitStatus','with','switchMap','@univerjs/sheets','unshift','collaboration-client.offline-data-not-saved','doc.mutation.rich-text-editing','SetSelectionsOperation','undoState','APPLY_NON_SEQUENTIAL_REVISION','SheetsSelectionsService','_cursors','hasOwnProperty','combineLatest','USER_NOT_INVITED_CODE','uni.network.url-service','SheetSkeletonManagerService','defIds','_range','getOwnPropertySymbols','YUUMI_AI_RUN_FAILED','_handleEvent','_status$','AWAITING_WITH_PENDING','transformRemoteChangeset','isActive','getColorFromTheme','MoveRangeCommandId','textRanges','OnLineIcon','attrs','2rIHWrJ','Warning','createInstance','throttleTime','CollaborationUIEventId','registerBeforeClose','rxjs','ICommandService','set','Tools','MessageType','42GOUiqU','0\x200\x2016\x2016','DependentOn','flatMap','useCallback','handleDeleteRangeMoveUp','_updateURLWithCurrentState','init','column','currentSkeleton$','fill','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','clsx','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','_initStatusComponent','Subject','RichTextEditingMutation','ILogService','toStringTag','history','_cursorShapes','IDocClipboardService','CONNECTOR_DATA_TOO_LARGE','/run/','get','translate(.97)','@univerjs/rpc','IMessageService','_httpService','enableLocalCache','_registerRenderDependencies','triggerDblclick','_getSaveTimeout','from','origin','getCurrentUnitForType','_setupBeforeClosingHandler','Workbook','collabStatus.synced','IUIPartsService','saveTaskMap','fromEventSubject','SetTextSelectionsOperation','_getSessionTicket','_docClipboardService','MOBILE_HAS_BEEN_BOUND','collaboration.closeRoom','setItem','url(#on-line-icon_clip0_910_349)','_notificationService','UNIVER_SHEET','saveImage','size','_memberService','RefRangeService','saveOfflineData','newValue','WebURLService','result','href','getDocRanges','runId','collabCursorState$','_selfUnitIDs','transformSelections','_imageIoService','_uiPartsService','add','_scene','_docSyncEditingCollabCursorService','off-line-icon','APPLY_REJECT','createElement','getRelativeToViewportCoord','then','SNAPSHOT_INVALID_SNAPSHOT','session.collaboration-timeout','onCommandExecuted','assign','collaboration-client-ui.config','_send','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_scheduleHeartbeat','NO_OTHER_CLIENTS_EDITING','_assignedColors','10aKnJJY','_docTransformIMECacheService','onStarting','@univerjs/docs','_drawAnchor','getVpScrollXYInfoByPosToVp','removeParam','_urlService','transformMutation','colorChannel1','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Plugin','pushState','_configService','parse','handleIRemoveRow','fromEvent','none','_cursor'];_0x3a4a=function(){return _0x28b1a7;};return _0x3a4a();}var qt=Object[_0xe865d9(0x307)],zt=Object[_0xe865d9(0x16f)],Jt=(_0x53e2c7,_0x492524,_0xeb0f05)=>_0x492524 in _0x53e2c7?qt(_0x53e2c7,_0x492524,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xeb0f05}):_0x53e2c7[_0x492524]=_0xeb0f05,Zt=(_0x479b9e,_0x4b19f5,_0x4b76fa,_0x7178c6)=>{for(var _0x101104=_0x7178c6>0x1?void 0x0:_0x7178c6?zt(_0x4b19f5,_0x4b76fa):_0x4b19f5,_0x35d0d7=_0x479b9e['length']-0x1,_0x65f799;_0x35d0d7>=0x0;_0x35d0d7--)(_0x65f799=_0x479b9e[_0x35d0d7])&&(_0x101104=_0x65f799(_0x101104)||_0x101104);return _0x101104;},he=(_0x2ae6d9,_0x454b23)=>(_0x26a991,_0x48c7e3)=>_0x454b23(_0x26a991,_0x48c7e3,_0x2ae6d9),Qt=(_0x2896e5,_0x44f239,_0x48bad8)=>Jt(_0x2896e5,_0x44f239+'',_0x48bad8);const es=_0xe865d9(0x227);exports[_0xe865d9(0x38b)]=class extends a[_0xe865d9(0x228)]{constructor(_0x5db97a=Ue,_0x25c777,_0x5a8eee,_0x5505e4){const _0x5b3419=_0xe865d9;super(),this['_config']=_0x5db97a,this['_renderManagerService']=_0x25c777,this[_0x5b3419(0x280)]=_0x5a8eee,this[_0x5b3419(0x22a)]=_0x5505e4;const {..._0x4524eb}=a[_0x5b3419(0x2f5)]({},Ue,this[_0x5b3419(0x2da)]);this[_0x5b3419(0x22a)]['setConfig']($t,_0x4524eb);}[_0xe865d9(0x21e)](){const _0x4f7198=_0xe865d9;this[_0x4f7198(0x283)](),this[_0x4f7198(0x285)]();}[_0xe865d9(0x33c)](){const _0x160f4c=_0xe865d9;this[_0x160f4c(0x1e5)]();}[_0xe865d9(0x283)](){const _0x453736=_0xe865d9;var _0x4f72f9;const _0x1ecd5b=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G[_0x453736(0x142)],{'useClass':G[_0x453736(0x103)]}],[u[_0x453736(0x10e)],{'useClass':ge}],[exports[_0x453736(0x246)]],[Q],[q],[x],[de],[exports[_0x453736(0x324)]]];a[_0x453736(0x349)](this[_0x453736(0x280)],a[_0x453736(0x10d)](_0x1ecd5b,(_0x4f72f9=this['_config'])==null?void 0x0:_0x4f72f9[_0x453736(0x2ce)]));}[_0xe865d9(0x1e5)](){const _0x2f6dad=_0xe865d9;this['disposeWithMe'](this[_0x2f6dad(0x18e)][_0x2f6dad(0x110)](a[_0x2f6dad(0x13b)][_0x2f6dad(0x150)],[fe])),this[_0x2f6dad(0x11c)](this[_0x2f6dad(0x18e)][_0x2f6dad(0x110)](a[_0x2f6dad(0x13b)][_0x2f6dad(0x1f9)],[ve]));}['_initDependencies'](){const _0x29e441=_0xe865d9;a[_0x29e441(0x276)](this[_0x29e441(0x280)],[[x],[exports[_0x29e441(0x246)]],[Q],[q],[exports[_0x29e441(0x324)]]]);}},Qt(exports[_0xe865d9(0x38b)],_0xe865d9(0x2b4),es),exports[_0xe865d9(0x38b)]=Zt([a[_0xe865d9(0x1c9)](u['UniverCollaborationClientPlugin']),he(0x1,p['IRenderManagerService']),he(0x2,a[_0xe865d9(0x2d0)](a['Injector'])),he(0x3,a['IConfigService'])],exports[_0xe865d9(0x38b)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x1eab19,_0xc69cf0,_0x365b48,_0x20a316)=>{const _0x3838b0=_0xe865d9;for(var _0xb44833=_0x20a316>0x1?void 0x0:_0x20a316?ts(_0xc69cf0,_0x365b48):_0xc69cf0,_0x4257e0=_0x1eab19[_0x3838b0(0x314)]-0x1,_0x1280a1;_0x4257e0>=0x0;_0x4257e0--)(_0x1280a1=_0x1eab19[_0x4257e0])&&(_0xb44833=_0x1280a1(_0xb44833)||_0xb44833);return _0xb44833;},H=(_0x3aa453,_0x31952d)=>(_0x1201c2,_0x37a8ef)=>_0x31952d(_0x1201c2,_0x37a8ef,_0x3aa453);exports[_0xe865d9(0x2b3)]=class extends u[_0xe865d9(0x2aa)]{constructor(_0x34667b,_0x382bf6,_0x481d59,_0x54df62,_0x344594){super(_0x34667b,_0x382bf6,_0x481d59,_0x54df62,_0x344594);}async['createSocket'](_0xa810e0){const _0x1fcf04=_0xe865d9,_0x4353e5=await this['_getSessionTicket'](),_0x5660d8=this[_0x1fcf04(0x12c)](_0xa810e0,_0x4353e5);return this['_doCreateSocket'](_0x5660d8);}[_0xe865d9(0x12c)](_0x1850f5,_0x25a44b){const _0x44a7ba=_0xe865d9,_0x2afa08=typeof window>'u'?new URL(_0x1850f5):new URL(_0x1850f5,window[_0x44a7ba(0x26d)][_0x44a7ba(0x1e9)]);_0x2afa08['searchParams'][_0x44a7ba(0x1c4)]('sessionTicket',_0x25a44b);const _0x14e761=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x44a7ba(0x26d)][_0x44a7ba(0x199)]);return _0x14e761['get'](_0x44a7ba(0x204))&&_0x2afa08[_0x44a7ba(0x19b)][_0x44a7ba(0x1c4)](_0x44a7ba(0x204),_0x14e761[_0x44a7ba(0x1df)](_0x44a7ba(0x204))),_0x2afa08[_0x44a7ba(0x396)]();}async[_0xe865d9(0x1f2)](){const _0x5e3076=_0xe865d9;var _0x581811,_0x44bc4e,_0xd35a73;const _0x34e729=this[_0x5e3076(0x22a)]['getConfig'](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1a35dc=(_0x581811=_0x34e729==null?void 0x0:_0x34e729['wsSessionTicketUrl'])!=null?_0x581811:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xd35a73=(_0x44bc4e=(await this['_httpService'][_0x5e3076(0x1df)](_0x1a35dc,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x44bc4e['ticket'])!=null?_0xd35a73:'';}},exports['BrowserCollaborationSocketService']=ss([H(0x0,a[_0xe865d9(0x2d0)](a[_0xe865d9(0x33d)])),H(0x1,a[_0xe865d9(0x2d0)](G[_0xe865d9(0x235)])),H(0x2,a[_0xe865d9(0x11e)]),H(0x3,a['ILogService']),H(0x4,m[_0xe865d9(0x311)])],exports[_0xe865d9(0x2b3)]);const Me=0x7530,Le=_0xe865d9(0x37d);class is extends a[_0xe865d9(0x36c)]{constructor(){const _0x3449a2=_0xe865d9;super(),h(this,_0x3449a2(0x34b),a['generateRandomId']()),h(this,_0x3449a2(0x206),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x3449a2(0x30f),null),h(this,_0x3449a2(0x37a),new Map()),h(this,_0x3449a2(0x13f),new Map()),this[_0x3449a2(0x2a0)]();}[_0xe865d9(0x370)](){const _0x161eaf=_0xe865d9;super['dispose'](),this[_0x161eaf(0x37a)]['forEach']((_0x13a4a1,_0x2d66fd)=>this[_0x161eaf(0x266)](_0x2d66fd)),this[_0x161eaf(0x30f)]&&window[_0x161eaf(0x334)](this[_0x161eaf(0x30f)]);}['getUnitStatus$'](_0x7657cb){const _0x361973=_0xe865d9;return this['_ensureSubject'](_0x7657cb)['pipe'](d[_0x361973(0x187)]());}[_0xe865d9(0x2fa)](_0x1d32d0){const _0x57f1b9=_0xe865d9;this[_0x57f1b9(0x206)]['size']===0x0&&this[_0x57f1b9(0x219)](),this[_0x57f1b9(0x206)][_0x57f1b9(0x20a)](_0x1d32d0),this[_0x57f1b9(0x217)]({'type':0x0,'memberID':this[_0x57f1b9(0x34b)],'unitIDs':[_0x1d32d0],'isForwarded':!0x1});}[_0xe865d9(0x25f)](_0x2ab1d9){const _0x9bcd9f=_0xe865d9;this['_selfUnitIDs'][_0x9bcd9f(0x361)](_0x2ab1d9),this[_0x9bcd9f(0x206)]['size']===0x0&&this[_0x9bcd9f(0x30f)]&&window['clearInterval'](this[_0x9bcd9f(0x30f)]);}[_0xe865d9(0x2a0)](){const _0x5c80e7=_0xe865d9;this[_0x5c80e7(0x11c)](a[_0x5c80e7(0x335)](d[_0x5c80e7(0x22d)](window,_0x5c80e7(0x282))[_0x5c80e7(0x309)](_0x477321=>{const _0x218136=_0x5c80e7;if(_0x477321['key']!==Le||!_0x477321[_0x218136(0x1ff)])return;const _0x4482e1=JSON[_0x218136(0x22b)](_0x477321[_0x218136(0x1ff)]);this[_0x218136(0x1b2)](_0x4482e1);}))),window[_0x5c80e7(0x243)](_0x5c80e7(0x15e),()=>this[_0x5c80e7(0x217)]({'type':0x1,'memberID':this[_0x5c80e7(0x34b)],'unitIDs':Array[_0x5c80e7(0x1e8)](this[_0x5c80e7(0x206)])}));}['_handleEvent'](_0x50cbe7){const _0x4bbb17=_0xe865d9;switch(_0x50cbe7[_0x4bbb17(0x102)]){case 0x0:this[_0x4bbb17(0x34f)](_0x50cbe7);break;case 0x1:this[_0x4bbb17(0x274)](_0x50cbe7);break;case 0x2:this[_0x4bbb17(0x260)](_0x50cbe7);break;}}['_handleJoinEvent'](_0x440375){const _0x16750f=_0xe865d9,{unitIDs:_0x58181b,memberID:_0xaa5e36,isForwarded:_0x5be1c2}=_0x440375;_0x58181b[_0x16750f(0x284)](_0x405fe7=>{const _0x41f537=_0x16750f;if(!_0x5be1c2&&this[_0x41f537(0x36e)][_0x41f537(0x12e)](_0x405fe7)&&this[_0x41f537(0x295)](_0x405fe7)['next'](u[_0x41f537(0x19d)]['OTHER_CLIENTS_EDITING']),!this[_0x41f537(0x36e)][_0x41f537(0x12e)](_0x405fe7)||!this[_0x41f537(0x36e)][_0x41f537(0x1df)](_0x405fe7)[_0x41f537(0x12e)](_0xaa5e36)){const _0x922727=this['_unitOnClients'][_0x41f537(0x1df)](_0x405fe7)||new Set();_0x922727['add'](_0xaa5e36),this[_0x41f537(0x36e)][_0x41f537(0x1c4)](_0x405fe7,_0x922727),this[_0x41f537(0x38d)](_0xaa5e36);}}),_0x5be1c2||this['_send']({'type':0x0,'memberID':this[_0x16750f(0x34b)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xe865d9(0x38d)](_0x1b15bc){const _0x17382b=_0xe865d9;this[_0x17382b(0x266)](_0x1b15bc);const _0x2a562c=window[_0x17382b(0x374)](()=>{const _0x1059b4=_0x17382b;this[_0x1059b4(0x36e)][_0x1059b4(0x284)](_0x4601ad=>{const _0x461d8f=_0x1059b4;_0x4601ad[_0x461d8f(0x361)](_0x1b15bc);});},Me*0x2);this[_0x17382b(0x37a)][_0x17382b(0x1c4)](_0x1b15bc,_0x2a562c);}[_0xe865d9(0x266)](_0x19273d){const _0x57aac1=_0xe865d9;if(this['_clearOtherTimers'][_0x57aac1(0x12e)](_0x19273d)){const _0x38d20d=this[_0x57aac1(0x37a)][_0x57aac1(0x1df)](_0x19273d);_0x38d20d&&window[_0x57aac1(0x166)](_0x38d20d),this[_0x57aac1(0x37a)]['set'](_0x19273d,null);}}[_0xe865d9(0x274)](_0x1af3c6){const _0x3d8a0b=_0xe865d9,{memberID:_0x1b9f16,unitIDs:_0x32059a}=_0x1af3c6;_0x32059a[_0x3d8a0b(0x284)](_0x53db0f=>{const _0x19aa50=_0x3d8a0b;var _0x403cb1;const _0x4d236d=this[_0x19aa50(0x36e)]['get'](_0x53db0f);_0x4d236d&&(_0x4d236d['delete'](_0x1b9f16),(_0x403cb1=this[_0x19aa50(0x295)](_0x53db0f))==null||_0x403cb1[_0x19aa50(0x29b)](_0x4d236d[_0x19aa50(0x1fb)]===0x0?u[_0x19aa50(0x19d)][_0x19aa50(0x21a)]:u[_0x19aa50(0x19d)][_0x19aa50(0x37c)]));}),this[_0x3d8a0b(0x266)](_0x1b9f16);}[_0xe865d9(0x260)](_0x145e96){const _0x7c2a5e=_0xe865d9;this[_0x7c2a5e(0x38d)](_0x145e96[_0x7c2a5e(0x162)]);}[_0xe865d9(0x217)](_0x21c3ae){localStorage['setItem'](Le,JSON['stringify'](_0x21c3ae));}[_0xe865d9(0x219)](){const _0xfa33de=_0xe865d9;this[_0xfa33de(0x30f)]=window[_0xfa33de(0x255)](()=>{const _0x39bc9f=_0xfa33de;this[_0x39bc9f(0x217)]({'type':0x2,'memberID':this[_0x39bc9f(0x34b)]});},Me);}[_0xe865d9(0x295)](_0x428a27){const _0x5b5667=_0xe865d9;return this[_0x5b5667(0x13f)][_0x5b5667(0x12e)](_0x428a27)||this[_0x5b5667(0x13f)][_0x5b5667(0x1c4)](_0x428a27,new d[(_0x5b5667(0x273))](u[_0x5b5667(0x19d)][_0x5b5667(0x21a)])),this[_0x5b5667(0x13f)][_0x5b5667(0x1df)](_0x428a27);}}var je=(_0x54e641=>(_0x54e641[_0x54e641['UNDEFINED']=0x0]='UNDEFINED',_0x54e641[_0x54e641['OK']=0x1]='OK',_0x54e641[_0x54e641[_0xe865d9(0x12a)]=0x2]=_0xe865d9(0x12a),_0x54e641[_0x54e641['PERMISSION_DENIED']=0x3]=_0xe865d9(0x24a),_0x54e641[_0x54e641['NOT_FOUND']=0x4]=_0xe865d9(0x2e3),_0x54e641[_0x54e641[_0xe865d9(0x27c)]=0x5]=_0xe865d9(0x27c),_0x54e641[_0x54e641[_0xe865d9(0x296)]=0x6]=_0xe865d9(0x296),_0x54e641[_0x54e641[_0xe865d9(0x17a)]=0x7]=_0xe865d9(0x17a),_0x54e641[_0x54e641[_0xe865d9(0x34d)]=0x8]=_0xe865d9(0x34d),_0x54e641[_0x54e641[_0xe865d9(0x168)]=0x9]=_0xe865d9(0x168),_0x54e641[_0x54e641['LOGIN_FAILED']=0xa]=_0xe865d9(0x26e),_0x54e641[_0x54e641[_0xe865d9(0x126)]=0xb]=_0xe865d9(0x126),_0x54e641[_0x54e641['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54e641[_0x54e641[_0xe865d9(0x2e6)]=0xd]=_0xe865d9(0x2e6),_0x54e641[_0x54e641[_0xe865d9(0x364)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54e641[_0x54e641[_0xe865d9(0x29f)]=0x1389]=_0xe865d9(0x29f),_0x54e641[_0x54e641[_0xe865d9(0x212)]=0x1771]=_0xe865d9(0x212),_0x54e641[_0x54e641['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xe865d9(0x2e4),_0x54e641[_0x54e641[_0xe865d9(0x163)]=0x1773]=_0xe865d9(0x163),_0x54e641[_0x54e641[_0xe865d9(0x20e)]=0x1b59]='APPLY_REJECT',_0x54e641[_0x54e641[_0xe865d9(0x1a6)]=0x1b5a]=_0xe865d9(0x1a6),_0x54e641[_0x54e641['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xe865d9(0x148),_0x54e641[_0x54e641[_0xe865d9(0x2c1)]=0x1b5c]=_0xe865d9(0x2c1),_0x54e641[_0x54e641[_0xe865d9(0x263)]=0x1b5d]=_0xe865d9(0x263),_0x54e641[_0x54e641[_0xe865d9(0x1dd)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x54e641[_0x54e641[_0xe865d9(0x129)]=0x2329]=_0xe865d9(0x129),_0x54e641[_0x54e641['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x54e641[_0x54e641[_0xe865d9(0x197)]=0x232b]=_0xe865d9(0x197),_0x54e641[_0x54e641[_0xe865d9(0x366)]=0x232c]=_0xe865d9(0x366),_0x54e641[_0x54e641[_0xe865d9(0x237)]=0x232d]=_0xe865d9(0x237),_0x54e641[_0x54e641['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x54e641[_0x54e641[_0xe865d9(0x198)]=0x2712]=_0xe865d9(0x198),_0x54e641[_0x54e641[_0xe865d9(0x2c6)]=0x2713]=_0xe865d9(0x2c6),_0x54e641[_0x54e641[_0xe865d9(0x128)]=0x2714]=_0xe865d9(0x128),_0x54e641[_0x54e641[_0xe865d9(0x247)]=0x271a]=_0xe865d9(0x247),_0x54e641[_0x54e641[_0xe865d9(0x2c8)]=0x271b]=_0xe865d9(0x2c8),_0x54e641[_0x54e641['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xe865d9(0x342),_0x54e641[_0x54e641[_0xe865d9(0x270)]=0x271d]=_0xe865d9(0x270),_0x54e641[_0x54e641[_0xe865d9(0x2e8)]=0x271e]=_0xe865d9(0x2e8),_0x54e641[_0x54e641[_0xe865d9(0x1b1)]=0x271f]=_0xe865d9(0x1b1),_0x54e641[_0x54e641[_0xe865d9(0x348)]=0x2720]=_0xe865d9(0x348),_0x54e641[_0x54e641[_0xe865d9(0x32b)]=0x2af9]=_0xe865d9(0x32b),_0x54e641[_0x54e641['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x54e641[_0x54e641[_0xe865d9(0x120)]=0x2ee2]=_0xe865d9(0x120),_0x54e641[_0x54e641[_0xe865d9(0x12f)]=0x2ee3]=_0xe865d9(0x12f),_0x54e641[_0x54e641[_0xe865d9(0x1ab)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x54e641[_0x54e641[_0xe865d9(0x26f)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x54e641[_0x54e641['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x54e641[_0x54e641[_0xe865d9(0x1f4)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x54e641[_0x54e641['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xe865d9(0x2ae),_0x54e641[_0x54e641[_0xe865d9(0x372)]=-0x1]=_0xe865d9(0x372),_0x54e641))(je||{}),ns=Object[_0xe865d9(0x16f)],rs=(_0x52c813,_0x3d6708,_0x4f9ee8,_0xb2f086)=>{const _0x1054a7=_0xe865d9;for(var _0x890bcf=_0xb2f086>0x1?void 0x0:_0xb2f086?ns(_0x3d6708,_0x4f9ee8):_0x3d6708,_0x3f7c42=_0x52c813[_0x1054a7(0x314)]-0x1,_0x4d5869;_0x3f7c42>=0x0;_0x3f7c42--)(_0x4d5869=_0x52c813[_0x3f7c42])&&(_0x890bcf=_0x4d5869(_0x890bcf)||_0x890bcf);return _0x890bcf;},ue=(_0x371a8c,_0x1f9301)=>(_0xcb0420,_0x7d5bc3)=>_0x1f9301(_0xcb0420,_0x7d5bc3,_0x371a8c);exports['RemoteUniscriptService']=class extends a[_0xe865d9(0x36c)]{constructor(_0x238932,_0x36e639,_0x388c2b){const _0x5f6cb8=_0xe865d9;super(),this[_0x5f6cb8(0x2ba)]=_0x238932,this[_0x5f6cb8(0x1e3)]=_0x36e639,this[_0x5f6cb8(0x22a)]=_0x388c2b;}async[_0xe865d9(0x191)](_0xf99908,_0x4085e7,_0x11dfca,..._0x5589d3){const _0x4274ba=_0xe865d9;var _0xf7c37f,_0x468c57,_0x4ba43e,_0x39ad33;const _0x196ed2=this[_0x4274ba(0x2ba)][_0x4274ba(0x25b)]();if(!_0x196ed2)throw new Error(_0x4274ba(0x33e));const _0x21f4ac=((_0xf7c37f=this['_configService'][_0x4274ba(0x371)](u[_0x4274ba(0x2bf)]))!=null?_0xf7c37f:u[_0x4274ba(0x26a)])+'/'+_0xf99908+_0x4274ba(0x1de)+_0x4085e7,_0x5ee6f8=new URL(window[_0x4274ba(0x26d)][_0x4274ba(0x202)]),_0x349ab0={'scriptId':_0xf99908,'runId':(_0x468c57=_0x5ee6f8[_0x4274ba(0x19b)][_0x4274ba(0x1df)](_0x4274ba(0x204)))!=null?_0x468c57:'','function':_0x4085e7,'unitId':_0x196ed2['getUnitId'](),'argsOfFunction':JSON[_0x4274ba(0x30a)](_0x5589d3),'invokeId':(_0x4ba43e=_0x11dfca[_0x4274ba(0x14e)])!=null?_0x4ba43e:'','executionId':(_0x39ad33=_0x11dfca['executionId'])!=null?_0x39ad33:''};try{const _0x47b97d=await this['_httpService'][_0x4274ba(0x33a)](_0x21f4ac,{'body':_0x349ab0});return _0x47b97d[_0x4274ba(0x383)][_0x4274ba(0x2a7)]&&_0x47b97d['body'][_0x4274ba(0x2a7)][_0x4274ba(0x189)]!==je['OK']?_0x4274ba(0x269):_0x47b97d['body'][_0x4274ba(0x201)];}catch{return _0x4274ba(0x269);}}},exports['RemoteUniscriptService']=rs([ue(0x0,a[_0xe865d9(0x183)]),ue(0x1,a['Inject'](G['HTTPService'])),ue(0x2,a[_0xe865d9(0x11e)])],exports[_0xe865d9(0x18a)]),exports[_0xe865d9(0x393)]=xe,exports[_0xe865d9(0x2a4)]=Ee,exports[_0xe865d9(0x122)]=we,exports['WebBrowserSingleActiveUnitService']=is,exports[_0xe865d9(0x200)]=Be;
@@ -1 +1 @@
1
- 'use strict';const _0x430930=_0x1258;function _0x3f82(){const _0x502d4f=['Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','exports','Collaboration\x20Conflict','1967032YbKXbq','2907230xCSKOW','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.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3850548KEmRiN','Edit\x20conflicts','8793oMxpEy','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2140828sacIjX','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','188bEgfUw','6473556Pievay','164700oJJVkW','Syncing...','Local\x20file','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','14IwDCoq','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x3f82=function(){return _0x502d4f;};return _0x3f82();}(function(_0x1ccdc7,_0x5123b7){const _0x4c2a3e=_0x1258,_0x445738=_0x1ccdc7();while(!![]){try{const _0xdfab31=parseInt(_0x4c2a3e(0x12d))/0x1+-parseInt(_0x4c2a3e(0x12b))/0x2*(parseInt(_0x4c2a3e(0x127))/0x3)+-parseInt(_0x4c2a3e(0x129))/0x4+parseInt(_0x4c2a3e(0x121))/0x5+parseInt(_0x4c2a3e(0x125))/0x6+-parseInt(_0x4c2a3e(0x132))/0x7*(-parseInt(_0x4c2a3e(0x120))/0x8)+-parseInt(_0x4c2a3e(0x12c))/0x9;if(_0xdfab31===_0x5123b7)break;else _0x445738['push'](_0x445738['shift']());}catch(_0x1f67c9){_0x445738['push'](_0x445738['shift']());}}}(_0x3f82,0x555d9));function _0x1258(_0x38f918,_0x37b441){const _0x3f82ee=_0x3f82();return _0x1258=function(_0x1258aa,_0x52d8ec){_0x1258aa=_0x1258aa-0x11e;let _0x5448f9=_0x3f82ee[_0x1258aa];return _0x5448f9;},_0x1258(_0x38f918,_0x37b441);}const e={'collab-client':{'tooltip':{'reconnect':_0x430930(0x130)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x430930(0x126),'notCollab':_0x430930(0x12f),'synced':'Synced','syncing':_0x430930(0x12e),'offline':_0x430930(0x134)},'session':{'connection-failed':_0x430930(0x123),'will-retry':_0x430930(0x135),'room-full':_0x430930(0x133),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x430930(0x11f),'content':_0x430930(0x122)},'permission':{'title':'Authentication\x20Error','content':_0x430930(0x131)},'collaboration':{'single-unit':{'warning':_0x430930(0x128)},'closeRoom':_0x430930(0x12a)},'auth':{'needGotoLoginAlert':_0x430930(0x124)}};module[_0x430930(0x11e)]=e;
1
+ 'use strict';function _0xede3(_0x48e204,_0x41688b){const _0x4a0ade=_0x4a0a();return _0xede3=function(_0xede323,_0x167216){_0xede323=_0xede323-0xa0;let _0x26911d=_0x4a0ade[_0xede323];return _0x26911d;},_0xede3(_0x48e204,_0x41688b);}const _0x2e1641=_0xede3;(function(_0x4bf4ed,_0x394462){const _0x4d5c96=_0xede3,_0xdc67a8=_0x4bf4ed();while(!![]){try{const _0xcd98a6=-parseInt(_0x4d5c96(0xa2))/0x1+-parseInt(_0x4d5c96(0xaf))/0x2+-parseInt(_0x4d5c96(0xa4))/0x3*(parseInt(_0x4d5c96(0xa5))/0x4)+-parseInt(_0x4d5c96(0xb4))/0x5+-parseInt(_0x4d5c96(0xab))/0x6*(parseInt(_0x4d5c96(0xa7))/0x7)+parseInt(_0x4d5c96(0xa8))/0x8+parseInt(_0x4d5c96(0xa0))/0x9;if(_0xcd98a6===_0x394462)break;else _0xdc67a8['push'](_0xdc67a8['shift']());}catch(_0x57a236){_0xdc67a8['push'](_0xdc67a8['shift']());}}}(_0x4a0a,0x9b7dd));const e={'collab-client':{'tooltip':{'reconnect':_0x2e1641(0xb0)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x2e1641(0xa6),'syncing':_0x2e1641(0xac),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x2e1641(0xae),'room-full':_0x2e1641(0xa3),'collaboration-timeout':_0x2e1641(0xaa)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x2e1641(0xb2)},'permission':{'title':_0x2e1641(0xb1),'content':_0x2e1641(0xad)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2e1641(0xa1)},'auth':{'needGotoLoginAlert':_0x2e1641(0xa9)}};module[_0x2e1641(0xb3)]=e;function _0x4a0a(){const _0x26fda8=['9250744wFVItu','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','180ednpcm','Syncing...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1312164fPpdrJ','Click\x20to\x20Reconnect','Authentication\x20Error','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.','exports','4581110lOeXbB','28765584sDIsSX','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','707696PBlCmP','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','12QbgIFC','1265016AjDPtK','Synced','39809RaWVUC'];_0x4a0a=function(){return _0x26fda8;};return _0x4a0a();}