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

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 +16 -16
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
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();}
1
+ 'use strict';function _0x515a(_0x3e1065,_0x1f8969){const _0xa4452f=_0xa445();return _0x515a=function(_0x515a72,_0xfa53d5){_0x515a72=_0x515a72-0x175;let _0x26828c=_0xa4452f[_0x515a72];return _0x26828c;},_0x515a(_0x3e1065,_0x1f8969);}const _0x4f945a=_0x515a;(function(_0x122c6a,_0x365d58){const _0x635e2c=_0x515a,_0x3e9a82=_0x122c6a();while(!![]){try{const _0x100d13=-parseInt(_0x635e2c(0x180))/0x1*(parseInt(_0x635e2c(0x17e))/0x2)+parseInt(_0x635e2c(0x175))/0x3*(-parseInt(_0x635e2c(0x17d))/0x4)+parseInt(_0x635e2c(0x17a))/0x5+-parseInt(_0x635e2c(0x17c))/0x6*(parseInt(_0x635e2c(0x177))/0x7)+-parseInt(_0x635e2c(0x182))/0x8+-parseInt(_0x635e2c(0x17b))/0x9+-parseInt(_0x635e2c(0x176))/0xa*(-parseInt(_0x635e2c(0x179))/0xb);if(_0x100d13===_0x365d58)break;else _0x3e9a82['push'](_0x3e9a82['shift']());}catch(_0x2cae4c){_0x3e9a82['push'](_0x3e9a82['shift']());}}}(_0xa445,0x5e4e7));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e[_0x4f945a(0x183)]{[_0x4f945a(0x184)](_0x58b6e1,_0x5ca256,..._0xeb9cc9){const _0x5ebd2c=_0x4f945a;return this[_0x5ebd2c(0x17f)]['get'](t[_0x5ebd2c(0x178)])[_0x5ebd2c(0x184)](_0x58b6e1,_0x5ca256,{},..._0xeb9cc9);}}function _0xa445(){const _0x5191e3=['extend','256040FTkKgN','FUniver','runOnServer','3XrNvzX','7030YkMhsL','2448075tuyGoT','RemoteUniscriptService','22759jafbJo','2648730AmSxbW','3852981jNINMg','6brrkKi','1127044hSYdRg','44WGnzjN','_injector','23017fMVPzW'];_0xa445=function(){return _0x5191e3;};return _0xa445();}e[_0x4f945a(0x183)][_0x4f945a(0x181)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
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
+ 'use strict';const _0x162072=_0x190c;(function(_0x406300,_0x4853a7){const _0x55ee8d=_0x190c,_0x31b73c=_0x406300();while(!![]){try{const _0x27d1b3=parseInt(_0x55ee8d(0x17d))/0x1*(-parseInt(_0x55ee8d(0x1f8))/0x2)+parseInt(_0x55ee8d(0x345))/0x3*(parseInt(_0x55ee8d(0x24b))/0x4)+-parseInt(_0x55ee8d(0x297))/0x5*(parseInt(_0x55ee8d(0x1bb))/0x6)+-parseInt(_0x55ee8d(0x2a8))/0x7*(parseInt(_0x55ee8d(0x13f))/0x8)+parseInt(_0x55ee8d(0x1e9))/0x9+-parseInt(_0x55ee8d(0x120))/0xa*(-parseInt(_0x55ee8d(0x314))/0xb)+parseInt(_0x55ee8d(0x2cc))/0xc*(parseInt(_0x55ee8d(0x1a0))/0xd);if(_0x27d1b3===_0x4853a7)break;else _0x31b73c['push'](_0x31b73c['shift']());}catch(_0xdc4ed2){_0x31b73c['push'](_0x31b73c['shift']());}}}(_0x3f55,0xa8bfc));function _0x3f55(){const _0x4b51a5=['UNAUTHENTICATED','actions','clearInterval','getTypeOfUnitAdded$','NOT_COLLAB','findNodePositionByCharIndex','isActive','ColorKit','arc','prototype','INotificationService','fromEvent','144KckxnI','Optional','fillText','fillStyle','onRendered','add','_backgroundColor','BrowserCollaborationSocketService','getSkeleton','YUUMI_URL_COL_OUT_OF_RANGE','DesktopCollaborationStatusDisplayController','disposeWithMe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sheetSkeletonManagerService','stringify','toDisposable','_syncEditingCollabCursorService','measureText','contains','getDocRanges','TEXT_RANGE_LAYER_INDEX','transform','univerjs-icon\x20univerjs-icon-','LICENSE_DISTRO_REJECTED','APPLY_NON_SEQUENTIAL_REVISION','ACTIVE_UNIT_EVENT_CHANNEL','_collabCursorController','_injector','whenReady','USERS_LEAVE','_selfUnitIDs','closePath','0\x200\x2016\x2016','children','RemoteUniscriptService','pipe','handleDeleteRangeMoveUp','hide','runId','_localStorageService','SNAPSHOT_INVALID_SNAPSHOT','unitID','SHEET_VIEWPORT_KEY','CollaborationUIEventId','fromEventSubject','startRow','handleInsertCol','type','LOCAL_CACHE_INTERVAL','IConfigService','length','_document','YUUMI_RATE_OVER_LIMIT','setConfig','subunit','_getAnchorBounding','parse','map','dispose$','with','RECT','transformRemoteChangeset','size','getColor','_updateSubUnitFromURLParams','INVITE_CODE_ALREADY_BOUND','endColumn','Rect','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','replace','SheetSkeletonManagerService','exhaustSavingTask','46156tBmSCW','_eventUnsubscribe','LOGIN_FAILED','DocCollaborationEntity','extend','shareReplay','getCellPositionByOffset','loadOfflineData','_hover','jsxs','all','_startSheetCollabCursor','YUUMI_UNABLE_LOAD_URL','restore','collabStatus.notCollab','switchMap','ICommandService','TOO_MANY_REQUESTS','MOBILE_HAS_BEEN_BOUND','permission.content','complete','OnLineIcon','IDocClipboardService','reconnect','round','call','_collaborationUIEventService','YUUMI_CONNECTOR_URL_NOT_FOUND','uni.network.url-service','_initEntityListener','range','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subscribe','handleInsertRangeMoveRight','_setupBeforeClosingHandler','_anchorDot','m2Prime','IUIPartsService','entityInit$','Tools','getUndoRedoMutationParamsCache','APPLY_DUPLICATED','getAncestorScale','UniverInstanceType','debounceTime','getRenderById','INVITE_CODE_REQUIRED','YUUMI_NO_CUBOID_FOR_QUESTION','bottom','243345AYMFyq','enableLocalCache','get','_saveTaskMap','_getScale','includes','_cachedData','popstate','INVALID_ARGUMENT','_commandService','replaceState','1em','onPointerMove$','UNRECOGNIZED','getMember','event$','_transformHistoryAndStateStack','collab-text-range-','createIdentifier','WebBrowserSingleActiveUnitService','attrs','M0\x200H16V16H0z','on-line-icon_clip0_910_349','displayName','random','collab-client.tooltip.reconnect','SheetCollabCursorShape','_docSyncEditingCollabCursorService','cursorInfo$','OTHER_CLIENT_EDITING','setStateCache','Failed','UPDATE_CURSOR','_updateCollabCursors','Inject','RevisionService','INVITE_CODE_HAS_BEEN_UES','selections','next','selection','on-line-icon','createElement','currentTheme$','UNIVER_DOC','getUnitStatus$','FromArray','setParam','toStringTag','drawWith','LOCAL_CACHE_INTERVAL_KEY','collab-rect-range-','onCommandExecuted','init','LICENSE_MAX_UNITS_EXCEEDED','_color','_initStatusListener','max','docStateChange$','_registerDependencies','concat','string','HEADER_MENU','transformStateCache','MUTATION','RemoveRowCommandId','UniverIcon','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CONFLICT','_memberService','COMPLETION_FINISHED','Unknown\x20user','color','_docTransformIMECacheService','combineLatest','fillRule','colorChannel1','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getFocusedUnit','_clearOtherTimers','error','_name','SheetsSelectionsService','registerBeforeClose','idSuffix','univer-mr-2\x20univer-flex\x20univer-text-xl','split','jsx','InsertRangeMoveRightCommandId','unitId','registerDependencies','Vector2','710xzRlNK','subscribeEvent','indexOf','_saveCache','toString','connectInjector','isArray','_startDocCollabCursor','_dataLoaderService','isEditing','_docTransformSelectionsService','skeleton','APPLY_REVISION_CONFILICT','_docClipboardService','IUniverInstanceService','values','Module','translate(.97)','registerRenderModule','has','IRemoteInstanceService','dispose','collabStatus.syncing','location','YUUMI_AI_RUN_FAILED','addObject','ticket','_getMergeRange','setTimeout','_refreshCollabCursors','onStarting','8MEcyoN','ITransformService','blue.400','_onCursorUpdate','use','text','forEach','propertyIsEnumerable','_collabSessionService','requireSession','getCurrentUnitForType','svg','_lastPointer','TEXT','registerRefRange','_colorIndex','textRanges','red.300','UnitStatus','_render','sheetId','top','off-line-icon','_drawRectRange','PENDING','MemberService','_labelPosition','disposeUnit','DataLoaderService','/run/','startColumn','redoState','_renderManagerService','unsubscribe','_cursors','MoveRangeCommandId','width','_docSkeletonManagerService','isTransformMutationsWithChangesetSuccess','getConfig','xlink:href','BuiltInUIPart','defs','_themeService','DOC_RANGE_TYPE','black','[CollaborationDataLoaderController]','delete','_entities','_getSheetObject','save','ALREADY_EXISTS','find','CollaborationDataLoaderController','isTransformMutationFailure','height','UNIVER_SHEET','storage','RegularPolygon','_colorAssignService','transformMutation','currentSkeleton$','1bbxwuw','MessageType','application/json','_id','syncEditingCollabCursor','clipPath','INTERNAL_ERROR','UniverCollaborationClientPlugin','YUUMI_SUBSCRIPTION_NOT_FOUND','onPointerEnter$','_setupSubUnitSync','_httpService','NO_OTHER_CLIENTS_EDITING','_scene','_uiPartsService','debounce','LICENSE_IMPORT_SIZE_EXCEEDED','_toggleOffline','makeDirty','CHANGESET_REVISION_CONFILICT','loadUnit','WebURLService','_transformPreviousActiveRange','EMAIL_VERIFY_CODE_MISMATCH','_getSaveTimeout','session.will-retry','SNAPSHOT_HAS_BEEN_REMOVED','unshift','Shape','_collaborationController','send','_hideTimer','DeleteRangeMoveLeftCommandId','...','_drawAnchor','453323VuMYzZ','getParam','collabCursorState$','LocaleService','useCallback','Tooltip','replaceDocRanges','_anchor','_removeCollabCursors','_session','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UNDEFINED','collaboration.closeRoom','evenodd','_drawTextRange','_transformUndoRedoStack','from','_urlService','RxDisposable','IBeforeCloseService','sessionTicket','CONNECTOR_DATA_TOO_LARGE','AWAITING_WITH_PENDING','WebSocketService','IImageIoService','push','_roomMembers$','6QCmfVe','hovered','set','symbol','subUnitId','row','origin','_heartbeatTimer','_removeClearOtherTimer','RichTextEditingMutation','_registerRenderDependencies','mergeOverrideWithDependencies','getActiveSheet','data','_messageService','_initDependencies','merge','body','filter','apply','setShapeProps','ISocketService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','OffLineIcon','_draw','CollaborationEvent','Disposable','roomMembers','getUnitId','focused$','_logService','handleInsertRow','_unitOnClients','then','_cursor','_textBubble','_configService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getCoordByCell','APPLY_REJECT','status$','touchDependencies','result','_status$','takeUntil','current','6128865jMjSUr','Warning','collaboration-client.offline-data-not-saved','CollaborationStatus','CollaborationController','div','useRef','DocIMEInputManagerService','currentColor','useObservable','DocStateChangeManagerService','IRenderManagerService','EffectRefRangId','override','collab-text-anchor-','2071944kndbQK','collaboration-client-ui.config','mask','DEFAULT_WS_SESSION_TICKET_URL','_transformService','transformSelections','ISnapshotServerService','setAlpha','serializeRangeWithSheet','collabStatus.offline','_instanceService','path','getSheetObject','_onCursorDelete','BehaviorSubject','createSocket','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','YUUMI_ALL_TABLES_IS_INVALID','HTTPService','entries','saveOfflineData','_ensureSubject','ranges','activeSheet$','href','APPLY_PERMISSION_DENIED','undoState','_config','asObservable','_shapes','white','collabStatus.conflict','_collabCursorState$','CollaborationSessionService','getValue','Injector','getVpScrollXYInfoByPosToVp','collabStatus.fetchMiss','useDependency','getSheetId','cursorInfo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','memberID','ENSURE_SNAPSHOT_EXECUTION','getCollabEntity$','Error','name','SYNCED','addObjects','assign','_doCreateSocket','newValue','labelPosition','roomMembers$','_cursorInfo$','_docTransformStateCacheService','http://www.w3.org/2000/svg','_send','_onRefRangeChange','pushState','permission.title','sessionStatus$','ThemeService','history','_unitStatus','USER_NOT_INVITED_CODE','_imageIoService','_beforeCloseService','hasOwnProperty','_initResize','searchParams','ILogService','_entityInit$','transformIMECache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','min','SetWorksheetActivateCommand','getCurrentSelections','unload','some','Plugin','icon','_scheduleHeartbeat','32SEcouU','getOwnPropertySymbols','Subject','url(#$1','resize','getOwnPropertyDescriptor','getOffsetConfig','_handleJoinEvent','collaboration.single-unit.warning','RemoveColCommandId','mutations','CollaborationSocketService','deepClone','_hovered','_refRangeService','handleIRemoveRow','getTypeOfUnitDisposed$','_handleLeaveEvent','assignAColorForMemberID','getSheetBySheetId','CollaborationUIEventService','OFFLINE','show','wsSessionTicketUrl','generateRandomId','LICENSE_EXPORT_SIZE_EXCEEDED','fill','runRefRangeMutations','lineTo','eventID','_assignedColors','SUBMIT_CHANGESET_TIMEOUT','_initEvent','url(#off-line-icon_clip0_910_343)','IMessageService','mapTo','WECHAT_HAS_BEEN_BOUND','_disabled','toRgbString','0\x200\x2017\x2016','none','PY_RUNTIME_SCRIPT_ERROR','getCurrentRevOfUnit','UniverCollaborationClientUIPlugin','_online','_context','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MOBILE_VERIFY_CODE_MISMATCH','InsertRowCommandId','getRangePointData','defineProperty','m1Prime','setItem','Workbook','EMAIL_HAS_BEEN_BOUND','debug','_handleHover','DeleteRangeMoveUpCommandId','getLocalCacheKey','pluginName','_univerInstanceService','_docStateChangeManagerService','defIds','getMemberID','SetDocZoomRatioOperation','COLORS','_range','ILocalCacheService','_handleEvent','getCollabCursors$','editingUnit','_toggleOnline','_updateLocalCursor','imageSourceType','url(#on-line-icon_clip0_910_349)','_getSessionTicket','737705tgHRpK','params','_updateURLWithCurrentState','onPointerLeave$','onLocalMutation','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onMouseMove','key','SetSelectionsOperation','off-line-icon_clip0_910_343','_initCommandExecutedListener','ONLINE','PERMISSION_DENIED','SOCKET_FAILED','forwardRef','handleIRemoveCol','className','1200948sMsIvv','transformMutationsWithChangeset','_localCacheService','_notificationService','univer-flex\x20univer-items-center','_scheduleClearOtherTimer','executeCommand','CommandType','_init','clearTimeout','setInterval','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_initStatusComponent','_localeService','_scheduleSaving','disableLocalCache','tag','getColorFromTheme','getActiveRange','doc.mutation.rich-text-editing','createInstance','_cursorShapes','AWAITING','urlChange$'];_0x3f55=function(){return _0x4b51a5;};return _0x3f55();}var We=Object[_0x162072(0x27d)],Ve=(_0x17f3a0,_0x29d50d,_0x1b9538)=>_0x29d50d in _0x17f3a0?We(_0x17f3a0,_0x29d50d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b9538}):_0x17f3a0[_0x29d50d]=_0x1b9538,h=(_0x258c94,_0x55fb2e,_0x110bf3)=>Ve(_0x258c94,typeof _0x55fb2e!=_0x162072(0x1be)?_0x55fb2e+'':_0x55fb2e,_0x110bf3);Object['defineProperty'](exports,Symbol[_0x162072(0xf4)],{'value':_0x162072(0x130)});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 _0x59a84c=_0x162072;return b=Object[_0x59a84c(0x229)]||function(_0xa71d6b){const _0xde4e26=_0x59a84c;for(var _0x865816,_0x49c2c5=0x1,_0x584560=arguments['length'];_0x49c2c5<_0x584560;_0x49c2c5++){_0x865816=arguments[_0x49c2c5];for(var _0x3cff01 in _0x865816)Object[_0xde4e26(0x2c9)][_0xde4e26(0x23c)][_0xde4e26(0x32d)](_0x865816,_0x3cff01)&&(_0xa71d6b[_0x3cff01]=_0x865816[_0x3cff01]);}return _0xa71d6b;},b[_0x59a84c(0x1ce)](this,arguments);},Ke=function(_0x191a80,_0x22058a){const _0x30a9e1=_0x162072;var _0x170065={};for(var _0x2412ee in _0x191a80)Object[_0x30a9e1(0x2c9)][_0x30a9e1(0x23c)]['call'](_0x191a80,_0x2412ee)&&_0x22058a[_0x30a9e1(0x122)](_0x2412ee)<0x0&&(_0x170065[_0x2412ee]=_0x191a80[_0x2412ee]);if(_0x191a80!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x17e851=0x0,_0x2412ee=Object[_0x30a9e1(0x24c)](_0x191a80);_0x17e851<_0x2412ee['length'];_0x17e851++)_0x22058a['indexOf'](_0x2412ee[_0x17e851])<0x0&&Object['prototype'][_0x30a9e1(0x146)][_0x30a9e1(0x32d)](_0x191a80,_0x2412ee[_0x17e851])&&(_0x170065[_0x2412ee[_0x17e851]]=_0x191a80[_0x2412ee[_0x17e851]]);}return _0x170065;},ge=M[_0x162072(0x2a5)](function(_0x337046,_0x48d789){const _0x280d8e=_0x162072;var _0x524520=_0x337046[_0x280d8e(0x249)],_0x2b4f6d=_0x337046['id'],_0x170990=_0x337046[_0x280d8e(0x2a7)],_0x44f13a=_0x337046[_0x280d8e(0x318)],_0xfaf74=Ke(_0x337046,[_0x280d8e(0x249),'id',_0x280d8e(0x2a7),_0x280d8e(0x318)]),_0x430984=_0x280d8e(0x2e2)[_0x280d8e(0x100)](_0x2b4f6d,'\x20')[_0x280d8e(0x100)](_0x170990||'')['trim'](),_0x4c9568=M[_0x280d8e(0x1ef)]('_'['concat'](Je()));return Pe(_0x524520,''[_0x280d8e(0x100)](_0x2b4f6d),{'defIds':_0x524520[_0x280d8e(0x289)],'idSuffix':_0x4c9568[_0x280d8e(0x1e8)]},b({'ref':_0x48d789,'className':_0x430984},_0xfaf74),_0x44f13a);});function Pe(_0x1bb89a,_0x13d2d0,_0x42bd8b,_0x900bb,_0x1cd7b3){const _0x50171d=_0x162072;return M[_0x50171d(0xee)](_0x1bb89a[_0x50171d(0x2b8)],b(b({'key':_0x13d2d0},qe(_0x1bb89a,_0x42bd8b,_0x1cd7b3)),_0x900bb),(ze(_0x1bb89a,_0x42bd8b)[_0x50171d(0x2ed)]||[])[_0x50171d(0x305)](function(_0x4462da,_0x30ec9c){const _0x59b8dd=_0x50171d;return Pe(_0x4462da,''[_0x59b8dd(0x100)](_0x13d2d0,'-')[_0x59b8dd(0x100)](_0x1bb89a['tag'],'-')[_0x59b8dd(0x100)](_0x30ec9c),_0x42bd8b,void 0x0,_0x1cd7b3);}));}function qe(_0x459bb0,_0x277b87,_0x4ef0ae){const _0x58071e=_0x162072;var _0x4b2813=b({},_0x459bb0['attrs']);_0x4ef0ae!=null&&_0x4ef0ae[_0x58071e(0x110)]&&_0x4b2813[_0x58071e(0x265)]==='colorChannel1'&&(_0x4b2813['fill']=_0x4ef0ae[_0x58071e(0x110)]),_0x459bb0[_0x58071e(0x2b8)]===_0x58071e(0x1fa)&&_0x4b2813['id']&&(_0x4b2813['id']=_0x4b2813['id']+_0x277b87[_0x58071e(0x118)]),Object[_0x58071e(0x20b)](_0x4b2813)[_0x58071e(0x145)](function(_0x517fd1){const _0xf17462=_0x58071e;var _0x2b5f60=_0x517fd1[0x0],_0x20bf79=_0x517fd1[0x1];_0x2b5f60==='mask'&&typeof _0x20bf79==_0xf17462(0x101)&&(_0x4b2813[_0x2b5f60]=_0x20bf79[_0xf17462(0x311)](/url\(#(.*)\)/,'url(#$1'[_0xf17462(0x100)](_0x277b87[_0xf17462(0x118)],')')));});var _0x4996a1=_0x277b87[_0x58071e(0x289)];return!_0x4996a1||_0x4996a1[_0x58071e(0x2fe)]===0x0||(_0x459bb0[_0x58071e(0x2b8)]===_0x58071e(0x143)&&_0x4b2813[_0x58071e(0x167)]&&(_0x4b2813[_0x58071e(0x167)]=_0x4b2813[_0x58071e(0x167)]+_0x277b87[_0x58071e(0x118)]),Object[_0x58071e(0x20b)](_0x4b2813)[_0x58071e(0x145)](function(_0x455bcc){const _0x2a9975=_0x58071e;var _0x291065=_0x455bcc[0x0],_0x482254=_0x455bcc[0x1];typeof _0x482254==_0x2a9975(0x101)&&(_0x4b2813[_0x291065]=_0x482254[_0x2a9975(0x311)](/url\(#(.*)\)/,_0x2a9975(0x24e)[_0x2a9975(0x100)](_0x277b87[_0x2a9975(0x118)],')')));})),_0x4b2813;}function ze(_0x3752ef,_0x1da433){const _0x4213ea=_0x162072;var _0x432522,_0x1066f7=_0x1da433[_0x4213ea(0x289)];return!_0x1066f7||_0x1066f7['length']===0x0?_0x3752ef:_0x3752ef[_0x4213ea(0x2b8)]===_0x4213ea(0x169)&&(!((_0x432522=_0x3752ef[_0x4213ea(0x2ed)])===null||_0x432522===void 0x0)&&_0x432522[_0x4213ea(0x2fe)])?b(b({},_0x3752ef),{'children':_0x3752ef['children'][_0x4213ea(0x305)](function(_0x3eb1be){const _0x5812ce=_0x4213ea;return typeof _0x3eb1be[_0x5812ce(0xd9)]['id']==_0x5812ce(0x101)&&_0x1066f7&&_0x1066f7[_0x5812ce(0x34a)](_0x3eb1be[_0x5812ce(0xd9)]['id'])?b(b({},_0x3eb1be),{'attrs':b(b({},_0x3eb1be[_0x5812ce(0xd9)]),{'id':_0x3eb1be['attrs']['id']+_0x1da433[_0x5812ce(0x118)]})}):_0x3eb1be;})}):_0x3752ef;}function Je(){const _0x49c95d=_0x162072;return Math[_0x49c95d(0xdd)]()[_0x49c95d(0x124)](0x24)['substring'](0x2,0x8);}ge['displayName']=_0x162072(0x106);var Ze={'tag':'svg','attrs':{'xmlns':_0x162072(0x230),'fill':_0x162072(0x273),'viewBox':_0x162072(0x2ec),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x162072(0x26c)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x162072(0x208),'strokeLinecap':_0x162072(0x32c),'strokeLinejoin':_0x162072(0x32c),'strokeWidth':1.2}}]},{'tag':_0x162072(0x169),'attrs':{},'children':[{'tag':_0x162072(0x182),'attrs':{'id':_0x162072(0x2a0)},'children':[{'tag':'path','attrs':{'fill':_0x162072(0x216),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x162072(0x2a0)]},we=M[_0x162072(0x2a5)](function(_0x460609,_0x2b5cbc){const _0x2cdeb8=_0x162072;return M[_0x2cdeb8(0xee)](ge,Object[_0x2cdeb8(0x229)]({},_0x460609,{'id':_0x2cdeb8(0x155),'ref':_0x2b5cbc,'icon':Ze}));});we[_0x162072(0xdc)]=_0x162072(0x1d2);var Qe={'tag':_0x162072(0x14a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x162072(0x273),'viewBox':_0x162072(0x272),'width':_0x162072(0x350),'height':_0x162072(0x350)},'children':[{'tag':'g','attrs':{'clipPath':_0x162072(0x295)},'children':[{'tag':'path','attrs':{'stroke':_0x162072(0x1f1),'d':_0x162072(0x310),'strokeLinecap':'round','strokeLinejoin':_0x162072(0x32c),'strokeWidth':1.2}}]},{'tag':_0x162072(0x169),'attrs':{},'children':[{'tag':_0x162072(0x182),'attrs':{'id':_0x162072(0xdb)},'children':[{'tag':_0x162072(0x203),'attrs':{'fill':_0x162072(0x216),'d':_0x162072(0xda),'transform':_0x162072(0x131)}}]}]}],'defIds':[_0x162072(0xdb)]},Ae=M[_0x162072(0x2a5)](function(_0xe385ba,_0x379b3d){const _0x281ce6=_0x162072;return M[_0x281ce6(0xee)](ge,Object[_0x281ce6(0x229)]({},_0xe385ba,{'id':_0x281ce6(0xed),'ref':_0x379b3d,'icon':Qe}));});Ae['displayName']=_0x162072(0x329);function et(_0x5af1ac){const _0x609428=_0x162072;switch(_0x5af1ac){case u[_0x609428(0x1ec)][_0x609428(0x260)]:return _0x609428(0x201);case u['CollaborationStatus'][_0x609428(0x108)]:return _0x609428(0x217);case u[_0x609428(0x1ec)]['FETCH_MISS']:return _0x609428(0x21d);case u[_0x609428(0x1ec)][_0x609428(0x2c4)]:return _0x609428(0x322);case u[_0x609428(0x1ec)][_0x609428(0x2be)]:case u[_0x609428(0x1ec)][_0x609428(0x1b6)]:return _0x609428(0x136);case u[_0x609428(0x1ec)][_0x609428(0x227)]:case u[_0x609428(0x1ec)][_0x609428(0x157)]:return'collabStatus.synced';}}function tt(_0x17ee55){const _0x5b8d1c=_0x162072,{status$:_0x4ffd51}=_0x17ee55,_0x15a203=O[_0x5b8d1c(0x1f2)](_0x4ffd51,u['CollaborationStatus'][_0x5b8d1c(0x2c4)]),_0x1ddce9=O['useDependency'](a[_0x5b8d1c(0x1a3)]),_0x3ac5b9=O[_0x5b8d1c(0x21e)](u[_0x5b8d1c(0x219)]),_0x2c74f0=_0x15a203!==u[_0x5b8d1c(0x1ec)][_0x5b8d1c(0x260)],_0x5a86bb=_0x1ddce9['t'](et(_0x15a203)),_0x3cc40c=_0x2c74f0?P['jsx'](Ae,{}):P[_0x5b8d1c(0x11b)](we,{}),_0x59f696=M[_0x5b8d1c(0x1a4)](()=>{const _0xee2712=_0x5b8d1c;_0x2c74f0||_0x3ac5b9[_0xee2712(0x32b)]();},[_0x2c74f0,_0x3ac5b9]);function _0xd76652(){const _0x5c423a=_0x5b8d1c;return P[_0x5c423a(0x31d)](_0x5c423a(0x1ee),{'className':_0x5c423a(0x2ac),'onClick':_0x59f696,'children':[P['jsx'](_0x5c423a(0x1ee),{'className':D['clsx'](_0x5c423a(0x119),{'univer-text-green-500':_0x2c74f0,'univer-text-red-500':!_0x2c74f0}),'children':_0x3cc40c}),P[_0x5c423a(0x11b)]('div',{'className':_0x5c423a(0x107),'children':_0x5a86bb})]});}return _0x2c74f0?_0xd76652():P[_0x5b8d1c(0x11b)](D[_0x5b8d1c(0x1a5)],{'title':_0x1ddce9['t'](_0x5b8d1c(0xde)),'children':_0xd76652()});}var st=Object['getOwnPropertyDescriptor'],it=(_0x549386,_0x53e418,_0x28fdd9,_0x23e453)=>{for(var _0x471edf=_0x23e453>0x1?void 0x0:_0x23e453?st(_0x53e418,_0x28fdd9):_0x53e418,_0x5e1337=_0x549386['length']-0x1,_0x2f1bfa;_0x5e1337>=0x0;_0x5e1337--)(_0x2f1bfa=_0x549386[_0x5e1337])&&(_0x471edf=_0x2f1bfa(_0x471edf)||_0x471edf);return _0x471edf;},V=(_0x358c50,_0x3e1556)=>(_0x482e70,_0x14c83b)=>_0x3e1556(_0x482e70,_0x14c83b,_0x358c50);exports[_0x162072(0x2d6)]=class extends a[_0x162072(0x1d5)]{constructor(_0x432787,_0x4550e9,_0x33ab06,_0x3ca975){const _0x3cf266=_0x162072;super(),h(this,_0x3cf266(0x1e6),new d['BehaviorSubject'](u[_0x3cf266(0x1ec)][_0x3cf266(0x2c4)])),(this['_univerInstanceService']=_0x432787,this[_0x3cf266(0x2e7)]=_0x4550e9,this[_0x3cf266(0x19a)]=_0x33ab06,this[_0x3cf266(0x18b)]=_0x3ca975,this[_0x3cf266(0x2b4)](),this[_0x3cf266(0xfc)]());}[_0x162072(0xfc)](){const _0x5d046e=_0x162072;this['disposeWithMe'](this[_0x5d046e(0x287)][_0x5d046e(0x1d8)][_0x5d046e(0x2ef)](d[_0x5d046e(0x323)](()=>{const _0x13a2a7=_0x5d046e,_0x2875ee=this[_0x13a2a7(0x287)][_0x13a2a7(0x112)]();return _0x2875ee?this['_collaborationController'][_0x13a2a7(0x224)](_0x2875ee['getUnitId']()):d['of'](null);}),d['switchMap'](_0x324773=>_0x324773?_0x324773[_0x5d046e(0x1e3)]:d['of'](u[_0x5d046e(0x1ec)][_0x5d046e(0x2c4)])))['subscribe'](_0x40d4aa=>{const _0x94df74=_0x5d046e;this[_0x94df74(0x1e6)][_0x94df74(0xeb)](_0x40d4aa);}));}['_initStatusComponent'](){const _0x12f84a=_0x162072;this[_0x12f84a(0x2d7)](this['_uiPartsService']['registerComponent'](O[_0x12f84a(0x168)][_0x12f84a(0x102)],()=>O[_0x12f84a(0x125)](nt({'status$':this[_0x12f84a(0x1e6)]['asObservable']()}),this['_injector'])));}},exports[_0x162072(0x2d6)]=it([V(0x0,a[_0x162072(0x12e)]),V(0x1,a[_0x162072(0xe7)](a[_0x162072(0x21b)])),V(0x2,a[_0x162072(0xe7)](u[_0x162072(0x1ed)])),V(0x3,O[_0x162072(0x339)])],exports[_0x162072(0x2d6)]);function nt(_0x5bef3b){const {status$:_0x50338c}=_0x5bef3b;return function(){const _0x2d5a52=_0x190c;return P[_0x2d5a52(0x11b)](tt,{'status$':_0x50338c});};}const me=a[_0x162072(0xd7)](_0x162072(0x330));var rt=Object['getOwnPropertyDescriptor'],ot=(_0x414116,_0xbef49c,_0x1fdf87,_0x41eca4)=>{for(var _0x40789d=_0x41eca4>0x1?void 0x0:_0x41eca4?rt(_0xbef49c,_0x1fdf87):_0xbef49c,_0x328f6d=_0x414116['length']-0x1,_0x519f7d;_0x328f6d>=0x0;_0x328f6d--)(_0x519f7d=_0x414116[_0x328f6d])&&(_0x40789d=_0x519f7d(_0x40789d)||_0x40789d);return _0x40789d;},k=(_0x5ca996,_0x5787e2)=>(_0x3f3988,_0x597ea1)=>_0x5787e2(_0x3f3988,_0x597ea1,_0x5ca996);exports[_0x162072(0x174)]=class extends a['RxDisposable']{constructor(_0x555066,_0x1eb75b,_0x2a9b40,_0x24f194,_0x3906e9){const _0x53cf2b=_0x162072;super(),this['_urlService']=_0x555066,this[_0x53cf2b(0x1d9)]=_0x1eb75b,this['_commandService']=_0x2a9b40,this[_0x53cf2b(0x128)]=_0x24f194,_0x3906e9?_0x3906e9==null||_0x3906e9[_0x53cf2b(0x2e8)]()[_0x53cf2b(0x1dc)](()=>this['_init']()):(this[_0x53cf2b(0x1d9)][_0x53cf2b(0x282)](_0x53cf2b(0x16d),_0x53cf2b(0x279)),this[_0x53cf2b(0x2b0)]());}async[_0x162072(0x2b0)](){const _0xfaa887=_0x162072,_0x5e0a73=this[_0xfaa887(0x1b1)]['getParam']('unit'),_0x7c3119=this[_0xfaa887(0x1b1)][_0xfaa887(0x1a1)](_0xfaa887(0x2fb)),_0x3e9355=this['_urlService'][_0xfaa887(0x1a1)](_0xfaa887(0x302));if(!_0x5e0a73||!_0x7c3119){this['_logService'][_0xfaa887(0x282)](_0xfaa887(0x16d),_0xfaa887(0x1e0));return;}const _0x2f9a41=await this[_0xfaa887(0x128)][_0xfaa887(0x191)](_0x5e0a73,Number(_0x7c3119),_0x3e9355);_0x2f9a41&&_0x2f9a41 instanceof a[_0xfaa887(0x280)]&&this[_0xfaa887(0x187)](_0x2f9a41);}async[_0x162072(0x187)](_0x5a7290){const _0xb189bb=_0x162072;await this['_updateSubUnitFromURLParams'](_0x5a7290),_0x5a7290[_0xb189bb(0x20f)][_0xb189bb(0x2ef)](d[_0xb189bb(0x1e7)](this[_0xb189bb(0x306)]))[_0xb189bb(0x334)](_0x7937f6=>{const _0x4e11fa=_0xb189bb;_0x7937f6&&this[_0x4e11fa(0x299)](_0x7937f6);}),this[_0xb189bb(0x1b1)][_0xb189bb(0x2bf)][_0xb189bb(0x2ef)](d['takeUntil'](this[_0xb189bb(0x306)]))[_0xb189bb(0x334)](()=>this['_updateSubUnitFromURLParams'](_0x5a7290));}[_0x162072(0x299)](_0x544e84,_0x154217=!0x1){const _0x36c386=_0x162072,_0xb02256=this['_urlService']['getParam'](_0x36c386(0x302));_0x544e84['getSheetId']()!==_0xb02256&&this[_0x36c386(0x1b1)][_0x36c386(0xf3)](_0x36c386(0x302),_0x544e84[_0x36c386(0x21f)](),_0x154217);}async[_0x162072(0x30c)](_0x3aa10a){const _0x5c4314=_0x162072;var _0x40191d;const _0x35cb19=this['_urlService'][_0x5c4314(0x1a1)](_0x5c4314(0x302));if(!_0x35cb19||!_0x3aa10a[_0x5c4314(0x25e)](_0x35cb19)){const _0x4fafdb=_0x3aa10a['getUnhiddenWorksheets']()[0x0],_0x2d83d0=_0x3aa10a[_0x5c4314(0x25e)](_0x4fafdb);if(!_0x2d83d0)return;this[_0x5c4314(0x299)](_0x2d83d0,!0x0),await this[_0x5c4314(0x34e)][_0x5c4314(0x2ae)](g[_0x5c4314(0x244)]['id'],{'unitId':_0x3aa10a[_0x5c4314(0x1d7)](),'subUnitId':_0x4fafdb});return;}((_0x40191d=_0x3aa10a[_0x5c4314(0x1c7)]())==null?void 0x0:_0x40191d[_0x5c4314(0x21f)]())!==_0x35cb19&&await this['_commandService'][_0x5c4314(0x2ae)](g[_0x5c4314(0x244)]['id'],{'unitId':_0x3aa10a[_0x5c4314(0x1d7)](),'subUnitId':_0x35cb19});}},exports[_0x162072(0x174)]=ot([k(0x0,me),k(0x1,a[_0x162072(0x23f)]),k(0x2,a['ICommandService']),k(0x3,a[_0x162072(0xe7)](u[_0x162072(0x15b)])),k(0x4,a[_0x162072(0x2cd)](Xe[_0x162072(0x134)]))],exports[_0x162072(0x174)]);var at=Object['getOwnPropertyDescriptor'],ct=(_0xc2d3f7,_0x103e95,_0x306b64,_0x4602ba)=>{const _0x5b4f67=_0x162072;for(var _0x484941=_0x4602ba>0x1?void 0x0:_0x4602ba?at(_0x103e95,_0x306b64):_0x103e95,_0x3e3ae9=_0xc2d3f7[_0x5b4f67(0x2fe)]-0x1,_0x3263dc;_0x3e3ae9>=0x0;_0x3e3ae9--)(_0x3263dc=_0xc2d3f7[_0x3e3ae9])&&(_0x484941=_0x3263dc(_0x484941)||_0x484941);return _0x484941;},be=(_0x479379,_0xab777f)=>(_0x1783c4,_0x23cf6e)=>_0xab777f(_0x1783c4,_0x23cf6e,_0x479379);let ue=class extends a[_0x162072(0x1b2)]{constructor(_0xff58fd,_0x134922){const _0x445b74=_0x162072;super(),this[_0x445b74(0x12d)]=_0xff58fd,this['_imageIoService']=_0x134922,this[_0x445b74(0x2b0)]();}['_init'](){const _0xb83e87=_0x162072,_0x34d484=this;this[_0xb83e87(0x2d7)](this[_0xb83e87(0x12d)]['addClipboardHook']({'onBeforePasteImage':async _0x3f8b53=>{const _0xc40da7=_0xb83e87,_0x25037f=await _0x34d484[_0xc40da7(0x23a)]['saveImage'](_0x3f8b53);return _0x25037f?{'source':_0x25037f['source'],'imageSourceType':_0x25037f[_0xc40da7(0x294)]}:null;}}));}};ue=ct([be(0x0,E[_0x162072(0x32a)]),be(0x1,Ge[_0x162072(0x1b8)])],ue);const Oe=['purple.300','jiqing.500','green.600',_0x162072(0x150),_0x162072(0x141),'yellow.400'];class Ce extends a[_0x162072(0x1d5)]{constructor(){const _0x3d31c9=_0x162072;super(...arguments),h(this,_0x3d31c9(0x269),new Map()),h(this,_0x3d31c9(0x14e),0x0);}[_0x162072(0x25d)](_0x22d992){const _0x2e4170=_0x162072;if(this[_0x2e4170(0x269)]['has'](_0x22d992))return this[_0x2e4170(0x269)][_0x2e4170(0x347)](_0x22d992);const _0x342138=Oe[this[_0x2e4170(0x14e)]];return this['_colorIndex']=(this[_0x2e4170(0x14e)]+0x1)%Oe[_0x2e4170(0x2fe)],this['_assignedColors'][_0x2e4170(0x1bd)](_0x22d992,_0x342138),_0x342138;}}function ye(_0x6d806){const _0x3919a4=_0x162072;let _0x442973='';for(const _0x41de02 of _0x6d806){const {startOffset:_0x34cafb,endOffset:_0x535ae1,isActive:_0x116c31,rangeType:_0x68ca91,segmentId:_0xce74b6,segmentPage:_0x199304}=_0x41de02;_0x442973[_0x3919a4(0x2fe)]&&(_0x442973+=','),_0x442973+=_0x34cafb+':'+_0x535ae1+':'+(_0x116c31?'1':'0')+':'+_0x68ca91+':'+_0xce74b6+':'+_0x199304;}return _0x442973;}function lt(_0x2b9b55){const _0x114485=_0x162072,_0x597bd3=_0x2b9b55[_0x114485(0x11a)](','),_0x3f081a=[];for(const _0x4cc51d of _0x597bd3){const [_0x2b3fc1,_0x5178a7,_0x558300,_0x1d6a09,_0x5b31c0,_0x1c9381]=_0x4cc51d[_0x114485(0x11a)](':');_0x3f081a['push']({'startOffset':Number(_0x2b3fc1),'endOffset':Number(_0x5178a7),'collapsed':_0x2b3fc1===_0x5178a7,'isActive':_0x558300==='1','rangeType':_0x1d6a09===a[_0x114485(0x16b)][_0x114485(0x14c)]?a[_0x114485(0x16b)][_0x114485(0x14c)]:a[_0x114485(0x16b)][_0x114485(0x308)],'segmentId':typeof _0x5b31c0==_0x114485(0x101)?String(_0x5b31c0):'','segmentPage':Number(_0x1c9381!=null?_0x1c9381:-0x1)});}return _0x3f081a[_0x114485(0x247)](_0x315c9d=>_0x315c9d['isActive'])||(_0x3f081a[0x0][_0x114485(0x2c6)]=!0x0),_0x3f081a;}class pe extends a[_0x162072(0x1b2)]{constructor(){const _0xd81d12=_0x162072;super(...arguments),h(this,'_collabCursorState$',new d['BehaviorSubject'](null)),h(this,_0xd81d12(0x1a2),this['_collabCursorState$']['asObservable']());}[_0x162072(0x181)](_0x5ecdd8){const _0x422218=_0x162072,{unitID:_0x3fc724,memberID:_0x17bca8,textRanges:_0xef30b2}=_0x5ecdd8,_0x109374=ye(_0xef30b2);if(_0x109374==='')return;const _0x57df06={'unitID':_0x3fc724,'memberID':_0x17bca8,'selection':_0x109374};this[_0x422218(0x218)][_0x422218(0xeb)](_0x57df06);}}var _t=Object['getOwnPropertyDescriptor'],ht=(_0x511b5f,_0x5b70f8,_0x400b02,_0x39ebe7)=>{const _0x4cf162=_0x162072;for(var _0x2cd175=_0x39ebe7>0x1?void 0x0:_0x39ebe7?_t(_0x5b70f8,_0x400b02):_0x5b70f8,_0x5cb669=_0x511b5f[_0x4cf162(0x2fe)]-0x1,_0x807505;_0x5cb669>=0x0;_0x5cb669--)(_0x807505=_0x511b5f[_0x5cb669])&&(_0x2cd175=_0x807505(_0x2cd175)||_0x2cd175);return _0x2cd175;},L=(_0x3c36f2,_0x5e6887)=>(_0x24f8fe,_0x1a064a)=>_0x5e6887(_0x24f8fe,_0x1a064a,_0x3c36f2);const ut=0x12c,dt=0x64;let de=class extends a[_0x162072(0x1b2)]{constructor(_0x2c1a85,_0x3be141,_0x4d0c6f,_0x369c02,_0x231909,_0x4aa006,_0x9d8c69,_0x14d532,_0x444f36){const _0x328fe7=_0x162072;super(),h(this,_0x328fe7(0x277),!0x1),h(this,_0x328fe7(0x2b0),!0x1),h(this,'_cursorInfo$',new d['BehaviorSubject'](new Map())),h(this,_0x328fe7(0xe1),this['_cursorInfo$']['asObservable']()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,_0x328fe7(0x22d),this[_0x328fe7(0x1ba)][_0x328fe7(0x2ef)](d[_0x328fe7(0x340)](ut))),h(this,_0x328fe7(0x293),a[_0x328fe7(0x18c)](_0x34ff99=>{const _0x4f9f41=_0x328fe7,_0x1c5122={'eventID':m[_0x4f9f41(0x1d4)][_0x4f9f41(0xe5)],'data':{'unitID':this[_0x4f9f41(0x2f5)],'memberID':this['_session'][_0x4f9f41(0x28a)](),'selection':ye(_0x34ff99)}};this[_0x4f9f41(0x1a9)][_0x4f9f41(0x19b)](_0x1c5122,this[_0x4f9f41(0x2f5)]);},dt)),(this['unitID']=_0x2c1a85,this[_0x328fe7(0x1a9)]=_0x3be141,this['_injector']=_0x4d0c6f,this['_colorAssignService']=_0x369c02,this[_0x328fe7(0x109)]=_0x231909,this[_0x328fe7(0x2dc)]=_0x4aa006,this[_0x328fe7(0x1fc)]=_0x9d8c69,this[_0x328fe7(0x287)]=_0x14d532,this[_0x328fe7(0x34e)]=_0x444f36);}get[_0x162072(0x220)](){const _0x36d293=_0x162072;return this[_0x36d293(0x22e)][_0x36d293(0x21a)]();}get['roomMembers'](){const _0x5a3f30=_0x162072;return this[_0x5a3f30(0x1ba)][_0x5a3f30(0x21a)]();}['dispose'](){const _0x34705a=_0x162072;super[_0x34705a(0x135)](),this[_0x34705a(0x22e)][_0x34705a(0xeb)](new Map()),this['_cursorInfo$'][_0x34705a(0x328)](),this[_0x34705a(0x1ba)][_0x34705a(0xeb)]([]),this[_0x34705a(0x1ba)][_0x34705a(0x328)]();}[_0x162072(0xf9)](){const _0x1b22e7=_0x162072;this[_0x1b22e7(0x2b0)]||(this[_0x1b22e7(0x2b0)]=!0x0,this[_0x1b22e7(0x1a9)][_0x1b22e7(0x235)][_0x1b22e7(0x2ef)](d[_0x1b22e7(0x1e7)](this[_0x1b22e7(0x306)]))['subscribe'](_0x47cc3a=>{const _0x52ffe0=_0x1b22e7;_0x47cc3a===u['SessionStatus']['ONLINE']?this[_0x52ffe0(0x292)]():this[_0x52ffe0(0x18e)]();}),this[_0x1b22e7(0x1a9)][_0x1b22e7(0xd4)]['pipe'](d[_0x1b22e7(0x1e7)](this[_0x1b22e7(0x306)]))[_0x1b22e7(0x334)](_0x117608=>{const _0x230bd4=_0x1b22e7,_0x4ffe76=_0x117608[_0x230bd4(0x268)];_0x4ffe76===m[_0x230bd4(0x1d4)][_0x230bd4(0xe5)]&&this[_0x230bd4(0x142)](_0x117608),_0x4ffe76===m['CollaborationEvent'][_0x230bd4(0x2e9)]&&this[_0x230bd4(0x205)](_0x117608);}),this[_0x1b22e7(0x2d7)](this[_0x1b22e7(0x34e)]['onCommandExecuted'](_0x31bd71=>{const _0x547c47=_0x1b22e7,_0x426fdb=_0x31bd71[_0x547c47(0x298)];_0x426fdb!=null&&this[_0x547c47(0x277)]&&_0x31bd71['id']===Y['SetTextSelectionsOperation']['id']&&_0x426fdb[_0x547c47(0x11d)]===this[_0x547c47(0x2f5)]&&_0x426fdb[_0x547c47(0x129)]===!0x1&&_0x426fdb[_0x547c47(0x20e)][_0x547c47(0x2fe)]>0x0&&this['_updateLocalCursor'](_0x426fdb['ranges']);})),this[_0x1b22e7(0x2dc)]['collabCursorState$']['pipe'](d[_0x1b22e7(0x1e7)](this[_0x1b22e7(0x306)]))[_0x1b22e7(0x334)](_0x3e5def=>{const _0x5d92cf=_0x1b22e7;if((_0x3e5def==null?void 0x0:_0x3e5def['unitID'])!==this[_0x5d92cf(0x2f5)])return;const _0x4c8a97={'eventID':m[_0x5d92cf(0x1d4)]['UPDATE_CURSOR'],'data':_0x3e5def};this['_onCursorUpdate'](_0x4c8a97);}),this[_0x1b22e7(0x2d7)](this['_commandService'][_0x1b22e7(0xf8)](_0x27ef46=>{const _0x907ef5=_0x1b22e7;if(_0x27ef46[_0x907ef5(0x298)]==null)return;const _0x51c824=_0x27ef46[_0x907ef5(0x298)];if(_0x27ef46['id']!==Y[_0x907ef5(0x1c4)]['id']||_0x51c824[_0x907ef5(0x11d)]!==this[_0x907ef5(0x2f5)])return;const _0x5a6ea0={'id':_0x907ef5(0x2bb),'params':_0x51c824},_0xec092c=this[_0x907ef5(0x220)];for(const [_0x3c40c3,_0x51fb8c]of _0xec092c){const _0x1f2025={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x907ef5(0x2f5)],'actions':null,'textRanges':_0x51fb8c[_0x907ef5(0x20e)]}},_0x284cfd=this['_transformService'][_0x907ef5(0x17b)](_0x5a6ea0,_0x1f2025,!0x1);if(m[_0x907ef5(0x175)](_0x284cfd))throw _0x284cfd[_0x907ef5(0x114)];_0xec092c[_0x907ef5(0x1bd)](_0x3c40c3,{..._0x51fb8c,'ranges':_0x284cfd[_0x907ef5(0x338)][_0x907ef5(0x298)]['textRanges']});}queueMicrotask(()=>{const _0x166537=_0x907ef5;this[_0x166537(0x22e)][_0x166537(0xeb)](_0xec092c);});})));}[_0x162072(0x142)](_0x5dd605){const _0x47c974=_0x162072;var _0x1f18e3,_0x1f378e;const {memberID:_0x354a9c,selection:_0x2c4aa0}=_0x5dd605[_0x47c974(0x1c8)],_0x2eb938=lt(_0x2c4aa0),_0x26e0ae=(_0x1f378e=(_0x1f18e3=this[_0x47c974(0x109)][_0x47c974(0xd3)](this['unitID'],_0x354a9c))==null?void 0x0:_0x1f18e3[_0x47c974(0x226)])!=null?_0x1f378e:_0x47c974(0x10b),_0x5dc3ff={'color':this['_colorAssignService'][_0x47c974(0x25d)](_0x354a9c),'name':_0x26e0ae,'ranges':_0x2eb938},_0x186ad0=this[_0x47c974(0x220)];_0x186ad0['set'](_0x354a9c,_0x5dc3ff),this[_0x47c974(0x22e)]['next'](_0x186ad0);}['_onCursorDelete'](_0x5930c9){const _0x5b02c0=_0x162072,{memberID:_0x1bf664}=_0x5930c9[_0x5b02c0(0x1c8)],_0x1079c5=this[_0x5b02c0(0x220)];_0x1079c5['delete'](_0x1bf664),this['_cursorInfo$'][_0x5b02c0(0xeb)](_0x1079c5);}[_0x162072(0x292)](){const _0x3b33a5=_0x162072;var _0xc560;if(this[_0x3b33a5(0x277)]=!0x0,((_0xc560=this[_0x3b33a5(0x287)]['getFocusedUnit']())==null?void 0x0:_0xc560[_0x3b33a5(0x1d7)]())!==this['unitID'])return;const _0x4c023c=this['_injector'][_0x3b33a5(0x347)](Y['DocSelectionManagerService'])[_0x3b33a5(0x2df)]();Array[_0x3b33a5(0x126)](_0x4c023c)&&_0x4c023c[_0x3b33a5(0x2fe)]>0x0&&this[_0x3b33a5(0x293)](_0x4c023c);}[_0x162072(0x18e)](){const _0x429037=_0x162072;this[_0x429037(0x277)]=!0x1;}};de=ht([L(0x2,a['Inject'](a[_0x162072(0x21b)])),L(0x3,a[_0x162072(0xe7)](Ce)),L(0x4,a['Inject'](u[_0x162072(0x158)])),L(0x5,a[_0x162072(0xe7)](pe)),L(0x6,m[_0x162072(0x140)]),L(0x7,a[_0x162072(0x12e)]),L(0x8,a[_0x162072(0x324)])],de);var St=Object[_0x162072(0x250)],ft=(_0x3b99e3,_0x1d4c99,_0x1d038a,_0x4f3970)=>{const _0x4c2457=_0x162072;for(var _0x58e928=_0x4f3970>0x1?void 0x0:_0x4f3970?St(_0x1d4c99,_0x1d038a):_0x1d4c99,_0x44b9e3=_0x3b99e3[_0x4c2457(0x2fe)]-0x1,_0x412365;_0x44b9e3>=0x0;_0x44b9e3--)(_0x412365=_0x3b99e3[_0x44b9e3])&&(_0x58e928=_0x412365(_0x58e928)||_0x58e928);return _0x58e928;},A=(_0x2d68d1,_0x1e85bf)=>(_0x40e076,_0x36a564)=>_0x1e85bf(_0x40e076,_0x36a564,_0x2d68d1);const It=0x12c,vt=0x64,gt=()=>{let _0x46fb22=[],_0xf717c=!0x1;return _0x11fd06=>{const _0x1054fa=_0x190c;_0x46fb22[_0x1054fa(0x1b9)](_0x11fd06),_0xf717c||(_0xf717c=!0x0,setTimeout(()=>{_0x46fb22['forEach'](_0x7a1fec=>_0x7a1fec()),_0x46fb22=[],_0xf717c=!0x1;}));};};let Se=class extends a[_0x162072(0x1b2)]{constructor(_0x3a46c9,_0x31a5b7,_0xf8a9d1,_0x56cf32,_0x1643db,_0x5b6a34,_0x4e57f4,_0x41d113){const _0x1e77b9=_0x162072;super(),h(this,_0x1e77b9(0x277),!0x1),h(this,_0x1e77b9(0x2b0),!0x1),h(this,_0x1e77b9(0x22e),new d[(_0x1e77b9(0x206))](new Map())),h(this,_0x1e77b9(0xe1),this[_0x1e77b9(0x22e)][_0x1e77b9(0x214)]()),h(this,_0x1e77b9(0x1ba),new d[(_0x1e77b9(0x206))]([])),h(this,'roomMembers$',this[_0x1e77b9(0x1ba)][_0x1e77b9(0x2ef)](d[_0x1e77b9(0x340)](It))),h(this,_0x1e77b9(0x293),a[_0x1e77b9(0x18c)]((_0x4d6b13,_0x4df6b9)=>{const _0x58a3d4=_0x1e77b9,_0x3ec20e={'eventID':m[_0x58a3d4(0x1d4)][_0x58a3d4(0xe5)],'data':{'unitID':this[_0x58a3d4(0x2f5)],'memberID':this[_0x58a3d4(0x1a9)][_0x58a3d4(0x28a)](),'selection':Ee[_0x58a3d4(0x200)](_0x4d6b13,_0x4df6b9[_0x58a3d4(0x332)])}};this[_0x58a3d4(0x1a9)][_0x58a3d4(0x19b)](_0x3ec20e,this[_0x58a3d4(0x2f5)]);},vt)),(this[_0x1e77b9(0x2f5)]=_0x3a46c9,this['_session']=_0x31a5b7,this[_0x1e77b9(0x2e7)]=_0xf8a9d1,this['_colorAssignService']=_0x56cf32,this[_0x1e77b9(0x109)]=_0x1643db,this[_0x1e77b9(0x287)]=_0x5b6a34,this[_0x1e77b9(0x34e)]=_0x4e57f4,this[_0x1e77b9(0x259)]=_0x41d113);}get[_0x162072(0x220)](){const _0x27a180=_0x162072;return this[_0x27a180(0x22e)][_0x27a180(0x21a)]();}get[_0x162072(0x1d6)](){const _0x1528e3=_0x162072;return this[_0x1528e3(0x1ba)]['getValue']();}['dispose'](){const _0x170eed=_0x162072;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x170eed(0x22e)]['complete'](),this[_0x170eed(0x1ba)][_0x170eed(0xeb)]([]),this[_0x170eed(0x1ba)]['complete']();}[_0x162072(0xf9)](){const _0x59cbde=_0x162072;this[_0x59cbde(0x2b0)]||(this['_init']=!0x0,this[_0x59cbde(0x1a9)][_0x59cbde(0x235)][_0x59cbde(0x2ef)](d[_0x59cbde(0x1e7)](this[_0x59cbde(0x306)]))[_0x59cbde(0x334)](_0x45a327=>{const _0x1cb9cb=_0x59cbde;_0x45a327===u['SessionStatus'][_0x1cb9cb(0x2a2)]?this[_0x1cb9cb(0x292)]():this[_0x1cb9cb(0x18e)]();}),this[_0x59cbde(0x1a9)][_0x59cbde(0xd4)]['pipe'](d[_0x59cbde(0x1e7)](this[_0x59cbde(0x306)]))[_0x59cbde(0x334)](_0x43b483=>{const _0x2aa1a8=_0x59cbde,_0x5ac8ca=_0x43b483['eventID'];_0x5ac8ca===m[_0x2aa1a8(0x1d4)]['UPDATE_CURSOR']&&this[_0x2aa1a8(0x142)](_0x43b483),_0x5ac8ca===m[_0x2aa1a8(0x1d4)][_0x2aa1a8(0x2e9)]&&this['_onCursorDelete'](_0x43b483);}),this[_0x59cbde(0x232)](),this[_0x59cbde(0x2d7)](this[_0x59cbde(0x34e)][_0x59cbde(0xf8)](_0x28639b=>{const _0x3a3954=_0x59cbde;if(this[_0x3a3954(0x277)]&&_0x28639b['id']===g[_0x3a3954(0x29f)]['id']&&_0x28639b[_0x3a3954(0x298)][_0x3a3954(0x11d)]===this['unitID']){const _0x3dbfa0=_0x28639b[_0x3a3954(0x298)];this['_updateLocalCursor'](_0x3dbfa0[_0x3a3954(0x1bf)],_0x3dbfa0[_0x3a3954(0xea)][0x0]);}})));}['_onCursorUpdate'](_0x499635){const _0x3de354=_0x162072;var _0xc08d23,_0x22aeef;const {memberID:_0x546ab5,selection:_0x412bed}=_0x499635[_0x3de354(0x1c8)],{sheetName:_0x9b1c65,range:_0x1a39c0}=Ee['deserializeRangeWithSheet'](_0x412bed),_0x7288={'name':(_0x22aeef=(_0xc08d23=this[_0x3de354(0x109)]['getMember'](this[_0x3de354(0x2f5)],_0x546ab5))==null?void 0x0:_0xc08d23[_0x3de354(0x226)])!=null?_0x22aeef:'Unknown\x20user','range':this['_getMergeRange'](_0x9b1c65,_0x1a39c0),'sheetID':_0x9b1c65,'color':this[_0x3de354(0x17a)][_0x3de354(0x25d)](_0x546ab5),'selection':_0x412bed},_0x4ff993=this[_0x3de354(0x220)];_0x4ff993[_0x3de354(0x1bd)](_0x546ab5,_0x7288),this[_0x3de354(0x22e)][_0x3de354(0xeb)](_0x4ff993);}[_0x162072(0x205)](_0x103bb9){const _0x1d03cc=_0x162072,{memberID:_0x40bd00}=_0x103bb9['data'],_0x1a6f1c=this[_0x1d03cc(0x220)];_0x1a6f1c[_0x1d03cc(0x16e)](_0x40bd00),this['_cursorInfo$'][_0x1d03cc(0xeb)](_0x1a6f1c);}[_0x162072(0x13b)](_0x50b363,_0x16790f){const _0x5dd8d5=_0x162072;var _0x22556e,_0x2ed48f;const _0x2a8ad6=(_0x2ed48f=(_0x22556e=this[_0x5dd8d5(0x287)]['getUniverSheetInstance'](this[_0x5dd8d5(0x2f5)]))==null?void 0x0:_0x22556e[_0x5dd8d5(0x25e)](_0x50b363))==null?void 0x0:_0x2ed48f['getMergeData']();return(_0x2a8ad6==null?void 0x0:_0x2a8ad6[_0x5dd8d5(0x173)](_0x47b2a4=>a['Rectangle'][_0x5dd8d5(0x2de)](_0x47b2a4,_0x16790f)))||_0x16790f;}[_0x162072(0x232)](){const _0x475ab7=_0x162072,_0x689426=new a['DisposableCollection'](),_0xfde339=gt(),_0x112f2c=()=>{const _0x3d1f38=_0x190c;_0x689426[_0x3d1f38(0x135)]();const _0x3bca90=(_0x398457,_0x12563a,_0x12804d,_0x268fd4)=>{const _0x2b0011=_0x3d1f38;let _0x3fde9d=[];switch(_0x398457['id']){case g[_0x2b0011(0x1f5)][_0x2b0011(0x19d)]:{_0x3fde9d=g['handleDeleteRangeMoveLeft'](_0x398457,_0x268fd4);break;}case g[_0x2b0011(0x1f5)][_0x2b0011(0x284)]:{_0x3fde9d=g[_0x2b0011(0x2f0)](_0x398457,_0x268fd4);break;}case g[_0x2b0011(0x1f5)]['InsertColCommandId']:{_0x3fde9d=g[_0x2b0011(0x2fa)](_0x398457,_0x268fd4);break;}case g[_0x2b0011(0x1f5)]['InsertRangeMoveDownCommandId']:{_0x3fde9d=g['handleInsertRangeMoveDown'](_0x398457,_0x268fd4);break;}case g[_0x2b0011(0x1f5)][_0x2b0011(0x11c)]:{_0x3fde9d=g[_0x2b0011(0x335)](_0x398457,_0x268fd4);break;}case g[_0x2b0011(0x1f5)][_0x2b0011(0x27b)]:{_0x3fde9d=g[_0x2b0011(0x1da)](_0x398457,_0x268fd4);break;}case g[_0x2b0011(0x1f5)][_0x2b0011(0x162)]:{_0x3fde9d=g['handleMoveRange'](_0x398457,_0x268fd4);break;}case g[_0x2b0011(0x1f5)][_0x2b0011(0x254)]:{_0x3fde9d=g[_0x2b0011(0x2a6)](_0x398457,_0x268fd4);break;}case g[_0x2b0011(0x1f5)][_0x2b0011(0x105)]:{_0x3fde9d=g[_0x2b0011(0x25a)](_0x398457,_0x268fd4);break;}}const _0x5a6ed4=g[_0x2b0011(0x266)](_0x3fde9d,_0x268fd4),_0x106143=this[_0x2b0011(0x220)][_0x2b0011(0x347)](_0x12563a);if(_0x106143&&_0x5a6ed4){const _0x3f1a4c={..._0x106143,'range':_0x5a6ed4};this[_0x2b0011(0x220)]['set'](_0x12563a,_0x3f1a4c),_0xfde339(()=>{const _0x4fd9b1=_0x2b0011,_0x4e2399=this[_0x4fd9b1(0x259)][_0x4fd9b1(0x14d)](_0x5a6ed4,_0x324cab=>(_0x4e2399[_0x4fd9b1(0x135)](),_0x3bca90(_0x324cab,_0x12563a,_0x12804d,_0x5a6ed4)));_0x689426['add'](_0x4e2399);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x452732,_0x3faec)=>{const _0x1580a8=_0x3d1f38,{range:_0x2a2c7e,sheetID:_0x5dd8fe}=_0x452732,_0x143e02=this['_refRangeService'][_0x1580a8(0x14d)](_0x2a2c7e,_0x44aa02=>(_0x143e02[_0x1580a8(0x135)](),_0x3bca90(_0x44aa02,_0x3faec,_0x5dd8fe,_0x2a2c7e)));_0x689426[_0x1580a8(0x2d1)](_0x143e02);});};this[_0x475ab7(0x2d7)](a[_0x475ab7(0x2db)](this['_cursorInfo$'][_0x475ab7(0x334)](()=>{_0x112f2c();})));}['_toggleOnline'](){const _0x164ef8=_0x162072;var _0xbce04f,_0x40332f;if(this[_0x164ef8(0x277)]=!0x0,((_0xbce04f=this[_0x164ef8(0x287)][_0x164ef8(0x112)]())==null?void 0x0:_0xbce04f[_0x164ef8(0x1d7)]())!==this[_0x164ef8(0x2f5)])return;const _0x283fed=(_0x40332f=this['_injector'][_0x164ef8(0x347)](g[_0x164ef8(0x116)])[_0x164ef8(0x245)]())==null?void 0x0:_0x40332f[0x0],_0x3f5826=this[_0x164ef8(0x287)][_0x164ef8(0x149)](a[_0x164ef8(0x33f)][_0x164ef8(0x177)])[_0x164ef8(0x1c7)]();_0x283fed&&_0x3f5826&&this['_updateLocalCursor'](_0x3f5826['getSheetId'](),_0x283fed);}[_0x162072(0x18e)](){const _0x40c489=_0x162072;this[_0x40c489(0x277)]=!0x1;}};Se=ft([A(0x2,a['Inject'](a[_0x162072(0x21b)])),A(0x3,a[_0x162072(0xe7)](Ce)),A(0x4,a[_0x162072(0xe7)](u[_0x162072(0x158)])),A(0x5,a['IUniverInstanceService']),A(0x6,a[_0x162072(0x324)]),A(0x7,a[_0x162072(0xe7)](g['RefRangeService']))],Se);var mt=Object['getOwnPropertyDescriptor'],Ct=(_0x20fbff,_0xb8ac4f,_0x1de873,_0x5d7ca1)=>{const _0x57cecd=_0x162072;for(var _0x3908e5=_0x5d7ca1>0x1?void 0x0:_0x5d7ca1?mt(_0xb8ac4f,_0x1de873):_0xb8ac4f,_0x32ca2e=_0x20fbff[_0x57cecd(0x2fe)]-0x1,_0x5cf4cf;_0x32ca2e>=0x0;_0x32ca2e--)(_0x5cf4cf=_0x20fbff[_0x32ca2e])&&(_0x3908e5=_0x5cf4cf(_0x3908e5)||_0x3908e5);return _0x3908e5;},ie=(_0x57e8aa,_0x24d7af)=>(_0x33fbd9,_0x42b42a)=>_0x24d7af(_0x33fbd9,_0x42b42a,_0x57e8aa);let x=class extends a[_0x162072(0x1b2)]{constructor(_0x7d9e65,_0x1d83a4,_0x190272){const _0x19920f=_0x162072;super(),h(this,_0x19920f(0x16f),new Map()),h(this,'_entityInit$',new d[(_0x19920f(0x24d))]()),(this[_0x19920f(0x287)]=_0x7d9e65,this['_injector']=_0x1d83a4,this['_collabSessionService']=_0x190272,this['_init']());}[_0x162072(0x135)](){const _0x22a84a=_0x162072;super['dispose'](),this['_entityInit$']['complete'](),this[_0x22a84a(0x16f)][_0x22a84a(0x145)](_0x15fcfb=>_0x15fcfb[_0x22a84a(0x135)]());}['getCollabCursors$'](_0x1f7892){const _0x40f255=_0x162072;return this[_0x40f255(0x16f)]['has'](_0x1f7892)?this[_0x40f255(0x16f)][_0x40f255(0x347)](_0x1f7892)[_0x40f255(0xe1)]:this[_0x40f255(0x240)][_0x40f255(0x2ef)](d['filter'](_0x1e1b55=>_0x1e1b55['unitID']===_0x1f7892),d[_0x40f255(0x323)](_0x5dfbf3=>_0x5dfbf3[_0x40f255(0xe1)]));}[_0x162072(0x2b0)](){const _0x563ddf=_0x162072;this[_0x563ddf(0x287)]['getTypeOfUnitAdded$'](a[_0x563ddf(0x33f)][_0x563ddf(0x177)])[_0x563ddf(0x2ef)](d[_0x563ddf(0x1e7)](this[_0x563ddf(0x306)]))[_0x563ddf(0x334)](async _0x2b925b=>{const _0x31b81e=_0x563ddf,_0x80a03a=_0x2b925b[_0x31b81e(0x1d7)](),_0x4abfcd=await this[_0x31b81e(0x31f)](_0x80a03a);this['_entityInit$'][_0x31b81e(0xeb)](_0x4abfcd),this['_entities'][_0x31b81e(0x1bd)](_0x80a03a,_0x4abfcd);}),this[_0x563ddf(0x287)][_0x563ddf(0x2c3)](a[_0x563ddf(0x33f)]['UNIVER_DOC'])['pipe'](d['takeUntil'](this[_0x563ddf(0x306)]))[_0x563ddf(0x2ef)](d[_0x563ddf(0x1cd)](_0x45b52b=>!_0x45b52b['getUnitId']()['startsWith']('__')))[_0x563ddf(0x334)](async _0x4681a7=>{const _0xdf8c7f=_0x563ddf,_0x27f672=_0x4681a7[_0xdf8c7f(0x1d7)](),_0x18b8d5=await this[_0xdf8c7f(0x127)](_0x27f672);this['_entityInit$'][_0xdf8c7f(0xeb)](_0x18b8d5),this[_0xdf8c7f(0x16f)][_0xdf8c7f(0x1bd)](_0x27f672,_0x18b8d5);}),d[_0x563ddf(0x1cb)](this[_0x563ddf(0x287)][_0x563ddf(0x25b)](a[_0x563ddf(0x33f)][_0x563ddf(0xf0)]),this[_0x563ddf(0x287)][_0x563ddf(0x25b)](a[_0x563ddf(0x33f)]['UNIVER_SHEET']))['pipe'](d[_0x563ddf(0x1e7)](this[_0x563ddf(0x306)]))[_0x563ddf(0x334)](_0x48d66b=>{const _0x1f3024=_0x563ddf,_0x1a890d=_0x48d66b[_0x1f3024(0x1d7)](),_0x52e7cd=this[_0x1f3024(0x16f)][_0x1f3024(0x347)](_0x1a890d);_0x52e7cd&&(_0x52e7cd[_0x1f3024(0x135)](),this['_entities'][_0x1f3024(0x16e)](_0x1a890d));});}async[_0x162072(0x31f)](_0x20a508){const _0x2ff380=_0x162072,_0x1a1de6=await this[_0x2ff380(0x147)][_0x2ff380(0x148)](_0x20a508),_0x2cddf1=this[_0x2ff380(0x2e7)][_0x2ff380(0x2bc)](Se,_0x20a508,_0x1a1de6);return _0x2cddf1[_0x2ff380(0xf9)](),_0x2cddf1;}async[_0x162072(0x127)](_0x6c289b){const _0x438d60=_0x162072,_0x4c6e55=await this[_0x438d60(0x147)][_0x438d60(0x148)](_0x6c289b),_0x2d598f=this['_injector'][_0x438d60(0x2bc)](de,_0x6c289b,_0x4c6e55);return _0x2d598f['init'](),_0x2d598f;}};x=Ct([ie(0x0,a[_0x162072(0x12e)]),ie(0x1,a['Inject'](a[_0x162072(0x21b)])),ie(0x2,a[_0x162072(0xe7)](u[_0x162072(0x219)]))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x16aba8,_0xda040d){const _0x1b7c8c=_0x162072;let {radius:_0x934d66,width:_0x9beceb,height:_0x2572d0}=_0xda040d;_0x934d66=_0x934d66!=null?_0x934d66:0x0,_0x9beceb=_0x9beceb!=null?_0x9beceb:0x1e,_0x2572d0=_0x2572d0!=null?_0x2572d0:0x1e;let _0x3339e1=0x0,_0x3dd930=0x0,_0x4d6aa9=0x0;_0x3339e1=_0x3dd930=_0x4d6aa9=Math[_0x1b7c8c(0x243)](_0x934d66,_0x9beceb/0x2,_0x2572d0/0x2),_0x16aba8['beginPath'](),_0x16aba8['moveTo'](_0x3339e1,0x0),_0x16aba8[_0x1b7c8c(0x267)](_0x9beceb-_0x3dd930,0x0),_0x16aba8[_0x1b7c8c(0x2c8)](_0x9beceb-_0x3dd930,_0x3dd930,_0x3dd930,Math['PI']*0x3/0x2,0x0,!0x1),_0x16aba8[_0x1b7c8c(0x267)](_0x9beceb,_0x2572d0-_0x4d6aa9),_0x16aba8[_0x1b7c8c(0x2c8)](_0x9beceb-_0x4d6aa9,_0x2572d0-_0x4d6aa9,_0x4d6aa9,0x0,Math['PI']/0x2,!0x1),_0x16aba8[_0x1b7c8c(0x267)](0x0,_0x2572d0),_0x16aba8['lineTo'](0x0,_0x3339e1),_0x16aba8[_0x1b7c8c(0x2c8)](_0x3339e1,_0x3339e1,_0x3339e1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x16aba8[_0x1b7c8c(0x2eb)](),_0xda040d[_0x1b7c8c(0x265)]&&(_0x16aba8[_0x1b7c8c(0x171)](),_0x16aba8[_0x1b7c8c(0x2cf)]=_0xda040d[_0x1b7c8c(0x265)],_0xda040d[_0x1b7c8c(0x10f)]==='evenodd'?_0x16aba8['fill'](_0x1b7c8c(0x1ad)):_0x16aba8[_0x1b7c8c(0x265)](),_0x16aba8[_0x1b7c8c(0x321)]());}class ee extends p['Shape']{constructor(_0x143597,_0x3e3470){const _0x55076d=_0x162072;super(_0x143597,_0x3e3470),h(this,_0x55076d(0x10c)),h(this,'text'),(this[_0x55076d(0x10c)]=_0x3e3470==null?void 0x0:_0x3e3470[_0x55076d(0x10c)],this['text']=_0x3e3470==null?void 0x0:_0x3e3470[_0x55076d(0x144)]);}static[_0x162072(0xf5)](_0x5e9fae,_0x3a994c){const _0xa28852=_0x162072,{text:_0x290587,color:_0x2b57aa}=_0x3a994c;_0x5e9fae[_0xa28852(0x171)](),_0x5e9fae['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2ec4f8=_0x5e9fae[_0xa28852(0x2dd)](_0x290587)[_0xa28852(0x163)],_0x29ebbb=Math['min'](_0x2ec4f8+0x2*ne,Te);Et(_0x5e9fae,{'height':W,'radius':0x4,'width':_0x29ebbb,'fill':_0x2b57aa}),_0x5e9fae[_0xa28852(0x2cf)]='#FFF';const _0x24d501=ne,_0x374fa6=W-pt,_0x427778=Te-0x2*ne;if(_0x2ec4f8>_0x427778){let _0x3d8012='',_0x3ad05b=0x0;for(const _0x13db95 of _0x290587){const _0x3363ce=_0x5e9fae[_0xa28852(0x2dd)](_0x13db95)['width'];if(_0x3ad05b+_0x3363ce<=_0x427778-_0x5e9fae[_0xa28852(0x2dd)](_0xa28852(0x19e))[_0xa28852(0x163)])_0x3d8012+=_0x13db95,_0x3ad05b+=_0x3363ce;else{_0x3d8012+=_0xa28852(0x19e);break;}}_0x5e9fae[_0xa28852(0x2ce)](_0x3d8012,_0x24d501,_0x374fa6);}else _0x5e9fae[_0xa28852(0x2ce)](_0x290587,_0x24d501,_0x374fa6);_0x5e9fae[_0xa28852(0x321)]();}[_0x162072(0x1d3)](_0x57b96d){ee['drawWith'](_0x57b96d,this);}}const re=_0x162072(0x1f7),bt=_0x162072(0xd6),Ot=_0x162072(0xf7),F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt='rgba(255,\x20255,\x20255,\x200.01)';class Re{constructor(_0x1ae7f1,_0x399284,_0x475b16,_0x5d5e86){const _0x48cd49=_0x162072;h(this,_0x48cd49(0x215),[]),h(this,_0x48cd49(0x1a7),null),h(this,_0x48cd49(0x1de),null),h(this,_0x48cd49(0x337),null),h(this,'_hideTimer',null),h(this,_0x48cd49(0x315),null),(this[_0x48cd49(0x1dd)]=_0x1ae7f1,this[_0x48cd49(0x18a)]=_0x399284,this['_docSkeleton']=_0x475b16,this[_0x48cd49(0x2ff)]=_0x5d5e86,this[_0x48cd49(0x152)]());}set[_0x162072(0x31c)](_0x8cd765){const _0xd424fd=_0x162072;_0x8cd765?(this[_0xd424fd(0x337)]&&this['_anchorDot'][_0xd424fd(0x2f1)](),this[_0xd424fd(0x1de)]&&this[_0xd424fd(0x1de)][_0xd424fd(0x261)]()):(this[_0xd424fd(0x337)]&&this['_anchorDot'][_0xd424fd(0x261)](),this[_0xd424fd(0x1de)]&&this['_textBubble'][_0xd424fd(0x2f1)]());}[_0x162072(0x135)](){const _0x2ed471=_0x162072;for(const _0x10256d of this[_0x2ed471(0x215)])_0x10256d['dispose']();this[_0x2ed471(0x1de)]&&this['_textBubble'][_0x2ed471(0x135)](),this[_0x2ed471(0x337)]&&this['_anchorDot'][_0x2ed471(0x135)](),this[_0x2ed471(0x1a7)]&&this[_0x2ed471(0x1a7)]['dispose'](),this[_0x2ed471(0x315)]&&this[_0x2ed471(0x315)]();}[_0x162072(0x152)](){const _0x485483=_0x162072;var _0x16fd20;const {_docSkeleton:_0xb6c27d,_document:_0x581df7}=this,{color:_0x428d57,name:_0xabad3d,ranges:_0x5300f6}=this[_0x485483(0x1dd)],_0x12dc46=_0x581df7[_0x485483(0x251)](),{docsLeft:_0x34d961,docsTop:_0x4d340d}=_0x12dc46,_0x55193e=new E['NodePositionConvertToCursor'](_0x12dc46,_0xb6c27d);for(const {startOffset:_0x9b9c1c,endOffset:_0x128132,rangeType:_0x357356,segmentId:_0x5592ae,segmentPage:_0x38a823,collapsed:_0x15f998,isActive:_0x25a724}of _0x5300f6){const _0x9ae267=_0xb6c27d['findNodePositionByCharIndex'](_0x9b9c1c,!0x0,_0x5592ae,_0x38a823);let _0x408d84=_0xb6c27d[_0x485483(0x2c5)](_0x128132,!0x0,_0x5592ae,_0x38a823);if(_0x408d84==null&&(_0x408d84=_0xb6c27d[_0x485483(0x2c5)](_0x128132-0x1,!0x1,_0x5592ae,_0x38a823)),_0x25a724){const {contentBoxPointGroup:_0x3da461}=_0x55193e[_0x485483(0x27c)](_0x408d84,_0x408d84);if(_0x3da461['length']===0x0)continue;this['_drawAnchor'](_0x428d57,_0x3da461,_0x34d961,_0x4d340d,_0xabad3d),this['_eventUnsubscribe']=this[_0x485483(0x283)]();}if(_0x9ae267&&_0x408d84){if(_0x357356===a[_0x485483(0x16b)]['RECT']){const _0x4e000f=new E['NodePositionConvertToRectRange'](_0x12dc46,_0xb6c27d),{pointGroup:_0x8f9d84}=(_0x16fd20=_0x4e000f[_0x485483(0x27c)](_0x9ae267,_0x408d84))!=null?_0x16fd20:{};if(_0x8f9d84==null||_0x8f9d84[_0x485483(0x2fe)]===0x0)continue;this[_0x485483(0x156)](_0x428d57,_0x8f9d84,_0x34d961,_0x4d340d);}else{if(!_0x15f998){const {borderBoxPointGroup:_0x29c462}=_0x55193e[_0x485483(0x27c)](_0x9ae267,_0x408d84);if(_0x29c462['length']===0x0)continue;this[_0x485483(0x1ae)](_0x428d57,_0x29c462,_0x34d961,_0x4d340d);}}}}}[_0x162072(0x19f)](_0x3fea7b,_0x46f016,_0x245a16,_0x171a88,_0x3216ce){const _0xbb8e6e=_0x162072,_0x6fdf4f=this[_0xbb8e6e(0x303)](_0x46f016),{left:_0x38e50b,top:_0x1ac4cd,height:_0x3658e4}=_0x6fdf4f,_0x3f022e=this[_0xbb8e6e(0x349)](),_0xf18f9e=Rt/_0x3f022e,_0x5293b9=new p['Rect'](re+a[_0xbb8e6e(0x263)](F),{'left':_0x38e50b+_0x245a16-_0xf18f9e,'top':_0x1ac4cd+_0x171a88,'height':_0x3658e4,'width':Tt,'fill':_0x3fea7b||p[_0xbb8e6e(0x30b)](a[_0xbb8e6e(0x28c)][_0xbb8e6e(0x16c)],0x0),'strokeWidth':_0xf18f9e,'stroke':Dt,'evented':!0x0});this[_0xbb8e6e(0x1a7)]=_0x5293b9,this[_0xbb8e6e(0x18a)][_0xbb8e6e(0x139)](_0x5293b9,E['TEXT_RANGE_LAYER_INDEX']);const _0x3fd81d=new p[(_0xbb8e6e(0x30f))](re+a[_0xbb8e6e(0x263)](F),{'left':_0x38e50b+_0x245a16-_0xf18f9e,'top':_0x1ac4cd+_0x171a88-oe/0x2,'height':oe,'width':oe,'fill':_0x3fea7b||p[_0xbb8e6e(0x30b)](a[_0xbb8e6e(0x28c)][_0xbb8e6e(0x16c)],0x0),'strokeWidth':0x0,'stroke':_0x3fea7b||p[_0xbb8e6e(0x30b)](a['COLORS'][_0xbb8e6e(0x16c)],0x0),'evented':!0x1});this[_0xbb8e6e(0x337)]=_0x3fd81d,this[_0xbb8e6e(0x18a)][_0xbb8e6e(0x139)](_0x3fd81d,E[_0xbb8e6e(0x2e0)]);const _0x273dab=new ee(re+a[_0xbb8e6e(0x263)](F),{'left':_0x38e50b+_0x245a16-_0xf18f9e,'top':_0x1ac4cd+_0x171a88-W,'text':_0x3216ce,'color':_0x3fea7b});this['_textBubble']=_0x273dab,this[_0xbb8e6e(0x18a)][_0xbb8e6e(0x139)](_0x273dab,E[_0xbb8e6e(0x2e0)]),this['_hover']=!0x1;}['_handleHover'](){const _0x1dba05=_0x162072,_0x332797=this[_0x1dba05(0x1a7)][_0x1dba05(0x186)][_0x1dba05(0x121)](()=>{const _0xd36b26=_0x1dba05;this[_0xd36b26(0x31c)]=!0x0;}),_0x2b5eff=this[_0x1dba05(0x1a7)]['onPointerLeave$'][_0x1dba05(0x121)](()=>{const _0x160e37=_0x1dba05;this[_0x160e37(0x19c)]&&clearTimeout(this[_0x160e37(0x19c)]),this[_0x160e37(0x19c)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x340de5=_0x1dba05;_0x332797['unsubscribe'](),_0x2b5eff[_0x340de5(0x160)]();};}['_drawTextRange'](_0x4ee29b,_0x238e7f,_0x3b1176,_0xe27191){const _0x147e48=_0x162072,_0x1931a9=new a[(_0x147e48(0x2c7))](_0x4ee29b)[_0x147e48(0x1ff)](0.2)[_0x147e48(0x271)](),_0x5879ba=new p[(_0x147e48(0x179))](bt+a[_0x147e48(0x263)](F),{'pointsGroup':_0x238e7f,'fill':_0x1931a9||p[_0x147e48(0x30b)](a[_0x147e48(0x28c)][_0x147e48(0x16c)],0.2),'left':_0x3b1176,'top':_0xe27191,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x147e48(0x215)][_0x147e48(0x1b9)](_0x5879ba),this[_0x147e48(0x18a)]['addObject'](_0x5879ba,E[_0x147e48(0x2e0)]);}['_drawRectRange'](_0x48b4f7,_0x44502b,_0x1fbae2,_0x448f3a){const _0x17b9d1=_0x162072,_0xa2f338=new a['ColorKit'](_0x48b4f7)[_0x17b9d1(0x1ff)](0.2)[_0x17b9d1(0x271)](),_0x4a74ee=new p[(_0x17b9d1(0x179))](Ot+a[_0x17b9d1(0x263)](F),{'pointsGroup':_0x44502b,'fill':_0xa2f338||p[_0x17b9d1(0x30b)](a['COLORS'][_0x17b9d1(0x16c)],0.2),'left':_0x1fbae2,'top':_0x448f3a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x17b9d1(0x215)][_0x17b9d1(0x1b9)](_0x4a74ee),this['_scene'][_0x17b9d1(0x139)](_0x4a74ee,E['TEXT_RANGE_LAYER_INDEX']);}[_0x162072(0x303)](_0x5cb33f){const _0x4b20ee=_0x5cb33f[0x0],_0x2583a4=_0x4b20ee[0x0],_0x599709=_0x4b20ee[0x2],{x:_0x3064c0,y:_0x237038}=_0x2583a4,{x:_0x416968,y:_0x2d6935}=_0x599709;return{'left':_0x3064c0,'top':_0x237038,'width':_0x416968-_0x3064c0,'height':_0x2d6935-_0x237038};}[_0x162072(0x349)](){const _0x4dc11b=_0x162072,{scaleX:_0x1faa73,scaleY:_0x130ed5}=this[_0x4dc11b(0x18a)][_0x4dc11b(0x33e)]();return Math[_0x4dc11b(0xfd)](_0x1faa73,_0x130ed5);}}var Ut=Object['getOwnPropertyDescriptor'],Nt=(_0xc6f8f1,_0x19e574,_0x2da93a,_0x1e6f91)=>{const _0x5d3b42=_0x162072;for(var _0x4729d0=_0x1e6f91>0x1?void 0x0:_0x1e6f91?Ut(_0x19e574,_0x2da93a):_0x19e574,_0xc85ef7=_0xc6f8f1[_0x5d3b42(0x2fe)]-0x1,_0x5f0248;_0xc85ef7>=0x0;_0xc85ef7--)(_0x5f0248=_0xc6f8f1[_0xc85ef7])&&(_0x4729d0=_0x5f0248(_0x4729d0)||_0x4729d0);return _0x4729d0;},X=(_0x3b16a7,_0x3900e8)=>(_0x5b6482,_0xfb8019)=>_0x3900e8(_0x5b6482,_0xfb8019,_0x3b16a7);let fe=class extends a[_0x162072(0x1b2)]{constructor(_0x1dd8e3,_0x39059d,_0x177d7a,_0x1967ae,_0x2c0d09){const _0x46e48c=_0x162072;super(),h(this,_0x46e48c(0x2bd),[]),h(this,'_cursors',[]),(this[_0x46e48c(0x278)]=_0x1dd8e3,this[_0x46e48c(0x164)]=_0x39059d,this[_0x46e48c(0x2e6)]=_0x177d7a,this[_0x46e48c(0x34e)]=_0x1967ae,this[_0x46e48c(0x16a)]=_0x2c0d09,this[_0x46e48c(0x2b0)]());}[_0x162072(0x2b0)](){const _0x5d28a5=_0x162072,_0x4637b0=this['_context']['unitId'],_0x15d040=this[_0x5d28a5(0x164)];this[_0x5d28a5(0x2d7)](d['combineLatest']([this[_0x5d28a5(0x2e6)][_0x5d28a5(0x290)](_0x4637b0),this[_0x5d28a5(0x16a)]['currentTheme$']])[_0x5d28a5(0x2ef)]($[_0x5d28a5(0x305)](([_0x596dd2,_0x50f0c7])=>({'skeleton':_0x15d040[_0x5d28a5(0x2d4)](),'cursors':[..._0x596dd2[_0x5d28a5(0x12f)]()]['flatMap'](_0x2bd9f3=>({..._0x2bd9f3,'color':this[_0x5d28a5(0x16a)]['getColorFromTheme'](_0x2bd9f3[_0x5d28a5(0x10c)])}))})))['subscribe'](_0x514723=>{const _0x34a10f=_0x5d28a5;if(this[_0x34a10f(0x1a8)](),_0x514723){const {skeleton:_0x3b256f,cursors:_0x58d2a7}=_0x514723;this[_0x34a10f(0xe6)](_0x3b256f,_0x58d2a7);}})),this[_0x5d28a5(0x23d)](),this[_0x5d28a5(0x2a1)]();}[_0x162072(0xe6)](_0x5c9425,_0x765202){const _0x74afd8=_0x162072,{scene:_0x436441,mainComponent:_0x13a922}=this[_0x74afd8(0x278)],_0x4ccc33=_0x765202[_0x74afd8(0x305)](_0x54c0e3=>new Re(_0x54c0e3,_0x436441,_0x5c9425,_0x13a922));this['_cursorShapes']=_0x4ccc33,this[_0x74afd8(0x161)]=_0x765202;}[_0x162072(0x13d)](){const _0x3e0b76=_0x162072;this[_0x3e0b76(0x1a8)]();const {scene:_0x577318,mainComponent:_0x3cf112}=this['_context'],_0x148fff=this[_0x3e0b76(0x164)]['getSkeleton'](),_0x3c1fde=this[_0x3e0b76(0x161)]['map'](_0x1f434c=>new Re(_0x1f434c,_0x577318,_0x148fff,_0x3cf112));this[_0x3e0b76(0x2bd)]=_0x3c1fde;}['_removeCollabCursors'](){const _0x9be79=_0x162072;this[_0x9be79(0x2bd)]['forEach'](_0x13a9af=>_0x13a9af['dispose']()),this[_0x9be79(0x2bd)]=[];}['_initCommandExecutedListener'](){const _0x1bce7b=_0x162072,_0x2bbb80=[E[_0x1bce7b(0x28b)]['id']];this[_0x1bce7b(0x2d7)](this['_commandService']['onCommandExecuted'](_0x46ff91=>{const _0x551e85=_0x1bce7b;_0x2bbb80[_0x551e85(0x34a)](_0x46ff91['id'])&&_0x46ff91['params']['unitId']===this[_0x551e85(0x278)][_0x551e85(0x11d)]&&this[_0x551e85(0x13d)]();}));}[_0x162072(0x23d)](){const _0x2bafe8=_0x162072;this[_0x2bafe8(0x2d7)](a[_0x2bafe8(0x2f8)](this[_0x2bafe8(0x278)]['engine']['onTransformChange$'])['pipe']($[_0x2bafe8(0x1cd)](_0x3bce89=>_0x3bce89[_0x2bafe8(0x2fb)]===p[_0x2bafe8(0x242)][_0x2bafe8(0x24f)]),$['throttleTime'](0x10))[_0x2bafe8(0x334)](()=>{const _0x31be0c=_0x2bafe8;this[_0x31be0c(0x13d)]();}));}};fe=Nt([X(0x1,a['Inject'](Y['DocSkeletonManagerService'])),X(0x2,a['Inject'](x)),X(0x3,a[_0x162072(0x324)]),X(0x4,a[_0x162072(0xe7)](a['ThemeService']))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x162072(0x199)]{constructor(_0x3625b4,_0x1c2f1f){const _0x21d533=_0x162072;super(_0x3625b4,_0x1c2f1f),h(this,_0x21d533(0xfb)),h(this,_0x21d533(0x258),!0x1),h(this,_0x21d533(0x28d)),h(this,_0x21d533(0x115),''),h(this,'_labelPosition',_0x21d533(0x154)),h(this,_0x21d533(0x2d2)),(_0x1c2f1f&&this[_0x21d533(0x1cf)](_0x1c2f1f),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x21d533(0x1cf)]({'hovered':!0x0})),this[_0x21d533(0x29a)]['subscribeEvent'](()=>this[_0x21d533(0x1cf)]({'hovered':!0x1})));}[_0x162072(0x1cf)](_0x1c50d7){const _0x43071a=_0x162072;var _0x3d69f5,_0x10ac7f,_0xafdc30,_0x4d30b8,_0x5e131d,_0x5437f3;this['_color']=(_0x3d69f5=_0x1c50d7['color'])!=null?_0x3d69f5:this['_color'],this[_0x43071a(0x258)]=(_0x10ac7f=_0x1c50d7[_0x43071a(0x1bc)])!=null?_0x10ac7f:this[_0x43071a(0x258)],this[_0x43071a(0x28d)]=(_0xafdc30=_0x1c50d7[_0x43071a(0x332)])!=null?_0xafdc30:this['_range'],this[_0x43071a(0x115)]=(_0x4d30b8=_0x1c50d7[_0x43071a(0x226)])!=null?_0x4d30b8:this[_0x43071a(0x115)],this[_0x43071a(0x159)]=(_0x5e131d=_0x1c50d7[_0x43071a(0x22c)])!=null?_0x5e131d:this[_0x43071a(0x159)],this[_0x43071a(0x2d2)]=(_0x5437f3=_0x1c50d7['backgroundColor'])!=null?_0x5437f3:this['_backgroundColor'],this['transformByState']({'width':_0x1c50d7[_0x43071a(0x163)],'height':_0x1c50d7[_0x43071a(0x176)]});}[_0x162072(0x29d)](_0x4ec2f3){const _0xebb938=_0x162072,{row:_0x23ca17,column:_0x209cfc}=_0x4ec2f3;if(_0x23ca17>=this[_0xebb938(0x28d)][_0xebb938(0x2f9)]&&_0x23ca17<=this['_range']['endRow']&&_0x209cfc>=this[_0xebb938(0x28d)][_0xebb938(0x15d)]&&_0x209cfc<=this[_0xebb938(0x28d)][_0xebb938(0x30e)]){this[_0xebb938(0x1cf)]({'hovered':!0x0});return;}this[_0xebb938(0x1cf)]({'hovered':!0x1});}['triggerDblclick'](_0x8e2f53){return!0x1;}[_0x162072(0x1d3)](_0x3c06e6){const _0x40b882=_0x162072;p[_0x40b882(0x30f)]['drawWith'](_0x3c06e6,{'width':this[_0x40b882(0x163)],'height':this[_0x40b882(0x176)],'strokeWidth':Lt,'stroke':this[_0x40b882(0xfb)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x40b882(0x258)]&&(_0x3c06e6[_0x40b882(0x171)](),_0x3c06e6[_0x40b882(0x2e1)](0x1,0x0,0x0,0x1,this['width'],this[_0x40b882(0x159)]===_0x40b882(0x344)?0x0:-W),ee[_0x40b882(0xf5)](_0x3c06e6,{'text':this[_0x40b882(0x115)],'color':this[_0x40b882(0xfb)]}),_0x3c06e6[_0x40b882(0x321)]());}}var Pt=Object[_0x162072(0x250)],wt=(_0x3e2c2e,_0x191af1,_0x3917b0,_0x5c0499)=>{const _0x19977=_0x162072;for(var _0xcecb08=_0x5c0499>0x1?void 0x0:_0x5c0499?Pt(_0x191af1,_0x3917b0):_0x191af1,_0x459928=_0x3e2c2e[_0x19977(0x2fe)]-0x1,_0x5cf2a1;_0x459928>=0x0;_0x459928--)(_0x5cf2a1=_0x3e2c2e[_0x459928])&&(_0xcecb08=_0x5cf2a1(_0xcecb08)||_0xcecb08);return _0xcecb08;},ae=(_0x323605,_0x5f1f3a)=>(_0xe8947f,_0x5ac7aa)=>_0x5f1f3a(_0xe8947f,_0x5ac7aa,_0x323605);const At=0x1389;let Ie=class extends a[_0x162072(0x1b2)]{constructor(_0x15b5a2,_0x3a9315,_0x57ceb7,_0x197c2e){const _0x3268d2=_0x162072;super(),h(this,_0x3268d2(0x161),new Set()),h(this,'_lastPointer',null),(this['_context']=_0x15b5a2,this[_0x3268d2(0x2d9)]=_0x3a9315,this[_0x3268d2(0x2e6)]=_0x57ceb7,this['_themeService']=_0x197c2e,this[_0x3268d2(0x2b0)]());}['_init'](){const _0x21973e=_0x162072;this[_0x21973e(0x2d9)][_0x21973e(0x17c)][_0x21973e(0x2ef)]($[_0x21973e(0x1e7)](this[_0x21973e(0x306)]),$[_0x21973e(0x323)](_0x15f37d=>{const _0x191bba=_0x21973e;if(_0x15f37d){const _0x596bfa=_0x15f37d[_0x191bba(0x153)];return d[_0x191bba(0x10e)](this[_0x191bba(0x2e6)][_0x191bba(0x290)](this[_0x191bba(0x278)]['unitId']),this[_0x191bba(0x16a)][_0x191bba(0xef)])[_0x191bba(0x2ef)]($['map'](([_0x328e78,_0x32686b])=>{const _0x4d2c37=_0x191bba,_0x178a89=new Map();return _0x328e78[_0x4d2c37(0x145)]((_0xf84117,_0x36ca49)=>{const _0xfdf682=_0x4d2c37;if(_0xf84117['sheetID']===_0x596bfa){const _0x203ce2={..._0xf84117};_0x203ce2[_0xfdf682(0x10c)]=this[_0xfdf682(0x16a)][_0xfdf682(0x2b9)](_0xf84117[_0xfdf682(0x10c)]),_0x178a89[_0xfdf682(0x1bd)](_0x36ca49,_0x203ce2);}}),{'skeleton':_0x15f37d,'cursors':_0x178a89};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x53d749,cursors:_0x129a27})=>{const _0x1f943f=_0x21973e;this[_0x1f943f(0x1a8)](),_0x53d749&&this[_0x1f943f(0xe6)](_0x53d749,_0x129a27);}),this['_sheetSkeletonManagerService'][_0x21973e(0x17c)][_0x21973e(0x334)](_0x3e333f=>{const _0x5e67aa=_0x21973e;if(_0x3e333f==null)return;const {skeleton:_0x3e9d38}=_0x3e333f,{scene:_0x15b802}=this['_context'];_0x15b802[_0x5e67aa(0x351)][_0x5e67aa(0x121)](a[_0x5e67aa(0x18c)](_0x692c22=>{const _0x43e331=_0x5e67aa;var _0x588e2f,_0x1ee3d2;const {offsetX:_0x358e0f,offsetY:_0x4e0953}=_0x692c22,{x:_0x2ced0c,y:_0x572e98}=_0x15b802['getRelativeToViewportCoord'](p['Vector2'][_0x43e331(0xf2)]([_0x358e0f,_0x4e0953])),{scaleX:_0x4c9d66,scaleY:_0x5f5ab0}=_0x15b802[_0x43e331(0x33e)](),_0x376c28=_0x15b802['getViewport'](p[_0x43e331(0x2f6)]['VIEW_MAIN']),_0x46adb9=_0x15b802[_0x43e331(0x21c)](p[_0x43e331(0x11f)][_0x43e331(0xf2)]([_0x2ced0c,_0x572e98]),_0x376c28),_0x1949a8=_0x3e9d38[_0x43e331(0x31a)](_0x358e0f,_0x4e0953,_0x4c9d66,_0x5f5ab0,_0x46adb9);((_0x588e2f=this['_lastPointer'])==null?void 0x0:_0x588e2f['column'])===_0x1949a8['column']&&((_0x1ee3d2=this[_0x43e331(0x14b)])==null?void 0x0:_0x1ee3d2[_0x43e331(0x1c0)])===_0x1949a8[_0x43e331(0x1c0)]||this['_cursors'][_0x43e331(0x145)](_0x31c921=>{const _0x3a6fa8=_0x43e331;_0x31c921[_0x3a6fa8(0x29d)](_0x1949a8);});},0x64));});}[_0x162072(0xe6)](_0x4e958b,_0x1eb996){const _0xb7b1c1=_0x162072;var _0x3f8d6c;const _0xc72dc7=(_0x3f8d6c=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x3f8d6c[_0xb7b1c1(0x12b)];if(!_0xc72dc7)return;const _0x46c37e=this[_0xb7b1c1(0x170)]();if(!_0x46c37e)return;this[_0xb7b1c1(0x161)][_0xb7b1c1(0x145)](_0x119931=>{const _0x1ee2bf=_0xb7b1c1;_0x119931[_0x1ee2bf(0x18f)]();});const {scene:_0x5d0127}=_0x46c37e,_0x304210=yt(Array[_0xb7b1c1(0x1b0)](_0x1eb996['values']()))[_0xb7b1c1(0x305)](_0x4c21a5=>{const _0x2ce8ea=_0xb7b1c1,{color:_0x435777,range:_0x5a69ce,name:_0x28d345,selection:_0x428399,sheetID:_0x198682}=_0x4c21a5,{startColumn:_0x205829,startRow:_0x589617,endColumn:_0x2b62fe,endRow:_0x21bce8}=_0x5a69ce,_0x1c255a=G[_0x2ce8ea(0x1e1)](_0x589617,_0x205829,_0x5d0127,_0xc72dc7),_0x153018=G[_0x2ce8ea(0x1e1)](_0x21bce8,_0x2b62fe,_0x5d0127,_0xc72dc7),{columnHeaderHeightAndMarginTop:_0x469f18}=_0xc72dc7,{startX:_0x19b222,startY:_0x2265a9}=_0x1c255a,{endX:_0x4184ea,endY:_0x3ab58e}=_0x153018,_0x10ea23=_0x4184ea-_0x19b222,_0x36bc11=_0x3ab58e-_0x2265a9,_0xb08237={'labelPosition':_0x2265a9-_0x469f18>=W?_0x2ce8ea(0x154):_0x2ce8ea(0x344),'sheetID':_0x198682,'range':_0x5a69ce,'color':_0x435777,'name':_0x28d345,'selection':_0x428399,'left':_0x19b222,'top':_0x2265a9,'width':_0x10ea23,'height':_0x36bc11,'evented':!0x1,'zIndex':At};return new $e(_0x28d345,_0xb08237);});_0x5d0127[_0xb7b1c1(0x228)](_0x304210,Mt),this[_0xb7b1c1(0x161)]=new Set(_0x304210);}[_0x162072(0x1a8)](){const _0x499294=_0x162072;var _0x5243c4;(_0x5243c4=this[_0x499294(0x161)])==null||_0x5243c4['forEach'](_0x181e84=>_0x181e84['dispose']());}[_0x162072(0x170)](){const _0x3ce744=_0x162072;return G[_0x3ce744(0x204)](this[_0x3ce744(0x278)]['unit'],this[_0x3ce744(0x278)]);}};Ie=wt([ae(0x1,a[_0x162072(0xe7)](G[_0x162072(0x312)])),ae(0x2,a[_0x162072(0xe7)](x)),ae(0x3,a[_0x162072(0xe7)](a[_0x162072(0x236)]))],Ie);function yt(_0x1f6815){const _0x57b5a6=_0x162072,_0x856d1d=new Map();return _0x1f6815[_0x57b5a6(0x145)](_0xf8bff6=>{const _0x795524=_0x57b5a6;if(_0x856d1d[_0x795524(0x133)](_0xf8bff6['selection'])){const _0x4cbe8d=_0x856d1d[_0x795524(0x347)](_0xf8bff6[_0x795524(0xec)]);_0x4cbe8d[_0x795524(0x226)]+=',\x20'+_0xf8bff6[_0x795524(0x226)];}else _0x856d1d[_0x795524(0x1bd)](_0xf8bff6[_0x795524(0xec)],_0xf8bff6);}),Array[_0x57b5a6(0x1b0)](_0x856d1d[_0x57b5a6(0x12f)]());}var $t=Object[_0x162072(0x250)],xt=(_0x32f4af,_0x47193c,_0x5bdeee,_0x5b18e4)=>{for(var _0x2c5e96=_0x5b18e4>0x1?void 0x0:_0x5b18e4?$t(_0x47193c,_0x5bdeee):_0x47193c,_0x441283=_0x32f4af['length']-0x1,_0x184696;_0x441283>=0x0;_0x441283--)(_0x184696=_0x32f4af[_0x441283])&&(_0x2c5e96=_0x184696(_0x2c5e96)||_0x2c5e96);return _0x2c5e96;},y=(_0x392d78,_0x5b26a3)=>(_0x2c19bb,_0x228f5e)=>_0x5b26a3(_0x2c19bb,_0x228f5e,_0x392d78);function _0x190c(_0x5be784,_0x26639d){const _0x3f5505=_0x3f55();return _0x190c=function(_0x190c9a,_0x612174){_0x190c9a=_0x190c9a-0xd3;let _0x454cc8=_0x3f5505[_0x190c9a];return _0x454cc8;},_0x190c(_0x5be784,_0x26639d);}let q=class extends a[_0x162072(0x1d5)]{constructor(_0x257ad9,_0x24e612,_0x16247a,_0x111068,_0xb1d3c4,_0x2170a5){const _0x2ac18a=_0x162072;super(),this[_0x2ac18a(0x23b)]=_0x257ad9,this[_0x2ac18a(0x2aa)]=_0x24e612,this['_collaborationUIEventService']=_0x16247a,this['_messageService']=_0x111068,this[_0x2ac18a(0x2ab)]=_0xb1d3c4,this[_0x2ac18a(0x2b5)]=_0x2170a5,this[_0x2ac18a(0x336)](),this[_0x2ac18a(0x26b)]();}[_0x162072(0x336)](){const _0x410d9d=_0x162072;this[_0x410d9d(0x2d7)](this[_0x410d9d(0x23b)][_0x410d9d(0x117)](()=>{const _0xa6bcfa=_0x410d9d;if(this[_0xa6bcfa(0x2aa)]['saveTaskMap'][_0xa6bcfa(0x30a)])return this[_0xa6bcfa(0x2b5)]['t'](_0xa6bcfa(0x1eb));}));}[_0x162072(0x26b)](){const _0x29ae9d=_0x162072;this[_0x29ae9d(0x2d7)](this[_0x29ae9d(0x32e)][_0x29ae9d(0xd4)]['subscribe'](_0x88457f=>{const _0x3a5924=_0x29ae9d;_0x88457f['id']===u[_0x3a5924(0x2f7)][_0x3a5924(0xe2)]&&this['_messageService'][_0x3a5924(0x261)]({'type':D[_0x3a5924(0x17e)][_0x3a5924(0x1ea)],'content':this['_localeService']['t'](_0x3a5924(0x253))}),_0x88457f['id']===u[_0x3a5924(0x2f7)]['CLOSE_ROOM']&&this[_0x3a5924(0x1c9)][_0x3a5924(0x261)]({'type':D[_0x3a5924(0x17e)][_0x3a5924(0x1ea)],'content':this[_0x3a5924(0x2b5)]['t'](_0x3a5924(0x1ac))}),_0x88457f['id']===u[_0x3a5924(0x2f7)][_0x3a5924(0x2a3)]&&this[_0x3a5924(0x2ab)][_0x3a5924(0x261)]({'title':this['_localeService']['t'](_0x3a5924(0x234)),'content':this[_0x3a5924(0x2b5)]['t'](_0x3a5924(0x327)),'type':_0x3a5924(0x114),'duration':0x0}),_0x88457f['id']===u[_0x3a5924(0x2f7)][_0x3a5924(0x108)]&&this[_0x3a5924(0x1c9)][_0x3a5924(0x261)]({'type':D[_0x3a5924(0x17e)][_0x3a5924(0x225)],'content':this[_0x3a5924(0x2b5)]['t'](_0x3a5924(0x1ac))+'('+_0x88457f[_0x3a5924(0x1c8)]+')'}),_0x88457f['id']===u[_0x3a5924(0x2f7)]['JOIN_ROOM_FAILED']&&this[_0x3a5924(0x1c9)][_0x3a5924(0x261)]({'type':D[_0x3a5924(0x17e)][_0x3a5924(0x1ea)],'content':this['_localeService']['t'](_0x88457f['data']||'')}),_0x88457f['id']===u[_0x3a5924(0x2f7)]['SOCKET_FAILED_RETRY']&&this[_0x3a5924(0x1c9)]['show']({'type':D[_0x3a5924(0x17e)]['Warning'],'content':this[_0x3a5924(0x2b5)]['t'](_0x3a5924(0x196))}),_0x88457f['id']===u[_0x3a5924(0x2f7)][_0x3a5924(0x2a4)]&&this[_0x3a5924(0x1c9)][_0x3a5924(0x261)]({'type':D[_0x3a5924(0x17e)][_0x3a5924(0x225)],'content':this['_localeService']['t']('session.connection-failed')}),_0x88457f['id']===u[_0x3a5924(0x2f7)][_0x3a5924(0x26a)]&&this[_0x3a5924(0x1c9)][_0x3a5924(0x261)]({'type':D[_0x3a5924(0x17e)][_0x3a5924(0x225)],'content':this[_0x3a5924(0x2b5)]['t']('session.collaboration-timeout')});}));}};q=xt([y(0x0,O[_0x162072(0x1b3)]),y(0x1,u[_0x162072(0x28e)]),y(0x2,a[_0x162072(0xe7)](u[_0x162072(0x25f)])),y(0x3,O[_0x162072(0x26d)]),y(0x4,O[_0x162072(0x2ca)]),y(0x5,a['Inject'](a[_0x162072(0x1a3)]))],q);const Bt=_0x162072(0x1f9),De={};var jt=Object[_0x162072(0x250)],kt=(_0x2f6eb8,_0x5f27dd,_0x167dd1,_0x4d0b09)=>{for(var _0x4c77ec=_0x4d0b09>0x1?void 0x0:_0x4d0b09?jt(_0x5f27dd,_0x167dd1):_0x5f27dd,_0x523caf=_0x2f6eb8['length']-0x1,_0x384c7b;_0x523caf>=0x0;_0x523caf--)(_0x384c7b=_0x2f6eb8[_0x523caf])&&(_0x4c77ec=_0x384c7b(_0x4c77ec)||_0x4c77ec);return _0x4c77ec;},Ue=(_0x218916,_0x539046)=>(_0x34017d,_0x398e4e)=>_0x539046(_0x34017d,_0x398e4e,_0x218916);let z=class{constructor(_0x310c8f,_0x1adddc){const _0x2ef2ee=_0x162072;this[_0x2ef2ee(0x1fc)]=_0x310c8f,this['_renderManagerService']=_0x1adddc;}[_0x162072(0x241)](_0x48938e){const _0x2566b5=_0x162072;this[_0x2566b5(0x1af)](_0x48938e),this[_0x2566b5(0x193)](_0x48938e);}[_0x162072(0x309)](_0x599b1d){const _0x349652=_0x162072,{unitID:_0x3321de}=_0x599b1d,_0x470a57=this[_0x349652(0x15f)][_0x349652(0x341)](_0x3321de)[_0x349652(0x307)](E[_0x349652(0x1f0)]),{redoCache:_0x34fe9c}=_0x470a57['getUndoRedoMutationParamsCache']();if(_0x34fe9c[_0x349652(0x2fe)]===0x0)return _0x599b1d;let _0x667f5c=a['Tools'][_0x349652(0x257)](_0x599b1d[_0x349652(0x255)][0x0]);for(let _0x2a69b4=0x0;_0x2a69b4<_0x34fe9c[_0x349652(0x2fe)];_0x2a69b4++){const _0x4051fc={'id':_0x349652(0x2bb),'params':{..._0x34fe9c[_0x2a69b4]}},_0x1515e2=this[_0x349652(0x1fc)][_0x349652(0x17b)](_0x667f5c,_0x4051fc,!0x1);if(m[_0x349652(0x175)](_0x1515e2))throw _0x1515e2[_0x349652(0x114)];_0x667f5c=_0x1515e2['m1Prime'];}return{...a['Tools']['deepClone'](_0x599b1d),'mutations':[_0x667f5c]};}[_0x162072(0x1af)](_0x58a51e){const _0x3b9aac=_0x162072,{unitID:_0x490abe}=_0x58a51e,_0xbb9672=this[_0x3b9aac(0x15f)][_0x3b9aac(0x341)](_0x490abe)[_0x3b9aac(0x307)](E[_0x3b9aac(0x1f0)]),{undoCache:_0x4e40c6,redoCache:_0x5b8973}=_0xbb9672[_0x3b9aac(0x33c)]();if(_0x4e40c6[_0x3b9aac(0x2fe)]===0x0||_0x5b8973[_0x3b9aac(0x2fe)]===0x0)return;const _0x59e774=[],_0xec7707=[];let _0x5286b2=a[_0x3b9aac(0x33b)][_0x3b9aac(0x257)](_0x58a51e[_0x3b9aac(0x255)][0x0]),_0xdcb9ae=a[_0x3b9aac(0x33b)]['deepClone'](_0x58a51e[_0x3b9aac(0x255)][0x0]);for(let _0x5d325c=_0x4e40c6[_0x3b9aac(0x2fe)]-0x1;_0x5d325c>=0x0;_0x5d325c--){const _0x15bc4b={'id':'doc.mutation.rich-text-editing','params':{..._0x4e40c6[_0x5d325c]}},_0x3a5a22={'id':_0x3b9aac(0x2bb),'params':{..._0x5b8973[_0x5d325c]}},_0x327c3c=this[_0x3b9aac(0x1fc)][_0x3b9aac(0x17b)](_0x5286b2,_0x15bc4b,!0x1),_0x308f12=this[_0x3b9aac(0x1fc)]['transformMutation'](_0xdcb9ae,_0x3a5a22,!0x1);if(m[_0x3b9aac(0x175)](_0x327c3c))throw _0x327c3c[_0x3b9aac(0x114)];if(m[_0x3b9aac(0x175)](_0x308f12))throw _0x308f12[_0x3b9aac(0x114)];_0x59e774[_0x3b9aac(0x198)](_0x327c3c[_0x3b9aac(0x338)]['params']),_0xec7707[_0x3b9aac(0x198)](_0x308f12[_0x3b9aac(0x338)][_0x3b9aac(0x298)]),_0x5286b2=_0x327c3c[_0x3b9aac(0x27e)],_0xdcb9ae=_0x308f12[_0x3b9aac(0x27e)];}_0xbb9672['setUndoRedoMutationParamsCache']({'undoCache':_0x59e774,'redoCache':_0xec7707});}[_0x162072(0x193)](_0x3818cf){const _0x18685d=_0x162072,{unitID:_0x234bd3}=_0x3818cf,_0x267314=this[_0x18685d(0x15f)]['getRenderById'](_0x234bd3)[_0x18685d(0x307)](E[_0x18685d(0x1f0)]),_0x3d06f6=_0x267314[_0x18685d(0x2ba)]();if(_0x3d06f6==null)return;const _0x2f371d=[{'id':_0x18685d(0x2bb),'params':{'unitId':_0x3818cf[_0x18685d(0x2f5)],'actions':null,'textRanges':[_0x3d06f6]}}],_0x298181=this[_0x18685d(0x1fc)][_0x18685d(0x2a9)](_0x3818cf,_0x2f371d);if(!m[_0x18685d(0x165)](_0x298181))throw _0x298181[_0x18685d(0x114)];const _0x583c81=_0x298181[_0x18685d(0x338)][0x0][_0x18685d(0x298)][_0x18685d(0x14f)];Array[_0x18685d(0x126)](_0x583c81)&&_0x583c81['length']&&_0x267314['setActiveRange'](_0x583c81[0x0]);}};z=kt([Ue(0x0,m['ITransformService']),Ue(0x1,p[_0x162072(0x1f4)])],z);var Ft=Object[_0x162072(0x250)],Ht=(_0x4fb906,_0x1d5062,_0x5a424d,_0x5689ad)=>{for(var _0x446d95=_0x5689ad>0x1?void 0x0:_0x5689ad?Ft(_0x1d5062,_0x5a424d):_0x1d5062,_0x42f645=_0x4fb906['length']-0x1,_0x5cf943;_0x42f645>=0x0;_0x42f645--)(_0x5cf943=_0x4fb906[_0x42f645])&&(_0x446d95=_0x5cf943(_0x446d95)||_0x446d95);return _0x446d95;},ce=(_0x1e5080,_0xe20f82)=>(_0xfe91d3,_0x11301d)=>_0xe20f82(_0xfe91d3,_0x11301d,_0x1e5080);let J=class{constructor(_0x23ceae,_0x499ef3,_0x4272fd){const _0x41e448=_0x162072;this['_injector']=_0x23ceae,this[_0x41e448(0x1fc)]=_0x499ef3,this[_0x41e448(0x288)]=_0x4272fd;}[_0x162072(0x103)](_0x2f3ee4){this['_transformHistoryAndStateStack'](_0x2f3ee4);}[_0x162072(0x309)](_0x59fc69){const _0x45bc1e=_0x162072,{unitID:_0x10452c}=_0x59fc69,{collaboration:_0x3427d0}=this[_0x45bc1e(0x288)]['getStateCache'](_0x10452c);if(_0x3427d0[_0x45bc1e(0x2fe)]===0x0)return _0x59fc69;let _0x273da6=a['Tools']['deepClone'](_0x59fc69['mutations'][0x0]);for(let _0x14356b=0x0;_0x14356b<_0x3427d0[_0x45bc1e(0x2fe)];_0x14356b++){const _0x5adc57={'id':_0x45bc1e(0x2bb),'params':{'unitId':_0x3427d0[_0x14356b][_0x45bc1e(0x11d)],..._0x3427d0[_0x14356b][_0x45bc1e(0x15e)]}},_0x28db20=this['_transformService'][_0x45bc1e(0x17b)](_0x273da6,_0x5adc57,!0x1);if(m['isTransformMutationFailure'](_0x28db20))throw _0x28db20[_0x45bc1e(0x114)];_0x273da6=_0x28db20[_0x45bc1e(0x27e)];}return{...a[_0x45bc1e(0x33b)][_0x45bc1e(0x257)](_0x59fc69),'mutations':[_0x273da6]};}[_0x162072(0xd5)](_0x3d6ff6){const _0x334e2a=_0x162072,{unitID:_0x556fc1}=_0x3d6ff6,{history:_0x2c16e7,collaboration:_0x2e855d}=this['_docStateChangeManagerService']['getStateCache'](_0x556fc1);if(_0x2c16e7[_0x334e2a(0x2fe)]===0x0&&_0x2e855d[_0x334e2a(0x2fe)]===0x0)return;const _0x3d719e=[],_0x37ef9b=[];let _0x3ff6b0=a[_0x334e2a(0x33b)][_0x334e2a(0x257)](_0x3d6ff6[_0x334e2a(0x255)][0x0]),_0x5abad0=a['Tools'][_0x334e2a(0x257)](_0x3d6ff6[_0x334e2a(0x255)][0x0]);for(let _0x5409a7=_0x2c16e7[_0x334e2a(0x2fe)]-0x1;_0x5409a7>=0x0;_0x5409a7--){const _0x391cec={'id':_0x334e2a(0x2bb),'params':{'unitId':_0x2c16e7[_0x5409a7][_0x334e2a(0x11d)],..._0x2c16e7[_0x5409a7][_0x334e2a(0x212)]}},_0x42f65e={'id':_0x334e2a(0x2bb),'params':{'unitId':_0x2c16e7[_0x5409a7]['unitId'],..._0x2c16e7[_0x5409a7][_0x334e2a(0x15e)]}},_0x2134d0=this[_0x334e2a(0x1fc)][_0x334e2a(0x17b)](_0x3ff6b0,_0x391cec,!0x1),_0x1b6e9e=this[_0x334e2a(0x1fc)][_0x334e2a(0x17b)](_0x5abad0,_0x42f65e,!0x1);if(m[_0x334e2a(0x175)](_0x2134d0))throw _0x2134d0['error'];if(m['isTransformMutationFailure'](_0x1b6e9e))throw _0x1b6e9e[_0x334e2a(0x114)];_0x3d719e['unshift']({..._0x2c16e7[_0x5409a7],'undoState':_0x2134d0[_0x334e2a(0x338)][_0x334e2a(0x298)],'redoState':_0x1b6e9e[_0x334e2a(0x338)][_0x334e2a(0x298)]}),_0x3ff6b0=_0x2134d0[_0x334e2a(0x27e)],_0x5abad0=_0x1b6e9e[_0x334e2a(0x27e)];}_0x3ff6b0=a[_0x334e2a(0x33b)][_0x334e2a(0x257)](_0x3d6ff6[_0x334e2a(0x255)][0x0]),_0x5abad0=a[_0x334e2a(0x33b)][_0x334e2a(0x257)](_0x3d6ff6[_0x334e2a(0x255)][0x0]);for(let _0x24f6ba=_0x2e855d[_0x334e2a(0x2fe)]-0x1;_0x24f6ba>=0x0;_0x24f6ba--){const _0x5b14a3={'id':_0x334e2a(0x2bb),'params':{'unitId':_0x2e855d[_0x24f6ba][_0x334e2a(0x11d)],..._0x2e855d[_0x24f6ba][_0x334e2a(0x212)]}},_0x1c8dad={'id':_0x334e2a(0x2bb),'params':{'unitId':_0x2e855d[_0x24f6ba][_0x334e2a(0x11d)],..._0x2e855d[_0x24f6ba][_0x334e2a(0x15e)]}},_0x16e7b5=this['_transformService']['transformMutation'](_0x3ff6b0,_0x5b14a3,!0x1),_0x40e803=this[_0x334e2a(0x1fc)]['transformMutation'](_0x5abad0,_0x1c8dad,!0x1);if(m[_0x334e2a(0x175)](_0x16e7b5))throw _0x16e7b5['error'];if(m[_0x334e2a(0x175)](_0x40e803))throw _0x40e803[_0x334e2a(0x114)];_0x37ef9b['unshift']({..._0x2e855d[_0x24f6ba],'undoState':_0x16e7b5[_0x334e2a(0x338)][_0x334e2a(0x298)],'redoState':_0x40e803[_0x334e2a(0x338)][_0x334e2a(0x298)]}),_0x3ff6b0=_0x16e7b5['m1Prime'],_0x5abad0=_0x40e803['m1Prime'];}this['_docStateChangeManagerService'][_0x334e2a(0xe3)](_0x556fc1,{'history':_0x3d719e,'collaboration':_0x37ef9b});}};J=Ht([ce(0x0,a[_0x162072(0xe7)](a[_0x162072(0x21b)])),ce(0x1,m[_0x162072(0x140)]),ce(0x2,a[_0x162072(0xe7)](E[_0x162072(0x1f3)]))],J);var Yt=Object[_0x162072(0x250)],Wt=(_0x5408d3,_0x79b4c2,_0x550f42,_0x1f2bd0)=>{const _0x52ddcc=_0x162072;for(var _0x4c9f9b=_0x1f2bd0>0x1?void 0x0:_0x1f2bd0?Yt(_0x79b4c2,_0x550f42):_0x79b4c2,_0x2e63b8=_0x5408d3[_0x52ddcc(0x2fe)]-0x1,_0x292768;_0x2e63b8>=0x0;_0x2e63b8--)(_0x292768=_0x5408d3[_0x2e63b8])&&(_0x4c9f9b=_0x292768(_0x4c9f9b)||_0x4c9f9b);return _0x4c9f9b;},Ne=(_0x2f9421,_0x5bf362)=>(_0x1ed999,_0x500253)=>_0x5bf362(_0x1ed999,_0x500253,_0x2f9421);let Z=class{constructor(_0x2acaa4,_0x1ec1db){const _0x14930d=_0x162072;this[_0x14930d(0x2e7)]=_0x2acaa4,this['_transformService']=_0x1ec1db;}[_0x162072(0x1fd)](_0x41a891){const _0xe6a5b8=_0x162072;var _0x42593b;const _0x4f9e81=this['_injector'][_0xe6a5b8(0x347)](Y['DocSelectionManagerService']),_0x34df05=(_0x42593b=_0x4f9e81['getDocRanges']())!=null?_0x42593b:[];if(_0x34df05['length']===0x0)return;const _0x2a2397=_0x41a891['unitID'],_0x210308=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a2397,'actions':null,'textRanges':_0x34df05}}],_0x21c3f8=this[_0xe6a5b8(0x1fc)][_0xe6a5b8(0x2a9)](_0x41a891,_0x210308);if(!m[_0xe6a5b8(0x165)](_0x21c3f8))throw _0x21c3f8[_0xe6a5b8(0x114)];const _0x4d04f7=_0x21c3f8['m2Prime'][0x0][_0xe6a5b8(0x298)][_0xe6a5b8(0x14f)];Array['isArray'](_0x4d04f7)&&_0x4d04f7[_0xe6a5b8(0x2fe)]&&_0x4f9e81[_0xe6a5b8(0x1a6)](_0x4d04f7,{'unitId':_0x2a2397,'subUnitId':_0x2a2397},!0x1);}};Z=Wt([Ne(0x0,a[_0x162072(0xe7)](a[_0x162072(0x21b)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0x162072(0x250)],Xt=(_0x461bed,_0x5e5c64,_0x12a319,_0x328bad)=>{const _0x1678c9=_0x162072;for(var _0x4e3e52=_0x328bad>0x1?void 0x0:_0x328bad?Vt(_0x5e5c64,_0x12a319):_0x5e5c64,_0x223496=_0x461bed[_0x1678c9(0x2fe)]-0x1,_0x20a730;_0x223496>=0x0;_0x223496--)(_0x20a730=_0x461bed[_0x223496])&&(_0x4e3e52=_0x20a730(_0x4e3e52)||_0x4e3e52);return _0x4e3e52;},N=(_0xcfe797,_0x468e90)=>(_0x3ff65c,_0x896a4f)=>_0x468e90(_0x3ff65c,_0x896a4f,_0xcfe797);let Q=class extends a[_0x162072(0x1d5)]{constructor(_0x496834,_0x2780fd,_0x81733,_0x3c4742,_0x5eeab3,_0x246125,_0xa2df00,_0x219918){const _0xb41b84=_0x162072;super(),h(this,_0xb41b84(0x1e6),new d[(_0xb41b84(0x206))](u[_0xb41b84(0x1ec)][_0xb41b84(0x2c4)])),(this['_docStateChangeManagerService']=_0x496834,this[_0xb41b84(0x19a)]=_0x2780fd,this[_0xb41b84(0x10d)]=_0x81733,this[_0xb41b84(0x22f)]=_0x3c4742,this[_0xb41b84(0x12a)]=_0x5eeab3,this['_docSyncEditingCollabCursorService']=_0x246125,this['_messageService']=_0xa2df00,this[_0xb41b84(0x2b5)]=_0x219918,this[_0xb41b84(0x331)]());}['_initEntityListener'](){const _0x3d0dbe=_0x162072;this[_0x3d0dbe(0x2d7)](this[_0x3d0dbe(0x19a)][_0x3d0dbe(0x33a)][_0x3d0dbe(0x334)](_0x5e3b0f=>{const _0x4c4990=_0x3d0dbe,_0x2b7d1f=this['_docStateChangeManagerService'][_0x4c4990(0xfe)]['subscribe'](_0x494acf=>{const _0x171780=_0x4c4990;if(_0x494acf==null)return;const {unitId:_0x1f5a90,redoState:_0x205d39,commandId:_0x1e5da3}=_0x494acf;if(_0x1f5a90!==_0x5e3b0f['unitID'])return;const _0x267002={'id':_0x1e5da3,'type':a[_0x171780(0x2af)][_0x171780(0x104)],'params':{'unitId':_0x1f5a90,'actions':_0x205d39[_0x171780(0x2c1)],'textRanges':null}};_0x5e3b0f[_0x171780(0x29b)](_0x267002);});if(_0x5e3b0f[_0x4c4990(0x2d7)](_0x2b7d1f),_0x5e3b0f instanceof u[_0x4c4990(0x317)]){const _0x4399a4={'onTransformIME':_0x4a2b4f=>this[_0x4c4990(0x10d)]['transformIMECache'](_0x4a2b4f),'onTransformState':_0x10648c=>this[_0x4c4990(0x22f)][_0x4c4990(0x103)](_0x10648c),'onTransformSelections':_0x28590c=>this[_0x4c4990(0x12a)][_0x4c4990(0x1fd)](_0x28590c),'onSyncEditingCollabCursor':_0x2044dc=>this[_0x4c4990(0xe0)][_0x4c4990(0x181)](_0x2044dc),'onTransformRemoteChangesetByIMECache':_0x26a050=>this[_0x4c4990(0x10d)]['transformRemoteChangeset'](_0x26a050),'onTransformRemoteChangesetByStateCache':_0xb03c08=>this[_0x4c4990(0x22f)]['transformRemoteChangeset'](_0xb03c08)};_0x5e3b0f['addHandlerCallback'](_0x4399a4);}}));}};Q=Xt([N(0x0,a[_0x162072(0xe7)](E['DocStateChangeManagerService'])),N(0x1,a[_0x162072(0xe7)](u[_0x162072(0x1ed)])),N(0x2,a[_0x162072(0xe7)](z)),N(0x3,a['Inject'](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x162072(0xe7)](pe)),N(0x6,O[_0x162072(0x26d)]),N(0x7,a[_0x162072(0xe7)](a['LocaleService']))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x5dc021,_0x1a3d47,_0x518189,_0x1e238d)=>{const _0x537b39=_0x162072;for(var _0x3ec71c=_0x1e238d>0x1?void 0x0:_0x1e238d?Gt(_0x1a3d47,_0x518189):_0x1a3d47,_0x55596e=_0x5dc021[_0x537b39(0x2fe)]-0x1,_0xc13fd1;_0x55596e>=0x0;_0x55596e--)(_0xc13fd1=_0x5dc021[_0x55596e])&&(_0x3ec71c=_0xc13fd1(_0x3ec71c)||_0x3ec71c);return _0x3ec71c;},le=(_0x12b801,_0x14fd0a)=>(_0x340610,_0x43c1d4)=>_0x14fd0a(_0x340610,_0x43c1d4,_0x12b801);let ve=class extends a[_0x162072(0x1d5)]{constructor(_0x3e2f46,_0xfb930,_0x806f5d){const _0x283bfa=_0x162072;super(),h(this,_0x283bfa(0x34b),new Map()),h(this,_0x283bfa(0x348),new Map()),h(this,_0x283bfa(0x270),!0x1),(this['_configService']=_0x3e2f46,this['_localStorageService']=_0xfb930,this['_revisionService']=_0x806f5d);}[_0x162072(0x2b7)](){const _0x216cfc=_0x162072;this[_0x216cfc(0x270)]=!0x0;}[_0x162072(0x346)](){const _0x166370=_0x162072;this[_0x166370(0x270)]=!0x1;}get['saveTaskMap'](){const _0x40fb72=_0x162072;return this[_0x40fb72(0x348)];}[_0x162072(0x135)](){const _0x1b6553=_0x162072;this[_0x1b6553(0x313)]()[_0x1b6553(0x1dc)](()=>super[_0x1b6553(0x135)]());}async[_0x162072(0x31b)](_0x41b025){const _0x2bbc23=_0x162072;return this[_0x2bbc23(0x270)]?null:this[_0x2bbc23(0x2f3)]['getItem'](u[_0x2bbc23(0x285)](_0x41b025));}async[_0x162072(0x20c)](_0x2094d,_0x1fa82b){const _0x51fd56=_0x162072;return!!this['_localStorageService'][_0x51fd56(0x27f)](_0x2094d,_0x1fa82b);}['updateOfflineData'](_0x4a3301,_0x1d6cdd,_0x2f2f06,_0x264fc5){const _0x2c44f9=_0x162072,_0x20dbc5=this['_revisionService'][_0x2c44f9(0x275)](_0x4a3301);this[_0x2c44f9(0x34b)][_0x2c44f9(0x1bd)](_0x4a3301,{'unitID':_0x4a3301,'type':_0x1d6cdd,'awaitingChangeset':_0x2f2f06,'mutations':_0x264fc5,'rev':_0x20dbc5}),this['_saveTaskMap']['has'](_0x4a3301)||this[_0x2c44f9(0x2b6)](_0x4a3301);}[_0x162072(0x2b6)](_0x3b51e7){const _0x114933=_0x162072,_0x5578a9=this[_0x114933(0x195)]();_0x5578a9===0x0?this['_saveCache'](_0x3b51e7):this['_saveTaskMap'][_0x114933(0x1bd)](_0x3b51e7,setTimeout(()=>this['_saveCache'](_0x3b51e7),_0x5578a9));}[_0x162072(0x195)](){const _0x59afa7=_0x162072;var _0x25c3d3;return(_0x25c3d3=this[_0x59afa7(0x1df)][_0x59afa7(0x166)](u[_0x59afa7(0xf6)]))!=null?_0x25c3d3:u[_0x59afa7(0x2fc)];}[_0x162072(0x123)](_0x2bae21){const _0x3cc735=_0x162072,_0x1a05a0=this[_0x3cc735(0x348)][_0x3cc735(0x347)](_0x2bae21);return _0x1a05a0!==void 0x0&&window[_0x3cc735(0x2b1)](_0x1a05a0),this['_localStorageService'][_0x3cc735(0x27f)](u['getLocalCacheKey'](_0x2bae21),this[_0x3cc735(0x34b)][_0x3cc735(0x347)](_0x2bae21))[_0x3cc735(0x1dc)](()=>this[_0x3cc735(0x348)]['delete'](_0x2bae21));}async[_0x162072(0x313)](){const _0x3a4952=_0x162072,_0x1149c9=[];this[_0x3a4952(0x348)][_0x3a4952(0x145)]((_0x232f8e,_0x5e8ca5)=>{const _0x7a5423=_0x3a4952;window[_0x7a5423(0x2b1)](_0x232f8e),_0x1149c9[_0x7a5423(0x1b9)](this['_saveCache'](_0x5e8ca5)[_0x7a5423(0x1dc)](()=>{const _0x3144ea=_0x7a5423;this[_0x3144ea(0x348)][_0x3144ea(0x16e)](_0x5e8ca5);}));}),await Promise[_0x3a4952(0x31e)](_0x1149c9);}};ve=Kt([le(0x0,a[_0x162072(0x2fd)]),le(0x1,a['ILocalStorageService']),le(0x2,a['Inject'](m[_0x162072(0xe8)]))],ve);class xe extends a[_0x162072(0x1b2)]{constructor(){const _0x4f8b09=_0x162072;super(),h(this,_0x4f8b09(0x2bf)),this[_0x4f8b09(0x2bf)]=d[_0x4f8b09(0x2cb)](window,_0x4f8b09(0x34c))[_0x4f8b09(0x2ef)](d[_0x4f8b09(0x1e7)](this[_0x4f8b09(0x306)]),d[_0x4f8b09(0x319)](0x1),d[_0x4f8b09(0x26e)](void 0x0));}[_0x162072(0xf3)](_0x165831,_0x52b44e,_0x43da9d=!0x1){const _0x16ac9e=_0x162072,_0x1866a5=new URL(window[_0x16ac9e(0x137)]['href']);_0x1866a5[_0x16ac9e(0x23e)][_0x16ac9e(0x1bd)](_0x165831,_0x52b44e),_0x43da9d?window[_0x16ac9e(0x237)][_0x16ac9e(0x34f)]('','',_0x1866a5['toString']()):window[_0x16ac9e(0x237)][_0x16ac9e(0x233)]('','',_0x1866a5['toString']());}['removeParam'](_0x4d4cb9,_0x20ac7f=!0x1){const _0x48c5dc=_0x162072,_0xd9bc1f=new URL(window[_0x48c5dc(0x137)][_0x48c5dc(0x210)]);_0xd9bc1f[_0x48c5dc(0x23e)][_0x48c5dc(0x16e)](_0x4d4cb9),_0x20ac7f?window['history'][_0x48c5dc(0x34f)]('','',_0xd9bc1f[_0x48c5dc(0x124)]()):window[_0x48c5dc(0x237)][_0x48c5dc(0x233)]('','',_0xd9bc1f[_0x48c5dc(0x124)]());}[_0x162072(0x1a1)](_0x179acb){const _0x29fdc8=_0x162072;var _0x15171b;return(_0x15171b=new URL(window[_0x29fdc8(0x137)][_0x29fdc8(0x210)])[_0x29fdc8(0x23e)][_0x29fdc8(0x347)](_0x179acb))!=null?_0x15171b:void 0x0;}}var qt=Object[_0x162072(0x27d)],zt=Object[_0x162072(0x250)],Jt=(_0x81c65b,_0x2a43a2,_0x3b81d8)=>_0x2a43a2 in _0x81c65b?qt(_0x81c65b,_0x2a43a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b81d8}):_0x81c65b[_0x2a43a2]=_0x3b81d8,Zt=(_0x244e7d,_0x55663e,_0x272c18,_0x407a06)=>{const _0x57ff5d=_0x162072;for(var _0x310f5f=_0x407a06>0x1?void 0x0:_0x407a06?zt(_0x55663e,_0x272c18):_0x55663e,_0x4a0194=_0x244e7d[_0x57ff5d(0x2fe)]-0x1,_0x5a000f;_0x4a0194>=0x0;_0x4a0194--)(_0x5a000f=_0x244e7d[_0x4a0194])&&(_0x310f5f=_0x5a000f(_0x310f5f)||_0x310f5f);return _0x310f5f;},_e=(_0x32af92,_0x4b7be5)=>(_0x1abcb6,_0x419d6e)=>_0x4b7be5(_0x1abcb6,_0x419d6e,_0x32af92),Qt=(_0x28d245,_0x22302b,_0x5b19e4)=>Jt(_0x28d245,_0x22302b+'',_0x5b19e4);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x162072(0x276)]=class extends a[_0x162072(0x248)]{constructor(_0x4021bb=De,_0x4b610e,_0x11a406,_0x464c57){const _0x3d39c0=_0x162072;super(),this[_0x3d39c0(0x213)]=_0x4021bb,this[_0x3d39c0(0x15f)]=_0x4b610e,this[_0x3d39c0(0x2e7)]=_0x11a406,this[_0x3d39c0(0x1df)]=_0x464c57;const {..._0x2e1558}=a['merge']({},De,this[_0x3d39c0(0x213)]);this['_configService'][_0x3d39c0(0x301)](Bt,_0x2e1558);}[_0x162072(0x13e)](){const _0x12551f=_0x162072;this[_0x12551f(0xff)](),this['_initDependencies']();}[_0x162072(0x2d0)](){const _0x2f3bec=_0x162072;this[_0x2f3bec(0x1c5)]();}[_0x162072(0xff)](){const _0x46b4b9=_0x162072;var _0x58c18c;const _0x5d3568=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K[_0x46b4b9(0x1d0)],{'useClass':K[_0x46b4b9(0x1b7)]}],[u['ILocalCacheService'],{'useClass':ve}],[exports[_0x46b4b9(0x2d6)]],[Q],[q],[x],[ue],[exports[_0x46b4b9(0x174)]]];a[_0x46b4b9(0x11e)](this[_0x46b4b9(0x2e7)],a[_0x46b4b9(0x1c6)](_0x5d3568,(_0x58c18c=this[_0x46b4b9(0x213)])==null?void 0x0:_0x58c18c[_0x46b4b9(0x1f6)]));}[_0x162072(0x1c5)](){const _0x452a34=_0x162072;this['disposeWithMe'](this[_0x452a34(0x15f)]['registerRenderModule'](a[_0x452a34(0x33f)][_0x452a34(0xf0)],[fe])),this[_0x452a34(0x2d7)](this['_renderManagerService'][_0x452a34(0x132)](a[_0x452a34(0x33f)][_0x452a34(0x177)],[Ie]));}[_0x162072(0x1ca)](){const _0x23d318=_0x162072;a[_0x23d318(0x1e4)](this['_injector'],[[x],[exports[_0x23d318(0x2d6)]],[Q],[q],[exports[_0x23d318(0x174)]]]);}},Qt(exports[_0x162072(0x276)],_0x162072(0x286),es),exports[_0x162072(0x276)]=Zt([a['DependentOn'](u[_0x162072(0x184)]),_e(0x1,p[_0x162072(0x1f4)]),_e(0x2,a['Inject'](a[_0x162072(0x21b)])),_e(0x3,a[_0x162072(0x2fd)])],exports[_0x162072(0x276)]);var ts=Object[_0x162072(0x250)],ss=(_0x4a31e3,_0x2a14f7,_0xb143e7,_0x42cb8f)=>{const _0x157d55=_0x162072;for(var _0x2222a8=_0x42cb8f>0x1?void 0x0:_0x42cb8f?ts(_0x2a14f7,_0xb143e7):_0x2a14f7,_0x31aec8=_0x4a31e3[_0x157d55(0x2fe)]-0x1,_0xac6cc4;_0x31aec8>=0x0;_0x31aec8--)(_0xac6cc4=_0x4a31e3[_0x31aec8])&&(_0x2222a8=_0xac6cc4(_0x2222a8)||_0x2222a8);return _0x2222a8;},H=(_0x1c5f01,_0x32dff9)=>(_0x5ac43e,_0x4b6db3)=>_0x32dff9(_0x5ac43e,_0x4b6db3,_0x1c5f01);exports[_0x162072(0x2d3)]=class extends u[_0x162072(0x256)]{constructor(_0x235e3f,_0x34f14b,_0x1aabed,_0x5b2a30,_0x191260){super(_0x235e3f,_0x34f14b,_0x1aabed,_0x5b2a30,_0x191260);}async[_0x162072(0x207)](_0x3af834){const _0x1136fd=_0x162072,_0x8adbd1=await this[_0x1136fd(0x296)](),_0x1771b0=this['_createSocketURL'](_0x3af834,_0x8adbd1);return this[_0x1136fd(0x22a)](_0x1771b0);}['_createSocketURL'](_0x162d66,_0x10545b){const _0xbf1e32=_0x162072,_0x289cf9=typeof window>'u'?new URL(_0x162d66):new URL(_0x162d66,window[_0xbf1e32(0x137)][_0xbf1e32(0x1c1)]);_0x289cf9[_0xbf1e32(0x23e)]['set'](_0xbf1e32(0x1b4),_0x10545b);const _0x278e08=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x278e08[_0xbf1e32(0x347)](_0xbf1e32(0x2f2))&&_0x289cf9[_0xbf1e32(0x23e)][_0xbf1e32(0x1bd)](_0xbf1e32(0x2f2),_0x278e08['get']('runId')),_0x289cf9['toString']();}async[_0x162072(0x296)](){const _0xcf5576=_0x162072;var _0x5f384f,_0x4aef3e,_0x9a4b39;const _0x576aee=this['_configService'][_0xcf5576(0x166)](u[_0xcf5576(0x1aa)]),_0x59c64e=(_0x5f384f=_0x576aee==null?void 0x0:_0x576aee[_0xcf5576(0x262)])!=null?_0x5f384f:u[_0xcf5576(0x1fb)];return(_0x9a4b39=(_0x4aef3e=(await this[_0xcf5576(0x188)][_0xcf5576(0x347)](_0x59c64e,{'headers':{'Content-Type':_0xcf5576(0x17f)}}))[_0xcf5576(0x1cc)])==null?void 0x0:_0x4aef3e[_0xcf5576(0x13a)])!=null?_0x9a4b39:'';}},exports[_0x162072(0x2d3)]=ss([H(0x0,a[_0x162072(0xe7)](a[_0x162072(0x21b)])),H(0x1,a[_0x162072(0xe7)](K[_0x162072(0x20a)])),H(0x2,a[_0x162072(0x2fd)]),H(0x3,a['ILogService']),H(0x4,m[_0x162072(0x1fe)])],exports[_0x162072(0x2d3)]);var Be=(_0x518adc=>(_0x518adc[_0x518adc[_0x162072(0x1ab)]=0x0]=_0x162072(0x1ab),_0x518adc[_0x518adc['OK']=0x1]='OK',_0x518adc[_0x518adc['INTERNAL_ERROR']=0x2]=_0x162072(0x183),_0x518adc[_0x518adc['PERMISSION_DENIED']=0x3]=_0x162072(0x2a3),_0x518adc[_0x518adc['NOT_FOUND']=0x4]='NOT_FOUND',_0x518adc[_0x518adc[_0x162072(0x2c0)]=0x5]=_0x162072(0x2c0),_0x518adc[_0x518adc[_0x162072(0x172)]=0x6]=_0x162072(0x172),_0x518adc[_0x518adc[_0x162072(0x34d)]=0x7]='INVALID_ARGUMENT',_0x518adc[_0x518adc[_0x162072(0x325)]=0x8]='TOO_MANY_REQUESTS',_0x518adc[_0x518adc[_0x162072(0x10a)]=0x9]='COMPLETION_FINISHED',_0x518adc[_0x518adc[_0x162072(0x316)]=0xa]=_0x162072(0x316),_0x518adc[_0x518adc[_0x162072(0x27a)]=0xb]=_0x162072(0x27a),_0x518adc[_0x518adc['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x162072(0x333),_0x518adc[_0x518adc[_0x162072(0x194)]=0xd]=_0x162072(0x194),_0x518adc[_0x518adc[_0x162072(0x2d8)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x518adc[_0x518adc['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x162072(0x190),_0x518adc[_0x518adc[_0x162072(0x2f4)]=0x1771]=_0x162072(0x2f4),_0x518adc[_0x518adc[_0x162072(0x197)]=0x1772]=_0x162072(0x197),_0x518adc[_0x518adc[_0x162072(0x223)]=0x1773]=_0x162072(0x223),_0x518adc[_0x518adc['APPLY_REJECT']=0x1b59]=_0x162072(0x1e2),_0x518adc[_0x518adc[_0x162072(0x2e4)]=0x1b5a]=_0x162072(0x2e4),_0x518adc[_0x518adc['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x162072(0x12c),_0x518adc[_0x518adc[_0x162072(0x211)]=0x1b5c]=_0x162072(0x211),_0x518adc[_0x518adc[_0x162072(0x33d)]=0x1b5d]=_0x162072(0x33d),_0x518adc[_0x518adc['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x162072(0x1b5),_0x518adc[_0x518adc[_0x162072(0xfa)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x518adc[_0x518adc[_0x162072(0x221)]=0x232a]=_0x162072(0x221),_0x518adc[_0x518adc[_0x162072(0x18d)]=0x232b]=_0x162072(0x18d),_0x518adc[_0x518adc['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x162072(0x264),_0x518adc[_0x518adc['LICENSE_DISTRO_REJECTED']=0x232d]=_0x162072(0x2e3),_0x518adc[_0x518adc[_0x162072(0x320)]=0x2711]=_0x162072(0x320),_0x518adc[_0x518adc[_0x162072(0x2d5)]=0x2712]=_0x162072(0x2d5),_0x518adc[_0x518adc[_0x162072(0x300)]=0x2713]=_0x162072(0x300),_0x518adc[_0x518adc[_0x162072(0x185)]=0x2714]=_0x162072(0x185),_0x518adc[_0x518adc[_0x162072(0x343)]=0x271a]=_0x162072(0x343),_0x518adc[_0x518adc['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x518adc[_0x518adc['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x162072(0x111),_0x518adc[_0x518adc[_0x162072(0x209)]=0x271d]=_0x162072(0x209),_0x518adc[_0x518adc[_0x162072(0x2b3)]=0x271e]=_0x162072(0x2b3),_0x518adc[_0x518adc[_0x162072(0x138)]=0x271f]=_0x162072(0x138),_0x518adc[_0x518adc[_0x162072(0x32f)]=0x2720]=_0x162072(0x32f),_0x518adc[_0x518adc[_0x162072(0x274)]=0x2af9]=_0x162072(0x274),_0x518adc[_0x518adc[_0x162072(0xe9)]=0x2ee1]=_0x162072(0xe9),_0x518adc[_0x518adc['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x518adc[_0x518adc[_0x162072(0x342)]=0x2ee3]=_0x162072(0x342),_0x518adc[_0x518adc[_0x162072(0x239)]=0x2ee4]=_0x162072(0x239),_0x518adc[_0x518adc[_0x162072(0x30d)]=0x2ee5]=_0x162072(0x30d),_0x518adc[_0x518adc[_0x162072(0x26f)]=0x32c9]=_0x162072(0x26f),_0x518adc[_0x518adc[_0x162072(0x326)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x518adc[_0x518adc['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x162072(0x281),_0x518adc[_0x518adc[_0x162072(0x352)]=-0x1]=_0x162072(0x352),_0x518adc))(Be||{}),is=Object['getOwnPropertyDescriptor'],ns=(_0x2f6039,_0x54f9de,_0x4f644c,_0x3078b8)=>{for(var _0x54d12f=_0x3078b8>0x1?void 0x0:_0x3078b8?is(_0x54f9de,_0x4f644c):_0x54f9de,_0x5d3cab=_0x2f6039['length']-0x1,_0x522fed;_0x5d3cab>=0x0;_0x5d3cab--)(_0x522fed=_0x2f6039[_0x5d3cab])&&(_0x54d12f=_0x522fed(_0x54d12f)||_0x54d12f);return _0x54d12f;},he=(_0x5aa9ea,_0x2b08d8)=>(_0x5545eb,_0xebff25)=>_0x2b08d8(_0x5545eb,_0xebff25,_0x5aa9ea);exports[_0x162072(0x2ee)]=class extends a[_0x162072(0x1d5)]{constructor(_0x17f4dd,_0x133f5a,_0x17cbb0){const _0x3e2114=_0x162072;super(),this[_0x3e2114(0x202)]=_0x17f4dd,this[_0x3e2114(0x188)]=_0x133f5a,this[_0x3e2114(0x1df)]=_0x17cbb0;}async['runOnServer'](_0x422bcb,_0x1a14cc,_0x4e73c7,..._0x4acde0){const _0x14f69e=_0x162072;var _0x28f1b4,_0x23c1fa,_0x529648,_0x523302;const _0x34405f=this[_0x14f69e(0x202)]['getFocusedUnit']();if(!_0x34405f)throw new Error(_0x14f69e(0x1d1));const _0x3ef4ee=((_0x28f1b4=this[_0x14f69e(0x1df)]['getConfig'](u[_0x14f69e(0x29c)]))!=null?_0x28f1b4:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x422bcb+_0x14f69e(0x15c)+_0x1a14cc,_0x4c536f=new URL(window[_0x14f69e(0x137)][_0x14f69e(0x210)]),_0x28e353={'scriptId':_0x422bcb,'runId':(_0x23c1fa=_0x4c536f[_0x14f69e(0x23e)][_0x14f69e(0x347)]('runId'))!=null?_0x23c1fa:'','function':_0x1a14cc,'unitId':_0x34405f['getUnitId'](),'argsOfFunction':JSON[_0x14f69e(0x2da)](_0x4acde0),'invokeId':(_0x529648=_0x4e73c7['invokeId'])!=null?_0x529648:'','executionId':(_0x523302=_0x4e73c7['executionId'])!=null?_0x523302:''};try{const _0x5d7b0a=await this[_0x14f69e(0x188)]['post'](_0x3ef4ee,{'body':_0x28e353});return _0x5d7b0a['body'][_0x14f69e(0x114)]&&_0x5d7b0a['body'][_0x14f69e(0x114)]['code']!==Be['OK']?_0x14f69e(0xe4):_0x5d7b0a['body'][_0x14f69e(0x1e5)];}catch{return _0x14f69e(0xe4);}}},exports['RemoteUniscriptService']=ns([he(0x0,a[_0x162072(0x12e)]),he(0x1,a[_0x162072(0xe7)](K['HTTPService'])),he(0x2,a['IConfigService'])],exports[_0x162072(0x2ee)]);const Me=0x7530,Le=_0x162072(0x2e5);class rs extends a['Disposable']{constructor(){const _0x2b83f0=_0x162072;super(),h(this,_0x2b83f0(0x180),a[_0x2b83f0(0x263)]()),h(this,_0x2b83f0(0x2ea),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x2b83f0(0x1c2),null),h(this,_0x2b83f0(0x113),new Map()),h(this,_0x2b83f0(0x238),new Map()),this[_0x2b83f0(0x2b0)]();}[_0x162072(0x135)](){const _0x1ec933=_0x162072;super[_0x1ec933(0x135)](),this[_0x1ec933(0x113)][_0x1ec933(0x145)]((_0x31d047,_0x5c211b)=>this[_0x1ec933(0x1c3)](_0x5c211b)),this[_0x1ec933(0x1c2)]&&window[_0x1ec933(0x2c2)](this[_0x1ec933(0x1c2)]);}[_0x162072(0xf1)](_0x209a4e){const _0x557184=_0x162072;return this[_0x557184(0x20d)](_0x209a4e)[_0x557184(0x2ef)](d['distinctUntilChanged']());}[_0x162072(0x291)](_0x271b86){const _0x200956=_0x162072;this[_0x200956(0x2ea)][_0x200956(0x30a)]===0x0&&this[_0x200956(0x24a)](),this[_0x200956(0x2ea)][_0x200956(0x2d1)](_0x271b86),this[_0x200956(0x231)]({'type':0x0,'memberID':this[_0x200956(0x180)],'unitIDs':[_0x271b86],'isForwarded':!0x1});}[_0x162072(0x15a)](_0x5ef813){const _0xc7b6e5=_0x162072;this[_0xc7b6e5(0x2ea)]['delete'](_0x5ef813),this[_0xc7b6e5(0x2ea)][_0xc7b6e5(0x30a)]===0x0&&this[_0xc7b6e5(0x1c2)]&&window['clearInterval'](this[_0xc7b6e5(0x1c2)]);}[_0x162072(0x2b0)](){const _0xbc8078=_0x162072;this[_0xbc8078(0x2d7)](a[_0xbc8078(0x2db)](d['fromEvent'](window,_0xbc8078(0x178))[_0xbc8078(0x334)](_0x40d818=>{const _0x197d8d=_0xbc8078;if(_0x40d818[_0x197d8d(0x29e)]!==Le||!_0x40d818[_0x197d8d(0x22b)])return;const _0x9fa225=JSON[_0x197d8d(0x304)](_0x40d818[_0x197d8d(0x22b)]);this['_handleEvent'](_0x9fa225);}))),window['addEventListener'](_0xbc8078(0x246),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xbc8078(0x1b0)](this[_0xbc8078(0x2ea)])}));}[_0x162072(0x28f)](_0x1ca4d8){const _0x1b11cb=_0x162072;switch(_0x1ca4d8[_0x1b11cb(0x2fb)]){case 0x0:this[_0x1b11cb(0x252)](_0x1ca4d8);break;case 0x1:this[_0x1b11cb(0x25c)](_0x1ca4d8);break;case 0x2:this['_handleHeartbeatEvent'](_0x1ca4d8);break;}}[_0x162072(0x252)](_0x324018){const _0x4684f4=_0x162072,{unitIDs:_0x27ca16,memberID:_0x40a335,isForwarded:_0x38ab19}=_0x324018;_0x27ca16['forEach'](_0x5ef51e=>{const _0x5275bf=_0x190c;if(!_0x38ab19&&this[_0x5275bf(0x1db)][_0x5275bf(0x133)](_0x5ef51e)&&this[_0x5275bf(0x20d)](_0x5ef51e)[_0x5275bf(0xeb)](u[_0x5275bf(0x151)]['OTHER_CLIENTS_EDITING']),!this[_0x5275bf(0x1db)][_0x5275bf(0x133)](_0x5ef51e)||!this[_0x5275bf(0x1db)]['get'](_0x5ef51e)[_0x5275bf(0x133)](_0x40a335)){const _0x205a46=this[_0x5275bf(0x1db)]['get'](_0x5ef51e)||new Set();_0x205a46['add'](_0x40a335),this[_0x5275bf(0x1db)][_0x5275bf(0x1bd)](_0x5ef51e,_0x205a46),this[_0x5275bf(0x2ad)](_0x40a335);}}),_0x38ab19||this[_0x4684f4(0x231)]({'type':0x0,'memberID':this[_0x4684f4(0x180)],'unitIDs':[...this[_0x4684f4(0x2ea)]],'isForwarded':!0x0});}[_0x162072(0x2ad)](_0x4fb572){const _0x26292b=_0x162072;this[_0x26292b(0x1c3)](_0x4fb572);const _0x211525=window[_0x26292b(0x13c)](()=>{const _0x5ee76f=_0x26292b;this[_0x5ee76f(0x1db)]['forEach'](_0x1ac851=>{const _0x1a409c=_0x5ee76f;_0x1ac851[_0x1a409c(0x16e)](_0x4fb572);});},Me*0x2);this[_0x26292b(0x113)][_0x26292b(0x1bd)](_0x4fb572,_0x211525);}[_0x162072(0x1c3)](_0x37995d){const _0x2eaa5e=_0x162072;if(this['_clearOtherTimers']['has'](_0x37995d)){const _0x4d9483=this[_0x2eaa5e(0x113)][_0x2eaa5e(0x347)](_0x37995d);_0x4d9483&&window[_0x2eaa5e(0x2b1)](_0x4d9483),this['_clearOtherTimers'][_0x2eaa5e(0x1bd)](_0x37995d,null);}}[_0x162072(0x25c)](_0x1ae731){const _0x460f0b=_0x162072,{memberID:_0x33d3b9,unitIDs:_0x20674e}=_0x1ae731;_0x20674e['forEach'](_0x185633=>{const _0x54a4f5=_0x190c;var _0x57b501;const _0x7bb5e9=this[_0x54a4f5(0x1db)][_0x54a4f5(0x347)](_0x185633);_0x7bb5e9&&(_0x7bb5e9['delete'](_0x33d3b9),(_0x57b501=this[_0x54a4f5(0x20d)](_0x185633))==null||_0x57b501[_0x54a4f5(0xeb)](_0x7bb5e9['size']===0x0?u[_0x54a4f5(0x151)][_0x54a4f5(0x189)]:u[_0x54a4f5(0x151)]['OTHER_CLIENTS_EDITING']));}),this[_0x460f0b(0x1c3)](_0x33d3b9);}['_handleHeartbeatEvent'](_0x43da9c){const _0x1fd5a8=_0x162072;this[_0x1fd5a8(0x2ad)](_0x43da9c[_0x1fd5a8(0x222)]);}[_0x162072(0x231)](_0xc9046e){const _0x1b4843=_0x162072;localStorage[_0x1b4843(0x27f)](Le,JSON[_0x1b4843(0x2da)](_0xc9046e));}[_0x162072(0x24a)](){const _0x4de7ce=_0x162072;this['_heartbeatTimer']=window[_0x4de7ce(0x2b2)](()=>{const _0x4d465=_0x4de7ce;this[_0x4d465(0x231)]({'type':0x2,'memberID':this['_id']});},Me);}[_0x162072(0x20d)](_0x14f3cb){const _0x4f8db=_0x162072;return this[_0x4f8db(0x238)][_0x4f8db(0x133)](_0x14f3cb)||this[_0x4f8db(0x238)]['set'](_0x14f3cb,new d[(_0x4f8db(0x206))](u[_0x4f8db(0x151)][_0x4f8db(0x189)])),this[_0x4f8db(0x238)][_0x4f8db(0x347)](_0x14f3cb);}}exports['IURLService']=me,exports[_0x162072(0xdf)]=$e,exports[_0x162072(0xd8)]=rs,exports[_0x162072(0x192)]=xe;
@@ -1 +1 @@
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;
1
+ 'use strict';function _0x2598(){const _0x57e2ef=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','459104bRdDwa','14089959LlNBsk','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','40jSwOxw','72174FIHNCH','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','41uSlZyT','2114080JiZDti','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3751878ZtadJp','Collaboration\x20Conflict','15xjoUqo','exports','48ExlAIA','Synced','186655vWMwOv','Authentication\x20Error','Edit\x20conflicts','1227138SjZJLH','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x2598=function(){return _0x57e2ef;};return _0x2598();}const _0x3b71de=_0x520c;(function(_0x1e2cd8,_0x11fc99){const _0x333ec9=_0x520c,_0x2f2ba1=_0x1e2cd8();while(!![]){try{const _0x1ae3b8=parseInt(_0x333ec9(0x16d))/0x1*(parseInt(_0x333ec9(0x16b))/0x2)+-parseInt(_0x333ec9(0x15c))/0x3*(parseInt(_0x333ec9(0x166))/0x4)+-parseInt(_0x333ec9(0x16e))/0x5+-parseInt(_0x333ec9(0x170))/0x6+-parseInt(_0x333ec9(0x160))/0x7*(parseInt(_0x333ec9(0x15e))/0x8)+parseInt(_0x333ec9(0x167))/0x9+parseInt(_0x333ec9(0x16a))/0xa*(-parseInt(_0x333ec9(0x163))/0xb);if(_0x1ae3b8===_0x11fc99)break;else _0x2f2ba1['push'](_0x2f2ba1['shift']());}catch(_0x3f8e0b){_0x2f2ba1['push'](_0x2f2ba1['shift']());}}}(_0x2598,0xc76f7));function _0x520c(_0xb8fe96,_0x39f620){const _0x2598db=_0x2598();return _0x520c=function(_0x520ced,_0x28979a){_0x520ced=_0x520ced-0x15b;let _0x4459a1=_0x2598db[_0x520ced];return _0x4459a1;},_0x520c(_0xb8fe96,_0x39f620);}const e={'collab-client':{'tooltip':{'reconnect':_0x3b71de(0x169)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3b71de(0x162),'notCollab':'Local\x20file','synced':_0x3b71de(0x15f),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3b71de(0x16c),'room-full':_0x3b71de(0x16f),'collaboration-timeout':_0x3b71de(0x165)},'conflict':{'title':_0x3b71de(0x15b),'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':_0x3b71de(0x161),'content':_0x3b71de(0x168)},'collaboration':{'single-unit':{'warning':_0x3b71de(0x164)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;module[_0x3b71de(0x15d)]=o;