@univerjs-pro/collaboration-client 0.10.7-nightly.202509130618 → 0.10.7-nightly.202509130703

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +9 -9
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x447e66=_0x52b3;(function(_0x1208b5,_0x4f076d){var _0x2d60d2=_0x52b3,_0x2ee111=_0x1208b5();while(!![]){try{var _0x4ac547=parseInt(_0x2d60d2(0x3ad))/0x1*(-parseInt(_0x2d60d2(0x2d4))/0x2)+parseInt(_0x2d60d2(0x350))/0x3+-parseInt(_0x2d60d2(0x4b2))/0x4+-parseInt(_0x2d60d2(0x284))/0x5*(-parseInt(_0x2d60d2(0x31b))/0x6)+parseInt(_0x2d60d2(0x468))/0x7+parseInt(_0x2d60d2(0x21f))/0x8+-parseInt(_0x2d60d2(0x2d6))/0x9;if(_0x4ac547===_0x4f076d)break;else _0x2ee111['push'](_0x2ee111['shift']());}catch(_0xecee6){_0x2ee111['push'](_0x2ee111['shift']());}}}(_0x84bf,0x26db3));var bt=Object[_0x447e66(0x3b7)],Ot=(_0x5c2c26,_0x20de48,_0x1a6d43)=>_0x20de48 in _0x5c2c26?bt(_0x5c2c26,_0x20de48,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a6d43}):_0x5c2c26[_0x20de48]=_0x1a6d43,A=(_0xe3cdc6,_0xcfc966,_0x2934cb)=>Ot(_0xe3cdc6,typeof _0xcfc966!=_0x447e66(0x405)?_0xcfc966+'':_0xcfc966,_0x2934cb);Object[_0x447e66(0x3b7)](exports,Symbol[_0x447e66(0x200)],{'value':_0x447e66(0x3db)});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt='/universer-api/snapshot',Dt=_0x447e66(0x49a),Ut=0x7d0,ht=_0x447e66(0x2cf),At=_0x447e66(0x287),_t=_0x447e66(0x429),Pt=0x7530,ke=_0x447e66(0x254),lt=0x4e20,wt=0x4e20,ut=_0x447e66(0x3f3),Mt=0x3,Lt='LOCAL_CACHE_INTERVAL',xt=0x3e8,kt=_0x447e66(0x2ac),$t='/universer-api/oidc/authpage',Ht=_0x447e66(0x2ca),jt=_0x447e66(0x438);var dt=(_0x2f1626=>(_0x2f1626[_0x2f1626['UNDEFINED']=0x0]=_0x447e66(0x1bf),_0x2f1626[_0x2f1626['OK']=0x1]='OK',_0x2f1626[_0x2f1626['INTERNAL_ERROR']=0x2]=_0x447e66(0x3b5),_0x2f1626[_0x2f1626[_0x447e66(0x2d1)]=0x3]='PERMISSION_DENIED',_0x2f1626[_0x2f1626['NOT_FOUND']=0x4]=_0x447e66(0x458),_0x2f1626[_0x2f1626['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x2f1626[_0x2f1626[_0x447e66(0x271)]=0x6]=_0x447e66(0x271),_0x2f1626[_0x2f1626[_0x447e66(0x493)]=0x7]=_0x447e66(0x493),_0x2f1626[_0x2f1626[_0x447e66(0x2e7)]=0x8]=_0x447e66(0x2e7),_0x2f1626[_0x2f1626[_0x447e66(0x2c9)]=0x9]='COMPLETION_FINISHED',_0x2f1626[_0x2f1626['LOGIN_FAILED']=0xa]=_0x447e66(0x2c8),_0x2f1626[_0x2f1626[_0x447e66(0x2fc)]=0xb]=_0x447e66(0x2fc),_0x2f1626[_0x2f1626[_0x447e66(0x262)]=0xc]=_0x447e66(0x262),_0x2f1626[_0x2f1626[_0x447e66(0x435)]=0xd]=_0x447e66(0x435),_0x2f1626[_0x2f1626['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x447e66(0x364),_0x2f1626[_0x2f1626[_0x447e66(0x328)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2f1626[_0x2f1626[_0x447e66(0x2e6)]=0x1771]=_0x447e66(0x2e6),_0x2f1626[_0x2f1626[_0x447e66(0x211)]=0x1772]=_0x447e66(0x211),_0x2f1626[_0x2f1626[_0x447e66(0x26d)]=0x1773]=_0x447e66(0x26d),_0x2f1626[_0x2f1626[_0x447e66(0x1db)]=0x1b59]=_0x447e66(0x1db),_0x2f1626[_0x2f1626[_0x447e66(0x288)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2f1626[_0x2f1626[_0x447e66(0x434)]=0x1b5b]=_0x447e66(0x434),_0x2f1626[_0x2f1626[_0x447e66(0x398)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2f1626[_0x2f1626[_0x447e66(0x4e3)]=0x1b5d]=_0x447e66(0x4e3),_0x2f1626[_0x2f1626[_0x447e66(0x3e1)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2f1626[_0x2f1626[_0x447e66(0x259)]=0x2329]=_0x447e66(0x259),_0x2f1626[_0x2f1626[_0x447e66(0x29e)]=0x232a]=_0x447e66(0x29e),_0x2f1626[_0x2f1626[_0x447e66(0x188)]=0x232b]=_0x447e66(0x188),_0x2f1626[_0x2f1626['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2f1626[_0x2f1626[_0x447e66(0x1c9)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2f1626[_0x2f1626['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2f1626[_0x2f1626[_0x447e66(0x39b)]=0x2712]=_0x447e66(0x39b),_0x2f1626[_0x2f1626['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x447e66(0x477),_0x2f1626[_0x2f1626['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x447e66(0x243),_0x2f1626[_0x2f1626[_0x447e66(0x4cd)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2f1626[_0x2f1626[_0x447e66(0x402)]=0x271b]=_0x447e66(0x402),_0x2f1626[_0x2f1626[_0x447e66(0x2de)]=0x271c]=_0x447e66(0x2de),_0x2f1626[_0x2f1626[_0x447e66(0x1c8)]=0x271d]=_0x447e66(0x1c8),_0x2f1626[_0x2f1626[_0x447e66(0x1e3)]=0x271e]=_0x447e66(0x1e3),_0x2f1626[_0x2f1626[_0x447e66(0x336)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2f1626[_0x2f1626[_0x447e66(0x4c0)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x2f1626[_0x2f1626[_0x447e66(0x433)]=0x2af9]=_0x447e66(0x433),_0x2f1626[_0x2f1626[_0x447e66(0x29b)]=0x2ee1]=_0x447e66(0x29b),_0x2f1626[_0x2f1626[_0x447e66(0x4ae)]=0x2ee2]='INVALID_INVITE_CODE',_0x2f1626[_0x2f1626[_0x447e66(0x4e1)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2f1626[_0x2f1626['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f1626[_0x2f1626[_0x447e66(0x456)]=0x2ee5]=_0x447e66(0x456),_0x2f1626[_0x2f1626[_0x447e66(0x2c3)]=0x32c9]=_0x447e66(0x2c3),_0x2f1626[_0x2f1626[_0x447e66(0x42d)]=0x32ca]=_0x447e66(0x42d),_0x2f1626[_0x2f1626['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x447e66(0x2b1),_0x2f1626[_0x2f1626['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2f1626))(dt||{}),J=(_0x40e743=>(_0x40e743[_0x40e743['UNIVER_UNKNOWN']=0x0]=_0x447e66(0x4d3),_0x40e743[_0x40e743[_0x447e66(0x49e)]=0x1]=_0x447e66(0x49e),_0x40e743[_0x40e743[_0x447e66(0x1f6)]=0x2]='UNIVER_SHEET',_0x40e743[_0x40e743[_0x447e66(0x471)]=0x3]=_0x447e66(0x471),_0x40e743[_0x40e743[_0x447e66(0x2df)]=0x4]=_0x447e66(0x2df),_0x40e743[_0x40e743['UNRECOGNIZED']=-0x1]=_0x447e66(0x4d5),_0x40e743))(J||{}),W=(_0x2c93dd=>(_0x2c93dd[_0x2c93dd[_0x447e66(0x1e4)]=0x0]=_0x447e66(0x1e4),_0x2c93dd[_0x2c93dd[_0x447e66(0x3e4)]=0x1]='HELLO',_0x2c93dd[_0x2c93dd[_0x447e66(0x1cd)]=0x2]=_0x447e66(0x1cd),_0x2c93dd[_0x2c93dd['LEAVE']=0x3]=_0x447e66(0x1eb),_0x2c93dd[_0x2c93dd[_0x447e66(0x22c)]=0x4]=_0x447e66(0x22c),_0x2c93dd[_0x2c93dd[_0x447e66(0x24f)]=0x5]='HEARTBEAT',_0x2c93dd[_0x2c93dd[_0x447e66(0x3cd)]=0x6]='RECV',_0x2c93dd[_0x2c93dd['UNRECOGNIZED']=-0x1]=_0x447e66(0x4d5),_0x2c93dd))(W||{}),se=(_0x2cad7d=>(_0x2cad7d[_0x2cad7d[_0x447e66(0x1b8)]=0x0]=_0x447e66(0x1b8),_0x2cad7d[_0x2cad7d['OK']=0x1]='OK',_0x2cad7d[_0x2cad7d[_0x447e66(0x359)]=0x2]=_0x447e66(0x359),_0x2cad7d[_0x2cad7d[_0x447e66(0x3ec)]=0x3e9]=_0x447e66(0x3ec),_0x2cad7d[_0x2cad7d[_0x447e66(0x4e4)]=0x3ea]=_0x447e66(0x4e4),_0x2cad7d[_0x2cad7d[_0x447e66(0x3ae)]=0x3eb]=_0x447e66(0x3ae),_0x2cad7d[_0x2cad7d[_0x447e66(0x38d)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2cad7d[_0x2cad7d[_0x447e66(0x4d5)]=-0x1]=_0x447e66(0x4d5),_0x2cad7d))(se||{}),vt=(_0x5137b5=>(_0x5137b5[_0x5137b5['Undefined']=0x0]=_0x447e66(0x260),_0x5137b5[_0x5137b5[_0x447e66(0x1e0)]=0x1]=_0x447e66(0x1e0),_0x5137b5[_0x5137b5[_0x447e66(0x25b)]=0x2]=_0x447e66(0x25b),_0x5137b5[_0x5137b5[_0x447e66(0x4de)]=0x3]='UnitEmbedded',_0x5137b5[_0x5137b5[_0x447e66(0x348)]=0x4]=_0x447e66(0x348),_0x5137b5[_0x5137b5[_0x447e66(0x186)]=0x5]=_0x447e66(0x186),_0x5137b5[_0x5137b5['UNRECOGNIZED']=-0x1]=_0x447e66(0x4d5),_0x5137b5))(vt||{});const Bt='collaboration_new_changeset';function Ft(_0x45fe6a){var _0x192054=_0x447e66;return JSON[_0x192054(0x319)](_0x45fe6a)['length'];}var Z=(_0x3517e5=>(_0x3517e5[_0x447e66(0x2c6)]=_0x447e66(0x2c6),_0x3517e5['PERMISSION_DENIED']=_0x447e66(0x2d1),_0x3517e5['CONFLICT']='CONFLICT',_0x3517e5[_0x447e66(0x408)]=_0x447e66(0x408),_0x3517e5['JOIN_ROOM_FAILED']=_0x447e66(0x22d),_0x3517e5[_0x447e66(0x221)]=_0x447e66(0x221),_0x3517e5['SOCKET_FAILED']=_0x447e66(0x1dc),_0x3517e5['SUBMIT_CHANGESET_TIMEOUT']=_0x447e66(0x337),_0x3517e5))(Z||{});class ee{constructor(){var _0x16a767=_0x447e66;A(this,_0x16a767(0x32a),new H[(_0x16a767(0x487))]()),A(this,'event$',this[_0x16a767(0x32a)][_0x16a767(0x44a)]());}['emitEvent'](_0x30a0d2){var _0x242ae3=_0x447e66;this[_0x242ae3(0x32a)]['next'](_0x30a0d2);}}class $e{constructor(){var _0x1f8fa1=_0x447e66;A(this,_0x1f8fa1(0x273),new H[(_0x1f8fa1(0x487))]()),A(this,_0x1f8fa1(0x1a7),this['_commentUpdate$'][_0x1f8fa1(0x44a)]());}['onCommentUpdate'](_0x107f4d){var _0x22daaa=_0x447e66;this[_0x22daaa(0x273)]['next'](_0x107f4d);}}var Vt=Object['getOwnPropertyDescriptor'],Wt=(_0x3f1ef3,_0x2853f1,_0x46a43f,_0x17cd6f)=>{var _0x29f365=_0x447e66;for(var _0x43a2a7=_0x17cd6f>0x1?void 0x0:_0x17cd6f?Vt(_0x2853f1,_0x46a43f):_0x2853f1,_0x5bd53c=_0x3f1ef3[_0x29f365(0x2db)]-0x1,_0x32d76e;_0x5bd53c>=0x0;_0x5bd53c--)(_0x32d76e=_0x3f1ef3[_0x5bd53c])&&(_0x43a2a7=_0x32d76e(_0x43a2a7)||_0x43a2a7);return _0x43a2a7;},Ve=(_0x144051,_0x88a3db)=>(_0x2c12f0,_0x43c989)=>_0x88a3db(_0x2c12f0,_0x43c989,_0x144051);exports[_0x447e66(0x395)]=class extends a['Disposable']{constructor(_0x3758b0,_0x1e7b7d){var _0x5116e3=_0x447e66;super(),A(this,_0x5116e3(0x250),new Map()),A(this,_0x5116e3(0x4bf),new H[(_0x5116e3(0x487))]()),(this[_0x5116e3(0x27d)]=_0x3758b0,this[_0x5116e3(0x400)]=_0x1e7b7d,this[_0x5116e3(0x489)](H['merge'](this[_0x5116e3(0x27d)][_0x5116e3(0x372)](a[_0x5116e3(0x27b)][_0x5116e3(0x1f6)])[_0x5116e3(0x30d)](V[_0x5116e3(0x34e)](_0x2b927d=>_0x2b927d[_0x5116e3(0x3eb)]())),this[_0x5116e3(0x27d)]['getTypeOfUnitDisposed$'](a[_0x5116e3(0x27b)][_0x5116e3(0x49e)])['pipe'](V[_0x5116e3(0x34e)](_0x100828=>_0x100828[_0x5116e3(0x3eb)]())),this[_0x5116e3(0x27d)][_0x5116e3(0x372)](a[_0x5116e3(0x27b)][_0x5116e3(0x471)])[_0x5116e3(0x30d)](V[_0x5116e3(0x34e)](_0x313aea=>_0x313aea[_0x5116e3(0x3eb)]())))[_0x5116e3(0x472)](_0x2cbf52=>this[_0x5116e3(0x1f9)](_0x2cbf52))));}[_0x447e66(0x3f8)](_0x4ed9e4){var _0x57f4cd=_0x447e66;return this[_0x57f4cd(0x250)][_0x57f4cd(0x3e8)](_0x4ed9e4)?H['of'](this[_0x57f4cd(0x250)][_0x57f4cd(0x497)](_0x4ed9e4)):this[_0x57f4cd(0x4bf)]['pipe'](V['map'](_0x16e415=>{var _0x3400ab=_0x57f4cd;if(_0x16e415===_0x4ed9e4)return this[_0x3400ab(0x250)][_0x3400ab(0x497)](_0x16e415);}));}[_0x447e66(0x484)](_0x3a2b4c){var _0x336045=_0x447e66;this[_0x336045(0x400)][_0x336045(0x484)](_0x3a2b4c);}[_0x447e66(0x26a)](){var _0x15bb81=_0x447e66;return this[_0x15bb81(0x400)][_0x15bb81(0x26a)]();}[_0x447e66(0x202)](_0xec5a9e,_0x3565d3){var _0x1cc2b9=_0x447e66;let _0x4d6398=this[_0x1cc2b9(0x250)]['get'](_0xec5a9e);_0x4d6398||(_0x4d6398=new Gt(),this[_0x1cc2b9(0x250)][_0x1cc2b9(0x47f)](_0xec5a9e,_0x4d6398),this[_0x1cc2b9(0x4bf)]['next'](_0xec5a9e)),_0x4d6398[_0x1cc2b9(0x202)](_0x3565d3);}['removeMember'](_0x81dda7,_0x2778ba){var _0x1d19a0=_0x447e66;const _0x1f30f0=this[_0x1d19a0(0x250)]['get'](_0x81dda7);_0x1f30f0&&_0x1f30f0[_0x1d19a0(0x303)](_0x2778ba);}[_0x447e66(0x1b6)](_0x49f0ad){var _0x35d172=_0x447e66;return this[_0x35d172(0x250)][_0x35d172(0x497)](_0x49f0ad);}[_0x447e66(0x324)](_0x2d95e5,_0x19ec63){var _0x39fd6a=_0x447e66;const _0x84d5a4=this['_roomMembers']['get'](_0x2d95e5);if(_0x84d5a4)return _0x84d5a4[_0x39fd6a(0x324)](_0x19ec63);}['_removeRoom'](_0x1a2629){var _0xc61f31=_0x447e66;const _0x3eb11f=this[_0xc61f31(0x250)][_0xc61f31(0x497)](_0x1a2629);_0x3eb11f&&(_0x3eb11f[_0xc61f31(0x4a4)](),this['_roomMembers'][_0xc61f31(0x48a)](_0x1a2629));}['dispose'](){var _0x3c76a7=_0x447e66;this['_roomMembers']['forEach'](_0x4cc36a=>_0x4cc36a[_0x3c76a7(0x4a4)]()),this[_0x3c76a7(0x250)]['clear'](),this[_0x3c76a7(0x4bf)]['complete']();}},exports[_0x447e66(0x395)]=Wt([Ve(0x0,a[_0x447e66(0x3f0)]),Ve(0x1,a['Inject'](a[_0x447e66(0x2b2)]))],exports[_0x447e66(0x395)]);class Gt extends a['Disposable']{constructor(){var _0x411456=_0x447e66;super(...arguments),A(this,_0x411456(0x3ac),new Map()),A(this,_0x411456(0x4af),new H[(_0x411456(0x387))](this[_0x411456(0x3ac)])),A(this,_0x411456(0x343),this[_0x411456(0x4af)]['asObservable']());}[_0x447e66(0x4a4)](){var _0x58a34e=_0x447e66;this[_0x58a34e(0x3ac)][_0x58a34e(0x331)]();}['updateMember'](_0x54554f){var _0x8ed559=_0x447e66;this[_0x8ed559(0x3ac)][_0x8ed559(0x47f)](_0x54554f['memberID'],_0x54554f),this['_emitMembers']();}[_0x447e66(0x303)](_0x43bdf7){this['_members']['delete'](_0x43bdf7);}[_0x447e66(0x324)](_0x2bd261){var _0x10b94c=_0x447e66;return this[_0x10b94c(0x3ac)]['get'](_0x2bd261);}[_0x447e66(0x378)](){var _0x503bfd=_0x447e66;return Array[_0x503bfd(0x233)](this[_0x503bfd(0x3ac)][_0x503bfd(0x2f5)]());}[_0x447e66(0x41d)](){var _0x46da4c=_0x447e66;this[_0x46da4c(0x4af)]['next'](this[_0x46da4c(0x3ac)]);}}var Yt=Object[_0x447e66(0x20f)],qt=(_0x241d5b,_0x55fe43,_0x33dda4,_0x263d3b)=>{var _0x3138ea=_0x447e66;for(var _0x5d44b9=_0x263d3b>0x1?void 0x0:_0x263d3b?Yt(_0x55fe43,_0x33dda4):_0x55fe43,_0x553736=_0x241d5b[_0x3138ea(0x2db)]-0x1,_0x15ece7;_0x553736>=0x0;_0x553736--)(_0x15ece7=_0x241d5b[_0x553736])&&(_0x5d44b9=_0x15ece7(_0x5d44b9)||_0x5d44b9);return _0x5d44b9;},ce=(_0x3ebd81,_0x3ebec0)=>(_0x49cdc9,_0x4d89a7)=>_0x3ebec0(_0x49cdc9,_0x4d89a7,_0x3ebd81),re=(_0x2df10=>(_0x2df10[_0x2df10[_0x447e66(0x191)]=0x0]=_0x447e66(0x191),_0x2df10[_0x2df10['JOINING']=0x1]=_0x447e66(0x320),_0x2df10[_0x2df10[_0x447e66(0x4c2)]=0x2]='OFFLINE',_0x2df10[_0x2df10['ONLINE']=0x3]=_0x447e66(0x23b),_0x2df10))(re||{});const We={[se[_0x447e66(0x359)]]:_0x447e66(0x44f),[se[_0x447e66(0x3ec)]]:_0x447e66(0x3c9),[se[_0x447e66(0x4e4)]]:_0x447e66(0x24c),[se[_0x447e66(0x3ae)]]:_0x447e66(0x2b7),[se[_0x447e66(0x38d)]]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a[_0x447e66(0x330)]{constructor(_0x31e5b3,_0x5a1366,_0x5a7085,_0x1509ee,_0x36bc16,_0x30cd57,_0x16c62b,_0x3186db){var _0x256af8=_0x447e66;super(),A(this,_0x256af8(0x248),new H['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x256af8(0x248)][_0x256af8(0x44a)]()),A(this,'_event$',new H[(_0x256af8(0x487))]()),A(this,_0x256af8(0x44d),this[_0x256af8(0x32a)]['asObservable']()),A(this,'_socket'),A(this,_0x256af8(0x379)),A(this,_0x256af8(0x45d)),A(this,_0x256af8(0x369),!0x1),A(this,_0x256af8(0x415),null),(this[_0x256af8(0x338)]=_0x31e5b3,this[_0x256af8(0x410)]=_0x5a7085,this[_0x256af8(0x47b)]=_0x1509ee,this[_0x256af8(0x2be)]=_0x36bc16,this[_0x256af8(0x2f3)]=_0x30cd57,this[_0x256af8(0x1d7)]=_0x16c62b,this['_telemetryService']=_0x3186db,this[_0x256af8(0x369)]=!!this[_0x256af8(0x24e)],_0x5a1366[_0x256af8(0x30d)](H['takeUntil'](this[_0x256af8(0x2af)]))[_0x256af8(0x472)](_0x8fc363=>{var _0x84b2ab=_0x256af8,_0x14e267;typeof _0x8fc363>'u'||(this['_socket']=_0x8fc363,_0x8fc363?(this[_0x84b2ab(0x365)](_0x8fc363),this[_0x84b2ab(0x379)]=_0x8fc363[_0x84b2ab(0x4ca)][_0x84b2ab(0x472)](_0x5d4f9f=>{var _0x47d906=_0x84b2ab;_0x5d4f9f[_0x47d906(0x33b)]===this[_0x47d906(0x338)]&&this[_0x47d906(0x342)](_0x5d4f9f);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x84b2ab(0x248)][_0x84b2ab(0x4f9)](0x2),(_0x14e267=this[_0x84b2ab(0x379)])==null||_0x14e267['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x447e66(0x195)](){var _0x26144c=_0x447e66;return this[_0x26144c(0x248)][_0x26144c(0x38f)]();}[_0x447e66(0x43a)](){var _0xf51d1c=_0x447e66,_0x54cff5,_0x4a968a;return(_0x4a968a=(_0x54cff5=this[_0xf51d1c(0x22e)])==null?void 0x0:_0x54cff5[_0xf51d1c(0x43d)])!=null?_0x4a968a:null;}['dispose'](){var _0x3032dc=_0x447e66;super[_0x3032dc(0x4a4)](),this[_0x3032dc(0x2af)][_0x3032dc(0x4f9)](),this['dispose$'][_0x3032dc(0x393)]();}[_0x447e66(0x29d)](){var _0xfda486=_0x447e66,_0x447b20,_0x122029;this[_0xfda486(0x3fe)](),(_0x447b20=this[_0xfda486(0x22e)])==null||_0x447b20[_0xfda486(0x295)]({'cmd':W[_0xfda486(0x1eb)],'data':{'roomID':this['_unitID']}}),(_0x122029=this[_0xfda486(0x22e)])==null||_0x122029[_0xfda486(0x29d)](),this[_0xfda486(0x32a)][_0xfda486(0x393)](),this['_sessionStatus$'][_0xfda486(0x393)](),this['dispose']();}[_0x447e66(0x342)](_0x4a148e){var _0x5b8c6a=_0x447e66;_0x4a148e['cmd']===W[_0x5b8c6a(0x1cd)]?this[_0x5b8c6a(0x3c1)](_0x4a148e):_0x4a148e['cmd']===W[_0x5b8c6a(0x3cd)]&&this[_0x5b8c6a(0x355)](_0x4a148e);}[_0x447e66(0x365)](_0x419919){var _0x3732d1=_0x447e66;this[_0x3732d1(0x248)][_0x3732d1(0x4f9)](0x1),_0x419919[_0x3732d1(0x295)]({'cmd':W[_0x3732d1(0x1cd)],'routeKey':this[_0x3732d1(0x338)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3732d1(0x338)]}]}});}['_onJoinRoomEvent'](_0x2bb2bf){var _0x2d63c3=_0x447e66,_0x45ce23;if(_0x2bb2bf[_0x2d63c3(0x345)]in We){this['_collaborationUIEventService'][_0x2d63c3(0x490)]({'id':Z[_0x2d63c3(0x22d)],'data':We[_0x2bb2bf[_0x2d63c3(0x345)]]}),this[_0x2d63c3(0x248)]['next'](0x2);return;}this['_sessionStatus$'][_0x2d63c3(0x4f9)](0x3);const _0x448dc6=(_0x45ce23=_0x2bb2bf[_0x2d63c3(0x279)][_0x2d63c3(0x3f4)][this[_0x2d63c3(0x338)]])==null?void 0x0:_0x45ce23['members'];_0x448dc6&&_0x448dc6[_0x2d63c3(0x3ca)](_0x46dae9=>this[_0x2d63c3(0x2be)]['updateMember'](this[_0x2d63c3(0x338)],_0x46dae9));}['_onRecvEvent'](_0x13e158){var _0x30a959=_0x447e66;try{const _0x128f31=_0x13e158[_0x30a959(0x279)];switch(_0x128f31[_0x30a959(0x38b)]){case p['CollaborationEvent'][_0x30a959(0x483)]:this[_0x30a959(0x426)](_0x128f31),this[_0x30a959(0x32a)][_0x30a959(0x4f9)](_0x128f31);break;case p[_0x30a959(0x201)][_0x30a959(0x4bd)]:this[_0x30a959(0x423)](_0x128f31),this[_0x30a959(0x32a)]['next'](_0x128f31);break;case p[_0x30a959(0x201)]['CHANGESET_ACK']:case p['CollaborationEvent'][_0x30a959(0x228)]:this[_0x30a959(0x4bc)](),this[_0x30a959(0x2ee)](),this[_0x30a959(0x32a)][_0x30a959(0x4f9)](_0x128f31);break;case p['CollaborationEvent']['MSG_FOR_ERROR']:this['_logService'][_0x30a959(0x37a)](_0x30a959(0x3d9)+JSON[_0x30a959(0x319)](_0x128f31)),this[_0x30a959(0x32a)][_0x30a959(0x4f9)](_0x128f31);break;case p[_0x30a959(0x201)][_0x30a959(0x316)]:this[_0x30a959(0x2f3)][_0x30a959(0x266)](_0x128f31[_0x30a959(0x279)]),this['_event$'][_0x30a959(0x4f9)](_0x128f31);break;default:this[_0x30a959(0x32a)][_0x30a959(0x4f9)](_0x128f31);}}catch(_0x545767){this[_0x30a959(0x410)]['error'](_0x545767,_0x13e158);}}[_0x447e66(0x426)](_0x42e4bf){var _0x4ace82=_0x447e66;this[_0x4ace82(0x2be)][_0x4ace82(0x202)](this[_0x4ace82(0x338)],_0x42e4bf['data']);}[_0x447e66(0x423)](_0x4df083){var _0x5764ee=_0x447e66;this[_0x5764ee(0x2be)][_0x5764ee(0x303)](this[_0x5764ee(0x338)],_0x4df083[_0x5764ee(0x279)][_0x5764ee(0x43d)]);}async[_0x447e66(0x295)](_0x4e1d9d,_0x57df18){var _0x536951=_0x447e66;if(this[_0x536951(0x195)]!==0x3||!this[_0x536951(0x22e)])throw new Error(_0x536951(0x3dd));try{_0x4e1d9d[_0x536951(0x38b)]===p[_0x536951(0x201)][_0x536951(0x450)]&&(this[_0x536951(0x3b8)](),this[_0x536951(0x242)](_0x4e1d9d)),this[_0x536951(0x22e)][_0x536951(0x295)]({'cmd':W['INGEST'],'routeKey':_0x57df18,'routeType':'','data':_0x4e1d9d});}catch(_0x3de4ee){this[_0x536951(0x410)][_0x536951(0x37a)](_0x3de4ee);}}[_0x447e66(0x3b8)](){var _0x2beaea=_0x447e66,_0x58d419;this[_0x2beaea(0x45d)]=setTimeout(()=>{var _0x5a3230=_0x2beaea;this[_0x5a3230(0x45d)]=null,this[_0x5a3230(0x1d7)][_0x5a3230(0x490)]({'id':Z[_0x5a3230(0x337)]});},(_0x58d419=this[_0x2beaea(0x47b)]['getConfig'](ke))!=null?_0x58d419:lt);}[_0x447e66(0x2ee)](){var _0x209868=_0x447e66;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x209868(0x45d)]=null);}[_0x447e66(0x242)](_0x10f2e2){var _0x5c86a1=_0x447e66;if(!this['_shouldReportTelemetry'])return;const {data:_0x204492}=_0x10f2e2,{unitID:_0x218a96,changeset:_0x11325e}=_0x204492,{mutations:_0x54e835,type:_0x1abe14}=_0x11325e;this[_0x5c86a1(0x415)]={'unitId':_0x218a96,'type':_0x1abe14,'startTime':performance[_0x5c86a1(0x4a5)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x54e835)};}[_0x447e66(0x4bc)](){var _0x38f0ed=_0x447e66;if(this[_0x38f0ed(0x369)]){if(!this[_0x38f0ed(0x415)]){this['_logService'][_0x38f0ed(0x37a)](_0x38f0ed(0x371),_0x38f0ed(0x421));return;}this[_0x38f0ed(0x415)][_0x38f0ed(0x25c)]=performance[_0x38f0ed(0x4a5)](),this[_0x38f0ed(0x415)][_0x38f0ed(0x257)]=this[_0x38f0ed(0x415)]['stopTime']-this[_0x38f0ed(0x415)][_0x38f0ed(0x45f)],this['_telemetryService'][_0x38f0ed(0x2a3)](Bt,this['_telemetryInfo']),this[_0x38f0ed(0x415)]=null;}}[_0x447e66(0x3fe)](){var _0x3b7e38=_0x447e66;this[_0x3b7e38(0x415)]=null;}},exports[_0x447e66(0x190)]=qt([ce(0x2,a[_0x447e66(0x310)]),ce(0x3,a['IConfigService']),ce(0x4,a[_0x447e66(0x39f)](exports[_0x447e66(0x395)])),ce(0x5,a[_0x447e66(0x39f)]($e)),ce(0x6,a[_0x447e66(0x39f)](ee)),ce(0x7,a['Optional'](Rt[_0x447e66(0x261)]))],exports[_0x447e66(0x190)]);const K=a[_0x447e66(0x1e5)](_0x447e66(0x4a3));function Kt(_0x89319b){var _0x125921=_0x447e66;return _0x125921(0x40f)+_0x89319b;}var zt=Object[_0x447e66(0x20f)],Jt=(_0x3f95ce,_0x5d0758,_0xb3bc17,_0x22bd4f)=>{var _0x45e608=_0x447e66;for(var _0x98089d=_0x22bd4f>0x1?void 0x0:_0x22bd4f?zt(_0x5d0758,_0xb3bc17):_0x5d0758,_0x5f246f=_0x3f95ce[_0x45e608(0x2db)]-0x1,_0x404afa;_0x5f246f>=0x0;_0x5f246f--)(_0x404afa=_0x3f95ce[_0x5f246f])&&(_0x98089d=_0x404afa(_0x98089d)||_0x98089d);return _0x98089d;},Ue=(_0x1a3ced,_0x397ab5)=>(_0x4e7042,_0x22f2e1)=>_0x397ab5(_0x4e7042,_0x22f2e1,_0x1a3ced);function Xt(_0x1bef65){var _0x75edbf=_0x447e66;const {unitID:_0x3eb3f8,mutations:_0x18ac18}=_0x1bef65;return{'unitId':_0x3eb3f8,'subUnitId':_0x18ac18[0x0][_0x75edbf(0x28f)][_0x75edbf(0x3be)]};}exports[_0x447e66(0x41f)]=class{constructor(_0x3fdb51,_0x121ceb,_0x1f4d9b){var _0x4356c8=_0x447e66;this['_injector']=_0x3fdb51,this[_0x4356c8(0x1f7)]=_0x121ceb,this[_0x4356c8(0x28c)]=_0x1f4d9b;}[_0x447e66(0x4c1)](_0x25ae55){var _0x1abb0e=_0x447e66,_0x41ccd2,_0x6d706,_0x4c85d3,_0x1b730f;const _0xcc15f0=this[_0x1abb0e(0x39d)]['get'](X[_0x1abb0e(0x1ef)]),{unitId:_0x56a51e,subUnitId:_0x1d5f0b}=Xt(_0x25ae55),_0x538f0a=_0xcc15f0==null?void 0x0:_0xcc15f0[_0x1abb0e(0x313)](_0x56a51e)[_0x1abb0e(0x40e)](),_0x35800e=(_0x6d706=(_0x41ccd2=this[_0x1abb0e(0x28c)][_0x1abb0e(0x1f1)](_0x56a51e))==null?void 0x0:_0x41ccd2[_0x1abb0e(0x193)]())==null?void 0x0:_0x6d706['getSheetId']();if(_0x538f0a[_0x1abb0e(0x2db)]===0x0||!_0x56a51e||!_0x1d5f0b)return;const _0x2d57e9=[{'id':X[_0x1abb0e(0x3aa)]['id'],'params':{'unitId':_0x56a51e,'subUnitId':_0x35800e,'selections':a[_0x1abb0e(0x29c)][_0x1abb0e(0x4eb)](_0x538f0a)}}],_0x31146c=this[_0x1abb0e(0x1f7)][_0x1abb0e(0x235)](_0x25ae55,_0x2d57e9);if(!p[_0x1abb0e(0x20b)](_0x31146c))throw _0x31146c[_0x1abb0e(0x37a)];const _0xa4bae4=(_0x1b730f=(_0x4c85d3=_0x31146c[_0x1abb0e(0x1a9)][0x0])==null?void 0x0:_0x4c85d3['params'])==null?void 0x0:_0x1b730f['selections'];if(Array[_0x1abb0e(0x24b)](_0xa4bae4)&&_0xa4bae4['length']){if(_0xa4bae4[_0x1abb0e(0x2db)]===_0x2d57e9[0x0][_0x1abb0e(0x28f)][_0x1abb0e(0x2ff)][_0x1abb0e(0x2db)]&&_0xa4bae4['every']((_0x46b0e8,_0x363752)=>a[_0x1abb0e(0x218)]['equals'](_0x46b0e8[_0x1abb0e(0x30a)],_0x2d57e9[0x0][_0x1abb0e(0x28f)][_0x1abb0e(0x2ff)][_0x363752][_0x1abb0e(0x30a)])))return;this[_0x1abb0e(0x39d)]['get'](a['ICommandService'])['executeCommand'](X[_0x1abb0e(0x3aa)]['id'],{'unitId':_0x56a51e,'subUnitId':_0x35800e,'selections':_0xa4bae4});}}},exports[_0x447e66(0x41f)]=Jt([Ue(0x0,a['Inject'](a['Injector'])),Ue(0x1,p['ITransformService']),Ue(0x2,a[_0x447e66(0x3f0)])],exports[_0x447e66(0x41f)]);const de=a[_0x447e66(0x1e5)](_0x447e66(0x1af));var He=(_0x4fbd5b=>(_0x4fbd5b[_0x4fbd5b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x447e66(0x33c),_0x4fbd5b[_0x4fbd5b[_0x447e66(0x1b0)]=0x1]=_0x447e66(0x1b0),_0x4fbd5b))(He||{});const Y='collaboration-client.config',Zt={},Qt=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x5cf0f4,_0x391220,_0x153b5,_0x57b421,_0x3025e0){var _0x1de6d6=_0x447e66,_0x9b0651,_0x50c639,_0x4fd48d,_0x5a3854;const _0x2c7329=[];for(const _0x45aa22 of _0x5cf0f4)if(Qt[_0x1de6d6(0x3e8)](_0x45aa22['id'])){if(_0x2c7329[_0x1de6d6(0x2db)]>0x0)break;_0x2c7329[_0x1de6d6(0x1c3)](_0x45aa22);break;}else _0x2c7329[_0x1de6d6(0x1c3)](_0x45aa22);const _0x286efc=(_0x50c639=(_0x9b0651=_0x3025e0[_0x1de6d6(0x26a)]())==null?void 0x0:_0x9b0651[_0x1de6d6(0x36f)])!=null?_0x50c639:'unknown',_0x505da7=(_0x5a3854=(_0x4fd48d=_0x3025e0[_0x1de6d6(0x26a)]())==null?void 0x0:_0x4fd48d['memberID'])!=null?_0x5a3854:'unknown';return{'changeset':{'unitID':_0x391220,'type':p['mapDocumentTypeToUniverType'](_0x153b5['getUnitType'](_0x391220)),'baseRev':_0x57b421[_0x1de6d6(0x1ce)](_0x391220),'revision':0x0,'userID':_0x286efc,'memberID':_0x505da7,'mutations':_0x2c7329},'pendingMutations':_0x5cf0f4[_0x1de6d6(0x418)](_0x2c7329[_0x1de6d6(0x2db)])};}function ei(_0x22925b,_0x187b95,_0x2e1bf7,_0x2fc0b3,_0x2b649a){var _0x24e790=_0x447e66,_0x370043,_0x463156,_0x385a96,_0x63bed5;const _0x41cae3=[_0x22925b['reduce']((_0x2b04e5,_0x199523)=>{var _0x2ad39d=_0x52b3,_0x456983;const {id:_0x949078}=_0x2b04e5,{id:_0x45dd90,type:_0xaf2a76}=_0x199523,_0x5368b4=(_0x456983=_0x2b04e5[_0x2ad39d(0x28f)])!=null?_0x456983:{'actions':null},_0x1a5d5b=_0x199523[_0x2ad39d(0x28f)];if(_0x949078&&_0x949078!==_0x45dd90)throw new Error(_0x2ad39d(0x353)+_0x949078+_0x2ad39d(0x311)+_0x45dd90+'.');return{..._0x2b04e5,'id':_0x45dd90,'type':_0xaf2a76,'params':{'unitId':_0x1a5d5b[_0x2ad39d(0x4b0)],'textRanges':_0x1a5d5b[_0x2ad39d(0x3d3)],'actions':a[_0x2ad39d(0x3d5)][_0x2ad39d(0x2f6)](_0x5368b4[_0x2ad39d(0x33e)],_0x1a5d5b['actions'])}};},{})],_0x4b9ea6=(_0x463156=(_0x370043=_0x2b649a['getCurrentUser']())==null?void 0x0:_0x370043[_0x24e790(0x36f)])!=null?_0x463156:'unknown',_0x21fb60=(_0x63bed5=(_0x385a96=_0x2b649a[_0x24e790(0x26a)]())==null?void 0x0:_0x385a96[_0x24e790(0x43d)])!=null?_0x63bed5:_0x24e790(0x39c);return{'changeset':{'unitID':_0x187b95,'type':p[_0x24e790(0x385)](_0x2e1bf7[_0x24e790(0x1b2)](_0x187b95)),'baseRev':_0x2fc0b3['getCurrentRevOfUnit'](_0x187b95),'revision':0x0,'userID':_0x4b9ea6,'memberID':_0x21fb60,'mutations':_0x41cae3},'pendingMutations':[]};}function St(_0x50693f,_0x1d036e){var _0x2e9b9c=_0x447e66;const _0x4ff4a4=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x4ff4a4['next'](_0x1d036e),_0x50693f),_0x4ff4a4[_0x2e9b9c(0x44a)]()[_0x2e9b9c(0x30d)](H[_0x2e9b9c(0x3a4)](0x1));}const ti={'id':X[_0x447e66(0x3b0)]['id'],'type':a[_0x447e66(0x283)][_0x447e66(0x232)],'params':{}};var ii=Object['getOwnPropertyDescriptor'],oe=(_0x13b5c2,_0x2434d4,_0x11cb4c,_0x1f268f)=>{for(var _0x3914c5=_0x1f268f>0x1?void 0x0:_0x1f268f?ii(_0x2434d4,_0x11cb4c):_0x2434d4,_0x287e52=_0x13b5c2['length']-0x1,_0x3a7a9b;_0x287e52>=0x0;_0x287e52--)(_0x3a7a9b=_0x13b5c2[_0x287e52])&&(_0x3914c5=_0x3a7a9b(_0x3914c5)||_0x3914c5);return _0x3914c5;},w=(_0xda64ba,_0x2cc891)=>(_0xbdba01,_0x5a3c38)=>_0x2cc891(_0xbdba01,_0x5a3c38,_0xda64ba),je=(_0x5be9b3=>(_0x5be9b3[_0x447e66(0x1de)]=_0x447e66(0x3a1),_0x5be9b3['SYNCED']=_0x447e66(0x43e),_0x5be9b3[_0x447e66(0x351)]=_0x447e66(0x2b9),_0x5be9b3['AWAITING']=_0x447e66(0x4df),_0x5be9b3[_0x447e66(0x24a)]='awaiting_with_pending',_0x5be9b3[_0x447e66(0x18c)]='fetch_missing',_0x5be9b3[_0x447e66(0x19d)]='conflict',_0x5be9b3[_0x447e66(0x4c2)]=_0x447e66(0x447),_0x5be9b3))(je||{});const ft=0xea60;class ae{constructor(_0x237466,_0x37a506,_0x4523f1,_0x40b043,_0x367e35,_0x3cc06b,_0x52bb4d,_0x5bd5f0,_0x230ae5){var _0x33992e=_0x447e66;A(this,_0x33992e(0x448),null),A(this,_0x33992e(0x2c1),[]),(this['unitID']=_0x237466,this[_0x33992e(0x182)]=_0x37a506,this['_handler']=_0x367e35,this[_0x33992e(0x209)]=_0x3cc06b,this[_0x33992e(0x275)]=_0x52bb4d,this[_0x33992e(0x346)]=_0x5bd5f0,this['_localCacheService']=_0x230ae5,this['_awaitingChangeset']=_0x4523f1,this[_0x33992e(0x2c1)]=_0x40b043);}[_0x447e66(0x2d3)](_0x1c9c54){var _0x38e018=_0x447e66;const _0x5ba61a=this['_revisionService']['getCurrentRevOfUnit'](this[_0x38e018(0x34c)]);return _0x1c9c54[_0x38e018(0x2a2)]>_0x5ba61a+0x1?(this[_0x38e018(0x4f5)][_0x38e018(0x30e)]({'from':_0x5ba61a,'to':_0x1c9c54[_0x38e018(0x2a2)]-0x1}),!0x0):!0x1;}[_0x447e66(0x1b3)](_0x98b2bd){var _0x36e7ba=_0x447e66;this[_0x36e7ba(0x275)][_0x36e7ba(0x2ae)](this[_0x36e7ba(0x34c)],_0x98b2bd);}['_transformSelections'](_0x5a3439){var _0xd22594=_0x447e66,_0x210ccf,_0x56a379;(_0x56a379=(_0x210ccf=this[_0xd22594(0x4f5)])['onTransformSelections'])==null||_0x56a379[_0xd22594(0x47a)](_0x210ccf,_0x5a3439);}[_0x447e66(0x42b)](_0x4707e9){var _0x261608=_0x447e66,_0x2abc0f,_0x4f747c;return(_0x4f747c=(_0x2abc0f=this[_0x261608(0x4f5)])[_0x261608(0x2eb)])==null?void 0x0:_0x4f747c[_0x261608(0x47a)](_0x2abc0f,_0x4707e9);}['_transformStateCache'](_0x2936c0){var _0x82d5c3=_0x447e66,_0x223009,_0x40ad79;return(_0x40ad79=(_0x223009=this['_handler'])[_0x82d5c3(0x297)])==null?void 0x0:_0x40ad79[_0x82d5c3(0x47a)](_0x223009,_0x2936c0);}['_transformRemoteChangesetByIMECache'](_0x31262f){var _0x255905=_0x447e66,_0x2c4800,_0x526bdd,_0x31912c;return(_0x31912c=(_0x526bdd=(_0x2c4800=this['_handler'])[_0x255905(0x4c5)])==null?void 0x0:_0x526bdd[_0x255905(0x47a)](_0x2c4800,_0x31262f))!=null?_0x31912c:_0x31262f;}[_0x447e66(0x2c4)](_0x224688){var _0x352255=_0x447e66,_0x4bdc10,_0x526a18,_0x49ca69;return(_0x49ca69=(_0x526a18=(_0x4bdc10=this[_0x352255(0x4f5)])[_0x352255(0x1f5)])==null?void 0x0:_0x526a18['call'](_0x4bdc10,_0x224688))!=null?_0x49ca69:_0x224688;}[_0x447e66(0x349)](_0x4866f1){var _0x2f483e=_0x447e66,_0x167741,_0x27d5a6;if(this[_0x2f483e(0x182)]===J['UNIVER_DOC']){const {unitID:_0x3a73cd,mutations:_0x389f1e,memberID:_0x264bd8}=_0x4866f1,_0x48a9b1=_0x389f1e[0x0]['params'][_0x2f483e(0x3d3)];Array[_0x2f483e(0x24b)](_0x48a9b1)&&_0x48a9b1[_0x2f483e(0x2db)]>0x0&&((_0x27d5a6=(_0x167741=this[_0x2f483e(0x4f5)])[_0x2f483e(0x192)])==null||_0x27d5a6['call'](_0x167741,{'unitID':_0x3a73cd,'memberID':_0x264bd8,'textRanges':_0x48a9b1}));}}[_0x447e66(0x47e)](){var _0x138c9a=_0x447e66,_0x49019d;(_0x49019d=this['_localCacheService'])==null||_0x49019d[_0x138c9a(0x427)](this[_0x138c9a(0x34c)],this[_0x138c9a(0x182)],this[_0x138c9a(0x448)],this[_0x138c9a(0x2c1)]);}[_0x447e66(0x457)](){var _0x513046=_0x447e66;return this['_revisionService'][_0x513046(0x1ce)](this[_0x513046(0x34c)]);}['_incrementRevisionNumber'](){var _0xf260d4=_0x447e66;this[_0xf260d4(0x346)][_0xf260d4(0x199)](this['unitID']);}[_0x447e66(0x499)](_0x3ce0c0){var _0x404035=_0x447e66,_0x181115;let _0x139f4d=this['_transformRemoteChangesetByIMECache'](_0x3ce0c0);_0x139f4d=this[_0x404035(0x2c4)](_0x139f4d);const _0x48fea5=a[_0x404035(0x251)](_0x139f4d[_0x404035(0x1f4)],this[_0x404035(0x209)],{'fromCollab':!0x0});if(!_0x48fea5[_0x404035(0x3a6)])throw _0x48fea5['error']instanceof Error?_0x48fea5[_0x404035(0x37a)]:new Error((_0x181115=_0x48fea5['error'])!=null?_0x181115:_0x404035(0x34b));this[_0x404035(0x42b)](_0x139f4d),this[_0x404035(0x3f9)](_0x139f4d),this[_0x404035(0x1b3)](_0x3ce0c0),this[_0x404035(0x23a)](_0x139f4d),this[_0x404035(0x349)](_0x139f4d),this[_0x404035(0x304)]();}}exports[_0x447e66(0x238)]=class extends ae{constructor(_0x49f4bd,_0x7dfd36,_0x445fdc,_0x402531,_0x58bc12,_0x249342,_0x1b76be,_0x515b41,_0x4f87dd,_0x365d9e){var _0x3b908e=_0x447e66;super(_0x49f4bd,_0x7dfd36,null,[],_0x445fdc,_0x1b76be,_0x249342,_0x402531,_0x365d9e),A(this,'status',_0x3b908e(0x43e)),(this[_0x3b908e(0x39d)]=_0x58bc12,this[_0x3b908e(0x410)]=_0x515b41,this[_0x3b908e(0x1f7)]=_0x4f87dd,this[_0x3b908e(0x20d)]=_0x365d9e);}[_0x447e66(0x420)](_0x307fd9){var _0x4aa681=_0x447e66;const _0x30d414=this[_0x4aa681(0x39d)]['createInstance'](exports[_0x4aa681(0x382)],this[_0x4aa681(0x34c)],this[_0x4aa681(0x182)],[_0x307fd9],this[_0x4aa681(0x4f5)]);return _0x30d414[_0x4aa681(0x187)](),_0x30d414[_0x4aa681(0x47e)](),_0x30d414;}[_0x447e66(0x384)](_0x39178b){var _0x1295fa=_0x447e66;if(this[_0x1295fa(0x2d3)](_0x39178b))return this[_0x1295fa(0x39d)][_0x1295fa(0x467)](exports['FetchingMissState'],this['unitID'],this['type'],null,[],null,[_0x39178b],this[_0x1295fa(0x4f5)]);try{const _0xf703fa=this['_transformService']['transformMutationsWithChangeset'](_0x39178b,[ti]);if(p[_0x1295fa(0x20b)](_0xf703fa)){const {c1Prime:_0x296132}=_0xf703fa;return this[_0x1295fa(0x499)](_0x296132),this;}throw _0xf703fa['error'];}catch(_0x1c5421){return this['_logService'][_0x1295fa(0x37a)](_0x1c5421),this[_0x1295fa(0x4ab)](!0x1);}}[_0x447e66(0x4ab)](_0x31cb11){var _0x41d1f5=_0x447e66;return this['_injector'][_0x41d1f5(0x467)](exports['ConflictState'],this['unitID'],this[_0x41d1f5(0x182)],null,[],this[_0x41d1f5(0x4f5)],_0x31cb11);}[_0x447e66(0x4ad)](){var _0x36fc42=_0x447e66;throw new Error(_0x36fc42(0x354));}[_0x447e66(0x35f)](){var _0x5914f8=_0x447e66;throw new Error(_0x5914f8(0x4b3));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x34413f=_0x447e66;return this[_0x34413f(0x39d)]['createInstance'](exports['OfflineState'],this['unitID'],this[_0x34413f(0x182)],null,[],this[_0x34413f(0x4f5)]);}[_0x447e66(0x1b7)](){return this;}[_0x447e66(0x4aa)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x447e66(0x253)](){var _0x244af3=_0x447e66;const _0xbc6beb=this[_0x244af3(0x346)][_0x244af3(0x1ce)](this[_0x244af3(0x34c)]);return this['_handler'][_0x244af3(0x30e)]({'from':_0xbc6beb,'to':0x0}),this[_0x244af3(0x39d)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x244af3(0x182)],null,[],null,[],this[_0x244af3(0x4f5)]);}},exports['SyncedState']=oe([w(0x3,a[_0x447e66(0x39f)](p[_0x447e66(0x1f0)])),w(0x4,a[_0x447e66(0x39f)](a[_0x447e66(0x3c2)])),w(0x5,a[_0x447e66(0x34a)]),w(0x6,a[_0x447e66(0x35e)]),w(0x7,a[_0x447e66(0x310)]),w(0x8,p[_0x447e66(0x274)]),w(0x9,a[_0x447e66(0x27e)](K))],exports[_0x447e66(0x238)]),exports[_0x447e66(0x382)]=class extends ae{constructor(_0x4a4073,_0x553fff,_0xfcdd38,_0x17ea98,_0x517a84,_0x5d8225,_0xda36ff,_0x296696,_0x1f4e20,_0x37b743,_0x2e209d,_0x4d0d3a,_0x5a78c2,_0x3b4aa7){var _0x3fb694=_0x447e66;super(_0x4a4073,_0x553fff,null,_0xfcdd38,_0x17ea98,_0x1f4e20,_0x5a78c2,_0x5d8225,_0x3b4aa7),A(this,_0x3fb694(0x265),_0x3fb694(0x2b9)),A(this,_0x3fb694(0x307),null),A(this,'_sendingTimer',null),(this[_0x3fb694(0x39d)]=_0x517a84,this[_0x3fb694(0x2be)]=_0xda36ff,this[_0x3fb694(0x410)]=_0x296696,this[_0x3fb694(0x47b)]=_0x37b743,this[_0x3fb694(0x1f7)]=_0x2e209d,this[_0x3fb694(0x27d)]=_0x4d0d3a);}[_0x447e66(0x420)](_0x1a2705){var _0x44581b=_0x447e66;return this[_0x44581b(0x2c1)][_0x44581b(0x1c3)](_0x1a2705),this[_0x44581b(0x47e)](),this;}['onRemoteChangeset'](_0x2a25a4){var _0x166631=_0x447e66;if(this[_0x166631(0x2d3)](_0x2a25a4))return this[_0x166631(0x264)](),this[_0x166631(0x39d)]['createInstance'](exports['FetchingMissState'],this[_0x166631(0x34c)],this[_0x166631(0x182)],null,this[_0x166631(0x2c1)],null,[_0x2a25a4],this[_0x166631(0x4f5)]);try{const _0x2270b9=this[_0x166631(0x1f7)]['transformMutationsWithChangeset'](_0x2a25a4,this[_0x166631(0x2c1)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x2270b9)){const {c1Prime:_0x2bb449,m2Prime:_0x3d4b1c}=_0x2270b9;this[_0x166631(0x499)](_0x2bb449);const _0x371120=this[_0x166631(0x39d)]['createInstance'](exports[_0x166631(0x382)],this[_0x166631(0x34c)],this[_0x166631(0x182)],_0x3d4b1c,this[_0x166631(0x4f5)]);this[_0x166631(0x264)]();const _0x411910=new Date()['getTime'](),_0x458cd1=this[_0x166631(0x307)]?Math[_0x166631(0x2e4)](this[_0x166631(0x307)]-_0x411910,0x0):this['_getSendChangesetTimeout']();return _0x371120[_0x166631(0x187)](_0x458cd1),_0x371120;}throw _0x2270b9[_0x166631(0x37a)];}catch(_0x5d89fb){return this[_0x166631(0x410)][_0x166631(0x37a)](_0x5d89fb),this[_0x166631(0x4ab)](!0x1);}}[_0x447e66(0x4ad)](){var _0x304815=_0x447e66;throw new Error(_0x304815(0x494));}[_0x447e66(0x35f)](){var _0x492fbc=_0x447e66;throw new Error(_0x492fbc(0x43f));}[_0x447e66(0x269)](){return this;}[_0x447e66(0x3cc)](){var _0x9ad0ef=_0x447e66;return this['_clearScheduledTask'](),this[_0x9ad0ef(0x39d)]['createInstance'](exports[_0x9ad0ef(0x462)],this['unitID'],this[_0x9ad0ef(0x182)],null,this[_0x9ad0ef(0x2c1)],this[_0x9ad0ef(0x4f5)]);}[_0x447e66(0x1b7)](){return this;}[_0x447e66(0x187)](_0x2ebc62){var _0x2a3cd3=_0x447e66;const _0x57c651=_0x2ebc62!=null?_0x2ebc62:this[_0x2a3cd3(0x1cc)]();this[_0x2a3cd3(0x307)]=new Date()[_0x2a3cd3(0x2ec)]()+_0x57c651,this[_0x2a3cd3(0x4ce)]=setTimeout(()=>{var _0x1eaa8f=_0x2a3cd3;this[_0x1eaa8f(0x264)]();let _0x435d36=null;switch(this[_0x1eaa8f(0x182)]){case J['UNIVER_SHEET']:{_0x435d36=Ge(this['_pendingMutations'],this[_0x1eaa8f(0x34c)],this[_0x1eaa8f(0x27d)],this[_0x1eaa8f(0x346)],this['_memberService']);break;}case J['UNIVER_DOC']:{this[_0x1eaa8f(0x2c1)]['every'](_0x5d3513=>_0x5d3513['id']===ct[_0x1eaa8f(0x21e)]['id'])?_0x435d36=ei(this[_0x1eaa8f(0x2c1)],this[_0x1eaa8f(0x34c)],this[_0x1eaa8f(0x27d)],this[_0x1eaa8f(0x346)],this['_memberService']):_0x435d36=Ge(this[_0x1eaa8f(0x2c1)],this[_0x1eaa8f(0x34c)],this[_0x1eaa8f(0x27d)],this[_0x1eaa8f(0x346)],this['_memberService']);break;}default:throw new Error(_0x1eaa8f(0x1c1)+this[_0x1eaa8f(0x182)]+_0x1eaa8f(0x453));}const {changeset:_0x4b8203,pendingMutations:_0xedf00f}=_0x435d36;this[_0x1eaa8f(0x4f5)]['onSendChangeset'](_0x4b8203);const _0x251088=_0xedf00f[_0x1eaa8f(0x2db)]?this['_injector']['createInstance'](exports[_0x1eaa8f(0x36b)],this[_0x1eaa8f(0x34c)],this[_0x1eaa8f(0x182)],_0x4b8203,_0xedf00f,this[_0x1eaa8f(0x4f5)],void 0x0):this['_injector']['createInstance'](exports['AwaitingState'],this[_0x1eaa8f(0x34c)],this['type'],_0x4b8203,this[_0x1eaa8f(0x4f5)]);_0x251088[_0x1eaa8f(0x47e)](),this[_0x1eaa8f(0x4f5)][_0x1eaa8f(0x2bb)](this,_0x251088);},_0x57c651);}[_0x447e66(0x1cc)](){var _0x4ddf99=_0x447e66,_0x44a655;const _0x3559d5=this[_0x4ddf99(0x47b)][_0x4ddf99(0x3d4)](Y);return(_0x44a655=_0x3559d5==null?void 0x0:_0x3559d5[_0x4ddf99(0x33f)])!=null?_0x44a655:Ut;}[_0x447e66(0x4aa)](){var _0xec72ff=_0x447e66;throw new Error(_0xec72ff(0x3d8));}['_clearScheduledTask'](){var _0x3b65bc=_0x447e66;this[_0x3b65bc(0x4ce)]!=null&&(clearTimeout(this[_0x3b65bc(0x4ce)]),this['_sendingTimer']=null);}[_0x447e66(0x4ab)](_0x3e6622){var _0x1ac5df=_0x447e66;return this['_clearScheduledTask'](),this[_0x1ac5df(0x39d)]['createInstance'](exports[_0x1ac5df(0x24d)],this[_0x1ac5df(0x34c)],this[_0x1ac5df(0x182)],null,this['_pendingMutations'],this['_handler'],_0x3e6622);}},exports[_0x447e66(0x382)]=oe([w(0x4,a[_0x447e66(0x39f)](a[_0x447e66(0x3c2)])),w(0x5,a[_0x447e66(0x39f)](p[_0x447e66(0x1f0)])),w(0x6,a[_0x447e66(0x39f)](exports[_0x447e66(0x395)])),w(0x7,a[_0x447e66(0x310)]),w(0x8,a['ICommandService']),w(0x9,a[_0x447e66(0x2ed)]),w(0xa,p[_0x447e66(0x274)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x447e66(0x34a)]),w(0xd,a[_0x447e66(0x27e)](K))],exports[_0x447e66(0x382)]),exports[_0x447e66(0x2a5)]=class extends ae{constructor(_0x2db335,_0x1f003a,_0x28b13f,_0x45eb46,_0x3cc0cc,_0x405dee,_0x243afa,_0x3ea4f9,_0x27ac40,_0x379034,_0x2dceaa){var _0x49b54f=_0x447e66;super(_0x2db335,_0x1f003a,_0x28b13f,[],_0x45eb46,_0x243afa,_0x379034,_0x405dee,_0x2dceaa),A(this,'status',_0x49b54f(0x4df)),A(this,_0x49b54f(0x49b),0x0),A(this,'_resendTimer'),A(this,_0x49b54f(0x383)),(this['_injector']=_0x3cc0cc,this[_0x49b54f(0x410)]=_0x3ea4f9,this[_0x49b54f(0x1f7)]=_0x27ac40);}['appendMutation'](_0x37d516){var _0x1294e2=_0x447e66;this['_clearScheduledTask']();const _0x2d88c8=this[_0x1294e2(0x39d)]['createInstance'](exports[_0x1294e2(0x36b)],this[_0x1294e2(0x34c)],this['type'],this[_0x1294e2(0x448)],[_0x37d516],this[_0x1294e2(0x4f5)],this[_0x1294e2(0x196)]);return _0x2d88c8[_0x1294e2(0x47e)](),_0x2d88c8;}[_0x447e66(0x384)](_0x167094){var _0x47d3f2=_0x447e66;if(this['_checkMissing'](_0x167094))return this['_clearScheduledTask'](),this[_0x47d3f2(0x39d)][_0x47d3f2(0x467)](exports[_0x47d3f2(0x258)],this[_0x47d3f2(0x34c)],this[_0x47d3f2(0x182)],this['_awaitingChangeset'],[],null,[_0x167094],this[_0x47d3f2(0x4f5)]);try{const _0x595cdf=this['_transformService'][_0x47d3f2(0x3f2)]([_0x167094],[this[_0x47d3f2(0x448)]],!0x1);if(p[_0x47d3f2(0x49f)](_0x595cdf)){const {c1Prime:_0x5dbe32,c2Prime:_0x497d41}=_0x595cdf;this[_0x47d3f2(0x499)](_0x5dbe32[0x0]),_0x497d41[0x0][_0x47d3f2(0x292)]=this['_getCurrentRevision'](),this[_0x47d3f2(0x264)]();const _0x3d496b=this[_0x47d3f2(0x39d)][_0x47d3f2(0x467)](exports[_0x47d3f2(0x2a5)],this['unitID'],this['type'],_0x497d41[0x0],this['_handler']);return _0x3d496b['_updateLocalCache'](),_0x3d496b;}return this[_0x47d3f2(0x4ab)](!0x1);}catch(_0x4b6484){return this[_0x47d3f2(0x410)]['error'](_0x4b6484),this[_0x47d3f2(0x4ab)](!0x1);}}[_0x447e66(0x4ad)](_0x2a5c49){var _0x11ff18=_0x447e66;this[_0x11ff18(0x264)]();const _0x11022b=this[_0x11ff18(0x346)][_0x11ff18(0x1ce)](this[_0x11ff18(0x34c)]);if(_0x2a5c49['revision']<_0x11022b-0x1)return this;if(this[_0x11ff18(0x2d3)](_0x2a5c49))return this[_0x11ff18(0x39d)][_0x11ff18(0x467)](exports['FetchingMissState'],this[_0x11ff18(0x34c)],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x11ff18(0x304)]();const _0x33bf1b=this['_injector'][_0x11ff18(0x467)](exports[_0x11ff18(0x238)],this['unitID'],this['type'],this['_handler']);return _0x33bf1b['_updateLocalCache'](),_0x33bf1b;}['onRemoteRej'](_0x1524f3){var _0x5e3169=_0x447e66;return this[_0x5e3169(0x4ab)](!!(_0x1524f3!=null&&_0x1524f3[_0x5e3169(0x4b5)]));}[_0x447e66(0x269)](_0x36170d){var _0x8bbdd3=_0x447e66;return this[_0x8bbdd3(0x49b)]>ft?this['toggleOffline']():(this[_0x8bbdd3(0x196)]=St(this[_0x8bbdd3(0x49b)],{'timeout':this[_0x8bbdd3(0x49b)],'reqId':_0x36170d[_0x8bbdd3(0x1a2)]}),this[_0x8bbdd3(0x383)]=this[_0x8bbdd3(0x196)][_0x8bbdd3(0x472)](({reqId:_0x26eaed,timeout:_0x1448d6})=>{var _0x2d1345=_0x8bbdd3;this[_0x2d1345(0x3fb)](_0x26eaed,_0x1448d6);}),this);}[_0x447e66(0x3cc)](){var _0x5673f7=_0x447e66;return this[_0x5673f7(0x264)](),this[_0x5673f7(0x39d)][_0x5673f7(0x467)](exports[_0x5673f7(0x462)],this[_0x5673f7(0x34c)],this['type'],this[_0x5673f7(0x448)],[],this[_0x5673f7(0x4f5)]);}[_0x447e66(0x1b7)](){return this;}[_0x447e66(0x4aa)](){var _0x1b63fb=_0x447e66;this[_0x1b63fb(0x4f5)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x447e66(0x4ab)](_0x2f9ef9){var _0x10257b=_0x447e66;return this[_0x10257b(0x264)](),this[_0x10257b(0x39d)][_0x10257b(0x467)](exports[_0x10257b(0x24d)],this[_0x10257b(0x34c)],this[_0x10257b(0x182)],this[_0x10257b(0x448)],[],this[_0x10257b(0x4f5)],_0x2f9ef9);}[_0x447e66(0x3fb)](_0x3caf84,_0x27a654){var _0x5f1dd7=_0x447e66,_0x44a9c2;_0x3caf84===((_0x44a9c2=this[_0x5f1dd7(0x448)])==null?void 0x0:_0x44a9c2[_0x5f1dd7(0x1a2)])&&(this[_0x5f1dd7(0x4aa)](),this[_0x5f1dd7(0x49b)]=_0x27a654===0x0?0x3e8:_0x27a654*0x2);}[_0x447e66(0x264)](){var _0x1a3e54=_0x447e66,_0x4882d1;(_0x4882d1=this['_sender'])==null||_0x4882d1[_0x1a3e54(0x32e)](),this[_0x1a3e54(0x49b)]=0x0;}},exports['AwaitingState']=oe([w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x447e66(0x39f)](p['RevisionService'])),w(0x6,a['ICommandService']),w(0x7,a[_0x447e66(0x310)]),w(0x8,p['ITransformService']),w(0x9,a[_0x447e66(0x34a)]),w(0xa,a[_0x447e66(0x27e)](K))],exports[_0x447e66(0x2a5)]),exports[_0x447e66(0x36b)]=class extends ae{constructor(_0x3ab835,_0x3dab25,_0x1f310b,_0xf821ba,_0x167aa1,_0x1574d0,_0x5a0e62,_0x431106,_0x42c542,_0x1b9b19,_0x29af50,_0x39f661,_0x1c740d){var _0x35aae1=_0x447e66;super(_0x3ab835,_0x3dab25,_0x1f310b,_0xf821ba,_0x167aa1,_0x42c542,_0x39f661,_0x431106,_0x1c740d),A(this,_0x35aae1(0x265),'awaiting_with_pending'),A(this,_0x35aae1(0x49b),0x0),A(this,_0x35aae1(0x196)),A(this,_0x35aae1(0x383)),(this[_0x35aae1(0x39d)]=_0x5a0e62,this[_0x35aae1(0x410)]=_0x1b9b19,this[_0x35aae1(0x1f7)]=_0x29af50,this[_0x35aae1(0x20d)]=_0x1c740d,_0x1574d0&&(this[_0x35aae1(0x196)]=_0x1574d0,this[_0x35aae1(0x383)]=this[_0x35aae1(0x196)][_0x35aae1(0x472)](({reqId:_0xc7e37d,timeout:_0x95845d})=>{this['_resendWithTimeout'](_0xc7e37d,_0x95845d);})));}[_0x447e66(0x420)](_0x26f2e0){var _0x1d3db6=_0x447e66;return this[_0x1d3db6(0x2c1)]['push'](_0x26f2e0),this;}[_0x447e66(0x384)](_0x3b93d6){var _0x2531d7=_0x447e66;if(this[_0x2531d7(0x2d3)](_0x3b93d6))return this[_0x2531d7(0x264)](),this[_0x2531d7(0x39d)][_0x2531d7(0x467)](exports[_0x2531d7(0x258)],this['unitID'],this['type'],this[_0x2531d7(0x448)],this[_0x2531d7(0x2c1)],null,[_0x3b93d6],this[_0x2531d7(0x4f5)]);try{const _0x29b1bb=this[_0x2531d7(0x1f7)]['transformChangesets']([_0x3b93d6],[this[_0x2531d7(0x448)]],!0x1);if(p[_0x2531d7(0x49f)](_0x29b1bb)){const {c1Prime:_0x1048f8,c2Prime:_0x38703a}=_0x29b1bb,_0x1311b3=this['_transformService']['transformMutationsWithChangeset'](_0x1048f8[0x0],this[_0x2531d7(0x2c1)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x1311b3)){const {c1Prime:_0x346245,m2Prime:_0x1c4397}=_0x1311b3;return this[_0x2531d7(0x499)](_0x346245),_0x38703a[0x0][_0x2531d7(0x292)]=this[_0x2531d7(0x457)](),this[_0x2531d7(0x264)](),this[_0x2531d7(0x39d)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x2531d7(0x34c)],this[_0x2531d7(0x182)],_0x38703a[0x0],_0x1c4397,this['_handler'],void 0x0);}throw _0x1311b3['error'];}throw _0x29b1bb['error'];}catch(_0x421e12){return this[_0x2531d7(0x410)][_0x2531d7(0x37a)](_0x421e12),this[_0x2531d7(0x4ab)](!0x1);}}['onRemoteAck'](_0x40ec35){var _0x14daa7=_0x447e66;if(this['_clearScheduledTask'](),this[_0x14daa7(0x2d3)](_0x40ec35))return this['_injector'][_0x14daa7(0x467)](exports['FetchingMissState'],this['unitID'],this[_0x14daa7(0x182)],null,this['_pendingMutations'],this[_0x14daa7(0x448)],[],this[_0x14daa7(0x4f5)]);this[_0x14daa7(0x304)]();const _0x1758cd=this[_0x14daa7(0x39d)][_0x14daa7(0x467)](exports[_0x14daa7(0x382)],this[_0x14daa7(0x34c)],this[_0x14daa7(0x182)],this['_pendingMutations'],this['_handler']);return _0x1758cd['_schedule'](),_0x1758cd[_0x14daa7(0x47e)](),_0x1758cd;}[_0x447e66(0x35f)](_0x48d0ff){var _0xf06d77=_0x447e66;return this[_0xf06d77(0x4ab)](!!(_0x48d0ff!=null&&_0x48d0ff[_0xf06d77(0x4b5)]));}[_0x447e66(0x269)](_0x36dc4a){var _0x494386=_0x447e66;return this[_0x494386(0x49b)]>ft?this[_0x494386(0x3cc)]():(this[_0x494386(0x196)]=St(this['_resendTimeout'],{'timeout':this[_0x494386(0x49b)],'reqId':_0x36dc4a[_0x494386(0x1a2)]}),this[_0x494386(0x383)]=this[_0x494386(0x196)][_0x494386(0x472)](({reqId:_0x496336,timeout:_0x25799a})=>{var _0x44a9eb=_0x494386;this[_0x44a9eb(0x3fb)](_0x496336,_0x25799a);}),this);}[_0x447e66(0x3cc)](){var _0x36b718=_0x447e66;return this['_clearScheduledTask'](),this[_0x36b718(0x39d)][_0x36b718(0x467)](exports[_0x36b718(0x462)],this[_0x36b718(0x34c)],this[_0x36b718(0x182)],this[_0x36b718(0x448)],this[_0x36b718(0x2c1)],this['_handler']);}[_0x447e66(0x1b7)](){return this;}[_0x447e66(0x4aa)](){var _0x582ddf=_0x447e66;this[_0x582ddf(0x4f5)][_0x582ddf(0x479)](this[_0x582ddf(0x448)]);}[_0x447e66(0x4ab)](_0x30ca03){var _0x36cc22=_0x447e66;return this[_0x36cc22(0x264)](),this['_injector']['createInstance'](exports[_0x36cc22(0x24d)],this[_0x36cc22(0x34c)],this[_0x36cc22(0x182)],null,this['_pendingMutations'],this[_0x36cc22(0x4f5)],_0x30ca03);}[_0x447e66(0x3fb)](_0x2f2722,_0x183002){var _0x25dee9=_0x447e66,_0x51293c;_0x2f2722===((_0x51293c=this[_0x25dee9(0x448)])==null?void 0x0:_0x51293c['reqId'])&&(this[_0x25dee9(0x4aa)](),this[_0x25dee9(0x49b)]=_0x183002===0x0?0x3e8:_0x183002*0x2);}[_0x447e66(0x264)](){var _0x189e85=_0x447e66,_0x23bfa4;(_0x23bfa4=this[_0x189e85(0x383)])==null||_0x23bfa4[_0x189e85(0x32e)](),this[_0x189e85(0x49b)]=0x0;}},exports[_0x447e66(0x36b)]=oe([w(0x6,a[_0x447e66(0x39f)](a[_0x447e66(0x3c2)])),w(0x7,a['Inject'](p[_0x447e66(0x1f0)])),w(0x8,a['ICommandService']),w(0x9,a[_0x447e66(0x310)]),w(0xa,p[_0x447e66(0x274)]),w(0xb,a['IUndoRedoService']),w(0xc,a['Optional'](K))],exports[_0x447e66(0x36b)]),exports[_0x447e66(0x24d)]=class extends ae{constructor(_0x5ddfa6,_0x1eb47a,_0x1fabdb,_0x41d180,_0x2e371a,_0x4eef97=!0x1,_0x553972,_0x4769c9,_0x52a59b,_0x2b9b25,_0x35e45a,_0x384738,_0x1a55df){var _0x324162=_0x447e66;super(_0x5ddfa6,_0x1eb47a,_0x1fabdb,_0x41d180,_0x2e371a,_0x4769c9,_0x52a59b,_0x2b9b25,_0x1a55df),A(this,_0x324162(0x265),'conflict'),(this['_isPermissionRej']=_0x4eef97,this[_0x324162(0x3cb)]=_0x553972,this[_0x324162(0x2b4)]=_0x35e45a,this[_0x324162(0x1d7)]=_0x384738,this[_0x324162(0x20d)]=_0x1a55df,this[_0x324162(0x18b)](),this[_0x324162(0x294)](),this[_0x324162(0x241)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x447e66(0x269)](){return this;}[_0x447e66(0x3cc)](){return this;}[_0x447e66(0x1b7)](){return this;}['resend'](){var _0x46e54c=_0x447e66;throw new Error(_0x46e54c(0x1d2));}[_0x447e66(0x294)](){var _0x1e2b4f=_0x447e66,_0xe1aa57;(_0xe1aa57=this['_localCacheService'])==null||_0xe1aa57[_0x1e2b4f(0x427)](this['unitID'],this[_0x1e2b4f(0x182)],null,[]);}[_0x447e66(0x18b)](){var _0x82fd0e=_0x447e66;this['_isPermissionRej']?this[_0x82fd0e(0x1d7)][_0x82fd0e(0x490)]({'id':Z[_0x82fd0e(0x2d1)]}):this[_0x82fd0e(0x1d7)][_0x82fd0e(0x490)]({'id':Z[_0x82fd0e(0x19d)]});}['_disableEditing'](){var _0x366b2d=_0x447e66;this[_0x366b2d(0x3cb)]['updatePermissionPoint'](new X[(_0x366b2d(0x1bc))](this[_0x366b2d(0x34c)])['id'],!0x1);}},exports[_0x447e66(0x24d)]=oe([w(0x6,a[_0x447e66(0x39f)](a[_0x447e66(0x2a4)])),w(0x7,a['ICommandService']),w(0x8,a[_0x447e66(0x34a)]),w(0x9,a['Inject'](p[_0x447e66(0x1f0)])),w(0xa,a[_0x447e66(0x39f)](a['LocaleService'])),w(0xb,a['Inject'](ee)),w(0xc,a['Optional'](K))],exports['ConflictState']),exports[_0x447e66(0x462)]=class extends ae{constructor(_0x145ee5,_0x57d216,_0x402395,_0x353a55,_0x2352e1,_0x42acf5,_0x312638,_0x511cc4,_0x2b172b,_0xfa9126){var _0x3c7cdb=_0x447e66;super(_0x145ee5,_0x57d216,_0x402395,_0x353a55,_0x2352e1,_0x511cc4,_0x2b172b,_0x312638,_0xfa9126),A(this,_0x3c7cdb(0x265),_0x3c7cdb(0x447)),this['_injector']=_0x42acf5;}[_0x447e66(0x420)](_0x19fa36){var _0x5c5f23=_0x447e66;return this[_0x5c5f23(0x2c1)][_0x5c5f23(0x1c3)](_0x19fa36),this[_0x5c5f23(0x47e)](),this;}[_0x447e66(0x384)](_0xf6449c){var _0x24db6a=_0x447e66;throw new Error(_0x24db6a(0x380));}['onRemoteAck'](){var _0x6fcb1c=_0x447e66;throw new Error(_0x6fcb1c(0x36e));}[_0x447e66(0x35f)](){var _0x463cce=_0x447e66;throw new Error(_0x463cce(0x2e9));}[_0x447e66(0x269)](){return this;}['toggleOffline'](){return this;}[_0x447e66(0x1b7)](){var _0x2e1999=_0x447e66;const {_injector:_0x571a1e,_pendingMutations:_0x51864c,_awaitingChangeset:_0x390c79,unitID:_0x8dca20,_handler:_0x194591,type:_0x569c47}=this,_0x228af5=It(_0x571a1e,_0x8dca20,_0x569c47,_0x390c79,_0x51864c,_0x194591);return _0x228af5 instanceof exports[_0x2e1999(0x382)]?_0x228af5[_0x2e1999(0x187)]():(_0x228af5 instanceof exports[_0x2e1999(0x36b)]||_0x228af5 instanceof exports[_0x2e1999(0x2a5)])&&_0x228af5[_0x2e1999(0x4aa)](),_0x228af5;}[_0x447e66(0x4aa)](){var _0x5d356a=_0x447e66;throw new Error(_0x5d356a(0x45e));}},exports[_0x447e66(0x462)]=oe([w(0x5,a[_0x447e66(0x39f)](a['Injector'])),w(0x6,a['Inject'](p[_0x447e66(0x1f0)])),w(0x7,a['ICommandService']),w(0x8,a[_0x447e66(0x34a)]),w(0x9,a[_0x447e66(0x27e)](K))],exports[_0x447e66(0x462)]),exports[_0x447e66(0x258)]=class extends ae{constructor(_0x809c6a,_0x2d29aa,_0x13a474,_0x34a81c,_0x5a1c2e,_0x281d9b,_0x1c6baf,_0x3a06d3,_0x9d8f62,_0x28e072,_0x1a26ed,_0x5c8d39,_0x251547,_0x14174e){var _0x3dd17a=_0x447e66;super(_0x809c6a,_0x2d29aa,_0x13a474,_0x34a81c,_0x1c6baf,_0x1a26ed,_0x5c8d39,_0x9d8f62,_0x14174e),A(this,_0x3dd17a(0x265),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x5a1c2e,this[_0x3dd17a(0x432)]=_0x281d9b,this['_injector']=_0x3a06d3,this[_0x3dd17a(0x410)]=_0x28e072,this[_0x3dd17a(0x1f7)]=_0x251547,this[_0x3dd17a(0x20d)]=_0x14174e);}[_0x447e66(0x3ab)](_0x47c50f){var _0x4c293a=_0x447e66;try{const _0x3617b2=[..._0x47c50f,...this[_0x4c293a(0x432)]],_0x368e4d=[this[_0x4c293a(0x448)]||this['_acknowledgedAwaitingChangeset']][_0x4c293a(0x36c)](_0x2cb75e=>!!_0x2cb75e);let _0x257b39,_0x439bf4;if(_0x368e4d[_0x4c293a(0x2db)]){const _0x5f3b8f=this[_0x4c293a(0x1f7)][_0x4c293a(0x3f2)](_0x3617b2,_0x368e4d,!0x1);if(!p[_0x4c293a(0x49f)](_0x5f3b8f))throw _0x5f3b8f[_0x4c293a(0x37a)];_0x257b39=_0x5f3b8f['c1Prime'],_0x439bf4=_0x5f3b8f[_0x4c293a(0x41b)];}else _0x257b39=_0x3617b2,_0x439bf4=[];let _0xee71d0=this[_0x4c293a(0x2c1)];_0x257b39[_0x4c293a(0x3ca)](_0x3bc51e=>{var _0x4f831d=_0x4c293a;let _0x5bbe11;if(_0xee71d0[_0x4f831d(0x2db)]){const _0x48fd9f=this['_transformService'][_0x4f831d(0x235)](_0x3bc51e,_0xee71d0);if(!p['isTransformMutationsWithChangesetSuccess'](_0x48fd9f))throw _0x48fd9f['error'];_0x5bbe11=_0x48fd9f[_0x4f831d(0x272)],_0xee71d0=_0x48fd9f[_0x4f831d(0x1a9)];}else _0x5bbe11=_0x3bc51e;this['_executeRemoteChangeset'](_0x5bbe11);}),this[_0x4c293a(0x27c)]&&this[_0x4c293a(0x304)](),this[_0x4c293a(0x448)]&&_0x439bf4[_0x4c293a(0x2db)]&&(_0x439bf4[0x0][_0x4c293a(0x292)]=this[_0x4c293a(0x457)]());let _0x3875fd;if(this[_0x4c293a(0x448)]&&_0xee71d0[_0x4c293a(0x2db)]!==0x0)_0x3875fd=this[_0x4c293a(0x39d)][_0x4c293a(0x467)](exports['AwaitingWithPendingState'],this[_0x4c293a(0x34c)],this[_0x4c293a(0x182)],_0x439bf4[0x0],_0xee71d0,this['_handler'],void 0x0);else{if(this[_0x4c293a(0x448)]&&_0xee71d0[_0x4c293a(0x2db)]===0x0)_0x439bf4[0x0][_0x4c293a(0x292)]=this[_0x4c293a(0x457)](),_0x3875fd=this[_0x4c293a(0x39d)][_0x4c293a(0x467)](exports['AwaitingState'],this[_0x4c293a(0x34c)],this['type'],_0x439bf4[0x0],this[_0x4c293a(0x4f5)]);else{if(_0xee71d0[_0x4c293a(0x2db)]!==0x0){const _0x528617=this[_0x4c293a(0x39d)]['createInstance'](exports['PendingState'],this[_0x4c293a(0x34c)],this['type'],_0xee71d0,this[_0x4c293a(0x4f5)]);_0x528617[_0x4c293a(0x187)](),_0x3875fd=_0x528617;}else _0x3875fd=this[_0x4c293a(0x39d)][_0x4c293a(0x467)](exports[_0x4c293a(0x238)],this[_0x4c293a(0x34c)],this[_0x4c293a(0x182)],this['_handler']);}}return _0x3875fd['_updateLocalCache'](),_0x3875fd;}catch(_0x5ee3ee){return this[_0x4c293a(0x410)][_0x4c293a(0x37a)](_0x4c293a(0x35a),_0x4c293a(0x1be),_0x5ee3ee),this[_0x4c293a(0x39d)][_0x4c293a(0x467)](exports[_0x4c293a(0x24d)],this[_0x4c293a(0x34c)],this[_0x4c293a(0x182)],this[_0x4c293a(0x448)],this[_0x4c293a(0x2c1)],this[_0x4c293a(0x4f5)],!0x1);}}['resend'](){var _0x56d1f0=_0x447e66;throw new Error(_0x56d1f0(0x1ff));}['appendMutation'](_0x436c6d){var _0x5c5ce5=_0x447e66;return this[_0x5c5ce5(0x2c1)][_0x5c5ce5(0x1c3)](_0x436c6d),this;}[_0x447e66(0x384)](_0x27f4de){var _0x10590e=_0x447e66;return this[_0x10590e(0x432)][_0x10590e(0x1c3)](_0x27f4de),this;}[_0x447e66(0x4ad)](_0x1129c5){var _0x1aa72d=_0x447e66;if(this[_0x1aa72d(0x448)])return this[_0x1aa72d(0x27c)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x447e66(0x35f)](_0x453b0b){var _0x100e5d=_0x447e66;return this[_0x100e5d(0x4ab)](!!(_0x453b0b!=null&&_0x453b0b[_0x100e5d(0x4b5)]));}['onRemoteRetry'](){return this;}[_0x447e66(0x3cc)](){var _0x12ea3c=_0x447e66;return this[_0x12ea3c(0x39d)][_0x12ea3c(0x467)](exports[_0x12ea3c(0x462)],this[_0x12ea3c(0x34c)],this[_0x12ea3c(0x182)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x12ea3c(0x4f5)]);}['toggleOnline'](){return this;}['_onConflict'](_0x4fc1b6){var _0xdc6032=_0x447e66;return this[_0xdc6032(0x39d)][_0xdc6032(0x467)](exports[_0xdc6032(0x24d)],this[_0xdc6032(0x34c)],this[_0xdc6032(0x182)],this[_0xdc6032(0x448)],this[_0xdc6032(0x2c1)],this[_0xdc6032(0x4f5)],_0x4fc1b6);}},exports[_0x447e66(0x258)]=oe([w(0x7,a[_0x447e66(0x39f)](a[_0x447e66(0x3c2)])),w(0x8,a[_0x447e66(0x39f)](p[_0x447e66(0x1f0)])),w(0x9,a[_0x447e66(0x310)]),w(0xa,a[_0x447e66(0x35e)]),w(0xb,a['IUndoRedoService']),w(0xc,p[_0x447e66(0x274)]),w(0xd,a[_0x447e66(0x27e)](K))],exports[_0x447e66(0x258)]);function It(_0x44b304,_0x53282a,_0x26eccf,_0x5299a5,_0x50a501,_0x2e7ee3){var _0x5618ba=_0x447e66;return _0x5299a5&&_0x50a501[_0x5618ba(0x2db)]?_0x44b304[_0x5618ba(0x467)](exports[_0x5618ba(0x36b)],_0x53282a,_0x26eccf,_0x5299a5,_0x50a501,_0x2e7ee3,void 0x0):_0x5299a5?_0x44b304[_0x5618ba(0x467)](exports[_0x5618ba(0x2a5)],_0x53282a,_0x26eccf,_0x5299a5,_0x2e7ee3):_0x50a501[_0x5618ba(0x2db)]?_0x44b304[_0x5618ba(0x467)](exports['PendingState'],_0x53282a,_0x26eccf,_0x50a501,_0x2e7ee3):_0x44b304[_0x5618ba(0x467)](exports[_0x5618ba(0x238)],_0x53282a,_0x26eccf,_0x2e7ee3);}var ni=Object[_0x447e66(0x20f)],Be=(_0x1a37a7,_0x32d931,_0x39a2d8,_0x1c7fbf)=>{for(var _0x877494=_0x1c7fbf>0x1?void 0x0:_0x1c7fbf?ni(_0x32d931,_0x39a2d8):_0x32d931,_0x2853d3=_0x1a37a7['length']-0x1,_0x186717;_0x2853d3>=0x0;_0x2853d3--)(_0x186717=_0x1a37a7[_0x2853d3])&&(_0x877494=_0x186717(_0x877494)||_0x877494);return _0x877494;},j=(_0x104005,_0x2f86e3)=>(_0x349199,_0x39e8dd)=>_0x2f86e3(_0x349199,_0x39e8dd,_0x104005);exports[_0x447e66(0x4b6)]=class extends a[_0x447e66(0x330)]{constructor(_0x5a5bb4,_0x3897eb,_0x5e6c1d,_0x34c2cb,_0xd560fa,_0x5f5ce2,_0x5a96ee,_0x2d55de,_0x376b2b,_0x2c71c6,_0x17b4c4,_0x4c96cd,_0x85cdf1){var _0x41f63e=_0x447e66;super(),A(this,_0x41f63e(0x417),new H[(_0x41f63e(0x387))](null)),A(this,_0x41f63e(0x375),this[_0x41f63e(0x417)][_0x41f63e(0x44a)]()),A(this,_0x41f63e(0x1fa)),A(this,'_collaborationPaused',!0x1),A(this,_0x41f63e(0x414),''),A(this,'_changesetReqId',0x0),A(this,_0x41f63e(0x2ea),this[_0x41f63e(0x375)][_0x41f63e(0x30d)](H[_0x41f63e(0x34e)](_0x1e8d68=>_0x1e8d68?_0x1e8d68[_0x41f63e(0x265)]:je[_0x41f63e(0x4c2)]),H[_0x41f63e(0x1ec)](0x1))),A(this,_0x41f63e(0x2c7),!0x1),A(this,_0x41f63e(0x244),[]),(this[_0x41f63e(0x34c)]=_0x5a5bb4,this[_0x41f63e(0x403)]=_0x3897eb,this[_0x41f63e(0x441)]=_0x5e6c1d,this[_0x41f63e(0x39d)]=_0x34c2cb,this[_0x41f63e(0x486)]=_0xd560fa,this[_0x41f63e(0x2b4)]=_0x5f5ce2,this[_0x41f63e(0x346)]=_0x5a96ee,this[_0x41f63e(0x32f)]=_0x2d55de,this[_0x41f63e(0x410)]=_0x376b2b,this[_0x41f63e(0x209)]=_0x2c71c6,this['_permissionService']=_0x17b4c4,this[_0x41f63e(0x256)]=_0x4c96cd,this['_localCacheService']=_0x85cdf1);}get['state'](){return this['_state'];}async[_0x447e66(0x44e)](){var _0x3d9b33=_0x447e66;if(this[_0x3d9b33(0x223)])throw new Error(_0x3d9b33(0x2da));await this[_0x3d9b33(0x3d0)]();}['pauseCollaboration'](){var _0xf5940=_0x447e66;return this[_0xf5940(0x352)]=!0x0,a['toDisposable'](()=>{var _0x35332d=_0xf5940;this[_0x35332d(0x352)]=!0x1,this[_0x35332d(0x1da)]();});}['onLocalMutation'](_0x236335){var _0x22583c=_0x447e66;this[_0x22583c(0x28e)](_0x236335);}[_0x447e66(0x1a6)](_0x413144){var _0x2faa5f=_0x447e66;this['_state']=_0x413144,this[_0x2faa5f(0x417)][_0x2faa5f(0x4f9)](_0x413144);}async[_0x447e66(0x3d0)](){var _0x14ed04=_0x447e66,_0x520a62;this['_updateState'](await this[_0x14ed04(0x197)]()),this['_singleActiveUnitService']&&((_0x520a62=this[_0x14ed04(0x256)])==null||_0x520a62[_0x14ed04(0x3b9)](this[_0x14ed04(0x34c)]),this[_0x14ed04(0x489)](this[_0x14ed04(0x256)][_0x14ed04(0x2e8)](this[_0x14ed04(0x34c)])[_0x14ed04(0x472)](_0x562cf7=>{var _0x18e564=_0x14ed04;this[_0x18e564(0x410)][_0x18e564(0x357)](_0x18e564(0x19f),_0x18e564(0x47c),_0x562cf7),_0x562cf7===He[_0x18e564(0x1b0)]?(this[_0x18e564(0x32f)][_0x18e564(0x490)]({'id':Z[_0x18e564(0x2c6)]}),this['_permissionService'][_0x18e564(0x4b7)](new X[(_0x18e564(0x1bc))](this[_0x18e564(0x34c)])['id'],!0x1),this[_0x18e564(0x3cb)][_0x18e564(0x4c8)](!0x1)):(this['_permissionService'][_0x18e564(0x4b7)](new X[(_0x18e564(0x1bc))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x18e564(0x4c8)](!0x0));})));let _0x248569=!0x1;return this[_0x14ed04(0x489)](this[_0x14ed04(0x403)][_0x14ed04(0x322)][_0x14ed04(0x472)](_0x5c30e8=>{var _0x31cc94=_0x14ed04;_0x5c30e8===re[_0x31cc94(0x23b)]?this[_0x31cc94(0x2bf)](_0x248569):_0x5c30e8===re[_0x31cc94(0x4c2)]&&(_0x248569=!0x0,this['_toggleOffline']());})),this[_0x14ed04(0x489)](this[_0x14ed04(0x403)][_0x14ed04(0x44d)]['subscribe'](_0x1046d3=>{var _0x40c8b3=_0x14ed04;try{switch(_0x1046d3[_0x40c8b3(0x38b)]){case p['CollaborationEvent']['NEW_CHANGESETS']:{this[_0x40c8b3(0x492)](p['parseProtocolChangeset'](_0x1046d3[_0x40c8b3(0x279)]));break;}case p['CollaborationEvent'][_0x40c8b3(0x428)]:{this[_0x40c8b3(0x230)](_0x1046d3['data']);break;}case p[_0x40c8b3(0x201)][_0x40c8b3(0x481)]:{this['_onRemoteRejected']();break;}case p[_0x40c8b3(0x201)]['CHANGESET_SHOULD_RETRY']:{this[_0x40c8b3(0x4ba)](_0x1046d3[_0x40c8b3(0x279)]);break;}case p[_0x40c8b3(0x201)][_0x40c8b3(0x367)]:{this[_0x40c8b3(0x360)](_0x1046d3[_0x40c8b3(0x279)][_0x40c8b3(0x2cc)]['map'](_0x2d9c95=>p[_0x40c8b3(0x341)](_0x2d9c95)));break;}case p[_0x40c8b3(0x201)][_0x40c8b3(0x225)]:{this[_0x40c8b3(0x33d)]({'isPermissionRej':!0x0});break;}case p[_0x40c8b3(0x201)][_0x40c8b3(0x301)]:break;}}catch(_0x65fc57){throw console[_0x40c8b3(0x37a)](_0x40c8b3(0x49d),_0x65fc57),_0x65fc57;}})),this[_0x14ed04(0x1fa)];}[_0x447e66(0x1a0)](){var _0x30d6ef=_0x447e66;this[_0x30d6ef(0x2c7)]=!0x1;}[_0x447e66(0x2dc)](){var _0x3ccd9c=_0x447e66;if(this[_0x3ccd9c(0x2c7)])throw new 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[_0x3ccd9c(0x2c7)]=!0x0;}[_0x447e66(0x28e)](_0x5968fb){var _0x188c12=_0x447e66;this[_0x188c12(0x2dc)](),this[_0x188c12(0x1a6)](this[_0x188c12(0x1fa)][_0x188c12(0x420)](_0x5968fb)),this[_0x188c12(0x1a0)]();}[_0x447e66(0x492)](_0x185883){var _0x49ba9b=_0x447e66;if(!(_0x185883[_0x49ba9b(0x2a2)]<=this[_0x49ba9b(0x346)][_0x49ba9b(0x1ce)](this['unitID']))){if(this[_0x49ba9b(0x352)]){this[_0x49ba9b(0x244)][_0x49ba9b(0x1c3)](_0x185883);return;}this['_applyRemoteChangeset'](_0x185883);}}['_exhaustRemoteChangesetQueue'](){var _0x2e3f7a=_0x447e66;this[_0x2e3f7a(0x244)][_0x2e3f7a(0x3ca)](_0x2db06f=>this[_0x2e3f7a(0x227)](_0x2db06f)),this[_0x2e3f7a(0x244)]=[];}['_applyRemoteChangeset'](_0x3a3ef1){var _0x3964a5=_0x447e66;const _0x448e72=this[_0x3964a5(0x486)][_0x3964a5(0x3b3)][_0x3964a5(0x2d5)](this[_0x3964a5(0x486)]['interceptor'][_0x3964a5(0x2a6)]()['COMPRESS_MUTATION_APPLY'])(_0x3a3ef1[_0x3964a5(0x1f4)],null)||_0x3a3ef1[_0x3964a5(0x1f4)],_0x4fb156={..._0x3a3ef1,'mutations':_0x448e72};this['_lockTransition'](),this[_0x3964a5(0x1a6)](this[_0x3964a5(0x1fa)][_0x3964a5(0x384)](_0x4fb156)),this['_unlockTransition']();}['_onRemoteACK'](_0x4a84ff){var _0x42d1dd=_0x447e66;this[_0x42d1dd(0x2dc)](),this[_0x42d1dd(0x1a6)](this['_state'][_0x42d1dd(0x4ad)](_0x4a84ff)),this[_0x42d1dd(0x1a0)]();}[_0x447e66(0x33d)](_0x3a0828){var _0x20ac9f=_0x447e66;this['_lockTransition'](),this[_0x20ac9f(0x1a6)](this[_0x20ac9f(0x1fa)][_0x20ac9f(0x35f)](_0x3a0828)),this[_0x20ac9f(0x1a0)]();}[_0x447e66(0x4ba)](_0x5d2f09){var _0x5a1b0c=_0x447e66;this[_0x5a1b0c(0x2dc)](),this[_0x5a1b0c(0x1a6)](this[_0x5a1b0c(0x1fa)]['onRemoteRetry'](_0x5d2f09)),this[_0x5a1b0c(0x1a0)]();}[_0x447e66(0x360)](_0x409784){var _0x417e2e=_0x447e66;if(!(this[_0x417e2e(0x1fa)]instanceof exports[_0x417e2e(0x258)]))throw new TypeError(_0x417e2e(0x4fb));const _0x57eaff=_0x409784[_0x417e2e(0x34e)](_0x1fbd7c=>{var _0x364359=_0x417e2e;const _0x1007b1=this['_compressMutationService'][_0x364359(0x3b3)][_0x364359(0x2d5)](this[_0x364359(0x486)][_0x364359(0x3b3)][_0x364359(0x2a6)]()[_0x364359(0x1f3)])(_0x1fbd7c[_0x364359(0x1f4)],null)||_0x1fbd7c[_0x364359(0x1f4)];return{..._0x1fbd7c,'mutations':_0x1007b1};});this['_lockTransition'](),this[_0x417e2e(0x1a6)](this[_0x417e2e(0x1fa)][_0x417e2e(0x3ab)](_0x57eaff)),this[_0x417e2e(0x1a0)]();}['_toggleOffline'](){var _0x2d7b20=_0x447e66;this[_0x2d7b20(0x2dc)](),this[_0x2d7b20(0x1a6)](this[_0x2d7b20(0x1fa)][_0x2d7b20(0x3cc)]()),this[_0x2d7b20(0x1a0)]();}[_0x447e66(0x2bf)](_0x540c6c=!0x1){var _0x11c08b=_0x447e66;this[_0x11c08b(0x2dc)](),this[_0x11c08b(0x1a6)](this[_0x11c08b(0x1fa)]['toggleOnline']()),this[_0x11c08b(0x1a0)]();const _0xd69e78=this[_0x11c08b(0x1fa)];_0x540c6c&&_0xd69e78 instanceof exports[_0x11c08b(0x238)]&&(this['_lockTransition'](),this[_0x11c08b(0x1a6)](_0xd69e78[_0x11c08b(0x253)]()),this[_0x11c08b(0x1a0)]());}async[_0x447e66(0x197)](){return new Promise(_0x514c42=>{var _0x4468ae=_0x52b3;this[_0x4468ae(0x403)]['sessionStatus$'][_0x4468ae(0x30d)](H[_0x4468ae(0x3a4)](0x1))['subscribe'](async _0x5f18a8=>{var _0xd03cf=_0x4468ae;_0x514c42(await this[_0xd03cf(0x2c0)](_0x5f18a8===re[_0xd03cf(0x23b)]));});});}['_createHandler'](){const _0x3525ba=this['unitID'];return{'onStateChange':(_0x59fedd,_0x568608)=>{var _0x396166=_0x52b3;if(_0x59fedd!==this[_0x396166(0x1fa)])throw new Error(_0x396166(0x407)+_0x59fedd[_0x396166(0x265)]+_0x396166(0x2bd)+_0x568608[_0x396166(0x265)]+_0x396166(0x289)+this[_0x396166(0x1fa)][_0x396166(0x265)]);this['_updateState'](_0x568608);},'onSendChangeset':_0x38ead9=>{var _0x246644=_0x52b3;_0x38ead9[_0x246644(0x306)]||(_0x38ead9['sid']=this[_0x246644(0x414)],_0x38ead9['reqId']=++this[_0x246644(0x3c6)]);const _0x3043ff={'eventID':p[_0x246644(0x201)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x38ead9[_0x246644(0x34c)],'unitType':this[_0x246644(0x441)],'changeset':_0x38ead9,'memberID':this[_0x246644(0x403)][_0x246644(0x43a)]()}};this[_0x246644(0x403)]['send'](_0x3043ff,this['unitID']);},'onMissingChangesets':({from:_0x5e4318,to:_0x4fd384})=>{var _0xcd797e=_0x52b3;this[_0xcd797e(0x410)][_0xcd797e(0x357)](_0xcd797e(0x19f),_0xcd797e(0x1a3)+_0x5e4318+_0xcd797e(0x268)+_0x4fd384);const _0x123fa3={'eventID':p[_0xcd797e(0x201)][_0xcd797e(0x215)],'data':{'unitID':_0x3525ba,'unitType':this[_0xcd797e(0x441)],'from':_0x5e4318,'to':_0x4fd384}};this[_0xcd797e(0x403)][_0xcd797e(0x295)](_0x123fa3,this['unitID']);}};}async['_createInitialStateImpl'](_0x1e9982){var _0x14c321=_0x447e66,_0x1f2757,_0x12f68a,_0x48ee8a;const _0x5cbea0=await((_0x1f2757=this[_0x14c321(0x42c)])==null?void 0x0:_0x1f2757[_0x14c321(0x436)](this['unitID'])),_0x6059ff=(_0x12f68a=_0x5cbea0==null?void 0x0:_0x5cbea0[_0x14c321(0x1f4)])!=null?_0x12f68a:[],_0x1349ea=(_0x48ee8a=_0x5cbea0==null?void 0x0:_0x5cbea0['awaitingChangeset'])!=null?_0x48ee8a:null,_0x473b72=!!(_0x1349ea!=null&&_0x1349ea[_0x14c321(0x306)])&&!!(_0x1349ea!=null&&_0x1349ea[_0x14c321(0x1a2)]);this[_0x14c321(0x414)]=_0x473b72?_0x1349ea['sid']:p['uuidv4'](),this[_0x14c321(0x3c6)]=_0x473b72?_0x1349ea[_0x14c321(0x1a2)]:0x0;const _0x1019ba=this[_0x14c321(0x34c)];try{this[_0x14c321(0x1d9)](_0x1349ea,_0x6059ff);}catch(_0x2fb08b){this[_0x14c321(0x410)]['error'](_0x2fb08b);}const _0x2cb260=this[_0x14c321(0x1c5)]();if(_0x1e9982){const _0x4fa2a5=It(this[_0x14c321(0x39d)],_0x1019ba,this['_type'],_0x1349ea,_0x6059ff,_0x2cb260);return _0x4fa2a5 instanceof exports[_0x14c321(0x382)]?_0x4fa2a5['_schedule']():(_0x4fa2a5 instanceof exports['AwaitingWithPendingState']||_0x4fa2a5 instanceof exports[_0x14c321(0x2a5)])&&_0x4fa2a5[_0x14c321(0x4aa)](),_0x4fa2a5;}return this[_0x14c321(0x39d)][_0x14c321(0x467)](exports[_0x14c321(0x462)],_0x1019ba,this['_type'],_0x1349ea,_0x6059ff,_0x2cb260);}[_0x447e66(0x1d9)](_0x321e31,_0x19282f){var _0x533384=_0x447e66,_0x1ceb9f,_0xc61566;const _0x37e0a5=this['_compressMutationService'][_0x533384(0x3b3)][_0x533384(0x2d5)](this[_0x533384(0x486)][_0x533384(0x3b3)][_0x533384(0x2a6)]()[_0x533384(0x1f3)]);(_0x1ceb9f=_0x37e0a5((_0x321e31==null?void 0x0:_0x321e31['mutations'])||[],null))==null||_0x1ceb9f[_0x533384(0x3ca)](_0x2961fc=>this[_0x533384(0x209)][_0x533384(0x29a)](_0x2961fc['id'],_0x2961fc[_0x533384(0x28f)])),(_0xc61566=_0x37e0a5(_0x19282f||[],null))==null||_0xc61566[_0x533384(0x3ca)](_0x4e5a51=>this[_0x533384(0x209)]['executeCommand'](_0x4e5a51['id'],_0x4e5a51[_0x533384(0x28f)]));}},exports[_0x447e66(0x4b6)]=Be([j(0x3,a[_0x447e66(0x39f)](a[_0x447e66(0x3c2)])),j(0x4,a[_0x447e66(0x39f)](p[_0x447e66(0x4d2)])),j(0x5,a['Inject'](a[_0x447e66(0x391)])),j(0x6,a[_0x447e66(0x39f)](p['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x447e66(0x310)]),j(0x9,a[_0x447e66(0x35e)]),j(0xa,a[_0x447e66(0x2a4)]),j(0xb,a[_0x447e66(0x27e)](de)),j(0xc,a[_0x447e66(0x27e)](K))],exports[_0x447e66(0x4b6)]),exports[_0x447e66(0x332)]=class extends exports['CollaborationEntity']{constructor(_0x5b7617,_0x1e9f07,_0x4d3d40,_0x58abee,_0x2316c8,_0x1c5e1e,_0x560d19,_0x30bbb5,_0x30c4f7,_0x1b9b0b,_0x3b771b,_0x4fd950,_0x4319db){var _0x1ef2ca=_0x447e66;super(_0x5b7617,_0x4d3d40,_0x1e9f07,_0x58abee,_0x2316c8,_0x1c5e1e,_0x560d19,_0x30bbb5,_0x30c4f7,_0x1b9b0b,_0x3b771b,_0x4fd950,_0x4319db),A(this,'_handlerCallback',null),(this[_0x1ef2ca(0x34c)]=_0x5b7617,this[_0x1ef2ca(0x182)]=_0x1e9f07);}[_0x447e66(0x392)](_0x2bc7dd){var _0xa50277=_0x447e66;this[_0xa50277(0x277)]=_0x2bc7dd;}['dispose'](){var _0x58deff=_0x447e66;this[_0x58deff(0x277)]=null,super[_0x58deff(0x4a4)]();}[_0x447e66(0x1c5)](){var _0x53f01f=_0x447e66;const _0x5ad3bc=super['_createHandler']();return _0x5ad3bc['onTransformIME']=_0x1a989a=>{var _0x382032=_0x52b3,_0x1507f6,_0xcb8dae;return(_0xcb8dae=(_0x1507f6=this[_0x382032(0x277)])==null?void 0x0:_0x1507f6[_0x382032(0x2eb)])==null?void 0x0:_0xcb8dae['call'](_0x1507f6,_0x1a989a);},_0x5ad3bc[_0x53f01f(0x297)]=_0x45ab5e=>{var _0x36abb7=_0x53f01f,_0x58a5a5,_0xfb2863;return(_0xfb2863=(_0x58a5a5=this[_0x36abb7(0x277)])==null?void 0x0:_0x58a5a5[_0x36abb7(0x297)])==null?void 0x0:_0xfb2863['call'](_0x58a5a5,_0x45ab5e);},_0x5ad3bc[_0x53f01f(0x4dc)]=_0x5ebb95=>{var _0x3d2905=_0x53f01f,_0x551d05,_0x5687d7;return(_0x5687d7=(_0x551d05=this['_handlerCallback'])==null?void 0x0:_0x551d05[_0x3d2905(0x4dc)])==null?void 0x0:_0x5687d7[_0x3d2905(0x47a)](_0x551d05,_0x5ebb95);},_0x5ad3bc['onSyncEditingCollabCursor']=_0x178c01=>{var _0x499c35=_0x53f01f,_0x12f4dd,_0xc1ce2;return(_0xc1ce2=(_0x12f4dd=this[_0x499c35(0x277)])==null?void 0x0:_0x12f4dd[_0x499c35(0x192)])==null?void 0x0:_0xc1ce2['call'](_0x12f4dd,_0x178c01);},_0x5ad3bc[_0x53f01f(0x4c5)]=_0x1193e6=>{var _0x4d114b=_0x53f01f,_0x4d164e,_0x4a6041,_0x40d3c7;if(!((_0x4d164e=this[_0x4d114b(0x277)])!=null&&_0x4d164e[_0x4d114b(0x4c5)]))throw new Error(_0x4d114b(0x203));return(_0x40d3c7=(_0x4a6041=this[_0x4d114b(0x277)])==null?void 0x0:_0x4a6041[_0x4d114b(0x4c5)])==null?void 0x0:_0x40d3c7[_0x4d114b(0x47a)](_0x4a6041,_0x1193e6);},_0x5ad3bc[_0x53f01f(0x1f5)]=_0x243612=>{var _0x5af963=_0x53f01f,_0x40ca3d,_0x28066b,_0x2eb076;if(!((_0x40ca3d=this[_0x5af963(0x277)])!=null&&_0x40ca3d[_0x5af963(0x1f5)]))throw new Error(_0x5af963(0x3e7));return(_0x2eb076=(_0x28066b=this[_0x5af963(0x277)])==null?void 0x0:_0x28066b[_0x5af963(0x1f5)])==null?void 0x0:_0x2eb076[_0x5af963(0x47a)](_0x28066b,_0x243612);},_0x5ad3bc;}async[_0x447e66(0x3d0)](){var _0x37689f=_0x447e66;const _0x27efeb=await super['_init']();return this['disposeWithMe'](this[_0x37689f(0x209)][_0x37689f(0x469)]((_0x2469e2,_0xa23bd3)=>{var _0x171683=_0x37689f;if(_0x2469e2[_0x171683(0x182)]!==a[_0x171683(0x283)][_0x171683(0x232)]||_0xa23bd3!=null&&_0xa23bd3[_0x171683(0x4f3)]||_0xa23bd3!=null&&_0xa23bd3[_0x171683(0x217)]||_0x2469e2['id']===ct['RichTextEditingMutation']['id'])return;const _0x53b4b0=_0x2469e2[_0x171683(0x28f)];if((_0x53b4b0==null?void 0x0:_0x53b4b0['unitId'])!==this[_0x171683(0x34c)])return;const _0x4bb5d2=_0x2469e2,_0xbe1cb4=this[_0x171683(0x486)][_0x171683(0x3b3)][_0x171683(0x2d5)](this[_0x171683(0x486)]['interceptor'][_0x171683(0x2a6)]()[_0x171683(0x333)])([_0x4bb5d2],null)||[_0x4bb5d2];this[_0x171683(0x28e)](_0xbe1cb4[0x0]);})),_0x27efeb;}},exports[_0x447e66(0x332)]=Be([j(0x3,a['Inject'](a[_0x447e66(0x3c2)])),j(0x4,a[_0x447e66(0x39f)](p[_0x447e66(0x4d2)])),j(0x5,a['Inject'](a[_0x447e66(0x391)])),j(0x6,a[_0x447e66(0x39f)](p['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x447e66(0x310)]),j(0x9,a[_0x447e66(0x35e)]),j(0xa,a[_0x447e66(0x2a4)]),j(0xb,a['Optional'](de)),j(0xc,a['Optional'](K))],exports[_0x447e66(0x332)]),exports[_0x447e66(0x45b)]=class extends exports[_0x447e66(0x4b6)]{constructor(_0x4a12c2,_0x4f3d5a,_0x332d53,_0x329fe8,_0x4e54da,_0x4168cf,_0x97dc76,_0x4268f9,_0x13cf6a,_0x1c7b97,_0xa0a237,_0x1900ac,_0x49eeff,_0x2e949a){var _0x1a7def=_0x447e66;super(_0x4a12c2,_0x332d53,_0x4f3d5a,_0x329fe8,_0x4e54da,_0x4168cf,_0x97dc76,_0x13cf6a,_0x1c7b97,_0xa0a237,_0x1900ac,_0x49eeff,_0x2e949a),this[_0x1a7def(0x34c)]=_0x4a12c2,this[_0x1a7def(0x182)]=_0x4f3d5a,this[_0x1a7def(0x41e)]=_0x4268f9;}[_0x447e66(0x1c5)](){var _0x2181dc=_0x447e66;const _0x1cda2a=super[_0x2181dc(0x1c5)]();return _0x1cda2a[_0x2181dc(0x4dc)]=_0x2d283e=>this[_0x2181dc(0x41e)][_0x2181dc(0x4c1)](_0x2d283e),_0x1cda2a;}async[_0x447e66(0x3d0)](){var _0x3743c0=_0x447e66;const _0xf91f41=await super[_0x3743c0(0x3d0)]();return this[_0x3743c0(0x489)](this[_0x3743c0(0x209)][_0x3743c0(0x469)]((_0x5670da,_0x3fe3b7)=>{var _0x48042e=_0x3743c0;if(_0x5670da[_0x48042e(0x182)]!==a[_0x48042e(0x283)][_0x48042e(0x232)]||_0x3fe3b7!=null&&_0x3fe3b7[_0x48042e(0x4f3)]||_0x3fe3b7!=null&&_0x3fe3b7[_0x48042e(0x217)])return;const _0x2847a3=_0x5670da[_0x48042e(0x28f)];if((_0x2847a3==null?void 0x0:_0x2847a3['unitId'])!==this[_0x48042e(0x34c)])return;const _0x5498f7=_0x5670da,_0x3b685f=this[_0x48042e(0x486)]['interceptor'][_0x48042e(0x2d5)](this[_0x48042e(0x486)][_0x48042e(0x3b3)][_0x48042e(0x2a6)]()[_0x48042e(0x333)])([_0x5498f7],null)||[_0x5498f7];this[_0x48042e(0x28e)](_0x3b685f[0x0]);})),_0xf91f41;}},exports[_0x447e66(0x45b)]=Be([j(0x3,a[_0x447e66(0x39f)](a[_0x447e66(0x3c2)])),j(0x4,a[_0x447e66(0x39f)](p[_0x447e66(0x4d2)])),j(0x5,a['Inject'](a[_0x447e66(0x391)])),j(0x6,a['Inject'](p[_0x447e66(0x1f0)])),j(0x7,a[_0x447e66(0x39f)](exports[_0x447e66(0x41f)])),j(0x8,a[_0x447e66(0x39f)](ee)),j(0x9,a[_0x447e66(0x310)]),j(0xa,a[_0x447e66(0x35e)]),j(0xb,a['IPermissionService']),j(0xc,a['Optional'](de)),j(0xd,a[_0x447e66(0x27e)](K))],exports[_0x447e66(0x45b)]);const pt=a[_0x447e66(0x1e5)](_0x447e66(0x1e9));function mt(_0x2680a8){var _0x36ff58=_0x447e66,_0x4d3ff8,_0x101102,_0x2cd8c5,_0x7e9d4b,_0x24b745;const _0x4ebef8=_0x2680a8[_0x36ff58(0x279)],_0x2286fe=JSON[_0x36ff58(0x347)](_0x4ebef8);switch(_0x2286fe[_0x36ff58(0x1ac)]){case W[_0x36ff58(0x24f)]:case W[_0x36ff58(0x3e4)]:{const _0x59a9fc=_0x2286fe[_0x36ff58(0x49c)];return{..._0x2286fe,'data':_0x59a9fc,'cmd':_0x2286fe[_0x36ff58(0x1ac)]};}case W[_0x36ff58(0x1cd)]:{const _0x57f562=_0x2286fe[_0x36ff58(0x39e)];return{..._0x2286fe,'data':_0x57f562,'cmd':_0x2286fe['cmd']};}case W[_0x36ff58(0x3cd)]:{const _0x20ea0e=_0x2286fe['collaMsg'];switch(_0x20ea0e[_0x36ff58(0x38b)]){case p[_0x36ff58(0x201)]['PERMISSION_REJ']:return{..._0x2286fe,'data':{..._0x20ea0e,'data':(_0x4d3ff8=_0x20ea0e['permissionRejEvent'])==null?void 0x0:_0x4d3ff8['cs']},'cmd':_0x2286fe['cmd']};case p[_0x36ff58(0x201)]['CHANGESET_ACK']:return{..._0x2286fe,'data':{..._0x20ea0e,'data':(_0x101102=_0x20ea0e[_0x36ff58(0x2a9)])==null?void 0x0:_0x101102['cs']},'cmd':_0x2286fe[_0x36ff58(0x1ac)]};case p[_0x36ff58(0x201)][_0x36ff58(0x1d0)]:return{..._0x2286fe,'data':{..._0x20ea0e,'data':(_0x2cd8c5=_0x20ea0e[_0x36ff58(0x189)])==null?void 0x0:_0x2cd8c5['cs']},'cmd':_0x2286fe[_0x36ff58(0x1ac)]};case p[_0x36ff58(0x201)][_0x36ff58(0x481)]:return{..._0x2286fe,'data':{..._0x20ea0e,'data':(_0x7e9d4b=_0x20ea0e[_0x36ff58(0x2c5)])==null?void 0x0:_0x7e9d4b['cs']},'cmd':_0x2286fe['cmd']};case p[_0x36ff58(0x201)][_0x36ff58(0x228)]:return{..._0x2286fe,'data':{..._0x20ea0e,'data':(_0x24b745=_0x20ea0e[_0x36ff58(0x4ec)])==null?void 0x0:_0x24b745['cs']},'cmd':_0x2286fe[_0x36ff58(0x1ac)]};case p[_0x36ff58(0x201)][_0x36ff58(0x1a1)]:return{..._0x2286fe,'data':{..._0x20ea0e,'data':_0x20ea0e[_0x36ff58(0x3ee)]},'cmd':_0x2286fe['cmd']};case p[_0x36ff58(0x201)][_0x36ff58(0x483)]:return{..._0x2286fe,'data':{..._0x20ea0e,'data':_0x20ea0e['joinEvent']},'cmd':_0x2286fe['cmd']};case p[_0x36ff58(0x201)]['USERS_LEAVE']:return{..._0x2286fe,'data':{..._0x20ea0e,'data':_0x20ea0e[_0x36ff58(0x46c)]},'cmd':_0x2286fe[_0x36ff58(0x1ac)]};case p[_0x36ff58(0x201)]['LIVESHARE_NEW_HOST']:return{..._0x2286fe,'data':{..._0x20ea0e,'data':_0x20ea0e[_0x36ff58(0x3ed)]},'cmd':_0x2286fe[_0x36ff58(0x1ac)]};case p[_0x36ff58(0x201)][_0x36ff58(0x2d0)]:case p[_0x36ff58(0x201)][_0x36ff58(0x220)]:return{..._0x2286fe,'data':{..._0x20ea0e,'data':_0x20ea0e[_0x36ff58(0x31d)]},'cmd':_0x2286fe['cmd']};case p[_0x36ff58(0x201)]['LIVESHARE_TERMINATE']:return{..._0x2286fe,'data':{..._0x20ea0e,'data':_0x20ea0e[_0x36ff58(0x3ed)]},'cmd':_0x2286fe[_0x36ff58(0x1ac)]};case p[_0x36ff58(0x201)][_0x36ff58(0x3cf)]:return{..._0x2286fe,'data':_0x20ea0e,'cmd':_0x2286fe[_0x36ff58(0x1ac)]};case p[_0x36ff58(0x201)][_0x36ff58(0x316)]:return{..._0x2286fe,'data':{..._0x20ea0e,'data':_0x20ea0e[_0x36ff58(0x2b3)]},'cmd':_0x2286fe['cmd']};case p['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x2286fe,'data':{..._0x20ea0e,'data':_0x20ea0e[_0x36ff58(0x194)]},'cmd':_0x2286fe[_0x36ff58(0x1ac)]};case p[_0x36ff58(0x201)][_0x36ff58(0x44b)]:return{..._0x2286fe,'data':{..._0x20ea0e,'data':_0x20ea0e[_0x36ff58(0x406)]},'cmd':_0x2286fe[_0x36ff58(0x1ac)]};case p[_0x36ff58(0x201)]['UNISCRIPT_RUN']:return{..._0x2286fe,'data':{..._0x20ea0e,'data':_0x20ea0e['uniscriptRunEvent']},'cmd':_0x2286fe[_0x36ff58(0x1ac)]};default:return _0x2286fe;}}default:return _0x2286fe;}}function gt(_0x43e4ff){var _0x2c1279=_0x447e66;switch(_0x43e4ff[_0x2c1279(0x1ac)]){case W[_0x2c1279(0x24f)]:case W[_0x2c1279(0x3e4)]:return JSON[_0x2c1279(0x319)]({'cmd':_0x43e4ff['cmd'],'routeKey':_0x43e4ff[_0x2c1279(0x33b)]});case W[_0x2c1279(0x22c)]:{let _0x25020e;switch(_0x43e4ff[_0x2c1279(0x279)][_0x2c1279(0x38b)]){case p['CollaborationEvent'][_0x2c1279(0x1a1)]:{_0x25020e={'eventID':p[_0x2c1279(0x201)][_0x2c1279(0x1a1)],'updateCursorEvent':_0x43e4ff[_0x2c1279(0x279)][_0x2c1279(0x279)]};break;}case p[_0x2c1279(0x201)]['USERS_LEAVE']:{_0x25020e={'eventID':p['CollaborationEvent'][_0x2c1279(0x4bd)],'leaveEvent':_0x43e4ff[_0x2c1279(0x279)]['data']};break;}case p['CollaborationEvent'][_0x2c1279(0x483)]:{_0x25020e={'eventID':p[_0x2c1279(0x201)][_0x2c1279(0x483)],'joinEvent':_0x43e4ff[_0x2c1279(0x279)][_0x2c1279(0x279)]};break;}case p[_0x2c1279(0x201)][_0x2c1279(0x444)]:{_0x25020e={'eventID':p[_0x2c1279(0x201)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x43e4ff[_0x2c1279(0x279)][_0x2c1279(0x279)]};break;}case p[_0x2c1279(0x201)][_0x2c1279(0x220)]:{_0x25020e={'eventID':p['CollaborationEvent'][_0x2c1279(0x220)],'liveShareOperation':_0x43e4ff['data'][_0x2c1279(0x279)]};break;}case p['CollaborationEvent'][_0x2c1279(0x246)]:{_0x25020e={'eventID':p[_0x2c1279(0x201)][_0x2c1279(0x246)],'liveShareTerminate':_0x43e4ff[_0x2c1279(0x279)]['data']};break;}case p[_0x2c1279(0x201)]['LIVESHARE_REQUEST_HOST']:{_0x25020e={'eventID':p[_0x2c1279(0x201)][_0x2c1279(0x381)],'liveShareRequestHost':_0x43e4ff[_0x2c1279(0x279)][_0x2c1279(0x279)]};break;}case p['CollaborationEvent'][_0x2c1279(0x2d0)]:{_0x25020e={'eventID':p[_0x2c1279(0x201)][_0x2c1279(0x2d0)]};break;}default:_0x25020e={'eventID':_0x43e4ff['data'][_0x2c1279(0x38b)]};}return JSON[_0x2c1279(0x319)]({'cmd':_0x43e4ff['cmd'],'routeKey':_0x43e4ff[_0x2c1279(0x33b)],'collaMsg':_0x25020e});}case W[_0x2c1279(0x1cd)]:return JSON[_0x2c1279(0x319)]({'cmd':_0x43e4ff[_0x2c1279(0x1ac)],'routeKey':_0x43e4ff[_0x2c1279(0x33b)],'joinReq':_0x43e4ff[_0x2c1279(0x279)]});case W[_0x2c1279(0x1eb)]:return JSON[_0x2c1279(0x319)]({'cmd':_0x43e4ff[_0x2c1279(0x1ac)],'routeKey':_0x43e4ff[_0x2c1279(0x33b)],'leaveReq':_0x43e4ff[_0x2c1279(0x279)]});default:throw new Error(_0x2c1279(0x20e));}}var ri=Object[_0x447e66(0x20f)],si=(_0x245ebe,_0x155b7b,_0x51a686,_0x11ce1a)=>{for(var _0x1e9665=_0x11ce1a>0x1?void 0x0:_0x11ce1a?ri(_0x155b7b,_0x51a686):_0x155b7b,_0x567178=_0x245ebe['length']-0x1,_0x2c4568;_0x567178>=0x0;_0x567178--)(_0x2c4568=_0x245ebe[_0x567178])&&(_0x1e9665=_0x2c4568(_0x1e9665)||_0x1e9665);return _0x1e9665;},_e=(_0x246be0,_0x2b0674)=>(_0x550776,_0x2a613f)=>_0x2b0674(_0x550776,_0x2a613f,_0x246be0);const Fe=a[_0x447e66(0x1e5)](_0x447e66(0x2d8));function oi(_0x3733c5,_0x5a0657,_0x203e2f){return _0x3733c5+'/'+_0x5a0657+'/unit/'+_0x203e2f+'/new_changes';}exports[_0x447e66(0x4a7)]=class extends a[_0x447e66(0x214)]{constructor(_0x469ce5,_0x5681a1,_0xec82bc,_0xedff45,_0xdd2fa6){var _0x73a22e=_0x447e66;super(),this['_injector']=_0x469ce5,this[_0x73a22e(0x377)]=_0x5681a1,this['_configService']=_0xec82bc,this['_logService']=_0xedff45,this[_0x73a22e(0x32c)]=_0xdd2fa6;}[_0x447e66(0x1c7)](_0x2899c5){var _0x403803=_0x447e66;const _0x45f1a5=this[_0x403803(0x39d)][_0x403803(0x497)](q[_0x403803(0x17c)]);if(!_0x45f1a5)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x510ac3=_0x45f1a5[_0x403803(0x48c)](_0x2899c5);if(!_0x510ac3)throw new Error(_0x403803(0x1cf));const _0x4a57b5=new a[(_0x403803(0x424))](),_0x43b9c7=new H['Subject']();_0x4a57b5[_0x403803(0x3a8)](_0x510ac3[_0x403803(0x409)][_0x403803(0x472)](_0x254b6f=>_0x43b9c7[_0x403803(0x4f9)](_0x254b6f))),_0x4a57b5[_0x403803(0x3a8)](a[_0x403803(0x286)](()=>_0x43b9c7[_0x403803(0x393)]()));const _0x16b820=new H[(_0x403803(0x487))]();_0x4a57b5[_0x403803(0x3a8)](_0x510ac3[_0x403803(0x181)]['subscribe'](_0x22d679=>_0x16b820['next'](_0x22d679))),_0x4a57b5[_0x403803(0x3a8)](a[_0x403803(0x286)](()=>_0x16b820[_0x403803(0x393)]()));const _0x8b930e=new H[(_0x403803(0x487))]();_0x4a57b5[_0x403803(0x3a8)](_0x510ac3['message$'][_0x403803(0x472)](_0x557755=>{var _0x184eaa=_0x403803;const _0x23db06=mt(_0x557755);_0x8b930e[_0x184eaa(0x4f9)](_0x23db06);})),_0x4a57b5[_0x403803(0x3a8)](a[_0x403803(0x286)](()=>_0x8b930e[_0x403803(0x393)]()));let _0x1d8786;const _0x82c648=()=>{var _0x3a2742=_0x403803;_0x16b820[_0x3a2742(0x4f9)](new Event(_0x3a2742(0x2cd))),_0x43b9c7['next'](new Event(_0x3a2742(0x2cd))),_0x1d8786[_0x3a2742(0x29d)]();};return _0x1d8786={'memberID':'','close$':_0x43b9c7[_0x403803(0x44a)](),'error$':_0x16b820[_0x403803(0x44a)](),'open$':_0x510ac3[_0x403803(0x212)],'message$':_0x8b930e[_0x403803(0x44a)](),'send':_0x2b72c4=>{var _0x1b6fb7=_0x403803;if(_0x2b72c4[_0x1b6fb7(0x1ac)]===W[_0x1b6fb7(0x22c)]){if(_0x2b72c4[_0x1b6fb7(0x279)][_0x1b6fb7(0x38b)]===p['CollaborationEvent'][_0x1b6fb7(0x450)]){this[_0x1b6fb7(0x4b1)](_0x1d8786,_0x2b72c4[_0x1b6fb7(0x279)])[_0x1b6fb7(0x1b1)](_0x496d2c=>{var _0x83da99=_0x1b6fb7;this[_0x83da99(0x410)]['error'](_0x496d2c),_0x82c648();});return;}if(_0x2b72c4[_0x1b6fb7(0x279)][_0x1b6fb7(0x38b)]===p[_0x1b6fb7(0x201)][_0x1b6fb7(0x215)]){const _0x2ee40d=_0x2b72c4[_0x1b6fb7(0x279)];this['_fetchMissChangesets'](_0x2ee40d)['then'](_0x5b3c7f=>{var _0x8ff9f4=_0x1b6fb7;_0x8b930e['next']({'cmd':W[_0x8ff9f4(0x3cd)],'code':se['OK'],'routeKey':_0x2ee40d[_0x8ff9f4(0x279)][_0x8ff9f4(0x34c)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x8ff9f4(0x367)],'data':{'changesets':_0x5b3c7f}}});})[_0x1b6fb7(0x1b1)](_0x20a4c4=>{var _0x54d946=_0x1b6fb7;this[_0x54d946(0x410)][_0x54d946(0x37a)](_0x20a4c4),_0x82c648();});return;}}_0x510ac3[_0x1b6fb7(0x295)](gt(_0x2b72c4));},'close':()=>{var _0x4af8d3=_0x403803;_0x510ac3['close'](),_0x4a57b5[_0x4af8d3(0x4a4)]();}},_0x1d8786;}async[_0x447e66(0x4b1)](_0xa72675,_0x4dde82){var _0xae64a9=_0x447e66,_0x452866;const {unitType:_0x555247,unitID:_0x413ef5,changeset:_0xc7d9f9}=_0x4dde82[_0xae64a9(0x279)],_0x34bd49={'unitID':_0x413ef5,'memberID':_0xa72675['memberID'],'type':_0x555247,'changeset':p['parseChangesetToProtocol'](_0xc7d9f9)},_0x4b5fe6=this[_0xae64a9(0x47b)][_0xae64a9(0x3d4)](Y),_0x4f3c69=oi((_0x452866=_0x4b5fe6==null?void 0x0:_0x4b5fe6[_0xae64a9(0x4a8)])!=null?_0x452866:kt,_0x555247,_0x413ef5);try{await this['_httpService']['post'](_0x4f3c69,{'body':_0x34bd49});}catch(_0x2370e3){throw this[_0xae64a9(0x410)]['error'](_0xae64a9(0x371),_0xae64a9(0x1fb)),_0x2370e3;}}async[_0x447e66(0x308)](_0x21a0f6){var _0x41049d=_0x447e66;const {unitID:_0x328bde,from:_0x1d1133,to:_0x386ab4,unitType:_0x120cae}=_0x21a0f6[_0x41049d(0x279)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x328bde,'type':_0x120cae,'from':_0x1d1133,'to':_0x386ab4}))['changesets'];}},exports[_0x447e66(0x4a7)]=si([_e(0x0,a[_0x447e66(0x39f)](a[_0x447e66(0x3c2)])),_e(0x1,a['Inject'](q[_0x447e66(0x38c)])),_e(0x2,a[_0x447e66(0x2ed)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x447e66(0x4f1)])],exports[_0x447e66(0x4a7)]);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x5167b7,_0x4b14f4,_0xd55fd,_0x2a81da)=>{var _0x22c824=_0x447e66;for(var _0x8ca647=_0x2a81da>0x1?void 0x0:_0x2a81da?ai(_0x4b14f4,_0xd55fd):_0x4b14f4,_0x1d9b83=_0x5167b7[_0x22c824(0x2db)]-0x1,_0x33a315;_0x1d9b83>=0x0;_0x1d9b83--)(_0x33a315=_0x5167b7[_0x1d9b83])&&(_0x8ca647=_0x33a315(_0x8ca647)||_0x8ca647);return _0x8ca647;},he=(_0x47a105,_0x37a6c6)=>(_0x25269a,_0x3cb77d)=>_0x37a6c6(_0x25269a,_0x3cb77d,_0x47a105);exports[_0x447e66(0x1ab)]=class extends a[_0x447e66(0x214)]{constructor(_0x50ac3f,_0x37440b,_0x229b28,_0xdd5f53,_0x4f1609,_0x49a8b1){var _0x4884d8=_0x447e66;super(),A(this,_0x4884d8(0x206),new H[(_0x4884d8(0x387))](void 0x0)),A(this,_0x4884d8(0x3e6),this[_0x4884d8(0x206)]['asObservable']()),A(this,'_candidateSocket',null),A(this,'_sessions',new Map()),A(this,_0x4884d8(0x3b1),new H[(_0x4884d8(0x387))](re[_0x4884d8(0x191)])),A(this,_0x4884d8(0x2ea),this[_0x4884d8(0x3b1)]['asObservable']()),A(this,_0x4884d8(0x210),!0x1),A(this,_0x4884d8(0x1c6)),A(this,'_retryCount',0x0),A(this,_0x4884d8(0x3a2)),A(this,_0x4884d8(0x4ac)),(this[_0x4884d8(0x39d)]=_0x50ac3f,this[_0x4884d8(0x410)]=_0x37440b,this[_0x4884d8(0x47b)]=_0x229b28,this['_socketService']=_0xdd5f53,this[_0x4884d8(0x1d7)]=_0x4f1609,this[_0x4884d8(0x1e1)]=_0x49a8b1,this[_0x4884d8(0x26b)]());}get[_0x447e66(0x22e)](){var _0x1503a8=_0x447e66;return this['_socket$'][_0x1503a8(0x38f)]();}[_0x447e66(0x26b)](){var _0x1e48f1=_0x447e66;this[_0x1e48f1(0x1e1)]&&this[_0x1e48f1(0x489)](this['_networkConditionService'][_0x1e48f1(0x459)][_0x1e48f1(0x472)](_0x4453d5=>{var _0x3c5c83=_0x1e48f1;_0x4453d5&&!this[_0x3c5c83(0x22e)]&&this[_0x3c5c83(0x2fe)](),_0x4453d5||this[_0x3c5c83(0x18a)]();}));}[_0x447e66(0x4a4)](){var _0x4733f6=_0x447e66;super[_0x4733f6(0x4a4)](),this[_0x4733f6(0x374)](),this[_0x4733f6(0x42a)](),this[_0x4733f6(0x452)](),this['_sessions'][_0x4733f6(0x3ca)](_0xb33356=>_0xb33356['dispose']()),this[_0x4733f6(0x1bb)][_0x4733f6(0x331)](),this['_status$'][_0x4733f6(0x393)]();}async['requireSession'](_0x571e5f){var _0x3a7a32=_0x447e66;if(this[_0x3a7a32(0x1bb)][_0x3a7a32(0x3e8)](_0x571e5f))return this[_0x3a7a32(0x1bb)]['get'](_0x571e5f);this[_0x3a7a32(0x451)]();const _0x546645=this[_0x3a7a32(0x39d)][_0x3a7a32(0x467)](exports[_0x3a7a32(0x190)],_0x571e5f,this[_0x3a7a32(0x206)][_0x3a7a32(0x44a)]());return this[_0x3a7a32(0x1bb)][_0x3a7a32(0x47f)](_0x571e5f,_0x546645),_0x546645;}[_0x447e66(0x2ce)](_0x3cc9b9){var _0xdbdd3=_0x447e66,_0x1e0e64;const _0x4dabf1=this['_sessions'][_0xdbdd3(0x497)](_0x3cc9b9);_0x4dabf1&&(this['_sessions'][_0xdbdd3(0x48a)](_0x3cc9b9),_0x4dabf1[_0xdbdd3(0x29d)]()),this['_sessions']['size']||(_0x1e0e64=this[_0xdbdd3(0x22e)])==null||_0x1e0e64['close']();}[_0x447e66(0x2fe)](){var _0x5a7f5f=_0x447e66;this[_0x5a7f5f(0x20a)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x5a7f5f(0x4d7)]();}[_0x447e66(0x374)](){var _0x59b223=_0x447e66;this[_0x59b223(0x1c6)]!=null&&(clearTimeout(this[_0x59b223(0x1c6)]),this[_0x59b223(0x1c6)]=null);}async[_0x447e66(0x476)](){var _0xe33832=_0x447e66,_0x1778a9;const _0x4abaae=this[_0xe33832(0x47b)][_0xe33832(0x3d4)](Y),_0x259550=(_0x1778a9=_0x4abaae==null?void 0x0:_0x4abaae[_0xe33832(0x4d1)])!=null?_0x1778a9:ht,_0x343146=await this[_0xe33832(0x252)][_0xe33832(0x48c)](_0x259550);return this[_0xe33832(0x48f)]=_0x343146,_0x343146;}async[_0x447e66(0x451)](){var _0x29d6c4=_0x447e66,_0x1baf60,_0x25445d;try{const _0x48bf57=(_0x25445d=(_0x1baf60=this[_0x29d6c4(0x22e)])!=null?_0x1baf60:this[_0x29d6c4(0x48f)])!=null?_0x25445d:await this['_createSocket']();if(_0x48bf57){const _0x5aae3b=_0x48bf57[_0x29d6c4(0x295)];_0x48bf57[_0x29d6c4(0x295)]=_0x22c994=>(this[_0x29d6c4(0x205)](),_0x5aae3b[_0x29d6c4(0x4ef)](_0x48bf57,[_0x22c994])),_0x48bf57[_0x29d6c4(0x4ca)]['subscribe'](_0x538586=>this['_onMessage'](_0x48bf57,_0x538586)),_0x48bf57['error$'][_0x29d6c4(0x30d)](V[_0x29d6c4(0x3a4)](0x1))[_0x29d6c4(0x472)](_0x463566=>this[_0x29d6c4(0x410)][_0x29d6c4(0x37a)](_0x29d6c4(0x234),_0x463566)),_0x48bf57[_0x29d6c4(0x212)][_0x29d6c4(0x30d)](V[_0x29d6c4(0x3a4)](0x1))[_0x29d6c4(0x472)](()=>{var _0x313214=_0x29d6c4;this[_0x313214(0x44c)](_0x48bf57);}),_0x48bf57[_0x29d6c4(0x409)]['pipe'](V[_0x29d6c4(0x3a4)](0x1))[_0x29d6c4(0x472)](_0x54661f=>{var _0x5cb76f=_0x29d6c4;this['_logService'][_0x5cb76f(0x357)](_0x5cb76f(0x31a),_0x5cb76f(0x224),_0x54661f),this[_0x5cb76f(0x440)]();});}}catch(_0x15df5a){this['_logService'][_0x29d6c4(0x37a)](_0x15df5a),this[_0x29d6c4(0x440)]();}}[_0x447e66(0x44c)](_0xf06e87){var _0x15a232=_0x447e66;this[_0x15a232(0x410)][_0x15a232(0x357)](_0x15a232(0x31a),_0x15a232(0x45c)),_0xf06e87[_0x15a232(0x295)]({'cmd':W[_0x15a232(0x3e4)]}),this[_0x15a232(0x205)]();}[_0x447e66(0x18a)](){var _0x271805=_0x447e66;this[_0x271805(0x210)]=!0x1,this[_0x271805(0x48f)]=null,this[_0x271805(0x3b1)][_0x271805(0x4f9)](re[_0x271805(0x4c2)]),this['_socket$'][_0x271805(0x4f9)](null),this[_0x271805(0x42a)](),this[_0x271805(0x452)]();}[_0x447e66(0x440)](){var _0x2082e3=_0x447e66,_0xefa384;this[_0x2082e3(0x18a)](),this[_0x2082e3(0x20a)]<((_0xefa384=this[_0x2082e3(0x47b)]['getConfig'](ut))!=null?_0xefa384:Mt)?(this[_0x2082e3(0x1d7)]['emitEvent']({'id':Z['SOCKET_FAILED_RETRY']}),this[_0x2082e3(0x4d7)]()):this[_0x2082e3(0x1d7)][_0x2082e3(0x490)]({'id':Z[_0x2082e3(0x1dc)]});}[_0x447e66(0x4d7)](){var _0x17960f=_0x447e66,_0x137001;const _0x3a28ab=this[_0x17960f(0x20a)],_0x2d6df7=this['_configService'][_0x17960f(0x3d4)](Y),_0xd07337=_0x3a28ab===0x0?0x0:((_0x137001=_0x2d6df7==null?void 0x0:_0x2d6df7[_0x17960f(0x28b)])!=null?_0x137001:wt)*0x2**_0x3a28ab;this[_0x17960f(0x1c6)]=setTimeout(()=>{var _0xd8a1d9=_0x17960f;clearTimeout(this[_0xd8a1d9(0x1c6)]),this[_0xd8a1d9(0x1c6)]=null,this[_0xd8a1d9(0x451)]();},_0xd07337),this['_retryCount']+=0x1;}[_0x447e66(0x3ba)](_0x125a32,_0x32e1b2){var _0x1db560=_0x447e66;const {cmd:_0x202e2b}=_0x32e1b2;_0x202e2b===W[_0x1db560(0x3e4)]&&!this[_0x1db560(0x210)]&&(_0x125a32[_0x1db560(0x43d)]=_0x32e1b2[_0x1db560(0x279)][_0x1db560(0x43d)],this['_socket$'][_0x1db560(0x4f9)](_0x125a32),this['_status$']['next'](re[_0x1db560(0x23b)]),this[_0x1db560(0x210)]=!0x0,this['_candidateSocket']=null),_0x202e2b===W[_0x1db560(0x24f)]&&this[_0x1db560(0x42a)](),this[_0x1db560(0x205)]();}['_rescheduleHeartbeat'](){var _0x306e37=_0x447e66,_0x2eb75d;this[_0x306e37(0x452)](),this[_0x306e37(0x3a2)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x2eb75d=this[_0x306e37(0x47b)][_0x306e37(0x3d4)](_t))!=null?_0x2eb75d:Pt);}[_0x447e66(0x340)](){var _0x45aba5=_0x447e66;this[_0x45aba5(0x22e)][_0x45aba5(0x295)]({'cmd':W[_0x45aba5(0x24f)]}),this[_0x45aba5(0x208)]();}[_0x447e66(0x208)](){var _0x131296=_0x447e66,_0x554c38;this[_0x131296(0x4ac)]=setTimeout(()=>this[_0x131296(0x440)](),(_0x554c38=this[_0x131296(0x47b)][_0x131296(0x3d4)](ke))!=null?_0x554c38:lt);}['_clearHeartbeatTimer'](){var _0x5abb5b=_0x447e66;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5abb5b(0x3a2)]),this[_0x5abb5b(0x3a2)]=null);}['_clearTimeoutTimer'](){var _0x3aad26=_0x447e66;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3aad26(0x4ac)]),this[_0x3aad26(0x4ac)]=null);}},exports[_0x447e66(0x1ab)]=ci([he(0x0,a[_0x447e66(0x39f)](a[_0x447e66(0x3c2)])),he(0x1,a[_0x447e66(0x310)]),he(0x2,a['IConfigService']),he(0x3,Fe),he(0x4,a[_0x447e66(0x39f)](ee)),he(0x5,a['Optional'](pt))],exports['CollaborationSessionService']);var hi=Object['getOwnPropertyDescriptor'],_i=(_0x69b9f5,_0x3d10cd,_0x3605f0,_0xbd5b52)=>{var _0x1a27bb=_0x447e66;for(var _0x438ecb=_0xbd5b52>0x1?void 0x0:_0xbd5b52?hi(_0x3d10cd,_0x3605f0):_0x3d10cd,_0x47b82f=_0x69b9f5[_0x1a27bb(0x2db)]-0x1,_0x3def18;_0x47b82f>=0x0;_0x47b82f--)(_0x3def18=_0x69b9f5[_0x47b82f])&&(_0x438ecb=_0x3def18(_0x438ecb)||_0x438ecb);return _0x438ecb;},Se=(_0xa41ad3,_0x2739da)=>(_0xdb6b56,_0x1845e8)=>_0x2739da(_0xdb6b56,_0x1845e8,_0xa41ad3);exports[_0x447e66(0x17f)]=class extends a['RxDisposable']{constructor(_0x57561f,_0x5ebeba,_0x17c7c7,_0x1c0aa9){var _0xd63f5a=_0x447e66,_0x307b7f;super(),A(this,_0xd63f5a(0x1b5),new Map()),A(this,_0xd63f5a(0x42e),new H['Subject']()),A(this,_0xd63f5a(0x446),this[_0xd63f5a(0x42e)][_0xd63f5a(0x44a)]()),(this[_0xd63f5a(0x39d)]=_0x57561f,this[_0xd63f5a(0x3da)]=_0x5ebeba,this[_0xd63f5a(0x47b)]=_0x17c7c7,this[_0xd63f5a(0x27d)]=_0x1c0aa9,((_0x307b7f=this[_0xd63f5a(0x47b)]['getConfig'](Y))==null?void 0x0:_0x307b7f[_0xd63f5a(0x397)])!==!0x1&&this[_0xd63f5a(0x3d0)]());}[_0x447e66(0x4a4)](){var _0x5677e1=_0x447e66;super[_0x5677e1(0x4a4)](),this[_0x5677e1(0x1b5)]['forEach'](_0x2e1321=>_0x2e1321[_0x5677e1(0x4a4)]()),this[_0x5677e1(0x1b5)][_0x5677e1(0x331)]();}[_0x447e66(0x26c)](_0x3e89b8){var _0x3130b8;return(_0x3130b8=this['_entities']['get'](_0x3e89b8))!=null?_0x3130b8:null;}[_0x447e66(0x21a)](_0x4985ca){var _0x3f7f4d=_0x447e66;const _0x396962=this[_0x3f7f4d(0x26c)](_0x4985ca);return _0x396962?H['of'](_0x396962):this[_0x3f7f4d(0x42e)][_0x3f7f4d(0x30d)](V[_0x3f7f4d(0x36c)](_0x3a49cb=>_0x3a49cb[_0x3f7f4d(0x34c)]===_0x4985ca));}['readyForCollab'](_0x5a412e){var _0xb651da=_0x447e66;return H[_0xb651da(0x4d4)](this[_0xb651da(0x21a)](_0x5a412e)[_0xb651da(0x30d)](V[_0xb651da(0x34e)](()=>{})));}['_init'](){var _0x42a3dc=_0x447e66;this['_univerInstanceService'][_0x42a3dc(0x282)](a[_0x42a3dc(0x27b)][_0x42a3dc(0x1f6)])[_0x42a3dc(0x30d)](H[_0x42a3dc(0x2fd)](this[_0x42a3dc(0x2af)]),V['delay'](0x10))['subscribe'](async _0x351351=>{var _0x1fc363=_0x42a3dc;const _0x4a65ad=_0x351351[_0x1fc363(0x3eb)](),_0x41365c=await this[_0x1fc363(0x422)](_0x4a65ad,J[_0x1fc363(0x1f6)]);this[_0x1fc363(0x1b5)][_0x1fc363(0x47f)](_0x4a65ad,_0x41365c);}),this[_0x42a3dc(0x27d)]['getTypeOfUnitAdded$'](a[_0x42a3dc(0x27b)]['UNIVER_DOC'])[_0x42a3dc(0x30d)](H[_0x42a3dc(0x2fd)](this[_0x42a3dc(0x2af)]),V[_0x42a3dc(0x237)](0x10))[_0x42a3dc(0x30d)](V[_0x42a3dc(0x36c)](_0x428e53=>!_0x428e53[_0x42a3dc(0x3eb)]()[_0x42a3dc(0x263)]('__')))['subscribe'](async _0x4b8d4b=>{var _0x23fa0e=_0x42a3dc;const _0x3404ca=_0x4b8d4b[_0x23fa0e(0x3eb)](),_0x317303=await this[_0x23fa0e(0x422)](_0x3404ca,J[_0x23fa0e(0x49e)]);this[_0x23fa0e(0x1b5)][_0x23fa0e(0x47f)](_0x3404ca,_0x317303);}),H[_0x42a3dc(0x46f)](this[_0x42a3dc(0x27d)][_0x42a3dc(0x372)](a[_0x42a3dc(0x27b)][_0x42a3dc(0x1f6)]),this[_0x42a3dc(0x27d)][_0x42a3dc(0x372)](a[_0x42a3dc(0x27b)]['UNIVER_DOC']))['pipe'](H[_0x42a3dc(0x2fd)](this['dispose$']))[_0x42a3dc(0x472)](_0x59ec45=>{var _0x50f414=_0x42a3dc;const _0x1a7674=_0x59ec45['getUnitId'](),_0x3b9b54=this['_entities'][_0x50f414(0x497)](_0x1a7674);_0x3b9b54&&(_0x3b9b54[_0x50f414(0x4a4)](),this[_0x50f414(0x1b5)][_0x50f414(0x48a)](_0x1a7674));});}async[_0x447e66(0x422)](_0x22ab2b,_0x5f5715){var _0x1ed78b=_0x447e66;const _0x124cee=await this['_collabSessionService'][_0x1ed78b(0x1f2)](_0x22ab2b),_0x1e52b7=this[_0x1ed78b(0x39d)]['createInstance'](this[_0x1ed78b(0x2b0)](_0x5f5715),_0x22ab2b,_0x5f5715,_0x124cee);return await _0x1e52b7[_0x1ed78b(0x44e)](),this['_entityInit$'][_0x1ed78b(0x4f9)](_0x1e52b7),_0x1e52b7;}[_0x447e66(0x2b0)](_0x2e463c){var _0x19ebe6=_0x447e66;switch(_0x2e463c){case J[_0x19ebe6(0x49e)]:return exports[_0x19ebe6(0x332)];case J[_0x19ebe6(0x1f6)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x19ebe6(0x267)+_0x2e463c);}}},exports[_0x447e66(0x17f)]=_i([Se(0x0,a[_0x447e66(0x39f)](a[_0x447e66(0x3c2)])),Se(0x1,a[_0x447e66(0x39f)](exports['CollaborationSessionService'])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x447e66(0x3f0)])],exports['CollaborationController']);var li=Object[_0x447e66(0x20f)],ui=(_0x563f9c,_0x346597,_0x16da85,_0x4cd46e)=>{var _0x283b0f=_0x447e66;for(var _0x56fe95=_0x4cd46e>0x1?void 0x0:_0x4cd46e?li(_0x346597,_0x16da85):_0x346597,_0x1c8808=_0x563f9c[_0x283b0f(0x2db)]-0x1,_0x4f5f31;_0x1c8808>=0x0;_0x1c8808--)(_0x4f5f31=_0x563f9c[_0x1c8808])&&(_0x56fe95=_0x4f5f31(_0x56fe95)||_0x56fe95);return _0x56fe95;},Ye=(_0x47e069,_0x2780ed)=>(_0x59f813,_0x277663)=>_0x2780ed(_0x59f813,_0x277663,_0x47e069);const di=_0x447e66(0x3a9),vi=_0x447e66(0x2ba);let xe=class extends a[_0x447e66(0x214)]{constructor(_0x39245b,_0xdf4b2b){var _0x164860=_0x447e66;super(),this[_0x164860(0x27d)]=_0x39245b,this[_0x164860(0x47b)]=_0xdf4b2b,this[_0x164860(0x3d0)]();}[_0x447e66(0x3d0)](){var _0x265860=_0x447e66;this[_0x265860(0x489)](this[_0x265860(0x27d)]['focused$'][_0x265860(0x472)](()=>{var _0x4cadb3=_0x265860,_0x236700;const _0xc0d100=this[_0x4cadb3(0x27d)]['getFocusedUnit']();let _0x10026a=(_0x236700=this[_0x4cadb3(0x47b)][_0x4cadb3(0x3d4)](di))!=null?_0x236700:vi;_0xc0d100 instanceof a['Workbook']&&(_0x10026a=_0xc0d100[_0x4cadb3(0x23f)]),document['title']=_0x10026a;}));}};xe=ui([Ye(0x0,a[_0x447e66(0x3f0)]),Ye(0x1,a['IConfigService'])],xe);var Si=Object[_0x447e66(0x20f)],fi=(_0x49694f,_0x35e9e7,_0x597172,_0x17c529)=>{var _0xbf133b=_0x447e66;for(var _0x8aac65=_0x17c529>0x1?void 0x0:_0x17c529?Si(_0x35e9e7,_0x597172):_0x35e9e7,_0x3f4f67=_0x49694f[_0xbf133b(0x2db)]-0x1,_0x529008;_0x3f4f67>=0x0;_0x3f4f67--)(_0x529008=_0x49694f[_0x3f4f67])&&(_0x8aac65=_0x529008(_0x8aac65)||_0x8aac65);return _0x8aac65;},Ae=(_0x39d391,_0x191f67)=>(_0xa7f901,_0x3f2781)=>_0x191f67(_0xa7f901,_0x3f2781,_0x39d391);let ye=class{constructor(_0xd29442,_0x468c53,_0x1183ae){var _0x5f2f04=_0x447e66;this[_0x5f2f04(0x47b)]=_0xd29442,this['_httpService']=_0x468c53,this[_0x5f2f04(0x48b)]=_0x1183ae,this['init']();}['init'](){var _0x302a79=_0x447e66;this[_0x302a79(0x377)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xd3fee5,_0x49b000)=>_0x49b000(_0xd3fee5)[_0x302a79(0x30d)](H[_0x302a79(0x1c0)](async _0x3f6078=>{var _0x3dabfb=_0x302a79;const _0x580dfd=_0x3f6078;if(_0x580dfd[_0x3dabfb(0x265)]===0x191){if(typeof window>'u')throw new Error(_0x3dabfb(0x1ea));if(window[_0x3dabfb(0x19e)](this[_0x3dabfb(0x48b)]['t'](_0x3dabfb(0x326)))){const _0x47120a=window[_0x3dabfb(0x40d)](window[_0x3dabfb(0x4cf)][_0x3dabfb(0x46e)]);window[_0x3dabfb(0x4cf)]['href']=this[_0x3dabfb(0x309)]()+_0x3dabfb(0x21d)+_0x47120a;}}return _0x580dfd;}))});}['_getLoginPath'](){var _0x2859cb=_0x447e66,_0x3dfca7;const _0x16dc93=this[_0x2859cb(0x47b)][_0x2859cb(0x3d4)](Y);return(_0x3dfca7=_0x16dc93==null?void 0x0:_0x16dc93[_0x2859cb(0x3ea)])!=null?_0x3dfca7:$t;}};ye=fi([Ae(0x0,a[_0x447e66(0x2ed)]),Ae(0x1,a['Inject'](q[_0x447e66(0x38c)])),Ae(0x2,a[_0x447e66(0x39f)](a[_0x447e66(0x391)]))],ye);var Ii=Object[_0x447e66(0x20f)],pi=(_0x283042,_0x5ec090,_0x143641,_0x2f13eb)=>{for(var _0x837cdd=_0x2f13eb>0x1?void 0x0:_0x2f13eb?Ii(_0x5ec090,_0x143641):_0x5ec090,_0xd41b74=_0x283042['length']-0x1,_0x1b107b;_0xd41b74>=0x0;_0xd41b74--)(_0x1b107b=_0x283042[_0xd41b74])&&(_0x837cdd=_0x1b107b(_0x837cdd)||_0x837cdd);return _0x837cdd;},qe=(_0x492f17,_0x39744f)=>(_0x34513f,_0x4ad8fb)=>_0x39744f(_0x34513f,_0x4ad8fb,_0x492f17);const mi=_0x447e66(0x4e8);exports[_0x447e66(0x4ed)]=class extends a[_0x447e66(0x214)]{constructor(_0x2d68fa,_0x33c985){var _0x590919=_0x447e66;super(),this[_0x590919(0x21b)]=_0x2d68fa,this[_0x590919(0x47b)]=_0x33c985,this[_0x590919(0x442)]();}[_0x447e66(0x442)](){var _0x54cac5=_0x447e66;const _0x429c27=this;this[_0x54cac5(0x489)](this[_0x54cac5(0x21b)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x54cac5(0x278)]({'isMatch'(_0x21bf69){var _0x180712=_0x54cac5,_0x7b475d;if(_0x21bf69['method']===_0x180712(0x323)&&((_0x7b475d=_0x21bf69[_0x180712(0x1e2)])!=null&&_0x7b475d[_0x180712(0x18e)])){const {objectID:_0x2147b4,objectType:_0x43eb1}=_0x21bf69[_0x180712(0x1e2)]['body']||{};if(!_0x2147b4||_0x43eb1===void 0x0)return!0x1;const _0x33bc54=_0x429c27[_0x180712(0x298)]()+'/'+_0x43eb1+_0x180712(0x363)+_0x2147b4+_0x180712(0x3e2);if(_0x21bf69[_0x180712(0x18d)]===_0x33bc54)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x168986){var _0x11489c=_0x54cac5,_0x255b82;return(_0x255b82=_0x168986['requestParams'])==null?void 0x0:_0x255b82[_0x11489c(0x18e)];},'mergeParamsToRequest'(_0x34bc09,_0x56e20f){var _0xe8663a=_0x54cac5;const _0x1d5744=_0x429c27[_0xe8663a(0x298)]()+_0xe8663a(0x26e),_0x3e1a81=_0x34bc09[_0xe8663a(0x207)]((_0x30785c,_0x39f0fe)=>{const {unitID:_0x5c25fb,objectID:_0x5f125e,objectType:_0x41c515,actions:_0x77c191}=_0x39f0fe;return _0x30785c[_0x5c25fb]||(_0x30785c[_0x5c25fb]={}),_0x30785c[_0x5c25fb][_0x5f125e]||(_0x30785c[_0x5c25fb][_0x5f125e]={'objectID':_0x5f125e,'objectType':_0x41c515,'actions':[]}),_0x30785c[_0x5c25fb][_0x5f125e]['actions']['push'](..._0x77c191),_0x30785c;},{}),_0x893ca1=[];for(const _0x30cb3b in _0x3e1a81)for(const _0x952213 in _0x3e1a81[_0x30cb3b]){const {actions:_0x381aef,objectType:_0x2f1d4}=_0x3e1a81[_0x30cb3b][_0x952213],_0x11d5fa=[...new Set(_0x381aef)];_0x893ca1[_0xe8663a(0x1c3)]({'unitID':_0x30cb3b,'objectID':_0x952213,'objectType':_0x2f1d4,'actions':_0x11d5fa});}return new q[(_0xe8663a(0x40a))](_0xe8663a(0x323),_0x1d5744,{'headers':_0x56e20f[_0xe8663a(0x4da)],'withCredentials':_0x56e20f[_0xe8663a(0x36d)],'responseType':_0x56e20f[_0xe8663a(0x40c)],'body':{'requests':_0x893ca1}});}},{'distributeResult'(_0x89f1ab,_0x3aca21){var _0x302262=_0x54cac5;const {objectActions:_0x5ee59a}=_0x89f1ab;return _0x3aca21[_0x302262(0x34e)](_0x14c6ef=>{var _0x409c7d=_0x302262;const {unitID:_0x2dccd7,objectID:_0x3bccf6,actions:_0x3db8f6}=_0x14c6ef,_0x8d363e=_0x5ee59a[_0x409c7d(0x46b)](_0x575f59=>_0x575f59[_0x409c7d(0x34c)]===_0x2dccd7&&_0x575f59['objectID']===_0x3bccf6),_0x34531d=_0x3db8f6[_0x409c7d(0x34e)](_0x233967=>_0x8d363e==null?void 0x0:_0x8d363e[_0x409c7d(0x33e)][_0x409c7d(0x46b)](_0x57440c=>_0x57440c['action']===_0x233967))['filter'](_0x4a775d=>!!_0x4a775d);return{'config':_0x14c6ef,'result':{'actions':_0x34531d,'error':_0x89f1ab[_0x409c7d(0x37a)]}};});}})}));}[_0x447e66(0x298)](){var _0x356471=_0x447e66,_0x486201;const _0x4e1374=this[_0x356471(0x47b)]['getConfig'](Y);return(_0x486201=_0x4e1374==null?void 0x0:_0x4e1374[_0x356471(0x2ab)])!=null?_0x486201:mi;}async['create'](_0x46c7f5){var _0xf7d87d=_0x447e66;const _0x1529e2=this[_0xf7d87d(0x298)]()+'/'+_0x46c7f5[_0xf7d87d(0x1fc)]+_0xf7d87d(0x4c3);return(await this[_0xf7d87d(0x21b)][_0xf7d87d(0x1dd)](_0x1529e2,{'body':_0x46c7f5}))[_0xf7d87d(0x18e)]['objectID']||'';}async['list'](_0x417acd){var _0x2b6208=_0x447e66;const _0x2c3856=this['_getAPIPrefixPath']()+'/-/object/list';return(await this['_HTTPService'][_0x2b6208(0x1dd)](_0x2c3856,{'body':_0x417acd}))['body'][_0x2b6208(0x1d4)];}async[_0x447e66(0x35c)](_0x494b0a){var _0x2b03ac=_0x447e66,_0x54b97f,_0x488793;const _0x256dec=this['_getAPIPrefixPath']()+'/'+_0x494b0a[_0x2b03ac(0x1fc)]+'/object/'+_0x494b0a[_0x2b03ac(0x455)],_0x2a5c43=await this['_HTTPService'][_0x2b03ac(0x496)](_0x256dec,{'body':_0x494b0a});if(((_0x488793=(_0x54b97f=_0x2a5c43==null?void 0x0:_0x2a5c43['body'])==null?void 0x0:_0x54b97f['error'])==null?void 0x0:_0x488793[_0x2b03ac(0x345)])!==0x1)throw new Error(_0x2b03ac(0x26f));}async[_0x447e66(0x185)](_0x5a4bee){var _0x206fad=_0x447e66;const _0x5b03ff=this[_0x206fad(0x298)]()+'/'+_0x5a4bee[_0x206fad(0x1fc)]+_0x206fad(0x363)+_0x5a4bee['objectID']+'/allowed';return(await this['_HTTPService'][_0x206fad(0x1dd)](_0x5b03ff,{'body':_0x5a4bee}))[_0x206fad(0x18e)]['actions'];}async[_0x447e66(0x4f7)](_0x354a5f){var _0x230d34=_0x447e66;const _0x11bff4=this[_0x230d34(0x298)]()+_0x230d34(0x26e);return(await this[_0x230d34(0x21b)][_0x230d34(0x1dd)](_0x11bff4,{'body':{'requests':_0x354a5f}}))['body'][_0x230d34(0x48d)];}async['listRoles'](_0x130277){var _0x19f06c=_0x447e66;const _0x192330=this[_0x19f06c(0x298)]()+'/'+_0x130277['objectType']+_0x19f06c(0x1d1),_0x57b615=await this[_0x19f06c(0x21b)][_0x19f06c(0x1dd)](_0x192330,{'body':_0x130277});return{'roles':_0x57b615[_0x19f06c(0x18e)]['roles'],'actions':_0x57b615[_0x19f06c(0x18e)]['actions']};}async[_0x447e66(0x4c4)](_0xcb08ef){var _0x5e0e7f=_0x447e66;const _0xf31b92=this[_0x5e0e7f(0x298)]()+'/collaborator';await this['_HTTPService'][_0x5e0e7f(0x48a)](_0xf31b92,{'params':{'collaboratorID':_0xcb08ef[_0x5e0e7f(0x255)],'objectID':_0xcb08ef[_0x5e0e7f(0x455)],'unitID':_0xcb08ef[_0x5e0e7f(0x34c)]}});}async[_0x447e66(0x35d)](_0x33f529){var _0x5ef00d=_0x447e66;const _0xce7a11=this[_0x5ef00d(0x298)]()+_0x5ef00d(0x21c);await this['_HTTPService'][_0x5ef00d(0x4a9)](_0xce7a11,{'body':_0x33f529});}async['createCollaborator'](_0x47b272){var _0x49d128=_0x447e66;const _0x449657=this[_0x49d128(0x298)]()+'/collaborator';await this[_0x49d128(0x21b)][_0x49d128(0x1dd)](_0x449657,{'body':_0x47b272});}async['listCollaborators'](_0x5f2e59){var _0x21be05=_0x447e66;const _0x50ca4e=this[_0x21be05(0x298)]()+_0x21be05(0x21c);return(await this[_0x21be05(0x21b)][_0x21be05(0x497)](_0x50ca4e,{'params':{'objectID':_0x5f2e59[_0x21be05(0x455)],'unitID':_0x5f2e59[_0x21be05(0x34c)]}}))['body'][_0x21be05(0x449)];}async[_0x447e66(0x34d)](_0x2baa40){var _0x42b140=_0x447e66;const _0x33c711=this[_0x42b140(0x298)]()+'/collaborator';await this[_0x42b140(0x21b)][_0x42b140(0x496)](_0x33c711,{'body':_0x2baa40});}},exports['AuthzIoHttpService']=pi([qe(0x0,a[_0x447e66(0x39f)](q[_0x447e66(0x38c)])),qe(0x1,a[_0x447e66(0x39f)](a[_0x447e66(0x2ed)]))],exports[_0x447e66(0x4ed)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x1ea2eb){var _0x458df0=_0x447e66;return _0x1ea2eb&&_0x1ea2eb['__esModule']&&Object[_0x458df0(0x4c7)]['hasOwnProperty'][_0x458df0(0x47a)](_0x1ea2eb,_0x458df0(0x3fa))?_0x1ea2eb[_0x458df0(0x3fa)]:_0x1ea2eb;}var fe={'exports':{}};function gi(_0x4fdf15){var _0xee1f76=_0x447e66;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x4fdf15+_0xee1f76(0x461));}var Ie={'exports':{}},Ei=Ie[_0x447e66(0x419)],Ke;function Q(){return Ke||(Ke=0x1,function(_0x4d3f17,_0xa4e384){(function(_0x47f6c0,_0x31ccc5){_0x4d3f17['exports']=_0x31ccc5();}(Ei,function(){var _0x2e6932=_0x2e6932||function(_0x4b05d3,_0xcb9cd){var _0x97ef08=_0x52b3,_0x2d46f5;if(typeof window<'u'&&window[_0x97ef08(0x478)]&&(_0x2d46f5=window[_0x97ef08(0x478)]),typeof self<'u'&&self[_0x97ef08(0x478)]&&(_0x2d46f5=self[_0x97ef08(0x478)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2d46f5=globalThis[_0x97ef08(0x478)]),!_0x2d46f5&&typeof window<'u'&&window[_0x97ef08(0x2fa)]&&(_0x2d46f5=window[_0x97ef08(0x2fa)]),!_0x2d46f5&&typeof Pe<'u'&&Pe['crypto']&&(_0x2d46f5=Pe['crypto']),!_0x2d46f5&&typeof gi==_0x97ef08(0x2e5))try{_0x2d46f5=require('crypto');}catch{}var _0x208150=function(){var _0x3db115=_0x97ef08;if(_0x2d46f5){if(typeof _0x2d46f5[_0x3db115(0x2b6)]==_0x3db115(0x2e5))try{return _0x2d46f5[_0x3db115(0x2b6)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2d46f5['randomBytes']=='function')try{return _0x2d46f5[_0x3db115(0x1aa)](0x4)[_0x3db115(0x1d8)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x824597=Object[_0x97ef08(0x464)]||(function(){function _0x772ff0(){}return function(_0x56efed){var _0x35359f=_0x52b3,_0x5cfd3c;return _0x772ff0[_0x35359f(0x4c7)]=_0x56efed,_0x5cfd3c=new _0x772ff0(),_0x772ff0[_0x35359f(0x4c7)]=null,_0x5cfd3c;};}()),_0xb5db21={},_0x450ab4=_0xb5db21[_0x97ef08(0x4cb)]={},_0x5c0d69=_0x450ab4[_0x97ef08(0x3ce)]=(function(){return{'extend':function(_0x300281){var _0x21998d=_0x52b3,_0x51f883=_0x824597(this);return _0x300281&&_0x51f883['mixIn'](_0x300281),(!_0x51f883[_0x21998d(0x2f0)](_0x21998d(0x44e))||this['init']===_0x51f883['init'])&&(_0x51f883[_0x21998d(0x44e)]=function(){var _0x2b15d2=_0x21998d;_0x51f883['$super'][_0x2b15d2(0x44e)]['apply'](this,arguments);}),_0x51f883[_0x21998d(0x44e)][_0x21998d(0x4c7)]=_0x51f883,_0x51f883[_0x21998d(0x3b4)]=this,_0x51f883;},'create':function(){var _0x1cfdf9=_0x52b3,_0x249cda=this[_0x1cfdf9(0x460)]();return _0x249cda['init'][_0x1cfdf9(0x4ef)](_0x249cda,arguments),_0x249cda;},'init':function(){},'mixIn':function(_0x750027){var _0x4bdb1b=_0x52b3;for(var _0xe421fa in _0x750027)_0x750027[_0x4bdb1b(0x2f0)](_0xe421fa)&&(this[_0xe421fa]=_0x750027[_0xe421fa]);_0x750027[_0x4bdb1b(0x2f0)](_0x4bdb1b(0x17d))&&(this['toString']=_0x750027[_0x4bdb1b(0x17d)]);},'clone':function(){var _0x591dfb=_0x52b3;return this['init'][_0x591dfb(0x4c7)][_0x591dfb(0x460)](this);}};}()),_0x565df4=_0x450ab4[_0x97ef08(0x293)]=_0x5c0d69[_0x97ef08(0x460)]({'init':function(_0x307e50,_0x12d38f){var _0xff16be=_0x97ef08;_0x307e50=this['words']=_0x307e50||[],_0x12d38f!=_0xcb9cd?this[_0xff16be(0x4e9)]=_0x12d38f:this[_0xff16be(0x4e9)]=_0x307e50[_0xff16be(0x2db)]*0x4;},'toString':function(_0x14a804){var _0x3ea3ab=_0x97ef08;return(_0x14a804||_0x453fa6)[_0x3ea3ab(0x319)](this);},'concat':function(_0x29dc31){var _0x32afc9=_0x97ef08,_0x448849=this['words'],_0x35ec33=_0x29dc31['words'],_0x1ee39f=this[_0x32afc9(0x4e9)],_0x2ce68d=_0x29dc31[_0x32afc9(0x4e9)];if(this[_0x32afc9(0x29f)](),_0x1ee39f%0x4)for(var _0x31c940=0x0;_0x31c940<_0x2ce68d;_0x31c940++){var _0x7c38be=_0x35ec33[_0x31c940>>>0x2]>>>0x18-_0x31c940%0x4*0x8&0xff;_0x448849[_0x1ee39f+_0x31c940>>>0x2]|=_0x7c38be<<0x18-(_0x1ee39f+_0x31c940)%0x4*0x8;}else{for(var _0x1c682b=0x0;_0x1c682b<_0x2ce68d;_0x1c682b+=0x4)_0x448849[_0x1ee39f+_0x1c682b>>>0x2]=_0x35ec33[_0x1c682b>>>0x2];}return this[_0x32afc9(0x4e9)]+=_0x2ce68d,this;},'clamp':function(){var _0x25d141=_0x97ef08,_0x1c6a93=this[_0x25d141(0x2f2)],_0x97c4d=this[_0x25d141(0x4e9)];_0x1c6a93[_0x97c4d>>>0x2]&=0xffffffff<<0x20-_0x97c4d%0x4*0x8,_0x1c6a93[_0x25d141(0x2db)]=_0x4b05d3[_0x25d141(0x466)](_0x97c4d/0x4);},'clone':function(){var _0x440911=_0x97ef08,_0x15a4bb=_0x5c0d69[_0x440911(0x3f7)][_0x440911(0x47a)](this);return _0x15a4bb[_0x440911(0x2f2)]=this[_0x440911(0x2f2)][_0x440911(0x418)](0x0),_0x15a4bb;},'random':function(_0x54776f){for(var _0x5e8c90=[],_0x4482d8=0x0;_0x4482d8<_0x54776f;_0x4482d8+=0x4)_0x5e8c90['push'](_0x208150());return new _0x565df4['init'](_0x5e8c90,_0x54776f);}}),_0x1e4480=_0xb5db21['enc']={},_0x453fa6=_0x1e4480[_0x97ef08(0x226)]={'stringify':function(_0x2b5917){var _0x40938c=_0x97ef08;for(var _0x594971=_0x2b5917[_0x40938c(0x2f2)],_0x5707b8=_0x2b5917[_0x40938c(0x4e9)],_0x18b35d=[],_0x2c5014=0x0;_0x2c5014<_0x5707b8;_0x2c5014++){var _0x2fe619=_0x594971[_0x2c5014>>>0x2]>>>0x18-_0x2c5014%0x4*0x8&0xff;_0x18b35d[_0x40938c(0x1c3)]((_0x2fe619>>>0x4)[_0x40938c(0x17d)](0x10)),_0x18b35d['push']((_0x2fe619&0xf)[_0x40938c(0x17d)](0x10));}return _0x18b35d[_0x40938c(0x386)]('');},'parse':function(_0x1711d5){var _0x2bcd2b=_0x97ef08;for(var _0x17119f=_0x1711d5[_0x2bcd2b(0x2db)],_0x597684=[],_0x50df1c=0x0;_0x50df1c<_0x17119f;_0x50df1c+=0x2)_0x597684[_0x50df1c>>>0x3]|=parseInt(_0x1711d5['substr'](_0x50df1c,0x2),0x10)<<0x18-_0x50df1c%0x8*0x4;return new _0x565df4[(_0x2bcd2b(0x44e))](_0x597684,_0x17119f/0x2);}},_0x115e75=_0x1e4480[_0x97ef08(0x23c)]={'stringify':function(_0xa44f6d){var _0x2b1caa=_0x97ef08;for(var _0x4d920b=_0xa44f6d[_0x2b1caa(0x2f2)],_0x5b3110=_0xa44f6d['sigBytes'],_0x1d7089=[],_0x55db26=0x0;_0x55db26<_0x5b3110;_0x55db26++){var _0x475ca7=_0x4d920b[_0x55db26>>>0x2]>>>0x18-_0x55db26%0x4*0x8&0xff;_0x1d7089[_0x2b1caa(0x1c3)](String[_0x2b1caa(0x291)](_0x475ca7));}return _0x1d7089[_0x2b1caa(0x386)]('');},'parse':function(_0x42146a){var _0x327f6b=_0x97ef08;for(var _0x37fca0=_0x42146a['length'],_0x4a2f98=[],_0x198c10=0x0;_0x198c10<_0x37fca0;_0x198c10++)_0x4a2f98[_0x198c10>>>0x2]|=(_0x42146a[_0x327f6b(0x1bd)](_0x198c10)&0xff)<<0x18-_0x198c10%0x4*0x8;return new _0x565df4[(_0x327f6b(0x44e))](_0x4a2f98,_0x37fca0);}},_0xb5a894=_0x1e4480[_0x97ef08(0x231)]={'stringify':function(_0x22ac8e){var _0xf0cbfa=_0x97ef08;try{return decodeURIComponent(escape(_0x115e75[_0xf0cbfa(0x319)](_0x22ac8e)));}catch{throw new Error(_0xf0cbfa(0x3b6));}},'parse':function(_0x43f3bf){var _0x186491=_0x97ef08;return _0x115e75[_0x186491(0x347)](unescape(encodeURIComponent(_0x43f3bf)));}},_0x22a7c4=_0x450ab4[_0x97ef08(0x280)]=_0x5c0d69['extend']({'reset':function(){var _0xeba758=_0x97ef08;this[_0xeba758(0x1ba)]=new _0x565df4['init'](),this[_0xeba758(0x2e0)]=0x0;},'_append':function(_0x27f7bb){var _0x30289c=_0x97ef08;typeof _0x27f7bb=='string'&&(_0x27f7bb=_0xb5a894[_0x30289c(0x347)](_0x27f7bb)),this[_0x30289c(0x1ba)][_0x30289c(0x28d)](_0x27f7bb),this[_0x30289c(0x2e0)]+=_0x27f7bb['sigBytes'];},'_process':function(_0x121337){var _0x433bc4=_0x97ef08,_0x4d7532,_0xb9bd93=this[_0x433bc4(0x1ba)],_0x2c2776=_0xb9bd93[_0x433bc4(0x2f2)],_0x2a5830=_0xb9bd93['sigBytes'],_0x40dc08=this[_0x433bc4(0x439)],_0x1bfe7d=_0x40dc08*0x4,_0x4781a4=_0x2a5830/_0x1bfe7d;_0x121337?_0x4781a4=_0x4b05d3[_0x433bc4(0x466)](_0x4781a4):_0x4781a4=_0x4b05d3[_0x433bc4(0x2e4)]((_0x4781a4|0x0)-this[_0x433bc4(0x22a)],0x0);var _0x2c4e94=_0x4781a4*_0x40dc08,_0x50a14a=_0x4b05d3[_0x433bc4(0x329)](_0x2c4e94*0x4,_0x2a5830);if(_0x2c4e94){for(var _0x1168c7=0x0;_0x1168c7<_0x2c4e94;_0x1168c7+=_0x40dc08)this[_0x433bc4(0x425)](_0x2c2776,_0x1168c7);_0x4d7532=_0x2c2776[_0x433bc4(0x3b2)](0x0,_0x2c4e94),_0xb9bd93[_0x433bc4(0x4e9)]-=_0x50a14a;}return new _0x565df4[(_0x433bc4(0x44e))](_0x4d7532,_0x50a14a);},'clone':function(){var _0x3d65f5=_0x97ef08,_0x14fcd6=_0x5c0d69['clone']['call'](this);return _0x14fcd6['_data']=this[_0x3d65f5(0x1ba)][_0x3d65f5(0x3f7)](),_0x14fcd6;},'_minBufferSize':0x0});_0x450ab4[_0x97ef08(0x3dc)]=_0x22a7c4[_0x97ef08(0x460)]({'cfg':_0x5c0d69['extend'](),'init':function(_0xf6308b){var _0x41787f=_0x97ef08;this[_0x41787f(0x213)]=this[_0x41787f(0x213)]['extend'](_0xf6308b),this[_0x41787f(0x396)]();},'reset':function(){var _0x6ddd0e=_0x97ef08;_0x22a7c4['reset'][_0x6ddd0e(0x47a)](this),this[_0x6ddd0e(0x2f9)]();},'update':function(_0x262238){var _0x381b7b=_0x97ef08;return this[_0x381b7b(0x3c7)](_0x262238),this[_0x381b7b(0x491)](),this;},'finalize':function(_0x326589){var _0x61f2bd=_0x97ef08;_0x326589&&this[_0x61f2bd(0x3c7)](_0x326589);var _0x2bb8e9=this[_0x61f2bd(0x445)]();return _0x2bb8e9;},'blockSize':0x10,'_createHelper':function(_0x458832){return function(_0x1588a7,_0x1c7050){var _0x42f65f=_0x52b3;return new _0x458832[(_0x42f65f(0x44e))](_0x1c7050)['finalize'](_0x1588a7);};},'_createHmacHelper':function(_0x177320){return function(_0x49e4fc,_0x3fcdaf){var _0x4ea661=_0x52b3;return new _0x45a260[(_0x4ea661(0x3e3))][(_0x4ea661(0x44e))](_0x177320,_0x3fcdaf)['finalize'](_0x49e4fc);};}});var _0x45a260=_0xb5db21[_0x97ef08(0x404)]={};return _0xb5db21;}(Math);return _0x2e6932;}));}(Ie)),Ie['exports'];}var pe={'exports':{}},Ci=pe['exports'],ze;function Et(){var _0x498ee5=_0x447e66;return ze||(ze=0x1,function(_0x31e2b3,_0x299141){(function(_0x37b59e,_0x259422){_0x31e2b3['exports']=_0x259422(Q());}(Ci,function(_0x21a0ec){var _0x1f67e6=_0x52b3;return(function(){var _0x66f6aa=_0x52b3,_0x33f28c=_0x21a0ec,_0x4b451b=_0x33f28c[_0x66f6aa(0x4cb)],_0x248de6=_0x4b451b[_0x66f6aa(0x293)],_0xe6a232=_0x33f28c['enc'];_0xe6a232[_0x66f6aa(0x399)]={'stringify':function(_0x2d093b){var _0x20e278=_0x66f6aa,_0x31419b=_0x2d093b[_0x20e278(0x2f2)],_0x44d824=_0x2d093b[_0x20e278(0x4e9)],_0x1211f8=this['_map'];_0x2d093b[_0x20e278(0x29f)]();for(var _0xc1d19e=[],_0x108f7c=0x0;_0x108f7c<_0x44d824;_0x108f7c+=0x3)for(var _0x1422c4=_0x31419b[_0x108f7c>>>0x2]>>>0x18-_0x108f7c%0x4*0x8&0xff,_0x562172=_0x31419b[_0x108f7c+0x1>>>0x2]>>>0x18-(_0x108f7c+0x1)%0x4*0x8&0xff,_0x356ad3=_0x31419b[_0x108f7c+0x2>>>0x2]>>>0x18-(_0x108f7c+0x2)%0x4*0x8&0xff,_0x472593=_0x1422c4<<0x10|_0x562172<<0x8|_0x356ad3,_0xce302e=0x0;_0xce302e<0x4&&_0x108f7c+_0xce302e*0.75<_0x44d824;_0xce302e++)_0xc1d19e[_0x20e278(0x1c3)](_0x1211f8['charAt'](_0x472593>>>0x6*(0x3-_0xce302e)&0x3f));var _0x4d859e=_0x1211f8[_0x20e278(0x1a8)](0x40);if(_0x4d859e){for(;_0xc1d19e[_0x20e278(0x2db)]%0x4;)_0xc1d19e[_0x20e278(0x1c3)](_0x4d859e);}return _0xc1d19e['join']('');},'parse':function(_0x494ed0){var _0x5dc624=_0x66f6aa,_0x4f8579=_0x494ed0[_0x5dc624(0x2db)],_0x1579ea=this[_0x5dc624(0x3fc)],_0xa32024=this['_reverseMap'];if(!_0xa32024){_0xa32024=this[_0x5dc624(0x3af)]=[];for(var _0x35c32e=0x0;_0x35c32e<_0x1579ea[_0x5dc624(0x2db)];_0x35c32e++)_0xa32024[_0x1579ea[_0x5dc624(0x1bd)](_0x35c32e)]=_0x35c32e;}var _0x298bcc=_0x1579ea['charAt'](0x40);if(_0x298bcc){var _0x41cfe5=_0x494ed0['indexOf'](_0x298bcc);_0x41cfe5!==-0x1&&(_0x4f8579=_0x41cfe5);}return _0xfbbc6a(_0x494ed0,_0x4f8579,_0xa32024);},'_map':_0x66f6aa(0x48e)};function _0xfbbc6a(_0x313037,_0x425c47,_0xc746d8){var _0x43658b=_0x66f6aa;for(var _0x58f879=[],_0x19edda=0x0,_0x54a3a7=0x0;_0x54a3a7<_0x425c47;_0x54a3a7++)if(_0x54a3a7%0x4){var _0x50c525=_0xc746d8[_0x313037[_0x43658b(0x1bd)](_0x54a3a7-0x1)]<<_0x54a3a7%0x4*0x2,_0x2ebe18=_0xc746d8[_0x313037[_0x43658b(0x1bd)](_0x54a3a7)]>>>0x6-_0x54a3a7%0x4*0x2,_0x26cab5=_0x50c525|_0x2ebe18;_0x58f879[_0x19edda>>>0x2]|=_0x26cab5<<0x18-_0x19edda%0x4*0x8,_0x19edda++;}return _0x248de6['create'](_0x58f879,_0x19edda);}}()),_0x21a0ec[_0x1f67e6(0x321)][_0x1f67e6(0x399)];}));}(pe)),pe[_0x498ee5(0x419)];}var me={'exports':{}},Ti=me[_0x447e66(0x419)],Je;function bi(){var _0x1336a7=_0x447e66;return Je||(Je=0x1,function(_0x3d5192,_0x31554a){(function(_0x2a4311,_0x463588){_0x3d5192['exports']=_0x463588(Q());}(Ti,function(_0x1dffea){return function(_0x559364){var _0x4423b0=_0x52b3,_0x659849=_0x1dffea,_0x1a3992=_0x659849[_0x4423b0(0x4cb)],_0x149c5f=_0x1a3992['WordArray'],_0x2cd36a=_0x1a3992[_0x4423b0(0x3dc)],_0x33daf7=_0x659849[_0x4423b0(0x404)],_0x1faac2=[];(function(){var _0x3918e5=_0x4423b0;for(var _0x455ab2=0x0;_0x455ab2<0x40;_0x455ab2++)_0x1faac2[_0x455ab2]=_0x559364['abs'](_0x559364[_0x3918e5(0x4d0)](_0x455ab2+0x1))*0x100000000|0x0;}());var _0x4c1808=_0x33daf7[_0x4423b0(0x2aa)]=_0x2cd36a[_0x4423b0(0x460)]({'_doReset':function(){var _0x404749=_0x4423b0;this[_0x404749(0x3d1)]=new _0x149c5f[(_0x404749(0x44e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x390c00,_0x37bb09){var _0x595c0e=_0x4423b0;for(var _0x4866b9=0x0;_0x4866b9<0x10;_0x4866b9++){var _0x2e5001=_0x37bb09+_0x4866b9,_0xe7d050=_0x390c00[_0x2e5001];_0x390c00[_0x2e5001]=(_0xe7d050<<0x8|_0xe7d050>>>0x18)&0xff00ff|(_0xe7d050<<0x18|_0xe7d050>>>0x8)&0xff00ff00;}var _0x1d5f5e=this[_0x595c0e(0x3d1)]['words'],_0x2bf186=_0x390c00[_0x37bb09+0x0],_0x12aa46=_0x390c00[_0x37bb09+0x1],_0x128fba=_0x390c00[_0x37bb09+0x2],_0x520f3a=_0x390c00[_0x37bb09+0x3],_0x384c2e=_0x390c00[_0x37bb09+0x4],_0x1840d5=_0x390c00[_0x37bb09+0x5],_0x476b9b=_0x390c00[_0x37bb09+0x6],_0x5c1f24=_0x390c00[_0x37bb09+0x7],_0x45ee71=_0x390c00[_0x37bb09+0x8],_0x36c2fb=_0x390c00[_0x37bb09+0x9],_0x1bba38=_0x390c00[_0x37bb09+0xa],_0x3b41e7=_0x390c00[_0x37bb09+0xb],_0x4a6f86=_0x390c00[_0x37bb09+0xc],_0x459ce3=_0x390c00[_0x37bb09+0xd],_0x4e294c=_0x390c00[_0x37bb09+0xe],_0x5be33b=_0x390c00[_0x37bb09+0xf],_0x2f3884=_0x1d5f5e[0x0],_0x8d8c7e=_0x1d5f5e[0x1],_0x46f091=_0x1d5f5e[0x2],_0xe0ec0f=_0x1d5f5e[0x3];_0x2f3884=_0x1f51c2(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2bf186,0x7,_0x1faac2[0x0]),_0xe0ec0f=_0x1f51c2(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x12aa46,0xc,_0x1faac2[0x1]),_0x46f091=_0x1f51c2(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x128fba,0x11,_0x1faac2[0x2]),_0x8d8c7e=_0x1f51c2(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x520f3a,0x16,_0x1faac2[0x3]),_0x2f3884=_0x1f51c2(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x384c2e,0x7,_0x1faac2[0x4]),_0xe0ec0f=_0x1f51c2(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x1840d5,0xc,_0x1faac2[0x5]),_0x46f091=_0x1f51c2(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x476b9b,0x11,_0x1faac2[0x6]),_0x8d8c7e=_0x1f51c2(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x5c1f24,0x16,_0x1faac2[0x7]),_0x2f3884=_0x1f51c2(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x45ee71,0x7,_0x1faac2[0x8]),_0xe0ec0f=_0x1f51c2(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x36c2fb,0xc,_0x1faac2[0x9]),_0x46f091=_0x1f51c2(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x1bba38,0x11,_0x1faac2[0xa]),_0x8d8c7e=_0x1f51c2(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x3b41e7,0x16,_0x1faac2[0xb]),_0x2f3884=_0x1f51c2(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x4a6f86,0x7,_0x1faac2[0xc]),_0xe0ec0f=_0x1f51c2(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x459ce3,0xc,_0x1faac2[0xd]),_0x46f091=_0x1f51c2(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x4e294c,0x11,_0x1faac2[0xe]),_0x8d8c7e=_0x1f51c2(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x5be33b,0x16,_0x1faac2[0xf]),_0x2f3884=_0x368602(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x12aa46,0x5,_0x1faac2[0x10]),_0xe0ec0f=_0x368602(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x476b9b,0x9,_0x1faac2[0x11]),_0x46f091=_0x368602(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x3b41e7,0xe,_0x1faac2[0x12]),_0x8d8c7e=_0x368602(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x2bf186,0x14,_0x1faac2[0x13]),_0x2f3884=_0x368602(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x1840d5,0x5,_0x1faac2[0x14]),_0xe0ec0f=_0x368602(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x1bba38,0x9,_0x1faac2[0x15]),_0x46f091=_0x368602(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x5be33b,0xe,_0x1faac2[0x16]),_0x8d8c7e=_0x368602(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x384c2e,0x14,_0x1faac2[0x17]),_0x2f3884=_0x368602(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x36c2fb,0x5,_0x1faac2[0x18]),_0xe0ec0f=_0x368602(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x4e294c,0x9,_0x1faac2[0x19]),_0x46f091=_0x368602(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x520f3a,0xe,_0x1faac2[0x1a]),_0x8d8c7e=_0x368602(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x45ee71,0x14,_0x1faac2[0x1b]),_0x2f3884=_0x368602(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x459ce3,0x5,_0x1faac2[0x1c]),_0xe0ec0f=_0x368602(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x128fba,0x9,_0x1faac2[0x1d]),_0x46f091=_0x368602(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x5c1f24,0xe,_0x1faac2[0x1e]),_0x8d8c7e=_0x368602(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x4a6f86,0x14,_0x1faac2[0x1f]),_0x2f3884=_0x3377c1(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x1840d5,0x4,_0x1faac2[0x20]),_0xe0ec0f=_0x3377c1(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x45ee71,0xb,_0x1faac2[0x21]),_0x46f091=_0x3377c1(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x3b41e7,0x10,_0x1faac2[0x22]),_0x8d8c7e=_0x3377c1(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x4e294c,0x17,_0x1faac2[0x23]),_0x2f3884=_0x3377c1(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x12aa46,0x4,_0x1faac2[0x24]),_0xe0ec0f=_0x3377c1(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x384c2e,0xb,_0x1faac2[0x25]),_0x46f091=_0x3377c1(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x5c1f24,0x10,_0x1faac2[0x26]),_0x8d8c7e=_0x3377c1(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x1bba38,0x17,_0x1faac2[0x27]),_0x2f3884=_0x3377c1(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x459ce3,0x4,_0x1faac2[0x28]),_0xe0ec0f=_0x3377c1(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x2bf186,0xb,_0x1faac2[0x29]),_0x46f091=_0x3377c1(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x520f3a,0x10,_0x1faac2[0x2a]),_0x8d8c7e=_0x3377c1(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x476b9b,0x17,_0x1faac2[0x2b]),_0x2f3884=_0x3377c1(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x36c2fb,0x4,_0x1faac2[0x2c]),_0xe0ec0f=_0x3377c1(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x4a6f86,0xb,_0x1faac2[0x2d]),_0x46f091=_0x3377c1(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x5be33b,0x10,_0x1faac2[0x2e]),_0x8d8c7e=_0x3377c1(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x128fba,0x17,_0x1faac2[0x2f]),_0x2f3884=_0x52027c(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2bf186,0x6,_0x1faac2[0x30]),_0xe0ec0f=_0x52027c(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x5c1f24,0xa,_0x1faac2[0x31]),_0x46f091=_0x52027c(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x4e294c,0xf,_0x1faac2[0x32]),_0x8d8c7e=_0x52027c(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x1840d5,0x15,_0x1faac2[0x33]),_0x2f3884=_0x52027c(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x4a6f86,0x6,_0x1faac2[0x34]),_0xe0ec0f=_0x52027c(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x520f3a,0xa,_0x1faac2[0x35]),_0x46f091=_0x52027c(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x1bba38,0xf,_0x1faac2[0x36]),_0x8d8c7e=_0x52027c(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x12aa46,0x15,_0x1faac2[0x37]),_0x2f3884=_0x52027c(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x45ee71,0x6,_0x1faac2[0x38]),_0xe0ec0f=_0x52027c(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x5be33b,0xa,_0x1faac2[0x39]),_0x46f091=_0x52027c(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x476b9b,0xf,_0x1faac2[0x3a]),_0x8d8c7e=_0x52027c(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x459ce3,0x15,_0x1faac2[0x3b]),_0x2f3884=_0x52027c(_0x2f3884,_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x384c2e,0x6,_0x1faac2[0x3c]),_0xe0ec0f=_0x52027c(_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x46f091,_0x3b41e7,0xa,_0x1faac2[0x3d]),_0x46f091=_0x52027c(_0x46f091,_0xe0ec0f,_0x2f3884,_0x8d8c7e,_0x128fba,0xf,_0x1faac2[0x3e]),_0x8d8c7e=_0x52027c(_0x8d8c7e,_0x46f091,_0xe0ec0f,_0x2f3884,_0x36c2fb,0x15,_0x1faac2[0x3f]),_0x1d5f5e[0x0]=_0x1d5f5e[0x0]+_0x2f3884|0x0,_0x1d5f5e[0x1]=_0x1d5f5e[0x1]+_0x8d8c7e|0x0,_0x1d5f5e[0x2]=_0x1d5f5e[0x2]+_0x46f091|0x0,_0x1d5f5e[0x3]=_0x1d5f5e[0x3]+_0xe0ec0f|0x0;},'_doFinalize':function(){var _0xd7ab99=_0x4423b0,_0x430e84=this[_0xd7ab99(0x1ba)],_0x2b9888=_0x430e84[_0xd7ab99(0x2f2)],_0x14aaad=this[_0xd7ab99(0x2e0)]*0x8,_0x2ce6d2=_0x430e84[_0xd7ab99(0x4e9)]*0x8;_0x2b9888[_0x2ce6d2>>>0x5]|=0x80<<0x18-_0x2ce6d2%0x20;var _0x469cae=_0x559364['floor'](_0x14aaad/0x100000000),_0x1ade14=_0x14aaad;_0x2b9888[(_0x2ce6d2+0x40>>>0x9<<0x4)+0xf]=(_0x469cae<<0x8|_0x469cae>>>0x18)&0xff00ff|(_0x469cae<<0x18|_0x469cae>>>0x8)&0xff00ff00,_0x2b9888[(_0x2ce6d2+0x40>>>0x9<<0x4)+0xe]=(_0x1ade14<<0x8|_0x1ade14>>>0x18)&0xff00ff|(_0x1ade14<<0x18|_0x1ade14>>>0x8)&0xff00ff00,_0x430e84[_0xd7ab99(0x4e9)]=(_0x2b9888[_0xd7ab99(0x2db)]+0x1)*0x4,this[_0xd7ab99(0x491)]();for(var _0xd5a7a=this[_0xd7ab99(0x3d1)],_0x50d6f4=_0xd5a7a[_0xd7ab99(0x2f2)],_0x475926=0x0;_0x475926<0x4;_0x475926++){var _0x1b3a95=_0x50d6f4[_0x475926];_0x50d6f4[_0x475926]=(_0x1b3a95<<0x8|_0x1b3a95>>>0x18)&0xff00ff|(_0x1b3a95<<0x18|_0x1b3a95>>>0x8)&0xff00ff00;}return _0xd5a7a;},'clone':function(){var _0x2eb603=_0x4423b0,_0x367583=_0x2cd36a['clone'][_0x2eb603(0x47a)](this);return _0x367583[_0x2eb603(0x3d1)]=this['_hash'][_0x2eb603(0x3f7)](),_0x367583;}});function _0x1f51c2(_0x24a317,_0x1d4cf5,_0x357ba9,_0x497bab,_0x2afb59,_0x51e207,_0x59c69f){var _0x629c5a=_0x24a317+(_0x1d4cf5&_0x357ba9|~_0x1d4cf5&_0x497bab)+_0x2afb59+_0x59c69f;return(_0x629c5a<<_0x51e207|_0x629c5a>>>0x20-_0x51e207)+_0x1d4cf5;}function _0x368602(_0x33989d,_0x1d66fb,_0x3f6a90,_0x4d8721,_0x32c7fd,_0x475036,_0x5f4668){var _0x19aea8=_0x33989d+(_0x1d66fb&_0x4d8721|_0x3f6a90&~_0x4d8721)+_0x32c7fd+_0x5f4668;return(_0x19aea8<<_0x475036|_0x19aea8>>>0x20-_0x475036)+_0x1d66fb;}function _0x3377c1(_0x4ef79c,_0x1df149,_0x4a5ecc,_0xad125c,_0x2430af,_0x3e7b34,_0x33d3fd){var _0x435405=_0x4ef79c+(_0x1df149^_0x4a5ecc^_0xad125c)+_0x2430af+_0x33d3fd;return(_0x435405<<_0x3e7b34|_0x435405>>>0x20-_0x3e7b34)+_0x1df149;}function _0x52027c(_0x1f0dc3,_0x458d72,_0x4572d2,_0x459c7f,_0x4756a4,_0x22b4e3,_0x341532){var _0x565c9f=_0x1f0dc3+(_0x4572d2^(_0x458d72|~_0x459c7f))+_0x4756a4+_0x341532;return(_0x565c9f<<_0x22b4e3|_0x565c9f>>>0x20-_0x22b4e3)+_0x458d72;}_0x659849[_0x4423b0(0x2aa)]=_0x2cd36a['_createHelper'](_0x4c1808),_0x659849[_0x4423b0(0x31e)]=_0x2cd36a[_0x4423b0(0x370)](_0x4c1808);}(Math),_0x1dffea['MD5'];}));}(me)),me[_0x1336a7(0x419)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee['exports'],Xe;function Ri(){var _0x13a116=_0x447e66;return Xe||(Xe=0x1,function(_0x234a4f,_0x5abeb8){(function(_0x5cf6e6,_0x1edcad){_0x234a4f['exports']=_0x1edcad(Q());}(Oi,function(_0x3ebfd8){var _0x1e660a=_0x52b3;return(function(){var _0x43757e=_0x52b3,_0x32b63d=_0x3ebfd8,_0x3ace56=_0x32b63d[_0x43757e(0x4cb)],_0x3a34b6=_0x3ace56[_0x43757e(0x293)],_0x46f7a9=_0x3ace56[_0x43757e(0x3dc)],_0x51bf91=_0x32b63d[_0x43757e(0x404)],_0x54b49a=[],_0x3efb2a=_0x51bf91[_0x43757e(0x1d6)]=_0x46f7a9[_0x43757e(0x460)]({'_doReset':function(){var _0x3ec5f3=_0x43757e;this[_0x3ec5f3(0x3d1)]=new _0x3a34b6[(_0x3ec5f3(0x44e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4cfb7a,_0x4f68e1){var _0x1fbf33=_0x43757e;for(var _0x309a9e=this[_0x1fbf33(0x3d1)]['words'],_0x5e583f=_0x309a9e[0x0],_0x4b51ec=_0x309a9e[0x1],_0x58cb19=_0x309a9e[0x2],_0xdaf5fa=_0x309a9e[0x3],_0x43274f=_0x309a9e[0x4],_0x5e1c81=0x0;_0x5e1c81<0x50;_0x5e1c81++){if(_0x5e1c81<0x10)_0x54b49a[_0x5e1c81]=_0x4cfb7a[_0x4f68e1+_0x5e1c81]|0x0;else{var _0x47583a=_0x54b49a[_0x5e1c81-0x3]^_0x54b49a[_0x5e1c81-0x8]^_0x54b49a[_0x5e1c81-0xe]^_0x54b49a[_0x5e1c81-0x10];_0x54b49a[_0x5e1c81]=_0x47583a<<0x1|_0x47583a>>>0x1f;}var _0x50e951=(_0x5e583f<<0x5|_0x5e583f>>>0x1b)+_0x43274f+_0x54b49a[_0x5e1c81];_0x5e1c81<0x14?_0x50e951+=(_0x4b51ec&_0x58cb19|~_0x4b51ec&_0xdaf5fa)+0x5a827999:_0x5e1c81<0x28?_0x50e951+=(_0x4b51ec^_0x58cb19^_0xdaf5fa)+0x6ed9eba1:_0x5e1c81<0x3c?_0x50e951+=(_0x4b51ec&_0x58cb19|_0x4b51ec&_0xdaf5fa|_0x58cb19&_0xdaf5fa)-0x70e44324:_0x50e951+=(_0x4b51ec^_0x58cb19^_0xdaf5fa)-0x359d3e2a,_0x43274f=_0xdaf5fa,_0xdaf5fa=_0x58cb19,_0x58cb19=_0x4b51ec<<0x1e|_0x4b51ec>>>0x2,_0x4b51ec=_0x5e583f,_0x5e583f=_0x50e951;}_0x309a9e[0x0]=_0x309a9e[0x0]+_0x5e583f|0x0,_0x309a9e[0x1]=_0x309a9e[0x1]+_0x4b51ec|0x0,_0x309a9e[0x2]=_0x309a9e[0x2]+_0x58cb19|0x0,_0x309a9e[0x3]=_0x309a9e[0x3]+_0xdaf5fa|0x0,_0x309a9e[0x4]=_0x309a9e[0x4]+_0x43274f|0x0;},'_doFinalize':function(){var _0x2b4b49=_0x43757e,_0xae178c=this['_data'],_0x496bcb=_0xae178c[_0x2b4b49(0x2f2)],_0x7efa16=this[_0x2b4b49(0x2e0)]*0x8,_0x200e26=_0xae178c[_0x2b4b49(0x4e9)]*0x8;return _0x496bcb[_0x200e26>>>0x5]|=0x80<<0x18-_0x200e26%0x20,_0x496bcb[(_0x200e26+0x40>>>0x9<<0x4)+0xe]=Math[_0x2b4b49(0x4fa)](_0x7efa16/0x100000000),_0x496bcb[(_0x200e26+0x40>>>0x9<<0x4)+0xf]=_0x7efa16,_0xae178c[_0x2b4b49(0x4e9)]=_0x496bcb[_0x2b4b49(0x2db)]*0x4,this[_0x2b4b49(0x491)](),this[_0x2b4b49(0x3d1)];},'clone':function(){var _0x2a40b3=_0x43757e,_0x2fbc28=_0x46f7a9[_0x2a40b3(0x3f7)]['call'](this);return _0x2fbc28['_hash']=this['_hash'][_0x2a40b3(0x3f7)](),_0x2fbc28;}});_0x32b63d[_0x43757e(0x1d6)]=_0x46f7a9[_0x43757e(0x4c9)](_0x3efb2a),_0x32b63d['HmacSHA1']=_0x46f7a9[_0x43757e(0x370)](_0x3efb2a);}()),_0x3ebfd8[_0x1e660a(0x1d6)];}));}(Ee)),Ee[_0x13a116(0x419)];}var Ce={'exports':{}},yi=Ce[_0x447e66(0x419)],Ze;function Ni(){var _0x3ff9b9=_0x447e66;return Ze||(Ze=0x1,function(_0x11597f,_0x1dbbea){(function(_0x32f6e4,_0x117126){_0x11597f['exports']=_0x117126(Q());}(yi,function(_0x51f15b){(function(){var _0x2d8319=_0x52b3,_0x403827=_0x51f15b,_0x4974ae=_0x403827[_0x2d8319(0x4cb)],_0x13f72=_0x4974ae[_0x2d8319(0x3ce)],_0x4f0787=_0x403827['enc'],_0x8e13c6=_0x4f0787[_0x2d8319(0x231)],_0x4e5f3d=_0x403827['algo'];_0x4e5f3d['HMAC']=_0x13f72['extend']({'init':function(_0x237bde,_0x653565){var _0x125684=_0x2d8319;_0x237bde=this[_0x125684(0x3de)]=new _0x237bde[(_0x125684(0x44e))](),typeof _0x653565==_0x125684(0x296)&&(_0x653565=_0x8e13c6[_0x125684(0x347)](_0x653565));var _0x441c9b=_0x237bde['blockSize'],_0x5bc941=_0x441c9b*0x4;_0x653565[_0x125684(0x4e9)]>_0x5bc941&&(_0x653565=_0x237bde[_0x125684(0x216)](_0x653565)),_0x653565['clamp']();for(var _0x12d925=this[_0x125684(0x31f)]=_0x653565['clone'](),_0xac58d6=this['_iKey']=_0x653565[_0x125684(0x3f7)](),_0x1abdf3=_0x12d925['words'],_0x2447eb=_0xac58d6[_0x125684(0x2f2)],_0x39511a=0x0;_0x39511a<_0x441c9b;_0x39511a++)_0x1abdf3[_0x39511a]^=0x5c5c5c5c,_0x2447eb[_0x39511a]^=0x36363636;_0x12d925['sigBytes']=_0xac58d6[_0x125684(0x4e9)]=_0x5bc941,this[_0x125684(0x396)]();},'reset':function(){var _0x220eba=_0x2d8319,_0x4076df=this[_0x220eba(0x3de)];_0x4076df[_0x220eba(0x396)](),_0x4076df[_0x220eba(0x35c)](this['_iKey']);},'update':function(_0x2b7fa4){var _0x1e18bc=_0x2d8319;return this[_0x1e18bc(0x3de)]['update'](_0x2b7fa4),this;},'finalize':function(_0x27453e){var _0x57d49f=_0x2d8319,_0x585b6d=this[_0x57d49f(0x3de)],_0x17911=_0x585b6d[_0x57d49f(0x216)](_0x27453e);_0x585b6d[_0x57d49f(0x396)]();var _0x3ad931=_0x585b6d[_0x57d49f(0x216)](this['_oKey'][_0x57d49f(0x3f7)]()[_0x57d49f(0x28d)](_0x17911));return _0x3ad931;}});}());}));}(Ce)),Ce[_0x3ff9b9(0x419)];}var Di=ge[_0x447e66(0x419)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x5515c1,_0x24cf15){(function(_0xb93285,_0x456ea1,_0x4c9a39){var _0x3c0a7c=_0x52b3;_0x5515c1[_0x3c0a7c(0x419)]=_0x456ea1(Q(),Ri(),Ni());}(Di,function(_0x430ede){return(function(){var _0x18db87=_0x52b3,_0x126399=_0x430ede,_0x286c7f=_0x126399[_0x18db87(0x4cb)],_0x28a9fe=_0x286c7f[_0x18db87(0x3ce)],_0x50b9cb=_0x286c7f[_0x18db87(0x293)],_0x36a005=_0x126399[_0x18db87(0x404)],_0x15b05e=_0x36a005['MD5'],_0x4e60d4=_0x36a005[_0x18db87(0x3bd)]=_0x28a9fe[_0x18db87(0x460)]({'cfg':_0x28a9fe[_0x18db87(0x460)]({'keySize':0x80/0x20,'hasher':_0x15b05e,'iterations':0x1}),'init':function(_0x259620){var _0x2d0b83=_0x18db87;this[_0x2d0b83(0x213)]=this[_0x2d0b83(0x213)]['extend'](_0x259620);},'compute':function(_0x5cd5ed,_0x711aca){var _0x575013=_0x18db87;for(var _0x53b243,_0x125d30=this[_0x575013(0x213)],_0x29f602=_0x125d30['hasher'][_0x575013(0x464)](),_0x3a0781=_0x50b9cb[_0x575013(0x464)](),_0x103fad=_0x3a0781[_0x575013(0x2f2)],_0x3b1d03=_0x125d30[_0x575013(0x4e2)],_0x319ea5=_0x125d30[_0x575013(0x394)];_0x103fad['length']<_0x3b1d03;){_0x53b243&&_0x29f602[_0x575013(0x35c)](_0x53b243),_0x53b243=_0x29f602[_0x575013(0x35c)](_0x5cd5ed)['finalize'](_0x711aca),_0x29f602['reset']();for(var _0x2d96c7=0x1;_0x2d96c7<_0x319ea5;_0x2d96c7++)_0x53b243=_0x29f602[_0x575013(0x216)](_0x53b243),_0x29f602[_0x575013(0x396)]();_0x3a0781['concat'](_0x53b243);}return _0x3a0781['sigBytes']=_0x3b1d03*0x4,_0x3a0781;}});_0x126399[_0x18db87(0x3bd)]=function(_0x5c2028,_0x334c59,_0x5b5aa5){var _0x160225=_0x18db87;return _0x4e60d4[_0x160225(0x464)](_0x5b5aa5)[_0x160225(0x3f1)](_0x5c2028,_0x334c59);};}()),_0x430ede['EvpKDF'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ui=Te[_0x447e66(0x419)],et;function Tt(){return et||(et=0x1,function(_0xc014dc,_0xf3e561){(function(_0x2d3455,_0x2dfeb1,_0x2421f1){var _0x5e6333=_0x52b3;_0xc014dc[_0x5e6333(0x419)]=_0x2dfeb1(Q(),Ct());}(Ui,function(_0x13383f){var _0x3b686b=_0x52b3;_0x13383f[_0x3b686b(0x4cb)][_0x3b686b(0x1fd)]||function(_0x230437){var _0x3ed8cb=_0x3b686b,_0x317bb9=_0x13383f,_0xa88368=_0x317bb9[_0x3ed8cb(0x4cb)],_0x2a3ff1=_0xa88368[_0x3ed8cb(0x3ce)],_0xed1d14=_0xa88368[_0x3ed8cb(0x293)],_0x442704=_0xa88368[_0x3ed8cb(0x280)],_0x31a086=_0x317bb9[_0x3ed8cb(0x321)];_0x31a086[_0x3ed8cb(0x231)];var _0x11a462=_0x31a086[_0x3ed8cb(0x399)],_0x3e3252=_0x317bb9[_0x3ed8cb(0x404)],_0x6f3943=_0x3e3252[_0x3ed8cb(0x3bd)],_0x3d8b4c=_0xa88368[_0x3ed8cb(0x1fd)]=_0x442704['extend']({'cfg':_0x2a3ff1[_0x3ed8cb(0x460)](),'createEncryptor':function(_0x339aab,_0x2e1415){var _0x360f75=_0x3ed8cb;return this[_0x360f75(0x464)](this[_0x360f75(0x219)],_0x339aab,_0x2e1415);},'createDecryptor':function(_0x562797,_0x5b2256){var _0x340422=_0x3ed8cb;return this[_0x340422(0x464)](this[_0x340422(0x389)],_0x562797,_0x5b2256);},'init':function(_0x49842c,_0x35822b,_0x30ce63){var _0x5b2cfb=_0x3ed8cb;this[_0x5b2cfb(0x213)]=this['cfg'][_0x5b2cfb(0x460)](_0x30ce63),this[_0x5b2cfb(0x358)]=_0x49842c,this['_key']=_0x35822b,this[_0x5b2cfb(0x396)]();},'reset':function(){var _0x59f4bb=_0x3ed8cb;_0x442704[_0x59f4bb(0x396)]['call'](this),this[_0x59f4bb(0x2f9)]();},'process':function(_0x24e01d){var _0x44b1fd=_0x3ed8cb;return this[_0x44b1fd(0x3c7)](_0x24e01d),this[_0x44b1fd(0x491)]();},'finalize':function(_0x2e5ff9){var _0x36d4cd=_0x3ed8cb;_0x2e5ff9&&this['_append'](_0x2e5ff9);var _0x1531fc=this[_0x36d4cd(0x445)]();return _0x1531fc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x29b175(_0x31e2d0){var _0x2d2450=_0x52b3;return typeof _0x31e2d0==_0x2d2450(0x296)?_0x5bb92c:_0x6f88a0;}return function(_0x35dea6){return{'encrypt':function(_0x4c95b3,_0x4c61cd,_0xc868eb){var _0x25e698=_0x52b3;return _0x29b175(_0x4c61cd)[_0x25e698(0x305)](_0x35dea6,_0x4c95b3,_0x4c61cd,_0xc868eb);},'decrypt':function(_0x16f1c2,_0x60dc47,_0x424fee){var _0x27c1bd=_0x52b3;return _0x29b175(_0x60dc47)[_0x27c1bd(0x3a5)](_0x35dea6,_0x16f1c2,_0x60dc47,_0x424fee);}};};}())});_0xa88368['StreamCipher']=_0x3d8b4c[_0x3ed8cb(0x460)]({'_doFinalize':function(){var _0x60d367=_0x3ed8cb,_0x5b516a=this[_0x60d367(0x491)](!0x0);return _0x5b516a;},'blockSize':0x1});var _0x8532ab=_0x317bb9[_0x3ed8cb(0x4b4)]={},_0x509e55=_0xa88368[_0x3ed8cb(0x327)]=_0x2a3ff1['extend']({'createEncryptor':function(_0x49924c,_0x140ce3){var _0xf5b66f=_0x3ed8cb;return this['Encryptor'][_0xf5b66f(0x464)](_0x49924c,_0x140ce3);},'createDecryptor':function(_0x2cf923,_0x1f2385){var _0x3e07cb=_0x3ed8cb;return this[_0x3e07cb(0x1ad)][_0x3e07cb(0x464)](_0x2cf923,_0x1f2385);},'init':function(_0x2aea07,_0xc9ac96){var _0x159c91=_0x3ed8cb;this[_0x159c91(0x4e7)]=_0x2aea07,this[_0x159c91(0x4b8)]=_0xc9ac96;}}),_0x249718=_0x8532ab[_0x3ed8cb(0x3bf)]=(function(){var _0x352f13=_0x3ed8cb,_0x3af6f8=_0x509e55['extend']();_0x3af6f8['Encryptor']=_0x3af6f8[_0x352f13(0x460)]({'processBlock':function(_0x6a8710,_0x329cba){var _0x3c4d71=_0x352f13,_0x53f853=this['_cipher'],_0x6391e5=_0x53f853[_0x3c4d71(0x439)];_0xd1a9ba['call'](this,_0x6a8710,_0x329cba,_0x6391e5),_0x53f853[_0x3c4d71(0x239)](_0x6a8710,_0x329cba),this[_0x3c4d71(0x4a2)]=_0x6a8710['slice'](_0x329cba,_0x329cba+_0x6391e5);}}),_0x3af6f8['Decryptor']=_0x3af6f8[_0x352f13(0x460)]({'processBlock':function(_0x5041d5,_0x39c970){var _0x5df572=_0x352f13,_0x46efbb=this[_0x5df572(0x4e7)],_0x4a1c82=_0x46efbb['blockSize'],_0x1dd1eb=_0x5041d5[_0x5df572(0x418)](_0x39c970,_0x39c970+_0x4a1c82);_0x46efbb[_0x5df572(0x4ee)](_0x5041d5,_0x39c970),_0xd1a9ba['call'](this,_0x5041d5,_0x39c970,_0x4a1c82),this[_0x5df572(0x4a2)]=_0x1dd1eb;}});function _0xd1a9ba(_0x4348ba,_0x50694d,_0x5b7133){var _0x49228e=_0x352f13,_0x29a4d2,_0x453146=this[_0x49228e(0x4b8)];_0x453146?(_0x29a4d2=_0x453146,this['_iv']=_0x230437):_0x29a4d2=this[_0x49228e(0x4a2)];for(var _0x1983ad=0x0;_0x1983ad<_0x5b7133;_0x1983ad++)_0x4348ba[_0x50694d+_0x1983ad]^=_0x29a4d2[_0x1983ad];}return _0x3af6f8;}()),_0x194de4=_0x317bb9[_0x3ed8cb(0x18f)]={},_0x1e4f68=_0x194de4[_0x3ed8cb(0x2a8)]={'pad':function(_0x22867e,_0xf245f8){var _0x48b65c=_0x3ed8cb;for(var _0x5c3b35=_0xf245f8*0x4,_0xfd16b3=_0x5c3b35-_0x22867e['sigBytes']%_0x5c3b35,_0x159573=_0xfd16b3<<0x18|_0xfd16b3<<0x10|_0xfd16b3<<0x8|_0xfd16b3,_0x1a55bf=[],_0x1b1bf7=0x0;_0x1b1bf7<_0xfd16b3;_0x1b1bf7+=0x4)_0x1a55bf['push'](_0x159573);var _0x42d25d=_0xed1d14[_0x48b65c(0x464)](_0x1a55bf,_0xfd16b3);_0x22867e[_0x48b65c(0x28d)](_0x42d25d);},'unpad':function(_0x1d84d9){var _0x18a9a8=_0x3ed8cb,_0xe9b9ac=_0x1d84d9[_0x18a9a8(0x2f2)][_0x1d84d9[_0x18a9a8(0x4e9)]-0x1>>>0x2]&0xff;_0x1d84d9[_0x18a9a8(0x4e9)]-=_0xe9b9ac;}};_0xa88368[_0x3ed8cb(0x36a)]=_0x3d8b4c[_0x3ed8cb(0x460)]({'cfg':_0x3d8b4c[_0x3ed8cb(0x213)]['extend']({'mode':_0x249718,'padding':_0x1e4f68}),'reset':function(){var _0x5c62b4=_0x3ed8cb,_0x3504ad;_0x3d8b4c['reset'][_0x5c62b4(0x47a)](this);var _0x84cf54=this['cfg'],_0x88d905=_0x84cf54['iv'],_0x49f888=_0x84cf54[_0x5c62b4(0x4b4)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x3504ad=_0x49f888[_0x5c62b4(0x30b)]:(_0x3504ad=_0x49f888[_0x5c62b4(0x229)],this[_0x5c62b4(0x22a)]=0x1),this[_0x5c62b4(0x4d6)]&&this[_0x5c62b4(0x4d6)][_0x5c62b4(0x4f6)]==_0x3504ad?this[_0x5c62b4(0x4d6)][_0x5c62b4(0x44e)](this,_0x88d905&&_0x88d905[_0x5c62b4(0x2f2)]):(this[_0x5c62b4(0x4d6)]=_0x3504ad[_0x5c62b4(0x47a)](_0x49f888,this,_0x88d905&&_0x88d905[_0x5c62b4(0x2f2)]),this[_0x5c62b4(0x4d6)][_0x5c62b4(0x4f6)]=_0x3504ad);},'_doProcessBlock':function(_0x4c12d5,_0x258525){var _0x2724cb=_0x3ed8cb;this['_mode'][_0x2724cb(0x33a)](_0x4c12d5,_0x258525);},'_doFinalize':function(){var _0x2295dc=_0x3ed8cb,_0x269212,_0x2ddca0=this[_0x2295dc(0x213)][_0x2295dc(0x245)];return this[_0x2295dc(0x358)]==this[_0x2295dc(0x219)]?(_0x2ddca0[_0x2295dc(0x18f)](this[_0x2295dc(0x1ba)],this['blockSize']),_0x269212=this[_0x2295dc(0x491)](!0x0)):(_0x269212=this[_0x2295dc(0x491)](!0x0),_0x2ddca0['unpad'](_0x269212)),_0x269212;},'blockSize':0x80/0x20});var _0x14c375=_0xa88368['CipherParams']=_0x2a3ff1['extend']({'init':function(_0x50ea83){this['mixIn'](_0x50ea83);},'toString':function(_0x386219){var _0x5701ea=_0x3ed8cb;return(_0x386219||this['formatter'])[_0x5701ea(0x319)](this);}}),_0x4c2b76=_0x317bb9['format']={},_0x511608=_0x4c2b76['OpenSSL']={'stringify':function(_0x310f8a){var _0x138f54=_0x3ed8cb,_0x479f64,_0x3eeef6=_0x310f8a[_0x138f54(0x413)],_0x19f466=_0x310f8a[_0x138f54(0x3a0)];return _0x19f466?_0x479f64=_0xed1d14[_0x138f54(0x464)]([0x53616c74,0x65645f5f])[_0x138f54(0x28d)](_0x19f466)[_0x138f54(0x28d)](_0x3eeef6):_0x479f64=_0x3eeef6,_0x479f64[_0x138f54(0x17d)](_0x11a462);},'parse':function(_0x5c4bcc){var _0x49ada8=_0x3ed8cb,_0xc4b11d,_0xa27cb3=_0x11a462[_0x49ada8(0x347)](_0x5c4bcc),_0x3e0e1c=_0xa27cb3['words'];return _0x3e0e1c[0x0]==0x53616c74&&_0x3e0e1c[0x1]==0x65645f5f&&(_0xc4b11d=_0xed1d14[_0x49ada8(0x464)](_0x3e0e1c[_0x49ada8(0x418)](0x2,0x4)),_0x3e0e1c['splice'](0x0,0x4),_0xa27cb3[_0x49ada8(0x4e9)]-=0x10),_0x14c375['create']({'ciphertext':_0xa27cb3,'salt':_0xc4b11d});}},_0x6f88a0=_0xa88368['SerializableCipher']=_0x2a3ff1[_0x3ed8cb(0x460)]({'cfg':_0x2a3ff1[_0x3ed8cb(0x460)]({'format':_0x511608}),'encrypt':function(_0x51e07e,_0x2068fc,_0x36dd20,_0x35f778){var _0x172f69=_0x3ed8cb;_0x35f778=this[_0x172f69(0x213)]['extend'](_0x35f778);var _0x43bcf2=_0x51e07e['createEncryptor'](_0x36dd20,_0x35f778),_0x59afd2=_0x43bcf2['finalize'](_0x2068fc),_0x357ac0=_0x43bcf2[_0x172f69(0x213)];return _0x14c375['create']({'ciphertext':_0x59afd2,'key':_0x36dd20,'iv':_0x357ac0['iv'],'algorithm':_0x51e07e,'mode':_0x357ac0[_0x172f69(0x4b4)],'padding':_0x357ac0['padding'],'blockSize':_0x51e07e[_0x172f69(0x439)],'formatter':_0x35f778[_0x172f69(0x4fc)]});},'decrypt':function(_0x5b5a41,_0x118d77,_0x52179f,_0x425567){var _0x45f1a4=_0x3ed8cb;_0x425567=this[_0x45f1a4(0x213)][_0x45f1a4(0x460)](_0x425567),_0x118d77=this['_parse'](_0x118d77,_0x425567[_0x45f1a4(0x4fc)]);var _0x4bde2d=_0x5b5a41[_0x45f1a4(0x229)](_0x52179f,_0x425567)['finalize'](_0x118d77[_0x45f1a4(0x413)]);return _0x4bde2d;},'_parse':function(_0x459e38,_0x56681a){var _0x20814e=_0x3ed8cb;return typeof _0x459e38==_0x20814e(0x296)?_0x56681a[_0x20814e(0x347)](_0x459e38,this):_0x459e38;}}),_0x4f18d3=_0x317bb9[_0x3ed8cb(0x31c)]={},_0x33024b=_0x4f18d3[_0x3ed8cb(0x2dd)]={'execute':function(_0x11b736,_0x2ddfee,_0x4f8a4d,_0x4c7797,_0x14b590){var _0x42bc2e=_0x3ed8cb;if(_0x4c7797||(_0x4c7797=_0xed1d14[_0x42bc2e(0x2d7)](0x40/0x8)),_0x14b590)var _0x557679=_0x6f3943['create']({'keySize':_0x2ddfee+_0x4f8a4d,'hasher':_0x14b590})['compute'](_0x11b736,_0x4c7797);else var _0x557679=_0x6f3943['create']({'keySize':_0x2ddfee+_0x4f8a4d})['compute'](_0x11b736,_0x4c7797);var _0x56b669=_0xed1d14[_0x42bc2e(0x464)](_0x557679[_0x42bc2e(0x2f2)]['slice'](_0x2ddfee),_0x4f8a4d*0x4);return _0x557679[_0x42bc2e(0x4e9)]=_0x2ddfee*0x4,_0x14c375['create']({'key':_0x557679,'iv':_0x56b669,'salt':_0x4c7797});}},_0x5bb92c=_0xa88368[_0x3ed8cb(0x3ff)]=_0x6f88a0[_0x3ed8cb(0x460)]({'cfg':_0x6f88a0[_0x3ed8cb(0x213)][_0x3ed8cb(0x460)]({'kdf':_0x33024b}),'encrypt':function(_0xf9603e,_0x568454,_0x40b6f8,_0x1c30b3){var _0x537a51=_0x3ed8cb;_0x1c30b3=this['cfg'][_0x537a51(0x460)](_0x1c30b3);var _0x24ae20=_0x1c30b3[_0x537a51(0x31c)][_0x537a51(0x1fe)](_0x40b6f8,_0xf9603e[_0x537a51(0x4e2)],_0xf9603e[_0x537a51(0x25d)],_0x1c30b3[_0x537a51(0x3a0)],_0x1c30b3[_0x537a51(0x2a7)]);_0x1c30b3['iv']=_0x24ae20['iv'];var _0x271f94=_0x6f88a0['encrypt']['call'](this,_0xf9603e,_0x568454,_0x24ae20[_0x537a51(0x1a5)],_0x1c30b3);return _0x271f94['mixIn'](_0x24ae20),_0x271f94;},'decrypt':function(_0x490f7c,_0x5d335d,_0x835f13,_0x37cb14){var _0x1b4a5d=_0x3ed8cb;_0x37cb14=this[_0x1b4a5d(0x213)][_0x1b4a5d(0x460)](_0x37cb14),_0x5d335d=this[_0x1b4a5d(0x46d)](_0x5d335d,_0x37cb14[_0x1b4a5d(0x4fc)]);var _0x5e7dcd=_0x37cb14[_0x1b4a5d(0x31c)][_0x1b4a5d(0x1fe)](_0x835f13,_0x490f7c[_0x1b4a5d(0x4e2)],_0x490f7c[_0x1b4a5d(0x25d)],_0x5d335d[_0x1b4a5d(0x3a0)],_0x37cb14[_0x1b4a5d(0x2a7)]);_0x37cb14['iv']=_0x5e7dcd['iv'];var _0x1cbbb5=_0x6f88a0[_0x1b4a5d(0x3a5)][_0x1b4a5d(0x47a)](this,_0x490f7c,_0x5d335d,_0x5e7dcd[_0x1b4a5d(0x1a5)],_0x37cb14);return _0x1cbbb5;}});}();}));}(Te)),Te['exports'];}var Ai=fe[_0x447e66(0x419)],tt;function Pi(){return tt||(tt=0x1,function(_0x5d5c98,_0x4b2088){(function(_0x4fe67b,_0x291858,_0x3af49b){var _0x4efe48=_0x52b3;_0x5d5c98[_0x4efe48(0x419)]=_0x291858(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x3191e2){var _0x46ffef=_0x52b3;return(function(){var _0x37cd32=_0x52b3,_0x3f3948=_0x3191e2,_0x38bf0d=_0x3f3948[_0x37cd32(0x4cb)],_0x4038c2=_0x38bf0d[_0x37cd32(0x36a)],_0x4eb951=_0x3f3948[_0x37cd32(0x404)],_0x4e4f56=[],_0x5b2ed7=[],_0x409b36=[],_0x32d076=[],_0x4599a6=[],_0x38934f=[],_0x37b378=[],_0x5edf27=[],_0x3239f1=[],_0x4ae90d=[];(function(){for(var _0x283d41=[],_0x5f1aa2=0x0;_0x5f1aa2<0x100;_0x5f1aa2++)_0x5f1aa2<0x80?_0x283d41[_0x5f1aa2]=_0x5f1aa2<<0x1:_0x283d41[_0x5f1aa2]=_0x5f1aa2<<0x1^0x11b;for(var _0x525662=0x0,_0x4af97d=0x0,_0x5f1aa2=0x0;_0x5f1aa2<0x100;_0x5f1aa2++){var _0x8306b=_0x4af97d^_0x4af97d<<0x1^_0x4af97d<<0x2^_0x4af97d<<0x3^_0x4af97d<<0x4;_0x8306b=_0x8306b>>>0x8^_0x8306b&0xff^0x63,_0x4e4f56[_0x525662]=_0x8306b,_0x5b2ed7[_0x8306b]=_0x525662;var _0x24eb73=_0x283d41[_0x525662],_0x94df34=_0x283d41[_0x24eb73],_0x359b0c=_0x283d41[_0x94df34],_0x1466f0=_0x283d41[_0x8306b]*0x101^_0x8306b*0x1010100;_0x409b36[_0x525662]=_0x1466f0<<0x18|_0x1466f0>>>0x8,_0x32d076[_0x525662]=_0x1466f0<<0x10|_0x1466f0>>>0x10,_0x4599a6[_0x525662]=_0x1466f0<<0x8|_0x1466f0>>>0x18,_0x38934f[_0x525662]=_0x1466f0;var _0x1466f0=_0x359b0c*0x1010101^_0x94df34*0x10001^_0x24eb73*0x101^_0x525662*0x1010100;_0x37b378[_0x8306b]=_0x1466f0<<0x18|_0x1466f0>>>0x8,_0x5edf27[_0x8306b]=_0x1466f0<<0x10|_0x1466f0>>>0x10,_0x3239f1[_0x8306b]=_0x1466f0<<0x8|_0x1466f0>>>0x18,_0x4ae90d[_0x8306b]=_0x1466f0,_0x525662?(_0x525662=_0x24eb73^_0x283d41[_0x283d41[_0x283d41[_0x359b0c^_0x24eb73]]],_0x4af97d^=_0x283d41[_0x283d41[_0x4af97d]]):_0x525662=_0x4af97d=0x1;}}());var _0x2c11a7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1172fa=_0x4eb951[_0x37cd32(0x17e)]=_0x4038c2[_0x37cd32(0x460)]({'_doReset':function(){var _0x4ebfdc=_0x37cd32,_0x7a7adf;if(!(this['_nRounds']&&this[_0x4ebfdc(0x4b9)]===this[_0x4ebfdc(0x37d)])){for(var _0x1f6aac=this[_0x4ebfdc(0x4b9)]=this[_0x4ebfdc(0x37d)],_0x22d5d7=_0x1f6aac[_0x4ebfdc(0x2f2)],_0x319312=_0x1f6aac[_0x4ebfdc(0x4e9)]/0x4,_0x3692ac=this[_0x4ebfdc(0x27a)]=_0x319312+0x6,_0x416287=(_0x3692ac+0x1)*0x4,_0x89c616=this[_0x4ebfdc(0x335)]=[],_0x2cabbd=0x0;_0x2cabbd<_0x416287;_0x2cabbd++)_0x2cabbd<_0x319312?_0x89c616[_0x2cabbd]=_0x22d5d7[_0x2cabbd]:(_0x7a7adf=_0x89c616[_0x2cabbd-0x1],_0x2cabbd%_0x319312?_0x319312>0x6&&_0x2cabbd%_0x319312==0x4&&(_0x7a7adf=_0x4e4f56[_0x7a7adf>>>0x18]<<0x18|_0x4e4f56[_0x7a7adf>>>0x10&0xff]<<0x10|_0x4e4f56[_0x7a7adf>>>0x8&0xff]<<0x8|_0x4e4f56[_0x7a7adf&0xff]):(_0x7a7adf=_0x7a7adf<<0x8|_0x7a7adf>>>0x18,_0x7a7adf=_0x4e4f56[_0x7a7adf>>>0x18]<<0x18|_0x4e4f56[_0x7a7adf>>>0x10&0xff]<<0x10|_0x4e4f56[_0x7a7adf>>>0x8&0xff]<<0x8|_0x4e4f56[_0x7a7adf&0xff],_0x7a7adf^=_0x2c11a7[_0x2cabbd/_0x319312|0x0]<<0x18),_0x89c616[_0x2cabbd]=_0x89c616[_0x2cabbd-_0x319312]^_0x7a7adf);for(var _0x20bb0f=this[_0x4ebfdc(0x4d9)]=[],_0x2cc351=0x0;_0x2cc351<_0x416287;_0x2cc351++){var _0x2cabbd=_0x416287-_0x2cc351;if(_0x2cc351%0x4)var _0x7a7adf=_0x89c616[_0x2cabbd];else var _0x7a7adf=_0x89c616[_0x2cabbd-0x4];_0x2cc351<0x4||_0x2cabbd<=0x4?_0x20bb0f[_0x2cc351]=_0x7a7adf:_0x20bb0f[_0x2cc351]=_0x37b378[_0x4e4f56[_0x7a7adf>>>0x18]]^_0x5edf27[_0x4e4f56[_0x7a7adf>>>0x10&0xff]]^_0x3239f1[_0x4e4f56[_0x7a7adf>>>0x8&0xff]]^_0x4ae90d[_0x4e4f56[_0x7a7adf&0xff]];}}},'encryptBlock':function(_0x27725a,_0x4e81a9){var _0x23b743=_0x37cd32;this[_0x23b743(0x1b4)](_0x27725a,_0x4e81a9,this[_0x23b743(0x335)],_0x409b36,_0x32d076,_0x4599a6,_0x38934f,_0x4e4f56);},'decryptBlock':function(_0x10fdf7,_0x56c987){var _0x2b883c=_0x37cd32,_0x3809a8=_0x10fdf7[_0x56c987+0x1];_0x10fdf7[_0x56c987+0x1]=_0x10fdf7[_0x56c987+0x3],_0x10fdf7[_0x56c987+0x3]=_0x3809a8,this[_0x2b883c(0x1b4)](_0x10fdf7,_0x56c987,this[_0x2b883c(0x4d9)],_0x37b378,_0x5edf27,_0x3239f1,_0x4ae90d,_0x5b2ed7);var _0x3809a8=_0x10fdf7[_0x56c987+0x1];_0x10fdf7[_0x56c987+0x1]=_0x10fdf7[_0x56c987+0x3],_0x10fdf7[_0x56c987+0x3]=_0x3809a8;},'_doCryptBlock':function(_0x3abfa5,_0x1be6ac,_0x368df4,_0x3c68b8,_0x403026,_0xc769c0,_0x193b2a,_0x57ef48){for(var _0x4f7d68=this['_nRounds'],_0x5ba52e=_0x3abfa5[_0x1be6ac]^_0x368df4[0x0],_0x305266=_0x3abfa5[_0x1be6ac+0x1]^_0x368df4[0x1],_0x14dc49=_0x3abfa5[_0x1be6ac+0x2]^_0x368df4[0x2],_0x360ebb=_0x3abfa5[_0x1be6ac+0x3]^_0x368df4[0x3],_0x5238cd=0x4,_0x15304f=0x1;_0x15304f<_0x4f7d68;_0x15304f++){var _0x5c3ac4=_0x3c68b8[_0x5ba52e>>>0x18]^_0x403026[_0x305266>>>0x10&0xff]^_0xc769c0[_0x14dc49>>>0x8&0xff]^_0x193b2a[_0x360ebb&0xff]^_0x368df4[_0x5238cd++],_0x17c8f0=_0x3c68b8[_0x305266>>>0x18]^_0x403026[_0x14dc49>>>0x10&0xff]^_0xc769c0[_0x360ebb>>>0x8&0xff]^_0x193b2a[_0x5ba52e&0xff]^_0x368df4[_0x5238cd++],_0x45ed61=_0x3c68b8[_0x14dc49>>>0x18]^_0x403026[_0x360ebb>>>0x10&0xff]^_0xc769c0[_0x5ba52e>>>0x8&0xff]^_0x193b2a[_0x305266&0xff]^_0x368df4[_0x5238cd++],_0x38a22e=_0x3c68b8[_0x360ebb>>>0x18]^_0x403026[_0x5ba52e>>>0x10&0xff]^_0xc769c0[_0x305266>>>0x8&0xff]^_0x193b2a[_0x14dc49&0xff]^_0x368df4[_0x5238cd++];_0x5ba52e=_0x5c3ac4,_0x305266=_0x17c8f0,_0x14dc49=_0x45ed61,_0x360ebb=_0x38a22e;}var _0x5c3ac4=(_0x57ef48[_0x5ba52e>>>0x18]<<0x18|_0x57ef48[_0x305266>>>0x10&0xff]<<0x10|_0x57ef48[_0x14dc49>>>0x8&0xff]<<0x8|_0x57ef48[_0x360ebb&0xff])^_0x368df4[_0x5238cd++],_0x17c8f0=(_0x57ef48[_0x305266>>>0x18]<<0x18|_0x57ef48[_0x14dc49>>>0x10&0xff]<<0x10|_0x57ef48[_0x360ebb>>>0x8&0xff]<<0x8|_0x57ef48[_0x5ba52e&0xff])^_0x368df4[_0x5238cd++],_0x45ed61=(_0x57ef48[_0x14dc49>>>0x18]<<0x18|_0x57ef48[_0x360ebb>>>0x10&0xff]<<0x10|_0x57ef48[_0x5ba52e>>>0x8&0xff]<<0x8|_0x57ef48[_0x305266&0xff])^_0x368df4[_0x5238cd++],_0x38a22e=(_0x57ef48[_0x360ebb>>>0x18]<<0x18|_0x57ef48[_0x5ba52e>>>0x10&0xff]<<0x10|_0x57ef48[_0x305266>>>0x8&0xff]<<0x8|_0x57ef48[_0x14dc49&0xff])^_0x368df4[_0x5238cd++];_0x3abfa5[_0x1be6ac]=_0x5c3ac4,_0x3abfa5[_0x1be6ac+0x1]=_0x17c8f0,_0x3abfa5[_0x1be6ac+0x2]=_0x45ed61,_0x3abfa5[_0x1be6ac+0x3]=_0x38a22e;},'keySize':0x100/0x20});_0x3f3948[_0x37cd32(0x17e)]=_0x4038c2['_createHelper'](_0x1172fa);}()),_0x3191e2[_0x46ffef(0x17e)];}));}(fe)),fe['exports'];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be['exports'],nt;function ki(){return nt||(nt=0x1,function(_0x1554b5,_0x5346d5){(function(_0x5b3715,_0x542b99){var _0xeea03f=_0x52b3;_0x1554b5[_0xeea03f(0x419)]=_0x542b99(Q());}(xi,function(_0x21c751){var _0x15f5c1=_0x52b3;return _0x21c751[_0x15f5c1(0x321)][_0x15f5c1(0x231)];}));}(be)),be['exports'];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x447e66(0x419)],rt;function Bi(){return rt||(rt=0x1,function(_0x3959ac,_0x1fa5f3){(function(_0x475b2b,_0x193c94){var _0x23fcb3=_0x52b3;_0x3959ac[_0x23fcb3(0x419)]=_0x193c94(Q());}(ji,function(_0x1fcc01){var _0x4887f9=_0x52b3;return(function(){var _0x4d2d0e=_0x52b3;if(typeof ArrayBuffer==_0x4d2d0e(0x2e5)){var _0x520851=_0x1fcc01,_0x2e9200=_0x520851[_0x4d2d0e(0x4cb)],_0x2e51a6=_0x2e9200[_0x4d2d0e(0x293)],_0x542d65=_0x2e51a6[_0x4d2d0e(0x44e)],_0x1b689f=_0x2e51a6[_0x4d2d0e(0x44e)]=function(_0x21ccf6){var _0x3874b3=_0x4d2d0e;if(_0x21ccf6 instanceof ArrayBuffer&&(_0x21ccf6=new Uint8Array(_0x21ccf6)),(_0x21ccf6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x21ccf6 instanceof Uint8ClampedArray||_0x21ccf6 instanceof Int16Array||_0x21ccf6 instanceof Uint16Array||_0x21ccf6 instanceof Int32Array||_0x21ccf6 instanceof Uint32Array||_0x21ccf6 instanceof Float32Array||_0x21ccf6 instanceof Float64Array)&&(_0x21ccf6=new Uint8Array(_0x21ccf6[_0x3874b3(0x3c3)],_0x21ccf6[_0x3874b3(0x2e2)],_0x21ccf6[_0x3874b3(0x19b)])),_0x21ccf6 instanceof Uint8Array){for(var _0x51a01f=_0x21ccf6[_0x3874b3(0x19b)],_0x2108b7=[],_0x5e54a7=0x0;_0x5e54a7<_0x51a01f;_0x5e54a7++)_0x2108b7[_0x5e54a7>>>0x2]|=_0x21ccf6[_0x5e54a7]<<0x18-_0x5e54a7%0x4*0x8;_0x542d65[_0x3874b3(0x47a)](this,_0x2108b7,_0x51a01f);}else _0x542d65[_0x3874b3(0x4ef)](this,arguments);};_0x1b689f[_0x4d2d0e(0x4c7)]=_0x2e51a6;}}()),_0x1fcc01[_0x4887f9(0x4cb)]['WordArray'];}));}(Oe)),Oe['exports'];}var Fi=Bi();function _0x52b3(_0x55452a,_0x56bcb6){var _0x84bf47=_0x84bf();return _0x52b3=function(_0x52b308,_0xb0f33a){_0x52b308=_0x52b308-0x17c;var _0x48f00d=_0x84bf47[_0x52b308];return _0x48f00d;},_0x52b3(_0x55452a,_0x56bcb6);}const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x447e66(0x419)],st;function Gi(){var _0x11b478=_0x447e66;return st||(st=0x1,function(_0x2f4a4e,_0x534a5e){(function(_0x431dd7,_0x14b61a,_0x320125){var _0x294bd1=_0x52b3;_0x2f4a4e[_0x294bd1(0x419)]=_0x14b61a(Q(),Tt());}(Wi,function(_0x3f51b4){var _0x386098=_0x52b3;return _0x3f51b4['pad'][_0x386098(0x204)]={'pad':function(){},'unpad':function(){}},_0x3f51b4['pad'][_0x386098(0x204)];}));}(Re)),Re[_0x11b478(0x419)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x279892,_0x227feb){var _0x39cd8a=_0x447e66;const _0x405ffb=_0x227feb-_0x279892['length']%_0x227feb,_0xc8b0da=String[_0x39cd8a(0x291)](_0x405ffb)['repeat'](_0x405ffb);return _0x279892+_0xc8b0da;}function zi(_0x138133,_0x599fbf){var _0x41c04d=_0x447e66;const _0x5938c8=Vi[_0x41c04d(0x2d7)](0x10),_0x52fc02=Ki(_0x138133,0x10),_0x301d29=Mi[_0x41c04d(0x305)](Hi['parse'](_0x52fc02),it[_0x41c04d(0x347)](_0x599fbf),{'iv':_0x5938c8,'padding':qi});return _0x5938c8[_0x41c04d(0x28d)](_0x301d29[_0x41c04d(0x413)])[_0x41c04d(0x17d)](it);}function Ji(){var _0x45e560=_0x447e66;const _0x1e7cb3=yt[_0x45e560(0x22f)]()[_0x45e560(0x1d5)];if(_0x1e7cb3){const _0x5b8f5c={'time':Math[_0x45e560(0x4fa)](Date[_0x45e560(0x4a5)]()/0x3e8),'domain':location[_0x45e560(0x411)]};return zi(JSON[_0x45e560(0x319)](_0x5b8f5c),_0x1e7cb3);}}var Xi=Object['getOwnPropertyDescriptor'],Zi=(_0x377201,_0x4ac3c1,_0xd005e4,_0x450f3b)=>{for(var _0xdecfb2=_0x450f3b>0x1?void 0x0:_0x450f3b?Xi(_0x4ac3c1,_0xd005e4):_0x4ac3c1,_0xa8c3ee=_0x377201['length']-0x1,_0x510586;_0xa8c3ee>=0x0;_0xa8c3ee--)(_0x510586=_0x377201[_0xa8c3ee])&&(_0xdecfb2=_0x510586(_0xdecfb2)||_0xdecfb2);return _0xdecfb2;},Qi=(_0x34f0da,_0x177125)=>(_0x53af59,_0x3319c1)=>_0x177125(_0x53af59,_0x3319c1,_0x34f0da);let Ne=class{constructor(_0x7d881b){var _0x35a6ee=_0x447e66;this[_0x35a6ee(0x377)]=_0x7d881b,this[_0x35a6ee(0x437)]();}[_0x447e66(0x437)](){var _0x252dee=_0x447e66;this[_0x252dee(0x377)]['registerHTTPInterceptor']({'interceptor':(_0x203423,_0x41844c)=>{var _0x2c2bd6=_0x252dee;const _0x2e2d56=_0x203423[_0x2c2bd6(0x4da)],_0x402a41=Ji();return _0x402a41&&_0x2e2d56['set'](_0x2c2bd6(0x3df),_0x402a41),_0x41844c(_0x203423);}});}};Ne=Zi([Qi(0x0,a[_0x447e66(0x39f)](q['HTTPService']))],Ne);var en=Object[_0x447e66(0x20f)],tn=(_0x22d228,_0x534d29,_0x11e885,_0x232b67)=>{var _0x1ba5fc=_0x447e66;for(var _0x227ddb=_0x232b67>0x1?void 0x0:_0x232b67?en(_0x534d29,_0x11e885):_0x534d29,_0x508fb8=_0x22d228[_0x1ba5fc(0x2db)]-0x1,_0xdf6f8;_0x508fb8>=0x0;_0x508fb8--)(_0xdf6f8=_0x22d228[_0x508fb8])&&(_0x227ddb=_0xdf6f8(_0x227ddb)||_0x227ddb);return _0x227ddb;},we=(_0x44b9a4,_0x4dfe1c)=>(_0xb5b45c,_0x77f36d)=>_0x4dfe1c(_0xb5b45c,_0x77f36d,_0x44b9a4);exports['DataLoaderService']=class extends a[_0x447e66(0x330)]{constructor(_0x2c5473,_0x290300,_0x122752){var _0x384d97=_0x447e66;super(),A(this,_0x384d97(0x366),new H['BehaviorSubject'](null)),A(this,_0x384d97(0x2f8),this['_unitInfo$'][_0x384d97(0x44a)]()),(this[_0x384d97(0x410)]=_0x2c5473,this[_0x384d97(0x222)]=_0x290300,this[_0x384d97(0x42c)]=_0x122752);}async[_0x447e66(0x40b)](_0x71b065,_0x2da3ed,_0x5def2e){var _0x10545a=_0x447e66;this[_0x10545a(0x366)][_0x10545a(0x4f9)]({'unitId':_0x71b065,'type':_0x2da3ed});let _0x4d2854=null;switch(_0x2da3ed){case J[_0x10545a(0x1f6)]:{_0x4d2854=await this[_0x10545a(0x222)]['loadSheet'](_0x71b065,_0x5def2e);break;}case J[_0x10545a(0x49e)]:{_0x4d2854=await this[_0x10545a(0x222)]['loadDoc'](_0x71b065,_0x5def2e);break;}default:{this['_logService'][_0x10545a(0x37a)](_0x10545a(0x41a),_0x10545a(0x1a4));break;}}return _0x4d2854;}async[_0x447e66(0x300)](_0xe31a55,_0x2249b1,_0x239863){var _0x201835=_0x447e66,_0x497017;this['_unitInfo$'][_0x201835(0x4f9)]({'unitId':_0xe31a55,'type':_0x2249b1,'subUnitId':_0x239863});let _0x2c4061=0x0;const _0x43046f=await((_0x497017=this[_0x201835(0x42c)])==null?void 0x0:_0x497017[_0x201835(0x436)](_0xe31a55));return _0x43046f&&(_0x43046f[_0x201835(0x482)]||_0x43046f[_0x201835(0x1f4)]['length']!==0x0)&&(_0x2c4061=_0x43046f['rev']),_0x2c4061===0x0&&this['_logService'][_0x201835(0x357)](_0x201835(0x41a),_0x201835(0x47d)),this[_0x201835(0x40b)](_0xe31a55,_0x2249b1,_0x2c4061);}},exports[_0x447e66(0x2d9)]=tn([we(0x0,a[_0x447e66(0x310)]),we(0x1,a[_0x447e66(0x39f)](p[_0x447e66(0x28a)])),we(0x2,a[_0x447e66(0x27e)](K))],exports[_0x447e66(0x2d9)]);var nn=Object[_0x447e66(0x20f)],rn=(_0x3f36fa,_0x28b945,_0x3fd6d4,_0x12ac23)=>{var _0x18e556=_0x447e66;for(var _0x571ae2=_0x12ac23>0x1?void 0x0:_0x12ac23?nn(_0x28b945,_0x3fd6d4):_0x28b945,_0x54fa84=_0x3f36fa[_0x18e556(0x2db)]-0x1,_0x5bf972;_0x54fa84>=0x0;_0x54fa84--)(_0x5bf972=_0x3f36fa[_0x54fa84])&&(_0x571ae2=_0x5bf972(_0x571ae2)||_0x571ae2);return _0x571ae2;},Me=(_0x2906e6,_0x89c5f6)=>(_0x3f36b2,_0x25955f)=>_0x89c5f6(_0x3f36b2,_0x25955f,_0x2906e6);function _0x84bf(){var _0x259efb=['setCurrentUser','_clearRedo','_compressMutationService','Subject','CollaborationImageIoService','disposeWithMe','delete','localeService','createSocket','objectActions','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_candidateSocket','emitEvent','_process','_onRemoteChangeset','INVALID_ARGUMENT','[PendingState]:\x20received\x20acknowledgement.','sheets','put','get','socketService','_executeRemoteChangeset','SNAPSHOT_URL_KEY','_resendTimeout','infoRsp','Error\x20on\x20receiving\x20event','UNIVER_DOC','isTransformChangesetsSuccess','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getImageSourceCache','_prevBlock','collaboration-client.local-cache-service','dispose','now','image/jpeg','CollaborationSocketService','collabSubmitChangesetUrl','patch','resend','_onConflict','_timeoutTimer','onRemoteAck','INVALID_INVITE_CODE','_members$','unitId','_submitChangeset','229544vcgfFR','[SyncedState]:\x20received\x20rejection.','mode','isPermissionRej','CollaborationEntity','updatePermissionPoint','_iv','_keyPriorReset','_onRemoteRetry','?size=','_stopTelemetryCollaborationNewChangeset','USERS_LEAVE','b64DecodeUnicode','_roomCreated$','YUUMI_CONNECTOR_URL_NOT_FOUND','transformSelections','OFFLINE','/object','deleteCollaborator','onTransformRemoteChangesetByIMECache','mergeOverrideWithDependencies','prototype','setShowComponents','_createHelper','message$','lib','getSnapshotAPIPath','YUUMI_NO_CUBOID_FOR_QUESTION','_sendingTimer','location','sin','collabWebSocketUrl','CompressMutationService','UNIVER_UNKNOWN','firstValueFrom','UNRECOGNIZED','_mode','_tryReconnect','UniverCollaborationClientPlugin','_invKeySchedule','headers','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','onTransformSelections','append','UnitEmbedded','awaiting','getResourcesRequest','INVITE_CODE_REQUIRED','keySize','APPLY_DUPLICATED','JOIN_ROOM_NOT_EXISTS','saveSheetBlock','_replaceFileID','_cipher','/universer-api/authz','sigBytes','_getRedoStack','deepClone','csShouldRetryEvent','AuthzIoHttpService','decryptBlock','apply','touchDependencies','ISnapshotServerService','reverse','fromCollab','getFocusedUnit','_handler','__creator','batchAllowed','ISingleActiveUnitService','next','floor','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','format','ISocketService','toString','AES','CollaborationController','MentionIoHttpService','error$','type','encode','HEARTBEAT_TIMEOUT_KEY','allowed','UserProfileImg','_schedule','LICENSE_IMPORT_SIZE_EXCEEDED','newCsEvent','_onOffline','_showConflictNotification','FETCH_MISS','url','body','pad','CollaborationSession','IDLE','onSyncEditingCollabCursor','getActiveSheet','updatePermissionObjEvent','sessionStatus','_resendTimer','_createInitialState','_config','incrementRevOfUnit','workbook','byteLength','originalMeta','CONFLICT','confirm','[CollaborationEntity]','_unlockTransition','UPDATE_CURSOR','reqId','fetching\x20missing\x20changesets\x20from\x20','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','key','_updateState','commentUpdate$','charAt','m2Prime','randomBytes','CollaborationSessionService','cmd','Decryptor','UnitStatus','univer-pro.collaboration-client.single-active-unit-service','OTHER_CLIENTS_EDITING','catch','getUnitType','_transformUndoredo','_doCryptBlock','_entities','getRoom','toggleOnline','UNKNOWN_CODE','&source=','_data','_sessions','WorkbookEditablePermission','charCodeAt','failed\x20to\x20apply\x20missed\x20changesets!','UNDEFINED','concatMap','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CollaborativeUndoRedoService','push','MentionType','_createHandler','_retryConnectingTimer','_doCreateSocket','YUUMI_ALL_TABLES_IS_INVALID','LICENSE_DISTRO_REJECTED','ImageUploadStatusType','onload','_getSendChangesetTimeout','JOIN','getCurrentRevOfUnit','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','NEW_CHANGESETS','/role','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_waitCount','objects','__Key__','SHA1','_collaborationUIEventService','readInt32LE','_replayCachedMutations','_exhaustRemoteChangesetQueue','APPLY_REJECT','SOCKET_FAILED','post','NOT_COLLAB','resolve','HttpImport','_networkConditionService','requestParams','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UNKNOWN_CMD','createIdentifier','size','_clearUndo','saveSnapshot','univer-pro.collaboration-client.network-condition.service','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LEAVE','shareReplay','DependentOn','RETRY_CONNECTING_MAX_COUNT_KEY','SheetsSelectionsService','RevisionService','getUnit','requireSession','COMPRESS_MUTATION_APPLY','mutations','onTransformRemoteChangesetByStateCache','UNIVER_SHEET','_transformService','IAuthzIoService','_removeRoom','_state','submit\x20changeset\x20error!','objectType','Cipher','execute','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','toStringTag','CollaborationEvent','updateMember','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','NoPadding','_rescheduleHeartbeat','_socket$','reduce','_waitForHeartbeatResponse','_commandService','_retryCount','isTransformMutationsWithChangesetSuccess','HEARTBEAT_INTERVAL_KEY','localCacheService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getOwnPropertyDescriptor','_socketReady','SNAPSHOT_HAS_BEEN_REMOVED','open$','cfg','Disposable','FETCH_MISSING','finalize','onlyLocal','Rectangle','_ENC_XFORM_MODE','getCollabEntity$','_HTTPService','/collaborator','?url=','RichTextEditingMutation','1477592DWNdGI','LIVESHARE_OPERATION','SOCKET_FAILED_RETRY','_snapshotService','state','socket\x20close','PERMISSION_REJ','Hex','_applyRemoteChangeset','CHANGESET_SHOULD_RETRY','createDecryptor','_minBufferSize','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','INGEST','JOIN_ROOM_FAILED','_socket','getGlobalObject','_onRemoteACK','Utf8','MUTATION','from','[CollaborationSessionService]:\x20socket\x20error','transformMutationsWithChangeset','Plugin','delay','SyncedState','encryptBlock','_transformSelections','ONLINE','Latin1','getImage','subject','name','FileId','_disableEditing','_startTelemetryCollaborationNewChangeset','YUUMI_SUBSCRIPTION_NOT_FOUND','_remoteChangesetQueue','padding','LIVESHARE_TERMINATE','ERROR_IMAGE','_sessionStatus$','resourceIDs','AWAITING_WITH_PENDING','isArray','session.room-not-exists','ConflictState','_telemetryService','HEARTBEAT','_roomMembers','sequenceExecute','_socketService','fetchMiss','HEARTBEAT_TIMEOUT','collaboratorID','_singleActiveUnitService','duration','FetchingMissState','LICENSE_MAX_UNITS_EXCEEDED','image/gif','HttpExport','stopTime','ivSize','downloadEndpointUrl','setConfig','Undefined','ITelemetryService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','startsWith','_clearScheduledTask','status','onCommentUpdate','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','\x20to\x20','onRemoteRetry','getCurrentUser','_listenToNetworkCondition','getCollabEntity','ENSURE_SNAPSHOT_EXECUTION','/-/object/-/batch_allowed','Failed\x20to\x20update\x20permission\x20point','/universer-api/stream/file/upload','ALREADY_EXISTS','c1Prime','_commentUpdate$','ITransformService','_undoRedoService','ThresholdInterceptorFactory','_handlerCallback','MergeInterceptorFactory','data','_nRounds','UniverInstanceType','_acknowledgedAwaitingChangeset','_univerInstanceService','Optional','INetworkConditionService','BufferedBlockAlgorithm','_substituteUndoStack','getTypeOfUnitAdded$','CommandType','1074345ALwJlO','ERROR_IMAGE_TYPE','toDisposable','/universer-api/user/session-ticket','APPLY_NON_SEQUENTIAL_REVISION','\x0aCurrent:\x20','SnapshotService','retryConnectingInterval','_instanceService','concat','_onLocalMutation','params','_initCloseConn','fromCharCode','baseRev','WordArray','_clearLocalCache','send','string','onTransformState','_getAPIPrefixPath','_getUploadFileURL','executeCommand','INVITE_CODE_HAS_BEEN_UES','Tools','close','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clamp','snapshotServerUrl','saveImage','revision','capture','IPermissionService','AwaitingState','getInterceptPoints','hasher','Pkcs7','csAckEvent','MD5','authzUrl','/universer-api/comb','change$','transformUndoRedo','dispose$','_getCtorByUniverType','EMAIL_HAS_BEEN_BOUND','UserManagerService','commentUpdateEvent','_localeService','ERROR_EXCEED_SIZE','getRandomValues','session.room-permission-denied','_updateStatus','pending','Univer','onStateChange','_decreaseWaiting','\x0aAfter:\x20','_memberService','_toggleOnline','_createInitialStateImpl','_pendingMutations','{fileID}','WECHAT_HAS_BEEN_BOUND','_transformRemoteChangesetByStateCache','csRejEvent','OTHER_CLIENT_EDITING','_transitionLocked','LOGIN_FAILED','COMPLETION_FINISHED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','addImageSourceCache','changesets','connection\x20error','closeSession','ws://127.0.0.1:8000/universer-api/comb/connect','LIVESHARE_FETCH_OPERATIONS','PERMISSION_DENIED','BASE64','_checkMissing','45284ynjxxK','fetchThroughInterceptors','5214150jMkZpf','random','univer-pro.collaboration-client-socket-service','DataLoaderService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','length','_lockTransition','OpenSSL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UNIVER_PROJECT','_nDataBytes','OPTIONAL','byteOffset','initWorkbookPermissionChange','max','function','SNAPSHOT_INVALID_SNAPSHOT','TOO_MANY_REQUESTS','getUnitStatus$','[OfflineState]:\x20received\x20rejection.','status$','onTransformIME','getTime','IConfigService','_clearCollaborationTimeoutTimer','enableOfflineEditing','hasOwnProperty','CollaborationStatus','words','_commentService','fetchMissingChangesets','values','compose','ImageSourceType','unitInfo$','_doReset','msCrypto','UniverNetworkPlugin','MOBILE_VERIFY_CODE_MISMATCH','takeUntil','reconnect','selections','loadUnit','UNISCRIPT_RUN','/universer-api/snapshot/','removeMember','_incrementRevisionNumber','encrypt','sid','_scheduleCompleteTimestamp','_fetchMissChangesets','_getLoginPath','range','createEncryptor','snapshot','pipe','onMissingChangesets','replace','ILogService','\x20-\x20','ILocalCacheService','getWorkbookSelections','getLocalCacheKey','/universer-api/file/{fileID}/sign-url','COMMENT_UPDATE','reject','saveChangeset','stringify','[CollaborationSessionService]','6vvNlkI','kdf','liveShareOperation','HmacMD5','_oKey','JOINING','enc','sessionStatus$','POST','getMember','file','auth.needGotoLoginAlert','BlockCipherMode','CHANGESET_REVISION_CONFILICT','min','_event$','_getAPIPrefix','_snapshotServerService','_getUndoStack','unsubscribe','_eventService','RxDisposable','clear','DocCollaborationEntity','COMPRESS_MUTATION_SEND','setWaitCount','_keySchedule','YUUMI_AI_RUN_FAILED','SUBMIT_CHANGESET_TIMEOUT','_unitID','list','processBlock','routeKey','NO_OTHER_CLIENTS_EDITING','_onRemoteRejected','actions','sendChangesetTimeout','_sendHeartbeat','parseProtocolChangeset','_onCombEvent','members$','findIndex','code','_revisionService','parse','UnitSnapshot','_syncEditingCollabCursor','IUndoRedoService','[CollaborationState]:\x20apply\x20error!','unitID','putCollaborators','map','/unit/','319752qyvdAM','PENDING','_collaborationPaused','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[SyncedState]:\x20received\x20acknowledgement.','_onRecvEvent','Quantity','debug','_xformMode','FAIL','[FetchMissState]','IContextService','update','updateCollaborator','ICommandService','onRemoteRej','_onFetchMissResult','[UniverCollaborationClientPlugin]','image/jpg','/object/','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_joinRoom','_unitInfo$','PSEUDO_FETCH_MISSING_RESULT','enableSingleActiveInstanceLock','_shouldReportTelemetry','BlockCipher','AwaitingWithPendingState','filter','withCredentials','[OfflineState]:\x20received\x20acknowledgement.','userID','_createHmacHelper','[CollaborationSession]','getTypeOfUnitDisposed$','refreshPermission','_clearRetryConnectingTimer','state$','uploadFileServerUrl','_httpService','getAllMembers','_socketMessageSubscription','error','isTransformMutationsWithChangesetFailure','SUCCUSS','_key','getSheetBlock','CollaborationUIEventService','[OfflineState]:\x20received\x20changeset.','LIVESHARE_REQUEST_HOST','PendingState','_sender','onRemoteChangeset','mapDocumentTypeToUniverType','join','BehaviorSubject','unitId\x20is\x20not\x20found','_DEC_XFORM_MODE','_imageSourceCache','eventID','HTTPService','GLOBAL_ROOMS_CNT_EXCEEDS','isInternalEditorID','getValue','serializeCombRequest','LocaleService','addHandlerCallback','complete','iterations','MemberService','reset','enableCollaboration','APPLY_PERMISSION_DENIED','Base64','PERSON','YUUMI_URL_COL_OUT_OF_RANGE','unknown','_injector','joinRsp','Inject','salt','not_collab','_sendHeartbeatTimer','&to=','take','decrypt','result','copyFileMeta','add','DEFAULT_FILE_NAME','SetSelectionsOperation','onMissedChangesetFetched','_members','1yQkgcE','JOIN_ROOM_PERMISSION_DENIED','_reverseMap','EmptyMutation','_status$','splice','interceptor','$super','INTERNAL_ERROR','Malformed\x20UTF-8\x20data','defineProperty','_scheduleCollaborationTimeoutTimer','editingUnit','_onMessage','target','/block/','EvpKDF','subUnitId','CBC','_getSignURL','_onJoinRoomEvent','Injector','buffer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/resources','_changesetReqId','_append','DEFAULT_COLLAB_WEB_SOCKET_URL','session.room-full','forEach','_permissionService','toggleOffline','RECV','Base','MSG_FOR_ERROR','_init','_hash','avatar','textRanges','getConfig','JSONX','_transformStack','CollaborationUIEventId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','save\x20fail\x20reason\x20is\x20','_collabSessionService','Module','Hasher','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_hasher','x-univer-host','UPDATE_PERMISSION_OBJ','CONNECTOR_DATA_TOO_LARGE','/allowed','HMAC','HELLO','registerDependencies','socket$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','has','updateSnapshot','loginUrlKey','getUnitId','JOIN_ROOM_FULL','liveShareNewHost','updateCursorEvent','image/png','IUniverInstanceService','compute','transformChangesets','RETRY_CONNECTING_MAX_COUNT','roomInfos','_substituteRedoStack','LOCAL_CACHE_INTERVAL','clone','waitForRoom$','_transformStateCache','default','_resendWithTimeout','_map','_redoStacks','_throwTelemetryCollaborationNewChangeset','PasswordBasedCipher','_userManagerService','onStarting','YUUMI_ASYNCIO_CANCELLED','session','algo','symbol','shouldCloseConn','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CLOSE_ROOM','close$','HTTPRequest','loadUnitOfRevision','responseType','encodeURIComponent','getCurrentSelections','unit-cache-','_logService','hostname','SnapshotServerOverHTTPService','ciphertext','_changesetSessionId','_telemetryInfo','entries','_state$','slice','exports','[DataLoaderService]','c2Prime','override','_emitMembers','_sheetTransformSelectionsService','SheetTransformSelectionsService','appendMutation','telemetry\x20info\x20is\x20not\x20initialized','_startCollaboration','_onUserLeave','DisposableCollection','_doProcessBlock','_onUserJoin','updateOfflineData','CHANGESET_ACK','HEARTBEAT_INTERVAL','_clearTimeoutTimer','_transformIMECache','_localCacheService','MOBILE_HAS_BEEN_BOUND','_entityInit$','DEFAULT_WS_SESSION_TICKET_URL','&assign=','_registerDependencies','_queuedRemoteChangesets','PY_RUNTIME_SCRIPT_ERROR','APPLY_REVISION_CONFILICT','EMAIL_VERIFY_CODE_MISMATCH','loadOfflineData','_initRequestHeader','/universer-api/uniscript','blockSize','getMemberID','LOCAL_CACHE_INTERVAL_KEY','CommentService','memberID','synced','[PendingState]:\x20received\x20rejection.','_onConnectionFailed','_type','_initMergeInterceptor','IMentionIOService','LIVESHARE_NEW_HOST','_doFinalize','entityInit$','offline','_awaitingChangeset','collaborators','asObservable','SHOULD_CLOSE_CONN','_onConnectionOpen','event$','init','session.join-failed','SUBMIT_CHANGESET','_tryEnsureSocket','_clearHeartbeatTimer','\x20in\x20_schedule.','_collaborationSessionService','objectID','INVITE_CODE_ALREADY_BOUND','_getCurrentRevision','NOT_FOUND','online$','_undoStacks','SheetCollaborationEntity','socket\x20open.','_collaborationTimeoutTimer','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','startTime','extend','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','OfflineState','generateRandomId','create','_change$','ceil','createInstance','2186667Ibumst','onCommandExecuted','registerHTTPInterceptor','find','leaveEvent','_parse','href','merge','_getDownloadEndpointURL','UNIVER_SLIDE','subscribe','_initDependencies','LocalUndoRedoService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_createSocket','YUUMI_RATE_OVER_LIMIT','crypto','onSendChangeset','call','_configService','editing\x20status\x20changed\x20to','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_updateLocalCache','set','[CollaborationUndoRedoService]','CHANGESET_REJ','awaitingChangeset','USERS_ENTER'];_0x84bf=function(){return _0x259efb;};return _0x84bf();}const sn=[_0x447e66(0x3ef),_0x447e66(0x4a6),_0x447e66(0x362),_0x447e66(0x25a),'image/bmp'],on=0x5*0x400*0x400,an=_0x447e66(0x270),cn=_0x447e66(0x315);exports['CollaborationImageIoService']=class{constructor(_0x2c50c2,_0x442838,_0x565653){var _0x272125=_0x447e66;A(this,_0x272125(0x1d3),0x0),A(this,'_change$',new H['Subject']()),A(this,_0x272125(0x2ad),this[_0x272125(0x465)]),A(this,_0x272125(0x38a),new Map()),(this[_0x272125(0x377)]=_0x2c50c2,this[_0x272125(0x47b)]=_0x442838,this[_0x272125(0x27d)]=_0x565653);}[_0x447e66(0x334)](_0x36ae20){var _0x1caa2d=_0x447e66;this['_waitCount']=_0x36ae20,this['_change$'][_0x1caa2d(0x4f9)](_0x36ae20);}[_0x447e66(0x4a1)](_0xbd01f,_0x54e64e){var _0x5b7dc8=_0x447e66;if(_0x54e64e===z['ImageSourceType']['BASE64']){const _0x3bda81=new Image();return _0x3bda81['src']=_0xbd01f,_0x3bda81;}return this[_0x5b7dc8(0x38a)][_0x5b7dc8(0x497)](_0xbd01f);}[_0x447e66(0x2cb)](_0x3153b8,_0x20b7f7,_0x246074){var _0x28d5c0=_0x447e66;_0x20b7f7===z['ImageSourceType'][_0x28d5c0(0x2d2)]||_0x246074==null||this[_0x28d5c0(0x38a)][_0x28d5c0(0x47f)](_0x3153b8,_0x246074);}async[_0x447e66(0x23d)](_0x1e32a7){var _0x173e52=_0x447e66;try{const _0x1de246=this['_replaceFileID'](this['_getSignURL'](),''+_0x1e32a7),_0x341270=(await this[_0x173e52(0x377)][_0x173e52(0x497)](_0x1de246))['body'];if(_0x341270[_0x173e52(0x37a)]&&_0x341270['error']['code']===dt['OK']){const _0x437dea=new URL(_0x341270['url'],this[_0x173e52(0x470)]())[_0x173e52(0x17d)]();return Promise[_0x173e52(0x1df)](_0x437dea);}return Promise[_0x173e52(0x317)](_0x341270[_0x173e52(0x37a)]);}catch(_0x3887e6){return Promise['reject'](_0x3887e6);}}async[_0x447e66(0x2a1)](_0x540476){var _0x16e6f2=_0x447e66;let _0xa8125b='';if(!sn['includes'](_0x540476[_0x16e6f2(0x182)]))return this[_0x16e6f2(0x2bc)](),Promise[_0x16e6f2(0x317)](new Error(z[_0x16e6f2(0x1ca)][_0x16e6f2(0x285)]));if(_0x540476[_0x16e6f2(0x1e6)]>on)return this['_decreaseWaiting'](),Promise[_0x16e6f2(0x317)](new Error(z[_0x16e6f2(0x1ca)][_0x16e6f2(0x2b5)]));try{const _0x69cd7e=new FormData();_0x69cd7e[_0x16e6f2(0x4dd)](_0x16e6f2(0x325),_0x540476);const _0x3ada39=this[_0x16e6f2(0x27d)][_0x16e6f2(0x4f4)](),_0x3a83e9=_0x3ada39==null?void 0x0:_0x3ada39['getUnitId']();if(!_0x3a83e9)throw new Error(_0x16e6f2(0x388));const _0x324e75=this['_getUploadFileURL']()+_0x16e6f2(0x4bb)+_0x540476['size'][_0x16e6f2(0x17d)]()+_0x16e6f2(0x1b9)+vt['UnitEmbedded']+_0x16e6f2(0x430)+encodeURIComponent(_0x3a83e9),_0x246f53={'body':_0x69cd7e},_0x3cfd36=(await this[_0x16e6f2(0x377)][_0x16e6f2(0x1dd)](_0x324e75,_0x246f53))[_0x16e6f2(0x18e)];if(typeof _0x3cfd36[_0x16e6f2(0x240)]!=_0x16e6f2(0x296))return this[_0x16e6f2(0x2bc)](),Promise[_0x16e6f2(0x317)](new Error(z[_0x16e6f2(0x1ca)][_0x16e6f2(0x247)]));_0xa8125b=_0x3cfd36[_0x16e6f2(0x240)];}catch{return this[_0x16e6f2(0x2bc)](),Promise[_0x16e6f2(0x317)](new Error(z[_0x16e6f2(0x1ca)][_0x16e6f2(0x247)]));}return new Promise((_0x5399ee,_0x35c669)=>{var _0x1a0a25=_0x16e6f2;const _0x296cd2=new FileReader();_0x296cd2['readAsDataURL'](_0x540476),_0x296cd2[_0x1a0a25(0x1cb)]=_0x7c3e51=>{var _0x136eaf=_0x1a0a25,_0x326ee9;const _0x1d9af8=(_0x326ee9=_0x7c3e51[_0x136eaf(0x3bb)])==null?void 0x0:_0x326ee9['result'];if(_0x1d9af8==null){this[_0x136eaf(0x2bc)](),_0x35c669(new Error(z[_0x136eaf(0x1ca)][_0x136eaf(0x247)]));return;}const _0x5e4442=a[_0x136eaf(0x463)](0x6);_0x5399ee({'imageId':_0x5e4442,'imageSourceType':z[_0x136eaf(0x2f7)]['UUID'],'source':_0xa8125b,'base64Cache':_0x1d9af8,'status':z[_0x136eaf(0x1ca)][_0x136eaf(0x37c)]}),this[_0x136eaf(0x2bc)]();};});}[_0x447e66(0x299)](){var _0x4aca53=_0x447e66,_0x25fa67;const _0x191b5e=this[_0x4aca53(0x47b)][_0x4aca53(0x3d4)](Y);return(_0x25fa67=_0x191b5e==null?void 0x0:_0x191b5e[_0x4aca53(0x376)])!=null?_0x25fa67:an;}[_0x447e66(0x3c0)](){var _0x54a5c2=_0x447e66,_0xf9ff28;const _0x34aa3e=this[_0x54a5c2(0x47b)][_0x54a5c2(0x3d4)](Y);return(_0xf9ff28=_0x34aa3e==null?void 0x0:_0x34aa3e['signUrlServerUrl'])!=null?_0xf9ff28:cn;}['_getDownloadEndpointURL'](){var _0x365cd8=_0x447e66,_0x3c5a12;const _0x2ce077=this[_0x365cd8(0x47b)][_0x365cd8(0x3d4)](Y);return(_0x3c5a12=_0x2ce077==null?void 0x0:_0x2ce077[_0x365cd8(0x25e)])!=null?_0x3c5a12:location['origin'];}[_0x447e66(0x4e6)](_0xd1dfa1,_0x4a4d29){var _0x5855e6=_0x447e66;return _0xd1dfa1[_0x5855e6(0x30f)](_0x5855e6(0x2c2),_0x4a4d29);}['_decreaseWaiting'](){var _0x46201c=_0x447e66;this[_0x46201c(0x1d3)]-=0x1,this['_change$'][_0x46201c(0x4f9)](this[_0x46201c(0x1d3)]);}},exports[_0x447e66(0x488)]=rn([Me(0x0,a[_0x447e66(0x39f)](q[_0x447e66(0x38c)])),Me(0x1,a['IConfigService']),Me(0x2,a[_0x447e66(0x39f)](a[_0x447e66(0x3f0)]))],exports[_0x447e66(0x488)]);var hn=Object[_0x447e66(0x20f)],_n=(_0x34d9a7,_0x2d8d13,_0x4e4781,_0x4bba0e)=>{var _0x556cb1=_0x447e66;for(var _0x52d95f=_0x4bba0e>0x1?void 0x0:_0x4bba0e?hn(_0x2d8d13,_0x4e4781):_0x2d8d13,_0x445d86=_0x34d9a7[_0x556cb1(0x2db)]-0x1,_0x742edf;_0x445d86>=0x0;_0x445d86--)(_0x742edf=_0x34d9a7[_0x445d86])&&(_0x52d95f=_0x742edf(_0x52d95f)||_0x52d95f);return _0x52d95f;},ot=(_0x3a3138,_0xcba885)=>(_0x1027c5,_0x28e904)=>_0xcba885(_0x1027c5,_0x28e904,_0x3a3138);const ln=_0x447e66(0x4e8);exports[_0x447e66(0x180)]=class{constructor(_0x213e1a,_0x5e9b6e){var _0x52d9ce=_0x447e66;this[_0x52d9ce(0x47b)]=_0x213e1a,this['_HTTPService']=_0x5e9b6e;}[_0x447e66(0x298)](){var _0xa97bbc=_0x447e66,_0x4b8ee1;const _0x128cc4=this['_configService'][_0xa97bbc(0x3d4)](Y);return(_0x4b8ee1=_0x128cc4==null?void 0x0:_0x128cc4[_0xa97bbc(0x2ab)])!=null?_0x4b8ee1:ln;}async[_0x447e66(0x339)](_0x32e72b){var _0x15d68b=_0x447e66;const _0x23ea68=this[_0x15d68b(0x298)]()+_0x15d68b(0x21c);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x15d68b(0x497)](_0x23ea68,{'params':{'objectID':_0x32e72b['unitId'],'unitID':_0x32e72b['unitId']}}))[_0x15d68b(0x18e)][_0x15d68b(0x449)][_0x15d68b(0x34e)](_0x5d0dc3=>({'objectId':_0x5d0dc3['id'],'name':_0x5d0dc3['subject'][_0x15d68b(0x23f)],'metadata':{'icon':_0x5d0dc3[_0x15d68b(0x23e)][_0x15d68b(0x3d2)]},'label':_0x5d0dc3[_0x15d68b(0x23e)]['name'],'objectType':a[_0x15d68b(0x1c4)]['PERSON']})),'metadata':{},'type':a[_0x15d68b(0x1c4)][_0x15d68b(0x39a)]}]};}},exports[_0x447e66(0x180)]=_n([ot(0x0,a[_0x447e66(0x39f)](a['IConfigService'])),ot(0x1,a[_0x447e66(0x39f)](q[_0x447e66(0x38c)]))],exports[_0x447e66(0x180)]);var un=Object[_0x447e66(0x20f)],dn=(_0x4d99ef,_0x42b8e1,_0xee2cd,_0x1da622)=>{var _0x1c2021=_0x447e66;for(var _0x2b89f9=_0x1da622>0x1?void 0x0:_0x1da622?un(_0x42b8e1,_0xee2cd):_0x42b8e1,_0x1ceecc=_0x4d99ef[_0x1c2021(0x2db)]-0x1,_0x132acd;_0x1ceecc>=0x0;_0x1ceecc--)(_0x132acd=_0x4d99ef[_0x1ceecc])&&(_0x2b89f9=_0x132acd(_0x2b89f9)||_0x2b89f9);return _0x2b89f9;},le=(_0x1a39d3,_0x160ddb)=>(_0x37f476,_0x4d31ad)=>_0x160ddb(_0x37f476,_0x4d31ad,_0x1a39d3);let De=class extends a[_0x447e66(0x330)]{constructor(_0x314fb3,_0x29e131,_0x223730,_0x27ff6d,_0x12d94c){var _0x392d45=_0x447e66;super(),this[_0x392d45(0x39d)]=_0x314fb3,this[_0x392d45(0x27d)]=_0x29e131,this['_permissionService']=_0x223730,this[_0x392d45(0x454)]=_0x27ff6d,this[_0x392d45(0x1d7)]=_0x12d94c,this['_initUnitPermissionChange'](),this[_0x392d45(0x290)]();}['_initCloseConn'](){var _0x38f8f9=_0x447e66;const _0x4e16c5=async _0x320e37=>{var _0x305d19=_0x52b3;(await this[_0x305d19(0x454)][_0x305d19(0x1f2)](_0x320e37))['event$'][_0x305d19(0x30d)](V[_0x305d19(0x36c)](_0x297b0d=>_0x297b0d[_0x305d19(0x38b)]===p[_0x305d19(0x201)][_0x305d19(0x44b)]),V[_0x305d19(0x2fd)](this[_0x305d19(0x2af)]))['subscribe'](_0xf5425e=>{var _0x28b075=_0x305d19;const _0x32e32f=_0xf5425e,{reason:_0x2d3906}=_0x32e32f[_0x28b075(0x279)];this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x28b075(0x408)],'data':_0x2d3906}),this[_0x28b075(0x3cb)]['updatePermissionPoint'](new X[(_0x28b075(0x1bc))](_0x320e37)['id'],!0x1),this['_collaborationSessionService'][_0x28b075(0x2ce)](_0x320e37);});};H[_0x38f8f9(0x46f)](this[_0x38f8f9(0x27d)]['getTypeOfUnitAdded$'](a[_0x38f8f9(0x27b)][_0x38f8f9(0x1f6)]),this[_0x38f8f9(0x27d)][_0x38f8f9(0x282)](a[_0x38f8f9(0x27b)][_0x38f8f9(0x49e)]))['pipe'](V[_0x38f8f9(0x34e)](_0x57f4e5=>_0x57f4e5[_0x38f8f9(0x3eb)]()),V['filter'](_0xa836a8=>!a['isInternalEditorID'](_0xa836a8)),V[_0x38f8f9(0x2fd)](this['dispose$']))['subscribe'](_0x3f6bf7=>{_0x4e16c5(_0x3f6bf7);});}['_initUnitPermissionChange'](){var _0x4cd242=_0x447e66;const _0x4d0f6b=async _0x51a79e=>{var _0x1fb9b9=_0x52b3;const _0x513198=await this[_0x1fb9b9(0x454)][_0x1fb9b9(0x1f2)](_0x51a79e),_0x50a6aa=this['_injector'][_0x1fb9b9(0x497)](X['SheetPermissionInitController']);_0x513198[_0x1fb9b9(0x44d)][_0x1fb9b9(0x30d)](V[_0x1fb9b9(0x36c)](_0x27ac16=>_0x27ac16[_0x1fb9b9(0x38b)]===p[_0x1fb9b9(0x201)][_0x1fb9b9(0x3e0)]),V[_0x1fb9b9(0x2fd)](this[_0x1fb9b9(0x2af)]))[_0x1fb9b9(0x472)](_0x2d0655=>{var _0x24abf1=_0x1fb9b9;const _0x23ce72=_0x2d0655,{objectId:_0x3ca5a5}=_0x23ce72[_0x24abf1(0x279)];_0x3ca5a5===_0x51a79e?_0x50a6aa[_0x24abf1(0x2e3)](_0x51a79e):_0x50a6aa[_0x24abf1(0x373)](_0x51a79e,_0x3ca5a5);});};H[_0x4cd242(0x46f)](this['_univerInstanceService'][_0x4cd242(0x282)](a[_0x4cd242(0x27b)][_0x4cd242(0x1f6)]))[_0x4cd242(0x30d)](V[_0x4cd242(0x34e)](_0x5c4fd0=>_0x5c4fd0[_0x4cd242(0x3eb)]()),V[_0x4cd242(0x36c)](_0x23ece3=>!a[_0x4cd242(0x38e)](_0x23ece3)),V[_0x4cd242(0x2fd)](this[_0x4cd242(0x2af)]))['subscribe'](_0x11b04c=>{_0x4d0f6b(_0x11b04c);});}};De=dn([le(0x0,a[_0x447e66(0x39f)](a[_0x447e66(0x3c2)])),le(0x1,a[_0x447e66(0x3f0)]),le(0x2,a[_0x447e66(0x2a4)]),le(0x3,a['Inject'](exports[_0x447e66(0x1ab)])),le(0x4,a[_0x447e66(0x39f)](ee))],De);var vn=Object[_0x447e66(0x20f)],Sn=(_0x3078f0,_0x2176fe,_0x175b49,_0x45818a)=>{var _0x50af6a=_0x447e66;for(var _0x8f16e1=_0x45818a>0x1?void 0x0:_0x45818a?vn(_0x2176fe,_0x175b49):_0x2176fe,_0x28e2a4=_0x3078f0[_0x50af6a(0x2db)]-0x1,_0x2147aa;_0x28e2a4>=0x0;_0x28e2a4--)(_0x2147aa=_0x3078f0[_0x28e2a4])&&(_0x8f16e1=_0x2147aa(_0x8f16e1)||_0x8f16e1);return _0x8f16e1;},at=(_0x3cec68,_0x22f107)=>(_0x53d179,_0x5c4256)=>_0x22f107(_0x53d179,_0x5c4256,_0x3cec68);exports[_0x447e66(0x412)]=class{constructor(_0x262cf3,_0x274a5f){var _0x13213a=_0x447e66;this['_configService']=_0x262cf3,this[_0x13213a(0x377)]=_0x274a5f;}async['getUnitOnRev'](_0x5dee40,_0x1d5fc7){var _0x46c79b=_0x447e66,_0x48ca3;const {unitID:_0x44747e,type:_0x1d9210,revision:_0x461f1f=0x0}=_0x1d5fc7,_0x146aef=this[_0x46c79b(0x4cc)]()+'/'+_0x1d9210+_0x46c79b(0x34f)+_0x44747e+'/rev/'+_0x461f1f,_0x332be1=(await this[_0x46c79b(0x377)][_0x46c79b(0x497)](_0x146aef))[_0x46c79b(0x18e)],_0x2b930c=(_0x48ca3=_0x332be1[_0x46c79b(0x30c)])==null?void 0x0:_0x48ca3[_0x46c79b(0x19a)];if(_0x2b930c){const _0x5d926f=_0x2b930c==null?void 0x0:_0x2b930c['originalMeta'],_0x2b7b30=p['textEncoder'][_0x46c79b(0x183)](p['b64DecodeUnicode'](_0x5d926f));_0x2b930c[_0x46c79b(0x19c)]=_0x2b7b30,Object[_0x46c79b(0x416)](_0x2b930c[_0x46c79b(0x495)])['forEach'](([,_0x5e545c])=>{var _0x5a2b51=_0x46c79b;const _0x76b935=_0x5e545c[_0x5a2b51(0x19c)],_0x1b8b1b=p['textEncoder'][_0x5a2b51(0x183)](p[_0x5a2b51(0x4be)](_0x76b935));_0x5e545c[_0x5a2b51(0x19c)]=_0x1b8b1b;});}return _0x332be1;}async[_0x447e66(0x37e)](_0x293ad6,_0x2138c2){var _0x3649a7=_0x447e66;const {unitID:_0x5d7c0c,type:_0x3bd466,blockID:_0x3cd81c}=_0x2138c2,_0x36b55b=this[_0x3649a7(0x32b)]()+'/'+_0x3bd466+_0x3649a7(0x34f)+_0x5d7c0c+'/block/'+_0x3cd81c;return(await this[_0x3649a7(0x377)][_0x3649a7(0x497)](_0x36b55b))[_0x3649a7(0x18e)];}async['getDeserializedSheetBlock'](_0x420a6c,_0x4d8837){var _0x280453=_0x447e66;const {unitID:_0x3360ec,type:_0x38eae9,blockID:_0x38fd0c}=_0x4d8837,_0x13a38f=this[_0x280453(0x32b)]()+_0x280453(0x3bc)+_0x38eae9+_0x280453(0x34f)+_0x3360ec+_0x280453(0x3bc)+_0x38fd0c;return(await this[_0x280453(0x377)]['get'](_0x13a38f))['body'];}async[_0x447e66(0x2f4)](_0x44304d,_0x3cd1fa){var _0x8c125f=_0x447e66;const {unitID:_0x3d4055,type:_0x48d296,from:_0x4f0ad8,to:_0x3b1652}=_0x3cd1fa,_0x14edb4=this[_0x8c125f(0x32b)]()+'/'+_0x48d296+_0x8c125f(0x34f)+_0x3d4055+'/fetchmissing?from='+_0x4f0ad8+_0x8c125f(0x3a3)+_0x3b1652;return(await this[_0x8c125f(0x377)]['get'](_0x14edb4))[_0x8c125f(0x18e)];}['getSnapshotAPIPath'](){var _0x226914=_0x447e66,_0x274354;return(_0x274354=this['_configService']['getConfig'](Dt))!=null?_0x274354:this[_0x226914(0x32b)]();}[_0x447e66(0x32b)](){var _0x275fed=_0x447e66,_0x5ad9f9;const _0x1f422b=this[_0x275fed(0x47b)][_0x275fed(0x3d4)](Y);return(_0x5ad9f9=_0x1f422b==null?void 0x0:_0x1f422b[_0x275fed(0x2a0)])!=null?_0x5ad9f9:Nt;}async[_0x447e66(0x4e0)](_0x292375,_0x2825dd){var _0x1766cc=_0x447e66;const _0x509520=_0x1766cc(0x302)+_0x2825dd[_0x1766cc(0x182)]+_0x1766cc(0x34f)+_0x2825dd[_0x1766cc(0x34c)]+_0x1766cc(0x3c5);return(await this[_0x1766cc(0x377)]['get'](_0x509520,{'params':{'resourceId':JSON[_0x1766cc(0x319)](_0x2825dd[_0x1766cc(0x249)])}}))['body'];}[_0x447e66(0x1e8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x447e66(0x3e9)](){var _0x2403e7=_0x447e66;throw new Error(_0x2403e7(0x3c4));}[_0x447e66(0x4e5)](){var _0x550928=_0x447e66;throw new Error(_0x550928(0x3c4));}[_0x447e66(0x318)](){var _0x149c71=_0x447e66;throw new Error(_0x149c71(0x3c4));}[_0x447e66(0x3a7)](){var _0x51caad=_0x447e66;throw new Error(_0x51caad(0x3c4));}['getLatestCsReqIdBySid'](){var _0x32c8e6=_0x447e66;throw new Error(_0x32c8e6(0x3c4));}},exports['SnapshotServerOverHTTPService']=Sn([at(0x0,a['IConfigService']),at(0x1,a['Inject'](q[_0x447e66(0x38c)]))],exports[_0x447e66(0x412)]);var fn=Object[_0x447e66(0x20f)],In=(_0xdee9e,_0x4601ac,_0x1e7f38,_0x3a4a8f)=>{var _0x3b883c=_0x447e66;for(var _0x371e03=_0x3a4a8f>0x1?void 0x0:_0x3a4a8f?fn(_0x4601ac,_0x1e7f38):_0x4601ac,_0x528872=_0xdee9e[_0x3b883c(0x2db)]-0x1,_0x2b42cd;_0x528872>=0x0;_0x528872--)(_0x2b42cd=_0xdee9e[_0x528872])&&(_0x371e03=_0x2b42cd(_0x371e03)||_0x371e03);return _0x371e03;},ue=(_0x5b40b7,_0x34b67d)=>(_0x27d6b3,_0x460a69)=>_0x34b67d(_0x27d6b3,_0x460a69,_0x5b40b7);exports['CollaborativeUndoRedoService']=class extends a[_0x447e66(0x474)]{constructor(_0x14aebb,_0x7ac72d,_0x356a9d,_0x2d410c,_0x543f67){var _0x38992e=_0x447e66;super(_0x14aebb,_0x7ac72d,_0x356a9d),this[_0x38992e(0x1f7)]=_0x2d410c,this['_logService']=_0x543f67;}['transformUndoRedo'](_0x138095,_0x29f69b){var _0x3f3122=_0x447e66;const _0x52e9ba=this[_0x3f3122(0x32d)](_0x138095);if(_0x52e9ba)try{const _0x27920d=this[_0x3f3122(0x3d6)](_0x52e9ba,_0x29f69b);this['_substituteUndoStack'](_0x138095,_0x27920d);}catch(_0x1dafff){this[_0x3f3122(0x410)][_0x3f3122(0x37a)](_0x3f3122(0x480),_0x1dafff),this[_0x3f3122(0x1e7)](_0x138095);}const _0x4748e9=this[_0x3f3122(0x4ea)](_0x138095);if(_0x4748e9)try{const _0x5babfc=this[_0x3f3122(0x3d6)](_0x4748e9,_0x29f69b);this[_0x3f3122(0x3f5)](_0x138095,_0x5babfc);}catch(_0x5912c9){this[_0x3f3122(0x410)][_0x3f3122(0x37a)](_0x5912c9),this['_clearRedo'](_0x138095);}}['_clearUndo'](_0x312f43){var _0x1d3862=_0x447e66;const _0xaec07c=this[_0x1d3862(0x32d)](_0x312f43);_0xaec07c&&(_0xaec07c[_0x1d3862(0x2db)]=0x0,this['_updateStatus']());}[_0x447e66(0x485)](_0x2e7448){var _0x6ad2f4=_0x447e66;const _0x31a3cb=this['_getRedoStack'](_0x2e7448);_0x31a3cb&&(_0x31a3cb[_0x6ad2f4(0x2db)]=0x0,this['_updateStatus']());}[_0x447e66(0x281)](_0x213f45,_0x53fb98){var _0x2133a0=_0x447e66;this[_0x2133a0(0x45a)]['set'](_0x213f45,_0x53fb98),this[_0x2133a0(0x2b8)]();}[_0x447e66(0x3f5)](_0x3ee239,_0x4adbd2){var _0x347371=_0x447e66;this[_0x347371(0x3fd)][_0x347371(0x47f)](_0x3ee239,_0x4adbd2),this[_0x347371(0x2b8)]();}[_0x447e66(0x3d6)](_0x80f667,_0x88492e){var _0x57f49a=_0x447e66;const _0xea3e84=[];let _0x57526e=_0x88492e,_0x245b07=_0x88492e;for(let _0x171b2b=_0x80f667['length']-0x1;_0x171b2b>=0x0;_0x171b2b--){const {unitID:_0x19d04b,undoMutations:_0x1848d6,redoMutations:_0x3fd29c}=_0x80f667[_0x171b2b],_0x2e4ed0=this['_transformService']['transformMutationsWithChangeset'](_0x57526e,_0x1848d6),_0xc814fb=this[_0x57f49a(0x1f7)][_0x57f49a(0x235)](_0x245b07,_0x3fd29c);if(p[_0x57f49a(0x37b)](_0x2e4ed0)||p['isTransformMutationsWithChangesetFailure'](_0xc814fb)){this[_0x57f49a(0x410)][_0x57f49a(0x37a)](_0x57f49a(0x480),'transformStack\x20failed!',_0x2e4ed0,_0xc814fb);break;}_0x57526e=_0x2e4ed0[_0x57f49a(0x272)],_0x245b07=_0xc814fb[_0x57f49a(0x272)],_0xea3e84['push']({'unitID':_0x19d04b,'undoMutations':_0x2e4ed0[_0x57f49a(0x1a9)],'redoMutations':_0xc814fb[_0x57f49a(0x1a9)]});}return _0xea3e84[_0x57f49a(0x4f2)]();}},exports[_0x447e66(0x1c2)]=In([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x447e66(0x35e)]),ue(0x2,a[_0x447e66(0x35b)]),ue(0x3,p[_0x447e66(0x274)]),ue(0x4,a[_0x447e66(0x310)])],exports[_0x447e66(0x1c2)]);var pn=Object[_0x447e66(0x3b7)],mn=Object[_0x447e66(0x20f)],gn=(_0x337e51,_0x36bf19,_0x45fdd2)=>_0x36bf19 in _0x337e51?pn(_0x337e51,_0x36bf19,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45fdd2}):_0x337e51[_0x36bf19]=_0x45fdd2,En=(_0xc5d1a6,_0x12959e,_0x45d363,_0x5bdfd9)=>{var _0x445aee=_0x447e66;for(var _0x2256ac=_0x5bdfd9>0x1?void 0x0:_0x5bdfd9?mn(_0x12959e,_0x45d363):_0x12959e,_0x31d317=_0xc5d1a6[_0x445aee(0x2db)]-0x1,_0x268979;_0x31d317>=0x0;_0x31d317--)(_0x268979=_0xc5d1a6[_0x31d317])&&(_0x2256ac=_0x268979(_0x2256ac)||_0x2256ac);return _0x2256ac;},Le=(_0x228bb1,_0x5d38f3)=>(_0x217da0,_0x4da3fb)=>_0x5d38f3(_0x217da0,_0x4da3fb,_0x228bb1),Cn=(_0x5131d2,_0x310dae,_0x95b2e8)=>gn(_0x5131d2,_0x310dae+'',_0x95b2e8);const Tn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x447e66(0x4d8)]=class extends a[_0x447e66(0x236)]{constructor(_0xa10d41,_0x9d24eb,_0x2a8bd6,_0x439bd6){var _0x35b45e=_0x447e66;super(),A(this,_0x35b45e(0x198)),(this['_logService']=_0x9d24eb,this[_0x35b45e(0x39d)]=_0x2a8bd6,this[_0x35b45e(0x47b)]=_0x439bd6);const {..._0x5e6f62}=a[_0x35b45e(0x46f)]({},Zt,_0xa10d41);if(!_0x5e6f62[_0x35b45e(0x498)])throw new Error(_0x35b45e(0x4db));this[_0x35b45e(0x198)]=_0x5e6f62,this[_0x35b45e(0x47b)][_0x35b45e(0x25f)](Y,_0x5e6f62);}[_0x447e66(0x401)](){var _0xfbe01d=_0x447e66;this[_0xfbe01d(0x431)](),this['_initDependencies']();}[_0x447e66(0x431)](){var _0x56a891=_0x447e66,_0x521e46,_0x2f560a;this['_injector'][_0x56a891(0x3e8)](a[_0x56a891(0x34a)])&&this[_0x56a891(0x410)][_0x56a891(0x37a)](_0x56a891(0x361),_0x56a891(0x22b));const _0x5deb1f=a[_0x56a891(0x4c6)]([[a[_0x56a891(0x34a)],{'useClass':exports[_0x56a891(0x1c2)]}],[exports[_0x56a891(0x1ab)]],[exports[_0x56a891(0x395)]],[exports[_0x56a891(0x41f)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x56a891(0x2d9)]],[Fe,{'useClass':this[_0x56a891(0x198)]['socketService']}],[p['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x56a891(0x1f8)],{'useClass':exports[_0x56a891(0x4ed)]}],[z['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[a[_0x56a891(0x443)],{'useClass':exports[_0x56a891(0x180)]}],[exports['CollaborationController']],[xe]],(_0x521e46=this[_0x56a891(0x198)])==null?void 0x0:_0x521e46[_0x56a891(0x41c)]);if(!((_0x2f560a=this[_0x56a891(0x198)])!=null&&_0x2f560a[_0x56a891(0x368)])){const _0x2b4071=_0x5deb1f[_0x56a891(0x344)](([_0x2c16f9])=>_0x2c16f9===de);_0x2b4071!==-0x1&&_0x5deb1f[_0x56a891(0x3b2)](_0x2b4071,0x1);}a[_0x56a891(0x3e5)](this['_injector'],_0x5deb1f);}[_0x447e66(0x473)](){var _0x4cd921=_0x447e66,_0xa549b7,_0x2dcbfd,_0x9e9b65;this[_0x4cd921(0x39d)][_0x4cd921(0x497)](q[_0x4cd921(0x38c)])[_0x4cd921(0x46a)]({'priority':0x14,'interceptor':q[_0x4cd921(0x276)]({'maxParallel':0x6})}),(_0xa549b7=this[_0x4cd921(0x198)])!=null&&_0xa549b7[_0x4cd921(0x2ef)]||(_0x2dcbfd=this[_0x4cd921(0x39d)]['get'](K,a[_0x4cd921(0x356)][_0x4cd921(0x2e1)]))==null||_0x2dcbfd['disableLocalCache'](),(_0x9e9b65=this[_0x4cd921(0x198)])!=null&&_0x9e9b65['enableAuthServer']&&a[_0x4cd921(0x4f0)](this['_injector'],[[ye]]),a[_0x4cd921(0x4f0)](this[_0x4cd921(0x39d)],[[Ne],[exports[_0x4cd921(0x17f)]],[De]]);}},Cn(exports[_0x447e66(0x4d8)],'pluginName',Tn),exports[_0x447e66(0x4d8)]=En([a[_0x447e66(0x1ed)](p['UniverCollaborationPlugin'],q[_0x447e66(0x2fb)]),Le(0x1,a[_0x447e66(0x310)]),Le(0x2,a[_0x447e66(0x39f)](a['Injector'])),Le(0x3,a['IConfigService'])],exports[_0x447e66(0x4d8)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x447e66(0x2f1)]=je,exports[_0x447e66(0x3d7)]=Z,exports[_0x447e66(0x37f)]=ee,exports[_0x447e66(0x43c)]=$e,exports[_0x447e66(0x3c8)]=ht,exports[_0x447e66(0x4a0)]=jt,exports[_0x447e66(0x42f)]=At,exports[_0x447e66(0x20c)]=_t,exports[_0x447e66(0x184)]=ke,exports['ICollaborationSocketService']=Fe,exports[_0x447e66(0x312)]=K,exports[_0x447e66(0x27f)]=pt,exports[_0x447e66(0x4f8)]=de,exports[_0x447e66(0x3f6)]=xt,exports[_0x447e66(0x43b)]=Lt,exports[_0x447e66(0x475)]=Ht,exports[_0x447e66(0x1ee)]=ut,exports['SessionStatus']=re,exports[_0x447e66(0x1ae)]=He,exports['deserializeToCombResponse']=mt,exports[_0x447e66(0x314)]=Kt,exports[_0x447e66(0x390)]=gt;
1
+ 'use strict';var _0x457b8a=_0x5b3e;(function(_0x2a225e,_0x27e05f){var _0x4e20fb=_0x5b3e,_0x81502a=_0x2a225e();while(!![]){try{var _0x365ef1=parseInt(_0x4e20fb(0x42a))/0x1*(-parseInt(_0x4e20fb(0x351))/0x2)+parseInt(_0x4e20fb(0x3c1))/0x3*(parseInt(_0x4e20fb(0x243))/0x4)+-parseInt(_0x4e20fb(0x3b8))/0x5*(parseInt(_0x4e20fb(0x1d3))/0x6)+-parseInt(_0x4e20fb(0x31c))/0x7*(-parseInt(_0x4e20fb(0x31f))/0x8)+parseInt(_0x4e20fb(0x294))/0x9+parseInt(_0x4e20fb(0x2e6))/0xa+-parseInt(_0x4e20fb(0x449))/0xb*(parseInt(_0x4e20fb(0x2f3))/0xc);if(_0x365ef1===_0x27e05f)break;else _0x81502a['push'](_0x81502a['shift']());}catch(_0x493600){_0x81502a['push'](_0x81502a['shift']());}}}(_0x4f2a,0x6a632));var bt=Object['defineProperty'],Ot=(_0x501872,_0xa8ce56,_0x43f164)=>_0xa8ce56 in _0x501872?bt(_0x501872,_0xa8ce56,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43f164}):_0x501872[_0xa8ce56]=_0x43f164,A=(_0x4176de,_0x5f5be3,_0x11a604)=>Ot(_0x4176de,typeof _0x5f5be3!='symbol'?_0x5f5be3+'':_0x5f5be3,_0x11a604);Object[_0x457b8a(0x40b)](exports,Symbol[_0x457b8a(0x3e0)],{'value':_0x457b8a(0x363)});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt='/universer-api/snapshot',Dt=_0x457b8a(0x132),Ut=0x7d0,ht='ws://127.0.0.1:8000/universer-api/comb/connect',At='/universer-api/user/session-ticket',_t=_0x457b8a(0x1fb),Pt=0x7530,ke=_0x457b8a(0x131),lt=0x4e20,wt=0x4e20,ut=_0x457b8a(0x32a),Mt=0x3,Lt=_0x457b8a(0x438),xt=0x3e8,kt='/universer-api/comb',$t='/universer-api/oidc/authpage',Ht=_0x457b8a(0x258),jt=_0x457b8a(0x1ea);var dt=(_0xe57f5e=>(_0xe57f5e[_0xe57f5e[_0x457b8a(0x29c)]=0x0]=_0x457b8a(0x29c),_0xe57f5e[_0xe57f5e['OK']=0x1]='OK',_0xe57f5e[_0xe57f5e[_0x457b8a(0x32e)]=0x2]=_0x457b8a(0x32e),_0xe57f5e[_0xe57f5e['PERMISSION_DENIED']=0x3]=_0x457b8a(0x3ea),_0xe57f5e[_0xe57f5e[_0x457b8a(0x2d1)]=0x4]=_0x457b8a(0x2d1),_0xe57f5e[_0xe57f5e[_0x457b8a(0x18d)]=0x5]=_0x457b8a(0x18d),_0xe57f5e[_0xe57f5e[_0x457b8a(0x410)]=0x6]=_0x457b8a(0x410),_0xe57f5e[_0xe57f5e['INVALID_ARGUMENT']=0x7]=_0x457b8a(0x48a),_0xe57f5e[_0xe57f5e[_0x457b8a(0x2ea)]=0x8]=_0x457b8a(0x2ea),_0xe57f5e[_0xe57f5e['COMPLETION_FINISHED']=0x9]=_0x457b8a(0x28e),_0xe57f5e[_0xe57f5e[_0x457b8a(0x39e)]=0xa]=_0x457b8a(0x39e),_0xe57f5e[_0xe57f5e[_0x457b8a(0x29a)]=0xb]=_0x457b8a(0x29a),_0xe57f5e[_0xe57f5e[_0x457b8a(0x356)]=0xc]=_0x457b8a(0x356),_0xe57f5e[_0xe57f5e[_0x457b8a(0x26c)]=0xd]=_0x457b8a(0x26c),_0xe57f5e[_0xe57f5e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x457b8a(0x21d),_0xe57f5e[_0xe57f5e[_0x457b8a(0x2d7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xe57f5e[_0xe57f5e[_0x457b8a(0x40a)]=0x1771]=_0x457b8a(0x40a),_0xe57f5e[_0xe57f5e[_0x457b8a(0x422)]=0x1772]=_0x457b8a(0x422),_0xe57f5e[_0xe57f5e[_0x457b8a(0x41d)]=0x1773]=_0x457b8a(0x41d),_0xe57f5e[_0xe57f5e[_0x457b8a(0x160)]=0x1b59]='APPLY_REJECT',_0xe57f5e[_0xe57f5e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x457b8a(0x26a),_0xe57f5e[_0xe57f5e[_0x457b8a(0x2d4)]=0x1b5b]=_0x457b8a(0x2d4),_0xe57f5e[_0xe57f5e[_0x457b8a(0x2b1)]=0x1b5c]=_0x457b8a(0x2b1),_0xe57f5e[_0xe57f5e[_0x457b8a(0x264)]=0x1b5d]=_0x457b8a(0x264),_0xe57f5e[_0xe57f5e[_0x457b8a(0x152)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xe57f5e[_0xe57f5e[_0x457b8a(0x215)]=0x2329]=_0x457b8a(0x215),_0xe57f5e[_0xe57f5e[_0x457b8a(0x3ca)]=0x232a]=_0x457b8a(0x3ca),_0xe57f5e[_0xe57f5e[_0x457b8a(0x24d)]=0x232b]=_0x457b8a(0x24d),_0xe57f5e[_0xe57f5e[_0x457b8a(0x488)]=0x232c]=_0x457b8a(0x488),_0xe57f5e[_0xe57f5e[_0x457b8a(0x3ed)]=0x232d]=_0x457b8a(0x3ed),_0xe57f5e[_0xe57f5e[_0x457b8a(0x3bc)]=0x2711]=_0x457b8a(0x3bc),_0xe57f5e[_0xe57f5e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xe57f5e[_0xe57f5e['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xe57f5e[_0xe57f5e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x457b8a(0x15d),_0xe57f5e[_0xe57f5e['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x457b8a(0x33c),_0xe57f5e[_0xe57f5e[_0x457b8a(0x47c)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xe57f5e[_0xe57f5e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xe57f5e[_0xe57f5e[_0x457b8a(0x358)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xe57f5e[_0xe57f5e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x457b8a(0x474),_0xe57f5e[_0xe57f5e['YUUMI_AI_RUN_FAILED']=0x271f]=_0x457b8a(0x1a5),_0xe57f5e[_0xe57f5e[_0x457b8a(0x203)]=0x2720]=_0x457b8a(0x203),_0xe57f5e[_0xe57f5e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x457b8a(0x47b),_0xe57f5e[_0xe57f5e[_0x457b8a(0x34c)]=0x2ee1]=_0x457b8a(0x34c),_0xe57f5e[_0xe57f5e[_0x457b8a(0x398)]=0x2ee2]='INVALID_INVITE_CODE',_0xe57f5e[_0xe57f5e[_0x457b8a(0x41e)]=0x2ee3]=_0x457b8a(0x41e),_0xe57f5e[_0xe57f5e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x457b8a(0x479),_0xe57f5e[_0xe57f5e[_0x457b8a(0x2eb)]=0x2ee5]=_0x457b8a(0x2eb),_0xe57f5e[_0xe57f5e[_0x457b8a(0x1bd)]=0x32c9]=_0x457b8a(0x1bd),_0xe57f5e[_0xe57f5e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x457b8a(0x45e),_0xe57f5e[_0xe57f5e[_0x457b8a(0x232)]=0x32cb]=_0x457b8a(0x232),_0xe57f5e[_0xe57f5e[_0x457b8a(0x405)]=-0x1]=_0x457b8a(0x405),_0xe57f5e))(dt||{}),J=(_0x2c654b=>(_0x2c654b[_0x2c654b[_0x457b8a(0x15a)]=0x0]=_0x457b8a(0x15a),_0x2c654b[_0x2c654b[_0x457b8a(0x129)]=0x1]='UNIVER_DOC',_0x2c654b[_0x2c654b[_0x457b8a(0x18f)]=0x2]=_0x457b8a(0x18f),_0x2c654b[_0x2c654b[_0x457b8a(0x135)]=0x3]=_0x457b8a(0x135),_0x2c654b[_0x2c654b['UNIVER_PROJECT']=0x4]=_0x457b8a(0x421),_0x2c654b[_0x2c654b[_0x457b8a(0x405)]=-0x1]=_0x457b8a(0x405),_0x2c654b))(J||{}),W=(_0xf7e6d7=>(_0xf7e6d7[_0xf7e6d7[_0x457b8a(0x20c)]=0x0]='UNKNOWN_CMD',_0xf7e6d7[_0xf7e6d7[_0x457b8a(0x41a)]=0x1]='HELLO',_0xf7e6d7[_0xf7e6d7[_0x457b8a(0x3f9)]=0x2]=_0x457b8a(0x3f9),_0xf7e6d7[_0xf7e6d7[_0x457b8a(0x416)]=0x3]=_0x457b8a(0x416),_0xf7e6d7[_0xf7e6d7[_0x457b8a(0x2a8)]=0x4]=_0x457b8a(0x2a8),_0xf7e6d7[_0xf7e6d7[_0x457b8a(0x445)]=0x5]='HEARTBEAT',_0xf7e6d7[_0xf7e6d7['RECV']=0x6]=_0x457b8a(0x299),_0xf7e6d7[_0xf7e6d7[_0x457b8a(0x405)]=-0x1]=_0x457b8a(0x405),_0xf7e6d7))(W||{}),se=(_0x5f1877=>(_0x5f1877[_0x5f1877[_0x457b8a(0x192)]=0x0]=_0x457b8a(0x192),_0x5f1877[_0x5f1877['OK']=0x1]='OK',_0x5f1877[_0x5f1877[_0x457b8a(0x3fe)]=0x2]=_0x457b8a(0x3fe),_0x5f1877[_0x5f1877[_0x457b8a(0x1de)]=0x3e9]=_0x457b8a(0x1de),_0x5f1877[_0x5f1877[_0x457b8a(0x411)]=0x3ea]=_0x457b8a(0x411),_0x5f1877[_0x5f1877[_0x457b8a(0x1f8)]=0x3eb]=_0x457b8a(0x1f8),_0x5f1877[_0x5f1877['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x5f1877[_0x5f1877[_0x457b8a(0x405)]=-0x1]='UNRECOGNIZED',_0x5f1877))(se||{}),vt=(_0x20b6cb=>(_0x20b6cb[_0x20b6cb[_0x457b8a(0x179)]=0x0]='Undefined',_0x20b6cb[_0x20b6cb[_0x457b8a(0x340)]=0x1]=_0x457b8a(0x340),_0x20b6cb[_0x20b6cb[_0x457b8a(0x32c)]=0x2]=_0x457b8a(0x32c),_0x20b6cb[_0x20b6cb['UnitEmbedded']=0x3]=_0x457b8a(0x177),_0x20b6cb[_0x20b6cb[_0x457b8a(0x26f)]=0x4]='UnitSnapshot',_0x20b6cb[_0x20b6cb[_0x457b8a(0x1bc)]=0x5]=_0x457b8a(0x1bc),_0x20b6cb[_0x20b6cb[_0x457b8a(0x405)]=-0x1]='UNRECOGNIZED',_0x20b6cb))(vt||{});const Bt=_0x457b8a(0x480);function Ft(_0x1adec6){var _0x59a7da=_0x457b8a;return JSON[_0x59a7da(0x1c1)](_0x1adec6)[_0x59a7da(0x37c)];}var Z=(_0x2bd766=>(_0x2bd766[_0x457b8a(0x46e)]=_0x457b8a(0x46e),_0x2bd766['PERMISSION_DENIED']=_0x457b8a(0x3ea),_0x2bd766[_0x457b8a(0x1aa)]=_0x457b8a(0x1aa),_0x2bd766[_0x457b8a(0x1cb)]='CLOSE_ROOM',_0x2bd766['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x2bd766[_0x457b8a(0x22f)]=_0x457b8a(0x22f),_0x2bd766[_0x457b8a(0x28c)]=_0x457b8a(0x28c),_0x2bd766['SUBMIT_CHANGESET_TIMEOUT']=_0x457b8a(0x1e4),_0x2bd766))(Z||{});class ee{constructor(){var _0x4d4e89=_0x457b8a;A(this,_0x4d4e89(0x29d),new H['Subject']()),A(this,_0x4d4e89(0x1c5),this[_0x4d4e89(0x29d)][_0x4d4e89(0x2f8)]());}[_0x457b8a(0x22b)](_0x39f7c4){var _0x15bf96=_0x457b8a;this[_0x15bf96(0x29d)][_0x15bf96(0x402)](_0x39f7c4);}}class $e{constructor(){var _0x2c1790=_0x457b8a;A(this,_0x2c1790(0x283),new H[(_0x2c1790(0x2a1))]()),A(this,_0x2c1790(0x388),this['_commentUpdate$'][_0x2c1790(0x2f8)]());}['onCommentUpdate'](_0x2118fb){var _0x34ff49=_0x457b8a;this[_0x34ff49(0x283)][_0x34ff49(0x402)](_0x2118fb);}}var Vt=Object[_0x457b8a(0x37f)],Wt=(_0xd63995,_0x53b592,_0xea8e34,_0x45081d)=>{for(var _0x310872=_0x45081d>0x1?void 0x0:_0x45081d?Vt(_0x53b592,_0xea8e34):_0x53b592,_0x5ab2d9=_0xd63995['length']-0x1,_0x15380a;_0x5ab2d9>=0x0;_0x5ab2d9--)(_0x15380a=_0xd63995[_0x5ab2d9])&&(_0x310872=_0x15380a(_0x310872)||_0x310872);return _0x310872;},Ve=(_0x32aa8,_0x1174a7)=>(_0x3a0441,_0x4961d4)=>_0x1174a7(_0x3a0441,_0x4961d4,_0x32aa8);exports[_0x457b8a(0x26d)]=class extends a[_0x457b8a(0x3e2)]{constructor(_0xca743,_0xcc86c0){var _0x498d09=_0x457b8a;super(),A(this,_0x498d09(0x3e9),new Map()),A(this,_0x498d09(0x1ef),new H[(_0x498d09(0x2a1))]()),(this['_univerInstanceService']=_0xca743,this['_userManagerService']=_0xcc86c0,this[_0x498d09(0x2b3)](H[_0x498d09(0x396)](this['_univerInstanceService'][_0x498d09(0x1b8)](a[_0x498d09(0x165)]['UNIVER_SHEET'])['pipe'](V[_0x498d09(0x304)](_0x5c73b9=>_0x5c73b9[_0x498d09(0x14a)]())),this[_0x498d09(0x1b4)][_0x498d09(0x1b8)](a[_0x498d09(0x165)][_0x498d09(0x129)])[_0x498d09(0x2d5)](V['map'](_0x3d0f68=>_0x3d0f68[_0x498d09(0x14a)]())),this[_0x498d09(0x1b4)][_0x498d09(0x1b8)](a[_0x498d09(0x165)][_0x498d09(0x135)])[_0x498d09(0x2d5)](V['map'](_0x325b64=>_0x325b64[_0x498d09(0x14a)]())))[_0x498d09(0x485)](_0x95c72c=>this[_0x498d09(0x302)](_0x95c72c))));}['waitForRoom$'](_0x2c6cc5){var _0x5b66d4=_0x457b8a;return this[_0x5b66d4(0x3e9)][_0x5b66d4(0x259)](_0x2c6cc5)?H['of'](this[_0x5b66d4(0x3e9)][_0x5b66d4(0x342)](_0x2c6cc5)):this[_0x5b66d4(0x1ef)]['pipe'](V[_0x5b66d4(0x304)](_0x122f3b=>{var _0x34dda7=_0x5b66d4;if(_0x122f3b===_0x2c6cc5)return this[_0x34dda7(0x3e9)][_0x34dda7(0x342)](_0x122f3b);}));}['setCurrentUser'](_0x411f87){var _0x1f94b9=_0x457b8a;this[_0x1f94b9(0x3dd)]['setCurrentUser'](_0x411f87);}[_0x457b8a(0x254)](){var _0xf82d3a=_0x457b8a;return this[_0xf82d3a(0x3dd)][_0xf82d3a(0x254)]();}['updateMember'](_0x23bc9c,_0x559d7f){var _0x288dfe=_0x457b8a;let _0x85952e=this[_0x288dfe(0x3e9)][_0x288dfe(0x342)](_0x23bc9c);_0x85952e||(_0x85952e=new Gt(),this[_0x288dfe(0x3e9)]['set'](_0x23bc9c,_0x85952e),this['_roomCreated$']['next'](_0x23bc9c)),_0x85952e['updateMember'](_0x559d7f);}[_0x457b8a(0x41f)](_0x1362da,_0x57dda5){var _0x1f9a49=_0x457b8a;const _0x138bd7=this[_0x1f9a49(0x3e9)][_0x1f9a49(0x342)](_0x1362da);_0x138bd7&&_0x138bd7['removeMember'](_0x57dda5);}['getRoom'](_0x4a7a8a){var _0x4c84ba=_0x457b8a;return this[_0x4c84ba(0x3e9)][_0x4c84ba(0x342)](_0x4a7a8a);}[_0x457b8a(0x42e)](_0x1270cd,_0xb5bc93){var _0x1551a8=_0x457b8a;const _0x2a4c33=this[_0x1551a8(0x3e9)]['get'](_0x1270cd);if(_0x2a4c33)return _0x2a4c33[_0x1551a8(0x42e)](_0xb5bc93);}[_0x457b8a(0x302)](_0x5fd098){var _0x2df127=_0x457b8a;const _0x284f17=this[_0x2df127(0x3e9)][_0x2df127(0x342)](_0x5fd098);_0x284f17&&(_0x284f17['dispose'](),this['_roomMembers'][_0x2df127(0x282)](_0x5fd098));}['dispose'](){var _0x3e88fc=_0x457b8a;this[_0x3e88fc(0x3e9)][_0x3e88fc(0x1e3)](_0x182383=>_0x182383['dispose']()),this[_0x3e88fc(0x3e9)][_0x3e88fc(0x35f)](),this[_0x3e88fc(0x1ef)][_0x3e88fc(0x319)]();}},exports[_0x457b8a(0x26d)]=Wt([Ve(0x0,a[_0x457b8a(0x3d3)]),Ve(0x1,a[_0x457b8a(0x40f)](a[_0x457b8a(0x325)]))],exports[_0x457b8a(0x26d)]);class Gt extends a[_0x457b8a(0x3e2)]{constructor(){var _0x497ec3=_0x457b8a;super(...arguments),A(this,_0x497ec3(0x2c4),new Map()),A(this,_0x497ec3(0x211),new H['BehaviorSubject'](this[_0x497ec3(0x2c4)])),A(this,_0x497ec3(0x2cc),this[_0x497ec3(0x211)][_0x497ec3(0x2f8)]());}[_0x457b8a(0x339)](){var _0x39e4b8=_0x457b8a;this[_0x39e4b8(0x2c4)]['clear']();}[_0x457b8a(0x292)](_0x2c612e){var _0x1bb2ff=_0x457b8a;this[_0x1bb2ff(0x2c4)][_0x1bb2ff(0x15e)](_0x2c612e[_0x1bb2ff(0x466)],_0x2c612e),this[_0x1bb2ff(0x17f)]();}[_0x457b8a(0x41f)](_0x48e1ad){var _0x14e1f2=_0x457b8a;this['_members'][_0x14e1f2(0x282)](_0x48e1ad);}[_0x457b8a(0x42e)](_0x4e01f5){var _0x590138=_0x457b8a;return this[_0x590138(0x2c4)][_0x590138(0x342)](_0x4e01f5);}[_0x457b8a(0x1dc)](){var _0x477630=_0x457b8a;return Array[_0x477630(0x448)](this[_0x477630(0x2c4)][_0x477630(0x360)]());}[_0x457b8a(0x17f)](){var _0x3636c1=_0x457b8a;this['_members$'][_0x3636c1(0x402)](this[_0x3636c1(0x2c4)]);}}var Yt=Object[_0x457b8a(0x37f)],qt=(_0x444916,_0x1ea1d1,_0x3368e8,_0x2cd1ae)=>{var _0x294f38=_0x457b8a;for(var _0x43f9b0=_0x2cd1ae>0x1?void 0x0:_0x2cd1ae?Yt(_0x1ea1d1,_0x3368e8):_0x1ea1d1,_0x54d71b=_0x444916[_0x294f38(0x37c)]-0x1,_0x3bf142;_0x54d71b>=0x0;_0x54d71b--)(_0x3bf142=_0x444916[_0x54d71b])&&(_0x43f9b0=_0x3bf142(_0x43f9b0)||_0x43f9b0);return _0x43f9b0;},ce=(_0x1f7499,_0x238985)=>(_0x167849,_0x3bff7e)=>_0x238985(_0x167849,_0x3bff7e,_0x1f7499),re=(_0x5a1ba5=>(_0x5a1ba5[_0x5a1ba5['IDLE']=0x0]=_0x457b8a(0x267),_0x5a1ba5[_0x5a1ba5['JOINING']=0x1]='JOINING',_0x5a1ba5[_0x5a1ba5['OFFLINE']=0x2]=_0x457b8a(0x22d),_0x5a1ba5[_0x5a1ba5[_0x457b8a(0x2fd)]=0x3]=_0x457b8a(0x2fd),_0x5a1ba5))(re||{});const We={[se[_0x457b8a(0x3fe)]]:_0x457b8a(0x23e),[se['JOIN_ROOM_FULL']]:_0x457b8a(0x44b),[se['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[se['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[se[_0x457b8a(0x373)]]:_0x457b8a(0x1cc)};exports[_0x457b8a(0x2dd)]=class extends a['RxDisposable']{constructor(_0x36713a,_0x4092e0,_0x89fe86,_0x6f821f,_0x6bf9d7,_0x5afb33,_0x507296,_0x17983e){var _0x318a42=_0x457b8a;super(),A(this,_0x318a42(0x376),new H['BehaviorSubject'](0x0)),A(this,_0x318a42(0x15f),this[_0x318a42(0x376)][_0x318a42(0x2f8)]()),A(this,'_event$',new H[(_0x318a42(0x2a1))]()),A(this,_0x318a42(0x1c5),this['_event$']['asObservable']()),A(this,_0x318a42(0x3cd)),A(this,_0x318a42(0x401)),A(this,'_collaborationTimeoutTimer'),A(this,'_shouldReportTelemetry',!0x1),A(this,'_telemetryInfo',null),(this[_0x318a42(0x308)]=_0x36713a,this[_0x318a42(0x1da)]=_0x89fe86,this[_0x318a42(0x338)]=_0x6f821f,this[_0x318a42(0x1bb)]=_0x6bf9d7,this[_0x318a42(0x1a6)]=_0x5afb33,this[_0x318a42(0x24f)]=_0x507296,this['_telemetryService']=_0x17983e,this[_0x318a42(0x30d)]=!!this[_0x318a42(0x335)],_0x4092e0[_0x318a42(0x2d5)](H['takeUntil'](this[_0x318a42(0x318)]))[_0x318a42(0x485)](_0x1957b8=>{var _0x2a1a57=_0x318a42,_0xe9db08;typeof _0x1957b8>'u'||(this[_0x2a1a57(0x3cd)]=_0x1957b8,_0x1957b8?(this['_joinRoom'](_0x1957b8),this[_0x2a1a57(0x401)]=_0x1957b8[_0x2a1a57(0x37e)][_0x2a1a57(0x485)](_0x10e4de=>{var _0x4007b1=_0x2a1a57;_0x10e4de['routeKey']===this['_unitID']&&this[_0x4007b1(0x48c)](_0x10e4de);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$']['next'](0x2),(_0xe9db08=this['_socketMessageSubscription'])==null||_0xe9db08[_0x2a1a57(0x1cf)](),this[_0x2a1a57(0x401)]=null));}));}get[_0x457b8a(0x44a)](){var _0xff96af=_0x457b8a;return this[_0xff96af(0x376)][_0xff96af(0x234)]();}['getMemberID'](){var _0x4b4dea=_0x457b8a,_0x4da5cc,_0x5dabe1;return(_0x5dabe1=(_0x4da5cc=this[_0x4b4dea(0x3cd)])==null?void 0x0:_0x4da5cc[_0x4b4dea(0x466)])!=null?_0x5dabe1:null;}[_0x457b8a(0x339)](){var _0x566a8a=_0x457b8a;super[_0x566a8a(0x339)](),this[_0x566a8a(0x318)][_0x566a8a(0x402)](),this[_0x566a8a(0x318)][_0x566a8a(0x319)]();}[_0x457b8a(0x154)](){var _0x17e523=_0x457b8a,_0xa7ce5e,_0x326bdc;this['_throwTelemetryCollaborationNewChangeset'](),(_0xa7ce5e=this[_0x17e523(0x3cd)])==null||_0xa7ce5e[_0x17e523(0x1b2)]({'cmd':W[_0x17e523(0x416)],'data':{'roomID':this[_0x17e523(0x308)]}}),(_0x326bdc=this['_socket'])==null||_0x326bdc[_0x17e523(0x154)](),this[_0x17e523(0x29d)][_0x17e523(0x319)](),this[_0x17e523(0x376)]['complete'](),this['dispose']();}[_0x457b8a(0x48c)](_0x1fb54b){var _0x3dc001=_0x457b8a;_0x1fb54b[_0x3dc001(0x346)]===W['JOIN']?this[_0x3dc001(0x21c)](_0x1fb54b):_0x1fb54b[_0x3dc001(0x346)]===W[_0x3dc001(0x299)]&&this[_0x3dc001(0x1c4)](_0x1fb54b);}[_0x457b8a(0x2ab)](_0x18ba61){var _0x4463f5=_0x457b8a;this[_0x4463f5(0x376)][_0x4463f5(0x402)](0x1),_0x18ba61['send']({'cmd':W[_0x4463f5(0x3f9)],'routeKey':this[_0x4463f5(0x308)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4463f5(0x308)]}]}});}[_0x457b8a(0x21c)](_0x504baa){var _0x113016=_0x457b8a,_0x22ccac;if(_0x504baa[_0x113016(0x28d)]in We){this['_collaborationUIEventService'][_0x113016(0x22b)]({'id':Z[_0x113016(0x454)],'data':We[_0x504baa[_0x113016(0x28d)]]}),this['_sessionStatus$'][_0x113016(0x402)](0x2);return;}this['_sessionStatus$'][_0x113016(0x402)](0x3);const _0x4773c8=(_0x22ccac=_0x504baa[_0x113016(0x12e)][_0x113016(0x212)][this[_0x113016(0x308)]])==null?void 0x0:_0x22ccac[_0x113016(0x306)];_0x4773c8&&_0x4773c8['forEach'](_0x32704e=>this[_0x113016(0x1bb)][_0x113016(0x292)](this[_0x113016(0x308)],_0x32704e));}[_0x457b8a(0x1c4)](_0x52d2ba){var _0x282a98=_0x457b8a;try{const _0x56c3d7=_0x52d2ba[_0x282a98(0x12e)];switch(_0x56c3d7['eventID']){case p['CollaborationEvent']['USERS_ENTER']:this[_0x282a98(0x2e4)](_0x56c3d7),this['_event$']['next'](_0x56c3d7);break;case p['CollaborationEvent'][_0x282a98(0x397)]:this['_onUserLeave'](_0x56c3d7),this['_event$'][_0x282a98(0x402)](_0x56c3d7);break;case p[_0x282a98(0x214)][_0x282a98(0x161)]:case p[_0x282a98(0x214)]['CHANGESET_SHOULD_RETRY']:this[_0x282a98(0x3da)](),this[_0x282a98(0x1f6)](),this[_0x282a98(0x29d)]['next'](_0x56c3d7);break;case p[_0x282a98(0x214)][_0x282a98(0x2d0)]:this[_0x282a98(0x1da)][_0x282a98(0x431)](_0x282a98(0x1e8)+JSON['stringify'](_0x56c3d7)),this[_0x282a98(0x29d)]['next'](_0x56c3d7);break;case p[_0x282a98(0x214)][_0x282a98(0x27f)]:this[_0x282a98(0x1a6)]['onCommentUpdate'](_0x56c3d7[_0x282a98(0x12e)]),this[_0x282a98(0x29d)]['next'](_0x56c3d7);break;default:this[_0x282a98(0x29d)]['next'](_0x56c3d7);}}catch(_0x9f3c02){this[_0x282a98(0x1da)][_0x282a98(0x431)](_0x9f3c02,_0x52d2ba);}}[_0x457b8a(0x2e4)](_0xeedd2d){var _0x1a9662=_0x457b8a;this[_0x1a9662(0x1bb)][_0x1a9662(0x292)](this['_unitID'],_0xeedd2d[_0x1a9662(0x12e)]);}[_0x457b8a(0x2f2)](_0x2ab91c){var _0x24b97c=_0x457b8a;this['_memberService'][_0x24b97c(0x41f)](this[_0x24b97c(0x308)],_0x2ab91c['data'][_0x24b97c(0x466)]);}async[_0x457b8a(0x1b2)](_0x26feb5,_0x49fba9){var _0x1344b8=_0x457b8a;if(this[_0x1344b8(0x44a)]!==0x3||!this[_0x1344b8(0x3cd)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x26feb5[_0x1344b8(0x291)]===p[_0x1344b8(0x214)][_0x1344b8(0x3c9)]&&(this[_0x1344b8(0x16d)](),this['_startTelemetryCollaborationNewChangeset'](_0x26feb5)),this[_0x1344b8(0x3cd)][_0x1344b8(0x1b2)]({'cmd':W['INGEST'],'routeKey':_0x49fba9,'routeType':'','data':_0x26feb5});}catch(_0x5cfd6b){this[_0x1344b8(0x1da)][_0x1344b8(0x431)](_0x5cfd6b);}}[_0x457b8a(0x16d)](){var _0x474fcc=_0x457b8a,_0x487180;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x2aced4=_0x5b3e;this[_0x2aced4(0x3be)]=null,this[_0x2aced4(0x24f)]['emitEvent']({'id':Z[_0x2aced4(0x1e4)]});},(_0x487180=this['_configService'][_0x474fcc(0x487)](ke))!=null?_0x487180:lt);}['_clearCollaborationTimeoutTimer'](){var _0x148522=_0x457b8a;this[_0x148522(0x3be)]&&(clearTimeout(this[_0x148522(0x3be)]),this[_0x148522(0x3be)]=null);}[_0x457b8a(0x27b)](_0x1473a2){var _0x48b758=_0x457b8a;if(!this['_shouldReportTelemetry'])return;const {data:_0x590616}=_0x1473a2,{unitID:_0x37b9e9,changeset:_0x2824df}=_0x590616,{mutations:_0x55c1f8,type:_0x4b6470}=_0x2824df;this[_0x48b758(0x47e)]={'unitId':_0x37b9e9,'type':_0x4b6470,'startTime':performance[_0x48b758(0x36d)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x55c1f8)};}[_0x457b8a(0x3da)](){var _0x36722e=_0x457b8a;if(this[_0x36722e(0x30d)]){if(!this[_0x36722e(0x47e)]){this['_logService'][_0x36722e(0x431)]('[CollaborationSession]',_0x36722e(0x476));return;}this[_0x36722e(0x47e)]['stopTime']=performance[_0x36722e(0x36d)](),this['_telemetryInfo'][_0x36722e(0x270)]=this[_0x36722e(0x47e)][_0x36722e(0x35c)]-this[_0x36722e(0x47e)][_0x36722e(0x446)],this[_0x36722e(0x335)][_0x36722e(0x143)](Bt,this[_0x36722e(0x47e)]),this[_0x36722e(0x47e)]=null;}}[_0x457b8a(0x237)](){var _0x4ddaeb=_0x457b8a;this[_0x4ddaeb(0x47e)]=null;}},exports['CollaborationSession']=qt([ce(0x2,a[_0x457b8a(0x1be)]),ce(0x3,a[_0x457b8a(0x1a8)]),ce(0x4,a['Inject'](exports[_0x457b8a(0x26d)])),ce(0x5,a['Inject']($e)),ce(0x6,a[_0x457b8a(0x40f)](ee)),ce(0x7,a[_0x457b8a(0x1e6)](Rt['ITelemetryService']))],exports[_0x457b8a(0x2dd)]);const K=a['createIdentifier'](_0x457b8a(0x2cb));function Kt(_0x110f80){var _0x1fc614=_0x457b8a;return _0x1fc614(0x1f0)+_0x110f80;}var zt=Object['getOwnPropertyDescriptor'],Jt=(_0x338d66,_0x18d32e,_0x5793fd,_0xffce69)=>{var _0x13ba39=_0x457b8a;for(var _0x1a1542=_0xffce69>0x1?void 0x0:_0xffce69?zt(_0x18d32e,_0x5793fd):_0x18d32e,_0x1dec65=_0x338d66[_0x13ba39(0x37c)]-0x1,_0x4de672;_0x1dec65>=0x0;_0x1dec65--)(_0x4de672=_0x338d66[_0x1dec65])&&(_0x1a1542=_0x4de672(_0x1a1542)||_0x1a1542);return _0x1a1542;},Ue=(_0x30ea53,_0x189a31)=>(_0x1544e3,_0x4f00ff)=>_0x189a31(_0x1544e3,_0x4f00ff,_0x30ea53);function Xt(_0x404330){var _0x168ae8=_0x457b8a;const {unitID:_0x3dd0f5,mutations:_0x44be7a}=_0x404330;return{'unitId':_0x3dd0f5,'subUnitId':_0x44be7a[0x0][_0x168ae8(0x30f)][_0x168ae8(0x3d6)]};}exports[_0x457b8a(0x464)]=class{constructor(_0x4f1e23,_0x26ce4f,_0x54cc5e){var _0x24e284=_0x457b8a;this[_0x24e284(0x441)]=_0x4f1e23,this[_0x24e284(0x34d)]=_0x26ce4f,this[_0x24e284(0x370)]=_0x54cc5e;}['transformSelections'](_0x146e43){var _0x354d36=_0x457b8a,_0x544351,_0x20f2f5,_0x2e5165,_0x386d0d;const _0x4395da=this[_0x354d36(0x441)][_0x354d36(0x342)](X['SheetsSelectionsService']),{unitId:_0x4aef0d,subUnitId:_0x3a1294}=Xt(_0x146e43),_0x15bf8d=_0x4395da==null?void 0x0:_0x4395da['getWorkbookSelections'](_0x4aef0d)[_0x354d36(0x362)](),_0x33fcea=(_0x20f2f5=(_0x544351=this[_0x354d36(0x370)][_0x354d36(0x3b0)](_0x4aef0d))==null?void 0x0:_0x544351[_0x354d36(0x261)]())==null?void 0x0:_0x20f2f5[_0x354d36(0x1e9)]();if(_0x15bf8d[_0x354d36(0x37c)]===0x0||!_0x4aef0d||!_0x3a1294)return;const _0x210ed5=[{'id':X[_0x354d36(0x2c2)]['id'],'params':{'unitId':_0x4aef0d,'subUnitId':_0x33fcea,'selections':a['Tools'][_0x354d36(0x2f9)](_0x15bf8d)}}],_0x3bfcd5=this['_transformService'][_0x354d36(0x43e)](_0x146e43,_0x210ed5);if(!p[_0x354d36(0x495)](_0x3bfcd5))throw _0x3bfcd5[_0x354d36(0x431)];const _0x1f2a88=(_0x386d0d=(_0x2e5165=_0x3bfcd5['m2Prime'][0x0])==null?void 0x0:_0x2e5165[_0x354d36(0x30f)])==null?void 0x0:_0x386d0d[_0x354d36(0x2ee)];if(Array[_0x354d36(0x34b)](_0x1f2a88)&&_0x1f2a88[_0x354d36(0x37c)]){if(_0x1f2a88['length']===_0x210ed5[0x0][_0x354d36(0x30f)][_0x354d36(0x2ee)][_0x354d36(0x37c)]&&_0x1f2a88['every']((_0x87ea13,_0x2ced18)=>a[_0x354d36(0x489)]['equals'](_0x87ea13[_0x354d36(0x148)],_0x210ed5[0x0][_0x354d36(0x30f)][_0x354d36(0x2ee)][_0x2ced18][_0x354d36(0x148)])))return;this['_injector'][_0x354d36(0x342)](a[_0x354d36(0x1b6)])[_0x354d36(0x273)](X[_0x354d36(0x2c2)]['id'],{'unitId':_0x4aef0d,'subUnitId':_0x33fcea,'selections':_0x1f2a88});}}},exports[_0x457b8a(0x464)]=Jt([Ue(0x0,a['Inject'](a[_0x457b8a(0x18b)])),Ue(0x1,p['ITransformService']),Ue(0x2,a[_0x457b8a(0x3d3)])],exports[_0x457b8a(0x464)]);const de=a[_0x457b8a(0x384)](_0x457b8a(0x15c));var He=(_0xbdf20b=>(_0xbdf20b[_0xbdf20b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x457b8a(0x428),_0xbdf20b[_0xbdf20b['OTHER_CLIENTS_EDITING']=0x1]=_0x457b8a(0x209),_0xbdf20b))(He||{});const Y=_0x457b8a(0x3f0),Zt={},Qt=new Set([X[_0x457b8a(0x2a3)]['id']]);function Ge(_0x44668f,_0x5b2e27,_0x623cd0,_0x5d1a77,_0x1e0c23){var _0x1dd1b4=_0x457b8a,_0x42b792,_0x2e2e45,_0x5a8b3b,_0x184d28;const _0x544fd2=[];for(const _0x48932c of _0x44668f)if(Qt[_0x1dd1b4(0x259)](_0x48932c['id'])){if(_0x544fd2[_0x1dd1b4(0x37c)]>0x0)break;_0x544fd2['push'](_0x48932c);break;}else _0x544fd2['push'](_0x48932c);const _0x4de96c=(_0x2e2e45=(_0x42b792=_0x1e0c23[_0x1dd1b4(0x254)]())==null?void 0x0:_0x42b792[_0x1dd1b4(0x13c)])!=null?_0x2e2e45:_0x1dd1b4(0x391),_0x1314ee=(_0x184d28=(_0x5a8b3b=_0x1e0c23[_0x1dd1b4(0x254)]())==null?void 0x0:_0x5a8b3b['memberID'])!=null?_0x184d28:_0x1dd1b4(0x391);return{'changeset':{'unitID':_0x5b2e27,'type':p[_0x1dd1b4(0x3b4)](_0x623cd0['getUnitType'](_0x5b2e27)),'baseRev':_0x5d1a77['getCurrentRevOfUnit'](_0x5b2e27),'revision':0x0,'userID':_0x4de96c,'memberID':_0x1314ee,'mutations':_0x544fd2},'pendingMutations':_0x44668f[_0x1dd1b4(0x249)](_0x544fd2[_0x1dd1b4(0x37c)])};}function ei(_0x1199b8,_0x340df9,_0x32233c,_0x13d6cc,_0x3253f2){var _0x14694d=_0x457b8a,_0x34b445,_0x25f140,_0x2e32e1,_0x22421c;const _0x3c62cd=[_0x1199b8['reduce']((_0x4fe89b,_0x1e282a)=>{var _0xdd0bd3=_0x5b3e,_0x5471ee;const {id:_0x419f8b}=_0x4fe89b,{id:_0x1a6d06,type:_0x42bc99}=_0x1e282a,_0x5b2eee=(_0x5471ee=_0x4fe89b[_0xdd0bd3(0x30f)])!=null?_0x5471ee:{'actions':null},_0x38de84=_0x1e282a['params'];if(_0x419f8b&&_0x419f8b!==_0x1a6d06)throw new Error(_0xdd0bd3(0x144)+_0x419f8b+_0xdd0bd3(0x194)+_0x1a6d06+'.');return{..._0x4fe89b,'id':_0x1a6d06,'type':_0x42bc99,'params':{'unitId':_0x38de84[_0xdd0bd3(0x1ff)],'textRanges':_0x38de84['textRanges'],'actions':a['JSONX'][_0xdd0bd3(0x189)](_0x5b2eee[_0xdd0bd3(0x1f9)],_0x38de84[_0xdd0bd3(0x1f9)])}};},{})],_0x20e135=(_0x25f140=(_0x34b445=_0x3253f2[_0x14694d(0x254)]())==null?void 0x0:_0x34b445[_0x14694d(0x13c)])!=null?_0x25f140:_0x14694d(0x391),_0x1e6cd2=(_0x22421c=(_0x2e32e1=_0x3253f2[_0x14694d(0x254)]())==null?void 0x0:_0x2e32e1[_0x14694d(0x466)])!=null?_0x22421c:_0x14694d(0x391);return{'changeset':{'unitID':_0x340df9,'type':p['mapDocumentTypeToUniverType'](_0x32233c['getUnitType'](_0x340df9)),'baseRev':_0x13d6cc[_0x14694d(0x284)](_0x340df9),'revision':0x0,'userID':_0x20e135,'memberID':_0x1e6cd2,'mutations':_0x3c62cd},'pendingMutations':[]};}function St(_0x46bb89,_0xa96db0){var _0x321fcc=_0x457b8a;const _0x3bec0=new H[(_0x321fcc(0x3ad))](0x1);return setTimeout(()=>_0x3bec0[_0x321fcc(0x402)](_0xa96db0),_0x46bb89),_0x3bec0['asObservable']()[_0x321fcc(0x2d5)](H['take'](0x1));}const ti={'id':X[_0x457b8a(0x2b2)]['id'],'type':a[_0x457b8a(0x248)][_0x457b8a(0x3e8)],'params':{}};var ii=Object[_0x457b8a(0x37f)],oe=(_0x130e5d,_0x3d9060,_0x2f746d,_0x1a8fc4)=>{var _0x1c672e=_0x457b8a;for(var _0x34f8e3=_0x1a8fc4>0x1?void 0x0:_0x1a8fc4?ii(_0x3d9060,_0x2f746d):_0x3d9060,_0x2e1320=_0x130e5d[_0x1c672e(0x37c)]-0x1,_0x205e88;_0x2e1320>=0x0;_0x2e1320--)(_0x205e88=_0x130e5d[_0x2e1320])&&(_0x34f8e3=_0x205e88(_0x34f8e3)||_0x34f8e3);return _0x34f8e3;},w=(_0x18efce,_0x138b3e)=>(_0x3d3a85,_0x4cceee)=>_0x138b3e(_0x3d3a85,_0x4cceee,_0x18efce),je=(_0x2b32d4=>(_0x2b32d4['NOT_COLLAB']=_0x457b8a(0x2cf),_0x2b32d4[_0x457b8a(0x24c)]=_0x457b8a(0x3f1),_0x2b32d4['PENDING']=_0x457b8a(0x458),_0x2b32d4[_0x457b8a(0x3af)]=_0x457b8a(0x1d6),_0x2b32d4[_0x457b8a(0x16f)]=_0x457b8a(0x3a4),_0x2b32d4[_0x457b8a(0x200)]=_0x457b8a(0x281),_0x2b32d4['CONFLICT']='conflict',_0x2b32d4['OFFLINE']=_0x457b8a(0x141),_0x2b32d4))(je||{});const ft=0xea60;class ae{constructor(_0x48f211,_0x55bd17,_0x3f7b36,_0x422fde,_0x60ff62,_0x484eb8,_0x5efa46,_0x485f97,_0x35bcbd){var _0x31c37b=_0x457b8a;A(this,_0x31c37b(0x367),null),A(this,'_pendingMutations',[]),(this[_0x31c37b(0x224)]=_0x48f211,this[_0x31c37b(0x2b6)]=_0x55bd17,this[_0x31c37b(0x19e)]=_0x60ff62,this[_0x31c37b(0x42d)]=_0x484eb8,this[_0x31c37b(0x25d)]=_0x5efa46,this[_0x31c37b(0x455)]=_0x485f97,this['_localCacheService']=_0x35bcbd,this[_0x31c37b(0x367)]=_0x3f7b36,this['_pendingMutations']=_0x422fde);}[_0x457b8a(0x1e2)](_0x2f7cce){var _0x3b72af=_0x457b8a;const _0x167779=this['_revisionService'][_0x3b72af(0x284)](this[_0x3b72af(0x224)]);return _0x2f7cce[_0x3b72af(0x2c7)]>_0x167779+0x1?(this[_0x3b72af(0x19e)]['onMissingChangesets']({'from':_0x167779,'to':_0x2f7cce[_0x3b72af(0x2c7)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x280b5b){var _0x25544d=_0x457b8a;this[_0x25544d(0x25d)][_0x25544d(0x3c5)](this[_0x25544d(0x224)],_0x280b5b);}[_0x457b8a(0x295)](_0x2e6268){var _0x5caec6=_0x457b8a,_0x17e8fd,_0x64f57;(_0x64f57=(_0x17e8fd=this[_0x5caec6(0x19e)])[_0x5caec6(0x36a)])==null||_0x64f57['call'](_0x17e8fd,_0x2e6268);}[_0x457b8a(0x24e)](_0x31f0b7){var _0x37bc65=_0x457b8a,_0x5ad2be,_0x4e17ab;return(_0x4e17ab=(_0x5ad2be=this[_0x37bc65(0x19e)])[_0x37bc65(0x12b)])==null?void 0x0:_0x4e17ab[_0x37bc65(0x18c)](_0x5ad2be,_0x31f0b7);}['_transformStateCache'](_0x310d70){var _0x1790ed=_0x457b8a,_0x540d6e,_0x26b856;return(_0x26b856=(_0x540d6e=this[_0x1790ed(0x19e)])[_0x1790ed(0x315)])==null?void 0x0:_0x26b856[_0x1790ed(0x18c)](_0x540d6e,_0x310d70);}['_transformRemoteChangesetByIMECache'](_0x11dfe7){var _0x12f6aa=_0x457b8a,_0x353514,_0x53cf31,_0x41933d;return(_0x41933d=(_0x53cf31=(_0x353514=this[_0x12f6aa(0x19e)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x53cf31[_0x12f6aa(0x18c)](_0x353514,_0x11dfe7))!=null?_0x41933d:_0x11dfe7;}[_0x457b8a(0x420)](_0x163366){var _0x587f52=_0x457b8a,_0xdf9e0d,_0x1d8b31,_0x2f6183;return(_0x2f6183=(_0x1d8b31=(_0xdf9e0d=this[_0x587f52(0x19e)])[_0x587f52(0x150)])==null?void 0x0:_0x1d8b31[_0x587f52(0x18c)](_0xdf9e0d,_0x163366))!=null?_0x2f6183:_0x163366;}[_0x457b8a(0x491)](_0xe6e390){var _0x57dfb1=_0x457b8a,_0x15cc63,_0x237839;if(this[_0x57dfb1(0x2b6)]===J[_0x57dfb1(0x129)]){const {unitID:_0xfb77e9,mutations:_0xfd6bf4,memberID:_0x160e48}=_0xe6e390,_0xcadef1=_0xfd6bf4[0x0][_0x57dfb1(0x30f)][_0x57dfb1(0x2b9)];Array[_0x57dfb1(0x34b)](_0xcadef1)&&_0xcadef1['length']>0x0&&((_0x237839=(_0x15cc63=this[_0x57dfb1(0x19e)])['onSyncEditingCollabCursor'])==null||_0x237839['call'](_0x15cc63,{'unitID':_0xfb77e9,'memberID':_0x160e48,'textRanges':_0xcadef1}));}}[_0x457b8a(0x268)](){var _0x2bce01=_0x457b8a,_0x53ad36;(_0x53ad36=this[_0x2bce01(0x240)])==null||_0x53ad36['updateOfflineData'](this[_0x2bce01(0x224)],this[_0x2bce01(0x2b6)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x504b6d=_0x457b8a;return this['_revisionService'][_0x504b6d(0x284)](this[_0x504b6d(0x224)]);}[_0x457b8a(0x1f2)](){var _0x1032ab=_0x457b8a;this[_0x1032ab(0x455)][_0x1032ab(0x427)](this[_0x1032ab(0x224)]);}['_executeRemoteChangeset'](_0x3f0915){var _0x1f5d59=_0x457b8a,_0x91c8e6;let _0x40fdc5=this['_transformRemoteChangesetByIMECache'](_0x3f0915);_0x40fdc5=this['_transformRemoteChangesetByStateCache'](_0x40fdc5);const _0x21bf0b=a[_0x1f5d59(0x415)](_0x40fdc5[_0x1f5d59(0x28f)],this[_0x1f5d59(0x42d)],{'fromCollab':!0x0});if(!_0x21bf0b[_0x1f5d59(0x197)])throw _0x21bf0b[_0x1f5d59(0x431)]instanceof Error?_0x21bf0b[_0x1f5d59(0x431)]:new Error((_0x91c8e6=_0x21bf0b[_0x1f5d59(0x431)])!=null?_0x91c8e6:_0x1f5d59(0x257));this[_0x1f5d59(0x24e)](_0x40fdc5),this[_0x1f5d59(0x1e7)](_0x40fdc5),this['_transformUndoredo'](_0x3f0915),this['_transformSelections'](_0x40fdc5),this['_syncEditingCollabCursor'](_0x40fdc5),this[_0x1f5d59(0x1f2)]();}}function _0x5b3e(_0x4e3585,_0x17c864){var _0x4f2a89=_0x4f2a();return _0x5b3e=function(_0x5b3e3f,_0x155462){_0x5b3e3f=_0x5b3e3f-0x127;var _0x44e5ec=_0x4f2a89[_0x5b3e3f];return _0x44e5ec;},_0x5b3e(_0x4e3585,_0x17c864);}exports['SyncedState']=class extends ae{constructor(_0x1dd4d1,_0x4c99d9,_0x43862c,_0x94e49a,_0x7b03a2,_0xa6e798,_0x1ec7e9,_0x40b9b3,_0x38dc0e,_0x41d6fc){var _0x291aa0=_0x457b8a;super(_0x1dd4d1,_0x4c99d9,null,[],_0x43862c,_0x1ec7e9,_0xa6e798,_0x94e49a,_0x41d6fc),A(this,_0x291aa0(0x2dc),_0x291aa0(0x3f1)),(this['_injector']=_0x7b03a2,this[_0x291aa0(0x1da)]=_0x40b9b3,this[_0x291aa0(0x34d)]=_0x38dc0e,this[_0x291aa0(0x17a)]=_0x41d6fc);}['appendMutation'](_0xdc6a95){var _0x39e0d2=_0x457b8a;const _0x5acb49=this['_injector'][_0x39e0d2(0x233)](exports[_0x39e0d2(0x37b)],this['unitID'],this[_0x39e0d2(0x2b6)],[_0xdc6a95],this['_handler']);return _0x5acb49[_0x39e0d2(0x23c)](),_0x5acb49[_0x39e0d2(0x268)](),_0x5acb49;}['onRemoteChangeset'](_0x1c4fba){var _0x472255=_0x457b8a;if(this[_0x472255(0x1e2)](_0x1c4fba))return this[_0x472255(0x441)][_0x472255(0x233)](exports[_0x472255(0x1c2)],this[_0x472255(0x224)],this['type'],null,[],null,[_0x1c4fba],this[_0x472255(0x19e)]);try{const _0x2fbfe4=this[_0x472255(0x34d)][_0x472255(0x43e)](_0x1c4fba,[ti]);if(p[_0x472255(0x495)](_0x2fbfe4)){const {c1Prime:_0x131174}=_0x2fbfe4;return this[_0x472255(0x2e1)](_0x131174),this;}throw _0x2fbfe4[_0x472255(0x431)];}catch(_0x2d0b3f){return this[_0x472255(0x1da)][_0x472255(0x431)](_0x2d0b3f),this[_0x472255(0x3b6)](!0x1);}}[_0x457b8a(0x3b6)](_0x53e7d8){var _0x427fed=_0x457b8a;return this[_0x427fed(0x441)][_0x427fed(0x233)](exports[_0x427fed(0x300)],this['unitID'],this['type'],null,[],this[_0x427fed(0x19e)],_0x53e7d8);}['onRemoteAck'](){var _0x591d14=_0x457b8a;throw new Error(_0x591d14(0x33f));}['onRemoteRej'](){var _0x1babd5=_0x457b8a;throw new Error(_0x1babd5(0x24b));}[_0x457b8a(0x30b)](){return this;}[_0x457b8a(0x146)](){var _0x2947c3=_0x457b8a;return this[_0x2947c3(0x441)]['createInstance'](exports[_0x2947c3(0x36e)],this[_0x2947c3(0x224)],this['type'],null,[],this[_0x2947c3(0x19e)]);}[_0x457b8a(0x263)](){return this;}[_0x457b8a(0x439)](){var _0x470cc4=_0x457b8a;throw new Error(_0x470cc4(0x139));}['fetchMiss'](){var _0x21475c=_0x457b8a;const _0x3fa131=this[_0x21475c(0x455)][_0x21475c(0x284)](this[_0x21475c(0x224)]);return this[_0x21475c(0x19e)][_0x21475c(0x16b)]({'from':_0x3fa131,'to':0x0}),this[_0x21475c(0x441)][_0x21475c(0x233)](exports[_0x21475c(0x1c2)],this['unitID'],this[_0x21475c(0x2b6)],null,[],null,[],this[_0x21475c(0x19e)]);}},exports[_0x457b8a(0x432)]=oe([w(0x3,a['Inject'](p[_0x457b8a(0x407)])),w(0x4,a[_0x457b8a(0x40f)](a[_0x457b8a(0x18b)])),w(0x5,a[_0x457b8a(0x178)]),w(0x6,a[_0x457b8a(0x1b6)]),w(0x7,a[_0x457b8a(0x1be)]),w(0x8,p[_0x457b8a(0x2f7)]),w(0x9,a['Optional'](K))],exports[_0x457b8a(0x432)]),exports[_0x457b8a(0x37b)]=class extends ae{constructor(_0x5e1a57,_0x544170,_0x5db1fc,_0xc2f400,_0x400cee,_0x39f210,_0x2b3b90,_0x52ac7f,_0x1c225e,_0x2f7f37,_0x3ddd47,_0x8ca029,_0x105b4a,_0x28436d){var _0x3b6e6d=_0x457b8a;super(_0x5e1a57,_0x544170,null,_0x5db1fc,_0xc2f400,_0x1c225e,_0x105b4a,_0x39f210,_0x28436d),A(this,'status','pending'),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x3b6e6d(0x38c),null),(this['_injector']=_0x400cee,this[_0x3b6e6d(0x1bb)]=_0x2b3b90,this['_logService']=_0x52ac7f,this[_0x3b6e6d(0x338)]=_0x2f7f37,this['_transformService']=_0x3ddd47,this[_0x3b6e6d(0x1b4)]=_0x8ca029);}[_0x457b8a(0x1d7)](_0x3e101c){var _0x396feb=_0x457b8a;return this[_0x396feb(0x1c0)][_0x396feb(0x433)](_0x3e101c),this[_0x396feb(0x268)](),this;}['onRemoteChangeset'](_0x2e06d8){var _0x305a94=_0x457b8a;if(this['_checkMissing'](_0x2e06d8))return this['_clearScheduledTask'](),this[_0x305a94(0x441)]['createInstance'](exports[_0x305a94(0x1c2)],this[_0x305a94(0x224)],this[_0x305a94(0x2b6)],null,this[_0x305a94(0x1c0)],null,[_0x2e06d8],this['_handler']);try{const _0x579c6e=this['_transformService']['transformMutationsWithChangeset'](_0x2e06d8,this[_0x305a94(0x1c0)]);if(p[_0x305a94(0x495)](_0x579c6e)){const {c1Prime:_0x2eac97,m2Prime:_0x869f4f}=_0x579c6e;this[_0x305a94(0x2e1)](_0x2eac97);const _0x151605=this[_0x305a94(0x441)]['createInstance'](exports[_0x305a94(0x37b)],this['unitID'],this['type'],_0x869f4f,this[_0x305a94(0x19e)]);this[_0x305a94(0x3f7)]();const _0x5c2598=new Date()[_0x305a94(0x2b7)](),_0x1bdf25=this['_scheduleCompleteTimestamp']?Math[_0x305a94(0x382)](this[_0x305a94(0x419)]-_0x5c2598,0x0):this[_0x305a94(0x242)]();return _0x151605['_schedule'](_0x1bdf25),_0x151605;}throw _0x579c6e['error'];}catch(_0x4636af){return this[_0x305a94(0x1da)][_0x305a94(0x431)](_0x4636af),this[_0x305a94(0x3b6)](!0x1);}}[_0x457b8a(0x494)](){var _0x5cf96e=_0x457b8a;throw new Error(_0x5cf96e(0x471));}[_0x457b8a(0x172)](){var _0x536e1f=_0x457b8a;throw new Error(_0x536e1f(0x43a));}[_0x457b8a(0x30b)](){return this;}[_0x457b8a(0x146)](){var _0x51bd63=_0x457b8a;return this[_0x51bd63(0x3f7)](),this[_0x51bd63(0x441)][_0x51bd63(0x233)](exports[_0x51bd63(0x36e)],this[_0x51bd63(0x224)],this[_0x51bd63(0x2b6)],null,this[_0x51bd63(0x1c0)],this['_handler']);}[_0x457b8a(0x263)](){return this;}['_schedule'](_0x269de9){var _0x49a520=_0x457b8a;const _0x3ec5f1=_0x269de9!=null?_0x269de9:this[_0x49a520(0x242)]();this[_0x49a520(0x419)]=new Date()[_0x49a520(0x2b7)]()+_0x3ec5f1,this[_0x49a520(0x38c)]=setTimeout(()=>{var _0x1ec7d3=_0x49a520;this[_0x1ec7d3(0x3f7)]();let _0x1407e9=null;switch(this['type']){case J[_0x1ec7d3(0x18f)]:{_0x1407e9=Ge(this[_0x1ec7d3(0x1c0)],this['unitID'],this[_0x1ec7d3(0x1b4)],this['_revisionService'],this[_0x1ec7d3(0x1bb)]);break;}case J[_0x1ec7d3(0x129)]:{this['_pendingMutations'][_0x1ec7d3(0x1ba)](_0x558cdc=>_0x558cdc['id']===ct[_0x1ec7d3(0x30c)]['id'])?_0x1407e9=ei(this['_pendingMutations'],this[_0x1ec7d3(0x224)],this[_0x1ec7d3(0x1b4)],this[_0x1ec7d3(0x455)],this[_0x1ec7d3(0x1bb)]):_0x1407e9=Ge(this['_pendingMutations'],this[_0x1ec7d3(0x224)],this[_0x1ec7d3(0x1b4)],this[_0x1ec7d3(0x455)],this[_0x1ec7d3(0x1bb)]);break;}default:throw new Error(_0x1ec7d3(0x492)+this['type']+_0x1ec7d3(0x2c8));}const {changeset:_0x24c489,pendingMutations:_0x2a7cc5}=_0x1407e9;this[_0x1ec7d3(0x19e)][_0x1ec7d3(0x218)](_0x24c489);const _0x26908b=_0x2a7cc5[_0x1ec7d3(0x37c)]?this['_injector']['createInstance'](exports['AwaitingWithPendingState'],this[_0x1ec7d3(0x224)],this[_0x1ec7d3(0x2b6)],_0x24c489,_0x2a7cc5,this['_handler'],void 0x0):this[_0x1ec7d3(0x441)][_0x1ec7d3(0x233)](exports[_0x1ec7d3(0x17d)],this[_0x1ec7d3(0x224)],this[_0x1ec7d3(0x2b6)],_0x24c489,this[_0x1ec7d3(0x19e)]);_0x26908b['_updateLocalCache'](),this[_0x1ec7d3(0x19e)][_0x1ec7d3(0x2b4)](this,_0x26908b);},_0x3ec5f1);}[_0x457b8a(0x242)](){var _0x2e4bd4=_0x457b8a,_0x38a7c1;const _0x4400b8=this[_0x2e4bd4(0x338)][_0x2e4bd4(0x487)](Y);return(_0x38a7c1=_0x4400b8==null?void 0x0:_0x4400b8[_0x2e4bd4(0x40c)])!=null?_0x38a7c1:Ut;}[_0x457b8a(0x439)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x457b8a(0x3f7)](){var _0x41089a=_0x457b8a;this[_0x41089a(0x38c)]!=null&&(clearTimeout(this[_0x41089a(0x38c)]),this['_sendingTimer']=null);}[_0x457b8a(0x3b6)](_0x1138ad){var _0x2ef0fc=_0x457b8a;return this[_0x2ef0fc(0x3f7)](),this[_0x2ef0fc(0x441)]['createInstance'](exports[_0x2ef0fc(0x300)],this[_0x2ef0fc(0x224)],this['type'],null,this['_pendingMutations'],this[_0x2ef0fc(0x19e)],_0x1138ad);}},exports[_0x457b8a(0x37b)]=oe([w(0x4,a[_0x457b8a(0x40f)](a[_0x457b8a(0x18b)])),w(0x5,a[_0x457b8a(0x40f)](p[_0x457b8a(0x407)])),w(0x6,a['Inject'](exports[_0x457b8a(0x26d)])),w(0x7,a[_0x457b8a(0x1be)]),w(0x8,a[_0x457b8a(0x1b6)]),w(0x9,a[_0x457b8a(0x1a8)]),w(0xa,p['ITransformService']),w(0xb,a[_0x457b8a(0x3d3)]),w(0xc,a[_0x457b8a(0x178)]),w(0xd,a[_0x457b8a(0x1e6)](K))],exports['PendingState']),exports['AwaitingState']=class extends ae{constructor(_0x5dde9f,_0x5a2302,_0x1c4526,_0x9c5c6e,_0x3a93f6,_0x5621c5,_0xd18d75,_0xd01e5d,_0x4da354,_0x4708b9,_0x191c95){var _0x173008=_0x457b8a;super(_0x5dde9f,_0x5a2302,_0x1c4526,[],_0x9c5c6e,_0xd18d75,_0x4708b9,_0x5621c5,_0x191c95),A(this,_0x173008(0x2dc),_0x173008(0x1d6)),A(this,_0x173008(0x2e3),0x0),A(this,_0x173008(0x310)),A(this,_0x173008(0x23a)),(this[_0x173008(0x441)]=_0x3a93f6,this[_0x173008(0x1da)]=_0xd01e5d,this[_0x173008(0x34d)]=_0x4da354);}[_0x457b8a(0x1d7)](_0x38d234){var _0x2ecef4=_0x457b8a;this[_0x2ecef4(0x3f7)]();const _0x5c17b3=this[_0x2ecef4(0x441)][_0x2ecef4(0x233)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x2ecef4(0x2b6)],this[_0x2ecef4(0x367)],[_0x38d234],this[_0x2ecef4(0x19e)],this[_0x2ecef4(0x310)]);return _0x5c17b3[_0x2ecef4(0x268)](),_0x5c17b3;}['onRemoteChangeset'](_0x1ab93c){var _0x7039cd=_0x457b8a;if(this[_0x7039cd(0x1e2)](_0x1ab93c))return this[_0x7039cd(0x3f7)](),this[_0x7039cd(0x441)][_0x7039cd(0x233)](exports['FetchingMissState'],this[_0x7039cd(0x224)],this[_0x7039cd(0x2b6)],this['_awaitingChangeset'],[],null,[_0x1ab93c],this['_handler']);try{const _0x59d689=this[_0x7039cd(0x34d)][_0x7039cd(0x158)]([_0x1ab93c],[this[_0x7039cd(0x367)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x59d689)){const {c1Prime:_0x4e3e24,c2Prime:_0x3a09f8}=_0x59d689;this[_0x7039cd(0x2e1)](_0x4e3e24[0x0]),_0x3a09f8[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x7039cd(0x3f7)]();const _0x22f488=this[_0x7039cd(0x441)][_0x7039cd(0x233)](exports['AwaitingState'],this[_0x7039cd(0x224)],this[_0x7039cd(0x2b6)],_0x3a09f8[0x0],this[_0x7039cd(0x19e)]);return _0x22f488['_updateLocalCache'](),_0x22f488;}return this[_0x7039cd(0x3b6)](!0x1);}catch(_0x1481b2){return this[_0x7039cd(0x1da)][_0x7039cd(0x431)](_0x1481b2),this[_0x7039cd(0x3b6)](!0x1);}}[_0x457b8a(0x494)](_0x22f6a6){var _0x1063e3=_0x457b8a;this['_clearScheduledTask']();const _0x577f6a=this[_0x1063e3(0x455)][_0x1063e3(0x284)](this[_0x1063e3(0x224)]);if(_0x22f6a6[_0x1063e3(0x2c7)]<_0x577f6a-0x1)return this;if(this[_0x1063e3(0x1e2)](_0x22f6a6))return this[_0x1063e3(0x441)]['createInstance'](exports[_0x1063e3(0x1c2)],this[_0x1063e3(0x224)],this[_0x1063e3(0x2b6)],null,[],this[_0x1063e3(0x367)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x480ace=this['_injector'][_0x1063e3(0x233)](exports[_0x1063e3(0x432)],this[_0x1063e3(0x224)],this[_0x1063e3(0x2b6)],this['_handler']);return _0x480ace[_0x1063e3(0x268)](),_0x480ace;}[_0x457b8a(0x172)](_0x5bf589){var _0x10cfce=_0x457b8a;return this[_0x10cfce(0x3b6)](!!(_0x5bf589!=null&&_0x5bf589[_0x10cfce(0x1fd)]));}[_0x457b8a(0x30b)](_0x29cc53){var _0x4a8732=_0x457b8a;return this[_0x4a8732(0x2e3)]>ft?this[_0x4a8732(0x146)]():(this['_resendTimer']=St(this[_0x4a8732(0x2e3)],{'timeout':this['_resendTimeout'],'reqId':_0x29cc53[_0x4a8732(0x22e)]}),this['_sender']=this['_resendTimer'][_0x4a8732(0x485)](({reqId:_0x11d709,timeout:_0x36849a})=>{var _0x3fdbc4=_0x4a8732;this[_0x3fdbc4(0x3c8)](_0x11d709,_0x36849a);}),this);}[_0x457b8a(0x146)](){var _0x577586=_0x457b8a;return this['_clearScheduledTask'](),this[_0x577586(0x441)][_0x577586(0x233)](exports[_0x577586(0x36e)],this['unitID'],this[_0x577586(0x2b6)],this[_0x577586(0x367)],[],this[_0x577586(0x19e)]);}[_0x457b8a(0x263)](){return this;}[_0x457b8a(0x439)](){var _0x28df1c=_0x457b8a;this[_0x28df1c(0x19e)][_0x28df1c(0x218)](this[_0x28df1c(0x367)]);}[_0x457b8a(0x3b6)](_0x138a51){var _0xcbe998=_0x457b8a;return this[_0xcbe998(0x3f7)](),this[_0xcbe998(0x441)][_0xcbe998(0x233)](exports['ConflictState'],this[_0xcbe998(0x224)],this[_0xcbe998(0x2b6)],this['_awaitingChangeset'],[],this['_handler'],_0x138a51);}['_resendWithTimeout'](_0x1589b9,_0x322de0){var _0x33b647=_0x457b8a,_0x40bc63;_0x1589b9===((_0x40bc63=this['_awaitingChangeset'])==null?void 0x0:_0x40bc63[_0x33b647(0x22e)])&&(this[_0x33b647(0x439)](),this[_0x33b647(0x2e3)]=_0x322de0===0x0?0x3e8:_0x322de0*0x2);}[_0x457b8a(0x3f7)](){var _0x4d34dc=_0x457b8a,_0x112d13;(_0x112d13=this[_0x4d34dc(0x23a)])==null||_0x112d13['unsubscribe'](),this[_0x4d34dc(0x2e3)]=0x0;}},exports[_0x457b8a(0x17d)]=oe([w(0x4,a[_0x457b8a(0x40f)](a[_0x457b8a(0x18b)])),w(0x5,a[_0x457b8a(0x40f)](p[_0x457b8a(0x407)])),w(0x6,a[_0x457b8a(0x1b6)]),w(0x7,a[_0x457b8a(0x1be)]),w(0x8,p['ITransformService']),w(0x9,a[_0x457b8a(0x178)]),w(0xa,a[_0x457b8a(0x1e6)](K))],exports[_0x457b8a(0x17d)]),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x2a47ab,_0x20972d,_0x7201f3,_0x31685a,_0x1848fe,_0x527439,_0x74af82,_0x420808,_0x43be2f,_0x4c945e,_0x4726da,_0x29ebfd,_0x7f9c9b){var _0x8ea508=_0x457b8a;super(_0x2a47ab,_0x20972d,_0x7201f3,_0x31685a,_0x1848fe,_0x43be2f,_0x29ebfd,_0x420808,_0x7f9c9b),A(this,'status',_0x8ea508(0x3a4)),A(this,'_resendTimeout',0x0),A(this,_0x8ea508(0x310)),A(this,_0x8ea508(0x23a)),(this[_0x8ea508(0x441)]=_0x74af82,this[_0x8ea508(0x1da)]=_0x4c945e,this[_0x8ea508(0x34d)]=_0x4726da,this[_0x8ea508(0x17a)]=_0x7f9c9b,_0x527439&&(this[_0x8ea508(0x310)]=_0x527439,this[_0x8ea508(0x23a)]=this[_0x8ea508(0x310)][_0x8ea508(0x485)](({reqId:_0x3118d1,timeout:_0x277deb})=>{var _0x386522=_0x8ea508;this[_0x386522(0x3c8)](_0x3118d1,_0x277deb);})));}[_0x457b8a(0x1d7)](_0x14cf2d){var _0x585cb2=_0x457b8a;return this[_0x585cb2(0x1c0)][_0x585cb2(0x433)](_0x14cf2d),this;}[_0x457b8a(0x332)](_0x580c3b){var _0x156f01=_0x457b8a;if(this[_0x156f01(0x1e2)](_0x580c3b))return this[_0x156f01(0x3f7)](),this['_injector'][_0x156f01(0x233)](exports[_0x156f01(0x1c2)],this['unitID'],this[_0x156f01(0x2b6)],this[_0x156f01(0x367)],this[_0x156f01(0x1c0)],null,[_0x580c3b],this['_handler']);try{const _0x5c0100=this[_0x156f01(0x34d)][_0x156f01(0x158)]([_0x580c3b],[this[_0x156f01(0x367)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x5c0100)){const {c1Prime:_0x258d43,c2Prime:_0xcce415}=_0x5c0100,_0x583f90=this['_transformService'][_0x156f01(0x43e)](_0x258d43[0x0],this['_pendingMutations']);if(p[_0x156f01(0x495)](_0x583f90)){const {c1Prime:_0x43fb89,m2Prime:_0x33ba16}=_0x583f90;return this[_0x156f01(0x2e1)](_0x43fb89),_0xcce415[0x0]['baseRev']=this[_0x156f01(0x456)](),this[_0x156f01(0x3f7)](),this[_0x156f01(0x441)][_0x156f01(0x233)](exports[_0x156f01(0x31d)],this[_0x156f01(0x224)],this[_0x156f01(0x2b6)],_0xcce415[0x0],_0x33ba16,this[_0x156f01(0x19e)],void 0x0);}throw _0x583f90[_0x156f01(0x431)];}throw _0x5c0100[_0x156f01(0x431)];}catch(_0x2a90f2){return this[_0x156f01(0x1da)]['error'](_0x2a90f2),this[_0x156f01(0x3b6)](!0x1);}}[_0x457b8a(0x494)](_0x25073f){var _0x207fe2=_0x457b8a;if(this[_0x207fe2(0x3f7)](),this[_0x207fe2(0x1e2)](_0x25073f))return this[_0x207fe2(0x441)]['createInstance'](exports[_0x207fe2(0x1c2)],this[_0x207fe2(0x224)],this['type'],null,this[_0x207fe2(0x1c0)],this[_0x207fe2(0x367)],[],this[_0x207fe2(0x19e)]);this[_0x207fe2(0x1f2)]();const _0x262264=this['_injector'][_0x207fe2(0x233)](exports['PendingState'],this[_0x207fe2(0x224)],this[_0x207fe2(0x2b6)],this[_0x207fe2(0x1c0)],this['_handler']);return _0x262264[_0x207fe2(0x23c)](),_0x262264[_0x207fe2(0x268)](),_0x262264;}[_0x457b8a(0x172)](_0x244869){var _0x2743fe=_0x457b8a;return this['_onConflict'](!!(_0x244869!=null&&_0x244869[_0x2743fe(0x1fd)]));}[_0x457b8a(0x30b)](_0x225727){var _0x2aa77a=_0x457b8a;return this[_0x2aa77a(0x2e3)]>ft?this[_0x2aa77a(0x146)]():(this[_0x2aa77a(0x310)]=St(this['_resendTimeout'],{'timeout':this[_0x2aa77a(0x2e3)],'reqId':_0x225727[_0x2aa77a(0x22e)]}),this[_0x2aa77a(0x23a)]=this[_0x2aa77a(0x310)][_0x2aa77a(0x485)](({reqId:_0x3ed351,timeout:_0x470cca})=>{this['_resendWithTimeout'](_0x3ed351,_0x470cca);}),this);}[_0x457b8a(0x146)](){var _0x31c874=_0x457b8a;return this[_0x31c874(0x3f7)](),this[_0x31c874(0x441)][_0x31c874(0x233)](exports[_0x31c874(0x36e)],this[_0x31c874(0x224)],this[_0x31c874(0x2b6)],this[_0x31c874(0x367)],this[_0x31c874(0x1c0)],this[_0x31c874(0x19e)]);}[_0x457b8a(0x263)](){return this;}['resend'](){var _0x1aa1ab=_0x457b8a;this[_0x1aa1ab(0x19e)]['onSendChangeset'](this[_0x1aa1ab(0x367)]);}[_0x457b8a(0x3b6)](_0x51789c){var _0x38bcee=_0x457b8a;return this[_0x38bcee(0x3f7)](),this[_0x38bcee(0x441)][_0x38bcee(0x233)](exports['ConflictState'],this[_0x38bcee(0x224)],this[_0x38bcee(0x2b6)],null,this[_0x38bcee(0x1c0)],this[_0x38bcee(0x19e)],_0x51789c);}[_0x457b8a(0x3c8)](_0x1c030a,_0x227693){var _0x3d78b7=_0x457b8a,_0x5144e7;_0x1c030a===((_0x5144e7=this[_0x3d78b7(0x367)])==null?void 0x0:_0x5144e7['reqId'])&&(this[_0x3d78b7(0x439)](),this[_0x3d78b7(0x2e3)]=_0x227693===0x0?0x3e8:_0x227693*0x2);}[_0x457b8a(0x3f7)](){var _0x16bdeb=_0x457b8a,_0x3fc515;(_0x3fc515=this['_sender'])==null||_0x3fc515['unsubscribe'](),this[_0x16bdeb(0x2e3)]=0x0;}},exports[_0x457b8a(0x31d)]=oe([w(0x6,a['Inject'](a['Injector'])),w(0x7,a['Inject'](p[_0x457b8a(0x407)])),w(0x8,a['ICommandService']),w(0x9,a[_0x457b8a(0x1be)]),w(0xa,p[_0x457b8a(0x2f7)]),w(0xb,a[_0x457b8a(0x178)]),w(0xc,a[_0x457b8a(0x1e6)](K))],exports[_0x457b8a(0x31d)]),exports[_0x457b8a(0x300)]=class extends ae{constructor(_0x55d3c3,_0x5a7158,_0x13e53e,_0x128e5d,_0x5741cc,_0x21d458=!0x1,_0x27565e,_0x3c8ed3,_0x5a13fa,_0x310a14,_0x58404d,_0x5cf3f3,_0x5afec7){var _0x2c102d=_0x457b8a;super(_0x55d3c3,_0x5a7158,_0x13e53e,_0x128e5d,_0x5741cc,_0x3c8ed3,_0x5a13fa,_0x310a14,_0x5afec7),A(this,_0x2c102d(0x2dc),'conflict'),(this[_0x2c102d(0x452)]=_0x21d458,this['_permissionService']=_0x27565e,this[_0x2c102d(0x19c)]=_0x58404d,this[_0x2c102d(0x24f)]=_0x5cf3f3,this['localCacheService']=_0x5afec7,this[_0x2c102d(0x434)](),this[_0x2c102d(0x3f8)](),this['_disableEditing']());}[_0x457b8a(0x1d7)](){return this;}[_0x457b8a(0x332)](){return this;}[_0x457b8a(0x494)](){return this;}[_0x457b8a(0x172)](){return this;}['onRemoteRetry'](){return this;}[_0x457b8a(0x146)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x9a0453=_0x457b8a;throw new Error(_0x9a0453(0x44d));}[_0x457b8a(0x3f8)](){var _0x376a04=_0x457b8a,_0x568886;(_0x568886=this[_0x376a04(0x240)])==null||_0x568886['updateOfflineData'](this[_0x376a04(0x224)],this['type'],null,[]);}[_0x457b8a(0x434)](){var _0x5e8902=_0x457b8a;this[_0x5e8902(0x452)]?this[_0x5e8902(0x24f)][_0x5e8902(0x22b)]({'id':Z['PERMISSION_DENIED']}):this[_0x5e8902(0x24f)][_0x5e8902(0x22b)]({'id':Z[_0x5e8902(0x1aa)]});}[_0x457b8a(0x130)](){var _0x385275=_0x457b8a;this[_0x385275(0x227)][_0x385275(0x2be)](new X['WorkbookEditablePermission'](this[_0x385275(0x224)])['id'],!0x1);}},exports[_0x457b8a(0x300)]=oe([w(0x6,a[_0x457b8a(0x40f)](a[_0x457b8a(0x2a5)])),w(0x7,a['ICommandService']),w(0x8,a[_0x457b8a(0x178)]),w(0x9,a[_0x457b8a(0x40f)](p[_0x457b8a(0x407)])),w(0xa,a[_0x457b8a(0x40f)](a['LocaleService'])),w(0xb,a[_0x457b8a(0x40f)](ee)),w(0xc,a[_0x457b8a(0x1e6)](K))],exports[_0x457b8a(0x300)]),exports[_0x457b8a(0x36e)]=class extends ae{constructor(_0x3845dc,_0x1933f6,_0x4c86f3,_0x5216e7,_0x44322a,_0x191bf1,_0x1819b9,_0x4b5b8e,_0x2415d7,_0x2013e1){var _0x4c45a8=_0x457b8a;super(_0x3845dc,_0x1933f6,_0x4c86f3,_0x5216e7,_0x44322a,_0x4b5b8e,_0x2415d7,_0x1819b9,_0x2013e1),A(this,_0x4c45a8(0x2dc),_0x4c45a8(0x141)),this['_injector']=_0x191bf1;}['appendMutation'](_0x4be306){var _0x16e110=_0x457b8a;return this[_0x16e110(0x1c0)]['push'](_0x4be306),this['_updateLocalCache'](),this;}[_0x457b8a(0x332)](_0x364876){var _0x343e3f=_0x457b8a;throw new Error(_0x343e3f(0x2f4));}[_0x457b8a(0x494)](){var _0x1d0ac3=_0x457b8a;throw new Error(_0x1d0ac3(0x163));}['onRemoteRej'](){var _0x3223fa=_0x457b8a;throw new Error(_0x3223fa(0x271));}['onRemoteRetry'](){return this;}[_0x457b8a(0x146)](){return this;}['toggleOnline'](){var _0x236e2a=_0x457b8a;const {_injector:_0x563118,_pendingMutations:_0x5b9b9b,_awaitingChangeset:_0x3eae79,unitID:_0x459b29,_handler:_0x5b2aa7,type:_0x4d6f51}=this,_0x102976=It(_0x563118,_0x459b29,_0x4d6f51,_0x3eae79,_0x5b9b9b,_0x5b2aa7);return _0x102976 instanceof exports['PendingState']?_0x102976[_0x236e2a(0x23c)]():(_0x102976 instanceof exports[_0x236e2a(0x31d)]||_0x102976 instanceof exports['AwaitingState'])&&_0x102976[_0x236e2a(0x439)](),_0x102976;}[_0x457b8a(0x439)](){var _0x4e2800=_0x457b8a;throw new Error(_0x4e2800(0x245));}},exports[_0x457b8a(0x36e)]=oe([w(0x5,a[_0x457b8a(0x40f)](a['Injector'])),w(0x6,a[_0x457b8a(0x40f)](p['RevisionService'])),w(0x7,a[_0x457b8a(0x1b6)]),w(0x8,a[_0x457b8a(0x178)]),w(0x9,a[_0x457b8a(0x1e6)](K))],exports['OfflineState']),exports[_0x457b8a(0x1c2)]=class extends ae{constructor(_0x4da202,_0x12d38b,_0x19ad65,_0x2640a7,_0x137e2d,_0x44f2ad,_0x41dc21,_0x3b33c4,_0x1f563b,_0x23c238,_0x29632f,_0x3f2a60,_0x1d587f,_0x131aac){var _0x91d10b=_0x457b8a;super(_0x4da202,_0x12d38b,_0x19ad65,_0x2640a7,_0x41dc21,_0x29632f,_0x3f2a60,_0x1f563b,_0x131aac),A(this,_0x91d10b(0x2dc),_0x91d10b(0x281)),(this[_0x91d10b(0x26e)]=_0x137e2d,this['_queuedRemoteChangesets']=_0x44f2ad,this['_injector']=_0x3b33c4,this[_0x91d10b(0x1da)]=_0x23c238,this['_transformService']=_0x1d587f,this[_0x91d10b(0x17a)]=_0x131aac);}[_0x457b8a(0x3df)](_0x20c19a){var _0x2bc1cb=_0x457b8a;try{const _0x59d592=[..._0x20c19a,...this[_0x2bc1cb(0x1b9)]],_0x1b7d18=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x2bc1cb(0x425)](_0x24644a=>!!_0x24644a);let _0x244e13,_0x2fce70;if(_0x1b7d18[_0x2bc1cb(0x37c)]){const _0x1f9e5e=this[_0x2bc1cb(0x34d)][_0x2bc1cb(0x158)](_0x59d592,_0x1b7d18,!0x1);if(!p['isTransformChangesetsSuccess'](_0x1f9e5e))throw _0x1f9e5e[_0x2bc1cb(0x431)];_0x244e13=_0x1f9e5e[_0x2bc1cb(0x472)],_0x2fce70=_0x1f9e5e[_0x2bc1cb(0x1c6)];}else _0x244e13=_0x59d592,_0x2fce70=[];let _0x9093f7=this['_pendingMutations'];_0x244e13[_0x2bc1cb(0x1e3)](_0x158eaa=>{var _0x14676b=_0x2bc1cb;let _0x539582;if(_0x9093f7[_0x14676b(0x37c)]){const _0x383fef=this[_0x14676b(0x34d)][_0x14676b(0x43e)](_0x158eaa,_0x9093f7);if(!p[_0x14676b(0x495)](_0x383fef))throw _0x383fef[_0x14676b(0x431)];_0x539582=_0x383fef[_0x14676b(0x472)],_0x9093f7=_0x383fef[_0x14676b(0x3cc)];}else _0x539582=_0x158eaa;this['_executeRemoteChangeset'](_0x539582);}),this[_0x2bc1cb(0x26e)]&&this[_0x2bc1cb(0x1f2)](),this[_0x2bc1cb(0x367)]&&_0x2fce70['length']&&(_0x2fce70[0x0][_0x2bc1cb(0x170)]=this[_0x2bc1cb(0x456)]());let _0x5a3b87;if(this[_0x2bc1cb(0x367)]&&_0x9093f7[_0x2bc1cb(0x37c)]!==0x0)_0x5a3b87=this[_0x2bc1cb(0x441)]['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x2bc1cb(0x2b6)],_0x2fce70[0x0],_0x9093f7,this[_0x2bc1cb(0x19e)],void 0x0);else{if(this[_0x2bc1cb(0x367)]&&_0x9093f7[_0x2bc1cb(0x37c)]===0x0)_0x2fce70[0x0][_0x2bc1cb(0x170)]=this['_getCurrentRevision'](),_0x5a3b87=this[_0x2bc1cb(0x441)][_0x2bc1cb(0x233)](exports[_0x2bc1cb(0x17d)],this['unitID'],this['type'],_0x2fce70[0x0],this['_handler']);else{if(_0x9093f7[_0x2bc1cb(0x37c)]!==0x0){const _0x42c3f0=this[_0x2bc1cb(0x441)][_0x2bc1cb(0x233)](exports['PendingState'],this['unitID'],this['type'],_0x9093f7,this[_0x2bc1cb(0x19e)]);_0x42c3f0[_0x2bc1cb(0x23c)](),_0x5a3b87=_0x42c3f0;}else _0x5a3b87=this[_0x2bc1cb(0x441)][_0x2bc1cb(0x233)](exports[_0x2bc1cb(0x432)],this['unitID'],this[_0x2bc1cb(0x2b6)],this['_handler']);}}return _0x5a3b87[_0x2bc1cb(0x268)](),_0x5a3b87;}catch(_0x97edb5){return this[_0x2bc1cb(0x1da)][_0x2bc1cb(0x431)](_0x2bc1cb(0x41b),_0x2bc1cb(0x35b),_0x97edb5),this['_injector'][_0x2bc1cb(0x233)](exports[_0x2bc1cb(0x300)],this[_0x2bc1cb(0x224)],this[_0x2bc1cb(0x2b6)],this[_0x2bc1cb(0x367)],this[_0x2bc1cb(0x1c0)],this[_0x2bc1cb(0x19e)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x457b8a(0x1d7)](_0x3be63e){var _0x351532=_0x457b8a;return this[_0x351532(0x1c0)]['push'](_0x3be63e),this;}[_0x457b8a(0x332)](_0x14b4f5){var _0x236a37=_0x457b8a;return this[_0x236a37(0x1b9)]['push'](_0x14b4f5),this;}[_0x457b8a(0x494)](_0x498b55){var _0x434d2b=_0x457b8a;if(this[_0x434d2b(0x367)])return this[_0x434d2b(0x26e)]=this[_0x434d2b(0x367)],this['_awaitingChangeset']=null,this;throw new Error(_0x434d2b(0x1db));}['onRemoteRej'](_0x47bb39){var _0x13d8fa=_0x457b8a;return this[_0x13d8fa(0x3b6)](!!(_0x47bb39!=null&&_0x47bb39[_0x13d8fa(0x1fd)]));}[_0x457b8a(0x30b)](){return this;}[_0x457b8a(0x146)](){var _0x1af14d=_0x457b8a;return this[_0x1af14d(0x441)][_0x1af14d(0x233)](exports['OfflineState'],this[_0x1af14d(0x224)],this[_0x1af14d(0x2b6)],this[_0x1af14d(0x367)],this[_0x1af14d(0x1c0)],this[_0x1af14d(0x19e)]);}[_0x457b8a(0x263)](){return this;}[_0x457b8a(0x3b6)](_0x42c025){var _0x275413=_0x457b8a;return this[_0x275413(0x441)][_0x275413(0x233)](exports['ConflictState'],this[_0x275413(0x224)],this[_0x275413(0x2b6)],this[_0x275413(0x367)],this[_0x275413(0x1c0)],this[_0x275413(0x19e)],_0x42c025);}},exports[_0x457b8a(0x1c2)]=oe([w(0x7,a[_0x457b8a(0x40f)](a[_0x457b8a(0x18b)])),w(0x8,a['Inject'](p[_0x457b8a(0x407)])),w(0x9,a[_0x457b8a(0x1be)]),w(0xa,a[_0x457b8a(0x1b6)]),w(0xb,a[_0x457b8a(0x178)]),w(0xc,p[_0x457b8a(0x2f7)]),w(0xd,a[_0x457b8a(0x1e6)](K))],exports[_0x457b8a(0x1c2)]);function It(_0x3a709b,_0x3a726c,_0x146ca1,_0x453d57,_0x1d2657,_0xdf7493){var _0x24e3e6=_0x457b8a;return _0x453d57&&_0x1d2657['length']?_0x3a709b['createInstance'](exports[_0x24e3e6(0x31d)],_0x3a726c,_0x146ca1,_0x453d57,_0x1d2657,_0xdf7493,void 0x0):_0x453d57?_0x3a709b['createInstance'](exports[_0x24e3e6(0x17d)],_0x3a726c,_0x146ca1,_0x453d57,_0xdf7493):_0x1d2657[_0x24e3e6(0x37c)]?_0x3a709b[_0x24e3e6(0x233)](exports[_0x24e3e6(0x37b)],_0x3a726c,_0x146ca1,_0x1d2657,_0xdf7493):_0x3a709b[_0x24e3e6(0x233)](exports[_0x24e3e6(0x432)],_0x3a726c,_0x146ca1,_0xdf7493);}var ni=Object[_0x457b8a(0x37f)],Be=(_0x5b841d,_0x151db9,_0x3d529b,_0x6a2df0)=>{var _0x61f1c2=_0x457b8a;for(var _0x568734=_0x6a2df0>0x1?void 0x0:_0x6a2df0?ni(_0x151db9,_0x3d529b):_0x151db9,_0x468c12=_0x5b841d[_0x61f1c2(0x37c)]-0x1,_0x444c64;_0x468c12>=0x0;_0x468c12--)(_0x444c64=_0x5b841d[_0x468c12])&&(_0x568734=_0x444c64(_0x568734)||_0x568734);return _0x568734;},j=(_0x4a0e2a,_0x497004)=>(_0x79d502,_0x506ac3)=>_0x497004(_0x79d502,_0x506ac3,_0x4a0e2a);exports['CollaborationEntity']=class extends a['RxDisposable']{constructor(_0x4b5704,_0x39e1c3,_0x2846f4,_0x30ee79,_0x2d83cb,_0x53d358,_0x2e6e1e,_0x5271c9,_0x181063,_0x43d2bb,_0x107e48,_0x2ab115,_0x284d03){var _0x3d879b=_0x457b8a;super(),A(this,'_state$',new H[(_0x3d879b(0x3cb))](null)),A(this,_0x3d879b(0x1f3),this[_0x3d879b(0x2c1)][_0x3d879b(0x2f8)]()),A(this,_0x3d879b(0x25b)),A(this,_0x3d879b(0x287),!0x1),A(this,_0x3d879b(0x2ae),''),A(this,_0x3d879b(0x138),0x0),A(this,_0x3d879b(0x3a2),this[_0x3d879b(0x1f3)]['pipe'](H[_0x3d879b(0x304)](_0x68428c=>_0x68428c?_0x68428c[_0x3d879b(0x2dc)]:je[_0x3d879b(0x22d)]),H['shareReplay'](0x1))),A(this,_0x3d879b(0x3ee),!0x1),A(this,_0x3d879b(0x20a),[]),(this[_0x3d879b(0x224)]=_0x4b5704,this[_0x3d879b(0x3fd)]=_0x39e1c3,this[_0x3d879b(0x48d)]=_0x2846f4,this[_0x3d879b(0x441)]=_0x30ee79,this[_0x3d879b(0x46d)]=_0x2d83cb,this[_0x3d879b(0x19c)]=_0x53d358,this['_revisionService']=_0x2e6e1e,this['_eventService']=_0x5271c9,this['_logService']=_0x181063,this[_0x3d879b(0x42d)]=_0x43d2bb,this[_0x3d879b(0x227)]=_0x107e48,this[_0x3d879b(0x145)]=_0x2ab115,this['_localCacheService']=_0x284d03);}get[_0x457b8a(0x173)](){var _0x365888=_0x457b8a;return this[_0x365888(0x25b)];}async['init'](){var _0x2795ee=_0x457b8a;if(this['state'])throw new Error(_0x2795ee(0x460));await this[_0x2795ee(0x246)]();}['pauseCollaboration'](){var _0x1f069a=_0x457b8a;return this[_0x1f069a(0x287)]=!0x0,a['toDisposable'](()=>{var _0xb54bb9=_0x1f069a;this['_collaborationPaused']=!0x1,this[_0xb54bb9(0x2a2)]();});}[_0x457b8a(0x21a)](_0x24ef0f){this['_onLocalMutation'](_0x24ef0f);}[_0x457b8a(0x20d)](_0x2f77e6){var _0x4577bf=_0x457b8a;this[_0x4577bf(0x25b)]=_0x2f77e6,this[_0x4577bf(0x2c1)]['next'](_0x2f77e6);}async[_0x457b8a(0x246)](){var _0x5b8ead=_0x457b8a,_0x7a64f2;this[_0x5b8ead(0x20d)](await this['_createInitialState']()),this[_0x5b8ead(0x145)]&&((_0x7a64f2=this[_0x5b8ead(0x145)])==null||_0x7a64f2[_0x5b8ead(0x313)](this[_0x5b8ead(0x224)]),this[_0x5b8ead(0x2b3)](this[_0x5b8ead(0x145)][_0x5b8ead(0x26b)](this['unitID'])[_0x5b8ead(0x485)](_0x443c7f=>{var _0x3009d2=_0x5b8ead;this[_0x3009d2(0x1da)][_0x3009d2(0x1b3)](_0x3009d2(0x377),_0x3009d2(0x18e),_0x443c7f),_0x443c7f===He[_0x3009d2(0x209)]?(this[_0x3009d2(0x235)]['emitEvent']({'id':Z[_0x3009d2(0x46e)]}),this['_permissionService']['updatePermissionPoint'](new X[(_0x3009d2(0x1ab))](this[_0x3009d2(0x224)])['id'],!0x1),this[_0x3009d2(0x227)][_0x3009d2(0x303)](!0x1)):(this[_0x3009d2(0x227)][_0x3009d2(0x2be)](new X['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x3009d2(0x227)][_0x3009d2(0x303)](!0x0));})));let _0x348f9d=!0x1;return this[_0x5b8ead(0x2b3)](this[_0x5b8ead(0x3fd)][_0x5b8ead(0x15f)]['subscribe'](_0x342a51=>{var _0xd74afa=_0x5b8ead;_0x342a51===re['ONLINE']?this['_toggleOnline'](_0x348f9d):_0x342a51===re[_0xd74afa(0x22d)]&&(_0x348f9d=!0x0,this[_0xd74afa(0x23f)]());})),this['disposeWithMe'](this[_0x5b8ead(0x3fd)][_0x5b8ead(0x1c5)][_0x5b8ead(0x485)](_0x5f4e08=>{var _0x267eb1=_0x5b8ead;try{switch(_0x5f4e08[_0x267eb1(0x291)]){case p[_0x267eb1(0x214)]['NEW_CHANGESETS']:{this[_0x267eb1(0x27c)](p['parseProtocolChangeset'](_0x5f4e08[_0x267eb1(0x12e)]));break;}case p[_0x267eb1(0x214)][_0x267eb1(0x161)]:{this[_0x267eb1(0x344)](_0x5f4e08['data']);break;}case p[_0x267eb1(0x214)][_0x267eb1(0x3de)]:{this[_0x267eb1(0x2e8)]();break;}case p[_0x267eb1(0x214)][_0x267eb1(0x3a7)]:{this[_0x267eb1(0x21e)](_0x5f4e08[_0x267eb1(0x12e)]);break;}case p['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x267eb1(0x1ed)](_0x5f4e08['data'][_0x267eb1(0x440)]['map'](_0x2d67e6=>p[_0x267eb1(0x1d9)](_0x2d67e6)));break;}case p[_0x267eb1(0x214)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0x267eb1(0x214)][_0x267eb1(0x229)]:break;}}catch(_0x450b55){throw console[_0x267eb1(0x431)](_0x267eb1(0x272),_0x450b55),_0x450b55;}})),this[_0x5b8ead(0x25b)];}[_0x457b8a(0x3e4)](){var _0x1563a2=_0x457b8a;this[_0x1563a2(0x3ee)]=!0x1;}['_lockTransition'](){var _0x282b81=_0x457b8a;if(this['_transitionLocked'])throw new Error(_0x282b81(0x1d1));this['_transitionLocked']=!0x0;}[_0x457b8a(0x381)](_0x45ba9b){var _0x51ded5=_0x457b8a;this[_0x51ded5(0x175)](),this['_updateState'](this[_0x51ded5(0x25b)]['appendMutation'](_0x45ba9b)),this[_0x51ded5(0x3e4)]();}[_0x457b8a(0x27c)](_0x16968b){var _0x3f862c=_0x457b8a;if(!(_0x16968b[_0x3f862c(0x2c7)]<=this[_0x3f862c(0x455)][_0x3f862c(0x284)](this[_0x3f862c(0x224)]))){if(this[_0x3f862c(0x287)]){this['_remoteChangesetQueue'][_0x3f862c(0x433)](_0x16968b);return;}this[_0x3f862c(0x260)](_0x16968b);}}[_0x457b8a(0x2a2)](){var _0x5cf86e=_0x457b8a;this[_0x5cf86e(0x20a)][_0x5cf86e(0x1e3)](_0x2ce103=>this[_0x5cf86e(0x260)](_0x2ce103)),this['_remoteChangesetQueue']=[];}[_0x457b8a(0x260)](_0x3fdf0f){var _0x59cdfc=_0x457b8a;const _0x191a30=this[_0x59cdfc(0x46d)][_0x59cdfc(0x251)]['fetchThroughInterceptors'](this[_0x59cdfc(0x46d)][_0x59cdfc(0x251)]['getInterceptPoints']()[_0x59cdfc(0x280)])(_0x3fdf0f[_0x59cdfc(0x28f)],null)||_0x3fdf0f['mutations'],_0x524930={..._0x3fdf0f,'mutations':_0x191a30};this[_0x59cdfc(0x175)](),this[_0x59cdfc(0x20d)](this[_0x59cdfc(0x25b)]['onRemoteChangeset'](_0x524930)),this['_unlockTransition']();}[_0x457b8a(0x344)](_0x43e0d1){var _0x424b77=_0x457b8a;this[_0x424b77(0x175)](),this[_0x424b77(0x20d)](this[_0x424b77(0x25b)]['onRemoteAck'](_0x43e0d1)),this[_0x424b77(0x3e4)]();}[_0x457b8a(0x2e8)](_0x24b9b5){var _0x103776=_0x457b8a;this[_0x103776(0x175)](),this[_0x103776(0x20d)](this[_0x103776(0x25b)][_0x103776(0x172)](_0x24b9b5)),this[_0x103776(0x3e4)]();}['_onRemoteRetry'](_0x3623a4){var _0xcb5963=_0x457b8a;this[_0xcb5963(0x175)](),this[_0xcb5963(0x20d)](this[_0xcb5963(0x25b)][_0xcb5963(0x30b)](_0x3623a4)),this[_0xcb5963(0x3e4)]();}[_0x457b8a(0x1ed)](_0x4c46fc){var _0x1b4694=_0x457b8a;if(!(this[_0x1b4694(0x25b)]instanceof exports[_0x1b4694(0x1c2)]))throw new TypeError(_0x1b4694(0x266));const _0x245129=_0x4c46fc[_0x1b4694(0x304)](_0x31a211=>{var _0x4f6a6d=_0x1b4694;const _0x306c3=this[_0x4f6a6d(0x46d)][_0x4f6a6d(0x251)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x31a211['mutations'],null)||_0x31a211[_0x4f6a6d(0x28f)];return{..._0x31a211,'mutations':_0x306c3};});this[_0x1b4694(0x175)](),this[_0x1b4694(0x20d)](this['_state'][_0x1b4694(0x3df)](_0x245129)),this[_0x1b4694(0x3e4)]();}[_0x457b8a(0x23f)](){var _0x5bd3ca=_0x457b8a;this['_lockTransition'](),this[_0x5bd3ca(0x20d)](this['_state']['toggleOffline']()),this['_unlockTransition']();}[_0x457b8a(0x278)](_0x341d07=!0x1){var _0x4faef2=_0x457b8a;this[_0x4faef2(0x175)](),this[_0x4faef2(0x20d)](this[_0x4faef2(0x25b)][_0x4faef2(0x263)]()),this[_0x4faef2(0x3e4)]();const _0x49955d=this[_0x4faef2(0x25b)];_0x341d07&&_0x49955d instanceof exports[_0x4faef2(0x432)]&&(this['_lockTransition'](),this['_updateState'](_0x49955d[_0x4faef2(0x443)]()),this[_0x4faef2(0x3e4)]());}async[_0x457b8a(0x204)](){return new Promise(_0x14cbae=>{var _0x3619c4=_0x5b3e;this[_0x3619c4(0x3fd)]['sessionStatus$'][_0x3619c4(0x2d5)](H[_0x3619c4(0x279)](0x1))['subscribe'](async _0x2f3b6a=>{var _0x543587=_0x3619c4;_0x14cbae(await this[_0x543587(0x350)](_0x2f3b6a===re[_0x543587(0x2fd)]));});});}['_createHandler'](){var _0x1cd49e=_0x457b8a;const _0x44aef1=this[_0x1cd49e(0x224)];return{'onStateChange':(_0x324596,_0x26df79)=>{var _0x3c5f12=_0x1cd49e;if(_0x324596!==this[_0x3c5f12(0x25b)])throw new Error(_0x3c5f12(0x469)+_0x324596[_0x3c5f12(0x2dc)]+_0x3c5f12(0x1bf)+_0x26df79['status']+_0x3c5f12(0x3fb)+this[_0x3c5f12(0x25b)][_0x3c5f12(0x2dc)]);this[_0x3c5f12(0x20d)](_0x26df79);},'onSendChangeset':_0x438d6f=>{var _0x14c340=_0x1cd49e;_0x438d6f[_0x14c340(0x3fc)]||(_0x438d6f['sid']=this[_0x14c340(0x2ae)],_0x438d6f[_0x14c340(0x22e)]=++this['_changesetReqId']);const _0x3b1d32={'eventID':p[_0x14c340(0x214)][_0x14c340(0x3c9)],'data':{'unitID':_0x438d6f[_0x14c340(0x224)],'unitType':this[_0x14c340(0x48d)],'changeset':_0x438d6f,'memberID':this['session'][_0x14c340(0x399)]()}};this['session'][_0x14c340(0x1b2)](_0x3b1d32,this[_0x14c340(0x224)]);},'onMissingChangesets':({from:_0x2278b4,to:_0x1e5dc9})=>{var _0x64f064=_0x1cd49e;this['_logService'][_0x64f064(0x1b3)](_0x64f064(0x377),_0x64f064(0x393)+_0x2278b4+'\x20to\x20'+_0x1e5dc9);const _0x297c63={'eventID':p['CollaborationEvent'][_0x64f064(0x2d8)],'data':{'unitID':_0x44aef1,'unitType':this[_0x64f064(0x48d)],'from':_0x2278b4,'to':_0x1e5dc9}};this[_0x64f064(0x3fd)][_0x64f064(0x1b2)](_0x297c63,this[_0x64f064(0x224)]);}};}async[_0x457b8a(0x350)](_0x3b1d78){var _0xb04a8d=_0x457b8a,_0x41abc6,_0x70b2d5,_0x390ef8;const _0x20ba00=await((_0x41abc6=this[_0xb04a8d(0x240)])==null?void 0x0:_0x41abc6[_0xb04a8d(0x320)](this[_0xb04a8d(0x224)])),_0x33b5b8=(_0x70b2d5=_0x20ba00==null?void 0x0:_0x20ba00[_0xb04a8d(0x28f)])!=null?_0x70b2d5:[],_0x195ebf=(_0x390ef8=_0x20ba00==null?void 0x0:_0x20ba00[_0xb04a8d(0x32b)])!=null?_0x390ef8:null,_0x5b918f=!!(_0x195ebf!=null&&_0x195ebf[_0xb04a8d(0x3fc)])&&!!(_0x195ebf!=null&&_0x195ebf[_0xb04a8d(0x22e)]);this[_0xb04a8d(0x2ae)]=_0x5b918f?_0x195ebf[_0xb04a8d(0x3fc)]:p[_0xb04a8d(0x1d0)](),this[_0xb04a8d(0x138)]=_0x5b918f?_0x195ebf[_0xb04a8d(0x22e)]:0x0;const _0x1c65e6=this[_0xb04a8d(0x224)];try{this[_0xb04a8d(0x3dc)](_0x195ebf,_0x33b5b8);}catch(_0x2e40be){this[_0xb04a8d(0x1da)]['error'](_0x2e40be);}const _0x335e04=this[_0xb04a8d(0x293)]();if(_0x3b1d78){const _0x3364fc=It(this[_0xb04a8d(0x441)],_0x1c65e6,this['_type'],_0x195ebf,_0x33b5b8,_0x335e04);return _0x3364fc instanceof exports[_0xb04a8d(0x37b)]?_0x3364fc['_schedule']():(_0x3364fc instanceof exports[_0xb04a8d(0x31d)]||_0x3364fc instanceof exports[_0xb04a8d(0x17d)])&&_0x3364fc[_0xb04a8d(0x439)](),_0x3364fc;}return this['_injector'][_0xb04a8d(0x233)](exports['OfflineState'],_0x1c65e6,this[_0xb04a8d(0x48d)],_0x195ebf,_0x33b5b8,_0x335e04);}[_0x457b8a(0x3dc)](_0x5bf1a1,_0x519a5c){var _0x3608c0=_0x457b8a,_0x1d52e7,_0x4665f7;const _0x38130d=this['_compressMutationService'][_0x3608c0(0x251)][_0x3608c0(0x247)](this[_0x3608c0(0x46d)][_0x3608c0(0x251)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x1d52e7=_0x38130d((_0x5bf1a1==null?void 0x0:_0x5bf1a1[_0x3608c0(0x28f)])||[],null))==null||_0x1d52e7[_0x3608c0(0x1e3)](_0x51d2c7=>this['_commandService'][_0x3608c0(0x273)](_0x51d2c7['id'],_0x51d2c7[_0x3608c0(0x30f)])),(_0x4665f7=_0x38130d(_0x519a5c||[],null))==null||_0x4665f7[_0x3608c0(0x1e3)](_0x1b8cd3=>this[_0x3608c0(0x42d)][_0x3608c0(0x273)](_0x1b8cd3['id'],_0x1b8cd3[_0x3608c0(0x30f)]));}},exports[_0x457b8a(0x1ae)]=Be([j(0x3,a['Inject'](a[_0x457b8a(0x18b)])),j(0x4,a[_0x457b8a(0x40f)](p[_0x457b8a(0x316)])),j(0x5,a[_0x457b8a(0x40f)](a['LocaleService'])),j(0x6,a[_0x457b8a(0x40f)](p['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x457b8a(0x1be)]),j(0x9,a['ICommandService']),j(0xa,a[_0x457b8a(0x2a5)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x457b8a(0x1e6)](K))],exports['CollaborationEntity']),exports[_0x457b8a(0x3ac)]=class extends exports['CollaborationEntity']{constructor(_0x1d6037,_0x2a2ad9,_0x18930b,_0xdd0278,_0x17e5b5,_0x2f2e0e,_0x3d9f68,_0x438944,_0x1d1a4a,_0x283cc3,_0x40d540,_0x45d44f,_0x50f974){var _0x5d680a=_0x457b8a;super(_0x1d6037,_0x18930b,_0x2a2ad9,_0xdd0278,_0x17e5b5,_0x2f2e0e,_0x3d9f68,_0x438944,_0x1d1a4a,_0x283cc3,_0x40d540,_0x45d44f,_0x50f974),A(this,_0x5d680a(0x451),null),(this[_0x5d680a(0x224)]=_0x1d6037,this[_0x5d680a(0x2b6)]=_0x2a2ad9);}[_0x457b8a(0x2bd)](_0x2f6e18){var _0xf3df63=_0x457b8a;this[_0xf3df63(0x451)]=_0x2f6e18;}[_0x457b8a(0x339)](){var _0x3aa6b4=_0x457b8a;this[_0x3aa6b4(0x451)]=null,super[_0x3aa6b4(0x339)]();}[_0x457b8a(0x293)](){var _0x19a802=_0x457b8a;const _0x26e787=super['_createHandler']();return _0x26e787[_0x19a802(0x12b)]=_0x295aa7=>{var _0x20a140=_0x19a802,_0x521cb3,_0x468acc;return(_0x468acc=(_0x521cb3=this['_handlerCallback'])==null?void 0x0:_0x521cb3['onTransformIME'])==null?void 0x0:_0x468acc[_0x20a140(0x18c)](_0x521cb3,_0x295aa7);},_0x26e787[_0x19a802(0x315)]=_0x32cd49=>{var _0x1763f1=_0x19a802,_0x30cc9d,_0x4c33a4;return(_0x4c33a4=(_0x30cc9d=this[_0x1763f1(0x451)])==null?void 0x0:_0x30cc9d['onTransformState'])==null?void 0x0:_0x4c33a4['call'](_0x30cc9d,_0x32cd49);},_0x26e787[_0x19a802(0x36a)]=_0x354eb4=>{var _0x58ce9f=_0x19a802,_0x25fdd5,_0x1c74f1;return(_0x1c74f1=(_0x25fdd5=this[_0x58ce9f(0x451)])==null?void 0x0:_0x25fdd5[_0x58ce9f(0x36a)])==null?void 0x0:_0x1c74f1[_0x58ce9f(0x18c)](_0x25fdd5,_0x354eb4);},_0x26e787[_0x19a802(0x364)]=_0x13e3ae=>{var _0x5e7fc4=_0x19a802,_0x158eb8,_0x2faf68;return(_0x2faf68=(_0x158eb8=this[_0x5e7fc4(0x451)])==null?void 0x0:_0x158eb8[_0x5e7fc4(0x364)])==null?void 0x0:_0x2faf68['call'](_0x158eb8,_0x13e3ae);},_0x26e787[_0x19a802(0x435)]=_0x29bfd4=>{var _0x3899ec=_0x19a802,_0x3d435e,_0x4a7607,_0x2aa0b3;if(!((_0x3d435e=this[_0x3899ec(0x451)])!=null&&_0x3d435e[_0x3899ec(0x435)]))throw new Error(_0x3899ec(0x236));return(_0x2aa0b3=(_0x4a7607=this[_0x3899ec(0x451)])==null?void 0x0:_0x4a7607[_0x3899ec(0x435)])==null?void 0x0:_0x2aa0b3['call'](_0x4a7607,_0x29bfd4);},_0x26e787['onTransformRemoteChangesetByStateCache']=_0x454a55=>{var _0x2eb9a1=_0x19a802,_0x3dd1a7,_0x5e25b3,_0x425df9;if(!((_0x3dd1a7=this['_handlerCallback'])!=null&&_0x3dd1a7[_0x2eb9a1(0x150)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x425df9=(_0x5e25b3=this[_0x2eb9a1(0x451)])==null?void 0x0:_0x5e25b3[_0x2eb9a1(0x150)])==null?void 0x0:_0x425df9[_0x2eb9a1(0x18c)](_0x5e25b3,_0x454a55);},_0x26e787;}async[_0x457b8a(0x246)](){var _0x492deb=_0x457b8a;const _0x1f93c2=await super[_0x492deb(0x246)]();return this[_0x492deb(0x2b3)](this[_0x492deb(0x42d)][_0x492deb(0x298)]((_0x283bd9,_0xf9f295)=>{var _0x1cff6a=_0x492deb;if(_0x283bd9[_0x1cff6a(0x2b6)]!==a['CommandType']['MUTATION']||_0xf9f295!=null&&_0xf9f295['fromCollab']||_0xf9f295!=null&&_0xf9f295[_0x1cff6a(0x38f)]||_0x283bd9['id']===ct[_0x1cff6a(0x30c)]['id'])return;const _0x47cc8c=_0x283bd9[_0x1cff6a(0x30f)];if((_0x47cc8c==null?void 0x0:_0x47cc8c[_0x1cff6a(0x1ff)])!==this[_0x1cff6a(0x224)])return;const _0x5637a5=_0x283bd9,_0x2f7153=this['_compressMutationService']['interceptor'][_0x1cff6a(0x247)](this[_0x1cff6a(0x46d)][_0x1cff6a(0x251)][_0x1cff6a(0x481)]()['COMPRESS_MUTATION_SEND'])([_0x5637a5],null)||[_0x5637a5];this['_onLocalMutation'](_0x2f7153[0x0]);})),_0x1f93c2;}},exports[_0x457b8a(0x3ac)]=Be([j(0x3,a[_0x457b8a(0x40f)](a[_0x457b8a(0x18b)])),j(0x4,a[_0x457b8a(0x40f)](p[_0x457b8a(0x316)])),j(0x5,a[_0x457b8a(0x40f)](a['LocaleService'])),j(0x6,a[_0x457b8a(0x40f)](p[_0x457b8a(0x407)])),j(0x7,a[_0x457b8a(0x40f)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x457b8a(0x1b6)]),j(0xa,a[_0x457b8a(0x2a5)]),j(0xb,a[_0x457b8a(0x1e6)](de)),j(0xc,a[_0x457b8a(0x1e6)](K))],exports['DocCollaborationEntity']),exports[_0x457b8a(0x437)]=class extends exports[_0x457b8a(0x1ae)]{constructor(_0x43993c,_0x31d33e,_0x3f7ef8,_0x1460ee,_0x430ff4,_0xd41f54,_0x392f5d,_0x48344f,_0x5c03d5,_0x14f838,_0x355c74,_0x4071ef,_0xb48a68,_0x3e9915){var _0x407a1c=_0x457b8a;super(_0x43993c,_0x3f7ef8,_0x31d33e,_0x1460ee,_0x430ff4,_0xd41f54,_0x392f5d,_0x5c03d5,_0x14f838,_0x355c74,_0x4071ef,_0xb48a68,_0x3e9915),this[_0x407a1c(0x224)]=_0x43993c,this['type']=_0x31d33e,this[_0x407a1c(0x331)]=_0x48344f;}[_0x457b8a(0x293)](){var _0x1925f7=_0x457b8a;const _0x5946c1=super[_0x1925f7(0x293)]();return _0x5946c1[_0x1925f7(0x36a)]=_0x33cd0d=>this[_0x1925f7(0x331)]['transformSelections'](_0x33cd0d),_0x5946c1;}async[_0x457b8a(0x246)](){var _0x224f94=_0x457b8a;const _0x3e4839=await super[_0x224f94(0x246)]();return this['disposeWithMe'](this[_0x224f94(0x42d)]['onCommandExecuted']((_0x31cbf2,_0x27d50e)=>{var _0x411a26=_0x224f94;if(_0x31cbf2[_0x411a26(0x2b6)]!==a[_0x411a26(0x248)][_0x411a26(0x3e8)]||_0x27d50e!=null&&_0x27d50e[_0x411a26(0x25a)]||_0x27d50e!=null&&_0x27d50e[_0x411a26(0x38f)])return;const _0x3e87df=_0x31cbf2[_0x411a26(0x30f)];if((_0x3e87df==null?void 0x0:_0x3e87df[_0x411a26(0x1ff)])!==this[_0x411a26(0x224)])return;const _0x3a1fb4=_0x31cbf2,_0x2b8a06=this[_0x411a26(0x46d)][_0x411a26(0x251)][_0x411a26(0x247)](this['_compressMutationService']['interceptor'][_0x411a26(0x481)]()['COMPRESS_MUTATION_SEND'])([_0x3a1fb4],null)||[_0x3a1fb4];this[_0x411a26(0x381)](_0x2b8a06[0x0]);})),_0x3e4839;}},exports[_0x457b8a(0x437)]=Be([j(0x3,a[_0x457b8a(0x40f)](a['Injector'])),j(0x4,a[_0x457b8a(0x40f)](p['CompressMutationService'])),j(0x5,a[_0x457b8a(0x40f)](a['LocaleService'])),j(0x6,a[_0x457b8a(0x40f)](p[_0x457b8a(0x407)])),j(0x7,a['Inject'](exports[_0x457b8a(0x464)])),j(0x8,a[_0x457b8a(0x40f)](ee)),j(0x9,a[_0x457b8a(0x1be)]),j(0xa,a[_0x457b8a(0x1b6)]),j(0xb,a[_0x457b8a(0x2a5)]),j(0xc,a[_0x457b8a(0x1e6)](de)),j(0xd,a['Optional'](K))],exports['SheetCollaborationEntity']);const pt=a[_0x457b8a(0x384)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x4e4d45){var _0x2f6d44=_0x457b8a,_0x33dfe6,_0x4c3876,_0x117e1a,_0x1fcef7,_0x177fb2;const _0x2418bb=_0x4e4d45[_0x2f6d44(0x12e)],_0x590def=JSON[_0x2f6d44(0x442)](_0x2418bb);switch(_0x590def[_0x2f6d44(0x346)]){case W['HEARTBEAT']:case W[_0x2f6d44(0x41a)]:{const _0x3aa307=_0x590def[_0x2f6d44(0x1b0)];return{..._0x590def,'data':_0x3aa307,'cmd':_0x590def[_0x2f6d44(0x346)]};}case W['JOIN']:{const _0x4c68b4=_0x590def[_0x2f6d44(0x201)];return{..._0x590def,'data':_0x4c68b4,'cmd':_0x590def['cmd']};}case W[_0x2f6d44(0x299)]:{const _0x48faf3=_0x590def[_0x2f6d44(0x2af)];switch(_0x48faf3[_0x2f6d44(0x291)]){case p['CollaborationEvent']['PERMISSION_REJ']:return{..._0x590def,'data':{..._0x48faf3,'data':(_0x33dfe6=_0x48faf3[_0x2f6d44(0x14e)])==null?void 0x0:_0x33dfe6['cs']},'cmd':_0x590def[_0x2f6d44(0x346)]};case p['CollaborationEvent'][_0x2f6d44(0x161)]:return{..._0x590def,'data':{..._0x48faf3,'data':(_0x4c3876=_0x48faf3[_0x2f6d44(0x2d3)])==null?void 0x0:_0x4c3876['cs']},'cmd':_0x590def['cmd']};case p[_0x2f6d44(0x214)][_0x2f6d44(0x394)]:return{..._0x590def,'data':{..._0x48faf3,'data':(_0x117e1a=_0x48faf3[_0x2f6d44(0x38e)])==null?void 0x0:_0x117e1a['cs']},'cmd':_0x590def['cmd']};case p[_0x2f6d44(0x214)][_0x2f6d44(0x3de)]:return{..._0x590def,'data':{..._0x48faf3,'data':(_0x1fcef7=_0x48faf3[_0x2f6d44(0x2fb)])==null?void 0x0:_0x1fcef7['cs']},'cmd':_0x590def[_0x2f6d44(0x346)]};case p[_0x2f6d44(0x214)][_0x2f6d44(0x3a7)]:return{..._0x590def,'data':{..._0x48faf3,'data':(_0x177fb2=_0x48faf3[_0x2f6d44(0x265)])==null?void 0x0:_0x177fb2['cs']},'cmd':_0x590def['cmd']};case p[_0x2f6d44(0x214)][_0x2f6d44(0x453)]:return{..._0x590def,'data':{..._0x48faf3,'data':_0x48faf3[_0x2f6d44(0x29b)]},'cmd':_0x590def[_0x2f6d44(0x346)]};case p[_0x2f6d44(0x214)][_0x2f6d44(0x2b0)]:return{..._0x590def,'data':{..._0x48faf3,'data':_0x48faf3[_0x2f6d44(0x2a6)]},'cmd':_0x590def['cmd']};case p[_0x2f6d44(0x214)][_0x2f6d44(0x397)]:return{..._0x590def,'data':{..._0x48faf3,'data':_0x48faf3[_0x2f6d44(0x2de)]},'cmd':_0x590def[_0x2f6d44(0x346)]};case p[_0x2f6d44(0x214)][_0x2f6d44(0x196)]:return{..._0x590def,'data':{..._0x48faf3,'data':_0x48faf3[_0x2f6d44(0x27d)]},'cmd':_0x590def['cmd']};case p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case p[_0x2f6d44(0x214)][_0x2f6d44(0x1a4)]:return{..._0x590def,'data':{..._0x48faf3,'data':_0x48faf3[_0x2f6d44(0x24a)]},'cmd':_0x590def[_0x2f6d44(0x346)]};case p[_0x2f6d44(0x214)][_0x2f6d44(0x1cd)]:return{..._0x590def,'data':{..._0x48faf3,'data':_0x48faf3[_0x2f6d44(0x27d)]},'cmd':_0x590def['cmd']};case p['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x590def,'data':_0x48faf3,'cmd':_0x590def[_0x2f6d44(0x346)]};case p['CollaborationEvent'][_0x2f6d44(0x27f)]:return{..._0x590def,'data':{..._0x48faf3,'data':_0x48faf3[_0x2f6d44(0x3d1)]},'cmd':_0x590def[_0x2f6d44(0x346)]};case p[_0x2f6d44(0x214)][_0x2f6d44(0x191)]:return{..._0x590def,'data':{..._0x48faf3,'data':_0x48faf3[_0x2f6d44(0x3b9)]},'cmd':_0x590def[_0x2f6d44(0x346)]};case p['CollaborationEvent'][_0x2f6d44(0x186)]:return{..._0x590def,'data':{..._0x48faf3,'data':_0x48faf3[_0x2f6d44(0x2fa)]},'cmd':_0x590def[_0x2f6d44(0x346)]};case p[_0x2f6d44(0x214)][_0x2f6d44(0x229)]:return{..._0x590def,'data':{..._0x48faf3,'data':_0x48faf3[_0x2f6d44(0x2e9)]},'cmd':_0x590def[_0x2f6d44(0x346)]};default:return _0x590def;}}default:return _0x590def;}}function gt(_0x37b78b){var _0x499435=_0x457b8a;switch(_0x37b78b[_0x499435(0x346)]){case W['HEARTBEAT']:case W[_0x499435(0x41a)]:return JSON['stringify']({'cmd':_0x37b78b[_0x499435(0x346)],'routeKey':_0x37b78b['routeKey']});case W[_0x499435(0x2a8)]:{let _0xcd93f2;switch(_0x37b78b[_0x499435(0x12e)][_0x499435(0x291)]){case p[_0x499435(0x214)]['UPDATE_CURSOR']:{_0xcd93f2={'eventID':p[_0x499435(0x214)][_0x499435(0x453)],'updateCursorEvent':_0x37b78b['data']['data']};break;}case p[_0x499435(0x214)][_0x499435(0x397)]:{_0xcd93f2={'eventID':p[_0x499435(0x214)][_0x499435(0x397)],'leaveEvent':_0x37b78b[_0x499435(0x12e)][_0x499435(0x12e)]};break;}case p[_0x499435(0x214)][_0x499435(0x2b0)]:{_0xcd93f2={'eventID':p[_0x499435(0x214)][_0x499435(0x2b0)],'joinEvent':_0x37b78b[_0x499435(0x12e)][_0x499435(0x12e)]};break;}case p[_0x499435(0x214)][_0x499435(0x196)]:{_0xcd93f2={'eventID':p[_0x499435(0x214)][_0x499435(0x196)],'liveShareNewHost':_0x37b78b[_0x499435(0x12e)][_0x499435(0x12e)]};break;}case p['CollaborationEvent'][_0x499435(0x1a4)]:{_0xcd93f2={'eventID':p[_0x499435(0x214)][_0x499435(0x1a4)],'liveShareOperation':_0x37b78b[_0x499435(0x12e)][_0x499435(0x12e)]};break;}case p[_0x499435(0x214)][_0x499435(0x1cd)]:{_0xcd93f2={'eventID':p[_0x499435(0x214)][_0x499435(0x1cd)],'liveShareTerminate':_0x37b78b[_0x499435(0x12e)][_0x499435(0x12e)]};break;}case p[_0x499435(0x214)][_0x499435(0x2d6)]:{_0xcd93f2={'eventID':p[_0x499435(0x214)][_0x499435(0x2d6)],'liveShareRequestHost':_0x37b78b['data']['data']};break;}case p['CollaborationEvent'][_0x499435(0x328)]:{_0xcd93f2={'eventID':p[_0x499435(0x214)][_0x499435(0x328)]};break;}default:_0xcd93f2={'eventID':_0x37b78b[_0x499435(0x12e)]['eventID']};}return JSON[_0x499435(0x1c1)]({'cmd':_0x37b78b[_0x499435(0x346)],'routeKey':_0x37b78b[_0x499435(0x2ad)],'collaMsg':_0xcd93f2});}case W[_0x499435(0x3f9)]:return JSON[_0x499435(0x1c1)]({'cmd':_0x37b78b[_0x499435(0x346)],'routeKey':_0x37b78b[_0x499435(0x2ad)],'joinReq':_0x37b78b[_0x499435(0x12e)]});case W[_0x499435(0x416)]:return JSON[_0x499435(0x1c1)]({'cmd':_0x37b78b[_0x499435(0x346)],'routeKey':_0x37b78b['routeKey'],'leaveReq':_0x37b78b[_0x499435(0x12e)]});default:throw new Error(_0x499435(0x475));}}var ri=Object[_0x457b8a(0x37f)],si=(_0x292312,_0x2ba432,_0x4217ea,_0x4585c3)=>{for(var _0x14fc60=_0x4585c3>0x1?void 0x0:_0x4585c3?ri(_0x2ba432,_0x4217ea):_0x2ba432,_0xe9b76e=_0x292312['length']-0x1,_0x18151f;_0xe9b76e>=0x0;_0xe9b76e--)(_0x18151f=_0x292312[_0xe9b76e])&&(_0x14fc60=_0x18151f(_0x14fc60)||_0x14fc60);return _0x14fc60;},_e=(_0x31a279,_0x385dfe)=>(_0x56b64e,_0x293ade)=>_0x385dfe(_0x56b64e,_0x293ade,_0x31a279);const Fe=a[_0x457b8a(0x384)]('univer-pro.collaboration-client-socket-service');function oi(_0x5870a3,_0x4f9e21,_0x5b326c){var _0x5f46da=_0x457b8a;return _0x5870a3+'/'+_0x4f9e21+_0x5f46da(0x3d4)+_0x5b326c+'/new_changes';}exports[_0x457b8a(0x20b)]=class extends a[_0x457b8a(0x3e2)]{constructor(_0x478a85,_0x12b4ab,_0x266b09,_0x29f6e8,_0x4f023e){var _0x9c27c0=_0x457b8a;super(),this[_0x9c27c0(0x441)]=_0x478a85,this[_0x9c27c0(0x1a0)]=_0x12b4ab,this[_0x9c27c0(0x338)]=_0x266b09,this[_0x9c27c0(0x1da)]=_0x29f6e8,this[_0x9c27c0(0x2a9)]=_0x4f023e;}[_0x457b8a(0x46c)](_0x3d4888){var _0x19fa9c=_0x457b8a;const _0x4207e4=this['_injector']['get'](q[_0x19fa9c(0x3c6)]);if(!_0x4207e4)throw new Error(_0x19fa9c(0x386));const _0x699ff2=_0x4207e4[_0x19fa9c(0x16a)](_0x3d4888);if(!_0x699ff2)throw new Error(_0x19fa9c(0x46f));const _0x196b47=new a[(_0x19fa9c(0x244))](),_0x367a4b=new H[(_0x19fa9c(0x2a1))]();_0x196b47[_0x19fa9c(0x239)](_0x699ff2['close$'][_0x19fa9c(0x485)](_0x55d647=>_0x367a4b[_0x19fa9c(0x402)](_0x55d647))),_0x196b47[_0x19fa9c(0x239)](a['toDisposable'](()=>_0x367a4b[_0x19fa9c(0x319)]()));const _0x3ea06f=new H[(_0x19fa9c(0x2a1))]();_0x196b47[_0x19fa9c(0x239)](_0x699ff2[_0x19fa9c(0x490)][_0x19fa9c(0x485)](_0x43f21a=>_0x3ea06f['next'](_0x43f21a))),_0x196b47[_0x19fa9c(0x239)](a['toDisposable'](()=>_0x3ea06f[_0x19fa9c(0x319)]()));const _0x4c7e85=new H[(_0x19fa9c(0x2a1))]();_0x196b47[_0x19fa9c(0x239)](_0x699ff2[_0x19fa9c(0x37e)][_0x19fa9c(0x485)](_0x43eb7d=>{var _0x597857=_0x19fa9c;const _0x525254=mt(_0x43eb7d);_0x4c7e85[_0x597857(0x402)](_0x525254);})),_0x196b47[_0x19fa9c(0x239)](a[_0x19fa9c(0x414)](()=>_0x4c7e85[_0x19fa9c(0x319)]()));let _0x525ba1;const _0x37c288=()=>{var _0x33730f=_0x19fa9c;_0x3ea06f[_0x33730f(0x402)](new Event(_0x33730f(0x482))),_0x367a4b[_0x33730f(0x402)](new Event(_0x33730f(0x482))),_0x525ba1[_0x33730f(0x154)]();};return _0x525ba1={'memberID':'','close$':_0x367a4b[_0x19fa9c(0x2f8)](),'error$':_0x3ea06f[_0x19fa9c(0x2f8)](),'open$':_0x699ff2[_0x19fa9c(0x417)],'message$':_0x4c7e85[_0x19fa9c(0x2f8)](),'send':_0x1b142c=>{var _0x480100=_0x19fa9c;if(_0x1b142c[_0x480100(0x346)]===W[_0x480100(0x2a8)]){if(_0x1b142c[_0x480100(0x12e)][_0x480100(0x291)]===p[_0x480100(0x214)][_0x480100(0x3c9)]){this[_0x480100(0x31b)](_0x525ba1,_0x1b142c['data'])[_0x480100(0x349)](_0x4efc52=>{var _0x4e1a9e=_0x480100;this[_0x4e1a9e(0x1da)]['error'](_0x4efc52),_0x37c288();});return;}if(_0x1b142c[_0x480100(0x12e)]['eventID']===p[_0x480100(0x214)][_0x480100(0x2d8)]){const _0x403be9=_0x1b142c[_0x480100(0x12e)];this[_0x480100(0x341)](_0x403be9)[_0x480100(0x389)](_0x25b7fa=>{var _0x40995a=_0x480100;_0x4c7e85[_0x40995a(0x402)]({'cmd':W['RECV'],'code':se['OK'],'routeKey':_0x403be9[_0x40995a(0x12e)][_0x40995a(0x224)],'routeType':'','data':{'eventID':p[_0x40995a(0x214)][_0x40995a(0x347)],'data':{'changesets':_0x25b7fa}}});})[_0x480100(0x349)](_0x1138a4=>{var _0x3e8129=_0x480100;this[_0x3e8129(0x1da)][_0x3e8129(0x431)](_0x1138a4),_0x37c288();});return;}}_0x699ff2[_0x480100(0x1b2)](gt(_0x1b142c));},'close':()=>{var _0x516e0a=_0x19fa9c;_0x699ff2[_0x516e0a(0x154)](),_0x196b47['dispose']();}},_0x525ba1;}async['_submitChangeset'](_0x52496c,_0x3ae747){var _0x3e874a=_0x457b8a,_0x5a4144;const {unitType:_0x5eea0b,unitID:_0x58bb60,changeset:_0x139feb}=_0x3ae747[_0x3e874a(0x12e)],_0x486dfa={'unitID':_0x58bb60,'memberID':_0x52496c[_0x3e874a(0x466)],'type':_0x5eea0b,'changeset':p[_0x3e874a(0x41c)](_0x139feb)},_0x35d6fa=this['_configService']['getConfig'](Y),_0x320649=oi((_0x5a4144=_0x35d6fa==null?void 0x0:_0x35d6fa['collabSubmitChangesetUrl'])!=null?_0x5a4144:kt,_0x5eea0b,_0x58bb60);try{await this[_0x3e874a(0x1a0)][_0x3e874a(0x321)](_0x320649,{'body':_0x486dfa});}catch(_0x20767d){throw this['_logService'][_0x3e874a(0x431)](_0x3e874a(0x32d),_0x3e874a(0x44c)),_0x20767d;}}async['_fetchMissChangesets'](_0x457f21){var _0x3ed7ff=_0x457b8a;const {unitID:_0x301809,from:_0x3e8d37,to:_0x3b1755,unitType:_0x353993}=_0x457f21[_0x3ed7ff(0x12e)];return(await this['_snapshotServerService'][_0x3ed7ff(0x2da)]({'metadata':void 0x0},{'unitID':_0x301809,'type':_0x353993,'from':_0x3e8d37,'to':_0x3b1755}))[_0x3ed7ff(0x440)];}},exports['CollaborationSocketService']=si([_e(0x0,a[_0x457b8a(0x40f)](a[_0x457b8a(0x18b)])),_e(0x1,a[_0x457b8a(0x40f)](q[_0x457b8a(0x400)])),_e(0x2,a[_0x457b8a(0x1a8)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x457b8a(0x3fa)])],exports[_0x457b8a(0x20b)]);var ai=Object[_0x457b8a(0x37f)],ci=(_0x1c120d,_0x2822b1,_0x3b5f29,_0x2f1dbf)=>{for(var _0xd31182=_0x2f1dbf>0x1?void 0x0:_0x2f1dbf?ai(_0x2822b1,_0x3b5f29):_0x2822b1,_0x7c043b=_0x1c120d['length']-0x1,_0x2d743e;_0x7c043b>=0x0;_0x7c043b--)(_0x2d743e=_0x1c120d[_0x7c043b])&&(_0xd31182=_0x2d743e(_0xd31182)||_0xd31182);return _0xd31182;},he=(_0x2bcbfc,_0x77a4fc)=>(_0x2a5e89,_0x5062f5)=>_0x77a4fc(_0x2a5e89,_0x5062f5,_0x2bcbfc);exports[_0x457b8a(0x3a3)]=class extends a['Disposable']{constructor(_0x4a3d32,_0x5a5af2,_0x272d5c,_0xc708ce,_0x57d9f9,_0x5a4221){var _0x245a05=_0x457b8a;super(),A(this,_0x245a05(0x37a),new H[(_0x245a05(0x3cb))](void 0x0)),A(this,_0x245a05(0x2ef),this[_0x245a05(0x37a)][_0x245a05(0x2f8)]()),A(this,'_candidateSocket',null),A(this,'_sessions',new Map()),A(this,'_status$',new H[(_0x245a05(0x3cb))](re['IDLE'])),A(this,'status$',this['_status$'][_0x245a05(0x2f8)]()),A(this,_0x245a05(0x36b),!0x1),A(this,_0x245a05(0x43c)),A(this,_0x245a05(0x47d),0x0),A(this,_0x245a05(0x134)),A(this,_0x245a05(0x151)),(this[_0x245a05(0x441)]=_0x4a3d32,this[_0x245a05(0x1da)]=_0x5a5af2,this['_configService']=_0x272d5c,this[_0x245a05(0x128)]=_0xc708ce,this['_collaborationUIEventService']=_0x57d9f9,this[_0x245a05(0x413)]=_0x5a4221,this[_0x245a05(0x28a)]());}get[_0x457b8a(0x3cd)](){var _0x828a6a=_0x457b8a;return this[_0x828a6a(0x37a)][_0x828a6a(0x234)]();}[_0x457b8a(0x28a)](){var _0x2cc7ec=_0x457b8a;this[_0x2cc7ec(0x413)]&&this[_0x2cc7ec(0x2b3)](this[_0x2cc7ec(0x413)]['online$'][_0x2cc7ec(0x485)](_0x4bac54=>{var _0x329870=_0x2cc7ec;_0x4bac54&&!this[_0x329870(0x3cd)]&&this[_0x329870(0x2bf)](),_0x4bac54||this[_0x329870(0x3ef)]();}));}[_0x457b8a(0x339)](){var _0x28106d=_0x457b8a;super['dispose'](),this[_0x28106d(0x484)](),this[_0x28106d(0x36c)](),this[_0x28106d(0x379)](),this[_0x28106d(0x1f7)][_0x28106d(0x1e3)](_0x20fb06=>_0x20fb06[_0x28106d(0x339)]()),this['_sessions'][_0x28106d(0x35f)](),this['_status$'][_0x28106d(0x319)]();}async[_0x457b8a(0x473)](_0x567f90){var _0x2a45b2=_0x457b8a;if(this['_sessions'][_0x2a45b2(0x259)](_0x567f90))return this[_0x2a45b2(0x1f7)][_0x2a45b2(0x342)](_0x567f90);this[_0x2a45b2(0x133)]();const _0x4b64bb=this[_0x2a45b2(0x441)][_0x2a45b2(0x233)](exports['CollaborationSession'],_0x567f90,this[_0x2a45b2(0x37a)]['asObservable']());return this[_0x2a45b2(0x1f7)]['set'](_0x567f90,_0x4b64bb),_0x4b64bb;}[_0x457b8a(0x336)](_0x179540){var _0x230761=_0x457b8a,_0xe5918c;const _0x16a8eb=this[_0x230761(0x1f7)][_0x230761(0x342)](_0x179540);_0x16a8eb&&(this[_0x230761(0x1f7)]['delete'](_0x179540),_0x16a8eb[_0x230761(0x154)]()),this[_0x230761(0x1f7)][_0x230761(0x290)]||(_0xe5918c=this[_0x230761(0x3cd)])==null||_0xe5918c[_0x230761(0x154)]();}[_0x457b8a(0x2bf)](){var _0x146f8a=_0x457b8a;this['_retryCount']=0x0,this[_0x146f8a(0x484)](),this[_0x146f8a(0x38b)]();}[_0x457b8a(0x484)](){var _0x18638c=_0x457b8a;this[_0x18638c(0x43c)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x18638c(0x43c)]=null);}async[_0x457b8a(0x195)](){var _0x1d8a05=_0x457b8a,_0x426990;const _0xf6375=this[_0x1d8a05(0x338)][_0x1d8a05(0x487)](Y),_0x14d4ab=(_0x426990=_0xf6375==null?void 0x0:_0xf6375[_0x1d8a05(0x436)])!=null?_0x426990:ht,_0xf1b696=await this[_0x1d8a05(0x128)][_0x1d8a05(0x16a)](_0x14d4ab);return this[_0x1d8a05(0x21b)]=_0xf1b696,_0xf1b696;}async['_tryEnsureSocket'](){var _0x4e7357=_0x457b8a,_0x1e7b9f,_0x1c0776;try{const _0x139bb1=(_0x1c0776=(_0x1e7b9f=this['_socket'])!=null?_0x1e7b9f:this[_0x4e7357(0x21b)])!=null?_0x1c0776:await this[_0x4e7357(0x195)]();if(_0x139bb1){const _0x4c5f5b=_0x139bb1[_0x4e7357(0x1b2)];_0x139bb1[_0x4e7357(0x1b2)]=_0x7daa68=>(this[_0x4e7357(0x13d)](),_0x4c5f5b[_0x4e7357(0x29f)](_0x139bb1,[_0x7daa68])),_0x139bb1['message$'][_0x4e7357(0x485)](_0x4c3e64=>this[_0x4e7357(0x47a)](_0x139bb1,_0x4c3e64)),_0x139bb1[_0x4e7357(0x490)]['pipe'](V['take'](0x1))[_0x4e7357(0x485)](_0x40b642=>this[_0x4e7357(0x1da)][_0x4e7357(0x431)](_0x4e7357(0x406),_0x40b642)),_0x139bb1[_0x4e7357(0x417)]['pipe'](V['take'](0x1))[_0x4e7357(0x485)](()=>{var _0x4187f8=_0x4e7357;this[_0x4187f8(0x3a0)](_0x139bb1);}),_0x139bb1['close$'][_0x4e7357(0x2d5)](V[_0x4e7357(0x279)](0x1))[_0x4e7357(0x485)](_0x1e1d84=>{var _0x1dba98=_0x4e7357;this[_0x1dba98(0x1da)][_0x1dba98(0x1b3)](_0x1dba98(0x3a1),_0x1dba98(0x418),_0x1e1d84),this['_onConnectionFailed']();});}}catch(_0x2f083e){this['_logService'][_0x4e7357(0x431)](_0x2f083e),this[_0x4e7357(0x3d5)]();}}[_0x457b8a(0x3a0)](_0x2f1834){var _0x192fc6=_0x457b8a;this[_0x192fc6(0x1da)][_0x192fc6(0x1b3)](_0x192fc6(0x3a1),'socket\x20open.'),_0x2f1834['send']({'cmd':W[_0x192fc6(0x41a)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x509e61=_0x457b8a;this[_0x509e61(0x36b)]=!0x1,this['_candidateSocket']=null,this[_0x509e61(0x127)][_0x509e61(0x402)](re[_0x509e61(0x22d)]),this['_socket$'][_0x509e61(0x402)](null),this[_0x509e61(0x36c)](),this['_clearHeartbeatTimer']();}[_0x457b8a(0x3d5)](){var _0x11bb88=_0x457b8a,_0x1253b6;this[_0x11bb88(0x3ef)](),this['_retryCount']<((_0x1253b6=this[_0x11bb88(0x338)][_0x11bb88(0x487)](ut))!=null?_0x1253b6:Mt)?(this[_0x11bb88(0x24f)]['emitEvent']({'id':Z[_0x11bb88(0x22f)]}),this[_0x11bb88(0x38b)]()):this[_0x11bb88(0x24f)][_0x11bb88(0x22b)]({'id':Z[_0x11bb88(0x28c)]});}['_tryReconnect'](){var _0x4e2ec8=_0x457b8a,_0x1afbe5;const _0x394187=this[_0x4e2ec8(0x47d)],_0x477c63=this[_0x4e2ec8(0x338)][_0x4e2ec8(0x487)](Y),_0xe1648f=_0x394187===0x0?0x0:((_0x1afbe5=_0x477c63==null?void 0x0:_0x477c63[_0x4e2ec8(0x493)])!=null?_0x1afbe5:wt)*0x2**_0x394187;this[_0x4e2ec8(0x43c)]=setTimeout(()=>{var _0x420f17=_0x4e2ec8;clearTimeout(this[_0x420f17(0x43c)]),this[_0x420f17(0x43c)]=null,this[_0x420f17(0x133)]();},_0xe1648f),this[_0x4e2ec8(0x47d)]+=0x1;}[_0x457b8a(0x47a)](_0x20f940,_0x104706){var _0xfbcea6=_0x457b8a;const {cmd:_0x3e2612}=_0x104706;_0x3e2612===W[_0xfbcea6(0x41a)]&&!this[_0xfbcea6(0x36b)]&&(_0x20f940['memberID']=_0x104706['data'][_0xfbcea6(0x466)],this[_0xfbcea6(0x37a)][_0xfbcea6(0x402)](_0x20f940),this[_0xfbcea6(0x127)][_0xfbcea6(0x402)](re[_0xfbcea6(0x2fd)]),this['_socketReady']=!0x0,this[_0xfbcea6(0x21b)]=null),_0x3e2612===W[_0xfbcea6(0x445)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x457b8a(0x13d)](){var _0x28f226=_0x457b8a,_0x2bb425;this[_0x28f226(0x379)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x28f226(0x2bc)](),(_0x2bb425=this[_0x28f226(0x338)][_0x28f226(0x487)](_t))!=null?_0x2bb425:Pt);}[_0x457b8a(0x2bc)](){var _0x3d9635=_0x457b8a;this[_0x3d9635(0x3cd)][_0x3d9635(0x1b2)]({'cmd':W[_0x3d9635(0x445)]}),this[_0x3d9635(0x210)]();}['_waitForHeartbeatResponse'](){var _0x19825f=_0x457b8a,_0x2c77e3;this[_0x19825f(0x151)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2c77e3=this[_0x19825f(0x338)]['getConfig'](ke))!=null?_0x2c77e3:lt);}[_0x457b8a(0x379)](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x457b8a(0x36c)](){var _0x59d3d0=_0x457b8a;this[_0x59d3d0(0x151)]!=null&&(clearTimeout(this[_0x59d3d0(0x151)]),this[_0x59d3d0(0x151)]=null);}},exports['CollaborationSessionService']=ci([he(0x0,a[_0x457b8a(0x40f)](a['Injector'])),he(0x1,a[_0x457b8a(0x1be)]),he(0x2,a['IConfigService']),he(0x3,Fe),he(0x4,a['Inject'](ee)),he(0x5,a[_0x457b8a(0x1e6)](pt))],exports[_0x457b8a(0x3a3)]);function _0x4f2a(){var _0x3b2315=['reset','Inject','ALREADY_EXISTS','JOIN_ROOM_NOT_EXISTS','processBlock','_networkConditionService','toDisposable','sequenceExecute','LEAVE','open$','socket\x20close','_scheduleCompleteTimestamp','HELLO','[FetchMissState]','parseChangesetToProtocol','ENSURE_SNAPSHOT_EXECUTION','INVITE_CODE_REQUIRED','removeMember','_transformRemoteChangesetByStateCache','UNIVER_PROJECT','SNAPSHOT_HAS_BEEN_REMOVED','substr','Decryptor','filter','_append','incrementRevOfUnit','NO_OTHER_CLIENTS_EDITING','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','605527WXlbbY','_key','getLatestCsReqIdBySid','_commandService','getMember','Latin1','RxDisposable','error','SyncedState','push','_showConflictNotification','onTransformRemoteChangesetByIMECache','collabWebSocketUrl','SheetCollaborationEntity','LOCAL_CACHE_INTERVAL','resend','[PendingState]:\x20received\x20rejection.','extend','_retryConnectingTimer','target','transformMutationsWithChangeset','HMAC','changesets','_injector','parse','fetchMiss','mergeOverrideWithDependencies','HEARTBEAT','startTime','method','from','7805897nmQcGK','sessionStatus','session.room-full','submit\x20changeset\x20error!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/rev/','encode','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_handlerCallback','_isPermissionRej','UPDATE_CURSOR','JOIN_ROOM_FAILED','_revisionService','_getCurrentRevision','Cipher','pending','_collabSessionService','confirm','mixIn','image/jpg','msCrypto','MOBILE_HAS_BEEN_BOUND','BlockCipher','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','OpenSSL','_nDataBytes','MentionIoHttpService','SheetTransformSelectionsService','floor','memberID','isTransformMutationsWithChangesetFailure','min','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','put','formatter','_doCreateSocket','_compressMutationService','OTHER_CLIENT_EDITING','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','blockSize','[PendingState]:\x20received\x20acknowledgement.','c1Prime','requireSession','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','telemetry\x20info\x20is\x20not\x20initialized','_doFinalize','focused$','USER_NOT_INVITED_CODE','_onMessage','PY_RUNTIME_SCRIPT_ERROR','YUUMI_ASYNCIO_CANCELLED','_retryCount','_telemetryInfo','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collaboration_new_changeset','getInterceptPoints','connection\x20error','Quantity','_clearRetryConnectingTimer','subscribe','readInt32LE','getConfig','LICENSE_EXPORT_SIZE_EXCEEDED','Rectangle','INVALID_ARGUMENT','SessionStatus','_onCombEvent','_type','snapshot','localeService','error$','_syncEditingCollabCursor','[PendingState]:\x20unhandled\x20univer\x20type:\x20','retryConnectingInterval','onRemoteAck','isTransformMutationsWithChangesetSuccess','_status$','_socketService','UNIVER_DOC','_getUndoStack','onTransformIME','init','getRandomValues','data','PasswordBasedCipher','_disableEditing','HEARTBEAT_TIMEOUT','SNAPSHOT_URL_KEY','_tryEnsureSocket','_sendHeartbeatTimer','UNIVER_SLIDE','cfg','unitInfo$','_changesetReqId','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCollaborator','_config','userID','_rescheduleHeartbeat','_reverseMap','&to=','CBC','offline','_oKey','capture','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_singleActiveUnitService','toggleOffline','AES','range','IContextService','getUnitId','generateRandomId','__creator','listRoles','permissionRejEvent','roles','onTransformRemoteChangesetByStateCache','_timeoutTimer','CONNECTOR_DATA_TOO_LARGE','byteLength','close','NoPadding','[DataLoaderService]','readAsDataURL','transformChangesets','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UNIVER_UNKNOWN','_createHmacHelper','univer-pro.collaboration-client.single-active-unit-service','YUUMI_SUBSCRIPTION_NOT_FOUND','set','sessionStatus$','APPLY_REJECT','CHANGESET_ACK','registerHTTPInterceptor','[OfflineState]:\x20received\x20acknowledgement.','collaboratorID','UniverInstanceType','LocaleService','_getUploadFileURL','objectType','_getAPIPrefixPath','createSocket','onMissingChangesets','_substituteRedoStack','_scheduleCollaborationTimeoutTimer','name','AWAITING_WITH_PENDING','baseRev','getTypeOfUnitAdded$','onRemoteRej','state','_registerDependencies','_lockTransition','file','UnitEmbedded','IUndoRedoService','Undefined','localCacheService','HTTPRequest','listCollaborators','AwaitingState','POST','_emitMembers','entries','UNIVER_COLLABORATION_CLIENT_PLUGIN','Univer','EvpKDF','Pkcs7','body','SHOULD_CLOSE_CONN','_clearRedo','?url=','compose','function','Injector','call','UNAUTHENTICATED','editing\x20status\x20changed\x20to','UNIVER_SHEET','ILocalCacheService','UPDATE_PERMISSION_OBJ','UNKNOWN_CODE','allowed','\x20-\x20','_createSocket','LIVESHARE_NEW_HOST','result','randomBytes','x-univer-host','_replaceFileID','loadSheet','_localeService','/allowed','_handler','algo','_httpService','UniverCollaborationClientPlugin','url','hasher','LIVESHARE_OPERATION','YUUMI_AI_RUN_FAILED','_commentService','loadUnitOfRevision','IConfigService','_initMergeInterceptor','CONFLICT','WorkbookEditablePermission','originalMeta','pad','CollaborationEntity','append','infoRsp','CollaborativeUndoRedoService','send','debug','_univerInstanceService','resolve','ICommandService','getCollabEntity','getTypeOfUnitDisposed$','_queuedRemoteChangesets','every','_memberService','UserProfileImg','WECHAT_HAS_BEEN_BOUND','ILogService','\x0aAfter:\x20','_pendingMutations','stringify','FetchingMissState','clone','_onRecvEvent','event$','c2Prime','_data','IMentionIOService','_parse','_ENC_XFORM_MODE','CLOSE_ROOM','session.room-cnt-exceeds','LIVESHARE_TERMINATE','DataLoaderService','unsubscribe','uuidv4','[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.','encrypt','24SnJHRy','action','ISingleActiveUnitService','awaiting','appendMutation','Could\x20not\x20dynamically\x20require\x20\x22','parseProtocolChangeset','_logService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getAllMembers','_initCloseConn','JOIN_ROOM_FULL','Encryptor','byteOffset','_updateStatus','_checkMissing','forEach','SUBMIT_CHANGESET_TIMEOUT','createEncryptor','Optional','_transformStateCache','save\x20fail\x20reason\x20is\x20','getSheetId','/universer-api/uniscript','touchDependencies','_imageSourceCache','_onFetchMissResult','decryptBlock','_roomCreated$','unit-cache-','_getCtorByUniverType','_incrementRevisionNumber','state$','indexOf','AuthzIoHttpService','_clearCollaborationTimeoutTimer','_sessions','JOIN_ROOM_PERMISSION_DENIED','actions','_hash','HEARTBEAT_INTERVAL','charAt','isPermissionRej','subject','unitId','FETCH_MISS','joinRsp','enableAuthServer','YUUMI_CONNECTOR_URL_NOT_FOUND','_createInitialState','delay','resourceIDs','list','prototype','OTHER_CLIENTS_EDITING','_remoteChangesetQueue','CollaborationSocketService','UNKNOWN_CMD','_updateState','location','enableSingleActiveInstanceLock','_waitForHeartbeatResponse','_members$','roomInfos','DEFAULT_COLLAB_WEB_SOCKET_URL','CollaborationEvent','LICENSE_MAX_UNITS_EXCEEDED','?size=','format','onSendChangeset','_initRequestHeader','onLocalMutation','_candidateSocket','_onJoinRoomEvent','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onRemoteRetry','create','clamp','pluginName','IAuthzIoService','_invKeySchedule','unitID','image/png','getImage','_permissionService','decrypt','UNISCRIPT_RUN','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','emitEvent','string','OFFLINE','reqId','SOCKET_FAILED_RETRY','getSheetBlock','sigBytes','EMAIL_HAS_BEEN_BOUND','createInstance','getValue','_eventService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_throwTelemetryCollaborationNewChangeset','update','add','_sender','__Key__','_schedule','CollaborationImageIoService','session.join-failed','_toggleOffline','_localCacheService','startsWith','_getSendChangesetTimeout','4GQMipW','DisposableCollection','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_init','fetchThroughInterceptors','CommandType','slice','liveShareOperation','[SyncedState]:\x20received\x20rejection.','SYNCED','LICENSE_IMPORT_SIZE_EXCEEDED','_transformIMECache','_collaborationUIEventService','WordArray','interceptor','concat','_getDownloadEndpointURL','getCurrentUser','encryptBlock','execute','[CollaborationState]:\x20apply\x20error!','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','has','fromCollab','_state','serializeCombRequest','_undoRedoService','_snapshotService','_doProcessBlock','_applyRemoteChangeset','getActiveSheet','requestParams','toggleOnline','APPLY_DUPLICATED','csShouldRetryEvent','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','IDLE','_updateLocalCache','/-/object/-/batch_allowed','APPLY_NON_SEQUENTIAL_REVISION','getUnitStatus$','EMAIL_VERIFY_CODE_MISMATCH','MemberService','_acknowledgedAwaitingChangeset','UnitSnapshot','duration','[OfflineState]:\x20received\x20rejection.','Error\x20on\x20receiving\x20event','executeCommand','SerializableCipher','finalize','createCollaborator','charCodeAt','_toggleOnline','take','HmacMD5','_startTelemetryCollaborationNewChangeset','_onRemoteChangeset','liveShareNewHost','Hasher','COMMENT_UPDATE','COMPRESS_MUTATION_APPLY','fetch_missing','delete','_commentUpdate$','getCurrentRevOfUnit','key','getDeserializedSheetBlock','_collaborationPaused','CollaborationController','keySize','_listenToNetworkCondition','_iKey','SOCKET_FAILED','code','COMPLETION_FINISHED','mutations','size','eventID','updateMember','_createHandler','5983911flwlNk','_transformSelections','DEFAULT_WS_SESSION_TICKET_URL','join','onCommandExecuted','RECV','MOBILE_VERIFY_CODE_MISMATCH','updateCursorEvent','UNDEFINED','_event$','encodeURIComponent','apply','_getRedoStack','Subject','_exhaustRemoteChangesetQueue','InsertSheetMutation','getResourcesRequest','IPermissionService','joinEvent','loginUrlKey','INGEST','_snapshotServerService','sin','_joinRoom','/universer-api/file/{fileID}/sign-url','routeKey','_changesetSessionId','collaMsg','USERS_ENTER','APPLY_PERMISSION_DENIED','EmptyMutation','disposeWithMe','onStateChange','_clearUndo','type','getTime','saveSheetBlock','textRanges','ImageUploadStatusType','UniverCollaborationPlugin','_sendHeartbeat','addHandlerCallback','updatePermissionPoint','reconnect','downloadEndpointUrl','_state$','SetSelectionsOperation','Base64','_members','exports','_map','revision','\x20in\x20_schedule.','getImageSourceCache','CipherParams','collaboration-client.local-cache-service','members$','find','$super','not_collab','MSG_FOR_ERROR','NOT_FOUND','_collaborationSessionService','csAckEvent','APPLY_REVISION_CONFILICT','pipe','LIVESHARE_REQUEST_HOST','CHANGESET_REVISION_CONFILICT','FETCH_MISSING','_getAPIPrefix','fetchMissingChangesets','unpad','status','CollaborationSession','leaveEvent','uploadFileServerUrl','_cipher','_executeRemoteChangeset','isInternalEditorID','_resendTimeout','_onUserJoin','/universer-api/stream/file/upload','7942240LWsqKK','_startCollaboration','_onRemoteRejected','uniscriptRunEvent','TOO_MANY_REQUESTS','INVITE_CODE_ALREADY_BOUND','PERSON','snapshotServerUrl','selections','socket$','_keySchedule','_initDependencies','_onUserLeave','12YMkthq','[OfflineState]:\x20received\x20changeset.','_prevBlock','override','ITransformService','asObservable','deepClone','shouldCloseConn','csRejEvent','[CollaborationUndoRedoService]','ONLINE','Plugin','_unitInfo$','ConflictState','MentionType','_removeRoom','setShowComponents','map','_doCryptBlock','members','IImageIoService','_unitID','ImageSourceType','crypto','onRemoteRetry','RichTextEditingMutation','_shouldReportTelemetry','Failed\x20to\x20update\x20permission\x20point','params','_resendTimer','authzUrl','/collaborator','editingUnit','_entityInit$','onTransformState','CompressMutationService','/universer-api/snapshot/','dispose$','complete','objectActions','_submitChangeset','3282762llPQjR','AwaitingWithPendingState','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','8ZDuilR','loadOfflineData','post','salt','FileId','{fileID}','UserManagerService','sheets','_process','LIVESHARE_FETCH_OPERATIONS','LocalUndoRedoService','RETRY_CONNECTING_MAX_COUNT','awaitingChangeset','HttpExport','[CollaborationSession]','INTERNAL_ERROR','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_nRounds','_sheetTransformSelectionsService','onRemoteChangeset','DependentOn','_xformMode','_telemetryService','closeSession','ciphertext','_configService','dispose','copyFileMeta','setConfig','YUUMI_NO_CUBOID_FOR_QUESTION','fromCharCode','ERROR_IMAGE','[SyncedState]:\x20received\x20acknowledgement.','HttpImport','_fetchMissChangesets','get','SnapshotServerOverHTTPService','_onRemoteACK','firstValueFrom','cmd','PSEUDO_FETCH_MISSING_RESULT','CollaborationStatus','catch','abs','isArray','INVITE_CODE_HAS_BEEN_UES','_transformService','ceil','_keyPriorReset','_createInitialStateImpl','2afgzOF','/fetchmissing?from=','CollaborationUIEventId','socketService','UUID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','objects','YUUMI_ALL_TABLES_IS_INVALID','Malformed\x20UTF-8\x20data','saveSnapshot','failed\x20to\x20apply\x20missed\x20changesets!','stopTime','_getSignURL','signUrlServerUrl','clear','values','MD5','getCurrentSelections','Module','onSyncEditingCollabCursor','_mode','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_awaitingChangeset','random','mode','onTransformSelections','_socketReady','_clearTimeoutTimer','now','OfflineState','enableOfflineEditing','_instanceService','_initUnitPermissionChange','deleteCollaborator','GLOBAL_ROOMS_CNT_EXCEEDS','includes','reject','_sessionStatus$','[CollaborationEntity]','takeUntil','_clearHeartbeatTimer','_socket$','PendingState','length','image/gif','message$','getOwnPropertyDescriptor','splice','_onLocalMutation','max','HEARTBEAT_TIMEOUT_KEY','createIdentifier','rev','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','textEncoder','commentUpdate$','then','&source=','_tryReconnect','_sendingTimer','_createHelper','newCsEvent','onlyLocal','/universer-api/authz','unknown','collaborators','fetching\x20missing\x20changesets\x20from\x20','NEW_CHANGESETS','addImageSourceCache','merge','USERS_LEAVE','INVALID_INVITE_CODE','getMemberID','_decreaseWaiting','OPTIONAL','_hasher','toString','LOGIN_FAILED','_minBufferSize','_onConnectionOpen','[CollaborationSessionService]','status$','CollaborationSessionService','awaiting_with_pending','change$','ICollaborationSocketService','CHANGESET_SHOULD_RETRY','_waitCount','CollaborationUIEventService','objectID','_substituteUndoStack','DocCollaborationEntity','ReplaySubject','iterations','AWAITING','getUnit','b64DecodeUnicode','getCollabEntity$','Base','mapDocumentTypeToUniverType','getSnapshotAPIPath','_onConflict','kdf','791465CSMQSt','updatePermissionObjEvent','ivSize','lib','YUUMI_UNABLE_LOAD_URL','/block/','_collaborationTimeoutTimer','createDecryptor','default','1368057SzFTXu','repeat','Utf8','_DEC_XFORM_MODE','transformUndoRedo','ISocketService','_undoStacks','_resendWithTimeout','SUBMIT_CHANGESET','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','BehaviorSubject','m2Prime','_socket','getGlobalObject','_entities','_iv','commentUpdateEvent','reverse','IUniverInstanceService','/unit/','_onConnectionFailed','subUnitId','patch','_transformStack','_change$','_stopTelemetryCollaborationNewChangeset','/object/','_replayCachedMutations','_userManagerService','CHANGESET_REJ','onMissedChangesetFetched','toStringTag','workbook','Disposable','href','_unlockTransition','getFocusedUnit','words','hasOwnProperty','MUTATION','_roomMembers','PERMISSION_DENIED','_HTTPService','deserializeToCombResponse','LICENSE_DISTRO_REJECTED','_transitionLocked','_onOffline','collaboration-client.config','synced','BASE64','[UniverCollaborationClientPlugin]','SHA1','replace','entityInit$','_clearScheduledTask','_clearLocalCache','JOIN','ISnapshotServerService','\x0aCurrent:\x20','sid','session','FAIL','compute','HTTPService','_socketMessageSubscription','next','batchAllowed','headers','UNRECOGNIZED','[CollaborationSessionService]:\x20socket\x20error','RevisionService','concatMap','loadUnit','SNAPSHOT_INVALID_SNAPSHOT','defineProperty','sendChangesetTimeout','Hex'];_0x4f2a=function(){return _0x3b2315;};return _0x4f2a();}var hi=Object[_0x457b8a(0x37f)],_i=(_0x4064e4,_0x816480,_0x30e0c3,_0x1e3cc0)=>{var _0x4972c3=_0x457b8a;for(var _0x27606d=_0x1e3cc0>0x1?void 0x0:_0x1e3cc0?hi(_0x816480,_0x30e0c3):_0x816480,_0x29fdae=_0x4064e4[_0x4972c3(0x37c)]-0x1,_0x22826a;_0x29fdae>=0x0;_0x29fdae--)(_0x22826a=_0x4064e4[_0x29fdae])&&(_0x27606d=_0x22826a(_0x27606d)||_0x27606d);return _0x27606d;},Se=(_0xf7976b,_0x48e45d)=>(_0x3aaa3b,_0xdfa240)=>_0x48e45d(_0x3aaa3b,_0xdfa240,_0xf7976b);exports[_0x457b8a(0x288)]=class extends a[_0x457b8a(0x430)]{constructor(_0x3446cd,_0x56440d,_0x44ef64,_0x50a46d){var _0x556bc2=_0x457b8a,_0x2c755e;super(),A(this,_0x556bc2(0x3cf),new Map()),A(this,_0x556bc2(0x314),new H['Subject']()),A(this,_0x556bc2(0x3f6),this[_0x556bc2(0x314)][_0x556bc2(0x2f8)]()),(this[_0x556bc2(0x441)]=_0x3446cd,this['_collabSessionService']=_0x56440d,this[_0x556bc2(0x338)]=_0x44ef64,this[_0x556bc2(0x1b4)]=_0x50a46d,((_0x2c755e=this[_0x556bc2(0x338)][_0x556bc2(0x487)](Y))==null?void 0x0:_0x2c755e['enableCollaboration'])!==!0x1&&this[_0x556bc2(0x246)]());}['dispose'](){var _0xd68cd4=_0x457b8a;super[_0xd68cd4(0x339)](),this[_0xd68cd4(0x3cf)][_0xd68cd4(0x1e3)](_0x3c8068=>_0x3c8068[_0xd68cd4(0x339)]()),this[_0xd68cd4(0x3cf)][_0xd68cd4(0x35f)]();}[_0x457b8a(0x1b7)](_0x5452a0){var _0x2273cc=_0x457b8a,_0x23c8f9;return(_0x23c8f9=this[_0x2273cc(0x3cf)][_0x2273cc(0x342)](_0x5452a0))!=null?_0x23c8f9:null;}[_0x457b8a(0x3b2)](_0x48b572){var _0x1a140c=_0x457b8a;const _0x440c32=this[_0x1a140c(0x1b7)](_0x48b572);return _0x440c32?H['of'](_0x440c32):this[_0x1a140c(0x314)]['pipe'](V[_0x1a140c(0x425)](_0x3b6a7a=>_0x3b6a7a[_0x1a140c(0x224)]===_0x48b572));}['readyForCollab'](_0x21e38b){var _0x38682a=_0x457b8a;return H[_0x38682a(0x345)](this[_0x38682a(0x3b2)](_0x21e38b)[_0x38682a(0x2d5)](V['map'](()=>{})));}[_0x457b8a(0x246)](){var _0x5d1627=_0x457b8a;this[_0x5d1627(0x1b4)][_0x5d1627(0x171)](a[_0x5d1627(0x165)]['UNIVER_SHEET'])[_0x5d1627(0x2d5)](H[_0x5d1627(0x378)](this['dispose$']),V[_0x5d1627(0x205)](0x10))[_0x5d1627(0x485)](async _0x2c3db7=>{var _0x4b1f1e=_0x5d1627;const _0x16e74e=_0x2c3db7[_0x4b1f1e(0x14a)](),_0x1139f4=await this[_0x4b1f1e(0x2e7)](_0x16e74e,J[_0x4b1f1e(0x18f)]);this[_0x4b1f1e(0x3cf)]['set'](_0x16e74e,_0x1139f4);}),this['_univerInstanceService'][_0x5d1627(0x171)](a[_0x5d1627(0x165)]['UNIVER_DOC'])['pipe'](H[_0x5d1627(0x378)](this['dispose$']),V[_0x5d1627(0x205)](0x10))[_0x5d1627(0x2d5)](V[_0x5d1627(0x425)](_0x5c4ca2=>!_0x5c4ca2[_0x5d1627(0x14a)]()[_0x5d1627(0x241)]('__')))[_0x5d1627(0x485)](async _0x29ac15=>{var _0x6df5b=_0x5d1627;const _0x2f5a6a=_0x29ac15[_0x6df5b(0x14a)](),_0x26015e=await this[_0x6df5b(0x2e7)](_0x2f5a6a,J['UNIVER_DOC']);this[_0x6df5b(0x3cf)]['set'](_0x2f5a6a,_0x26015e);}),H[_0x5d1627(0x396)](this['_univerInstanceService'][_0x5d1627(0x1b8)](a[_0x5d1627(0x165)][_0x5d1627(0x18f)]),this['_univerInstanceService'][_0x5d1627(0x1b8)](a[_0x5d1627(0x165)][_0x5d1627(0x129)]))[_0x5d1627(0x2d5)](H[_0x5d1627(0x378)](this['dispose$']))['subscribe'](_0x33c902=>{var _0x1030f9=_0x5d1627;const _0x58a88a=_0x33c902[_0x1030f9(0x14a)](),_0x5210c9=this[_0x1030f9(0x3cf)]['get'](_0x58a88a);_0x5210c9&&(_0x5210c9[_0x1030f9(0x339)](),this['_entities'][_0x1030f9(0x282)](_0x58a88a));});}async[_0x457b8a(0x2e7)](_0x24b8e6,_0x59ac84){var _0x2a9b58=_0x457b8a;const _0x9ecfcb=await this[_0x2a9b58(0x459)][_0x2a9b58(0x473)](_0x24b8e6),_0x3db6ba=this[_0x2a9b58(0x441)][_0x2a9b58(0x233)](this[_0x2a9b58(0x1f1)](_0x59ac84),_0x24b8e6,_0x59ac84,_0x9ecfcb);return await _0x3db6ba[_0x2a9b58(0x12c)](),this[_0x2a9b58(0x314)]['next'](_0x3db6ba),_0x3db6ba;}['_getCtorByUniverType'](_0x15f73b){var _0x197000=_0x457b8a;switch(_0x15f73b){case J[_0x197000(0x129)]:return exports['DocCollaborationEntity'];case J[_0x197000(0x18f)]:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x15f73b);}}},exports['CollaborationController']=_i([Se(0x0,a['Inject'](a[_0x457b8a(0x18b)])),Se(0x1,a[_0x457b8a(0x40f)](exports['CollaborationSessionService'])),Se(0x2,a[_0x457b8a(0x1a8)]),Se(0x3,a['IUniverInstanceService'])],exports[_0x457b8a(0x288)]);var li=Object[_0x457b8a(0x37f)],ui=(_0x26fc93,_0x10aff4,_0x20413f,_0x13b434)=>{var _0x2cf9d0=_0x457b8a;for(var _0x58fb01=_0x13b434>0x1?void 0x0:_0x13b434?li(_0x10aff4,_0x20413f):_0x10aff4,_0x57e04e=_0x26fc93[_0x2cf9d0(0x37c)]-0x1,_0x3bf673;_0x57e04e>=0x0;_0x57e04e--)(_0x3bf673=_0x26fc93[_0x57e04e])&&(_0x58fb01=_0x3bf673(_0x58fb01)||_0x58fb01);return _0x58fb01;},Ye=(_0x5b4622,_0x114a93)=>(_0x1c03ae,_0x2782d6)=>_0x114a93(_0x1c03ae,_0x2782d6,_0x5b4622);const di='DEFAULT_FILE_NAME',vi=_0x457b8a(0x182);let xe=class extends a[_0x457b8a(0x3e2)]{constructor(_0x35a465,_0x2137c8){var _0x24df80=_0x457b8a;super(),this['_univerInstanceService']=_0x35a465,this[_0x24df80(0x338)]=_0x2137c8,this[_0x24df80(0x246)]();}['_init'](){var _0x2706af=_0x457b8a;this['disposeWithMe'](this[_0x2706af(0x1b4)][_0x2706af(0x478)]['subscribe'](()=>{var _0x434850=_0x2706af,_0x574655;const _0x4ef0ae=this['_univerInstanceService'][_0x434850(0x3e5)]();let _0x3fd976=(_0x574655=this[_0x434850(0x338)][_0x434850(0x487)](di))!=null?_0x574655:vi;_0x4ef0ae instanceof a['Workbook']&&(_0x3fd976=_0x4ef0ae['name']),document['title']=_0x3fd976;}));}};xe=ui([Ye(0x0,a[_0x457b8a(0x3d3)]),Ye(0x1,a['IConfigService'])],xe);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x34591b,_0x4f7ef4,_0x5845eb,_0xd99366)=>{var _0x915111=_0x457b8a;for(var _0x156176=_0xd99366>0x1?void 0x0:_0xd99366?Si(_0x4f7ef4,_0x5845eb):_0x4f7ef4,_0x3654e0=_0x34591b[_0x915111(0x37c)]-0x1,_0x25e624;_0x3654e0>=0x0;_0x3654e0--)(_0x25e624=_0x34591b[_0x3654e0])&&(_0x156176=_0x25e624(_0x156176)||_0x156176);return _0x156176;},Ae=(_0x1857ff,_0x4dfd77)=>(_0x1e2535,_0x25d6fa)=>_0x4dfd77(_0x1e2535,_0x25d6fa,_0x1857ff);let ye=class{constructor(_0x5a654a,_0x1944aa,_0x28af15){var _0x3ecd0d=_0x457b8a;this[_0x3ecd0d(0x338)]=_0x5a654a,this[_0x3ecd0d(0x1a0)]=_0x1944aa,this[_0x3ecd0d(0x48f)]=_0x28af15,this[_0x3ecd0d(0x12c)]();}[_0x457b8a(0x12c)](){var _0x4866d2=_0x457b8a;this[_0x4866d2(0x1a0)][_0x4866d2(0x162)]({'priority':0x1,'interceptor':(_0x4d68b1,_0x12fb32)=>_0x12fb32(_0x4d68b1)[_0x4866d2(0x2d5)](H[_0x4866d2(0x408)](async _0x2a59a7=>{var _0xc2bc4=_0x4866d2;const _0x12af0d=_0x2a59a7;if(_0x12af0d[_0xc2bc4(0x2dc)]===0x191){if(typeof window>'u')throw new Error(_0xc2bc4(0x31e));if(window[_0xc2bc4(0x45a)](this[_0xc2bc4(0x48f)]['t']('auth.needGotoLoginAlert'))){const _0x145546=window[_0xc2bc4(0x29e)](window[_0xc2bc4(0x20e)][_0xc2bc4(0x3e3)]);window['location'][_0xc2bc4(0x3e3)]=this['_getLoginPath']()+_0xc2bc4(0x188)+_0x145546;}}return _0x12af0d;}))});}['_getLoginPath'](){var _0x237d51=_0x457b8a,_0x39d783;const _0x23ea38=this[_0x237d51(0x338)][_0x237d51(0x487)](Y);return(_0x39d783=_0x23ea38==null?void 0x0:_0x23ea38[_0x237d51(0x2a7)])!=null?_0x39d783:$t;}};ye=fi([Ae(0x0,a[_0x457b8a(0x1a8)]),Ae(0x1,a[_0x457b8a(0x40f)](q[_0x457b8a(0x400)])),Ae(0x2,a[_0x457b8a(0x40f)](a[_0x457b8a(0x166)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x4b1f74,_0x465a54,_0x17fb17,_0x477d35)=>{var _0x222514=_0x457b8a;for(var _0x264227=_0x477d35>0x1?void 0x0:_0x477d35?Ii(_0x465a54,_0x17fb17):_0x465a54,_0xb28a3=_0x4b1f74[_0x222514(0x37c)]-0x1,_0x46453f;_0xb28a3>=0x0;_0xb28a3--)(_0x46453f=_0x4b1f74[_0xb28a3])&&(_0x264227=_0x46453f(_0x264227)||_0x264227);return _0x264227;},qe=(_0x4a497a,_0x20718b)=>(_0x8175d0,_0x17f9ed)=>_0x20718b(_0x8175d0,_0x17f9ed,_0x4a497a);const mi=_0x457b8a(0x390);exports[_0x457b8a(0x1f5)]=class extends a['Disposable']{constructor(_0x499fcf,_0x347570){var _0xb6294e=_0x457b8a;super(),this[_0xb6294e(0x3eb)]=_0x499fcf,this['_configService']=_0x347570,this['_initMergeInterceptor']();}[_0x457b8a(0x1a9)](){var _0x4769b1=_0x457b8a;const _0x2d88b0=this;this[_0x4769b1(0x2b3)](this[_0x4769b1(0x3eb)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x23b3a0){var _0x38e18b=_0x4769b1,_0xda4274;if(_0x23b3a0[_0x38e18b(0x447)]===_0x38e18b(0x17e)&&((_0xda4274=_0x23b3a0[_0x38e18b(0x262)])!=null&&_0xda4274['body'])){const {objectID:_0x5ba915,objectType:_0x3f855e}=_0x23b3a0['requestParams'][_0x38e18b(0x185)]||{};if(!_0x5ba915||_0x3f855e===void 0x0)return!0x1;const _0x3dd7ab=_0x2d88b0['_getAPIPrefixPath']()+'/'+_0x3f855e+_0x38e18b(0x3db)+_0x5ba915+_0x38e18b(0x19d);if(_0x23b3a0[_0x38e18b(0x1a2)]===_0x3dd7ab)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4b3469){var _0x587b62=_0x4769b1,_0x4909dc;return(_0x4909dc=_0x4b3469[_0x587b62(0x262)])==null?void 0x0:_0x4909dc[_0x587b62(0x185)];},'mergeParamsToRequest'(_0x3d57cc,_0x59efeb){var _0x139b59=_0x4769b1;const _0x3c7cc9=_0x2d88b0[_0x139b59(0x169)]()+_0x139b59(0x269),_0x1ae15b=_0x3d57cc['reduce']((_0x427794,_0x55798d)=>{var _0x2cb35f=_0x139b59;const {unitID:_0x2a026b,objectID:_0x4dabdf,objectType:_0x54d15f,actions:_0x3416ea}=_0x55798d;return _0x427794[_0x2a026b]||(_0x427794[_0x2a026b]={}),_0x427794[_0x2a026b][_0x4dabdf]||(_0x427794[_0x2a026b][_0x4dabdf]={'objectID':_0x4dabdf,'objectType':_0x54d15f,'actions':[]}),_0x427794[_0x2a026b][_0x4dabdf][_0x2cb35f(0x1f9)][_0x2cb35f(0x433)](..._0x3416ea),_0x427794;},{}),_0xc5024f=[];for(const _0x2c4727 in _0x1ae15b)for(const _0x361293 in _0x1ae15b[_0x2c4727]){const {actions:_0x143302,objectType:_0x598cd}=_0x1ae15b[_0x2c4727][_0x361293],_0x50434a=[...new Set(_0x143302)];_0xc5024f[_0x139b59(0x433)]({'unitID':_0x2c4727,'objectID':_0x361293,'objectType':_0x598cd,'actions':_0x50434a});}return new q[(_0x139b59(0x17b))](_0x139b59(0x17e),_0x3c7cc9,{'headers':_0x59efeb[_0x139b59(0x404)],'withCredentials':_0x59efeb['withCredentials'],'responseType':_0x59efeb['responseType'],'body':{'requests':_0xc5024f}});}},{'distributeResult'(_0x223ade,_0x9d3ba4){var _0x1ae390=_0x4769b1;const {objectActions:_0x6bf258}=_0x223ade;return _0x9d3ba4[_0x1ae390(0x304)](_0x4137b6=>{var _0x2dd7b3=_0x1ae390;const {unitID:_0x2c1c92,objectID:_0x29de28,actions:_0x29d6bc}=_0x4137b6,_0x72aac4=_0x6bf258[_0x2dd7b3(0x2cd)](_0x21dc8c=>_0x21dc8c[_0x2dd7b3(0x224)]===_0x2c1c92&&_0x21dc8c[_0x2dd7b3(0x3aa)]===_0x29de28),_0xf5df4=_0x29d6bc[_0x2dd7b3(0x304)](_0x568697=>_0x72aac4==null?void 0x0:_0x72aac4['actions']['find'](_0x3e8432=>_0x3e8432[_0x2dd7b3(0x1d4)]===_0x568697))['filter'](_0x4669c0=>!!_0x4669c0);return{'config':_0x4137b6,'result':{'actions':_0xf5df4,'error':_0x223ade['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x41e1ba=_0x457b8a,_0x393d87;const _0x5e9775=this[_0x41e1ba(0x338)]['getConfig'](Y);return(_0x393d87=_0x5e9775==null?void 0x0:_0x5e9775[_0x41e1ba(0x311)])!=null?_0x393d87:mi;}async[_0x457b8a(0x21f)](_0x4200f9){var _0x1c7b43=_0x457b8a;const _0x1dfac8=this[_0x1c7b43(0x169)]()+'/'+_0x4200f9[_0x1c7b43(0x168)]+'/object';return(await this['_HTTPService']['post'](_0x1dfac8,{'body':_0x4200f9}))[_0x1c7b43(0x185)]['objectID']||'';}async[_0x457b8a(0x207)](_0x157759){var _0x5dd0c3=_0x457b8a;const _0x1cadb2=this[_0x5dd0c3(0x169)]()+'/-/object/list';return(await this[_0x5dd0c3(0x3eb)][_0x5dd0c3(0x321)](_0x1cadb2,{'body':_0x157759}))[_0x5dd0c3(0x185)][_0x5dd0c3(0x357)];}async[_0x457b8a(0x238)](_0x2a234f){var _0x1f267a=_0x457b8a,_0x549ba8,_0x31e1c3;const _0x266b22=this['_getAPIPrefixPath']()+'/'+_0x2a234f[_0x1f267a(0x168)]+_0x1f267a(0x3db)+_0x2a234f[_0x1f267a(0x3aa)],_0x8aa8e8=await this[_0x1f267a(0x3eb)][_0x1f267a(0x46a)](_0x266b22,{'body':_0x2a234f});if(((_0x31e1c3=(_0x549ba8=_0x8aa8e8==null?void 0x0:_0x8aa8e8['body'])==null?void 0x0:_0x549ba8['error'])==null?void 0x0:_0x31e1c3[_0x1f267a(0x28d)])!==0x1)throw new Error(_0x1f267a(0x30e));}async[_0x457b8a(0x193)](_0x527701){var _0x42c4ec=_0x457b8a;const _0x5690c5=this[_0x42c4ec(0x169)]()+'/'+_0x527701[_0x42c4ec(0x168)]+'/object/'+_0x527701[_0x42c4ec(0x3aa)]+_0x42c4ec(0x19d);return(await this[_0x42c4ec(0x3eb)][_0x42c4ec(0x321)](_0x5690c5,{'body':_0x527701}))['body'][_0x42c4ec(0x1f9)];}async[_0x457b8a(0x403)](_0x168201){var _0x32cfd8=_0x457b8a;const _0x17aff4=this['_getAPIPrefixPath']()+_0x32cfd8(0x269);return(await this[_0x32cfd8(0x3eb)][_0x32cfd8(0x321)](_0x17aff4,{'body':{'requests':_0x168201}}))[_0x32cfd8(0x185)][_0x32cfd8(0x31a)];}async[_0x457b8a(0x14d)](_0x51b03e){var _0x4ce6e3=_0x457b8a;const _0x2f0e70=this[_0x4ce6e3(0x169)]()+'/'+_0x51b03e['objectType']+'/role',_0x47d13c=await this[_0x4ce6e3(0x3eb)][_0x4ce6e3(0x321)](_0x2f0e70,{'body':_0x51b03e});return{'roles':_0x47d13c[_0x4ce6e3(0x185)][_0x4ce6e3(0x14f)],'actions':_0x47d13c[_0x4ce6e3(0x185)][_0x4ce6e3(0x1f9)]};}async[_0x457b8a(0x372)](_0x54ca14){var _0x30ac60=_0x457b8a;const _0x4716bc=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x30ac60(0x3eb)][_0x30ac60(0x282)](_0x4716bc,{'params':{'collaboratorID':_0x54ca14[_0x30ac60(0x164)],'objectID':_0x54ca14[_0x30ac60(0x3aa)],'unitID':_0x54ca14[_0x30ac60(0x224)]}});}async[_0x457b8a(0x13a)](_0x181ca9){var _0x347ff9=_0x457b8a;const _0x3320b4=this[_0x347ff9(0x169)]()+_0x347ff9(0x312);await this[_0x347ff9(0x3eb)][_0x347ff9(0x3d7)](_0x3320b4,{'body':_0x181ca9});}async[_0x457b8a(0x276)](_0x25019c){var _0xd833a5=_0x457b8a;const _0x37eb08=this[_0xd833a5(0x169)]()+_0xd833a5(0x312);await this[_0xd833a5(0x3eb)][_0xd833a5(0x321)](_0x37eb08,{'body':_0x25019c});}async[_0x457b8a(0x17c)](_0x1cb97b){var _0xa91a3b=_0x457b8a;const _0x3850a7=this[_0xa91a3b(0x169)]()+_0xa91a3b(0x312);return(await this['_HTTPService'][_0xa91a3b(0x342)](_0x3850a7,{'params':{'objectID':_0x1cb97b['objectID'],'unitID':_0x1cb97b[_0xa91a3b(0x224)]}}))[_0xa91a3b(0x185)][_0xa91a3b(0x392)];}async['putCollaborators'](_0x3256a5){var _0x3e8dce=_0x457b8a;const _0x1fd0f6=this[_0x3e8dce(0x169)]()+'/collaborator';await this[_0x3e8dce(0x3eb)][_0x3e8dce(0x46a)](_0x1fd0f6,{'body':_0x3256a5});}},exports[_0x457b8a(0x1f5)]=pi([qe(0x0,a['Inject'](q['HTTPService'])),qe(0x1,a['Inject'](a[_0x457b8a(0x1a8)]))],exports[_0x457b8a(0x1f5)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x396867){var _0x4e7d8d=_0x457b8a;return _0x396867&&_0x396867['__esModule']&&Object[_0x4e7d8d(0x208)][_0x4e7d8d(0x3e7)][_0x4e7d8d(0x18c)](_0x396867,_0x4e7d8d(0x3c0))?_0x396867[_0x4e7d8d(0x3c0)]:_0x396867;}var fe={'exports':{}};function gi(_0x140581){var _0x5303e2=_0x457b8a;throw new Error(_0x5303e2(0x1d8)+_0x140581+_0x5303e2(0x366));}var Ie={'exports':{}},Ei=Ie[_0x457b8a(0x2c5)],Ke;function Q(){var _0x497a14=_0x457b8a;return Ke||(Ke=0x1,function(_0xb31b68,_0x46d13e){(function(_0x1c7f26,_0x4e4013){var _0x3f36ac=_0x5b3e;_0xb31b68[_0x3f36ac(0x2c5)]=_0x4e4013();}(Ei,function(){var _0x93fdfb=_0x93fdfb||function(_0x55ce7a,_0x51ffa5){var _0x1dab47=_0x5b3e,_0x1776da;if(typeof window<'u'&&window[_0x1dab47(0x30a)]&&(_0x1776da=window[_0x1dab47(0x30a)]),typeof self<'u'&&self[_0x1dab47(0x30a)]&&(_0x1776da=self[_0x1dab47(0x30a)]),typeof globalThis<'u'&&globalThis[_0x1dab47(0x30a)]&&(_0x1776da=globalThis[_0x1dab47(0x30a)]),!_0x1776da&&typeof window<'u'&&window[_0x1dab47(0x45d)]&&(_0x1776da=window[_0x1dab47(0x45d)]),!_0x1776da&&typeof Pe<'u'&&Pe[_0x1dab47(0x30a)]&&(_0x1776da=Pe[_0x1dab47(0x30a)]),!_0x1776da&&typeof gi==_0x1dab47(0x18a))try{_0x1776da=require('crypto');}catch{}var _0xc29f31=function(){var _0xa4c0=_0x1dab47;if(_0x1776da){if(typeof _0x1776da['getRandomValues']=='function')try{return _0x1776da[_0xa4c0(0x12d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1776da['randomBytes']==_0xa4c0(0x18a))try{return _0x1776da[_0xa4c0(0x198)](0x4)[_0xa4c0(0x486)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x38740b=Object['create']||(function(){function _0x512957(){}return function(_0x318f24){var _0x2e8453;return _0x512957['prototype']=_0x318f24,_0x2e8453=new _0x512957(),_0x512957['prototype']=null,_0x2e8453;};}()),_0x39dcac={},_0x15706a=_0x39dcac[_0x1dab47(0x3bb)]={},_0x3281f2=_0x15706a['Base']=(function(){return{'extend':function(_0x1a05a4){var _0x549c1f=_0x5b3e,_0xce6d5d=_0x38740b(this);return _0x1a05a4&&_0xce6d5d[_0x549c1f(0x45b)](_0x1a05a4),(!_0xce6d5d[_0x549c1f(0x3e7)](_0x549c1f(0x12c))||this[_0x549c1f(0x12c)]===_0xce6d5d[_0x549c1f(0x12c)])&&(_0xce6d5d['init']=function(){var _0x59d8ed=_0x549c1f;_0xce6d5d[_0x59d8ed(0x2ce)][_0x59d8ed(0x12c)]['apply'](this,arguments);}),_0xce6d5d[_0x549c1f(0x12c)]['prototype']=_0xce6d5d,_0xce6d5d['$super']=this,_0xce6d5d;},'create':function(){var _0x38c3c0=_0x5b3e,_0x8280f9=this['extend']();return _0x8280f9[_0x38c3c0(0x12c)][_0x38c3c0(0x29f)](_0x8280f9,arguments),_0x8280f9;},'init':function(){},'mixIn':function(_0x26bfa4){var _0x23d9e0=_0x5b3e;for(var _0x4ebc4b in _0x26bfa4)_0x26bfa4[_0x23d9e0(0x3e7)](_0x4ebc4b)&&(this[_0x4ebc4b]=_0x26bfa4[_0x4ebc4b]);_0x26bfa4[_0x23d9e0(0x3e7)](_0x23d9e0(0x39d))&&(this[_0x23d9e0(0x39d)]=_0x26bfa4[_0x23d9e0(0x39d)]);},'clone':function(){var _0x1e2b85=_0x5b3e;return this[_0x1e2b85(0x12c)][_0x1e2b85(0x208)][_0x1e2b85(0x43b)](this);}};}()),_0xdddebf=_0x15706a[_0x1dab47(0x250)]=_0x3281f2[_0x1dab47(0x43b)]({'init':function(_0xf1d6e4,_0x5e9f38){var _0x5a11ba=_0x1dab47;_0xf1d6e4=this[_0x5a11ba(0x3e6)]=_0xf1d6e4||[],_0x5e9f38!=_0x51ffa5?this[_0x5a11ba(0x231)]=_0x5e9f38:this[_0x5a11ba(0x231)]=_0xf1d6e4['length']*0x4;},'toString':function(_0x14b7ff){return(_0x14b7ff||_0x12cc41)['stringify'](this);},'concat':function(_0x33c7de){var _0x3ba162=_0x1dab47,_0x3521ad=this['words'],_0x3b90a2=_0x33c7de['words'],_0x159cb2=this[_0x3ba162(0x231)],_0x404b9f=_0x33c7de[_0x3ba162(0x231)];if(this[_0x3ba162(0x220)](),_0x159cb2%0x4)for(var _0x19fd7b=0x0;_0x19fd7b<_0x404b9f;_0x19fd7b++){var _0x9efb4d=_0x3b90a2[_0x19fd7b>>>0x2]>>>0x18-_0x19fd7b%0x4*0x8&0xff;_0x3521ad[_0x159cb2+_0x19fd7b>>>0x2]|=_0x9efb4d<<0x18-(_0x159cb2+_0x19fd7b)%0x4*0x8;}else{for(var _0x5e8b6f=0x0;_0x5e8b6f<_0x404b9f;_0x5e8b6f+=0x4)_0x3521ad[_0x159cb2+_0x5e8b6f>>>0x2]=_0x3b90a2[_0x5e8b6f>>>0x2];}return this['sigBytes']+=_0x404b9f,this;},'clamp':function(){var _0x41f777=_0x1dab47,_0x2e5231=this[_0x41f777(0x3e6)],_0x46c78c=this[_0x41f777(0x231)];_0x2e5231[_0x46c78c>>>0x2]&=0xffffffff<<0x20-_0x46c78c%0x4*0x8,_0x2e5231['length']=_0x55ce7a[_0x41f777(0x34e)](_0x46c78c/0x4);},'clone':function(){var _0x36b914=_0x1dab47,_0x28ef8a=_0x3281f2[_0x36b914(0x1c3)][_0x36b914(0x18c)](this);return _0x28ef8a['words']=this[_0x36b914(0x3e6)]['slice'](0x0),_0x28ef8a;},'random':function(_0x334826){var _0x5890a6=_0x1dab47;for(var _0x4f989a=[],_0x471a1c=0x0;_0x471a1c<_0x334826;_0x471a1c+=0x4)_0x4f989a['push'](_0xc29f31());return new _0xdddebf[(_0x5890a6(0x12c))](_0x4f989a,_0x334826);}}),_0x33c8ed=_0x39dcac['enc']={},_0x12cc41=_0x33c8ed[_0x1dab47(0x40d)]={'stringify':function(_0x16cafb){var _0x31b543=_0x1dab47;for(var _0x1d2a25=_0x16cafb[_0x31b543(0x3e6)],_0x14f2ae=_0x16cafb[_0x31b543(0x231)],_0x377d19=[],_0x96d585=0x0;_0x96d585<_0x14f2ae;_0x96d585++){var _0x3e1514=_0x1d2a25[_0x96d585>>>0x2]>>>0x18-_0x96d585%0x4*0x8&0xff;_0x377d19[_0x31b543(0x433)]((_0x3e1514>>>0x4)[_0x31b543(0x39d)](0x10)),_0x377d19[_0x31b543(0x433)]((_0x3e1514&0xf)[_0x31b543(0x39d)](0x10));}return _0x377d19['join']('');},'parse':function(_0x4b8126){var _0x203a2c=_0x1dab47;for(var _0x284d47=_0x4b8126[_0x203a2c(0x37c)],_0x55269a=[],_0x57a1bd=0x0;_0x57a1bd<_0x284d47;_0x57a1bd+=0x2)_0x55269a[_0x57a1bd>>>0x3]|=parseInt(_0x4b8126[_0x203a2c(0x423)](_0x57a1bd,0x2),0x10)<<0x18-_0x57a1bd%0x8*0x4;return new _0xdddebf[(_0x203a2c(0x12c))](_0x55269a,_0x284d47/0x2);}},_0x352221=_0x33c8ed[_0x1dab47(0x42f)]={'stringify':function(_0x4cb3a3){var _0x1e3453=_0x1dab47;for(var _0x33c58d=_0x4cb3a3[_0x1e3453(0x3e6)],_0xd11398=_0x4cb3a3[_0x1e3453(0x231)],_0x47efed=[],_0x315431=0x0;_0x315431<_0xd11398;_0x315431++){var _0x1db24b=_0x33c58d[_0x315431>>>0x2]>>>0x18-_0x315431%0x4*0x8&0xff;_0x47efed[_0x1e3453(0x433)](String[_0x1e3453(0x33d)](_0x1db24b));}return _0x47efed[_0x1e3453(0x297)]('');},'parse':function(_0x5e1367){var _0xbe1c5=_0x1dab47;for(var _0x34f6ea=_0x5e1367[_0xbe1c5(0x37c)],_0x14c427=[],_0x405591=0x0;_0x405591<_0x34f6ea;_0x405591++)_0x14c427[_0x405591>>>0x2]|=(_0x5e1367[_0xbe1c5(0x277)](_0x405591)&0xff)<<0x18-_0x405591%0x4*0x8;return new _0xdddebf['init'](_0x14c427,_0x34f6ea);}},_0x1d77a3=_0x33c8ed[_0x1dab47(0x3c3)]={'stringify':function(_0x5681f4){var _0x190ffd=_0x1dab47;try{return decodeURIComponent(escape(_0x352221[_0x190ffd(0x1c1)](_0x5681f4)));}catch{throw new Error(_0x190ffd(0x359));}},'parse':function(_0x193ac1){var _0x4d3a2b=_0x1dab47;return _0x352221[_0x4d3a2b(0x442)](unescape(encodeURIComponent(_0x193ac1)));}},_0x2c5365=_0x15706a['BufferedBlockAlgorithm']=_0x3281f2[_0x1dab47(0x43b)]({'reset':function(){var _0x52c3bc=_0x1dab47;this[_0x52c3bc(0x1c7)]=new _0xdddebf['init'](),this[_0x52c3bc(0x462)]=0x0;},'_append':function(_0x4a21c6){var _0x4a5059=_0x1dab47;typeof _0x4a21c6==_0x4a5059(0x22c)&&(_0x4a21c6=_0x1d77a3[_0x4a5059(0x442)](_0x4a21c6)),this[_0x4a5059(0x1c7)]['concat'](_0x4a21c6),this[_0x4a5059(0x462)]+=_0x4a21c6[_0x4a5059(0x231)];},'_process':function(_0x216e24){var _0x1868fd=_0x1dab47,_0x49aa19,_0xf726ea=this[_0x1868fd(0x1c7)],_0x238f0e=_0xf726ea[_0x1868fd(0x3e6)],_0x52d542=_0xf726ea[_0x1868fd(0x231)],_0x5444d5=this[_0x1868fd(0x470)],_0x272e28=_0x5444d5*0x4,_0x59a8cf=_0x52d542/_0x272e28;_0x216e24?_0x59a8cf=_0x55ce7a[_0x1868fd(0x34e)](_0x59a8cf):_0x59a8cf=_0x55ce7a[_0x1868fd(0x382)]((_0x59a8cf|0x0)-this[_0x1868fd(0x39f)],0x0);var _0x5109b1=_0x59a8cf*_0x5444d5,_0x4d2ba6=_0x55ce7a[_0x1868fd(0x468)](_0x5109b1*0x4,_0x52d542);if(_0x5109b1){for(var _0x4d8c8d=0x0;_0x4d8c8d<_0x5109b1;_0x4d8c8d+=_0x5444d5)this[_0x1868fd(0x25f)](_0x238f0e,_0x4d8c8d);_0x49aa19=_0x238f0e['splice'](0x0,_0x5109b1),_0xf726ea[_0x1868fd(0x231)]-=_0x4d2ba6;}return new _0xdddebf[(_0x1868fd(0x12c))](_0x49aa19,_0x4d2ba6);},'clone':function(){var _0x1bf681=_0x1dab47,_0x20e6ca=_0x3281f2[_0x1bf681(0x1c3)]['call'](this);return _0x20e6ca[_0x1bf681(0x1c7)]=this[_0x1bf681(0x1c7)][_0x1bf681(0x1c3)](),_0x20e6ca;},'_minBufferSize':0x0});_0x15706a[_0x1dab47(0x27e)]=_0x2c5365[_0x1dab47(0x43b)]({'cfg':_0x3281f2[_0x1dab47(0x43b)](),'init':function(_0x5606f4){var _0xef1b2f=_0x1dab47;this['cfg']=this[_0xef1b2f(0x136)][_0xef1b2f(0x43b)](_0x5606f4),this[_0xef1b2f(0x40e)]();},'reset':function(){var _0x5ee391=_0x1dab47;_0x2c5365[_0x5ee391(0x40e)]['call'](this),this['_doReset']();},'update':function(_0x410fcb){var _0x7f6ff3=_0x1dab47;return this[_0x7f6ff3(0x426)](_0x410fcb),this[_0x7f6ff3(0x327)](),this;},'finalize':function(_0x3199cc){var _0x1bcb1c=_0x1dab47;_0x3199cc&&this['_append'](_0x3199cc);var _0x575ac1=this[_0x1bcb1c(0x477)]();return _0x575ac1;},'blockSize':0x10,'_createHelper':function(_0x226e43){return function(_0x43d175,_0x2795f0){var _0xe2fc42=_0x5b3e;return new _0x226e43['init'](_0x2795f0)[_0xe2fc42(0x275)](_0x43d175);};},'_createHmacHelper':function(_0x5c7947){return function(_0x578a7c,_0xdff027){var _0x3c853e=_0x5b3e;return new _0x48b3ea[(_0x3c853e(0x43f))]['init'](_0x5c7947,_0xdff027)[_0x3c853e(0x275)](_0x578a7c);};}});var _0x48b3ea=_0x39dcac[_0x1dab47(0x19f)]={};return _0x39dcac;}(Math);return _0x93fdfb;}));}(Ie)),Ie[_0x497a14(0x2c5)];}var pe={'exports':{}},Ci=pe[_0x457b8a(0x2c5)],ze;function Et(){var _0x2c09e1=_0x457b8a;return ze||(ze=0x1,function(_0x4d086c,_0x5ce87f){(function(_0x1176ec,_0x396e5a){_0x4d086c['exports']=_0x396e5a(Q());}(Ci,function(_0x50e6bd){var _0x59951b=_0x5b3e;return(function(){var _0x335d0d=_0x5b3e,_0x189c4c=_0x50e6bd,_0x24b982=_0x189c4c[_0x335d0d(0x3bb)],_0x32f958=_0x24b982[_0x335d0d(0x250)],_0x46a02a=_0x189c4c['enc'];_0x46a02a[_0x335d0d(0x2c3)]={'stringify':function(_0xe94698){var _0x96b6c7=_0x335d0d,_0x18bc77=_0xe94698[_0x96b6c7(0x3e6)],_0x1f730=_0xe94698[_0x96b6c7(0x231)],_0x2d9dee=this[_0x96b6c7(0x2c6)];_0xe94698['clamp']();for(var _0x324bb2=[],_0x3d4241=0x0;_0x3d4241<_0x1f730;_0x3d4241+=0x3)for(var _0x48b810=_0x18bc77[_0x3d4241>>>0x2]>>>0x18-_0x3d4241%0x4*0x8&0xff,_0x36a470=_0x18bc77[_0x3d4241+0x1>>>0x2]>>>0x18-(_0x3d4241+0x1)%0x4*0x8&0xff,_0x59428a=_0x18bc77[_0x3d4241+0x2>>>0x2]>>>0x18-(_0x3d4241+0x2)%0x4*0x8&0xff,_0x5f3505=_0x48b810<<0x10|_0x36a470<<0x8|_0x59428a,_0x2adb91=0x0;_0x2adb91<0x4&&_0x3d4241+_0x2adb91*0.75<_0x1f730;_0x2adb91++)_0x324bb2[_0x96b6c7(0x433)](_0x2d9dee[_0x96b6c7(0x1fc)](_0x5f3505>>>0x6*(0x3-_0x2adb91)&0x3f));var _0x4dc80c=_0x2d9dee[_0x96b6c7(0x1fc)](0x40);if(_0x4dc80c){for(;_0x324bb2[_0x96b6c7(0x37c)]%0x4;)_0x324bb2['push'](_0x4dc80c);}return _0x324bb2[_0x96b6c7(0x297)]('');},'parse':function(_0x137cdb){var _0x1d5b6a=_0x335d0d,_0x265490=_0x137cdb['length'],_0x4350d9=this['_map'],_0x4c68e5=this[_0x1d5b6a(0x13e)];if(!_0x4c68e5){_0x4c68e5=this[_0x1d5b6a(0x13e)]=[];for(var _0x176d60=0x0;_0x176d60<_0x4350d9[_0x1d5b6a(0x37c)];_0x176d60++)_0x4c68e5[_0x4350d9[_0x1d5b6a(0x277)](_0x176d60)]=_0x176d60;}var _0x34b9cb=_0x4350d9['charAt'](0x40);if(_0x34b9cb){var _0x59b7e8=_0x137cdb[_0x1d5b6a(0x1f4)](_0x34b9cb);_0x59b7e8!==-0x1&&(_0x265490=_0x59b7e8);}return _0x251806(_0x137cdb,_0x265490,_0x4c68e5);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x251806(_0x28afaf,_0x1e215b,_0x492e69){var _0x11d701=_0x335d0d;for(var _0x584b74=[],_0x498141=0x0,_0x10a114=0x0;_0x10a114<_0x1e215b;_0x10a114++)if(_0x10a114%0x4){var _0x410602=_0x492e69[_0x28afaf[_0x11d701(0x277)](_0x10a114-0x1)]<<_0x10a114%0x4*0x2,_0xd11f36=_0x492e69[_0x28afaf[_0x11d701(0x277)](_0x10a114)]>>>0x6-_0x10a114%0x4*0x2,_0x32b908=_0x410602|_0xd11f36;_0x584b74[_0x498141>>>0x2]|=_0x32b908<<0x18-_0x498141%0x4*0x8,_0x498141++;}return _0x32f958[_0x11d701(0x21f)](_0x584b74,_0x498141);}}()),_0x50e6bd['enc'][_0x59951b(0x2c3)];}));}(pe)),pe[_0x2c09e1(0x2c5)];}var me={'exports':{}},Ti=me[_0x457b8a(0x2c5)],Je;function bi(){var _0x589adf=_0x457b8a;return Je||(Je=0x1,function(_0x517809,_0xa6b35a){(function(_0x5e53ea,_0x26164c){var _0x4921a8=_0x5b3e;_0x517809[_0x4921a8(0x2c5)]=_0x26164c(Q());}(Ti,function(_0x42a9d1){var _0xfd4c37=_0x5b3e;return function(_0x1cf93d){var _0x316fde=_0x5b3e,_0x1054be=_0x42a9d1,_0x4bb465=_0x1054be[_0x316fde(0x3bb)],_0x366bbe=_0x4bb465['WordArray'],_0xccdce2=_0x4bb465['Hasher'],_0x3503c6=_0x1054be[_0x316fde(0x19f)],_0x151141=[];(function(){var _0x51caae=_0x316fde;for(var _0x25a4a2=0x0;_0x25a4a2<0x40;_0x25a4a2++)_0x151141[_0x25a4a2]=_0x1cf93d[_0x51caae(0x34a)](_0x1cf93d[_0x51caae(0x2aa)](_0x25a4a2+0x1))*0x100000000|0x0;}());var _0x5b6842=_0x3503c6[_0x316fde(0x361)]=_0xccdce2['extend']({'_doReset':function(){var _0x3173ac=_0x316fde;this[_0x3173ac(0x1fa)]=new _0x366bbe[(_0x3173ac(0x12c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3aec32,_0x3d8fff){var _0x2b4955=_0x316fde;for(var _0x5edf68=0x0;_0x5edf68<0x10;_0x5edf68++){var _0x12b11e=_0x3d8fff+_0x5edf68,_0x159e7c=_0x3aec32[_0x12b11e];_0x3aec32[_0x12b11e]=(_0x159e7c<<0x8|_0x159e7c>>>0x18)&0xff00ff|(_0x159e7c<<0x18|_0x159e7c>>>0x8)&0xff00ff00;}var _0x6267ed=this[_0x2b4955(0x1fa)][_0x2b4955(0x3e6)],_0x10b3d6=_0x3aec32[_0x3d8fff+0x0],_0x2d9712=_0x3aec32[_0x3d8fff+0x1],_0x27a590=_0x3aec32[_0x3d8fff+0x2],_0xb8c533=_0x3aec32[_0x3d8fff+0x3],_0x5a2a8e=_0x3aec32[_0x3d8fff+0x4],_0x47c132=_0x3aec32[_0x3d8fff+0x5],_0x1e13f9=_0x3aec32[_0x3d8fff+0x6],_0x413e73=_0x3aec32[_0x3d8fff+0x7],_0x167d2e=_0x3aec32[_0x3d8fff+0x8],_0x5f229d=_0x3aec32[_0x3d8fff+0x9],_0x24771d=_0x3aec32[_0x3d8fff+0xa],_0x109467=_0x3aec32[_0x3d8fff+0xb],_0x15a1b1=_0x3aec32[_0x3d8fff+0xc],_0x4593f0=_0x3aec32[_0x3d8fff+0xd],_0x4b4168=_0x3aec32[_0x3d8fff+0xe],_0x2362d9=_0x3aec32[_0x3d8fff+0xf],_0x500581=_0x6267ed[0x0],_0x548a2a=_0x6267ed[0x1],_0x2acdcc=_0x6267ed[0x2],_0x230377=_0x6267ed[0x3];_0x500581=_0x32bcf0(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x10b3d6,0x7,_0x151141[0x0]),_0x230377=_0x32bcf0(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x2d9712,0xc,_0x151141[0x1]),_0x2acdcc=_0x32bcf0(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x27a590,0x11,_0x151141[0x2]),_0x548a2a=_0x32bcf0(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0xb8c533,0x16,_0x151141[0x3]),_0x500581=_0x32bcf0(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x5a2a8e,0x7,_0x151141[0x4]),_0x230377=_0x32bcf0(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x47c132,0xc,_0x151141[0x5]),_0x2acdcc=_0x32bcf0(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x1e13f9,0x11,_0x151141[0x6]),_0x548a2a=_0x32bcf0(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x413e73,0x16,_0x151141[0x7]),_0x500581=_0x32bcf0(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x167d2e,0x7,_0x151141[0x8]),_0x230377=_0x32bcf0(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x5f229d,0xc,_0x151141[0x9]),_0x2acdcc=_0x32bcf0(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x24771d,0x11,_0x151141[0xa]),_0x548a2a=_0x32bcf0(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x109467,0x16,_0x151141[0xb]),_0x500581=_0x32bcf0(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x15a1b1,0x7,_0x151141[0xc]),_0x230377=_0x32bcf0(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x4593f0,0xc,_0x151141[0xd]),_0x2acdcc=_0x32bcf0(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x4b4168,0x11,_0x151141[0xe]),_0x548a2a=_0x32bcf0(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x2362d9,0x16,_0x151141[0xf]),_0x500581=_0x40333c(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x2d9712,0x5,_0x151141[0x10]),_0x230377=_0x40333c(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x1e13f9,0x9,_0x151141[0x11]),_0x2acdcc=_0x40333c(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x109467,0xe,_0x151141[0x12]),_0x548a2a=_0x40333c(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x10b3d6,0x14,_0x151141[0x13]),_0x500581=_0x40333c(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x47c132,0x5,_0x151141[0x14]),_0x230377=_0x40333c(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x24771d,0x9,_0x151141[0x15]),_0x2acdcc=_0x40333c(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x2362d9,0xe,_0x151141[0x16]),_0x548a2a=_0x40333c(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x5a2a8e,0x14,_0x151141[0x17]),_0x500581=_0x40333c(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x5f229d,0x5,_0x151141[0x18]),_0x230377=_0x40333c(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x4b4168,0x9,_0x151141[0x19]),_0x2acdcc=_0x40333c(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0xb8c533,0xe,_0x151141[0x1a]),_0x548a2a=_0x40333c(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x167d2e,0x14,_0x151141[0x1b]),_0x500581=_0x40333c(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x4593f0,0x5,_0x151141[0x1c]),_0x230377=_0x40333c(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x27a590,0x9,_0x151141[0x1d]),_0x2acdcc=_0x40333c(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x413e73,0xe,_0x151141[0x1e]),_0x548a2a=_0x40333c(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x15a1b1,0x14,_0x151141[0x1f]),_0x500581=_0x3e746a(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x47c132,0x4,_0x151141[0x20]),_0x230377=_0x3e746a(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x167d2e,0xb,_0x151141[0x21]),_0x2acdcc=_0x3e746a(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x109467,0x10,_0x151141[0x22]),_0x548a2a=_0x3e746a(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x4b4168,0x17,_0x151141[0x23]),_0x500581=_0x3e746a(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x2d9712,0x4,_0x151141[0x24]),_0x230377=_0x3e746a(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x5a2a8e,0xb,_0x151141[0x25]),_0x2acdcc=_0x3e746a(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x413e73,0x10,_0x151141[0x26]),_0x548a2a=_0x3e746a(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x24771d,0x17,_0x151141[0x27]),_0x500581=_0x3e746a(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x4593f0,0x4,_0x151141[0x28]),_0x230377=_0x3e746a(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x10b3d6,0xb,_0x151141[0x29]),_0x2acdcc=_0x3e746a(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0xb8c533,0x10,_0x151141[0x2a]),_0x548a2a=_0x3e746a(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x1e13f9,0x17,_0x151141[0x2b]),_0x500581=_0x3e746a(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x5f229d,0x4,_0x151141[0x2c]),_0x230377=_0x3e746a(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x15a1b1,0xb,_0x151141[0x2d]),_0x2acdcc=_0x3e746a(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x2362d9,0x10,_0x151141[0x2e]),_0x548a2a=_0x3e746a(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x27a590,0x17,_0x151141[0x2f]),_0x500581=_0xcdf92b(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x10b3d6,0x6,_0x151141[0x30]),_0x230377=_0xcdf92b(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x413e73,0xa,_0x151141[0x31]),_0x2acdcc=_0xcdf92b(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x4b4168,0xf,_0x151141[0x32]),_0x548a2a=_0xcdf92b(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x47c132,0x15,_0x151141[0x33]),_0x500581=_0xcdf92b(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x15a1b1,0x6,_0x151141[0x34]),_0x230377=_0xcdf92b(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0xb8c533,0xa,_0x151141[0x35]),_0x2acdcc=_0xcdf92b(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x24771d,0xf,_0x151141[0x36]),_0x548a2a=_0xcdf92b(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x2d9712,0x15,_0x151141[0x37]),_0x500581=_0xcdf92b(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x167d2e,0x6,_0x151141[0x38]),_0x230377=_0xcdf92b(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x2362d9,0xa,_0x151141[0x39]),_0x2acdcc=_0xcdf92b(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x1e13f9,0xf,_0x151141[0x3a]),_0x548a2a=_0xcdf92b(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x4593f0,0x15,_0x151141[0x3b]),_0x500581=_0xcdf92b(_0x500581,_0x548a2a,_0x2acdcc,_0x230377,_0x5a2a8e,0x6,_0x151141[0x3c]),_0x230377=_0xcdf92b(_0x230377,_0x500581,_0x548a2a,_0x2acdcc,_0x109467,0xa,_0x151141[0x3d]),_0x2acdcc=_0xcdf92b(_0x2acdcc,_0x230377,_0x500581,_0x548a2a,_0x27a590,0xf,_0x151141[0x3e]),_0x548a2a=_0xcdf92b(_0x548a2a,_0x2acdcc,_0x230377,_0x500581,_0x5f229d,0x15,_0x151141[0x3f]),_0x6267ed[0x0]=_0x6267ed[0x0]+_0x500581|0x0,_0x6267ed[0x1]=_0x6267ed[0x1]+_0x548a2a|0x0,_0x6267ed[0x2]=_0x6267ed[0x2]+_0x2acdcc|0x0,_0x6267ed[0x3]=_0x6267ed[0x3]+_0x230377|0x0;},'_doFinalize':function(){var _0x158a08=_0x316fde,_0x76e8f9=this[_0x158a08(0x1c7)],_0x4e82f0=_0x76e8f9[_0x158a08(0x3e6)],_0x16bb00=this[_0x158a08(0x462)]*0x8,_0x907d27=_0x76e8f9[_0x158a08(0x231)]*0x8;_0x4e82f0[_0x907d27>>>0x5]|=0x80<<0x18-_0x907d27%0x20;var _0x436c45=_0x1cf93d[_0x158a08(0x465)](_0x16bb00/0x100000000),_0x28ef5e=_0x16bb00;_0x4e82f0[(_0x907d27+0x40>>>0x9<<0x4)+0xf]=(_0x436c45<<0x8|_0x436c45>>>0x18)&0xff00ff|(_0x436c45<<0x18|_0x436c45>>>0x8)&0xff00ff00,_0x4e82f0[(_0x907d27+0x40>>>0x9<<0x4)+0xe]=(_0x28ef5e<<0x8|_0x28ef5e>>>0x18)&0xff00ff|(_0x28ef5e<<0x18|_0x28ef5e>>>0x8)&0xff00ff00,_0x76e8f9[_0x158a08(0x231)]=(_0x4e82f0[_0x158a08(0x37c)]+0x1)*0x4,this[_0x158a08(0x327)]();for(var _0x50323f=this['_hash'],_0x41e2d9=_0x50323f[_0x158a08(0x3e6)],_0x2a9af7=0x0;_0x2a9af7<0x4;_0x2a9af7++){var _0x55a4d0=_0x41e2d9[_0x2a9af7];_0x41e2d9[_0x2a9af7]=(_0x55a4d0<<0x8|_0x55a4d0>>>0x18)&0xff00ff|(_0x55a4d0<<0x18|_0x55a4d0>>>0x8)&0xff00ff00;}return _0x50323f;},'clone':function(){var _0x7382b3=_0x316fde,_0xfb2d2f=_0xccdce2[_0x7382b3(0x1c3)][_0x7382b3(0x18c)](this);return _0xfb2d2f[_0x7382b3(0x1fa)]=this['_hash']['clone'](),_0xfb2d2f;}});function _0x32bcf0(_0x2494dd,_0x255824,_0xdcfaef,_0x41ad30,_0x40e3ba,_0xdf120d,_0x158209){var _0x365575=_0x2494dd+(_0x255824&_0xdcfaef|~_0x255824&_0x41ad30)+_0x40e3ba+_0x158209;return(_0x365575<<_0xdf120d|_0x365575>>>0x20-_0xdf120d)+_0x255824;}function _0x40333c(_0x4b3c57,_0x39488a,_0x1ed0e3,_0x2ac7a8,_0x4fbacd,_0x230613,_0x178ae2){var _0xeb2fc2=_0x4b3c57+(_0x39488a&_0x2ac7a8|_0x1ed0e3&~_0x2ac7a8)+_0x4fbacd+_0x178ae2;return(_0xeb2fc2<<_0x230613|_0xeb2fc2>>>0x20-_0x230613)+_0x39488a;}function _0x3e746a(_0x31a7bf,_0x23388f,_0x535552,_0x224b21,_0x9da66b,_0x26e21,_0x1f785e){var _0x44eb2e=_0x31a7bf+(_0x23388f^_0x535552^_0x224b21)+_0x9da66b+_0x1f785e;return(_0x44eb2e<<_0x26e21|_0x44eb2e>>>0x20-_0x26e21)+_0x23388f;}function _0xcdf92b(_0x2d6d93,_0x5cef44,_0x594d5b,_0x40852e,_0x332e22,_0x5b94ff,_0x119113){var _0x16593a=_0x2d6d93+(_0x594d5b^(_0x5cef44|~_0x40852e))+_0x332e22+_0x119113;return(_0x16593a<<_0x5b94ff|_0x16593a>>>0x20-_0x5b94ff)+_0x5cef44;}_0x1054be[_0x316fde(0x361)]=_0xccdce2[_0x316fde(0x38d)](_0x5b6842),_0x1054be[_0x316fde(0x27a)]=_0xccdce2[_0x316fde(0x15b)](_0x5b6842);}(Math),_0x42a9d1[_0xfd4c37(0x361)];}));}(me)),me[_0x589adf(0x2c5)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x457b8a(0x2c5)],Xe;function Ri(){var _0x41e508=_0x457b8a;return Xe||(Xe=0x1,function(_0x85db19,_0x634704){(function(_0x2a20af,_0x4f91e2){_0x85db19['exports']=_0x4f91e2(Q());}(Oi,function(_0x2465d6){return(function(){var _0x1e8ffd=_0x5b3e,_0x12d600=_0x2465d6,_0x242648=_0x12d600[_0x1e8ffd(0x3bb)],_0x2e00a0=_0x242648['WordArray'],_0x31855e=_0x242648[_0x1e8ffd(0x27e)],_0x37dfa4=_0x12d600['algo'],_0x5d31ef=[],_0x111238=_0x37dfa4['SHA1']=_0x31855e[_0x1e8ffd(0x43b)]({'_doReset':function(){var _0x82de05=_0x1e8ffd;this[_0x82de05(0x1fa)]=new _0x2e00a0[(_0x82de05(0x12c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x155449,_0x56c5d6){var _0x3f4d85=_0x1e8ffd;for(var _0x22516a=this[_0x3f4d85(0x1fa)][_0x3f4d85(0x3e6)],_0x5487da=_0x22516a[0x0],_0x10c490=_0x22516a[0x1],_0x23e4f1=_0x22516a[0x2],_0xb79e1e=_0x22516a[0x3],_0x56d4f5=_0x22516a[0x4],_0x39fb7a=0x0;_0x39fb7a<0x50;_0x39fb7a++){if(_0x39fb7a<0x10)_0x5d31ef[_0x39fb7a]=_0x155449[_0x56c5d6+_0x39fb7a]|0x0;else{var _0x16b6fb=_0x5d31ef[_0x39fb7a-0x3]^_0x5d31ef[_0x39fb7a-0x8]^_0x5d31ef[_0x39fb7a-0xe]^_0x5d31ef[_0x39fb7a-0x10];_0x5d31ef[_0x39fb7a]=_0x16b6fb<<0x1|_0x16b6fb>>>0x1f;}var _0x59a36f=(_0x5487da<<0x5|_0x5487da>>>0x1b)+_0x56d4f5+_0x5d31ef[_0x39fb7a];_0x39fb7a<0x14?_0x59a36f+=(_0x10c490&_0x23e4f1|~_0x10c490&_0xb79e1e)+0x5a827999:_0x39fb7a<0x28?_0x59a36f+=(_0x10c490^_0x23e4f1^_0xb79e1e)+0x6ed9eba1:_0x39fb7a<0x3c?_0x59a36f+=(_0x10c490&_0x23e4f1|_0x10c490&_0xb79e1e|_0x23e4f1&_0xb79e1e)-0x70e44324:_0x59a36f+=(_0x10c490^_0x23e4f1^_0xb79e1e)-0x359d3e2a,_0x56d4f5=_0xb79e1e,_0xb79e1e=_0x23e4f1,_0x23e4f1=_0x10c490<<0x1e|_0x10c490>>>0x2,_0x10c490=_0x5487da,_0x5487da=_0x59a36f;}_0x22516a[0x0]=_0x22516a[0x0]+_0x5487da|0x0,_0x22516a[0x1]=_0x22516a[0x1]+_0x10c490|0x0,_0x22516a[0x2]=_0x22516a[0x2]+_0x23e4f1|0x0,_0x22516a[0x3]=_0x22516a[0x3]+_0xb79e1e|0x0,_0x22516a[0x4]=_0x22516a[0x4]+_0x56d4f5|0x0;},'_doFinalize':function(){var _0x19ff90=_0x1e8ffd,_0x21dab3=this[_0x19ff90(0x1c7)],_0x52e4a3=_0x21dab3[_0x19ff90(0x3e6)],_0x53d177=this['_nDataBytes']*0x8,_0x53df2e=_0x21dab3['sigBytes']*0x8;return _0x52e4a3[_0x53df2e>>>0x5]|=0x80<<0x18-_0x53df2e%0x20,_0x52e4a3[(_0x53df2e+0x40>>>0x9<<0x4)+0xe]=Math[_0x19ff90(0x465)](_0x53d177/0x100000000),_0x52e4a3[(_0x53df2e+0x40>>>0x9<<0x4)+0xf]=_0x53d177,_0x21dab3['sigBytes']=_0x52e4a3[_0x19ff90(0x37c)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x4d373b=_0x1e8ffd,_0xfa5901=_0x31855e[_0x4d373b(0x1c3)][_0x4d373b(0x18c)](this);return _0xfa5901[_0x4d373b(0x1fa)]=this[_0x4d373b(0x1fa)][_0x4d373b(0x1c3)](),_0xfa5901;}});_0x12d600[_0x1e8ffd(0x3f4)]=_0x31855e[_0x1e8ffd(0x38d)](_0x111238),_0x12d600['HmacSHA1']=_0x31855e['_createHmacHelper'](_0x111238);}()),_0x2465d6['SHA1'];}));}(Ee)),Ee[_0x41e508(0x2c5)];}var Ce={'exports':{}},yi=Ce[_0x457b8a(0x2c5)],Ze;function Ni(){return Ze||(Ze=0x1,function(_0x1cd079,_0x5ee8af){(function(_0x3880d2,_0x20df0b){_0x1cd079['exports']=_0x20df0b(Q());}(yi,function(_0x45d365){(function(){var _0xdbf177=_0x5b3e,_0x520c11=_0x45d365,_0xf8f00c=_0x520c11[_0xdbf177(0x3bb)],_0x7c7658=_0xf8f00c[_0xdbf177(0x3b3)],_0x16ffd9=_0x520c11['enc'],_0xfce32=_0x16ffd9[_0xdbf177(0x3c3)],_0x39b65e=_0x520c11[_0xdbf177(0x19f)];_0x39b65e[_0xdbf177(0x43f)]=_0x7c7658[_0xdbf177(0x43b)]({'init':function(_0x3146ad,_0x5b4bd5){var _0x104492=_0xdbf177;_0x3146ad=this[_0x104492(0x39c)]=new _0x3146ad['init'](),typeof _0x5b4bd5=='string'&&(_0x5b4bd5=_0xfce32['parse'](_0x5b4bd5));var _0x3a7f39=_0x3146ad['blockSize'],_0x4c46cc=_0x3a7f39*0x4;_0x5b4bd5[_0x104492(0x231)]>_0x4c46cc&&(_0x5b4bd5=_0x3146ad['finalize'](_0x5b4bd5)),_0x5b4bd5[_0x104492(0x220)]();for(var _0x5c5315=this[_0x104492(0x142)]=_0x5b4bd5[_0x104492(0x1c3)](),_0x257c09=this[_0x104492(0x28b)]=_0x5b4bd5[_0x104492(0x1c3)](),_0x3c75fe=_0x5c5315[_0x104492(0x3e6)],_0x233289=_0x257c09[_0x104492(0x3e6)],_0x7d674d=0x0;_0x7d674d<_0x3a7f39;_0x7d674d++)_0x3c75fe[_0x7d674d]^=0x5c5c5c5c,_0x233289[_0x7d674d]^=0x36363636;_0x5c5315[_0x104492(0x231)]=_0x257c09[_0x104492(0x231)]=_0x4c46cc,this[_0x104492(0x40e)]();},'reset':function(){var _0x5cf5ba=_0xdbf177,_0x54c6ec=this[_0x5cf5ba(0x39c)];_0x54c6ec['reset'](),_0x54c6ec['update'](this[_0x5cf5ba(0x28b)]);},'update':function(_0x49857b){var _0x48a544=_0xdbf177;return this[_0x48a544(0x39c)][_0x48a544(0x238)](_0x49857b),this;},'finalize':function(_0x1ba104){var _0xc6b174=_0xdbf177,_0x30961c=this[_0xc6b174(0x39c)],_0x32589d=_0x30961c['finalize'](_0x1ba104);_0x30961c['reset']();var _0x906d93=_0x30961c[_0xc6b174(0x275)](this['_oKey'][_0xc6b174(0x1c3)]()[_0xc6b174(0x252)](_0x32589d));return _0x906d93;}});}());}));}(Ce)),Ce['exports'];}var Di=ge[_0x457b8a(0x2c5)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x27369c,_0x1e7e62){(function(_0x4e8c3f,_0x25e0de,_0xdcfcf8){var _0x2573b3=_0x5b3e;_0x27369c[_0x2573b3(0x2c5)]=_0x25e0de(Q(),Ri(),Ni());}(Di,function(_0x238028){var _0xbd7f47=_0x5b3e;return(function(){var _0x1ec5db=_0x5b3e,_0x4acfa0=_0x238028,_0x4a2755=_0x4acfa0[_0x1ec5db(0x3bb)],_0x480a98=_0x4a2755[_0x1ec5db(0x3b3)],_0xea571c=_0x4a2755[_0x1ec5db(0x250)],_0x3371fc=_0x4acfa0['algo'],_0x3dd1c3=_0x3371fc[_0x1ec5db(0x361)],_0x1206cf=_0x3371fc[_0x1ec5db(0x183)]=_0x480a98['extend']({'cfg':_0x480a98[_0x1ec5db(0x43b)]({'keySize':0x80/0x20,'hasher':_0x3dd1c3,'iterations':0x1}),'init':function(_0x59f3fd){var _0x5b6f2a=_0x1ec5db;this[_0x5b6f2a(0x136)]=this[_0x5b6f2a(0x136)][_0x5b6f2a(0x43b)](_0x59f3fd);},'compute':function(_0x5977a0,_0x1571e8){var _0x4e8ac8=_0x1ec5db;for(var _0x24fe3d,_0x1d5796=this[_0x4e8ac8(0x136)],_0x329fa5=_0x1d5796['hasher']['create'](),_0x4bd883=_0xea571c[_0x4e8ac8(0x21f)](),_0x2adfb3=_0x4bd883[_0x4e8ac8(0x3e6)],_0x1970ef=_0x1d5796[_0x4e8ac8(0x289)],_0x4a7136=_0x1d5796[_0x4e8ac8(0x3ae)];_0x2adfb3[_0x4e8ac8(0x37c)]<_0x1970ef;){_0x24fe3d&&_0x329fa5['update'](_0x24fe3d),_0x24fe3d=_0x329fa5[_0x4e8ac8(0x238)](_0x5977a0)[_0x4e8ac8(0x275)](_0x1571e8),_0x329fa5[_0x4e8ac8(0x40e)]();for(var _0x383be4=0x1;_0x383be4<_0x4a7136;_0x383be4++)_0x24fe3d=_0x329fa5['finalize'](_0x24fe3d),_0x329fa5[_0x4e8ac8(0x40e)]();_0x4bd883[_0x4e8ac8(0x252)](_0x24fe3d);}return _0x4bd883[_0x4e8ac8(0x231)]=_0x1970ef*0x4,_0x4bd883;}});_0x4acfa0[_0x1ec5db(0x183)]=function(_0xfd8ea3,_0x56fa5f,_0xf725b9){var _0x76da78=_0x1ec5db;return _0x1206cf[_0x76da78(0x21f)](_0xf725b9)[_0x76da78(0x3ff)](_0xfd8ea3,_0x56fa5f);};}()),_0x238028[_0xbd7f47(0x183)];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ui=Te['exports'],et;function Tt(){var _0x2c7d62=_0x457b8a;return et||(et=0x1,function(_0x2cdb19,_0x3858a9){(function(_0x4857d2,_0x2dbecc,_0x46bd70){_0x2cdb19['exports']=_0x2dbecc(Q(),Ct());}(Ui,function(_0x3cf785){var _0xeba6a0=_0x5b3e;_0x3cf785[_0xeba6a0(0x3bb)]['Cipher']||function(_0x25d914){var _0x12d126=_0xeba6a0,_0x55dee9=_0x3cf785,_0x4067c5=_0x55dee9[_0x12d126(0x3bb)],_0x221715=_0x4067c5['Base'],_0x4d0cfb=_0x4067c5[_0x12d126(0x250)],_0x2f554c=_0x4067c5['BufferedBlockAlgorithm'],_0x22527c=_0x55dee9['enc'];_0x22527c[_0x12d126(0x3c3)];var _0x230924=_0x22527c[_0x12d126(0x2c3)],_0x3a02ef=_0x55dee9[_0x12d126(0x19f)],_0x35f00f=_0x3a02ef[_0x12d126(0x183)],_0x3969bf=_0x4067c5[_0x12d126(0x457)]=_0x2f554c[_0x12d126(0x43b)]({'cfg':_0x221715[_0x12d126(0x43b)](),'createEncryptor':function(_0x238f83,_0x5083d7){var _0x3c019f=_0x12d126;return this['create'](this[_0x3c019f(0x1ca)],_0x238f83,_0x5083d7);},'createDecryptor':function(_0x446c03,_0x388d59){var _0x39923b=_0x12d126;return this[_0x39923b(0x21f)](this[_0x39923b(0x3c4)],_0x446c03,_0x388d59);},'init':function(_0x2e8956,_0x3e7871,_0x52e5f0){var _0x4fb2ad=_0x12d126;this[_0x4fb2ad(0x136)]=this['cfg']['extend'](_0x52e5f0),this[_0x4fb2ad(0x334)]=_0x2e8956,this[_0x4fb2ad(0x42b)]=_0x3e7871,this[_0x4fb2ad(0x40e)]();},'reset':function(){_0x2f554c['reset']['call'](this),this['_doReset']();},'process':function(_0x5d31d4){var _0x5b5227=_0x12d126;return this[_0x5b5227(0x426)](_0x5d31d4),this[_0x5b5227(0x327)]();},'finalize':function(_0x4083c2){var _0x25e38a=_0x12d126;_0x4083c2&&this[_0x25e38a(0x426)](_0x4083c2);var _0x2fe675=this[_0x25e38a(0x477)]();return _0x2fe675;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1b5764(_0x2a2d19){var _0x5edeea=_0x5b3e;return typeof _0x2a2d19==_0x5edeea(0x22c)?_0x4740ea:_0x5c76f8;}return function(_0x3c3332){return{'encrypt':function(_0x4b200a,_0x267d44,_0x416b62){var _0x423e0e=_0x5b3e;return _0x1b5764(_0x267d44)[_0x423e0e(0x1d2)](_0x3c3332,_0x4b200a,_0x267d44,_0x416b62);},'decrypt':function(_0x7083d7,_0x1de77f,_0x383ef5){var _0x2431ca=_0x5b3e;return _0x1b5764(_0x1de77f)[_0x2431ca(0x228)](_0x3c3332,_0x7083d7,_0x1de77f,_0x383ef5);}};};}())});_0x4067c5['StreamCipher']=_0x3969bf['extend']({'_doFinalize':function(){var _0x23e00a=_0x12d126,_0x21980b=this[_0x23e00a(0x327)](!0x0);return _0x21980b;},'blockSize':0x1});var _0xb52376=_0x55dee9[_0x12d126(0x369)]={},_0x2edba8=_0x4067c5['BlockCipherMode']=_0x221715[_0x12d126(0x43b)]({'createEncryptor':function(_0x455164,_0x1a2c41){var _0x46667c=_0x12d126;return this[_0x46667c(0x1df)]['create'](_0x455164,_0x1a2c41);},'createDecryptor':function(_0xdc85af,_0x521af9){var _0x5b0eb9=_0x12d126;return this[_0x5b0eb9(0x424)]['create'](_0xdc85af,_0x521af9);},'init':function(_0x751465,_0x395fb2){var _0x4f360f=_0x12d126;this[_0x4f360f(0x2e0)]=_0x751465,this[_0x4f360f(0x3d0)]=_0x395fb2;}}),_0x1b69e9=_0xb52376[_0x12d126(0x140)]=(function(){var _0x5756b7=_0x12d126,_0x5cb9aa=_0x2edba8['extend']();_0x5cb9aa['Encryptor']=_0x5cb9aa['extend']({'processBlock':function(_0x28123f,_0x592959){var _0x38b457=_0x5b3e,_0x5bc4c4=this[_0x38b457(0x2e0)],_0x4f21a2=_0x5bc4c4[_0x38b457(0x470)];_0x3f1883[_0x38b457(0x18c)](this,_0x28123f,_0x592959,_0x4f21a2),_0x5bc4c4[_0x38b457(0x255)](_0x28123f,_0x592959),this[_0x38b457(0x2f5)]=_0x28123f[_0x38b457(0x249)](_0x592959,_0x592959+_0x4f21a2);}}),_0x5cb9aa[_0x5756b7(0x424)]=_0x5cb9aa[_0x5756b7(0x43b)]({'processBlock':function(_0x24893a,_0x215426){var _0x57549d=_0x5756b7,_0x2c1743=this[_0x57549d(0x2e0)],_0x19df6c=_0x2c1743[_0x57549d(0x470)],_0x466432=_0x24893a[_0x57549d(0x249)](_0x215426,_0x215426+_0x19df6c);_0x2c1743[_0x57549d(0x1ee)](_0x24893a,_0x215426),_0x3f1883[_0x57549d(0x18c)](this,_0x24893a,_0x215426,_0x19df6c),this['_prevBlock']=_0x466432;}});function _0x3f1883(_0x3199b9,_0x10d424,_0x4b1d21){var _0x2a29f5=_0x5756b7,_0xb43425,_0x2cd442=this[_0x2a29f5(0x3d0)];_0x2cd442?(_0xb43425=_0x2cd442,this['_iv']=_0x25d914):_0xb43425=this[_0x2a29f5(0x2f5)];for(var _0x55a52b=0x0;_0x55a52b<_0x4b1d21;_0x55a52b++)_0x3199b9[_0x10d424+_0x55a52b]^=_0xb43425[_0x55a52b];}return _0x5cb9aa;}()),_0x41f1c8=_0x55dee9[_0x12d126(0x1ad)]={},_0x1ecaa0=_0x41f1c8[_0x12d126(0x184)]={'pad':function(_0x22af57,_0x445766){var _0x17ff8e=_0x12d126;for(var _0x1e2a8e=_0x445766*0x4,_0x20ca43=_0x1e2a8e-_0x22af57[_0x17ff8e(0x231)]%_0x1e2a8e,_0x16e921=_0x20ca43<<0x18|_0x20ca43<<0x10|_0x20ca43<<0x8|_0x20ca43,_0x9a801d=[],_0x17ac2f=0x0;_0x17ac2f<_0x20ca43;_0x17ac2f+=0x4)_0x9a801d[_0x17ff8e(0x433)](_0x16e921);var _0x1a5594=_0x4d0cfb[_0x17ff8e(0x21f)](_0x9a801d,_0x20ca43);_0x22af57[_0x17ff8e(0x252)](_0x1a5594);},'unpad':function(_0x19572b){var _0x269666=_0x12d126,_0x416e59=_0x19572b[_0x269666(0x3e6)][_0x19572b[_0x269666(0x231)]-0x1>>>0x2]&0xff;_0x19572b[_0x269666(0x231)]-=_0x416e59;}};_0x4067c5['BlockCipher']=_0x3969bf[_0x12d126(0x43b)]({'cfg':_0x3969bf[_0x12d126(0x136)][_0x12d126(0x43b)]({'mode':_0x1b69e9,'padding':_0x1ecaa0}),'reset':function(){var _0x299d96=_0x12d126,_0x1bfd5c;_0x3969bf[_0x299d96(0x40e)][_0x299d96(0x18c)](this);var _0x5d51ca=this['cfg'],_0x2cb70d=_0x5d51ca['iv'],_0x1bd199=_0x5d51ca['mode'];this['_xformMode']==this[_0x299d96(0x1ca)]?_0x1bfd5c=_0x1bd199[_0x299d96(0x1e5)]:(_0x1bfd5c=_0x1bd199['createDecryptor'],this[_0x299d96(0x39f)]=0x1),this[_0x299d96(0x365)]&&this[_0x299d96(0x365)][_0x299d96(0x14c)]==_0x1bfd5c?this[_0x299d96(0x365)][_0x299d96(0x12c)](this,_0x2cb70d&&_0x2cb70d[_0x299d96(0x3e6)]):(this[_0x299d96(0x365)]=_0x1bfd5c['call'](_0x1bd199,this,_0x2cb70d&&_0x2cb70d['words']),this['_mode'][_0x299d96(0x14c)]=_0x1bfd5c);},'_doProcessBlock':function(_0x1de7ca,_0x4dec1d){var _0x2cf7ea=_0x12d126;this[_0x2cf7ea(0x365)][_0x2cf7ea(0x412)](_0x1de7ca,_0x4dec1d);},'_doFinalize':function(){var _0x2cc603=_0x12d126,_0x23458c,_0x519607=this[_0x2cc603(0x136)]['padding'];return this[_0x2cc603(0x334)]==this[_0x2cc603(0x1ca)]?(_0x519607[_0x2cc603(0x1ad)](this['_data'],this['blockSize']),_0x23458c=this[_0x2cc603(0x327)](!0x0)):(_0x23458c=this[_0x2cc603(0x327)](!0x0),_0x519607[_0x2cc603(0x2db)](_0x23458c)),_0x23458c;},'blockSize':0x80/0x20});var _0x5a2ab6=_0x4067c5[_0x12d126(0x2ca)]=_0x221715['extend']({'init':function(_0x443935){var _0x5d420d=_0x12d126;this[_0x5d420d(0x45b)](_0x443935);},'toString':function(_0x285097){var _0x8ac117=_0x12d126;return(_0x285097||this[_0x8ac117(0x46b)])[_0x8ac117(0x1c1)](this);}}),_0x21318f=_0x55dee9[_0x12d126(0x217)]={},_0x3d7bf5=_0x21318f['OpenSSL']={'stringify':function(_0xa13088){var _0x4e655d=_0x12d126,_0x3a54fe,_0x4fef42=_0xa13088['ciphertext'],_0x3a1b4c=_0xa13088['salt'];return _0x3a1b4c?_0x3a54fe=_0x4d0cfb[_0x4e655d(0x21f)]([0x53616c74,0x65645f5f])[_0x4e655d(0x252)](_0x3a1b4c)[_0x4e655d(0x252)](_0x4fef42):_0x3a54fe=_0x4fef42,_0x3a54fe[_0x4e655d(0x39d)](_0x230924);},'parse':function(_0x35ea8f){var _0x3b962e=_0x12d126,_0x4c3646,_0x10b1aa=_0x230924[_0x3b962e(0x442)](_0x35ea8f),_0x17ddfe=_0x10b1aa[_0x3b962e(0x3e6)];return _0x17ddfe[0x0]==0x53616c74&&_0x17ddfe[0x1]==0x65645f5f&&(_0x4c3646=_0x4d0cfb['create'](_0x17ddfe[_0x3b962e(0x249)](0x2,0x4)),_0x17ddfe[_0x3b962e(0x380)](0x0,0x4),_0x10b1aa[_0x3b962e(0x231)]-=0x10),_0x5a2ab6[_0x3b962e(0x21f)]({'ciphertext':_0x10b1aa,'salt':_0x4c3646});}},_0x5c76f8=_0x4067c5[_0x12d126(0x274)]=_0x221715['extend']({'cfg':_0x221715[_0x12d126(0x43b)]({'format':_0x3d7bf5}),'encrypt':function(_0x55b1b5,_0x3516f4,_0x1175ff,_0x4a9cf0){var _0x553ae5=_0x12d126;_0x4a9cf0=this[_0x553ae5(0x136)][_0x553ae5(0x43b)](_0x4a9cf0);var _0x1517b6=_0x55b1b5[_0x553ae5(0x1e5)](_0x1175ff,_0x4a9cf0),_0x4848a8=_0x1517b6['finalize'](_0x3516f4),_0x495890=_0x1517b6['cfg'];return _0x5a2ab6[_0x553ae5(0x21f)]({'ciphertext':_0x4848a8,'key':_0x1175ff,'iv':_0x495890['iv'],'algorithm':_0x55b1b5,'mode':_0x495890['mode'],'padding':_0x495890['padding'],'blockSize':_0x55b1b5[_0x553ae5(0x470)],'formatter':_0x4a9cf0[_0x553ae5(0x217)]});},'decrypt':function(_0x518fa2,_0x400cfe,_0xe0ef43,_0x3f149a){var _0xb9f2c6=_0x12d126;_0x3f149a=this[_0xb9f2c6(0x136)][_0xb9f2c6(0x43b)](_0x3f149a),_0x400cfe=this['_parse'](_0x400cfe,_0x3f149a[_0xb9f2c6(0x217)]);var _0x4eaa4e=_0x518fa2[_0xb9f2c6(0x3bf)](_0xe0ef43,_0x3f149a)[_0xb9f2c6(0x275)](_0x400cfe[_0xb9f2c6(0x337)]);return _0x4eaa4e;},'_parse':function(_0x691a70,_0xae673){var _0x4bb2fb=_0x12d126;return typeof _0x691a70==_0x4bb2fb(0x22c)?_0xae673[_0x4bb2fb(0x442)](_0x691a70,this):_0x691a70;}}),_0x2cf875=_0x55dee9[_0x12d126(0x3b7)]={},_0x35d495=_0x2cf875[_0x12d126(0x461)]={'execute':function(_0x433c4d,_0xd169d,_0x48afc4,_0x4c69ad,_0x218246){var _0x1b82bb=_0x12d126;if(_0x4c69ad||(_0x4c69ad=_0x4d0cfb[_0x1b82bb(0x368)](0x40/0x8)),_0x218246)var _0x28fff0=_0x35f00f[_0x1b82bb(0x21f)]({'keySize':_0xd169d+_0x48afc4,'hasher':_0x218246})[_0x1b82bb(0x3ff)](_0x433c4d,_0x4c69ad);else var _0x28fff0=_0x35f00f[_0x1b82bb(0x21f)]({'keySize':_0xd169d+_0x48afc4})['compute'](_0x433c4d,_0x4c69ad);var _0x3d742a=_0x4d0cfb['create'](_0x28fff0[_0x1b82bb(0x3e6)][_0x1b82bb(0x249)](_0xd169d),_0x48afc4*0x4);return _0x28fff0[_0x1b82bb(0x231)]=_0xd169d*0x4,_0x5a2ab6[_0x1b82bb(0x21f)]({'key':_0x28fff0,'iv':_0x3d742a,'salt':_0x4c69ad});}},_0x4740ea=_0x4067c5[_0x12d126(0x12f)]=_0x5c76f8['extend']({'cfg':_0x5c76f8['cfg'][_0x12d126(0x43b)]({'kdf':_0x35d495}),'encrypt':function(_0x14a980,_0x112d83,_0x1fe3e6,_0xd6e5f){var _0xfe8c48=_0x12d126;_0xd6e5f=this[_0xfe8c48(0x136)]['extend'](_0xd6e5f);var _0x498f54=_0xd6e5f[_0xfe8c48(0x3b7)]['execute'](_0x1fe3e6,_0x14a980[_0xfe8c48(0x289)],_0x14a980[_0xfe8c48(0x3ba)],_0xd6e5f['salt'],_0xd6e5f[_0xfe8c48(0x1a3)]);_0xd6e5f['iv']=_0x498f54['iv'];var _0x2804af=_0x5c76f8[_0xfe8c48(0x1d2)][_0xfe8c48(0x18c)](this,_0x14a980,_0x112d83,_0x498f54[_0xfe8c48(0x285)],_0xd6e5f);return _0x2804af[_0xfe8c48(0x45b)](_0x498f54),_0x2804af;},'decrypt':function(_0x195843,_0x60766a,_0x28938d,_0x45e311){var _0x3c04b2=_0x12d126;_0x45e311=this[_0x3c04b2(0x136)][_0x3c04b2(0x43b)](_0x45e311),_0x60766a=this[_0x3c04b2(0x1c9)](_0x60766a,_0x45e311[_0x3c04b2(0x217)]);var _0x39daa1=_0x45e311[_0x3c04b2(0x3b7)][_0x3c04b2(0x256)](_0x28938d,_0x195843[_0x3c04b2(0x289)],_0x195843[_0x3c04b2(0x3ba)],_0x60766a[_0x3c04b2(0x322)],_0x45e311[_0x3c04b2(0x1a3)]);_0x45e311['iv']=_0x39daa1['iv'];var _0x37f797=_0x5c76f8[_0x3c04b2(0x228)][_0x3c04b2(0x18c)](this,_0x195843,_0x60766a,_0x39daa1[_0x3c04b2(0x285)],_0x45e311);return _0x37f797;}});}();}));}(Te)),Te[_0x2c7d62(0x2c5)];}var Ai=fe[_0x457b8a(0x2c5)],tt;function Pi(){var _0x4439ad=_0x457b8a;return tt||(tt=0x1,function(_0xaf85a5,_0x2eed74){(function(_0x36a49b,_0x1f47b1,_0x5708f5){var _0x391c89=_0x5b3e;_0xaf85a5[_0x391c89(0x2c5)]=_0x1f47b1(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x5f606d){var _0x241c1f=_0x5b3e;return(function(){var _0x7842af=_0x5b3e,_0xf9cf2e=_0x5f606d,_0x5c8e15=_0xf9cf2e[_0x7842af(0x3bb)],_0x433af8=_0x5c8e15[_0x7842af(0x45f)],_0x563a5c=_0xf9cf2e[_0x7842af(0x19f)],_0x4e8d8f=[],_0x5d8f9b=[],_0x187197=[],_0x23ed52=[],_0x484ea0=[],_0x4920ed=[],_0x35b7d8=[],_0x59cc67=[],_0x9dbdad=[],_0x5a5b00=[];(function(){for(var _0x2124db=[],_0x3783d5=0x0;_0x3783d5<0x100;_0x3783d5++)_0x3783d5<0x80?_0x2124db[_0x3783d5]=_0x3783d5<<0x1:_0x2124db[_0x3783d5]=_0x3783d5<<0x1^0x11b;for(var _0x1f4250=0x0,_0x73f292=0x0,_0x3783d5=0x0;_0x3783d5<0x100;_0x3783d5++){var _0x2e1d14=_0x73f292^_0x73f292<<0x1^_0x73f292<<0x2^_0x73f292<<0x3^_0x73f292<<0x4;_0x2e1d14=_0x2e1d14>>>0x8^_0x2e1d14&0xff^0x63,_0x4e8d8f[_0x1f4250]=_0x2e1d14,_0x5d8f9b[_0x2e1d14]=_0x1f4250;var _0x34b35d=_0x2124db[_0x1f4250],_0x29ee7c=_0x2124db[_0x34b35d],_0x53033b=_0x2124db[_0x29ee7c],_0x35cb14=_0x2124db[_0x2e1d14]*0x101^_0x2e1d14*0x1010100;_0x187197[_0x1f4250]=_0x35cb14<<0x18|_0x35cb14>>>0x8,_0x23ed52[_0x1f4250]=_0x35cb14<<0x10|_0x35cb14>>>0x10,_0x484ea0[_0x1f4250]=_0x35cb14<<0x8|_0x35cb14>>>0x18,_0x4920ed[_0x1f4250]=_0x35cb14;var _0x35cb14=_0x53033b*0x1010101^_0x29ee7c*0x10001^_0x34b35d*0x101^_0x1f4250*0x1010100;_0x35b7d8[_0x2e1d14]=_0x35cb14<<0x18|_0x35cb14>>>0x8,_0x59cc67[_0x2e1d14]=_0x35cb14<<0x10|_0x35cb14>>>0x10,_0x9dbdad[_0x2e1d14]=_0x35cb14<<0x8|_0x35cb14>>>0x18,_0x5a5b00[_0x2e1d14]=_0x35cb14,_0x1f4250?(_0x1f4250=_0x34b35d^_0x2124db[_0x2124db[_0x2124db[_0x53033b^_0x34b35d]]],_0x73f292^=_0x2124db[_0x2124db[_0x73f292]]):_0x1f4250=_0x73f292=0x1;}}());var _0x2d7455=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x242f5a=_0x563a5c[_0x7842af(0x147)]=_0x433af8[_0x7842af(0x43b)]({'_doReset':function(){var _0x167cf7=_0x7842af,_0x2f923e;if(!(this[_0x167cf7(0x330)]&&this[_0x167cf7(0x34f)]===this['_key'])){for(var _0x4f9705=this[_0x167cf7(0x34f)]=this[_0x167cf7(0x42b)],_0x325b05=_0x4f9705[_0x167cf7(0x3e6)],_0x3c77df=_0x4f9705[_0x167cf7(0x231)]/0x4,_0x541c78=this[_0x167cf7(0x330)]=_0x3c77df+0x6,_0x52b188=(_0x541c78+0x1)*0x4,_0x4caf77=this[_0x167cf7(0x2f0)]=[],_0x41404f=0x0;_0x41404f<_0x52b188;_0x41404f++)_0x41404f<_0x3c77df?_0x4caf77[_0x41404f]=_0x325b05[_0x41404f]:(_0x2f923e=_0x4caf77[_0x41404f-0x1],_0x41404f%_0x3c77df?_0x3c77df>0x6&&_0x41404f%_0x3c77df==0x4&&(_0x2f923e=_0x4e8d8f[_0x2f923e>>>0x18]<<0x18|_0x4e8d8f[_0x2f923e>>>0x10&0xff]<<0x10|_0x4e8d8f[_0x2f923e>>>0x8&0xff]<<0x8|_0x4e8d8f[_0x2f923e&0xff]):(_0x2f923e=_0x2f923e<<0x8|_0x2f923e>>>0x18,_0x2f923e=_0x4e8d8f[_0x2f923e>>>0x18]<<0x18|_0x4e8d8f[_0x2f923e>>>0x10&0xff]<<0x10|_0x4e8d8f[_0x2f923e>>>0x8&0xff]<<0x8|_0x4e8d8f[_0x2f923e&0xff],_0x2f923e^=_0x2d7455[_0x41404f/_0x3c77df|0x0]<<0x18),_0x4caf77[_0x41404f]=_0x4caf77[_0x41404f-_0x3c77df]^_0x2f923e);for(var _0x4f84bc=this[_0x167cf7(0x223)]=[],_0x1542a8=0x0;_0x1542a8<_0x52b188;_0x1542a8++){var _0x41404f=_0x52b188-_0x1542a8;if(_0x1542a8%0x4)var _0x2f923e=_0x4caf77[_0x41404f];else var _0x2f923e=_0x4caf77[_0x41404f-0x4];_0x1542a8<0x4||_0x41404f<=0x4?_0x4f84bc[_0x1542a8]=_0x2f923e:_0x4f84bc[_0x1542a8]=_0x35b7d8[_0x4e8d8f[_0x2f923e>>>0x18]]^_0x59cc67[_0x4e8d8f[_0x2f923e>>>0x10&0xff]]^_0x9dbdad[_0x4e8d8f[_0x2f923e>>>0x8&0xff]]^_0x5a5b00[_0x4e8d8f[_0x2f923e&0xff]];}}},'encryptBlock':function(_0x3d578e,_0x18a414){var _0x5ad41d=_0x7842af;this[_0x5ad41d(0x305)](_0x3d578e,_0x18a414,this[_0x5ad41d(0x2f0)],_0x187197,_0x23ed52,_0x484ea0,_0x4920ed,_0x4e8d8f);},'decryptBlock':function(_0x1480c6,_0x43a94e){var _0xc51564=_0x7842af,_0x1727f3=_0x1480c6[_0x43a94e+0x1];_0x1480c6[_0x43a94e+0x1]=_0x1480c6[_0x43a94e+0x3],_0x1480c6[_0x43a94e+0x3]=_0x1727f3,this[_0xc51564(0x305)](_0x1480c6,_0x43a94e,this[_0xc51564(0x223)],_0x35b7d8,_0x59cc67,_0x9dbdad,_0x5a5b00,_0x5d8f9b);var _0x1727f3=_0x1480c6[_0x43a94e+0x1];_0x1480c6[_0x43a94e+0x1]=_0x1480c6[_0x43a94e+0x3],_0x1480c6[_0x43a94e+0x3]=_0x1727f3;},'_doCryptBlock':function(_0x8379a6,_0x66838b,_0x972db,_0x192d66,_0x3ef64e,_0x5c69b3,_0x47bb90,_0x52b412){for(var _0x1245de=this['_nRounds'],_0x323fce=_0x8379a6[_0x66838b]^_0x972db[0x0],_0x370c54=_0x8379a6[_0x66838b+0x1]^_0x972db[0x1],_0x44e0f9=_0x8379a6[_0x66838b+0x2]^_0x972db[0x2],_0xcd20ea=_0x8379a6[_0x66838b+0x3]^_0x972db[0x3],_0x2fa7ec=0x4,_0x1f422d=0x1;_0x1f422d<_0x1245de;_0x1f422d++){var _0x2e3951=_0x192d66[_0x323fce>>>0x18]^_0x3ef64e[_0x370c54>>>0x10&0xff]^_0x5c69b3[_0x44e0f9>>>0x8&0xff]^_0x47bb90[_0xcd20ea&0xff]^_0x972db[_0x2fa7ec++],_0x51e945=_0x192d66[_0x370c54>>>0x18]^_0x3ef64e[_0x44e0f9>>>0x10&0xff]^_0x5c69b3[_0xcd20ea>>>0x8&0xff]^_0x47bb90[_0x323fce&0xff]^_0x972db[_0x2fa7ec++],_0x1e0a76=_0x192d66[_0x44e0f9>>>0x18]^_0x3ef64e[_0xcd20ea>>>0x10&0xff]^_0x5c69b3[_0x323fce>>>0x8&0xff]^_0x47bb90[_0x370c54&0xff]^_0x972db[_0x2fa7ec++],_0x258d5b=_0x192d66[_0xcd20ea>>>0x18]^_0x3ef64e[_0x323fce>>>0x10&0xff]^_0x5c69b3[_0x370c54>>>0x8&0xff]^_0x47bb90[_0x44e0f9&0xff]^_0x972db[_0x2fa7ec++];_0x323fce=_0x2e3951,_0x370c54=_0x51e945,_0x44e0f9=_0x1e0a76,_0xcd20ea=_0x258d5b;}var _0x2e3951=(_0x52b412[_0x323fce>>>0x18]<<0x18|_0x52b412[_0x370c54>>>0x10&0xff]<<0x10|_0x52b412[_0x44e0f9>>>0x8&0xff]<<0x8|_0x52b412[_0xcd20ea&0xff])^_0x972db[_0x2fa7ec++],_0x51e945=(_0x52b412[_0x370c54>>>0x18]<<0x18|_0x52b412[_0x44e0f9>>>0x10&0xff]<<0x10|_0x52b412[_0xcd20ea>>>0x8&0xff]<<0x8|_0x52b412[_0x323fce&0xff])^_0x972db[_0x2fa7ec++],_0x1e0a76=(_0x52b412[_0x44e0f9>>>0x18]<<0x18|_0x52b412[_0xcd20ea>>>0x10&0xff]<<0x10|_0x52b412[_0x323fce>>>0x8&0xff]<<0x8|_0x52b412[_0x370c54&0xff])^_0x972db[_0x2fa7ec++],_0x258d5b=(_0x52b412[_0xcd20ea>>>0x18]<<0x18|_0x52b412[_0x323fce>>>0x10&0xff]<<0x10|_0x52b412[_0x370c54>>>0x8&0xff]<<0x8|_0x52b412[_0x44e0f9&0xff])^_0x972db[_0x2fa7ec++];_0x8379a6[_0x66838b]=_0x2e3951,_0x8379a6[_0x66838b+0x1]=_0x51e945,_0x8379a6[_0x66838b+0x2]=_0x1e0a76,_0x8379a6[_0x66838b+0x3]=_0x258d5b;},'keySize':0x100/0x20});_0xf9cf2e['AES']=_0x433af8[_0x7842af(0x38d)](_0x242f5a);}()),_0x5f606d[_0x241c1f(0x147)];}));}(fe)),fe[_0x4439ad(0x2c5)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x457b8a(0x2c5)],nt;function ki(){return nt||(nt=0x1,function(_0x21e13d,_0x29ed6a){(function(_0x48e587,_0x19211a){var _0x1b5da5=_0x5b3e;_0x21e13d[_0x1b5da5(0x2c5)]=_0x19211a(Q());}(xi,function(_0x3c0358){return _0x3c0358['enc']['Utf8'];}));}(be)),be['exports'];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x457b8a(0x2c5)],rt;function Bi(){var _0x2b3fbf=_0x457b8a;return rt||(rt=0x1,function(_0x2f399f,_0x351c7e){(function(_0x5ed1a9,_0x4f026a){_0x2f399f['exports']=_0x4f026a(Q());}(ji,function(_0x263717){var _0x490335=_0x5b3e;return(function(){var _0xb3c810=_0x5b3e;if(typeof ArrayBuffer==_0xb3c810(0x18a)){var _0x36b03c=_0x263717,_0x4204cf=_0x36b03c['lib'],_0x2d6caf=_0x4204cf['WordArray'],_0x4807fc=_0x2d6caf[_0xb3c810(0x12c)],_0x40e065=_0x2d6caf['init']=function(_0x435aa7){var _0x3408f8=_0xb3c810;if(_0x435aa7 instanceof ArrayBuffer&&(_0x435aa7=new Uint8Array(_0x435aa7)),(_0x435aa7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x435aa7 instanceof Uint8ClampedArray||_0x435aa7 instanceof Int16Array||_0x435aa7 instanceof Uint16Array||_0x435aa7 instanceof Int32Array||_0x435aa7 instanceof Uint32Array||_0x435aa7 instanceof Float32Array||_0x435aa7 instanceof Float64Array)&&(_0x435aa7=new Uint8Array(_0x435aa7['buffer'],_0x435aa7[_0x3408f8(0x1e0)],_0x435aa7['byteLength'])),_0x435aa7 instanceof Uint8Array){for(var _0x1b11cf=_0x435aa7[_0x3408f8(0x153)],_0x45f43c=[],_0x165fb7=0x0;_0x165fb7<_0x1b11cf;_0x165fb7++)_0x45f43c[_0x165fb7>>>0x2]|=_0x435aa7[_0x165fb7]<<0x18-_0x165fb7%0x4*0x8;_0x4807fc[_0x3408f8(0x18c)](this,_0x45f43c,_0x1b11cf);}else _0x4807fc['apply'](this,arguments);};_0x40e065[_0xb3c810(0x208)]=_0x2d6caf;}}()),_0x263717[_0x490335(0x3bb)][_0x490335(0x250)];}));}(Oe)),Oe[_0x2b3fbf(0x2c5)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x457b8a(0x2c5)],st;function Gi(){var _0x2018dd=_0x457b8a;return st||(st=0x1,function(_0x509c71,_0x2cd558){(function(_0x2b863f,_0x758cb5,_0x1181b1){_0x509c71['exports']=_0x758cb5(Q(),Tt());}(Wi,function(_0x53108f){var _0x557c12=_0x5b3e;return _0x53108f[_0x557c12(0x1ad)][_0x557c12(0x155)]={'pad':function(){},'unpad':function(){}},_0x53108f[_0x557c12(0x1ad)][_0x557c12(0x155)];}));}(Re)),Re[_0x2018dd(0x2c5)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x7db206,_0x305a01){var _0xb874a1=_0x457b8a;const _0x2f5da0=_0x305a01-_0x7db206['length']%_0x305a01,_0x1704ea=String[_0xb874a1(0x33d)](_0x2f5da0)[_0xb874a1(0x3c2)](_0x2f5da0);return _0x7db206+_0x1704ea;}function zi(_0x35193f,_0x247bf0){var _0x214787=_0x457b8a;const _0xe7479a=Vi['random'](0x10),_0x4d8e38=Ki(_0x35193f,0x10),_0x26e75d=Mi[_0x214787(0x1d2)](Hi[_0x214787(0x442)](_0x4d8e38),it[_0x214787(0x442)](_0x247bf0),{'iv':_0xe7479a,'padding':qi});return _0xe7479a[_0x214787(0x252)](_0x26e75d[_0x214787(0x337)])[_0x214787(0x39d)](it);}function Ji(){var _0x7a2051=_0x457b8a;const _0x44c797=yt[_0x7a2051(0x3ce)]()[_0x7a2051(0x23b)];if(_0x44c797){const _0x9fa484={'time':Math[_0x7a2051(0x465)](Date[_0x7a2051(0x36d)]()/0x3e8),'domain':location['hostname']};return zi(JSON[_0x7a2051(0x1c1)](_0x9fa484),_0x44c797);}}var Xi=Object[_0x457b8a(0x37f)],Zi=(_0x75022c,_0x1829ca,_0x38c1cf,_0x4413cb)=>{var _0x44d59d=_0x457b8a;for(var _0x1a1715=_0x4413cb>0x1?void 0x0:_0x4413cb?Xi(_0x1829ca,_0x38c1cf):_0x1829ca,_0x559bc4=_0x75022c[_0x44d59d(0x37c)]-0x1,_0x518556;_0x559bc4>=0x0;_0x559bc4--)(_0x518556=_0x75022c[_0x559bc4])&&(_0x1a1715=_0x518556(_0x1a1715)||_0x1a1715);return _0x1a1715;},Qi=(_0x4a2dcf,_0x198800)=>(_0x130a87,_0xb7825d)=>_0x198800(_0x130a87,_0xb7825d,_0x4a2dcf);let Ne=class{constructor(_0x1d8b2d){var _0xcbcf13=_0x457b8a;this[_0xcbcf13(0x1a0)]=_0x1d8b2d,this[_0xcbcf13(0x219)]();}[_0x457b8a(0x219)](){var _0x2e513e=_0x457b8a;this[_0x2e513e(0x1a0)][_0x2e513e(0x162)]({'interceptor':(_0x48b866,_0x1879db)=>{var _0x1e9803=_0x2e513e;const _0x234c48=_0x48b866[_0x1e9803(0x404)],_0x3ccf7a=Ji();return _0x3ccf7a&&_0x234c48[_0x1e9803(0x15e)](_0x1e9803(0x199),_0x3ccf7a),_0x1879db(_0x48b866);}});}};Ne=Zi([Qi(0x0,a[_0x457b8a(0x40f)](q[_0x457b8a(0x400)]))],Ne);var en=Object[_0x457b8a(0x37f)],tn=(_0x4bdf3f,_0x1dd55d,_0x1ba5c5,_0x1e8240)=>{var _0x5d1186=_0x457b8a;for(var _0x3e87c0=_0x1e8240>0x1?void 0x0:_0x1e8240?en(_0x1dd55d,_0x1ba5c5):_0x1dd55d,_0x26fb99=_0x4bdf3f[_0x5d1186(0x37c)]-0x1,_0x2cc003;_0x26fb99>=0x0;_0x26fb99--)(_0x2cc003=_0x4bdf3f[_0x26fb99])&&(_0x3e87c0=_0x2cc003(_0x3e87c0)||_0x3e87c0);return _0x3e87c0;},we=(_0x387bd1,_0x21920b)=>(_0x92d898,_0x1af42c)=>_0x21920b(_0x92d898,_0x1af42c,_0x387bd1);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x4ab1d3,_0x51e2f5,_0x4866df){var _0x1d279d=_0x457b8a;super(),A(this,_0x1d279d(0x2ff),new H['BehaviorSubject'](null)),A(this,_0x1d279d(0x137),this['_unitInfo$'][_0x1d279d(0x2f8)]()),(this['_logService']=_0x4ab1d3,this[_0x1d279d(0x25e)]=_0x51e2f5,this[_0x1d279d(0x240)]=_0x4866df);}async[_0x457b8a(0x1a7)](_0x2a86a4,_0x47ac67,_0x2abd64){var _0x247ace=_0x457b8a;this[_0x247ace(0x2ff)]['next']({'unitId':_0x2a86a4,'type':_0x47ac67});let _0x36085f=null;switch(_0x47ac67){case J[_0x247ace(0x18f)]:{_0x36085f=await this[_0x247ace(0x25e)][_0x247ace(0x19b)](_0x2a86a4,_0x2abd64);break;}case J['UNIVER_DOC']:{_0x36085f=await this[_0x247ace(0x25e)]['loadDoc'](_0x2a86a4,_0x2abd64);break;}default:{this[_0x247ace(0x1da)][_0x247ace(0x431)](_0x247ace(0x156),_0x247ace(0x47f));break;}}return _0x36085f;}async[_0x457b8a(0x409)](_0x589eb4,_0x5a80d1,_0x36fa82){var _0x3458db=_0x457b8a,_0x553953;this[_0x3458db(0x2ff)][_0x3458db(0x402)]({'unitId':_0x589eb4,'type':_0x5a80d1,'subUnitId':_0x36fa82});let _0xa33671=0x0;const _0x2dc711=await((_0x553953=this[_0x3458db(0x240)])==null?void 0x0:_0x553953['loadOfflineData'](_0x589eb4));return _0x2dc711&&(_0x2dc711[_0x3458db(0x32b)]||_0x2dc711[_0x3458db(0x28f)]['length']!==0x0)&&(_0xa33671=_0x2dc711[_0x3458db(0x385)]),_0xa33671===0x0&&this[_0x3458db(0x1da)][_0x3458db(0x1b3)](_0x3458db(0x156),_0x3458db(0x32f)),this[_0x3458db(0x1a7)](_0x589eb4,_0x5a80d1,_0xa33671);}},exports[_0x457b8a(0x1ce)]=tn([we(0x0,a['ILogService']),we(0x1,a[_0x457b8a(0x40f)](p['SnapshotService'])),we(0x2,a['Optional'](K))],exports[_0x457b8a(0x1ce)]);var nn=Object[_0x457b8a(0x37f)],rn=(_0xcfae04,_0x512aef,_0x3a3249,_0x8666eb)=>{var _0x270099=_0x457b8a;for(var _0x19be95=_0x8666eb>0x1?void 0x0:_0x8666eb?nn(_0x512aef,_0x3a3249):_0x512aef,_0x23f652=_0xcfae04[_0x270099(0x37c)]-0x1,_0x372e97;_0x23f652>=0x0;_0x23f652--)(_0x372e97=_0xcfae04[_0x23f652])&&(_0x19be95=_0x372e97(_0x19be95)||_0x19be95);return _0x19be95;},Me=(_0x15ee56,_0x103978)=>(_0x50609f,_0x116182)=>_0x103978(_0x50609f,_0x116182,_0x15ee56);const sn=[_0x457b8a(0x225),'image/jpeg',_0x457b8a(0x45c),_0x457b8a(0x37d),'image/bmp'],on=0x5*0x400*0x400,an=_0x457b8a(0x2e5),cn=_0x457b8a(0x2ac);exports['CollaborationImageIoService']=class{constructor(_0x28b14e,_0xc2be8,_0x446f7d){var _0x2d05a7=_0x457b8a;A(this,'_waitCount',0x0),A(this,_0x2d05a7(0x3d9),new H['Subject']()),A(this,_0x2d05a7(0x3a5),this['_change$']),A(this,_0x2d05a7(0x1ec),new Map()),(this[_0x2d05a7(0x1a0)]=_0x28b14e,this[_0x2d05a7(0x338)]=_0xc2be8,this['_univerInstanceService']=_0x446f7d);}['setWaitCount'](_0xba7ea){var _0x1821d7=_0x457b8a;this[_0x1821d7(0x3a8)]=_0xba7ea,this['_change$'][_0x1821d7(0x402)](_0xba7ea);}[_0x457b8a(0x2c9)](_0x5f0000,_0x3d5932){var _0xef6c4c=_0x457b8a;if(_0x3d5932===z[_0xef6c4c(0x309)][_0xef6c4c(0x3f2)]){const _0x2f5ae5=new Image();return _0x2f5ae5['src']=_0x5f0000,_0x2f5ae5;}return this[_0xef6c4c(0x1ec)][_0xef6c4c(0x342)](_0x5f0000);}[_0x457b8a(0x395)](_0x5964c0,_0x5b0f95,_0x4278ea){var _0x2abcf7=_0x457b8a;_0x5b0f95===z['ImageSourceType'][_0x2abcf7(0x3f2)]||_0x4278ea==null||this['_imageSourceCache'][_0x2abcf7(0x15e)](_0x5964c0,_0x4278ea);}async[_0x457b8a(0x226)](_0x3f1c07){var _0x554089=_0x457b8a;try{const _0x5b6a52=this[_0x554089(0x19a)](this[_0x554089(0x35d)](),''+_0x3f1c07),_0xcd4235=(await this[_0x554089(0x1a0)][_0x554089(0x342)](_0x5b6a52))[_0x554089(0x185)];if(_0xcd4235['error']&&_0xcd4235[_0x554089(0x431)]['code']===dt['OK']){const _0x157b0f=new URL(_0xcd4235[_0x554089(0x1a2)],this[_0x554089(0x253)]())[_0x554089(0x39d)]();return Promise[_0x554089(0x1b5)](_0x157b0f);}return Promise['reject'](_0xcd4235[_0x554089(0x431)]);}catch(_0x31520a){return Promise[_0x554089(0x375)](_0x31520a);}}async['saveImage'](_0x180517){var _0x578d4e=_0x457b8a;let _0x539fca='';if(!sn[_0x578d4e(0x374)](_0x180517['type']))return this[_0x578d4e(0x39a)](),Promise[_0x578d4e(0x375)](new Error(z[_0x578d4e(0x2ba)]['ERROR_IMAGE_TYPE']));if(_0x180517[_0x578d4e(0x290)]>on)return this[_0x578d4e(0x39a)](),Promise[_0x578d4e(0x375)](new Error(z['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x35f029=new FormData();_0x35f029[_0x578d4e(0x1af)](_0x578d4e(0x176),_0x180517);const _0x2caf67=this['_univerInstanceService']['getFocusedUnit'](),_0x608f1e=_0x2caf67==null?void 0x0:_0x2caf67[_0x578d4e(0x14a)]();if(!_0x608f1e)throw new Error('unitId\x20is\x20not\x20found');const _0x3c4cd0=this[_0x578d4e(0x167)]()+_0x578d4e(0x216)+_0x180517[_0x578d4e(0x290)]['toString']()+_0x578d4e(0x38a)+vt[_0x578d4e(0x177)]+'&assign='+encodeURIComponent(_0x608f1e),_0x36d93a={'body':_0x35f029},_0x1c9660=(await this[_0x578d4e(0x1a0)][_0x578d4e(0x321)](_0x3c4cd0,_0x36d93a))[_0x578d4e(0x185)];if(typeof _0x1c9660[_0x578d4e(0x323)]!=_0x578d4e(0x22c))return this[_0x578d4e(0x39a)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x578d4e(0x33e)]));_0x539fca=_0x1c9660['FileId'];}catch{return this[_0x578d4e(0x39a)](),Promise['reject'](new Error(z[_0x578d4e(0x2ba)][_0x578d4e(0x33e)]));}return new Promise((_0x50652e,_0x4ae6ff)=>{var _0x58ac00=_0x578d4e;const _0x4c49b1=new FileReader();_0x4c49b1[_0x58ac00(0x157)](_0x180517),_0x4c49b1['onload']=_0x1476ff=>{var _0x5b4010=_0x58ac00,_0x36d227;const _0x9a7d91=(_0x36d227=_0x1476ff[_0x5b4010(0x43d)])==null?void 0x0:_0x36d227['result'];if(_0x9a7d91==null){this[_0x5b4010(0x39a)](),_0x4ae6ff(new Error(z[_0x5b4010(0x2ba)][_0x5b4010(0x33e)]));return;}const _0x36a91d=a[_0x5b4010(0x14b)](0x6);_0x50652e({'imageId':_0x36a91d,'imageSourceType':z[_0x5b4010(0x309)][_0x5b4010(0x355)],'source':_0x539fca,'base64Cache':_0x9a7d91,'status':z[_0x5b4010(0x2ba)]['SUCCUSS']}),this[_0x5b4010(0x39a)]();};});}['_getUploadFileURL'](){var _0x20433c=_0x457b8a,_0x1c172f;const _0xef9a57=this['_configService'][_0x20433c(0x487)](Y);return(_0x1c172f=_0xef9a57==null?void 0x0:_0xef9a57[_0x20433c(0x2df)])!=null?_0x1c172f:an;}[_0x457b8a(0x35d)](){var _0x55e212=_0x457b8a,_0x339665;const _0x28f641=this[_0x55e212(0x338)][_0x55e212(0x487)](Y);return(_0x339665=_0x28f641==null?void 0x0:_0x28f641[_0x55e212(0x35e)])!=null?_0x339665:cn;}[_0x457b8a(0x253)](){var _0x4b45db=_0x457b8a,_0x467f28;const _0x39204f=this[_0x4b45db(0x338)][_0x4b45db(0x487)](Y);return(_0x467f28=_0x39204f==null?void 0x0:_0x39204f[_0x4b45db(0x2c0)])!=null?_0x467f28:location['origin'];}[_0x457b8a(0x19a)](_0x3e99ad,_0x36fc7c){var _0x25a922=_0x457b8a;return _0x3e99ad[_0x25a922(0x3f5)](_0x25a922(0x324),_0x36fc7c);}[_0x457b8a(0x39a)](){var _0x539b40=_0x457b8a;this['_waitCount']-=0x1,this[_0x539b40(0x3d9)][_0x539b40(0x402)](this[_0x539b40(0x3a8)]);}},exports[_0x457b8a(0x23d)]=rn([Me(0x0,a[_0x457b8a(0x40f)](q[_0x457b8a(0x400)])),Me(0x1,a['IConfigService']),Me(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x457b8a(0x23d)]);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x668241,_0x15cf08,_0x1baa67,_0x2beda9)=>{var _0x1b8c87=_0x457b8a;for(var _0x339a9c=_0x2beda9>0x1?void 0x0:_0x2beda9?hn(_0x15cf08,_0x1baa67):_0x15cf08,_0xfca544=_0x668241[_0x1b8c87(0x37c)]-0x1,_0x2544d3;_0xfca544>=0x0;_0xfca544--)(_0x2544d3=_0x668241[_0xfca544])&&(_0x339a9c=_0x2544d3(_0x339a9c)||_0x339a9c);return _0x339a9c;},ot=(_0x4c5f95,_0x241c0a)=>(_0x4e231a,_0x4adcf0)=>_0x241c0a(_0x4e231a,_0x4adcf0,_0x4c5f95);const ln=_0x457b8a(0x390);exports[_0x457b8a(0x463)]=class{constructor(_0xae304c,_0x569da9){var _0x4dc75b=_0x457b8a;this[_0x4dc75b(0x338)]=_0xae304c,this[_0x4dc75b(0x3eb)]=_0x569da9;}[_0x457b8a(0x169)](){var _0x5164a8=_0x457b8a,_0x16783e;const _0x215fcc=this[_0x5164a8(0x338)][_0x5164a8(0x487)](Y);return(_0x16783e=_0x215fcc==null?void 0x0:_0x215fcc[_0x5164a8(0x311)])!=null?_0x16783e:ln;}async[_0x457b8a(0x207)](_0x34a2ea){var _0x3d1b34=_0x457b8a;const _0x42dec4=this[_0x3d1b34(0x169)]()+_0x3d1b34(0x312);return{'list':[{'title':'People','mentions':(await this[_0x3d1b34(0x3eb)][_0x3d1b34(0x342)](_0x42dec4,{'params':{'objectID':_0x34a2ea[_0x3d1b34(0x1ff)],'unitID':_0x34a2ea[_0x3d1b34(0x1ff)]}}))[_0x3d1b34(0x185)][_0x3d1b34(0x392)]['map'](_0x15a070=>({'objectId':_0x15a070['id'],'name':_0x15a070[_0x3d1b34(0x1fe)][_0x3d1b34(0x16e)],'metadata':{'icon':_0x15a070[_0x3d1b34(0x1fe)]['avatar']},'label':_0x15a070[_0x3d1b34(0x1fe)][_0x3d1b34(0x16e)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x3d1b34(0x301)][_0x3d1b34(0x2ec)]}]};}},exports[_0x457b8a(0x463)]=_n([ot(0x0,a['Inject'](a[_0x457b8a(0x1a8)])),ot(0x1,a[_0x457b8a(0x40f)](q[_0x457b8a(0x400)]))],exports[_0x457b8a(0x463)]);var un=Object[_0x457b8a(0x37f)],dn=(_0x205bbf,_0x4141f8,_0x56aa1f,_0x11a09a)=>{for(var _0x1bd8f3=_0x11a09a>0x1?void 0x0:_0x11a09a?un(_0x4141f8,_0x56aa1f):_0x4141f8,_0x56c68d=_0x205bbf['length']-0x1,_0x43d474;_0x56c68d>=0x0;_0x56c68d--)(_0x43d474=_0x205bbf[_0x56c68d])&&(_0x1bd8f3=_0x43d474(_0x1bd8f3)||_0x1bd8f3);return _0x1bd8f3;},le=(_0x282e00,_0x5c3be6)=>(_0x4e1313,_0x3b5b0b)=>_0x5c3be6(_0x4e1313,_0x3b5b0b,_0x282e00);let De=class extends a[_0x457b8a(0x430)]{constructor(_0x1da086,_0x5b0e06,_0xea9c8e,_0x1399ea,_0x203c5f){var _0x570f1a=_0x457b8a;super(),this[_0x570f1a(0x441)]=_0x1da086,this['_univerInstanceService']=_0x5b0e06,this[_0x570f1a(0x227)]=_0xea9c8e,this[_0x570f1a(0x2d2)]=_0x1399ea,this[_0x570f1a(0x24f)]=_0x203c5f,this[_0x570f1a(0x371)](),this[_0x570f1a(0x1dd)]();}[_0x457b8a(0x1dd)](){var _0x340ac0=_0x457b8a;const _0x16a18a=async _0x5b73c0=>{var _0x23dfd4=_0x5b3e;(await this['_collaborationSessionService']['requireSession'](_0x5b73c0))['event$'][_0x23dfd4(0x2d5)](V['filter'](_0x22348d=>_0x22348d[_0x23dfd4(0x291)]===p[_0x23dfd4(0x214)][_0x23dfd4(0x186)]),V[_0x23dfd4(0x378)](this[_0x23dfd4(0x318)]))[_0x23dfd4(0x485)](_0x58c48e=>{var _0x22cc9a=_0x23dfd4;const _0x351612=_0x58c48e,{reason:_0x2201ed}=_0x351612['data'];this[_0x22cc9a(0x24f)][_0x22cc9a(0x22b)]({'id':Z['CLOSE_ROOM'],'data':_0x2201ed}),this[_0x22cc9a(0x227)][_0x22cc9a(0x2be)](new X[(_0x22cc9a(0x1ab))](_0x5b73c0)['id'],!0x1),this[_0x22cc9a(0x2d2)]['closeSession'](_0x5b73c0);});};H[_0x340ac0(0x396)](this[_0x340ac0(0x1b4)]['getTypeOfUnitAdded$'](a[_0x340ac0(0x165)]['UNIVER_SHEET']),this[_0x340ac0(0x1b4)][_0x340ac0(0x171)](a[_0x340ac0(0x165)][_0x340ac0(0x129)]))[_0x340ac0(0x2d5)](V['map'](_0x46ff23=>_0x46ff23[_0x340ac0(0x14a)]()),V['filter'](_0x1041bc=>!a[_0x340ac0(0x2e2)](_0x1041bc)),V['takeUntil'](this[_0x340ac0(0x318)]))['subscribe'](_0x57a69b=>{_0x16a18a(_0x57a69b);});}[_0x457b8a(0x371)](){var _0x1f844a=_0x457b8a;const _0x3c112a=async _0x404e65=>{var _0x531648=_0x5b3e;const _0xf5cd29=await this[_0x531648(0x2d2)][_0x531648(0x473)](_0x404e65),_0x34d163=this[_0x531648(0x441)][_0x531648(0x342)](X['SheetPermissionInitController']);_0xf5cd29[_0x531648(0x1c5)][_0x531648(0x2d5)](V[_0x531648(0x425)](_0x2246dc=>_0x2246dc[_0x531648(0x291)]===p['CollaborationEvent'][_0x531648(0x191)]),V[_0x531648(0x378)](this['dispose$']))[_0x531648(0x485)](_0x5d73c9=>{var _0x2fdabf=_0x531648;const _0x5f0f81=_0x5d73c9,{objectId:_0xad04c0}=_0x5f0f81[_0x2fdabf(0x12e)];_0xad04c0===_0x404e65?_0x34d163['initWorkbookPermissionChange'](_0x404e65):_0x34d163['refreshPermission'](_0x404e65,_0xad04c0);});};H['merge'](this[_0x1f844a(0x1b4)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x1f844a(0x18f)]))['pipe'](V[_0x1f844a(0x304)](_0x16e047=>_0x16e047[_0x1f844a(0x14a)]()),V[_0x1f844a(0x425)](_0x3dd2ea=>!a[_0x1f844a(0x2e2)](_0x3dd2ea)),V['takeUntil'](this[_0x1f844a(0x318)]))[_0x1f844a(0x485)](_0x1edd20=>{_0x3c112a(_0x1edd20);});}};De=dn([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x457b8a(0x3d3)]),le(0x2,a[_0x457b8a(0x2a5)]),le(0x3,a[_0x457b8a(0x40f)](exports[_0x457b8a(0x3a3)])),le(0x4,a['Inject'](ee))],De);var vn=Object[_0x457b8a(0x37f)],Sn=(_0xb0d62d,_0x1ec051,_0x47bdaa,_0x5a9ac5)=>{var _0x1803bc=_0x457b8a;for(var _0x449fdd=_0x5a9ac5>0x1?void 0x0:_0x5a9ac5?vn(_0x1ec051,_0x47bdaa):_0x1ec051,_0x1fdc7b=_0xb0d62d[_0x1803bc(0x37c)]-0x1,_0x5963b7;_0x1fdc7b>=0x0;_0x1fdc7b--)(_0x5963b7=_0xb0d62d[_0x1fdc7b])&&(_0x449fdd=_0x5963b7(_0x449fdd)||_0x449fdd);return _0x449fdd;},at=(_0x1830bf,_0x30cbbf)=>(_0x354106,_0x323102)=>_0x30cbbf(_0x354106,_0x323102,_0x1830bf);exports[_0x457b8a(0x343)]=class{constructor(_0x401d22,_0x161675){var _0x47b16a=_0x457b8a;this[_0x47b16a(0x338)]=_0x401d22,this[_0x47b16a(0x1a0)]=_0x161675;}async['getUnitOnRev'](_0x288ab9,_0x5d2f40){var _0x352319=_0x457b8a,_0x40608b;const {unitID:_0x5ce667,type:_0x417ba9,revision:_0x54e692=0x0}=_0x5d2f40,_0x57823f=this['getSnapshotAPIPath']()+'/'+_0x417ba9+_0x352319(0x3d4)+_0x5ce667+_0x352319(0x44e)+_0x54e692,_0x233d2c=(await this['_httpService'][_0x352319(0x342)](_0x57823f))[_0x352319(0x185)],_0x330796=(_0x40608b=_0x233d2c[_0x352319(0x48e)])==null?void 0x0:_0x40608b[_0x352319(0x3e1)];if(_0x330796){const _0x32d18c=_0x330796==null?void 0x0:_0x330796['originalMeta'],_0x4819a9=p[_0x352319(0x387)]['encode'](p['b64DecodeUnicode'](_0x32d18c));_0x330796['originalMeta']=_0x4819a9,Object[_0x352319(0x180)](_0x330796[_0x352319(0x326)])[_0x352319(0x1e3)](([,_0x222603])=>{var _0x43dbaf=_0x352319;const _0x4460df=_0x222603[_0x43dbaf(0x1ac)],_0x4b8deb=p['textEncoder'][_0x43dbaf(0x44f)](p[_0x43dbaf(0x3b1)](_0x4460df));_0x222603['originalMeta']=_0x4b8deb;});}return _0x233d2c;}async[_0x457b8a(0x230)](_0x1ae1fd,_0x5016e5){var _0x166da1=_0x457b8a;const {unitID:_0x19ad78,type:_0x3bab32,blockID:_0x366601}=_0x5016e5,_0x3a4c33=this[_0x166da1(0x2d9)]()+'/'+_0x3bab32+_0x166da1(0x3d4)+_0x19ad78+'/block/'+_0x366601;return(await this[_0x166da1(0x1a0)][_0x166da1(0x342)](_0x3a4c33))['body'];}async[_0x457b8a(0x286)](_0x53e89c,_0xe48a2f){var _0x314739=_0x457b8a;const {unitID:_0x29d9aa,type:_0x12c607,blockID:_0x300b53}=_0xe48a2f,_0x566951=this['_getAPIPrefix']()+_0x314739(0x3bd)+_0x12c607+_0x314739(0x3d4)+_0x29d9aa+_0x314739(0x3bd)+_0x300b53;return(await this[_0x314739(0x1a0)][_0x314739(0x342)](_0x566951))['body'];}async['fetchMissingChangesets'](_0x5ae554,_0x29892d){var _0x4592c3=_0x457b8a;const {unitID:_0x370bea,type:_0x4d8b94,from:_0x8a487,to:_0xd0c150}=_0x29892d,_0x5579c3=this[_0x4592c3(0x2d9)]()+'/'+_0x4d8b94+_0x4592c3(0x3d4)+_0x370bea+_0x4592c3(0x352)+_0x8a487+_0x4592c3(0x13f)+_0xd0c150;return(await this[_0x4592c3(0x1a0)]['get'](_0x5579c3))['body'];}[_0x457b8a(0x3b5)](){var _0x3c774f=_0x457b8a,_0x46d2c4;return(_0x46d2c4=this[_0x3c774f(0x338)][_0x3c774f(0x487)](Dt))!=null?_0x46d2c4:this[_0x3c774f(0x2d9)]();}[_0x457b8a(0x2d9)](){var _0x599470=_0x457b8a,_0x458346;const _0xdd20cc=this[_0x599470(0x338)][_0x599470(0x487)](Y);return(_0x458346=_0xdd20cc==null?void 0x0:_0xdd20cc[_0x599470(0x2ed)])!=null?_0x458346:Nt;}async[_0x457b8a(0x2a4)](_0x40006f,_0x2b58c7){var _0x503fd4=_0x457b8a;const _0x20baf3=_0x503fd4(0x317)+_0x2b58c7[_0x503fd4(0x2b6)]+'/unit/'+_0x2b58c7[_0x503fd4(0x224)]+'/resources';return(await this[_0x503fd4(0x1a0)][_0x503fd4(0x342)](_0x20baf3,{'params':{'resourceId':JSON[_0x503fd4(0x1c1)](_0x2b58c7[_0x503fd4(0x206)])}}))[_0x503fd4(0x185)];}[_0x457b8a(0x35a)](){var _0x44d0bc=_0x457b8a;throw new Error(_0x44d0bc(0x429));}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x457b8a(0x2b8)](){var _0x5a52be=_0x457b8a;throw new Error(_0x5a52be(0x429));}['saveChangeset'](){var _0x50af92=_0x457b8a;throw new Error(_0x50af92(0x429));}[_0x457b8a(0x33a)](){var _0x45b97a=_0x457b8a;throw new Error(_0x45b97a(0x429));}[_0x457b8a(0x42c)](){var _0x527302=_0x457b8a;throw new Error(_0x527302(0x429));}},exports[_0x457b8a(0x343)]=Sn([at(0x0,a[_0x457b8a(0x1a8)]),at(0x1,a['Inject'](q['HTTPService']))],exports[_0x457b8a(0x343)]);var fn=Object[_0x457b8a(0x37f)],In=(_0x58c7ca,_0x149532,_0x2dc788,_0x500e3e)=>{var _0x540e8c=_0x457b8a;for(var _0x3736c5=_0x500e3e>0x1?void 0x0:_0x500e3e?fn(_0x149532,_0x2dc788):_0x149532,_0x527a0a=_0x58c7ca[_0x540e8c(0x37c)]-0x1,_0x42d6ad;_0x527a0a>=0x0;_0x527a0a--)(_0x42d6ad=_0x58c7ca[_0x527a0a])&&(_0x3736c5=_0x42d6ad(_0x3736c5)||_0x3736c5);return _0x3736c5;},ue=(_0x29067e,_0x48a796)=>(_0x4ee5bd,_0x17a2bd)=>_0x48a796(_0x4ee5bd,_0x17a2bd,_0x29067e);exports[_0x457b8a(0x1b1)]=class extends a[_0x457b8a(0x329)]{constructor(_0x3dd1e5,_0x46f298,_0x88169a,_0x17ff44,_0x28e644){var _0x4e4245=_0x457b8a;super(_0x3dd1e5,_0x46f298,_0x88169a),this[_0x4e4245(0x34d)]=_0x17ff44,this[_0x4e4245(0x1da)]=_0x28e644;}[_0x457b8a(0x3c5)](_0x536a6f,_0x4a6125){var _0x47aa21=_0x457b8a;const _0x58e46c=this[_0x47aa21(0x12a)](_0x536a6f);if(_0x58e46c)try{const _0x155418=this[_0x47aa21(0x3d8)](_0x58e46c,_0x4a6125);this[_0x47aa21(0x3ab)](_0x536a6f,_0x155418);}catch(_0x27a152){this[_0x47aa21(0x1da)][_0x47aa21(0x431)](_0x47aa21(0x2fc),_0x27a152),this[_0x47aa21(0x2b5)](_0x536a6f);}const _0x4dfa4c=this[_0x47aa21(0x2a0)](_0x536a6f);if(_0x4dfa4c)try{const _0x4ffa3b=this['_transformStack'](_0x4dfa4c,_0x4a6125);this[_0x47aa21(0x16c)](_0x536a6f,_0x4ffa3b);}catch(_0x4ed4bd){this[_0x47aa21(0x1da)][_0x47aa21(0x431)](_0x4ed4bd),this['_clearRedo'](_0x536a6f);}}[_0x457b8a(0x2b5)](_0x5bc67b){var _0x524306=_0x457b8a;const _0x27281d=this[_0x524306(0x12a)](_0x5bc67b);_0x27281d&&(_0x27281d[_0x524306(0x37c)]=0x0,this[_0x524306(0x1e1)]());}[_0x457b8a(0x187)](_0x101c92){var _0x2ac828=_0x457b8a;const _0x249df8=this[_0x2ac828(0x2a0)](_0x101c92);_0x249df8&&(_0x249df8[_0x2ac828(0x37c)]=0x0,this[_0x2ac828(0x1e1)]());}[_0x457b8a(0x3ab)](_0x2a3212,_0xfe00ee){var _0x3db991=_0x457b8a;this[_0x3db991(0x3c7)][_0x3db991(0x15e)](_0x2a3212,_0xfe00ee),this[_0x3db991(0x1e1)]();}[_0x457b8a(0x16c)](_0x4204e1,_0x6d27eb){var _0x447a7c=_0x457b8a;this['_redoStacks'][_0x447a7c(0x15e)](_0x4204e1,_0x6d27eb),this[_0x447a7c(0x1e1)]();}[_0x457b8a(0x3d8)](_0x4f2d78,_0x4e4bca){var _0x120e6f=_0x457b8a;const _0x2c21ea=[];let _0x55a469=_0x4e4bca,_0x45431a=_0x4e4bca;for(let _0x449763=_0x4f2d78[_0x120e6f(0x37c)]-0x1;_0x449763>=0x0;_0x449763--){const {unitID:_0x25e387,undoMutations:_0x17202c,redoMutations:_0x282960}=_0x4f2d78[_0x449763],_0x32871b=this[_0x120e6f(0x34d)][_0x120e6f(0x43e)](_0x55a469,_0x17202c),_0xff3cb7=this[_0x120e6f(0x34d)][_0x120e6f(0x43e)](_0x45431a,_0x282960);if(p[_0x120e6f(0x467)](_0x32871b)||p[_0x120e6f(0x467)](_0xff3cb7)){this['_logService'][_0x120e6f(0x431)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x32871b,_0xff3cb7);break;}_0x55a469=_0x32871b[_0x120e6f(0x472)],_0x45431a=_0xff3cb7[_0x120e6f(0x472)],_0x2c21ea[_0x120e6f(0x433)]({'unitID':_0x25e387,'undoMutations':_0x32871b['m2Prime'],'redoMutations':_0xff3cb7['m2Prime']});}return _0x2c21ea[_0x120e6f(0x3d2)]();}},exports[_0x457b8a(0x1b1)]=In([ue(0x0,a[_0x457b8a(0x3d3)]),ue(0x1,a[_0x457b8a(0x1b6)]),ue(0x2,a[_0x457b8a(0x149)]),ue(0x3,p[_0x457b8a(0x2f7)]),ue(0x4,a[_0x457b8a(0x1be)])],exports[_0x457b8a(0x1b1)]);var pn=Object[_0x457b8a(0x40b)],mn=Object[_0x457b8a(0x37f)],gn=(_0x3346be,_0x308618,_0x37ffb4)=>_0x308618 in _0x3346be?pn(_0x3346be,_0x308618,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37ffb4}):_0x3346be[_0x308618]=_0x37ffb4,En=(_0x2b7ab6,_0x29146c,_0x5e0889,_0x39c559)=>{var _0x31af05=_0x457b8a;for(var _0xf59380=_0x39c559>0x1?void 0x0:_0x39c559?mn(_0x29146c,_0x5e0889):_0x29146c,_0xdc6eb5=_0x2b7ab6[_0x31af05(0x37c)]-0x1,_0x3cbce3;_0xdc6eb5>=0x0;_0xdc6eb5--)(_0x3cbce3=_0x2b7ab6[_0xdc6eb5])&&(_0xf59380=_0x3cbce3(_0xf59380)||_0xf59380);return _0xf59380;},Le=(_0x59bff7,_0x82c56d)=>(_0x223cd3,_0x315dfb)=>_0x82c56d(_0x223cd3,_0x315dfb,_0x59bff7),Cn=(_0x2c2bbf,_0x22bc0f,_0x299e24)=>gn(_0x2c2bbf,_0x22bc0f+'',_0x299e24);const Tn=_0x457b8a(0x181);exports[_0x457b8a(0x1a1)]=class extends a[_0x457b8a(0x2fe)]{constructor(_0x57ecbe,_0x33fe2c,_0x211069,_0x2d78ee){var _0x4658c3=_0x457b8a;super(),A(this,_0x4658c3(0x13b)),(this[_0x4658c3(0x1da)]=_0x33fe2c,this[_0x4658c3(0x441)]=_0x211069,this[_0x4658c3(0x338)]=_0x2d78ee);const {..._0x5b0689}=a[_0x4658c3(0x396)]({},Zt,_0x57ecbe);if(!_0x5b0689['socketService'])throw new Error(_0x4658c3(0x22a));this['_config']=_0x5b0689,this['_configService'][_0x4658c3(0x33b)](Y,_0x5b0689);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x457b8a(0x174)](){var _0x4f45c1=_0x457b8a,_0x4315d5,_0x21cc7e;this[_0x4f45c1(0x441)][_0x4f45c1(0x259)](a['IUndoRedoService'])&&this[_0x4f45c1(0x1da)]['error'](_0x4f45c1(0x3f3),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4d8c6d=a[_0x4f45c1(0x444)]([[a[_0x4f45c1(0x178)],{'useClass':exports[_0x4f45c1(0x1b1)]}],[exports[_0x4f45c1(0x3a3)]],[exports[_0x4f45c1(0x26d)]],[exports[_0x4f45c1(0x464)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x4f45c1(0x1ce)]],[Fe,{'useClass':this[_0x4f45c1(0x13b)][_0x4f45c1(0x354)]}],[p[_0x4f45c1(0x3fa)],{'useClass':exports[_0x4f45c1(0x343)]}],[a[_0x4f45c1(0x222)],{'useClass':exports[_0x4f45c1(0x1f5)]}],[z[_0x4f45c1(0x307)],{'useClass':exports[_0x4f45c1(0x23d)]}],[a[_0x4f45c1(0x1c8)],{'useClass':exports[_0x4f45c1(0x463)]}],[exports[_0x4f45c1(0x288)]],[xe]],(_0x4315d5=this[_0x4f45c1(0x13b)])==null?void 0x0:_0x4315d5[_0x4f45c1(0x2f6)]);if(!((_0x21cc7e=this[_0x4f45c1(0x13b)])!=null&&_0x21cc7e[_0x4f45c1(0x20f)])){const _0x3385d8=_0x4d8c6d['findIndex'](([_0x1b4c80])=>_0x1b4c80===de);_0x3385d8!==-0x1&&_0x4d8c6d[_0x4f45c1(0x380)](_0x3385d8,0x1);}a['registerDependencies'](this[_0x4f45c1(0x441)],_0x4d8c6d);}[_0x457b8a(0x2f1)](){var _0x1c1abc=_0x457b8a,_0x18ed2f,_0x4a2740,_0x14f161;this[_0x1c1abc(0x441)][_0x1c1abc(0x342)](q[_0x1c1abc(0x400)])[_0x1c1abc(0x162)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x18ed2f=this[_0x1c1abc(0x13b)])!=null&&_0x18ed2f[_0x1c1abc(0x36f)]||(_0x4a2740=this[_0x1c1abc(0x441)][_0x1c1abc(0x342)](K,a[_0x1c1abc(0x483)][_0x1c1abc(0x39b)]))==null||_0x4a2740['disableLocalCache'](),(_0x14f161=this[_0x1c1abc(0x13b)])!=null&&_0x14f161[_0x1c1abc(0x202)]&&a[_0x1c1abc(0x1eb)](this[_0x1c1abc(0x441)],[[ye]]),a[_0x1c1abc(0x1eb)](this[_0x1c1abc(0x441)],[[Ne],[exports[_0x1c1abc(0x288)]],[De]]);}},Cn(exports[_0x457b8a(0x1a1)],_0x457b8a(0x221),Tn),exports[_0x457b8a(0x1a1)]=En([a[_0x457b8a(0x333)](p[_0x457b8a(0x2bb)],q['UniverNetworkPlugin']),Le(0x1,a['ILogService']),Le(0x2,a[_0x457b8a(0x40f)](a[_0x457b8a(0x18b)])),Le(0x3,a[_0x457b8a(0x1a8)])],exports[_0x457b8a(0x1a1)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x457b8a(0x348)]=je,exports[_0x457b8a(0x353)]=Z,exports[_0x457b8a(0x3a9)]=ee,exports['CommentService']=$e,exports[_0x457b8a(0x213)]=ht,exports[_0x457b8a(0x450)]=jt,exports[_0x457b8a(0x296)]=At,exports['HEARTBEAT_INTERVAL_KEY']=_t,exports[_0x457b8a(0x383)]=ke,exports[_0x457b8a(0x3a6)]=Fe,exports[_0x457b8a(0x190)]=K,exports['INetworkConditionService']=pt,exports[_0x457b8a(0x1d5)]=de,exports[_0x457b8a(0x438)]=xt,exports['LOCAL_CACHE_INTERVAL_KEY']=Lt,exports[_0x457b8a(0x159)]=Ht,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports[_0x457b8a(0x48b)]=re,exports['UnitStatus']=He,exports[_0x457b8a(0x3ec)]=mt,exports['getLocalCacheKey']=Kt,exports[_0x457b8a(0x25c)]=gt;