@univerjs-pro/collaboration-client-ui 0.10.6 → 0.10.7

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 (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1288(_0x13a4d0,_0x4ab7a1){const _0x782057=_0x7820();return _0x1288=function(_0x128846,_0x33a3a6){_0x128846=_0x128846-0x1a7;let _0x151db0=_0x782057[_0x128846];return _0x151db0;},_0x1288(_0x13a4d0,_0x4ab7a1);}(function(_0x1382e4,_0x8a40d4){const _0xc95b48=_0x1288,_0x5c6b29=_0x1382e4();while(!![]){try{const _0x31aa8f=-parseInt(_0xc95b48(0x380))/0x1+parseInt(_0xc95b48(0x3c2))/0x2+-parseInt(_0xc95b48(0x3ac))/0x3*(-parseInt(_0xc95b48(0x334))/0x4)+-parseInt(_0xc95b48(0x28d))/0x5+-parseInt(_0xc95b48(0x3f5))/0x6*(-parseInt(_0xc95b48(0x238))/0x7)+-parseInt(_0xc95b48(0x38d))/0x8*(-parseInt(_0xc95b48(0x3be))/0x9)+-parseInt(_0xc95b48(0x2f3))/0xa;if(_0x31aa8f===_0x8a40d4)break;else _0x5c6b29['push'](_0x5c6b29['shift']());}catch(_0x1efaaa){_0x5c6b29['push'](_0x5c6b29['shift']());}}}(_0x7820,0xaad5b),function(_0x3b49df,_0x420b71){const _0x59abca=_0x1288;typeof exports=='object'&&typeof module<'u'?_0x420b71(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x59abca(0x41a)&&define[_0x59abca(0x3bf)]?define([_0x59abca(0x409),_0x59abca(0x220),_0x59abca(0x417),_0x59abca(0x22f),'@univerjs/ui',_0x59abca(0x349),_0x59abca(0x3ab),_0x59abca(0x350),_0x59abca(0x31d),_0x59abca(0x1a9),_0x59abca(0x221),_0x59abca(0x222),_0x59abca(0x21f),_0x59abca(0x2dc),_0x59abca(0x39e),_0x59abca(0x3d9),_0x59abca(0x424),'rxjs/operators',_0x59abca(0x2c8)],_0x420b71):(_0x3b49df=typeof globalThis<'u'?globalThis:_0x3b49df||self,_0x420b71(_0x3b49df['UniverProCollaborationClientUi']={},_0x3b49df[_0x59abca(0x343)],_0x3b49df[_0x59abca(0x42e)],_0x3b49df['UniverCore'],_0x3b49df['UniverUi'],_0x3b49df['rxjs'],_0x3b49df[_0x59abca(0x28c)],_0x3b49df[_0x59abca(0x343)],_0x3b49df['UniverRpc'],_0x3b49df[_0x59abca(0x244)],_0x3b49df[_0x59abca(0x321)],_0x3b49df[_0x59abca(0x414)],_0x3b49df['UniverDocsUi'],_0x3b49df[_0x59abca(0x429)],_0x3b49df[_0x59abca(0x368)],_0x3b49df[_0x59abca(0x2a5)],_0x3b49df['UniverEngineFormula'],_0x3b49df[_0x59abca(0x349)][_0x59abca(0x3a2)],_0x3b49df['UniverSheetsUi']));}(this,function(_0x53f44c,_0x1889d3,_0x1efc97,_0x165790,_0x46a2f6,_0x278be1,_0x3cf048,_0xb812c9,_0x29fc21,_0x63078f,_0x1e15c8,_0x3f48c5,_0x20f7f1,_0x5c4bf6,_0x2b1f6e,_0x20f8e5,_0x437b2a,_0x228a58,_0x476ef1){'use strict';const _0x529647=_0x1288;var _0x32bf36=Object[_0x529647(0x22a)],_0xd475a2=(_0x284b81,_0x492249,_0x3dde71)=>_0x492249 in _0x284b81?_0x32bf36(_0x284b81,_0x492249,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dde71}):_0x284b81[_0x492249]=_0x3dde71,_0x1bb758=(_0x498672,_0x5da9c0,_0xb153d6)=>_0xd475a2(_0x498672,typeof _0x5da9c0!=_0x529647(0x33b)?_0x5da9c0+'':_0x5da9c0,_0xb153d6),_0x1aa7f8=function(){const _0x23a69b=_0x529647;return _0x1aa7f8=Object[_0x23a69b(0x438)]||function(_0x5580a2){const _0x11c1a7=_0x23a69b;for(var _0x569701,_0x26da96=0x1,_0x22973a=arguments[_0x11c1a7(0x3c3)];_0x26da96<_0x22973a;_0x26da96++){_0x569701=arguments[_0x26da96];for(var _0xf29ece in _0x569701)Object[_0x11c1a7(0x3d3)]['hasOwnProperty'][_0x11c1a7(0x219)](_0x569701,_0xf29ece)&&(_0x5580a2[_0xf29ece]=_0x569701[_0xf29ece]);}return _0x5580a2;},_0x1aa7f8[_0x23a69b(0x353)](this,arguments);},_0x194738=function(_0x61bed0,_0x3e8505){const _0x314f7f=_0x529647;var _0x2170bf={};for(var _0x50a41c in _0x61bed0)Object['prototype']['hasOwnProperty'][_0x314f7f(0x219)](_0x61bed0,_0x50a41c)&&_0x3e8505['indexOf'](_0x50a41c)<0x0&&(_0x2170bf[_0x50a41c]=_0x61bed0[_0x50a41c]);if(_0x61bed0!=null&&typeof Object[_0x314f7f(0x1ab)]=='function'){for(var _0x4cd8d6=0x0,_0x50a41c=Object['getOwnPropertySymbols'](_0x61bed0);_0x4cd8d6<_0x50a41c[_0x314f7f(0x3c3)];_0x4cd8d6++)_0x3e8505[_0x314f7f(0x332)](_0x50a41c[_0x4cd8d6])<0x0&&Object['prototype'][_0x314f7f(0x2b9)][_0x314f7f(0x219)](_0x61bed0,_0x50a41c[_0x4cd8d6])&&(_0x2170bf[_0x50a41c[_0x4cd8d6]]=_0x61bed0[_0x50a41c[_0x4cd8d6]]);}return _0x2170bf;},_0x1668a3=_0xb812c9[_0x529647(0x38a)](function(_0x4afd63,_0x2d63ba){const _0x52e45c=_0x529647;var _0x91c12e=_0x4afd63[_0x52e45c(0x23b)],_0x1c021f=_0x4afd63['id'],_0x3ae765=_0x4afd63[_0x52e45c(0x277)],_0x54ecd6=_0x4afd63[_0x52e45c(0x3f7)],_0xea494f=_0x194738(_0x4afd63,[_0x52e45c(0x23b),'id',_0x52e45c(0x277),_0x52e45c(0x3f7)]),_0x2d137f=_0x52e45c(0x439)[_0x52e45c(0x2ef)](_0x1c021f,'\x20')[_0x52e45c(0x2ef)](_0x3ae765||'')[_0x52e45c(0x2fa)](),_0x2e71f2=_0xb812c9[_0x52e45c(0x3a3)]('_'[_0x52e45c(0x2ef)](_0x3122a0()));return _0x40caf8(_0x91c12e,''['concat'](_0x1c021f),{'defIds':_0x91c12e[_0x52e45c(0x3f6)],'idSuffix':_0x2e71f2[_0x52e45c(0x2c4)]},_0x1aa7f8({'ref':_0x2d63ba,'className':_0x2d137f},_0xea494f),_0x54ecd6);});function _0x40caf8(_0x4ef484,_0x5b7f4f,_0x3a1114,_0x226624,_0x56eeb9){const _0x5c5418=_0x529647;return _0xb812c9[_0x5c5418(0x30d)](_0x4ef484[_0x5c5418(0x3fe)],_0x1aa7f8(_0x1aa7f8({'key':_0x5b7f4f},_0x228dc1(_0x4ef484,_0x3a1114,_0x56eeb9)),_0x226624),(_0x1f0beb(_0x4ef484,_0x3a1114)[_0x5c5418(0x1e5)]||[])[_0x5c5418(0x2e3)](function(_0x315229,_0x240c1a){const _0x3287b1=_0x5c5418;return _0x40caf8(_0x315229,''[_0x3287b1(0x2ef)](_0x5b7f4f,'-')['concat'](_0x4ef484[_0x3287b1(0x3fe)],'-')[_0x3287b1(0x2ef)](_0x240c1a),_0x3a1114,void 0x0,_0x56eeb9);}));}function _0x228dc1(_0xd871a2,_0xf58536,_0x52d5aa){const _0x215e4c=_0x529647;var _0xc72c9b=_0x1aa7f8({},_0xd871a2['attrs']);_0x52d5aa!=null&&_0x52d5aa[_0x215e4c(0x3a7)]&&_0xc72c9b['fill']===_0x215e4c(0x3a7)&&(_0xc72c9b['fill']=_0x52d5aa['colorChannel1']),_0xd871a2[_0x215e4c(0x3fe)]===_0x215e4c(0x338)&&_0xc72c9b['id']&&(_0xc72c9b['id']=_0xc72c9b['id']+_0xf58536[_0x215e4c(0x3c8)]),Object[_0x215e4c(0x3bd)](_0xc72c9b)['forEach'](function(_0x47d76e){const _0x5b3adb=_0x215e4c;var _0x565048=_0x47d76e[0x0],_0x2ec3a5=_0x47d76e[0x1];_0x565048===_0x5b3adb(0x338)&&typeof _0x2ec3a5==_0x5b3adb(0x3e4)&&(_0xc72c9b[_0x565048]=_0x2ec3a5[_0x5b3adb(0x206)](/url\(#(.*)\)/,_0x5b3adb(0x272)[_0x5b3adb(0x2ef)](_0xf58536[_0x5b3adb(0x3c8)],')')));});var _0x242b6d=_0xf58536[_0x215e4c(0x3f6)];return!_0x242b6d||_0x242b6d['length']===0x0||(_0xd871a2[_0x215e4c(0x3fe)]==='use'&&_0xc72c9b[_0x215e4c(0x2d0)]&&(_0xc72c9b[_0x215e4c(0x2d0)]=_0xc72c9b[_0x215e4c(0x2d0)]+_0xf58536[_0x215e4c(0x3c8)]),Object['entries'](_0xc72c9b)[_0x215e4c(0x311)](function(_0x11d4b2){const _0x4f72a1=_0x215e4c;var _0x28768e=_0x11d4b2[0x0],_0x22fed7=_0x11d4b2[0x1];typeof _0x22fed7==_0x4f72a1(0x3e4)&&(_0xc72c9b[_0x28768e]=_0x22fed7[_0x4f72a1(0x206)](/url\(#(.*)\)/,_0x4f72a1(0x272)['concat'](_0xf58536[_0x4f72a1(0x3c8)],')')));})),_0xc72c9b;}function _0x1f0beb(_0x17c010,_0xaeacf5){const _0x32e42b=_0x529647;var _0x5727f0,_0x3a7f33=_0xaeacf5[_0x32e42b(0x3f6)];return!_0x3a7f33||_0x3a7f33[_0x32e42b(0x3c3)]===0x0?_0x17c010:_0x17c010[_0x32e42b(0x3fe)]==='defs'&&(!((_0x5727f0=_0x17c010['children'])===null||_0x5727f0===void 0x0)&&_0x5727f0[_0x32e42b(0x3c3)])?_0x1aa7f8(_0x1aa7f8({},_0x17c010),{'children':_0x17c010[_0x32e42b(0x1e5)][_0x32e42b(0x2e3)](function(_0x1278ae){const _0x5d4886=_0x32e42b;return typeof _0x1278ae[_0x5d4886(0x426)]['id']==_0x5d4886(0x3e4)&&_0x3a7f33&&_0x3a7f33[_0x5d4886(0x33f)](_0x1278ae[_0x5d4886(0x426)]['id'])?_0x1aa7f8(_0x1aa7f8({},_0x1278ae),{'attrs':_0x1aa7f8(_0x1aa7f8({},_0x1278ae['attrs']),{'id':_0x1278ae[_0x5d4886(0x426)]['id']+_0xaeacf5[_0x5d4886(0x3c8)]})}):_0x1278ae;})}):_0x17c010;}function _0x3122a0(){const _0x48e1ce=_0x529647;return Math[_0x48e1ce(0x234)]()[_0x48e1ce(0x1db)](0x24)[_0x48e1ce(0x1b8)](0x2,0x8);}_0x1668a3[_0x529647(0x3c5)]='UniverIcon';var _0x176a38={'tag':'svg','attrs':{'xmlns':_0x529647(0x352),'fill':'none','viewBox':_0x529647(0x36d),'width':_0x529647(0x411),'height':_0x529647(0x411)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x529647(0x1ae),'attrs':{'stroke':_0x529647(0x36a),'d':_0x529647(0x43b),'strokeLinecap':_0x529647(0x2ab),'strokeLinejoin':_0x529647(0x2ab),'strokeWidth':1.2}}]},{'tag':_0x529647(0x233),'attrs':{},'children':[{'tag':_0x529647(0x20a),'attrs':{'id':_0x529647(0x216)},'children':[{'tag':'path','attrs':{'fill':_0x529647(0x1bf),'d':_0x529647(0x1f1)}}]}]}],'defIds':[_0x529647(0x216)]},_0x42f822=_0xb812c9['forwardRef'](function(_0x5eedb7,_0x2a37e9){const _0x52a3b5=_0x529647;return _0xb812c9[_0x52a3b5(0x30d)](_0x1668a3,Object[_0x52a3b5(0x438)]({},_0x5eedb7,{'id':_0x52a3b5(0x26c),'ref':_0x2a37e9,'icon':_0x176a38}));});_0x42f822[_0x529647(0x3c5)]=_0x529647(0x37e);var _0x3981c4={'tag':_0x529647(0x1f2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x529647(0x37d),'viewBox':_0x529647(0x2e0),'width':'1em','height':_0x529647(0x411)},'children':[{'tag':'g','attrs':{'clipPath':_0x529647(0x1a7)},'children':[{'tag':_0x529647(0x1ae),'attrs':{'stroke':_0x529647(0x36a),'d':_0x529647(0x39b),'strokeLinecap':'round','strokeLinejoin':_0x529647(0x2ab),'strokeWidth':1.2}}]},{'tag':_0x529647(0x233),'attrs':{},'children':[{'tag':_0x529647(0x20a),'attrs':{'id':_0x529647(0x25e)},'children':[{'tag':_0x529647(0x1ae),'attrs':{'fill':_0x529647(0x1bf),'d':_0x529647(0x1f1),'transform':_0x529647(0x3bb)}}]}]}],'defIds':[_0x529647(0x25e)]},_0x39f041=_0xb812c9[_0x529647(0x38a)](function(_0xd8a1df,_0xaace01){const _0x5782e0=_0x529647;return _0xb812c9['createElement'](_0x1668a3,Object[_0x5782e0(0x438)]({},_0xd8a1df,{'id':'on-line-icon','ref':_0xaace01,'icon':_0x3981c4}));});_0x39f041[_0x529647(0x3c5)]=_0x529647(0x288);function _0x2d330d(_0x5e15b0){const _0x281dcb=_0x529647;switch(_0x5e15b0){case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x27d)]:return _0x281dcb(0x298);case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x3fc)]:return'collabStatus.conflict';case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x35f)]:return'collabStatus.fetchMiss';case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x255)]:return _0x281dcb(0x22c);case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x1ea)]:case _0x1efc97['CollaborationStatus'][_0x281dcb(0x402)]:return _0x281dcb(0x430);case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x36e)]:case _0x1efc97[_0x281dcb(0x3e8)]['PENDING']:return _0x281dcb(0x26e);}}function _0x1f2209(_0x19fee8){const _0x513443=_0x529647,{status$:_0x5615b4}=_0x19fee8,_0x59ddf2=_0x46a2f6[_0x513443(0x1d5)](_0x5615b4,_0x1efc97['CollaborationStatus'][_0x513443(0x255)]),_0x1a34db=_0x46a2f6[_0x513443(0x406)](_0x165790[_0x513443(0x1a8)]),_0x5469d8=_0x46a2f6['useDependency'](_0x1efc97[_0x513443(0x329)]),_0x89fcfd=_0x59ddf2!==_0x1efc97[_0x513443(0x3e8)][_0x513443(0x27d)],_0x3e052e=_0x1a34db['t'](_0x2d330d(_0x59ddf2)),_0x2b1de0=_0x89fcfd?_0x1889d3[_0x513443(0x2be)](_0x39f041,{}):_0x1889d3[_0x513443(0x2be)](_0x42f822,{}),_0x1bf07d=_0xb812c9[_0x513443(0x201)](()=>{_0x89fcfd||_0x5469d8['reconnect']();},[_0x89fcfd,_0x5469d8]);function _0x228a96(){const _0x87b921=_0x513443;return _0x1889d3[_0x87b921(0x40c)](_0x87b921(0x3c4),{'className':_0x87b921(0x34c),'onClick':_0x1bf07d,'children':[_0x1889d3[_0x87b921(0x2be)](_0x87b921(0x3c4),{'className':_0x3cf048['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x89fcfd,'univer-text-red-500':!_0x89fcfd}),'children':_0x2b1de0}),_0x1889d3[_0x87b921(0x2be)](_0x87b921(0x3c4),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3e052e})]});}return _0x89fcfd?_0x228a96():_0x1889d3[_0x513443(0x2be)](_0x3cf048[_0x513443(0x3f4)],{'title':_0x1a34db['t']('collab-client.tooltip.reconnect'),'children':_0x228a96()});}var _0x56d9bb=Object['getOwnPropertyDescriptor'],_0x4323aa=(_0x4e6991,_0xdd84a,_0x170d0d,_0x5da013)=>{for(var _0x2b53c2=_0x5da013>0x1?void 0x0:_0x5da013?_0x56d9bb(_0xdd84a,_0x170d0d):_0xdd84a,_0xf73680=_0x4e6991['length']-0x1,_0x2a6e05;_0xf73680>=0x0;_0xf73680--)(_0x2a6e05=_0x4e6991[_0xf73680])&&(_0x2b53c2=_0x2a6e05(_0x2b53c2)||_0x2b53c2);return _0x2b53c2;},_0x1bf362=(_0x345705,_0xb98c6a)=>(_0x3375df,_0x42e50c)=>_0xb98c6a(_0x3375df,_0x42e50c,_0x345705);_0x53f44c[_0x529647(0x3ea)]=class extends _0x165790[_0x529647(0x225)]{constructor(_0xd2c090,_0x144ffb,_0x3307c4,_0xc3ab23){const _0x472bab=_0x529647;super(),_0x1bb758(this,'_status$',new _0x278be1['BehaviorSubject'](_0x1efc97[_0x472bab(0x3e8)][_0x472bab(0x255)])),(this[_0x472bab(0x27f)]=_0xd2c090,this['_injector']=_0x144ffb,this[_0x472bab(0x35a)]=_0x3307c4,this[_0x472bab(0x42f)]=_0xc3ab23,this[_0x472bab(0x3cd)](),this[_0x472bab(0x396)]());}['_initStatusListener'](){const _0xba667c=_0x529647;this['disposeWithMe'](this[_0xba667c(0x27f)][_0xba667c(0x2f7)]['pipe'](_0x278be1[_0xba667c(0x2a3)](()=>{const _0x5825c3=_0xba667c,_0x4d9abb=this[_0x5825c3(0x27f)][_0x5825c3(0x355)]();return _0x4d9abb?this[_0x5825c3(0x35a)][_0x5825c3(0x29c)](_0x4d9abb['getUnitId']()):_0x278be1['of'](null);}),_0x278be1['switchMap'](_0x24b6f0=>_0x24b6f0?_0x24b6f0[_0xba667c(0x1fc)]:_0x278be1['of'](_0x1efc97[_0xba667c(0x3e8)]['NOT_COLLAB'])))['subscribe'](_0x52f806=>{const _0xbb73da=_0xba667c;this[_0xbb73da(0x328)][_0xbb73da(0x1ed)](_0x52f806);}));}[_0x529647(0x3cd)](){const _0x660496=_0x529647;this[_0x660496(0x203)](this[_0x660496(0x42f)][_0x660496(0x23f)](_0x46a2f6[_0x660496(0x3fd)]['HEADER_MENU'],()=>_0x46a2f6[_0x660496(0x41f)](_0xca30b6({'status$':this['_status$'][_0x660496(0x304)]()}),this[_0x660496(0x3c1)])));}},_0x53f44c['DesktopCollaborationStatusDisplayController']=_0x4323aa([_0x1bf362(0x0,_0x165790[_0x529647(0x307)]),_0x1bf362(0x1,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x1bf362(0x2,_0x165790[_0x529647(0x337)](_0x1efc97[_0x529647(0x315)])),_0x1bf362(0x3,_0x46a2f6[_0x529647(0x415)])],_0x53f44c['DesktopCollaborationStatusDisplayController']);function _0xca30b6(_0x57bd12){const {status$:_0x570a1b}=_0x57bd12;return function(){return _0x1889d3['jsx'](_0x1f2209,{'status$':_0x570a1b});};}const _0x3fd2ab=_0x165790[_0x529647(0x344)]('uni.network.url-service');var _0x4d76bb=Object[_0x529647(0x21c)],_0x2d52c5=(_0x5cc700,_0x353471,_0x335b43,_0x26c8be)=>{const _0x4a56a6=_0x529647;for(var _0x47bf30=_0x26c8be>0x1?void 0x0:_0x26c8be?_0x4d76bb(_0x353471,_0x335b43):_0x353471,_0x37bec2=_0x5cc700[_0x4a56a6(0x3c3)]-0x1,_0x38a8e;_0x37bec2>=0x0;_0x37bec2--)(_0x38a8e=_0x5cc700[_0x37bec2])&&(_0x47bf30=_0x38a8e(_0x47bf30)||_0x47bf30);return _0x47bf30;},_0x4cc324=(_0x44dfe2,_0x4ff786)=>(_0xbf2333,_0x5453d3)=>_0x4ff786(_0xbf2333,_0x5453d3,_0x44dfe2);_0x53f44c[_0x529647(0x230)]=class extends _0x165790['RxDisposable']{constructor(_0x4bc174,_0x4ea75a,_0x5f4509,_0x2e6570,_0x455068){const _0x1bc2fb=_0x529647;super(),this[_0x1bc2fb(0x413)]=_0x4bc174,this['_logService']=_0x4ea75a,this[_0x1bc2fb(0x2fc)]=_0x5f4509,this['_dataLoaderService']=_0x2e6570,_0x455068?_0x455068==null||_0x455068[_0x1bc2fb(0x1fa)]()['then'](()=>this['_init']()):(this['_logService'][_0x1bc2fb(0x1eb)](_0x1bc2fb(0x33d),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1bc2fb(0x2b7)]());}async['_init'](){const _0x13e255=_0x529647,_0x591154=this['_urlService'][_0x13e255(0x26a)](_0x13e255(0x30a)),_0x3a3c5b=this[_0x13e255(0x413)][_0x13e255(0x26a)](_0x13e255(0x1f0)),_0x4b9f88=this[_0x13e255(0x413)]['getParam']('subunit');if(!_0x591154||!_0x3a3c5b){this[_0x13e255(0x210)][_0x13e255(0x1eb)](_0x13e255(0x33d),_0x13e255(0x20c));return;}const _0x30fafa=await this[_0x13e255(0x258)]['loadUnit'](_0x591154,Number(_0x3a3c5b),_0x4b9f88);_0x30fafa&&_0x30fafa instanceof _0x165790[_0x13e255(0x1dd)]&&this[_0x13e255(0x1b9)](_0x30fafa);}async[_0x529647(0x1b9)](_0x5cfd7d){const _0x550d85=_0x529647;await this[_0x550d85(0x393)](_0x5cfd7d),_0x5cfd7d[_0x550d85(0x40e)][_0x550d85(0x1f3)](_0x278be1[_0x550d85(0x202)](this[_0x550d85(0x2d3)]))[_0x550d85(0x35c)](_0x56b63f=>{const _0x1df8d1=_0x550d85;_0x56b63f&&this[_0x1df8d1(0x226)](_0x56b63f);}),this['_urlService'][_0x550d85(0x3e3)][_0x550d85(0x1f3)](_0x278be1['takeUntil'](this[_0x550d85(0x2d3)]))[_0x550d85(0x35c)](()=>this[_0x550d85(0x393)](_0x5cfd7d));}[_0x529647(0x226)](_0x1f4368,_0x3933f4=!0x1){const _0x4af5e5=_0x529647,_0x461f9f=this['_urlService']['getParam'](_0x4af5e5(0x1f6));_0x1f4368['getSheetId']()!==_0x461f9f&&this[_0x4af5e5(0x413)]['setParam'](_0x4af5e5(0x1f6),_0x1f4368[_0x4af5e5(0x1de)](),_0x3933f4);}async['_updateSubUnitFromURLParams'](_0x300cf0){const _0x32a18f=_0x529647;var _0x2099b3;const _0x2c430d=this[_0x32a18f(0x413)][_0x32a18f(0x26a)](_0x32a18f(0x1f6));if(!_0x2c430d||!_0x300cf0[_0x32a18f(0x22b)](_0x2c430d)){const _0x3d903e=_0x300cf0['getUnhiddenWorksheets']()[0x0],_0x553c3d=_0x300cf0[_0x32a18f(0x22b)](_0x3d903e);if(!_0x553c3d)return;this[_0x32a18f(0x226)](_0x553c3d,!0x0),await this[_0x32a18f(0x2fc)][_0x32a18f(0x297)](_0x63078f[_0x32a18f(0x2f9)]['id'],{'unitId':_0x300cf0[_0x32a18f(0x2a0)](),'subUnitId':_0x3d903e});return;}((_0x2099b3=_0x300cf0[_0x32a18f(0x21a)]())==null?void 0x0:_0x2099b3[_0x32a18f(0x1de)]())!==_0x2c430d&&await this['_commandService'][_0x32a18f(0x297)](_0x63078f[_0x32a18f(0x2f9)]['id'],{'unitId':_0x300cf0[_0x32a18f(0x2a0)](),'subUnitId':_0x2c430d});}},_0x53f44c[_0x529647(0x230)]=_0x2d52c5([_0x4cc324(0x0,_0x3fd2ab),_0x4cc324(0x1,_0x165790['ILogService']),_0x4cc324(0x2,_0x165790[_0x529647(0x282)]),_0x4cc324(0x3,_0x165790[_0x529647(0x337)](_0x1efc97['DataLoaderService'])),_0x4cc324(0x4,_0x165790[_0x529647(0x305)](_0x29fc21[_0x529647(0x347)]))],_0x53f44c['CollaborationDataLoaderController']);var _0x56a7c9=Object['getOwnPropertyDescriptor'],_0x5e2846=(_0x781348,_0x1c516a,_0x120822,_0x460e21)=>{for(var _0x422c87=_0x460e21>0x1?void 0x0:_0x460e21?_0x56a7c9(_0x1c516a,_0x120822):_0x1c516a,_0x1ebe0d=_0x781348['length']-0x1,_0x575668;_0x1ebe0d>=0x0;_0x1ebe0d--)(_0x575668=_0x781348[_0x1ebe0d])&&(_0x422c87=_0x575668(_0x422c87)||_0x422c87);return _0x422c87;},_0x1f3c5e=(_0x5e399e,_0x27e0d5)=>(_0x2f5ee5,_0x14fe46)=>_0x27e0d5(_0x2f5ee5,_0x14fe46,_0x5e399e);let _0x684b41=class extends _0x165790[_0x529647(0x270)]{constructor(_0xc5a14b,_0x5b61a7){const _0xa21e17=_0x529647;super(),this[_0xa21e17(0x3e9)]=_0xc5a14b,this[_0xa21e17(0x308)]=_0x5b61a7,this[_0xa21e17(0x2b7)]();}['_init'](){const _0xa5c3b0=_0x529647,_0x2bc570=this;this['disposeWithMe'](this['_docClipboardService'][_0xa5c3b0(0x1ce)]({'onBeforePasteImage':async _0x211fe0=>{const _0x21be15=_0xa5c3b0,_0x3ec4c5=await _0x2bc570[_0x21be15(0x308)][_0x21be15(0x1cf)](_0x211fe0);return _0x3ec4c5?{'source':_0x3ec4c5[_0x21be15(0x3b5)],'imageSourceType':_0x3ec4c5[_0x21be15(0x418)]}:null;}}));}};_0x684b41=_0x5e2846([_0x1f3c5e(0x0,_0x20f7f1[_0x529647(0x21e)]),_0x1f3c5e(0x1,_0x5c4bf6['IImageIoService'])],_0x684b41);const _0x48268a=[_0x529647(0x2a8),_0x529647(0x3ca),_0x529647(0x273),_0x529647(0x360),'blue.400','yellow.400'];class _0x4f197f extends _0x165790['Disposable']{constructor(){const _0x29ac76=_0x529647;super(...arguments),_0x1bb758(this,_0x29ac76(0x374),new Map()),_0x1bb758(this,_0x29ac76(0x3d8),0x0);}[_0x529647(0x1aa)](_0x38ba57){const _0x6b7732=_0x529647;if(this['_assignedColors']['has'](_0x38ba57))return this['_assignedColors'][_0x6b7732(0x1b5)](_0x38ba57);const _0x189073=_0x48268a[this[_0x6b7732(0x3d8)]];return this[_0x6b7732(0x3d8)]=(this[_0x6b7732(0x3d8)]+0x1)%_0x48268a[_0x6b7732(0x3c3)],this[_0x6b7732(0x374)][_0x6b7732(0x41c)](_0x38ba57,_0x189073),_0x189073;}}function _0x425d10(_0x388d1b){const _0x2c898e=_0x529647;let _0x105265='';for(const _0x1dc38c of _0x388d1b){const {startOffset:_0x560aca,endOffset:_0x32b891,isActive:_0x5bdbb6,rangeType:_0x44c94b,segmentId:_0x109911,segmentPage:_0x397f7b}=_0x1dc38c;_0x105265[_0x2c898e(0x3c3)]&&(_0x105265+=','),_0x105265+=_0x560aca+':'+_0x32b891+':'+(_0x5bdbb6?'1':'0')+':'+_0x44c94b+':'+_0x109911+':'+_0x397f7b;}return _0x105265;}function _0x39acae(_0x3b17cb){const _0x511e05=_0x529647,_0x24fa26=_0x3b17cb[_0x511e05(0x1bb)](','),_0x2db6ae=[];for(const _0x2d75ee of _0x24fa26){const [_0x187e9d,_0x14b3e7,_0x1b275f,_0x41768d,_0x2356d3,_0x51ed93]=_0x2d75ee[_0x511e05(0x1bb)](':');_0x2db6ae[_0x511e05(0x1c7)]({'startOffset':Number(_0x187e9d),'endOffset':Number(_0x14b3e7),'collapsed':_0x187e9d===_0x14b3e7,'isActive':_0x1b275f==='1','rangeType':_0x41768d===_0x165790[_0x511e05(0x217)][_0x511e05(0x31c)]?_0x165790[_0x511e05(0x217)][_0x511e05(0x31c)]:_0x165790[_0x511e05(0x217)][_0x511e05(0x3e1)],'segmentId':typeof _0x2356d3==_0x511e05(0x3e4)?String(_0x2356d3):'','segmentPage':Number(_0x51ed93!=null?_0x51ed93:-0x1)});}return _0x2db6ae['some'](_0x204cc6=>_0x204cc6[_0x511e05(0x37c)])||(_0x2db6ae[0x0][_0x511e05(0x37c)]=!0x0),_0x2db6ae;}class _0x58216b extends _0x165790[_0x529647(0x270)]{constructor(){const _0x211888=_0x529647;super(...arguments),_0x1bb758(this,_0x211888(0x2b5),new _0x278be1[(_0x211888(0x39a))](null)),_0x1bb758(this,'collabCursorState$',this['_collabCursorState$'][_0x211888(0x304)]());}[_0x529647(0x38c)](_0x260693){const _0x383aaa=_0x529647,{unitID:_0x357ff2,memberID:_0x23fcb4,textRanges:_0x2deaef}=_0x260693,_0x3ec519=_0x425d10(_0x2deaef);if(_0x3ec519==='')return;const _0x2c19ae={'unitID':_0x357ff2,'memberID':_0x23fcb4,'selection':_0x3ec519};this['_collabCursorState$'][_0x383aaa(0x1ed)](_0x2c19ae);}}var _0x2ab906=Object[_0x529647(0x21c)],_0x2724bd=(_0x749eaf,_0x36975e,_0x37298e,_0x3e82ce)=>{const _0x5aed7b=_0x529647;for(var _0x1c18d0=_0x3e82ce>0x1?void 0x0:_0x3e82ce?_0x2ab906(_0x36975e,_0x37298e):_0x36975e,_0x3f3def=_0x749eaf[_0x5aed7b(0x3c3)]-0x1,_0x681b84;_0x3f3def>=0x0;_0x3f3def--)(_0x681b84=_0x749eaf[_0x3f3def])&&(_0x1c18d0=_0x681b84(_0x1c18d0)||_0x1c18d0);return _0x1c18d0;},_0x188bb5=(_0xfaed47,_0x70374f)=>(_0x16af4f,_0x27ec2e)=>_0x70374f(_0x16af4f,_0x27ec2e,_0xfaed47);const _0x5e3d22=0x12c,_0x11036f=0x64;let _0x42f3b2=class extends _0x165790[_0x529647(0x270)]{constructor(_0x8e5ae8,_0x2334d1,_0x2bb08e,_0x52ea61,_0xdad13d,_0x418f70,_0x23c88e,_0x4c522c,_0x117cd7){const _0x1895c1=_0x529647;super(),_0x1bb758(this,_0x1895c1(0x1cb),!0x1),_0x1bb758(this,_0x1895c1(0x2b7),!0x1),_0x1bb758(this,'_cursorInfo$',new _0x278be1[(_0x1895c1(0x39a))](new Map())),_0x1bb758(this,_0x1895c1(0x3da),this[_0x1895c1(0x22e)][_0x1895c1(0x304)]()),_0x1bb758(this,_0x1895c1(0x257),new _0x278be1[(_0x1895c1(0x39a))]([])),_0x1bb758(this,_0x1895c1(0x2c9),this[_0x1895c1(0x257)][_0x1895c1(0x1f3)](_0x278be1[_0x1895c1(0x2e7)](_0x5e3d22))),_0x1bb758(this,'_updateLocalCursor',_0x165790[_0x1895c1(0x251)](_0x4c8c2c=>{const _0x46f877=_0x1895c1,_0x196a1d={'eventID':_0x2b1f6e[_0x46f877(0x351)][_0x46f877(0x356)],'data':{'unitID':this[_0x46f877(0x27e)],'memberID':this[_0x46f877(0x3df)]['getMemberID'](),'selection':_0x425d10(_0x4c8c2c)}};this[_0x46f877(0x3df)]['send'](_0x196a1d,this['unitID']);},_0x11036f)),(this[_0x1895c1(0x27e)]=_0x8e5ae8,this[_0x1895c1(0x3df)]=_0x2334d1,this[_0x1895c1(0x3c1)]=_0x2bb08e,this[_0x1895c1(0x260)]=_0x52ea61,this[_0x1895c1(0x421)]=_0xdad13d,this['_syncEditingCollabCursorService']=_0x418f70,this['_transformService']=_0x23c88e,this[_0x1895c1(0x27f)]=_0x4c522c,this['_commandService']=_0x117cd7);}get[_0x529647(0x2cb)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x5d9f70=_0x529647;return this[_0x5d9f70(0x257)][_0x5d9f70(0x1f9)]();}[_0x529647(0x23c)](){const _0x5320eb=_0x529647;super[_0x5320eb(0x23c)](),this[_0x5320eb(0x22e)][_0x5320eb(0x1ed)](new Map()),this[_0x5320eb(0x22e)][_0x5320eb(0x301)](),this[_0x5320eb(0x257)][_0x5320eb(0x1ed)]([]),this['_roomMembers$'][_0x5320eb(0x301)]();}[_0x529647(0x3a4)](){const _0x4989cf=_0x529647;this[_0x4989cf(0x2b7)]||(this['_init']=!0x0,this[_0x4989cf(0x3df)]['sessionStatus$'][_0x4989cf(0x1f3)](_0x278be1[_0x4989cf(0x202)](this['dispose$']))[_0x4989cf(0x35c)](_0x73d129=>{const _0x398cd9=_0x4989cf;_0x73d129===_0x1efc97[_0x398cd9(0x1f8)][_0x398cd9(0x3f3)]?this[_0x398cd9(0x2e8)]():this[_0x398cd9(0x369)]();}),this[_0x4989cf(0x3df)]['event$'][_0x4989cf(0x1f3)](_0x278be1[_0x4989cf(0x202)](this[_0x4989cf(0x2d3)]))[_0x4989cf(0x35c)](_0x373751=>{const _0x4350c0=_0x4989cf,_0x3c19b3=_0x373751[_0x4350c0(0x324)];_0x3c19b3===_0x2b1f6e[_0x4350c0(0x351)]['UPDATE_CURSOR']&&this[_0x4350c0(0x31e)](_0x373751),_0x3c19b3===_0x2b1f6e[_0x4350c0(0x351)][_0x4350c0(0x401)]&&this['_onCursorDelete'](_0x373751);}),this[_0x4989cf(0x203)](this['_commandService']['onCommandExecuted'](_0x537dd4=>{const _0xe71452=_0x4989cf,_0x33a448=_0x537dd4[_0xe71452(0x1ef)];_0x33a448!=null&&this[_0xe71452(0x1cb)]&&_0x537dd4['id']===_0x20f8e5[_0xe71452(0x2d5)]['id']&&_0x33a448[_0xe71452(0x408)]===this['unitID']&&_0x33a448[_0xe71452(0x2c1)]===!0x1&&_0x33a448[_0xe71452(0x3f9)][_0xe71452(0x3c3)]>0x0&&this[_0xe71452(0x26f)](_0x33a448[_0xe71452(0x3f9)]);})),this[_0x4989cf(0x20d)][_0x4989cf(0x1fb)]['pipe'](_0x278be1[_0x4989cf(0x202)](this[_0x4989cf(0x2d3)]))[_0x4989cf(0x35c)](_0x3d768b=>{const _0x250624=_0x4989cf;if((_0x3d768b==null?void 0x0:_0x3d768b[_0x250624(0x27e)])!==this[_0x250624(0x27e)])return;const _0xfeb7d4={'eventID':_0x2b1f6e[_0x250624(0x351)][_0x250624(0x356)],'data':_0x3d768b};this['_onCursorUpdate'](_0xfeb7d4);}),this[_0x4989cf(0x203)](this[_0x4989cf(0x2fc)][_0x4989cf(0x2ea)](_0x55f692=>{const _0x1e909c=_0x4989cf;if(_0x55f692['params']==null)return;const _0x3389cf=_0x55f692[_0x1e909c(0x1ef)];if(_0x55f692['id']!==_0x20f8e5[_0x1e909c(0x316)]['id']||_0x3389cf[_0x1e909c(0x408)]!==this[_0x1e909c(0x27e)])return;const _0x1e97b5={'id':_0x1e909c(0x3e7),'params':_0x3389cf},_0x1e9e7f=this[_0x1e909c(0x2cb)];for(const [_0x597086,_0x5df1e5]of _0x1e9e7f){const _0x495db2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1e909c(0x27e)],'actions':null,'textRanges':_0x5df1e5[_0x1e909c(0x3f9)]}},_0x3de631=this[_0x1e909c(0x292)][_0x1e909c(0x218)](_0x1e97b5,_0x495db2,!0x1);if(_0x2b1f6e[_0x1e909c(0x250)](_0x3de631))throw _0x3de631[_0x1e909c(0x3d5)];_0x1e9e7f[_0x1e909c(0x41c)](_0x597086,{..._0x5df1e5,'ranges':_0x3de631[_0x1e909c(0x2fe)][_0x1e909c(0x1ef)][_0x1e909c(0x21d)]});}queueMicrotask(()=>{const _0x33248d=_0x1e909c;this[_0x33248d(0x22e)][_0x33248d(0x1ed)](_0x1e9e7f);});})));}[_0x529647(0x31e)](_0x2470ce){const _0x16d19d=_0x529647;var _0x32d4aa,_0x17b50c;const {memberID:_0x8aac27,selection:_0x3cd34e}=_0x2470ce['data'],_0x3f0a35=_0x39acae(_0x3cd34e),_0x40ef94=(_0x17b50c=(_0x32d4aa=this[_0x16d19d(0x421)][_0x16d19d(0x322)](this[_0x16d19d(0x27e)],_0x8aac27))==null?void 0x0:_0x32d4aa[_0x16d19d(0x268)])!=null?_0x17b50c:_0x16d19d(0x42b),_0x1f35bd={'color':this['_colorAssignService'][_0x16d19d(0x1aa)](_0x8aac27),'name':_0x40ef94,'ranges':_0x3f0a35},_0x446c2a=this['cursorInfo'];_0x446c2a['set'](_0x8aac27,_0x1f35bd),this[_0x16d19d(0x22e)][_0x16d19d(0x1ed)](_0x446c2a);}['_onCursorDelete'](_0x1586c9){const _0x1661cd=_0x529647,{memberID:_0x117bcb}=_0x1586c9[_0x1661cd(0x310)],_0x3dbc83=this[_0x1661cd(0x2cb)];_0x3dbc83['delete'](_0x117bcb),this[_0x1661cd(0x22e)][_0x1661cd(0x1ed)](_0x3dbc83);}['_toggleOnline'](){const _0x4af30e=_0x529647;var _0x50d519;if(this['_online']=!0x0,((_0x50d519=this[_0x4af30e(0x27f)][_0x4af30e(0x355)]())==null?void 0x0:_0x50d519[_0x4af30e(0x2a0)]())!==this['unitID'])return;const _0x5cafc8=this['_injector'][_0x4af30e(0x1b5)](_0x20f8e5[_0x4af30e(0x327)])[_0x4af30e(0x34b)]();Array['isArray'](_0x5cafc8)&&_0x5cafc8['length']>0x0&&this['_updateLocalCursor'](_0x5cafc8);}['_toggleOffline'](){const _0x23fc4e=_0x529647;this[_0x23fc4e(0x1cb)]=!0x1;}};_0x42f3b2=_0x2724bd([_0x188bb5(0x2,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x188bb5(0x3,_0x165790[_0x529647(0x337)](_0x4f197f)),_0x188bb5(0x4,_0x165790[_0x529647(0x337)](_0x1efc97['MemberService'])),_0x188bb5(0x5,_0x165790['Inject'](_0x58216b)),_0x188bb5(0x6,_0x2b1f6e[_0x529647(0x412)]),_0x188bb5(0x7,_0x165790[_0x529647(0x307)]),_0x188bb5(0x8,_0x165790['ICommandService'])],_0x42f3b2);var _0x2d546c=Object[_0x529647(0x21c)],_0x146781=(_0x22462c,_0x15a46f,_0x4c2854,_0x5c41e9)=>{const _0x5ebb65=_0x529647;for(var _0x182f48=_0x5c41e9>0x1?void 0x0:_0x5c41e9?_0x2d546c(_0x15a46f,_0x4c2854):_0x15a46f,_0xfde7d6=_0x22462c[_0x5ebb65(0x3c3)]-0x1,_0x2bd026;_0xfde7d6>=0x0;_0xfde7d6--)(_0x2bd026=_0x22462c[_0xfde7d6])&&(_0x182f48=_0x2bd026(_0x182f48)||_0x182f48);return _0x182f48;},_0x53c2a7=(_0x1fd7e2,_0x3ee7da)=>(_0x26ee64,_0x4d1cd6)=>_0x3ee7da(_0x26ee64,_0x4d1cd6,_0x1fd7e2);const _0x43acf1=0x12c,_0x40c444=0x64,_0x28decf=()=>{let _0x3be4d2=[],_0x2f404c=!0x1;return _0x24b4da=>{const _0x5852fb=_0x1288;_0x3be4d2[_0x5852fb(0x1c7)](_0x24b4da),_0x2f404c||(_0x2f404c=!0x0,setTimeout(()=>{const _0x4472bd=_0x5852fb;_0x3be4d2[_0x4472bd(0x311)](_0x50b8b9=>_0x50b8b9()),_0x3be4d2=[],_0x2f404c=!0x1;}));};};let _0x15de91=class extends _0x165790[_0x529647(0x270)]{constructor(_0x3cb956,_0x3c2233,_0xf0395,_0x177816,_0x3a820a,_0x5f1293,_0x2a1246,_0x5b39cc){const _0x475b45=_0x529647;super(),_0x1bb758(this,'_online',!0x1),_0x1bb758(this,'_init',!0x1),_0x1bb758(this,_0x475b45(0x22e),new _0x278be1[(_0x475b45(0x39a))](new Map())),_0x1bb758(this,_0x475b45(0x3da),this[_0x475b45(0x22e)]['asObservable']()),_0x1bb758(this,_0x475b45(0x257),new _0x278be1['BehaviorSubject']([])),_0x1bb758(this,_0x475b45(0x2c9),this[_0x475b45(0x257)][_0x475b45(0x1f3)](_0x278be1['debounceTime'](_0x43acf1))),_0x1bb758(this,'_updateLocalCursor',_0x165790['debounce']((_0x4e48c5,_0x4f502f)=>{const _0x56733d=_0x475b45,_0x2506cd={'eventID':_0x2b1f6e[_0x56733d(0x351)][_0x56733d(0x356)],'data':{'unitID':this[_0x56733d(0x27e)],'memberID':this[_0x56733d(0x3df)]['getMemberID'](),'selection':_0x437b2a[_0x56733d(0x389)](_0x4e48c5,_0x4f502f[_0x56733d(0x428)])}};this['_session'][_0x56733d(0x410)](_0x2506cd,this[_0x56733d(0x27e)]);},_0x40c444)),(this[_0x475b45(0x27e)]=_0x3cb956,this[_0x475b45(0x3df)]=_0x3c2233,this[_0x475b45(0x3c1)]=_0xf0395,this[_0x475b45(0x260)]=_0x177816,this['_memberService']=_0x3a820a,this[_0x475b45(0x27f)]=_0x5f1293,this[_0x475b45(0x2fc)]=_0x2a1246,this[_0x475b45(0x390)]=_0x5b39cc);}get[_0x529647(0x2cb)](){const _0x32c79d=_0x529647;return this[_0x32c79d(0x22e)]['getValue']();}get['roomMembers'](){const _0x3de6fb=_0x529647;return this['_roomMembers$'][_0x3de6fb(0x1f9)]();}['dispose'](){const _0x1ddd94=_0x529647;super[_0x1ddd94(0x23c)](),this['_cursorInfo$'][_0x1ddd94(0x1ed)](new Map()),this[_0x1ddd94(0x22e)][_0x1ddd94(0x301)](),this['_roomMembers$'][_0x1ddd94(0x1ed)]([]),this[_0x1ddd94(0x257)][_0x1ddd94(0x301)]();}[_0x529647(0x3a4)](){const _0x474b4d=_0x529647;this[_0x474b4d(0x2b7)]||(this[_0x474b4d(0x2b7)]=!0x0,this[_0x474b4d(0x3df)][_0x474b4d(0x1ee)]['pipe'](_0x278be1[_0x474b4d(0x202)](this[_0x474b4d(0x2d3)]))[_0x474b4d(0x35c)](_0x251e2a=>{const _0xd1f739=_0x474b4d;_0x251e2a===_0x1efc97[_0xd1f739(0x1f8)]['ONLINE']?this[_0xd1f739(0x2e8)]():this[_0xd1f739(0x369)]();}),this[_0x474b4d(0x3df)][_0x474b4d(0x3c9)][_0x474b4d(0x1f3)](_0x278be1[_0x474b4d(0x202)](this[_0x474b4d(0x2d3)]))[_0x474b4d(0x35c)](_0x344796=>{const _0x40ab59=_0x474b4d,_0x37b86b=_0x344796[_0x40ab59(0x324)];_0x37b86b===_0x2b1f6e['CollaborationEvent'][_0x40ab59(0x356)]&&this[_0x40ab59(0x31e)](_0x344796),_0x37b86b===_0x2b1f6e['CollaborationEvent'][_0x40ab59(0x401)]&&this[_0x40ab59(0x243)](_0x344796);}),this['_onRefRangeChange'](),this[_0x474b4d(0x203)](this[_0x474b4d(0x2fc)][_0x474b4d(0x2ea)](_0x27935b=>{const _0x2da116=_0x474b4d;if(this[_0x2da116(0x1cb)]&&_0x27935b['id']===_0x63078f['SetSelectionsOperation']['id']&&_0x27935b['params']['unitId']===this[_0x2da116(0x27e)]){const _0xfa33fe=_0x27935b['params'];this[_0x2da116(0x26f)](_0xfa33fe['subUnitId'],_0xfa33fe[_0x2da116(0x295)][0x0]);}})));}[_0x529647(0x31e)](_0x3756db){const _0x17eadb=_0x529647;var _0x2bc581,_0x5c11c0;const {memberID:_0x14a89e,selection:_0x336cfb}=_0x3756db[_0x17eadb(0x310)],{sheetName:_0x4b0fbb,range:_0x2ede9f}=_0x437b2a[_0x17eadb(0x1be)](_0x336cfb),_0x45c9ca={'name':(_0x5c11c0=(_0x2bc581=this[_0x17eadb(0x421)][_0x17eadb(0x322)](this[_0x17eadb(0x27e)],_0x14a89e))==null?void 0x0:_0x2bc581[_0x17eadb(0x268)])!=null?_0x5c11c0:_0x17eadb(0x42b),'range':this['_getMergeRange'](_0x4b0fbb,_0x2ede9f),'sheetID':_0x4b0fbb,'color':this[_0x17eadb(0x260)][_0x17eadb(0x1aa)](_0x14a89e),'selection':_0x336cfb},_0x63f985=this['cursorInfo'];_0x63f985['set'](_0x14a89e,_0x45c9ca),this['_cursorInfo$'][_0x17eadb(0x1ed)](_0x63f985);}[_0x529647(0x243)](_0x14865b){const _0xe0cb21=_0x529647,{memberID:_0x4f56dc}=_0x14865b[_0xe0cb21(0x310)],_0x210ea1=this[_0xe0cb21(0x2cb)];_0x210ea1['delete'](_0x4f56dc),this[_0xe0cb21(0x22e)][_0xe0cb21(0x1ed)](_0x210ea1);}[_0x529647(0x223)](_0x756888,_0xa77afb){const _0x21244f=_0x529647;var _0x22a532,_0x98618d;const _0x4fd902=(_0x98618d=(_0x22a532=this[_0x21244f(0x27f)][_0x21244f(0x3fa)](this[_0x21244f(0x27e)]))==null?void 0x0:_0x22a532[_0x21244f(0x22b)](_0x756888))==null?void 0x0:_0x98618d[_0x21244f(0x1e1)]();return(_0x4fd902==null?void 0x0:_0x4fd902['find'](_0x3b270b=>_0x165790[_0x21244f(0x303)][_0x21244f(0x1b3)](_0x3b270b,_0xa77afb)))||_0xa77afb;}[_0x529647(0x20f)](){const _0x2850c4=_0x529647,_0xe8a33c=new _0x165790['DisposableCollection'](),_0x3b7393=_0x28decf(),_0x14d67b=()=>{const _0x235ab2=_0x1288;_0xe8a33c[_0x235ab2(0x23c)]();const _0x41826a=(_0x155aa0,_0x109eac,_0x3c6e76,_0x28ec79)=>{const _0x945730=_0x235ab2;let _0x372ccb=[];switch(_0x155aa0['id']){case _0x63078f[_0x945730(0x41e)][_0x945730(0x254)]:{_0x372ccb=_0x63078f[_0x945730(0x3af)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)]['DeleteRangeMoveUpCommandId']:{_0x372ccb=_0x63078f[_0x945730(0x3c7)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x3b9)]:{_0x372ccb=_0x63078f[_0x945730(0x259)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x3b3)]:{_0x372ccb=_0x63078f[_0x945730(0x20e)](_0x155aa0,_0x28ec79);break;}case _0x63078f['EffectRefRangId'][_0x945730(0x287)]:{_0x372ccb=_0x63078f['handleInsertRangeMoveRight'](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x1ba)]:{_0x372ccb=_0x63078f[_0x945730(0x3d7)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x2eb)]:{_0x372ccb=_0x63078f[_0x945730(0x1b1)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)]['RemoveColCommandId']:{_0x372ccb=_0x63078f['handleIRemoveCol'](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)]['RemoveRowCommandId']:{_0x372ccb=_0x63078f[_0x945730(0x379)](_0x155aa0,_0x28ec79);break;}}const _0x64b827=_0x63078f['runRefRangeMutations'](_0x372ccb,_0x28ec79),_0x1ce722=this[_0x945730(0x2cb)]['get'](_0x109eac);if(_0x1ce722&&_0x64b827){const _0x4486ee={..._0x1ce722,'range':_0x64b827};this['cursorInfo'][_0x945730(0x41c)](_0x109eac,_0x4486ee),_0x3b7393(()=>{const _0xf6fa79=_0x945730,_0x237c94=this[_0xf6fa79(0x390)][_0xf6fa79(0x330)](_0x64b827,_0x2be93e=>(_0x237c94[_0xf6fa79(0x23c)](),_0x41826a(_0x2be93e,_0x109eac,_0x3c6e76,_0x64b827)));_0xe8a33c[_0xf6fa79(0x2f4)](_0x237c94);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4ec1ef,_0x2bb27e)=>{const _0x324073=_0x235ab2,{range:_0x5cec1d,sheetID:_0x465611}=_0x4ec1ef,_0x5c5ba4=this['_refRangeService'][_0x324073(0x330)](_0x5cec1d,_0x203ccb=>(_0x5c5ba4[_0x324073(0x23c)](),_0x41826a(_0x203ccb,_0x2bb27e,_0x465611,_0x5cec1d)));_0xe8a33c[_0x324073(0x2f4)](_0x5c5ba4);});};this[_0x2850c4(0x203)](_0x165790[_0x2850c4(0x422)](this[_0x2850c4(0x22e)][_0x2850c4(0x35c)](()=>{_0x14d67b();})));}['_toggleOnline'](){const _0x195680=_0x529647;var _0x16691c,_0x1366eb;if(this[_0x195680(0x1cb)]=!0x0,((_0x16691c=this[_0x195680(0x27f)]['getFocusedUnit']())==null?void 0x0:_0x16691c['getUnitId']())!==this['unitID'])return;const _0xc6539=(_0x1366eb=this['_injector'][_0x195680(0x1b5)](_0x63078f[_0x195680(0x2e9)])[_0x195680(0x3f1)]())==null?void 0x0:_0x1366eb[0x0],_0x4da467=this[_0x195680(0x27f)][_0x195680(0x375)](_0x165790[_0x195680(0x2c0)][_0x195680(0x2d1)])[_0x195680(0x21a)]();_0xc6539&&_0x4da467&&this[_0x195680(0x26f)](_0x4da467[_0x195680(0x1de)](),_0xc6539);}['_toggleOffline'](){const _0x1c07c2=_0x529647;this[_0x1c07c2(0x1cb)]=!0x1;}};_0x15de91=_0x146781([_0x53c2a7(0x2,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x53c2a7(0x3,_0x165790[_0x529647(0x337)](_0x4f197f)),_0x53c2a7(0x4,_0x165790[_0x529647(0x337)](_0x1efc97['MemberService'])),_0x53c2a7(0x5,_0x165790[_0x529647(0x307)]),_0x53c2a7(0x6,_0x165790['ICommandService']),_0x53c2a7(0x7,_0x165790[_0x529647(0x337)](_0x63078f[_0x529647(0x1ec)]))],_0x15de91);var _0x4db8bc=Object[_0x529647(0x21c)],_0xc3135d=(_0x3a8d4a,_0xd4ef3d,_0x425916,_0x406401)=>{const _0x1a0a64=_0x529647;for(var _0xe008=_0x406401>0x1?void 0x0:_0x406401?_0x4db8bc(_0xd4ef3d,_0x425916):_0xd4ef3d,_0x4b48b1=_0x3a8d4a[_0x1a0a64(0x3c3)]-0x1,_0x3c3312;_0x4b48b1>=0x0;_0x4b48b1--)(_0x3c3312=_0x3a8d4a[_0x4b48b1])&&(_0xe008=_0x3c3312(_0xe008)||_0xe008);return _0xe008;},_0x3c0565=(_0x5eb295,_0x50e53c)=>(_0x1c0946,_0x445211)=>_0x50e53c(_0x1c0946,_0x445211,_0x5eb295);let _0x117536=class extends _0x165790['RxDisposable']{constructor(_0x402db1,_0x3dda61,_0x1662ca){const _0x350ae8=_0x529647;super(),_0x1bb758(this,_0x350ae8(0x1b7),new Map()),_0x1bb758(this,'_entityInit$',new _0x278be1['Subject']()),(this[_0x350ae8(0x27f)]=_0x402db1,this[_0x350ae8(0x3c1)]=_0x3dda61,this[_0x350ae8(0x2b3)]=_0x1662ca,this[_0x350ae8(0x2b7)]());}[_0x529647(0x23c)](){const _0x37e98b=_0x529647;super['dispose'](),this[_0x37e98b(0x1c2)]['complete'](),this[_0x37e98b(0x1b7)][_0x37e98b(0x311)](_0x3b4b52=>_0x3b4b52['dispose']());}[_0x529647(0x36f)](_0x7098cd){const _0x48609e=_0x529647;return this[_0x48609e(0x1b7)][_0x48609e(0x317)](_0x7098cd)?this['_entities'][_0x48609e(0x1b5)](_0x7098cd)[_0x48609e(0x3da)]:this[_0x48609e(0x1c2)]['pipe'](_0x278be1['filter'](_0xe17b8b=>_0xe17b8b[_0x48609e(0x27e)]===_0x7098cd),_0x278be1['switchMap'](_0x40d248=>_0x40d248['cursorInfo$']));}[_0x529647(0x2b7)](){const _0x4f6f86=_0x529647;this[_0x4f6f86(0x27f)][_0x4f6f86(0x400)](_0x165790[_0x4f6f86(0x2c0)][_0x4f6f86(0x2d1)])[_0x4f6f86(0x1f3)](_0x278be1[_0x4f6f86(0x202)](this[_0x4f6f86(0x2d3)]))['subscribe'](async _0x1fac22=>{const _0x4f6616=_0x4f6f86,_0x277b37=_0x1fac22[_0x4f6616(0x2a0)](),_0x23eb78=await this[_0x4f6616(0x2bc)](_0x277b37);this['_entityInit$'][_0x4f6616(0x1ed)](_0x23eb78),this[_0x4f6616(0x1b7)][_0x4f6616(0x41c)](_0x277b37,_0x23eb78);}),this['_univerInstanceService'][_0x4f6f86(0x400)](_0x165790[_0x4f6f86(0x2c0)][_0x4f6f86(0x300)])['pipe'](_0x278be1[_0x4f6f86(0x202)](this[_0x4f6f86(0x2d3)]))[_0x4f6f86(0x1f3)](_0x278be1[_0x4f6f86(0x2e2)](_0x5b9782=>!_0x5b9782[_0x4f6f86(0x2a0)]()[_0x4f6f86(0x215)]('__')))[_0x4f6f86(0x35c)](async _0xc8533d=>{const _0x210be1=_0x4f6f86,_0xf66bd3=_0xc8533d[_0x210be1(0x2a0)](),_0x59a7b7=await this[_0x210be1(0x367)](_0xf66bd3);this[_0x210be1(0x1c2)]['next'](_0x59a7b7),this['_entities'][_0x210be1(0x41c)](_0xf66bd3,_0x59a7b7);}),_0x278be1[_0x4f6f86(0x35b)](this[_0x4f6f86(0x27f)][_0x4f6f86(0x3e0)](_0x165790['UniverInstanceType'][_0x4f6f86(0x300)]),this[_0x4f6f86(0x27f)][_0x4f6f86(0x3e0)](_0x165790[_0x4f6f86(0x2c0)]['UNIVER_SHEET']))[_0x4f6f86(0x1f3)](_0x278be1[_0x4f6f86(0x202)](this[_0x4f6f86(0x2d3)]))['subscribe'](_0x2fe0a1=>{const _0x5eee71=_0x4f6f86,_0x38cf68=_0x2fe0a1[_0x5eee71(0x2a0)](),_0x2beab7=this[_0x5eee71(0x1b7)][_0x5eee71(0x1b5)](_0x38cf68);_0x2beab7&&(_0x2beab7[_0x5eee71(0x23c)](),this[_0x5eee71(0x1b7)][_0x5eee71(0x371)](_0x38cf68));});}async[_0x529647(0x2bc)](_0x30214a){const _0x3ce622=_0x529647,_0x470bfc=await this[_0x3ce622(0x2b3)][_0x3ce622(0x2a2)](_0x30214a),_0x25a2e5=this['_injector'][_0x3ce622(0x2d4)](_0x15de91,_0x30214a,_0x470bfc);return _0x25a2e5['init'](),_0x25a2e5;}async[_0x529647(0x367)](_0x39466d){const _0x3911ed=_0x529647,_0x4bda86=await this['_collabSessionService'][_0x3911ed(0x2a2)](_0x39466d),_0x542c42=this[_0x3911ed(0x3c1)][_0x3911ed(0x2d4)](_0x42f3b2,_0x39466d,_0x4bda86);return _0x542c42['init'](),_0x542c42;}};_0x117536=_0xc3135d([_0x3c0565(0x0,_0x165790[_0x529647(0x307)]),_0x3c0565(0x1,_0x165790[_0x529647(0x337)](_0x165790['Injector'])),_0x3c0565(0x2,_0x165790[_0x529647(0x337)](_0x1efc97[_0x529647(0x329)]))],_0x117536);const _0xb0017e=0x14,_0x17d765=0xc8,_0x1154c3=0x4,_0x248eb7=0x5;function _0x3ef284(_0x58aa7d,_0x45c64b){const _0xa09e81=_0x529647;let {radius:_0x43dbd8,width:_0x37a608,height:_0xe99d75}=_0x45c64b;_0x43dbd8=_0x43dbd8!=null?_0x43dbd8:0x0,_0x37a608=_0x37a608!=null?_0x37a608:0x1e,_0xe99d75=_0xe99d75!=null?_0xe99d75:0x1e;let _0x2b314d=0x0,_0x3a3ca9=0x0,_0x3387e0=0x0;_0x2b314d=_0x3a3ca9=_0x3387e0=Math['min'](_0x43dbd8,_0x37a608/0x2,_0xe99d75/0x2),_0x58aa7d['beginPath'](),_0x58aa7d[_0xa09e81(0x289)](_0x2b314d,0x0),_0x58aa7d[_0xa09e81(0x24e)](_0x37a608-_0x3a3ca9,0x0),_0x58aa7d[_0xa09e81(0x427)](_0x37a608-_0x3a3ca9,_0x3a3ca9,_0x3a3ca9,Math['PI']*0x3/0x2,0x0,!0x1),_0x58aa7d[_0xa09e81(0x24e)](_0x37a608,_0xe99d75-_0x3387e0),_0x58aa7d[_0xa09e81(0x427)](_0x37a608-_0x3387e0,_0xe99d75-_0x3387e0,_0x3387e0,0x0,Math['PI']/0x2,!0x1),_0x58aa7d[_0xa09e81(0x24e)](0x0,_0xe99d75),_0x58aa7d['lineTo'](0x0,_0x2b314d),_0x58aa7d[_0xa09e81(0x427)](_0x2b314d,_0x2b314d,_0x2b314d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x58aa7d[_0xa09e81(0x336)](),_0x45c64b[_0xa09e81(0x416)]&&(_0x58aa7d[_0xa09e81(0x407)](),_0x58aa7d[_0xa09e81(0x345)]=_0x45c64b[_0xa09e81(0x416)],_0x45c64b['fillRule']===_0xa09e81(0x1ca)?_0x58aa7d[_0xa09e81(0x416)](_0xa09e81(0x1ca)):_0x58aa7d[_0xa09e81(0x416)](),_0x58aa7d[_0xa09e81(0x434)]());}class _0x5ed182 extends _0x1e15c8[_0x529647(0x3a1)]{constructor(_0x2688ee,_0x2ff3a6){const _0x5cac62=_0x529647;super(_0x2688ee,_0x2ff3a6),_0x1bb758(this,_0x5cac62(0x1e0)),_0x1bb758(this,_0x5cac62(0x2df)),(this[_0x5cac62(0x1e0)]=_0x2ff3a6==null?void 0x0:_0x2ff3a6[_0x5cac62(0x1e0)],this['text']=_0x2ff3a6==null?void 0x0:_0x2ff3a6[_0x5cac62(0x2df)]);}static['drawWith'](_0xaee900,_0x4998bd){const _0x3ee2ae=_0x529647,{text:_0x46c4f5,color:_0xd58439}=_0x4998bd;_0xaee900[_0x3ee2ae(0x407)](),_0xaee900['font']=_0x3ee2ae(0x419);const _0x5d111d=_0xaee900[_0x3ee2ae(0x404)](_0x46c4f5)[_0x3ee2ae(0x27b)],_0x58297e=Math[_0x3ee2ae(0x325)](_0x5d111d+0x2*_0x1154c3,_0x17d765);_0x3ef284(_0xaee900,{'height':_0xb0017e,'radius':0x4,'width':_0x58297e,'fill':_0xd58439}),_0xaee900['fillStyle']='#FFF';const _0x2b63df=_0x1154c3,_0x5aa2fc=_0xb0017e-_0x248eb7,_0xa0b01=_0x17d765-0x2*_0x1154c3;if(_0x5d111d>_0xa0b01){let _0x22b263='',_0x1d36fb=0x0;for(const _0x297fd2 of _0x46c4f5){const _0x50c3d1=_0xaee900[_0x3ee2ae(0x404)](_0x297fd2)[_0x3ee2ae(0x27b)];if(_0x1d36fb+_0x50c3d1<=_0xa0b01-_0xaee900['measureText']('...')[_0x3ee2ae(0x27b)])_0x22b263+=_0x297fd2,_0x1d36fb+=_0x50c3d1;else{_0x22b263+=_0x3ee2ae(0x1fd);break;}}_0xaee900['fillText'](_0x22b263,_0x2b63df,_0x5aa2fc);}else _0xaee900[_0x3ee2ae(0x32b)](_0x46c4f5,_0x2b63df,_0x5aa2fc);_0xaee900[_0x3ee2ae(0x434)]();}[_0x529647(0x42a)](_0x3dda7a){const _0x459ee3=_0x529647;_0x5ed182[_0x459ee3(0x372)](_0x3dda7a,this);}}const _0x5799a1=_0x529647(0x3b0),_0x13946e=_0x529647(0x1d2),_0x3e0c03=_0x529647(0x3b2),_0x3e8ab8=0x6,_0xd53566=1.5,_0x4e847e=0x4,_0x14b7c=1.5,_0x42e84d='rgba(255,\x20255,\x20255,\x200.01)';class _0x228ffa{constructor(_0x170a02,_0x1eb82e,_0x5d4ee5,_0x3b5e6b){const _0x2a20ae=_0x529647;_0x1bb758(this,_0x2a20ae(0x3f0),[]),_0x1bb758(this,'_anchor',null),_0x1bb758(this,_0x2a20ae(0x28b),null),_0x1bb758(this,_0x2a20ae(0x2de),null),_0x1bb758(this,_0x2a20ae(0x36b),null),_0x1bb758(this,_0x2a20ae(0x253),null),(this[_0x2a20ae(0x34f)]=_0x170a02,this['_scene']=_0x1eb82e,this[_0x2a20ae(0x3ed)]=_0x5d4ee5,this[_0x2a20ae(0x2cf)]=_0x3b5e6b,this[_0x2a20ae(0x2cd)]());}set[_0x529647(0x1af)](_0x2923cb){const _0x5d581d=_0x529647;_0x2923cb?(this[_0x5d581d(0x2de)]&&this[_0x5d581d(0x2de)]['hide'](),this['_textBubble']&&this[_0x5d581d(0x28b)][_0x5d581d(0x29a)]()):(this[_0x5d581d(0x2de)]&&this[_0x5d581d(0x2de)][_0x5d581d(0x29a)](),this[_0x5d581d(0x28b)]&&this[_0x5d581d(0x28b)]['hide']());}[_0x529647(0x23c)](){const _0x495bbc=_0x529647;for(const _0x167baa of this[_0x495bbc(0x3f0)])_0x167baa[_0x495bbc(0x23c)]();this[_0x495bbc(0x28b)]&&this[_0x495bbc(0x28b)][_0x495bbc(0x23c)](),this[_0x495bbc(0x2de)]&&this['_anchorDot'][_0x495bbc(0x23c)](),this['_anchor']&&this[_0x495bbc(0x1c5)]['dispose'](),this[_0x495bbc(0x253)]&&this[_0x495bbc(0x253)]();}[_0x529647(0x2cd)](){const _0x217db0=_0x529647;var _0x9b76b1;const {_docSkeleton:_0x18318b,_document:_0x42f116}=this,{color:_0x104459,name:_0x2ee86c,ranges:_0x29770f}=this[_0x217db0(0x34f)],_0x412fc8=_0x42f116[_0x217db0(0x236)](),{docsLeft:_0x14f5d6,docsTop:_0x52d903}=_0x412fc8,_0x2ec691=new _0x20f7f1[(_0x217db0(0x39d))](_0x412fc8,_0x18318b);for(const {startOffset:_0x18b9e5,endOffset:_0x4d1cf7,rangeType:_0x4a4a34,segmentId:_0x24513f,segmentPage:_0x3b4f26,collapsed:_0x55ab21,isActive:_0x22685a}of _0x29770f){const _0x2bd510=_0x18318b[_0x217db0(0x1c3)](_0x18b9e5,!0x0,_0x24513f,_0x3b4f26);let _0x87fce8=_0x18318b[_0x217db0(0x1c3)](_0x4d1cf7,!0x0,_0x24513f,_0x3b4f26);if(_0x87fce8==null&&(_0x87fce8=_0x18318b[_0x217db0(0x1c3)](_0x4d1cf7-0x1,!0x1,_0x24513f,_0x3b4f26)),_0x22685a){const {contentBoxPointGroup:_0x3e294d}=_0x2ec691[_0x217db0(0x423)](_0x87fce8,_0x87fce8);if(_0x3e294d[_0x217db0(0x3c3)]===0x0)continue;this[_0x217db0(0x3ce)](_0x104459,_0x3e294d,_0x14f5d6,_0x52d903,_0x2ee86c),this[_0x217db0(0x253)]=this[_0x217db0(0x1cd)]();}if(_0x2bd510&&_0x87fce8){if(_0x4a4a34===_0x165790[_0x217db0(0x217)]['RECT']){const _0x34ffe5=new _0x20f7f1[(_0x217db0(0x231))](_0x412fc8,_0x18318b),{pointGroup:_0x999cb3}=(_0x9b76b1=_0x34ffe5[_0x217db0(0x423)](_0x2bd510,_0x87fce8))!=null?_0x9b76b1:{};if(_0x999cb3==null||_0x999cb3['length']===0x0)continue;this[_0x217db0(0x246)](_0x104459,_0x999cb3,_0x14f5d6,_0x52d903);}else{if(!_0x55ab21){const {borderBoxPointGroup:_0x401515}=_0x2ec691[_0x217db0(0x423)](_0x2bd510,_0x87fce8);if(_0x401515[_0x217db0(0x3c3)]===0x0)continue;this['_drawTextRange'](_0x104459,_0x401515,_0x14f5d6,_0x52d903);}}}}}[_0x529647(0x3ce)](_0x480b67,_0x241c9a,_0x24175d,_0x1bb66e,_0x3a9079){const _0x1f73d3=_0x529647,_0x49766e=this['_getAnchorBounding'](_0x241c9a),{left:_0x860ccb,top:_0x3bd497,height:_0x49b548}=_0x49766e,_0x15f8ca=this['_getScale'](),_0x9d3b19=_0x14b7c/_0x15f8ca,_0x2f167c=new _0x1e15c8['Rect'](_0x5799a1+_0x165790[_0x1f73d3(0x2db)](_0x3e8ab8),{'left':_0x860ccb+_0x24175d-_0x9d3b19,'top':_0x3bd497+_0x1bb66e,'height':_0x49b548,'width':_0xd53566,'fill':_0x480b67||_0x1e15c8[_0x1f73d3(0x2ce)](_0x165790['COLORS'][_0x1f73d3(0x3d0)],0x0),'strokeWidth':_0x9d3b19,'stroke':_0x42e84d,'evented':!0x0});this[_0x1f73d3(0x1c5)]=_0x2f167c,this['_scene']['addObject'](_0x2f167c,_0x20f7f1[_0x1f73d3(0x1b2)]);const _0x431bac=new _0x1e15c8[(_0x1f73d3(0x2c5))](_0x5799a1+_0x165790[_0x1f73d3(0x2db)](_0x3e8ab8),{'left':_0x860ccb+_0x24175d-_0x9d3b19,'top':_0x3bd497+_0x1bb66e-_0x4e847e/0x2,'height':_0x4e847e,'width':_0x4e847e,'fill':_0x480b67||_0x1e15c8[_0x1f73d3(0x2ce)](_0x165790[_0x1f73d3(0x2c3)][_0x1f73d3(0x3d0)],0x0),'strokeWidth':0x0,'stroke':_0x480b67||_0x1e15c8[_0x1f73d3(0x2ce)](_0x165790[_0x1f73d3(0x2c3)][_0x1f73d3(0x3d0)],0x0),'evented':!0x1});this[_0x1f73d3(0x2de)]=_0x431bac,this[_0x1f73d3(0x33a)][_0x1f73d3(0x2e5)](_0x431bac,_0x20f7f1[_0x1f73d3(0x1b2)]);const _0x557721=new _0x5ed182(_0x5799a1+_0x165790[_0x1f73d3(0x2db)](_0x3e8ab8),{'left':_0x860ccb+_0x24175d-_0x9d3b19,'top':_0x3bd497+_0x1bb66e-_0xb0017e,'text':_0x3a9079,'color':_0x480b67});this[_0x1f73d3(0x28b)]=_0x557721,this[_0x1f73d3(0x33a)][_0x1f73d3(0x2e5)](_0x557721,_0x20f7f1[_0x1f73d3(0x1b2)]),this[_0x1f73d3(0x1af)]=!0x1;}[_0x529647(0x1cd)](){const _0x32b4bf=_0x529647,_0x4c8c34=this[_0x32b4bf(0x1c5)][_0x32b4bf(0x280)]['subscribeEvent'](()=>{const _0x1e7fb0=_0x32b4bf;this[_0x1e7fb0(0x1af)]=!0x0;}),_0x2d2a3c=this[_0x32b4bf(0x1c5)][_0x32b4bf(0x37f)][_0x32b4bf(0x2ee)](()=>{const _0x2bba29=_0x32b4bf;this[_0x2bba29(0x36b)]&&clearTimeout(this[_0x2bba29(0x36b)]),this[_0x2bba29(0x36b)]=setTimeout(()=>{const _0x129d7c=_0x2bba29;this[_0x129d7c(0x1af)]=!0x1;},0x7d0);});return()=>{const _0x39b54d=_0x32b4bf;_0x4c8c34[_0x39b54d(0x388)](),_0x2d2a3c[_0x39b54d(0x388)]();};}['_drawTextRange'](_0x4969cd,_0x50a06b,_0x1c106b,_0x5b98d1){const _0x28988f=_0x529647,_0x1618a9=new _0x165790[(_0x28988f(0x212))](_0x4969cd)['setAlpha'](0.2)['toRgbString'](),_0x10741f=new _0x1e15c8[(_0x28988f(0x2a4))](_0x13946e+_0x165790['generateRandomId'](_0x3e8ab8),{'pointsGroup':_0x50a06b,'fill':_0x1618a9||_0x1e15c8[_0x28988f(0x2ce)](_0x165790[_0x28988f(0x2c3)][_0x28988f(0x3d0)],0.2),'left':_0x1c106b,'top':_0x5b98d1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28988f(0x3f0)]['push'](_0x10741f),this['_scene'][_0x28988f(0x2e5)](_0x10741f,_0x20f7f1[_0x28988f(0x1b2)]);}['_drawRectRange'](_0x306780,_0x6564f7,_0x21bd94,_0x16fd74){const _0x34ff20=_0x529647,_0x5bf304=new _0x165790['ColorKit'](_0x306780)[_0x34ff20(0x377)](0.2)['toRgbString'](),_0x2867e2=new _0x1e15c8[(_0x34ff20(0x2a4))](_0x3e0c03+_0x165790[_0x34ff20(0x2db)](_0x3e8ab8),{'pointsGroup':_0x6564f7,'fill':_0x5bf304||_0x1e15c8[_0x34ff20(0x2ce)](_0x165790['COLORS'][_0x34ff20(0x3d0)],0.2),'left':_0x21bd94,'top':_0x16fd74,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x34ff20(0x3f0)]['push'](_0x2867e2),this[_0x34ff20(0x33a)][_0x34ff20(0x2e5)](_0x2867e2,_0x20f7f1[_0x34ff20(0x1b2)]);}[_0x529647(0x41b)](_0x12ae18){const _0x42ffd8=_0x12ae18[0x0],_0x223a4f=_0x42ffd8[0x0],_0x2e8f5e=_0x42ffd8[0x2],{x:_0x2ffc81,y:_0x359120}=_0x223a4f,{x:_0x296ab1,y:_0x257fac}=_0x2e8f5e;return{'left':_0x2ffc81,'top':_0x359120,'width':_0x296ab1-_0x2ffc81,'height':_0x257fac-_0x359120};}[_0x529647(0x29e)](){const {scaleX:_0x1517c8,scaleY:_0x2609fb}=this['_scene']['getAncestorScale']();return Math['max'](_0x1517c8,_0x2609fb);}}var _0x3a14e4=Object[_0x529647(0x21c)],_0x5f11c5=(_0x3c6d2d,_0x12f5b8,_0x5a8b1c,_0x19ce10)=>{const _0x1271be=_0x529647;for(var _0x30b3f7=_0x19ce10>0x1?void 0x0:_0x19ce10?_0x3a14e4(_0x12f5b8,_0x5a8b1c):_0x12f5b8,_0x4d4385=_0x3c6d2d[_0x1271be(0x3c3)]-0x1,_0x3d097a;_0x4d4385>=0x0;_0x4d4385--)(_0x3d097a=_0x3c6d2d[_0x4d4385])&&(_0x30b3f7=_0x3d097a(_0x30b3f7)||_0x30b3f7);return _0x30b3f7;},_0x91b4b7=(_0x29463f,_0x195726)=>(_0x385912,_0xcfd54e)=>_0x195726(_0x385912,_0xcfd54e,_0x29463f);let _0x152775=class extends _0x165790[_0x529647(0x270)]{constructor(_0x301425,_0x2a719b,_0x439c18,_0x24012e,_0xbcf457){const _0xa84fe7=_0x529647;super(),_0x1bb758(this,_0xa84fe7(0x342),[]),_0x1bb758(this,_0xa84fe7(0x247),[]),(this[_0xa84fe7(0x40a)]=_0x301425,this[_0xa84fe7(0x30f)]=_0x2a719b,this[_0xa84fe7(0x3a5)]=_0x439c18,this[_0xa84fe7(0x2fc)]=_0x24012e,this[_0xa84fe7(0x200)]=_0xbcf457,this[_0xa84fe7(0x2b7)]());}[_0x529647(0x2b7)](){const _0x39ff72=_0x529647,_0x34a754=this['_context'][_0x39ff72(0x408)],_0x245556=this['_docSkeletonManagerService'];this[_0x39ff72(0x203)](_0x278be1['combineLatest']([this[_0x39ff72(0x3a5)][_0x39ff72(0x36f)](_0x34a754),this['_themeService']['currentTheme$']])[_0x39ff72(0x1f3)](_0x228a58[_0x39ff72(0x2e3)](([_0x31612b,_0x31a978])=>({'skeleton':_0x245556[_0x39ff72(0x33e)](),'cursors':[..._0x31612b[_0x39ff72(0x2ad)]()][_0x39ff72(0x2c7)](_0x575315=>({..._0x575315,'color':this[_0x39ff72(0x200)]['getColorFromTheme'](_0x575315[_0x39ff72(0x1e0)])}))})))[_0x39ff72(0x35c)](_0x122d52=>{if(this['_removeCollabCursors'](),_0x122d52){const {skeleton:_0x44f931,cursors:_0x5a639b}=_0x122d52;this['_updateCollabCursors'](_0x44f931,_0x5a639b);}})),this[_0x39ff72(0x241)](),this[_0x39ff72(0x284)]();}[_0x529647(0x3aa)](_0x1c78e7,_0xd767e6){const _0xba6141=_0x529647,{scene:_0x375c62,mainComponent:_0x2f00f5}=this[_0xba6141(0x40a)],_0x45d038=_0xd767e6[_0xba6141(0x2e3)](_0x5ededb=>new _0x228ffa(_0x5ededb,_0x375c62,_0x1c78e7,_0x2f00f5));this[_0xba6141(0x342)]=_0x45d038,this['_cursors']=_0xd767e6;}[_0x529647(0x2bd)](){const _0xabf2f9=_0x529647;this[_0xabf2f9(0x266)]();const {scene:_0x557621,mainComponent:_0x1c811a}=this['_context'],_0x78d518=this[_0xabf2f9(0x30f)]['getSkeleton'](),_0x302812=this[_0xabf2f9(0x247)][_0xabf2f9(0x2e3)](_0x1ce40b=>new _0x228ffa(_0x1ce40b,_0x557621,_0x78d518,_0x1c811a));this[_0xabf2f9(0x342)]=_0x302812;}[_0x529647(0x266)](){const _0x355ea3=_0x529647;this[_0x355ea3(0x342)]['forEach'](_0x5497e4=>_0x5497e4[_0x355ea3(0x23c)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x48c1d2=_0x529647,_0x5316dd=[_0x20f7f1[_0x48c1d2(0x34e)]['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x1a486b=>{const _0x50b949=_0x48c1d2;_0x5316dd[_0x50b949(0x33f)](_0x1a486b['id'])&&_0x1a486b[_0x50b949(0x1ef)][_0x50b949(0x408)]===this[_0x50b949(0x40a)][_0x50b949(0x408)]&&this[_0x50b949(0x2bd)]();}));}[_0x529647(0x241)](){const _0x42553b=_0x529647;this['disposeWithMe'](_0x165790[_0x42553b(0x3ef)](this[_0x42553b(0x40a)][_0x42553b(0x3f2)][_0x42553b(0x252)])[_0x42553b(0x1f3)](_0x228a58['filter'](_0x175496=>_0x175496[_0x42553b(0x1f0)]===_0x1e15c8['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x228a58[_0x42553b(0x381)](0x10))[_0x42553b(0x35c)](()=>{const _0x1c09a2=_0x42553b;this[_0x1c09a2(0x2bd)]();}));}};_0x152775=_0x5f11c5([_0x91b4b7(0x1,_0x165790[_0x529647(0x337)](_0x20f8e5[_0x529647(0x1e4)])),_0x91b4b7(0x2,_0x165790[_0x529647(0x337)](_0x117536)),_0x91b4b7(0x3,_0x165790[_0x529647(0x282)]),_0x91b4b7(0x4,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x3c0)]))],_0x152775);const _0xf2452d=0x1,_0x2862ca=1.5;class _0x65c813 extends _0x1e15c8[_0x529647(0x3a1)]{constructor(_0x1172c9,_0x19e361){const _0x4e6d19=_0x529647;super(_0x1172c9,_0x19e361),_0x1bb758(this,_0x4e6d19(0x263)),_0x1bb758(this,_0x4e6d19(0x3d6),!0x1),_0x1bb758(this,_0x4e6d19(0x33c)),_0x1bb758(this,_0x4e6d19(0x3a9),''),_0x1bb758(this,_0x4e6d19(0x2f1),'top'),_0x1bb758(this,'_backgroundColor'),(_0x19e361&&this[_0x4e6d19(0x331)](_0x19e361),this[_0x4e6d19(0x280)]['subscribeEvent'](()=>this[_0x4e6d19(0x331)]({'hovered':!0x0})),this[_0x4e6d19(0x37f)]['subscribeEvent'](()=>this[_0x4e6d19(0x331)]({'hovered':!0x1})));}[_0x529647(0x331)](_0x216a46){const _0xe705c2=_0x529647;var _0x43cfab,_0x2d8adc,_0x1032e3,_0x55b0a0,_0x1b778f,_0x561af2;this[_0xe705c2(0x263)]=(_0x43cfab=_0x216a46[_0xe705c2(0x1e0)])!=null?_0x43cfab:this[_0xe705c2(0x263)],this['_hovered']=(_0x2d8adc=_0x216a46[_0xe705c2(0x348)])!=null?_0x2d8adc:this[_0xe705c2(0x3d6)],this[_0xe705c2(0x33c)]=(_0x1032e3=_0x216a46[_0xe705c2(0x428)])!=null?_0x1032e3:this[_0xe705c2(0x33c)],this[_0xe705c2(0x3a9)]=(_0x55b0a0=_0x216a46[_0xe705c2(0x268)])!=null?_0x55b0a0:this['_name'],this['_labelPosition']=(_0x1b778f=_0x216a46[_0xe705c2(0x340)])!=null?_0x1b778f:this[_0xe705c2(0x2f1)],this[_0xe705c2(0x1d4)]=(_0x561af2=_0x216a46['backgroundColor'])!=null?_0x561af2:this['_backgroundColor'],this[_0xe705c2(0x436)]({'width':_0x216a46[_0xe705c2(0x27b)],'height':_0x216a46[_0xe705c2(0x1f4)]});}['onMouseMove'](_0x5c5e06){const _0x5d0594=_0x529647,{row:_0x13f5d8,column:_0x28ff89}=_0x5c5e06;if(_0x13f5d8>=this['_range'][_0x5d0594(0x2bb)]&&_0x13f5d8<=this['_range']['endRow']&&_0x28ff89>=this['_range'][_0x5d0594(0x1b6)]&&_0x28ff89<=this[_0x5d0594(0x33c)][_0x5d0594(0x2a6)]){this[_0x5d0594(0x331)]({'hovered':!0x0});return;}this[_0x5d0594(0x331)]({'hovered':!0x1});}['triggerDblclick'](_0x332622){return!0x1;}[_0x529647(0x42a)](_0x453b6f){const _0x4a4a37=_0x529647;_0x1e15c8[_0x4a4a37(0x2c5)][_0x4a4a37(0x372)](_0x453b6f,{'width':this[_0x4a4a37(0x27b)],'height':this[_0x4a4a37(0x1f4)],'strokeWidth':_0x2862ca,'stroke':this[_0x4a4a37(0x263)],'evented':!0x1,'fill':this[_0x4a4a37(0x1d4)]}),this['_hovered']&&(_0x453b6f['save'](),_0x453b6f[_0x4a4a37(0x392)](0x1,0x0,0x0,0x1,this[_0x4a4a37(0x27b)],this[_0x4a4a37(0x2f1)]==='bottom'?0x0:-_0xb0017e),_0x5ed182['drawWith'](_0x453b6f,{'text':this['_name'],'color':this[_0x4a4a37(0x263)]}),_0x453b6f[_0x4a4a37(0x434)]());}}var _0x34e209=Object['getOwnPropertyDescriptor'],_0x525f2f=(_0x2a1de2,_0x12f2b3,_0x34eb31,_0x48c4b7)=>{for(var _0x3a8b30=_0x48c4b7>0x1?void 0x0:_0x48c4b7?_0x34e209(_0x12f2b3,_0x34eb31):_0x12f2b3,_0xc2bb70=_0x2a1de2['length']-0x1,_0xf10009;_0xc2bb70>=0x0;_0xc2bb70--)(_0xf10009=_0x2a1de2[_0xc2bb70])&&(_0x3a8b30=_0xf10009(_0x3a8b30)||_0x3a8b30);return _0x3a8b30;},_0x41c8a5=(_0x176654,_0x58cbbd)=>(_0x4f4d3d,_0x4b9bbb)=>_0x58cbbd(_0x4f4d3d,_0x4b9bbb,_0x176654);const _0x22e299=0x1389;let _0x254369=class extends _0x165790['RxDisposable']{constructor(_0x4d7fb2,_0x162715,_0x53360b,_0x5cac35){const _0x565ed4=_0x529647;super(),_0x1bb758(this,_0x565ed4(0x247),new Set()),_0x1bb758(this,_0x565ed4(0x318),null),(this['_context']=_0x4d7fb2,this[_0x565ed4(0x3eb)]=_0x162715,this['_collabCursorController']=_0x53360b,this[_0x565ed4(0x200)]=_0x5cac35,this[_0x565ed4(0x2b7)]());}['_init'](){const _0x5c4cc6=_0x529647;this[_0x5c4cc6(0x3eb)][_0x5c4cc6(0x3cc)][_0x5c4cc6(0x1f3)](_0x228a58[_0x5c4cc6(0x202)](this[_0x5c4cc6(0x2d3)]),_0x228a58[_0x5c4cc6(0x2a3)](_0x28339b=>{const _0x3baca8=_0x5c4cc6;if(_0x28339b){const _0x5a672b=_0x28339b[_0x3baca8(0x42d)];return _0x278be1['combineLatest'](this[_0x3baca8(0x3a5)][_0x3baca8(0x36f)](this[_0x3baca8(0x40a)][_0x3baca8(0x408)]),this[_0x3baca8(0x200)][_0x3baca8(0x366)])[_0x3baca8(0x1f3)](_0x228a58[_0x3baca8(0x2e3)](([_0x4dd387,_0x37e730])=>{const _0xe2898d=_0x3baca8,_0x5b26f6=new Map();return _0x4dd387[_0xe2898d(0x311)]((_0x18df71,_0xc778d9)=>{const _0x39c551=_0xe2898d;if(_0x18df71[_0x39c551(0x420)]===_0x5a672b){const _0x25493c={..._0x18df71};_0x25493c['color']=this[_0x39c551(0x200)][_0x39c551(0x2d7)](_0x18df71['color']),_0x5b26f6[_0x39c551(0x41c)](_0xc778d9,_0x25493c);}}),{'skeleton':_0x28339b,'cursors':_0x5b26f6};}));}return _0x278be1['of']({'skeleton':null,'cursors':new Map()});}))[_0x5c4cc6(0x35c)](({skeleton:_0x4c6c98,cursors:_0x2fe6f4})=>{const _0x4cf095=_0x5c4cc6;this[_0x4cf095(0x266)](),_0x4c6c98&&this[_0x4cf095(0x3aa)](_0x4c6c98,_0x2fe6f4);}),this[_0x5c4cc6(0x3eb)]['currentSkeleton$'][_0x5c4cc6(0x35c)](_0x234f32=>{const _0x4f5bc3=_0x5c4cc6;if(_0x234f32==null)return;const {skeleton:_0x13410c}=_0x234f32,{scene:_0x3e8346}=this[_0x4f5bc3(0x40a)];_0x3e8346[_0x4f5bc3(0x341)][_0x4f5bc3(0x2ee)](_0x165790[_0x4f5bc3(0x251)](_0x274356=>{const _0x52a7f0=_0x4f5bc3;var _0x373c73,_0x3f1bf6;const {offsetX:_0x213f93,offsetY:_0xd26913}=_0x274356,{x:_0xb8d123,y:_0x5245db}=_0x3e8346[_0x52a7f0(0x346)](_0x1e15c8[_0x52a7f0(0x42c)]['FromArray']([_0x213f93,_0xd26913])),{scaleX:_0x192dee,scaleY:_0x425f19}=_0x3e8346[_0x52a7f0(0x2ca)](),_0x1d411c=_0x3e8346[_0x52a7f0(0x1ac)](_0x1e15c8['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x5ccda0=_0x3e8346[_0x52a7f0(0x1c6)](_0x1e15c8[_0x52a7f0(0x42c)][_0x52a7f0(0x21b)]([_0xb8d123,_0x5245db]),_0x1d411c),_0x1ac57c=_0x13410c[_0x52a7f0(0x3b6)](_0x213f93,_0xd26913,_0x192dee,_0x425f19,_0x5ccda0);((_0x373c73=this['_lastPointer'])==null?void 0x0:_0x373c73[_0x52a7f0(0x1f5)])===_0x1ac57c[_0x52a7f0(0x1f5)]&&((_0x3f1bf6=this['_lastPointer'])==null?void 0x0:_0x3f1bf6[_0x52a7f0(0x3a0)])===_0x1ac57c['row']||this[_0x52a7f0(0x247)][_0x52a7f0(0x311)](_0x44d572=>{_0x44d572['onMouseMove'](_0x1ac57c);});},0x64));});}[_0x529647(0x3aa)](_0x4b09d7,_0x590ab6){const _0x2a6eda=_0x529647;var _0x5b9aca;const _0x1181f7=(_0x5b9aca=this[_0x2a6eda(0x3eb)][_0x2a6eda(0x261)]())==null?void 0x0:_0x5b9aca[_0x2a6eda(0x359)];if(!_0x1181f7)return;const _0x28c9f7=this[_0x2a6eda(0x227)]();if(!_0x28c9f7)return;this['_cursors'][_0x2a6eda(0x311)](_0x5c2251=>{const _0x2ef1b3=_0x2a6eda;_0x5c2251[_0x2ef1b3(0x34d)]();});const {scene:_0x4ce47d}=_0x28c9f7,_0x364021=_0x4e8dea(Array[_0x2a6eda(0x387)](_0x590ab6[_0x2a6eda(0x2ad)]()))[_0x2a6eda(0x2e3)](_0x314f97=>{const _0x4e2429=_0x2a6eda,{color:_0x32e5df,range:_0x3a8d06,name:_0x3f8689,selection:_0x177444,sheetID:_0xc3c149}=_0x314f97,{startColumn:_0x4c49c6,startRow:_0x55070d,endColumn:_0x525596,endRow:_0x2e170c}=_0x3a8d06,_0x2175bd=_0x476ef1[_0x4e2429(0x378)](_0x55070d,_0x4c49c6,_0x4ce47d,_0x1181f7),_0x2ea7bc=_0x476ef1[_0x4e2429(0x378)](_0x2e170c,_0x525596,_0x4ce47d,_0x1181f7),{columnHeaderHeightAndMarginTop:_0xa0cca}=_0x1181f7,{startX:_0x4d1e2e,startY:_0x38f591}=_0x2175bd,{endX:_0x3aa9ae,endY:_0x29547c}=_0x2ea7bc,_0x4f8fe5=_0x3aa9ae-_0x4d1e2e,_0x4032df=_0x29547c-_0x38f591,_0x323170={'labelPosition':_0x38f591-_0xa0cca>=_0xb0017e?'top':'bottom','sheetID':_0xc3c149,'range':_0x3a8d06,'color':_0x32e5df,'name':_0x3f8689,'selection':_0x177444,'left':_0x4d1e2e,'top':_0x38f591,'width':_0x4f8fe5,'height':_0x4032df,'evented':!0x1,'zIndex':_0x22e299};return new _0x65c813(_0x3f8689,_0x323170);});_0x4ce47d[_0x2a6eda(0x25b)](_0x364021,_0xf2452d),this[_0x2a6eda(0x247)]=new Set(_0x364021);}['_removeCollabCursors'](){const _0x44e1c2=_0x529647;var _0x1674cb;(_0x1674cb=this['_cursors'])==null||_0x1674cb[_0x44e1c2(0x311)](_0x532964=>_0x532964['dispose']());}[_0x529647(0x227)](){const _0x502189=_0x529647;return _0x476ef1['getSheetObject'](this[_0x502189(0x40a)][_0x502189(0x30a)],this['_context']);}};_0x254369=_0x525f2f([_0x41c8a5(0x1,_0x165790[_0x529647(0x337)](_0x476ef1[_0x529647(0x40b)])),_0x41c8a5(0x2,_0x165790['Inject'](_0x117536)),_0x41c8a5(0x3,_0x165790['Inject'](_0x165790[_0x529647(0x3c0)]))],_0x254369);function _0x4e8dea(_0x4bb1f2){const _0x206bd5=_0x529647,_0x5c650f=new Map();return _0x4bb1f2[_0x206bd5(0x311)](_0x13cd45=>{const _0x2162dd=_0x206bd5;if(_0x5c650f[_0x2162dd(0x317)](_0x13cd45[_0x2162dd(0x364)])){const _0x5ad52f=_0x5c650f[_0x2162dd(0x1b5)](_0x13cd45[_0x2162dd(0x364)]);_0x5ad52f[_0x2162dd(0x268)]+=',\x20'+_0x13cd45[_0x2162dd(0x268)];}else _0x5c650f[_0x2162dd(0x41c)](_0x13cd45[_0x2162dd(0x364)],_0x13cd45);}),Array[_0x206bd5(0x387)](_0x5c650f[_0x206bd5(0x2ad)]());}var _0x3fcd3e=Object[_0x529647(0x21c)],_0x15923a=(_0x39e690,_0x3ddaac,_0x349870,_0xd2117f)=>{for(var _0x2c13fa=_0xd2117f>0x1?void 0x0:_0xd2117f?_0x3fcd3e(_0x3ddaac,_0x349870):_0x3ddaac,_0x58a54e=_0x39e690['length']-0x1,_0x516c05;_0x58a54e>=0x0;_0x58a54e--)(_0x516c05=_0x39e690[_0x58a54e])&&(_0x2c13fa=_0x516c05(_0x2c13fa)||_0x2c13fa);return _0x2c13fa;},_0x3ea046=(_0xbdc261,_0x297ad3)=>(_0x1e4597,_0x7a86)=>_0x297ad3(_0x1e4597,_0x7a86,_0xbdc261);let _0x279a7d=class extends _0x165790[_0x529647(0x225)]{constructor(_0x52308b,_0x6804b2,_0x4ae444,_0x1a7b03,_0x4ff48c,_0x1b2e98){const _0x4af8c5=_0x529647;super(),this[_0x4af8c5(0x386)]=_0x52308b,this[_0x4af8c5(0x384)]=_0x6804b2,this['_collaborationUIEventService']=_0x4ae444,this[_0x4af8c5(0x3b7)]=_0x1a7b03,this[_0x4af8c5(0x313)]=_0x4ff48c,this['_localeService']=_0x1b2e98,this['_setupBeforeClosingHandler'](),this[_0x4af8c5(0x1c0)]();}[_0x529647(0x285)](){const _0x58779f=_0x529647;this[_0x58779f(0x203)](this[_0x58779f(0x386)]['registerBeforeClose'](()=>{const _0x1e4581=_0x58779f;if(this[_0x1e4581(0x384)]['saveTaskMap']['size'])return this[_0x1e4581(0x3b8)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x529647(0x1c0)](){const _0x2ac282=_0x529647;this[_0x2ac282(0x203)](this[_0x2ac282(0x276)]['event$'][_0x2ac282(0x35c)](_0x401839=>{const _0xbbd6b0=_0x2ac282;_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)]['OTHER_CLIENT_EDITING']&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)]['Warning'],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x1d0))}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x239)]&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x1e9)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x237))}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x3c6)]&&this[_0xbbd6b0(0x313)][_0xbbd6b0(0x29a)]({'title':this[_0xbbd6b0(0x3b8)]['t']('permission.title'),'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x274)),'type':_0xbbd6b0(0x3d5),'duration':0x0}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x3fc)]&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x229)],'content':this[_0xbbd6b0(0x3b8)]['t']('collaboration.closeRoom')+'('+_0x401839[_0xbbd6b0(0x310)]+')'}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)]['JOIN_ROOM_FAILED']&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x1e9)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0x401839[_0xbbd6b0(0x310)]||'')}),_0x401839['id']===_0x1efc97['CollaborationUIEventId'][_0xbbd6b0(0x23e)]&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x1e9)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x3dc))}),_0x401839['id']===_0x1efc97['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x229)],'content':this[_0xbbd6b0(0x3b8)]['t']('session.connection-failed')}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x405)]&&this[_0xbbd6b0(0x3b7)]['show']({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x229)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x38e))});}));}};_0x279a7d=_0x15923a([_0x3ea046(0x0,_0x46a2f6['IBeforeCloseService']),_0x3ea046(0x1,_0x1efc97[_0x529647(0x37a)]),_0x3ea046(0x2,_0x165790[_0x529647(0x337)](_0x1efc97['CollaborationUIEventService'])),_0x3ea046(0x3,_0x46a2f6[_0x529647(0x27a)]),_0x3ea046(0x4,_0x46a2f6[_0x529647(0x2f5)]),_0x3ea046(0x5,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x1a8)]))],_0x279a7d);const _0x1cc92a=_0x529647(0x376),_0x482b11={};var _0x4cf142=Object[_0x529647(0x21c)],_0x367ec2=(_0x5ad513,_0x1e4d62,_0x2fbc37,_0x121906)=>{for(var _0x20e04f=_0x121906>0x1?void 0x0:_0x121906?_0x4cf142(_0x1e4d62,_0x2fbc37):_0x1e4d62,_0x3b6b37=_0x5ad513['length']-0x1,_0x4246a9;_0x3b6b37>=0x0;_0x3b6b37--)(_0x4246a9=_0x5ad513[_0x3b6b37])&&(_0x20e04f=_0x4246a9(_0x20e04f)||_0x20e04f);return _0x20e04f;},_0x55fc9e=(_0x7666da,_0x55f054)=>(_0x26e533,_0x195585)=>_0x55f054(_0x26e533,_0x195585,_0x7666da);let _0x488d59=class{constructor(_0x124a05,_0x3fdffb){this['_transformService']=_0x124a05,this['_renderManagerService']=_0x3fdffb;}['transformIMECache'](_0x1f4b21){const _0x58967c=_0x529647;this['_transformUndoRedoStack'](_0x1f4b21),this[_0x58967c(0x2af)](_0x1f4b21);}[_0x529647(0x27c)](_0x46f032){const _0x31facb=_0x529647,{unitID:_0x260e76}=_0x46f032,_0x2378ab=this[_0x31facb(0x1ff)]['getRenderById'](_0x260e76)[_0x31facb(0x29b)](_0x20f7f1[_0x31facb(0x25d)]),{redoCache:_0x400332}=_0x2378ab[_0x31facb(0x3b1)]();if(_0x400332[_0x31facb(0x3c3)]===0x0)return _0x46f032;let _0x3d43ae=_0x165790['Tools'][_0x31facb(0x242)](_0x46f032[_0x31facb(0x32d)][0x0]);for(let _0x37b4be=0x0;_0x37b4be<_0x400332[_0x31facb(0x3c3)];_0x37b4be++){const _0x29d456={'id':_0x31facb(0x3e7),'params':{..._0x400332[_0x37b4be]}},_0x57c23c=this[_0x31facb(0x292)]['transformMutation'](_0x3d43ae,_0x29d456,!0x1);if(_0x2b1f6e[_0x31facb(0x250)](_0x57c23c))throw _0x57c23c[_0x31facb(0x3d5)];_0x3d43ae=_0x57c23c[_0x31facb(0x431)];}return{..._0x165790[_0x31facb(0x2b0)][_0x31facb(0x242)](_0x46f032),'mutations':[_0x3d43ae]};}['_transformUndoRedoStack'](_0x409dd9){const _0x3ef0e8=_0x529647,{unitID:_0x1e49f1}=_0x409dd9,_0x10ce97=this['_renderManagerService']['getRenderById'](_0x1e49f1)[_0x3ef0e8(0x29b)](_0x20f7f1[_0x3ef0e8(0x25d)]),{undoCache:_0x23dfd4,redoCache:_0x378f79}=_0x10ce97['getUndoRedoMutationParamsCache']();if(_0x23dfd4[_0x3ef0e8(0x3c3)]===0x0||_0x378f79[_0x3ef0e8(0x3c3)]===0x0)return;const _0x2f69ac=[],_0x1788c0=[];let _0x53c85c=_0x165790[_0x3ef0e8(0x2b0)]['deepClone'](_0x409dd9[_0x3ef0e8(0x32d)][0x0]),_0x229cb2=_0x165790['Tools'][_0x3ef0e8(0x242)](_0x409dd9[_0x3ef0e8(0x32d)][0x0]);for(let _0xc786ce=_0x23dfd4[_0x3ef0e8(0x3c3)]-0x1;_0xc786ce>=0x0;_0xc786ce--){const _0x53edc7={'id':'doc.mutation.rich-text-editing','params':{..._0x23dfd4[_0xc786ce]}},_0x17e643={'id':_0x3ef0e8(0x3e7),'params':{..._0x378f79[_0xc786ce]}},_0x4f6b02=this[_0x3ef0e8(0x292)]['transformMutation'](_0x53c85c,_0x53edc7,!0x1),_0x27b7a4=this[_0x3ef0e8(0x292)][_0x3ef0e8(0x218)](_0x229cb2,_0x17e643,!0x1);if(_0x2b1f6e[_0x3ef0e8(0x250)](_0x4f6b02))throw _0x4f6b02[_0x3ef0e8(0x3d5)];if(_0x2b1f6e[_0x3ef0e8(0x250)](_0x27b7a4))throw _0x27b7a4[_0x3ef0e8(0x3d5)];_0x2f69ac['unshift'](_0x4f6b02['m2Prime']['params']),_0x1788c0[_0x3ef0e8(0x2dd)](_0x27b7a4[_0x3ef0e8(0x2fe)]['params']),_0x53c85c=_0x4f6b02['m1Prime'],_0x229cb2=_0x27b7a4[_0x3ef0e8(0x431)];}_0x10ce97['setUndoRedoMutationParamsCache']({'undoCache':_0x2f69ac,'redoCache':_0x1788c0});}['_transformPreviousActiveRange'](_0x158c3a){const _0x1ca598=_0x529647,{unitID:_0x33bf29}=_0x158c3a,_0x3dff61=this['_renderManagerService'][_0x1ca598(0x2ae)](_0x33bf29)[_0x1ca598(0x29b)](_0x20f7f1[_0x1ca598(0x25d)]),_0x3f6aad=_0x3dff61[_0x1ca598(0x34a)]();if(_0x3f6aad==null)return;const _0x248a4e=[{'id':_0x1ca598(0x3e7),'params':{'unitId':_0x158c3a[_0x1ca598(0x27e)],'actions':null,'textRanges':[_0x3f6aad]}}],_0x46c2f4=this[_0x1ca598(0x292)][_0x1ca598(0x290)](_0x158c3a,_0x248a4e);if(!_0x2b1f6e[_0x1ca598(0x302)](_0x46c2f4))throw _0x46c2f4['error'];const _0x5c4946=_0x46c2f4['m2Prime'][0x0]['params'][_0x1ca598(0x21d)];Array[_0x1ca598(0x333)](_0x5c4946)&&_0x5c4946[_0x1ca598(0x3c3)]&&_0x3dff61['setActiveRange'](_0x5c4946[0x0]);}};_0x488d59=_0x367ec2([_0x55fc9e(0x0,_0x2b1f6e[_0x529647(0x412)]),_0x55fc9e(0x1,_0x1e15c8[_0x529647(0x40f)])],_0x488d59);var _0x2196b6=Object['getOwnPropertyDescriptor'],_0x2b6d51=(_0x2b0e6b,_0x1450eb,_0x3b40bf,_0x2d9ef7)=>{const _0x4dd10b=_0x529647;for(var _0x365253=_0x2d9ef7>0x1?void 0x0:_0x2d9ef7?_0x2196b6(_0x1450eb,_0x3b40bf):_0x1450eb,_0x3f3a9f=_0x2b0e6b[_0x4dd10b(0x3c3)]-0x1,_0xac4efe;_0x3f3a9f>=0x0;_0x3f3a9f--)(_0xac4efe=_0x2b0e6b[_0x3f3a9f])&&(_0x365253=_0xac4efe(_0x365253)||_0x365253);return _0x365253;},_0x2100de=(_0x24dac5,_0x4eabfb)=>(_0x3ce3bc,_0x5c1cc5)=>_0x4eabfb(_0x3ce3bc,_0x5c1cc5,_0x24dac5);let _0x2d4b4e=class{constructor(_0x389597,_0x129703,_0x2f0687){const _0x504466=_0x529647;this[_0x504466(0x3c1)]=_0x389597,this[_0x504466(0x292)]=_0x129703,this[_0x504466(0x267)]=_0x2f0687;}[_0x529647(0x22d)](_0x48475e){this['_transformHistoryAndStateStack'](_0x48475e);}[_0x529647(0x27c)](_0x1b1734){const _0x5c21de=_0x529647,{unitID:_0x176fe1}=_0x1b1734,{collaboration:_0x10246d}=this[_0x5c21de(0x267)]['getStateCache'](_0x176fe1);if(_0x10246d['length']===0x0)return _0x1b1734;let _0x1bc73c=_0x165790[_0x5c21de(0x2b0)]['deepClone'](_0x1b1734[_0x5c21de(0x32d)][0x0]);for(let _0x151af9=0x0;_0x151af9<_0x10246d[_0x5c21de(0x3c3)];_0x151af9++){const _0x3e4ac3={'id':_0x5c21de(0x3e7),'params':{'unitId':_0x10246d[_0x151af9][_0x5c21de(0x408)],..._0x10246d[_0x151af9][_0x5c21de(0x32a)]}},_0x34493f=this[_0x5c21de(0x292)]['transformMutation'](_0x1bc73c,_0x3e4ac3,!0x1);if(_0x2b1f6e['isTransformMutationFailure'](_0x34493f))throw _0x34493f[_0x5c21de(0x3d5)];_0x1bc73c=_0x34493f[_0x5c21de(0x431)];}return{..._0x165790[_0x5c21de(0x2b0)]['deepClone'](_0x1b1734),'mutations':[_0x1bc73c]};}[_0x529647(0x3ad)](_0xd07072){const _0xb237=_0x529647,{unitID:_0x4b40fa}=_0xd07072,{history:_0xa35b6d,collaboration:_0x26fc81}=this[_0xb237(0x267)]['getStateCache'](_0x4b40fa);if(_0xa35b6d[_0xb237(0x3c3)]===0x0&&_0x26fc81[_0xb237(0x3c3)]===0x0)return;const _0x4389a5=[],_0x14d61d=[];let _0x2aa356=_0x165790['Tools']['deepClone'](_0xd07072[_0xb237(0x32d)][0x0]),_0x30ca85=_0x165790[_0xb237(0x2b0)][_0xb237(0x242)](_0xd07072[_0xb237(0x32d)][0x0]);for(let _0x3f94c4=_0xa35b6d[_0xb237(0x3c3)]-0x1;_0x3f94c4>=0x0;_0x3f94c4--){const _0x1990b4={'id':_0xb237(0x3e7),'params':{'unitId':_0xa35b6d[_0x3f94c4]['unitId'],..._0xa35b6d[_0x3f94c4][_0xb237(0x1fe)]}},_0x2e5aa1={'id':_0xb237(0x3e7),'params':{'unitId':_0xa35b6d[_0x3f94c4][_0xb237(0x408)],..._0xa35b6d[_0x3f94c4][_0xb237(0x32a)]}},_0x5069a0=this['_transformService'][_0xb237(0x218)](_0x2aa356,_0x1990b4,!0x1),_0x396246=this[_0xb237(0x292)][_0xb237(0x218)](_0x30ca85,_0x2e5aa1,!0x1);if(_0x2b1f6e['isTransformMutationFailure'](_0x5069a0))throw _0x5069a0[_0xb237(0x3d5)];if(_0x2b1f6e[_0xb237(0x250)](_0x396246))throw _0x396246['error'];_0x4389a5[_0xb237(0x2dd)]({..._0xa35b6d[_0x3f94c4],'undoState':_0x5069a0[_0xb237(0x2fe)][_0xb237(0x1ef)],'redoState':_0x396246[_0xb237(0x2fe)]['params']}),_0x2aa356=_0x5069a0[_0xb237(0x431)],_0x30ca85=_0x396246['m1Prime'];}_0x2aa356=_0x165790['Tools'][_0xb237(0x242)](_0xd07072['mutations'][0x0]),_0x30ca85=_0x165790[_0xb237(0x2b0)][_0xb237(0x242)](_0xd07072['mutations'][0x0]);for(let _0x577c9d=_0x26fc81[_0xb237(0x3c3)]-0x1;_0x577c9d>=0x0;_0x577c9d--){const _0x4ca52a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26fc81[_0x577c9d]['unitId'],..._0x26fc81[_0x577c9d][_0xb237(0x1fe)]}},_0x1fc290={'id':_0xb237(0x3e7),'params':{'unitId':_0x26fc81[_0x577c9d][_0xb237(0x408)],..._0x26fc81[_0x577c9d][_0xb237(0x32a)]}},_0x518c46=this[_0xb237(0x292)][_0xb237(0x218)](_0x2aa356,_0x4ca52a,!0x1),_0x1fc7f6=this['_transformService'][_0xb237(0x218)](_0x30ca85,_0x1fc290,!0x1);if(_0x2b1f6e[_0xb237(0x250)](_0x518c46))throw _0x518c46[_0xb237(0x3d5)];if(_0x2b1f6e['isTransformMutationFailure'](_0x1fc7f6))throw _0x1fc7f6[_0xb237(0x3d5)];_0x14d61d[_0xb237(0x2dd)]({..._0x26fc81[_0x577c9d],'undoState':_0x518c46[_0xb237(0x2fe)][_0xb237(0x1ef)],'redoState':_0x1fc7f6[_0xb237(0x2fe)][_0xb237(0x1ef)]}),_0x2aa356=_0x518c46[_0xb237(0x431)],_0x30ca85=_0x1fc7f6[_0xb237(0x431)];}this['_docStateChangeManagerService']['setStateCache'](_0x4b40fa,{'history':_0x4389a5,'collaboration':_0x14d61d});}};_0x2d4b4e=_0x2b6d51([_0x2100de(0x0,_0x165790['Inject'](_0x165790[_0x529647(0x213)])),_0x2100de(0x1,_0x2b1f6e[_0x529647(0x412)]),_0x2100de(0x2,_0x165790['Inject'](_0x20f7f1['DocStateChangeManagerService']))],_0x2d4b4e);var _0x1538b5=Object[_0x529647(0x21c)],_0x185d2a=(_0x474e4b,_0x398538,_0x3c8dd4,_0x2d78ab)=>{for(var _0x107607=_0x2d78ab>0x1?void 0x0:_0x2d78ab?_0x1538b5(_0x398538,_0x3c8dd4):_0x398538,_0x12657f=_0x474e4b['length']-0x1,_0x1775c2;_0x12657f>=0x0;_0x12657f--)(_0x1775c2=_0x474e4b[_0x12657f])&&(_0x107607=_0x1775c2(_0x107607)||_0x107607);return _0x107607;},_0x6887ea=(_0x59a609,_0x354710)=>(_0xb58229,_0x9a8dca)=>_0x354710(_0xb58229,_0x9a8dca,_0x59a609);let _0x452f6b=class{constructor(_0x4ec178,_0x174d40){const _0x11e7bb=_0x529647;this['_injector']=_0x4ec178,this[_0x11e7bb(0x292)]=_0x174d40;}[_0x529647(0x214)](_0xaacf6){const _0x4303a4=_0x529647;var _0x4a7625;const _0xff89f6=this[_0x4303a4(0x3c1)]['get'](_0x20f8e5[_0x4303a4(0x327)]),_0x2ccf32=(_0x4a7625=_0xff89f6['getDocRanges']())!=null?_0x4a7625:[];if(_0x2ccf32[_0x4303a4(0x3c3)]===0x0)return;const _0x310274=_0xaacf6[_0x4303a4(0x27e)],_0x34e4a5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x310274,'actions':null,'textRanges':_0x2ccf32}}],_0x177140=this[_0x4303a4(0x292)][_0x4303a4(0x290)](_0xaacf6,_0x34e4a5);if(!_0x2b1f6e[_0x4303a4(0x302)](_0x177140))throw _0x177140[_0x4303a4(0x3d5)];const _0x8b0a2a=_0x177140['m2Prime'][0x0][_0x4303a4(0x1ef)][_0x4303a4(0x21d)];Array[_0x4303a4(0x333)](_0x8b0a2a)&&_0x8b0a2a[_0x4303a4(0x3c3)]&&_0xff89f6[_0x4303a4(0x2aa)](_0x8b0a2a,{'unitId':_0x310274,'subUnitId':_0x310274},!0x1);}};_0x452f6b=_0x185d2a([_0x6887ea(0x0,_0x165790['Inject'](_0x165790[_0x529647(0x213)])),_0x6887ea(0x1,_0x2b1f6e[_0x529647(0x412)])],_0x452f6b);var _0x2c8485=Object[_0x529647(0x21c)],_0x4b2689=(_0x34954a,_0x351c42,_0x24eb1f,_0x3ac7dd)=>{const _0x21ce2e=_0x529647;for(var _0x2a0971=_0x3ac7dd>0x1?void 0x0:_0x3ac7dd?_0x2c8485(_0x351c42,_0x24eb1f):_0x351c42,_0x4d4f99=_0x34954a[_0x21ce2e(0x3c3)]-0x1,_0x4e21a2;_0x4d4f99>=0x0;_0x4d4f99--)(_0x4e21a2=_0x34954a[_0x4d4f99])&&(_0x2a0971=_0x4e21a2(_0x2a0971)||_0x2a0971);return _0x2a0971;},_0x5ef263=(_0x1cb837,_0x3b8bbb)=>(_0x5c93ee,_0x145449)=>_0x3b8bbb(_0x5c93ee,_0x145449,_0x1cb837);let _0x5f15a4=class extends _0x165790['Disposable']{constructor(_0x4939af,_0x29f768,_0x576c38,_0x36a29e,_0x59e1b1,_0x35225f,_0x10c884,_0x55468b){const _0x59869b=_0x529647;super(),_0x1bb758(this,_0x59869b(0x328),new _0x278be1['BehaviorSubject'](_0x1efc97['CollaborationStatus'][_0x59869b(0x255)])),(this[_0x59869b(0x267)]=_0x4939af,this[_0x59869b(0x35a)]=_0x29f768,this[_0x59869b(0x432)]=_0x576c38,this['_docTransformStateCacheService']=_0x36a29e,this[_0x59869b(0x3de)]=_0x59e1b1,this[_0x59869b(0x40d)]=_0x35225f,this[_0x59869b(0x3b7)]=_0x10c884,this[_0x59869b(0x3b8)]=_0x55468b,this['_initEntityListener']());}[_0x529647(0x32c)](){const _0x46e7fc=_0x529647;this[_0x46e7fc(0x203)](this[_0x46e7fc(0x35a)][_0x46e7fc(0x1d7)][_0x46e7fc(0x35c)](_0x5ea88b=>{const _0x37e895=_0x46e7fc,_0xef5c31=this[_0x37e895(0x267)][_0x37e895(0x208)][_0x37e895(0x35c)](_0x125453=>{const _0x199188=_0x37e895;if(_0x125453==null)return;const {unitId:_0x2d3997,redoState:_0x3839ad,commandId:_0x1b8a8c}=_0x125453;if(_0x2d3997!==_0x5ea88b[_0x199188(0x27e)])return;const _0x292d4b={'id':_0x1b8a8c,'type':_0x165790[_0x199188(0x30c)][_0x199188(0x2f2)],'params':{'unitId':_0x2d3997,'actions':_0x3839ad[_0x199188(0x362)],'textRanges':null}};_0x5ea88b[_0x199188(0x1dc)](_0x292d4b);});if(_0x5ea88b[_0x37e895(0x203)](_0xef5c31),_0x5ea88b instanceof _0x1efc97[_0x37e895(0x320)]){const _0x18a35a={'onTransformIME':_0x30c7ec=>this['_docTransformIMECacheService']['transformIMECache'](_0x30c7ec),'onTransformState':_0x11b7d1=>this[_0x37e895(0x24d)][_0x37e895(0x22d)](_0x11b7d1),'onTransformSelections':_0x35959d=>this[_0x37e895(0x3de)][_0x37e895(0x214)](_0x35959d),'onSyncEditingCollabCursor':_0x17d626=>this['_docSyncEditingCollabCursorService'][_0x37e895(0x38c)](_0x17d626),'onTransformRemoteChangesetByIMECache':_0x370c21=>this[_0x37e895(0x432)]['transformRemoteChangeset'](_0x370c21),'onTransformRemoteChangesetByStateCache':_0x33d1f0=>this[_0x37e895(0x24d)][_0x37e895(0x27c)](_0x33d1f0)};_0x5ea88b[_0x37e895(0x1d8)](_0x18a35a);}}));}};_0x5f15a4=_0x4b2689([_0x5ef263(0x0,_0x165790['Inject'](_0x20f7f1[_0x529647(0x31b)])),_0x5ef263(0x1,_0x165790[_0x529647(0x337)](_0x1efc97['CollaborationController'])),_0x5ef263(0x2,_0x165790[_0x529647(0x337)](_0x488d59)),_0x5ef263(0x3,_0x165790[_0x529647(0x337)](_0x2d4b4e)),_0x5ef263(0x4,_0x165790[_0x529647(0x337)](_0x452f6b)),_0x5ef263(0x5,_0x165790[_0x529647(0x337)](_0x58216b)),_0x5ef263(0x6,_0x46a2f6[_0x529647(0x27a)]),_0x5ef263(0x7,_0x165790['Inject'](_0x165790[_0x529647(0x1a8)]))],_0x5f15a4);var _0x65c73d=Object['getOwnPropertyDescriptor'],_0x4b5958=(_0x1496ef,_0x1437d8,_0x1db03b,_0x22a9bb)=>{const _0x2fd08a=_0x529647;for(var _0x59f2e6=_0x22a9bb>0x1?void 0x0:_0x22a9bb?_0x65c73d(_0x1437d8,_0x1db03b):_0x1437d8,_0x5aed3e=_0x1496ef[_0x2fd08a(0x3c3)]-0x1,_0xbade70;_0x5aed3e>=0x0;_0x5aed3e--)(_0xbade70=_0x1496ef[_0x5aed3e])&&(_0x59f2e6=_0xbade70(_0x59f2e6)||_0x59f2e6);return _0x59f2e6;},_0x4cb135=(_0x127b37,_0x3f92e8)=>(_0x38b366,_0x570c37)=>_0x3f92e8(_0x38b366,_0x570c37,_0x127b37);let _0xb7ed89=class extends _0x165790[_0x529647(0x225)]{constructor(_0x5476c2,_0x5f2b95,_0x587afe){const _0x30ede2=_0x529647;super(),_0x1bb758(this,'_cachedData',new Map()),_0x1bb758(this,_0x30ede2(0x3a8),new Map()),_0x1bb758(this,_0x30ede2(0x382),!0x1),(this[_0x30ede2(0x1c9)]=_0x5476c2,this[_0x30ede2(0x26d)]=_0x5f2b95,this[_0x30ede2(0x28e)]=_0x587afe);}[_0x529647(0x279)](){const _0x141f00=_0x529647;this[_0x141f00(0x382)]=!0x0;}[_0x529647(0x2f8)](){const _0x5e1fb5=_0x529647;this[_0x5e1fb5(0x382)]=!0x1;}get[_0x529647(0x398)](){return this['_saveTaskMap'];}[_0x529647(0x23c)](){const _0x214a02=_0x529647;this[_0x214a02(0x36c)]()[_0x214a02(0x306)](()=>super[_0x214a02(0x23c)]());}async['loadOfflineData'](_0x3a1bca){const _0x3317ce=_0x529647;return this[_0x3317ce(0x382)]?null:this[_0x3317ce(0x26d)][_0x3317ce(0x1d3)](_0x1efc97['getLocalCacheKey'](_0x3a1bca));}async[_0x529647(0x41d)](_0x1bdab7,_0x457b42){const _0x394097=_0x529647;return!!this[_0x394097(0x26d)]['setItem'](_0x1bdab7,_0x457b42);}['updateOfflineData'](_0x4ba7a7,_0x79f2d,_0x241693,_0x4af316){const _0x2e1300=_0x529647,_0x98f62=this['_revisionService'][_0x2e1300(0x2b6)](_0x4ba7a7);this[_0x2e1300(0x3e6)][_0x2e1300(0x41c)](_0x4ba7a7,{'unitID':_0x4ba7a7,'type':_0x79f2d,'awaitingChangeset':_0x241693,'mutations':_0x4af316,'rev':_0x98f62}),this[_0x2e1300(0x3a8)][_0x2e1300(0x317)](_0x4ba7a7)||this[_0x2e1300(0x3ff)](_0x4ba7a7);}[_0x529647(0x3ff)](_0x319a63){const _0x5376b6=_0x529647,_0x45fc9d=this[_0x5376b6(0x2e4)]();_0x45fc9d===0x0?this[_0x5376b6(0x1e8)](_0x319a63):this[_0x5376b6(0x3a8)][_0x5376b6(0x41c)](_0x319a63,setTimeout(()=>this[_0x5376b6(0x1e8)](_0x319a63),_0x45fc9d));}[_0x529647(0x2e4)](){const _0x529c22=_0x529647;var _0x3536c8;return(_0x3536c8=this[_0x529c22(0x1c9)][_0x529c22(0x235)](_0x1efc97[_0x529c22(0x2bf)]))!=null?_0x3536c8:_0x1efc97[_0x529c22(0x2fd)];}[_0x529647(0x1e8)](_0x42d53a){const _0x3be2d4=_0x529647,_0x2891dd=this[_0x3be2d4(0x3a8)]['get'](_0x42d53a);return _0x2891dd!==void 0x0&&window[_0x3be2d4(0x2d6)](_0x2891dd),this[_0x3be2d4(0x26d)][_0x3be2d4(0x296)](_0x1efc97[_0x3be2d4(0x3e5)](_0x42d53a),this[_0x3be2d4(0x3e6)]['get'](_0x42d53a))[_0x3be2d4(0x306)](()=>this[_0x3be2d4(0x3a8)]['delete'](_0x42d53a));}async[_0x529647(0x36c)](){const _0x19c1b0=_0x529647,_0x2f4c4c=[];this[_0x19c1b0(0x3a8)]['forEach']((_0x243f2c,_0x4dcf20)=>{const _0xc061a2=_0x19c1b0;window['clearTimeout'](_0x243f2c),_0x2f4c4c[_0xc061a2(0x1c7)](this['_saveCache'](_0x4dcf20)[_0xc061a2(0x306)](()=>{const _0x325cb5=_0xc061a2;this[_0x325cb5(0x3a8)][_0x325cb5(0x371)](_0x4dcf20);}));}),await Promise[_0x19c1b0(0x385)](_0x2f4c4c);}};_0xb7ed89=_0x4b5958([_0x4cb135(0x0,_0x165790[_0x529647(0x2ff)]),_0x4cb135(0x1,_0x165790[_0x529647(0x209)]),_0x4cb135(0x2,_0x165790['Inject'](_0x2b1f6e['RevisionService']))],_0xb7ed89);class _0x4670c6 extends _0x165790[_0x529647(0x270)]{constructor(){const _0x56fd1d=_0x529647;super(),_0x1bb758(this,_0x56fd1d(0x3e3)),this['urlChange$']=_0x278be1[_0x56fd1d(0x43a)](window,'popstate')[_0x56fd1d(0x1f3)](_0x278be1[_0x56fd1d(0x202)](this[_0x56fd1d(0x2d3)]),_0x278be1[_0x56fd1d(0x363)](0x1),_0x278be1['mapTo'](void 0x0));}[_0x529647(0x1ad)](_0x31b43c,_0x58a937,_0x56c663=!0x1){const _0x1fbcec=_0x529647,_0x32b651=new URL(window[_0x1fbcec(0x29f)][_0x1fbcec(0x2f0)]);_0x32b651[_0x1fbcec(0x3bc)][_0x1fbcec(0x41c)](_0x31b43c,_0x58a937),_0x56c663?window[_0x1fbcec(0x245)]['replaceState']('','',_0x32b651[_0x1fbcec(0x1db)]()):window[_0x1fbcec(0x245)][_0x1fbcec(0x25f)]('','',_0x32b651[_0x1fbcec(0x1db)]());}[_0x529647(0x1c1)](_0x35779e,_0x2d34e9=!0x1){const _0x513020=_0x529647,_0x5c4a9d=new URL(window['location'][_0x513020(0x2f0)]);_0x5c4a9d[_0x513020(0x3bc)][_0x513020(0x371)](_0x35779e),_0x2d34e9?window['history']['replaceState']('','',_0x5c4a9d[_0x513020(0x1db)]()):window['history'][_0x513020(0x25f)]('','',_0x5c4a9d[_0x513020(0x1db)]());}[_0x529647(0x26a)](_0x9d3f7f){const _0x46bbfb=_0x529647;var _0x43ddcb;return(_0x43ddcb=new URL(window[_0x46bbfb(0x29f)]['href'])[_0x46bbfb(0x3bc)][_0x46bbfb(0x1b5)](_0x9d3f7f))!=null?_0x43ddcb:void 0x0;}}var _0x764234=Object[_0x529647(0x22a)],_0x2f226d=Object['getOwnPropertyDescriptor'],_0x1d2ef9=(_0x2db2e4,_0x40632b,_0xb65a94)=>_0x40632b in _0x2db2e4?_0x764234(_0x2db2e4,_0x40632b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb65a94}):_0x2db2e4[_0x40632b]=_0xb65a94,_0x5929db=(_0x38dcb0,_0x413246,_0x223e0e,_0x347ef1)=>{const _0x1eb5e8=_0x529647;for(var _0x1fc18d=_0x347ef1>0x1?void 0x0:_0x347ef1?_0x2f226d(_0x413246,_0x223e0e):_0x413246,_0x3a08e9=_0x38dcb0[_0x1eb5e8(0x3c3)]-0x1,_0x481e1b;_0x3a08e9>=0x0;_0x3a08e9--)(_0x481e1b=_0x38dcb0[_0x3a08e9])&&(_0x1fc18d=_0x481e1b(_0x1fc18d)||_0x1fc18d);return _0x1fc18d;},_0x31c56e=(_0x1bcdc4,_0x41b012)=>(_0x50c2b5,_0x5ed4bb)=>_0x41b012(_0x50c2b5,_0x5ed4bb,_0x1bcdc4),_0x47be9f=(_0x37e6b7,_0x50120d,_0x44a246)=>_0x1d2ef9(_0x37e6b7,_0x50120d+'',_0x44a246);const _0x21ac4a=_0x529647(0x28f);_0x53f44c[_0x529647(0x3d1)]=class extends _0x165790[_0x529647(0x1d1)]{constructor(_0x5a27f3=_0x482b11,_0x1ede6f,_0x3c7a0c,_0x43c3bb){const _0x568814=_0x529647;super(),this[_0x568814(0x24a)]=_0x5a27f3,this[_0x568814(0x1ff)]=_0x1ede6f,this[_0x568814(0x3c1)]=_0x3c7a0c,this['_configService']=_0x43c3bb;const {..._0x2c9e2c}=_0x165790[_0x568814(0x35b)]({},_0x482b11,this['_config']);this[_0x568814(0x1c9)][_0x568814(0x2ed)](_0x1cc92a,_0x2c9e2c);}['onStarting'](){const _0xdebf6d=_0x529647;this[_0xdebf6d(0x240)](),this[_0xdebf6d(0x335)]();}[_0x529647(0x20b)](){const _0x9833ae=_0x529647;this[_0x9833ae(0x39f)]();}[_0x529647(0x240)](){const _0x340d0f=_0x529647;var _0x5b8f4b;const _0x9cd990=[[_0x4f197f],[_0x452f6b],[_0x488d59],[_0x2d4b4e],[_0x58216b],[_0x3fd2ab,{'useClass':_0x4670c6}],[_0x3f48c5['ISocketService'],{'useClass':_0x3f48c5[_0x340d0f(0x35d)]}],[_0x1efc97[_0x340d0f(0x37a)],{'useClass':_0xb7ed89}],[_0x53f44c[_0x340d0f(0x3ea)]],[_0x5f15a4],[_0x279a7d],[_0x117536],[_0x684b41],[_0x53f44c[_0x340d0f(0x230)]]];_0x165790[_0x340d0f(0x3fb)](this['_injector'],_0x165790[_0x340d0f(0x31a)](_0x9cd990,(_0x5b8f4b=this[_0x340d0f(0x24a)])==null?void 0x0:_0x5b8f4b[_0x340d0f(0x2da)]));}[_0x529647(0x39f)](){const _0x2d018e=_0x529647;this[_0x2d018e(0x203)](this[_0x2d018e(0x1ff)][_0x2d018e(0x1d6)](_0x165790[_0x2d018e(0x2c0)][_0x2d018e(0x300)],[_0x152775])),this[_0x2d018e(0x203)](this['_renderManagerService']['registerRenderModule'](_0x165790[_0x2d018e(0x2c0)][_0x2d018e(0x2d1)],[_0x254369]));}[_0x529647(0x335)](){const _0x113720=_0x529647;_0x165790[_0x113720(0x28a)](this[_0x113720(0x3c1)],[[_0x117536],[_0x53f44c['DesktopCollaborationStatusDisplayController']],[_0x5f15a4],[_0x279a7d],[_0x53f44c['CollaborationDataLoaderController']]]);}},_0x47be9f(_0x53f44c[_0x529647(0x3d1)],_0x529647(0x383),_0x21ac4a),_0x53f44c[_0x529647(0x3d1)]=_0x5929db([_0x165790[_0x529647(0x433)](_0x1efc97[_0x529647(0x1cc)]),_0x31c56e(0x1,_0x1e15c8['IRenderManagerService']),_0x31c56e(0x2,_0x165790[_0x529647(0x337)](_0x165790['Injector'])),_0x31c56e(0x3,_0x165790[_0x529647(0x2ff)])],_0x53f44c['UniverCollaborationClientUIPlugin']);var _0x1428c2=Object[_0x529647(0x21c)],_0x34d424=(_0x433911,_0x190ef3,_0x27c57e,_0x4595e3)=>{const _0x4c0f17=_0x529647;for(var _0x1b622a=_0x4595e3>0x1?void 0x0:_0x4595e3?_0x1428c2(_0x190ef3,_0x27c57e):_0x190ef3,_0x5ebef0=_0x433911[_0x4c0f17(0x3c3)]-0x1,_0x6ba218;_0x5ebef0>=0x0;_0x5ebef0--)(_0x6ba218=_0x433911[_0x5ebef0])&&(_0x1b622a=_0x6ba218(_0x1b622a)||_0x1b622a);return _0x1b622a;},_0x515d12=(_0x4773e6,_0x1ac92e)=>(_0x1dfa5f,_0x1583d8)=>_0x1ac92e(_0x1dfa5f,_0x1583d8,_0x4773e6);_0x53f44c[_0x529647(0x23d)]=class extends _0x1efc97[_0x529647(0x2fb)]{constructor(_0x5149e1,_0x359777,_0x2aeddb,_0x522ca9,_0x1d20b4){super(_0x5149e1,_0x359777,_0x2aeddb,_0x522ca9,_0x1d20b4);}async[_0x529647(0x204)](_0x4c47fe){const _0x39ed49=_0x529647,_0x4840c1=await this[_0x39ed49(0x262)](),_0x24b630=this[_0x39ed49(0x35e)](_0x4c47fe,_0x4840c1);return this[_0x39ed49(0x3e2)](_0x24b630);}[_0x529647(0x35e)](_0x53c833,_0x5f0936){const _0x3e1984=_0x529647,_0x2a97d1=typeof window>'u'?new URL(_0x53c833):new URL(_0x53c833,window['location'][_0x3e1984(0x437)]);_0x2a97d1['searchParams'][_0x3e1984(0x41c)](_0x3e1984(0x395),_0x5f0936);const _0x27bd19=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3e1984(0x30e)]);return _0x27bd19[_0x3e1984(0x1b5)]('runId')&&_0x2a97d1['searchParams'][_0x3e1984(0x41c)]('runId',_0x27bd19[_0x3e1984(0x1b5)](_0x3e1984(0x23a))),_0x2a97d1['toString']();}async['_getSessionTicket'](){const _0x585887=_0x529647;var _0x1e6656,_0x370e97,_0x1725b0;const _0xa0c345=this[_0x585887(0x1c9)]['getConfig'](_0x1efc97[_0x585887(0x256)]),_0xfd6760=(_0x1e6656=_0xa0c345==null?void 0x0:_0xa0c345['wsSessionTicketUrl'])!=null?_0x1e6656:_0x1efc97[_0x585887(0x435)];return(_0x1725b0=(_0x370e97=(await this['_httpService'][_0x585887(0x1b5)](_0xfd6760,{'headers':{'Content-Type':_0x585887(0x207)}}))[_0x585887(0x357)])==null?void 0x0:_0x370e97['ticket'])!=null?_0x1725b0:'';}},_0x53f44c[_0x529647(0x23d)]=_0x34d424([_0x515d12(0x0,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x515d12(0x1,_0x165790[_0x529647(0x337)](_0x3f48c5[_0x529647(0x24c)])),_0x515d12(0x2,_0x165790[_0x529647(0x2ff)]),_0x515d12(0x3,_0x165790[_0x529647(0x25c)]),_0x515d12(0x4,_0x2b1f6e[_0x529647(0x312)])],_0x53f44c[_0x529647(0x23d)]);var _0x2cbf62=(_0x5568bd=>(_0x5568bd[_0x5568bd[_0x529647(0x24f)]=0x0]=_0x529647(0x24f),_0x5568bd[_0x5568bd['OK']=0x1]='OK',_0x5568bd[_0x5568bd[_0x529647(0x293)]=0x2]=_0x529647(0x293),_0x5568bd[_0x5568bd[_0x529647(0x3c6)]=0x3]=_0x529647(0x3c6),_0x5568bd[_0x5568bd[_0x529647(0x2b8)]=0x4]='NOT_FOUND',_0x5568bd[_0x5568bd[_0x529647(0x2d8)]=0x5]=_0x529647(0x2d8),_0x5568bd[_0x5568bd[_0x529647(0x3ae)]=0x6]='ALREADY_EXISTS',_0x5568bd[_0x5568bd[_0x529647(0x249)]=0x7]=_0x529647(0x249),_0x5568bd[_0x5568bd[_0x529647(0x1e7)]=0x8]='TOO_MANY_REQUESTS',_0x5568bd[_0x5568bd[_0x529647(0x2cc)]=0x9]=_0x529647(0x2cc),_0x5568bd[_0x5568bd[_0x529647(0x271)]=0xa]='LOGIN_FAILED',_0x5568bd[_0x5568bd['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x529647(0x326),_0x5568bd[_0x5568bd['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x529647(0x373),_0x5568bd[_0x5568bd['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5568bd[_0x5568bd['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x529647(0x339),_0x5568bd[_0x5568bd['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x529647(0x286),_0x5568bd[_0x5568bd[_0x529647(0x3d4)]=0x1771]=_0x529647(0x3d4),_0x5568bd[_0x5568bd[_0x529647(0x1e2)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5568bd[_0x5568bd[_0x529647(0x264)]=0x1773]=_0x529647(0x264),_0x5568bd[_0x5568bd[_0x529647(0x26b)]=0x1b59]=_0x529647(0x26b),_0x5568bd[_0x5568bd[_0x529647(0x275)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5568bd[_0x5568bd[_0x529647(0x281)]=0x1b5b]=_0x529647(0x281),_0x5568bd[_0x5568bd[_0x529647(0x1b4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5568bd[_0x5568bd['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5568bd[_0x5568bd[_0x529647(0x1bd)]=0x1f41]=_0x529647(0x1bd),_0x5568bd[_0x5568bd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5568bd[_0x5568bd[_0x529647(0x1e3)]=0x232a]=_0x529647(0x1e3),_0x5568bd[_0x5568bd[_0x529647(0x30b)]=0x232b]=_0x529647(0x30b),_0x5568bd[_0x5568bd[_0x529647(0x2e1)]=0x232c]=_0x529647(0x2e1),_0x5568bd[_0x5568bd[_0x529647(0x2b2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5568bd[_0x5568bd[_0x529647(0x425)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5568bd[_0x5568bd[_0x529647(0x391)]=0x2712]=_0x529647(0x391),_0x5568bd[_0x5568bd[_0x529647(0x2c2)]=0x2713]=_0x529647(0x2c2),_0x5568bd[_0x5568bd[_0x529647(0x232)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5568bd[_0x5568bd[_0x529647(0x32e)]=0x271a]=_0x529647(0x32e),_0x5568bd[_0x5568bd[_0x529647(0x29d)]=0x271b]=_0x529647(0x29d),_0x5568bd[_0x5568bd[_0x529647(0x3ee)]=0x271c]=_0x529647(0x3ee),_0x5568bd[_0x5568bd[_0x529647(0x358)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5568bd[_0x5568bd[_0x529647(0x370)]=0x271e]=_0x529647(0x370),_0x5568bd[_0x5568bd[_0x529647(0x3ec)]=0x271f]=_0x529647(0x3ec),_0x5568bd[_0x5568bd[_0x529647(0x354)]=0x2720]=_0x529647(0x354),_0x5568bd[_0x5568bd[_0x529647(0x278)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5568bd[_0x5568bd['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x529647(0x2ba),_0x5568bd[_0x5568bd[_0x529647(0x3cb)]=0x2ee2]=_0x529647(0x3cb),_0x5568bd[_0x5568bd[_0x529647(0x2a1)]=0x2ee3]=_0x529647(0x2a1),_0x5568bd[_0x5568bd[_0x529647(0x38f)]=0x2ee4]=_0x529647(0x38f),_0x5568bd[_0x5568bd[_0x529647(0x319)]=0x2ee5]=_0x529647(0x319),_0x5568bd[_0x5568bd[_0x529647(0x1b0)]=0x32c9]=_0x529647(0x1b0),_0x5568bd[_0x5568bd[_0x529647(0x32f)]=0x32ca]=_0x529647(0x32f),_0x5568bd[_0x5568bd[_0x529647(0x3db)]=0x32cb]=_0x529647(0x3db),_0x5568bd[_0x5568bd[_0x529647(0x1f7)]=-0x1]=_0x529647(0x1f7),_0x5568bd))(_0x2cbf62||{}),_0x3e93f7=Object[_0x529647(0x21c)],_0x43320a=(_0x3bedf1,_0x24b3f8,_0x137275,_0x2251d0)=>{for(var _0x427ce7=_0x2251d0>0x1?void 0x0:_0x2251d0?_0x3e93f7(_0x24b3f8,_0x137275):_0x24b3f8,_0x2d44e2=_0x3bedf1['length']-0x1,_0x42dc24;_0x2d44e2>=0x0;_0x2d44e2--)(_0x42dc24=_0x3bedf1[_0x2d44e2])&&(_0x427ce7=_0x42dc24(_0x427ce7)||_0x427ce7);return _0x427ce7;},_0x24917b=(_0x55cdae,_0x430661)=>(_0x2a3ec2,_0x5b92b3)=>_0x430661(_0x2a3ec2,_0x5b92b3,_0x55cdae);_0x53f44c['RemoteUniscriptService']=class extends _0x165790[_0x529647(0x225)]{constructor(_0x585fd0,_0x2a7fa0,_0x243a5a){const _0xaf1cd6=_0x529647;super(),this[_0xaf1cd6(0x1da)]=_0x585fd0,this[_0xaf1cd6(0x2d9)]=_0x2a7fa0,this[_0xaf1cd6(0x1c9)]=_0x243a5a;}async[_0x529647(0x403)](_0x29e47b,_0x3fc5c8,_0x1cf89c,..._0x3c95e1){const _0xb25937=_0x529647;var _0x561497,_0x1147a5,_0x4067ab,_0x13384e;const _0x27f952=this['_instanceService']['getFocusedUnit']();if(!_0x27f952)throw new Error(_0xb25937(0x365));const _0x4beb33=((_0x561497=this[_0xb25937(0x1c9)][_0xb25937(0x235)](_0x1efc97['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x561497:_0x1efc97[_0xb25937(0x265)])+'/'+_0x29e47b+_0xb25937(0x309)+_0x3fc5c8,_0x5b2da9=new URL(window[_0xb25937(0x29f)][_0xb25937(0x2f0)]),_0x670acb={'scriptId':_0x29e47b,'runId':(_0x1147a5=_0x5b2da9[_0xb25937(0x3bc)][_0xb25937(0x1b5)](_0xb25937(0x23a)))!=null?_0x1147a5:'','function':_0x3fc5c8,'unitId':_0x27f952[_0xb25937(0x2a0)](),'argsOfFunction':JSON[_0xb25937(0x2f6)](_0x3c95e1),'invokeId':(_0x4067ab=_0x1cf89c[_0xb25937(0x3cf)])!=null?_0x4067ab:'','executionId':(_0x13384e=_0x1cf89c[_0xb25937(0x394)])!=null?_0x13384e:''};try{const _0xf9bd91=await this[_0xb25937(0x2d9)][_0xb25937(0x3d2)](_0x4beb33,{'body':_0x670acb});return _0xf9bd91[_0xb25937(0x357)][_0xb25937(0x3d5)]&&_0xf9bd91[_0xb25937(0x357)][_0xb25937(0x3d5)][_0xb25937(0x31f)]!==_0x2cbf62['OK']?_0xb25937(0x323):_0xf9bd91[_0xb25937(0x357)][_0xb25937(0x2b4)];}catch{return _0xb25937(0x323);}}},_0x53f44c[_0x529647(0x269)]=_0x43320a([_0x24917b(0x0,_0x165790['IUniverInstanceService']),_0x24917b(0x1,_0x165790[_0x529647(0x337)](_0x3f48c5['HTTPService'])),_0x24917b(0x2,_0x165790[_0x529647(0x2ff)])],_0x53f44c[_0x529647(0x269)]);const _0x3eef8a=0x7530,_0x39e72='ACTIVE_UNIT_EVENT_CHANNEL';class _0x58364f extends _0x165790[_0x529647(0x225)]{constructor(){const _0x1d263b=_0x529647;super(),_0x1bb758(this,_0x1d263b(0x399),_0x165790[_0x1d263b(0x2db)]()),_0x1bb758(this,'_selfUnitIDs',new Set()),_0x1bb758(this,_0x1d263b(0x2c6),new Map()),_0x1bb758(this,_0x1d263b(0x211),null),_0x1bb758(this,_0x1d263b(0x283),new Map()),_0x1bb758(this,_0x1d263b(0x39c),new Map()),this[_0x1d263b(0x2b7)]();}[_0x529647(0x23c)](){const _0x298950=_0x529647;super[_0x298950(0x23c)](),this[_0x298950(0x283)][_0x298950(0x311)]((_0x18c34d,_0xfc3593)=>this[_0x298950(0x3a6)](_0xfc3593)),this[_0x298950(0x211)]&&window[_0x298950(0x1e6)](this[_0x298950(0x211)]);}[_0x529647(0x3dd)](_0x34bcbc){const _0x1cb737=_0x529647;return this['_ensureSubject'](_0x34bcbc)['pipe'](_0x278be1[_0x1cb737(0x2a7)]());}[_0x529647(0x2b1)](_0x2d84ee){const _0xe8c0e1=_0x529647;this['_selfUnitIDs'][_0xe8c0e1(0x361)]===0x0&&this[_0xe8c0e1(0x2e6)](),this[_0xe8c0e1(0x2ec)][_0xe8c0e1(0x2f4)](_0x2d84ee),this['_send']({'type':0x0,'memberID':this[_0xe8c0e1(0x399)],'unitIDs':[_0x2d84ee],'isForwarded':!0x1});}['disposeUnit'](_0x13e0ca){const _0x438be2=_0x529647;this[_0x438be2(0x2ec)][_0x438be2(0x371)](_0x13e0ca),this['_selfUnitIDs'][_0x438be2(0x361)]===0x0&&this[_0x438be2(0x211)]&&window['clearInterval'](this[_0x438be2(0x211)]);}[_0x529647(0x2b7)](){const _0x305ebc=_0x529647;this[_0x305ebc(0x203)](_0x165790[_0x305ebc(0x422)](_0x278be1[_0x305ebc(0x43a)](window,_0x305ebc(0x24b))[_0x305ebc(0x35c)](_0x3b80b9=>{const _0x5e4be2=_0x305ebc;if(_0x3b80b9[_0x5e4be2(0x3ba)]!==_0x39e72||!_0x3b80b9[_0x5e4be2(0x38b)])return;const _0x1d0d6e=JSON[_0x5e4be2(0x1df)](_0x3b80b9['newValue']);this[_0x5e4be2(0x294)](_0x1d0d6e);}))),window[_0x305ebc(0x299)](_0x305ebc(0x2ac),()=>this['_send']({'type':0x1,'memberID':this[_0x305ebc(0x399)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x529647(0x294)](_0x1534a4){const _0x503161=_0x529647;switch(_0x1534a4['type']){case 0x0:this[_0x503161(0x248)](_0x1534a4);break;case 0x1:this[_0x503161(0x37b)](_0x1534a4);break;case 0x2:this[_0x503161(0x3f8)](_0x1534a4);break;}}[_0x529647(0x248)](_0x56d8ce){const _0x5899be=_0x529647,{unitIDs:_0x3d8ac7,memberID:_0x2e4ff7,isForwarded:_0x24eada}=_0x56d8ce;_0x3d8ac7['forEach'](_0x5f3408=>{const _0x29b4ee=_0x1288;if(!_0x24eada&&this['_unitOnClients'][_0x29b4ee(0x317)](_0x5f3408)&&this[_0x29b4ee(0x25a)](_0x5f3408)['next'](_0x1efc97[_0x29b4ee(0x224)]['OTHER_CLIENTS_EDITING']),!this[_0x29b4ee(0x2c6)]['has'](_0x5f3408)||!this['_unitOnClients']['get'](_0x5f3408)['has'](_0x2e4ff7)){const _0x28fbe1=this[_0x29b4ee(0x2c6)][_0x29b4ee(0x1b5)](_0x5f3408)||new Set();_0x28fbe1[_0x29b4ee(0x2f4)](_0x2e4ff7),this[_0x29b4ee(0x2c6)][_0x29b4ee(0x41c)](_0x5f3408,_0x28fbe1),this['_scheduleClearOtherTimer'](_0x2e4ff7);}}),_0x24eada||this['_send']({'type':0x0,'memberID':this[_0x5899be(0x399)],'unitIDs':[...this[_0x5899be(0x2ec)]],'isForwarded':!0x0});}[_0x529647(0x228)](_0x36d570){const _0x30c573=_0x529647;this[_0x30c573(0x3a6)](_0x36d570);const _0xe47c65=window[_0x30c573(0x397)](()=>{const _0x4c73f4=_0x30c573;this[_0x4c73f4(0x2c6)]['forEach'](_0x45a05d=>{const _0x3c0532=_0x4c73f4;_0x45a05d[_0x3c0532(0x371)](_0x36d570);});},_0x3eef8a*0x2);this[_0x30c573(0x283)][_0x30c573(0x41c)](_0x36d570,_0xe47c65);}[_0x529647(0x3a6)](_0xd01bc){const _0x32437a=_0x529647;if(this[_0x32437a(0x283)][_0x32437a(0x317)](_0xd01bc)){const _0x3f847a=this[_0x32437a(0x283)][_0x32437a(0x1b5)](_0xd01bc);_0x3f847a&&window['clearTimeout'](_0x3f847a),this[_0x32437a(0x283)][_0x32437a(0x41c)](_0xd01bc,null);}}[_0x529647(0x37b)](_0x3a3211){const {memberID:_0x136aea,unitIDs:_0x669585}=_0x3a3211;_0x669585['forEach'](_0x223790=>{const _0xcc2967=_0x1288;var _0x31fc9b;const _0x47e332=this['_unitOnClients'][_0xcc2967(0x1b5)](_0x223790);_0x47e332&&(_0x47e332[_0xcc2967(0x371)](_0x136aea),(_0x31fc9b=this['_ensureSubject'](_0x223790))==null||_0x31fc9b[_0xcc2967(0x1ed)](_0x47e332['size']===0x0?_0x1efc97[_0xcc2967(0x224)][_0xcc2967(0x291)]:_0x1efc97[_0xcc2967(0x224)][_0xcc2967(0x1c8)]));}),this['_removeClearOtherTimer'](_0x136aea);}[_0x529647(0x3f8)](_0x202182){const _0x1d3448=_0x529647;this[_0x1d3448(0x228)](_0x202182['memberID']);}[_0x529647(0x1c4)](_0x593086){const _0x4ac264=_0x529647;localStorage[_0x4ac264(0x296)](_0x39e72,JSON['stringify'](_0x593086));}[_0x529647(0x2e6)](){const _0x259f87=_0x529647;this[_0x259f87(0x211)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3eef8a);}[_0x529647(0x25a)](_0x23ccf0){const _0x37e300=_0x529647;return this[_0x37e300(0x39c)][_0x37e300(0x317)](_0x23ccf0)||this[_0x37e300(0x39c)][_0x37e300(0x41c)](_0x23ccf0,new _0x278be1['BehaviorSubject'](_0x1efc97[_0x37e300(0x224)][_0x37e300(0x291)])),this[_0x37e300(0x39c)][_0x37e300(0x1b5)](_0x23ccf0);}}_0x53f44c[_0x529647(0x1bc)]=_0x3fd2ab,_0x53f44c[_0x529647(0x205)]=_0x65c813,_0x53f44c[_0x529647(0x2a9)]=_0x58364f,_0x53f44c['WebURLService']=_0x4670c6,Object[_0x529647(0x22a)](_0x53f44c,Symbol[_0x529647(0x3b4)],{'value':_0x529647(0x314)});}));function _0x7820(){const _0x25dd31=['unshift','_anchorDot','text','0\x200\x2017\x2016','LICENSE_EXPORT_SIZE_EXCEEDED','filter','map','_getSaveTimeout','addObject','_scheduleHeartbeat','debounceTime','_toggleOnline','SheetsSelectionsService','onCommandExecuted','MoveRangeCommandId','_selfUnitIDs','setConfig','subscribeEvent','concat','href','_labelPosition','MUTATION','4157400EjzDsE','add','INotificationService','stringify','focused$','enableLocalCache','SetWorksheetActivateCommand','trim','CollaborationSocketService','_commandService','LOCAL_CACHE_INTERVAL','m2Prime','IConfigService','UNIVER_DOC','complete','isTransformMutationsWithChangesetSuccess','Rectangle','asObservable','Optional','then','IUniverInstanceService','_imageIoService','/run/','unit','LICENSE_IMPORT_SIZE_EXCEEDED','CommandType','createElement','search','_docSkeletonManagerService','data','forEach','ISnapshotServerService','_notificationService','Module','CollaborationController','RichTextEditingMutation','has','_lastPointer','INVITE_CODE_ALREADY_BOUND','mergeOverrideWithDependencies','DocStateChangeManagerService','TEXT','@univerjs/rpc','_onCursorUpdate','code','DocCollaborationEntity','UniverEngineRender','getMember','Failed','eventID','min','MOBILE_VERIFY_CODE_MISMATCH','DocSelectionManagerService','_status$','CollaborationSessionService','redoState','fillText','_initEntityListener','mutations','YUUMI_NO_CUBOID_FOR_QUESTION','MOBILE_HAS_BEEN_BOUND','registerRefRange','setShapeProps','indexOf','isArray','1158364iPdsGi','_initDependencies','closePath','Inject','mask','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scene','symbol','_range','[CollaborationDataLoaderController]','getSkeleton','includes','labelPosition','onPointerMove$','_cursorShapes','React','createIdentifier','fillStyle','getRelativeToViewportCoord','IRemoteInstanceService','hovered','rxjs','getActiveRange','getDocRanges','univer-flex\x20univer-items-center','makeDirty','SetDocZoomRatioOperation','_cursor','react','CollaborationEvent','http://www.w3.org/2000/svg','apply','YUUMI_CONNECTOR_URL_NOT_FOUND','getFocusedUnit','UPDATE_CURSOR','body','YUUMI_ALL_TABLES_IS_INVALID','skeleton','_collaborationController','merge','subscribe','WebSocketService','_createSocketURL','FETCH_MISS','red.300','size','actions','shareReplay','selection','[RemoteUniscriptService]:\x20no\x20focused\x20unit','currentTheme$','_startDocCollabCursor','UniverProCollaboration','_toggleOffline','currentColor','_hideTimer','exhaustSavingTask','0\x200\x2016\x2016','SYNCED','getCollabCursors$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','delete','drawWith','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_assignedColors','getCurrentUnitForType','collaboration-client-ui.config','setAlpha','getCoordByCell','handleIRemoveRow','ILocalCacheService','_handleLeaveEvent','isActive','none','OffLineIcon','onPointerLeave$','964574XoRKDj','throttleTime','_disabled','pluginName','_localCacheService','all','_beforeCloseService','from','unsubscribe','serializeRangeWithSheet','forwardRef','newValue','syncEditingCollabCursor','8BvpiNd','session.collaboration-timeout','USER_NOT_INVITED_CODE','_refRangeService','YUUMI_URL_COL_OUT_OF_RANGE','transform','_updateSubUnitFromURLParams','executionId','sessionTicket','_initStatusListener','setTimeout','saveTaskMap','_id','BehaviorSubject','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','_unitStatus','NodePositionConvertToCursor','@univerjs-pro/collaboration','_registerRenderDependencies','row','Shape','operators','useRef','init','_collabCursorController','_removeClearOtherTimer','colorChannel1','_saveTaskMap','_name','_updateCollabCursors','@univerjs/design','3VYfnqo','_transformHistoryAndStateStack','ALREADY_EXISTS','handleDeleteRangeMoveLeft','collab-text-anchor-','getUndoRedoMutationParamsCache','collab-rect-range-','InsertRangeMoveDownCommandId','toStringTag','source','getCellPositionByOffset','_messageService','_localeService','InsertColCommandId','key','translate(.97)','searchParams','entries','6112539rSaRTD','amd','ThemeService','_injector','1986580SqLYIk','length','div','displayName','PERMISSION_DENIED','handleDeleteRangeMoveUp','idSuffix','event$','jiqing.500','INVALID_INVITE_CODE','currentSkeleton$','_initStatusComponent','_drawAnchor','invokeId','black','UniverCollaborationClientUIPlugin','post','prototype','SNAPSHOT_INVALID_SNAPSHOT','error','_hovered','handleInsertRow','_colorIndex','@univerjs/docs','cursorInfo$','EMAIL_HAS_BEEN_BOUND','session.will-retry','getUnitStatus$','_docTransformSelectionsService','_session','getTypeOfUnitDisposed$','RECT','_doCreateSocket','urlChange$','string','getLocalCacheKey','_cachedData','doc.mutation.rich-text-editing','CollaborationStatus','_docClipboardService','DesktopCollaborationStatusDisplayController','_sheetSkeletonManagerService','YUUMI_AI_RUN_FAILED','_docSkeleton','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fromEventSubject','_shapes','getCurrentSelections','engine','ONLINE','Tooltip','36LvNWtz','defIds','extend','_handleHeartbeatEvent','ranges','getUniverSheetInstance','registerDependencies','CONFLICT','BuiltInUIPart','tag','_scheduleSaving','getTypeOfUnitAdded$','USERS_LEAVE','AWAITING_WITH_PENDING','runOnServer','measureText','SUBMIT_CHANGESET_TIMEOUT','useDependency','save','unitId','exports','_context','SheetSkeletonManagerService','jsxs','_docSyncEditingCollabCursorService','activeSheet$','IRenderManagerService','send','1em','ITransformService','_urlService','UniverNetwork','IUIPartsService','fill','@univerjs-pro/collaboration-client','imageSourceType','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','function','_getAnchorBounding','set','saveOfflineData','EffectRefRangId','connectInjector','sheetID','_memberService','toDisposable','getRangePointData','@univerjs/engine-formula','YUUMI_UNABLE_LOAD_URL','attrs','arc','range','UniverDrawing','_draw','Unknown\x20user','Vector2','sheetId','UniverProCollaborationClient','_uiPartsService','collabStatus.syncing','m1Prime','_docTransformIMECacheService','DependentOn','restore','DEFAULT_WS_SESSION_TICKET_URL','transformByState','origin','assign','univerjs-icon\x20univerjs-icon-','fromEvent','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','url(#on-line-icon_clip0_910_349)','LocaleService','@univerjs/sheets','assignAColorForMemberID','getOwnPropertySymbols','getViewport','setParam','path','_hover','WECHAT_HAS_BEEN_BOUND','handleMoveRange','TEXT_RANGE_LAYER_INDEX','contains','APPLY_PERMISSION_DENIED','get','startColumn','_entities','substring','_setupSubUnitSync','InsertRowCommandId','split','IURLService','CONNECTOR_DATA_TOO_LARGE','deserializeRangeWithSheet','white','_initEvent','removeParam','_entityInit$','findNodePositionByCharIndex','_send','_anchor','getVpScrollXYInfoByPosToVp','push','OTHER_CLIENTS_EDITING','_configService','evenodd','_online','UniverCollaborationClientPlugin','_handleHover','addClipboardHook','saveImage','collaboration.single-unit.warning','Plugin','collab-text-range-','getItem','_backgroundColor','useObservable','registerRenderModule','entityInit$','addHandlerCallback','CollaborationUIEventId','_instanceService','toString','onLocalMutation','Workbook','getSheetId','parse','color','getMergeData','SNAPSHOT_HAS_BEEN_REMOVED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DocSkeletonManagerService','children','clearInterval','TOO_MANY_REQUESTS','_saveCache','Warning','AWAITING','debug','RefRangeService','next','sessionStatus$','params','type','M0\x200H16V16H0z','svg','pipe','height','column','subunit','UNRECOGNIZED','SessionStatus','getValue','whenReady','collabCursorState$','status$','...','undoState','_renderManagerService','_themeService','useCallback','takeUntil','disposeWithMe','createSocket','SheetCollabCursorShape','replace','application/json','docStateChange$','ILocalStorageService','clipPath','onRendered','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_syncEditingCollabCursorService','handleInsertRangeMoveDown','_onRefRangeChange','_logService','_heartbeatTimer','ColorKit','Injector','transformSelections','startsWith','off-line-icon_clip0_910_343','DOC_RANGE_TYPE','transformMutation','call','getActiveSheet','FromArray','getOwnPropertyDescriptor','textRanges','IDocClipboardService','@univerjs/docs-ui','react/jsx-runtime','@univerjs/engine-render','@univerjs/network','_getMergeRange','UnitStatus','Disposable','_updateURLWithCurrentState','_getSheetObject','_scheduleClearOtherTimer','Error','defineProperty','getSheetBySheetId','collabStatus.notCollab','transformStateCache','_cursorInfo$','@univerjs/core','CollaborationDataLoaderController','NodePositionConvertToRectRange','YUUMI_SUBSCRIPTION_NOT_FOUND','defs','random','getConfig','getOffsetConfig','collaboration.closeRoom','1291766ZfHeSS','CLOSE_ROOM','runId','icon','dispose','BrowserCollaborationSocketService','SOCKET_FAILED_RETRY','registerComponent','_registerDependencies','_initResize','deepClone','_onCursorDelete','UniverSheets','history','_drawRectRange','_cursors','_handleJoinEvent','INVALID_ARGUMENT','_config','storage','HTTPService','_docTransformStateCacheService','lineTo','UNDEFINED','isTransformMutationFailure','debounce','onTransformChange$','_eventUnsubscribe','DeleteRangeMoveLeftCommandId','NOT_COLLAB','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_roomMembers$','_dataLoaderService','handleInsertCol','_ensureSubject','addObjects','ILogService','DocIMEInputManagerService','on-line-icon_clip0_910_349','pushState','_colorAssignService','getCurrent','_getSessionTicket','_color','ENSURE_SNAPSHOT_EXECUTION','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_removeCollabCursors','_docStateChangeManagerService','name','RemoteUniscriptService','getParam','APPLY_REJECT','off-line-icon','_localStorageService','collabStatus.synced','_updateLocalCursor','RxDisposable','LOGIN_FAILED','url(#$1','green.600','permission.content','APPLY_NON_SEQUENTIAL_REVISION','_collaborationUIEventService','className','PY_RUNTIME_SCRIPT_ERROR','disableLocalCache','IMessageService','width','transformRemoteChangeset','OFFLINE','unitID','_univerInstanceService','onPointerEnter$','APPLY_REVISION_CONFILICT','ICommandService','_clearOtherTimers','_initCommandExecutedListener','_setupBeforeClosingHandler','CHANGESET_REVISION_CONFILICT','InsertRangeMoveRightCommandId','OnLineIcon','moveTo','touchDependencies','_textBubble','UniverDesign','4946135VzWred','_revisionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformMutationsWithChangeset','NO_OTHER_CLIENTS_EDITING','_transformService','INTERNAL_ERROR','_handleEvent','selections','setItem','executeCommand','collabStatus.offline','addEventListener','show','with','getCollabEntity$','YUUMI_ASYNCIO_CANCELLED','_getScale','location','getUnitId','INVITE_CODE_REQUIRED','requireSession','switchMap','RegularPolygon','UniverDocs','endColumn','distinctUntilChanged','purple.300','WebBrowserSingleActiveUnitService','replaceDocRanges','round','unload','values','getRenderById','_transformPreviousActiveRange','Tools','editingUnit','LICENSE_DISTRO_REJECTED','_collabSessionService','result','_collabCursorState$','getCurrentRevOfUnit','_init','NOT_FOUND','propertyIsEnumerable','INVITE_CODE_HAS_BEEN_UES','startRow','_startSheetCollabCursor','_refreshCollabCursors','jsx','LOCAL_CACHE_INTERVAL_KEY','UniverInstanceType','isEditing','YUUMI_RATE_OVER_LIMIT','COLORS','current','Rect','_unitOnClients','flatMap','@univerjs/sheets-ui','roomMembers$','getAncestorScale','cursorInfo','COMPLETION_FINISHED','_render','getColor','_document','xlink:href','UNIVER_SHEET','MessageType','dispose$','createInstance','SetTextSelectionsOperation','clearTimeout','getColorFromTheme','UNAUTHENTICATED','_httpService','override','generateRandomId','@univerjs/drawing'];_0x7820=function(){return _0x25dd31;};return _0x7820();}
1
+ function _0x4c3e(_0xbaca39,_0x40f7fc){const _0x17425f=_0x1742();return _0x4c3e=function(_0x4c3ebc,_0x4bbdc8){_0x4c3ebc=_0x4c3ebc-0xb0;let _0x381c54=_0x17425f[_0x4c3ebc];return _0x381c54;},_0x4c3e(_0xbaca39,_0x40f7fc);}function _0x1742(){const _0x3d7d18=['defineProperty','params','395kXkDdE','getCurrent','_uiPartsService','SOCKET_FAILED_RETRY','_disabled','_configService','assign','blue.400','_docStateChangeManagerService','size','getCollabEntity$','Warning','HTTPService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','subscribe','_collabCursorController','IDocClipboardService','unload','cursorInfo','16242FJrlhx','startColumn','Injector','_beforeCloseService','jsxs','hide','font','getActiveSheet','Tooltip','355688eQVjcK','fillText','RemoveColCommandId','object','_localCacheService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','docStateChange$','RevisionService','_draw','6812nEtffY','hasOwnProperty','arc','indexOf','getOwnPropertyDescriptor','13094870dJInJV','_injector','Error','amd','endColumn','NodePositionConvertToRectRange','svg','/run/','UniverDocsUi','addClipboardHook','AWAITING','find','filter','createInstance','useObservable','_drawAnchor','_onRefRangeChange','hovered','DesktopCollaborationStatusDisplayController','VIEW_MAIN','MUTATION','_initResize','UniverInstanceType','shareReplay','runId','subUnitId','labelPosition','deepClone','takeUntil','width','row','SetWorksheetActivateCommand','getCurrentRevOfUnit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','selection','Disposable','use','INTERNAL_ERROR','univer-mr-2\x20univer-flex\x20univer-text-xl','RegularPolygon','SNAPSHOT_HAS_BEEN_REMOVED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getValue','trim','ITransformService','result','Rect','EMAIL_VERIFY_CODE_MISMATCH','univerjs-icon\x20univerjs-icon-','628855NukfXV','UniverCollaborationClientPlugin','session.collaboration-timeout','apply','_refreshCollabCursors','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/network','_docClipboardService','getActiveRange','url(#$1','lineTo','_cursors','setAlpha','uni.network.url-service','CollaborationSocketService','override','_dataLoaderService','className','_createSocketURL','entries','updateOfflineData','_handleLeaveEvent','pushState','unsubscribe','clsx','handleInsertCol','_registerDependencies','getRelativeToViewportCoord','getItem','eventID','length','collaboration.closeRoom','isArray','handleInsertRow','getRangePointData','APPLY_REJECT','text','InsertRangeMoveRightCommandId','INVITE_CODE_REQUIRED','combineLatest','_onCursorUpdate','touchDependencies','subscribeEvent','yellow.400','_render','YUUMI_RATE_OVER_LIMIT','Workbook','range','getCoordByCell','React','APPLY_NON_SEQUENTIAL_REVISION','UniverProCollaboration','@univerjs/sheets','column','useDependency','mapTo','OTHER_CLIENTS_EDITING','ILogService','_config','_removeCollabCursors','roomMembers$','getSkeleton','@univerjs/docs','CollaborationUIEventService','getCurrentUnitForType','_collabSessionService','operators','includes','SheetsSelectionsService','RefRangeService','@univerjs/docs-ui','colorChannel1','handleMoveRange','onStarting','_setupSubUnitSync','YUUMI_ASYNCIO_CANCELLED','_online','_collaborationUIEventService','history','transformStateCache','drawWith','urlChange$','ISocketService','children','CollaborationController','createElement','collabStatus.notCollab','UniverProCollaborationClient','_httpService','disableLocalCache','show','_entityInit$','removeParam','@univerjs/ui','Optional','resize','_colorAssignService','getStateCache','_cursorInfo$','getCollabCursors$','type','9uZtQFt','enableLocalCache','onMouseMove','transformByState','IMessageService','call','red.300','collabStatus.fetchMiss','_ensureSubject','engine','YUUMI_UNABLE_LOAD_URL','replace','round','moveTo','_saveCache','_getScale','_cachedData','DisposableCollection','toString','ILocalStorageService','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','isActive','UNDEFINED','displayName','white','unitId','USER_NOT_INVITED_CODE','UniverIcon','has','onRendered','_commandService','EffectRefRangId','location','push','FETCH_MISS','runOnServer','0\x200\x2017\x2016','_collaborationController','_context','YUUMI_URL_COL_OUT_OF_RANGE','RxDisposable','stringify','whenReady','UniverDocs','SetTextSelectionsOperation','INVITE_CODE_HAS_BEEN_UES','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_backgroundColor','@univerjs/drawing','HEADER_MENU','_docTransformSelectionsService','_urlService','forwardRef','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','YUUMI_ALL_TABLES_IS_INVALID','LICENSE_IMPORT_SIZE_EXCEEDED','transformIMECache','LICENSE_DISTRO_REJECTED','rxjs','code','IImageIoService','UniverCore','RemoteUniscriptService','merge','url(#on-line-icon_clip0_910_349)','debounce','closePath','set','string','_handleEvent','_scheduleHeartbeat','newValue','beginPath','_docSkeleton','_colorIndex','LICENSE_MAX_UNITS_EXCEEDED','getSheetBySheetId','split','OnLineIcon','DocIMEInputManagerService','getSheetObject','setParam','_selfUnitIDs','Shape','ALREADY_EXISTS','Failed','jsx','collabStatus.offline','getOffsetConfig','[CollaborationDataLoaderController]','setTimeout','_saveTaskMap','searchParams','_initCommandExecutedListener','_docTransformIMECacheService','unshift','cursorInfo$','registerRenderModule','_eventUnsubscribe','transform','_revisionService','_messageService','handleDeleteRangeMoveLeft','delete','YUUMI_CONNECTOR_URL_NOT_FOUND','600VHmCVN','fillStyle','registerComponent','Inject','getDocRanges','_drawRectRange','UNRECOGNIZED','data','_updateLocalCursor','_toggleOnline','defs','UniverCollaborationClientUIPlugin','UniverSheets','purple.300','dispose','_range','subunit','_heartbeatTimer','disposeWithMe','off-line-icon_clip0_910_343','CHANGESET_REVISION_CONFILICT','IRenderManagerService','Tools','DeleteRangeMoveUpCommandId','_transformHistoryAndStateStack','NOT_COLLAB','off-line-icon','min','actions','getUnitStatus$','currentSkeleton$','InsertRowCommandId','react/jsx-runtime','YUUMI_SUBSCRIPTION_NOT_FOUND','_getSheetObject','DocCollaborationEntity','registerBeforeClose','_localStorageService','collaboration.single-unit.warning','name','asObservable','NOT_FOUND','_cursor','_registerRenderDependencies','_renderManagerService','WebSocketService','makeDirty','WECHAT_HAS_BEEN_BOUND','_toggleOffline','transformMutationsWithChangeset','permission.content','getRenderById','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','MOBILE_HAS_BEEN_BOUND','YUUMI_AI_RUN_FAILED','getUnhiddenWorksheets','ICommandService','collab-rect-range-','_roomMembers$','addObjects','error','UNIVER_DOC','INVALID_INVITE_CODE','focused$','getUndoRedoMutationParamsCache','registerDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','tag','then','evenodd','imageSourceType','clearTimeout','next','CLOSE_ROOM','...','handleDeleteRangeMoveUp','INVITE_CODE_ALREADY_BOUND','DeleteRangeMoveLeftCommandId','PERMISSION_DENIED','PENDING','Vector2','_entities','_initStatusListener','memberID','setStateCache','addHandlerCallback','init','CONNECTOR_DATA_TOO_LARGE','Rectangle','executionId','IBeforeCloseService','fromEvent','translate(.97)','restore','YUUMI_NO_CUBOID_FOR_QUESTION','_hovered','toRgbString','_themeService','_unitStatus','_handleHover','sheetID','INVALID_ARGUMENT','on-line-icon','with','serializeRangeWithSheet','_refRangeService','getConfig','isTransformMutationFailure','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Unknown\x20user','IUIPartsService','getVpScrollXYInfoByPosToVp','collaboration-client-ui.config','current','assignAColorForMemberID','FromArray','CollaborationDataLoaderController','unit','max','_onCursorDelete','setItem','DocSelectionManagerService','collabStatus.conflict','_docTransformStateCacheService','backgroundColor','onCommandExecuted','findNodePositionByCharIndex','UniverProCollaborationClientUi','transformMutation','pipe','clipPath','fromEventSubject','_initDependencies','MessageType','key','handleIRemoveRow','undoState','collabStatus.synced','CONFLICT','getColorFromTheme','debounceTime','_clearOtherTimers','UnitStatus','_docSkeletonManagerService','_sheetSkeletonManagerService','APPLY_PERMISSION_DENIED','CollaborationSessionService','handleInsertRangeMoveDown','complete','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSaveTimeout','onPointerEnter$','currentTheme$','collabStatus.syncing','sessionStatus$','height','getCellPositionByOffset','getMemberID','_collabCursorState$','SOCKET_FAILED','COLORS','_doCreateSocket','@univerjs-pro/collaboration-client','AWAITING_WITH_PENDING','TEXT_RANGE_LAYER_INDEX','_assignedColors','LOCAL_CACHE_INTERVAL','icon','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','useCallback','black','clearInterval','get','_getAnchorBounding','@univerjs/design','RemoveRowCommandId','forEach','startsWith','href','_hideTimer','LocaleService','activeSheet$','CollaborationUIEventId','redoState','generateRandomId','path','BrowserCollaborationSocketService','1em','_id','DEFAULT_WS_SESSION_TICKET_URL','setShapeProps','unitID','color','_unitOnClients','body','UNAUTHENTICATED','_startSheetCollabCursor','_initStatusComponent','xlink:href','collabCursorState$','extend','_logService','_scene','collab-text-anchor-','http://www.w3.org/2000/svg','RECT','_instanceService','roomMembers','IURLService','_transformUndoRedoStack','IConfigService','SNAPSHOT_INVALID_SNAPSHOT','startRow','onTransformChange$','executeCommand','propertyIsEnumerable','bottom','save','post','_updateSubUnitFromURLParams','m2Prime','SheetCollabCursorShape','connectInjector','skeleton','APPLY_DUPLICATED','TEXT','@univerjs-pro/collaboration','626272wwWSjg','symbol','_labelPosition','935242Fxcggr','_initEvent','add','ILocalCacheService','source','session.will-retry','setActiveRange','_init','transformRemoteChangeset','switchMap','getUnitId','addObject','_cursorShapes','_color','collab-text-range-','TOO_MANY_REQUESTS','_imageIoService','mask','CommandType','CollaborationEvent','doc.mutation.rich-text-editing','map','_anchor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UNIVER_SHEET','top','_updateURLWithCurrentState','_docSyncEditingCollabCursorService','idSuffix','getOwnPropertySymbols','measureText','div','flatMap','transformSelections','_status$','APPLY_REVISION_CONFILICT','CollaborationStatus','getSheetId','BehaviorSubject','_name','send','_shapes','DataLoaderService','_getSessionTicket','prototype','none','_document','entityInit$','_localeService','_anchorDot','isEditing','sessionTicket','from','@univerjs/core','OFFLINE','throttleTime','mutations','triggerDblclick','DependentOn','getTypeOfUnitDisposed$','UPDATE_CURSOR','ColorKit','getColor','_textBubble','createSocket','disposeUnit','onPointerLeave$','getParam','#FFF','random','event$','createIdentifier','SessionStatus','_transformService','SYNCED','attrs','IUniverInstanceService','concat','_memberService','_initEntityListener','getMergeData','rgba(255,\x20255,\x20255,\x200.01)','DocSkeletonManagerService','getFocusedUnit','isTransformMutationsWithChangesetSuccess','_scheduleSaving','_session','_setupBeforeClosingHandler','LOGIN_FAILED','textRanges','getUniverSheetInstance','setInterval','m1Prime','_handleJoinEvent','_lastPointer','InsertColCommandId','_notificationService','dispose$','_scheduleClearOtherTimer','loadUnit','NodePositionConvertToCursor','WebURLService','getAncestorScale','deserializeRangeWithSheet','_syncEditingCollabCursorService','setUndoRedoMutationParamsCache','defIds','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','jiqing.500','react','syncEditingCollabCursor','registerRefRange','_updateCollabCursors','MOBILE_VERIFY_CODE_MISMATCH','saveImage','replaceDocRanges','currentColor','ONLINE','UniverUi','MemberService','_univerInstanceService','_hover','_drawTextRange','USERS_LEAVE','values','JOIN_ROOM_FAILED','UniverDrawing','DocStateChangeManagerService','saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','search','_transformPreviousActiveRange','toDisposable','toStringTag','DOC_RANGE_TYPE','fill','PY_RUNTIME_SCRIPT_ERROR','_handleHeartbeatEvent','replaceState','BuiltInUIPart','_getMergeRange','ranges','NO_OTHER_CLIENTS_EDITING'];_0x1742=function(){return _0x3d7d18;};return _0x1742();}(function(_0x414ddd,_0xce2549){const _0x4ddb42=_0x4c3e,_0x41a8bb=_0x414ddd();while(!![]){try{const _0x437594=-parseInt(_0x4ddb42(0x235))/0x1+parseInt(_0x4ddb42(0x1ff))/0x2*(-parseInt(_0x4ddb42(0x303))/0x3)+parseInt(_0x4ddb42(0x146))/0x4+parseInt(_0x4ddb42(0x1da))/0x5*(parseInt(_0x4ddb42(0x1ed))/0x6)+parseInt(_0x4ddb42(0x149))/0x7+parseInt(_0x4ddb42(0x1f6))/0x8+parseInt(_0x4ddb42(0x29a))/0x9*(parseInt(_0x4ddb42(0x204))/0xa);if(_0x437594===_0xce2549)break;else _0x41a8bb['push'](_0x41a8bb['shift']());}catch(_0x544aa8){_0x41a8bb['push'](_0x41a8bb['shift']());}}}(_0x1742,0x85c50),function(_0x336f20,_0x1cab48){const _0x1529a7=_0x4c3e;typeof exports==_0x1529a7(0x1f9)&&typeof module<'u'?_0x1cab48(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x1529a7(0x207)]?define(['exports',_0x1529a7(0x323),_0x1529a7(0x105),_0x1529a7(0x17e),_0x1529a7(0x292),_0x1529a7(0x2d4),_0x1529a7(0x111),_0x1529a7(0x1b6),'@univerjs/rpc',_0x1529a7(0x269),'@univerjs/engine-render',_0x1529a7(0x23b),_0x1529a7(0x27b),_0x1529a7(0x2ca),_0x1529a7(0x145),_0x1529a7(0x273),'@univerjs/engine-formula','rxjs/operators','@univerjs/sheets-ui'],_0x1cab48):(_0x336f20=typeof globalThis<'u'?globalThis:_0x336f20||self,_0x1cab48(_0x336f20[_0x1529a7(0xe2)]={},_0x336f20[_0x1529a7(0x266)],_0x336f20[_0x1529a7(0x28c)],_0x336f20[_0x1529a7(0x2d7)],_0x336f20[_0x1529a7(0x1bf)],_0x336f20['rxjs'],_0x336f20['UniverDesign'],_0x336f20[_0x1529a7(0x266)],_0x336f20['UniverRpc'],_0x336f20[_0x1529a7(0x30f)],_0x336f20['UniverEngineRender'],_0x336f20['UniverNetwork'],_0x336f20[_0x1529a7(0x20c)],_0x336f20[_0x1529a7(0x1c7)],_0x336f20[_0x1529a7(0x268)],_0x336f20[_0x1529a7(0x2c5)],_0x336f20['UniverEngineFormula'],_0x336f20['rxjs'][_0x1529a7(0x277)],_0x336f20['UniverSheetsUi']));}(this,function(_0x4d2e9d,_0x1d7179,_0x51eeb3,_0x370994,_0x4fb456,_0x4fbf49,_0x124099,_0x3ce598,_0x27a3ef,_0x49b249,_0x44054e,_0x1af224,_0x2a6d62,_0x6af2d0,_0x59c7cf,_0x1667b5,_0x146858,_0x49c550,_0x278bfb){'use strict';const _0x1bfd40=_0x4c3e;var _0xc6e9d=Object[_0x1bfd40(0x1d8)],_0x1201e6=(_0x453441,_0x5376a7,_0x2e95e7)=>_0x5376a7 in _0x453441?_0xc6e9d(_0x453441,_0x5376a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e95e7}):_0x453441[_0x5376a7]=_0x2e95e7,_0x2ab701=(_0x5c1a4a,_0x5c0990,_0x5289fd)=>_0x1201e6(_0x5c1a4a,typeof _0x5c0990!=_0x1bfd40(0x147)?_0x5c0990+'':_0x5c0990,_0x5289fd),_0x508365=function(){const _0x501d20=_0x1bfd40;return _0x508365=Object[_0x501d20(0x1e0)]||function(_0x4a9106){const _0x4f80ea=_0x501d20;for(var _0x139b7d,_0x3061db=0x1,_0x1f75c9=arguments['length'];_0x3061db<_0x1f75c9;_0x3061db++){_0x139b7d=arguments[_0x3061db];for(var _0x5b4a16 in _0x139b7d)Object[_0x4f80ea(0x175)][_0x4f80ea(0x200)]['call'](_0x139b7d,_0x5b4a16)&&(_0x4a9106[_0x5b4a16]=_0x139b7d[_0x5b4a16]);}return _0x4a9106;},_0x508365[_0x501d20(0x238)](this,arguments);},_0x20a099=function(_0x3ca02e,_0x25ce3d){const _0x482ec5=_0x1bfd40;var _0x237e4d={};for(var _0x40465f in _0x3ca02e)Object[_0x482ec5(0x175)][_0x482ec5(0x200)][_0x482ec5(0x29f)](_0x3ca02e,_0x40465f)&&_0x25ce3d[_0x482ec5(0x202)](_0x40465f)<0x0&&(_0x237e4d[_0x40465f]=_0x3ca02e[_0x40465f]);if(_0x3ca02e!=null&&typeof Object[_0x482ec5(0x166)]=='function'){for(var _0xe187b7=0x0,_0x40465f=Object[_0x482ec5(0x166)](_0x3ca02e);_0xe187b7<_0x40465f[_0x482ec5(0x253)];_0xe187b7++)_0x25ce3d['indexOf'](_0x40465f[_0xe187b7])<0x0&&Object[_0x482ec5(0x175)][_0x482ec5(0x13a)][_0x482ec5(0x29f)](_0x3ca02e,_0x40465f[_0xe187b7])&&(_0x237e4d[_0x40465f[_0xe187b7]]=_0x3ca02e[_0x40465f[_0xe187b7]]);}return _0x237e4d;},_0x28dfd0=_0x3ce598[_0x1bfd40(0x2ce)](function(_0x5438dd,_0x45c44c){const _0x75a765=_0x1bfd40;var _0x3f0730=_0x5438dd[_0x75a765(0x10a)],_0xc27571=_0x5438dd['id'],_0x348dc5=_0x5438dd['className'],_0x58f6d1=_0x5438dd[_0x75a765(0x12b)],_0x9a34c=_0x20a099(_0x5438dd,[_0x75a765(0x10a),'id',_0x75a765(0x246),'extend']),_0x3c6f03=_0x75a765(0x234)[_0x75a765(0x196)](_0xc27571,'\x20')[_0x75a765(0x196)](_0x348dc5||'')[_0x75a765(0x22f)](),_0x1c0b64=_0x3ce598['useRef']('_'[_0x75a765(0x196)](_0x4ce29a()));return _0xa60c19(_0x3f0730,''[_0x75a765(0x196)](_0xc27571),{'defIds':_0x3f0730[_0x75a765(0x1b3)],'idSuffix':_0x1c0b64[_0x75a765(0xd4)]},_0x508365({'ref':_0x45c44c,'className':_0x3c6f03},_0x9a34c),_0x58f6d1);});function _0xa60c19(_0x47a5a6,_0x29c413,_0x53ae07,_0x561b09,_0x255e7b){const _0x4e637c=_0x1bfd40;return _0x3ce598[_0x4e637c(0x28a)](_0x47a5a6['tag'],_0x508365(_0x508365({'key':_0x29c413},_0x40d39b(_0x47a5a6,_0x53ae07,_0x255e7b)),_0x561b09),(_0x756df8(_0x47a5a6,_0x53ae07)[_0x4e637c(0x288)]||[])[_0x4e637c(0x15e)](function(_0x5a83f7,_0x5879be){const _0x3860fb=_0x4e637c;return _0xa60c19(_0x5a83f7,''[_0x3860fb(0x196)](_0x29c413,'-')['concat'](_0x47a5a6[_0x3860fb(0x346)],'-')['concat'](_0x5879be),_0x53ae07,void 0x0,_0x255e7b);}));}function _0x40d39b(_0x16ed78,_0x2d909d,_0x4e2351){const _0xcdc329=_0x1bfd40;var _0x2cf687=_0x508365({},_0x16ed78[_0xcdc329(0x194)]);_0x4e2351!=null&&_0x4e2351[_0xcdc329(0x27c)]&&_0x2cf687[_0xcdc329(0x1d0)]==='colorChannel1'&&(_0x2cf687[_0xcdc329(0x1d0)]=_0x4e2351[_0xcdc329(0x27c)]),_0x16ed78[_0xcdc329(0x346)]==='mask'&&_0x2cf687['id']&&(_0x2cf687['id']=_0x2cf687['id']+_0x2d909d[_0xcdc329(0x165)]),Object[_0xcdc329(0x248)](_0x2cf687)[_0xcdc329(0x113)](function(_0x5b1c30){const _0x446c4b=_0xcdc329;var _0x3cf2ea=_0x5b1c30[0x0],_0x5498dc=_0x5b1c30[0x1];_0x3cf2ea===_0x446c4b(0x15a)&&typeof _0x5498dc==_0x446c4b(0x2de)&&(_0x2cf687[_0x3cf2ea]=_0x5498dc['replace'](/url\(#(.*)\)/,_0x446c4b(0x23e)['concat'](_0x2d909d[_0x446c4b(0x165)],')')));});var _0x1b1114=_0x2d909d['defIds'];return!_0x1b1114||_0x1b1114[_0xcdc329(0x253)]===0x0||(_0x16ed78['tag']===_0xcdc329(0x228)&&_0x2cf687[_0xcdc329(0x129)]&&(_0x2cf687[_0xcdc329(0x129)]=_0x2cf687[_0xcdc329(0x129)]+_0x2d909d['idSuffix']),Object['entries'](_0x2cf687)['forEach'](function(_0x2795b1){const _0x19d430=_0xcdc329;var _0x1feb0e=_0x2795b1[0x0],_0x2721fd=_0x2795b1[0x1];typeof _0x2721fd==_0x19d430(0x2de)&&(_0x2cf687[_0x1feb0e]=_0x2721fd[_0x19d430(0x2a5)](/url\(#(.*)\)/,_0x19d430(0x23e)[_0x19d430(0x196)](_0x2d909d[_0x19d430(0x165)],')')));})),_0x2cf687;}function _0x756df8(_0x99391a,_0x51f0dd){const _0x2c4d8f=_0x1bfd40;var _0x4814d0,_0x17c2cf=_0x51f0dd[_0x2c4d8f(0x1b3)];return!_0x17c2cf||_0x17c2cf['length']===0x0?_0x99391a:_0x99391a['tag']===_0x2c4d8f(0x30d)&&(!((_0x4814d0=_0x99391a['children'])===null||_0x4814d0===void 0x0)&&_0x4814d0[_0x2c4d8f(0x253)])?_0x508365(_0x508365({},_0x99391a),{'children':_0x99391a['children']['map'](function(_0x2dd88e){const _0x4d4250=_0x2c4d8f;return typeof _0x2dd88e[_0x4d4250(0x194)]['id']=='string'&&_0x17c2cf&&_0x17c2cf['includes'](_0x2dd88e[_0x4d4250(0x194)]['id'])?_0x508365(_0x508365({},_0x2dd88e),{'attrs':_0x508365(_0x508365({},_0x2dd88e[_0x4d4250(0x194)]),{'id':_0x2dd88e['attrs']['id']+_0x51f0dd[_0x4d4250(0x165)]})}):_0x2dd88e;})}):_0x99391a;}function _0x4ce29a(){const _0x2bd969=_0x1bfd40;return Math[_0x2bd969(0x18e)]()[_0x2bd969(0x2ac)](0x24)['substring'](0x2,0x8);}_0x28dfd0[_0x1bfd40(0x2b1)]=_0x1bfd40(0x2b5);var _0x27e0d0={'tag':_0x1bfd40(0x20a),'attrs':{'xmlns':_0x1bfd40(0x12f),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x1bfd40(0x11e),'height':_0x1bfd40(0x11e)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1bfd40(0x11c),'attrs':{'stroke':_0x1bfd40(0x1bd),'d':_0x1bfd40(0x2ae),'strokeLinecap':_0x1bfd40(0x2a6),'strokeLinejoin':_0x1bfd40(0x2a6),'strokeWidth':1.2}}]},{'tag':_0x1bfd40(0x30d),'attrs':{},'children':[{'tag':_0x1bfd40(0xe5),'attrs':{'id':_0x1bfd40(0x316)},'children':[{'tag':_0x1bfd40(0x11c),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1bfd40(0x316)]},_0x1a5c4a=_0x3ce598[_0x1bfd40(0x2ce)](function(_0x57349b,_0x24ee23){const _0x561619=_0x1bfd40;return _0x3ce598[_0x561619(0x28a)](_0x28dfd0,Object[_0x561619(0x1e0)]({},_0x57349b,{'id':_0x561619(0x31d),'ref':_0x24ee23,'icon':_0x27e0d0}));});_0x1a5c4a[_0x1bfd40(0x2b1)]='OffLineIcon';var _0x1f9c01={'tag':_0x1bfd40(0x20a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1bfd40(0x176),'viewBox':_0x1bfd40(0x2be),'width':_0x1bfd40(0x11e),'height':_0x1bfd40(0x11e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1bfd40(0x2da)},'children':[{'tag':'path','attrs':{'stroke':_0x1bfd40(0x1bd),'d':_0x1bfd40(0x1b4),'strokeLinecap':_0x1bfd40(0x2a6),'strokeLinejoin':_0x1bfd40(0x2a6),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1bfd40(0xe5),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x1bfd40(0x11c),'attrs':{'fill':_0x1bfd40(0x2b2),'d':'M0\x200H16V16H0z','transform':_0x1bfd40(0xbf)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4da928=_0x3ce598[_0x1bfd40(0x2ce)](function(_0x1ad082,_0x266a0f){const _0x36b62f=_0x1bfd40;return _0x3ce598['createElement'](_0x28dfd0,Object[_0x36b62f(0x1e0)]({},_0x1ad082,{'id':_0x36b62f(0xc9),'ref':_0x266a0f,'icon':_0x1f9c01}));});_0x4da928['displayName']=_0x1bfd40(0x2e8);function _0x363e41(_0xadc743){const _0x587b7b=_0x1bfd40;switch(_0xadc743){case _0x51eeb3['CollaborationStatus'][_0x587b7b(0x17f)]:return _0x587b7b(0x2f1);case _0x51eeb3[_0x587b7b(0x16d)][_0x587b7b(0xed)]:return _0x587b7b(0xdd);case _0x51eeb3['CollaborationStatus'][_0x587b7b(0x2bc)]:return _0x587b7b(0x2a1);case _0x51eeb3[_0x587b7b(0x16d)][_0x587b7b(0x31c)]:return _0x587b7b(0x28b);case _0x51eeb3[_0x587b7b(0x16d)][_0x587b7b(0x20e)]:case _0x51eeb3[_0x587b7b(0x16d)][_0x587b7b(0x106)]:return _0x587b7b(0xfc);case _0x51eeb3[_0x587b7b(0x16d)][_0x587b7b(0x193)]:case _0x51eeb3[_0x587b7b(0x16d)][_0x587b7b(0xb2)]:return _0x587b7b(0xec);}}function _0x1c0929(_0x4c6fa3){const _0x27234a=_0x1bfd40,{status$:_0x5ac8f0}=_0x4c6fa3,_0x2bfb4d=_0x4fb456[_0x27234a(0x212)](_0x5ac8f0,_0x51eeb3[_0x27234a(0x16d)][_0x27234a(0x31c)]),_0x5c7bbb=_0x4fb456[_0x27234a(0x26b)](_0x370994[_0x27234a(0x117)]),_0x2ac933=_0x4fb456['useDependency'](_0x51eeb3[_0x27234a(0xf5)]),_0x278cec=_0x2bfb4d!==_0x51eeb3[_0x27234a(0x16d)][_0x27234a(0x17f)],_0xb156e=_0x5c7bbb['t'](_0x363e41(_0x2bfb4d)),_0x19d64e=_0x278cec?_0x1d7179[_0x27234a(0x2f0)](_0x4da928,{}):_0x1d7179[_0x27234a(0x2f0)](_0x1a5c4a,{}),_0x6ddca3=_0x3ce598[_0x27234a(0x10c)](()=>{_0x278cec||_0x2ac933['reconnect']();},[_0x278cec,_0x2ac933]);function _0x159d4a(){const _0x328a1f=_0x27234a;return _0x1d7179[_0x328a1f(0x1f1)](_0x328a1f(0x168),{'className':'univer-flex\x20univer-items-center','onClick':_0x6ddca3,'children':[_0x1d7179['jsx']('div',{'className':_0x124099[_0x328a1f(0x24d)](_0x328a1f(0x22a),{'univer-text-green-500':_0x278cec,'univer-text-red-500':!_0x278cec}),'children':_0x19d64e}),_0x1d7179[_0x328a1f(0x2f0)](_0x328a1f(0x168),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xb156e})]});}return _0x278cec?_0x159d4a():_0x1d7179[_0x27234a(0x2f0)](_0x124099[_0x27234a(0x1f5)],{'title':_0x5c7bbb['t']('collab-client.tooltip.reconnect'),'children':_0x159d4a()});}var _0x35a21a=Object[_0x1bfd40(0x203)],_0x2e1188=(_0x4d4790,_0x14cd0e,_0x438796,_0x29e5d4)=>{const _0x249d65=_0x1bfd40;for(var _0x379927=_0x29e5d4>0x1?void 0x0:_0x29e5d4?_0x35a21a(_0x14cd0e,_0x438796):_0x14cd0e,_0x26b959=_0x4d4790[_0x249d65(0x253)]-0x1,_0x18aefb;_0x26b959>=0x0;_0x26b959--)(_0x18aefb=_0x4d4790[_0x26b959])&&(_0x379927=_0x18aefb(_0x379927)||_0x379927);return _0x379927;},_0x393550=(_0x252af7,_0x1c1b3b)=>(_0x19a703,_0x37bfae)=>_0x1c1b3b(_0x19a703,_0x37bfae,_0x252af7);_0x4d2e9d[_0x1bfd40(0x216)]=class extends _0x370994[_0x1bfd40(0x227)]{constructor(_0x5b2fdf,_0x115605,_0x59277a,_0x22d01c){const _0x49f589=_0x1bfd40;super(),_0x2ab701(this,_0x49f589(0x16b),new _0x4fbf49[(_0x49f589(0x16f))](_0x51eeb3['CollaborationStatus'][_0x49f589(0x31c)])),(this[_0x49f589(0x1c1)]=_0x5b2fdf,this[_0x49f589(0x205)]=_0x115605,this[_0x49f589(0x2bf)]=_0x59277a,this[_0x49f589(0x1dc)]=_0x22d01c,this[_0x49f589(0x128)](),this[_0x49f589(0xb5)]());}['_initStatusListener'](){const _0x57eb3d=_0x1bfd40;this['disposeWithMe'](this[_0x57eb3d(0x1c1)][_0x57eb3d(0x342)][_0x57eb3d(0xe4)](_0x4fbf49[_0x57eb3d(0x152)](()=>{const _0x36943c=_0x57eb3d,_0x5dcce6=this[_0x36943c(0x1c1)][_0x36943c(0x19c)]();return _0x5dcce6?this[_0x36943c(0x2bf)][_0x36943c(0x1e4)](_0x5dcce6[_0x36943c(0x153)]()):_0x4fbf49['of'](null);}),_0x4fbf49['switchMap'](_0x2f9de3=>_0x2f9de3?_0x2f9de3['status$']:_0x4fbf49['of'](_0x51eeb3[_0x57eb3d(0x16d)]['NOT_COLLAB'])))[_0x57eb3d(0x1e8)](_0x59c38e=>{const _0x35d079=_0x57eb3d;this[_0x35d079(0x16b)]['next'](_0x59c38e);}));}[_0x1bfd40(0x128)](){const _0x1e5db3=_0x1bfd40;this[_0x1e5db3(0x315)](this[_0x1e5db3(0x1dc)][_0x1e5db3(0x305)](_0x4fb456[_0x1e5db3(0x1d4)][_0x1e5db3(0x2cb)],()=>_0x4fb456[_0x1e5db3(0x141)](_0x8f2706({'status$':this[_0x1e5db3(0x16b)][_0x1e5db3(0x32b)]()}),this[_0x1e5db3(0x205)])));}},_0x4d2e9d[_0x1bfd40(0x216)]=_0x2e1188([_0x393550(0x0,_0x370994[_0x1bfd40(0x195)]),_0x393550(0x1,_0x370994[_0x1bfd40(0x306)](_0x370994[_0x1bfd40(0x1ef)])),_0x393550(0x2,_0x370994['Inject'](_0x51eeb3[_0x1bfd40(0x289)])),_0x393550(0x3,_0x4fb456[_0x1bfd40(0xd1)])],_0x4d2e9d[_0x1bfd40(0x216)]);function _0x8f2706(_0x338d16){const {status$:_0x22edc2}=_0x338d16;return function(){return _0x1d7179['jsx'](_0x1c0929,{'status$':_0x22edc2});};}const _0x23c775=_0x370994[_0x1bfd40(0x190)](_0x1bfd40(0x242));var _0x1bfce5=Object[_0x1bfd40(0x203)],_0x5d6250=(_0x1e7b49,_0x2e0932,_0x3489c4,_0x4a0c67)=>{const _0xe277e2=_0x1bfd40;for(var _0xd34940=_0x4a0c67>0x1?void 0x0:_0x4a0c67?_0x1bfce5(_0x2e0932,_0x3489c4):_0x2e0932,_0x5d3704=_0x1e7b49[_0xe277e2(0x253)]-0x1,_0x2ee12a;_0x5d3704>=0x0;_0x5d3704--)(_0x2ee12a=_0x1e7b49[_0x5d3704])&&(_0xd34940=_0x2ee12a(_0xd34940)||_0xd34940);return _0xd34940;},_0x23bacf=(_0x55659c,_0x24b74c)=>(_0x52af81,_0x3c655a)=>_0x24b74c(_0x52af81,_0x3c655a,_0x55659c);_0x4d2e9d[_0x1bfd40(0xd7)]=class extends _0x370994[_0x1bfd40(0x2c2)]{constructor(_0x9a7314,_0xc3d359,_0x122544,_0x2206e5,_0x2b5630){const _0x406b47=_0x1bfd40;super(),this[_0x406b47(0x2cd)]=_0x9a7314,this['_logService']=_0xc3d359,this[_0x406b47(0x2b8)]=_0x122544,this['_dataLoaderService']=_0x2206e5,_0x2b5630?_0x2b5630==null||_0x2b5630[_0x406b47(0x2c4)]()[_0x406b47(0x347)](()=>this[_0x406b47(0x150)]()):(this[_0x406b47(0x12c)]['debug'](_0x406b47(0x2f3),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x1bfd40(0x150)](){const _0x36c046=_0x1bfd40,_0x4eb79d=this['_urlService']['getParam'](_0x36c046(0xd8)),_0x4816e4=this[_0x36c046(0x2cd)][_0x36c046(0x18c)](_0x36c046(0x299)),_0x27d99d=this[_0x36c046(0x2cd)][_0x36c046(0x18c)](_0x36c046(0x313));if(!_0x4eb79d||!_0x4816e4){this[_0x36c046(0x12c)]['debug'](_0x36c046(0x2f3),_0x36c046(0x2cf));return;}const _0x5a7c1f=await this[_0x36c046(0x245)][_0x36c046(0x1ac)](_0x4eb79d,Number(_0x4816e4),_0x27d99d);_0x5a7c1f&&_0x5a7c1f instanceof _0x370994[_0x36c046(0x263)]&&this[_0x36c046(0x27f)](_0x5a7c1f);}async[_0x1bfd40(0x27f)](_0x218fdc){const _0x4dc65f=_0x1bfd40;await this[_0x4dc65f(0x13e)](_0x218fdc),_0x218fdc[_0x4dc65f(0x118)][_0x4dc65f(0xe4)](_0x4fbf49['takeUntil'](this[_0x4dc65f(0x1aa)]))['subscribe'](_0x54d6ff=>{_0x54d6ff&&this['_updateURLWithCurrentState'](_0x54d6ff);}),this['_urlService'][_0x4dc65f(0x286)][_0x4dc65f(0xe4)](_0x4fbf49['takeUntil'](this[_0x4dc65f(0x1aa)]))[_0x4dc65f(0x1e8)](()=>this[_0x4dc65f(0x13e)](_0x218fdc));}[_0x1bfd40(0x163)](_0x5cbe8e,_0x644e6b=!0x1){const _0x3b98dc=_0x1bfd40,_0x106904=this[_0x3b98dc(0x2cd)][_0x3b98dc(0x18c)](_0x3b98dc(0x313));_0x5cbe8e['getSheetId']()!==_0x106904&&this['_urlService']['setParam'](_0x3b98dc(0x313),_0x5cbe8e['getSheetId'](),_0x644e6b);}async[_0x1bfd40(0x13e)](_0x79fc7d){const _0x4d1b02=_0x1bfd40;var _0x23a93f;const _0x2697c7=this[_0x4d1b02(0x2cd)][_0x4d1b02(0x18c)]('subunit');if(!_0x2697c7||!_0x79fc7d[_0x4d1b02(0x2e6)](_0x2697c7)){const _0x48a3d0=_0x79fc7d[_0x4d1b02(0x33a)]()[0x0],_0x390b97=_0x79fc7d[_0x4d1b02(0x2e6)](_0x48a3d0);if(!_0x390b97)return;this[_0x4d1b02(0x163)](_0x390b97,!0x0),await this[_0x4d1b02(0x2b8)][_0x4d1b02(0x139)](_0x49b249[_0x4d1b02(0x223)]['id'],{'unitId':_0x79fc7d[_0x4d1b02(0x153)](),'subUnitId':_0x48a3d0});return;}((_0x23a93f=_0x79fc7d[_0x4d1b02(0x1f4)]())==null?void 0x0:_0x23a93f[_0x4d1b02(0x16e)]())!==_0x2697c7&&await this['_commandService'][_0x4d1b02(0x139)](_0x49b249[_0x4d1b02(0x223)]['id'],{'unitId':_0x79fc7d[_0x4d1b02(0x153)](),'subUnitId':_0x2697c7});}},_0x4d2e9d[_0x1bfd40(0xd7)]=_0x5d6250([_0x23bacf(0x0,_0x23c775),_0x23bacf(0x1,_0x370994['ILogService']),_0x23bacf(0x2,_0x370994['ICommandService']),_0x23bacf(0x3,_0x370994['Inject'](_0x51eeb3[_0x1bfd40(0x173)])),_0x23bacf(0x4,_0x370994[_0x1bfd40(0x293)](_0x27a3ef['IRemoteInstanceService']))],_0x4d2e9d['CollaborationDataLoaderController']);var _0x2d7dba=Object['getOwnPropertyDescriptor'],_0x41541c=(_0x520e8c,_0x361edb,_0x3a985a,_0x1f7119)=>{const _0x5255ba=_0x1bfd40;for(var _0x398bb7=_0x1f7119>0x1?void 0x0:_0x1f7119?_0x2d7dba(_0x361edb,_0x3a985a):_0x361edb,_0x58692b=_0x520e8c[_0x5255ba(0x253)]-0x1,_0x419d34;_0x58692b>=0x0;_0x58692b--)(_0x419d34=_0x520e8c[_0x58692b])&&(_0x398bb7=_0x419d34(_0x398bb7)||_0x398bb7);return _0x398bb7;},_0x4a6f1a=(_0x5c6a0e,_0x220b70)=>(_0x216905,_0x4dce88)=>_0x220b70(_0x216905,_0x4dce88,_0x5c6a0e);let _0x4cb3b1=class extends _0x370994[_0x1bfd40(0x2c2)]{constructor(_0x36cad,_0x5da04f){const _0x3140e6=_0x1bfd40;super(),this[_0x3140e6(0x23c)]=_0x36cad,this[_0x3140e6(0x159)]=_0x5da04f,this[_0x3140e6(0x150)]();}[_0x1bfd40(0x150)](){const _0x2b4d=_0x1bfd40,_0x3f1eb7=this;this[_0x2b4d(0x315)](this[_0x2b4d(0x23c)][_0x2b4d(0x20d)]({'onBeforePasteImage':async _0x36a504=>{const _0x54f2d4=_0x2b4d,_0x4d9853=await _0x3f1eb7[_0x54f2d4(0x159)][_0x54f2d4(0x1bb)](_0x36a504);return _0x4d9853?{'source':_0x4d9853[_0x54f2d4(0x14d)],'imageSourceType':_0x4d9853[_0x54f2d4(0x349)]}:null;}}));}};_0x4cb3b1=_0x41541c([_0x4a6f1a(0x0,_0x2a6d62[_0x1bfd40(0x1ea)]),_0x4a6f1a(0x1,_0x6af2d0[_0x1bfd40(0x2d6)])],_0x4cb3b1);const _0x2652cb=[_0x1bfd40(0x310),_0x1bfd40(0x1b5),'green.600',_0x1bfd40(0x2a0),_0x1bfd40(0x1e1),_0x1bfd40(0x260)];class _0x851ba2 extends _0x370994['Disposable']{constructor(){const _0x108d92=_0x1bfd40;super(...arguments),_0x2ab701(this,_0x108d92(0x108),new Map()),_0x2ab701(this,_0x108d92(0x2e4),0x0);}[_0x1bfd40(0xd5)](_0x556f68){const _0x347ac2=_0x1bfd40;if(this['_assignedColors']['has'](_0x556f68))return this[_0x347ac2(0x108)][_0x347ac2(0x10f)](_0x556f68);const _0x39d217=_0x2652cb[this['_colorIndex']];return this[_0x347ac2(0x2e4)]=(this[_0x347ac2(0x2e4)]+0x1)%_0x2652cb['length'],this[_0x347ac2(0x108)]['set'](_0x556f68,_0x39d217),_0x39d217;}}function _0x3d1311(_0x3515e8){let _0x4fce67='';for(const _0x28e607 of _0x3515e8){const {startOffset:_0x259bec,endOffset:_0x395df6,isActive:_0xe13725,rangeType:_0x460410,segmentId:_0x2964dc,segmentPage:_0x437eba}=_0x28e607;_0x4fce67['length']&&(_0x4fce67+=','),_0x4fce67+=_0x259bec+':'+_0x395df6+':'+(_0xe13725?'1':'0')+':'+_0x460410+':'+_0x2964dc+':'+_0x437eba;}return _0x4fce67;}function _0x2e369d(_0xe3c5d8){const _0x4b6cf5=_0x1bfd40,_0x23a037=_0xe3c5d8[_0x4b6cf5(0x2e7)](','),_0x43c7c6=[];for(const _0x5f0e3a of _0x23a037){const [_0x3b87c2,_0x224d8b,_0x3e6f85,_0x96e1c,_0x11c33d,_0x25c53e]=_0x5f0e3a['split'](':');_0x43c7c6[_0x4b6cf5(0x2bb)]({'startOffset':Number(_0x3b87c2),'endOffset':Number(_0x224d8b),'collapsed':_0x3b87c2===_0x224d8b,'isActive':_0x3e6f85==='1','rangeType':_0x96e1c===_0x370994['DOC_RANGE_TYPE'][_0x4b6cf5(0x144)]?_0x370994[_0x4b6cf5(0x1cf)][_0x4b6cf5(0x144)]:_0x370994[_0x4b6cf5(0x1cf)][_0x4b6cf5(0x130)],'segmentId':typeof _0x11c33d==_0x4b6cf5(0x2de)?String(_0x11c33d):'','segmentPage':Number(_0x25c53e!=null?_0x25c53e:-0x1)});}return _0x43c7c6['some'](_0x3d4670=>_0x3d4670[_0x4b6cf5(0x2af)])||(_0x43c7c6[0x0][_0x4b6cf5(0x2af)]=!0x0),_0x43c7c6;}class _0x30a6a0 extends _0x370994[_0x1bfd40(0x2c2)]{constructor(){const _0x88bb4b=_0x1bfd40;super(...arguments),_0x2ab701(this,_0x88bb4b(0x101),new _0x4fbf49['BehaviorSubject'](null)),_0x2ab701(this,_0x88bb4b(0x12a),this['_collabCursorState$'][_0x88bb4b(0x32b)]());}[_0x1bfd40(0x1b7)](_0x27ad3b){const _0x26ffcd=_0x1bfd40,{unitID:_0xcd0979,memberID:_0x5dd638,textRanges:_0x3a61d4}=_0x27ad3b,_0x2458e5=_0x3d1311(_0x3a61d4);if(_0x2458e5==='')return;const _0x4262e6={'unitID':_0xcd0979,'memberID':_0x5dd638,'selection':_0x2458e5};this[_0x26ffcd(0x101)][_0x26ffcd(0x34b)](_0x4262e6);}}var _0x259f8a=Object[_0x1bfd40(0x203)],_0x707d0a=(_0x2b89a9,_0x9b6cff,_0x2f90c1,_0x4e67c6)=>{const _0x1f51a5=_0x1bfd40;for(var _0x54719d=_0x4e67c6>0x1?void 0x0:_0x4e67c6?_0x259f8a(_0x9b6cff,_0x2f90c1):_0x9b6cff,_0x1ebe57=_0x2b89a9[_0x1f51a5(0x253)]-0x1,_0x5b769e;_0x1ebe57>=0x0;_0x1ebe57--)(_0x5b769e=_0x2b89a9[_0x1ebe57])&&(_0x54719d=_0x5b769e(_0x54719d)||_0x54719d);return _0x54719d;},_0x52d60d=(_0xb69b36,_0x42db74)=>(_0x192a6e,_0x58eb57)=>_0x42db74(_0x192a6e,_0x58eb57,_0xb69b36);const _0x5bd03f=0x12c,_0x8f7ebe=0x64;let _0x10179f=class extends _0x370994[_0x1bfd40(0x2c2)]{constructor(_0x4b08a2,_0x312fff,_0x125ddf,_0x353cdc,_0x442e6b,_0x36438d,_0xe4c535,_0x59b313,_0x362970){const _0x27a720=_0x1bfd40;super(),_0x2ab701(this,'_online',!0x1),_0x2ab701(this,'_init',!0x1),_0x2ab701(this,_0x27a720(0x297),new _0x4fbf49[(_0x27a720(0x16f))](new Map())),_0x2ab701(this,_0x27a720(0x2fa),this[_0x27a720(0x297)][_0x27a720(0x32b)]()),_0x2ab701(this,_0x27a720(0x33d),new _0x4fbf49['BehaviorSubject']([])),_0x2ab701(this,_0x27a720(0x271),this[_0x27a720(0x33d)]['pipe'](_0x4fbf49['debounceTime'](_0x5bd03f))),_0x2ab701(this,_0x27a720(0x30b),_0x370994[_0x27a720(0x2db)](_0xd01189=>{const _0x2465be=_0x27a720,_0x3b5f1d={'eventID':_0x59c7cf[_0x2465be(0x15c)][_0x2465be(0x185)],'data':{'unitID':this['unitID'],'memberID':this[_0x2465be(0x19f)][_0x2465be(0x100)](),'selection':_0x3d1311(_0xd01189)}};this[_0x2465be(0x19f)]['send'](_0x3b5f1d,this[_0x2465be(0x122)]);},_0x8f7ebe)),(this[_0x27a720(0x122)]=_0x4b08a2,this[_0x27a720(0x19f)]=_0x312fff,this[_0x27a720(0x205)]=_0x125ddf,this[_0x27a720(0x295)]=_0x353cdc,this[_0x27a720(0x197)]=_0x442e6b,this[_0x27a720(0x1b1)]=_0x36438d,this[_0x27a720(0x192)]=_0xe4c535,this[_0x27a720(0x1c1)]=_0x59b313,this['_commandService']=_0x362970);}get[_0x1bfd40(0x1ec)](){const _0xe97d26=_0x1bfd40;return this[_0xe97d26(0x297)][_0xe97d26(0x22e)]();}get['roomMembers'](){const _0x2c175e=_0x1bfd40;return this[_0x2c175e(0x33d)][_0x2c175e(0x22e)]();}[_0x1bfd40(0x311)](){const _0x4da71d=_0x1bfd40;super['dispose'](),this[_0x4da71d(0x297)][_0x4da71d(0x34b)](new Map()),this['_cursorInfo$'][_0x4da71d(0xf7)](),this[_0x4da71d(0x33d)][_0x4da71d(0x34b)]([]),this[_0x4da71d(0x33d)]['complete']();}['init'](){const _0x5346c4=_0x1bfd40;this[_0x5346c4(0x150)]||(this[_0x5346c4(0x150)]=!0x0,this[_0x5346c4(0x19f)][_0x5346c4(0xfd)][_0x5346c4(0xe4)](_0x4fbf49[_0x5346c4(0x220)](this[_0x5346c4(0x1aa)]))[_0x5346c4(0x1e8)](_0x195144=>{const _0x3167fd=_0x5346c4;_0x195144===_0x51eeb3[_0x3167fd(0x191)][_0x3167fd(0x1be)]?this[_0x3167fd(0x30c)]():this[_0x3167fd(0x333)]();}),this[_0x5346c4(0x19f)][_0x5346c4(0x18f)]['pipe'](_0x4fbf49[_0x5346c4(0x220)](this['dispose$']))[_0x5346c4(0x1e8)](_0x3f95cc=>{const _0x32121b=_0x5346c4,_0x3ac447=_0x3f95cc[_0x32121b(0x252)];_0x3ac447===_0x59c7cf['CollaborationEvent'][_0x32121b(0x185)]&&this[_0x32121b(0x25d)](_0x3f95cc),_0x3ac447===_0x59c7cf['CollaborationEvent'][_0x32121b(0x1c4)]&&this[_0x32121b(0xda)](_0x3f95cc);}),this['disposeWithMe'](this[_0x5346c4(0x2b8)]['onCommandExecuted'](_0x264183=>{const _0x44554e=_0x5346c4,_0x4fe3b5=_0x264183[_0x44554e(0x1d9)];_0x4fe3b5!=null&&this[_0x44554e(0x281)]&&_0x264183['id']===_0x1667b5[_0x44554e(0x2c6)]['id']&&_0x4fe3b5[_0x44554e(0x2b3)]===this[_0x44554e(0x122)]&&_0x4fe3b5[_0x44554e(0x17b)]===!0x1&&_0x4fe3b5['ranges']['length']>0x0&&this[_0x44554e(0x30b)](_0x4fe3b5[_0x44554e(0x1d6)]);})),this[_0x5346c4(0x1b1)][_0x5346c4(0x12a)][_0x5346c4(0xe4)](_0x4fbf49[_0x5346c4(0x220)](this[_0x5346c4(0x1aa)]))[_0x5346c4(0x1e8)](_0x2a0199=>{const _0x57ef5a=_0x5346c4;if((_0x2a0199==null?void 0x0:_0x2a0199[_0x57ef5a(0x122)])!==this[_0x57ef5a(0x122)])return;const _0x318055={'eventID':_0x59c7cf[_0x57ef5a(0x15c)][_0x57ef5a(0x185)],'data':_0x2a0199};this[_0x57ef5a(0x25d)](_0x318055);}),this[_0x5346c4(0x315)](this['_commandService'][_0x5346c4(0xe0)](_0x389ac4=>{const _0x244ad9=_0x5346c4;if(_0x389ac4[_0x244ad9(0x1d9)]==null)return;const _0x4438c1=_0x389ac4[_0x244ad9(0x1d9)];if(_0x389ac4['id']!==_0x1667b5['RichTextEditingMutation']['id']||_0x4438c1[_0x244ad9(0x2b3)]!==this[_0x244ad9(0x122)])return;const _0x4b9292={'id':'doc.mutation.rich-text-editing','params':_0x4438c1},_0x4d782a=this[_0x244ad9(0x1ec)];for(const [_0x1099da,_0x3a49f1]of _0x4d782a){const _0x2f770c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x244ad9(0x122)],'actions':null,'textRanges':_0x3a49f1[_0x244ad9(0x1d6)]}},_0xcda4cd=this[_0x244ad9(0x192)][_0x244ad9(0xe3)](_0x4b9292,_0x2f770c,!0x1);if(_0x59c7cf[_0x244ad9(0xce)](_0xcda4cd))throw _0xcda4cd['error'];_0x4d782a[_0x244ad9(0x2dd)](_0x1099da,{..._0x3a49f1,'ranges':_0xcda4cd[_0x244ad9(0x13f)][_0x244ad9(0x1d9)][_0x244ad9(0x1a2)]});}queueMicrotask(()=>{const _0x5d6a71=_0x244ad9;this[_0x5d6a71(0x297)][_0x5d6a71(0x34b)](_0x4d782a);});})));}['_onCursorUpdate'](_0x2f42f4){const _0x14dbb9=_0x1bfd40;var _0x3c49a4,_0xac2d71;const {memberID:_0x559797,selection:_0x3c8221}=_0x2f42f4[_0x14dbb9(0x30a)],_0x1f3bf6=_0x2e369d(_0x3c8221),_0x5301b1=(_0xac2d71=(_0x3c49a4=this[_0x14dbb9(0x197)]['getMember'](this[_0x14dbb9(0x122)],_0x559797))==null?void 0x0:_0x3c49a4[_0x14dbb9(0x32a)])!=null?_0xac2d71:_0x14dbb9(0xd0),_0x25cdcf={'color':this[_0x14dbb9(0x295)]['assignAColorForMemberID'](_0x559797),'name':_0x5301b1,'ranges':_0x1f3bf6},_0x1ac57c=this[_0x14dbb9(0x1ec)];_0x1ac57c['set'](_0x559797,_0x25cdcf),this['_cursorInfo$'][_0x14dbb9(0x34b)](_0x1ac57c);}[_0x1bfd40(0xda)](_0x165534){const _0x4019c4=_0x1bfd40,{memberID:_0x2a8e54}=_0x165534['data'],_0x197964=this[_0x4019c4(0x1ec)];_0x197964['delete'](_0x2a8e54),this[_0x4019c4(0x297)][_0x4019c4(0x34b)](_0x197964);}[_0x1bfd40(0x30c)](){const _0x2c6c97=_0x1bfd40;var _0x366bc3;if(this['_online']=!0x0,((_0x366bc3=this[_0x2c6c97(0x1c1)][_0x2c6c97(0x19c)]())==null?void 0x0:_0x366bc3[_0x2c6c97(0x153)]())!==this[_0x2c6c97(0x122)])return;const _0x4bb06a=this[_0x2c6c97(0x205)][_0x2c6c97(0x10f)](_0x1667b5[_0x2c6c97(0xdc)])[_0x2c6c97(0x307)]();Array[_0x2c6c97(0x255)](_0x4bb06a)&&_0x4bb06a[_0x2c6c97(0x253)]>0x0&&this[_0x2c6c97(0x30b)](_0x4bb06a);}[_0x1bfd40(0x333)](){const _0x578e82=_0x1bfd40;this[_0x578e82(0x281)]=!0x1;}};_0x10179f=_0x707d0a([_0x52d60d(0x2,_0x370994['Inject'](_0x370994[_0x1bfd40(0x1ef)])),_0x52d60d(0x3,_0x370994[_0x1bfd40(0x306)](_0x851ba2)),_0x52d60d(0x4,_0x370994[_0x1bfd40(0x306)](_0x51eeb3[_0x1bfd40(0x1c0)])),_0x52d60d(0x5,_0x370994[_0x1bfd40(0x306)](_0x30a6a0)),_0x52d60d(0x6,_0x59c7cf[_0x1bfd40(0x230)]),_0x52d60d(0x7,_0x370994['IUniverInstanceService']),_0x52d60d(0x8,_0x370994[_0x1bfd40(0x33b)])],_0x10179f);var _0xbffb51=Object[_0x1bfd40(0x203)],_0x1f7afb=(_0x385ca0,_0x133134,_0x224fd1,_0x5da802)=>{for(var _0x39c44e=_0x5da802>0x1?void 0x0:_0x5da802?_0xbffb51(_0x133134,_0x224fd1):_0x133134,_0x517cad=_0x385ca0['length']-0x1,_0x66e9b8;_0x517cad>=0x0;_0x517cad--)(_0x66e9b8=_0x385ca0[_0x517cad])&&(_0x39c44e=_0x66e9b8(_0x39c44e)||_0x39c44e);return _0x39c44e;},_0x3f0b3a=(_0xa123fb,_0x5ba9da)=>(_0x16c2a4,_0x1874d7)=>_0x5ba9da(_0x16c2a4,_0x1874d7,_0xa123fb);const _0x445434=0x12c,_0x5a4be7=0x64,_0x8e6aff=()=>{let _0x2880ed=[],_0x192227=!0x1;return _0x229902=>{const _0x41da6a=_0x4c3e;_0x2880ed[_0x41da6a(0x2bb)](_0x229902),_0x192227||(_0x192227=!0x0,setTimeout(()=>{const _0xf39c95=_0x41da6a;_0x2880ed[_0xf39c95(0x113)](_0x363d82=>_0x363d82()),_0x2880ed=[],_0x192227=!0x1;}));};};let _0x571436=class extends _0x370994[_0x1bfd40(0x2c2)]{constructor(_0x203f3f,_0xb48b90,_0x35085d,_0x1923bd,_0x580e1c,_0xbfaf01,_0x15fb37,_0x5a8f9d){const _0x2832b6=_0x1bfd40;super(),_0x2ab701(this,_0x2832b6(0x281),!0x1),_0x2ab701(this,_0x2832b6(0x150),!0x1),_0x2ab701(this,_0x2832b6(0x297),new _0x4fbf49[(_0x2832b6(0x16f))](new Map())),_0x2ab701(this,_0x2832b6(0x2fa),this[_0x2832b6(0x297)][_0x2832b6(0x32b)]()),_0x2ab701(this,'_roomMembers$',new _0x4fbf49[(_0x2832b6(0x16f))]([])),_0x2ab701(this,_0x2832b6(0x271),this[_0x2832b6(0x33d)][_0x2832b6(0xe4)](_0x4fbf49[_0x2832b6(0xef)](_0x445434))),_0x2ab701(this,'_updateLocalCursor',_0x370994[_0x2832b6(0x2db)]((_0x5d4288,_0x53f375)=>{const _0x46fd98=_0x2832b6,_0x2bf17e={'eventID':_0x59c7cf[_0x46fd98(0x15c)][_0x46fd98(0x185)],'data':{'unitID':this['unitID'],'memberID':this[_0x46fd98(0x19f)]['getMemberID'](),'selection':_0x146858[_0x46fd98(0xcb)](_0x5d4288,_0x53f375['range'])}};this['_session'][_0x46fd98(0x171)](_0x2bf17e,this[_0x46fd98(0x122)]);},_0x5a4be7)),(this[_0x2832b6(0x122)]=_0x203f3f,this[_0x2832b6(0x19f)]=_0xb48b90,this[_0x2832b6(0x205)]=_0x35085d,this['_colorAssignService']=_0x1923bd,this[_0x2832b6(0x197)]=_0x580e1c,this['_univerInstanceService']=_0xbfaf01,this[_0x2832b6(0x2b8)]=_0x15fb37,this['_refRangeService']=_0x5a8f9d);}get[_0x1bfd40(0x1ec)](){const _0x298a89=_0x1bfd40;return this['_cursorInfo$'][_0x298a89(0x22e)]();}get[_0x1bfd40(0x132)](){const _0x51076f=_0x1bfd40;return this['_roomMembers$'][_0x51076f(0x22e)]();}['dispose'](){const _0x9a32c4=_0x1bfd40;super[_0x9a32c4(0x311)](),this[_0x9a32c4(0x297)][_0x9a32c4(0x34b)](new Map()),this[_0x9a32c4(0x297)]['complete'](),this[_0x9a32c4(0x33d)][_0x9a32c4(0x34b)]([]),this[_0x9a32c4(0x33d)][_0x9a32c4(0xf7)]();}[_0x1bfd40(0xb9)](){const _0x525bcd=_0x1bfd40;this['_init']||(this['_init']=!0x0,this[_0x525bcd(0x19f)][_0x525bcd(0xfd)][_0x525bcd(0xe4)](_0x4fbf49['takeUntil'](this[_0x525bcd(0x1aa)]))['subscribe'](_0x361639=>{const _0x3b5f25=_0x525bcd;_0x361639===_0x51eeb3[_0x3b5f25(0x191)][_0x3b5f25(0x1be)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x525bcd(0x19f)][_0x525bcd(0x18f)][_0x525bcd(0xe4)](_0x4fbf49[_0x525bcd(0x220)](this['dispose$']))['subscribe'](_0x22a9f9=>{const _0xf6c16a=_0x525bcd,_0x4eb8ad=_0x22a9f9[_0xf6c16a(0x252)];_0x4eb8ad===_0x59c7cf['CollaborationEvent']['UPDATE_CURSOR']&&this[_0xf6c16a(0x25d)](_0x22a9f9),_0x4eb8ad===_0x59c7cf[_0xf6c16a(0x15c)][_0xf6c16a(0x1c4)]&&this[_0xf6c16a(0xda)](_0x22a9f9);}),this['_onRefRangeChange'](),this[_0x525bcd(0x315)](this['_commandService'][_0x525bcd(0xe0)](_0x19f318=>{const _0xb994a3=_0x525bcd;if(this['_online']&&_0x19f318['id']===_0x49b249['SetSelectionsOperation']['id']&&_0x19f318['params'][_0xb994a3(0x2b3)]===this[_0xb994a3(0x122)]){const _0x215216=_0x19f318[_0xb994a3(0x1d9)];this[_0xb994a3(0x30b)](_0x215216[_0xb994a3(0x21d)],_0x215216['selections'][0x0]);}})));}[_0x1bfd40(0x25d)](_0x40f06b){const _0x3350f8=_0x1bfd40;var _0x4c274a,_0x1ec685;const {memberID:_0x14b92f,selection:_0x48609f}=_0x40f06b[_0x3350f8(0x30a)],{sheetName:_0x35a321,range:_0x3f3aef}=_0x146858[_0x3350f8(0x1b0)](_0x48609f),_0xfba37c={'name':(_0x1ec685=(_0x4c274a=this[_0x3350f8(0x197)]['getMember'](this['unitID'],_0x14b92f))==null?void 0x0:_0x4c274a[_0x3350f8(0x32a)])!=null?_0x1ec685:_0x3350f8(0xd0),'range':this[_0x3350f8(0x1d5)](_0x35a321,_0x3f3aef),'sheetID':_0x35a321,'color':this[_0x3350f8(0x295)][_0x3350f8(0xd5)](_0x14b92f),'selection':_0x48609f},_0x36f51e=this[_0x3350f8(0x1ec)];_0x36f51e[_0x3350f8(0x2dd)](_0x14b92f,_0xfba37c),this['_cursorInfo$'][_0x3350f8(0x34b)](_0x36f51e);}['_onCursorDelete'](_0x2c99cb){const _0x2fcb2e=_0x1bfd40,{memberID:_0x50640d}=_0x2c99cb[_0x2fcb2e(0x30a)],_0x34c8=this[_0x2fcb2e(0x1ec)];_0x34c8[_0x2fcb2e(0x301)](_0x50640d),this['_cursorInfo$']['next'](_0x34c8);}[_0x1bfd40(0x1d5)](_0x3ade17,_0x4c3cbf){const _0x5dc502=_0x1bfd40;var _0x23860e,_0x27d568;const _0x721b24=(_0x27d568=(_0x23860e=this[_0x5dc502(0x1c1)][_0x5dc502(0x1a3)](this[_0x5dc502(0x122)]))==null?void 0x0:_0x23860e[_0x5dc502(0x2e6)](_0x3ade17))==null?void 0x0:_0x27d568[_0x5dc502(0x199)]();return(_0x721b24==null?void 0x0:_0x721b24[_0x5dc502(0x20f)](_0x40631a=>_0x370994[_0x5dc502(0xbb)]['contains'](_0x40631a,_0x4c3cbf)))||_0x4c3cbf;}[_0x1bfd40(0x214)](){const _0x5a4234=_0x1bfd40,_0x6ed275=new _0x370994[(_0x5a4234(0x2ab))](),_0xe0f41a=_0x8e6aff(),_0x230f7d=()=>{const _0x456fa3=_0x5a4234;_0x6ed275['dispose']();const _0x27bb83=(_0x393282,_0x5b77e7,_0x5b1765,_0x41fb01)=>{const _0x1fc335=_0x4c3e;let _0x430d66=[];switch(_0x393282['id']){case _0x49b249['EffectRefRangId'][_0x1fc335(0xb0)]:{_0x430d66=_0x49b249[_0x1fc335(0x300)](_0x393282,_0x41fb01);break;}case _0x49b249[_0x1fc335(0x2b9)][_0x1fc335(0x31a)]:{_0x430d66=_0x49b249[_0x1fc335(0x34e)](_0x393282,_0x41fb01);break;}case _0x49b249[_0x1fc335(0x2b9)][_0x1fc335(0x1a8)]:{_0x430d66=_0x49b249[_0x1fc335(0x24e)](_0x393282,_0x41fb01);break;}case _0x49b249[_0x1fc335(0x2b9)]['InsertRangeMoveDownCommandId']:{_0x430d66=_0x49b249[_0x1fc335(0xf6)](_0x393282,_0x41fb01);break;}case _0x49b249[_0x1fc335(0x2b9)][_0x1fc335(0x25a)]:{_0x430d66=_0x49b249['handleInsertRangeMoveRight'](_0x393282,_0x41fb01);break;}case _0x49b249[_0x1fc335(0x2b9)][_0x1fc335(0x322)]:{_0x430d66=_0x49b249[_0x1fc335(0x256)](_0x393282,_0x41fb01);break;}case _0x49b249[_0x1fc335(0x2b9)]['MoveRangeCommandId']:{_0x430d66=_0x49b249[_0x1fc335(0x27d)](_0x393282,_0x41fb01);break;}case _0x49b249[_0x1fc335(0x2b9)][_0x1fc335(0x1f8)]:{_0x430d66=_0x49b249['handleIRemoveCol'](_0x393282,_0x41fb01);break;}case _0x49b249[_0x1fc335(0x2b9)][_0x1fc335(0x112)]:{_0x430d66=_0x49b249[_0x1fc335(0xea)](_0x393282,_0x41fb01);break;}}const _0x8a14b0=_0x49b249['runRefRangeMutations'](_0x430d66,_0x41fb01),_0x44aa04=this[_0x1fc335(0x1ec)]['get'](_0x5b77e7);if(_0x44aa04&&_0x8a14b0){const _0x23da3e={..._0x44aa04,'range':_0x8a14b0};this[_0x1fc335(0x1ec)]['set'](_0x5b77e7,_0x23da3e),_0xe0f41a(()=>{const _0x5671c1=_0x1fc335,_0x4301b7=this[_0x5671c1(0xcc)][_0x5671c1(0x1b8)](_0x8a14b0,_0x3b7b9d=>(_0x4301b7['dispose'](),_0x27bb83(_0x3b7b9d,_0x5b77e7,_0x5b1765,_0x8a14b0)));_0x6ed275[_0x5671c1(0x14b)](_0x4301b7);});}return{'redos':[],'undos':[]};};this[_0x456fa3(0x1ec)][_0x456fa3(0x113)]((_0x324901,_0x539e0a)=>{const _0x54f9fd=_0x456fa3,{range:_0x4e7f3d,sheetID:_0x19a488}=_0x324901,_0x263bd0=this['_refRangeService'][_0x54f9fd(0x1b8)](_0x4e7f3d,_0x2afe29=>(_0x263bd0[_0x54f9fd(0x311)](),_0x27bb83(_0x2afe29,_0x539e0a,_0x19a488,_0x4e7f3d)));_0x6ed275['add'](_0x263bd0);});};this[_0x5a4234(0x315)](_0x370994['toDisposable'](this[_0x5a4234(0x297)][_0x5a4234(0x1e8)](()=>{_0x230f7d();})));}[_0x1bfd40(0x30c)](){const _0x531fcd=_0x1bfd40;var _0x4d782f,_0x253f03;if(this[_0x531fcd(0x281)]=!0x0,((_0x4d782f=this['_univerInstanceService'][_0x531fcd(0x19c)]())==null?void 0x0:_0x4d782f['getUnitId']())!==this['unitID'])return;const _0x34bd6c=(_0x253f03=this['_injector'][_0x531fcd(0x10f)](_0x49b249[_0x531fcd(0x279)])['getCurrentSelections']())==null?void 0x0:_0x253f03[0x0],_0x324364=this[_0x531fcd(0x1c1)][_0x531fcd(0x275)](_0x370994[_0x531fcd(0x21a)]['UNIVER_SHEET'])[_0x531fcd(0x1f4)]();_0x34bd6c&&_0x324364&&this[_0x531fcd(0x30b)](_0x324364[_0x531fcd(0x16e)](),_0x34bd6c);}[_0x1bfd40(0x333)](){const _0x3489c8=_0x1bfd40;this[_0x3489c8(0x281)]=!0x1;}};_0x571436=_0x1f7afb([_0x3f0b3a(0x2,_0x370994[_0x1bfd40(0x306)](_0x370994[_0x1bfd40(0x1ef)])),_0x3f0b3a(0x3,_0x370994[_0x1bfd40(0x306)](_0x851ba2)),_0x3f0b3a(0x4,_0x370994[_0x1bfd40(0x306)](_0x51eeb3[_0x1bfd40(0x1c0)])),_0x3f0b3a(0x5,_0x370994['IUniverInstanceService']),_0x3f0b3a(0x6,_0x370994['ICommandService']),_0x3f0b3a(0x7,_0x370994['Inject'](_0x49b249[_0x1bfd40(0x27a)]))],_0x571436);var _0x2860e9=Object[_0x1bfd40(0x203)],_0x942174=(_0x3b1035,_0x230bab,_0x5bcf6f,_0x329605)=>{for(var _0x3c22d9=_0x329605>0x1?void 0x0:_0x329605?_0x2860e9(_0x230bab,_0x5bcf6f):_0x230bab,_0x2c9210=_0x3b1035['length']-0x1,_0x4bac58;_0x2c9210>=0x0;_0x2c9210--)(_0x4bac58=_0x3b1035[_0x2c9210])&&(_0x3c22d9=_0x4bac58(_0x3c22d9)||_0x3c22d9);return _0x3c22d9;},_0x124ffb=(_0x1b14fd,_0x1fc34f)=>(_0x419b11,_0x278d55)=>_0x1fc34f(_0x419b11,_0x278d55,_0x1b14fd);let _0x2dedaa=class extends _0x370994[_0x1bfd40(0x2c2)]{constructor(_0x59f828,_0x4e426f,_0x685b30){const _0x3852b4=_0x1bfd40;super(),_0x2ab701(this,_0x3852b4(0xb4),new Map()),_0x2ab701(this,_0x3852b4(0x290),new _0x4fbf49['Subject']()),(this[_0x3852b4(0x1c1)]=_0x59f828,this['_injector']=_0x4e426f,this['_collabSessionService']=_0x685b30,this[_0x3852b4(0x150)]());}['dispose'](){const _0x1427cf=_0x1bfd40;super[_0x1427cf(0x311)](),this[_0x1427cf(0x290)]['complete'](),this[_0x1427cf(0xb4)][_0x1427cf(0x113)](_0x1d1a81=>_0x1d1a81['dispose']());}[_0x1bfd40(0x298)](_0x464a1d){const _0x3d61f2=_0x1bfd40;return this[_0x3d61f2(0xb4)]['has'](_0x464a1d)?this[_0x3d61f2(0xb4)][_0x3d61f2(0x10f)](_0x464a1d)['cursorInfo$']:this[_0x3d61f2(0x290)][_0x3d61f2(0xe4)](_0x4fbf49['filter'](_0x3b10a9=>_0x3b10a9['unitID']===_0x464a1d),_0x4fbf49[_0x3d61f2(0x152)](_0x181cc7=>_0x181cc7[_0x3d61f2(0x2fa)]));}[_0x1bfd40(0x150)](){const _0xd869db=_0x1bfd40;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x370994['UniverInstanceType']['UNIVER_SHEET'])['pipe'](_0x4fbf49[_0xd869db(0x220)](this[_0xd869db(0x1aa)]))[_0xd869db(0x1e8)](async _0x1fbebd=>{const _0x5f04fe=_0xd869db,_0x10a082=_0x1fbebd[_0x5f04fe(0x153)](),_0x387593=await this[_0x5f04fe(0x127)](_0x10a082);this[_0x5f04fe(0x290)]['next'](_0x387593),this[_0x5f04fe(0xb4)][_0x5f04fe(0x2dd)](_0x10a082,_0x387593);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x370994['UniverInstanceType'][_0xd869db(0x340)])[_0xd869db(0xe4)](_0x4fbf49[_0xd869db(0x220)](this[_0xd869db(0x1aa)]))['pipe'](_0x4fbf49[_0xd869db(0x210)](_0xd6ed64=>!_0xd6ed64[_0xd869db(0x153)]()[_0xd869db(0x114)]('__')))[_0xd869db(0x1e8)](async _0x226170=>{const _0xbc76ca=_0xd869db,_0x17c2ff=_0x226170[_0xbc76ca(0x153)](),_0x152059=await this['_startDocCollabCursor'](_0x17c2ff);this[_0xbc76ca(0x290)][_0xbc76ca(0x34b)](_0x152059),this[_0xbc76ca(0xb4)]['set'](_0x17c2ff,_0x152059);}),_0x4fbf49[_0xd869db(0x2d9)](this[_0xd869db(0x1c1)][_0xd869db(0x184)](_0x370994[_0xd869db(0x21a)][_0xd869db(0x340)]),this[_0xd869db(0x1c1)][_0xd869db(0x184)](_0x370994[_0xd869db(0x21a)][_0xd869db(0x161)]))[_0xd869db(0xe4)](_0x4fbf49[_0xd869db(0x220)](this[_0xd869db(0x1aa)]))[_0xd869db(0x1e8)](_0x4557b9=>{const _0x2d5720=_0xd869db,_0x26b61e=_0x4557b9[_0x2d5720(0x153)](),_0xd5e6ad=this[_0x2d5720(0xb4)][_0x2d5720(0x10f)](_0x26b61e);_0xd5e6ad&&(_0xd5e6ad[_0x2d5720(0x311)](),this['_entities']['delete'](_0x26b61e));});}async[_0x1bfd40(0x127)](_0x62aefa){const _0x30ba80=_0x1bfd40,_0x4e9bea=await this[_0x30ba80(0x276)]['requireSession'](_0x62aefa),_0x4d0627=this[_0x30ba80(0x205)]['createInstance'](_0x571436,_0x62aefa,_0x4e9bea);return _0x4d0627[_0x30ba80(0xb9)](),_0x4d0627;}async['_startDocCollabCursor'](_0x277159){const _0x7c12f5=_0x1bfd40,_0x1d8750=await this[_0x7c12f5(0x276)]['requireSession'](_0x277159),_0x36fad8=this[_0x7c12f5(0x205)][_0x7c12f5(0x211)](_0x10179f,_0x277159,_0x1d8750);return _0x36fad8[_0x7c12f5(0xb9)](),_0x36fad8;}};_0x2dedaa=_0x942174([_0x124ffb(0x0,_0x370994[_0x1bfd40(0x195)]),_0x124ffb(0x1,_0x370994[_0x1bfd40(0x306)](_0x370994[_0x1bfd40(0x1ef)])),_0x124ffb(0x2,_0x370994['Inject'](_0x51eeb3[_0x1bfd40(0xf5)]))],_0x2dedaa);const _0x188c82=0x14,_0x589d0c=0xc8,_0x4917c0=0x4,_0x473e95=0x5;function _0x3cfaac(_0xcda910,_0x3fb720){const _0xcb28c0=_0x1bfd40;let {radius:_0x400144,width:_0x30fef6,height:_0x1c21ee}=_0x3fb720;_0x400144=_0x400144!=null?_0x400144:0x0,_0x30fef6=_0x30fef6!=null?_0x30fef6:0x1e,_0x1c21ee=_0x1c21ee!=null?_0x1c21ee:0x1e;let _0x49f595=0x0,_0x1b4093=0x0,_0xe55167=0x0;_0x49f595=_0x1b4093=_0xe55167=Math[_0xcb28c0(0x31e)](_0x400144,_0x30fef6/0x2,_0x1c21ee/0x2),_0xcda910[_0xcb28c0(0x2e2)](),_0xcda910[_0xcb28c0(0x2a7)](_0x49f595,0x0),_0xcda910[_0xcb28c0(0x23f)](_0x30fef6-_0x1b4093,0x0),_0xcda910[_0xcb28c0(0x201)](_0x30fef6-_0x1b4093,_0x1b4093,_0x1b4093,Math['PI']*0x3/0x2,0x0,!0x1),_0xcda910[_0xcb28c0(0x23f)](_0x30fef6,_0x1c21ee-_0xe55167),_0xcda910[_0xcb28c0(0x201)](_0x30fef6-_0xe55167,_0x1c21ee-_0xe55167,_0xe55167,0x0,Math['PI']/0x2,!0x1),_0xcda910[_0xcb28c0(0x23f)](0x0,_0x1c21ee),_0xcda910[_0xcb28c0(0x23f)](0x0,_0x49f595),_0xcda910[_0xcb28c0(0x201)](_0x49f595,_0x49f595,_0x49f595,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xcda910[_0xcb28c0(0x2dc)](),_0x3fb720[_0xcb28c0(0x1d0)]&&(_0xcda910[_0xcb28c0(0x13c)](),_0xcda910[_0xcb28c0(0x304)]=_0x3fb720[_0xcb28c0(0x1d0)],_0x3fb720['fillRule']===_0xcb28c0(0x348)?_0xcda910[_0xcb28c0(0x1d0)](_0xcb28c0(0x348)):_0xcda910[_0xcb28c0(0x1d0)](),_0xcda910[_0xcb28c0(0xc0)]());}class _0x406d82 extends _0x44054e[_0x1bfd40(0x2ed)]{constructor(_0x3a07b7,_0x2ad653){const _0x21ba25=_0x1bfd40;super(_0x3a07b7,_0x2ad653),_0x2ab701(this,_0x21ba25(0x123)),_0x2ab701(this,_0x21ba25(0x259)),(this[_0x21ba25(0x123)]=_0x2ad653==null?void 0x0:_0x2ad653[_0x21ba25(0x123)],this[_0x21ba25(0x259)]=_0x2ad653==null?void 0x0:_0x2ad653[_0x21ba25(0x259)]);}static['drawWith'](_0x775381,_0x30e461){const _0x2a8222=_0x1bfd40,{text:_0xa517b2,color:_0x402822}=_0x30e461;_0x775381[_0x2a8222(0x13c)](),_0x775381[_0x2a8222(0x1f3)]=_0x2a8222(0x1e7);const _0x3bed29=_0x775381[_0x2a8222(0x167)](_0xa517b2)['width'],_0x483804=Math['min'](_0x3bed29+0x2*_0x4917c0,_0x589d0c);_0x3cfaac(_0x775381,{'height':_0x188c82,'radius':0x4,'width':_0x483804,'fill':_0x402822}),_0x775381[_0x2a8222(0x304)]=_0x2a8222(0x18d);const _0x3e7655=_0x4917c0,_0x2f6850=_0x188c82-_0x473e95,_0x49301b=_0x589d0c-0x2*_0x4917c0;if(_0x3bed29>_0x49301b){let _0x20feef='',_0x2db1be=0x0;for(const _0x18a630 of _0xa517b2){const _0x2652ac=_0x775381['measureText'](_0x18a630)[_0x2a8222(0x221)];if(_0x2db1be+_0x2652ac<=_0x49301b-_0x775381[_0x2a8222(0x167)]('...')[_0x2a8222(0x221)])_0x20feef+=_0x18a630,_0x2db1be+=_0x2652ac;else{_0x20feef+=_0x2a8222(0x34d);break;}}_0x775381['fillText'](_0x20feef,_0x3e7655,_0x2f6850);}else _0x775381[_0x2a8222(0x1f7)](_0xa517b2,_0x3e7655,_0x2f6850);_0x775381[_0x2a8222(0xc0)]();}[_0x1bfd40(0x1fe)](_0x2d6f07){const _0x16440b=_0x1bfd40;_0x406d82[_0x16440b(0x285)](_0x2d6f07,this);}}const _0x4abd04=_0x1bfd40(0x12e),_0x3adf6a=_0x1bfd40(0x157),_0x1d980a=_0x1bfd40(0x33c),_0x5b3e38=0x6,_0x53b0df=1.5,_0x491ae9=0x4,_0xec2359=1.5,_0x2aefe8=_0x1bfd40(0x19a);class _0x316dcf{constructor(_0x551ad9,_0x5e833f,_0x3c422b,_0x17926d){const _0x10ca6e=_0x1bfd40;_0x2ab701(this,_0x10ca6e(0x172),[]),_0x2ab701(this,_0x10ca6e(0x15f),null),_0x2ab701(this,_0x10ca6e(0x188),null),_0x2ab701(this,'_anchorDot',null),_0x2ab701(this,_0x10ca6e(0x116),null),_0x2ab701(this,_0x10ca6e(0x2fc),null),(this[_0x10ca6e(0x32d)]=_0x551ad9,this[_0x10ca6e(0x12d)]=_0x5e833f,this[_0x10ca6e(0x2e3)]=_0x3c422b,this[_0x10ca6e(0x177)]=_0x17926d,this[_0x10ca6e(0x261)]());}set['_hover'](_0xe466a8){const _0x529d96=_0x1bfd40;_0xe466a8?(this[_0x529d96(0x17a)]&&this[_0x529d96(0x17a)][_0x529d96(0x1f2)](),this['_textBubble']&&this[_0x529d96(0x188)][_0x529d96(0x28f)]()):(this[_0x529d96(0x17a)]&&this[_0x529d96(0x17a)][_0x529d96(0x28f)](),this[_0x529d96(0x188)]&&this[_0x529d96(0x188)][_0x529d96(0x1f2)]());}[_0x1bfd40(0x311)](){const _0x41eaf9=_0x1bfd40;for(const _0x53a5f0 of this[_0x41eaf9(0x172)])_0x53a5f0['dispose']();this[_0x41eaf9(0x188)]&&this[_0x41eaf9(0x188)][_0x41eaf9(0x311)](),this[_0x41eaf9(0x17a)]&&this[_0x41eaf9(0x17a)][_0x41eaf9(0x311)](),this[_0x41eaf9(0x15f)]&&this[_0x41eaf9(0x15f)][_0x41eaf9(0x311)](),this[_0x41eaf9(0x2fc)]&&this[_0x41eaf9(0x2fc)]();}[_0x1bfd40(0x261)](){const _0x29791e=_0x1bfd40;var _0x10b553;const {_docSkeleton:_0x2cf85b,_document:_0x28f93}=this,{color:_0x466ae6,name:_0xbbae87,ranges:_0x507f19}=this[_0x29791e(0x32d)],_0x30a05e=_0x28f93[_0x29791e(0x2f2)](),{docsLeft:_0xf33c69,docsTop:_0x5e4cf5}=_0x30a05e,_0x1d5c20=new _0x2a6d62[(_0x29791e(0x1ad))](_0x30a05e,_0x2cf85b);for(const {startOffset:_0x4cd88e,endOffset:_0x302aa9,rangeType:_0x56d641,segmentId:_0x10add8,segmentPage:_0x5406e1,collapsed:_0x7ec701,isActive:_0x43e3f7}of _0x507f19){const _0x1bb1b9=_0x2cf85b[_0x29791e(0xe1)](_0x4cd88e,!0x0,_0x10add8,_0x5406e1);let _0x399f1e=_0x2cf85b['findNodePositionByCharIndex'](_0x302aa9,!0x0,_0x10add8,_0x5406e1);if(_0x399f1e==null&&(_0x399f1e=_0x2cf85b[_0x29791e(0xe1)](_0x302aa9-0x1,!0x1,_0x10add8,_0x5406e1)),_0x43e3f7){const {contentBoxPointGroup:_0x325a07}=_0x1d5c20['getRangePointData'](_0x399f1e,_0x399f1e);if(_0x325a07[_0x29791e(0x253)]===0x0)continue;this[_0x29791e(0x213)](_0x466ae6,_0x325a07,_0xf33c69,_0x5e4cf5,_0xbbae87),this[_0x29791e(0x2fc)]=this['_handleHover']();}if(_0x1bb1b9&&_0x399f1e){if(_0x56d641===_0x370994[_0x29791e(0x1cf)]['RECT']){const _0x4f0f00=new _0x2a6d62[(_0x29791e(0x209))](_0x30a05e,_0x2cf85b),{pointGroup:_0x20ed2a}=(_0x10b553=_0x4f0f00['getRangePointData'](_0x1bb1b9,_0x399f1e))!=null?_0x10b553:{};if(_0x20ed2a==null||_0x20ed2a[_0x29791e(0x253)]===0x0)continue;this['_drawRectRange'](_0x466ae6,_0x20ed2a,_0xf33c69,_0x5e4cf5);}else{if(!_0x7ec701){const {borderBoxPointGroup:_0x1176d1}=_0x1d5c20[_0x29791e(0x257)](_0x1bb1b9,_0x399f1e);if(_0x1176d1[_0x29791e(0x253)]===0x0)continue;this[_0x29791e(0x1c3)](_0x466ae6,_0x1176d1,_0xf33c69,_0x5e4cf5);}}}}}[_0x1bfd40(0x213)](_0x33b58f,_0x31439e,_0x563a41,_0x5c9b44,_0x351375){const _0x4622fe=_0x1bfd40,_0x34108a=this['_getAnchorBounding'](_0x31439e),{left:_0x17e3e1,top:_0x1884ca,height:_0x525219}=_0x34108a,_0x2e6210=this[_0x4622fe(0x2a9)](),_0x4b1ced=_0xec2359/_0x2e6210,_0x20e6ab=new _0x44054e[(_0x4622fe(0x232))](_0x4abd04+_0x370994['generateRandomId'](_0x5b3e38),{'left':_0x17e3e1+_0x563a41-_0x4b1ced,'top':_0x1884ca+_0x5c9b44,'height':_0x525219,'width':_0x53b0df,'fill':_0x33b58f||_0x44054e[_0x4622fe(0x187)](_0x370994['COLORS'][_0x4622fe(0x10d)],0x0),'strokeWidth':_0x4b1ced,'stroke':_0x2aefe8,'evented':!0x0});this['_anchor']=_0x20e6ab,this['_scene'][_0x4622fe(0x154)](_0x20e6ab,_0x2a6d62[_0x4622fe(0x107)]);const _0x48c8d6=new _0x44054e[(_0x4622fe(0x232))](_0x4abd04+_0x370994[_0x4622fe(0x11b)](_0x5b3e38),{'left':_0x17e3e1+_0x563a41-_0x4b1ced,'top':_0x1884ca+_0x5c9b44-_0x491ae9/0x2,'height':_0x491ae9,'width':_0x491ae9,'fill':_0x33b58f||_0x44054e[_0x4622fe(0x187)](_0x370994['COLORS'][_0x4622fe(0x10d)],0x0),'strokeWidth':0x0,'stroke':_0x33b58f||_0x44054e[_0x4622fe(0x187)](_0x370994[_0x4622fe(0x103)]['black'],0x0),'evented':!0x1});this[_0x4622fe(0x17a)]=_0x48c8d6,this['_scene']['addObject'](_0x48c8d6,_0x2a6d62[_0x4622fe(0x107)]);const _0x5b1a8a=new _0x406d82(_0x4abd04+_0x370994[_0x4622fe(0x11b)](_0x5b3e38),{'left':_0x17e3e1+_0x563a41-_0x4b1ced,'top':_0x1884ca+_0x5c9b44-_0x188c82,'text':_0x351375,'color':_0x33b58f});this['_textBubble']=_0x5b1a8a,this[_0x4622fe(0x12d)][_0x4622fe(0x154)](_0x5b1a8a,_0x2a6d62[_0x4622fe(0x107)]),this[_0x4622fe(0x1c2)]=!0x1;}[_0x1bfd40(0xc6)](){const _0x3f8a11=_0x1bfd40,_0x29debc=this['_anchor'][_0x3f8a11(0xfa)][_0x3f8a11(0x25f)](()=>{const _0x1a7cd4=_0x3f8a11;this[_0x1a7cd4(0x1c2)]=!0x0;}),_0x3391ca=this['_anchor'][_0x3f8a11(0x18b)][_0x3f8a11(0x25f)](()=>{const _0x4f8134=_0x3f8a11;this[_0x4f8134(0x116)]&&clearTimeout(this[_0x4f8134(0x116)]),this[_0x4f8134(0x116)]=setTimeout(()=>{const _0xad1e0b=_0x4f8134;this[_0xad1e0b(0x1c2)]=!0x1;},0x7d0);});return()=>{const _0x548762=_0x3f8a11;_0x29debc[_0x548762(0x24c)](),_0x3391ca['unsubscribe']();};}['_drawTextRange'](_0x552301,_0x277cb0,_0x1c989e,_0xa8075d){const _0x2edc5e=_0x1bfd40,_0x4eb722=new _0x370994[(_0x2edc5e(0x186))](_0x552301)[_0x2edc5e(0x241)](0.2)[_0x2edc5e(0xc3)](),_0x17cbee=new _0x44054e[(_0x2edc5e(0x22b))](_0x3adf6a+_0x370994['generateRandomId'](_0x5b3e38),{'pointsGroup':_0x277cb0,'fill':_0x4eb722||_0x44054e[_0x2edc5e(0x187)](_0x370994[_0x2edc5e(0x103)][_0x2edc5e(0x10d)],0.2),'left':_0x1c989e,'top':_0xa8075d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2edc5e(0x172)][_0x2edc5e(0x2bb)](_0x17cbee),this[_0x2edc5e(0x12d)][_0x2edc5e(0x154)](_0x17cbee,_0x2a6d62[_0x2edc5e(0x107)]);}[_0x1bfd40(0x308)](_0x34538e,_0x4af157,_0x424e23,_0x441c7c){const _0x294312=_0x1bfd40,_0x1fcf9f=new _0x370994[(_0x294312(0x186))](_0x34538e)[_0x294312(0x241)](0.2)['toRgbString'](),_0x3742e5=new _0x44054e[(_0x294312(0x22b))](_0x1d980a+_0x370994[_0x294312(0x11b)](_0x5b3e38),{'pointsGroup':_0x4af157,'fill':_0x1fcf9f||_0x44054e[_0x294312(0x187)](_0x370994[_0x294312(0x103)][_0x294312(0x10d)],0.2),'left':_0x424e23,'top':_0x441c7c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x294312(0x172)][_0x294312(0x2bb)](_0x3742e5),this[_0x294312(0x12d)]['addObject'](_0x3742e5,_0x2a6d62[_0x294312(0x107)]);}[_0x1bfd40(0x110)](_0x7fe456){const _0x1886a8=_0x7fe456[0x0],_0x461bf8=_0x1886a8[0x0],_0x45ef9f=_0x1886a8[0x2],{x:_0x2d40de,y:_0x53cb5e}=_0x461bf8,{x:_0x30e520,y:_0x2c3ed8}=_0x45ef9f;return{'left':_0x2d40de,'top':_0x53cb5e,'width':_0x30e520-_0x2d40de,'height':_0x2c3ed8-_0x53cb5e};}[_0x1bfd40(0x2a9)](){const _0x22b69e=_0x1bfd40,{scaleX:_0x1924df,scaleY:_0x5edfaf}=this[_0x22b69e(0x12d)][_0x22b69e(0x1af)]();return Math[_0x22b69e(0xd9)](_0x1924df,_0x5edfaf);}}var _0x56682a=Object[_0x1bfd40(0x203)],_0x5013f5=(_0x154b88,_0x409bce,_0x34338a,_0x5e03ef)=>{const _0x53cdab=_0x1bfd40;for(var _0x31a124=_0x5e03ef>0x1?void 0x0:_0x5e03ef?_0x56682a(_0x409bce,_0x34338a):_0x409bce,_0x35cc17=_0x154b88[_0x53cdab(0x253)]-0x1,_0x59e1a5;_0x35cc17>=0x0;_0x35cc17--)(_0x59e1a5=_0x154b88[_0x35cc17])&&(_0x31a124=_0x59e1a5(_0x31a124)||_0x31a124);return _0x31a124;},_0x2d5863=(_0x1f0cf6,_0x53f635)=>(_0xe295f5,_0x341ea1)=>_0x53f635(_0xe295f5,_0x341ea1,_0x1f0cf6);let _0x1aa7a2=class extends _0x370994[_0x1bfd40(0x2c2)]{constructor(_0x28a602,_0x1e8ea6,_0x549c3c,_0x1299c5,_0x2faeb7){const _0x30925a=_0x1bfd40;super(),_0x2ab701(this,_0x30925a(0x155),[]),_0x2ab701(this,_0x30925a(0x240),[]),(this[_0x30925a(0x2c0)]=_0x28a602,this['_docSkeletonManagerService']=_0x1e8ea6,this['_collabCursorController']=_0x549c3c,this[_0x30925a(0x2b8)]=_0x1299c5,this[_0x30925a(0xc4)]=_0x2faeb7,this[_0x30925a(0x150)]());}['_init'](){const _0x48a6a6=_0x1bfd40,_0x1a4229=this['_context'][_0x48a6a6(0x2b3)],_0x5cc5b5=this[_0x48a6a6(0xf2)];this[_0x48a6a6(0x315)](_0x4fbf49[_0x48a6a6(0x25c)]([this[_0x48a6a6(0x1e9)][_0x48a6a6(0x298)](_0x1a4229),this[_0x48a6a6(0xc4)][_0x48a6a6(0xfb)]])[_0x48a6a6(0xe4)](_0x49c550['map'](([_0x48c9ba,_0x3a137e])=>({'skeleton':_0x5cc5b5['getSkeleton'](),'cursors':[..._0x48c9ba[_0x48a6a6(0x1c5)]()][_0x48a6a6(0x169)](_0x598935=>({..._0x598935,'color':this['_themeService'][_0x48a6a6(0xee)](_0x598935[_0x48a6a6(0x123)])}))})))[_0x48a6a6(0x1e8)](_0x4d5fbe=>{const _0x46b45b=_0x48a6a6;if(this['_removeCollabCursors'](),_0x4d5fbe){const {skeleton:_0x56e21a,cursors:_0x46a9eb}=_0x4d5fbe;this[_0x46b45b(0x1b9)](_0x56e21a,_0x46a9eb);}})),this[_0x48a6a6(0x219)](),this[_0x48a6a6(0x2f7)]();}[_0x1bfd40(0x1b9)](_0x47dddd,_0x4f8ec8){const _0x44c726=_0x1bfd40,{scene:_0x58aa4f,mainComponent:_0xe46891}=this['_context'],_0xf982ad=_0x4f8ec8[_0x44c726(0x15e)](_0x566b1b=>new _0x316dcf(_0x566b1b,_0x58aa4f,_0x47dddd,_0xe46891));this['_cursorShapes']=_0xf982ad,this[_0x44c726(0x240)]=_0x4f8ec8;}['_refreshCollabCursors'](){const _0x24db85=_0x1bfd40;this['_removeCollabCursors']();const {scene:_0xac5412,mainComponent:_0x1ca18f}=this[_0x24db85(0x2c0)],_0x5eb09c=this[_0x24db85(0xf2)][_0x24db85(0x272)](),_0x3f7add=this[_0x24db85(0x240)][_0x24db85(0x15e)](_0x523ef9=>new _0x316dcf(_0x523ef9,_0xac5412,_0x5eb09c,_0x1ca18f));this[_0x24db85(0x155)]=_0x3f7add;}[_0x1bfd40(0x270)](){const _0x386259=_0x1bfd40;this[_0x386259(0x155)][_0x386259(0x113)](_0x57ff2b=>_0x57ff2b[_0x386259(0x311)]()),this[_0x386259(0x155)]=[];}[_0x1bfd40(0x2f7)](){const _0x2960a8=_0x1bfd40,_0x2402f2=[_0x2a6d62['SetDocZoomRatioOperation']['id']];this[_0x2960a8(0x315)](this['_commandService'][_0x2960a8(0xe0)](_0x5e2b5d=>{const _0x465ae6=_0x2960a8;_0x2402f2[_0x465ae6(0x278)](_0x5e2b5d['id'])&&_0x5e2b5d[_0x465ae6(0x1d9)][_0x465ae6(0x2b3)]===this[_0x465ae6(0x2c0)]['unitId']&&this[_0x465ae6(0x239)]();}));}['_initResize'](){const _0x1487c0=_0x1bfd40;this[_0x1487c0(0x315)](_0x370994[_0x1487c0(0xe6)](this[_0x1487c0(0x2c0)][_0x1487c0(0x2a3)][_0x1487c0(0x138)])['pipe'](_0x49c550['filter'](_0x5cccd0=>_0x5cccd0['type']===_0x44054e[_0x1487c0(0x160)][_0x1487c0(0x294)]),_0x49c550[_0x1487c0(0x180)](0x10))[_0x1487c0(0x1e8)](()=>{const _0x28b696=_0x1487c0;this[_0x28b696(0x239)]();}));}};_0x1aa7a2=_0x5013f5([_0x2d5863(0x1,_0x370994[_0x1bfd40(0x306)](_0x1667b5[_0x1bfd40(0x19b)])),_0x2d5863(0x2,_0x370994[_0x1bfd40(0x306)](_0x2dedaa)),_0x2d5863(0x3,_0x370994[_0x1bfd40(0x33b)]),_0x2d5863(0x4,_0x370994[_0x1bfd40(0x306)](_0x370994['ThemeService']))],_0x1aa7a2);const _0x2fb2b5=0x1,_0x290795=1.5;class _0x3b4969 extends _0x44054e[_0x1bfd40(0x2ed)]{constructor(_0x27f6cb,_0x371ab0){const _0x108feb=_0x1bfd40;super(_0x27f6cb,_0x371ab0),_0x2ab701(this,_0x108feb(0x156)),_0x2ab701(this,'_hovered',!0x1),_0x2ab701(this,_0x108feb(0x312)),_0x2ab701(this,_0x108feb(0x170),''),_0x2ab701(this,'_labelPosition',_0x108feb(0x162)),_0x2ab701(this,_0x108feb(0x2c9)),(_0x371ab0&&this[_0x108feb(0x121)](_0x371ab0),this['onPointerEnter$'][_0x108feb(0x25f)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x108feb(0x121)]({'hovered':!0x1})));}[_0x1bfd40(0x121)](_0x1ac279){const _0x2c7592=_0x1bfd40;var _0x52a9ec,_0x24033c,_0x1ee298,_0x56b822,_0xe7fc79,_0x4f3d87;this[_0x2c7592(0x156)]=(_0x52a9ec=_0x1ac279[_0x2c7592(0x123)])!=null?_0x52a9ec:this[_0x2c7592(0x156)],this[_0x2c7592(0xc2)]=(_0x24033c=_0x1ac279[_0x2c7592(0x215)])!=null?_0x24033c:this[_0x2c7592(0xc2)],this['_range']=(_0x1ee298=_0x1ac279[_0x2c7592(0x264)])!=null?_0x1ee298:this[_0x2c7592(0x312)],this[_0x2c7592(0x170)]=(_0x56b822=_0x1ac279[_0x2c7592(0x32a)])!=null?_0x56b822:this['_name'],this['_labelPosition']=(_0xe7fc79=_0x1ac279[_0x2c7592(0x21e)])!=null?_0xe7fc79:this['_labelPosition'],this[_0x2c7592(0x2c9)]=(_0x4f3d87=_0x1ac279[_0x2c7592(0xdf)])!=null?_0x4f3d87:this[_0x2c7592(0x2c9)],this[_0x2c7592(0x29d)]({'width':_0x1ac279[_0x2c7592(0x221)],'height':_0x1ac279[_0x2c7592(0xfe)]});}[_0x1bfd40(0x29c)](_0x5c4682){const _0x3ce83c=_0x1bfd40,{row:_0x285277,column:_0x392803}=_0x5c4682;if(_0x285277>=this[_0x3ce83c(0x312)][_0x3ce83c(0x137)]&&_0x285277<=this['_range']['endRow']&&_0x392803>=this[_0x3ce83c(0x312)][_0x3ce83c(0x1ee)]&&_0x392803<=this[_0x3ce83c(0x312)][_0x3ce83c(0x208)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3ce83c(0x121)]({'hovered':!0x1});}[_0x1bfd40(0x182)](_0x521974){return!0x1;}[_0x1bfd40(0x1fe)](_0xd850db){const _0x4d1904=_0x1bfd40;_0x44054e[_0x4d1904(0x232)][_0x4d1904(0x285)](_0xd850db,{'width':this[_0x4d1904(0x221)],'height':this[_0x4d1904(0xfe)],'strokeWidth':_0x290795,'stroke':this[_0x4d1904(0x156)],'evented':!0x1,'fill':this[_0x4d1904(0x2c9)]}),this[_0x4d1904(0xc2)]&&(_0xd850db['save'](),_0xd850db[_0x4d1904(0x2fd)](0x1,0x0,0x0,0x1,this[_0x4d1904(0x221)],this[_0x4d1904(0x148)]===_0x4d1904(0x13b)?0x0:-_0x188c82),_0x406d82['drawWith'](_0xd850db,{'text':this[_0x4d1904(0x170)],'color':this[_0x4d1904(0x156)]}),_0xd850db['restore']());}}var _0x3d2740=Object['getOwnPropertyDescriptor'],_0x327c41=(_0x1182ed,_0x1ec917,_0x257414,_0x22b398)=>{const _0x1b0de3=_0x1bfd40;for(var _0x1c6751=_0x22b398>0x1?void 0x0:_0x22b398?_0x3d2740(_0x1ec917,_0x257414):_0x1ec917,_0x46bdf1=_0x1182ed[_0x1b0de3(0x253)]-0x1,_0x1366bb;_0x46bdf1>=0x0;_0x46bdf1--)(_0x1366bb=_0x1182ed[_0x46bdf1])&&(_0x1c6751=_0x1366bb(_0x1c6751)||_0x1c6751);return _0x1c6751;},_0x5c6580=(_0x54a9b6,_0x407f3e)=>(_0x56084d,_0x1a3be3)=>_0x407f3e(_0x56084d,_0x1a3be3,_0x54a9b6);const _0x4edd3a=0x1389;let _0x596bca=class extends _0x370994['RxDisposable']{constructor(_0x9ce12f,_0x28cb43,_0x3b0fec,_0x36cc74){const _0x20de3e=_0x1bfd40;super(),_0x2ab701(this,_0x20de3e(0x240),new Set()),_0x2ab701(this,'_lastPointer',null),(this[_0x20de3e(0x2c0)]=_0x9ce12f,this[_0x20de3e(0xf3)]=_0x28cb43,this[_0x20de3e(0x1e9)]=_0x3b0fec,this[_0x20de3e(0xc4)]=_0x36cc74,this[_0x20de3e(0x150)]());}[_0x1bfd40(0x150)](){const _0x188c35=_0x1bfd40;this[_0x188c35(0xf3)]['currentSkeleton$'][_0x188c35(0xe4)](_0x49c550[_0x188c35(0x220)](this[_0x188c35(0x1aa)]),_0x49c550[_0x188c35(0x152)](_0xa6c6ac=>{const _0x178bf9=_0x188c35;if(_0xa6c6ac){const _0x4904a1=_0xa6c6ac['sheetId'];return _0x4fbf49[_0x178bf9(0x25c)](this[_0x178bf9(0x1e9)]['getCollabCursors$'](this['_context']['unitId']),this[_0x178bf9(0xc4)][_0x178bf9(0xfb)])[_0x178bf9(0xe4)](_0x49c550['map'](([_0x9150e2,_0x42c264])=>{const _0x56d181=_0x178bf9,_0x2cfe8b=new Map();return _0x9150e2[_0x56d181(0x113)]((_0x3713bb,_0x5685d5)=>{const _0x1eed0b=_0x56d181;if(_0x3713bb[_0x1eed0b(0xc7)]===_0x4904a1){const _0x1cc26d={..._0x3713bb};_0x1cc26d['color']=this[_0x1eed0b(0xc4)][_0x1eed0b(0xee)](_0x3713bb[_0x1eed0b(0x123)]),_0x2cfe8b[_0x1eed0b(0x2dd)](_0x5685d5,_0x1cc26d);}}),{'skeleton':_0xa6c6ac,'cursors':_0x2cfe8b};}));}return _0x4fbf49['of']({'skeleton':null,'cursors':new Map()});}))[_0x188c35(0x1e8)](({skeleton:_0x29cfbb,cursors:_0x31bf87})=>{const _0x5d1438=_0x188c35;this[_0x5d1438(0x270)](),_0x29cfbb&&this['_updateCollabCursors'](_0x29cfbb,_0x31bf87);}),this[_0x188c35(0xf3)][_0x188c35(0x321)]['subscribe'](_0x26cccc=>{const _0x59cc2c=_0x188c35;if(_0x26cccc==null)return;const {skeleton:_0x198b55}=_0x26cccc,{scene:_0x12c9c0}=this['_context'];_0x12c9c0['onPointerMove$'][_0x59cc2c(0x25f)](_0x370994[_0x59cc2c(0x2db)](_0x5f0e2c=>{const _0x479e58=_0x59cc2c;var _0x4b7dce,_0x251153;const {offsetX:_0xc15e11,offsetY:_0xf8b70d}=_0x5f0e2c,{x:_0x1b0dce,y:_0x23021e}=_0x12c9c0[_0x479e58(0x250)](_0x44054e[_0x479e58(0xb3)][_0x479e58(0xd6)]([_0xc15e11,_0xf8b70d])),{scaleX:_0x28d06a,scaleY:_0x1ad364}=_0x12c9c0[_0x479e58(0x1af)](),_0x8530e5=_0x12c9c0['getViewport'](_0x44054e['SHEET_VIEWPORT_KEY'][_0x479e58(0x217)]),_0x539edc=_0x12c9c0[_0x479e58(0xd2)](_0x44054e[_0x479e58(0xb3)][_0x479e58(0xd6)]([_0x1b0dce,_0x23021e]),_0x8530e5),_0x467fa9=_0x198b55[_0x479e58(0xff)](_0xc15e11,_0xf8b70d,_0x28d06a,_0x1ad364,_0x539edc);((_0x4b7dce=this[_0x479e58(0x1a7)])==null?void 0x0:_0x4b7dce[_0x479e58(0x26a)])===_0x467fa9[_0x479e58(0x26a)]&&((_0x251153=this['_lastPointer'])==null?void 0x0:_0x251153[_0x479e58(0x222)])===_0x467fa9[_0x479e58(0x222)]||this['_cursors'][_0x479e58(0x113)](_0x1c47d1=>{const _0x2f381c=_0x479e58;_0x1c47d1[_0x2f381c(0x29c)](_0x467fa9);});},0x64));});}[_0x1bfd40(0x1b9)](_0x3789db,_0x2ab830){const _0x4fb665=_0x1bfd40;var _0x17d7b2;const _0xa08b9d=(_0x17d7b2=this[_0x4fb665(0xf3)][_0x4fb665(0x1db)]())==null?void 0x0:_0x17d7b2[_0x4fb665(0x142)];if(!_0xa08b9d)return;const _0x11c338=this[_0x4fb665(0x325)]();if(!_0x11c338)return;this[_0x4fb665(0x240)][_0x4fb665(0x113)](_0x38dfc0=>{const _0x107258=_0x4fb665;_0x38dfc0[_0x107258(0x331)]();});const {scene:_0x589b1f}=_0x11c338,_0x502ef1=_0x232914(Array[_0x4fb665(0x17d)](_0x2ab830['values']()))[_0x4fb665(0x15e)](_0x3d04cf=>{const _0x2b1b4d=_0x4fb665,{color:_0x26f9ed,range:_0x1de5a0,name:_0x5b6d86,selection:_0x1f1ab2,sheetID:_0x217756}=_0x3d04cf,{startColumn:_0x39c237,startRow:_0xacb45,endColumn:_0x4e49a6,endRow:_0x4106dd}=_0x1de5a0,_0x716611=_0x278bfb[_0x2b1b4d(0x265)](_0xacb45,_0x39c237,_0x589b1f,_0xa08b9d),_0x36b82d=_0x278bfb[_0x2b1b4d(0x265)](_0x4106dd,_0x4e49a6,_0x589b1f,_0xa08b9d),{columnHeaderHeightAndMarginTop:_0x484fb4}=_0xa08b9d,{startX:_0x80a43b,startY:_0x2acadd}=_0x716611,{endX:_0x2f7bdd,endY:_0x216fac}=_0x36b82d,_0x2e3be8=_0x2f7bdd-_0x80a43b,_0x194c39=_0x216fac-_0x2acadd,_0x512897={'labelPosition':_0x2acadd-_0x484fb4>=_0x188c82?_0x2b1b4d(0x162):'bottom','sheetID':_0x217756,'range':_0x1de5a0,'color':_0x26f9ed,'name':_0x5b6d86,'selection':_0x1f1ab2,'left':_0x80a43b,'top':_0x2acadd,'width':_0x2e3be8,'height':_0x194c39,'evented':!0x1,'zIndex':_0x4edd3a};return new _0x3b4969(_0x5b6d86,_0x512897);});_0x589b1f[_0x4fb665(0x33e)](_0x502ef1,_0x2fb2b5),this[_0x4fb665(0x240)]=new Set(_0x502ef1);}[_0x1bfd40(0x270)](){const _0x4392ae=_0x1bfd40;var _0x5c3f12;(_0x5c3f12=this['_cursors'])==null||_0x5c3f12[_0x4392ae(0x113)](_0x2dce2c=>_0x2dce2c[_0x4392ae(0x311)]());}[_0x1bfd40(0x325)](){const _0x4d7134=_0x1bfd40;return _0x278bfb[_0x4d7134(0x2ea)](this[_0x4d7134(0x2c0)][_0x4d7134(0xd8)],this['_context']);}};_0x596bca=_0x327c41([_0x5c6580(0x1,_0x370994['Inject'](_0x278bfb['SheetSkeletonManagerService'])),_0x5c6580(0x2,_0x370994[_0x1bfd40(0x306)](_0x2dedaa)),_0x5c6580(0x3,_0x370994['Inject'](_0x370994['ThemeService']))],_0x596bca);function _0x232914(_0x271f1e){const _0x27186f=_0x1bfd40,_0xe91c3c=new Map();return _0x271f1e['forEach'](_0x481ad1=>{const _0x3be8ab=_0x4c3e;if(_0xe91c3c['has'](_0x481ad1['selection'])){const _0x1222a8=_0xe91c3c[_0x3be8ab(0x10f)](_0x481ad1[_0x3be8ab(0x226)]);_0x1222a8[_0x3be8ab(0x32a)]+=',\x20'+_0x481ad1[_0x3be8ab(0x32a)];}else _0xe91c3c[_0x3be8ab(0x2dd)](_0x481ad1['selection'],_0x481ad1);}),Array[_0x27186f(0x17d)](_0xe91c3c[_0x27186f(0x1c5)]());}var _0x46f896=Object[_0x1bfd40(0x203)],_0x1836b2=(_0x5214e1,_0x580e65,_0x5c1ac3,_0x404c7a)=>{const _0x432bdb=_0x1bfd40;for(var _0x103adc=_0x404c7a>0x1?void 0x0:_0x404c7a?_0x46f896(_0x580e65,_0x5c1ac3):_0x580e65,_0x47bf37=_0x5214e1[_0x432bdb(0x253)]-0x1,_0x21dd6c;_0x47bf37>=0x0;_0x47bf37--)(_0x21dd6c=_0x5214e1[_0x47bf37])&&(_0x103adc=_0x21dd6c(_0x103adc)||_0x103adc);return _0x103adc;},_0x79d85b=(_0x1f11de,_0x17bf36)=>(_0x245deb,_0x2ef819)=>_0x17bf36(_0x245deb,_0x2ef819,_0x1f11de);let _0x4107be=class extends _0x370994[_0x1bfd40(0x227)]{constructor(_0x236e8a,_0x276e9c,_0x14a35a,_0x44ecf6,_0x3acd0e,_0x3e1f5f){const _0x259410=_0x1bfd40;super(),this[_0x259410(0x1f0)]=_0x236e8a,this[_0x259410(0x1fa)]=_0x276e9c,this[_0x259410(0x282)]=_0x14a35a,this['_messageService']=_0x44ecf6,this[_0x259410(0x1a9)]=_0x3acd0e,this[_0x259410(0x179)]=_0x3e1f5f,this[_0x259410(0x1a0)](),this['_initEvent']();}[_0x1bfd40(0x1a0)](){const _0x53a009=_0x1bfd40;this[_0x53a009(0x315)](this[_0x53a009(0x1f0)][_0x53a009(0x327)](()=>{const _0x19352b=_0x53a009;if(this[_0x19352b(0x1fa)][_0x19352b(0x1c9)]['size'])return this[_0x19352b(0x179)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1bfd40(0x14a)](){const _0x5b11e2=_0x1bfd40;this[_0x5b11e2(0x315)](this[_0x5b11e2(0x282)][_0x5b11e2(0x18f)][_0x5b11e2(0x1e8)](_0x369bda=>{const _0x1f76a5=_0x5b11e2;_0x369bda['id']===_0x51eeb3[_0x1f76a5(0x119)]['OTHER_CLIENT_EDITING']&&this[_0x1f76a5(0x2ff)]['show']({'type':_0x124099[_0x1f76a5(0xe8)][_0x1f76a5(0x1e5)],'content':this[_0x1f76a5(0x179)]['t'](_0x1f76a5(0x329))}),_0x369bda['id']===_0x51eeb3['CollaborationUIEventId'][_0x1f76a5(0x34c)]&&this['_messageService'][_0x1f76a5(0x28f)]({'type':_0x124099[_0x1f76a5(0xe8)][_0x1f76a5(0x1e5)],'content':this[_0x1f76a5(0x179)]['t'](_0x1f76a5(0x254))}),_0x369bda['id']===_0x51eeb3[_0x1f76a5(0x119)]['PERMISSION_DENIED']&&this[_0x1f76a5(0x1a9)][_0x1f76a5(0x28f)]({'title':this[_0x1f76a5(0x179)]['t']('permission.title'),'content':this[_0x1f76a5(0x179)]['t'](_0x1f76a5(0x335)),'type':_0x1f76a5(0x33f),'duration':0x0}),_0x369bda['id']===_0x51eeb3[_0x1f76a5(0x119)][_0x1f76a5(0xed)]&&this[_0x1f76a5(0x2ff)][_0x1f76a5(0x28f)]({'type':_0x124099[_0x1f76a5(0xe8)]['Error'],'content':this[_0x1f76a5(0x179)]['t'](_0x1f76a5(0x254))+'('+_0x369bda[_0x1f76a5(0x30a)]+')'}),_0x369bda['id']===_0x51eeb3['CollaborationUIEventId'][_0x1f76a5(0x1c6)]&&this[_0x1f76a5(0x2ff)][_0x1f76a5(0x28f)]({'type':_0x124099[_0x1f76a5(0xe8)][_0x1f76a5(0x1e5)],'content':this[_0x1f76a5(0x179)]['t'](_0x369bda['data']||'')}),_0x369bda['id']===_0x51eeb3['CollaborationUIEventId'][_0x1f76a5(0x1dd)]&&this[_0x1f76a5(0x2ff)][_0x1f76a5(0x28f)]({'type':_0x124099[_0x1f76a5(0xe8)][_0x1f76a5(0x1e5)],'content':this[_0x1f76a5(0x179)]['t'](_0x1f76a5(0x14e))}),_0x369bda['id']===_0x51eeb3[_0x1f76a5(0x119)][_0x1f76a5(0x102)]&&this[_0x1f76a5(0x2ff)][_0x1f76a5(0x28f)]({'type':_0x124099[_0x1f76a5(0xe8)][_0x1f76a5(0x206)],'content':this[_0x1f76a5(0x179)]['t']('session.connection-failed')}),_0x369bda['id']===_0x51eeb3[_0x1f76a5(0x119)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x124099[_0x1f76a5(0xe8)][_0x1f76a5(0x206)],'content':this[_0x1f76a5(0x179)]['t'](_0x1f76a5(0x237))});}));}};_0x4107be=_0x1836b2([_0x79d85b(0x0,_0x4fb456[_0x1bfd40(0xbd)]),_0x79d85b(0x1,_0x51eeb3[_0x1bfd40(0x14c)]),_0x79d85b(0x2,_0x370994[_0x1bfd40(0x306)](_0x51eeb3[_0x1bfd40(0x274)])),_0x79d85b(0x3,_0x4fb456[_0x1bfd40(0x29e)]),_0x79d85b(0x4,_0x4fb456['INotificationService']),_0x79d85b(0x5,_0x370994[_0x1bfd40(0x306)](_0x370994['LocaleService']))],_0x4107be);const _0x3ad075=_0x1bfd40(0xd3),_0x26381f={};var _0x559ebf=Object[_0x1bfd40(0x203)],_0x1eb239=(_0xcebded,_0x497ad3,_0x5da163,_0x4c55d9)=>{for(var _0x226137=_0x4c55d9>0x1?void 0x0:_0x4c55d9?_0x559ebf(_0x497ad3,_0x5da163):_0x497ad3,_0x343632=_0xcebded['length']-0x1,_0x3ff4eb;_0x343632>=0x0;_0x343632--)(_0x3ff4eb=_0xcebded[_0x343632])&&(_0x226137=_0x3ff4eb(_0x226137)||_0x226137);return _0x226137;},_0x412bd6=(_0x5a10ec,_0x28aed5)=>(_0xe21964,_0x355dea)=>_0x28aed5(_0xe21964,_0x355dea,_0x5a10ec);let _0x339fef=class{constructor(_0x328eb3,_0x1d471d){const _0x4070b6=_0x1bfd40;this[_0x4070b6(0x192)]=_0x328eb3,this[_0x4070b6(0x32f)]=_0x1d471d;}[_0x1bfd40(0x2d2)](_0x38be16){const _0x562d83=_0x1bfd40;this[_0x562d83(0x134)](_0x38be16),this[_0x562d83(0x1cc)](_0x38be16);}[_0x1bfd40(0x151)](_0x7f6b5b){const _0xe2b8d7=_0x1bfd40,{unitID:_0x575c2b}=_0x7f6b5b,_0x491270=this[_0xe2b8d7(0x32f)][_0xe2b8d7(0x336)](_0x575c2b)[_0xe2b8d7(0xca)](_0x2a6d62[_0xe2b8d7(0x2e9)]),{redoCache:_0x140724}=_0x491270[_0xe2b8d7(0x343)]();if(_0x140724[_0xe2b8d7(0x253)]===0x0)return _0x7f6b5b;let _0x920bbe=_0x370994[_0xe2b8d7(0x319)]['deepClone'](_0x7f6b5b[_0xe2b8d7(0x181)][0x0]);for(let _0x3383ed=0x0;_0x3383ed<_0x140724[_0xe2b8d7(0x253)];_0x3383ed++){const _0x44a685={'id':'doc.mutation.rich-text-editing','params':{..._0x140724[_0x3383ed]}},_0x2f6695=this[_0xe2b8d7(0x192)][_0xe2b8d7(0xe3)](_0x920bbe,_0x44a685,!0x1);if(_0x59c7cf[_0xe2b8d7(0xce)](_0x2f6695))throw _0x2f6695[_0xe2b8d7(0x33f)];_0x920bbe=_0x2f6695[_0xe2b8d7(0x1a5)];}return{..._0x370994[_0xe2b8d7(0x319)][_0xe2b8d7(0x21f)](_0x7f6b5b),'mutations':[_0x920bbe]};}['_transformUndoRedoStack'](_0xf6e877){const _0x4748ac=_0x1bfd40,{unitID:_0x1f4cfb}=_0xf6e877,_0x5465cf=this[_0x4748ac(0x32f)]['getRenderById'](_0x1f4cfb)[_0x4748ac(0xca)](_0x2a6d62['DocIMEInputManagerService']),{undoCache:_0x18e6a3,redoCache:_0x49153f}=_0x5465cf['getUndoRedoMutationParamsCache']();if(_0x18e6a3[_0x4748ac(0x253)]===0x0||_0x49153f[_0x4748ac(0x253)]===0x0)return;const _0x307f69=[],_0x3e7d8b=[];let _0x43be04=_0x370994[_0x4748ac(0x319)][_0x4748ac(0x21f)](_0xf6e877[_0x4748ac(0x181)][0x0]),_0x34bde3=_0x370994[_0x4748ac(0x319)]['deepClone'](_0xf6e877[_0x4748ac(0x181)][0x0]);for(let _0x20c698=_0x18e6a3[_0x4748ac(0x253)]-0x1;_0x20c698>=0x0;_0x20c698--){const _0x3810e9={'id':_0x4748ac(0x15d),'params':{..._0x18e6a3[_0x20c698]}},_0x101358={'id':_0x4748ac(0x15d),'params':{..._0x49153f[_0x20c698]}},_0x3a4622=this[_0x4748ac(0x192)][_0x4748ac(0xe3)](_0x43be04,_0x3810e9,!0x1),_0x56a483=this[_0x4748ac(0x192)][_0x4748ac(0xe3)](_0x34bde3,_0x101358,!0x1);if(_0x59c7cf[_0x4748ac(0xce)](_0x3a4622))throw _0x3a4622[_0x4748ac(0x33f)];if(_0x59c7cf[_0x4748ac(0xce)](_0x56a483))throw _0x56a483['error'];_0x307f69[_0x4748ac(0x2f9)](_0x3a4622['m2Prime']['params']),_0x3e7d8b['unshift'](_0x56a483[_0x4748ac(0x13f)][_0x4748ac(0x1d9)]),_0x43be04=_0x3a4622[_0x4748ac(0x1a5)],_0x34bde3=_0x56a483[_0x4748ac(0x1a5)];}_0x5465cf[_0x4748ac(0x1b2)]({'undoCache':_0x307f69,'redoCache':_0x3e7d8b});}[_0x1bfd40(0x1cc)](_0xac7c59){const _0x140af3=_0x1bfd40,{unitID:_0x13ab36}=_0xac7c59,_0x2a6532=this[_0x140af3(0x32f)][_0x140af3(0x336)](_0x13ab36)[_0x140af3(0xca)](_0x2a6d62[_0x140af3(0x2e9)]),_0x339b24=_0x2a6532[_0x140af3(0x23d)]();if(_0x339b24==null)return;const _0x3bad71=[{'id':_0x140af3(0x15d),'params':{'unitId':_0xac7c59[_0x140af3(0x122)],'actions':null,'textRanges':[_0x339b24]}}],_0xd4519d=this['_transformService'][_0x140af3(0x334)](_0xac7c59,_0x3bad71);if(!_0x59c7cf[_0x140af3(0x19d)](_0xd4519d))throw _0xd4519d[_0x140af3(0x33f)];const _0x53104e=_0xd4519d[_0x140af3(0x13f)][0x0][_0x140af3(0x1d9)][_0x140af3(0x1a2)];Array[_0x140af3(0x255)](_0x53104e)&&_0x53104e['length']&&_0x2a6532[_0x140af3(0x14f)](_0x53104e[0x0]);}};_0x339fef=_0x1eb239([_0x412bd6(0x0,_0x59c7cf['ITransformService']),_0x412bd6(0x1,_0x44054e[_0x1bfd40(0x318)])],_0x339fef);var _0x2c08b2=Object[_0x1bfd40(0x203)],_0x2843f8=(_0x4ab8bc,_0xbe017d,_0x2f059d,_0x394109)=>{const _0x3ae7d1=_0x1bfd40;for(var _0x370a1c=_0x394109>0x1?void 0x0:_0x394109?_0x2c08b2(_0xbe017d,_0x2f059d):_0xbe017d,_0x2b2b08=_0x4ab8bc[_0x3ae7d1(0x253)]-0x1,_0x40ac6b;_0x2b2b08>=0x0;_0x2b2b08--)(_0x40ac6b=_0x4ab8bc[_0x2b2b08])&&(_0x370a1c=_0x40ac6b(_0x370a1c)||_0x370a1c);return _0x370a1c;},_0x184dc9=(_0x475ac6,_0x20c291)=>(_0x463f85,_0x6f0b71)=>_0x20c291(_0x463f85,_0x6f0b71,_0x475ac6);let _0x31698a=class{constructor(_0x357eea,_0x17e8a5,_0x37dee4){const _0x4b2674=_0x1bfd40;this[_0x4b2674(0x205)]=_0x357eea,this[_0x4b2674(0x192)]=_0x17e8a5,this['_docStateChangeManagerService']=_0x37dee4;}['transformStateCache'](_0x538758){const _0x375c00=_0x1bfd40;this[_0x375c00(0x31b)](_0x538758);}['transformRemoteChangeset'](_0x2ee6eb){const _0x492634=_0x1bfd40,{unitID:_0x381585}=_0x2ee6eb,{collaboration:_0x43474f}=this['_docStateChangeManagerService'][_0x492634(0x296)](_0x381585);if(_0x43474f['length']===0x0)return _0x2ee6eb;let _0x597ca9=_0x370994[_0x492634(0x319)]['deepClone'](_0x2ee6eb[_0x492634(0x181)][0x0]);for(let _0x11eefd=0x0;_0x11eefd<_0x43474f[_0x492634(0x253)];_0x11eefd++){const _0x2d1817={'id':_0x492634(0x15d),'params':{'unitId':_0x43474f[_0x11eefd][_0x492634(0x2b3)],..._0x43474f[_0x11eefd]['redoState']}},_0x40d5d8=this[_0x492634(0x192)]['transformMutation'](_0x597ca9,_0x2d1817,!0x1);if(_0x59c7cf[_0x492634(0xce)](_0x40d5d8))throw _0x40d5d8[_0x492634(0x33f)];_0x597ca9=_0x40d5d8[_0x492634(0x1a5)];}return{..._0x370994[_0x492634(0x319)][_0x492634(0x21f)](_0x2ee6eb),'mutations':[_0x597ca9]};}[_0x1bfd40(0x31b)](_0x1312f7){const _0x46b17d=_0x1bfd40,{unitID:_0x4d3563}=_0x1312f7,{history:_0x505d35,collaboration:_0x23d2cd}=this[_0x46b17d(0x1e2)][_0x46b17d(0x296)](_0x4d3563);if(_0x505d35['length']===0x0&&_0x23d2cd[_0x46b17d(0x253)]===0x0)return;const _0x139ed8=[],_0xa39708=[];let _0x1e9223=_0x370994[_0x46b17d(0x319)][_0x46b17d(0x21f)](_0x1312f7[_0x46b17d(0x181)][0x0]),_0xf0e0ff=_0x370994['Tools']['deepClone'](_0x1312f7[_0x46b17d(0x181)][0x0]);for(let _0x3c6aaa=_0x505d35['length']-0x1;_0x3c6aaa>=0x0;_0x3c6aaa--){const _0x11dbde={'id':_0x46b17d(0x15d),'params':{'unitId':_0x505d35[_0x3c6aaa][_0x46b17d(0x2b3)],..._0x505d35[_0x3c6aaa][_0x46b17d(0xeb)]}},_0x527d77={'id':_0x46b17d(0x15d),'params':{'unitId':_0x505d35[_0x3c6aaa][_0x46b17d(0x2b3)],..._0x505d35[_0x3c6aaa][_0x46b17d(0x11a)]}},_0x204b90=this[_0x46b17d(0x192)][_0x46b17d(0xe3)](_0x1e9223,_0x11dbde,!0x1),_0x2b86c1=this[_0x46b17d(0x192)]['transformMutation'](_0xf0e0ff,_0x527d77,!0x1);if(_0x59c7cf[_0x46b17d(0xce)](_0x204b90))throw _0x204b90[_0x46b17d(0x33f)];if(_0x59c7cf[_0x46b17d(0xce)](_0x2b86c1))throw _0x2b86c1[_0x46b17d(0x33f)];_0x139ed8['unshift']({..._0x505d35[_0x3c6aaa],'undoState':_0x204b90[_0x46b17d(0x13f)]['params'],'redoState':_0x2b86c1['m2Prime'][_0x46b17d(0x1d9)]}),_0x1e9223=_0x204b90[_0x46b17d(0x1a5)],_0xf0e0ff=_0x2b86c1[_0x46b17d(0x1a5)];}_0x1e9223=_0x370994['Tools']['deepClone'](_0x1312f7['mutations'][0x0]),_0xf0e0ff=_0x370994[_0x46b17d(0x319)][_0x46b17d(0x21f)](_0x1312f7[_0x46b17d(0x181)][0x0]);for(let _0x1f886b=_0x23d2cd[_0x46b17d(0x253)]-0x1;_0x1f886b>=0x0;_0x1f886b--){const _0xfbfe40={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x23d2cd[_0x1f886b]['unitId'],..._0x23d2cd[_0x1f886b][_0x46b17d(0xeb)]}},_0xa3c2d2={'id':_0x46b17d(0x15d),'params':{'unitId':_0x23d2cd[_0x1f886b][_0x46b17d(0x2b3)],..._0x23d2cd[_0x1f886b][_0x46b17d(0x11a)]}},_0x1a029f=this['_transformService']['transformMutation'](_0x1e9223,_0xfbfe40,!0x1),_0xeef501=this[_0x46b17d(0x192)]['transformMutation'](_0xf0e0ff,_0xa3c2d2,!0x1);if(_0x59c7cf[_0x46b17d(0xce)](_0x1a029f))throw _0x1a029f[_0x46b17d(0x33f)];if(_0x59c7cf[_0x46b17d(0xce)](_0xeef501))throw _0xeef501['error'];_0xa39708[_0x46b17d(0x2f9)]({..._0x23d2cd[_0x1f886b],'undoState':_0x1a029f['m2Prime']['params'],'redoState':_0xeef501[_0x46b17d(0x13f)]['params']}),_0x1e9223=_0x1a029f[_0x46b17d(0x1a5)],_0xf0e0ff=_0xeef501['m1Prime'];}this[_0x46b17d(0x1e2)][_0x46b17d(0xb7)](_0x4d3563,{'history':_0x139ed8,'collaboration':_0xa39708});}};_0x31698a=_0x2843f8([_0x184dc9(0x0,_0x370994[_0x1bfd40(0x306)](_0x370994['Injector'])),_0x184dc9(0x1,_0x59c7cf[_0x1bfd40(0x230)]),_0x184dc9(0x2,_0x370994[_0x1bfd40(0x306)](_0x2a6d62[_0x1bfd40(0x1c8)]))],_0x31698a);var _0x5b4091=Object['getOwnPropertyDescriptor'],_0x3404ef=(_0x2930a7,_0x21b421,_0x188a01,_0x53af6f)=>{const _0x8dc684=_0x1bfd40;for(var _0x1c6bed=_0x53af6f>0x1?void 0x0:_0x53af6f?_0x5b4091(_0x21b421,_0x188a01):_0x21b421,_0xcc6163=_0x2930a7[_0x8dc684(0x253)]-0x1,_0x1ec03b;_0xcc6163>=0x0;_0xcc6163--)(_0x1ec03b=_0x2930a7[_0xcc6163])&&(_0x1c6bed=_0x1ec03b(_0x1c6bed)||_0x1c6bed);return _0x1c6bed;},_0x4e6350=(_0x1ec3b8,_0x13b41c)=>(_0x28e70c,_0x22afd9)=>_0x13b41c(_0x28e70c,_0x22afd9,_0x1ec3b8);let _0x316b96=class{constructor(_0x6deb03,_0x4693a3){const _0x262a45=_0x1bfd40;this['_injector']=_0x6deb03,this[_0x262a45(0x192)]=_0x4693a3;}[_0x1bfd40(0x16a)](_0x499125){const _0x202b12=_0x1bfd40;var _0xfd3b07;const _0x2ab0b2=this[_0x202b12(0x205)]['get'](_0x1667b5['DocSelectionManagerService']),_0x39b328=(_0xfd3b07=_0x2ab0b2['getDocRanges']())!=null?_0xfd3b07:[];if(_0x39b328['length']===0x0)return;const _0x163cbb=_0x499125[_0x202b12(0x122)],_0x52baec=[{'id':_0x202b12(0x15d),'params':{'unitId':_0x163cbb,'actions':null,'textRanges':_0x39b328}}],_0x3aa502=this[_0x202b12(0x192)][_0x202b12(0x334)](_0x499125,_0x52baec);if(!_0x59c7cf['isTransformMutationsWithChangesetSuccess'](_0x3aa502))throw _0x3aa502['error'];const _0xe3383d=_0x3aa502['m2Prime'][0x0][_0x202b12(0x1d9)][_0x202b12(0x1a2)];Array['isArray'](_0xe3383d)&&_0xe3383d[_0x202b12(0x253)]&&_0x2ab0b2[_0x202b12(0x1bc)](_0xe3383d,{'unitId':_0x163cbb,'subUnitId':_0x163cbb},!0x1);}};_0x316b96=_0x3404ef([_0x4e6350(0x0,_0x370994[_0x1bfd40(0x306)](_0x370994[_0x1bfd40(0x1ef)])),_0x4e6350(0x1,_0x59c7cf[_0x1bfd40(0x230)])],_0x316b96);var _0x21401b=Object[_0x1bfd40(0x203)],_0x5169e7=(_0xa92ba8,_0x3e2f9f,_0x5c4f31,_0x2db05b)=>{for(var _0x5a10bd=_0x2db05b>0x1?void 0x0:_0x2db05b?_0x21401b(_0x3e2f9f,_0x5c4f31):_0x3e2f9f,_0x261ee7=_0xa92ba8['length']-0x1,_0x2da135;_0x261ee7>=0x0;_0x261ee7--)(_0x2da135=_0xa92ba8[_0x261ee7])&&(_0x5a10bd=_0x2da135(_0x5a10bd)||_0x5a10bd);return _0x5a10bd;},_0x5d83c1=(_0x362b9c,_0x5634a0)=>(_0x2a0057,_0x13a4e7)=>_0x5634a0(_0x2a0057,_0x13a4e7,_0x362b9c);let _0x4d1245=class extends _0x370994[_0x1bfd40(0x227)]{constructor(_0x139455,_0x4dc24c,_0x194af5,_0x29695a,_0x3f5401,_0x1f8c8f,_0x3e20bf,_0x47c1c0){const _0x37cf6a=_0x1bfd40;super(),_0x2ab701(this,'_status$',new _0x4fbf49[(_0x37cf6a(0x16f))](_0x51eeb3[_0x37cf6a(0x16d)][_0x37cf6a(0x31c)])),(this[_0x37cf6a(0x1e2)]=_0x139455,this[_0x37cf6a(0x2bf)]=_0x4dc24c,this[_0x37cf6a(0x2f8)]=_0x194af5,this['_docTransformStateCacheService']=_0x29695a,this['_docTransformSelectionsService']=_0x3f5401,this[_0x37cf6a(0x164)]=_0x1f8c8f,this[_0x37cf6a(0x2ff)]=_0x3e20bf,this[_0x37cf6a(0x179)]=_0x47c1c0,this[_0x37cf6a(0x198)]());}['_initEntityListener'](){const _0x41a6f7=_0x1bfd40;this[_0x41a6f7(0x315)](this['_collaborationController'][_0x41a6f7(0x178)]['subscribe'](_0x4d7b82=>{const _0x5d0dc2=_0x41a6f7,_0x54c592=this['_docStateChangeManagerService'][_0x5d0dc2(0x1fc)][_0x5d0dc2(0x1e8)](_0x1866ef=>{const _0x2a7d15=_0x5d0dc2;if(_0x1866ef==null)return;const {unitId:_0x364042,redoState:_0x184517,commandId:_0x880fe1}=_0x1866ef;if(_0x364042!==_0x4d7b82['unitID'])return;const _0x278bca={'id':_0x880fe1,'type':_0x370994[_0x2a7d15(0x15b)][_0x2a7d15(0x218)],'params':{'unitId':_0x364042,'actions':_0x184517[_0x2a7d15(0x31f)],'textRanges':null}};_0x4d7b82['onLocalMutation'](_0x278bca);});if(_0x4d7b82[_0x5d0dc2(0x315)](_0x54c592),_0x4d7b82 instanceof _0x51eeb3[_0x5d0dc2(0x326)]){const _0x206851={'onTransformIME':_0xfd6bd7=>this[_0x5d0dc2(0x2f8)][_0x5d0dc2(0x2d2)](_0xfd6bd7),'onTransformState':_0x793841=>this[_0x5d0dc2(0xde)][_0x5d0dc2(0x284)](_0x793841),'onTransformSelections':_0x3669ae=>this[_0x5d0dc2(0x2cc)]['transformSelections'](_0x3669ae),'onSyncEditingCollabCursor':_0x253587=>this[_0x5d0dc2(0x164)][_0x5d0dc2(0x1b7)](_0x253587),'onTransformRemoteChangesetByIMECache':_0x38cc9c=>this[_0x5d0dc2(0x2f8)][_0x5d0dc2(0x151)](_0x38cc9c),'onTransformRemoteChangesetByStateCache':_0x179bda=>this[_0x5d0dc2(0xde)]['transformRemoteChangeset'](_0x179bda)};_0x4d7b82[_0x5d0dc2(0xb8)](_0x206851);}}));}};_0x4d1245=_0x5169e7([_0x5d83c1(0x0,_0x370994['Inject'](_0x2a6d62[_0x1bfd40(0x1c8)])),_0x5d83c1(0x1,_0x370994[_0x1bfd40(0x306)](_0x51eeb3['CollaborationController'])),_0x5d83c1(0x2,_0x370994['Inject'](_0x339fef)),_0x5d83c1(0x3,_0x370994['Inject'](_0x31698a)),_0x5d83c1(0x4,_0x370994[_0x1bfd40(0x306)](_0x316b96)),_0x5d83c1(0x5,_0x370994[_0x1bfd40(0x306)](_0x30a6a0)),_0x5d83c1(0x6,_0x4fb456[_0x1bfd40(0x29e)]),_0x5d83c1(0x7,_0x370994[_0x1bfd40(0x306)](_0x370994['LocaleService']))],_0x4d1245);var _0x172ce2=Object[_0x1bfd40(0x203)],_0x2ab2c7=(_0x12c77d,_0x5eda57,_0x79d6ae,_0x19b2de)=>{const _0x3a9982=_0x1bfd40;for(var _0x17c4e=_0x19b2de>0x1?void 0x0:_0x19b2de?_0x172ce2(_0x5eda57,_0x79d6ae):_0x5eda57,_0x310dc6=_0x12c77d[_0x3a9982(0x253)]-0x1,_0x144a74;_0x310dc6>=0x0;_0x310dc6--)(_0x144a74=_0x12c77d[_0x310dc6])&&(_0x17c4e=_0x144a74(_0x17c4e)||_0x17c4e);return _0x17c4e;},_0x4228db=(_0x47f8b2,_0x3aa969)=>(_0x2e87d7,_0x4a2cc0)=>_0x3aa969(_0x2e87d7,_0x4a2cc0,_0x47f8b2);let _0x1c3a72=class extends _0x370994['Disposable']{constructor(_0x28cc5c,_0xb7f3eb,_0x1e5717){const _0x2d9b09=_0x1bfd40;super(),_0x2ab701(this,_0x2d9b09(0x2aa),new Map()),_0x2ab701(this,_0x2d9b09(0x2f5),new Map()),_0x2ab701(this,_0x2d9b09(0x1de),!0x1),(this[_0x2d9b09(0x1df)]=_0x28cc5c,this['_localStorageService']=_0xb7f3eb,this[_0x2d9b09(0x2fe)]=_0x1e5717);}[_0x1bfd40(0x28e)](){const _0x10e7de=_0x1bfd40;this[_0x10e7de(0x1de)]=!0x0;}[_0x1bfd40(0x29b)](){const _0x2c4491=_0x1bfd40;this[_0x2c4491(0x1de)]=!0x1;}get[_0x1bfd40(0x1c9)](){const _0x374215=_0x1bfd40;return this[_0x374215(0x2f5)];}['dispose'](){const _0x4550b7=_0x1bfd40;this['exhaustSavingTask']()[_0x4550b7(0x347)](()=>super[_0x4550b7(0x311)]());}async['loadOfflineData'](_0x34a6ec){const _0xef7788=_0x1bfd40;return this['_disabled']?null:this[_0xef7788(0x328)][_0xef7788(0x251)](_0x51eeb3['getLocalCacheKey'](_0x34a6ec));}async['saveOfflineData'](_0x3480a8,_0x325e45){const _0x5683ea=_0x1bfd40;return!!this['_localStorageService'][_0x5683ea(0xdb)](_0x3480a8,_0x325e45);}[_0x1bfd40(0x249)](_0x2269b7,_0xa65636,_0x2b65cc,_0x34a836){const _0x3e205=_0x1bfd40,_0xc3ea65=this[_0x3e205(0x2fe)][_0x3e205(0x224)](_0x2269b7);this[_0x3e205(0x2aa)][_0x3e205(0x2dd)](_0x2269b7,{'unitID':_0x2269b7,'type':_0xa65636,'awaitingChangeset':_0x2b65cc,'mutations':_0x34a836,'rev':_0xc3ea65}),this[_0x3e205(0x2f5)][_0x3e205(0x2b6)](_0x2269b7)||this['_scheduleSaving'](_0x2269b7);}[_0x1bfd40(0x19e)](_0x3b3fb3){const _0x1ffe59=_0x1bfd40,_0x30fd62=this[_0x1ffe59(0xf9)]();_0x30fd62===0x0?this[_0x1ffe59(0x2a8)](_0x3b3fb3):this['_saveTaskMap'][_0x1ffe59(0x2dd)](_0x3b3fb3,setTimeout(()=>this['_saveCache'](_0x3b3fb3),_0x30fd62));}['_getSaveTimeout'](){const _0x2ac662=_0x1bfd40;var _0x359a4c;return(_0x359a4c=this[_0x2ac662(0x1df)][_0x2ac662(0xcd)](_0x51eeb3['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x359a4c:_0x51eeb3[_0x2ac662(0x109)];}[_0x1bfd40(0x2a8)](_0x110af4){const _0x51da42=_0x1bfd40,_0x3aba6b=this['_saveTaskMap']['get'](_0x110af4);return _0x3aba6b!==void 0x0&&window['clearTimeout'](_0x3aba6b),this[_0x51da42(0x328)][_0x51da42(0xdb)](_0x51eeb3['getLocalCacheKey'](_0x110af4),this['_cachedData'][_0x51da42(0x10f)](_0x110af4))[_0x51da42(0x347)](()=>this[_0x51da42(0x2f5)][_0x51da42(0x301)](_0x110af4));}async['exhaustSavingTask'](){const _0x44df28=_0x1bfd40,_0x333bf2=[];this[_0x44df28(0x2f5)][_0x44df28(0x113)]((_0x5b1021,_0xe7a76f)=>{const _0x2a5551=_0x44df28;window[_0x2a5551(0x34a)](_0x5b1021),_0x333bf2[_0x2a5551(0x2bb)](this[_0x2a5551(0x2a8)](_0xe7a76f)[_0x2a5551(0x347)](()=>{const _0x12e667=_0x2a5551;this[_0x12e667(0x2f5)][_0x12e667(0x301)](_0xe7a76f);}));}),await Promise['all'](_0x333bf2);}};_0x1c3a72=_0x2ab2c7([_0x4228db(0x0,_0x370994['IConfigService']),_0x4228db(0x1,_0x370994[_0x1bfd40(0x2ad)]),_0x4228db(0x2,_0x370994['Inject'](_0x59c7cf[_0x1bfd40(0x1fd)]))],_0x1c3a72);class _0x465690 extends _0x370994[_0x1bfd40(0x2c2)]{constructor(){const _0x459443=_0x1bfd40;super(),_0x2ab701(this,_0x459443(0x286)),this[_0x459443(0x286)]=_0x4fbf49[_0x459443(0xbe)](window,'popstate')[_0x459443(0xe4)](_0x4fbf49[_0x459443(0x220)](this['dispose$']),_0x4fbf49[_0x459443(0x21b)](0x1),_0x4fbf49[_0x459443(0x26c)](void 0x0));}[_0x1bfd40(0x2eb)](_0xc66b50,_0x4a8fc7,_0x40dae2=!0x1){const _0x3d750f=_0x1bfd40,_0x57ff43=new URL(window['location'][_0x3d750f(0x115)]);_0x57ff43[_0x3d750f(0x2f6)][_0x3d750f(0x2dd)](_0xc66b50,_0x4a8fc7),_0x40dae2?window[_0x3d750f(0x283)][_0x3d750f(0x1d3)]('','',_0x57ff43[_0x3d750f(0x2ac)]()):window[_0x3d750f(0x283)][_0x3d750f(0x24b)]('','',_0x57ff43[_0x3d750f(0x2ac)]());}[_0x1bfd40(0x291)](_0x1703b5,_0x5ed6f9=!0x1){const _0x231a32=_0x1bfd40,_0x5e862=new URL(window[_0x231a32(0x2ba)][_0x231a32(0x115)]);_0x5e862['searchParams'][_0x231a32(0x301)](_0x1703b5),_0x5ed6f9?window['history'][_0x231a32(0x1d3)]('','',_0x5e862[_0x231a32(0x2ac)]()):window['history'][_0x231a32(0x24b)]('','',_0x5e862['toString']());}[_0x1bfd40(0x18c)](_0x3bec70){const _0x5a58ec=_0x1bfd40;var _0x1e0bde;return(_0x1e0bde=new URL(window['location'][_0x5a58ec(0x115)])[_0x5a58ec(0x2f6)][_0x5a58ec(0x10f)](_0x3bec70))!=null?_0x1e0bde:void 0x0;}}var _0x14b1dc=Object[_0x1bfd40(0x1d8)],_0x30b151=Object[_0x1bfd40(0x203)],_0x459fc6=(_0x3ebe3e,_0x266384,_0x313314)=>_0x266384 in _0x3ebe3e?_0x14b1dc(_0x3ebe3e,_0x266384,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x313314}):_0x3ebe3e[_0x266384]=_0x313314,_0x4e9c4e=(_0x417621,_0x2ca23c,_0x89208f,_0x371a51)=>{const _0x456437=_0x1bfd40;for(var _0x1526c9=_0x371a51>0x1?void 0x0:_0x371a51?_0x30b151(_0x2ca23c,_0x89208f):_0x2ca23c,_0x94fed0=_0x417621[_0x456437(0x253)]-0x1,_0x19937a;_0x94fed0>=0x0;_0x94fed0--)(_0x19937a=_0x417621[_0x94fed0])&&(_0x1526c9=_0x19937a(_0x1526c9)||_0x1526c9);return _0x1526c9;},_0x201186=(_0x54799a,_0x3ad483)=>(_0x388eb7,_0x53d3b0)=>_0x3ad483(_0x388eb7,_0x53d3b0,_0x54799a),_0x46e19e=(_0x263ff9,_0x5c0a9d,_0x505493)=>_0x459fc6(_0x263ff9,_0x5c0a9d+'',_0x505493);const _0x5cce80=_0x1bfd40(0x22d);_0x4d2e9d['UniverCollaborationClientUIPlugin']=class extends _0x370994['Plugin']{constructor(_0x25b543=_0x26381f,_0x2ff486,_0x90c0bf,_0x1dc9d3){const _0x5f3729=_0x1bfd40;super(),this[_0x5f3729(0x26f)]=_0x25b543,this[_0x5f3729(0x32f)]=_0x2ff486,this[_0x5f3729(0x205)]=_0x90c0bf,this[_0x5f3729(0x1df)]=_0x1dc9d3;const {..._0x59e508}=_0x370994['merge']({},_0x26381f,this[_0x5f3729(0x26f)]);this[_0x5f3729(0x1df)]['setConfig'](_0x3ad075,_0x59e508);}[_0x1bfd40(0x27e)](){const _0x3e5f5d=_0x1bfd40;this[_0x3e5f5d(0x24f)](),this[_0x3e5f5d(0xe7)]();}[_0x1bfd40(0x2b7)](){const _0x538936=_0x1bfd40;this[_0x538936(0x32e)]();}[_0x1bfd40(0x24f)](){const _0x2368bb=_0x1bfd40;var _0x56dfd4;const _0x267eb4=[[_0x851ba2],[_0x316b96],[_0x339fef],[_0x31698a],[_0x30a6a0],[_0x23c775,{'useClass':_0x465690}],[_0x1af224[_0x2368bb(0x287)],{'useClass':_0x1af224[_0x2368bb(0x330)]}],[_0x51eeb3[_0x2368bb(0x14c)],{'useClass':_0x1c3a72}],[_0x4d2e9d[_0x2368bb(0x216)]],[_0x4d1245],[_0x4107be],[_0x2dedaa],[_0x4cb3b1],[_0x4d2e9d[_0x2368bb(0xd7)]]];_0x370994[_0x2368bb(0x344)](this['_injector'],_0x370994['mergeOverrideWithDependencies'](_0x267eb4,(_0x56dfd4=this[_0x2368bb(0x26f)])==null?void 0x0:_0x56dfd4[_0x2368bb(0x244)]));}[_0x1bfd40(0x32e)](){const _0x5cca25=_0x1bfd40;this[_0x5cca25(0x315)](this[_0x5cca25(0x32f)][_0x5cca25(0x2fb)](_0x370994[_0x5cca25(0x21a)][_0x5cca25(0x340)],[_0x1aa7a2])),this[_0x5cca25(0x315)](this[_0x5cca25(0x32f)][_0x5cca25(0x2fb)](_0x370994[_0x5cca25(0x21a)]['UNIVER_SHEET'],[_0x596bca]));}[_0x1bfd40(0xe7)](){const _0x23a6e3=_0x1bfd40;_0x370994[_0x23a6e3(0x25e)](this[_0x23a6e3(0x205)],[[_0x2dedaa],[_0x4d2e9d[_0x23a6e3(0x216)]],[_0x4d1245],[_0x4107be],[_0x4d2e9d['CollaborationDataLoaderController']]]);}},_0x46e19e(_0x4d2e9d[_0x1bfd40(0x30e)],'pluginName',_0x5cce80),_0x4d2e9d[_0x1bfd40(0x30e)]=_0x4e9c4e([_0x370994[_0x1bfd40(0x183)](_0x51eeb3[_0x1bfd40(0x236)]),_0x201186(0x1,_0x44054e[_0x1bfd40(0x318)]),_0x201186(0x2,_0x370994['Inject'](_0x370994[_0x1bfd40(0x1ef)])),_0x201186(0x3,_0x370994[_0x1bfd40(0x135)])],_0x4d2e9d['UniverCollaborationClientUIPlugin']);var _0x53e85e=Object['getOwnPropertyDescriptor'],_0x3fd33b=(_0x3d8d81,_0x28c817,_0x37f33a,_0x268a31)=>{for(var _0x3aef53=_0x268a31>0x1?void 0x0:_0x268a31?_0x53e85e(_0x28c817,_0x37f33a):_0x28c817,_0x13a52c=_0x3d8d81['length']-0x1,_0xc16c05;_0x13a52c>=0x0;_0x13a52c--)(_0xc16c05=_0x3d8d81[_0x13a52c])&&(_0x3aef53=_0xc16c05(_0x3aef53)||_0x3aef53);return _0x3aef53;},_0x4ca5f0=(_0x4ffbfe,_0xc1c3ad)=>(_0x1de04e,_0x1b7c49)=>_0xc1c3ad(_0x1de04e,_0x1b7c49,_0x4ffbfe);_0x4d2e9d[_0x1bfd40(0x11d)]=class extends _0x51eeb3[_0x1bfd40(0x243)]{constructor(_0x419cb1,_0x23cb88,_0x43a861,_0x664828,_0x59b5cd){super(_0x419cb1,_0x23cb88,_0x43a861,_0x664828,_0x59b5cd);}async[_0x1bfd40(0x189)](_0x2ab4fd){const _0x5584aa=_0x1bfd40,_0x5b3429=await this[_0x5584aa(0x174)](),_0xead1d7=this[_0x5584aa(0x247)](_0x2ab4fd,_0x5b3429);return this[_0x5584aa(0x104)](_0xead1d7);}['_createSocketURL'](_0x208d20,_0x5e7b83){const _0x4d186b=_0x1bfd40,_0x57047a=typeof window>'u'?new URL(_0x208d20):new URL(_0x208d20,window['location']['origin']);_0x57047a[_0x4d186b(0x2f6)][_0x4d186b(0x2dd)](_0x4d186b(0x17c),_0x5e7b83);const _0x173c76=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d186b(0x2ba)][_0x4d186b(0x1cb)]);return _0x173c76[_0x4d186b(0x10f)]('runId')&&_0x57047a[_0x4d186b(0x2f6)]['set'](_0x4d186b(0x21c),_0x173c76[_0x4d186b(0x10f)](_0x4d186b(0x21c))),_0x57047a['toString']();}async[_0x1bfd40(0x174)](){const _0x3fc470=_0x1bfd40;var _0x46a7c3,_0x1686d0,_0x27887a;const _0x47b001=this['_configService'][_0x3fc470(0xcd)](_0x51eeb3[_0x3fc470(0x337)]),_0x48131d=(_0x46a7c3=_0x47b001==null?void 0x0:_0x47b001['wsSessionTicketUrl'])!=null?_0x46a7c3:_0x51eeb3[_0x3fc470(0x120)];return(_0x27887a=(_0x1686d0=(await this[_0x3fc470(0x28d)]['get'](_0x48131d,{'headers':{'Content-Type':'application/json'}}))[_0x3fc470(0x125)])==null?void 0x0:_0x1686d0['ticket'])!=null?_0x27887a:'';}},_0x4d2e9d[_0x1bfd40(0x11d)]=_0x3fd33b([_0x4ca5f0(0x0,_0x370994[_0x1bfd40(0x306)](_0x370994['Injector'])),_0x4ca5f0(0x1,_0x370994[_0x1bfd40(0x306)](_0x1af224[_0x1bfd40(0x1e6)])),_0x4ca5f0(0x2,_0x370994['IConfigService']),_0x4ca5f0(0x3,_0x370994[_0x1bfd40(0x26e)]),_0x4ca5f0(0x4,_0x59c7cf['ISnapshotServerService'])],_0x4d2e9d['BrowserCollaborationSocketService']);var _0x4dd6a3=(_0x4b6243=>(_0x4b6243[_0x4b6243[_0x1bfd40(0x2b0)]=0x0]=_0x1bfd40(0x2b0),_0x4b6243[_0x4b6243['OK']=0x1]='OK',_0x4b6243[_0x4b6243[_0x1bfd40(0x229)]=0x2]=_0x1bfd40(0x229),_0x4b6243[_0x4b6243[_0x1bfd40(0xb1)]=0x3]=_0x1bfd40(0xb1),_0x4b6243[_0x4b6243[_0x1bfd40(0x32c)]=0x4]=_0x1bfd40(0x32c),_0x4b6243[_0x4b6243[_0x1bfd40(0x126)]=0x5]=_0x1bfd40(0x126),_0x4b6243[_0x4b6243[_0x1bfd40(0x2ee)]=0x6]=_0x1bfd40(0x2ee),_0x4b6243[_0x4b6243[_0x1bfd40(0xc8)]=0x7]=_0x1bfd40(0xc8),_0x4b6243[_0x4b6243[_0x1bfd40(0x158)]=0x8]=_0x1bfd40(0x158),_0x4b6243[_0x4b6243['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x4b6243[_0x4b6243[_0x1bfd40(0x1a1)]=0xa]=_0x1bfd40(0x1a1),_0x4b6243[_0x4b6243[_0x1bfd40(0x1ba)]=0xb]=_0x1bfd40(0x1ba),_0x4b6243[_0x4b6243['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4b6243[_0x4b6243['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1bfd40(0x233),_0x4b6243[_0x4b6243[_0x1bfd40(0x10b)]=0xe]=_0x1bfd40(0x10b),_0x4b6243[_0x4b6243[_0x1bfd40(0x317)]=0x1389]=_0x1bfd40(0x317),_0x4b6243[_0x4b6243['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1bfd40(0x136),_0x4b6243[_0x4b6243[_0x1bfd40(0x22c)]=0x1772]=_0x1bfd40(0x22c),_0x4b6243[_0x4b6243['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4b6243[_0x4b6243[_0x1bfd40(0x258)]=0x1b59]='APPLY_REJECT',_0x4b6243[_0x4b6243[_0x1bfd40(0x267)]=0x1b5a]=_0x1bfd40(0x267),_0x4b6243[_0x4b6243[_0x1bfd40(0x16c)]=0x1b5b]=_0x1bfd40(0x16c),_0x4b6243[_0x4b6243[_0x1bfd40(0xf4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4b6243[_0x4b6243[_0x1bfd40(0x143)]=0x1b5d]=_0x1bfd40(0x143),_0x4b6243[_0x4b6243[_0x1bfd40(0xba)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4b6243[_0x4b6243[_0x1bfd40(0x2e5)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4b6243[_0x4b6243[_0x1bfd40(0x1ca)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4b6243[_0x4b6243[_0x1bfd40(0x2d1)]=0x232b]=_0x1bfd40(0x2d1),_0x4b6243[_0x4b6243['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1bfd40(0x345),_0x4b6243[_0x4b6243[_0x1bfd40(0x2d3)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4b6243[_0x4b6243[_0x1bfd40(0x2a4)]=0x2711]=_0x1bfd40(0x2a4),_0x4b6243[_0x4b6243[_0x1bfd40(0x2c1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4b6243[_0x4b6243[_0x1bfd40(0x262)]=0x2713]=_0x1bfd40(0x262),_0x4b6243[_0x4b6243[_0x1bfd40(0x324)]=0x2714]=_0x1bfd40(0x324),_0x4b6243[_0x4b6243[_0x1bfd40(0xc1)]=0x271a]=_0x1bfd40(0xc1),_0x4b6243[_0x4b6243['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1bfd40(0x280),_0x4b6243[_0x4b6243[_0x1bfd40(0x225)]=0x271c]=_0x1bfd40(0x225),_0x4b6243[_0x4b6243[_0x1bfd40(0x2d0)]=0x271d]=_0x1bfd40(0x2d0),_0x4b6243[_0x4b6243[_0x1bfd40(0x1fb)]=0x271e]=_0x1bfd40(0x1fb),_0x4b6243[_0x4b6243[_0x1bfd40(0x339)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4b6243[_0x4b6243[_0x1bfd40(0x302)]=0x2720]=_0x1bfd40(0x302),_0x4b6243[_0x4b6243['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1bfd40(0x1d1),_0x4b6243[_0x4b6243[_0x1bfd40(0x2c7)]=0x2ee1]=_0x1bfd40(0x2c7),_0x4b6243[_0x4b6243[_0x1bfd40(0x341)]=0x2ee2]=_0x1bfd40(0x341),_0x4b6243[_0x4b6243[_0x1bfd40(0x25b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4b6243[_0x4b6243[_0x1bfd40(0x2b4)]=0x2ee4]=_0x1bfd40(0x2b4),_0x4b6243[_0x4b6243[_0x1bfd40(0x34f)]=0x2ee5]=_0x1bfd40(0x34f),_0x4b6243[_0x4b6243[_0x1bfd40(0x332)]=0x32c9]=_0x1bfd40(0x332),_0x4b6243[_0x4b6243[_0x1bfd40(0x338)]=0x32ca]=_0x1bfd40(0x338),_0x4b6243[_0x4b6243['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4b6243[_0x4b6243[_0x1bfd40(0x309)]=-0x1]=_0x1bfd40(0x309),_0x4b6243))(_0x4dd6a3||{}),_0x314eac=Object[_0x1bfd40(0x203)],_0x22a806=(_0x11061e,_0x2cccd1,_0x4f5082,_0x14e6fa)=>{const _0xd7c112=_0x1bfd40;for(var _0x5aab36=_0x14e6fa>0x1?void 0x0:_0x14e6fa?_0x314eac(_0x2cccd1,_0x4f5082):_0x2cccd1,_0x4bbefe=_0x11061e[_0xd7c112(0x253)]-0x1,_0x52551d;_0x4bbefe>=0x0;_0x4bbefe--)(_0x52551d=_0x11061e[_0x4bbefe])&&(_0x5aab36=_0x52551d(_0x5aab36)||_0x5aab36);return _0x5aab36;},_0x1ceeba=(_0x26e482,_0x368bd6)=>(_0x39bea1,_0x3f589d)=>_0x368bd6(_0x39bea1,_0x3f589d,_0x26e482);_0x4d2e9d[_0x1bfd40(0x2d8)]=class extends _0x370994[_0x1bfd40(0x227)]{constructor(_0x5412b0,_0x61a220,_0x1098e3){const _0x2658e3=_0x1bfd40;super(),this['_instanceService']=_0x5412b0,this[_0x2658e3(0x28d)]=_0x61a220,this[_0x2658e3(0x1df)]=_0x1098e3;}async[_0x1bfd40(0x2bd)](_0x14f579,_0x5500c2,_0x4dd11c,..._0x1dfaa1){const _0x692ae9=_0x1bfd40;var _0x3fca33,_0x1b3c67,_0x46e2f5,_0x3f83b9;const _0x3c3848=this[_0x692ae9(0x131)][_0x692ae9(0x19c)]();if(!_0x3c3848)throw new Error(_0x692ae9(0x2c8));const _0x71561c=((_0x3fca33=this[_0x692ae9(0x1df)]['getConfig'](_0x51eeb3[_0x692ae9(0xf8)]))!=null?_0x3fca33:_0x51eeb3[_0x692ae9(0xcf)])+'/'+_0x14f579+_0x692ae9(0x20b)+_0x5500c2,_0x36bf1f=new URL(window[_0x692ae9(0x2ba)][_0x692ae9(0x115)]),_0x5f01aa={'scriptId':_0x14f579,'runId':(_0x1b3c67=_0x36bf1f[_0x692ae9(0x2f6)]['get'](_0x692ae9(0x21c)))!=null?_0x1b3c67:'','function':_0x5500c2,'unitId':_0x3c3848[_0x692ae9(0x153)](),'argsOfFunction':JSON[_0x692ae9(0x2c3)](_0x1dfaa1),'invokeId':(_0x46e2f5=_0x4dd11c['invokeId'])!=null?_0x46e2f5:'','executionId':(_0x3f83b9=_0x4dd11c[_0x692ae9(0xbc)])!=null?_0x3f83b9:''};try{const _0x4d8fc8=await this[_0x692ae9(0x28d)][_0x692ae9(0x13d)](_0x71561c,{'body':_0x5f01aa});return _0x4d8fc8[_0x692ae9(0x125)][_0x692ae9(0x33f)]&&_0x4d8fc8[_0x692ae9(0x125)][_0x692ae9(0x33f)][_0x692ae9(0x2d5)]!==_0x4dd6a3['OK']?_0x692ae9(0x2ef):_0x4d8fc8[_0x692ae9(0x125)][_0x692ae9(0x231)];}catch{return _0x692ae9(0x2ef);}}},_0x4d2e9d['RemoteUniscriptService']=_0x22a806([_0x1ceeba(0x0,_0x370994['IUniverInstanceService']),_0x1ceeba(0x1,_0x370994[_0x1bfd40(0x306)](_0x1af224[_0x1bfd40(0x1e6)])),_0x1ceeba(0x2,_0x370994['IConfigService'])],_0x4d2e9d[_0x1bfd40(0x2d8)]);const _0x51762e=0x7530,_0x2d71b2=_0x1bfd40(0x23a);class _0x4fa6e2 extends _0x370994[_0x1bfd40(0x227)]{constructor(){const _0x3a070f=_0x1bfd40;super(),_0x2ab701(this,_0x3a070f(0x11f),_0x370994[_0x3a070f(0x11b)]()),_0x2ab701(this,_0x3a070f(0x2ec),new Set()),_0x2ab701(this,'_unitOnClients',new Map()),_0x2ab701(this,'_heartbeatTimer',null),_0x2ab701(this,_0x3a070f(0xf0),new Map()),_0x2ab701(this,_0x3a070f(0xc5),new Map()),this[_0x3a070f(0x150)]();}[_0x1bfd40(0x311)](){const _0x3daa49=_0x1bfd40;super[_0x3daa49(0x311)](),this[_0x3daa49(0xf0)][_0x3daa49(0x113)]((_0x4ae99c,_0x1405f1)=>this['_removeClearOtherTimer'](_0x1405f1)),this[_0x3daa49(0x314)]&&window[_0x3daa49(0x10e)](this[_0x3daa49(0x314)]);}[_0x1bfd40(0x320)](_0x549e19){const _0x402ee7=_0x1bfd40;return this[_0x402ee7(0x2a2)](_0x549e19)['pipe'](_0x4fbf49['distinctUntilChanged']());}['editingUnit'](_0x53e946){const _0x1c2b3c=_0x1bfd40;this[_0x1c2b3c(0x2ec)][_0x1c2b3c(0x1e3)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x53e946),this['_send']({'type':0x0,'memberID':this[_0x1c2b3c(0x11f)],'unitIDs':[_0x53e946],'isForwarded':!0x1});}[_0x1bfd40(0x18a)](_0x5326ac){const _0x1274ec=_0x1bfd40;this['_selfUnitIDs'][_0x1274ec(0x301)](_0x5326ac),this[_0x1274ec(0x2ec)][_0x1274ec(0x1e3)]===0x0&&this[_0x1274ec(0x314)]&&window[_0x1274ec(0x10e)](this[_0x1274ec(0x314)]);}[_0x1bfd40(0x150)](){const _0xbc7f80=_0x1bfd40;this[_0xbc7f80(0x315)](_0x370994[_0xbc7f80(0x1cd)](_0x4fbf49[_0xbc7f80(0xbe)](window,'storage')[_0xbc7f80(0x1e8)](_0xa0e39c=>{const _0x48d5d4=_0xbc7f80;if(_0xa0e39c[_0x48d5d4(0xe9)]!==_0x2d71b2||!_0xa0e39c[_0x48d5d4(0x2e1)])return;const _0xf55cef=JSON['parse'](_0xa0e39c[_0x48d5d4(0x2e1)]);this[_0x48d5d4(0x2df)](_0xf55cef);}))),window['addEventListener'](_0xbc7f80(0x1eb),()=>this['_send']({'type':0x1,'memberID':this[_0xbc7f80(0x11f)],'unitIDs':Array[_0xbc7f80(0x17d)](this[_0xbc7f80(0x2ec)])}));}['_handleEvent'](_0x5681ee){const _0x6e739f=_0x1bfd40;switch(_0x5681ee[_0x6e739f(0x299)]){case 0x0:this[_0x6e739f(0x1a6)](_0x5681ee);break;case 0x1:this['_handleLeaveEvent'](_0x5681ee);break;case 0x2:this[_0x6e739f(0x1d2)](_0x5681ee);break;}}['_handleJoinEvent'](_0x331787){const _0x215812=_0x1bfd40,{unitIDs:_0xc80d7b,memberID:_0x5361e3,isForwarded:_0x510d57}=_0x331787;_0xc80d7b[_0x215812(0x113)](_0x2e30b2=>{const _0x2a931c=_0x215812;if(!_0x510d57&&this[_0x2a931c(0x124)][_0x2a931c(0x2b6)](_0x2e30b2)&&this[_0x2a931c(0x2a2)](_0x2e30b2)[_0x2a931c(0x34b)](_0x51eeb3[_0x2a931c(0xf1)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x2a931c(0x2b6)](_0x2e30b2)||!this[_0x2a931c(0x124)][_0x2a931c(0x10f)](_0x2e30b2)['has'](_0x5361e3)){const _0x1cb719=this['_unitOnClients']['get'](_0x2e30b2)||new Set();_0x1cb719['add'](_0x5361e3),this[_0x2a931c(0x124)]['set'](_0x2e30b2,_0x1cb719),this['_scheduleClearOtherTimer'](_0x5361e3);}}),_0x510d57||this['_send']({'type':0x0,'memberID':this[_0x215812(0x11f)],'unitIDs':[...this[_0x215812(0x2ec)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x62a43d){const _0x124d88=_0x1bfd40;this['_removeClearOtherTimer'](_0x62a43d);const _0x2fcdd1=window[_0x124d88(0x2f4)](()=>{const _0x5b8fae=_0x124d88;this[_0x5b8fae(0x124)]['forEach'](_0x534a64=>{const _0x4f953a=_0x5b8fae;_0x534a64[_0x4f953a(0x301)](_0x62a43d);});},_0x51762e*0x2);this['_clearOtherTimers'][_0x124d88(0x2dd)](_0x62a43d,_0x2fcdd1);}['_removeClearOtherTimer'](_0x9ace00){const _0x2edeea=_0x1bfd40;if(this[_0x2edeea(0xf0)][_0x2edeea(0x2b6)](_0x9ace00)){const _0x4313ec=this[_0x2edeea(0xf0)][_0x2edeea(0x10f)](_0x9ace00);_0x4313ec&&window['clearTimeout'](_0x4313ec),this[_0x2edeea(0xf0)][_0x2edeea(0x2dd)](_0x9ace00,null);}}[_0x1bfd40(0x24a)](_0x5dcacf){const _0x308208=_0x1bfd40,{memberID:_0x532f29,unitIDs:_0x3a1f52}=_0x5dcacf;_0x3a1f52[_0x308208(0x113)](_0xf90525=>{const _0x6d6289=_0x308208;var _0x25edcf;const _0x205bea=this[_0x6d6289(0x124)]['get'](_0xf90525);_0x205bea&&(_0x205bea[_0x6d6289(0x301)](_0x532f29),(_0x25edcf=this[_0x6d6289(0x2a2)](_0xf90525))==null||_0x25edcf[_0x6d6289(0x34b)](_0x205bea[_0x6d6289(0x1e3)]===0x0?_0x51eeb3[_0x6d6289(0xf1)][_0x6d6289(0x1d7)]:_0x51eeb3[_0x6d6289(0xf1)][_0x6d6289(0x26d)]));}),this['_removeClearOtherTimer'](_0x532f29);}[_0x1bfd40(0x1d2)](_0x3a7622){const _0x4cfef8=_0x1bfd40;this[_0x4cfef8(0x1ab)](_0x3a7622[_0x4cfef8(0xb6)]);}['_send'](_0x1cf2a1){const _0xafd61e=_0x1bfd40;localStorage[_0xafd61e(0xdb)](_0x2d71b2,JSON[_0xafd61e(0x2c3)](_0x1cf2a1));}[_0x1bfd40(0x2e0)](){const _0x5ec953=_0x1bfd40;this[_0x5ec953(0x314)]=window[_0x5ec953(0x1a4)](()=>{const _0x49cb07=_0x5ec953;this['_send']({'type':0x2,'memberID':this[_0x49cb07(0x11f)]});},_0x51762e);}[_0x1bfd40(0x2a2)](_0x3a94b4){const _0x1c44df=_0x1bfd40;return this['_unitStatus'][_0x1c44df(0x2b6)](_0x3a94b4)||this[_0x1c44df(0xc5)]['set'](_0x3a94b4,new _0x4fbf49[(_0x1c44df(0x16f))](_0x51eeb3[_0x1c44df(0xf1)][_0x1c44df(0x1d7)])),this[_0x1c44df(0xc5)][_0x1c44df(0x10f)](_0x3a94b4);}}_0x4d2e9d[_0x1bfd40(0x133)]=_0x23c775,_0x4d2e9d[_0x1bfd40(0x140)]=_0x3b4969,_0x4d2e9d['WebBrowserSingleActiveUnitService']=_0x4fa6e2,_0x4d2e9d[_0x1bfd40(0x1ae)]=_0x465690,Object[_0x1bfd40(0x1d8)](_0x4d2e9d,Symbol[_0x1bfd40(0x1ce)],{'value':'Module'});}));