@univerjs-pro/collaboration-client 0.8.2-nightly.202506261607 → 0.8.3-nightly.202506271607

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 (42) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ko-KR.js +1 -1
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -1
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib/locale/en-US.js +1 -1
  24. package/lib/locale/fa-IR.js +1 -1
  25. package/lib/locale/fr-FR.js +1 -1
  26. package/lib/locale/ko-KR.js +1 -1
  27. package/lib/locale/ru-RU.js +1 -1
  28. package/lib/locale/vi-VN.js +1 -1
  29. package/lib/locale/zh-CN.js +1 -1
  30. package/lib/locale/zh-TW.js +1 -1
  31. package/lib/types/index.d.ts +1 -1
  32. package/lib/umd/facade.js +1 -1
  33. package/lib/umd/index.js +1 -1
  34. package/lib/umd/locale/en-US.js +1 -1
  35. package/lib/umd/locale/fa-IR.js +1 -1
  36. package/lib/umd/locale/fr-FR.js +1 -1
  37. package/lib/umd/locale/ko-KR.js +1 -1
  38. package/lib/umd/locale/ru-RU.js +1 -1
  39. package/lib/umd/locale/vi-VN.js +1 -1
  40. package/lib/umd/locale/zh-CN.js +1 -1
  41. package/lib/umd/locale/zh-TW.js +1 -1
  42. package/package.json +10 -10
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x4c5ff4=_0x1dd8;(function(_0x111a7f,_0x581c32){var _0x324ccd=_0x1dd8,_0x2a6ec4=_0x111a7f();while(!![]){try{var _0x473907=-parseInt(_0x324ccd(0x25e))/0x1+-parseInt(_0x324ccd(0x475))/0x2+-parseInt(_0x324ccd(0x29d))/0x3*(-parseInt(_0x324ccd(0x463))/0x4)+-parseInt(_0x324ccd(0x382))/0x5*(parseInt(_0x324ccd(0x4b9))/0x6)+parseInt(_0x324ccd(0x341))/0x7+parseInt(_0x324ccd(0x477))/0x8*(-parseInt(_0x324ccd(0x520))/0x9)+parseInt(_0x324ccd(0x54a))/0xa*(parseInt(_0x324ccd(0x242))/0xb);if(_0x473907===_0x581c32)break;else _0x2a6ec4['push'](_0x2a6ec4['shift']());}catch(_0xbdf34f){_0x2a6ec4['push'](_0x2a6ec4['shift']());}}}(_0x3985,0x42ed1));var Ut=Object['defineProperty'],At=(_0x3009b3,_0x299318,_0x5715e7)=>_0x299318 in _0x3009b3?Ut(_0x3009b3,_0x299318,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5715e7}):_0x3009b3[_0x299318]=_0x5715e7,A=(_0x4dea3a,_0x46a3d9,_0x184ea4)=>At(_0x4dea3a,typeof _0x46a3d9!=_0x4c5ff4(0x353)?_0x46a3d9+'':_0x46a3d9,_0x184ea4);Object[_0x4c5ff4(0x292)](exports,Symbol[_0x4c5ff4(0x455)],{'value':_0x4c5ff4(0x23a)});const a=require(_0x4c5ff4(0x48d)),$=require(_0x4c5ff4(0x49e)),V=require('rxjs/operators'),p=require(_0x4c5ff4(0x565)),K=require('@univerjs/network'),Pt=require(_0x4c5ff4(0x280)),ht=require('@univerjs/docs'),X=require(_0x4c5ff4(0x439)),z=require('@univerjs/drawing'),Lt=require(_0x4c5ff4(0x263)),_t=_0x4c5ff4(0x324),wt=_0x4c5ff4(0x36b),lt='SNAPSHOT_URL_KEY',Mt=_0x4c5ff4(0x32a),xt=0x7d0,ut=_0x4c5ff4(0x569),dt=_0x4c5ff4(0x48e),kt=_0x4c5ff4(0x3d5),vt=_0x4c5ff4(0x4c0),Ht=0x7530,ke='HEARTBEAT_TIMEOUT',St=0x4e20,$t=0x4e20,ft=_0x4c5ff4(0x321),jt=0x3,Bt=_0x4c5ff4(0x27b),Ft=0x3e8,It=_0x4c5ff4(0x509),Vt=_0x4c5ff4(0x365),pt='LOGIN_URL_KEY',Wt='/universer-api/oidc/authpage',Yt=_0x4c5ff4(0x523),Gt=_0x4c5ff4(0x53c);var gt=(_0x433784=>(_0x433784[_0x433784[_0x4c5ff4(0x22e)]=0x0]=_0x4c5ff4(0x22e),_0x433784[_0x433784['OK']=0x1]='OK',_0x433784[_0x433784[_0x4c5ff4(0x2c7)]=0x2]='INTERNAL_ERROR',_0x433784[_0x433784['PERMISSION_DENIED']=0x3]=_0x4c5ff4(0x49b),_0x433784[_0x433784['NOT_FOUND']=0x4]='NOT_FOUND',_0x433784[_0x433784[_0x4c5ff4(0x4ef)]=0x5]=_0x4c5ff4(0x4ef),_0x433784[_0x433784[_0x4c5ff4(0x297)]=0x6]=_0x4c5ff4(0x297),_0x433784[_0x433784[_0x4c5ff4(0x4cc)]=0x7]='INVALID_ARGUMENT',_0x433784[_0x433784[_0x4c5ff4(0x3ce)]=0x8]='TOO_MANY_REQUESTS',_0x433784[_0x433784[_0x4c5ff4(0x24d)]=0x9]=_0x4c5ff4(0x24d),_0x433784[_0x433784[_0x4c5ff4(0x502)]=0xa]=_0x4c5ff4(0x502),_0x433784[_0x433784[_0x4c5ff4(0x432)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x433784[_0x433784[_0x4c5ff4(0x3b2)]=0xc]=_0x4c5ff4(0x3b2),_0x433784[_0x433784[_0x4c5ff4(0x3b3)]=0xd]=_0x4c5ff4(0x3b3),_0x433784[_0x433784['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x433784[_0x433784['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4c5ff4(0x442),_0x433784[_0x433784[_0x4c5ff4(0x2d1)]=0x1771]=_0x4c5ff4(0x2d1),_0x433784[_0x433784[_0x4c5ff4(0x425)]=0x1772]=_0x4c5ff4(0x425),_0x433784[_0x433784[_0x4c5ff4(0x30f)]=0x1773]=_0x4c5ff4(0x30f),_0x433784[_0x433784[_0x4c5ff4(0x472)]=0x1b59]=_0x4c5ff4(0x472),_0x433784[_0x433784[_0x4c5ff4(0x4f0)]=0x1b5a]=_0x4c5ff4(0x4f0),_0x433784[_0x433784['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4c5ff4(0x28c),_0x433784[_0x433784[_0x4c5ff4(0x4bf)]=0x1b5c]=_0x4c5ff4(0x4bf),_0x433784[_0x433784[_0x4c5ff4(0x4d8)]=0x1b5d]='APPLY_DUPLICATED',_0x433784[_0x433784[_0x4c5ff4(0x3fa)]=0x1f41]=_0x4c5ff4(0x3fa),_0x433784[_0x433784[_0x4c5ff4(0x4e0)]=0x2329]=_0x4c5ff4(0x4e0),_0x433784[_0x433784[_0x4c5ff4(0x568)]=0x232a]=_0x4c5ff4(0x568),_0x433784[_0x433784[_0x4c5ff4(0x375)]=0x232b]=_0x4c5ff4(0x375),_0x433784[_0x433784['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4c5ff4(0x1e9),_0x433784[_0x433784[_0x4c5ff4(0x20c)]=0x232d]=_0x4c5ff4(0x20c),_0x433784[_0x433784['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4c5ff4(0x1f7),_0x433784[_0x433784[_0x4c5ff4(0x493)]=0x2712]=_0x4c5ff4(0x493),_0x433784[_0x433784[_0x4c5ff4(0x295)]=0x2713]=_0x4c5ff4(0x295),_0x433784[_0x433784['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c5ff4(0x4d0),_0x433784[_0x433784[_0x4c5ff4(0x250)]=0x271a]=_0x4c5ff4(0x250),_0x433784[_0x433784[_0x4c5ff4(0x279)]=0x271b]=_0x4c5ff4(0x279),_0x433784[_0x433784[_0x4c5ff4(0x422)]=0x271c]=_0x4c5ff4(0x422),_0x433784[_0x433784[_0x4c5ff4(0x37a)]=0x271d]=_0x4c5ff4(0x37a),_0x433784[_0x433784[_0x4c5ff4(0x241)]=0x271e]=_0x4c5ff4(0x241),_0x433784[_0x433784[_0x4c5ff4(0x3c9)]=0x271f]=_0x4c5ff4(0x3c9),_0x433784[_0x433784['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4c5ff4(0x350),_0x433784[_0x433784[_0x4c5ff4(0x3eb)]=0x2af9]=_0x4c5ff4(0x3eb),_0x433784[_0x433784['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c5ff4(0x3ad),_0x433784[_0x433784[_0x4c5ff4(0x247)]=0x2ee2]=_0x4c5ff4(0x247),_0x433784[_0x433784[_0x4c5ff4(0x2ed)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x433784[_0x433784['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x433784[_0x433784[_0x4c5ff4(0x379)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x433784[_0x433784[_0x4c5ff4(0x363)]=0x32c9]=_0x4c5ff4(0x363),_0x433784[_0x433784[_0x4c5ff4(0x441)]=0x32ca]=_0x4c5ff4(0x441),_0x433784[_0x433784[_0x4c5ff4(0x500)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x433784[_0x433784[_0x4c5ff4(0x39b)]=-0x1]='UNRECOGNIZED',_0x433784))(gt||{}),J=(_0x54e730=>(_0x54e730[_0x54e730[_0x4c5ff4(0x41d)]=0x0]=_0x4c5ff4(0x41d),_0x54e730[_0x54e730['UNIVER_DOC']=0x1]=_0x4c5ff4(0x3db),_0x54e730[_0x54e730[_0x4c5ff4(0x218)]=0x2]='UNIVER_SHEET',_0x54e730[_0x54e730[_0x4c5ff4(0x254)]=0x3]='UNIVER_SLIDE',_0x54e730[_0x54e730[_0x4c5ff4(0x370)]=0x4]=_0x4c5ff4(0x370),_0x54e730[_0x54e730['UNRECOGNIZED']=-0x1]=_0x4c5ff4(0x39b),_0x54e730))(J||{}),W=(_0x12a0e1=>(_0x12a0e1[_0x12a0e1['UNKNOWN_CMD']=0x0]=_0x4c5ff4(0x46b),_0x12a0e1[_0x12a0e1['HELLO']=0x1]=_0x4c5ff4(0x326),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x33b)]=0x2]=_0x4c5ff4(0x33b),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x2d4)]=0x3]=_0x4c5ff4(0x2d4),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x47a)]=0x4]=_0x4c5ff4(0x47a),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x29b)]=0x5]=_0x4c5ff4(0x29b),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x20d)]=0x6]=_0x4c5ff4(0x20d),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x39b)]=-0x1]=_0x4c5ff4(0x39b),_0x12a0e1))(W||{}),oe=(_0xf9e2ea=>(_0xf9e2ea[_0xf9e2ea[_0x4c5ff4(0x2ea)]=0x0]=_0x4c5ff4(0x2ea),_0xf9e2ea[_0xf9e2ea['OK']=0x1]='OK',_0xf9e2ea[_0xf9e2ea['FAIL']=0x2]=_0x4c5ff4(0x4bc),_0xf9e2ea[_0xf9e2ea['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0xf9e2ea[_0xf9e2ea[_0x4c5ff4(0x272)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0xf9e2ea[_0xf9e2ea['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x4c5ff4(0x268),_0xf9e2ea[_0xf9e2ea[_0x4c5ff4(0x567)]=0x3ec]=_0x4c5ff4(0x567),_0xf9e2ea[_0xf9e2ea[_0x4c5ff4(0x39b)]=-0x1]='UNRECOGNIZED',_0xf9e2ea))(oe||{}),Et=(_0x547aa2=>(_0x547aa2[_0x547aa2['Undefined']=0x0]=_0x4c5ff4(0x310),_0x547aa2[_0x547aa2[_0x4c5ff4(0x317)]=0x1]=_0x4c5ff4(0x317),_0x547aa2[_0x547aa2[_0x4c5ff4(0x2cf)]=0x2]='HttpExport',_0x547aa2[_0x547aa2[_0x4c5ff4(0x248)]=0x3]=_0x4c5ff4(0x248),_0x547aa2[_0x547aa2[_0x4c5ff4(0x492)]=0x4]=_0x4c5ff4(0x492),_0x547aa2[_0x547aa2[_0x4c5ff4(0x330)]=0x5]=_0x4c5ff4(0x330),_0x547aa2[_0x547aa2[_0x4c5ff4(0x39b)]=-0x1]='UNRECOGNIZED',_0x547aa2))(Et||{});const G='collaboration-client.config',Kt={};var Z=(_0x387f07=>(_0x387f07[_0x4c5ff4(0x4a1)]=_0x4c5ff4(0x4a1),_0x387f07['PERMISSION_DENIED']='PERMISSION_DENIED',_0x387f07[_0x4c5ff4(0x26b)]=_0x4c5ff4(0x26b),_0x387f07['CLOSE_ROOM']=_0x4c5ff4(0x35b),_0x387f07[_0x4c5ff4(0x44c)]=_0x4c5ff4(0x44c),_0x387f07['SOCKET_FAILED_RETRY']=_0x4c5ff4(0x2ff),_0x387f07['SOCKET_FAILED']=_0x4c5ff4(0x39e),_0x387f07[_0x4c5ff4(0x343)]=_0x4c5ff4(0x343),_0x387f07))(Z||{});class ee{constructor(){var _0x1b6e7b=_0x4c5ff4;A(this,_0x1b6e7b(0x2bf),new $[(_0x1b6e7b(0x256))]()),A(this,_0x1b6e7b(0x1e6),this[_0x1b6e7b(0x2bf)]['asObservable']());}[_0x4c5ff4(0x2ab)](_0x5aa702){var _0x3d10ba=_0x4c5ff4;this['_event$'][_0x3d10ba(0x473)](_0x5aa702);}}const mt=a[_0x4c5ff4(0x1f0)](_0x4c5ff4(0x408));function Ct(_0x4d0ecb){var _0x284737=_0x4c5ff4,_0x29c3ab,_0x4238a4,_0x5a92d1,_0x5747ec,_0x45ee58;const _0x193bb7=_0x4d0ecb[_0x284737(0x1e8)],_0x16731f=JSON[_0x284737(0x257)](_0x193bb7);switch(_0x16731f['cmd']){case W[_0x284737(0x29b)]:case W[_0x284737(0x326)]:{const _0x16adb4=_0x16731f[_0x284737(0x249)];return{..._0x16731f,'data':_0x16adb4,'cmd':_0x16731f[_0x284737(0x535)]};}case W[_0x284737(0x33b)]:{const _0x503b18=_0x16731f[_0x284737(0x4c1)];return{..._0x16731f,'data':_0x503b18,'cmd':_0x16731f[_0x284737(0x535)]};}case W[_0x284737(0x20d)]:{const _0x48b2b1=_0x16731f[_0x284737(0x307)];switch(_0x48b2b1[_0x284737(0x299)]){case p[_0x284737(0x3f0)][_0x284737(0x33a)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':(_0x29c3ab=_0x48b2b1[_0x284737(0x30c)])==null?void 0x0:_0x29c3ab['cs']},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)][_0x284737(0x33f)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':(_0x4238a4=_0x48b2b1[_0x284737(0x558)])==null?void 0x0:_0x4238a4['cs']},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)][_0x284737(0x2df)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':(_0x5a92d1=_0x48b2b1[_0x284737(0x530)])==null?void 0x0:_0x5a92d1['cs']},'cmd':_0x16731f['cmd']};case p[_0x284737(0x3f0)][_0x284737(0x22d)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':(_0x5747ec=_0x48b2b1[_0x284737(0x38c)])==null?void 0x0:_0x5747ec['cs']},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)][_0x284737(0x4d3)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':(_0x45ee58=_0x48b2b1['csShouldRetryEvent'])==null?void 0x0:_0x45ee58['cs']},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)]['UPDATE_CURSOR']:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x3d0)]},'cmd':_0x16731f[_0x284737(0x535)]};case p['CollaborationEvent'][_0x284737(0x21a)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1['joinEvent']},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)]['USERS_LEAVE']:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1['leaveEvent']},'cmd':_0x16731f['cmd']};case p['CollaborationEvent'][_0x284737(0x41b)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x2da)]},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)][_0x284737(0x339)]:case p['CollaborationEvent'][_0x284737(0x329)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1['liveShareOperation']},'cmd':_0x16731f['cmd']};case p[_0x284737(0x3f0)][_0x284737(0x367)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x2da)]},'cmd':_0x16731f['cmd']};case p[_0x284737(0x3f0)]['MSG_FOR_ERROR']:return{..._0x16731f,'data':_0x48b2b1,'cmd':_0x16731f[_0x284737(0x535)]};case p['CollaborationEvent'][_0x284737(0x354)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x334)]},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)][_0x284737(0x3d4)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x559)]},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)]['SHOULD_CLOSE_CONN']:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x53a)]},'cmd':_0x16731f[_0x284737(0x535)]};case p['CollaborationEvent'][_0x284737(0x2f3)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x3bc)]},'cmd':_0x16731f[_0x284737(0x535)]};default:return _0x16731f;}}default:return _0x16731f;}}function Tt(_0x4c5da9){var _0x3a4b19=_0x4c5ff4;switch(_0x4c5da9[_0x3a4b19(0x535)]){case W[_0x3a4b19(0x29b)]:case W[_0x3a4b19(0x326)]:return JSON['stringify']({'cmd':_0x4c5da9[_0x3a4b19(0x535)],'routeKey':_0x4c5da9[_0x3a4b19(0x270)]});case W[_0x3a4b19(0x47a)]:{let _0x3536a6;switch(_0x4c5da9[_0x3a4b19(0x1e8)][_0x3a4b19(0x299)]){case p[_0x3a4b19(0x3f0)]['UPDATE_CURSOR']:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)]['UPDATE_CURSOR'],'updateCursorEvent':_0x4c5da9[_0x3a4b19(0x1e8)][_0x3a4b19(0x1e8)]};break;}case p[_0x3a4b19(0x3f0)][_0x3a4b19(0x4f7)]:{_0x3536a6={'eventID':p['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x4c5da9[_0x3a4b19(0x1e8)]['data']};break;}case p[_0x3a4b19(0x3f0)][_0x3a4b19(0x21a)]:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)]['USERS_ENTER'],'joinEvent':_0x4c5da9['data'][_0x3a4b19(0x1e8)]};break;}case p['CollaborationEvent'][_0x3a4b19(0x41b)]:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)][_0x3a4b19(0x41b)],'liveShareNewHost':_0x4c5da9[_0x3a4b19(0x1e8)][_0x3a4b19(0x1e8)]};break;}case p[_0x3a4b19(0x3f0)]['LIVESHARE_OPERATION']:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x4c5da9[_0x3a4b19(0x1e8)][_0x3a4b19(0x1e8)]};break;}case p['CollaborationEvent'][_0x3a4b19(0x367)]:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)][_0x3a4b19(0x367)],'liveShareTerminate':_0x4c5da9['data']['data']};break;}case p[_0x3a4b19(0x3f0)][_0x3a4b19(0x519)]:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)][_0x3a4b19(0x519)],'liveShareRequestHost':_0x4c5da9[_0x3a4b19(0x1e8)][_0x3a4b19(0x1e8)]};break;}case p['CollaborationEvent'][_0x3a4b19(0x339)]:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)][_0x3a4b19(0x339)]};break;}default:_0x3536a6={'eventID':_0x4c5da9[_0x3a4b19(0x1e8)]['eventID']};}return JSON['stringify']({'cmd':_0x4c5da9[_0x3a4b19(0x535)],'routeKey':_0x4c5da9[_0x3a4b19(0x270)],'collaMsg':_0x3536a6});}case W[_0x3a4b19(0x33b)]:return JSON[_0x3a4b19(0x40a)]({'cmd':_0x4c5da9[_0x3a4b19(0x535)],'routeKey':_0x4c5da9[_0x3a4b19(0x270)],'joinReq':_0x4c5da9['data']});case W['LEAVE']:return JSON[_0x3a4b19(0x40a)]({'cmd':_0x4c5da9['cmd'],'routeKey':_0x4c5da9[_0x3a4b19(0x270)],'leaveReq':_0x4c5da9[_0x3a4b19(0x1e8)]});default:throw new Error(_0x3a4b19(0x50a));}}var qt=Object[_0x4c5ff4(0x405)],zt=(_0x32ce7c,_0x58d13d,_0x21e432,_0x20d629)=>{var _0x1e44e7=_0x4c5ff4;for(var _0x168a45=_0x20d629>0x1?void 0x0:_0x20d629?qt(_0x58d13d,_0x21e432):_0x58d13d,_0xb3c8e8=_0x32ce7c[_0x1e44e7(0x54c)]-0x1,_0x15806a;_0xb3c8e8>=0x0;_0xb3c8e8--)(_0x15806a=_0x32ce7c[_0xb3c8e8])&&(_0x168a45=_0x15806a(_0x168a45)||_0x168a45);return _0x168a45;},_e=(_0xfceef7,_0x575bea)=>(_0x5284d7,_0x202224)=>_0x575bea(_0x5284d7,_0x202224,_0xfceef7);const He=a['createIdentifier'](_0x4c5ff4(0x4fa));function Jt(_0x4343b7,_0x2154a1,_0x4b07f9){var _0x4d48d=_0x4c5ff4;return _0x4343b7+'/'+_0x2154a1+_0x4d48d(0x4e9)+_0x4b07f9+_0x4d48d(0x445);}exports[_0x4c5ff4(0x3a3)]=class extends a[_0x4c5ff4(0x1f2)]{constructor(_0x59dd00,_0x401af5,_0x32d0e9,_0xf6cbe,_0x56c661){var _0x48fbdd=_0x4c5ff4;super(),this['_injector']=_0x59dd00,this[_0x48fbdd(0x4ed)]=_0x401af5,this[_0x48fbdd(0x2bb)]=_0x32d0e9,this[_0x48fbdd(0x2d2)]=_0xf6cbe,this[_0x48fbdd(0x323)]=_0x56c661;}[_0x4c5ff4(0x36d)](_0x984dba){var _0x313d0f=_0x4c5ff4;const _0x4c7259=this['_injector']['get'](K[_0x313d0f(0x4ec)]);if(!_0x4c7259)throw new Error(_0x313d0f(0x50c));const _0x2eb528=_0x4c7259[_0x313d0f(0x34b)](_0x984dba);if(!_0x2eb528)throw new Error(_0x313d0f(0x255));const _0x6c1c15=new a[(_0x313d0f(0x3e2))](),_0x2efc0=new $[(_0x313d0f(0x256))]();_0x6c1c15[_0x313d0f(0x1eb)](_0x2eb528['close$'][_0x313d0f(0x240)](_0x358387=>_0x2efc0[_0x313d0f(0x473)](_0x358387))),_0x6c1c15[_0x313d0f(0x1eb)](a[_0x313d0f(0x426)](()=>_0x2efc0[_0x313d0f(0x211)]()));const _0x356624=new $['Subject']();_0x6c1c15[_0x313d0f(0x1eb)](_0x2eb528[_0x313d0f(0x380)][_0x313d0f(0x240)](_0x4f9e70=>_0x356624[_0x313d0f(0x473)](_0x4f9e70))),_0x6c1c15['add'](a[_0x313d0f(0x426)](()=>_0x356624[_0x313d0f(0x211)]()));const _0x58ac7e=new $[(_0x313d0f(0x256))]();_0x6c1c15[_0x313d0f(0x1eb)](_0x2eb528[_0x313d0f(0x3b9)][_0x313d0f(0x240)](_0x5bc76c=>{var _0x5177d9=_0x313d0f;const _0x251c9b=Ct(_0x5bc76c);_0x58ac7e[_0x5177d9(0x473)](_0x251c9b);})),_0x6c1c15[_0x313d0f(0x1eb)](a[_0x313d0f(0x426)](()=>_0x58ac7e[_0x313d0f(0x211)]()));let _0x313c0c;const _0x3a0774=()=>{var _0x23a506=_0x313d0f;_0x356624['next'](new Event(_0x23a506(0x410))),_0x2efc0['next'](new Event('connection\x20error')),_0x313c0c[_0x23a506(0x25c)]();};return _0x313c0c={'memberID':'','close$':_0x2efc0[_0x313d0f(0x2c1)](),'error$':_0x356624[_0x313d0f(0x2c1)](),'open$':_0x2eb528['open$'],'message$':_0x58ac7e['asObservable'](),'send':_0x5b41c9=>{var _0xc2ce2b=_0x313d0f;if(_0x5b41c9[_0xc2ce2b(0x535)]===W[_0xc2ce2b(0x47a)]){if(_0x5b41c9[_0xc2ce2b(0x1e8)]['eventID']===p['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0xc2ce2b(0x4fc)](_0x313c0c,_0x5b41c9[_0xc2ce2b(0x1e8)])[_0xc2ce2b(0x1f8)](_0x4a6353=>{this['_logService']['error'](_0x4a6353),_0x3a0774();});return;}if(_0x5b41c9[_0xc2ce2b(0x1e8)][_0xc2ce2b(0x299)]===p[_0xc2ce2b(0x3f0)][_0xc2ce2b(0x2e7)]){const _0x2955c3=_0x5b41c9[_0xc2ce2b(0x1e8)];this[_0xc2ce2b(0x2b9)](_0x2955c3)['then'](_0xda39a0=>{var _0x46f3ba=_0xc2ce2b;_0x58ac7e[_0x46f3ba(0x473)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x2955c3['data']['unitID'],'routeType':'','data':{'eventID':p[_0x46f3ba(0x3f0)][_0x46f3ba(0x29f)],'data':{'changesets':_0xda39a0}}});})[_0xc2ce2b(0x1f8)](_0x5340f0=>{var _0x57be85=_0xc2ce2b;this[_0x57be85(0x2d2)][_0x57be85(0x2c9)](_0x5340f0),_0x3a0774();});return;}}_0x2eb528['send'](Tt(_0x5b41c9));},'close':()=>{var _0x3874bf=_0x313d0f;_0x2eb528['close'](),_0x6c1c15[_0x3874bf(0x51c)]();}},_0x313c0c;}async[_0x4c5ff4(0x4fc)](_0x102e37,_0x5a1a7c){var _0x255015=_0x4c5ff4,_0x44dc6e,_0x5de15e;const {unitType:_0x4b1a47,unitID:_0x3718f6,changeset:_0x14f512}=_0x5a1a7c[_0x255015(0x1e8)],_0x4ef927={'unitID':_0x3718f6,'memberID':_0x102e37[_0x255015(0x21c)],'type':_0x4b1a47,'changeset':p[_0x255015(0x548)](_0x14f512)},_0x1d85c4=this[_0x255015(0x2bb)][_0x255015(0x296)](It),_0x2fe4d3=this[_0x255015(0x2bb)][_0x255015(0x296)](G),_0x6a16b9=Jt((_0x5de15e=(_0x44dc6e=_0x2fe4d3==null?void 0x0:_0x2fe4d3['collabSubmitChangesetUrl'])!=null?_0x44dc6e:_0x1d85c4)!=null?_0x5de15e:Vt,_0x4b1a47,_0x3718f6);try{await this[_0x255015(0x4ed)]['post'](_0x6a16b9,{'body':_0x4ef927});}catch(_0x3f0759){throw this['_logService']['error'](_0x255015(0x46e),_0x255015(0x25d)),_0x3f0759;}}async['_fetchMissChangesets'](_0xb9016d){var _0x10beea=_0x4c5ff4;const {unitID:_0x42bbf7,from:_0x17c3d2,to:_0x5ca6fb,unitType:_0x9ece57}=_0xb9016d[_0x10beea(0x1e8)];return(await this[_0x10beea(0x323)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x42bbf7,'type':_0x9ece57,'from':_0x17c3d2,'to':_0x5ca6fb}))[_0x10beea(0x3ff)];}},exports[_0x4c5ff4(0x3a3)]=zt([_e(0x0,a[_0x4c5ff4(0x2d6)](a['Injector'])),_e(0x1,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)])),_e(0x2,a[_0x4c5ff4(0x344)]),_e(0x3,a[_0x4c5ff4(0x4d5)]),_e(0x4,p['ISnapshotServerService'])],exports[_0x4c5ff4(0x3a3)]);const Xt=_0x4c5ff4(0x52b);function Zt(_0xd93f3d){var _0x517e9b=_0x4c5ff4;return JSON[_0x517e9b(0x40a)](_0xd93f3d)[_0x517e9b(0x54c)];}class $e{constructor(){var _0x1db9dc=_0x4c5ff4;A(this,_0x1db9dc(0x54e),new $['Subject']()),A(this,_0x1db9dc(0x22b),this[_0x1db9dc(0x54e)][_0x1db9dc(0x2c1)]());}[_0x4c5ff4(0x20e)](_0x7bd991){var _0xab46f6=_0x4c5ff4;this[_0xab46f6(0x54e)][_0xab46f6(0x473)](_0x7bd991);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x2db488,_0x1a3dbc,_0x5c0b8f,_0x209e30)=>{var _0x4d7344=_0x4c5ff4;for(var _0xbbc785=_0x209e30>0x1?void 0x0:_0x209e30?Qt(_0x1a3dbc,_0x5c0b8f):_0x1a3dbc,_0x448e17=_0x2db488[_0x4d7344(0x54c)]-0x1,_0x1fc2bf;_0x448e17>=0x0;_0x448e17--)(_0x1fc2bf=_0x2db488[_0x448e17])&&(_0xbbc785=_0x1fc2bf(_0xbbc785)||_0xbbc785);return _0xbbc785;},We=(_0x1fef93,_0x18984c)=>(_0x3e2a4c,_0x266439)=>_0x18984c(_0x3e2a4c,_0x266439,_0x1fef93);exports[_0x4c5ff4(0x306)]=class extends a['Disposable']{constructor(_0x42e316,_0xd2bd46){var _0x3a5d38=_0x4c5ff4;super(),A(this,_0x3a5d38(0x3f4),new Map()),A(this,'_roomCreated$',new $[(_0x3a5d38(0x256))]()),(this[_0x3a5d38(0x2c3)]=_0x42e316,this['_userManagerService']=_0xd2bd46,this[_0x3a5d38(0x294)]($[_0x3a5d38(0x287)](this[_0x3a5d38(0x2c3)][_0x3a5d38(0x244)](a[_0x3a5d38(0x4b8)]['UNIVER_SHEET'])[_0x3a5d38(0x51e)](V['map'](_0x5ee41=>_0x5ee41['getUnitId']())),this[_0x3a5d38(0x2c3)][_0x3a5d38(0x244)](a[_0x3a5d38(0x4b8)][_0x3a5d38(0x3db)])[_0x3a5d38(0x51e)](V['map'](_0x456b2a=>_0x456b2a['getUnitId']())),this[_0x3a5d38(0x2c3)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x3a5d38(0x254)])[_0x3a5d38(0x51e)](V[_0x3a5d38(0x474)](_0x400e30=>_0x400e30['getUnitId']())))[_0x3a5d38(0x240)](_0x1a1bbf=>this['_removeRoom'](_0x1a1bbf))));}[_0x4c5ff4(0x434)](_0x38b110){var _0x2fa683=_0x4c5ff4;return this[_0x2fa683(0x3f4)][_0x2fa683(0x232)](_0x38b110)?$['of'](this[_0x2fa683(0x3f4)][_0x2fa683(0x38f)](_0x38b110)):this[_0x2fa683(0x2e4)]['pipe'](V['map'](_0x3104d9=>{var _0x537ca2=_0x2fa683;if(_0x3104d9===_0x38b110)return this[_0x537ca2(0x3f4)]['get'](_0x3104d9);}));}[_0x4c5ff4(0x4ae)](_0x4f1a0d){var _0x44dacd=_0x4c5ff4;this[_0x44dacd(0x273)]['setCurrentUser'](_0x4f1a0d);}['getCurrentUser'](){var _0x1ec3a4=_0x4c5ff4;return this[_0x1ec3a4(0x273)][_0x1ec3a4(0x3e5)]();}[_0x4c5ff4(0x3ba)](_0x2418b6,_0x3e2ea5){var _0x10eecd=_0x4c5ff4;let _0x19156e=this['_roomMembers'][_0x10eecd(0x38f)](_0x2418b6);_0x19156e||(_0x19156e=new ti(),this['_roomMembers']['set'](_0x2418b6,_0x19156e),this[_0x10eecd(0x2e4)][_0x10eecd(0x473)](_0x2418b6)),_0x19156e[_0x10eecd(0x3ba)](_0x3e2ea5);}[_0x4c5ff4(0x364)](_0x400c26,_0x4b1a4d){var _0x2c9dd7=_0x4c5ff4;const _0xfb3eb3=this['_roomMembers'][_0x2c9dd7(0x38f)](_0x400c26);_0xfb3eb3&&_0xfb3eb3['removeMember'](_0x4b1a4d);}['getRoom'](_0x36a659){var _0x2b0675=_0x4c5ff4;return this[_0x2b0675(0x3f4)]['get'](_0x36a659);}[_0x4c5ff4(0x464)](_0x54d483,_0x5ef6d9){var _0x9505e6=_0x4c5ff4;const _0x3598b1=this[_0x9505e6(0x3f4)]['get'](_0x54d483);if(_0x3598b1)return _0x3598b1[_0x9505e6(0x464)](_0x5ef6d9);}[_0x4c5ff4(0x206)](_0x5da265){var _0x1cf916=_0x4c5ff4;const _0x28ca08=this[_0x1cf916(0x3f4)][_0x1cf916(0x38f)](_0x5da265);_0x28ca08&&(_0x28ca08[_0x1cf916(0x51c)](),this['_roomMembers'][_0x1cf916(0x368)](_0x5da265));}[_0x4c5ff4(0x51c)](){var _0x4ebbe1=_0x4c5ff4;this[_0x4ebbe1(0x3f4)][_0x4ebbe1(0x56d)](_0x4b11a1=>_0x4b11a1[_0x4ebbe1(0x51c)]()),this[_0x4ebbe1(0x3f4)][_0x4ebbe1(0x372)](),this[_0x4ebbe1(0x2e4)]['complete']();}},exports[_0x4c5ff4(0x306)]=ei([We(0x0,a[_0x4c5ff4(0x2fb)]),We(0x1,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x2af)]))],exports[_0x4c5ff4(0x306)]);class ti extends a[_0x4c5ff4(0x1f2)]{constructor(){var _0x4fd172=_0x4c5ff4;super(...arguments),A(this,'_members',new Map()),A(this,_0x4fd172(0x44e),new $[(_0x4fd172(0x40e))](this[_0x4fd172(0x49d)])),A(this,'members$',this['_members$'][_0x4fd172(0x2c1)]());}[_0x4c5ff4(0x51c)](){var _0x30d2ef=_0x4c5ff4;this[_0x30d2ef(0x49d)][_0x30d2ef(0x372)]();}[_0x4c5ff4(0x3ba)](_0xc2707d){var _0x764d40=_0x4c5ff4;this[_0x764d40(0x49d)]['set'](_0xc2707d[_0x764d40(0x21c)],_0xc2707d),this[_0x764d40(0x34f)]();}[_0x4c5ff4(0x364)](_0x373814){var _0x65ea92=_0x4c5ff4;this[_0x65ea92(0x49d)]['delete'](_0x373814);}['getMember'](_0x29c310){var _0x3e7e53=_0x4c5ff4;return this[_0x3e7e53(0x49d)][_0x3e7e53(0x38f)](_0x29c310);}[_0x4c5ff4(0x2e8)](){var _0x89d246=_0x4c5ff4;return Array[_0x89d246(0x34e)](this[_0x89d246(0x49d)]['values']());}[_0x4c5ff4(0x34f)](){var _0x57187e=_0x4c5ff4;this[_0x57187e(0x44e)][_0x57187e(0x473)](this[_0x57187e(0x49d)]);}}var ii=Object[_0x4c5ff4(0x405)],ni=(_0x1223ac,_0x199bb4,_0x53d993,_0x50a65e)=>{var _0x1e42ca=_0x4c5ff4;for(var _0x20217a=_0x50a65e>0x1?void 0x0:_0x50a65e?ii(_0x199bb4,_0x53d993):_0x199bb4,_0x34919e=_0x1223ac[_0x1e42ca(0x54c)]-0x1,_0x1f0d6a;_0x34919e>=0x0;_0x34919e--)(_0x1f0d6a=_0x1223ac[_0x34919e])&&(_0x20217a=_0x1f0d6a(_0x20217a)||_0x20217a);return _0x20217a;},se=(_0x31a936,_0x37e904)=>(_0x586f0b,_0x579df6)=>_0x37e904(_0x586f0b,_0x579df6,_0x31a936),re=(_0xb5ad37=>(_0xb5ad37[_0xb5ad37[_0x4c5ff4(0x23c)]=0x0]=_0x4c5ff4(0x23c),_0xb5ad37[_0xb5ad37[_0x4c5ff4(0x1f1)]=0x1]='JOINING',_0xb5ad37[_0xb5ad37[_0x4c5ff4(0x44d)]=0x2]=_0x4c5ff4(0x44d),_0xb5ad37[_0xb5ad37[_0x4c5ff4(0x4a2)]=0x3]='ONLINE',_0xb5ad37))(re||{});const Ye={[oe[_0x4c5ff4(0x4bc)]]:'session.join-failed',[oe[_0x4c5ff4(0x4b2)]]:_0x4c5ff4(0x391),[oe[_0x4c5ff4(0x272)]]:_0x4c5ff4(0x53e),[oe['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[oe[_0x4c5ff4(0x567)]]:_0x4c5ff4(0x517)};exports[_0x4c5ff4(0x515)]=class extends a[_0x4c5ff4(0x2fc)]{constructor(_0xb83ca8,_0x52ef6b,_0x386167,_0x3d3436,_0x120073,_0x16cdaa,_0x4d948e,_0xfb0899,_0x2d077a){var _0x249ac7=_0x4c5ff4;super(),A(this,_0x249ac7(0x346),new $[(_0x249ac7(0x40e))](0x0)),A(this,'sessionStatus$',this[_0x249ac7(0x346)][_0x249ac7(0x2c1)]()),A(this,_0x249ac7(0x2bf),new $['Subject']()),A(this,'event$',this[_0x249ac7(0x2bf)][_0x249ac7(0x2c1)]()),A(this,_0x249ac7(0x47c)),A(this,_0x249ac7(0x487)),A(this,'_collaborationTimeoutTimer'),A(this,_0x249ac7(0x3a8),!0x1),A(this,_0x249ac7(0x233),null),(this[_0x249ac7(0x560)]=_0xb83ca8,this[_0x249ac7(0x2d2)]=_0x386167,this['_configService']=_0x3d3436,this[_0x249ac7(0x563)]=_0x120073,this[_0x249ac7(0x32b)]=_0x16cdaa,this[_0x249ac7(0x3c8)]=_0x4d948e,this['_collaborationUIEventService']=_0xfb0899,this[_0x249ac7(0x2fa)]=_0x2d077a,this[_0x249ac7(0x3a8)]=!!this[_0x249ac7(0x2fa)],_0x52ef6b[_0x249ac7(0x51e)]($[_0x249ac7(0x4ee)](this['dispose$']))[_0x249ac7(0x240)](_0x3d39d5=>{var _0x3e9dff=_0x249ac7,_0x1e38a5;typeof _0x3d39d5>'u'||(this[_0x3e9dff(0x47c)]=_0x3d39d5,_0x3d39d5?(this[_0x3e9dff(0x245)](_0x3d39d5),this[_0x3e9dff(0x487)]=_0x3d39d5[_0x3e9dff(0x3b9)][_0x3e9dff(0x240)](_0x2a6161=>{var _0x5279ee=_0x3e9dff;_0x2a6161['routeKey']===this[_0x5279ee(0x560)]&&this[_0x5279ee(0x314)](_0x2a6161);})):(this[_0x3e9dff(0x28e)](),this[_0x3e9dff(0x346)][_0x3e9dff(0x473)](0x2),(_0x1e38a5=this['_socketMessageSubscription'])==null||_0x1e38a5[_0x3e9dff(0x49f)](),this[_0x3e9dff(0x487)]=null));}));}get[_0x4c5ff4(0x2a1)](){var _0x30485f=_0x4c5ff4;return this[_0x30485f(0x346)][_0x30485f(0x384)]();}[_0x4c5ff4(0x550)](){var _0x438c58=_0x4c5ff4,_0x1e090e,_0x22dcc7;return(_0x22dcc7=(_0x1e090e=this[_0x438c58(0x47c)])==null?void 0x0:_0x1e090e[_0x438c58(0x21c)])!=null?_0x22dcc7:null;}[_0x4c5ff4(0x51c)](){var _0x3d8a6c=_0x4c5ff4;super[_0x3d8a6c(0x51c)](),this[_0x3d8a6c(0x505)][_0x3d8a6c(0x473)](),this[_0x3d8a6c(0x505)][_0x3d8a6c(0x211)]();}[_0x4c5ff4(0x25c)](){var _0x5ad41c=_0x4c5ff4,_0x5a8127,_0x488b5a;this[_0x5ad41c(0x28e)](),(_0x5a8127=this[_0x5ad41c(0x47c)])==null||_0x5a8127[_0x5ad41c(0x467)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x5ad41c(0x560)]}}),(_0x488b5a=this[_0x5ad41c(0x47c)])==null||_0x488b5a[_0x5ad41c(0x25c)](),this[_0x5ad41c(0x2bf)][_0x5ad41c(0x211)](),this[_0x5ad41c(0x346)][_0x5ad41c(0x211)](),this[_0x5ad41c(0x51c)]();}['_onCombEvent'](_0x862332){var _0x43a210=_0x4c5ff4;_0x862332['cmd']===W['JOIN']?this[_0x43a210(0x3cd)](_0x862332):_0x862332[_0x43a210(0x535)]===W[_0x43a210(0x20d)]&&this[_0x43a210(0x537)](_0x862332);}[_0x4c5ff4(0x245)](_0x5e3fd0){var _0x3382d9=_0x4c5ff4;this['_sessionStatus$'][_0x3382d9(0x473)](0x1),_0x5e3fd0['send']({'cmd':W[_0x3382d9(0x33b)],'routeKey':this[_0x3382d9(0x560)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x44618c){var _0x53ee75=_0x4c5ff4,_0x1b1897;if(_0x44618c[_0x53ee75(0x3aa)]in Ye){this[_0x53ee75(0x4ba)][_0x53ee75(0x2ab)]({'id':Z[_0x53ee75(0x44c)],'data':Ye[_0x44618c[_0x53ee75(0x3aa)]]}),this[_0x53ee75(0x346)][_0x53ee75(0x473)](0x2);return;}this[_0x53ee75(0x346)][_0x53ee75(0x473)](0x3);const _0x364e20=(_0x1b1897=_0x44618c['data'][_0x53ee75(0x490)][this[_0x53ee75(0x560)]])==null?void 0x0:_0x1b1897[_0x53ee75(0x4dc)];_0x364e20&&_0x364e20['forEach'](_0x5db430=>this[_0x53ee75(0x32b)]['updateMember'](this['_unitID'],_0x5db430));}[_0x4c5ff4(0x537)](_0x210d52){var _0x4efca7=_0x4c5ff4;try{const _0x42e7ea=_0x210d52['data'];switch(_0x42e7ea[_0x4efca7(0x299)]){case p[_0x4efca7(0x3f0)][_0x4efca7(0x21a)]:this[_0x4efca7(0x50e)](_0x42e7ea),this[_0x4efca7(0x2bf)][_0x4efca7(0x473)](_0x42e7ea);break;case p[_0x4efca7(0x3f0)]['USERS_LEAVE']:this[_0x4efca7(0x204)](_0x42e7ea),this[_0x4efca7(0x2bf)][_0x4efca7(0x473)](_0x42e7ea);break;case p['CollaborationEvent'][_0x4efca7(0x33f)]:case p[_0x4efca7(0x3f0)][_0x4efca7(0x4d3)]:this[_0x4efca7(0x3e6)](),this[_0x4efca7(0x2b8)](),this[_0x4efca7(0x2bf)][_0x4efca7(0x473)](_0x42e7ea);break;case p[_0x4efca7(0x3f0)]['MSG_FOR_ERROR']:this[_0x4efca7(0x2d2)][_0x4efca7(0x2c9)](_0x4efca7(0x2ee)+JSON[_0x4efca7(0x40a)](_0x42e7ea)),this[_0x4efca7(0x2bf)]['next'](_0x42e7ea);break;case p[_0x4efca7(0x3f0)]['COMMENT_UPDATE']:this['_commentService'][_0x4efca7(0x20e)](_0x42e7ea[_0x4efca7(0x1e8)]),this[_0x4efca7(0x2bf)][_0x4efca7(0x473)](_0x42e7ea);break;default:this[_0x4efca7(0x2bf)][_0x4efca7(0x473)](_0x42e7ea);}}catch(_0x2dd20e){this[_0x4efca7(0x2d2)][_0x4efca7(0x2c9)](_0x2dd20e,_0x210d52);}}[_0x4c5ff4(0x50e)](_0x3795e4){var _0xb98843=_0x4c5ff4;this[_0xb98843(0x32b)][_0xb98843(0x3ba)](this[_0xb98843(0x560)],_0x3795e4[_0xb98843(0x1e8)]);}[_0x4c5ff4(0x204)](_0x15fbe9){var _0x3c267f=_0x4c5ff4;this[_0x3c267f(0x32b)]['removeMember'](this[_0x3c267f(0x560)],_0x15fbe9[_0x3c267f(0x1e8)][_0x3c267f(0x21c)]);}async['send'](_0x4e451b,_0x51f383){var _0x366014=_0x4c5ff4;if(this[_0x366014(0x2a1)]!==0x3||!this[_0x366014(0x47c)])throw new Error(_0x366014(0x47b));try{_0x4e451b['eventID']===p[_0x366014(0x3f0)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x366014(0x22a)](_0x4e451b)),this[_0x366014(0x47c)][_0x366014(0x467)]({'cmd':W[_0x366014(0x47a)],'routeKey':_0x51f383,'routeType':'','data':_0x4e451b});}catch(_0x383523){this[_0x366014(0x2d2)]['error'](_0x383523);}}[_0x4c5ff4(0x2e2)](){var _0x1aae4f=_0x4c5ff4,_0x41b6ce;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x64766d=_0x1dd8;this[_0x64766d(0x210)]=null,this['_collaborationUIEventService']['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x41b6ce=this['_configService'][_0x1aae4f(0x296)](ke))!=null?_0x41b6ce:St);}[_0x4c5ff4(0x2b8)](){var _0x154e52=_0x4c5ff4;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x154e52(0x210)]),this['_collaborationTimeoutTimer']=null);}[_0x4c5ff4(0x22a)](_0x5ecb7f){var _0x430b1c=_0x4c5ff4;if(!this[_0x430b1c(0x3a8)])return;const {data:_0x2271ac}=_0x5ecb7f,{unitID:_0x1fdc9b,changeset:_0xb7c174}=_0x2271ac,{mutations:_0x1148df,type:_0x51e597}=_0xb7c174;this[_0x430b1c(0x233)]={'unitId':_0x1fdc9b,'type':_0x51e597,'startTime':performance[_0x430b1c(0x24b)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x1148df)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5d8dd0=_0x4c5ff4;if(this[_0x5d8dd0(0x3a8)]){if(!this[_0x5d8dd0(0x233)]){this[_0x5d8dd0(0x2d2)][_0x5d8dd0(0x2c9)](_0x5d8dd0(0x46e),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x5d8dd0(0x200)]=performance[_0x5d8dd0(0x24b)](),this[_0x5d8dd0(0x233)][_0x5d8dd0(0x3c3)]=this['_telemetryInfo']['stopTime']-this[_0x5d8dd0(0x233)][_0x5d8dd0(0x4cf)],this[_0x5d8dd0(0x2fa)][_0x5d8dd0(0x3d7)](Xt,this[_0x5d8dd0(0x233)]),this[_0x5d8dd0(0x233)]=null;}}[_0x4c5ff4(0x28e)](){var _0x17df9b=_0x4c5ff4;this[_0x17df9b(0x233)]=null;}},exports[_0x4c5ff4(0x515)]=ni([se(0x2,a[_0x4c5ff4(0x4d5)]),se(0x3,a[_0x4c5ff4(0x344)]),se(0x4,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x4c4)])),se(0x5,a['Inject'](exports[_0x4c5ff4(0x306)])),se(0x6,a[_0x4c5ff4(0x2d6)]($e)),se(0x7,a[_0x4c5ff4(0x2d6)](ee)),se(0x8,a[_0x4c5ff4(0x28a)](Pt[_0x4c5ff4(0x2fd)]))],exports[_0x4c5ff4(0x515)]);var ri=Object['getOwnPropertyDescriptor'],si=(_0x3ea2ba,_0x1b9802,_0x25da35,_0x58b799)=>{var _0x5c8ba7=_0x4c5ff4;for(var _0xf5181f=_0x58b799>0x1?void 0x0:_0x58b799?ri(_0x1b9802,_0x25da35):_0x1b9802,_0x30d247=_0x3ea2ba[_0x5c8ba7(0x54c)]-0x1,_0x53cf48;_0x30d247>=0x0;_0x30d247--)(_0x53cf48=_0x3ea2ba[_0x30d247])&&(_0xf5181f=_0x53cf48(_0xf5181f)||_0xf5181f);return _0xf5181f;},he=(_0x31801b,_0x1145b5)=>(_0x2aa7eb,_0x280af2)=>_0x1145b5(_0x2aa7eb,_0x280af2,_0x31801b);exports['CollaborationSessionService']=class extends a[_0x4c5ff4(0x1f2)]{constructor(_0x28bfb1,_0x284be5,_0x47a10f,_0xd56121,_0x65628c,_0x5d2457){var _0x326a0d=_0x4c5ff4;super(),A(this,_0x326a0d(0x457),new $[(_0x326a0d(0x40e))](void 0x0)),A(this,_0x326a0d(0x49c),this['_socket$'][_0x326a0d(0x2c1)]()),A(this,_0x326a0d(0x48c),null),A(this,_0x326a0d(0x2e1),new Map()),A(this,'_status$',new $[(_0x326a0d(0x40e))](re[_0x326a0d(0x23c)])),A(this,'status$',this[_0x326a0d(0x4a6)][_0x326a0d(0x2c1)]()),A(this,_0x326a0d(0x393),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x326a0d(0x4c6),0x0),A(this,_0x326a0d(0x3de)),A(this,_0x326a0d(0x29e)),(this[_0x326a0d(0x2f8)]=_0x28bfb1,this[_0x326a0d(0x2d2)]=_0x284be5,this[_0x326a0d(0x2bb)]=_0x47a10f,this['_socketService']=_0xd56121,this['_collaborationUIEventService']=_0x65628c,this[_0x326a0d(0x1fa)]=_0x5d2457,this['_listenToNetworkCondition']());}get[_0x4c5ff4(0x47c)](){var _0x541c18=_0x4c5ff4;return this[_0x541c18(0x457)][_0x541c18(0x384)]();}[_0x4c5ff4(0x202)](){var _0x1729f0=_0x4c5ff4;this[_0x1729f0(0x1fa)]&&this[_0x1729f0(0x294)](this[_0x1729f0(0x1fa)]['online$'][_0x1729f0(0x240)](_0x316316=>{var _0xda15f3=_0x1729f0;_0x316316&&!this[_0xda15f3(0x47c)]&&this[_0xda15f3(0x3cf)](),_0x316316||this[_0xda15f3(0x43d)]();}));}[_0x4c5ff4(0x51c)](){var _0x39112f=_0x4c5ff4;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x39112f(0x22f)](),this['_clearHeartbeatTimer'](),this[_0x39112f(0x2e1)]['forEach'](_0x33de4d=>_0x33de4d[_0x39112f(0x51c)]()),this[_0x39112f(0x2e1)]['clear'](),this[_0x39112f(0x4a6)][_0x39112f(0x211)]();}async[_0x4c5ff4(0x37b)](_0x200464){var _0x3ea2b4=_0x4c5ff4;if(this['_sessions'][_0x3ea2b4(0x232)](_0x200464))return this['_sessions'][_0x3ea2b4(0x38f)](_0x200464);this['_tryEnsureSocket']();const _0x3fc93d=this[_0x3ea2b4(0x2f8)][_0x3ea2b4(0x3e3)](exports[_0x3ea2b4(0x515)],_0x200464,this[_0x3ea2b4(0x457)][_0x3ea2b4(0x2c1)]());return this[_0x3ea2b4(0x2e1)][_0x3ea2b4(0x2e6)](_0x200464,_0x3fc93d),_0x3fc93d;}[_0x4c5ff4(0x4af)](_0x4f995b){var _0x414d7d=_0x4c5ff4,_0x5eb63d;const _0x2c09ef=this[_0x414d7d(0x2e1)][_0x414d7d(0x38f)](_0x4f995b);_0x2c09ef&&(this[_0x414d7d(0x2e1)][_0x414d7d(0x368)](_0x4f995b),_0x2c09ef[_0x414d7d(0x25c)]()),this[_0x414d7d(0x2e1)]['size']||(_0x5eb63d=this[_0x414d7d(0x47c)])==null||_0x5eb63d[_0x414d7d(0x25c)]();}[_0x4c5ff4(0x3cf)](){var _0x3e534b=_0x4c5ff4;this[_0x3e534b(0x4c6)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x3e534b(0x508)]();}[_0x4c5ff4(0x4df)](){var _0x3be380=_0x4c5ff4;this[_0x3be380(0x50d)]!=null&&(clearTimeout(this[_0x3be380(0x50d)]),this['_retryConnectingTimer']=null);}async[_0x4c5ff4(0x3d2)](){var _0x32bb95=_0x4c5ff4,_0x38f39d,_0x415533;const _0x504f8e=this[_0x32bb95(0x2bb)][_0x32bb95(0x296)](ut),_0x271e0c=this['_configService'][_0x32bb95(0x296)](G),_0x28c8fa=(_0x415533=(_0x38f39d=_0x271e0c==null?void 0x0:_0x271e0c[_0x32bb95(0x212)])!=null?_0x38f39d:_0x504f8e)!=null?_0x415533:dt,_0x47a43a=await this[_0x32bb95(0x4a5)][_0x32bb95(0x34b)](_0x28c8fa);return this['_candidateSocket']=_0x47a43a,_0x47a43a;}async[_0x4c5ff4(0x47e)](){var _0x21797f=_0x4c5ff4,_0x5abe2a,_0x53c388;try{const _0x58fe17=(_0x53c388=(_0x5abe2a=this[_0x21797f(0x47c)])!=null?_0x5abe2a:this[_0x21797f(0x48c)])!=null?_0x53c388:await this[_0x21797f(0x3d2)]();if(_0x58fe17){const _0x24ee8d=_0x58fe17[_0x21797f(0x467)];_0x58fe17[_0x21797f(0x467)]=_0x5962d9=>(this[_0x21797f(0x28b)](),_0x24ee8d[_0x21797f(0x1ff)](_0x58fe17,[_0x5962d9])),_0x58fe17[_0x21797f(0x3b9)]['subscribe'](_0x2e78d0=>this[_0x21797f(0x333)](_0x58fe17,_0x2e78d0)),_0x58fe17['error$'][_0x21797f(0x51e)](V[_0x21797f(0x262)](0x1))[_0x21797f(0x240)](_0x3ee896=>this[_0x21797f(0x2d2)]['error'](_0x21797f(0x55d),_0x3ee896)),_0x58fe17[_0x21797f(0x4e1)][_0x21797f(0x51e)](V[_0x21797f(0x262)](0x1))[_0x21797f(0x240)](()=>{this['_onConnectionOpen'](_0x58fe17);}),_0x58fe17[_0x21797f(0x4c3)][_0x21797f(0x51e)](V[_0x21797f(0x262)](0x1))[_0x21797f(0x240)](_0x3929fd=>{var _0x4a0ed4=_0x21797f;this[_0x4a0ed4(0x2d2)][_0x4a0ed4(0x205)]('[CollaborationSessionService]',_0x4a0ed4(0x4a0),_0x3929fd),this[_0x4a0ed4(0x35d)]();});}}catch(_0x1afc1f){this[_0x21797f(0x2d2)]['error'](_0x1afc1f),this[_0x21797f(0x35d)]();}}[_0x4c5ff4(0x41f)](_0x3ebd06){var _0x58caf1=_0x4c5ff4;this[_0x58caf1(0x2d2)][_0x58caf1(0x205)]('[CollaborationSessionService]',_0x58caf1(0x3c2)),_0x3ebd06[_0x58caf1(0x467)]({'cmd':W[_0x58caf1(0x326)]}),this[_0x58caf1(0x28b)]();}[_0x4c5ff4(0x43d)](){var _0x29143d=_0x4c5ff4;this[_0x29143d(0x393)]=!0x1,this[_0x29143d(0x48c)]=null,this[_0x29143d(0x4a6)]['next'](re[_0x29143d(0x44d)]),this[_0x29143d(0x457)][_0x29143d(0x473)](null),this[_0x29143d(0x22f)](),this['_clearHeartbeatTimer']();}[_0x4c5ff4(0x35d)](){var _0x9b5868=_0x4c5ff4,_0x2362b5;this[_0x9b5868(0x43d)](),this[_0x9b5868(0x4c6)]<((_0x2362b5=this['_configService'][_0x9b5868(0x296)](ft))!=null?_0x2362b5:jt)?(this[_0x9b5868(0x4ba)][_0x9b5868(0x2ab)]({'id':Z[_0x9b5868(0x2ff)]}),this[_0x9b5868(0x508)]()):this[_0x9b5868(0x4ba)][_0x9b5868(0x2ab)]({'id':Z[_0x9b5868(0x39e)]});}[_0x4c5ff4(0x508)](){var _0x3aba12=_0x4c5ff4,_0x3d398c;const _0x455afd=this[_0x3aba12(0x4c6)],_0x397e42=this[_0x3aba12(0x2bb)][_0x3aba12(0x296)](G),_0x5df6b1=_0x455afd===0x0?0x0:((_0x3d398c=_0x397e42==null?void 0x0:_0x397e42[_0x3aba12(0x488)])!=null?_0x3d398c:$t)*0x2**_0x455afd;this[_0x3aba12(0x50d)]=setTimeout(()=>{var _0x207e0d=_0x3aba12;clearTimeout(this[_0x207e0d(0x50d)]),this[_0x207e0d(0x50d)]=null,this[_0x207e0d(0x47e)]();},_0x5df6b1),this[_0x3aba12(0x4c6)]+=0x1;}['_onMessage'](_0x3437cd,_0x462422){var _0x3b0cda=_0x4c5ff4;const {cmd:_0x107260}=_0x462422;_0x107260===W['HELLO']&&!this[_0x3b0cda(0x393)]&&(_0x3437cd[_0x3b0cda(0x21c)]=_0x462422[_0x3b0cda(0x1e8)][_0x3b0cda(0x21c)],this[_0x3b0cda(0x457)]['next'](_0x3437cd),this[_0x3b0cda(0x4a6)][_0x3b0cda(0x473)](re[_0x3b0cda(0x4a2)]),this[_0x3b0cda(0x393)]=!0x0,this['_candidateSocket']=null),_0x107260===W[_0x3b0cda(0x29b)]&&this[_0x3b0cda(0x22f)](),this[_0x3b0cda(0x28b)]();}[_0x4c5ff4(0x28b)](){var _0x2246cb=_0x4c5ff4,_0x4eed92;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4eed92=this[_0x2246cb(0x2bb)][_0x2246cb(0x296)](vt))!=null?_0x4eed92:Ht);}[_0x4c5ff4(0x433)](){var _0x272298=_0x4c5ff4;this[_0x272298(0x47c)][_0x272298(0x467)]({'cmd':W['HEARTBEAT']}),this[_0x272298(0x381)]();}[_0x4c5ff4(0x381)](){var _0x19a28a=_0x4c5ff4,_0x419659;this[_0x19a28a(0x29e)]=setTimeout(()=>this[_0x19a28a(0x35d)](),(_0x419659=this[_0x19a28a(0x2bb)][_0x19a28a(0x296)](ke))!=null?_0x419659:St);}[_0x4c5ff4(0x285)](){var _0x3592fa=_0x4c5ff4;this[_0x3592fa(0x3de)]!=null&&(clearTimeout(this[_0x3592fa(0x3de)]),this[_0x3592fa(0x3de)]=null);}[_0x4c5ff4(0x22f)](){var _0x38a431=_0x4c5ff4;this[_0x38a431(0x29e)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=si([he(0x0,a[_0x4c5ff4(0x2d6)](a['Injector'])),he(0x1,a[_0x4c5ff4(0x4d5)]),he(0x2,a[_0x4c5ff4(0x344)]),he(0x3,He),he(0x4,a[_0x4c5ff4(0x2d6)](ee)),he(0x5,a[_0x4c5ff4(0x28a)](mt))],exports[_0x4c5ff4(0x2e3)]);const q=a['createIdentifier']('collaboration-client.local-cache-service');function oi(_0x57d0b3){var _0x12b7ab=_0x4c5ff4;return _0x12b7ab(0x338)+_0x57d0b3;}var ai=Object[_0x4c5ff4(0x405)],ci=(_0x5932d9,_0x30f167,_0xacebaf,_0x58890c)=>{for(var _0x357d8f=_0x58890c>0x1?void 0x0:_0x58890c?ai(_0x30f167,_0xacebaf):_0x30f167,_0x5f1a8b=_0x5932d9['length']-0x1,_0x5afe21;_0x5f1a8b>=0x0;_0x5f1a8b--)(_0x5afe21=_0x5932d9[_0x5f1a8b])&&(_0x357d8f=_0x5afe21(_0x357d8f)||_0x357d8f);return _0x357d8f;},Ue=(_0x5c6029,_0x242635)=>(_0x497fe1,_0x1069a6)=>_0x242635(_0x497fe1,_0x1069a6,_0x5c6029);function hi(_0x3577b0){var _0x3dbf04=_0x4c5ff4;const {unitID:_0x3a69a7,mutations:_0x3507c0}=_0x3577b0;return{'unitId':_0x3a69a7,'subUnitId':_0x3507c0[0x0]['params'][_0x3dbf04(0x437)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x19ba03,_0x2a253e,_0x521bc9){var _0x3312ef=_0x4c5ff4;this[_0x3312ef(0x2f8)]=_0x19ba03,this[_0x3312ef(0x456)]=_0x2a253e,this[_0x3312ef(0x224)]=_0x521bc9;}[_0x4c5ff4(0x531)](_0x1e39a6){var _0x3ff114=_0x4c5ff4,_0x45ea34,_0x56dffa,_0x376347,_0x6edb5a;const _0x310515=this[_0x3ff114(0x2f8)][_0x3ff114(0x38f)](X[_0x3ff114(0x291)]),{unitId:_0x4bc249,subUnitId:_0x5c8a8d}=hi(_0x1e39a6),_0x4fa9b9=_0x310515==null?void 0x0:_0x310515[_0x3ff114(0x30b)](_0x4bc249)[_0x3ff114(0x481)](),_0x2827bf=(_0x56dffa=(_0x45ea34=this['_instanceService'][_0x3ff114(0x4c8)](_0x4bc249))==null?void 0x0:_0x45ea34[_0x3ff114(0x31c)]())==null?void 0x0:_0x56dffa['getSheetId']();if(_0x4fa9b9['length']===0x0||!_0x4bc249||!_0x5c8a8d)return;const _0x422f39=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x4bc249,'subUnitId':_0x2827bf,'selections':a[_0x3ff114(0x532)][_0x3ff114(0x31b)](_0x4fa9b9)}}],_0x3ad393=this[_0x3ff114(0x456)][_0x3ff114(0x411)](_0x1e39a6,_0x422f39);if(!p[_0x3ff114(0x3ae)](_0x3ad393))throw _0x3ad393[_0x3ff114(0x2c9)];const _0x416092=(_0x6edb5a=(_0x376347=_0x3ad393['m2Prime'][0x0])==null?void 0x0:_0x376347[_0x3ff114(0x48f)])==null?void 0x0:_0x6edb5a['selections'];if(Array['isArray'](_0x416092)&&_0x416092[_0x3ff114(0x54c)]){if(_0x416092[_0x3ff114(0x54c)]===_0x422f39[0x0][_0x3ff114(0x48f)][_0x3ff114(0x420)][_0x3ff114(0x54c)]&&_0x416092[_0x3ff114(0x27f)]((_0x5f58a5,_0x25dbf5)=>a[_0x3ff114(0x264)][_0x3ff114(0x361)](_0x5f58a5['range'],_0x422f39[0x0][_0x3ff114(0x48f)]['selections'][_0x25dbf5][_0x3ff114(0x482)])))return;this[_0x3ff114(0x2f8)][_0x3ff114(0x38f)](a['ICommandService'])[_0x3ff114(0x2e0)](X['SetSelectionsOperation']['id'],{'unitId':_0x4bc249,'subUnitId':_0x2827bf,'selections':_0x416092});}}},exports[_0x4c5ff4(0x349)]=ci([Ue(0x0,a[_0x4c5ff4(0x2d6)](a['Injector'])),Ue(0x1,p[_0x4c5ff4(0x2c8)]),Ue(0x2,a[_0x4c5ff4(0x2fb)])],exports[_0x4c5ff4(0x349)]);const de=a[_0x4c5ff4(0x1f0)](_0x4c5ff4(0x469));function _0x3985(){var _0x2f5b97=['[PendingState]:\x20unhandled\x20univer\x20type:\x20','signUrlServerUrl','method','DisposableCollection','createInstance','name','getCurrentUser','_stopTelemetryCollaborationNewChangeset','unknown','&assign=','filter','_handlerCallback','PY_RUNTIME_SCRIPT_ERROR','WordArray','status$','Could\x20not\x20dynamically\x20require\x20\x22','_minBufferSize','CollaborationEvent','ciphertext','UUID','CommandType','_roomMembers','image/gif','mapDocumentTypeToUniverType','StreamCipher','/rev/','resourceIDs','CONNECTOR_DATA_TOO_LARGE','_onConflict','CollaborationStatus','[UniverCollaborationClientPlugin]','getFocusedUnit','changesets','_type','splice','_entityInit$','HMAC','buffer','getOwnPropertyDescriptor','registerHTTPInterceptor','enableAuthServer','univer-pro.collaboration-client.network-condition.service','m2Prime','stringify','slice','_transformStateCache','EmptyMutation','BehaviorSubject','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','connection\x20error','transformMutationsWithChangeset','_parse','_snapshotService','getInterceptPoints','AwaitingWithPendingState','revision','call','floor','DEFAULT_FILE_NAME','_handler','LIVESHARE_NEW_HOST','Hex','UNIVER_UNKNOWN','withCredentials','_onConnectionOpen','selections','mixIn','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[OfflineState]:\x20received\x20changeset.','_getUndoStack','SNAPSHOT_HAS_BEEN_REMOVED','toDisposable','keySize','_getDownloadEndpointURL','fetchThroughInterceptors','createDecryptor','objectActions','_entities','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','toString','_data','_getCurrentRevision','enableCollaboration','MOBILE_VERIFY_CODE_MISMATCH','_sendHeartbeat','waitForRoom$','_applyRemoteChangeset','_queuedRemoteChangesets','subUnitId','/collaborator','@univerjs/sheets','getSheetBlock','ImageSourceType','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onOffline','mode','SnapshotService','_redoStacks','MOBILE_HAS_BEEN_BOUND','CHANGESET_REVISION_CONFILICT','localCacheService','_imageSourceCache','/new_changes','_replaceFileID','result','_eventService','enableOfflineEditing','AwaitingState','addImageSourceCache','JOIN_ROOM_FAILED','OFFLINE','_members$','/universer-api/snapshot/','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','findIndex','_unlockTransition','\x20-\x20','_incrementRevisionNumber','toStringTag','_transformService','_socket$','SUBMIT_CHANGESET','_transitionLocked','abs','_change$','_revisionService','_clearLocalCache','_getCtorByUniverType','_collaborationPaused','compute','authzUrl','_sender','1732EFAgPl','getMember','PENDING','Latin1','send','[DataLoaderService]','univer-pro.collaboration-client.single-active-unit-service','_ENC_XFORM_MODE','UNKNOWN_CMD','shareReplay','_hasher','[CollaborationSession]','actions','ivSize','encryptBlock','APPLY_REJECT','next','map','601136VZMTXR','_initRequestHeader','146416ltRYgW','__creator','pluginName','INGEST','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_socket','_schedule','_tryEnsureSocket','_changesetReqId','fetch_missing','getCurrentSelections','range','socketService','/fetchmissing?from=','_pendingMutations','workbook','_socketMessageSubscription','retryConnectingInterval','DataLoaderService','_keySchedule','_lockTransition','_candidateSocket','@univerjs/core','ws://127.0.0.1:8000/universer-api/comb/connect','params','roomInfos','c2Prime','UnitSnapshot','YUUMI_URL_COL_OUT_OF_RANGE','$super','textEncoder','_initUnitPermissionChange','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','BlockCipher','url','_DEC_XFORM_MODE','PERMISSION_DENIED','socket$','_members','rxjs','unsubscribe','socket\x20close','OTHER_CLIENT_EDITING','ONLINE','PasswordBasedCipher','indexOf','_socketService','_status$','byteLength','/universer-api/stream/file/upload','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/block/','CipherParams','_initMergeInterceptor','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','setCurrentUser','closeSession','enableSingleActiveInstanceLock','_append','JOIN_ROOM_FULL','getCurrentRevOfUnit','CollaborationImageIoService','_onLocalMutation','[FetchMissState]','UNIVER_COLLABORATION_CLIENT_PLUGIN','UniverInstanceType','13458BcGUZI','_collaborationUIEventService','CollaborativeUndoRedoService','FAIL','NO_OTHER_CLIENTS_EDITING','appendMutation','APPLY_PERMISSION_DENIED','HEARTBEAT_INTERVAL','joinRsp','format','close$','LocaleService','_getUploadFileURL','_retryCount','_undoRedoService','getUnit','_HTTPService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_cipher','INVALID_ARGUMENT','incrementRevOfUnit','_createHmacHelper','startTime','YUUMI_SUBSCRIPTION_NOT_FOUND','SUCCUSS','collaboratorID','CHANGESET_SHOULD_RETRY','INetworkConditionService','ILogService','IImageIoService','copyFileMeta','APPLY_DUPLICATED','SnapshotServerOverHTTPService','_state','_createInitialStateImpl','members','_onFetchMissResult','string','_clearRetryConnectingTimer','LICENSE_MAX_UNITS_EXCEEDED','open$','_updateLocalCache','OpenSSL','fromCharCode','PendingState','onSyncEditingCollabCursor','_invKeySchedule','IUndoRedoService','/unit/','onTransformRemoteChangesetByIMECache','offline','ISocketService','_httpService','takeUntil','UNAUTHENTICATED','APPLY_NON_SEQUENTIAL_REVISION','/object','_getAPIPrefixPath','encode','EvpKDF','initWorkbookPermissionChange','COMPRESS_MUTATION_APPLY','USERS_LEAVE','update','_initDependencies','univer-pro.collaboration-client-socket-service','synced','_submitChangeset','avatar','createCollaborator','isInternalEditorID','EMAIL_HAS_BEEN_BOUND','AWAITING','LOGIN_FAILED','_checkMissing','unitId\x20is\x20not\x20found','dispose$','Injector','onTransformIME','_tryReconnect','COLLAB_SUBMIT_CHANGESET_URL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','snapshotServerUrl','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_retryConnectingTimer','_onUserJoin','\x20to\x20','state$','exports','repeat','hasOwnProperty','setWaitCount','CollaborationSession','localeService','session.room-cnt-exceeds','OTHER_CLIENTS_EDITING','LIVESHARE_REQUEST_HOST','/universer-api/authz','_resendTimeout','dispose','awaiting','pipe','_sendingTimer','261FYABjd','updateSnapshot','file','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','randomBytes','create','IAuthzIoService','loadUnitOfRevision','Hasher','_undoStacks','join','collaboration_new_changeset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Base','onStateChange','listRoles','newCsEvent','transformSelections','Tools','saveChangeset','size','cmd','collaborators','_onRecvEvent','src','getImageSourceCache','shouldCloseConn','WorkbookEditablePermission','/universer-api/uniscript','_clearScheduledTask','session.room-not-exists','encodeURIComponent','_createInitialState','SHA1','_doCryptBlock','_toggleOffline','title','HmacSHA1','parseProtocolChangeset','_resendWithTimeout','parseChangesetToProtocol','padding','17557710sFxbjM','_substituteRedoStack','length','target','_commentUpdate$','SNAPSHOT_URL_KEY','getMemberID','reset','userID','/object/','[PendingState]:\x20received\x20acknowledgement.','OfflineState','isTransformChangesetsSuccess','post','csAckEvent','updatePermissionObjEvent','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Malformed\x20UTF-8\x20data','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[CollaborationSessionService]:\x20socket\x20error','RETRY_CONNECTING_MAX_COUNT_KEY','[CollaborationUndoRedoService]','_unitID','reject','getUnitId','_localeService','generateRandomId','@univerjs-pro/collaboration','resend','GLOBAL_ROOMS_CNT_EXCEEDS','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','COLLAB_WEB_SOCKET_URL','firstValueFrom','execute','_resendTimer','forEach','includes','event$','CommentService','data','LICENSE_EXPORT_SIZE_EXCEEDED','UniverCollaborationClientPlugin','add','Cipher','ICollaborationSocketService','words','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','createIdentifier','JOINING','Disposable','init','onRemoteAck','_state$','_singleActiveUnitService','YUUMI_UNABLE_LOAD_URL','catch','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_networkConditionService','_transformUndoredo','_acknowledgedAwaitingChangeset','fromCollab','compose','apply','stopTime','awaiting_with_pending','_listenToNetworkCondition','concat','_onUserLeave','debug','_removeRoom','default','_decreaseWaiting','push','getSnapshotAPIPath','&to=','LICENSE_DISTRO_REJECTED','RECV','onCommentUpdate','UnitStatus','_collaborationTimeoutTimer','complete','collabWebSocketUrl','FetchingMissState','setShowComponents','finalize','FileId','HTTPRequest','UNIVER_SHEET','image/bmp','USERS_ENTER','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','memberID','COLLAB_SUBMIT_CHANGESET_URL_KEY','[OfflineState]:\x20received\x20rejection.','SEND_CHANGESET_TIMEOUT_KEY','_keyPriorReset','unitId','listCollaborators','_onRemoteRetry','_instanceService','_getRedoStack','transformUndoRedo','getCollabEntity','_compressMutationService','getUnitType','_startTelemetryCollaborationNewChangeset','commentUpdate$','pad','CHANGESET_REJ','UNDEFINED','_clearTimeoutTimer','HmacMD5','b64DecodeUnicode','has','_telemetryInfo','startsWith','updateCollaborator','_substituteUndoStack','getRandomValues','__esModule','sequenceExecute','Module','allowed','IDLE','state','setConfig','decrypt','subscribe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','11yOAFpD','MD5','getTypeOfUnitDisposed$','_joinRoom','OPTIONAL','INVALID_INVITE_CODE','UnitEmbedded','infoRsp','sigBytes','now','_isPermissionRej','COMPLETION_FINISHED','transformChangesets','ERROR_IMAGE_TYPE','YUUMI_NO_CUBOID_FOR_QUESTION','_transformRemoteChangesetByIMECache','CompressMutationService','readAsDataURL','UNIVER_SLIDE','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','Subject','parse','SyncedState','__Key__','delay','_updateState','close','submit\x20changeset\x20error!','375409MNGFlc','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SYNCED','pending','take','@univerjs-pro/license','Rectangle','body','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ICommandService','JOIN_ROOM_PERMISSION_DENIED','confirm','\x0aCurrent:\x20','CONFLICT','FETCH_MISS','POST','onload','unpad','routeKey','_updateStatus','JOIN_ROOM_NOT_EXISTS','_userManagerService','getGlobalObject','originalMeta','toggleOnline','AES','textRanges','YUUMI_ASYNCIO_CANCELLED','unitID','LOCAL_CACHE_INTERVAL','Plugin','list','_map','every','@univerjs/telemetry','enc','objects','hasher','CollaborationController','_clearHeartbeatTimer','Quantity','merge','put','reduce','Optional','_rescheduleHeartbeat','APPLY_REVISION_CONFILICT','BlockCipherMode','_throwTelemetryCollaborationNewChangeset','_remoteChangesetQueue','append','SheetsSelectionsService','defineProperty','_exhaustRemoteChangesetQueue','disposeWithMe','YUUMI_RATE_OVER_LIMIT','getConfig','ALREADY_EXISTS','deleteCollaborator','eventID','onRemoteRetry','HEARTBEAT','_getSendChangesetTimeout','1011HNuXgc','_timeoutTimer','PSEUDO_FETCH_MISSING_RESULT','getCollabEntity$','sessionStatus','onSendChangeset','HEARTBEAT_INTERVAL_KEY','hostname','decryptBlock','Decryptor','responseType','_sheetTransformSelectionsService','saveImage','/role','emitEvent','IContextService','HTTPService','_reverseMap','UserManagerService','key','CollaborationEntity','NoPadding','href','location','DocCollaborationEntity','sendChangesetTimeout','[CollaborationState]:\x20apply\x20error!','_clearCollaborationTimeoutTimer','_fetchMissChangesets','COLLAB_WEB_SOCKET_URL_KEY','_configService','_replayCachedMutations','charCodeAt','onMissedChangesetFetched','_event$','getImage','asObservable','_toggleOnline','_univerInstanceService','Utf8','mutations','updatePermissionPoint','INTERNAL_ERROR','ITransformService','error','snapshot','JSONX','_nDataBytes','updateOfflineData','sessionStatus$','HttpExport','onTransformState','SNAPSHOT_INVALID_SNAPSHOT','_logService','onCommandExecuted','LEAVE','kdf','Inject','SheetPermissionInitController','RevisionService','loadUnit','liveShareNewHost','InsertSheetMutation','rev','SerializableCipher','ISingleActiveUnitService','NEW_CHANGESETS','executeCommand','_sessions','_scheduleCollaborationTimeoutTimer','CollaborationSessionService','_roomCreated$','_showConflictNotification','set','FETCH_MISSING','getAllMembers','_transformIMECache','UNKNOWN_CODE','type','_mode','INVITE_CODE_REQUIRED','save\x20fail\x20reason\x20is\x20','[PendingState]:\x20received\x20rejection.','isPermissionRej','algo','onTransformRemoteChangesetByStateCache','UNISCRIPT_RUN','_awaitingChangeset','CollaborationUIEventService','loginUrlKey','MergeInterceptorFactory','_injector','prototype','_telemetryService','IUniverInstanceService','RxDisposable','ITelemetryService','_createHelper','SOCKET_FAILED_RETRY','People','_getAPIPrefix','reqId','cfg','_changesetSessionId','NOT_COLLAB','MemberService','collaMsg','[CollaborationEntity]','encrypt','subject','getWorkbookSelections','permissionRejEvent','extend','HEARTBEAT_TIMEOUT_KEY','ENSURE_SNAPSHOT_EXECUTION','Undefined','_iKey','_createHandler','conflict','_onCombEvent','transformStack\x20failed!','uploadFileServerUrl','HttpImport','getTypeOfUnitAdded$','onRemoteRej','replace','deepClone','getActiveSheet','_startCollaboration','_unitInfo$','_waitCount','sin','RETRY_CONNECTING_MAX_COUNT','Base64','_snapshotServerService','SNAPSHOT_SERVER_URL_KEY','fetchMiss','HELLO','ConflictState','ceil','LIVESHARE_OPERATION','SEND_CHANGESET_TIMEOUT','_memberService','sid','MentionIoHttpService','Error\x20on\x20receiving\x20event','baseRev','UserProfileImg','MentionType','session','_onMessage','commentUpdateEvent','_iv','/-/object/-/batch_allowed','_disableEditing','unit-cache-','LIVESHARE_FETCH_OPERATIONS','PERMISSION_REJ','JOIN','uuidv4','iterations','find','CHANGESET_ACK','formatter','696836BWmbJE','ReplaySubject','SUBMIT_CHANGESET_TIMEOUT','IConfigService','function','_sessionStatus$','_transformStack','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','SheetTransformSelectionsService','LocalUndoRedoService','createSocket','msCrypto','Encryptor','from','_emitMembers','YUUMI_CONNECTOR_URL_NOT_FOUND','auth.needGotoLoginAlert','_init','symbol','COMMENT_UPDATE','editing\x20status\x20changed\x20to','_clearUndo','_config','[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.','_oKey','_xformMode','CLOSE_ROOM','_executeRemoteChangeset','_onConnectionFailed','toggleOffline','_permissionService','_doProcessBlock','equals','c1Prime','WECHAT_HAS_BEEN_BOUND','removeMember','/universer-api/comb','_prevBlock','LIVESHARE_TERMINATE','delete','crypto','getTime','/universer-api/snapshot','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_doCreateSocket','readyForCollab','_transformRemoteChangesetByStateCache','UNIVER_PROJECT','_initCloseConn','clear','_getSignURL','clamp','LICENSE_IMPORT_SIZE_EXCEEDED','_collabSessionService','UniverCollaborationPlugin','_transformSelections','INVITE_CODE_ALREADY_BOUND','YUUMI_ALL_TABLES_IS_INVALID','requireSession','requestParams','AuthzIoHttpService','_scheduleCompleteTimestamp','_getLoginPath','error$','_waitForHeartbeatResponse','1160oRPiNL','_onRemoteChangeset','getValue','_nRounds','_onRemoteRejected','MUTATION','readInt32LE','_onRemoteACK','pauseCollaboration','image/png','csRejEvent','IPermissionService','_process','get','_key','session.room-full','objectID','_socketReady','status','charAt','_registerDependencies','onLocalMutation','SheetCollaborationEntity','override','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UNRECOGNIZED','onTransformSelections','loadOfflineData','SOCKET_FAILED','ThresholdInterceptorFactory','refreshPermission','not_collab','max','CollaborationSocketService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','awaitingChangeset','processBlock','loadSheet','_shouldReportTelemetry','objectType','code','AUTHZ_URL_KEY','ERROR_IMAGE','INVITE_CODE_HAS_BEEN_UES','isTransformMutationsWithChangesetSuccess','interceptor','action','getUnitOnRev','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','EMAIL_VERIFY_CODE_MISMATCH','touchDependencies','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','createEncryptor','Failed\x20to\x20update\x20permission\x20point','ImageUploadStatusType','message$','updateMember','blockSize','uniscriptRunEvent','isTransformMutationsWithChangesetFailure','_clearRedo','SessionStatus','batchAllowed','_collaborationSessionService','socket\x20open.','duration','_localCacheService','resolve','_commandService','_syncEditingCollabCursor','_commentService','YUUMI_AI_RUN_FAILED','clone','lib','_hash','_onJoinRoomEvent','TOO_MANY_REQUESTS','reconnect','updateCursorEvent','/universer-api/file/{fileID}/sign-url','_createSocket','BufferedBlockAlgorithm','UPDATE_PERMISSION_OBJ','/universer-api/user/session-ticket','DEFAULT_WS_SESSION_TICKET_URL','capture','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','salt','/resources','UNIVER_DOC','onRemoteChangeset','BASE64','_sendHeartbeatTimer'];_0x3985=function(){return _0x2f5b97;};return _0x3985();}var je=(_0x35ab88=>(_0x35ab88[_0x35ab88[_0x4c5ff4(0x4bd)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x35ab88[_0x35ab88[_0x4c5ff4(0x518)]=0x1]=_0x4c5ff4(0x518),_0x35ab88))(je||{});const _i=new Set([X[_0x4c5ff4(0x2db)]['id']]);function Ge(_0x2752fe,_0x26928b,_0x1e0931,_0x5695e4,_0x245dbd){var _0x1784e4=_0x4c5ff4,_0x2b5d61,_0x1e4c31,_0x4dd615,_0x2fbe47;const _0x4208b4=[];for(const _0x4e285f of _0x2752fe)if(_i[_0x1784e4(0x232)](_0x4e285f['id'])){if(_0x4208b4[_0x1784e4(0x54c)]>0x0)break;_0x4208b4['push'](_0x4e285f);break;}else _0x4208b4[_0x1784e4(0x209)](_0x4e285f);const _0x2b73b5=(_0x1e4c31=(_0x2b5d61=_0x245dbd[_0x1784e4(0x3e5)]())==null?void 0x0:_0x2b5d61[_0x1784e4(0x552)])!=null?_0x1e4c31:_0x1784e4(0x3e7),_0x4533fe=(_0x2fbe47=(_0x4dd615=_0x245dbd[_0x1784e4(0x3e5)]())==null?void 0x0:_0x4dd615[_0x1784e4(0x21c)])!=null?_0x2fbe47:'unknown';return{'changeset':{'unitID':_0x26928b,'type':p[_0x1784e4(0x3f6)](_0x1e0931[_0x1784e4(0x229)](_0x26928b)),'baseRev':_0x5695e4[_0x1784e4(0x4b3)](_0x26928b),'revision':0x0,'userID':_0x2b73b5,'memberID':_0x4533fe,'mutations':_0x4208b4},'pendingMutations':_0x2752fe[_0x1784e4(0x40b)](_0x4208b4[_0x1784e4(0x54c)])};}function li(_0x3fea9e,_0x26f832,_0x1d722d,_0x59bb2f,_0x5844c2){var _0x12f071=_0x4c5ff4,_0x3f6dfe,_0x273cf0,_0x3a423a,_0x1637ab;const _0x4537cb=[_0x3fea9e[_0x12f071(0x289)]((_0x875ff8,_0x3de648)=>{var _0x279b2c=_0x12f071,_0xe545e;const {id:_0x59ee97}=_0x875ff8,{id:_0x51fcc3,type:_0xa091}=_0x3de648,_0x46db5a=(_0xe545e=_0x875ff8[_0x279b2c(0x48f)])!=null?_0xe545e:{'actions':null},_0x6f2427=_0x3de648['params'];if(_0x59ee97&&_0x59ee97!==_0x51fcc3)throw new Error(_0x279b2c(0x1f9)+_0x59ee97+_0x279b2c(0x453)+_0x51fcc3+'.');return{..._0x875ff8,'id':_0x51fcc3,'type':_0xa091,'params':{'unitId':_0x6f2427['unitId'],'textRanges':_0x6f2427['textRanges'],'actions':a[_0x279b2c(0x2cb)][_0x279b2c(0x1fe)](_0x46db5a[_0x279b2c(0x46f)],_0x6f2427[_0x279b2c(0x46f)])}};},{})],_0x513209=(_0x273cf0=(_0x3f6dfe=_0x5844c2['getCurrentUser']())==null?void 0x0:_0x3f6dfe[_0x12f071(0x552)])!=null?_0x273cf0:_0x12f071(0x3e7),_0x2a9da8=(_0x1637ab=(_0x3a423a=_0x5844c2[_0x12f071(0x3e5)]())==null?void 0x0:_0x3a423a['memberID'])!=null?_0x1637ab:_0x12f071(0x3e7);return{'changeset':{'unitID':_0x26f832,'type':p[_0x12f071(0x3f6)](_0x1d722d[_0x12f071(0x229)](_0x26f832)),'baseRev':_0x59bb2f[_0x12f071(0x4b3)](_0x26f832),'revision':0x0,'userID':_0x513209,'memberID':_0x2a9da8,'mutations':_0x4537cb},'pendingMutations':[]};}function bt(_0x3ae356,_0x33c370){var _0x4189cb=_0x4c5ff4;const _0x38b7f0=new $[(_0x4189cb(0x342))](0x1);return setTimeout(()=>_0x38b7f0['next'](_0x33c370),_0x3ae356),_0x38b7f0['asObservable']()[_0x4189cb(0x51e)]($['take'](0x1));}const ui={'id':X[_0x4c5ff4(0x40d)]['id'],'type':a[_0x4c5ff4(0x3f3)][_0x4c5ff4(0x387)],'params':{}};var di=Object[_0x4c5ff4(0x405)],ae=(_0x273ec5,_0x52ff96,_0x3a818e,_0x3074d2)=>{var _0xa0beca=_0x4c5ff4;for(var _0x1e1ad0=_0x3074d2>0x1?void 0x0:_0x3074d2?di(_0x52ff96,_0x3a818e):_0x52ff96,_0x106b7a=_0x273ec5[_0xa0beca(0x54c)]-0x1,_0x22aa21;_0x106b7a>=0x0;_0x106b7a--)(_0x22aa21=_0x273ec5[_0x106b7a])&&(_0x1e1ad0=_0x22aa21(_0x1e1ad0)||_0x1e1ad0);return _0x1e1ad0;},L=(_0xccab2c,_0x140c34)=>(_0x469aee,_0x5e08f6)=>_0x140c34(_0x469aee,_0x5e08f6,_0xccab2c),Be=(_0x186984=>(_0x186984[_0x4c5ff4(0x305)]=_0x4c5ff4(0x3a1),_0x186984[_0x4c5ff4(0x260)]=_0x4c5ff4(0x4fb),_0x186984[_0x4c5ff4(0x465)]=_0x4c5ff4(0x261),_0x186984[_0x4c5ff4(0x501)]=_0x4c5ff4(0x51d),_0x186984['AWAITING_WITH_PENDING']=_0x4c5ff4(0x201),_0x186984[_0x4c5ff4(0x26c)]=_0x4c5ff4(0x480),_0x186984['CONFLICT']=_0x4c5ff4(0x313),_0x186984[_0x4c5ff4(0x44d)]=_0x4c5ff4(0x4eb),_0x186984))(Be||{});const Rt=0xea60;class ce{constructor(_0x2b68da,_0x830956,_0x4986b2,_0x5dfcf5,_0x28a1f7,_0x353b13,_0x1fafc1,_0x5f37b6,_0x4f37c5){var _0x458969=_0x4c5ff4;A(this,_0x458969(0x2f4),null),A(this,_0x458969(0x485),[]),(this[_0x458969(0x27a)]=_0x2b68da,this[_0x458969(0x2eb)]=_0x830956,this[_0x458969(0x41a)]=_0x28a1f7,this[_0x458969(0x3c6)]=_0x353b13,this[_0x458969(0x4c7)]=_0x1fafc1,this[_0x458969(0x45c)]=_0x5f37b6,this['_localCacheService']=_0x4f37c5,this[_0x458969(0x2f4)]=_0x4986b2,this['_pendingMutations']=_0x5dfcf5);}[_0x4c5ff4(0x503)](_0x2ba58c){var _0x5b0a9b=_0x4c5ff4;const _0x34a593=this[_0x5b0a9b(0x45c)][_0x5b0a9b(0x4b3)](this[_0x5b0a9b(0x27a)]);return _0x2ba58c[_0x5b0a9b(0x416)]>_0x34a593+0x1?(this['_handler']['onMissingChangesets']({'from':_0x34a593,'to':_0x2ba58c[_0x5b0a9b(0x416)]-0x1}),!0x0):!0x1;}[_0x4c5ff4(0x1fb)](_0x556643){var _0x4635cb=_0x4c5ff4;this[_0x4635cb(0x4c7)][_0x4635cb(0x226)](this[_0x4635cb(0x27a)],_0x556643);}[_0x4c5ff4(0x378)](_0x1f2937){var _0x359e90=_0x4c5ff4,_0x53655f,_0x272da7;(_0x272da7=(_0x53655f=this['_handler'])[_0x359e90(0x39c)])==null||_0x272da7[_0x359e90(0x417)](_0x53655f,_0x1f2937);}['_transformIMECache'](_0x45368e){var _0x4fe87e=_0x4c5ff4,_0x2826ef,_0x345fd3;return(_0x345fd3=(_0x2826ef=this[_0x4fe87e(0x41a)])[_0x4fe87e(0x507)])==null?void 0x0:_0x345fd3[_0x4fe87e(0x417)](_0x2826ef,_0x45368e);}[_0x4c5ff4(0x40c)](_0x4dd0a2){var _0x15fcd5=_0x4c5ff4,_0xe3a6df,_0x159ece;return(_0x159ece=(_0xe3a6df=this['_handler'])[_0x15fcd5(0x2d0)])==null?void 0x0:_0x159ece[_0x15fcd5(0x417)](_0xe3a6df,_0x4dd0a2);}[_0x4c5ff4(0x251)](_0x5f3b73){var _0x7ac16f=_0x4c5ff4,_0x116dec,_0x475a8f,_0x377144;return(_0x377144=(_0x475a8f=(_0x116dec=this[_0x7ac16f(0x41a)])[_0x7ac16f(0x4ea)])==null?void 0x0:_0x475a8f[_0x7ac16f(0x417)](_0x116dec,_0x5f3b73))!=null?_0x377144:_0x5f3b73;}['_transformRemoteChangesetByStateCache'](_0xaf922a){var _0xba18df=_0x4c5ff4,_0x3e2b3e,_0x2db494,_0x3b691a;return(_0x3b691a=(_0x2db494=(_0x3e2b3e=this[_0xba18df(0x41a)])[_0xba18df(0x2f2)])==null?void 0x0:_0x2db494[_0xba18df(0x417)](_0x3e2b3e,_0xaf922a))!=null?_0x3b691a:_0xaf922a;}['_syncEditingCollabCursor'](_0x53a756){var _0x3463ae=_0x4c5ff4,_0x3e4ceb,_0x1a5e80;if(this[_0x3463ae(0x2eb)]===J['UNIVER_DOC']){const {unitID:_0x437d10,mutations:_0x40a395,memberID:_0x91ad31}=_0x53a756,_0x4d60c2=_0x40a395[0x0][_0x3463ae(0x48f)][_0x3463ae(0x278)];Array['isArray'](_0x4d60c2)&&_0x4d60c2['length']>0x0&&((_0x1a5e80=(_0x3e4ceb=this[_0x3463ae(0x41a)])[_0x3463ae(0x4e6)])==null||_0x1a5e80[_0x3463ae(0x417)](_0x3e4ceb,{'unitID':_0x437d10,'memberID':_0x91ad31,'textRanges':_0x4d60c2}));}}[_0x4c5ff4(0x4e2)](){var _0xf79560=_0x4c5ff4,_0x255df4;(_0x255df4=this[_0xf79560(0x3c4)])==null||_0x255df4[_0xf79560(0x2cd)](this[_0xf79560(0x27a)],this[_0xf79560(0x2eb)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x724969=_0x4c5ff4;return this[_0x724969(0x45c)]['getCurrentRevOfUnit'](this[_0x724969(0x27a)]);}[_0x4c5ff4(0x454)](){var _0x1404ec=_0x4c5ff4;this[_0x1404ec(0x45c)][_0x1404ec(0x4cd)](this[_0x1404ec(0x27a)]);}[_0x4c5ff4(0x35c)](_0x30f070){var _0x266da1=_0x4c5ff4,_0x150c58;let _0x182dae=this['_transformRemoteChangesetByIMECache'](_0x30f070);_0x182dae=this[_0x266da1(0x36f)](_0x182dae);const _0x300ff9=a[_0x266da1(0x239)](_0x182dae[_0x266da1(0x2c5)],this[_0x266da1(0x3c6)],{'fromCollab':!0x0});if(!_0x300ff9[_0x266da1(0x447)])throw _0x300ff9[_0x266da1(0x2c9)]instanceof Error?_0x300ff9['error']:new Error((_0x150c58=_0x300ff9['error'])!=null?_0x150c58:_0x266da1(0x2b7));this[_0x266da1(0x2e9)](_0x182dae),this[_0x266da1(0x40c)](_0x182dae),this[_0x266da1(0x1fb)](_0x30f070),this[_0x266da1(0x378)](_0x182dae),this[_0x266da1(0x3c7)](_0x182dae),this[_0x266da1(0x454)]();}}exports[_0x4c5ff4(0x258)]=class extends ce{constructor(_0x29d306,_0x5db6b,_0x242f21,_0x21fdc3,_0x575504,_0x206735,_0x359502,_0xba37d3,_0x193bc2,_0x23cda4){var _0x59f21f=_0x4c5ff4;super(_0x29d306,_0x5db6b,null,[],_0x242f21,_0x359502,_0x206735,_0x21fdc3,_0x23cda4),A(this,_0x59f21f(0x394),'synced'),(this[_0x59f21f(0x2f8)]=_0x575504,this[_0x59f21f(0x2d2)]=_0xba37d3,this['_transformService']=_0x193bc2,this[_0x59f21f(0x443)]=_0x23cda4);}['appendMutation'](_0x108d4c){var _0x589ee4=_0x4c5ff4;const _0x58246d=this[_0x589ee4(0x2f8)][_0x589ee4(0x3e3)](exports['PendingState'],this[_0x589ee4(0x27a)],this[_0x589ee4(0x2eb)],[_0x108d4c],this['_handler']);return _0x58246d['_schedule'](),_0x58246d[_0x589ee4(0x4e2)](),_0x58246d;}['onRemoteChangeset'](_0x50931d){var _0x13c850=_0x4c5ff4;if(this[_0x13c850(0x503)](_0x50931d))return this['_injector']['createInstance'](exports[_0x13c850(0x213)],this[_0x13c850(0x27a)],this[_0x13c850(0x2eb)],null,[],null,[_0x50931d],this[_0x13c850(0x41a)]);try{const _0x2df73c=this[_0x13c850(0x456)][_0x13c850(0x411)](_0x50931d,[ui]);if(p[_0x13c850(0x3ae)](_0x2df73c)){const {c1Prime:_0x4e3f6c}=_0x2df73c;return this[_0x13c850(0x35c)](_0x4e3f6c),this;}throw _0x2df73c['error'];}catch(_0x431e7b){return this[_0x13c850(0x2d2)][_0x13c850(0x2c9)](_0x431e7b),this[_0x13c850(0x3fb)](!0x1);}}[_0x4c5ff4(0x3fb)](_0xd51b42){var _0x54486a=_0x4c5ff4;return this[_0x54486a(0x2f8)][_0x54486a(0x3e3)](exports[_0x54486a(0x327)],this[_0x54486a(0x27a)],this[_0x54486a(0x2eb)],null,[],this[_0x54486a(0x41a)],_0xd51b42);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4c5ff4(0x29a)](){return this;}[_0x4c5ff4(0x35e)](){var _0x38bc43=_0x4c5ff4;return this[_0x38bc43(0x2f8)][_0x38bc43(0x3e3)](exports[_0x38bc43(0x555)],this['unitID'],this[_0x38bc43(0x2eb)],null,[],this[_0x38bc43(0x41a)]);}[_0x4c5ff4(0x276)](){return this;}['resend'](){var _0x20cdc9=_0x4c5ff4;throw new Error(_0x20cdc9(0x36c));}['fetchMiss'](){var _0x1d04b0=_0x4c5ff4;const _0x2a0cce=this[_0x1d04b0(0x45c)][_0x1d04b0(0x4b3)](this['unitID']);return this[_0x1d04b0(0x41a)]['onMissingChangesets']({'from':_0x2a0cce,'to':0x0}),this[_0x1d04b0(0x2f8)][_0x1d04b0(0x3e3)](exports[_0x1d04b0(0x213)],this[_0x1d04b0(0x27a)],this['type'],null,[],null,[],this[_0x1d04b0(0x41a)]);}},exports['SyncedState']=ae([L(0x3,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),L(0x4,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),L(0x5,a[_0x4c5ff4(0x4e8)]),L(0x6,a['ICommandService']),L(0x7,a[_0x4c5ff4(0x4d5)]),L(0x8,p['ITransformService']),L(0x9,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x258)]),exports['PendingState']=class extends ce{constructor(_0x248649,_0x165c6b,_0xbba7c8,_0x4e0fdf,_0x375407,_0x5ac803,_0x18f577,_0x3db703,_0x2511ee,_0x31bf4c,_0x1e2fe0,_0x40a2b0,_0x1f2920,_0x23fc4e){var _0x51d59c=_0x4c5ff4;super(_0x248649,_0x165c6b,null,_0xbba7c8,_0x4e0fdf,_0x2511ee,_0x1f2920,_0x5ac803,_0x23fc4e),A(this,_0x51d59c(0x394),_0x51d59c(0x261)),A(this,_0x51d59c(0x37e),null),A(this,_0x51d59c(0x51f),null),(this[_0x51d59c(0x2f8)]=_0x375407,this[_0x51d59c(0x32b)]=_0x18f577,this['_logService']=_0x3db703,this[_0x51d59c(0x2bb)]=_0x31bf4c,this['_transformService']=_0x1e2fe0,this[_0x51d59c(0x2c3)]=_0x40a2b0);}[_0x4c5ff4(0x4be)](_0x58130c){var _0x2d7189=_0x4c5ff4;return this[_0x2d7189(0x485)][_0x2d7189(0x209)](_0x58130c),this['_updateLocalCache'](),this;}[_0x4c5ff4(0x3dc)](_0x19c222){var _0x5dc0e4=_0x4c5ff4;if(this['_checkMissing'](_0x19c222))return this['_clearScheduledTask'](),this[_0x5dc0e4(0x2f8)][_0x5dc0e4(0x3e3)](exports['FetchingMissState'],this['unitID'],this[_0x5dc0e4(0x2eb)],null,this[_0x5dc0e4(0x485)],null,[_0x19c222],this['_handler']);try{const _0x26180e=this[_0x5dc0e4(0x456)]['transformMutationsWithChangeset'](_0x19c222,this['_pendingMutations']);if(p['isTransformMutationsWithChangesetSuccess'](_0x26180e)){const {c1Prime:_0x43f129,m2Prime:_0x23827d}=_0x26180e;this[_0x5dc0e4(0x35c)](_0x43f129);const _0x575de6=this[_0x5dc0e4(0x2f8)][_0x5dc0e4(0x3e3)](exports[_0x5dc0e4(0x4e5)],this['unitID'],this[_0x5dc0e4(0x2eb)],_0x23827d,this[_0x5dc0e4(0x41a)]);this[_0x5dc0e4(0x53d)]();const _0x455ab2=new Date()['getTime'](),_0x3e9d8c=this[_0x5dc0e4(0x37e)]?Math[_0x5dc0e4(0x3a2)](this[_0x5dc0e4(0x37e)]-_0x455ab2,0x0):this[_0x5dc0e4(0x29c)]();return _0x575de6['_schedule'](_0x3e9d8c),_0x575de6;}throw _0x26180e[_0x5dc0e4(0x2c9)];}catch(_0x104576){return this[_0x5dc0e4(0x2d2)]['error'](_0x104576),this[_0x5dc0e4(0x3fb)](!0x1);}}[_0x4c5ff4(0x1f4)](){var _0x2dc4bb=_0x4c5ff4;throw new Error(_0x2dc4bb(0x554));}[_0x4c5ff4(0x319)](){var _0x2053ff=_0x4c5ff4;throw new Error(_0x2053ff(0x2ef));}[_0x4c5ff4(0x29a)](){return this;}['toggleOffline'](){var _0x5f30e8=_0x4c5ff4;return this['_clearScheduledTask'](),this[_0x5f30e8(0x2f8)][_0x5f30e8(0x3e3)](exports[_0x5f30e8(0x555)],this[_0x5f30e8(0x27a)],this['type'],null,this[_0x5f30e8(0x485)],this[_0x5f30e8(0x41a)]);}[_0x4c5ff4(0x276)](){return this;}[_0x4c5ff4(0x47d)](_0x3dc0b4){var _0x2c888c=_0x4c5ff4;const _0xe2c981=_0x3dc0b4!=null?_0x3dc0b4:this['_getSendChangesetTimeout']();this[_0x2c888c(0x37e)]=new Date()[_0x2c888c(0x36a)]()+_0xe2c981,this['_sendingTimer']=setTimeout(()=>{var _0x56c28e=_0x2c888c;this[_0x56c28e(0x53d)]();let _0x1a0eeb=null;switch(this[_0x56c28e(0x2eb)]){case J[_0x56c28e(0x218)]:{_0x1a0eeb=Ge(this['_pendingMutations'],this[_0x56c28e(0x27a)],this['_univerInstanceService'],this[_0x56c28e(0x45c)],this[_0x56c28e(0x32b)]);break;}case J[_0x56c28e(0x3db)]:{this[_0x56c28e(0x485)][_0x56c28e(0x27f)](_0x2f49ce=>_0x2f49ce['id']===ht['RichTextEditingMutation']['id'])?_0x1a0eeb=li(this[_0x56c28e(0x485)],this[_0x56c28e(0x27a)],this[_0x56c28e(0x2c3)],this[_0x56c28e(0x45c)],this[_0x56c28e(0x32b)]):_0x1a0eeb=Ge(this[_0x56c28e(0x485)],this[_0x56c28e(0x27a)],this[_0x56c28e(0x2c3)],this['_revisionService'],this[_0x56c28e(0x32b)]);break;}default:throw new Error(_0x56c28e(0x3df)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x576b77,pendingMutations:_0x32eded}=_0x1a0eeb;this[_0x56c28e(0x41a)][_0x56c28e(0x2a2)](_0x576b77);const _0x3d9cbc=_0x32eded[_0x56c28e(0x54c)]?this[_0x56c28e(0x2f8)][_0x56c28e(0x3e3)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x56c28e(0x2eb)],_0x576b77,_0x32eded,this[_0x56c28e(0x41a)],void 0x0):this['_injector'][_0x56c28e(0x3e3)](exports[_0x56c28e(0x44a)],this[_0x56c28e(0x27a)],this['type'],_0x576b77,this[_0x56c28e(0x41a)]);_0x3d9cbc['_updateLocalCache'](),this[_0x56c28e(0x41a)][_0x56c28e(0x52e)](this,_0x3d9cbc);},_0xe2c981);}[_0x4c5ff4(0x29c)](){var _0x3dfa2d=_0x4c5ff4,_0x26fd8c;const _0x28a4bd=this['_configService'][_0x3dfa2d(0x296)](G);return(_0x26fd8c=_0x28a4bd==null?void 0x0:_0x28a4bd[_0x3dfa2d(0x2b6)])!=null?_0x26fd8c:xt;}[_0x4c5ff4(0x566)](){var _0xfa44b9=_0x4c5ff4;throw new Error(_0xfa44b9(0x52c));}[_0x4c5ff4(0x53d)](){var _0x35353d=_0x4c5ff4;this[_0x35353d(0x51f)]!=null&&(clearTimeout(this[_0x35353d(0x51f)]),this['_sendingTimer']=null);}[_0x4c5ff4(0x3fb)](_0x58e03b){var _0x5a2893=_0x4c5ff4;return this[_0x5a2893(0x53d)](),this[_0x5a2893(0x2f8)][_0x5a2893(0x3e3)](exports[_0x5a2893(0x327)],this[_0x5a2893(0x27a)],this['type'],null,this['_pendingMutations'],this[_0x5a2893(0x41a)],_0x58e03b);}},exports['PendingState']=ae([L(0x4,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),L(0x5,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),L(0x6,a['Inject'](exports['MemberService'])),L(0x7,a[_0x4c5ff4(0x4d5)]),L(0x8,a[_0x4c5ff4(0x267)]),L(0x9,a[_0x4c5ff4(0x344)]),L(0xa,p[_0x4c5ff4(0x2c8)]),L(0xb,a[_0x4c5ff4(0x2fb)]),L(0xc,a['IUndoRedoService']),L(0xd,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x4e5)]),exports['AwaitingState']=class extends ce{constructor(_0x5ecbe7,_0x965284,_0x37621a,_0x33659d,_0x322f44,_0x21d51a,_0x1861a,_0x4f5f12,_0x5f32e3,_0x5a1c83,_0x16f98b){var _0x1d2f64=_0x4c5ff4;super(_0x5ecbe7,_0x965284,_0x37621a,[],_0x33659d,_0x1861a,_0x5a1c83,_0x21d51a,_0x16f98b),A(this,_0x1d2f64(0x394),'awaiting'),A(this,_0x1d2f64(0x51b),0x0),A(this,_0x1d2f64(0x56c)),A(this,_0x1d2f64(0x462)),(this[_0x1d2f64(0x2f8)]=_0x322f44,this[_0x1d2f64(0x2d2)]=_0x4f5f12,this[_0x1d2f64(0x456)]=_0x5f32e3);}[_0x4c5ff4(0x4be)](_0x4d4196){var _0x370927=_0x4c5ff4;this[_0x370927(0x53d)]();const _0x181923=this[_0x370927(0x2f8)][_0x370927(0x3e3)](exports[_0x370927(0x415)],this[_0x370927(0x27a)],this[_0x370927(0x2eb)],this[_0x370927(0x2f4)],[_0x4d4196],this[_0x370927(0x41a)],this[_0x370927(0x56c)]);return _0x181923[_0x370927(0x4e2)](),_0x181923;}['onRemoteChangeset'](_0x403b26){var _0x3572d5=_0x4c5ff4;if(this[_0x3572d5(0x503)](_0x403b26))return this[_0x3572d5(0x53d)](),this[_0x3572d5(0x2f8)]['createInstance'](exports[_0x3572d5(0x213)],this[_0x3572d5(0x27a)],this[_0x3572d5(0x2eb)],this[_0x3572d5(0x2f4)],[],null,[_0x403b26],this[_0x3572d5(0x41a)]);try{const _0x34ad23=this['_transformService'][_0x3572d5(0x24e)]([_0x403b26],[this[_0x3572d5(0x2f4)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x34ad23)){const {c1Prime:_0x2c10d3,c2Prime:_0x3ca3a7}=_0x34ad23;this[_0x3572d5(0x35c)](_0x2c10d3[0x0]),_0x3ca3a7[0x0][_0x3572d5(0x32f)]=this[_0x3572d5(0x430)](),this[_0x3572d5(0x53d)]();const _0xc2bf1f=this[_0x3572d5(0x2f8)][_0x3572d5(0x3e3)](exports[_0x3572d5(0x44a)],this[_0x3572d5(0x27a)],this['type'],_0x3ca3a7[0x0],this[_0x3572d5(0x41a)]);return _0xc2bf1f[_0x3572d5(0x4e2)](),_0xc2bf1f;}return this['_onConflict'](!0x1);}catch(_0x14e105){return this['_logService'][_0x3572d5(0x2c9)](_0x14e105),this[_0x3572d5(0x3fb)](!0x1);}}[_0x4c5ff4(0x1f4)](_0x85e219){var _0x1984bb=_0x4c5ff4;this['_clearScheduledTask']();const _0x58a521=this[_0x1984bb(0x45c)][_0x1984bb(0x4b3)](this['unitID']);if(_0x85e219[_0x1984bb(0x416)]<_0x58a521-0x1)return this;if(this[_0x1984bb(0x503)](_0x85e219))return this[_0x1984bb(0x2f8)]['createInstance'](exports[_0x1984bb(0x213)],this[_0x1984bb(0x27a)],this[_0x1984bb(0x2eb)],null,[],this[_0x1984bb(0x2f4)],[],this[_0x1984bb(0x41a)]);this[_0x1984bb(0x454)]();const _0x4bf406=this[_0x1984bb(0x2f8)][_0x1984bb(0x3e3)](exports[_0x1984bb(0x258)],this[_0x1984bb(0x27a)],this[_0x1984bb(0x2eb)],this['_handler']);return _0x4bf406[_0x1984bb(0x4e2)](),_0x4bf406;}[_0x4c5ff4(0x319)](_0x154a13){var _0x2052ee=_0x4c5ff4;return this['_onConflict'](!!(_0x154a13!=null&&_0x154a13[_0x2052ee(0x2f0)]));}[_0x4c5ff4(0x29a)](_0x383170){var _0x3bd393=_0x4c5ff4;return this[_0x3bd393(0x51b)]>Rt?this[_0x3bd393(0x35e)]():(this['_resendTimer']=bt(this[_0x3bd393(0x51b)],{'timeout':this[_0x3bd393(0x51b)],'reqId':_0x383170[_0x3bd393(0x302)]}),this[_0x3bd393(0x462)]=this[_0x3bd393(0x56c)]['subscribe'](({reqId:_0x2c59b9,timeout:_0x43364f})=>{var _0xecbecb=_0x3bd393;this[_0xecbecb(0x547)](_0x2c59b9,_0x43364f);}),this);}[_0x4c5ff4(0x35e)](){var _0x10096a=_0x4c5ff4;return this['_clearScheduledTask'](),this[_0x10096a(0x2f8)][_0x10096a(0x3e3)](exports[_0x10096a(0x555)],this['unitID'],this[_0x10096a(0x2eb)],this[_0x10096a(0x2f4)],[],this[_0x10096a(0x41a)]);}[_0x4c5ff4(0x276)](){return this;}[_0x4c5ff4(0x566)](){var _0x18de5f=_0x4c5ff4;this[_0x18de5f(0x41a)][_0x18de5f(0x2a2)](this[_0x18de5f(0x2f4)]);}[_0x4c5ff4(0x3fb)](_0x222a43){var _0x303aa8=_0x4c5ff4;return this[_0x303aa8(0x53d)](),this[_0x303aa8(0x2f8)][_0x303aa8(0x3e3)](exports[_0x303aa8(0x327)],this[_0x303aa8(0x27a)],this[_0x303aa8(0x2eb)],this['_awaitingChangeset'],[],this[_0x303aa8(0x41a)],_0x222a43);}[_0x4c5ff4(0x547)](_0x9cbc59,_0x375453){var _0x1cf4f2=_0x4c5ff4,_0x2978f3;_0x9cbc59===((_0x2978f3=this['_awaitingChangeset'])==null?void 0x0:_0x2978f3[_0x1cf4f2(0x302)])&&(this['resend'](),this[_0x1cf4f2(0x51b)]=_0x375453===0x0?0x3e8:_0x375453*0x2);}[_0x4c5ff4(0x53d)](){var _0x1ede95=_0x4c5ff4,_0x432094;(_0x432094=this[_0x1ede95(0x462)])==null||_0x432094[_0x1ede95(0x49f)](),this[_0x1ede95(0x51b)]=0x0;}},exports['AwaitingState']=ae([L(0x4,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),L(0x5,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),L(0x6,a[_0x4c5ff4(0x267)]),L(0x7,a[_0x4c5ff4(0x4d5)]),L(0x8,p[_0x4c5ff4(0x2c8)]),L(0x9,a[_0x4c5ff4(0x4e8)]),L(0xa,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x44a)]),exports['AwaitingWithPendingState']=class extends ce{constructor(_0x332232,_0x41f025,_0x57b4a6,_0x4a0bfd,_0x29819b,_0x45e33e,_0x218689,_0x94bbd,_0x5bdced,_0x54a7f8,_0x34cba8,_0x578327,_0x3624a5){var _0x57740c=_0x4c5ff4;super(_0x332232,_0x41f025,_0x57b4a6,_0x4a0bfd,_0x29819b,_0x5bdced,_0x578327,_0x94bbd,_0x3624a5),A(this,_0x57740c(0x394),_0x57740c(0x201)),A(this,_0x57740c(0x51b),0x0),A(this,_0x57740c(0x56c)),A(this,_0x57740c(0x462)),(this[_0x57740c(0x2f8)]=_0x218689,this[_0x57740c(0x2d2)]=_0x54a7f8,this[_0x57740c(0x456)]=_0x34cba8,this[_0x57740c(0x443)]=_0x3624a5,_0x45e33e&&(this[_0x57740c(0x56c)]=_0x45e33e,this[_0x57740c(0x462)]=this[_0x57740c(0x56c)]['subscribe'](({reqId:_0x13543a,timeout:_0x1c4811})=>{var _0x5d0d48=_0x57740c;this[_0x5d0d48(0x547)](_0x13543a,_0x1c4811);})));}[_0x4c5ff4(0x4be)](_0x2ff688){var _0x192c76=_0x4c5ff4;return this[_0x192c76(0x485)][_0x192c76(0x209)](_0x2ff688),this;}[_0x4c5ff4(0x3dc)](_0x21f30d){var _0x30603c=_0x4c5ff4;if(this['_checkMissing'](_0x21f30d))return this[_0x30603c(0x53d)](),this[_0x30603c(0x2f8)][_0x30603c(0x3e3)](exports[_0x30603c(0x213)],this[_0x30603c(0x27a)],this['type'],this[_0x30603c(0x2f4)],this[_0x30603c(0x485)],null,[_0x21f30d],this[_0x30603c(0x41a)]);try{const _0x354a5b=this[_0x30603c(0x456)]['transformChangesets']([_0x21f30d],[this[_0x30603c(0x2f4)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x354a5b)){const {c1Prime:_0x490e61,c2Prime:_0x3871f3}=_0x354a5b,_0x1b0c1e=this[_0x30603c(0x456)][_0x30603c(0x411)](_0x490e61[0x0],this[_0x30603c(0x485)]);if(p[_0x30603c(0x3ae)](_0x1b0c1e)){const {c1Prime:_0xba63ed,m2Prime:_0x249998}=_0x1b0c1e;return this[_0x30603c(0x35c)](_0xba63ed),_0x3871f3[0x0]['baseRev']=this[_0x30603c(0x430)](),this[_0x30603c(0x53d)](),this[_0x30603c(0x2f8)][_0x30603c(0x3e3)](exports[_0x30603c(0x415)],this[_0x30603c(0x27a)],this[_0x30603c(0x2eb)],_0x3871f3[0x0],_0x249998,this[_0x30603c(0x41a)],void 0x0);}throw _0x1b0c1e[_0x30603c(0x2c9)];}throw _0x354a5b[_0x30603c(0x2c9)];}catch(_0x32faaa){return this[_0x30603c(0x2d2)]['error'](_0x32faaa),this[_0x30603c(0x3fb)](!0x1);}}['onRemoteAck'](_0x17ce5d){var _0x44964f=_0x4c5ff4;if(this[_0x44964f(0x53d)](),this['_checkMissing'](_0x17ce5d))return this[_0x44964f(0x2f8)][_0x44964f(0x3e3)](exports['FetchingMissState'],this[_0x44964f(0x27a)],this['type'],null,this[_0x44964f(0x485)],this[_0x44964f(0x2f4)],[],this[_0x44964f(0x41a)]);this[_0x44964f(0x454)]();const _0x1cc738=this[_0x44964f(0x2f8)][_0x44964f(0x3e3)](exports[_0x44964f(0x4e5)],this[_0x44964f(0x27a)],this['type'],this[_0x44964f(0x485)],this[_0x44964f(0x41a)]);return _0x1cc738[_0x44964f(0x47d)](),_0x1cc738[_0x44964f(0x4e2)](),_0x1cc738;}[_0x4c5ff4(0x319)](_0x259fb1){var _0xfc254d=_0x4c5ff4;return this[_0xfc254d(0x3fb)](!!(_0x259fb1!=null&&_0x259fb1[_0xfc254d(0x2f0)]));}[_0x4c5ff4(0x29a)](_0x5a54a0){var _0x5315b6=_0x4c5ff4;return this[_0x5315b6(0x51b)]>Rt?this[_0x5315b6(0x35e)]():(this['_resendTimer']=bt(this['_resendTimeout'],{'timeout':this[_0x5315b6(0x51b)],'reqId':_0x5a54a0[_0x5315b6(0x302)]}),this[_0x5315b6(0x462)]=this[_0x5315b6(0x56c)][_0x5315b6(0x240)](({reqId:_0x53681d,timeout:_0x1798c6})=>{var _0x2f91bb=_0x5315b6;this[_0x2f91bb(0x547)](_0x53681d,_0x1798c6);}),this);}[_0x4c5ff4(0x35e)](){var _0x50ee2f=_0x4c5ff4;return this[_0x50ee2f(0x53d)](),this[_0x50ee2f(0x2f8)][_0x50ee2f(0x3e3)](exports[_0x50ee2f(0x555)],this[_0x50ee2f(0x27a)],this['type'],this[_0x50ee2f(0x2f4)],this[_0x50ee2f(0x485)],this[_0x50ee2f(0x41a)]);}['toggleOnline'](){return this;}[_0x4c5ff4(0x566)](){var _0xe9e19f=_0x4c5ff4;this['_handler'][_0xe9e19f(0x2a2)](this[_0xe9e19f(0x2f4)]);}[_0x4c5ff4(0x3fb)](_0x1b30bd){var _0xfa7529=_0x4c5ff4;return this[_0xfa7529(0x53d)](),this['_injector']['createInstance'](exports[_0xfa7529(0x327)],this[_0xfa7529(0x27a)],this[_0xfa7529(0x2eb)],null,this['_pendingMutations'],this[_0xfa7529(0x41a)],_0x1b30bd);}[_0x4c5ff4(0x547)](_0x2597c8,_0x4aea1d){var _0x40502c=_0x4c5ff4,_0x1ba2df;_0x2597c8===((_0x1ba2df=this[_0x40502c(0x2f4)])==null?void 0x0:_0x1ba2df[_0x40502c(0x302)])&&(this[_0x40502c(0x566)](),this['_resendTimeout']=_0x4aea1d===0x0?0x3e8:_0x4aea1d*0x2);}['_clearScheduledTask'](){var _0x52d364=_0x4c5ff4,_0x1485d6;(_0x1485d6=this['_sender'])==null||_0x1485d6[_0x52d364(0x49f)](),this[_0x52d364(0x51b)]=0x0;}},exports[_0x4c5ff4(0x415)]=ae([L(0x6,a['Inject'](a[_0x4c5ff4(0x506)])),L(0x7,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),L(0x8,a['ICommandService']),L(0x9,a[_0x4c5ff4(0x4d5)]),L(0xa,p[_0x4c5ff4(0x2c8)]),L(0xb,a[_0x4c5ff4(0x4e8)]),L(0xc,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x415)]),exports['ConflictState']=class extends ce{constructor(_0x3534b5,_0x386c95,_0x11d92f,_0x4b644e,_0x25228f,_0x26a215=!0x1,_0x2b0b87,_0x59e940,_0x40ed12,_0x236dd8,_0x38dd15,_0x2675e9,_0x2c30b2){var _0x18017a=_0x4c5ff4;super(_0x3534b5,_0x386c95,_0x11d92f,_0x4b644e,_0x25228f,_0x59e940,_0x40ed12,_0x236dd8,_0x2c30b2),A(this,_0x18017a(0x394),_0x18017a(0x313)),(this[_0x18017a(0x24c)]=_0x26a215,this[_0x18017a(0x35f)]=_0x2b0b87,this[_0x18017a(0x563)]=_0x38dd15,this['_collaborationUIEventService']=_0x2675e9,this[_0x18017a(0x443)]=_0x2c30b2,this[_0x18017a(0x2e5)](),this[_0x18017a(0x45d)](),this[_0x18017a(0x337)]());}['appendMutation'](){return this;}[_0x4c5ff4(0x3dc)](){return this;}['onRemoteAck'](){return this;}[_0x4c5ff4(0x319)](){return this;}[_0x4c5ff4(0x29a)](){return this;}[_0x4c5ff4(0x35e)](){return this;}[_0x4c5ff4(0x276)](){return this;}[_0x4c5ff4(0x566)](){var _0x3b7c26=_0x4c5ff4;throw new Error(_0x3b7c26(0x39a));}[_0x4c5ff4(0x45d)](){var _0x48bf4a=_0x4c5ff4,_0xc336a4;(_0xc336a4=this[_0x48bf4a(0x3c4)])==null||_0xc336a4['updateOfflineData'](this[_0x48bf4a(0x27a)],this[_0x48bf4a(0x2eb)],null,[]);}[_0x4c5ff4(0x2e5)](){var _0x28431f=_0x4c5ff4;this['_isPermissionRej']?this[_0x28431f(0x4ba)][_0x28431f(0x2ab)]({'id':Z['PERMISSION_DENIED']}):this[_0x28431f(0x4ba)][_0x28431f(0x2ab)]({'id':Z[_0x28431f(0x26b)]});}[_0x4c5ff4(0x337)](){var _0xb8367e=_0x4c5ff4;this[_0xb8367e(0x35f)][_0xb8367e(0x2c6)](new X[(_0xb8367e(0x53b))](this[_0xb8367e(0x27a)])['id'],!0x1);}},exports[_0x4c5ff4(0x327)]=ae([L(0x6,a[_0x4c5ff4(0x2d6)](a['IPermissionService'])),L(0x7,a['ICommandService']),L(0x8,a[_0x4c5ff4(0x4e8)]),L(0x9,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),L(0xa,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x4c4)])),L(0xb,a[_0x4c5ff4(0x2d6)](ee)),L(0xc,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x327)]),exports[_0x4c5ff4(0x555)]=class extends ce{constructor(_0x14e316,_0x4433fb,_0x1426c4,_0x52f399,_0x510a95,_0x19b9c8,_0x4b469a,_0x38255b,_0xe2bebb,_0x5a862c){var _0x85fdec=_0x4c5ff4;super(_0x14e316,_0x4433fb,_0x1426c4,_0x52f399,_0x510a95,_0x38255b,_0xe2bebb,_0x4b469a,_0x5a862c),A(this,_0x85fdec(0x394),_0x85fdec(0x4eb)),this[_0x85fdec(0x2f8)]=_0x19b9c8;}[_0x4c5ff4(0x4be)](_0x19299a){var _0x272423=_0x4c5ff4;return this[_0x272423(0x485)]['push'](_0x19299a),this[_0x272423(0x4e2)](),this;}[_0x4c5ff4(0x3dc)](_0x24aeb7){var _0x5ce839=_0x4c5ff4;throw new Error(_0x5ce839(0x423));}[_0x4c5ff4(0x1f4)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4c5ff4(0x319)](){var _0x3d2c4c=_0x4c5ff4;throw new Error(_0x3d2c4c(0x21e));}[_0x4c5ff4(0x29a)](){return this;}['toggleOffline'](){return this;}[_0x4c5ff4(0x276)](){var _0x37cde6=_0x4c5ff4;const {_injector:_0x2e039e,_pendingMutations:_0x7e7f6e,_awaitingChangeset:_0xbf4153,unitID:_0x478327,_handler:_0x5a4bf8,type:_0x544af1}=this,_0x563bf9=Ot(_0x2e039e,_0x478327,_0x544af1,_0xbf4153,_0x7e7f6e,_0x5a4bf8);return _0x563bf9 instanceof exports[_0x37cde6(0x4e5)]?_0x563bf9[_0x37cde6(0x47d)]():(_0x563bf9 instanceof exports[_0x37cde6(0x415)]||_0x563bf9 instanceof exports['AwaitingState'])&&_0x563bf9[_0x37cde6(0x566)](),_0x563bf9;}[_0x4c5ff4(0x566)](){var _0xf22a7e=_0x4c5ff4;throw new Error(_0xf22a7e(0x43c));}},exports[_0x4c5ff4(0x555)]=ae([L(0x5,a['Inject'](a[_0x4c5ff4(0x506)])),L(0x6,a[_0x4c5ff4(0x2d6)](p['RevisionService'])),L(0x7,a[_0x4c5ff4(0x267)]),L(0x8,a[_0x4c5ff4(0x4e8)]),L(0x9,a['Optional'](q))],exports[_0x4c5ff4(0x555)]),exports[_0x4c5ff4(0x213)]=class extends ce{constructor(_0x308c9f,_0x156d9a,_0x46e5cf,_0x2eeb38,_0x5d9adf,_0x2eb056,_0x5341d0,_0x414f9c,_0x555653,_0x17306d,_0x2a0142,_0xaf2f61,_0x4dfefa,_0x76851f){var _0x5577a6=_0x4c5ff4;super(_0x308c9f,_0x156d9a,_0x46e5cf,_0x2eeb38,_0x5341d0,_0x2a0142,_0xaf2f61,_0x555653,_0x76851f),A(this,_0x5577a6(0x394),_0x5577a6(0x480)),(this[_0x5577a6(0x1fc)]=_0x5d9adf,this['_queuedRemoteChangesets']=_0x2eb056,this[_0x5577a6(0x2f8)]=_0x414f9c,this[_0x5577a6(0x2d2)]=_0x17306d,this[_0x5577a6(0x456)]=_0x4dfefa,this[_0x5577a6(0x443)]=_0x76851f);}[_0x4c5ff4(0x2be)](_0x41dc80){var _0x3612e9=_0x4c5ff4;try{const _0x3a02a0=[..._0x41dc80,...this[_0x3612e9(0x436)]],_0x237dd1=[this[_0x3612e9(0x2f4)]||this['_acknowledgedAwaitingChangeset']][_0x3612e9(0x3e9)](_0x21401c=>!!_0x21401c);let _0x9ccfbe,_0x1090ff;if(_0x237dd1[_0x3612e9(0x54c)]){const _0x5c570a=this[_0x3612e9(0x456)][_0x3612e9(0x24e)](_0x3a02a0,_0x237dd1,!0x1);if(!p[_0x3612e9(0x556)](_0x5c570a))throw _0x5c570a[_0x3612e9(0x2c9)];_0x9ccfbe=_0x5c570a[_0x3612e9(0x362)],_0x1090ff=_0x5c570a[_0x3612e9(0x491)];}else _0x9ccfbe=_0x3a02a0,_0x1090ff=[];let _0x5e1938=this[_0x3612e9(0x485)];_0x9ccfbe[_0x3612e9(0x56d)](_0x3b4a0b=>{var _0x36ffe5=_0x3612e9;let _0x30bf2b;if(_0x5e1938[_0x36ffe5(0x54c)]){const _0x312191=this['_transformService'][_0x36ffe5(0x411)](_0x3b4a0b,_0x5e1938);if(!p['isTransformMutationsWithChangesetSuccess'](_0x312191))throw _0x312191[_0x36ffe5(0x2c9)];_0x30bf2b=_0x312191['c1Prime'],_0x5e1938=_0x312191[_0x36ffe5(0x409)];}else _0x30bf2b=_0x3b4a0b;this[_0x36ffe5(0x35c)](_0x30bf2b);}),this[_0x3612e9(0x1fc)]&&this[_0x3612e9(0x454)](),this[_0x3612e9(0x2f4)]&&_0x1090ff[_0x3612e9(0x54c)]&&(_0x1090ff[0x0][_0x3612e9(0x32f)]=this[_0x3612e9(0x430)]());let _0x45472d;if(this[_0x3612e9(0x2f4)]&&_0x5e1938[_0x3612e9(0x54c)]!==0x0)_0x45472d=this[_0x3612e9(0x2f8)][_0x3612e9(0x3e3)](exports[_0x3612e9(0x415)],this[_0x3612e9(0x27a)],this['type'],_0x1090ff[0x0],_0x5e1938,this[_0x3612e9(0x41a)],void 0x0);else{if(this[_0x3612e9(0x2f4)]&&_0x5e1938[_0x3612e9(0x54c)]===0x0)_0x1090ff[0x0]['baseRev']=this[_0x3612e9(0x430)](),_0x45472d=this[_0x3612e9(0x2f8)]['createInstance'](exports[_0x3612e9(0x44a)],this[_0x3612e9(0x27a)],this[_0x3612e9(0x2eb)],_0x1090ff[0x0],this['_handler']);else{if(_0x5e1938[_0x3612e9(0x54c)]!==0x0){const _0x10e41b=this[_0x3612e9(0x2f8)][_0x3612e9(0x3e3)](exports[_0x3612e9(0x4e5)],this[_0x3612e9(0x27a)],this['type'],_0x5e1938,this[_0x3612e9(0x41a)]);_0x10e41b[_0x3612e9(0x47d)](),_0x45472d=_0x10e41b;}else _0x45472d=this['_injector'][_0x3612e9(0x3e3)](exports[_0x3612e9(0x258)],this[_0x3612e9(0x27a)],this[_0x3612e9(0x2eb)],this[_0x3612e9(0x41a)]);}}return _0x45472d[_0x3612e9(0x4e2)](),_0x45472d;}catch(_0xe7cc5){return this[_0x3612e9(0x2d2)]['error'](_0x3612e9(0x4b6),'failed\x20to\x20apply\x20missed\x20changesets!',_0xe7cc5),this[_0x3612e9(0x2f8)][_0x3612e9(0x3e3)](exports[_0x3612e9(0x327)],this['unitID'],this[_0x3612e9(0x2eb)],this[_0x3612e9(0x2f4)],this[_0x3612e9(0x485)],this['_handler'],!0x1);}}[_0x4c5ff4(0x566)](){var _0xc2002b=_0x4c5ff4;throw new Error(_0xc2002b(0x1ef));}[_0x4c5ff4(0x4be)](_0x388efe){var _0x128bcf=_0x4c5ff4;return this[_0x128bcf(0x485)]['push'](_0x388efe),this;}[_0x4c5ff4(0x3dc)](_0xe34170){var _0x250477=_0x4c5ff4;return this['_queuedRemoteChangesets'][_0x250477(0x209)](_0xe34170),this;}[_0x4c5ff4(0x1f4)](_0x1271bf){var _0x157aec=_0x4c5ff4;if(this[_0x157aec(0x2f4)])return this[_0x157aec(0x1fc)]=this[_0x157aec(0x2f4)],this[_0x157aec(0x2f4)]=null,this;throw new Error(_0x157aec(0x55a));}[_0x4c5ff4(0x319)](_0x392613){var _0x27617c=_0x4c5ff4;return this[_0x27617c(0x3fb)](!!(_0x392613!=null&&_0x392613[_0x27617c(0x2f0)]));}[_0x4c5ff4(0x29a)](){return this;}[_0x4c5ff4(0x35e)](){var _0x2fec0a=_0x4c5ff4;return this[_0x2fec0a(0x2f8)]['createInstance'](exports['OfflineState'],this[_0x2fec0a(0x27a)],this[_0x2fec0a(0x2eb)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x4c5ff4(0x276)](){return this;}['_onConflict'](_0x548a10){var _0xb5f30c=_0x4c5ff4;return this[_0xb5f30c(0x2f8)][_0xb5f30c(0x3e3)](exports[_0xb5f30c(0x327)],this[_0xb5f30c(0x27a)],this[_0xb5f30c(0x2eb)],this[_0xb5f30c(0x2f4)],this[_0xb5f30c(0x485)],this[_0xb5f30c(0x41a)],_0x548a10);}},exports[_0x4c5ff4(0x213)]=ae([L(0x7,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),L(0x8,a['Inject'](p[_0x4c5ff4(0x2d8)])),L(0x9,a[_0x4c5ff4(0x4d5)]),L(0xa,a[_0x4c5ff4(0x267)]),L(0xb,a[_0x4c5ff4(0x4e8)]),L(0xc,p[_0x4c5ff4(0x2c8)]),L(0xd,a[_0x4c5ff4(0x28a)](q))],exports['FetchingMissState']);function Ot(_0x31f311,_0x2981c6,_0x594b86,_0x1306fb,_0x341174,_0x1718ba){var _0x56edcb=_0x4c5ff4;return _0x1306fb&&_0x341174[_0x56edcb(0x54c)]?_0x31f311['createInstance'](exports[_0x56edcb(0x415)],_0x2981c6,_0x594b86,_0x1306fb,_0x341174,_0x1718ba,void 0x0):_0x1306fb?_0x31f311[_0x56edcb(0x3e3)](exports['AwaitingState'],_0x2981c6,_0x594b86,_0x1306fb,_0x1718ba):_0x341174[_0x56edcb(0x54c)]?_0x31f311['createInstance'](exports['PendingState'],_0x2981c6,_0x594b86,_0x341174,_0x1718ba):_0x31f311[_0x56edcb(0x3e3)](exports[_0x56edcb(0x258)],_0x2981c6,_0x594b86,_0x1718ba);}var vi=Object[_0x4c5ff4(0x405)],Fe=(_0x1066d2,_0xc4c526,_0x12852b,_0x3f3d56)=>{for(var _0x184077=_0x3f3d56>0x1?void 0x0:_0x3f3d56?vi(_0xc4c526,_0x12852b):_0xc4c526,_0x192af6=_0x1066d2['length']-0x1,_0xb37b67;_0x192af6>=0x0;_0x192af6--)(_0xb37b67=_0x1066d2[_0x192af6])&&(_0x184077=_0xb37b67(_0x184077)||_0x184077);return _0x184077;},j=(_0x3ae9fb,_0x459bec)=>(_0x9f1ad4,_0xb2085)=>_0x459bec(_0x9f1ad4,_0xb2085,_0x3ae9fb);exports['CollaborationEntity']=class extends a[_0x4c5ff4(0x2fc)]{constructor(_0x5d43ed,_0x23be68,_0x4f620f,_0x43aaed,_0x182b77,_0x10cad7,_0x73a9b7,_0x39d853,_0x5f4bde,_0x13fa9e,_0xe75e65,_0xbf9e69,_0x2632dd){var _0x4cbf85=_0x4c5ff4;super(),A(this,_0x4cbf85(0x1f5),new $[(_0x4cbf85(0x40e))](null)),A(this,_0x4cbf85(0x510),this[_0x4cbf85(0x1f5)][_0x4cbf85(0x2c1)]()),A(this,_0x4cbf85(0x4da)),A(this,'_collaborationPaused',!0x1),A(this,_0x4cbf85(0x304),''),A(this,_0x4cbf85(0x47f),0x0),A(this,_0x4cbf85(0x3ed),this[_0x4cbf85(0x510)][_0x4cbf85(0x51e)]($[_0x4cbf85(0x474)](_0x241e37=>_0x241e37?_0x241e37[_0x4cbf85(0x394)]:Be['OFFLINE']),$[_0x4cbf85(0x46c)](0x1))),A(this,_0x4cbf85(0x459),!0x1),A(this,_0x4cbf85(0x28f),[]),(this['unitID']=_0x5d43ed,this[_0x4cbf85(0x332)]=_0x23be68,this[_0x4cbf85(0x400)]=_0x4f620f,this[_0x4cbf85(0x2f8)]=_0x43aaed,this['_compressMutationService']=_0x182b77,this[_0x4cbf85(0x563)]=_0x10cad7,this['_revisionService']=_0x73a9b7,this[_0x4cbf85(0x448)]=_0x39d853,this[_0x4cbf85(0x2d2)]=_0x5f4bde,this['_commandService']=_0x13fa9e,this[_0x4cbf85(0x35f)]=_0xe75e65,this[_0x4cbf85(0x1f6)]=_0xbf9e69,this[_0x4cbf85(0x3c4)]=_0x2632dd);}get[_0x4c5ff4(0x23d)](){var _0x1bb977=_0x4c5ff4;return this[_0x1bb977(0x4da)];}async[_0x4c5ff4(0x1f3)](){var _0x3ad1eb=_0x4c5ff4;if(this[_0x3ad1eb(0x23d)])throw new Error(_0x3ad1eb(0x497));await this['_init']();}[_0x4c5ff4(0x38a)](){var _0x1da84c=_0x4c5ff4;return this[_0x1da84c(0x45f)]=!0x0,a[_0x1da84c(0x426)](()=>{var _0x32f7cd=_0x1da84c;this[_0x32f7cd(0x45f)]=!0x1,this[_0x32f7cd(0x293)]();});}[_0x4c5ff4(0x397)](_0x1357b9){var _0xee5bf4=_0x4c5ff4;this[_0xee5bf4(0x4b5)](_0x1357b9);}[_0x4c5ff4(0x25b)](_0x3a3238){var _0x4076d2=_0x4c5ff4;this[_0x4076d2(0x4da)]=_0x3a3238,this[_0x4076d2(0x1f5)]['next'](_0x3a3238);}async[_0x4c5ff4(0x352)](){var _0x4dc1e0=_0x4c5ff4,_0xc72163;this[_0x4dc1e0(0x25b)](await this[_0x4dc1e0(0x540)]()),this[_0x4dc1e0(0x1f6)]&&((_0xc72163=this[_0x4dc1e0(0x1f6)])==null||_0xc72163['editingUnit'](this[_0x4dc1e0(0x27a)]),this[_0x4dc1e0(0x294)](this[_0x4dc1e0(0x1f6)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x201a72=>{var _0x2cf2d0=_0x4dc1e0;this[_0x2cf2d0(0x2d2)][_0x2cf2d0(0x205)](_0x2cf2d0(0x308),_0x2cf2d0(0x355),_0x201a72),_0x201a72===je[_0x2cf2d0(0x518)]?(this[_0x2cf2d0(0x448)][_0x2cf2d0(0x2ab)]({'id':Z[_0x2cf2d0(0x4a1)]}),this['_permissionService'][_0x2cf2d0(0x2c6)](new X[(_0x2cf2d0(0x53b))](this[_0x2cf2d0(0x27a)])['id'],!0x1),this[_0x2cf2d0(0x35f)][_0x2cf2d0(0x214)](!0x1)):(this[_0x2cf2d0(0x35f)]['updatePermissionPoint'](new X['WorkbookEditablePermission'](this[_0x2cf2d0(0x27a)])['id'],!0x0),this[_0x2cf2d0(0x35f)][_0x2cf2d0(0x214)](!0x0));})));let _0x1fc351=!0x1;return this[_0x4dc1e0(0x294)](this[_0x4dc1e0(0x332)]['sessionStatus$'][_0x4dc1e0(0x240)](_0x3db13d=>{var _0x4aca36=_0x4dc1e0;_0x3db13d===re[_0x4aca36(0x4a2)]?this[_0x4aca36(0x2c2)](_0x1fc351):_0x3db13d===re[_0x4aca36(0x44d)]&&(_0x1fc351=!0x0,this[_0x4aca36(0x543)]());})),this['disposeWithMe'](this[_0x4dc1e0(0x332)]['event$']['subscribe'](_0x111b40=>{var _0x1c5530=_0x4dc1e0;try{switch(_0x111b40[_0x1c5530(0x299)]){case p[_0x1c5530(0x3f0)]['NEW_CHANGESETS']:{this[_0x1c5530(0x383)](p[_0x1c5530(0x546)](_0x111b40['data']));break;}case p['CollaborationEvent'][_0x1c5530(0x33f)]:{this[_0x1c5530(0x389)](_0x111b40['data']);break;}case p[_0x1c5530(0x3f0)][_0x1c5530(0x22d)]:{this[_0x1c5530(0x386)]();break;}case p[_0x1c5530(0x3f0)][_0x1c5530(0x4d3)]:{this[_0x1c5530(0x223)](_0x111b40['data']);break;}case p[_0x1c5530(0x3f0)][_0x1c5530(0x29f)]:{this[_0x1c5530(0x4dd)](_0x111b40[_0x1c5530(0x1e8)][_0x1c5530(0x3ff)]['map'](_0x205016=>p[_0x1c5530(0x546)](_0x205016)));break;}case p[_0x1c5530(0x3f0)][_0x1c5530(0x33a)]:{this[_0x1c5530(0x386)]({'isPermissionRej':!0x0});break;}case p['CollaborationEvent'][_0x1c5530(0x2f3)]:break;}}catch(_0x2d765d){throw console[_0x1c5530(0x2c9)](_0x1c5530(0x32e),_0x2d765d),_0x2d765d;}})),this[_0x4dc1e0(0x4da)];}[_0x4c5ff4(0x452)](){var _0x46dc52=_0x4c5ff4;this[_0x46dc52(0x459)]=!0x1;}['_lockTransition'](){var _0x50f7cb=_0x4c5ff4;if(this['_transitionLocked'])throw new Error(_0x50f7cb(0x358));this[_0x50f7cb(0x459)]=!0x0;}['_onLocalMutation'](_0x4cb49c){var _0xda3ae1=_0x4c5ff4;this['_lockTransition'](),this[_0xda3ae1(0x25b)](this[_0xda3ae1(0x4da)][_0xda3ae1(0x4be)](_0x4cb49c)),this[_0xda3ae1(0x452)]();}[_0x4c5ff4(0x383)](_0x150b3c){var _0x1a0ef8=_0x4c5ff4;if(!(_0x150b3c['revision']<=this[_0x1a0ef8(0x45c)]['getCurrentRevOfUnit'](this[_0x1a0ef8(0x27a)]))){if(this['_collaborationPaused']){this[_0x1a0ef8(0x28f)][_0x1a0ef8(0x209)](_0x150b3c);return;}this[_0x1a0ef8(0x435)](_0x150b3c);}}[_0x4c5ff4(0x293)](){var _0x38da31=_0x4c5ff4;this['_remoteChangesetQueue'][_0x38da31(0x56d)](_0x4e103a=>this[_0x38da31(0x435)](_0x4e103a)),this[_0x38da31(0x28f)]=[];}[_0x4c5ff4(0x435)](_0x3e4eec){var _0x50901f=_0x4c5ff4;const _0x540e7f=this['_compressMutationService']['interceptor'][_0x50901f(0x429)](this[_0x50901f(0x228)]['interceptor'][_0x50901f(0x414)]()[_0x50901f(0x4f6)])(_0x3e4eec['mutations'],null)||_0x3e4eec[_0x50901f(0x2c5)],_0x3c6d6a={..._0x3e4eec,'mutations':_0x540e7f};this[_0x50901f(0x48b)](),this[_0x50901f(0x25b)](this[_0x50901f(0x4da)][_0x50901f(0x3dc)](_0x3c6d6a)),this['_unlockTransition']();}[_0x4c5ff4(0x389)](_0x3952e5){var _0x439fff=_0x4c5ff4;this[_0x439fff(0x48b)](),this[_0x439fff(0x25b)](this[_0x439fff(0x4da)][_0x439fff(0x1f4)](_0x3952e5)),this[_0x439fff(0x452)]();}[_0x4c5ff4(0x386)](_0x66023f){var _0x24310f=_0x4c5ff4;this[_0x24310f(0x48b)](),this[_0x24310f(0x25b)](this[_0x24310f(0x4da)][_0x24310f(0x319)](_0x66023f)),this[_0x24310f(0x452)]();}[_0x4c5ff4(0x223)](_0x34dd26){var _0x2e54f3=_0x4c5ff4;this[_0x2e54f3(0x48b)](),this[_0x2e54f3(0x25b)](this[_0x2e54f3(0x4da)][_0x2e54f3(0x29a)](_0x34dd26)),this[_0x2e54f3(0x452)]();}[_0x4c5ff4(0x4dd)](_0x369f1f){var _0x15f471=_0x4c5ff4;if(!(this['_state']instanceof exports[_0x15f471(0x213)]))throw new TypeError(_0x15f471(0x55c));const _0xb6907d=_0x369f1f[_0x15f471(0x474)](_0x4caa0b=>{var _0x35437e=_0x15f471;const _0x41ea30=this['_compressMutationService'][_0x35437e(0x3af)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x35437e(0x3af)][_0x35437e(0x414)]()['COMPRESS_MUTATION_APPLY'])(_0x4caa0b[_0x35437e(0x2c5)],null)||_0x4caa0b['mutations'];return{..._0x4caa0b,'mutations':_0x41ea30};});this['_lockTransition'](),this[_0x15f471(0x25b)](this[_0x15f471(0x4da)]['onMissedChangesetFetched'](_0xb6907d)),this[_0x15f471(0x452)]();}['_toggleOffline'](){var _0x225753=_0x4c5ff4;this[_0x225753(0x48b)](),this[_0x225753(0x25b)](this['_state'][_0x225753(0x35e)]()),this[_0x225753(0x452)]();}['_toggleOnline'](_0xbe9daa=!0x1){var _0x317d5b=_0x4c5ff4;this[_0x317d5b(0x48b)](),this['_updateState'](this[_0x317d5b(0x4da)]['toggleOnline']()),this[_0x317d5b(0x452)]();const _0x42eaf3=this['_state'];_0xbe9daa&&_0x42eaf3 instanceof exports[_0x317d5b(0x258)]&&(this['_lockTransition'](),this[_0x317d5b(0x25b)](_0x42eaf3[_0x317d5b(0x325)]()),this[_0x317d5b(0x452)]());}async[_0x4c5ff4(0x540)](){return new Promise(_0x12d0a7=>{var _0x4de88f=_0x1dd8;this[_0x4de88f(0x332)][_0x4de88f(0x2ce)][_0x4de88f(0x51e)]($[_0x4de88f(0x262)](0x1))[_0x4de88f(0x240)](async _0x4c706b=>{var _0x569339=_0x4de88f;_0x12d0a7(await this[_0x569339(0x4db)](_0x4c706b===re[_0x569339(0x4a2)]));});});}['_createHandler'](){var _0x45c785=_0x4c5ff4;const _0x252361=this[_0x45c785(0x27a)];return{'onStateChange':(_0x296f01,_0x5086d4)=>{var _0xaec00e=_0x45c785;if(_0x296f01!==this[_0xaec00e(0x4da)])throw new Error(_0xaec00e(0x42d)+_0x296f01[_0xaec00e(0x394)]+'\x0aAfter:\x20'+_0x5086d4['status']+_0xaec00e(0x26a)+this[_0xaec00e(0x4da)][_0xaec00e(0x394)]);this[_0xaec00e(0x25b)](_0x5086d4);},'onSendChangeset':_0x19c2cb=>{var _0x39bb83=_0x45c785;_0x19c2cb[_0x39bb83(0x32c)]||(_0x19c2cb[_0x39bb83(0x32c)]=this[_0x39bb83(0x304)],_0x19c2cb['reqId']=++this[_0x39bb83(0x47f)]);const _0x5a153f={'eventID':p[_0x39bb83(0x3f0)][_0x39bb83(0x458)],'data':{'unitID':_0x19c2cb['unitID'],'unitType':this[_0x39bb83(0x400)],'changeset':_0x19c2cb,'memberID':this[_0x39bb83(0x332)][_0x39bb83(0x550)]()}};this[_0x39bb83(0x332)][_0x39bb83(0x467)](_0x5a153f,this[_0x39bb83(0x27a)]);},'onMissingChangesets':({from:_0xc1c3bc,to:_0x38bc99})=>{var _0x311675=_0x45c785;this[_0x311675(0x2d2)]['debug'](_0x311675(0x308),'fetching\x20missing\x20changesets\x20from\x20'+_0xc1c3bc+_0x311675(0x50f)+_0x38bc99);const _0x21545b={'eventID':p[_0x311675(0x3f0)]['FETCH_MISSING'],'data':{'unitID':_0x252361,'unitType':this[_0x311675(0x400)],'from':_0xc1c3bc,'to':_0x38bc99}};this[_0x311675(0x332)][_0x311675(0x467)](_0x21545b,this['unitID']);}};}async[_0x4c5ff4(0x4db)](_0x403a1c){var _0x179d0f=_0x4c5ff4,_0x3f4286,_0x5614b3,_0x925a37;const _0x24bf06=await((_0x3f4286=this['_localCacheService'])==null?void 0x0:_0x3f4286[_0x179d0f(0x39d)](this[_0x179d0f(0x27a)])),_0x395cf4=(_0x5614b3=_0x24bf06==null?void 0x0:_0x24bf06[_0x179d0f(0x2c5)])!=null?_0x5614b3:[],_0x408733=(_0x925a37=_0x24bf06==null?void 0x0:_0x24bf06[_0x179d0f(0x3a5)])!=null?_0x925a37:null,_0x830f60=!!(_0x408733!=null&&_0x408733[_0x179d0f(0x32c)])&&!!(_0x408733!=null&&_0x408733[_0x179d0f(0x302)]);this[_0x179d0f(0x304)]=_0x830f60?_0x408733[_0x179d0f(0x32c)]:p[_0x179d0f(0x33c)](),this[_0x179d0f(0x47f)]=_0x830f60?_0x408733[_0x179d0f(0x302)]:0x0;const _0x9b46e9=this[_0x179d0f(0x27a)];try{this[_0x179d0f(0x2bc)](_0x408733,_0x395cf4);}catch(_0x5f4022){this[_0x179d0f(0x2d2)][_0x179d0f(0x2c9)](_0x5f4022);}const _0x562c2f=this['_createHandler']();if(_0x403a1c){const _0xd71442=Ot(this[_0x179d0f(0x2f8)],_0x9b46e9,this['_type'],_0x408733,_0x395cf4,_0x562c2f);return _0xd71442 instanceof exports[_0x179d0f(0x4e5)]?_0xd71442[_0x179d0f(0x47d)]():(_0xd71442 instanceof exports[_0x179d0f(0x415)]||_0xd71442 instanceof exports[_0x179d0f(0x44a)])&&_0xd71442['resend'](),_0xd71442;}return this['_injector'][_0x179d0f(0x3e3)](exports['OfflineState'],_0x9b46e9,this[_0x179d0f(0x400)],_0x408733,_0x395cf4,_0x562c2f);}[_0x4c5ff4(0x2bc)](_0x3e8003,_0x258793){var _0x1e8df5=_0x4c5ff4,_0x2e7726,_0x380000;const _0x5077e6=this[_0x1e8df5(0x228)][_0x1e8df5(0x3af)][_0x1e8df5(0x429)](this[_0x1e8df5(0x228)][_0x1e8df5(0x3af)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x2e7726=_0x5077e6((_0x3e8003==null?void 0x0:_0x3e8003[_0x1e8df5(0x2c5)])||[],null))==null||_0x2e7726['forEach'](_0x3c1fe8=>this[_0x1e8df5(0x3c6)][_0x1e8df5(0x2e0)](_0x3c1fe8['id'],_0x3c1fe8[_0x1e8df5(0x48f)])),(_0x380000=_0x5077e6(_0x258793||[],null))==null||_0x380000[_0x1e8df5(0x56d)](_0x9d0bab=>this[_0x1e8df5(0x3c6)][_0x1e8df5(0x2e0)](_0x9d0bab['id'],_0x9d0bab[_0x1e8df5(0x48f)]));}},exports[_0x4c5ff4(0x2b1)]=Fe([j(0x3,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),j(0x4,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x252)])),j(0x5,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x4c4)])),j(0x6,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),j(0x7,a[_0x4c5ff4(0x2d6)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x4c5ff4(0x267)]),j(0xa,a[_0x4c5ff4(0x38d)]),j(0xb,a[_0x4c5ff4(0x28a)](de)),j(0xc,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x2b1)]),exports[_0x4c5ff4(0x2b5)]=class extends exports[_0x4c5ff4(0x2b1)]{constructor(_0xfa5ce7,_0x4bdf49,_0x1f8f95,_0x456b71,_0x27dbd4,_0x5f4e05,_0x2e7649,_0x34de99,_0x16ba29,_0x4b26a4,_0x155c09,_0x320bc0,_0x1dd1d9){var _0x534e10=_0x4c5ff4;super(_0xfa5ce7,_0x1f8f95,_0x4bdf49,_0x456b71,_0x27dbd4,_0x5f4e05,_0x2e7649,_0x34de99,_0x16ba29,_0x4b26a4,_0x155c09,_0x320bc0,_0x1dd1d9),A(this,'_handlerCallback',null),(this[_0x534e10(0x27a)]=_0xfa5ce7,this['type']=_0x4bdf49);}['addHandlerCallback'](_0x297325){var _0x55256e=_0x4c5ff4;this[_0x55256e(0x3ea)]=_0x297325;}[_0x4c5ff4(0x51c)](){this['_handlerCallback']=null,super['dispose']();}[_0x4c5ff4(0x312)](){var _0x5145cf=_0x4c5ff4;const _0x5bb06a=super['_createHandler']();return _0x5bb06a[_0x5145cf(0x507)]=_0x3a17e8=>{var _0x52e50f=_0x5145cf,_0x49c739,_0x4a61a3;return(_0x4a61a3=(_0x49c739=this[_0x52e50f(0x3ea)])==null?void 0x0:_0x49c739['onTransformIME'])==null?void 0x0:_0x4a61a3[_0x52e50f(0x417)](_0x49c739,_0x3a17e8);},_0x5bb06a['onTransformState']=_0x16664a=>{var _0x35f931=_0x5145cf,_0x283258,_0x379d4c;return(_0x379d4c=(_0x283258=this['_handlerCallback'])==null?void 0x0:_0x283258[_0x35f931(0x2d0)])==null?void 0x0:_0x379d4c[_0x35f931(0x417)](_0x283258,_0x16664a);},_0x5bb06a[_0x5145cf(0x39c)]=_0x317af6=>{var _0x4009e0=_0x5145cf,_0x3b8ae6,_0x246481;return(_0x246481=(_0x3b8ae6=this[_0x4009e0(0x3ea)])==null?void 0x0:_0x3b8ae6['onTransformSelections'])==null?void 0x0:_0x246481[_0x4009e0(0x417)](_0x3b8ae6,_0x317af6);},_0x5bb06a[_0x5145cf(0x4e6)]=_0x131ea7=>{var _0x1cb03b=_0x5145cf,_0x4f212c,_0xdcabd7;return(_0xdcabd7=(_0x4f212c=this[_0x1cb03b(0x3ea)])==null?void 0x0:_0x4f212c['onSyncEditingCollabCursor'])==null?void 0x0:_0xdcabd7['call'](_0x4f212c,_0x131ea7);},_0x5bb06a['onTransformRemoteChangesetByIMECache']=_0x439ed6=>{var _0x512a5e=_0x5145cf,_0x30e676,_0x14efd9,_0x511129;if(!((_0x30e676=this['_handlerCallback'])!=null&&_0x30e676[_0x512a5e(0x4ea)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x511129=(_0x14efd9=this[_0x512a5e(0x3ea)])==null?void 0x0:_0x14efd9[_0x512a5e(0x4ea)])==null?void 0x0:_0x511129['call'](_0x14efd9,_0x439ed6);},_0x5bb06a[_0x5145cf(0x2f2)]=_0x4758ae=>{var _0x5270f0=_0x5145cf,_0x409fff,_0x294d41,_0x34257d;if(!((_0x409fff=this[_0x5270f0(0x3ea)])!=null&&_0x409fff[_0x5270f0(0x2f2)]))throw new Error(_0x5270f0(0x4a9));return(_0x34257d=(_0x294d41=this[_0x5270f0(0x3ea)])==null?void 0x0:_0x294d41[_0x5270f0(0x2f2)])==null?void 0x0:_0x34257d['call'](_0x294d41,_0x4758ae);},_0x5bb06a;}async[_0x4c5ff4(0x352)](){var _0x4f88c4=_0x4c5ff4;const _0x4056e9=await super[_0x4f88c4(0x352)]();return this[_0x4f88c4(0x294)](this[_0x4f88c4(0x3c6)]['onCommandExecuted']((_0x5dbe50,_0x58b3d5)=>{var _0x3bba4b=_0x4f88c4;if(_0x5dbe50[_0x3bba4b(0x2eb)]!==a[_0x3bba4b(0x3f3)][_0x3bba4b(0x387)]||_0x58b3d5!=null&&_0x58b3d5[_0x3bba4b(0x1fd)]||_0x58b3d5!=null&&_0x58b3d5['onlyLocal']||_0x5dbe50['id']===ht['RichTextEditingMutation']['id'])return;const _0x20942a=_0x5dbe50[_0x3bba4b(0x48f)];if((_0x20942a==null?void 0x0:_0x20942a[_0x3bba4b(0x221)])!==this['unitID'])return;const _0x19826c=_0x5dbe50,_0x3d356f=this[_0x3bba4b(0x228)]['interceptor'][_0x3bba4b(0x429)](this[_0x3bba4b(0x228)][_0x3bba4b(0x3af)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x19826c],null)||[_0x19826c];this[_0x3bba4b(0x4b5)](_0x3d356f[0x0]);})),_0x4056e9;}},exports[_0x4c5ff4(0x2b5)]=Fe([j(0x3,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),j(0x4,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x252)])),j(0x5,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x4c4)])),j(0x6,a['Inject'](p[_0x4c5ff4(0x2d8)])),j(0x7,a[_0x4c5ff4(0x2d6)](ee)),j(0x8,a[_0x4c5ff4(0x4d5)]),j(0x9,a[_0x4c5ff4(0x267)]),j(0xa,a[_0x4c5ff4(0x38d)]),j(0xb,a[_0x4c5ff4(0x28a)](de)),j(0xc,a['Optional'](q))],exports[_0x4c5ff4(0x2b5)]),exports[_0x4c5ff4(0x398)]=class extends exports['CollaborationEntity']{constructor(_0x39a7c6,_0x1d6d63,_0x4b7fa5,_0x1cde50,_0x52a8bd,_0x1fc9b8,_0x2a5630,_0x36823e,_0x1fbcf5,_0x47ba0e,_0x3c8397,_0x43cc78,_0x345026,_0x26af4b){var _0x241318=_0x4c5ff4;super(_0x39a7c6,_0x4b7fa5,_0x1d6d63,_0x1cde50,_0x52a8bd,_0x1fc9b8,_0x2a5630,_0x1fbcf5,_0x47ba0e,_0x3c8397,_0x43cc78,_0x345026,_0x26af4b),this[_0x241318(0x27a)]=_0x39a7c6,this[_0x241318(0x2eb)]=_0x1d6d63,this[_0x241318(0x2a8)]=_0x36823e;}[_0x4c5ff4(0x312)](){var _0x1c976c=_0x4c5ff4;const _0x250a5b=super[_0x1c976c(0x312)]();return _0x250a5b[_0x1c976c(0x39c)]=_0x3b8982=>this[_0x1c976c(0x2a8)]['transformSelections'](_0x3b8982),_0x250a5b;}async[_0x4c5ff4(0x352)](){var _0x298868=_0x4c5ff4;const _0x51b8cd=await super['_init']();return this[_0x298868(0x294)](this['_commandService'][_0x298868(0x2d3)]((_0xbba253,_0x116247)=>{var _0x1cf747=_0x298868;if(_0xbba253['type']!==a[_0x1cf747(0x3f3)][_0x1cf747(0x387)]||_0x116247!=null&&_0x116247[_0x1cf747(0x1fd)]||_0x116247!=null&&_0x116247['onlyLocal'])return;const _0x3d50b8=_0xbba253[_0x1cf747(0x48f)];if((_0x3d50b8==null?void 0x0:_0x3d50b8[_0x1cf747(0x221)])!==this[_0x1cf747(0x27a)])return;const _0x2d0d43=_0xbba253,_0x7d00fe=this['_compressMutationService'][_0x1cf747(0x3af)][_0x1cf747(0x429)](this[_0x1cf747(0x228)][_0x1cf747(0x3af)][_0x1cf747(0x414)]()['COMPRESS_MUTATION_SEND'])([_0x2d0d43],null)||[_0x2d0d43];this[_0x1cf747(0x4b5)](_0x7d00fe[0x0]);})),_0x51b8cd;}},exports[_0x4c5ff4(0x398)]=Fe([j(0x3,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),j(0x4,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x252)])),j(0x5,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x4c4)])),j(0x6,a[_0x4c5ff4(0x2d6)](p['RevisionService'])),j(0x7,a[_0x4c5ff4(0x2d6)](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x4c5ff4(0x2d6)](ee)),j(0x9,a[_0x4c5ff4(0x4d5)]),j(0xa,a[_0x4c5ff4(0x267)]),j(0xb,a['IPermissionService']),j(0xc,a['Optional'](de)),j(0xd,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x398)]);var Si=Object['getOwnPropertyDescriptor'],fi=(_0xf9e4b4,_0x5925c8,_0x4664d8,_0x19681c)=>{var _0x214ea3=_0x4c5ff4;for(var _0x12ec8e=_0x19681c>0x1?void 0x0:_0x19681c?Si(_0x5925c8,_0x4664d8):_0x5925c8,_0x147e54=_0xf9e4b4[_0x214ea3(0x54c)]-0x1,_0x1240f6;_0x147e54>=0x0;_0x147e54--)(_0x1240f6=_0xf9e4b4[_0x147e54])&&(_0x12ec8e=_0x1240f6(_0x12ec8e)||_0x12ec8e);return _0x12ec8e;},Se=(_0x7c4441,_0x187203)=>(_0x2b5920,_0x2b6c70)=>_0x187203(_0x2b5920,_0x2b6c70,_0x7c4441);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x5d362f,_0x470944,_0x29a452,_0xf5ca8b){var _0x3abbac=_0x4c5ff4,_0x4c8c72;super(),A(this,'_entities',new Map()),A(this,_0x3abbac(0x402),new $[(_0x3abbac(0x256))]()),A(this,'entityInit$',this['_entityInit$'][_0x3abbac(0x2c1)]()),(this[_0x3abbac(0x2f8)]=_0x5d362f,this[_0x3abbac(0x376)]=_0x470944,this[_0x3abbac(0x2bb)]=_0x29a452,this[_0x3abbac(0x2c3)]=_0xf5ca8b,((_0x4c8c72=this['_configService'][_0x3abbac(0x296)](G))==null?void 0x0:_0x4c8c72[_0x3abbac(0x431)])!==!0x1&&this[_0x3abbac(0x352)]());}[_0x4c5ff4(0x51c)](){var _0x209b02=_0x4c5ff4;super[_0x209b02(0x51c)](),this[_0x209b02(0x42c)]['forEach'](_0x3e581a=>_0x3e581a[_0x209b02(0x51c)]()),this[_0x209b02(0x42c)]['clear']();}[_0x4c5ff4(0x227)](_0x275c68){var _0x42568c=_0x4c5ff4,_0x1aca5a;return(_0x1aca5a=this[_0x42568c(0x42c)][_0x42568c(0x38f)](_0x275c68))!=null?_0x1aca5a:null;}[_0x4c5ff4(0x2a0)](_0x11d0b0){var _0x588011=_0x4c5ff4;const _0x11965d=this[_0x588011(0x227)](_0x11d0b0);return _0x11965d?$['of'](_0x11965d):this[_0x588011(0x402)][_0x588011(0x51e)](V['filter'](_0x1dfcc5=>_0x1dfcc5['unitID']===_0x11d0b0));}[_0x4c5ff4(0x36e)](_0x2582c0){var _0x2c0eec=_0x4c5ff4;return $[_0x2c0eec(0x56a)](this[_0x2c0eec(0x2a0)](_0x2582c0)[_0x2c0eec(0x51e)](V[_0x2c0eec(0x474)](()=>{})));}['_init'](){var _0x51bc90=_0x4c5ff4;this['_univerInstanceService'][_0x51bc90(0x318)](a[_0x51bc90(0x4b8)][_0x51bc90(0x218)])[_0x51bc90(0x51e)]($[_0x51bc90(0x4ee)](this['dispose$']),V['delay'](0x10))[_0x51bc90(0x240)](async _0x47f889=>{var _0x41f6a3=_0x51bc90;const _0x1d8489=_0x47f889['getUnitId'](),_0x219363=await this['_startCollaboration'](_0x1d8489,J[_0x41f6a3(0x218)]);this[_0x41f6a3(0x42c)][_0x41f6a3(0x2e6)](_0x1d8489,_0x219363);}),this[_0x51bc90(0x2c3)]['getTypeOfUnitAdded$'](a[_0x51bc90(0x4b8)]['UNIVER_DOC'])[_0x51bc90(0x51e)]($[_0x51bc90(0x4ee)](this[_0x51bc90(0x505)]),V[_0x51bc90(0x25a)](0x10))[_0x51bc90(0x51e)](V[_0x51bc90(0x3e9)](_0x24ae25=>!_0x24ae25[_0x51bc90(0x562)]()[_0x51bc90(0x234)]('__')))[_0x51bc90(0x240)](async _0x790cf3=>{var _0x12d1ab=_0x51bc90;const _0x4e0bcd=_0x790cf3[_0x12d1ab(0x562)](),_0x1c6d79=await this['_startCollaboration'](_0x4e0bcd,J['UNIVER_DOC']);this['_entities'][_0x12d1ab(0x2e6)](_0x4e0bcd,_0x1c6d79);}),$[_0x51bc90(0x287)](this[_0x51bc90(0x2c3)][_0x51bc90(0x244)](a[_0x51bc90(0x4b8)][_0x51bc90(0x218)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']))['pipe']($[_0x51bc90(0x4ee)](this[_0x51bc90(0x505)]))[_0x51bc90(0x240)](_0x3cc257=>{var _0xf561ca=_0x51bc90;const _0x16e812=_0x3cc257['getUnitId'](),_0x2f6cd4=this[_0xf561ca(0x42c)][_0xf561ca(0x38f)](_0x16e812);_0x2f6cd4&&(_0x2f6cd4['dispose'](),this[_0xf561ca(0x42c)]['delete'](_0x16e812));});}async[_0x4c5ff4(0x31d)](_0x2b1a2c,_0x523c33){var _0x49c6d9=_0x4c5ff4;const _0x45b93b=await this[_0x49c6d9(0x376)]['requireSession'](_0x2b1a2c),_0x23b3e6=this['_injector'][_0x49c6d9(0x3e3)](this[_0x49c6d9(0x45e)](_0x523c33),_0x2b1a2c,_0x523c33,_0x45b93b);return await _0x23b3e6[_0x49c6d9(0x1f3)](),this['_entityInit$'][_0x49c6d9(0x473)](_0x23b3e6),_0x23b3e6;}[_0x4c5ff4(0x45e)](_0x471bd6){var _0x176c1e=_0x4c5ff4;switch(_0x471bd6){case J['UNIVER_DOC']:return exports[_0x176c1e(0x2b5)];case J['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error(_0x176c1e(0x3d8)+_0x471bd6);}}},exports[_0x4c5ff4(0x284)]=fi([Se(0x0,a['Inject'](a[_0x4c5ff4(0x506)])),Se(0x1,a[_0x4c5ff4(0x2d6)](exports['CollaborationSessionService'])),Se(0x2,a[_0x4c5ff4(0x344)]),Se(0x3,a[_0x4c5ff4(0x2fb)])],exports[_0x4c5ff4(0x284)]);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x30c67d,_0x5db2cd,_0x3f2a23,_0x5147c1)=>{for(var _0x184a92=_0x5147c1>0x1?void 0x0:_0x5147c1?Ii(_0x5db2cd,_0x3f2a23):_0x5db2cd,_0x32c9f9=_0x30c67d['length']-0x1,_0xd17577;_0x32c9f9>=0x0;_0x32c9f9--)(_0xd17577=_0x30c67d[_0x32c9f9])&&(_0x184a92=_0xd17577(_0x184a92)||_0x184a92);return _0x184a92;},Ke=(_0x60fdc8,_0x27020c)=>(_0x4f1d9e,_0x3fa4c)=>_0x27020c(_0x4f1d9e,_0x3fa4c,_0x60fdc8);const gi=_0x4c5ff4(0x419),Ei='Univer';let xe=class extends a['Disposable']{constructor(_0x340d38,_0xfc43c2){var _0x3b8e9c=_0x4c5ff4;super(),this[_0x3b8e9c(0x2c3)]=_0x340d38,this[_0x3b8e9c(0x2bb)]=_0xfc43c2,this[_0x3b8e9c(0x352)]();}[_0x4c5ff4(0x352)](){this['disposeWithMe'](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x1930b6=_0x1dd8,_0x813b73;const _0x49edb8=this[_0x1930b6(0x2c3)][_0x1930b6(0x3fe)]();let _0x36bf55=(_0x813b73=this[_0x1930b6(0x2bb)]['getConfig'](gi))!=null?_0x813b73:Ei;_0x49edb8 instanceof a['Workbook']&&(_0x36bf55=_0x49edb8[_0x1930b6(0x3e4)]),document[_0x1930b6(0x544)]=_0x36bf55;}));}};xe=pi([Ke(0x0,a[_0x4c5ff4(0x2fb)]),Ke(0x1,a[_0x4c5ff4(0x344)])],xe);var mi=Object[_0x4c5ff4(0x405)],Ci=(_0x2a9b07,_0x2901de,_0x5d317a,_0x94bc05)=>{var _0x36bb3d=_0x4c5ff4;for(var _0x59758c=_0x94bc05>0x1?void 0x0:_0x94bc05?mi(_0x2901de,_0x5d317a):_0x2901de,_0x1e4f4e=_0x2a9b07[_0x36bb3d(0x54c)]-0x1,_0xe1b31;_0x1e4f4e>=0x0;_0x1e4f4e--)(_0xe1b31=_0x2a9b07[_0x1e4f4e])&&(_0x59758c=_0xe1b31(_0x59758c)||_0x59758c);return _0x59758c;},Ae=(_0x5c4651,_0x4a057c)=>(_0x1adf5b,_0x3e47e1)=>_0x4a057c(_0x1adf5b,_0x3e47e1,_0x5c4651);let ye=class{constructor(_0x1bd397,_0x363798,_0x30bba9){var _0x29d578=_0x4c5ff4;this[_0x29d578(0x2bb)]=_0x1bd397,this[_0x29d578(0x4ed)]=_0x363798,this[_0x29d578(0x516)]=_0x30bba9,this[_0x29d578(0x1f3)]();}[_0x4c5ff4(0x1f3)](){var _0x65d73b=_0x4c5ff4;this[_0x65d73b(0x4ed)][_0x65d73b(0x406)]({'priority':0x1,'interceptor':(_0x4e2cd5,_0x1f1e56)=>_0x1f1e56(_0x4e2cd5)[_0x65d73b(0x51e)]($['concatMap'](async _0x3bbf75=>{var _0x4045f5=_0x65d73b;const _0x2b3159=_0x3bbf75;if(_0x2b3159[_0x4045f5(0x394)]===0x191){if(typeof window>'u')throw new Error(_0x4045f5(0x3b5));if(window[_0x4045f5(0x269)](this[_0x4045f5(0x516)]['t'](_0x4045f5(0x351)))){const _0x39f476=window[_0x4045f5(0x53f)](window[_0x4045f5(0x2b4)][_0x4045f5(0x2b3)]);window[_0x4045f5(0x2b4)][_0x4045f5(0x2b3)]=this[_0x4045f5(0x37f)]()+'?url='+_0x39f476;}}return _0x2b3159;}))});}[_0x4c5ff4(0x37f)](){var _0x1abfc4=_0x4c5ff4,_0x2d9059,_0x1d261a;const _0xa5558e=this[_0x1abfc4(0x2bb)][_0x1abfc4(0x296)](pt),_0x4fe829=this['_configService'][_0x1abfc4(0x296)](G);return(_0x1d261a=(_0x2d9059=_0x4fe829==null?void 0x0:_0x4fe829[_0x1abfc4(0x2f6)])!=null?_0x2d9059:_0xa5558e)!=null?_0x1d261a:Wt;}};ye=Ci([Ae(0x0,a[_0x4c5ff4(0x344)]),Ae(0x1,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)])),Ae(0x2,a['Inject'](a['LocaleService']))],ye);var Ti=Object[_0x4c5ff4(0x405)],bi=(_0x200710,_0x57b8a8,_0x15ac1e,_0x5eef20)=>{var _0xe084df=_0x4c5ff4;for(var _0xe7eb44=_0x5eef20>0x1?void 0x0:_0x5eef20?Ti(_0x57b8a8,_0x15ac1e):_0x57b8a8,_0x3a2f55=_0x200710[_0xe084df(0x54c)]-0x1,_0x5dccc1;_0x3a2f55>=0x0;_0x3a2f55--)(_0x5dccc1=_0x200710[_0x3a2f55])&&(_0xe7eb44=_0x5dccc1(_0xe7eb44)||_0xe7eb44);return _0xe7eb44;},qe=(_0x293903,_0x1c2607)=>(_0x52e817,_0x353dcb)=>_0x1c2607(_0x52e817,_0x353dcb,_0x293903);const Ve=_0x4c5ff4(0x3ab),Ri=_0x4c5ff4(0x51a);exports[_0x4c5ff4(0x37d)]=class extends a[_0x4c5ff4(0x1f2)]{constructor(_0x14f5ea,_0x17f989){var _0x5af71a=_0x4c5ff4;super(),this[_0x5af71a(0x4c9)]=_0x14f5ea,this[_0x5af71a(0x2bb)]=_0x17f989,this[_0x5af71a(0x4ac)]();}[_0x4c5ff4(0x4ac)](){var _0x1b5d68=_0x4c5ff4;const _0xe4d3fd=this;this[_0x1b5d68(0x294)](this[_0x1b5d68(0x4c9)][_0x1b5d68(0x406)]({'priority':0x3e7,'interceptor':K[_0x1b5d68(0x2f7)]({'isMatch'(_0x1aa09f){var _0x2000fc=_0x1b5d68,_0x5cc18e;if(_0x1aa09f[_0x2000fc(0x3e1)]===_0x2000fc(0x26d)&&((_0x5cc18e=_0x1aa09f[_0x2000fc(0x37c)])!=null&&_0x5cc18e['body'])){const {objectID:_0x362096,objectType:_0xf6e8ba}=_0x1aa09f[_0x2000fc(0x37c)][_0x2000fc(0x265)]||{};if(!_0x362096||_0xf6e8ba===void 0x0)return!0x1;const _0x5efa27=_0xe4d3fd[_0x2000fc(0x4f2)]()+'/'+_0xf6e8ba+_0x2000fc(0x553)+_0x362096+'/allowed';if(_0x1aa09f[_0x2000fc(0x499)]===_0x5efa27)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x580618){var _0x2249da=_0x1b5d68,_0xf66332;return(_0xf66332=_0x580618[_0x2249da(0x37c)])==null?void 0x0:_0xf66332[_0x2249da(0x265)];},'mergeParamsToRequest'(_0x4e5add,_0x368cce){var _0x5c431b=_0x1b5d68;const _0x15d0be=_0xe4d3fd[_0x5c431b(0x4f2)]()+_0x5c431b(0x336),_0x34b5a2=_0x4e5add[_0x5c431b(0x289)]((_0xf068c7,_0x42fdd8)=>{const {unitID:_0x5ad14a,objectID:_0x2ab3a4,objectType:_0x528776,actions:_0x59fb80}=_0x42fdd8;return _0xf068c7[_0x5ad14a]||(_0xf068c7[_0x5ad14a]={}),_0xf068c7[_0x5ad14a][_0x2ab3a4]||(_0xf068c7[_0x5ad14a][_0x2ab3a4]={'objectID':_0x2ab3a4,'objectType':_0x528776,'actions':[]}),_0xf068c7[_0x5ad14a][_0x2ab3a4]['actions']['push'](..._0x59fb80),_0xf068c7;},{}),_0xc54560=[];for(const _0x48a61a in _0x34b5a2)for(const _0x18d2da in _0x34b5a2[_0x48a61a]){const {actions:_0x2dc338,objectType:_0x82baaa}=_0x34b5a2[_0x48a61a][_0x18d2da],_0x17e637=[...new Set(_0x2dc338)];_0xc54560[_0x5c431b(0x209)]({'unitID':_0x48a61a,'objectID':_0x18d2da,'objectType':_0x82baaa,'actions':_0x17e637});}return new K[(_0x5c431b(0x217))](_0x5c431b(0x26d),_0x15d0be,{'headers':_0x368cce['headers'],'withCredentials':_0x368cce[_0x5c431b(0x41e)],'responseType':_0x368cce[_0x5c431b(0x2a7)],'body':{'requests':_0xc54560}});}},{'distributeResult'(_0x22a40d,_0x313d1a){var _0x23da68=_0x1b5d68;const {objectActions:_0x468919}=_0x22a40d;return _0x313d1a[_0x23da68(0x474)](_0x1436ef=>{var _0x241464=_0x23da68;const {unitID:_0x3d02fe,objectID:_0xe52233,actions:_0x4a7982}=_0x1436ef,_0x5ac866=_0x468919['find'](_0x37e155=>_0x37e155['unitID']===_0x3d02fe&&_0x37e155['objectID']===_0xe52233),_0x12b764=_0x4a7982[_0x241464(0x474)](_0x1fc0fa=>_0x5ac866==null?void 0x0:_0x5ac866[_0x241464(0x46f)][_0x241464(0x33e)](_0x19037a=>_0x19037a[_0x241464(0x3b0)]===_0x1fc0fa))[_0x241464(0x3e9)](_0x54b7c4=>!!_0x54b7c4);return{'config':_0x1436ef,'result':{'actions':_0x12b764,'error':_0x22a40d['error']}};});}})}));}[_0x4c5ff4(0x4f2)](){var _0x220cd0=_0x4c5ff4,_0x3e1c2c,_0x582120;const _0x27e527=this[_0x220cd0(0x2bb)]['getConfig'](Ve),_0xa16e26=this['_configService'][_0x220cd0(0x296)](G);return(_0x582120=(_0x3e1c2c=_0xa16e26==null?void 0x0:_0xa16e26[_0x220cd0(0x461)])!=null?_0x3e1c2c:_0x27e527)!=null?_0x582120:Ri;}async[_0x4c5ff4(0x525)](_0x372b69){var _0x3d9132=_0x4c5ff4;const _0x405855=this[_0x3d9132(0x4f2)]()+'/'+_0x372b69[_0x3d9132(0x3a9)]+_0x3d9132(0x4f1);return(await this['_HTTPService']['post'](_0x405855,{'body':_0x372b69}))[_0x3d9132(0x265)][_0x3d9132(0x392)]||'';}async[_0x4c5ff4(0x27d)](_0xf6b9b2){var _0x39cee4=_0x4c5ff4;const _0x422efc=this[_0x39cee4(0x4f2)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x422efc,{'body':_0xf6b9b2}))[_0x39cee4(0x265)][_0x39cee4(0x282)];}async[_0x4c5ff4(0x4f8)](_0xc7357a){var _0x4222fa=_0x4c5ff4,_0x28e0a7,_0x5a11e0;const _0x308429=this[_0x4222fa(0x4f2)]()+'/'+_0xc7357a[_0x4222fa(0x3a9)]+_0x4222fa(0x553)+_0xc7357a['objectID'],_0x586d48=await this[_0x4222fa(0x4c9)][_0x4222fa(0x288)](_0x308429,{'body':_0xc7357a});if(((_0x5a11e0=(_0x28e0a7=_0x586d48==null?void 0x0:_0x586d48[_0x4222fa(0x265)])==null?void 0x0:_0x28e0a7[_0x4222fa(0x2c9)])==null?void 0x0:_0x5a11e0[_0x4222fa(0x3aa)])!==0x1)throw new Error(_0x4222fa(0x3b7));}async[_0x4c5ff4(0x23b)](_0x2e9646){var _0x665348=_0x4c5ff4;const _0x30d07f=this[_0x665348(0x4f2)]()+'/'+_0x2e9646[_0x665348(0x3a9)]+_0x665348(0x553)+_0x2e9646['objectID']+'/allowed';return(await this['_HTTPService'][_0x665348(0x557)](_0x30d07f,{'body':_0x2e9646}))[_0x665348(0x265)][_0x665348(0x46f)];}async[_0x4c5ff4(0x3c0)](_0x1424aa){var _0x5b5a0d=_0x4c5ff4;const _0x2f3d9f=this[_0x5b5a0d(0x4f2)]()+'/-/object/-/batch_allowed';return(await this[_0x5b5a0d(0x4c9)]['post'](_0x2f3d9f,{'body':{'requests':_0x1424aa}}))[_0x5b5a0d(0x265)][_0x5b5a0d(0x42b)];}async[_0x4c5ff4(0x52f)](_0x5d7a1c){var _0x37457e=_0x4c5ff4;const _0x3c46c6=this['_getAPIPrefixPath']()+'/'+_0x5d7a1c[_0x37457e(0x3a9)]+_0x37457e(0x2aa),_0x52c952=await this[_0x37457e(0x4c9)][_0x37457e(0x557)](_0x3c46c6,{'body':_0x5d7a1c});return{'roles':_0x52c952[_0x37457e(0x265)]['roles'],'actions':_0x52c952['body'][_0x37457e(0x46f)]};}async[_0x4c5ff4(0x298)](_0x2aedfc){var _0x4f5373=_0x4c5ff4;const _0x12ca64=this[_0x4f5373(0x4f2)]()+_0x4f5373(0x438);await this[_0x4f5373(0x4c9)][_0x4f5373(0x368)](_0x12ca64,{'params':{'collaboratorID':_0x2aedfc[_0x4f5373(0x4d2)],'objectID':_0x2aedfc[_0x4f5373(0x392)],'unitID':_0x2aedfc[_0x4f5373(0x27a)]}});}async[_0x4c5ff4(0x235)](_0x207f5b){var _0x3befcf=_0x4c5ff4;const _0x475d9b=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3befcf(0x4c9)]['patch'](_0x475d9b,{'body':_0x207f5b});}async[_0x4c5ff4(0x4fe)](_0x45dc4d){var _0x114a97=_0x4c5ff4;const _0x2e9b56=this[_0x114a97(0x4f2)]()+_0x114a97(0x438);await this[_0x114a97(0x4c9)]['post'](_0x2e9b56,{'body':_0x45dc4d});}async[_0x4c5ff4(0x222)](_0x4d0cde){var _0x57c142=_0x4c5ff4;const _0x32e306=this[_0x57c142(0x4f2)]()+_0x57c142(0x438);return(await this[_0x57c142(0x4c9)][_0x57c142(0x38f)](_0x32e306,{'params':{'objectID':_0x4d0cde[_0x57c142(0x392)],'unitID':_0x4d0cde[_0x57c142(0x27a)]}}))[_0x57c142(0x265)][_0x57c142(0x536)];}async['putCollaborators'](_0x5c6304){var _0x1716e4=_0x4c5ff4;const _0x2d0c4e=this['_getAPIPrefixPath']()+_0x1716e4(0x438);await this[_0x1716e4(0x4c9)][_0x1716e4(0x288)](_0x2d0c4e,{'body':_0x5c6304});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)])),qe(0x1,a['Inject'](a[_0x4c5ff4(0x344)]))],exports[_0x4c5ff4(0x37d)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4c180a){var _0x53102f=_0x4c5ff4;return _0x4c180a&&_0x4c180a[_0x53102f(0x238)]&&Object[_0x53102f(0x2f9)]['hasOwnProperty'][_0x53102f(0x417)](_0x4c180a,_0x53102f(0x207))?_0x4c180a[_0x53102f(0x207)]:_0x4c180a;}var fe={'exports':{}};function Oi(_0x235ff0){var _0x22c2b1=_0x4c5ff4;throw new Error(_0x22c2b1(0x3ee)+_0x235ff0+_0x22c2b1(0x4ad));}var Ie={'exports':{}},yi=Ie[_0x4c5ff4(0x511)],ze;function Q(){return ze||(ze=0x1,function(_0x3d450f,_0x2a6225){(function(_0x5a2472,_0x316888){var _0x39a722=_0x1dd8;_0x3d450f[_0x39a722(0x511)]=_0x316888();}(yi,function(){var _0x2c35bd=_0x2c35bd||function(_0x2e0379,_0x46f2ec){var _0x561e7f=_0x1dd8,_0x430452;if(typeof window<'u'&&window[_0x561e7f(0x369)]&&(_0x430452=window[_0x561e7f(0x369)]),typeof self<'u'&&self['crypto']&&(_0x430452=self[_0x561e7f(0x369)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x430452=globalThis[_0x561e7f(0x369)]),!_0x430452&&typeof window<'u'&&window[_0x561e7f(0x34c)]&&(_0x430452=window[_0x561e7f(0x34c)]),!_0x430452&&typeof Pe<'u'&&Pe[_0x561e7f(0x369)]&&(_0x430452=Pe[_0x561e7f(0x369)]),!_0x430452&&typeof Oi==_0x561e7f(0x345))try{_0x430452=require(_0x561e7f(0x369));}catch{}var _0x30347c=function(){var _0x579ff6=_0x561e7f;if(_0x430452){if(typeof _0x430452[_0x579ff6(0x237)]=='function')try{return _0x430452[_0x579ff6(0x237)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x430452[_0x579ff6(0x524)]==_0x579ff6(0x345))try{return _0x430452['randomBytes'](0x4)[_0x579ff6(0x388)]();}catch{}}throw new Error(_0x579ff6(0x348));},_0x6bec7b=Object[_0x561e7f(0x525)]||(function(){function _0x5f15d4(){}return function(_0x58cc9f){var _0x348a9d=_0x1dd8,_0x17e91c;return _0x5f15d4[_0x348a9d(0x2f9)]=_0x58cc9f,_0x17e91c=new _0x5f15d4(),_0x5f15d4['prototype']=null,_0x17e91c;};}()),_0x2e33e1={},_0x42dea8=_0x2e33e1['lib']={},_0x173d20=_0x42dea8['Base']=(function(){return{'extend':function(_0x4da2a0){var _0x1c54f0=_0x1dd8,_0x5f39c6=_0x6bec7b(this);return _0x4da2a0&&_0x5f39c6[_0x1c54f0(0x421)](_0x4da2a0),(!_0x5f39c6[_0x1c54f0(0x513)](_0x1c54f0(0x1f3))||this[_0x1c54f0(0x1f3)]===_0x5f39c6[_0x1c54f0(0x1f3)])&&(_0x5f39c6[_0x1c54f0(0x1f3)]=function(){var _0x55ce18=_0x1c54f0;_0x5f39c6[_0x55ce18(0x494)][_0x55ce18(0x1f3)]['apply'](this,arguments);}),_0x5f39c6[_0x1c54f0(0x1f3)][_0x1c54f0(0x2f9)]=_0x5f39c6,_0x5f39c6[_0x1c54f0(0x494)]=this,_0x5f39c6;},'create':function(){var _0x18f809=_0x1dd8,_0x32e7b6=this['extend']();return _0x32e7b6[_0x18f809(0x1f3)][_0x18f809(0x1ff)](_0x32e7b6,arguments),_0x32e7b6;},'init':function(){},'mixIn':function(_0x370d81){var _0x545596=_0x1dd8;for(var _0x267adf in _0x370d81)_0x370d81[_0x545596(0x513)](_0x267adf)&&(this[_0x267adf]=_0x370d81[_0x267adf]);_0x370d81[_0x545596(0x513)](_0x545596(0x42e))&&(this[_0x545596(0x42e)]=_0x370d81['toString']);},'clone':function(){var _0x2c673c=_0x1dd8;return this['init']['prototype'][_0x2c673c(0x30d)](this);}};}()),_0x1d4a95=_0x42dea8[_0x561e7f(0x3ec)]=_0x173d20[_0x561e7f(0x30d)]({'init':function(_0x504d2f,_0x23c180){var _0x352cfd=_0x561e7f;_0x504d2f=this['words']=_0x504d2f||[],_0x23c180!=_0x46f2ec?this['sigBytes']=_0x23c180:this[_0x352cfd(0x24a)]=_0x504d2f[_0x352cfd(0x54c)]*0x4;},'toString':function(_0x2ee18c){var _0x481332=_0x561e7f;return(_0x2ee18c||_0xc88e1f)[_0x481332(0x40a)](this);},'concat':function(_0x38b1dd){var _0x12dc3f=_0x561e7f,_0x154ddf=this[_0x12dc3f(0x1ee)],_0x10d73d=_0x38b1dd[_0x12dc3f(0x1ee)],_0x2e7f6f=this[_0x12dc3f(0x24a)],_0x5cac4a=_0x38b1dd[_0x12dc3f(0x24a)];if(this['clamp'](),_0x2e7f6f%0x4)for(var _0x43e8c3=0x0;_0x43e8c3<_0x5cac4a;_0x43e8c3++){var _0x47f665=_0x10d73d[_0x43e8c3>>>0x2]>>>0x18-_0x43e8c3%0x4*0x8&0xff;_0x154ddf[_0x2e7f6f+_0x43e8c3>>>0x2]|=_0x47f665<<0x18-(_0x2e7f6f+_0x43e8c3)%0x4*0x8;}else{for(var _0x3f475a=0x0;_0x3f475a<_0x5cac4a;_0x3f475a+=0x4)_0x154ddf[_0x2e7f6f+_0x3f475a>>>0x2]=_0x10d73d[_0x3f475a>>>0x2];}return this[_0x12dc3f(0x24a)]+=_0x5cac4a,this;},'clamp':function(){var _0x25d09b=_0x561e7f,_0x3267ef=this[_0x25d09b(0x1ee)],_0x538083=this[_0x25d09b(0x24a)];_0x3267ef[_0x538083>>>0x2]&=0xffffffff<<0x20-_0x538083%0x4*0x8,_0x3267ef[_0x25d09b(0x54c)]=_0x2e0379[_0x25d09b(0x328)](_0x538083/0x4);},'clone':function(){var _0x541595=_0x561e7f,_0x5bc228=_0x173d20[_0x541595(0x3ca)][_0x541595(0x417)](this);return _0x5bc228[_0x541595(0x1ee)]=this[_0x541595(0x1ee)]['slice'](0x0),_0x5bc228;},'random':function(_0xb39587){var _0x344d7c=_0x561e7f;for(var _0x3cfd23=[],_0x3e90fc=0x0;_0x3e90fc<_0xb39587;_0x3e90fc+=0x4)_0x3cfd23[_0x344d7c(0x209)](_0x30347c());return new _0x1d4a95[(_0x344d7c(0x1f3))](_0x3cfd23,_0xb39587);}}),_0x1e4100=_0x2e33e1[_0x561e7f(0x281)]={},_0xc88e1f=_0x1e4100[_0x561e7f(0x41c)]={'stringify':function(_0x1a1554){var _0x4fee49=_0x561e7f;for(var _0x24b6bc=_0x1a1554[_0x4fee49(0x1ee)],_0x3126d6=_0x1a1554['sigBytes'],_0x20bbb8=[],_0x612732=0x0;_0x612732<_0x3126d6;_0x612732++){var _0x5e60a7=_0x24b6bc[_0x612732>>>0x2]>>>0x18-_0x612732%0x4*0x8&0xff;_0x20bbb8['push']((_0x5e60a7>>>0x4)[_0x4fee49(0x42e)](0x10)),_0x20bbb8[_0x4fee49(0x209)]((_0x5e60a7&0xf)[_0x4fee49(0x42e)](0x10));}return _0x20bbb8['join']('');},'parse':function(_0x230320){var _0x1181e6=_0x561e7f;for(var _0x432eeb=_0x230320[_0x1181e6(0x54c)],_0x5c9039=[],_0xa945b3=0x0;_0xa945b3<_0x432eeb;_0xa945b3+=0x2)_0x5c9039[_0xa945b3>>>0x3]|=parseInt(_0x230320['substr'](_0xa945b3,0x2),0x10)<<0x18-_0xa945b3%0x8*0x4;return new _0x1d4a95[(_0x1181e6(0x1f3))](_0x5c9039,_0x432eeb/0x2);}},_0x505c39=_0x1e4100[_0x561e7f(0x466)]={'stringify':function(_0x387dbd){var _0x4b032b=_0x561e7f;for(var _0x27fe5c=_0x387dbd['words'],_0x4e43cb=_0x387dbd[_0x4b032b(0x24a)],_0x1b3ef2=[],_0x51dcb8=0x0;_0x51dcb8<_0x4e43cb;_0x51dcb8++){var _0x5557fb=_0x27fe5c[_0x51dcb8>>>0x2]>>>0x18-_0x51dcb8%0x4*0x8&0xff;_0x1b3ef2[_0x4b032b(0x209)](String[_0x4b032b(0x4e4)](_0x5557fb));}return _0x1b3ef2[_0x4b032b(0x52a)]('');},'parse':function(_0x3e234d){var _0x360aaa=_0x561e7f;for(var _0xa3de44=_0x3e234d[_0x360aaa(0x54c)],_0x3901f6=[],_0x3086c1=0x0;_0x3086c1<_0xa3de44;_0x3086c1++)_0x3901f6[_0x3086c1>>>0x2]|=(_0x3e234d['charCodeAt'](_0x3086c1)&0xff)<<0x18-_0x3086c1%0x4*0x8;return new _0x1d4a95[(_0x360aaa(0x1f3))](_0x3901f6,_0xa3de44);}},_0xaf2f14=_0x1e4100[_0x561e7f(0x2c4)]={'stringify':function(_0x363cdc){var _0xed1a90=_0x561e7f;try{return decodeURIComponent(escape(_0x505c39[_0xed1a90(0x40a)](_0x363cdc)));}catch{throw new Error(_0xed1a90(0x55b));}},'parse':function(_0x34f4fa){var _0x66a2e5=_0x561e7f;return _0x505c39[_0x66a2e5(0x257)](unescape(encodeURIComponent(_0x34f4fa)));}},_0x7eae1b=_0x42dea8[_0x561e7f(0x3d3)]=_0x173d20[_0x561e7f(0x30d)]({'reset':function(){var _0x4625c1=_0x561e7f;this[_0x4625c1(0x42f)]=new _0x1d4a95[(_0x4625c1(0x1f3))](),this['_nDataBytes']=0x0;},'_append':function(_0x260bf7){var _0x37f185=_0x561e7f;typeof _0x260bf7==_0x37f185(0x4de)&&(_0x260bf7=_0xaf2f14[_0x37f185(0x257)](_0x260bf7)),this[_0x37f185(0x42f)][_0x37f185(0x203)](_0x260bf7),this[_0x37f185(0x2cc)]+=_0x260bf7[_0x37f185(0x24a)];},'_process':function(_0x1f4bb9){var _0x2b8c10=_0x561e7f,_0x395823,_0xae591f=this[_0x2b8c10(0x42f)],_0x3a17c1=_0xae591f['words'],_0x1bef0b=_0xae591f[_0x2b8c10(0x24a)],_0x223247=this[_0x2b8c10(0x3bb)],_0x271d15=_0x223247*0x4,_0x280de9=_0x1bef0b/_0x271d15;_0x1f4bb9?_0x280de9=_0x2e0379[_0x2b8c10(0x328)](_0x280de9):_0x280de9=_0x2e0379[_0x2b8c10(0x3a2)]((_0x280de9|0x0)-this[_0x2b8c10(0x3ef)],0x0);var _0x1ee2c6=_0x280de9*_0x223247,_0x35ff4c=_0x2e0379['min'](_0x1ee2c6*0x4,_0x1bef0b);if(_0x1ee2c6){for(var _0x14d071=0x0;_0x14d071<_0x1ee2c6;_0x14d071+=_0x223247)this[_0x2b8c10(0x360)](_0x3a17c1,_0x14d071);_0x395823=_0x3a17c1['splice'](0x0,_0x1ee2c6),_0xae591f[_0x2b8c10(0x24a)]-=_0x35ff4c;}return new _0x1d4a95[(_0x2b8c10(0x1f3))](_0x395823,_0x35ff4c);},'clone':function(){var _0x1bda1f=_0x561e7f,_0x36a6f8=_0x173d20[_0x1bda1f(0x3ca)]['call'](this);return _0x36a6f8['_data']=this[_0x1bda1f(0x42f)]['clone'](),_0x36a6f8;},'_minBufferSize':0x0});_0x42dea8['Hasher']=_0x7eae1b[_0x561e7f(0x30d)]({'cfg':_0x173d20[_0x561e7f(0x30d)](),'init':function(_0xfc559e){var _0x336262=_0x561e7f;this[_0x336262(0x303)]=this[_0x336262(0x303)][_0x336262(0x30d)](_0xfc559e),this['reset']();},'reset':function(){var _0x3ff811=_0x561e7f;_0x7eae1b[_0x3ff811(0x551)][_0x3ff811(0x417)](this),this['_doReset']();},'update':function(_0xb1491){var _0x1b9ac0=_0x561e7f;return this['_append'](_0xb1491),this[_0x1b9ac0(0x38e)](),this;},'finalize':function(_0x45db87){_0x45db87&&this['_append'](_0x45db87);var _0x47e047=this['_doFinalize']();return _0x47e047;},'blockSize':0x10,'_createHelper':function(_0x2d50ff){return function(_0x27208c,_0x42de63){var _0x4e63ae=_0x1dd8;return new _0x2d50ff['init'](_0x42de63)[_0x4e63ae(0x215)](_0x27208c);};},'_createHmacHelper':function(_0x275e72){return function(_0x1acccc,_0x229985){var _0x5e0528=_0x1dd8;return new _0x35ec2a[(_0x5e0528(0x403))][(_0x5e0528(0x1f3))](_0x275e72,_0x229985)[_0x5e0528(0x215)](_0x1acccc);};}});var _0x35ec2a=_0x2e33e1[_0x561e7f(0x2f1)]={};return _0x2e33e1;}(Math);return _0x2c35bd;}));}(Ie)),Ie['exports'];}var pe={'exports':{}},Ni=pe[_0x4c5ff4(0x511)],Je;function yt(){var _0x4d851f=_0x4c5ff4;return Je||(Je=0x1,function(_0x1a18b9,_0x28b05a){(function(_0x3c8b21,_0x3dfac8){var _0x31318c=_0x1dd8;_0x1a18b9[_0x31318c(0x511)]=_0x3dfac8(Q());}(Ni,function(_0x2d6689){var _0x1eaddb=_0x1dd8;return(function(){var _0x4faea9=_0x1dd8,_0x173b13=_0x2d6689,_0x1e0ee7=_0x173b13[_0x4faea9(0x3cb)],_0x5aa906=_0x1e0ee7[_0x4faea9(0x3ec)],_0x19c15d=_0x173b13[_0x4faea9(0x281)];_0x19c15d['Base64']={'stringify':function(_0x4a8fd4){var _0x2c5f26=_0x4faea9,_0x36a36e=_0x4a8fd4[_0x2c5f26(0x1ee)],_0x5a0140=_0x4a8fd4['sigBytes'],_0x1cc0b2=this['_map'];_0x4a8fd4[_0x2c5f26(0x374)]();for(var _0x422d02=[],_0x4982ff=0x0;_0x4982ff<_0x5a0140;_0x4982ff+=0x3)for(var _0x4da2c7=_0x36a36e[_0x4982ff>>>0x2]>>>0x18-_0x4982ff%0x4*0x8&0xff,_0x6c37ff=_0x36a36e[_0x4982ff+0x1>>>0x2]>>>0x18-(_0x4982ff+0x1)%0x4*0x8&0xff,_0x1e0b3a=_0x36a36e[_0x4982ff+0x2>>>0x2]>>>0x18-(_0x4982ff+0x2)%0x4*0x8&0xff,_0x3ec892=_0x4da2c7<<0x10|_0x6c37ff<<0x8|_0x1e0b3a,_0x1b5328=0x0;_0x1b5328<0x4&&_0x4982ff+_0x1b5328*0.75<_0x5a0140;_0x1b5328++)_0x422d02['push'](_0x1cc0b2[_0x2c5f26(0x395)](_0x3ec892>>>0x6*(0x3-_0x1b5328)&0x3f));var _0x529dba=_0x1cc0b2[_0x2c5f26(0x395)](0x40);if(_0x529dba){for(;_0x422d02['length']%0x4;)_0x422d02[_0x2c5f26(0x209)](_0x529dba);}return _0x422d02[_0x2c5f26(0x52a)]('');},'parse':function(_0x49455){var _0x34c10e=_0x4faea9,_0xf07ff7=_0x49455[_0x34c10e(0x54c)],_0x37b4bf=this[_0x34c10e(0x27e)],_0xd50e76=this[_0x34c10e(0x2ae)];if(!_0xd50e76){_0xd50e76=this['_reverseMap']=[];for(var _0x171bc4=0x0;_0x171bc4<_0x37b4bf[_0x34c10e(0x54c)];_0x171bc4++)_0xd50e76[_0x37b4bf['charCodeAt'](_0x171bc4)]=_0x171bc4;}var _0x4054f2=_0x37b4bf[_0x34c10e(0x395)](0x40);if(_0x4054f2){var _0x5b8e10=_0x49455[_0x34c10e(0x4a4)](_0x4054f2);_0x5b8e10!==-0x1&&(_0xf07ff7=_0x5b8e10);}return _0x436fb7(_0x49455,_0xf07ff7,_0xd50e76);},'_map':_0x4faea9(0x25f)};function _0x436fb7(_0x3d0c9a,_0x4c21cd,_0x35d611){var _0x4b92db=_0x4faea9;for(var _0xc92e18=[],_0xebfe28=0x0,_0x47fbf5=0x0;_0x47fbf5<_0x4c21cd;_0x47fbf5++)if(_0x47fbf5%0x4){var _0x42fbbc=_0x35d611[_0x3d0c9a['charCodeAt'](_0x47fbf5-0x1)]<<_0x47fbf5%0x4*0x2,_0x40aa6d=_0x35d611[_0x3d0c9a[_0x4b92db(0x2bd)](_0x47fbf5)]>>>0x6-_0x47fbf5%0x4*0x2,_0x13e83d=_0x42fbbc|_0x40aa6d;_0xc92e18[_0xebfe28>>>0x2]|=_0x13e83d<<0x18-_0xebfe28%0x4*0x8,_0xebfe28++;}return _0x5aa906[_0x4b92db(0x525)](_0xc92e18,_0xebfe28);}}()),_0x2d6689[_0x1eaddb(0x281)]['Base64'];}));}(pe)),pe[_0x4d851f(0x511)];}var ge={'exports':{}},Di=ge[_0x4c5ff4(0x511)],Xe;function Ui(){var _0x557f0d=_0x4c5ff4;return Xe||(Xe=0x1,function(_0x4008f8,_0x2dc4cf){(function(_0x27412,_0x2ac381){var _0x288fb6=_0x1dd8;_0x4008f8[_0x288fb6(0x511)]=_0x2ac381(Q());}(Di,function(_0x4b585b){var _0x394f58=_0x1dd8;return function(_0x46e5ba){var _0x5befb3=_0x1dd8,_0x1981e5=_0x4b585b,_0x292803=_0x1981e5[_0x5befb3(0x3cb)],_0x3bd29b=_0x292803['WordArray'],_0x1f42a0=_0x292803[_0x5befb3(0x528)],_0x53cc0c=_0x1981e5[_0x5befb3(0x2f1)],_0x28a45f=[];(function(){var _0x1fd48b=_0x5befb3;for(var _0x21b972=0x0;_0x21b972<0x40;_0x21b972++)_0x28a45f[_0x21b972]=_0x46e5ba[_0x1fd48b(0x45a)](_0x46e5ba[_0x1fd48b(0x320)](_0x21b972+0x1))*0x100000000|0x0;}());var _0x30202b=_0x53cc0c[_0x5befb3(0x243)]=_0x1f42a0[_0x5befb3(0x30d)]({'_doReset':function(){var _0x12b66a=_0x5befb3;this[_0x12b66a(0x3cc)]=new _0x3bd29b[(_0x12b66a(0x1f3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2bc909,_0x1d507e){var _0x2ee79a=_0x5befb3;for(var _0x22f054=0x0;_0x22f054<0x10;_0x22f054++){var _0x1d4ac6=_0x1d507e+_0x22f054,_0x45c65b=_0x2bc909[_0x1d4ac6];_0x2bc909[_0x1d4ac6]=(_0x45c65b<<0x8|_0x45c65b>>>0x18)&0xff00ff|(_0x45c65b<<0x18|_0x45c65b>>>0x8)&0xff00ff00;}var _0x4b0fbf=this[_0x2ee79a(0x3cc)][_0x2ee79a(0x1ee)],_0x3b7a4e=_0x2bc909[_0x1d507e+0x0],_0x4bb542=_0x2bc909[_0x1d507e+0x1],_0x35562e=_0x2bc909[_0x1d507e+0x2],_0x17c12e=_0x2bc909[_0x1d507e+0x3],_0x4c6032=_0x2bc909[_0x1d507e+0x4],_0x2aba34=_0x2bc909[_0x1d507e+0x5],_0x477c40=_0x2bc909[_0x1d507e+0x6],_0x24dc69=_0x2bc909[_0x1d507e+0x7],_0x4f3c64=_0x2bc909[_0x1d507e+0x8],_0x3ea292=_0x2bc909[_0x1d507e+0x9],_0x27cee6=_0x2bc909[_0x1d507e+0xa],_0x4617dd=_0x2bc909[_0x1d507e+0xb],_0x8b704e=_0x2bc909[_0x1d507e+0xc],_0x456638=_0x2bc909[_0x1d507e+0xd],_0x276fed=_0x2bc909[_0x1d507e+0xe],_0x39c97a=_0x2bc909[_0x1d507e+0xf],_0x1bda37=_0x4b0fbf[0x0],_0xeabf36=_0x4b0fbf[0x1],_0xa72116=_0x4b0fbf[0x2],_0x361396=_0x4b0fbf[0x3];_0x1bda37=_0x3ea2a9(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x3b7a4e,0x7,_0x28a45f[0x0]),_0x361396=_0x3ea2a9(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x4bb542,0xc,_0x28a45f[0x1]),_0xa72116=_0x3ea2a9(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x35562e,0x11,_0x28a45f[0x2]),_0xeabf36=_0x3ea2a9(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x17c12e,0x16,_0x28a45f[0x3]),_0x1bda37=_0x3ea2a9(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4c6032,0x7,_0x28a45f[0x4]),_0x361396=_0x3ea2a9(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x2aba34,0xc,_0x28a45f[0x5]),_0xa72116=_0x3ea2a9(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x477c40,0x11,_0x28a45f[0x6]),_0xeabf36=_0x3ea2a9(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x24dc69,0x16,_0x28a45f[0x7]),_0x1bda37=_0x3ea2a9(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4f3c64,0x7,_0x28a45f[0x8]),_0x361396=_0x3ea2a9(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x3ea292,0xc,_0x28a45f[0x9]),_0xa72116=_0x3ea2a9(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x27cee6,0x11,_0x28a45f[0xa]),_0xeabf36=_0x3ea2a9(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x4617dd,0x16,_0x28a45f[0xb]),_0x1bda37=_0x3ea2a9(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x8b704e,0x7,_0x28a45f[0xc]),_0x361396=_0x3ea2a9(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x456638,0xc,_0x28a45f[0xd]),_0xa72116=_0x3ea2a9(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x276fed,0x11,_0x28a45f[0xe]),_0xeabf36=_0x3ea2a9(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x39c97a,0x16,_0x28a45f[0xf]),_0x1bda37=_0x289a5c(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4bb542,0x5,_0x28a45f[0x10]),_0x361396=_0x289a5c(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x477c40,0x9,_0x28a45f[0x11]),_0xa72116=_0x289a5c(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x4617dd,0xe,_0x28a45f[0x12]),_0xeabf36=_0x289a5c(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x3b7a4e,0x14,_0x28a45f[0x13]),_0x1bda37=_0x289a5c(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x2aba34,0x5,_0x28a45f[0x14]),_0x361396=_0x289a5c(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x27cee6,0x9,_0x28a45f[0x15]),_0xa72116=_0x289a5c(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x39c97a,0xe,_0x28a45f[0x16]),_0xeabf36=_0x289a5c(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x4c6032,0x14,_0x28a45f[0x17]),_0x1bda37=_0x289a5c(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x3ea292,0x5,_0x28a45f[0x18]),_0x361396=_0x289a5c(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x276fed,0x9,_0x28a45f[0x19]),_0xa72116=_0x289a5c(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x17c12e,0xe,_0x28a45f[0x1a]),_0xeabf36=_0x289a5c(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x4f3c64,0x14,_0x28a45f[0x1b]),_0x1bda37=_0x289a5c(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x456638,0x5,_0x28a45f[0x1c]),_0x361396=_0x289a5c(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x35562e,0x9,_0x28a45f[0x1d]),_0xa72116=_0x289a5c(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x24dc69,0xe,_0x28a45f[0x1e]),_0xeabf36=_0x289a5c(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x8b704e,0x14,_0x28a45f[0x1f]),_0x1bda37=_0x1cb8b2(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x2aba34,0x4,_0x28a45f[0x20]),_0x361396=_0x1cb8b2(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x4f3c64,0xb,_0x28a45f[0x21]),_0xa72116=_0x1cb8b2(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x4617dd,0x10,_0x28a45f[0x22]),_0xeabf36=_0x1cb8b2(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x276fed,0x17,_0x28a45f[0x23]),_0x1bda37=_0x1cb8b2(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4bb542,0x4,_0x28a45f[0x24]),_0x361396=_0x1cb8b2(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x4c6032,0xb,_0x28a45f[0x25]),_0xa72116=_0x1cb8b2(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x24dc69,0x10,_0x28a45f[0x26]),_0xeabf36=_0x1cb8b2(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x27cee6,0x17,_0x28a45f[0x27]),_0x1bda37=_0x1cb8b2(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x456638,0x4,_0x28a45f[0x28]),_0x361396=_0x1cb8b2(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x3b7a4e,0xb,_0x28a45f[0x29]),_0xa72116=_0x1cb8b2(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x17c12e,0x10,_0x28a45f[0x2a]),_0xeabf36=_0x1cb8b2(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x477c40,0x17,_0x28a45f[0x2b]),_0x1bda37=_0x1cb8b2(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x3ea292,0x4,_0x28a45f[0x2c]),_0x361396=_0x1cb8b2(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x8b704e,0xb,_0x28a45f[0x2d]),_0xa72116=_0x1cb8b2(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x39c97a,0x10,_0x28a45f[0x2e]),_0xeabf36=_0x1cb8b2(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x35562e,0x17,_0x28a45f[0x2f]),_0x1bda37=_0x213810(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x3b7a4e,0x6,_0x28a45f[0x30]),_0x361396=_0x213810(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x24dc69,0xa,_0x28a45f[0x31]),_0xa72116=_0x213810(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x276fed,0xf,_0x28a45f[0x32]),_0xeabf36=_0x213810(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x2aba34,0x15,_0x28a45f[0x33]),_0x1bda37=_0x213810(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x8b704e,0x6,_0x28a45f[0x34]),_0x361396=_0x213810(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x17c12e,0xa,_0x28a45f[0x35]),_0xa72116=_0x213810(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x27cee6,0xf,_0x28a45f[0x36]),_0xeabf36=_0x213810(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x4bb542,0x15,_0x28a45f[0x37]),_0x1bda37=_0x213810(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4f3c64,0x6,_0x28a45f[0x38]),_0x361396=_0x213810(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x39c97a,0xa,_0x28a45f[0x39]),_0xa72116=_0x213810(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x477c40,0xf,_0x28a45f[0x3a]),_0xeabf36=_0x213810(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x456638,0x15,_0x28a45f[0x3b]),_0x1bda37=_0x213810(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4c6032,0x6,_0x28a45f[0x3c]),_0x361396=_0x213810(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x4617dd,0xa,_0x28a45f[0x3d]),_0xa72116=_0x213810(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x35562e,0xf,_0x28a45f[0x3e]),_0xeabf36=_0x213810(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x3ea292,0x15,_0x28a45f[0x3f]),_0x4b0fbf[0x0]=_0x4b0fbf[0x0]+_0x1bda37|0x0,_0x4b0fbf[0x1]=_0x4b0fbf[0x1]+_0xeabf36|0x0,_0x4b0fbf[0x2]=_0x4b0fbf[0x2]+_0xa72116|0x0,_0x4b0fbf[0x3]=_0x4b0fbf[0x3]+_0x361396|0x0;},'_doFinalize':function(){var _0xdd7e0=_0x5befb3,_0x379cdf=this[_0xdd7e0(0x42f)],_0x5eba4b=_0x379cdf['words'],_0x2e6a10=this[_0xdd7e0(0x2cc)]*0x8,_0x5d3261=_0x379cdf[_0xdd7e0(0x24a)]*0x8;_0x5eba4b[_0x5d3261>>>0x5]|=0x80<<0x18-_0x5d3261%0x20;var _0x422779=_0x46e5ba[_0xdd7e0(0x418)](_0x2e6a10/0x100000000),_0x429ee3=_0x2e6a10;_0x5eba4b[(_0x5d3261+0x40>>>0x9<<0x4)+0xf]=(_0x422779<<0x8|_0x422779>>>0x18)&0xff00ff|(_0x422779<<0x18|_0x422779>>>0x8)&0xff00ff00,_0x5eba4b[(_0x5d3261+0x40>>>0x9<<0x4)+0xe]=(_0x429ee3<<0x8|_0x429ee3>>>0x18)&0xff00ff|(_0x429ee3<<0x18|_0x429ee3>>>0x8)&0xff00ff00,_0x379cdf[_0xdd7e0(0x24a)]=(_0x5eba4b[_0xdd7e0(0x54c)]+0x1)*0x4,this[_0xdd7e0(0x38e)]();for(var _0x183644=this[_0xdd7e0(0x3cc)],_0x13e71e=_0x183644[_0xdd7e0(0x1ee)],_0x197632=0x0;_0x197632<0x4;_0x197632++){var _0x49480=_0x13e71e[_0x197632];_0x13e71e[_0x197632]=(_0x49480<<0x8|_0x49480>>>0x18)&0xff00ff|(_0x49480<<0x18|_0x49480>>>0x8)&0xff00ff00;}return _0x183644;},'clone':function(){var _0x215737=_0x5befb3,_0x35e85c=_0x1f42a0[_0x215737(0x3ca)][_0x215737(0x417)](this);return _0x35e85c['_hash']=this[_0x215737(0x3cc)][_0x215737(0x3ca)](),_0x35e85c;}});function _0x3ea2a9(_0x350466,_0x1a7d23,_0x20b148,_0x5b1d35,_0x12b4db,_0x100537,_0x4d819a){var _0xf2ebfd=_0x350466+(_0x1a7d23&_0x20b148|~_0x1a7d23&_0x5b1d35)+_0x12b4db+_0x4d819a;return(_0xf2ebfd<<_0x100537|_0xf2ebfd>>>0x20-_0x100537)+_0x1a7d23;}function _0x289a5c(_0xe84aba,_0x1fca00,_0x321d37,_0x531077,_0xd1d455,_0x3fb6c8,_0x57d0e5){var _0x4a2663=_0xe84aba+(_0x1fca00&_0x531077|_0x321d37&~_0x531077)+_0xd1d455+_0x57d0e5;return(_0x4a2663<<_0x3fb6c8|_0x4a2663>>>0x20-_0x3fb6c8)+_0x1fca00;}function _0x1cb8b2(_0x136637,_0x6d779,_0x5d5773,_0x4bbadb,_0x466c45,_0x18e24f,_0x30d0d6){var _0xaad95a=_0x136637+(_0x6d779^_0x5d5773^_0x4bbadb)+_0x466c45+_0x30d0d6;return(_0xaad95a<<_0x18e24f|_0xaad95a>>>0x20-_0x18e24f)+_0x6d779;}function _0x213810(_0x1c1355,_0x32c4d9,_0x48e755,_0x265b2e,_0x216e4b,_0xb36370,_0x44123d){var _0x38e0c1=_0x1c1355+(_0x48e755^(_0x32c4d9|~_0x265b2e))+_0x216e4b+_0x44123d;return(_0x38e0c1<<_0xb36370|_0x38e0c1>>>0x20-_0xb36370)+_0x32c4d9;}_0x1981e5['MD5']=_0x1f42a0[_0x5befb3(0x2fe)](_0x30202b),_0x1981e5[_0x5befb3(0x230)]=_0x1f42a0[_0x5befb3(0x4ce)](_0x30202b);}(Math),_0x4b585b[_0x394f58(0x243)];}));}(ge)),ge[_0x557f0d(0x511)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x4c5ff4(0x511)],Ze;function Pi(){var _0x5a0200=_0x4c5ff4;return Ze||(Ze=0x1,function(_0x26ea32,_0x10ffa2){(function(_0x173ecb,_0xb613b){var _0xcba71c=_0x1dd8;_0x26ea32[_0xcba71c(0x511)]=_0xb613b(Q());}(Ai,function(_0x29aa4d){var _0x44b1f0=_0x1dd8;return(function(){var _0x12cfee=_0x1dd8,_0x346694=_0x29aa4d,_0x2bc98e=_0x346694[_0x12cfee(0x3cb)],_0x25ccaf=_0x2bc98e[_0x12cfee(0x3ec)],_0x5597c1=_0x2bc98e[_0x12cfee(0x528)],_0x2d9947=_0x346694['algo'],_0x19d219=[],_0x3c58f7=_0x2d9947[_0x12cfee(0x541)]=_0x5597c1[_0x12cfee(0x30d)]({'_doReset':function(){var _0x5e893c=_0x12cfee;this[_0x5e893c(0x3cc)]=new _0x25ccaf[(_0x5e893c(0x1f3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x40e1b2,_0x51f85e){var _0x192fb5=_0x12cfee;for(var _0x2ce26a=this['_hash'][_0x192fb5(0x1ee)],_0x158d25=_0x2ce26a[0x0],_0x21df57=_0x2ce26a[0x1],_0x2b81a1=_0x2ce26a[0x2],_0x590d23=_0x2ce26a[0x3],_0x15fcdb=_0x2ce26a[0x4],_0x13deb3=0x0;_0x13deb3<0x50;_0x13deb3++){if(_0x13deb3<0x10)_0x19d219[_0x13deb3]=_0x40e1b2[_0x51f85e+_0x13deb3]|0x0;else{var _0x122012=_0x19d219[_0x13deb3-0x3]^_0x19d219[_0x13deb3-0x8]^_0x19d219[_0x13deb3-0xe]^_0x19d219[_0x13deb3-0x10];_0x19d219[_0x13deb3]=_0x122012<<0x1|_0x122012>>>0x1f;}var _0x7a4424=(_0x158d25<<0x5|_0x158d25>>>0x1b)+_0x15fcdb+_0x19d219[_0x13deb3];_0x13deb3<0x14?_0x7a4424+=(_0x21df57&_0x2b81a1|~_0x21df57&_0x590d23)+0x5a827999:_0x13deb3<0x28?_0x7a4424+=(_0x21df57^_0x2b81a1^_0x590d23)+0x6ed9eba1:_0x13deb3<0x3c?_0x7a4424+=(_0x21df57&_0x2b81a1|_0x21df57&_0x590d23|_0x2b81a1&_0x590d23)-0x70e44324:_0x7a4424+=(_0x21df57^_0x2b81a1^_0x590d23)-0x359d3e2a,_0x15fcdb=_0x590d23,_0x590d23=_0x2b81a1,_0x2b81a1=_0x21df57<<0x1e|_0x21df57>>>0x2,_0x21df57=_0x158d25,_0x158d25=_0x7a4424;}_0x2ce26a[0x0]=_0x2ce26a[0x0]+_0x158d25|0x0,_0x2ce26a[0x1]=_0x2ce26a[0x1]+_0x21df57|0x0,_0x2ce26a[0x2]=_0x2ce26a[0x2]+_0x2b81a1|0x0,_0x2ce26a[0x3]=_0x2ce26a[0x3]+_0x590d23|0x0,_0x2ce26a[0x4]=_0x2ce26a[0x4]+_0x15fcdb|0x0;},'_doFinalize':function(){var _0x3b1472=_0x12cfee,_0x204be6=this[_0x3b1472(0x42f)],_0x5eb0f7=_0x204be6[_0x3b1472(0x1ee)],_0x148273=this['_nDataBytes']*0x8,_0x137d5c=_0x204be6[_0x3b1472(0x24a)]*0x8;return _0x5eb0f7[_0x137d5c>>>0x5]|=0x80<<0x18-_0x137d5c%0x20,_0x5eb0f7[(_0x137d5c+0x40>>>0x9<<0x4)+0xe]=Math[_0x3b1472(0x418)](_0x148273/0x100000000),_0x5eb0f7[(_0x137d5c+0x40>>>0x9<<0x4)+0xf]=_0x148273,_0x204be6[_0x3b1472(0x24a)]=_0x5eb0f7[_0x3b1472(0x54c)]*0x4,this[_0x3b1472(0x38e)](),this['_hash'];},'clone':function(){var _0x175813=_0x12cfee,_0x2aa477=_0x5597c1['clone'][_0x175813(0x417)](this);return _0x2aa477[_0x175813(0x3cc)]=this[_0x175813(0x3cc)]['clone'](),_0x2aa477;}});_0x346694[_0x12cfee(0x541)]=_0x5597c1[_0x12cfee(0x2fe)](_0x3c58f7),_0x346694[_0x12cfee(0x545)]=_0x5597c1['_createHmacHelper'](_0x3c58f7);}()),_0x29aa4d[_0x44b1f0(0x541)];}));}(me)),me[_0x5a0200(0x511)];}var Ce={'exports':{}},Li=Ce[_0x4c5ff4(0x511)],Qe;function wi(){var _0x2d3d8c=_0x4c5ff4;return Qe||(Qe=0x1,function(_0x46eff1,_0x34d463){(function(_0x29c259,_0x1a5843){_0x46eff1['exports']=_0x1a5843(Q());}(Li,function(_0xa871d1){(function(){var _0x425d39=_0x1dd8,_0x5980ee=_0xa871d1,_0x17028a=_0x5980ee['lib'],_0x4199b4=_0x17028a[_0x425d39(0x52d)],_0x40e460=_0x5980ee['enc'],_0x55803c=_0x40e460[_0x425d39(0x2c4)],_0x2511dc=_0x5980ee[_0x425d39(0x2f1)];_0x2511dc[_0x425d39(0x403)]=_0x4199b4['extend']({'init':function(_0x3f74a6,_0x25d1fd){var _0x37becd=_0x425d39;_0x3f74a6=this[_0x37becd(0x46d)]=new _0x3f74a6[(_0x37becd(0x1f3))](),typeof _0x25d1fd==_0x37becd(0x4de)&&(_0x25d1fd=_0x55803c[_0x37becd(0x257)](_0x25d1fd));var _0xc8923c=_0x3f74a6[_0x37becd(0x3bb)],_0x42b9fe=_0xc8923c*0x4;_0x25d1fd[_0x37becd(0x24a)]>_0x42b9fe&&(_0x25d1fd=_0x3f74a6['finalize'](_0x25d1fd)),_0x25d1fd[_0x37becd(0x374)]();for(var _0x1bc39a=this[_0x37becd(0x359)]=_0x25d1fd[_0x37becd(0x3ca)](),_0x43fb04=this[_0x37becd(0x311)]=_0x25d1fd[_0x37becd(0x3ca)](),_0x176b58=_0x1bc39a[_0x37becd(0x1ee)],_0x1dd3c8=_0x43fb04[_0x37becd(0x1ee)],_0x1447f9=0x0;_0x1447f9<_0xc8923c;_0x1447f9++)_0x176b58[_0x1447f9]^=0x5c5c5c5c,_0x1dd3c8[_0x1447f9]^=0x36363636;_0x1bc39a[_0x37becd(0x24a)]=_0x43fb04['sigBytes']=_0x42b9fe,this[_0x37becd(0x551)]();},'reset':function(){var _0x93df56=_0x425d39,_0x49e502=this[_0x93df56(0x46d)];_0x49e502[_0x93df56(0x551)](),_0x49e502[_0x93df56(0x4f8)](this[_0x93df56(0x311)]);},'update':function(_0x375b75){var _0x254a34=_0x425d39;return this[_0x254a34(0x46d)][_0x254a34(0x4f8)](_0x375b75),this;},'finalize':function(_0x1ce0fd){var _0x5cb3b2=_0x425d39,_0x1c42e0=this['_hasher'],_0x3f8b5d=_0x1c42e0[_0x5cb3b2(0x215)](_0x1ce0fd);_0x1c42e0['reset']();var _0x1c5cad=_0x1c42e0[_0x5cb3b2(0x215)](this[_0x5cb3b2(0x359)]['clone']()[_0x5cb3b2(0x203)](_0x3f8b5d));return _0x1c5cad;}});}());}));}(Ce)),Ce[_0x2d3d8c(0x511)];}var Mi=Ee[_0x4c5ff4(0x511)],et;function Nt(){var _0x2103b0=_0x4c5ff4;return et||(et=0x1,function(_0x21aa31,_0x5015cd){(function(_0x1ff745,_0x26ad58,_0x3157b6){var _0x4ac1d9=_0x1dd8;_0x21aa31[_0x4ac1d9(0x511)]=_0x26ad58(Q(),Pi(),wi());}(Mi,function(_0x17ef81){var _0x4fa22d=_0x1dd8;return(function(){var _0x4040da=_0x1dd8,_0x7678f5=_0x17ef81,_0x454953=_0x7678f5[_0x4040da(0x3cb)],_0x2e5b54=_0x454953['Base'],_0x8f6d04=_0x454953[_0x4040da(0x3ec)],_0x5c60f4=_0x7678f5['algo'],_0x1517f9=_0x5c60f4[_0x4040da(0x243)],_0x3b0d3c=_0x5c60f4['EvpKDF']=_0x2e5b54['extend']({'cfg':_0x2e5b54[_0x4040da(0x30d)]({'keySize':0x80/0x20,'hasher':_0x1517f9,'iterations':0x1}),'init':function(_0x2c6a37){var _0x2c0d6d=_0x4040da;this[_0x2c0d6d(0x303)]=this['cfg'][_0x2c0d6d(0x30d)](_0x2c6a37);},'compute':function(_0x5034c4,_0x38aa4d){var _0x1ba713=_0x4040da;for(var _0x2787dc,_0xa0df98=this[_0x1ba713(0x303)],_0xefc6f7=_0xa0df98[_0x1ba713(0x283)][_0x1ba713(0x525)](),_0x17318b=_0x8f6d04['create'](),_0x29d0c9=_0x17318b['words'],_0x43dcc0=_0xa0df98[_0x1ba713(0x427)],_0x2587cb=_0xa0df98[_0x1ba713(0x33d)];_0x29d0c9[_0x1ba713(0x54c)]<_0x43dcc0;){_0x2787dc&&_0xefc6f7[_0x1ba713(0x4f8)](_0x2787dc),_0x2787dc=_0xefc6f7['update'](_0x5034c4)[_0x1ba713(0x215)](_0x38aa4d),_0xefc6f7[_0x1ba713(0x551)]();for(var _0x2ceb2b=0x1;_0x2ceb2b<_0x2587cb;_0x2ceb2b++)_0x2787dc=_0xefc6f7[_0x1ba713(0x215)](_0x2787dc),_0xefc6f7[_0x1ba713(0x551)]();_0x17318b['concat'](_0x2787dc);}return _0x17318b[_0x1ba713(0x24a)]=_0x43dcc0*0x4,_0x17318b;}});_0x7678f5[_0x4040da(0x4f4)]=function(_0x1e9405,_0x3d88f8,_0x11431c){var _0x5ab484=_0x4040da;return _0x3b0d3c[_0x5ab484(0x525)](_0x11431c)[_0x5ab484(0x460)](_0x1e9405,_0x3d88f8);};}()),_0x17ef81[_0x4fa22d(0x4f4)];}));}(Ee)),Ee[_0x2103b0(0x511)];}var Te={'exports':{}},xi=Te[_0x4c5ff4(0x511)],tt;function Dt(){var _0x247761=_0x4c5ff4;return tt||(tt=0x1,function(_0x5d829e,_0x29eafd){(function(_0xf84446,_0x4fc10d,_0x2177a9){_0x5d829e['exports']=_0x4fc10d(Q(),Nt());}(xi,function(_0x5e55e8){var _0x157f3c=_0x1dd8;_0x5e55e8[_0x157f3c(0x3cb)]['Cipher']||function(_0x39a405){var _0x359673=_0x157f3c,_0x489361=_0x5e55e8,_0x3c7976=_0x489361[_0x359673(0x3cb)],_0x687fa=_0x3c7976[_0x359673(0x52d)],_0x3ee9c9=_0x3c7976[_0x359673(0x3ec)],_0x109e8b=_0x3c7976[_0x359673(0x3d3)],_0xf561e9=_0x489361[_0x359673(0x281)];_0xf561e9[_0x359673(0x2c4)];var _0x274966=_0xf561e9[_0x359673(0x322)],_0x2fc2d0=_0x489361['algo'],_0x4a1356=_0x2fc2d0[_0x359673(0x4f4)],_0x3cf3e6=_0x3c7976[_0x359673(0x1ec)]=_0x109e8b['extend']({'cfg':_0x687fa[_0x359673(0x30d)](),'createEncryptor':function(_0x42936f,_0x40387f){var _0x461bc6=_0x359673;return this[_0x461bc6(0x525)](this[_0x461bc6(0x46a)],_0x42936f,_0x40387f);},'createDecryptor':function(_0x44a171,_0x6a02ba){var _0x388475=_0x359673;return this[_0x388475(0x525)](this[_0x388475(0x49a)],_0x44a171,_0x6a02ba);},'init':function(_0x1a67d6,_0x24ff6a,_0x41e24d){var _0x43f6de=_0x359673;this[_0x43f6de(0x303)]=this[_0x43f6de(0x303)][_0x43f6de(0x30d)](_0x41e24d),this[_0x43f6de(0x35a)]=_0x1a67d6,this[_0x43f6de(0x390)]=_0x24ff6a,this[_0x43f6de(0x551)]();},'reset':function(){var _0x216615=_0x359673;_0x109e8b[_0x216615(0x551)][_0x216615(0x417)](this),this['_doReset']();},'process':function(_0x124f06){var _0x2a747d=_0x359673;return this[_0x2a747d(0x4b1)](_0x124f06),this[_0x2a747d(0x38e)]();},'finalize':function(_0x4626f2){var _0x35e049=_0x359673;_0x4626f2&&this[_0x35e049(0x4b1)](_0x4626f2);var _0x3fe957=this['_doFinalize']();return _0x3fe957;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2696be(_0x2bbd8b){var _0x5c5f5c=_0x1dd8;return typeof _0x2bbd8b==_0x5c5f5c(0x4de)?_0x4eef6e:_0x9bf453;}return function(_0x35060b){return{'encrypt':function(_0x16b1ae,_0x5a6a9c,_0x49c99c){var _0xce3c1=_0x1dd8;return _0x2696be(_0x5a6a9c)[_0xce3c1(0x309)](_0x35060b,_0x16b1ae,_0x5a6a9c,_0x49c99c);},'decrypt':function(_0x3cf705,_0x275321,_0x6eac63){var _0x419a67=_0x1dd8;return _0x2696be(_0x275321)[_0x419a67(0x23f)](_0x35060b,_0x3cf705,_0x275321,_0x6eac63);}};};}())});_0x3c7976[_0x359673(0x3f7)]=_0x3cf3e6['extend']({'_doFinalize':function(){var _0x18602d=this['_process'](!0x0);return _0x18602d;},'blockSize':0x1});var _0x42f74d=_0x489361[_0x359673(0x43e)]={},_0x50f417=_0x3c7976[_0x359673(0x28d)]=_0x687fa['extend']({'createEncryptor':function(_0x63c3b6,_0x301fce){var _0x38e669=_0x359673;return this[_0x38e669(0x34d)][_0x38e669(0x525)](_0x63c3b6,_0x301fce);},'createDecryptor':function(_0x57b5ab,_0x327b94){var _0x11c5d1=_0x359673;return this[_0x11c5d1(0x2a6)]['create'](_0x57b5ab,_0x327b94);},'init':function(_0xe63710,_0x21786a){var _0x69052a=_0x359673;this[_0x69052a(0x4cb)]=_0xe63710,this['_iv']=_0x21786a;}}),_0x2465c5=_0x42f74d['CBC']=(function(){var _0xfafcdf=_0x359673,_0x3b3845=_0x50f417['extend']();_0x3b3845['Encryptor']=_0x3b3845[_0xfafcdf(0x30d)]({'processBlock':function(_0x72d35d,_0x4858b6){var _0x2d9c08=_0xfafcdf,_0x3fae10=this[_0x2d9c08(0x4cb)],_0x2a853c=_0x3fae10[_0x2d9c08(0x3bb)];_0x4d5de8[_0x2d9c08(0x417)](this,_0x72d35d,_0x4858b6,_0x2a853c),_0x3fae10[_0x2d9c08(0x471)](_0x72d35d,_0x4858b6),this['_prevBlock']=_0x72d35d[_0x2d9c08(0x40b)](_0x4858b6,_0x4858b6+_0x2a853c);}}),_0x3b3845['Decryptor']=_0x3b3845[_0xfafcdf(0x30d)]({'processBlock':function(_0x4840ae,_0x147b2a){var _0x2af77b=_0xfafcdf,_0x47aa81=this['_cipher'],_0xfe2aa1=_0x47aa81[_0x2af77b(0x3bb)],_0x1b8112=_0x4840ae[_0x2af77b(0x40b)](_0x147b2a,_0x147b2a+_0xfe2aa1);_0x47aa81[_0x2af77b(0x2a5)](_0x4840ae,_0x147b2a),_0x4d5de8[_0x2af77b(0x417)](this,_0x4840ae,_0x147b2a,_0xfe2aa1),this[_0x2af77b(0x366)]=_0x1b8112;}});function _0x4d5de8(_0x43cd8a,_0x205cf4,_0x41f2bc){var _0x2dcf5c=_0xfafcdf,_0x44aebe,_0x3676c1=this['_iv'];_0x3676c1?(_0x44aebe=_0x3676c1,this[_0x2dcf5c(0x335)]=_0x39a405):_0x44aebe=this[_0x2dcf5c(0x366)];for(var _0x365d34=0x0;_0x365d34<_0x41f2bc;_0x365d34++)_0x43cd8a[_0x205cf4+_0x365d34]^=_0x44aebe[_0x365d34];}return _0x3b3845;}()),_0xbbcb82=_0x489361[_0x359673(0x22c)]={},_0x2667c2=_0xbbcb82['Pkcs7']={'pad':function(_0x494a16,_0x44ed41){var _0x5e9df7=_0x359673;for(var _0x3f216e=_0x44ed41*0x4,_0x5500b=_0x3f216e-_0x494a16[_0x5e9df7(0x24a)]%_0x3f216e,_0x6490a7=_0x5500b<<0x18|_0x5500b<<0x10|_0x5500b<<0x8|_0x5500b,_0x24cd7d=[],_0x3c0256=0x0;_0x3c0256<_0x5500b;_0x3c0256+=0x4)_0x24cd7d[_0x5e9df7(0x209)](_0x6490a7);var _0xc7b7aa=_0x3ee9c9[_0x5e9df7(0x525)](_0x24cd7d,_0x5500b);_0x494a16[_0x5e9df7(0x203)](_0xc7b7aa);},'unpad':function(_0x3d93cb){var _0x4865eb=_0x359673,_0x582fb3=_0x3d93cb['words'][_0x3d93cb[_0x4865eb(0x24a)]-0x1>>>0x2]&0xff;_0x3d93cb['sigBytes']-=_0x582fb3;}};_0x3c7976[_0x359673(0x498)]=_0x3cf3e6[_0x359673(0x30d)]({'cfg':_0x3cf3e6[_0x359673(0x303)][_0x359673(0x30d)]({'mode':_0x2465c5,'padding':_0x2667c2}),'reset':function(){var _0x249b57=_0x359673,_0x50dd40;_0x3cf3e6[_0x249b57(0x551)][_0x249b57(0x417)](this);var _0x58976a=this[_0x249b57(0x303)],_0x44054e=_0x58976a['iv'],_0x215564=_0x58976a[_0x249b57(0x43e)];this[_0x249b57(0x35a)]==this['_ENC_XFORM_MODE']?_0x50dd40=_0x215564[_0x249b57(0x3b6)]:(_0x50dd40=_0x215564[_0x249b57(0x42a)],this['_minBufferSize']=0x1),this[_0x249b57(0x2ec)]&&this[_0x249b57(0x2ec)][_0x249b57(0x478)]==_0x50dd40?this[_0x249b57(0x2ec)][_0x249b57(0x1f3)](this,_0x44054e&&_0x44054e[_0x249b57(0x1ee)]):(this[_0x249b57(0x2ec)]=_0x50dd40['call'](_0x215564,this,_0x44054e&&_0x44054e[_0x249b57(0x1ee)]),this['_mode'][_0x249b57(0x478)]=_0x50dd40);},'_doProcessBlock':function(_0x5bc33f,_0x53156e){var _0x434fc2=_0x359673;this[_0x434fc2(0x2ec)][_0x434fc2(0x3a6)](_0x5bc33f,_0x53156e);},'_doFinalize':function(){var _0x47d69d=_0x359673,_0xb408e0,_0x43dee0=this[_0x47d69d(0x303)][_0x47d69d(0x549)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x43dee0[_0x47d69d(0x22c)](this[_0x47d69d(0x42f)],this[_0x47d69d(0x3bb)]),_0xb408e0=this[_0x47d69d(0x38e)](!0x0)):(_0xb408e0=this[_0x47d69d(0x38e)](!0x0),_0x43dee0[_0x47d69d(0x26f)](_0xb408e0)),_0xb408e0;},'blockSize':0x80/0x20});var _0x3fa232=_0x3c7976[_0x359673(0x4ab)]=_0x687fa[_0x359673(0x30d)]({'init':function(_0x37486b){var _0x2e74a0=_0x359673;this[_0x2e74a0(0x421)](_0x37486b);},'toString':function(_0x39d298){var _0x4f0735=_0x359673;return(_0x39d298||this[_0x4f0735(0x340)])[_0x4f0735(0x40a)](this);}}),_0x31a256=_0x489361['format']={},_0x5458c6=_0x31a256['OpenSSL']={'stringify':function(_0x2820f9){var _0xe9fa45=_0x359673,_0x216f5b,_0xcbac16=_0x2820f9[_0xe9fa45(0x3f1)],_0x32acb9=_0x2820f9[_0xe9fa45(0x3d9)];return _0x32acb9?_0x216f5b=_0x3ee9c9[_0xe9fa45(0x525)]([0x53616c74,0x65645f5f])[_0xe9fa45(0x203)](_0x32acb9)[_0xe9fa45(0x203)](_0xcbac16):_0x216f5b=_0xcbac16,_0x216f5b[_0xe9fa45(0x42e)](_0x274966);},'parse':function(_0x155fa3){var _0x1ffb40=_0x359673,_0x3cf4d0,_0x592f98=_0x274966[_0x1ffb40(0x257)](_0x155fa3),_0x3b6261=_0x592f98[_0x1ffb40(0x1ee)];return _0x3b6261[0x0]==0x53616c74&&_0x3b6261[0x1]==0x65645f5f&&(_0x3cf4d0=_0x3ee9c9[_0x1ffb40(0x525)](_0x3b6261[_0x1ffb40(0x40b)](0x2,0x4)),_0x3b6261[_0x1ffb40(0x401)](0x0,0x4),_0x592f98[_0x1ffb40(0x24a)]-=0x10),_0x3fa232['create']({'ciphertext':_0x592f98,'salt':_0x3cf4d0});}},_0x9bf453=_0x3c7976[_0x359673(0x2dd)]=_0x687fa['extend']({'cfg':_0x687fa[_0x359673(0x30d)]({'format':_0x5458c6}),'encrypt':function(_0x4e82d9,_0x21841a,_0x31db75,_0x3d53dc){var _0x41ebf1=_0x359673;_0x3d53dc=this['cfg'][_0x41ebf1(0x30d)](_0x3d53dc);var _0x528880=_0x4e82d9['createEncryptor'](_0x31db75,_0x3d53dc),_0x253a98=_0x528880[_0x41ebf1(0x215)](_0x21841a),_0x4b8720=_0x528880['cfg'];return _0x3fa232[_0x41ebf1(0x525)]({'ciphertext':_0x253a98,'key':_0x31db75,'iv':_0x4b8720['iv'],'algorithm':_0x4e82d9,'mode':_0x4b8720[_0x41ebf1(0x43e)],'padding':_0x4b8720[_0x41ebf1(0x549)],'blockSize':_0x4e82d9[_0x41ebf1(0x3bb)],'formatter':_0x3d53dc[_0x41ebf1(0x4c2)]});},'decrypt':function(_0x73b3e7,_0x5b3d46,_0x3fdede,_0x1102f8){var _0x17b02c=_0x359673;_0x1102f8=this[_0x17b02c(0x303)]['extend'](_0x1102f8),_0x5b3d46=this[_0x17b02c(0x412)](_0x5b3d46,_0x1102f8[_0x17b02c(0x4c2)]);var _0x573999=_0x73b3e7['createDecryptor'](_0x3fdede,_0x1102f8)[_0x17b02c(0x215)](_0x5b3d46[_0x17b02c(0x3f1)]);return _0x573999;},'_parse':function(_0x5470eb,_0x29ed21){var _0x258a4b=_0x359673;return typeof _0x5470eb==_0x258a4b(0x4de)?_0x29ed21[_0x258a4b(0x257)](_0x5470eb,this):_0x5470eb;}}),_0x2c9189=_0x489361[_0x359673(0x2d5)]={},_0xe419d8=_0x2c9189[_0x359673(0x4e3)]={'execute':function(_0x59e2af,_0x1c6b0b,_0x17dfa8,_0x242d36,_0x4106d2){var _0x275535=_0x359673;if(_0x242d36||(_0x242d36=_0x3ee9c9['random'](0x40/0x8)),_0x4106d2)var _0x14d6ff=_0x4a1356[_0x275535(0x525)]({'keySize':_0x1c6b0b+_0x17dfa8,'hasher':_0x4106d2})[_0x275535(0x460)](_0x59e2af,_0x242d36);else var _0x14d6ff=_0x4a1356['create']({'keySize':_0x1c6b0b+_0x17dfa8})[_0x275535(0x460)](_0x59e2af,_0x242d36);var _0x7d5a8c=_0x3ee9c9['create'](_0x14d6ff[_0x275535(0x1ee)]['slice'](_0x1c6b0b),_0x17dfa8*0x4);return _0x14d6ff[_0x275535(0x24a)]=_0x1c6b0b*0x4,_0x3fa232[_0x275535(0x525)]({'key':_0x14d6ff,'iv':_0x7d5a8c,'salt':_0x242d36});}},_0x4eef6e=_0x3c7976[_0x359673(0x4a3)]=_0x9bf453[_0x359673(0x30d)]({'cfg':_0x9bf453[_0x359673(0x303)][_0x359673(0x30d)]({'kdf':_0xe419d8}),'encrypt':function(_0x2a6952,_0x5457f8,_0x1363fd,_0x14f127){var _0x2cfd59=_0x359673;_0x14f127=this[_0x2cfd59(0x303)][_0x2cfd59(0x30d)](_0x14f127);var _0x47beac=_0x14f127[_0x2cfd59(0x2d5)][_0x2cfd59(0x56b)](_0x1363fd,_0x2a6952[_0x2cfd59(0x427)],_0x2a6952['ivSize'],_0x14f127[_0x2cfd59(0x3d9)],_0x14f127[_0x2cfd59(0x283)]);_0x14f127['iv']=_0x47beac['iv'];var _0x2fa80b=_0x9bf453[_0x2cfd59(0x309)][_0x2cfd59(0x417)](this,_0x2a6952,_0x5457f8,_0x47beac[_0x2cfd59(0x2b0)],_0x14f127);return _0x2fa80b[_0x2cfd59(0x421)](_0x47beac),_0x2fa80b;},'decrypt':function(_0x19ae01,_0x399017,_0x513431,_0xfada53){var _0x12290b=_0x359673;_0xfada53=this[_0x12290b(0x303)][_0x12290b(0x30d)](_0xfada53),_0x399017=this['_parse'](_0x399017,_0xfada53[_0x12290b(0x4c2)]);var _0x3f31e9=_0xfada53[_0x12290b(0x2d5)]['execute'](_0x513431,_0x19ae01[_0x12290b(0x427)],_0x19ae01[_0x12290b(0x470)],_0x399017['salt'],_0xfada53['hasher']);_0xfada53['iv']=_0x3f31e9['iv'];var _0x10cddf=_0x9bf453['decrypt']['call'](this,_0x19ae01,_0x399017,_0x3f31e9[_0x12290b(0x2b0)],_0xfada53);return _0x10cddf;}});}();}));}(Te)),Te[_0x247761(0x511)];}var ki=fe[_0x4c5ff4(0x511)],it;function Hi(){var _0x1a3f2a=_0x4c5ff4;return it||(it=0x1,function(_0x1206d0,_0x22d54f){(function(_0x520f63,_0xf86c55,_0x5f5084){var _0x473ba8=_0x1dd8;_0x1206d0[_0x473ba8(0x511)]=_0xf86c55(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x41ef3c){var _0xe8b96e=_0x1dd8;return(function(){var _0x266ce1=_0x1dd8,_0xf5cca0=_0x41ef3c,_0x38bdf9=_0xf5cca0[_0x266ce1(0x3cb)],_0xc29742=_0x38bdf9['BlockCipher'],_0x489d86=_0xf5cca0[_0x266ce1(0x2f1)],_0x25882a=[],_0x6f7b13=[],_0x20a67b=[],_0x661783=[],_0x41e618=[],_0x5ca917=[],_0x25960a=[],_0x58719f=[],_0x49d464=[],_0x571153=[];(function(){for(var _0x2c5719=[],_0x408224=0x0;_0x408224<0x100;_0x408224++)_0x408224<0x80?_0x2c5719[_0x408224]=_0x408224<<0x1:_0x2c5719[_0x408224]=_0x408224<<0x1^0x11b;for(var _0x376d52=0x0,_0x1721f7=0x0,_0x408224=0x0;_0x408224<0x100;_0x408224++){var _0x531955=_0x1721f7^_0x1721f7<<0x1^_0x1721f7<<0x2^_0x1721f7<<0x3^_0x1721f7<<0x4;_0x531955=_0x531955>>>0x8^_0x531955&0xff^0x63,_0x25882a[_0x376d52]=_0x531955,_0x6f7b13[_0x531955]=_0x376d52;var _0x3905b9=_0x2c5719[_0x376d52],_0x56d8b7=_0x2c5719[_0x3905b9],_0x43ca41=_0x2c5719[_0x56d8b7],_0x5aa673=_0x2c5719[_0x531955]*0x101^_0x531955*0x1010100;_0x20a67b[_0x376d52]=_0x5aa673<<0x18|_0x5aa673>>>0x8,_0x661783[_0x376d52]=_0x5aa673<<0x10|_0x5aa673>>>0x10,_0x41e618[_0x376d52]=_0x5aa673<<0x8|_0x5aa673>>>0x18,_0x5ca917[_0x376d52]=_0x5aa673;var _0x5aa673=_0x43ca41*0x1010101^_0x56d8b7*0x10001^_0x3905b9*0x101^_0x376d52*0x1010100;_0x25960a[_0x531955]=_0x5aa673<<0x18|_0x5aa673>>>0x8,_0x58719f[_0x531955]=_0x5aa673<<0x10|_0x5aa673>>>0x10,_0x49d464[_0x531955]=_0x5aa673<<0x8|_0x5aa673>>>0x18,_0x571153[_0x531955]=_0x5aa673,_0x376d52?(_0x376d52=_0x3905b9^_0x2c5719[_0x2c5719[_0x2c5719[_0x43ca41^_0x3905b9]]],_0x1721f7^=_0x2c5719[_0x2c5719[_0x1721f7]]):_0x376d52=_0x1721f7=0x1;}}());var _0xd38812=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3cbd17=_0x489d86[_0x266ce1(0x277)]=_0xc29742[_0x266ce1(0x30d)]({'_doReset':function(){var _0x1d6a87=_0x266ce1,_0x6522eb;if(!(this[_0x1d6a87(0x385)]&&this[_0x1d6a87(0x220)]===this[_0x1d6a87(0x390)])){for(var _0x2e0380=this[_0x1d6a87(0x220)]=this['_key'],_0x438748=_0x2e0380[_0x1d6a87(0x1ee)],_0xfd09eb=_0x2e0380[_0x1d6a87(0x24a)]/0x4,_0x1a6df5=this['_nRounds']=_0xfd09eb+0x6,_0x3bfa8b=(_0x1a6df5+0x1)*0x4,_0x6e92ac=this[_0x1d6a87(0x48a)]=[],_0x212631=0x0;_0x212631<_0x3bfa8b;_0x212631++)_0x212631<_0xfd09eb?_0x6e92ac[_0x212631]=_0x438748[_0x212631]:(_0x6522eb=_0x6e92ac[_0x212631-0x1],_0x212631%_0xfd09eb?_0xfd09eb>0x6&&_0x212631%_0xfd09eb==0x4&&(_0x6522eb=_0x25882a[_0x6522eb>>>0x18]<<0x18|_0x25882a[_0x6522eb>>>0x10&0xff]<<0x10|_0x25882a[_0x6522eb>>>0x8&0xff]<<0x8|_0x25882a[_0x6522eb&0xff]):(_0x6522eb=_0x6522eb<<0x8|_0x6522eb>>>0x18,_0x6522eb=_0x25882a[_0x6522eb>>>0x18]<<0x18|_0x25882a[_0x6522eb>>>0x10&0xff]<<0x10|_0x25882a[_0x6522eb>>>0x8&0xff]<<0x8|_0x25882a[_0x6522eb&0xff],_0x6522eb^=_0xd38812[_0x212631/_0xfd09eb|0x0]<<0x18),_0x6e92ac[_0x212631]=_0x6e92ac[_0x212631-_0xfd09eb]^_0x6522eb);for(var _0x5db77e=this[_0x1d6a87(0x4e7)]=[],_0x480e46=0x0;_0x480e46<_0x3bfa8b;_0x480e46++){var _0x212631=_0x3bfa8b-_0x480e46;if(_0x480e46%0x4)var _0x6522eb=_0x6e92ac[_0x212631];else var _0x6522eb=_0x6e92ac[_0x212631-0x4];_0x480e46<0x4||_0x212631<=0x4?_0x5db77e[_0x480e46]=_0x6522eb:_0x5db77e[_0x480e46]=_0x25960a[_0x25882a[_0x6522eb>>>0x18]]^_0x58719f[_0x25882a[_0x6522eb>>>0x10&0xff]]^_0x49d464[_0x25882a[_0x6522eb>>>0x8&0xff]]^_0x571153[_0x25882a[_0x6522eb&0xff]];}}},'encryptBlock':function(_0x8b2c98,_0x52eede){var _0x33490b=_0x266ce1;this[_0x33490b(0x542)](_0x8b2c98,_0x52eede,this[_0x33490b(0x48a)],_0x20a67b,_0x661783,_0x41e618,_0x5ca917,_0x25882a);},'decryptBlock':function(_0x65e19e,_0x373ebc){var _0x55a031=_0x266ce1,_0x20ec7e=_0x65e19e[_0x373ebc+0x1];_0x65e19e[_0x373ebc+0x1]=_0x65e19e[_0x373ebc+0x3],_0x65e19e[_0x373ebc+0x3]=_0x20ec7e,this['_doCryptBlock'](_0x65e19e,_0x373ebc,this[_0x55a031(0x4e7)],_0x25960a,_0x58719f,_0x49d464,_0x571153,_0x6f7b13);var _0x20ec7e=_0x65e19e[_0x373ebc+0x1];_0x65e19e[_0x373ebc+0x1]=_0x65e19e[_0x373ebc+0x3],_0x65e19e[_0x373ebc+0x3]=_0x20ec7e;},'_doCryptBlock':function(_0x2d47e2,_0x2db5a5,_0x22948b,_0x901ceb,_0x336e9f,_0x437790,_0x433932,_0x41ec49){var _0x34bacc=_0x266ce1;for(var _0x49a91d=this[_0x34bacc(0x385)],_0xe2b205=_0x2d47e2[_0x2db5a5]^_0x22948b[0x0],_0x134247=_0x2d47e2[_0x2db5a5+0x1]^_0x22948b[0x1],_0x1e22d6=_0x2d47e2[_0x2db5a5+0x2]^_0x22948b[0x2],_0xe70fc1=_0x2d47e2[_0x2db5a5+0x3]^_0x22948b[0x3],_0x274f10=0x4,_0x7d25af=0x1;_0x7d25af<_0x49a91d;_0x7d25af++){var _0x17194e=_0x901ceb[_0xe2b205>>>0x18]^_0x336e9f[_0x134247>>>0x10&0xff]^_0x437790[_0x1e22d6>>>0x8&0xff]^_0x433932[_0xe70fc1&0xff]^_0x22948b[_0x274f10++],_0x21bc93=_0x901ceb[_0x134247>>>0x18]^_0x336e9f[_0x1e22d6>>>0x10&0xff]^_0x437790[_0xe70fc1>>>0x8&0xff]^_0x433932[_0xe2b205&0xff]^_0x22948b[_0x274f10++],_0x20f4b9=_0x901ceb[_0x1e22d6>>>0x18]^_0x336e9f[_0xe70fc1>>>0x10&0xff]^_0x437790[_0xe2b205>>>0x8&0xff]^_0x433932[_0x134247&0xff]^_0x22948b[_0x274f10++],_0x360f92=_0x901ceb[_0xe70fc1>>>0x18]^_0x336e9f[_0xe2b205>>>0x10&0xff]^_0x437790[_0x134247>>>0x8&0xff]^_0x433932[_0x1e22d6&0xff]^_0x22948b[_0x274f10++];_0xe2b205=_0x17194e,_0x134247=_0x21bc93,_0x1e22d6=_0x20f4b9,_0xe70fc1=_0x360f92;}var _0x17194e=(_0x41ec49[_0xe2b205>>>0x18]<<0x18|_0x41ec49[_0x134247>>>0x10&0xff]<<0x10|_0x41ec49[_0x1e22d6>>>0x8&0xff]<<0x8|_0x41ec49[_0xe70fc1&0xff])^_0x22948b[_0x274f10++],_0x21bc93=(_0x41ec49[_0x134247>>>0x18]<<0x18|_0x41ec49[_0x1e22d6>>>0x10&0xff]<<0x10|_0x41ec49[_0xe70fc1>>>0x8&0xff]<<0x8|_0x41ec49[_0xe2b205&0xff])^_0x22948b[_0x274f10++],_0x20f4b9=(_0x41ec49[_0x1e22d6>>>0x18]<<0x18|_0x41ec49[_0xe70fc1>>>0x10&0xff]<<0x10|_0x41ec49[_0xe2b205>>>0x8&0xff]<<0x8|_0x41ec49[_0x134247&0xff])^_0x22948b[_0x274f10++],_0x360f92=(_0x41ec49[_0xe70fc1>>>0x18]<<0x18|_0x41ec49[_0xe2b205>>>0x10&0xff]<<0x10|_0x41ec49[_0x134247>>>0x8&0xff]<<0x8|_0x41ec49[_0x1e22d6&0xff])^_0x22948b[_0x274f10++];_0x2d47e2[_0x2db5a5]=_0x17194e,_0x2d47e2[_0x2db5a5+0x1]=_0x21bc93,_0x2d47e2[_0x2db5a5+0x2]=_0x20f4b9,_0x2d47e2[_0x2db5a5+0x3]=_0x360f92;},'keySize':0x100/0x20});_0xf5cca0[_0x266ce1(0x277)]=_0xc29742['_createHelper'](_0x3cbd17);}()),_0x41ef3c[_0xe8b96e(0x277)];}));}(fe)),fe[_0x1a3f2a(0x511)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x4faea3=_0x4c5ff4;return rt||(rt=0x1,function(_0x3b289b,_0x425699){(function(_0x5d112f,_0x3f6616){var _0x1d8c16=_0x1dd8;_0x3b289b[_0x1d8c16(0x511)]=_0x3f6616(Q());}(Fi,function(_0x1163bc){var _0x2714ec=_0x1dd8;return _0x1163bc[_0x2714ec(0x281)][_0x2714ec(0x2c4)];}));}(be)),be[_0x4faea3(0x511)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x4c5ff4(0x511)],st;function Ki(){return st||(st=0x1,function(_0x5e3e9c,_0x52730b){(function(_0x569ea3,_0x416270){var _0xc12b78=_0x1dd8;_0x5e3e9c[_0xc12b78(0x511)]=_0x416270(Q());}(Gi,function(_0x20c072){var _0x219ce8=_0x1dd8;return(function(){var _0x1550b7=_0x1dd8;if(typeof ArrayBuffer==_0x1550b7(0x345)){var _0x1b97d1=_0x20c072,_0x1d6216=_0x1b97d1[_0x1550b7(0x3cb)],_0x3801a9=_0x1d6216[_0x1550b7(0x3ec)],_0x1b4827=_0x3801a9['init'],_0x2a2aaa=_0x3801a9[_0x1550b7(0x1f3)]=function(_0xa62f2){var _0x260d83=_0x1550b7;if(_0xa62f2 instanceof ArrayBuffer&&(_0xa62f2=new Uint8Array(_0xa62f2)),(_0xa62f2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xa62f2 instanceof Uint8ClampedArray||_0xa62f2 instanceof Int16Array||_0xa62f2 instanceof Uint16Array||_0xa62f2 instanceof Int32Array||_0xa62f2 instanceof Uint32Array||_0xa62f2 instanceof Float32Array||_0xa62f2 instanceof Float64Array)&&(_0xa62f2=new Uint8Array(_0xa62f2[_0x260d83(0x404)],_0xa62f2['byteOffset'],_0xa62f2['byteLength'])),_0xa62f2 instanceof Uint8Array){for(var _0x1076f6=_0xa62f2[_0x260d83(0x4a7)],_0x3f9c81=[],_0x3103da=0x0;_0x3103da<_0x1076f6;_0x3103da++)_0x3f9c81[_0x3103da>>>0x2]|=_0xa62f2[_0x3103da]<<0x18-_0x3103da%0x4*0x8;_0x1b4827[_0x260d83(0x417)](this,_0x3f9c81,_0x1076f6);}else _0x1b4827[_0x260d83(0x1ff)](this,arguments);};_0x2a2aaa[_0x1550b7(0x2f9)]=_0x3801a9;}}()),_0x20c072[_0x219ce8(0x3cb)][_0x219ce8(0x3ec)];}));}(Re)),Re['exports'];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe['exports'],ot;function Xi(){var _0x346aad=_0x4c5ff4;return ot||(ot=0x1,function(_0x27e301,_0x1065d0){(function(_0x13adfa,_0x405b19,_0x41ede1){var _0x5423af=_0x1dd8;_0x27e301[_0x5423af(0x511)]=_0x405b19(Q(),Dt());}(Ji,function(_0xd3b2c1){var _0x3433bc=_0x1dd8;return _0xd3b2c1[_0x3433bc(0x22c)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0xd3b2c1['pad'][_0x3433bc(0x2b2)];}));}(Oe)),Oe[_0x346aad(0x511)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x1cf4f4,_0x39fa55){var _0x4bbb63=_0x4c5ff4;const _0x31f362=_0x39fa55-_0x1cf4f4[_0x4bbb63(0x54c)]%_0x39fa55,_0x430706=String[_0x4bbb63(0x4e4)](_0x31f362)[_0x4bbb63(0x512)](_0x31f362);return _0x1cf4f4+_0x430706;}function tn(_0x2ed3b5,_0x326f6e){var _0x4dbb3b=_0x4c5ff4;const _0x5dfbd9=zi['random'](0x10),_0x12561b=en(_0x2ed3b5,0x10),_0x10585b=ji['encrypt'](Yi[_0x4dbb3b(0x257)](_0x12561b),nt[_0x4dbb3b(0x257)](_0x326f6e),{'iv':_0x5dfbd9,'padding':Qi});return _0x5dfbd9[_0x4dbb3b(0x203)](_0x10585b[_0x4dbb3b(0x3f1)])[_0x4dbb3b(0x42e)](nt);}function nn(){var _0x109c7f=_0x4c5ff4;const _0x4396e9=Lt[_0x109c7f(0x274)]()[_0x109c7f(0x259)];if(_0x4396e9){const _0x32305f={'time':Math[_0x109c7f(0x418)](Date[_0x109c7f(0x24b)]()/0x3e8),'domain':location[_0x109c7f(0x2a4)]};return tn(JSON[_0x109c7f(0x40a)](_0x32305f),_0x4396e9);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x3600fb,_0x270678,_0x13f2fe,_0x29af2d)=>{var _0x1a45fe=_0x4c5ff4;for(var _0x18ad64=_0x29af2d>0x1?void 0x0:_0x29af2d?rn(_0x270678,_0x13f2fe):_0x270678,_0x382185=_0x3600fb[_0x1a45fe(0x54c)]-0x1,_0x21c968;_0x382185>=0x0;_0x382185--)(_0x21c968=_0x3600fb[_0x382185])&&(_0x18ad64=_0x21c968(_0x18ad64)||_0x18ad64);return _0x18ad64;},on=(_0x9cd4db,_0xeb4261)=>(_0x117063,_0x4b4227)=>_0xeb4261(_0x117063,_0x4b4227,_0x9cd4db);let Ne=class{constructor(_0x398f1d){var _0x110872=_0x4c5ff4;this[_0x110872(0x4ed)]=_0x398f1d,this[_0x110872(0x476)]();}['_initRequestHeader'](){var _0x1ec6ae=_0x4c5ff4;this['_httpService'][_0x1ec6ae(0x406)]({'interceptor':(_0x33ace5,_0x1cbfe1)=>{const _0x4b4277=_0x33ace5['headers'],_0x300b83=nn();return _0x300b83&&_0x4b4277['set']('x-univer-host',_0x300b83),_0x1cbfe1(_0x33ace5);}});}};Ne=sn([on(0x0,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)]))],Ne);var an=Object[_0x4c5ff4(0x405)],cn=(_0x489199,_0x58465d,_0x320861,_0x4c68e7)=>{var _0x1fa070=_0x4c5ff4;for(var _0x49b3f3=_0x4c68e7>0x1?void 0x0:_0x4c68e7?an(_0x58465d,_0x320861):_0x58465d,_0x12733e=_0x489199[_0x1fa070(0x54c)]-0x1,_0x505ed9;_0x12733e>=0x0;_0x12733e--)(_0x505ed9=_0x489199[_0x12733e])&&(_0x49b3f3=_0x505ed9(_0x49b3f3)||_0x49b3f3);return _0x49b3f3;},Le=(_0x3ec419,_0x416967)=>(_0x4d1ef4,_0x21a8cf)=>_0x416967(_0x4d1ef4,_0x21a8cf,_0x3ec419);exports[_0x4c5ff4(0x489)]=class extends a[_0x4c5ff4(0x2fc)]{constructor(_0x50b72d,_0x2bb829,_0x5b3870){var _0x4b24a1=_0x4c5ff4;super(),A(this,_0x4b24a1(0x31e),new $[(_0x4b24a1(0x40e))](null)),A(this,'unitInfo$',this['_unitInfo$'][_0x4b24a1(0x2c1)]()),(this[_0x4b24a1(0x2d2)]=_0x50b72d,this['_snapshotService']=_0x2bb829,this[_0x4b24a1(0x3c4)]=_0x5b3870);}async[_0x4c5ff4(0x527)](_0x29e221,_0x2b5b6a,_0x144892){var _0x12ee4e=_0x4c5ff4;this[_0x12ee4e(0x31e)]['next']({'unitId':_0x29e221,'type':_0x2b5b6a});let _0x2b0839=null;switch(_0x2b5b6a){case J[_0x12ee4e(0x218)]:{_0x2b0839=await this[_0x12ee4e(0x413)][_0x12ee4e(0x3a7)](_0x29e221,_0x144892);break;}case J[_0x12ee4e(0x3db)]:{_0x2b0839=await this[_0x12ee4e(0x413)]['loadDoc'](_0x29e221,_0x144892);break;}default:{this['_logService'][_0x12ee4e(0x2c9)](_0x12ee4e(0x468),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x2b0839;}async[_0x4c5ff4(0x2d9)](_0x34a068,_0x346212,_0x2d5f27){var _0x5c6672=_0x4c5ff4,_0x462886;this[_0x5c6672(0x31e)]['next']({'unitId':_0x34a068,'type':_0x346212,'subUnitId':_0x2d5f27});let _0x2ee76f=0x0;const _0x3f6198=await((_0x462886=this[_0x5c6672(0x3c4)])==null?void 0x0:_0x462886['loadOfflineData'](_0x34a068));return _0x3f6198&&(_0x3f6198[_0x5c6672(0x3a5)]||_0x3f6198['mutations']['length']!==0x0)&&(_0x2ee76f=_0x3f6198[_0x5c6672(0x2dc)]),_0x2ee76f===0x0&&this['_logService'][_0x5c6672(0x205)](_0x5c6672(0x468),_0x5c6672(0x3a4)),this[_0x5c6672(0x527)](_0x34a068,_0x346212,_0x2ee76f);}},exports[_0x4c5ff4(0x489)]=cn([Le(0x0,a[_0x4c5ff4(0x4d5)]),Le(0x1,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x43f)])),Le(0x2,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x489)]);var hn=Object[_0x4c5ff4(0x405)],_n=(_0x52d449,_0x55971b,_0x1df6ea,_0x27ff70)=>{var _0x2c9828=_0x4c5ff4;for(var _0x29f92c=_0x27ff70>0x1?void 0x0:_0x27ff70?hn(_0x55971b,_0x1df6ea):_0x55971b,_0x1d9d5f=_0x52d449[_0x2c9828(0x54c)]-0x1,_0x13b466;_0x1d9d5f>=0x0;_0x1d9d5f--)(_0x13b466=_0x52d449[_0x1d9d5f])&&(_0x29f92c=_0x13b466(_0x29f92c)||_0x29f92c);return _0x29f92c;},we=(_0x17917f,_0x1e3143)=>(_0x4192c3,_0x1e5fb6)=>_0x1e3143(_0x4192c3,_0x1e5fb6,_0x17917f);const ln=[_0x4c5ff4(0x38b),'image/jpeg','image/jpg',_0x4c5ff4(0x3f5),_0x4c5ff4(0x219)],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0x4c5ff4(0x4a8),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x4c5ff4(0x3d1);exports['CollaborationImageIoService']=class{constructor(_0x16db14,_0x38aee5,_0xacae06){var _0x19949b=_0x4c5ff4;A(this,'_waitCount',0x0),A(this,_0x19949b(0x45b),new $[(_0x19949b(0x256))]()),A(this,'change$',this[_0x19949b(0x45b)]),A(this,'_imageSourceCache',new Map()),(this[_0x19949b(0x4ed)]=_0x16db14,this[_0x19949b(0x2bb)]=_0x38aee5,this['_univerInstanceService']=_0xacae06);}[_0x4c5ff4(0x514)](_0x3884a6){var _0x360dc7=_0x4c5ff4;this['_waitCount']=_0x3884a6,this[_0x360dc7(0x45b)]['next'](_0x3884a6);}[_0x4c5ff4(0x539)](_0x1929df,_0x4c0073){var _0x152812=_0x4c5ff4;if(_0x4c0073===z['ImageSourceType'][_0x152812(0x3dd)]){const _0x209060=new Image();return _0x209060[_0x152812(0x538)]=_0x1929df,_0x209060;}return this[_0x152812(0x444)][_0x152812(0x38f)](_0x1929df);}[_0x4c5ff4(0x44b)](_0x54a13d,_0x1057b1,_0x4b5426){var _0x309b93=_0x4c5ff4;_0x1057b1===z[_0x309b93(0x43b)]['BASE64']||_0x4b5426==null||this[_0x309b93(0x444)]['set'](_0x54a13d,_0x4b5426);}async[_0x4c5ff4(0x2c0)](_0x5063ee){var _0x186f06=_0x4c5ff4;try{const _0x2e0306=this[_0x186f06(0x446)](this[_0x186f06(0x373)](),''+_0x5063ee),_0x52ac3e=(await this[_0x186f06(0x4ed)][_0x186f06(0x38f)](_0x2e0306))['body'];if(_0x52ac3e[_0x186f06(0x2c9)]&&_0x52ac3e['error'][_0x186f06(0x3aa)]===gt['OK']){const _0x4cb54e=new URL(_0x52ac3e['url'],this[_0x186f06(0x428)]())[_0x186f06(0x42e)]();return Promise[_0x186f06(0x3c5)](_0x4cb54e);}return Promise[_0x186f06(0x561)](_0x52ac3e[_0x186f06(0x2c9)]);}catch(_0x3f45c0){return Promise[_0x186f06(0x561)](_0x3f45c0);}}async[_0x4c5ff4(0x2a9)](_0x125a30){var _0x216442=_0x4c5ff4;let _0x1907d3='';if(!ln[_0x216442(0x56e)](_0x125a30[_0x216442(0x2eb)]))return this[_0x216442(0x208)](),Promise[_0x216442(0x561)](new Error(z[_0x216442(0x3b8)][_0x216442(0x24f)]));if(_0x125a30[_0x216442(0x534)]>un)return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x216442(0x3b8)]['ERROR_EXCEED_SIZE']));try{const _0x2aec04=new FormData();_0x2aec04[_0x216442(0x290)](_0x216442(0x522),_0x125a30);const _0x1317fc=this[_0x216442(0x2c3)][_0x216442(0x3fe)](),_0x2c8d48=_0x1317fc==null?void 0x0:_0x1317fc[_0x216442(0x562)]();if(!_0x2c8d48)throw new Error(_0x216442(0x504));const _0x464955=this[_0x216442(0x4c5)]()+'?size='+_0x125a30[_0x216442(0x534)][_0x216442(0x42e)]()+'&source='+Et[_0x216442(0x248)]+_0x216442(0x3e8)+encodeURIComponent(_0x2c8d48),_0x1863f7={'body':_0x2aec04},_0x2bb414=(await this['_httpService'][_0x216442(0x557)](_0x464955,_0x1863f7))[_0x216442(0x265)];if(typeof _0x2bb414['FileId']!=_0x216442(0x4de))return this[_0x216442(0x208)](),Promise[_0x216442(0x561)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE']));_0x1907d3=_0x2bb414[_0x216442(0x216)];}catch{return this[_0x216442(0x208)](),Promise['reject'](new Error(z[_0x216442(0x3b8)][_0x216442(0x3ac)]));}return new Promise((_0x37865c,_0xd83c9d)=>{var _0x2266d1=_0x216442;const _0x1e4541=new FileReader();_0x1e4541[_0x2266d1(0x253)](_0x125a30),_0x1e4541[_0x2266d1(0x26e)]=_0x1ef6f0=>{var _0x24b8d8=_0x2266d1,_0x141eeb;const _0x3a8247=(_0x141eeb=_0x1ef6f0[_0x24b8d8(0x54d)])==null?void 0x0:_0x141eeb[_0x24b8d8(0x447)];if(_0x3a8247==null){this[_0x24b8d8(0x208)](),_0xd83c9d(new Error(z[_0x24b8d8(0x3b8)]['ERROR_IMAGE']));return;}const _0x1ad129=a[_0x24b8d8(0x532)][_0x24b8d8(0x564)](0x6);_0x37865c({'imageId':_0x1ad129,'imageSourceType':z[_0x24b8d8(0x43b)][_0x24b8d8(0x3f2)],'source':_0x1907d3,'base64Cache':_0x3a8247,'status':z[_0x24b8d8(0x3b8)][_0x24b8d8(0x4d1)]}),this[_0x24b8d8(0x208)]();};});}[_0x4c5ff4(0x4c5)](){var _0x5efbad=_0x4c5ff4,_0x44ec40,_0xebee71;const _0x45d6eb=this[_0x5efbad(0x2bb)]['getConfig'](dn),_0x9f6410=this[_0x5efbad(0x2bb)][_0x5efbad(0x296)](G);return(_0xebee71=(_0x44ec40=_0x9f6410==null?void 0x0:_0x9f6410[_0x5efbad(0x316)])!=null?_0x44ec40:_0x45d6eb)!=null?_0xebee71:vn;}[_0x4c5ff4(0x373)](){var _0x46b5fc=_0x4c5ff4,_0x11d784,_0x1d6878;const _0x2d110f=this[_0x46b5fc(0x2bb)][_0x46b5fc(0x296)](Sn),_0x531eb8=this['_configService'][_0x46b5fc(0x296)](G);return(_0x1d6878=(_0x11d784=_0x531eb8==null?void 0x0:_0x531eb8[_0x46b5fc(0x3e0)])!=null?_0x11d784:_0x2d110f)!=null?_0x1d6878:fn;}['_getDownloadEndpointURL'](){var _0x3b6118=_0x4c5ff4,_0x5b3b52;const _0x10e964=this[_0x3b6118(0x2bb)][_0x3b6118(0x296)](G);return(_0x5b3b52=_0x10e964==null?void 0x0:_0x10e964['downloadEndpointUrl'])!=null?_0x5b3b52:location['origin'];}[_0x4c5ff4(0x446)](_0x3ffc18,_0x40915c){var _0x3e69ac=_0x4c5ff4;return _0x3ffc18[_0x3e69ac(0x31a)]('{fileID}',_0x40915c);}['_decreaseWaiting'](){var _0x4973bb=_0x4c5ff4;this[_0x4973bb(0x31f)]-=0x1,this[_0x4973bb(0x45b)][_0x4973bb(0x473)](this['_waitCount']);}},exports[_0x4c5ff4(0x4b4)]=_n([we(0x0,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)])),we(0x1,a[_0x4c5ff4(0x344)]),we(0x2,a['Inject'](a[_0x4c5ff4(0x2fb)]))],exports['CollaborationImageIoService']);var In=Object[_0x4c5ff4(0x405)],pn=(_0x386aec,_0x1fa998,_0x1ba202,_0x9945d4)=>{var _0x2ea49a=_0x4c5ff4;for(var _0x548f92=_0x9945d4>0x1?void 0x0:_0x9945d4?In(_0x1fa998,_0x1ba202):_0x1fa998,_0x3eb209=_0x386aec[_0x2ea49a(0x54c)]-0x1,_0x257000;_0x3eb209>=0x0;_0x3eb209--)(_0x257000=_0x386aec[_0x3eb209])&&(_0x548f92=_0x257000(_0x548f92)||_0x548f92);return _0x548f92;},at=(_0x392a8f,_0x5403fb)=>(_0x24bdb8,_0x5c53ac)=>_0x5403fb(_0x24bdb8,_0x5c53ac,_0x392a8f);const gn=_0x4c5ff4(0x51a);exports[_0x4c5ff4(0x32d)]=class{constructor(_0x17d554,_0x4d182a){var _0x95e36f=_0x4c5ff4;this[_0x95e36f(0x2bb)]=_0x17d554,this[_0x95e36f(0x4c9)]=_0x4d182a;}[_0x4c5ff4(0x4f2)](){var _0x55733a=_0x4c5ff4,_0x13c721,_0x2b87f7;const _0x747104=this[_0x55733a(0x2bb)]['getConfig'](Ve),_0x181f35=this['_configService'][_0x55733a(0x296)](G);return(_0x2b87f7=(_0x13c721=_0x181f35==null?void 0x0:_0x181f35[_0x55733a(0x461)])!=null?_0x13c721:_0x747104)!=null?_0x2b87f7:gn;}async[_0x4c5ff4(0x27d)](_0x38e61e){var _0x5dc87d=_0x4c5ff4;const _0x50df64=this[_0x5dc87d(0x4f2)]()+_0x5dc87d(0x438);return{'list':[{'title':_0x5dc87d(0x300),'mentions':(await this[_0x5dc87d(0x4c9)][_0x5dc87d(0x38f)](_0x50df64,{'params':{'objectID':_0x38e61e[_0x5dc87d(0x221)],'unitID':_0x38e61e[_0x5dc87d(0x221)]}}))[_0x5dc87d(0x265)][_0x5dc87d(0x536)][_0x5dc87d(0x474)](_0x4fcc73=>({'objectId':_0x4fcc73['id'],'name':_0x4fcc73[_0x5dc87d(0x30a)][_0x5dc87d(0x3e4)],'metadata':{'icon':_0x4fcc73[_0x5dc87d(0x30a)][_0x5dc87d(0x4fd)]},'label':_0x4fcc73[_0x5dc87d(0x30a)][_0x5dc87d(0x3e4)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x5dc87d(0x331)]['PERSON']}]};}},exports['MentionIoHttpService']=pn([at(0x0,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x344)])),at(0x1,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)]))],exports['MentionIoHttpService']);var En=Object[_0x4c5ff4(0x405)],mn=(_0x4b96d1,_0x17c10c,_0x36c657,_0x4a65ad)=>{var _0xf8d224=_0x4c5ff4;for(var _0x132821=_0x4a65ad>0x1?void 0x0:_0x4a65ad?En(_0x17c10c,_0x36c657):_0x17c10c,_0x4b1143=_0x4b96d1[_0xf8d224(0x54c)]-0x1,_0x5127c1;_0x4b1143>=0x0;_0x4b1143--)(_0x5127c1=_0x4b96d1[_0x4b1143])&&(_0x132821=_0x5127c1(_0x132821)||_0x132821);return _0x132821;},le=(_0x3b74ee,_0x5cb67c)=>(_0x4cae16,_0xe702fb)=>_0x5cb67c(_0x4cae16,_0xe702fb,_0x3b74ee);let De=class extends a[_0x4c5ff4(0x2fc)]{constructor(_0x4b5782,_0x5c7da3,_0x35e987,_0x2721ff,_0x4b9e70){var _0x4c5810=_0x4c5ff4;super(),this[_0x4c5810(0x2f8)]=_0x4b5782,this[_0x4c5810(0x2c3)]=_0x5c7da3,this[_0x4c5810(0x35f)]=_0x35e987,this[_0x4c5810(0x3c1)]=_0x2721ff,this['_collaborationUIEventService']=_0x4b9e70,this[_0x4c5810(0x496)](),this[_0x4c5810(0x371)]();}[_0x4c5ff4(0x371)](){var _0x1cd6bc=_0x4c5ff4;const _0x2326d5=async _0x507b34=>{var _0x416d1d=_0x1dd8;(await this[_0x416d1d(0x3c1)][_0x416d1d(0x37b)](_0x507b34))['event$'][_0x416d1d(0x51e)](V[_0x416d1d(0x3e9)](_0x28d191=>_0x28d191[_0x416d1d(0x299)]===p['CollaborationEvent']['SHOULD_CLOSE_CONN']),V['takeUntil'](this[_0x416d1d(0x505)]))['subscribe'](_0x4d5ae4=>{var _0x570c1a=_0x416d1d;const _0x1557fe=_0x4d5ae4,{reason:_0x2462b4}=_0x1557fe[_0x570c1a(0x1e8)];this[_0x570c1a(0x4ba)][_0x570c1a(0x2ab)]({'id':Z[_0x570c1a(0x35b)],'data':_0x2462b4}),this['_permissionService'][_0x570c1a(0x2c6)](new X[(_0x570c1a(0x53b))](_0x507b34)['id'],!0x1),this[_0x570c1a(0x3c1)][_0x570c1a(0x4af)](_0x507b34);});};$[_0x1cd6bc(0x287)](this[_0x1cd6bc(0x2c3)][_0x1cd6bc(0x318)](a[_0x1cd6bc(0x4b8)][_0x1cd6bc(0x218)]),this[_0x1cd6bc(0x2c3)][_0x1cd6bc(0x318)](a[_0x1cd6bc(0x4b8)][_0x1cd6bc(0x3db)]))['pipe'](V[_0x1cd6bc(0x474)](_0x9d5dbd=>_0x9d5dbd['getUnitId']()),V['filter'](_0x42a346=>!a['isInternalEditorID'](_0x42a346)),V['takeUntil'](this[_0x1cd6bc(0x505)]))[_0x1cd6bc(0x240)](_0x2fe7c0=>{_0x2326d5(_0x2fe7c0);});}[_0x4c5ff4(0x496)](){var _0x4ca9a8=_0x4c5ff4;const _0x5848d2=async _0x1542c8=>{var _0x142a2a=_0x1dd8;const _0xa1b276=await this['_collaborationSessionService'][_0x142a2a(0x37b)](_0x1542c8),_0x5207f9=this[_0x142a2a(0x2f8)][_0x142a2a(0x38f)](X[_0x142a2a(0x2d7)]);_0xa1b276[_0x142a2a(0x1e6)][_0x142a2a(0x51e)](V[_0x142a2a(0x3e9)](_0x1c4718=>_0x1c4718[_0x142a2a(0x299)]===p['CollaborationEvent'][_0x142a2a(0x3d4)]),V[_0x142a2a(0x4ee)](this[_0x142a2a(0x505)]))[_0x142a2a(0x240)](_0x5ce6a2=>{var _0x2e44f6=_0x142a2a;const _0x14abf3=_0x5ce6a2,{objectId:_0x73bc44}=_0x14abf3[_0x2e44f6(0x1e8)];_0x73bc44===_0x1542c8?_0x5207f9[_0x2e44f6(0x4f5)](_0x1542c8):_0x5207f9[_0x2e44f6(0x3a0)](_0x1542c8,_0x73bc44);});};$[_0x4ca9a8(0x287)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x4ca9a8(0x4b8)]['UNIVER_SHEET']))[_0x4ca9a8(0x51e)](V[_0x4ca9a8(0x474)](_0x5d3349=>_0x5d3349[_0x4ca9a8(0x562)]()),V[_0x4ca9a8(0x3e9)](_0x38bb1b=>!a[_0x4ca9a8(0x4ff)](_0x38bb1b)),V[_0x4ca9a8(0x4ee)](this[_0x4ca9a8(0x505)]))[_0x4ca9a8(0x240)](_0x36137a=>{_0x5848d2(_0x36137a);});}};De=mn([le(0x0,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),le(0x1,a[_0x4c5ff4(0x2fb)]),le(0x2,a['IPermissionService']),le(0x3,a[_0x4c5ff4(0x2d6)](exports[_0x4c5ff4(0x2e3)])),le(0x4,a[_0x4c5ff4(0x2d6)](ee))],De);var Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x1619d3,_0x3462de,_0xa42d0b,_0x1d1892)=>{var _0x515a8b=_0x4c5ff4;for(var _0x41db84=_0x1d1892>0x1?void 0x0:_0x1d1892?Cn(_0x3462de,_0xa42d0b):_0x3462de,_0x452899=_0x1619d3[_0x515a8b(0x54c)]-0x1,_0x2977e9;_0x452899>=0x0;_0x452899--)(_0x2977e9=_0x1619d3[_0x452899])&&(_0x41db84=_0x2977e9(_0x41db84)||_0x41db84);return _0x41db84;},ct=(_0xf98a1,_0x1f1fbc)=>(_0x41d8dd,_0x2f4acf)=>_0x1f1fbc(_0x41d8dd,_0x2f4acf,_0xf98a1);exports[_0x4c5ff4(0x4d9)]=class{constructor(_0x3c35a5,_0x218956){var _0x744f9=_0x4c5ff4;this[_0x744f9(0x2bb)]=_0x3c35a5,this[_0x744f9(0x4ed)]=_0x218956;}async[_0x4c5ff4(0x3b1)](_0x41b273,_0x40246c){var _0x2d6cbb=_0x4c5ff4,_0x549c22;const {unitID:_0x2957d0,type:_0x5028ef,revision:_0x220168=0x0}=_0x40246c,_0x25d07b=this[_0x2d6cbb(0x20a)]()+'/'+_0x5028ef+_0x2d6cbb(0x4e9)+_0x2957d0+_0x2d6cbb(0x3f8)+_0x220168,_0x290ea4=(await this[_0x2d6cbb(0x4ed)]['get'](_0x25d07b))['body'],_0x3e9bea=(_0x549c22=_0x290ea4[_0x2d6cbb(0x2ca)])==null?void 0x0:_0x549c22[_0x2d6cbb(0x486)];if(_0x3e9bea){const _0x4612eb=_0x3e9bea==null?void 0x0:_0x3e9bea[_0x2d6cbb(0x275)],_0xb09784=p[_0x2d6cbb(0x495)]['encode'](p[_0x2d6cbb(0x231)](_0x4612eb));_0x3e9bea['originalMeta']=_0xb09784,Object['entries'](_0x3e9bea['sheets'])[_0x2d6cbb(0x56d)](([,_0x1e3ff0])=>{var _0x464f7e=_0x2d6cbb;const _0xcea91e=_0x1e3ff0['originalMeta'],_0x5b4beb=p[_0x464f7e(0x495)][_0x464f7e(0x4f3)](p[_0x464f7e(0x231)](_0xcea91e));_0x1e3ff0[_0x464f7e(0x275)]=_0x5b4beb;});}return _0x290ea4;}async[_0x4c5ff4(0x43a)](_0x112b8e,_0x356c0c){var _0x4d3a23=_0x4c5ff4;const {unitID:_0x5727ac,type:_0x222691,blockID:_0x316bdd}=_0x356c0c,_0x9f4cb3=this[_0x4d3a23(0x301)]()+'/'+_0x222691+'/unit/'+_0x5727ac+_0x4d3a23(0x4aa)+_0x316bdd;return(await this[_0x4d3a23(0x4ed)]['get'](_0x9f4cb3))[_0x4d3a23(0x265)];}async['getDeserializedSheetBlock'](_0x415505,_0x31ba2f){var _0x36174b=_0x4c5ff4;const {unitID:_0x558748,type:_0x5c0821,blockID:_0x15ad41}=_0x31ba2f,_0x188a84=this[_0x36174b(0x301)]()+_0x36174b(0x4aa)+_0x5c0821+'/unit/'+_0x558748+_0x36174b(0x4aa)+_0x15ad41;return(await this[_0x36174b(0x4ed)]['get'](_0x188a84))[_0x36174b(0x265)];}async['fetchMissingChangesets'](_0x1de19d,_0x6c83d2){var _0x5f3e6a=_0x4c5ff4;const {unitID:_0x5a2f76,type:_0x2ae8cf,from:_0x19de44,to:_0x27e372}=_0x6c83d2,_0x2a6c65=this['_getAPIPrefix']()+'/'+_0x2ae8cf+_0x5f3e6a(0x4e9)+_0x5a2f76+_0x5f3e6a(0x484)+_0x19de44+_0x5f3e6a(0x20b)+_0x27e372;return(await this[_0x5f3e6a(0x4ed)][_0x5f3e6a(0x38f)](_0x2a6c65))['body'];}['getSnapshotAPIPath'](){var _0x4796f1=_0x4c5ff4,_0x5555c4;return(_0x5555c4=this['_configService']['getConfig'](lt))!=null?_0x5555c4:this[_0x4796f1(0x301)]();}[_0x4c5ff4(0x301)](){var _0x121aa0=_0x4c5ff4,_0x12e277,_0x4da195;const _0xbeba0=this['_configService'][_0x121aa0(0x296)](_t),_0x1a3797=this['_configService']['getConfig'](G);return(_0x4da195=(_0x12e277=_0x1a3797==null?void 0x0:_0x1a3797[_0x121aa0(0x50b)])!=null?_0x12e277:_0xbeba0)!=null?_0x4da195:wt;}async['getResourcesRequest'](_0x317cd0,_0x5779bd){var _0x4fc528=_0x4c5ff4;const _0x1538da=_0x4fc528(0x44f)+_0x5779bd['type']+'/unit/'+_0x5779bd[_0x4fc528(0x27a)]+_0x4fc528(0x3da);return(await this['_httpService'][_0x4fc528(0x38f)](_0x1538da,{'params':{'resourceId':JSON[_0x4fc528(0x40a)](_0x5779bd[_0x4fc528(0x3f9)])}}))['body'];}['saveSnapshot'](){var _0x5e88b0=_0x4c5ff4;throw new Error(_0x5e88b0(0x4ca));}[_0x4c5ff4(0x521)](){var _0x1ae58d=_0x4c5ff4;throw new Error(_0x1ae58d(0x4ca));}['saveSheetBlock'](){var _0x1c4d4c=_0x4c5ff4;throw new Error(_0x1c4d4c(0x4ca));}[_0x4c5ff4(0x533)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4c5ff4(0x4d7)](){var _0x3c5e3b=_0x4c5ff4;throw new Error(_0x3c5e3b(0x4ca));}['getLatestCsReqIdBySid'](){var _0x3c4a6a=_0x4c5ff4;throw new Error(_0x3c4a6a(0x4ca));}},exports[_0x4c5ff4(0x4d9)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)]))],exports[_0x4c5ff4(0x4d9)]);function _0x1dd8(_0x2be7db,_0x383d25){var _0x3985f7=_0x3985();return _0x1dd8=function(_0x1dd853,_0x565821){_0x1dd853=_0x1dd853-0x1e6;var _0x51ed6f=_0x3985f7[_0x1dd853];return _0x51ed6f;},_0x1dd8(_0x2be7db,_0x383d25);}var bn=Object[_0x4c5ff4(0x405)],Rn=(_0x34eb70,_0x3c2d18,_0xf1f244,_0x1751ff)=>{var _0x34ca5c=_0x4c5ff4;for(var _0x12e536=_0x1751ff>0x1?void 0x0:_0x1751ff?bn(_0x3c2d18,_0xf1f244):_0x3c2d18,_0x13b2a0=_0x34eb70[_0x34ca5c(0x54c)]-0x1,_0x4c902c;_0x13b2a0>=0x0;_0x13b2a0--)(_0x4c902c=_0x34eb70[_0x13b2a0])&&(_0x12e536=_0x4c902c(_0x12e536)||_0x12e536);return _0x12e536;},ue=(_0x565795,_0x52b213)=>(_0x41345a,_0x16adad)=>_0x52b213(_0x41345a,_0x16adad,_0x565795);exports[_0x4c5ff4(0x4bb)]=class extends a[_0x4c5ff4(0x34a)]{constructor(_0x492a62,_0xf47250,_0x340cbd,_0x39f232,_0x893324){var _0x5316b0=_0x4c5ff4;super(_0x492a62,_0xf47250,_0x340cbd),this[_0x5316b0(0x456)]=_0x39f232,this[_0x5316b0(0x2d2)]=_0x893324;}[_0x4c5ff4(0x226)](_0x18ff8a,_0x12b79a){var _0x301bf8=_0x4c5ff4;const _0x225987=this[_0x301bf8(0x424)](_0x18ff8a);if(_0x225987)try{const _0x5e8140=this['_transformStack'](_0x225987,_0x12b79a);this[_0x301bf8(0x236)](_0x18ff8a,_0x5e8140);}catch(_0xee72c6){this['_logService'][_0x301bf8(0x2c9)]('[CollaborationUndoRedoService]',_0xee72c6),this[_0x301bf8(0x356)](_0x18ff8a);}const _0x24e325=this[_0x301bf8(0x225)](_0x18ff8a);if(_0x24e325)try{const _0x3f1610=this['_transformStack'](_0x24e325,_0x12b79a);this['_substituteRedoStack'](_0x18ff8a,_0x3f1610);}catch(_0xb39461){this[_0x301bf8(0x2d2)]['error'](_0xb39461),this[_0x301bf8(0x3be)](_0x18ff8a);}}[_0x4c5ff4(0x356)](_0x2a4c2b){var _0x3abb47=_0x4c5ff4;const _0x18aa74=this[_0x3abb47(0x424)](_0x2a4c2b);_0x18aa74&&(_0x18aa74[_0x3abb47(0x54c)]=0x0,this[_0x3abb47(0x271)]());}[_0x4c5ff4(0x3be)](_0x5b2566){var _0xd54cba=_0x4c5ff4;const _0x3dd003=this['_getRedoStack'](_0x5b2566);_0x3dd003&&(_0x3dd003[_0xd54cba(0x54c)]=0x0,this[_0xd54cba(0x271)]());}[_0x4c5ff4(0x236)](_0x433bae,_0x27d4dd){var _0x259efd=_0x4c5ff4;this[_0x259efd(0x529)][_0x259efd(0x2e6)](_0x433bae,_0x27d4dd),this[_0x259efd(0x271)]();}[_0x4c5ff4(0x54b)](_0x3be52b,_0x1a287b){var _0x3a4831=_0x4c5ff4;this[_0x3a4831(0x440)]['set'](_0x3be52b,_0x1a287b),this[_0x3a4831(0x271)]();}[_0x4c5ff4(0x347)](_0x7ab941,_0x9713c4){var _0xca501e=_0x4c5ff4;const _0x2504da=[];let _0x309f9e=_0x9713c4,_0x51f99a=_0x9713c4;for(let _0x39a004=_0x7ab941[_0xca501e(0x54c)]-0x1;_0x39a004>=0x0;_0x39a004--){const {unitID:_0x2cfd06,undoMutations:_0xd10c94,redoMutations:_0x30e8ea}=_0x7ab941[_0x39a004],_0x270ca5=this[_0xca501e(0x456)][_0xca501e(0x411)](_0x309f9e,_0xd10c94),_0x1e92ad=this[_0xca501e(0x456)]['transformMutationsWithChangeset'](_0x51f99a,_0x30e8ea);if(p[_0xca501e(0x3bd)](_0x270ca5)||p[_0xca501e(0x3bd)](_0x1e92ad)){this[_0xca501e(0x2d2)][_0xca501e(0x2c9)](_0xca501e(0x55f),_0xca501e(0x315),_0x270ca5,_0x1e92ad);break;}_0x309f9e=_0x270ca5[_0xca501e(0x362)],_0x51f99a=_0x1e92ad[_0xca501e(0x362)],_0x2504da[_0xca501e(0x209)]({'unitID':_0x2cfd06,'undoMutations':_0x270ca5['m2Prime'],'redoMutations':_0x1e92ad[_0xca501e(0x409)]});}return _0x2504da['reverse']();}},exports[_0x4c5ff4(0x4bb)]=Rn([ue(0x0,a[_0x4c5ff4(0x2fb)]),ue(0x1,a[_0x4c5ff4(0x267)]),ue(0x2,a[_0x4c5ff4(0x2ac)]),ue(0x3,p['ITransformService']),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var On=Object[_0x4c5ff4(0x292)],yn=Object[_0x4c5ff4(0x405)],Nn=(_0x21cb5a,_0x6f0249,_0x341971)=>_0x6f0249 in _0x21cb5a?On(_0x21cb5a,_0x6f0249,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x341971}):_0x21cb5a[_0x6f0249]=_0x341971,Dn=(_0x4ae353,_0x4dd506,_0x39a2e0,_0x5b4453)=>{var _0x54ba4a=_0x4c5ff4;for(var _0x92d2ba=_0x5b4453>0x1?void 0x0:_0x5b4453?yn(_0x4dd506,_0x39a2e0):_0x4dd506,_0x4c2093=_0x4ae353[_0x54ba4a(0x54c)]-0x1,_0x5b51ed;_0x4c2093>=0x0;_0x4c2093--)(_0x5b51ed=_0x4ae353[_0x4c2093])&&(_0x92d2ba=_0x5b51ed(_0x92d2ba)||_0x92d2ba);return _0x92d2ba;},Me=(_0x4aca18,_0x1cb478)=>(_0x13e523,_0x2463fc)=>_0x1cb478(_0x13e523,_0x2463fc,_0x4aca18),Un=(_0x3f184c,_0x1b734e,_0x250a80)=>Nn(_0x3f184c,_0x1b734e+'',_0x250a80);const An=_0x4c5ff4(0x4b7);exports[_0x4c5ff4(0x1ea)]=class extends a[_0x4c5ff4(0x27c)]{constructor(_0x587f85,_0x46eab2,_0x58dc8f,_0x39234d){var _0x117912=_0x4c5ff4;super(),A(this,_0x117912(0x357)),(this[_0x117912(0x2d2)]=_0x46eab2,this['_injector']=_0x58dc8f,this[_0x117912(0x2bb)]=_0x39234d);const {..._0x19239a}=a[_0x117912(0x287)]({},Kt,_0x587f85);if(!_0x19239a[_0x117912(0x483)])throw new Error(_0x117912(0x266));this[_0x117912(0x357)]=_0x19239a,this[_0x117912(0x2bb)][_0x117912(0x23e)](G,_0x19239a);}['onStarting'](){var _0x1cac6a=_0x4c5ff4;this[_0x1cac6a(0x396)](),this[_0x1cac6a(0x4f9)]();}['_registerDependencies'](){var _0x359f81=_0x4c5ff4,_0x451bb0,_0x415ebe;this[_0x359f81(0x2f8)][_0x359f81(0x232)](a['IUndoRedoService'])&&this[_0x359f81(0x2d2)]['error'](_0x359f81(0x3fd),_0x359f81(0x40f));const _0x547249=a['mergeOverrideWithDependencies']([[a[_0x359f81(0x4e8)],{'useClass':exports[_0x359f81(0x4bb)]}],[exports[_0x359f81(0x2e3)]],[exports[_0x359f81(0x306)]],[exports[_0x359f81(0x349)]],[ye],[Ne],[$e],[De],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x359f81(0x357)]['socketService']}],[p['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x359f81(0x526)],{'useClass':exports[_0x359f81(0x37d)]}],[z[_0x359f81(0x4d6)],{'useClass':exports[_0x359f81(0x4b4)]}],[a['IMentionIOService'],{'useClass':exports[_0x359f81(0x32d)]}],[exports[_0x359f81(0x284)]],[xe]],(_0x451bb0=this['_config'])==null?void 0x0:_0x451bb0[_0x359f81(0x399)]);if(!((_0x415ebe=this[_0x359f81(0x357)])!=null&&_0x415ebe[_0x359f81(0x4b0)])){const _0x557114=_0x547249[_0x359f81(0x451)](([_0x3d94d9])=>_0x3d94d9===de);_0x557114!==-0x1&&_0x547249[_0x359f81(0x401)](_0x557114,0x1);}a['registerDependencies'](this[_0x359f81(0x2f8)],_0x547249);}[_0x4c5ff4(0x4f9)](){var _0x357c35=_0x4c5ff4,_0xcd23c9,_0x4331be,_0x5b1112;this[_0x357c35(0x2f8)][_0x357c35(0x38f)](K[_0x357c35(0x2ad)])[_0x357c35(0x406)]({'priority':0x14,'interceptor':K[_0x357c35(0x39f)]({'maxParallel':0x6})}),(_0xcd23c9=this[_0x357c35(0x357)])!=null&&_0xcd23c9[_0x357c35(0x449)]||(_0x4331be=this[_0x357c35(0x2f8)]['get'](q,a[_0x357c35(0x286)][_0x357c35(0x246)]))==null||_0x4331be['disableLocalCache'](),(_0x5b1112=this[_0x357c35(0x357)])!=null&&_0x5b1112[_0x357c35(0x407)]&&a[_0x357c35(0x3b4)](this['_injector'],[[ye]]),a[_0x357c35(0x3b4)](this[_0x357c35(0x2f8)],[[Ne],[exports[_0x357c35(0x284)]],[De]]);}},Un(exports[_0x4c5ff4(0x1ea)],_0x4c5ff4(0x479),An),exports[_0x4c5ff4(0x1ea)]=Dn([a['DependentOn'](p[_0x4c5ff4(0x377)],K['UniverNetworkPlugin']),Me(0x1,a['ILogService']),Me(0x2,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),Me(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x4c5ff4(0x3ab)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=G,exports[_0x4c5ff4(0x21d)]=It,exports[_0x4c5ff4(0x2ba)]=ut,exports[_0x4c5ff4(0x3fc)]=Be,exports['CollaborationUIEventId']=Z,exports[_0x4c5ff4(0x2f5)]=ee,exports[_0x4c5ff4(0x1e7)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x4c5ff4(0x21b)]=Gt,exports[_0x4c5ff4(0x3d6)]=kt,exports[_0x4c5ff4(0x2a3)]=vt,exports[_0x4c5ff4(0x30e)]=ke,exports[_0x4c5ff4(0x1ed)]=He,exports['ILocalCacheService']=q,exports[_0x4c5ff4(0x4d4)]=mt,exports[_0x4c5ff4(0x2de)]=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports['LOCAL_CACHE_INTERVAL_KEY']=Bt,exports['LOGIN_URL_KEY']=pt,exports[_0x4c5ff4(0x450)]=Yt,exports[_0x4c5ff4(0x55e)]=ft,exports[_0x4c5ff4(0x21f)]=Mt,exports[_0x4c5ff4(0x324)]=_t,exports[_0x4c5ff4(0x54f)]=lt,exports[_0x4c5ff4(0x3bf)]=re,exports[_0x4c5ff4(0x20f)]=je,exports['deserializeToCombResponse']=Ct,exports['getLocalCacheKey']=oi,exports['serializeCombRequest']=Tt;
1
+ 'use strict';var _0x4c969f=_0x42d5;(function(_0x5e5f88,_0x45ff34){var _0x422603=_0x42d5,_0x5a2685=_0x5e5f88();while(!![]){try{var _0x292072=-parseInt(_0x422603(0x319))/0x1+parseInt(_0x422603(0x2fb))/0x2+parseInt(_0x422603(0x1f4))/0x3*(-parseInt(_0x422603(0x3ec))/0x4)+-parseInt(_0x422603(0x371))/0x5*(-parseInt(_0x422603(0x2e0))/0x6)+parseInt(_0x422603(0x372))/0x7+parseInt(_0x422603(0x429))/0x8*(-parseInt(_0x422603(0x3e0))/0x9)+parseInt(_0x422603(0x1a4))/0xa;if(_0x292072===_0x45ff34)break;else _0x5a2685['push'](_0x5a2685['shift']());}catch(_0x3d6c66){_0x5a2685['push'](_0x5a2685['shift']());}}}(_0x5cb8,0xc6e87));var Ut=Object[_0x4c969f(0x1c3)],At=(_0x194fe4,_0x5ad870,_0x4a5f4c)=>_0x5ad870 in _0x194fe4?Ut(_0x194fe4,_0x5ad870,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a5f4c}):_0x194fe4[_0x5ad870]=_0x4a5f4c,A=(_0x14373d,_0xe3dc7f,_0x32637f)=>At(_0x14373d,typeof _0xe3dc7f!=_0x4c969f(0x207)?_0xe3dc7f+'':_0xe3dc7f,_0x32637f);Object[_0x4c969f(0x1c3)](exports,Symbol[_0x4c969f(0x3ea)],{'value':_0x4c969f(0x1bb)});const a=require(_0x4c969f(0x2b3)),$=require('rxjs'),V=require(_0x4c969f(0x329)),p=require(_0x4c969f(0x44e)),K=require('@univerjs/network'),Pt=require(_0x4c969f(0x1d9)),ht=require(_0x4c969f(0x262)),X=require(_0x4c969f(0x2c5)),z=require('@univerjs/drawing'),Lt=require(_0x4c969f(0x2da)),_t='SNAPSHOT_SERVER_URL_KEY',wt='/universer-api/snapshot',lt=_0x4c969f(0x289),Mt=_0x4c969f(0x146),xt=0x7d0,ut=_0x4c969f(0x375),dt=_0x4c969f(0x46c),kt='/universer-api/user/session-ticket',vt=_0x4c969f(0x437),Ht=0x7530,ke=_0x4c969f(0x239),St=0x4e20,$t=0x4e20,ft=_0x4c969f(0x481),jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,It=_0x4c969f(0x352),Vt=_0x4c969f(0x2e9),pt=_0x4c969f(0x107),Wt=_0x4c969f(0xff),Yt=_0x4c969f(0x2b0),Gt=_0x4c969f(0x274);var gt=(_0x2b0ec4=>(_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x3fa)]=0x0]=_0x4c969f(0x3fa),_0x2b0ec4[_0x2b0ec4['OK']=0x1]='OK',_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x249)]=0x2]='INTERNAL_ERROR',_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x1c2)]=0x3]=_0x4c969f(0x1c2),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x17f)]=0x4]='NOT_FOUND',_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x28a)]=0x5]='UNAUTHENTICATED',_0x2b0ec4[_0x2b0ec4['ALREADY_EXISTS']=0x6]=_0x4c969f(0x46e),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x336)]=0x7]='INVALID_ARGUMENT',_0x2b0ec4[_0x2b0ec4['TOO_MANY_REQUESTS']=0x8]=_0x4c969f(0x217),_0x2b0ec4[_0x2b0ec4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x444)]=0xa]=_0x4c969f(0x444),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x13b)]=0xb]=_0x4c969f(0x13b),_0x2b0ec4[_0x2b0ec4['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4c969f(0x254),_0x2b0ec4[_0x2b0ec4['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x31c)]=0xe]=_0x4c969f(0x31c),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x33a)]=0x1389]=_0x4c969f(0x33a),_0x2b0ec4[_0x2b0ec4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4c969f(0x24c),_0x2b0ec4[_0x2b0ec4['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4c969f(0x213),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x2ed)]=0x1773]=_0x4c969f(0x2ed),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x253)]=0x1b59]=_0x4c969f(0x253),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x471)]=0x1b5a]=_0x4c969f(0x471),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x312)]=0x1b5b]=_0x4c969f(0x312),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x360)]=0x1b5c]=_0x4c969f(0x360),_0x2b0ec4[_0x2b0ec4['APPLY_DUPLICATED']=0x1b5d]=_0x4c969f(0x480),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x41d)]=0x1f41]=_0x4c969f(0x41d),_0x2b0ec4[_0x2b0ec4['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4c969f(0x485),_0x2b0ec4[_0x2b0ec4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4c969f(0x296),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x225)]=0x232b]=_0x4c969f(0x225),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x23b)]=0x232c]=_0x4c969f(0x23b),_0x2b0ec4[_0x2b0ec4['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4c969f(0x47a),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x14b)]=0x2711]=_0x4c969f(0x14b),_0x2b0ec4[_0x2b0ec4['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2b0ec4[_0x2b0ec4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4c969f(0x179),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x37e)]=0x2714]=_0x4c969f(0x37e),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x2c6)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2b0ec4[_0x2b0ec4['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4c969f(0x2ea),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x35f)]=0x271c]=_0x4c969f(0x35f),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x12e)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2b0ec4[_0x2b0ec4['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4c969f(0x400),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x1d0)]=0x271f]=_0x4c969f(0x1d0),_0x2b0ec4[_0x2b0ec4['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4c969f(0x45a),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x30e)]=0x2af9]=_0x4c969f(0x30e),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x43f)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x3ef)]=0x2ee2]=_0x4c969f(0x3ef),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x3d2)]=0x2ee3]=_0x4c969f(0x3d2),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x168)]=0x2ee4]=_0x4c969f(0x168),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x45c)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2b0ec4[_0x2b0ec4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4c969f(0x46d),_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x418)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x12b)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2b0ec4[_0x2b0ec4[_0x4c969f(0x252)]=-0x1]=_0x4c969f(0x252),_0x2b0ec4))(gt||{}),J=(_0x1ad9bd=>(_0x1ad9bd[_0x1ad9bd[_0x4c969f(0x16a)]=0x0]='UNIVER_UNKNOWN',_0x1ad9bd[_0x1ad9bd['UNIVER_DOC']=0x1]=_0x4c969f(0x12a),_0x1ad9bd[_0x1ad9bd['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1ad9bd[_0x1ad9bd['UNIVER_SLIDE']=0x3]=_0x4c969f(0x323),_0x1ad9bd[_0x1ad9bd[_0x4c969f(0x3fb)]=0x4]=_0x4c969f(0x3fb),_0x1ad9bd[_0x1ad9bd[_0x4c969f(0x252)]=-0x1]=_0x4c969f(0x252),_0x1ad9bd))(J||{}),W=(_0x5bf985=>(_0x5bf985[_0x5bf985[_0x4c969f(0x2bb)]=0x0]=_0x4c969f(0x2bb),_0x5bf985[_0x5bf985[_0x4c969f(0x446)]=0x1]=_0x4c969f(0x446),_0x5bf985[_0x5bf985[_0x4c969f(0x46b)]=0x2]='JOIN',_0x5bf985[_0x5bf985[_0x4c969f(0x449)]=0x3]=_0x4c969f(0x449),_0x5bf985[_0x5bf985['INGEST']=0x4]=_0x4c969f(0x2b7),_0x5bf985[_0x5bf985[_0x4c969f(0x211)]=0x5]=_0x4c969f(0x211),_0x5bf985[_0x5bf985[_0x4c969f(0x224)]=0x6]='RECV',_0x5bf985[_0x5bf985[_0x4c969f(0x252)]=-0x1]=_0x4c969f(0x252),_0x5bf985))(W||{}),oe=(_0x2f8fdd=>(_0x2f8fdd[_0x2f8fdd[_0x4c969f(0x1ec)]=0x0]=_0x4c969f(0x1ec),_0x2f8fdd[_0x2f8fdd['OK']=0x1]='OK',_0x2f8fdd[_0x2f8fdd['FAIL']=0x2]=_0x4c969f(0x1f5),_0x2f8fdd[_0x2f8fdd['JOIN_ROOM_FULL']=0x3e9]=_0x4c969f(0x109),_0x2f8fdd[_0x2f8fdd[_0x4c969f(0x330)]=0x3ea]=_0x4c969f(0x330),_0x2f8fdd[_0x2f8fdd[_0x4c969f(0x2d9)]=0x3eb]=_0x4c969f(0x2d9),_0x2f8fdd[_0x2f8fdd[_0x4c969f(0x46a)]=0x3ec]=_0x4c969f(0x46a),_0x2f8fdd[_0x2f8fdd[_0x4c969f(0x252)]=-0x1]='UNRECOGNIZED',_0x2f8fdd))(oe||{}),Et=(_0x296adc=>(_0x296adc[_0x296adc[_0x4c969f(0x37a)]=0x0]=_0x4c969f(0x37a),_0x296adc[_0x296adc[_0x4c969f(0x2f4)]=0x1]=_0x4c969f(0x2f4),_0x296adc[_0x296adc[_0x4c969f(0x3c7)]=0x2]='HttpExport',_0x296adc[_0x296adc[_0x4c969f(0x2e6)]=0x3]='UnitEmbedded',_0x296adc[_0x296adc[_0x4c969f(0x48c)]=0x4]=_0x4c969f(0x48c),_0x296adc[_0x296adc[_0x4c969f(0x154)]=0x5]=_0x4c969f(0x154),_0x296adc[_0x296adc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x296adc))(Et||{});const G=_0x4c969f(0x399),Kt={};var Z=(_0x443a8f=>(_0x443a8f[_0x4c969f(0x438)]=_0x4c969f(0x438),_0x443a8f[_0x4c969f(0x1c2)]=_0x4c969f(0x1c2),_0x443a8f[_0x4c969f(0x15a)]='CONFLICT',_0x443a8f[_0x4c969f(0x467)]=_0x4c969f(0x467),_0x443a8f[_0x4c969f(0x2e1)]='JOIN_ROOM_FAILED',_0x443a8f['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x443a8f[_0x4c969f(0x1b9)]=_0x4c969f(0x1b9),_0x443a8f[_0x4c969f(0x3e5)]=_0x4c969f(0x3e5),_0x443a8f))(Z||{});class ee{constructor(){var _0x52dede=_0x4c969f;A(this,_0x52dede(0x12c),new $[(_0x52dede(0x285))]()),A(this,_0x52dede(0x180),this[_0x52dede(0x12c)][_0x52dede(0x196)]());}[_0x4c969f(0x361)](_0x5761c7){var _0x178648=_0x4c969f;this[_0x178648(0x12c)]['next'](_0x5761c7);}}const mt=a[_0x4c969f(0x1dc)](_0x4c969f(0x1a2));function Ct(_0x562281){var _0x105e1f=_0x4c969f,_0x4ce486,_0x19900d,_0x4233cd,_0x32ea96,_0xb36aac;const _0x2b5e21=_0x562281[_0x105e1f(0x366)],_0x45fd69=JSON[_0x105e1f(0x1e0)](_0x2b5e21);switch(_0x45fd69[_0x105e1f(0x36b)]){case W[_0x105e1f(0x211)]:case W[_0x105e1f(0x446)]:{const _0x1c3f08=_0x45fd69['infoRsp'];return{..._0x45fd69,'data':_0x1c3f08,'cmd':_0x45fd69[_0x105e1f(0x36b)]};}case W[_0x105e1f(0x46b)]:{const _0x10f43d=_0x45fd69['joinRsp'];return{..._0x45fd69,'data':_0x10f43d,'cmd':_0x45fd69[_0x105e1f(0x36b)]};}case W[_0x105e1f(0x224)]:{const _0x19958c=_0x45fd69[_0x105e1f(0x268)];switch(_0x19958c[_0x105e1f(0x170)]){case p[_0x105e1f(0x36f)]['PERMISSION_REJ']:return{..._0x45fd69,'data':{..._0x19958c,'data':(_0x4ce486=_0x19958c[_0x105e1f(0x318)])==null?void 0x0:_0x4ce486['cs']},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p['CollaborationEvent'][_0x105e1f(0x346)]:return{..._0x45fd69,'data':{..._0x19958c,'data':(_0x19900d=_0x19958c[_0x105e1f(0x2bc)])==null?void 0x0:_0x19900d['cs']},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p[_0x105e1f(0x36f)][_0x105e1f(0x243)]:return{..._0x45fd69,'data':{..._0x19958c,'data':(_0x4233cd=_0x19958c['newCsEvent'])==null?void 0x0:_0x4233cd['cs']},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p['CollaborationEvent'][_0x105e1f(0x144)]:return{..._0x45fd69,'data':{..._0x19958c,'data':(_0x32ea96=_0x19958c['csRejEvent'])==null?void 0x0:_0x32ea96['cs']},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p[_0x105e1f(0x36f)][_0x105e1f(0x264)]:return{..._0x45fd69,'data':{..._0x19958c,'data':(_0xb36aac=_0x19958c[_0x105e1f(0x2c7)])==null?void 0x0:_0xb36aac['cs']},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p[_0x105e1f(0x36f)][_0x105e1f(0x38a)]:return{..._0x45fd69,'data':{..._0x19958c,'data':_0x19958c['updateCursorEvent']},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p[_0x105e1f(0x36f)]['USERS_ENTER']:return{..._0x45fd69,'data':{..._0x19958c,'data':_0x19958c[_0x105e1f(0x104)]},'cmd':_0x45fd69['cmd']};case p[_0x105e1f(0x36f)][_0x105e1f(0x11d)]:return{..._0x45fd69,'data':{..._0x19958c,'data':_0x19958c[_0x105e1f(0x2d6)]},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p['CollaborationEvent'][_0x105e1f(0x2f3)]:return{..._0x45fd69,'data':{..._0x19958c,'data':_0x19958c[_0x105e1f(0x261)]},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p[_0x105e1f(0x36f)][_0x105e1f(0x238)]:case p[_0x105e1f(0x36f)]['LIVESHARE_OPERATION']:return{..._0x45fd69,'data':{..._0x19958c,'data':_0x19958c[_0x105e1f(0x2f7)]},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p[_0x105e1f(0x36f)][_0x105e1f(0x2cb)]:return{..._0x45fd69,'data':{..._0x19958c,'data':_0x19958c[_0x105e1f(0x261)]},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p[_0x105e1f(0x36f)]['MSG_FOR_ERROR']:return{..._0x45fd69,'data':_0x19958c,'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p[_0x105e1f(0x36f)][_0x105e1f(0x156)]:return{..._0x45fd69,'data':{..._0x19958c,'data':_0x19958c['commentUpdateEvent']},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p[_0x105e1f(0x36f)]['UPDATE_PERMISSION_OBJ']:return{..._0x45fd69,'data':{..._0x19958c,'data':_0x19958c['updatePermissionObjEvent']},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x45fd69,'data':{..._0x19958c,'data':_0x19958c[_0x105e1f(0x2f9)]},'cmd':_0x45fd69[_0x105e1f(0x36b)]};case p[_0x105e1f(0x36f)][_0x105e1f(0x203)]:return{..._0x45fd69,'data':{..._0x19958c,'data':_0x19958c[_0x105e1f(0x2c2)]},'cmd':_0x45fd69[_0x105e1f(0x36b)]};default:return _0x45fd69;}}default:return _0x45fd69;}}function Tt(_0x35029d){var _0x254c3e=_0x4c969f;switch(_0x35029d['cmd']){case W[_0x254c3e(0x211)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x35029d[_0x254c3e(0x36b)],'routeKey':_0x35029d[_0x254c3e(0x33c)]});case W[_0x254c3e(0x2b7)]:{let _0x4872bf;switch(_0x35029d[_0x254c3e(0x366)][_0x254c3e(0x170)]){case p[_0x254c3e(0x36f)][_0x254c3e(0x38a)]:{_0x4872bf={'eventID':p['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x35029d[_0x254c3e(0x366)]['data']};break;}case p[_0x254c3e(0x36f)][_0x254c3e(0x11d)]:{_0x4872bf={'eventID':p[_0x254c3e(0x36f)][_0x254c3e(0x11d)],'leaveEvent':_0x35029d['data'][_0x254c3e(0x366)]};break;}case p[_0x254c3e(0x36f)][_0x254c3e(0x267)]:{_0x4872bf={'eventID':p[_0x254c3e(0x36f)][_0x254c3e(0x267)],'joinEvent':_0x35029d[_0x254c3e(0x366)][_0x254c3e(0x366)]};break;}case p[_0x254c3e(0x36f)][_0x254c3e(0x2f3)]:{_0x4872bf={'eventID':p[_0x254c3e(0x36f)][_0x254c3e(0x2f3)],'liveShareNewHost':_0x35029d[_0x254c3e(0x366)][_0x254c3e(0x366)]};break;}case p['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x4872bf={'eventID':p[_0x254c3e(0x36f)][_0x254c3e(0x1fb)],'liveShareOperation':_0x35029d[_0x254c3e(0x366)][_0x254c3e(0x366)]};break;}case p[_0x254c3e(0x36f)][_0x254c3e(0x2cb)]:{_0x4872bf={'eventID':p[_0x254c3e(0x36f)][_0x254c3e(0x2cb)],'liveShareTerminate':_0x35029d[_0x254c3e(0x366)][_0x254c3e(0x366)]};break;}case p['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x4872bf={'eventID':p[_0x254c3e(0x36f)][_0x254c3e(0x25e)],'liveShareRequestHost':_0x35029d['data']['data']};break;}case p[_0x254c3e(0x36f)][_0x254c3e(0x238)]:{_0x4872bf={'eventID':p[_0x254c3e(0x36f)][_0x254c3e(0x238)]};break;}default:_0x4872bf={'eventID':_0x35029d[_0x254c3e(0x366)][_0x254c3e(0x170)]};}return JSON[_0x254c3e(0x35c)]({'cmd':_0x35029d[_0x254c3e(0x36b)],'routeKey':_0x35029d['routeKey'],'collaMsg':_0x4872bf});}case W[_0x254c3e(0x46b)]:return JSON[_0x254c3e(0x35c)]({'cmd':_0x35029d[_0x254c3e(0x36b)],'routeKey':_0x35029d['routeKey'],'joinReq':_0x35029d[_0x254c3e(0x366)]});case W[_0x254c3e(0x449)]:return JSON[_0x254c3e(0x35c)]({'cmd':_0x35029d[_0x254c3e(0x36b)],'routeKey':_0x35029d[_0x254c3e(0x33c)],'leaveReq':_0x35029d[_0x254c3e(0x366)]});default:throw new Error(_0x254c3e(0x16c));}}var qt=Object[_0x4c969f(0x3ad)],zt=(_0x124532,_0x3a09ea,_0x5b182a,_0x54cca5)=>{var _0x2d12d3=_0x4c969f;for(var _0x13a195=_0x54cca5>0x1?void 0x0:_0x54cca5?qt(_0x3a09ea,_0x5b182a):_0x3a09ea,_0x2287ab=_0x124532[_0x2d12d3(0x21b)]-0x1,_0x5dc80d;_0x2287ab>=0x0;_0x2287ab--)(_0x5dc80d=_0x124532[_0x2287ab])&&(_0x13a195=_0x5dc80d(_0x13a195)||_0x13a195);return _0x13a195;},_e=(_0x44a371,_0x20f0f)=>(_0x32469c,_0x11ee21)=>_0x20f0f(_0x32469c,_0x11ee21,_0x44a371);const He=a[_0x4c969f(0x1dc)](_0x4c969f(0x327));function Jt(_0xadcb83,_0xd9952e,_0x36b156){var _0x4424f2=_0x4c969f;return _0xadcb83+'/'+_0xd9952e+_0x4424f2(0x117)+_0x36b156+_0x4424f2(0x257);}exports[_0x4c969f(0x35b)]=class extends a[_0x4c969f(0x24a)]{constructor(_0x448413,_0x963eaf,_0x99b6ca,_0x2808c2,_0x236b2d){var _0x4c99b2=_0x4c969f;super(),this[_0x4c99b2(0x256)]=_0x448413,this['_httpService']=_0x963eaf,this[_0x4c99b2(0x2fe)]=_0x99b6ca,this[_0x4c99b2(0x136)]=_0x2808c2,this[_0x4c99b2(0x1a9)]=_0x236b2d;}['_doCreateSocket'](_0x265d54){var _0x408ec7=_0x4c969f;const _0x268120=this['_injector']['get'](K[_0x408ec7(0x2ec)]);if(!_0x268120)throw new Error(_0x408ec7(0x439));const _0x371ba4=_0x268120[_0x408ec7(0x335)](_0x265d54);if(!_0x371ba4)throw new Error(_0x408ec7(0x42a));const _0x480826=new a['DisposableCollection'](),_0xa7b910=new $['Subject']();_0x480826['add'](_0x371ba4[_0x408ec7(0x26a)][_0x408ec7(0x221)](_0x9099a0=>_0xa7b910[_0x408ec7(0x246)](_0x9099a0))),_0x480826[_0x408ec7(0x315)](a[_0x408ec7(0x204)](()=>_0xa7b910[_0x408ec7(0x35e)]()));const _0x575c5b=new $[(_0x408ec7(0x285))]();_0x480826['add'](_0x371ba4['error$'][_0x408ec7(0x221)](_0x20859a=>_0x575c5b[_0x408ec7(0x246)](_0x20859a))),_0x480826[_0x408ec7(0x315)](a[_0x408ec7(0x204)](()=>_0x575c5b[_0x408ec7(0x35e)]()));const _0x382dcd=new $[(_0x408ec7(0x285))]();_0x480826['add'](_0x371ba4[_0x408ec7(0x3a4)][_0x408ec7(0x221)](_0x48844b=>{var _0x599186=_0x408ec7;const _0x141f8a=Ct(_0x48844b);_0x382dcd[_0x599186(0x246)](_0x141f8a);})),_0x480826['add'](a['toDisposable'](()=>_0x382dcd[_0x408ec7(0x35e)]()));let _0x5b53f1;const _0x5750c7=()=>{var _0x1fda8e=_0x408ec7;_0x575c5b[_0x1fda8e(0x246)](new Event('connection\x20error')),_0xa7b910[_0x1fda8e(0x246)](new Event(_0x1fda8e(0x3e9))),_0x5b53f1[_0x1fda8e(0x2b8)]();};return _0x5b53f1={'memberID':'','close$':_0xa7b910[_0x408ec7(0x196)](),'error$':_0x575c5b[_0x408ec7(0x196)](),'open$':_0x371ba4[_0x408ec7(0x1e2)],'message$':_0x382dcd[_0x408ec7(0x196)](),'send':_0x450cf0=>{var _0x5aae8d=_0x408ec7;if(_0x450cf0[_0x5aae8d(0x36b)]===W[_0x5aae8d(0x2b7)]){if(_0x450cf0[_0x5aae8d(0x366)][_0x5aae8d(0x170)]===p[_0x5aae8d(0x36f)][_0x5aae8d(0x1f1)]){this['_submitChangeset'](_0x5b53f1,_0x450cf0[_0x5aae8d(0x366)])[_0x5aae8d(0x3e4)](_0x117372=>{this['_logService']['error'](_0x117372),_0x5750c7();});return;}if(_0x450cf0[_0x5aae8d(0x366)]['eventID']===p[_0x5aae8d(0x36f)][_0x5aae8d(0x127)]){const _0x34095b=_0x450cf0[_0x5aae8d(0x366)];this[_0x5aae8d(0x1be)](_0x34095b)[_0x5aae8d(0x245)](_0x587000=>{var _0x3f9881=_0x5aae8d;_0x382dcd['next']({'cmd':W[_0x3f9881(0x224)],'code':oe['OK'],'routeKey':_0x34095b['data']['unitID'],'routeType':'','data':{'eventID':p['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x587000}}});})[_0x5aae8d(0x3e4)](_0x387d36=>{var _0x48b32d=_0x5aae8d;this[_0x48b32d(0x136)][_0x48b32d(0x3d4)](_0x387d36),_0x5750c7();});return;}}_0x371ba4['send'](Tt(_0x450cf0));},'close':()=>{var _0x4c8b53=_0x408ec7;_0x371ba4['close'](),_0x480826[_0x4c8b53(0x1e3)]();}},_0x5b53f1;}async[_0x4c969f(0x3e2)](_0x2be7b5,_0x4372ed){var _0x4ee367=_0x4c969f,_0x2ea40a,_0xf7a85a;const {unitType:_0x38a1eb,unitID:_0x516764,changeset:_0x501c64}=_0x4372ed[_0x4ee367(0x366)],_0x27ed29={'unitID':_0x516764,'memberID':_0x2be7b5['memberID'],'type':_0x38a1eb,'changeset':p[_0x4ee367(0x2ca)](_0x501c64)},_0x1012d8=this[_0x4ee367(0x2fe)]['getConfig'](It),_0x2f8156=this[_0x4ee367(0x2fe)][_0x4ee367(0x3b6)](G),_0x16472a=Jt((_0xf7a85a=(_0x2ea40a=_0x2f8156==null?void 0x0:_0x2f8156[_0x4ee367(0x174)])!=null?_0x2ea40a:_0x1012d8)!=null?_0xf7a85a:Vt,_0x38a1eb,_0x516764);try{await this[_0x4ee367(0x454)][_0x4ee367(0x3a3)](_0x16472a,{'body':_0x27ed29});}catch(_0x4009a){throw this[_0x4ee367(0x136)][_0x4ee367(0x3d4)](_0x4ee367(0x332),_0x4ee367(0x1ce)),_0x4009a;}}async[_0x4c969f(0x1be)](_0x587ea7){var _0x189a8c=_0x4c969f;const {unitID:_0x94e284,from:_0x2d1eea,to:_0x51ca84,unitType:_0x486525}=_0x587ea7['data'];return(await this[_0x189a8c(0x1a9)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x94e284,'type':_0x486525,'from':_0x2d1eea,'to':_0x51ca84}))[_0x189a8c(0x2eb)];}},exports[_0x4c969f(0x35b)]=zt([_e(0x0,a[_0x4c969f(0x3e8)](a['Injector'])),_e(0x1,a['Inject'](K[_0x4c969f(0x476)])),_e(0x2,a[_0x4c969f(0x160)]),_e(0x3,a[_0x4c969f(0x190)]),_e(0x4,p[_0x4c969f(0x1a7)])],exports['CollaborationSocketService']);const Xt='collaboration_new_changeset';function Zt(_0x430933){var _0x42018e=_0x4c969f;return JSON[_0x42018e(0x35c)](_0x430933)['length'];}class $e{constructor(){var _0x1d3fea=_0x4c969f;A(this,'_commentUpdate$',new $['Subject']()),A(this,_0x1d3fea(0x1b6),this[_0x1d3fea(0x44b)][_0x1d3fea(0x196)]());}[_0x4c969f(0x2d7)](_0x54debe){var _0x2df1c9=_0x4c969f;this[_0x2df1c9(0x44b)][_0x2df1c9(0x246)](_0x54debe);}}var Qt=Object[_0x4c969f(0x3ad)],ei=(_0x40e1bc,_0x277d6d,_0x4b7246,_0x30ed1f)=>{var _0x3f2671=_0x4c969f;for(var _0x198e25=_0x30ed1f>0x1?void 0x0:_0x30ed1f?Qt(_0x277d6d,_0x4b7246):_0x277d6d,_0x223d74=_0x40e1bc[_0x3f2671(0x21b)]-0x1,_0x3e2068;_0x223d74>=0x0;_0x223d74--)(_0x3e2068=_0x40e1bc[_0x223d74])&&(_0x198e25=_0x3e2068(_0x198e25)||_0x198e25);return _0x198e25;},We=(_0x337f41,_0x352f6e)=>(_0x8992fb,_0x2c7609)=>_0x352f6e(_0x8992fb,_0x2c7609,_0x337f41);exports[_0x4c969f(0x1a8)]=class extends a[_0x4c969f(0x24a)]{constructor(_0x5ef462,_0x5641d7){var _0x344da7=_0x4c969f;super(),A(this,_0x344da7(0x2e5),new Map()),A(this,_0x344da7(0x116),new $[(_0x344da7(0x285))]()),(this['_univerInstanceService']=_0x5ef462,this[_0x344da7(0x326)]=_0x5641d7,this[_0x344da7(0x200)]($[_0x344da7(0x11a)](this[_0x344da7(0x3fe)][_0x344da7(0x408)](a[_0x344da7(0x39e)][_0x344da7(0x3c1)])['pipe'](V[_0x344da7(0x26d)](_0x10cef2=>_0x10cef2[_0x344da7(0x201)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x344da7(0x39e)][_0x344da7(0x12a)])[_0x344da7(0x260)](V[_0x344da7(0x26d)](_0x55ee10=>_0x55ee10[_0x344da7(0x201)]())),this[_0x344da7(0x3fe)][_0x344da7(0x408)](a[_0x344da7(0x39e)]['UNIVER_SLIDE'])[_0x344da7(0x260)](V[_0x344da7(0x26d)](_0x45b81c=>_0x45b81c[_0x344da7(0x201)]())))[_0x344da7(0x221)](_0x784059=>this['_removeRoom'](_0x784059))));}[_0x4c969f(0x2d5)](_0x1b5bc8){var _0x5b9a66=_0x4c969f;return this['_roomMembers']['has'](_0x1b5bc8)?$['of'](this[_0x5b9a66(0x2e5)][_0x5b9a66(0x122)](_0x1b5bc8)):this[_0x5b9a66(0x116)]['pipe'](V['map'](_0x5359cd=>{var _0x574cc1=_0x5b9a66;if(_0x5359cd===_0x1b5bc8)return this[_0x574cc1(0x2e5)]['get'](_0x5359cd);}));}[_0x4c969f(0x115)](_0x2b3348){this['_userManagerService']['setCurrentUser'](_0x2b3348);}['getCurrentUser'](){var _0x2355b5=_0x4c969f;return this[_0x2355b5(0x326)][_0x2355b5(0x301)]();}[_0x4c969f(0x20a)](_0x246293,_0x136110){var _0x5b0b3f=_0x4c969f;let _0x26003e=this['_roomMembers'][_0x5b0b3f(0x122)](_0x246293);_0x26003e||(_0x26003e=new ti(),this[_0x5b0b3f(0x2e5)]['set'](_0x246293,_0x26003e),this[_0x5b0b3f(0x116)][_0x5b0b3f(0x246)](_0x246293)),_0x26003e[_0x5b0b3f(0x20a)](_0x136110);}[_0x4c969f(0x20e)](_0x5d0110,_0x3b1a3a){var _0x42f2d5=_0x4c969f;const _0x31118d=this[_0x42f2d5(0x2e5)][_0x42f2d5(0x122)](_0x5d0110);_0x31118d&&_0x31118d[_0x42f2d5(0x20e)](_0x3b1a3a);}[_0x4c969f(0x2f0)](_0x44f0f6){var _0x94498f=_0x4c969f;return this['_roomMembers'][_0x94498f(0x122)](_0x44f0f6);}['getMember'](_0xcbca21,_0x2df134){var _0x295b7a=_0x4c969f;const _0x84fd60=this[_0x295b7a(0x2e5)]['get'](_0xcbca21);if(_0x84fd60)return _0x84fd60['getMember'](_0x2df134);}['_removeRoom'](_0x23d655){var _0x35085f=_0x4c969f;const _0xe6dc75=this[_0x35085f(0x2e5)]['get'](_0x23d655);_0xe6dc75&&(_0xe6dc75[_0x35085f(0x1e3)](),this['_roomMembers'][_0x35085f(0x2c3)](_0x23d655));}['dispose'](){var _0x54c85a=_0x4c969f;this[_0x54c85a(0x2e5)][_0x54c85a(0x2c1)](_0x4858b4=>_0x4858b4[_0x54c85a(0x1e3)]()),this[_0x54c85a(0x2e5)][_0x54c85a(0x165)](),this[_0x54c85a(0x116)]['complete']();}},exports['MemberService']=ei([We(0x0,a['IUniverInstanceService']),We(0x1,a['Inject'](a[_0x4c969f(0x440)]))],exports[_0x4c969f(0x1a8)]);class ti extends a[_0x4c969f(0x24a)]{constructor(){var _0x3f40f4=_0x4c969f;super(...arguments),A(this,_0x3f40f4(0x3b3),new Map()),A(this,_0x3f40f4(0x42b),new $[(_0x3f40f4(0x448))](this[_0x3f40f4(0x3b3)])),A(this,'members$',this[_0x3f40f4(0x42b)]['asObservable']());}['dispose'](){var _0x409bb1=_0x4c969f;this[_0x409bb1(0x3b3)][_0x409bb1(0x165)]();}['updateMember'](_0x1d9354){var _0x18f000=_0x4c969f;this[_0x18f000(0x3b3)][_0x18f000(0x333)](_0x1d9354[_0x18f000(0x398)],_0x1d9354),this['_emitMembers']();}[_0x4c969f(0x20e)](_0x34eb98){var _0x55f1e5=_0x4c969f;this[_0x55f1e5(0x3b3)]['delete'](_0x34eb98);}[_0x4c969f(0x1b3)](_0xf3df71){var _0x3bf57b=_0x4c969f;return this[_0x3bf57b(0x3b3)][_0x3bf57b(0x122)](_0xf3df71);}[_0x4c969f(0x106)](){var _0x59016e=_0x4c969f;return Array[_0x59016e(0x43c)](this[_0x59016e(0x3b3)]['values']());}[_0x4c969f(0x370)](){var _0x42ad1c=_0x4c969f;this[_0x42ad1c(0x42b)][_0x42ad1c(0x246)](this['_members']);}}var ii=Object[_0x4c969f(0x3ad)],ni=(_0x2bef4d,_0x5b412e,_0x389cbe,_0x3a7c5d)=>{for(var _0x121891=_0x3a7c5d>0x1?void 0x0:_0x3a7c5d?ii(_0x5b412e,_0x389cbe):_0x5b412e,_0xe7a0e3=_0x2bef4d['length']-0x1,_0x219a06;_0xe7a0e3>=0x0;_0xe7a0e3--)(_0x219a06=_0x2bef4d[_0xe7a0e3])&&(_0x121891=_0x219a06(_0x121891)||_0x121891);return _0x121891;},se=(_0x36d2dd,_0x54975b)=>(_0x442207,_0x489025)=>_0x54975b(_0x442207,_0x489025,_0x36d2dd),re=(_0x4ff540=>(_0x4ff540[_0x4ff540[_0x4c969f(0x17a)]=0x0]=_0x4c969f(0x17a),_0x4ff540[_0x4ff540['JOINING']=0x1]=_0x4c969f(0x3bb),_0x4ff540[_0x4ff540[_0x4c969f(0x2a2)]=0x2]=_0x4c969f(0x2a2),_0x4ff540[_0x4ff540[_0x4c969f(0x235)]=0x3]=_0x4c969f(0x235),_0x4ff540))(re||{});const Ye={[oe[_0x4c969f(0x1f5)]]:_0x4c969f(0x27f),[oe['JOIN_ROOM_FULL']]:_0x4c969f(0x436),[oe[_0x4c969f(0x330)]]:_0x4c969f(0x3c8),[oe['JOIN_ROOM_PERMISSION_DENIED']]:_0x4c969f(0x145),[oe[_0x4c969f(0x46a)]]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a['RxDisposable']{constructor(_0x96cb3b,_0x3561ee,_0x2c0985,_0x539848,_0x3b054e,_0x167d0f,_0x348b89,_0x455b78,_0x21dbba){var _0x4a85cf=_0x4c969f;super(),A(this,_0x4a85cf(0x482),new $[(_0x4a85cf(0x448))](0x0)),A(this,_0x4a85cf(0x3db),this[_0x4a85cf(0x482)][_0x4a85cf(0x196)]()),A(this,_0x4a85cf(0x12c),new $[(_0x4a85cf(0x285))]()),A(this,'event$',this[_0x4a85cf(0x12c)][_0x4a85cf(0x196)]()),A(this,_0x4a85cf(0x1b0)),A(this,_0x4a85cf(0x3c9)),A(this,_0x4a85cf(0x414)),A(this,_0x4a85cf(0x27c),!0x1),A(this,_0x4a85cf(0x1de),null),(this[_0x4a85cf(0x20b)]=_0x96cb3b,this[_0x4a85cf(0x136)]=_0x2c0985,this[_0x4a85cf(0x2fe)]=_0x539848,this['_localeService']=_0x3b054e,this['_memberService']=_0x167d0f,this[_0x4a85cf(0x2db)]=_0x348b89,this[_0x4a85cf(0x462)]=_0x455b78,this[_0x4a85cf(0x39a)]=_0x21dbba,this[_0x4a85cf(0x27c)]=!!this[_0x4a85cf(0x39a)],_0x3561ee[_0x4a85cf(0x260)]($[_0x4a85cf(0x295)](this['dispose$']))[_0x4a85cf(0x221)](_0x2af188=>{var _0x2ca589=_0x4a85cf,_0x237a95;typeof _0x2af188>'u'||(this['_socket']=_0x2af188,_0x2af188?(this[_0x2ca589(0x2d3)](_0x2af188),this[_0x2ca589(0x3c9)]=_0x2af188[_0x2ca589(0x3a4)]['subscribe'](_0xc25281=>{var _0x1c0d57=_0x2ca589;_0xc25281[_0x1c0d57(0x33c)]===this[_0x1c0d57(0x20b)]&&this['_onCombEvent'](_0xc25281);})):(this[_0x2ca589(0x347)](),this['_sessionStatus$']['next'](0x2),(_0x237a95=this['_socketMessageSubscription'])==null||_0x237a95[_0x2ca589(0x321)](),this[_0x2ca589(0x3c9)]=null));}));}get[_0x4c969f(0x464)](){var _0x2d5514=_0x4c969f;return this['_sessionStatus$'][_0x2d5514(0x1bd)]();}[_0x4c969f(0x118)](){var _0x915da=_0x4c969f,_0x3b5925,_0x33dcc7;return(_0x33dcc7=(_0x3b5925=this['_socket'])==null?void 0x0:_0x3b5925[_0x915da(0x398)])!=null?_0x33dcc7:null;}[_0x4c969f(0x1e3)](){var _0x5e4530=_0x4c969f;super[_0x5e4530(0x1e3)](),this[_0x5e4530(0x47d)][_0x5e4530(0x246)](),this['dispose$'][_0x5e4530(0x35e)]();}[_0x4c969f(0x2b8)](){var _0x35525d=_0x4c969f,_0x8494ee,_0x3973c8;this['_throwTelemetryCollaborationNewChangeset'](),(_0x8494ee=this[_0x35525d(0x1b0)])==null||_0x8494ee[_0x35525d(0x3d1)]({'cmd':W[_0x35525d(0x449)],'data':{'roomID':this[_0x35525d(0x20b)]}}),(_0x3973c8=this[_0x35525d(0x1b0)])==null||_0x3973c8[_0x35525d(0x2b8)](),this[_0x35525d(0x12c)]['complete'](),this[_0x35525d(0x482)][_0x35525d(0x35e)](),this[_0x35525d(0x1e3)]();}[_0x4c969f(0x1e9)](_0x56d5c1){var _0x507e71=_0x4c969f;_0x56d5c1['cmd']===W[_0x507e71(0x46b)]?this[_0x507e71(0x1a0)](_0x56d5c1):_0x56d5c1[_0x507e71(0x36b)]===W[_0x507e71(0x224)]&&this[_0x507e71(0x428)](_0x56d5c1);}[_0x4c969f(0x2d3)](_0x560a75){var _0x2c34d0=_0x4c969f;this['_sessionStatus$'][_0x2c34d0(0x246)](0x1),_0x560a75[_0x2c34d0(0x3d1)]({'cmd':W[_0x2c34d0(0x46b)],'routeKey':this[_0x2c34d0(0x20b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2c34d0(0x20b)]}]}});}[_0x4c969f(0x1a0)](_0x376207){var _0x243a72=_0x4c969f,_0x5a4522;if(_0x376207[_0x243a72(0x316)]in Ye){this[_0x243a72(0x462)][_0x243a72(0x361)]({'id':Z[_0x243a72(0x2e1)],'data':Ye[_0x376207['code']]}),this[_0x243a72(0x482)]['next'](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x1b4637=(_0x5a4522=_0x376207[_0x243a72(0x366)]['roomInfos'][this[_0x243a72(0x20b)]])==null?void 0x0:_0x5a4522[_0x243a72(0x406)];_0x1b4637&&_0x1b4637[_0x243a72(0x2c1)](_0xc4d0=>this[_0x243a72(0x172)]['updateMember'](this[_0x243a72(0x20b)],_0xc4d0));}[_0x4c969f(0x428)](_0x36279a){var _0x2a7e65=_0x4c969f;try{const _0x52337f=_0x36279a[_0x2a7e65(0x366)];switch(_0x52337f[_0x2a7e65(0x170)]){case p[_0x2a7e65(0x36f)][_0x2a7e65(0x267)]:this[_0x2a7e65(0x2e7)](_0x52337f),this[_0x2a7e65(0x12c)]['next'](_0x52337f);break;case p[_0x2a7e65(0x36f)]['USERS_LEAVE']:this[_0x2a7e65(0x450)](_0x52337f),this[_0x2a7e65(0x12c)][_0x2a7e65(0x246)](_0x52337f);break;case p['CollaborationEvent'][_0x2a7e65(0x346)]:case p['CollaborationEvent'][_0x2a7e65(0x264)]:this[_0x2a7e65(0x2e4)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2a7e65(0x12c)][_0x2a7e65(0x246)](_0x52337f);break;case p[_0x2a7e65(0x36f)]['MSG_FOR_ERROR']:this[_0x2a7e65(0x136)][_0x2a7e65(0x3d4)](_0x2a7e65(0x157)+JSON['stringify'](_0x52337f)),this[_0x2a7e65(0x12c)]['next'](_0x52337f);break;case p[_0x2a7e65(0x36f)]['COMMENT_UPDATE']:this[_0x2a7e65(0x2db)][_0x2a7e65(0x2d7)](_0x52337f['data']),this['_event$']['next'](_0x52337f);break;default:this[_0x2a7e65(0x12c)]['next'](_0x52337f);}}catch(_0x4b8861){this[_0x2a7e65(0x136)]['error'](_0x4b8861,_0x36279a);}}[_0x4c969f(0x2e7)](_0x1c3024){var _0x6cd9ba=_0x4c969f;this['_memberService']['updateMember'](this[_0x6cd9ba(0x20b)],_0x1c3024['data']);}[_0x4c969f(0x450)](_0x1f568e){var _0xbf5fdc=_0x4c969f;this[_0xbf5fdc(0x172)][_0xbf5fdc(0x20e)](this[_0xbf5fdc(0x20b)],_0x1f568e[_0xbf5fdc(0x366)][_0xbf5fdc(0x398)]);}async[_0x4c969f(0x3d1)](_0x38d99b,_0xaaa925){var _0xed2c3=_0x4c969f;if(this[_0xed2c3(0x464)]!==0x3||!this[_0xed2c3(0x1b0)])throw new Error(_0xed2c3(0x3b1));try{_0x38d99b['eventID']===p[_0xed2c3(0x36f)][_0xed2c3(0x1f1)]&&(this[_0xed2c3(0x3b4)](),this['_startTelemetryCollaborationNewChangeset'](_0x38d99b)),this[_0xed2c3(0x1b0)]['send']({'cmd':W[_0xed2c3(0x2b7)],'routeKey':_0xaaa925,'routeType':'','data':_0x38d99b});}catch(_0x160541){this['_logService'][_0xed2c3(0x3d4)](_0x160541);}}[_0x4c969f(0x3b4)](){var _0x1b6a07=_0x4c969f,_0x106133;this[_0x1b6a07(0x414)]=setTimeout(()=>{var _0x1adc58=_0x1b6a07;this[_0x1adc58(0x414)]=null,this['_collaborationUIEventService']['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x106133=this[_0x1b6a07(0x2fe)][_0x1b6a07(0x3b6)](ke))!=null?_0x106133:St);}[_0x4c969f(0x36d)](){var _0x3d37b5=_0x4c969f;this[_0x3d37b5(0x414)]&&(clearTimeout(this[_0x3d37b5(0x414)]),this[_0x3d37b5(0x414)]=null);}[_0x4c969f(0x1f3)](_0x5b9f32){var _0x383a53=_0x4c969f;if(!this[_0x383a53(0x27c)])return;const {data:_0x316d74}=_0x5b9f32,{unitID:_0x3912be,changeset:_0x5c9ae9}=_0x316d74,{mutations:_0x139998,type:_0x1e71ac}=_0x5c9ae9;this[_0x383a53(0x1de)]={'unitId':_0x3912be,'type':_0x1e71ac,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x139998)};}[_0x4c969f(0x2e4)](){var _0x2d0cce=_0x4c969f;if(this['_shouldReportTelemetry']){if(!this[_0x2d0cce(0x1de)]){this[_0x2d0cce(0x136)][_0x2d0cce(0x3d4)](_0x2d0cce(0x332),_0x2d0cce(0x212));return;}this[_0x2d0cce(0x1de)][_0x2d0cce(0x191)]=performance[_0x2d0cce(0x1ef)](),this[_0x2d0cce(0x1de)][_0x2d0cce(0x22d)]=this[_0x2d0cce(0x1de)][_0x2d0cce(0x191)]-this[_0x2d0cce(0x1de)][_0x2d0cce(0x3bf)],this[_0x2d0cce(0x39a)][_0x2d0cce(0x113)](Xt,this[_0x2d0cce(0x1de)]),this['_telemetryInfo']=null;}}[_0x4c969f(0x347)](){this['_telemetryInfo']=null;}},exports[_0x4c969f(0x228)]=ni([se(0x2,a[_0x4c969f(0x190)]),se(0x3,a['IConfigService']),se(0x4,a['Inject'](a[_0x4c969f(0x293)])),se(0x5,a[_0x4c969f(0x3e8)](exports[_0x4c969f(0x1a8)])),se(0x6,a[_0x4c969f(0x3e8)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a['Optional'](Pt[_0x4c969f(0x473)]))],exports['CollaborationSession']);var ri=Object['getOwnPropertyDescriptor'],si=(_0x462e41,_0x1e2419,_0x12cf05,_0x127396)=>{for(var _0x7524a=_0x127396>0x1?void 0x0:_0x127396?ri(_0x1e2419,_0x12cf05):_0x1e2419,_0x51c4dd=_0x462e41['length']-0x1,_0x316e71;_0x51c4dd>=0x0;_0x51c4dd--)(_0x316e71=_0x462e41[_0x51c4dd])&&(_0x7524a=_0x316e71(_0x7524a)||_0x7524a);return _0x7524a;},he=(_0x270dd1,_0x12dcf8)=>(_0x4abbde,_0x53fda9)=>_0x12dcf8(_0x4abbde,_0x53fda9,_0x270dd1);exports[_0x4c969f(0x3a6)]=class extends a[_0x4c969f(0x24a)]{constructor(_0x253883,_0x51ce08,_0x48f717,_0x1c46ed,_0x440c33,_0xf1751a){var _0x19cfd8=_0x4c969f;super(),A(this,_0x19cfd8(0x178),new $[(_0x19cfd8(0x448))](void 0x0)),A(this,_0x19cfd8(0x1ca),this[_0x19cfd8(0x178)][_0x19cfd8(0x196)]()),A(this,_0x19cfd8(0x1c8),null),A(this,_0x19cfd8(0x32e),new Map()),A(this,_0x19cfd8(0x148),new $[(_0x19cfd8(0x448))](re[_0x19cfd8(0x17a)])),A(this,_0x19cfd8(0x3d7),this['_status$'][_0x19cfd8(0x196)]()),A(this,'_socketReady',!0x1),A(this,_0x19cfd8(0x43b)),A(this,_0x19cfd8(0x269),0x0),A(this,_0x19cfd8(0x29e)),A(this,'_timeoutTimer'),(this['_injector']=_0x253883,this[_0x19cfd8(0x136)]=_0x51ce08,this['_configService']=_0x48f717,this[_0x19cfd8(0x310)]=_0x1c46ed,this[_0x19cfd8(0x462)]=_0x440c33,this[_0x19cfd8(0x186)]=_0xf1751a,this['_listenToNetworkCondition']());}get[_0x4c969f(0x1b0)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0xbafa6=_0x4c969f;this['_networkConditionService']&&this[_0xbafa6(0x200)](this[_0xbafa6(0x186)]['online$'][_0xbafa6(0x221)](_0x4863d0=>{var _0x200972=_0xbafa6;_0x4863d0&&!this[_0x200972(0x1b0)]&&this['reconnect'](),_0x4863d0||this[_0x200972(0x431)]();}));}[_0x4c969f(0x1e3)](){var _0x3fa648=_0x4c969f;super[_0x3fa648(0x1e3)](),this[_0x3fa648(0x176)](),this[_0x3fa648(0x1a1)](),this[_0x3fa648(0x232)](),this[_0x3fa648(0x32e)][_0x3fa648(0x2c1)](_0x1ff2d1=>_0x1ff2d1[_0x3fa648(0x1e3)]()),this[_0x3fa648(0x32e)][_0x3fa648(0x165)](),this[_0x3fa648(0x148)][_0x3fa648(0x35e)]();}async[_0x4c969f(0x402)](_0x2b960a){var _0x15c465=_0x4c969f;if(this[_0x15c465(0x32e)]['has'](_0x2b960a))return this[_0x15c465(0x32e)][_0x15c465(0x122)](_0x2b960a);this[_0x15c465(0x3dd)]();const _0x1c7d7b=this[_0x15c465(0x256)][_0x15c465(0x36c)](exports[_0x15c465(0x228)],_0x2b960a,this[_0x15c465(0x178)]['asObservable']());return this[_0x15c465(0x32e)][_0x15c465(0x333)](_0x2b960a,_0x1c7d7b),_0x1c7d7b;}[_0x4c969f(0x2dd)](_0x34ac2f){var _0x457504=_0x4c969f,_0x38688e;const _0x1b9310=this[_0x457504(0x32e)][_0x457504(0x122)](_0x34ac2f);_0x1b9310&&(this[_0x457504(0x32e)][_0x457504(0x2c3)](_0x34ac2f),_0x1b9310[_0x457504(0x2b8)]()),this[_0x457504(0x32e)][_0x457504(0x489)]||(_0x38688e=this[_0x457504(0x1b0)])==null||_0x38688e[_0x457504(0x2b8)]();}[_0x4c969f(0x34c)](){var _0x3c377f=_0x4c969f;this[_0x3c377f(0x269)]=0x0,this[_0x3c377f(0x176)](),this[_0x3c377f(0x244)]();}[_0x4c969f(0x176)](){var _0x1f5b76=_0x4c969f;this[_0x1f5b76(0x43b)]!=null&&(clearTimeout(this[_0x1f5b76(0x43b)]),this[_0x1f5b76(0x43b)]=null);}async[_0x4c969f(0x13e)](){var _0x565a72=_0x4c969f,_0x31462,_0x10121c;const _0x47e057=this['_configService'][_0x565a72(0x3b6)](ut),_0x332e16=this[_0x565a72(0x2fe)][_0x565a72(0x3b6)](G),_0x293840=(_0x10121c=(_0x31462=_0x332e16==null?void 0x0:_0x332e16[_0x565a72(0x141)])!=null?_0x31462:_0x47e057)!=null?_0x10121c:dt,_0x24c30a=await this[_0x565a72(0x310)][_0x565a72(0x335)](_0x293840);return this[_0x565a72(0x1c8)]=_0x24c30a,_0x24c30a;}async['_tryEnsureSocket'](){var _0x351e48=_0x4c969f,_0x1e4962,_0x20f847;try{const _0x395e45=(_0x20f847=(_0x1e4962=this[_0x351e48(0x1b0)])!=null?_0x1e4962:this['_candidateSocket'])!=null?_0x20f847:await this[_0x351e48(0x13e)]();if(_0x395e45){const _0x1a7526=_0x395e45[_0x351e48(0x3d1)];_0x395e45[_0x351e48(0x3d1)]=_0x551c19=>(this[_0x351e48(0x152)](),_0x1a7526[_0x351e48(0x34a)](_0x395e45,[_0x551c19])),_0x395e45[_0x351e48(0x3a4)][_0x351e48(0x221)](_0x365b5a=>this[_0x351e48(0x313)](_0x395e45,_0x365b5a)),_0x395e45[_0x351e48(0x3bc)]['pipe'](V['take'](0x1))[_0x351e48(0x221)](_0x455a8a=>this['_logService'][_0x351e48(0x3d4)](_0x351e48(0x103),_0x455a8a)),_0x395e45[_0x351e48(0x1e2)]['pipe'](V[_0x351e48(0x3f2)](0x1))[_0x351e48(0x221)](()=>{var _0x240dfe=_0x351e48;this[_0x240dfe(0x276)](_0x395e45);}),_0x395e45[_0x351e48(0x26a)][_0x351e48(0x260)](V['take'](0x1))[_0x351e48(0x221)](_0x16f6b6=>{var _0x2889fc=_0x351e48;this[_0x2889fc(0x136)][_0x2889fc(0x2b2)]('[CollaborationSessionService]',_0x2889fc(0x2aa),_0x16f6b6),this[_0x2889fc(0x216)]();});}}catch(_0x22ce83){this[_0x351e48(0x136)][_0x351e48(0x3d4)](_0x22ce83),this[_0x351e48(0x216)]();}}[_0x4c969f(0x276)](_0x32f38f){var _0x54d780=_0x4c969f;this[_0x54d780(0x136)][_0x54d780(0x2b2)]('[CollaborationSessionService]','socket\x20open.'),_0x32f38f['send']({'cmd':W['HELLO']}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x56ebbe=_0x4c969f;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x56ebbe(0x148)][_0x56ebbe(0x246)](re[_0x56ebbe(0x2a2)]),this[_0x56ebbe(0x178)]['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x247910=_0x4c969f,_0x12188b;this[_0x247910(0x431)](),this[_0x247910(0x269)]<((_0x12188b=this[_0x247910(0x2fe)]['getConfig'](ft))!=null?_0x12188b:jt)?(this[_0x247910(0x462)][_0x247910(0x361)]({'id':Z[_0x247910(0x3ae)]}),this[_0x247910(0x244)]()):this[_0x247910(0x462)][_0x247910(0x361)]({'id':Z['SOCKET_FAILED']});}[_0x4c969f(0x244)](){var _0x7ae96=_0x4c969f,_0x51cf89;const _0x432a9f=this[_0x7ae96(0x269)],_0xf9ccd0=this[_0x7ae96(0x2fe)][_0x7ae96(0x3b6)](G),_0x36c3fe=_0x432a9f===0x0?0x0:((_0x51cf89=_0xf9ccd0==null?void 0x0:_0xf9ccd0['retryConnectingInterval'])!=null?_0x51cf89:$t)*0x2**_0x432a9f;this['_retryConnectingTimer']=setTimeout(()=>{var _0x1a376e=_0x7ae96;clearTimeout(this[_0x1a376e(0x43b)]),this[_0x1a376e(0x43b)]=null,this['_tryEnsureSocket']();},_0x36c3fe),this[_0x7ae96(0x269)]+=0x1;}[_0x4c969f(0x313)](_0x52515c,_0x5aadfa){var _0xff4961=_0x4c969f;const {cmd:_0x42e585}=_0x5aadfa;_0x42e585===W[_0xff4961(0x446)]&&!this[_0xff4961(0x3ed)]&&(_0x52515c[_0xff4961(0x398)]=_0x5aadfa['data'][_0xff4961(0x398)],this[_0xff4961(0x178)][_0xff4961(0x246)](_0x52515c),this[_0xff4961(0x148)]['next'](re['ONLINE']),this[_0xff4961(0x3ed)]=!0x0,this[_0xff4961(0x1c8)]=null),_0x42e585===W[_0xff4961(0x211)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x4c969f(0x152)](){var _0x26bfd8=_0x4c969f,_0x511278;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x26bfd8(0x255)](),(_0x511278=this[_0x26bfd8(0x2fe)][_0x26bfd8(0x3b6)](vt))!=null?_0x511278:Ht);}[_0x4c969f(0x255)](){var _0x314678=_0x4c969f;this[_0x314678(0x1b0)][_0x314678(0x3d1)]({'cmd':W[_0x314678(0x211)]}),this['_waitForHeartbeatResponse']();}[_0x4c969f(0x412)](){var _0xa3ed92=_0x4c969f,_0x1beb6b;this['_timeoutTimer']=setTimeout(()=>this[_0xa3ed92(0x216)](),(_0x1beb6b=this[_0xa3ed92(0x2fe)][_0xa3ed92(0x3b6)](ke))!=null?_0x1beb6b:St);}[_0x4c969f(0x232)](){var _0x7cf5f9=_0x4c969f;this[_0x7cf5f9(0x29e)]!=null&&(clearTimeout(this[_0x7cf5f9(0x29e)]),this[_0x7cf5f9(0x29e)]=null);}[_0x4c969f(0x1a1)](){var _0x547740=_0x4c969f;this[_0x547740(0x435)]!=null&&(clearTimeout(this[_0x547740(0x435)]),this[_0x547740(0x435)]=null);}},exports[_0x4c969f(0x3a6)]=si([he(0x0,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x1cb)])),he(0x1,a[_0x4c969f(0x190)]),he(0x2,a[_0x4c969f(0x160)]),he(0x3,He),he(0x4,a[_0x4c969f(0x3e8)](ee)),he(0x5,a[_0x4c969f(0x275)](mt))],exports[_0x4c969f(0x3a6)]);const q=a['createIdentifier'](_0x4c969f(0x194));function oi(_0x2630f1){var _0x10d9c4=_0x4c969f;return _0x10d9c4(0x15b)+_0x2630f1;}var ai=Object[_0x4c969f(0x3ad)],ci=(_0x3eb4ee,_0x355d69,_0xa24a7e,_0x531f70)=>{var _0x2a3f91=_0x4c969f;for(var _0x358c85=_0x531f70>0x1?void 0x0:_0x531f70?ai(_0x355d69,_0xa24a7e):_0x355d69,_0x24e86b=_0x3eb4ee[_0x2a3f91(0x21b)]-0x1,_0x1de5ec;_0x24e86b>=0x0;_0x24e86b--)(_0x1de5ec=_0x3eb4ee[_0x24e86b])&&(_0x358c85=_0x1de5ec(_0x358c85)||_0x358c85);return _0x358c85;},Ue=(_0x1f3e35,_0x437981)=>(_0x500ff2,_0x41eaa8)=>_0x437981(_0x500ff2,_0x41eaa8,_0x1f3e35);function hi(_0x39d59e){var _0x5091f5=_0x4c969f;const {unitID:_0x551b44,mutations:_0x5dd94d}=_0x39d59e;return{'unitId':_0x551b44,'subUnitId':_0x5dd94d[0x0]['params'][_0x5091f5(0x37d)]};}exports[_0x4c969f(0x309)]=class{constructor(_0x47cb3e,_0xf74569,_0x2fc85b){var _0x121636=_0x4c969f;this[_0x121636(0x256)]=_0x47cb3e,this[_0x121636(0x3e3)]=_0xf74569,this[_0x121636(0x3ce)]=_0x2fc85b;}[_0x4c969f(0x331)](_0x333958){var _0x3e76a8=_0x4c969f,_0x3f6c5a,_0x1fd644,_0x4cbd22,_0x4be0cc;const _0x4269b9=this[_0x3e76a8(0x256)][_0x3e76a8(0x122)](X[_0x3e76a8(0x208)]),{unitId:_0x5f22f8,subUnitId:_0x803935}=hi(_0x333958),_0x1a0f30=_0x4269b9==null?void 0x0:_0x4269b9[_0x3e76a8(0x1ad)](_0x5f22f8)['getCurrentSelections'](),_0x5732d1=(_0x1fd644=(_0x3f6c5a=this[_0x3e76a8(0x3ce)][_0x3e76a8(0x11e)](_0x5f22f8))==null?void 0x0:_0x3f6c5a[_0x3e76a8(0x41a)]())==null?void 0x0:_0x1fd644[_0x3e76a8(0x390)]();if(_0x1a0f30[_0x3e76a8(0x21b)]===0x0||!_0x5f22f8||!_0x803935)return;const _0x4b43e0=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x5f22f8,'subUnitId':_0x5732d1,'selections':a[_0x3e76a8(0x484)]['deepClone'](_0x1a0f30)}}],_0xea884b=this[_0x3e76a8(0x3e3)][_0x3e76a8(0x31b)](_0x333958,_0x4b43e0);if(!p['isTransformMutationsWithChangesetSuccess'](_0xea884b))throw _0xea884b[_0x3e76a8(0x3d4)];const _0x124c90=(_0x4be0cc=(_0x4cbd22=_0xea884b[_0x3e76a8(0x39b)][0x0])==null?void 0x0:_0x4cbd22[_0x3e76a8(0x237)])==null?void 0x0:_0x4be0cc[_0x3e76a8(0x30d)];if(Array[_0x3e76a8(0x2e2)](_0x124c90)&&_0x124c90['length']){if(_0x124c90['length']===_0x4b43e0[0x0][_0x3e76a8(0x237)][_0x3e76a8(0x30d)][_0x3e76a8(0x21b)]&&_0x124c90[_0x3e76a8(0x1d8)]((_0x28ecc2,_0x4499d7)=>a[_0x3e76a8(0x381)][_0x3e76a8(0x461)](_0x28ecc2[_0x3e76a8(0x265)],_0x4b43e0[0x0][_0x3e76a8(0x237)][_0x3e76a8(0x30d)][_0x4499d7]['range'])))return;this[_0x3e76a8(0x256)][_0x3e76a8(0x122)](a[_0x3e76a8(0x3d3)])[_0x3e76a8(0x25a)](X[_0x3e76a8(0x1d3)]['id'],{'unitId':_0x5f22f8,'subUnitId':_0x5732d1,'selections':_0x124c90});}}},exports[_0x4c969f(0x309)]=ci([Ue(0x0,a['Inject'](a['Injector'])),Ue(0x1,p['ITransformService']),Ue(0x2,a['IUniverInstanceService'])],exports[_0x4c969f(0x309)]);const de=a[_0x4c969f(0x1dc)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0x3b6102=>(_0x3b6102[_0x3b6102['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3b6102[_0x3b6102[_0x4c969f(0x3de)]=0x1]=_0x4c969f(0x3de),_0x3b6102))(je||{});const _i=new Set([X[_0x4c969f(0x3d0)]['id']]);function Ge(_0x2a3dc3,_0x28109f,_0x571d89,_0x30b6a4,_0x4f6b05){var _0x3d2a62=_0x4c969f,_0x3e27f1,_0x226da7,_0x3932c3,_0x43102b;const _0xf9a20d=[];for(const _0x3ed5c7 of _0x2a3dc3)if(_i[_0x3d2a62(0x373)](_0x3ed5c7['id'])){if(_0xf9a20d[_0x3d2a62(0x21b)]>0x0)break;_0xf9a20d[_0x3d2a62(0x1ae)](_0x3ed5c7);break;}else _0xf9a20d[_0x3d2a62(0x1ae)](_0x3ed5c7);const _0x55c455=(_0x226da7=(_0x3e27f1=_0x4f6b05[_0x3d2a62(0x301)]())==null?void 0x0:_0x3e27f1[_0x3d2a62(0x3eb)])!=null?_0x226da7:_0x3d2a62(0x349),_0x18c1bb=(_0x43102b=(_0x3932c3=_0x4f6b05[_0x3d2a62(0x301)]())==null?void 0x0:_0x3932c3[_0x3d2a62(0x398)])!=null?_0x43102b:_0x3d2a62(0x349);return{'changeset':{'unitID':_0x28109f,'type':p['mapDocumentTypeToUniverType'](_0x571d89['getUnitType'](_0x28109f)),'baseRev':_0x30b6a4[_0x3d2a62(0x2b1)](_0x28109f),'revision':0x0,'userID':_0x55c455,'memberID':_0x18c1bb,'mutations':_0xf9a20d},'pendingMutations':_0x2a3dc3[_0x3d2a62(0x308)](_0xf9a20d['length'])};}function li(_0x1caf99,_0x5c17e8,_0x3bdf62,_0x40b3fa,_0x2db4f2){var _0x415fe4=_0x4c969f,_0xba9d43,_0x1c52db,_0x4d2576,_0x13f14f;const _0x36c726=[_0x1caf99['reduce']((_0x36e427,_0x10ee08)=>{var _0x1f65be=_0x42d5,_0x4a6448;const {id:_0x3b2a83}=_0x36e427,{id:_0x345da,type:_0x5d4fbb}=_0x10ee08,_0x2fbe56=(_0x4a6448=_0x36e427[_0x1f65be(0x237)])!=null?_0x4a6448:{'actions':null},_0x25f7fd=_0x10ee08['params'];if(_0x3b2a83&&_0x3b2a83!==_0x345da)throw new Error(_0x1f65be(0x22b)+_0x3b2a83+_0x1f65be(0x19a)+_0x345da+'.');return{..._0x36e427,'id':_0x345da,'type':_0x5d4fbb,'params':{'unitId':_0x25f7fd[_0x1f65be(0x2df)],'textRanges':_0x25f7fd[_0x1f65be(0x1d1)],'actions':a[_0x1f65be(0x24f)][_0x1f65be(0x126)](_0x2fbe56[_0x1f65be(0x1ab)],_0x25f7fd['actions'])}};},{})],_0x4f612f=(_0x1c52db=(_0xba9d43=_0x2db4f2[_0x415fe4(0x301)]())==null?void 0x0:_0xba9d43[_0x415fe4(0x3eb)])!=null?_0x1c52db:_0x415fe4(0x349),_0x5913af=(_0x13f14f=(_0x4d2576=_0x2db4f2[_0x415fe4(0x301)]())==null?void 0x0:_0x4d2576[_0x415fe4(0x398)])!=null?_0x13f14f:_0x415fe4(0x349);return{'changeset':{'unitID':_0x5c17e8,'type':p['mapDocumentTypeToUniverType'](_0x3bdf62[_0x415fe4(0x292)](_0x5c17e8)),'baseRev':_0x40b3fa[_0x415fe4(0x2b1)](_0x5c17e8),'revision':0x0,'userID':_0x4f612f,'memberID':_0x5913af,'mutations':_0x36c726},'pendingMutations':[]};}function bt(_0x25af05,_0x281088){var _0x1399c2=_0x4c969f;const _0x1be38c=new $[(_0x1399c2(0x1e7))](0x1);return setTimeout(()=>_0x1be38c['next'](_0x281088),_0x25af05),_0x1be38c['asObservable']()['pipe']($[_0x1399c2(0x3f2)](0x1));}const ui={'id':X[_0x4c969f(0x337)]['id'],'type':a[_0x4c969f(0x123)]['MUTATION'],'params':{}};var di=Object[_0x4c969f(0x3ad)],ae=(_0x353c36,_0x2dbfc7,_0x3fa106,_0x4c720e)=>{for(var _0x94dce6=_0x4c720e>0x1?void 0x0:_0x4c720e?di(_0x2dbfc7,_0x3fa106):_0x2dbfc7,_0x31a381=_0x353c36['length']-0x1,_0x1478e3;_0x31a381>=0x0;_0x31a381--)(_0x1478e3=_0x353c36[_0x31a381])&&(_0x94dce6=_0x1478e3(_0x94dce6)||_0x94dce6);return _0x94dce6;},L=(_0x55f449,_0x44a701)=>(_0x35f4ad,_0x47f0f7)=>_0x44a701(_0x35f4ad,_0x47f0f7,_0x55f449),Be=(_0x17055c=>(_0x17055c['NOT_COLLAB']='not_collab',_0x17055c[_0x4c969f(0x413)]=_0x4c969f(0x3cd),_0x17055c[_0x4c969f(0x47b)]=_0x4c969f(0x2a3),_0x17055c[_0x4c969f(0x379)]=_0x4c969f(0x472),_0x17055c[_0x4c969f(0x3e6)]='awaiting_with_pending',_0x17055c[_0x4c969f(0x10a)]=_0x4c969f(0x210),_0x17055c[_0x4c969f(0x15a)]=_0x4c969f(0x419),_0x17055c[_0x4c969f(0x2a2)]=_0x4c969f(0x3f1),_0x17055c))(Be||{});const Rt=0xea60;class ce{constructor(_0x5f256d,_0xd436e1,_0xd3b18d,_0xf2c85f,_0x3beda3,_0x26f275,_0x2a48d9,_0x22b0e1,_0x52d7b0){var _0xa17a14=_0x4c969f;A(this,_0xa17a14(0x1f9),null),A(this,_0xa17a14(0x278),[]),(this[_0xa17a14(0x2f6)]=_0x5f256d,this[_0xa17a14(0x40b)]=_0xd436e1,this[_0xa17a14(0x3b8)]=_0x3beda3,this[_0xa17a14(0x3aa)]=_0x26f275,this[_0xa17a14(0x1a3)]=_0x2a48d9,this[_0xa17a14(0x27d)]=_0x22b0e1,this['_localCacheService']=_0x52d7b0,this['_awaitingChangeset']=_0xd3b18d,this[_0xa17a14(0x278)]=_0xf2c85f);}['_checkMissing'](_0x3f90c5){var _0x55ad71=_0x4c969f;const _0x3db952=this[_0x55ad71(0x27d)][_0x55ad71(0x2b1)](this['unitID']);return _0x3f90c5[_0x55ad71(0x206)]>_0x3db952+0x1?(this['_handler'][_0x55ad71(0x1af)]({'from':_0x3db952,'to':_0x3f90c5[_0x55ad71(0x206)]-0x1}),!0x0):!0x1;}[_0x4c969f(0x3c4)](_0x510056){var _0x447585=_0x4c969f;this['_undoRedoService']['transformUndoRedo'](this[_0x447585(0x2f6)],_0x510056);}['_transformSelections'](_0x3df8b9){var _0x2a1997=_0x4c969f,_0x4d9c2f,_0x89b696;(_0x89b696=(_0x4d9c2f=this[_0x2a1997(0x3b8)])[_0x2a1997(0x3f4)])==null||_0x89b696[_0x2a1997(0x236)](_0x4d9c2f,_0x3df8b9);}[_0x4c969f(0x161)](_0x455a12){var _0x2e96bc=_0x4c969f,_0x21ec42,_0x104eb2;return(_0x104eb2=(_0x21ec42=this[_0x2e96bc(0x3b8)])[_0x2e96bc(0x1c7)])==null?void 0x0:_0x104eb2[_0x2e96bc(0x236)](_0x21ec42,_0x455a12);}[_0x4c969f(0x1d5)](_0x497931){var _0x4b1227=_0x4c969f,_0x8881ce,_0x581319;return(_0x581319=(_0x8881ce=this[_0x4b1227(0x3b8)])[_0x4b1227(0x1bf)])==null?void 0x0:_0x581319[_0x4b1227(0x236)](_0x8881ce,_0x497931);}[_0x4c969f(0x46f)](_0x229658){var _0x1bb30f=_0x4c969f,_0x325c08,_0x560dae,_0x4ea71d;return(_0x4ea71d=(_0x560dae=(_0x325c08=this[_0x1bb30f(0x3b8)])[_0x1bb30f(0x474)])==null?void 0x0:_0x560dae['call'](_0x325c08,_0x229658))!=null?_0x4ea71d:_0x229658;}[_0x4c969f(0x177)](_0x3c43d5){var _0x3aa29f=_0x4c969f,_0x1cc72a,_0x8c39ef,_0xbe819e;return(_0xbe819e=(_0x8c39ef=(_0x1cc72a=this['_handler'])[_0x3aa29f(0x3b9)])==null?void 0x0:_0x8c39ef[_0x3aa29f(0x236)](_0x1cc72a,_0x3c43d5))!=null?_0xbe819e:_0x3c43d5;}[_0x4c969f(0x230)](_0x183382){var _0x3bf1fd=_0x4c969f,_0x4a9a80,_0x48ecc7;if(this['type']===J[_0x3bf1fd(0x12a)]){const {unitID:_0x3b1339,mutations:_0x20ccec,memberID:_0x3430ae}=_0x183382,_0x1bdc52=_0x20ccec[0x0][_0x3bf1fd(0x237)][_0x3bf1fd(0x1d1)];Array['isArray'](_0x1bdc52)&&_0x1bdc52[_0x3bf1fd(0x21b)]>0x0&&((_0x48ecc7=(_0x4a9a80=this[_0x3bf1fd(0x3b8)])[_0x3bf1fd(0x1f6)])==null||_0x48ecc7[_0x3bf1fd(0x236)](_0x4a9a80,{'unitID':_0x3b1339,'memberID':_0x3430ae,'textRanges':_0x1bdc52}));}}[_0x4c969f(0x10b)](){var _0x28af4e=_0x4c969f,_0x1f9b66;(_0x1f9b66=this[_0x28af4e(0x171)])==null||_0x1f9b66[_0x28af4e(0x424)](this[_0x28af4e(0x2f6)],this['type'],this[_0x28af4e(0x1f9)],this[_0x28af4e(0x278)]);}[_0x4c969f(0x25f)](){var _0x19943f=_0x4c969f;return this[_0x19943f(0x27d)]['getCurrentRevOfUnit'](this[_0x19943f(0x2f6)]);}[_0x4c969f(0x14a)](){var _0x270dd7=_0x4c969f;this[_0x270dd7(0x27d)][_0x270dd7(0x3b0)](this[_0x270dd7(0x2f6)]);}['_executeRemoteChangeset'](_0x318d93){var _0x3eda2c=_0x4c969f,_0x310c69;let _0x1fe743=this[_0x3eda2c(0x46f)](_0x318d93);_0x1fe743=this[_0x3eda2c(0x177)](_0x1fe743);const _0x1a5be9=a['sequenceExecute'](_0x1fe743['mutations'],this[_0x3eda2c(0x3aa)],{'fromCollab':!0x0});if(!_0x1a5be9['result'])throw _0x1a5be9[_0x3eda2c(0x3d4)]instanceof Error?_0x1a5be9[_0x3eda2c(0x3d4)]:new Error((_0x310c69=_0x1a5be9['error'])!=null?_0x310c69:_0x3eda2c(0x1c4));this['_transformIMECache'](_0x1fe743),this[_0x3eda2c(0x1d5)](_0x1fe743),this[_0x3eda2c(0x3c4)](_0x318d93),this[_0x3eda2c(0x1b2)](_0x1fe743),this[_0x3eda2c(0x230)](_0x1fe743),this['_incrementRevisionNumber']();}}exports[_0x4c969f(0x3bd)]=class extends ce{constructor(_0x15b458,_0x52a6d4,_0x4f6536,_0x463374,_0x1fc428,_0x120746,_0x365db7,_0x51791d,_0x531ce9,_0x1c670f){var _0x3268b3=_0x4c969f;super(_0x15b458,_0x52a6d4,null,[],_0x4f6536,_0x365db7,_0x120746,_0x463374,_0x1c670f),A(this,_0x3268b3(0x42c),'synced'),(this['_injector']=_0x1fc428,this[_0x3268b3(0x136)]=_0x51791d,this[_0x3268b3(0x3e3)]=_0x531ce9,this[_0x3268b3(0x3c5)]=_0x1c670f);}[_0x4c969f(0x27a)](_0x1ddcbe){var _0x492613=_0x4c969f;const _0x37ae5e=this[_0x492613(0x256)]['createInstance'](exports[_0x492613(0x1e5)],this[_0x492613(0x2f6)],this['type'],[_0x1ddcbe],this[_0x492613(0x3b8)]);return _0x37ae5e[_0x492613(0x415)](),_0x37ae5e[_0x492613(0x10b)](),_0x37ae5e;}[_0x4c969f(0x1a6)](_0x12df3d){var _0x80ff2d=_0x4c969f;if(this[_0x80ff2d(0x38c)](_0x12df3d))return this[_0x80ff2d(0x256)][_0x80ff2d(0x36c)](exports[_0x80ff2d(0x1e8)],this[_0x80ff2d(0x2f6)],this['type'],null,[],null,[_0x12df3d],this[_0x80ff2d(0x3b8)]);try{const _0x38fb9d=this[_0x80ff2d(0x3e3)][_0x80ff2d(0x31b)](_0x12df3d,[ui]);if(p[_0x80ff2d(0x163)](_0x38fb9d)){const {c1Prime:_0x143fbe}=_0x38fb9d;return this[_0x80ff2d(0x38e)](_0x143fbe),this;}throw _0x38fb9d[_0x80ff2d(0x3d4)];}catch(_0x2826d3){return this[_0x80ff2d(0x136)][_0x80ff2d(0x3d4)](_0x2826d3),this[_0x80ff2d(0x470)](!0x1);}}[_0x4c969f(0x470)](_0x61d53a){var _0x55957b=_0x4c969f;return this[_0x55957b(0x256)][_0x55957b(0x36c)](exports['ConflictState'],this['unitID'],this[_0x55957b(0x40b)],null,[],this['_handler'],_0x61d53a);}[_0x4c969f(0x30c)](){var _0x35ab2d=_0x4c969f;throw new Error(_0x35ab2d(0x38b));}[_0x4c969f(0x173)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4c969f(0x344)](){return this;}['toggleOffline'](){var _0xeaea35=_0x4c969f;return this[_0xeaea35(0x256)]['createInstance'](exports[_0xeaea35(0x421)],this['unitID'],this[_0xeaea35(0x40b)],null,[],this[_0xeaea35(0x3b8)]);}[_0x4c969f(0x3ba)](){return this;}[_0x4c969f(0x138)](){var _0x100119=_0x4c969f;throw new Error(_0x100119(0x39f));}[_0x4c969f(0x18e)](){var _0x2e2708=_0x4c969f;const _0x5878e3=this[_0x2e2708(0x27d)][_0x2e2708(0x2b1)](this[_0x2e2708(0x2f6)]);return this[_0x2e2708(0x3b8)][_0x2e2708(0x1af)]({'from':_0x5878e3,'to':0x0}),this[_0x2e2708(0x256)]['createInstance'](exports[_0x2e2708(0x1e8)],this[_0x2e2708(0x2f6)],this['type'],null,[],null,[],this['_handler']);}},exports['SyncedState']=ae([L(0x3,a['Inject'](p[_0x4c969f(0x2e8)])),L(0x4,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x1cb)])),L(0x5,a[_0x4c969f(0x13c)]),L(0x6,a[_0x4c969f(0x3d3)]),L(0x7,a['ILogService']),L(0x8,p[_0x4c969f(0x36a)]),L(0x9,a[_0x4c969f(0x275)](q))],exports[_0x4c969f(0x3bd)]),exports['PendingState']=class extends ce{constructor(_0x39cab9,_0x3d1c97,_0x22bd60,_0x27a2a1,_0x5aea8b,_0xa7f460,_0x630556,_0x355162,_0x4578bf,_0x1cce7c,_0x4959b0,_0x143a2c,_0x147b49,_0x4260b1){var _0x20bdb0=_0x4c969f;super(_0x39cab9,_0x3d1c97,null,_0x22bd60,_0x27a2a1,_0x4578bf,_0x147b49,_0xa7f460,_0x4260b1),A(this,_0x20bdb0(0x42c),_0x20bdb0(0x2a3)),A(this,_0x20bdb0(0x27b),null),A(this,_0x20bdb0(0x2cc),null),(this[_0x20bdb0(0x256)]=_0x5aea8b,this[_0x20bdb0(0x172)]=_0x630556,this['_logService']=_0x355162,this['_configService']=_0x1cce7c,this[_0x20bdb0(0x3e3)]=_0x4959b0,this[_0x20bdb0(0x3fe)]=_0x143a2c);}[_0x4c969f(0x27a)](_0xf195c2){var _0x44f1ab=_0x4c969f;return this[_0x44f1ab(0x278)][_0x44f1ab(0x1ae)](_0xf195c2),this['_updateLocalCache'](),this;}[_0x4c969f(0x1a6)](_0x122921){var _0x319514=_0x4c969f;if(this[_0x319514(0x38c)](_0x122921))return this[_0x319514(0x2ab)](),this[_0x319514(0x256)][_0x319514(0x36c)](exports[_0x319514(0x1e8)],this[_0x319514(0x2f6)],this[_0x319514(0x40b)],null,this[_0x319514(0x278)],null,[_0x122921],this[_0x319514(0x3b8)]);try{const _0x37854b=this[_0x319514(0x3e3)][_0x319514(0x31b)](_0x122921,this[_0x319514(0x278)]);if(p[_0x319514(0x163)](_0x37854b)){const {c1Prime:_0x347fdb,m2Prime:_0x5ec09d}=_0x37854b;this['_executeRemoteChangeset'](_0x347fdb);const _0x1e89b4=this['_injector'][_0x319514(0x36c)](exports[_0x319514(0x1e5)],this[_0x319514(0x2f6)],this['type'],_0x5ec09d,this[_0x319514(0x3b8)]);this['_clearScheduledTask']();const _0x63cab0=new Date()['getTime'](),_0x3c45aa=this[_0x319514(0x27b)]?Math[_0x319514(0x134)](this['_scheduleCompleteTimestamp']-_0x63cab0,0x0):this['_getSendChangesetTimeout']();return _0x1e89b4[_0x319514(0x415)](_0x3c45aa),_0x1e89b4;}throw _0x37854b[_0x319514(0x3d4)];}catch(_0x2cee29){return this[_0x319514(0x136)]['error'](_0x2cee29),this[_0x319514(0x470)](!0x1);}}[_0x4c969f(0x30c)](){var _0x290c13=_0x4c969f;throw new Error(_0x290c13(0x3cc));}[_0x4c969f(0x173)](){var _0xfe1a1a=_0x4c969f;throw new Error(_0xfe1a1a(0x303));}[_0x4c969f(0x344)](){return this;}[_0x4c969f(0x478)](){var _0x4d0164=_0x4c969f;return this[_0x4d0164(0x2ab)](),this[_0x4d0164(0x256)][_0x4d0164(0x36c)](exports[_0x4d0164(0x421)],this[_0x4d0164(0x2f6)],this[_0x4d0164(0x40b)],null,this[_0x4d0164(0x278)],this[_0x4d0164(0x3b8)]);}[_0x4c969f(0x3ba)](){return this;}[_0x4c969f(0x415)](_0x50274c){var _0x4e5518=_0x4c969f;const _0x3d2e0a=_0x50274c!=null?_0x50274c:this[_0x4e5518(0x348)]();this[_0x4e5518(0x27b)]=new Date()[_0x4e5518(0x40c)]()+_0x3d2e0a,this[_0x4e5518(0x2cc)]=setTimeout(()=>{var _0x202b49=_0x4e5518;this[_0x202b49(0x2ab)]();let _0x38f79c=null;switch(this['type']){case J['UNIVER_SHEET']:{_0x38f79c=Ge(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x202b49(0x27d)],this[_0x202b49(0x172)]);break;}case J[_0x202b49(0x12a)]:{this[_0x202b49(0x278)][_0x202b49(0x1d8)](_0x417430=>_0x417430['id']===ht[_0x202b49(0x283)]['id'])?_0x38f79c=li(this[_0x202b49(0x278)],this[_0x202b49(0x2f6)],this[_0x202b49(0x3fe)],this[_0x202b49(0x27d)],this[_0x202b49(0x172)]):_0x38f79c=Ge(this[_0x202b49(0x278)],this[_0x202b49(0x2f6)],this[_0x202b49(0x3fe)],this[_0x202b49(0x27d)],this['_memberService']);break;}default:throw new Error(_0x202b49(0x281)+this[_0x202b49(0x40b)]+_0x202b49(0x23f));}const {changeset:_0x2b2a18,pendingMutations:_0xc875af}=_0x38f79c;this[_0x202b49(0x3b8)][_0x202b49(0x3ee)](_0x2b2a18);const _0x5bed37=_0xc875af['length']?this[_0x202b49(0x256)]['createInstance'](exports[_0x202b49(0x40a)],this[_0x202b49(0x2f6)],this[_0x202b49(0x40b)],_0x2b2a18,_0xc875af,this['_handler'],void 0x0):this[_0x202b49(0x256)][_0x202b49(0x36c)](exports[_0x202b49(0x2f5)],this[_0x202b49(0x2f6)],this[_0x202b49(0x40b)],_0x2b2a18,this['_handler']);_0x5bed37[_0x202b49(0x10b)](),this[_0x202b49(0x3b8)]['onStateChange'](this,_0x5bed37);},_0x3d2e0a);}[_0x4c969f(0x348)](){var _0xad1afd=_0x4c969f,_0x5bc9a3;const _0x14f6a0=this[_0xad1afd(0x2fe)][_0xad1afd(0x3b6)](G);return(_0x5bc9a3=_0x14f6a0==null?void 0x0:_0x14f6a0[_0xad1afd(0x1cf)])!=null?_0x5bc9a3:xt;}[_0x4c969f(0x138)](){var _0x641df4=_0x4c969f;throw new Error(_0x641df4(0x2fa));}['_clearScheduledTask'](){var _0x2f61d8=_0x4c969f;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2f61d8(0x2cc)]),this[_0x2f61d8(0x2cc)]=null);}[_0x4c969f(0x470)](_0xeeee03){var _0x52924f=_0x4c969f;return this[_0x52924f(0x2ab)](),this[_0x52924f(0x256)][_0x52924f(0x36c)](exports[_0x52924f(0x280)],this['unitID'],this[_0x52924f(0x40b)],null,this['_pendingMutations'],this['_handler'],_0xeeee03);}},exports[_0x4c969f(0x1e5)]=ae([L(0x4,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x1cb)])),L(0x5,a['Inject'](p[_0x4c969f(0x2e8)])),L(0x6,a[_0x4c969f(0x3e8)](exports[_0x4c969f(0x1a8)])),L(0x7,a[_0x4c969f(0x190)]),L(0x8,a['ICommandService']),L(0x9,a['IConfigService']),L(0xa,p[_0x4c969f(0x36a)]),L(0xb,a[_0x4c969f(0x443)]),L(0xc,a[_0x4c969f(0x13c)]),L(0xd,a[_0x4c969f(0x275)](q))],exports['PendingState']),exports['AwaitingState']=class extends ce{constructor(_0x799420,_0x3956f5,_0x5a6328,_0xe7544,_0x2a5746,_0x8bc3dd,_0x31f595,_0x17822f,_0x111032,_0x11c4ac,_0x2062f3){var _0x519eb3=_0x4c969f;super(_0x799420,_0x3956f5,_0x5a6328,[],_0xe7544,_0x31f595,_0x11c4ac,_0x8bc3dd,_0x2062f3),A(this,_0x519eb3(0x42c),_0x519eb3(0x472)),A(this,_0x519eb3(0x34b),0x0),A(this,'_resendTimer'),A(this,_0x519eb3(0x40d)),(this[_0x519eb3(0x256)]=_0x2a5746,this[_0x519eb3(0x136)]=_0x17822f,this['_transformService']=_0x111032);}[_0x4c969f(0x27a)](_0x243b05){var _0x1f8b08=_0x4c969f;this[_0x1f8b08(0x2ab)]();const _0x7a0c0d=this[_0x1f8b08(0x256)][_0x1f8b08(0x36c)](exports[_0x1f8b08(0x40a)],this['unitID'],this['type'],this[_0x1f8b08(0x1f9)],[_0x243b05],this[_0x1f8b08(0x3b8)],this[_0x1f8b08(0x13d)]);return _0x7a0c0d[_0x1f8b08(0x10b)](),_0x7a0c0d;}['onRemoteChangeset'](_0x42b6f4){var _0x54fa08=_0x4c969f;if(this[_0x54fa08(0x38c)](_0x42b6f4))return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x54fa08(0x1e8)],this['unitID'],this[_0x54fa08(0x40b)],this[_0x54fa08(0x1f9)],[],null,[_0x42b6f4],this[_0x54fa08(0x3b8)]);try{const _0x5a634f=this[_0x54fa08(0x3e3)][_0x54fa08(0x384)]([_0x42b6f4],[this[_0x54fa08(0x1f9)]],!0x1);if(p[_0x54fa08(0x364)](_0x5a634f)){const {c1Prime:_0x177d0c,c2Prime:_0x495ceb}=_0x5a634f;this[_0x54fa08(0x38e)](_0x177d0c[0x0]),_0x495ceb[0x0][_0x54fa08(0x357)]=this[_0x54fa08(0x25f)](),this[_0x54fa08(0x2ab)]();const _0x51ce60=this[_0x54fa08(0x256)][_0x54fa08(0x36c)](exports[_0x54fa08(0x2f5)],this['unitID'],this[_0x54fa08(0x40b)],_0x495ceb[0x0],this[_0x54fa08(0x3b8)]);return _0x51ce60[_0x54fa08(0x10b)](),_0x51ce60;}return this[_0x54fa08(0x470)](!0x1);}catch(_0x386610){return this[_0x54fa08(0x136)][_0x54fa08(0x3d4)](_0x386610),this[_0x54fa08(0x470)](!0x1);}}['onRemoteAck'](_0x35349a){var _0x304902=_0x4c969f;this[_0x304902(0x2ab)]();const _0x1f4b2c=this['_revisionService'][_0x304902(0x2b1)](this[_0x304902(0x2f6)]);if(_0x35349a[_0x304902(0x206)]<_0x1f4b2c-0x1)return this;if(this[_0x304902(0x38c)](_0x35349a))return this[_0x304902(0x256)][_0x304902(0x36c)](exports[_0x304902(0x1e8)],this[_0x304902(0x2f6)],this[_0x304902(0x40b)],null,[],this[_0x304902(0x1f9)],[],this[_0x304902(0x3b8)]);this[_0x304902(0x14a)]();const _0x3af0df=this['_injector'][_0x304902(0x36c)](exports[_0x304902(0x3bd)],this[_0x304902(0x2f6)],this[_0x304902(0x40b)],this['_handler']);return _0x3af0df[_0x304902(0x10b)](),_0x3af0df;}[_0x4c969f(0x173)](_0x5449b5){return this['_onConflict'](!!(_0x5449b5!=null&&_0x5449b5['isPermissionRej']));}['onRemoteRetry'](_0x38ab62){var _0x563464=_0x4c969f;return this[_0x563464(0x34b)]>Rt?this[_0x563464(0x478)]():(this['_resendTimer']=bt(this[_0x563464(0x34b)],{'timeout':this[_0x563464(0x34b)],'reqId':_0x38ab62['reqId']}),this['_sender']=this[_0x563464(0x13d)][_0x563464(0x221)](({reqId:_0x3dcf0c,timeout:_0x23f8d9})=>{var _0x3370b2=_0x563464;this[_0x3370b2(0x22f)](_0x3dcf0c,_0x23f8d9);}),this);}['toggleOffline'](){var _0x495681=_0x4c969f;return this['_clearScheduledTask'](),this[_0x495681(0x256)]['createInstance'](exports[_0x495681(0x421)],this[_0x495681(0x2f6)],this[_0x495681(0x40b)],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x4c969f(0x138)](){var _0x263a23=_0x4c969f;this['_handler'][_0x263a23(0x3ee)](this[_0x263a23(0x1f9)]);}[_0x4c969f(0x470)](_0xe924c1){var _0x5b3473=_0x4c969f;return this[_0x5b3473(0x2ab)](),this[_0x5b3473(0x256)][_0x5b3473(0x36c)](exports['ConflictState'],this['unitID'],this[_0x5b3473(0x40b)],this[_0x5b3473(0x1f9)],[],this[_0x5b3473(0x3b8)],_0xe924c1);}[_0x4c969f(0x22f)](_0x400816,_0x1ba192){var _0x46f2b5=_0x4c969f,_0x406f65;_0x400816===((_0x406f65=this[_0x46f2b5(0x1f9)])==null?void 0x0:_0x406f65[_0x46f2b5(0x2cd)])&&(this[_0x46f2b5(0x138)](),this[_0x46f2b5(0x34b)]=_0x1ba192===0x0?0x3e8:_0x1ba192*0x2);}[_0x4c969f(0x2ab)](){var _0x57ec73=_0x4c969f,_0x1340fb;(_0x1340fb=this[_0x57ec73(0x40d)])==null||_0x1340fb[_0x57ec73(0x321)](),this[_0x57ec73(0x34b)]=0x0;}},exports['AwaitingState']=ae([L(0x4,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x1cb)])),L(0x5,a['Inject'](p[_0x4c969f(0x2e8)])),L(0x6,a[_0x4c969f(0x3d3)]),L(0x7,a[_0x4c969f(0x190)]),L(0x8,p['ITransformService']),L(0x9,a[_0x4c969f(0x13c)]),L(0xa,a[_0x4c969f(0x275)](q))],exports[_0x4c969f(0x2f5)]),exports[_0x4c969f(0x40a)]=class extends ce{constructor(_0x3b6418,_0x1cbd68,_0x301c9d,_0x5c00ce,_0x4d385f,_0x46aa88,_0x168e75,_0x513a05,_0x141b3b,_0x2846f3,_0x1a43d3,_0x1b498e,_0x2be64d){var _0x5be34c=_0x4c969f;super(_0x3b6418,_0x1cbd68,_0x301c9d,_0x5c00ce,_0x4d385f,_0x141b3b,_0x1b498e,_0x513a05,_0x2be64d),A(this,_0x5be34c(0x42c),_0x5be34c(0x102)),A(this,_0x5be34c(0x34b),0x0),A(this,_0x5be34c(0x13d)),A(this,_0x5be34c(0x40d)),(this['_injector']=_0x168e75,this[_0x5be34c(0x136)]=_0x2846f3,this[_0x5be34c(0x3e3)]=_0x1a43d3,this['localCacheService']=_0x2be64d,_0x46aa88&&(this[_0x5be34c(0x13d)]=_0x46aa88,this[_0x5be34c(0x40d)]=this['_resendTimer'][_0x5be34c(0x221)](({reqId:_0x54ac0a,timeout:_0x34bb43})=>{var _0x17c1a9=_0x5be34c;this[_0x17c1a9(0x22f)](_0x54ac0a,_0x34bb43);})));}[_0x4c969f(0x27a)](_0x298a0d){var _0x436ffd=_0x4c969f;return this[_0x436ffd(0x278)]['push'](_0x298a0d),this;}[_0x4c969f(0x1a6)](_0x26e3f3){var _0x102963=_0x4c969f;if(this['_checkMissing'](_0x26e3f3))return this['_clearScheduledTask'](),this[_0x102963(0x256)]['createInstance'](exports[_0x102963(0x1e8)],this['unitID'],this[_0x102963(0x40b)],this[_0x102963(0x1f9)],this['_pendingMutations'],null,[_0x26e3f3],this['_handler']);try{const _0x407411=this['_transformService']['transformChangesets']([_0x26e3f3],[this[_0x102963(0x1f9)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x407411)){const {c1Prime:_0x3d61d7,c2Prime:_0x31c4f2}=_0x407411,_0x459f09=this[_0x102963(0x3e3)][_0x102963(0x31b)](_0x3d61d7[0x0],this[_0x102963(0x278)]);if(p[_0x102963(0x163)](_0x459f09)){const {c1Prime:_0x18c525,m2Prime:_0x16eaa0}=_0x459f09;return this['_executeRemoteChangeset'](_0x18c525),_0x31c4f2[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x102963(0x2ab)](),this[_0x102963(0x256)][_0x102963(0x36c)](exports[_0x102963(0x40a)],this[_0x102963(0x2f6)],this[_0x102963(0x40b)],_0x31c4f2[0x0],_0x16eaa0,this[_0x102963(0x3b8)],void 0x0);}throw _0x459f09[_0x102963(0x3d4)];}throw _0x407411[_0x102963(0x3d4)];}catch(_0x3a65bc){return this[_0x102963(0x136)][_0x102963(0x3d4)](_0x3a65bc),this[_0x102963(0x470)](!0x1);}}[_0x4c969f(0x30c)](_0x1a2eaa){var _0x5bd8ac=_0x4c969f;if(this['_clearScheduledTask'](),this[_0x5bd8ac(0x38c)](_0x1a2eaa))return this[_0x5bd8ac(0x256)][_0x5bd8ac(0x36c)](exports[_0x5bd8ac(0x1e8)],this[_0x5bd8ac(0x2f6)],this[_0x5bd8ac(0x40b)],null,this[_0x5bd8ac(0x278)],this[_0x5bd8ac(0x1f9)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x1e3f86=this[_0x5bd8ac(0x256)][_0x5bd8ac(0x36c)](exports[_0x5bd8ac(0x1e5)],this[_0x5bd8ac(0x2f6)],this['type'],this[_0x5bd8ac(0x278)],this[_0x5bd8ac(0x3b8)]);return _0x1e3f86[_0x5bd8ac(0x415)](),_0x1e3f86[_0x5bd8ac(0x10b)](),_0x1e3f86;}[_0x4c969f(0x173)](_0x179098){var _0x1c270c=_0x4c969f;return this[_0x1c270c(0x470)](!!(_0x179098!=null&&_0x179098[_0x1c270c(0x1fe)]));}[_0x4c969f(0x344)](_0x16dc10){var _0x26942c=_0x4c969f;return this['_resendTimeout']>Rt?this[_0x26942c(0x478)]():(this['_resendTimer']=bt(this[_0x26942c(0x34b)],{'timeout':this[_0x26942c(0x34b)],'reqId':_0x16dc10[_0x26942c(0x2cd)]}),this[_0x26942c(0x40d)]=this[_0x26942c(0x13d)][_0x26942c(0x221)](({reqId:_0xd347a1,timeout:_0x7dd7de})=>{this['_resendWithTimeout'](_0xd347a1,_0x7dd7de);}),this);}[_0x4c969f(0x478)](){var _0x507c57=_0x4c969f;return this[_0x507c57(0x2ab)](),this[_0x507c57(0x256)][_0x507c57(0x36c)](exports[_0x507c57(0x421)],this['unitID'],this[_0x507c57(0x40b)],this[_0x507c57(0x1f9)],this[_0x507c57(0x278)],this['_handler']);}['toggleOnline'](){return this;}[_0x4c969f(0x138)](){var _0x4e3407=_0x4c969f;this[_0x4e3407(0x3b8)][_0x4e3407(0x3ee)](this[_0x4e3407(0x1f9)]);}[_0x4c969f(0x470)](_0x2e50a4){var _0x536871=_0x4c969f;return this[_0x536871(0x2ab)](),this[_0x536871(0x256)]['createInstance'](exports['ConflictState'],this[_0x536871(0x2f6)],this[_0x536871(0x40b)],null,this[_0x536871(0x278)],this['_handler'],_0x2e50a4);}['_resendWithTimeout'](_0x5218fc,_0x5f2b90){var _0x39cb77=_0x4c969f,_0x51da82;_0x5218fc===((_0x51da82=this['_awaitingChangeset'])==null?void 0x0:_0x51da82['reqId'])&&(this[_0x39cb77(0x138)](),this[_0x39cb77(0x34b)]=_0x5f2b90===0x0?0x3e8:_0x5f2b90*0x2);}[_0x4c969f(0x2ab)](){var _0x2e2f0c=_0x4c969f,_0x5b0da2;(_0x5b0da2=this[_0x2e2f0c(0x40d)])==null||_0x5b0da2[_0x2e2f0c(0x321)](),this[_0x2e2f0c(0x34b)]=0x0;}},exports[_0x4c969f(0x40a)]=ae([L(0x6,a['Inject'](a[_0x4c969f(0x1cb)])),L(0x7,a[_0x4c969f(0x3e8)](p[_0x4c969f(0x2e8)])),L(0x8,a[_0x4c969f(0x3d3)]),L(0x9,a['ILogService']),L(0xa,p[_0x4c969f(0x36a)]),L(0xb,a[_0x4c969f(0x13c)]),L(0xc,a[_0x4c969f(0x275)](q))],exports[_0x4c969f(0x40a)]),exports['ConflictState']=class extends ce{constructor(_0x5ca140,_0xa57333,_0x3c2450,_0x21b5c0,_0x433c72,_0x36cd83=!0x1,_0x1b2760,_0x1af0e7,_0x32653f,_0xa579bd,_0x37c773,_0x7bd466,_0x26b979){var _0x1541bb=_0x4c969f;super(_0x5ca140,_0xa57333,_0x3c2450,_0x21b5c0,_0x433c72,_0x1af0e7,_0x32653f,_0xa579bd,_0x26b979),A(this,_0x1541bb(0x42c),_0x1541bb(0x419)),(this[_0x1541bb(0x1ff)]=_0x36cd83,this[_0x1541bb(0x147)]=_0x1b2760,this['_localeService']=_0x37c773,this[_0x1541bb(0x462)]=_0x7bd466,this[_0x1541bb(0x3c5)]=_0x26b979,this[_0x1541bb(0x311)](),this[_0x1541bb(0x45b)](),this[_0x1541bb(0x33f)]());}[_0x4c969f(0x27a)](){return this;}[_0x4c969f(0x1a6)](){return this;}[_0x4c969f(0x30c)](){return this;}[_0x4c969f(0x173)](){return this;}[_0x4c969f(0x344)](){return this;}[_0x4c969f(0x478)](){return this;}[_0x4c969f(0x3ba)](){return this;}[_0x4c969f(0x138)](){var _0x58c67e=_0x4c969f;throw new Error(_0x58c67e(0x3b5));}[_0x4c969f(0x45b)](){var _0xa86067=_0x4c969f,_0x461611;(_0x461611=this['_localCacheService'])==null||_0x461611[_0xa86067(0x424)](this[_0xa86067(0x2f6)],this['type'],null,[]);}[_0x4c969f(0x311)](){var _0x3dbeae=_0x4c969f;this['_isPermissionRej']?this[_0x3dbeae(0x462)][_0x3dbeae(0x361)]({'id':Z[_0x3dbeae(0x1c2)]}):this[_0x3dbeae(0x462)]['emitEvent']({'id':Z[_0x3dbeae(0x15a)]});}['_disableEditing'](){var _0x484bf2=_0x4c969f;this[_0x484bf2(0x147)][_0x484bf2(0x475)](new X['WorkbookEditablePermission'](this[_0x484bf2(0x2f6)])['id'],!0x1);}},exports['ConflictState']=ae([L(0x6,a[_0x4c969f(0x3e8)](a['IPermissionService'])),L(0x7,a[_0x4c969f(0x3d3)]),L(0x8,a[_0x4c969f(0x13c)]),L(0x9,a['Inject'](p[_0x4c969f(0x2e8)])),L(0xa,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x293)])),L(0xb,a[_0x4c969f(0x3e8)](ee)),L(0xc,a[_0x4c969f(0x275)](q))],exports['ConflictState']),exports[_0x4c969f(0x421)]=class extends ce{constructor(_0x52df16,_0x2b195b,_0x49e9de,_0x207abd,_0xaa3981,_0x11bc38,_0x4c89d1,_0x4f07ee,_0x47169c,_0x475d65){var _0x487a61=_0x4c969f;super(_0x52df16,_0x2b195b,_0x49e9de,_0x207abd,_0xaa3981,_0x4f07ee,_0x47169c,_0x4c89d1,_0x475d65),A(this,_0x487a61(0x42c),'offline'),this['_injector']=_0x11bc38;}['appendMutation'](_0x4be8a3){var _0x5665d0=_0x4c969f;return this[_0x5665d0(0x278)][_0x5665d0(0x1ae)](_0x4be8a3),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x257cd4){var _0x48fc6e=_0x4c969f;throw new Error(_0x48fc6e(0x162));}[_0x4c969f(0x30c)](){var _0x3535fc=_0x4c969f;throw new Error(_0x3535fc(0x169));}[_0x4c969f(0x173)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x4c969f(0x478)](){return this;}['toggleOnline'](){var _0x5954f9=_0x4c969f;const {_injector:_0x13bef6,_pendingMutations:_0x15fcda,_awaitingChangeset:_0x8218c5,unitID:_0x5ac0a1,_handler:_0x5bc2c4,type:_0x254bbc}=this,_0x49230a=Ot(_0x13bef6,_0x5ac0a1,_0x254bbc,_0x8218c5,_0x15fcda,_0x5bc2c4);return _0x49230a instanceof exports[_0x5954f9(0x1e5)]?_0x49230a[_0x5954f9(0x415)]():(_0x49230a instanceof exports[_0x5954f9(0x40a)]||_0x49230a instanceof exports[_0x5954f9(0x2f5)])&&_0x49230a[_0x5954f9(0x138)](),_0x49230a;}[_0x4c969f(0x138)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x4c969f(0x421)]=ae([L(0x5,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x1cb)])),L(0x6,a['Inject'](p[_0x4c969f(0x2e8)])),L(0x7,a['ICommandService']),L(0x8,a[_0x4c969f(0x13c)]),L(0x9,a[_0x4c969f(0x275)](q))],exports[_0x4c969f(0x421)]),exports['FetchingMissState']=class extends ce{constructor(_0x3222e9,_0x5ad888,_0x1c9036,_0x416d28,_0x18e811,_0x152707,_0x459fd1,_0x4954a7,_0x594e1c,_0x226a9a,_0x534adb,_0x2847ef,_0x6a04fc,_0x5566cc){var _0x50fc46=_0x4c969f;super(_0x3222e9,_0x5ad888,_0x1c9036,_0x416d28,_0x459fd1,_0x534adb,_0x2847ef,_0x594e1c,_0x5566cc),A(this,_0x50fc46(0x42c),_0x50fc46(0x210)),(this[_0x50fc46(0x2d4)]=_0x18e811,this[_0x50fc46(0x433)]=_0x152707,this[_0x50fc46(0x256)]=_0x4954a7,this[_0x50fc46(0x136)]=_0x226a9a,this[_0x50fc46(0x3e3)]=_0x6a04fc,this[_0x50fc46(0x3c5)]=_0x5566cc);}[_0x4c969f(0x111)](_0x1b28ed){var _0x325906=_0x4c969f;try{const _0x1ec3d3=[..._0x1b28ed,...this[_0x325906(0x433)]],_0x30cd43=[this[_0x325906(0x1f9)]||this[_0x325906(0x2d4)]][_0x325906(0x182)](_0x40013a=>!!_0x40013a);let _0x4cf359,_0x45b203;if(_0x30cd43[_0x325906(0x21b)]){const _0x52f742=this['_transformService'][_0x325906(0x384)](_0x1ec3d3,_0x30cd43,!0x1);if(!p[_0x325906(0x364)](_0x52f742))throw _0x52f742['error'];_0x4cf359=_0x52f742[_0x325906(0x2a7)],_0x45b203=_0x52f742[_0x325906(0x1f2)];}else _0x4cf359=_0x1ec3d3,_0x45b203=[];let _0x5e6ed0=this[_0x325906(0x278)];_0x4cf359['forEach'](_0x5602cd=>{var _0x3afba0=_0x325906;let _0x5da8d2;if(_0x5e6ed0[_0x3afba0(0x21b)]){const _0x4fe99b=this[_0x3afba0(0x3e3)][_0x3afba0(0x31b)](_0x5602cd,_0x5e6ed0);if(!p[_0x3afba0(0x163)](_0x4fe99b))throw _0x4fe99b[_0x3afba0(0x3d4)];_0x5da8d2=_0x4fe99b['c1Prime'],_0x5e6ed0=_0x4fe99b['m2Prime'];}else _0x5da8d2=_0x5602cd;this[_0x3afba0(0x38e)](_0x5da8d2);}),this[_0x325906(0x2d4)]&&this['_incrementRevisionNumber'](),this[_0x325906(0x1f9)]&&_0x45b203[_0x325906(0x21b)]&&(_0x45b203[0x0]['baseRev']=this[_0x325906(0x25f)]());let _0xd8a7c3;if(this[_0x325906(0x1f9)]&&_0x5e6ed0['length']!==0x0)_0xd8a7c3=this[_0x325906(0x256)][_0x325906(0x36c)](exports[_0x325906(0x40a)],this[_0x325906(0x2f6)],this[_0x325906(0x40b)],_0x45b203[0x0],_0x5e6ed0,this[_0x325906(0x3b8)],void 0x0);else{if(this['_awaitingChangeset']&&_0x5e6ed0['length']===0x0)_0x45b203[0x0]['baseRev']=this['_getCurrentRevision'](),_0xd8a7c3=this['_injector'][_0x325906(0x36c)](exports[_0x325906(0x2f5)],this['unitID'],this[_0x325906(0x40b)],_0x45b203[0x0],this['_handler']);else{if(_0x5e6ed0['length']!==0x0){const _0xf5c834=this[_0x325906(0x256)][_0x325906(0x36c)](exports['PendingState'],this[_0x325906(0x2f6)],this[_0x325906(0x40b)],_0x5e6ed0,this[_0x325906(0x3b8)]);_0xf5c834[_0x325906(0x415)](),_0xd8a7c3=_0xf5c834;}else _0xd8a7c3=this[_0x325906(0x256)][_0x325906(0x36c)](exports[_0x325906(0x3bd)],this['unitID'],this['type'],this['_handler']);}}return _0xd8a7c3[_0x325906(0x10b)](),_0xd8a7c3;}catch(_0x55cd37){return this[_0x325906(0x136)][_0x325906(0x3d4)](_0x325906(0x277),_0x325906(0x15e),_0x55cd37),this[_0x325906(0x256)]['createInstance'](exports[_0x325906(0x280)],this['unitID'],this[_0x325906(0x40b)],this[_0x325906(0x1f9)],this[_0x325906(0x278)],this[_0x325906(0x3b8)],!0x1);}}['resend'](){var _0x9531de=_0x4c969f;throw new Error(_0x9531de(0x3f3));}[_0x4c969f(0x27a)](_0x26f451){var _0x2a7f9b=_0x4c969f;return this[_0x2a7f9b(0x278)][_0x2a7f9b(0x1ae)](_0x26f451),this;}[_0x4c969f(0x1a6)](_0x2de597){var _0x4b1d72=_0x4c969f;return this[_0x4b1d72(0x433)][_0x4b1d72(0x1ae)](_0x2de597),this;}['onRemoteAck'](_0x1cc61d){var _0xdd82ad=_0x4c969f;if(this[_0xdd82ad(0x1f9)])return this[_0xdd82ad(0x2d4)]=this[_0xdd82ad(0x1f9)],this['_awaitingChangeset']=null,this;throw new Error(_0xdd82ad(0x22c));}[_0x4c969f(0x173)](_0x1d38b4){var _0x39ef9c=_0x4c969f;return this[_0x39ef9c(0x470)](!!(_0x1d38b4!=null&&_0x1d38b4[_0x39ef9c(0x1fe)]));}[_0x4c969f(0x344)](){return this;}[_0x4c969f(0x478)](){var _0x261b0a=_0x4c969f;return this[_0x261b0a(0x256)]['createInstance'](exports['OfflineState'],this[_0x261b0a(0x2f6)],this[_0x261b0a(0x40b)],this[_0x261b0a(0x1f9)],this[_0x261b0a(0x278)],this[_0x261b0a(0x3b8)]);}[_0x4c969f(0x3ba)](){return this;}['_onConflict'](_0x39a1ba){var _0x36f223=_0x4c969f;return this[_0x36f223(0x256)][_0x36f223(0x36c)](exports['ConflictState'],this[_0x36f223(0x2f6)],this[_0x36f223(0x40b)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x39a1ba);}},exports[_0x4c969f(0x1e8)]=ae([L(0x7,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x1cb)])),L(0x8,a[_0x4c969f(0x3e8)](p['RevisionService'])),L(0x9,a[_0x4c969f(0x190)]),L(0xa,a[_0x4c969f(0x3d3)]),L(0xb,a[_0x4c969f(0x13c)]),L(0xc,p[_0x4c969f(0x36a)]),L(0xd,a['Optional'](q))],exports['FetchingMissState']);function Ot(_0x1a72c5,_0x3ad207,_0x364507,_0x11e768,_0x5b215f,_0x4eb73a){var _0x33d81a=_0x4c969f;return _0x11e768&&_0x5b215f['length']?_0x1a72c5[_0x33d81a(0x36c)](exports[_0x33d81a(0x40a)],_0x3ad207,_0x364507,_0x11e768,_0x5b215f,_0x4eb73a,void 0x0):_0x11e768?_0x1a72c5[_0x33d81a(0x36c)](exports[_0x33d81a(0x2f5)],_0x3ad207,_0x364507,_0x11e768,_0x4eb73a):_0x5b215f[_0x33d81a(0x21b)]?_0x1a72c5[_0x33d81a(0x36c)](exports[_0x33d81a(0x1e5)],_0x3ad207,_0x364507,_0x5b215f,_0x4eb73a):_0x1a72c5[_0x33d81a(0x36c)](exports[_0x33d81a(0x3bd)],_0x3ad207,_0x364507,_0x4eb73a);}var vi=Object[_0x4c969f(0x3ad)],Fe=(_0x31a404,_0x59f276,_0x135fab,_0x550cd2)=>{var _0xc4c52c=_0x4c969f;for(var _0x5e9e15=_0x550cd2>0x1?void 0x0:_0x550cd2?vi(_0x59f276,_0x135fab):_0x59f276,_0x40f566=_0x31a404[_0xc4c52c(0x21b)]-0x1,_0x36abb8;_0x40f566>=0x0;_0x40f566--)(_0x36abb8=_0x31a404[_0x40f566])&&(_0x5e9e15=_0x36abb8(_0x5e9e15)||_0x5e9e15);return _0x5e9e15;},j=(_0x1eabe9,_0x332f0a)=>(_0x3c93d8,_0x380389)=>_0x332f0a(_0x3c93d8,_0x380389,_0x1eabe9);exports[_0x4c969f(0x378)]=class extends a[_0x4c969f(0x3a0)]{constructor(_0x161483,_0x4aaf18,_0x12dcec,_0x1b59e0,_0xde9f2b,_0x5cb6f0,_0x4a7504,_0x1b3ddf,_0x5d563a,_0x4d6343,_0x187c58,_0x54d25e,_0x3decba){var _0x12400a=_0x4c969f;super(),A(this,_0x12400a(0x164),new $[(_0x12400a(0x448))](null)),A(this,_0x12400a(0x3d9),this[_0x12400a(0x164)][_0x12400a(0x196)]()),A(this,_0x12400a(0x45f)),A(this,_0x12400a(0x1d7),!0x1),A(this,'_changesetSessionId',''),A(this,_0x12400a(0x39d),0x0),A(this,_0x12400a(0x3d7),this[_0x12400a(0x3d9)][_0x12400a(0x260)]($[_0x12400a(0x26d)](_0x40425e=>_0x40425e?_0x40425e[_0x12400a(0x42c)]:Be[_0x12400a(0x2a2)]),$[_0x12400a(0x2ac)](0x1))),A(this,_0x12400a(0x158),!0x1),A(this,_0x12400a(0x3df),[]),(this[_0x12400a(0x2f6)]=_0x161483,this[_0x12400a(0x434)]=_0x4aaf18,this['_type']=_0x12dcec,this[_0x12400a(0x256)]=_0x1b59e0,this[_0x12400a(0x1eb)]=_0xde9f2b,this[_0x12400a(0x340)]=_0x5cb6f0,this[_0x12400a(0x27d)]=_0x4a7504,this[_0x12400a(0x35d)]=_0x1b3ddf,this[_0x12400a(0x136)]=_0x5d563a,this[_0x12400a(0x3aa)]=_0x4d6343,this[_0x12400a(0x147)]=_0x187c58,this['_singleActiveUnitService']=_0x54d25e,this[_0x12400a(0x171)]=_0x3decba);}get['state'](){var _0x2d48f3=_0x4c969f;return this[_0x2d48f3(0x45f)];}async[_0x4c969f(0x1e1)](){var _0x273111=_0x4c969f;if(this['state'])throw new Error(_0x273111(0x416));await this[_0x273111(0x43a)]();}[_0x4c969f(0x32b)](){var _0x27c92e=_0x4c969f;return this[_0x27c92e(0x1d7)]=!0x0,a[_0x27c92e(0x204)](()=>{var _0x3c52cc=_0x27c92e;this['_collaborationPaused']=!0x1,this[_0x3c52cc(0x1b8)]();});}[_0x4c969f(0x376)](_0x3fbb49){var _0x579937=_0x4c969f;this[_0x579937(0x105)](_0x3fbb49);}['_updateState'](_0xe0f204){var _0x3a484f=_0x4c969f;this['_state']=_0xe0f204,this[_0x3a484f(0x164)][_0x3a484f(0x246)](_0xe0f204);}async[_0x4c969f(0x43a)](){var _0x47cd04=_0x4c969f,_0x1a71c6;this[_0x47cd04(0x149)](await this[_0x47cd04(0x32d)]()),this['_singleActiveUnitService']&&((_0x1a71c6=this[_0x47cd04(0x1f0)])==null||_0x1a71c6['editingUnit'](this[_0x47cd04(0x2f6)]),this[_0x47cd04(0x200)](this[_0x47cd04(0x1f0)][_0x47cd04(0x34d)](this[_0x47cd04(0x2f6)])[_0x47cd04(0x221)](_0x2ca9e7=>{var _0x1340a0=_0x47cd04;this[_0x1340a0(0x136)][_0x1340a0(0x2b2)](_0x1340a0(0x22a),_0x1340a0(0x21d),_0x2ca9e7),_0x2ca9e7===je[_0x1340a0(0x3de)]?(this[_0x1340a0(0x35d)][_0x1340a0(0x361)]({'id':Z[_0x1340a0(0x438)]}),this[_0x1340a0(0x147)]['updatePermissionPoint'](new X[(_0x1340a0(0x266))](this[_0x1340a0(0x2f6)])['id'],!0x1),this[_0x1340a0(0x147)][_0x1340a0(0x477)](!0x1)):(this[_0x1340a0(0x147)][_0x1340a0(0x475)](new X[(_0x1340a0(0x266))](this[_0x1340a0(0x2f6)])['id'],!0x0),this[_0x1340a0(0x147)][_0x1340a0(0x477)](!0x0));})));let _0x5f179b=!0x1;return this[_0x47cd04(0x200)](this[_0x47cd04(0x434)][_0x47cd04(0x3db)][_0x47cd04(0x221)](_0x47bf60=>{var _0x10d473=_0x47cd04;_0x47bf60===re[_0x10d473(0x235)]?this[_0x10d473(0x3fc)](_0x5f179b):_0x47bf60===re[_0x10d473(0x2a2)]&&(_0x5f179b=!0x0,this['_toggleOffline']());})),this[_0x47cd04(0x200)](this['session']['event$'][_0x47cd04(0x221)](_0x51e509=>{var _0x41ced2=_0x47cd04;try{switch(_0x51e509[_0x41ced2(0x170)]){case p['CollaborationEvent']['NEW_CHANGESETS']:{this[_0x41ced2(0x21e)](p[_0x41ced2(0x354)](_0x51e509['data']));break;}case p[_0x41ced2(0x36f)][_0x41ced2(0x346)]:{this['_onRemoteACK'](_0x51e509[_0x41ced2(0x366)]);break;}case p[_0x41ced2(0x36f)][_0x41ced2(0x144)]:{this['_onRemoteRejected']();break;}case p[_0x41ced2(0x36f)][_0x41ced2(0x264)]:{this[_0x41ced2(0x19b)](_0x51e509[_0x41ced2(0x366)]);break;}case p[_0x41ced2(0x36f)][_0x41ced2(0x307)]:{this[_0x41ced2(0x1b7)](_0x51e509[_0x41ced2(0x366)][_0x41ced2(0x2eb)]['map'](_0x56ae1b=>p[_0x41ced2(0x354)](_0x56ae1b)));break;}case p[_0x41ced2(0x36f)][_0x41ced2(0x15c)]:{this[_0x41ced2(0x358)]({'isPermissionRej':!0x0});break;}case p[_0x41ced2(0x36f)][_0x41ced2(0x203)]:break;}}catch(_0x3a139e){throw console[_0x41ced2(0x3d4)]('Error\x20on\x20receiving\x20event',_0x3a139e),_0x3a139e;}})),this[_0x47cd04(0x45f)];}[_0x4c969f(0x457)](){var _0x5c49eb=_0x4c969f;this[_0x5c49eb(0x158)]=!0x1;}[_0x4c969f(0x12d)](){var _0x466aa3=_0x4c969f;if(this[_0x466aa3(0x158)])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[_0x466aa3(0x158)]=!0x0;}[_0x4c969f(0x105)](_0x2e38ff){var _0x19901e=_0x4c969f;this['_lockTransition'](),this[_0x19901e(0x149)](this[_0x19901e(0x45f)][_0x19901e(0x27a)](_0x2e38ff)),this['_unlockTransition']();}[_0x4c969f(0x21e)](_0x381514){var _0x461bed=_0x4c969f;if(!(_0x381514[_0x461bed(0x206)]<=this[_0x461bed(0x27d)]['getCurrentRevOfUnit'](this[_0x461bed(0x2f6)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x381514);return;}this[_0x461bed(0x425)](_0x381514);}}[_0x4c969f(0x1b8)](){var _0x346beb=_0x4c969f;this[_0x346beb(0x3df)][_0x346beb(0x2c1)](_0xcd7701=>this[_0x346beb(0x425)](_0xcd7701)),this[_0x346beb(0x3df)]=[];}[_0x4c969f(0x425)](_0x13c454){var _0x31be2c=_0x4c969f;const _0x25656d=this[_0x31be2c(0x1eb)][_0x31be2c(0x279)][_0x31be2c(0x445)](this[_0x31be2c(0x1eb)][_0x31be2c(0x279)][_0x31be2c(0x2cf)]()['COMPRESS_MUTATION_APPLY'])(_0x13c454[_0x31be2c(0x188)],null)||_0x13c454[_0x31be2c(0x188)],_0x24e50d={..._0x13c454,'mutations':_0x25656d};this[_0x31be2c(0x12d)](),this[_0x31be2c(0x149)](this['_state'][_0x31be2c(0x1a6)](_0x24e50d)),this[_0x31be2c(0x457)]();}['_onRemoteACK'](_0x5f3bf1){var _0x31637d=_0x4c969f;this[_0x31637d(0x12d)](),this[_0x31637d(0x149)](this[_0x31637d(0x45f)][_0x31637d(0x30c)](_0x5f3bf1)),this[_0x31637d(0x457)]();}[_0x4c969f(0x358)](_0x2de341){var _0x2ac6db=_0x4c969f;this[_0x2ac6db(0x12d)](),this[_0x2ac6db(0x149)](this[_0x2ac6db(0x45f)][_0x2ac6db(0x173)](_0x2de341)),this['_unlockTransition']();}['_onRemoteRetry'](_0x5398cd){var _0x4c712a=_0x4c969f;this[_0x4c712a(0x12d)](),this[_0x4c712a(0x149)](this[_0x4c712a(0x45f)][_0x4c712a(0x344)](_0x5398cd)),this[_0x4c712a(0x457)]();}['_onFetchMissResult'](_0x5b47aa){var _0x27b773=_0x4c969f;if(!(this['_state']instanceof exports[_0x27b773(0x1e8)]))throw new TypeError(_0x27b773(0x11c));const _0x33dae7=_0x5b47aa[_0x27b773(0x26d)](_0x5a0359=>{var _0x251ac7=_0x27b773;const _0x54caf9=this[_0x251ac7(0x1eb)]['interceptor'][_0x251ac7(0x445)](this[_0x251ac7(0x1eb)][_0x251ac7(0x279)][_0x251ac7(0x2cf)]()[_0x251ac7(0x11f)])(_0x5a0359[_0x251ac7(0x188)],null)||_0x5a0359[_0x251ac7(0x188)];return{..._0x5a0359,'mutations':_0x54caf9};});this[_0x27b773(0x12d)](),this[_0x27b773(0x149)](this[_0x27b773(0x45f)]['onMissedChangesetFetched'](_0x33dae7)),this[_0x27b773(0x457)]();}[_0x4c969f(0x423)](){var _0x205a6a=_0x4c969f;this[_0x205a6a(0x12d)](),this['_updateState'](this[_0x205a6a(0x45f)][_0x205a6a(0x478)]()),this[_0x205a6a(0x457)]();}[_0x4c969f(0x3fc)](_0x434687=!0x1){var _0x34f807=_0x4c969f;this[_0x34f807(0x12d)](),this[_0x34f807(0x149)](this[_0x34f807(0x45f)][_0x34f807(0x3ba)]()),this['_unlockTransition']();const _0x4bd95f=this[_0x34f807(0x45f)];_0x434687&&_0x4bd95f instanceof exports['SyncedState']&&(this[_0x34f807(0x12d)](),this['_updateState'](_0x4bd95f[_0x34f807(0x18e)]()),this[_0x34f807(0x457)]());}async[_0x4c969f(0x32d)](){return new Promise(_0x24ebf4=>{var _0x497135=_0x42d5;this[_0x497135(0x434)][_0x497135(0x3db)][_0x497135(0x260)]($[_0x497135(0x3f2)](0x1))[_0x497135(0x221)](async _0x512d59=>{_0x24ebf4(await this['_createInitialStateImpl'](_0x512d59===re['ONLINE']));});});}[_0x4c969f(0x150)](){const _0x45e970=this['unitID'];return{'onStateChange':(_0x174064,_0x285c84)=>{var _0x2efaf3=_0x42d5;if(_0x174064!==this['_state'])throw new Error(_0x2efaf3(0x324)+_0x174064['status']+_0x2efaf3(0x39c)+_0x285c84[_0x2efaf3(0x42c)]+_0x2efaf3(0x14e)+this[_0x2efaf3(0x45f)]['status']);this[_0x2efaf3(0x149)](_0x285c84);},'onSendChangeset':_0x22ef2e=>{var _0x33d1ba=_0x42d5;_0x22ef2e[_0x33d1ba(0x166)]||(_0x22ef2e['sid']=this[_0x33d1ba(0x1fc)],_0x22ef2e[_0x33d1ba(0x2cd)]=++this[_0x33d1ba(0x39d)]);const _0x197a40={'eventID':p['CollaborationEvent'][_0x33d1ba(0x1f1)],'data':{'unitID':_0x22ef2e[_0x33d1ba(0x2f6)],'unitType':this[_0x33d1ba(0x192)],'changeset':_0x22ef2e,'memberID':this[_0x33d1ba(0x434)][_0x33d1ba(0x118)]()}};this[_0x33d1ba(0x434)][_0x33d1ba(0x3d1)](_0x197a40,this[_0x33d1ba(0x2f6)]);},'onMissingChangesets':({from:_0x193617,to:_0x5b5846})=>{var _0x2d1f21=_0x42d5;this[_0x2d1f21(0x136)][_0x2d1f21(0x2b2)](_0x2d1f21(0x22a),'fetching\x20missing\x20changesets\x20from\x20'+_0x193617+_0x2d1f21(0x1aa)+_0x5b5846);const _0x296fa4={'eventID':p['CollaborationEvent'][_0x2d1f21(0x127)],'data':{'unitID':_0x45e970,'unitType':this[_0x2d1f21(0x192)],'from':_0x193617,'to':_0x5b5846}};this[_0x2d1f21(0x434)]['send'](_0x296fa4,this[_0x2d1f21(0x2f6)]);}};}async[_0x4c969f(0x100)](_0x4bd353){var _0x2d8374=_0x4c969f,_0x2c2511,_0x13a009,_0x4b84be;const _0x15b5a9=await((_0x2c2511=this[_0x2d8374(0x171)])==null?void 0x0:_0x2c2511['loadOfflineData'](this['unitID'])),_0x2d5c2c=(_0x13a009=_0x15b5a9==null?void 0x0:_0x15b5a9[_0x2d8374(0x188)])!=null?_0x13a009:[],_0x64975a=(_0x4b84be=_0x15b5a9==null?void 0x0:_0x15b5a9[_0x2d8374(0x209)])!=null?_0x4b84be:null,_0x30d907=!!(_0x64975a!=null&&_0x64975a[_0x2d8374(0x166)])&&!!(_0x64975a!=null&&_0x64975a['reqId']);this[_0x2d8374(0x1fc)]=_0x30d907?_0x64975a[_0x2d8374(0x166)]:p[_0x2d8374(0x2a4)](),this[_0x2d8374(0x39d)]=_0x30d907?_0x64975a['reqId']:0x0;const _0x3a060d=this[_0x2d8374(0x2f6)];try{this[_0x2d8374(0x2a1)](_0x64975a,_0x2d5c2c);}catch(_0x1db7df){this['_logService']['error'](_0x1db7df);}const _0x544733=this[_0x2d8374(0x150)]();if(_0x4bd353){const _0x5a80c7=Ot(this[_0x2d8374(0x256)],_0x3a060d,this[_0x2d8374(0x192)],_0x64975a,_0x2d5c2c,_0x544733);return _0x5a80c7 instanceof exports['PendingState']?_0x5a80c7[_0x2d8374(0x415)]():(_0x5a80c7 instanceof exports[_0x2d8374(0x40a)]||_0x5a80c7 instanceof exports[_0x2d8374(0x2f5)])&&_0x5a80c7[_0x2d8374(0x138)](),_0x5a80c7;}return this[_0x2d8374(0x256)]['createInstance'](exports['OfflineState'],_0x3a060d,this['_type'],_0x64975a,_0x2d5c2c,_0x544733);}['_replayCachedMutations'](_0x49f190,_0x177a7d){var _0x2fe27c=_0x4c969f,_0x5f41cf,_0x36a2f5;const _0x248c3c=this[_0x2fe27c(0x1eb)][_0x2fe27c(0x279)][_0x2fe27c(0x445)](this['_compressMutationService'][_0x2fe27c(0x279)][_0x2fe27c(0x2cf)]()[_0x2fe27c(0x11f)]);(_0x5f41cf=_0x248c3c((_0x49f190==null?void 0x0:_0x49f190['mutations'])||[],null))==null||_0x5f41cf['forEach'](_0x48ccab=>this[_0x2fe27c(0x3aa)][_0x2fe27c(0x25a)](_0x48ccab['id'],_0x48ccab['params'])),(_0x36a2f5=_0x248c3c(_0x177a7d||[],null))==null||_0x36a2f5['forEach'](_0x3454e1=>this[_0x2fe27c(0x3aa)][_0x2fe27c(0x25a)](_0x3454e1['id'],_0x3454e1[_0x2fe27c(0x237)]));}},exports['CollaborationEntity']=Fe([j(0x3,a[_0x4c969f(0x3e8)](a['Injector'])),j(0x4,a[_0x4c969f(0x3e8)](p[_0x4c969f(0x128)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a[_0x4c969f(0x3e8)](p['RevisionService'])),j(0x7,a[_0x4c969f(0x3e8)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x4c969f(0x3d3)]),j(0xa,a[_0x4c969f(0x342)]),j(0xb,a[_0x4c969f(0x275)](de)),j(0xc,a['Optional'](q))],exports[_0x4c969f(0x378)]),exports[_0x4c969f(0x2b5)]=class extends exports[_0x4c969f(0x378)]{constructor(_0x298324,_0x477f74,_0x4de521,_0x2bbb2a,_0x579b69,_0x56e4ab,_0x5cdaa7,_0xa5b27c,_0x4d8066,_0x2c7c2b,_0x19889f,_0x201f75,_0x599c7e){var _0x2e461f=_0x4c969f;super(_0x298324,_0x4de521,_0x477f74,_0x2bbb2a,_0x579b69,_0x56e4ab,_0x5cdaa7,_0xa5b27c,_0x4d8066,_0x2c7c2b,_0x19889f,_0x201f75,_0x599c7e),A(this,'_handlerCallback',null),(this[_0x2e461f(0x2f6)]=_0x298324,this[_0x2e461f(0x40b)]=_0x477f74);}[_0x4c969f(0x137)](_0x5c51ba){this['_handlerCallback']=_0x5c51ba;}[_0x4c969f(0x1e3)](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x1957eb=_0x4c969f;const _0x38cf72=super['_createHandler']();return _0x38cf72[_0x1957eb(0x1c7)]=_0x490460=>{var _0x1db2c7=_0x1957eb,_0x805dc2,_0x3eeaf4;return(_0x3eeaf4=(_0x805dc2=this[_0x1db2c7(0x142)])==null?void 0x0:_0x805dc2[_0x1db2c7(0x1c7)])==null?void 0x0:_0x3eeaf4['call'](_0x805dc2,_0x490460);},_0x38cf72[_0x1957eb(0x1bf)]=_0x3cc8c1=>{var _0x4bc7ad=_0x1957eb,_0x3354a2,_0xb25c79;return(_0xb25c79=(_0x3354a2=this['_handlerCallback'])==null?void 0x0:_0x3354a2[_0x4bc7ad(0x1bf)])==null?void 0x0:_0xb25c79[_0x4bc7ad(0x236)](_0x3354a2,_0x3cc8c1);},_0x38cf72[_0x1957eb(0x3f4)]=_0x1f7e92=>{var _0x239b8b=_0x1957eb,_0x3c765d,_0x3cdebc;return(_0x3cdebc=(_0x3c765d=this[_0x239b8b(0x142)])==null?void 0x0:_0x3c765d[_0x239b8b(0x3f4)])==null?void 0x0:_0x3cdebc[_0x239b8b(0x236)](_0x3c765d,_0x1f7e92);},_0x38cf72[_0x1957eb(0x1f6)]=_0x5b5f16=>{var _0x2ee1d3=_0x1957eb,_0x1f8f7f,_0x56add7;return(_0x56add7=(_0x1f8f7f=this[_0x2ee1d3(0x142)])==null?void 0x0:_0x1f8f7f['onSyncEditingCollabCursor'])==null?void 0x0:_0x56add7[_0x2ee1d3(0x236)](_0x1f8f7f,_0x5b5f16);},_0x38cf72[_0x1957eb(0x474)]=_0x5d7791=>{var _0x32cf62=_0x1957eb,_0x3302ef,_0x2377bc,_0x32c85d;if(!((_0x3302ef=this[_0x32cf62(0x142)])!=null&&_0x3302ef[_0x32cf62(0x474)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x32c85d=(_0x2377bc=this[_0x32cf62(0x142)])==null?void 0x0:_0x2377bc[_0x32cf62(0x474)])==null?void 0x0:_0x32c85d[_0x32cf62(0x236)](_0x2377bc,_0x5d7791);},_0x38cf72['onTransformRemoteChangesetByStateCache']=_0x2d3066=>{var _0x1b6edb=_0x1957eb,_0x120696,_0x24a143,_0x483213;if(!((_0x120696=this[_0x1b6edb(0x142)])!=null&&_0x120696[_0x1b6edb(0x3b9)]))throw new Error(_0x1b6edb(0x34e));return(_0x483213=(_0x24a143=this[_0x1b6edb(0x142)])==null?void 0x0:_0x24a143[_0x1b6edb(0x3b9)])==null?void 0x0:_0x483213[_0x1b6edb(0x236)](_0x24a143,_0x2d3066);},_0x38cf72;}async[_0x4c969f(0x43a)](){var _0x5ecda3=_0x4c969f;const _0x23d780=await super[_0x5ecda3(0x43a)]();return this['disposeWithMe'](this[_0x5ecda3(0x3aa)][_0x5ecda3(0x369)]((_0x213d1e,_0x17c7e1)=>{var _0x33d58d=_0x5ecda3;if(_0x213d1e['type']!==a['CommandType']['MUTATION']||_0x17c7e1!=null&&_0x17c7e1[_0x33d58d(0x363)]||_0x17c7e1!=null&&_0x17c7e1[_0x33d58d(0x2f2)]||_0x213d1e['id']===ht['RichTextEditingMutation']['id'])return;const _0x36cb12=_0x213d1e[_0x33d58d(0x237)];if((_0x36cb12==null?void 0x0:_0x36cb12[_0x33d58d(0x2df)])!==this[_0x33d58d(0x2f6)])return;const _0x1b9cbb=_0x213d1e,_0xf90b1a=this[_0x33d58d(0x1eb)][_0x33d58d(0x279)][_0x33d58d(0x445)](this[_0x33d58d(0x1eb)]['interceptor'][_0x33d58d(0x2cf)]()['COMPRESS_MUTATION_SEND'])([_0x1b9cbb],null)||[_0x1b9cbb];this[_0x33d58d(0x105)](_0xf90b1a[0x0]);})),_0x23d780;}},exports[_0x4c969f(0x2b5)]=Fe([j(0x3,a[_0x4c969f(0x3e8)](a['Injector'])),j(0x4,a['Inject'](p[_0x4c969f(0x128)])),j(0x5,a['Inject'](a[_0x4c969f(0x293)])),j(0x6,a[_0x4c969f(0x3e8)](p[_0x4c969f(0x2e8)])),j(0x7,a[_0x4c969f(0x3e8)](ee)),j(0x8,a[_0x4c969f(0x190)]),j(0x9,a[_0x4c969f(0x3d3)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x4c969f(0x275)](de)),j(0xc,a[_0x4c969f(0x275)](q))],exports['DocCollaborationEntity']),exports[_0x4c969f(0x386)]=class extends exports[_0x4c969f(0x378)]{constructor(_0x67b702,_0x3a4ed9,_0x4d112c,_0x5d95bf,_0x46adc2,_0x4d34cf,_0x233c8c,_0x3b3f5a,_0x54c291,_0x3ec4f4,_0x5dfe68,_0x341f89,_0xc385f,_0x1f5025){var _0x312553=_0x4c969f;super(_0x67b702,_0x4d112c,_0x3a4ed9,_0x5d95bf,_0x46adc2,_0x4d34cf,_0x233c8c,_0x54c291,_0x3ec4f4,_0x5dfe68,_0x341f89,_0xc385f,_0x1f5025),this[_0x312553(0x2f6)]=_0x67b702,this[_0x312553(0x40b)]=_0x3a4ed9,this[_0x312553(0x2de)]=_0x3b3f5a;}[_0x4c969f(0x150)](){var _0x2b37a6=_0x4c969f;const _0x4f8b53=super[_0x2b37a6(0x150)]();return _0x4f8b53[_0x2b37a6(0x3f4)]=_0x537fc3=>this[_0x2b37a6(0x2de)]['transformSelections'](_0x537fc3),_0x4f8b53;}async[_0x4c969f(0x43a)](){var _0xd6d99a=_0x4c969f;const _0x1d2426=await super[_0xd6d99a(0x43a)]();return this[_0xd6d99a(0x200)](this['_commandService'][_0xd6d99a(0x369)]((_0x7eb944,_0x1a1026)=>{var _0x1ca5f3=_0xd6d99a;if(_0x7eb944[_0x1ca5f3(0x40b)]!==a['CommandType']['MUTATION']||_0x1a1026!=null&&_0x1a1026['fromCollab']||_0x1a1026!=null&&_0x1a1026['onlyLocal'])return;const _0x3d98b6=_0x7eb944[_0x1ca5f3(0x237)];if((_0x3d98b6==null?void 0x0:_0x3d98b6[_0x1ca5f3(0x2df)])!==this['unitID'])return;const _0x4d72f4=_0x7eb944,_0x417af0=this[_0x1ca5f3(0x1eb)][_0x1ca5f3(0x279)][_0x1ca5f3(0x445)](this[_0x1ca5f3(0x1eb)][_0x1ca5f3(0x279)][_0x1ca5f3(0x2cf)]()[_0x1ca5f3(0x42d)])([_0x4d72f4],null)||[_0x4d72f4];this[_0x1ca5f3(0x105)](_0x417af0[0x0]);})),_0x1d2426;}},exports[_0x4c969f(0x386)]=Fe([j(0x3,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x1cb)])),j(0x4,a['Inject'](p[_0x4c969f(0x128)])),j(0x5,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x293)])),j(0x6,a[_0x4c969f(0x3e8)](p[_0x4c969f(0x2e8)])),j(0x7,a['Inject'](exports[_0x4c969f(0x309)])),j(0x8,a[_0x4c969f(0x3e8)](ee)),j(0x9,a[_0x4c969f(0x190)]),j(0xa,a['ICommandService']),j(0xb,a[_0x4c969f(0x342)]),j(0xc,a[_0x4c969f(0x275)](de)),j(0xd,a[_0x4c969f(0x275)](q))],exports[_0x4c969f(0x386)]);var Si=Object[_0x4c969f(0x3ad)],fi=(_0x361054,_0x2e0a1f,_0x148863,_0x4c2291)=>{var _0x12c13c=_0x4c969f;for(var _0xc123bf=_0x4c2291>0x1?void 0x0:_0x4c2291?Si(_0x2e0a1f,_0x148863):_0x2e0a1f,_0x2c1717=_0x361054[_0x12c13c(0x21b)]-0x1,_0x298650;_0x2c1717>=0x0;_0x2c1717--)(_0x298650=_0x361054[_0x2c1717])&&(_0xc123bf=_0x298650(_0xc123bf)||_0xc123bf);return _0xc123bf;},Se=(_0x866bda,_0x2f5009)=>(_0xdfe4dd,_0x206b81)=>_0x2f5009(_0xdfe4dd,_0x206b81,_0x866bda);exports[_0x4c969f(0x10d)]=class extends a[_0x4c969f(0x3a0)]{constructor(_0x30849a,_0x23a978,_0x7930e3,_0x3f57aa){var _0x37ba50=_0x4c969f,_0x116e3c;super(),A(this,_0x37ba50(0x45e),new Map()),A(this,_0x37ba50(0x18f),new $[(_0x37ba50(0x285))]()),A(this,_0x37ba50(0x1e4),this['_entityInit$']['asObservable']()),(this[_0x37ba50(0x256)]=_0x30849a,this[_0x37ba50(0x110)]=_0x23a978,this[_0x37ba50(0x2fe)]=_0x7930e3,this[_0x37ba50(0x3fe)]=_0x3f57aa,((_0x116e3c=this[_0x37ba50(0x2fe)][_0x37ba50(0x3b6)](G))==null?void 0x0:_0x116e3c[_0x37ba50(0x16f)])!==!0x1&&this['_init']());}[_0x4c969f(0x1e3)](){var _0x58e78c=_0x4c969f;super['dispose'](),this['_entities'][_0x58e78c(0x2c1)](_0x45d7d6=>_0x45d7d6[_0x58e78c(0x1e3)]()),this['_entities'][_0x58e78c(0x165)]();}[_0x4c969f(0x1cd)](_0x246ebf){var _0x22fed2=_0x4c969f,_0x1582a1;return(_0x1582a1=this[_0x22fed2(0x45e)][_0x22fed2(0x122)](_0x246ebf))!=null?_0x1582a1:null;}[_0x4c969f(0x2bd)](_0x5de044){var _0x4efa5a=_0x4c969f;const _0x960f73=this['getCollabEntity'](_0x5de044);return _0x960f73?$['of'](_0x960f73):this['_entityInit$'][_0x4efa5a(0x260)](V[_0x4efa5a(0x182)](_0x1a8fd1=>_0x1a8fd1[_0x4efa5a(0x2f6)]===_0x5de044));}[_0x4c969f(0x130)](_0x1a9f78){var _0x5a3217=_0x4c969f;return $[_0x5a3217(0x42e)](this['getCollabEntity$'](_0x1a9f78)[_0x5a3217(0x260)](V[_0x5a3217(0x26d)](()=>{})));}[_0x4c969f(0x43a)](){var _0x4680d3=_0x4c969f;this[_0x4680d3(0x3fe)][_0x4680d3(0x302)](a[_0x4680d3(0x39e)][_0x4680d3(0x3c1)])['pipe']($[_0x4680d3(0x295)](this[_0x4680d3(0x47d)]),V[_0x4680d3(0x290)](0x10))[_0x4680d3(0x221)](async _0xfc71c1=>{var _0xab99e7=_0x4680d3;const _0x2a6e1f=_0xfc71c1[_0xab99e7(0x201)](),_0x1da450=await this[_0xab99e7(0x251)](_0x2a6e1f,J[_0xab99e7(0x3c1)]);this[_0xab99e7(0x45e)][_0xab99e7(0x333)](_0x2a6e1f,_0x1da450);}),this[_0x4680d3(0x3fe)][_0x4680d3(0x302)](a[_0x4680d3(0x39e)][_0x4680d3(0x12a)])[_0x4680d3(0x260)]($[_0x4680d3(0x295)](this['dispose$']),V[_0x4680d3(0x290)](0x10))[_0x4680d3(0x260)](V[_0x4680d3(0x182)](_0x26c9c6=>!_0x26c9c6[_0x4680d3(0x201)]()[_0x4680d3(0x2c8)]('__')))[_0x4680d3(0x221)](async _0x2a9a99=>{var _0x23f299=_0x4680d3;const _0x335486=_0x2a9a99[_0x23f299(0x201)](),_0x3ac80d=await this[_0x23f299(0x251)](_0x335486,J[_0x23f299(0x12a)]);this[_0x23f299(0x45e)][_0x23f299(0x333)](_0x335486,_0x3ac80d);}),$[_0x4680d3(0x11a)](this[_0x4680d3(0x3fe)][_0x4680d3(0x408)](a[_0x4680d3(0x39e)][_0x4680d3(0x3c1)]),this[_0x4680d3(0x3fe)][_0x4680d3(0x408)](a[_0x4680d3(0x39e)][_0x4680d3(0x12a)]))['pipe']($['takeUntil'](this['dispose$']))[_0x4680d3(0x221)](_0x4e9a26=>{var _0x3b723e=_0x4680d3;const _0x29e048=_0x4e9a26[_0x3b723e(0x201)](),_0x379af6=this[_0x3b723e(0x45e)][_0x3b723e(0x122)](_0x29e048);_0x379af6&&(_0x379af6[_0x3b723e(0x1e3)](),this[_0x3b723e(0x45e)][_0x3b723e(0x2c3)](_0x29e048));});}async[_0x4c969f(0x251)](_0x56f2f2,_0x250216){var _0x2e21a5=_0x4c969f;const _0x189399=await this[_0x2e21a5(0x110)][_0x2e21a5(0x402)](_0x56f2f2),_0x2ddde4=this[_0x2e21a5(0x256)][_0x2e21a5(0x36c)](this[_0x2e21a5(0x40f)](_0x250216),_0x56f2f2,_0x250216,_0x189399);return await _0x2ddde4[_0x2e21a5(0x1e1)](),this[_0x2e21a5(0x18f)][_0x2e21a5(0x246)](_0x2ddde4),_0x2ddde4;}[_0x4c969f(0x40f)](_0x37490e){var _0x568bd5=_0x4c969f;switch(_0x37490e){case J[_0x568bd5(0x12a)]:return exports[_0x568bd5(0x2b5)];case J[_0x568bd5(0x3c1)]:return exports[_0x568bd5(0x386)];default:throw new Error(_0x568bd5(0x24b)+_0x37490e);}}},exports[_0x4c969f(0x10d)]=fi([Se(0x0,a[_0x4c969f(0x3e8)](a['Injector'])),Se(0x1,a[_0x4c969f(0x3e8)](exports['CollaborationSessionService'])),Se(0x2,a[_0x4c969f(0x160)]),Se(0x3,a[_0x4c969f(0x443)])],exports[_0x4c969f(0x10d)]);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x2464f7,_0x467d25,_0x43e6e0,_0x5350b3)=>{var _0x2223f2=_0x4c969f;for(var _0x54c9b9=_0x5350b3>0x1?void 0x0:_0x5350b3?Ii(_0x467d25,_0x43e6e0):_0x467d25,_0x36c220=_0x2464f7[_0x2223f2(0x21b)]-0x1,_0x2a3b1f;_0x36c220>=0x0;_0x36c220--)(_0x2a3b1f=_0x2464f7[_0x36c220])&&(_0x54c9b9=_0x2a3b1f(_0x54c9b9)||_0x54c9b9);return _0x54c9b9;},Ke=(_0x100d6c,_0x33a8da)=>(_0x4685e1,_0x166703)=>_0x33a8da(_0x4685e1,_0x166703,_0x100d6c);const gi=_0x4c969f(0x17d),Ei=_0x4c969f(0x442);let xe=class extends a[_0x4c969f(0x24a)]{constructor(_0x1a0899,_0x2c36da){var _0x268c5f=_0x4c969f;super(),this['_univerInstanceService']=_0x1a0899,this[_0x268c5f(0x2fe)]=_0x2c36da,this[_0x268c5f(0x43a)]();}[_0x4c969f(0x43a)](){var _0x25e042=_0x4c969f;this[_0x25e042(0x200)](this['_univerInstanceService'][_0x25e042(0x24d)][_0x25e042(0x221)](()=>{var _0x44a2b1=_0x25e042,_0x267529;const _0x4e6583=this['_univerInstanceService'][_0x44a2b1(0x486)]();let _0x3f26b7=(_0x267529=this[_0x44a2b1(0x2fe)]['getConfig'](gi))!=null?_0x267529:Ei;_0x4e6583 instanceof a['Workbook']&&(_0x3f26b7=_0x4e6583[_0x44a2b1(0x143)]),document[_0x44a2b1(0x350)]=_0x3f26b7;}));}};xe=pi([Ke(0x0,a[_0x4c969f(0x443)]),Ke(0x1,a[_0x4c969f(0x160)])],xe);var mi=Object[_0x4c969f(0x3ad)],Ci=(_0x179aae,_0x5a276e,_0x289160,_0x23ab1c)=>{var _0x357c57=_0x4c969f;for(var _0x5e7fb1=_0x23ab1c>0x1?void 0x0:_0x23ab1c?mi(_0x5a276e,_0x289160):_0x5a276e,_0x618235=_0x179aae[_0x357c57(0x21b)]-0x1,_0x4d7d54;_0x618235>=0x0;_0x618235--)(_0x4d7d54=_0x179aae[_0x618235])&&(_0x5e7fb1=_0x4d7d54(_0x5e7fb1)||_0x5e7fb1);return _0x5e7fb1;},Ae=(_0x476b04,_0x5907a1)=>(_0x268841,_0x2d6977)=>_0x5907a1(_0x268841,_0x2d6977,_0x476b04);let ye=class{constructor(_0x4b23e3,_0x3a77eb,_0x445a66){var _0x2f503a=_0x4c969f;this[_0x2f503a(0x2fe)]=_0x4b23e3,this[_0x2f503a(0x454)]=_0x3a77eb,this[_0x2f503a(0x351)]=_0x445a66,this[_0x2f503a(0x1e1)]();}[_0x4c969f(0x1e1)](){var _0x10c8e0=_0x4c969f;this[_0x10c8e0(0x454)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1ebf83,_0x26f65f)=>_0x26f65f(_0x1ebf83)[_0x10c8e0(0x260)]($[_0x10c8e0(0x140)](async _0x2f2efd=>{var _0x17096d=_0x10c8e0;const _0x463832=_0x2f2efd;if(_0x463832[_0x17096d(0x42c)]===0x191){if(typeof window>'u')throw new Error(_0x17096d(0x226));if(window[_0x17096d(0x453)](this[_0x17096d(0x351)]['t'](_0x17096d(0x43e)))){const _0x37af1a=window[_0x17096d(0x3f0)](window[_0x17096d(0x1db)][_0x17096d(0x167)]);window[_0x17096d(0x1db)][_0x17096d(0x167)]=this[_0x17096d(0x23e)]()+_0x17096d(0x456)+_0x37af1a;}}return _0x463832;}))});}[_0x4c969f(0x23e)](){var _0x190707=_0x4c969f,_0x306a0b,_0x167462;const _0x1a50f1=this[_0x190707(0x2fe)]['getConfig'](pt),_0x46f2b4=this[_0x190707(0x2fe)][_0x190707(0x3b6)](G);return(_0x167462=(_0x306a0b=_0x46f2b4==null?void 0x0:_0x46f2b4[_0x190707(0x222)])!=null?_0x306a0b:_0x1a50f1)!=null?_0x167462:Wt;}};ye=Ci([Ae(0x0,a[_0x4c969f(0x160)]),Ae(0x1,a[_0x4c969f(0x3e8)](K[_0x4c969f(0x476)])),Ae(0x2,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x293)]))],ye);var Ti=Object[_0x4c969f(0x3ad)],bi=(_0x4482e9,_0xfeab3,_0x397767,_0x5e042b)=>{var _0x4e890e=_0x4c969f;for(var _0x1b5705=_0x5e042b>0x1?void 0x0:_0x5e042b?Ti(_0xfeab3,_0x397767):_0xfeab3,_0x22a3f3=_0x4482e9[_0x4e890e(0x21b)]-0x1,_0x4dcbab;_0x22a3f3>=0x0;_0x22a3f3--)(_0x4dcbab=_0x4482e9[_0x22a3f3])&&(_0x1b5705=_0x4dcbab(_0x1b5705)||_0x1b5705);return _0x1b5705;},qe=(_0x323148,_0x1c37dc)=>(_0x5c95ae,_0x5ecf9b)=>_0x1c37dc(_0x5c95ae,_0x5ecf9b,_0x323148);const Ve='AUTHZ_URL_KEY',Ri=_0x4c969f(0x151);exports['AuthzIoHttpService']=class extends a[_0x4c969f(0x24a)]{constructor(_0x24eea8,_0xe7c359){var _0x9c9253=_0x4c969f;super(),this['_HTTPService']=_0x24eea8,this[_0x9c9253(0x2fe)]=_0xe7c359,this[_0x9c9253(0x3f5)]();}[_0x4c969f(0x3f5)](){var _0x15be8e=_0x4c969f;const _0x2a8532=this;this[_0x15be8e(0x200)](this['_HTTPService'][_0x15be8e(0x380)]({'priority':0x3e7,'interceptor':K[_0x15be8e(0x343)]({'isMatch'(_0x1931c5){var _0x1b3437=_0x15be8e,_0x4dacc5;if(_0x1931c5[_0x1b3437(0x306)]===_0x1b3437(0x3d8)&&((_0x4dacc5=_0x1931c5[_0x1b3437(0x2be)])!=null&&_0x4dacc5['body'])){const {objectID:_0x29e4fe,objectType:_0x4d5726}=_0x1931c5['requestParams']['body']||{};if(!_0x29e4fe||_0x4d5726===void 0x0)return!0x1;const _0x5757ab=_0x2a8532[_0x1b3437(0x10e)]()+'/'+_0x4d5726+_0x1b3437(0x125)+_0x29e4fe+'/allowed';if(_0x1931c5[_0x1b3437(0x14c)]===_0x5757ab)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1eee45){var _0x3976f7=_0x15be8e,_0x5362d2;return(_0x5362d2=_0x1eee45['requestParams'])==null?void 0x0:_0x5362d2[_0x3976f7(0x3da)];},'mergeParamsToRequest'(_0x34bea8,_0x2268f0){var _0x5cf9ed=_0x15be8e;const _0xe3c789=_0x2a8532['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x3fe619=_0x34bea8['reduce']((_0x3ec4fc,_0x2848c1)=>{var _0x4196a6=_0x42d5;const {unitID:_0x258529,objectID:_0x316cba,objectType:_0x349c25,actions:_0x176773}=_0x2848c1;return _0x3ec4fc[_0x258529]||(_0x3ec4fc[_0x258529]={}),_0x3ec4fc[_0x258529][_0x316cba]||(_0x3ec4fc[_0x258529][_0x316cba]={'objectID':_0x316cba,'objectType':_0x349c25,'actions':[]}),_0x3ec4fc[_0x258529][_0x316cba][_0x4196a6(0x1ab)][_0x4196a6(0x1ae)](..._0x176773),_0x3ec4fc;},{}),_0x60a7bd=[];for(const _0x2a4729 in _0x3fe619)for(const _0x1ace14 in _0x3fe619[_0x2a4729]){const {actions:_0x1ae005,objectType:_0x192474}=_0x3fe619[_0x2a4729][_0x1ace14],_0x120f43=[...new Set(_0x1ae005)];_0x60a7bd[_0x5cf9ed(0x1ae)]({'unitID':_0x2a4729,'objectID':_0x1ace14,'objectType':_0x192474,'actions':_0x120f43});}return new K[(_0x5cf9ed(0x48e))](_0x5cf9ed(0x3d8),_0xe3c789,{'headers':_0x2268f0[_0x5cf9ed(0x248)],'withCredentials':_0x2268f0[_0x5cf9ed(0x3a5)],'responseType':_0x2268f0[_0x5cf9ed(0x452)],'body':{'requests':_0x60a7bd}});}},{'distributeResult'(_0x3c281b,_0x4f3553){const {objectActions:_0x7d22cd}=_0x3c281b;return _0x4f3553['map'](_0x312f8b=>{var _0x17fcdb=_0x42d5;const {unitID:_0x118b13,objectID:_0x5b904c,actions:_0x2a1ece}=_0x312f8b,_0x273ff6=_0x7d22cd['find'](_0x38fc88=>_0x38fc88[_0x17fcdb(0x2f6)]===_0x118b13&&_0x38fc88[_0x17fcdb(0x197)]===_0x5b904c),_0x535a2e=_0x2a1ece[_0x17fcdb(0x26d)](_0x48855d=>_0x273ff6==null?void 0x0:_0x273ff6[_0x17fcdb(0x1ab)][_0x17fcdb(0x2c9)](_0x3c8b4c=>_0x3c8b4c['action']===_0x48855d))[_0x17fcdb(0x182)](_0x429372=>!!_0x429372);return{'config':_0x312f8b,'result':{'actions':_0x535a2e,'error':_0x3c281b['error']}};});}})}));}[_0x4c969f(0x10e)](){var _0x390b4c=_0x4c969f,_0x141f2b,_0x41f9c9;const _0x21ddb8=this[_0x390b4c(0x2fe)][_0x390b4c(0x3b6)](Ve),_0x207f5c=this['_configService'][_0x390b4c(0x3b6)](G);return(_0x41f9c9=(_0x141f2b=_0x207f5c==null?void 0x0:_0x207f5c['authzUrl'])!=null?_0x141f2b:_0x21ddb8)!=null?_0x41f9c9:Ri;}async['create'](_0x22a0f2){var _0x48cbda=_0x4c969f;const _0x8da1b9=this[_0x48cbda(0x10e)]()+'/'+_0x22a0f2[_0x48cbda(0x469)]+_0x48cbda(0x21a);return(await this['_HTTPService'][_0x48cbda(0x3a3)](_0x8da1b9,{'body':_0x22a0f2}))['body']['objectID']||'';}async[_0x4c969f(0x2ba)](_0x3fe86){var _0x45a248=_0x4c969f;const _0x417f4d=this[_0x45a248(0x10e)]()+_0x45a248(0x298);return(await this[_0x45a248(0x355)][_0x45a248(0x3a3)](_0x417f4d,{'body':_0x3fe86}))['body'][_0x45a248(0x291)];}async['update'](_0x4dd157){var _0x49905b=_0x4c969f,_0x3e5a33,_0xb9edef;const _0x3c116b=this[_0x49905b(0x10e)]()+'/'+_0x4dd157['objectType']+_0x49905b(0x125)+_0x4dd157[_0x49905b(0x197)],_0x368bdd=await this['_HTTPService']['put'](_0x3c116b,{'body':_0x4dd157});if(((_0xb9edef=(_0x3e5a33=_0x368bdd==null?void 0x0:_0x368bdd[_0x49905b(0x3da)])==null?void 0x0:_0x3e5a33[_0x49905b(0x3d4)])==null?void 0x0:_0xb9edef['code'])!==0x1)throw new Error(_0x49905b(0x2d8));}async[_0x4c969f(0x31e)](_0x5be210){var _0x324d56=_0x4c969f;const _0x4ee84a=this['_getAPIPrefixPath']()+'/'+_0x5be210['objectType']+_0x324d56(0x125)+_0x5be210['objectID']+_0x324d56(0x44c);return(await this[_0x324d56(0x355)][_0x324d56(0x3a3)](_0x4ee84a,{'body':_0x5be210}))['body'][_0x324d56(0x1ab)];}async['batchAllowed'](_0x4f4407){var _0x462727=_0x4c969f;const _0x3a65b6=this[_0x462727(0x10e)]()+_0x462727(0x3a8);return(await this[_0x462727(0x355)][_0x462727(0x3a3)](_0x3a65b6,{'body':{'requests':_0x4f4407}}))['body'][_0x462727(0x387)];}async[_0x4c969f(0x2c4)](_0x2d3dce){var _0x24fe2c=_0x4c969f;const _0x83db04=this[_0x24fe2c(0x10e)]()+'/'+_0x2d3dce[_0x24fe2c(0x469)]+_0x24fe2c(0x1cc),_0x181e4f=await this['_HTTPService'][_0x24fe2c(0x3a3)](_0x83db04,{'body':_0x2d3dce});return{'roles':_0x181e4f['body'][_0x24fe2c(0x47f)],'actions':_0x181e4f['body']['actions']};}async[_0x4c969f(0x40e)](_0x8dfe20){var _0x18d36e=_0x4c969f;const _0x5e7fc1=this['_getAPIPrefixPath']()+_0x18d36e(0x1f7);await this[_0x18d36e(0x355)][_0x18d36e(0x2c3)](_0x5e7fc1,{'params':{'collaboratorID':_0x8dfe20[_0x18d36e(0x405)],'objectID':_0x8dfe20[_0x18d36e(0x197)],'unitID':_0x8dfe20['unitID']}});}async[_0x4c969f(0x2a5)](_0xa016f5){var _0x4deb9c=_0x4c969f;const _0x54a024=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x4deb9c(0x355)][_0x4deb9c(0x353)](_0x54a024,{'body':_0xa016f5});}async[_0x4c969f(0x131)](_0x1fcd62){var _0x19492c=_0x4c969f;const _0x25436d=this[_0x19492c(0x10e)]()+_0x19492c(0x1f7);await this[_0x19492c(0x355)][_0x19492c(0x3a3)](_0x25436d,{'body':_0x1fcd62});}async[_0x4c969f(0x17c)](_0x4f0c8b){var _0x3fb17c=_0x4c969f;const _0x1b926d=this['_getAPIPrefixPath']()+_0x3fb17c(0x1f7);return(await this[_0x3fb17c(0x355)][_0x3fb17c(0x122)](_0x1b926d,{'params':{'objectID':_0x4f0c8b[_0x3fb17c(0x197)],'unitID':_0x4f0c8b[_0x3fb17c(0x2f6)]}}))[_0x3fb17c(0x3da)][_0x3fb17c(0x487)];}async['putCollaborators'](_0x1880e9){var _0x3f1110=_0x4c969f;const _0x3c9549=this[_0x3f1110(0x10e)]()+_0x3f1110(0x1f7);await this[_0x3f1110(0x355)]['put'](_0x3c9549,{'body':_0x1880e9});}},exports[_0x4c969f(0x1b5)]=bi([qe(0x0,a[_0x4c969f(0x3e8)](K[_0x4c969f(0x476)])),qe(0x1,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x160)]))],exports[_0x4c969f(0x1b5)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x52b492){var _0x304b96=_0x4c969f;return _0x52b492&&_0x52b492['__esModule']&&Object[_0x304b96(0x219)][_0x304b96(0x29f)][_0x304b96(0x236)](_0x52b492,_0x304b96(0x26c))?_0x52b492[_0x304b96(0x26c)]:_0x52b492;}var fe={'exports':{}};function Oi(_0x1ef498){var _0x204d45=_0x4c969f;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1ef498+_0x204d45(0x396));}var Ie={'exports':{}},yi=Ie[_0x4c969f(0x1c5)],ze;function Q(){return ze||(ze=0x1,function(_0x45affb,_0x43d648){(function(_0x174c88,_0x99adf4){var _0x10311c=_0x42d5;_0x45affb[_0x10311c(0x1c5)]=_0x99adf4();}(yi,function(){var _0xd33d11=_0xd33d11||function(_0x311213,_0x37855b){var _0x4305bd=_0x42d5,_0x3314c3;if(typeof window<'u'&&window[_0x4305bd(0x1d6)]&&(_0x3314c3=window[_0x4305bd(0x1d6)]),typeof self<'u'&&self[_0x4305bd(0x1d6)]&&(_0x3314c3=self[_0x4305bd(0x1d6)]),typeof globalThis<'u'&&globalThis[_0x4305bd(0x1d6)]&&(_0x3314c3=globalThis[_0x4305bd(0x1d6)]),!_0x3314c3&&typeof window<'u'&&window[_0x4305bd(0x26b)]&&(_0x3314c3=window['msCrypto']),!_0x3314c3&&typeof Pe<'u'&&Pe[_0x4305bd(0x1d6)]&&(_0x3314c3=Pe['crypto']),!_0x3314c3&&typeof Oi==_0x4305bd(0x1ed))try{_0x3314c3=require(_0x4305bd(0x1d6));}catch{}var _0x3e7d21=function(){var _0x56ed27=_0x4305bd;if(_0x3314c3){if(typeof _0x3314c3[_0x56ed27(0x23a)]==_0x56ed27(0x1ed))try{return _0x3314c3[_0x56ed27(0x23a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3314c3['randomBytes']==_0x56ed27(0x1ed))try{return _0x3314c3[_0x56ed27(0x273)](0x4)[_0x56ed27(0x25d)]();}catch{}}throw new Error(_0x56ed27(0x155));},_0x3369af=Object[_0x4305bd(0x411)]||(function(){function _0x172adc(){}return function(_0x55a2cc){var _0x4d92f4=_0x42d5,_0xd578a2;return _0x172adc[_0x4d92f4(0x219)]=_0x55a2cc,_0xd578a2=new _0x172adc(),_0x172adc['prototype']=null,_0xd578a2;};}()),_0x432c8b={},_0x1f08c7=_0x432c8b[_0x4305bd(0x1ea)]={},_0x48a985=_0x1f08c7[_0x4305bd(0x403)]=(function(){return{'extend':function(_0x26d82b){var _0x37dc6c=_0x42d5,_0x5b6cd2=_0x3369af(this);return _0x26d82b&&_0x5b6cd2[_0x37dc6c(0x33b)](_0x26d82b),(!_0x5b6cd2[_0x37dc6c(0x29f)](_0x37dc6c(0x1e1))||this[_0x37dc6c(0x1e1)]===_0x5b6cd2['init'])&&(_0x5b6cd2[_0x37dc6c(0x1e1)]=function(){var _0x5bed7b=_0x37dc6c;_0x5b6cd2[_0x5bed7b(0x233)][_0x5bed7b(0x1e1)][_0x5bed7b(0x34a)](this,arguments);}),_0x5b6cd2[_0x37dc6c(0x1e1)]['prototype']=_0x5b6cd2,_0x5b6cd2[_0x37dc6c(0x233)]=this,_0x5b6cd2;},'create':function(){var _0x9149d2=_0x42d5,_0x2a3f1d=this[_0x9149d2(0x2af)]();return _0x2a3f1d[_0x9149d2(0x1e1)][_0x9149d2(0x34a)](_0x2a3f1d,arguments),_0x2a3f1d;},'init':function(){},'mixIn':function(_0x34d911){var _0x1898c6=_0x42d5;for(var _0x4847ce in _0x34d911)_0x34d911['hasOwnProperty'](_0x4847ce)&&(this[_0x4847ce]=_0x34d911[_0x4847ce]);_0x34d911[_0x1898c6(0x29f)](_0x1898c6(0x202))&&(this[_0x1898c6(0x202)]=_0x34d911[_0x1898c6(0x202)]);},'clone':function(){var _0x5c262b=_0x42d5;return this[_0x5c262b(0x1e1)]['prototype'][_0x5c262b(0x2af)](this);}};}()),_0xbbe912=_0x1f08c7[_0x4305bd(0x463)]=_0x48a985[_0x4305bd(0x2af)]({'init':function(_0xea87e6,_0x452236){var _0x11a766=_0x4305bd;_0xea87e6=this['words']=_0xea87e6||[],_0x452236!=_0x37855b?this[_0x11a766(0x270)]=_0x452236:this[_0x11a766(0x270)]=_0xea87e6['length']*0x4;},'toString':function(_0xdc9b97){var _0x2bb5a5=_0x4305bd;return(_0xdc9b97||_0x25ce80)[_0x2bb5a5(0x35c)](this);},'concat':function(_0x5762ed){var _0x20e334=_0x4305bd,_0x5b9566=this[_0x20e334(0x1c9)],_0x18df1e=_0x5762ed['words'],_0x199a71=this[_0x20e334(0x270)],_0x11be12=_0x5762ed[_0x20e334(0x270)];if(this[_0x20e334(0x30a)](),_0x199a71%0x4)for(var _0x515b6f=0x0;_0x515b6f<_0x11be12;_0x515b6f++){var _0x281579=_0x18df1e[_0x515b6f>>>0x2]>>>0x18-_0x515b6f%0x4*0x8&0xff;_0x5b9566[_0x199a71+_0x515b6f>>>0x2]|=_0x281579<<0x18-(_0x199a71+_0x515b6f)%0x4*0x8;}else{for(var _0x455650=0x0;_0x455650<_0x11be12;_0x455650+=0x4)_0x5b9566[_0x199a71+_0x455650>>>0x2]=_0x18df1e[_0x455650>>>0x2];}return this['sigBytes']+=_0x11be12,this;},'clamp':function(){var _0x4c3002=_0x4305bd,_0x30d219=this['words'],_0x499821=this[_0x4c3002(0x270)];_0x30d219[_0x499821>>>0x2]&=0xffffffff<<0x20-_0x499821%0x4*0x8,_0x30d219['length']=_0x311213[_0x4c3002(0x21f)](_0x499821/0x4);},'clone':function(){var _0x5c2f40=_0x4305bd,_0x2675f1=_0x48a985[_0x5c2f40(0x365)][_0x5c2f40(0x236)](this);return _0x2675f1['words']=this['words'][_0x5c2f40(0x308)](0x0),_0x2675f1;},'random':function(_0x55f4d3){var _0x505c83=_0x4305bd;for(var _0x52576e=[],_0x281929=0x0;_0x281929<_0x55f4d3;_0x281929+=0x4)_0x52576e[_0x505c83(0x1ae)](_0x3e7d21());return new _0xbbe912['init'](_0x52576e,_0x55f4d3);}}),_0x964df6=_0x432c8b['enc']={},_0x25ce80=_0x964df6[_0x4305bd(0x374)]={'stringify':function(_0x7ab007){var _0x75eb3a=_0x4305bd;for(var _0x4d2ae3=_0x7ab007[_0x75eb3a(0x1c9)],_0x5080fe=_0x7ab007['sigBytes'],_0x3562a6=[],_0x35e431=0x0;_0x35e431<_0x5080fe;_0x35e431++){var _0x4b1ca7=_0x4d2ae3[_0x35e431>>>0x2]>>>0x18-_0x35e431%0x4*0x8&0xff;_0x3562a6[_0x75eb3a(0x1ae)]((_0x4b1ca7>>>0x4)[_0x75eb3a(0x202)](0x10)),_0x3562a6[_0x75eb3a(0x1ae)]((_0x4b1ca7&0xf)[_0x75eb3a(0x202)](0x10));}return _0x3562a6[_0x75eb3a(0x451)]('');},'parse':function(_0xb68bbe){var _0x489f7e=_0x4305bd;for(var _0xc25e1b=_0xb68bbe[_0x489f7e(0x21b)],_0x1a2012=[],_0x397283=0x0;_0x397283<_0xc25e1b;_0x397283+=0x2)_0x1a2012[_0x397283>>>0x3]|=parseInt(_0xb68bbe[_0x489f7e(0x3a9)](_0x397283,0x2),0x10)<<0x18-_0x397283%0x8*0x4;return new _0xbbe912[(_0x489f7e(0x1e1))](_0x1a2012,_0xc25e1b/0x2);}},_0x22a53d=_0x964df6[_0x4305bd(0x2b4)]={'stringify':function(_0x3aabf9){var _0xd1f20b=_0x4305bd;for(var _0x19cfab=_0x3aabf9[_0xd1f20b(0x1c9)],_0x53d4e1=_0x3aabf9[_0xd1f20b(0x270)],_0x3173ee=[],_0x53624=0x0;_0x53624<_0x53d4e1;_0x53624++){var _0x576a05=_0x19cfab[_0x53624>>>0x2]>>>0x18-_0x53624%0x4*0x8&0xff;_0x3173ee[_0xd1f20b(0x1ae)](String[_0xd1f20b(0x30f)](_0x576a05));}return _0x3173ee['join']('');},'parse':function(_0x312678){var _0x56e6ce=_0x4305bd;for(var _0x170036=_0x312678['length'],_0x358a2e=[],_0x3d7505=0x0;_0x3d7505<_0x170036;_0x3d7505++)_0x358a2e[_0x3d7505>>>0x2]|=(_0x312678[_0x56e6ce(0x300)](_0x3d7505)&0xff)<<0x18-_0x3d7505%0x4*0x8;return new _0xbbe912[(_0x56e6ce(0x1e1))](_0x358a2e,_0x170036);}},_0xa16fb5=_0x964df6['Utf8']={'stringify':function(_0x1354fc){var _0x3b3539=_0x4305bd;try{return decodeURIComponent(escape(_0x22a53d[_0x3b3539(0x35c)](_0x1354fc)));}catch{throw new Error(_0x3b3539(0x294));}},'parse':function(_0x17c286){var _0x11cdf1=_0x4305bd;return _0x22a53d[_0x11cdf1(0x1e0)](unescape(encodeURIComponent(_0x17c286)));}},_0xc54d2d=_0x1f08c7['BufferedBlockAlgorithm']=_0x48a985[_0x4305bd(0x2af)]({'reset':function(){var _0x15d97c=_0x4305bd;this[_0x15d97c(0x19d)]=new _0xbbe912['init'](),this[_0x15d97c(0x328)]=0x0;},'_append':function(_0x490518){var _0x4c24fa=_0x4305bd;typeof _0x490518==_0x4c24fa(0x198)&&(_0x490518=_0xa16fb5['parse'](_0x490518)),this['_data'][_0x4c24fa(0x45d)](_0x490518),this['_nDataBytes']+=_0x490518['sigBytes'];},'_process':function(_0x247253){var _0x41ee08=_0x4305bd,_0x3285ad,_0x331ca0=this[_0x41ee08(0x19d)],_0x719ccc=_0x331ca0['words'],_0x390c94=_0x331ca0[_0x41ee08(0x270)],_0x2a80b8=this[_0x41ee08(0x21c)],_0x42c29e=_0x2a80b8*0x4,_0x32aa61=_0x390c94/_0x42c29e;_0x247253?_0x32aa61=_0x311213[_0x41ee08(0x21f)](_0x32aa61):_0x32aa61=_0x311213[_0x41ee08(0x134)]((_0x32aa61|0x0)-this[_0x41ee08(0x466)],0x0);var _0x444e09=_0x32aa61*_0x2a80b8,_0x239a80=_0x311213['min'](_0x444e09*0x4,_0x390c94);if(_0x444e09){for(var _0x592d69=0x0;_0x592d69<_0x444e09;_0x592d69+=_0x2a80b8)this[_0x41ee08(0x3ac)](_0x719ccc,_0x592d69);_0x3285ad=_0x719ccc[_0x41ee08(0x214)](0x0,_0x444e09),_0x331ca0[_0x41ee08(0x270)]-=_0x239a80;}return new _0xbbe912['init'](_0x3285ad,_0x239a80);},'clone':function(){var _0x5aa77b=_0x4305bd,_0x12438a=_0x48a985[_0x5aa77b(0x365)][_0x5aa77b(0x236)](this);return _0x12438a[_0x5aa77b(0x19d)]=this[_0x5aa77b(0x19d)][_0x5aa77b(0x365)](),_0x12438a;},'_minBufferSize':0x0});_0x1f08c7[_0x4305bd(0x48f)]=_0xc54d2d[_0x4305bd(0x2af)]({'cfg':_0x48a985['extend'](),'init':function(_0x20f71b){var _0x13dee6=_0x4305bd;this[_0x13dee6(0x220)]=this[_0x13dee6(0x220)][_0x13dee6(0x2af)](_0x20f71b),this[_0x13dee6(0x368)]();},'reset':function(){var _0x1ea789=_0x4305bd;_0xc54d2d[_0x1ea789(0x368)][_0x1ea789(0x236)](this),this[_0x1ea789(0x37b)]();},'update':function(_0x432f10){var _0x472f6c=_0x4305bd;return this[_0x472f6c(0x2ad)](_0x432f10),this[_0x472f6c(0x271)](),this;},'finalize':function(_0x252e8){var _0x3a1faf=_0x4305bd;_0x252e8&&this[_0x3a1faf(0x2ad)](_0x252e8);var _0x51aa4f=this[_0x3a1faf(0x322)]();return _0x51aa4f;},'blockSize':0x10,'_createHelper':function(_0x50d55a){return function(_0x536bef,_0x282669){var _0x198a02=_0x42d5;return new _0x50d55a[(_0x198a02(0x1e1))](_0x282669)[_0x198a02(0x28f)](_0x536bef);};},'_createHmacHelper':function(_0x40d199){return function(_0x350cd8,_0x4fb22a){var _0x25eedb=_0x42d5;return new _0x31d40a[(_0x25eedb(0x297))][(_0x25eedb(0x1e1))](_0x40d199,_0x4fb22a)[_0x25eedb(0x28f)](_0x350cd8);};}});var _0x31d40a=_0x432c8b[_0x4305bd(0x218)]={};return _0x432c8b;}(Math);return _0xd33d11;}));}(Ie)),Ie['exports'];}var pe={'exports':{}},Ni=pe['exports'],Je;function yt(){var _0x230b90=_0x4c969f;return Je||(Je=0x1,function(_0x51dbc6,_0x40bf95){(function(_0x4c1f50,_0xd01d17){var _0x933b35=_0x42d5;_0x51dbc6[_0x933b35(0x1c5)]=_0xd01d17(Q());}(Ni,function(_0x98c36a){var _0x18ed5e=_0x42d5;return(function(){var _0x5b1bba=_0x42d5,_0x50b896=_0x98c36a,_0x67f461=_0x50b896[_0x5b1bba(0x1ea)],_0x847c5=_0x67f461[_0x5b1bba(0x463)],_0x5f18e3=_0x50b896['enc'];_0x5f18e3[_0x5b1bba(0x432)]={'stringify':function(_0x5b82ef){var _0x7a32b5=_0x5b1bba,_0x49d9ca=_0x5b82ef[_0x7a32b5(0x1c9)],_0x4eb320=_0x5b82ef['sigBytes'],_0xa05f2c=this['_map'];_0x5b82ef['clamp']();for(var _0x543985=[],_0x9a4f58=0x0;_0x9a4f58<_0x4eb320;_0x9a4f58+=0x3)for(var _0x3911d9=_0x49d9ca[_0x9a4f58>>>0x2]>>>0x18-_0x9a4f58%0x4*0x8&0xff,_0x333b3a=_0x49d9ca[_0x9a4f58+0x1>>>0x2]>>>0x18-(_0x9a4f58+0x1)%0x4*0x8&0xff,_0x2f53da=_0x49d9ca[_0x9a4f58+0x2>>>0x2]>>>0x18-(_0x9a4f58+0x2)%0x4*0x8&0xff,_0x554eae=_0x3911d9<<0x10|_0x333b3a<<0x8|_0x2f53da,_0x1f2acd=0x0;_0x1f2acd<0x4&&_0x9a4f58+_0x1f2acd*0.75<_0x4eb320;_0x1f2acd++)_0x543985['push'](_0xa05f2c['charAt'](_0x554eae>>>0x6*(0x3-_0x1f2acd)&0x3f));var _0x2bbd2c=_0xa05f2c[_0x7a32b5(0x14d)](0x40);if(_0x2bbd2c){for(;_0x543985[_0x7a32b5(0x21b)]%0x4;)_0x543985['push'](_0x2bbd2c);}return _0x543985[_0x7a32b5(0x451)]('');},'parse':function(_0xeb1ccd){var _0x552613=_0x5b1bba,_0x35032f=_0xeb1ccd[_0x552613(0x21b)],_0xd2e778=this['_map'],_0x40712f=this['_reverseMap'];if(!_0x40712f){_0x40712f=this[_0x552613(0x3d5)]=[];for(var _0xcfdcb7=0x0;_0xcfdcb7<_0xd2e778[_0x552613(0x21b)];_0xcfdcb7++)_0x40712f[_0xd2e778[_0x552613(0x300)](_0xcfdcb7)]=_0xcfdcb7;}var _0x55d702=_0xd2e778[_0x552613(0x14d)](0x40);if(_0x55d702){var _0x507b7e=_0xeb1ccd[_0x552613(0x3e1)](_0x55d702);_0x507b7e!==-0x1&&(_0x35032f=_0x507b7e);}return _0x5c09dc(_0xeb1ccd,_0x35032f,_0x40712f);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x5c09dc(_0x21ad93,_0x348c81,_0x5c4581){var _0x3ab8af=_0x5b1bba;for(var _0x544bc7=[],_0x4de98e=0x0,_0x5d063b=0x0;_0x5d063b<_0x348c81;_0x5d063b++)if(_0x5d063b%0x4){var _0x5c29e2=_0x5c4581[_0x21ad93[_0x3ab8af(0x300)](_0x5d063b-0x1)]<<_0x5d063b%0x4*0x2,_0x580f64=_0x5c4581[_0x21ad93[_0x3ab8af(0x300)](_0x5d063b)]>>>0x6-_0x5d063b%0x4*0x2,_0x3bcd99=_0x5c29e2|_0x580f64;_0x544bc7[_0x4de98e>>>0x2]|=_0x3bcd99<<0x18-_0x4de98e%0x4*0x8,_0x4de98e++;}return _0x847c5['create'](_0x544bc7,_0x4de98e);}}()),_0x98c36a[_0x18ed5e(0x341)][_0x18ed5e(0x432)];}));}(pe)),pe[_0x230b90(0x1c5)];}var ge={'exports':{}},Di=ge[_0x4c969f(0x1c5)],Xe;function Ui(){return Xe||(Xe=0x1,function(_0x59a7b2,_0x308ac2){(function(_0x3ed491,_0x37b5c6){var _0x2072f1=_0x42d5;_0x59a7b2[_0x2072f1(0x1c5)]=_0x37b5c6(Q());}(Di,function(_0x50ffde){var _0x2f67df=_0x42d5;return function(_0x5400f3){var _0x343a5d=_0x42d5,_0x19e1fa=_0x50ffde,_0x53a493=_0x19e1fa[_0x343a5d(0x1ea)],_0x47742d=_0x53a493[_0x343a5d(0x463)],_0x2dfc94=_0x53a493['Hasher'],_0x47df6b=_0x19e1fa[_0x343a5d(0x218)],_0x467010=[];(function(){var _0x3d3c6c=_0x343a5d;for(var _0x43f82e=0x0;_0x43f82e<0x40;_0x43f82e++)_0x467010[_0x43f82e]=_0x5400f3[_0x3d3c6c(0x367)](_0x5400f3[_0x3d3c6c(0x44d)](_0x43f82e+0x1))*0x100000000|0x0;}());var _0x3d715d=_0x47df6b['MD5']=_0x2dfc94[_0x343a5d(0x2af)]({'_doReset':function(){var _0x57e575=_0x343a5d;this[_0x57e575(0x101)]=new _0x47742d[(_0x57e575(0x1e1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5f3d50,_0x23f4b0){for(var _0x3ad0ce=0x0;_0x3ad0ce<0x10;_0x3ad0ce++){var _0x28ce22=_0x23f4b0+_0x3ad0ce,_0x380a87=_0x5f3d50[_0x28ce22];_0x5f3d50[_0x28ce22]=(_0x380a87<<0x8|_0x380a87>>>0x18)&0xff00ff|(_0x380a87<<0x18|_0x380a87>>>0x8)&0xff00ff00;}var _0x421a95=this['_hash']['words'],_0x1cc323=_0x5f3d50[_0x23f4b0+0x0],_0x578721=_0x5f3d50[_0x23f4b0+0x1],_0x5ee15c=_0x5f3d50[_0x23f4b0+0x2],_0x261928=_0x5f3d50[_0x23f4b0+0x3],_0x36635d=_0x5f3d50[_0x23f4b0+0x4],_0x1745a4=_0x5f3d50[_0x23f4b0+0x5],_0x5c5be4=_0x5f3d50[_0x23f4b0+0x6],_0x539048=_0x5f3d50[_0x23f4b0+0x7],_0x50c620=_0x5f3d50[_0x23f4b0+0x8],_0x238257=_0x5f3d50[_0x23f4b0+0x9],_0x2d6e22=_0x5f3d50[_0x23f4b0+0xa],_0x2264cc=_0x5f3d50[_0x23f4b0+0xb],_0x311d63=_0x5f3d50[_0x23f4b0+0xc],_0x25632d=_0x5f3d50[_0x23f4b0+0xd],_0x3aee71=_0x5f3d50[_0x23f4b0+0xe],_0x332426=_0x5f3d50[_0x23f4b0+0xf],_0xd91b37=_0x421a95[0x0],_0x5aaf7e=_0x421a95[0x1],_0x54af0c=_0x421a95[0x2],_0x25ded4=_0x421a95[0x3];_0xd91b37=_0x3661da(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x1cc323,0x7,_0x467010[0x0]),_0x25ded4=_0x3661da(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x578721,0xc,_0x467010[0x1]),_0x54af0c=_0x3661da(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x5ee15c,0x11,_0x467010[0x2]),_0x5aaf7e=_0x3661da(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x261928,0x16,_0x467010[0x3]),_0xd91b37=_0x3661da(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x36635d,0x7,_0x467010[0x4]),_0x25ded4=_0x3661da(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x1745a4,0xc,_0x467010[0x5]),_0x54af0c=_0x3661da(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x5c5be4,0x11,_0x467010[0x6]),_0x5aaf7e=_0x3661da(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x539048,0x16,_0x467010[0x7]),_0xd91b37=_0x3661da(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x50c620,0x7,_0x467010[0x8]),_0x25ded4=_0x3661da(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x238257,0xc,_0x467010[0x9]),_0x54af0c=_0x3661da(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x2d6e22,0x11,_0x467010[0xa]),_0x5aaf7e=_0x3661da(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x2264cc,0x16,_0x467010[0xb]),_0xd91b37=_0x3661da(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x311d63,0x7,_0x467010[0xc]),_0x25ded4=_0x3661da(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25632d,0xc,_0x467010[0xd]),_0x54af0c=_0x3661da(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x3aee71,0x11,_0x467010[0xe]),_0x5aaf7e=_0x3661da(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x332426,0x16,_0x467010[0xf]),_0xd91b37=_0x5da72b(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x578721,0x5,_0x467010[0x10]),_0x25ded4=_0x5da72b(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x5c5be4,0x9,_0x467010[0x11]),_0x54af0c=_0x5da72b(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x2264cc,0xe,_0x467010[0x12]),_0x5aaf7e=_0x5da72b(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x1cc323,0x14,_0x467010[0x13]),_0xd91b37=_0x5da72b(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x1745a4,0x5,_0x467010[0x14]),_0x25ded4=_0x5da72b(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x2d6e22,0x9,_0x467010[0x15]),_0x54af0c=_0x5da72b(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x332426,0xe,_0x467010[0x16]),_0x5aaf7e=_0x5da72b(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x36635d,0x14,_0x467010[0x17]),_0xd91b37=_0x5da72b(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x238257,0x5,_0x467010[0x18]),_0x25ded4=_0x5da72b(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x3aee71,0x9,_0x467010[0x19]),_0x54af0c=_0x5da72b(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x261928,0xe,_0x467010[0x1a]),_0x5aaf7e=_0x5da72b(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x50c620,0x14,_0x467010[0x1b]),_0xd91b37=_0x5da72b(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x25632d,0x5,_0x467010[0x1c]),_0x25ded4=_0x5da72b(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x5ee15c,0x9,_0x467010[0x1d]),_0x54af0c=_0x5da72b(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x539048,0xe,_0x467010[0x1e]),_0x5aaf7e=_0x5da72b(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x311d63,0x14,_0x467010[0x1f]),_0xd91b37=_0xa5b420(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x1745a4,0x4,_0x467010[0x20]),_0x25ded4=_0xa5b420(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x50c620,0xb,_0x467010[0x21]),_0x54af0c=_0xa5b420(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x2264cc,0x10,_0x467010[0x22]),_0x5aaf7e=_0xa5b420(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x3aee71,0x17,_0x467010[0x23]),_0xd91b37=_0xa5b420(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x578721,0x4,_0x467010[0x24]),_0x25ded4=_0xa5b420(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x36635d,0xb,_0x467010[0x25]),_0x54af0c=_0xa5b420(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x539048,0x10,_0x467010[0x26]),_0x5aaf7e=_0xa5b420(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x2d6e22,0x17,_0x467010[0x27]),_0xd91b37=_0xa5b420(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x25632d,0x4,_0x467010[0x28]),_0x25ded4=_0xa5b420(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x1cc323,0xb,_0x467010[0x29]),_0x54af0c=_0xa5b420(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x261928,0x10,_0x467010[0x2a]),_0x5aaf7e=_0xa5b420(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x5c5be4,0x17,_0x467010[0x2b]),_0xd91b37=_0xa5b420(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x238257,0x4,_0x467010[0x2c]),_0x25ded4=_0xa5b420(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x311d63,0xb,_0x467010[0x2d]),_0x54af0c=_0xa5b420(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x332426,0x10,_0x467010[0x2e]),_0x5aaf7e=_0xa5b420(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x5ee15c,0x17,_0x467010[0x2f]),_0xd91b37=_0x577585(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x1cc323,0x6,_0x467010[0x30]),_0x25ded4=_0x577585(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x539048,0xa,_0x467010[0x31]),_0x54af0c=_0x577585(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x3aee71,0xf,_0x467010[0x32]),_0x5aaf7e=_0x577585(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x1745a4,0x15,_0x467010[0x33]),_0xd91b37=_0x577585(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x311d63,0x6,_0x467010[0x34]),_0x25ded4=_0x577585(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x261928,0xa,_0x467010[0x35]),_0x54af0c=_0x577585(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x2d6e22,0xf,_0x467010[0x36]),_0x5aaf7e=_0x577585(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x578721,0x15,_0x467010[0x37]),_0xd91b37=_0x577585(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x50c620,0x6,_0x467010[0x38]),_0x25ded4=_0x577585(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x332426,0xa,_0x467010[0x39]),_0x54af0c=_0x577585(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x5c5be4,0xf,_0x467010[0x3a]),_0x5aaf7e=_0x577585(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x25632d,0x15,_0x467010[0x3b]),_0xd91b37=_0x577585(_0xd91b37,_0x5aaf7e,_0x54af0c,_0x25ded4,_0x36635d,0x6,_0x467010[0x3c]),_0x25ded4=_0x577585(_0x25ded4,_0xd91b37,_0x5aaf7e,_0x54af0c,_0x2264cc,0xa,_0x467010[0x3d]),_0x54af0c=_0x577585(_0x54af0c,_0x25ded4,_0xd91b37,_0x5aaf7e,_0x5ee15c,0xf,_0x467010[0x3e]),_0x5aaf7e=_0x577585(_0x5aaf7e,_0x54af0c,_0x25ded4,_0xd91b37,_0x238257,0x15,_0x467010[0x3f]),_0x421a95[0x0]=_0x421a95[0x0]+_0xd91b37|0x0,_0x421a95[0x1]=_0x421a95[0x1]+_0x5aaf7e|0x0,_0x421a95[0x2]=_0x421a95[0x2]+_0x54af0c|0x0,_0x421a95[0x3]=_0x421a95[0x3]+_0x25ded4|0x0;},'_doFinalize':function(){var _0x88827d=_0x343a5d,_0x2f14f3=this['_data'],_0x5030f6=_0x2f14f3[_0x88827d(0x1c9)],_0x301807=this[_0x88827d(0x328)]*0x8,_0x33a4db=_0x2f14f3[_0x88827d(0x270)]*0x8;_0x5030f6[_0x33a4db>>>0x5]|=0x80<<0x18-_0x33a4db%0x20;var _0x2bdd0c=_0x5400f3[_0x88827d(0x229)](_0x301807/0x100000000),_0x26b4a8=_0x301807;_0x5030f6[(_0x33a4db+0x40>>>0x9<<0x4)+0xf]=(_0x2bdd0c<<0x8|_0x2bdd0c>>>0x18)&0xff00ff|(_0x2bdd0c<<0x18|_0x2bdd0c>>>0x8)&0xff00ff00,_0x5030f6[(_0x33a4db+0x40>>>0x9<<0x4)+0xe]=(_0x26b4a8<<0x8|_0x26b4a8>>>0x18)&0xff00ff|(_0x26b4a8<<0x18|_0x26b4a8>>>0x8)&0xff00ff00,_0x2f14f3[_0x88827d(0x270)]=(_0x5030f6[_0x88827d(0x21b)]+0x1)*0x4,this[_0x88827d(0x271)]();for(var _0x5bae5b=this[_0x88827d(0x101)],_0x4720eb=_0x5bae5b[_0x88827d(0x1c9)],_0x29ec8e=0x0;_0x29ec8e<0x4;_0x29ec8e++){var _0x27aac5=_0x4720eb[_0x29ec8e];_0x4720eb[_0x29ec8e]=(_0x27aac5<<0x8|_0x27aac5>>>0x18)&0xff00ff|(_0x27aac5<<0x18|_0x27aac5>>>0x8)&0xff00ff00;}return _0x5bae5b;},'clone':function(){var _0x18b479=_0x343a5d,_0x2cb528=_0x2dfc94[_0x18b479(0x365)][_0x18b479(0x236)](this);return _0x2cb528[_0x18b479(0x101)]=this[_0x18b479(0x101)]['clone'](),_0x2cb528;}});function _0x3661da(_0x492cb5,_0x2e0fc6,_0x58418d,_0x120735,_0x2901a6,_0xdfd5c1,_0x5ee87b){var _0x320c0a=_0x492cb5+(_0x2e0fc6&_0x58418d|~_0x2e0fc6&_0x120735)+_0x2901a6+_0x5ee87b;return(_0x320c0a<<_0xdfd5c1|_0x320c0a>>>0x20-_0xdfd5c1)+_0x2e0fc6;}function _0x5da72b(_0x491f60,_0x4296f5,_0x528b49,_0xa54315,_0xc87ea9,_0x33c9f5,_0x2c6657){var _0x5e4134=_0x491f60+(_0x4296f5&_0xa54315|_0x528b49&~_0xa54315)+_0xc87ea9+_0x2c6657;return(_0x5e4134<<_0x33c9f5|_0x5e4134>>>0x20-_0x33c9f5)+_0x4296f5;}function _0xa5b420(_0x51a4dc,_0x78fbac,_0x2d609d,_0x88fcd2,_0xcd4f85,_0x8e0f0c,_0x33868f){var _0x2ee19b=_0x51a4dc+(_0x78fbac^_0x2d609d^_0x88fcd2)+_0xcd4f85+_0x33868f;return(_0x2ee19b<<_0x8e0f0c|_0x2ee19b>>>0x20-_0x8e0f0c)+_0x78fbac;}function _0x577585(_0x4fa7b2,_0x5b4902,_0x3d46e0,_0x5581e4,_0x34e389,_0x1e0954,_0x2012d7){var _0x209152=_0x4fa7b2+(_0x3d46e0^(_0x5b4902|~_0x5581e4))+_0x34e389+_0x2012d7;return(_0x209152<<_0x1e0954|_0x209152>>>0x20-_0x1e0954)+_0x5b4902;}_0x19e1fa[_0x343a5d(0x282)]=_0x2dfc94[_0x343a5d(0x22e)](_0x3d715d),_0x19e1fa[_0x343a5d(0x397)]=_0x2dfc94['_createHmacHelper'](_0x3d715d);}(Math),_0x50ffde[_0x2f67df(0x282)];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x4c969f(0x1c5)],Ze;function Pi(){return Ze||(Ze=0x1,function(_0x4f230b,_0x4dece7){(function(_0x392810,_0x30a985){var _0x26de0e=_0x42d5;_0x4f230b[_0x26de0e(0x1c5)]=_0x30a985(Q());}(Ai,function(_0x48cc4f){var _0x494097=_0x42d5;return(function(){var _0x1d76b0=_0x42d5,_0x3c84cb=_0x48cc4f,_0x514b59=_0x3c84cb[_0x1d76b0(0x1ea)],_0x8eae8=_0x514b59[_0x1d76b0(0x463)],_0x39ec52=_0x514b59[_0x1d76b0(0x48f)],_0x54f737=_0x3c84cb['algo'],_0x584ee6=[],_0x310a3c=_0x54f737[_0x1d76b0(0x447)]=_0x39ec52[_0x1d76b0(0x2af)]({'_doReset':function(){var _0x14b83c=_0x1d76b0;this['_hash']=new _0x8eae8[(_0x14b83c(0x1e1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7bc01f,_0x481b33){var _0x31f148=_0x1d76b0;for(var _0x31bc82=this[_0x31f148(0x101)][_0x31f148(0x1c9)],_0x9f8193=_0x31bc82[0x0],_0x352046=_0x31bc82[0x1],_0x102144=_0x31bc82[0x2],_0x2ae3b2=_0x31bc82[0x3],_0x5287fc=_0x31bc82[0x4],_0x14b857=0x0;_0x14b857<0x50;_0x14b857++){if(_0x14b857<0x10)_0x584ee6[_0x14b857]=_0x7bc01f[_0x481b33+_0x14b857]|0x0;else{var _0x540f6e=_0x584ee6[_0x14b857-0x3]^_0x584ee6[_0x14b857-0x8]^_0x584ee6[_0x14b857-0xe]^_0x584ee6[_0x14b857-0x10];_0x584ee6[_0x14b857]=_0x540f6e<<0x1|_0x540f6e>>>0x1f;}var _0x82a12c=(_0x9f8193<<0x5|_0x9f8193>>>0x1b)+_0x5287fc+_0x584ee6[_0x14b857];_0x14b857<0x14?_0x82a12c+=(_0x352046&_0x102144|~_0x352046&_0x2ae3b2)+0x5a827999:_0x14b857<0x28?_0x82a12c+=(_0x352046^_0x102144^_0x2ae3b2)+0x6ed9eba1:_0x14b857<0x3c?_0x82a12c+=(_0x352046&_0x102144|_0x352046&_0x2ae3b2|_0x102144&_0x2ae3b2)-0x70e44324:_0x82a12c+=(_0x352046^_0x102144^_0x2ae3b2)-0x359d3e2a,_0x5287fc=_0x2ae3b2,_0x2ae3b2=_0x102144,_0x102144=_0x352046<<0x1e|_0x352046>>>0x2,_0x352046=_0x9f8193,_0x9f8193=_0x82a12c;}_0x31bc82[0x0]=_0x31bc82[0x0]+_0x9f8193|0x0,_0x31bc82[0x1]=_0x31bc82[0x1]+_0x352046|0x0,_0x31bc82[0x2]=_0x31bc82[0x2]+_0x102144|0x0,_0x31bc82[0x3]=_0x31bc82[0x3]+_0x2ae3b2|0x0,_0x31bc82[0x4]=_0x31bc82[0x4]+_0x5287fc|0x0;},'_doFinalize':function(){var _0x40b21e=_0x1d76b0,_0x583118=this[_0x40b21e(0x19d)],_0x9a344=_0x583118['words'],_0x2dc5ea=this[_0x40b21e(0x328)]*0x8,_0x493c76=_0x583118[_0x40b21e(0x270)]*0x8;return _0x9a344[_0x493c76>>>0x5]|=0x80<<0x18-_0x493c76%0x20,_0x9a344[(_0x493c76+0x40>>>0x9<<0x4)+0xe]=Math[_0x40b21e(0x229)](_0x2dc5ea/0x100000000),_0x9a344[(_0x493c76+0x40>>>0x9<<0x4)+0xf]=_0x2dc5ea,_0x583118[_0x40b21e(0x270)]=_0x9a344[_0x40b21e(0x21b)]*0x4,this[_0x40b21e(0x271)](),this[_0x40b21e(0x101)];},'clone':function(){var _0x3b6411=_0x1d76b0,_0x59280f=_0x39ec52[_0x3b6411(0x365)][_0x3b6411(0x236)](this);return _0x59280f[_0x3b6411(0x101)]=this[_0x3b6411(0x101)][_0x3b6411(0x365)](),_0x59280f;}});_0x3c84cb[_0x1d76b0(0x447)]=_0x39ec52[_0x1d76b0(0x22e)](_0x310a3c),_0x3c84cb[_0x1d76b0(0x320)]=_0x39ec52[_0x1d76b0(0x29b)](_0x310a3c);}()),_0x48cc4f[_0x494097(0x447)];}));}(me)),me['exports'];}var Ce={'exports':{}},Li=Ce['exports'],Qe;function wi(){var _0x183ed3=_0x4c969f;return Qe||(Qe=0x1,function(_0x5e9f79,_0xac95ed){(function(_0x50090f,_0x3ecccb){var _0x24af17=_0x42d5;_0x5e9f79[_0x24af17(0x1c5)]=_0x3ecccb(Q());}(Li,function(_0x215a7e){(function(){var _0x2aeb29=_0x42d5,_0x209acb=_0x215a7e,_0x57556f=_0x209acb[_0x2aeb29(0x1ea)],_0x203a1e=_0x57556f['Base'],_0x20bf6b=_0x209acb[_0x2aeb29(0x341)],_0x3605bf=_0x20bf6b['Utf8'],_0x1229a4=_0x209acb['algo'];_0x1229a4['HMAC']=_0x203a1e['extend']({'init':function(_0xde5c6a,_0x44511d){var _0x33d5bc=_0x2aeb29;_0xde5c6a=this[_0x33d5bc(0x383)]=new _0xde5c6a[(_0x33d5bc(0x1e1))](),typeof _0x44511d==_0x33d5bc(0x198)&&(_0x44511d=_0x3605bf['parse'](_0x44511d));var _0x58042d=_0xde5c6a['blockSize'],_0x566af5=_0x58042d*0x4;_0x44511d[_0x33d5bc(0x270)]>_0x566af5&&(_0x44511d=_0xde5c6a[_0x33d5bc(0x28f)](_0x44511d)),_0x44511d['clamp']();for(var _0x4f1695=this['_oKey']=_0x44511d[_0x33d5bc(0x365)](),_0x5b8fff=this[_0x33d5bc(0x227)]=_0x44511d[_0x33d5bc(0x365)](),_0xe92c31=_0x4f1695[_0x33d5bc(0x1c9)],_0x39f649=_0x5b8fff[_0x33d5bc(0x1c9)],_0x4bf3b4=0x0;_0x4bf3b4<_0x58042d;_0x4bf3b4++)_0xe92c31[_0x4bf3b4]^=0x5c5c5c5c,_0x39f649[_0x4bf3b4]^=0x36363636;_0x4f1695[_0x33d5bc(0x270)]=_0x5b8fff[_0x33d5bc(0x270)]=_0x566af5,this['reset']();},'reset':function(){var _0x504f62=_0x2aeb29,_0x34919d=this[_0x504f62(0x383)];_0x34919d['reset'](),_0x34919d[_0x504f62(0x18a)](this[_0x504f62(0x227)]);},'update':function(_0x34ef5f){var _0x423e44=_0x2aeb29;return this[_0x423e44(0x383)][_0x423e44(0x18a)](_0x34ef5f),this;},'finalize':function(_0x17f2af){var _0x21d726=_0x2aeb29,_0x4ae3af=this['_hasher'],_0x235cec=_0x4ae3af[_0x21d726(0x28f)](_0x17f2af);_0x4ae3af['reset']();var _0x19770d=_0x4ae3af[_0x21d726(0x28f)](this[_0x21d726(0x13a)]['clone']()[_0x21d726(0x45d)](_0x235cec));return _0x19770d;}});}());}));}(Ce)),Ce[_0x183ed3(0x1c5)];}var Mi=Ee['exports'],et;function Nt(){return et||(et=0x1,function(_0x161594,_0x399811){(function(_0x43a223,_0x1a62c7,_0x20535d){_0x161594['exports']=_0x1a62c7(Q(),Pi(),wi());}(Mi,function(_0x340b34){var _0x39d60d=_0x42d5;return(function(){var _0x47409f=_0x42d5,_0x5b0bc6=_0x340b34,_0x52568f=_0x5b0bc6[_0x47409f(0x1ea)],_0x22f8c2=_0x52568f[_0x47409f(0x403)],_0x5025bc=_0x52568f[_0x47409f(0x463)],_0x4e4306=_0x5b0bc6[_0x47409f(0x218)],_0x2692b8=_0x4e4306['MD5'],_0x2a8007=_0x4e4306[_0x47409f(0x47e)]=_0x22f8c2[_0x47409f(0x2af)]({'cfg':_0x22f8c2[_0x47409f(0x2af)]({'keySize':0x80/0x20,'hasher':_0x2692b8,'iterations':0x1}),'init':function(_0x32e9d9){this['cfg']=this['cfg']['extend'](_0x32e9d9);},'compute':function(_0x174ce0,_0x2e42f0){var _0x47c0a2=_0x47409f;for(var _0x8f3535,_0x348b3d=this[_0x47c0a2(0x220)],_0x4f2b74=_0x348b3d[_0x47c0a2(0x483)]['create'](),_0x8d433=_0x5025bc['create'](),_0x50549a=_0x8d433['words'],_0x427012=_0x348b3d[_0x47c0a2(0x305)],_0x192b4f=_0x348b3d[_0x47c0a2(0x32f)];_0x50549a[_0x47c0a2(0x21b)]<_0x427012;){_0x8f3535&&_0x4f2b74['update'](_0x8f3535),_0x8f3535=_0x4f2b74['update'](_0x174ce0)[_0x47c0a2(0x28f)](_0x2e42f0),_0x4f2b74[_0x47c0a2(0x368)]();for(var _0x327c1c=0x1;_0x327c1c<_0x192b4f;_0x327c1c++)_0x8f3535=_0x4f2b74[_0x47c0a2(0x28f)](_0x8f3535),_0x4f2b74[_0x47c0a2(0x368)]();_0x8d433[_0x47c0a2(0x45d)](_0x8f3535);}return _0x8d433[_0x47c0a2(0x270)]=_0x427012*0x4,_0x8d433;}});_0x5b0bc6[_0x47409f(0x47e)]=function(_0x81ff32,_0x524043,_0x42420a){var _0x3dfad7=_0x47409f;return _0x2a8007['create'](_0x42420a)[_0x3dfad7(0x41c)](_0x81ff32,_0x524043);};}()),_0x340b34[_0x39d60d(0x47e)];}));}(Ee)),Ee['exports'];}var Te={'exports':{}},xi=Te[_0x4c969f(0x1c5)],tt;function Dt(){var _0x5d6d53=_0x4c969f;return tt||(tt=0x1,function(_0x5789ec,_0x2eff9e){(function(_0xd58c3b,_0x1a3097,_0xdf5622){var _0x1189e3=_0x42d5;_0x5789ec[_0x1189e3(0x1c5)]=_0x1a3097(Q(),Nt());}(xi,function(_0x301cdf){var _0x43d1c4=_0x42d5;_0x301cdf[_0x43d1c4(0x1ea)][_0x43d1c4(0x2a0)]||function(_0x535403){var _0x1d641e=_0x43d1c4,_0x2c8640=_0x301cdf,_0x414145=_0x2c8640['lib'],_0x440701=_0x414145[_0x1d641e(0x403)],_0xbb8fe1=_0x414145['WordArray'],_0x4afda8=_0x414145[_0x1d641e(0x2ff)],_0x48c5c2=_0x2c8640[_0x1d641e(0x341)];_0x48c5c2[_0x1d641e(0x1fd)];var _0x1144ea=_0x48c5c2[_0x1d641e(0x432)],_0x1757f3=_0x2c8640[_0x1d641e(0x218)],_0x48f969=_0x1757f3[_0x1d641e(0x47e)],_0x5c6e67=_0x414145[_0x1d641e(0x2a0)]=_0x4afda8['extend']({'cfg':_0x440701[_0x1d641e(0x2af)](),'createEncryptor':function(_0x39f78c,_0x20cc13){var _0x156fcd=_0x1d641e;return this[_0x156fcd(0x411)](this[_0x156fcd(0x28e)],_0x39f78c,_0x20cc13);},'createDecryptor':function(_0x1d22e1,_0x223309){var _0xe96337=_0x1d641e;return this[_0xe96337(0x411)](this[_0xe96337(0x153)],_0x1d22e1,_0x223309);},'init':function(_0x5ee012,_0x36c116,_0x5320cb){var _0x409898=_0x1d641e;this[_0x409898(0x220)]=this[_0x409898(0x220)][_0x409898(0x2af)](_0x5320cb),this[_0x409898(0x1d4)]=_0x5ee012,this[_0x409898(0x29a)]=_0x36c116,this[_0x409898(0x368)]();},'reset':function(){var _0x39971e=_0x1d641e;_0x4afda8[_0x39971e(0x368)][_0x39971e(0x236)](this),this[_0x39971e(0x37b)]();},'process':function(_0x5a60ee){var _0x11fc25=_0x1d641e;return this['_append'](_0x5a60ee),this[_0x11fc25(0x271)]();},'finalize':function(_0x5f4543){var _0x290eea=_0x1d641e;_0x5f4543&&this[_0x290eea(0x2ad)](_0x5f4543);var _0xf532eb=this[_0x290eea(0x322)]();return _0xf532eb;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xb61a84(_0x318bc7){return typeof _0x318bc7=='string'?_0x19ebfd:_0x44b2b0;}return function(_0x64f397){return{'encrypt':function(_0x563f3f,_0x7fcd4c,_0x3100a9){var _0x4a947a=_0x42d5;return _0xb61a84(_0x7fcd4c)[_0x4a947a(0x215)](_0x64f397,_0x563f3f,_0x7fcd4c,_0x3100a9);},'decrypt':function(_0x33572d,_0x691455,_0x1b7e9f){var _0x2f93fb=_0x42d5;return _0xb61a84(_0x691455)[_0x2f93fb(0x41f)](_0x64f397,_0x33572d,_0x691455,_0x1b7e9f);}};};}())});_0x414145['StreamCipher']=_0x5c6e67[_0x1d641e(0x2af)]({'_doFinalize':function(){var _0x3fa577=_0x1d641e,_0x589d86=this[_0x3fa577(0x271)](!0x0);return _0x589d86;},'blockSize':0x1});var _0x45843b=_0x2c8640[_0x1d641e(0x24e)]={},_0x5b6944=_0x414145[_0x1d641e(0x3c6)]=_0x440701['extend']({'createEncryptor':function(_0x4ac535,_0x5467b1){var _0x20aa8c=_0x1d641e;return this[_0x20aa8c(0x2d2)][_0x20aa8c(0x411)](_0x4ac535,_0x5467b1);},'createDecryptor':function(_0x51a8ea,_0x1cddad){var _0x370338=_0x1d641e;return this[_0x370338(0x385)][_0x370338(0x411)](_0x51a8ea,_0x1cddad);},'init':function(_0x3ff718,_0x584571){var _0x3a21e6=_0x1d641e;this[_0x3a21e6(0x2f8)]=_0x3ff718,this[_0x3a21e6(0x2d0)]=_0x584571;}}),_0x1dc8c8=_0x45843b[_0x1d641e(0x3f6)]=(function(){var _0xa9dcda=_0x1d641e,_0x4e0a27=_0x5b6944[_0xa9dcda(0x2af)]();_0x4e0a27['Encryptor']=_0x4e0a27['extend']({'processBlock':function(_0x55fa84,_0x327a6d){var _0x259880=_0xa9dcda,_0x365a38=this['_cipher'],_0x230c73=_0x365a38[_0x259880(0x21c)];_0x184bbd[_0x259880(0x236)](this,_0x55fa84,_0x327a6d,_0x230c73),_0x365a38[_0x259880(0x488)](_0x55fa84,_0x327a6d),this[_0x259880(0x2b6)]=_0x55fa84[_0x259880(0x308)](_0x327a6d,_0x327a6d+_0x230c73);}}),_0x4e0a27[_0xa9dcda(0x385)]=_0x4e0a27['extend']({'processBlock':function(_0x441fa5,_0x3d50e5){var _0x19a4c6=_0xa9dcda,_0x1e65f9=this[_0x19a4c6(0x2f8)],_0x47d426=_0x1e65f9[_0x19a4c6(0x21c)],_0x5913d9=_0x441fa5[_0x19a4c6(0x308)](_0x3d50e5,_0x3d50e5+_0x47d426);_0x1e65f9[_0x19a4c6(0x455)](_0x441fa5,_0x3d50e5),_0x184bbd[_0x19a4c6(0x236)](this,_0x441fa5,_0x3d50e5,_0x47d426),this[_0x19a4c6(0x2b6)]=_0x5913d9;}});function _0x184bbd(_0x4b1cca,_0x424b44,_0x16f6b3){var _0x2307e2=_0xa9dcda,_0x55e17f,_0x101231=this[_0x2307e2(0x2d0)];_0x101231?(_0x55e17f=_0x101231,this[_0x2307e2(0x2d0)]=_0x535403):_0x55e17f=this[_0x2307e2(0x2b6)];for(var _0x50571e=0x0;_0x50571e<_0x16f6b3;_0x50571e++)_0x4b1cca[_0x424b44+_0x50571e]^=_0x55e17f[_0x50571e];}return _0x4e0a27;}()),_0x151788=_0x2c8640[_0x1d641e(0x422)]={},_0x13c886=_0x151788[_0x1d641e(0x1dd)]={'pad':function(_0x2267c7,_0x2b9272){var _0x1195e6=_0x1d641e;for(var _0x92ca91=_0x2b9272*0x4,_0x22d3d3=_0x92ca91-_0x2267c7[_0x1195e6(0x270)]%_0x92ca91,_0x2cd89f=_0x22d3d3<<0x18|_0x22d3d3<<0x10|_0x22d3d3<<0x8|_0x22d3d3,_0x5ed58b=[],_0x1278e2=0x0;_0x1278e2<_0x22d3d3;_0x1278e2+=0x4)_0x5ed58b[_0x1195e6(0x1ae)](_0x2cd89f);var _0x56c83a=_0xbb8fe1[_0x1195e6(0x411)](_0x5ed58b,_0x22d3d3);_0x2267c7[_0x1195e6(0x45d)](_0x56c83a);},'unpad':function(_0x409a5b){var _0x4010eb=_0x1d641e,_0x2cb53d=_0x409a5b[_0x4010eb(0x1c9)][_0x409a5b['sigBytes']-0x1>>>0x2]&0xff;_0x409a5b[_0x4010eb(0x270)]-=_0x2cb53d;}};_0x414145[_0x1d641e(0x43d)]=_0x5c6e67[_0x1d641e(0x2af)]({'cfg':_0x5c6e67[_0x1d641e(0x220)][_0x1d641e(0x2af)]({'mode':_0x1dc8c8,'padding':_0x13c886}),'reset':function(){var _0x1f3acf=_0x1d641e,_0x5d63d5;_0x5c6e67[_0x1f3acf(0x368)][_0x1f3acf(0x236)](this);var _0x5540c0=this[_0x1f3acf(0x220)],_0x18de54=_0x5540c0['iv'],_0x31832a=_0x5540c0[_0x1f3acf(0x24e)];this['_xformMode']==this[_0x1f3acf(0x28e)]?_0x5d63d5=_0x31832a[_0x1f3acf(0x1e6)]:(_0x5d63d5=_0x31832a[_0x1f3acf(0x2a8)],this[_0x1f3acf(0x466)]=0x1),this[_0x1f3acf(0x2ae)]&&this[_0x1f3acf(0x2ae)]['__creator']==_0x5d63d5?this['_mode'][_0x1f3acf(0x1e1)](this,_0x18de54&&_0x18de54['words']):(this[_0x1f3acf(0x2ae)]=_0x5d63d5['call'](_0x31832a,this,_0x18de54&&_0x18de54['words']),this['_mode'][_0x1f3acf(0x26e)]=_0x5d63d5);},'_doProcessBlock':function(_0x74213f,_0x3eced5){var _0x9bee7f=_0x1d641e;this[_0x9bee7f(0x2ae)][_0x9bee7f(0x193)](_0x74213f,_0x3eced5);},'_doFinalize':function(){var _0x470121=_0x1d641e,_0x2c7480,_0x3c91db=this[_0x470121(0x220)]['padding'];return this[_0x470121(0x1d4)]==this[_0x470121(0x28e)]?(_0x3c91db['pad'](this[_0x470121(0x19d)],this[_0x470121(0x21c)]),_0x2c7480=this[_0x470121(0x271)](!0x0)):(_0x2c7480=this[_0x470121(0x271)](!0x0),_0x3c91db['unpad'](_0x2c7480)),_0x2c7480;},'blockSize':0x80/0x20});var _0x598d03=_0x414145['CipherParams']=_0x440701[_0x1d641e(0x2af)]({'init':function(_0x3bf86a){this['mixIn'](_0x3bf86a);},'toString':function(_0x429199){var _0x63e73c=_0x1d641e;return(_0x429199||this[_0x63e73c(0x48b)])[_0x63e73c(0x35c)](this);}}),_0x51c7b0=_0x2c8640[_0x1d641e(0x359)]={},_0x28b4f7=_0x51c7b0[_0x1d641e(0x1a5)]={'stringify':function(_0x119ca5){var _0x438405=_0x1d641e,_0x27cbf0,_0x4e7d72=_0x119ca5[_0x438405(0x135)],_0x51ba10=_0x119ca5[_0x438405(0x175)];return _0x51ba10?_0x27cbf0=_0xbb8fe1[_0x438405(0x411)]([0x53616c74,0x65645f5f])['concat'](_0x51ba10)[_0x438405(0x45d)](_0x4e7d72):_0x27cbf0=_0x4e7d72,_0x27cbf0['toString'](_0x1144ea);},'parse':function(_0x5aace7){var _0x2b337e=_0x1d641e,_0x2885cd,_0x392842=_0x1144ea['parse'](_0x5aace7),_0x3eb8e8=_0x392842[_0x2b337e(0x1c9)];return _0x3eb8e8[0x0]==0x53616c74&&_0x3eb8e8[0x1]==0x65645f5f&&(_0x2885cd=_0xbb8fe1['create'](_0x3eb8e8[_0x2b337e(0x308)](0x2,0x4)),_0x3eb8e8[_0x2b337e(0x214)](0x0,0x4),_0x392842[_0x2b337e(0x270)]-=0x10),_0x598d03['create']({'ciphertext':_0x392842,'salt':_0x2885cd});}},_0x44b2b0=_0x414145['SerializableCipher']=_0x440701[_0x1d641e(0x2af)]({'cfg':_0x440701[_0x1d641e(0x2af)]({'format':_0x28b4f7}),'encrypt':function(_0x10a709,_0xb6f0e0,_0x47b370,_0x108110){var _0x3b9271=_0x1d641e;_0x108110=this[_0x3b9271(0x220)]['extend'](_0x108110);var _0x26b4ee=_0x10a709[_0x3b9271(0x1e6)](_0x47b370,_0x108110),_0x29a232=_0x26b4ee[_0x3b9271(0x28f)](_0xb6f0e0),_0x136b24=_0x26b4ee['cfg'];return _0x598d03[_0x3b9271(0x411)]({'ciphertext':_0x29a232,'key':_0x47b370,'iv':_0x136b24['iv'],'algorithm':_0x10a709,'mode':_0x136b24[_0x3b9271(0x24e)],'padding':_0x136b24[_0x3b9271(0x3c2)],'blockSize':_0x10a709[_0x3b9271(0x21c)],'formatter':_0x108110[_0x3b9271(0x359)]});},'decrypt':function(_0x107873,_0x503d68,_0x155db2,_0x43067a){var _0x225635=_0x1d641e;_0x43067a=this[_0x225635(0x220)][_0x225635(0x2af)](_0x43067a),_0x503d68=this['_parse'](_0x503d68,_0x43067a[_0x225635(0x359)]);var _0x4d45d3=_0x107873[_0x225635(0x2a8)](_0x155db2,_0x43067a)[_0x225635(0x28f)](_0x503d68[_0x225635(0x135)]);return _0x4d45d3;},'_parse':function(_0x1439fa,_0x253a43){var _0x2c1094=_0x1d641e;return typeof _0x1439fa==_0x2c1094(0x198)?_0x253a43[_0x2c1094(0x1e0)](_0x1439fa,this):_0x1439fa;}}),_0x2885b1=_0x2c8640['kdf']={},_0x4e6c2c=_0x2885b1[_0x1d641e(0x1a5)]={'execute':function(_0x5a1b2f,_0x4683e2,_0x1b34dc,_0x538b79,_0x33cd2e){var _0x565044=_0x1d641e;if(_0x538b79||(_0x538b79=_0xbb8fe1[_0x565044(0x465)](0x40/0x8)),_0x33cd2e)var _0x25cc1d=_0x48f969[_0x565044(0x411)]({'keySize':_0x4683e2+_0x1b34dc,'hasher':_0x33cd2e})[_0x565044(0x41c)](_0x5a1b2f,_0x538b79);else var _0x25cc1d=_0x48f969['create']({'keySize':_0x4683e2+_0x1b34dc})[_0x565044(0x41c)](_0x5a1b2f,_0x538b79);var _0x442442=_0xbb8fe1[_0x565044(0x411)](_0x25cc1d[_0x565044(0x1c9)][_0x565044(0x308)](_0x4683e2),_0x1b34dc*0x4);return _0x25cc1d[_0x565044(0x270)]=_0x4683e2*0x4,_0x598d03[_0x565044(0x411)]({'key':_0x25cc1d,'iv':_0x442442,'salt':_0x538b79});}},_0x19ebfd=_0x414145[_0x1d641e(0x2a9)]=_0x44b2b0[_0x1d641e(0x2af)]({'cfg':_0x44b2b0['cfg']['extend']({'kdf':_0x4e6c2c}),'encrypt':function(_0x51a0d2,_0xb90682,_0x38fcc4,_0x4300cb){var _0x22bee8=_0x1d641e;_0x4300cb=this[_0x22bee8(0x220)]['extend'](_0x4300cb);var _0x4dde65=_0x4300cb[_0x22bee8(0x258)]['execute'](_0x38fcc4,_0x51a0d2[_0x22bee8(0x305)],_0x51a0d2[_0x22bee8(0x48a)],_0x4300cb[_0x22bee8(0x175)],_0x4300cb[_0x22bee8(0x483)]);_0x4300cb['iv']=_0x4dde65['iv'];var _0x4a1245=_0x44b2b0[_0x22bee8(0x215)][_0x22bee8(0x236)](this,_0x51a0d2,_0xb90682,_0x4dde65[_0x22bee8(0x19c)],_0x4300cb);return _0x4a1245[_0x22bee8(0x33b)](_0x4dde65),_0x4a1245;},'decrypt':function(_0x6e03e9,_0x51ee61,_0x2ba3b6,_0x2499ee){var _0x23a0dc=_0x1d641e;_0x2499ee=this[_0x23a0dc(0x220)][_0x23a0dc(0x2af)](_0x2499ee),_0x51ee61=this[_0x23a0dc(0x427)](_0x51ee61,_0x2499ee['format']);var _0x550c88=_0x2499ee[_0x23a0dc(0x258)]['execute'](_0x2ba3b6,_0x6e03e9[_0x23a0dc(0x305)],_0x6e03e9[_0x23a0dc(0x48a)],_0x51ee61[_0x23a0dc(0x175)],_0x2499ee[_0x23a0dc(0x483)]);_0x2499ee['iv']=_0x550c88['iv'];var _0x252d02=_0x44b2b0['decrypt'][_0x23a0dc(0x236)](this,_0x6e03e9,_0x51ee61,_0x550c88[_0x23a0dc(0x19c)],_0x2499ee);return _0x252d02;}});}();}));}(Te)),Te[_0x5d6d53(0x1c5)];}var ki=fe[_0x4c969f(0x1c5)],it;function Hi(){return it||(it=0x1,function(_0x5b68ef,_0x453421){(function(_0x30b1d4,_0x485cb7,_0x3dc3b2){var _0x1cec84=_0x42d5;_0x5b68ef[_0x1cec84(0x1c5)]=_0x485cb7(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x4cdee7){var _0xc1c2f7=_0x42d5;return(function(){var _0x22ea47=_0x42d5,_0x5c7a3c=_0x4cdee7,_0x47b519=_0x5c7a3c[_0x22ea47(0x1ea)],_0x5c9328=_0x47b519[_0x22ea47(0x43d)],_0x3d6caf=_0x5c7a3c['algo'],_0x1efd6c=[],_0x335392=[],_0x400076=[],_0x5b17bd=[],_0x7b336=[],_0x46e689=[],_0x3dbfbc=[],_0x538fbf=[],_0x590a05=[],_0x4faaca=[];(function(){for(var _0x42dca9=[],_0x299b9a=0x0;_0x299b9a<0x100;_0x299b9a++)_0x299b9a<0x80?_0x42dca9[_0x299b9a]=_0x299b9a<<0x1:_0x42dca9[_0x299b9a]=_0x299b9a<<0x1^0x11b;for(var _0x285fae=0x0,_0x4ea458=0x0,_0x299b9a=0x0;_0x299b9a<0x100;_0x299b9a++){var _0x27713b=_0x4ea458^_0x4ea458<<0x1^_0x4ea458<<0x2^_0x4ea458<<0x3^_0x4ea458<<0x4;_0x27713b=_0x27713b>>>0x8^_0x27713b&0xff^0x63,_0x1efd6c[_0x285fae]=_0x27713b,_0x335392[_0x27713b]=_0x285fae;var _0x38250f=_0x42dca9[_0x285fae],_0x24619d=_0x42dca9[_0x38250f],_0x3761ed=_0x42dca9[_0x24619d],_0x3f935b=_0x42dca9[_0x27713b]*0x101^_0x27713b*0x1010100;_0x400076[_0x285fae]=_0x3f935b<<0x18|_0x3f935b>>>0x8,_0x5b17bd[_0x285fae]=_0x3f935b<<0x10|_0x3f935b>>>0x10,_0x7b336[_0x285fae]=_0x3f935b<<0x8|_0x3f935b>>>0x18,_0x46e689[_0x285fae]=_0x3f935b;var _0x3f935b=_0x3761ed*0x1010101^_0x24619d*0x10001^_0x38250f*0x101^_0x285fae*0x1010100;_0x3dbfbc[_0x27713b]=_0x3f935b<<0x18|_0x3f935b>>>0x8,_0x538fbf[_0x27713b]=_0x3f935b<<0x10|_0x3f935b>>>0x10,_0x590a05[_0x27713b]=_0x3f935b<<0x8|_0x3f935b>>>0x18,_0x4faaca[_0x27713b]=_0x3f935b,_0x285fae?(_0x285fae=_0x38250f^_0x42dca9[_0x42dca9[_0x42dca9[_0x3761ed^_0x38250f]]],_0x4ea458^=_0x42dca9[_0x42dca9[_0x4ea458]]):_0x285fae=_0x4ea458=0x1;}}());var _0x3654c8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x976721=_0x3d6caf['AES']=_0x5c9328[_0x22ea47(0x2af)]({'_doReset':function(){var _0x1fa6ab=_0x22ea47,_0x389cc7;if(!(this[_0x1fa6ab(0x389)]&&this[_0x1fa6ab(0x231)]===this[_0x1fa6ab(0x29a)])){for(var _0x478883=this[_0x1fa6ab(0x231)]=this[_0x1fa6ab(0x29a)],_0x362e65=_0x478883[_0x1fa6ab(0x1c9)],_0x4d3c79=_0x478883[_0x1fa6ab(0x270)]/0x4,_0x4253f5=this['_nRounds']=_0x4d3c79+0x6,_0x167359=(_0x4253f5+0x1)*0x4,_0x43eb2d=this['_keySchedule']=[],_0x21b717=0x0;_0x21b717<_0x167359;_0x21b717++)_0x21b717<_0x4d3c79?_0x43eb2d[_0x21b717]=_0x362e65[_0x21b717]:(_0x389cc7=_0x43eb2d[_0x21b717-0x1],_0x21b717%_0x4d3c79?_0x4d3c79>0x6&&_0x21b717%_0x4d3c79==0x4&&(_0x389cc7=_0x1efd6c[_0x389cc7>>>0x18]<<0x18|_0x1efd6c[_0x389cc7>>>0x10&0xff]<<0x10|_0x1efd6c[_0x389cc7>>>0x8&0xff]<<0x8|_0x1efd6c[_0x389cc7&0xff]):(_0x389cc7=_0x389cc7<<0x8|_0x389cc7>>>0x18,_0x389cc7=_0x1efd6c[_0x389cc7>>>0x18]<<0x18|_0x1efd6c[_0x389cc7>>>0x10&0xff]<<0x10|_0x1efd6c[_0x389cc7>>>0x8&0xff]<<0x8|_0x1efd6c[_0x389cc7&0xff],_0x389cc7^=_0x3654c8[_0x21b717/_0x4d3c79|0x0]<<0x18),_0x43eb2d[_0x21b717]=_0x43eb2d[_0x21b717-_0x4d3c79]^_0x389cc7);for(var _0x109e42=this[_0x1fa6ab(0x1b1)]=[],_0xe80b51=0x0;_0xe80b51<_0x167359;_0xe80b51++){var _0x21b717=_0x167359-_0xe80b51;if(_0xe80b51%0x4)var _0x389cc7=_0x43eb2d[_0x21b717];else var _0x389cc7=_0x43eb2d[_0x21b717-0x4];_0xe80b51<0x4||_0x21b717<=0x4?_0x109e42[_0xe80b51]=_0x389cc7:_0x109e42[_0xe80b51]=_0x3dbfbc[_0x1efd6c[_0x389cc7>>>0x18]]^_0x538fbf[_0x1efd6c[_0x389cc7>>>0x10&0xff]]^_0x590a05[_0x1efd6c[_0x389cc7>>>0x8&0xff]]^_0x4faaca[_0x1efd6c[_0x389cc7&0xff]];}}},'encryptBlock':function(_0x40d547,_0x3e5757){var _0x395479=_0x22ea47;this[_0x395479(0x1d2)](_0x40d547,_0x3e5757,this[_0x395479(0x35a)],_0x400076,_0x5b17bd,_0x7b336,_0x46e689,_0x1efd6c);},'decryptBlock':function(_0x239965,_0x333b27){var _0x53c911=_0x22ea47,_0x468421=_0x239965[_0x333b27+0x1];_0x239965[_0x333b27+0x1]=_0x239965[_0x333b27+0x3],_0x239965[_0x333b27+0x3]=_0x468421,this[_0x53c911(0x1d2)](_0x239965,_0x333b27,this[_0x53c911(0x1b1)],_0x3dbfbc,_0x538fbf,_0x590a05,_0x4faaca,_0x335392);var _0x468421=_0x239965[_0x333b27+0x1];_0x239965[_0x333b27+0x1]=_0x239965[_0x333b27+0x3],_0x239965[_0x333b27+0x3]=_0x468421;},'_doCryptBlock':function(_0xf1fb99,_0x504276,_0xae862d,_0x10a3b5,_0x37f245,_0x2998f9,_0x29cdac,_0x2c74e5){for(var _0x4f5591=this['_nRounds'],_0xf3f015=_0xf1fb99[_0x504276]^_0xae862d[0x0],_0x2cabfb=_0xf1fb99[_0x504276+0x1]^_0xae862d[0x1],_0x2db3ec=_0xf1fb99[_0x504276+0x2]^_0xae862d[0x2],_0x1c287f=_0xf1fb99[_0x504276+0x3]^_0xae862d[0x3],_0x442fec=0x4,_0x4164d3=0x1;_0x4164d3<_0x4f5591;_0x4164d3++){var _0x1f11d5=_0x10a3b5[_0xf3f015>>>0x18]^_0x37f245[_0x2cabfb>>>0x10&0xff]^_0x2998f9[_0x2db3ec>>>0x8&0xff]^_0x29cdac[_0x1c287f&0xff]^_0xae862d[_0x442fec++],_0x8c4cfb=_0x10a3b5[_0x2cabfb>>>0x18]^_0x37f245[_0x2db3ec>>>0x10&0xff]^_0x2998f9[_0x1c287f>>>0x8&0xff]^_0x29cdac[_0xf3f015&0xff]^_0xae862d[_0x442fec++],_0x2a5550=_0x10a3b5[_0x2db3ec>>>0x18]^_0x37f245[_0x1c287f>>>0x10&0xff]^_0x2998f9[_0xf3f015>>>0x8&0xff]^_0x29cdac[_0x2cabfb&0xff]^_0xae862d[_0x442fec++],_0x4c67ad=_0x10a3b5[_0x1c287f>>>0x18]^_0x37f245[_0xf3f015>>>0x10&0xff]^_0x2998f9[_0x2cabfb>>>0x8&0xff]^_0x29cdac[_0x2db3ec&0xff]^_0xae862d[_0x442fec++];_0xf3f015=_0x1f11d5,_0x2cabfb=_0x8c4cfb,_0x2db3ec=_0x2a5550,_0x1c287f=_0x4c67ad;}var _0x1f11d5=(_0x2c74e5[_0xf3f015>>>0x18]<<0x18|_0x2c74e5[_0x2cabfb>>>0x10&0xff]<<0x10|_0x2c74e5[_0x2db3ec>>>0x8&0xff]<<0x8|_0x2c74e5[_0x1c287f&0xff])^_0xae862d[_0x442fec++],_0x8c4cfb=(_0x2c74e5[_0x2cabfb>>>0x18]<<0x18|_0x2c74e5[_0x2db3ec>>>0x10&0xff]<<0x10|_0x2c74e5[_0x1c287f>>>0x8&0xff]<<0x8|_0x2c74e5[_0xf3f015&0xff])^_0xae862d[_0x442fec++],_0x2a5550=(_0x2c74e5[_0x2db3ec>>>0x18]<<0x18|_0x2c74e5[_0x1c287f>>>0x10&0xff]<<0x10|_0x2c74e5[_0xf3f015>>>0x8&0xff]<<0x8|_0x2c74e5[_0x2cabfb&0xff])^_0xae862d[_0x442fec++],_0x4c67ad=(_0x2c74e5[_0x1c287f>>>0x18]<<0x18|_0x2c74e5[_0xf3f015>>>0x10&0xff]<<0x10|_0x2c74e5[_0x2cabfb>>>0x8&0xff]<<0x8|_0x2c74e5[_0x2db3ec&0xff])^_0xae862d[_0x442fec++];_0xf1fb99[_0x504276]=_0x1f11d5,_0xf1fb99[_0x504276+0x1]=_0x8c4cfb,_0xf1fb99[_0x504276+0x2]=_0x2a5550,_0xf1fb99[_0x504276+0x3]=_0x4c67ad;},'keySize':0x100/0x20});_0x5c7a3c[_0x22ea47(0x1c0)]=_0x5c9328[_0x22ea47(0x22e)](_0x976721);}()),_0x4cdee7[_0xc1c2f7(0x1c0)];}));}(fe)),fe['exports'];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x5a6a3b=_0x4c969f;return rt||(rt=0x1,function(_0xe7b9c6,_0x28321e){(function(_0x5c874d,_0x503f67){_0xe7b9c6['exports']=_0x503f67(Q());}(Fi,function(_0xbfb753){var _0x5b961f=_0x42d5;return _0xbfb753[_0x5b961f(0x341)][_0x5b961f(0x1fd)];}));}(be)),be[_0x5a6a3b(0x1c5)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x4c969f(0x1c5)],st;function Ki(){var _0x571e03=_0x4c969f;return st||(st=0x1,function(_0x4cc2b4,_0xf50285){(function(_0x356773,_0x3eebbd){_0x4cc2b4['exports']=_0x3eebbd(Q());}(Gi,function(_0x3e43af){var _0x5c6415=_0x42d5;return(function(){var _0x1b54f4=_0x42d5;if(typeof ArrayBuffer==_0x1b54f4(0x1ed)){var _0x32f0f2=_0x3e43af,_0x51fa86=_0x32f0f2[_0x1b54f4(0x1ea)],_0x4af527=_0x51fa86[_0x1b54f4(0x463)],_0x2b4d94=_0x4af527[_0x1b54f4(0x1e1)],_0x438989=_0x4af527[_0x1b54f4(0x1e1)]=function(_0x23dabc){var _0x41195f=_0x1b54f4;if(_0x23dabc instanceof ArrayBuffer&&(_0x23dabc=new Uint8Array(_0x23dabc)),(_0x23dabc instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x23dabc instanceof Uint8ClampedArray||_0x23dabc instanceof Int16Array||_0x23dabc instanceof Uint16Array||_0x23dabc instanceof Int32Array||_0x23dabc instanceof Uint32Array||_0x23dabc instanceof Float32Array||_0x23dabc instanceof Float64Array)&&(_0x23dabc=new Uint8Array(_0x23dabc[_0x41195f(0x199)],_0x23dabc[_0x41195f(0x1fa)],_0x23dabc[_0x41195f(0x20d)])),_0x23dabc instanceof Uint8Array){for(var _0x3c7a0f=_0x23dabc[_0x41195f(0x20d)],_0x43034b=[],_0x2f1f7f=0x0;_0x2f1f7f<_0x3c7a0f;_0x2f1f7f++)_0x43034b[_0x2f1f7f>>>0x2]|=_0x23dabc[_0x2f1f7f]<<0x18-_0x2f1f7f%0x4*0x8;_0x2b4d94[_0x41195f(0x236)](this,_0x43034b,_0x3c7a0f);}else _0x2b4d94[_0x41195f(0x34a)](this,arguments);};_0x438989['prototype']=_0x4af527;}}()),_0x3e43af[_0x5c6415(0x1ea)]['WordArray'];}));}(Re)),Re[_0x571e03(0x1c5)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x4c969f(0x1c5)],ot;function Xi(){return ot||(ot=0x1,function(_0x4278a9,_0x554842){(function(_0x2cee57,_0x2b8035,_0x3bb3da){var _0x4818b3=_0x42d5;_0x4278a9[_0x4818b3(0x1c5)]=_0x2b8035(Q(),Dt());}(Ji,function(_0x279fa3){var _0x47a9da=_0x42d5;return _0x279fa3['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x279fa3[_0x47a9da(0x422)][_0x47a9da(0x1c6)];}));}(Oe)),Oe['exports'];}var Zi=Xi();const Qi=ve(Zi);function en(_0x706fd0,_0xc74e6a){var _0x3bc0c6=_0x4c969f;const _0x28b487=_0xc74e6a-_0x706fd0[_0x3bc0c6(0x21b)]%_0xc74e6a,_0x2dbae0=String['fromCharCode'](_0x28b487)['repeat'](_0x28b487);return _0x706fd0+_0x2dbae0;}function tn(_0x25e63e,_0x842398){var _0x362b6b=_0x4c969f;const _0xf50bf9=zi['random'](0x10),_0x3e900b=en(_0x25e63e,0x10),_0x5312b1=ji[_0x362b6b(0x215)](Yi['parse'](_0x3e900b),nt[_0x362b6b(0x1e0)](_0x842398),{'iv':_0xf50bf9,'padding':Qi});return _0xf50bf9[_0x362b6b(0x45d)](_0x5312b1[_0x362b6b(0x135)])[_0x362b6b(0x202)](nt);}function nn(){var _0x54f495=_0x4c969f;const _0x4aaa64=Lt[_0x54f495(0x3ca)]()[_0x54f495(0x3dc)];if(_0x4aaa64){const _0x34898={'time':Math['floor'](Date[_0x54f495(0x1ef)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x54f495(0x35c)](_0x34898),_0x4aaa64);}}var rn=Object[_0x4c969f(0x3ad)],sn=(_0x42f0a3,_0x5e6771,_0x3cf3e1,_0x35dad8)=>{var _0x232bec=_0x4c969f;for(var _0x236aa3=_0x35dad8>0x1?void 0x0:_0x35dad8?rn(_0x5e6771,_0x3cf3e1):_0x5e6771,_0x4672e9=_0x42f0a3[_0x232bec(0x21b)]-0x1,_0x5df662;_0x4672e9>=0x0;_0x4672e9--)(_0x5df662=_0x42f0a3[_0x4672e9])&&(_0x236aa3=_0x5df662(_0x236aa3)||_0x236aa3);return _0x236aa3;},on=(_0xc711e3,_0x2a04c2)=>(_0x49ea82,_0x5df732)=>_0x2a04c2(_0x49ea82,_0x5df732,_0xc711e3);let Ne=class{constructor(_0x171859){var _0x48caf2=_0x4c969f;this[_0x48caf2(0x454)]=_0x171859,this[_0x48caf2(0x44a)]();}[_0x4c969f(0x44a)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x11f420,_0x283131)=>{var _0xc1245d=_0x42d5;const _0x2f839e=_0x11f420['headers'],_0x15de3c=nn();return _0x15de3c&&_0x2f839e[_0xc1245d(0x333)](_0xc1245d(0x338),_0x15de3c),_0x283131(_0x11f420);}});}};Ne=sn([on(0x0,a[_0x4c969f(0x3e8)](K[_0x4c969f(0x476)]))],Ne);var an=Object[_0x4c969f(0x3ad)],cn=(_0xacc607,_0x465aae,_0x5223bf,_0x5ce2c0)=>{var _0x4db308=_0x4c969f;for(var _0x36242c=_0x5ce2c0>0x1?void 0x0:_0x5ce2c0?an(_0x465aae,_0x5223bf):_0x465aae,_0x3e6672=_0xacc607[_0x4db308(0x21b)]-0x1,_0x445ed9;_0x3e6672>=0x0;_0x3e6672--)(_0x445ed9=_0xacc607[_0x3e6672])&&(_0x36242c=_0x445ed9(_0x36242c)||_0x36242c);return _0x36242c;},Le=(_0x4c6e08,_0x59257e)=>(_0x156447,_0x13731a)=>_0x59257e(_0x156447,_0x13731a,_0x4c6e08);exports['DataLoaderService']=class extends a[_0x4c969f(0x3a0)]{constructor(_0x54abcb,_0x3d2873,_0xf2ad99){var _0x4fa45d=_0x4c969f;super(),A(this,_0x4fa45d(0x240),new $['BehaviorSubject'](null)),A(this,_0x4fa45d(0x459),this[_0x4fa45d(0x240)][_0x4fa45d(0x196)]()),(this[_0x4fa45d(0x136)]=_0x54abcb,this[_0x4fa45d(0x388)]=_0x3d2873,this['_localCacheService']=_0xf2ad99);}async[_0x4c969f(0x3be)](_0x29fe24,_0x35d428,_0x27f7e3){var _0x21b52d=_0x4c969f;this[_0x21b52d(0x240)][_0x21b52d(0x246)]({'unitId':_0x29fe24,'type':_0x35d428});let _0x55754a=null;switch(_0x35d428){case J[_0x21b52d(0x3c1)]:{_0x55754a=await this[_0x21b52d(0x388)][_0x21b52d(0x2d1)](_0x29fe24,_0x27f7e3);break;}case J['UNIVER_DOC']:{_0x55754a=await this[_0x21b52d(0x388)]['loadDoc'](_0x29fe24,_0x27f7e3);break;}default:{this['_logService']['error'](_0x21b52d(0x23d),_0x21b52d(0x114));break;}}return _0x55754a;}async[_0x4c969f(0x205)](_0x28e416,_0x570ee1,_0x29997f){var _0x47f516=_0x4c969f,_0x226516;this['_unitInfo$'][_0x47f516(0x246)]({'unitId':_0x28e416,'type':_0x570ee1,'subUnitId':_0x29997f});let _0x4841a2=0x0;const _0x3afaff=await((_0x226516=this[_0x47f516(0x171)])==null?void 0x0:_0x226516[_0x47f516(0x395)](_0x28e416));return _0x3afaff&&(_0x3afaff['awaitingChangeset']||_0x3afaff['mutations'][_0x47f516(0x21b)]!==0x0)&&(_0x4841a2=_0x3afaff[_0x47f516(0x30b)]),_0x4841a2===0x0&&this[_0x47f516(0x136)][_0x47f516(0x2b2)](_0x47f516(0x23d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x47f516(0x3be)](_0x28e416,_0x570ee1,_0x4841a2);}},exports['DataLoaderService']=cn([Le(0x0,a[_0x4c969f(0x190)]),Le(0x1,a['Inject'](p['SnapshotService'])),Le(0x2,a['Optional'](q))],exports[_0x4c969f(0x394)]);var hn=Object[_0x4c969f(0x3ad)],_n=(_0x5f233d,_0x9c4ebf,_0x5123c1,_0x41c88d)=>{var _0x1552fa=_0x4c969f;for(var _0x3a372a=_0x41c88d>0x1?void 0x0:_0x41c88d?hn(_0x9c4ebf,_0x5123c1):_0x9c4ebf,_0x441286=_0x5f233d[_0x1552fa(0x21b)]-0x1,_0x70f6c7;_0x441286>=0x0;_0x441286--)(_0x70f6c7=_0x5f233d[_0x441286])&&(_0x3a372a=_0x70f6c7(_0x3a372a)||_0x3a372a);return _0x3a372a;},we=(_0x141a5f,_0x2cfe35)=>(_0x43407d,_0x3df698)=>_0x2cfe35(_0x43407d,_0x3df698,_0x141a5f);const ln=['image/png',_0x4c969f(0x287),'image/jpg','image/gif',_0x4c969f(0x2fd)],un=0x5*0x400*0x400,dn=_0x4c969f(0x23c),vn=_0x4c969f(0x3ab),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x4c969f(0x2bf);exports[_0x4c969f(0x124)]=class{constructor(_0x55c17b,_0x3d4468,_0x45a4c6){var _0x1d53d3=_0x4c969f;A(this,_0x1d53d3(0x15f),0x0),A(this,_0x1d53d3(0x48d),new $[(_0x1d53d3(0x285))]()),A(this,_0x1d53d3(0x31d),this[_0x1d53d3(0x48d)]),A(this,_0x1d53d3(0x272),new Map()),(this[_0x1d53d3(0x454)]=_0x55c17b,this[_0x1d53d3(0x2fe)]=_0x3d4468,this['_univerInstanceService']=_0x45a4c6);}[_0x4c969f(0x2f1)](_0x43f310){var _0x4ac70e=_0x4c969f;this[_0x4ac70e(0x15f)]=_0x43f310,this[_0x4ac70e(0x48d)][_0x4ac70e(0x246)](_0x43f310);}[_0x4c969f(0x2ee)](_0x5e5538,_0xd91969){var _0x228295=_0x4c969f;if(_0xd91969===z[_0x228295(0x12f)][_0x228295(0x3cf)]){const _0x12b1f9=new Image();return _0x12b1f9[_0x228295(0x19e)]=_0x5e5538,_0x12b1f9;}return this[_0x228295(0x272)][_0x228295(0x122)](_0x5e5538);}['addImageSourceCache'](_0x848a06,_0x3779a3,_0x3355ae){var _0x173599=_0x4c969f;_0x3779a3===z[_0x173599(0x12f)][_0x173599(0x3cf)]||_0x3355ae==null||this['_imageSourceCache']['set'](_0x848a06,_0x3355ae);}async[_0x4c969f(0x16e)](_0x1bb5ab){var _0xa58f68=_0x4c969f;try{const _0x4428b9=this[_0xa58f68(0x288)](this[_0xa58f68(0x121)](),''+_0x1bb5ab),_0x419221=(await this[_0xa58f68(0x454)][_0xa58f68(0x122)](_0x4428b9))['body'];if(_0x419221[_0xa58f68(0x3d4)]&&_0x419221['error'][_0xa58f68(0x316)]===gt['OK']){const _0x5502b5=new URL(_0x419221['url'],this[_0xa58f68(0x18b)]())[_0xa58f68(0x202)]();return Promise[_0xa58f68(0x286)](_0x5502b5);}return Promise[_0xa58f68(0x33e)](_0x419221[_0xa58f68(0x3d4)]);}catch(_0x417797){return Promise[_0xa58f68(0x33e)](_0x417797);}}async[_0x4c969f(0x3a7)](_0x57a67b){var _0xc33034=_0x4c969f;let _0x110152='';if(!ln[_0xc33034(0x31f)](_0x57a67b[_0xc33034(0x40b)]))return this[_0xc33034(0x362)](),Promise[_0xc33034(0x33e)](new Error(z[_0xc33034(0x339)][_0xc33034(0x259)]));if(_0x57a67b[_0xc33034(0x489)]>un)return this[_0xc33034(0x362)](),Promise[_0xc33034(0x33e)](new Error(z[_0xc33034(0x339)]['ERROR_EXCEED_SIZE']));try{const _0x35d495=new FormData();_0x35d495[_0xc33034(0x1b4)](_0xc33034(0x17b),_0x57a67b);const _0x26697a=this[_0xc33034(0x3fe)][_0xc33034(0x486)](),_0x456120=_0x26697a==null?void 0x0:_0x26697a[_0xc33034(0x201)]();if(!_0x456120)throw new Error(_0xc33034(0x250));const _0xe2ecf3=this[_0xc33034(0x401)]()+_0xc33034(0x28c)+_0x57a67b[_0xc33034(0x489)]['toString']()+_0xc33034(0x38d)+Et[_0xc33034(0x2e6)]+_0xc33034(0x10c)+encodeURIComponent(_0x456120),_0x3fd665={'body':_0x35d495},_0x4c2d14=(await this[_0xc33034(0x454)][_0xc33034(0x3a3)](_0xe2ecf3,_0x3fd665))[_0xc33034(0x3da)];if(typeof _0x4c2d14[_0xc33034(0x31a)]!=_0xc33034(0x198))return this['_decreaseWaiting'](),Promise[_0xc33034(0x33e)](new Error(z[_0xc33034(0x339)][_0xc33034(0x11b)]));_0x110152=_0x4c2d14[_0xc33034(0x31a)];}catch{return this[_0xc33034(0x362)](),Promise[_0xc33034(0x33e)](new Error(z['ImageUploadStatusType'][_0xc33034(0x11b)]));}return new Promise((_0x1e8e66,_0x428949)=>{var _0x534d4b=_0xc33034;const _0x29114c=new FileReader();_0x29114c[_0x534d4b(0x420)](_0x57a67b),_0x29114c['onload']=_0x5addd9=>{var _0x16304c=_0x534d4b,_0x211942;const _0x2395c3=(_0x211942=_0x5addd9[_0x16304c(0x2b9)])==null?void 0x0:_0x211942[_0x16304c(0x263)];if(_0x2395c3==null){this[_0x16304c(0x362)](),_0x428949(new Error(z[_0x16304c(0x339)][_0x16304c(0x11b)]));return;}const _0x27ee9e=a[_0x16304c(0x484)][_0x16304c(0x28b)](0x6);_0x1e8e66({'imageId':_0x27ee9e,'imageSourceType':z[_0x16304c(0x12f)]['UUID'],'source':_0x110152,'base64Cache':_0x2395c3,'status':z['ImageUploadStatusType']['SUCCUSS']}),this[_0x16304c(0x362)]();};});}[_0x4c969f(0x401)](){var _0x1479dd=_0x4c969f,_0x5191ad,_0x1f2524;const _0x578304=this[_0x1479dd(0x2fe)][_0x1479dd(0x3b6)](dn),_0xffaed=this[_0x1479dd(0x2fe)][_0x1479dd(0x3b6)](G);return(_0x1f2524=(_0x5191ad=_0xffaed==null?void 0x0:_0xffaed[_0x1479dd(0x28d)])!=null?_0x5191ad:_0x578304)!=null?_0x1f2524:vn;}[_0x4c969f(0x121)](){var _0x344c38=_0x4c969f,_0x59ac79,_0x3fddf2;const _0x2fc358=this['_configService']['getConfig'](Sn),_0x3aa067=this[_0x344c38(0x2fe)][_0x344c38(0x3b6)](G);return(_0x3fddf2=(_0x59ac79=_0x3aa067==null?void 0x0:_0x3aa067[_0x344c38(0x187)])!=null?_0x59ac79:_0x2fc358)!=null?_0x3fddf2:fn;}[_0x4c969f(0x18b)](){var _0x54bd39=_0x4c969f,_0x440fd6;const _0x2fe16a=this[_0x54bd39(0x2fe)][_0x54bd39(0x3b6)](G);return(_0x440fd6=_0x2fe16a==null?void 0x0:_0x2fe16a[_0x54bd39(0x284)])!=null?_0x440fd6:location[_0x54bd39(0x3f9)];}['_replaceFileID'](_0x459929,_0x280ca1){var _0x19514c=_0x4c969f;return _0x459929[_0x19514c(0x36e)]('{fileID}',_0x280ca1);}['_decreaseWaiting'](){var _0x361a01=_0x4c969f;this['_waitCount']-=0x1,this['_change$'][_0x361a01(0x246)](this[_0x361a01(0x15f)]);}},exports[_0x4c969f(0x124)]=_n([we(0x0,a['Inject'](K['HTTPService'])),we(0x1,a['IConfigService']),we(0x2,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x443)]))],exports[_0x4c969f(0x124)]);var In=Object[_0x4c969f(0x3ad)],pn=(_0x397d8d,_0x152cc2,_0x2935a9,_0x546866)=>{var _0x49826c=_0x4c969f;for(var _0x4874b0=_0x546866>0x1?void 0x0:_0x546866?In(_0x152cc2,_0x2935a9):_0x152cc2,_0x497a59=_0x397d8d[_0x49826c(0x21b)]-0x1,_0x1a5f76;_0x497a59>=0x0;_0x497a59--)(_0x1a5f76=_0x397d8d[_0x497a59])&&(_0x4874b0=_0x1a5f76(_0x4874b0)||_0x4874b0);return _0x4874b0;},at=(_0x5d10e8,_0x3aa1f3)=>(_0x227b08,_0x35e09e)=>_0x3aa1f3(_0x227b08,_0x35e09e,_0x5d10e8);const gn=_0x4c969f(0x151);exports[_0x4c969f(0x426)]=class{constructor(_0x154fe6,_0x4134a7){this['_configService']=_0x154fe6,this['_HTTPService']=_0x4134a7;}[_0x4c969f(0x10e)](){var _0x3a8726=_0x4c969f,_0x5aa897,_0xe142b6;const _0xecb404=this[_0x3a8726(0x2fe)][_0x3a8726(0x3b6)](Ve),_0x3a2bc5=this[_0x3a8726(0x2fe)]['getConfig'](G);return(_0xe142b6=(_0x5aa897=_0x3a2bc5==null?void 0x0:_0x3a2bc5[_0x3a8726(0x458)])!=null?_0x5aa897:_0xecb404)!=null?_0xe142b6:gn;}async[_0x4c969f(0x2ba)](_0x5f4d80){var _0x3e7a4a=_0x4c969f;const _0x169bec=this[_0x3e7a4a(0x10e)]()+_0x3e7a4a(0x1f7);return{'list':[{'title':_0x3e7a4a(0x17e),'mentions':(await this[_0x3e7a4a(0x355)]['get'](_0x169bec,{'params':{'objectID':_0x5f4d80[_0x3e7a4a(0x2df)],'unitID':_0x5f4d80['unitId']}}))[_0x3e7a4a(0x3da)][_0x3e7a4a(0x487)]['map'](_0x27c347=>({'objectId':_0x27c347['id'],'name':_0x27c347['subject']['name'],'metadata':{'icon':_0x27c347['subject']['avatar']},'label':_0x27c347[_0x3e7a4a(0x34f)][_0x3e7a4a(0x143)],'objectType':a['MentionType'][_0x3e7a4a(0x223)]})),'metadata':{},'type':a['MentionType'][_0x3e7a4a(0x223)]}]};}},exports[_0x4c969f(0x426)]=pn([at(0x0,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x160)])),at(0x1,a[_0x4c969f(0x3e8)](K['HTTPService']))],exports[_0x4c969f(0x426)]);var En=Object[_0x4c969f(0x3ad)],mn=(_0x4f67db,_0x76394b,_0xd2d922,_0x131724)=>{var _0x3a8c51=_0x4c969f;for(var _0x535b4d=_0x131724>0x1?void 0x0:_0x131724?En(_0x76394b,_0xd2d922):_0x76394b,_0x4ba278=_0x4f67db[_0x3a8c51(0x21b)]-0x1,_0x3bbbe5;_0x4ba278>=0x0;_0x4ba278--)(_0x3bbbe5=_0x4f67db[_0x4ba278])&&(_0x535b4d=_0x3bbbe5(_0x535b4d)||_0x535b4d);return _0x535b4d;},le=(_0x3747e2,_0x1a8697)=>(_0x3c4111,_0x319b80)=>_0x1a8697(_0x3c4111,_0x319b80,_0x3747e2);let De=class extends a['RxDisposable']{constructor(_0x42858f,_0x27ee2d,_0x32f557,_0x2ab77d,_0xf70567){var _0x13f3ca=_0x4c969f;super(),this[_0x13f3ca(0x256)]=_0x42858f,this[_0x13f3ca(0x3fe)]=_0x27ee2d,this[_0x13f3ca(0x147)]=_0x32f557,this[_0x13f3ca(0x3c0)]=_0x2ab77d,this[_0x13f3ca(0x462)]=_0xf70567,this[_0x13f3ca(0x14f)](),this['_initCloseConn']();}[_0x4c969f(0x345)](){var _0x39143d=_0x4c969f;const _0x1734cf=async _0x964b94=>{var _0x144b1c=_0x42d5;(await this[_0x144b1c(0x3c0)][_0x144b1c(0x402)](_0x964b94))[_0x144b1c(0x180)]['pipe'](V[_0x144b1c(0x182)](_0x25d5fb=>_0x25d5fb[_0x144b1c(0x170)]===p[_0x144b1c(0x36f)]['SHOULD_CLOSE_CONN']),V[_0x144b1c(0x295)](this['dispose$']))[_0x144b1c(0x221)](_0x18f710=>{var _0x5eb6a2=_0x144b1c;const _0x1bc3c8=_0x18f710,{reason:_0x50e2ef}=_0x1bc3c8[_0x5eb6a2(0x366)];this[_0x5eb6a2(0x462)]['emitEvent']({'id':Z['CLOSE_ROOM'],'data':_0x50e2ef}),this['_permissionService'][_0x5eb6a2(0x475)](new X[(_0x5eb6a2(0x266))](_0x964b94)['id'],!0x1),this['_collaborationSessionService'][_0x5eb6a2(0x2dd)](_0x964b94);});};$[_0x39143d(0x11a)](this[_0x39143d(0x3fe)][_0x39143d(0x302)](a['UniverInstanceType'][_0x39143d(0x3c1)]),this[_0x39143d(0x3fe)][_0x39143d(0x302)](a[_0x39143d(0x39e)]['UNIVER_DOC']))['pipe'](V[_0x39143d(0x26d)](_0x22ec2b=>_0x22ec2b[_0x39143d(0x201)]()),V[_0x39143d(0x182)](_0x5dd449=>!a[_0x39143d(0x19f)](_0x5dd449)),V[_0x39143d(0x295)](this['dispose$']))['subscribe'](_0x1d1f52=>{_0x1734cf(_0x1d1f52);});}[_0x4c969f(0x14f)](){var _0x44c9f0=_0x4c969f;const _0x235ccb=async _0xaf52d8=>{var _0xcf9f2a=_0x42d5;const _0x5232af=await this[_0xcf9f2a(0x3c0)][_0xcf9f2a(0x402)](_0xaf52d8),_0x31f5c1=this[_0xcf9f2a(0x256)][_0xcf9f2a(0x122)](X[_0xcf9f2a(0x479)]);_0x5232af[_0xcf9f2a(0x180)][_0xcf9f2a(0x260)](V[_0xcf9f2a(0x182)](_0x3ae206=>_0x3ae206[_0xcf9f2a(0x170)]===p['CollaborationEvent'][_0xcf9f2a(0x139)]),V['takeUntil'](this[_0xcf9f2a(0x47d)]))[_0xcf9f2a(0x221)](_0x11866f=>{var _0x57237a=_0xcf9f2a;const _0x40eaf9=_0x11866f,{objectId:_0x36e174}=_0x40eaf9[_0x57237a(0x366)];_0x36e174===_0xaf52d8?_0x31f5c1[_0x57237a(0x3e7)](_0xaf52d8):_0x31f5c1[_0x57237a(0x29d)](_0xaf52d8,_0x36e174);});};$[_0x44c9f0(0x11a)](this['_univerInstanceService'][_0x44c9f0(0x302)](a[_0x44c9f0(0x39e)]['UNIVER_SHEET']))[_0x44c9f0(0x260)](V[_0x44c9f0(0x26d)](_0xc98994=>_0xc98994[_0x44c9f0(0x201)]()),V[_0x44c9f0(0x182)](_0x18aaf8=>!a[_0x44c9f0(0x19f)](_0x18aaf8)),V[_0x44c9f0(0x295)](this[_0x44c9f0(0x47d)]))[_0x44c9f0(0x221)](_0x5209a3=>{_0x235ccb(_0x5209a3);});}};De=mn([le(0x0,a[_0x4c969f(0x3e8)](a['Injector'])),le(0x1,a[_0x4c969f(0x443)]),le(0x2,a[_0x4c969f(0x342)]),le(0x3,a[_0x4c969f(0x3e8)](exports[_0x4c969f(0x3a6)])),le(0x4,a[_0x4c969f(0x3e8)](ee))],De);var Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x138b7d,_0x6be5ef,_0x30b672,_0x1c6d2f)=>{for(var _0xbdd929=_0x1c6d2f>0x1?void 0x0:_0x1c6d2f?Cn(_0x6be5ef,_0x30b672):_0x6be5ef,_0x354938=_0x138b7d['length']-0x1,_0x12bc0e;_0x354938>=0x0;_0x354938--)(_0x12bc0e=_0x138b7d[_0x354938])&&(_0xbdd929=_0x12bc0e(_0xbdd929)||_0xbdd929);return _0xbdd929;},ct=(_0x589f3a,_0x31f689)=>(_0x49cdda,_0x34ce48)=>_0x31f689(_0x49cdda,_0x34ce48,_0x589f3a);exports[_0x4c969f(0x183)]=class{constructor(_0x1500fc,_0x2aba9f){var _0x1052de=_0x4c969f;this[_0x1052de(0x2fe)]=_0x1500fc,this['_httpService']=_0x2aba9f;}async[_0x4c969f(0x2ef)](_0x31feb1,_0x5dd934){var _0x2fd919=_0x4c969f,_0x1703eb;const {unitID:_0x42db17,type:_0x517b42,revision:_0x3bdfcc=0x0}=_0x5dd934,_0x3f0d84=this[_0x2fd919(0x468)]()+'/'+_0x517b42+_0x2fd919(0x117)+_0x42db17+'/rev/'+_0x3bdfcc,_0x3f3241=(await this['_httpService'][_0x2fd919(0x122)](_0x3f0d84))[_0x2fd919(0x3da)],_0x3df67c=(_0x1703eb=_0x3f3241['snapshot'])==null?void 0x0:_0x1703eb[_0x2fd919(0x3a2)];if(_0x3df67c){const _0x14e8c2=_0x3df67c==null?void 0x0:_0x3df67c['originalMeta'],_0x34ece3=p[_0x2fd919(0x16b)][_0x2fd919(0x3cb)](p[_0x2fd919(0x184)](_0x14e8c2));_0x3df67c['originalMeta']=_0x34ece3,Object[_0x2fd919(0x2ce)](_0x3df67c['sheets'])[_0x2fd919(0x2c1)](([,_0x4b4d1a])=>{var _0x2f344a=_0x2fd919;const _0x2bae78=_0x4b4d1a[_0x2f344a(0x393)],_0x1073fd=p['textEncoder']['encode'](p[_0x2f344a(0x184)](_0x2bae78));_0x4b4d1a[_0x2f344a(0x393)]=_0x1073fd;});}return _0x3f3241;}async[_0x4c969f(0x1c1)](_0x427f02,_0x2721a8){var _0x4df82b=_0x4c969f;const {unitID:_0x174760,type:_0x2afd8f,blockID:_0x1c8d9b}=_0x2721a8,_0x31f799=this[_0x4df82b(0x132)]()+'/'+_0x2afd8f+_0x4df82b(0x117)+_0x174760+'/block/'+_0x1c8d9b;return(await this['_httpService']['get'](_0x31f799))[_0x4df82b(0x3da)];}async[_0x4c969f(0x1ba)](_0x42c35e,_0x2d1e96){var _0x2bb721=_0x4c969f;const {unitID:_0x61348,type:_0x5998a5,blockID:_0x17f244}=_0x2d1e96,_0x4986ef=this['_getAPIPrefix']()+'/block/'+_0x5998a5+_0x2bb721(0x117)+_0x61348+'/block/'+_0x17f244;return(await this[_0x2bb721(0x454)]['get'](_0x4986ef))[_0x2bb721(0x3da)];}async[_0x4c969f(0x1f8)](_0x5b2d0e,_0x4a7118){var _0x3d5d01=_0x4c969f;const {unitID:_0x35223d,type:_0x40ae0f,from:_0x56042c,to:_0x3ade21}=_0x4a7118,_0x4919d0=this[_0x3d5d01(0x132)]()+'/'+_0x40ae0f+_0x3d5d01(0x117)+_0x35223d+_0x3d5d01(0x3b2)+_0x56042c+_0x3d5d01(0x1df)+_0x3ade21;return(await this[_0x3d5d01(0x454)][_0x3d5d01(0x122)](_0x4919d0))[_0x3d5d01(0x3da)];}[_0x4c969f(0x468)](){var _0x133b14=_0x4c969f,_0xffe0c5;return(_0xffe0c5=this[_0x133b14(0x2fe)]['getConfig'](lt))!=null?_0xffe0c5:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x1b970c=_0x4c969f,_0x53e8fb,_0x443d18;const _0x54d45f=this['_configService'][_0x1b970c(0x3b6)](_t),_0x36bc54=this[_0x1b970c(0x2fe)]['getConfig'](G);return(_0x443d18=(_0x53e8fb=_0x36bc54==null?void 0x0:_0x36bc54[_0x1b970c(0x37c)])!=null?_0x53e8fb:_0x54d45f)!=null?_0x443d18:wt;}async[_0x4c969f(0x409)](_0xc62905,_0x2af672){var _0x32753a=_0x4c969f;const _0x2ae53d=_0x32753a(0x2fc)+_0x2af672[_0x32753a(0x40b)]+_0x32753a(0x117)+_0x2af672[_0x32753a(0x2f6)]+_0x32753a(0x18c);return(await this['_httpService'][_0x32753a(0x122)](_0x2ae53d,{'params':{'resourceId':JSON[_0x32753a(0x35c)](_0x2af672[_0x32753a(0x16d)])}}))[_0x32753a(0x3da)];}[_0x4c969f(0x1da)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4c969f(0x20f)](){var _0x21a106=_0x4c969f;throw new Error(_0x21a106(0x234));}[_0x4c969f(0x1ee)](){var _0x5ed954=_0x4c969f;throw new Error(_0x5ed954(0x234));}[_0x4c969f(0x41b)](){var _0x5c371f=_0x4c969f;throw new Error(_0x5c371f(0x234));}[_0x4c969f(0x133)](){var _0x55e855=_0x4c969f;throw new Error(_0x55e855(0x234));}['getLatestCsReqIdBySid'](){var _0x523abe=_0x4c969f;throw new Error(_0x523abe(0x234));}},exports[_0x4c969f(0x183)]=Tn([ct(0x0,a[_0x4c969f(0x160)]),ct(0x1,a[_0x4c969f(0x3e8)](K[_0x4c969f(0x476)]))],exports[_0x4c969f(0x183)]);var bn=Object['getOwnPropertyDescriptor'],Rn=(_0x450f57,_0x258f8f,_0xf3dc99,_0x2dc416)=>{for(var _0x2d0eaf=_0x2dc416>0x1?void 0x0:_0x2dc416?bn(_0x258f8f,_0xf3dc99):_0x258f8f,_0x50dbc9=_0x450f57['length']-0x1,_0xdfb2b5;_0x50dbc9>=0x0;_0x50dbc9--)(_0xdfb2b5=_0x450f57[_0x50dbc9])&&(_0x2d0eaf=_0xdfb2b5(_0x2d0eaf)||_0x2d0eaf);return _0x2d0eaf;},ue=(_0x4434f6,_0x477c68)=>(_0x6be76e,_0x5627c4)=>_0x477c68(_0x6be76e,_0x5627c4,_0x4434f6);function _0x42d5(_0x32a2e9,_0x161f27){var _0x5cb897=_0x5cb8();return _0x42d5=function(_0x42d5f4,_0x4bdc8b){_0x42d5f4=_0x42d5f4-0xff;var _0x5bb0cc=_0x5cb897[_0x42d5f4];return _0x5bb0cc;},_0x42d5(_0x32a2e9,_0x161f27);}exports['CollaborativeUndoRedoService']=class extends a[_0x4c969f(0x25c)]{constructor(_0x23a1b4,_0x2e0c48,_0x3b51a0,_0x35093b,_0x4dbf9c){var _0x3ec7d2=_0x4c969f;super(_0x23a1b4,_0x2e0c48,_0x3b51a0),this['_transformService']=_0x35093b,this[_0x3ec7d2(0x136)]=_0x4dbf9c;}[_0x4c969f(0x10f)](_0x18f236,_0x58769e){var _0x40245b=_0x4c969f;const _0x47e57c=this[_0x40245b(0x3fd)](_0x18f236);if(_0x47e57c)try{const _0x3321a1=this[_0x40245b(0x304)](_0x47e57c,_0x58769e);this['_substituteUndoStack'](_0x18f236,_0x3321a1);}catch(_0x5f23da){this['_logService'][_0x40245b(0x3d4)](_0x40245b(0x3af),_0x5f23da),this[_0x40245b(0x241)](_0x18f236);}const _0x11a319=this['_getRedoStack'](_0x18f236);if(_0x11a319)try{const _0x5bfcad=this[_0x40245b(0x304)](_0x11a319,_0x58769e);this['_substituteRedoStack'](_0x18f236,_0x5bfcad);}catch(_0x1895e0){this[_0x40245b(0x136)][_0x40245b(0x3d4)](_0x1895e0),this[_0x40245b(0x18d)](_0x18f236);}}['_clearUndo'](_0xe18ff8){var _0x5ccdf7=_0x4c969f;const _0x4f27ec=this[_0x5ccdf7(0x3fd)](_0xe18ff8);_0x4f27ec&&(_0x4f27ec['length']=0x0,this['_updateStatus']());}['_clearRedo'](_0x90e4dd){var _0x10bcec=_0x4c969f;const _0x359d9e=this[_0x10bcec(0x404)](_0x90e4dd);_0x359d9e&&(_0x359d9e['length']=0x0,this[_0x10bcec(0x382)]());}[_0x4c969f(0x159)](_0x4e7daf,_0x508093){var _0x3dd419=_0x4c969f;this[_0x3dd419(0x2a6)][_0x3dd419(0x333)](_0x4e7daf,_0x508093),this[_0x3dd419(0x382)]();}[_0x4c969f(0x108)](_0x4fb00b,_0x523667){var _0x355fcc=_0x4c969f;this[_0x355fcc(0x189)][_0x355fcc(0x333)](_0x4fb00b,_0x523667),this[_0x355fcc(0x382)]();}['_transformStack'](_0xcbbd9e,_0x21941e){var _0x46b64c=_0x4c969f;const _0x51f0e0=[];let _0x13324c=_0x21941e,_0x337256=_0x21941e;for(let _0x173133=_0xcbbd9e[_0x46b64c(0x21b)]-0x1;_0x173133>=0x0;_0x173133--){const {unitID:_0x30a12d,undoMutations:_0x336f81,redoMutations:_0x3c9eca}=_0xcbbd9e[_0x173133],_0x54e94a=this['_transformService']['transformMutationsWithChangeset'](_0x13324c,_0x336f81),_0x578e7f=this[_0x46b64c(0x3e3)]['transformMutationsWithChangeset'](_0x337256,_0x3c9eca);if(p[_0x46b64c(0x391)](_0x54e94a)||p['isTransformMutationsWithChangesetFailure'](_0x578e7f)){this[_0x46b64c(0x136)][_0x46b64c(0x3d4)](_0x46b64c(0x3af),'transformStack\x20failed!',_0x54e94a,_0x578e7f);break;}_0x13324c=_0x54e94a['c1Prime'],_0x337256=_0x578e7f['c1Prime'],_0x51f0e0[_0x46b64c(0x1ae)]({'unitID':_0x30a12d,'undoMutations':_0x54e94a[_0x46b64c(0x39b)],'redoMutations':_0x578e7f['m2Prime']});}return _0x51f0e0['reverse']();}},exports[_0x4c969f(0x3b7)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a['ICommandService']),ue(0x2,a['IContextService']),ue(0x3,p[_0x4c969f(0x36a)]),ue(0x4,a[_0x4c969f(0x190)])],exports[_0x4c969f(0x3b7)]);var On=Object[_0x4c969f(0x1c3)],yn=Object[_0x4c969f(0x3ad)],Nn=(_0x821a63,_0x20927e,_0x51e361)=>_0x20927e in _0x821a63?On(_0x821a63,_0x20927e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51e361}):_0x821a63[_0x20927e]=_0x51e361,Dn=(_0x2d5e99,_0x4b9571,_0x5401f9,_0x135ea2)=>{var _0x53dcc9=_0x4c969f;for(var _0x304c1c=_0x135ea2>0x1?void 0x0:_0x135ea2?yn(_0x4b9571,_0x5401f9):_0x4b9571,_0x38835e=_0x2d5e99[_0x53dcc9(0x21b)]-0x1,_0x39acca;_0x38835e>=0x0;_0x38835e--)(_0x39acca=_0x2d5e99[_0x38835e])&&(_0x304c1c=_0x39acca(_0x304c1c)||_0x304c1c);return _0x304c1c;},Me=(_0x2bedd0,_0x8f1b69)=>(_0x533c12,_0x5860f2)=>_0x8f1b69(_0x533c12,_0x5860f2,_0x2bedd0),Un=(_0x1c720e,_0x1c659b,_0x195b8d)=>Nn(_0x1c720e,_0x1c659b+'',_0x195b8d);function _0x5cb8(){var _0x3e1a22=['_submitChangeset','_transformService','catch','SUBMIT_CHANGESET_TIMEOUT','AWAITING_WITH_PENDING','initWorkbookPermissionChange','Inject','connection\x20error','toStringTag','userID','172Apddsq','_socketReady','onSendChangeset','INVALID_INVITE_CODE','encodeURIComponent','offline','take','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformSelections','_initMergeInterceptor','CBC','[UniverCollaborationClientPlugin]','UniverCollaborationClientPlugin','origin','UNDEFINED','UNIVER_PROJECT','_toggleOnline','_getUndoStack','_univerInstanceService','_config','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_getUploadFileURL','requireSession','Base','_getRedoStack','collaboratorID','members','setConfig','getTypeOfUnitDisposed$','getResourcesRequest','AwaitingWithPendingState','type','getTime','_sender','deleteCollaborator','_getCtorByUniverType','getLocalCacheKey','create','_waitForHeartbeatResponse','SYNCED','_collaborationTimeoutTimer','_schedule','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','Plugin','MOBILE_HAS_BEEN_BOUND','conflict','getActiveSheet','saveChangeset','compute','CONNECTOR_DATA_TOO_LARGE','CollaborationUIEventId','decrypt','readAsDataURL','OfflineState','pad','_toggleOffline','updateOfflineData','_applyRemoteChangeset','MentionIoHttpService','_parse','_onRecvEvent','104xofDXb','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_members$','status','COMPRESS_MUTATION_SEND','firstValueFrom','COLLAB_WEB_SOCKET_URL_KEY','DEFAULT_WS_SESSION_TICKET_URL','_onOffline','Base64','_queuedRemoteChangesets','session','_timeoutTimer','session.room-full','HEARTBEAT_INTERVAL','OTHER_CLIENT_EDITING','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_init','_retryConnectingTimer','from','BlockCipher','auth.needGotoLoginAlert','INVITE_CODE_HAS_BEEN_UES','UserManagerService','CollaborationStatus','Univer','IUniverInstanceService','LOGIN_FAILED','fetchThroughInterceptors','HELLO','SHA1','BehaviorSubject','LEAVE','_initRequestHeader','_commentUpdate$','/allowed','sin','@univerjs-pro/collaboration','CommentService','_onUserLeave','join','responseType','confirm','_httpService','decryptBlock','?url=','_unlockTransition','authzUrl','unitInfo$','YUUMI_CONNECTOR_URL_NOT_FOUND','_clearLocalCache','INVITE_CODE_ALREADY_BOUND','concat','_entities','_state','IImageIoService','equals','_collaborationUIEventService','WordArray','sessionStatus','random','_minBufferSize','CLOSE_ROOM','getSnapshotAPIPath','objectType','GLOBAL_ROOMS_CNT_EXCEEDS','JOIN','ws://127.0.0.1:8000/universer-api/comb/connect','WECHAT_HAS_BEEN_BOUND','ALREADY_EXISTS','_transformRemoteChangesetByIMECache','_onConflict','APPLY_NON_SEQUENTIAL_REVISION','awaiting','ITelemetryService','onTransformRemoteChangesetByIMECache','updatePermissionPoint','HTTPService','setShowComponents','toggleOffline','SheetPermissionInitController','LICENSE_DISTRO_REJECTED','PENDING','LOCAL_CACHE_INTERVAL','dispose$','EvpKDF','roles','APPLY_DUPLICATED','RETRY_CONNECTING_MAX_COUNT','_sessionStatus$','hasher','Tools','LICENSE_MAX_UNITS_EXCEEDED','getFocusedUnit','collaborators','encryptBlock','size','ivSize','formatter','UnitSnapshot','_change$','HTTPRequest','Hasher','/universer-api/oidc/authpage','_createInitialStateImpl','_hash','awaiting_with_pending','[CollaborationSessionService]:\x20socket\x20error','joinEvent','_onLocalMutation','getAllMembers','LOGIN_URL_KEY','_substituteRedoStack','JOIN_ROOM_FULL','FETCH_MISS','_updateLocalCache','&assign=','CollaborationController','_getAPIPrefixPath','transformUndoRedo','_collabSessionService','onMissedChangesetFetched','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','capture','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setCurrentUser','_roomCreated$','/unit/','getMemberID','COLLAB_SUBMIT_CHANGESET_URL_KEY','merge','ERROR_IMAGE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','USERS_LEAVE','getUnit','COMPRESS_MUTATION_APPLY','disableLocalCache','_getSignURL','get','CommandType','CollaborationImageIoService','/object/','compose','FETCH_MISSING','CompressMutationService','INetworkConditionService','UNIVER_DOC','EMAIL_HAS_BEEN_BOUND','_event$','_lockTransition','YUUMI_ALL_TABLES_IS_INVALID','ImageSourceType','readyForCollab','createCollaborator','_getAPIPrefix','copyFileMeta','max','ciphertext','_logService','addHandlerCallback','resend','UPDATE_PERMISSION_OBJ','_oKey','MOBILE_VERIFY_CODE_MISMATCH','IUndoRedoService','_resendTimer','_createSocket','AUTHZ_URL_KEY','concatMap','collabWebSocketUrl','_handlerCallback','name','CHANGESET_REJ','session.room-permission-denied','SEND_CHANGESET_TIMEOUT','_permissionService','_status$','_updateState','_incrementRevisionNumber','YUUMI_UNABLE_LOAD_URL','url','charAt','\x0aCurrent:\x20','_initUnitPermissionChange','_createHandler','/universer-api/authz','_rescheduleHeartbeat','_DEC_XFORM_MODE','UserProfileImg','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','COMMENT_UPDATE','save\x20fail\x20reason\x20is\x20','_transitionLocked','_substituteUndoStack','CONFLICT','unit-cache-','PERMISSION_REJ','UnitStatus','failed\x20to\x20apply\x20missed\x20changesets!','_waitCount','IConfigService','_transformIMECache','[OfflineState]:\x20received\x20changeset.','isTransformMutationsWithChangesetSuccess','_state$','clear','sid','href','USER_NOT_INVITED_CODE','[OfflineState]:\x20received\x20acknowledgement.','UNIVER_UNKNOWN','textEncoder','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','resourceIDs','getImage','enableCollaboration','eventID','_localCacheService','_memberService','onRemoteRej','collabSubmitChangesetUrl','salt','_clearRetryConnectingTimer','_transformRemoteChangesetByStateCache','_socket$','YUUMI_RATE_OVER_LIMIT','IDLE','file','listCollaborators','DEFAULT_FILE_NAME','People','NOT_FOUND','event$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','filter','SnapshotServerOverHTTPService','b64DecodeUnicode','_registerDependencies','_networkConditionService','signUrlServerUrl','mutations','_redoStacks','update','_getDownloadEndpointURL','/resources','_clearRedo','fetchMiss','_entityInit$','ILogService','stopTime','_type','processBlock','collaboration-client.local-cache-service','socketService','asObservable','objectID','string','buffer','\x20-\x20','_onRemoteRetry','key','_data','src','isInternalEditorID','_onJoinRoomEvent','_clearTimeoutTimer','univer-pro.collaboration-client.network-condition.service','_undoRedoService','17082770lYifne','OpenSSL','onRemoteChangeset','ISnapshotServerService','MemberService','_snapshotServerService','\x20to\x20','actions','UNIVER_COLLABORATION_CLIENT_PLUGIN','getWorkbookSelections','push','onMissingChangesets','_socket','_invKeySchedule','_transformSelections','getMember','append','AuthzIoHttpService','commentUpdate$','_onFetchMissResult','_exhaustRemoteChangesetQueue','SOCKET_FAILED','getDeserializedSheetBlock','Module','registerDependencies','getValue','_fetchMissChangesets','onTransformState','AES','getSheetBlock','PERMISSION_DENIED','defineProperty','[CollaborationState]:\x20apply\x20error!','exports','NoPadding','onTransformIME','_candidateSocket','words','socket$','Injector','/role','getCollabEntity','submit\x20changeset\x20error!','sendChangesetTimeout','YUUMI_AI_RUN_FAILED','textRanges','_doCryptBlock','SetSelectionsOperation','_xformMode','_transformStateCache','crypto','_collaborationPaused','every','@univerjs/telemetry','saveSnapshot','location','createIdentifier','Pkcs7','_telemetryInfo','&to=','parse','init','open$','dispose','entityInit$','PendingState','createEncryptor','ReplaySubject','FetchingMissState','_onCombEvent','lib','_compressMutationService','UNKNOWN_CODE','function','saveSheetBlock','now','_singleActiveUnitService','SUBMIT_CHANGESET','c2Prime','_startTelemetryCollaborationNewChangeset','97881hNZAhW','FAIL','onSyncEditingCollabCursor','/collaborator','fetchMissingChangesets','_awaitingChangeset','byteOffset','LIVESHARE_OPERATION','_changesetSessionId','Utf8','isPermissionRej','_isPermissionRej','disposeWithMe','getUnitId','toString','UNISCRIPT_RUN','toDisposable','loadUnit','revision','symbol','SheetsSelectionsService','awaitingChangeset','updateMember','_unitID','DEFAULT_COLLAB_WEB_SOCKET_URL','byteLength','removeMember','updateSnapshot','fetch_missing','HEARTBEAT','telemetry\x20info\x20is\x20not\x20initialized','SNAPSHOT_HAS_BEEN_REMOVED','splice','encrypt','_onConnectionFailed','TOO_MANY_REQUESTS','algo','prototype','/object','length','blockSize','editing\x20status\x20changed\x20to','_onRemoteChangeset','ceil','cfg','subscribe','loginUrlKey','PERSON','RECV','LICENSE_IMPORT_SIZE_EXCEEDED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_iKey','CollaborationSession','floor','[CollaborationEntity]','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','duration','_createHelper','_resendWithTimeout','_syncEditingCollabCursor','_keyPriorReset','_clearHeartbeatTimer','$super','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','ONLINE','call','params','LIVESHARE_FETCH_OPERATIONS','HEARTBEAT_TIMEOUT','getRandomValues','LICENSE_EXPORT_SIZE_EXCEEDED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[DataLoaderService]','_getLoginPath','\x20in\x20_schedule.','_unitInfo$','_clearUndo','enableOfflineEditing','NEW_CHANGESETS','_tryReconnect','then','next','pluginName','headers','INTERNAL_ERROR','Disposable','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SNAPSHOT_INVALID_SNAPSHOT','focused$','mode','JSONX','unitId\x20is\x20not\x20found','_startCollaboration','UNRECOGNIZED','APPLY_REJECT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sendHeartbeat','_injector','/new_changes','kdf','ERROR_IMAGE_TYPE','executeCommand','OPTIONAL','LocalUndoRedoService','readInt32LE','LIVESHARE_REQUEST_HOST','_getCurrentRevision','pipe','liveShareNewHost','@univerjs/docs','result','CHANGESET_SHOULD_RETRY','range','WorkbookEditablePermission','USERS_ENTER','collaMsg','_retryCount','close$','msCrypto','default','map','__creator','RETRY_CONNECTING_MAX_COUNT_KEY','sigBytes','_process','_imageSourceCache','randomBytes','/universer-api/uniscript','Optional','_onConnectionOpen','[FetchMissState]','_pendingMutations','interceptor','appendMutation','_scheduleCompleteTimestamp','_shouldReportTelemetry','_revisionService','enableSingleActiveInstanceLock','session.join-failed','ConflictState','[PendingState]:\x20unhandled\x20univer\x20type:\x20','MD5','RichTextEditingMutation','downloadEndpointUrl','Subject','resolve','image/jpeg','_replaceFileID','SNAPSHOT_URL_KEY','UNAUTHENTICATED','generateRandomId','?size=','uploadFileServerUrl','_ENC_XFORM_MODE','finalize','delay','objects','getUnitType','LocaleService','Malformed\x20UTF-8\x20data','takeUntil','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HMAC','/-/object/list','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_key','_createHmacHelper','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','refreshPermission','_sendHeartbeatTimer','hasOwnProperty','Cipher','_replayCachedMutations','OFFLINE','pending','uuidv4','updateCollaborator','_undoStacks','c1Prime','createDecryptor','PasswordBasedCipher','socket\x20close','_clearScheduledTask','shareReplay','_append','_mode','extend','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrentRevOfUnit','debug','@univerjs/core','Latin1','DocCollaborationEntity','_prevBlock','INGEST','close','target','list','UNKNOWN_CMD','csAckEvent','getCollabEntity$','requestParams','/universer-api/file/{fileID}/sign-url','ILocalCacheService','forEach','uniscriptRunEvent','delete','listRoles','@univerjs/sheets','YUUMI_NO_CUBOID_FOR_QUESTION','csShouldRetryEvent','startsWith','find','parseChangesetToProtocol','LIVESHARE_TERMINATE','_sendingTimer','reqId','entries','getInterceptPoints','_iv','loadSheet','Encryptor','_joinRoom','_acknowledgedAwaitingChangeset','waitForRoom$','leaveEvent','onCommentUpdate','Failed\x20to\x20update\x20permission\x20point','JOIN_ROOM_PERMISSION_DENIED','@univerjs-pro/license','_commentService','findIndex','closeSession','_sheetTransformSelectionsService','unitId','1466202GVyZQe','JOIN_ROOM_FAILED','isArray','ICollaborationSocketService','_stopTelemetryCollaborationNewChangeset','_roomMembers','UnitEmbedded','_onUserJoin','RevisionService','/universer-api/comb','YUUMI_ASYNCIO_CANCELLED','changesets','ISocketService','ENSURE_SNAPSHOT_EXECUTION','getImageSourceCache','getUnitOnRev','getRoom','setWaitCount','onlyLocal','LIVESHARE_NEW_HOST','HttpImport','AwaitingState','unitID','liveShareOperation','_cipher','shouldCloseConn','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','1914608QybSGW','/universer-api/snapshot/','image/bmp','_configService','BufferedBlockAlgorithm','charCodeAt','getCurrentUser','getTypeOfUnitAdded$','[PendingState]:\x20received\x20rejection.','_transformStack','keySize','method','PSEUDO_FETCH_MISSING_RESULT','slice','SheetTransformSelectionsService','clamp','rev','onRemoteAck','selections','PY_RUNTIME_SCRIPT_ERROR','fromCharCode','_socketService','_showConflictNotification','APPLY_REVISION_CONFILICT','_onMessage','_initDependencies','add','code','Quantity','permissionRejEvent','1212985jwpzGU','FileId','transformMutationsWithChangeset','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','change$','allowed','includes','HmacSHA1','unsubscribe','_doFinalize','UNIVER_SLIDE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CollaborationUIEventService','_userManagerService','univer-pro.collaboration-client-socket-service','_nDataBytes','rxjs/operators','LOCAL_CACHE_INTERVAL_KEY','pauseCollaboration','touchDependencies','_createInitialState','_sessions','iterations','JOIN_ROOM_NOT_EXISTS','transformSelections','[CollaborationSession]','set','UniverNetworkPlugin','createSocket','INVALID_ARGUMENT','EmptyMutation','x-univer-host','ImageUploadStatusType','CHANGESET_REVISION_CONFILICT','mixIn','routeKey','mergeOverrideWithDependencies','reject','_disableEditing','_localeService','enc','IPermissionService','MergeInterceptorFactory','onRemoteRetry','_initCloseConn','CHANGESET_ACK','_throwTelemetryCollaborationNewChangeset','_getSendChangesetTimeout','unknown','apply','_resendTimeout','reconnect','getUnitStatus$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','subject','title','localeService','COLLAB_SUBMIT_CHANGESET_URL','patch','parseProtocolChangeset','_HTTPService','deserializeToCombResponse','baseRev','_onRemoteRejected','format','_keySchedule','CollaborationSocketService','stringify','_eventService','complete','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_PERMISSION_DENIED','emitEvent','_decreaseWaiting','fromCollab','isTransformChangesetsSuccess','clone','data','abs','reset','onCommandExecuted','ITransformService','cmd','createInstance','_clearCollaborationTimeoutTimer','replace','CollaborationEvent','_emitMembers','5AwcMxw','6508663cYxHLu','has','Hex','COLLAB_WEB_SOCKET_URL','onLocalMutation','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CollaborationEntity','AWAITING','Undefined','_doReset','snapshotServerUrl','subUnitId','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverCollaborationPlugin','registerHTTPInterceptor','Rectangle','_updateStatus','_hasher','transformChangesets','Decryptor','SheetCollaborationEntity','objectActions','_snapshotService','_nRounds','UPDATE_CURSOR','[SyncedState]:\x20received\x20acknowledgement.','_checkMissing','&source=','_executeRemoteChangeset','override','getSheetId','isTransformMutationsWithChangesetFailure','SessionStatus','originalMeta','DataLoaderService','loadOfflineData','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','HmacMD5','memberID','collaboration-client.config','_telemetryService','m2Prime','\x0aAfter:\x20','_changesetReqId','UniverInstanceType','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','RxDisposable','ThresholdInterceptorFactory','workbook','post','message$','withCredentials','CollaborationSessionService','saveImage','/-/object/-/batch_allowed','substr','_commandService','/universer-api/stream/file/upload','_doProcessBlock','getOwnPropertyDescriptor','SOCKET_FAILED_RETRY','[CollaborationUndoRedoService]','incrementRevOfUnit','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/fetchmissing?from=','_members','_scheduleCollaborationTimeoutTimer','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getConfig','CollaborativeUndoRedoService','_handler','onTransformRemoteChangesetByStateCache','toggleOnline','JOINING','error$','SyncedState','loadUnitOfRevision','startTime','_collaborationSessionService','UNIVER_SHEET','padding','SEND_CHANGESET_TIMEOUT_KEY','_transformUndoredo','localCacheService','BlockCipherMode','HttpExport','session.room-not-exists','_socketMessageSubscription','getGlobalObject','encode','[PendingState]:\x20received\x20acknowledgement.','synced','_instanceService','BASE64','InsertSheetMutation','send','INVITE_CODE_REQUIRED','ICommandService','error','_reverseMap','ISingleActiveUnitService','status$','POST','state$','body','sessionStatus$','__Key__','_tryEnsureSocket','OTHER_CLIENTS_EDITING','_remoteChangesetQueue','283212dvUsVI','indexOf'];_0x5cb8=function(){return _0x3e1a22;};return _0x5cb8();}const An=_0x4c969f(0x1ac);exports[_0x4c969f(0x3f8)]=class extends a[_0x4c969f(0x417)]{constructor(_0x51b0e6,_0x439759,_0x42fdeb,_0x35066e){var _0x4e8644=_0x4c969f;super(),A(this,'_config'),(this[_0x4e8644(0x136)]=_0x439759,this['_injector']=_0x42fdeb,this['_configService']=_0x35066e);const {..._0xf82ed2}=a[_0x4e8644(0x11a)]({},Kt,_0x51b0e6);if(!_0xf82ed2[_0x4e8644(0x195)])throw new Error(_0x4e8644(0x29c));this[_0x4e8644(0x3ff)]=_0xf82ed2,this[_0x4e8644(0x2fe)][_0x4e8644(0x407)](G,_0xf82ed2);}['onStarting'](){var _0x597d06=_0x4c969f;this['_registerDependencies'](),this[_0x597d06(0x314)]();}[_0x4c969f(0x185)](){var _0x4ab726=_0x4c969f,_0x3cbf33,_0x415af8;this[_0x4ab726(0x256)][_0x4ab726(0x373)](a['IUndoRedoService'])&&this[_0x4ab726(0x136)][_0x4ab726(0x3d4)](_0x4ab726(0x3f7),_0x4ab726(0x112));const _0x490243=a[_0x4ab726(0x33d)]([[a[_0x4ab726(0x13c)],{'useClass':exports[_0x4ab726(0x3b7)]}],[exports[_0x4ab726(0x3a6)]],[exports[_0x4ab726(0x1a8)]],[exports[_0x4ab726(0x309)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x4ab726(0x394)]],[He,{'useClass':this[_0x4ab726(0x3ff)][_0x4ab726(0x195)]}],[p['ISnapshotServerService'],{'useClass':exports[_0x4ab726(0x183)]}],[a['IAuthzIoService'],{'useClass':exports['AuthzIoHttpService']}],[z[_0x4ab726(0x460)],{'useClass':exports[_0x4ab726(0x124)]}],[a['IMentionIOService'],{'useClass':exports['MentionIoHttpService']}],[exports[_0x4ab726(0x10d)]],[xe]],(_0x3cbf33=this[_0x4ab726(0x3ff)])==null?void 0x0:_0x3cbf33[_0x4ab726(0x38f)]);if(!((_0x415af8=this[_0x4ab726(0x3ff)])!=null&&_0x415af8[_0x4ab726(0x27e)])){const _0x588c14=_0x490243[_0x4ab726(0x2dc)](([_0x1283c0])=>_0x1283c0===de);_0x588c14!==-0x1&&_0x490243[_0x4ab726(0x214)](_0x588c14,0x1);}a[_0x4ab726(0x1bc)](this[_0x4ab726(0x256)],_0x490243);}[_0x4c969f(0x314)](){var _0x29715b=_0x4c969f,_0x299bff,_0x19cdae,_0x558efb;this[_0x29715b(0x256)]['get'](K['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':K[_0x29715b(0x3a1)]({'maxParallel':0x6})}),(_0x299bff=this[_0x29715b(0x3ff)])!=null&&_0x299bff[_0x29715b(0x242)]||(_0x19cdae=this[_0x29715b(0x256)][_0x29715b(0x122)](q,a[_0x29715b(0x317)][_0x29715b(0x25b)]))==null||_0x19cdae[_0x29715b(0x120)](),(_0x558efb=this[_0x29715b(0x3ff)])!=null&&_0x558efb['enableAuthServer']&&a[_0x29715b(0x32c)](this[_0x29715b(0x256)],[[ye]]),a[_0x29715b(0x32c)](this['_injector'],[[Ne],[exports['CollaborationController']],[De]]);}},Un(exports[_0x4c969f(0x3f8)],_0x4c969f(0x247),An),exports[_0x4c969f(0x3f8)]=Dn([a['DependentOn'](p[_0x4c969f(0x37f)],K[_0x4c969f(0x334)]),Me(0x1,a[_0x4c969f(0x190)]),Me(0x2,a[_0x4c969f(0x3e8)](a[_0x4c969f(0x1cb)])),Me(0x3,a['IConfigService'])],exports[_0x4c969f(0x3f8)]),exports[_0x4c969f(0x13f)]=Ve,exports[_0x4c969f(0x181)]=G,exports[_0x4c969f(0x119)]=It,exports[_0x4c969f(0x42f)]=ut,exports[_0x4c969f(0x441)]=Be,exports[_0x4c969f(0x41e)]=Z,exports[_0x4c969f(0x325)]=ee,exports[_0x4c969f(0x44f)]=$e,exports[_0x4c969f(0x20c)]=dt,exports[_0x4c969f(0x377)]=Gt,exports[_0x4c969f(0x430)]=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x4c969f(0x2e3)]=He,exports[_0x4c969f(0x2c0)]=q,exports[_0x4c969f(0x129)]=mt,exports[_0x4c969f(0x3d6)]=de,exports[_0x4c969f(0x47c)]=Ft,exports[_0x4c969f(0x32a)]=Bt,exports[_0x4c969f(0x107)]=pt,exports[_0x4c969f(0x299)]=Yt,exports[_0x4c969f(0x26f)]=ft,exports[_0x4c969f(0x3c3)]=Mt,exports['SNAPSHOT_SERVER_URL_KEY']=_t,exports[_0x4c969f(0x289)]=lt,exports[_0x4c969f(0x392)]=re,exports[_0x4c969f(0x15d)]=je,exports[_0x4c969f(0x356)]=Ct,exports[_0x4c969f(0x410)]=oi,exports['serializeCombRequest']=Tt;