@univerjs/preset-sheets-collaboration 0.25.0 → 1.0.0-alpha.0

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 (107) hide show
  1. package/README.md +3 -3
  2. package/lib/cjs/index.js +98 -1
  3. package/lib/cjs/locales/ar-SA.js +17 -1
  4. package/lib/cjs/locales/ca-ES.js +17 -1
  5. package/lib/cjs/locales/de-DE.js +17 -1
  6. package/lib/cjs/locales/en-US.js +17 -1
  7. package/lib/cjs/locales/es-ES.js +17 -1
  8. package/lib/cjs/locales/fa-IR.js +17 -1
  9. package/lib/cjs/locales/fr-FR.js +17 -1
  10. package/lib/cjs/locales/id-ID.js +17 -1
  11. package/lib/cjs/locales/it-IT.js +17 -1
  12. package/lib/cjs/locales/ja-JP.js +17 -1
  13. package/lib/cjs/locales/ko-KR.js +17 -1
  14. package/lib/cjs/locales/pl-PL.js +17 -1
  15. package/lib/cjs/locales/pt-BR.js +17 -1
  16. package/lib/cjs/locales/ru-RU.js +17 -1
  17. package/lib/cjs/locales/sk-SK.js +17 -1
  18. package/lib/cjs/locales/vi-VN.js +17 -1
  19. package/lib/cjs/locales/zh-CN.js +17 -1
  20. package/lib/cjs/locales/zh-HK.js +17 -1
  21. package/lib/cjs/locales/zh-TW.js +17 -1
  22. package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
  23. package/lib/es/index.js +70 -66
  24. package/lib/es/locales/ar-SA.js +11 -14
  25. package/lib/es/locales/ca-ES.js +11 -14
  26. package/lib/es/locales/de-DE.js +11 -14
  27. package/lib/es/locales/en-US.js +11 -14
  28. package/lib/es/locales/es-ES.js +11 -14
  29. package/lib/es/locales/fa-IR.js +11 -14
  30. package/lib/es/locales/fr-FR.js +11 -14
  31. package/lib/es/locales/id-ID.js +11 -14
  32. package/lib/es/locales/it-IT.js +11 -14
  33. package/lib/es/locales/ja-JP.js +11 -14
  34. package/lib/es/locales/ko-KR.js +11 -14
  35. package/lib/es/locales/pl-PL.js +11 -14
  36. package/lib/es/locales/pt-BR.js +11 -14
  37. package/lib/es/locales/ru-RU.js +11 -14
  38. package/lib/es/locales/sk-SK.js +11 -14
  39. package/lib/es/locales/vi-VN.js +11 -14
  40. package/lib/es/locales/zh-CN.js +11 -14
  41. package/lib/es/locales/zh-HK.js +11 -14
  42. package/lib/es/locales/zh-TW.js +11 -14
  43. package/lib/index.css +711 -1
  44. package/lib/index.js +70 -66
  45. package/lib/locales/ar-SA.js +11 -14
  46. package/lib/locales/ca-ES.js +11 -14
  47. package/lib/locales/de-DE.js +11 -14
  48. package/lib/locales/en-US.js +11 -14
  49. package/lib/locales/es-ES.js +11 -14
  50. package/lib/locales/fa-IR.js +11 -14
  51. package/lib/locales/fr-FR.js +11 -14
  52. package/lib/locales/id-ID.js +11 -14
  53. package/lib/locales/it-IT.js +11 -14
  54. package/lib/locales/ja-JP.js +11 -14
  55. package/lib/locales/ko-KR.js +11 -14
  56. package/lib/locales/pl-PL.js +11 -14
  57. package/lib/locales/pt-BR.js +11 -14
  58. package/lib/locales/ru-RU.js +11 -14
  59. package/lib/locales/sk-SK.js +11 -14
  60. package/lib/locales/vi-VN.js +11 -14
  61. package/lib/locales/zh-CN.js +11 -14
  62. package/lib/locales/zh-HK.js +11 -14
  63. package/lib/locales/zh-TW.js +11 -14
  64. package/lib/types/index.d.ts +1 -1
  65. package/lib/types/locales/ar-SA.d.ts +1 -3
  66. package/lib/types/locales/ca-ES.d.ts +1 -3
  67. package/lib/types/locales/de-DE.d.ts +1 -3
  68. package/lib/types/locales/en-US.d.ts +1 -3
  69. package/lib/types/locales/es-ES.d.ts +1 -3
  70. package/lib/types/locales/fa-IR.d.ts +1 -3
  71. package/lib/types/locales/fr-FR.d.ts +1 -3
  72. package/lib/types/locales/id-ID.d.ts +1 -3
  73. package/lib/types/locales/it-IT.d.ts +1 -3
  74. package/lib/types/locales/ja-JP.d.ts +1 -3
  75. package/lib/types/locales/ko-KR.d.ts +1 -3
  76. package/lib/types/locales/pl-PL.d.ts +1 -3
  77. package/lib/types/locales/pt-BR.d.ts +1 -3
  78. package/lib/types/locales/ru-RU.d.ts +1 -3
  79. package/lib/types/locales/sk-SK.d.ts +1 -3
  80. package/lib/types/locales/vi-VN.d.ts +1 -3
  81. package/lib/types/locales/zh-CN.d.ts +1 -3
  82. package/lib/types/locales/zh-HK.d.ts +1 -3
  83. package/lib/types/locales/zh-TW.d.ts +1 -3
  84. package/lib/types/{umd.d.ts → preset.d.ts} +6 -8
  85. package/package.json +21 -24
  86. package/LICENSE +0 -176
  87. package/lib/types/types.d.ts +0 -11
  88. package/lib/umd/index.js +0 -23
  89. package/lib/umd/locales/ar-SA.js +0 -14
  90. package/lib/umd/locales/ca-ES.js +0 -14
  91. package/lib/umd/locales/de-DE.js +0 -14
  92. package/lib/umd/locales/en-US.js +0 -14
  93. package/lib/umd/locales/es-ES.js +0 -14
  94. package/lib/umd/locales/fa-IR.js +0 -14
  95. package/lib/umd/locales/fr-FR.js +0 -14
  96. package/lib/umd/locales/id-ID.js +0 -14
  97. package/lib/umd/locales/it-IT.js +0 -14
  98. package/lib/umd/locales/ja-JP.js +0 -14
  99. package/lib/umd/locales/ko-KR.js +0 -14
  100. package/lib/umd/locales/pl-PL.js +0 -14
  101. package/lib/umd/locales/pt-BR.js +0 -14
  102. package/lib/umd/locales/ru-RU.js +0 -14
  103. package/lib/umd/locales/sk-SK.js +0 -14
  104. package/lib/umd/locales/vi-VN.js +0 -14
  105. package/lib/umd/locales/zh-CN.js +0 -14
  106. package/lib/umd/locales/zh-HK.js +0 -14
  107. package/lib/umd/locales/zh-TW.js +0 -14
package/lib/umd/index.js DELETED
@@ -1,23 +0,0 @@
1
- // @univerjs-pro/collaboration-client/index
2
- function _0x4364(_0x2aae38,_0x204141){_0x2aae38=_0x2aae38-0xba;const _0x4379ac=_0x4379();let _0x43642e=_0x4379ac[_0x2aae38];return _0x43642e;}(function(_0xf76a05,_0x557468){const _0x56c7b=_0x4364,_0x447752=_0xf76a05();while(!![]){try{const _0x3779e8=-parseInt(_0x56c7b(0x201))/0x1+-parseInt(_0x56c7b(0x321))/0x2*(parseInt(_0x56c7b(0xee))/0x3)+parseInt(_0x56c7b(0x1e2))/0x4*(-parseInt(_0x56c7b(0x1fe))/0x5)+-parseInt(_0x56c7b(0xef))/0x6*(-parseInt(_0x56c7b(0x20e))/0x7)+-parseInt(_0x56c7b(0x36c))/0x8+-parseInt(_0x56c7b(0x35c))/0x9+parseInt(_0x56c7b(0x39b))/0xa;if(_0x3779e8===_0x557468)break;else _0x447752['push'](_0x447752['shift']());}catch(_0x1d58b4){_0x447752['push'](_0x447752['shift']());}}}(_0x4379,0xd350f),function(_0x44e206,_0xdeedf5){const _0x257667=_0x4364;typeof exports=='object'&&typeof module<'u'?_0xdeedf5(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/protocol'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define=='function'&&define[_0x257667(0x388)]?define([_0x257667(0x238),_0x257667(0x3b6),_0x257667(0x18e),_0x257667(0x214),'@univerjs/sheets',_0x257667(0x1e8),_0x257667(0x224),_0x257667(0x22f),_0x257667(0x1da),_0x257667(0xd6),_0x257667(0x184),_0x257667(0x159)],_0xdeedf5):(_0x44e206=typeof globalThis<'u'?globalThis:_0x44e206||self,_0xdeedf5(_0x44e206['UniverProCollaborationClient']={},_0x44e206['UniverProCollaboration'],_0x44e206[_0x257667(0x134)],_0x44e206[_0x257667(0x106)],_0x44e206[_0x257667(0x37d)],_0x44e206[_0x257667(0x1e8)],_0x44e206[_0x257667(0x288)],_0x44e206[_0x257667(0x3da)],_0x44e206['rxjs'][_0x257667(0xfb)],_0x44e206[_0x257667(0x228)],_0x44e206[_0x257667(0x16d)],_0x44e206[_0x257667(0x257)]));}(this,function(_0x10f62c,_0x597ddf,_0x4f2fc5,_0x37b785,_0x575377,_0x196a42,_0x121aa6,_0x3702ed,_0x5c83a6,_0x4fa7e8,_0x4a0b74,_0x4aa170){const _0x3c7add=_0x4364;Object[_0x3c7add(0x2ab)](_0x10f62c,Symbol[_0x3c7add(0xc2)],{'value':_0x3c7add(0x27c)});let _0x40bad1=_0x3c7add(0x1ec),_0x887dad=0x4e20;function _0x434b50(_0x75417d){const _0x1720d4=_0x3c7add;return JSON[_0x1720d4(0x265)](_0x75417d)['length'];}function _0x163bd2(_0xb55d1d){'@babel/helpers - typeof';const _0x4c1cef=_0x3c7add;return _0x163bd2=typeof Symbol==_0x4c1cef(0x16c)&&typeof Symbol['iterator']==_0x4c1cef(0x14a)?function(_0x92395d){return typeof _0x92395d;}:function(_0x422426){const _0x2b3549=_0x4c1cef;return _0x422426&&typeof Symbol==_0x2b3549(0x16c)&&_0x422426[_0x2b3549(0x25f)]===Symbol&&_0x422426!==Symbol['prototype']?_0x2b3549(0x14a):typeof _0x422426;},_0x163bd2(_0xb55d1d);}function _0x13d572(_0x349cff,_0x218965){const _0x7e1ac9=_0x3c7add;if(_0x163bd2(_0x349cff)!=_0x7e1ac9(0x2a1)||!_0x349cff)return _0x349cff;var _0x263b3e=_0x349cff[Symbol['toPrimitive']];if(_0x263b3e!==void 0x0){var _0x1e1f35=_0x263b3e[_0x7e1ac9(0x3bb)](_0x349cff,_0x218965||'default');if(_0x163bd2(_0x1e1f35)!=_0x7e1ac9(0x2a1))return _0x1e1f35;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x218965===_0x7e1ac9(0x22c)?String:Number)(_0x349cff);}function _0x54f74e(_0x486081){const _0x361102=_0x3c7add;var _0x2544c6=_0x13d572(_0x486081,_0x361102(0x22c));return _0x163bd2(_0x2544c6)==_0x361102(0x14a)?_0x2544c6:_0x2544c6+'';}function _0x45730e(_0x326603,_0x5f568c,_0xd26d32){const _0x5d3c66=_0x3c7add;return(_0x5f568c=_0x54f74e(_0x5f568c))in _0x326603?Object[_0x5d3c66(0x2ab)](_0x326603,_0x5f568c,{'value':_0xd26d32,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x326603[_0x5f568c]=_0xd26d32,_0x326603;}let _0x403eeb=function(_0x358117){const _0x3d096e=_0x3c7add;return _0x358117['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x358117[_0x3d096e(0x354)]='PERMISSION_DENIED',_0x358117[_0x3d096e(0xd8)]=_0x3d096e(0xd8),_0x358117[_0x3d096e(0x3c9)]=_0x3d096e(0x3c9),_0x358117[_0x3d096e(0x185)]=_0x3d096e(0x185),_0x358117['SOCKET_FAILED_RETRY']=_0x3d096e(0x29f),_0x358117['SOCKET_FAILED']=_0x3d096e(0x278),_0x358117['SUBMIT_CHANGESET_TIMEOUT']=_0x3d096e(0x22b),_0x358117;}({});var _0x20d828=class{constructor(){const _0x256157=_0x3c7add;_0x45730e(this,'_event$',new _0x196a42[(_0x256157(0x274))]()),_0x45730e(this,_0x256157(0x211),this['_event$'][_0x256157(0xc6)]());}[_0x3c7add(0x365)](_0x3a39a0){const _0x4fcdd4=_0x3c7add;this['_event$'][_0x4fcdd4(0x232)](_0x3a39a0);}},_0x2ea459=class{constructor(){const _0x38dee8=_0x3c7add;_0x45730e(this,_0x38dee8(0x2dc),new _0x196a42[(_0x38dee8(0x274))]()),_0x45730e(this,_0x38dee8(0x2c6),this[_0x38dee8(0x2dc)][_0x38dee8(0xc6)]());}[_0x3c7add(0x198)](_0xb93946){const _0x371481=_0x3c7add;this[_0x371481(0x2dc)][_0x371481(0x232)](_0xb93946);}};function _0x78c766(_0x601fce,_0x424e29){return function(_0x22ceef,_0x488d9f){_0x424e29(_0x22ceef,_0x488d9f,_0x601fce);};}function _0x38f352(_0x3f39f6,_0x27727d,_0x3e6aa0,_0x1c95b2){const _0x497656=_0x3c7add;var _0x5babf5=arguments[_0x497656(0x3a4)],_0x26a1d6=_0x5babf5<0x3?_0x27727d:_0x1c95b2===null?_0x1c95b2=Object[_0x497656(0x3df)](_0x27727d,_0x3e6aa0):_0x1c95b2,_0x540358;if(typeof Reflect==_0x497656(0x2a1)&&typeof Reflect[_0x497656(0x300)]==_0x497656(0x16c))_0x26a1d6=Reflect[_0x497656(0x300)](_0x3f39f6,_0x27727d,_0x3e6aa0,_0x1c95b2);else{for(var _0x42afd3=_0x3f39f6[_0x497656(0x3a4)]-0x1;_0x42afd3>=0x0;_0x42afd3--)(_0x540358=_0x3f39f6[_0x42afd3])&&(_0x26a1d6=(_0x5babf5<0x3?_0x540358(_0x26a1d6):_0x5babf5>0x3?_0x540358(_0x27727d,_0x3e6aa0,_0x26a1d6):_0x540358(_0x27727d,_0x3e6aa0))||_0x26a1d6);}return _0x5babf5>0x3&&_0x26a1d6&&Object[_0x497656(0x2ab)](_0x27727d,_0x3e6aa0,_0x26a1d6),_0x26a1d6;}let _0x359f82=class extends _0x4f2fc5[_0x3c7add(0x210)]{constructor(_0x3aa5f9,_0x5731ff){const _0x2a4315=_0x3c7add;super(),this['_univerInstanceService']=_0x3aa5f9,this[_0x2a4315(0x366)]=_0x5731ff,_0x45730e(this,_0x2a4315(0x107),new Map()),_0x45730e(this,'_roomCreated$',new _0x196a42['Subject']()),this['disposeWithMe']((0x0,_0x196a42[_0x2a4315(0x1b5)])(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4f2fc5[_0x2a4315(0x22e)][_0x2a4315(0x2a4)])[_0x2a4315(0x397)]((0x0,_0x5c83a6[_0x2a4315(0x192)])(_0x27185e=>_0x27185e[_0x2a4315(0x21a)]())),this[_0x2a4315(0x243)][_0x2a4315(0x1b0)](_0x4f2fc5['UniverInstanceType'][_0x2a4315(0x2d5)])[_0x2a4315(0x397)]((0x0,_0x5c83a6['map'])(_0x523efd=>_0x523efd[_0x2a4315(0x21a)]())))['subscribe'](_0x1d9d60=>this[_0x2a4315(0x360)](_0x1d9d60)));}['waitForRoom$'](_0x5084e4){const _0x2e7ca4=_0x3c7add;return this[_0x2e7ca4(0x107)]['has'](_0x5084e4)?(0x0,_0x196a42['of'])(this[_0x2e7ca4(0x107)]['get'](_0x5084e4)):this['_roomCreated$']['pipe']((0x0,_0x5c83a6[_0x2e7ca4(0x192)])(_0x14deb4=>{const _0x16817b=_0x2e7ca4;if(_0x14deb4===_0x5084e4)return this['_roomMembers'][_0x16817b(0x1fd)](_0x14deb4);}));}['setCurrentUser'](_0x1429cf){const _0x34e938=_0x3c7add;this[_0x34e938(0x366)][_0x34e938(0x100)](_0x1429cf);}[_0x3c7add(0x11b)](){const _0x18793f=_0x3c7add;return this[_0x18793f(0x366)][_0x18793f(0x11b)]();}[_0x3c7add(0x1b6)](_0x1348ea,_0xfa5e33){const _0x1374e3=_0x3c7add;let _0x3a2176=this[_0x1374e3(0x107)][_0x1374e3(0x1fd)](_0x1348ea);_0x3a2176||(_0x3a2176=new _0x599447(),this[_0x1374e3(0x107)][_0x1374e3(0x38b)](_0x1348ea,_0x3a2176),this['_roomCreated$']['next'](_0x1348ea)),_0x3a2176[_0x1374e3(0x1b6)](_0xfa5e33);}['removeMember'](_0x1ec67a,_0x4f967a){const _0x12a089=_0x3c7add;let _0x256d62=this[_0x12a089(0x107)][_0x12a089(0x1fd)](_0x1ec67a);_0x256d62&&_0x256d62[_0x12a089(0x36f)](_0x4f967a);}[_0x3c7add(0x386)](_0x102ca4){const _0x573afd=_0x3c7add;return this['_roomMembers'][_0x573afd(0x1fd)](_0x102ca4);}[_0x3c7add(0x255)](_0x4b1ab0,_0x11d673){const _0x550a2b=_0x3c7add;let _0x228058=this[_0x550a2b(0x107)]['get'](_0x4b1ab0);if(_0x228058)return _0x228058[_0x550a2b(0x255)](_0x11d673);}[_0x3c7add(0x360)](_0x44ba83){const _0x3177af=_0x3c7add;let _0x2c6943=this[_0x3177af(0x107)][_0x3177af(0x1fd)](_0x44ba83);_0x2c6943&&(_0x2c6943[_0x3177af(0x202)](),this[_0x3177af(0x107)][_0x3177af(0x25a)](_0x44ba83));}['dispose'](){const _0x5c3955=_0x3c7add;this[_0x5c3955(0x107)][_0x5c3955(0x253)](_0x5983d2=>_0x5983d2[_0x5c3955(0x202)]()),this[_0x5c3955(0x107)]['clear'](),this[_0x5c3955(0x189)][_0x5c3955(0x2fd)]();}};_0x359f82=_0x38f352([_0x78c766(0x0,_0x4f2fc5[_0x3c7add(0x1d0)]),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['UserManagerService']))],_0x359f82);var _0x599447=class extends _0x4f2fc5[_0x3c7add(0x210)]{constructor(..._0x27e91d){const _0x15bbcb=_0x3c7add;super(..._0x27e91d),_0x45730e(this,_0x15bbcb(0xcf),new Map()),_0x45730e(this,_0x15bbcb(0x2ed),new _0x196a42['BehaviorSubject'](this[_0x15bbcb(0xcf)])),_0x45730e(this,_0x15bbcb(0x3c1),this[_0x15bbcb(0x2ed)][_0x15bbcb(0xc6)]());}[_0x3c7add(0x202)](){const _0xb74392=_0x3c7add;this['_members'][_0xb74392(0x1d7)](),this[_0xb74392(0x2ed)][_0xb74392(0x2fd)]();}[_0x3c7add(0x1b6)](_0x34edd1){const _0xbc42a5=_0x3c7add;this[_0xbc42a5(0xcf)][_0xbc42a5(0x38b)](_0x34edd1['memberID'],_0x34edd1),this['_emitMembers']();}[_0x3c7add(0x36f)](_0x309986){const _0x40aba1=_0x3c7add;this[_0x40aba1(0xcf)]['delete'](_0x309986),this[_0x40aba1(0x26b)]();}[_0x3c7add(0x255)](_0x4f7a71){const _0x9211e2=_0x3c7add;return this[_0x9211e2(0xcf)][_0x9211e2(0x1fd)](_0x4f7a71);}[_0x3c7add(0x370)](){const _0x4ea6b0=_0x3c7add;return Array[_0x4ea6b0(0x33f)](this[_0x4ea6b0(0xcf)][_0x4ea6b0(0x36b)]());}['_emitMembers'](){const _0x4a64dc=_0x3c7add;this[_0x4a64dc(0x2ed)]['next'](this[_0x4a64dc(0xcf)]);}};let _0x2a7e6c=function(_0x647224){const _0x557470=_0x3c7add;return _0x647224[_0x647224[_0x557470(0xfd)]=0x0]=_0x557470(0xfd),_0x647224[_0x647224[_0x557470(0x1c7)]=0x1]=_0x557470(0x1c7),_0x647224[_0x647224[_0x557470(0x317)]=0x2]=_0x557470(0x317),_0x647224[_0x647224[_0x557470(0x112)]=0x3]=_0x557470(0x112),_0x647224;}({}),_0x3daab8={[_0x121aa6[_0x3c7add(0x3c2)][_0x3c7add(0x39c)]]:_0x3c7add(0x315),[_0x121aa6[_0x3c7add(0x3c2)][_0x3c7add(0x34b)]]:_0x3c7add(0x273),[_0x121aa6[_0x3c7add(0x3c2)]['JOIN_ROOM_NOT_EXISTS']]:_0x3c7add(0x2e9),[_0x121aa6['CmdRspCode'][_0x3c7add(0xf6)]]:_0x3c7add(0x306),[_0x121aa6[_0x3c7add(0x3c2)][_0x3c7add(0x11e)]]:_0x3c7add(0x39a)},_0x1d1b7a=class extends _0x4f2fc5[_0x3c7add(0x145)]{get['sessionStatus'](){const _0xde3404=_0x3c7add;return this['_sessionStatus$'][_0xde3404(0x2ae)]();}constructor(_0x3549a5,_0x8819f3,_0x8576b3,_0x4a7a33,_0x269533,_0x15b4d3,_0x4b7064,_0x26a3ef){const _0x5bf57d=_0x3c7add;super(),this[_0x5bf57d(0xdc)]=_0x3549a5,this[_0x5bf57d(0x10b)]=_0x8576b3,this[_0x5bf57d(0x33c)]=_0x4a7a33,this[_0x5bf57d(0x166)]=_0x269533,this[_0x5bf57d(0x1a3)]=_0x15b4d3,this['_collaborationUIEventService']=_0x4b7064,this[_0x5bf57d(0x140)]=_0x26a3ef,_0x45730e(this,_0x5bf57d(0x3c6),new _0x196a42[(_0x5bf57d(0x2cc))](0x0)),_0x45730e(this,'sessionStatus$',this['_sessionStatus$']['asObservable']()),_0x45730e(this,'_event$',new _0x196a42[(_0x5bf57d(0x274))]()),_0x45730e(this,'event$',this[_0x5bf57d(0x347)][_0x5bf57d(0xc6)]()),_0x45730e(this,_0x5bf57d(0x1f1),void 0x0),_0x45730e(this,'_socketMessageSubscription',void 0x0),_0x45730e(this,_0x5bf57d(0x223),void 0x0),_0x45730e(this,_0x5bf57d(0x13a),!0x1),_0x45730e(this,'_telemetryInfo',null),this['_shouldReportTelemetry']=!!this[_0x5bf57d(0x140)],_0x8819f3[_0x5bf57d(0x397)]((0x0,_0x196a42['takeUntil'])(this[_0x5bf57d(0x163)]))[_0x5bf57d(0x237)](_0x45b860=>{const _0x108922=_0x5bf57d;if(_0x45b860!==void 0x0){if(this['_socket']=_0x45b860,_0x45b860)this['_joinRoom'](_0x45b860),this[_0x108922(0x235)]=_0x45b860[_0x108922(0x31b)][_0x108922(0x237)](_0x963cf0=>{const _0x275af3=_0x108922;_0x963cf0[_0x275af3(0x124)]===this[_0x275af3(0xdc)]&&this['_onCombEvent'](_0x963cf0);});else{var _0x14edb3;this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$']['next'](0x2),(_0x14edb3=this[_0x108922(0x235)])==null||_0x14edb3[_0x108922(0x248)](),this[_0x108922(0x235)]=null;}}});}[_0x3c7add(0xdd)](){const _0x7c8076=_0x3c7add;var _0x26df7e,_0x4c0ba7;return(_0x26df7e=(_0x4c0ba7=this[_0x7c8076(0x1f1)])==null?void 0x0:_0x4c0ba7['memberID'])==null?null:_0x26df7e;}[_0x3c7add(0x202)](){const _0x2fdda5=_0x3c7add;super['dispose'](),this[_0x2fdda5(0x180)](),this['dispose$'][_0x2fdda5(0x232)](),this[_0x2fdda5(0x163)]['complete']();}[_0x3c7add(0x180)](){const _0x15c614=_0x3c7add;var _0x29668e,_0x5ce432;this[_0x15c614(0x385)](),(_0x29668e=this[_0x15c614(0x1f1)])==null||_0x29668e[_0x15c614(0x19b)]({'cmd':_0x121aa6['CombCmd']['LEAVE'],'data':{'roomID':this[_0x15c614(0xdc)]}}),(_0x5ce432=this[_0x15c614(0x1f1)])==null||_0x5ce432[_0x15c614(0x180)](),this['_event$'][_0x15c614(0x2fd)](),this[_0x15c614(0x3c6)]['complete']();}[_0x3c7add(0x1c6)](_0x3717da){const _0x557018=_0x3c7add;_0x3717da[_0x557018(0x270)]===_0x121aa6['CombCmd'][_0x557018(0x2ee)]?this[_0x557018(0x357)](_0x3717da):_0x3717da[_0x557018(0x270)]===_0x121aa6['CombCmd'][_0x557018(0x1ea)]&&this[_0x557018(0x2d2)](_0x3717da);}[_0x3c7add(0x222)](_0x3eacc2){const _0x14bcce=_0x3c7add;this['_sessionStatus$'][_0x14bcce(0x232)](0x1),_0x3eacc2[_0x14bcce(0x19b)]({'cmd':_0x121aa6[_0x14bcce(0x31e)]['JOIN'],'routeKey':this[_0x14bcce(0xdc)],'routeType':'','data':{'rooms':[{'roomID':this[_0x14bcce(0xdc)]}]}});}['_onJoinRoomEvent'](_0x1cf8ac){const _0x101fc6=_0x3c7add;var _0xc15218;if(_0x1cf8ac['code']in _0x3daab8){this[_0x101fc6(0x264)]['emitEvent']({'id':_0x101fc6(0x185),'data':_0x3daab8[_0x1cf8ac[_0x101fc6(0x175)]]}),this[_0x101fc6(0x3c6)]['next'](0x2);return;}this[_0x101fc6(0x3c6)][_0x101fc6(0x232)](0x3);let _0x1eb705=(_0xc15218=_0x1cf8ac[_0x101fc6(0x37e)][_0x101fc6(0x2f1)][this[_0x101fc6(0xdc)]])==null?void 0x0:_0xc15218['members'];_0x1eb705&&_0x1eb705['forEach'](_0x2a2db1=>this['_memberService'][_0x101fc6(0x1b6)](this['_unitID'],_0x2a2db1));}[_0x3c7add(0x2d2)](_0x15f014){const _0x58968e=_0x3c7add;try{let _0xf91ec5=_0x15f014['data'];switch(_0xf91ec5[_0x58968e(0x1ff)]){case _0x597ddf['CollaborationEvent'][_0x58968e(0x25b)]:this[_0x58968e(0x24e)](_0xf91ec5),this[_0x58968e(0x347)][_0x58968e(0x232)](_0xf91ec5);break;case _0x597ddf[_0x58968e(0xf9)]['USERS_LEAVE']:this[_0x58968e(0xeb)](_0xf91ec5),this[_0x58968e(0x347)][_0x58968e(0x232)](_0xf91ec5);break;case _0x597ddf[_0x58968e(0xf9)]['CHANGESET_ACK']:case _0x597ddf[_0x58968e(0xf9)]['CHANGESET_SHOULD_RETRY']:this[_0x58968e(0xc8)](),this[_0x58968e(0x3e1)](),this[_0x58968e(0x347)][_0x58968e(0x232)](_0xf91ec5);break;case _0x597ddf[_0x58968e(0xf9)][_0x58968e(0xc3)]:this[_0x58968e(0x10b)][_0x58968e(0x1f0)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0xf91ec5)),this['_event$'][_0x58968e(0x232)](_0xf91ec5);break;case _0x597ddf['CollaborationEvent'][_0x58968e(0x311)]:this[_0x58968e(0x1a3)]['onCommentUpdate'](_0xf91ec5[_0x58968e(0x37e)]),this[_0x58968e(0x347)][_0x58968e(0x232)](_0xf91ec5);break;default:this[_0x58968e(0x347)]['next'](_0xf91ec5);}}catch(_0x3c7e79){this[_0x58968e(0x10b)]['error'](_0x3c7e79,_0x15f014);}}[_0x3c7add(0x24e)](_0x40c0b5){const _0x36f883=_0x3c7add;this[_0x36f883(0x166)][_0x36f883(0x1b6)](this[_0x36f883(0xdc)],_0x40c0b5['data']);}['_onUserLeave'](_0x4b712d){const _0x376a2a=_0x3c7add;this[_0x376a2a(0x166)][_0x376a2a(0x36f)](this[_0x376a2a(0xdc)],_0x4b712d[_0x376a2a(0x37e)][_0x376a2a(0x26c)]);}async['send'](_0x1721bc,_0x555750){const _0x3853b1=_0x3c7add;if(this[_0x3853b1(0x338)]!==0x3||!this[_0x3853b1(0x1f1)])throw Error(_0x3853b1(0x2db));try{_0x1721bc['eventID']===_0x597ddf[_0x3853b1(0xf9)][_0x3853b1(0x375)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x1721bc)),this[_0x3853b1(0x1f1)][_0x3853b1(0x19b)]({'cmd':_0x121aa6['CombCmd'][_0x3853b1(0x132)],'routeKey':_0x555750,'routeType':'','data':_0x1721bc});}catch(_0x59d65f){this[_0x3853b1(0x10b)][_0x3853b1(0x1f0)](_0x59d65f);}}['_scheduleCollaborationTimeoutTimer'](){const _0x57b41d=_0x3c7add;var _0x2cc6e8;this[_0x57b41d(0x223)]=setTimeout(()=>{const _0x5691f3=_0x57b41d;this[_0x5691f3(0x223)]=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x5691f3(0x22b)});},(_0x2cc6e8=this[_0x57b41d(0x33c)][_0x57b41d(0x1e1)](_0x57b41d(0xf2)))==null?_0x887dad:_0x2cc6e8);}[_0x3c7add(0x3e1)](){const _0x5e103a=_0x3c7add;this[_0x5e103a(0x223)]&&(clearTimeout(this[_0x5e103a(0x223)]),this[_0x5e103a(0x223)]=null);}[_0x3c7add(0xe0)](_0x1df4b1){const _0x1459a9=_0x3c7add;if(!this[_0x1459a9(0x13a)])return;let {data:_0x56aa96}=_0x1df4b1,{unitID:_0x57c7de,changeset:_0x1cae8c}=_0x56aa96,{mutations:_0xdb87c8,type:_0x344a97}=_0x1cae8c;this[_0x1459a9(0x3b4)]={'unitId':_0x57c7de,'type':_0x344a97,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x434b50(_0xdb87c8)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x4dc6f8=_0x3c7add;if(this['_shouldReportTelemetry']){if(!this[_0x4dc6f8(0x3b4)]){this[_0x4dc6f8(0x10b)][_0x4dc6f8(0x1f0)]('[CollaborationSession]',_0x4dc6f8(0x3cc));return;}this[_0x4dc6f8(0x3b4)][_0x4dc6f8(0x1d8)]=performance[_0x4dc6f8(0x1e5)](),this[_0x4dc6f8(0x3b4)]['duration']=this['_telemetryInfo']['stopTime']-this[_0x4dc6f8(0x3b4)][_0x4dc6f8(0x2ea)],this[_0x4dc6f8(0x140)][_0x4dc6f8(0x1c0)](_0x4dc6f8(0x31a),this[_0x4dc6f8(0x3b4)]),this[_0x4dc6f8(0x3b4)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x5d9680=_0x3c7add;this[_0x5d9680(0x3b4)]=null;}};_0x1d1b7a=_0x38f352([_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x3,_0x4f2fc5['IConfigService']),_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x359f82)),_0x78c766(0x5,(0x0,_0x4f2fc5['Inject'])(_0x2ea459)),_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x20d828)),_0x78c766(0x7,(0x0,_0x4f2fc5['Optional'])(_0x3702ed[_0x3c7add(0x262)]))],_0x1d1b7a);let _0x54dcc4=(0x0,_0x4f2fc5[_0x3c7add(0x267)])(_0x3c7add(0x187));function _0x58d90e(_0x51cbe2){const _0x50dbe8=_0x3c7add;return _0x50dbe8(0xff)+_0x51cbe2;}function _0x74068(_0x3f9ace){const _0x2a0b63=_0x3c7add;let {unitID:_0x4ab5f9,mutations:_0x2e38d0}=_0x3f9ace;return{'unitId':_0x4ab5f9,'subUnitId':_0x2e38d0[_0x2a0b63(0x3a4)]>0x0?_0x2e38d0[0x0]['params'][_0x2a0b63(0x231)]:null};}let _0x479f64=class{constructor(_0x4abc4d,_0x4d3ef8,_0xd3ea2d){const _0x25078e=_0x3c7add;this[_0x25078e(0x37b)]=_0x4abc4d,this[_0x25078e(0x220)]=_0x4d3ef8,this[_0x25078e(0x3c7)]=_0xd3ea2d;}['transformSelections'](_0x6aabc5){const _0x2fbb44=_0x3c7add;var _0x5d9fb5,_0x279433;let _0x320f39=this[_0x2fbb44(0x37b)][_0x2fbb44(0x1fd)](_0x575377['SheetsSelectionsService']),{unitId:_0x16613f,subUnitId:_0x2de1d1}=_0x74068(_0x6aabc5),_0x5c97a5=_0x320f39==null?void 0x0:_0x320f39[_0x2fbb44(0x1f5)](_0x16613f)[_0x2fbb44(0x19e)](),_0x26710e=(_0x5d9fb5=this[_0x2fbb44(0x3c7)]['getUnit'](_0x16613f))==null||(_0x5d9fb5=_0x5d9fb5[_0x2fbb44(0x268)]())==null?void 0x0:_0x5d9fb5[_0x2fbb44(0x156)]();if(_0x5c97a5[_0x2fbb44(0x3a4)]===0x0||!_0x16613f||!_0x2de1d1)return;let _0x56f47f=[{'id':_0x575377[_0x2fbb44(0x256)]['id'],'params':{'unitId':_0x16613f,'subUnitId':_0x26710e,'selections':_0x4f2fc5[_0x2fbb44(0x1b3)][_0x2fbb44(0x340)](_0x5c97a5)}}],_0x17cea8=this[_0x2fbb44(0x220)]['transformMutationsWithChangeset'](_0x6aabc5,_0x56f47f);if(!(0x0,_0x597ddf[_0x2fbb44(0x344)])(_0x17cea8))throw _0x17cea8[_0x2fbb44(0x1f0)];let _0x25e968=(_0x279433=_0x17cea8['m2Prime'][0x0])==null||(_0x279433=_0x279433['params'])==null?void 0x0:_0x279433[_0x2fbb44(0x330)];if(Array[_0x2fbb44(0x1a0)](_0x25e968)&&_0x25e968[_0x2fbb44(0x3a4)]){if(_0x25e968[_0x2fbb44(0x3a4)]===_0x56f47f[0x0]['params']['selections'][_0x2fbb44(0x3a4)]&&_0x25e968[_0x2fbb44(0x343)]((_0x2e6d08,_0x5ae18e)=>_0x4f2fc5[_0x2fbb44(0x286)]['equals'](_0x2e6d08[_0x2fbb44(0x2d7)],_0x56f47f[0x0]['params']['selections'][_0x5ae18e][_0x2fbb44(0x2d7)])))return;this[_0x2fbb44(0x37b)][_0x2fbb44(0x1fd)](_0x4f2fc5[_0x2fbb44(0x2e1)])['executeCommand'](_0x575377[_0x2fbb44(0x256)]['id'],{'unitId':_0x16613f,'subUnitId':_0x26710e,'selections':_0x25e968});}}};_0x479f64=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x1,_0x597ddf[_0x3c7add(0x12e)]),_0x78c766(0x2,_0x4f2fc5['IUniverInstanceService'])],_0x479f64);let _0x546860=(0x0,_0x4f2fc5[_0x3c7add(0x267)])(_0x3c7add(0x382)),_0x2e8335=function(_0x1f0934){const _0x1cdff7=_0x3c7add;return _0x1f0934[_0x1f0934[_0x1cdff7(0x29a)]=0x0]=_0x1cdff7(0x29a),_0x1f0934[_0x1f0934['OTHER_CLIENTS_EDITING']=0x1]=_0x1cdff7(0x391),_0x1f0934;}({}),_0x11e35b=_0x3c7add(0x293),_0xdd2c56={};function _0x38740f(_0x39ffa9){const _0x14bf7d=_0x3c7add;var _0x53cbcc;return!!((_0x53cbcc=_0x39ffa9[_0x14bf7d(0xdb)])!=null&&_0x53cbcc[_0x14bf7d(0x2f7)]);}let _0x498598=new Set([_0x575377[_0x3c7add(0x32b)]['id']]);function _0x293c55(_0x3a53cb,_0x3bfea1,_0xb843df,_0xc35a1e,_0x18fda4){const _0x39be6e=_0x3c7add;var _0x26aef5,_0x2b0216,_0x2cf827,_0x56a573;let _0x5d61c8=[];for(let _0x194b75 of _0x3a53cb){if(_0x498598[_0x39be6e(0x22a)](_0x194b75['id'])){if(_0x5d61c8[_0x39be6e(0x3a4)]>0x0)break;_0x5d61c8[_0x39be6e(0x26e)](_0x194b75);break;}if(_0x38740f(_0x194b75)){if(_0x5d61c8[_0x39be6e(0x3a4)]>0x0)break;_0x5d61c8['push'](_0x194b75);break;}_0x5d61c8['push'](_0x194b75);}let _0x2db6fc=(_0x26aef5=(_0x2b0216=_0x18fda4['getCurrentUser']())==null?void 0x0:_0x2b0216[_0x39be6e(0x2bf)])==null?_0x39be6e(0x3b7):_0x26aef5,_0x16270a=(_0x2cf827=(_0x56a573=_0x18fda4[_0x39be6e(0x11b)]())==null?void 0x0:_0x56a573[_0x39be6e(0x26c)])==null?_0x39be6e(0x3b7):_0x2cf827;return{'changeset':{'unitID':_0x3bfea1,'type':(0x0,_0x597ddf[_0x39be6e(0x1e7)])(_0xb843df['getUnitType'](_0x3bfea1)),'baseRev':_0xc35a1e[_0x39be6e(0x139)](_0x3bfea1),'revision':0x0,'userID':_0x2db6fc,'memberID':_0x16270a,'mutations':_0x5d61c8},'pendingMutations':_0x3a53cb[_0x39be6e(0x28f)](_0x5d61c8[_0x39be6e(0x3a4)])};}function _0x5573fc(_0x2d32e3,_0x1a626c,_0x4e14b1,_0x39fc4b,_0x52da7f){const _0x3d0f16=_0x3c7add;var _0x1b673f,_0x289aa6,_0x5308ec,_0x4a62ef;let _0x4754c6=_0x2d32e3['reduce']((_0x1634da,_0x16ae6d)=>{const _0x1a9d42=_0x4364;let _0xcf1b6c=_0x1634da[_0x1634da[_0x1a9d42(0x3a4)]-0x1],{id:_0x42e78d}=_0xcf1b6c==null?{}:_0xcf1b6c,{id:_0x599d05,type:_0x29939b}=_0x16ae6d,_0x1864c4=_0x16ae6d[_0x1a9d42(0xdb)];if(_0x42e78d&&_0x42e78d!==_0x599d05)throw Error(_0x1a9d42(0xc4)+_0x42e78d+_0x1a9d42(0x26f)+_0x599d05+'.');if(!_0xcf1b6c)return[{'id':_0x599d05,'type':_0x29939b,'params':{'unitId':_0x1864c4[_0x1a9d42(0x225)],'textRanges':_0x1864c4[_0x1a9d42(0x282)],'actions':_0x1864c4[_0x1a9d42(0xe5)]}}];let _0x37c1df=_0xcf1b6c[_0x1a9d42(0xdb)];return _0x6bd1ad(_0x37c1df[_0x1a9d42(0xe5)],_0x1864c4[_0x1a9d42(0xe5)])?[..._0x1634da[_0x1a9d42(0x28f)](0x0,-0x1),{..._0xcf1b6c,'id':_0x599d05,'type':_0x29939b,'params':{'unitId':_0x1864c4[_0x1a9d42(0x225)],'textRanges':_0x1864c4['textRanges'],'actions':_0x4f2fc5[_0x1a9d42(0xdf)][_0x1a9d42(0x146)](_0x37c1df['actions'],_0x1864c4[_0x1a9d42(0xe5)])}}]:[..._0x1634da,{'id':_0x599d05,'type':_0x29939b,'params':{'unitId':_0x1864c4[_0x1a9d42(0x225)],'textRanges':_0x1864c4[_0x1a9d42(0x282)],'actions':_0x1864c4[_0x1a9d42(0xe5)]}}];},[]),_0x4669ce=(_0x1b673f=(_0x289aa6=_0x52da7f[_0x3d0f16(0x11b)]())==null?void 0x0:_0x289aa6['userID'])==null?_0x3d0f16(0x3b7):_0x1b673f,_0x95ba9b=(_0x5308ec=(_0x4a62ef=_0x52da7f[_0x3d0f16(0x11b)]())==null?void 0x0:_0x4a62ef[_0x3d0f16(0x26c)])==null?_0x3d0f16(0x3b7):_0x5308ec;return{'changeset':{'unitID':_0x1a626c,'type':(0x0,_0x597ddf[_0x3d0f16(0x1e7)])(_0x4e14b1[_0x3d0f16(0x1ab)](_0x1a626c)),'baseRev':_0x39fc4b[_0x3d0f16(0x139)](_0x1a626c),'revision':0x0,'userID':_0x4669ce,'memberID':_0x95ba9b,'mutations':_0x4754c6},'pendingMutations':_0x2d32e3['slice'](_0x2d32e3['length'])};}function _0x6bd1ad(_0x10e034,_0x3e0a81){return!(_0x5d5103(_0x10e034)&&_0xa5a351(_0x3e0a81)||_0xa5a351(_0x10e034)&&_0x5d5103(_0x3e0a81));}function _0x5d5103(_0x3b58a3){const _0x54889e=_0x3c7add;return _0x3ed849(_0x3b58a3)[_0x54889e(0x115)](_0x4913cf=>_0x3d34b3(_0x4913cf)&&_0x4913cf['et']==='text-x');}function _0xa5a351(_0x4c0127){const _0x54c53e=_0x3c7add;return _0x3ed849(_0x4c0127)[_0x54c53e(0x115)](_0x25c78e=>Array[_0x54c53e(0x1a0)](_0x25c78e)||typeof _0x25c78e=='string'||typeof _0x25c78e==_0x54c53e(0x16e));}function _0x3ed849(_0x5c13f3){const _0x12f53a=_0x3c7add;if(!Array['isArray'](_0x5c13f3))return[];let _0x5ab360=_0x5c13f3['includes'](_0x12f53a(0xc1))?_0x5c13f3:_0x5c13f3[_0x12f53a(0x1bb)](_0x301f8a=>Array['isArray'](_0x301f8a)&&_0x301f8a['includes'](_0x12f53a(0xc1)));if(!Array[_0x12f53a(0x1a0)](_0x5ab360))return[];let _0x298769=_0x5ab360[_0x12f53a(0x3dd)](_0x12f53a(0xc1));return _0x298769===-0x1?[]:_0x5ab360['slice'](_0x298769+0x1);}function _0x3d34b3(_0xf48673){const _0x23638f=_0x3c7add;return typeof _0xf48673==_0x23638f(0x2a1)&&!!_0xf48673&&!Array[_0x23638f(0x1a0)](_0xf48673);}function _0x5afc00(_0x384ae1,_0x54bdd3){const _0x104773=_0x3c7add;let _0x36fc22=new _0x196a42[(_0x104773(0x356))](0x1);return setTimeout(()=>_0x36fc22[_0x104773(0x232)](_0x54bdd3),_0x384ae1),_0x36fc22[_0x104773(0xc6)]()[_0x104773(0x397)]((0x0,_0x196a42[_0x104773(0x2a7)])(0x1));}var _0x2ab959,_0x2f6cad,_0x121e18;let _0xe9e27d=function(_0x54db59){const _0x1e582c=_0x3c7add;return _0x54db59['NOT_COLLAB']=_0x1e582c(0x21b),_0x54db59[_0x1e582c(0x1a6)]=_0x1e582c(0x1ee),_0x54db59[_0x1e582c(0x2a6)]='pending',_0x54db59[_0x1e582c(0xbb)]=_0x1e582c(0x14e),_0x54db59[_0x1e582c(0x250)]=_0x1e582c(0x2a3),_0x54db59[_0x1e582c(0x1b1)]=_0x1e582c(0x396),_0x54db59[_0x1e582c(0xd8)]=_0x1e582c(0x15a),_0x54db59[_0x1e582c(0x317)]=_0x1e582c(0x18f),_0x54db59;}({}),_0x1ef349=0x4e20,_0x180963=0x2bf20;var _0x4a5cdf=class{constructor(_0xbf80f8,_0x3ec5ec,_0x2584df,_0x136cfb,_0x5e890e,_0xaa1ecc,_0x804d4a,_0x22f00d,_0x5315fd){const _0x9440f8=_0x3c7add;this[_0x9440f8(0x11a)]=_0xbf80f8,this[_0x9440f8(0x3c8)]=_0x3ec5ec,this[_0x9440f8(0x168)]=_0x5e890e,this[_0x9440f8(0x111)]=_0xaa1ecc,this['_undoRedoService']=_0x804d4a,this[_0x9440f8(0x39e)]=_0x22f00d,this[_0x9440f8(0x12a)]=_0x5315fd,_0x45730e(this,_0x9440f8(0x216),null),_0x45730e(this,_0x9440f8(0x1dd),[]),this[_0x9440f8(0x216)]=_0x2584df,this[_0x9440f8(0x1dd)]=_0x136cfb;}['_checkMissing'](_0x158a78){const _0x37c569=_0x3c7add;let _0x158459=this[_0x37c569(0x39e)][_0x37c569(0x139)](this['unitID']);return _0x158a78[_0x37c569(0x2e5)]>_0x158459+0x1?(this[_0x37c569(0x168)][_0x37c569(0x215)]({'from':_0x158459,'to':_0x158a78['revision']-0x1}),!0x0):!0x1;}[_0x3c7add(0x2df)](_0x1c7143){const _0x14a596=_0x3c7add;this[_0x14a596(0x2e4)][_0x14a596(0x10d)](this[_0x14a596(0x11a)],_0x1c7143);}[_0x3c7add(0xf0)](_0x52cb15){const _0x521588=_0x3c7add;var _0x8a0b22,_0x577a57;(_0x8a0b22=(_0x577a57=this[_0x521588(0x168)])[_0x521588(0x2cd)])==null||_0x8a0b22[_0x521588(0x3bb)](_0x577a57,_0x52cb15);}['_transformIMECache'](_0x1aa066){const _0x52244a=_0x3c7add;var _0x5b63a2,_0x155753;return(_0x5b63a2=(_0x155753=this[_0x52244a(0x168)])[_0x52244a(0x320)])==null?void 0x0:_0x5b63a2[_0x52244a(0x3bb)](_0x155753,_0x1aa066);}[_0x3c7add(0x1fc)](_0x41032a){const _0x3604ac=_0x3c7add;var _0x3af1ba,_0x176b52;return(_0x3af1ba=(_0x176b52=this[_0x3604ac(0x168)])[_0x3604ac(0x346)])==null?void 0x0:_0x3af1ba[_0x3604ac(0x3bb)](_0x176b52,_0x41032a);}[_0x3c7add(0x1ca)](_0x3fae3d){const _0x250754=_0x3c7add;var _0x5db36d,_0xefbbd7,_0x47778b;return(_0x5db36d=(_0xefbbd7=(_0x47778b=this['_handler'])[_0x250754(0x181)])==null?void 0x0:_0xefbbd7[_0x250754(0x3bb)](_0x47778b,_0x3fae3d))==null?_0x3fae3d:_0x5db36d;}[_0x3c7add(0x1ba)](_0x4fa610){const _0x4cfecb=_0x3c7add;var _0x1aba65,_0x399ecd,_0xd224c1;return(_0x1aba65=(_0x399ecd=(_0xd224c1=this[_0x4cfecb(0x168)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x399ecd['call'](_0xd224c1,_0x4fa610))==null?_0x4fa610:_0x1aba65;}[_0x3c7add(0x14c)](_0x23de1a){const _0x5ba39b=_0x3c7add;if(this[_0x5ba39b(0x3c8)]===_0x4f2fc5[_0x5ba39b(0x22e)][_0x5ba39b(0x2d5)]){let {unitID:_0x3e3f18,mutations:_0x185e32,memberID:_0x28e045}=_0x23de1a,_0x7d8a8e=_0x185e32[_0x5ba39b(0x3a4)]>0x0?_0x185e32[0x0][_0x5ba39b(0xdb)][_0x5ba39b(0x282)]:[];if(Array[_0x5ba39b(0x1a0)](_0x7d8a8e)&&_0x7d8a8e['length']>0x0){var _0x2b1611,_0xb7b2d;(_0x2b1611=(_0xb7b2d=this['_handler'])[_0x5ba39b(0x120)])==null||_0x2b1611[_0x5ba39b(0x3bb)](_0xb7b2d,{'unitID':_0x3e3f18,'memberID':_0x28e045,'textRanges':_0x7d8a8e});}}}[_0x3c7add(0x3cf)](){const _0x1abf97=_0x3c7add;var _0x1d3f48;(_0x1d3f48=this[_0x1abf97(0x12a)])==null||_0x1d3f48[_0x1abf97(0x173)](this[_0x1abf97(0x11a)],this[_0x1abf97(0x3c8)],this[_0x1abf97(0x216)],this[_0x1abf97(0x1dd)]);}[_0x3c7add(0x118)](){const _0x119257=_0x3c7add;return this[_0x119257(0x39e)][_0x119257(0x139)](this['unitID']);}[_0x3c7add(0x3b5)](){const _0x346821=_0x3c7add;this['_revisionService'][_0x346821(0x208)](this[_0x346821(0x11a)]);}[_0x3c7add(0x395)](_0x3ba619){const _0x4cf319=_0x3c7add;let _0x3e401c=this[_0x4cf319(0x1ca)](_0x3ba619);_0x3e401c=this[_0x4cf319(0x1ba)](_0x3e401c);let _0x562aef=(0x0,_0x4f2fc5[_0x4cf319(0x2da)])(_0x3e401c[_0x4cf319(0x1eb)],this['_commandService'],{'fromCollab':!0x0});if(!_0x562aef[_0x4cf319(0x2fc)]){var _0x1334c6;throw _0x562aef[_0x4cf319(0x1f0)]instanceof Error?_0x562aef[_0x4cf319(0x1f0)]:Error((_0x1334c6=_0x562aef['error'])==null?_0x4cf319(0x27b):_0x1334c6);}this[_0x4cf319(0x2b9)](_0x3e401c),this['_transformStateCache'](_0x3e401c),this[_0x4cf319(0x2df)](_0x3ba619),this['_transformSelections'](_0x3e401c),this[_0x4cf319(0x14c)](_0x3e401c),this[_0x4cf319(0x3b5)]();}};let _0x2168a9=class extends _0x4a5cdf{constructor(_0x2861e1,_0x4afd0b,_0x54dd60,_0x3a1449,_0xd262a9,_0x5131b5,_0x1c1029,_0x4e76c4,_0xa94ca6,_0x5a9896){const _0x54df5a=_0x3c7add;super(_0x2861e1,_0x4afd0b,null,[],_0x54dd60,_0x1c1029,_0x5131b5,_0x3a1449,_0x5a9896),this[_0x54df5a(0x37b)]=_0xd262a9,this[_0x54df5a(0x10b)]=_0x4e76c4,this[_0x54df5a(0x220)]=_0xa94ca6,this[_0x54df5a(0x318)]=_0x5a9896,_0x45730e(this,'status','synced');}[_0x3c7add(0x1a5)](_0x1a2f0a){const _0x360480=_0x3c7add;let _0x3529fd=this[_0x360480(0x37b)]['createInstance'](_0x2c2e17,this[_0x360480(0x11a)],this['type'],[_0x1a2f0a],this[_0x360480(0x168)]);return _0x3529fd[_0x360480(0x179)](),_0x3529fd['_updateLocalCache'](),_0x3529fd;}[_0x3c7add(0x241)](_0x18794a){const _0x328239=_0x3c7add;if(this['_checkMissing'](_0x18794a))return this['_injector'][_0x328239(0x242)](_0x47f959,this['unitID'],this[_0x328239(0x3c8)],null,[],null,[_0x18794a],this[_0x328239(0x168)]);try{let _0x9e2e92=this['_transformService'][_0x328239(0x1a1)](_0x18794a,[_0x597ddf[_0x328239(0x3d7)]]);if((0x0,_0x597ddf[_0x328239(0x344)])(_0x9e2e92)){let {c1Prime:_0x5a285c}=_0x9e2e92;return this[_0x328239(0x395)](_0x5a285c),this;}throw _0x9e2e92[_0x328239(0x1f0)];}catch(_0x1432dc){return this[_0x328239(0x10b)][_0x328239(0x1f0)](_0x1432dc),this['_onConflict'](!0x1);}}[_0x3c7add(0x254)](_0x364d45){const _0x451a28=_0x3c7add;return this[_0x451a28(0x37b)]['createInstance'](_0x2cb513,this['unitID'],this[_0x451a28(0x3c8)],null,[],this[_0x451a28(0x168)],_0x364d45);}[_0x3c7add(0x2d4)](_0xe4929a){const _0x316875=_0x3c7add;if(_0xe4929a[_0x316875(0x2e5)]<=this[_0x316875(0x118)]())return this;throw Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3c7add(0x374)](){const _0x5a4e74=_0x3c7add;throw Error(_0x5a4e74(0x1ce));}[_0x3c7add(0x1ad)](){return this;}[_0x3c7add(0x239)](){const _0x4af860=_0x3c7add;return this[_0x4af860(0x37b)][_0x4af860(0x242)](_0x405ee9,this['unitID'],this[_0x4af860(0x3c8)],null,[],this[_0x4af860(0x168)]);}[_0x3c7add(0x1ac)](){return this;}[_0x3c7add(0x15d)](){const _0x29c1ee=_0x3c7add;throw Error(_0x29c1ee(0x335));}[_0x3c7add(0x10c)](){const _0x136f42=_0x3c7add;let _0x1c61fe=this[_0x136f42(0x39e)][_0x136f42(0x139)](this[_0x136f42(0x11a)]);return this[_0x136f42(0x168)][_0x136f42(0x215)]({'from':_0x1c61fe,'to':0x0}),this['_injector'][_0x136f42(0x242)](_0x47f959,this[_0x136f42(0x11a)],this[_0x136f42(0x3c8)],null,[],null,[],this[_0x136f42(0x168)]);}};_0x2168a9=_0x38f352([_0x78c766(0x3,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x5,_0x4f2fc5[_0x3c7add(0x2c0)]),_0x78c766(0x6,_0x4f2fc5['ICommandService']),_0x78c766(0x7,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x8,_0x597ddf[_0x3c7add(0x12e)]),_0x78c766(0x9,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x2168a9);let _0x2c2e17=_0x2ab959=class extends _0x4a5cdf{constructor(_0x4cee25,_0x4bd1e3,_0x598c7f,_0x33861e,_0x36537a,_0xd2f3da,_0x4a12f3,_0x487929,_0x3e0de7,_0x7037a5,_0x2b47b1,_0x5c5058,_0x3d1125,_0x420a9e){const _0x6f0ee9=_0x3c7add;super(_0x4cee25,_0x4bd1e3,null,_0x598c7f,_0x33861e,_0x3e0de7,_0x3d1125,_0xd2f3da,_0x420a9e),this['_injector']=_0x36537a,this['_memberService']=_0x4a12f3,this[_0x6f0ee9(0x10b)]=_0x487929,this[_0x6f0ee9(0x33c)]=_0x7037a5,this[_0x6f0ee9(0x220)]=_0x2b47b1,this[_0x6f0ee9(0x243)]=_0x5c5058,_0x45730e(this,_0x6f0ee9(0x1a2),_0x6f0ee9(0x1d5)),_0x45730e(this,_0x6f0ee9(0x1a9),null),_0x45730e(this,_0x6f0ee9(0x17d),null);}[_0x3c7add(0x1a5)](_0x48bd7f){const _0x315c79=_0x3c7add;return this[_0x315c79(0x1dd)][_0x315c79(0x26e)](_0x48bd7f),this[_0x315c79(0x3cf)](),this;}['onRemoteChangeset'](_0x59d9db){const _0xbf100e=_0x3c7add;if(this[_0xbf100e(0x1cd)](_0x59d9db))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x47f959,this[_0xbf100e(0x11a)],this[_0xbf100e(0x3c8)],null,this[_0xbf100e(0x1dd)],null,[_0x59d9db],this[_0xbf100e(0x168)]);try{let _0x546195=this[_0xbf100e(0x220)][_0xbf100e(0x1a1)](_0x59d9db,this['_pendingMutations']);if((0x0,_0x597ddf[_0xbf100e(0x344)])(_0x546195)){let {c1Prime:_0x312120,m2Prime:_0x3f5106}=_0x546195;this[_0xbf100e(0x395)](_0x312120);let _0x5d07d8=this[_0xbf100e(0x37b)][_0xbf100e(0x242)](_0x2ab959,this[_0xbf100e(0x11a)],this['type'],_0x3f5106,this[_0xbf100e(0x168)]);this['_clearScheduledTask']();let _0x390203=new Date()[_0xbf100e(0xf8)](),_0x57fc02=this[_0xbf100e(0x1a9)]?Math[_0xbf100e(0x30e)](this['_scheduleCompleteTimestamp']-_0x390203,0x0):this[_0xbf100e(0xd5)]();return _0x5d07d8[_0xbf100e(0x179)](_0x57fc02),_0x5d07d8;}throw _0x546195[_0xbf100e(0x1f0)];}catch(_0x446ff1){return this['_logService']['error'](_0x446ff1),this[_0xbf100e(0x254)](!0x1);}}[_0x3c7add(0x2d4)](_0x17c10e){const _0x4f6a19=_0x3c7add;if(_0x17c10e[_0x4f6a19(0x2e5)]<=this['_getCurrentRevision']())return this;throw Error(_0x4f6a19(0x24a));}[_0x3c7add(0x374)](){throw Error('[PendingState]:\x20received\x20rejection.');}[_0x3c7add(0x1ad)](){return this;}[_0x3c7add(0x239)](){const _0x2ead8f=_0x3c7add;return this[_0x2ead8f(0x1b9)](),this[_0x2ead8f(0x37b)][_0x2ead8f(0x242)](_0x405ee9,this[_0x2ead8f(0x11a)],this[_0x2ead8f(0x3c8)],null,this[_0x2ead8f(0x1dd)],this[_0x2ead8f(0x168)]);}[_0x3c7add(0x1ac)](){return this;}['_schedule'](_0x51a381){const _0x21ce6d=_0x3c7add;let _0x351b6d=_0x51a381==null?this[_0x21ce6d(0xd5)]():_0x51a381;this[_0x21ce6d(0x1a9)]=new Date()[_0x21ce6d(0xf8)]()+_0x351b6d,this[_0x21ce6d(0x17d)]=setTimeout(()=>{const _0x10c4c2=_0x21ce6d;this['_clearScheduledTask']();let _0x570501=null;switch(this[_0x10c4c2(0x3c8)]){case _0x4f2fc5[_0x10c4c2(0x22e)][_0x10c4c2(0x2a4)]:_0x570501=_0x293c55(this['_pendingMutations'],this[_0x10c4c2(0x11a)],this[_0x10c4c2(0x243)],this[_0x10c4c2(0x39e)],this['_memberService']);break;case _0x4f2fc5[_0x10c4c2(0x22e)][_0x10c4c2(0x2d5)]:_0x570501=this[_0x10c4c2(0x1dd)][_0x10c4c2(0x343)](_0x38f509=>_0x38f509['id']===_0x37b785[_0x10c4c2(0x383)]['id'])?_0x5573fc(this[_0x10c4c2(0x1dd)],this['unitID'],this[_0x10c4c2(0x243)],this[_0x10c4c2(0x39e)],this[_0x10c4c2(0x166)]):_0x293c55(this[_0x10c4c2(0x1dd)],this[_0x10c4c2(0x11a)],this[_0x10c4c2(0x243)],this[_0x10c4c2(0x39e)],this[_0x10c4c2(0x166)]);break;default:throw Error(_0x10c4c2(0x2f4)+this[_0x10c4c2(0x3c8)]+_0x10c4c2(0x35a));}let {changeset:_0x486bac,pendingMutations:_0x1b241a}=_0x570501;this[_0x10c4c2(0x168)]['onSendChangeset'](_0x486bac);let _0x571060=_0x1b241a[_0x10c4c2(0x3a4)]?this[_0x10c4c2(0x37b)][_0x10c4c2(0x242)](_0x2a0e64,this[_0x10c4c2(0x11a)],this['type'],_0x486bac,_0x1b241a,this[_0x10c4c2(0x168)],void 0x0):this['_injector'][_0x10c4c2(0x242)](_0x441552,this[_0x10c4c2(0x11a)],this[_0x10c4c2(0x3c8)],_0x486bac,this[_0x10c4c2(0x168)]);_0x571060[_0x10c4c2(0x3cf)](),this[_0x10c4c2(0x168)]['onStateChange'](this,_0x571060);},_0x351b6d);}['_getSendChangesetTimeout'](){const _0x19f929=_0x3c7add;var _0x5764b8;let _0x4b7a1f=this['_configService']['getConfig'](_0x11e35b);return(_0x5764b8=_0x4b7a1f==null?void 0x0:_0x4b7a1f[_0x19f929(0x24b)])==null?0x7d0:_0x5764b8;}[_0x3c7add(0x15d)](){throw Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x532b7d=_0x3c7add;this[_0x532b7d(0x17d)]!=null&&(clearTimeout(this[_0x532b7d(0x17d)]),this[_0x532b7d(0x17d)]=null);}['_onConflict'](_0x252bf6){const _0x412241=_0x3c7add;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x2cb513,this[_0x412241(0x11a)],this[_0x412241(0x3c8)],null,this['_pendingMutations'],this[_0x412241(0x168)],_0x252bf6);}};_0x2c2e17=_0x2ab959=_0x38f352([_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x359f82)),_0x78c766(0x7,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x8,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0xa,_0x597ddf[_0x3c7add(0x12e)]),_0x78c766(0xb,_0x4f2fc5[_0x3c7add(0x1d0)]),_0x78c766(0xc,_0x4f2fc5['IUndoRedoService']),_0x78c766(0xd,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x2c2e17);let _0x441552=_0x2f6cad=class extends _0x4a5cdf{constructor(_0x1fdf09,_0x1f8955,_0x2b2e8b,_0x82a666,_0x47e7a5,_0x31618b,_0x25aa0b,_0x2af1d7,_0x22c25,_0xad5b84,_0x3900b){const _0x442781=_0x3c7add;super(_0x1fdf09,_0x1f8955,_0x2b2e8b,[],_0x82a666,_0x25aa0b,_0xad5b84,_0x31618b,_0x3900b),this[_0x442781(0x37b)]=_0x47e7a5,this['_logService']=_0x2af1d7,this[_0x442781(0x220)]=_0x22c25,_0x45730e(this,_0x442781(0x1a2),_0x442781(0x14e)),_0x45730e(this,'_resendTimeout',0x0),_0x45730e(this,_0x442781(0x325),0x0),_0x45730e(this,_0x442781(0x229),void 0x0),_0x45730e(this,_0x442781(0x1fb),void 0x0);}[_0x3c7add(0x1a5)](_0x3f45fe){const _0x125b52=_0x3c7add;this[_0x125b52(0x1b9)]();let _0x4a07b1=this[_0x125b52(0x37b)]['createInstance'](_0x2a0e64,this[_0x125b52(0x11a)],this[_0x125b52(0x3c8)],this['_awaitingChangeset'],[_0x3f45fe],this[_0x125b52(0x168)],this[_0x125b52(0x229)]);return _0x4a07b1['_updateLocalCache'](),_0x4a07b1;}[_0x3c7add(0x241)](_0xd53697){const _0x31436d=_0x3c7add;if(this['_checkMissing'](_0xd53697))return this[_0x31436d(0x1b9)](),this['_injector'][_0x31436d(0x242)](_0x47f959,this[_0x31436d(0x11a)],this[_0x31436d(0x3c8)],this[_0x31436d(0x216)],[],null,[_0xd53697],this[_0x31436d(0x168)]);try{let _0x433a33=this[_0x31436d(0x220)][_0x31436d(0x2f3)]([_0xd53697],[this[_0x31436d(0x216)]],!0x1);if((0x0,_0x597ddf[_0x31436d(0x2f6)])(_0x433a33)){let {c1Prime:_0xf8144,c2Prime:_0xb3dd2f}=_0x433a33;this['_executeRemoteChangeset'](_0xf8144[0x0]),_0xb3dd2f[0x0][_0x31436d(0x296)]=this[_0x31436d(0x118)](),this[_0x31436d(0x1b9)]();let _0x4fcbef=this[_0x31436d(0x37b)]['createInstance'](_0x2f6cad,this[_0x31436d(0x11a)],this[_0x31436d(0x3c8)],_0xb3dd2f[0x0],this[_0x31436d(0x168)]);return _0x4fcbef[_0x31436d(0x3cf)](),_0x4fcbef;}throw _0x433a33[_0x31436d(0x1f0)];}catch(_0x1e11da){return this['_logService'][_0x31436d(0x1f0)](_0x1e11da),this[_0x31436d(0x254)](!0x1);}}[_0x3c7add(0x2d4)](_0x38050c){const _0x5810a7=_0x3c7add;this['_clearScheduledTask']();let _0x3843b8=this[_0x5810a7(0x39e)]['getCurrentRevOfUnit'](this[_0x5810a7(0x11a)]);if(_0x38050c[_0x5810a7(0x2e5)]<=_0x3843b8)return this;if(this[_0x5810a7(0x1cd)](_0x38050c))return this[_0x5810a7(0x37b)]['createInstance'](_0x47f959,this['unitID'],this['type'],this['_awaitingChangeset'],[],_0x38050c[_0x5810a7(0x2e5)],[],this[_0x5810a7(0x168)]);this[_0x5810a7(0x3b5)]();let _0x18cc7d=this[_0x5810a7(0x37b)][_0x5810a7(0x242)](_0x2168a9,this[_0x5810a7(0x11a)],this['type'],this[_0x5810a7(0x168)]);return _0x18cc7d['_updateLocalCache'](),_0x18cc7d;}['onRemoteRej'](_0xe0508a){const _0x4eaa98=_0x3c7add;return this[_0x4eaa98(0x254)](!!(_0xe0508a!=null&&_0xe0508a[_0x4eaa98(0x14b)]));}[_0x3c7add(0x1ad)](_0x426bac){const _0x3ab7bd=_0x3c7add;return this[_0x3ab7bd(0x325)]>_0x180963?this[_0x3ab7bd(0x239)]():(this[_0x3ab7bd(0x229)]=_0x5afc00(this['_resendTimeout'],{'timeout':this[_0x3ab7bd(0x2c7)],'reqId':_0x426bac[_0x3ab7bd(0x3ba)]}),this[_0x3ab7bd(0x1fb)]=this[_0x3ab7bd(0x229)]['subscribe'](({reqId:_0x15da0d,timeout:_0x23833b})=>{const _0x502bc5=_0x3ab7bd;this[_0x502bc5(0x31d)](_0x15da0d,_0x23833b);}),this);}[_0x3c7add(0x239)](){const _0xe0f9fb=_0x3c7add;return this[_0xe0f9fb(0x1b9)](),this['_injector'][_0xe0f9fb(0x242)](_0x405ee9,this[_0xe0f9fb(0x11a)],this['type'],this[_0xe0f9fb(0x216)],[],this[_0xe0f9fb(0x168)]);}[_0x3c7add(0x1ac)](){return this;}[_0x3c7add(0x15d)](){const _0x26ee8b=_0x3c7add;this[_0x26ee8b(0x168)]['onSendChangeset'](this[_0x26ee8b(0x216)]);}[_0x3c7add(0x254)](_0x50aabc){const _0x21cff3=_0x3c7add;return this[_0x21cff3(0x1b9)](),this[_0x21cff3(0x37b)][_0x21cff3(0x242)](_0x2cb513,this[_0x21cff3(0x11a)],this[_0x21cff3(0x3c8)],this['_awaitingChangeset'],[],this[_0x21cff3(0x168)],_0x50aabc);}[_0x3c7add(0x31d)](_0x53841a,_0x4c653f){const _0x46545d=_0x3c7add;var _0x9f7c24;_0x53841a===((_0x9f7c24=this[_0x46545d(0x216)])==null?void 0x0:_0x9f7c24[_0x46545d(0x3ba)])&&(this[_0x46545d(0x15d)](),this[_0x46545d(0x2c7)]=_0x4c653f===0x0?0x3e8:Math[_0x46545d(0x3af)](_0x4c653f*0x2,_0x1ef349),this[_0x46545d(0x325)]+=this[_0x46545d(0x2c7)]);}['_clearScheduledTask'](){const _0x19aa24=_0x3c7add;var _0x5c1eb0;(_0x5c1eb0=this[_0x19aa24(0x1fb)])==null||_0x5c1eb0[_0x19aa24(0x248)](),this['_resendTimeout']=0x0,this[_0x19aa24(0x325)]=0x0;}};_0x441552=_0x2f6cad=_0x38f352([_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x6,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0x7,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x8,_0x597ddf['ITransformService']),_0x78c766(0x9,_0x4f2fc5['IUndoRedoService']),_0x78c766(0xa,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x441552);let _0x2a0e64=_0x121e18=class extends _0x4a5cdf{constructor(_0x48f549,_0x2724e8,_0x3a0200,_0x15d020,_0x3d6b56,_0x2b35ff,_0x25ce87,_0x31364b,_0x446264,_0x4b87b8,_0xa97dd,_0x2b3db5,_0x234658){const _0x267672=_0x3c7add;super(_0x48f549,_0x2724e8,_0x3a0200,_0x15d020,_0x3d6b56,_0x446264,_0x2b3db5,_0x31364b,_0x234658),this['_injector']=_0x25ce87,this[_0x267672(0x10b)]=_0x4b87b8,this[_0x267672(0x220)]=_0xa97dd,this[_0x267672(0x318)]=_0x234658,_0x45730e(this,_0x267672(0x1a2),_0x267672(0x2a3)),_0x45730e(this,_0x267672(0x2c7),0x0),_0x45730e(this,_0x267672(0x325),0x0),_0x45730e(this,'_resendTimer',void 0x0),_0x45730e(this,_0x267672(0x1fb),void 0x0),_0x2b35ff&&(this['_resendTimer']=_0x2b35ff,this[_0x267672(0x1fb)]=this[_0x267672(0x229)][_0x267672(0x237)](({reqId:_0x2055e7,timeout:_0xfcf0b4})=>{this['_resendWithTimeout'](_0x2055e7,_0xfcf0b4);}));}[_0x3c7add(0x1a5)](_0x460968){const _0x1819e7=_0x3c7add;return this['_pendingMutations'][_0x1819e7(0x26e)](_0x460968),this;}[_0x3c7add(0x241)](_0x6e1622){const _0x581655=_0x3c7add;if(this[_0x581655(0x1cd)](_0x6e1622))return this[_0x581655(0x1b9)](),this[_0x581655(0x37b)]['createInstance'](_0x47f959,this['unitID'],this[_0x581655(0x3c8)],this[_0x581655(0x216)],this[_0x581655(0x1dd)],null,[_0x6e1622],this['_handler']);try{let _0x171990=this[_0x581655(0x220)]['transformChangesets']([_0x6e1622],[this['_awaitingChangeset']],!0x1);if((0x0,_0x597ddf['isTransformChangesetsSuccess'])(_0x171990)){let {c1Prime:_0x184b7a,c2Prime:_0x443c38}=_0x171990,_0xd761fb=this[_0x581655(0x220)][_0x581655(0x1a1)](_0x184b7a[0x0],this[_0x581655(0x1dd)]);if((0x0,_0x597ddf[_0x581655(0x344)])(_0xd761fb)){let {c1Prime:_0x2b6725,m2Prime:_0x2c57a9}=_0xd761fb;return this['_executeRemoteChangeset'](_0x2b6725),_0x443c38[0x0]['baseRev']=this[_0x581655(0x118)](),this['_clearScheduledTask'](),this[_0x581655(0x37b)]['createInstance'](_0x121e18,this[_0x581655(0x11a)],this[_0x581655(0x3c8)],_0x443c38[0x0],_0x2c57a9,this[_0x581655(0x168)],void 0x0);}throw _0xd761fb['error'];}throw _0x171990[_0x581655(0x1f0)];}catch(_0xc4698f){return this[_0x581655(0x10b)][_0x581655(0x1f0)](_0xc4698f),this[_0x581655(0x254)](!0x1);}}[_0x3c7add(0x2d4)](_0x32e176){const _0x52ed57=_0x3c7add;this[_0x52ed57(0x1b9)]();let _0x12a49f=this[_0x52ed57(0x118)]();if(_0x32e176[_0x52ed57(0x2e5)]<=_0x12a49f)return this;if(this[_0x52ed57(0x1cd)](_0x32e176))return this[_0x52ed57(0x37b)][_0x52ed57(0x242)](_0x47f959,this[_0x52ed57(0x11a)],this[_0x52ed57(0x3c8)],this[_0x52ed57(0x216)],this[_0x52ed57(0x1dd)],_0x32e176[_0x52ed57(0x2e5)],[],this['_handler']);this[_0x52ed57(0x3b5)]();let _0x9c5065=this[_0x52ed57(0x37b)][_0x52ed57(0x242)](_0x2c2e17,this['unitID'],this[_0x52ed57(0x3c8)],this['_pendingMutations'],this[_0x52ed57(0x168)]);return _0x9c5065[_0x52ed57(0x179)](),_0x9c5065['_updateLocalCache'](),_0x9c5065;}[_0x3c7add(0x374)](_0x3452f6){const _0xc3e45c=_0x3c7add;return this[_0xc3e45c(0x254)](!!(_0x3452f6!=null&&_0x3452f6[_0xc3e45c(0x14b)]));}[_0x3c7add(0x1ad)](_0x3e880d){const _0x386185=_0x3c7add;return this[_0x386185(0x325)]>_0x180963?this[_0x386185(0x239)]():(this[_0x386185(0x229)]=_0x5afc00(this[_0x386185(0x2c7)],{'timeout':this[_0x386185(0x2c7)],'reqId':_0x3e880d[_0x386185(0x3ba)]}),this[_0x386185(0x1fb)]=this[_0x386185(0x229)]['subscribe'](({reqId:_0x276422,timeout:_0x579384})=>{const _0x485ede=_0x386185;this[_0x485ede(0x31d)](_0x276422,_0x579384);}),this);}[_0x3c7add(0x239)](){const _0x12b7d5=_0x3c7add;return this[_0x12b7d5(0x1b9)](),this['_injector']['createInstance'](_0x405ee9,this[_0x12b7d5(0x11a)],this[_0x12b7d5(0x3c8)],this[_0x12b7d5(0x216)],this[_0x12b7d5(0x1dd)],this[_0x12b7d5(0x168)]);}[_0x3c7add(0x1ac)](){return this;}[_0x3c7add(0x15d)](){const _0x3cb875=_0x3c7add;this[_0x3cb875(0x168)][_0x3cb875(0x26d)](this[_0x3cb875(0x216)]);}['_onConflict'](_0x19ed7a){const _0x518048=_0x3c7add;return this['_clearScheduledTask'](),this[_0x518048(0x37b)][_0x518048(0x242)](_0x2cb513,this[_0x518048(0x11a)],this['type'],null,this[_0x518048(0x1dd)],this[_0x518048(0x168)],_0x19ed7a);}['_resendWithTimeout'](_0x5db5f0,_0x5a6dba){const _0x3b6b0d=_0x3c7add;var _0x3d3181;_0x5db5f0===((_0x3d3181=this[_0x3b6b0d(0x216)])==null?void 0x0:_0x3d3181[_0x3b6b0d(0x3ba)])&&(this['resend'](),this['_resendTimeout']=_0x5a6dba===0x0?0x3e8:Math[_0x3b6b0d(0x3af)](_0x5a6dba*0x2,_0x1ef349),this['_maxTotalRetryTimeout']+=this[_0x3b6b0d(0x2c7)]);}[_0x3c7add(0x1b9)](){const _0x25fe83=_0x3c7add;var _0x5b9124;(_0x5b9124=this[_0x25fe83(0x1fb)])==null||_0x5b9124['unsubscribe'](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x2a0e64=_0x121e18=_0x38f352([_0x78c766(0x6,(0x0,_0x4f2fc5['Inject'])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x7,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf['RevisionService'])),_0x78c766(0x8,_0x4f2fc5['ICommandService']),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0xa,_0x597ddf['ITransformService']),_0x78c766(0xb,_0x4f2fc5[_0x3c7add(0x2c0)]),_0x78c766(0xc,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x2a0e64);let _0x2cb513=class extends _0x4a5cdf{constructor(_0x53e830,_0x20810a,_0x35e7cd,_0x5e88f8,_0x25119d,_0x19ac8c=!0x1,_0x3a85f3,_0x37d7e9,_0x5761b4,_0x4372ec,_0x4913d4,_0xca3b06,_0x140ac1){const _0x1c3e60=_0x3c7add;super(_0x53e830,_0x20810a,_0x35e7cd,_0x5e88f8,_0x25119d,_0x37d7e9,_0x5761b4,_0x4372ec,_0x140ac1),this[_0x1c3e60(0x21d)]=_0x19ac8c,this[_0x1c3e60(0x1cb)]=_0x3a85f3,this[_0x1c3e60(0x23b)]=_0x4913d4,this[_0x1c3e60(0x264)]=_0xca3b06,this['localCacheService']=_0x140ac1,_0x45730e(this,_0x1c3e60(0x1a2),_0x1c3e60(0x15a)),this[_0x1c3e60(0x334)](),this[_0x1c3e60(0x3ae)](),this[_0x1c3e60(0x13b)]();}['appendMutation'](){return this;}[_0x3c7add(0x241)](){return this;}['onRemoteAck'](){return this;}[_0x3c7add(0x374)](){return this;}[_0x3c7add(0x1ad)](){return this;}[_0x3c7add(0x239)](){return this;}[_0x3c7add(0x1ac)](){return this;}['resend'](){throw Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3c7add(0x3ae)](){const _0x53adca=_0x3c7add;var _0xef15ca;(_0xef15ca=this[_0x53adca(0x12a)])==null||_0xef15ca[_0x53adca(0x173)](this['unitID'],this['type'],null,[]);}[_0x3c7add(0x334)](){const _0x56a7de=_0x3c7add;this[_0x56a7de(0x21d)]?this[_0x56a7de(0x264)]['emitEvent']({'id':'PERMISSION_DENIED'}):this[_0x56a7de(0x264)]['emitEvent']({'id':_0x56a7de(0xd8)});}['_disableEditing'](){const _0x4da796=_0x3c7add;this[_0x4da796(0x1cb)][_0x4da796(0x251)](new _0x575377[(_0x4da796(0x2e7))](this[_0x4da796(0x11a)])['id'],!0x1);}};_0x2cb513=_0x38f352([_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0x1c4)])),_0x78c766(0x7,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0x8,_0x4f2fc5['IUndoRedoService']),_0x78c766(0x9,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0xa,(0x0,_0x4f2fc5['Inject'])(_0x4f2fc5['LocaleService'])),_0x78c766(0xb,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x20d828)),_0x78c766(0xc,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x2cb513);let _0x405ee9=class extends _0x4a5cdf{constructor(_0x4eec8c,_0x5e6a1c,_0x51afcd,_0x1199cc,_0x157fc5,_0x57b217,_0x2b5dff,_0x13697,_0x493d41,_0x12de84){const _0x3bdbef=_0x3c7add;super(_0x4eec8c,_0x5e6a1c,_0x51afcd,_0x1199cc,_0x157fc5,_0x13697,_0x493d41,_0x2b5dff,_0x12de84),this[_0x3bdbef(0x37b)]=_0x57b217,_0x45730e(this,_0x3bdbef(0x1a2),_0x3bdbef(0x18f));}['appendMutation'](_0x237dae){const _0x59ac8f=_0x3c7add;return this[_0x59ac8f(0x1dd)]['push'](_0x237dae),this[_0x59ac8f(0x3cf)](),this;}[_0x3c7add(0x241)](_0x22997f){const _0x20de74=_0x3c7add;throw Error(_0x20de74(0x361));}[_0x3c7add(0x2d4)](){const _0x249532=_0x3c7add;throw Error(_0x249532(0xcd));}[_0x3c7add(0x374)](){const _0x4bc3e8=_0x3c7add;throw Error(_0x4bc3e8(0x19c));}['onRemoteRetry'](){return this;}[_0x3c7add(0x239)](){return this;}['toggleOnline'](){const _0x30b970=_0x3c7add;let {_injector:_0x2513c7,_pendingMutations:_0x14370a,_awaitingChangeset:_0x353f28,unitID:_0x21a377,_handler:_0x244344,type:_0x39df35}=this,_0x5bf383=_0x84b430(_0x2513c7,_0x21a377,_0x39df35,_0x353f28,_0x14370a,_0x244344);return _0x5bf383 instanceof _0x2c2e17?_0x5bf383[_0x30b970(0x179)]():(_0x5bf383 instanceof _0x2a0e64||_0x5bf383 instanceof _0x441552)&&_0x5bf383[_0x30b970(0x15d)](),_0x5bf383;}[_0x3c7add(0x15d)](){const _0x1951a1=_0x3c7add;throw Error(_0x1951a1(0x305));}};_0x405ee9=_0x38f352([_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x7,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0x8,_0x4f2fc5[_0x3c7add(0x2c0)]),_0x78c766(0x9,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x405ee9);let _0x47f959=class extends _0x4a5cdf{constructor(_0x35ed18,_0x51a246,_0x15670f,_0x514582,_0x597cd3,_0x5674f3,_0x4cb028,_0x4b9964,_0x8e5d5f,_0x398ac2,_0x1980ac,_0x2c52db,_0x12f15a,_0x4571d8){const _0x3a0b40=_0x3c7add;super(_0x35ed18,_0x51a246,_0x15670f,_0x514582,_0x4cb028,_0x1980ac,_0x2c52db,_0x8e5d5f,_0x4571d8),this['_acknowledgedAwaitingRevision']=_0x597cd3,this[_0x3a0b40(0xd7)]=_0x5674f3,this[_0x3a0b40(0x37b)]=_0x4b9964,this[_0x3a0b40(0x10b)]=_0x398ac2,this['_transformService']=_0x12f15a,this['localCacheService']=_0x4571d8,_0x45730e(this,_0x3a0b40(0x1a2),_0x3a0b40(0x396));}[_0x3c7add(0x1af)](_0x28ee04){const _0x1aca98=_0x3c7add;try{if(this['_handleRemoteChangesets'](_0x28ee04)[_0x1aca98(0x155)])throw Error(_0x1aca98(0x147));if(this[_0x1aca98(0x32f)]([...this['_queuedRemoteChangesets']][_0x1aca98(0x1c1)]((_0x2e80f4,_0x113624)=>_0x2e80f4['revision']-_0x113624[_0x1aca98(0x2e5)]))[_0x1aca98(0x155)])return this[_0x1aca98(0xd7)]=[],this[_0x1aca98(0x3cf)](),this['_handler'][_0x1aca98(0x215)]({'from':this['_getCurrentRevision'](),'to':0x0}),this;let _0x361f1c=this[_0x1aca98(0x216)],_0x2ea76a=this['_pendingMutations'],_0x59937f;if(_0x361f1c&&_0x2ea76a['length']!==0x0)_0x59937f=this[_0x1aca98(0x37b)][_0x1aca98(0x242)](_0x2a0e64,this[_0x1aca98(0x11a)],this[_0x1aca98(0x3c8)],_0x361f1c,_0x2ea76a,this[_0x1aca98(0x168)],void 0x0);else{if(_0x361f1c&&_0x2ea76a[_0x1aca98(0x3a4)]===0x0)_0x361f1c[_0x1aca98(0x296)]=this['_getCurrentRevision'](),_0x59937f=this[_0x1aca98(0x37b)][_0x1aca98(0x242)](_0x441552,this[_0x1aca98(0x11a)],this[_0x1aca98(0x3c8)],_0x361f1c,this[_0x1aca98(0x168)]);else{if(_0x2ea76a[_0x1aca98(0x3a4)]!==0x0){let _0x31a0d2=this['_injector']['createInstance'](_0x2c2e17,this['unitID'],this[_0x1aca98(0x3c8)],_0x2ea76a,this['_handler']);_0x31a0d2['_schedule'](),_0x59937f=_0x31a0d2;}else _0x59937f=this['_injector'][_0x1aca98(0x242)](_0x2168a9,this['unitID'],this['type'],this[_0x1aca98(0x168)]);}}return _0x59937f[_0x1aca98(0x3cf)](),_0x59937f;}catch(_0x584cd2){return this['_logService'][_0x1aca98(0x1f0)](_0x1aca98(0x14d),_0x1aca98(0x38f),_0x584cd2),this['_injector'][_0x1aca98(0x242)](_0x2cb513,this[_0x1aca98(0x11a)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1aca98(0x168)],!0x1);}}[_0x3c7add(0x32f)](_0x52f4ed){const _0x46fec8=_0x3c7add;this[_0x46fec8(0x207)]();for(let _0x4725f6=0x0;_0x4725f6<_0x52f4ed['length'];_0x4725f6++){let _0x2da708=_0x52f4ed[_0x4725f6],_0x4daefc=this[_0x46fec8(0x118)]();if(!(_0x2da708[_0x46fec8(0x2e5)]<=_0x4daefc)){if(_0x2da708[_0x46fec8(0x2e5)]>_0x4daefc+0x1)return{'missingChangesets':!0x0};if(this[_0x46fec8(0x284)](_0x2da708)){this[_0x46fec8(0x3a1)]();continue;}this['_transformAndApplyRemoteChangeset'](_0x2da708),this[_0x46fec8(0x207)]();}}return{'missingChangesets':!0x1};}[_0x3c7add(0x326)](_0x104e24){const _0x2f0399=_0x3c7add;let _0x5c7540=_0x104e24,_0x1e2b5b=this[_0x2f0399(0x216)];if(_0x1e2b5b){let _0x397c3d=this[_0x2f0399(0x220)]['transformChangesets']([_0x104e24],[_0x1e2b5b],!0x1);if(!(0x0,_0x597ddf[_0x2f0399(0x2f6)])(_0x397c3d))throw _0x397c3d[_0x2f0399(0x1f0)];_0x5c7540=_0x397c3d[_0x2f0399(0x23f)][0x0],_0x1e2b5b=_0x397c3d['c2Prime'][0x0];}let _0x106e9b=this[_0x2f0399(0x1dd)];if(_0x106e9b['length']){let _0xc6e877=this[_0x2f0399(0x220)][_0x2f0399(0x1a1)](_0x5c7540,_0x106e9b);if(!(0x0,_0x597ddf[_0x2f0399(0x344)])(_0xc6e877))throw _0xc6e877[_0x2f0399(0x1f0)];_0x5c7540=_0xc6e877[_0x2f0399(0x23f)],_0x106e9b=_0xc6e877[_0x2f0399(0x3bc)];}this[_0x2f0399(0x395)](_0x5c7540),_0x1e2b5b&&(_0x1e2b5b[_0x2f0399(0x296)]=this[_0x2f0399(0x118)]()),this[_0x2f0399(0x216)]=_0x1e2b5b,this['_pendingMutations']=_0x106e9b;}['_acknowledgeAwaitingIfReady'](){const _0x8adeab=_0x3c7add;if(!this[_0x8adeab(0x216)]||this[_0x8adeab(0x2fb)]==null)return;let _0x3dfe3d=this['_getCurrentRevision']();if(this[_0x8adeab(0x2fb)]<=_0x3dfe3d)throw Error(_0x8adeab(0xbe)+this[_0x8adeab(0x2fb)]+'.');this[_0x8adeab(0x2fb)]===_0x3dfe3d+0x1&&this[_0x8adeab(0x3a1)]();}[_0x3c7add(0x3a1)](){const _0x43a641=_0x3c7add;this['_incrementRevisionNumber'](),this[_0x43a641(0x216)]=null,this[_0x43a641(0x2fb)]=null;}[_0x3c7add(0x284)](_0x2f128a){const _0x30c22a=_0x3c7add;let _0x9e7544=this['_awaitingChangeset'];return!_0x9e7544||!_0x9e7544['sid']||_0x9e7544['reqId']===null||_0x9e7544['reqId']===void 0x0?!0x1:_0x2f128a[_0x30c22a(0x11a)]===_0x9e7544[_0x30c22a(0x11a)]&&_0x2f128a[_0x30c22a(0x30a)]===_0x9e7544[_0x30c22a(0x30a)]&&_0x2f128a[_0x30c22a(0x3ba)]===_0x9e7544[_0x30c22a(0x3ba)];}['resend'](){throw Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3c7add(0x1a5)](_0x3d7ea6){const _0x3da293=_0x3c7add;return this[_0x3da293(0x1dd)]['push'](_0x3d7ea6),this;}['onRemoteChangeset'](_0x3bfae8){const _0xd8376c=_0x3c7add;return this[_0xd8376c(0xd7)][_0xd8376c(0x26e)](_0x3bfae8),this;}[_0x3c7add(0x2d4)](_0x486ef2){const _0x4d7284=_0x3c7add;if(this['_awaitingChangeset']){let _0x274584=this[_0x4d7284(0x118)]();return _0x486ef2[_0x4d7284(0x2e5)]<=_0x274584||(_0x274584+0x1===_0x486ef2['revision']?(this[_0x4d7284(0x3b5)](),this['_awaitingChangeset']=null,this[_0x4d7284(0x2fb)]=null):this[_0x4d7284(0x2fb)]=_0x486ef2[_0x4d7284(0x2e5)]),this;}if(_0x486ef2[_0x4d7284(0x2e5)]<=this[_0x4d7284(0x118)]())return this;throw Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x2c882c){const _0x170304=_0x3c7add;return this['_onConflict'](!!(_0x2c882c!=null&&_0x2c882c[_0x170304(0x14b)]));}[_0x3c7add(0x1ad)](){return this;}[_0x3c7add(0x239)](){const _0x5800bb=_0x3c7add;return this[_0x5800bb(0x37b)][_0x5800bb(0x242)](_0x405ee9,this[_0x5800bb(0x11a)],this['type'],this[_0x5800bb(0x216)],this[_0x5800bb(0x1dd)],this[_0x5800bb(0x168)]);}[_0x3c7add(0x1ac)](){return this;}[_0x3c7add(0x254)](_0x9f65f6){const _0x486d12=_0x3c7add;return this[_0x486d12(0x37b)][_0x486d12(0x242)](_0x2cb513,this['unitID'],this[_0x486d12(0x3c8)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x486d12(0x168)],_0x9f65f6);}};_0x47f959=_0x38f352([_0x78c766(0x7,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x8,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0xa,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0xb,_0x4f2fc5['IUndoRedoService']),_0x78c766(0xc,_0x597ddf[_0x3c7add(0x12e)]),_0x78c766(0xd,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x47f959);function _0x84b430(_0x21dae5,_0x4432de,_0x5a0237,_0x4c5e36,_0x8921c4,_0x4992dd){const _0x345f4a=_0x3c7add;return _0x4c5e36&&_0x8921c4[_0x345f4a(0x3a4)]?_0x21dae5['createInstance'](_0x2a0e64,_0x4432de,_0x5a0237,_0x4c5e36,_0x8921c4,_0x4992dd,void 0x0):_0x4c5e36?_0x21dae5[_0x345f4a(0x242)](_0x441552,_0x4432de,_0x5a0237,_0x4c5e36,_0x4992dd):_0x8921c4[_0x345f4a(0x3a4)]?_0x21dae5[_0x345f4a(0x242)](_0x2c2e17,_0x4432de,_0x5a0237,_0x8921c4,_0x4992dd):_0x21dae5[_0x345f4a(0x242)](_0x2168a9,_0x4432de,_0x5a0237,_0x4992dd);}let _0x137310=class extends _0x4f2fc5[_0x3c7add(0x145)]{get[_0x3c7add(0x14f)](){const _0x3d4c94=_0x3c7add;return this[_0x3d4c94(0x39d)];}constructor(_0x45063b,_0x31e4ed,_0x5168a6,_0x1d547a,_0x2d281f,_0x122c28,_0xb399bb,_0x3197f1,_0xe0df2,_0x3bd4a3,_0x1e1f82,_0x4f0249,_0x5df73f,_0xab36d8){const _0xe2761d=_0x3c7add;super(),this[_0xe2761d(0x11a)]=_0x45063b,this[_0xe2761d(0x230)]=_0x31e4ed,this['_type']=_0x5168a6,this[_0xe2761d(0x37b)]=_0x1d547a,this[_0xe2761d(0x18c)]=_0x2d281f,this[_0xe2761d(0x23b)]=_0x122c28,this[_0xe2761d(0x39e)]=_0xb399bb,this[_0xe2761d(0x101)]=_0x3197f1,this[_0xe2761d(0x243)]=_0xe0df2,this[_0xe2761d(0x10b)]=_0x3bd4a3,this['_commandService']=_0x1e1f82,this['_permissionService']=_0x4f0249,this[_0xe2761d(0x129)]=_0x5df73f,this[_0xe2761d(0x12a)]=_0xab36d8,_0x45730e(this,_0xe2761d(0x3ce),new _0x196a42[(_0xe2761d(0x2cc))](null)),_0x45730e(this,'state$',this[_0xe2761d(0x3ce)][_0xe2761d(0xc6)]()),_0x45730e(this,_0xe2761d(0x39d),void 0x0),_0x45730e(this,_0xe2761d(0x212),!0x1),_0x45730e(this,_0xe2761d(0x3d0),''),_0x45730e(this,_0xe2761d(0xec),0x0),_0x45730e(this,_0xe2761d(0xe3),this[_0xe2761d(0x2cb)][_0xe2761d(0x397)]((0x0,_0x196a42[_0xe2761d(0x192)])(_0x52f2fe=>_0x52f2fe?_0x52f2fe[_0xe2761d(0x1a2)]:_0xe2761d(0x18f)),(0x0,_0x196a42[_0xe2761d(0x34f)])({'bufferSize':0x1,'refCount':!0x0}))),_0x45730e(this,_0xe2761d(0x13c),!0x1),_0x45730e(this,_0xe2761d(0x304),[]);}async[_0x3c7add(0x19f)](){const _0x82490b=_0x3c7add;if(this[_0x82490b(0x14f)])throw Error(_0x82490b(0x271));await this[_0x82490b(0x37a)]();}['pauseCollaboration'](){const _0x4f6155=_0x3c7add;return this[_0x4f6155(0x212)]=!0x0,(0x0,_0x4f2fc5[_0x4f6155(0x164)])(()=>{const _0x591ecf=_0x4f6155;this[_0x591ecf(0x212)]=!0x1,this[_0x591ecf(0x377)]();});}[_0x3c7add(0x3db)](_0x525f5a){const _0x1c7483=_0x3c7add;this[_0x1c7483(0x18a)](_0x525f5a);}[_0x3c7add(0x23c)](_0x5b8f89){const _0x589450=_0x3c7add;this['_state']=_0x5b8f89,this['_state$'][_0x589450(0x232)](_0x5b8f89);}async[_0x3c7add(0x37a)](){const _0x550366=_0x3c7add;if(this[_0x550366(0x23c)](await this[_0x550366(0xc7)]()),this['_singleActiveUnitService']){var _0x32cd72;(_0x32cd72=this[_0x550366(0x129)])==null||_0x32cd72[_0x550366(0x1c3)](this[_0x550366(0x11a)]),this[_0x550366(0x3b1)](this[_0x550366(0x129)]['getUnitStatus$'](this[_0x550366(0x11a)])[_0x550366(0x237)](_0x32f5e4=>{const _0x26b6db=_0x550366;this[_0x26b6db(0x10b)][_0x26b6db(0x2ec)](_0x26b6db(0x363),_0x26b6db(0xce),_0x32f5e4),_0x32f5e4===0x1?(this[_0x26b6db(0x101)]['emitEvent']({'id':_0x26b6db(0x3bf)}),this[_0x26b6db(0x1cb)]['updatePermissionPoint'](new _0x575377[(_0x26b6db(0x2e7))](this['unitID'])['id'],!0x1),this[_0x26b6db(0x1cb)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x26b6db(0x251)](new _0x575377[(_0x26b6db(0x2e7))](this[_0x26b6db(0x11a)])['id'],!0x0),this['_permissionService'][_0x26b6db(0x36e)](!0x0));}));}let _0x18cbfe=!0x1;return this['disposeWithMe'](this[_0x550366(0x230)][_0x550366(0x188)]['subscribe'](_0x52a1ba=>{const _0x3bd7ad=_0x550366;_0x52a1ba===0x3?this[_0x3bd7ad(0x209)](_0x18cbfe):_0x52a1ba===0x2&&(_0x18cbfe=!0x0,this[_0x3bd7ad(0x3e0)]());})),this[_0x550366(0x3b1)](this[_0x550366(0x230)][_0x550366(0x211)][_0x550366(0x237)](_0x361f3e=>{const _0x1d32b=_0x550366;try{switch(_0x361f3e[_0x1d32b(0x1ff)]){case _0x597ddf[_0x1d32b(0xf9)][_0x1d32b(0x203)]:this['_onRemoteChangeset']((0x0,_0x597ddf['parseProtocolChangeset'])(_0x361f3e['data']));break;case _0x597ddf[_0x1d32b(0xf9)]['CHANGESET_ACK']:this['_onRemoteACK'](_0x361f3e['data']);break;case _0x597ddf[_0x1d32b(0xf9)]['CHANGESET_REJ']:this[_0x1d32b(0xbc)]();break;case _0x597ddf[_0x1d32b(0xf9)][_0x1d32b(0x2ac)]:this[_0x1d32b(0x3aa)](_0x361f3e['data']);break;case _0x597ddf[_0x1d32b(0xf9)]['PSEUDO_FETCH_MISSING_RESULT']:this[_0x1d32b(0x277)](_0x361f3e[_0x1d32b(0x37e)][_0x1d32b(0x1a8)][_0x1d32b(0x192)](_0xf51bed=>(0x0,_0x597ddf[_0x1d32b(0x266)])(_0xf51bed)));break;case _0x597ddf[_0x1d32b(0xf9)]['PERMISSION_REJ']:this[_0x1d32b(0xbc)]({'isPermissionRej':!0x0});break;case _0x597ddf[_0x1d32b(0xf9)][_0x1d32b(0x1bd)]:break;}}catch(_0x26bc35){throw console['error'](_0x1d32b(0x1ef),_0x26bc35),_0x26bc35;}})),this[_0x550366(0x39d)];}[_0x3c7add(0x38e)](){const _0x2e043c=_0x3c7add;this[_0x2e043c(0x13c)]=!0x1;}[_0x3c7add(0x307)](){const _0x1589f8=_0x3c7add;if(this[_0x1589f8(0x13c)])throw Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1589f8(0x13c)]=!0x0;}[_0x3c7add(0x18a)](_0xf0a0d1){const _0x2a82c9=_0x3c7add;this[_0x2a82c9(0x307)](),this['_updateState'](this[_0x2a82c9(0x39d)][_0x2a82c9(0x1a5)](_0xf0a0d1)),this['_unlockTransition']();}[_0x3c7add(0x259)](_0x5a30fe){const _0x5ea52b=_0x3c7add;if(!(_0x5a30fe[_0x5ea52b(0x2e5)]<=this[_0x5ea52b(0x39e)][_0x5ea52b(0x139)](this[_0x5ea52b(0x11a)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x5a30fe);return;}this['_applyRemoteChangeset'](_0x5a30fe);}}['_exhaustRemoteChangesetQueue'](){const _0x5075bf=_0x3c7add;this[_0x5075bf(0x304)][_0x5075bf(0x253)](_0x5741e8=>this[_0x5075bf(0x279)](_0x5741e8)),this[_0x5075bf(0x304)]=[];}[_0x3c7add(0x279)](_0x514244){const _0x417379=_0x3c7add;let _0x6a0da2=this[_0x417379(0x18c)][_0x417379(0x2c1)][_0x417379(0x291)](this[_0x417379(0x18c)]['interceptor'][_0x417379(0x142)]()['COMPRESS_MUTATION_APPLY'])(_0x514244[_0x417379(0x1eb)],null)||_0x514244[_0x417379(0x1eb)],_0x130dca={..._0x514244,'mutations':_0x6a0da2};this[_0x417379(0x307)](),this[_0x417379(0x23c)](this[_0x417379(0x39d)]['onRemoteChangeset'](_0x130dca)),this[_0x417379(0x38e)]();}[_0x3c7add(0x1df)](_0x258ad0){const _0xc56dba=_0x3c7add;this[_0xc56dba(0x307)](),this[_0xc56dba(0x23c)](this[_0xc56dba(0x39d)]['onRemoteAck'](_0x258ad0)),this['_unlockTransition']();}[_0x3c7add(0xbc)](_0x3e1fc2){const _0x8ecebf=_0x3c7add;this[_0x8ecebf(0x307)](),this[_0x8ecebf(0x23c)](this[_0x8ecebf(0x39d)][_0x8ecebf(0x374)](_0x3e1fc2)),this[_0x8ecebf(0x38e)]();}[_0x3c7add(0x3aa)](_0x5efeed){const _0x42aea4=_0x3c7add;this['_lockTransition'](),this[_0x42aea4(0x23c)](this[_0x42aea4(0x39d)][_0x42aea4(0x1ad)](_0x5efeed)),this['_unlockTransition']();}[_0x3c7add(0x277)](_0x1bdbc5){const _0x250580=_0x3c7add;if(!(this[_0x250580(0x39d)]instanceof _0x47f959))throw TypeError(_0x250580(0x28b));let _0x59c0f3=_0x1bdbc5[_0x250580(0x192)](_0x2feb4e=>{const _0x1e320e=_0x250580;let _0x949501=this['_compressMutationService'][_0x1e320e(0x2c1)][_0x1e320e(0x291)](this[_0x1e320e(0x18c)][_0x1e320e(0x2c1)][_0x1e320e(0x142)]()[_0x1e320e(0x15b)])(_0x2feb4e['mutations'],null)||_0x2feb4e[_0x1e320e(0x1eb)];return{..._0x2feb4e,'mutations':_0x949501};});this[_0x250580(0x307)](),this[_0x250580(0x23c)](this['_state'][_0x250580(0x1af)](_0x59c0f3)),this['_unlockTransition']();}[_0x3c7add(0x3e0)](){const _0x250f0b=_0x3c7add;this[_0x250f0b(0x307)](),this[_0x250f0b(0x23c)](this[_0x250f0b(0x39d)][_0x250f0b(0x239)]()),this[_0x250f0b(0x38e)]();}[_0x3c7add(0x209)](_0xde0a21=!0x1){const _0x5ba368=_0x3c7add;this[_0x5ba368(0x307)](),this[_0x5ba368(0x23c)](this['_state']['toggleOnline']()),this[_0x5ba368(0x38e)]();let _0x335afe=this[_0x5ba368(0x39d)];_0xde0a21&&_0x335afe instanceof _0x2168a9&&(this['_lockTransition'](),this[_0x5ba368(0x23c)](_0x335afe[_0x5ba368(0x10c)]()),this['_unlockTransition']());}async[_0x3c7add(0xc7)](){return new Promise(_0x6f60e7=>{const _0x5698b3=_0x4364;this['session'][_0x5698b3(0x188)]['pipe']((0x0,_0x196a42[_0x5698b3(0x2a7)])(0x1))['subscribe'](async _0x41930d=>{const _0x16fd0b=_0x5698b3;_0x6f60e7(await this[_0x16fd0b(0x200)](_0x41930d===0x3));});});}[_0x3c7add(0x28c)](){const _0x371222=_0x3c7add;let _0x3170a6=this[_0x371222(0x11a)];return{'onStateChange':(_0x369807,_0x276a6b)=>{const _0xd089d5=_0x371222;if(_0x369807!==this[_0xd089d5(0x39d)])throw Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x369807[_0xd089d5(0x1a2)]+_0xd089d5(0xe9)+_0x276a6b[_0xd089d5(0x1a2)]+_0xd089d5(0x398)+this['_state'][_0xd089d5(0x1a2)]);this[_0xd089d5(0x23c)](_0x276a6b);},'onSendChangeset':_0x5d3650=>{const _0x1b8cef=_0x371222;_0x5d3650[_0x1b8cef(0x30a)]||(_0x5d3650[_0x1b8cef(0x30a)]=this['_changesetSessionId'],_0x5d3650[_0x1b8cef(0x3ba)]=++this['_changesetReqId']);let _0x544adb={'eventID':_0x597ddf[_0x1b8cef(0xf9)][_0x1b8cef(0x375)],'data':{'unitID':_0x5d3650[_0x1b8cef(0x11a)],'unitType':this[_0x1b8cef(0x33e)],'changeset':_0x5d3650,'memberID':this[_0x1b8cef(0x230)][_0x1b8cef(0xdd)]()}};this[_0x1b8cef(0x230)]['send'](_0x544adb,this[_0x1b8cef(0x11a)]);},'onMissingChangesets':({from:_0x32e8b0,to:_0x16a7b6})=>{const _0x231238=_0x371222;this[_0x231238(0x10b)][_0x231238(0x2ec)](_0x231238(0x363),_0x231238(0x151)+_0x32e8b0+'\x20to\x20'+_0x16a7b6);let _0x23bce6={'eventID':_0x597ddf[_0x231238(0xf9)]['FETCH_MISSING'],'data':{'unitID':_0x3170a6,'unitType':this[_0x231238(0x33e)],'from':_0x32e8b0,'to':_0x16a7b6}};this[_0x231238(0x230)][_0x231238(0x19b)](_0x23bce6,this['unitID']);}};}async['_createInitialStateImpl'](_0x1bb34a){const _0x2d635c=_0x3c7add;var _0x381645,_0xc7ec9c,_0x3b55c4;let _0xfe4d1b=await((_0x381645=this[_0x2d635c(0x12a)])==null?void 0x0:_0x381645[_0x2d635c(0x20c)](this['unitID'])),_0x5b9780=(_0xc7ec9c=_0xfe4d1b==null?void 0x0:_0xfe4d1b[_0x2d635c(0x1eb)])==null?[]:_0xc7ec9c,_0xbafdf=(_0x3b55c4=_0xfe4d1b==null?void 0x0:_0xfe4d1b[_0x2d635c(0x27a)])==null?null:_0x3b55c4,_0x511982=!!(_0xbafdf!=null&&_0xbafdf[_0x2d635c(0x30a)])&&!!(_0xbafdf!=null&&_0xbafdf[_0x2d635c(0x3ba)]);this[_0x2d635c(0x3d0)]=_0x511982?_0xbafdf[_0x2d635c(0x30a)]:(0x0,_0x597ddf[_0x2d635c(0x252)])(),this['_changesetReqId']=_0x511982?_0xbafdf[_0x2d635c(0x3ba)]:0x0;let _0x583cfb=this[_0x2d635c(0x11a)];try{this[_0x2d635c(0x12d)](_0xbafdf,_0x5b9780);}catch(_0x28b78f){this['_logService'][_0x2d635c(0x1f0)](_0x28b78f);}let _0x2cba29=this[_0x2d635c(0x28c)]();if(_0x1bb34a){let _0xebeff0=_0x84b430(this[_0x2d635c(0x37b)],_0x583cfb,this[_0x2d635c(0x33e)],_0xbafdf,_0x5b9780,_0x2cba29);return _0xebeff0 instanceof _0x2c2e17?_0xebeff0[_0x2d635c(0x179)]():(_0xebeff0 instanceof _0x2a0e64||_0xebeff0 instanceof _0x441552)&&_0xebeff0['resend'](),_0xebeff0;}return this[_0x2d635c(0x37b)]['createInstance'](_0x405ee9,_0x583cfb,this[_0x2d635c(0x33e)],_0xbafdf,_0x5b9780,_0x2cba29);}[_0x3c7add(0x12d)](_0x5e3764,_0x515d82){const _0x3fa90f=_0x3c7add;var _0x3d92f7,_0x4fa22e;let _0x54f379=this[_0x3fa90f(0x18c)][_0x3fa90f(0x2c1)][_0x3fa90f(0x291)](this[_0x3fa90f(0x18c)][_0x3fa90f(0x2c1)]['getInterceptPoints']()[_0x3fa90f(0x15b)]);(_0x3d92f7=_0x54f379((_0x5e3764==null?void 0x0:_0x5e3764[_0x3fa90f(0x1eb)])||[],null))==null||_0x3d92f7[_0x3fa90f(0x253)](_0x5bdf96=>this[_0x3fa90f(0x111)][_0x3fa90f(0x313)](_0x5bdf96['id'],_0x5bdf96[_0x3fa90f(0xdb)])),(_0x4fa22e=_0x54f379(_0x515d82||[],null))==null||_0x4fa22e[_0x3fa90f(0x253)](_0x50ae4c=>this[_0x3fa90f(0x111)]['executeCommand'](_0x50ae4c['id'],_0x50ae4c[_0x3fa90f(0xdb)]));}};_0x137310=_0x38f352([_0x78c766(0x3,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['Injector'])),_0x78c766(0x4,(0x0,_0x4f2fc5['Inject'])(_0x597ddf[_0x3c7add(0x29d)])),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0x3b2)])),_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x7,(0x0,_0x4f2fc5['Inject'])(_0x20d828)),_0x78c766(0x8,_0x4f2fc5['IUniverInstanceService']),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0xa,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0xb,_0x4f2fc5[_0x3c7add(0x1c4)]),_0x78c766(0xc,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x546860)),_0x78c766(0xd,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x137310);let _0x44307b=class extends _0x137310{constructor(_0x10029a,_0x530660,_0x40a73c,_0x565885,_0x480c2b,_0x127100,_0x42d6bd,_0x654f10,_0x32564f,_0x5575c5,_0x20dff7,_0x576204,_0x4ecc62,_0x133d75){const _0x50ca4f=_0x3c7add;super(_0x10029a,_0x40a73c,_0x530660,_0x565885,_0x480c2b,_0x127100,_0x42d6bd,_0x654f10,_0x32564f,_0x5575c5,_0x20dff7,_0x576204,_0x4ecc62,_0x133d75),this[_0x50ca4f(0x11a)]=_0x10029a,this[_0x50ca4f(0x3c8)]=_0x530660,_0x45730e(this,_0x50ca4f(0x269),null);}[_0x3c7add(0x19a)](_0x172707){const _0x197fae=_0x3c7add;this[_0x197fae(0x269)]=_0x172707;}[_0x3c7add(0x202)](){const _0x84be95=_0x3c7add;this[_0x84be95(0x269)]=null,super[_0x84be95(0x202)]();}[_0x3c7add(0x28c)](){const _0x2be530=_0x3c7add;let _0x2292eb=super[_0x2be530(0x28c)]();return _0x2292eb['onTransformIME']=_0x4f75a3=>{const _0x1e4022=_0x2be530;var _0x15e5e0,_0x1cd9f5;return(_0x15e5e0=this[_0x1e4022(0x269)])==null||(_0x1cd9f5=_0x15e5e0[_0x1e4022(0x320)])==null?void 0x0:_0x1cd9f5['call'](_0x15e5e0,_0x4f75a3);},_0x2292eb[_0x2be530(0x346)]=_0x20d27b=>{const _0x1e5c8e=_0x2be530;var _0x76c626,_0x12e4c3;return(_0x76c626=this[_0x1e5c8e(0x269)])==null||(_0x12e4c3=_0x76c626[_0x1e5c8e(0x346)])==null?void 0x0:_0x12e4c3[_0x1e5c8e(0x3bb)](_0x76c626,_0x20d27b);},_0x2292eb['onTransformSelections']=_0x3ceb8e=>{const _0x553b06=_0x2be530;var _0xcd4ef3,_0x24ea5c;return(_0xcd4ef3=this[_0x553b06(0x269)])==null||(_0x24ea5c=_0xcd4ef3[_0x553b06(0x2cd)])==null?void 0x0:_0x24ea5c[_0x553b06(0x3bb)](_0xcd4ef3,_0x3ceb8e);},_0x2292eb['onSyncEditingCollabCursor']=_0x1f66d3=>{const _0x5cca6b=_0x2be530;var _0xdea120,_0x12a53c;return(_0xdea120=this[_0x5cca6b(0x269)])==null||(_0x12a53c=_0xdea120['onSyncEditingCollabCursor'])==null?void 0x0:_0x12a53c[_0x5cca6b(0x3bb)](_0xdea120,_0x1f66d3);},_0x2292eb[_0x2be530(0x181)]=_0x13f0f2=>{const _0x490cd5=_0x2be530;var _0x16f9f6,_0x1fe370,_0x42e4b7;if(!((_0x16f9f6=this[_0x490cd5(0x269)])!=null&&_0x16f9f6[_0x490cd5(0x181)]))throw Error(_0x490cd5(0x3bd));return(_0x1fe370=this[_0x490cd5(0x269)])==null||(_0x42e4b7=_0x1fe370['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x42e4b7[_0x490cd5(0x3bb)](_0x1fe370,_0x13f0f2);},_0x2292eb[_0x2be530(0x1f2)]=_0x45ef26=>{const _0x260e2a=_0x2be530;var _0x2e6fd2,_0xffccde,_0x24c8d4;if(!((_0x2e6fd2=this['_handlerCallback'])!=null&&_0x2e6fd2[_0x260e2a(0x1f2)]))throw Error(_0x260e2a(0x2ef));return(_0xffccde=this[_0x260e2a(0x269)])==null||(_0x24c8d4=_0xffccde[_0x260e2a(0x1f2)])==null?void 0x0:_0x24c8d4[_0x260e2a(0x3bb)](_0xffccde,_0x45ef26);},_0x2292eb;}async['_init'](){const _0x526ea4=_0x3c7add;let _0x37951f=await super[_0x526ea4(0x37a)]();return this[_0x526ea4(0x3b1)](this[_0x526ea4(0x111)][_0x526ea4(0x2b2)]((_0xecf72d,_0x129bac)=>{const _0x57dbf4=_0x526ea4;if(_0xecf72d['type']!==_0x4f2fc5['CommandType'][_0x57dbf4(0x105)]||_0x129bac!=null&&_0x129bac['fromCollab']||_0x129bac!=null&&_0x129bac['onlyLocal']||_0xecf72d['id']===_0x37b785[_0x57dbf4(0x383)]['id'])return;let _0x130d23=_0xecf72d['params'];if((_0x130d23==null?void 0x0:_0x130d23[_0x57dbf4(0x225)])!==this[_0x57dbf4(0x11a)])return;let _0x3b3985=_0xecf72d,_0x25a3f2=this[_0x57dbf4(0x18c)][_0x57dbf4(0x2c1)][_0x57dbf4(0x291)](this[_0x57dbf4(0x18c)][_0x57dbf4(0x2c1)]['getInterceptPoints']()[_0x57dbf4(0x2fe)])([_0x3b3985],this['_univerInstanceService'])||[_0x3b3985];this[_0x57dbf4(0x18a)](_0x25a3f2[0x0]);})),_0x37951f;}};_0x44307b=_0x38f352([_0x78c766(0x3,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['Injector'])),_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x29d)])),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0x3b2)])),_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x7,(0x0,_0x4f2fc5['Inject'])(_0x20d828)),_0x78c766(0x8,_0x4f2fc5['IUniverInstanceService']),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0xa,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0xb,_0x4f2fc5['IPermissionService']),_0x78c766(0xc,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x546860)),_0x78c766(0xd,(0x0,_0x4f2fc5['Optional'])(_0x54dcc4))],_0x44307b);let _0xb49add=class extends _0x137310{constructor(_0x49cdc8,_0x11bd71,_0x423053,_0x12be70,_0x4eef49,_0x51aae5,_0x28e1a9,_0xfb1eff,_0x2d0cb4,_0x2d2809,_0x4f70a3,_0x2a4415,_0x3a0d12,_0x2aaf54,_0x2df6c3){const _0xc12b5f=_0x3c7add;super(_0x49cdc8,_0x423053,_0x11bd71,_0x12be70,_0x4eef49,_0x51aae5,_0x28e1a9,_0x2d0cb4,_0x2d2809,_0x4f70a3,_0x2a4415,_0x3a0d12,_0x2aaf54,_0x2df6c3),this[_0xc12b5f(0x11a)]=_0x49cdc8,this[_0xc12b5f(0x3c8)]=_0x11bd71,this[_0xc12b5f(0x195)]=_0xfb1eff;}['_createHandler'](){const _0x40dce6=_0x3c7add;let _0x513311=super[_0x40dce6(0x28c)]();return _0x513311['onTransformSelections']=_0xc14c0=>this[_0x40dce6(0x195)]['transformSelections'](_0xc14c0),_0x513311;}async['_init'](){const _0x243d95=_0x3c7add;let _0x1f35d5=await super[_0x243d95(0x37a)]();return this[_0x243d95(0x3b1)](this[_0x243d95(0x111)][_0x243d95(0x2b2)]((_0x44d983,_0x4d07ee)=>{const _0x1db350=_0x243d95;if(_0x44d983[_0x1db350(0x3c8)]!==_0x4f2fc5['CommandType'][_0x1db350(0x105)]||_0x4d07ee!=null&&_0x4d07ee[_0x1db350(0x337)]||_0x4d07ee!=null&&_0x4d07ee[_0x1db350(0x176)])return;let _0x399c2c=_0x44d983['params'];if((_0x399c2c==null?void 0x0:_0x399c2c[_0x1db350(0x225)])!==this[_0x1db350(0x11a)])return;let _0x284bb1=_0x44d983,_0x349acb=this[_0x1db350(0x18c)]['interceptor'][_0x1db350(0x291)](this['_compressMutationService'][_0x1db350(0x2c1)]['getInterceptPoints']()[_0x1db350(0x2fe)])([_0x284bb1],this[_0x1db350(0x243)])||[_0x284bb1];this['_onLocalMutation'](_0x349acb[0x0]);})),_0x1f35d5;}};_0xb49add=_0x38f352([_0x78c766(0x3,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x4,(0x0,_0x4f2fc5['Inject'])(_0x597ddf['CompressMutationService'])),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['LocaleService'])),_0x78c766(0x6,(0x0,_0x4f2fc5['Inject'])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x7,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x479f64)),_0x78c766(0x8,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x20d828)),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0x1d0)]),_0x78c766(0xa,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0xb,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0xc,_0x4f2fc5['IPermissionService']),_0x78c766(0xd,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x546860)),_0x78c766(0xe,(0x0,_0x4f2fc5['Optional'])(_0x54dcc4))],_0xb49add);let _0x5984c8=(0x0,_0x4f2fc5[_0x3c7add(0x267)])(_0x3c7add(0x2f5));function _0x3e0e79(_0x242970){const _0x445c9c=_0x3c7add;let _0x49ecb3=_0x242970[_0x445c9c(0x37e)],_0x2d0ed8=JSON[_0x445c9c(0x310)](_0x49ecb3);switch(_0x2d0ed8[_0x445c9c(0x270)]){case _0x121aa6[_0x445c9c(0x31e)][_0x445c9c(0x3b0)]:case _0x121aa6[_0x445c9c(0x31e)][_0x445c9c(0x37f)]:{let _0x1072e8=_0x2d0ed8[_0x445c9c(0x24c)];return{..._0x2d0ed8,'data':_0x1072e8,'cmd':_0x2d0ed8[_0x445c9c(0x270)]};}case _0x121aa6[_0x445c9c(0x31e)][_0x445c9c(0x2ee)]:{let _0x48d8d1=_0x2d0ed8[_0x445c9c(0x20a)];return{..._0x2d0ed8,'data':_0x48d8d1,'cmd':_0x2d0ed8['cmd']};}case _0x121aa6[_0x445c9c(0x31e)][_0x445c9c(0x1ea)]:{let _0x347dc2=_0x2d0ed8[_0x445c9c(0xba)];switch(_0x347dc2[_0x445c9c(0x1ff)]){case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x2de)]:var _0x5ac23c;return{..._0x2d0ed8,'data':{..._0x347dc2,'data':(_0x5ac23c=_0x347dc2[_0x445c9c(0x16f)])==null?void 0x0:_0x5ac23c['cs']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)]['CHANGESET_ACK']:var _0x275506;return{..._0x2d0ed8,'data':{..._0x347dc2,'data':(_0x275506=_0x347dc2[_0x445c9c(0x3d6)])==null?void 0x0:_0x275506['cs']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x203)]:var _0x2536ea;return{..._0x2d0ed8,'data':{..._0x347dc2,'data':(_0x2536ea=_0x347dc2[_0x445c9c(0x372)])==null?void 0x0:_0x2536ea['cs']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0xfa)]:var _0x52e789;return{..._0x2d0ed8,'data':{..._0x347dc2,'data':(_0x52e789=_0x347dc2[_0x445c9c(0x3b8)])==null?void 0x0:_0x52e789['cs']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x2ac)]:var _0x28461c;return{..._0x2d0ed8,'data':{..._0x347dc2,'data':(_0x28461c=_0x347dc2[_0x445c9c(0x297)])==null?void 0x0:_0x28461c['cs']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf['CollaborationEvent'][_0x445c9c(0x10e)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x34e)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf['CollaborationEvent'][_0x445c9c(0x25b)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2['joinEvent']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x121)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x2c9)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x1d3)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2['liveShareNewHost']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf['CollaborationEvent'][_0x445c9c(0x2d3)]:case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x169)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x1f8)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x30d)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x294)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0xc3)]:return{..._0x2d0ed8,'data':_0x347dc2,'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x311)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x2a8)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x1dc)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0xcb)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)]['SHOULD_CLOSE_CONN']:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x247)]},'cmd':_0x2d0ed8['cmd']};case _0x597ddf[_0x445c9c(0xf9)]['UNISCRIPT_RUN']:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x1e6)]},'cmd':_0x2d0ed8['cmd']};default:return _0x2d0ed8;}}default:return _0x2d0ed8;}}function _0x14d4cf(_0x35052d){const _0x568148=_0x3c7add;switch(_0x35052d[_0x568148(0x270)]){case _0x121aa6[_0x568148(0x31e)]['HEARTBEAT']:case _0x121aa6[_0x568148(0x31e)][_0x568148(0x37f)]:return JSON[_0x568148(0x265)]({'cmd':_0x35052d[_0x568148(0x270)],'routeKey':_0x35052d[_0x568148(0x124)]});case _0x121aa6[_0x568148(0x31e)]['INGEST']:{let _0x4c6875;switch(_0x35052d['data'][_0x568148(0x1ff)]){case _0x597ddf[_0x568148(0xf9)][_0x568148(0x10e)]:_0x4c6875={'eventID':_0x597ddf[_0x568148(0xf9)][_0x568148(0x10e)],'updateCursorEvent':_0x35052d[_0x568148(0x37e)]['data']};break;case _0x597ddf['CollaborationEvent'][_0x568148(0x121)]:_0x4c6875={'eventID':_0x597ddf['CollaborationEvent'][_0x568148(0x121)],'leaveEvent':_0x35052d[_0x568148(0x37e)]['data']};break;case _0x597ddf[_0x568148(0xf9)]['USERS_ENTER']:_0x4c6875={'eventID':_0x597ddf['CollaborationEvent'][_0x568148(0x25b)],'joinEvent':_0x35052d['data'][_0x568148(0x37e)]};break;case _0x597ddf[_0x568148(0xf9)][_0x568148(0x1d3)]:_0x4c6875={'eventID':_0x597ddf[_0x568148(0xf9)][_0x568148(0x1d3)],'liveShareNewHost':_0x35052d[_0x568148(0x37e)][_0x568148(0x37e)]};break;case _0x597ddf[_0x568148(0xf9)][_0x568148(0x169)]:_0x4c6875={'eventID':_0x597ddf['CollaborationEvent'][_0x568148(0x169)],'liveShareOperation':_0x35052d[_0x568148(0x37e)]['data']};break;case _0x597ddf[_0x568148(0xf9)][_0x568148(0x30d)]:_0x4c6875={'eventID':_0x597ddf['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x35052d['data']['data']};break;case _0x597ddf[_0x568148(0xf9)][_0x568148(0x11d)]:_0x4c6875={'eventID':_0x597ddf[_0x568148(0xf9)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x35052d[_0x568148(0x37e)][_0x568148(0x37e)]};break;case _0x597ddf[_0x568148(0xf9)][_0x568148(0x2d3)]:_0x4c6875={'eventID':_0x597ddf['CollaborationEvent'][_0x568148(0x2d3)]};break;default:_0x4c6875={'eventID':_0x35052d['data'][_0x568148(0x1ff)]};}return JSON['stringify']({'cmd':_0x35052d[_0x568148(0x270)],'routeKey':_0x35052d['routeKey'],'collaMsg':_0x4c6875});}case _0x121aa6['CombCmd']['JOIN']:return JSON[_0x568148(0x265)]({'cmd':_0x35052d[_0x568148(0x270)],'routeKey':_0x35052d['routeKey'],'joinReq':_0x35052d[_0x568148(0x37e)]});case _0x121aa6[_0x568148(0x31e)]['LEAVE']:return JSON[_0x568148(0x265)]({'cmd':_0x35052d['cmd'],'routeKey':_0x35052d[_0x568148(0x124)],'leaveReq':_0x35052d[_0x568148(0x37e)]});default:throw Error(_0x568148(0x152));}}let _0x2a6fcc=(0x0,_0x4f2fc5[_0x3c7add(0x267)])(_0x3c7add(0xf4));function _0x3793af(_0x5c2963,_0x5da71a,_0x20b05b){const _0x49e4ca=_0x3c7add;return _0x5c2963+'/'+_0x5da71a+_0x49e4ca(0x221)+_0x20b05b+_0x49e4ca(0x30b);}let _0x3d275e=class extends _0x4f2fc5[_0x3c7add(0x210)]{constructor(_0x55c490,_0x2456df,_0x53b2c0,_0x12be80,_0x413a9b){const _0x275b85=_0x3c7add;super(),this[_0x275b85(0x37b)]=_0x55c490,this['_httpService']=_0x2456df,this[_0x275b85(0x33c)]=_0x53b2c0,this[_0x275b85(0x10b)]=_0x12be80,this[_0x275b85(0x10a)]=_0x413a9b;}[_0x3c7add(0x263)](_0x4c2576){const _0x5f38b3=_0x3c7add;let _0x49cac4=this[_0x5f38b3(0x37b)]['get'](_0x4fa7e8[_0x5f38b3(0x148)]);if(!_0x49cac4)throw Error(_0x5f38b3(0x117));let _0x4b02d1=_0x49cac4[_0x5f38b3(0x15e)](_0x4c2576);if(!_0x4b02d1)throw Error(_0x5f38b3(0x281));let _0x16b2de=new _0x4f2fc5[(_0x5f38b3(0x12b))](),_0x5c0da9=new _0x196a42[(_0x5f38b3(0x274))]();_0x16b2de[_0x5f38b3(0x32a)](_0x4b02d1[_0x5f38b3(0x113)]['subscribe'](_0x430085=>_0x5c0da9[_0x5f38b3(0x232)](_0x430085))),_0x16b2de[_0x5f38b3(0x32a)]((0x0,_0x4f2fc5[_0x5f38b3(0x164)])(()=>_0x5c0da9[_0x5f38b3(0x2fd)]()));let _0x88b6f3=new _0x196a42[(_0x5f38b3(0x274))]();_0x16b2de[_0x5f38b3(0x32a)](_0x4b02d1[_0x5f38b3(0x1bc)][_0x5f38b3(0x237)](_0x242a5c=>_0x88b6f3[_0x5f38b3(0x232)](_0x242a5c))),_0x16b2de[_0x5f38b3(0x32a)]((0x0,_0x4f2fc5[_0x5f38b3(0x164)])(()=>_0x88b6f3['complete']()));let _0x4fe0aa=new _0x196a42[(_0x5f38b3(0x274))]();_0x16b2de['add'](_0x4b02d1[_0x5f38b3(0x31b)][_0x5f38b3(0x237)](_0x15af2b=>{let _0x1530d1=_0x3e0e79(_0x15af2b);_0x4fe0aa['next'](_0x1530d1);})),_0x16b2de[_0x5f38b3(0x32a)]((0x0,_0x4f2fc5[_0x5f38b3(0x164)])(()=>_0x4fe0aa['complete']()));let _0x20d8b5,_0x25de0c=()=>{const _0x187d93=_0x5f38b3;_0x88b6f3[_0x187d93(0x232)](new Event(_0x187d93(0x20b))),_0x5c0da9[_0x187d93(0x232)](new Event(_0x187d93(0x20b))),_0x20d8b5['close']();};return _0x20d8b5={'memberID':'','close$':_0x5c0da9[_0x5f38b3(0xc6)](),'error$':_0x88b6f3[_0x5f38b3(0xc6)](),'open$':_0x4b02d1['open$'],'message$':_0x4fe0aa[_0x5f38b3(0xc6)](),'send':_0xb2a1c=>{const _0x4b91a1=_0x5f38b3;if(_0xb2a1c[_0x4b91a1(0x270)]===_0x121aa6[_0x4b91a1(0x31e)][_0x4b91a1(0x132)]){if(_0xb2a1c[_0x4b91a1(0x37e)]['eventID']===_0x597ddf[_0x4b91a1(0xf9)]['SUBMIT_CHANGESET']){this[_0x4b91a1(0x292)](_0x20d8b5,_0xb2a1c['data'])[_0x4b91a1(0x1cf)](_0x29d988=>{const _0x32a56b=_0x4b91a1;this[_0x32a56b(0x10b)][_0x32a56b(0x1f0)](_0x29d988),_0x25de0c();});return;}if(_0xb2a1c[_0x4b91a1(0x37e)][_0x4b91a1(0x1ff)]===_0x597ddf[_0x4b91a1(0xf9)][_0x4b91a1(0x1f4)]){let _0x37cf54=_0xb2a1c[_0x4b91a1(0x37e)];this[_0x4b91a1(0x327)](_0x37cf54)['then'](_0x1dbc33=>{const _0x45044b=_0x4b91a1;_0x4fe0aa[_0x45044b(0x232)]({'cmd':_0x121aa6[_0x45044b(0x31e)]['RECV'],'code':_0x121aa6[_0x45044b(0x3c2)]['OK'],'routeKey':_0x37cf54[_0x45044b(0x37e)][_0x45044b(0x11a)],'routeType':'','data':{'eventID':_0x597ddf[_0x45044b(0xf9)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1dbc33}}});})[_0x4b91a1(0x1cf)](_0x56bb99=>{const _0x5c469c=_0x4b91a1;this[_0x5c469c(0x10b)][_0x5c469c(0x1f0)](_0x56bb99),_0x25de0c();});return;}}_0x4b02d1[_0x4b91a1(0x19b)](_0x14d4cf(_0xb2a1c));},'close':()=>{const _0x5d01fe=_0x5f38b3;_0x4b02d1[_0x5d01fe(0x180)](),_0x16b2de[_0x5d01fe(0x202)]();}},_0x20d8b5;}async[_0x3c7add(0x292)](_0x44ea15,_0x39e1ea){const _0x150d69=_0x3c7add;var _0x5d4518;let {unitType:_0x3e6c95,unitID:_0x5ed177,changeset:_0x3179de}=_0x39e1ea['data'],_0x4d8a1a={'unitID':_0x5ed177,'memberID':_0x44ea15[_0x150d69(0x26c)],'type':_0x3e6c95,'changeset':(0x0,_0x597ddf[_0x150d69(0x35d)])(_0x3179de)},_0x2db35a=this[_0x150d69(0x33c)]['getConfig'](_0x11e35b),_0x1c347f=_0x3793af((_0x5d4518=_0x2db35a==null?void 0x0:_0x2db35a[_0x150d69(0x1ed)])==null?_0x150d69(0x217):_0x5d4518,_0x3e6c95,_0x5ed177);try{await this[_0x150d69(0x16a)][_0x150d69(0x3d8)](_0x1c347f,{'body':_0x4d8a1a});}catch(_0x5886a1){throw this[_0x150d69(0x10b)][_0x150d69(0x1f0)](_0x150d69(0x38c),_0x150d69(0x362)),_0x5886a1;}}async[_0x3c7add(0x327)](_0x151f77){const _0xc5707b=_0x3c7add;let {unitID:_0x14bcea,from:_0x3e9b16,to:_0x3031c0,unitType:_0x3cd102}=_0x151f77[_0xc5707b(0x37e)];return(await this[_0xc5707b(0x10a)][_0xc5707b(0x303)]({'metadata':void 0x0},{'unitID':_0x14bcea,'type':_0x3cd102,'from':_0x3e9b16,'to':_0x3031c0}))[_0xc5707b(0x1a8)]['map'](_0x50f455=>((_0x50f455['mutations']===null||_0x50f455['mutations']===void 0x0)&&(_0x50f455[_0xc5707b(0x1eb)]=[]),_0x50f455));}};_0x3d275e=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x1,(0x0,_0x4f2fc5['Inject'])(_0x4fa7e8[_0x3c7add(0xf3)])),_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x3,_0x4f2fc5['ILogService']),_0x78c766(0x4,_0x597ddf['ISnapshotServerService'])],_0x3d275e);let _0x5af92e=class extends _0x4f2fc5[_0x3c7add(0x210)]{get[_0x3c7add(0x1f1)](){const _0x556dcc=_0x3c7add;return this['_socket$'][_0x556dcc(0x2ae)]();}constructor(_0x28ef67,_0x45c9fd,_0x1c0f51,_0x40bbdd,_0x29e443,_0x56f733){const _0x3b0cf4=_0x3c7add;super(),this['_injector']=_0x28ef67,this[_0x3b0cf4(0x10b)]=_0x45c9fd,this[_0x3b0cf4(0x33c)]=_0x1c0f51,this[_0x3b0cf4(0x20d)]=_0x40bbdd,this[_0x3b0cf4(0x264)]=_0x29e443,this[_0x3b0cf4(0x2ce)]=_0x56f733,_0x45730e(this,'_socket$',new _0x196a42[(_0x3b0cf4(0x2cc))](void 0x0)),_0x45730e(this,_0x3b0cf4(0x2b8),this[_0x3b0cf4(0x1f9)][_0x3b0cf4(0xc6)]()),_0x45730e(this,_0x3b0cf4(0x205),null),_0x45730e(this,_0x3b0cf4(0x341),new Map()),_0x45730e(this,_0x3b0cf4(0x196),new _0x196a42[(_0x3b0cf4(0x2cc))](0x0)),_0x45730e(this,_0x3b0cf4(0xe3),this['_status$'][_0x3b0cf4(0xc6)]()),_0x45730e(this,_0x3b0cf4(0x272),!0x1),_0x45730e(this,_0x3b0cf4(0xe1),void 0x0),_0x45730e(this,'_retryCount',0x0),_0x45730e(this,_0x3b0cf4(0x235),null),_0x45730e(this,_0x3b0cf4(0x399),void 0x0),_0x45730e(this,_0x3b0cf4(0x355),void 0x0),this[_0x3b0cf4(0x13e)]();}['_listenToNetworkCondition'](){const _0x276157=_0x3c7add;this[_0x276157(0x2ce)]&&this[_0x276157(0x3b1)](this[_0x276157(0x2ce)]['online$'][_0x276157(0x237)](_0x47c50e=>{const _0x2d1078=_0x276157;_0x47c50e&&!this['_socket']&&this[_0x2d1078(0x109)](),_0x47c50e||this[_0x2d1078(0x3a6)]();}));}[_0x3c7add(0x202)](){const _0x395c48=_0x3c7add;var _0x40ebda;super[_0x395c48(0x202)](),(_0x40ebda=this[_0x395c48(0x235)])==null||_0x40ebda[_0x395c48(0x248)](),this[_0x395c48(0x235)]=null,this['_clearRetryConnectingTimer'](),this[_0x395c48(0x345)](),this[_0x395c48(0x136)](),this['_sessions'][_0x395c48(0x253)](_0x26e59b=>_0x26e59b['dispose']()),this['_sessions']['clear'](),this[_0x395c48(0x196)][_0x395c48(0x2fd)]();}async[_0x3c7add(0x249)](_0x52d6c4){const _0x3c0825=_0x3c7add;if(this[_0x3c0825(0x341)][_0x3c0825(0x22a)](_0x52d6c4))return this[_0x3c0825(0x341)][_0x3c0825(0x1fd)](_0x52d6c4);this[_0x3c0825(0x144)]();let _0x1de8d6=this[_0x3c0825(0x37b)]['createInstance'](_0x1d1b7a,_0x52d6c4,this['_socket$']['asObservable']());return this['_sessions']['set'](_0x52d6c4,_0x1de8d6),_0x1de8d6;}[_0x3c7add(0x32c)](_0x184629){const _0xbbc9ba=_0x3c7add;let _0x5422d7=this[_0xbbc9ba(0x341)][_0xbbc9ba(0x1fd)](_0x184629);if(_0x5422d7&&(this[_0xbbc9ba(0x341)][_0xbbc9ba(0x25a)](_0x184629),_0x5422d7[_0xbbc9ba(0x180)]()),!this[_0xbbc9ba(0x341)][_0xbbc9ba(0x2c3)]){var _0x2eab29;(_0x2eab29=this['_socket'])==null||_0x2eab29['close']();}}[_0x3c7add(0x109)](){const _0x57dc39=_0x3c7add;this[_0x57dc39(0x36a)]=0x0,this[_0x57dc39(0x381)](),this[_0x57dc39(0x19d)]();}[_0x3c7add(0x381)](){const _0x2f84a8=_0x3c7add;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2f84a8(0xe1)]),this[_0x2f84a8(0xe1)]=null);}async[_0x3c7add(0x285)](){const _0x56e107=_0x3c7add;var _0xd6198d;let _0x247529=this[_0x56e107(0x33c)][_0x56e107(0x1e1)](_0x11e35b),_0x2c5c71=(_0xd6198d=_0x247529==null?void 0x0:_0x247529[_0x56e107(0x34c)])==null?_0x40bad1:_0xd6198d,_0x1aeae3=await this[_0x56e107(0x20d)]['createSocket'](_0x2c5c71);return this['_candidateSocket']=_0x1aeae3,_0x1aeae3;}async[_0x3c7add(0x144)](){const _0x5953cc=_0x3c7add;try{var _0x648c01,_0x3af9ab;let _0x1d4a7e=(_0x648c01=(_0x3af9ab=this[_0x5953cc(0x1f1)])==null?this[_0x5953cc(0x205)]:_0x3af9ab)==null?await this[_0x5953cc(0x285)]():_0x648c01;if(_0x1d4a7e){var _0x5751bf;let _0x22910a=_0x1d4a7e[_0x5953cc(0x19b)];_0x1d4a7e[_0x5953cc(0x19b)]=_0xaa11f0=>(_0xaa11f0[_0x5953cc(0x270)]!==_0x121aa6[_0x5953cc(0x31e)][_0x5953cc(0xe8)]&&this[_0x5953cc(0x349)](),_0x22910a['apply'](_0x1d4a7e,[_0xaa11f0])),(_0x5751bf=this['_socketMessageSubscription'])==null||_0x5751bf[_0x5953cc(0x248)](),this['_socketMessageSubscription']=null,this['_socketMessageSubscription']=_0x1d4a7e[_0x5953cc(0x31b)][_0x5953cc(0x237)](_0x361ee9=>this[_0x5953cc(0x1c2)](_0x1d4a7e,_0x361ee9)),_0x1d4a7e[_0x5953cc(0x1bc)][_0x5953cc(0x397)]((0x0,_0x5c83a6['take'])(0x1))[_0x5953cc(0x237)](_0x36ddc4=>this[_0x5953cc(0x10b)]['error'](_0x5953cc(0x150),_0x36ddc4)),_0x1d4a7e[_0x5953cc(0x280)][_0x5953cc(0x397)]((0x0,_0x5c83a6['take'])(0x1))[_0x5953cc(0x237)](()=>{const _0x42e0b0=_0x5953cc;this[_0x42e0b0(0x234)](_0x1d4a7e);}),_0x1d4a7e[_0x5953cc(0x113)]['pipe']((0x0,_0x5c83a6[_0x5953cc(0x2a7)])(0x1))[_0x5953cc(0x237)](_0x43e0f3=>{const _0x36f05f=_0x5953cc;this[_0x36f05f(0x10b)][_0x36f05f(0x2ec)](_0x36f05f(0x23a),_0x36f05f(0x24d),_0x43e0f3),this[_0x36f05f(0x2bd)]();});}}catch(_0x4d876e){this[_0x5953cc(0x10b)][_0x5953cc(0x1f0)](_0x4d876e),this['_onConnectionFailed']();}}[_0x3c7add(0x234)](_0x4f1237){const _0x375c02=_0x3c7add;this[_0x375c02(0x10b)]['debug'](_0x375c02(0x23a),_0x375c02(0x27e)),_0x4f1237[_0x375c02(0x19b)]({'cmd':_0x121aa6[_0x375c02(0x31e)][_0x375c02(0x37f)]}),this[_0x375c02(0x349)]();}[_0x3c7add(0x3a6)](){const _0x24ac41=_0x3c7add;this[_0x24ac41(0x272)]=!0x1,this[_0x24ac41(0x205)]=null,this[_0x24ac41(0x196)][_0x24ac41(0x232)](0x2),this[_0x24ac41(0x1f9)]['next'](null),this['_clearTimeoutTimer'](),this[_0x24ac41(0x136)]();}['_onConnectionFailed'](){const _0x397400=_0x3c7add;var _0xaa8f57;this[_0x397400(0x3a6)](),this['_retryCount']<((_0xaa8f57=this['_configService'][_0x397400(0x1e1)](_0x397400(0x177)))==null?0x3:_0xaa8f57)?(this[_0x397400(0x264)][_0x397400(0x365)]({'id':'SOCKET_FAILED_RETRY'}),this[_0x397400(0x19d)]()):this['_collaborationUIEventService']['emitEvent']({'id':_0x397400(0x278)});}[_0x3c7add(0x19d)](){const _0x3a76ad=_0x3c7add;var _0x41943f;let _0x25f51b=this[_0x3a76ad(0x36a)],_0x5491a1=this[_0x3a76ad(0x33c)][_0x3a76ad(0x1e1)](_0x11e35b),_0x461f61=_0x25f51b===0x0?0x0:((_0x41943f=_0x5491a1==null?void 0x0:_0x5491a1[_0x3a76ad(0x1d1)])==null?0x4e20:_0x41943f)*0x2**_0x25f51b;this[_0x3a76ad(0xe1)]=setTimeout(()=>{const _0x2ea83b=_0x3a76ad;clearTimeout(this['_retryConnectingTimer']),this[_0x2ea83b(0xe1)]=null,this['_tryEnsureSocket']();},_0x461f61),this['_retryCount']+=0x1;}[_0x3c7add(0x1c2)](_0x432ce1,_0x3f9716){const _0x221b0e=_0x3c7add;let {cmd:_0x5db2a0}=_0x3f9716;_0x5db2a0===_0x121aa6[_0x221b0e(0x31e)]['HELLO']&&!this[_0x221b0e(0x272)]&&(_0x432ce1['memberID']=_0x3f9716['data'][_0x221b0e(0x26c)],this[_0x221b0e(0x1f9)]['next'](_0x432ce1),this[_0x221b0e(0x196)]['next'](0x3),this[_0x221b0e(0x272)]=!0x0,this[_0x221b0e(0x205)]=null),_0x5db2a0===_0x121aa6[_0x221b0e(0x31e)][_0x221b0e(0x3b0)]&&this['_clearTimeoutTimer'](),this[_0x221b0e(0x349)]();}['_rescheduleHeartbeat'](){const _0x24ff2e=_0x3c7add;var _0x33ef73;this[_0x24ff2e(0x136)](),this[_0x24ff2e(0x399)]=setTimeout(()=>this[_0x24ff2e(0x135)](),(_0x33ef73=this['_configService'][_0x24ff2e(0x1e1)]('HEARTBEAT_INTERVAL'))==null?0x7530:_0x33ef73);}[_0x3c7add(0x135)](){const _0x390646=_0x3c7add;this['_socket'][_0x390646(0x19b)]({'cmd':_0x121aa6['CombCmd'][_0x390646(0x3b0)]}),this[_0x390646(0x2d8)]();}['_waitForHeartbeatResponse'](){const _0x563af6=_0x3c7add;var _0x5044bb;this[_0x563af6(0x355)]=setTimeout(()=>this[_0x563af6(0x2bd)](),(_0x5044bb=this[_0x563af6(0x33c)][_0x563af6(0x1e1)](_0x563af6(0xf2)))==null?_0x887dad:_0x5044bb);}[_0x3c7add(0x136)](){const _0x49f15c=_0x3c7add;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x49f15c(0x399)]),this[_0x49f15c(0x399)]=null);}[_0x3c7add(0x345)](){const _0x4c20c5=_0x3c7add;this[_0x4c20c5(0x355)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4c20c5(0x355)]=null);}};_0x5af92e=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x1,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x3,_0x2a6fcc),_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x20d828)),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x5984c8))],_0x5af92e);let _0x384fde=class extends _0x4f2fc5[_0x3c7add(0x145)]{constructor(_0x593810,_0x1f3308,_0x211beb,_0x2171e6){const _0x5d8a39=_0x3c7add;var _0x466ee5;super(),this[_0x5d8a39(0x37b)]=_0x593810,this['_collabSessionService']=_0x1f3308,this[_0x5d8a39(0x33c)]=_0x211beb,this[_0x5d8a39(0x243)]=_0x2171e6,_0x45730e(this,_0x5d8a39(0x394),new Map()),_0x45730e(this,_0x5d8a39(0x31c),new _0x196a42[(_0x5d8a39(0x274))]()),_0x45730e(this,'entityInit$',this['_entityInit$'][_0x5d8a39(0xc6)]()),((_0x466ee5=this[_0x5d8a39(0x33c)][_0x5d8a39(0x1e1)](_0x5d8a39(0x293)))==null?void 0x0:_0x466ee5[_0x5d8a39(0x339)])!==!0x1&&this[_0x5d8a39(0x37a)]();}[_0x3c7add(0x202)](){const _0x35f511=_0x3c7add;super[_0x35f511(0x202)](),this[_0x35f511(0x394)][_0x35f511(0x253)](_0x4997c8=>_0x4997c8[_0x35f511(0x202)]()),this['_entities'][_0x35f511(0x1d7)]();}[_0x3c7add(0x351)](_0x5d0143){const _0x227f3a=_0x3c7add;var _0x362898;return(_0x362898=this[_0x227f3a(0x394)][_0x227f3a(0x1fd)](_0x5d0143))==null?null:_0x362898;}['getCollabEntity$'](_0x5b492e){const _0x376a63=_0x3c7add;let _0x593e11=this[_0x376a63(0x351)](_0x5b492e);return _0x593e11?(0x0,_0x196a42['of'])(_0x593e11):this[_0x376a63(0x31c)][_0x376a63(0x397)]((0x0,_0x5c83a6[_0x376a63(0x143)])(_0x1f865a=>_0x1f865a[_0x376a63(0x11a)]===_0x5b492e));}[_0x3c7add(0xbd)](_0x2f3423){const _0x558ff5=_0x3c7add;return(0x0,_0x196a42[_0x558ff5(0x21c)])(this[_0x558ff5(0x240)](_0x2f3423)[_0x558ff5(0x397)]((0x0,_0x5c83a6[_0x558ff5(0x192)])(()=>void 0x0)));}[_0x3c7add(0x37a)](){const _0x5cbc1f=_0x3c7add;this['_univerInstanceService'][_0x5cbc1f(0x373)](_0x4f2fc5[_0x5cbc1f(0x22e)]['UNIVER_SHEET'])[_0x5cbc1f(0x397)]((0x0,_0x196a42[_0x5cbc1f(0x1fa)])(this[_0x5cbc1f(0x163)]),(0x0,_0x5c83a6[_0x5cbc1f(0x2a5)])(0x10))[_0x5cbc1f(0x237)](async _0x2b6d1f=>{const _0x4cf4ed=_0x5cbc1f;let _0x282161=_0x2b6d1f['unit']['getUnitId'](),_0x1be127=await this['_startCollaboration'](_0x282161,_0x4f2fc5[_0x4cf4ed(0x22e)][_0x4cf4ed(0x2a4)]);this[_0x4cf4ed(0x394)][_0x4cf4ed(0x38b)](_0x282161,_0x1be127);}),this[_0x5cbc1f(0x243)]['getTypeOfUnitAdded$'](_0x4f2fc5['UniverInstanceType'][_0x5cbc1f(0x2d5)])[_0x5cbc1f(0x397)]((0x0,_0x196a42[_0x5cbc1f(0x1fa)])(this[_0x5cbc1f(0x163)]),(0x0,_0x5c83a6[_0x5cbc1f(0x2a5)])(0x10))[_0x5cbc1f(0x397)]((0x0,_0x5c83a6['filter'])(_0x1c8590=>!_0x1c8590[_0x5cbc1f(0x1f3)][_0x5cbc1f(0x21a)]()[_0x5cbc1f(0x3de)]('__')))[_0x5cbc1f(0x237)](async _0x4dd144=>{const _0x382499=_0x5cbc1f;let _0x35cd51=_0x4dd144[_0x382499(0x1f3)][_0x382499(0x21a)](),_0x169746=await this[_0x382499(0x206)](_0x35cd51,_0x4f2fc5[_0x382499(0x22e)][_0x382499(0x2d5)]);this[_0x382499(0x394)][_0x382499(0x38b)](_0x35cd51,_0x169746);}),(0x0,_0x196a42[_0x5cbc1f(0x1b5)])(this[_0x5cbc1f(0x243)][_0x5cbc1f(0x1b0)](_0x4f2fc5[_0x5cbc1f(0x22e)][_0x5cbc1f(0x2a4)]),this[_0x5cbc1f(0x243)]['getTypeOfUnitDisposed$'](_0x4f2fc5[_0x5cbc1f(0x22e)]['UNIVER_DOC']))[_0x5cbc1f(0x397)]((0x0,_0x196a42['takeUntil'])(this[_0x5cbc1f(0x163)]))[_0x5cbc1f(0x237)](_0xc2f3a8=>{const _0x3c450b=_0x5cbc1f;let _0x2cc0ba=_0xc2f3a8[_0x3c450b(0x21a)](),_0x3306e1=this[_0x3c450b(0x394)][_0x3c450b(0x1fd)](_0x2cc0ba);_0x3306e1&&(_0x3306e1['dispose'](),this[_0x3c450b(0x394)][_0x3c450b(0x25a)](_0x2cc0ba));});}async[_0x3c7add(0x206)](_0x39f7bb,_0x218f24){const _0x2853bd=_0x3c7add;let _0x17f534=await this[_0x2853bd(0x1aa)]['requireSession'](_0x39f7bb),_0x142b22=this[_0x2853bd(0x37b)][_0x2853bd(0x242)](this['_getCtorByUniverInstanceType'](_0x218f24),_0x39f7bb,_0x218f24,_0x17f534);return await _0x142b22['init'](),this[_0x2853bd(0x31c)][_0x2853bd(0x232)](_0x142b22),_0x142b22;}['_getCtorByUniverInstanceType'](_0x248c5a){const _0x2126be=_0x3c7add;switch(_0x248c5a){case _0x4f2fc5[_0x2126be(0x22e)][_0x2126be(0x2d5)]:return _0x44307b;case _0x4f2fc5[_0x2126be(0x22e)][_0x2126be(0x2a4)]:return _0xb49add;default:throw Error(_0x2126be(0x28a)+_0x248c5a);}}};_0x384fde=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['Injector'])),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x5af92e)),_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x3,_0x4f2fc5[_0x3c7add(0x1d0)])],_0x384fde);var _0x34e3ba=_0x3c7add(0x369),_0x3d82eb=_0x3c7add(0x119);let _0x5a42c3=class extends _0x4f2fc5[_0x3c7add(0x210)]{constructor(_0x2fe014,_0x36383c){const _0x42241c=_0x3c7add;super(),this[_0x42241c(0x243)]=_0x2fe014,this['_configService']=_0x36383c,this[_0x42241c(0x37a)]();}[_0x3c7add(0x37a)](){const _0x5061c7=_0x3c7add;this['disposeWithMe'](this[_0x5061c7(0x243)][_0x5061c7(0x371)][_0x5061c7(0x237)](()=>{const _0x55a40d=_0x5061c7;var _0x2a04bb;let _0x348823=this[_0x55a40d(0x243)]['getFocusedUnit'](),_0xf94cb6=(_0x2a04bb=this[_0x55a40d(0x33c)][_0x55a40d(0x1e1)](_0x55a40d(0x3d2)))==null?'Univer':_0x2a04bb;_0x348823 instanceof _0x4f2fc5[_0x55a40d(0x12f)]&&(_0xf94cb6=_0x348823[_0x55a40d(0x3ca)]),document[_0x55a40d(0x329)]=_0xf94cb6;}));}};_0x5a42c3=_0x38f352([_0x78c766(0x0,_0x4f2fc5['IUniverInstanceService']),_0x78c766(0x1,_0x4f2fc5['IConfigService'])],_0x5a42c3);let _0x3b4d7a=class{constructor(_0x3ace1d,_0x1a6353,_0x23d0ee){const _0x4b5c40=_0x3c7add;this[_0x4b5c40(0x33c)]=_0x3ace1d,this[_0x4b5c40(0x16a)]=_0x1a6353,this[_0x4b5c40(0x227)]=_0x23d0ee,this['init']();}[_0x3c7add(0x19f)](){const _0x45a014=_0x3c7add;this[_0x45a014(0x16a)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1d24ad,_0x34cea2)=>_0x34cea2(_0x1d24ad)[_0x45a014(0x397)]((0x0,_0x196a42[_0x45a014(0x3d9)])(async _0x141281=>{const _0x419bde=_0x45a014;let _0x2564e1=_0x141281;if(_0x2564e1['status']===0x191){if(typeof window>'u')throw Error(_0x419bde(0x213));if(window[_0x419bde(0x2fa)](this[_0x419bde(0x227)]['t']('collaboration-client.auth.needGotoLoginAlert'))){let _0x4fff48=window['encodeURIComponent'](window[_0x419bde(0x33d)][_0x419bde(0x236)]);window[_0x419bde(0x33d)][_0x419bde(0x236)]=this[_0x419bde(0x2e0)]()+_0x419bde(0x102)+_0x4fff48;}}return _0x2564e1;}))});}[_0x3c7add(0x2e0)](){const _0x2a59ba=_0x3c7add;var _0x567681;let _0x14f5d3=this[_0x2a59ba(0x33c)][_0x2a59ba(0x1e1)](_0x11e35b);return(_0x567681=_0x14f5d3==null?void 0x0:_0x14f5d3[_0x2a59ba(0x1ae)])==null?_0x2a59ba(0x154):_0x567681;}};_0x3b4d7a=_0x38f352([_0x78c766(0x0,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4fa7e8[_0x3c7add(0xf3)])),_0x78c766(0x2,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['LocaleService']))],_0x3b4d7a);let _0x510ca4=class extends _0x4f2fc5[_0x3c7add(0x210)]{constructor(_0x3ef376,_0x5835e3){const _0x256ae1=_0x3c7add;super(),this[_0x256ae1(0x137)]=_0x3ef376,this[_0x256ae1(0x33c)]=_0x5835e3,_0x45730e(this,_0x256ae1(0x2c4),!0x1),this[_0x256ae1(0x199)]();}[_0x3c7add(0x199)](){const _0xa93e6f=_0x3c7add;let _0x557812=this;this['disposeWithMe'](this[_0xa93e6f(0x137)][_0xa93e6f(0x26a)]({'priority':0x3e7,'interceptor':(0x0,_0x4fa7e8[_0xa93e6f(0x328)])({'isMatch'(_0x1b6aad){const _0x3eefec=_0xa93e6f;var _0x358b84;if(_0x1b6aad[_0x3eefec(0x33a)]==='POST'&&(_0x358b84=_0x1b6aad['requestParams'])!=null&&_0x358b84[_0x3eefec(0xc1)]){let {objectID:_0xf73e24,objectType:_0x1dfaa4}=_0x1b6aad['requestParams'][_0x3eefec(0xc1)]||{};if(!_0xf73e24||_0x1dfaa4===void 0x0)return!0x1;let _0x522105=_0x557812[_0x3eefec(0x352)]()+'/'+_0x1dfaa4+_0x3eefec(0x2b6)+_0xf73e24+_0x3eefec(0x367);if(_0x1b6aad['url']===_0x522105)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3035f1){const _0x19c221=_0xa93e6f;var _0x27a7ff;return(_0x27a7ff=_0x3035f1[_0x19c221(0x2b1)])==null?void 0x0:_0x27a7ff['body'];},'mergeParamsToRequest'(_0x4420e5,_0x4f5a94){const _0x3deac8=_0xa93e6f;let _0x2125b4=_0x557812[_0x3deac8(0x352)]()+'/-/object/-/batch_allowed',_0x79f20d=_0x4420e5[_0x3deac8(0x1c5)]((_0x2b4c56,_0x81228e)=>{const _0x114b60=_0x3deac8;let {unitID:_0x2f65d2,objectID:_0x229d9e,objectType:_0x46af6e,actions:_0x4da552}=_0x81228e;return _0x2b4c56[_0x2f65d2]||(_0x2b4c56[_0x2f65d2]={}),_0x2b4c56[_0x2f65d2][_0x229d9e]||(_0x2b4c56[_0x2f65d2][_0x229d9e]={'objectID':_0x229d9e,'objectType':_0x46af6e,'actions':[]}),_0x2b4c56[_0x2f65d2][_0x229d9e][_0x114b60(0xe5)][_0x114b60(0x26e)](..._0x4da552),_0x2b4c56;},{}),_0x36e86a=[];for(let _0x16af7d in _0x79f20d)for(let _0x10d5fe in _0x79f20d[_0x16af7d]){let {actions:_0x6119d,objectType:_0x237861}=_0x79f20d[_0x16af7d][_0x10d5fe],_0x849b5b=[...new Set(_0x6119d)];_0x36e86a['push']({'unitID':_0x16af7d,'objectID':_0x10d5fe,'objectType':_0x237861,'actions':_0x849b5b});}return new _0x4fa7e8[(_0x3deac8(0x1b2))](_0x3deac8(0x389),_0x2125b4,{'headers':_0x4f5a94[_0x3deac8(0x2e8)],'withCredentials':_0x4f5a94[_0x3deac8(0x15f)],'responseType':_0x4f5a94[_0x3deac8(0x342)],'body':{'requests':_0x36e86a}});}},{'distributeResult'(_0x199415,_0x5bf305){let {objectActions:_0x554fba}=_0x199415;return _0x5bf305['map'](_0x28e1ff=>{const _0x2587b3=_0x4364;let {unitID:_0x148903,objectID:_0x8f54fc,actions:_0x3acd9c}=_0x28e1ff,_0x22448d=_0x554fba[_0x2587b3(0x1bb)](_0x4bc3b8=>_0x4bc3b8[_0x2587b3(0x11a)]===_0x148903&&_0x4bc3b8[_0x2587b3(0x23e)]===_0x8f54fc);return{'config':_0x28e1ff,'result':{'actions':_0x3acd9c[_0x2587b3(0x192)](_0x340208=>_0x22448d==null?void 0x0:_0x22448d['actions'][_0x2587b3(0x1bb)](_0x52704c=>_0x52704c['action']===_0x340208))[_0x2587b3(0x143)](_0x13772e=>!!_0x13772e),'error':_0x199415[_0x2587b3(0x1f0)]}};});}})}));}[_0x3c7add(0x352)](){const _0x5897cd=_0x3c7add;var _0x57e71a;let _0x2400b9=this[_0x5897cd(0x33c)][_0x5897cd(0x1e1)](_0x11e35b);return(_0x57e71a=_0x2400b9==null?void 0x0:_0x2400b9[_0x5897cd(0x1b4)])==null?_0x5897cd(0x392):_0x57e71a;}async[_0x3c7add(0x1d6)](_0x3f4e89){const _0x1e28e3=_0x3c7add;let _0xedd7c1=this['_getAPIPrefixPath']()+'/'+_0x3f4e89[_0x1e28e3(0x37c)]+'/object';return(await this[_0x1e28e3(0x137)][_0x1e28e3(0x3d8)](_0xedd7c1,{'body':_0x3f4e89}))[_0x1e28e3(0xc1)][_0x1e28e3(0x23e)]||'';}async[_0x3c7add(0x1d4)](_0x546ddd){const _0x2054bc=_0x3c7add;let _0x4d44a3=this[_0x2054bc(0x352)]()+_0x2054bc(0x301);return(await this['_HTTPService'][_0x2054bc(0x3d8)](_0x4d44a3,{'body':_0x546ddd}))[_0x2054bc(0xc1)][_0x2054bc(0x39f)];}async['update'](_0x31993a){const _0x4c9507=_0x3c7add;var _0x152df2;let _0x843d77=this[_0x4c9507(0x352)]()+'/'+_0x31993a[_0x4c9507(0x37c)]+'/object/'+_0x31993a['objectID'],_0x258387=await this[_0x4c9507(0x137)]['put'](_0x843d77,{'body':_0x31993a});if((_0x258387==null||(_0x152df2=_0x258387[_0x4c9507(0xc1)])==null||(_0x152df2=_0x152df2[_0x4c9507(0x1f0)])==null?void 0x0:_0x152df2['code'])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x3c7add(0x2a0)](_0x15befe){const _0x4b659a=_0x3c7add;let _0x4f3401=this[_0x4b659a(0x352)]()+'/'+_0x15befe[_0x4b659a(0x37c)]+_0x4b659a(0x2b6)+_0x15befe[_0x4b659a(0x23e)]+'/allowed';return(await this[_0x4b659a(0x137)][_0x4b659a(0x3d8)](_0x4f3401,{'body':_0x15befe}))[_0x4b659a(0xc1)]['actions'];}async[_0x3c7add(0x30c)](_0x4c68e1){const _0x3b27b9=_0x3c7add;let _0x138a30=this['_getAPIPrefixPath']()+_0x3b27b9(0x1cc);return(await this[_0x3b27b9(0x137)][_0x3b27b9(0x3d8)](_0x138a30,{'body':{'requests':_0x4c68e1}}))[_0x3b27b9(0xc1)][_0x3b27b9(0xe6)];}async[_0x3c7add(0x3cd)](_0x5b4a4a){const _0x5b862a=_0x3c7add;let _0xaa58b9=this[_0x5b862a(0x352)]()+'/'+_0x5b4a4a[_0x5b862a(0x37c)]+_0x5b862a(0x33b),_0xc99db=await this[_0x5b862a(0x137)]['post'](_0xaa58b9,{'body':_0x5b4a4a});return{'roles':_0xc99db[_0x5b862a(0xc1)][_0x5b862a(0x2cf)],'actions':_0xc99db['body'][_0x5b862a(0xe5)]};}async[_0x3c7add(0x1e9)](_0x3c6295){const _0x262861=_0x3c7add;let _0x48ff39=this[_0x262861(0x352)]()+_0x262861(0x3c0);await this[_0x262861(0x137)]['delete'](_0x48ff39,{'params':{'collaboratorID':_0x3c6295[_0x262861(0x138)],'objectID':_0x3c6295[_0x262861(0x23e)],'unitID':_0x3c6295[_0x262861(0x11a)]}});}async[_0x3c7add(0x30f)](_0x5437b6){const _0x148be2=_0x3c7add;let _0x43065c=this[_0x148be2(0x352)]()+'/collaborator';await this['_HTTPService']['patch'](_0x43065c,{'body':_0x5437b6});}async['createCollaborator'](_0x35c227){const _0x5e0101=_0x3c7add;let _0x2bbc89=this[_0x5e0101(0x352)]()+'/collaborator';await this[_0x5e0101(0x137)][_0x5e0101(0x3d8)](_0x2bbc89,{'body':_0x35c227});}async[_0x3c7add(0x2b4)](_0x518d94){const _0x11be96=_0x3c7add;var _0x2e3984;let _0x3cf174=this[_0x11be96(0x352)]()+_0x11be96(0x3c0),_0x5a4db4=await this['_HTTPService'][_0x11be96(0x1fd)](_0x3cf174,{'params':{'objectID':_0x518d94[_0x11be96(0x23e)],'unitID':_0x518d94[_0x11be96(0x11a)]}});return this['setCfgEnableObjInherit']((_0x2e3984=_0x5a4db4[_0x11be96(0xc1)]['cfgEnableObjInherit'])==null?!0x1:_0x2e3984),_0x5a4db4[_0x11be96(0xc1)][_0x11be96(0xde)];}async[_0x3c7add(0x3a5)](_0x5e59fb){const _0x102c36=_0x3c7add;let _0x273b54=this[_0x102c36(0x352)]()+_0x102c36(0x3c0);await this[_0x102c36(0x137)]['put'](_0x273b54,{'body':_0x5e59fb});}[_0x3c7add(0x2b7)](_0x430fba){this['_cfgEnableObjInherit']=_0x430fba;}[_0x3c7add(0x3d1)](){const _0x35e41d=_0x3c7add;return this[_0x35e41d(0x2c4)];}};_0x510ca4=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4fa7e8[_0x3c7add(0xf3)])),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0x312)]))],_0x510ca4);function _0x173049(_0xf51d06){const _0x3ab056=_0x3c7add;return _0xf51d06 instanceof Uint8Array||ArrayBuffer[_0x3ab056(0x2e6)](_0xf51d06)&&_0xf51d06[_0x3ab056(0x25f)][_0x3ab056(0x3ca)]===_0x3ab056(0x114)&&_0x3ab056(0x29b)in _0xf51d06&&_0xf51d06['BYTES_PER_ELEMENT']===0x1;}function _0x1eab76(_0x58832f){const _0x20fac9=_0x3c7add;if(typeof _0x58832f!=_0x20fac9(0x16e))throw TypeError(_0x20fac9(0x2af)+typeof _0x58832f);if(!Number[_0x20fac9(0x1d9)](_0x58832f)||_0x58832f<0x0)throw RangeError(_0x20fac9(0x289)+_0x58832f);}function _0x129539(_0x1eda32,_0x13fc71,_0x857e94=''){const _0x4b59f0=_0x3c7add;let _0x498c8d=_0x173049(_0x1eda32),_0x2d2ed9=_0x1eda32==null?void 0x0:_0x1eda32[_0x4b59f0(0x3a4)],_0x493617=_0x13fc71!==void 0x0;if(!_0x498c8d||_0x493617&&_0x2d2ed9!==_0x13fc71){let _0x2d0123=_0x857e94&&'\x22'+_0x857e94+'\x22\x20',_0x38b113=_0x493617?_0x4b59f0(0x283)+_0x13fc71:'',_0x361859=_0x498c8d?'length='+_0x2d2ed9:_0x4b59f0(0xf7)+typeof _0x1eda32,_0x19bb2c=_0x2d0123+'expected\x20Uint8Array'+_0x38b113+',\x20got\x20'+_0x361859;throw _0x498c8d?RangeError(_0x19bb2c):TypeError(_0x19bb2c);}return _0x1eda32;}function _0x5f382e(_0x2a71ce){const _0x4b9177=_0x3c7add;return new Uint32Array(_0x2a71ce[_0x4b9177(0x3a7)],_0x2a71ce[_0x4b9177(0x333)],Math[_0x4b9177(0x364)](_0x2a71ce['byteLength']/0x4));}function _0x284f51(..._0x107717){for(let _0x89d94b=0x0;_0x89d94b<_0x107717['length'];_0x89d94b++)_0x107717[_0x89d94b]['fill'](0x0);}let _0xe4bc31=new Uint8Array(new Uint32Array([0x11223344])[_0x3c7add(0x3a7)])[0x0]===0x44,_0x658bdb=_0x1275e1=>_0x1275e1<<0x18&0xff000000|_0x1275e1<<0x8&0xff0000|_0x1275e1>>>0x8&0xff00|_0x1275e1>>>0x18&0xff,_0x5da7b0=_0xe4bc31?_0x1ddd50=>_0x1ddd50:_0x383d7a=>{for(let _0x151a18=0x0;_0x151a18<_0x383d7a['length'];_0x151a18++)_0x383d7a[_0x151a18]=_0x658bdb(_0x383d7a[_0x151a18]);return _0x383d7a;};function _0x1c6bcb(_0x479e76){if(typeof _0x479e76!='string')throw TypeError('string\x20expected');return new Uint8Array(new TextEncoder()['encode'](_0x479e76));}function _0x2be1fb(_0x4c6e44,_0x2a8d58){const _0x42a5d3=_0x3c7add;return!_0x4c6e44[_0x42a5d3(0x3d5)]||!_0x2a8d58[_0x42a5d3(0x3d5)]?!0x1:_0x4c6e44['buffer']===_0x2a8d58[_0x42a5d3(0x3a7)]&&_0x4c6e44[_0x42a5d3(0x333)]<_0x2a8d58[_0x42a5d3(0x333)]+_0x2a8d58[_0x42a5d3(0x3d5)]&&_0x2a8d58[_0x42a5d3(0x333)]<_0x4c6e44[_0x42a5d3(0x333)]+_0x4c6e44[_0x42a5d3(0x3d5)];}function _0x54afa4(_0x3aee20,_0x3970e7){const _0x2ff951=_0x3c7add;if(_0x2be1fb(_0x3aee20,_0x3970e7)&&_0x3aee20[_0x2ff951(0x333)]<_0x3970e7[_0x2ff951(0x333)])throw Error(_0x2ff951(0x3d3));}function _0x466ec4(..._0xf19338){const _0x229fd4=_0x3c7add;let _0x311eea=0x0;for(let _0x5a9e5c=0x0;_0x5a9e5c<_0xf19338['length'];_0x5a9e5c++){let _0x5a6776=_0xf19338[_0x5a9e5c];_0x129539(_0x5a6776),_0x311eea+=_0x5a6776[_0x229fd4(0x3a4)];}let _0x12ee6e=new Uint8Array(_0x311eea);for(let _0x46df51=0x0,_0x7a40f5=0x0;_0x46df51<_0xf19338[_0x229fd4(0x3a4)];_0x46df51++){let _0x5825bc=_0xf19338[_0x46df51];_0x12ee6e[_0x229fd4(0x38b)](_0x5825bc,_0x7a40f5),_0x7a40f5+=_0x5825bc['length'];}return _0x12ee6e;}let _0x2fac91=(_0x1f4186,_0x25c3dc)=>{const _0x284998=_0x3c7add;function _0x211376(_0x5d56df,..._0x4d0309){const _0x510da1=_0x4364;if(_0x129539(_0x5d56df,void 0x0,_0x510da1(0x21f)),_0x1f4186['nonceLength']!==void 0x0){let _0x30251a=_0x4d0309[0x0];_0x129539(_0x30251a,_0x1f4186[_0x510da1(0x21e)]?void 0x0:_0x1f4186[_0x510da1(0x2dd)],_0x510da1(0x2ff));}let _0x432956=_0x1f4186[_0x510da1(0xe7)];_0x432956&&_0x4d0309[0x1]!==void 0x0&&_0x129539(_0x4d0309[0x1],void 0x0,_0x510da1(0x2ba));let _0x5a9529=_0x25c3dc(_0x5d56df,..._0x4d0309),_0x4b76c5=(_0x337e86,_0x4b32af)=>{const _0x4d4d86=_0x510da1;if(_0x4b32af!==void 0x0){if(_0x337e86!==0x2)throw Error(_0x4d4d86(0x245));_0x129539(_0x4b32af,void 0x0,_0x4d4d86(0x28e));}},_0x378506=!0x1;return{'encrypt'(_0x2aeff8,_0x51f5f7){const _0x750934=_0x510da1;if(_0x378506)throw Error(_0x750934(0x2d0));return _0x378506=!0x0,_0x129539(_0x2aeff8),_0x4b76c5(_0x5a9529[_0x750934(0x387)][_0x750934(0x3a4)],_0x51f5f7),_0x5a9529[_0x750934(0x387)](_0x2aeff8,_0x51f5f7);},'decrypt'(_0x194b0b,_0x1c1e4a){const _0xb1f620=_0x510da1;if(_0x129539(_0x194b0b),_0x432956&&_0x194b0b[_0xb1f620(0x3a4)]<_0x432956)throw Error(_0xb1f620(0x298)+_0x432956);return _0x4b76c5(_0x5a9529[_0xb1f620(0x3a2)][_0xb1f620(0x3a4)],_0x1c1e4a),_0x5a9529['decrypt'](_0x194b0b,_0x1c1e4a);}};}return Object[_0x284998(0x1e4)](_0x211376,_0x1f4186),_0x211376;};function _0x308ff3(_0x571a01,_0x10d41a,_0x3671ca=!0x0){const _0x2e4bc6=_0x3c7add;if(_0x10d41a===void 0x0)return new Uint8Array(_0x571a01);if(_0x129539(_0x10d41a,void 0x0,'output'),_0x10d41a[_0x2e4bc6(0x3a4)]!==_0x571a01)throw Error(_0x2e4bc6(0x18b)+_0x571a01+',\x20got:\x20'+_0x10d41a[_0x2e4bc6(0x3a4)]);if(_0x3671ca&&!_0x1bef2d(_0x10d41a))throw Error(_0x2e4bc6(0xd3));return _0x10d41a;}function _0x1bef2d(_0x4b96b7){return _0x4b96b7['byteOffset']%0x4==0x0;}function _0x3b7ddd(_0x47693f){const _0x47b854=_0x3c7add;return Uint8Array[_0x47b854(0x33f)](_0x129539(_0x47693f));}function _0x38b234(_0x82ea28=0x20){const _0x4a4212=_0x3c7add;_0x1eab76(_0x82ea28);let _0x4e3907=typeof globalThis==_0x4a4212(0x2a1)?globalThis['crypto']:null;if(typeof(_0x4e3907==null?void 0x0:_0x4e3907[_0x4a4212(0x2f0)])!=_0x4a4212(0x16c))throw Error(_0x4a4212(0x258));return _0x4e3907[_0x4a4212(0x2f0)](new Uint8Array(_0x82ea28));}function _0x12f9bf(_0x177853){const _0x1885b4=_0x3c7add;if(![0x10,0x18,0x20][_0x1885b4(0x3b9)](_0x177853[_0x1885b4(0x3a4)]))throw Error(_0x1885b4(0x25d)+_0x177853[_0x1885b4(0x3a4)]);}function _0x251a7a(_0x9decb3){return _0x9decb3<<0x1^0x11b&-(_0x9decb3>>0x7);}function _0x2e8bfd(_0x1286a1,_0x21495a){let _0xa513f9=0x0;for(;_0x21495a>0x0;_0x21495a>>=0x1)_0xa513f9^=_0x1286a1&-(_0x21495a&0x1),_0x1286a1=_0x251a7a(_0x1286a1);return _0xa513f9;}let _0x5bc1d1=((()=>{let _0x2bdfc4=new Uint8Array(0x100);for(let _0xef2700=0x0,_0xc598c9=0x1;_0xef2700<0x100;_0xef2700++,_0xc598c9^=_0x251a7a(_0xc598c9))_0x2bdfc4[_0xef2700]=_0xc598c9;let _0x2fd837=new Uint8Array(0x100);_0x2fd837[0x0]=0x63;for(let _0x21706a=0x0;_0x21706a<0xff;_0x21706a++){let _0x5f1aea=_0x2bdfc4[0xff-_0x21706a];_0x5f1aea|=_0x5f1aea<<0x8,_0x2fd837[_0x2bdfc4[_0x21706a]]=(_0x5f1aea^_0x5f1aea>>0x4^_0x5f1aea>>0x5^_0x5f1aea>>0x6^_0x5f1aea>>0x7^0x63)&0xff;}return _0x284f51(_0x2bdfc4),_0x2fd837;})()),_0x14ee7c=_0x5bc1d1['map']((_0x5bb1df,_0x24736b)=>_0x5bc1d1[_0x3c7add(0x3dd)](_0x24736b)),_0x52a82b=_0x4e8c20=>_0x4e8c20<<0x18|_0x4e8c20>>>0x8,_0x325d16=_0x416fdf=>_0x416fdf<<0x8|_0x416fdf>>>0x18;function _0x247acb(_0x252e07,_0x8153f9){const _0xb0d51b=_0x3c7add;if(_0x252e07[_0xb0d51b(0x3a4)]!==0x100)throw Error(_0xb0d51b(0x17a));let _0x18d105=new Uint32Array(0x100)['map']((_0x2601af,_0x3e6d60)=>_0x8153f9(_0x252e07[_0x3e6d60])),_0x3cb66e=_0x18d105[_0xb0d51b(0x192)](_0x325d16),_0x5a506b=_0x3cb66e[_0xb0d51b(0x192)](_0x325d16),_0x1d57ae=_0x5a506b['map'](_0x325d16),_0x35dedf=new Uint32Array(0x100*0x100),_0x612690=new Uint32Array(0x100*0x100),_0x303caa=new Uint16Array(0x100*0x100);for(let _0x595322=0x0;_0x595322<0x100;_0x595322++)for(let _0x1163d1=0x0;_0x1163d1<0x100;_0x1163d1++){let _0x5e934c=_0x595322*0x100+_0x1163d1;_0x35dedf[_0x5e934c]=_0x18d105[_0x595322]^_0x3cb66e[_0x1163d1],_0x612690[_0x5e934c]=_0x5a506b[_0x595322]^_0x1d57ae[_0x1163d1],_0x303caa[_0x5e934c]=_0x252e07[_0x595322]<<0x8|_0x252e07[_0x1163d1];}return{'sbox':_0x252e07,'sbox2':_0x303caa,'T0':_0x18d105,'T1':_0x3cb66e,'T2':_0x5a506b,'T3':_0x1d57ae,'T01':_0x35dedf,'T23':_0x612690};}let _0x35dbc6=_0x247acb(_0x5bc1d1,_0x3eb4d3=>_0x2e8bfd(_0x3eb4d3,0x3)<<0x18|_0x3eb4d3<<0x10|_0x3eb4d3<<0x8|_0x2e8bfd(_0x3eb4d3,0x2)),_0x5d3aa4=_0x247acb(_0x14ee7c,_0x4e5027=>_0x2e8bfd(_0x4e5027,0xb)<<0x18|_0x2e8bfd(_0x4e5027,0xd)<<0x10|_0x2e8bfd(_0x4e5027,0x9)<<0x8|_0x2e8bfd(_0x4e5027,0xe)),_0x18f692=((()=>{let _0x59a970=new Uint8Array(0x10);for(let _0x1a1251=0x0,_0x16de6d=0x1;_0x1a1251<0x10;_0x1a1251++,_0x16de6d=_0x251a7a(_0x16de6d))_0x59a970[_0x1a1251]=_0x16de6d;return _0x59a970;})());function _0xb87351(_0x5d314a){const _0x59936e=_0x3c7add;_0x129539(_0x5d314a);let _0x8dee53=_0x5d314a[_0x59936e(0x3a4)];_0x12f9bf(_0x5d314a);let {sbox2:_0x36ca41}=_0x35dbc6,_0xc4105e=[];(!_0xe4bc31||!_0x1bef2d(_0x5d314a))&&_0xc4105e[_0x59936e(0x26e)](_0x5d314a=_0x3b7ddd(_0x5d314a));let _0x12dc63=_0x5da7b0(_0x5f382e(_0x5d314a)),_0x3e9cda=_0x12dc63[_0x59936e(0x3a4)],_0x95e15c=_0x22d9fb=>_0x18cd02(_0x36ca41,_0x22d9fb,_0x22d9fb,_0x22d9fb,_0x22d9fb),_0x2024d8=new Uint32Array(_0x8dee53+0x1c);_0x2024d8[_0x59936e(0x38b)](_0x12dc63);for(let _0x2ff8b2=_0x3e9cda;_0x2ff8b2<_0x2024d8[_0x59936e(0x3a4)];_0x2ff8b2++){let _0xcab8be=_0x2024d8[_0x2ff8b2-0x1];_0x2ff8b2%_0x3e9cda===0x0?_0xcab8be=_0x95e15c(_0x52a82b(_0xcab8be))^_0x18f692[_0x2ff8b2/_0x3e9cda-0x1]:_0x3e9cda>0x6&&_0x2ff8b2%_0x3e9cda===0x4&&(_0xcab8be=_0x95e15c(_0xcab8be)),_0x2024d8[_0x2ff8b2]=_0x2024d8[_0x2ff8b2-_0x3e9cda]^_0xcab8be;}return _0x284f51(..._0xc4105e),_0x2024d8;}function _0x48302a(_0x4fb3c6){const _0x5902a9=_0x3c7add;let _0x456dc5=_0xb87351(_0x4fb3c6),_0x168cd1=_0x456dc5[_0x5902a9(0x28f)](),_0x35bc0e=_0x456dc5['length'],{sbox2:_0x47bf06}=_0x35dbc6,{T0:_0x4f03e1,T1:_0x3b3813,T2:_0x4993bf,T3:_0x3c96e3}=_0x5d3aa4;for(let _0x99463a=0x0;_0x99463a<_0x35bc0e;_0x99463a+=0x4)for(let _0x32c8bc=0x0;_0x32c8bc<0x4;_0x32c8bc++)_0x168cd1[_0x99463a+_0x32c8bc]=_0x456dc5[_0x35bc0e-_0x99463a-0x4+_0x32c8bc];_0x284f51(_0x456dc5);for(let _0x2cc8fa=0x4;_0x2cc8fa<_0x35bc0e-0x4;_0x2cc8fa++){let _0xcbc34=_0x168cd1[_0x2cc8fa],_0x11eaf9=_0x18cd02(_0x47bf06,_0xcbc34,_0xcbc34,_0xcbc34,_0xcbc34);_0x168cd1[_0x2cc8fa]=_0x4f03e1[_0x11eaf9&0xff]^_0x3b3813[_0x11eaf9>>>0x8&0xff]^_0x4993bf[_0x11eaf9>>>0x10&0xff]^_0x3c96e3[_0x11eaf9>>>0x18];}return _0x168cd1;}function _0x54fbb8(_0x1822a9,_0x54814a,_0x1096d7,_0x8d5e6c,_0x126808,_0x2ab892){return _0x1822a9[_0x1096d7<<0x8&0xff00|_0x8d5e6c>>>0x8&0xff]^_0x54814a[_0x126808>>>0x8&0xff00|_0x2ab892>>>0x18&0xff];}function _0x18cd02(_0x3d517a,_0x5d9e26,_0x5187b3,_0x365864,_0x45bdf0){return _0x3d517a[_0x5d9e26&0xff|_0x5187b3&0xff00]|_0x3d517a[_0x365864>>>0x10&0xff|_0x45bdf0>>>0x10&0xff00]<<0x10;}function _0x366155(_0x363795,_0x331001,_0x298ffb,_0x560a37,_0x28f4d0){const _0x82d8d7=_0x3c7add;let {sbox2:_0x11c195,T01:_0x4dc76c,T23:_0x1b10bd}=_0x35dbc6,_0x1ef8fc=0x0;_0x331001^=_0x363795[_0x1ef8fc++],_0x298ffb^=_0x363795[_0x1ef8fc++],_0x560a37^=_0x363795[_0x1ef8fc++],_0x28f4d0^=_0x363795[_0x1ef8fc++];let _0x5970c9=_0x363795[_0x82d8d7(0x3a4)]/0x4-0x2;for(let _0x3f03de=0x0;_0x3f03de<_0x5970c9;_0x3f03de++){let _0x3636f2=_0x363795[_0x1ef8fc++]^_0x54fbb8(_0x4dc76c,_0x1b10bd,_0x331001,_0x298ffb,_0x560a37,_0x28f4d0),_0x2137d0=_0x363795[_0x1ef8fc++]^_0x54fbb8(_0x4dc76c,_0x1b10bd,_0x298ffb,_0x560a37,_0x28f4d0,_0x331001),_0x3f70a6=_0x363795[_0x1ef8fc++]^_0x54fbb8(_0x4dc76c,_0x1b10bd,_0x560a37,_0x28f4d0,_0x331001,_0x298ffb),_0x598e09=_0x363795[_0x1ef8fc++]^_0x54fbb8(_0x4dc76c,_0x1b10bd,_0x28f4d0,_0x331001,_0x298ffb,_0x560a37);_0x331001=_0x3636f2,_0x298ffb=_0x2137d0,_0x560a37=_0x3f70a6,_0x28f4d0=_0x598e09;}return{'s0':_0x363795[_0x1ef8fc++]^_0x18cd02(_0x11c195,_0x331001,_0x298ffb,_0x560a37,_0x28f4d0),'s1':_0x363795[_0x1ef8fc++]^_0x18cd02(_0x11c195,_0x298ffb,_0x560a37,_0x28f4d0,_0x331001),'s2':_0x363795[_0x1ef8fc++]^_0x18cd02(_0x11c195,_0x560a37,_0x28f4d0,_0x331001,_0x298ffb),'s3':_0x363795[_0x1ef8fc++]^_0x18cd02(_0x11c195,_0x28f4d0,_0x331001,_0x298ffb,_0x560a37)};}function _0x3de53a(_0x543ee0,_0x5f271f,_0x3dc313,_0x247c0e,_0xf8d0e7){const _0x5ce753=_0x3c7add;let {sbox2:_0x407eb5,T01:_0x2dcf36,T23:_0x505988}=_0x5d3aa4,_0x2a9a96=0x0;_0x5f271f^=_0x543ee0[_0x2a9a96++],_0x3dc313^=_0x543ee0[_0x2a9a96++],_0x247c0e^=_0x543ee0[_0x2a9a96++],_0xf8d0e7^=_0x543ee0[_0x2a9a96++];let _0x48b06f=_0x543ee0[_0x5ce753(0x3a4)]/0x4-0x2;for(let _0x580516=0x0;_0x580516<_0x48b06f;_0x580516++){let _0x1654ec=_0x543ee0[_0x2a9a96++]^_0x54fbb8(_0x2dcf36,_0x505988,_0x5f271f,_0xf8d0e7,_0x247c0e,_0x3dc313),_0x123503=_0x543ee0[_0x2a9a96++]^_0x54fbb8(_0x2dcf36,_0x505988,_0x3dc313,_0x5f271f,_0xf8d0e7,_0x247c0e),_0x26a038=_0x543ee0[_0x2a9a96++]^_0x54fbb8(_0x2dcf36,_0x505988,_0x247c0e,_0x3dc313,_0x5f271f,_0xf8d0e7),_0x12290a=_0x543ee0[_0x2a9a96++]^_0x54fbb8(_0x2dcf36,_0x505988,_0xf8d0e7,_0x247c0e,_0x3dc313,_0x5f271f);_0x5f271f=_0x1654ec,_0x3dc313=_0x123503,_0x247c0e=_0x26a038,_0xf8d0e7=_0x12290a;}return{'s0':_0x543ee0[_0x2a9a96++]^_0x18cd02(_0x407eb5,_0x5f271f,_0xf8d0e7,_0x247c0e,_0x3dc313),'s1':_0x543ee0[_0x2a9a96++]^_0x18cd02(_0x407eb5,_0x3dc313,_0x5f271f,_0xf8d0e7,_0x247c0e),'s2':_0x543ee0[_0x2a9a96++]^_0x18cd02(_0x407eb5,_0x247c0e,_0x3dc313,_0x5f271f,_0xf8d0e7),'s3':_0x543ee0[_0x2a9a96++]^_0x18cd02(_0x407eb5,_0xf8d0e7,_0x247c0e,_0x3dc313,_0x5f271f)};}function _0x4479bb(_0x475e69){const _0x48488d=_0x3c7add;if(_0x129539(_0x475e69),_0x475e69[_0x48488d(0x3a4)]%0x10!=0x0)throw Error('aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016');}function _0x4ee531(_0x181f0d,_0x2218c9,_0x96751c){const _0x112bac=_0x3c7add;_0x129539(_0x181f0d);let _0x1bc6e1=_0x181f0d[_0x112bac(0x3a4)],_0x4cad14=_0x1bc6e1%0x10;if(!_0x2218c9&&_0x4cad14!==0x0)throw Error(_0x112bac(0x295));if(_0x2218c9){let _0x443d3d=0x10-_0x4cad14;_0x443d3d||(_0x443d3d=0x10),_0x1bc6e1+=_0x443d3d;}_0x96751c=_0x308ff3(_0x1bc6e1,_0x96751c),_0x54afa4(_0x181f0d,_0x96751c),(!_0xe4bc31||!_0x1bef2d(_0x181f0d))&&(_0x181f0d=_0x3b7ddd(_0x181f0d));let _0x35f7ef=_0x5f382e(_0x181f0d);return _0x5da7b0(_0x35f7ef),{'b':_0x35f7ef,'o':_0x5f382e(_0x96751c),'out':_0x96751c};}function _0x143c01(_0xe1c1a9,_0x4df8ac){const _0x5d9991=_0x3c7add;if(!_0x4df8ac)return _0xe1c1a9;let _0xf9cb89=_0xe1c1a9[_0x5d9991(0x3a4)];if(_0xf9cb89===0x0)throw Error('aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed');let _0x2713c7=_0xe1c1a9[_0xf9cb89-0x1],_0x3a23b7=0x1;_0x3a23b7&=_0x2713c7-0x1>>>0x1f^0x1,_0x3a23b7&=0x10-_0x2713c7>>>0x1f^0x1;for(let _0x29ee10=0x0;_0x29ee10<0x10;_0x29ee10++){let _0x475933=_0x29ee10-_0x2713c7>>>0x1f,_0x160829=+((_0xe1c1a9[_0xf9cb89-0x1-_0x29ee10]^_0x2713c7)===0x0);_0x3a23b7&=_0x160829|_0x475933^0x1;}if(!_0x3a23b7)throw Error(_0x5d9991(0xe4));return _0xe1c1a9[_0x5d9991(0x17f)](0x0,_0xf9cb89-_0x2713c7);}function _0x32971f(_0x112606){const _0x178ff1=_0x3c7add;let _0x3b411e=new Uint8Array(0x10),_0x709593=_0x5f382e(_0x3b411e);_0x3b411e[_0x178ff1(0x38b)](_0x112606);let _0x2bc84a=0x10-_0x112606['length'];for(let _0x480e54=0x10-_0x2bc84a;_0x480e54<0x10;_0x480e54++)_0x3b411e[_0x480e54]=_0x2bc84a;return _0x709593;}let _0x1f9c31=_0x2fac91({'blockSize':0x10,'nonceLength':0x10},function(_0x54fdb7,_0x4b82e7,_0x5f02de={}){let _0x3cb9b0=!_0x5f02de['disablePadding'];return{'encrypt'(_0x43c5af,_0x23dde4){const _0x50b3bf=_0x4364;let _0x390130=_0xb87351(_0x54fdb7),{b:_0x23ed3b,o:_0x41c781,out:_0x22ed14}=_0x4ee531(_0x43c5af,_0x3cb9b0,_0x23dde4),_0x76f4e4=_0x4b82e7,_0x1ebb81=[_0x390130];(!_0xe4bc31||!_0x1bef2d(_0x76f4e4))&&_0x1ebb81[_0x50b3bf(0x26e)](_0x76f4e4=_0x3b7ddd(_0x76f4e4));let _0x171a8f=_0x5f382e(_0x76f4e4);_0x5da7b0(_0x171a8f);let _0x458c42=_0x171a8f[0x0],_0x25fdd3=_0x171a8f[0x1],_0xb75efa=_0x171a8f[0x2],_0x25b4d5=_0x171a8f[0x3],_0x7c109f=0x0;for(;_0x7c109f+0x4<=_0x23ed3b[_0x50b3bf(0x3a4)];)_0x458c42^=_0x23ed3b[_0x7c109f+0x0],_0x25fdd3^=_0x23ed3b[_0x7c109f+0x1],_0xb75efa^=_0x23ed3b[_0x7c109f+0x2],_0x25b4d5^=_0x23ed3b[_0x7c109f+0x3],{s0:_0x458c42,s1:_0x25fdd3,s2:_0xb75efa,s3:_0x25b4d5}=_0x366155(_0x390130,_0x458c42,_0x25fdd3,_0xb75efa,_0x25b4d5),_0x41c781[_0x7c109f++]=_0x458c42,_0x41c781[_0x7c109f++]=_0x25fdd3,_0x41c781[_0x7c109f++]=_0xb75efa,_0x41c781[_0x7c109f++]=_0x25b4d5;if(_0x3cb9b0){let _0x5c5c35=_0x32971f(_0x43c5af[_0x50b3bf(0x17f)](_0x7c109f*0x4));_0x5da7b0(_0x5c5c35),_0x458c42^=_0x5c5c35[0x0],_0x25fdd3^=_0x5c5c35[0x1],_0xb75efa^=_0x5c5c35[0x2],_0x25b4d5^=_0x5c5c35[0x3],{s0:_0x458c42,s1:_0x25fdd3,s2:_0xb75efa,s3:_0x25b4d5}=_0x366155(_0x390130,_0x458c42,_0x25fdd3,_0xb75efa,_0x25b4d5),_0x41c781[_0x7c109f++]=_0x458c42,_0x41c781[_0x7c109f++]=_0x25fdd3,_0x41c781[_0x7c109f++]=_0xb75efa,_0x41c781[_0x7c109f++]=_0x25b4d5;}return _0x5da7b0(_0x41c781),_0x284f51(..._0x1ebb81),_0x22ed14;},'decrypt'(_0x34be89,_0x3b1fa1){const _0x387688=_0x4364;_0x4479bb(_0x34be89);let _0x463f40=_0x48302a(_0x54fdb7),_0x10a4bc=_0x4b82e7,_0x2cb55c=[_0x463f40];(!_0xe4bc31||!_0x1bef2d(_0x10a4bc))&&_0x2cb55c[_0x387688(0x26e)](_0x10a4bc=_0x3b7ddd(_0x10a4bc));let _0x212b3a=_0x5f382e(_0x10a4bc);_0x5da7b0(_0x212b3a),_0x3b1fa1=_0x308ff3(_0x34be89[_0x387688(0x3a4)],_0x3b1fa1),_0x54afa4(_0x34be89,_0x3b1fa1),(!_0xe4bc31||!_0x1bef2d(_0x34be89))&&_0x2cb55c[_0x387688(0x26e)](_0x34be89=_0x3b7ddd(_0x34be89));let _0x154d59=_0x5f382e(_0x34be89),_0x510a75=_0x5f382e(_0x3b1fa1);_0x5da7b0(_0x154d59);let _0x2a1741=_0x212b3a[0x0],_0x567627=_0x212b3a[0x1],_0x227c3d=_0x212b3a[0x2],_0x411076=_0x212b3a[0x3];for(let _0x2abeb9=0x0;_0x2abeb9+0x4<=_0x154d59['length'];){let _0x220736=_0x2a1741,_0xaf3147=_0x567627,_0x2415e1=_0x227c3d,_0x2ad821=_0x411076;_0x2a1741=_0x154d59[_0x2abeb9+0x0],_0x567627=_0x154d59[_0x2abeb9+0x1],_0x227c3d=_0x154d59[_0x2abeb9+0x2],_0x411076=_0x154d59[_0x2abeb9+0x3];let {s0:_0x598a6a,s1:_0x479925,s2:_0x5f45a1,s3:_0x8b2911}=_0x3de53a(_0x463f40,_0x2a1741,_0x567627,_0x227c3d,_0x411076);_0x510a75[_0x2abeb9++]=_0x598a6a^_0x220736,_0x510a75[_0x2abeb9++]=_0x479925^_0xaf3147,_0x510a75[_0x2abeb9++]=_0x5f45a1^_0x2415e1,_0x510a75[_0x2abeb9++]=_0x8b2911^_0x2ad821;}return _0x5da7b0(_0x510a75),_0x284f51(..._0x2cb55c),_0x143c01(_0x3b1fa1,_0x3cb9b0);}};});function _0x5c285c(_0x2150e9){const _0x1667d9=_0x3c7add;let _0xc20624=atob(_0x2150e9),_0x2ffcea=new Uint8Array(_0xc20624['length']);for(let _0x880bfc=0x0;_0x880bfc<_0xc20624[_0x1667d9(0x3a4)];_0x880bfc++)_0x2ffcea[_0x880bfc]=_0xc20624[_0x1667d9(0xe2)](_0x880bfc);return _0x2ffcea;}function _0x5a92dc(_0x1e4af6){const _0x25538d=_0x3c7add;let _0x47064c='';for(let _0x4187cc=0x0;_0x4187cc<_0x1e4af6[_0x25538d(0x3a4)];_0x4187cc++)_0x47064c+=String[_0x25538d(0x332)](_0x1e4af6[_0x4187cc]);return btoa(_0x47064c);}function _0x4a5bed(_0x33ae7c,_0x30d1a2){const _0xeb894=_0x3c7add;let _0x35f66e=_0x5c285c(_0x30d1a2),_0x1d2403=_0x38b234(0x10);return _0x5a92dc(_0x466ec4(_0x1d2403,_0x1f9c31(_0x35f66e,_0x1d2403)[_0xeb894(0x387)](_0x1c6bcb(_0x33ae7c))));}function _0x53e09b(){const _0x317c14=_0x3c7add;let _0x33f3da=(0x0,_0x4a0b74[_0x317c14(0x127)])()[_0x317c14(0x275)];if(typeof window<'u'&&window[_0x317c14(0x33d)]!==void 0x0&&_0x33f3da){let _0x105596={'time':Math[_0x317c14(0x364)](Date[_0x317c14(0x1e5)]()/0x3e8),'domain':location[_0x317c14(0xc0)]};return _0x4a5bed(JSON[_0x317c14(0x265)](_0x105596),_0x33f3da);}}let _0x213b55=class{constructor(_0x367ad4){const _0x1f9409=_0x3c7add;this['_httpService']=_0x367ad4,this[_0x1f9409(0x160)]();}[_0x3c7add(0x160)](){const _0x33cfe0=_0x3c7add;this[_0x33cfe0(0x16a)][_0x33cfe0(0x26a)]({'interceptor':(_0x138f90,_0x257eaa)=>{const _0x47d70e=_0x33cfe0;let _0x2f73c1=_0x53e09b();return _0x2f73c1&&_0x138f90[_0x47d70e(0x2e8)]['set'](_0x47d70e(0xca),_0x2f73c1),_0x257eaa(_0x138f90);}});}};_0x213b55=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5['Inject'])(_0x4fa7e8[_0x3c7add(0xf3)]))],_0x213b55);let _0x3090fa=class extends _0x4f2fc5[_0x3c7add(0x145)]{constructor(_0x225750,_0x52eef6,_0x3ad35c){const _0x12f04a=_0x3c7add;super(),this[_0x12f04a(0x10b)]=_0x225750,this['_snapshotService']=_0x52eef6,this[_0x12f04a(0x12a)]=_0x3ad35c,_0x45730e(this,_0x12f04a(0x193),new _0x196a42[(_0x12f04a(0x2cc))](null)),_0x45730e(this,_0x12f04a(0x1de),this[_0x12f04a(0x193)][_0x12f04a(0xc6)]());}async['loadUnitOfRevision'](_0x3b9d4a,_0x260fdd,_0x3a9dfa){const _0x4f54e0=_0x3c7add;this['_unitInfo$']['next']({'unitId':_0x3b9d4a,'type':_0x260fdd});let _0x81787=null;switch(_0x260fdd){case _0x4f2fc5['UniverInstanceType'][_0x4f54e0(0x2a4)]:_0x81787=await this[_0x4f54e0(0xfc)][_0x4f54e0(0x157)](_0x3b9d4a,_0x3a9dfa);break;case _0x4f2fc5[_0x4f54e0(0x22e)][_0x4f54e0(0x2d5)]:_0x81787=await this['_snapshotService']['loadDoc'](_0x3b9d4a,_0x3a9dfa);break;default:this[_0x4f54e0(0x10b)][_0x4f54e0(0x1f0)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}return _0x81787;}async[_0x3c7add(0x336)](_0x36c3f6,_0x135f33,_0x10372e){const _0x2ab820=_0x3c7add;var _0x4ac333;this[_0x2ab820(0x193)][_0x2ab820(0x232)]({'unitId':_0x36c3f6,'type':_0x135f33,'subUnitId':_0x10372e});let _0x57456f=0x0,_0x3bd7d7=await((_0x4ac333=this[_0x2ab820(0x12a)])==null?void 0x0:_0x4ac333['loadOfflineData'](_0x36c3f6));return _0x3bd7d7&&(_0x3bd7d7[_0x2ab820(0x27a)]||_0x3bd7d7[_0x2ab820(0x1eb)][_0x2ab820(0x3a4)]!==0x0)&&(_0x57456f=_0x3bd7d7[_0x2ab820(0x3b3)]),_0x57456f===0x0&&this[_0x2ab820(0x10b)][_0x2ab820(0x2ec)](_0x2ab820(0x2bc),_0x2ab820(0x161)),this['loadUnitOfRevision'](_0x36c3f6,_0x135f33,_0x57456f);}};_0x3090fa=_0x38f352([_0x78c766(0x0,_0x4f2fc5['ILogService']),_0x78c766(0x1,(0x0,_0x4f2fc5['Inject'])(_0x597ddf[_0x3c7add(0x158)])),_0x78c766(0x2,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x3090fa);let _0x336bd5=class{constructor(_0x490d47,_0x556380,_0x1b83c8){const _0x318877=_0x3c7add;this[_0x318877(0x16a)]=_0x490d47,this[_0x318877(0x33c)]=_0x556380,this[_0x318877(0x243)]=_0x1b83c8,_0x45730e(this,_0x318877(0x130),0x0),_0x45730e(this,_0x318877(0xed),new _0x196a42[(_0x318877(0x274))]()),_0x45730e(this,_0x318877(0xda),this['_change$']),_0x45730e(this,_0x318877(0x103),new Map());}[_0x3c7add(0x16b)](_0x1ce524){const _0x560275=_0x3c7add;this[_0x560275(0x130)]=_0x1ce524,this[_0x560275(0xed)][_0x560275(0x232)](_0x1ce524);}[_0x3c7add(0x2c2)](_0x8fd629,_0x3d58e4){const _0x252233=_0x3c7add;if(_0x3d58e4===_0x4aa170[_0x252233(0x28d)][_0x252233(0x2c8)]){let _0x278cfd=new Image();return _0x278cfd[_0x252233(0xc9)]=_0x8fd629,_0x278cfd;}return this[_0x252233(0x103)][_0x252233(0x1fd)](_0x8fd629);}[_0x3c7add(0x172)](_0x3e9c7b,_0x27dbca,_0x362162){const _0x437ddd=_0x3c7add;_0x27dbca===_0x4aa170[_0x437ddd(0x28d)][_0x437ddd(0x2c8)]||_0x362162==null||this[_0x437ddd(0x103)][_0x437ddd(0x38b)](_0x3e9c7b,_0x362162);}async[_0x3c7add(0x3ad)](_0x545838){const _0x59de26=_0x3c7add;try{let _0xb334de=this[_0x59de26(0x20f)](this[_0x59de26(0x108)](),''+_0x545838),_0x45953c=(await this['_httpService']['get'](_0xb334de))[_0x59de26(0xc1)];if(_0x45953c[_0x59de26(0x1f0)]&&_0x45953c[_0x59de26(0x1f0)]['code']===_0x121aa6[_0x59de26(0x23d)]['OK']){let _0x99a187=(0x0,_0x4f2fc5[_0x59de26(0x17c)])(_0x45953c[_0x59de26(0x1f7)],this[_0x59de26(0x308)]());return Promise[_0x59de26(0x15c)](_0x99a187);}return Promise[_0x59de26(0x1e3)](_0x45953c[_0x59de26(0x1f0)]);}catch(_0x5dbd24){return Promise[_0x59de26(0x1e3)](_0x5dbd24);}}async['saveImage'](_0x489578){const _0x521662=_0x3c7add;let _0x112499='';if(!_0x4aa170[_0x521662(0x244)][_0x521662(0x3b9)](_0x489578['type']))return this['_decreaseWaiting'](),Promise[_0x521662(0x1e3)](Error(_0x4aa170[_0x521662(0x204)][_0x521662(0x359)]));if(_0x489578[_0x521662(0x2c3)]>(0x0,_0x4aa170['getDrawingImageAllowSize'])())return this[_0x521662(0x1be)](),Promise[_0x521662(0x1e3)](Error(_0x4aa170[_0x521662(0x204)][_0x521662(0xd9)]));try{let _0x580c74=new FormData();_0x580c74[_0x521662(0x25e)](_0x521662(0x3a3),_0x489578);let _0x5f0130=this[_0x521662(0x243)]['getFocusedUnit'](),_0x5c167e=_0x5f0130==null?void 0x0:_0x5f0130[_0x521662(0x21a)]();if(!_0x5c167e)throw Error(_0x521662(0x2f8));let _0x15939a=this['_getUploadFileURL']()+_0x521662(0x13d)+_0x489578[_0x521662(0x2c3)][_0x521662(0x358)]()+'&source='+_0x121aa6['FileSource']['UnitEmbedded']+_0x521662(0x384)+encodeURIComponent(_0x5c167e),_0xfb9dce={'body':_0x580c74},_0x341623=(await this[_0x521662(0x16a)][_0x521662(0x3d8)](_0x15939a,_0xfb9dce))[_0x521662(0xc1)];if(typeof _0x341623[_0x521662(0x194)]!=_0x521662(0x22c))return this[_0x521662(0x1be)](),Promise[_0x521662(0x1e3)](Error(_0x4aa170[_0x521662(0x204)][_0x521662(0x25c)]));_0x112499=_0x341623[_0x521662(0x194)];}catch{return this['_decreaseWaiting'](),Promise[_0x521662(0x1e3)](Error(_0x4aa170['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x270c09,_0x21acb4)=>{let _0x5d136f=new FileReader();_0x5d136f['readAsDataURL'](_0x489578),_0x5d136f['onload']=_0x5e49d3=>{const _0x5ae63c=_0x4364;var _0x5292d5;let _0x32c405=(_0x5292d5=_0x5e49d3[_0x5ae63c(0x22d)])==null?void 0x0:_0x5292d5['result'];if(_0x32c405==null){this[_0x5ae63c(0x1be)](),_0x21acb4(Error(_0x4aa170['ImageUploadStatusType']['ERROR_IMAGE']));return;}_0x270c09({'imageId':(0x0,_0x4f2fc5[_0x5ae63c(0x393)])(0x6),'imageSourceType':_0x4aa170[_0x5ae63c(0x28d)][_0x5ae63c(0xd4)],'source':_0x112499,'base64Cache':_0x32c405,'status':_0x4aa170['ImageUploadStatusType']['SUCCUSS']}),this[_0x5ae63c(0x1be)]();};});}[_0x3c7add(0x309)](){const _0x563168=_0x3c7add;var _0x5bf68d;let _0x4e4286=this[_0x563168(0x33c)][_0x563168(0x1e1)](_0x11e35b);return(_0x5bf68d=_0x4e4286==null?void 0x0:_0x4e4286[_0x563168(0x368)])==null?'/universer-api/stream/file/upload':_0x5bf68d;}[_0x3c7add(0x108)](){const _0x365370=_0x3c7add;var _0x51d126;let _0x6d52ce=this[_0x365370(0x33c)][_0x365370(0x1e1)](_0x11e35b);return(_0x51d126=_0x6d52ce==null?void 0x0:_0x6d52ce[_0x365370(0x123)])==null?_0x365370(0x171):_0x51d126;}[_0x3c7add(0x308)](){const _0x16a89e=_0x3c7add;var _0x379ffc;let _0x19ff7c=this[_0x16a89e(0x33c)][_0x16a89e(0x1e1)](_0x11e35b);return(_0x379ffc=_0x19ff7c==null?void 0x0:_0x19ff7c['downloadEndpointUrl'])==null?location[_0x16a89e(0x35f)]:_0x379ffc;}[_0x3c7add(0x20f)](_0x12d4d9,_0x1b8268){const _0x24bcdf=_0x3c7add;return _0x12d4d9[_0x24bcdf(0x378)](_0x24bcdf(0x11c),_0x1b8268);}[_0x3c7add(0x1be)](){const _0x3545c2=_0x3c7add;--this[_0x3545c2(0x130)],this[_0x3545c2(0xed)][_0x3545c2(0x232)](this['_waitCount']);}};_0x336bd5=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4fa7e8[_0x3c7add(0xf3)])),_0x78c766(0x1,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x2,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['IUniverInstanceService']))],_0x336bd5);let _0x58af56=class{constructor(_0xa33ea,_0x2b100d){const _0x86cc11=_0x3c7add;this['_configService']=_0xa33ea,this[_0x86cc11(0x137)]=_0x2b100d;}[_0x3c7add(0x352)](){const _0x57f473=_0x3c7add;var _0x4f9503;let _0x3a1526=this[_0x57f473(0x33c)][_0x57f473(0x1e1)](_0x11e35b);return(_0x4f9503=_0x3a1526==null?void 0x0:_0x3a1526['authzUrl'])==null?_0x57f473(0x392):_0x4f9503;}async[_0x3c7add(0x1d4)](_0x84584){const _0x179037=_0x3c7add;let _0xdcbd13=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x179037(0x290),'mentions':(await this['_HTTPService'][_0x179037(0x1fd)](_0xdcbd13,{'params':{'objectID':_0x84584[_0x179037(0x225)],'unitID':_0x84584[_0x179037(0x225)]}}))[_0x179037(0xc1)][_0x179037(0xde)]['map'](_0x1f47ed=>({'objectId':_0x1f47ed['id'],'name':_0x1f47ed[_0x179037(0x12c)][_0x179037(0x3ca)],'metadata':{'icon':_0x1f47ed[_0x179037(0x12c)][_0x179037(0x226)]},'label':_0x1f47ed[_0x179037(0x12c)][_0x179037(0x3ca)],'objectType':_0x4f2fc5[_0x179037(0x3c4)]['PERSON']})),'metadata':{},'type':_0x4f2fc5[_0x179037(0x3c4)][_0x179037(0x350)]}]};}};_0x58af56=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['IConfigService'])),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4fa7e8[_0x3c7add(0xf3)]))],_0x58af56);let _0x4b235c=class extends _0x4f2fc5[_0x3c7add(0x145)]{constructor(_0xd40479,_0x4dd6f6,_0x31b302,_0x5dd351,_0xf9381f){const _0x529017=_0x3c7add;super(),this[_0x529017(0x37b)]=_0xd40479,this['_univerInstanceService']=_0x4dd6f6,this[_0x529017(0x1cb)]=_0x31b302,this['_collaborationSessionService']=_0x5dd351,this[_0x529017(0x264)]=_0xf9381f,this[_0x529017(0x323)](),this[_0x529017(0x110)]();}['_initCloseConn'](){const _0x1af695=_0x3c7add;let _0xb2844f=async _0x2a4e4=>{const _0x3cb70c=_0x4364;(await this[_0x3cb70c(0x322)]['requireSession'](_0x2a4e4))['event$']['pipe']((0x0,_0x5c83a6[_0x3cb70c(0x143)])(_0x3f39c1=>_0x3f39c1[_0x3cb70c(0x1ff)]===_0x597ddf[_0x3cb70c(0xf9)][_0x3cb70c(0x3c3)]),(0x0,_0x5c83a6[_0x3cb70c(0x1fa)])(this['dispose$']))[_0x3cb70c(0x237)](_0x3e2009=>{const _0x3cc2a6=_0x3cb70c;let {reason:_0xc564a4}=_0x3e2009[_0x3cc2a6(0x37e)];this[_0x3cc2a6(0x264)]['emitEvent']({'id':_0x3cc2a6(0x3c9),'data':_0xc564a4}),this['_permissionService'][_0x3cc2a6(0x251)](new _0x575377['WorkbookEditablePermission'](_0x2a4e4)['id'],!0x1),this['_collaborationSessionService'][_0x3cc2a6(0x32c)](_0x2a4e4);});};(0x0,_0x196a42['merge'])(this[_0x1af695(0x243)]['getTypeOfUnitAdded$'](_0x4f2fc5['UniverInstanceType'][_0x1af695(0x2a4)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4f2fc5[_0x1af695(0x22e)][_0x1af695(0x2d5)]))[_0x1af695(0x397)]((0x0,_0x5c83a6[_0x1af695(0x192)])(_0x4814b7=>_0x4814b7[_0x1af695(0x1f3)][_0x1af695(0x21a)]()),(0x0,_0x5c83a6[_0x1af695(0x143)])(_0x1fce94=>!(0x0,_0x4f2fc5['isInternalEditorID'])(_0x1fce94)),(0x0,_0x5c83a6[_0x1af695(0x1fa)])(this[_0x1af695(0x163)]))[_0x1af695(0x237)](_0x12e35a=>{_0xb2844f(_0x12e35a);});}[_0x3c7add(0x323)](){const _0x21cf32=_0x3c7add;let _0x42fc25=async _0x2ef73d=>{const _0x23f95d=_0x4364;let _0x2c83c1=await this[_0x23f95d(0x322)][_0x23f95d(0x249)](_0x2ef73d),_0x5f4d46=this[_0x23f95d(0x37b)][_0x23f95d(0x1fd)](_0x575377[_0x23f95d(0x2c5)]);_0x2c83c1[_0x23f95d(0x211)][_0x23f95d(0x397)]((0x0,_0x5c83a6[_0x23f95d(0x143)])(_0x54bb07=>_0x54bb07['eventID']===_0x597ddf[_0x23f95d(0xf9)][_0x23f95d(0x1dc)]),(0x0,_0x5c83a6['takeUntil'])(this[_0x23f95d(0x163)]))['subscribe'](_0x33a452=>{const _0x4f9b69=_0x23f95d;let {objectId:_0x20ff6b}=_0x33a452['data'];_0x20ff6b===_0x2ef73d?_0x5f4d46[_0x4f9b69(0x1a7)](_0x2ef73d):_0x5f4d46[_0x4f9b69(0x131)](_0x2ef73d,_0x20ff6b);});};(0x0,_0x196a42[_0x21cf32(0x1b5)])(this[_0x21cf32(0x243)]['getTypeOfUnitAdded$'](_0x4f2fc5[_0x21cf32(0x22e)][_0x21cf32(0x2a4)]))[_0x21cf32(0x397)]((0x0,_0x5c83a6[_0x21cf32(0x192)])(_0x3ddc30=>_0x3ddc30[_0x21cf32(0x1f3)][_0x21cf32(0x21a)]()),(0x0,_0x5c83a6[_0x21cf32(0x143)])(_0x588972=>!(0x0,_0x4f2fc5['isInternalEditorID'])(_0x588972)),(0x0,_0x5c83a6[_0x21cf32(0x1fa)])(this[_0x21cf32(0x163)]))[_0x21cf32(0x237)](_0x1f2137=>{_0x42fc25(_0x1f2137);});}};_0x4b235c=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x1,_0x4f2fc5['IUniverInstanceService']),_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0x1c4)]),_0x78c766(0x3,(0x0,_0x4f2fc5['Inject'])(_0x5af92e)),_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x20d828))],_0x4b235c);let _0x25e92a=class{constructor(_0x33d6a1,_0x3fe7f4){const _0x12325d=_0x3c7add;this[_0x12325d(0x33c)]=_0x33d6a1,this['_httpService']=_0x3fe7f4;}async['getUnitOnRev'](_0x363418,_0x414fdc){const _0x3aa396=_0x3c7add;var _0x2c5194;let {unitID:_0x597c8b,type:_0x55fb24,revision:_0x5b4e6a=0x0}=_0x414fdc,_0x4fa2f7=this[_0x3aa396(0x128)]()+'/'+_0x55fb24+_0x3aa396(0x221)+_0x597c8b+_0x3aa396(0x3cb)+_0x5b4e6a,_0x111cfc=(await this[_0x3aa396(0x16a)][_0x3aa396(0x1fd)](_0x4fa2f7))[_0x3aa396(0xc1)],_0x1ddb99=(_0x2c5194=_0x111cfc[_0x3aa396(0x13f)])==null?void 0x0:_0x2c5194[_0x3aa396(0x153)];if(_0x1ddb99){let _0x2e768d=_0x1ddb99==null?void 0x0:_0x1ddb99[_0x3aa396(0x324)];_0x1ddb99[_0x3aa396(0x324)]=_0x597ddf[_0x3aa396(0x331)][_0x3aa396(0xea)]((0x0,_0x597ddf[_0x3aa396(0x260)])(_0x2e768d)),Object[_0x3aa396(0x233)](_0x1ddb99[_0x3aa396(0x219)])[_0x3aa396(0x253)](([,_0x1d0510])=>{const _0x369ce7=_0x3aa396;let _0x21f44c=_0x1d0510[_0x369ce7(0x324)];_0x1d0510[_0x369ce7(0x324)]=_0x597ddf[_0x369ce7(0x331)][_0x369ce7(0xea)]((0x0,_0x597ddf[_0x369ce7(0x260)])(_0x21f44c));});}return _0x111cfc;}async[_0x3c7add(0x276)](_0x560c39,_0x2e7237){const _0x1d6fa8=_0x3c7add;let {unitID:_0x4e01c8,type:_0x2d46bd,blockID:_0xa8a4cf}=_0x2e7237,_0x5a12a7=this[_0x1d6fa8(0x27d)]()+'/'+_0x2d46bd+'/unit/'+_0x4e01c8+_0x1d6fa8(0x32e)+_0xa8a4cf;return(await this[_0x1d6fa8(0x16a)][_0x1d6fa8(0x1fd)](_0x5a12a7))[_0x1d6fa8(0xc1)];}async[_0x3c7add(0xf1)](_0x1915ae,_0x197b41){const _0x2d6d50=_0x3c7add;let {unitID:_0x2204c4,type:_0x2607e8,blockID:_0x2f1df0}=_0x197b41,_0x530da0=this[_0x2d6d50(0x27d)]()+'/block/'+_0x2607e8+_0x2d6d50(0x221)+_0x2204c4+_0x2d6d50(0x32e)+_0x2f1df0;return(await this[_0x2d6d50(0x16a)][_0x2d6d50(0x1fd)](_0x530da0))[_0x2d6d50(0xc1)];}async[_0x3c7add(0x303)](_0x8a5f4c,_0x18e6ba){const _0x34f662=_0x3c7add;let {unitID:_0x217a9c,type:_0x4a4387,from:_0x296c72,to:_0xd73997}=_0x18e6ba,_0x46f392=this[_0x34f662(0x27d)]()+'/'+_0x4a4387+'/unit/'+_0x217a9c+_0x34f662(0x2d6)+_0x296c72+_0x34f662(0x299)+_0xd73997;return(await this[_0x34f662(0x16a)][_0x34f662(0x1fd)](_0x46f392))['body'];}[_0x3c7add(0x128)](){const _0x1b6154=_0x3c7add;var _0xadc2ea;return(_0xadc2ea=this[_0x1b6154(0x33c)][_0x1b6154(0x1e1)](_0x1b6154(0x376)))==null?this['_getAPIPrefix']():_0xadc2ea;}[_0x3c7add(0x27d)](){const _0x2fc50d=_0x3c7add;var _0x3d7ab9;let _0x44ac27=this[_0x2fc50d(0x33c)]['getConfig'](_0x11e35b);return(_0x3d7ab9=_0x44ac27==null?void 0x0:_0x44ac27[_0x2fc50d(0xc5)])==null?'/universer-api/snapshot':_0x3d7ab9;}async[_0x3c7add(0x29c)](_0x3a25ca,_0x3c2766){const _0x20531a=_0x3c7add;let _0x370997='/universer-api/snapshot/'+_0x3c2766[_0x20531a(0x3c8)]+_0x20531a(0x221)+_0x3c2766[_0x20531a(0x11a)]+_0x20531a(0x348);return(await this[_0x20531a(0x16a)][_0x20531a(0x1fd)](_0x370997,{'params':{'resourceId':JSON[_0x20531a(0x265)](_0x3c2766[_0x20531a(0x3a8)])}}))[_0x20531a(0xc1)];}[_0x3c7add(0x35b)](){const _0x889898=_0x3c7add;throw Error(_0x889898(0x2be));}[_0x3c7add(0x162)](){const _0x34dbc8=_0x3c7add;throw Error(_0x34dbc8(0x2be));}[_0x3c7add(0x2a2)](){const _0x5b9982=_0x3c7add;throw Error(_0x5b9982(0x2be));}['saveChangeset'](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3c7add(0xcc)](){const _0x2a90c6=_0x3c7add;throw Error(_0x2a90c6(0x2be));}[_0x3c7add(0x34d)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};_0x25e92a=_0x38f352([_0x78c766(0x0,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4fa7e8[_0x3c7add(0xf3)]))],_0x25e92a);let _0xe132f=class extends _0x4f2fc5[_0x3c7add(0x17b)]{constructor(_0x2a7c6a,_0x566d71,_0x3e884a,_0x366722,_0x2546b3){const _0xd1a473=_0x3c7add;super(_0x2a7c6a,_0x566d71,_0x3e884a),this[_0xd1a473(0x220)]=_0x366722,this[_0xd1a473(0x10b)]=_0x2546b3;}['transformUndoRedo'](_0x1d3e89,_0x268f20){const _0x3cb3b7=_0x3c7add;let _0x4cdb33=this['_getUndoStack'](_0x1d3e89);if(_0x4cdb33)try{let _0x2988ac=this['_transformStack'](_0x4cdb33,_0x268f20);this[_0x3cb3b7(0xf5)](_0x1d3e89,_0x2988ac);}catch(_0x5d6932){this[_0x3cb3b7(0x10b)][_0x3cb3b7(0x1f0)]('[CollaborationUndoRedoService]',_0x5d6932),this[_0x3cb3b7(0x1db)](_0x1d3e89);}let _0x412f80=this['_getRedoStack'](_0x1d3e89);if(_0x412f80)try{let _0x5e8523=this[_0x3cb3b7(0x353)](_0x412f80,_0x268f20);this[_0x3cb3b7(0x197)](_0x1d3e89,_0x5e8523);}catch(_0x5bab2a){this['_logService'][_0x3cb3b7(0x1f0)](_0x5bab2a),this[_0x3cb3b7(0x11f)](_0x1d3e89);}}[_0x3c7add(0x1db)](_0x1e7dcd){const _0x3e6cbd=_0x3c7add;let _0x4af9e7=this['_getUndoStack'](_0x1e7dcd);_0x4af9e7&&(_0x4af9e7['length']=0x0,this[_0x3e6cbd(0x149)]());}[_0x3c7add(0x11f)](_0x51e4ac){const _0x2443a5=_0x3c7add;let _0x22f431=this['_getRedoStack'](_0x51e4ac);_0x22f431&&(_0x22f431[_0x2443a5(0x3a4)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0xdc733,_0x104d9c){const _0x13249a=_0x3c7add;this['_undoStacks'][_0x13249a(0x38b)](_0xdc733,_0x104d9c),this[_0x13249a(0x149)]();}['_substituteRedoStack'](_0x13d30c,_0x1772da){const _0x4aa039=_0x3c7add;this[_0x4aa039(0x133)][_0x4aa039(0x38b)](_0x13d30c,_0x1772da),this['_updateStatus']();}[_0x3c7add(0x353)](_0x93f865,_0xcd03f4){const _0x562e4e=_0x3c7add;let _0x3f953e=[],_0x5c680d=_0xcd03f4,_0x3e74f3=_0xcd03f4;for(let _0x101529=_0x93f865[_0x562e4e(0x3a4)]-0x1;_0x101529>=0x0;_0x101529--){let {unitID:_0x4e2b50,undoMutations:_0x2d1d8f,redoMutations:_0x1433bd}=_0x93f865[_0x101529],_0x322a97=this[_0x562e4e(0x220)][_0x562e4e(0x1a1)](_0x5c680d,_0x2d1d8f),_0x364b8f=this['_transformService']['transformMutationsWithChangeset'](_0x3e74f3,_0x1433bd);if((0x0,_0x597ddf[_0x562e4e(0x218)])(_0x322a97)||(0x0,_0x597ddf[_0x562e4e(0x218)])(_0x364b8f)){this[_0x562e4e(0x10b)][_0x562e4e(0x1f0)](_0x562e4e(0x32d),_0x562e4e(0xd2),_0x322a97,_0x364b8f);break;}_0x5c680d=_0x322a97[_0x562e4e(0x23f)],_0x3e74f3=_0x364b8f[_0x562e4e(0x23f)],_0x3f953e['push']({'unitID':_0x4e2b50,'undoMutations':_0x322a97[_0x562e4e(0x3bc)],'redoMutations':_0x364b8f[_0x562e4e(0x3bc)]});}return _0x3f953e['reverse']();}};_0xe132f=_0x38f352([_0x78c766(0x0,_0x4f2fc5[_0x3c7add(0x1d0)]),_0x78c766(0x1,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0x167)]),_0x78c766(0x3,_0x597ddf[_0x3c7add(0x12e)]),_0x78c766(0x4,_0x4f2fc5['ILogService'])],_0xe132f);let _0x5bec0b=class extends _0x4f2fc5['Plugin']{constructor(_0x56ff72={},_0x1f0805,_0x19f739,_0x50cef2){const _0x2db7e2=_0x3c7add;super(),this[_0x2db7e2(0x116)]=_0x56ff72,this[_0x2db7e2(0x10b)]=_0x1f0805,this[_0x2db7e2(0x37b)]=_0x19f739,this['_configService']=_0x50cef2;let {..._0xd9eaf5}=(0x0,_0x4f2fc5[_0x2db7e2(0x1b5)])({},_0xdd2c56,_0x56ff72);if(!_0xd9eaf5[_0x2db7e2(0x31f)])throw Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2db7e2(0x116)]=_0xd9eaf5,this[_0x2db7e2(0x33c)][_0x2db7e2(0x18d)](_0x11e35b,_0xd9eaf5);}[_0x3c7add(0x246)](){const _0x106cc6=_0x3c7add;this['_registerDependencies'](),this[_0x106cc6(0x2b3)]();}['_registerDependencies'](){const _0x3e8165=_0x3c7add;var _0x13e4fb,_0x362753;this['_injector'][_0x3e8165(0x22a)](_0x4f2fc5[_0x3e8165(0x2c0)])&&this[_0x3e8165(0x10b)]['error'](_0x3e8165(0x182),_0x3e8165(0x2e3));let _0x4cd1df=(0x0,_0x4f2fc5['mergeOverrideWithDependencies'])([[_0x4f2fc5['IUndoRedoService'],{'useClass':_0xe132f}],[_0x5af92e],[_0x359f82],[_0x479f64],[_0x3b4d7a],[_0x213b55],[_0x2ea459],[_0x4b235c],[_0x20d828],[_0x3090fa],[_0x2a6fcc,{'useClass':this[_0x3e8165(0x116)][_0x3e8165(0x31f)]}],[_0x597ddf[_0x3e8165(0x2bb)],{'useClass':_0x25e92a}],[_0x4f2fc5[_0x3e8165(0x1b7)],{'useClass':_0x510ca4}],[_0x4aa170[_0x3e8165(0x1d2)],{'useClass':_0x336bd5}],[_0x4f2fc5[_0x3e8165(0x1bf)],{'useClass':_0x58af56}],[_0x384fde],[_0x5a42c3]],(_0x13e4fb=this[_0x3e8165(0x116)])==null?void 0x0:_0x13e4fb[_0x3e8165(0x10f)]);if(!((_0x362753=this[_0x3e8165(0x116)])!=null&&_0x362753[_0x3e8165(0x17e)])){let _0x3d3f54=_0x4cd1df[_0x3e8165(0x2d1)](([_0x2135be])=>_0x2135be===_0x546860);_0x3d3f54!==-0x1&&_0x4cd1df[_0x3e8165(0x1c8)](_0x3d3f54,0x1);}(0x0,_0x4f2fc5['registerDependencies'])(this[_0x3e8165(0x37b)],_0x4cd1df);}[_0x3c7add(0x2b3)](){const _0x3a5f2a=_0x3c7add;var _0x5ce6ab,_0x1a1934;if(this['_injector']['get'](_0x4fa7e8[_0x3a5f2a(0xf3)])[_0x3a5f2a(0x26a)]({'priority':0x14,'interceptor':(0x0,_0x4fa7e8[_0x3a5f2a(0x36d)])({'maxParallel':0x6})}),!((_0x5ce6ab=this[_0x3a5f2a(0x116)])!=null&&_0x5ce6ab['enableOfflineEditing'])){var _0x2dc387;(_0x2dc387=this[_0x3a5f2a(0x37b)]['get'](_0x54dcc4,_0x4f2fc5[_0x3a5f2a(0x122)][_0x3a5f2a(0x186)]))==null||_0x2dc387[_0x3a5f2a(0x316)]();}(_0x1a1934=this[_0x3a5f2a(0x116)])!=null&&_0x1a1934['enableAuthServer']&&(0x0,_0x4f2fc5[_0x3a5f2a(0x174)])(this['_injector'],[[_0x3b4d7a]]),(0x0,_0x4f2fc5[_0x3a5f2a(0x174)])(this[_0x3a5f2a(0x37b)],[[_0x213b55],[_0x384fde],[_0x4b235c]]);}};_0x45730e(_0x5bec0b,_0x3c7add(0x2f9),_0x3c7add(0x1f6)),_0x45730e(_0x5bec0b,_0x3c7add(0x3ab),_0x34e3ba),_0x45730e(_0x5bec0b,_0x3c7add(0x190),_0x3d82eb),_0x5bec0b=_0x38f352([(0x0,_0x4f2fc5[_0x3c7add(0x2ca)])(_0x4a0b74['UniverLicensePlugin'],_0x597ddf[_0x3c7add(0x2aa)],_0x4fa7e8[_0x3c7add(0x38a)]),_0x78c766(0x1,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x2,(0x0,_0x4f2fc5['Inject'])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x3,_0x4f2fc5[_0x3c7add(0x312)])],_0x5bec0b),Object[_0x3c7add(0x2ab)](_0x10f62c,'AuthzIoHttpService',{'enumerable':!0x0,'get':function(){return _0x510ca4;}}),Object['defineProperty'](_0x10f62c,'AwaitingState',{'enumerable':!0x0,'get':function(){return _0x441552;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x3d4),{'enumerable':!0x0,'get':function(){return _0x2a0e64;}}),_0x10f62c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x11e35b,Object[_0x3c7add(0x2ab)](_0x10f62c,'CollaborationController',{'enumerable':!0x0,'get':function(){return _0x384fde;}}),Object['defineProperty'](_0x10f62c,_0x3c7add(0x2d9),{'enumerable':!0x0,'get':function(){return _0x137310;}}),Object['defineProperty'](_0x10f62c,_0x3c7add(0x29e),{'enumerable':!0x0,'get':function(){return _0x336bd5;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x191),{'enumerable':!0x0,'get':function(){return _0x1d1b7a;}}),Object['defineProperty'](_0x10f62c,'CollaborationSessionService',{'enumerable':!0x0,'get':function(){return _0x5af92e;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x1c9),{'enumerable':!0x0,'get':function(){return _0x3d275e;}}),_0x10f62c[_0x3c7add(0x38d)]=_0xe9e27d,_0x10f62c[_0x3c7add(0x2f2)]=_0x403eeb,_0x10f62c[_0x3c7add(0x35e)]=_0x20d828,Object[_0x3c7add(0x2ab)](_0x10f62c,'CollaborativeUndoRedoService',{'enumerable':!0x0,'get':function(){return _0xe132f;}}),_0x10f62c[_0x3c7add(0x178)]=_0x2ea459,Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x380),{'enumerable':!0x0,'get':function(){return _0x2cb513;}}),_0x10f62c[_0x3c7add(0xd0)]=_0x40bad1,_0x10f62c[_0x3c7add(0x27f)]=_0x3c7add(0x2b5),_0x10f62c[_0x3c7add(0x2b0)]=_0x3c7add(0x141),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x390),{'enumerable':!0x0,'get':function(){return _0x3090fa;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x2ad),{'enumerable':!0x0,'get':function(){return _0x44307b;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x183),{'enumerable':!0x0,'get':function(){return _0x47f959;}}),_0x10f62c[_0x3c7add(0x170)]=_0x3c7add(0x2a9),_0x10f62c[_0x3c7add(0x126)]=_0x3c7add(0xf2),_0x10f62c[_0x3c7add(0x287)]=_0x2a6fcc,_0x10f62c[_0x3c7add(0x165)]=_0x54dcc4,_0x10f62c[_0x3c7add(0x1a4)]=_0x5984c8,_0x10f62c[_0x3c7add(0x34a)]=_0x546860,_0x10f62c[_0x3c7add(0x2eb)]=0x3e8,_0x10f62c[_0x3c7add(0x3ac)]=_0x3c7add(0x2eb),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x379),{'enumerable':!0x0,'get':function(){return _0x359f82;}}),Object['defineProperty'](_0x10f62c,_0x3c7add(0x3c5),{'enumerable':!0x0,'get':function(){return _0x58af56;}}),Object['defineProperty'](_0x10f62c,_0x3c7add(0x319),{'enumerable':!0x0,'get':function(){return _0x405ee9;}}),Object['defineProperty'](_0x10f62c,'PendingState',{'enumerable':!0x0,'get':function(){return _0x2c2e17;}}),_0x10f62c[_0x3c7add(0x3be)]=_0x3c7add(0x302),_0x10f62c['RETRY_CONNECTING_MAX_COUNT_KEY']='RETRY_CONNECTING_MAX_COUNT',_0x10f62c[_0x3c7add(0x1e0)]=_0x2a7e6c,Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x314),{'enumerable':!0x0,'get':function(){return _0xb49add;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x3dc),{'enumerable':!0x0,'get':function(){return _0x479f64;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x3a9),{'enumerable':!0x0,'get':function(){return _0x25e92a;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x104),{'enumerable':!0x0,'get':function(){return _0x2168a9;}}),_0x10f62c[_0x3c7add(0x125)]=_0x2e8335,Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x3a0),{'enumerable':!0x0,'get':function(){return _0x5bec0b;}}),_0x10f62c[_0x3c7add(0x2e2)]=_0x3e0e79,_0x10f62c['getLocalCacheKey']=_0x58d90e,_0x10f62c[_0x3c7add(0x1b8)]=_0x14d4cf;}));function _0x4379(){const _0x115756=['batchAllowed','LIVESHARE_TERMINATE','max','updateCollaborator','parse','COMMENT_UPDATE','IConfigService','executeCommand','SheetCollaborationEntity','session.join-failed','disableLocalCache','OFFLINE','localCacheService','OfflineState','collaboration_new_changeset','message$','_entityInit$','_resendWithTimeout','CombCmd','socketService','onTransformIME','334oXUYqM','_collaborationSessionService','_initUnitPermissionChange','originalMeta','_maxTotalRetryTimeout','_transformAndApplyRemoteChangeset','_fetchMissChangesets','MergeInterceptorFactory','title','add','InsertSheetMutation','closeSession','[CollaborationUndoRedoService]','/block/','_handleRemoteChangesets','selections','textEncoder','fromCharCode','byteOffset','_showConflictNotification','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnit','fromCollab','sessionStatus','enableCollaboration','method','/role','_configService','location','_type','from','deepClone','_sessions','responseType','every','isTransformMutationsWithChangesetSuccess','_clearTimeoutTimer','onTransformState','_event$','/resources','_rescheduleHeartbeat','ISingleActiveUnitService','JOIN_ROOM_FULL','collabWebSocketUrl','getLatestCsReqIdBySid','updateCursorEvent','shareReplay','PERSON','getCollabEntity','_getAPIPrefixPath','_transformStack','PERMISSION_DENIED','_timeoutTimer','ReplaySubject','_onJoinRoomEvent','toString','ERROR_IMAGE_TYPE','\x20in\x20_schedule.','saveSnapshot','3809817bIxteS','parseChangesetToProtocol','CollaborationUIEventService','origin','_removeRoom','[OfflineState]:\x20received\x20changeset.','submit\x20changeset\x20error!','[CollaborationEntity]','floor','emitEvent','_userManagerService','/allowed','uploadFileServerUrl','@univerjs-pro/collaboration-client','_retryCount','values','13682096qKegTT','ThresholdInterceptorFactory','setShowComponents','removeMember','getAllMembers','focused$','newCsEvent','getTypeOfUnitAdded$','onRemoteRej','SUBMIT_CHANGESET','SNAPSHOT_URL_KEY','_exhaustRemoteChangesetQueue','replace','MemberService','_init','_injector','objectType','UniverSheets','data','HELLO','ConflictState','_clearRetryConnectingTimer','univer-pro.collaboration-client.single-active-unit-service','RichTextEditingMutation','&assign=','_throwTelemetryCollaborationNewChangeset','getRoom','encrypt','amd','POST','UniverNetworkPlugin','set','[CollaborationSession]','CollaborationStatus','_unlockTransition','failed\x20to\x20apply\x20missed\x20changesets!','DataLoaderService','OTHER_CLIENTS_EDITING','/universer-api/authz','generateRandomId','_entities','_executeRemoteChangeset','fetch_missing','pipe','\x0aCurrent:\x20','_sendHeartbeatTimer','session.room-cnt-exceeds','49441650aimCfl','FAIL','_state','_revisionService','objects','UniverCollaborationClientPlugin','_acknowledgeAwaiting','decrypt','file','length','putCollaborators','_onOffline','buffer','resourceIDs','SnapshotServerOverHTTPService','_onRemoteRetry','packageName','LOCAL_CACHE_INTERVAL_KEY','getImage','_clearLocalCache','min','HEARTBEAT','disposeWithMe','LocaleService','rev','_telemetryInfo','_incrementRevisionNumber','@univerjs-pro/collaboration','unknown','csRejEvent','includes','reqId','call','m2Prime','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','OTHER_CLIENT_EDITING','/collaborator','members$','CmdRspCode','SHOULD_CLOSE_CONN','MentionType','MentionIoHttpService','_sessionStatus$','_instanceService','type','CLOSE_ROOM','name','/rev/','telemetry\x20info\x20is\x20not\x20initialized','listRoles','_state$','_updateLocalCache','_changesetSessionId','getCfgEnableObjInherit','DEFAULT_FILE_NAME','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','AwaitingWithPendingState','byteLength','csAckEvent','EmptyMutationInfo','post','concatMap','UniverTelemetry','onLocalMutation','SheetTransformSelectionsService','indexOf','startsWith','getOwnPropertyDescriptor','_toggleOffline','_clearCollaborationTimeoutTimer','collaMsg','AWAITING','_onRemoteRejected','readyForCollab','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','Optional','hostname','body','toStringTag','MSG_FOR_ERROR','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','snapshotServerUrl','asObservable','_createInitialState','_stopTelemetryCollaborationNewChangeset','src','x-univer-host','updatePermissionObjEvent','copyFileMeta','[OfflineState]:\x20received\x20acknowledgement.','editing\x20status\x20changed\x20to','_members','DEFAULT_COLLAB_WEB_SOCKET_URL','ILogService','transformStack\x20failed!','invalid\x20output,\x20must\x20be\x20aligned','UUID','_getSendChangesetTimeout','@univerjs/network','_queuedRemoteChangesets','CONFLICT','ERROR_EXCEED_SIZE','change$','params','_unitID','getMemberID','collaborators','JSONX','_startTelemetryCollaborationNewChangeset','_retryConnectingTimer','charCodeAt','status$','aes/pkcs7:\x20wrong\x20padding','actions','objectActions','tagLength','LEAVE','\x0aAfter:\x20','encode','_onUserLeave','_changesetReqId','_change$','29409hiIbKc','114HKqyAW','_transformSelections','getDeserializedSheetBlock','HEARTBEAT_TIMEOUT','HTTPService','univer-pro.collaboration-client-socket-service','_substituteUndoStack','JOIN_ROOM_PERMISSION_DENIED','type=','getTime','CollaborationEvent','CHANGESET_REJ','operators','_snapshotService','IDLE','Injector','unit-cache-','setCurrentUser','_eventService','?url=','_imageSourceCache','SyncedState','MUTATION','UniverDocs','_roomMembers','_getSignURL','reconnect','_snapshotServerService','_logService','fetchMiss','transformUndoRedo','UPDATE_CURSOR','override','_initCloseConn','_commandService','ONLINE','close$','Uint8Array','some','_config','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_getCurrentRevision','0.25.0','unitID','getCurrentUser','{fileID}','LIVESHARE_REQUEST_HOST','GLOBAL_ROOMS_CNT_EXCEEDS','_clearRedo','onSyncEditingCollabCursor','USERS_LEAVE','Quantity','signUrlServerUrl','routeKey','UnitStatus','HEARTBEAT_TIMEOUT_KEY','getGlobalObject','getSnapshotAPIPath','_singleActiveUnitService','_localCacheService','DisposableCollection','subject','_replayCachedMutations','ITransformService','Workbook','_waitCount','refreshPermission','INGEST','_redoStacks','UniverCore','_sendHeartbeat','_clearHeartbeatTimer','_HTTPService','collaboratorID','getCurrentRevOfUnit','_shouldReportTelemetry','_disableEditing','_transitionLocked','?size=','_listenToNetworkCondition','snapshot','_telemetryService','/universer-api/user/session-ticket','getInterceptPoints','filter','_tryEnsureSocket','RxDisposable','compose','[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.','ISocketService','_updateStatus','symbol','isPermissionRej','_syncEditingCollabCursor','[FetchMissState]','awaiting','state','[CollaborationSessionService]:\x20socket\x20error','fetching\x20missing\x20changesets\x20from\x20','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','workbook','/universer-api/oidc/authpage','missingChangesets','getSheetId','loadSheet','SnapshotService','@univerjs/drawing','conflict','COMPRESS_MUTATION_APPLY','resolve','resend','createSocket','withCredentials','_initRequestHeader','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','updateSnapshot','dispose$','toDisposable','ILocalCacheService','_memberService','IContextService','_handler','LIVESHARE_OPERATION','_httpService','setWaitCount','function','UniverProLicense','number','permissionRejEvent','HEARTBEAT_INTERVAL_KEY','/universer-api/file/{fileID}/sign-url','addImageSourceCache','updateOfflineData','touchDependencies','code','onlyLocal','RETRY_CONNECTING_MAX_COUNT','CommentService','_schedule','Wrong\x20sbox\x20length','LocalUndoRedoService','resolveWithBasePath','_sendingTimer','enableSingleActiveInstanceLock','subarray','close','onTransformRemoteChangesetByIMECache','[UniverCollaborationClientPlugin]','FetchingMissState','@univerjs-pro/license','JOIN_ROOM_FAILED','OPTIONAL','collaboration-client.local-cache-service','sessionStatus$','_roomCreated$','_onLocalMutation','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','_compressMutationService','setConfig','@univerjs/core','offline','version','CollaborationSession','map','_unitInfo$','FileId','_sheetTransformSelectionsService','_status$','_substituteRedoStack','onCommentUpdate','_initMergeInterceptor','addHandlerCallback','send','[OfflineState]:\x20received\x20rejection.','_tryReconnect','getCurrentSelections','init','isArray','transformMutationsWithChangeset','status','_commentService','INetworkConditionService','appendMutation','SYNCED','initWorkbookPermissionChange','changesets','_scheduleCompleteTimestamp','_collabSessionService','getUnitType','toggleOnline','onRemoteRetry','loginUrlKey','onMissedChangesetFetched','getTypeOfUnitDisposed$','FETCH_MISS','HTTPRequest','Tools','authzUrl','merge','updateMember','IAuthzIoService','serializeCombRequest','_clearScheduledTask','_transformRemoteChangesetByStateCache','find','error$','UNISCRIPT_RUN','_decreaseWaiting','IMentionIOService','capture','sort','_onMessage','editingUnit','IPermissionService','reduce','_onCombEvent','JOINING','splice','CollaborationSocketService','_transformRemoteChangesetByIMECache','_permissionService','/-/object/-/batch_allowed','_checkMissing','[SyncedState]:\x20received\x20rejection.','catch','IUniverInstanceService','retryConnectingInterval','IImageIoService','LIVESHARE_NEW_HOST','list','pending','create','clear','stopTime','isSafeInteger','rxjs/operators','_clearUndo','UPDATE_PERMISSION_OBJ','_pendingMutations','unitInfo$','_onRemoteACK','SessionStatus','getConfig','4zsiIcI','reject','assign','now','uniscriptRunEvent','mapDocumentTypeToUniverInstanceType','rxjs','deleteCollaborator','RECV','mutations','ws://127.0.0.1:8000/universer-api/comb/connect','collabSubmitChangesetUrl','synced','Error\x20on\x20receiving\x20event','error','_socket','onTransformRemoteChangesetByStateCache','unit','FETCH_MISSING','getWorkbookSelections','UNIVER_COLLABORATION_CLIENT_PLUGIN','url','liveShareOperation','_socket$','takeUntil','_sender','_transformStateCache','get','2709835GBNhad','eventID','_createInitialStateImpl','547384WLpcHF','dispose','NEW_CHANGESETS','ImageUploadStatusType','_candidateSocket','_startCollaboration','_acknowledgeAwaitingIfReady','incrementRevOfUnit','_toggleOnline','joinRsp','connection\x20error','loadOfflineData','_socketService','287889onbYXS','_replaceFileID','Disposable','event$','_collaborationPaused','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','@univerjs/docs','onMissingChangesets','_awaitingChangeset','/universer-api/comb','isTransformMutationsWithChangesetFailure','sheets','getUnitId','not_collab','firstValueFrom','_isPermissionRej','varSizeNonce','key','_transformService','/unit/','_joinRoom','_collaborationTimeoutTimer','@univerjs/protocol','unitId','avatar','localeService','UniverNetwork','_resendTimer','has','SUBMIT_CHANGESET_TIMEOUT','string','target','UniverInstanceType','@univerjs/telemetry','session','subUnitId','next','entries','_onConnectionOpen','_socketMessageSubscription','href','subscribe','exports','toggleOffline','[CollaborationSessionService]','_localeService','_updateState','ErrorCode','objectID','c1Prime','getCollabEntity$','onRemoteChangeset','createInstance','_univerInstanceService','DRAWING_IMAGE_ALLOW_IMAGE_LIST','cipher\x20output\x20not\x20supported','onStarting','shouldCloseConn','unsubscribe','requireSession','[PendingState]:\x20received\x20acknowledgement.','sendChangesetTimeout','infoRsp','socket\x20close','_onUserJoin','Inject','AWAITING_WITH_PENDING','updatePermissionPoint','uuidv4','forEach','_onConflict','getMember','SetSelectionsOperation','UniverDrawing','crypto.getRandomValues\x20must\x20be\x20defined','_onRemoteChangeset','delete','USERS_ENTER','ERROR_IMAGE','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','append','constructor','b64DecodeUnicode','RevisionService','ITelemetryService','_doCreateSocket','_collaborationUIEventService','stringify','parseProtocolChangeset','createIdentifier','getActiveSheet','_handlerCallback','registerHTTPInterceptor','_emitMembers','memberID','onSendChangeset','push','\x20-\x20','cmd','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_socketReady','session.room-full','Subject','__Key__','getSheetBlock','_onFetchMissResult','SOCKET_FAILED','_applyRemoteChangeset','awaitingChangeset','[CollaborationState]:\x20apply\x20error!','Module','_getAPIPrefix','socket\x20open.','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','open$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','textRanges','\x20of\x20length\x20','_isEchoedAwaitingChangeset','_createSocket','Rectangle','ICollaborationSocketService','UniverProtocol','positive\x20integer\x20expected,\x20got\x20','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createHandler','ImageSourceType','output','slice','People','fetchThroughInterceptors','_submitChangeset','collaboration-client.config','liveShareNewHost','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','baseRev','csShouldRetryEvent','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','&to=','NO_OTHER_CLIENTS_EDITING','BYTES_PER_ELEMENT','getResourcesRequest','CompressMutationService','CollaborationImageIoService','SOCKET_FAILED_RETRY','allowed','object','saveSheetBlock','awaiting_with_pending','UNIVER_SHEET','delay','PENDING','take','commentUpdateEvent','HEARTBEAT_INTERVAL','UniverCollaborationPlugin','defineProperty','CHANGESET_SHOULD_RETRY','DocCollaborationEntity','getValue','number\x20expected,\x20got\x20','DEFAULT_WS_SESSION_TICKET_URL','requestParams','onMutationExecutedForCollab','_initDependencies','listCollaborators','/universer-api/uniscript','/object/','setCfgEnableObjInherit','socket$','_transformIMECache','AAD','ISnapshotServerService','[DataLoaderService]','_onConnectionFailed','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','userID','IUndoRedoService','interceptor','getImageSourceCache','size','_cfgEnableObjInherit','SheetPermissionInitController','commentUpdate$','_resendTimeout','BASE64','leaveEvent','DependentOn','state$','BehaviorSubject','onTransformSelections','_networkConditionService','roles','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','findIndex','_onRecvEvent','LIVESHARE_FETCH_OPERATIONS','onRemoteAck','UNIVER_DOC','/fetchmissing?from=','range','_waitForHeartbeatResponse','CollaborationEntity','sequenceExecute','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_commentUpdate$','nonceLength','PERMISSION_REJ','_transformUndoredo','_getLoginPath','ICommandService','deserializeToCombResponse','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_undoRedoService','revision','isView','WorkbookEditablePermission','headers','session.room-not-exists','startTime','LOCAL_CACHE_INTERVAL','debug','_members$','JOIN','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getRandomValues','roomInfos','CollaborationUIEventId','transformChangesets','[PendingState]:\x20unhandled\x20univer\x20type:\x20','univer-pro.collaboration-client.network-condition.service','isTransformChangesetsSuccess','__splitChunk__','unitId\x20is\x20not\x20found','pluginName','confirm','_acknowledgedAwaitingRevision','result','complete','COMPRESS_MUTATION_SEND','nonce','decorate','/-/object/list','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fetchMissingChangesets','_remoteChangesetQueue','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-permission-denied','_lockTransition','_getDownloadEndpointURL','_getUploadFileURL','sid','/new_changes'];_0x4379=function(){return _0x115756;};return _0x4379();}
3
-
4
- // @univerjs-pro/collaboration-client/facade
5
- function _0x4925(_0x5acd61,_0x1e2b3a){_0x5acd61=_0x5acd61-0x9d;const _0x443bd3=_0x443b();let _0x4925d6=_0x443bd3[_0x5acd61];return _0x4925d6;}(function(_0x80c52b,_0x389e86){const _0x82adf2=_0x4925,_0x53be11=_0x80c52b();while(!![]){try{const _0x76d20e=-parseInt(_0x82adf2(0xbd))/0x1+-parseInt(_0x82adf2(0xb6))/0x2*(parseInt(_0x82adf2(0xe0))/0x3)+parseInt(_0x82adf2(0xb1))/0x4+-parseInt(_0x82adf2(0xb7))/0x5+parseInt(_0x82adf2(0xae))/0x6+parseInt(_0x82adf2(0xdf))/0x7+parseInt(_0x82adf2(0xe1))/0x8;if(_0x76d20e===_0x389e86)break;else _0x53be11['push'](_0x53be11['shift']());}catch(_0xddf65a){_0x53be11['push'](_0x53be11['shift']());}}}(_0x443b,0x790bb),function(_0x57a82e,_0x576a42){const _0x2cd0d4=_0x4925;typeof exports==_0x2cd0d4(0xe3)&&typeof module<'u'?_0x576a42(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x2cd0d4(0xbc)&&define[_0x2cd0d4(0xdb)]?define(['exports',_0x2cd0d4(0xdd),_0x2cd0d4(0xa0),'@univerjs/core',_0x2cd0d4(0xa8),_0x2cd0d4(0xd1)],_0x576a42):(_0x57a82e=typeof globalThis<'u'?globalThis:_0x57a82e||self,_0x576a42(_0x57a82e['UniverProCollaborationClientFacade']={},_0x57a82e[_0x2cd0d4(0xc9)],_0x57a82e['UniverCoreFacade'],_0x57a82e[_0x2cd0d4(0xd3)],_0x57a82e[_0x2cd0d4(0xa6)],_0x57a82e[_0x2cd0d4(0xd1)]));}(this,function(_0x202d24,_0x34805c,_0x2c3d4f,_0x1358af,_0x56a7bf,_0x247898){const _0x49b58d=_0x4925;Object[_0x49b58d(0xa9)](_0x202d24,Symbol[_0x49b58d(0xc6)],{'value':_0x49b58d(0x9f)});var _0x1a76ae=class extends _0x2c3d4f[_0x49b58d(0xd9)]{get[_0x49b58d(0xbb)](){return _0x34805c['CollaborationStatus'];}};_0x2c3d4f[_0x49b58d(0xd9)]['extend'](_0x1a76ae);var _0x259589=class extends _0x2c3d4f[_0x49b58d(0xc4)]{get[_0x49b58d(0xe6)](){return'CollaborationStatusChanged';}};_0x2c3d4f['FEventName'][_0x49b58d(0xda)](_0x259589);function _0x555c22(_0x2964a2,_0x450ec0){return function(_0x29d45c,_0x12e0b8){_0x450ec0(_0x29d45c,_0x12e0b8,_0x2964a2);};}function _0x39a80c(_0x57b346,_0x73f338,_0x30254e,_0x21f463){const _0x50b42b=_0x49b58d;var _0x4a1b69=arguments['length'],_0x24ca06=_0x4a1b69<0x3?_0x73f338:_0x21f463===null?_0x21f463=Object[_0x50b42b(0xa2)](_0x73f338,_0x30254e):_0x21f463,_0x38e8c3;if(typeof Reflect==_0x50b42b(0xe3)&&typeof Reflect[_0x50b42b(0xba)]==_0x50b42b(0xbc))_0x24ca06=Reflect['decorate'](_0x57b346,_0x73f338,_0x30254e,_0x21f463);else{for(var _0x5e85c0=_0x57b346[_0x50b42b(0xd7)]-0x1;_0x5e85c0>=0x0;_0x5e85c0--)(_0x38e8c3=_0x57b346[_0x5e85c0])&&(_0x24ca06=(_0x4a1b69<0x3?_0x38e8c3(_0x24ca06):_0x4a1b69>0x3?_0x38e8c3(_0x73f338,_0x30254e,_0x24ca06):_0x38e8c3(_0x73f338,_0x30254e))||_0x24ca06);}return _0x4a1b69>0x3&&_0x24ca06&&Object[_0x50b42b(0xa9)](_0x73f338,_0x30254e,_0x24ca06),_0x24ca06;}let _0x5e83a5=class extends _0x2c3d4f['FBase']{constructor(_0x91aad2,_0x161336,_0x105283,_0x2b5c56,_0x516e5e){const _0x469922=_0x49b58d;super(),this[_0x469922(0xca)]=_0x91aad2,this[_0x469922(0x9e)]=_0x161336,this[_0x469922(0xa1)]=_0x105283,this[_0x469922(0xd8)]=_0x2b5c56,this['_collaborationController']=_0x516e5e;}async[_0x49b58d(0xb5)](){return this['loadActiveSheetAsync']();}async[_0x49b58d(0xb2)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x4d0402){const _0x46b1d1=_0x49b58d;return this[_0x46b1d1(0xa5)](_0x4d0402);}async[_0x49b58d(0xa5)](_0x3dc10f,_0x5cd411){const _0x320ebd=_0x49b58d;return await this[_0x320ebd(0xd8)]['loadSheet'](_0x3dc10f,0x0,_0x5cd411)?(await this[_0x320ebd(0xa7)]['readyForCollab'](_0x3dc10f),this[_0x320ebd(0xca)][_0x320ebd(0xab)](_0x3dc10f)):null;}[_0x49b58d(0xc2)](_0x54dca0,_0x308a9b){const _0x3fa0d7=_0x49b58d;return(0x0,_0x1358af[_0x3fa0d7(0xb3)])(this[_0x3fa0d7(0x9e)]['get'](_0x34805c[_0x3fa0d7(0xbf)])[_0x3fa0d7(0xd6)](_0x54dca0)[_0x3fa0d7(0xa3)]((0x0,_0x247898[_0x3fa0d7(0xa4)])(_0x44da36=>_0x44da36[_0x3fa0d7(0xb4)]))[_0x3fa0d7(0xc1)](_0xd6d70f=>_0x308a9b(Array[_0x3fa0d7(0xaf)](_0xd6d70f['values']()))));}[_0x49b58d(0xe5)](_0x9bf2c5){const _0x215470=_0x49b58d;var _0x16d234;let _0x28c252;if(_0x9bf2c5)_0x28c252=_0x9bf2c5;else{let _0x730a5b=this[_0x215470(0xa1)]['getFocusedUnit']();_0x28c252=_0x730a5b==null?void 0x0:_0x730a5b['getUnitId']();}if(!_0x28c252)return _0x34805c['CollaborationStatus'][_0x215470(0xc0)];let _0x35a83e=this[_0x215470(0xa7)][_0x215470(0xc5)](_0x28c252);return(_0x16d234=_0x35a83e==null?void 0x0:_0x35a83e[_0x215470(0xcc)][_0x215470(0xcd)])==null?_0x34805c['CollaborationStatus'][_0x215470(0xc0)]:_0x16d234;}};_0x5e83a5=_0x39a80c([_0x555c22(0x1,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x1358af[_0x49b58d(0xd5)])),_0x555c22(0x2,_0x1358af[_0x49b58d(0xd0)]),_0x555c22(0x3,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x56a7bf[_0x49b58d(0xb9)])),_0x555c22(0x4,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x34805c[_0x49b58d(0xdc)]))],_0x5e83a5);var _0x3b2b18=class extends _0x2c3d4f[_0x49b58d(0x9d)]{['_initialize'](_0x5ac019){const _0x1b733d=_0x49b58d;let _0x8f7e9e=_0x5ac019['get'](_0x34805c[_0x1b733d(0xdc)]);this[_0x1b733d(0xc8)](this[_0x1b733d(0xad)](this[_0x1b733d(0xbe)][_0x1b733d(0xe6)],()=>{const _0x4d1583=_0x1b733d;let _0x4d3e1c=new _0x1358af[(_0x4d1583(0xcf))](),_0x568d06=_0x8f7e9e[_0x4d1583(0xc7)][_0x4d1583(0xc1)](_0x1934d0=>{const _0x44e0eb=_0x4d1583;let _0x4ec2f1=_0x1934d0[_0x44e0eb(0xc3)][_0x44e0eb(0xc1)](_0x18aefd=>{const _0x3a34cd=_0x44e0eb;let _0x401838={'unitId':_0x1934d0['unitID'],'status':_0x18aefd};this[_0x3a34cd(0xb8)](this['Event'][_0x3a34cd(0xe6)],_0x401838);});_0x4d3e1c[_0x44e0eb(0xcb)]((0x0,_0x1358af[_0x44e0eb(0xb3)])(_0x4ec2f1));});return _0x4d3e1c[_0x4d1583(0xcb)]((0x0,_0x1358af[_0x4d1583(0xb3)])(_0x568d06)),_0x4d3e1c;}));}[_0x49b58d(0xd4)](){const _0x4a54cc=_0x49b58d;return this[_0x4a54cc(0x9e)][_0x4a54cc(0xe2)](_0x5e83a5,{'getUniverSheet':_0x26337d=>this[_0x4a54cc(0xab)](_0x26337d)});}[_0x49b58d(0xac)](_0x3875e7,_0x1e1ad0,_0x50650b){const _0xa866c8=_0x49b58d;return this[_0xa866c8(0x9e)][_0xa866c8(0xe4)](_0x34805c[_0xa866c8(0xb0)])[_0xa866c8(0xde)](_0x3875e7,_0x1e1ad0,_0x50650b);}['loadServerUnitOfRevision'](_0x569cf7,_0x329058,_0x1ced38){const _0x102d0d=_0x49b58d;return this['_injector']['get'](_0x34805c[_0x102d0d(0xb0)])[_0x102d0d(0xce)](_0x569cf7,_0x329058,_0x1ced38);}};_0x2c3d4f[_0x49b58d(0x9d)][_0x49b58d(0xda)](_0x3b2b18),Object[_0x49b58d(0xa9)](_0x202d24,_0x49b58d(0xd2),{'enumerable':!0x0,'get':function(){return _0x5e83a5;}});}));function _0x443b(){const _0x292008=['@univerjs-pro/collaboration','defineProperty','Inject','getUniverSheet','loadServerUnit','registerEventHandler','5870082PTZusV','from','DataLoaderService','426776rwWHRd','loadActiveSheetAsync','toDisposable','members$','loadActiveSheet','6CAJNMK','1478870ixqBgY','fireEvent','SnapshotService','decorate','CollaborationStatus','function','382823scwCSy','Event','MemberService','NOT_COLLAB','subscribe','subscribeCollaborators','status$','FEventName','getCollabEntity','toStringTag','entityInit$','disposeWithMe','UniverProCollaborationClient','_handler','add','state','status','loadUnitOfRevision','DisposableCollection','IUniverInstanceService','rxjs','FCollaboration','UniverCore','getCollaboration','Injector','waitForRoom$','length','_snapshotService','FEnum','extend','amd','CollaborationController','@univerjs-pro/collaboration-client','loadUnit','6175491WOQbhM','913929AGfrEf','968600UQRioK','createInstance','object','get','getCollaborationStatus','CollaborationStatusChanged','FUniver','_injector','Module','@univerjs/core/facade','_univerInstanceService','getOwnPropertyDescriptor','pipe','switchMap','loadSheetAsync','UniverProCollaboration','_collaborationController'];_0x443b=function(){return _0x292008;};return _0x443b();}
6
-
7
- // @univerjs-pro/collaboration-client-ui/index
8
- function _0x3284(_0x1d7484,_0x591fe3){_0x1d7484=_0x1d7484-0x15d;const _0x159e08=_0x159e();let _0x328493=_0x159e08[_0x1d7484];return _0x328493;}function _0x159e(){const _0x4a8e3e=['runOnServer','_refreshCollabCursors','clearTimeout','_draw','_registerRenderDependencies','75148ZxrXbP','React','registerBeforeClose','operators','DocSelectionManagerService','next','collab-text-anchor-','serializeRangeWithSheet','bottom','_blinkTimer','distinctUntilChanged','_localeService','/run/','univerjs-icon\x20univerjs-icon-','_scene','startRow','toString','colorChannel1','InsertColCommandId','map','_initUnhandledRejectionListener','amd','Enter','VIEW_MAIN','collaboration-client-ui.collabStatus.offline','_univerInstanceService','ISnapshotServerService','_drawAnchor','handleMoveRange','getMemberID','CommandType','SheetCollabCursorShape','isFormulaString','loading-multi-icon','collaboration-client-ui.permission.content','_disabled','SheetSkeletonManagerService','UniverCollaborationClientPlugin','trim','USERS_LEAVE','MessageType','_onCursorDelete','parseInt','_beforeCloseService','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','collaboration-client-ui.session.will-retry','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','Success','_removeCollabCursors','_initDependencies','getCellPositionByOffset','_setupBeforeClosingHandler','slice','roomMembers$','round','_showText','CONFLICT','join','clipPath','collaboration-client-ui.collabStatus.conflict','href','_commandService','SYNCED','UniverProCollaborationClient','_clearOtherTimers','_context','FETCH_MISS','_transformService','_lastPointer','isFormulaId','now','_backgroundColor','_logService','collaboration-client-ui.config','getOwnPropertyDescriptor','Injector','assign','collabCursorState$','univer-text-red-500','getCollabCursors$','_startDocCollabCursor','OFFLINE','body','subUnitId','_name','EffectRefRangId','onTransformChange$','includes','Workbook','isActive','_renderManagerService','SetDocZoomRatioOperation','_range','24ylbOrq','UnitStatus','maxFormulaLimit','key','_collabSessionService','decorate','_uiPartsService','beginPath','UniverCollaborationClientUIPlugin','_docTransformStateCacheService','collaboration-client-ui.session.collaboration-timeout','cursorInfo','setActiveRange','mask','collaboration-client-ui.collaboration.single-unit.warning','event$','generateRandomId','getTypeOfUnitAdded$','ThemeService','getCurrentUnitOfType','defineProperty','getStateCache','_syncEditingCollabCursorService','attrs','getOffsetConfig','undoState','status$','_checkCalculationAvailable','unitID','Tools','getActiveSheet','_colorIndex','xlink:href','collaboration-client-ui.collabClient.tooltip.reconnect','svg','collab-text-range-','handleInsertRow','transformRemoteChangeset','_hideTimer','evenodd','TEXT_RANGE_LAYER_INDEX','univer-inline-flex\x20univer-items-center\x20univer-justify-center','univer-border-none\x20univer-bg-transparent','_pointerMoveDisposable','_themeService','UniverSheetsUi','assignAColorForMemberID','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DocIMEInputManagerService','constructor','univer-text-gray-400','backgroundColor','url(#$1','_unitStatus','8861340fiePuv','transformIMECache','mutations','transformSelections','subscribeEvent','12oARdqh','i18nKey','@univerjs/protocol','RemoveColCommandId','514467zcKHUM','ISocketService','_currentUsage','useRef','rxjs/operators','_updateSubUnitFromURLParams','activeSheet$','get','unit','registerComponent','_pollingInterval','_toggleOffline','CanceledError','setParam','univer-text-orange-500','m2Prime','RemoteUniscriptService','lineTo','@univerjs/sheets-ui','RegularPolygon','length','_saveCache','_color','clsx','transformStateCache','onCommandExecuted','SetSelectionsOperation','handleInsertCol','\x20-\x20','_imageIoService','hovered','currentSkeleton$','_maxFormulaLimit','_colorAssignService','_highlightSecond','_entities','getRenderById','sheetId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','createElement','RxDisposable','_transformPreviousActiveRange','RECT','IConfigService','_revisionService','updateOfflineData','IImageIoService','_monkeyPatchLogService','params','override','idSuffix','debounce','reconnect','_lastResponseTimestamp','BehaviorSubject','max','startsWith','fill','collaboration-client-ui.collabStatus.notCollab','@univerjs/sheets','_registerDependencies','_handleHeartbeatEvent','catch','focused$','collaboration-client-ui.session.connection-failed','_getSaveTimeout','saveOfflineData','_init','createInstance','error','addClipboardHook','InsertRangeMoveRightCommandId','getRelativeToViewportCoord','_collaborationUIEventService','getSheetId','CollaborationSocketService','pipe','restore','_hasFormulaInDirtyRanges','setAlpha','getTypeOfUnitDisposed$','Plugin','onPointerMove$','onPointerLeave$','_docSyncEditingCollabCursorService','_localCacheService','toRgbString','_notificationService','OffLineIcon','red.300','toStringTag','_handleHover','rgba(255,\x20255,\x20255,\x200.01)','ErrorCode','onLocalMutation','UniverInstanceType','FromArray','_memberID','_handleEvent','use','WebBrowserSingleActiveUnitService','ACTIVE_UNIT_EVENT_CHANNEL','removeEventListener','InsertRangeMoveDownCommandId','releaseFormulaLimitUrl','_updateLocalCursor','_unitOnClients','getAncestorScale','UniverProtocol','default','RichTextEditingMutation','MUTATION','@univerjs-pro/collaboration-client-ui','all','clearInterval','preventDefault','1em','collaboration-client-ui.collabStatus.fetchMiss','current','flatMap','size','values','doc.mutation.rich-text-editing','BuiltInUIPart','univer-appearance-none','univer-m-0\x20univer-p-0','deserializeRangeWithSheet','totalFormulasToCalculate','debounceTime','url(#on-line-icon_clip0_910_349)','getSheetBySheetId','code','LocaleService','limitInfo','pulse','univer-text-blue-500','_memberService','IRenderManagerService','_initCommandInterceptor','substring','icon','[CollaborationDataLoaderController]','endColumn','off-line-icon_clip0_910_343','fillText','displayName','exports','moveTo','_selfUnitIDs','currentColor','setInterval','[Unhandled\x20Rejection]:\x20','CollaborationController','enableFrontendLog','IRemoteInstanceService','_urlService','_stopBlinking','_textBubble','_online','LOCAL_CACHE_INTERVAL','application/json','requireSession','_releaseCalculationLimit','combineLatest','socket$','_getFormulaLimitStatus','useCallback','ILocalStorageService','delete','...','source','handleIRemoveRow','_uploadLog','translate(.97)','_docTransformIMECacheService','getRangePointData','_assignedColors','_messageService','_heartbeatTimer','disposeUnit','setShapeProps','_cursor','CLOSE_ROOM','version','CollaborationUIEventService','_initStatusListener','_collaborationSessionService','_offsetY','_collabCursorController','CollaborationDataLoaderController','stageInfo','createSocket','Disposable','getLocalCacheKey','#0B9EFB','executeCommand','_status$','executionId','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','8904fGUeON','UniverSheets','_setupSubUnitSync','setUndoRedoMutationParamsCache','findNodePositionByCharIndex','_configService','rgb','getCoordByCell','then','HTTPService','exhaustSavingTask','Unknown\x20user','on-line-icon','_collaborationController','_removeClearOtherTimer','collaboration-client-ui.formula.calculation.unable','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','WebURLService','colno','subscribe','Module','DocSkeletonManagerService','button','DesktopCollaborationStatusDisplayController','status','none','has','UniverDocsUi','UniverIcon','getUnhiddenWorksheets','ranges','_collabCursorState$','[LogService\x20Error]:\x20','UniverCore','unload','color','setOffsetY','Inject','HEADER_MENU','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getConfig','object','_anchorDot','getUnitId','black','yellow.400','newValue','green.600','rxjs','getMember','parse','blue.400','textRanges','_cursors','getMergeData','collaboration-client-ui.permission.title','WebSocketService','selection','_getAnchorBounding','_sheetSkeletonManagerService','span','replace','search','entries','getValue','DependentOn','DocCollaborationEntity','_getSheetObject','_blinkIntervalTimer','find','JOIN_ROOM_FAILED','CollaborationStatus','url(#off-line-icon_clip0_910_343)','roomMembers','getCurrentTypeOfUnit$','_cursorShapes','bind','addEventListener','isTransformMutationsWithChangesetSuccess','DisposableCollection','_startSheetCollabCursor','filter','deepClone','_drawTextRange','_localStorageService','toPrimitive','0.2)','tooltipKey','Error','switchMap','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','_docSkeletonManagerService','makeDirty','SUBMIT_CHANGESET_TIMEOUT','text','ICommandService','unitId','rgba(','hide','function','@univerjs/engine-formula','NodePositionConvertToRectRange','react/jsx-runtime','_initCommandExecutedListener','forwardRef','SOCKET_FAILED','AWAITING_WITH_PENDING','_cachedData','Warning','_cursorInfo$','getUndoRedoMutationParamsCache','_httpService','_taskIds','transformMutation','searchParams','@univerjs/network','_startBlinking','shift','UniverProCollaborationClientUi','_initResize','removeParam','set','Rect','height','getColor','div','replaceDocRanges','merge','/universer-api/frontend/logs','strokeWidth','getUniverSheetInstance','_docStateChangeManagerService','0.25.0','runRefRangeMutations','fromEvent','saveTaskMap','UniverRpc','_createSocketURL','history','_onRefRangeChange','IMessageService','_getLighterColor','@univerjs/design',',\x200.2)','_config','throttleTime','selections','InsertRowCommandId','children','_scheduleClearOtherTimer','_doCreateSocket','disposeWithMe','_updateCollabCursors','useObservable','@univerjs-pro/collaboration-client','whenReady','push','transformByState','_id','defs','_setFormulaLimitStatus','isTransformMutationFailure','getFocusedUnit','_handleJoinEvent','onPointerEnter$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','univer-h-8\x20univer-w-8\x20univer-rounded-lg','_session','transformMutationsWithChangeset','packageName','UniverDesign','ILogService','unhandledrejection','RefRangeService','getSkeleton','_transformHistoryAndStateStack','true','NOT_COLLAB','sessionStatus$','OTHER_CLIENTS_EDITING','DEFAULT_WS_SESSION_TICKET_URL','startColumn','unshift','UPDATE_CURSOR','2CNMmTX','static','filename','labelPosition','onMouseMove','univer-flex\x20univer-items-center\x20univer-justify-center','row','IUniverInstanceService','data','RevisionService','string','_getMergeRange','resize','measureText','_scheduleHeartbeat','collaboration-client-ui.collabStatus.syncing','_labelPosition','213038UJxsWJ','engine','_drawRectRange','MoveRangeCommandId','_roomMembers$','getUnit','useDependency','108APRupx','Optional','Vector2','complete','location','DOC_RANGE_TYPE','CollaborationSessionService','asObservable','tag','on-line-icon_clip0_910_349','NO_OTHER_CLIENTS_EDITING','with','iterator','editingUnit','collab-rect-range-','endRow','UNIVER_DOC','_initUserListener','stage','SUCCESS','_injector','rgba','getViewport','ONLINE','DocStateChangeManagerService','DeleteRangeMoveUpCommandId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_updateURLWithCurrentState','/universer-api/license/formula/limit/status','save','highlightSecond','_handleLeaveEvent','post','CollaborationUIEventId','registerRenderModule','indicator','split','functionsExecutedState','subunit','_startCalculationLimit','collaboration-client-ui.formula.calculation.waiting','_entityInit$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initWindowErrorListener','mergeOverrideWithDependencies','entityInit$','UniverProCollaboration','ColorKit','_checkAndWaitForCalculationPermission','setItem','shareReplay','send','collaboration-client-ui.collabStatus.synced','collaboration-client-ui.collaboration.closeRoom','0\x200\x2016\x2016','FormulaExecutedStateType','fillStyle','random','SessionStatus','actions','UNIVER_SHEET','_refRangeService','getColorFromTheme','getFormulaLimitStatusUrl','handleInsertRangeMoveDown','getCurrentSkeleton','handleDeleteRangeMoveLeft','addObjects','contains','arc','symbol','jsx','UniverNetwork','@univerjs/ui','ITransformService','_transformUndoRedoStack','init','defIds','0\x200\x2017\x2016','forEach','IURLService','handleInsertRangeMoveRight','_onCursorUpdate','startFormulaLimitUrl','add','memberID','from','IUIPartsService','getItem','setTimeout','isInternalEditorID','stack','message','jiqing.500','popstate','createIdentifier','width','http://www.w3.org/2000/svg','_scheduleSaving','TEXT','clickable','getSheetObject','_applyCommand','_ensureSubject','getParam','UniverDocs','_send','_toggleOnline','replaceState','IBeforeCloseService','pushState','unsubscribe','highlight','_initEntityListener','20364267rrClKA','mapTo','offsetY','takeUntil','addObject','_dataLoaderService','_hovered','top','_saveTaskMap','DataLoaderService','@univerjs/core','ILocalCacheService','stringify','polite','MemberService','FormulaExecuteStageType','call','_getSessionTicket','_docTransformSelectionsService','/universer-api/license/formula/limit/done','name','_docClipboardService','2812295UMitmv','triggerDblclick','getActiveRange','cursorInfo$','collaboration-client-ui.collaboration.offline-data-not-saved','[Window\x20Error]:\x20','Shape','isArray','UniverEngineRender','START_CALCULATION','disableLocalCache','_initEvent','m1Prime','_eventUnsubscribe','_initStatusComponent','handleDeleteRangeMoveUp','\x20at\x20','_highlight','type','COLORS','redoState','AWAITING','showText','dirtyRanges','dispose','show','syncEditingCollabCursor','Failed','DeleteRangeMoveLeftCommandId','runId','toDisposable','path','_shapes','getCurrentSelections','@univerjs/docs','Tooltip','transform','dispose$','_isBlinkVisible','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','registerRefRange','M0\x200H16V16H0z','UniverUi','CollaborationEvent','drawWith','spin','_hover','prototype','handleIRemoveCol','SetWorksheetActivateCommand','_anchor'];_0x159e=function(){return _0x4a8e3e;};return _0x159e();}(function(_0x1eb146,_0x1e9110){const _0x2c58ba=_0x3284,_0x909702=_0x1eb146();while(!![]){try{const _0xd2d71b=-parseInt(_0x2c58ba(0x3f1))/0x1*(-parseInt(_0x2c58ba(0x319))/0x2)+parseInt(_0x2c58ba(0x261))/0x3*(parseInt(_0x2c58ba(0x331))/0x4)+-parseInt(_0x2c58ba(0x3b9))/0x5+parseInt(_0x2c58ba(0x196))/0x6*(parseInt(_0x2c58ba(0x32a))/0x7)+-parseInt(_0x2c58ba(0x44e))/0x8*(parseInt(_0x2c58ba(0x19a))/0x9)+-parseInt(_0x2c58ba(0x191))/0xa+parseInt(_0x2c58ba(0x3a3))/0xb;if(_0xd2d71b===_0x1e9110)break;else _0x909702['push'](_0x909702['shift']());}catch(_0xc918a9){_0x909702['push'](_0x909702['shift']());}}}(_0x159e,0x6d387),function(_0x29ee37,_0x566145){const _0x1f4ca0=_0x3284;typeof exports==_0x1f4ca0(0x28a)&&typeof module<'u'?_0x566145(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define=='function'&&define[_0x1f4ca0(0x406)]?define([_0x1f4ca0(0x22c),_0x1f4ca0(0x2fb),_0x1f4ca0(0x3ad),_0x1f4ca0(0x37a),_0x1f4ca0(0x291),_0x1f4ca0(0x19e),_0x1f4ca0(0x2ef),'react',_0x1f4ca0(0x2c7),'@univerjs/rpc',_0x1f4ca0(0x1d5),'@univerjs/engine-render',_0x1f4ca0(0x2d4),'@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x1f4ca0(0x3db),_0x1f4ca0(0x2c5),_0x1f4ca0(0x1ac),_0x1f4ca0(0x198)],_0x566145):(_0x29ee37=typeof globalThis<'u'?globalThis:_0x29ee37||self,_0x566145(_0x29ee37[_0x1f4ca0(0x2d7)]={},_0x29ee37[_0x1f4ca0(0x430)],_0x29ee37[_0x1f4ca0(0x282)],_0x29ee37[_0x1f4ca0(0x3e3)],_0x29ee37[_0x1f4ca0(0x291)],_0x29ee37[_0x1f4ca0(0x291)][_0x1f4ca0(0x3f4)],_0x29ee37[_0x1f4ca0(0x30b)],_0x29ee37[_0x1f4ca0(0x3f2)],_0x29ee37[_0x1f4ca0(0x3f2)],_0x29ee37[_0x1f4ca0(0x2e9)],_0x29ee37[_0x1f4ca0(0x262)],_0x29ee37[_0x1f4ca0(0x3c1)],_0x29ee37[_0x1f4ca0(0x379)],_0x29ee37[_0x1f4ca0(0x27c)],_0x29ee37['UniverDrawing'],_0x29ee37[_0x1f4ca0(0x35f)],_0x29ee37[_0x1f4ca0(0x39a)],_0x29ee37['UniverEngineFormula'],_0x29ee37[_0x1f4ca0(0x188)],_0x29ee37[_0x1f4ca0(0x206)]));}(this,function(_0x4bb0e6,_0x21dc5a,_0x430976,_0x2f7572,_0x31275f,_0xdec434,_0x276ac3,_0x24d445,_0x542830,_0x5c1877,_0x128162,_0x229561,_0x116517,_0x3733f8,_0x4d4293,_0xf33e7d,_0x15b933,_0x4b3ad6,_0x3430f3,_0x2217f1){const _0x2444bc=_0x3284;Object[_0x2444bc(0x16f)](_0x4bb0e6,Symbol[_0x2444bc(0x1f4)],{'value':_0x2444bc(0x275)});function _0x3a795d({ref:_0x3019d2,..._0xf4e6f1}){const _0x1c3ba4=_0x2444bc;let {icon:_0x51ad49,id:_0x42b26d,className:_0x35913f,extend:_0x211a7e,..._0x356721}=_0xf4e6f1,_0x1bf619=(_0x1c3ba4(0x3fe)+_0x42b26d+'\x20'+(_0x35913f||''))[_0x1c3ba4(0x417)](),_0xb21f31=(0x0,_0x24d445[_0x1c3ba4(0x19d)])('_'+_0x53e43b());return _0x42e811(_0x51ad49,''+_0x42b26d,{'defIds':_0x51ad49[_0x1c3ba4(0x37e)],'idSuffix':_0xb21f31[_0x1c3ba4(0x210)]},{'ref':_0x3019d2,'className':_0x1bf619,..._0x356721},_0x211a7e);}function _0x42e811(_0x502101,_0x353188,_0x9b3316,_0x951980,_0xe51767){const _0x14d9b6=_0x2444bc;return(0x0,_0x24d445[_0x14d9b6(0x1c1)])(_0x502101[_0x14d9b6(0x339)],{'key':_0x353188,..._0x5e52e6(_0x502101,_0x9b3316,_0xe51767),..._0x951980},(_0x3e2fb1(_0x502101,_0x9b3316)[_0x14d9b6(0x2f5)]||[])[_0x14d9b6(0x404)]((_0x4af4a6,_0x118044)=>_0x42e811(_0x4af4a6,_0x353188+'-'+_0x502101[_0x14d9b6(0x339)]+'-'+_0x118044,_0x9b3316,void 0x0,_0xe51767)));}function _0x5e52e6(_0x6d547b,_0x533092,_0x45b14c){const _0x50ea17=_0x2444bc;let _0x17e2e2={..._0x6d547b['attrs']};_0x45b14c!=null&&_0x45b14c['colorChannel1']&&_0x17e2e2[_0x50ea17(0x1d3)]===_0x50ea17(0x402)&&(_0x17e2e2[_0x50ea17(0x1d3)]=_0x45b14c[_0x50ea17(0x402)]),_0x6d547b[_0x50ea17(0x339)]===_0x50ea17(0x168)&&_0x17e2e2['id']&&(_0x17e2e2['id']+=_0x533092[_0x50ea17(0x1cc)]),Object[_0x50ea17(0x2a0)](_0x17e2e2)['forEach'](([_0x37c8b0,_0x51305c])=>{const _0x3b641d=_0x50ea17;_0x37c8b0===_0x3b641d(0x168)&&typeof _0x51305c=='string'&&(_0x17e2e2[_0x37c8b0]=_0x51305c['replace'](/url\(#(.*)\)/,_0x3b641d(0x18f)+_0x533092[_0x3b641d(0x1cc)]+')'));});let {defIds:_0x477542}=_0x533092;return!_0x477542||_0x477542[_0x50ea17(0x1ae)]===0x0?_0x17e2e2:(_0x6d547b[_0x50ea17(0x339)]===_0x50ea17(0x1fd)&&_0x17e2e2[_0x50ea17(0x17b)]&&(_0x17e2e2[_0x50ea17(0x17b)]+=_0x533092['idSuffix']),Object[_0x50ea17(0x2a0)](_0x17e2e2)[_0x50ea17(0x380)](([_0x1a23e6,_0x17d16f])=>{const _0x5ad575=_0x50ea17;typeof _0x17d16f==_0x5ad575(0x323)&&(_0x17e2e2[_0x1a23e6]=_0x17d16f['replace'](/url\(#(.*)\)/,_0x5ad575(0x18f)+_0x533092[_0x5ad575(0x1cc)]+')'));}),_0x17e2e2);}function _0x3e2fb1(_0x35dbb6,_0x5ae093){const _0x4da885=_0x2444bc;var _0x391976;let {defIds:_0x34e471}=_0x5ae093;return!_0x34e471||_0x34e471[_0x4da885(0x1ae)]===0x0?_0x35dbb6:_0x35dbb6[_0x4da885(0x339)]==='defs'&&(_0x391976=_0x35dbb6[_0x4da885(0x2f5)])!=null&&_0x391976[_0x4da885(0x1ae)]?{..._0x35dbb6,'children':_0x35dbb6[_0x4da885(0x2f5)][_0x4da885(0x404)](_0x3b5b3c=>typeof _0x3b5b3c[_0x4da885(0x172)]['id']=='string'&&_0x34e471&&_0x34e471[_0x4da885(0x448)](_0x3b5b3c[_0x4da885(0x172)]['id'])?{..._0x3b5b3c,'attrs':{..._0x3b5b3c['attrs'],'id':_0x3b5b3c['attrs']['id']+_0x5ae093[_0x4da885(0x1cc)]}}:_0x3b5b3c)}:_0x35dbb6;}function _0x53e43b(){const _0x1e3f29=_0x2444bc;return Math[_0x1e3f29(0x36a)]()[_0x1e3f29(0x401)](0x24)[_0x1e3f29(0x225)](0x2,0x8);}_0x3a795d[_0x2444bc(0x22b)]=_0x2444bc(0x27d);let _0x57a765={'tag':_0x2444bc(0x17d),'attrs':{'xmlns':_0x2444bc(0x392),'fill':_0x2444bc(0x27a),'viewBox':_0x2444bc(0x367),'width':_0x2444bc(0x20e),'height':_0x2444bc(0x20e)},'children':[{'tag':'g','attrs':{'clipPath':_0x2444bc(0x2a9)},'children':[{'tag':_0x2444bc(0x3d8),'attrs':{'stroke':_0x2444bc(0x22f),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2444bc(0x427),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2444bc(0x300),'attrs':{},'children':[{'tag':_0x2444bc(0x42b),'attrs':{'id':_0x2444bc(0x229)},'children':[{'tag':_0x2444bc(0x3d8),'attrs':{'fill':'white','d':_0x2444bc(0x3e2)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3b2024=(0x0,_0x24d445[_0x2444bc(0x2c9)])(function(_0x426bdb,_0x5c6cfc){const _0x2414ac=_0x2444bc;return(0x0,_0x24d445[_0x2414ac(0x1c1)])(_0x3a795d,Object[_0x2414ac(0x43d)]({},_0x426bdb,{'id':'off-line-icon','ref':_0x5c6cfc,'icon':_0x57a765}));});_0x3b2024[_0x2444bc(0x22b)]=_0x2444bc(0x1f2);let _0x4c2ef1={'tag':_0x2444bc(0x17d),'attrs':{'xmlns':_0x2444bc(0x392),'fill':_0x2444bc(0x27a),'viewBox':_0x2444bc(0x37f),'width':_0x2444bc(0x20e),'height':_0x2444bc(0x20e)},'children':[{'tag':'g','attrs':{'clipPath':_0x2444bc(0x21b)},'children':[{'tag':_0x2444bc(0x3d8),'attrs':{'stroke':'currentColor','d':_0x2444bc(0x41f),'strokeLinecap':_0x2444bc(0x427),'strokeLinejoin':_0x2444bc(0x427),'strokeWidth':1.2}}]},{'tag':_0x2444bc(0x300),'attrs':{},'children':[{'tag':_0x2444bc(0x42b),'attrs':{'id':_0x2444bc(0x33a)},'children':[{'tag':_0x2444bc(0x3d8),'attrs':{'fill':'white','d':_0x2444bc(0x3e2),'transform':_0x2444bc(0x247)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x2150f0=(0x0,_0x24d445[_0x2444bc(0x2c9)])(function(_0x559f22,_0xc9937a){const _0x45c213=_0x2444bc;return(0x0,_0x24d445[_0x45c213(0x1c1)])(_0x3a795d,Object[_0x45c213(0x43d)]({},_0x559f22,{'id':_0x45c213(0x26d),'ref':_0xc9937a,'icon':_0x4c2ef1}));});_0x2150f0[_0x2444bc(0x22b)]='OnLineIcon';let _0x5a5122={'tag':'svg','attrs':{'xmlns':_0x2444bc(0x392),'fill':_0x2444bc(0x27a),'viewBox':_0x2444bc(0x367),'width':_0x2444bc(0x20e),'height':_0x2444bc(0x20e)},'children':[{'tag':_0x2444bc(0x3d8),'attrs':{'fill':_0x2444bc(0x25c),'d':_0x2444bc(0x2bb),'fillOpacity':0.2,'fillRule':_0x2444bc(0x182),'clipRule':_0x2444bc(0x182)}},{'tag':_0x2444bc(0x3d8),'attrs':{'fill':_0x2444bc(0x25c),'d':_0x2444bc(0x260),'fillRule':_0x2444bc(0x182),'clipRule':'evenodd'}}]},_0x4f2a73=(0x0,_0x24d445[_0x2444bc(0x2c9)])(function(_0x132a57,_0x40100a){const _0x5a0796=_0x2444bc;return(0x0,_0x24d445[_0x5a0796(0x1c1)])(_0x3a795d,Object[_0x5a0796(0x43d)]({},_0x132a57,{'id':_0x5a0796(0x412),'ref':_0x40100a,'icon':_0x5a5122}));});_0x4f2a73[_0x2444bc(0x22b)]='LoadingMultiIcon';function _0x24a6b5(_0x12db70){const _0x1f35b9=_0x2444bc;switch(_0x12db70){case _0x21dc5a['CollaborationStatus'][_0x1f35b9(0x442)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x3b2024,{}),'colorClass':_0x1f35b9(0x43f),'i18nKey':_0x1f35b9(0x409),'tooltipKey':_0x1f35b9(0x17c),'clickable':!0x0,'indicator':_0x1f35b9(0x31a)};case _0x21dc5a[_0x1f35b9(0x2a8)][_0x1f35b9(0x429)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x3b2024,{}),'colorClass':_0x1f35b9(0x1a8),'i18nKey':_0x1f35b9(0x42c),'clickable':!0x1,'indicator':_0x1f35b9(0x31a)};case _0x21dc5a[_0x1f35b9(0x2a8)][_0x1f35b9(0x433)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x4f2a73,{}),'colorClass':_0x1f35b9(0x221),'i18nKey':_0x1f35b9(0x20f),'clickable':!0x1,'indicator':'spin'};case _0x21dc5a[_0x1f35b9(0x2a8)][_0x1f35b9(0x312)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x2150f0,{}),'colorClass':_0x1f35b9(0x18d),'i18nKey':_0x1f35b9(0x1d4),'clickable':!0x1,'indicator':_0x1f35b9(0x31a)};case _0x21dc5a['CollaborationStatus'][_0x1f35b9(0x3ce)]:case _0x21dc5a[_0x1f35b9(0x2a8)][_0x1f35b9(0x2cb)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x4f2a73,{}),'colorClass':_0x1f35b9(0x221),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x1f35b9(0x3e6)};case _0x21dc5a[_0x1f35b9(0x2a8)]['PENDING']:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x4f2a73,{}),'colorClass':_0x1f35b9(0x221),'i18nKey':_0x1f35b9(0x328),'clickable':!0x1,'indicator':_0x1f35b9(0x3e6)};case _0x21dc5a[_0x1f35b9(0x2a8)][_0x1f35b9(0x42f)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x2150f0,{}),'colorClass':'univer-text-green-500','i18nKey':_0x1f35b9(0x365),'clickable':!0x1,'indicator':_0x1f35b9(0x31a)};}}function _0x105682(_0x4da266){const _0x1523e0=_0x2444bc;let {status$:_0x196c58}=_0x4da266,_0x255e61=(0x0,_0x2f7572[_0x1523e0(0x2fa)])(_0x196c58,_0x21dc5a[_0x1523e0(0x2a8)][_0x1523e0(0x312)]),_0x337794=(0x0,_0x2f7572[_0x1523e0(0x330)])(_0x430976[_0x1523e0(0x21e)]),_0x59e88d=(0x0,_0x2f7572[_0x1523e0(0x330)])(_0x21dc5a[_0x1523e0(0x337)]),_0x2c3c79=(0x0,_0x24d445['useMemo'])(()=>_0x24a6b5(_0x255e61),[_0x255e61]),_0x5877bd=_0x255e61!==_0x21dc5a[_0x1523e0(0x2a8)][_0x1523e0(0x442)],_0x59f448=_0x337794['t'](_0x2c3c79[_0x1523e0(0x197)]),_0x3e6c2e=_0x2c3c79['tooltipKey']?_0x337794['t'](_0x2c3c79[_0x1523e0(0x2b8)]):_0x59f448,_0x1421f9=(0x0,_0x24d445[_0x1523e0(0x240)])(()=>{const _0x4620e7=_0x1523e0;_0x5877bd||_0x59e88d[_0x4620e7(0x1ce)]();},[_0x5877bd,_0x59e88d]),_0x3cd1c2=(0x0,_0x24d445[_0x1523e0(0x240)])(_0x236969=>{const _0x1f4a27=_0x1523e0;!_0x5877bd&&(_0x236969['key']===_0x1f4a27(0x407)||_0x236969[_0x1f4a27(0x15e)]==='\x20')&&(_0x236969[_0x1f4a27(0x20d)](),_0x59e88d['reconnect']());},[_0x5877bd,_0x59e88d]),_0x201b7c=(0x0,_0x542830[_0x1523e0(0x378)])('span',{'className':(0x0,_0x276ac3[_0x1523e0(0x1b1)])(_0x1523e0(0x31e),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x2c3c79['colorClass'],{'univer-animate-spin':_0x2c3c79[_0x1523e0(0x354)]===_0x1523e0(0x3e6),'univer-animate-pulse':_0x2c3c79[_0x1523e0(0x354)]===_0x1523e0(0x220)}),'aria-hidden':'true','children':_0x2c3c79[_0x1523e0(0x226)]}),_0x2171c7=(0x0,_0x542830[_0x1523e0(0x378)])(_0x1523e0(0x29d),{'className':(0x0,_0x276ac3[_0x1523e0(0x1b1)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x1523e0(0x307),'univer-transition-all\x20univer-duration-200',_0x1523e0(0x41d),'dark:focus:univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x2c3c79[_0x1523e0(0x395)],'univer-cursor-default':!_0x2c3c79[_0x1523e0(0x395)]}),'children':_0x201b7c});return _0x2c3c79[_0x1523e0(0x395)]?(0x0,_0x542830[_0x1523e0(0x378)])(_0x276ac3[_0x1523e0(0x3dc)],{'title':_0x3e6c2e,'placement':'bottom','children':(0x0,_0x542830[_0x1523e0(0x378)])(_0x1523e0(0x277),{'type':'button','onClick':_0x1421f9,'onKeyDown':_0x3cd1c2,'className':(0x0,_0x276ac3[_0x1523e0(0x1b1)])(_0x1523e0(0x184),'univer-border-none\x20univer-bg-transparent',_0x1523e0(0x217),_0x1523e0(0x216)),'aria-label':_0x59f448+_0x1523e0(0x1b6)+_0x3e6c2e,'role':_0x1523e0(0x279),'aria-live':_0x1523e0(0x3b0),'aria-atomic':_0x1523e0(0x311),'children':_0x2171c7})}):(0x0,_0x542830['jsx'])(_0x276ac3['Tooltip'],{'title':_0x3e6c2e,'placement':_0x1523e0(0x3f9),'children':(0x0,_0x542830[_0x1523e0(0x378)])(_0x1523e0(0x2de),{'className':(0x0,_0x276ac3[_0x1523e0(0x1b1)])(_0x1523e0(0x184),_0x1523e0(0x185),_0x1523e0(0x217)),'aria-label':_0x59f448,'role':_0x1523e0(0x279),'aria-live':_0x1523e0(0x3b0),'aria-atomic':'true','children':_0x2171c7})});}function _0x4928e(_0x1883a7){'@babel/helpers - typeof';const _0x430891=_0x2444bc;return _0x4928e=typeof Symbol==_0x430891(0x2c4)&&typeof Symbol[_0x430891(0x33d)]==_0x430891(0x377)?function(_0x3e644f){return typeof _0x3e644f;}:function(_0x3e0191){const _0x16c99=_0x430891;return _0x3e0191&&typeof Symbol=='function'&&_0x3e0191[_0x16c99(0x18c)]===Symbol&&_0x3e0191!==Symbol[_0x16c99(0x3e8)]?_0x16c99(0x377):typeof _0x3e0191;},_0x4928e(_0x1883a7);}function _0x5521b7(_0x2ff827,_0x3834b8){const _0x3888d3=_0x2444bc;if(_0x4928e(_0x2ff827)!=_0x3888d3(0x28a)||!_0x2ff827)return _0x2ff827;var _0x11dce0=_0x2ff827[Symbol[_0x3888d3(0x2b6)]];if(_0x11dce0!==void 0x0){var _0xb45ee5=_0x11dce0[_0x3888d3(0x3b3)](_0x2ff827,_0x3834b8||_0x3888d3(0x207));if(_0x4928e(_0xb45ee5)!=_0x3888d3(0x28a))return _0xb45ee5;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3834b8==='string'?String:Number)(_0x2ff827);}function _0x5b4c5e(_0x3c3124){const _0x3dffe8=_0x2444bc;var _0x3e7b2f=_0x5521b7(_0x3c3124,_0x3dffe8(0x323));return _0x4928e(_0x3e7b2f)==_0x3dffe8(0x377)?_0x3e7b2f:_0x3e7b2f+'';}function _0x34d1c1(_0xa903fc,_0x12820b,_0xa4546d){const _0x3fe7a9=_0x2444bc;return(_0x12820b=_0x5b4c5e(_0x12820b))in _0xa903fc?Object[_0x3fe7a9(0x16f)](_0xa903fc,_0x12820b,{'value':_0xa4546d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xa903fc[_0x12820b]=_0xa4546d,_0xa903fc;}function _0x23d40f(_0x35dffe,_0x12c996){return function(_0x1d9fa4,_0x2db485){_0x12c996(_0x1d9fa4,_0x2db485,_0x35dffe);};}function _0x4e0ded(_0x3b626e,_0x52b7f2,_0xce890e,_0x226ec0){const _0x58071e=_0x2444bc;var _0xbea6a0=arguments['length'],_0x634f85=_0xbea6a0<0x3?_0x52b7f2:_0x226ec0===null?_0x226ec0=Object[_0x58071e(0x43b)](_0x52b7f2,_0xce890e):_0x226ec0,_0x4869dd;if(typeof Reflect==_0x58071e(0x28a)&&typeof Reflect[_0x58071e(0x160)]==_0x58071e(0x2c4))_0x634f85=Reflect[_0x58071e(0x160)](_0x3b626e,_0x52b7f2,_0xce890e,_0x226ec0);else{for(var _0x150903=_0x3b626e[_0x58071e(0x1ae)]-0x1;_0x150903>=0x0;_0x150903--)(_0x4869dd=_0x3b626e[_0x150903])&&(_0x634f85=(_0xbea6a0<0x3?_0x4869dd(_0x634f85):_0xbea6a0>0x3?_0x4869dd(_0x52b7f2,_0xce890e,_0x634f85):_0x4869dd(_0x52b7f2,_0xce890e))||_0x634f85);}return _0xbea6a0>0x3&&_0x634f85&&Object[_0x58071e(0x16f)](_0x52b7f2,_0xce890e,_0x634f85),_0x634f85;}let _0x26c616=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0xfb85a,_0x155e6b,_0x1b26e5,_0x5d0d0c){const _0x567bd7=_0x2444bc;super(),this['_univerInstanceService']=_0xfb85a,this[_0x567bd7(0x345)]=_0x155e6b,this[_0x567bd7(0x26e)]=_0x1b26e5,this['_uiPartsService']=_0x5d0d0c,_0x34d1c1(this,_0x567bd7(0x25e),new _0x31275f['BehaviorSubject'](_0x21dc5a[_0x567bd7(0x2a8)][_0x567bd7(0x312)])),this[_0x567bd7(0x3c7)](),this[_0x567bd7(0x253)]();}[_0x2444bc(0x253)](){const _0x17c926=_0x2444bc;this['disposeWithMe']((0x0,_0x31275f['merge'])(this[_0x17c926(0x40a)][_0x17c926(0x1d9)],this[_0x17c926(0x40a)]['getCurrentTypeOfUnit$'](_0x430976['UniverInstanceType'][_0x17c926(0x341)]),this[_0x17c926(0x40a)][_0x17c926(0x2ab)](_0x430976['UniverInstanceType'][_0x17c926(0x36d)]))[_0x17c926(0x1e6)]((0x0,_0xdec434[_0x17c926(0x404)])(()=>_0x16d40d(this['_univerInstanceService'])),(0x0,_0xdec434[_0x17c926(0x3fb)])(),(0x0,_0x31275f[_0x17c926(0x2ba)])(_0x442b5f=>_0x442b5f?this[_0x17c926(0x26e)]['getCollabEntity$'](_0x442b5f):(0x0,_0x31275f['of'])(null)),(0x0,_0x31275f[_0x17c926(0x2ba)])(_0xa8931a=>_0xa8931a?_0xa8931a[_0x17c926(0x175)]:(0x0,_0x31275f['of'])(_0x21dc5a[_0x17c926(0x2a8)][_0x17c926(0x312)])))[_0x17c926(0x274)](_0xeb0ea7=>{const _0x26cd2e=_0x17c926;this[_0x26cd2e(0x25e)][_0x26cd2e(0x3f6)](_0xeb0ea7);}));}['_initStatusComponent'](){const _0x5972c0=_0x2444bc;this[_0x5972c0(0x2f8)](this[_0x5972c0(0x161)][_0x5972c0(0x1a3)](_0x2f7572[_0x5972c0(0x215)][_0x5972c0(0x287)],()=>(0x0,_0x2f7572['connectInjector'])(_0x871193({'status$':this[_0x5972c0(0x25e)][_0x5972c0(0x338)]()}),this[_0x5972c0(0x345)])));}};_0x26c616=_0x4e0ded([_0x23d40f(0x0,_0x430976[_0x2444bc(0x320)]),_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a[_0x2444bc(0x232)])),_0x23d40f(0x3,_0x2f7572[_0x2444bc(0x388)])],_0x26c616);function _0x16d40d(_0x2b8d3a){const _0x26f772=_0x2444bc;let _0x48bd24=_0x2b8d3a[_0x26f772(0x303)](),_0x16cbef=_0x48bd24==null?void 0x0:_0x48bd24[_0x26f772(0x28c)]();if(_0x16cbef&&!(0x0,_0x430976['isInternalEditorID'])(_0x16cbef))return _0x16cbef;let _0x4527d4=_0x2b8d3a[_0x26f772(0x16e)](_0x430976[_0x26f772(0x1f9)][_0x26f772(0x341)]),_0x578e41=_0x4527d4==null?void 0x0:_0x4527d4[_0x26f772(0x28c)]();if(_0x578e41&&!(0x0,_0x430976[_0x26f772(0x38b)])(_0x578e41))return _0x578e41;let _0x4e28c8=_0x2b8d3a[_0x26f772(0x16e)](_0x430976[_0x26f772(0x1f9)][_0x26f772(0x36d)]);if(_0x4e28c8)return _0x4e28c8[_0x26f772(0x28c)]();let _0x4b6507=_0x2b8d3a['getAllUnitsForType'](_0x430976[_0x26f772(0x1f9)][_0x26f772(0x341)])[_0x26f772(0x2a6)](_0x147459=>!(0x0,_0x430976[_0x26f772(0x38b)])(_0x147459[_0x26f772(0x28c)]()));return _0x4b6507?_0x4b6507[_0x26f772(0x28c)]():null;}function _0x871193(_0x15f8cd){let {status$:_0x281166}=_0x15f8cd;return function(){const _0x3110fa=_0x3284;return(0x0,_0x542830[_0x3110fa(0x378)])(_0x105682,{'status$':_0x281166});};}let _0x26fa78=(0x0,_0x430976[_0x2444bc(0x390)])('uni.network.url-service'),_0x5aec05=class extends _0x430976[_0x2444bc(0x1c2)]{constructor(_0x65e043,_0x218d56,_0x4b66a1,_0x46ac74,_0x89971b){const _0x103585=_0x2444bc;super(),this['_urlService']=_0x65e043,this[_0x103585(0x439)]=_0x218d56,this[_0x103585(0x42e)]=_0x4b66a1,this['_dataLoaderService']=_0x46ac74,_0x89971b?_0x89971b==null||_0x89971b[_0x103585(0x2fc)]()[_0x103585(0x269)](()=>this[_0x103585(0x1dd)]()):(this[_0x103585(0x439)]['debug'](_0x103585(0x227),_0x103585(0x35b)),this[_0x103585(0x1dd)]());}async[_0x2444bc(0x1dd)](){const _0x4fda50=_0x2444bc;let _0x3442cb=this['_urlService'][_0x4fda50(0x399)](_0x4fda50(0x1a2)),_0x1853aa=this[_0x4fda50(0x235)][_0x4fda50(0x399)]('type'),_0x5c3dee=this[_0x4fda50(0x235)]['getParam'](_0x4fda50(0x357));if(!_0x3442cb||!_0x1853aa){this['_logService']['debug'](_0x4fda50(0x227),_0x4fda50(0x288));return;}let _0x4eb750=await this[_0x4fda50(0x3a8)]['loadUnit'](_0x3442cb,Number(_0x1853aa),_0x5c3dee);_0x4eb750&&_0x4eb750 instanceof _0x430976[_0x4fda50(0x449)]&&this[_0x4fda50(0x263)](_0x4eb750);}async[_0x2444bc(0x263)](_0x53aff7){const _0x3a822e=_0x2444bc;await this[_0x3a822e(0x19f)](_0x53aff7),_0x53aff7[_0x3a822e(0x1a0)][_0x3a822e(0x1e6)]((0x0,_0x31275f[_0x3a822e(0x3a6)])(this[_0x3a822e(0x3de)]))[_0x3a822e(0x274)](_0x2f8b16=>{_0x2f8b16&&this['_updateURLWithCurrentState'](_0x2f8b16);}),this['_urlService']['urlChange$'][_0x3a822e(0x1e6)]((0x0,_0x31275f[_0x3a822e(0x3a6)])(this[_0x3a822e(0x3de)]))[_0x3a822e(0x274)](()=>this[_0x3a822e(0x19f)](_0x53aff7));}[_0x2444bc(0x34c)](_0x39d7dc,_0x1426a0=!0x1){const _0x5e5351=_0x2444bc;let _0x7079cf=this[_0x5e5351(0x235)][_0x5e5351(0x399)](_0x5e5351(0x357));_0x39d7dc[_0x5e5351(0x1e4)]()!==_0x7079cf&&this[_0x5e5351(0x235)][_0x5e5351(0x1a7)](_0x5e5351(0x357),_0x39d7dc[_0x5e5351(0x1e4)](),_0x1426a0);}async[_0x2444bc(0x19f)](_0x1c1bff){const _0x2ad9af=_0x2444bc;var _0x407c3e;let _0x1cbe73=this['_urlService'][_0x2ad9af(0x399)](_0x2ad9af(0x357));if(!_0x1cbe73||!_0x1c1bff[_0x2ad9af(0x21c)](_0x1cbe73)){let _0x26299d=_0x1c1bff[_0x2ad9af(0x27e)]()[0x0],_0x139a35=_0x1c1bff[_0x2ad9af(0x21c)](_0x26299d);if(!_0x139a35)return;this[_0x2ad9af(0x34c)](_0x139a35,!0x0),await this[_0x2ad9af(0x42e)]['executeCommand'](_0x128162[_0x2ad9af(0x3ea)]['id'],{'unitId':_0x1c1bff['getUnitId'](),'subUnitId':_0x26299d});return;}((_0x407c3e=_0x1c1bff[_0x2ad9af(0x179)]())==null?void 0x0:_0x407c3e[_0x2ad9af(0x1e4)]())!==_0x1cbe73&&await this[_0x2ad9af(0x42e)][_0x2ad9af(0x25d)](_0x128162['SetWorksheetActivateCommand']['id'],{'unitId':_0x1c1bff[_0x2ad9af(0x28c)](),'subUnitId':_0x1cbe73});}};_0x5aec05=_0x4e0ded([_0x23d40f(0x0,_0x26fa78),_0x23d40f(0x1,_0x430976[_0x2444bc(0x30c)]),_0x23d40f(0x2,_0x430976['ICommandService']),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a[_0x2444bc(0x3ac)])),_0x23d40f(0x4,(0x0,_0x430976[_0x2444bc(0x332)])(_0x5c1877[_0x2444bc(0x234)]))],_0x5aec05);var _0x50e124=_0x2444bc(0x20a),_0x5a4f5a=_0x2444bc(0x2e5);let _0x1f6f92=class extends _0x430976['RxDisposable']{constructor(_0x1cd060,_0x319172){const _0x557cfb=_0x2444bc;super(),this[_0x557cfb(0x3b8)]=_0x1cd060,this[_0x557cfb(0x1b7)]=_0x319172,this[_0x557cfb(0x1dd)]();}[_0x2444bc(0x1dd)](){const _0x23c557=_0x2444bc;let _0x54a62a=this;this[_0x23c557(0x2f8)](this['_docClipboardService'][_0x23c557(0x1e0)]({'onBeforePasteImage':async _0x5e1337=>{const _0x3f3dad=_0x23c557;let _0x5b69d9=await _0x54a62a[_0x3f3dad(0x1b7)]['saveImage'](_0x5e1337);return _0x5b69d9?{'source':_0x5b69d9[_0x3f3dad(0x244)],'imageSourceType':_0x5b69d9['imageSourceType']}:null;}}));}};_0x1f6f92=_0x4e0ded([_0x23d40f(0x0,_0x3733f8['IDocClipboardService']),_0x23d40f(0x1,_0x4d4293[_0x2444bc(0x1c8)])],_0x1f6f92);let _0x3a71d4=['purple.300',_0x2444bc(0x38e),_0x2444bc(0x290),_0x2444bc(0x1f3),_0x2444bc(0x294),_0x2444bc(0x28e)];var _0x1eb962=class extends _0x430976[_0x2444bc(0x25a)]{constructor(..._0x8a9c39){const _0x54227a=_0x2444bc;super(..._0x8a9c39),_0x34d1c1(this,_0x54227a(0x24a),new Map()),_0x34d1c1(this,_0x54227a(0x17a),0x0);}['assignAColorForMemberID'](_0x1d1843){const _0x2beed5=_0x2444bc;if(this['_assignedColors'][_0x2beed5(0x27b)](_0x1d1843))return this[_0x2beed5(0x24a)]['get'](_0x1d1843);let _0x131a8b=_0x3a71d4[this[_0x2beed5(0x17a)]];return this[_0x2beed5(0x17a)]=(this[_0x2beed5(0x17a)]+0x1)%_0x3a71d4[_0x2beed5(0x1ae)],this[_0x2beed5(0x24a)][_0x2beed5(0x2da)](_0x1d1843,_0x131a8b),_0x131a8b;}};function _0x5bdb80(_0x341230){const _0x27cae5=_0x2444bc;let _0x52ec16='';for(let _0x31e37d of _0x341230){let {startOffset:_0x3df8b4,endOffset:_0x17f2b0,isActive:_0x5e16e7,rangeType:_0x4fec08,segmentId:_0x8c0f46,segmentPage:_0x2c68e8}=_0x31e37d;_0x52ec16[_0x27cae5(0x1ae)]&&(_0x52ec16+=','),_0x52ec16+=_0x3df8b4+':'+_0x17f2b0+':'+(_0x5e16e7?'1':'0')+':'+_0x4fec08+':'+_0x8c0f46+':'+_0x2c68e8;}return _0x52ec16;}function _0x16a883(_0x3cc90b){const _0x3be6b3=_0x2444bc;let _0x11d2c0=_0x3cc90b[_0x3be6b3(0x355)](','),_0xf666f0=[];for(let _0x5c23b8 of _0x11d2c0){let [_0x5bf7ec,_0x48962b,_0x31dae4,_0x48a7ad,_0x23e690,_0x10353f]=_0x5c23b8[_0x3be6b3(0x355)](':');_0xf666f0[_0x3be6b3(0x2fd)]({'startOffset':Number(_0x5bf7ec),'endOffset':Number(_0x48962b),'collapsed':_0x5bf7ec===_0x48962b,'isActive':_0x31dae4==='1','rangeType':_0x48a7ad===_0x430976[_0x3be6b3(0x336)][_0x3be6b3(0x394)]?_0x430976['DOC_RANGE_TYPE'][_0x3be6b3(0x394)]:_0x430976[_0x3be6b3(0x336)][_0x3be6b3(0x1c4)],'segmentId':typeof _0x23e690==_0x3be6b3(0x323)?String(_0x23e690):'','segmentPage':Number(_0x10353f==null?-0x1:_0x10353f)});}return _0xf666f0['some'](_0x4d89e0=>_0x4d89e0[_0x3be6b3(0x44a)])||(_0xf666f0[0x0][_0x3be6b3(0x44a)]=!0x0),_0xf666f0;}var _0x26444f=class extends _0x430976[_0x2444bc(0x1c2)]{constructor(..._0x5187d6){const _0x3cb927=_0x2444bc;super(..._0x5187d6),_0x34d1c1(this,_0x3cb927(0x280),new _0x31275f[(_0x3cb927(0x1d0))](null)),_0x34d1c1(this,_0x3cb927(0x43e),this[_0x3cb927(0x280)][_0x3cb927(0x338)]());}[_0x2444bc(0x3d3)](_0x512165){const _0x215a8c=_0x2444bc;let {unitID:_0x3b2c53,memberID:_0x4eb247,textRanges:_0x1ed206}=_0x512165,_0x808acc=_0x5bdb80(_0x1ed206);if(_0x808acc==='')return;let _0x24a3f9={'unitID':_0x3b2c53,'memberID':_0x4eb247,'selection':_0x808acc};this[_0x215a8c(0x280)][_0x215a8c(0x3f6)](_0x24a3f9);}};let _0x4003a7=class extends _0x430976[_0x2444bc(0x1c2)]{get[_0x2444bc(0x166)](){const _0x953cb0=_0x2444bc;return this[_0x953cb0(0x2ce)][_0x953cb0(0x2a1)]();}get['roomMembers'](){const _0xdd08d9=_0x2444bc;return this[_0xdd08d9(0x32e)][_0xdd08d9(0x2a1)]();}constructor(_0x109665,_0x244a6c,_0x147936,_0x2993a5,_0x53207d,_0xe955e1,_0x23d0ea,_0x493a36,_0x4b0e0d){const _0x18dbfd=_0x2444bc;super(),this[_0x18dbfd(0x177)]=_0x109665,this[_0x18dbfd(0x308)]=_0x244a6c,this[_0x18dbfd(0x345)]=_0x147936,this[_0x18dbfd(0x1bb)]=_0x2993a5,this[_0x18dbfd(0x222)]=_0x53207d,this[_0x18dbfd(0x171)]=_0xe955e1,this['_transformService']=_0x23d0ea,this[_0x18dbfd(0x40a)]=_0x493a36,this[_0x18dbfd(0x42e)]=_0x4b0e0d,_0x34d1c1(this,'_online',!0x1),_0x34d1c1(this,_0x18dbfd(0x1dd),!0x1),_0x34d1c1(this,_0x18dbfd(0x2ce),new _0x31275f[(_0x18dbfd(0x1d0))](new Map())),_0x34d1c1(this,_0x18dbfd(0x3bc),this[_0x18dbfd(0x2ce)][_0x18dbfd(0x338)]()),_0x34d1c1(this,_0x18dbfd(0x32e),new _0x31275f[(_0x18dbfd(0x1d0))]([])),_0x34d1c1(this,_0x18dbfd(0x426),this['_roomMembers$']['pipe']((0x0,_0x31275f[_0x18dbfd(0x21a)])(0x12c))),_0x34d1c1(this,'_updateLocalCursor',(0x0,_0x430976[_0x18dbfd(0x1cd)])(_0x227415=>{const _0x402ef6=_0x18dbfd;let _0x214eb0={'eventID':_0xf33e7d['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x402ef6(0x177)],'memberID':this[_0x402ef6(0x308)]['getMemberID'](),'selection':_0x5bdb80(_0x227415)}};this[_0x402ef6(0x308)]['send'](_0x214eb0,this['unitID']);},0x64));}['dispose'](){const _0x588844=_0x2444bc;super['dispose'](),this[_0x588844(0x2ce)][_0x588844(0x3f6)](new Map()),this[_0x588844(0x2ce)]['complete'](),this[_0x588844(0x32e)]['next']([]),this[_0x588844(0x32e)][_0x588844(0x334)]();}[_0x2444bc(0x37d)](){const _0x25248e=_0x2444bc;this[_0x25248e(0x1dd)]||(this[_0x25248e(0x1dd)]=!0x0,this[_0x25248e(0x308)]['sessionStatus$'][_0x25248e(0x1e6)]((0x0,_0x31275f[_0x25248e(0x3a6)])(this['dispose$']))[_0x25248e(0x274)](_0x2f2035=>{const _0x1820ed=_0x25248e;_0x2f2035===_0x21dc5a[_0x1820ed(0x36b)][_0x1820ed(0x348)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x25248e(0x308)]['event$'][_0x25248e(0x1e6)]((0x0,_0x31275f[_0x25248e(0x3a6)])(this[_0x25248e(0x3de)]))[_0x25248e(0x274)](_0x1a28e0=>{const _0x12ecd5=_0x25248e;let _0x4551dc=_0x1a28e0['eventID'];_0x4551dc===_0xf33e7d['CollaborationEvent'][_0x12ecd5(0x318)]&&this['_onCursorUpdate'](_0x1a28e0),_0x4551dc===_0xf33e7d[_0x12ecd5(0x3e4)][_0x12ecd5(0x418)]&&this['_onCursorDelete'](_0x1a28e0);}),this['disposeWithMe'](this['_commandService'][_0x25248e(0x1b3)](_0x3264ff=>{const _0x1f72b0=_0x25248e;let _0x4c1222=_0x3264ff[_0x1f72b0(0x1ca)];_0x4c1222!=null&&this['_online']&&_0x3264ff['id']===_0x15b933['SetTextSelectionsOperation']['id']&&_0x4c1222['unitId']===this[_0x1f72b0(0x177)]&&_0x4c1222['isEditing']===!0x1&&_0x4c1222[_0x1f72b0(0x27f)]['length']>0x0&&this['_updateLocalCursor'](_0x4c1222[_0x1f72b0(0x27f)]);})),this['_syncEditingCollabCursorService'][_0x25248e(0x43e)][_0x25248e(0x1e6)]((0x0,_0x31275f[_0x25248e(0x3a6)])(this[_0x25248e(0x3de)]))[_0x25248e(0x274)](_0xfcfdd4=>{const _0x150987=_0x25248e;if((_0xfcfdd4==null?void 0x0:_0xfcfdd4[_0x150987(0x177)])!==this[_0x150987(0x177)])return;let _0x5756d0={'eventID':_0xf33e7d[_0x150987(0x3e4)]['UPDATE_CURSOR'],'data':_0xfcfdd4};this['_onCursorUpdate'](_0x5756d0);}),this[_0x25248e(0x2f8)](this[_0x25248e(0x42e)][_0x25248e(0x1b3)](_0x12a26b=>{const _0x46a3f3=_0x25248e;if(_0x12a26b['params']==null)return;let _0x47879d=_0x12a26b[_0x46a3f3(0x1ca)];if(_0x12a26b['id']!==_0x15b933[_0x46a3f3(0x208)]['id']||_0x47879d[_0x46a3f3(0x2c1)]!==this[_0x46a3f3(0x177)])return;let _0x55e276={'id':_0x46a3f3(0x214),'params':_0x47879d},_0x27aa45=this[_0x46a3f3(0x166)];for(let [_0x15a58e,_0x2ed3bd]of _0x27aa45){let _0x214b99={'id':_0x46a3f3(0x214),'params':{'unitId':this[_0x46a3f3(0x177)],'actions':null,'textRanges':_0x2ed3bd['ranges']}},_0x4c71c4=this['_transformService'][_0x46a3f3(0x2d2)](_0x55e276,_0x214b99,!0x1);if((0x0,_0xf33e7d[_0x46a3f3(0x302)])(_0x4c71c4))throw _0x4c71c4['error'];_0x27aa45[_0x46a3f3(0x2da)](_0x15a58e,{..._0x2ed3bd,'ranges':_0x4c71c4['m2Prime']['params'][_0x46a3f3(0x295)]});}queueMicrotask(()=>{const _0x3e18c7=_0x46a3f3;this[_0x3e18c7(0x2ce)]['next'](_0x27aa45);});})));}[_0x2444bc(0x383)](_0x125371){const _0x113b86=_0x2444bc;var _0x5b35d9,_0x15126e;let {memberID:_0x537d9f,selection:_0x63e7a}=_0x125371[_0x113b86(0x321)],_0x430767=_0x16a883(_0x63e7a),_0x2caac7=(_0x5b35d9=(_0x15126e=this[_0x113b86(0x222)][_0x113b86(0x292)](this[_0x113b86(0x177)],_0x537d9f))==null?void 0x0:_0x15126e[_0x113b86(0x3b7)])==null?_0x113b86(0x26c):_0x5b35d9,_0x27a152={'color':this[_0x113b86(0x1bb)][_0x113b86(0x189)](_0x537d9f),'name':_0x2caac7,'ranges':_0x430767},_0x5f2d43=this[_0x113b86(0x166)];_0x5f2d43[_0x113b86(0x2da)](_0x537d9f,_0x27a152),this[_0x113b86(0x2ce)][_0x113b86(0x3f6)](_0x5f2d43);}[_0x2444bc(0x41a)](_0x40e488){const _0x47e837=_0x2444bc;let {memberID:_0xa37a37}=_0x40e488['data'],_0x4b7899=this[_0x47e837(0x166)];_0x4b7899[_0x47e837(0x242)](_0xa37a37),this[_0x47e837(0x2ce)][_0x47e837(0x3f6)](_0x4b7899);}[_0x2444bc(0x39c)](){const _0x2bc736=_0x2444bc;var _0x225c8a;if(this[_0x2bc736(0x238)]=!0x0,((_0x225c8a=this['_univerInstanceService'][_0x2bc736(0x303)]())==null?void 0x0:_0x225c8a[_0x2bc736(0x28c)]())!==this[_0x2bc736(0x177)])return;let _0x2a01a1=this[_0x2bc736(0x345)][_0x2bc736(0x1a1)](_0x15b933['DocSelectionManagerService'])['getDocRanges']();Array[_0x2bc736(0x3c0)](_0x2a01a1)&&_0x2a01a1[_0x2bc736(0x1ae)]>0x0&&this[_0x2bc736(0x203)](_0x2a01a1);}[_0x2444bc(0x1a5)](){const _0xcaf05b=_0x2444bc;this[_0xcaf05b(0x238)]=!0x1;}};_0x4003a7=_0x4e0ded([_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x1eb962)),_0x23d40f(0x4,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a['MemberService'])),_0x23d40f(0x5,(0x0,_0x430976[_0x2444bc(0x286)])(_0x26444f)),_0x23d40f(0x6,_0xf33e7d[_0x2444bc(0x37b)]),_0x23d40f(0x7,_0x430976[_0x2444bc(0x320)]),_0x23d40f(0x8,_0x430976[_0x2444bc(0x2c0)])],_0x4003a7);let _0x418cad=()=>{let _0x4d409e=[],_0x29ba8f=!0x1;return _0x4e456b=>{const _0x37ab26=_0x3284;_0x4d409e[_0x37ab26(0x2fd)](_0x4e456b),_0x29ba8f||(_0x29ba8f=!0x0,setTimeout(()=>{_0x4d409e['forEach'](_0x3ed2c2=>_0x3ed2c2()),_0x4d409e=[],_0x29ba8f=!0x1;}));};},_0x282731=class extends _0x430976['RxDisposable']{get[_0x2444bc(0x166)](){const _0x32bc29=_0x2444bc;return this['_cursorInfo$'][_0x32bc29(0x2a1)]();}get[_0x2444bc(0x2aa)](){const _0x73a923=_0x2444bc;return this[_0x73a923(0x32e)]['getValue']();}constructor(_0x11b601,_0x3e514d,_0x432edb,_0x20876d,_0x31c498,_0x302066,_0x141467,_0xe78e9f){const _0x159b34=_0x2444bc;super(),this[_0x159b34(0x177)]=_0x11b601,this[_0x159b34(0x308)]=_0x3e514d,this[_0x159b34(0x345)]=_0x432edb,this[_0x159b34(0x1bb)]=_0x20876d,this[_0x159b34(0x222)]=_0x31c498,this[_0x159b34(0x40a)]=_0x302066,this[_0x159b34(0x42e)]=_0x141467,this['_refRangeService']=_0xe78e9f,_0x34d1c1(this,'_online',!0x1),_0x34d1c1(this,'_init',!0x1),_0x34d1c1(this,_0x159b34(0x2ce),new _0x31275f[(_0x159b34(0x1d0))](new Map())),_0x34d1c1(this,_0x159b34(0x3bc),this[_0x159b34(0x2ce)][_0x159b34(0x338)]()),_0x34d1c1(this,_0x159b34(0x32e),new _0x31275f['BehaviorSubject']([])),_0x34d1c1(this,_0x159b34(0x426),this[_0x159b34(0x32e)][_0x159b34(0x1e6)]((0x0,_0x31275f[_0x159b34(0x21a)])(0x12c))),_0x34d1c1(this,_0x159b34(0x203),(0x0,_0x430976['debounce'])((_0x34c9e1,_0x1d76f4)=>{const _0x17b98c=_0x159b34;let _0x41254d={'eventID':_0xf33e7d[_0x17b98c(0x3e4)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x17b98c(0x308)][_0x17b98c(0x40e)](),'selection':(0x0,_0x4b3ad6[_0x17b98c(0x3f8)])(_0x34c9e1,_0x1d76f4['range'])}};this[_0x17b98c(0x308)][_0x17b98c(0x364)](_0x41254d,this[_0x17b98c(0x177)]);},0x64));}[_0x2444bc(0x3d1)](){const _0x1c194d=_0x2444bc;super[_0x1c194d(0x3d1)](),this[_0x1c194d(0x2ce)]['next'](new Map()),this[_0x1c194d(0x2ce)][_0x1c194d(0x334)](),this[_0x1c194d(0x32e)][_0x1c194d(0x3f6)]([]),this[_0x1c194d(0x32e)]['complete']();}[_0x2444bc(0x37d)](){const _0x1ed5ea=_0x2444bc;this[_0x1ed5ea(0x1dd)]||(this[_0x1ed5ea(0x1dd)]=!0x0,this[_0x1ed5ea(0x308)][_0x1ed5ea(0x313)][_0x1ed5ea(0x1e6)]((0x0,_0x31275f[_0x1ed5ea(0x3a6)])(this[_0x1ed5ea(0x3de)]))['subscribe'](_0x3b3642=>{const _0x1eda12=_0x1ed5ea;_0x3b3642===_0x21dc5a['SessionStatus']['ONLINE']?this[_0x1eda12(0x39c)]():this['_toggleOffline']();}),this['_session']['event$'][_0x1ed5ea(0x1e6)]((0x0,_0x31275f['takeUntil'])(this[_0x1ed5ea(0x3de)]))[_0x1ed5ea(0x274)](_0x441c5e=>{const _0x152487=_0x1ed5ea;let _0x418de7=_0x441c5e['eventID'];_0x418de7===_0xf33e7d[_0x152487(0x3e4)][_0x152487(0x318)]&&this[_0x152487(0x383)](_0x441c5e),_0x418de7===_0xf33e7d[_0x152487(0x3e4)][_0x152487(0x418)]&&this[_0x152487(0x41a)](_0x441c5e);}),this[_0x1ed5ea(0x2ec)](),this[_0x1ed5ea(0x2f8)](this[_0x1ed5ea(0x42e)]['onCommandExecuted'](_0x1fa793=>{const _0x5a6d08=_0x1ed5ea;if(this[_0x5a6d08(0x238)]&&_0x1fa793['id']===_0x128162[_0x5a6d08(0x1b4)]['id']&&_0x1fa793['params'][_0x5a6d08(0x2c1)]===this[_0x5a6d08(0x177)]){let _0x1ec8e8=_0x1fa793[_0x5a6d08(0x1ca)];this['_updateLocalCursor'](_0x1ec8e8[_0x5a6d08(0x444)],_0x1ec8e8[_0x5a6d08(0x2f3)][0x0]);}})));}[_0x2444bc(0x383)](_0x377ec6){const _0x4f7a19=_0x2444bc;var _0x13d357,_0x2ab38a;let {memberID:_0x47ba2d,selection:_0x1b7f7d}=_0x377ec6[_0x4f7a19(0x321)],{sheetName:_0x24ccfc,range:_0x1810b5}=(0x0,_0x4b3ad6[_0x4f7a19(0x218)])(_0x1b7f7d),_0x321b84={'name':(_0x13d357=(_0x2ab38a=this['_memberService'][_0x4f7a19(0x292)](this[_0x4f7a19(0x177)],_0x47ba2d))==null?void 0x0:_0x2ab38a['name'])==null?'Unknown\x20user':_0x13d357,'range':this[_0x4f7a19(0x324)](_0x24ccfc,_0x1810b5),'sheetID':_0x24ccfc,'color':this['_colorAssignService'][_0x4f7a19(0x189)](_0x47ba2d),'selection':_0x1b7f7d},_0x38dba9=this[_0x4f7a19(0x166)];_0x38dba9[_0x4f7a19(0x2da)](_0x47ba2d,_0x321b84),this[_0x4f7a19(0x2ce)]['next'](_0x38dba9);}['_onCursorDelete'](_0x4ff1a5){const _0x3a9fd9=_0x2444bc;let {memberID:_0x59ce61}=_0x4ff1a5[_0x3a9fd9(0x321)],_0x1a5117=this['cursorInfo'];_0x1a5117[_0x3a9fd9(0x242)](_0x59ce61),this['_cursorInfo$']['next'](_0x1a5117);}[_0x2444bc(0x324)](_0x3d13fa,_0xcc1720){const _0x506b9e=_0x2444bc;var _0x496d0f;let _0x174697=(_0x496d0f=this[_0x506b9e(0x40a)][_0x506b9e(0x2e3)](this[_0x506b9e(0x177)]))==null||(_0x496d0f=_0x496d0f[_0x506b9e(0x21c)](_0x3d13fa))==null?void 0x0:_0x496d0f[_0x506b9e(0x297)]();return(_0x174697==null?void 0x0:_0x174697[_0x506b9e(0x2a6)](_0x5b8419=>_0x430976['Rectangle'][_0x506b9e(0x375)](_0x5b8419,_0xcc1720)))||_0xcc1720;}[_0x2444bc(0x2ec)](){const _0xbf99a2=_0x2444bc;let _0x5392f5=new _0x430976[(_0xbf99a2(0x2b0))](),_0xf7c6ec=_0x418cad(),_0x35544b=()=>{const _0x625a6a=_0xbf99a2;_0x5392f5[_0x625a6a(0x3d1)]();let _0x832263=(_0x5499f2,_0x5ae8a9,_0x4ae3d4,_0x2cbc67)=>{const _0x3e432b=_0x625a6a;let _0x4cf859=[];switch(_0x5499f2['id']){case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x3d5)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x373)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x34a)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x3c8)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x403)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x1b5)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x201)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x371)])(_0x5499f2,_0x2cbc67);break;case _0x128162['EffectRefRangId'][_0x3e432b(0x1e1)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x382)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x2f4)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x17f)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x32d)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x40d)])(_0x5499f2,_0x2cbc67);break;case _0x128162['EffectRefRangId'][_0x3e432b(0x199)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x3e9)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)]['RemoveRowCommandId']:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x245)])(_0x5499f2,_0x2cbc67);break;}let _0x5910b2=(0x0,_0x128162[_0x3e432b(0x2e6)])(_0x4cf859,_0x2cbc67),_0x4b36c2=this[_0x3e432b(0x166)][_0x3e432b(0x1a1)](_0x5ae8a9);if(_0x4b36c2&&_0x5910b2){let _0x476e39={..._0x4b36c2,'range':_0x5910b2};this[_0x3e432b(0x166)][_0x3e432b(0x2da)](_0x5ae8a9,_0x476e39),_0xf7c6ec(()=>{const _0x5b5b7e=_0x3e432b;let _0x13d815=this[_0x5b5b7e(0x36e)][_0x5b5b7e(0x3e1)](_0x5910b2,_0x372c61=>(_0x13d815[_0x5b5b7e(0x3d1)](),_0x832263(_0x372c61,_0x5ae8a9,_0x4ae3d4,_0x5910b2)));_0x5392f5[_0x5b5b7e(0x385)](_0x13d815);});}return{'redos':[],'undos':[]};};this[_0x625a6a(0x166)][_0x625a6a(0x380)]((_0x5c0384,_0x39e40d)=>{const _0xef832f=_0x625a6a;let {range:_0x1305d6,sheetID:_0x59981c}=_0x5c0384,_0x41a45e=this[_0xef832f(0x36e)][_0xef832f(0x3e1)](_0x1305d6,_0x47bc76=>(_0x41a45e[_0xef832f(0x3d1)](),_0x832263(_0x47bc76,_0x39e40d,_0x59981c,_0x1305d6)));_0x5392f5[_0xef832f(0x385)](_0x41a45e);});};this['disposeWithMe']((0x0,_0x430976[_0xbf99a2(0x3d7)])(this[_0xbf99a2(0x2ce)][_0xbf99a2(0x274)](()=>{_0x35544b();})));}[_0x2444bc(0x39c)](){const _0x42a14f=_0x2444bc;var _0x447d74,_0x25d053;if(this[_0x42a14f(0x238)]=!0x0,((_0x447d74=this['_univerInstanceService'][_0x42a14f(0x303)]())==null?void 0x0:_0x447d74[_0x42a14f(0x28c)]())!==this['unitID'])return;let _0x1e3d4b=(_0x25d053=this['_injector'][_0x42a14f(0x1a1)](_0x128162['SheetsSelectionsService'])[_0x42a14f(0x3da)]())==null?void 0x0:_0x25d053[0x0],_0x4ba836=this['_univerInstanceService'][_0x42a14f(0x16e)](_0x430976[_0x42a14f(0x1f9)][_0x42a14f(0x36d)])['getActiveSheet']();_0x1e3d4b&&_0x4ba836&&this[_0x42a14f(0x203)](_0x4ba836['getSheetId'](),_0x1e3d4b);}[_0x2444bc(0x1a5)](){const _0x39d8d5=_0x2444bc;this[_0x39d8d5(0x238)]=!0x1;}};_0x282731=_0x4e0ded([_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x1eb962)),_0x23d40f(0x4,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a[_0x2444bc(0x3b1)])),_0x23d40f(0x5,_0x430976['IUniverInstanceService']),_0x23d40f(0x6,_0x430976[_0x2444bc(0x2c0)]),_0x23d40f(0x7,(0x0,_0x430976[_0x2444bc(0x286)])(_0x128162[_0x2444bc(0x30e)]))],_0x282731);let _0x35fdec=class extends _0x430976[_0x2444bc(0x1c2)]{constructor(_0x3f485c,_0x5a4069,_0x4c0044){const _0x2320d8=_0x2444bc;super(),this[_0x2320d8(0x40a)]=_0x3f485c,this[_0x2320d8(0x345)]=_0x5a4069,this[_0x2320d8(0x15f)]=_0x4c0044,_0x34d1c1(this,'_entities',new Map()),_0x34d1c1(this,_0x2320d8(0x35a),new _0x31275f['Subject']()),this[_0x2320d8(0x1dd)]();}[_0x2444bc(0x3d1)](){const _0x57c3c2=_0x2444bc;super[_0x57c3c2(0x3d1)](),this[_0x57c3c2(0x35a)]['complete'](),this[_0x57c3c2(0x1bd)][_0x57c3c2(0x380)](_0x1472c5=>_0x1472c5['dispose']());}[_0x2444bc(0x440)](_0x12c378){const _0x3dc597=_0x2444bc;return this['_entities'][_0x3dc597(0x27b)](_0x12c378)?this[_0x3dc597(0x1bd)]['get'](_0x12c378)[_0x3dc597(0x3bc)]:this['_entityInit$'][_0x3dc597(0x1e6)]((0x0,_0x31275f[_0x3dc597(0x2b2)])(_0x147331=>_0x147331[_0x3dc597(0x177)]===_0x12c378),(0x0,_0x31275f[_0x3dc597(0x2ba)])(_0x159710=>_0x159710[_0x3dc597(0x3bc)]));}['_init'](){const _0x439c78=_0x2444bc;this[_0x439c78(0x40a)][_0x439c78(0x16c)](_0x430976[_0x439c78(0x1f9)]['UNIVER_SHEET'])[_0x439c78(0x1e6)]((0x0,_0x31275f[_0x439c78(0x3a6)])(this[_0x439c78(0x3de)]))[_0x439c78(0x274)](async _0x2c7c54=>{const _0xe9739=_0x439c78;let _0x5cb53b=_0x2c7c54[_0xe9739(0x1a2)][_0xe9739(0x28c)](),_0x4df34e=await this['_startSheetCollabCursor'](_0x5cb53b);this['_entityInit$'][_0xe9739(0x3f6)](_0x4df34e),this['_entities'][_0xe9739(0x2da)](_0x5cb53b,_0x4df34e);}),this[_0x439c78(0x40a)][_0x439c78(0x16c)](_0x430976[_0x439c78(0x1f9)]['UNIVER_DOC'])['pipe']((0x0,_0x31275f['takeUntil'])(this[_0x439c78(0x3de)]))['pipe']((0x0,_0x31275f[_0x439c78(0x2b2)])(_0x48f82d=>!_0x48f82d['unit'][_0x439c78(0x28c)]()[_0x439c78(0x1d2)]('__')))[_0x439c78(0x274)](async _0xfccb7d=>{const _0x484e8f=_0x439c78;let {unit:_0x26b552}=_0xfccb7d,_0x1c2efa=_0x26b552[_0x484e8f(0x28c)](),_0x240cfc=await this[_0x484e8f(0x441)](_0x1c2efa);this['_entityInit$']['next'](_0x240cfc),this[_0x484e8f(0x1bd)][_0x484e8f(0x2da)](_0x1c2efa,_0x240cfc);}),(0x0,_0x31275f[_0x439c78(0x2e0)])(this[_0x439c78(0x40a)]['getTypeOfUnitDisposed$'](_0x430976['UniverInstanceType']['UNIVER_DOC']),this[_0x439c78(0x40a)][_0x439c78(0x1ea)](_0x430976['UniverInstanceType'][_0x439c78(0x36d)]))[_0x439c78(0x1e6)]((0x0,_0x31275f['takeUntil'])(this[_0x439c78(0x3de)]))[_0x439c78(0x274)](_0x4560ea=>{const _0x785b69=_0x439c78;let _0x3659bd=_0x4560ea['getUnitId'](),_0x3020dc=this[_0x785b69(0x1bd)]['get'](_0x3659bd);_0x3020dc&&(_0x3020dc['dispose'](),this[_0x785b69(0x1bd)]['delete'](_0x3659bd));});}async[_0x2444bc(0x2b1)](_0x4c0cad){const _0x29fb51=_0x2444bc;let _0x3e860b=await this['_collabSessionService'][_0x29fb51(0x23b)](_0x4c0cad),_0x196c90=this[_0x29fb51(0x345)][_0x29fb51(0x1de)](_0x282731,_0x4c0cad,_0x3e860b);return _0x196c90[_0x29fb51(0x37d)](),_0x196c90;}async[_0x2444bc(0x441)](_0x2de621){const _0x41aa70=_0x2444bc;let _0x49b042=await this[_0x41aa70(0x15f)]['requireSession'](_0x2de621),_0x55d5e7=this[_0x41aa70(0x345)]['createInstance'](_0x4003a7,_0x2de621,_0x49b042);return _0x55d5e7[_0x41aa70(0x37d)](),_0x55d5e7;}};_0x35fdec=_0x4e0ded([_0x23d40f(0x0,_0x430976[_0x2444bc(0x320)]),_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a[_0x2444bc(0x337)]))],_0x35fdec);function _0x1db1d9(_0x3ec6ce,_0x124365){const _0xaf4dac=_0x2444bc;var _0x20f5e3,_0xd17be6,_0x3e2fdd;let {radius:_0x388e3b,width:_0x24f051,height:_0x2a7ccf}=_0x124365;_0x388e3b=(_0x20f5e3=_0x388e3b)==null?0x0:_0x20f5e3,_0x24f051=(_0xd17be6=_0x24f051)==null?0x1e:_0xd17be6,_0x2a7ccf=(_0x3e2fdd=_0x2a7ccf)==null?0x1e:_0x3e2fdd;let _0x28ceec=0x0,_0x5a27fd=0x0,_0x4b1119=0x0;_0x28ceec=_0x5a27fd=_0x4b1119=Math['min'](_0x388e3b,_0x24f051/0x2,_0x2a7ccf/0x2),_0x3ec6ce[_0xaf4dac(0x162)](),_0x3ec6ce[_0xaf4dac(0x22d)](_0x28ceec,0x0),_0x3ec6ce['lineTo'](_0x24f051-_0x5a27fd,0x0),_0x3ec6ce[_0xaf4dac(0x376)](_0x24f051-_0x5a27fd,_0x5a27fd,_0x5a27fd,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ec6ce[_0xaf4dac(0x1ab)](_0x24f051,_0x2a7ccf-_0x4b1119),_0x3ec6ce[_0xaf4dac(0x376)](_0x24f051-_0x4b1119,_0x2a7ccf-_0x4b1119,_0x4b1119,0x0,Math['PI']/0x2,!0x1),_0x3ec6ce[_0xaf4dac(0x1ab)](0x0,_0x2a7ccf),_0x3ec6ce[_0xaf4dac(0x1ab)](0x0,_0x28ceec),_0x3ec6ce[_0xaf4dac(0x376)](_0x28ceec,_0x28ceec,_0x28ceec,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ec6ce['closePath'](),_0x124365[_0xaf4dac(0x1d3)]&&(_0x3ec6ce['save'](),_0x3ec6ce[_0xaf4dac(0x369)]=_0x124365['fill'],_0x124365['fillRule']===_0xaf4dac(0x182)?_0x3ec6ce[_0xaf4dac(0x1d3)](_0xaf4dac(0x182)):_0x3ec6ce['fill'](),_0x3ec6ce[_0xaf4dac(0x1e7)]());}var _0x24b8cf=class _0x337a06 extends _0x229561[_0x2444bc(0x3bf)]{constructor(_0xf84a76,_0x92bc14){const _0x119add=_0x2444bc;super(_0xf84a76,_0x92bc14),_0x34d1c1(this,'color',void 0x0),_0x34d1c1(this,_0x119add(0x2bf),void 0x0),this[_0x119add(0x284)]=_0x92bc14==null?void 0x0:_0x92bc14[_0x119add(0x284)],this['text']=_0x92bc14==null?void 0x0:_0x92bc14[_0x119add(0x2bf)];}static[_0x2444bc(0x3e5)](_0x16fd25,_0x5555c2){const _0x2ab842=_0x2444bc;let {text:_0x2df792,color:_0x20fd07}=_0x5555c2;_0x16fd25['save'](),_0x16fd25['font']=_0x2ab842(0x1c0);let _0xb30fc2=_0x16fd25['measureText'](_0x2df792)[_0x2ab842(0x391)];if(_0x1db1d9(_0x16fd25,{'height':0x14,'radius':0x4,'width':Math['min'](_0xb30fc2+0x8,0xc8),'fill':_0x20fd07,'evented':!0x1}),_0x16fd25['fillStyle']='#FFF',_0xb30fc2>0xc0){let _0x495ff5='',_0xef3838=0x0;for(let _0xf0a411 of _0x2df792){let _0x5a3153=_0x16fd25[_0x2ab842(0x326)](_0xf0a411)['width'];if(_0xef3838+_0x5a3153<=0xc0-_0x16fd25['measureText']('...')[_0x2ab842(0x391)])_0x495ff5+=_0xf0a411,_0xef3838+=_0x5a3153;else{_0x495ff5+=_0x2ab842(0x243);break;}}_0x16fd25[_0x2ab842(0x22a)](_0x495ff5,0x4,0xf);}else _0x16fd25[_0x2ab842(0x22a)](_0x2df792,0x4,0xf);_0x16fd25[_0x2ab842(0x1e7)]();}[_0x2444bc(0x3ef)](_0x1e9327){const _0x597a3c=_0x2444bc;_0x337a06[_0x597a3c(0x3e5)](_0x1e9327,this);}};let _0xff85b7=_0x2444bc(0x3f7);var _0x1b469c=class{constructor(_0x942eb2,_0x419172,_0x4eb404,_0x3468e8){const _0x32ca68=_0x2444bc;this['_cursor']=_0x942eb2,this[_0x32ca68(0x3ff)]=_0x419172,this['_docSkeleton']=_0x4eb404,this['_document']=_0x3468e8,_0x34d1c1(this,_0x32ca68(0x3d9),[]),_0x34d1c1(this,_0x32ca68(0x3eb),null),_0x34d1c1(this,_0x32ca68(0x237),null),_0x34d1c1(this,'_anchorDot',null),_0x34d1c1(this,'_hideTimer',null),_0x34d1c1(this,_0x32ca68(0x3c6),null),this['_render']();}set['_hover'](_0x1bd91a){const _0x1e2177=_0x2444bc;_0x1bd91a?(this['_anchorDot']&&this['_anchorDot'][_0x1e2177(0x2c3)](),this[_0x1e2177(0x237)]&&this[_0x1e2177(0x237)]['show']()):(this[_0x1e2177(0x28b)]&&this[_0x1e2177(0x28b)]['show'](),this[_0x1e2177(0x237)]&&this['_textBubble'][_0x1e2177(0x2c3)]());}[_0x2444bc(0x3d1)](){const _0x36f9d8=_0x2444bc;for(let _0xebfdfe of this[_0x36f9d8(0x3d9)])_0xebfdfe['dispose']();this[_0x36f9d8(0x237)]&&this[_0x36f9d8(0x237)]['dispose'](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x36f9d8(0x3eb)][_0x36f9d8(0x3d1)](),this[_0x36f9d8(0x3c6)]&&this[_0x36f9d8(0x3c6)]();}['_render'](){const _0x2d2ca6=_0x2444bc;let {_docSkeleton:_0x247013,_document:_0x199ba8}=this,{color:_0x49ae97,name:_0x3f4f80,ranges:_0xf3a37e}=this[_0x2d2ca6(0x24f)],_0x5a1725=_0x199ba8[_0x2d2ca6(0x173)](),{docsLeft:_0x3f473e,docsTop:_0x3708bc}=_0x5a1725,_0x125dcc=new _0x3733f8['NodePositionConvertToCursor'](_0x5a1725,_0x247013);for(let {startOffset:_0x4e1364,endOffset:_0x57ed1e,rangeType:_0x223e07,segmentId:_0x426e3c,segmentPage:_0x83b598,collapsed:_0x214dfd,isActive:_0x3dc28e}of _0xf3a37e){let _0x54d6ee=_0x247013[_0x2d2ca6(0x265)](_0x4e1364,!0x0,_0x426e3c,_0x83b598),_0x55f911=_0x247013[_0x2d2ca6(0x265)](_0x57ed1e,!0x0,_0x426e3c,_0x83b598);if(_0x55f911==null&&(_0x55f911=_0x247013[_0x2d2ca6(0x265)](_0x57ed1e-0x1,!0x1,_0x426e3c,_0x83b598)),_0x3dc28e){let {contentBoxPointGroup:_0x5f548a}=_0x125dcc[_0x2d2ca6(0x249)](_0x55f911,_0x55f911);if(_0x5f548a[_0x2d2ca6(0x1ae)]===0x0)continue;this[_0x2d2ca6(0x40c)](_0x49ae97,_0x5f548a,_0x3f473e,_0x3708bc,_0x3f4f80),this[_0x2d2ca6(0x3c6)]=this[_0x2d2ca6(0x1f5)]();}if(_0x54d6ee&&_0x55f911){if(_0x223e07===_0x430976[_0x2d2ca6(0x336)][_0x2d2ca6(0x1c4)]){var _0x2eff5f;let {pointGroup:_0x212660}=(_0x2eff5f=new _0x3733f8[(_0x2d2ca6(0x2c6))](_0x5a1725,_0x247013)[_0x2d2ca6(0x249)](_0x54d6ee,_0x55f911))==null?{}:_0x2eff5f;if(_0x212660==null||_0x212660[_0x2d2ca6(0x1ae)]===0x0)continue;this['_drawRectRange'](_0x49ae97,_0x212660,_0x3f473e,_0x3708bc);}else{if(!_0x214dfd){let {borderBoxPointGroup:_0x1a60f4}=_0x125dcc[_0x2d2ca6(0x249)](_0x54d6ee,_0x55f911);if(_0x1a60f4[_0x2d2ca6(0x1ae)]===0x0)continue;this['_drawTextRange'](_0x49ae97,_0x1a60f4,_0x3f473e,_0x3708bc);}}}}}[_0x2444bc(0x40c)](_0x399196,_0x4f570a,_0xcaadd9,_0xedd659,_0x307e37){const _0x409a8e=_0x2444bc;let {left:_0x336118,top:_0x2ada26,height:_0x48a4ea}=this['_getAnchorBounding'](_0x4f570a),_0x207c6b=1.5/this['_getScale'](),_0x2e5a4c=new _0x229561[(_0x409a8e(0x2db))](_0xff85b7+(0x0,_0x430976[_0x409a8e(0x16b)])(0x6),{'left':_0x336118+_0xcaadd9-_0x207c6b,'top':_0x2ada26+_0xedd659,'height':_0x48a4ea,'width':1.5,'fill':_0x399196||(0x0,_0x229561[_0x409a8e(0x2dd)])(_0x430976[_0x409a8e(0x3cc)][_0x409a8e(0x28d)],0x0),'strokeWidth':_0x207c6b,'stroke':_0x409a8e(0x1f6),'evented':!0x0});this[_0x409a8e(0x3eb)]=_0x2e5a4c,this[_0x409a8e(0x3ff)][_0x409a8e(0x3a7)](_0x2e5a4c,_0x3733f8[_0x409a8e(0x183)]);let _0x3f03c5=new _0x229561[(_0x409a8e(0x2db))](_0xff85b7+(0x0,_0x430976[_0x409a8e(0x16b)])(0x6),{'left':_0x336118+_0xcaadd9-_0x207c6b,'top':_0x2ada26+_0xedd659-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x399196||(0x0,_0x229561[_0x409a8e(0x2dd)])(_0x430976[_0x409a8e(0x3cc)][_0x409a8e(0x28d)],0x0),'strokeWidth':0x0,'stroke':_0x399196||(0x0,_0x229561[_0x409a8e(0x2dd)])(_0x430976['COLORS']['black'],0x0),'evented':!0x1});this[_0x409a8e(0x28b)]=_0x3f03c5,this['_scene'][_0x409a8e(0x3a7)](_0x3f03c5,_0x3733f8[_0x409a8e(0x183)]);let _0x255a67=new _0x24b8cf(_0xff85b7+(0x0,_0x430976[_0x409a8e(0x16b)])(0x6),{'left':_0x336118+_0xcaadd9-_0x207c6b,'top':_0x2ada26+_0xedd659-0x14,'text':_0x307e37,'color':_0x399196});this[_0x409a8e(0x237)]=_0x255a67,this[_0x409a8e(0x3ff)][_0x409a8e(0x3a7)](_0x255a67,_0x3733f8[_0x409a8e(0x183)]),this[_0x409a8e(0x3e7)]=!0x1;}[_0x2444bc(0x1f5)](){const _0x1a3264=_0x2444bc;let _0x4f2a04=this[_0x1a3264(0x3eb)][_0x1a3264(0x305)][_0x1a3264(0x195)](()=>{const _0x3c328e=_0x1a3264;this[_0x3c328e(0x3e7)]=!0x0;}),_0x22cf34=this[_0x1a3264(0x3eb)]['onPointerLeave$'][_0x1a3264(0x195)](()=>{const _0x30ba95=_0x1a3264;this[_0x30ba95(0x181)]&&clearTimeout(this[_0x30ba95(0x181)]),this[_0x30ba95(0x181)]=setTimeout(()=>{const _0x1849f9=_0x30ba95;this[_0x1849f9(0x3e7)]=!0x1;},0x7d0);});return()=>{const _0x11865b=_0x1a3264;_0x4f2a04[_0x11865b(0x3a0)](),_0x22cf34[_0x11865b(0x3a0)]();};}[_0x2444bc(0x2b4)](_0x56b9b0,_0x53c124,_0x93b563,_0x351169){const _0x2dc2c9=_0x2444bc;let _0x4f05d1=0.2,_0x3fc9ad=new _0x430976[(_0x2dc2c9(0x360))](_0x56b9b0)[_0x2dc2c9(0x1e9)](_0x4f05d1)['toRgbString'](),_0x5bf9ec=new _0x229561['RegularPolygon'](_0x2dc2c9(0x17e)+(0x0,_0x430976[_0x2dc2c9(0x16b)])(0x6),{'pointsGroup':_0x53c124,'fill':_0x3fc9ad||(0x0,_0x229561[_0x2dc2c9(0x2dd)])(_0x430976['COLORS']['black'],_0x4f05d1),'left':_0x93b563,'top':_0x351169,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2dc2c9(0x3d9)][_0x2dc2c9(0x2fd)](_0x5bf9ec),this[_0x2dc2c9(0x3ff)][_0x2dc2c9(0x3a7)](_0x5bf9ec,_0x3733f8[_0x2dc2c9(0x183)]);}[_0x2444bc(0x32c)](_0x17be29,_0x4b67ca,_0x129c1b,_0x4a9cb7){const _0xb2ec7b=_0x2444bc;let _0x216998=0.2,_0x45459f=new _0x430976[(_0xb2ec7b(0x360))](_0x17be29)[_0xb2ec7b(0x1e9)](_0x216998)[_0xb2ec7b(0x1f0)](),_0x385b89=new _0x229561[(_0xb2ec7b(0x1ad))](_0xb2ec7b(0x33f)+(0x0,_0x430976[_0xb2ec7b(0x16b)])(0x6),{'pointsGroup':_0x4b67ca,'fill':_0x45459f||(0x0,_0x229561['getColor'])(_0x430976[_0xb2ec7b(0x3cc)][_0xb2ec7b(0x28d)],_0x216998),'left':_0x129c1b,'top':_0x4a9cb7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb2ec7b(0x3d9)][_0xb2ec7b(0x2fd)](_0x385b89),this['_scene']['addObject'](_0x385b89,_0x3733f8[_0xb2ec7b(0x183)]);}[_0x2444bc(0x29b)](_0x33c9da){let _0xd5aae8=_0x33c9da[0x0],_0x4806e6=_0xd5aae8[0x0],_0x1e2f91=_0xd5aae8[0x2],{x:_0x5e387b,y:_0x1b3f48}=_0x4806e6,{x:_0x46ea9b,y:_0x190d4b}=_0x1e2f91;return{'left':_0x5e387b,'top':_0x1b3f48,'width':_0x46ea9b-_0x5e387b,'height':_0x190d4b-_0x1b3f48};}['_getScale'](){const _0xdbf45b=_0x2444bc;let {scaleX:_0x333a6b,scaleY:_0xa92b4e}=this['_scene'][_0xdbf45b(0x205)]();return Math[_0xdbf45b(0x1d1)](_0x333a6b,_0xa92b4e);}};let _0x5b9eec=class extends _0x430976[_0x2444bc(0x1c2)]{constructor(_0x16ffa1,_0x4aa429,_0x106b24,_0x3de8aa,_0xf71bdf){const _0x549eaf=_0x2444bc;super(),this[_0x549eaf(0x432)]=_0x16ffa1,this[_0x549eaf(0x2bc)]=_0x4aa429,this['_collabCursorController']=_0x106b24,this[_0x549eaf(0x42e)]=_0x3de8aa,this['_themeService']=_0xf71bdf,_0x34d1c1(this,_0x549eaf(0x2ac),[]),_0x34d1c1(this,'_cursors',[]),this['_init']();}[_0x2444bc(0x1dd)](){const _0x4eaf06=_0x2444bc;let _0x3b830f=this['_context']['unitId'],_0x146819=this[_0x4eaf06(0x2bc)];this['disposeWithMe']((0x0,_0x31275f[_0x4eaf06(0x23d)])([this['_collabCursorController']['getCollabCursors$'](_0x3b830f),this[_0x4eaf06(0x187)]['currentTheme$']])[_0x4eaf06(0x1e6)]((0x0,_0xdec434[_0x4eaf06(0x404)])(([_0x1bd7e4,_0x31a2f6])=>({'skeleton':_0x146819[_0x4eaf06(0x30f)](),'cursors':[..._0x1bd7e4[_0x4eaf06(0x213)]()][_0x4eaf06(0x211)](_0x214cb2=>({..._0x214cb2,'color':this[_0x4eaf06(0x187)]['getColorFromTheme'](_0x214cb2['color'])}))})))[_0x4eaf06(0x274)](_0x199caf=>{const _0x17dd20=_0x4eaf06;if(this[_0x17dd20(0x421)](),_0x199caf){let {skeleton:_0x24326c,cursors:_0x112fed}=_0x199caf;this[_0x17dd20(0x2f9)](_0x24326c,_0x112fed);}})),this[_0x4eaf06(0x2d8)](),this[_0x4eaf06(0x2c8)]();}[_0x2444bc(0x2f9)](_0x2a69c8,_0x37dc3c){const _0x48e0ed=_0x2444bc;let {scene:_0x203e28,mainComponent:_0x1d1bad}=this[_0x48e0ed(0x432)],_0x2a8847=_0x37dc3c[_0x48e0ed(0x404)](_0x5d2383=>new _0x1b469c(_0x5d2383,_0x203e28,_0x2a69c8,_0x1d1bad));this[_0x48e0ed(0x2ac)]=_0x2a8847,this['_cursors']=_0x37dc3c;}[_0x2444bc(0x3ed)](){const _0x5ac839=_0x2444bc;this[_0x5ac839(0x421)]();let {scene:_0x28997f,mainComponent:_0x383f5b}=this['_context'],_0x116fe1=this[_0x5ac839(0x2bc)][_0x5ac839(0x30f)](),_0x181b06=this['_cursors']['map'](_0x3f4ab8=>new _0x1b469c(_0x3f4ab8,_0x28997f,_0x116fe1,_0x383f5b));this[_0x5ac839(0x2ac)]=_0x181b06;}[_0x2444bc(0x421)](){const _0x3e5625=_0x2444bc;this[_0x3e5625(0x2ac)][_0x3e5625(0x380)](_0x40d2fe=>_0x40d2fe['dispose']()),this['_cursorShapes']=[];}[_0x2444bc(0x2c8)](){const _0x3ddb77=_0x2444bc;let _0x546f8e=[_0x3733f8[_0x3ddb77(0x44c)]['id']];this[_0x3ddb77(0x2f8)](this['_commandService'][_0x3ddb77(0x1b3)](_0x15d9a5=>{const _0x119561=_0x3ddb77;_0x546f8e[_0x119561(0x448)](_0x15d9a5['id'])&&_0x15d9a5['params'][_0x119561(0x2c1)]===this[_0x119561(0x432)]['unitId']&&this[_0x119561(0x3ed)]();}));}[_0x2444bc(0x2d8)](){const _0x7242b5=_0x2444bc;this['disposeWithMe']((0x0,_0x430976['fromEventSubject'])(this[_0x7242b5(0x432)][_0x7242b5(0x32b)][_0x7242b5(0x447)])[_0x7242b5(0x1e6)]((0x0,_0xdec434['filter'])(_0x118abd=>_0x118abd['type']===_0x229561['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x7242b5(0x325)]),(0x0,_0xdec434[_0x7242b5(0x2f2)])(0x10))[_0x7242b5(0x274)](()=>{const _0x64f07f=_0x7242b5;this[_0x64f07f(0x3ed)]();}));}};_0x5b9eec=_0x4e0ded([_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x15b933[_0x2444bc(0x276)])),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x35fdec)),_0x23d40f(0x3,_0x430976['ICommandService']),_0x23d40f(0x4,(0x0,_0x430976['Inject'])(_0x430976[_0x2444bc(0x16d)]))],_0x5b9eec);var _0x102c6d=class extends _0x229561['Shape']{constructor(_0xf2b8fa,_0x23a567){const _0x122920=_0x2444bc;if(super(_0xf2b8fa,_0x23a567),_0x34d1c1(this,_0x122920(0x1b0),void 0x0),_0x34d1c1(this,_0x122920(0x3a9),!0x1),_0x34d1c1(this,_0x122920(0x44d),void 0x0),_0x34d1c1(this,'_name',''),_0x34d1c1(this,_0x122920(0x329),'top'),_0x34d1c1(this,'_backgroundColor',void 0x0),_0x34d1c1(this,_0x122920(0x428),void 0x0),_0x34d1c1(this,_0x122920(0x3ca),void 0x0),_0x34d1c1(this,_0x122920(0x1bc),0x4),_0x34d1c1(this,_0x122920(0x3fa),void 0x0),_0x34d1c1(this,_0x122920(0x2a5),void 0x0),_0x34d1c1(this,_0x122920(0x3df),!0x0),_0x34d1c1(this,_0x122920(0x255),0x0),_0x23a567){var _0x4655e1;if(this[_0x122920(0x24e)](_0x23a567),_0x23a567['highlight']&&((_0x4655e1=_0x23a567[_0x122920(0x34f)])==null?this['_highlightSecond']:_0x4655e1)){var _0x454d15;this[_0x122920(0x2d5)]((_0x454d15=_0x23a567['highlightSecond'])==null?this['_highlightSecond']:_0x454d15);}}this['onPointerEnter$'][_0x122920(0x195)](()=>this[_0x122920(0x24e)]({'hovered':!0x0})),this[_0x122920(0x1ed)][_0x122920(0x195)](()=>this[_0x122920(0x24e)]({'hovered':!0x1}));}[_0x2444bc(0x285)](_0x5f2807){const _0x2747b0=_0x2444bc;this[_0x2747b0(0x255)]=_0x5f2807;}[_0x2444bc(0x24e)](_0x9cdf04){const _0x20528e=_0x2444bc;var _0x548e35,_0x1269aa,_0x236820,_0x3778c0,_0x3d6dfb,_0x225c27,_0xc67e3a;this[_0x20528e(0x1b0)]=(_0x548e35=_0x9cdf04[_0x20528e(0x284)])==null?this['_color']:_0x548e35,this[_0x20528e(0x3a9)]=(_0x1269aa=_0x9cdf04[_0x20528e(0x1b8)])==null?this['_hovered']:_0x1269aa,this[_0x20528e(0x44d)]=(_0x236820=_0x9cdf04['range'])==null?this[_0x20528e(0x44d)]:_0x236820,this[_0x20528e(0x445)]=(_0x3778c0=_0x9cdf04['name'])==null?this[_0x20528e(0x445)]:_0x3778c0,this[_0x20528e(0x329)]=(_0x3d6dfb=_0x9cdf04[_0x20528e(0x31c)])==null?this[_0x20528e(0x329)]:_0x3d6dfb,this[_0x20528e(0x438)]=(_0x225c27=_0x9cdf04[_0x20528e(0x18e)])==null?this[_0x20528e(0x438)]:_0x225c27,this['_showText']=(_0xc67e3a=_0x9cdf04[_0x20528e(0x3cf)])==null?this[_0x20528e(0x428)]:_0xc67e3a,_0x9cdf04[_0x20528e(0x34f)]!==void 0x0&&(this[_0x20528e(0x1bc)]=_0x9cdf04[_0x20528e(0x34f)]),_0x9cdf04[_0x20528e(0x3a1)]!==void 0x0&&(this[_0x20528e(0x3ca)]=_0x9cdf04[_0x20528e(0x3a1)]),_0x9cdf04[_0x20528e(0x3a5)]!==void 0x0&&(this['_offsetY']=_0x9cdf04[_0x20528e(0x3a5)]),this[_0x20528e(0x2fe)]({'width':_0x9cdf04[_0x20528e(0x391)],'height':_0x9cdf04[_0x20528e(0x2dc)]});}[_0x2444bc(0x31d)](_0x86f7aa){const _0x15baf6=_0x2444bc;let {row:_0x1e39fc,column:_0x4fcb42}=_0x86f7aa;if(_0x1e39fc>=this['_range'][_0x15baf6(0x400)]&&_0x1e39fc<=this[_0x15baf6(0x44d)]['endRow']&&_0x4fcb42>=this[_0x15baf6(0x44d)][_0x15baf6(0x316)]&&_0x4fcb42<=this['_range'][_0x15baf6(0x228)]){this[_0x15baf6(0x24e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2444bc(0x2d5)](_0x15158a){const _0xf6c714=_0x2444bc;this[_0xf6c714(0x236)](),this[_0xf6c714(0x3df)]=!0x0,this[_0xf6c714(0x2a5)]=window['setInterval'](()=>{const _0x5d03e9=_0xf6c714;this[_0x5d03e9(0x3df)]=!this['_isBlinkVisible'],this[_0x5d03e9(0x2bd)](!0x0);},0x1f4),this[_0xf6c714(0x3fa)]=window[_0xf6c714(0x38a)](()=>{const _0x8b31b0=_0xf6c714;this[_0x8b31b0(0x236)](),this[_0x8b31b0(0x3df)]=!0x0,this[_0x8b31b0(0x2bd)](!0x0);},_0x15158a*0x3e8);}['_stopBlinking'](){const _0x39ce04=_0x2444bc;this['_blinkIntervalTimer']&&(window['clearInterval'](this[_0x39ce04(0x2a5)]),this[_0x39ce04(0x2a5)]=void 0x0),this[_0x39ce04(0x3fa)]&&(window[_0x39ce04(0x3ee)](this['_blinkTimer']),this[_0x39ce04(0x3fa)]=void 0x0);}[_0x2444bc(0x3ba)](_0x291f26){return!0x1;}['dispose'](){const _0x514cc4=_0x2444bc;this[_0x514cc4(0x236)](),super['dispose']();}[_0x2444bc(0x3ef)](_0xe6dc24){const _0x33e4aa=_0x2444bc;let _0x1f08f2=this['_color'],_0x2f74f6=this[_0x33e4aa(0x438)];if(this[_0x33e4aa(0x3ca)]&&!this[_0x33e4aa(0x3df)]&&(_0x1f08f2=this[_0x33e4aa(0x2ee)](this[_0x33e4aa(0x1b0)]),_0x2f74f6=this['_backgroundColor']?this[_0x33e4aa(0x2ee)](this[_0x33e4aa(0x438)]):void 0x0),_0x229561['Rect'][_0x33e4aa(0x3e5)](_0xe6dc24,{'width':this[_0x33e4aa(0x391)],'height':this['height'],'strokeWidth':this[_0x33e4aa(0x2e2)]||1.5,'stroke':_0x1f08f2,'evented':!0x1,'fill':_0x2f74f6}),this['_hovered']||this['_showText']){var _0x146d02;_0xe6dc24[_0x33e4aa(0x34e)](),_0xe6dc24[_0x33e4aa(0x3dd)](0x1,0x0,0x0,0x1,this[_0x33e4aa(0x391)],(this['_labelPosition']==='bottom'?0x0:-0x14)+((_0x146d02=this[_0x33e4aa(0x255)])==null?0x0:_0x146d02)),_0x24b8cf['drawWith'](_0xe6dc24,{'text':this['_name'],'color':_0x1f08f2}),_0xe6dc24[_0x33e4aa(0x1e7)]();}}[_0x2444bc(0x2ee)](_0x19dbea){const _0x44238a=_0x2444bc;return _0x19dbea[_0x44238a(0x1d2)]('#')?_0x44238a(0x2c2)+Number['parseInt'](_0x19dbea[_0x44238a(0x425)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x19dbea[_0x44238a(0x425)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x19dbea[_0x44238a(0x425)](0x5,0x7),0x10)+_0x44238a(0x2f0):_0x19dbea['startsWith'](_0x44238a(0x346))?_0x19dbea[_0x44238a(0x29e)](/[\d.]+\)$/g,_0x44238a(0x2b7)):_0x19dbea[_0x44238a(0x1d2)](_0x44238a(0x267))?_0x19dbea[_0x44238a(0x29e)](_0x44238a(0x267),_0x44238a(0x346))['replace'](')',_0x44238a(0x2f0)):_0x19dbea;}};let _0x525a2f=class extends _0x430976[_0x2444bc(0x1c2)]{constructor(_0x914a95,_0x2e38f7,_0x3190c6,_0x433f09){const _0x325805=_0x2444bc;super(),this['_context']=_0x914a95,this[_0x325805(0x29c)]=_0x2e38f7,this[_0x325805(0x256)]=_0x3190c6,this[_0x325805(0x187)]=_0x433f09,_0x34d1c1(this,_0x325805(0x296),new Set()),_0x34d1c1(this,_0x325805(0x435),null),_0x34d1c1(this,_0x325805(0x186),null),this[_0x325805(0x1dd)]();}['_init'](){const _0x3620d9=_0x2444bc;this[_0x3620d9(0x29c)][_0x3620d9(0x1b9)][_0x3620d9(0x1e6)]((0x0,_0xdec434[_0x3620d9(0x3a6)])(this['dispose$']),(0x0,_0xdec434['switchMap'])(_0x5c4d34=>{const _0x27f796=_0x3620d9;if(_0x5c4d34){let _0x49f5f7=_0x5c4d34[_0x27f796(0x1bf)];return(0x0,_0x31275f[_0x27f796(0x23d)])(this[_0x27f796(0x256)][_0x27f796(0x440)](this[_0x27f796(0x432)][_0x27f796(0x2c1)]),this[_0x27f796(0x187)]['currentTheme$'])[_0x27f796(0x1e6)]((0x0,_0xdec434[_0x27f796(0x404)])(([_0x11681f,_0x13fb83])=>{const _0x2f4204=_0x27f796;let _0x11149a=new Map();return _0x11681f[_0x2f4204(0x380)]((_0x426986,_0x476c8f)=>{const _0x26eb08=_0x2f4204;if(_0x426986['sheetID']===_0x49f5f7){let _0x2f2941={..._0x426986};_0x2f2941[_0x26eb08(0x284)]=this['_themeService'][_0x26eb08(0x36f)](_0x426986['color']),_0x11149a[_0x26eb08(0x2da)](_0x476c8f,_0x2f2941);}}),{'skeleton':_0x5c4d34,'cursors':_0x11149a};}));}return(0x0,_0x31275f['of'])({'skeleton':null,'cursors':new Map()});}))[_0x3620d9(0x274)](({skeleton:_0x4c5d1f,cursors:_0x295668})=>{const _0x5acd5d=_0x3620d9;this[_0x5acd5d(0x421)](),_0x4c5d1f&&this['_updateCollabCursors'](_0x4c5d1f,_0x295668);}),this[_0x3620d9(0x2f8)](this[_0x3620d9(0x29c)][_0x3620d9(0x1b9)][_0x3620d9(0x1e6)]((0x0,_0xdec434[_0x3620d9(0x3a6)])(this['dispose$']))[_0x3620d9(0x274)](_0x5d48d2=>{const _0x5b4c5c=_0x3620d9;var _0x281213;if(_0x5d48d2==null)return;(_0x281213=this[_0x5b4c5c(0x186)])==null||_0x281213[_0x5b4c5c(0x3a0)](),this[_0x5b4c5c(0x186)]=null;let {skeleton:_0x1f563a}=_0x5d48d2,{scene:_0xeee100}=this['_context'];this[_0x5b4c5c(0x186)]=_0xeee100[_0x5b4c5c(0x1ec)][_0x5b4c5c(0x195)]((0x0,_0x430976['debounce'])(_0x33032e=>{const _0x33ca2e=_0x5b4c5c;var _0x1ff27b,_0xc71957;let {offsetX:_0x4db543,offsetY:_0x1555e1}=_0x33032e,{x:_0x17e122,y:_0x52efdf}=_0xeee100[_0x33ca2e(0x1e2)](_0x229561['Vector2']['FromArray']([_0x4db543,_0x1555e1])),{scaleX:_0x22edbb,scaleY:_0x549485}=_0xeee100[_0x33ca2e(0x205)](),_0x1c17b8=_0xeee100[_0x33ca2e(0x347)](_0x229561['SHEET_VIEWPORT_KEY'][_0x33ca2e(0x408)]),_0x53151e=_0xeee100['getVpScrollXYInfoByPosToVp'](_0x229561[_0x33ca2e(0x333)][_0x33ca2e(0x1fa)]([_0x17e122,_0x52efdf]),_0x1c17b8),_0x4776b7=_0x1f563a[_0x33ca2e(0x423)](_0x4db543,_0x1555e1,_0x22edbb,_0x549485,_0x53151e);((_0x1ff27b=this['_lastPointer'])==null?void 0x0:_0x1ff27b['column'])===_0x4776b7['column']&&((_0xc71957=this[_0x33ca2e(0x435)])==null?void 0x0:_0xc71957['row'])===_0x4776b7[_0x33ca2e(0x31f)]||this[_0x33ca2e(0x296)][_0x33ca2e(0x380)](_0x58f44a=>{_0x58f44a['onMouseMove'](_0x4776b7);});},0x64));})),this[_0x3620d9(0x2f8)]((0x0,_0x430976[_0x3620d9(0x3d7)])(()=>{const _0x3261f1=_0x3620d9;var _0x288191;(_0x288191=this['_pointerMoveDisposable'])==null||_0x288191[_0x3261f1(0x3a0)](),this['_pointerMoveDisposable']=null;}));}['_updateCollabCursors'](_0x4afe52,_0x49c95b){const _0x23d126=_0x2444bc;let _0x258b52=this[_0x23d126(0x29c)][_0x23d126(0x372)]();if(!_0x258b52)return;let _0x4625cb=this['_getSheetObject']();if(!_0x4625cb)return;this[_0x23d126(0x296)][_0x23d126(0x380)](_0x4356f6=>{const _0xd46ea3=_0x23d126;_0x4356f6[_0xd46ea3(0x2bd)]();});let {scene:_0x33275f}=_0x4625cb,_0x52d276=_0x2838a4(Array['from'](_0x49c95b[_0x23d126(0x213)]()))[_0x23d126(0x404)](_0x540fc7=>{const _0x3b00ca=_0x23d126;let {color:_0x2e1680,range:_0x5e33b0,name:_0x297eee,selection:_0x5b5edb,sheetID:_0xad60c0}=_0x540fc7,{startColumn:_0x86c67f,startRow:_0x2423a5,endColumn:_0x32028c,endRow:_0x5616fe}=_0x5e33b0,_0x503262=(0x0,_0x3430f3[_0x3b00ca(0x268)])(_0x2423a5,_0x86c67f,_0x33275f,_0x258b52),_0x143020=(0x0,_0x3430f3['getCoordByCell'])(_0x5616fe,_0x32028c,_0x33275f,_0x258b52),{columnHeaderHeightAndMarginTop:_0x2b4cfb}=_0x258b52,{startX:_0x36a9da,startY:_0x168650}=_0x503262,{endX:_0x2a3fc0,endY:_0xaa0dbc}=_0x143020,_0x2de099=_0x2a3fc0-_0x36a9da,_0x435e01=_0xaa0dbc-_0x168650;return new _0x102c6d(_0x297eee,{'labelPosition':_0x168650-_0x2b4cfb>=0x14?_0x3b00ca(0x3aa):'bottom','sheetID':_0xad60c0,'range':_0x5e33b0,'color':_0x2e1680,'name':_0x297eee,'selection':_0x5b5edb,'left':_0x36a9da,'top':_0x168650,'width':_0x2de099,'height':_0x435e01,'evented':!0x1,'zIndex':0x1389});});_0x33275f[_0x23d126(0x374)](_0x52d276,0x1),this[_0x23d126(0x296)]=new Set(_0x52d276);}[_0x2444bc(0x421)](){const _0x59bdcc=_0x2444bc;var _0x443a93;(_0x443a93=this[_0x59bdcc(0x296)])==null||_0x443a93[_0x59bdcc(0x380)](_0x50f02b=>_0x50f02b[_0x59bdcc(0x3d1)]());}[_0x2444bc(0x2a4)](){const _0x13760d=_0x2444bc;return(0x0,_0x3430f3[_0x13760d(0x396)])(this[_0x13760d(0x432)][_0x13760d(0x1a2)],this[_0x13760d(0x432)]);}};_0x525a2f=_0x4e0ded([_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x3430f3[_0x2444bc(0x415)])),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x35fdec)),_0x23d40f(0x3,(0x0,_0x430976['Inject'])(_0x430976[_0x2444bc(0x16d)]))],_0x525a2f);function _0x2838a4(_0x44886b){const _0x2f637a=_0x2444bc;let _0x393d82=new Map();return _0x44886b[_0x2f637a(0x380)](_0x49add8=>{const _0x2c9a61=_0x2f637a;if(_0x393d82[_0x2c9a61(0x27b)](_0x49add8['selection'])){let _0xdb1be8=_0x393d82[_0x2c9a61(0x1a1)](_0x49add8[_0x2c9a61(0x29a)]);_0xdb1be8[_0x2c9a61(0x3b7)]+=',\x20'+_0x49add8[_0x2c9a61(0x3b7)];}else _0x393d82['set'](_0x49add8[_0x2c9a61(0x29a)],_0x49add8);}),Array[_0x2f637a(0x387)](_0x393d82[_0x2f637a(0x213)]());}let _0x527af8=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0x472be8,_0x18455b,_0x767221,_0x3016c0,_0x2cc636,_0x1ae0c6){const _0x21f901=_0x2444bc;super(),this[_0x21f901(0x41c)]=_0x472be8,this[_0x21f901(0x1ef)]=_0x18455b,this['_collaborationUIEventService']=_0x767221,this[_0x21f901(0x24b)]=_0x3016c0,this[_0x21f901(0x1f1)]=_0x2cc636,this[_0x21f901(0x3fc)]=_0x1ae0c6,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x2444bc(0x424)](){const _0xc69584=_0x2444bc;this[_0xc69584(0x2f8)](this['_beforeCloseService'][_0xc69584(0x3f3)](()=>{const _0x131547=_0xc69584;if(this[_0x131547(0x1ef)][_0x131547(0x2e8)][_0x131547(0x212)])return this[_0x131547(0x3fc)]['t'](_0x131547(0x3bd));}));}[_0x2444bc(0x3c4)](){const _0x343fc2=_0x2444bc;this[_0x343fc2(0x2f8)](this[_0x343fc2(0x1e3)][_0x343fc2(0x16a)][_0x343fc2(0x274)](_0x1284b2=>{const _0x28338b=_0x343fc2;_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)]['OTHER_CLIENT_EDITING']&&this[_0x28338b(0x24b)][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)][_0x28338b(0x2cd)],'content':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x169))}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)][_0x28338b(0x250)]&&this[_0x28338b(0x24b)][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)][_0x28338b(0x2cd)],'content':this['_localeService']['t'](_0x28338b(0x366))}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)]['PERMISSION_DENIED']&&this[_0x28338b(0x1f1)][_0x28338b(0x3d2)]({'title':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x298)),'content':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x413)),'type':'error','duration':0x0}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)]['CONFLICT']&&this['_messageService'][_0x28338b(0x3d2)]({'type':_0x276ac3['MessageType'][_0x28338b(0x2b9)],'content':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x366))+'('+_0x1284b2[_0x28338b(0x321)]+')'}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)][_0x28338b(0x2a7)]&&this['_messageService'][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)][_0x28338b(0x2cd)],'content':this[_0x28338b(0x3fc)]['t'](_0x1284b2[_0x28338b(0x321)]||'')}),_0x1284b2['id']===_0x21dc5a['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x28338b(0x24b)][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)]['Warning'],'content':this['_localeService']['t'](_0x28338b(0x41e))}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)][_0x28338b(0x2ca)]&&this[_0x28338b(0x24b)][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)][_0x28338b(0x2b9)],'content':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x1da))}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)][_0x28338b(0x2be)]&&this['_messageService'][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)][_0x28338b(0x2b9)],'content':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x165))});}));}};_0x527af8=_0x4e0ded([_0x23d40f(0x0,_0x2f7572[_0x2444bc(0x39e)]),_0x23d40f(0x1,_0x21dc5a[_0x2444bc(0x3ae)]),_0x23d40f(0x2,(0x0,_0x430976['Inject'])(_0x21dc5a[_0x2444bc(0x252)])),_0x23d40f(0x3,_0x2f7572['IMessageService']),_0x23d40f(0x4,_0x2f7572['INotificationService']),_0x23d40f(0x5,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x21e)]))],_0x527af8);let _0x429e50={},_0x13a006=class{constructor(_0x251220,_0x938dc7){const _0x555ac8=_0x2444bc;this[_0x555ac8(0x434)]=_0x251220,this[_0x555ac8(0x44b)]=_0x938dc7;}[_0x2444bc(0x192)](_0x3afc15){const _0x1dc487=_0x2444bc;this[_0x1dc487(0x37c)](_0x3afc15),this[_0x1dc487(0x1c3)](_0x3afc15);}[_0x2444bc(0x180)](_0x1ef848){const _0x44d937=_0x2444bc;let {unitID:_0x364cb7}=_0x1ef848,{redoCache:_0x2159fe}=this[_0x44d937(0x44b)][_0x44d937(0x1be)](_0x364cb7)[_0x44d937(0x33c)](_0x3733f8[_0x44d937(0x18b)])['getUndoRedoMutationParamsCache']();if(_0x2159fe[_0x44d937(0x1ae)]===0x0)return _0x1ef848;let _0x8c6a22=_0x430976['Tools'][_0x44d937(0x2b3)](_0x1ef848[_0x44d937(0x193)][0x0]);for(let _0x182f1a=0x0;_0x182f1a<_0x2159fe[_0x44d937(0x1ae)];_0x182f1a++){let _0x15e155={'id':_0x44d937(0x214),'params':{..._0x2159fe[_0x182f1a]}},_0x508356=this[_0x44d937(0x434)][_0x44d937(0x2d2)](_0x8c6a22,_0x15e155,!0x1);if((0x0,_0xf33e7d[_0x44d937(0x302)])(_0x508356))throw _0x508356[_0x44d937(0x1df)];_0x8c6a22=_0x508356[_0x44d937(0x3c5)];}return{..._0x430976[_0x44d937(0x178)][_0x44d937(0x2b3)](_0x1ef848),'mutations':[_0x8c6a22]};}['_transformUndoRedoStack'](_0xa5ca4f){const _0x419439=_0x2444bc;let {unitID:_0x1f6c9e}=_0xa5ca4f,_0x11c0d3=this[_0x419439(0x44b)][_0x419439(0x1be)](_0x1f6c9e)[_0x419439(0x33c)](_0x3733f8[_0x419439(0x18b)]),{undoCache:_0x971f99,redoCache:_0x1bfd52}=_0x11c0d3[_0x419439(0x2cf)]();if(_0x971f99['length']===0x0||_0x1bfd52[_0x419439(0x1ae)]===0x0)return;let _0x22d821=[],_0x10ac64=[],_0xcf1766=_0x430976[_0x419439(0x178)][_0x419439(0x2b3)](_0xa5ca4f[_0x419439(0x193)][0x0]),_0xa6bc68=_0x430976['Tools'][_0x419439(0x2b3)](_0xa5ca4f[_0x419439(0x193)][0x0]);for(let _0x17b9d3=_0x971f99['length']-0x1;_0x17b9d3>=0x0;_0x17b9d3--){let _0x1b787c={'id':_0x419439(0x214),'params':{..._0x971f99[_0x17b9d3]}},_0x259357={'id':_0x419439(0x214),'params':{..._0x1bfd52[_0x17b9d3]}},_0x43d63e=this[_0x419439(0x434)][_0x419439(0x2d2)](_0xcf1766,_0x1b787c,!0x1),_0xbe642f=this[_0x419439(0x434)][_0x419439(0x2d2)](_0xa6bc68,_0x259357,!0x1);if((0x0,_0xf33e7d[_0x419439(0x302)])(_0x43d63e))throw _0x43d63e[_0x419439(0x1df)];if((0x0,_0xf33e7d[_0x419439(0x302)])(_0xbe642f))throw _0xbe642f['error'];_0x22d821[_0x419439(0x317)](_0x43d63e[_0x419439(0x1a9)][_0x419439(0x1ca)]),_0x10ac64['unshift'](_0xbe642f['m2Prime']['params']),_0xcf1766=_0x43d63e[_0x419439(0x3c5)],_0xa6bc68=_0xbe642f[_0x419439(0x3c5)];}_0x11c0d3[_0x419439(0x264)]({'undoCache':_0x22d821,'redoCache':_0x10ac64});}[_0x2444bc(0x1c3)](_0x4e9e2b){const _0x1a77ec=_0x2444bc;let {unitID:_0x1b4ebd}=_0x4e9e2b,_0x344432=this[_0x1a77ec(0x44b)][_0x1a77ec(0x1be)](_0x1b4ebd)[_0x1a77ec(0x33c)](_0x3733f8[_0x1a77ec(0x18b)]),_0x290f2b=_0x344432[_0x1a77ec(0x3bb)]();if(_0x290f2b==null)return;let _0x6d997b=[{'id':_0x1a77ec(0x214),'params':{'unitId':_0x4e9e2b[_0x1a77ec(0x177)],'actions':null,'textRanges':[_0x290f2b]}}],_0x5bbc8d=this[_0x1a77ec(0x434)][_0x1a77ec(0x309)](_0x4e9e2b,_0x6d997b);if(!(0x0,_0xf33e7d[_0x1a77ec(0x2af)])(_0x5bbc8d))throw _0x5bbc8d[_0x1a77ec(0x1df)];let _0x6d78fe=_0x5bbc8d[_0x1a77ec(0x1a9)][0x0][_0x1a77ec(0x1ca)]['textRanges'];Array['isArray'](_0x6d78fe)&&_0x6d78fe[_0x1a77ec(0x1ae)]&&_0x344432[_0x1a77ec(0x167)](_0x6d78fe[0x0]);}};_0x13a006=_0x4e0ded([_0x23d40f(0x0,_0xf33e7d[_0x2444bc(0x37b)]),_0x23d40f(0x1,_0x229561[_0x2444bc(0x223)])],_0x13a006);let _0x3640a8=class{constructor(_0x266c6d,_0x381d70,_0x589b07){const _0x1d7b37=_0x2444bc;this[_0x1d7b37(0x345)]=_0x266c6d,this[_0x1d7b37(0x434)]=_0x381d70,this[_0x1d7b37(0x2e4)]=_0x589b07;}[_0x2444bc(0x1b2)](_0x262e10){const _0x1e906b=_0x2444bc;this[_0x1e906b(0x310)](_0x262e10);}['transformRemoteChangeset'](_0x32af8c){const _0x58f2cf=_0x2444bc;let {unitID:_0xe1f1f}=_0x32af8c,{collaboration:_0x238e15}=this[_0x58f2cf(0x2e4)][_0x58f2cf(0x170)](_0xe1f1f);if(_0x238e15[_0x58f2cf(0x1ae)]===0x0)return _0x32af8c;let _0xed4145=_0x430976[_0x58f2cf(0x178)]['deepClone'](_0x32af8c[_0x58f2cf(0x193)][0x0]);for(let _0x4bdb3d=0x0;_0x4bdb3d<_0x238e15['length'];_0x4bdb3d++){let _0x325ec9={'id':_0x58f2cf(0x214),'params':{'unitId':_0x238e15[_0x4bdb3d]['unitId'],..._0x238e15[_0x4bdb3d][_0x58f2cf(0x3cd)]}},_0x512cb3=this[_0x58f2cf(0x434)][_0x58f2cf(0x2d2)](_0xed4145,_0x325ec9,!0x1);if((0x0,_0xf33e7d[_0x58f2cf(0x302)])(_0x512cb3))throw _0x512cb3[_0x58f2cf(0x1df)];_0xed4145=_0x512cb3[_0x58f2cf(0x3c5)];}return{..._0x430976[_0x58f2cf(0x178)]['deepClone'](_0x32af8c),'mutations':[_0xed4145]};}[_0x2444bc(0x310)](_0x4d2b40){const _0x169c01=_0x2444bc;let {unitID:_0x48e162}=_0x4d2b40,{history:_0x30c7e1,collaboration:_0x171275}=this['_docStateChangeManagerService'][_0x169c01(0x170)](_0x48e162);if(_0x30c7e1['length']===0x0&&_0x171275[_0x169c01(0x1ae)]===0x0)return;let _0x50f4e7=[],_0x140bad=[],_0x3f48b5=_0x430976[_0x169c01(0x178)][_0x169c01(0x2b3)](_0x4d2b40[_0x169c01(0x193)][0x0]),_0x1f463e=_0x430976[_0x169c01(0x178)][_0x169c01(0x2b3)](_0x4d2b40[_0x169c01(0x193)][0x0]);for(let _0x3fc204=_0x30c7e1[_0x169c01(0x1ae)]-0x1;_0x3fc204>=0x0;_0x3fc204--){let _0x431771={'id':_0x169c01(0x214),'params':{'unitId':_0x30c7e1[_0x3fc204][_0x169c01(0x2c1)],..._0x30c7e1[_0x3fc204][_0x169c01(0x174)]}},_0x2b0c33={'id':_0x169c01(0x214),'params':{'unitId':_0x30c7e1[_0x3fc204][_0x169c01(0x2c1)],..._0x30c7e1[_0x3fc204][_0x169c01(0x3cd)]}},_0x2ddaa3=this[_0x169c01(0x434)]['transformMutation'](_0x3f48b5,_0x431771,!0x1),_0x477300=this[_0x169c01(0x434)][_0x169c01(0x2d2)](_0x1f463e,_0x2b0c33,!0x1);if((0x0,_0xf33e7d[_0x169c01(0x302)])(_0x2ddaa3))throw _0x2ddaa3[_0x169c01(0x1df)];if((0x0,_0xf33e7d[_0x169c01(0x302)])(_0x477300))throw _0x477300[_0x169c01(0x1df)];_0x50f4e7[_0x169c01(0x317)]({..._0x30c7e1[_0x3fc204],'undoState':_0x2ddaa3[_0x169c01(0x1a9)][_0x169c01(0x1ca)],'redoState':_0x477300[_0x169c01(0x1a9)][_0x169c01(0x1ca)]}),_0x3f48b5=_0x2ddaa3[_0x169c01(0x3c5)],_0x1f463e=_0x477300[_0x169c01(0x3c5)];}_0x3f48b5=_0x430976[_0x169c01(0x178)]['deepClone'](_0x4d2b40[_0x169c01(0x193)][0x0]),_0x1f463e=_0x430976[_0x169c01(0x178)][_0x169c01(0x2b3)](_0x4d2b40[_0x169c01(0x193)][0x0]);for(let _0x34655e=_0x171275[_0x169c01(0x1ae)]-0x1;_0x34655e>=0x0;_0x34655e--){let _0x5b6ade={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x171275[_0x34655e][_0x169c01(0x2c1)],..._0x171275[_0x34655e][_0x169c01(0x174)]}},_0x1f9b83={'id':_0x169c01(0x214),'params':{'unitId':_0x171275[_0x34655e][_0x169c01(0x2c1)],..._0x171275[_0x34655e][_0x169c01(0x3cd)]}},_0x22e150=this[_0x169c01(0x434)][_0x169c01(0x2d2)](_0x3f48b5,_0x5b6ade,!0x1),_0x4a1fc9=this['_transformService'][_0x169c01(0x2d2)](_0x1f463e,_0x1f9b83,!0x1);if((0x0,_0xf33e7d[_0x169c01(0x302)])(_0x22e150))throw _0x22e150[_0x169c01(0x1df)];if((0x0,_0xf33e7d[_0x169c01(0x302)])(_0x4a1fc9))throw _0x4a1fc9['error'];_0x140bad[_0x169c01(0x317)]({..._0x171275[_0x34655e],'undoState':_0x22e150[_0x169c01(0x1a9)]['params'],'redoState':_0x4a1fc9[_0x169c01(0x1a9)]['params']}),_0x3f48b5=_0x22e150[_0x169c01(0x3c5)],_0x1f463e=_0x4a1fc9[_0x169c01(0x3c5)];}this['_docStateChangeManagerService']['setStateCache'](_0x48e162,{'history':_0x50f4e7,'collaboration':_0x140bad});}};_0x3640a8=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x1,_0xf33e7d[_0x2444bc(0x37b)]),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x3733f8['DocStateChangeManagerService']))],_0x3640a8);let _0x225549=class{constructor(_0x124184,_0x4d4613){const _0x20930c=_0x2444bc;this[_0x20930c(0x345)]=_0x124184,this[_0x20930c(0x434)]=_0x4d4613;}[_0x2444bc(0x194)](_0x67fae3){const _0x2ae575=_0x2444bc;var _0x5e29db;let _0x1758b5=this[_0x2ae575(0x345)]['get'](_0x15b933[_0x2ae575(0x3f5)]),_0xe10df6=(_0x5e29db=_0x1758b5['getDocRanges']())==null?[]:_0x5e29db;if(_0xe10df6['length']===0x0)return;let _0x4a3a72=_0x67fae3['unitID'],_0x31f208=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a3a72,'actions':null,'textRanges':_0xe10df6}}],_0x46dbc3=this[_0x2ae575(0x434)][_0x2ae575(0x309)](_0x67fae3,_0x31f208);if(!(0x0,_0xf33e7d[_0x2ae575(0x2af)])(_0x46dbc3))throw _0x46dbc3[_0x2ae575(0x1df)];let _0x2cf95e=_0x46dbc3['m2Prime'][0x0]['params']['textRanges'];Array[_0x2ae575(0x3c0)](_0x2cf95e)&&_0x2cf95e[_0x2ae575(0x1ae)]&&_0x1758b5[_0x2ae575(0x2df)](_0x2cf95e,{'unitId':_0x4a3a72,'subUnitId':_0x4a3a72},!0x1);}};_0x225549=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x1,_0xf33e7d[_0x2444bc(0x37b)])],_0x225549);let _0x114747=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0x332dfc,_0x8bd5a3,_0x14debb,_0xace013,_0x27844d,_0x40891d,_0x27e120,_0x1aa441){const _0x120b4f=_0x2444bc;super(),this[_0x120b4f(0x2e4)]=_0x332dfc,this['_collaborationController']=_0x8bd5a3,this[_0x120b4f(0x248)]=_0x14debb,this[_0x120b4f(0x164)]=_0xace013,this['_docTransformSelectionsService']=_0x27844d,this[_0x120b4f(0x1ee)]=_0x40891d,this['_messageService']=_0x27e120,this[_0x120b4f(0x3fc)]=_0x1aa441,_0x34d1c1(this,'_status$',new _0x31275f[(_0x120b4f(0x1d0))](_0x21dc5a[_0x120b4f(0x2a8)][_0x120b4f(0x312)])),this[_0x120b4f(0x3a2)]();}[_0x2444bc(0x3a2)](){const _0x3be8de=_0x2444bc;this[_0x3be8de(0x2f8)](this[_0x3be8de(0x26e)][_0x3be8de(0x35e)][_0x3be8de(0x274)](_0x3c92bb=>{const _0x2c9485=_0x3be8de;let _0x4fc438=this[_0x2c9485(0x2e4)]['docStateChange$']['subscribe'](_0x37a4e5=>{const _0x5e8107=_0x2c9485;if(_0x37a4e5==null)return;let {unitId:_0x18a4be,redoState:_0x466067,commandId:_0x6b2768}=_0x37a4e5;if(_0x18a4be!==_0x3c92bb['unitID'])return;let _0x24e47f={'id':_0x6b2768,'type':_0x430976[_0x5e8107(0x40f)][_0x5e8107(0x209)],'params':{'unitId':_0x18a4be,'actions':_0x466067[_0x5e8107(0x36c)],'textRanges':null}};_0x3c92bb[_0x5e8107(0x1f8)](_0x24e47f);});_0x3c92bb[_0x2c9485(0x2f8)](_0x4fc438),_0x3c92bb instanceof _0x21dc5a[_0x2c9485(0x2a3)]&&_0x3c92bb['addHandlerCallback']({'onTransformIME':_0x1fa9ae=>this[_0x2c9485(0x248)][_0x2c9485(0x192)](_0x1fa9ae),'onTransformState':_0x1e8108=>this[_0x2c9485(0x164)][_0x2c9485(0x1b2)](_0x1e8108),'onTransformSelections':_0x1bb631=>this[_0x2c9485(0x3b5)][_0x2c9485(0x194)](_0x1bb631),'onSyncEditingCollabCursor':_0x4d7f92=>this[_0x2c9485(0x1ee)][_0x2c9485(0x3d3)](_0x4d7f92),'onTransformRemoteChangesetByIMECache':_0x3fab9f=>this[_0x2c9485(0x248)][_0x2c9485(0x180)](_0x3fab9f),'onTransformRemoteChangesetByStateCache':_0x40ac10=>this['_docTransformStateCacheService'][_0x2c9485(0x180)](_0x40ac10)});}));}};_0x114747=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976[_0x2444bc(0x286)])(_0x3733f8[_0x2444bc(0x349)])),_0x23d40f(0x1,(0x0,_0x430976['Inject'])(_0x21dc5a[_0x2444bc(0x232)])),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x13a006)),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x3640a8)),_0x23d40f(0x4,(0x0,_0x430976[_0x2444bc(0x286)])(_0x225549)),_0x23d40f(0x5,(0x0,_0x430976[_0x2444bc(0x286)])(_0x26444f)),_0x23d40f(0x6,_0x2f7572[_0x2444bc(0x2ed)]),_0x23d40f(0x7,(0x0,_0x430976['Inject'])(_0x430976[_0x2444bc(0x21e)]))],_0x114747);let _0x4670c5=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0x253f82,_0x2f45ba,_0x35ecc0,_0x1c0e27){const _0x4513c2=_0x2444bc;super(),this[_0x4513c2(0x345)]=_0x253f82,this['_httpService']=_0x2f45ba,this[_0x4513c2(0x439)]=_0x35ecc0,this[_0x4513c2(0x254)]=_0x1c0e27,_0x34d1c1(this,'_memberID',void 0x0),this[_0x4513c2(0x1dd)]();}[_0x2444bc(0x1dd)](){const _0x27f885=_0x2444bc;this[_0x27f885(0x35c)](),this[_0x27f885(0x405)](),this[_0x27f885(0x1c9)](),this[_0x27f885(0x342)]();}[_0x2444bc(0x342)](){const _0x4a47b4=_0x2444bc;this['disposeWithMe'](this[_0x4a47b4(0x254)][_0x4a47b4(0x23e)]['subscribe'](_0x22b124=>{const _0x5baea1=_0x4a47b4;this['_memberID']=_0x22b124==null?void 0x0:_0x22b124[_0x5baea1(0x386)];}));}[_0x2444bc(0x35c)](){const _0x270397=_0x2444bc;let _0x4dd31b=_0x47a509=>{const _0x37e745=_0x3284;var _0x3ad69b;this[_0x37e745(0x246)]('error',_0x37e745(0x3be)+_0x47a509[_0x37e745(0x38d)]+_0x37e745(0x3c9)+_0x47a509[_0x37e745(0x31b)]+':'+_0x47a509['lineno']+':'+_0x47a509[_0x37e745(0x273)]+'\x0a'+(((_0x3ad69b=_0x47a509[_0x37e745(0x1df)])==null?void 0x0:_0x3ad69b[_0x37e745(0x38c)])||''));};window[_0x270397(0x2ae)]('error',_0x4dd31b),this[_0x270397(0x2f8)](()=>{const _0x4ecdbb=_0x270397;window['removeEventListener'](_0x4ecdbb(0x1df),_0x4dd31b);});}[_0x2444bc(0x405)](){const _0x10ecb5=_0x2444bc;let _0x1af0e6=_0x5d7fda=>{const _0x1882f0=_0x3284;this[_0x1882f0(0x246)](_0x1882f0(0x1df),_0x1882f0(0x231)+_0x5d7fda['reason']);};window['addEventListener']('unhandledrejection',_0x1af0e6),this[_0x10ecb5(0x2f8)](()=>{const _0x1e2737=_0x10ecb5;window[_0x1e2737(0x200)](_0x1e2737(0x30d),_0x1af0e6);});}['_monkeyPatchLogService'](){const _0xd70fb7=_0x2444bc;let _0x61ee82=this[_0xd70fb7(0x439)][_0xd70fb7(0x1df)][_0xd70fb7(0x2ad)](this['_logService']);this[_0xd70fb7(0x439)][_0xd70fb7(0x1df)]=(..._0x3258b3)=>{const _0x56d9b3=_0xd70fb7;let _0x248d49=_0x3258b3[_0x56d9b3(0x404)](_0x14b3f2=>_0x14b3f2 instanceof Error?_0x14b3f2[_0x56d9b3(0x38d)]+'\x0a'+_0x14b3f2[_0x56d9b3(0x38c)]:String(_0x14b3f2))[_0x56d9b3(0x42a)]('\x20');this[_0x56d9b3(0x246)]('error',_0x56d9b3(0x281)+_0x248d49),_0x61ee82(..._0x3258b3);},this[_0xd70fb7(0x2f8)](()=>{const _0x5bcf8c=_0xd70fb7;this[_0x5bcf8c(0x439)][_0x5bcf8c(0x1df)]=_0x61ee82;});}['_uploadLog'](_0x371001,_0x45d3c5){const _0x394c6a=_0x2444bc;try{let _0x2a24cf={'userId':this[_0x394c6a(0x1fb)],'logLabel':_0x371001,'content':_0x45d3c5};this[_0x394c6a(0x2d0)]['post'](_0x394c6a(0x2e1),{'body':_0x2a24cf})[_0x394c6a(0x1d8)](()=>{});}catch{}}};_0x4670c5=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x116517[_0x2444bc(0x26a)])),_0x23d40f(0x2,_0x430976[_0x2444bc(0x30c)]),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a[_0x2444bc(0x337)]))],_0x4670c5);function _0x4355df(_0x2f424a){const _0x50ada9=_0x2444bc;var _0x2de13a,_0x39ff7b;let _0x2dd384=(_0x2de13a=_0x2f424a[_0x50ada9(0x258)])==null?void 0x0:_0x2de13a[_0x50ada9(0x343)],_0x2b26de=((_0x39ff7b=_0x2f424a['stageInfo'])==null?void 0x0:_0x39ff7b[_0x50ada9(0x219)])||0x0;return _0x2dd384===_0x4b3ad6[_0x50ada9(0x3b2)][_0x50ada9(0x3c2)]&&_0x2b26de>0x0;}function _0x109780(_0x90bfc4){const _0x3c1a18=_0x2444bc;return _0x90bfc4[_0x3c1a18(0x356)]===_0x4b3ad6[_0x3c1a18(0x368)][_0x3c1a18(0x344)];}let _0x351239=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0x50817d,_0x1c0e57,_0x3933ff,_0xdc5037,_0x2a06ce,_0x290bd8,_0x5a19c4){const _0x42e348=_0x2444bc;super(),this['_messageService']=_0x50817d,this['_commandService']=_0x1c0e57,this[_0x42e348(0x266)]=_0x3933ff,this['_httpService']=_0xdc5037,this[_0x42e348(0x40a)]=_0x2a06ce,this[_0x42e348(0x439)]=_0x290bd8,this['_localeService']=_0x5a19c4,_0x34d1c1(this,_0x42e348(0x1a4),null),_0x34d1c1(this,_0x42e348(0x1ba),0x0),_0x34d1c1(this,'_currentUsage',0x0),_0x34d1c1(this,_0x42e348(0x2d1),[]),_0x34d1c1(this,_0x42e348(0x1cf),0x0),this[_0x42e348(0x224)]();}[_0x2444bc(0x224)](){const _0x1e9a99=_0x2444bc;this[_0x1e9a99(0x2f8)](this[_0x1e9a99(0x42e)]['beforeCommandExecuted']((_0x50a741,_0x421e21)=>{const _0x8684b4=_0x1e9a99;var _0x57836d;if(_0x50a741['id']!==_0x4b3ad6['SetFormulaCalculationStartMutation']['id'])return;let _0x553ca9=_0x50a741[_0x8684b4(0x1ca)];if(this[_0x8684b4(0x1e8)]((_0x57836d=_0x553ca9[_0x8684b4(0x3d0)])==null?[]:_0x57836d)&&!this[_0x8684b4(0x176)]())throw this[_0x8684b4(0x361)](_0x50a741,_0x421e21),this['_showGuardMessage'](),new _0x430976[(_0x8684b4(0x1a6))]();})),this[_0x1e9a99(0x2f8)](this['_commandService']['onCommandExecuted']((_0x122e59,_0x41d8e3)=>{const _0x576e8e=_0x1e9a99;if(_0x122e59['id']!==_0x4b3ad6['SetFormulaCalculationNotificationMutation']['id'])return;let _0x59ffa8=_0x122e59[_0x576e8e(0x1ca)];if(_0x4355df(_0x59ffa8)){let _0x515a09=(0x0,_0x430976[_0x576e8e(0x16b)])();this[_0x576e8e(0x2d1)][_0x576e8e(0x2fd)](_0x515a09),this[_0x576e8e(0x358)](_0x515a09);}else{if(_0x109780(_0x59ffa8)&&this[_0x576e8e(0x2d1)]['length']>0x0){let _0x53959b=this[_0x576e8e(0x2d1)][_0x576e8e(0x2d6)]();this[_0x576e8e(0x23c)](_0x53959b);}}}));}['dispose'](){const _0x5be8d5=_0x2444bc;super[_0x5be8d5(0x3d1)](),this['_clearPolling'](),this[_0x5be8d5(0x2d1)]=[],this[_0x5be8d5(0x19c)]=0x0,this[_0x5be8d5(0x1ba)]=0x0,this[_0x5be8d5(0x1cf)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x3094c1,_0x59ad59){const _0x29a92e=_0x2444bc;for(let _0x162a86=0x0;_0x162a86<0x1e;_0x162a86++)try{if(await this[_0x29a92e(0x23f)](),this['_checkCalculationAvailable']()){this[_0x29a92e(0x397)](_0x3094c1,_0x59ad59),this[_0x29a92e(0x24b)][_0x29a92e(0x3d2)]({'content':this['_localeService']['t']('collaboration-client-ui.formula.calculation.started'),'type':_0x276ac3[_0x29a92e(0x419)][_0x29a92e(0x420)]});return;}await new Promise(_0x35177c=>{const _0x19f7d5=_0x29a92e;this[_0x19f7d5(0x1a4)]=window[_0x19f7d5(0x38a)](_0x35177c,0x3e8);});}catch(_0x2dc9a1){this['_logService'][_0x29a92e(0x1df)](_0x2dc9a1);}this[_0x29a92e(0x24b)][_0x29a92e(0x3d2)]({'content':this['_localeService']['t'](_0x29a92e(0x270)),'type':_0x276ac3['MessageType']['Error']});}[_0x2444bc(0x397)](_0x97eeb6,_0x51924a){const _0x42d04e=_0x2444bc;try{this[_0x42d04e(0x42e)]['executeCommand'](_0x97eeb6['id'],_0x97eeb6[_0x42d04e(0x1ca)],_0x51924a);}catch(_0x6e3845){this['_logService'][_0x42d04e(0x1df)](_0x6e3845);}}[_0x2444bc(0x301)](_0x594795,_0x142de6){const _0x214a89=_0x2444bc;_0x142de6<this[_0x214a89(0x1cf)]||(this[_0x214a89(0x1cf)]=_0x142de6,this[_0x214a89(0x1ba)]=Number[_0x214a89(0x41b)](_0x594795[_0x214a89(0x15d)]),this[_0x214a89(0x19c)]=Number['parseInt'](_0x594795['currentUsage']));}async[_0x2444bc(0x358)](_0x553897){const _0x4d2247=_0x2444bc;let _0x4740fe=Date['now']();try{var _0x77ba99,_0x4ebd22;let _0x37bc7a=((_0x77ba99=this['_configService'][_0x4d2247(0x289)](_0x21dc5a[_0x4d2247(0x34b)]))==null?void 0x0:_0x77ba99[_0x4d2247(0x384)])||'/universer-api/license/formula/limit/start',_0x47667a=(await this[_0x4d2247(0x2d0)]['post'](_0x37bc7a,{'body':JSON[_0x4d2247(0x3af)]({'taskId':_0x553897})}))[_0x4d2247(0x443)];if(((_0x4ebd22=_0x47667a[_0x4d2247(0x1df)])==null?void 0x0:_0x4ebd22['code'])!==_0x2217f1[_0x4d2247(0x1f7)]['OK'])return;this[_0x4d2247(0x301)](_0x47667a[_0x4d2247(0x21f)],_0x4740fe);}catch(_0x58b817){this[_0x4d2247(0x439)][_0x4d2247(0x1df)](_0x58b817);}}async[_0x2444bc(0x23f)](_0x137ad8){const _0x114ac5=_0x2444bc;let _0x35b49b=Date['now']();try{var _0x5db6f9,_0x359aa5;let _0x3ca5ed=((_0x5db6f9=this[_0x114ac5(0x266)][_0x114ac5(0x289)](_0x21dc5a[_0x114ac5(0x34b)]))==null?void 0x0:_0x5db6f9[_0x114ac5(0x370)])||_0x114ac5(0x34d),_0x3f66dc=_0x137ad8?_0x3ca5ed+'?taskId='+encodeURIComponent(_0x137ad8):_0x3ca5ed,_0x48b557=(await this[_0x114ac5(0x2d0)][_0x114ac5(0x1a1)](_0x3f66dc))[_0x114ac5(0x443)];if(((_0x359aa5=_0x48b557[_0x114ac5(0x1df)])==null?void 0x0:_0x359aa5[_0x114ac5(0x21d)])!==_0x2217f1[_0x114ac5(0x1f7)]['OK'])return;this[_0x114ac5(0x301)](_0x48b557[_0x114ac5(0x21f)],_0x35b49b);}catch(_0x8f5a6a){this[_0x114ac5(0x439)]['error'](_0x8f5a6a);}}async[_0x2444bc(0x23c)](_0x3f0510){const _0x1053e7=_0x2444bc;let _0x51046e=Date[_0x1053e7(0x437)]();try{var _0x3b6420,_0x1ade80;let _0x32d6b4=((_0x3b6420=this[_0x1053e7(0x266)][_0x1053e7(0x289)](_0x21dc5a[_0x1053e7(0x34b)]))==null?void 0x0:_0x3b6420[_0x1053e7(0x202)])||_0x1053e7(0x3b6),_0x25361a=(await this['_httpService'][_0x1053e7(0x351)](_0x32d6b4,{'body':JSON[_0x1053e7(0x3af)]({'taskId':_0x3f0510})}))[_0x1053e7(0x443)];if(((_0x1ade80=_0x25361a[_0x1053e7(0x1df)])==null?void 0x0:_0x1ade80[_0x1053e7(0x21d)])!==_0x2217f1['ErrorCode']['OK'])return;this[_0x1053e7(0x301)](_0x25361a[_0x1053e7(0x21f)],_0x51046e);}catch(_0x4270ae){this[_0x1053e7(0x439)][_0x1053e7(0x1df)](_0x4270ae);}}[_0x2444bc(0x176)](){const _0x4a4966=_0x2444bc;return this[_0x4a4966(0x1ba)]===0x0?!0x0:this[_0x4a4966(0x1ba)]-this['_currentUsage']>0x0;}['_clearPolling'](){const _0x4dcb69=_0x2444bc;this['_pollingInterval']&&(clearTimeout(this[_0x4dcb69(0x1a4)]),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0x5a987b=_0x2444bc;this['_messageService'][_0x5a987b(0x3d2)]({'content':this[_0x5a987b(0x3fc)]['t'](_0x5a987b(0x359)),'type':_0x276ac3[_0x5a987b(0x419)]['Loading']});}[_0x2444bc(0x1e8)](_0x1b1d7b){const _0x24cf56=_0x2444bc;for(let _0x5dd2ab of _0x1b1d7b){let {unitId:_0x5d15c9,sheetId:_0x252560,range:_0x1350f9}=_0x5dd2ab,_0x1553cc=this[_0x24cf56(0x40a)][_0x24cf56(0x32f)](_0x5d15c9);if(!_0x1553cc)continue;let _0x27c43f=_0x1553cc['getSheetBySheetId'](_0x252560);if(!_0x27c43f)continue;let _0x408f9d=_0x27c43f['getCellMatrix']();for(let _0x2b3469=_0x1350f9[_0x24cf56(0x400)];_0x2b3469<=_0x1350f9[_0x24cf56(0x340)];_0x2b3469++)for(let _0x5c3925=_0x1350f9['startColumn'];_0x5c3925<=_0x1350f9[_0x24cf56(0x228)];_0x5c3925++){let _0x4b7d6b=_0x408f9d[_0x24cf56(0x2a1)](_0x2b3469,_0x5c3925);if(_0x4b7d6b&&((0x0,_0x430976[_0x24cf56(0x411)])(_0x4b7d6b['f'])||(0x0,_0x430976[_0x24cf56(0x436)])(_0x4b7d6b['si'])))return!0x0;}}return!0x1;}};_0x351239=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976['Inject'])(_0x2f7572[_0x2444bc(0x2ed)])),_0x23d40f(0x1,_0x430976['ICommandService']),_0x23d40f(0x2,_0x430976[_0x2444bc(0x1c5)]),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x116517['HTTPService'])),_0x23d40f(0x4,_0x430976[_0x2444bc(0x320)]),_0x23d40f(0x5,_0x430976[_0x2444bc(0x30c)]),_0x23d40f(0x6,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976['LocaleService']))],_0x351239);let _0x4ad146=class extends _0x430976['Disposable']{constructor(_0x59d2db,_0x582eb2,_0x328c06){const _0x21b874=_0x2444bc;super(),this[_0x21b874(0x266)]=_0x59d2db,this[_0x21b874(0x2b5)]=_0x582eb2,this[_0x21b874(0x1c6)]=_0x328c06,_0x34d1c1(this,_0x21b874(0x2cc),new Map()),_0x34d1c1(this,_0x21b874(0x3ab),new Map()),_0x34d1c1(this,'_disabled',!0x1);}[_0x2444bc(0x3c3)](){const _0x5df9f4=_0x2444bc;this[_0x5df9f4(0x414)]=!0x0;}['enableLocalCache'](){const _0x43115e=_0x2444bc;this[_0x43115e(0x414)]=!0x1;}get[_0x2444bc(0x2e8)](){const _0x49f578=_0x2444bc;return this[_0x49f578(0x3ab)];}[_0x2444bc(0x3d1)](){const _0x41b75a=_0x2444bc;this[_0x41b75a(0x26b)]()[_0x41b75a(0x269)](()=>super[_0x41b75a(0x3d1)]());}async['loadOfflineData'](_0x5f41a3){const _0x575256=_0x2444bc;return this['_disabled']?null:this[_0x575256(0x2b5)][_0x575256(0x389)]((0x0,_0x21dc5a[_0x575256(0x25b)])(_0x5f41a3));}async[_0x2444bc(0x1dc)](_0x553853,_0x20ca7e){const _0x5d8a2f=_0x2444bc;return!!this[_0x5d8a2f(0x2b5)][_0x5d8a2f(0x362)](_0x553853,_0x20ca7e);}[_0x2444bc(0x1c7)](_0x20d380,_0x270f0f,_0x5e5fe4,_0x2090b8){const _0x456892=_0x2444bc;let _0x5e5316=this[_0x456892(0x1c6)]['getCurrentRevOfUnit'](_0x20d380);this[_0x456892(0x2cc)][_0x456892(0x2da)](_0x20d380,{'unitID':_0x20d380,'type':_0x270f0f,'awaitingChangeset':_0x5e5fe4,'mutations':_0x2090b8,'rev':_0x5e5316}),this['_saveTaskMap'][_0x456892(0x27b)](_0x20d380)||this['_scheduleSaving'](_0x20d380);}[_0x2444bc(0x393)](_0x351f8f){const _0x2cf14f=_0x2444bc;let _0x5f19ff=this['_getSaveTimeout']();_0x5f19ff===0x0?this[_0x2cf14f(0x1af)](_0x351f8f):this['_saveTaskMap']['set'](_0x351f8f,setTimeout(()=>this['_saveCache'](_0x351f8f),_0x5f19ff));}[_0x2444bc(0x1db)](){const _0x333537=_0x2444bc;var _0x2c46a6;return(_0x2c46a6=this[_0x333537(0x266)][_0x333537(0x289)](_0x21dc5a['LOCAL_CACHE_INTERVAL_KEY']))==null?_0x21dc5a[_0x333537(0x239)]:_0x2c46a6;}[_0x2444bc(0x1af)](_0x1f2df8){const _0x179d18=_0x2444bc;let _0xb1ca48=this[_0x179d18(0x3ab)]['get'](_0x1f2df8);return _0xb1ca48!==void 0x0&&window[_0x179d18(0x3ee)](_0xb1ca48),this[_0x179d18(0x2b5)][_0x179d18(0x362)]((0x0,_0x21dc5a[_0x179d18(0x25b)])(_0x1f2df8),this[_0x179d18(0x2cc)][_0x179d18(0x1a1)](_0x1f2df8))['then'](()=>this[_0x179d18(0x3ab)][_0x179d18(0x242)](_0x1f2df8));}async['exhaustSavingTask'](){const _0x5d5bee=_0x2444bc;let _0x602026=[];this[_0x5d5bee(0x3ab)][_0x5d5bee(0x380)]((_0x30d96f,_0x4e2dcd)=>{const _0x35113e=_0x5d5bee;window['clearTimeout'](_0x30d96f),_0x602026['push'](this[_0x35113e(0x1af)](_0x4e2dcd)[_0x35113e(0x269)](()=>{const _0xcdd645=_0x35113e;this[_0xcdd645(0x3ab)][_0xcdd645(0x242)](_0x4e2dcd);}));}),await Promise[_0x5d5bee(0x20b)](_0x602026);}};_0x4ad146=_0x4e0ded([_0x23d40f(0x0,_0x430976[_0x2444bc(0x1c5)]),_0x23d40f(0x1,_0x430976[_0x2444bc(0x241)]),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0xf33e7d[_0x2444bc(0x322)]))],_0x4ad146);var _0x3159e8=class extends _0x430976['RxDisposable']{constructor(){const _0x33ba25=_0x2444bc;super(),_0x34d1c1(this,'urlChange$',void 0x0),this['urlChange$']=(0x0,_0x31275f[_0x33ba25(0x2e7)])(window,_0x33ba25(0x38f))['pipe']((0x0,_0x31275f['takeUntil'])(this[_0x33ba25(0x3de)]),(0x0,_0x31275f[_0x33ba25(0x363)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x31275f[_0x33ba25(0x3a4)])(void 0x0));}[_0x2444bc(0x1a7)](_0x480673,_0x315f2c,_0x2f9ec1=!0x1){const _0xfb5df1=_0x2444bc;let _0x216565=new URL(window[_0xfb5df1(0x335)][_0xfb5df1(0x42d)]);_0x216565[_0xfb5df1(0x2d3)]['set'](_0x480673,_0x315f2c),_0x2f9ec1?window[_0xfb5df1(0x2eb)][_0xfb5df1(0x39d)]('','',_0x216565[_0xfb5df1(0x401)]()):window[_0xfb5df1(0x2eb)][_0xfb5df1(0x39f)]('','',_0x216565['toString']());}[_0x2444bc(0x2d9)](_0x1889de,_0x3c5203=!0x1){const _0x146e5f=_0x2444bc;let _0x3e5e0b=new URL(window[_0x146e5f(0x335)][_0x146e5f(0x42d)]);_0x3e5e0b[_0x146e5f(0x2d3)]['delete'](_0x1889de),_0x3c5203?window[_0x146e5f(0x2eb)]['replaceState']('','',_0x3e5e0b['toString']()):window['history'][_0x146e5f(0x39f)]('','',_0x3e5e0b['toString']());}['getParam'](_0x48879c){const _0xfd014f=_0x2444bc;var _0x5a76b8;return(_0x5a76b8=new URL(window[_0xfd014f(0x335)]['href'])['searchParams']['get'](_0x48879c))==null?void 0x0:_0x5a76b8;}};let _0x48b1f6=class extends _0x430976[_0x2444bc(0x1eb)]{constructor(_0xd54f0b=_0x429e50,_0x1c6371,_0x240e2b,_0x15b29c){const _0x551ef7=_0x2444bc;super(),this[_0x551ef7(0x2f1)]=_0xd54f0b,this[_0x551ef7(0x44b)]=_0x1c6371,this[_0x551ef7(0x345)]=_0x240e2b,this[_0x551ef7(0x266)]=_0x15b29c;let {..._0x55e85c}=(0x0,_0x430976[_0x551ef7(0x2e0)])({},_0x429e50,this['_config']);this[_0x551ef7(0x266)]['setConfig'](_0x551ef7(0x43a),_0x55e85c);}['onStarting'](){const _0x6fdb1c=_0x2444bc;this[_0x6fdb1c(0x1d6)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x2444bc(0x1d6)](){const _0x5d080d=_0x2444bc;var _0x489d5c;let _0x6c7b7e=[[_0x1eb962],[_0x351239],[_0x225549],[_0x13a006],[_0x3640a8],[_0x26444f],[_0x26fa78,{'useClass':_0x3159e8}],[_0x116517[_0x5d080d(0x19b)],{'useClass':_0x116517[_0x5d080d(0x299)]}],[_0x21dc5a[_0x5d080d(0x3ae)],{'useClass':_0x4ad146}],[_0x26c616],[_0x114747],[_0x527af8],[_0x35fdec],[_0x1f6f92],[_0x5aec05]];this['_config']['enableFrontendLog']&&_0x6c7b7e[_0x5d080d(0x2fd)]([_0x4670c5]),(0x0,_0x430976['registerDependencies'])(this[_0x5d080d(0x345)],(0x0,_0x430976[_0x5d080d(0x35d)])(_0x6c7b7e,(_0x489d5c=this[_0x5d080d(0x2f1)])==null?void 0x0:_0x489d5c[_0x5d080d(0x1cb)]));}[_0x2444bc(0x3f0)](){const _0x1e9b5d=_0x2444bc;this[_0x1e9b5d(0x2f8)](this[_0x1e9b5d(0x44b)]['registerRenderModule'](_0x430976['UniverInstanceType'][_0x1e9b5d(0x341)],[_0x5b9eec])),this[_0x1e9b5d(0x2f8)](this[_0x1e9b5d(0x44b)][_0x1e9b5d(0x353)](_0x430976[_0x1e9b5d(0x1f9)][_0x1e9b5d(0x36d)],[_0x525a2f]));}[_0x2444bc(0x422)](){const _0x4e38b0=_0x2444bc;(0x0,_0x430976['touchDependencies'])(this[_0x4e38b0(0x345)],[[_0x35fdec],[_0x26c616],[_0x114747],[_0x527af8],[_0x5aec05],[_0x351239],[_0x1f6f92]]),this[_0x4e38b0(0x2f1)][_0x4e38b0(0x233)]&&(0x0,_0x430976['touchDependencies'])(this['_injector'],[[_0x4670c5]]);}};_0x34d1c1(_0x48b1f6,'pluginName',_0x2444bc(0x271)),_0x34d1c1(_0x48b1f6,_0x2444bc(0x30a),_0x50e124),_0x34d1c1(_0x48b1f6,_0x2444bc(0x251),_0x5a4f5a),_0x48b1f6=_0x4e0ded([(0x0,_0x430976[_0x2444bc(0x2a2)])(_0x21dc5a[_0x2444bc(0x416)]),_0x23d40f(0x1,_0x229561[_0x2444bc(0x223)]),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x3,_0x430976[_0x2444bc(0x1c5)])],_0x48b1f6);let _0x913d6f=class extends _0x21dc5a[_0x2444bc(0x1e5)]{constructor(_0x1c34df,_0x3c8b99,_0x4d0ef7,_0x4667e8,_0x10d3cd){super(_0x1c34df,_0x3c8b99,_0x4d0ef7,_0x4667e8,_0x10d3cd);}async[_0x2444bc(0x259)](_0x3a3c14){const _0x4bfe2e=_0x2444bc;let _0x4dc4c1=await this[_0x4bfe2e(0x3b4)](),_0x5e73ba=this[_0x4bfe2e(0x2ea)](_0x3a3c14,_0x4dc4c1);return this[_0x4bfe2e(0x2f7)](_0x5e73ba);}[_0x2444bc(0x2ea)](_0x165e6a,_0x5aeaff){const _0x19479c=_0x2444bc;let _0x3bfc2f=typeof window>'u'?new URL(_0x165e6a):new URL(_0x165e6a,window[_0x19479c(0x335)]['origin']);_0x3bfc2f[_0x19479c(0x2d3)][_0x19479c(0x2da)]('sessionTicket',_0x5aeaff);let _0x1b8953=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x19479c(0x335)][_0x19479c(0x29f)]);return _0x1b8953[_0x19479c(0x1a1)](_0x19479c(0x3d6))&&_0x3bfc2f['searchParams'][_0x19479c(0x2da)](_0x19479c(0x3d6),_0x1b8953[_0x19479c(0x1a1)](_0x19479c(0x3d6))),_0x3bfc2f[_0x19479c(0x401)]();}async['_getSessionTicket'](){const _0x10b223=_0x2444bc;var _0x190821,_0x1d0adc,_0x5ca18b;let _0x3aded9=this['_configService'][_0x10b223(0x289)](_0x21dc5a[_0x10b223(0x34b)]),_0x1dd6bb=(_0x190821=_0x3aded9==null?void 0x0:_0x3aded9['wsSessionTicketUrl'])==null?_0x21dc5a[_0x10b223(0x315)]:_0x190821;return(_0x1d0adc=(_0x5ca18b=(await this['_httpService']['get'](_0x1dd6bb,{'headers':{'Content-Type':_0x10b223(0x23a)}}))['body'])==null?void 0x0:_0x5ca18b['ticket'])==null?'':_0x1d0adc;}};_0x913d6f=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x116517[_0x2444bc(0x26a)])),_0x23d40f(0x2,_0x430976['IConfigService']),_0x23d40f(0x3,_0x430976[_0x2444bc(0x30c)]),_0x23d40f(0x4,_0xf33e7d[_0x2444bc(0x40b)])],_0x913d6f);let _0x448b52=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0x5c2689,_0x547f65,_0x29fa4a){const _0x4f07b8=_0x2444bc;super(),this['_instanceService']=_0x5c2689,this[_0x4f07b8(0x2d0)]=_0x547f65,this[_0x4f07b8(0x266)]=_0x29fa4a;}async[_0x2444bc(0x3ec)](_0x17a7e6,_0x454c25,_0x53c843,..._0x1615a6){const _0x38b375=_0x2444bc;var _0xd489c0,_0x1881a1,_0xc8870e,_0xe78530;let _0x3245d9=this['_instanceService'][_0x38b375(0x303)]();if(!_0x3245d9)throw Error(_0x38b375(0x18a));let _0x6a997c=((_0xd489c0=this[_0x38b375(0x266)][_0x38b375(0x289)](_0x21dc5a[_0x38b375(0x3e0)]))==null?_0x21dc5a[_0x38b375(0x306)]:_0xd489c0)+'/'+_0x17a7e6+_0x38b375(0x3fd)+_0x454c25,_0x2f5888={'scriptId':_0x17a7e6,'runId':(_0x1881a1=new URL(window[_0x38b375(0x335)][_0x38b375(0x42d)])['searchParams'][_0x38b375(0x1a1)](_0x38b375(0x3d6)))==null?'':_0x1881a1,'function':_0x454c25,'unitId':_0x3245d9[_0x38b375(0x28c)](),'argsOfFunction':JSON[_0x38b375(0x3af)](_0x1615a6),'invokeId':(_0xc8870e=_0x53c843['invokeId'])==null?'':_0xc8870e,'executionId':(_0xe78530=_0x53c843[_0x38b375(0x25f)])==null?'':_0xe78530};try{let _0x234645=await this[_0x38b375(0x2d0)][_0x38b375(0x351)](_0x6a997c,{'body':_0x2f5888});return _0x234645[_0x38b375(0x443)][_0x38b375(0x1df)]&&_0x234645[_0x38b375(0x443)][_0x38b375(0x1df)][_0x38b375(0x21d)]!==_0x2217f1[_0x38b375(0x1f7)]['OK']?_0x38b375(0x3d4):_0x234645[_0x38b375(0x443)]['result'];}catch{return _0x38b375(0x3d4);}}};_0x448b52=_0x4e0ded([_0x23d40f(0x0,_0x430976[_0x2444bc(0x320)]),_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x116517[_0x2444bc(0x26a)])),_0x23d40f(0x2,_0x430976['IConfigService'])],_0x448b52);let _0x28e364=0x7530,_0xc76825=_0x2444bc(0x1ff);var _0x1d44d0=class extends _0x430976[_0x2444bc(0x25a)]{constructor(){const _0x34d193=_0x2444bc;super(),_0x34d1c1(this,_0x34d193(0x2ff),(0x0,_0x430976[_0x34d193(0x16b)])()),_0x34d1c1(this,_0x34d193(0x22e),new Set()),_0x34d1c1(this,_0x34d193(0x204),new Map()),_0x34d1c1(this,_0x34d193(0x24c),null),_0x34d1c1(this,_0x34d193(0x431),new Map()),_0x34d1c1(this,_0x34d193(0x190),new Map()),this['_init']();}[_0x2444bc(0x3d1)](){const _0x1dd202=_0x2444bc;super[_0x1dd202(0x3d1)](),this[_0x1dd202(0x431)]['forEach']((_0x2a28ea,_0x2400e8)=>this[_0x1dd202(0x26f)](_0x2400e8)),this[_0x1dd202(0x24c)]&&window[_0x1dd202(0x20c)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x122ca9){const _0x57ac07=_0x2444bc;return this[_0x57ac07(0x398)](_0x122ca9)[_0x57ac07(0x1e6)]((0x0,_0x31275f['distinctUntilChanged'])());}[_0x2444bc(0x33e)](_0x2a8f6b){const _0xc74c92=_0x2444bc;this[_0xc74c92(0x22e)][_0xc74c92(0x212)]===0x0&&this[_0xc74c92(0x327)](),this[_0xc74c92(0x22e)][_0xc74c92(0x385)](_0x2a8f6b),this[_0xc74c92(0x39b)]({'type':0x0,'memberID':this[_0xc74c92(0x2ff)],'unitIDs':[_0x2a8f6b],'isForwarded':!0x1});}[_0x2444bc(0x24d)](_0x4cef05){const _0x1ab3cb=_0x2444bc;this[_0x1ab3cb(0x22e)][_0x1ab3cb(0x242)](_0x4cef05),this[_0x1ab3cb(0x22e)][_0x1ab3cb(0x212)]===0x0&&this[_0x1ab3cb(0x24c)]&&window['clearInterval'](this[_0x1ab3cb(0x24c)]);}[_0x2444bc(0x1dd)](){const _0x21c584=_0x2444bc;this['disposeWithMe']((0x0,_0x430976[_0x21c584(0x3d7)])((0x0,_0x31275f[_0x21c584(0x2e7)])(window,'storage')[_0x21c584(0x274)](_0x407a6e=>{const _0x413461=_0x21c584;if(_0x407a6e[_0x413461(0x15e)]!==_0xc76825||!_0x407a6e[_0x413461(0x28f)])return;let _0x151cfa=JSON[_0x413461(0x293)](_0x407a6e[_0x413461(0x28f)]);this[_0x413461(0x1fc)](_0x151cfa);}))),window[_0x21c584(0x2ae)](_0x21c584(0x283),()=>this[_0x21c584(0x39b)]({'type':0x1,'memberID':this[_0x21c584(0x2ff)],'unitIDs':Array['from'](this[_0x21c584(0x22e)])}));}['_handleEvent'](_0x245952){const _0x48e48b=_0x2444bc;switch(_0x245952[_0x48e48b(0x3cb)]){case 0x0:this[_0x48e48b(0x304)](_0x245952);break;case 0x1:this['_handleLeaveEvent'](_0x245952);break;case 0x2:this['_handleHeartbeatEvent'](_0x245952);break;}}[_0x2444bc(0x304)](_0x3379e4){const _0x18876b=_0x2444bc;let {unitIDs:_0x48a4fb,memberID:_0x3f3f78,isForwarded:_0x90156d}=_0x3379e4;_0x48a4fb[_0x18876b(0x380)](_0x5c753e=>{const _0x1234b4=_0x18876b;if(!_0x90156d&&this['_unitOnClients'][_0x1234b4(0x27b)](_0x5c753e)&&this[_0x1234b4(0x398)](_0x5c753e)[_0x1234b4(0x3f6)](_0x21dc5a[_0x1234b4(0x44f)][_0x1234b4(0x314)]),!this[_0x1234b4(0x204)][_0x1234b4(0x27b)](_0x5c753e)||!this[_0x1234b4(0x204)][_0x1234b4(0x1a1)](_0x5c753e)[_0x1234b4(0x27b)](_0x3f3f78)){let _0x574883=this[_0x1234b4(0x204)][_0x1234b4(0x1a1)](_0x5c753e)||new Set();_0x574883[_0x1234b4(0x385)](_0x3f3f78),this[_0x1234b4(0x204)][_0x1234b4(0x2da)](_0x5c753e,_0x574883),this[_0x1234b4(0x2f6)](_0x3f3f78);}}),_0x90156d||this[_0x18876b(0x39b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x18876b(0x22e)]],'isForwarded':!0x0});}[_0x2444bc(0x2f6)](_0x358e39){const _0x5685e1=_0x2444bc;this['_removeClearOtherTimer'](_0x358e39);let _0x2c2b54=window['setTimeout'](()=>{const _0x4ad9d6=_0x3284;this[_0x4ad9d6(0x204)]['forEach'](_0xa84ba8=>{const _0x4406cd=_0x4ad9d6;_0xa84ba8[_0x4406cd(0x242)](_0x358e39);});},_0x28e364*0x2);this[_0x5685e1(0x431)]['set'](_0x358e39,_0x2c2b54);}[_0x2444bc(0x26f)](_0x3ae2b8){const _0x52a044=_0x2444bc;if(this[_0x52a044(0x431)][_0x52a044(0x27b)](_0x3ae2b8)){let _0x46a949=this['_clearOtherTimers']['get'](_0x3ae2b8);_0x46a949&&window[_0x52a044(0x3ee)](_0x46a949),this['_clearOtherTimers'][_0x52a044(0x2da)](_0x3ae2b8,null);}}[_0x2444bc(0x350)](_0x2a22b9){const _0x31d321=_0x2444bc;let {memberID:_0x2ce447,unitIDs:_0x38b72d}=_0x2a22b9;_0x38b72d[_0x31d321(0x380)](_0x1b5c7d=>{const _0x45cfce=_0x31d321;var _0x1cf520;let _0x20972a=this[_0x45cfce(0x204)][_0x45cfce(0x1a1)](_0x1b5c7d);_0x20972a&&(_0x20972a[_0x45cfce(0x242)](_0x2ce447),(_0x1cf520=this['_ensureSubject'](_0x1b5c7d))==null||_0x1cf520['next'](_0x20972a[_0x45cfce(0x212)]===0x0?_0x21dc5a[_0x45cfce(0x44f)][_0x45cfce(0x33b)]:_0x21dc5a[_0x45cfce(0x44f)]['OTHER_CLIENTS_EDITING']));}),this[_0x31d321(0x26f)](_0x2ce447);}[_0x2444bc(0x1d7)](_0x2f268f){const _0x1d2bab=_0x2444bc;this[_0x1d2bab(0x2f6)](_0x2f268f[_0x1d2bab(0x386)]);}[_0x2444bc(0x39b)](_0x1785a5){const _0x1278dd=_0x2444bc;localStorage['setItem'](_0xc76825,JSON[_0x1278dd(0x3af)](_0x1785a5));}[_0x2444bc(0x327)](){const _0x3223e4=_0x2444bc;this[_0x3223e4(0x24c)]=window[_0x3223e4(0x230)](()=>{const _0x1b002f=_0x3223e4;this[_0x1b002f(0x39b)]({'type':0x2,'memberID':this[_0x1b002f(0x2ff)]});},_0x28e364);}[_0x2444bc(0x398)](_0x4b5dac){const _0x3dffaa=_0x2444bc;return this['_unitStatus'][_0x3dffaa(0x27b)](_0x4b5dac)||this[_0x3dffaa(0x190)][_0x3dffaa(0x2da)](_0x4b5dac,new _0x31275f[(_0x3dffaa(0x1d0))](_0x21dc5a[_0x3dffaa(0x44f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3dffaa(0x190)][_0x3dffaa(0x1a1)](_0x4b5dac);}};Object[_0x2444bc(0x16f)](_0x4bb0e6,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x913d6f;}}),Object[_0x2444bc(0x16f)](_0x4bb0e6,_0x2444bc(0x257),{'enumerable':!0x0,'get':function(){return _0x5aec05;}}),Object['defineProperty'](_0x4bb0e6,_0x2444bc(0x278),{'enumerable':!0x0,'get':function(){return _0x26c616;}}),_0x4bb0e6[_0x2444bc(0x381)]=_0x26fa78,Object['defineProperty'](_0x4bb0e6,_0x2444bc(0x1aa),{'enumerable':!0x0,'get':function(){return _0x448b52;}}),_0x4bb0e6[_0x2444bc(0x410)]=_0x102c6d,Object[_0x2444bc(0x16f)](_0x4bb0e6,_0x2444bc(0x163),{'enumerable':!0x0,'get':function(){return _0x48b1f6;}}),_0x4bb0e6[_0x2444bc(0x1fe)]=_0x1d44d0,_0x4bb0e6[_0x2444bc(0x272)]=_0x3159e8;}));
9
-
10
- // @univerjs-pro/collaboration-client-ui/facade
11
- (function(_0xe7bca9,_0xfa391d){var _0x3d9348=_0x103e,_0x49a20a=_0xe7bca9();while(!![]){try{var _0x5a732e=parseInt(_0x3d9348(0x17b))/0x1+-parseInt(_0x3d9348(0x185))/0x2*(-parseInt(_0x3d9348(0x17c))/0x3)+parseInt(_0x3d9348(0x18a))/0x4*(parseInt(_0x3d9348(0x189))/0x5)+parseInt(_0x3d9348(0x17d))/0x6*(-parseInt(_0x3d9348(0x18d))/0x7)+-parseInt(_0x3d9348(0x188))/0x8+-parseInt(_0x3d9348(0x186))/0x9+parseInt(_0x3d9348(0x182))/0xa;if(_0x5a732e===_0xfa391d)break;else _0x49a20a['push'](_0x49a20a['shift']());}catch(_0x4588c6){_0x49a20a['push'](_0x49a20a['shift']());}}}(_0x9453,0x250b4),function(_0x5a5ea9,_0x10d0b7){var _0x12aa1e=_0x103e;typeof exports==_0x12aa1e(0x18e)&&typeof module<'u'?_0x10d0b7(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x12aa1e(0x17f)&&define['amd']?define([_0x12aa1e(0x180),_0x12aa1e(0x18c)],_0x10d0b7):(_0x5a5ea9=typeof globalThis<'u'?globalThis:_0x5a5ea9||self,_0x10d0b7(_0x5a5ea9['UniverProCollaborationClientUi'],_0x5a5ea9[_0x12aa1e(0x183)]));}(this,function(_0x2f395c,_0x501d9d){var _0x5b4e76=_0x103e,_0x4f2427=class extends _0x501d9d[_0x5b4e76(0x18b)]{['runOnServer'](_0x469574,_0x3c8f88,..._0x4675b0){var _0x45c3c2=_0x5b4e76;return this[_0x45c3c2(0x187)][_0x45c3c2(0x181)](_0x2f395c['RemoteUniscriptService'])[_0x45c3c2(0x184)](_0x469574,_0x3c8f88,{},..._0x4675b0);}};_0x501d9d[_0x5b4e76(0x18b)][_0x5b4e76(0x17e)](_0x4f2427);}));function _0x103e(_0x228fc1,_0x1f1cc8){_0x228fc1=_0x228fc1-0x17b;var _0x945366=_0x9453();var _0x103ea3=_0x945366[_0x228fc1];return _0x103ea3;}function _0x9453(){var _0x5bb614=['138593UDbDwr','15etYUzr','6wBecBa','extend','function','@univerjs-pro/collaboration-client-ui','get','3341360GCcBzT','UniverCoreFacade','runOnServer','6162mRgTmM','582435LoOVvj','_injector','1554696oKvCeK','5gIJXqe','618556nXqgbY','FUniver','@univerjs/core/facade','1623923LlTZbX','object'];_0x9453=function(){return _0x5bb614;};return _0x9453();}
12
-
13
- // @univerjs-pro/thread-comment-datasource/index
14
- function _0x3265(_0x62a693,_0x2d2f14){_0x62a693=_0x62a693-0x1bc;const _0xdb5b7d=_0xdb5b();let _0x326527=_0xdb5b7d[_0x62a693];return _0x326527;}(function(_0x473a3b,_0x4a559b){const _0x310ad4=_0x3265,_0x1f3493=_0x473a3b();while(!![]){try{const _0x3940f6=parseInt(_0x310ad4(0x1ea))/0x1*(parseInt(_0x310ad4(0x23e))/0x2)+-parseInt(_0x310ad4(0x206))/0x3*(parseInt(_0x310ad4(0x22a))/0x4)+parseInt(_0x310ad4(0x1cd))/0x5+parseInt(_0x310ad4(0x246))/0x6*(-parseInt(_0x310ad4(0x20b))/0x7)+-parseInt(_0x310ad4(0x21c))/0x8*(parseInt(_0x310ad4(0x234))/0x9)+-parseInt(_0x310ad4(0x209))/0xa+-parseInt(_0x310ad4(0x217))/0xb*(-parseInt(_0x310ad4(0x200))/0xc);if(_0x3940f6===_0x4a559b)break;else _0x1f3493['push'](_0x1f3493['shift']());}catch(_0x183b98){_0x1f3493['push'](_0x1f3493['shift']());}}}(_0xdb5b,0x7d1b0),function(_0x47e2bc,_0x5c249d){const _0xa730dc=_0x3265;typeof exports==_0xa730dc(0x1e9)&&typeof module<'u'?_0x5c249d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/protocol'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0xa730dc(0x1f2)&&define[_0xa730dc(0x1ed)]?define([_0xa730dc(0x1d0),_0xa730dc(0x220),'@univerjs-pro/license',_0xa730dc(0x1c7),_0xa730dc(0x210),'@univerjs/protocol',_0xa730dc(0x23f),_0xa730dc(0x231),'@univerjs/network'],_0x5c249d):(_0x47e2bc=typeof globalThis<'u'?globalThis:_0x47e2bc||self,_0x5c249d(_0x47e2bc[_0xa730dc(0x23a)]={},_0x47e2bc[_0xa730dc(0x1f4)],_0x47e2bc[_0xa730dc(0x241)],_0x47e2bc[_0xa730dc(0x1fb)],_0x47e2bc[_0xa730dc(0x248)],_0x47e2bc[_0xa730dc(0x1c2)],_0x47e2bc[_0xa730dc(0x1c3)],_0x47e2bc[_0xa730dc(0x231)],_0x47e2bc[_0xa730dc(0x223)]));}(this,function(_0x39c76f,_0x10cb6d,_0x502b3e,_0x5f2200,_0x316987,_0x43efdd,_0xd76d68,_0x2a9748,_0x3af597){const _0x2e50fe=_0x3265;Object[_0x2e50fe(0x1ca)](_0x39c76f,Symbol[_0x2e50fe(0x1ee)],{'value':'Module'});var _0x23677e=_0x2e50fe(0x1d1),_0xd7839e=_0x2e50fe(0x1f1);let _0x3f072b=_0x30320c=>(0x0,_0x5f2200[_0x2e50fe(0x201)])(new Date(+_0x30320c))[_0x2e50fe(0x1e8)]('YYYY/MM/DD\x20HH:mm'),_0x33f7c9=async(_0x282a4a,_0x309d42)=>{const _0x21e2ea=_0x2e50fe;let _0x3f2b3e=_0x282a4a[_0x21e2ea(0x240)](_0x5f2200['UserManagerService']),_0x33899a=_0x282a4a['get'](_0x3af597[_0x21e2ea(0x20e)]);_0x309d42[_0x21e2ea(0x20f)](_0x504c35=>{const _0x1a60fa=_0x21e2ea;_0x3f2b3e[_0x1a60fa(0x238)](_0x504c35)&&_0x309d42[_0x1a60fa(0x221)](_0x504c35);}),_0x309d42['size']&&(await _0x33899a[_0x21e2ea(0x240)](_0x21e2ea(0x22b),{'params':{'userIDs':[..._0x309d42]}}))['body'][_0x21e2ea(0x211)]['forEach'](_0xacf036=>{_0xacf036&&_0x3f2b3e['addUser'](_0xacf036);});};function _0x2d38ec(_0x186fa0,_0x3ccd97){return function(_0x5ef872,_0xe67784){_0x3ccd97(_0x5ef872,_0xe67784,_0x186fa0);};}function _0x3e3186(_0x447317,_0x186d14,_0x5c3762,_0x561b4e){const _0xb3c268=_0x2e50fe;var _0x2ca9fe=arguments['length'],_0x39000e=_0x2ca9fe<0x3?_0x186d14:_0x561b4e===null?_0x561b4e=Object[_0xb3c268(0x249)](_0x186d14,_0x5c3762):_0x561b4e,_0x485408;if(typeof Reflect==_0xb3c268(0x1e9)&&typeof Reflect[_0xb3c268(0x247)]==_0xb3c268(0x1f2))_0x39000e=Reflect[_0xb3c268(0x247)](_0x447317,_0x186d14,_0x5c3762,_0x561b4e);else{for(var _0x29ad8b=_0x447317['length']-0x1;_0x29ad8b>=0x0;_0x29ad8b--)(_0x485408=_0x447317[_0x29ad8b])&&(_0x39000e=(_0x2ca9fe<0x3?_0x485408(_0x39000e):_0x2ca9fe>0x3?_0x485408(_0x186d14,_0x5c3762,_0x39000e):_0x485408(_0x186d14,_0x5c3762))||_0x39000e);}return _0x2ca9fe>0x3&&_0x39000e&&Object[_0xb3c268(0x1ca)](_0x186d14,_0x5c3762,_0x39000e),_0x39000e;}let _0x4bc8c0=class extends _0x5f2200[_0x2e50fe(0x1e0)]{constructor(_0x5e18d8,_0xefa44b,_0x4a3d6b,_0x358641){const _0x39c2b3=_0x2e50fe;super(),this[_0x39c2b3(0x1c6)]=_0x5e18d8,this[_0x39c2b3(0x20c)]=_0xefa44b,this[_0x39c2b3(0x1f0)]=_0x4a3d6b,this['_injector']=_0x358641,this[_0x39c2b3(0x1de)](),this[_0x39c2b3(0x1d6)]();}[_0x2e50fe(0x1d6)](){const _0x2f056e=_0x2e50fe;this[_0x2f056e(0x205)](this[_0x2f056e(0x20c)][_0x2f056e(0x1e3)][_0x2f056e(0x230)]((0x0,_0x2a9748['bufferTime'])(0x10))[_0x2f056e(0x1d3)](_0x44200c=>{const _0x2b3fbd=_0x2f056e;let _0x59444d=new Set();_0x44200c[_0x2b3fbd(0x20f)](_0x1e93cc=>{const _0x3dddb3=_0x2b3fbd;switch(_0x1e93cc[_0x3dddb3(0x1f7)]){case _0x3dddb3(0x1e4):{let _0x4eb50c=_0x1e93cc[_0x3dddb3(0x239)]['personId'];_0x59444d[_0x3dddb3(0x1e4)](_0x4eb50c);break;}default:break;}}),_0x33f7c9(this[_0x2b3fbd(0x21b)],_0x59444d);}));}[_0x2e50fe(0x1de)](){const _0x6e83cf=_0x2e50fe;this[_0x6e83cf(0x205)](this[_0x6e83cf(0x1c6)][_0x6e83cf(0x1e3)][_0x6e83cf(0x1d3)](async _0x55ced6=>{const _0x439a63=_0x6e83cf;var _0x46062c;let _0x13559d=(_0x46062c=this[_0x439a63(0x20c)][_0x439a63(0x232)](_0x55ced6[_0x439a63(0x1cc)])[_0x439a63(0x1f8)](_0x3bff08=>_0x3bff08['threadId']===_0x55ced6[_0x439a63(0x1fe)]))==null?void 0x0:_0x46062c[_0x439a63(0x1e7)];if(!_0x13559d)return;let {unitId:_0x5c88f9,subUnitId:_0x5e789d}=_0x13559d;switch(_0x55ced6[_0x439a63(0x21f)]&&this[_0x439a63(0x1f0)][_0x439a63(0x1ce)](_0x55ced6['user']),_0x55ced6['type']){case _0x43efdd['CommentUpdateEventType']['Add']:break;case _0x43efdd[_0x439a63(0x22d)][_0x439a63(0x213)]:var _0x54b67a,_0x260897;this['_threadCommentModel'][_0x439a63(0x20d)](_0x5c88f9,_0x5e789d,{'unitId':_0x5c88f9,'subUnitId':_0x5e789d,'ref':'','id':_0x55ced6[_0x439a63(0x1d4)],'dT':_0x3f072b(+_0x55ced6['createTimestamp']),'threadId':_0x55ced6['threadId'],'personId':(_0x54b67a=(_0x260897=_0x55ced6['user'])==null?void 0x0:_0x260897[_0x439a63(0x21d)])==null?_0x55ced6['userId']:_0x54b67a,'text':JSON['parse'](_0x55ced6[_0x439a63(0x1db)]),'parentId':_0x13559d['id']});break;case _0x43efdd[_0x439a63(0x22d)]['Delete']:{let _0xb7a4b3=this[_0x439a63(0x20c)]['getComment'](_0x5c88f9,_0x5e789d,_0x55ced6[_0x439a63(0x1d4)]);_0xb7a4b3&&_0xb7a4b3[_0x439a63(0x20a)]&&this[_0x439a63(0x20c)][_0x439a63(0x224)](_0x5c88f9,_0x5e789d,_0x55ced6['replyId']);break;}case _0x43efdd[_0x439a63(0x22d)]['Edit']:this[_0x439a63(0x20c)][_0x439a63(0x1fc)](_0x5c88f9,_0x5e789d,{'commentId':_0x55ced6[_0x439a63(0x1d4)],'text':JSON[_0x439a63(0x1c9)](_0x55ced6[_0x439a63(0x1db)])});break;case _0x43efdd[_0x439a63(0x22d)][_0x439a63(0x22c)]:{var _0x41588a;let _0x4d070f=(_0x41588a=this[_0x439a63(0x20c)][_0x439a63(0x232)](_0x55ced6['unitId'])[_0x439a63(0x1f8)](_0x3e0bf0=>_0x3e0bf0[_0x439a63(0x1fe)]===_0x55ced6[_0x439a63(0x1fe)]))==null?void 0x0:_0x41588a[_0x439a63(0x1e7)];_0x4d070f&&this[_0x439a63(0x20c)]['resolveComment'](_0x5c88f9,_0x5e789d,_0x4d070f['id'],_0x55ced6[_0x439a63(0x1eb)]===_0x43efdd[_0x439a63(0x233)][_0x439a63(0x1da)]);break;}default:break;}}));}};_0x4bc8c0=_0x3e3186([_0x2d38ec(0x0,(0x0,_0x5f2200[_0x2e50fe(0x1dc)])(_0x10cb6d[_0x2e50fe(0x245)])),_0x2d38ec(0x1,(0x0,_0x5f2200['Inject'])(_0xd76d68['ThreadCommentModel'])),_0x2d38ec(0x2,(0x0,_0x5f2200['Inject'])(_0x5f2200[_0x2e50fe(0x1e2)])),_0x2d38ec(0x3,(0x0,_0x5f2200[_0x2e50fe(0x1dc)])(_0x5f2200[_0x2e50fe(0x1bc)]))],_0x4bc8c0);let _0x2f957c={};function _0x143fcf(_0x6339ea,_0x3d69be){const _0x4e26f0=_0x2e50fe;let _0x1d1236=_0x6339ea['replies'][0x0];return{..._0x3d69be,'id':_0x1d1236[_0x4e26f0(0x1d4)],'resolved':_0x6339ea[_0x4e26f0(0x1eb)]===0x1,'dT':_0x3f072b(_0x1d1236['createTimestamp']),'personId':_0x1d1236[_0x4e26f0(0x1d9)],'threadId':_0x1d1236[_0x4e26f0(0x1fe)]};}function _0x1c0122(_0xfe5b5,_0x37d2c5,_0x2b84b4){const _0x21f9ea=_0x2e50fe;var _0x3ecb0f,_0x399ef5;if(((_0x3ecb0f=_0xfe5b5==null||(_0x399ef5=_0xfe5b5[_0x21f9ea(0x1ec)])==null?void 0x0:_0x399ef5['length'])==null?0x0:_0x3ecb0f)>0x0){let _0x1a0b6c=(_0xd78c5f,_0x3179e0)=>({'id':_0xd78c5f[_0x21f9ea(0x1d4)],'threadId':_0xd78c5f[_0x21f9ea(0x1fe)],'dT':_0x3f072b(_0xd78c5f[_0x21f9ea(0x1d2)]),'personId':_0xd78c5f[_0x21f9ea(0x1d9)],'resolved':_0xfe5b5[_0x21f9ea(0x1eb)]===_0x43efdd[_0x21f9ea(0x233)][_0x21f9ea(0x1da)],'unitId':_0x37d2c5,'subUnitId':_0x2b84b4,'text':JSON['parse'](_0xd78c5f[_0x21f9ea(0x1db)]),'parentId':_0x3179e0}),_0x443770=_0x1a0b6c(_0xfe5b5['replies'][0x0]);return{..._0x443770,'children':_0xfe5b5['replies'][_0x21f9ea(0x1cb)](0x1)[_0x21f9ea(0x1fa)](_0x244ad1=>_0x1a0b6c(_0x244ad1,_0x443770['id']))};}return null;}let _0x51163f=class{constructor(_0x46c361,_0x6f7802,_0x3eb22d){const _0x3f21bf=_0x2e50fe;this['_httpService']=_0x46c361,this[_0x3f21bf(0x1f0)]=_0x6f7802,this[_0x3f21bf(0x1d7)]=_0x3eb22d;}async[_0x2e50fe(0x20d)](_0x208d03){const _0x131499=_0x2e50fe;var _0x9fb02f,_0x4d1889;let {parentId:_0x5bfa56,unitId:_0x5de0c3,text:_0x31d910,threadId:_0x13cfa3}=_0x208d03,_0x37418a=(_0x9fb02f=(_0x4d1889=_0x31d910[_0x131499(0x1f5)])==null?void 0x0:_0x4d1889['filter'](_0x3cd81f=>_0x3cd81f[_0x131499(0x22f)]===_0x5f2200[_0x131499(0x1ef)][_0x131499(0x219)])[_0x131499(0x1fa)](_0x48bba6=>_0x48bba6[_0x131499(0x1cf)]))==null?[]:_0x9fb02f,_0xa4627f=JSON[_0x131499(0x23d)](_0x31d910),_0x49636a=(await this[_0x131499(0x1d7)][_0x131499(0x1e1)](_0x5de0c3))[_0x131499(0x1ff)]();if(_0x5bfa56){let _0xfd2e80={'memberId':_0x49636a,'unitId':_0x5de0c3,'content':_0xa4627f,'mention':_0x37418a,'threadId':_0x13cfa3},_0x546425=(await this[_0x131499(0x1c4)]['post']('/universer-api/comment/unit/'+_0x5de0c3+_0x131499(0x1bd),{'body':_0xfd2e80}))['body']['reply'];return{..._0x208d03,'id':_0x546425[_0x131499(0x1d4)],'dT':(0x0,_0x5f2200['dateKit'])(+_0x546425['createTimestamp'])[_0x131499(0x1e8)](_0x131499(0x225)),'personId':_0x546425['userId']};}else{let _0x306ecb={'memberId':_0x49636a,'unitId':_0x5de0c3,'content':_0xa4627f,'mention':_0x37418a};return _0x143fcf((await this[_0x131499(0x1c4)]['post'](_0x131499(0x1f6)+_0x5de0c3+_0x131499(0x207),{'body':_0x306ecb}))[_0x131499(0x1e6)][_0x131499(0x202)],_0x208d03);}}async[_0x2e50fe(0x1fc)](_0x326e84){const _0x11969c=_0x2e50fe;var _0x1d0d46,_0x342053;let {text:_0x31c4d8,unitId:_0x91edd1}=_0x326e84,_0x28d9a5=(_0x1d0d46=(_0x342053=_0x31c4d8['customRanges'])==null?void 0x0:_0x342053[_0x11969c(0x203)](_0x2aa028=>_0x2aa028[_0x11969c(0x22f)]===_0x5f2200[_0x11969c(0x1ef)][_0x11969c(0x219)])['map'](_0x58189a=>_0x58189a[_0x11969c(0x1cf)]))==null?[]:_0x1d0d46,_0x31fcf9=JSON[_0x11969c(0x23d)](_0x31c4d8),_0x2de7ea=_0x326e84['threadId'],_0x4e087a=_0x326e84['id'],_0x269a22={'memberId':(await this[_0x11969c(0x1d7)][_0x11969c(0x1e1)](_0x91edd1))['getMemberID'](),'unitId':_0x91edd1,'threadId':_0x2de7ea,'mention':_0x28d9a5,'content':_0x31fcf9,'replyId':_0x4e087a},_0x4719bd=await this['_httpService'][_0x11969c(0x214)](_0x11969c(0x1f6)+_0x91edd1+_0x11969c(0x23b),{'body':_0x269a22});return!_0x4719bd['body'][_0x11969c(0x235)]||_0x4719bd[_0x11969c(0x1e6)]['error'][_0x11969c(0x1dd)]===0x1;}async[_0x2e50fe(0x228)](_0x43427a){const _0x5e0741=_0x2e50fe;let {unitId:_0x104961}=_0x43427a,_0x58849e=_0x43427a['threadId'],_0x2b5a79={'memberId':this[_0x5e0741(0x1f0)]['getCurrentUser']()[_0x5e0741(0x21d)],'unitId':_0x104961,'threadId':_0x58849e,'solved':_0x43427a[_0x5e0741(0x21a)]?_0x43efdd[_0x5e0741(0x233)][_0x5e0741(0x1da)]:_0x43efdd[_0x5e0741(0x233)][_0x5e0741(0x216)]},_0x973eba=await this[_0x5e0741(0x1c4)][_0x5e0741(0x214)](_0x5e0741(0x1f6)+_0x104961+_0x5e0741(0x229),{'body':_0x2b5a79});return!_0x973eba['body']['error']||_0x973eba['body']['error'][_0x5e0741(0x1dd)]===0x1;}async[_0x2e50fe(0x224)](_0x5a64fa,_0xf6f01a,_0x1ae1a,_0x3b28a8){const _0x3343e4=_0x2e50fe;let _0x4b6f0b={'memberId':(await this[_0x3343e4(0x1d7)][_0x3343e4(0x1e1)](_0x5a64fa))[_0x3343e4(0x1ff)](),'threadId':_0x1ae1a,'replyId':_0x3b28a8,'unitId':_0x5a64fa},_0x3ea1d2=await this[_0x3343e4(0x1c4)][_0x3343e4(0x214)]('/universer-api/comment/unit/'+_0x5a64fa+_0x3343e4(0x226),{'body':_0x4b6f0b});return!_0x3ea1d2['body']['error']||_0x3ea1d2[_0x3343e4(0x1e6)][_0x3343e4(0x235)][_0x3343e4(0x1dd)]===0x1;}async[_0x2e50fe(0x204)](_0x5f493a,_0x496302,_0x4b24b3){const _0xeb4d04=_0x2e50fe;let _0x2fa118={'unitId':_0x5f493a,'threadId':_0x4b24b3},_0x22c356=await this[_0xeb4d04(0x1c4)][_0xeb4d04(0x214)](_0xeb4d04(0x1f6)+_0x5f493a+'/list',{'body':_0x2fa118}),_0x10080f=_0x4b24b3[_0xeb4d04(0x1fa)](_0x2c155a=>_0x1c0122(_0x22c356[_0xeb4d04(0x1e6)]['comments'][_0x2c155a],_0x5f493a,_0x496302))['filter'](Boolean);return Object[_0xeb4d04(0x243)](_0x22c356[_0xeb4d04(0x1e6)][_0xeb4d04(0x211)])[_0xeb4d04(0x20f)](_0x591917=>{const _0x18b0b2=_0xeb4d04;this[_0x18b0b2(0x1f0)][_0x18b0b2(0x1ce)](_0x591917);}),_0x10080f;}[_0x2e50fe(0x23c)](_0x107527){const _0x43b799=_0x2e50fe;return{'id':_0x107527['id'],'threadId':_0x107527[_0x43b799(0x1fe)],'ref':_0x107527[_0x43b799(0x1fd)]};}};_0x51163f=_0x3e3186([_0x2d38ec(0x0,(0x0,_0x5f2200['Inject'])(_0x3af597[_0x2e50fe(0x20e)])),_0x2d38ec(0x1,(0x0,_0x5f2200['Inject'])(_0x5f2200['UserManagerService'])),_0x2d38ec(0x2,(0x0,_0x5f2200['Inject'])(_0x10cb6d['CollaborationSessionService']))],_0x51163f);let _0x273e93=class extends _0x5f2200['Disposable']{constructor(_0x190140,_0x530466){const _0x48c12e=_0x2e50fe;super(),this[_0x48c12e(0x236)]=_0x190140,this[_0x48c12e(0x244)]=_0x530466,this['_initDataSource']();}['_initDataSource'](){const _0x39de5e=_0x2e50fe;this[_0x39de5e(0x236)][_0x39de5e(0x1e5)]=this[_0x39de5e(0x244)],this[_0x39de5e(0x236)][_0x39de5e(0x1c8)]=!0x1;}};_0x273e93=_0x3e3186([_0x2d38ec(0x0,_0xd76d68[_0x2e50fe(0x208)]),_0x2d38ec(0x1,(0x0,_0x5f2200['Inject'])(_0x51163f))],_0x273e93);function _0x3e620a(_0x17b5ce){'@babel/helpers - typeof';const _0x6516e0=_0x2e50fe;return _0x3e620a=typeof Symbol=='function'&&typeof Symbol[_0x6516e0(0x1c1)]==_0x6516e0(0x1f3)?function(_0x1142c1){return typeof _0x1142c1;}:function(_0x549a36){const _0x1e8b3f=_0x6516e0;return _0x549a36&&typeof Symbol=='function'&&_0x549a36[_0x1e8b3f(0x1d8)]===Symbol&&_0x549a36!==Symbol[_0x1e8b3f(0x1be)]?_0x1e8b3f(0x1f3):typeof _0x549a36;},_0x3e620a(_0x17b5ce);}function _0x463c88(_0x567d3a,_0x244ef1){const _0x50abc8=_0x2e50fe;if(_0x3e620a(_0x567d3a)!=_0x50abc8(0x1e9)||!_0x567d3a)return _0x567d3a;var _0x3460d8=_0x567d3a[Symbol[_0x50abc8(0x242)]];if(_0x3460d8!==void 0x0){var _0x1c2cab=_0x3460d8['call'](_0x567d3a,_0x244ef1||_0x50abc8(0x1df));if(_0x3e620a(_0x1c2cab)!=_0x50abc8(0x1e9))return _0x1c2cab;throw TypeError(_0x50abc8(0x222));}return(_0x244ef1===_0x50abc8(0x218)?String:Number)(_0x567d3a);}function _0x19345f(_0x1a70b3){const _0x21f037=_0x2e50fe;var _0x3e6ff3=_0x463c88(_0x1a70b3,_0x21f037(0x218));return _0x3e620a(_0x3e6ff3)==_0x21f037(0x1f3)?_0x3e6ff3:_0x3e6ff3+'';}function _0x595969(_0xe5f749,_0x18cbd3,_0x39a0e4){const _0x51ffef=_0x2e50fe;return(_0x18cbd3=_0x19345f(_0x18cbd3))in _0xe5f749?Object[_0x51ffef(0x1ca)](_0xe5f749,_0x18cbd3,{'value':_0x39a0e4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xe5f749[_0x18cbd3]=_0x39a0e4,_0xe5f749;}let _0x4b4129=class extends _0x5f2200[_0x2e50fe(0x21e)]{constructor(_0x217f38=_0x2f957c,_0x571a42,_0x1f747d){const _0x17bc77=_0x2e50fe;super(),this[_0x17bc77(0x22e)]=_0x217f38,this[_0x17bc77(0x21b)]=_0x571a42,this[_0x17bc77(0x1f9)]=_0x1f747d;let {..._0x4be440}=(0x0,_0x5f2200['merge'])({},_0x2f957c,this['_config']);this[_0x17bc77(0x1f9)]['setConfig']('thread-comment-data-source.config',_0x4be440);}['onStarting'](){const _0x1bc2c4=_0x2e50fe;[[_0x51163f],[_0x273e93],[_0x4bc8c0]][_0x1bc2c4(0x20f)](_0x402efc=>{const _0x4ca5f7=_0x1bc2c4;this[_0x4ca5f7(0x21b)][_0x4ca5f7(0x1e4)](_0x402efc);});}[_0x2e50fe(0x237)](){const _0x55ed06=_0x2e50fe;this[_0x55ed06(0x21b)]['get'](_0x273e93),this[_0x55ed06(0x21b)][_0x55ed06(0x240)](_0x4bc8c0);}};_0x595969(_0x4b4129,_0x2e50fe(0x227),'UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN'),_0x595969(_0x4b4129,'packageName',_0x23677e),_0x595969(_0x4b4129,_0x2e50fe(0x1bf),_0xd7839e),_0x4b4129=_0x3e3186([(0x0,_0x5f2200[_0x2e50fe(0x215)])(_0x316987[_0x2e50fe(0x1c0)],_0x10cb6d['UniverCollaborationClientPlugin'],_0x502b3e[_0x2e50fe(0x1c5)]),_0x2d38ec(0x1,(0x0,_0x5f2200['Inject'])(_0x5f2200[_0x2e50fe(0x1bc)])),_0x2d38ec(0x2,_0x5f2200[_0x2e50fe(0x212)])],_0x4b4129),Object[_0x2e50fe(0x1ca)](_0x39c76f,_0x2e50fe(0x1d5),{'enumerable':!0x0,'get':function(){return _0x4b4129;}});}));function _0xdb5b(){const _0x2516f3=['function','symbol','UniverProCollaborationClient','customRanges','/universer-api/comment/unit/','type','find','_configService','map','UniverCore','updateComment','ref','threadId','getMemberID','96lCvpZp','dateKit','comment','filter','listComments','disposeWithMe','222SfgfvD','/add','IThreadCommentDataSourceService','9177440KHvHXt','parentId','553pDdliR','_threadCommentModel','addComment','HTTPService','forEach','@univerjs/thread-comment-ui','users','IConfigService','Reply','post','DependentOn','OpenOrReOpen','3302552asEpbt','string','COMMENT','resolved','_injector','677296AWGgTt','userID','Plugin','user','@univerjs-pro/collaboration-client','delete','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','UniverNetwork','deleteComment','YYYY/MM/DD\x20HH:mm','/delete','pluginName','resolveComment','/solved','51036Kytiof','/universer-api/user/list','Solve','CommentUpdateEventType','_config','rangeType','pipe','rxjs','getUnit','CommentSolvedStatus','99AJZoCD','error','_threadCommentDataSourceService','onReady','getUser','payload','UniverProThreadCommentDatasource','/edit','saveCommentToSnapshot','stringify','30xjolOg','@univerjs/thread-comment','get','UniverProLicense','toPrimitive','values','_threadCommentDataSource','CommentService','35010ADLEdH','decorate','UniverThreadCommentUi','getOwnPropertyDescriptor','Injector','/reply','prototype','version','UniverThreadCommentUIPlugin','iterator','UniverProtocol','UniverThreadComment','_httpService','UniverLicensePlugin','_commentService','@univerjs/core','syncUpdateMutationToColla','parse','defineProperty','slice','unitId','3799590nYsond','addUser','rangeId','exports','@univerjs-pro/thread-comment-datasource','createTimestamp','subscribe','replyId','UniverThreadCommentDataSourcePlugin','_initUserSync','_sessionService','constructor','userId','Solved','content','Inject','code','_init','default','Disposable','requireSession','UserManagerService','commentUpdate$','add','dataSource','body','root','format','object','40321JUMDne','solved','replies','amd','toStringTag','CustomRangeType','_userService','0.25.0'];_0xdb5b=function(){return _0x2516f3;};return _0xdb5b();}
15
-
16
- // @univerjs-pro/edit-history-viewer/index
17
- function _0x4d6c(){const _0x47e255=['4459VFvKZi','_renderDrawingHighlights','useState','edit-history-viewer.panel.listFetchError','position','_messageService','save','_blinkTimer','setRangeTheme','direction','UniverCore','_openPanel$','updatePivotSource','Error','_dialogOptions$','getSheetId','WorkbookRenameSheetPermission','time','refreshRangeProtectPermission','deleteBorder','WorkbookHideSheetPermission','univer-m-auto\x20univer-animate-spin','edit-history-viewer.action.revertSheetPrefix','addObjects','updateShapeType','SetWorksheetColumnCountMutation','getCurrentVersion','univer-animate-spin\x20univer-text-gray-400','_updateDiffMarks','UniverEngineRender','_sheetsPivotTableConfigModel','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','viewportScrollY','insertChart','UniverSheetsDrawing','status','Shape','getHours','params','getCurrentSkeleton','UniverProCollaborationClientUi','edit-history-viewer.panel.aiAssistant','attrs','updatePermissionPoint','_labelPosition','labelPosition','versions','width','creators','updateShapeData','updateChartSource','12px','filter','constructor','useMemo','0\x200\x2020\x2020','_transformService','_extractRanges','registerRenderModule','abs','userId','unknownUser','focusUnit','IUniverInstanceService','url(#restore-icon_clip0_1247_2)','deleteCF','open','_univerInstanceService','setSparkline','assign','toDisposable','VersionDiffRenderController','startsWith','map','from','_canRevert','rgba','rgb','removePivotTable','edit-history-viewer.panel.title','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','close','AddSheetSparklineMutation','getSelectedVersionCanRevert','forValue','[HistoryFetchService]:\x20request\x20snapshot\x20error!','userIds','left','_loadParams','svg','SetWorksheetOrderMutation','708iPGhpc','UniverProSheetsShape','fetchCreatorList','transform','disposeUnit','subUnitIds','color','getViewport','_getLighterColor','ReorderRangeMutation','/universer-api/history','historyListServerUrl','Plugin','padStart','_unitCurrentVersionMap','RevertRevisionMutation','setShapeProps','setPivotFilter','join','/cs?startRevision=','recoverTime','blockMeta','rules','RestoreIcon','flat','SheetDataValidationModel','http://www.w3.org/2000/svg','SetDrawingApplyMutation','Today','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','labelKey','setPivotFieldFormat','COMPRESS_MUTATION_APPLY','triggerDblclick','_injector','getCoordByCell','SheetsFilterService','command','loadInitialVersions','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','toString','SetSheetSparklineMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Subject','WorkbookEditablePermission','backgroundColor','exports.@univerjs-pro/collaboration-client-ui.@univerjs/core.@univerjs/drawing.@univerjs/engine-render.@univerjs/sheets.@univerjs/sheets-ui.rxjs.@univerjs/design.@univerjs/ui.@univerjs-pro/collaboration.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-sparkline.@univerjs/data-validation.@univerjs/sheets-conditional-formatting.@univerjs/sheets-drawing.@univerjs/sheets-filter.@univerjs/sheets-table.@univerjs/network.@univerjs/protocol.@univerjs/sheets-data-validation.@univerjs-pro/collaboration-client.react.react/jsx-runtime','102320nozmKy','_workbookDataCache','_draw','SetWorksheetRightToLeftMutation','startRow','_initRender','getMatrix','getVersion','_hasMore','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','changesets','default','INSERT','IConfigService','currentSkeleton$','unitID','edit-history-viewer.panel.confirm','UniverSheetsFilter','SetSheetsFilterRangeMutation','_categorizeMutationRanges','0px','clsx','currentColor','_config','SheetTableService','ICommandService','DisposableCollection','none','AddDataValidationMutation','_createUnit','_stopBlinking','SetWorksheetHideMutation','createElement','ISnapshotServerService','showMask','LoadingMultiIcon','0\x200\x2016\x2016','getUnit','dispose','lineTo','removeNumfmt','Vector2','HEADER','UpdatePivotFieldSourceInfoMutation','removePivotField','UniverNetworkPlugin','_status$','Comment','onStarting','ChartUpdateConfigMutation','showCol','setRowIsAutoHeight','getRule','edit-history-viewer.panel.revertConfirmText','onPointerLeave$','insertDrawings','removeFilter','InsertSheetsChartMutation','button','deleteDrawings','connectInjector','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overflow-auto\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','AddPivotFieldMutation','unitId','_setFetching','DeleteRangeProtectionMutation','UniverProtocol','subscribeEvent','findAllRectangle','useCallback','/creators','_compressMutationService','addSparkline','setDV','UniverProSheetsChart','MoveConditionalRuleMutation','highlightSecond','absolute','SetPivotFilterMutation','getAncestorScale','univer-size-4\x20univer-animate-spin','moveRows','rgba(21,101,192,0.5)','SetWorksheetRowHeightMutation','CONTENT','_openPanel','dateString','RemoveSheetsShapeMutation','max','SetWorksheetColWidthMutation','mask','_updateWorksheetVisibility','AddPivotTableMutation','toStringTag','chartId','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','confirm-revert-revision','fetching','InsertRowMutation','setPivotOption','disposeWithMe','interceptor','ROW','triggerLoadSheet','white','_color','BackIcon','add','_members','VersionDiffService','_maskContainer','...','_diffRangesMap','insertBorderRanges','createTime','lastLabel','DeleteSheetTableMutation','#0B9EFB','forwardRef','scrollToShape','delete','revertRevision$','reorderSheet','renameSheet','_componentManager','jsxs','columnData','_scrollToShape','9ZaPFRt','_combineRanges','_name','subUnitId','setPivotPosition','_context','show','0.2)','evented','18913340luHQSw','Dropdown','clearTimeout','range','_versionDiffService','version','_drawingManagerService','slice','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','key','getRange','shapeId','moveCF','SetPivotSortMutation','drawingId','SetWorksheetActiveOperation','concat','parseProtocolChangeset','flex','3357270IAHyDE','clearInterval','univer-min-w-0\x20univer-flex-1','SheetSkeletonManagerService','getFilterModel','restore-icon','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-h-full\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','edit-history-viewer.panel.currentVersion','addProtection','M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','getPivotTableRangeInfo','exited','sparklineConfigMap','state$','loading-multi-icon','SetRangeThemeMutation','deleteCellRanges','_snapshotServerService','1px','univer-min-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','7.08645','path','_updateVersions','updateTable','_fetching$','_drawTextBubble','action','current','VIEW_MAIN','forEach','endRow','_detailVersionsMap','univer-flex\x20univer-items-center\x20univer-justify-center','unitId$','strokeStyle','getVpScrollXYInfoByPosToVp','history-mask','InsertSheetsShapeMutation','includes','10px','30px','_blinkIntervalTimer','Module','useObservable','useEffect','now','SetRangeProtectionMutation','getDataRange','sparklines','font','ruleId','setRightToLeft','setPivotValueFilter','rgba(225,\x20225,\x20225,\x200.5)','isSheetHidden','justifyContent','renameWorkbook','_unitId$','highlight','getSubUnitId','updateDrawings','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','user','string','_showText','setColWidth','hideRow','find','asObservable','SetWorksheetPermissionPointsMutation','MoveRowsMutation','_handleOverlappingShapes','6.77028','column','IDialogService','targetRange','rgba(198,40,40,0.5)','UniverUi','_sheetSkeletonManagerService','_getSheetObject','moveRange','_removeDiffMarks','RenamePivotFieldMutation','ChartUpdateSourceConfigMutation','categorizeMutationRanges','zIndex','1em','_initActiveSwitch','UpdatePivotTableSourceRangeMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UpdateSheetsShapeDataMutation','univer-flex\x20univer-min-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','getDrawingByParam','users',',\x200.2)','additionalFields','RemoveRowMutation','M9.18035\x202.34502C9.21605\x202.15386\x209.31749\x201.9812\x209.46709\x201.85695C9.6167\x201.7327\x209.80504\x201.66469\x209.99951\x201.66469C10.194\x201.66469\x2010.3823\x201.7327\x2010.5319\x201.85695C10.6815\x201.9812\x2010.783\x202.15386\x2010.8187\x202.34502L11.6945\x206.97669C11.7567\x207.30598\x2011.9167\x207.60887\x2012.1537\x207.84583C12.3907\x208.08279\x2012.6936\x208.24282\x2013.0228\x208.30502L17.6545\x209.18085C17.8457\x209.21656\x2018.0183\x209.318\x2018.1426\x209.4676C18.2668\x209.6172\x2018.3348\x209.80555\x2018.3348\x2010C18.3348\x2010.1945\x2018.2668\x2010.3828\x2018.1426\x2010.5324C18.0183\x2010.682\x2017.8457\x2010.7835\x2017.6545\x2010.8192L13.0228\x2011.695C12.6936\x2011.7572\x2012.3907\x2011.9172\x2012.1537\x2012.1542C11.9167\x2012.3912\x2011.7567\x2012.6941\x2011.6945\x2013.0234L10.8187\x2017.655C10.783\x2017.8462\x2010.6815\x2018.0188\x2010.5319\x2018.1431C10.3823\x2018.2673\x2010.194\x2018.3353\x209.99951\x2018.3353C9.80504\x2018.3353\x209.6167\x2018.2673\x209.46709\x2018.1431C9.31749\x2018.0188\x209.21605\x2017.8462\x209.18035\x2017.655L8.30451\x2013.0234C8.24231\x2012.6941\x208.08228\x2012.3912\x207.84532\x2012.1542C7.60836\x2011.9172\x207.30547\x2011.7572\x206.97618\x2011.695L2.34451\x2010.8192C2.15335\x2010.7835\x201.98069\x2010.682\x201.85645\x2010.5324C1.7322\x2010.3828\x201.66418\x2010.1945\x201.66418\x2010C1.66418\x209.80555\x201.7322\x209.6172\x201.85645\x209.4676C1.98069\x209.318\x202.15335\x209.21656\x202.34451\x209.18085L6.97618\x208.30502C7.30547\x208.24282\x207.60836\x208.08279\x207.84532\x207.84583C8.08228\x207.60887\x208.24231\x207.30598\x208.30451\x206.97669L9.18035\x202.34502Z','_applyWorkbookData','_configService','SetNumfmtMutation','SetSheetTableMutation','SheetsPivotTableConfigModel','push','arrowColumnRanges','ErrorCode','Failed\x20to\x20fetch\x20version\x20details:','sourceRange','IPermissionService','_drawingDiffs','MoveColsMutation','switchMap','univer-text-sm','edit-history-viewer.action.','fillStyle','entered','vertical','#FF557D','subType','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','decorate','VIRTUAL_VERSION_NOW','onSteady','fillText','toISOString','edit-history-viewer.action.removeDrawing','SetPivotPositionMutation','removeCol','transformMutations','setRowHeight','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','SetWorkbookNameMutation','MessageType','univer-relative','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','isArray','InsertSheetMutation','_loadingState$','edit-history-viewer.panel.cancel','setFilterCriteria','middle','copySheet','groupIds','onPointerEnter$','User','SetRowHiddenMutation','SetPivotOptionMutation','_arrowDiffs','renamePivotField','updateBorder','Entered','IDrawingManagerService','getDeserializedSheetBlock','updateChartConfig','Unspecified','RemoveNumfmtMutation','loading','ZH_CN','getSheets','_highlight','SetWorksheetDefaultStyleMutation','cellValue','edit-history-viewer.header.back','hide','SetWorksheetRowCountMutation','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','unmergeCells','date','objects','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','merge','UniverNetwork','0.31','COLUMN','_sidebarService','small','end','RemoveDataValidationMutation','RenameSheet','substring','deleteWorksheetRangeTheme','data','Inject','edit-history-viewer.action.insertDrawing','Fragment','arrowColumn','SetRowDataMutation','parseInt','parent','DeleteConditionalRuleMutation','scrollToViewportPos','pivotTableId','register','100%','_commandService','insertRow','triggerCustomVersions','Character','SparklineDataSourceModel','edit-history-viewer.panel.filterAi','columnHeaderHeight','SHEET_VIEWPORT_KEY','getHistoryChangesets','Disposable','revision','historyAIassistantEnabled','all','LRUMap','_lastLabel','deleteRangeProtection','Edit','_sheetsChartService','#A656FF','insert','hideMask','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','726342SvdeTM','CopyWorksheetEndMutation','resolve','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','unionPivotViewRange','tag','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-1/2\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UNIVER_SHEET','arrowRowRanges','primary','loadMoreVersions','addRangeProtection','stop','currentVersion','setColCount','_init','UniverProEditHistoryViewer','edit-history-viewer.panel.filterCollaboratorCancel','AddWorksheetProtectionMutation','_findOverlappingShapes','span','setValue','confirm','getCurrentLocale','UniverProSheetsSparkline','SnapshotServerOverHTTPService','loadingState$','CollaborationImageIoService','edit-history-viewer.panel.unknownUser','SetColDataMutation','origin','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-break-all\x20univer-font-medium\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_creators$','_sheetTableService','-drawing-','next','0\x200\x2016\x2017','SetRowVisibleMutation','univer-h-12','SetConditionalRuleMutation','startRev','loaded','Tooltip','tableId','showRow','univer-w-10','_setVersions','getOwnPropertyDescriptor','stringify','Checkbox','link','ranges','bottom','UniverSheetsUi','symbol','_historyContainerId','historyPanelComponentKey','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SetRangeValuesMutation','getConfig','SetWorksheetRowAutoHeightMutation','_initPanel','getVersions','0.25.0','keys','addTable','_uiPartsService','Button','chartModelId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-xs\x20univer-text-gray-400','getRelativeToViewportCoord','Rect','_hovered','UniverSheets','cfId','SetSheetTableFilterMutation','univer-h-[60%]','_httpService','_currentVersion$','UpdateDataValidationMutation','sheetId','active','UniverSheetsConditionalFormatting','value','start','reverse','getCurrentUnitOfType','setOffsetY','scroll','univer-flex-1','_sidebarDisposable','object','transformSnapshotToWorkbookData','edit-history-viewer.panel.currentUser','IRenderManagerService','WorkbookMoveSheetPermission','registerComponent','SetPivotFieldFormatMutation',':\x20(','UniverProCollaboration','isTransformMutationsSuccess','hideSheet','children','_localeService','UniverEditHistoryViewerPlugin','center','fetching$','row','beginPath','set','moveTo','entries','name','currentVersionDiff$','removeEventListener','DependentOn','UniverInstanceType','_rangeProtectionRuleModel','startDateString','_historyFetchService','setPermissionPoints','MoveRangeMutation','SetPivotValueFilterMutation','hideCol','RemoveSheetsChartMutation','AddConditionalRuleMutation','colorChannel1','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','call','creators$','entities','UniverDataValidation','setPivotCollapse','rect','_cellEditorManagerService','53915RwdTHb','ruleIds','-detail-','reorderRange','rowData','top','update','UniverSheetsDataValidation','arc','HistoryModeStatus','openPanel$','length','horizontal','_registerHeader','_renderCellRanges','anonymous','UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN','_conditionalFormattingRuleModel','reduce','setRowData','_drawHorizontalArrow','setColData','append','some','addPivotField','RemoveSheetsFilterMutation','getMinutes','ReCalcSheetsFilterMutation','IImageIoService','sort','SetFrozenMutation','canRevert','AddRangeProtectionMutation','_permissionService','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','1231972etyDGb','CompressMutationService','univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-white\x20univer-shadow-[0_-4px_24px_rgba(0,0,0,0.12)]\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950','50%','split','_yieldToMain','transparent','scene','getInterceptPoints','subscribe','error','HTTPService','hasCommand','setPivotSort','_renderArrowRanges','hideDiffMarks','isError','startRevCreateTime','UnitAction','univer-size-8\x20univer-text-gray-400','setWorksheetRangeTheme','REMOVE','BuiltInUIPart','SetSheetsFilterCriteriaMutation','MoreRightIcon','drawingIds','get','updateCellRanges','back-icon','removeTable','moveCols','setPivotSubtotalType','_confirmService','combineLatest','univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','setRangeProtection','xlink:href','height','univer-size-4\x20univer-shrink-0','AddSheetTableMutation','removeShape','HideSheet','commands','measureText','SetPivotSubtotalTypeMutation','debounce','startRevision','mergeCells','endColumn','more-right-icon','executeCommand','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','pipe','syncExecuteCommand','getRuleById','DrawingApplyType','edit-history-viewer.header.revert','SheetCollabCursorShape','defs','hovered','addPivotTable','deleteProtection','getSelectedVersionIsCurrentVersion','IUIPartsService','createUnit','parse','useRef','arrowRow','display','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-blue-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800','makeDirty','triggerRevert','insertCellRanges','clear','univerjs-icon\x20univerjs-icon-','_drawVerticalArrow','BehaviorSubject','closeAll','DeleteWorksheetRangeThemeStyleMutation','highlightRow','rule','code','RemoveSheetSparklineMutation','React','RemoveWorksheetMergeMutation','userID','UpdateSheetsShapeTypeMutation','ObjectMatrix','Injector','useDependency','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','linearGradient','removeDV','setFilter','ISidebarService','jsx','packageName','removeSheet','removeAll','#2793FF','FloatImg','FunnelIcon','SetPivotCollapseMutation','min','replace','1000','FromArray','_dataValidationModel','has','_transformMutationByOrder','RANGE_TYPE','setProtection','rangeInfo','edit-history-viewer.panel.revertDesc','_getAPIPrefix','removeRangeTheme','restore','currentVersion$','LocaleType','style','blocks','getTableInfo','mutations','SheetsChartService','getUnitOnRev','RemovePivotFieldMutation','paint0_linear_236_415','stroke','ICellEditorManagerService','/list?','Info','edit-history-viewer.config','univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','SetWorksheetRangeThemeStyleMutation','_getActiveSubUnitId','defineProperty','RemovePivotTableMutation','_createMask','LocaleService','insertBorder','getCurrentUnitCurrentVersion','stopPropagation','showText','fill','recalcFilter','univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','addEventListener','UpdateValuePositionMutation','toPrimitive','editSheet','block','_isBlinkVisible','_revertRevision$','random','historyPanelHidden','loadingState','univer-flex-1\x20univer-overflow-y-auto','idSuffix','ConditionalFormattingRuleModel','restore-icon_clip0_1247_2','RemoveSheetMutation','_versions$','evenodd','init','RangeMergeUtil','&endRevision=','0.01','onMouseMove','values','UpdateFieldPositionMutation','status$','removeSparkline','setTableFilter','transformByState','setConfig','pluginName','setCF','MoveSheet','onRendered','_sparklineDataSourceModel','_cacheKey','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-3\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','setGridlinesColor','_diffs','univer-text-gray-500','InsertColMutation','setDefaultStyle','trim','div','getMutationActionMap','body','endRev','Segmented','_currentVersionDiff$','history-panel','rgba(46,125,50,0.5)','80gHNLDg','univer-relative\x20univer-h-8','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_borderDiffs','displayName','lineWidth','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-justify-end\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','updateValuePosition','getUnitId','_renderManagerService','closePath','_historyManagerService','_lastPointer','M1\x203.87476C1\x204.97933\x201.89543\x205.87476\x203\x205.87476L3\x207.67383C3\x208.7784\x203.89543\x209.67383\x205\x209.67383H5.5V13.5252C5.5\x2014.4089\x206.21634\x2015.1252\x207.1\x2015.1252H8.9C9.78366\x2015.1252\x2010.5\x2014.4089\x2010.5\x2013.5252V9.67383H11C12.1046\x209.67383\x2013\x208.7784\x2013\x207.67383V5.87476C14.1046\x205.87476\x2015\x204.97933\x2015\x203.87476V2.87476C15\x201.77019\x2014.1046\x200.874756\x2013\x200.874756H3C1.89543\x200.874756\x201\x201.77019\x201\x202.87476V3.87476ZM13\x202.07476H3C2.55817\x202.07476\x202.2\x202.43293\x202.2\x202.87476V3.87476C2.2\x204.31658\x202.55817\x204.67476\x203\x204.67476L13\x204.67383C13.4418\x204.67383\x2013.8\x204.31658\x2013.8\x203.87476V2.87476C13.8\x202.43293\x2013.4418\x202.07476\x2013\x202.07476ZM4.2\x207.67383V5.87476H11.8V7.67383C11.8\x208.11566\x2011.4418\x208.47383\x2011\x208.47383H5C4.55817\x208.47383\x204.2\x208.11566\x204.2\x207.67383ZM6.7\x209.67437H9.3V13.5252C9.3\x2013.7462\x209.12091\x2013.9252\x208.9\x2013.9252H7.1C6.87909\x2013.9252\x206.7\x2013.7462\x206.7\x2013.5252V9.67437Z','label','_maskElement','IMessageService','startColumn','_startBlinking','ensureVersion','updateBorderRanges','permissionPointUpdate$','_renderBorderRanges','fetchThroughInterceptors','function','ITransformService','type','univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','1.66418','url(#$1','translateY(-50%)','univer-ml-1\x20univer-flex\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','ComponentManager','getMember','iterator','_sheetsFilterService','deleteBorderRanges','_direction','_highlightSecond','createSheet','insertSheet','highlightColumn','endRevCreateTime'];_0x4d6c=function(){return _0x47e255;};return _0x4d6c();}function _0x4408(_0xb62c1a,_0x46ee36){_0xb62c1a=_0xb62c1a-0x70;const _0x4d6c2e=_0x4d6c();let _0x440882=_0x4d6c2e[_0xb62c1a];return _0x440882;}(function(_0x858b36,_0x4036bc){const _0x1c796b=_0x4408,_0x58b94e=_0x858b36();while(!![]){try{const _0x367590=parseInt(_0x1c796b(0x184))/0x1+-parseInt(_0x1c796b(0x22f))/0x2+-parseInt(_0x1c796b(0xac))/0x3+-parseInt(_0x1c796b(0x2f4))/0x4*(parseInt(_0x1c796b(0x20c))/0x5)+parseInt(_0x1c796b(0x37b))/0x6*(-parseInt(_0x1c796b(0x31f))/0x7)+-parseInt(_0x1c796b(0x3aa))/0x8*(parseInt(_0x1c796b(0x90))/0x9)+parseInt(_0x1c796b(0x99))/0xa;if(_0x367590===_0x4036bc)break;else _0x58b94e['push'](_0x58b94e['shift']());}catch(_0x3e134d){_0x58b94e['push'](_0x58b94e['shift']());}}}(_0x4d6c,0x8d5a8),function(_0x45f666,_0x38806c){const _0x481516=_0x4408;typeof exports==_0x481516(0x1e0)&&typeof module<'u'?_0x38806c(exports,require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/design'),require('@univerjs/ui'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-shape'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-table'),require('@univerjs/network'),require('@univerjs/protocol'),require('@univerjs/sheets-data-validation'),require('@univerjs-pro/collaboration-client'),require('react'),require('react/jsx-runtime')):typeof define==_0x481516(0x30c)&&define['amd']?define(_0x481516(0x3a9)['split']('.'),_0x38806c):(_0x45f666=typeof globalThis<'u'?globalThis:_0x45f666||self,_0x38806c(_0x45f666[_0x481516(0x194)]={},_0x45f666[_0x481516(0x348)],_0x45f666[_0x481516(0x329)],_0x45f666['UniverDrawing'],_0x45f666[_0x481516(0x33c)],_0x45f666[_0x481516(0x1ce)],_0x45f666[_0x481516(0x1b9)],_0x45f666['rxjs'],_0x45f666['UniverDesign'],_0x45f666[_0x481516(0xf9)],_0x45f666[_0x481516(0x1e8)],_0x45f666[_0x481516(0x3f4)],_0x45f666['UniverProSheetsPivot'],_0x45f666[_0x481516(0x37c)],_0x45f666[_0x481516(0x19c)],_0x45f666[_0x481516(0x208)],_0x45f666[_0x481516(0x1d7)],_0x45f666[_0x481516(0x342)],_0x45f666[_0x481516(0x3bb)],_0x45f666['UniverSheetsTable'],_0x45f666[_0x481516(0x157)],_0x45f666[_0x481516(0x3ec)],_0x45f666[_0x481516(0x213)],_0x45f666['UniverProCollaborationClient'],_0x45f666[_0x481516(0x283)],_0x45f666['React']));}(this,function(_0x422e92,_0x5455be,_0x3bba19,_0x42dade,_0x7352c7,_0x5431fa,_0x24294d,_0x54d7f0,_0x4b600c,_0x3f2000,_0x26651d,_0x5302d2,_0x3089bf,_0x592f14,_0x4b82f6,_0x4ca1e8,_0x3463d2,_0x5a4e7e,_0x4f392a,_0x22596e,_0x4def42,_0x1ea6dc,_0xd0b5e7,_0xf6793f,_0x2ae8f3,_0x31ec98){const _0x2267a7=_0x4408;Object[_0x2267a7(0x2b7)](_0x422e92,Symbol[_0x2267a7(0x407)],{'value':_0x2267a7(0xd6)});function _0x3fad89(_0x293091=_0x2267a7(0x11d)){const _0x502d35=_0x2267a7;return{'collaboration':[{'id':_0x26651d['CreateUnitMutation']['id'],'action':_0x293091+_0x502d35(0x31b)},{'id':_0x26651d['RevertRevisionMutation']['id'],'action':_0x293091+'revertSheet'}],'sheets':[{'id':_0x5431fa[_0x502d35(0x134)]['id'],'action':_0x293091+_0x502d35(0x31c)},{'id':_0x5431fa[_0x502d35(0x2d0)]['id'],'action':_0x293091+_0x502d35(0x291)},{'id':_0x5431fa['SetWorksheetNameMutation']['id'],'action':_0x293091+_0x502d35(0x8b)},{'id':_0x5431fa[_0x502d35(0x37a)]['id'],'action':_0x293091+_0x502d35(0x8a)},{'id':_0x5431fa[_0x502d35(0x3c9)]['id'],'action':_0x293091+_0x502d35(0x1ea)},{'id':_0x5431fa[_0x502d35(0x185)]['id'],'action':_0x293091+_0x502d35(0x139)},{'id':_0x5431fa['SetTabColorMutation']['id'],'action':_0x293091+'setTabColor'},{'id':_0x5431fa[_0x502d35(0x12f)]['id'],'action':_0x293091+_0x502d35(0xe4)},{'id':_0x5431fa[_0x502d35(0x72)]['id'],'action':_0x293091+_0x502d35(0x16f)},{'id':_0x5431fa[_0x502d35(0x2e9)]['id'],'action':_0x293091+'insertCol'},{'id':_0x5431fa[_0x502d35(0x10c)]['id'],'action':_0x293091+'removeRow'},{'id':_0x5431fa['RemoveColMutation']['id'],'action':_0x293091+_0x502d35(0x12b)},{'id':_0x5431fa[_0x502d35(0xf2)]['id'],'action':_0x293091+'moveRows'},{'id':_0x5431fa['MoveColsMutation']['id'],'action':_0x293091+_0x502d35(0x24d)},{'id':_0x5431fa[_0x502d35(0x1a9)]['id'],'action':_0x293091+_0x502d35(0x1b0)},{'id':_0x5431fa[_0x502d35(0x13d)]['id'],'action':_0x293091+_0x502d35(0xee)},{'id':_0x5431fa['SetColVisibleMutation']['id'],'action':_0x293091+_0x502d35(0x3dc)},{'id':_0x5431fa['SetColHiddenMutation']['id'],'action':_0x293091+_0x502d35(0x200)},{'id':_0x5431fa['SetWorksheetRowHeightMutation']['id'],'action':_0x293091+_0x502d35(0x12d)},{'id':_0x5431fa[_0x502d35(0x403)]['id'],'action':_0x293091+'setColWidth'},{'id':_0x5431fa[_0x502d35(0x1c0)]['id'],'action':_0x293091+'setRowAutoHeight'},{'id':_0x5431fa['SetWorksheetRowIsAutoHeightMutation']['id'],'action':_0x293091+_0x502d35(0x3dd)},{'id':_0x5431fa[_0x502d35(0x166)]['id'],'action':_0x293091+_0x502d35(0x21f)},{'id':_0x5431fa[_0x502d35(0x1a1)]['id'],'action':_0x293091+'setColData'},{'id':_0x5431fa[_0x502d35(0x150)]['id'],'action':_0x293091+'setRowCount'},{'id':_0x5431fa[_0x502d35(0x338)]['id'],'action':_0x293091+_0x502d35(0x192)},{'id':_0x5431fa[_0x502d35(0x1be)]['id'],'action':_0x293091+'setRangeValues'},{'id':_0x5431fa[_0x502d35(0x1fe)]['id'],'action':_0x293091+_0x502d35(0xfc)},{'id':_0x5431fa[_0x502d35(0x384)]['id'],'action':_0x293091+_0x502d35(0x20f)},{'id':_0x5431fa['AddWorksheetMergeMutation']['id'],'action':_0x293091+_0x502d35(0x25e)},{'id':_0x5431fa[_0x502d35(0x284)]['id'],'action':_0x293091+'unmergeCells'},{'id':_0x5431fa[_0x502d35(0x22a)]['id'],'action':_0x293091+'setFrozen'},{'id':_0x5431fa['ToggleGridlinesMutation']['id'],'action':_0x293091+'toggleGridlines'},{'id':_0x5431fa['SetGridlinesColorMutation']['id'],'action':_0x293091+_0x502d35(0x2e6)},{'id':_0x5431fa[_0x502d35(0x3ad)]['id'],'action':_0x293091+_0x502d35(0xdf)},{'id':_0x5431fa[_0x502d35(0x14c)]['id'],'action':_0x293091+_0x502d35(0x2ea)},{'id':_0x5431fa[_0x502d35(0x196)]['id'],'action':_0x293091+_0x502d35(0xb4)},{'id':_0x5431fa['SetWorksheetProtectionMutation']['id'],'action':_0x293091+_0x502d35(0x29f)},{'id':_0x5431fa['DeleteWorksheetProtectionMutation']['id'],'action':_0x293091+_0x502d35(0x26c)},{'id':_0x5431fa[_0x502d35(0x22c)]['id'],'action':_0x293091+_0x502d35(0x18f)},{'id':_0x5431fa[_0x502d35(0xda)]['id'],'action':_0x293091+'setRangeProtection'},{'id':_0x5431fa[_0x502d35(0x3eb)]['id'],'action':_0x293091+_0x502d35(0x17d)},{'id':_0x5431fa[_0x502d35(0xf1)]['id'],'action':_0x293091+_0x502d35(0x1fd)},{'id':_0x5431fa[_0x502d35(0x110)]['id'],'action':_0x293091+'setNumfmt'},{'id':_0x5431fa[_0x502d35(0x147)]['id'],'action':_0x293091+_0x502d35(0x3d2)},{'id':_0x5431fa['AddRangeThemeMutation']['id'],'action':_0x293091+'addRangeTheme'},{'id':_0x5431fa[_0x502d35(0xbb)]['id'],'action':_0x293091+_0x502d35(0x327)},{'id':_0x5431fa['RemoveRangeThemeMutation']['id'],'action':_0x293091+_0x502d35(0x2a3)},{'id':_0x5431fa[_0x502d35(0x2b5)]['id'],'action':_0x293091+_0x502d35(0x243)},{'id':_0x5431fa[_0x502d35(0x27e)]['id'],'action':_0x293091+_0x502d35(0x160)}],'sheetsConditionalFormatting':[{'id':_0x3463d2[_0x502d35(0x202)]['id'],'action':_0x293091+_0x502d35(0x2e0)},{'id':_0x3463d2[_0x502d35(0x1ab)]['id'],'action':_0x293091+_0x502d35(0x2e0)},{'id':_0x3463d2['DeleteConditionalRuleMutation']['id'],'action':_0x293091+_0x502d35(0x361)},{'id':_0x3463d2[_0x502d35(0x3f5)]['id'],'action':_0x293091+'moveCF'}],'sheetsFilter':[{'id':_0x4f392a[_0x502d35(0x3bc)]['id'],'action':_0x293091+_0x502d35(0x28d)},{'id':_0x4f392a[_0x502d35(0x246)]['id'],'action':_0x293091+_0x502d35(0x137)},{'id':_0x4f392a['RemoveSheetsFilterMutation']['id'],'action':_0x293091+_0x502d35(0x3e2)},{'id':_0x4f392a[_0x502d35(0x227)]['id'],'action':_0x293091+_0x502d35(0x2c0)}],'dataValidation':[{'id':_0x4ca1e8[_0x502d35(0x3c6)]['id'],'action':_0x293091+_0x502d35(0x3f3)},{'id':_0x4ca1e8[_0x502d35(0x1d4)]['id'],'action':_0x293091+_0x502d35(0x3f3)},{'id':_0x4ca1e8[_0x502d35(0x15d)]['id'],'action':_0x293091+_0x502d35(0x28c)}],'sheetsChart':[{'id':_0x5302d2[_0x502d35(0x3e3)]['id'],'action':_0x293091+_0x502d35(0x341)},{'id':_0x5302d2['RemoveSheetsChartMutation']['id'],'action':_0x293091+'removeChart'},{'id':_0x5302d2[_0x502d35(0x3db)]['id'],'action':_0x293091+_0x502d35(0x145)},{'id':_0x5302d2['ChartUpdateSourceConfigMutation']['id'],'action':_0x293091+_0x502d35(0x352)}],'sheetsSparkline':[{'id':_0x4b82f6[_0x502d35(0x372)]['id'],'action':_0x293091+'addSparkline'},{'id':_0x4b82f6[_0x502d35(0x3a4)]['id'],'action':_0x293091+_0x502d35(0x364)},{'id':_0x4b82f6[_0x502d35(0x282)]['id'],'action':_0x293091+_0x502d35(0x2db)}],'sheetsPivot':[{'id':_0x3089bf[_0x502d35(0x406)]['id'],'action':_0x293091+'addPivotTable'},{'id':_0x3089bf[_0x502d35(0x2b8)]['id'],'action':_0x293091+_0x502d35(0x36e)},{'id':_0x3089bf[_0x502d35(0x13e)]['id'],'action':_0x293091+_0x502d35(0x73)},{'id':_0x3089bf[_0x502d35(0x12a)]['id'],'action':_0x293091+_0x502d35(0x94)},{'id':_0x3089bf[_0x502d35(0x104)]['id'],'action':_0x293091+_0x502d35(0x32b)},{'id':_0x3089bf[_0x502d35(0x3e8)]['id'],'action':_0x293091+_0x502d35(0x224)},{'id':_0x3089bf[_0x502d35(0x2ad)]['id'],'action':_0x293091+_0x502d35(0x3d6)},{'id':_0x3089bf[_0x502d35(0xfe)]['id'],'action':_0x293091+_0x502d35(0x140)},{'id':_0x3089bf[_0x502d35(0x2d9)]['id'],'action':_0x293091+'updateFieldPosition'},{'id':_0x3089bf[_0x502d35(0x2c3)]['id'],'action':_0x293091+_0x502d35(0x2fb)},{'id':_0x3089bf[_0x502d35(0x3d5)]['id'],'action':_0x293091+'updatePivotFieldSource'},{'id':_0x3089bf[_0x502d35(0x1e6)]['id'],'action':_0x293091+_0x502d35(0x39a)},{'id':_0x3089bf[_0x502d35(0x3f8)]['id'],'action':_0x293091+_0x502d35(0x38c)},{'id':_0x3089bf[_0x502d35(0x1ff)]['id'],'action':_0x293091+'setPivotValueFilter'},{'id':_0x3089bf[_0x502d35(0xa6)]['id'],'action':_0x293091+_0x502d35(0x23c)},{'id':_0x3089bf[_0x502d35(0x296)]['id'],'action':_0x293091+_0x502d35(0x209)},{'id':_0x3089bf[_0x502d35(0x25b)]['id'],'action':_0x293091+_0x502d35(0x24e)}],'sheetsShape':[{'id':_0x592f14['InsertSheetsShapeMutation']['id'],'action':_0x293091+'insertShape'},{'id':_0x592f14[_0x502d35(0x401)]['id'],'action':_0x293091+_0x502d35(0x257)},{'id':_0x592f14[_0x502d35(0x106)]['id'],'action':_0x293091+_0x502d35(0x351)},{'id':_0x592f14[_0x502d35(0x286)]['id'],'action':_0x293091+_0x502d35(0x337)}],'sheetsTable':[{'id':_0x22596e['AddSheetTableMutation']['id'],'action':_0x293091+_0x502d35(0x1c5)},{'id':_0x22596e['DeleteSheetTableMutation']['id'],'action':_0x293091+_0x502d35(0x24c)},{'id':_0x22596e[_0x502d35(0x111)]['id'],'action':_0x293091+'updateTable'},{'id':_0x22596e['SetSheetTableFilterMutation']['id'],'action':_0x293091+_0x502d35(0x2dc)}],'sheetsDrawing':[{'id':_0x5a4e7e[_0x502d35(0x396)]['id'],'action':_0x293091+'updateDrawing'}]};}function _0x58c542(_0x3cbdb2=_0x2267a7(0x11d)){const _0x3c8059=_0x2267a7;let _0x54c079=_0x3fad89(_0x3cbdb2);return Object['values'](_0x54c079)[_0x3c8059(0x393)]();}let _0x1b9d4d=(_0x1716af,_0x2556d7)=>{const _0x47c6e9=_0x2267a7;if(!_0x1716af)return{'date':'','time':''};let _0x4b0161=new Date(_0x1716af),_0x429b79=_0x4b0161[_0x47c6e9(0x128)]()['split']('T')[0x0];switch(_0x2556d7){case _0x3bba19[_0x47c6e9(0x2a6)][_0x47c6e9(0x149)]:return{'date':_0x3eb521(_0x429b79,_0x2556d7),'time':_0x4b0161[_0x47c6e9(0x345)]()+':'+String(_0x4b0161[_0x47c6e9(0x226)]())[_0x47c6e9(0x388)](0x2,'0')+':'+String(_0x4b0161['getSeconds']())[_0x47c6e9(0x388)](0x2,'0')};default:return{'date':_0x3eb521(_0x429b79,_0x2556d7),'time':_0x4b0161[_0x47c6e9(0x345)]()+':'+_0x4b0161[_0x47c6e9(0x226)]()+':'+_0x4b0161['getSeconds']()};}},_0x319690=(_0x133992,_0x8efba2)=>{const _0x4964f7=_0x2267a7;if(_0x133992['commands'][_0x4964f7(0x223)](_0xf526be=>_0xf526be===_0x26651d[_0x4964f7(0x38a)]['id'])&&_0x133992['recoverTime']){let _0x95e9ad=_0x1b9d4d(_0x133992[_0x4964f7(0x38f)],_0x8efba2[_0x4964f7(0x19b)]()),_0x295717=_0x95e9ad[_0x4964f7(0x153)]+'\x20'+_0x95e9ad['time'];return _0x8efba2['t'](_0x4964f7(0x335))+'\x20'+_0x295717+'\x20'+_0x8efba2['t']('edit-history-viewer.action.revertSheetSuffix');}let _0x25a156=_0x4bcedf(_0x133992),_0x434af4=Array[_0x4964f7(0x36a)](new Set(_0x25a156)),_0x41d0d3;if(_0x434af4[_0x4964f7(0x217)]===0x1)_0x41d0d3=_0x8efba2['t'](_0x434af4[0x0]);else{let _0x360c31=_0x434af4[_0x4964f7(0xa0)](0x0,0x5)['map'](_0x5d54c1=>_0x8efba2['t'](_0x5d54c1))['join'](',\x20');_0x41d0d3=_0x434af4['length']>0x5?''+_0x360c31+_0x8efba2['t']('edit-history-viewer.action.etc'):_0x360c31;}return''+_0x41d0d3;};function _0x4bcedf(_0x31fed2){const _0x2d7b7c=_0x2267a7;if(_0x31fed2[_0x2d7b7c(0x259)][_0x2d7b7c(0x217)]===0x0)return[''];let _0x1f39ea=_0x2d7b7c(0x11d),_0x45facf=_0x1f39ea+_0x2d7b7c(0x2c5),_0x541f5e=_0x58c542(_0x1f39ea)[_0x2d7b7c(0x354)](_0x43cd9f=>_0x31fed2[_0x2d7b7c(0x259)][_0x2d7b7c(0xd2)](_0x43cd9f['id']));return _0x541f5e!=null&&_0x541f5e[_0x2d7b7c(0x217)]?_0x541f5e[_0x2d7b7c(0x369)](_0x1dfd81=>_0x1dfd81[_0x2d7b7c(0xc6)]):[_0x45facf];}function _0x3eb521(_0x58c3ac,_0x555375){const _0x3fb996=_0x2267a7;let [_0x38e1b7,_0x2fa722,_0x52fe59]=new Date()[_0x3fb996(0x128)]()[_0x3fb996(0x233)]('T')[0x0][_0x3fb996(0x233)]('-'),[_0x414702,_0x408e6d,_0x12a5ec]=_0x58c3ac[_0x3fb996(0x233)]('-'),_0x35eaf8=_0x38e1b7===_0x414702&&_0x2fa722===_0x408e6d&&_0x52fe59===_0x12a5ec,_0x31d9e3='',_0x59efe9='',_0x2a9628='';switch(_0x555375){case _0x3bba19['LocaleType'][_0x3fb996(0x149)]:return _0x35eaf8?'今天':(_0x31d9e3=_0x38e1b7===_0x414702?'':_0x414702+'年',_0x59efe9=_0x408e6d+'月',_0x2a9628=_0x12a5ec+'日',''+_0x31d9e3+_0x59efe9+_0x2a9628);default:return _0x35eaf8?_0x3fb996(0x397):(_0x31d9e3=_0x38e1b7===_0x414702?'':_0x414702+'-',_0x59efe9=_0x408e6d+'-',_0x2a9628=''+_0x12a5ec,''+_0x31d9e3+_0x59efe9+_0x2a9628);}}function _0x3843cd(_0x363771){const _0x42c7ef=_0x2267a7;return _0x363771?_0x363771[_0x42c7ef(0x21e)]((_0xb3b6d8,_0x1a08f7)=>{const _0xe2efaf=_0x42c7ef;let _0x26c876=new Date(_0x1a08f7['time'])[_0xe2efaf(0x128)]()['split']('T')[0x0],_0x13eb8b=_0x1a08f7[_0xe2efaf(0x240)]?new Date(_0x1a08f7[_0xe2efaf(0x240)])[_0xe2efaf(0x128)]()[_0xe2efaf(0x233)]('T')[0x0]:_0x26c876,_0x1d7ce4=_0x1a08f7[_0xe2efaf(0x31e)]?new Date(_0x1a08f7[_0xe2efaf(0x31e)])['toISOString']()[_0xe2efaf(0x233)]('T')[0x0]:_0x26c876;return _0xb3b6d8[_0xe2efaf(0x217)]>0x0&&_0xb3b6d8[_0xb3b6d8[_0xe2efaf(0x217)]-0x1][_0xe2efaf(0x1fb)]===_0x13eb8b?_0xb3b6d8[_0xb3b6d8[_0xe2efaf(0x217)]-0x1][_0xe2efaf(0x34e)][_0xe2efaf(0x113)](_0x1a08f7):_0xb3b6d8[_0xe2efaf(0x113)]({'dateString':_0x26c876,'startDateString':_0x13eb8b,'endDateString':_0x1d7ce4,'versions':[_0x1a08f7]}),_0xb3b6d8;},[]):[];}let _0x416c3e=_0x2267a7(0x2b3),_0x671578={};function _0x60ad63(_0x15297b){'@babel/helpers - typeof';const _0x2b69e1=_0x2267a7;return _0x60ad63=typeof Symbol==_0x2b69e1(0x30c)&&typeof Symbol[_0x2b69e1(0x316)]==_0x2b69e1(0x1ba)?function(_0x4089a7){return typeof _0x4089a7;}:function(_0xf25d88){const _0x2c08ac=_0x2b69e1;return _0xf25d88&&typeof Symbol==_0x2c08ac(0x30c)&&_0xf25d88[_0x2c08ac(0x355)]===Symbol&&_0xf25d88!==Symbol['prototype']?_0x2c08ac(0x1ba):typeof _0xf25d88;},_0x60ad63(_0x15297b);}function _0x5f3b09(_0x25183f,_0x51e32e){const _0x379096=_0x2267a7;if(_0x60ad63(_0x25183f)!=_0x379096(0x1e0)||!_0x25183f)return _0x25183f;var _0xa1f0cd=_0x25183f[Symbol[_0x379096(0x2c4)]];if(_0xa1f0cd!==void 0x0){var _0x702987=_0xa1f0cd[_0x379096(0x205)](_0x25183f,_0x51e32e||_0x379096(0x3b5));if(_0x60ad63(_0x702987)!=_0x379096(0x1e0))return _0x702987;throw TypeError(_0x379096(0x204));}return(_0x51e32e===_0x379096(0xeb)?String:Number)(_0x25183f);}function _0x566de1(_0x11ab01){const _0x2fce4f=_0x2267a7;var _0x9be8ef=_0x5f3b09(_0x11ab01,_0x2fce4f(0xeb));return _0x60ad63(_0x9be8ef)=='symbol'?_0x9be8ef:_0x9be8ef+'';}function _0x374704(_0x19a3f3,_0x4edd2e,_0x73ef55){const _0x1264e2=_0x2267a7;return(_0x4edd2e=_0x566de1(_0x4edd2e))in _0x19a3f3?Object[_0x1264e2(0x2b7)](_0x19a3f3,_0x4edd2e,{'value':_0x73ef55,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x19a3f3[_0x4edd2e]=_0x73ef55,_0x19a3f3;}function _0x550961(_0x1fca9a,_0x3ca263){return function(_0x5d4bc5,_0x2353dc){_0x3ca263(_0x5d4bc5,_0x2353dc,_0x1fca9a);};}function _0x9526d9(_0x3b1a0a,_0x2ba371,_0x386356,_0x27ec47){const _0x4138ef=_0x2267a7;var _0x48f7a6=arguments[_0x4138ef(0x217)],_0x152e95=_0x48f7a6<0x3?_0x2ba371:_0x27ec47===null?_0x27ec47=Object[_0x4138ef(0x1b3)](_0x2ba371,_0x386356):_0x27ec47,_0x52bb86;if(typeof Reflect==_0x4138ef(0x1e0)&&typeof Reflect[_0x4138ef(0x124)]==_0x4138ef(0x30c))_0x152e95=Reflect[_0x4138ef(0x124)](_0x3b1a0a,_0x2ba371,_0x386356,_0x27ec47);else{for(var _0x3c020e=_0x3b1a0a['length']-0x1;_0x3c020e>=0x0;_0x3c020e--)(_0x52bb86=_0x3b1a0a[_0x3c020e])&&(_0x152e95=(_0x48f7a6<0x3?_0x52bb86(_0x152e95):_0x48f7a6>0x3?_0x52bb86(_0x2ba371,_0x386356,_0x152e95):_0x52bb86(_0x2ba371,_0x386356))||_0x152e95);}return _0x48f7a6>0x3&&_0x152e95&&Object[_0x4138ef(0x2b7)](_0x2ba371,_0x386356,_0x152e95),_0x152e95;}let _0x24ac3f=function(_0xeebf2d){const _0x201062=_0x2267a7;return _0xeebf2d[_0xeebf2d[_0x201062(0x146)]=0x0]=_0x201062(0x146),_0xeebf2d[_0xeebf2d[_0x201062(0x13c)]=0x1]=_0x201062(0x13c),_0xeebf2d[_0xeebf2d[_0x201062(0x171)]=0x2]=_0x201062(0x171),_0xeebf2d;}({}),_0x57a226=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0xa17f37,_0x363ad2,_0x1528bf,_0x23ba3c,_0x5039f4,_0x4ea0bf,_0x3c1ea3){const _0x3e38b0=_0x2267a7;super(),this[_0x3e38b0(0xbd)]=_0xa17f37,this[_0x3e38b0(0x363)]=_0x363ad2,this[_0x3e38b0(0x16e)]=_0x1528bf,this[_0x3e38b0(0x10f)]=_0x23ba3c,this[_0x3e38b0(0x1d2)]=_0x5039f4,this[_0x3e38b0(0x3f1)]=_0x4ea0bf,this['_sheetPermissionInitController']=_0x3c1ea3,_0x374704(this,'_workbookDataCache',void 0x0),this[_0x3e38b0(0x3ab)]=new _0x3bba19[(_0x3e38b0(0x17b))](0x3c);}[_0x2267a7(0x3d0)](){const _0x23d048=_0x2267a7;this['_workbookDataCache'][_0x23d048(0x279)](),super[_0x23d048(0x3d0)]();}async[_0x2267a7(0x37d)](_0x5a3419){const _0x5c73d6=_0x2267a7;try{let _0x940da6=(await this[_0x5c73d6(0x1d2)]['get'](this[_0x5c73d6(0x2a2)]()+'/'+_0x5a3419+_0x5c73d6(0x3f0)))['body'];if(_0x940da6&&_0x940da6[_0x5c73d6(0x239)]&&_0x940da6[_0x5c73d6(0x239)]['code']===_0x1ea6dc['ErrorCode']['OK'])return _0x940da6[_0x5c73d6(0x350)];}catch(_0x5e809b){console[_0x5c73d6(0x239)](_0x5e809b);}return[];}async[_0x2267a7(0x1c2)](_0x3eb6f4,_0xe55f0a){const _0x27c8ee=_0x2267a7;let {userIds:_0x259d05,lastLabel:_0x3eac61,origin:_0x144259}=_0xe55f0a==null?{}:_0xe55f0a,_0xd5c8b8=new URLSearchParams();_0xd5c8b8['set'](_0x27c8ee(0x217),'20'),_0x3eac61&&_0xd5c8b8[_0x27c8ee(0x1f2)](_0x27c8ee(0x83),_0x3eac61),_0x259d05==null||_0x259d05['forEach'](_0x2b26ea=>{const _0x38b642=_0x27c8ee;_0xd5c8b8[_0x38b642(0x222)](_0x38b642(0x376),_0x2b26ea);}),_0x144259&&_0xd5c8b8[_0x27c8ee(0x1f2)](_0x27c8ee(0x1a2),_0x144259[_0x27c8ee(0x3a3)]());let _0x41b844=this[_0x27c8ee(0x2a2)]()+'/'+_0x3eb6f4+_0x27c8ee(0x2b1)+_0xd5c8b8['toString']();try{let _0x2b75bc=(await this[_0x27c8ee(0x1d2)][_0x27c8ee(0x249)](_0x41b844))[_0x27c8ee(0x2ee)];if(_0x2b75bc&&_0x2b75bc[_0x27c8ee(0x239)]&&_0x2b75bc[_0x27c8ee(0x239)][_0x27c8ee(0x281)]===_0x1ea6dc['ErrorCode']['OK']){let {hasMore:_0x56907c,lastLabel:_0x1ee64f}=_0x2b75bc;return{'hasMore':_0x56907c,'lastLabel':_0x1ee64f,'versions':_0x26a862(_0x2b75bc),'members':_0x2b75bc[_0x27c8ee(0x207)][_0x27c8ee(0x109)]};}}catch(_0x2c7080){console['error'](_0x2c7080);}return null;}async['getHistoryChangesets'](_0x2a4752,_0x40e5bd){const _0x225241=_0x2267a7;let {unitId:_0x14c1c1,startRevision:_0x230f89,endRevision:_0x44a03f}=_0x40e5bd,_0x3f960a=this[_0x225241(0x2a2)]()+'/'+_0x14c1c1+_0x225241(0x38e)+_0x230f89+_0x225241(0x2d5)+_0x44a03f;return(await this[_0x225241(0x1d2)]['get'](_0x3f960a))[_0x225241(0x2ee)];}[_0x2267a7(0x2a2)](){const _0x402310=_0x2267a7;var _0x4c70ec;let _0x26866a=this[_0x402310(0x10f)]['getConfig'](_0x416c3e);return(_0x4c70ec=_0x26866a==null?void 0x0:_0x26866a[_0x402310(0x386)])==null?_0x402310(0x385):_0x4c70ec;}[_0x2267a7(0x2e4)](_0x5a17e5,_0x273c7e){return _0x5a17e5+':'+_0x273c7e;}async['loadSheet'](_0x2d053b,_0x5a4213,_0x19196a={}){const _0x463d1c=_0x2267a7;var _0x60cdcf;let _0x562cc9=this['_cacheKey'](_0x2d053b,_0x5a4213),_0x157d44=this[_0x463d1c(0x3ab)]['get'](_0x562cc9);if(_0x157d44){let {workbookData:_0x134dc4,changesets:_0x3d3e96}=_0x157d44;return await this['_applyWorkbookData'](_0x134dc4,_0x3d3e96),!0x0;}let {snapshot:_0x4ffe2d,changesets:_0x1cd89c,error:_0x13a8d1}=await this['_snapshotServerService'][_0x463d1c(0x2ac)](_0x19196a,{'unitID':_0x2d053b,'type':_0x3bba19[_0x463d1c(0x1f9)][_0x463d1c(0x18b)],'revision':_0x5a4213});if((0x0,_0x1ea6dc[_0x463d1c(0x23f)])(_0x13a8d1)||!_0x4ffe2d||!_0x4ffe2d['workbook'])throw Error(_0x463d1c(0x375));let _0x489205=(_0x60cdcf=_0x1cd89c==null?void 0x0:_0x1cd89c[_0x463d1c(0x217)])==null?0x0:_0x60cdcf;if(_0x5a4213!==0x0&&_0x4ffe2d['rev']+_0x489205!==_0x5a4213)throw Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');let {workbook:_0x1ac6f1}=_0x4ffe2d,_0xbe4077=_0x1ac6f1[_0x463d1c(0x390)]?Object['values'](_0x1ac6f1[_0x463d1c(0x390)])['flatMap'](_0x397e45=>{const _0x5eb021=_0x463d1c;var _0x3ca7a8;return(_0x3ca7a8=_0x397e45[_0x5eb021(0x2a8)])==null?[]:_0x3ca7a8;}):[],_0x20af09=await(0x0,_0x26651d[_0x463d1c(0x1e1)])(_0x4ffe2d,(await Promise[_0x463d1c(0x17a)](_0xbe4077[_0x463d1c(0x369)](_0x333cf5=>this['_snapshotServerService'][_0x463d1c(0x144)](_0x19196a,{'unitID':_0x2d053b,'type':_0x3bba19[_0x463d1c(0x1f9)][_0x463d1c(0x18b)],'blockID':_0x333cf5})['then'](_0x15cbc2=>_0x15cbc2[_0x463d1c(0x2c6)]))))['filter'](Boolean),_0x19196a);return this[_0x463d1c(0x3ab)]['set'](_0x562cc9,{'workbookData':_0x20af09,'changesets':_0x1cd89c}),await this[_0x463d1c(0x10e)](_0x20af09,_0x1cd89c),!0x0;}async[_0x2267a7(0x10e)](_0x115385,_0x39ec25){const _0x28ba3a=_0x2267a7;let _0xe442d4=this[_0x28ba3a(0x363)][_0x28ba3a(0x1db)](_0x3bba19[_0x28ba3a(0x1f9)][_0x28ba3a(0x18b)]);_0xe442d4&&(this['_univerInstanceService'][_0x28ba3a(0x37f)](_0xe442d4[_0x28ba3a(0x2fc)]()),await Promise[_0x28ba3a(0x186)]());let _0x35e108=JSON['parse'](JSON[_0x28ba3a(0x1b4)](_0x115385));this[_0x28ba3a(0x3c7)](_0x35e108,_0x39ec25),this['_sheetPermissionInitController'][_0x28ba3a(0x331)]();}['_createUnit'](_0x728cf1,_0x1f4792){const _0x585030=_0x2267a7;let _0x384098=this['_univerInstanceService'][_0x585030(0x26f)](_0x3bba19[_0x585030(0x1f9)]['UNIVER_SHEET'],_0x728cf1);this[_0x585030(0x363)][_0x585030(0x35e)](_0x384098[_0x585030(0x2fc)]());let _0x39349a=this['_compressMutationService'][_0x585030(0x75)][_0x585030(0x30b)](this[_0x585030(0x3f1)][_0x585030(0x75)][_0x585030(0x237)]()[_0x585030(0x39b)]);return _0x1f4792==null||_0x1f4792[_0x585030(0xc9)](_0x27cb2e=>{const _0x4e2b19=_0x585030;let _0x2b58ae=_0x27cb2e['mutations'][_0x4e2b19(0x369)](_0x12e0b7=>({'id':_0x12e0b7['id'],'params':JSON[_0x4e2b19(0x270)](_0x12e0b7[_0x4e2b19(0x161)])}));(_0x39349a(_0x2b58ae,null)||_0x2b58ae)['forEach'](_0x539dda=>{const _0x103661=_0x4e2b19;this['_commandService'][_0x103661(0x23b)](_0x539dda['id'])&&this[_0x103661(0x16e)][_0x103661(0x264)](_0x539dda['id'],_0x539dda[_0x103661(0x346)],{'fromChangeset':!0x0});});}),_0x384098;}};_0x57a226=_0x9526d9([_0x550961(0x0,_0x26651d[_0x2267a7(0x3cb)]),_0x550961(0x1,_0x3bba19[_0x2267a7(0x35f)]),_0x550961(0x2,_0x3bba19[_0x2267a7(0x3c3)]),_0x550961(0x3,_0x3bba19['IConfigService']),_0x550961(0x4,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4def42[_0x2267a7(0x23a)])),_0x550961(0x5,(0x0,_0x3bba19['Inject'])(_0x26651d[_0x2267a7(0x230)])),_0x550961(0x6,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x5431fa['SheetPermissionInitController']))],_0x57a226);function _0x26a862(_0x39ce05){const _0x462123=_0x2267a7;let _0x132c4f=[],{entities:_0x2663f8,historyIds:_0x4ba2ea}=_0x39ce05,{datas:_0x1cf393,users:_0x557d2e}=_0x2663f8;for(let _0x5425b7 of _0x4ba2ea){let _0x371368=_0x1cf393[_0x5425b7];if(_0x371368){var _0x5b9c2f,_0x445557;let _0x2a112e=!!((_0x5b9c2f=_0x557d2e[_0x371368[_0x462123(0x35c)]])!=null&&_0x5b9c2f[_0x462123(0x21b)]);_0x132c4f[_0x462123(0x113)]({'unitId':_0x371368[_0x462123(0x3e9)],'user':_0x2a112e?'':(_0x557d2e==null||(_0x445557=_0x557d2e[_0x371368[_0x462123(0x35c)]])==null?void 0x0:_0x445557[_0x462123(0x1f5)])||'','users':_0x371368[_0x462123(0x376)][_0x462123(0x369)](_0x2d33f7=>{const _0x1ffa96=_0x462123;var _0x1a1a96;return(_0x557d2e==null||(_0x1a1a96=_0x557d2e[_0x2d33f7])==null?void 0x0:_0x1a1a96[_0x1ffa96(0x1f5)])||'';})[_0x462123(0x354)](_0x470288=>_0x470288),'isAnonymous':_0x2a112e,'id':_0x5425b7,'time':_0x371368[_0x462123(0x82)]?Number(_0x371368[_0x462123(0x82)]):void 0x0,'commands':_0x371368[_0x462123(0x3a0)],'startRev':Number(_0x371368[_0x462123(0x25d)]),'endRev':Number(_0x371368['endRevision']),'recoverTime':_0x371368[_0x462123(0x38f)]?Number(_0x371368[_0x462123(0x38f)]):void 0x0,'additionalFields':_0x371368[_0x462123(0x10b)],'startRevCreateTime':_0x371368[_0x462123(0x240)]?Number(_0x371368['startRevCreateTime']):void 0x0,'endRevCreateTime':_0x371368[_0x462123(0x31e)]?Number(_0x371368['endRevCreateTime']):void 0x0});}}return _0x132c4f;}let _0x433f6e=function(_0x131bca){const _0x2a774c=_0x2267a7;return _0x131bca[_0x2a774c(0x142)]=_0x2a774c(0x11f),_0x131bca['Exited']=_0x2a774c(0xb7),_0x131bca[_0x2a774c(0x32c)]=_0x2a774c(0x239),_0x131bca;}({}),_0x3fc72f=_0x2267a7(0x125),_0x4bbed9=class extends _0x3bba19[_0x2267a7(0x177)]{[_0x2267a7(0x3ea)](_0x47bdc6){const _0x3b84ff=_0x2267a7;this[_0x3b84ff(0xc4)][_0x3b84ff(0x1a7)](_0x47bdc6);}get[_0x2267a7(0x71)](){const _0x4e0c4d=_0x2267a7;return this[_0x4e0c4d(0xc4)][_0x4e0c4d(0x1d8)];}constructor(_0x219e02,_0x550639,_0x29e672,_0x2bcfa7){const _0x35496d=_0x2267a7;super(),this[_0x35496d(0x324)]=_0x219e02,this[_0x35496d(0x24f)]=_0x550639,this[_0x35496d(0x1ec)]=_0x29e672,this['_historyFetchService']=_0x2bcfa7,_0x374704(this,_0x35496d(0x2d1),new _0x54d7f0[(_0x35496d(0x27c))]([])),_0x374704(this,'versions$',this[_0x35496d(0x2d1)][_0x35496d(0xf0)]()),_0x374704(this,'_currentVersion$',new _0x54d7f0[(_0x35496d(0x27c))]('')),_0x374704(this,_0x35496d(0x2a5),this['_currentVersion$']['asObservable']()),_0x374704(this,_0x35496d(0x3d8),new _0x54d7f0[(_0x35496d(0x27c))](_0x35496d(0x11f))),_0x374704(this,_0x35496d(0x2da),this[_0x35496d(0x3d8)][_0x35496d(0xf0)]()),_0x374704(this,_0x35496d(0x2c8),new _0x54d7f0[(_0x35496d(0x27c))](0x0)),_0x374704(this,_0x35496d(0x89),this[_0x35496d(0x2c8)][_0x35496d(0xf0)]()),_0x374704(this,_0x35496d(0xe5),new _0x54d7f0[(_0x35496d(0x27c))]('')),_0x374704(this,_0x35496d(0xcd),this['_unitId$'][_0x35496d(0xf0)]()),_0x374704(this,_0x35496d(0xc4),new _0x54d7f0[(_0x35496d(0x27c))](!0x1)),_0x374704(this,_0x35496d(0x1ef),this['_fetching$'][_0x35496d(0xf0)]()),_0x374704(this,_0x35496d(0x1a4),new _0x54d7f0[(_0x35496d(0x27c))]([])),_0x374704(this,_0x35496d(0x206),this[_0x35496d(0x1a4)][_0x35496d(0xf0)]()),_0x374704(this,'_openPanel$',new _0x54d7f0['BehaviorSubject'](!0x1)),_0x374704(this,_0x35496d(0x216),this[_0x35496d(0x32a)]['asObservable']()),_0x374704(this,'_detailVersionsMap',new Map()),_0x374704(this,_0x35496d(0x135),new _0x54d7f0[(_0x35496d(0x27c))](_0x35496d(0x2d3))),_0x374704(this,_0x35496d(0x19e),this[_0x35496d(0x135)][_0x35496d(0xf0)]()),_0x374704(this,_0x35496d(0x17c),null),_0x374704(this,_0x35496d(0x3b2),!0x0),_0x374704(this,'_members',new Map()),_0x374704(this,_0x35496d(0x1bb),void 0x0),_0x374704(this,_0x35496d(0x7e),void 0x0),_0x374704(this,'_maskElement',void 0x0),_0x374704(this,'_canRevert',!0x1),_0x374704(this,_0x35496d(0x378),null),_0x374704(this,_0x35496d(0x389),new Map());}async['triggerLoadVersions'](_0x3f2d6a,_0x26899b,_0x44a220){const _0x2723b9=_0x2267a7;this['_historyContainerId']=_0x26899b,this[_0x2723b9(0x36b)]=_0x44a220,this[_0x2723b9(0x32a)][_0x2723b9(0x1a7)](!0x0),await this[_0x2723b9(0x3a1)](_0x3f2d6a);}[_0x2267a7(0x170)](_0x9d1875,_0x2b8e72='',_0x265347,_0x1ba0e3){const _0x13e839=_0x2267a7;let {versions:_0x4ad178,hasMore:_0x286502,lastLabel:_0x1324e4,members:_0x3fce79}=_0x1ba0e3,_0xb23dda=_0x4ad178['length']>0x0?_0x4ad178:[{'unitId':_0x9d1875,'id':_0x3fc72f,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this[_0x13e839(0x1ec)]['t'](_0x13e839(0x1e2)),'users':[this[_0x13e839(0x1ec)]['t']('edit-history-viewer.panel.currentUser')],'commands':[],'isAnonymous':!0x1}];this[_0x13e839(0x36b)]=_0x265347,this[_0x13e839(0x1bb)]=_0x2b8e72,this[_0x13e839(0xe5)][_0x13e839(0x1a7)](_0x9d1875),this[_0x13e839(0xc2)](_0xb23dda,_0x286502,_0x1324e4,!0x1,_0x3fce79),this[_0x13e839(0x1d3)][_0x13e839(0x1a7)](_0xb23dda[0x0]['id']);}async[_0x2267a7(0x3a1)](_0x5edf8a,_0x5a6dbe){const _0x383da8=_0x2267a7;this[_0x383da8(0xe5)]['next'](_0x5edf8a),this['_loadParams']=_0x5a6dbe==null?null:_0x5a6dbe,this[_0x383da8(0x3ea)](!0x0);let _0x52ac5c=await this[_0x383da8(0x1fc)]['getVersions'](_0x5edf8a,_0x5a6dbe);if(this[_0x383da8(0x3ea)](!0x1),_0x52ac5c){let {versions:_0x65575,lastLabel:_0x5634c8,hasMore:_0x24b018,members:_0x230cb3}=_0x52ac5c;_0x65575[_0x383da8(0x217)]===0x0&&_0x65575['push']({'unitId':_0x5edf8a,'id':_0x3fc72f,'startRev':0x1,'endRev':0x0,'time':Date[_0x383da8(0xd9)](),'user':this['_localeService']['t'](_0x383da8(0x1e2)),'users':[this['_localeService']['t'](_0x383da8(0x1e2))],'commands':[],'isAnonymous':!0x1}),this[_0x383da8(0xc2)](_0x65575,_0x24b018,_0x5634c8,!0x1,_0x230cb3),this['_currentVersion$']['next'](_0x65575[0x0]['id']),this['_unitCurrentVersionMap'][_0x383da8(0x1f2)](_0x5edf8a,_0x65575[0x0][_0x383da8(0x2ef)]);}else this[_0x383da8(0x3d8)]['next']('error');}async[_0x2267a7(0x18e)](){const _0x106be0=_0x2267a7;if(!this[_0x106be0(0x17c)]||!this[_0x106be0(0x3b2)]||this['fetching'])return!0x1;this[_0x106be0(0x3ea)](!0x0);let _0x2ccae7=await this['_historyFetchService'][_0x106be0(0x1c2)](this[_0x106be0(0x3e9)],{'lastLabel':this['_lastLabel'],...this['_loadParams']});if(this['_setFetching'](!0x1),_0x2ccae7){let {versions:_0xbe27a1,lastLabel:_0x56a1e0,hasMore:_0x5ef9c3,members:_0x56634e}=_0x2ccae7;this['_updateVersions'](_0xbe27a1,_0x5ef9c3,_0x56a1e0,!0x0,_0x56634e);}else this[_0x106be0(0x324)][_0x106be0(0x96)]({'content':this[_0x106be0(0x1ec)]['t'](_0x106be0(0x322)),'type':_0x4b600c[_0x106be0(0x130)][_0x106be0(0x32c)],'duration':0xbb8});return!0x0;}async['loadHistoryCreatorList'](){const _0x4ffa40=_0x2267a7;let {unitId:_0x2f0ae6}=this;if(!_0x2f0ae6)return;let _0x52412b=await this[_0x4ffa40(0x1fc)]['fetchCreatorList'](_0x2f0ae6);_0x52412b&&this['_creators$'][_0x4ffa40(0x1a7)](_0x52412b);}async[_0x2267a7(0x77)](_0x46cd5c){const _0x5c8d95=_0x2267a7;let {endRev:_0x6cab67}=this['getVersion'](_0x46cd5c)||{};_0x6cab67||_0x6cab67===0x0?(this[_0x5c8d95(0x135)][_0x5c8d95(0x1a7)](_0x5c8d95(0x148)),await this[_0x5c8d95(0x1fc)]['loadSheet'](this['unitId'],_0x6cab67),this[_0x5c8d95(0x135)][_0x5c8d95(0x1a7)](_0x5c8d95(0x1ad))):this[_0x5c8d95(0x3d8)][_0x5c8d95(0x1a7)]('error');}async[_0x2267a7(0x277)](_0x124264){const _0x1fec8e=_0x2267a7;let _0x57fe74=_0x124264?this[_0x1fec8e(0x3b1)](_0x124264):this['getCurrentVersion']();if(!_0x57fe74)return;let _0x79f58a=_0x57fe74[_0x1fec8e(0x2ef)],_0x5a80f1=_0x1b9d4d(_0x57fe74['time'],this[_0x1fec8e(0x1ec)][_0x1fec8e(0x19b)]());await this[_0x1fec8e(0x24f)][_0x1fec8e(0x19a)]({'id':_0x1fec8e(0x70),'title':{'title':this[_0x1fec8e(0x1ec)]['t']('edit-history-viewer.panel.revertConfirm')},'children':{'title':this[_0x1fec8e(0x1ec)]['t'](_0x1fec8e(0x3df))+_0x1fec8e(0x1e7)+_0x5a80f1['date']+'\x20'+_0x5a80f1[_0x1fec8e(0x330)]+')'},'cancelText':this[_0x1fec8e(0x1ec)]['t'](_0x1fec8e(0x136)),'confirmText':this[_0x1fec8e(0x1ec)]['t'](_0x1fec8e(0x3ba))})&&this['_revertRevision$']['next'](_0x79f58a);}[_0x2267a7(0xc2)](_0x45e1fc,_0x511a61,_0x365062,_0x9d7caf,_0x33cacd){const _0x4f6c9a=_0x2267a7;this['_setVersions'](_0x9d7caf?this[_0x4f6c9a(0x2d1)][_0x4f6c9a(0x1d8)][_0x4f6c9a(0xa9)](_0x45e1fc):_0x45e1fc),this[_0x4f6c9a(0x3b2)]=_0x511a61,this['_lastLabel']=_0x365062,_0x33cacd&&Object[_0x4f6c9a(0x1c4)](_0x33cacd)['forEach'](_0x4380fb=>this[_0x4f6c9a(0x7c)][_0x4f6c9a(0x1f2)](_0x4380fb,_0x33cacd[_0x4380fb]));}[_0x2267a7(0x339)](){const _0x5647d8=_0x2267a7;return this['getVersion'](this[_0x5647d8(0x1d3)][_0x5647d8(0x1d8)]);}[_0x2267a7(0x1b2)](_0xcb5b58){const _0x23f490=_0x2267a7;this[_0x23f490(0x2d1)]['next'](_0xcb5b58);}['getVersion'](_0x1b011f){const _0x527d1f=_0x2267a7;var _0x2625ff;return((_0x2625ff=this[_0x527d1f(0x2d1)][_0x527d1f(0x1d8)])==null?void 0x0:_0x2625ff[_0x527d1f(0xef)](_0x467507=>_0x467507['id']===_0x1b011f))||this[_0x527d1f(0xcb)][_0x527d1f(0x249)](_0x1b011f);}['registerDetailVersion'](_0xbb35ac){const _0x303aa3=_0x2267a7;this[_0x303aa3(0xcb)]['set'](_0xbb35ac['id'],_0xbb35ac);}[_0x2267a7(0x2bc)](){const _0x4237ae=_0x2267a7;if(this['unitId'])return this[_0x4237ae(0x389)][_0x4237ae(0x249)](this[_0x4237ae(0x3e9)]);}[_0x2267a7(0x26d)](){const _0x27ffba=_0x2267a7;var _0x5c86ab;return((_0x5c86ab=this[_0x27ffba(0x339)]())==null?void 0x0:_0x5c86ab[_0x27ffba(0x2ef)])===this['getCurrentUnitCurrentVersion']();}[_0x2267a7(0x373)](){const _0x2083d7=_0x2267a7;return!this[_0x2083d7(0x26d)]()&&this[_0x2083d7(0x22b)];}[_0x2267a7(0x315)](_0x1334a9){const _0x1b2ff8=_0x2267a7;return this[_0x1b2ff8(0x7c)][_0x1b2ff8(0x249)](_0x1334a9);}['_createMask'](){const _0x5049a7=_0x2267a7;this[_0x5049a7(0x303)]=document[_0x5049a7(0x3ca)]('div'),this[_0x5049a7(0x303)]['className']=_0x5049a7(0xd0),this[_0x5049a7(0x303)][_0x5049a7(0x2a7)][_0x5049a7(0x323)]=_0x5049a7(0x3f7),this[_0x5049a7(0x303)][_0x5049a7(0x2a7)][_0x5049a7(0x211)]='0',this[_0x5049a7(0x303)][_0x5049a7(0x2a7)][_0x5049a7(0x377)]='0',this[_0x5049a7(0x303)][_0x5049a7(0x2a7)][_0x5049a7(0x34f)]=_0x5049a7(0x16d),this[_0x5049a7(0x303)][_0x5049a7(0x2a7)]['height']=_0x5049a7(0x16d),this['_maskElement'][_0x5049a7(0x2a7)][_0x5049a7(0x3a8)]=_0x5049a7(0xe1),this[_0x5049a7(0x303)][_0x5049a7(0x2a7)][_0x5049a7(0x381)]=_0x5049a7(0x78),this[_0x5049a7(0x303)]['style']['display']=_0x5049a7(0xab),this[_0x5049a7(0x303)]['style'][_0x5049a7(0xe3)]=_0x5049a7(0x1ee),this['_maskElement'][_0x5049a7(0x2a7)][_0x5049a7(0x101)]=_0x5049a7(0x299),this[_0x5049a7(0x303)][_0x5049a7(0x2a7)]['display']='none',this['_maskContainer']['append'](this[_0x5049a7(0x303)]);}['_initMaskContainer'](){const _0x13212d=_0x2267a7;let _0x126201=document['getElementById'](this['_historyContainerId']);_0x126201&&(this['_maskContainer']=_0x126201,this[_0x13212d(0x2b9)]());}[_0x2267a7(0x3cc)](){const _0x57b1e1=_0x2267a7;this['_maskContainer']||this['_initMaskContainer'](),this['_maskElement']&&(this['_maskElement'][_0x57b1e1(0x2a7)]['display']=_0x57b1e1(0xab));}['hideMask'](){const _0x41cc0d=_0x2267a7;this[_0x41cc0d(0x303)]&&(this['_maskElement'][_0x41cc0d(0x2a7)][_0x41cc0d(0x273)]=_0x41cc0d(0x3c5));}set[_0x2267a7(0x343)](_0x5ab720){const _0x194a7e=_0x2267a7;this[_0x194a7e(0x3d8)][_0x194a7e(0x1a7)](_0x5ab720);}set[_0x2267a7(0x191)](_0x23fda2){const _0x46ea6e=_0x2267a7;_0x23fda2!==this['_currentVersion$'][_0x46ea6e(0x1d8)]&&this[_0x46ea6e(0x1d3)]['next'](_0x23fda2);}get[_0x2267a7(0x191)](){const _0x2618f4=_0x2267a7;return this['_currentVersion$'][_0x2618f4(0x1d8)];}set['unitId'](_0x14a2e0){const _0x117597=_0x2267a7;this[_0x117597(0xe5)][_0x117597(0x1a7)](_0x14a2e0);}get[_0x2267a7(0x3e9)](){const _0x4f7206=_0x2267a7;return this[_0x4f7206(0xe5)][_0x4f7206(0x1d8)];}get[_0x2267a7(0x22b)](){const _0x454480=_0x2267a7;return this[_0x454480(0x36b)];}get[_0x2267a7(0x2cb)](){const _0x4bc015=_0x2267a7;return this['_loadingState$'][_0x4bc015(0x1d8)];}};_0x4bbed9=_0x9526d9([_0x550961(0x0,_0x3f2000['IMessageService']),_0x550961(0x1,_0x3bba19['IConfirmService']),_0x550961(0x2,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x2ba)])),_0x550961(0x3,(0x0,_0x3bba19['Inject'])(_0x57a226))],_0x4bbed9);let _0x31302b=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0x4df9d2,_0x2e6b9a,_0x2811a5,_0x39d4b8,_0x3b64b2,_0x44d869,_0x4565b3,_0x1d75dc,_0x3faa23,_0x51fa53,_0xcbddac,_0x3a36a4,_0x5cb087){const _0x1f8f57=_0x2267a7;super(),this[_0x1f8f57(0x2ff)]=_0x4df9d2,this['_transformService']=_0x2e6b9a,this[_0x1f8f57(0xbd)]=_0x2811a5,this['_rangeProtectionRuleModel']=_0x39d4b8,this[_0x1f8f57(0x21d)]=_0x3b64b2,this['_dataValidationModel']=_0x44d869,this[_0x1f8f57(0x317)]=_0x4565b3,this[_0x1f8f57(0x2e3)]=_0x1d75dc,this[_0x1f8f57(0x33d)]=_0x3faa23,this['_sheetTableService']=_0x51fa53,this['_localeService']=_0xcbddac,this[_0x1f8f57(0x17f)]=_0x3a36a4,this[_0x1f8f57(0x1fc)]=_0x5cb087,_0x374704(this,_0x1f8f57(0x80),new Map()),_0x374704(this,_0x1f8f57(0x2f1),new _0x54d7f0['BehaviorSubject']({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0x374704(this,'currentVersionDiff$',this[_0x1f8f57(0x2f1)][_0x1f8f57(0xf0)]()),this[_0x1f8f57(0x193)]();}[_0x2267a7(0x193)](){const _0x3f6052=_0x2267a7;this[_0x3f6052(0x80)]=new Map(),this['disposeWithMe'](this[_0x3f6052(0x2ff)][_0x3f6052(0xcd)][_0x3f6052(0x238)](_0x4d66b7=>{const _0x4f99ad=_0x3f6052;_0x4d66b7&&!this[_0x4f99ad(0x80)][_0x4f99ad(0x29c)](_0x4d66b7)&&this[_0x4f99ad(0x80)][_0x4f99ad(0x1f2)](_0x4d66b7,new Map());})),this[_0x3f6052(0x74)](this[_0x3f6052(0x2ff)][_0x3f6052(0x2a5)][_0x3f6052(0x238)](async _0x48d3d9=>{const _0x9bcde4=_0x3f6052;if(_0x48d3d9){var _0x2f2384;await this['ensureVersion'](_0x48d3d9),this[_0x9bcde4(0x2f1)][_0x9bcde4(0x1a7)](((_0x2f2384=this[_0x9bcde4(0x80)][_0x9bcde4(0x249)](this[_0x9bcde4(0x2ff)][_0x9bcde4(0x3e9)]))==null?void 0x0:_0x2f2384['get'](_0x48d3d9))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x2267a7(0x307)](_0x5d9900){const _0x1b8366=_0x2267a7;var _0x3f5829,_0x275cf4;let _0x5649fc=this['_historyManagerService'][_0x1b8366(0x3b1)](_0x5d9900),_0x241943=this[_0x1b8366(0x2ff)][_0x1b8366(0x3e9)];if(!_0x5649fc||!_0x241943)return;let _0x45796a=this[_0x1b8366(0x80)]['get'](_0x241943);if(_0x45796a||this[_0x1b8366(0x80)][_0x1b8366(0x1f2)](_0x241943,new Map()),(_0x3f5829=this[_0x1b8366(0x80)][_0x1b8366(0x249)](_0x241943))!=null&&_0x3f5829[_0x1b8366(0x29c)](_0x5649fc['id']))return;let {startRev:_0x5c1fd8,endRev:_0x47be83}=_0x5649fc;if(_0x5c1fd8===0x1){_0x45796a['set'](_0x5649fc['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x222af2=_0x5c1fd8,_0xc8d7d5=_0x47be83,_0x42a31c=await this['_historyFetchService'][_0x1b8366(0x176)]({},{'unitId':_0x241943,'startRevision':_0x222af2,'endRevision':_0xc8d7d5});if(((_0x275cf4=_0x42a31c[_0x1b8366(0x239)])==null?void 0x0:_0x275cf4[_0x1b8366(0x281)])===_0x1ea6dc[_0x1b8366(0x115)]['OK']){let _0x29c646=_0x42a31c[_0x1b8366(0x3b4)][_0x1b8366(0x369)](_0x1beccd=>((_0x1beccd['mutations']===null||_0x1beccd[_0x1b8366(0x2aa)]===void 0x0)&&(_0x1beccd['mutations']=[]),(0x0,_0x26651d[_0x1b8366(0xaa)])(_0x1beccd)))[_0x1b8366(0x369)](_0x4f86c2=>_0x4f86c2[_0x1b8366(0x2aa)]['map'](_0x94ad63=>({..._0x94ad63,'params':{..._0x94ad63[_0x1b8366(0x346)],'memberId':_0x4f86c2[_0x1b8366(0x285)]||_0x1b8366(0x35d)}})))[_0x1b8366(0x393)](),_0x2fe65b=await this[_0x1b8366(0x29d)](_0x29c646),_0x4df4dc=this[_0x1b8366(0x2b6)](_0x29c646),_0x25a08b=this[_0x1b8366(0x359)](_0x2fe65b);_0x45796a[_0x1b8366(0x1f2)](_0x5649fc['id'],{..._0x25a08b,'active':_0x4df4dc});}}[_0x2267a7(0x2ed)](){const _0x12dc72=_0x2267a7;let _0x40db79=_0x3fad89(_0x12dc72(0x11d)),_0x39e193=new Map();return Object[_0x12dc72(0x2d8)](_0x40db79)[_0x12dc72(0x393)]()[_0x12dc72(0xc9)](_0x210df1=>{const _0x1abf5f=_0x12dc72;_0x39e193[_0x1abf5f(0x1f2)](_0x210df1['id'],_0x210df1['action']);}),_0x39e193;}[_0x2267a7(0x100)](_0x30c5b4,_0x38b1f3){const _0x3d07a2=_0x2267a7;return this[_0x3d07a2(0x3bd)](_0x30c5b4,_0x38b1f3);}async[_0x2267a7(0x29d)](_0x1f784d){const _0x1286e5=_0x2267a7;let _0x14876e=[];for(let _0x18feb6=0x0;_0x18feb6<_0x1f784d[_0x1286e5(0x217)];_0x18feb6++){let _0x51664d=_0x1f784d[_0x18feb6];if(_0x14876e['push'](_0x51664d),_0x18feb6!==_0x1f784d[_0x1286e5(0x217)]-0x1){let _0x45eefd=_0x1f784d[_0x18feb6+0x1],_0xf9a2e5=this[_0x1286e5(0x358)][_0x1286e5(0x12c)](_0x14876e,[_0x45eefd]);_0x14876e=(0x0,_0x26651d[_0x1286e5(0x1e9)])(_0xf9a2e5)?_0xf9a2e5['m1Prime']:[];}_0x18feb6%0xa==0x0&&_0x18feb6>0x0&&await this['_yieldToMain']();}return _0x14876e;}[_0x2267a7(0x234)](){return new Promise(_0x6f0a27=>{const _0x178a98=_0x4408;typeof requestIdleCallback==_0x178a98(0x30c)?requestIdleCallback(()=>_0x6f0a27(),{'timeout':0x64}):setTimeout(_0x6f0a27,0x0);});}[_0x2267a7(0x2b6)](_0x3701fc){const _0x21a93e=_0x2267a7;let _0x5e9527=[];return _0x3701fc[_0x21a93e(0xc9)](_0x279a0b=>{const _0x5f1906=_0x21a93e;if(_0x279a0b['id']===_0x5431fa[_0x5f1906(0x134)]['id']){let _0x254672=_0x279a0b['params'];_0x5e9527[_0x5f1906(0x113)](_0x254672['sheet']['id']);}else{if(_0x279a0b['id']===_0x5431fa[_0x5f1906(0x2d0)]['id']){let _0x205037=_0x279a0b[_0x5f1906(0x346)];_0x5e9527[_0x5f1906(0x217)]>0x0&&(_0x5e9527=_0x5e9527[_0x5f1906(0x354)](_0x108b06=>_0x108b06!==_0x205037[_0x5f1906(0x93)]));}else{if(_0x279a0b['id']===_0x5431fa[_0x5f1906(0x3c9)]['id']){let _0x41c245=_0x279a0b[_0x5f1906(0x346)];_0x41c245['hidden']?_0x5e9527=_0x5e9527[_0x5f1906(0x354)](_0x3cae72=>_0x3cae72!==_0x41c245[_0x5f1906(0x93)]):_0x5e9527[_0x5f1906(0x113)](_0x41c245[_0x5f1906(0x93)]);}else{let _0x267557=_0x279a0b['params'];_0x267557[_0x5f1906(0x93)]&&_0x5e9527[_0x5f1906(0x113)](_0x267557[_0x5f1906(0x93)]);}}}}),_0x5e9527['length']>0x0?_0x5e9527[_0x5e9527['length']-0x1]:null;}[_0x2267a7(0x359)](_0x590baa){const _0x1a34e4=_0x2267a7;let _0x1b1250=new Map(),_0x3a6411=new Map(),_0x1c537c=new Map(),_0x1345bc=new Map(),_0x26eabe=new Map(),_0x470a73=new Map(),_0x43d05b=new Map(),_0x1fb484=new Map(),_0x37310f=new Map(),_0x5ad3cc=new Map(),_0x4d12c3=new Map(),_0x4e458c=new Map(),_0x3392a9=new Set(),_0x26a670=this[_0x1a34e4(0x2ed)]();return _0x590baa[_0x1a34e4(0xc9)](_0x5225e3=>{const _0x37271e=_0x1a34e4;var _0x54b74c,_0x49fcde,_0x22343a,_0x1c4d59,_0x1797f2,_0x1f4de2,_0x2df0f8,_0xd504cd,_0x4f8a96,_0x5e3f2b,_0x4704d0,_0x22f46c,_0x5a9268;let _0x28deaa=(_0x54b74c=_0x5225e3[_0x37271e(0x346)])==null?void 0x0:_0x54b74c['memberId'];if(!_0x28deaa)return;_0x1b1250[_0x37271e(0x29c)](_0x28deaa)||(_0x1b1250[_0x37271e(0x1f2)](_0x28deaa,[]),_0x3a6411[_0x37271e(0x1f2)](_0x28deaa,[]),_0x1c537c[_0x37271e(0x1f2)](_0x28deaa,[]),_0x1345bc['set'](_0x28deaa,[]),_0x26eabe['set'](_0x28deaa,[]),_0x470a73[_0x37271e(0x1f2)](_0x28deaa,[]),_0x43d05b['set'](_0x28deaa,[]),_0x1fb484[_0x37271e(0x1f2)](_0x28deaa,[]),_0x37310f[_0x37271e(0x1f2)](_0x28deaa,[]),_0x5ad3cc[_0x37271e(0x1f2)](_0x28deaa,[]),_0x4d12c3[_0x37271e(0x1f2)](_0x28deaa,[]),_0x4e458c[_0x37271e(0x1f2)](_0x28deaa,[]));let _0x31c487=this[_0x37271e(0x3bd)](_0x5225e3,_0x26a670);_0x31c487[_0x37271e(0x380)][_0x37271e(0xc9)](_0x1611aa=>_0x3392a9[_0x37271e(0x7b)](_0x1611aa)),(_0x49fcde=_0x1b1250[_0x37271e(0x249)](_0x28deaa))==null||_0x49fcde[_0x37271e(0x113)](..._0x31c487['allRanges']),(_0x22343a=_0x3a6411[_0x37271e(0x249)](_0x28deaa))==null||_0x22343a['push'](..._0x31c487['insertCellRanges']),(_0x1c4d59=_0x1c537c['get'](_0x28deaa))==null||_0x1c4d59[_0x37271e(0x113)](..._0x31c487[_0x37271e(0xbc)]),(_0x1797f2=_0x1345bc[_0x37271e(0x249)](_0x28deaa))==null||_0x1797f2[_0x37271e(0x113)](..._0x31c487[_0x37271e(0x24a)]),(_0x1f4de2=_0x26eabe[_0x37271e(0x249)](_0x28deaa))==null||_0x1f4de2[_0x37271e(0x113)](..._0x31c487['insertBorderRanges']),(_0x2df0f8=_0x470a73[_0x37271e(0x249)](_0x28deaa))==null||_0x2df0f8['push'](..._0x31c487[_0x37271e(0x318)]),(_0xd504cd=_0x43d05b['get'](_0x28deaa))==null||_0xd504cd[_0x37271e(0x113)](..._0x31c487['updateBorderRanges']),(_0x4f8a96=_0x1fb484[_0x37271e(0x249)](_0x28deaa))==null||_0x4f8a96[_0x37271e(0x113)](..._0x31c487[_0x37271e(0x18c)]),(_0x5e3f2b=_0x37310f[_0x37271e(0x249)](_0x28deaa))==null||_0x5e3f2b['push'](..._0x31c487['arrowColumnRanges']),(_0x4704d0=_0x4d12c3[_0x37271e(0x249)](_0x28deaa))==null||_0x4704d0['push'](..._0x31c487[_0x37271e(0x3e1)]),(_0x22f46c=_0x4e458c['get'](_0x28deaa))==null||_0x22f46c[_0x37271e(0x113)](..._0x31c487[_0x37271e(0x3e5)]),(_0x5a9268=_0x5ad3cc[_0x37271e(0x249)](_0x28deaa))==null||_0x5a9268[_0x37271e(0x113)](..._0x31c487[_0x37271e(0xe8)]);}),_0x1b1250['forEach']((_0x2e619c,_0x5acf5e)=>{const _0x32f973=_0x1a34e4;_0x1b1250[_0x32f973(0x1f2)](_0x5acf5e,this[_0x32f973(0x91)](_0x2e619c)),_0x3a6411['set'](_0x5acf5e,this[_0x32f973(0x91)](_0x3a6411[_0x32f973(0x249)](_0x5acf5e)||[])),_0x1c537c[_0x32f973(0x1f2)](_0x5acf5e,this['_combineRanges'](_0x1c537c[_0x32f973(0x249)](_0x5acf5e)||[])),_0x1345bc['set'](_0x5acf5e,this[_0x32f973(0x91)](_0x1345bc[_0x32f973(0x249)](_0x5acf5e)||[])),_0x26eabe['set'](_0x5acf5e,this[_0x32f973(0x91)](_0x26eabe[_0x32f973(0x249)](_0x5acf5e)||[])),_0x470a73['set'](_0x5acf5e,this[_0x32f973(0x91)](_0x470a73['get'](_0x5acf5e)||[])),_0x43d05b[_0x32f973(0x1f2)](_0x5acf5e,this[_0x32f973(0x91)](_0x43d05b[_0x32f973(0x249)](_0x5acf5e)||[])),_0x1fb484[_0x32f973(0x1f2)](_0x5acf5e,this[_0x32f973(0x91)](_0x1fb484[_0x32f973(0x249)](_0x5acf5e)||[])),_0x37310f[_0x32f973(0x1f2)](_0x5acf5e,this[_0x32f973(0x91)](_0x37310f[_0x32f973(0x249)](_0x5acf5e)||[]));}),{'ranges':_0x1b1250,'insertCellRanges':_0x3a6411,'deleteCellRanges':_0x1c537c,'updateCellRanges':_0x1345bc,'insertBorderRanges':_0x26eabe,'deleteBorderRanges':_0x470a73,'updateBorderRanges':_0x43d05b,'arrowRowRanges':_0x1fb484,'arrowColumnRanges':_0x37310f,'insertDrawings':_0x4d12c3,'deleteDrawings':_0x4e458c,'updateDrawings':_0x5ad3cc,'subUnitIds':Array[_0x1a34e4(0x36a)](_0x3392a9)};}[_0x2267a7(0x3bd)](_0x465b4f,_0x2f8418){const _0x3ba917=_0x2267a7;let _0x27a131={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x319f64=_0x465b4f['id'],_0x5a5019=_0x465b4f[_0x3ba917(0x346)],_0x9cfb56=this[_0x3ba917(0x1ec)]['t'](_0x2f8418[_0x3ba917(0x249)](_0x319f64)||'');_0x5a5019[_0x3ba917(0x93)]&&_0x27a131['subUnitIds']['push'](_0x5a5019[_0x3ba917(0x93)]);let _0x171966=(_0x1ff68a,_0x18f0dc)=>{const _0xd2eea0=_0x3ba917;let _0x2e7fd1=_0x1ff68a['map'](_0x27bdb2=>({..._0x27bdb2,'showText':_0x9cfb56}));switch(_0x27a131['allRanges'][_0xd2eea0(0x113)](..._0x2e7fd1),_0x18f0dc){case _0xd2eea0(0x181):_0x27a131[_0xd2eea0(0x278)][_0xd2eea0(0x113)](..._0x2e7fd1);break;case'delete':_0x27a131[_0xd2eea0(0xbc)]['push'](..._0x2e7fd1);break;case _0xd2eea0(0x212):_0x27a131['updateCellRanges'][_0xd2eea0(0x113)](..._0x2e7fd1);break;case _0xd2eea0(0x2bb):_0x27a131[_0xd2eea0(0x81)][_0xd2eea0(0x113)](..._0x2e7fd1);break;case _0xd2eea0(0x332):_0x27a131[_0xd2eea0(0x318)][_0xd2eea0(0x113)](..._0x2e7fd1);break;case'updateBorder':_0x27a131['updateBorderRanges']['push'](..._0x2e7fd1);break;case _0xd2eea0(0x272):_0x27a131[_0xd2eea0(0x18c)][_0xd2eea0(0x113)](..._0x2e7fd1);break;case _0xd2eea0(0x165):_0x27a131[_0xd2eea0(0x114)][_0xd2eea0(0x113)](..._0x2e7fd1);break;}};switch(_0x319f64){case _0x5431fa[_0x3ba917(0x72)]['id']:{let _0x2ba66c=_0x5a5019;_0x171966([{'range':{..._0x2ba66c['range'],'rangeType':_0x3bba19[_0x3ba917(0x29e)]['ROW']},'unitId':_0x2ba66c['unitId'],'subUnitId':_0x2ba66c[_0x3ba917(0x93)],'showText':'insertRow','highlightRow':!0x0}],_0x3ba917(0x181));break;}case _0x5431fa[_0x3ba917(0x2e9)]['id']:{let _0x452769=_0x5a5019;_0x171966([{'range':{..._0x452769['range'],'rangeType':_0x3bba19[_0x3ba917(0x29e)][_0x3ba917(0x159)]},'unitId':_0x452769[_0x3ba917(0x3e9)],'subUnitId':_0x452769['subUnitId'],'showText':'insertCol','highlightColumn':!0x0}],_0x3ba917(0x181));break;}case _0x5431fa['AddWorksheetMergeMutation']['id']:{let _0x6ea449=_0x5a5019;_0x171966(_0x6ea449[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x34b0f9=>({'range':_0x34b0f9,'unitId':_0x6ea449[_0x3ba917(0x3e9)],'subUnitId':_0x6ea449[_0x3ba917(0x93)],'showText':_0x3ba917(0x25e)})),_0x3ba917(0x181));break;}case _0x5431fa[_0x3ba917(0x110)]['id']:{let _0x4ee3c7=_0x5a5019;_0x171966(Object['values'](_0x4ee3c7['values'])[_0x3ba917(0x369)](_0x1ac5a5=>_0x1ac5a5[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x15011f=>({'range':_0x15011f,'unitId':_0x4ee3c7[_0x3ba917(0x3e9)],'subUnitId':_0x4ee3c7[_0x3ba917(0x93)],'showText':'setNumfmt'})))[_0x3ba917(0x393)](),'insert');break;}case _0x5431fa[_0x3ba917(0x284)]['id']:{let _0x5ce942=_0x5a5019;_0x171966(_0x5ce942['ranges'][_0x3ba917(0x369)](_0x5bc90b=>({'range':_0x5bc90b,'unitId':_0x5ce942[_0x3ba917(0x3e9)],'subUnitId':_0x5ce942[_0x3ba917(0x93)],'showText':_0x3ba917(0x152)})),_0x3ba917(0x88));break;}case _0x5431fa[_0x3ba917(0x147)]['id']:{let _0xbbf2dc=_0x5a5019;_0x171966(_0xbbf2dc[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x4d3b81=>({'range':_0x4d3b81,'unitId':_0xbbf2dc['unitId'],'subUnitId':_0xbbf2dc[_0x3ba917(0x93)],'showText':_0x3ba917(0x3d2)})),_0x3ba917(0x88));break;}case _0x5431fa[_0x3ba917(0xf2)]['id']:{let _0x3516b4=_0x5a5019;_0x171966([{'range':{..._0x3516b4[_0x3ba917(0x117)],'rangeType':_0x3bba19['RANGE_TYPE']['ROW']},'unitId':_0x3516b4['unitId'],'subUnitId':_0x3516b4[_0x3ba917(0x93)],'showText':'moveRows'}],_0x3ba917(0x88)),_0x171966([{'range':{..._0x3516b4[_0x3ba917(0xf7)],'rangeType':_0x3bba19[_0x3ba917(0x29e)][_0x3ba917(0x76)]},'unitId':_0x3516b4[_0x3ba917(0x3e9)],'subUnitId':_0x3516b4[_0x3ba917(0x93)],'showText':_0x3ba917(0x3fb)}],'insert');break;}case _0x5431fa[_0x3ba917(0x11a)]['id']:{let _0x534f80=_0x5a5019;_0x171966([{'range':{..._0x534f80[_0x3ba917(0x117)],'rangeType':_0x3bba19['RANGE_TYPE']['COLUMN']},'unitId':_0x534f80[_0x3ba917(0x3e9)],'subUnitId':_0x534f80[_0x3ba917(0x93)],'showText':'moveCols'}],_0x3ba917(0x88)),_0x171966([{'range':{..._0x534f80[_0x3ba917(0xf7)],'rangeType':_0x3bba19[_0x3ba917(0x29e)][_0x3ba917(0x159)]},'unitId':_0x534f80[_0x3ba917(0x3e9)],'subUnitId':_0x534f80[_0x3ba917(0x93)],'showText':_0x3ba917(0x24d)}],_0x3ba917(0x181));break;}case _0x5431fa[_0x3ba917(0x1a9)]['id']:{let _0x364bd5=_0x5a5019;_0x171966(_0x364bd5['ranges'][_0x3ba917(0x369)](_0x3954a0=>({'range':{..._0x3954a0,'rangeType':_0x3bba19[_0x3ba917(0x29e)][_0x3ba917(0x76)]},'unitId':_0x364bd5[_0x3ba917(0x3e9)],'subUnitId':_0x364bd5[_0x3ba917(0x93)],'showText':_0x3ba917(0x1b0),'highlightRow':!0x0})),_0x3ba917(0x212));break;}case _0x5431fa[_0x3ba917(0x166)]['id']:{let _0x5f547a=_0x5a5019;_0x5f547a[_0x3ba917(0x210)]&&_0x5f547a[_0x3ba917(0x93)]&&Object[_0x3ba917(0x1c4)](_0x5f547a[_0x3ba917(0x210)])[_0x3ba917(0x369)](Number)['forEach'](_0x429819=>{const _0x2a666b=_0x3ba917;_0x171966([{'range':{'startRow':_0x429819,'endRow':_0x429819,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x3bba19['RANGE_TYPE'][_0x2a666b(0x76)]},'unitId':_0x5f547a[_0x2a666b(0x3e9)],'subUnitId':_0x5f547a[_0x2a666b(0x93)],'showText':_0x2a666b(0x21f),'highlightRow':!0x0}],_0x2a666b(0x212));});break;}case _0x5431fa['SetColVisibleMutation']['id']:{let _0x434c7e=_0x5a5019;_0x171966(_0x434c7e[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x10ea8c=>({'range':{..._0x10ea8c,'rangeType':_0x3bba19['RANGE_TYPE'][_0x3ba917(0x159)]},'unitId':_0x434c7e['unitId'],'subUnitId':_0x434c7e[_0x3ba917(0x93)],'showText':_0x3ba917(0x3dc),'highlightColumn':!0x0})),_0x3ba917(0x212));break;}case _0x5431fa[_0x3ba917(0x1a1)]['id']:{let _0xfc6894=_0x5a5019;_0xfc6894['columnData']&&_0xfc6894['subUnitId']&&Object[_0x3ba917(0x1c4)](_0xfc6894[_0x3ba917(0x8e)])[_0x3ba917(0x369)](Number)[_0x3ba917(0xc9)](_0x4ec428=>{const _0xb40084=_0x3ba917;_0x171966([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x4ec428,'endColumn':_0x4ec428,'rangeType':_0x3bba19['RANGE_TYPE'][_0xb40084(0x159)]},'unitId':_0xfc6894[_0xb40084(0x3e9)],'subUnitId':_0xfc6894[_0xb40084(0x93)],'showText':_0xb40084(0x221),'highlightColumn':!0x0}],_0xb40084(0x212));});break;}case _0x5431fa['SetRangeValuesMutation']['id']:{let _0x26813d=_0x5a5019;_0x171966(_0x26813d[_0x3ba917(0x14d)]?_0x3a4145(_0x26813d['cellValue'])['map'](_0x2c545d=>({'range':_0x2c545d,'unitId':_0x26813d[_0x3ba917(0x3e9)],'subUnitId':_0x26813d['subUnitId'],'showText':'setRangeValues'})):[],_0x3ba917(0x212));break;}case _0x5431fa[_0x3ba917(0x1fe)]['id']:{let _0x30312d=_0x465b4f[_0x3ba917(0x346)];_0x171966([{'range':_0x1a740f(_0x30312d[_0x3ba917(0x36a)][_0x3ba917(0x1d8)]),'unitId':_0x30312d[_0x3ba917(0x3e9)],'subUnitId':_0x30312d[_0x3ba917(0x36a)][_0x3ba917(0x93)],'showText':_0x3ba917(0xfc)}],'delete'),_0x171966([{'range':_0x1a740f(_0x30312d['to'][_0x3ba917(0x1d8)]),'unitId':_0x30312d['unitId'],'subUnitId':_0x30312d['to'][_0x3ba917(0x93)],'showText':_0x3ba917(0xfc)}],_0x3ba917(0x181));break;}case _0x5431fa[_0x3ba917(0x384)]['id']:{let _0x5b5cb9=_0x5a5019;_0x171966([{'range':_0x5b5cb9[_0x3ba917(0x9c)],'unitId':_0x5b5cb9[_0x3ba917(0x3e9)],'subUnitId':_0x5b5cb9[_0x3ba917(0x93)]}],_0x3ba917(0x212));break;}case _0x5431fa[_0x3ba917(0x3fd)]['id']:{let _0x33261d=_0x5a5019;_0x33261d[_0x3ba917(0x1b7)]&&_0x33261d['ranges'][_0x3ba917(0x217)]>0x0&&_0x33261d[_0x3ba917(0x93)]&&_0x171966(_0x33261d[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x19b952=>({'range':_0x19b952,'unitId':_0x33261d['unitId'],'subUnitId':_0x33261d[_0x3ba917(0x93)],'showText':'setRowHeight'})),_0x3ba917(0x272));break;}case _0x5431fa[_0x3ba917(0x403)]['id']:{let _0x3cab4e=_0x5a5019;_0x3cab4e[_0x3ba917(0x1b7)]&&_0x3cab4e[_0x3ba917(0x1b7)][_0x3ba917(0x217)]>0x0&&_0x3cab4e[_0x3ba917(0x93)]&&_0x171966(_0x3cab4e[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x37bdef=>({'range':_0x37bdef,'unitId':_0x3cab4e[_0x3ba917(0x3e9)],'subUnitId':_0x3cab4e['subUnitId'],'showText':_0x3ba917(0xed)})),_0x3ba917(0x165));break;}case _0x5431fa[_0x3ba917(0x22c)]['id']:{let _0x5de264=_0x5a5019;_0x171966(_0x5de264[_0x3ba917(0x391)]['map'](_0x1faa6c=>_0x1faa6c['ranges']['map'](_0x5af79a=>({'range':_0x5af79a,'unitId':_0x5de264['unitId'],'subUnitId':_0x5de264[_0x3ba917(0x93)],'showText':'addRangeProtection'})))[_0x3ba917(0x393)](),_0x3ba917(0x2bb));break;}case _0x3463d2[_0x3ba917(0x202)]['id']:{let _0xc9f0e0=_0x5a5019;_0x171966(_0xc9f0e0[_0x3ba917(0x280)][_0x3ba917(0x1b7)]['map'](_0x4d3e56=>({'range':_0x4d3e56,'unitId':_0xc9f0e0['unitId'],'subUnitId':_0xc9f0e0[_0x3ba917(0x93)],'showText':_0x3ba917(0x2e0)})),'insertBorder');break;}case _0x4ca1e8[_0x3ba917(0x3c6)]['id']:{let _0x57cdc3=_0x5a5019;_0x171966((Array[_0x3ba917(0x133)](_0x57cdc3[_0x3ba917(0x280)])?_0x57cdc3[_0x3ba917(0x280)]:[_0x57cdc3[_0x3ba917(0x280)]])[_0x3ba917(0x369)](_0x29ec7c=>_0x29ec7c[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x345646=>({'range':_0x345646,'unitId':_0x57cdc3[_0x3ba917(0x3e9)],'subUnitId':_0x57cdc3[_0x3ba917(0x93)],'showText':_0x3ba917(0x3f3)})))[_0x3ba917(0x393)](),_0x3ba917(0x2bb));break;}case _0x5431fa[_0x3ba917(0x3eb)]['id']:{let _0xd88758=_0x5a5019,_0x1546bd=_0xd88758[_0x3ba917(0x3e9)],_0x18818b=_0xd88758[_0x3ba917(0x93)];_0xd88758['ruleIds']&&_0xd88758[_0x3ba917(0x20d)][_0x3ba917(0x217)]>0x0&&_0xd88758['subUnitId']&&_0xd88758[_0x3ba917(0x20d)]['forEach'](_0x23fde7=>{const _0x5b55e0=_0x3ba917;let _0x3c5b22=this[_0x5b55e0(0x1fa)]['getRule'](_0x1546bd,_0x18818b,_0x23fde7),_0x195afa=(_0x3c5b22==null?void 0x0:_0x3c5b22[_0x5b55e0(0x1b7)]['map'](_0x5115dc=>({'range':_0x5115dc,'unitId':_0x1546bd,'subUnitId':_0x18818b,'showText':_0x5b55e0(0x17d)})))||[];_0x195afa['length']>0x0&&_0x171966(_0x195afa,_0x5b55e0(0x332));});break;}case _0x3463d2[_0x3ba917(0x169)]['id']:{let _0x50a868=_0x5a5019;if(_0x50a868[_0x3ba917(0x1cf)]&&_0x50a868[_0x3ba917(0x93)]){let _0x386703=this[_0x3ba917(0x21d)]['getRule'](_0x50a868['unitId'],_0x50a868[_0x3ba917(0x93)],_0x50a868[_0x3ba917(0x1cf)]);if(_0x386703){let _0x36a822=_0x386703[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x3a5774=>({'range':_0x3a5774,'unitId':_0x50a868[_0x3ba917(0x3e9)],'subUnitId':_0x50a868[_0x3ba917(0x93)],'showText':'deleteCF'}));_0x36a822['length']>0x0&&_0x171966(_0x36a822,_0x3ba917(0x332));}}break;}case _0x4ca1e8['RemoveDataValidationMutation']['id']:{let _0xa0029b=_0x5a5019,_0x5cfa74=Array[_0x3ba917(0x133)](_0xa0029b['ruleId'])?_0xa0029b['ruleId']:[_0xa0029b['ruleId']];_0x5cfa74[_0x3ba917(0x217)]>0x0&&_0xa0029b['subUnitId']&&_0x5cfa74[_0x3ba917(0xc9)](_0x189b64=>{const _0x2c5ce7=_0x3ba917;let _0x55858e=this[_0x2c5ce7(0x29b)][_0x2c5ce7(0x265)](_0xa0029b[_0x2c5ce7(0x3e9)],_0xa0029b[_0x2c5ce7(0x93)],_0x189b64),_0x11dd63=(_0x55858e==null?void 0x0:_0x55858e[_0x2c5ce7(0x1b7)][_0x2c5ce7(0x369)](_0x50a4d3=>({'range':_0x50a4d3,'unitId':_0xa0029b[_0x2c5ce7(0x3e9)],'subUnitId':_0xa0029b['subUnitId'],'showText':'removeDV'})))||[];_0x11dd63['length']>0x0&&_0x171966(_0x11dd63,_0x2c5ce7(0x332));});break;}case _0x5431fa['SetRangeProtectionMutation']['id']:{let _0x4dcac1=_0x5a5019;_0x171966(_0x4dcac1['rule']['ranges']['map'](_0x38400d=>({'range':_0x38400d,'unitId':_0x4dcac1[_0x3ba917(0x3e9)],'subUnitId':_0x4dcac1[_0x3ba917(0x93)],'showText':_0x3ba917(0x252)})),_0x3ba917(0x141));break;}case _0x5431fa[_0x3ba917(0x2b5)]['id']:{let _0x5d8de7=_0x5a5019;_0x171966([{'range':_0x5d8de7['range'],'unitId':_0x5d8de7[_0x3ba917(0x3e9)],'subUnitId':_0x5d8de7['subUnitId'],'showText':_0x3ba917(0x243)}],'updateBorder');break;}case _0x5431fa[_0x3ba917(0x27e)]['id']:{let _0x632da5=_0x5a5019;_0x171966([{'range':_0x632da5[_0x3ba917(0x9c)],'unitId':_0x632da5[_0x3ba917(0x3e9)],'subUnitId':_0x632da5[_0x3ba917(0x93)],'showText':_0x3ba917(0x160)}],'updateBorder');break;}case _0x3463d2[_0x3ba917(0x1ab)]['id']:{let _0x25bd71=_0x5a5019;_0x171966(_0x25bd71[_0x3ba917(0x280)]['ranges']['map'](_0x3ae18f=>({'range':_0x3ae18f,'unitId':_0x25bd71[_0x3ba917(0x3e9)],'subUnitId':_0x25bd71[_0x3ba917(0x93)],'showText':_0x3ba917(0x2e0)})),'updateBorder');break;}case _0x3463d2['MoveConditionalRuleMutation']['id']:{let _0x14c1b5=_0x5a5019,_0x541a9b=this[_0x3ba917(0x21d)]['getRule'](_0x14c1b5[_0x3ba917(0x3e9)],_0x14c1b5[_0x3ba917(0x93)],_0x14c1b5[_0x3ba917(0x1d9)]['id']),_0x5f218f=this[_0x3ba917(0x21d)][_0x3ba917(0x3de)](_0x14c1b5[_0x3ba917(0x3e9)],_0x14c1b5[_0x3ba917(0x93)],_0x14c1b5[_0x3ba917(0x15c)]['id']);_0x541a9b&&_0x171966(_0x541a9b[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x5597b6=>({'range':_0x5597b6,'unitId':_0x14c1b5[_0x3ba917(0x3e9)],'subUnitId':_0x14c1b5['subUnitId'],'showText':_0x3ba917(0xa5)})),_0x3ba917(0x332)),_0x5f218f&&_0x171966(_0x5f218f[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x128a62=>({'range':_0x128a62,'unitId':_0x14c1b5[_0x3ba917(0x3e9)],'subUnitId':_0x14c1b5[_0x3ba917(0x93)],'showText':_0x3ba917(0xa5)})),_0x3ba917(0x2bb));break;}case _0x4f392a[_0x3ba917(0x3bc)]['id']:{let _0xf2ab07=_0x5a5019;_0x171966([{'range':_0xf2ab07[_0x3ba917(0x9c)],'unitId':_0xf2ab07['unitId'],'subUnitId':_0xf2ab07['subUnitId'],'showText':_0x3ba917(0x28d)}],_0x3ba917(0x141));break;}case _0x4f392a['SetSheetsFilterCriteriaMutation']['id']:{let _0x44aa2a=_0x5a5019,_0x234829=this[_0x3ba917(0x317)][_0x3ba917(0xb0)](_0x44aa2a[_0x3ba917(0x3e9)],_0x44aa2a['subUnitId']);if(_0x234829){let _0x55d908=_0x234829['getRange']();_0x171966(_0x55d908?[{'range':_0x55d908,'unitId':_0x44aa2a[_0x3ba917(0x3e9)],'subUnitId':_0x44aa2a[_0x3ba917(0x93)],'showText':_0x3ba917(0x137)}]:[],_0x3ba917(0x141));}break;}case _0x4f392a[_0x3ba917(0x225)]['id']:{let _0x136f16=_0x5a5019,_0x446987=this[_0x3ba917(0x317)][_0x3ba917(0xb0)](_0x136f16[_0x3ba917(0x3e9)],_0x136f16[_0x3ba917(0x93)]);if(_0x446987){let _0x33d779=_0x446987[_0x3ba917(0xa3)]();_0x171966(_0x33d779?[{'range':_0x33d779,'unitId':_0x136f16['unitId'],'subUnitId':_0x136f16['subUnitId'],'showText':_0x3ba917(0x3e2)}]:[],_0x3ba917(0x141));}break;}case _0x4f392a[_0x3ba917(0x227)]['id']:{let _0x56e1b5=_0x5a5019,_0xfd7873=this[_0x3ba917(0x317)][_0x3ba917(0xb0)](_0x56e1b5['unitId'],_0x56e1b5[_0x3ba917(0x93)]);if(_0xfd7873){let _0x4c3802=_0xfd7873[_0x3ba917(0xa3)]();_0x171966(_0x4c3802?[{'range':_0x4c3802,'unitId':_0x56e1b5['unitId'],'subUnitId':_0x56e1b5[_0x3ba917(0x93)],'showText':'removeFilter'}]:[],'updateBorder');}break;}case _0x4ca1e8[_0x3ba917(0x1d4)]['id']:{let _0x579b7a=_0x5a5019,_0x15625c=this['_dataValidationModel']['getRuleById'](_0x579b7a[_0x3ba917(0x3e9)],_0x579b7a[_0x3ba917(0x93)],_0x579b7a[_0x3ba917(0xde)]);_0x15625c&&_0x171966(_0x15625c[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x2c4ed5=>({'range':_0x2c4ed5,'unitId':_0x579b7a['unitId'],'subUnitId':_0x579b7a[_0x3ba917(0x93)],'showText':_0x3ba917(0x3f3)})),_0x3ba917(0x141));break;}case _0x4b82f6[_0x3ba917(0x372)]['id']:{let _0x4649e6=_0x5a5019,_0x27c69c=_0x4649e6[_0x3ba917(0x3e9)],_0x427539=_0x4649e6[_0x3ba917(0x93)],_0x391f2b=_0x4649e6[_0x3ba917(0xb8)];_0x4649e6[_0x3ba917(0xb8)]&&_0x427539&&Object[_0x3ba917(0x1c4)](_0x4649e6[_0x3ba917(0xb8)])[_0x3ba917(0xc9)](_0x44371c=>{const _0x297e20=_0x3ba917;let _0x48ac04=_0x391f2b[_0x44371c];_0x171966(_0x3a4145(_0x48ac04[_0x297e20(0xdc)])[_0x297e20(0x369)](_0x3fcfce=>({'range':_0x3fcfce,'unitId':_0x27c69c,'subUnitId':_0x427539,'showText':_0x297e20(0x3f2)})),_0x297e20(0x181));});break;}case _0x4b82f6[_0x3ba917(0x3a4)]['id']:{let _0x589147=_0x5a5019;_0x589147[_0x3ba917(0x13a)]&&_0x589147[_0x3ba917(0x13a)]['length']>0x0&&_0x589147['subUnitId']&&_0x589147[_0x3ba917(0x13a)]['forEach'](_0x5649c2=>{const _0x39d94b=_0x3ba917;let _0x5bf272=this['_sparklineDataSourceModel']['getSparklineById'](_0x589147['unitId'],_0x589147[_0x39d94b(0x93)],_0x5649c2);_0x5bf272&&_0x171966(_0x3a4145(_0x5bf272[_0x39d94b(0xdc)][_0x39d94b(0x3b0)]())[_0x39d94b(0x369)](_0x5b9d52=>({'range':_0x5b9d52,'unitId':_0x589147['unitId'],'subUnitId':_0x589147[_0x39d94b(0x93)],'showText':_0x39d94b(0x364)})),_0x39d94b(0x212));});break;}case _0x4b82f6['RemoveSheetSparklineMutation']['id']:{let _0x2834c9=_0x5a5019;_0x2834c9[_0x3ba917(0x13a)]&&_0x2834c9['groupIds'][_0x3ba917(0x217)]>0x0&&_0x2834c9[_0x3ba917(0x93)]&&_0x2834c9[_0x3ba917(0x13a)][_0x3ba917(0xc9)](_0x38385b=>{const _0x5e3766=_0x3ba917;let _0x45a97f=this[_0x5e3766(0x2e3)]['getSparklineById'](_0x2834c9[_0x5e3766(0x3e9)],_0x2834c9[_0x5e3766(0x93)],_0x38385b);_0x45a97f&&_0x171966(_0x3a4145(_0x45a97f[_0x5e3766(0xdc)][_0x5e3766(0x3b0)]())[_0x5e3766(0x369)](_0x1983ae=>({'range':_0x1983ae,'unitId':_0x2834c9[_0x5e3766(0x3e9)],'subUnitId':_0x2834c9[_0x5e3766(0x93)],'showText':_0x5e3766(0x2db)})),_0x5e3766(0x88));});break;}case _0x22596e[_0x3ba917(0x256)]['id']:{let _0x5591e5=_0x5a5019;_0x5591e5[_0x3ba917(0x1af)]&&_0x5591e5[_0x3ba917(0x93)]&&_0x171966([{'range':_0x5591e5[_0x3ba917(0x9c)],'unitId':_0x5591e5[_0x3ba917(0x3e9)],'subUnitId':_0x5591e5[_0x3ba917(0x93)],'showText':_0x3ba917(0x1c5)}],_0x3ba917(0x181));break;}case _0x22596e[_0x3ba917(0x84)]['id']:{let _0x3ed535=_0x5a5019;if(_0x3ed535['tableId']&&_0x3ed535['subUnitId']){var _0x3c0285;let _0x5ee6e2=(_0x3c0285=this[_0x3ba917(0x1a5)][_0x3ba917(0x2a9)](_0x3ed535[_0x3ba917(0x3e9)],_0x3ed535[_0x3ba917(0x1af)]))==null?void 0x0:_0x3c0285[_0x3ba917(0x9c)];_0x5ee6e2&&_0x171966([{'range':_0x5ee6e2,'unitId':_0x3ed535['unitId'],'subUnitId':_0x3ed535['subUnitId'],'showText':_0x3ba917(0x24c)}],_0x3ba917(0x88));}break;}case _0x22596e[_0x3ba917(0x1d0)]['id']:{let _0x747581=_0x5a5019;if(_0x747581['tableId']){let _0x5c967a=this['_sheetTableService'][_0x3ba917(0x2a9)](_0x747581[_0x3ba917(0x3e9)],_0x747581[_0x3ba917(0x1af)]);_0x5c967a&&_0x5c967a[_0x3ba917(0x9c)]&&_0x5c967a[_0x3ba917(0x93)]&&(_0x27a131[_0x3ba917(0x380)][_0x3ba917(0x113)](_0x5c967a['subUnitId']),_0x171966([{'range':_0x5c967a[_0x3ba917(0x9c)],'unitId':_0x747581[_0x3ba917(0x3e9)],'subUnitId':_0x5c967a['subUnitId'],'showText':_0x3ba917(0x2dc)}],_0x3ba917(0x212)));}break;}case _0x22596e['SetSheetTableMutation']['id']:{let _0x11e21a=_0x5a5019;if(_0x11e21a['tableId']&&_0x11e21a[_0x3ba917(0x93)]){var _0x35200f;let _0x11adfb=(_0x35200f=this[_0x3ba917(0x1a5)][_0x3ba917(0x2a9)](_0x11e21a[_0x3ba917(0x3e9)],_0x11e21a['tableId']))==null?void 0x0:_0x35200f[_0x3ba917(0x9c)];_0x11adfb&&_0x171966([{'range':_0x11adfb,'unitId':_0x11e21a[_0x3ba917(0x3e9)],'subUnitId':_0x11e21a[_0x3ba917(0x93)],'showText':_0x3ba917(0xc3)}],'update');}break;}case _0x3089bf[_0x3ba917(0x406)]['id']:{let _0xd46aaa=_0x5a5019;if(_0xd46aaa[_0x3ba917(0x16b)]&&_0xd46aaa[_0x3ba917(0x93)]){var _0x2a867a;let _0x522a56=(_0x2a867a=this[_0x3ba917(0x33d)]['getPivotTableRangeInfo'](_0xd46aaa['unitId'],_0xd46aaa[_0x3ba917(0x93)],_0xd46aaa[_0x3ba917(0x16b)]))==null?void 0x0:_0x2a867a[_0x3ba917(0x2a0)];_0x522a56&&_0x171966((0x0,_0x3089bf[_0x3ba917(0x188)])(_0x522a56)[_0x3ba917(0x369)](_0x29a438=>({'range':_0x29a438,'unitId':_0xd46aaa[_0x3ba917(0x3e9)],'subUnitId':_0xd46aaa[_0x3ba917(0x93)],'showText':_0x3ba917(0x26b)})),_0x3ba917(0x181));}break;}case _0x3089bf['RemovePivotTableMutation']['id']:{let _0x546c57=_0x5a5019;if(_0x546c57[_0x3ba917(0x16b)]&&_0x546c57['subUnitId']){var _0x4f6bf6;let _0x593245=(_0x4f6bf6=this['_sheetsPivotTableConfigModel'][_0x3ba917(0xb6)](_0x546c57[_0x3ba917(0x3e9)],_0x546c57['subUnitId'],_0x546c57[_0x3ba917(0x16b)]))==null?void 0x0:_0x4f6bf6['rangeInfo'];_0x593245&&_0x171966((0x0,_0x3089bf[_0x3ba917(0x188)])(_0x593245)['map'](_0x380810=>({'range':_0x380810,'unitId':_0x546c57[_0x3ba917(0x3e9)],'subUnitId':_0x546c57['subUnitId'],'showText':_0x3ba917(0x36e)})),_0x3ba917(0x88));}break;}case _0x3089bf[_0x3ba917(0x13e)]['id']:case _0x3089bf[_0x3ba917(0x12a)]['id']:case _0x3089bf['UpdatePivotTableSourceRangeMutation']['id']:case _0x3089bf['AddPivotFieldMutation']['id']:case _0x3089bf['RemovePivotFieldMutation']['id']:case _0x3089bf['RenamePivotFieldMutation']['id']:case _0x3089bf[_0x3ba917(0x2d9)]['id']:case _0x3089bf[_0x3ba917(0x2c3)]['id']:case _0x3089bf[_0x3ba917(0x3d5)]['id']:case _0x3089bf['SetPivotFilterMutation']['id']:case _0x3089bf[_0x3ba917(0x1ff)]['id']:case _0x3089bf[_0x3ba917(0xa6)]['id']:case _0x3089bf[_0x3ba917(0x296)]['id']:case _0x3089bf[_0x3ba917(0x1e6)]['id']:case _0x3089bf[_0x3ba917(0x25b)]['id']:{let _0x70971f=_0x5a5019,_0xeebe35=_0x3ba917(0x73);if(_0x319f64===_0x3089bf[_0x3ba917(0x13e)]['id']?_0xeebe35=_0x3ba917(0x73):_0x319f64===_0x3089bf[_0x3ba917(0x12a)]['id']?_0xeebe35=_0x3ba917(0x94):_0x319f64===_0x3089bf[_0x3ba917(0x104)]['id']?_0xeebe35=_0x3ba917(0x32b):_0x319f64===_0x3089bf['AddPivotFieldMutation']['id']?_0xeebe35=_0x3ba917(0x224):_0x319f64===_0x3089bf[_0x3ba917(0x2ad)]['id']?_0xeebe35=_0x3ba917(0x3d6):_0x319f64===_0x3089bf[_0x3ba917(0xfe)]['id']?_0xeebe35=_0x3ba917(0x140):_0x319f64===_0x3089bf[_0x3ba917(0x2d9)]['id']?_0xeebe35='updateFieldPosition':_0x319f64===_0x3089bf[_0x3ba917(0x2c3)]['id']?_0xeebe35=_0x3ba917(0x2fb):_0x319f64===_0x3089bf[_0x3ba917(0x3d5)]['id']?_0xeebe35='updatePivotFieldSource':_0x319f64===_0x3089bf[_0x3ba917(0x3f8)]['id']?_0xeebe35=_0x3ba917(0x38c):_0x319f64===_0x3089bf[_0x3ba917(0x1ff)]['id']?_0xeebe35=_0x3ba917(0xe0):_0x319f64===_0x3089bf['SetPivotSortMutation']['id']?_0xeebe35=_0x3ba917(0x23c):_0x319f64===_0x3089bf[_0x3ba917(0x296)]['id']?_0xeebe35=_0x3ba917(0x209):_0x319f64===_0x3089bf[_0x3ba917(0x25b)]['id']?_0xeebe35='setPivotSubtotalType':_0x319f64===_0x3089bf[_0x3ba917(0x1e6)]['id']&&(_0xeebe35=_0x3ba917(0x39a)),_0x70971f[_0x3ba917(0x16b)]&&_0x70971f[_0x3ba917(0x93)]){var _0x48bbaf;let _0x3cb23f=(_0x48bbaf=this['_sheetsPivotTableConfigModel']['getPivotTableRangeInfo'](_0x70971f[_0x3ba917(0x3e9)],_0x70971f['subUnitId'],_0x70971f['pivotTableId']))==null?void 0x0:_0x48bbaf[_0x3ba917(0x2a0)];_0x3cb23f&&_0x171966((0x0,_0x3089bf[_0x3ba917(0x188)])(_0x3cb23f)[_0x3ba917(0x369)](_0x46e311=>({'range':_0x46e311,'unitId':_0x70971f[_0x3ba917(0x3e9)],'subUnitId':_0x70971f[_0x3ba917(0x93)],'showText':_0xeebe35})),'update');}break;}case _0x5302d2[_0x3ba917(0x3e3)]['id']:{let _0x448ca1=_0x5a5019;_0x448ca1[_0x3ba917(0x408)]&&_0x27a131[_0x3ba917(0x3e1)][_0x3ba917(0x113)]({'drawingId':_0x448ca1[_0x3ba917(0x408)],'unitId':_0x448ca1['unitId'],'subUnitId':_0x448ca1[_0x3ba917(0x93)],'showText':_0x9cfb56});break;}case _0x5302d2[_0x3ba917(0x201)]['id']:{let _0x1ac4f2=_0x5a5019;_0x1ac4f2[_0x3ba917(0x408)]&&_0x27a131[_0x3ba917(0x3e5)][_0x3ba917(0x113)]({'drawingId':_0x1ac4f2[_0x3ba917(0x408)],'unitId':_0x1ac4f2[_0x3ba917(0x3e9)],'subUnitId':_0x1ac4f2[_0x3ba917(0x93)],'showText':_0x9cfb56});break;}case _0x5302d2['ChartUpdateConfigMutation']['id']:{let _0x5c0bd4=_0x5a5019;if(_0x5c0bd4[_0x3ba917(0x1c8)]){let _0x3bd2f2=this[_0x3ba917(0x17f)]['getSubUnitId'](_0x5c0bd4[_0x3ba917(0x3e9)],_0x5c0bd4[_0x3ba917(0x1c8)]);_0x3bd2f2&&(_0x27a131[_0x3ba917(0x380)][_0x3ba917(0x113)](_0x3bd2f2),_0x27a131[_0x3ba917(0xe8)][_0x3ba917(0x113)]({'drawingId':_0x5c0bd4[_0x3ba917(0x1c8)],'unitId':_0x5c0bd4[_0x3ba917(0x3e9)],'subUnitId':_0x3bd2f2,'showText':_0x9cfb56}));}break;}case _0x5302d2[_0x3ba917(0xff)]['id']:{let _0x1d26aa=_0x5a5019;if(_0x1d26aa[_0x3ba917(0x1c8)]){let _0x5df4d2=this[_0x3ba917(0x17f)][_0x3ba917(0xe7)](_0x1d26aa[_0x3ba917(0x3e9)],_0x1d26aa[_0x3ba917(0x1c8)]);_0x5df4d2&&(_0x27a131[_0x3ba917(0x380)]['push'](_0x5df4d2),_0x27a131[_0x3ba917(0xe8)][_0x3ba917(0x113)]({'drawingId':_0x1d26aa[_0x3ba917(0x1c8)],'unitId':_0x1d26aa[_0x3ba917(0x3e9)],'subUnitId':_0x5df4d2,'showText':_0x9cfb56}));}break;}case _0x592f14[_0x3ba917(0xd1)]['id']:{let _0xe1111b=_0x5a5019;_0xe1111b[_0x3ba917(0xa4)]&&_0x27a131['insertDrawings'][_0x3ba917(0x113)]({'drawingId':_0xe1111b[_0x3ba917(0xa4)],'unitId':_0xe1111b[_0x3ba917(0x3e9)],'subUnitId':_0xe1111b[_0x3ba917(0x93)],'showText':_0x9cfb56});break;}case _0x592f14['RemoveSheetsShapeMutation']['id']:{let _0xe3c54d=_0x5a5019;_0xe3c54d[_0x3ba917(0xa4)]&&_0x27a131[_0x3ba917(0x3e5)]['push']({'drawingId':_0xe3c54d[_0x3ba917(0xa4)],'unitId':_0xe3c54d[_0x3ba917(0x3e9)],'subUnitId':_0xe3c54d['subUnitId'],'showText':_0x9cfb56});break;}case _0x592f14['UpdateSheetsShapeDataMutation']['id']:case _0x592f14[_0x3ba917(0x286)]['id']:{let _0x348730=_0x5a5019;_0x348730['shapeId']&&_0x27a131['updateDrawings'][_0x3ba917(0x113)]({'drawingId':_0x348730['shapeId'],'unitId':_0x348730[_0x3ba917(0x3e9)],'subUnitId':_0x348730[_0x3ba917(0x93)],'showText':_0x9cfb56});break;}case _0x5a4e7e[_0x3ba917(0x396)]['id']:{let _0xeea7a7=_0x5a5019,_0x576137=_0xeea7a7[_0x3ba917(0x154)],_0x13946c=_0xeea7a7[_0x3ba917(0x30e)],_0x1a418d=_0x13946c!==_0x5a4e7e[_0x3ba917(0x266)]['INSERT']&&_0x13946c!==_0x5a4e7e[_0x3ba917(0x266)][_0x3ba917(0x244)],_0x30dad8=_0x13946c===_0x5a4e7e[_0x3ba917(0x266)]['INSERT'],_0x480a11=_0x13946c===_0x5a4e7e[_0x3ba917(0x266)][_0x3ba917(0x244)],_0x43fde2=_0x9cfb56;if(_0x13946c===_0x5a4e7e[_0x3ba917(0x266)][_0x3ba917(0x3b6)]?_0x43fde2=this[_0x3ba917(0x1ec)]['t'](_0x3ba917(0x163)):_0x13946c===_0x5a4e7e[_0x3ba917(0x266)][_0x3ba917(0x244)]&&(_0x43fde2=this[_0x3ba917(0x1ec)]['t'](_0x3ba917(0x129))),Array['isArray'](_0x576137))_0x576137[_0x3ba917(0xc9)](_0x11d456=>{const _0x5e73d3=_0x3ba917;if(_0x5e73d3(0xa7)in _0x11d456&&_0x11d456[_0x5e73d3(0xa7)])_0x1a418d?_0x27a131[_0x5e73d3(0xe8)][_0x5e73d3(0x113)]({'drawingId':_0x11d456[_0x5e73d3(0xa7)],'unitId':_0xeea7a7[_0x5e73d3(0x3e9)],'subUnitId':_0xeea7a7[_0x5e73d3(0x93)],'showText':_0x43fde2}):_0x30dad8?_0x27a131['insertDrawings']['push']({'drawingId':_0x11d456[_0x5e73d3(0xa7)],'unitId':_0xeea7a7[_0x5e73d3(0x3e9)],'subUnitId':_0xeea7a7[_0x5e73d3(0x93)],'showText':_0x43fde2}):_0x480a11&&_0x27a131[_0x5e73d3(0x3e5)][_0x5e73d3(0x113)]({'drawingId':_0x11d456[_0x5e73d3(0xa7)],'unitId':_0xeea7a7[_0x5e73d3(0x3e9)],'subUnitId':_0xeea7a7[_0x5e73d3(0x93)],'showText':_0x43fde2});else{if(_0x5e73d3(0x168)in _0x11d456&&_0x5e73d3(0x1eb)in _0x11d456){var _0x32f09e,_0x49b640;(_0x32f09e=_0x11d456['parent'])!=null&&_0x32f09e[_0x5e73d3(0xa7)]&&(_0x1a418d?_0x27a131[_0x5e73d3(0xe8)]['push']({'drawingId':_0x11d456[_0x5e73d3(0x168)][_0x5e73d3(0xa7)],'unitId':_0xeea7a7['unitId'],'subUnitId':_0xeea7a7[_0x5e73d3(0x93)],'showText':_0x43fde2}):_0x30dad8?_0x27a131[_0x5e73d3(0x3e1)]['push']({'drawingId':_0x11d456[_0x5e73d3(0x168)][_0x5e73d3(0xa7)],'unitId':_0xeea7a7[_0x5e73d3(0x3e9)],'subUnitId':_0xeea7a7['subUnitId'],'showText':_0x43fde2}):_0x480a11&&_0x27a131[_0x5e73d3(0x3e5)][_0x5e73d3(0x113)]({'drawingId':_0x11d456[_0x5e73d3(0x168)][_0x5e73d3(0xa7)],'unitId':_0xeea7a7[_0x5e73d3(0x3e9)],'subUnitId':_0xeea7a7['subUnitId'],'showText':_0x43fde2})),(_0x49b640=_0x11d456[_0x5e73d3(0x1eb)])==null||_0x49b640['forEach'](_0x596493=>{const _0x335963=_0x5e73d3;_0x596493[_0x335963(0xa7)]&&(_0x1a418d?_0x27a131[_0x335963(0xe8)][_0x335963(0x113)]({'drawingId':_0x596493[_0x335963(0xa7)],'unitId':_0xeea7a7[_0x335963(0x3e9)],'subUnitId':_0xeea7a7[_0x335963(0x93)],'showText':_0x43fde2}):_0x30dad8?_0x27a131['insertDrawings'][_0x335963(0x113)]({'drawingId':_0x596493[_0x335963(0xa7)],'unitId':_0xeea7a7[_0x335963(0x3e9)],'subUnitId':_0xeea7a7[_0x335963(0x93)],'showText':_0x43fde2}):_0x480a11&&_0x27a131[_0x335963(0x3e5)]['push']({'drawingId':_0x596493['drawingId'],'unitId':_0xeea7a7[_0x335963(0x3e9)],'subUnitId':_0xeea7a7[_0x335963(0x93)],'showText':_0x43fde2}));});}}});else{if(_0x576137&&typeof _0x576137==_0x3ba917(0x1e0)){if(_0x3ba917(0x248)in _0x576137&&Array[_0x3ba917(0x133)](_0x576137[_0x3ba917(0x248)]))_0x576137[_0x3ba917(0x248)][_0x3ba917(0xc9)](_0x3a54c7=>{const _0x4adb02=_0x3ba917;_0x1a418d?_0x27a131[_0x4adb02(0xe8)][_0x4adb02(0x113)]({'drawingId':_0x3a54c7,'unitId':_0xeea7a7[_0x4adb02(0x3e9)],'subUnitId':_0xeea7a7[_0x4adb02(0x93)],'showText':_0x43fde2}):_0x30dad8?_0x27a131[_0x4adb02(0x3e1)][_0x4adb02(0x113)]({'drawingId':_0x3a54c7,'unitId':_0xeea7a7['unitId'],'subUnitId':_0xeea7a7[_0x4adb02(0x93)],'showText':_0x43fde2}):_0x480a11&&_0x27a131[_0x4adb02(0x3e5)][_0x4adb02(0x113)]({'drawingId':_0x3a54c7,'unitId':_0xeea7a7['unitId'],'subUnitId':_0xeea7a7[_0x4adb02(0x93)],'showText':_0x43fde2});});else{if('parent'in _0x576137&&_0x3ba917(0x1eb)in _0x576137){var _0x1b28b7,_0xefca4e;(_0x1b28b7=_0x576137['parent'])!=null&&_0x1b28b7[_0x3ba917(0xa7)]&&(_0x1a418d?_0x27a131[_0x3ba917(0xe8)][_0x3ba917(0x113)]({'drawingId':_0x576137[_0x3ba917(0x168)][_0x3ba917(0xa7)],'unitId':_0xeea7a7[_0x3ba917(0x3e9)],'subUnitId':_0xeea7a7[_0x3ba917(0x93)],'showText':_0x43fde2}):_0x30dad8?_0x27a131[_0x3ba917(0x3e1)][_0x3ba917(0x113)]({'drawingId':_0x576137[_0x3ba917(0x168)]['drawingId'],'unitId':_0xeea7a7[_0x3ba917(0x3e9)],'subUnitId':_0xeea7a7[_0x3ba917(0x93)],'showText':_0x43fde2}):_0x480a11&&_0x27a131[_0x3ba917(0x3e5)][_0x3ba917(0x113)]({'drawingId':_0x576137['parent']['drawingId'],'unitId':_0xeea7a7[_0x3ba917(0x3e9)],'subUnitId':_0xeea7a7['subUnitId'],'showText':_0x43fde2})),(_0xefca4e=_0x576137[_0x3ba917(0x1eb)])==null||_0xefca4e[_0x3ba917(0xc9)](_0x1851e3=>{const _0x4523d1=_0x3ba917;_0x1851e3[_0x4523d1(0xa7)]&&(_0x1a418d?_0x27a131[_0x4523d1(0xe8)][_0x4523d1(0x113)]({'drawingId':_0x1851e3[_0x4523d1(0xa7)],'unitId':_0xeea7a7[_0x4523d1(0x3e9)],'subUnitId':_0xeea7a7['subUnitId'],'showText':_0x43fde2}):_0x30dad8?_0x27a131[_0x4523d1(0x3e1)][_0x4523d1(0x113)]({'drawingId':_0x1851e3['drawingId'],'unitId':_0xeea7a7['unitId'],'subUnitId':_0xeea7a7[_0x4523d1(0x93)],'showText':_0x43fde2}):_0x480a11&&_0x27a131['deleteDrawings']['push']({'drawingId':_0x1851e3[_0x4523d1(0xa7)],'unitId':_0xeea7a7[_0x4523d1(0x3e9)],'subUnitId':_0xeea7a7[_0x4523d1(0x93)],'showText':_0x43fde2}));});}}}}break;}}return _0x27a131;}[_0x2267a7(0x91)](_0xde2a70){const _0x20950b=_0x2267a7;if(_0xde2a70[_0x20950b(0x217)]<=0x1)return _0xde2a70;let _0x8e4c5a=new Map();return _0xde2a70['forEach'](_0x52144f=>{const _0x4b3189=_0x20950b;let {unitId:_0x4e2e73,subUnitId:_0x389a30}=_0x52144f,_0x242eeb=_0x4e2e73+'-'+_0x389a30;if(!_0x8e4c5a[_0x4b3189(0x29c)](_0x242eeb))_0x8e4c5a['set'](_0x242eeb,[_0x52144f]);else{var _0x38e21e;(_0x38e21e=_0x8e4c5a['get'](_0x242eeb))==null||_0x38e21e[_0x4b3189(0x113)](_0x52144f);}}),Array[_0x20950b(0x36a)](_0x8e4c5a[_0x20950b(0x2d8)]())['map'](_0x29fdc2=>new _0x5431fa[(_0x20950b(0x2d4))]()[_0x20950b(0x7b)](..._0x29fdc2[_0x20950b(0x369)](_0x2729c5=>_0x2729c5[_0x20950b(0x9c)]))[_0x20950b(0x156)]()['map'](_0x462302=>({'range':_0x462302,'unitId':_0x29fdc2[0x0]['unitId'],'subUnitId':_0x29fdc2[0x0][_0x20950b(0x93)],'showText':_0x29fdc2[0x0]['showText'],'highlightRow':_0x29fdc2[0x0][_0x20950b(0x27f)],'highlightColumn':_0x29fdc2[0x0][_0x20950b(0x31d)]})))[_0x20950b(0x393)]();}};_0x31302b=_0x9526d9([_0x550961(0x0,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4bbed9)),_0x550961(0x1,_0x26651d[_0x2267a7(0x30d)]),_0x550961(0x2,_0x26651d[_0x2267a7(0x3cb)]),_0x550961(0x3,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x5431fa['RangeProtectionRuleModel'])),_0x550961(0x4,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3463d2[_0x2267a7(0x2ce)])),_0x550961(0x5,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0xd0b5e7[_0x2267a7(0x394)])),_0x550961(0x6,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4f392a[_0x2267a7(0x39f)])),_0x550961(0x7,(0x0,_0x3bba19['Inject'])(_0x4b82f6[_0x2267a7(0x172)])),_0x550961(0x8,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3089bf[_0x2267a7(0x112)])),_0x550961(0x9,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x22596e[_0x2267a7(0x3c2)])),_0x550961(0xa,(0x0,_0x3bba19['Inject'])(_0x3bba19['LocaleService'])),_0x550961(0xb,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x5302d2[_0x2267a7(0x2ab)])),_0x550961(0xc,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x57a226))],_0x31302b);function _0x1a740f(_0xf7afb2){const _0x56e09d=_0x2267a7;return new _0x3bba19[(_0x56e09d(0x287))](_0xf7afb2)[_0x56e09d(0xdb)]();}function _0x3a4145(_0x5c1d2c){const _0x31210c=_0x2267a7;let _0x46ea28=new _0x3bba19[(_0x31210c(0x287))](_0x5c1d2c),_0x21d8c1=new _0x3bba19[(_0x31210c(0x287))]();return _0x46ea28[_0x31210c(0x374)]((_0x2c9721,_0x3c9735)=>{const _0x1c997b=_0x31210c;_0x21d8c1[_0x1c997b(0x199)](_0x2c9721,_0x3c9735,0x1);}),(0x0,_0x5431fa[_0x31210c(0x3ee)])(_0x21d8c1);}var _0x22d224=class extends _0x7352c7[_0x2267a7(0x344)]{constructor(_0x49daac,_0x4c4746){const _0x4aaea3=_0x2267a7;if(super(_0x49daac,_0x4c4746),_0x374704(this,_0x4aaea3(0x79),void 0x0),_0x374704(this,_0x4aaea3(0x319),void 0x0),_0x374704(this,_0x4aaea3(0x14b),void 0x0),_0x374704(this,_0x4aaea3(0x31a),0x4),_0x374704(this,'_blinkTimer',void 0x0),_0x374704(this,_0x4aaea3(0xd5),void 0x0),_0x374704(this,'_isBlinkVisible',!0x0),_0x374704(this,_0x4aaea3(0x92),''),_0x374704(this,_0x4aaea3(0x1cd),!0x1),_0x374704(this,_0x4aaea3(0x34c),_0x4aaea3(0x211)),_0x374704(this,'_showText',void 0x0),_0x4c4746){var _0x432a6d;if(this[_0x4aaea3(0x38b)](_0x4c4746),_0x4c4746[_0x4aaea3(0xe6)]&&((_0x432a6d=_0x4c4746[_0x4aaea3(0x3f6)])==null?this['_highlightSecond']:_0x432a6d)){var _0x5e7d1a;this[_0x4aaea3(0x306)]((_0x5e7d1a=_0x4c4746[_0x4aaea3(0x3f6)])==null?this[_0x4aaea3(0x31a)]:_0x5e7d1a);}}this[_0x4aaea3(0x13b)]['subscribeEvent'](()=>this[_0x4aaea3(0x38b)]({'hovered':!0x0})),this[_0x4aaea3(0x3e0)]['subscribeEvent'](()=>this[_0x4aaea3(0x38b)]({'hovered':!0x1}));}[_0x2267a7(0x38b)](_0x51dadf){const _0x38eeb0=_0x2267a7;var _0x344d84,_0x15063a,_0x3c7cc8,_0x2e8c31,_0x48f35c,_0x176c0c;this['_color']=(_0x344d84=_0x51dadf['color'])==null?this[_0x38eeb0(0x79)]:_0x344d84,this['_direction']=(_0x15063a=_0x51dadf[_0x38eeb0(0x328)])==null?this['_direction']:_0x15063a,this[_0x38eeb0(0x92)]=(_0x3c7cc8=_0x51dadf[_0x38eeb0(0x1f5)])==null?this[_0x38eeb0(0x92)]:_0x3c7cc8,this[_0x38eeb0(0x1cd)]=(_0x2e8c31=_0x51dadf[_0x38eeb0(0x26a)])==null?this[_0x38eeb0(0x1cd)]:_0x2e8c31,this['_labelPosition']=(_0x48f35c=_0x51dadf[_0x38eeb0(0x34d)])==null?this[_0x38eeb0(0x34c)]:_0x48f35c,this[_0x38eeb0(0xec)]=(_0x176c0c=_0x51dadf[_0x38eeb0(0x2be)])==null?this[_0x38eeb0(0xec)]:_0x176c0c,_0x51dadf[_0x38eeb0(0x3f6)]!==void 0x0&&(this[_0x38eeb0(0x31a)]=_0x51dadf['highlightSecond']),_0x51dadf[_0x38eeb0(0xe6)]!==void 0x0&&(this[_0x38eeb0(0x14b)]=_0x51dadf[_0x38eeb0(0xe6)]),this[_0x38eeb0(0x2dd)]({'width':_0x51dadf[_0x38eeb0(0x34f)],'height':_0x51dadf[_0x38eeb0(0x254)]});}[_0x2267a7(0x306)](_0x20916d){const _0x240c22=_0x2267a7;this[_0x240c22(0x3c8)](),this[_0x240c22(0x2c7)]=!0x0,this[_0x240c22(0xd5)]=window['setInterval'](()=>{const _0x494526=_0x240c22;this['_isBlinkVisible']=!this[_0x494526(0x2c7)],this[_0x494526(0x276)](!0x0);},0x1f4),this[_0x240c22(0x326)]=window['setTimeout'](()=>{const _0x146eba=_0x240c22;this[_0x146eba(0x3c8)](),this[_0x146eba(0x2c7)]=!0x0,this['makeDirty'](!0x0);},_0x20916d*0x3e8);}[_0x2267a7(0x3c8)](){const _0x31b13c=_0x2267a7;this[_0x31b13c(0xd5)]&&(window[_0x31b13c(0xad)](this[_0x31b13c(0xd5)]),this[_0x31b13c(0xd5)]=void 0x0),this[_0x31b13c(0x326)]&&(window[_0x31b13c(0x9b)](this['_blinkTimer']),this['_blinkTimer']=void 0x0);}[_0x2267a7(0x39c)](_0x2dbc27){return!0x1;}[_0x2267a7(0x3d0)](){const _0x42baa5=_0x2267a7;this[_0x42baa5(0x3c8)](),super[_0x42baa5(0x3d0)]();}[_0x2267a7(0x3ac)](_0x2f56aa){const _0x453cb8=_0x2267a7;let _0x16f346=this[_0x453cb8(0x79)];this[_0x453cb8(0x14b)]&&!this[_0x453cb8(0x2c7)]&&(_0x16f346=this[_0x453cb8(0x383)](this['_color'])),_0x2f56aa[_0x453cb8(0x325)](),_0x2f56aa[_0x453cb8(0xce)]=_0x16f346,_0x2f56aa['fillStyle']=_0x16f346,_0x2f56aa[_0x453cb8(0x2f9)]=0x4,this['_direction']===_0x453cb8(0x218)?this[_0x453cb8(0x220)](_0x2f56aa):this[_0x453cb8(0x27b)](_0x2f56aa),_0x2f56aa[_0x453cb8(0x2a4)](),(this[_0x453cb8(0x1cd)]||this[_0x453cb8(0xec)])&&this['_name']&&(_0x2f56aa['save'](),this[_0x453cb8(0x319)]==='horizontal'?_0x2f56aa[_0x453cb8(0x37e)](0x1,0x0,0x0,0x1,this[_0x453cb8(0x34f)],this[_0x453cb8(0x34c)]==='bottom'?0x0:-0x14):_0x2f56aa['transform'](0x1,0x0,0x0,0x1,this[_0x453cb8(0x34f)],this[_0x453cb8(0x34c)]==='bottom'?this[_0x453cb8(0x254)]:-0x14),this[_0x453cb8(0xc5)](_0x2f56aa,this[_0x453cb8(0x92)],_0x16f346),_0x2f56aa[_0x453cb8(0x2a4)]());}[_0x2267a7(0x220)](_0x4b4abe){const _0x45763a=_0x2267a7;let _0x4828e9=this[_0x45763a(0x254)]/0x2,_0x5ea0bf=this[_0x45763a(0x34f)]-0xc;_0x4b4abe[_0x45763a(0x1f1)](),_0x4b4abe[_0x45763a(0x1f3)](0xc,_0x4828e9),_0x4b4abe[_0x45763a(0x3d1)](_0x5ea0bf,_0x4828e9),_0x4b4abe[_0x45763a(0x2af)](),_0x4b4abe['beginPath'](),_0x4b4abe[_0x45763a(0x1f3)](0x0,_0x4828e9),_0x4b4abe[_0x45763a(0x3d1)](0xc,_0x4828e9-0xc/0x2),_0x4b4abe[_0x45763a(0x3d1)](0xc,_0x4828e9+0xc/0x2),_0x4b4abe[_0x45763a(0x2fe)](),_0x4b4abe[_0x45763a(0x2bf)](),_0x4b4abe[_0x45763a(0x1f1)](),_0x4b4abe[_0x45763a(0x1f3)](this[_0x45763a(0x34f)],_0x4828e9),_0x4b4abe[_0x45763a(0x3d1)](this[_0x45763a(0x34f)]-0xc,_0x4828e9-0xc/0x2),_0x4b4abe[_0x45763a(0x3d1)](this[_0x45763a(0x34f)]-0xc,_0x4828e9+0xc/0x2),_0x4b4abe[_0x45763a(0x2fe)](),_0x4b4abe[_0x45763a(0x2bf)]();}[_0x2267a7(0x27b)](_0x1acc70){const _0x48b989=_0x2267a7;let _0x41813a=this[_0x48b989(0x34f)]/0x2,_0x2c141f=this[_0x48b989(0x254)]-0xc;_0x1acc70[_0x48b989(0x1f1)](),_0x1acc70['moveTo'](_0x41813a,0xc),_0x1acc70[_0x48b989(0x3d1)](_0x41813a,_0x2c141f),_0x1acc70[_0x48b989(0x2af)](),_0x1acc70['beginPath'](),_0x1acc70[_0x48b989(0x1f3)](_0x41813a,0x0),_0x1acc70['lineTo'](_0x41813a-0xc/0x2,0xc),_0x1acc70[_0x48b989(0x3d1)](_0x41813a+0xc/0x2,0xc),_0x1acc70[_0x48b989(0x2fe)](),_0x1acc70[_0x48b989(0x2bf)](),_0x1acc70['beginPath'](),_0x1acc70[_0x48b989(0x1f3)](_0x41813a,this[_0x48b989(0x254)]),_0x1acc70['lineTo'](_0x41813a-0xc/0x2,this['height']-0xc),_0x1acc70[_0x48b989(0x3d1)](_0x41813a+0xc/0x2,this[_0x48b989(0x254)]-0xc),_0x1acc70[_0x48b989(0x2fe)](),_0x1acc70['fill']();}['_drawTextBubble'](_0x580f02,_0x25aebb,_0x321a66){const _0x2f7baf=_0x2267a7;_0x580f02[_0x2f7baf(0xdd)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x528f93=_0x580f02[_0x2f7baf(0x25a)](_0x25aebb)[_0x2f7baf(0x34f)],_0xa5f271=Math[_0x2f7baf(0x297)](_0x528f93+0x8,0xc8);if(_0x580f02[_0x2f7baf(0x11e)]=_0x321a66,_0x580f02['beginPath'](),_0x580f02[_0x2f7baf(0x1f3)](0x4,0x0),_0x580f02[_0x2f7baf(0x3d1)](_0xa5f271-0x4,0x0),_0x580f02[_0x2f7baf(0x214)](_0xa5f271-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x580f02[_0x2f7baf(0x3d1)](_0xa5f271,0x10),_0x580f02[_0x2f7baf(0x214)](_0xa5f271-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x580f02[_0x2f7baf(0x3d1)](0x0,0x14),_0x580f02[_0x2f7baf(0x3d1)](0x0,0x4),_0x580f02[_0x2f7baf(0x214)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x580f02[_0x2f7baf(0x2fe)](),_0x580f02[_0x2f7baf(0x2bf)](),_0x580f02[_0x2f7baf(0x11e)]='#FFF',_0x528f93>0xc0){let _0x32d62e='',_0x4c6804=0x0;for(let _0xeb67a2 of _0x25aebb){let _0x4fbe18=_0x580f02[_0x2f7baf(0x25a)](_0xeb67a2)[_0x2f7baf(0x34f)];if(_0x4c6804+_0x4fbe18<=0xc0-_0x580f02['measureText'](_0x2f7baf(0x7f))[_0x2f7baf(0x34f)])_0x32d62e+=_0xeb67a2,_0x4c6804+=_0x4fbe18;else{_0x32d62e+=_0x2f7baf(0x7f);break;}}_0x580f02[_0x2f7baf(0x127)](_0x32d62e,0x4,0xf);}else _0x580f02[_0x2f7baf(0x127)](_0x25aebb,0x4,0xf);}[_0x2267a7(0x383)](_0x3d198d){const _0x195d75=_0x2267a7;return _0x3d198d[_0x195d75(0x368)]('#')?'rgba('+Number['parseInt'](_0x3d198d['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x195d75(0x167)](_0x3d198d['slice'](0x3,0x5),0x10)+',\x20'+Number[_0x195d75(0x167)](_0x3d198d['slice'](0x5,0x7),0x10)+_0x195d75(0x10a):_0x3d198d[_0x195d75(0x368)](_0x195d75(0x36c))?_0x3d198d[_0x195d75(0x298)](/[\d.]+\)$/g,_0x195d75(0x97)):_0x3d198d[_0x195d75(0x368)](_0x195d75(0x36d))?_0x3d198d[_0x195d75(0x298)](_0x195d75(0x36d),'rgba')[_0x195d75(0x298)](')',_0x195d75(0x10a)):_0x3d198d;}};let _0x2565e2=class extends _0x3bba19['Disposable']{constructor(_0x2206cb,_0x5044b9,_0x5ae439,_0x24890f,_0x3fd5ed,_0x2366ed,_0x9ca85a,_0x504ce8){const _0x18e304=_0x2267a7;super(),this[_0x18e304(0x95)]=_0x2206cb,this[_0x18e304(0x2ff)]=_0x5044b9,this['_versionDiffService']=_0x5ae439,this[_0x18e304(0x363)]=_0x24890f,this[_0x18e304(0x2fd)]=_0x3fd5ed,this[_0x18e304(0xfa)]=_0x2366ed,this[_0x18e304(0x16e)]=_0x9ca85a,this[_0x18e304(0x9f)]=_0x504ce8,_0x374704(this,'_diffs',new Set()),_0x374704(this,_0x18e304(0x2f7),new Set()),_0x374704(this,_0x18e304(0x13f),new Set()),_0x374704(this,_0x18e304(0x119),new Set()),_0x374704(this,'_lastPointer',null),this['_init']();}['_init'](){const _0x40c9e8=_0x2267a7;this[_0x40c9e8(0x3af)](),this[_0x40c9e8(0x103)]();}[_0x2267a7(0x3af)](){const _0x1226a7=_0x2267a7;this[_0x1226a7(0x74)]((0x0,_0x54d7f0[_0x1226a7(0x250)])([this[_0x1226a7(0x2ff)][_0x1226a7(0x19e)],this['_sheetSkeletonManagerService'][_0x1226a7(0x3b8)]])[_0x1226a7(0x263)]((0x0,_0x54d7f0[_0x1226a7(0x11b)])(([_0x2eef45,_0xa1e511])=>{const _0x351c59=_0x1226a7;if(_0x2eef45===_0x351c59(0x1ad)&&_0xa1e511){let _0x422525=_0xa1e511[_0x351c59(0x1d5)];return this[_0x351c59(0x9d)][_0x351c59(0x1f6)][_0x351c59(0x263)]((0x0,_0x54d7f0[_0x351c59(0x369)])(_0x16e3fc=>_0x16e3fc['subUnitIds'][_0x351c59(0x217)]===0x0||_0x16e3fc[_0x351c59(0x380)]['includes'](_0x422525)?{'skeleton':_0xa1e511,'versionDiff':_0x16e3fc,'sheetID':_0x422525}:{'skeleton':_0xa1e511,'versionDiff':null}));}return(0x0,_0x54d7f0['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))['subscribe'](({skeleton:_0x3d7227,versionDiff:_0x5e3ed5,sheetID:_0x20ad5f})=>{const _0x67255b=_0x1226a7;this[_0x67255b(0xfd)](),_0x3d7227&&_0x5e3ed5&&_0x20ad5f&&this['_updateDiffMarks'](_0x3d7227,_0x5e3ed5,_0x20ad5f);})),this[_0x1226a7(0x74)](this['_sheetSkeletonManagerService'][_0x1226a7(0x3b8)][_0x1226a7(0x238)](_0x19ebc5=>{const _0x4aaae7=_0x1226a7;if(_0x19ebc5==null)return;let {skeleton:_0x1c6dda}=_0x19ebc5,{scene:_0x288354}=this[_0x4aaae7(0x95)];_0x288354['onPointerMove$'][_0x4aaae7(0x3ed)]((0x0,_0x3bba19[_0x4aaae7(0x25c)])(_0xb80b0b=>{const _0x564bc5=_0x4aaae7;var _0x23b1a8,_0x574d85;let {offsetX:_0xb0e657,offsetY:_0x2349fb}=_0xb80b0b,{x:_0x24654a,y:_0x2f0e87}=_0x288354[_0x564bc5(0x1cb)](_0x7352c7['Vector2'][_0x564bc5(0x29a)]([_0xb0e657,_0x2349fb])),{scaleX:_0x5bbcbe,scaleY:_0xcd6581}=_0x288354[_0x564bc5(0x3f9)](),_0x23a9b1=_0x288354[_0x564bc5(0x382)](_0x7352c7['SHEET_VIEWPORT_KEY'][_0x564bc5(0xc8)]),_0x4a4563=_0x288354[_0x564bc5(0xcf)](_0x7352c7[_0x564bc5(0x3d3)][_0x564bc5(0x29a)]([_0x24654a,_0x2f0e87]),_0x23a9b1),_0x141581=_0x1c6dda['getCellPositionByOffset'](_0xb0e657,_0x2349fb,_0x5bbcbe,_0xcd6581,_0x4a4563);((_0x23b1a8=this['_lastPointer'])==null?void 0x0:_0x23b1a8[_0x564bc5(0xf5)])===_0x141581[_0x564bc5(0xf5)]&&((_0x574d85=this[_0x564bc5(0x300)])==null?void 0x0:_0x574d85[_0x564bc5(0x1f0)])===_0x141581[_0x564bc5(0x1f0)]||this[_0x564bc5(0x2e7)]['forEach'](_0x45f9d5=>{const _0x44783b=_0x564bc5;_0x45f9d5[_0x44783b(0x98)]||_0x45f9d5[_0x44783b(0x2d7)](_0x141581);});},0x64));}));}['_initActiveSwitch'](){const _0x25d2fc=_0x2267a7;this[_0x25d2fc(0x74)](this[_0x25d2fc(0x2ff)][_0x25d2fc(0x19e)][_0x25d2fc(0x238)](_0x24943a=>{const _0xb97880=_0x25d2fc;let _0x1ece27=new _0x3bba19[(_0xb97880(0x3c4))]();return _0x24943a==='loaded'&&(_0x1ece27['dispose'](),_0x1ece27[_0xb97880(0x7b)](this[_0xb97880(0x9d)]['currentVersionDiff$']['subscribe'](_0x45f4e=>{const _0x30e2e6=_0xb97880;this['_updateWorksheetVisibility'](_0x45f4e['subUnitIds']),_0x45f4e[_0x30e2e6(0x1d6)]&&this[_0x30e2e6(0x16e)][_0x30e2e6(0x261)](_0x5431fa[_0x30e2e6(0xa8)]['id'],{'unitId':this[_0x30e2e6(0x95)][_0x30e2e6(0x3e9)],'subUnitId':_0x45f4e[_0x30e2e6(0x1d6)]});}))),()=>_0x1ece27[_0xb97880(0x3d0)]();}));}[_0x2267a7(0x405)](_0xb3023e){const _0x528bee=_0x2267a7;let _0x11c909=this[_0x528bee(0x363)][_0x528bee(0x3cf)](this[_0x528bee(0x95)][_0x528bee(0x3e9)],_0x3bba19[_0x528bee(0x1f9)][_0x528bee(0x18b)]);if(!_0x11c909)return;let _0x266e46=_0x11c909[_0x528bee(0x14a)]();if(_0xb3023e[_0x528bee(0x217)]===0x0){_0x266e46[_0x528bee(0xc9)](_0xb3c144=>{const _0x55476e=_0x528bee;_0xb3c144['isSheetHidden']()&&this[_0x55476e(0x16e)][_0x55476e(0x261)](_0x5431fa['SetWorksheetHideMutation']['id'],{'unitId':this[_0x55476e(0x95)][_0x55476e(0x3e9)],'subUnitId':_0xb3c144[_0x55476e(0x32e)](),'hidden':0x0});});return;}_0x266e46[_0x528bee(0xc9)](_0x540c0f=>{const _0x1a8a49=_0x528bee;let _0x2609eb=_0x540c0f['getSheetId'](),_0x23d2a6=_0xb3023e['includes'](_0x2609eb),_0x554791=_0x540c0f[_0x1a8a49(0xe2)]();_0x23d2a6&&_0x554791?this['_commandService'][_0x1a8a49(0x261)](_0x5431fa[_0x1a8a49(0x3c9)]['id'],{'unitId':this[_0x1a8a49(0x95)]['unitId'],'subUnitId':_0x2609eb,'hidden':0x0}):!_0x23d2a6&&!_0x554791&&this[_0x1a8a49(0x16e)][_0x1a8a49(0x261)](_0x5431fa[_0x1a8a49(0x3c9)]['id'],{'unitId':this['_context']['unitId'],'subUnitId':_0x2609eb,'hidden':0x1});});}[_0x2267a7(0x33b)](_0x2b255d,_0x34d612,_0x27eb4e){const _0x3dc084=_0x2267a7;this[_0x3dc084(0x2e7)][_0x3dc084(0xc9)](_0x4175e8=>{const _0x3dbd3e=_0x3dc084;_0x4175e8[_0x3dbd3e(0x276)]();});let _0x46b35d=this['generateDiffMarks'](_0x34d612,_0x27eb4e);this[_0x3dc084(0x2e7)]=new Set(_0x46b35d[_0x3dc084(0x354)](_0x263087=>_0x263087 instanceof _0x5455be[_0x3dc084(0x268)])),this['_borderDiffs']=new Set(_0x46b35d[_0x3dc084(0x354)](_0x5495da=>_0x5495da instanceof _0x7352c7[_0x3dc084(0x1cc)])),this[_0x3dc084(0x13f)]=new Set(_0x46b35d[_0x3dc084(0x354)](_0x123115=>_0x123115 instanceof _0x22d224)),_0x46b35d[_0x3dc084(0x217)]>0x0&&this[_0x3dc084(0x8f)](_0x46b35d[0x0],this[_0x3dc084(0x95)][_0x3dc084(0x236)]);}['generateDiffMarks'](_0x10a838,_0x508c31){const _0x2e65eb=_0x2267a7;let _0x329f92=this[_0x2e65eb(0xfa)][_0x2e65eb(0x347)]();if(!_0x329f92)return[];let {scene:_0x430378}=this[_0x2e65eb(0x95)],_0x43cb10=[],_0x20f2af=_0xcf2335=>{const _0x421c84=_0x2e65eb;if(!_0xcf2335)return new Map();let _0x1b93a1=new Map();return _0xcf2335[_0x421c84(0xc9)]((_0x15aace,_0x1cd3c7)=>{const _0x2c9f2f=_0x421c84;let _0x2ec221=_0x15aace[_0x2c9f2f(0x354)](_0x1ae3ab=>_0x1ae3ab['subUnitId']===_0x508c31);_0x2ec221[_0x2c9f2f(0x217)]>0x0&&_0x1b93a1[_0x2c9f2f(0x1f2)](_0x1cd3c7,_0x2ec221);}),_0x1b93a1;};return this['_renderCellRanges'](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x278)]),_0x2e65eb(0x2f3),_0x43cb10),this[_0x2e65eb(0x21a)](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0xbc)]),'rgba(198,40,40,0.5)',_0x43cb10),this['_renderCellRanges'](_0x430378,_0x329f92,_0x20f2af(_0x10a838['updateCellRanges']),'rgba(21,101,192,0.5)',_0x43cb10),this[_0x2e65eb(0x30a)](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x81)]),_0x2e65eb(0x2f3),_0x43cb10),this[_0x2e65eb(0x30a)](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x318)]),_0x2e65eb(0xf8),_0x43cb10),this[_0x2e65eb(0x30a)](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x308)]),'rgba(21,101,192,0.5)',_0x43cb10),this['_renderArrowRanges'](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x18c)]),_0x2e65eb(0x120),_0x43cb10),this[_0x2e65eb(0x23d)](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x114)]),_0x2e65eb(0x218),_0x43cb10),_0x10a838[_0x2e65eb(0x3e1)]&&this['_renderDrawingHighlights'](_0x430378,_0x10a838[_0x2e65eb(0x3e1)],_0x2e65eb(0x2f3),_0x43cb10),_0x10a838[_0x2e65eb(0x3e5)]&&this[_0x2e65eb(0x320)](_0x430378,_0x10a838[_0x2e65eb(0x3e5)],_0x2e65eb(0xf8),_0x43cb10),_0x10a838[_0x2e65eb(0xe8)]&&this[_0x2e65eb(0x320)](_0x430378,_0x10a838[_0x2e65eb(0xe8)],_0x2e65eb(0x3fc),_0x43cb10),this[_0x2e65eb(0xf3)](_0x43cb10),_0x430378[_0x2e65eb(0x336)](_0x43cb10,0x14),_0x43cb10;}[_0x2267a7(0x23e)](){const _0x5763c3=_0x2267a7;this[_0x5763c3(0x2e7)][_0x5763c3(0xc9)](_0x32e12f=>{_0x32e12f['hide']();}),this[_0x5763c3(0x2f7)][_0x5763c3(0xc9)](_0x4031d7=>{const _0xca0033=_0x5763c3;_0x4031d7[_0xca0033(0x14f)]();}),this[_0x5763c3(0x13f)]['forEach'](_0x44fb29=>{const _0x41c6e3=_0x5763c3;_0x44fb29[_0x41c6e3(0x14f)]();});}['showDiffMarks'](){const _0x27b949=_0x2267a7;this[_0x27b949(0x2e7)]['forEach'](_0x24047e=>{_0x24047e['show']();}),this[_0x27b949(0x2f7)]['forEach'](_0x543468=>{const _0x12e763=_0x27b949;_0x543468[_0x12e763(0x96)]();}),this[_0x27b949(0x13f)][_0x27b949(0xc9)](_0x177bec=>{_0x177bec['show']();});}['removeDiffMarks'](){const _0x23e895=_0x2267a7;this[_0x23e895(0xfd)]();}[_0x2267a7(0x87)](_0x4daf13,_0x47e2ba){const _0x35b302=_0x2267a7;this[_0x35b302(0x8f)](_0x4daf13,_0x47e2ba);}[_0x2267a7(0x21a)](_0x58b20b,_0x2ed31e,_0x48cdaa,_0x38bb16,_0xb6e3a1){const _0x289e49=_0x2267a7;_0x48cdaa[_0x289e49(0xc9)]((_0x273698,_0x499c25)=>{const _0x2e3c40=_0x289e49;_0x273698[_0x2e3c40(0xc9)](_0x3e1267=>{const _0x15bc83=_0x2e3c40;var _0x476b52;let {range:_0x4152fe,subUnitId:_0x54b603,unitId:_0x11cb31,showText:_0x46d7dc='',highlightColumn:_0x40e081,highlightRow:_0x3f4250}=_0x3e1267,{startColumn:_0xeb54c1,startRow:_0x15f10d,endColumn:_0x5a548b,endRow:_0x2ce9d1}=_0x4152fe,_0x3c7908=(0x0,_0x24294d[_0x15bc83(0x39e)])(_0x15f10d,_0xeb54c1,_0x58b20b,_0x2ed31e),_0x4916b6=(0x0,_0x24294d['getCoordByCell'])(_0x2ce9d1,_0x5a548b,_0x58b20b,_0x2ed31e),{columnHeaderHeightAndMarginTop:_0x58adfa}=_0x2ed31e,{startX:_0x16c009,startY:_0x73f733}=_0x3c7908,{endX:_0x31ed56,endY:_0x1e9ed8}=_0x4916b6,_0x584e4f=_0x2ed31e['rowHeaderWidth'],_0x5135a7=_0x2ed31e[_0x15bc83(0x174)];_0x3f4250&&(_0x16c009-=_0x584e4f),_0x40e081&&(_0x73f733-=_0x5135a7);let _0x31cb60=_0x31ed56-_0x16c009,_0x33eb60=_0x1e9ed8-_0x73f733,_0x286faa={'labelPosition':_0x73f733-_0x58adfa>=0x14?_0x15bc83(0x211):_0x15bc83(0x1b8),'sheetID':_0x54b603,'range':_0x4152fe,'color':_0x38bb16,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x38bb16,'name':((_0x476b52=this['_historyManagerService'][_0x15bc83(0x315)](_0x499c25))==null?void 0x0:_0x476b52[_0x15bc83(0x1f5)])+'\x20'+_0x46d7dc||_0x46d7dc,'selection':_0x11cb31+'-'+_0x54b603+'-'+_0x4152fe['startColumn']+'-'+_0x4152fe['startRow']+'-'+_0x4152fe[_0x15bc83(0x25f)]+'-'+_0x4152fe[_0x15bc83(0xca)],'left':_0x16c009,'top':_0x73f733,'width':_0x31cb60,'height':_0x33eb60,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0xb6e3a1[_0x15bc83(0x113)](new _0x5455be['SheetCollabCursorShape']('',_0x286faa));});});}[_0x2267a7(0x30a)](_0x24cba5,_0x2cbc1d,_0x5ec4f3,_0x2dfe22,_0x2a7e9a){_0x5ec4f3['forEach']((_0x3efc5f,_0x41629c)=>{const _0x1a298a=_0x4408;_0x3efc5f[_0x1a298a(0xc9)](_0x2c30cf=>{const _0x33f0df=_0x1a298a;var _0x2959ff;let {range:_0x49d95c,subUnitId:_0x12c50c,unitId:_0x367a38,showText:_0x51d1a7=''}=_0x2c30cf,{startColumn:_0x175384,startRow:_0x35f2a8,endColumn:_0x68832d,endRow:_0x16cb61}=_0x49d95c,_0x253f97=(0x0,_0x24294d[_0x33f0df(0x39e)])(_0x35f2a8,_0x175384,_0x24cba5,_0x2cbc1d),_0x1dbd0d=(0x0,_0x24294d['getCoordByCell'])(_0x16cb61,_0x68832d,_0x24cba5,_0x2cbc1d),{columnHeaderHeightAndMarginTop:_0x1c92a0}=_0x2cbc1d,{startX:_0x47fe1a,startY:_0x3e8879}=_0x253f97,{endX:_0x3c04bf,endY:_0x1eba43}=_0x1dbd0d,_0x17d118=_0x3c04bf-_0x47fe1a,_0x44d906=_0x1eba43-_0x3e8879,_0x4c8b74={'labelPosition':_0x3e8879-_0x1c92a0>=0x14?_0x33f0df(0x211):_0x33f0df(0x1b8),'sheetID':_0x12c50c,'range':_0x49d95c,'color':_0x2dfe22,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x33f0df(0x235),'name':((_0x2959ff=this[_0x33f0df(0x2ff)][_0x33f0df(0x315)](_0x41629c))==null?void 0x0:_0x2959ff[_0x33f0df(0x1f5)])+'\x20'+_0x51d1a7||_0x51d1a7,'selection':_0x367a38+'-'+_0x12c50c+'-'+_0x49d95c[_0x33f0df(0x305)]+'-'+_0x49d95c[_0x33f0df(0x3ae)]+'-'+_0x49d95c[_0x33f0df(0x25f)]+'-'+_0x49d95c['endRow'],'left':_0x47fe1a-0xc/0x2,'top':_0x3e8879-0xc/0x2,'width':_0x17d118,'height':_0x44d906,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x2a7e9a[_0x33f0df(0x113)](new _0x5455be['SheetCollabCursorShape']('',_0x4c8b74));});});}[_0x2267a7(0x23d)](_0x53b89d,_0x53c573,_0x5479c8,_0x262360,_0xd702e3){const _0x175679=_0x2267a7;let _0x451d8e=_0x53c573['rowHeaderWidth'],_0x3a2843=_0x53c573[_0x175679(0x174)];_0x5479c8['forEach']((_0x366399,_0x1e4d56)=>{const _0x1b100d=_0x175679;_0x366399[_0x1b100d(0xc9)](_0x3b1f0c=>{const _0x394319=_0x1b100d;let {range:_0x588fba,showText:_0x6f271=''}=_0x3b1f0c,{startColumn:_0x5d3f8e,startRow:_0x2c32cc,endColumn:_0x43524c,endRow:_0x589312}=_0x588fba,_0x54be25=(0x0,_0x24294d[_0x394319(0x39e)])(_0x2c32cc,_0x5d3f8e,_0x53b89d,_0x53c573),_0x1fc10d=(0x0,_0x24294d[_0x394319(0x39e)])(_0x589312,_0x43524c,_0x53b89d,_0x53c573),{startX:_0x4dddc1,startY:_0x89249e}=_0x54be25,{endX:_0x43f94a,endY:_0xbe86de}=_0x1fc10d,{columnHeaderHeightAndMarginTop:_0x23e9c2}=_0x53c573,_0x5680dd;if(_0x262360===_0x394319(0x218)){var _0x5a9c77;_0x5680dd=new _0x22d224('',{'color':_0x394319(0x3fc),'direction':_0x394319(0x218),'left':_0x4dddc1,'top':0x2,'width':_0x43f94a-_0x4dddc1,'height':_0x3a2843-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x5a9c77=this['_historyManagerService'][_0x394319(0x315)](_0x1e4d56))==null?void 0x0:_0x5a9c77['name'])+'\x20'+_0x6f271||_0x6f271,'labelPosition':_0x89249e-_0x23e9c2>=0x14?'top':_0x394319(0x1b8)}),_0xd702e3[_0x394319(0x113)](_0x5680dd);}else{var _0x41f390;let _0x5a317a=_0xbe86de-_0x89249e;_0x5680dd=new _0x22d224('',{'color':'rgba(21,101,192,0.5)','direction':_0x394319(0x120),'left':0x2,'top':_0x89249e,'width':_0x451d8e-0x4,'height':_0x5a317a,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x41f390=this[_0x394319(0x2ff)][_0x394319(0x315)](_0x1e4d56))==null?void 0x0:_0x41f390[_0x394319(0x1f5)])+'\x20'+_0x6f271||_0x6f271,'labelPosition':_0x394319(0x211)}),_0xd702e3['push'](_0x5680dd);}});});}[_0x2267a7(0x320)](_0xdd2865,_0x351b20,_0x21df6f,_0x15514d){const _0x5c5a21=_0x2267a7;let _0x1cb947=this[_0x5c5a21(0xfa)][_0x5c5a21(0x347)]();if(!_0x1cb947)return;let {columnHeaderHeightAndMarginTop:_0x3aea0b}=_0x1cb947;_0x351b20[_0x5c5a21(0xc9)]((_0xcc5828,_0x99ebf3)=>{const _0x108f78=_0x5c5a21;_0xcc5828[_0x108f78(0xc9)](_0x505cda=>{const _0x27c452=_0x108f78;var _0x34d627;let {drawingId:_0x41e600,unitId:_0x345efb,subUnitId:_0x181906,showText:_0x28f79d=''}=_0x505cda,_0x373893=this[_0x27c452(0x9f)][_0x27c452(0x108)]({'unitId':_0x345efb,'subUnitId':_0x181906,'drawingId':_0x41e600});if(!_0x373893||!_0x373893['transform'])return;let {left:_0x3fa031=0x0,top:_0xc4d0f4=0x0,width:_0x321f2d,height:_0x5628c1}=_0x373893[_0x27c452(0x37e)],_0x266883=new _0x5455be[(_0x27c452(0x268))]('',{'labelPosition':_0xc4d0f4-_0x3aea0b>=0x14?'top':'bottom','sheetID':_0x181906,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x21df6f,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x27c452(0x235),'name':((_0x34d627=this[_0x27c452(0x2ff)]['getMember'](_0x99ebf3))==null?void 0x0:_0x34d627[_0x27c452(0x1f5)])+'\x20'+_0x28f79d||_0x28f79d,'selection':_0x345efb+'-'+_0x181906+_0x27c452(0x1a6)+_0x41e600,'left':_0x3fa031-0xc/0x2,'top':_0xc4d0f4-0xc/0x2,'width':_0x321f2d,'height':_0x5628c1,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x266883[_0x27c452(0x13b)][_0x27c452(0x3ed)](()=>{const _0x54a8cd=_0x27c452;this[_0x54a8cd(0x197)](_0x266883,_0x15514d)['forEach'](_0x326b2b=>{const _0x128dcd=_0x54a8cd;_0x326b2b instanceof _0x5455be['SheetCollabCursorShape']&&_0x326b2b[_0x128dcd(0x38b)]({'hovered':!0x0});});}),_0x266883['onPointerLeave$'][_0x27c452(0x3ed)](()=>{const _0x18d5fa=_0x27c452;this[_0x18d5fa(0x197)](_0x266883,_0x15514d)['forEach'](_0xd64388=>{const _0x16acac=_0x18d5fa;_0xd64388 instanceof _0x5455be[_0x16acac(0x268)]&&_0xd64388['setShapeProps']({'hovered':!0x1});});}),_0x15514d[_0x27c452(0x113)](_0x266883);});});}[_0x2267a7(0xfd)](){const _0x4a56c7=_0x2267a7;var _0x3723cb,_0x2b15a7,_0x50dcce,_0x118671;(_0x3723cb=this['_diffs'])==null||_0x3723cb['forEach'](_0x4003aa=>_0x4003aa[_0x4a56c7(0x3d0)]()),(_0x2b15a7=this['_borderDiffs'])==null||_0x2b15a7[_0x4a56c7(0xc9)](_0x1f6f7e=>_0x1f6f7e[_0x4a56c7(0x3d0)]()),(_0x50dcce=this[_0x4a56c7(0x13f)])==null||_0x50dcce[_0x4a56c7(0xc9)](_0x25bb25=>_0x25bb25[_0x4a56c7(0x3d0)]()),(_0x118671=this[_0x4a56c7(0x119)])==null||_0x118671['forEach'](_0x1857a0=>_0x1857a0['dispose']());}[_0x2267a7(0xf3)](_0xc33496){const _0x5260a4=_0x2267a7;let _0x2fa600=_0xc33496['filter'](_0x4d1271=>_0x4d1271 instanceof _0x5455be[_0x5260a4(0x268)]);if(_0x2fa600[_0x5260a4(0x217)]===0x0)return;let _0x8ec264=[],_0x419072=new Set();_0x2fa600[_0x5260a4(0xc9)](_0x3dc2df=>{const _0x9c6ca2=_0x5260a4;if(_0x419072[_0x9c6ca2(0x29c)](_0x3dc2df))return;let _0x330476=_0x3dc2df['left']||0x0,_0x1f74ad=_0x3dc2df[_0x9c6ca2(0x211)]||0x0,_0x4aace0=_0x330476+(_0x3dc2df[_0x9c6ca2(0x34f)]||0x0),_0x2fc6b4=_0x1f74ad,_0xf8b9ec=[_0x3dc2df];_0x419072[_0x9c6ca2(0x7b)](_0x3dc2df),_0x2fa600['forEach'](_0x2f27fd=>{const _0x4fcd95=_0x9c6ca2;if(_0x419072[_0x4fcd95(0x29c)](_0x2f27fd))return;let _0x3d120f=_0x2f27fd[_0x4fcd95(0x377)]||0x0,_0x2a1f9d=_0x2f27fd['top']||0x0,_0x357aeb=_0x3d120f+(_0x2f27fd[_0x4fcd95(0x34f)]||0x0),_0x40ff66=_0x2a1f9d;Math['abs'](_0x4aace0-_0x357aeb)<=0xa&&Math[_0x4fcd95(0x35b)](_0x2fc6b4-_0x40ff66)<=0xa&&(_0xf8b9ec[_0x4fcd95(0x113)](_0x2f27fd),_0x419072[_0x4fcd95(0x7b)](_0x2f27fd));}),_0xf8b9ec[_0x9c6ca2(0x217)]>0x1&&_0x8ec264[_0x9c6ca2(0x113)](_0xf8b9ec);}),_0x8ec264[_0x5260a4(0xc9)](_0x2a38e5=>{const _0x492d75=_0x5260a4;_0x2a38e5[_0x492d75(0x229)]((_0x59a772,_0x5d2902)=>(_0x59a772[_0x492d75(0x211)]||0x0)-(_0x5d2902[_0x492d75(0x211)]||0x0)),_0x2a38e5[_0x492d75(0xc9)]((_0x456b14,_0x221104)=>{const _0x1979aa=_0x492d75;let _0x1ec9ff=_0x221104*0x16;_0x456b14[_0x1979aa(0x1dc)](_0x1ec9ff);});});}[_0x2267a7(0x197)](_0x4624f6,_0x350c27){const _0x41fc15=_0x2267a7;let _0x4c4cc2=_0x4624f6[_0x41fc15(0x377)]||0x0,_0xf315a0=_0x4624f6['top']||0x0,_0xae45f8=_0x4624f6['width']||0x0,_0x11c80f=_0x4624f6[_0x41fc15(0x254)]||0x0,_0x2a2185=_0x4c4cc2+_0xae45f8,_0x5b58eb=_0xf315a0+_0x11c80f;return _0x350c27[_0x41fc15(0x354)](_0x1655d0=>{const _0x58694d=_0x41fc15;let _0x56ecda=_0x1655d0[_0x58694d(0x377)]||0x0,_0x4c5642=_0x1655d0[_0x58694d(0x211)]||0x0,_0x3b6839=_0x1655d0[_0x58694d(0x34f)]||0x0,_0x1b29b2=_0x1655d0[_0x58694d(0x254)]||0x0,_0x82af37=_0x56ecda+_0x3b6839,_0x47ee6a=_0x4c5642+_0x1b29b2;return!(_0x2a2185<=_0x56ecda||_0x4c4cc2>=_0x82af37||_0x5b58eb<=_0x4c5642||_0xf315a0>=_0x47ee6a);});}[_0x2267a7(0x8f)](_0x3b7aa9,_0x46d2a0){const _0x14d31e=_0x2267a7;let _0x2ff6c4=_0x46d2a0[_0x14d31e(0x382)](_0x7352c7[_0x14d31e(0x175)][_0x14d31e(0xc8)]);if(!_0x2ff6c4)return;let _0x19d095=_0x3b7aa9[_0x14d31e(0x377)]||0x0,_0xd79143=_0x3b7aa9['top']||0x0,_0x18e53a=_0x3b7aa9[_0x14d31e(0x34f)]||0x0,_0x568da5=_0x3b7aa9['height']||0x0,_0x59665d=_0x2ff6c4[_0x14d31e(0x34f)]||0x0,_0x53e982=_0x2ff6c4[_0x14d31e(0x254)]||0x0,_0x2f8936=_0x2ff6c4['viewportScrollX']||0x0,_0x1ed7c8=_0x2ff6c4[_0x14d31e(0x340)]||0x0,_0x2699f4=_0x2f8936,_0x1452c2=_0x1ed7c8,_0x5d07e1=_0x2f8936+_0x59665d,_0x58e1fb=_0x1ed7c8+_0x53e982;if(_0x19d095>=_0x2699f4&&_0xd79143>=_0x1452c2&&_0x19d095+_0x18e53a<=_0x5d07e1&&_0xd79143+_0x568da5<=_0x58e1fb)return;let _0x35783c=Math[_0x14d31e(0x402)](0x0,_0x19d095-_0x59665d/0x2+_0x18e53a/0x2),_0x57f155=Math['max'](0x0,_0xd79143-_0x53e982/0x2+_0x568da5/0x2);_0x2ff6c4[_0x14d31e(0x16a)]({'viewportScrollX':_0x35783c,'viewportScrollY':_0x57f155});}[_0x2267a7(0xfb)](){const _0x42ea45=_0x2267a7;return(0x0,_0x24294d['getSheetObject'])(this[_0x42ea45(0x363)],this['_renderManagerService']);}};_0x2565e2=_0x9526d9([_0x550961(0x1,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4bbed9)),_0x550961(0x2,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x31302b)),_0x550961(0x3,_0x3bba19[_0x2267a7(0x35f)]),_0x550961(0x4,_0x7352c7[_0x2267a7(0x1e3)]),_0x550961(0x5,(0x0,_0x3bba19['Inject'])(_0x24294d[_0x2267a7(0xaf)])),_0x550961(0x6,_0x3bba19[_0x2267a7(0x3c3)]),_0x550961(0x7,_0x42dade[_0x2267a7(0x143)])],_0x2565e2);var _0xa8026d='@univerjs-pro/edit-history-viewer',_0x5c6930=_0x2267a7(0x1c3);let _0x502411=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0xf7a0c5){const _0x4c6af5=_0x2267a7;super(),this[_0x4c6af5(0x20b)]=_0xf7a0c5,this['_init']();}[_0x2267a7(0x193)](){const _0x3ad522=_0x2267a7;this[_0x3ad522(0x74)](this[_0x3ad522(0x20b)][_0x3ad522(0xb9)][_0x3ad522(0x238)](_0x50f981=>{const _0x33d20a=_0x3ad522;_0x50f981!=null&&_0x50f981[_0x33d20a(0x96)]&&this[_0x33d20a(0x20b)]['setState']({'show':!0x1});}));}};_0x502411=_0x9526d9([_0x550961(0x0,_0x24294d[_0x2267a7(0x2b0)])],_0x502411);function _0x5ac19b(){const _0x17e03d=_0x2267a7;let _0x153f47=(0x0,_0x3f2000[_0x17e03d(0x289)])(_0x4bbed9),_0x403e86=(0x0,_0x3f2000[_0x17e03d(0x289)])(_0x3bba19[_0x17e03d(0x2ba)]),_0x3e25a8=(0x0,_0x3f2000['useObservable'])(_0x153f47[_0x17e03d(0x2a5)]),_0x440c7c=(0x0,_0x2ae8f3['useMemo'])(()=>_0x3e25a8?_0x153f47[_0x17e03d(0x373)]():!0x1,[_0x153f47,_0x3e25a8]),_0x1e1aed=(0x0,_0x2ae8f3[_0x17e03d(0x3ef)])(()=>{const _0xe9a45f=_0x17e03d;_0x153f47[_0xe9a45f(0x343)]=_0xe9a45f(0xb7);},[_0x153f47]),_0x21ca90=(0x0,_0x2ae8f3[_0x17e03d(0x3ef)])(()=>{const _0x23dc6e=_0x17e03d;_0x153f47[_0x23dc6e(0x277)]();},[_0x153f47]);return(0x0,_0x31ec98[_0x17e03d(0x8d)])(_0x17e03d(0x2ec),{'className':_0x17e03d(0x1bd),'children':[(0x0,_0x31ec98['jsx'])(_0x4b600c[_0x17e03d(0x1c7)],{'variant':'link','onClick':_0x1e1aed,'children':_0x403e86['t'](_0x17e03d(0x14e))}),_0x440c7c?(0x0,_0x31ec98[_0x17e03d(0x28f)])(_0x4b600c[_0x17e03d(0x1c7)],{'variant':_0x17e03d(0x1b6),'onClick':_0x21ca90,'children':_0x403e86['t'](_0x17e03d(0x267))}):(0x0,_0x31ec98[_0x17e03d(0x28f)])(_0x17e03d(0x2ec),{'className':_0x17e03d(0x1b1)})]});}let _0x546994=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0x2a45b3,_0x4c7b4c,_0x4ffa8c,_0x2be5a3,_0x73aad,_0x3f07a5,_0x53b6ac){const _0x5daa2b=_0x2267a7;super(),this[_0x5daa2b(0x22d)]=_0x2a45b3,this[_0x5daa2b(0x1c6)]=_0x4c7b4c,this[_0x5daa2b(0x324)]=_0x4ffa8c,this[_0x5daa2b(0x1ec)]=_0x2be5a3,this['_historyManagerService']=_0x73aad,this[_0x5daa2b(0x39d)]=_0x3f07a5,this[_0x5daa2b(0x10f)]=_0x53b6ac,this['_init']();}[_0x2267a7(0x193)](){const _0x402e4a=_0x2267a7;this[_0x402e4a(0x74)](this[_0x402e4a(0x2ff)][_0x402e4a(0x2a5)][_0x402e4a(0x238)](_0x38f78f=>{const _0x5e88a9=_0x402e4a;_0x38f78f&&this[_0x5e88a9(0x2ff)][_0x5e88a9(0x77)](_0x38f78f);})),this[_0x402e4a(0x74)](this['_permissionService'][_0x402e4a(0x309)][_0x402e4a(0x238)](_0x5ad78a=>{const _0x67c187=_0x402e4a;let _0x52a684=this[_0x67c187(0x2ff)][_0x67c187(0x3e9)];_0x52a684&&(_0x5ad78a[_0x67c187(0x122)]===_0x1ea6dc[_0x67c187(0x241)][_0x67c187(0x17e)]&&_0x5ad78a[_0x67c187(0x1d8)]===!0x0&&this['_permissionService'][_0x67c187(0x34b)](new _0x5431fa[(_0x67c187(0x3a7))](_0x52a684)['id'],!0x1),_0x5ad78a[_0x67c187(0x122)]===_0x1ea6dc[_0x67c187(0x241)][_0x67c187(0x15e)]&&_0x5ad78a[_0x67c187(0x1d8)]===!0x0&&this[_0x67c187(0x22d)]['updatePermissionPoint'](new _0x5431fa[(_0x67c187(0x32f))](_0x52a684)['id'],!0x1),_0x5ad78a[_0x67c187(0x122)]===_0x1ea6dc[_0x67c187(0x241)][_0x67c187(0x2e1)]&&_0x5ad78a[_0x67c187(0x1d8)]===!0x0&&this[_0x67c187(0x22d)][_0x67c187(0x34b)](new _0x5431fa[(_0x67c187(0x1e4))](_0x52a684)['id'],!0x1),_0x5ad78a[_0x67c187(0x122)]===_0x1ea6dc[_0x67c187(0x241)][_0x67c187(0x258)]&&_0x5ad78a['value']===!0x0&&this[_0x67c187(0x22d)][_0x67c187(0x34b)](new _0x5431fa['WorkbookHideSheetPermission'](_0x52a684)['id'],!0x1),_0x5ad78a[_0x67c187(0x122)]===_0x1ea6dc[_0x67c187(0x241)]['Comment']&&_0x5ad78a[_0x67c187(0x1d8)]===!0x0&&this[_0x67c187(0x22d)][_0x67c187(0x34b)](new _0x5431fa[(_0x67c187(0x3a7))](_0x52a684)['id'],!0x1),_0x5ad78a['subType']===_0x1ea6dc[_0x67c187(0x241)][_0x67c187(0x294)]&&_0x5ad78a['value']===!0x0&&this[_0x67c187(0x22d)]['updatePermissionPoint'](new _0x5431fa[(_0x67c187(0x3a7))](_0x52a684)['id'],!0x1));})),this['_registerHeader']();let _0x1a53fe;this[_0x402e4a(0x74)](this[_0x402e4a(0x2ff)][_0x402e4a(0x19e)][_0x402e4a(0x238)](_0x3bd559=>{const _0x2fe451=_0x402e4a;this[_0x2fe451(0x324)][_0x2fe451(0x292)](),_0x1a53fe==null||_0x1a53fe[_0x2fe451(0x3d0)](),_0x3bd559===_0x2fe451(0x148)&&(this[_0x2fe451(0x2ff)]['showMask'](),_0x1a53fe=this['_messageService']['show']({'type':_0x4b600c[_0x2fe451(0x130)]['Info'],'content':this[_0x2fe451(0x1ec)]['t']('edit-history-viewer.info.loading'),'duration':0x3e8})),_0x3bd559===_0x2fe451(0x1ad)&&this['_historyManagerService']['hideMask']();}));}[_0x2267a7(0x219)](){const _0x4bc70b=_0x2267a7;var _0x18057c;(_0x18057c=this['_configService'][_0x4bc70b(0x1bf)]('edit-history-viewer.config'))!=null&&_0x18057c[_0x4bc70b(0x2ca)]||this['disposeWithMe'](this[_0x4bc70b(0x1c6)][_0x4bc70b(0x1e5)](_0x3f2000['BuiltInUIPart'][_0x4bc70b(0x3d4)],()=>(0x0,_0x3f2000[_0x4bc70b(0x3e6)])(_0x5ac19b,this[_0x4bc70b(0x39d)])));}};_0x546994=_0x9526d9([_0x550961(0x0,_0x3bba19['IPermissionService']),_0x550961(0x1,_0x3f2000[_0x2267a7(0x26e)]),_0x550961(0x2,_0x3f2000[_0x2267a7(0x304)]),_0x550961(0x3,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x2ba)])),_0x550961(0x4,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4bbed9)),_0x550961(0x5,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x288)])),_0x550961(0x6,_0x3bba19[_0x2267a7(0x3b7)])],_0x546994);function _0x55c769({ref:_0x2694f9,..._0x2ae113}){const _0x2cc604=_0x2267a7;let {icon:_0x5640e8,id:_0x1fef8c,className:_0x31109c,extend:_0x4b0cab,..._0x5c49af}=_0x2ae113,_0x47ac05=(_0x2cc604(0x27a)+_0x1fef8c+'\x20'+(_0x31109c||''))[_0x2cc604(0x2eb)](),_0x2b84b0=(0x0,_0x2ae8f3[_0x2cc604(0x271)])('_'+_0x3174d1());return _0x32e914(_0x5640e8,''+_0x1fef8c,{'defIds':_0x5640e8['defIds'],'idSuffix':_0x2b84b0['current']},{'ref':_0x2694f9,'className':_0x47ac05,..._0x5c49af},_0x4b0cab);}function _0x32e914(_0x3f5d4b,_0x456b74,_0x20d737,_0x400fee,_0x29c479){const _0x2a79b3=_0x2267a7;return(0x0,_0x2ae8f3[_0x2a79b3(0x3ca)])(_0x3f5d4b['tag'],{'key':_0x456b74,..._0x25e45f(_0x3f5d4b,_0x20d737,_0x29c479),..._0x400fee},(_0x727d84(_0x3f5d4b,_0x20d737)[_0x2a79b3(0x1eb)]||[])[_0x2a79b3(0x369)]((_0xe87353,_0x3fc884)=>_0x32e914(_0xe87353,_0x456b74+'-'+_0x3f5d4b[_0x2a79b3(0x189)]+'-'+_0x3fc884,_0x20d737,void 0x0,_0x29c479)));}function _0x25e45f(_0x237492,_0x4184e4,_0x9796ca){const _0x200306=_0x2267a7;let _0x550034={..._0x237492['attrs']};_0x9796ca!=null&&_0x9796ca['colorChannel1']&&_0x550034['fill']===_0x200306(0x203)&&(_0x550034['fill']=_0x9796ca[_0x200306(0x203)]),_0x237492[_0x200306(0x189)]===_0x200306(0x404)&&_0x550034['id']&&(_0x550034['id']+=_0x4184e4[_0x200306(0x2cd)]),Object[_0x200306(0x1f4)](_0x550034)[_0x200306(0xc9)](([_0x41233b,_0x5dc7e3])=>{const _0x48c896=_0x200306;_0x41233b===_0x48c896(0x404)&&typeof _0x5dc7e3==_0x48c896(0xeb)&&(_0x550034[_0x41233b]=_0x5dc7e3['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4184e4[_0x48c896(0x2cd)]+')'));});let {defIds:_0x22f071}=_0x4184e4;return!_0x22f071||_0x22f071[_0x200306(0x217)]===0x0?_0x550034:(_0x237492[_0x200306(0x189)]==='use'&&_0x550034[_0x200306(0x253)]&&(_0x550034[_0x200306(0x253)]+=_0x4184e4[_0x200306(0x2cd)]),Object[_0x200306(0x1f4)](_0x550034)[_0x200306(0xc9)](([_0x354287,_0x22045b])=>{const _0x406a7d=_0x200306;typeof _0x22045b==_0x406a7d(0xeb)&&(_0x550034[_0x354287]=_0x22045b['replace'](/url\(#(.*)\)/,_0x406a7d(0x311)+_0x4184e4[_0x406a7d(0x2cd)]+')'));}),_0x550034);}function _0x727d84(_0x446e92,_0x16830a){const _0x5bc1ad=_0x2267a7;var _0x4a252a;let {defIds:_0x41e9f3}=_0x16830a;return!_0x41e9f3||_0x41e9f3[_0x5bc1ad(0x217)]===0x0?_0x446e92:_0x446e92[_0x5bc1ad(0x189)]===_0x5bc1ad(0x269)&&(_0x4a252a=_0x446e92[_0x5bc1ad(0x1eb)])!=null&&_0x4a252a['length']?{..._0x446e92,'children':_0x446e92[_0x5bc1ad(0x1eb)][_0x5bc1ad(0x369)](_0x1e4619=>typeof _0x1e4619[_0x5bc1ad(0x34a)]['id']==_0x5bc1ad(0xeb)&&_0x41e9f3&&_0x41e9f3['includes'](_0x1e4619[_0x5bc1ad(0x34a)]['id'])?{..._0x1e4619,'attrs':{..._0x1e4619['attrs'],'id':_0x1e4619[_0x5bc1ad(0x34a)]['id']+_0x16830a[_0x5bc1ad(0x2cd)]}}:_0x1e4619)}:_0x446e92;}function _0x3174d1(){const _0x43c983=_0x2267a7;return Math[_0x43c983(0x2c9)]()[_0x43c983(0x3a3)](0x24)[_0x43c983(0x15f)](0x2,0x8);}_0x55c769[_0x2267a7(0x2f8)]='UniverIcon';let _0x45fb24={'tag':_0x2267a7(0x379),'attrs':{'xmlns':_0x2267a7(0x395),'fill':_0x2267a7(0x3c5),'viewBox':'0\x200\x2016\x2016','width':_0x2267a7(0x102),'height':'1em'},'children':[{'tag':_0x2267a7(0xc1),'attrs':{'fill':_0x2267a7(0x3c0),'d':_0x2267a7(0x123)}}]},_0x33c817=(0x0,_0x2ae8f3[_0x2267a7(0x86)])(function(_0x49ec84,_0x316daf){const _0x5ec162=_0x2267a7;return(0x0,_0x2ae8f3[_0x5ec162(0x3ca)])(_0x55c769,Object[_0x5ec162(0x365)]({},_0x49ec84,{'id':_0x5ec162(0x24b),'ref':_0x316daf,'icon':_0x45fb24}));});_0x33c817[_0x2267a7(0x2f8)]=_0x2267a7(0x7a);let _0x9b6ff1={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x2267a7(0x3ce),'width':_0x2267a7(0x102),'height':_0x2267a7(0x102)},'children':[{'tag':'path','attrs':{'fill':_0x2267a7(0x3c0),'d':_0x2267a7(0x301),'fillRule':_0x2267a7(0x2d2),'clipRule':_0x2267a7(0x2d2)}}]},_0x2d8959=(0x0,_0x2ae8f3[_0x2267a7(0x86)])(function(_0x5be938,_0x1cbda9){const _0x124beb=_0x2267a7;return(0x0,_0x2ae8f3[_0x124beb(0x3ca)])(_0x55c769,Object[_0x124beb(0x365)]({},_0x5be938,{'id':'funnel-icon','ref':_0x1cbda9,'icon':_0x9b6ff1}));});_0x2d8959['displayName']=_0x2267a7(0x295);let _0x4860f6={'tag':_0x2267a7(0x379),'attrs':{'xmlns':_0x2267a7(0x395),'fill':_0x2267a7(0x3c5),'viewBox':_0x2267a7(0x3ce),'width':_0x2267a7(0x102),'height':_0x2267a7(0x102)},'children':[{'tag':'path','attrs':{'fill':_0x2267a7(0x3c0),'d':'M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','fillRule':_0x2267a7(0x2d2),'clipRule':'evenodd'}}]},_0xb494e5=(0x0,_0x2ae8f3[_0x2267a7(0x86)])(function(_0x3739f4,_0x4cb194){const _0x32a11c=_0x2267a7;return(0x0,_0x2ae8f3[_0x32a11c(0x3ca)])(_0x55c769,Object['assign']({},_0x3739f4,{'id':'more-down-icon','ref':_0x4cb194,'icon':_0x4860f6}));});_0xb494e5[_0x2267a7(0x2f8)]='MoreDownIcon';let _0x3353da={'tag':_0x2267a7(0x379),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2267a7(0x3c5),'viewBox':_0x2267a7(0x3ce),'width':_0x2267a7(0x102),'height':_0x2267a7(0x102)},'children':[{'tag':_0x2267a7(0xc1),'attrs':{'fill':_0x2267a7(0x3c0),'d':_0x2267a7(0xb5),'fillRule':_0x2267a7(0x2d2),'clipRule':'evenodd'}}]},_0x565cf9=(0x0,_0x2ae8f3[_0x2267a7(0x86)])(function(_0xe90f49,_0xdd3dfb){const _0x41aea3=_0x2267a7;return(0x0,_0x2ae8f3[_0x41aea3(0x3ca)])(_0x55c769,Object[_0x41aea3(0x365)]({},_0xe90f49,{'id':_0x41aea3(0x260),'ref':_0xdd3dfb,'icon':_0x3353da}));});_0x565cf9[_0x2267a7(0x2f8)]=_0x2267a7(0x247);let _0x398da9={'tag':_0x2267a7(0x379),'attrs':{'xmlns':_0x2267a7(0x395),'fill':_0x2267a7(0x3c5),'viewBox':_0x2267a7(0x1a8),'width':_0x2267a7(0x102),'height':_0x2267a7(0x102)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x2267a7(0x360)},'children':[{'tag':_0x2267a7(0xc1),'attrs':{'d':_0x2267a7(0x155)}},{'tag':_0x2267a7(0xc1),'attrs':{'d':_0x2267a7(0x3b3),'fillRule':'evenodd','clipRule':'evenodd'}}]},{'tag':_0x2267a7(0x269),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2267a7(0x2cf)},'children':[{'tag':_0x2267a7(0x20a),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x2267a7(0x78),'rx':0x4}}]}]}],'defIds':[_0x2267a7(0x2cf)]},_0x51c194=(0x0,_0x2ae8f3['forwardRef'])(function(_0x414eb7,_0x4dd558){const _0x57293f=_0x2267a7;return(0x0,_0x2ae8f3[_0x57293f(0x3ca)])(_0x55c769,Object[_0x57293f(0x365)]({},_0x414eb7,{'id':_0x57293f(0xb1),'ref':_0x4dd558,'icon':_0x398da9}));});_0x51c194[_0x2267a7(0x2f8)]=_0x2267a7(0x392);let _0x5011fe={'tag':_0x2267a7(0x379),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2267a7(0x3c5),'viewBox':_0x2267a7(0x3ce),'width':_0x2267a7(0x102),'height':'1em'},'children':[{'tag':_0x2267a7(0xc1),'attrs':{'fill':_0x2267a7(0x85),'d':_0x2267a7(0x398),'fillOpacity':0.2,'fillRule':_0x2267a7(0x2d2),'clipRule':_0x2267a7(0x2d2)}},{'tag':'path','attrs':{'fill':_0x2267a7(0x85),'d':_0x2267a7(0x262),'fillRule':_0x2267a7(0x2d2),'clipRule':_0x2267a7(0x2d2)}}]},_0x5b24f7=(0x0,_0x2ae8f3['forwardRef'])(function(_0x1604dd,_0xdc1a07){const _0x382421=_0x2267a7;return(0x0,_0x2ae8f3[_0x382421(0x3ca)])(_0x55c769,Object[_0x382421(0x365)]({},_0x1604dd,{'id':_0x382421(0xba),'ref':_0xdc1a07,'icon':_0x5011fe}));});_0x5b24f7[_0x2267a7(0x2f8)]=_0x2267a7(0x3cd);function _0x2232c8(_0xc04990){const _0x103e85=_0x2267a7;var _0x14c2e6;let {item:_0x3857e0,isNewest:_0xdc9805}=_0xc04990,_0x416e98=(0x0,_0x3f2000[_0x103e85(0x289)])(_0x4bbed9),_0x102594=(0x0,_0x3f2000['useDependency'])(_0x31302b),_0x4be5c2=(0x0,_0x3f2000[_0x103e85(0x289)])(_0x3bba19[_0x103e85(0x2ba)]),_0x2f2086=(0x0,_0x3f2000[_0x103e85(0xd7)])(_0x416e98[_0x103e85(0x2a5)],'',!0x0)===_0x3857e0['id'],_0x4ae562=_0x4be5c2['getCurrentLocale'](),_0x4c54d6=_0x1b9d4d(_0x3857e0[_0x103e85(0x330)],_0x4ae562),_0x50ac0a=!_0xdc9805&&_0x416e98[_0x103e85(0x22b)],_0x14a1b7=(0x0,_0x2ae8f3[_0x103e85(0x3ef)])(async()=>{const _0x410cc2=_0x103e85;_0x416e98[_0x410cc2(0x2cb)]!==_0x410cc2(0x148)&&(_0x416e98['currentVersion']=_0x3857e0['id'],await _0x102594[_0x410cc2(0x307)](_0x3857e0['id']));},[_0x416e98,_0x102594,_0x3857e0['id']]),_0x51f697=(0x0,_0x2ae8f3[_0x103e85(0x3ef)])(_0x45421f=>{const _0x4411b8=_0x103e85;_0x45421f[_0x4411b8(0x2bd)](),_0x416e98[_0x4411b8(0x277)](_0x3857e0['id']);},[_0x416e98,_0x3857e0['id']]),_0x56ea9c=((_0x14c2e6=_0x3857e0['users'])==null?void 0x0:_0x14c2e6[_0x103e85(0x354)](Boolean)[_0x103e85(0x38d)](',\x20'))||_0x3857e0[_0x103e85(0xea)]||_0x4be5c2['t'](_0x103e85(0x1a0));return(0x0,_0x31ec98['jsxs'])('div',{'className':(0x0,_0x4b600c[_0x103e85(0x3bf)])(_0x103e85(0x275),_0x2f2086&&_0x103e85(0x274)),'onClick':_0x14a1b7,'children':[(0x0,_0x31ec98['jsxs'])('div',{'className':_0x103e85(0xae),'children':[(0x0,_0x31ec98[_0x103e85(0x8d)])('div',{'className':_0x103e85(0x2c1),'children':[(0x0,_0x31ec98[_0x103e85(0x28f)])(_0x103e85(0x198),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x56ea9c}),_0xdc9805&&(0x0,_0x31ec98[_0x103e85(0x28f)])(_0x103e85(0x198),{'className':_0x103e85(0xa1),'children':_0x4be5c2['t'](_0x103e85(0xb3))})]}),(0x0,_0x31ec98[_0x103e85(0x8d)])(_0x103e85(0x2ec),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x31ec98[_0x103e85(0x28f)])('span',{'className':_0x103e85(0x1ca),'children':_0x4c54d6[_0x103e85(0x330)]}),(0x0,_0x31ec98[_0x103e85(0x28f)])(_0x103e85(0x198),{'className':_0x103e85(0x2f6),'children':_0x319690(_0x3857e0,_0x4be5c2)})]})]}),_0x50ac0a&&(0x0,_0x31ec98['jsx'])(_0x4b600c['Button'],{'size':_0x103e85(0x15b),'variant':'primary','onClick':_0x51f697,'children':_0x4be5c2['t']('edit-history-viewer.header.revert')})]});}function _0x3e0e7a(){const _0x3c67be=_0x2267a7;let _0x3fe246=(0x0,_0x3f2000[_0x3c67be(0x289)])(_0x4bbed9),_0x1b72a0=(0x0,_0x3f2000[_0x3c67be(0x289)])(_0x3bba19[_0x3c67be(0x2ba)]),_0x51b35c=(0x0,_0x3f2000[_0x3c67be(0xd7)])(_0x3fe246['versions$']),_0x20c1ce=(0x0,_0x3f2000[_0x3c67be(0xd7)])(_0x3fe246['fetching$']),_0xa59efa=(0x0,_0x2ae8f3[_0x3c67be(0x271)])(null),[_0x40700c,_0x53e03d]=(0x0,_0x2ae8f3[_0x3c67be(0x321)])(!0x0);(0x0,_0x2ae8f3['useEffect'])(()=>{const _0x2181c4=_0x3c67be;let _0x595d9a=_0xa59efa['current'];if(!_0x595d9a||!_0x40700c)return;let _0x93c333,_0x239af2=()=>{clearTimeout(_0x93c333),_0x93c333=setTimeout(()=>{let {scrollTop:_0x48eb20,scrollHeight:_0x8b4677,clientHeight:_0x42dcd0}=_0x595d9a;_0x48eb20+_0x42dcd0>=_0x8b4677-0xa&&_0x3fe246['loadMoreVersions']();},0x64);};return _0x595d9a['addEventListener'](_0x2181c4(0x1dd),_0x239af2),()=>{const _0x569c8e=_0x2181c4;clearTimeout(_0x93c333),_0x595d9a[_0x569c8e(0x1f7)](_0x569c8e(0x1dd),_0x239af2);};},[_0x3fe246,_0x40700c]);let _0x33ee64=_0x3843cd(_0x51b35c==null?[]:_0x51b35c);return(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x3c67be(0x2ec),{'className':_0x3c67be(0x2fa),'children':(0x0,_0x31ec98[_0x3c67be(0x8d)])(_0x3c67be(0x2ec),{'className':(0x0,_0x4b600c['clsx'])(_0x3c67be(0x231),_0x40700c?_0x3c67be(0x1d1):_0x3c67be(0x1aa)),'children':[(0x0,_0x31ec98['jsxs'])('div',{'className':_0x3c67be(0x132),'onClick':()=>_0x53e03d(_0x457670=>!_0x457670),'children':[(0x0,_0x31ec98['jsx'])(_0x3c67be(0x2ec),{'className':_0x3c67be(0x1c9)}),!_0x40700c&&(0x0,_0x31ec98[_0x3c67be(0x28f)])('span',{'className':_0x3c67be(0x183),'children':_0x1b72a0['t'](_0x3c67be(0x36f))})]}),_0x40700c&&(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x31ec98[_0x3c67be(0x164)],{'children':_0x51b35c?(0x0,_0x31ec98[_0x3c67be(0x8d)])(_0x3c67be(0x2ec),{'ref':_0xa59efa,'className':_0x3c67be(0x2cc),'children':[_0x33ee64['map'](_0x1d6a57=>(0x0,_0x31ec98[_0x3c67be(0x8d)])(_0x3c67be(0x2ec),{'children':[(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x3c67be(0x2ec),{'className':_0x3c67be(0xe9),'children':_0x3eb521(_0x1d6a57[_0x3c67be(0x1fb)],_0x1b72a0[_0x3c67be(0x19b)]())}),_0x1d6a57[_0x3c67be(0x34e)]['map']((_0x29039a,_0x350842)=>(0x0,_0x31ec98['jsx'])(_0x2232c8,{'item':_0x29039a,'isNewest':_0x33ee64[0x0]===_0x1d6a57&&_0x350842===0x0},_0x29039a['id']))]},_0x1d6a57[_0x3c67be(0x400)])),_0x20c1ce&&(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x3c67be(0x2ec),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x5b24f7,{'className':_0x3c67be(0x33a)})})]}):(0x0,_0x31ec98['jsx'])('div',{'className':_0x3c67be(0x33f),'children':(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x5b24f7,{'className':'univer-animate-spin\x20univer-text-gray-400'})})})]})});}let _0x23ff2b=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0x1c554a,_0x5f1e90){const _0x81f388=_0x2267a7;super(),this[_0x81f388(0x1c6)]=_0x1c554a,this[_0x81f388(0x39d)]=_0x5f1e90,this[_0x81f388(0x74)](this[_0x81f388(0x1c6)][_0x81f388(0x1e5)](_0x3f2000[_0x81f388(0x245)][_0x81f388(0x3fe)],()=>(0x0,_0x3f2000[_0x81f388(0x3e6)])(_0x3e0e7a,this[_0x81f388(0x39d)])));}};_0x23ff2b=_0x9526d9([_0x550961(0x0,_0x3f2000[_0x2267a7(0x26e)]),_0x550961(0x1,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19['Injector']))],_0x23ff2b);var _0x14ced6=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(){const _0x59de7c=_0x2267a7;super(),_0x374704(this,_0x59de7c(0x32d),new _0x54d7f0[(_0x59de7c(0x3a6))]());}[_0x2267a7(0x362)](){const _0x28bb6c=_0x2267a7;return(0x0,_0x3bba19[_0x28bb6c(0x366)])(()=>{});}[_0x2267a7(0x371)](){}[_0x2267a7(0x27d)](_0x478833){}['getDialogs$'](){const _0x49ddc4=_0x2267a7;return this[_0x49ddc4(0x32d)][_0x49ddc4(0xf0)]();}};let _0x5da7ee=class extends _0x3bba19[_0x2267a7(0x387)]{constructor(_0x1c299a=_0x671578,_0x336ec1,_0x209050,_0x156d8a){const _0x3bf2ab=_0x2267a7;super(),this['_config']=_0x1c299a,this[_0x3bf2ab(0x39d)]=_0x336ec1,this[_0x3bf2ab(0x2fd)]=_0x209050,this[_0x3bf2ab(0x10f)]=_0x156d8a;let {..._0xc657bc}=(0x0,_0x3bba19[_0x3bf2ab(0x156)])({},_0x671578,this['_config']);this['_configService'][_0x3bf2ab(0x2de)](_0x416c3e,_0xc657bc);}[_0x2267a7(0x3da)](){const _0x37a217=_0x2267a7;[[_0x4bbed9],[_0x546994],[_0x31302b],[_0x57a226],[_0x23ff2b],[_0x502411],[_0x26651d['ISnapshotServerService'],{'useClass':_0xf6793f[_0x37a217(0x19d)]}],[_0x3f2000[_0x37a217(0xf6)],{'useClass':_0x14ced6}],[_0x42dade['IImageIoService'],{'useClass':_0xf6793f['CollaborationImageIoService']}]][_0x37a217(0xc9)](_0x3a2395=>this[_0x37a217(0x39d)][_0x37a217(0x7b)](_0x3a2395)),this[_0x37a217(0x39d)][_0x37a217(0x249)](_0x546994);}[_0x2267a7(0x2e2)](){const _0x5926cb=_0x2267a7;[[_0x2565e2]][_0x5926cb(0xc9)](_0x1cc922=>{const _0x40ef7b=_0x5926cb;this[_0x40ef7b(0x74)](this[_0x40ef7b(0x2fd)][_0x40ef7b(0x35a)](_0x3bba19[_0x40ef7b(0x1f9)][_0x40ef7b(0x18b)],_0x1cc922));}),this['_injector'][_0x5926cb(0x249)](_0x502411),this[_0x5926cb(0x39d)][_0x5926cb(0x249)](_0x23ff2b);}[_0x2267a7(0x126)](){const _0x2bd922=_0x2267a7;this[_0x2bd922(0x39d)][_0x2bd922(0x249)](_0x31302b);}};_0x374704(_0x5da7ee,_0x2267a7(0x2df),_0x2267a7(0x21c)),_0x374704(_0x5da7ee,_0x2267a7(0x290),_0xa8026d),_0x374704(_0x5da7ee,'version',_0x5c6930),_0x5da7ee=_0x9526d9([(0x0,_0x3bba19[_0x2267a7(0x1f8)])(_0x24294d['UniverSheetsMobileUIPlugin'],_0x4def42[_0x2267a7(0x3d7)]),_0x550961(0x1,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x288)])),_0x550961(0x2,_0x7352c7[_0x2267a7(0x1e3)]),_0x550961(0x3,_0x3bba19[_0x2267a7(0x3b7)])],_0x5da7ee);function _0x2c50d3(){const _0x3bcff6=_0x2267a7;let _0x269e55=(0x0,_0x3f2000['useDependency'])(_0x4bbed9),_0x50fcf6=(0x0,_0x3f2000[_0x3bcff6(0x289)])(_0x3bba19[_0x3bcff6(0x2ba)]),_0x64d16f=(0x0,_0x3f2000[_0x3bcff6(0xd7)])(_0x269e55[_0x3bcff6(0x2a5)]),_0x2312b3=(0x0,_0x2ae8f3[_0x3bcff6(0x356)])(()=>_0x64d16f?_0x269e55[_0x3bcff6(0x373)]():!0x1,[_0x269e55,_0x64d16f]),_0x5d8dca=(0x0,_0x2ae8f3[_0x3bcff6(0x3ef)])(()=>{const _0xe4aca6=_0x3bcff6;_0x269e55[_0xe4aca6(0x343)]=_0xe4aca6(0xb7);},[_0x269e55]),_0x3f229e=(0x0,_0x2ae8f3[_0x3bcff6(0x3ef)])(()=>{const _0x5d7314=_0x3bcff6;_0x269e55[_0x5d7314(0x277)]();},[_0x269e55]);return(0x0,_0x31ec98[_0x3bcff6(0x8d)])('div',{'className':(0x0,_0x4b600c[_0x3bcff6(0x3bf)])(_0x3bcff6(0x22e),_0x4b600c['borderBottomClassName']),'children':[(0x0,_0x31ec98[_0x3bcff6(0x28f)])('a',{'className':_0x3bcff6(0x151),'role':_0x3bcff6(0x3e4),'onClick':_0x5d8dca,'children':(0x0,_0x31ec98[_0x3bcff6(0x28f)])(_0x33c817,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),(0x0,_0x31ec98['jsx'])(_0x3bcff6(0x2ec),{'className':_0x3bcff6(0x33f),'children':_0x2312b3&&(0x0,_0x31ec98[_0x3bcff6(0x28f)])(_0x4b600c[_0x3bcff6(0x1c7)],{'variant':_0x3bcff6(0x18d),'onClick':_0x3f229e,'children':_0x50fcf6['t'](_0x3bcff6(0x267))})})]});}let _0x18716b=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0x1946f4,_0x428572,_0x2ec387,_0x2d8be5,_0x9ff2c6,_0x3f6e64,_0xbe4ba1){const _0x103ce1=_0x2267a7;super(),this['_permissionService']=_0x1946f4,this[_0x103ce1(0x1c6)]=_0x428572,this[_0x103ce1(0x324)]=_0x2ec387,this[_0x103ce1(0x1ec)]=_0x2d8be5,this[_0x103ce1(0x2ff)]=_0x9ff2c6,this[_0x103ce1(0x39d)]=_0x3f6e64,this[_0x103ce1(0x10f)]=_0xbe4ba1,this[_0x103ce1(0x193)]();}[_0x2267a7(0x193)](){const _0x9c082b=_0x2267a7;this[_0x9c082b(0x74)](this[_0x9c082b(0x2ff)][_0x9c082b(0x2a5)][_0x9c082b(0x238)](_0x12856a=>{const _0x1332ce=_0x9c082b;_0x12856a&&this[_0x1332ce(0x2ff)][_0x1332ce(0x77)](_0x12856a);})),this['disposeWithMe'](this[_0x9c082b(0x22d)]['permissionPointUpdate$'][_0x9c082b(0x238)](_0x32bdd4=>{const _0x459d8e=_0x9c082b;let _0x102451=this['_historyManagerService'][_0x459d8e(0x3e9)];_0x102451&&(_0x32bdd4['subType']===_0x1ea6dc['UnitAction']['Edit']&&_0x32bdd4[_0x459d8e(0x1d8)]===!0x0&&this[_0x459d8e(0x22d)]['updatePermissionPoint'](new _0x5431fa[(_0x459d8e(0x3a7))](_0x102451)['id'],!0x1),_0x32bdd4['subType']===_0x1ea6dc[_0x459d8e(0x241)][_0x459d8e(0x15e)]&&_0x32bdd4['value']===!0x0&&this[_0x459d8e(0x22d)][_0x459d8e(0x34b)](new _0x5431fa[(_0x459d8e(0x32f))](_0x102451)['id'],!0x1),_0x32bdd4[_0x459d8e(0x122)]===_0x1ea6dc[_0x459d8e(0x241)][_0x459d8e(0x2e1)]&&_0x32bdd4[_0x459d8e(0x1d8)]===!0x0&&this['_permissionService'][_0x459d8e(0x34b)](new _0x5431fa[(_0x459d8e(0x1e4))](_0x102451)['id'],!0x1),_0x32bdd4['subType']===_0x1ea6dc[_0x459d8e(0x241)][_0x459d8e(0x258)]&&_0x32bdd4['value']===!0x0&&this['_permissionService'][_0x459d8e(0x34b)](new _0x5431fa[(_0x459d8e(0x333))](_0x102451)['id'],!0x1),_0x32bdd4[_0x459d8e(0x122)]===_0x1ea6dc[_0x459d8e(0x241)][_0x459d8e(0x3d9)]&&_0x32bdd4['value']===!0x0&&this['_permissionService'][_0x459d8e(0x34b)](new _0x5431fa[(_0x459d8e(0x3a7))](_0x102451)['id'],!0x1),_0x32bdd4[_0x459d8e(0x122)]===_0x1ea6dc[_0x459d8e(0x241)]['FloatImg']&&_0x32bdd4[_0x459d8e(0x1d8)]===!0x0&&this[_0x459d8e(0x22d)][_0x459d8e(0x34b)](new _0x5431fa[(_0x459d8e(0x3a7))](_0x102451)['id'],!0x1));})),this['_registerHeader']();let _0x8225bf;this[_0x9c082b(0x74)](this['_historyManagerService'][_0x9c082b(0x19e)][_0x9c082b(0x238)](_0x51bc93=>{const _0x2e1a93=_0x9c082b;this[_0x2e1a93(0x324)]['removeAll'](),_0x8225bf==null||_0x8225bf[_0x2e1a93(0x3d0)](),_0x51bc93===_0x2e1a93(0x148)&&(this[_0x2e1a93(0x2ff)][_0x2e1a93(0x3cc)](),_0x8225bf=this['_messageService'][_0x2e1a93(0x96)]({'type':_0x4b600c[_0x2e1a93(0x130)][_0x2e1a93(0x2b2)],'content':this[_0x2e1a93(0x1ec)]['t']('edit-history-viewer.info.loading'),'duration':0x3e8})),_0x51bc93===_0x2e1a93(0x1ad)&&this[_0x2e1a93(0x2ff)][_0x2e1a93(0x182)]();}));}[_0x2267a7(0x219)](){const _0xac1d1b=_0x2267a7;var _0x4e2463;(_0x4e2463=this[_0xac1d1b(0x10f)][_0xac1d1b(0x1bf)](_0xac1d1b(0x2b3)))!=null&&_0x4e2463[_0xac1d1b(0x2ca)]||this[_0xac1d1b(0x74)](this['_uiPartsService'][_0xac1d1b(0x1e5)](_0x3f2000[_0xac1d1b(0x245)][_0xac1d1b(0x3d4)],()=>(0x0,_0x3f2000[_0xac1d1b(0x3e6)])(_0x2c50d3,this[_0xac1d1b(0x39d)])));}};_0x18716b=_0x9526d9([_0x550961(0x0,_0x3bba19[_0x2267a7(0x118)]),_0x550961(0x1,_0x3f2000[_0x2267a7(0x26e)]),_0x550961(0x2,_0x3f2000[_0x2267a7(0x304)]),_0x550961(0x3,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x2ba)])),_0x550961(0x4,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4bbed9)),_0x550961(0x5,(0x0,_0x3bba19['Inject'])(_0x3bba19[_0x2267a7(0x288)])),_0x550961(0x6,_0x3bba19['IConfigService'])],_0x18716b);let _0x393fa0=[{'key':0x0,'labelKey':'edit-history-viewer.panel.filterAll'},{'key':0x1,'labelKey':'edit-history-viewer.panel.filterUser'},{'key':0x2,'labelKey':_0x2267a7(0x173)}];function _0x337d0f(_0x199d4a){const _0x3497b7=_0x2267a7;let {className:_0xdd71d7}=_0x199d4a;return(0x0,_0x31ec98[_0x3497b7(0x8d)])('svg',{'className':_0xdd71d7,'fill':_0x3497b7(0x3c5),'height':'20','viewBox':_0x3497b7(0x357),'width':'20','xmlns':_0x3497b7(0x395),'children':[(0x0,_0x31ec98['jsx'])(_0x3497b7(0xc1),{'d':_0x3497b7(0x10d),'fill':'url(#paint0_linear_236_415)'}),(0x0,_0x31ec98[_0x3497b7(0x28f)])(_0x3497b7(0x269),{'children':(0x0,_0x31ec98[_0x3497b7(0x8d)])(_0x3497b7(0x28b),{'gradientUnits':'userSpaceOnUse','id':_0x3497b7(0x2ae),'x1':_0x3497b7(0x310),'x2':'18.1758','y1':_0x3497b7(0xc0),'y2':_0x3497b7(0xf4),'children':[(0x0,_0x31ec98[_0x3497b7(0x28f)])('stop',{'offset':_0x3497b7(0x2d6),'stopColor':_0x3497b7(0x121)}),(0x0,_0x31ec98['jsx'])(_0x3497b7(0x190),{'offset':_0x3497b7(0x158),'stopColor':_0x3497b7(0x180)}),(0x0,_0x31ec98['jsx'])(_0x3497b7(0x190),{'offset':'0.655','stopColor':_0x3497b7(0x293)}),(0x0,_0x31ec98['jsx'])(_0x3497b7(0x190),{'offset':'1','stopColor':'#01C2AA'})]})})]});}function _0x1443a1(_0x27b77a){const _0x57db83=_0x2267a7;let {value:_0xafd4fa,onChange:_0x3b884c}=_0x27b77a,_0x2bbe02=(0x0,_0x3f2000[_0x57db83(0x289)])(_0x3bba19[_0x57db83(0x2ba)]);return(0x0,_0x31ec98['jsx'])(_0x57db83(0x2ec),{'className':_0x57db83(0x2f5),'children':(0x0,_0x31ec98[_0x57db83(0x28f)])(_0x4b600c[_0x57db83(0x2f0)],{'items':_0x393fa0[_0x57db83(0x369)](_0x579ab5=>({'label':_0x2bbe02['t'](_0x579ab5[_0x57db83(0x399)]),'value':_0x579ab5[_0x57db83(0xa2)]})),'value':_0xafd4fa,'onChange':_0x3b884c})});}function _0x454ba1(){const _0x240a49=_0x2267a7;var _0x5af641,_0x5c0acf;let _0x5ea60c=(0x0,_0x3f2000[_0x240a49(0x289)])(_0x4bbed9),_0x54a7c3=(0x0,_0x3f2000[_0x240a49(0x289)])(_0x57a226),_0x963240=(0x0,_0x3f2000['useDependency'])(_0x31302b),_0x3c784b=(0x0,_0x3f2000[_0x240a49(0x289)])(_0x3bba19[_0x240a49(0x3b7)]),_0x199257=(0x0,_0x3f2000[_0x240a49(0xd7)])(_0x5ea60c['versions$']),_0x239805=(0x0,_0x3f2000['useObservable'])(_0x5ea60c[_0x240a49(0x206)],[]),[_0x3cf079,_0xef946]=(0x0,_0x2ae8f3[_0x240a49(0x321)])(new Set()),[_0x4b8aaf,_0x41d0f9]=(0x0,_0x2ae8f3['useState'])(new Map()),[_0x414df7,_0x401cdb]=(0x0,_0x2ae8f3[_0x240a49(0x321)])(new Set()),[_0x1e8f8e,_0x37dcda]=(0x0,_0x2ae8f3[_0x240a49(0x321)])(0x0),_0xe206ba=(0x0,_0x3f2000['useDependency'])(_0x3bba19[_0x240a49(0x2ba)]),_0xee1f38=(0x0,_0x2ae8f3[_0x240a49(0x271)])(null),[_0x2d819b,_0x2a1f65]=(0x0,_0x2ae8f3[_0x240a49(0x321)])(!0x1),[_0x9ddd5e,_0x425e65]=(0x0,_0x2ae8f3[_0x240a49(0x321)])([]),_0x424a8e=(_0x5af641=(_0x5c0acf=_0x3c784b[_0x240a49(0x1bf)](_0x240a49(0x2b3)))==null?void 0x0:_0x5c0acf[_0x240a49(0x179)])==null?!0x1:_0x5af641,_0x10e002=_0x3843cd(_0x199257),[_0xb5318a,_0x26dd6a]=(0x0,_0x2ae8f3['useState'])([]),_0x302162=(0x0,_0x2ae8f3[_0x240a49(0x356)])(()=>_0x239805['map'](_0x3dba5a=>({'key':_0x3dba5a[_0x240a49(0x35c)],'label':_0x3dba5a[_0x240a49(0x1f5)]})),[_0x239805]);(0x0,_0x2ae8f3[_0x240a49(0xd8)])(()=>{_0x5ea60c['loadHistoryCreatorList']();},[]);let _0x4f60c8=(0x0,_0x2ae8f3[_0x240a49(0x3ef)])(_0x6d03c3=>{const _0x58556b=_0x240a49;_0x26dd6a([]),_0x37dcda(_0x6d03c3),_0x5ea60c[_0x58556b(0x3e9)]&&_0x5ea60c[_0x58556b(0x3a1)](_0x5ea60c['unitId'],{'origin':_0x6d03c3});},[_0x5ea60c]);(0x0,_0x2ae8f3[_0x240a49(0xd8)])(()=>{const _0x4f97c2=_0x240a49;let _0x7ed75a=_0xee1f38[_0x4f97c2(0xc7)];if(!_0x7ed75a)return;let _0x1343d3,_0x4bb181=_0x3a6f95=>{clearTimeout(_0x1343d3),_0x1343d3=setTimeout(()=>{let {target:_0x4c9eef}=_0x3a6f95;if(_0x4c9eef){let {scrollTop:_0x2300c4,scrollHeight:_0x552b79,clientHeight:_0x4aedce}=_0x4c9eef;_0x2300c4+_0x4aedce>=_0x552b79-0x5&&_0x5ea60c['loadMoreVersions']();}},0x64);};return _0x7ed75a[_0x4f97c2(0x2c2)](_0x4f97c2(0x1dd),_0x4bb181),()=>{const _0x24ddfd=_0x4f97c2;clearTimeout(_0x1343d3),_0x7ed75a[_0x24ddfd(0x1f7)](_0x24ddfd(0x1dd),_0x4bb181);};},[_0x5ea60c]);let _0x32c69e=(0x0,_0x2ae8f3[_0x240a49(0x3ef)])(async _0x437c69=>{const _0x4902ba=_0x240a49;let _0x155462=_0x437c69['id'];if(_0x3cf079[_0x4902ba(0x29c)](_0x155462)){_0xef946(_0x252e3f=>{const _0x4a5a23=_0x4902ba;let _0x39ed6f=new Set(_0x252e3f);return _0x39ed6f[_0x4a5a23(0x88)](_0x155462),_0x39ed6f;});return;}if(_0x4b8aaf['has'](_0x155462)){_0xef946(_0x572f1f=>new Set(_0x572f1f)[_0x4902ba(0x7b)](_0x155462));return;}_0x401cdb(_0x4d314d=>new Set(_0x4d314d)['add'](_0x155462));try{var _0x464d11;let _0xe97062=_0x5ea60c[_0x4902ba(0x3e9)];if(!_0xe97062)return;let _0x5a8c33=await _0x54a7c3[_0x4902ba(0x176)]({},{'unitId':_0xe97062,'startRevision':_0x437c69[_0x4902ba(0x1ac)],'endRevision':_0x437c69[_0x4902ba(0x2ef)]});if(((_0x464d11=_0x5a8c33[_0x4902ba(0x239)])==null?void 0x0:_0x464d11[_0x4902ba(0x281)])===0x1&&_0x5a8c33[_0x4902ba(0x3b4)]){let _0x2acc8e=_0x5a8c33[_0x4902ba(0x3b4)][_0x4902ba(0x1da)]()[_0x4902ba(0x369)](_0x23d989=>{const _0x220216=_0x4902ba;var _0x4794be,_0x2cce15;let _0x1356ea=(0x0,_0x26651d['parseProtocolChangeset'])(_0x23d989),_0xcacae9=_0x23d989[_0x220216(0x285)]||_0x1356ea['userID'],_0x1890a8=(_0x4794be=_0x5a8c33[_0x220216(0x109)])==null?void 0x0:_0x4794be[_0xcacae9],_0x10fc5e=((_0x2cce15=_0x23d989[_0x220216(0x2aa)])==null?void 0x0:_0x2cce15[_0x220216(0x369)](_0x2e478c=>_0x2e478c['id']))||[];return{'id':_0x155462+'-detail-'+_0x23d989['revision'],'unitId':_0x23d989[_0x220216(0x3b9)],'startRev':_0x23d989['revision'],'endRev':_0x23d989[_0x220216(0x178)],'time':_0x23d989['createTime']?_0x23d989['createTime']*0x3e8:void 0x0,'user':(_0x1890a8==null?void 0x0:_0x1890a8[_0x220216(0x1f5)])||'','users':[(_0x1890a8==null?void 0x0:_0x1890a8[_0x220216(0x1f5)])||''],'commands':_0x10fc5e,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x155462,'additionalFields':_0x23d989[_0x220216(0x10b)]};});_0x41d0f9(_0x38f8e6=>new Map(_0x38f8e6)[_0x4902ba(0x1f2)](_0x155462,_0x2acc8e)),_0x2acc8e[_0x4902ba(0xc9)](_0x241082=>{_0x5ea60c['registerDetailVersion'](_0x241082);});for(let _0x55f8fb of _0x2acc8e)await _0x963240[_0x4902ba(0x307)](_0x55f8fb['id']);_0xef946(_0x252271=>new Set(_0x252271)['add'](_0x155462));}}catch(_0x652caf){console[_0x4902ba(0x239)](_0x4902ba(0x116),_0x652caf);}finally{_0x401cdb(_0xdfa5=>{const _0x2b44c9=_0x4902ba;let _0xa45f1f=new Set(_0xdfa5);return _0xa45f1f[_0x2b44c9(0x88)](_0x155462),_0xa45f1f;});}},[_0x3cf079,_0x4b8aaf,_0x5ea60c,_0x54a7c3,_0x963240]);return _0x199257?(0x0,_0x31ec98[_0x240a49(0x8d)])(_0x240a49(0x2ec),{'ref':_0xee1f38,'className':_0x240a49(0x3e7),'children':[_0x424a8e&&(0x0,_0x31ec98[_0x240a49(0x8d)])(_0x240a49(0x2ec),{'className':_0x240a49(0x3a5),'children':[(0x0,_0x31ec98['jsx'])(_0x240a49(0x2ec),{'className':_0x240a49(0x1de),'children':(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x1443a1,{'value':_0x1e8f8e,'onChange':_0x4f60c8})}),(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x4b600c[_0x240a49(0x9a)],{'align':_0x240a49(0x15c),'open':_0x2d819b,'onOpenChange':_0x85e0d8=>{_0x2a1f65(_0x85e0d8),_0x85e0d8&&_0x425e65(_0xb5318a);},'overlay':(0x0,_0x31ec98[_0x240a49(0x8d)])(_0x240a49(0x2ec),{'className':'univer-min-w-[240px]','children':[(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x240a49(0x2ec),{'className':'univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','children':_0xe206ba['t']('edit-history-viewer.panel.filterCollaborator')}),(0x0,_0x31ec98['jsx'])(_0x240a49(0x2ec),{'className':_0x240a49(0x370)}),(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x240a49(0x2ec),{'className':_0x240a49(0x251),'children':_0x302162[_0x240a49(0x369)](_0x375598=>{const _0xdb5d3b=_0x240a49;let _0xde26d2=_0x9ddd5e[_0xdb5d3b(0xd2)](_0x375598[_0xdb5d3b(0xa2)]);return(0x0,_0x31ec98[_0xdb5d3b(0x8d)])(_0xdb5d3b(0x2ec),{'className':_0xdb5d3b(0x2e5),'onClick':()=>{const _0x5051ce=_0xdb5d3b;_0x425e65(_0xde26d2?_0x9ddd5e['filter'](_0x8fe743=>_0x8fe743!==_0x375598[_0x5051ce(0xa2)]):[..._0x9ddd5e,_0x375598[_0x5051ce(0xa2)]]);},'children':[(0x0,_0x31ec98['jsx'])(_0x4b600c[_0xdb5d3b(0x1b5)],{'checked':_0xde26d2}),(0x0,_0x31ec98[_0xdb5d3b(0x28f)])(_0xdb5d3b(0x198),{'className':_0xdb5d3b(0x11c),'children':_0x375598[_0xdb5d3b(0x302)]})]},_0x375598[_0xdb5d3b(0xa2)]);})}),(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x240a49(0x2ec),{'className':_0x240a49(0x370)}),(0x0,_0x31ec98[_0x240a49(0x8d)])(_0x240a49(0x2ec),{'className':_0x240a49(0x105),'children':[(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x4b600c[_0x240a49(0x1c7)],{'size':_0x240a49(0x138),'variant':'ghost','onClick':()=>{_0x425e65(_0xb5318a),_0x2a1f65(!0x1);},'children':_0xe206ba['t'](_0x240a49(0x195))}),(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x4b600c[_0x240a49(0x1c7)],{'size':_0x240a49(0x138),'onClick':()=>{const _0x13b036=_0x240a49;_0x26dd6a(_0x9ddd5e),_0x5ea60c[_0x13b036(0x3e9)]&&_0x5ea60c[_0x13b036(0x3a1)](_0x5ea60c[_0x13b036(0x3e9)],{'origin':_0x1e8f8e,'userIds':_0x9ddd5e}),_0x2a1f65(!0x1);},'children':_0xe206ba['t']('edit-history-viewer.panel.filterCollaboratorConfirm')})]})]}),'children':(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x4b600c[_0x240a49(0x1c7)],{'className':_0x240a49(0x2b4),'size':_0x240a49(0x138),'variant':'ghost','children':(0x0,_0x31ec98['jsx'])(_0x2d8959,{'className':(0x0,_0x4b600c[_0x240a49(0x3bf)])('univer-size-4',{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0xb5318a['length']>0x0})})})})]}),(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x240a49(0x2ec),{'className':_0x240a49(0x30f),'children':_0x10e002[_0x240a49(0x369)]((_0x20b79c,_0x347108)=>(0x0,_0x31ec98[_0x240a49(0x8d)])(_0x2ae8f3[_0x240a49(0x164)],{'children':[(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x40c41b,{'date':_0x20b79c[_0x240a49(0x400)],'startDate':_0x20b79c['startDateString'],'endDate':_0x20b79c['endDateString']}),_0x20b79c[_0x240a49(0x34e)][_0x240a49(0x369)]((_0x3f0fe9,_0x41c2a4)=>{const _0x1f8b5e=_0x240a49;let _0x36aa3e=_0x3cf079['has'](_0x3f0fe9['id']),_0x313a6d=_0x414df7['has'](_0x3f0fe9['id']),_0x158418=_0x4b8aaf[_0x1f8b5e(0x249)](_0x3f0fe9['id'])||[];return(0x0,_0x31ec98['jsxs'])(_0x2ae8f3[_0x1f8b5e(0x164)],{'children':[(0x0,_0x31ec98[_0x1f8b5e(0x28f)])(_0x165eea,{'item':_0x3f0fe9,'onToggleExpand':_0x32c69e,'isExpanded':_0x36aa3e,'isLoadingDetail':_0x313a6d}),_0x36aa3e&&_0x158418[_0x1f8b5e(0x369)]((_0xdecca6,_0x2ca52f)=>(0x0,_0x31ec98[_0x1f8b5e(0x8d)])(_0x1f8b5e(0x2ec),{'className':_0x1f8b5e(0x131),'style':{'marginTop':_0x1f8b5e(0x3be),'marginBottom':_0x1f8b5e(0x3be)},'children':[(0x0,_0x31ec98[_0x1f8b5e(0x8d)])(_0x1f8b5e(0x2ec),{'className':'univer-absolute\x20univer-top-0\x20univer-h-full','style':{'left':_0x1f8b5e(0xd4),'width':_0x1f8b5e(0xd3)},'children':[_0x2ca52f<_0x158418[_0x1f8b5e(0x217)]-0x1&&(0x0,_0x31ec98[_0x1f8b5e(0x28f)])(_0x1f8b5e(0x2ec),{'className':_0x1f8b5e(0xb2),'style':{'left':'0','width':_0x1f8b5e(0xbe)}}),_0x2ca52f===_0x158418[_0x1f8b5e(0x217)]-0x1&&(0x0,_0x31ec98[_0x1f8b5e(0x28f)])('div',{'className':_0x1f8b5e(0x187),'style':{'left':'0','width':'1px','height':_0x1f8b5e(0x232)}}),(0x0,_0x31ec98['jsx'])(_0x1f8b5e(0x2ec),{'className':_0x1f8b5e(0x18a),'style':{'left':'0','width':'10px','height':_0x1f8b5e(0xbe),'transform':_0x1f8b5e(0x312)}})]}),(0x0,_0x31ec98[_0x1f8b5e(0x28f)])(_0x165eea,{'item':_0xdecca6,'isDetail':!0x0})]},_0x347108+'-'+_0x41c2a4+_0x1f8b5e(0x20e)+_0x2ca52f))]},_0x347108+'-'+_0x41c2a4);})]},_0x20b79c[_0x240a49(0x400)]))})]}):(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x297365,{});}function _0x297365(){const _0x419ad3=_0x2267a7;return(0x0,_0x31ec98[_0x419ad3(0x28f)])(_0x419ad3(0x2ec),{'className':_0x419ad3(0xcc),'children':(0x0,_0x31ec98['jsx'])(_0x419ad3(0x198),{'className':_0x419ad3(0x2e8),'children':(0x0,_0x31ec98[_0x419ad3(0x28f)])(_0x5b24f7,{'className':_0x419ad3(0x334)})})});}function _0x40c41b(_0x5ca490){const _0x2795ad=_0x2267a7;let _0x22a948=(0x0,_0x3f2000[_0x2795ad(0x289)])(_0x3bba19['LocaleService']),{date:_0x5302db,startDate:_0x4c6ae5=_0x5302db}=_0x5ca490;return(0x0,_0x31ec98[_0x2795ad(0x28f)])(_0x2795ad(0x2ec),{'className':_0x2795ad(0x33e),'children':_0x3eb521(_0x4c6ae5,_0x22a948[_0x2795ad(0x19b)]())});}function _0x165eea(_0x542bd1){const _0x2f5d75=_0x2267a7;let {item:_0x252292,onToggleExpand:_0x234bbb,isExpanded:_0x9464b6,isLoadingDetail:_0x49cb43,isDetail:_0x364733}=_0x542bd1,{time:_0x151ebc,user:_0x13d13b,startRevCreateTime:_0x27f8d7,endRevCreateTime:_0x33d37c,users:_0x4ea223}=_0x252292,_0x590b43=(0x0,_0x3f2000[_0x2f5d75(0x289)])(_0x4bbed9),_0x239206=(0x0,_0x3f2000['useDependency'])(_0x31302b),_0x184c03=(0x0,_0x3f2000['useObservable'])(_0x590b43[_0x2f5d75(0x2a5)],'',!0x0)===_0x252292['id'],_0x5247fa=_0x590b43['getCurrentUnitCurrentVersion']()===_0x252292[_0x2f5d75(0x2ef)],_0x4834b2=!_0x5247fa&&_0x590b43['canRevert'],_0x47f5e6=(0x0,_0x3f2000[_0x2f5d75(0x289)])(_0x3bba19[_0x2f5d75(0x2ba)]),_0x4421a5=_0x47f5e6[_0x2f5d75(0x19b)](),_0x51b1f3=_0x1b9d4d(_0x151ebc,_0x4421a5),_0xde33d7=_0x1b9d4d(_0x27f8d7,_0x4421a5),_0x427c1b=_0x1b9d4d(_0x33d37c,_0x4421a5),_0x478521=_0x47f5e6['t'](_0x2f5d75(0xb3)),_0x291c20=_0x252292[_0x2f5d75(0x1ac)]!==_0x252292[_0x2f5d75(0x2ef)],_0x550741=!!_0x252292[_0x2f5d75(0x10b)],_0x39a4dc=(0x0,_0x2ae8f3[_0x2f5d75(0x356)])(()=>{const _0x564a21=_0x2f5d75;let _0x145ffd=_0x13d13b||_0x47f5e6['t'](_0x564a21(0x1a0));return _0x4ea223&&_0x4ea223[_0x564a21(0x354)](_0x52fd65=>_0x52fd65)[_0x564a21(0x217)]>0x0&&(_0x145ffd=_0x4ea223[_0x564a21(0x354)](_0x4d119d=>_0x4d119d)[_0x564a21(0x38d)](',\x20')),_0x550741?''+_0x47f5e6['t'](_0x564a21(0x349))+(_0x145ffd?'\x20('+_0x145ffd+')':''):_0x145ffd;},[_0x550741,_0x13d13b,_0x4ea223,_0x47f5e6]),_0x3273c0=(0x0,_0x2ae8f3['useCallback'])(async _0xaf12c1=>{const _0x317ac3=_0x2f5d75;_0x590b43['loadingState']!=='loading'&&(_0x590b43[_0x317ac3(0x191)]=_0xaf12c1,_0x364733&&(await _0x239206['ensureVersion'](_0xaf12c1),await _0x590b43[_0x317ac3(0x77)](_0xaf12c1)));},[_0x590b43,_0x239206,_0x364733]),_0x444eba=(0x0,_0x2ae8f3['useCallback'])(_0x114202=>{const _0x579763=_0x2f5d75;_0x590b43[_0x579763(0x277)](_0x114202);},[_0x590b43]),_0x47f696=(0x0,_0x2ae8f3['useCallback'])(_0x2f9aa6=>{const _0x1fe3dd=_0x2f5d75;_0x2f9aa6[_0x1fe3dd(0x2bd)](),_0x234bbb&&!_0x49cb43&&_0x234bbb(_0x252292);},[_0x234bbb,_0x252292,_0x49cb43]);return(0x0,_0x31ec98[_0x2f5d75(0x8d)])(_0x2f5d75(0x2ec),{'className':(0x0,_0x4b600c[_0x2f5d75(0x3bf)])(_0x2f5d75(0xbf),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x184c03,'univer-ml-6':_0x364733}),'onClick':()=>_0x3273c0(_0x252292['id']),'children':[(0x0,_0x31ec98['jsx'])(_0x2f5d75(0x2ec),{'className':_0x2f5d75(0xcc),'style':{'width':_0x2f5d75(0x353)},'children':_0x291c20&&!_0x364733&&(0x0,_0x31ec98['jsx'])('div',{'onClick':_0x47f696,'className':'univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','children':_0x49cb43?(0x0,_0x31ec98['jsx'])(_0x5b24f7,{'className':_0x2f5d75(0x3fa)}):_0x9464b6?(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0xb494e5,{'className':_0x2f5d75(0x242)}):(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x565cf9,{'className':_0x2f5d75(0x242)})})}),(0x0,_0x31ec98[_0x2f5d75(0x8d)])('div',{'className':_0x2f5d75(0x12e),'children':[(0x0,_0x31ec98['jsxs'])(_0x2f5d75(0x2ec),{'className':_0x2f5d75(0x107),'children':[(0x0,_0x31ec98[_0x2f5d75(0x8d)])(_0x2f5d75(0x2ec),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x550741&&(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x337d0f,{'className':_0x2f5d75(0x255)}),(0x0,_0x31ec98['jsx'])(_0x2f5d75(0x198),{'className':_0x2f5d75(0x1a3),'children':_0x39a4dc}),(0x0,_0x31ec98['jsx'])(_0x2f5d75(0x198),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-center\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x364733?_0x51b1f3[_0x2f5d75(0x330)]:_0x27f8d7===_0x33d37c?_0xde33d7['time']:_0xde33d7[_0x2f5d75(0x330)]+'\x20-\x20'+_0x427c1b['time']}),_0x5247fa&&(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x2f5d75(0x198),{'className':_0x2f5d75(0x313),'children':_0x478521})]}),(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x2f5d75(0x2ec),{'children':_0x4834b2&&(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x4b600c[_0x2f5d75(0x1ae)],{'title':_0x47f5e6['t'](_0x2f5d75(0x2a1)),'children':(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x2f5d75(0x2ec),{'onClick':_0x3d862b=>{const _0x4ed40c=_0x2f5d75;_0x3d862b[_0x4ed40c(0x2bd)](),_0x444eba(_0x252292['id']);},'className':_0x2f5d75(0x28a),'children':(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x51c194,{})})})})]}),(0x0,_0x31ec98['jsx'])(_0x2f5d75(0x2ec),{'className':_0x2f5d75(0x409),'children':_0x319690(_0x252292,_0x47f5e6)})]})]});}let _0x4ffe79=_0x2267a7(0x2f2),_0x16a7f0=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0x535584,_0x511e1c,_0x3c7d79,_0x4bb7ca,_0x19835f){const _0x30a7a7=_0x2267a7;super(),this[_0x30a7a7(0x15a)]=_0x535584,this[_0x30a7a7(0x8c)]=_0x511e1c,this[_0x30a7a7(0x1ec)]=_0x3c7d79,this[_0x30a7a7(0x2ff)]=_0x4bb7ca,this[_0x30a7a7(0x10f)]=_0x19835f,_0x374704(this,_0x30a7a7(0x1df),null),this['_init']();}[_0x2267a7(0x193)](){this['_initPanel']();}[_0x2267a7(0x3ff)](){const _0x16bdcd=_0x2267a7;var _0x36b89d;if(this['_sidebarDisposable'])return;let _0x5d3f8d=((_0x36b89d=this[_0x16bdcd(0x10f)][_0x16bdcd(0x1bf)]('edit-history-viewer.config'))==null?void 0x0:_0x36b89d[_0x16bdcd(0x1bc)])||_0x4ffe79,_0x18248b={'header':{'title':this['_localeService']['t'](_0x16bdcd(0x36f))},'children':{'label':_0x5d3f8d},'onClose':()=>{const _0x2a59d5=_0x16bdcd;this[_0x2a59d5(0x1df)]=null,this[_0x2a59d5(0x2ff)][_0x2a59d5(0x343)]=_0x2a59d5(0xb7);}};this[_0x16bdcd(0x1df)]=this[_0x16bdcd(0x15a)][_0x16bdcd(0x362)]({..._0x18248b});}[_0x2267a7(0x1c1)](){const _0x3f60e8=_0x2267a7;this[_0x3f60e8(0x74)](this['_componentManager'][_0x3f60e8(0x16c)](_0x4ffe79,_0x454ba1)),this[_0x3f60e8(0x74)](this['_historyManagerService']['openPanel$']['subscribe'](_0x284cad=>{const _0x1c92c1=_0x3f60e8;_0x284cad&&this[_0x1c92c1(0x3ff)]();}));}};_0x16a7f0=_0x9526d9([_0x550961(0x0,_0x3f2000[_0x2267a7(0x28e)]),_0x550961(0x1,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3f2000[_0x2267a7(0x314)])),_0x550961(0x2,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x2ba)])),_0x550961(0x3,(0x0,_0x3bba19['Inject'])(_0x4bbed9)),_0x550961(0x4,_0x3bba19[_0x2267a7(0x3b7)])],_0x16a7f0);let _0x29343b=class extends _0x3bba19[_0x2267a7(0x387)]{constructor(_0x3170ab=_0x671578,_0x454703,_0x44b18d,_0x2c0507){const _0x32f034=_0x2267a7;super(),this[_0x32f034(0x3c1)]=_0x3170ab,this[_0x32f034(0x39d)]=_0x454703,this[_0x32f034(0x2fd)]=_0x44b18d,this[_0x32f034(0x10f)]=_0x2c0507;let {..._0x234a01}=(0x0,_0x3bba19['merge'])({},_0x671578,this[_0x32f034(0x3c1)]);this['_configService'][_0x32f034(0x2de)](_0x416c3e,_0x234a01);}[_0x2267a7(0x3da)](){const _0x3c8e82=_0x2267a7;[[_0x4bbed9],[_0x18716b],[_0x31302b],[_0x57a226],[_0x16a7f0],[_0x502411],[_0x26651d[_0x3c8e82(0x3cb)],{'useClass':_0xf6793f[_0x3c8e82(0x19d)]}],[_0x3f2000[_0x3c8e82(0xf6)],{'useClass':_0x14ced6}],[_0x42dade[_0x3c8e82(0x228)],{'useClass':_0xf6793f[_0x3c8e82(0x19f)]}]][_0x3c8e82(0xc9)](_0xa88578=>this['_injector'][_0x3c8e82(0x7b)](_0xa88578)),this[_0x3c8e82(0x39d)]['get'](_0x18716b);}[_0x2267a7(0x2e2)](){const _0x3ef2a8=_0x2267a7;[[_0x2565e2]][_0x3ef2a8(0xc9)](_0x1a72d6=>{const _0x73cb47=_0x3ef2a8;this['disposeWithMe'](this[_0x73cb47(0x2fd)]['registerRenderModule'](_0x3bba19[_0x73cb47(0x1f9)][_0x73cb47(0x18b)],_0x1a72d6));}),this[_0x3ef2a8(0x39d)][_0x3ef2a8(0x249)](_0x502411),this[_0x3ef2a8(0x39d)][_0x3ef2a8(0x249)](_0x16a7f0);}['onSteady'](){const _0x29897b=_0x2267a7;this[_0x29897b(0x39d)][_0x29897b(0x249)](_0x31302b);}};_0x374704(_0x29343b,_0x2267a7(0x2df),_0x2267a7(0x3a2)),_0x374704(_0x29343b,_0x2267a7(0x290),_0xa8026d),_0x374704(_0x29343b,_0x2267a7(0x9e),_0x5c6930),_0x29343b=_0x9526d9([(0x0,_0x3bba19[_0x2267a7(0x1f8)])(_0x24294d['UniverSheetsUIPlugin'],_0x4def42['UniverNetworkPlugin']),_0x550961(0x1,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19['Injector'])),_0x550961(0x2,_0x7352c7['IRenderManagerService']),_0x550961(0x3,_0x3bba19['IConfigService'])],_0x29343b),Object[_0x2267a7(0x2b7)](_0x422e92,'HistoryManagerService',{'enumerable':!0x0,'get':function(){return _0x4bbed9;}}),_0x422e92[_0x2267a7(0x215)]=_0x433f6e,_0x422e92['HistoryOrigin']=_0x24ac3f,Object['defineProperty'](_0x422e92,'UniverEditHistoryViewerMobilePlugin',{'enumerable':!0x0,'get':function(){return _0x5da7ee;}}),Object[_0x2267a7(0x2b7)](_0x422e92,_0x2267a7(0x1ed),{'enumerable':!0x0,'get':function(){return _0x29343b;}}),Object[_0x2267a7(0x2b7)](_0x422e92,_0x2267a7(0x367),{'enumerable':!0x0,'get':function(){return _0x2565e2;}}),Object[_0x2267a7(0x2b7)](_0x422e92,_0x2267a7(0x7d),{'enumerable':!0x0,'get':function(){return _0x31302b;}});}));
18
-
19
- // @univerjs-pro/edit-history-loader/index
20
- function _0x3fb1(_0xfc5d79,_0x3c8a8b){_0xfc5d79=_0xfc5d79-0x8e;const _0x3c974f=_0x3c97();let _0x3fb11f=_0x3c974f[_0xfc5d79];return _0x3fb11f;}(function(_0x300870,_0x3ee065){const _0x3db542=_0x3fb1,_0x56a831=_0x300870();while(!![]){try{const _0x275e86=parseInt(_0x3db542(0x109))/0x1+-parseInt(_0x3db542(0xf2))/0x2*(-parseInt(_0x3db542(0xa3))/0x3)+parseInt(_0x3db542(0x145))/0x4+parseInt(_0x3db542(0x17e))/0x5+-parseInt(_0x3db542(0xc2))/0x6*(parseInt(_0x3db542(0x1bf))/0x7)+-parseInt(_0x3db542(0x1f2))/0x8+-parseInt(_0x3db542(0x135))/0x9*(parseInt(_0x3db542(0x17f))/0xa);if(_0x275e86===_0x3ee065)break;else _0x56a831['push'](_0x56a831['shift']());}catch(_0x29e660){_0x56a831['push'](_0x56a831['shift']());}}}(_0x3c97,0xb1756),function(_0x3299f1,_0x187192){const _0x288a10=_0x3fb1;typeof exports==_0x288a10(0x14b)&&typeof module<'u'?_0x187192(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-shape'),require('@univerjs-pro/sheets-shape-ui'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/design'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-table'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/collaboration-client-ui'),require('react')):typeof define==_0x288a10(0xa4)&&define[_0x288a10(0x11f)]?define(_0x288a10(0x152)['split']('.'),_0x187192):(_0x3299f1=typeof globalThis<'u'?globalThis:_0x3299f1||self,_0x187192(_0x3299f1[_0x288a10(0x1c7)]={},_0x3299f1['UniverCore'],_0x3299f1[_0x288a10(0x132)],_0x3299f1[_0x288a10(0x1d9)],_0x3299f1['UniverProCollaborationClient'],_0x3299f1[_0x288a10(0x1cd)],_0x3299f1['UniverProLicense'],_0x3299f1[_0x288a10(0x1dc)],_0x3299f1[_0x288a10(0x97)],_0x3299f1['UniverProSheetsPivot'],_0x3299f1[_0x288a10(0x141)],_0x3299f1[_0x288a10(0x10c)],_0x3299f1[_0x288a10(0xba)],_0x3299f1['UniverProSheetsSparklineUi'],_0x3299f1[_0x288a10(0x195)],_0x3299f1[_0x288a10(0x1ef)],_0x3299f1['UniverDocs'],_0x3299f1[_0x288a10(0x9d)],_0x3299f1[_0x288a10(0x17c)],_0x3299f1[_0x288a10(0x1e1)],_0x3299f1['UniverEngineFormula'],_0x3299f1['UniverEngineRender'],_0x3299f1[_0x288a10(0x1df)],_0x3299f1[_0x288a10(0x19f)],_0x3299f1[_0x288a10(0x9f)],_0x3299f1[_0x288a10(0x1ad)],_0x3299f1[_0x288a10(0x172)],_0x3299f1[_0x288a10(0xe4)],_0x3299f1[_0x288a10(0x159)],_0x3299f1[_0x288a10(0x94)],_0x3299f1[_0x288a10(0x14a)],_0x3299f1[_0x288a10(0x1be)],_0x3299f1[_0x288a10(0x99)],_0x3299f1[_0x288a10(0x1c2)],_0x3299f1[_0x288a10(0x98)],_0x3299f1[_0x288a10(0x8e)],_0x3299f1['UniverSheetsNumfmt'],_0x3299f1[_0x288a10(0x134)],_0x3299f1[_0x288a10(0xea)],_0x3299f1[_0x288a10(0x15a)],_0x3299f1[_0x288a10(0xb9)],_0x3299f1[_0x288a10(0x1a1)],_0x3299f1[_0x288a10(0x15b)]));}(this,function(_0x47bd7f,_0x4768cc,_0x5291e4,_0x5a4bb3,_0x1bcaaa,_0x24b189,_0xaf852a,_0x26f45d,_0x5eb784,_0x20f548,_0x19153d,_0x52ff92,_0x1a7b2b,_0xbe8b70,_0x2fb111,_0x55689a,_0x2831dd,_0x2fc71c,_0x3c57a0,_0x31f905,_0x58e920,_0x42dad2,_0x2335d0,_0x468f57,_0x9a2c78,_0x29d8f8,_0x56fbbc,_0x335baf,_0x2ccf8e,_0x3d805c,_0x8c7465,_0x3903cf,_0x94ef8b,_0x29d7c7,_0x46ae5d,_0x1a8ceb,_0x3e207d,_0x234dd,_0x563a20,_0x533613,_0x98ff3a,_0x229d5a,_0x57c62c){const _0x800f78=_0x3fb1;Object['defineProperty'](_0x47bd7f,Symbol[_0x800f78(0xdd)],{'value':_0x800f78(0xa6)});let _0x363ddb=_0x800f78(0x19b),_0x2d5bdc={};function _0x589d80(_0x297196){'@babel/helpers - typeof';const _0x591191=_0x800f78;return _0x589d80=typeof Symbol=='function'&&typeof Symbol[_0x591191(0x102)]==_0x591191(0x9e)?function(_0x25780b){return typeof _0x25780b;}:function(_0x11a697){const _0xc6975e=_0x591191;return _0x11a697&&typeof Symbol==_0xc6975e(0xa4)&&_0x11a697['constructor']===Symbol&&_0x11a697!==Symbol[_0xc6975e(0x119)]?_0xc6975e(0x9e):typeof _0x11a697;},_0x589d80(_0x297196);}function _0x5613d4(_0x474fd0,_0x4a9f4a){const _0x5278c2=_0x800f78;if(_0x589d80(_0x474fd0)!=_0x5278c2(0x14b)||!_0x474fd0)return _0x474fd0;var _0x133771=_0x474fd0[Symbol[_0x5278c2(0x13d)]];if(_0x133771!==void 0x0){var _0x1c80bb=_0x133771[_0x5278c2(0xca)](_0x474fd0,_0x4a9f4a||_0x5278c2(0x10e));if(_0x589d80(_0x1c80bb)!=_0x5278c2(0x14b))return _0x1c80bb;throw TypeError(_0x5278c2(0x14c));}return(_0x4a9f4a==='string'?String:Number)(_0x474fd0);}function _0x51c71b(_0x208ba9){const _0x2f3aff=_0x800f78;var _0x38761f=_0x5613d4(_0x208ba9,_0x2f3aff(0x95));return _0x589d80(_0x38761f)==_0x2f3aff(0x9e)?_0x38761f:_0x38761f+'';}function _0x1ff16a(_0x183507,_0x596a59,_0x40931a){const _0x597ff4=_0x800f78;return(_0x596a59=_0x51c71b(_0x596a59))in _0x183507?Object[_0x597ff4(0xd7)](_0x183507,_0x596a59,{'value':_0x40931a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x183507[_0x596a59]=_0x40931a,_0x183507;}function _0x882259(_0x4caf64,_0xd4bd49){return function(_0xe482d,_0x3a6435){_0xd4bd49(_0xe482d,_0x3a6435,_0x4caf64);};}function _0x38cdd8(_0x341b50,_0x1ee58,_0x845896,_0x17ca04){const _0x455c67=_0x800f78;var _0x321786=arguments[_0x455c67(0x143)],_0x157a6a=_0x321786<0x3?_0x1ee58:_0x17ca04===null?_0x17ca04=Object[_0x455c67(0x165)](_0x1ee58,_0x845896):_0x17ca04,_0x17c1a5;if(typeof Reflect==_0x455c67(0x14b)&&typeof Reflect[_0x455c67(0x176)]==_0x455c67(0xa4))_0x157a6a=Reflect[_0x455c67(0x176)](_0x341b50,_0x1ee58,_0x845896,_0x17ca04);else{for(var _0x467c16=_0x341b50[_0x455c67(0x143)]-0x1;_0x467c16>=0x0;_0x467c16--)(_0x17c1a5=_0x341b50[_0x467c16])&&(_0x157a6a=(_0x321786<0x3?_0x17c1a5(_0x157a6a):_0x321786>0x3?_0x17c1a5(_0x1ee58,_0x845896,_0x157a6a):_0x17c1a5(_0x1ee58,_0x845896))||_0x157a6a);}return _0x321786>0x3&&_0x157a6a&&Object[_0x455c67(0xd7)](_0x1ee58,_0x845896,_0x157a6a),_0x157a6a;}let _0x55f9db=_0x800f78(0xec),_0x12ed48=_0x800f78(0xc9),_0x37b57d=class extends _0x4768cc[_0x800f78(0xfc)]{constructor(_0x3f4780,_0x4c91e7,_0x3ac143,_0x257d12,_0x1b6c51,_0x568d43,_0x1f41fe,_0x5dcae7,_0x45881f,_0x18c165){const _0x4a51c4=_0x800f78;super(),this[_0x4a51c4(0x1b7)]=_0x3f4780,this[_0x4a51c4(0x1d7)]=_0x4c91e7,this[_0x4a51c4(0x137)]=_0x3ac143,this[_0x4a51c4(0x1db)]=_0x257d12,this[_0x4a51c4(0x1c8)]=_0x1b6c51,this[_0x4a51c4(0x12c)]=_0x568d43,this[_0x4a51c4(0xaf)]=_0x1f41fe,this[_0x4a51c4(0xbc)]=_0x5dcae7,this[_0x4a51c4(0x1a5)]=_0x45881f,this[_0x4a51c4(0xf6)]=_0x18c165,_0x1ff16a(this,_0x4a51c4(0x1c4),new _0x98ff3a[(_0x4a51c4(0x91))](null)),_0x1ff16a(this,_0x4a51c4(0xcf),this[_0x4a51c4(0x1c4)][_0x4a51c4(0xde)]()),_0x1ff16a(this,_0x4a51c4(0x9c),new _0x4768cc[(_0x4a51c4(0x166))]()),_0x1ff16a(this,'_pluginMap',new Map()),_0x1ff16a(this,_0x4a51c4(0x1a8),null),this[_0x4a51c4(0x183)]();}get['historyUniver'](){const _0x5dd503=_0x800f78;return this['_historyUniver$'][_0x5dd503(0x1c0)];}['_init'](){const _0x55c9eb=_0x800f78;this['_initContainer'](),this[_0x55c9eb(0x1ce)]();}['_initContainer'](){const _0x2a0460=_0x800f78;var _0x55b218;let _0xf2c5bd=(_0x55b218=this[_0x2a0460(0x137)][_0x2a0460(0x1af)]('UNIVER_CONTAINER_ID'))==null?_0x2a0460(0x1da):_0x55b218,_0x174d2b=document[_0x2a0460(0xda)](_0xf2c5bd);if(!_0x174d2b)return;let _0x207850=document[_0x2a0460(0xfd)](_0x2a0460(0xa7));_0x207850['id']=_0x12ed48,_0x207850['dataset'][_0x2a0460(0xd3)]=_0x2a0460(0x1cb),_0x207850['style']['position']=_0x2a0460(0x16a),_0x207850[_0x2a0460(0x1bb)][_0x2a0460(0xb5)]='0',_0x207850['style'][_0x2a0460(0x14e)]='0',_0x207850['style']['width']=_0x2a0460(0x197),_0x207850[_0x2a0460(0x1bb)][_0x2a0460(0xdb)]=_0x2a0460(0x197),_0x207850[_0x2a0460(0x1bb)][_0x2a0460(0x1e3)]='49',_0x207850[_0x2a0460(0x1bb)]['display']=_0x2a0460(0x1ed),_0x174d2b[_0x2a0460(0xac)](_0x207850);}[_0x800f78(0x1ce)](){const _0x295414=_0x800f78;[[_0x42dad2['UniverRenderEnginePlugin']],[_0x533613['UniverUIPlugin'],{'container':_0x12ed48,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x533613[_0x295414(0xb7)],null]]}],[_0x2335d0[_0x295414(0xdc)]],[_0x3c57a0[_0x295414(0x169)],{'override':[[_0x3c57a0[_0x295414(0x138)],null]]}],[_0x2831dd['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x2fc71c['UniverDocsUIPlugin']],[_0x3e207d[_0x295414(0x180)]],[_0x5291e4[_0x295414(0x1a0)],{'notExecuteFormula':!0x0}],[_0x563a20['UniverSheetsUIPlugin']],[_0x94ef8b['UniverSheetsFormulaPlugin']],[_0x29d7c7[_0x295414(0xc3)]],[_0x5a4bb3['UniverCollaborationPlugin']],[_0x8c7465[_0x295414(0xae)]],[_0x3903cf[_0x295414(0x10a)]],[_0x9a2c78[_0x295414(0xe3)]],[_0x29d8f8[_0x295414(0x1e9)]],[_0x46ae5d['UniverSheetsHyperLinkPlugin']],[_0x1a8ceb[_0x295414(0x1a3)]],[_0x2fb111[_0x295414(0xce)]],[_0x56fbbc['UniverSheetsDataValidationPlugin']],[_0x335baf[_0x295414(0x126)]],[_0x58e920[_0x295414(0xc1)],{'notExecuteFormula':!0x0}],[_0x31f905[_0x295414(0x10f)]],[_0x2ccf8e['UniverSheetsDrawingPlugin']],[_0x3d805c[_0x295414(0xcb)]],[_0x1a7b2b[_0x295414(0xa8)]],[_0xbe8b70[_0x295414(0xff)]],[_0x26f45d['UniverSheetsChartPlugin']],[_0x5eb784[_0x295414(0x1b9)]],[_0x19153d['UniverSheetsShapePlugin']],[_0x52ff92['UniverSheetsShapeUIPlugin']],[_0x20f548['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x234dd['UniverSheetsTablePlugin']]][_0x295414(0x136)](([_0x5de4c7,_0x111e19])=>this[_0x295414(0x9a)](_0x5de4c7,_0x111e19));}[_0x800f78(0x1ae)](){const _0x230a39=_0x800f78;super[_0x230a39(0x1ae)](),this[_0x230a39(0x1eb)](),this['_pluginMap']['clear']();}['registerPlugin'](_0x49c9d1,_0x1980fb,_0x1a7d79){const _0x26459f=_0x800f78;if(this[_0x26459f(0x1ac)][_0x26459f(0x173)](_0x49c9d1[_0x26459f(0xf1)])&&!_0x1a7d79)throw Error(_0x26459f(0xe2)+_0x49c9d1[_0x26459f(0xf1)]+'\x20has\x20been\x20registered.');this[_0x26459f(0x1ac)][_0x26459f(0x1f3)](_0x49c9d1['pluginName'],[_0x49c9d1,_0x1980fb]);}[_0x800f78(0xa2)](){const _0x571041=_0x800f78;return Array['from'](this[_0x571041(0x1ac)]['values']());}[_0x800f78(0x160)](_0x401a34,_0x1b6e66){const _0x41dbea=_0x800f78;let _0x1684bb=document[_0x41dbea(0xda)](_0x12ed48);_0x1684bb&&(_0x1684bb['style'][_0x41dbea(0x12f)]='block',this[_0x41dbea(0xf9)](_0x401a34,_0x12ed48,_0x1b6e66));}[_0x800f78(0x1eb)](){const _0x580956=_0x800f78;var _0x4a5d79;this[_0x580956(0x9c)][_0x580956(0x1ae)](),(_0x4a5d79=this['historyUniver'])==null||_0x4a5d79[_0x580956(0x1ae)](),this['_historyUniver$'][_0x580956(0x181)](null);let _0x4576a5=document[_0x580956(0xda)](_0x12ed48);_0x4576a5&&(_0x4576a5[_0x580956(0x1bb)]['display']=_0x580956(0x1ed),this[_0x580956(0x1a8)]&&(this[_0x580956(0x1a8)]['terminate'](),this[_0x580956(0x1a8)]=null));}[_0x800f78(0xf9)](_0x577254,_0x56fb9e,_0x42b9a4){const _0x311bbd=_0x800f78;var _0x49f9fe,_0x2cc709,_0x1014de,_0x4a3f46,_0x22e3b;if(this[_0x311bbd(0x186)])return;let _0x1f3a68=new _0x4768cc[(_0x311bbd(0xb4))]({'locales':{[this[_0x311bbd(0x1b7)]['getCurrentLocale']()]:this[_0x311bbd(0x1b7)][_0x311bbd(0xf8)]()},'override':[[_0x4768cc[_0x311bbd(0x1b6)],{'useClass':_0x1bcaaa[_0x311bbd(0xfb)]}]]}),_0x228463=_0x1f3a68[_0x311bbd(0x193)]();this['disposeWithMe'](this[_0x311bbd(0xf6)][_0x311bbd(0x13a)][_0x311bbd(0x15d)](_0x38cc8c=>{const _0x3d57c3=_0x311bbd;_0x228463[_0x3d57c3(0x1b5)](_0x4768cc[_0x3d57c3(0xd6)])[_0x3d57c3(0x1a7)](_0x38cc8c);})),this[_0x311bbd(0x11d)](this['_themeService'][_0x311bbd(0xfe)]['subscribe'](_0x147112=>{const _0x2ba592=_0x311bbd;_0x228463[_0x2ba592(0x1b5)](_0x4768cc[_0x2ba592(0xd6)])['setTheme'](_0x147112);})),_0x228463[_0x311bbd(0x1b5)](_0x4768cc[_0x311bbd(0x18b)])[_0x311bbd(0x11c)](this[_0x311bbd(0x1b7)][_0x311bbd(0x198)]()),_0x228463[_0x311bbd(0x1b5)](_0x4768cc[_0x311bbd(0x161)])[_0x311bbd(0x1c3)](_0x1bcaaa[_0x311bbd(0x131)],this[_0x311bbd(0x137)][_0x311bbd(0x1af)](_0x1bcaaa[_0x311bbd(0x131)]));let _0x10b622=this['_configService'][_0x311bbd(0x1af)](_0xaf852a[_0x311bbd(0x93)]);_0x10b622&&_0x1f3a68[_0x311bbd(0x9a)](_0xaf852a[_0x311bbd(0x1ec)],{'license':_0x10b622['ls']});let _0x29596f=(_0x49f9fe=this['_configService'][_0x311bbd(0x1af)](_0x311bbd(0x19b)))==null?void 0x0:_0x49f9fe[_0x311bbd(0x1b8)],_0x1bfce=!!_0x29596f;_0x1bfce&&(this[_0x311bbd(0x1a8)]=_0x29596f instanceof Worker?_0x29596f:null,_0x1f3a68[_0x311bbd(0x9a)](_0x468f57[_0x311bbd(0xb2)],{'workerURL':_0x29596f})),this['_pluginMap']['forEach'](([_0x546a72,_0x1c41fb])=>{const _0x305306=_0x311bbd;_0x1f3a68[_0x305306(0x9a)](_0x546a72,_0x1c41fb);}),_0x1f3a68['registerPlugin'](_0x24b189[_0x311bbd(0x124)],{'historyListServerUrl':(_0x2cc709=this[_0x311bbd(0x137)][_0x311bbd(0x1af)](_0x311bbd(0x19b)))==null?void 0x0:_0x2cc709[_0x311bbd(0xbb)],'historyPanelComponentKey':(_0x1014de=this['_configService'][_0x311bbd(0x1af)](_0x311bbd(0x19b)))==null?void 0x0:_0x1014de[_0x311bbd(0xc4)],'historyPanelHidden':(_0x4a3f46=this['_configService'][_0x311bbd(0x1af)]('edit-history-loader.config'))==null?void 0x0:_0x4a3f46[_0x311bbd(0xf3)],'historyAIassistantEnabled':(_0x22e3b=this['_configService']['getConfig'](_0x311bbd(0x19b)))==null?void 0x0:_0x22e3b[_0x311bbd(0x1a9)]}),_0x228463['invoke'](_0x144530=>{this['_initListener'](_0x144530,_0x577254);}),this[_0x311bbd(0x1c4)][_0x311bbd(0x181)](_0x1f3a68);let _0x3c8924=_0x228463['get'](_0x24b189[_0x311bbd(0x1b1)]),_0x3ed72b=this['_checkCanRevert'](_0x577254),_0xd2760e=()=>{const _0x11d4c2=_0x311bbd;_0x42b9a4?_0x3c8924['triggerCustomVersions'](_0x577254,_0x56fb9e,_0x3ed72b,_0x42b9a4):_0x3c8924[_0x11d4c2(0x1b0)](_0x577254,_0x56fb9e,_0x3ed72b);};if(this['_messageService'][_0x311bbd(0x1aa)]({'content':this['_localeService']['t'](_0x311bbd(0x16e)),'type':_0x55689a[_0x311bbd(0x15c)][_0x311bbd(0xbd)]}),_0x1bfce)try{_0x228463['get'](_0x468f57[_0x311bbd(0x13f)])[_0x311bbd(0x164)]()[_0x311bbd(0x179)](()=>{_0xd2760e();});}catch{_0xd2760e();}else _0xd2760e();}[_0x800f78(0x18d)](_0x58ab44,_0x398b56){const _0x3f3bc1=_0x800f78;let _0x2816bc=_0x58ab44[_0x3f3bc1(0x1b5)](_0x24b189[_0x3f3bc1(0x1b1)]);this[_0x3f3bc1(0x9c)][_0x3f3bc1(0x16f)](_0x2816bc[_0x3f3bc1(0x10d)][_0x3f3bc1(0x15d)](_0x55af5a=>{const _0x259c24=_0x3f3bc1;switch(_0x55af5a){case _0x24b189[_0x259c24(0xe5)][_0x259c24(0xf4)]:this[_0x259c24(0xbc)][_0x259c24(0x155)](),this[_0x259c24(0x1a5)][_0x259c24(0x1ba)]();break;case _0x24b189[_0x259c24(0xe5)][_0x259c24(0x17d)]:this[_0x259c24(0x1db)][_0x259c24(0x90)](_0xe4584b['id']),this[_0x259c24(0x1eb)]();break;case _0x24b189[_0x259c24(0xe5)]['Error']:this[_0x259c24(0x1eb)](),this['_messageService'][_0x259c24(0x1aa)]({'content':this[_0x259c24(0x1b7)]['t']('edit-history-loader.panel.listFetchError'),'type':_0x55689a[_0x259c24(0x15c)][_0x259c24(0x151)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x3f3bc1(0x16f)](_0x2816bc[_0x3f3bc1(0x1a4)][_0x3f3bc1(0x15d)](async _0x2a1f96=>{const _0x44fbeb=_0x3f3bc1;_0x2a1f96&&this[_0x44fbeb(0x1db)][_0x44fbeb(0x90)](_0x5a4bb3['RevertRevisionMutation']['id'],{'unitId':_0x398b56,'revision':_0x2a1f96});}));}['_checkCanRevert'](_0x380ebb){const _0xad41f6=_0x800f78;let _0x189d12=this[_0xad41f6(0x1d7)]['getUnit'](_0x380ebb)[_0xad41f6(0x149)]()[_0xad41f6(0xf0)](_0xf0b686=>_0xf0b686[_0xad41f6(0x120)]()),_0xe9a4e2=new _0x5291e4[(_0xad41f6(0x12b))](_0x380ebb)['id'],_0x377a2a=_0x189d12[_0xad41f6(0xf0)](_0x50cda2=>new _0x5291e4[(_0xad41f6(0x157))](_0x380ebb,_0x50cda2)['id']),_0x3aa28f=_0x189d12[_0xad41f6(0xf0)](_0x4b3607=>this[_0xad41f6(0xaf)][_0xad41f6(0x1c9)](_0x380ebb,_0x4b3607)[_0xad41f6(0xf0)](_0x5b1a8c=>new _0x5291e4[(_0xad41f6(0x1e7))](_0x380ebb,_0x4b3607,_0x5b1a8c['permissionId'])['id']))[_0xad41f6(0x1d5)](),_0x2844c2=new _0x5291e4[(_0xad41f6(0x1d4))](_0x380ebb)['id'];return this[_0xad41f6(0x12c)][_0xad41f6(0x153)]([_0xe9a4e2,..._0x377a2a,..._0x3aa28f,_0x2844c2])['every'](_0x234528=>!!_0x234528['value']);}};_0x37b57d=_0x38cdd8([_0x882259(0x0,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0x18b)])),_0x882259(0x1,_0x4768cc[_0x800f78(0x14d)]),_0x882259(0x2,_0x4768cc[_0x800f78(0x161)]),_0x882259(0x3,_0x4768cc[_0x800f78(0x110)]),_0x882259(0x4,_0x533613[_0x800f78(0x182)]),_0x882259(0x5,_0x4768cc[_0x800f78(0xd2)]),_0x882259(0x6,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x5291e4[_0x800f78(0x122)])),_0x882259(0x7,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x533613[_0x800f78(0xb7)])),_0x882259(0x8,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x533613[_0x800f78(0x12e)])),_0x882259(0x9,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0xd6)]))],_0x37b57d);let _0x4ed86a={'id':_0x800f78(0x175),'type':_0x4768cc[_0x800f78(0x174)][_0x800f78(0xf7)],'handler':_0x1c2e59=>{const _0x3d1b82=_0x800f78;let _0x1011c6=_0x1c2e59[_0x3d1b82(0x1b5)](_0x37b57d),{unitId:_0x56c28c}=(0x0,_0x5291e4[_0x3d1b82(0xaa)])(_0x1c2e59[_0x3d1b82(0x1b5)](_0x4768cc[_0x3d1b82(0x14d)]))||{};return _0x56c28c?(_0x1011c6[_0x3d1b82(0x160)](_0x56c28c),!0x0):!0x1;}},_0xe4584b={'id':_0x800f78(0xcd),'type':_0x4768cc[_0x800f78(0x174)][_0x800f78(0xf7)],'handler':()=>!0x0};var _0x2744bf=_0x800f78(0x12d),_0x151c73=_0x800f78(0x150);function _0x28621a({ref:_0x13bab1,..._0x415950}){const _0x465441=_0x800f78;let {icon:_0x208242,id:_0x51de9e,className:_0x153c99,extend:_0x585b4b,..._0x27d268}=_0x415950,_0x142101=('univerjs-icon\x20univerjs-icon-'+_0x51de9e+'\x20'+(_0x153c99||''))[_0x465441(0xb1)](),_0x142251=(0x0,_0x57c62c['useRef'])('_'+_0x1c2b70());return _0x5c4280(_0x208242,''+_0x51de9e,{'defIds':_0x208242[_0x465441(0x1ab)],'idSuffix':_0x142251[_0x465441(0x178)]},{'ref':_0x13bab1,'className':_0x142101,..._0x27d268},_0x585b4b);}function _0x5c4280(_0x3f2d39,_0x2ba780,_0x20a4eb,_0x123ab9,_0x21edcf){const _0x3b35ec=_0x800f78;return(0x0,_0x57c62c[_0x3b35ec(0xfd)])(_0x3f2d39[_0x3b35ec(0x1e2)],{'key':_0x2ba780,..._0x543c7d(_0x3f2d39,_0x20a4eb,_0x21edcf),..._0x123ab9},(_0x1c493a(_0x3f2d39,_0x20a4eb)[_0x3b35ec(0x158)]||[])[_0x3b35ec(0xf0)]((_0x195ca6,_0x235f5a)=>_0x5c4280(_0x195ca6,_0x2ba780+'-'+_0x3f2d39[_0x3b35ec(0x1e2)]+'-'+_0x235f5a,_0x20a4eb,void 0x0,_0x21edcf)));}function _0x543c7d(_0x5e8967,_0x499815,_0x5e52f4){const _0x109131=_0x800f78;let _0x4ea6ce={..._0x5e8967[_0x109131(0xc5)]};_0x5e52f4!=null&&_0x5e52f4['colorChannel1']&&_0x4ea6ce[_0x109131(0x18c)]==='colorChannel1'&&(_0x4ea6ce['fill']=_0x5e52f4[_0x109131(0x1f1)]),_0x5e8967[_0x109131(0x1e2)]===_0x109131(0xbf)&&_0x4ea6ce['id']&&(_0x4ea6ce['id']+=_0x499815[_0x109131(0xed)]),Object['entries'](_0x4ea6ce)[_0x109131(0x136)](([_0x4a3df1,_0x3191bb])=>{const _0xb4e01c=_0x109131;_0x4a3df1===_0xb4e01c(0xbf)&&typeof _0x3191bb==_0xb4e01c(0x95)&&(_0x4ea6ce[_0x4a3df1]=_0x3191bb[_0xb4e01c(0xb3)](/url\(#(.*)\)/,_0xb4e01c(0x1ea)+_0x499815[_0xb4e01c(0xed)]+')'));});let {defIds:_0x4cd540}=_0x499815;return!_0x4cd540||_0x4cd540['length']===0x0?_0x4ea6ce:(_0x5e8967[_0x109131(0x1e2)]===_0x109131(0x185)&&_0x4ea6ce[_0x109131(0x1f4)]&&(_0x4ea6ce[_0x109131(0x1f4)]+=_0x499815[_0x109131(0xed)]),Object['entries'](_0x4ea6ce)[_0x109131(0x136)](([_0x94733f,_0x3c9a58])=>{const _0x5deb9c=_0x109131;typeof _0x3c9a58==_0x5deb9c(0x95)&&(_0x4ea6ce[_0x94733f]=_0x3c9a58['replace'](/url\(#(.*)\)/,'url(#$1'+_0x499815[_0x5deb9c(0xed)]+')'));}),_0x4ea6ce);}function _0x1c493a(_0x464485,_0x435283){const _0x3633ee=_0x800f78;var _0x281080;let {defIds:_0x3951d7}=_0x435283;return!_0x3951d7||_0x3951d7[_0x3633ee(0x143)]===0x0?_0x464485:_0x464485[_0x3633ee(0x1e2)]===_0x3633ee(0x1c5)&&(_0x281080=_0x464485['children'])!=null&&_0x281080['length']?{..._0x464485,'children':_0x464485['children'][_0x3633ee(0xf0)](_0x970630=>typeof _0x970630['attrs']['id']==_0x3633ee(0x95)&&_0x3951d7&&_0x3951d7['includes'](_0x970630[_0x3633ee(0xc5)]['id'])?{..._0x970630,'attrs':{..._0x970630[_0x3633ee(0xc5)],'id':_0x970630[_0x3633ee(0xc5)]['id']+_0x435283[_0x3633ee(0xed)]}}:_0x970630)}:_0x464485;}function _0x1c2b70(){const _0x39258e=_0x800f78;return Math['random']()[_0x39258e(0x13b)](0x24)[_0x39258e(0x144)](0x2,0x8);}_0x28621a['displayName']='UniverIcon';let _0x257b5c={'tag':_0x800f78(0x1de),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x800f78(0x1ed),'viewBox':'0\x200\x2016\x2016','width':_0x800f78(0x1bc),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x800f78(0xab),'clipPath':_0x800f78(0x189)},'children':[{'tag':_0x800f78(0xad),'attrs':{'d':_0x800f78(0x92)}},{'tag':'path','attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':_0x800f78(0x1c5),'attrs':{},'children':[{'tag':_0x800f78(0x103),'attrs':{'id':_0x800f78(0x147)},'children':[{'tag':_0x800f78(0xad),'attrs':{'fill':_0x800f78(0xe8),'d':_0x800f78(0x19a)}}]}]}],'defIds':[_0x800f78(0x147)]},_0x47de05=(0x0,_0x57c62c[_0x800f78(0xdf)])(function(_0x59464a,_0x52c4ba){const _0x15272d=_0x800f78;return(0x0,_0x57c62c['createElement'])(_0x28621a,Object[_0x15272d(0x117)]({},_0x59464a,{'id':_0x15272d(0x1d1),'ref':_0x52c4ba,'icon':_0x257b5c}));});_0x47de05[_0x800f78(0x13e)]=_0x800f78(0x105);function _0x31fb98(_0x13f582){const _0x1b201f=_0x800f78;return{'id':_0x4ed86a['id'],'type':_0x533613['MenuItemType']['BUTTON'],'icon':_0x1b201f(0x105),'tooltip':'edit-history-loader.panel.title','hidden$':(0x0,_0x533613[_0x1b201f(0xa5)])(_0x13f582,_0x4768cc['UniverInstanceType'][_0x1b201f(0xd9)]),'disabled$':(0x0,_0x563a20[_0x1b201f(0x190)])(_0x13f582,{'workbookTypes':[_0x5291e4[_0x1b201f(0x113)]],'worksheetTypes':[],'rangeTypes':[]})};}let _0x6e07a0={[_0x533613[_0x800f78(0x1d3)][_0x800f78(0x146)]]:{[_0x4ed86a['id']]:{'order':0.2,'menuItemFactory':_0x31fb98}}},_0x991532=class extends _0x4768cc['RxDisposable']{constructor(_0x58967b,_0xdceab7,_0xfe2802,_0x1dd040,_0x172131,_0x21dc51,_0x51d82c,_0x1be745,_0x58b5ce,_0x391709,_0x1f0e2a){const _0x55c0ad=_0x800f78;super(),this[_0x55c0ad(0x1db)]=_0x58967b,this[_0x55c0ad(0xb8)]=_0xdceab7,this[_0x55c0ad(0x108)]=_0xfe2802,this[_0x55c0ad(0x13c)]=_0x1dd040,this[_0x55c0ad(0x1b7)]=_0x172131,this[_0x55c0ad(0x1c8)]=_0x21dc51,this[_0x55c0ad(0x1b2)]=_0x51d82c,this[_0x55c0ad(0xd8)]=_0x1be745,this['_dataLoaderService']=_0x58b5ce,this['_univerInstanceService']=_0x391709,this[_0x55c0ad(0x142)]=_0x1f0e2a,_0x1ff16a(this,_0x55c0ad(0xe7),null),this[_0x55c0ad(0x183)]();}[_0x800f78(0x183)](){const _0x5462fa=_0x800f78;[_0x4ed86a,_0xe4584b][_0x5462fa(0x136)](_0x41da18=>this[_0x5462fa(0x11d)]((0x0,_0x4768cc[_0x5462fa(0xeb)])(this[_0x5462fa(0x1db)]['registerCommand'](_0x41da18)))),this[_0x5462fa(0x11d)](this[_0x5462fa(0x108)][_0x5462fa(0xe1)]('HistoryIcon',_0x47de05)),this[_0x5462fa(0xb8)][_0x5462fa(0x1d0)](_0x6e07a0),this['disposeWithMe'](this[_0x5462fa(0x1db)][_0x5462fa(0x194)](async(_0x24c0c0,_0x58adb3)=>{const _0x37440e=_0x5462fa;if(_0x24c0c0['id']===_0x5a4bb3[_0x37440e(0x17b)]['id']){let {unitId:_0xd9858f}=_0x24c0c0['params'];this[_0x37440e(0x1c8)][_0x37440e(0x1aa)]({'content':this[_0x37440e(0x1b7)]['t']('edit-history-loader.panel.reverting'),'type':_0x55689a[_0x37440e(0x15c)][_0x37440e(0xbd)],'duration':0x1388});let _0x5dfde2=this[_0x37440e(0x1b2)][_0x37440e(0x191)](_0xd9858f);_0x58adb3!=null&&_0x58adb3['fromCollab']?this[_0x37440e(0x167)](_0x5dfde2,async()=>(setTimeout(()=>window[_0x37440e(0x19c)]['reload']()),!0x0),!0x0):this[_0x37440e(0x167)](_0x5dfde2,async()=>{const _0x19816a=_0x37440e;let _0x343a28=this[_0x19816a(0x1d7)][_0x19816a(0x128)](_0x4768cc[_0x19816a(0x1d6)][_0x19816a(0xd9)]),_0x36011c=_0x343a28==null?void 0x0:_0x343a28[_0x19816a(0xb6)]();if(!_0x36011c)return!0x1;this[_0x19816a(0x1d7)][_0x19816a(0x115)](_0xd9858f);let _0x392109=await this[_0x19816a(0x101)][_0x19816a(0x1dd)](_0xd9858f,_0x4768cc[_0x19816a(0x1d6)][_0x19816a(0xd9)]);return _0x392109&&_0x392109 instanceof _0x4768cc['Workbook']?(await this['_setupSubUnitSync'](_0x392109,_0x36011c[_0x19816a(0x120)]()),!0x0):!0x1;});}}));}[_0x800f78(0x167)](_0x3549b5,_0x357860,_0x26b996=!0x1){const _0x3239d5=_0x800f78;let _0x176ebc=(0x0,_0x98ff3a[_0x3239d5(0x130)])([_0x3549b5[_0x3239d5(0xe9)][_0x3239d5(0x15f)],_0x3549b5[_0x3239d5(0x140)]])[_0x3239d5(0x15d)](async([_0x172ec1,_0x164a63])=>{const _0x52d4db=_0x3239d5;if(_0x172ec1[_0x52d4db(0x1b3)]===_0x5a4bb3[_0x52d4db(0x1e0)][_0x52d4db(0x1cc)]&&(_0x164a63==null?void 0x0:_0x164a63[_0x52d4db(0x14f)])===_0x1bcaaa[_0x52d4db(0x114)][_0x52d4db(0xe0)]&&_0x172ec1['data'][_0x52d4db(0x184)][_0x52d4db(0x139)](_0x5e1496=>_0x5e1496['id']===_0x5a4bb3[_0x52d4db(0x17b)]['id'])&&await _0x357860()){var _0x3458d2;this[_0x52d4db(0x13c)][_0x52d4db(0x1eb)](),_0x176ebc['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this[_0x52d4db(0xe7)]),await((_0x3458d2=this[_0x52d4db(0xd8)])==null?void 0x0:_0x3458d2[_0x52d4db(0x100)]()),this[_0x52d4db(0x1c8)]['removeAll']();}});_0x26b996&&(this[_0x3239d5(0xe7)]=setTimeout(()=>{const _0x391505=_0x3239d5;_0x176ebc[_0x391505(0x19d)](),this[_0x391505(0x1c8)][_0x391505(0x1aa)]({'content':this['_localeService']['t'](_0x391505(0x1ca)),'type':_0x55689a[_0x391505(0x15c)][_0x391505(0x151)],'duration':0xbb8});},0x1388));}async[_0x800f78(0xc8)](_0x11d744,_0x4e0c0d){const _0x19e619=_0x800f78;await this[_0x19e619(0x18e)](_0x11d744,_0x4e0c0d),_0x11d744[_0x19e619(0xa0)][_0x19e619(0x15e)]((0x0,_0x98ff3a[_0x19e619(0x1d2)])(this[_0x19e619(0x123)]))['subscribe'](_0x198951=>{_0x198951&&this['_updateURLWithCurrentState'](_0x198951);}),this[_0x19e619(0x142)][_0x19e619(0xbe)]['pipe']((0x0,_0x98ff3a['takeUntil'])(this['dispose$']))['subscribe'](()=>this[_0x19e619(0x18e)](_0x11d744,_0x4e0c0d));}['_updateURLWithCurrentState'](_0x88f6cd,_0x275ee4=!0x1){const _0x28cbc9=_0x800f78;let _0x47c03d=this['_urlService'][_0x28cbc9(0x187)]('subunit');_0x88f6cd[_0x28cbc9(0x120)]()!==_0x47c03d&&this[_0x28cbc9(0x142)][_0x28cbc9(0x163)](_0x28cbc9(0x162),_0x88f6cd[_0x28cbc9(0x120)](),_0x275ee4);}async['_updateSubUnitFromURLParams'](_0x16ea57,_0x5c67c5){const _0x9c5df1=_0x800f78;var _0x126cb0;if(!_0x5c67c5||!_0x16ea57[_0x9c5df1(0x1f0)](_0x5c67c5)){let _0x446c9b=_0x16ea57['getUnhiddenWorksheets']()[0x0],_0x1e3d20=_0x16ea57['getSheetBySheetId'](_0x446c9b);if(!_0x1e3d20)return;this[_0x9c5df1(0xc0)](_0x1e3d20,!0x0),await this['_commandService'][_0x9c5df1(0x90)](_0x5291e4['SetWorksheetActivateCommand']['id'],{'unitId':_0x16ea57[_0x9c5df1(0x19e)](),'subUnitId':_0x446c9b});return;}((_0x126cb0=_0x16ea57[_0x9c5df1(0xb6)]())==null?void 0x0:_0x126cb0[_0x9c5df1(0x120)]())!==_0x5c67c5&&await this[_0x9c5df1(0x1db)][_0x9c5df1(0x90)](_0x5291e4['SetWorksheetActivateCommand']['id'],{'unitId':_0x16ea57[_0x9c5df1(0x19e)](),'subUnitId':_0x5c67c5});}};_0x991532=_0x38cdd8([_0x882259(0x0,_0x4768cc[_0x800f78(0x110)]),_0x882259(0x1,_0x533613[_0x800f78(0x177)]),_0x882259(0x2,(0x0,_0x4768cc['Inject'])(_0x533613[_0x800f78(0x1ee)])),_0x882259(0x3,(0x0,_0x4768cc['Inject'])(_0x37b57d)),_0x882259(0x4,(0x0,_0x4768cc['Inject'])(_0x4768cc[_0x800f78(0x18b)])),_0x882259(0x5,_0x533613[_0x800f78(0x182)]),_0x882259(0x6,(0x0,_0x4768cc['Inject'])(_0x1bcaaa['CollaborationController'])),_0x882259(0x7,_0x1bcaaa[_0x800f78(0x17a)]),_0x882259(0x8,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x1bcaaa[_0x800f78(0x1e8)])),_0x882259(0x9,_0x4768cc[_0x800f78(0x14d)]),_0x882259(0xa,_0x229d5a[_0x800f78(0x156)])],_0x991532);let _0x3f86ab=_0x800f78(0xf5),_0x14791e=class extends _0x4768cc[_0x800f78(0xfc)]{constructor(_0x1bc53a,_0x340555,_0x9a63b4,_0x10b001,_0x108e80,_0x395f6c,_0x273fd9,_0x18aeb7,_0x18dafd,_0x2d6db8){const _0x35549b=_0x800f78;super(),this[_0x35549b(0x1b7)]=_0x1bc53a,this[_0x35549b(0x1d7)]=_0x340555,this[_0x35549b(0x137)]=_0x9a63b4,this[_0x35549b(0x1db)]=_0x10b001,this[_0x35549b(0x1c8)]=_0x108e80,this['_permissionService']=_0x395f6c,this[_0x35549b(0xaf)]=_0x273fd9,this['_dialogService']=_0x18aeb7,this[_0x35549b(0x1a5)]=_0x18dafd,this[_0x35549b(0xf6)]=_0x2d6db8,_0x1ff16a(this,_0x35549b(0x1c4),new _0x98ff3a[(_0x35549b(0x91))](null)),_0x1ff16a(this,_0x35549b(0xcf),this[_0x35549b(0x1c4)][_0x35549b(0xde)]()),_0x1ff16a(this,_0x35549b(0x9c),new _0x4768cc[(_0x35549b(0x166))]()),_0x1ff16a(this,_0x35549b(0x1ac),new Map()),_0x1ff16a(this,_0x35549b(0x1a8),null),this['_init']();}get[_0x800f78(0x186)](){return this['_historyUniver$']['value'];}['_init'](){const _0x1d3cb3=_0x800f78;this[_0x1d3cb3(0x127)](),this[_0x1d3cb3(0x1ce)]();}[_0x800f78(0x127)](){const _0x309196=_0x800f78;var _0x3a6688;let _0x382178=(_0x3a6688=this[_0x309196(0x137)]['getConfig']('UNIVER_CONTAINER_ID'))==null?_0x309196(0x1da):_0x3a6688,_0x55fc50=document[_0x309196(0xda)](_0x382178);if(!_0x55fc50)return;let _0x1c46dc=document[_0x309196(0xfd)](_0x309196(0xa7));_0x1c46dc['id']=_0x3f86ab,_0x1c46dc[_0x309196(0xd1)]['uComp']=_0x309196(0x1cb),_0x1c46dc[_0x309196(0x1bb)]['position']=_0x309196(0x16a),_0x1c46dc['style'][_0x309196(0xb5)]='0',_0x1c46dc[_0x309196(0x1bb)][_0x309196(0x14e)]='0',_0x1c46dc[_0x309196(0x1bb)][_0x309196(0x106)]='100%',_0x1c46dc[_0x309196(0x1bb)][_0x309196(0xdb)]=_0x309196(0x197),_0x1c46dc[_0x309196(0x1bb)]['zIndex']='49',_0x1c46dc[_0x309196(0x1bb)][_0x309196(0x12f)]=_0x309196(0x1ed),_0x55fc50[_0x309196(0xac)](_0x1c46dc);}['_initPlugins'](){const _0x208bd9=_0x800f78;[[_0x42dad2['UniverRenderEnginePlugin']],[_0x533613[_0x208bd9(0x8f)],{'container':_0x3f86ab,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x533613[_0x208bd9(0xb7)],null]]}],[_0x2335d0[_0x208bd9(0xdc)]],[_0x3c57a0[_0x208bd9(0x169)],{'override':[[_0x3c57a0[_0x208bd9(0x138)],null]]}],[_0x2831dd[_0x208bd9(0x1c1)],{'hasScroll':!0x1}],[_0x2fc71c[_0x208bd9(0x11e)]],[_0x3e207d[_0x208bd9(0x180)]],[_0x5291e4[_0x208bd9(0x1a0)],{'notExecuteFormula':!0x0}],[_0x563a20['UniverSheetsMobileUIPlugin']],[_0x94ef8b[_0x208bd9(0x1d8)]],[_0x29d7c7['UniverSheetsFormulaUIPlugin']],[_0x5a4bb3[_0x208bd9(0xc6)]],[_0x8c7465[_0x208bd9(0xae)]],[_0x9a2c78['UniverSheetsConditionalFormattingPlugin']],[_0x46ae5d[_0x208bd9(0x11b)]],[_0x1a8ceb['UniverSheetsHyperLinkUIPlugin']],[_0x2fb111[_0x208bd9(0xce)]],[_0x56fbbc[_0x208bd9(0xc7)]],[_0x335baf[_0x208bd9(0x1e4)]],[_0x58e920['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x31f905[_0x208bd9(0x10f)]],[_0x2ccf8e[_0x208bd9(0xa9)]],[_0x3d805c[_0x208bd9(0xcb)]],[_0x1a7b2b[_0x208bd9(0xa8)]],[_0xbe8b70[_0x208bd9(0xff)]],[_0x26f45d['UniverSheetsChartPlugin']],[_0x5eb784[_0x208bd9(0x1b9)]],[_0x19153d[_0x208bd9(0x192)]],[_0x52ff92['UniverSheetsShapeUIPlugin']],[_0x20f548[_0x208bd9(0x16b)],{'notExecuteFormula':!0x0}],[_0x234dd[_0x208bd9(0x171)]]]['forEach'](([_0x179de9,_0x557e28])=>this[_0x208bd9(0x9a)](_0x179de9,_0x557e28));}[_0x800f78(0x1ae)](){const _0x27faa9=_0x800f78;super[_0x27faa9(0x1ae)](),this['unMountHistoryContent'](),this[_0x27faa9(0x1ac)][_0x27faa9(0x118)]();}[_0x800f78(0x9a)](_0x532e9f,_0x1c0c6a,_0x3d9564){const _0x1e3c7a=_0x800f78;if(this[_0x1e3c7a(0x1ac)][_0x1e3c7a(0x173)](_0x532e9f[_0x1e3c7a(0xf1)])&&!_0x3d9564)throw Error(_0x1e3c7a(0xfa)+_0x532e9f['pluginName']+'\x20has\x20been\x20registered.');this['_pluginMap'][_0x1e3c7a(0x1f3)](_0x532e9f[_0x1e3c7a(0xf1)],[_0x532e9f,_0x1c0c6a]);}[_0x800f78(0xa2)](){const _0x194336=_0x800f78;return Array[_0x194336(0x168)](this[_0x194336(0x1ac)]['values']());}[_0x800f78(0x160)](_0x57df60,_0x4b4068){const _0xf63ff9=_0x800f78;let _0x38185d=document[_0xf63ff9(0xda)](_0x3f86ab);_0x38185d&&(_0x38185d[_0xf63ff9(0x1bb)][_0xf63ff9(0x12f)]=_0xf63ff9(0xe6),this[_0xf63ff9(0xf9)](_0x57df60,_0x3f86ab,_0x4b4068));}[_0x800f78(0x1eb)](){const _0x2d382a=_0x800f78;var _0x6796ba;this['_disposableCollection'][_0x2d382a(0x1ae)](),(_0x6796ba=this['historyUniver'])==null||_0x6796ba[_0x2d382a(0x1ae)](),this[_0x2d382a(0x1c4)][_0x2d382a(0x181)](null);let _0xe6e60d=document['getElementById'](_0x3f86ab);_0xe6e60d&&(_0xe6e60d['style'][_0x2d382a(0x12f)]=_0x2d382a(0x1ed),this[_0x2d382a(0x1a8)]&&(this[_0x2d382a(0x1a8)][_0x2d382a(0xd4)](),this[_0x2d382a(0x1a8)]=null));}['_initUniver'](_0x246d72,_0xa67c85,_0x55f4b2){const _0x5bc821=_0x800f78;var _0x2a6f80,_0x203230,_0x412cbb,_0x3ea0cf;if(this[_0x5bc821(0x186)])return;let _0x935996=new _0x4768cc['Univer']({'locales':{[this[_0x5bc821(0x1b7)][_0x5bc821(0x198)]()]:this[_0x5bc821(0x1b7)]['getLocales']()},'override':[[_0x4768cc[_0x5bc821(0x1b6)],{'useClass':_0x1bcaaa[_0x5bc821(0xfb)]}]]}),_0x5c67e0=_0x935996[_0x5bc821(0x193)]();this[_0x5bc821(0x11d)](this[_0x5bc821(0xf6)][_0x5bc821(0x13a)][_0x5bc821(0x15d)](_0x326256=>{const _0x1f0b47=_0x5bc821;_0x5c67e0['get'](_0x4768cc['ThemeService'])[_0x1f0b47(0x1a7)](_0x326256);})),this[_0x5bc821(0x11d)](this[_0x5bc821(0xf6)]['currentTheme$'][_0x5bc821(0x15d)](_0x4a5f9c=>{const _0x469c59=_0x5bc821;_0x5c67e0[_0x469c59(0x1b5)](_0x4768cc[_0x469c59(0xd6)])[_0x469c59(0x16d)](_0x4a5f9c);})),_0x5c67e0[_0x5bc821(0x1b5)](_0x4768cc['LocaleService'])[_0x5bc821(0x11c)](this[_0x5bc821(0x1b7)][_0x5bc821(0x198)]()),_0x5c67e0[_0x5bc821(0x1b5)](_0x4768cc['IConfigService'])[_0x5bc821(0x1c3)](_0x1bcaaa[_0x5bc821(0x131)],this[_0x5bc821(0x137)][_0x5bc821(0x1af)](_0x1bcaaa[_0x5bc821(0x131)]));let _0x324e52=this[_0x5bc821(0x137)][_0x5bc821(0x1af)](_0xaf852a[_0x5bc821(0x93)]);_0x324e52&&_0x935996[_0x5bc821(0x9a)](_0xaf852a[_0x5bc821(0x1ec)],{'license':_0x324e52['ls']});let _0x179a3c=(_0x2a6f80=this[_0x5bc821(0x137)][_0x5bc821(0x1af)]('edit-history-loader.config'))==null?void 0x0:_0x2a6f80[_0x5bc821(0x1b8)],_0x5e78de=!!_0x179a3c;_0x5e78de&&(this[_0x5bc821(0x1a8)]=_0x179a3c instanceof Worker?_0x179a3c:null,_0x935996[_0x5bc821(0x9a)](_0x468f57[_0x5bc821(0xb2)],{'workerURL':_0x179a3c})),this[_0x5bc821(0x1ac)]['forEach'](([_0x5d1201,_0x50cdc4])=>{const _0x13459e=_0x5bc821;_0x935996[_0x13459e(0x9a)](_0x5d1201,_0x50cdc4);}),_0x935996[_0x5bc821(0x9a)](_0x24b189[_0x5bc821(0x170)],{'historyListServerUrl':(_0x203230=this[_0x5bc821(0x137)][_0x5bc821(0x1af)](_0x5bc821(0x19b)))==null?void 0x0:_0x203230[_0x5bc821(0xbb)],'historyPanelComponentKey':(_0x412cbb=this[_0x5bc821(0x137)]['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x412cbb[_0x5bc821(0xc4)],'historyPanelHidden':(_0x3ea0cf=this[_0x5bc821(0x137)][_0x5bc821(0x1af)](_0x5bc821(0x19b)))==null?void 0x0:_0x3ea0cf[_0x5bc821(0xf3)]}),_0x5c67e0[_0x5bc821(0x125)](_0xa02876=>{const _0x29140b=_0x5bc821;this[_0x29140b(0x18d)](_0xa02876,_0x246d72);}),this[_0x5bc821(0x1c4)][_0x5bc821(0x181)](_0x935996);let _0x1e9acb=_0x5c67e0[_0x5bc821(0x1b5)](_0x24b189['HistoryManagerService']),_0x3a5d7e=this['_checkCanRevert'](_0x246d72),_0x5c33f=()=>{const _0x32e9a9=_0x5bc821;_0x55f4b2?_0x1e9acb['triggerCustomVersions'](_0x246d72,_0xa67c85,_0x3a5d7e,_0x55f4b2):_0x1e9acb[_0x32e9a9(0x1b0)](_0x246d72,_0xa67c85,_0x3a5d7e);};if(this['_messageService']['show']({'content':this[_0x5bc821(0x1b7)]['t'](_0x5bc821(0x16e)),'type':_0x55689a[_0x5bc821(0x15c)][_0x5bc821(0xbd)]}),_0x5e78de)try{_0x5c67e0[_0x5bc821(0x1b5)](_0x468f57[_0x5bc821(0x13f)])[_0x5bc821(0x164)]()['then'](()=>{_0x5c33f();});}catch{_0x5c33f();}else _0x5c33f();}['_initListener'](_0x48cbd2,_0x4e21f6){const _0x2ae5c0=_0x800f78;let _0x44f787=_0x48cbd2[_0x2ae5c0(0x1b5)](_0x24b189[_0x2ae5c0(0x1b1)]);this[_0x2ae5c0(0x9c)]['add'](_0x44f787[_0x2ae5c0(0x10d)][_0x2ae5c0(0x15d)](_0x1f9c66=>{const _0x4418a4=_0x2ae5c0;switch(_0x1f9c66){case _0x24b189['HistoryModeStatus'][_0x4418a4(0xf4)]:this[_0x4418a4(0xbc)][_0x4418a4(0x155)](),this[_0x4418a4(0x1a5)][_0x4418a4(0x1ba)]();break;case _0x24b189[_0x4418a4(0xe5)][_0x4418a4(0x17d)]:this[_0x4418a4(0x1db)][_0x4418a4(0x90)](_0xe4584b['id']),this[_0x4418a4(0x1eb)]();break;case _0x24b189[_0x4418a4(0xe5)][_0x4418a4(0x151)]:this[_0x4418a4(0x1eb)](),this[_0x4418a4(0x1c8)][_0x4418a4(0x1aa)]({'content':this[_0x4418a4(0x1b7)]['t'](_0x4418a4(0x112)),'type':_0x55689a[_0x4418a4(0x15c)][_0x4418a4(0x151)],'duration':0xbb8});break;default:break;}})),this[_0x2ae5c0(0x9c)][_0x2ae5c0(0x16f)](_0x44f787[_0x2ae5c0(0x1a4)][_0x2ae5c0(0x15d)](async _0xbea637=>{const _0x148250=_0x2ae5c0;_0xbea637&&this[_0x148250(0x1db)]['executeCommand'](_0x5a4bb3[_0x148250(0x17b)]['id'],{'unitId':_0x4e21f6,'revision':_0xbea637});}));}[_0x800f78(0xcc)](_0x325af4){const _0x581ef8=_0x800f78;let _0x321904=this[_0x581ef8(0x1d7)]['getUnit'](_0x325af4)[_0x581ef8(0x149)]()[_0x581ef8(0xf0)](_0x588078=>_0x588078[_0x581ef8(0x120)]()),_0x4d939c=new _0x5291e4[(_0x581ef8(0x12b))](_0x325af4)['id'],_0x397ca7=_0x321904['map'](_0x39fe27=>new _0x5291e4['WorksheetEditPermission'](_0x325af4,_0x39fe27)['id']),_0x4f5819=_0x321904[_0x581ef8(0xf0)](_0x50d865=>this[_0x581ef8(0xaf)][_0x581ef8(0x1c9)](_0x325af4,_0x50d865)[_0x581ef8(0xf0)](_0x2c0cda=>new _0x5291e4[(_0x581ef8(0x1e7))](_0x325af4,_0x50d865,_0x2c0cda[_0x581ef8(0xee)])['id']))['flat'](),_0x3bd26b=new _0x5291e4[(_0x581ef8(0x1d4))](_0x325af4)['id'];return this['_permissionService'][_0x581ef8(0x153)]([_0x4d939c,..._0x397ca7,..._0x4f5819,_0x3bd26b])['every'](_0x3275e8=>!!_0x3275e8[_0x581ef8(0x1c0)]);}};_0x14791e=_0x38cdd8([_0x882259(0x0,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0x18b)])),_0x882259(0x1,_0x4768cc['IUniverInstanceService']),_0x882259(0x2,_0x4768cc[_0x800f78(0x161)]),_0x882259(0x3,_0x4768cc[_0x800f78(0x110)]),_0x882259(0x4,_0x533613[_0x800f78(0x182)]),_0x882259(0x5,_0x4768cc['IPermissionService']),_0x882259(0x6,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x5291e4[_0x800f78(0x122)])),_0x882259(0x7,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x533613[_0x800f78(0xb7)])),_0x882259(0x8,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x533613[_0x800f78(0x12e)])),_0x882259(0x9,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0xd6)]))],_0x14791e);let _0x3f5823=class extends _0x4768cc[_0x800f78(0x18f)]{constructor(_0x2be3c7=_0x2d5bdc,_0x35d3a1,_0xa5f99){const _0x4fa764=_0x800f78;super(),this[_0x4fa764(0x104)]=_0x2be3c7,this[_0x4fa764(0x1bd)]=_0x35d3a1,this[_0x4fa764(0x137)]=_0xa5f99;let {menu:_0x223d34,..._0x2f5349}=(0x0,_0x4768cc[_0x4fa764(0x154)])({},_0x2d5bdc,this['_config']);_0x223d34&&this[_0x4fa764(0x137)]['setConfig'](_0x4fa764(0x96),_0x223d34,{'merge':!0x0}),this[_0x4fa764(0x137)]['setConfig'](_0x363ddb,_0x2f5349),this[_0x4fa764(0x104)][_0x4fa764(0x1cf)]&&this[_0x4fa764(0x137)][_0x4fa764(0x1c3)]('UNIVER_CONTAINER_ID',this[_0x4fa764(0x104)]['univerContainerId']);}['onStarting'](){const _0x3e45bf=_0x800f78;[[_0x37b57d,{'useClass':_0x14791e}],[_0x991532]][_0x3e45bf(0x136)](_0x22c43e=>this['_injector']['add'](_0x22c43e));}[_0x800f78(0x188)](){const _0x137e72=_0x800f78;this[_0x137e72(0x1bd)][_0x137e72(0x1b5)](_0x991532);}};_0x1ff16a(_0x3f5823,_0x800f78(0x10b),_0x4768cc[_0x800f78(0x1d6)][_0x800f78(0x18a)]),_0x1ff16a(_0x3f5823,_0x800f78(0xf1),_0x800f78(0x16c)),_0x1ff16a(_0x3f5823,_0x800f78(0x9b),_0x2744bf),_0x1ff16a(_0x3f5823,_0x800f78(0x107),_0x151c73),_0x3f5823=_0x38cdd8([(0x0,_0x4768cc[_0x800f78(0x1a2)])(_0xaf852a[_0x800f78(0x1ec)]),_0x882259(0x1,(0x0,_0x4768cc['Inject'])(_0x4768cc['Injector'])),_0x882259(0x2,_0x4768cc['IConfigService'])],_0x3f5823);let _0x4c033b=class extends _0x4768cc[_0x800f78(0x196)]{constructor(_0x34b952,_0x18d074,_0x5c0dd9,_0x2f573d,_0x18725f,_0x4dec8a,_0x4e10d7,_0x32749a,_0x1b0312,_0x7f2bf8,_0x56009d){const _0x1ad02e=_0x800f78;super(),this[_0x1ad02e(0x1db)]=_0x34b952,this[_0x1ad02e(0xb8)]=_0x18d074,this[_0x1ad02e(0x108)]=_0x5c0dd9,this[_0x1ad02e(0x13c)]=_0x2f573d,this['_localeService']=_0x18725f,this[_0x1ad02e(0x1c8)]=_0x4dec8a,this['_collaborationController']=_0x4e10d7,this[_0x1ad02e(0xd8)]=_0x32749a,this[_0x1ad02e(0x101)]=_0x1b0312,this[_0x1ad02e(0x1d7)]=_0x7f2bf8,this[_0x1ad02e(0x142)]=_0x56009d,_0x1ff16a(this,_0x1ad02e(0xe7),null),this['_init']();}[_0x800f78(0x183)](){const _0x42623f=_0x800f78;[_0x4ed86a,_0xe4584b]['forEach'](_0x346106=>this[_0x42623f(0x11d)]((0x0,_0x4768cc['toDisposable'])(this[_0x42623f(0x1db)][_0x42623f(0x133)](_0x346106)))),this['disposeWithMe'](this['_componentManager'][_0x42623f(0xe1)](_0x42623f(0x105),_0x47de05)),this['_menuManagerService'][_0x42623f(0x1d0)](_0x6e07a0),this['disposeWithMe'](this[_0x42623f(0x1db)][_0x42623f(0x194)](async(_0x17f9a2,_0x549206)=>{const _0x5f44b3=_0x42623f;if(_0x17f9a2['id']===_0x5a4bb3[_0x5f44b3(0x17b)]['id']){let {unitId:_0x1e63b3}=_0x17f9a2[_0x5f44b3(0xef)];this[_0x5f44b3(0x1c8)]['show']({'content':this[_0x5f44b3(0x1b7)]['t'](_0x5f44b3(0xb0)),'type':_0x55689a[_0x5f44b3(0x15c)]['Loading'],'duration':0x1388});let _0x3454fc=this[_0x5f44b3(0x1b2)]['getCollabEntity'](_0x1e63b3);_0x549206!=null&&_0x549206['fromCollab']?this[_0x5f44b3(0x167)](_0x3454fc,async()=>(setTimeout(()=>window[_0x5f44b3(0x19c)][_0x5f44b3(0x129)]()),!0x0),!0x0):this[_0x5f44b3(0x167)](_0x3454fc,async()=>{const _0x3947a5=_0x5f44b3;let _0x82b371=this[_0x3947a5(0x1d7)]['getCurrentUnitOfType'](_0x4768cc[_0x3947a5(0x1d6)][_0x3947a5(0xd9)]),_0x5a7ac1=_0x82b371==null?void 0x0:_0x82b371[_0x3947a5(0xb6)]();if(!_0x5a7ac1)return!0x1;this[_0x3947a5(0x1d7)][_0x3947a5(0x115)](_0x1e63b3);let _0x2e53a8=await this[_0x3947a5(0x101)]['loadUnit'](_0x1e63b3,_0x4768cc[_0x3947a5(0x1d6)]['UNIVER_SHEET']);return _0x2e53a8&&_0x2e53a8 instanceof _0x4768cc[_0x3947a5(0x111)]?(await this[_0x3947a5(0xc8)](_0x2e53a8,_0x5a7ac1[_0x3947a5(0x120)]()),!0x0):!0x1;});}}));}[_0x800f78(0x167)](_0x4dc196,_0x13aeab,_0x3f6d6b=!0x1){const _0x201ff7=_0x800f78;let _0x22e622=(0x0,_0x98ff3a[_0x201ff7(0x130)])([_0x4dc196[_0x201ff7(0xe9)]['event$'],_0x4dc196[_0x201ff7(0x140)]])['subscribe'](async([_0x57707e,_0x57709a])=>{const _0xd11171=_0x201ff7;if(_0x57707e['eventID']===_0x5a4bb3[_0xd11171(0x1e0)][_0xd11171(0x1cc)]&&(_0x57709a==null?void 0x0:_0x57709a[_0xd11171(0x14f)])===_0x1bcaaa[_0xd11171(0x114)][_0xd11171(0xe0)]&&_0x57707e[_0xd11171(0x121)][_0xd11171(0x184)][_0xd11171(0x139)](_0x20c905=>_0x20c905['id']===_0x5a4bb3[_0xd11171(0x17b)]['id'])&&await _0x13aeab()){var _0x31b20d;this['_historyManagerService'][_0xd11171(0x1eb)](),_0x22e622[_0xd11171(0x19d)](),this[_0xd11171(0xe7)]&&clearTimeout(this[_0xd11171(0xe7)]),await((_0x31b20d=this[_0xd11171(0xd8)])==null?void 0x0:_0x31b20d[_0xd11171(0x100)]());}});_0x3f6d6b&&(this[_0x201ff7(0xe7)]=setTimeout(()=>{const _0x334a36=_0x201ff7;_0x22e622[_0x334a36(0x19d)](),this['_messageService'][_0x334a36(0x1aa)]({'content':this[_0x334a36(0x1b7)]['t']('edit-history-loader.panel.revertFailed'),'type':_0x55689a['MessageType'][_0x334a36(0x151)],'duration':0xbb8});},0x1388));}async[_0x800f78(0xc8)](_0x155ea1,_0x322814){const _0x48e496=_0x800f78;await this[_0x48e496(0x18e)](_0x155ea1,_0x322814),_0x155ea1[_0x48e496(0xa0)]['pipe']((0x0,_0x98ff3a[_0x48e496(0x1d2)])(this['dispose$']))[_0x48e496(0x15d)](_0xef0f97=>{const _0x1d57a2=_0x48e496;_0xef0f97&&this[_0x1d57a2(0xc0)](_0xef0f97);}),this[_0x48e496(0x142)][_0x48e496(0xbe)][_0x48e496(0x15e)]((0x0,_0x98ff3a[_0x48e496(0x1d2)])(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x155ea1,_0x322814));}[_0x800f78(0xc0)](_0x5538dc,_0xdc520=!0x1){const _0x286def=_0x800f78;let _0x424c48=this[_0x286def(0x142)][_0x286def(0x187)](_0x286def(0x162));_0x5538dc[_0x286def(0x120)]()!==_0x424c48&&this['_urlService'][_0x286def(0x163)](_0x286def(0x162),_0x5538dc['getSheetId'](),_0xdc520);}async[_0x800f78(0x18e)](_0x1a336d,_0x1bc0fc){const _0x1a728b=_0x800f78;var _0x165b6b;if(!_0x1bc0fc||!_0x1a336d['getSheetBySheetId'](_0x1bc0fc)){let _0x3b54b9=_0x1a336d[_0x1a728b(0x12a)]()[0x0],_0x56af02=_0x1a336d['getSheetBySheetId'](_0x3b54b9);if(!_0x56af02)return;this[_0x1a728b(0xc0)](_0x56af02,!0x0),await this[_0x1a728b(0x1db)]['executeCommand'](_0x5291e4['SetWorksheetActivateCommand']['id'],{'unitId':_0x1a336d[_0x1a728b(0x19e)](),'subUnitId':_0x3b54b9});return;}((_0x165b6b=_0x1a336d[_0x1a728b(0xb6)]())==null?void 0x0:_0x165b6b['getSheetId']())!==_0x1bc0fc&&await this[_0x1a728b(0x1db)][_0x1a728b(0x90)](_0x5291e4[_0x1a728b(0x199)]['id'],{'unitId':_0x1a336d[_0x1a728b(0x19e)](),'subUnitId':_0x1bc0fc});}};_0x4c033b=_0x38cdd8([_0x882259(0x0,_0x4768cc[_0x800f78(0x110)]),_0x882259(0x1,_0x533613['IMenuManagerService']),_0x882259(0x2,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x533613[_0x800f78(0x1ee)])),_0x882259(0x3,(0x0,_0x4768cc['Inject'])(_0x37b57d)),_0x882259(0x4,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0x18b)])),_0x882259(0x5,_0x533613[_0x800f78(0x182)]),_0x882259(0x6,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x1bcaaa[_0x800f78(0x148)])),_0x882259(0x7,_0x1bcaaa[_0x800f78(0x17a)]),_0x882259(0x8,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x1bcaaa[_0x800f78(0x1e8)])),_0x882259(0x9,_0x4768cc[_0x800f78(0x14d)]),_0x882259(0xa,_0x229d5a[_0x800f78(0x156)])],_0x4c033b);let _0x352b37=class extends _0x4768cc[_0x800f78(0x18f)]{constructor(_0x5d982a=_0x2d5bdc,_0x6ab182,_0x2f1cfd){const _0x1fc4a9=_0x800f78;super(),this[_0x1fc4a9(0x104)]=_0x5d982a,this[_0x1fc4a9(0x1bd)]=_0x6ab182,this[_0x1fc4a9(0x137)]=_0x2f1cfd;let {menu:_0x1ec6cf,..._0x71b57e}=(0x0,_0x4768cc[_0x1fc4a9(0x154)])({},_0x2d5bdc,this[_0x1fc4a9(0x104)]);_0x1ec6cf&&this[_0x1fc4a9(0x137)][_0x1fc4a9(0x1c3)]('menu',_0x1ec6cf,{'merge':!0x0}),this['_configService'][_0x1fc4a9(0x1c3)](_0x363ddb,_0x71b57e),this[_0x1fc4a9(0x104)][_0x1fc4a9(0x1cf)]&&this['_configService'][_0x1fc4a9(0x1c3)](_0x55f9db,this[_0x1fc4a9(0x104)][_0x1fc4a9(0x1cf)]);}[_0x800f78(0x1e5)](){const _0xe23cd8=_0x800f78;[[_0x37b57d],[_0x4c033b]][_0xe23cd8(0x136)](_0xa1bde8=>this[_0xe23cd8(0x1bd)][_0xe23cd8(0x16f)](_0xa1bde8));}[_0x800f78(0x188)](){const _0x109ccd=_0x800f78;this[_0x109ccd(0x1bd)][_0x109ccd(0x1b5)](_0x4c033b);}};_0x1ff16a(_0x352b37,_0x800f78(0x10b),_0x4768cc['UniverInstanceType'][_0x800f78(0x18a)]),_0x1ff16a(_0x352b37,_0x800f78(0xf1),_0x800f78(0x116)),_0x1ff16a(_0x352b37,_0x800f78(0x9b),_0x2744bf),_0x1ff16a(_0x352b37,'version',_0x151c73),_0x352b37=_0x38cdd8([(0x0,_0x4768cc[_0x800f78(0x1a2)])(_0xaf852a[_0x800f78(0x1ec)]),_0x882259(0x1,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0xd0)])),_0x882259(0x2,_0x4768cc['IConfigService'])],_0x352b37),_0x47bd7f['EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY']=_0x363ddb,Object[_0x800f78(0xd7)](_0x47bd7f,_0x800f78(0xd5),{'enumerable':!0x0,'get':function(){return _0x37b57d;}}),Object[_0x800f78(0xd7)](_0x47bd7f,_0x800f78(0x1a6),{'enumerable':!0x0,'get':function(){return _0x14791e;}}),_0x47bd7f['ToggleEditHistoryOperation']=_0x4ed86a,_0x47bd7f[_0x800f78(0x11a)]=_0x55f9db,_0x47bd7f[_0x800f78(0x1b4)]=_0x12ed48,Object[_0x800f78(0xd7)](_0x47bd7f,_0x800f78(0xa1),{'enumerable':!0x0,'get':function(){return _0x3f5823;}}),Object[_0x800f78(0xd7)](_0x47bd7f,_0x800f78(0x1c6),{'enumerable':!0x0,'get':function(){return _0x352b37;}});}));function _0x3c97(){const _0x5e819b=['UniverSheetsDrawingPlugin','getSheetCommandTarget','currentColor','appendChild','path','UniverSheetsFilterPlugin','_selectionProtectionRuleModel','edit-history-loader.panel.reverting','trim','UniverRPCMainThreadPlugin','replace','Univer','top','getActiveSheet','IDialogService','_menuManagerService','rxjs','UniverProSheetsSparkline','historyListServerUrl','_dialogService','Loading','urlChange$','mask','_updateURLWithCurrentState','UniverFormulaEnginePlugin','690024zkYptU','UniverSheetsFormulaUIPlugin','historyPanelComponentKey','attrs','UniverCollaborationPlugin','UniverSheetsDataValidationPlugin','_setupSubUnitSync','univer-history-container','call','UniverSheetsDrawingUIPlugin','_checkCanRevert','univer.operation.exit-edit-history','UniverDataValidationPlugin','historyUniver$','Injector','dataset','IPermissionService','uComp','terminate','HistoryLoaderService','ThemeService','defineProperty','_localCacheService','UNIVER_SHEET','getElementById','height','UniverNetworkPlugin','toStringTag','asObservable','forwardRef','SYNCED','register','[HistoryLoaderService]:\x20Plugin\x20','UniverSheetsConditionalFormattingPlugin','UniverSheetsDataValidationUi','HistoryModeStatus','block','_revertErrorTimer','white','session','UniverSheetsUi','toDisposable','UNIVER_CONTAINER_ID','idSuffix','permissionId','params','map','pluginName','1737950nQuuVF','historyPanelHidden','Entered','univer-history-container-mobile','_themeService','OPERATION','getLocales','_initUniver','[MobileHistoryLoaderService]:\x20Plugin\x20','AuthzIoHttpService','Disposable','createElement','currentTheme$','UniverSheetSparklineUIPlugin','exhaustSavingTask','_dataLoaderService','iterator','clipPath','_config','HistoryIcon','width','version','_componentManager','736521lIBIqf','UniverSheetsFilterUIPlugin','type','UniverProSheetsShapeUi','status$','default','UniverDrawingUIPlugin','ICommandService','Workbook','edit-history-loader.panel.listFetchError','WorkbookViewHistoryPermission','CollaborationStatus','disposeUnit','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','assign','clear','prototype','UNIVER_CONTAINER_ID_KEY','UniverSheetsHyperLinkPlugin','setLocale','disposeWithMe','UniverDocsUIPlugin','amd','getSheetId','data','RangeProtectionRuleModel','dispose$','UniverEditHistoryViewerPlugin','invoke','UniverSheetsDataValidationUIPlugin','_initContainer','getCurrentUnitOfType','reload','getUnhiddenWorksheets','WorkbookEditablePermission','_permissionService','@univerjs-pro/edit-history-loader','ISidebarService','display','combineLatest','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverSheets','registerCommand','UniverSheetsTable','581067Jcglrl','forEach','_configService','IImageIoService','some','darkMode$','toString','_historyManagerService','toPrimitive','displayName','IRemoteInstanceService','state$','UniverProSheetsShape','_urlService','length','substring','4477804YQvidi','OTHERS','history-icon_clip0_907_281','CollaborationController','getSheets','UniverSheetsFilter','object','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','IUniverInstanceService','left','status','0.25.0','Error','exports.@univerjs/core.@univerjs/sheets.@univerjs-pro/collaboration.@univerjs-pro/collaboration-client.@univerjs-pro/edit-history-viewer.@univerjs-pro/license.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-chart-ui.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-shape-ui.@univerjs-pro/sheets-sparkline.@univerjs-pro/sheets-sparkline-ui.@univerjs/data-validation.@univerjs/design.@univerjs/docs.@univerjs/docs-ui.@univerjs/drawing.@univerjs/drawing-ui.@univerjs/engine-formula.@univerjs/engine-render.@univerjs/network.@univerjs/rpc.@univerjs/sheets-conditional-formatting.@univerjs/sheets-conditional-formatting-ui.@univerjs/sheets-data-validation.@univerjs/sheets-data-validation-ui.@univerjs/sheets-drawing.@univerjs/sheets-drawing-ui.@univerjs/sheets-filter.@univerjs/sheets-filter-ui.@univerjs/sheets-formula.@univerjs/sheets-formula-ui.@univerjs/sheets-hyper-link.@univerjs/sheets-hyper-link-ui.@univerjs/sheets-numfmt.@univerjs/sheets-table.@univerjs/sheets-ui.@univerjs/ui.rxjs.@univerjs-pro/collaboration-client-ui.react','composePermission','merge','closeAll','IURLService','WorksheetEditPermission','children','UniverSheetsDrawing','UniverUi','React','MessageType','subscribe','pipe','event$','mountHistoryContent','IConfigService','subunit','setParam','whenReady','getOwnPropertyDescriptor','DisposableCollection','_handleRevertAcknowledgement','from','UniverDrawingPlugin','absolute','UniverSheetsPivotTablePlugin','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','setTheme','edit-history-loader.info.initializing','add','UniverEditHistoryViewerMobilePlugin','UniverSheetsTablePlugin','UniverSheetsDataValidation','has','CommandType','univer.operation.toggle-edit-history','decorate','IMenuManagerService','current','then','ILocalCacheService','RevertRevisionMutation','UniverDrawing','Exited','962425FlPFLf','190pgRxDY','UniverSheetsNumfmtPlugin','next','IMessageService','_init','mutations','use','historyUniver','getParam','onSteady','url(#history-icon_clip0_907_281)','UNIVER_UNKNOWN','LocaleService','fill','_initListener','_updateSubUnitFromURLParams','Plugin','getCurrentRangeDisable$','getCollabEntity','UniverSheetsShapePlugin','__getInjector','onCommandExecuted','UniverDataValidation','RxDisposable','100%','getCurrentLocale','SetWorksheetActivateCommand','M0\x200H16V16H0z','edit-history-loader.config','location','unsubscribe','getUnitId','UniverRpc','UniverSheetsPlugin','UniverProCollaborationClientUi','DependentOn','UniverSheetsHyperLinkUIPlugin','revertRevision$','_sidebarService','MobileHistoryLoaderService','setDarkMode','_internalWebWorker','historyAIassistantEnabled','show','defIds','_pluginMap','UniverSheetsConditionalFormattingUi','dispose','getConfig','triggerLoadVersions','HistoryManagerService','_collaborationController','eventID','UNIVER_HISTORY_CONTAINER_ID','get','IAuthzIoService','_localeService','workerURL','UniverSheetsChartUIPlugin','close','style','1em','_injector','UniverSheetsFilterUi','21dCHlfz','value','UniverDocsPlugin','UniverSheetsFormulaUi','setConfig','_historyUniver$','defs','UniverEditHistoryLoaderPlugin','UniverProEditHistoryLoader','_messageService','getSubunitRuleList','edit-history-loader.panel.revertFailed','history-container','CHANGESET_ACK','UniverProEditHistoryViewer','_initPlugins','univerContainerId','mergeMenu','history-icon','takeUntil','RibbonStartGroup','WorkbookRecoverHistoryPermission','flat','UniverInstanceType','_univerInstanceService','UniverSheetsFormulaPlugin','UniverProCollaboration','univer-container','_commandService','UniverProSheetsChart','loadUnit','svg','UniverNetwork','CollaborationEvent','UniverDrawingUi','tag','zIndex','UniverSheetsDataValidationMobileUIPlugin','onStarting','Inject','RangeProtectionPermissionEditPoint','DataLoaderService','UniverSheetsConditionalFormattingUIPlugin','url(#$1','unMountHistoryContent','UniverLicensePlugin','none','ComponentManager','UniverDesign','getSheetBySheetId','colorChannel1','4950824iLjRnS','set','xlink:href','UniverSheetsHyperLinkUi','UniverMobileUIPlugin','executeCommand','BehaviorSubject','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','LS_CONFIG_KEY','UniverSheetsDrawingUi','string','menu','UniverProSheetsChartUi','UniverSheetsHyperLink','UniverSheetsFormula','registerPlugin','packageName','_disposableCollection','UniverDocsUi','symbol','UniverSheetsConditionalFormatting','activeSheet$','UniverEditHistoryLoaderMobilePlugin','getAllPlugins','3MYWQvR','function','getMenuHiddenObservable','Module','div','UniverSheetSparklinePlugin'];_0x3c97=function(){return _0x5e819b;};return _0x3c97();}
21
-
22
- // index
23
- (function(r,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(r=typeof globalThis<"u"?globalThis:r||self,o(r.UniverPresetSheetsCollaboration={},r.UniverProCollaboration,r.UniverProCollaborationClient,r.UniverProCollaborationClientUi,r.UniverProEditHistoryLoader))})(this,(function(r,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0,enableFrontendLog:d=!1,historyWorkerURL:b}=n,e=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${e}/universer-api/authz`,snapshotServerUrl:`${e}/universer-api/snapshot`,collabSubmitChangesetUrl:`${e}/universer-api/comb`,collabWebSocketUrl:s(`${e}/universer-api/comb/connect`),loginUrlKey:`${e}/universer-api/oidc/authpage`,uploadFileServerUrl:`${e}/universer-api/stream/file/upload`,signUrlServerUrl:`${e}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${e}/`,wsSessionTicketUrl:`${e}/universer-api/user/session-ticket`,startFormulaLimitUrl:`${e}/universer-api/license/formula/limit/start`,getFormulaLimitStatusUrl:`${e}/universer-api/license/formula/limit/status`,releaseFormulaLimitUrl:`${e}/universer-api/license/formula/limit/done`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{enableFrontendLog:d}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${e}/universer-api/history`,workerURL:b}]]}}r.UniverSheetsCollaborationPreset=u,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));