@univerjs-pro/collaboration-client-ui 0.10.6-nightly.202509060724 → 0.10.6-nightly.202509060832

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 +15 -15
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x1c97(_0x506868,_0x5e1a16){const _0x224488=_0x2244();return _0x1c97=function(_0x1c974a,_0x51628d){_0x1c974a=_0x1c974a-0xba;let _0x5823b3=_0x224488[_0x1c974a];return _0x5823b3;},_0x1c97(_0x506868,_0x5e1a16);}const _0x491b18=_0x1c97;(function(_0x3a2cb0,_0x5c0bd3){const _0x3c8556=_0x1c97,_0x315897=_0x3a2cb0();while(!![]){try{const _0x9b5f5c=parseInt(_0x3c8556(0xc2))/0x1+-parseInt(_0x3c8556(0xbd))/0x2*(-parseInt(_0x3c8556(0xc5))/0x3)+-parseInt(_0x3c8556(0xba))/0x4+-parseInt(_0x3c8556(0xbc))/0x5+parseInt(_0x3c8556(0xbb))/0x6*(-parseInt(_0x3c8556(0xc7))/0x7)+parseInt(_0x3c8556(0xc6))/0x8*(-parseInt(_0x3c8556(0xc1))/0x9)+-parseInt(_0x3c8556(0xbe))/0xa*(-parseInt(_0x3c8556(0xc8))/0xb);if(_0x9b5f5c===_0x5c0bd3)break;else _0x315897['push'](_0x315897['shift']());}catch(_0x462de6){_0x315897['push'](_0x315897['shift']());}}}(_0x2244,0xa54bf));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e[_0x491b18(0xc3)]{['runOnServer'](_0x383acb,_0x440b01,..._0x58d2da){const _0x2b00e1=_0x491b18;return this[_0x2b00e1(0xc0)][_0x2b00e1(0xbf)](t['RemoteUniscriptService'])['runOnServer'](_0x383acb,_0x440b01,{},..._0x58d2da);}}function _0x2244(){const _0x21ca7c=['734992bbBeAE','43967blqBrj','11ylENmR','3994624MkfSKa','6wdYRXs','1532565ygEkjp','344IMyeaG','8348860EWVLZE','get','_injector','72BWBTly','1017431TkVuLT','FUniver','extend','15195XhEhHI'];_0x2244=function(){return _0x21ca7c;};return _0x2244();}e['FUniver'][_0x491b18(0xc4)](c);
1
+ 'use strict';const _0x1148ac=_0xedc9;function _0xedc9(_0x36ad97,_0x1612db){const _0x53b8ce=_0x53b8();return _0xedc9=function(_0xedc980,_0x10f630){_0xedc980=_0xedc980-0x18c;let _0x16bec8=_0x53b8ce[_0xedc980];return _0x16bec8;},_0xedc9(_0x36ad97,_0x1612db);}(function(_0x9491be,_0x23bdd4){const _0x388ecd=_0xedc9,_0x182197=_0x9491be();while(!![]){try{const _0x14eb24=-parseInt(_0x388ecd(0x195))/0x1*(parseInt(_0x388ecd(0x192))/0x2)+parseInt(_0x388ecd(0x18c))/0x3+-parseInt(_0x388ecd(0x194))/0x4+-parseInt(_0x388ecd(0x198))/0x5+parseInt(_0x388ecd(0x197))/0x6*(parseInt(_0x388ecd(0x190))/0x7)+-parseInt(_0x388ecd(0x18e))/0x8+parseInt(_0x388ecd(0x193))/0x9;if(_0x14eb24===_0x23bdd4)break;else _0x182197['push'](_0x182197['shift']());}catch(_0x1dff21){_0x182197['push'](_0x182197['shift']());}}}(_0x53b8,0xb282f));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e['FUniver']{['runOnServer'](_0x4679fb,_0x3aaaad,..._0x2044ea){const _0x503a4b=_0xedc9;return this[_0x503a4b(0x196)][_0x503a4b(0x18f)](t['RemoteUniscriptService'])[_0x503a4b(0x18d)](_0x4679fb,_0x3aaaad,{},..._0x2044ea);}}e['FUniver'][_0x1148ac(0x191)](c);function _0x53b8(){const _0x1378a2=['extend','14834yLpqbE','11379276SvwSUF','3556320fPzXsc','6ecpOVO','_injector','6BczzXs','161010QdSnXS','580815fqGEnx','runOnServer','796456RAllOO','get','2369885sVkujx'];_0x53b8=function(){return _0x1378a2;};return _0x53b8();}
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3e4096=_0x6398;(function(_0x2aa07a,_0x24f14b){const _0x433529=_0x6398,_0x5ec09b=_0x2aa07a();while(!![]){try{const _0x2b49f2=-parseInt(_0x433529(0x34b))/0x1+parseInt(_0x433529(0x2f0))/0x2+parseInt(_0x433529(0x2b8))/0x3+parseInt(_0x433529(0x196))/0x4*(parseInt(_0x433529(0x1ba))/0x5)+parseInt(_0x433529(0x1ce))/0x6*(parseInt(_0x433529(0x2c1))/0x7)+-parseInt(_0x433529(0x319))/0x8+-parseInt(_0x433529(0x2db))/0x9*(parseInt(_0x433529(0x2d8))/0xa);if(_0x2b49f2===_0x24f14b)break;else _0x5ec09b['push'](_0x5ec09b['shift']());}catch(_0x4b4b28){_0x5ec09b['push'](_0x5ec09b['shift']());}}}(_0x5253,0xcce3c));var We=Object[_0x3e4096(0x262)],Ve=(_0x44a05f,_0x554152,_0x198241)=>_0x554152 in _0x44a05f?We(_0x44a05f,_0x554152,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x198241}):_0x44a05f[_0x554152]=_0x198241,h=(_0x600c51,_0x4467b1,_0x189ad4)=>Ve(_0x600c51,typeof _0x4467b1!=_0x3e4096(0x201)?_0x4467b1+'':_0x4467b1,_0x189ad4);Object[_0x3e4096(0x262)](exports,Symbol[_0x3e4096(0x162)],{'value':'Module'});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0x168691=_0x3e4096;return b=Object[_0x168691(0x371)]||function(_0x147f84){const _0x3f7b07=_0x168691;for(var _0xf9a1be,_0x46084e=0x1,_0x269f75=arguments[_0x3f7b07(0x20a)];_0x46084e<_0x269f75;_0x46084e++){_0xf9a1be=arguments[_0x46084e];for(var _0xca6940 in _0xf9a1be)Object[_0x3f7b07(0x1c6)][_0x3f7b07(0x311)]['call'](_0xf9a1be,_0xca6940)&&(_0x147f84[_0xca6940]=_0xf9a1be[_0xca6940]);}return _0x147f84;},b[_0x168691(0x184)](this,arguments);},Ke=function(_0x3a1df1,_0x163390){const _0x393f5c=_0x3e4096;var _0x5eed2e={};for(var _0x19de1f in _0x3a1df1)Object[_0x393f5c(0x1c6)]['hasOwnProperty'][_0x393f5c(0x38e)](_0x3a1df1,_0x19de1f)&&_0x163390[_0x393f5c(0x242)](_0x19de1f)<0x0&&(_0x5eed2e[_0x19de1f]=_0x3a1df1[_0x19de1f]);if(_0x3a1df1!=null&&typeof Object[_0x393f5c(0x33b)]==_0x393f5c(0x152)){for(var _0x55cab0=0x0,_0x19de1f=Object[_0x393f5c(0x33b)](_0x3a1df1);_0x55cab0<_0x19de1f['length'];_0x55cab0++)_0x163390['indexOf'](_0x19de1f[_0x55cab0])<0x0&&Object['prototype'][_0x393f5c(0x1c8)]['call'](_0x3a1df1,_0x19de1f[_0x55cab0])&&(_0x5eed2e[_0x19de1f[_0x55cab0]]=_0x3a1df1[_0x19de1f[_0x55cab0]]);}return _0x5eed2e;},ge=M[_0x3e4096(0x329)](function(_0x1d22c3,_0x38c891){const _0x548a70=_0x3e4096;var _0x59bf1f=_0x1d22c3[_0x548a70(0x173)],_0x2c13ed=_0x1d22c3['id'],_0x3656ac=_0x1d22c3[_0x548a70(0x205)],_0x111ad3=_0x1d22c3[_0x548a70(0x193)],_0x14b09c=Ke(_0x1d22c3,['icon','id',_0x548a70(0x205),_0x548a70(0x193)]),_0x528267='univerjs-icon\x20univerjs-icon-'[_0x548a70(0x254)](_0x2c13ed,'\x20')[_0x548a70(0x254)](_0x3656ac||'')[_0x548a70(0x2e4)](),_0x2cb66f=M[_0x548a70(0x2df)]('_'[_0x548a70(0x254)](Je()));return Pe(_0x59bf1f,''[_0x548a70(0x254)](_0x2c13ed),{'defIds':_0x59bf1f[_0x548a70(0x2da)],'idSuffix':_0x2cb66f[_0x548a70(0x2be)]},b({'ref':_0x38c891,'className':_0x528267},_0x14b09c),_0x111ad3);});function Pe(_0x5eb1ef,_0x28ac7c,_0x4dfd80,_0x510cde,_0x3ca009){const _0x381545=_0x3e4096;return M[_0x381545(0x1a1)](_0x5eb1ef[_0x381545(0x271)],b(b({'key':_0x28ac7c},qe(_0x5eb1ef,_0x4dfd80,_0x3ca009)),_0x510cde),(ze(_0x5eb1ef,_0x4dfd80)[_0x381545(0x34e)]||[])['map'](function(_0x51f972,_0x30156b){const _0x539731=_0x381545;return Pe(_0x51f972,''['concat'](_0x28ac7c,'-')[_0x539731(0x254)](_0x5eb1ef['tag'],'-')[_0x539731(0x254)](_0x30156b),_0x4dfd80,void 0x0,_0x3ca009);}));}function qe(_0x2e641b,_0x3513e5,_0xe77cb4){const _0x581d6f=_0x3e4096;var _0x43e337=b({},_0x2e641b[_0x581d6f(0x1d3)]);_0xe77cb4!=null&&_0xe77cb4[_0x581d6f(0x37a)]&&_0x43e337[_0x581d6f(0x372)]===_0x581d6f(0x37a)&&(_0x43e337[_0x581d6f(0x372)]=_0xe77cb4['colorChannel1']),_0x2e641b[_0x581d6f(0x271)]==='mask'&&_0x43e337['id']&&(_0x43e337['id']=_0x43e337['id']+_0x3513e5[_0x581d6f(0x2d6)]),Object[_0x581d6f(0x1bc)](_0x43e337)[_0x581d6f(0x268)](function(_0x57d0e4){const _0x2eabbe=_0x581d6f;var _0x58ec1a=_0x57d0e4[0x0],_0x4670bf=_0x57d0e4[0x1];_0x58ec1a===_0x2eabbe(0x3cc)&&typeof _0x4670bf==_0x2eabbe(0x33d)&&(_0x43e337[_0x58ec1a]=_0x4670bf[_0x2eabbe(0x218)](/url\(#(.*)\)/,_0x2eabbe(0x1a8)[_0x2eabbe(0x254)](_0x3513e5[_0x2eabbe(0x2d6)],')')));});var _0x845c10=_0x3513e5[_0x581d6f(0x2da)];return!_0x845c10||_0x845c10[_0x581d6f(0x20a)]===0x0||(_0x2e641b[_0x581d6f(0x271)]==='use'&&_0x43e337[_0x581d6f(0x224)]&&(_0x43e337[_0x581d6f(0x224)]=_0x43e337['xlink:href']+_0x3513e5[_0x581d6f(0x2d6)]),Object[_0x581d6f(0x1bc)](_0x43e337)[_0x581d6f(0x268)](function(_0x16dc12){const _0x92df8=_0x581d6f;var _0x292212=_0x16dc12[0x0],_0x3792b8=_0x16dc12[0x1];typeof _0x3792b8==_0x92df8(0x33d)&&(_0x43e337[_0x292212]=_0x3792b8['replace'](/url\(#(.*)\)/,'url(#$1'[_0x92df8(0x254)](_0x3513e5[_0x92df8(0x2d6)],')')));})),_0x43e337;}function ze(_0x294a82,_0x54c550){const _0x28c9b9=_0x3e4096;var _0x4dc7a0,_0x392ce9=_0x54c550[_0x28c9b9(0x2da)];return!_0x392ce9||_0x392ce9['length']===0x0?_0x294a82:_0x294a82[_0x28c9b9(0x271)]===_0x28c9b9(0x289)&&(!((_0x4dc7a0=_0x294a82[_0x28c9b9(0x34e)])===null||_0x4dc7a0===void 0x0)&&_0x4dc7a0[_0x28c9b9(0x20a)])?b(b({},_0x294a82),{'children':_0x294a82[_0x28c9b9(0x34e)][_0x28c9b9(0x399)](function(_0x2692b0){const _0x2c7017=_0x28c9b9;return typeof _0x2692b0[_0x2c7017(0x1d3)]['id']==_0x2c7017(0x33d)&&_0x392ce9&&_0x392ce9[_0x2c7017(0x373)](_0x2692b0[_0x2c7017(0x1d3)]['id'])?b(b({},_0x2692b0),{'attrs':b(b({},_0x2692b0[_0x2c7017(0x1d3)]),{'id':_0x2692b0[_0x2c7017(0x1d3)]['id']+_0x54c550[_0x2c7017(0x2d6)]})}):_0x2692b0;})}):_0x294a82;}function Je(){const _0x3e2a99=_0x3e4096;return Math['random']()['toString'](0x24)[_0x3e2a99(0x187)](0x2,0x8);}ge['displayName']=_0x3e4096(0x26a);var Ze={'tag':_0x3e4096(0x3a2),'attrs':{'xmlns':_0x3e4096(0x26b),'fill':_0x3e4096(0x1f2),'viewBox':_0x3e4096(0x3b6),'width':_0x3e4096(0x174),'height':_0x3e4096(0x174)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e4096(0x35e)},'children':[{'tag':_0x3e4096(0x36f),'attrs':{'stroke':'currentColor','d':_0x3e4096(0x2d7),'strokeLinecap':'round','strokeLinejoin':_0x3e4096(0x188),'strokeWidth':1.2}}]},{'tag':_0x3e4096(0x289),'attrs':{},'children':[{'tag':_0x3e4096(0x359),'attrs':{'id':_0x3e4096(0x33c)},'children':[{'tag':_0x3e4096(0x36f),'attrs':{'fill':_0x3e4096(0x354),'d':_0x3e4096(0x22e)}}]}]}],'defIds':[_0x3e4096(0x33c)]},we=M[_0x3e4096(0x329)](function(_0x2f1aa8,_0x399771){const _0x1ccc21=_0x3e4096;return M[_0x1ccc21(0x1a1)](ge,Object[_0x1ccc21(0x371)]({},_0x2f1aa8,{'id':_0x1ccc21(0x19f),'ref':_0x399771,'icon':Ze}));});we['displayName']=_0x3e4096(0x1f5);var Qe={'tag':_0x3e4096(0x3a2),'attrs':{'xmlns':_0x3e4096(0x26b),'fill':_0x3e4096(0x1f2),'viewBox':_0x3e4096(0x34a),'width':_0x3e4096(0x174),'height':_0x3e4096(0x174)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e4096(0x3a0)},'children':[{'tag':_0x3e4096(0x36f),'attrs':{'stroke':_0x3e4096(0x285),'d':_0x3e4096(0x15c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3e4096(0x289),'attrs':{},'children':[{'tag':_0x3e4096(0x359),'attrs':{'id':_0x3e4096(0x336)},'children':[{'tag':_0x3e4096(0x36f),'attrs':{'fill':'white','d':_0x3e4096(0x22e),'transform':_0x3e4096(0x1ac)}}]}]}],'defIds':[_0x3e4096(0x336)]},Ae=M[_0x3e4096(0x329)](function(_0x1e6aed,_0x456afb){const _0x3c7185=_0x3e4096;return M['createElement'](ge,Object[_0x3c7185(0x371)]({},_0x1e6aed,{'id':'on-line-icon','ref':_0x456afb,'icon':Qe}));});Ae[_0x3e4096(0x2ee)]=_0x3e4096(0x376);function et(_0x4b1817){const _0x298a61=_0x3e4096;switch(_0x4b1817){case u['CollaborationStatus'][_0x298a61(0x226)]:return _0x298a61(0x2c8);case u['CollaborationStatus']['CONFLICT']:return _0x298a61(0x2dd);case u[_0x298a61(0x2fc)]['FETCH_MISS']:return _0x298a61(0x2c9);case u[_0x298a61(0x2fc)]['NOT_COLLAB']:return _0x298a61(0x34f);case u[_0x298a61(0x2fc)][_0x298a61(0x204)]:case u[_0x298a61(0x2fc)][_0x298a61(0x2a3)]:return _0x298a61(0x18a);case u[_0x298a61(0x2fc)][_0x298a61(0x17b)]:case u[_0x298a61(0x2fc)]['PENDING']:return _0x298a61(0x28f);}}function tt(_0xe1de3b){const _0x55e577=_0x3e4096,{status$:_0x4816dd}=_0xe1de3b,_0x34652f=O['useObservable'](_0x4816dd,u[_0x55e577(0x2fc)]['NOT_COLLAB']),_0xa2852d=O['useDependency'](a['LocaleService']),_0x1bb681=O['useDependency'](u['CollaborationSessionService']),_0x224953=_0x34652f!==u[_0x55e577(0x2fc)][_0x55e577(0x226)],_0x25c8dd=_0xa2852d['t'](et(_0x34652f)),_0x59811d=_0x224953?P['jsx'](Ae,{}):P[_0x55e577(0x3a3)](we,{}),_0x44606b=M[_0x55e577(0x21a)](()=>{_0x224953||_0x1bb681['reconnect']();},[_0x224953,_0x1bb681]);function _0x38de4d(){const _0x4b2a45=_0x55e577;return P[_0x4b2a45(0x19c)]('div',{'className':_0x4b2a45(0x2d9),'onClick':_0x44606b,'children':[P['jsx'](_0x4b2a45(0x1a7),{'className':D[_0x4b2a45(0x1e1)](_0x4b2a45(0x2f5),{'univer-text-green-500':_0x224953,'univer-text-red-500':!_0x224953}),'children':_0x59811d}),P[_0x4b2a45(0x3a3)](_0x4b2a45(0x1a7),{'className':_0x4b2a45(0x248),'children':_0x25c8dd})]});}return _0x224953?_0x38de4d():P[_0x55e577(0x3a3)](D['Tooltip'],{'title':_0xa2852d['t'](_0x55e577(0x299)),'children':_0x38de4d()});}var st=Object[_0x3e4096(0x2e2)],it=(_0x158b81,_0x1cbd36,_0x32605c,_0x1d8ba0)=>{const _0x892a00=_0x3e4096;for(var _0x5ee0e2=_0x1d8ba0>0x1?void 0x0:_0x1d8ba0?st(_0x1cbd36,_0x32605c):_0x1cbd36,_0x2f5a05=_0x158b81[_0x892a00(0x20a)]-0x1,_0x1e51c5;_0x2f5a05>=0x0;_0x2f5a05--)(_0x1e51c5=_0x158b81[_0x2f5a05])&&(_0x5ee0e2=_0x1e51c5(_0x5ee0e2)||_0x5ee0e2);return _0x5ee0e2;},V=(_0x2c22c3,_0x37ee3c)=>(_0x279632,_0xc308d5)=>_0x37ee3c(_0x279632,_0xc308d5,_0x2c22c3);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x1b01ff,_0x3b6d75,_0x149384,_0x1bc669){const _0x3898ba=_0x3e4096;super(),h(this,'_status$',new d['BehaviorSubject'](u[_0x3898ba(0x2fc)][_0x3898ba(0x3a4)])),(this[_0x3898ba(0x22a)]=_0x1b01ff,this[_0x3898ba(0x37b)]=_0x3b6d75,this[_0x3898ba(0x1eb)]=_0x149384,this[_0x3898ba(0x337)]=_0x1bc669,this['_initStatusComponent'](),this[_0x3898ba(0x333)]());}[_0x3e4096(0x333)](){const _0x9bb844=_0x3e4096;this[_0x9bb844(0x2c2)](this[_0x9bb844(0x22a)][_0x9bb844(0x157)][_0x9bb844(0x2a0)](d['switchMap'](()=>{const _0x1548ba=_0x9bb844,_0x527c80=this[_0x1548ba(0x22a)]['getFocusedUnit']();return _0x527c80?this[_0x1548ba(0x1eb)][_0x1548ba(0x2f3)](_0x527c80[_0x1548ba(0x227)]()):d['of'](null);}),d[_0x9bb844(0x2d4)](_0x5b79bd=>_0x5b79bd?_0x5b79bd[_0x9bb844(0x178)]:d['of'](u['CollaborationStatus'][_0x9bb844(0x3a4)])))['subscribe'](_0x233f64=>{const _0x4e0179=_0x9bb844;this[_0x4e0179(0x272)][_0x4e0179(0x2f4)](_0x233f64);}));}[_0x3e4096(0x263)](){const _0x18ccb5=_0x3e4096;this[_0x18ccb5(0x2c2)](this[_0x18ccb5(0x337)]['registerComponent'](O['BuiltInUIPart']['HEADER_MENU'],()=>O['connectInjector'](nt({'status$':this[_0x18ccb5(0x272)][_0x18ccb5(0x1cf)]()}),this[_0x18ccb5(0x37b)])));}},exports[_0x3e4096(0x25b)]=it([V(0x0,a[_0x3e4096(0x3ac)]),V(0x1,a[_0x3e4096(0x3ca)](a['Injector'])),V(0x2,a[_0x3e4096(0x3ca)](u[_0x3e4096(0x18e)])),V(0x3,O[_0x3e4096(0x16b)])],exports[_0x3e4096(0x25b)]);function nt(_0x54f383){const {status$:_0x50f85b}=_0x54f383;return function(){const _0x42ffea=_0x6398;return P[_0x42ffea(0x3a3)](tt,{'status$':_0x50f85b});};}const me=a[_0x3e4096(0x283)](_0x3e4096(0x30d));var rt=Object[_0x3e4096(0x2e2)],ot=(_0xb98adb,_0x50b3b0,_0x505be1,_0x1cfad6)=>{for(var _0x455938=_0x1cfad6>0x1?void 0x0:_0x1cfad6?rt(_0x50b3b0,_0x505be1):_0x50b3b0,_0x4ca68f=_0xb98adb['length']-0x1,_0x19e34e;_0x4ca68f>=0x0;_0x4ca68f--)(_0x19e34e=_0xb98adb[_0x4ca68f])&&(_0x455938=_0x19e34e(_0x455938)||_0x455938);return _0x455938;},k=(_0xd545d3,_0x5770e7)=>(_0x54c263,_0x19e6ac)=>_0x5770e7(_0x54c263,_0x19e6ac,_0xd545d3);exports['CollaborationDataLoaderController']=class extends a[_0x3e4096(0x168)]{constructor(_0x59855b,_0x4f12b1,_0xd6a9fd,_0x3c26e0,_0x36b875){const _0x3d2de0=_0x3e4096;super(),this['_urlService']=_0x59855b,this[_0x3d2de0(0x238)]=_0x4f12b1,this[_0x3d2de0(0x1ee)]=_0xd6a9fd,this[_0x3d2de0(0x34d)]=_0x3c26e0,_0x36b875?_0x36b875==null||_0x36b875[_0x3d2de0(0x362)]()[_0x3d2de0(0x264)](()=>this[_0x3d2de0(0x1e7)]()):(this[_0x3d2de0(0x238)][_0x3d2de0(0x24a)](_0x3d2de0(0x153),_0x3d2de0(0x386)),this['_init']());}async['_init'](){const _0x51a764=_0x3e4096,_0x16b34c=this[_0x51a764(0x267)][_0x51a764(0x265)](_0x51a764(0x18c)),_0x1e0c9d=this[_0x51a764(0x267)]['getParam'](_0x51a764(0x39c)),_0x3a75e3=this[_0x51a764(0x267)][_0x51a764(0x265)](_0x51a764(0x1b3));if(!_0x16b34c||!_0x1e0c9d){this[_0x51a764(0x238)][_0x51a764(0x24a)](_0x51a764(0x153),_0x51a764(0x2b1));return;}const _0x1d9773=await this[_0x51a764(0x34d)][_0x51a764(0x1b8)](_0x16b34c,Number(_0x1e0c9d),_0x3a75e3);_0x1d9773&&_0x1d9773 instanceof a[_0x51a764(0x32f)]&&this['_setupSubUnitSync'](_0x1d9773);}async[_0x3e4096(0x234)](_0x226a6d){const _0x37124a=_0x3e4096;await this[_0x37124a(0x334)](_0x226a6d),_0x226a6d[_0x37124a(0x385)][_0x37124a(0x2a0)](d[_0x37124a(0x3c0)](this[_0x37124a(0x1d0)]))['subscribe'](_0x17cc84=>{const _0x5b730f=_0x37124a;_0x17cc84&&this[_0x5b730f(0x251)](_0x17cc84);}),this[_0x37124a(0x267)][_0x37124a(0x26d)]['pipe'](d[_0x37124a(0x3c0)](this[_0x37124a(0x1d0)]))[_0x37124a(0x290)](()=>this[_0x37124a(0x334)](_0x226a6d));}['_updateURLWithCurrentState'](_0x1bb8d8,_0x100fd3=!0x1){const _0x7aa436=_0x3e4096,_0xfb4e08=this['_urlService']['getParam'](_0x7aa436(0x1b3));_0x1bb8d8[_0x7aa436(0x367)]()!==_0xfb4e08&&this[_0x7aa436(0x267)][_0x7aa436(0x36c)](_0x7aa436(0x1b3),_0x1bb8d8[_0x7aa436(0x367)](),_0x100fd3);}async[_0x3e4096(0x334)](_0x446f9f){const _0xa9062a=_0x3e4096;var _0x278270;const _0x533b3c=this[_0xa9062a(0x267)][_0xa9062a(0x265)]('subunit');if(!_0x533b3c||!_0x446f9f['getSheetBySheetId'](_0x533b3c)){const _0x39d9d1=_0x446f9f[_0xa9062a(0x1a6)]()[0x0],_0x24978c=_0x446f9f[_0xa9062a(0x26e)](_0x39d9d1);if(!_0x24978c)return;this[_0xa9062a(0x251)](_0x24978c,!0x0),await this[_0xa9062a(0x1ee)][_0xa9062a(0x1ff)](g[_0xa9062a(0x16d)]['id'],{'unitId':_0x446f9f[_0xa9062a(0x227)](),'subUnitId':_0x39d9d1});return;}((_0x278270=_0x446f9f[_0xa9062a(0x261)]())==null?void 0x0:_0x278270['getSheetId']())!==_0x533b3c&&await this[_0xa9062a(0x1ee)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x446f9f[_0xa9062a(0x227)](),'subUnitId':_0x533b3c});}},exports[_0x3e4096(0x295)]=ot([k(0x0,me),k(0x1,a[_0x3e4096(0x195)]),k(0x2,a[_0x3e4096(0x18f)]),k(0x3,a[_0x3e4096(0x3ca)](u[_0x3e4096(0x245)])),k(0x4,a['Optional'](Xe[_0x3e4096(0x327)]))],exports[_0x3e4096(0x295)]);var at=Object[_0x3e4096(0x2e2)],ct=(_0x5a8837,_0x2181fa,_0x275b42,_0x30cc7a)=>{const _0x3453f2=_0x3e4096;for(var _0x1f5fda=_0x30cc7a>0x1?void 0x0:_0x30cc7a?at(_0x2181fa,_0x275b42):_0x2181fa,_0x4b81d2=_0x5a8837[_0x3453f2(0x20a)]-0x1,_0x572f46;_0x4b81d2>=0x0;_0x4b81d2--)(_0x572f46=_0x5a8837[_0x4b81d2])&&(_0x1f5fda=_0x572f46(_0x1f5fda)||_0x1f5fda);return _0x1f5fda;},be=(_0x25b90b,_0x4e95be)=>(_0x43756e,_0x49b7a6)=>_0x4e95be(_0x43756e,_0x49b7a6,_0x25b90b);let ue=class extends a['RxDisposable']{constructor(_0x50ac9c,_0x2fb4a1){const _0x43b5c1=_0x3e4096;super(),this['_docClipboardService']=_0x50ac9c,this['_imageIoService']=_0x2fb4a1,this[_0x43b5c1(0x1e7)]();}[_0x3e4096(0x1e7)](){const _0x2503d7=_0x3e4096,_0x4af52b=this;this['disposeWithMe'](this[_0x2503d7(0x3bf)]['addClipboardHook']({'onBeforePasteImage':async _0x3326ea=>{const _0x57f170=_0x2503d7,_0x5774ea=await _0x4af52b[_0x57f170(0x389)][_0x57f170(0x3a9)](_0x3326ea);return _0x5774ea?{'source':_0x5774ea[_0x57f170(0x240)],'imageSourceType':_0x5774ea[_0x57f170(0x2bb)]}:null;}}));}};ue=ct([be(0x0,E[_0x3e4096(0x1b7)]),be(0x1,Ge[_0x3e4096(0x2fb)])],ue);const Oe=['purple.300',_0x3e4096(0x1b9),_0x3e4096(0x15a),'red.300',_0x3e4096(0x343),_0x3e4096(0x16c)];class Ce extends a[_0x3e4096(0x35c)]{constructor(){const _0x1b8929=_0x3e4096;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x1b8929(0x1a4),0x0);}[_0x3e4096(0x2bd)](_0x307da8){const _0x3f525c=_0x3e4096;if(this[_0x3f525c(0x1d1)][_0x3f525c(0x1af)](_0x307da8))return this[_0x3f525c(0x1d1)][_0x3f525c(0x351)](_0x307da8);const _0xc90cae=Oe[this['_colorIndex']];return this[_0x3f525c(0x1a4)]=(this['_colorIndex']+0x1)%Oe[_0x3f525c(0x20a)],this[_0x3f525c(0x1d1)][_0x3f525c(0x369)](_0x307da8,_0xc90cae),_0xc90cae;}}function ye(_0x15e45d){const _0x63775d=_0x3e4096;let _0x4439f1='';for(const _0x403fb8 of _0x15e45d){const {startOffset:_0x1d015b,endOffset:_0x4b6841,isActive:_0x33e312,rangeType:_0x12dba3,segmentId:_0x44e63c,segmentPage:_0x2bd365}=_0x403fb8;_0x4439f1[_0x63775d(0x20a)]&&(_0x4439f1+=','),_0x4439f1+=_0x1d015b+':'+_0x4b6841+':'+(_0x33e312?'1':'0')+':'+_0x12dba3+':'+_0x44e63c+':'+_0x2bd365;}return _0x4439f1;}function lt(_0x4f1403){const _0x1e92fe=_0x3e4096,_0x51d73a=_0x4f1403['split'](','),_0x2e4b0b=[];for(const _0x50d371 of _0x51d73a){const [_0x1caebf,_0x6a7bed,_0x3a4827,_0x45dc3f,_0x31bc50,_0x230ac6]=_0x50d371['split'](':');_0x2e4b0b[_0x1e92fe(0x2b2)]({'startOffset':Number(_0x1caebf),'endOffset':Number(_0x6a7bed),'collapsed':_0x1caebf===_0x6a7bed,'isActive':_0x3a4827==='1','rangeType':_0x45dc3f===a['DOC_RANGE_TYPE']['TEXT']?a['DOC_RANGE_TYPE']['TEXT']:a['DOC_RANGE_TYPE'][_0x1e92fe(0x18d)],'segmentId':typeof _0x31bc50==_0x1e92fe(0x33d)?String(_0x31bc50):'','segmentPage':Number(_0x230ac6!=null?_0x230ac6:-0x1)});}return _0x2e4b0b[_0x1e92fe(0x288)](_0x43ffb2=>_0x43ffb2['isActive'])||(_0x2e4b0b[0x0]['isActive']=!0x0),_0x2e4b0b;}class pe extends a[_0x3e4096(0x168)]{constructor(){const _0x4590ce=_0x3e4096;super(...arguments),h(this,_0x4590ce(0x352),new d[(_0x4590ce(0x1db))](null)),h(this,_0x4590ce(0x2e5),this[_0x4590ce(0x352)][_0x4590ce(0x1cf)]());}[_0x3e4096(0x1fd)](_0x10b98d){const _0x1031b0=_0x3e4096,{unitID:_0x333439,memberID:_0xf81715,textRanges:_0x206a0f}=_0x10b98d,_0x47a545=ye(_0x206a0f);if(_0x47a545==='')return;const _0x210ff0={'unitID':_0x333439,'memberID':_0xf81715,'selection':_0x47a545};this['_collabCursorState$'][_0x1031b0(0x2f4)](_0x210ff0);}}var _t=Object[_0x3e4096(0x2e2)],ht=(_0x54126d,_0x40990e,_0x3c9f47,_0x5e467b)=>{for(var _0x4faa1b=_0x5e467b>0x1?void 0x0:_0x5e467b?_t(_0x40990e,_0x3c9f47):_0x40990e,_0x168266=_0x54126d['length']-0x1,_0x4372e9;_0x168266>=0x0;_0x168266--)(_0x4372e9=_0x54126d[_0x168266])&&(_0x4faa1b=_0x4372e9(_0x4faa1b)||_0x4faa1b);return _0x4faa1b;},L=(_0x48cb8d,_0x24a386)=>(_0x10dc2f,_0x2c027a)=>_0x24a386(_0x10dc2f,_0x2c027a,_0x48cb8d);const ut=0x12c,dt=0x64;let de=class extends a[_0x3e4096(0x168)]{constructor(_0x24b9c4,_0x4601b7,_0x223d57,_0x2ea8f6,_0x4b506f,_0xb323f9,_0x3e02a6,_0x36f225,_0x31305e){const _0x2d3572=_0x3e4096;super(),h(this,'_online',!0x1),h(this,_0x2d3572(0x1e7),!0x1),h(this,_0x2d3572(0x381),new d[(_0x2d3572(0x1db))](new Map())),h(this,_0x2d3572(0x22f),this['_cursorInfo$']['asObservable']()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,'roomMembers$',this[_0x2d3572(0x2fa)]['pipe'](d['debounceTime'](ut))),h(this,'_updateLocalCursor',a[_0x2d3572(0x266)](_0x41800b=>{const _0x354c36=_0x2d3572,_0x2aaa6e={'eventID':m[_0x354c36(0x165)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x354c36(0x397)],'memberID':this[_0x354c36(0x298)][_0x354c36(0x2b9)](),'selection':ye(_0x41800b)}};this['_session'][_0x354c36(0x2d0)](_0x2aaa6e,this[_0x354c36(0x397)]);},dt)),(this[_0x2d3572(0x397)]=_0x24b9c4,this[_0x2d3572(0x298)]=_0x4601b7,this[_0x2d3572(0x37b)]=_0x223d57,this[_0x2d3572(0x2e7)]=_0x2ea8f6,this['_memberService']=_0x4b506f,this['_syncEditingCollabCursorService']=_0xb323f9,this[_0x2d3572(0x323)]=_0x3e02a6,this[_0x2d3572(0x22a)]=_0x36f225,this[_0x2d3572(0x1ee)]=_0x31305e);}get['cursorInfo'](){const _0x26058e=_0x3e4096;return this[_0x26058e(0x381)]['getValue']();}get[_0x3e4096(0x2bf)](){const _0x535e38=_0x3e4096;return this[_0x535e38(0x2fa)][_0x535e38(0x23f)]();}[_0x3e4096(0x296)](){const _0x42fa82=_0x3e4096;super[_0x42fa82(0x296)](),this[_0x42fa82(0x381)]['next'](new Map()),this[_0x42fa82(0x381)][_0x42fa82(0x214)](),this[_0x42fa82(0x2fa)][_0x42fa82(0x2f4)]([]),this['_roomMembers$'][_0x42fa82(0x214)]();}['init'](){const _0xe1735c=_0x3e4096;this[_0xe1735c(0x1e7)]||(this[_0xe1735c(0x1e7)]=!0x0,this[_0xe1735c(0x298)][_0xe1735c(0x33a)][_0xe1735c(0x2a0)](d[_0xe1735c(0x3c0)](this[_0xe1735c(0x1d0)]))[_0xe1735c(0x290)](_0x5345f2=>{const _0x3d4fc2=_0xe1735c;_0x5345f2===u[_0x3d4fc2(0x180)][_0x3d4fc2(0x313)]?this[_0x3d4fc2(0x32d)]():this['_toggleOffline']();}),this['_session'][_0xe1735c(0x1fb)]['pipe'](d[_0xe1735c(0x3c0)](this[_0xe1735c(0x1d0)]))['subscribe'](_0x3b2c94=>{const _0x149a95=_0xe1735c,_0x1ab09f=_0x3b2c94[_0x149a95(0x39d)];_0x1ab09f===m[_0x149a95(0x165)][_0x149a95(0x1f4)]&&this[_0x149a95(0x2ad)](_0x3b2c94),_0x1ab09f===m[_0x149a95(0x165)][_0x149a95(0x377)]&&this[_0x149a95(0x177)](_0x3b2c94);}),this[_0xe1735c(0x2c2)](this['_commandService'][_0xe1735c(0x1b4)](_0x52f80a=>{const _0x5e40e2=_0xe1735c,_0x3ec78a=_0x52f80a['params'];_0x3ec78a!=null&&this[_0x5e40e2(0x281)]&&_0x52f80a['id']===Y[_0x5e40e2(0x21b)]['id']&&_0x3ec78a[_0x5e40e2(0x20c)]===this[_0x5e40e2(0x397)]&&_0x3ec78a[_0x5e40e2(0x31f)]===!0x1&&_0x3ec78a['ranges']['length']>0x0&&this[_0x5e40e2(0x365)](_0x3ec78a[_0x5e40e2(0x217)]);})),this[_0xe1735c(0x20e)][_0xe1735c(0x2e5)][_0xe1735c(0x2a0)](d[_0xe1735c(0x3c0)](this[_0xe1735c(0x1d0)]))[_0xe1735c(0x290)](_0x49500e=>{const _0x56a187=_0xe1735c;if((_0x49500e==null?void 0x0:_0x49500e['unitID'])!==this[_0x56a187(0x397)])return;const _0x4012d8={'eventID':m[_0x56a187(0x165)][_0x56a187(0x1f4)],'data':_0x49500e};this['_onCursorUpdate'](_0x4012d8);}),this['disposeWithMe'](this[_0xe1735c(0x1ee)]['onCommandExecuted'](_0x3f51f5=>{const _0x13cb7f=_0xe1735c;if(_0x3f51f5[_0x13cb7f(0x1bb)]==null)return;const _0xe32ad3=_0x3f51f5['params'];if(_0x3f51f5['id']!==Y[_0x13cb7f(0x186)]['id']||_0xe32ad3['unitId']!==this[_0x13cb7f(0x397)])return;const _0x408b9b={'id':_0x13cb7f(0x1e0),'params':_0xe32ad3},_0xe0e9a6=this[_0x13cb7f(0x30e)];for(const [_0x3a87e2,_0x47b526]of _0xe0e9a6){const _0x4c0685={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x13cb7f(0x397)],'actions':null,'textRanges':_0x47b526[_0x13cb7f(0x217)]}},_0xc991ce=this[_0x13cb7f(0x323)][_0x13cb7f(0x29f)](_0x408b9b,_0x4c0685,!0x1);if(m[_0x13cb7f(0x300)](_0xc991ce))throw _0xc991ce[_0x13cb7f(0x24d)];_0xe0e9a6['set'](_0x3a87e2,{..._0x47b526,'ranges':_0xc991ce['m2Prime'][_0x13cb7f(0x1bb)][_0x13cb7f(0x2f1)]});}queueMicrotask(()=>{const _0x4c01ad=_0x13cb7f;this['_cursorInfo$'][_0x4c01ad(0x2f4)](_0xe0e9a6);});})));}[_0x3e4096(0x2ad)](_0x4d78f4){const _0x43e95a=_0x3e4096;var _0x2878aa,_0x1e3c6f;const {memberID:_0x6fdd22,selection:_0x1075ca}=_0x4d78f4[_0x43e95a(0x1da)],_0x18b5c5=lt(_0x1075ca),_0x3267a2=(_0x1e3c6f=(_0x2878aa=this[_0x43e95a(0x310)][_0x43e95a(0x3aa)](this[_0x43e95a(0x397)],_0x6fdd22))==null?void 0x0:_0x2878aa[_0x43e95a(0x23c)])!=null?_0x1e3c6f:_0x43e95a(0x3bd),_0x4a6b2d={'color':this['_colorAssignService'][_0x43e95a(0x2bd)](_0x6fdd22),'name':_0x3267a2,'ranges':_0x18b5c5},_0x5e8188=this['cursorInfo'];_0x5e8188[_0x43e95a(0x369)](_0x6fdd22,_0x4a6b2d),this[_0x43e95a(0x381)][_0x43e95a(0x2f4)](_0x5e8188);}[_0x3e4096(0x177)](_0x19ed1a){const _0x2b8406=_0x3e4096,{memberID:_0x3dbef8}=_0x19ed1a[_0x2b8406(0x1da)],_0x169135=this['cursorInfo'];_0x169135[_0x2b8406(0x1f8)](_0x3dbef8),this['_cursorInfo$'][_0x2b8406(0x2f4)](_0x169135);}['_toggleOnline'](){const _0x2fd944=_0x3e4096;var _0x2ec440;if(this['_online']=!0x0,((_0x2ec440=this['_univerInstanceService'][_0x2fd944(0x358)]())==null?void 0x0:_0x2ec440[_0x2fd944(0x227)]())!==this[_0x2fd944(0x397)])return;const _0x41ae0b=this[_0x2fd944(0x37b)][_0x2fd944(0x351)](Y[_0x2fd944(0x2de)])[_0x2fd944(0x20b)]();Array[_0x2fd944(0x27a)](_0x41ae0b)&&_0x41ae0b[_0x2fd944(0x20a)]>0x0&&this['_updateLocalCursor'](_0x41ae0b);}['_toggleOffline'](){const _0x53e5b3=_0x3e4096;this[_0x53e5b3(0x281)]=!0x1;}};de=ht([L(0x2,a[_0x3e4096(0x3ca)](a['Injector'])),L(0x3,a['Inject'](Ce)),L(0x4,a['Inject'](u[_0x3e4096(0x29b)])),L(0x5,a[_0x3e4096(0x3ca)](pe)),L(0x6,m['ITransformService']),L(0x7,a[_0x3e4096(0x3ac)]),L(0x8,a[_0x3e4096(0x18f)])],de);var St=Object['getOwnPropertyDescriptor'],ft=(_0x481c95,_0x8d20b5,_0x2f6e20,_0x2897ea)=>{const _0x3e4761=_0x3e4096;for(var _0x500996=_0x2897ea>0x1?void 0x0:_0x2897ea?St(_0x8d20b5,_0x2f6e20):_0x8d20b5,_0x1c96be=_0x481c95[_0x3e4761(0x20a)]-0x1,_0x2034a7;_0x1c96be>=0x0;_0x1c96be--)(_0x2034a7=_0x481c95[_0x1c96be])&&(_0x500996=_0x2034a7(_0x500996)||_0x500996);return _0x500996;},A=(_0x57c49c,_0x55581a)=>(_0x4473d2,_0x1a7951)=>_0x55581a(_0x4473d2,_0x1a7951,_0x57c49c);const It=0x12c,vt=0x64,gt=()=>{let _0xa42d75=[],_0x4e8124=!0x1;return _0x1520c1=>{const _0x4d3523=_0x6398;_0xa42d75[_0x4d3523(0x2b2)](_0x1520c1),_0x4e8124||(_0x4e8124=!0x0,setTimeout(()=>{const _0x2f1e2b=_0x4d3523;_0xa42d75[_0x2f1e2b(0x268)](_0x160f46=>_0x160f46()),_0xa42d75=[],_0x4e8124=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x2a300d,_0x1932c6,_0x53b1ba,_0x35fc8e,_0x10b0cf,_0x83f223,_0x238f41,_0x47c7aa){const _0x5ac3e2=_0x3e4096;super(),h(this,_0x5ac3e2(0x281),!0x1),h(this,_0x5ac3e2(0x1e7),!0x1),h(this,_0x5ac3e2(0x381),new d['BehaviorSubject'](new Map())),h(this,_0x5ac3e2(0x22f),this[_0x5ac3e2(0x381)]['asObservable']()),h(this,_0x5ac3e2(0x2fa),new d[(_0x5ac3e2(0x1db))]([])),h(this,_0x5ac3e2(0x216),this['_roomMembers$'][_0x5ac3e2(0x2a0)](d[_0x5ac3e2(0x19d)](It))),h(this,_0x5ac3e2(0x365),a[_0x5ac3e2(0x266)]((_0x15a40f,_0x10ee53)=>{const _0x298cc6=_0x5ac3e2,_0x17cb8a={'eventID':m[_0x298cc6(0x165)][_0x298cc6(0x1f4)],'data':{'unitID':this[_0x298cc6(0x397)],'memberID':this[_0x298cc6(0x298)][_0x298cc6(0x2b9)](),'selection':Ee[_0x298cc6(0x2b7)](_0x15a40f,_0x10ee53[_0x298cc6(0x315)])}};this[_0x298cc6(0x298)][_0x298cc6(0x2d0)](_0x17cb8a,this[_0x298cc6(0x397)]);},vt)),(this[_0x5ac3e2(0x397)]=_0x2a300d,this[_0x5ac3e2(0x298)]=_0x1932c6,this[_0x5ac3e2(0x37b)]=_0x53b1ba,this[_0x5ac3e2(0x2e7)]=_0x35fc8e,this[_0x5ac3e2(0x310)]=_0x10b0cf,this[_0x5ac3e2(0x22a)]=_0x83f223,this['_commandService']=_0x238f41,this[_0x5ac3e2(0x331)]=_0x47c7aa);}get[_0x3e4096(0x30e)](){const _0x2ff90=_0x3e4096;return this['_cursorInfo$'][_0x2ff90(0x23f)]();}get['roomMembers'](){const _0x405750=_0x3e4096;return this[_0x405750(0x2fa)][_0x405750(0x23f)]();}[_0x3e4096(0x296)](){const _0x45e2c2=_0x3e4096;super[_0x45e2c2(0x296)](),this[_0x45e2c2(0x381)][_0x45e2c2(0x2f4)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x45e2c2(0x2f4)]([]),this['_roomMembers$']['complete']();}[_0x3e4096(0x2ec)](){const _0x20dd01=_0x3e4096;this[_0x20dd01(0x1e7)]||(this[_0x20dd01(0x1e7)]=!0x0,this[_0x20dd01(0x298)][_0x20dd01(0x33a)][_0x20dd01(0x2a0)](d[_0x20dd01(0x3c0)](this[_0x20dd01(0x1d0)]))[_0x20dd01(0x290)](_0x4bfc1e=>{const _0x23bbd0=_0x20dd01;_0x4bfc1e===u['SessionStatus']['ONLINE']?this[_0x23bbd0(0x32d)]():this[_0x23bbd0(0x208)]();}),this[_0x20dd01(0x298)][_0x20dd01(0x1fb)][_0x20dd01(0x2a0)](d['takeUntil'](this[_0x20dd01(0x1d0)]))['subscribe'](_0x518337=>{const _0x235b7a=_0x20dd01,_0x7c965b=_0x518337[_0x235b7a(0x39d)];_0x7c965b===m[_0x235b7a(0x165)]['UPDATE_CURSOR']&&this[_0x235b7a(0x2ad)](_0x518337),_0x7c965b===m[_0x235b7a(0x165)][_0x235b7a(0x377)]&&this[_0x235b7a(0x177)](_0x518337);}),this[_0x20dd01(0x2dc)](),this[_0x20dd01(0x2c2)](this['_commandService'][_0x20dd01(0x1b4)](_0x22f223=>{const _0x39fd9c=_0x20dd01;if(this['_online']&&_0x22f223['id']===g[_0x39fd9c(0x3a7)]['id']&&_0x22f223[_0x39fd9c(0x1bb)][_0x39fd9c(0x20c)]===this[_0x39fd9c(0x397)]){const _0x1c0b14=_0x22f223['params'];this['_updateLocalCursor'](_0x1c0b14[_0x39fd9c(0x3ab)],_0x1c0b14[_0x39fd9c(0x396)][0x0]);}})));}[_0x3e4096(0x2ad)](_0x2ceed5){const _0x5e1218=_0x3e4096;var _0x360e1b,_0x30b73d;const {memberID:_0x5e4d0b,selection:_0x1c2197}=_0x2ceed5[_0x5e1218(0x1da)],{sheetName:_0x416f06,range:_0x258639}=Ee[_0x5e1218(0x394)](_0x1c2197),_0x35c2e4={'name':(_0x30b73d=(_0x360e1b=this['_memberService'][_0x5e1218(0x3aa)](this['unitID'],_0x5e4d0b))==null?void 0x0:_0x360e1b[_0x5e1218(0x23c)])!=null?_0x30b73d:'Unknown\x20user','range':this[_0x5e1218(0x29d)](_0x416f06,_0x258639),'sheetID':_0x416f06,'color':this['_colorAssignService'][_0x5e1218(0x2bd)](_0x5e4d0b),'selection':_0x1c2197},_0x12d1af=this[_0x5e1218(0x30e)];_0x12d1af[_0x5e1218(0x369)](_0x5e4d0b,_0x35c2e4),this[_0x5e1218(0x381)][_0x5e1218(0x2f4)](_0x12d1af);}[_0x3e4096(0x177)](_0x57a87c){const _0x57f2fe=_0x3e4096,{memberID:_0x419d16}=_0x57a87c[_0x57f2fe(0x1da)],_0x3fb7b6=this[_0x57f2fe(0x30e)];_0x3fb7b6['delete'](_0x419d16),this[_0x57f2fe(0x381)][_0x57f2fe(0x2f4)](_0x3fb7b6);}['_getMergeRange'](_0x5b690a,_0x57a21a){const _0x5932e2=_0x3e4096;var _0xf7c698,_0x42767e;const _0x1d4b94=(_0x42767e=(_0xf7c698=this[_0x5932e2(0x22a)][_0x5932e2(0x1de)](this['unitID']))==null?void 0x0:_0xf7c698[_0x5932e2(0x26e)](_0x5b690a))==null?void 0x0:_0x42767e[_0x5932e2(0x2d3)]();return(_0x1d4b94==null?void 0x0:_0x1d4b94[_0x5932e2(0x2ff)](_0x4b987f=>a['Rectangle'][_0x5932e2(0x256)](_0x4b987f,_0x57a21a)))||_0x57a21a;}[_0x3e4096(0x2dc)](){const _0x42147d=_0x3e4096,_0x815290=new a['DisposableCollection'](),_0x1fa97d=gt(),_0x2f5533=()=>{const _0x3da54f=_0x6398;_0x815290[_0x3da54f(0x296)]();const _0x31e595=(_0x4bd140,_0xbca8d4,_0x2aa084,_0x473ce0)=>{const _0x46c1fb=_0x3da54f;let _0x522f9a=[];switch(_0x4bd140['id']){case g['EffectRefRangId'][_0x46c1fb(0x2bc)]:{_0x522f9a=g[_0x46c1fb(0x2a9)](_0x4bd140,_0x473ce0);break;}case g['EffectRefRangId'][_0x46c1fb(0x1c2)]:{_0x522f9a=g[_0x46c1fb(0x203)](_0x4bd140,_0x473ce0);break;}case g[_0x46c1fb(0x308)][_0x46c1fb(0x276)]:{_0x522f9a=g[_0x46c1fb(0x1b6)](_0x4bd140,_0x473ce0);break;}case g[_0x46c1fb(0x308)]['InsertRangeMoveDownCommandId']:{_0x522f9a=g[_0x46c1fb(0x2f9)](_0x4bd140,_0x473ce0);break;}case g[_0x46c1fb(0x308)][_0x46c1fb(0x28e)]:{_0x522f9a=g[_0x46c1fb(0x2b0)](_0x4bd140,_0x473ce0);break;}case g['EffectRefRangId'][_0x46c1fb(0x2e9)]:{_0x522f9a=g[_0x46c1fb(0x2ca)](_0x4bd140,_0x473ce0);break;}case g[_0x46c1fb(0x308)][_0x46c1fb(0x190)]:{_0x522f9a=g[_0x46c1fb(0x25d)](_0x4bd140,_0x473ce0);break;}case g['EffectRefRangId'][_0x46c1fb(0x215)]:{_0x522f9a=g['handleIRemoveCol'](_0x4bd140,_0x473ce0);break;}case g[_0x46c1fb(0x308)][_0x46c1fb(0x19b)]:{_0x522f9a=g[_0x46c1fb(0x15e)](_0x4bd140,_0x473ce0);break;}}const _0x569ec4=g[_0x46c1fb(0x1cb)](_0x522f9a,_0x473ce0),_0x4a82bb=this[_0x46c1fb(0x30e)][_0x46c1fb(0x351)](_0xbca8d4);if(_0x4a82bb&&_0x569ec4){const _0x28f9f8={..._0x4a82bb,'range':_0x569ec4};this[_0x46c1fb(0x30e)][_0x46c1fb(0x369)](_0xbca8d4,_0x28f9f8),_0x1fa97d(()=>{const _0xe988d3=_0x46c1fb,_0x53bf29=this[_0xe988d3(0x331)][_0xe988d3(0x2f2)](_0x569ec4,_0x31d59e=>(_0x53bf29[_0xe988d3(0x296)](),_0x31e595(_0x31d59e,_0xbca8d4,_0x2aa084,_0x569ec4)));_0x815290[_0xe988d3(0x176)](_0x53bf29);});}return{'redos':[],'undos':[]};};this[_0x3da54f(0x30e)][_0x3da54f(0x268)]((_0x58ce11,_0x57cab3)=>{const _0x41af2b=_0x3da54f,{range:_0x2f5b85,sheetID:_0x27a7b5}=_0x58ce11,_0x273dde=this['_refRangeService'][_0x41af2b(0x2f2)](_0x2f5b85,_0x39d654=>(_0x273dde['dispose'](),_0x31e595(_0x39d654,_0x57cab3,_0x27a7b5,_0x2f5b85)));_0x815290[_0x41af2b(0x176)](_0x273dde);});};this[_0x42147d(0x2c2)](a[_0x42147d(0x219)](this['_cursorInfo$']['subscribe'](()=>{_0x2f5533();})));}[_0x3e4096(0x32d)](){const _0x11b6b4=_0x3e4096;var _0x26a6b7,_0x17c562;if(this[_0x11b6b4(0x281)]=!0x0,((_0x26a6b7=this['_univerInstanceService'][_0x11b6b4(0x358)]())==null?void 0x0:_0x26a6b7['getUnitId']())!==this[_0x11b6b4(0x397)])return;const _0x5e4a3a=(_0x17c562=this['_injector']['get'](g[_0x11b6b4(0x339)])['getCurrentSelections']())==null?void 0x0:_0x17c562[0x0],_0x29821e=this[_0x11b6b4(0x22a)]['getCurrentUnitForType'](a['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']();_0x5e4a3a&&_0x29821e&&this[_0x11b6b4(0x365)](_0x29821e['getSheetId'](),_0x5e4a3a);}[_0x3e4096(0x208)](){this['_online']=!0x1;}};Se=ft([A(0x2,a[_0x3e4096(0x3ca)](a[_0x3e4096(0x3d7)])),A(0x3,a[_0x3e4096(0x3ca)](Ce)),A(0x4,a[_0x3e4096(0x3ca)](u[_0x3e4096(0x29b)])),A(0x5,a[_0x3e4096(0x3ac)]),A(0x6,a['ICommandService']),A(0x7,a[_0x3e4096(0x3ca)](g[_0x3e4096(0x348)]))],Se);var mt=Object[_0x3e4096(0x2e2)],Ct=(_0x2645d8,_0x371624,_0x66d983,_0x5334fa)=>{const _0x45b4d8=_0x3e4096;for(var _0x3f0292=_0x5334fa>0x1?void 0x0:_0x5334fa?mt(_0x371624,_0x66d983):_0x371624,_0x4bde5c=_0x2645d8[_0x45b4d8(0x20a)]-0x1,_0x20ed9b;_0x4bde5c>=0x0;_0x4bde5c--)(_0x20ed9b=_0x2645d8[_0x4bde5c])&&(_0x3f0292=_0x20ed9b(_0x3f0292)||_0x3f0292);return _0x3f0292;},ie=(_0x9d0bb4,_0x3f1447)=>(_0x107502,_0x4e5835)=>_0x3f1447(_0x107502,_0x4e5835,_0x9d0bb4);let x=class extends a[_0x3e4096(0x168)]{constructor(_0x11e0fe,_0x5e5158,_0x2a362e){const _0x299af2=_0x3e4096;super(),h(this,'_entities',new Map()),h(this,_0x299af2(0x27d),new d[(_0x299af2(0x2d1))]()),(this['_univerInstanceService']=_0x11e0fe,this[_0x299af2(0x37b)]=_0x5e5158,this[_0x299af2(0x301)]=_0x2a362e,this[_0x299af2(0x1e7)]());}[_0x3e4096(0x296)](){const _0x1161aa=_0x3e4096;super['dispose'](),this[_0x1161aa(0x27d)][_0x1161aa(0x214)](),this[_0x1161aa(0x1ad)][_0x1161aa(0x268)](_0x2d59d4=>_0x2d59d4[_0x1161aa(0x296)]());}['getCollabCursors$'](_0x3bd18e){const _0x2dde26=_0x3e4096;return this[_0x2dde26(0x1ad)]['has'](_0x3bd18e)?this[_0x2dde26(0x1ad)][_0x2dde26(0x351)](_0x3bd18e)[_0x2dde26(0x22f)]:this[_0x2dde26(0x27d)]['pipe'](d[_0x2dde26(0x16e)](_0x3b65cb=>_0x3b65cb[_0x2dde26(0x397)]===_0x3bd18e),d['switchMap'](_0x4319b8=>_0x4319b8[_0x2dde26(0x22f)]));}[_0x3e4096(0x1e7)](){const _0x37113d=_0x3e4096;this[_0x37113d(0x22a)][_0x37113d(0x156)](a['UniverInstanceType'][_0x37113d(0x17f)])[_0x37113d(0x2a0)](d[_0x37113d(0x3c0)](this[_0x37113d(0x1d0)]))['subscribe'](async _0x4de8e2=>{const _0x2b53ad=_0x37113d,_0x541ba9=_0x4de8e2[_0x2b53ad(0x227)](),_0x16e76f=await this[_0x2b53ad(0x3d6)](_0x541ba9);this[_0x2b53ad(0x27d)][_0x2b53ad(0x2f4)](_0x16e76f),this[_0x2b53ad(0x1ad)][_0x2b53ad(0x369)](_0x541ba9,_0x16e76f);}),this[_0x37113d(0x22a)]['getTypeOfUnitAdded$'](a[_0x37113d(0x3cb)][_0x37113d(0x1cc)])[_0x37113d(0x2a0)](d[_0x37113d(0x3c0)](this[_0x37113d(0x1d0)]))[_0x37113d(0x2a0)](d[_0x37113d(0x16e)](_0x15df5e=>!_0x15df5e[_0x37113d(0x227)]()[_0x37113d(0x1e4)]('__')))[_0x37113d(0x290)](async _0x5f4910=>{const _0x53e9e0=_0x37113d,_0x4eba44=_0x5f4910[_0x53e9e0(0x227)](),_0x2af6e5=await this[_0x53e9e0(0x38b)](_0x4eba44);this[_0x53e9e0(0x27d)][_0x53e9e0(0x2f4)](_0x2af6e5),this[_0x53e9e0(0x1ad)][_0x53e9e0(0x369)](_0x4eba44,_0x2af6e5);}),d['merge'](this[_0x37113d(0x22a)][_0x37113d(0x255)](a[_0x37113d(0x3cb)][_0x37113d(0x1cc)]),this[_0x37113d(0x22a)]['getTypeOfUnitDisposed$'](a[_0x37113d(0x3cb)][_0x37113d(0x17f)]))[_0x37113d(0x2a0)](d[_0x37113d(0x3c0)](this[_0x37113d(0x1d0)]))['subscribe'](_0x2fa51f=>{const _0x5b0c10=_0x37113d,_0x4da8be=_0x2fa51f[_0x5b0c10(0x227)](),_0x12db82=this[_0x5b0c10(0x1ad)]['get'](_0x4da8be);_0x12db82&&(_0x12db82[_0x5b0c10(0x296)](),this[_0x5b0c10(0x1ad)][_0x5b0c10(0x1f8)](_0x4da8be));});}async[_0x3e4096(0x3d6)](_0x54e4b1){const _0x1b63fb=_0x3e4096,_0x3c135f=await this['_collabSessionService']['requireSession'](_0x54e4b1),_0x352d9f=this['_injector'][_0x1b63fb(0x1f3)](Se,_0x54e4b1,_0x3c135f);return _0x352d9f[_0x1b63fb(0x2ec)](),_0x352d9f;}async['_startDocCollabCursor'](_0x28edb1){const _0x1ec287=_0x3e4096,_0x3d3e36=await this[_0x1ec287(0x301)][_0x1ec287(0x17e)](_0x28edb1),_0x108c26=this[_0x1ec287(0x37b)][_0x1ec287(0x1f3)](de,_0x28edb1,_0x3d3e36);return _0x108c26[_0x1ec287(0x2ec)](),_0x108c26;}};x=Ct([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x3e4096(0x3ca)](a['Injector'])),ie(0x2,a[_0x3e4096(0x3ca)](u[_0x3e4096(0x244)]))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x599785,_0x3e07af){const _0xc3646c=_0x3e4096;let {radius:_0x39d977,width:_0x34cc22,height:_0x2850a9}=_0x3e07af;_0x39d977=_0x39d977!=null?_0x39d977:0x0,_0x34cc22=_0x34cc22!=null?_0x34cc22:0x1e,_0x2850a9=_0x2850a9!=null?_0x2850a9:0x1e;let _0x2ee7e0=0x0,_0x4828aa=0x0,_0x5dd838=0x0;_0x2ee7e0=_0x4828aa=_0x5dd838=Math['min'](_0x39d977,_0x34cc22/0x2,_0x2850a9/0x2),_0x599785[_0xc3646c(0x21f)](),_0x599785[_0xc3646c(0x2ae)](_0x2ee7e0,0x0),_0x599785[_0xc3646c(0x22c)](_0x34cc22-_0x4828aa,0x0),_0x599785[_0xc3646c(0x3c5)](_0x34cc22-_0x4828aa,_0x4828aa,_0x4828aa,Math['PI']*0x3/0x2,0x0,!0x1),_0x599785[_0xc3646c(0x22c)](_0x34cc22,_0x2850a9-_0x5dd838),_0x599785[_0xc3646c(0x3c5)](_0x34cc22-_0x5dd838,_0x2850a9-_0x5dd838,_0x5dd838,0x0,Math['PI']/0x2,!0x1),_0x599785['lineTo'](0x0,_0x2850a9),_0x599785[_0xc3646c(0x22c)](0x0,_0x2ee7e0),_0x599785[_0xc3646c(0x3c5)](_0x2ee7e0,_0x2ee7e0,_0x2ee7e0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x599785[_0xc3646c(0x3d3)](),_0x3e07af[_0xc3646c(0x372)]&&(_0x599785['save'](),_0x599785[_0xc3646c(0x364)]=_0x3e07af['fill'],_0x3e07af[_0xc3646c(0x3d2)]===_0xc3646c(0x25a)?_0x599785['fill']('evenodd'):_0x599785[_0xc3646c(0x372)](),_0x599785['restore']());}class ee extends p[_0x3e4096(0x1b0)]{constructor(_0x440110,_0x7e7025){const _0x3b7c16=_0x3e4096;super(_0x440110,_0x7e7025),h(this,'color'),h(this,_0x3b7c16(0x353)),(this[_0x3b7c16(0x26f)]=_0x7e7025==null?void 0x0:_0x7e7025[_0x3b7c16(0x26f)],this[_0x3b7c16(0x353)]=_0x7e7025==null?void 0x0:_0x7e7025[_0x3b7c16(0x353)]);}static[_0x3e4096(0x25f)](_0x2458f7,_0x4afa79){const _0x205978=_0x3e4096,{text:_0x36d0e0,color:_0x2e8933}=_0x4afa79;_0x2458f7['save'](),_0x2458f7['font']=_0x205978(0x252);const _0x4f1ebb=_0x2458f7[_0x205978(0x1a5)](_0x36d0e0)[_0x205978(0x26c)],_0x5bf974=Math['min'](_0x4f1ebb+0x2*ne,Te);Et(_0x2458f7,{'height':W,'radius':0x4,'width':_0x5bf974,'fill':_0x2e8933}),_0x2458f7['fillStyle']=_0x205978(0x280);const _0x29d890=ne,_0x1d5577=W-pt,_0x4e1420=Te-0x2*ne;if(_0x4f1ebb>_0x4e1420){let _0x284212='',_0x5b1841=0x0;for(const _0x50d547 of _0x36d0e0){const _0x305a8d=_0x2458f7[_0x205978(0x1a5)](_0x50d547)['width'];if(_0x5b1841+_0x305a8d<=_0x4e1420-_0x2458f7[_0x205978(0x1a5)](_0x205978(0x159))[_0x205978(0x26c)])_0x284212+=_0x50d547,_0x5b1841+=_0x305a8d;else{_0x284212+=_0x205978(0x159);break;}}_0x2458f7['fillText'](_0x284212,_0x29d890,_0x1d5577);}else _0x2458f7[_0x205978(0x2fd)](_0x36d0e0,_0x29d890,_0x1d5577);_0x2458f7[_0x205978(0x170)]();}[_0x3e4096(0x2c0)](_0x582645){const _0x18ea3e=_0x3e4096;ee[_0x18ea3e(0x25f)](_0x582645,this);}}const re=_0x3e4096(0x182),bt='collab-text-range-',Ot=_0x3e4096(0x225),F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0x3e4096(0x318);class Re{constructor(_0x425e90,_0x3fd242,_0x173583,_0x43dcac){const _0x333f74=_0x3e4096;h(this,_0x333f74(0x1b2),[]),h(this,_0x333f74(0x338),null),h(this,_0x333f74(0x375),null),h(this,_0x333f74(0x16f),null),h(this,_0x333f74(0x250),null),h(this,_0x333f74(0x1c5),null),(this[_0x333f74(0x163)]=_0x425e90,this[_0x333f74(0x231)]=_0x3fd242,this[_0x333f74(0x2ed)]=_0x173583,this[_0x333f74(0x2b5)]=_0x43dcac,this['_render']());}set['_hover'](_0x37625d){const _0x541fa6=_0x3e4096;_0x37625d?(this[_0x541fa6(0x16f)]&&this[_0x541fa6(0x16f)][_0x541fa6(0x332)](),this[_0x541fa6(0x375)]&&this[_0x541fa6(0x375)][_0x541fa6(0x2cb)]()):(this[_0x541fa6(0x16f)]&&this[_0x541fa6(0x16f)][_0x541fa6(0x2cb)](),this['_textBubble']&&this[_0x541fa6(0x375)][_0x541fa6(0x332)]());}[_0x3e4096(0x296)](){const _0x3ea802=_0x3e4096;for(const _0x51198d of this[_0x3ea802(0x1b2)])_0x51198d[_0x3ea802(0x296)]();this[_0x3ea802(0x375)]&&this['_textBubble']['dispose'](),this[_0x3ea802(0x16f)]&&this[_0x3ea802(0x16f)]['dispose'](),this[_0x3ea802(0x338)]&&this['_anchor'][_0x3ea802(0x296)](),this['_eventUnsubscribe']&&this[_0x3ea802(0x1c5)]();}['_render'](){const _0x2f5311=_0x3e4096;var _0x1ef1a8;const {_docSkeleton:_0x3d6c90,_document:_0x4285fd}=this,{color:_0x56316b,name:_0x7f5b89,ranges:_0x319003}=this[_0x2f5311(0x163)],_0x422be6=_0x4285fd[_0x2f5311(0x307)](),{docsLeft:_0x26c867,docsTop:_0x3e4b72}=_0x422be6,_0x23b4d0=new E[(_0x2f5311(0x24b))](_0x422be6,_0x3d6c90);for(const {startOffset:_0x133674,endOffset:_0x38d13f,rangeType:_0xc63621,segmentId:_0x4495e3,segmentPage:_0x18cfcd,collapsed:_0x2aea2b,isActive:_0x487d2f}of _0x319003){const _0x2d61ce=_0x3d6c90[_0x2f5311(0x230)](_0x133674,!0x0,_0x4495e3,_0x18cfcd);let _0x537f58=_0x3d6c90[_0x2f5311(0x230)](_0x38d13f,!0x0,_0x4495e3,_0x18cfcd);if(_0x537f58==null&&(_0x537f58=_0x3d6c90['findNodePositionByCharIndex'](_0x38d13f-0x1,!0x1,_0x4495e3,_0x18cfcd)),_0x487d2f){const {contentBoxPointGroup:_0x3be255}=_0x23b4d0[_0x2f5311(0x235)](_0x537f58,_0x537f58);if(_0x3be255['length']===0x0)continue;this['_drawAnchor'](_0x56316b,_0x3be255,_0x26c867,_0x3e4b72,_0x7f5b89),this[_0x2f5311(0x1c5)]=this[_0x2f5311(0x1fa)]();}if(_0x2d61ce&&_0x537f58){if(_0xc63621===a[_0x2f5311(0x3b4)][_0x2f5311(0x18d)]){const _0x36af0d=new E[(_0x2f5311(0x181))](_0x422be6,_0x3d6c90),{pointGroup:_0x2a2a2a}=(_0x1ef1a8=_0x36af0d['getRangePointData'](_0x2d61ce,_0x537f58))!=null?_0x1ef1a8:{};if(_0x2a2a2a==null||_0x2a2a2a[_0x2f5311(0x20a)]===0x0)continue;this[_0x2f5311(0x270)](_0x56316b,_0x2a2a2a,_0x26c867,_0x3e4b72);}else{if(!_0x2aea2b){const {borderBoxPointGroup:_0x266474}=_0x23b4d0[_0x2f5311(0x235)](_0x2d61ce,_0x537f58);if(_0x266474[_0x2f5311(0x20a)]===0x0)continue;this[_0x2f5311(0x31c)](_0x56316b,_0x266474,_0x26c867,_0x3e4b72);}}}}}[_0x3e4096(0x356)](_0x25f737,_0x5cca5b,_0x27ded6,_0x44636f,_0x5c4354){const _0x5332ef=_0x3e4096,_0x4c4817=this[_0x5332ef(0x3b9)](_0x5cca5b),{left:_0x2c5bba,top:_0x37899f,height:_0x25a903}=_0x4c4817,_0x780f96=this[_0x5332ef(0x3a6)](),_0x22f502=Rt/_0x780f96,_0x4e25f2=new p['Rect'](re+a[_0x5332ef(0x24f)](F),{'left':_0x2c5bba+_0x27ded6-_0x22f502,'top':_0x37899f+_0x44636f,'height':_0x25a903,'width':Tt,'fill':_0x25f737||p[_0x5332ef(0x35b)](a[_0x5332ef(0x292)]['black'],0x0),'strokeWidth':_0x22f502,'stroke':Dt,'evented':!0x0});this['_anchor']=_0x4e25f2,this[_0x5332ef(0x231)]['addObject'](_0x4e25f2,E['TEXT_RANGE_LAYER_INDEX']);const _0xcbc256=new p[(_0x5332ef(0x340))](re+a[_0x5332ef(0x24f)](F),{'left':_0x2c5bba+_0x27ded6-_0x22f502,'top':_0x37899f+_0x44636f-oe/0x2,'height':oe,'width':oe,'fill':_0x25f737||p[_0x5332ef(0x35b)](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x25f737||p[_0x5332ef(0x35b)](a[_0x5332ef(0x292)][_0x5332ef(0x325)],0x0),'evented':!0x1});this['_anchorDot']=_0xcbc256,this[_0x5332ef(0x231)][_0x5332ef(0x1d4)](_0xcbc256,E[_0x5332ef(0x392)]);const _0x4cd2ae=new ee(re+a[_0x5332ef(0x24f)](F),{'left':_0x2c5bba+_0x27ded6-_0x22f502,'top':_0x37899f+_0x44636f-W,'text':_0x5c4354,'color':_0x25f737});this[_0x5332ef(0x375)]=_0x4cd2ae,this[_0x5332ef(0x231)][_0x5332ef(0x1d4)](_0x4cd2ae,E[_0x5332ef(0x392)]),this[_0x5332ef(0x2ac)]=!0x1;}[_0x3e4096(0x1fa)](){const _0x4856f5=_0x3e4096,_0x1f7e2b=this[_0x4856f5(0x338)]['onPointerEnter$'][_0x4856f5(0x1c9)](()=>{const _0x4f0afe=_0x4856f5;this[_0x4f0afe(0x2ac)]=!0x0;}),_0x42b101=this[_0x4856f5(0x338)][_0x4856f5(0x220)][_0x4856f5(0x1c9)](()=>{const _0x49c60a=_0x4856f5;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x49c60a(0x250)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x24c655=_0x4856f5;_0x1f7e2b['unsubscribe'](),_0x42b101[_0x24c655(0x1be)]();};}[_0x3e4096(0x31c)](_0x1925d1,_0x22e90b,_0x29de08,_0x962309){const _0x6381b4=_0x3e4096,_0x4a8511=new a['ColorKit'](_0x1925d1)[_0x6381b4(0x222)](0.2)[_0x6381b4(0x380)](),_0x2a637e=new p['RegularPolygon'](bt+a['generateRandomId'](F),{'pointsGroup':_0x22e90b,'fill':_0x4a8511||p[_0x6381b4(0x35b)](a[_0x6381b4(0x292)][_0x6381b4(0x325)],0.2),'left':_0x29de08,'top':_0x962309,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x6381b4(0x1b2)][_0x6381b4(0x2b2)](_0x2a637e),this[_0x6381b4(0x231)][_0x6381b4(0x1d4)](_0x2a637e,E[_0x6381b4(0x392)]);}[_0x3e4096(0x270)](_0x2db64b,_0x2b6337,_0x55ea5b,_0x294f56){const _0x587319=_0x3e4096,_0xbfbdab=new a['ColorKit'](_0x2db64b)['setAlpha'](0.2)['toRgbString'](),_0x7abe1=new p[(_0x587319(0x379))](Ot+a[_0x587319(0x24f)](F),{'pointsGroup':_0x2b6337,'fill':_0xbfbdab||p[_0x587319(0x35b)](a['COLORS'][_0x587319(0x325)],0.2),'left':_0x55ea5b,'top':_0x294f56,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x587319(0x2b2)](_0x7abe1),this[_0x587319(0x231)]['addObject'](_0x7abe1,E[_0x587319(0x392)]);}[_0x3e4096(0x3b9)](_0x5c1db2){const _0x42b633=_0x5c1db2[0x0],_0xa55630=_0x42b633[0x0],_0x287b72=_0x42b633[0x2],{x:_0x132d15,y:_0x3ab52e}=_0xa55630,{x:_0x12ab92,y:_0xa30ce2}=_0x287b72;return{'left':_0x132d15,'top':_0x3ab52e,'width':_0x12ab92-_0x132d15,'height':_0xa30ce2-_0x3ab52e};}[_0x3e4096(0x3a6)](){const _0x2cb028=_0x3e4096,{scaleX:_0x6caee0,scaleY:_0x1c0206}=this[_0x2cb028(0x231)]['getAncestorScale']();return Math[_0x2cb028(0x2ea)](_0x6caee0,_0x1c0206);}}var Ut=Object[_0x3e4096(0x2e2)],Nt=(_0x18e494,_0x13ea84,_0x504387,_0x14519c)=>{for(var _0x478e88=_0x14519c>0x1?void 0x0:_0x14519c?Ut(_0x13ea84,_0x504387):_0x13ea84,_0x2336c5=_0x18e494['length']-0x1,_0xff4275;_0x2336c5>=0x0;_0x2336c5--)(_0xff4275=_0x18e494[_0x2336c5])&&(_0x478e88=_0xff4275(_0x478e88)||_0x478e88);return _0x478e88;},X=(_0x5e51a9,_0x3d12e2)=>(_0x33237f,_0x23d7a6)=>_0x3d12e2(_0x33237f,_0x23d7a6,_0x5e51a9);let fe=class extends a['RxDisposable']{constructor(_0x24793b,_0xb6d13e,_0x2052f5,_0xe162d4,_0xde6604){const _0x2a2fcb=_0x3e4096;super(),h(this,_0x2a2fcb(0x3bc),[]),h(this,_0x2a2fcb(0x2a5),[]),(this[_0x2a2fcb(0x35d)]=_0x24793b,this[_0x2a2fcb(0x24e)]=_0xb6d13e,this[_0x2a2fcb(0x31e)]=_0x2052f5,this[_0x2a2fcb(0x1ee)]=_0xe162d4,this[_0x2a2fcb(0x39f)]=_0xde6604,this[_0x2a2fcb(0x1e7)]());}[_0x3e4096(0x1e7)](){const _0x5afd40=_0x3e4096,_0x3e3296=this['_context'][_0x5afd40(0x20c)],_0x49fc48=this[_0x5afd40(0x24e)];this[_0x5afd40(0x2c2)](d[_0x5afd40(0x2c5)]([this[_0x5afd40(0x31e)]['getCollabCursors$'](_0x3e3296),this[_0x5afd40(0x39f)]['currentTheme$']])[_0x5afd40(0x2a0)]($['map'](([_0x27952c,_0x54a6ea])=>({'skeleton':_0x49fc48[_0x5afd40(0x2a4)](),'cursors':[..._0x27952c[_0x5afd40(0x23b)]()][_0x5afd40(0x3d4)](_0x3189b1=>({..._0x3189b1,'color':this[_0x5afd40(0x39f)][_0x5afd40(0x1e3)](_0x3189b1[_0x5afd40(0x26f)])}))})))[_0x5afd40(0x290)](_0x4504a5=>{const _0x5e3f83=_0x5afd40;if(this['_removeCollabCursors'](),_0x4504a5){const {skeleton:_0x28736c,cursors:_0x3683c3}=_0x4504a5;this[_0x5e3f83(0x395)](_0x28736c,_0x3683c3);}})),this[_0x5afd40(0x328)](),this[_0x5afd40(0x1d5)]();}['_updateCollabCursors'](_0x3278fc,_0xb40932){const _0x49bf38=_0x3e4096,{scene:_0x5a0775,mainComponent:_0x4cb9ab}=this[_0x49bf38(0x35d)],_0x121826=_0xb40932[_0x49bf38(0x399)](_0x36c233=>new Re(_0x36c233,_0x5a0775,_0x3278fc,_0x4cb9ab));this[_0x49bf38(0x3bc)]=_0x121826,this[_0x49bf38(0x2a5)]=_0xb40932;}['_refreshCollabCursors'](){const _0xaf449d=_0x3e4096;this['_removeCollabCursors']();const {scene:_0x5b8f25,mainComponent:_0x3bad66}=this['_context'],_0xda99ea=this['_docSkeletonManagerService'][_0xaf449d(0x2a4)](),_0x6899ff=this[_0xaf449d(0x2a5)]['map'](_0xce8d9b=>new Re(_0xce8d9b,_0x5b8f25,_0xda99ea,_0x3bad66));this[_0xaf449d(0x3bc)]=_0x6899ff;}[_0x3e4096(0x189)](){const _0x40284d=_0x3e4096;this[_0x40284d(0x3bc)]['forEach'](_0x25fa4a=>_0x25fa4a[_0x40284d(0x296)]()),this[_0x40284d(0x3bc)]=[];}[_0x3e4096(0x1d5)](){const _0xe13456=_0x3e4096,_0x13362f=[E['SetDocZoomRatioOperation']['id']];this[_0xe13456(0x2c2)](this[_0xe13456(0x1ee)][_0xe13456(0x1b4)](_0x28e455=>{const _0x3059bf=_0xe13456;_0x13362f[_0x3059bf(0x373)](_0x28e455['id'])&&_0x28e455[_0x3059bf(0x1bb)][_0x3059bf(0x20c)]===this['_context'][_0x3059bf(0x20c)]&&this['_refreshCollabCursors']();}));}[_0x3e4096(0x328)](){const _0x4f0e97=_0x3e4096;this[_0x4f0e97(0x2c2)](a[_0x4f0e97(0x33e)](this[_0x4f0e97(0x35d)][_0x4f0e97(0x1f1)][_0x4f0e97(0x19a)])[_0x4f0e97(0x2a0)]($[_0x4f0e97(0x16e)](_0x349d35=>_0x349d35['type']===p[_0x4f0e97(0x253)][_0x4f0e97(0x15f)]),$['throttleTime'](0x10))[_0x4f0e97(0x290)](()=>{const _0x39d026=_0x4f0e97;this[_0x39d026(0x3b0)]();}));}};fe=Nt([X(0x1,a[_0x3e4096(0x3ca)](Y['DocSkeletonManagerService'])),X(0x2,a[_0x3e4096(0x3ca)](x)),X(0x3,a[_0x3e4096(0x18f)]),X(0x4,a[_0x3e4096(0x3ca)](a[_0x3e4096(0x1bf)]))],fe);const Mt=0x1,Lt=1.5;class $e extends p['Shape']{constructor(_0x1503de,_0x170860){const _0x10ba06=_0x3e4096;super(_0x1503de,_0x170860),h(this,_0x10ba06(0x3b8)),h(this,_0x10ba06(0x35f),!0x1),h(this,'_range'),h(this,_0x10ba06(0x23d),''),h(this,_0x10ba06(0x335),_0x10ba06(0x36b)),h(this,'_backgroundColor'),(_0x170860&&this[_0x10ba06(0x2c4)](_0x170860),this[_0x10ba06(0x1d8)][_0x10ba06(0x1c9)](()=>this[_0x10ba06(0x2c4)]({'hovered':!0x0})),this[_0x10ba06(0x220)][_0x10ba06(0x1c9)](()=>this[_0x10ba06(0x2c4)]({'hovered':!0x1})));}[_0x3e4096(0x2c4)](_0x1d77a0){const _0x329b84=_0x3e4096;var _0x1c9715,_0x5010ab,_0xff072d,_0x5c36d3,_0x27b540,_0x29a8fb;this[_0x329b84(0x3b8)]=(_0x1c9715=_0x1d77a0[_0x329b84(0x26f)])!=null?_0x1c9715:this[_0x329b84(0x3b8)],this['_hovered']=(_0x5010ab=_0x1d77a0['hovered'])!=null?_0x5010ab:this['_hovered'],this[_0x329b84(0x1c7)]=(_0xff072d=_0x1d77a0[_0x329b84(0x315)])!=null?_0xff072d:this['_range'],this[_0x329b84(0x23d)]=(_0x5c36d3=_0x1d77a0[_0x329b84(0x23c)])!=null?_0x5c36d3:this['_name'],this[_0x329b84(0x335)]=(_0x27b540=_0x1d77a0[_0x329b84(0x202)])!=null?_0x27b540:this['_labelPosition'],this[_0x329b84(0x1c3)]=(_0x29a8fb=_0x1d77a0[_0x329b84(0x274)])!=null?_0x29a8fb:this['_backgroundColor'],this[_0x329b84(0x303)]({'width':_0x1d77a0[_0x329b84(0x26c)],'height':_0x1d77a0[_0x329b84(0x1a3)]});}[_0x3e4096(0x210)](_0x539960){const _0x265802=_0x3e4096,{row:_0x259994,column:_0x2aeb89}=_0x539960;if(_0x259994>=this[_0x265802(0x1c7)][_0x265802(0x3b3)]&&_0x259994<=this[_0x265802(0x1c7)][_0x265802(0x3c7)]&&_0x2aeb89>=this['_range'][_0x265802(0x38a)]&&_0x2aeb89<=this['_range'][_0x265802(0x37d)]){this[_0x265802(0x2c4)]({'hovered':!0x0});return;}this[_0x265802(0x2c4)]({'hovered':!0x1});}[_0x3e4096(0x20f)](_0x32c7a1){return!0x1;}[_0x3e4096(0x2c0)](_0x3d698e){const _0x224ef9=_0x3e4096;p[_0x224ef9(0x340)]['drawWith'](_0x3d698e,{'width':this[_0x224ef9(0x26c)],'height':this['height'],'strokeWidth':Lt,'stroke':this[_0x224ef9(0x3b8)],'evented':!0x1,'fill':this[_0x224ef9(0x1c3)]}),this['_hovered']&&(_0x3d698e['save'](),_0x3d698e['transform'](0x1,0x0,0x0,0x1,this[_0x224ef9(0x26c)],this['_labelPosition']===_0x224ef9(0x1ab)?0x0:-W),ee[_0x224ef9(0x25f)](_0x3d698e,{'text':this[_0x224ef9(0x23d)],'color':this['_color']}),_0x3d698e[_0x224ef9(0x170)]());}}var Pt=Object[_0x3e4096(0x2e2)],wt=(_0xc72634,_0x7038e7,_0x554b16,_0x36c20d)=>{const _0x15a734=_0x3e4096;for(var _0x4b0c65=_0x36c20d>0x1?void 0x0:_0x36c20d?Pt(_0x7038e7,_0x554b16):_0x7038e7,_0x5001db=_0xc72634[_0x15a734(0x20a)]-0x1,_0x48ebb9;_0x5001db>=0x0;_0x5001db--)(_0x48ebb9=_0xc72634[_0x5001db])&&(_0x4b0c65=_0x48ebb9(_0x4b0c65)||_0x4b0c65);return _0x4b0c65;},ae=(_0x294f2a,_0x381e88)=>(_0x4873e1,_0xb1da61)=>_0x381e88(_0x4873e1,_0xb1da61,_0x294f2a);const At=0x1389;let Ie=class extends a[_0x3e4096(0x168)]{constructor(_0x57c06e,_0x39d6a9,_0x577d7d,_0x1c18a4){const _0x53dc72=_0x3e4096;super(),h(this,_0x53dc72(0x2a5),new Set()),h(this,_0x53dc72(0x3be),null),(this['_context']=_0x57c06e,this['_sheetSkeletonManagerService']=_0x39d6a9,this[_0x53dc72(0x31e)]=_0x577d7d,this[_0x53dc72(0x39f)]=_0x1c18a4,this[_0x53dc72(0x1e7)]());}[_0x3e4096(0x1e7)](){const _0x59800d=_0x3e4096;this[_0x59800d(0x317)][_0x59800d(0x38c)][_0x59800d(0x2a0)]($['takeUntil'](this[_0x59800d(0x1d0)]),$['switchMap'](_0x49eff3=>{const _0x80e40d=_0x59800d;if(_0x49eff3){const _0x1674f5=_0x49eff3[_0x80e40d(0x1df)];return d[_0x80e40d(0x2c5)](this[_0x80e40d(0x31e)]['getCollabCursors$'](this[_0x80e40d(0x35d)][_0x80e40d(0x20c)]),this[_0x80e40d(0x39f)]['currentTheme$'])[_0x80e40d(0x2a0)]($[_0x80e40d(0x399)](([_0x3c1d05,_0x549d02])=>{const _0x5c562e=_0x80e40d,_0xfbdacc=new Map();return _0x3c1d05[_0x5c562e(0x268)]((_0x42de53,_0x3a3c8f)=>{const _0x32ca76=_0x5c562e;if(_0x42de53[_0x32ca76(0x1f7)]===_0x1674f5){const _0xd5cfa6={..._0x42de53};_0xd5cfa6[_0x32ca76(0x26f)]=this[_0x32ca76(0x39f)][_0x32ca76(0x1e3)](_0x42de53[_0x32ca76(0x26f)]),_0xfbdacc[_0x32ca76(0x369)](_0x3a3c8f,_0xd5cfa6);}}),{'skeleton':_0x49eff3,'cursors':_0xfbdacc};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x59800d(0x290)](({skeleton:_0x1a27b1,cursors:_0x39d0aa})=>{const _0x5423c2=_0x59800d;this[_0x5423c2(0x189)](),_0x1a27b1&&this[_0x5423c2(0x395)](_0x1a27b1,_0x39d0aa);}),this[_0x59800d(0x317)][_0x59800d(0x38c)][_0x59800d(0x290)](_0x48eb05=>{const _0x2adecc=_0x59800d;if(_0x48eb05==null)return;const {skeleton:_0x3e0601}=_0x48eb05,{scene:_0x3afbdc}=this[_0x2adecc(0x35d)];_0x3afbdc[_0x2adecc(0x199)][_0x2adecc(0x1c9)](a[_0x2adecc(0x266)](_0x4b8e56=>{const _0x46c755=_0x2adecc;var _0x1d2c59,_0x3207be;const {offsetX:_0x1590ec,offsetY:_0x3468f1}=_0x4b8e56,{x:_0x588c9d,y:_0x3e5519}=_0x3afbdc['getRelativeToViewportCoord'](p[_0x46c755(0x321)][_0x46c755(0x27f)]([_0x1590ec,_0x3468f1])),{scaleX:_0x4c6913,scaleY:_0x495b69}=_0x3afbdc[_0x46c755(0x23e)](),_0x2a797a=_0x3afbdc[_0x46c755(0x15d)](p[_0x46c755(0x30b)][_0x46c755(0x209)]),_0x1c48f5=_0x3afbdc[_0x46c755(0x212)](p[_0x46c755(0x321)][_0x46c755(0x27f)]([_0x588c9d,_0x3e5519]),_0x2a797a),_0x5f29c0=_0x3e0601[_0x46c755(0x206)](_0x1590ec,_0x3468f1,_0x4c6913,_0x495b69,_0x1c48f5);((_0x1d2c59=this[_0x46c755(0x3be)])==null?void 0x0:_0x1d2c59[_0x46c755(0x304)])===_0x5f29c0[_0x46c755(0x304)]&&((_0x3207be=this[_0x46c755(0x3be)])==null?void 0x0:_0x3207be[_0x46c755(0x2d2)])===_0x5f29c0[_0x46c755(0x2d2)]||this[_0x46c755(0x2a5)]['forEach'](_0x23ebd7=>{_0x23ebd7['onMouseMove'](_0x5f29c0);});},0x64));});}[_0x3e4096(0x395)](_0x2ad060,_0xea32aa){const _0x13936d=_0x3e4096;var _0xb685d;const _0x31522f=(_0xb685d=this[_0x13936d(0x317)][_0x13936d(0x291)]())==null?void 0x0:_0xb685d[_0x13936d(0x18b)];if(!_0x31522f)return;const _0x4b40a9=this['_getSheetObject']();if(!_0x4b40a9)return;this[_0x13936d(0x2a5)]['forEach'](_0x5b1df0=>{const _0x3099db=_0x13936d;_0x5b1df0[_0x3099db(0x36a)]();});const {scene:_0x1e846f}=_0x4b40a9,_0x1617ae=yt(Array['from'](_0xea32aa[_0x13936d(0x23b)]()))[_0x13936d(0x399)](_0x262bfd=>{const {color:_0x2810ad,range:_0x3e1d32,name:_0x9d72d6,selection:_0x5d56c6,sheetID:_0x293922}=_0x262bfd,{startColumn:_0x42e86d,startRow:_0x448e4d,endColumn:_0x2f160f,endRow:_0x3b121f}=_0x3e1d32,_0x1b53df=G['getCoordByCell'](_0x448e4d,_0x42e86d,_0x1e846f,_0x31522f),_0x19dcc8=G['getCoordByCell'](_0x3b121f,_0x2f160f,_0x1e846f,_0x31522f),{columnHeaderHeightAndMarginTop:_0x533aa0}=_0x31522f,{startX:_0x121af2,startY:_0x1b7d09}=_0x1b53df,{endX:_0x28a9ea,endY:_0x17dceb}=_0x19dcc8,_0x21ff15=_0x28a9ea-_0x121af2,_0x2cf4c3=_0x17dceb-_0x1b7d09,_0xde27b1={'labelPosition':_0x1b7d09-_0x533aa0>=W?'top':'bottom','sheetID':_0x293922,'range':_0x3e1d32,'color':_0x2810ad,'name':_0x9d72d6,'selection':_0x5d56c6,'left':_0x121af2,'top':_0x1b7d09,'width':_0x21ff15,'height':_0x2cf4c3,'evented':!0x1,'zIndex':At};return new $e(_0x9d72d6,_0xde27b1);});_0x1e846f[_0x13936d(0x179)](_0x1617ae,Mt),this[_0x13936d(0x2a5)]=new Set(_0x1617ae);}[_0x3e4096(0x189)](){const _0x4e7753=_0x3e4096;var _0x540877;(_0x540877=this[_0x4e7753(0x2a5)])==null||_0x540877[_0x4e7753(0x268)](_0x3c21df=>_0x3c21df[_0x4e7753(0x296)]());}['_getSheetObject'](){const _0x3eda0d=_0x3e4096;return G['getSheetObject'](this[_0x3eda0d(0x35d)][_0x3eda0d(0x18c)],this['_context']);}};Ie=wt([ae(0x1,a[_0x3e4096(0x3ca)](G[_0x3e4096(0x15b)])),ae(0x2,a[_0x3e4096(0x3ca)](x)),ae(0x3,a[_0x3e4096(0x3ca)](a['ThemeService']))],Ie);function yt(_0x921d3b){const _0xbf92ed=_0x3e4096,_0x47709e=new Map();return _0x921d3b['forEach'](_0x5dd2eb=>{const _0x74fd55=_0x6398;if(_0x47709e[_0x74fd55(0x1af)](_0x5dd2eb['selection'])){const _0x24911a=_0x47709e[_0x74fd55(0x351)](_0x5dd2eb[_0x74fd55(0x368)]);_0x24911a[_0x74fd55(0x23c)]+=',\x20'+_0x5dd2eb['name'];}else _0x47709e[_0x74fd55(0x369)](_0x5dd2eb[_0x74fd55(0x368)],_0x5dd2eb);}),Array['from'](_0x47709e[_0xbf92ed(0x23b)]());}var $t=Object[_0x3e4096(0x2e2)],xt=(_0x515b7c,_0x32bc39,_0x23bdf0,_0x452e7e)=>{const _0x3cba94=_0x3e4096;for(var _0x52efe3=_0x452e7e>0x1?void 0x0:_0x452e7e?$t(_0x32bc39,_0x23bdf0):_0x32bc39,_0x39fe83=_0x515b7c[_0x3cba94(0x20a)]-0x1,_0x483d22;_0x39fe83>=0x0;_0x39fe83--)(_0x483d22=_0x515b7c[_0x39fe83])&&(_0x52efe3=_0x483d22(_0x52efe3)||_0x52efe3);return _0x52efe3;},y=(_0x306560,_0x4aa841)=>(_0x5291a1,_0x2ffe1f)=>_0x4aa841(_0x5291a1,_0x2ffe1f,_0x306560);let q=class extends a[_0x3e4096(0x35c)]{constructor(_0x5afab7,_0x5aebe8,_0x17479b,_0x8ec9de,_0xd7b6b8,_0x126bd3){const _0x3dcdb7=_0x3e4096;super(),this[_0x3dcdb7(0x3bb)]=_0x5afab7,this['_localCacheService']=_0x5aebe8,this[_0x3dcdb7(0x28b)]=_0x17479b,this['_messageService']=_0x8ec9de,this['_notificationService']=_0xd7b6b8,this[_0x3dcdb7(0x2f6)]=_0x126bd3,this['_setupBeforeClosingHandler'](),this[_0x3dcdb7(0x388)]();}[_0x3e4096(0x2f7)](){const _0x57fb1f=_0x3e4096;this['disposeWithMe'](this[_0x57fb1f(0x3bb)][_0x57fb1f(0x2a1)](()=>{const _0x10f142=_0x57fb1f;if(this['_localCacheService']['saveTaskMap'][_0x10f142(0x39e)])return this[_0x10f142(0x2f6)]['t'](_0x10f142(0x316));}));}[_0x3e4096(0x388)](){const _0x5e64a0=_0x3e4096;this['disposeWithMe'](this[_0x5e64a0(0x28b)][_0x5e64a0(0x1fb)][_0x5e64a0(0x290)](_0x5065da=>{const _0x576e30=_0x5e64a0;_0x5065da['id']===u[_0x576e30(0x169)][_0x576e30(0x1d6)]&&this[_0x576e30(0x297)]['show']({'type':D[_0x576e30(0x2c3)]['Warning'],'content':this[_0x576e30(0x2f6)]['t'](_0x576e30(0x3d5))}),_0x5065da['id']===u[_0x576e30(0x169)]['CLOSE_ROOM']&&this[_0x576e30(0x297)][_0x576e30(0x2cb)]({'type':D[_0x576e30(0x2c3)][_0x576e30(0x2aa)],'content':this[_0x576e30(0x2f6)]['t']('collaboration.closeRoom')}),_0x5065da['id']===u[_0x576e30(0x169)][_0x576e30(0x1e9)]&&this['_notificationService'][_0x576e30(0x2cb)]({'title':this[_0x576e30(0x2f6)]['t'](_0x576e30(0x345)),'content':this[_0x576e30(0x2f6)]['t']('permission.content'),'type':_0x576e30(0x24d),'duration':0x0}),_0x5065da['id']===u[_0x576e30(0x169)][_0x576e30(0x2b6)]&&this[_0x576e30(0x297)][_0x576e30(0x2cb)]({'type':D[_0x576e30(0x2c3)]['Error'],'content':this[_0x576e30(0x2f6)]['t']('collaboration.closeRoom')+'('+_0x5065da['data']+')'}),_0x5065da['id']===u[_0x576e30(0x169)]['JOIN_ROOM_FAILED']&&this[_0x576e30(0x297)][_0x576e30(0x2cb)]({'type':D[_0x576e30(0x2c3)][_0x576e30(0x2aa)],'content':this[_0x576e30(0x2f6)]['t'](_0x5065da[_0x576e30(0x1da)]||'')}),_0x5065da['id']===u[_0x576e30(0x169)][_0x576e30(0x2e0)]&&this[_0x576e30(0x297)][_0x576e30(0x2cb)]({'type':D[_0x576e30(0x2c3)]['Warning'],'content':this[_0x576e30(0x2f6)]['t'](_0x576e30(0x38d))}),_0x5065da['id']===u[_0x576e30(0x169)][_0x576e30(0x3ce)]&&this[_0x576e30(0x297)][_0x576e30(0x2cb)]({'type':D[_0x576e30(0x2c3)][_0x576e30(0x185)],'content':this['_localeService']['t'](_0x576e30(0x21c))}),_0x5065da['id']===u[_0x576e30(0x169)][_0x576e30(0x2ef)]&&this[_0x576e30(0x297)][_0x576e30(0x2cb)]({'type':D[_0x576e30(0x2c3)]['Error'],'content':this['_localeService']['t'](_0x576e30(0x246))});}));}};q=xt([y(0x0,O[_0x3e4096(0x27c)]),y(0x1,u[_0x3e4096(0x29a)]),y(0x2,a[_0x3e4096(0x3ca)](u['CollaborationUIEventService'])),y(0x3,O[_0x3e4096(0x247)]),y(0x4,O[_0x3e4096(0x1aa)]),y(0x5,a[_0x3e4096(0x3ca)](a[_0x3e4096(0x38f)]))],q);const Bt=_0x3e4096(0x30f),De={};function _0x5253(){const _0x5cee55=['_onCursorUpdate','moveTo','transformStateCache','handleInsertRangeMoveRight','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','push','body','SNAPSHOT_INVALID_SNAPSHOT','_document','CONFLICT','serializeRangeWithSheet','3357165wcIDHM','getMemberID','with','imageSourceType','DeleteRangeMoveLeftCommandId','assignAColorForMemberID','current','roomMembers','_draw','8347381tGgSGd','disposeWithMe','MessageType','setShapeProps','combineLatest','BrowserCollaborationSocketService','YUUMI_UNABLE_LOAD_URL','collabStatus.offline','collabStatus.fetchMiss','handleInsertRow','show','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','setInterval','searchParams','_transformHistoryAndStateStack','send','Subject','row','getMergeData','switchMap','WebSocketService','idSuffix','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','122950xnRBLK','univer-flex\x20univer-items-center','defIds','423IagnWl','_onRefRangeChange','collabStatus.conflict','DocSelectionManagerService','useRef','SOCKET_FAILED_RETRY','EMAIL_VERIFY_CODE_MISMATCH','getOwnPropertyDescriptor','UNRECOGNIZED','trim','collabCursorState$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_colorAssignService','location','InsertRowCommandId','max','stringify','init','_docSkeleton','displayName','SUBMIT_CHANGESET_TIMEOUT','2576222xxsvZe','textRanges','registerRefRange','getCollabEntity$','next','univer-mr-2\x20univer-flex\x20univer-text-xl','_localeService','_setupBeforeClosingHandler','_docStateChangeManagerService','handleInsertRangeMoveDown','_roomMembers$','IImageIoService','CollaborationStatus','fillText','addEventListener','find','isTransformMutationFailure','_collabSessionService','LOGIN_FAILED','transformByState','column','getLocalCacheKey','_scheduleHeartbeat','getOffsetConfig','EffectRefRangId','_handleHeartbeatEvent','INVITE_CODE_REQUIRED','SHEET_VIEWPORT_KEY','_removeClearOtherTimer','uni.network.url-service','cursorInfo','collaboration-client-ui.config','_memberService','hasOwnProperty','ILocalStorageService','ONLINE','docStateChange$','range','collaboration-client.offline-data-not-saved','_sheetSkeletonManagerService','rgba(255,\x20255,\x20255,\x200.01)','8202552wZNRso','YUUMI_NO_CUBOID_FOR_QUESTION','IConfigService','_drawTextRange','_initDependencies','_collabCursorController','isEditing','editingUnit','Vector2','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformService','search','black','APPLY_DUPLICATED','IRemoteInstanceService','_initResize','forwardRef','YUUMI_ALL_TABLES_IS_INVALID','INVITE_CODE_HAS_BEEN_UES','DocCollaborationEntity','_toggleOnline','CommandType','Workbook','getRenderById','_refRangeService','hide','_initStatusListener','_updateSubUnitFromURLParams','_labelPosition','on-line-icon_clip0_910_349','_uiPartsService','_anchor','SheetsSelectionsService','sessionStatus$','getOwnPropertySymbols','off-line-icon_clip0_910_343','string','fromEventSubject','getUnitStatus$','Rect','redoState','SNAPSHOT_HAS_BEEN_REMOVED','blue.400','UnitStatus','permission.title','entityInit$','application/json','RefRangeService','setActiveRange','0\x200\x2017\x2016','1467690KyAkwf','OTHER_CLIENTS_EDITING','_dataLoaderService','children','collabStatus.notCollab','setConfig','get','_collabCursorState$','text','white','removeParam','_drawAnchor','YUUMI_ASYNCIO_CANCELLED','getFocusedUnit','clipPath','transformIMECache','getColor','Disposable','_context','url(#off-line-icon_clip0_910_343)','_hovered','undoState','_transformPreviousActiveRange','whenReady','runId','fillStyle','_updateLocalCursor','APPLY_NON_SEQUENTIAL_REVISION','getSheetId','selection','set','makeDirty','top','setParam','MOBILE_HAS_BEEN_BOUND','COMPLETION_FINISHED','path','DependentOn','assign','fill','includes','replaceDocRanges','_textBubble','OnLineIcon','USERS_LEAVE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RegularPolygon','colorChannel1','_injector','USER_NOT_INVITED_CODE','endColumn','popstate','_instanceService','toRgbString','_cursorInfo$','ALREADY_EXISTS','addHandlerCallback','href','activeSheet$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','LICENSE_DISTRO_REJECTED','_initEvent','_imageIoService','startColumn','_startDocCollabCursor','currentSkeleton$','session.will-retry','call','LocaleService','m1Prime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','TEXT_RANGE_LAYER_INDEX','ACTIVE_UNIT_EVENT_CHANNEL','deserializeRangeWithSheet','_updateCollabCursors','selections','unitID','all','map','origin','DEFAULT_WS_SESSION_TICKET_URL','type','eventID','size','_themeService','url(#on-line-icon_clip0_910_349)','_getSaveTimeout','svg','jsx','NOT_COLLAB','UniverCollaborationClientPlugin','_getScale','SetSelectionsOperation','NOT_FOUND','saveImage','getMember','subUnitId','IUniverInstanceService','RemoteUniscriptService','distinctUntilChanged','unshift','_refreshCollabCursors','sessionTicket','MUTATION','startRow','DOC_RANGE_TYPE','_createSocketURL','0\x200\x2016\x2016','ENSURE_SNAPSHOT_EXECUTION','_color','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','_beforeCloseService','_cursorShapes','Unknown\x20user','_lastPointer','_docClipboardService','takeUntil','_registerDependencies','code','_clearOtherTimers','Plugin','arc','exhaustSavingTask','endRow','registerRenderModule','TOO_MANY_REQUESTS','Inject','UniverInstanceType','mask','_unitStatus','SOCKET_FAILED','m2Prime','clearInterval','storage','fillRule','closePath','flatMap','collaboration.single-unit.warning','_startSheetCollabCursor','Injector','function','[CollaborationDataLoaderController]','IRenderManagerService','ITransformService','getTypeOfUnitAdded$','focused$','_docTransformIMECacheService','...','green.600','SheetSkeletonManagerService','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','getViewport','handleIRemoveRow','resize','_scheduleClearOtherTimer','_disabled','toStringTag','_cursor','_registerRenderDependencies','CollaborationEvent','runOnServer','onStarting','RxDisposable','CollaborationUIEventId','enableLocalCache','IUIPartsService','yellow.400','SetWorksheetActivateCommand','filter','_anchorDot','restore','_getSessionTicket','INVALID_ARGUMENT','icon','1em','MOBILE_VERIFY_CODE_MISMATCH','add','_onCursorDelete','status$','addObjects','history','SYNCED','YUUMI_CONNECTOR_URL_NOT_FOUND','_docSyncEditingCollabCursorService','requireSession','UNIVER_SHEET','SessionStatus','NodePositionConvertToRectRange','collab-text-anchor-','merge','apply','Error','RichTextEditingMutation','substring','round','_removeCollabCursors','collabStatus.syncing','skeleton','unit','RECT','CollaborationController','ICommandService','MoveRangeCommandId','_unitOnClients','DocIMEInputManagerService','extend','_doCreateSocket','ILogService','112892WBuTJm','WECHAT_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','onPointerMove$','onTransformChange$','RemoveRowCommandId','jsxs','debounceTime','IURLService','off-line-icon','LICENSE_IMPORT_SIZE_EXCEEDED','createElement','transformRemoteChangeset','height','_colorIndex','measureText','getUnhiddenWorksheets','div','url(#$1','_docTransformStateCacheService','INotificationService','bottom','translate(.97)','_entities','CONNECTOR_DATA_TOO_LARGE','has','Shape','setUndoRedoMutationParamsCache','_shapes','subunit','onCommandExecuted','wsSessionTicketUrl','handleInsertCol','IDocClipboardService','loadUnit','jiqing.500','55TFebrq','params','entries','_handleEvent','unsubscribe','ThemeService','fromEvent','unload','DeleteRangeMoveUpCommandId','_backgroundColor','_httpService','_eventUnsubscribe','prototype','_range','propertyIsEnumerable','subscribeEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','runRefRangeMutations','UNIVER_DOC','NO_OTHER_CLIENTS_EDITING','6DJdJpM','asObservable','dispose$','_assignedColors','LICENSE_EXPORT_SIZE_EXCEEDED','attrs','addObject','_initCommandExecutedListener','OTHER_CLIENT_EDITING','UNAUTHENTICATED','onPointerEnter$','WebBrowserSingleActiveUnitService','data','BehaviorSubject','APPLY_REVISION_CONFILICT','_localStorageService','getUniverSheetInstance','sheetId','doc.mutation.rich-text-editing','clsx','disposeUnit','getColorFromTheme','startsWith','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','INVALID_INVITE_CODE','_init','post','PERMISSION_DENIED','pluginName','_collaborationController','getCurrentRevOfUnit','disableLocalCache','_commandService','actions','_renderManagerService','engine','none','createInstance','UPDATE_CURSOR','OffLineIcon','loadOfflineData','sheetID','delete','_ensureSubject','_handleHover','event$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','syncEditingCollabCursor','_send','executeCommand','getConfig','symbol','labelPosition','handleDeleteRangeMoveUp','AWAITING','className','getCellPositionByOffset','_initEntityListener','_toggleOffline','VIEW_MAIN','length','getDocRanges','unitId','clearTimeout','_syncEditingCollabCursorService','triggerDblclick','onMouseMove','deepClone','getVpScrollXYInfoByPosToVp','pushState','complete','RemoveColCommandId','roomMembers$','ranges','replace','toDisposable','useCallback','SetTextSelectionsOperation','session.connection-failed','_saveCache','_cachedData','beginPath','onPointerLeave$','WebURLService','setAlpha','DocStateChangeManagerService','xlink:href','collab-rect-range-','OFFLINE','getUnitId','from','UniverCollaborationClientUIPlugin','_univerInstanceService','INVITE_CODE_ALREADY_BOUND','lineTo','CHANGESET_REVISION_CONFILICT','M0\x200H16V16H0z','cursorInfo$','findNodePositionByCharIndex','_scene','YUUMI_AI_RUN_FAILED','mutations','_setupSubUnitSync','getRangePointData','_configService','_heartbeatTimer','_logService','_handleLeaveEvent','_scheduleSaving','values','name','_name','getAncestorScale','getValue','source','APPLY_PERMISSION_DENIED','indexOf','Failed','CollaborationSessionService','DataLoaderService','session.collaboration-timeout','IMessageService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_config','debug','NodePositionConvertToCursor','_id','error','_docSkeletonManagerService','generateRandomId','_hideTimer','_updateURLWithCurrentState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','TRANSFORM_CHANGE_OBSERVABLE_TYPE','concat','getTypeOfUnitDisposed$','contains','key','Tools','YUUMI_URL_COL_OUT_OF_RANGE','evenodd','DesktopCollaborationStatusDisplayController','_revisionService','handleMoveRange','toString','drawWith','saveOfflineData','getActiveSheet','defineProperty','_initStatusComponent','then','getParam','debounce','_urlService','forEach','updateOfflineData','UniverIcon','http://www.w3.org/2000/svg','width','urlChange$','getSheetBySheetId','color','_drawRectRange','tag','_status$','_selfUnitIDs','backgroundColor','PY_RUNTIME_SCRIPT_ERROR','InsertColCommandId','override','getActiveRange','LICENSE_MAX_UNITS_EXCEEDED','isArray','transformSelections','IBeforeCloseService','_entityInit$','isTransformMutationsWithChangesetSuccess','FromArray','#FFF','_online','registerDependencies','createIdentifier','getStateCache','currentColor','APPLY_REJECT','_saveTaskMap','some','defs','newValue','_collaborationUIEventService','shareReplay','touchDependencies','InsertRangeMoveRightCommandId','collabStatus.synced','subscribe','getCurrent','COLORS','UNDEFINED','/run/','CollaborationDataLoaderController','dispose','_messageService','_session','collab-client.tooltip.reconnect','ILocalCacheService','MemberService','result','_getMergeRange','HTTPService','transformMutation','pipe','registerBeforeClose','_transformUndoRedoStack','AWAITING_WITH_PENDING','getSkeleton','_cursors','replaceState','ISnapshotServerService','setItem','handleDeleteRangeMoveLeft','Warning','_handleJoinEvent','_hover'];_0x5253=function(){return _0x5cee55;};return _0x5253();}var jt=Object[_0x3e4096(0x2e2)],kt=(_0x58b597,_0x548e59,_0x5d59f2,_0x4c0793)=>{for(var _0x35f53a=_0x4c0793>0x1?void 0x0:_0x4c0793?jt(_0x548e59,_0x5d59f2):_0x548e59,_0xbaaa78=_0x58b597['length']-0x1,_0x4e7919;_0xbaaa78>=0x0;_0xbaaa78--)(_0x4e7919=_0x58b597[_0xbaaa78])&&(_0x35f53a=_0x4e7919(_0x35f53a)||_0x35f53a);return _0x35f53a;},Ue=(_0x30f6ad,_0x4adba9)=>(_0x17d894,_0x1a32b5)=>_0x4adba9(_0x17d894,_0x1a32b5,_0x30f6ad);let z=class{constructor(_0x58fcd0,_0x439e0e){const _0xe1de9=_0x3e4096;this[_0xe1de9(0x323)]=_0x58fcd0,this['_renderManagerService']=_0x439e0e;}['transformIMECache'](_0x51111b){const _0x17242a=_0x3e4096;this[_0x17242a(0x2a2)](_0x51111b),this[_0x17242a(0x361)](_0x51111b);}['transformRemoteChangeset'](_0x410153){const _0x43deec=_0x3e4096,{unitID:_0x219143}=_0x410153,_0x5e3825=this[_0x43deec(0x1f0)][_0x43deec(0x330)](_0x219143)[_0x43deec(0x2ba)](E['DocIMEInputManagerService']),{redoCache:_0x4616d2}=_0x5e3825['getUndoRedoMutationParamsCache']();if(_0x4616d2[_0x43deec(0x20a)]===0x0)return _0x410153;let _0x31b2c6=a[_0x43deec(0x258)][_0x43deec(0x211)](_0x410153['mutations'][0x0]);for(let _0x46f147=0x0;_0x46f147<_0x4616d2[_0x43deec(0x20a)];_0x46f147++){const _0x373a54={'id':_0x43deec(0x1e0),'params':{..._0x4616d2[_0x46f147]}},_0x4e2853=this[_0x43deec(0x323)][_0x43deec(0x29f)](_0x31b2c6,_0x373a54,!0x1);if(m['isTransformMutationFailure'](_0x4e2853))throw _0x4e2853[_0x43deec(0x24d)];_0x31b2c6=_0x4e2853[_0x43deec(0x390)];}return{...a['Tools'][_0x43deec(0x211)](_0x410153),'mutations':[_0x31b2c6]};}[_0x3e4096(0x2a2)](_0xa2e74d){const _0x17b05d=_0x3e4096,{unitID:_0x2a07e9}=_0xa2e74d,_0x59103c=this['_renderManagerService'][_0x17b05d(0x330)](_0x2a07e9)['with'](E['DocIMEInputManagerService']),{undoCache:_0x17af7c,redoCache:_0xcbbc97}=_0x59103c[_0x17b05d(0x198)]();if(_0x17af7c[_0x17b05d(0x20a)]===0x0||_0xcbbc97[_0x17b05d(0x20a)]===0x0)return;const _0x4dde8c=[],_0x3425c7=[];let _0xdb9976=a[_0x17b05d(0x258)]['deepClone'](_0xa2e74d[_0x17b05d(0x233)][0x0]),_0x433360=a[_0x17b05d(0x258)][_0x17b05d(0x211)](_0xa2e74d[_0x17b05d(0x233)][0x0]);for(let _0xf38024=_0x17af7c['length']-0x1;_0xf38024>=0x0;_0xf38024--){const _0x165e5a={'id':'doc.mutation.rich-text-editing','params':{..._0x17af7c[_0xf38024]}},_0x2a882b={'id':_0x17b05d(0x1e0),'params':{..._0xcbbc97[_0xf38024]}},_0x293fa5=this[_0x17b05d(0x323)][_0x17b05d(0x29f)](_0xdb9976,_0x165e5a,!0x1),_0x4b9fca=this[_0x17b05d(0x323)][_0x17b05d(0x29f)](_0x433360,_0x2a882b,!0x1);if(m['isTransformMutationFailure'](_0x293fa5))throw _0x293fa5[_0x17b05d(0x24d)];if(m[_0x17b05d(0x300)](_0x4b9fca))throw _0x4b9fca['error'];_0x4dde8c[_0x17b05d(0x3af)](_0x293fa5['m2Prime'][_0x17b05d(0x1bb)]),_0x3425c7[_0x17b05d(0x3af)](_0x4b9fca[_0x17b05d(0x3cf)][_0x17b05d(0x1bb)]),_0xdb9976=_0x293fa5[_0x17b05d(0x390)],_0x433360=_0x4b9fca[_0x17b05d(0x390)];}_0x59103c[_0x17b05d(0x1b1)]({'undoCache':_0x4dde8c,'redoCache':_0x3425c7});}[_0x3e4096(0x361)](_0x3e58d9){const _0x22ec81=_0x3e4096,{unitID:_0x2fa187}=_0x3e58d9,_0xf3b94b=this[_0x22ec81(0x1f0)][_0x22ec81(0x330)](_0x2fa187)['with'](E[_0x22ec81(0x192)]),_0x16f32c=_0xf3b94b[_0x22ec81(0x278)]();if(_0x16f32c==null)return;const _0x461c69=[{'id':_0x22ec81(0x1e0),'params':{'unitId':_0x3e58d9[_0x22ec81(0x397)],'actions':null,'textRanges':[_0x16f32c]}}],_0x2ee2ef=this[_0x22ec81(0x323)]['transformMutationsWithChangeset'](_0x3e58d9,_0x461c69);if(!m['isTransformMutationsWithChangesetSuccess'](_0x2ee2ef))throw _0x2ee2ef[_0x22ec81(0x24d)];const _0x5b4cb8=_0x2ee2ef['m2Prime'][0x0]['params']['textRanges'];Array[_0x22ec81(0x27a)](_0x5b4cb8)&&_0x5b4cb8['length']&&_0xf3b94b[_0x22ec81(0x349)](_0x5b4cb8[0x0]);}};z=kt([Ue(0x0,m[_0x3e4096(0x155)]),Ue(0x1,p[_0x3e4096(0x154)])],z);var Ft=Object[_0x3e4096(0x2e2)],Ht=(_0x4becb9,_0x5a90f9,_0x21e597,_0x418ac9)=>{const _0x5da917=_0x3e4096;for(var _0x55b110=_0x418ac9>0x1?void 0x0:_0x418ac9?Ft(_0x5a90f9,_0x21e597):_0x5a90f9,_0x19dfd6=_0x4becb9[_0x5da917(0x20a)]-0x1,_0x2868aa;_0x19dfd6>=0x0;_0x19dfd6--)(_0x2868aa=_0x4becb9[_0x19dfd6])&&(_0x55b110=_0x2868aa(_0x55b110)||_0x55b110);return _0x55b110;},ce=(_0x1bffcc,_0x428ead)=>(_0x29eca8,_0x285ca7)=>_0x428ead(_0x29eca8,_0x285ca7,_0x1bffcc);let J=class{constructor(_0x3b6fcf,_0x3ac657,_0x284431){const _0x1fcb2a=_0x3e4096;this[_0x1fcb2a(0x37b)]=_0x3b6fcf,this[_0x1fcb2a(0x323)]=_0x3ac657,this[_0x1fcb2a(0x2f8)]=_0x284431;}[_0x3e4096(0x2af)](_0x465827){const _0x3a44e2=_0x3e4096;this[_0x3a44e2(0x2cf)](_0x465827);}[_0x3e4096(0x1a2)](_0x3cd655){const _0x1dcd5e=_0x3e4096,{unitID:_0x3c8d4b}=_0x3cd655,{collaboration:_0xcf6a6a}=this[_0x1dcd5e(0x2f8)][_0x1dcd5e(0x284)](_0x3c8d4b);if(_0xcf6a6a[_0x1dcd5e(0x20a)]===0x0)return _0x3cd655;let _0x5e8167=a[_0x1dcd5e(0x258)][_0x1dcd5e(0x211)](_0x3cd655[_0x1dcd5e(0x233)][0x0]);for(let _0x5526a8=0x0;_0x5526a8<_0xcf6a6a[_0x1dcd5e(0x20a)];_0x5526a8++){const _0x55b270={'id':_0x1dcd5e(0x1e0),'params':{'unitId':_0xcf6a6a[_0x5526a8][_0x1dcd5e(0x20c)],..._0xcf6a6a[_0x5526a8][_0x1dcd5e(0x341)]}},_0x3db88b=this[_0x1dcd5e(0x323)][_0x1dcd5e(0x29f)](_0x5e8167,_0x55b270,!0x1);if(m[_0x1dcd5e(0x300)](_0x3db88b))throw _0x3db88b[_0x1dcd5e(0x24d)];_0x5e8167=_0x3db88b[_0x1dcd5e(0x390)];}return{...a['Tools'][_0x1dcd5e(0x211)](_0x3cd655),'mutations':[_0x5e8167]};}[_0x3e4096(0x2cf)](_0x124c61){const _0xdda6b3=_0x3e4096,{unitID:_0x101049}=_0x124c61,{history:_0x4de6dc,collaboration:_0x3d9c82}=this[_0xdda6b3(0x2f8)]['getStateCache'](_0x101049);if(_0x4de6dc['length']===0x0&&_0x3d9c82[_0xdda6b3(0x20a)]===0x0)return;const _0x274319=[],_0x438b72=[];let _0x574a9a=a['Tools']['deepClone'](_0x124c61[_0xdda6b3(0x233)][0x0]),_0x539c59=a[_0xdda6b3(0x258)]['deepClone'](_0x124c61['mutations'][0x0]);for(let _0x8a69d9=_0x4de6dc[_0xdda6b3(0x20a)]-0x1;_0x8a69d9>=0x0;_0x8a69d9--){const _0x996fa1={'id':_0xdda6b3(0x1e0),'params':{'unitId':_0x4de6dc[_0x8a69d9][_0xdda6b3(0x20c)],..._0x4de6dc[_0x8a69d9]['undoState']}},_0x334428={'id':_0xdda6b3(0x1e0),'params':{'unitId':_0x4de6dc[_0x8a69d9]['unitId'],..._0x4de6dc[_0x8a69d9][_0xdda6b3(0x341)]}},_0x1d0b53=this[_0xdda6b3(0x323)][_0xdda6b3(0x29f)](_0x574a9a,_0x996fa1,!0x1),_0x1a4e81=this[_0xdda6b3(0x323)]['transformMutation'](_0x539c59,_0x334428,!0x1);if(m[_0xdda6b3(0x300)](_0x1d0b53))throw _0x1d0b53[_0xdda6b3(0x24d)];if(m[_0xdda6b3(0x300)](_0x1a4e81))throw _0x1a4e81['error'];_0x274319[_0xdda6b3(0x3af)]({..._0x4de6dc[_0x8a69d9],'undoState':_0x1d0b53[_0xdda6b3(0x3cf)][_0xdda6b3(0x1bb)],'redoState':_0x1a4e81['m2Prime'][_0xdda6b3(0x1bb)]}),_0x574a9a=_0x1d0b53[_0xdda6b3(0x390)],_0x539c59=_0x1a4e81['m1Prime'];}_0x574a9a=a[_0xdda6b3(0x258)]['deepClone'](_0x124c61['mutations'][0x0]),_0x539c59=a[_0xdda6b3(0x258)][_0xdda6b3(0x211)](_0x124c61['mutations'][0x0]);for(let _0x15952b=_0x3d9c82[_0xdda6b3(0x20a)]-0x1;_0x15952b>=0x0;_0x15952b--){const _0x58c234={'id':_0xdda6b3(0x1e0),'params':{'unitId':_0x3d9c82[_0x15952b][_0xdda6b3(0x20c)],..._0x3d9c82[_0x15952b][_0xdda6b3(0x360)]}},_0x150b43={'id':_0xdda6b3(0x1e0),'params':{'unitId':_0x3d9c82[_0x15952b]['unitId'],..._0x3d9c82[_0x15952b][_0xdda6b3(0x341)]}},_0x2e69ca=this[_0xdda6b3(0x323)]['transformMutation'](_0x574a9a,_0x58c234,!0x1),_0xc4ef51=this[_0xdda6b3(0x323)][_0xdda6b3(0x29f)](_0x539c59,_0x150b43,!0x1);if(m[_0xdda6b3(0x300)](_0x2e69ca))throw _0x2e69ca['error'];if(m[_0xdda6b3(0x300)](_0xc4ef51))throw _0xc4ef51['error'];_0x438b72['unshift']({..._0x3d9c82[_0x15952b],'undoState':_0x2e69ca['m2Prime'][_0xdda6b3(0x1bb)],'redoState':_0xc4ef51[_0xdda6b3(0x3cf)][_0xdda6b3(0x1bb)]}),_0x574a9a=_0x2e69ca['m1Prime'],_0x539c59=_0xc4ef51['m1Prime'];}this[_0xdda6b3(0x2f8)]['setStateCache'](_0x101049,{'history':_0x274319,'collaboration':_0x438b72});}};J=Ht([ce(0x0,a['Inject'](a[_0x3e4096(0x3d7)])),ce(0x1,m[_0x3e4096(0x155)]),ce(0x2,a['Inject'](E['DocStateChangeManagerService']))],J);var Yt=Object[_0x3e4096(0x2e2)],Wt=(_0x4a4431,_0x54a317,_0x536b90,_0x3d95da)=>{const _0x55e6e2=_0x3e4096;for(var _0x536679=_0x3d95da>0x1?void 0x0:_0x3d95da?Yt(_0x54a317,_0x536b90):_0x54a317,_0x89c760=_0x4a4431[_0x55e6e2(0x20a)]-0x1,_0x9d2e01;_0x89c760>=0x0;_0x89c760--)(_0x9d2e01=_0x4a4431[_0x89c760])&&(_0x536679=_0x9d2e01(_0x536679)||_0x536679);return _0x536679;},Ne=(_0x264e97,_0x2a14af)=>(_0x1b9787,_0x5e85d8)=>_0x2a14af(_0x1b9787,_0x5e85d8,_0x264e97);let Z=class{constructor(_0x4c9d84,_0x19c2c2){const _0x1ba058=_0x3e4096;this[_0x1ba058(0x37b)]=_0x4c9d84,this[_0x1ba058(0x323)]=_0x19c2c2;}[_0x3e4096(0x27b)](_0x49d572){const _0x264783=_0x3e4096;var _0x2ed38a;const _0x5d2624=this[_0x264783(0x37b)][_0x264783(0x351)](Y['DocSelectionManagerService']),_0x2cd1a7=(_0x2ed38a=_0x5d2624['getDocRanges']())!=null?_0x2ed38a:[];if(_0x2cd1a7[_0x264783(0x20a)]===0x0)return;const _0x1c77b3=_0x49d572[_0x264783(0x397)],_0x46187d=[{'id':_0x264783(0x1e0),'params':{'unitId':_0x1c77b3,'actions':null,'textRanges':_0x2cd1a7}}],_0x524308=this[_0x264783(0x323)]['transformMutationsWithChangeset'](_0x49d572,_0x46187d);if(!m[_0x264783(0x27e)](_0x524308))throw _0x524308['error'];const _0x12ac15=_0x524308[_0x264783(0x3cf)][0x0][_0x264783(0x1bb)][_0x264783(0x2f1)];Array[_0x264783(0x27a)](_0x12ac15)&&_0x12ac15[_0x264783(0x20a)]&&_0x5d2624[_0x264783(0x374)](_0x12ac15,{'unitId':_0x1c77b3,'subUnitId':_0x1c77b3},!0x1);}};Z=Wt([Ne(0x0,a['Inject'](a[_0x3e4096(0x3d7)])),Ne(0x1,m[_0x3e4096(0x155)])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x27841b,_0x21693e,_0x58e595,_0x31810a)=>{for(var _0x218d8e=_0x31810a>0x1?void 0x0:_0x31810a?Vt(_0x21693e,_0x58e595):_0x21693e,_0x10b1cb=_0x27841b['length']-0x1,_0x152b16;_0x10b1cb>=0x0;_0x10b1cb--)(_0x152b16=_0x27841b[_0x10b1cb])&&(_0x218d8e=_0x152b16(_0x218d8e)||_0x218d8e);return _0x218d8e;},N=(_0x204155,_0x36fb18)=>(_0x3b6e57,_0x575f07)=>_0x36fb18(_0x3b6e57,_0x575f07,_0x204155);let Q=class extends a[_0x3e4096(0x35c)]{constructor(_0x2a5bc5,_0x5703a5,_0x2595fc,_0x4f9561,_0x1493d3,_0x4496b0,_0x23dc49,_0x634aa0){const _0x283f54=_0x3e4096;super(),h(this,_0x283f54(0x272),new d[(_0x283f54(0x1db))](u[_0x283f54(0x2fc)][_0x283f54(0x3a4)])),(this[_0x283f54(0x2f8)]=_0x2a5bc5,this['_collaborationController']=_0x5703a5,this['_docTransformIMECacheService']=_0x2595fc,this[_0x283f54(0x1a9)]=_0x4f9561,this['_docTransformSelectionsService']=_0x1493d3,this[_0x283f54(0x17d)]=_0x4496b0,this[_0x283f54(0x297)]=_0x23dc49,this[_0x283f54(0x2f6)]=_0x634aa0,this['_initEntityListener']());}[_0x3e4096(0x207)](){const _0x46ada7=_0x3e4096;this[_0x46ada7(0x2c2)](this[_0x46ada7(0x1eb)][_0x46ada7(0x346)][_0x46ada7(0x290)](_0x47a424=>{const _0x372930=_0x46ada7,_0x1e985d=this[_0x372930(0x2f8)][_0x372930(0x314)]['subscribe'](_0x28a119=>{const _0x8e2922=_0x372930;if(_0x28a119==null)return;const {unitId:_0x598b92,redoState:_0x98c967,commandId:_0x4b4dd5}=_0x28a119;if(_0x598b92!==_0x47a424[_0x8e2922(0x397)])return;const _0x1e1f94={'id':_0x4b4dd5,'type':a[_0x8e2922(0x32e)][_0x8e2922(0x3b2)],'params':{'unitId':_0x598b92,'actions':_0x98c967[_0x8e2922(0x1ef)],'textRanges':null}};_0x47a424['onLocalMutation'](_0x1e1f94);});if(_0x47a424[_0x372930(0x2c2)](_0x1e985d),_0x47a424 instanceof u[_0x372930(0x32c)]){const _0x4ab466={'onTransformIME':_0x357179=>this[_0x372930(0x158)][_0x372930(0x35a)](_0x357179),'onTransformState':_0x231175=>this[_0x372930(0x1a9)][_0x372930(0x2af)](_0x231175),'onTransformSelections':_0x2d2f8b=>this['_docTransformSelectionsService'][_0x372930(0x27b)](_0x2d2f8b),'onSyncEditingCollabCursor':_0x3e1465=>this[_0x372930(0x17d)][_0x372930(0x1fd)](_0x3e1465),'onTransformRemoteChangesetByIMECache':_0x14435d=>this['_docTransformIMECacheService'][_0x372930(0x1a2)](_0x14435d),'onTransformRemoteChangesetByStateCache':_0x20e944=>this[_0x372930(0x1a9)]['transformRemoteChangeset'](_0x20e944)};_0x47a424[_0x372930(0x383)](_0x4ab466);}}));}};Q=Xt([N(0x0,a[_0x3e4096(0x3ca)](E[_0x3e4096(0x223)])),N(0x1,a[_0x3e4096(0x3ca)](u[_0x3e4096(0x18e)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x3e4096(0x3ca)](J)),N(0x4,a[_0x3e4096(0x3ca)](Z)),N(0x5,a[_0x3e4096(0x3ca)](pe)),N(0x6,O[_0x3e4096(0x247)]),N(0x7,a[_0x3e4096(0x3ca)](a[_0x3e4096(0x38f)]))],Q);var Gt=Object[_0x3e4096(0x2e2)],Kt=(_0x3a9b0e,_0x51f5a6,_0x290dfa,_0x502d6f)=>{const _0x4701b7=_0x3e4096;for(var _0x1acc2b=_0x502d6f>0x1?void 0x0:_0x502d6f?Gt(_0x51f5a6,_0x290dfa):_0x51f5a6,_0x4a423e=_0x3a9b0e[_0x4701b7(0x20a)]-0x1,_0x5ac2db;_0x4a423e>=0x0;_0x4a423e--)(_0x5ac2db=_0x3a9b0e[_0x4a423e])&&(_0x1acc2b=_0x5ac2db(_0x1acc2b)||_0x1acc2b);return _0x1acc2b;},le=(_0x222f8c,_0x4a3e6e)=>(_0x1bfcd6,_0x946a13)=>_0x4a3e6e(_0x1bfcd6,_0x946a13,_0x222f8c);let ve=class extends a['Disposable']{constructor(_0xbbaedb,_0x157490,_0x1ff75a){const _0x45bea4=_0x3e4096;super(),h(this,_0x45bea4(0x21e),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x45bea4(0x161),!0x1),(this[_0x45bea4(0x236)]=_0xbbaedb,this[_0x45bea4(0x1dd)]=_0x157490,this[_0x45bea4(0x25c)]=_0x1ff75a);}[_0x3e4096(0x1ed)](){const _0x4efbf0=_0x3e4096;this[_0x4efbf0(0x161)]=!0x0;}[_0x3e4096(0x16a)](){const _0x55db61=_0x3e4096;this[_0x55db61(0x161)]=!0x1;}get['saveTaskMap'](){const _0x375ff3=_0x3e4096;return this[_0x375ff3(0x287)];}['dispose'](){const _0x3909e4=_0x3e4096;this[_0x3909e4(0x3c6)]()['then'](()=>super[_0x3909e4(0x296)]());}async[_0x3e4096(0x1f6)](_0x4a2dcf){const _0x43dd7b=_0x3e4096;return this['_disabled']?null:this[_0x43dd7b(0x1dd)]['getItem'](u[_0x43dd7b(0x305)](_0x4a2dcf));}async[_0x3e4096(0x260)](_0x1a84c3,_0x1ad314){const _0x3b1411=_0x3e4096;return!!this[_0x3b1411(0x1dd)][_0x3b1411(0x2a8)](_0x1a84c3,_0x1ad314);}[_0x3e4096(0x269)](_0x45daad,_0x5d3f5a,_0x129143,_0x244faf){const _0x4cb5ae=_0x3e4096,_0xfbfd21=this[_0x4cb5ae(0x25c)][_0x4cb5ae(0x1ec)](_0x45daad);this[_0x4cb5ae(0x21e)][_0x4cb5ae(0x369)](_0x45daad,{'unitID':_0x45daad,'type':_0x5d3f5a,'awaitingChangeset':_0x129143,'mutations':_0x244faf,'rev':_0xfbfd21}),this[_0x4cb5ae(0x287)][_0x4cb5ae(0x1af)](_0x45daad)||this['_scheduleSaving'](_0x45daad);}[_0x3e4096(0x23a)](_0x4b631d){const _0x366734=_0x3e4096,_0x2ccf54=this[_0x366734(0x3a1)]();_0x2ccf54===0x0?this['_saveCache'](_0x4b631d):this['_saveTaskMap']['set'](_0x4b631d,setTimeout(()=>this[_0x366734(0x21d)](_0x4b631d),_0x2ccf54));}[_0x3e4096(0x3a1)](){const _0xfe398a=_0x3e4096;var _0x2f5acd;return(_0x2f5acd=this[_0xfe398a(0x236)]['getConfig'](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2f5acd:u['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x5bc9d4){const _0x287313=_0x3e4096,_0x448cbe=this[_0x287313(0x287)][_0x287313(0x351)](_0x5bc9d4);return _0x448cbe!==void 0x0&&window[_0x287313(0x20d)](_0x448cbe),this[_0x287313(0x1dd)]['setItem'](u['getLocalCacheKey'](_0x5bc9d4),this[_0x287313(0x21e)][_0x287313(0x351)](_0x5bc9d4))[_0x287313(0x264)](()=>this[_0x287313(0x287)][_0x287313(0x1f8)](_0x5bc9d4));}async[_0x3e4096(0x3c6)](){const _0x5d61fe=_0x3e4096,_0x432c14=[];this[_0x5d61fe(0x287)][_0x5d61fe(0x268)]((_0x4b328e,_0x838491)=>{const _0xfb4d6c=_0x5d61fe;window[_0xfb4d6c(0x20d)](_0x4b328e),_0x432c14['push'](this[_0xfb4d6c(0x21d)](_0x838491)[_0xfb4d6c(0x264)](()=>{const _0x528302=_0xfb4d6c;this[_0x528302(0x287)][_0x528302(0x1f8)](_0x838491);}));}),await Promise[_0x5d61fe(0x398)](_0x432c14);}};ve=Kt([le(0x0,a[_0x3e4096(0x31b)]),le(0x1,a[_0x3e4096(0x312)]),le(0x2,a['Inject'](m['RevisionService']))],ve);class xe extends a[_0x3e4096(0x168)]{constructor(){const _0x2dd725=_0x3e4096;super(),h(this,'urlChange$'),this[_0x2dd725(0x26d)]=d[_0x2dd725(0x1c0)](window,_0x2dd725(0x37e))['pipe'](d['takeUntil'](this['dispose$']),d[_0x2dd725(0x28c)](0x1),d['mapTo'](void 0x0));}[_0x3e4096(0x36c)](_0x331d77,_0x22cbcf,_0x2f624a=!0x1){const _0x5ac924=_0x3e4096,_0x3594cd=new URL(window[_0x5ac924(0x2e8)][_0x5ac924(0x384)]);_0x3594cd[_0x5ac924(0x2ce)][_0x5ac924(0x369)](_0x331d77,_0x22cbcf),_0x2f624a?window[_0x5ac924(0x17a)][_0x5ac924(0x2a6)]('','',_0x3594cd[_0x5ac924(0x25e)]()):window[_0x5ac924(0x17a)][_0x5ac924(0x213)]('','',_0x3594cd[_0x5ac924(0x25e)]());}[_0x3e4096(0x355)](_0x395bbc,_0x5ac4f0=!0x1){const _0x178ce2=_0x3e4096,_0x3dfc37=new URL(window[_0x178ce2(0x2e8)][_0x178ce2(0x384)]);_0x3dfc37['searchParams'][_0x178ce2(0x1f8)](_0x395bbc),_0x5ac4f0?window[_0x178ce2(0x17a)][_0x178ce2(0x2a6)]('','',_0x3dfc37[_0x178ce2(0x25e)]()):window[_0x178ce2(0x17a)][_0x178ce2(0x213)]('','',_0x3dfc37[_0x178ce2(0x25e)]());}['getParam'](_0x2da57f){const _0x3eee5b=_0x3e4096;var _0x500baa;return(_0x500baa=new URL(window['location'][_0x3eee5b(0x384)])[_0x3eee5b(0x2ce)][_0x3eee5b(0x351)](_0x2da57f))!=null?_0x500baa:void 0x0;}}var qt=Object[_0x3e4096(0x262)],zt=Object[_0x3e4096(0x2e2)],Jt=(_0x50659e,_0x2f9fc1,_0xeb134a)=>_0x2f9fc1 in _0x50659e?qt(_0x50659e,_0x2f9fc1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xeb134a}):_0x50659e[_0x2f9fc1]=_0xeb134a,Zt=(_0x5d8b2e,_0x1c8440,_0x2b7074,_0x455444)=>{for(var _0x4ac80b=_0x455444>0x1?void 0x0:_0x455444?zt(_0x1c8440,_0x2b7074):_0x1c8440,_0x2bbaa8=_0x5d8b2e['length']-0x1,_0x34bac4;_0x2bbaa8>=0x0;_0x2bbaa8--)(_0x34bac4=_0x5d8b2e[_0x2bbaa8])&&(_0x4ac80b=_0x34bac4(_0x4ac80b)||_0x4ac80b);return _0x4ac80b;},_e=(_0x438d30,_0x148a15)=>(_0xfb544f,_0x332b7d)=>_0x148a15(_0xfb544f,_0x332b7d,_0x438d30),Qt=(_0x378a59,_0x2cb48a,_0x65b7c1)=>Jt(_0x378a59,_0x2cb48a+'',_0x65b7c1);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports['UniverCollaborationClientUIPlugin']=class extends a[_0x3e4096(0x3c4)]{constructor(_0x10a3fc=De,_0x7b6c8d,_0x3866cc,_0x19e6c6){const _0x307100=_0x3e4096;super(),this[_0x307100(0x249)]=_0x10a3fc,this[_0x307100(0x1f0)]=_0x7b6c8d,this[_0x307100(0x37b)]=_0x3866cc,this[_0x307100(0x236)]=_0x19e6c6;const {..._0x5a0061}=a[_0x307100(0x183)]({},De,this[_0x307100(0x249)]);this['_configService'][_0x307100(0x350)](Bt,_0x5a0061);}[_0x3e4096(0x167)](){const _0x525885=_0x3e4096;this[_0x525885(0x3c1)](),this[_0x525885(0x31d)]();}['onRendered'](){const _0x192c31=_0x3e4096;this[_0x192c31(0x164)]();}[_0x3e4096(0x3c1)](){const _0x2c15b6=_0x3e4096;var _0x445026;const _0x2ec1af=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K['ISocketService'],{'useClass':K[_0x2c15b6(0x2d5)]}],[u['ILocalCacheService'],{'useClass':ve}],[exports[_0x2c15b6(0x25b)]],[Q],[q],[x],[ue],[exports[_0x2c15b6(0x295)]]];a[_0x2c15b6(0x282)](this[_0x2c15b6(0x37b)],a['mergeOverrideWithDependencies'](_0x2ec1af,(_0x445026=this['_config'])==null?void 0x0:_0x445026[_0x2c15b6(0x277)]));}[_0x3e4096(0x164)](){const _0x25982f=_0x3e4096;this[_0x25982f(0x2c2)](this['_renderManagerService'][_0x25982f(0x3c8)](a[_0x25982f(0x3cb)]['UNIVER_DOC'],[fe])),this[_0x25982f(0x2c2)](this[_0x25982f(0x1f0)]['registerRenderModule'](a[_0x25982f(0x3cb)][_0x25982f(0x17f)],[Ie]));}[_0x3e4096(0x31d)](){const _0x3ee33d=_0x3e4096;a[_0x3ee33d(0x28d)](this[_0x3ee33d(0x37b)],[[x],[exports[_0x3ee33d(0x25b)]],[Q],[q],[exports[_0x3ee33d(0x295)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x3e4096(0x1ea),es),exports[_0x3e4096(0x229)]=Zt([a[_0x3e4096(0x370)](u[_0x3e4096(0x3a5)]),_e(0x1,p[_0x3e4096(0x154)]),_e(0x2,a[_0x3e4096(0x3ca)](a[_0x3e4096(0x3d7)])),_e(0x3,a[_0x3e4096(0x31b)])],exports['UniverCollaborationClientUIPlugin']);function _0x6398(_0x37819a,_0x190116){const _0x5253fa=_0x5253();return _0x6398=function(_0x6398da,_0x53cac4){_0x6398da=_0x6398da-0x152;let _0x580959=_0x5253fa[_0x6398da];return _0x580959;},_0x6398(_0x37819a,_0x190116);}var ts=Object[_0x3e4096(0x2e2)],ss=(_0x1231e3,_0x34373c,_0x1a0231,_0x14715b)=>{for(var _0x5758ca=_0x14715b>0x1?void 0x0:_0x14715b?ts(_0x34373c,_0x1a0231):_0x34373c,_0x1c2db8=_0x1231e3['length']-0x1,_0x23eeea;_0x1c2db8>=0x0;_0x1c2db8--)(_0x23eeea=_0x1231e3[_0x1c2db8])&&(_0x5758ca=_0x23eeea(_0x5758ca)||_0x5758ca);return _0x5758ca;},H=(_0x1ff7f5,_0x209db7)=>(_0xe4228c,_0x81fe5d)=>_0x209db7(_0xe4228c,_0x81fe5d,_0x1ff7f5);exports[_0x3e4096(0x2c6)]=class extends u['CollaborationSocketService']{constructor(_0x4af886,_0x5c906f,_0x54283b,_0x406f43,_0x2ac73b){super(_0x4af886,_0x5c906f,_0x54283b,_0x406f43,_0x2ac73b);}async['createSocket'](_0x1a4e0a){const _0x2b27ee=_0x3e4096,_0x51de2b=await this['_getSessionTicket'](),_0x1ce308=this[_0x2b27ee(0x3b5)](_0x1a4e0a,_0x51de2b);return this[_0x2b27ee(0x194)](_0x1ce308);}[_0x3e4096(0x3b5)](_0x31de05,_0x49d672){const _0xc5d681=_0x3e4096,_0x4240f7=typeof window>'u'?new URL(_0x31de05):new URL(_0x31de05,window[_0xc5d681(0x2e8)][_0xc5d681(0x39a)]);_0x4240f7['searchParams'][_0xc5d681(0x369)](_0xc5d681(0x3b1),_0x49d672);const _0x4d7c24=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xc5d681(0x324)]);return _0x4d7c24[_0xc5d681(0x351)](_0xc5d681(0x363))&&_0x4240f7['searchParams']['set'](_0xc5d681(0x363),_0x4d7c24[_0xc5d681(0x351)](_0xc5d681(0x363))),_0x4240f7[_0xc5d681(0x25e)]();}async[_0x3e4096(0x171)](){const _0x26a118=_0x3e4096;var _0x4a3b91,_0x16d6ee,_0x237a0c;const _0x54141e=this[_0x26a118(0x236)][_0x26a118(0x200)](u[_0x26a118(0x1fc)]),_0x193d5e=(_0x4a3b91=_0x54141e==null?void 0x0:_0x54141e[_0x26a118(0x1b5)])!=null?_0x4a3b91:u[_0x26a118(0x39b)];return(_0x237a0c=(_0x16d6ee=(await this['_httpService'][_0x26a118(0x351)](_0x193d5e,{'headers':{'Content-Type':_0x26a118(0x347)}}))[_0x26a118(0x2b3)])==null?void 0x0:_0x16d6ee['ticket'])!=null?_0x237a0c:'';}},exports[_0x3e4096(0x2c6)]=ss([H(0x0,a[_0x3e4096(0x3ca)](a[_0x3e4096(0x3d7)])),H(0x1,a['Inject'](K[_0x3e4096(0x29e)])),H(0x2,a['IConfigService']),H(0x3,a[_0x3e4096(0x195)]),H(0x4,m[_0x3e4096(0x2a7)])],exports[_0x3e4096(0x2c6)]);var Be=(_0x25370c=>(_0x25370c[_0x25370c[_0x3e4096(0x293)]=0x0]=_0x3e4096(0x293),_0x25370c[_0x25370c['OK']=0x1]='OK',_0x25370c[_0x25370c['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x25370c[_0x25370c['PERMISSION_DENIED']=0x3]=_0x3e4096(0x1e9),_0x25370c[_0x25370c[_0x3e4096(0x3a8)]=0x4]=_0x3e4096(0x3a8),_0x25370c[_0x25370c[_0x3e4096(0x1d7)]=0x5]=_0x3e4096(0x1d7),_0x25370c[_0x25370c[_0x3e4096(0x382)]=0x6]='ALREADY_EXISTS',_0x25370c[_0x25370c[_0x3e4096(0x172)]=0x7]='INVALID_ARGUMENT',_0x25370c[_0x25370c['TOO_MANY_REQUESTS']=0x8]=_0x3e4096(0x3c9),_0x25370c[_0x25370c[_0x3e4096(0x36e)]=0x9]='COMPLETION_FINISHED',_0x25370c[_0x25370c[_0x3e4096(0x302)]=0xa]=_0x3e4096(0x302),_0x25370c[_0x25370c[_0x3e4096(0x175)]=0xb]=_0x3e4096(0x175),_0x25370c[_0x25370c[_0x3e4096(0x378)]=0xc]=_0x3e4096(0x378),_0x25370c[_0x25370c[_0x3e4096(0x2e1)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x25370c[_0x25370c['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x25370c[_0x25370c[_0x3e4096(0x22d)]=0x1389]=_0x3e4096(0x22d),_0x25370c[_0x25370c[_0x3e4096(0x2b4)]=0x1771]=_0x3e4096(0x2b4),_0x25370c[_0x25370c[_0x3e4096(0x342)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x25370c[_0x25370c[_0x3e4096(0x3b7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x25370c[_0x25370c[_0x3e4096(0x286)]=0x1b59]=_0x3e4096(0x286),_0x25370c[_0x25370c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3e4096(0x366),_0x25370c[_0x25370c[_0x3e4096(0x1dc)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x25370c[_0x25370c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3e4096(0x241),_0x25370c[_0x25370c['APPLY_DUPLICATED']=0x1b5d]=_0x3e4096(0x326),_0x25370c[_0x25370c[_0x3e4096(0x1ae)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x25370c[_0x25370c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3e4096(0x279),_0x25370c[_0x25370c[_0x3e4096(0x1ca)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x25370c[_0x25370c[_0x3e4096(0x1a0)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x25370c[_0x25370c[_0x3e4096(0x1d2)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x25370c[_0x25370c[_0x3e4096(0x387)]=0x232d]=_0x3e4096(0x387),_0x25370c[_0x25370c[_0x3e4096(0x2c7)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x25370c[_0x25370c[_0x3e4096(0x259)]=0x2712]=_0x3e4096(0x259),_0x25370c[_0x25370c[_0x3e4096(0x3ba)]=0x2713]=_0x3e4096(0x3ba),_0x25370c[_0x25370c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3e4096(0x322),_0x25370c[_0x25370c[_0x3e4096(0x31a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x25370c[_0x25370c['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3e4096(0x357),_0x25370c[_0x25370c[_0x3e4096(0x391)]=0x271c]=_0x3e4096(0x391),_0x25370c[_0x25370c[_0x3e4096(0x32a)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x25370c[_0x25370c[_0x3e4096(0x2cc)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x25370c[_0x25370c[_0x3e4096(0x232)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x25370c[_0x25370c[_0x3e4096(0x17c)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x25370c[_0x25370c[_0x3e4096(0x275)]=0x2af9]=_0x3e4096(0x275),_0x25370c[_0x25370c[_0x3e4096(0x32b)]=0x2ee1]=_0x3e4096(0x32b),_0x25370c[_0x25370c[_0x3e4096(0x1e6)]=0x2ee2]=_0x3e4096(0x1e6),_0x25370c[_0x25370c[_0x3e4096(0x30a)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x25370c[_0x25370c['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3e4096(0x37c),_0x25370c[_0x25370c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3e4096(0x22b),_0x25370c[_0x25370c[_0x3e4096(0x197)]=0x32c9]=_0x3e4096(0x197),_0x25370c[_0x25370c[_0x3e4096(0x36d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x25370c[_0x25370c['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x25370c[_0x25370c[_0x3e4096(0x2e3)]=-0x1]=_0x3e4096(0x2e3),_0x25370c))(Be||{}),is=Object['getOwnPropertyDescriptor'],ns=(_0xb3f0aa,_0x48393e,_0x2909ba,_0x2aceea)=>{const _0x23b383=_0x3e4096;for(var _0x22b7b8=_0x2aceea>0x1?void 0x0:_0x2aceea?is(_0x48393e,_0x2909ba):_0x48393e,_0x56282c=_0xb3f0aa[_0x23b383(0x20a)]-0x1,_0x203d59;_0x56282c>=0x0;_0x56282c--)(_0x203d59=_0xb3f0aa[_0x56282c])&&(_0x22b7b8=_0x203d59(_0x22b7b8)||_0x22b7b8);return _0x22b7b8;},he=(_0x2b8b32,_0x522b98)=>(_0xd88ab7,_0x4a9ac9)=>_0x522b98(_0xd88ab7,_0x4a9ac9,_0x2b8b32);exports[_0x3e4096(0x3ad)]=class extends a[_0x3e4096(0x35c)]{constructor(_0x582797,_0x4e685e,_0x2e13ba){const _0x5e7d4a=_0x3e4096;super(),this[_0x5e7d4a(0x37f)]=_0x582797,this[_0x5e7d4a(0x1c4)]=_0x4e685e,this[_0x5e7d4a(0x236)]=_0x2e13ba;}async[_0x3e4096(0x166)](_0x184489,_0x2a0955,_0x5b3bff,..._0x60fe56){const _0x39a150=_0x3e4096;var _0x4de6ee,_0x358133,_0x584d93,_0x2348dc;const _0x4a9679=this[_0x39a150(0x37f)][_0x39a150(0x358)]();if(!_0x4a9679)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0xaf6737=((_0x4de6ee=this[_0x39a150(0x236)]['getConfig'](u[_0x39a150(0x2e6)]))!=null?_0x4de6ee:u[_0x39a150(0x1e5)])+'/'+_0x184489+_0x39a150(0x294)+_0x2a0955,_0x35da15=new URL(window['location']['href']),_0x3857e4={'scriptId':_0x184489,'runId':(_0x358133=_0x35da15['searchParams'][_0x39a150(0x351)]('runId'))!=null?_0x358133:'','function':_0x2a0955,'unitId':_0x4a9679[_0x39a150(0x227)](),'argsOfFunction':JSON[_0x39a150(0x2eb)](_0x60fe56),'invokeId':(_0x584d93=_0x5b3bff['invokeId'])!=null?_0x584d93:'','executionId':(_0x2348dc=_0x5b3bff['executionId'])!=null?_0x2348dc:''};try{const _0x1a7248=await this[_0x39a150(0x1c4)][_0x39a150(0x1e8)](_0xaf6737,{'body':_0x3857e4});return _0x1a7248[_0x39a150(0x2b3)][_0x39a150(0x24d)]&&_0x1a7248[_0x39a150(0x2b3)]['error'][_0x39a150(0x3c2)]!==Be['OK']?_0x39a150(0x243):_0x1a7248[_0x39a150(0x2b3)][_0x39a150(0x29c)];}catch{return'Failed';}}},exports[_0x3e4096(0x3ad)]=ns([he(0x0,a[_0x3e4096(0x3ac)]),he(0x1,a['Inject'](K['HTTPService'])),he(0x2,a[_0x3e4096(0x31b)])],exports[_0x3e4096(0x3ad)]);const Me=0x7530,Le=_0x3e4096(0x393);class rs extends a[_0x3e4096(0x35c)]{constructor(){const _0x4a3b0c=_0x3e4096;super(),h(this,_0x4a3b0c(0x24c),a[_0x4a3b0c(0x24f)]()),h(this,_0x4a3b0c(0x273),new Set()),h(this,_0x4a3b0c(0x191),new Map()),h(this,_0x4a3b0c(0x237),null),h(this,_0x4a3b0c(0x3c3),new Map()),h(this,_0x4a3b0c(0x3cd),new Map()),this[_0x4a3b0c(0x1e7)]();}[_0x3e4096(0x296)](){const _0xcceaa8=_0x3e4096;super[_0xcceaa8(0x296)](),this[_0xcceaa8(0x3c3)]['forEach']((_0x93476e,_0x461104)=>this[_0xcceaa8(0x30c)](_0x461104)),this[_0xcceaa8(0x237)]&&window[_0xcceaa8(0x3d0)](this[_0xcceaa8(0x237)]);}[_0x3e4096(0x33f)](_0x57de2c){const _0x25f838=_0x3e4096;return this[_0x25f838(0x1f9)](_0x57de2c)[_0x25f838(0x2a0)](d[_0x25f838(0x3ae)]());}[_0x3e4096(0x320)](_0x5f5dba){const _0x36ca47=_0x3e4096;this[_0x36ca47(0x273)][_0x36ca47(0x39e)]===0x0&&this[_0x36ca47(0x306)](),this[_0x36ca47(0x273)][_0x36ca47(0x176)](_0x5f5dba),this['_send']({'type':0x0,'memberID':this[_0x36ca47(0x24c)],'unitIDs':[_0x5f5dba],'isForwarded':!0x1});}[_0x3e4096(0x1e2)](_0x1cd3bb){const _0x152ac1=_0x3e4096;this[_0x152ac1(0x273)][_0x152ac1(0x1f8)](_0x1cd3bb),this[_0x152ac1(0x273)][_0x152ac1(0x39e)]===0x0&&this['_heartbeatTimer']&&window[_0x152ac1(0x3d0)](this[_0x152ac1(0x237)]);}['_init'](){const _0x51ae25=_0x3e4096;this[_0x51ae25(0x2c2)](a['toDisposable'](d[_0x51ae25(0x1c0)](window,_0x51ae25(0x3d1))[_0x51ae25(0x290)](_0x368461=>{const _0xd7c36f=_0x51ae25;if(_0x368461[_0xd7c36f(0x257)]!==Le||!_0x368461[_0xd7c36f(0x28a)])return;const _0x2e2f50=JSON['parse'](_0x368461[_0xd7c36f(0x28a)]);this[_0xd7c36f(0x1bd)](_0x2e2f50);}))),window[_0x51ae25(0x2fe)](_0x51ae25(0x1c1),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x51ae25(0x228)](this[_0x51ae25(0x273)])}));}[_0x3e4096(0x1bd)](_0x5c0c66){const _0x590e08=_0x3e4096;switch(_0x5c0c66[_0x590e08(0x39c)]){case 0x0:this[_0x590e08(0x2ab)](_0x5c0c66);break;case 0x1:this[_0x590e08(0x239)](_0x5c0c66);break;case 0x2:this[_0x590e08(0x309)](_0x5c0c66);break;}}[_0x3e4096(0x2ab)](_0x4b59cf){const _0x1618c4=_0x3e4096,{unitIDs:_0x1e309e,memberID:_0x260493,isForwarded:_0x302f10}=_0x4b59cf;_0x1e309e[_0x1618c4(0x268)](_0x869fd4=>{const _0x1f4d42=_0x1618c4;if(!_0x302f10&&this[_0x1f4d42(0x191)]['has'](_0x869fd4)&&this[_0x1f4d42(0x1f9)](_0x869fd4)[_0x1f4d42(0x2f4)](u[_0x1f4d42(0x344)][_0x1f4d42(0x34c)]),!this[_0x1f4d42(0x191)][_0x1f4d42(0x1af)](_0x869fd4)||!this[_0x1f4d42(0x191)][_0x1f4d42(0x351)](_0x869fd4)['has'](_0x260493)){const _0x3e2b54=this[_0x1f4d42(0x191)]['get'](_0x869fd4)||new Set();_0x3e2b54[_0x1f4d42(0x176)](_0x260493),this[_0x1f4d42(0x191)][_0x1f4d42(0x369)](_0x869fd4,_0x3e2b54),this[_0x1f4d42(0x160)](_0x260493);}}),_0x302f10||this[_0x1618c4(0x1fe)]({'type':0x0,'memberID':this[_0x1618c4(0x24c)],'unitIDs':[...this[_0x1618c4(0x273)]],'isForwarded':!0x0});}[_0x3e4096(0x160)](_0xb40b28){const _0xb6b990=_0x3e4096;this[_0xb6b990(0x30c)](_0xb40b28);const _0x29c0ed=window['setTimeout'](()=>{const _0x542ce2=_0xb6b990;this[_0x542ce2(0x191)][_0x542ce2(0x268)](_0x2c3237=>{const _0x218cbd=_0x542ce2;_0x2c3237[_0x218cbd(0x1f8)](_0xb40b28);});},Me*0x2);this[_0xb6b990(0x3c3)][_0xb6b990(0x369)](_0xb40b28,_0x29c0ed);}[_0x3e4096(0x30c)](_0x5ef9bc){const _0x1f3a2a=_0x3e4096;if(this['_clearOtherTimers'][_0x1f3a2a(0x1af)](_0x5ef9bc)){const _0x3779eb=this['_clearOtherTimers'][_0x1f3a2a(0x351)](_0x5ef9bc);_0x3779eb&&window[_0x1f3a2a(0x20d)](_0x3779eb),this[_0x1f3a2a(0x3c3)][_0x1f3a2a(0x369)](_0x5ef9bc,null);}}['_handleLeaveEvent'](_0xcd0f98){const _0x3a9102=_0x3e4096,{memberID:_0x5acc2d,unitIDs:_0x1b4644}=_0xcd0f98;_0x1b4644[_0x3a9102(0x268)](_0x3cc438=>{const _0x128e12=_0x3a9102;var _0x479565;const _0x4e3ace=this[_0x128e12(0x191)][_0x128e12(0x351)](_0x3cc438);_0x4e3ace&&(_0x4e3ace[_0x128e12(0x1f8)](_0x5acc2d),(_0x479565=this[_0x128e12(0x1f9)](_0x3cc438))==null||_0x479565[_0x128e12(0x2f4)](_0x4e3ace['size']===0x0?u[_0x128e12(0x344)][_0x128e12(0x1cd)]:u[_0x128e12(0x344)][_0x128e12(0x34c)]));}),this[_0x3a9102(0x30c)](_0x5acc2d);}[_0x3e4096(0x309)](_0x446121){const _0xedd63c=_0x3e4096;this[_0xedd63c(0x160)](_0x446121['memberID']);}[_0x3e4096(0x1fe)](_0x1818b5){const _0x4ffb17=_0x3e4096;localStorage['setItem'](Le,JSON[_0x4ffb17(0x2eb)](_0x1818b5));}[_0x3e4096(0x306)](){const _0x579c73=_0x3e4096;this[_0x579c73(0x237)]=window[_0x579c73(0x2cd)](()=>{const _0x67c40c=_0x579c73;this[_0x67c40c(0x1fe)]({'type':0x2,'memberID':this[_0x67c40c(0x24c)]});},Me);}[_0x3e4096(0x1f9)](_0x2bf2ea){const _0x3d7621=_0x3e4096;return this[_0x3d7621(0x3cd)][_0x3d7621(0x1af)](_0x2bf2ea)||this[_0x3d7621(0x3cd)][_0x3d7621(0x369)](_0x2bf2ea,new d['BehaviorSubject'](u['UnitStatus'][_0x3d7621(0x1cd)])),this[_0x3d7621(0x3cd)][_0x3d7621(0x351)](_0x2bf2ea);}}exports[_0x3e4096(0x19e)]=me,exports['SheetCollabCursorShape']=$e,exports[_0x3e4096(0x1d9)]=rs,exports[_0x3e4096(0x221)]=xe;
1
+ 'use strict';const _0xbb36ef=_0x487e;(function(_0x9c93a7,_0x25ddd1){const _0x272d1b=_0x487e,_0x2e1337=_0x9c93a7();while(!![]){try{const _0x24c184=parseInt(_0x272d1b(0x268))/0x1*(-parseInt(_0x272d1b(0x1fb))/0x2)+-parseInt(_0x272d1b(0x2d4))/0x3*(parseInt(_0x272d1b(0x3fc))/0x4)+-parseInt(_0x272d1b(0x426))/0x5+-parseInt(_0x272d1b(0x3ff))/0x6*(parseInt(_0x272d1b(0x332))/0x7)+parseInt(_0x272d1b(0x42c))/0x8*(-parseInt(_0x272d1b(0x343))/0x9)+-parseInt(_0x272d1b(0x202))/0xa+-parseInt(_0x272d1b(0x40d))/0xb*(-parseInt(_0x272d1b(0x3b7))/0xc);if(_0x24c184===_0x25ddd1)break;else _0x2e1337['push'](_0x2e1337['shift']());}catch(_0x4779fc){_0x2e1337['push'](_0x2e1337['shift']());}}}(_0x52b0,0x9b988));var We=Object['defineProperty'],Ve=(_0x33697e,_0x1f0a5d,_0x185a19)=>_0x1f0a5d in _0x33697e?We(_0x33697e,_0x1f0a5d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x185a19}):_0x33697e[_0x1f0a5d]=_0x185a19,h=(_0x444082,_0xfbc0e3,_0x3204db)=>Ve(_0x444082,typeof _0xfbc0e3!=_0xbb36ef(0x383)?_0xfbc0e3+'':_0xfbc0e3,_0x3204db);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0xbb36ef(0x31f)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0x5c3418=_0xbb36ef;return b=Object[_0x5c3418(0x2ba)]||function(_0x114e95){const _0x4ffa97=_0x5c3418;for(var _0x3ba9a9,_0x327e7a=0x1,_0x4b13bc=arguments[_0x4ffa97(0x21e)];_0x327e7a<_0x4b13bc;_0x327e7a++){_0x3ba9a9=arguments[_0x327e7a];for(var _0x5564fc in _0x3ba9a9)Object[_0x4ffa97(0x314)][_0x4ffa97(0x42e)][_0x4ffa97(0x376)](_0x3ba9a9,_0x5564fc)&&(_0x114e95[_0x5564fc]=_0x3ba9a9[_0x5564fc]);}return _0x114e95;},b[_0x5c3418(0x1e3)](this,arguments);},Ke=function(_0x3c8b5d,_0x9cdf18){const _0x295a09=_0xbb36ef;var _0x57e514={};for(var _0x1d7431 in _0x3c8b5d)Object[_0x295a09(0x314)][_0x295a09(0x42e)][_0x295a09(0x376)](_0x3c8b5d,_0x1d7431)&&_0x9cdf18['indexOf'](_0x1d7431)<0x0&&(_0x57e514[_0x1d7431]=_0x3c8b5d[_0x1d7431]);if(_0x3c8b5d!=null&&typeof Object[_0x295a09(0x312)]==_0x295a09(0x306)){for(var _0x10c276=0x0,_0x1d7431=Object[_0x295a09(0x312)](_0x3c8b5d);_0x10c276<_0x1d7431[_0x295a09(0x21e)];_0x10c276++)_0x9cdf18[_0x295a09(0x3f4)](_0x1d7431[_0x10c276])<0x0&&Object[_0x295a09(0x314)][_0x295a09(0x262)][_0x295a09(0x376)](_0x3c8b5d,_0x1d7431[_0x10c276])&&(_0x57e514[_0x1d7431[_0x10c276]]=_0x3c8b5d[_0x1d7431[_0x10c276]]);}return _0x57e514;},ge=M[_0xbb36ef(0x2da)](function(_0x160265,_0x550e43){const _0x4616bc=_0xbb36ef;var _0x31abb0=_0x160265[_0x4616bc(0x1c6)],_0x4cb305=_0x160265['id'],_0x1d12c8=_0x160265['className'],_0x5e365d=_0x160265[_0x4616bc(0x337)],_0x6c0ef2=Ke(_0x160265,[_0x4616bc(0x1c6),'id',_0x4616bc(0x3f5),_0x4616bc(0x337)]),_0x1e0408='univerjs-icon\x20univerjs-icon-'[_0x4616bc(0x28f)](_0x4cb305,'\x20')[_0x4616bc(0x28f)](_0x1d12c8||'')[_0x4616bc(0x2b5)](),_0x2fe010=M[_0x4616bc(0x3e0)]('_'[_0x4616bc(0x28f)](Je()));return Pe(_0x31abb0,''['concat'](_0x4cb305),{'defIds':_0x31abb0['defIds'],'idSuffix':_0x2fe010['current']},b({'ref':_0x550e43,'className':_0x1e0408},_0x6c0ef2),_0x5e365d);});function Pe(_0x166853,_0x3f8b45,_0x37f2b3,_0x418b99,_0x326c0f){const _0x6e3e3f=_0xbb36ef;return M[_0x6e3e3f(0x39f)](_0x166853['tag'],b(b({'key':_0x3f8b45},qe(_0x166853,_0x37f2b3,_0x326c0f)),_0x418b99),(ze(_0x166853,_0x37f2b3)[_0x6e3e3f(0x3c1)]||[])[_0x6e3e3f(0x331)](function(_0x1de777,_0x12da01){const _0x47ca23=_0x6e3e3f;return Pe(_0x1de777,''[_0x47ca23(0x28f)](_0x3f8b45,'-')[_0x47ca23(0x28f)](_0x166853[_0x47ca23(0x1d4)],'-')['concat'](_0x12da01),_0x37f2b3,void 0x0,_0x326c0f);}));}function _0x487e(_0x3e24ce,_0x7f52aa){const _0x52b085=_0x52b0();return _0x487e=function(_0x487ecc,_0x509210){_0x487ecc=_0x487ecc-0x1ba;let _0x1b5f32=_0x52b085[_0x487ecc];return _0x1b5f32;},_0x487e(_0x3e24ce,_0x7f52aa);}function qe(_0x2a8749,_0x36bc98,_0x1c8f4a){const _0x3b527a=_0xbb36ef;var _0x3f7657=b({},_0x2a8749[_0x3b527a(0x1c5)]);_0x1c8f4a!=null&&_0x1c8f4a['colorChannel1']&&_0x3f7657[_0x3b527a(0x420)]==='colorChannel1'&&(_0x3f7657[_0x3b527a(0x420)]=_0x1c8f4a['colorChannel1']),_0x2a8749['tag']==='mask'&&_0x3f7657['id']&&(_0x3f7657['id']=_0x3f7657['id']+_0x36bc98[_0x3b527a(0x39e)]),Object[_0x3b527a(0x3b0)](_0x3f7657)[_0x3b527a(0x3bd)](function(_0x63af7a){const _0x48510d=_0x3b527a;var _0x492334=_0x63af7a[0x0],_0x47620f=_0x63af7a[0x1];_0x492334===_0x48510d(0x20b)&&typeof _0x47620f==_0x48510d(0x1f0)&&(_0x3f7657[_0x492334]=_0x47620f[_0x48510d(0x364)](/url\(#(.*)\)/,'url(#$1'[_0x48510d(0x28f)](_0x36bc98[_0x48510d(0x39e)],')')));});var _0x1d569c=_0x36bc98[_0x3b527a(0x32f)];return!_0x1d569c||_0x1d569c['length']===0x0||(_0x2a8749['tag']===_0x3b527a(0x3cd)&&_0x3f7657['xlink:href']&&(_0x3f7657[_0x3b527a(0x276)]=_0x3f7657[_0x3b527a(0x276)]+_0x36bc98['idSuffix']),Object[_0x3b527a(0x3b0)](_0x3f7657)[_0x3b527a(0x3bd)](function(_0x35b14c){const _0x3fdb47=_0x3b527a;var _0x8469b9=_0x35b14c[0x0],_0x9268db=_0x35b14c[0x1];typeof _0x9268db=='string'&&(_0x3f7657[_0x8469b9]=_0x9268db[_0x3fdb47(0x364)](/url\(#(.*)\)/,_0x3fdb47(0x271)[_0x3fdb47(0x28f)](_0x36bc98[_0x3fdb47(0x39e)],')')));})),_0x3f7657;}function ze(_0x1685f3,_0x439539){const _0xd3fa4e=_0xbb36ef;var _0x5c4c48,_0x4d4831=_0x439539[_0xd3fa4e(0x32f)];return!_0x4d4831||_0x4d4831['length']===0x0?_0x1685f3:_0x1685f3[_0xd3fa4e(0x1d4)]===_0xd3fa4e(0x395)&&(!((_0x5c4c48=_0x1685f3[_0xd3fa4e(0x3c1)])===null||_0x5c4c48===void 0x0)&&_0x5c4c48[_0xd3fa4e(0x21e)])?b(b({},_0x1685f3),{'children':_0x1685f3[_0xd3fa4e(0x3c1)]['map'](function(_0x102d44){const _0x2c3e44=_0xd3fa4e;return typeof _0x102d44[_0x2c3e44(0x1c5)]['id']==_0x2c3e44(0x1f0)&&_0x4d4831&&_0x4d4831[_0x2c3e44(0x1d3)](_0x102d44[_0x2c3e44(0x1c5)]['id'])?b(b({},_0x102d44),{'attrs':b(b({},_0x102d44['attrs']),{'id':_0x102d44[_0x2c3e44(0x1c5)]['id']+_0x439539[_0x2c3e44(0x39e)]})}):_0x102d44;})}):_0x1685f3;}function Je(){const _0x485d5e=_0xbb36ef;return Math[_0x485d5e(0x1f1)]()[_0x485d5e(0x219)](0x24)[_0x485d5e(0x255)](0x2,0x8);}ge[_0xbb36ef(0x223)]=_0xbb36ef(0x2bb);var Ze={'tag':'svg','attrs':{'xmlns':_0xbb36ef(0x254),'fill':'none','viewBox':_0xbb36ef(0x41e),'width':_0xbb36ef(0x1ba),'height':_0xbb36ef(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':_0xbb36ef(0x313)},'children':[{'tag':_0xbb36ef(0x2fe),'attrs':{'stroke':'currentColor','d':_0xbb36ef(0x3b6),'strokeLinecap':'round','strokeLinejoin':_0xbb36ef(0x22b),'strokeWidth':1.2}}]},{'tag':_0xbb36ef(0x395),'attrs':{},'children':[{'tag':_0xbb36ef(0x34f),'attrs':{'id':_0xbb36ef(0x427)},'children':[{'tag':'path','attrs':{'fill':_0xbb36ef(0x29b),'d':_0xbb36ef(0x3a8)}}]}]}],'defIds':[_0xbb36ef(0x427)]},we=M[_0xbb36ef(0x2da)](function(_0x39a24e,_0x520a29){const _0x33bc4d=_0xbb36ef;return M[_0x33bc4d(0x39f)](ge,Object[_0x33bc4d(0x2ba)]({},_0x39a24e,{'id':_0x33bc4d(0x380),'ref':_0x520a29,'icon':Ze}));});we[_0xbb36ef(0x223)]=_0xbb36ef(0x391);var Qe={'tag':_0xbb36ef(0x289),'attrs':{'xmlns':_0xbb36ef(0x254),'fill':'none','viewBox':'0\x200\x2017\x2016','width':'1em','height':_0xbb36ef(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0xbb36ef(0x232),'d':_0xbb36ef(0x401),'strokeLinecap':_0xbb36ef(0x22b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbb36ef(0x24f)},'children':[{'tag':_0xbb36ef(0x2fe),'attrs':{'fill':'white','d':_0xbb36ef(0x3a8),'transform':_0xbb36ef(0x359)}}]}]}],'defIds':[_0xbb36ef(0x24f)]},Ae=M[_0xbb36ef(0x2da)](function(_0x15cda5,_0x3afc3b){const _0x513f25=_0xbb36ef;return M[_0x513f25(0x39f)](ge,Object[_0x513f25(0x2ba)]({},_0x15cda5,{'id':_0x513f25(0x1c9),'ref':_0x3afc3b,'icon':Qe}));});Ae[_0xbb36ef(0x223)]=_0xbb36ef(0x286);function et(_0x408d34){const _0x51c6cc=_0xbb36ef;switch(_0x408d34){case u[_0x51c6cc(0x2f9)][_0x51c6cc(0x2b2)]:return _0x51c6cc(0x39b);case u[_0x51c6cc(0x2f9)]['CONFLICT']:return _0x51c6cc(0x422);case u[_0x51c6cc(0x2f9)][_0x51c6cc(0x38c)]:return _0x51c6cc(0x1bf);case u[_0x51c6cc(0x2f9)]['NOT_COLLAB']:return _0x51c6cc(0x20c);case u[_0x51c6cc(0x2f9)]['AWAITING']:case u[_0x51c6cc(0x2f9)]['AWAITING_WITH_PENDING']:return _0x51c6cc(0x350);case u[_0x51c6cc(0x2f9)]['SYNCED']:case u[_0x51c6cc(0x2f9)][_0x51c6cc(0x400)]:return _0x51c6cc(0x1f8);}}function tt(_0x20314e){const _0x581588=_0xbb36ef,{status$:_0x46ecb2}=_0x20314e,_0x1c9689=O[_0x581588(0x398)](_0x46ecb2,u['CollaborationStatus'][_0x581588(0x2c3)]),_0x298792=O[_0x581588(0x297)](a[_0x581588(0x344)]),_0x20bc71=O[_0x581588(0x297)](u[_0x581588(0x263)]),_0x4bce48=_0x1c9689!==u[_0x581588(0x2f9)][_0x581588(0x2b2)],_0x57cc2b=_0x298792['t'](et(_0x1c9689)),_0x35edfd=_0x4bce48?P['jsx'](Ae,{}):P[_0x581588(0x36c)](we,{}),_0x5f5209=M[_0x581588(0x2d9)](()=>{_0x4bce48||_0x20bc71['reconnect']();},[_0x4bce48,_0x20bc71]);function _0x5c8a78(){const _0x1e9c52=_0x581588;return P[_0x1e9c52(0x1dd)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x5f5209,'children':[P[_0x1e9c52(0x36c)]('div',{'className':D[_0x1e9c52(0x2d1)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4bce48,'univer-text-red-500':!_0x4bce48}),'children':_0x35edfd}),P['jsx'](_0x1e9c52(0x1df),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x57cc2b})]});}return _0x4bce48?_0x5c8a78():P[_0x581588(0x36c)](D[_0x581588(0x26d)],{'title':_0x298792['t'](_0x581588(0x3cc)),'children':_0x5c8a78()});}var st=Object['getOwnPropertyDescriptor'],it=(_0x9015b5,_0x2380cc,_0x5e38a9,_0x32b4b2)=>{const _0x4d4d56=_0xbb36ef;for(var _0x41467f=_0x32b4b2>0x1?void 0x0:_0x32b4b2?st(_0x2380cc,_0x5e38a9):_0x2380cc,_0x4c83ac=_0x9015b5[_0x4d4d56(0x21e)]-0x1,_0x278d98;_0x4c83ac>=0x0;_0x4c83ac--)(_0x278d98=_0x9015b5[_0x4c83ac])&&(_0x41467f=_0x278d98(_0x41467f)||_0x41467f);return _0x41467f;},V=(_0x753024,_0x374e81)=>(_0x3c2f03,_0x165be1)=>_0x374e81(_0x3c2f03,_0x165be1,_0x753024);exports[_0xbb36ef(0x396)]=class extends a[_0xbb36ef(0x413)]{constructor(_0x23733a,_0xba0848,_0x1583cb,_0x3b905f){const _0x104a2b=_0xbb36ef;super(),h(this,_0x104a2b(0x2fa),new d[(_0x104a2b(0x2ad))](u[_0x104a2b(0x2f9)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x23733a,this[_0x104a2b(0x267)]=_0xba0848,this[_0x104a2b(0x303)]=_0x1583cb,this[_0x104a2b(0x23a)]=_0x3b905f,this[_0x104a2b(0x406)](),this[_0x104a2b(0x30f)]());}[_0xbb36ef(0x30f)](){const _0x639c09=_0xbb36ef;this[_0x639c09(0x28c)](this[_0x639c09(0x25d)]['focused$'][_0x639c09(0x2b7)](d[_0x639c09(0x227)](()=>{const _0x2be3b3=_0x639c09,_0x37e633=this[_0x2be3b3(0x25d)][_0x2be3b3(0x36a)]();return _0x37e633?this[_0x2be3b3(0x303)]['getCollabEntity$'](_0x37e633[_0x2be3b3(0x3d8)]()):d['of'](null);}),d[_0x639c09(0x227)](_0xf99de5=>_0xf99de5?_0xf99de5[_0x639c09(0x3ab)]:d['of'](u[_0x639c09(0x2f9)][_0x639c09(0x2c3)])))[_0x639c09(0x31c)](_0x1b15e3=>{const _0x2ac601=_0x639c09;this[_0x2ac601(0x2fa)][_0x2ac601(0x33e)](_0x1b15e3);}));}[_0xbb36ef(0x406)](){const _0x1444e1=_0xbb36ef;this[_0x1444e1(0x28c)](this[_0x1444e1(0x23a)]['registerComponent'](O[_0x1444e1(0x2e9)][_0x1444e1(0x3be)],()=>O[_0x1444e1(0x404)](nt({'status$':this[_0x1444e1(0x2fa)]['asObservable']()}),this[_0x1444e1(0x267)])));}},exports['DesktopCollaborationStatusDisplayController']=it([V(0x0,a[_0xbb36ef(0x21f)]),V(0x1,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x378)])),V(0x2,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x392)])),V(0x3,O['IUIPartsService'])],exports[_0xbb36ef(0x396)]);function nt(_0x1cc164){const {status$:_0x2ae9b8}=_0x1cc164;return function(){const _0x320d77=_0x487e;return P[_0x320d77(0x36c)](tt,{'status$':_0x2ae9b8});};}const me=a[_0xbb36ef(0x293)]('uni.network.url-service');var rt=Object[_0xbb36ef(0x1cf)],ot=(_0x2ca4fd,_0x9c4c51,_0x34fdc9,_0x321ef1)=>{const _0x59ddd6=_0xbb36ef;for(var _0x251a40=_0x321ef1>0x1?void 0x0:_0x321ef1?rt(_0x9c4c51,_0x34fdc9):_0x9c4c51,_0x42babc=_0x2ca4fd[_0x59ddd6(0x21e)]-0x1,_0x1a1d3b;_0x42babc>=0x0;_0x42babc--)(_0x1a1d3b=_0x2ca4fd[_0x42babc])&&(_0x251a40=_0x1a1d3b(_0x251a40)||_0x251a40);return _0x251a40;},k=(_0x1c0d8a,_0x48f5c4)=>(_0x2fa4d6,_0x3e424d)=>_0x48f5c4(_0x2fa4d6,_0x3e424d,_0x1c0d8a);exports[_0xbb36ef(0x30e)]=class extends a[_0xbb36ef(0x315)]{constructor(_0x1107f1,_0x3c3fdd,_0x240d42,_0x5ae72a,_0x24ebc8){const _0x458f59=_0xbb36ef;super(),this[_0x458f59(0x246)]=_0x1107f1,this['_logService']=_0x3c3fdd,this[_0x458f59(0x3f2)]=_0x240d42,this['_dataLoaderService']=_0x5ae72a,_0x24ebc8?_0x24ebc8==null||_0x24ebc8['whenReady']()['then'](()=>this['_init']()):(this['_logService'][_0x458f59(0x393)](_0x458f59(0x2f3),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x458f59(0x307)]());}async[_0xbb36ef(0x307)](){const _0x2ca471=_0xbb36ef,_0x55787f=this[_0x2ca471(0x246)][_0x2ca471(0x238)](_0x2ca471(0x40a)),_0x57cbff=this[_0x2ca471(0x246)]['getParam'](_0x2ca471(0x30c)),_0x11ade1=this[_0x2ca471(0x246)]['getParam'](_0x2ca471(0x2b3));if(!_0x55787f||!_0x57cbff){this[_0x2ca471(0x224)][_0x2ca471(0x393)](_0x2ca471(0x2f3),_0x2ca471(0x1cd));return;}const _0x4573dd=await this[_0x2ca471(0x27d)][_0x2ca471(0x2c8)](_0x55787f,Number(_0x57cbff),_0x11ade1);_0x4573dd&&_0x4573dd instanceof a[_0x2ca471(0x38d)]&&this[_0x2ca471(0x2d0)](_0x4573dd);}async[_0xbb36ef(0x2d0)](_0x5723d3){const _0x5e9a3e=_0xbb36ef;await this['_updateSubUnitFromURLParams'](_0x5723d3),_0x5723d3['activeSheet$'][_0x5e9a3e(0x2b7)](d[_0x5e9a3e(0x39c)](this['dispose$']))[_0x5e9a3e(0x31c)](_0x22b953=>{_0x22b953&&this['_updateURLWithCurrentState'](_0x22b953);}),this['_urlService'][_0x5e9a3e(0x275)][_0x5e9a3e(0x2b7)](d[_0x5e9a3e(0x39c)](this['dispose$']))[_0x5e9a3e(0x31c)](()=>this['_updateSubUnitFromURLParams'](_0x5723d3));}['_updateURLWithCurrentState'](_0x13445a,_0x5e2a2b=!0x1){const _0x25f5b2=_0xbb36ef,_0x32a9ed=this[_0x25f5b2(0x246)]['getParam'](_0x25f5b2(0x2b3));_0x13445a[_0x25f5b2(0x3e4)]()!==_0x32a9ed&&this[_0x25f5b2(0x246)][_0x25f5b2(0x23e)]('subunit',_0x13445a[_0x25f5b2(0x3e4)](),_0x5e2a2b);}async[_0xbb36ef(0x3b9)](_0x385899){const _0x23e65b=_0xbb36ef;var _0x3a415a;const _0x2091d7=this[_0x23e65b(0x246)][_0x23e65b(0x238)](_0x23e65b(0x2b3));if(!_0x2091d7||!_0x385899[_0x23e65b(0x216)](_0x2091d7)){const _0x528550=_0x385899[_0x23e65b(0x421)]()[0x0],_0x5a23b8=_0x385899[_0x23e65b(0x216)](_0x528550);if(!_0x5a23b8)return;this[_0x23e65b(0x260)](_0x5a23b8,!0x0),await this[_0x23e65b(0x3f2)]['executeCommand'](g[_0x23e65b(0x1bb)]['id'],{'unitId':_0x385899['getUnitId'](),'subUnitId':_0x528550});return;}((_0x3a415a=_0x385899[_0x23e65b(0x25a)]())==null?void 0x0:_0x3a415a[_0x23e65b(0x3e4)]())!==_0x2091d7&&await this[_0x23e65b(0x3f2)][_0x23e65b(0x2ae)](g[_0x23e65b(0x1bb)]['id'],{'unitId':_0x385899[_0x23e65b(0x3d8)](),'subUnitId':_0x2091d7});}},exports[_0xbb36ef(0x30e)]=ot([k(0x0,me),k(0x1,a['ILogService']),k(0x2,a['ICommandService']),k(0x3,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x339)])),k(0x4,a[_0xbb36ef(0x411)](Xe[_0xbb36ef(0x36e)]))],exports[_0xbb36ef(0x30e)]);var at=Object[_0xbb36ef(0x1cf)],ct=(_0x26d7e7,_0x1054a7,_0x4b3945,_0x5b46e4)=>{const _0x9c80a3=_0xbb36ef;for(var _0x19af1f=_0x5b46e4>0x1?void 0x0:_0x5b46e4?at(_0x1054a7,_0x4b3945):_0x1054a7,_0x16d89c=_0x26d7e7[_0x9c80a3(0x21e)]-0x1,_0x422223;_0x16d89c>=0x0;_0x16d89c--)(_0x422223=_0x26d7e7[_0x16d89c])&&(_0x19af1f=_0x422223(_0x19af1f)||_0x19af1f);return _0x19af1f;},be=(_0x2c66e9,_0x3e16ba)=>(_0x4225bc,_0x277c09)=>_0x3e16ba(_0x4225bc,_0x277c09,_0x2c66e9);let ue=class extends a[_0xbb36ef(0x315)]{constructor(_0x24db8b,_0x310616){const _0x4459b3=_0xbb36ef;super(),this[_0x4459b3(0x3c4)]=_0x24db8b,this[_0x4459b3(0x2d6)]=_0x310616,this['_init']();}['_init'](){const _0x2639cd=_0xbb36ef,_0x33185a=this;this[_0x2639cd(0x28c)](this[_0x2639cd(0x3c4)]['addClipboardHook']({'onBeforePasteImage':async _0x3b1fad=>{const _0x206bfb=_0x2639cd,_0x12763e=await _0x33185a[_0x206bfb(0x2d6)]['saveImage'](_0x3b1fad);return _0x12763e?{'source':_0x12763e['source'],'imageSourceType':_0x12763e[_0x206bfb(0x280)]}:null;}}));}};ue=ct([be(0x0,E[_0xbb36ef(0x1f4)]),be(0x1,Ge['IImageIoService'])],ue);const Oe=[_0xbb36ef(0x42b),_0xbb36ef(0x1e0),'green.600',_0xbb36ef(0x23b),_0xbb36ef(0x239),_0xbb36ef(0x373)];class Ce extends a['Disposable']{constructor(){const _0x5a18cb=_0xbb36ef;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x5a18cb(0x249),0x0);}[_0xbb36ef(0x24a)](_0x127d2e){const _0x324c02=_0xbb36ef;if(this[_0x324c02(0x2a0)]['has'](_0x127d2e))return this[_0x324c02(0x2a0)][_0x324c02(0x35f)](_0x127d2e);const _0x1ed093=Oe[this[_0x324c02(0x249)]];return this[_0x324c02(0x249)]=(this['_colorIndex']+0x1)%Oe[_0x324c02(0x21e)],this['_assignedColors'][_0x324c02(0x36f)](_0x127d2e,_0x1ed093),_0x1ed093;}}function ye(_0x40dcd8){const _0x3ba58b=_0xbb36ef;let _0x39aae3='';for(const _0x133e62 of _0x40dcd8){const {startOffset:_0x17c548,endOffset:_0x45e647,isActive:_0x274e6a,rangeType:_0x357911,segmentId:_0x12b2af,segmentPage:_0x469e2e}=_0x133e62;_0x39aae3[_0x3ba58b(0x21e)]&&(_0x39aae3+=','),_0x39aae3+=_0x17c548+':'+_0x45e647+':'+(_0x274e6a?'1':'0')+':'+_0x357911+':'+_0x12b2af+':'+_0x469e2e;}return _0x39aae3;}function lt(_0x589aff){const _0x49b900=_0xbb36ef,_0x2fb48f=_0x589aff[_0x49b900(0x3ae)](','),_0x33474b=[];for(const _0x213e23 of _0x2fb48f){const [_0x1a0ba2,_0x2aae6b,_0x259c5e,_0x9fdb7d,_0x748a81,_0x19122d]=_0x213e23['split'](':');_0x33474b[_0x49b900(0x206)]({'startOffset':Number(_0x1a0ba2),'endOffset':Number(_0x2aae6b),'collapsed':_0x1a0ba2===_0x2aae6b,'isActive':_0x259c5e==='1','rangeType':_0x9fdb7d===a[_0x49b900(0x35b)][_0x49b900(0x415)]?a[_0x49b900(0x35b)][_0x49b900(0x415)]:a['DOC_RANGE_TYPE'][_0x49b900(0x212)],'segmentId':typeof _0x748a81==_0x49b900(0x1f0)?String(_0x748a81):'','segmentPage':Number(_0x19122d!=null?_0x19122d:-0x1)});}return _0x33474b[_0x49b900(0x41a)](_0x2575be=>_0x2575be[_0x49b900(0x3de)])||(_0x33474b[0x0][_0x49b900(0x3de)]=!0x0),_0x33474b;}class pe extends a[_0xbb36ef(0x315)]{constructor(){const _0x535d0f=_0xbb36ef;super(...arguments),h(this,_0x535d0f(0x311),new d[(_0x535d0f(0x2ad))](null)),h(this,_0x535d0f(0x20f),this['_collabCursorState$'][_0x535d0f(0x3a9)]());}[_0xbb36ef(0x2ce)](_0xdc6971){const _0x16d66f=_0xbb36ef,{unitID:_0x37f692,memberID:_0x1b726a,textRanges:_0xa8d55c}=_0xdc6971,_0x44d7c2=ye(_0xa8d55c);if(_0x44d7c2==='')return;const _0x11a11f={'unitID':_0x37f692,'memberID':_0x1b726a,'selection':_0x44d7c2};this[_0x16d66f(0x311)]['next'](_0x11a11f);}}var _t=Object[_0xbb36ef(0x1cf)],ht=(_0x12ac5d,_0x902bd1,_0x54d059,_0x2c006b)=>{for(var _0x5b59d5=_0x2c006b>0x1?void 0x0:_0x2c006b?_t(_0x902bd1,_0x54d059):_0x902bd1,_0x54bc57=_0x12ac5d['length']-0x1,_0x5c6466;_0x54bc57>=0x0;_0x54bc57--)(_0x5c6466=_0x12ac5d[_0x54bc57])&&(_0x5b59d5=_0x5c6466(_0x5b59d5)||_0x5b59d5);return _0x5b59d5;},L=(_0x235169,_0x59e672)=>(_0x480cc1,_0x3e822d)=>_0x59e672(_0x480cc1,_0x3e822d,_0x235169);const ut=0x12c,dt=0x64;let de=class extends a[_0xbb36ef(0x315)]{constructor(_0x3fb152,_0x155d46,_0x458d2a,_0x739fe7,_0x1b8de7,_0x46694a,_0x57252b,_0x4cdda6,_0x2b4d27){const _0x3f9100=_0xbb36ef;super(),h(this,_0x3f9100(0x205),!0x1),h(this,_0x3f9100(0x307),!0x1),h(this,_0x3f9100(0x397),new d[(_0x3f9100(0x2ad))](new Map())),h(this,_0x3f9100(0x1e9),this['_cursorInfo$']['asObservable']()),h(this,_0x3f9100(0x38a),new d[(_0x3f9100(0x2ad))]([])),h(this,_0x3f9100(0x423),this['_roomMembers$']['pipe'](d['debounceTime'](ut))),h(this,_0x3f9100(0x29a),a[_0x3f9100(0x240)](_0xe17d9a=>{const _0x489b42=_0x3f9100,_0x43d68a={'eventID':m[_0x489b42(0x399)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x489b42(0x2a8)],'memberID':this['_session'][_0x489b42(0x2a9)](),'selection':ye(_0xe17d9a)}};this[_0x489b42(0x370)][_0x489b42(0x36d)](_0x43d68a,this[_0x489b42(0x2a8)]);},dt)),(this['unitID']=_0x3fb152,this[_0x3f9100(0x370)]=_0x155d46,this['_injector']=_0x458d2a,this[_0x3f9100(0x30d)]=_0x739fe7,this[_0x3f9100(0x34e)]=_0x1b8de7,this[_0x3f9100(0x3da)]=_0x46694a,this['_transformService']=_0x57252b,this[_0x3f9100(0x25d)]=_0x4cdda6,this[_0x3f9100(0x3f2)]=_0x2b4d27);}get[_0xbb36ef(0x2a3)](){return this['_cursorInfo$']['getValue']();}get[_0xbb36ef(0x298)](){const _0x902a26=_0xbb36ef;return this['_roomMembers$'][_0x902a26(0x3bc)]();}[_0xbb36ef(0x3ef)](){const _0x259492=_0xbb36ef;super[_0x259492(0x3ef)](),this[_0x259492(0x397)][_0x259492(0x33e)](new Map()),this['_cursorInfo$'][_0x259492(0x292)](),this[_0x259492(0x38a)][_0x259492(0x33e)]([]),this[_0x259492(0x38a)][_0x259492(0x292)]();}[_0xbb36ef(0x338)](){const _0x490511=_0xbb36ef;this[_0x490511(0x307)]||(this['_init']=!0x0,this[_0x490511(0x370)][_0x490511(0x21c)][_0x490511(0x2b7)](d['takeUntil'](this['dispose$']))[_0x490511(0x31c)](_0x3f3cc0=>{const _0xc28722=_0x490511;_0x3f3cc0===u[_0xc28722(0x2b1)][_0xc28722(0x248)]?this[_0xc28722(0x28e)]():this[_0xc28722(0x419)]();}),this[_0x490511(0x370)][_0x490511(0x2ec)]['pipe'](d[_0x490511(0x39c)](this[_0x490511(0x27a)]))[_0x490511(0x31c)](_0x546b9e=>{const _0x532dc6=_0x490511,_0x210a58=_0x546b9e[_0x532dc6(0x336)];_0x210a58===m[_0x532dc6(0x399)][_0x532dc6(0x2dc)]&&this[_0x532dc6(0x386)](_0x546b9e),_0x210a58===m['CollaborationEvent'][_0x532dc6(0x2ab)]&&this[_0x532dc6(0x321)](_0x546b9e);}),this[_0x490511(0x28c)](this[_0x490511(0x3f2)][_0x490511(0x22e)](_0x2f53ac=>{const _0x258a6f=_0x490511,_0x54183a=_0x2f53ac[_0x258a6f(0x1fc)];_0x54183a!=null&&this[_0x258a6f(0x205)]&&_0x2f53ac['id']===Y[_0x258a6f(0x414)]['id']&&_0x54183a[_0x258a6f(0x30b)]===this['unitID']&&_0x54183a['isEditing']===!0x1&&_0x54183a['ranges'][_0x258a6f(0x21e)]>0x0&&this[_0x258a6f(0x29a)](_0x54183a[_0x258a6f(0x319)]);})),this[_0x490511(0x3da)][_0x490511(0x20f)][_0x490511(0x2b7)](d[_0x490511(0x39c)](this[_0x490511(0x27a)]))[_0x490511(0x31c)](_0xe1c29=>{const _0xdb5086=_0x490511;if((_0xe1c29==null?void 0x0:_0xe1c29[_0xdb5086(0x2a8)])!==this[_0xdb5086(0x2a8)])return;const _0x3732f3={'eventID':m['CollaborationEvent'][_0xdb5086(0x2dc)],'data':_0xe1c29};this[_0xdb5086(0x386)](_0x3732f3);}),this[_0x490511(0x28c)](this[_0x490511(0x3f2)][_0x490511(0x22e)](_0x2fe6a4=>{const _0xab33cf=_0x490511;if(_0x2fe6a4[_0xab33cf(0x1fc)]==null)return;const _0x23d81d=_0x2fe6a4[_0xab33cf(0x1fc)];if(_0x2fe6a4['id']!==Y[_0xab33cf(0x32d)]['id']||_0x23d81d['unitId']!==this['unitID'])return;const _0x3ac70b={'id':_0xab33cf(0x1d0),'params':_0x23d81d},_0x1de58b=this[_0xab33cf(0x2a3)];for(const [_0x56c91f,_0x1e8051]of _0x1de58b){const _0x5b429e={'id':_0xab33cf(0x1d0),'params':{'unitId':this[_0xab33cf(0x2a8)],'actions':null,'textRanges':_0x1e8051[_0xab33cf(0x319)]}},_0x34525e=this['_transformService'][_0xab33cf(0x2b0)](_0x3ac70b,_0x5b429e,!0x1);if(m['isTransformMutationFailure'](_0x34525e))throw _0x34525e['error'];_0x1de58b[_0xab33cf(0x36f)](_0x56c91f,{..._0x1e8051,'ranges':_0x34525e['m2Prime'][_0xab33cf(0x1fc)]['textRanges']});}queueMicrotask(()=>{const _0x67caf1=_0xab33cf;this['_cursorInfo$'][_0x67caf1(0x33e)](_0x1de58b);});})));}[_0xbb36ef(0x386)](_0x3de84a){const _0x168a00=_0xbb36ef;var _0xe8cd5d,_0x50b492;const {memberID:_0x3a7810,selection:_0x183e8a}=_0x3de84a[_0x168a00(0x3d2)],_0x99aaba=lt(_0x183e8a),_0x4d3349=(_0x50b492=(_0xe8cd5d=this[_0x168a00(0x34e)]['getMember'](this['unitID'],_0x3a7810))==null?void 0x0:_0xe8cd5d[_0x168a00(0x381)])!=null?_0x50b492:'Unknown\x20user',_0x267605={'color':this[_0x168a00(0x30d)]['assignAColorForMemberID'](_0x3a7810),'name':_0x4d3349,'ranges':_0x99aaba},_0x463c46=this['cursorInfo'];_0x463c46[_0x168a00(0x36f)](_0x3a7810,_0x267605),this[_0x168a00(0x397)]['next'](_0x463c46);}[_0xbb36ef(0x321)](_0x1d0fb2){const _0x5477e1=_0xbb36ef,{memberID:_0x406f34}=_0x1d0fb2['data'],_0x210cd2=this[_0x5477e1(0x2a3)];_0x210cd2['delete'](_0x406f34),this[_0x5477e1(0x397)][_0x5477e1(0x33e)](_0x210cd2);}[_0xbb36ef(0x28e)](){const _0x1a024e=_0xbb36ef;var _0x1262a3;if(this[_0x1a024e(0x205)]=!0x0,((_0x1262a3=this[_0x1a024e(0x25d)][_0x1a024e(0x36a)]())==null?void 0x0:_0x1262a3[_0x1a024e(0x3d8)]())!==this[_0x1a024e(0x2a8)])return;const _0x2030d1=this[_0x1a024e(0x267)][_0x1a024e(0x35f)](Y[_0x1a024e(0x221)])[_0x1a024e(0x305)]();Array['isArray'](_0x2030d1)&&_0x2030d1['length']>0x0&&this[_0x1a024e(0x29a)](_0x2030d1);}[_0xbb36ef(0x419)](){const _0x66ab27=_0xbb36ef;this[_0x66ab27(0x205)]=!0x1;}};de=ht([L(0x2,a['Inject'](a[_0xbb36ef(0x378)])),L(0x3,a[_0xbb36ef(0x3b8)](Ce)),L(0x4,a['Inject'](u[_0xbb36ef(0x1f9)])),L(0x5,a[_0xbb36ef(0x3b8)](pe)),L(0x6,m[_0xbb36ef(0x229)]),L(0x7,a[_0xbb36ef(0x21f)]),L(0x8,a[_0xbb36ef(0x299)])],de);var St=Object['getOwnPropertyDescriptor'],ft=(_0x438190,_0x3e9798,_0x4cff19,_0x8d8300)=>{const _0x961899=_0xbb36ef;for(var _0x2ccf0a=_0x8d8300>0x1?void 0x0:_0x8d8300?St(_0x3e9798,_0x4cff19):_0x3e9798,_0x40a508=_0x438190[_0x961899(0x21e)]-0x1,_0x16d3e3;_0x40a508>=0x0;_0x40a508--)(_0x16d3e3=_0x438190[_0x40a508])&&(_0x2ccf0a=_0x16d3e3(_0x2ccf0a)||_0x2ccf0a);return _0x2ccf0a;},A=(_0x59f85c,_0x485362)=>(_0x2a0dc6,_0xd1bd43)=>_0x485362(_0x2a0dc6,_0xd1bd43,_0x59f85c);const It=0x12c,vt=0x64,gt=()=>{let _0xb96cc5=[],_0x20b4a4=!0x1;return _0x2a58f4=>{const _0x5b1700=_0x487e;_0xb96cc5[_0x5b1700(0x206)](_0x2a58f4),_0x20b4a4||(_0x20b4a4=!0x0,setTimeout(()=>{const _0x2cff10=_0x5b1700;_0xb96cc5[_0x2cff10(0x3bd)](_0x2ff962=>_0x2ff962()),_0xb96cc5=[],_0x20b4a4=!0x1;}));};};let Se=class extends a[_0xbb36ef(0x315)]{constructor(_0x23e89f,_0x32d137,_0x4ebd8f,_0x192c27,_0x8280d2,_0x587c51,_0x3b401d,_0x3d6915){const _0x431e97=_0xbb36ef;super(),h(this,_0x431e97(0x205),!0x1),h(this,_0x431e97(0x307),!0x1),h(this,_0x431e97(0x397),new d[(_0x431e97(0x2ad))](new Map())),h(this,'cursorInfo$',this[_0x431e97(0x397)][_0x431e97(0x3a9)]()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,'roomMembers$',this['_roomMembers$'][_0x431e97(0x2b7)](d[_0x431e97(0x243)](It))),h(this,_0x431e97(0x29a),a[_0x431e97(0x240)]((_0x2faa04,_0x27ce2c)=>{const _0x45fe7c=_0x431e97,_0x5be4d7={'eventID':m[_0x45fe7c(0x399)][_0x45fe7c(0x2dc)],'data':{'unitID':this[_0x45fe7c(0x2a8)],'memberID':this[_0x45fe7c(0x370)][_0x45fe7c(0x2a9)](),'selection':Ee['serializeRangeWithSheet'](_0x2faa04,_0x27ce2c[_0x45fe7c(0x3a2)])}};this[_0x45fe7c(0x370)][_0x45fe7c(0x36d)](_0x5be4d7,this[_0x45fe7c(0x2a8)]);},vt)),(this[_0x431e97(0x2a8)]=_0x23e89f,this[_0x431e97(0x370)]=_0x32d137,this['_injector']=_0x4ebd8f,this[_0x431e97(0x30d)]=_0x192c27,this[_0x431e97(0x34e)]=_0x8280d2,this[_0x431e97(0x25d)]=_0x587c51,this[_0x431e97(0x3f2)]=_0x3b401d,this[_0x431e97(0x22a)]=_0x3d6915);}get['cursorInfo'](){const _0x6586e5=_0xbb36ef;return this[_0x6586e5(0x397)][_0x6586e5(0x3bc)]();}get[_0xbb36ef(0x298)](){const _0x472e42=_0xbb36ef;return this['_roomMembers$'][_0x472e42(0x3bc)]();}['dispose'](){const _0x1aac13=_0xbb36ef;super[_0x1aac13(0x3ef)](),this[_0x1aac13(0x397)][_0x1aac13(0x33e)](new Map()),this[_0x1aac13(0x397)][_0x1aac13(0x292)](),this[_0x1aac13(0x38a)]['next']([]),this['_roomMembers$'][_0x1aac13(0x292)]();}[_0xbb36ef(0x338)](){const _0x3b1f42=_0xbb36ef;this[_0x3b1f42(0x307)]||(this[_0x3b1f42(0x307)]=!0x0,this[_0x3b1f42(0x370)]['sessionStatus$'][_0x3b1f42(0x2b7)](d[_0x3b1f42(0x39c)](this[_0x3b1f42(0x27a)]))[_0x3b1f42(0x31c)](_0x5b8f1a=>{const _0x4a1b88=_0x3b1f42;_0x5b8f1a===u[_0x4a1b88(0x2b1)]['ONLINE']?this['_toggleOnline']():this[_0x4a1b88(0x419)]();}),this[_0x3b1f42(0x370)][_0x3b1f42(0x2ec)][_0x3b1f42(0x2b7)](d[_0x3b1f42(0x39c)](this[_0x3b1f42(0x27a)]))[_0x3b1f42(0x31c)](_0x3faf78=>{const _0x5d6ef3=_0x3b1f42,_0x2fa0be=_0x3faf78['eventID'];_0x2fa0be===m[_0x5d6ef3(0x399)][_0x5d6ef3(0x2dc)]&&this[_0x5d6ef3(0x386)](_0x3faf78),_0x2fa0be===m[_0x5d6ef3(0x399)][_0x5d6ef3(0x2ab)]&&this[_0x5d6ef3(0x321)](_0x3faf78);}),this[_0x3b1f42(0x2f7)](),this['disposeWithMe'](this[_0x3b1f42(0x3f2)][_0x3b1f42(0x22e)](_0x4c6520=>{const _0x3fd289=_0x3b1f42;if(this[_0x3fd289(0x205)]&&_0x4c6520['id']===g[_0x3fd289(0x23f)]['id']&&_0x4c6520['params'][_0x3fd289(0x30b)]===this[_0x3fd289(0x2a8)]){const _0x310aac=_0x4c6520[_0x3fd289(0x1fc)];this[_0x3fd289(0x29a)](_0x310aac[_0x3fd289(0x2f5)],_0x310aac['selections'][0x0]);}})));}[_0xbb36ef(0x386)](_0x2907d7){const _0x56b57b=_0xbb36ef;var _0x50b9bf,_0x33c926;const {memberID:_0x4048e7,selection:_0x12dc51}=_0x2907d7[_0x56b57b(0x3d2)],{sheetName:_0x15bd69,range:_0xd4ce08}=Ee[_0x56b57b(0x22c)](_0x12dc51),_0x212d36={'name':(_0x33c926=(_0x50b9bf=this['_memberService'][_0x56b57b(0x2c0)](this[_0x56b57b(0x2a8)],_0x4048e7))==null?void 0x0:_0x50b9bf['name'])!=null?_0x33c926:_0x56b57b(0x424),'range':this[_0x56b57b(0x25c)](_0x15bd69,_0xd4ce08),'sheetID':_0x15bd69,'color':this[_0x56b57b(0x30d)][_0x56b57b(0x24a)](_0x4048e7),'selection':_0x12dc51},_0x1e604f=this['cursorInfo'];_0x1e604f[_0x56b57b(0x36f)](_0x4048e7,_0x212d36),this[_0x56b57b(0x397)][_0x56b57b(0x33e)](_0x1e604f);}[_0xbb36ef(0x321)](_0x2fe33b){const _0x12788a=_0xbb36ef,{memberID:_0x4e6950}=_0x2fe33b[_0x12788a(0x3d2)],_0x35027e=this[_0x12788a(0x2a3)];_0x35027e[_0x12788a(0x1ed)](_0x4e6950),this[_0x12788a(0x397)][_0x12788a(0x33e)](_0x35027e);}[_0xbb36ef(0x25c)](_0x3c8644,_0xab38a4){const _0xa2eda3=_0xbb36ef;var _0x5470ed,_0x305c98;const _0x2ff98c=(_0x305c98=(_0x5470ed=this[_0xa2eda3(0x25d)][_0xa2eda3(0x2cc)](this[_0xa2eda3(0x2a8)]))==null?void 0x0:_0x5470ed[_0xa2eda3(0x216)](_0x3c8644))==null?void 0x0:_0x305c98['getMergeData']();return(_0x2ff98c==null?void 0x0:_0x2ff98c['find'](_0x3a850e=>a[_0xa2eda3(0x40c)]['contains'](_0x3a850e,_0xab38a4)))||_0xab38a4;}['_onRefRangeChange'](){const _0x466dfd=_0xbb36ef,_0x2bd5ce=new a[(_0x466dfd(0x3b3))](),_0x4a5308=gt(),_0x4134f4=()=>{const _0x20d5bb=_0x466dfd;_0x2bd5ce[_0x20d5bb(0x3ef)]();const _0x1695a7=(_0x38452e,_0x37f9f5,_0x41e10a,_0x470f0d)=>{const _0x3f26d0=_0x20d5bb;let _0x6d9fb6=[];switch(_0x38452e['id']){case g[_0x3f26d0(0x41d)]['DeleteRangeMoveLeftCommandId']:{_0x6d9fb6=g[_0x3f26d0(0x31d)](_0x38452e,_0x470f0d);break;}case g['EffectRefRangId'][_0x3f26d0(0x41c)]:{_0x6d9fb6=g[_0x3f26d0(0x2cb)](_0x38452e,_0x470f0d);break;}case g['EffectRefRangId'][_0x3f26d0(0x24d)]:{_0x6d9fb6=g['handleInsertCol'](_0x38452e,_0x470f0d);break;}case g[_0x3f26d0(0x41d)][_0x3f26d0(0x3b1)]:{_0x6d9fb6=g[_0x3f26d0(0x327)](_0x38452e,_0x470f0d);break;}case g['EffectRefRangId'][_0x3f26d0(0x33c)]:{_0x6d9fb6=g[_0x3f26d0(0x233)](_0x38452e,_0x470f0d);break;}case g[_0x3f26d0(0x41d)][_0x3f26d0(0x1e1)]:{_0x6d9fb6=g[_0x3f26d0(0x24c)](_0x38452e,_0x470f0d);break;}case g['EffectRefRangId'][_0x3f26d0(0x3ea)]:{_0x6d9fb6=g['handleMoveRange'](_0x38452e,_0x470f0d);break;}case g[_0x3f26d0(0x41d)][_0x3f26d0(0x269)]:{_0x6d9fb6=g[_0x3f26d0(0x1c3)](_0x38452e,_0x470f0d);break;}case g[_0x3f26d0(0x41d)]['RemoveRowCommandId']:{_0x6d9fb6=g['handleIRemoveRow'](_0x38452e,_0x470f0d);break;}}const _0x12db9d=g[_0x3f26d0(0x42f)](_0x6d9fb6,_0x470f0d),_0x4a7794=this['cursorInfo'][_0x3f26d0(0x35f)](_0x37f9f5);if(_0x4a7794&&_0x12db9d){const _0x5e66a2={..._0x4a7794,'range':_0x12db9d};this[_0x3f26d0(0x2a3)]['set'](_0x37f9f5,_0x5e66a2),_0x4a5308(()=>{const _0x25b93c=_0x3f26d0,_0x4c38af=this[_0x25b93c(0x22a)][_0x25b93c(0x2eb)](_0x12db9d,_0x430e1d=>(_0x4c38af[_0x25b93c(0x3ef)](),_0x1695a7(_0x430e1d,_0x37f9f5,_0x41e10a,_0x12db9d)));_0x2bd5ce[_0x25b93c(0x3fe)](_0x4c38af);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x40bc7d,_0xdc16d6)=>{const _0xa5cc33=_0x20d5bb,{range:_0x26b649,sheetID:_0x2ea797}=_0x40bc7d,_0x15e3ed=this['_refRangeService']['registerRefRange'](_0x26b649,_0x415f12=>(_0x15e3ed[_0xa5cc33(0x3ef)](),_0x1695a7(_0x415f12,_0xdc16d6,_0x2ea797,_0x26b649)));_0x2bd5ce[_0xa5cc33(0x3fe)](_0x15e3ed);});};this[_0x466dfd(0x28c)](a['toDisposable'](this[_0x466dfd(0x397)][_0x466dfd(0x31c)](()=>{_0x4134f4();})));}['_toggleOnline'](){const _0x5c2dc1=_0xbb36ef;var _0x32f7b0,_0x30f834;if(this[_0x5c2dc1(0x205)]=!0x0,((_0x32f7b0=this[_0x5c2dc1(0x25d)][_0x5c2dc1(0x36a)]())==null?void 0x0:_0x32f7b0['getUnitId']())!==this[_0x5c2dc1(0x2a8)])return;const _0x365a58=(_0x30f834=this[_0x5c2dc1(0x267)][_0x5c2dc1(0x35f)](g[_0x5c2dc1(0x3a3)])[_0x5c2dc1(0x235)]())==null?void 0x0:_0x30f834[0x0],_0x40fccc=this[_0x5c2dc1(0x25d)][_0x5c2dc1(0x2d7)](a[_0x5c2dc1(0x35d)][_0x5c2dc1(0x244)])[_0x5c2dc1(0x25a)]();_0x365a58&&_0x40fccc&&this['_updateLocalCursor'](_0x40fccc['getSheetId'](),_0x365a58);}['_toggleOffline'](){const _0x57a14c=_0xbb36ef;this[_0x57a14c(0x205)]=!0x1;}};Se=ft([A(0x2,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x378)])),A(0x3,a['Inject'](Ce)),A(0x4,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x1f9)])),A(0x5,a['IUniverInstanceService']),A(0x6,a[_0xbb36ef(0x299)]),A(0x7,a['Inject'](g['RefRangeService']))],Se);var mt=Object[_0xbb36ef(0x1cf)],Ct=(_0xc69cd8,_0x4a61f6,_0x5afcea,_0x3418c)=>{for(var _0x2dbad5=_0x3418c>0x1?void 0x0:_0x3418c?mt(_0x4a61f6,_0x5afcea):_0x4a61f6,_0xd3c003=_0xc69cd8['length']-0x1,_0x206298;_0xd3c003>=0x0;_0xd3c003--)(_0x206298=_0xc69cd8[_0xd3c003])&&(_0x2dbad5=_0x206298(_0x2dbad5)||_0x2dbad5);return _0x2dbad5;},ie=(_0x2dd7e5,_0x1c4f42)=>(_0x5dbf09,_0xb7960d)=>_0x1c4f42(_0x5dbf09,_0xb7960d,_0x2dd7e5);let x=class extends a[_0xbb36ef(0x315)]{constructor(_0x71f36f,_0x4078a0,_0x5266c4){const _0x510bbc=_0xbb36ef;super(),h(this,_0x510bbc(0x24b),new Map()),h(this,_0x510bbc(0x1c2),new d[(_0x510bbc(0x1be))]()),(this[_0x510bbc(0x25d)]=_0x71f36f,this['_injector']=_0x4078a0,this[_0x510bbc(0x3d3)]=_0x5266c4,this[_0x510bbc(0x307)]());}[_0xbb36ef(0x3ef)](){const _0x59924c=_0xbb36ef;super[_0x59924c(0x3ef)](),this['_entityInit$'][_0x59924c(0x292)](),this[_0x59924c(0x24b)][_0x59924c(0x3bd)](_0x28ad39=>_0x28ad39[_0x59924c(0x3ef)]());}[_0xbb36ef(0x1d6)](_0x449fa3){const _0x4a6082=_0xbb36ef;return this[_0x4a6082(0x24b)][_0x4a6082(0x1fa)](_0x449fa3)?this[_0x4a6082(0x24b)][_0x4a6082(0x35f)](_0x449fa3)[_0x4a6082(0x1e9)]:this['_entityInit$'][_0x4a6082(0x2b7)](d[_0x4a6082(0x340)](_0x304af5=>_0x304af5[_0x4a6082(0x2a8)]===_0x449fa3),d['switchMap'](_0x1a2e35=>_0x1a2e35[_0x4a6082(0x1e9)]));}[_0xbb36ef(0x307)](){const _0xa31153=_0xbb36ef;this[_0xa31153(0x25d)]['getTypeOfUnitAdded$'](a[_0xa31153(0x35d)][_0xa31153(0x244)])[_0xa31153(0x2b7)](d[_0xa31153(0x39c)](this[_0xa31153(0x27a)]))[_0xa31153(0x31c)](async _0x27ece3=>{const _0x32b9db=_0xa31153,_0x33fd8c=_0x27ece3['getUnitId'](),_0x3a6be4=await this['_startSheetCollabCursor'](_0x33fd8c);this[_0x32b9db(0x1c2)][_0x32b9db(0x33e)](_0x3a6be4),this[_0x32b9db(0x24b)][_0x32b9db(0x36f)](_0x33fd8c,_0x3a6be4);}),this['_univerInstanceService'][_0xa31153(0x231)](a['UniverInstanceType'][_0xa31153(0x402)])[_0xa31153(0x2b7)](d[_0xa31153(0x39c)](this[_0xa31153(0x27a)]))['pipe'](d[_0xa31153(0x340)](_0x5dd79c=>!_0x5dd79c['getUnitId']()['startsWith']('__')))[_0xa31153(0x31c)](async _0x8e3ad8=>{const _0x305d02=_0xa31153,_0x332a97=_0x8e3ad8[_0x305d02(0x3d8)](),_0x57fb7c=await this[_0x305d02(0x318)](_0x332a97);this[_0x305d02(0x1c2)][_0x305d02(0x33e)](_0x57fb7c),this[_0x305d02(0x24b)][_0x305d02(0x36f)](_0x332a97,_0x57fb7c);}),d[_0xa31153(0x207)](this['_univerInstanceService'][_0xa31153(0x27e)](a[_0xa31153(0x35d)][_0xa31153(0x402)]),this[_0xa31153(0x25d)][_0xa31153(0x27e)](a[_0xa31153(0x35d)]['UNIVER_SHEET']))['pipe'](d[_0xa31153(0x39c)](this['dispose$']))[_0xa31153(0x31c)](_0x5dafbb=>{const _0x1b776d=_0xa31153,_0x37abd1=_0x5dafbb[_0x1b776d(0x3d8)](),_0x30fa83=this[_0x1b776d(0x24b)]['get'](_0x37abd1);_0x30fa83&&(_0x30fa83['dispose'](),this[_0x1b776d(0x24b)]['delete'](_0x37abd1));});}async[_0xbb36ef(0x257)](_0x50b9e8){const _0x438a07=_0xbb36ef,_0x2c935b=await this['_collabSessionService'][_0x438a07(0x30a)](_0x50b9e8),_0x27f9f0=this[_0x438a07(0x267)][_0x438a07(0x3d1)](Se,_0x50b9e8,_0x2c935b);return _0x27f9f0['init'](),_0x27f9f0;}async[_0xbb36ef(0x318)](_0x4d6ed8){const _0x54dd8d=_0xbb36ef,_0x5d18e4=await this[_0x54dd8d(0x3d3)][_0x54dd8d(0x30a)](_0x4d6ed8),_0x4976cf=this[_0x54dd8d(0x267)][_0x54dd8d(0x3d1)](de,_0x4d6ed8,_0x5d18e4);return _0x4976cf[_0x54dd8d(0x338)](),_0x4976cf;}};x=Ct([ie(0x0,a[_0xbb36ef(0x21f)]),ie(0x1,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x378)])),ie(0x2,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x263)]))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x5c6a28,_0x18f827){const _0x92eb7=_0xbb36ef;let {radius:_0x4639d5,width:_0x5976db,height:_0x5087c1}=_0x18f827;_0x4639d5=_0x4639d5!=null?_0x4639d5:0x0,_0x5976db=_0x5976db!=null?_0x5976db:0x1e,_0x5087c1=_0x5087c1!=null?_0x5087c1:0x1e;let _0xb0daa6=0x0,_0xebdfe9=0x0,_0x418663=0x0;_0xb0daa6=_0xebdfe9=_0x418663=Math['min'](_0x4639d5,_0x5976db/0x2,_0x5087c1/0x2),_0x5c6a28[_0x92eb7(0x39d)](),_0x5c6a28['moveTo'](_0xb0daa6,0x0),_0x5c6a28[_0x92eb7(0x2a7)](_0x5976db-_0xebdfe9,0x0),_0x5c6a28[_0x92eb7(0x1f7)](_0x5976db-_0xebdfe9,_0xebdfe9,_0xebdfe9,Math['PI']*0x3/0x2,0x0,!0x1),_0x5c6a28[_0x92eb7(0x2a7)](_0x5976db,_0x5087c1-_0x418663),_0x5c6a28['arc'](_0x5976db-_0x418663,_0x5087c1-_0x418663,_0x418663,0x0,Math['PI']/0x2,!0x1),_0x5c6a28[_0x92eb7(0x2a7)](0x0,_0x5087c1),_0x5c6a28[_0x92eb7(0x2a7)](0x0,_0xb0daa6),_0x5c6a28['arc'](_0xb0daa6,_0xb0daa6,_0xb0daa6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5c6a28[_0x92eb7(0x259)](),_0x18f827[_0x92eb7(0x420)]&&(_0x5c6a28[_0x92eb7(0x261)](),_0x5c6a28['fillStyle']=_0x18f827[_0x92eb7(0x420)],_0x18f827[_0x92eb7(0x37a)]===_0x92eb7(0x1ea)?_0x5c6a28[_0x92eb7(0x420)](_0x92eb7(0x1ea)):_0x5c6a28[_0x92eb7(0x420)](),_0x5c6a28[_0x92eb7(0x250)]());}class ee extends p['Shape']{constructor(_0x422c1c,_0x2f831a){const _0x3bfd67=_0xbb36ef;super(_0x422c1c,_0x2f831a),h(this,_0x3bfd67(0x355)),h(this,_0x3bfd67(0x324)),(this[_0x3bfd67(0x355)]=_0x2f831a==null?void 0x0:_0x2f831a[_0x3bfd67(0x355)],this[_0x3bfd67(0x324)]=_0x2f831a==null?void 0x0:_0x2f831a[_0x3bfd67(0x324)]);}static[_0xbb36ef(0x3b4)](_0x5acebc,_0x5bc58c){const _0x4b1a64=_0xbb36ef,{text:_0x5373e5,color:_0x3299e4}=_0x5bc58c;_0x5acebc['save'](),_0x5acebc[_0x4b1a64(0x2e8)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x433834=_0x5acebc['measureText'](_0x5373e5)[_0x4b1a64(0x3af)],_0x5342aa=Math['min'](_0x433834+0x2*ne,Te);Et(_0x5acebc,{'height':W,'radius':0x4,'width':_0x5342aa,'fill':_0x3299e4}),_0x5acebc['fillStyle']=_0x4b1a64(0x21d);const _0x4c4156=ne,_0x357360=W-pt,_0x19888a=Te-0x2*ne;if(_0x433834>_0x19888a){let _0x2aec9a='',_0x1f22a6=0x0;for(const _0x5a5d66 of _0x5373e5){const _0x50d320=_0x5acebc[_0x4b1a64(0x362)](_0x5a5d66)['width'];if(_0x1f22a6+_0x50d320<=_0x19888a-_0x5acebc[_0x4b1a64(0x362)](_0x4b1a64(0x3b5))[_0x4b1a64(0x3af)])_0x2aec9a+=_0x5a5d66,_0x1f22a6+=_0x50d320;else{_0x2aec9a+=_0x4b1a64(0x3b5);break;}}_0x5acebc[_0x4b1a64(0x3cb)](_0x2aec9a,_0x4c4156,_0x357360);}else _0x5acebc[_0x4b1a64(0x3cb)](_0x5373e5,_0x4c4156,_0x357360);_0x5acebc[_0x4b1a64(0x250)]();}[_0xbb36ef(0x273)](_0x4c45ef){ee['drawWith'](_0x4c45ef,this);}}const re=_0xbb36ef(0x222),bt=_0xbb36ef(0x389),Ot=_0xbb36ef(0x3c3),F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0xbb36ef(0x3ad);class Re{constructor(_0x191c15,_0x3326d3,_0x49b5f1,_0x2697bf){const _0x312bdb=_0xbb36ef;h(this,_0x312bdb(0x1bd),[]),h(this,'_anchor',null),h(this,_0x312bdb(0x3a7),null),h(this,_0x312bdb(0x218),null),h(this,_0x312bdb(0x3c9),null),h(this,_0x312bdb(0x360),null),(this[_0x312bdb(0x3f8)]=_0x191c15,this[_0x312bdb(0x1db)]=_0x3326d3,this['_docSkeleton']=_0x49b5f1,this[_0x312bdb(0x2e3)]=_0x2697bf,this[_0x312bdb(0x3bb)]());}set[_0xbb36ef(0x2b6)](_0x2ed094){const _0x43c12c=_0xbb36ef;_0x2ed094?(this[_0x43c12c(0x218)]&&this[_0x43c12c(0x218)]['hide'](),this[_0x43c12c(0x3a7)]&&this[_0x43c12c(0x3a7)]['show']()):(this[_0x43c12c(0x218)]&&this[_0x43c12c(0x218)][_0x43c12c(0x3eb)](),this[_0x43c12c(0x3a7)]&&this[_0x43c12c(0x3a7)]['hide']());}[_0xbb36ef(0x3ef)](){const _0x58c819=_0xbb36ef;for(const _0x2a508a of this[_0x58c819(0x1bd)])_0x2a508a[_0x58c819(0x3ef)]();this['_textBubble']&&this[_0x58c819(0x3a7)]['dispose'](),this[_0x58c819(0x218)]&&this['_anchorDot'][_0x58c819(0x3ef)](),this[_0x58c819(0x1ff)]&&this[_0x58c819(0x1ff)][_0x58c819(0x3ef)](),this['_eventUnsubscribe']&&this[_0x58c819(0x360)]();}['_render'](){const _0xe63a86=_0xbb36ef;var _0xd026e3;const {_docSkeleton:_0x339048,_document:_0x485405}=this,{color:_0x458d6b,name:_0x1de9fa,ranges:_0x592b55}=this['_cursor'],_0x212eac=_0x485405['getOffsetConfig'](),{docsLeft:_0x17fb05,docsTop:_0x1199f0}=_0x212eac,_0x304df8=new E[(_0xe63a86(0x272))](_0x212eac,_0x339048);for(const {startOffset:_0x3d1745,endOffset:_0x544aef,rangeType:_0xb41713,segmentId:_0x12368c,segmentPage:_0xfff218,collapsed:_0x5925da,isActive:_0x5c787a}of _0x592b55){const _0x2296f1=_0x339048['findNodePositionByCharIndex'](_0x3d1745,!0x0,_0x12368c,_0xfff218);let _0x7d42c9=_0x339048[_0xe63a86(0x3d6)](_0x544aef,!0x0,_0x12368c,_0xfff218);if(_0x7d42c9==null&&(_0x7d42c9=_0x339048['findNodePositionByCharIndex'](_0x544aef-0x1,!0x1,_0x12368c,_0xfff218)),_0x5c787a){const {contentBoxPointGroup:_0x5b8cd6}=_0x304df8['getRangePointData'](_0x7d42c9,_0x7d42c9);if(_0x5b8cd6[_0xe63a86(0x21e)]===0x0)continue;this[_0xe63a86(0x22d)](_0x458d6b,_0x5b8cd6,_0x17fb05,_0x1199f0,_0x1de9fa),this[_0xe63a86(0x360)]=this[_0xe63a86(0x230)]();}if(_0x2296f1&&_0x7d42c9){if(_0xb41713===a[_0xe63a86(0x35b)][_0xe63a86(0x212)]){const _0x3be530=new E[(_0xe63a86(0x349))](_0x212eac,_0x339048),{pointGroup:_0x4ad41a}=(_0xd026e3=_0x3be530[_0xe63a86(0x1e7)](_0x2296f1,_0x7d42c9))!=null?_0xd026e3:{};if(_0x4ad41a==null||_0x4ad41a[_0xe63a86(0x21e)]===0x0)continue;this['_drawRectRange'](_0x458d6b,_0x4ad41a,_0x17fb05,_0x1199f0);}else{if(!_0x5925da){const {borderBoxPointGroup:_0x6df4ac}=_0x304df8[_0xe63a86(0x1e7)](_0x2296f1,_0x7d42c9);if(_0x6df4ac[_0xe63a86(0x21e)]===0x0)continue;this[_0xe63a86(0x3fd)](_0x458d6b,_0x6df4ac,_0x17fb05,_0x1199f0);}}}}}['_drawAnchor'](_0x229fb4,_0x3e1a28,_0x374b56,_0x113a55,_0x2cb8e7){const _0x171baf=_0xbb36ef,_0x34137f=this[_0x171baf(0x33a)](_0x3e1a28),{left:_0x49f455,top:_0x443e0b,height:_0x57b284}=_0x34137f,_0x4e373c=this[_0x171baf(0x38b)](),_0x2f0acf=Rt/_0x4e373c,_0x307d25=new p[(_0x171baf(0x214))](re+a[_0x171baf(0x1de)](F),{'left':_0x49f455+_0x374b56-_0x2f0acf,'top':_0x443e0b+_0x113a55,'height':_0x57b284,'width':Tt,'fill':_0x229fb4||p['getColor'](a[_0x171baf(0x40b)][_0x171baf(0x32a)],0x0),'strokeWidth':_0x2f0acf,'stroke':Dt,'evented':!0x0});this['_anchor']=_0x307d25,this['_scene']['addObject'](_0x307d25,E[_0x171baf(0x265)]);const _0x158ed2=new p[(_0x171baf(0x214))](re+a[_0x171baf(0x1de)](F),{'left':_0x49f455+_0x374b56-_0x2f0acf,'top':_0x443e0b+_0x113a55-oe/0x2,'height':oe,'width':oe,'fill':_0x229fb4||p[_0x171baf(0x2e2)](a[_0x171baf(0x40b)][_0x171baf(0x32a)],0x0),'strokeWidth':0x0,'stroke':_0x229fb4||p[_0x171baf(0x2e2)](a[_0x171baf(0x40b)][_0x171baf(0x32a)],0x0),'evented':!0x1});this[_0x171baf(0x218)]=_0x158ed2,this[_0x171baf(0x1db)][_0x171baf(0x1d9)](_0x158ed2,E[_0x171baf(0x265)]);const _0x48ba2e=new ee(re+a[_0x171baf(0x1de)](F),{'left':_0x49f455+_0x374b56-_0x2f0acf,'top':_0x443e0b+_0x113a55-W,'text':_0x2cb8e7,'color':_0x229fb4});this[_0x171baf(0x3a7)]=_0x48ba2e,this[_0x171baf(0x1db)][_0x171baf(0x1d9)](_0x48ba2e,E[_0x171baf(0x265)]),this[_0x171baf(0x2b6)]=!0x1;}[_0xbb36ef(0x230)](){const _0x20df0a=_0xbb36ef,_0x5f5adc=this[_0x20df0a(0x1ff)]['onPointerEnter$'][_0x20df0a(0x27b)](()=>{const _0x37c593=_0x20df0a;this[_0x37c593(0x2b6)]=!0x0;}),_0x365183=this[_0x20df0a(0x1ff)][_0x20df0a(0x256)]['subscribeEvent'](()=>{const _0x5cdde5=_0x20df0a;this[_0x5cdde5(0x3c9)]&&clearTimeout(this[_0x5cdde5(0x3c9)]),this['_hideTimer']=setTimeout(()=>{const _0x1fdbef=_0x5cdde5;this[_0x1fdbef(0x2b6)]=!0x1;},0x7d0);});return()=>{const _0x49f497=_0x20df0a;_0x5f5adc[_0x49f497(0x1fd)](),_0x365183[_0x49f497(0x1fd)]();};}[_0xbb36ef(0x3fd)](_0x3bc1c3,_0x29cc59,_0x37a7fd,_0x2e5ac3){const _0x56a560=_0xbb36ef,_0x4b852e=new a['ColorKit'](_0x3bc1c3)[_0x56a560(0x410)](0.2)[_0x56a560(0x22f)](),_0x388e86=new p[(_0x56a560(0x1c8))](bt+a[_0x56a560(0x1de)](F),{'pointsGroup':_0x29cc59,'fill':_0x4b852e||p['getColor'](a['COLORS'][_0x56a560(0x32a)],0.2),'left':_0x37a7fd,'top':_0x2e5ac3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x56a560(0x1bd)][_0x56a560(0x206)](_0x388e86),this[_0x56a560(0x1db)][_0x56a560(0x1d9)](_0x388e86,E[_0x56a560(0x265)]);}[_0xbb36ef(0x3ba)](_0x5c5d9e,_0x4f17b6,_0x4df359,_0x3f372e){const _0x33650e=_0xbb36ef,_0x8dddca=new a[(_0x33650e(0x2ff))](_0x5c5d9e)['setAlpha'](0.2)[_0x33650e(0x22f)](),_0x1ba6e4=new p['RegularPolygon'](Ot+a['generateRandomId'](F),{'pointsGroup':_0x4f17b6,'fill':_0x8dddca||p[_0x33650e(0x2e2)](a[_0x33650e(0x40b)]['black'],0.2),'left':_0x4df359,'top':_0x3f372e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x33650e(0x1bd)][_0x33650e(0x206)](_0x1ba6e4),this[_0x33650e(0x1db)][_0x33650e(0x1d9)](_0x1ba6e4,E['TEXT_RANGE_LAYER_INDEX']);}[_0xbb36ef(0x33a)](_0xbe9122){const _0x57238a=_0xbe9122[0x0],_0x350291=_0x57238a[0x0],_0x1f41d5=_0x57238a[0x2],{x:_0x1b8a26,y:_0x14e3d5}=_0x350291,{x:_0x3d5f35,y:_0x2dedaa}=_0x1f41d5;return{'left':_0x1b8a26,'top':_0x14e3d5,'width':_0x3d5f35-_0x1b8a26,'height':_0x2dedaa-_0x14e3d5};}[_0xbb36ef(0x38b)](){const {scaleX:_0x5134d4,scaleY:_0x88876e}=this['_scene']['getAncestorScale']();return Math['max'](_0x5134d4,_0x88876e);}}var Ut=Object[_0xbb36ef(0x1cf)],Nt=(_0x7bbdf6,_0x512499,_0x3c3be3,_0x4381ae)=>{const _0x1df735=_0xbb36ef;for(var _0x569521=_0x4381ae>0x1?void 0x0:_0x4381ae?Ut(_0x512499,_0x3c3be3):_0x512499,_0x56a56e=_0x7bbdf6[_0x1df735(0x21e)]-0x1,_0x8d8fdb;_0x56a56e>=0x0;_0x56a56e--)(_0x8d8fdb=_0x7bbdf6[_0x56a56e])&&(_0x569521=_0x8d8fdb(_0x569521)||_0x569521);return _0x569521;},X=(_0x40ec6d,_0x5d228d)=>(_0x347a7d,_0x1b67c7)=>_0x5d228d(_0x347a7d,_0x1b67c7,_0x40ec6d);let fe=class extends a['RxDisposable']{constructor(_0xa6e2ec,_0x1a4c65,_0x2538e4,_0x48afd6,_0x5c8f08){const _0x51af5=_0xbb36ef;super(),h(this,_0x51af5(0x204),[]),h(this,_0x51af5(0x252),[]),(this[_0x51af5(0x38e)]=_0xa6e2ec,this['_docSkeletonManagerService']=_0x1a4c65,this[_0x51af5(0x28a)]=_0x2538e4,this[_0x51af5(0x3f2)]=_0x48afd6,this[_0x51af5(0x37f)]=_0x5c8f08,this[_0x51af5(0x307)]());}[_0xbb36ef(0x307)](){const _0x2e7fe2=_0xbb36ef,_0x3fae5b=this[_0x2e7fe2(0x38e)]['unitId'],_0x472c50=this[_0x2e7fe2(0x330)];this[_0x2e7fe2(0x28c)](d[_0x2e7fe2(0x281)]([this[_0x2e7fe2(0x28a)][_0x2e7fe2(0x1d6)](_0x3fae5b),this[_0x2e7fe2(0x37f)]['currentTheme$']])['pipe']($[_0x2e7fe2(0x331)](([_0x5c6a90,_0x3f7c96])=>({'skeleton':_0x472c50['getSkeleton'](),'cursors':[..._0x5c6a90[_0x2e7fe2(0x3e2)]()][_0x2e7fe2(0x1eb)](_0x3d214e=>({..._0x3d214e,'color':this[_0x2e7fe2(0x37f)][_0x2e7fe2(0x2a5)](_0x3d214e[_0x2e7fe2(0x355)])}))})))[_0x2e7fe2(0x31c)](_0xc5f459=>{const _0x94f878=_0x2e7fe2;if(this[_0x94f878(0x2bc)](),_0xc5f459){const {skeleton:_0xa5945e,cursors:_0x1ed54b}=_0xc5f459;this[_0x94f878(0x237)](_0xa5945e,_0x1ed54b);}})),this[_0x2e7fe2(0x2cf)](),this['_initCommandExecutedListener']();}[_0xbb36ef(0x237)](_0x52ada2,_0x463e5f){const _0x5f1a83=_0xbb36ef,{scene:_0x595a8a,mainComponent:_0xfb4c6b}=this[_0x5f1a83(0x38e)],_0x4926dd=_0x463e5f['map'](_0x4c6867=>new Re(_0x4c6867,_0x595a8a,_0x52ada2,_0xfb4c6b));this[_0x5f1a83(0x204)]=_0x4926dd,this[_0x5f1a83(0x252)]=_0x463e5f;}[_0xbb36ef(0x323)](){const _0x2bbc61=_0xbb36ef;this[_0x2bbc61(0x2bc)]();const {scene:_0x27baf9,mainComponent:_0x17faec}=this['_context'],_0x305566=this['_docSkeletonManagerService'][_0x2bbc61(0x32e)](),_0x68983f=this[_0x2bbc61(0x252)]['map'](_0x13691f=>new Re(_0x13691f,_0x27baf9,_0x305566,_0x17faec));this['_cursorShapes']=_0x68983f;}[_0xbb36ef(0x2bc)](){const _0x2e0868=_0xbb36ef;this[_0x2e0868(0x204)][_0x2e0868(0x3bd)](_0x363d0=>_0x363d0[_0x2e0868(0x3ef)]()),this[_0x2e0868(0x204)]=[];}[_0xbb36ef(0x322)](){const _0x19da4a=_0xbb36ef,_0x27b511=[E[_0x19da4a(0x317)]['id']];this[_0x19da4a(0x28c)](this[_0x19da4a(0x3f2)][_0x19da4a(0x22e)](_0x50de81=>{const _0x104ad2=_0x19da4a;_0x27b511[_0x104ad2(0x1d3)](_0x50de81['id'])&&_0x50de81[_0x104ad2(0x1fc)]['unitId']===this[_0x104ad2(0x38e)][_0x104ad2(0x30b)]&&this[_0x104ad2(0x323)]();}));}[_0xbb36ef(0x2cf)](){const _0x1c7920=_0xbb36ef;this[_0x1c7920(0x28c)](a['fromEventSubject'](this[_0x1c7920(0x38e)][_0x1c7920(0x346)][_0x1c7920(0x1e4)])[_0x1c7920(0x2b7)]($[_0x1c7920(0x340)](_0x4b5007=>_0x4b5007['type']===p[_0x1c7920(0x295)][_0x1c7920(0x296)]),$['throttleTime'](0x10))[_0x1c7920(0x31c)](()=>{const _0x3cb5c5=_0x1c7920;this[_0x3cb5c5(0x323)]();}));}};fe=Nt([X(0x1,a['Inject'](Y[_0xbb36ef(0x2bf)])),X(0x2,a[_0xbb36ef(0x3b8)](x)),X(0x3,a['ICommandService']),X(0x4,a[_0xbb36ef(0x3b8)](a['ThemeService']))],fe);function _0x52b0(){const _0x491b92=['UniverInstanceType','transformByState','get','_eventUnsubscribe','_scheduleHeartbeat','measureText','_docTransformSelectionsService','replace','wsSessionTicketUrl','YUUMI_UNABLE_LOAD_URL','toDisposable','transformMutationsWithChangeset','CHANGESET_REVISION_CONFILICT','getFocusedUnit','_name','jsx','send','IRemoteInstanceService','set','_session','ILogService','currentTheme$','yellow.400','Warning','NO_OTHER_CLIENTS_EDITING','call','_clearOtherTimers','Injector','SNAPSHOT_HAS_BEEN_REMOVED','fillRule','CollaborationSocketService','YUUMI_ALL_TABLES_IS_INVALID','unload','_unitOnClients','_themeService','off-line-icon','name','startRow','symbol','_revisionService','href','_onCursorUpdate','_range','APPLY_DUPLICATED','collab-text-range-','_roomMembers$','_getScale','FETCH_MISS','Workbook','_context','_httpService','unshift','OffLineIcon','CollaborationController','debug','registerRenderModule','defs','DesktopCollaborationStatusDisplayController','_cursorInfo$','useObservable','CollaborationEvent','SOCKET_FAILED','collabStatus.offline','takeUntil','beginPath','idSuffix','createElement','_initDependencies','CONNECTOR_DATA_TOO_LARGE','range','SheetsSelectionsService','collaboration-client-ui.config','sheetID','LICENSE_IMPORT_SIZE_EXCEEDED','_textBubble','M0\x200H16V16H0z','asObservable','YUUMI_CONNECTOR_URL_NOT_FOUND','status$','IRenderManagerService','rgba(255,\x20255,\x20255,\x200.01)','split','width','entries','InsertRangeMoveDownCommandId','INVALID_ARGUMENT','DisposableCollection','drawWith','...','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','72QDuaDZ','Inject','_updateSubUnitFromURLParams','_drawRectRange','_render','getValue','forEach','HEADER_MENU','setStateCache','getViewport','children','onPointerEnter$','collab-rect-range-','_docClipboardService','transformSelections','storage','m1Prime','CommandType','_hideTimer','OTHER_CLIENT_EDITING','fillText','collab-client.tooltip.reconnect','use','labelPosition','_scheduleClearOtherTimer','onStarting','createInstance','data','_collabSessionService','getConfig','_saveTaskMap','findNodePositionByCharIndex','MUTATION','getUnitId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_syncEditingCollabCursorService','_createSocketURL','_localeService','UniverCollaborationClientUIPlugin','isActive','UniverCollaborationClientPlugin','useRef','hovered','values','runOnServer','getSheetId','INVITE_CODE_REQUIRED','redoState','MOBILE_VERIFY_CODE_MISMATCH','stringify','override','MoveRangeCommandId','show','_disabled','mutations','sheetId','dispose','PERMISSION_DENIED','getSheetObject','_commandService','_saveCache','indexOf','className','UnitStatus','pushState','_cursor','LOGIN_FAILED','getUnitStatus$','getItem','4wLZaiu','_drawTextRange','add','366XCVBCn','PENDING','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','UNIVER_DOC','_getSheetObject','connectInjector','RevisionService','_initStatusComponent','setTimeout','setShapeProps','FromArray','unit','COLORS','Rectangle','11558921LvIRVU','addHandlerCallback','_lastPointer','setAlpha','Optional','Failed','Disposable','SetTextSelectionsOperation','TEXT','_docTransformStateCacheService','YUUMI_NO_CUBOID_FOR_QUESTION','getStateCache','_toggleOffline','some','executionId','DeleteRangeMoveUpCommandId','EffectRefRangId','0\x200\x2016\x2016','body','fill','getUnhiddenWorksheets','collabStatus.conflict','roomMembers$','Unknown\x20user','removeParam','537435VuyPrl','off-line-icon_clip0_910_343','collaboration.closeRoom','_sheetSkeletonManagerService','distinctUntilChanged','purple.300','1888544mrgXgF','defineProperty','hasOwnProperty','runRefRangeMutations','DocCollaborationEntity','1em','SetWorksheetActivateCommand','row','_shapes','Subject','collabStatus.fetchMiss','MessageType','getRelativeToViewportCoord','_entityInit$','handleIRemoveCol','memberID','attrs','icon','Error','RegularPolygon','on-line-icon','disableLocalCache','_removeClearOtherTimer','_transformService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','parse','getOwnPropertyDescriptor','doc.mutation.rich-text-editing','session.will-retry','fromEvent','includes','tag','Tools','getCollabCursors$','isTransformMutationsWithChangesetSuccess','USER_NOT_INVITED_CODE','addObject','registerDependencies','_scene','INVITE_CODE_HAS_BEEN_UES','jsxs','generateRandomId','div','jiqing.500','InsertRowCommandId','runId','apply','onTransformChange$','_handleLeaveEvent','replaceState','getRangePointData','_handleHeartbeatEvent','cursorInfo$','evenodd','flatMap','_handleJoinEvent','delete','Plugin','_scheduleSaving','string','random','YUUMI_TABLE_NOT_FOUND_IN_UNIT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','IDocClipboardService','Vector2','textRanges','arc','collabStatus.synced','MemberService','has','2ygkyRL','params','unsubscribe','COMPLETION_FINISHED','_anchor','size','ILocalStorageService','9674700ASUuxA','IMessageService','_cursorShapes','_online','push','merge','_docSyncEditingCollabCursorService','IURLService','loadOfflineData','mask','collabStatus.notCollab','HTTPService','DocIMEInputManagerService','collabCursorState$','DocStateChangeManagerService','getVpScrollXYInfoByPosToVp','RECT','YUUMI_URL_COL_OUT_OF_RANGE','Rect','SUBMIT_CHANGESET_TIMEOUT','getSheetBySheetId','INVALID_INVITE_CODE','_anchorDot','toString','addEventListener','origin','sessionStatus$','#FFF','length','IUniverInstanceService','ILocalCacheService','DocSelectionManagerService','collab-text-anchor-','displayName','_logService','APPLY_NON_SEQUENTIAL_REVISION','m2Prime','switchMap','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ITransformService','_refRangeService','round','deserializeRangeWithSheet','_drawAnchor','onCommandExecuted','toRgbString','_handleHover','getTypeOfUnitAdded$','currentColor','handleInsertRangeMoveRight','onRendered','getCurrentSelections','all','_updateCollabCursors','getParam','blue.400','_uiPartsService','red.300','_getSaveTimeout','_config','setParam','SetSelectionsOperation','debounce','collaboration.single-unit.warning','_renderManagerService','debounceTime','UNIVER_SHEET','/run/','_urlService','isTransformMutationFailure','ONLINE','_colorIndex','assignAColorForMemberID','_entities','handleInsertRow','InsertColCommandId','_configService','on-line-icon_clip0_910_349','restore','ISocketService','_cursors','newValue','http://www.w3.org/2000/svg','substring','onPointerLeave$','_startSheetCollabCursor','CollaborationUIEventId','closePath','getActiveSheet','CONFLICT','_getMergeRange','_univerInstanceService','_color','transformIMECache','_updateURLWithCurrentState','save','propertyIsEnumerable','CollaborationSessionService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','TEXT_RANGE_LAYER_INDEX','_beforeCloseService','_injector','969406dJYTgU','RemoveColCommandId','WebBrowserSingleActiveUnitService','isArray','INVITE_CODE_ALREADY_BOUND','Tooltip','TOO_MANY_REQUESTS','searchParams','mergeOverrideWithDependencies','url(#$1','NodePositionConvertToCursor','_draw','_registerDependencies','urlChange$','xlink:href','updateOfflineData','entityInit$','transform','dispose$','subscribeEvent','EMAIL_HAS_BEEN_BOUND','_dataLoaderService','getTypeOfUnitDisposed$','_notificationService','imageSourceType','combineLatest','history','editingUnit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IConfigService','OnLineIcon','DependentOn','docStateChange$','svg','_collabCursorController','INotificationService','disposeWithMe','_labelPosition','_toggleOnline','concat','with','actions','complete','createIdentifier','_getSessionTicket','TRANSFORM_CHANGE_OBSERVABLE_TYPE','resize','useDependency','roomMembers','ICommandService','_updateLocalCursor','white','_initEntityListener','_transformUndoRedoStack','PY_RUNTIME_SCRIPT_ERROR','NOT_FOUND','_assignedColors','_collaborationUIEventService','pluginName','cursorInfo','SOCKET_FAILED_RETRY','getColorFromTheme','ALREADY_EXISTS','lineTo','unitID','getMemberID','shareReplay','USERS_LEAVE','_selfUnitIDs','BehaviorSubject','executeCommand','APPLY_REJECT','transformMutation','SessionStatus','OFFLINE','subunit','selection','trim','_hover','pipe','APPLY_PERMISSION_DENIED','getRenderById','assign','UniverIcon','_removeCollabCursors','application/json','MOBILE_HAS_BEEN_BOUND','DocSkeletonManagerService','getMember','onMouseMove','_localStorageService','NOT_COLLAB','then','deepClone','getLocalCacheKey','_cachedData','loadUnit','LICENSE_DISTRO_REJECTED','sessionTicket','handleDeleteRangeMoveUp','getUniverSheetInstance','CollaborationUIEventService','syncEditingCollabCursor','_initResize','_setupSubUnitSync','clsx','currentSkeleton$','setInterval','3657183lYyXdv','getUndoRedoMutationParamsCache','_imageIoService','getCurrentUnitForType','EMAIL_VERIFY_CODE_MISMATCH','useCallback','forwardRef','error','UPDATE_CURSOR','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','ENSURE_SNAPSHOT_EXECUTION','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initEvent','getColor','_document','transformStateCache','replaceDocRanges','INTERNAL_ERROR','clearInterval','font','BuiltInUIPart','LICENSE_MAX_UNITS_EXCEEDED','registerRefRange','event$','_registerRenderDependencies','_unitStatus','Shape','YUUMI_RATE_OVER_LIMIT','touchDependencies','location','[CollaborationDataLoaderController]','enableLocalCache','subUnitId','YUUMI_AI_RUN_FAILED','_onRefRangeChange','from','CollaborationStatus','_status$','ticket','getCurrentRevOfUnit','top','path','ColorKit','setItem','_docStateChangeManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationController','bottom','getDocRanges','function','_init','_docTransformIMECacheService','clearTimeout','requireSession','unitId','type','_colorAssignService','CollaborationDataLoaderController','_initStatusListener','WECHAT_HAS_BEEN_BOUND','_collabCursorState$','getOwnPropertySymbols','url(#off-line-icon_clip0_910_343)','prototype','RxDisposable','_heartbeatTimer','SetDocZoomRatioOperation','_startDocCollabCursor','ranges','backgroundColor','_ensureSubject','subscribe','handleDeleteRangeMoveLeft','height','Module','invokeId','_onCursorDelete','_initCommandExecutedListener','_refreshCollabCursors','text','permission.content','collaboration-client.offline-data-not-saved','handleInsertRangeMoveDown','_instanceService','getCellPositionByOffset','black','_hovered','_id','RichTextEditingMutation','getSkeleton','defIds','_docSkeletonManagerService','map','140434nHbwrS','APPLY_REVISION_CONFILICT','YUUMI_ASYNCIO_CANCELLED','UNAUTHENTICATED','eventID','extend','init','DataLoaderService','_getAnchorBounding','UNRECOGNIZED','InsertRangeMoveRightCommandId','RemoteUniscriptService','next','saveOfflineData','filter','saveTaskMap','search','45ChWFEm','LocaleService','registerBeforeClose','engine','setActiveRange','column','NodePositionConvertToRectRange','_send','result','_transformHistoryAndStateStack','SNAPSHOT_INVALID_SNAPSHOT','_memberService','clipPath','collabStatus.syncing','ThemeService','key','_setupBeforeClosingHandler','code','color','_messageService','getCoordByCell','_localCacheService','translate(.97)','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DOC_RANGE_TYPE','_backgroundColor'];_0x52b0=function(){return _0x491b92;};return _0x52b0();}const Mt=0x1,Lt=1.5;class $e extends p[_0xbb36ef(0x2ef)]{constructor(_0x2e2f36,_0x240be3){const _0x4bf214=_0xbb36ef;super(_0x2e2f36,_0x240be3),h(this,_0x4bf214(0x25e)),h(this,_0x4bf214(0x32b),!0x1),h(this,_0x4bf214(0x387)),h(this,_0x4bf214(0x36b),''),h(this,'_labelPosition',_0x4bf214(0x2fd)),h(this,_0x4bf214(0x35c)),(_0x240be3&&this[_0x4bf214(0x408)](_0x240be3),this[_0x4bf214(0x3c2)][_0x4bf214(0x27b)](()=>this[_0x4bf214(0x408)]({'hovered':!0x0})),this[_0x4bf214(0x256)][_0x4bf214(0x27b)](()=>this[_0x4bf214(0x408)]({'hovered':!0x1})));}[_0xbb36ef(0x408)](_0x1e5b89){const _0xe6af34=_0xbb36ef;var _0x50518b,_0xbe5639,_0x4511d9,_0x195581,_0x35a8da,_0xe6c3d9;this[_0xe6af34(0x25e)]=(_0x50518b=_0x1e5b89[_0xe6af34(0x355)])!=null?_0x50518b:this[_0xe6af34(0x25e)],this['_hovered']=(_0xbe5639=_0x1e5b89[_0xe6af34(0x3e1)])!=null?_0xbe5639:this[_0xe6af34(0x32b)],this['_range']=(_0x4511d9=_0x1e5b89[_0xe6af34(0x3a2)])!=null?_0x4511d9:this[_0xe6af34(0x387)],this[_0xe6af34(0x36b)]=(_0x195581=_0x1e5b89['name'])!=null?_0x195581:this['_name'],this['_labelPosition']=(_0x35a8da=_0x1e5b89[_0xe6af34(0x3ce)])!=null?_0x35a8da:this[_0xe6af34(0x28d)],this[_0xe6af34(0x35c)]=(_0xe6c3d9=_0x1e5b89[_0xe6af34(0x31a)])!=null?_0xe6c3d9:this[_0xe6af34(0x35c)],this[_0xe6af34(0x35e)]({'width':_0x1e5b89[_0xe6af34(0x3af)],'height':_0x1e5b89[_0xe6af34(0x31e)]});}[_0xbb36ef(0x2c1)](_0x366c55){const _0xfc91fb=_0xbb36ef,{row:_0x4f130b,column:_0x25c0e5}=_0x366c55;if(_0x4f130b>=this[_0xfc91fb(0x387)][_0xfc91fb(0x382)]&&_0x4f130b<=this['_range']['endRow']&&_0x25c0e5>=this['_range']['startColumn']&&_0x25c0e5<=this['_range']['endColumn']){this[_0xfc91fb(0x408)]({'hovered':!0x0});return;}this[_0xfc91fb(0x408)]({'hovered':!0x1});}['triggerDblclick'](_0x185d53){return!0x1;}[_0xbb36ef(0x273)](_0x3eb532){const _0x28e5c1=_0xbb36ef;p['Rect'][_0x28e5c1(0x3b4)](_0x3eb532,{'width':this[_0x28e5c1(0x3af)],'height':this['height'],'strokeWidth':Lt,'stroke':this[_0x28e5c1(0x25e)],'evented':!0x1,'fill':this[_0x28e5c1(0x35c)]}),this['_hovered']&&(_0x3eb532[_0x28e5c1(0x261)](),_0x3eb532[_0x28e5c1(0x279)](0x1,0x0,0x0,0x1,this['width'],this[_0x28e5c1(0x28d)]===_0x28e5c1(0x304)?0x0:-W),ee['drawWith'](_0x3eb532,{'text':this['_name'],'color':this[_0x28e5c1(0x25e)]}),_0x3eb532[_0x28e5c1(0x250)]());}}var Pt=Object[_0xbb36ef(0x1cf)],wt=(_0x4f6219,_0x175099,_0x9651dd,_0xe49533)=>{for(var _0x3a7952=_0xe49533>0x1?void 0x0:_0xe49533?Pt(_0x175099,_0x9651dd):_0x175099,_0x13de5f=_0x4f6219['length']-0x1,_0x405f40;_0x13de5f>=0x0;_0x13de5f--)(_0x405f40=_0x4f6219[_0x13de5f])&&(_0x3a7952=_0x405f40(_0x3a7952)||_0x3a7952);return _0x3a7952;},ae=(_0x196dad,_0x4a7e4a)=>(_0x4bf506,_0x472399)=>_0x4a7e4a(_0x4bf506,_0x472399,_0x196dad);const At=0x1389;let Ie=class extends a['RxDisposable']{constructor(_0x52ff66,_0x512ed4,_0x50c5f5,_0x6164f){const _0x432673=_0xbb36ef;super(),h(this,_0x432673(0x252),new Set()),h(this,_0x432673(0x40f),null),(this[_0x432673(0x38e)]=_0x52ff66,this[_0x432673(0x429)]=_0x512ed4,this[_0x432673(0x28a)]=_0x50c5f5,this[_0x432673(0x37f)]=_0x6164f,this[_0x432673(0x307)]());}[_0xbb36ef(0x307)](){const _0x14f377=_0xbb36ef;this['_sheetSkeletonManagerService'][_0x14f377(0x2d2)][_0x14f377(0x2b7)]($[_0x14f377(0x39c)](this[_0x14f377(0x27a)]),$[_0x14f377(0x227)](_0x45c6a6=>{const _0xc1c398=_0x14f377;if(_0x45c6a6){const _0x3b45c3=_0x45c6a6[_0xc1c398(0x3ee)];return d[_0xc1c398(0x281)](this[_0xc1c398(0x28a)][_0xc1c398(0x1d6)](this[_0xc1c398(0x38e)][_0xc1c398(0x30b)]),this['_themeService'][_0xc1c398(0x372)])['pipe']($['map'](([_0x7ee386,_0x3e2dfb])=>{const _0x520cb4=_0xc1c398,_0x49ce5d=new Map();return _0x7ee386[_0x520cb4(0x3bd)]((_0x4ea96,_0x335ac2)=>{const _0x492c47=_0x520cb4;if(_0x4ea96[_0x492c47(0x3a5)]===_0x3b45c3){const _0x592e1c={..._0x4ea96};_0x592e1c[_0x492c47(0x355)]=this['_themeService']['getColorFromTheme'](_0x4ea96['color']),_0x49ce5d['set'](_0x335ac2,_0x592e1c);}}),{'skeleton':_0x45c6a6,'cursors':_0x49ce5d};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3912fe,cursors:_0x106373})=>{const _0x3a078=_0x14f377;this[_0x3a078(0x2bc)](),_0x3912fe&&this[_0x3a078(0x237)](_0x3912fe,_0x106373);}),this[_0x14f377(0x429)][_0x14f377(0x2d2)]['subscribe'](_0x13bbe4=>{const _0x484476=_0x14f377;if(_0x13bbe4==null)return;const {skeleton:_0x52861d}=_0x13bbe4,{scene:_0x30382b}=this[_0x484476(0x38e)];_0x30382b['onPointerMove$'][_0x484476(0x27b)](a['debounce'](_0x1357ab=>{const _0x285999=_0x484476;var _0x563729,_0x224762;const {offsetX:_0x1887d6,offsetY:_0x25b7a9}=_0x1357ab,{x:_0x4f6e2d,y:_0x5c5c00}=_0x30382b[_0x285999(0x1c1)](p[_0x285999(0x1f5)][_0x285999(0x409)]([_0x1887d6,_0x25b7a9])),{scaleX:_0x4d7651,scaleY:_0x13f1f1}=_0x30382b['getAncestorScale'](),_0x11c359=_0x30382b[_0x285999(0x3c0)](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x49b800=_0x30382b[_0x285999(0x211)](p[_0x285999(0x1f5)][_0x285999(0x409)]([_0x4f6e2d,_0x5c5c00]),_0x11c359),_0x47caba=_0x52861d[_0x285999(0x329)](_0x1887d6,_0x25b7a9,_0x4d7651,_0x13f1f1,_0x49b800);((_0x563729=this[_0x285999(0x40f)])==null?void 0x0:_0x563729[_0x285999(0x348)])===_0x47caba[_0x285999(0x348)]&&((_0x224762=this['_lastPointer'])==null?void 0x0:_0x224762[_0x285999(0x1bc)])===_0x47caba['row']||this[_0x285999(0x252)]['forEach'](_0x243a96=>{const _0x38940d=_0x285999;_0x243a96[_0x38940d(0x2c1)](_0x47caba);});},0x64));});}[_0xbb36ef(0x237)](_0x2bf4db,_0x41ba6d){const _0x2a59c9=_0xbb36ef;var _0x5e0e33;const _0x540a8f=(_0x5e0e33=this[_0x2a59c9(0x429)]['getCurrent']())==null?void 0x0:_0x5e0e33['skeleton'];if(!_0x540a8f)return;const _0xfe5f28=this[_0x2a59c9(0x403)]();if(!_0xfe5f28)return;this[_0x2a59c9(0x252)]['forEach'](_0x5655a8=>{_0x5655a8['makeDirty']();});const {scene:_0x3fabf5}=_0xfe5f28,_0x3728d8=yt(Array[_0x2a59c9(0x2f8)](_0x41ba6d[_0x2a59c9(0x3e2)]()))[_0x2a59c9(0x331)](_0x418bc8=>{const _0x56aa7a=_0x2a59c9,{color:_0x1dac98,range:_0x22a282,name:_0x2901b2,selection:_0x478e67,sheetID:_0x35c26d}=_0x418bc8,{startColumn:_0x34d22e,startRow:_0x384c9e,endColumn:_0x58a0ab,endRow:_0xf20330}=_0x22a282,_0x4016bf=G[_0x56aa7a(0x357)](_0x384c9e,_0x34d22e,_0x3fabf5,_0x540a8f),_0x185d4a=G['getCoordByCell'](_0xf20330,_0x58a0ab,_0x3fabf5,_0x540a8f),{columnHeaderHeightAndMarginTop:_0xb4d4ce}=_0x540a8f,{startX:_0x3c3a0b,startY:_0x5dd9c2}=_0x4016bf,{endX:_0x3d3e25,endY:_0x5ca87b}=_0x185d4a,_0x4593e7=_0x3d3e25-_0x3c3a0b,_0x5c8bf2=_0x5ca87b-_0x5dd9c2,_0x546b47={'labelPosition':_0x5dd9c2-_0xb4d4ce>=W?_0x56aa7a(0x2fd):'bottom','sheetID':_0x35c26d,'range':_0x22a282,'color':_0x1dac98,'name':_0x2901b2,'selection':_0x478e67,'left':_0x3c3a0b,'top':_0x5dd9c2,'width':_0x4593e7,'height':_0x5c8bf2,'evented':!0x1,'zIndex':At};return new $e(_0x2901b2,_0x546b47);});_0x3fabf5['addObjects'](_0x3728d8,Mt),this[_0x2a59c9(0x252)]=new Set(_0x3728d8);}[_0xbb36ef(0x2bc)](){const _0xb88bbe=_0xbb36ef;var _0x25b82d;(_0x25b82d=this[_0xb88bbe(0x252)])==null||_0x25b82d[_0xb88bbe(0x3bd)](_0x1f7b15=>_0x1f7b15[_0xb88bbe(0x3ef)]());}['_getSheetObject'](){const _0x48d911=_0xbb36ef;return G[_0x48d911(0x3f1)](this[_0x48d911(0x38e)][_0x48d911(0x40a)],this[_0x48d911(0x38e)]);}};Ie=wt([ae(0x1,a['Inject'](G['SheetSkeletonManagerService'])),ae(0x2,a[_0xbb36ef(0x3b8)](x)),ae(0x3,a['Inject'](a[_0xbb36ef(0x351)]))],Ie);function yt(_0x3b58fd){const _0x4249ea=_0xbb36ef,_0xb8f9e=new Map();return _0x3b58fd['forEach'](_0x2a8608=>{const _0x27edd4=_0x487e;if(_0xb8f9e[_0x27edd4(0x1fa)](_0x2a8608[_0x27edd4(0x2b4)])){const _0x3de64b=_0xb8f9e[_0x27edd4(0x35f)](_0x2a8608[_0x27edd4(0x2b4)]);_0x3de64b[_0x27edd4(0x381)]+=',\x20'+_0x2a8608[_0x27edd4(0x381)];}else _0xb8f9e[_0x27edd4(0x36f)](_0x2a8608[_0x27edd4(0x2b4)],_0x2a8608);}),Array[_0x4249ea(0x2f8)](_0xb8f9e[_0x4249ea(0x3e2)]());}var $t=Object[_0xbb36ef(0x1cf)],xt=(_0x498bec,_0xd6940,_0x11a52a,_0x176666)=>{for(var _0x3acff8=_0x176666>0x1?void 0x0:_0x176666?$t(_0xd6940,_0x11a52a):_0xd6940,_0x56642c=_0x498bec['length']-0x1,_0x161c2e;_0x56642c>=0x0;_0x56642c--)(_0x161c2e=_0x498bec[_0x56642c])&&(_0x3acff8=_0x161c2e(_0x3acff8)||_0x3acff8);return _0x3acff8;},y=(_0x45211f,_0x51a8a7)=>(_0x89e5c,_0x2c6e3f)=>_0x51a8a7(_0x89e5c,_0x2c6e3f,_0x45211f);let q=class extends a[_0xbb36ef(0x413)]{constructor(_0x428a0f,_0x497f0b,_0x2b6776,_0x1bfe13,_0x2bad78,_0x2d4e88){const _0x2e6e5b=_0xbb36ef;super(),this[_0x2e6e5b(0x266)]=_0x428a0f,this[_0x2e6e5b(0x358)]=_0x497f0b,this[_0x2e6e5b(0x2a1)]=_0x2b6776,this[_0x2e6e5b(0x356)]=_0x1bfe13,this[_0x2e6e5b(0x27f)]=_0x2bad78,this[_0x2e6e5b(0x3dc)]=_0x2d4e88,this['_setupBeforeClosingHandler'](),this[_0x2e6e5b(0x2e1)]();}[_0xbb36ef(0x353)](){const _0x34630c=_0xbb36ef;this[_0x34630c(0x28c)](this[_0x34630c(0x266)][_0x34630c(0x345)](()=>{const _0x4fbd40=_0x34630c;if(this[_0x4fbd40(0x358)][_0x4fbd40(0x341)]['size'])return this[_0x4fbd40(0x3dc)]['t'](_0x4fbd40(0x326));}));}[_0xbb36ef(0x2e1)](){const _0x426148=_0xbb36ef;this['disposeWithMe'](this[_0x426148(0x2a1)][_0x426148(0x2ec)][_0x426148(0x31c)](_0x16272e=>{const _0x1155c8=_0x426148;_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x3ca)]&&this[_0x1155c8(0x356)][_0x1155c8(0x3eb)]({'type':D[_0x1155c8(0x1c0)][_0x1155c8(0x374)],'content':this[_0x1155c8(0x3dc)]['t'](_0x1155c8(0x241))}),_0x16272e['id']===u['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x1155c8(0x356)]['show']({'type':D['MessageType'][_0x1155c8(0x374)],'content':this[_0x1155c8(0x3dc)]['t']('collaboration.closeRoom')}),_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x3f0)]&&this[_0x1155c8(0x27f)][_0x1155c8(0x3eb)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x1155c8(0x3dc)]['t'](_0x1155c8(0x325)),'type':'error','duration':0x0}),_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x25b)]&&this['_messageService']['show']({'type':D[_0x1155c8(0x1c0)][_0x1155c8(0x1c7)],'content':this['_localeService']['t'](_0x1155c8(0x428))+'('+_0x16272e[_0x1155c8(0x3d2)]+')'}),_0x16272e['id']===u[_0x1155c8(0x258)]['JOIN_ROOM_FAILED']&&this[_0x1155c8(0x356)][_0x1155c8(0x3eb)]({'type':D['MessageType']['Warning'],'content':this[_0x1155c8(0x3dc)]['t'](_0x16272e[_0x1155c8(0x3d2)]||'')}),_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x2a4)]&&this[_0x1155c8(0x356)]['show']({'type':D[_0x1155c8(0x1c0)]['Warning'],'content':this['_localeService']['t'](_0x1155c8(0x1d1))}),_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x39a)]&&this['_messageService'][_0x1155c8(0x3eb)]({'type':D[_0x1155c8(0x1c0)]['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x215)]&&this[_0x1155c8(0x356)][_0x1155c8(0x3eb)]({'type':D[_0x1155c8(0x1c0)][_0x1155c8(0x1c7)],'content':this[_0x1155c8(0x3dc)]['t']('session.collaboration-timeout')});}));}};q=xt([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0xbb36ef(0x220)]),y(0x2,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x2cd)])),y(0x3,O[_0xbb36ef(0x203)]),y(0x4,O[_0xbb36ef(0x28b)]),y(0x5,a['Inject'](a[_0xbb36ef(0x344)]))],q);const Bt=_0xbb36ef(0x3a4),De={};var jt=Object[_0xbb36ef(0x1cf)],kt=(_0x15f976,_0x318a09,_0x57a823,_0x5c7476)=>{for(var _0x4fa5e0=_0x5c7476>0x1?void 0x0:_0x5c7476?jt(_0x318a09,_0x57a823):_0x318a09,_0x1c9d4f=_0x15f976['length']-0x1,_0x19d3be;_0x1c9d4f>=0x0;_0x1c9d4f--)(_0x19d3be=_0x15f976[_0x1c9d4f])&&(_0x4fa5e0=_0x19d3be(_0x4fa5e0)||_0x4fa5e0);return _0x4fa5e0;},Ue=(_0x335519,_0x1e07ae)=>(_0x1c44e1,_0x590575)=>_0x1e07ae(_0x1c44e1,_0x590575,_0x335519);let z=class{constructor(_0x4015ee,_0x15df8a){const _0x7fff8f=_0xbb36ef;this[_0x7fff8f(0x1cc)]=_0x4015ee,this[_0x7fff8f(0x242)]=_0x15df8a;}['transformIMECache'](_0x4be536){const _0x14742c=_0xbb36ef;this[_0x14742c(0x29d)](_0x4be536),this['_transformPreviousActiveRange'](_0x4be536);}['transformRemoteChangeset'](_0x5ddce9){const _0x21508f=_0xbb36ef,{unitID:_0x12e29e}=_0x5ddce9,_0x2904ad=this[_0x21508f(0x242)][_0x21508f(0x2b9)](_0x12e29e)[_0x21508f(0x290)](E[_0x21508f(0x20e)]),{redoCache:_0x23c8a7}=_0x2904ad[_0x21508f(0x2d5)]();if(_0x23c8a7['length']===0x0)return _0x5ddce9;let _0x59aa08=a[_0x21508f(0x1d5)][_0x21508f(0x2c5)](_0x5ddce9[_0x21508f(0x3ed)][0x0]);for(let _0x417f9b=0x0;_0x417f9b<_0x23c8a7['length'];_0x417f9b++){const _0x30a925={'id':_0x21508f(0x1d0),'params':{..._0x23c8a7[_0x417f9b]}},_0x41e9fc=this[_0x21508f(0x1cc)][_0x21508f(0x2b0)](_0x59aa08,_0x30a925,!0x1);if(m[_0x21508f(0x247)](_0x41e9fc))throw _0x41e9fc['error'];_0x59aa08=_0x41e9fc[_0x21508f(0x3c7)];}return{...a['Tools']['deepClone'](_0x5ddce9),'mutations':[_0x59aa08]};}[_0xbb36ef(0x29d)](_0x48a885){const _0x1418d8=_0xbb36ef,{unitID:_0x30976e}=_0x48a885,_0x6bf907=this['_renderManagerService'][_0x1418d8(0x2b9)](_0x30976e)['with'](E[_0x1418d8(0x20e)]),{undoCache:_0x6255fc,redoCache:_0xa229ad}=_0x6bf907[_0x1418d8(0x2d5)]();if(_0x6255fc['length']===0x0||_0xa229ad['length']===0x0)return;const _0x34b9e3=[],_0x2f4751=[];let _0x5baa7b=a[_0x1418d8(0x1d5)][_0x1418d8(0x2c5)](_0x48a885[_0x1418d8(0x3ed)][0x0]),_0x18315c=a[_0x1418d8(0x1d5)][_0x1418d8(0x2c5)](_0x48a885['mutations'][0x0]);for(let _0x4f0162=_0x6255fc[_0x1418d8(0x21e)]-0x1;_0x4f0162>=0x0;_0x4f0162--){const _0x539d66={'id':_0x1418d8(0x1d0),'params':{..._0x6255fc[_0x4f0162]}},_0x4939a2={'id':_0x1418d8(0x1d0),'params':{..._0xa229ad[_0x4f0162]}},_0x443db7=this[_0x1418d8(0x1cc)][_0x1418d8(0x2b0)](_0x5baa7b,_0x539d66,!0x1),_0x12fb19=this['_transformService'][_0x1418d8(0x2b0)](_0x18315c,_0x4939a2,!0x1);if(m[_0x1418d8(0x247)](_0x443db7))throw _0x443db7[_0x1418d8(0x2db)];if(m[_0x1418d8(0x247)](_0x12fb19))throw _0x12fb19[_0x1418d8(0x2db)];_0x34b9e3[_0x1418d8(0x390)](_0x443db7['m2Prime'][_0x1418d8(0x1fc)]),_0x2f4751[_0x1418d8(0x390)](_0x12fb19[_0x1418d8(0x226)][_0x1418d8(0x1fc)]),_0x5baa7b=_0x443db7[_0x1418d8(0x3c7)],_0x18315c=_0x12fb19['m1Prime'];}_0x6bf907['setUndoRedoMutationParamsCache']({'undoCache':_0x34b9e3,'redoCache':_0x2f4751});}['_transformPreviousActiveRange'](_0x57f1ba){const _0x4e57d9=_0xbb36ef,{unitID:_0x2e4abc}=_0x57f1ba,_0x5a7064=this['_renderManagerService']['getRenderById'](_0x2e4abc)[_0x4e57d9(0x290)](E[_0x4e57d9(0x20e)]),_0x5c0126=_0x5a7064['getActiveRange']();if(_0x5c0126==null)return;const _0xa10e76=[{'id':_0x4e57d9(0x1d0),'params':{'unitId':_0x57f1ba['unitID'],'actions':null,'textRanges':[_0x5c0126]}}],_0xd03029=this[_0x4e57d9(0x1cc)][_0x4e57d9(0x368)](_0x57f1ba,_0xa10e76);if(!m[_0x4e57d9(0x1d7)](_0xd03029))throw _0xd03029['error'];const _0x39843a=_0xd03029[_0x4e57d9(0x226)][0x0][_0x4e57d9(0x1fc)]['textRanges'];Array[_0x4e57d9(0x26b)](_0x39843a)&&_0x39843a['length']&&_0x5a7064[_0x4e57d9(0x347)](_0x39843a[0x0]);}};z=kt([Ue(0x0,m[_0xbb36ef(0x229)]),Ue(0x1,p[_0xbb36ef(0x3ac)])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x465ce8,_0xc596b2,_0x1b5106,_0x555f4c)=>{const _0x210df3=_0xbb36ef;for(var _0x3e075a=_0x555f4c>0x1?void 0x0:_0x555f4c?Ft(_0xc596b2,_0x1b5106):_0xc596b2,_0x3a5ddd=_0x465ce8[_0x210df3(0x21e)]-0x1,_0x3fedfa;_0x3a5ddd>=0x0;_0x3a5ddd--)(_0x3fedfa=_0x465ce8[_0x3a5ddd])&&(_0x3e075a=_0x3fedfa(_0x3e075a)||_0x3e075a);return _0x3e075a;},ce=(_0x16c1fc,_0x7c853e)=>(_0xa8e4a9,_0x587353)=>_0x7c853e(_0xa8e4a9,_0x587353,_0x16c1fc);let J=class{constructor(_0x239352,_0xab5907,_0x384c45){const _0xc2c51d=_0xbb36ef;this[_0xc2c51d(0x267)]=_0x239352,this[_0xc2c51d(0x1cc)]=_0xab5907,this[_0xc2c51d(0x301)]=_0x384c45;}[_0xbb36ef(0x2e4)](_0x34bbd7){const _0x136d00=_0xbb36ef;this[_0x136d00(0x34c)](_0x34bbd7);}['transformRemoteChangeset'](_0x34df07){const _0x4fccd3=_0xbb36ef,{unitID:_0xa1b552}=_0x34df07,{collaboration:_0x4a5240}=this[_0x4fccd3(0x301)][_0x4fccd3(0x418)](_0xa1b552);if(_0x4a5240['length']===0x0)return _0x34df07;let _0x3cf0fe=a[_0x4fccd3(0x1d5)][_0x4fccd3(0x2c5)](_0x34df07[_0x4fccd3(0x3ed)][0x0]);for(let _0xe1866c=0x0;_0xe1866c<_0x4a5240[_0x4fccd3(0x21e)];_0xe1866c++){const _0x50e840={'id':_0x4fccd3(0x1d0),'params':{'unitId':_0x4a5240[_0xe1866c][_0x4fccd3(0x30b)],..._0x4a5240[_0xe1866c][_0x4fccd3(0x3e6)]}},_0xded06e=this[_0x4fccd3(0x1cc)][_0x4fccd3(0x2b0)](_0x3cf0fe,_0x50e840,!0x1);if(m[_0x4fccd3(0x247)](_0xded06e))throw _0xded06e['error'];_0x3cf0fe=_0xded06e['m1Prime'];}return{...a[_0x4fccd3(0x1d5)]['deepClone'](_0x34df07),'mutations':[_0x3cf0fe]};}[_0xbb36ef(0x34c)](_0x3fdb19){const _0x5083fe=_0xbb36ef,{unitID:_0x2f1c4d}=_0x3fdb19,{history:_0x1150ae,collaboration:_0x190da8}=this[_0x5083fe(0x301)]['getStateCache'](_0x2f1c4d);if(_0x1150ae[_0x5083fe(0x21e)]===0x0&&_0x190da8[_0x5083fe(0x21e)]===0x0)return;const _0x35016e=[],_0x1614ca=[];let _0x1aaac8=a[_0x5083fe(0x1d5)][_0x5083fe(0x2c5)](_0x3fdb19[_0x5083fe(0x3ed)][0x0]),_0xebeef9=a['Tools'][_0x5083fe(0x2c5)](_0x3fdb19[_0x5083fe(0x3ed)][0x0]);for(let _0x33887b=_0x1150ae[_0x5083fe(0x21e)]-0x1;_0x33887b>=0x0;_0x33887b--){const _0xba0cb3={'id':_0x5083fe(0x1d0),'params':{'unitId':_0x1150ae[_0x33887b][_0x5083fe(0x30b)],..._0x1150ae[_0x33887b]['undoState']}},_0x274adc={'id':_0x5083fe(0x1d0),'params':{'unitId':_0x1150ae[_0x33887b][_0x5083fe(0x30b)],..._0x1150ae[_0x33887b][_0x5083fe(0x3e6)]}},_0x57e13c=this['_transformService'][_0x5083fe(0x2b0)](_0x1aaac8,_0xba0cb3,!0x1),_0x4cfb5b=this[_0x5083fe(0x1cc)][_0x5083fe(0x2b0)](_0xebeef9,_0x274adc,!0x1);if(m[_0x5083fe(0x247)](_0x57e13c))throw _0x57e13c[_0x5083fe(0x2db)];if(m['isTransformMutationFailure'](_0x4cfb5b))throw _0x4cfb5b['error'];_0x35016e[_0x5083fe(0x390)]({..._0x1150ae[_0x33887b],'undoState':_0x57e13c['m2Prime'][_0x5083fe(0x1fc)],'redoState':_0x4cfb5b['m2Prime'][_0x5083fe(0x1fc)]}),_0x1aaac8=_0x57e13c[_0x5083fe(0x3c7)],_0xebeef9=_0x4cfb5b[_0x5083fe(0x3c7)];}_0x1aaac8=a[_0x5083fe(0x1d5)]['deepClone'](_0x3fdb19['mutations'][0x0]),_0xebeef9=a['Tools'][_0x5083fe(0x2c5)](_0x3fdb19[_0x5083fe(0x3ed)][0x0]);for(let _0xd3e052=_0x190da8['length']-0x1;_0xd3e052>=0x0;_0xd3e052--){const _0x4b3891={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x190da8[_0xd3e052][_0x5083fe(0x30b)],..._0x190da8[_0xd3e052]['undoState']}},_0x3ca2c8={'id':_0x5083fe(0x1d0),'params':{'unitId':_0x190da8[_0xd3e052][_0x5083fe(0x30b)],..._0x190da8[_0xd3e052][_0x5083fe(0x3e6)]}},_0x5a2056=this[_0x5083fe(0x1cc)][_0x5083fe(0x2b0)](_0x1aaac8,_0x4b3891,!0x1),_0x21ca97=this[_0x5083fe(0x1cc)]['transformMutation'](_0xebeef9,_0x3ca2c8,!0x1);if(m['isTransformMutationFailure'](_0x5a2056))throw _0x5a2056[_0x5083fe(0x2db)];if(m[_0x5083fe(0x247)](_0x21ca97))throw _0x21ca97[_0x5083fe(0x2db)];_0x1614ca[_0x5083fe(0x390)]({..._0x190da8[_0xd3e052],'undoState':_0x5a2056[_0x5083fe(0x226)][_0x5083fe(0x1fc)],'redoState':_0x21ca97[_0x5083fe(0x226)][_0x5083fe(0x1fc)]}),_0x1aaac8=_0x5a2056['m1Prime'],_0xebeef9=_0x21ca97[_0x5083fe(0x3c7)];}this[_0x5083fe(0x301)][_0x5083fe(0x3bf)](_0x2f1c4d,{'history':_0x35016e,'collaboration':_0x1614ca});}};J=Ht([ce(0x0,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x378)])),ce(0x1,m['ITransformService']),ce(0x2,a['Inject'](E['DocStateChangeManagerService']))],J);var Yt=Object[_0xbb36ef(0x1cf)],Wt=(_0x5b150b,_0x40e420,_0x2111f5,_0x14d0d2)=>{const _0x4f646b=_0xbb36ef;for(var _0x2a1604=_0x14d0d2>0x1?void 0x0:_0x14d0d2?Yt(_0x40e420,_0x2111f5):_0x40e420,_0x1dd00d=_0x5b150b[_0x4f646b(0x21e)]-0x1,_0x26ff6e;_0x1dd00d>=0x0;_0x1dd00d--)(_0x26ff6e=_0x5b150b[_0x1dd00d])&&(_0x2a1604=_0x26ff6e(_0x2a1604)||_0x2a1604);return _0x2a1604;},Ne=(_0x124115,_0x266802)=>(_0x232650,_0x2964a3)=>_0x266802(_0x232650,_0x2964a3,_0x124115);let Z=class{constructor(_0x594080,_0x1c09dd){const _0x6e9cec=_0xbb36ef;this[_0x6e9cec(0x267)]=_0x594080,this[_0x6e9cec(0x1cc)]=_0x1c09dd;}[_0xbb36ef(0x3c5)](_0x37cf12){const _0x50272e=_0xbb36ef;var _0x434d9c;const _0x85411b=this[_0x50272e(0x267)][_0x50272e(0x35f)](Y[_0x50272e(0x221)]),_0x2b7261=(_0x434d9c=_0x85411b[_0x50272e(0x305)]())!=null?_0x434d9c:[];if(_0x2b7261[_0x50272e(0x21e)]===0x0)return;const _0x363a4e=_0x37cf12[_0x50272e(0x2a8)],_0x38ca40=[{'id':_0x50272e(0x1d0),'params':{'unitId':_0x363a4e,'actions':null,'textRanges':_0x2b7261}}],_0x4d5877=this[_0x50272e(0x1cc)][_0x50272e(0x368)](_0x37cf12,_0x38ca40);if(!m[_0x50272e(0x1d7)](_0x4d5877))throw _0x4d5877[_0x50272e(0x2db)];const _0x5cf740=_0x4d5877[_0x50272e(0x226)][0x0][_0x50272e(0x1fc)][_0x50272e(0x1f6)];Array[_0x50272e(0x26b)](_0x5cf740)&&_0x5cf740['length']&&_0x85411b[_0x50272e(0x2e5)](_0x5cf740,{'unitId':_0x363a4e,'subUnitId':_0x363a4e},!0x1);}};Z=Wt([Ne(0x0,a[_0xbb36ef(0x3b8)](a['Injector'])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0xbb36ef(0x1cf)],Xt=(_0x42dc63,_0x311381,_0x1ae84a,_0x1695fa)=>{const _0x47c7f1=_0xbb36ef;for(var _0x8515a7=_0x1695fa>0x1?void 0x0:_0x1695fa?Vt(_0x311381,_0x1ae84a):_0x311381,_0x1618bd=_0x42dc63[_0x47c7f1(0x21e)]-0x1,_0x2f5803;_0x1618bd>=0x0;_0x1618bd--)(_0x2f5803=_0x42dc63[_0x1618bd])&&(_0x8515a7=_0x2f5803(_0x8515a7)||_0x8515a7);return _0x8515a7;},N=(_0x1760f7,_0x46bc47)=>(_0x4f8b26,_0x3f2e01)=>_0x46bc47(_0x4f8b26,_0x3f2e01,_0x1760f7);let Q=class extends a[_0xbb36ef(0x413)]{constructor(_0x4a8399,_0x3ffff1,_0x24da3b,_0x17aa3d,_0x50eea9,_0x4fcea0,_0x3405f3,_0x372a40){const _0x383f4c=_0xbb36ef;super(),h(this,_0x383f4c(0x2fa),new d[(_0x383f4c(0x2ad))](u[_0x383f4c(0x2f9)][_0x383f4c(0x2c3)])),(this[_0x383f4c(0x301)]=_0x4a8399,this[_0x383f4c(0x303)]=_0x3ffff1,this[_0x383f4c(0x308)]=_0x24da3b,this[_0x383f4c(0x416)]=_0x17aa3d,this[_0x383f4c(0x363)]=_0x50eea9,this[_0x383f4c(0x208)]=_0x4fcea0,this[_0x383f4c(0x356)]=_0x3405f3,this[_0x383f4c(0x3dc)]=_0x372a40,this[_0x383f4c(0x29c)]());}['_initEntityListener'](){const _0x49d6c1=_0xbb36ef;this['disposeWithMe'](this['_collaborationController'][_0x49d6c1(0x278)][_0x49d6c1(0x31c)](_0x212b20=>{const _0x1b931f=_0x49d6c1,_0x3c0460=this[_0x1b931f(0x301)][_0x1b931f(0x288)][_0x1b931f(0x31c)](_0xe8c62c=>{const _0x27490a=_0x1b931f;if(_0xe8c62c==null)return;const {unitId:_0x516b8f,redoState:_0x4f254e,commandId:_0x4bfe6e}=_0xe8c62c;if(_0x516b8f!==_0x212b20[_0x27490a(0x2a8)])return;const _0xe102c9={'id':_0x4bfe6e,'type':a[_0x27490a(0x3c8)][_0x27490a(0x3d7)],'params':{'unitId':_0x516b8f,'actions':_0x4f254e[_0x27490a(0x291)],'textRanges':null}};_0x212b20['onLocalMutation'](_0xe102c9);});if(_0x212b20[_0x1b931f(0x28c)](_0x3c0460),_0x212b20 instanceof u[_0x1b931f(0x430)]){const _0x162604={'onTransformIME':_0x148a1f=>this['_docTransformIMECacheService'][_0x1b931f(0x25f)](_0x148a1f),'onTransformState':_0x30f32e=>this[_0x1b931f(0x416)][_0x1b931f(0x2e4)](_0x30f32e),'onTransformSelections':_0x308ace=>this[_0x1b931f(0x363)][_0x1b931f(0x3c5)](_0x308ace),'onSyncEditingCollabCursor':_0x5c3b60=>this[_0x1b931f(0x208)][_0x1b931f(0x2ce)](_0x5c3b60),'onTransformRemoteChangesetByIMECache':_0x18932a=>this[_0x1b931f(0x308)]['transformRemoteChangeset'](_0x18932a),'onTransformRemoteChangesetByStateCache':_0x49613d=>this[_0x1b931f(0x416)]['transformRemoteChangeset'](_0x49613d)};_0x212b20[_0x1b931f(0x40e)](_0x162604);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0xbb36ef(0x210)])),N(0x1,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x392)])),N(0x2,a['Inject'](z)),N(0x3,a[_0xbb36ef(0x3b8)](J)),N(0x4,a[_0xbb36ef(0x3b8)](Z)),N(0x5,a[_0xbb36ef(0x3b8)](pe)),N(0x6,O['IMessageService']),N(0x7,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x344)]))],Q);var Gt=Object[_0xbb36ef(0x1cf)],Kt=(_0x58b89c,_0x4534d0,_0x4ffa16,_0x52ffaf)=>{const _0x50cf04=_0xbb36ef;for(var _0x5d9c4e=_0x52ffaf>0x1?void 0x0:_0x52ffaf?Gt(_0x4534d0,_0x4ffa16):_0x4534d0,_0x193ec3=_0x58b89c[_0x50cf04(0x21e)]-0x1,_0xe6836c;_0x193ec3>=0x0;_0x193ec3--)(_0xe6836c=_0x58b89c[_0x193ec3])&&(_0x5d9c4e=_0xe6836c(_0x5d9c4e)||_0x5d9c4e);return _0x5d9c4e;},le=(_0xae0d61,_0xed95df)=>(_0x3179b1,_0x2d6eaa)=>_0xed95df(_0x3179b1,_0x2d6eaa,_0xae0d61);let ve=class extends a['Disposable']{constructor(_0x3b15cc,_0x3731ac,_0x3cbcd7){const _0x58e407=_0xbb36ef;super(),h(this,_0x58e407(0x2c7),new Map()),h(this,_0x58e407(0x3d5),new Map()),h(this,'_disabled',!0x1),(this[_0x58e407(0x24e)]=_0x3b15cc,this[_0x58e407(0x2c2)]=_0x3731ac,this['_revisionService']=_0x3cbcd7);}[_0xbb36ef(0x1ca)](){const _0x5f0b8c=_0xbb36ef;this[_0x5f0b8c(0x3ec)]=!0x0;}[_0xbb36ef(0x2f4)](){const _0x2e340a=_0xbb36ef;this[_0x2e340a(0x3ec)]=!0x1;}get[_0xbb36ef(0x341)](){const _0x3aa1d0=_0xbb36ef;return this[_0x3aa1d0(0x3d5)];}[_0xbb36ef(0x3ef)](){const _0x3d0b44=_0xbb36ef;this[_0x3d0b44(0x2de)]()['then'](()=>super['dispose']());}async[_0xbb36ef(0x20a)](_0x57ca4b){const _0x39acc1=_0xbb36ef;return this[_0x39acc1(0x3ec)]?null:this[_0x39acc1(0x2c2)][_0x39acc1(0x3fb)](u[_0x39acc1(0x2c6)](_0x57ca4b));}async[_0xbb36ef(0x33f)](_0x3fe1de,_0x17a3af){const _0x24a829=_0xbb36ef;return!!this[_0x24a829(0x2c2)][_0x24a829(0x300)](_0x3fe1de,_0x17a3af);}[_0xbb36ef(0x277)](_0xa96b7c,_0x414b27,_0x289fad,_0x50b276){const _0x5928cf=_0xbb36ef,_0x407fa8=this[_0x5928cf(0x384)][_0x5928cf(0x2fc)](_0xa96b7c);this[_0x5928cf(0x2c7)][_0x5928cf(0x36f)](_0xa96b7c,{'unitID':_0xa96b7c,'type':_0x414b27,'awaitingChangeset':_0x289fad,'mutations':_0x50b276,'rev':_0x407fa8}),this[_0x5928cf(0x3d5)][_0x5928cf(0x1fa)](_0xa96b7c)||this[_0x5928cf(0x1ef)](_0xa96b7c);}[_0xbb36ef(0x1ef)](_0x429a91){const _0x1432c1=_0xbb36ef,_0x1916f6=this[_0x1432c1(0x23c)]();_0x1916f6===0x0?this[_0x1432c1(0x3f3)](_0x429a91):this[_0x1432c1(0x3d5)][_0x1432c1(0x36f)](_0x429a91,setTimeout(()=>this[_0x1432c1(0x3f3)](_0x429a91),_0x1916f6));}['_getSaveTimeout'](){const _0x22a260=_0xbb36ef;var _0x42bd32;return(_0x42bd32=this['_configService'][_0x22a260(0x3d4)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x42bd32:u['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x497ea8){const _0x3599e8=_0xbb36ef,_0x324b45=this[_0x3599e8(0x3d5)][_0x3599e8(0x35f)](_0x497ea8);return _0x324b45!==void 0x0&&window[_0x3599e8(0x309)](_0x324b45),this[_0x3599e8(0x2c2)]['setItem'](u[_0x3599e8(0x2c6)](_0x497ea8),this[_0x3599e8(0x2c7)][_0x3599e8(0x35f)](_0x497ea8))[_0x3599e8(0x2c4)](()=>this[_0x3599e8(0x3d5)]['delete'](_0x497ea8));}async[_0xbb36ef(0x2de)](){const _0x2d10d7=_0xbb36ef,_0x345bef=[];this[_0x2d10d7(0x3d5)][_0x2d10d7(0x3bd)]((_0x25bac7,_0xfa60d8)=>{const _0x25c856=_0x2d10d7;window[_0x25c856(0x309)](_0x25bac7),_0x345bef[_0x25c856(0x206)](this[_0x25c856(0x3f3)](_0xfa60d8)[_0x25c856(0x2c4)](()=>{const _0x227b9a=_0x25c856;this['_saveTaskMap'][_0x227b9a(0x1ed)](_0xfa60d8);}));}),await Promise[_0x2d10d7(0x236)](_0x345bef);}};ve=Kt([le(0x0,a[_0xbb36ef(0x285)]),le(0x1,a[_0xbb36ef(0x201)]),le(0x2,a[_0xbb36ef(0x3b8)](m[_0xbb36ef(0x405)]))],ve);class xe extends a[_0xbb36ef(0x315)]{constructor(){const _0x3ca525=_0xbb36ef;super(),h(this,_0x3ca525(0x275)),this[_0x3ca525(0x275)]=d['fromEvent'](window,'popstate')[_0x3ca525(0x2b7)](d[_0x3ca525(0x39c)](this['dispose$']),d[_0x3ca525(0x2aa)](0x1),d['mapTo'](void 0x0));}['setParam'](_0x3b003e,_0x5a2cb5,_0x63b904=!0x1){const _0x402b38=_0xbb36ef,_0x1c90e5=new URL(window[_0x402b38(0x2f2)][_0x402b38(0x385)]);_0x1c90e5['searchParams']['set'](_0x3b003e,_0x5a2cb5),_0x63b904?window['history']['replaceState']('','',_0x1c90e5[_0x402b38(0x219)]()):window[_0x402b38(0x282)][_0x402b38(0x3f7)]('','',_0x1c90e5[_0x402b38(0x219)]());}[_0xbb36ef(0x425)](_0x578070,_0x1f35ef=!0x1){const _0x307171=_0xbb36ef,_0x2e0dd8=new URL(window[_0x307171(0x2f2)]['href']);_0x2e0dd8[_0x307171(0x26f)]['delete'](_0x578070),_0x1f35ef?window[_0x307171(0x282)][_0x307171(0x1e6)]('','',_0x2e0dd8['toString']()):window[_0x307171(0x282)]['pushState']('','',_0x2e0dd8[_0x307171(0x219)]());}['getParam'](_0x300b79){const _0x5aa308=_0xbb36ef;var _0x2294fc;return(_0x2294fc=new URL(window[_0x5aa308(0x2f2)]['href'])[_0x5aa308(0x26f)]['get'](_0x300b79))!=null?_0x2294fc:void 0x0;}}var qt=Object[_0xbb36ef(0x42d)],zt=Object[_0xbb36ef(0x1cf)],Jt=(_0x27acbc,_0x10049e,_0x308d34)=>_0x10049e in _0x27acbc?qt(_0x27acbc,_0x10049e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x308d34}):_0x27acbc[_0x10049e]=_0x308d34,Zt=(_0x5c875a,_0x5ef805,_0x5a3fde,_0x56f42a)=>{const _0x24f2fd=_0xbb36ef;for(var _0x251e1d=_0x56f42a>0x1?void 0x0:_0x56f42a?zt(_0x5ef805,_0x5a3fde):_0x5ef805,_0x32d00f=_0x5c875a[_0x24f2fd(0x21e)]-0x1,_0x26fa84;_0x32d00f>=0x0;_0x32d00f--)(_0x26fa84=_0x5c875a[_0x32d00f])&&(_0x251e1d=_0x26fa84(_0x251e1d)||_0x251e1d);return _0x251e1d;},_e=(_0x596308,_0x44d141)=>(_0x27343d,_0x2e0b7b)=>_0x44d141(_0x27343d,_0x2e0b7b,_0x596308),Qt=(_0x8a018d,_0x2579a3,_0x164a4e)=>Jt(_0x8a018d,_0x2579a3+'',_0x164a4e);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0xbb36ef(0x3dd)]=class extends a[_0xbb36ef(0x1ee)]{constructor(_0x5cce34=De,_0x2273b2,_0x5ddb90,_0x110499){const _0x3a4582=_0xbb36ef;super(),this['_config']=_0x5cce34,this['_renderManagerService']=_0x2273b2,this[_0x3a4582(0x267)]=_0x5ddb90,this[_0x3a4582(0x24e)]=_0x110499;const {..._0x55d535}=a[_0x3a4582(0x207)]({},De,this['_config']);this[_0x3a4582(0x24e)]['setConfig'](Bt,_0x55d535);}[_0xbb36ef(0x3d0)](){const _0x2511f0=_0xbb36ef;this['_registerDependencies'](),this[_0x2511f0(0x3a0)]();}[_0xbb36ef(0x234)](){this['_registerRenderDependencies']();}[_0xbb36ef(0x274)](){const _0x3a6a4a=_0xbb36ef;var _0x40b5f9;const _0x87f7c5=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K[_0x3a6a4a(0x251)],{'useClass':K['WebSocketService']}],[u[_0x3a6a4a(0x220)],{'useClass':ve}],[exports[_0x3a6a4a(0x396)]],[Q],[q],[x],[ue],[exports[_0x3a6a4a(0x30e)]]];a[_0x3a6a4a(0x1da)](this['_injector'],a[_0x3a6a4a(0x270)](_0x87f7c5,(_0x40b5f9=this[_0x3a6a4a(0x23d)])==null?void 0x0:_0x40b5f9[_0x3a6a4a(0x3e9)]));}[_0xbb36ef(0x2ed)](){const _0x2696c7=_0xbb36ef;this[_0x2696c7(0x28c)](this[_0x2696c7(0x242)]['registerRenderModule'](a[_0x2696c7(0x35d)][_0x2696c7(0x402)],[fe])),this['disposeWithMe'](this[_0x2696c7(0x242)][_0x2696c7(0x394)](a[_0x2696c7(0x35d)][_0x2696c7(0x244)],[Ie]));}[_0xbb36ef(0x3a0)](){const _0x4f6eca=_0xbb36ef;a[_0x4f6eca(0x2f1)](this[_0x4f6eca(0x267)],[[x],[exports[_0x4f6eca(0x396)]],[Q],[q],[exports[_0x4f6eca(0x30e)]]]);}},Qt(exports[_0xbb36ef(0x3dd)],_0xbb36ef(0x2a2),es),exports[_0xbb36ef(0x3dd)]=Zt([a[_0xbb36ef(0x287)](u[_0xbb36ef(0x3df)]),_e(0x1,p['IRenderManagerService']),_e(0x2,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x378)])),_e(0x3,a['IConfigService'])],exports[_0xbb36ef(0x3dd)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x565723,_0x233d28,_0x5c203a,_0x36ef66)=>{for(var _0x1a6704=_0x36ef66>0x1?void 0x0:_0x36ef66?ts(_0x233d28,_0x5c203a):_0x233d28,_0x153470=_0x565723['length']-0x1,_0x387b27;_0x153470>=0x0;_0x153470--)(_0x387b27=_0x565723[_0x153470])&&(_0x1a6704=_0x387b27(_0x1a6704)||_0x1a6704);return _0x1a6704;},H=(_0x315338,_0xb1ae80)=>(_0x5d1f41,_0x450bed)=>_0xb1ae80(_0x5d1f41,_0x450bed,_0x315338);exports['BrowserCollaborationSocketService']=class extends u[_0xbb36ef(0x37b)]{constructor(_0xf7cd1e,_0x1f4349,_0x45a455,_0x400bb2,_0x4a9718){super(_0xf7cd1e,_0x1f4349,_0x45a455,_0x400bb2,_0x4a9718);}async['createSocket'](_0x5d0e9c){const _0x86afb3=_0xbb36ef,_0x910270=await this['_getSessionTicket'](),_0x267b50=this[_0x86afb3(0x3db)](_0x5d0e9c,_0x910270);return this['_doCreateSocket'](_0x267b50);}[_0xbb36ef(0x3db)](_0x3e3a6e,_0x35a51b){const _0x4016bb=_0xbb36ef,_0x372cee=typeof window>'u'?new URL(_0x3e3a6e):new URL(_0x3e3a6e,window['location'][_0x4016bb(0x21b)]);_0x372cee[_0x4016bb(0x26f)][_0x4016bb(0x36f)](_0x4016bb(0x2ca),_0x35a51b);const _0x1d2082=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4016bb(0x2f2)][_0x4016bb(0x342)]);return _0x1d2082['get']('runId')&&_0x372cee['searchParams']['set'](_0x4016bb(0x1e2),_0x1d2082[_0x4016bb(0x35f)](_0x4016bb(0x1e2))),_0x372cee[_0x4016bb(0x219)]();}async[_0xbb36ef(0x294)](){const _0x53ef2e=_0xbb36ef;var _0x41988b,_0x2ab0e1,_0x515270;const _0x582360=this[_0x53ef2e(0x24e)][_0x53ef2e(0x3d4)](u[_0x53ef2e(0x1f3)]),_0x239d9a=(_0x41988b=_0x582360==null?void 0x0:_0x582360[_0x53ef2e(0x365)])!=null?_0x41988b:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x515270=(_0x2ab0e1=(await this[_0x53ef2e(0x38f)][_0x53ef2e(0x35f)](_0x239d9a,{'headers':{'Content-Type':_0x53ef2e(0x2bd)}}))[_0x53ef2e(0x41f)])==null?void 0x0:_0x2ab0e1[_0x53ef2e(0x2fb)])!=null?_0x515270:'';}},exports['BrowserCollaborationSocketService']=ss([H(0x0,a[_0xbb36ef(0x3b8)](a['Injector'])),H(0x1,a[_0xbb36ef(0x3b8)](K[_0xbb36ef(0x20d)])),H(0x2,a[_0xbb36ef(0x285)]),H(0x3,a[_0xbb36ef(0x371)]),H(0x4,m['ISnapshotServerService'])],exports['BrowserCollaborationSocketService']);var Be=(_0x3e3d16=>(_0x3e3d16[_0x3e3d16['UNDEFINED']=0x0]='UNDEFINED',_0x3e3d16[_0x3e3d16['OK']=0x1]='OK',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2e6)]=0x2]=_0xbb36ef(0x2e6),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3f0)]=0x3]='PERMISSION_DENIED',_0x3e3d16[_0x3e3d16['NOT_FOUND']=0x4]=_0xbb36ef(0x29f),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x335)]=0x5]=_0xbb36ef(0x335),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2a6)]=0x6]=_0xbb36ef(0x2a6),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3b2)]=0x7]='INVALID_ARGUMENT',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x26e)]=0x8]=_0xbb36ef(0x26e),_0x3e3d16[_0x3e3d16['COMPLETION_FINISHED']=0x9]=_0xbb36ef(0x1fe),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3f9)]=0xa]=_0xbb36ef(0x3f9),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3e7)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x35a)]=0xc]=_0xbb36ef(0x35a),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2d8)]=0xd]=_0xbb36ef(0x2d8),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2dd)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x369)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x34d)]=0x1771]=_0xbb36ef(0x34d),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x379)]=0x1772]=_0xbb36ef(0x379),_0x3e3d16[_0x3e3d16['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xbb36ef(0x2df),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2af)]=0x1b59]=_0xbb36ef(0x2af),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x225)]=0x1b5a]=_0xbb36ef(0x225),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x333)]=0x1b5b]=_0xbb36ef(0x333),_0x3e3d16[_0x3e3d16['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xbb36ef(0x2b8),_0x3e3d16[_0x3e3d16['APPLY_DUPLICATED']=0x1b5d]=_0xbb36ef(0x388),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3a1)]=0x1f41]=_0xbb36ef(0x3a1),_0x3e3d16[_0x3e3d16['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xbb36ef(0x2ea),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3d9)]=0x232a]=_0xbb36ef(0x3d9),_0x3e3d16[_0x3e3d16['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xbb36ef(0x3a6),_0x3e3d16[_0x3e3d16['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2c9)]=0x232d]=_0xbb36ef(0x2c9),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x366)]=0x2711]=_0xbb36ef(0x366),_0x3e3d16[_0x3e3d16['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xbb36ef(0x213),_0x3e3d16[_0x3e3d16['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xbb36ef(0x2f0),_0x3e3d16[_0x3e3d16['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xbb36ef(0x302),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x417)]=0x271a]=_0xbb36ef(0x417),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x334)]=0x271b]=_0xbb36ef(0x334),_0x3e3d16[_0x3e3d16['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xbb36ef(0x1f2),_0x3e3d16[_0x3e3d16['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xbb36ef(0x37c),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x228)]=0x271e]=_0xbb36ef(0x228),_0x3e3d16[_0x3e3d16['YUUMI_AI_RUN_FAILED']=0x271f]=_0xbb36ef(0x2f6),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3aa)]=0x2720]=_0xbb36ef(0x3aa),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x29e)]=0x2af9]=_0xbb36ef(0x29e),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x1dc)]=0x2ee1]=_0xbb36ef(0x1dc),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x217)]=0x2ee2]=_0xbb36ef(0x217),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3e5)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x1d8)]=0x2ee4]=_0xbb36ef(0x1d8),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x26c)]=0x2ee5]=_0xbb36ef(0x26c),_0x3e3d16[_0x3e3d16['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xbb36ef(0x310),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2be)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x27c)]=0x32cb]=_0xbb36ef(0x27c),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x33b)]=-0x1]='UNRECOGNIZED',_0x3e3d16))(Be||{}),is=Object['getOwnPropertyDescriptor'],ns=(_0x155a21,_0x434c42,_0x2eddd5,_0x31423d)=>{const _0xf6a87f=_0xbb36ef;for(var _0x5736c5=_0x31423d>0x1?void 0x0:_0x31423d?is(_0x434c42,_0x2eddd5):_0x434c42,_0x5116de=_0x155a21[_0xf6a87f(0x21e)]-0x1,_0x5f42a9;_0x5116de>=0x0;_0x5116de--)(_0x5f42a9=_0x155a21[_0x5116de])&&(_0x5736c5=_0x5f42a9(_0x5736c5)||_0x5736c5);return _0x5736c5;},he=(_0x5d78ae,_0x16b8ab)=>(_0x43d694,_0x42449b)=>_0x16b8ab(_0x43d694,_0x42449b,_0x5d78ae);exports[_0xbb36ef(0x33d)]=class extends a[_0xbb36ef(0x413)]{constructor(_0x3af854,_0x46cb93,_0x18cf47){const _0x44c9b0=_0xbb36ef;super(),this[_0x44c9b0(0x328)]=_0x3af854,this['_httpService']=_0x46cb93,this[_0x44c9b0(0x24e)]=_0x18cf47;}async[_0xbb36ef(0x3e3)](_0x5cc01c,_0x4ddfe4,_0x3dfc2b,..._0x41c363){const _0x34ea48=_0xbb36ef;var _0x2424df,_0x3f3d14,_0x514f00,_0x451c9f;const _0x105144=this[_0x34ea48(0x328)][_0x34ea48(0x36a)]();if(!_0x105144)throw new Error(_0x34ea48(0x264));const _0x16ca33=((_0x2424df=this[_0x34ea48(0x24e)]['getConfig'](u[_0x34ea48(0x284)]))!=null?_0x2424df:u[_0x34ea48(0x2e0)])+'/'+_0x5cc01c+_0x34ea48(0x245)+_0x4ddfe4,_0xc66640=new URL(window[_0x34ea48(0x2f2)][_0x34ea48(0x385)]),_0x55b9b7={'scriptId':_0x5cc01c,'runId':(_0x3f3d14=_0xc66640[_0x34ea48(0x26f)][_0x34ea48(0x35f)](_0x34ea48(0x1e2)))!=null?_0x3f3d14:'','function':_0x4ddfe4,'unitId':_0x105144[_0x34ea48(0x3d8)](),'argsOfFunction':JSON['stringify'](_0x41c363),'invokeId':(_0x514f00=_0x3dfc2b[_0x34ea48(0x320)])!=null?_0x514f00:'','executionId':(_0x451c9f=_0x3dfc2b[_0x34ea48(0x41b)])!=null?_0x451c9f:''};try{const _0x2300f8=await this[_0x34ea48(0x38f)]['post'](_0x16ca33,{'body':_0x55b9b7});return _0x2300f8[_0x34ea48(0x41f)][_0x34ea48(0x2db)]&&_0x2300f8['body']['error'][_0x34ea48(0x354)]!==Be['OK']?'Failed':_0x2300f8[_0x34ea48(0x41f)][_0x34ea48(0x34b)];}catch{return _0x34ea48(0x412);}}},exports[_0xbb36ef(0x33d)]=ns([he(0x0,a[_0xbb36ef(0x21f)]),he(0x1,a[_0xbb36ef(0x3b8)](K[_0xbb36ef(0x20d)])),he(0x2,a[_0xbb36ef(0x285)])],exports[_0xbb36ef(0x33d)]);const Me=0x7530,Le='ACTIVE_UNIT_EVENT_CHANNEL';class rs extends a[_0xbb36ef(0x413)]{constructor(){const _0x48ead3=_0xbb36ef;super(),h(this,_0x48ead3(0x32c),a[_0x48ead3(0x1de)]()),h(this,_0x48ead3(0x2ac),new Set()),h(this,_0x48ead3(0x37e),new Map()),h(this,_0x48ead3(0x316),null),h(this,_0x48ead3(0x377),new Map()),h(this,'_unitStatus',new Map()),this[_0x48ead3(0x307)]();}[_0xbb36ef(0x3ef)](){const _0x51f983=_0xbb36ef;super['dispose'](),this['_clearOtherTimers'][_0x51f983(0x3bd)]((_0x129d20,_0x553883)=>this['_removeClearOtherTimer'](_0x553883)),this[_0x51f983(0x316)]&&window[_0x51f983(0x2e7)](this['_heartbeatTimer']);}[_0xbb36ef(0x3fa)](_0x4c11ad){const _0x3234b8=_0xbb36ef;return this[_0x3234b8(0x31b)](_0x4c11ad)['pipe'](d[_0x3234b8(0x42a)]());}[_0xbb36ef(0x283)](_0xaf9642){const _0x73a590=_0xbb36ef;this[_0x73a590(0x2ac)][_0x73a590(0x200)]===0x0&&this[_0x73a590(0x361)](),this[_0x73a590(0x2ac)][_0x73a590(0x3fe)](_0xaf9642),this[_0x73a590(0x34a)]({'type':0x0,'memberID':this[_0x73a590(0x32c)],'unitIDs':[_0xaf9642],'isForwarded':!0x1});}['disposeUnit'](_0x8c36bc){const _0x41abc8=_0xbb36ef;this[_0x41abc8(0x2ac)]['delete'](_0x8c36bc),this[_0x41abc8(0x2ac)][_0x41abc8(0x200)]===0x0&&this[_0x41abc8(0x316)]&&window[_0x41abc8(0x2e7)](this[_0x41abc8(0x316)]);}[_0xbb36ef(0x307)](){const _0x3ca8e3=_0xbb36ef;this['disposeWithMe'](a[_0x3ca8e3(0x367)](d[_0x3ca8e3(0x1d2)](window,_0x3ca8e3(0x3c6))[_0x3ca8e3(0x31c)](_0x3dd9a3=>{const _0x100c5d=_0x3ca8e3;if(_0x3dd9a3[_0x100c5d(0x352)]!==Le||!_0x3dd9a3[_0x100c5d(0x253)])return;const _0x2bd6ef=JSON[_0x100c5d(0x1ce)](_0x3dd9a3[_0x100c5d(0x253)]);this['_handleEvent'](_0x2bd6ef);}))),window[_0x3ca8e3(0x21a)](_0x3ca8e3(0x37d),()=>this[_0x3ca8e3(0x34a)]({'type':0x1,'memberID':this[_0x3ca8e3(0x32c)],'unitIDs':Array[_0x3ca8e3(0x2f8)](this[_0x3ca8e3(0x2ac)])}));}['_handleEvent'](_0x56ec5c){const _0x1598b0=_0xbb36ef;switch(_0x56ec5c[_0x1598b0(0x30c)]){case 0x0:this['_handleJoinEvent'](_0x56ec5c);break;case 0x1:this[_0x1598b0(0x1e5)](_0x56ec5c);break;case 0x2:this[_0x1598b0(0x1e8)](_0x56ec5c);break;}}[_0xbb36ef(0x1ec)](_0x2fb7d5){const _0x4e6d01=_0xbb36ef,{unitIDs:_0x2b3bcb,memberID:_0x51d8c2,isForwarded:_0x63668f}=_0x2fb7d5;_0x2b3bcb[_0x4e6d01(0x3bd)](_0x52a500=>{const _0x113b0a=_0x4e6d01;if(!_0x63668f&&this[_0x113b0a(0x37e)][_0x113b0a(0x1fa)](_0x52a500)&&this['_ensureSubject'](_0x52a500)[_0x113b0a(0x33e)](u[_0x113b0a(0x3f6)]['OTHER_CLIENTS_EDITING']),!this[_0x113b0a(0x37e)][_0x113b0a(0x1fa)](_0x52a500)||!this[_0x113b0a(0x37e)][_0x113b0a(0x35f)](_0x52a500)[_0x113b0a(0x1fa)](_0x51d8c2)){const _0x2fc627=this['_unitOnClients'][_0x113b0a(0x35f)](_0x52a500)||new Set();_0x2fc627[_0x113b0a(0x3fe)](_0x51d8c2),this[_0x113b0a(0x37e)][_0x113b0a(0x36f)](_0x52a500,_0x2fc627),this[_0x113b0a(0x3cf)](_0x51d8c2);}}),_0x63668f||this[_0x4e6d01(0x34a)]({'type':0x0,'memberID':this[_0x4e6d01(0x32c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xbb36ef(0x3cf)](_0x2fd26a){const _0xbca509=_0xbb36ef;this['_removeClearOtherTimer'](_0x2fd26a);const _0x23e82f=window[_0xbca509(0x407)](()=>{const _0x2c9014=_0xbca509;this[_0x2c9014(0x37e)]['forEach'](_0x2fcbf0=>{const _0x3543d9=_0x2c9014;_0x2fcbf0[_0x3543d9(0x1ed)](_0x2fd26a);});},Me*0x2);this['_clearOtherTimers'][_0xbca509(0x36f)](_0x2fd26a,_0x23e82f);}['_removeClearOtherTimer'](_0x1b51f1){const _0x141b6f=_0xbb36ef;if(this[_0x141b6f(0x377)][_0x141b6f(0x1fa)](_0x1b51f1)){const _0x9497ba=this['_clearOtherTimers'][_0x141b6f(0x35f)](_0x1b51f1);_0x9497ba&&window[_0x141b6f(0x309)](_0x9497ba),this[_0x141b6f(0x377)][_0x141b6f(0x36f)](_0x1b51f1,null);}}[_0xbb36ef(0x1e5)](_0x36d845){const _0x43e462=_0xbb36ef,{memberID:_0x31656c,unitIDs:_0x50717c}=_0x36d845;_0x50717c[_0x43e462(0x3bd)](_0xe06611=>{const _0x29898a=_0x43e462;var _0x5e0af0;const _0x2689fa=this[_0x29898a(0x37e)][_0x29898a(0x35f)](_0xe06611);_0x2689fa&&(_0x2689fa[_0x29898a(0x1ed)](_0x31656c),(_0x5e0af0=this[_0x29898a(0x31b)](_0xe06611))==null||_0x5e0af0[_0x29898a(0x33e)](_0x2689fa[_0x29898a(0x200)]===0x0?u[_0x29898a(0x3f6)][_0x29898a(0x375)]:u[_0x29898a(0x3f6)]['OTHER_CLIENTS_EDITING']));}),this[_0x43e462(0x1cb)](_0x31656c);}[_0xbb36ef(0x1e8)](_0x38cefb){const _0x4f80dc=_0xbb36ef;this[_0x4f80dc(0x3cf)](_0x38cefb[_0x4f80dc(0x1c4)]);}[_0xbb36ef(0x34a)](_0x317a31){const _0x1ba44c=_0xbb36ef;localStorage['setItem'](Le,JSON[_0x1ba44c(0x3e8)](_0x317a31));}[_0xbb36ef(0x361)](){const _0x5619db=_0xbb36ef;this[_0x5619db(0x316)]=window[_0x5619db(0x2d3)](()=>{const _0x2acb4d=_0x5619db;this[_0x2acb4d(0x34a)]({'type':0x2,'memberID':this[_0x2acb4d(0x32c)]});},Me);}[_0xbb36ef(0x31b)](_0x568dbd){const _0x2ea1b5=_0xbb36ef;return this['_unitStatus'][_0x2ea1b5(0x1fa)](_0x568dbd)||this[_0x2ea1b5(0x2ee)]['set'](_0x568dbd,new d[(_0x2ea1b5(0x2ad))](u[_0x2ea1b5(0x3f6)][_0x2ea1b5(0x375)])),this[_0x2ea1b5(0x2ee)][_0x2ea1b5(0x35f)](_0x568dbd);}}exports[_0xbb36ef(0x209)]=me,exports['SheetCollabCursorShape']=$e,exports[_0xbb36ef(0x26a)]=rs,exports['WebURLService']=xe;
@@ -1 +1 @@
1
- 'use strict';const _0x378f1a=_0x598c;function _0x598c(_0x5c2dd3,_0x2fecdb){const _0x17396f=_0x1739();return _0x598c=function(_0x598c91,_0x3ab242){_0x598c91=_0x598c91-0x89;let _0x3a97eb=_0x17396f[_0x598c91];return _0x3a97eb;},_0x598c(_0x5c2dd3,_0x2fecdb);}(function(_0x20bfa8,_0x4039f8){const _0x2530d2=_0x598c,_0x165341=_0x20bfa8();while(!![]){try{const _0x2c1e62=parseInt(_0x2530d2(0x9f))/0x1*(-parseInt(_0x2530d2(0xa0))/0x2)+parseInt(_0x2530d2(0x92))/0x3+parseInt(_0x2530d2(0xa2))/0x4*(parseInt(_0x2530d2(0x8a))/0x5)+-parseInt(_0x2530d2(0x94))/0x6*(parseInt(_0x2530d2(0x93))/0x7)+parseInt(_0x2530d2(0x89))/0x8*(parseInt(_0x2530d2(0x90))/0x9)+parseInt(_0x2530d2(0x91))/0xa+-parseInt(_0x2530d2(0x8d))/0xb*(-parseInt(_0x2530d2(0xa1))/0xc);if(_0x2c1e62===_0x4039f8)break;else _0x165341['push'](_0x165341['shift']());}catch(_0x37c648){_0x165341['push'](_0x165341['shift']());}}}(_0x1739,0xb92c3));const e={'collab-client':{'tooltip':{'reconnect':_0x378f1a(0x9c)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x378f1a(0x8c),'notCollab':_0x378f1a(0x97),'synced':_0x378f1a(0x8b),'syncing':_0x378f1a(0x98),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x378f1a(0x8e),'will-retry':_0x378f1a(0x95),'room-full':_0x378f1a(0x8f),'collaboration-timeout':_0x378f1a(0x9d)},'conflict':{'title':_0x378f1a(0x99),'content':_0x378f1a(0xa3)},'permission':{'title':_0x378f1a(0x9e),'content':_0x378f1a(0x9b)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x378f1a(0x96)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;module[_0x378f1a(0x9a)]=o;function _0x1739(){const _0x181e6c=['691045GfJeyf','Synced','Edit\x20conflicts','2959rBtDHD','Connection\x20failed,\x20please\x20check\x20your\x20network.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','684270ExjJye','9569480qbdtGq','1696389EZynJN','7421449lzoCMq','6aSlEjt','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Local\x20file','Syncing...','Collaboration\x20Conflict','exports','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','1087muiQbS','2576QVWZUi','15240ceFfsf','4vtdcxf','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','128DeExjW'];_0x1739=function(){return _0x181e6c;};return _0x1739();}
1
+ 'use strict';const _0x40e84b=_0x3678;function _0x3678(_0x116f4e,_0x3c2ef1){const _0x8fb7c3=_0x8fb7();return _0x3678=function(_0x36785c,_0x10a34f){_0x36785c=_0x36785c-0xc2;let _0x179d6b=_0x8fb7c3[_0x36785c];return _0x179d6b;},_0x3678(_0x116f4e,_0x3c2ef1);}function _0x8fb7(){const _0x48ebaf=['Local\x20file','Syncing...','Collaboration\x20Conflict','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','88890hBKYBa','92020YbmxBc','938181vtLKSP','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','395834VuxgfT','1717436rMmran','677240jldfzh','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1628552MWCCVJ','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6catMhi','exports','Authentication\x20Error','Click\x20to\x20Reconnect','18UpYKYs','748EMSSxF','1YekBov','Syncing\x20server\x20data...'];_0x8fb7=function(){return _0x48ebaf;};return _0x8fb7();}(function(_0x1212fd,_0x48e8de){const _0x15970c=_0x3678,_0x47cbbb=_0x1212fd();while(!![]){try{const _0x1deaad=-parseInt(_0x15970c(0xd9))/0x1*(-parseInt(_0x15970c(0xcb))/0x2)+parseInt(_0x15970c(0xc6))/0x3+parseInt(_0x15970c(0xcd))/0x4+parseInt(_0x15970c(0xc4))/0x5+-parseInt(_0x15970c(0xd3))/0x6*(parseInt(_0x15970c(0xcc))/0x7)+parseInt(_0x15970c(0xd0))/0x8*(parseInt(_0x15970c(0xd7))/0x9)+-parseInt(_0x15970c(0xc5))/0xa*(parseInt(_0x15970c(0xd8))/0xb);if(_0x1deaad===_0x48e8de)break;else _0x47cbbb['push'](_0x47cbbb['shift']());}catch(_0x5f1951){_0x47cbbb['push'](_0x47cbbb['shift']());}}}(_0x8fb7,0x3913a));const e={'collab-client':{'tooltip':{'reconnect':_0x40e84b(0xd6)}},'collabStatus':{'fetchMiss':_0x40e84b(0xda),'conflict':_0x40e84b(0xd1),'notCollab':_0x40e84b(0xdb),'synced':_0x40e84b(0xde),'syncing':_0x40e84b(0xdc),'offline':_0x40e84b(0xca)},'session':{'connection-failed':_0x40e84b(0xc8),'will-retry':_0x40e84b(0xcf),'room-full':_0x40e84b(0xce),'collaboration-timeout':_0x40e84b(0xc7)},'conflict':{'title':_0x40e84b(0xdd),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x40e84b(0xd5),'content':_0x40e84b(0xc3)},'collaboration':{'single-unit':{'warning':_0x40e84b(0xc2)},'closeRoom':_0x40e84b(0xd2)},'auth':{'needGotoLoginAlert':_0x40e84b(0xc9)}},o=e;module[_0x40e84b(0xd4)]=o;