@univerjs-pro/collaboration-client 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +13 -13
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x473071=_0x1e39;(function(_0x3d2d8f,_0x13f5b1){var _0x46fe57=_0x1e39,_0x2d257a=_0x3d2d8f();while(!![]){try{var _0x54879c=parseInt(_0x46fe57(0x4a6))/0x1*(-parseInt(_0x46fe57(0x362))/0x2)+-parseInt(_0x46fe57(0x4b2))/0x3+parseInt(_0x46fe57(0x45b))/0x4+parseInt(_0x46fe57(0x37c))/0x5*(-parseInt(_0x46fe57(0x224))/0x6)+-parseInt(_0x46fe57(0x288))/0x7*(parseInt(_0x46fe57(0x201))/0x8)+-parseInt(_0x46fe57(0x326))/0x9*(-parseInt(_0x46fe57(0x207))/0xa)+-parseInt(_0x46fe57(0x273))/0xb*(-parseInt(_0x46fe57(0x2e8))/0xc);if(_0x54879c===_0x13f5b1)break;else _0x2d257a['push'](_0x2d257a['shift']());}catch(_0x246545){_0x2d257a['push'](_0x2d257a['shift']());}}}(_0x8596,0xedcba));var bt=Object['defineProperty'],Rt=(_0x10c165,_0x177bb8,_0x1a04ac)=>_0x177bb8 in _0x10c165?bt(_0x10c165,_0x177bb8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a04ac}):_0x10c165[_0x177bb8]=_0x1a04ac,A=(_0x464d86,_0xc97b29,_0x43b40d)=>Rt(_0x464d86,typeof _0xc97b29!=_0x473071(0x23f)?_0xc97b29+'':_0xc97b29,_0x43b40d);Object[_0x473071(0x389)](exports,Symbol[_0x473071(0x43f)],{'value':_0x473071(0x344)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt=_0x473071(0x417),Ut=_0x473071(0x2ea),At=0x7d0,_t=_0x473071(0x448),Pt=_0x473071(0x194),ht='HEARTBEAT_INTERVAL',Lt=0x7530,ke='HEARTBEAT_TIMEOUT',lt=0x4e20,Mt=0x4e20,ut=_0x473071(0x374),wt=0x3,xt=_0x473071(0x327),kt=0x3e8,$t=_0x473071(0x456),Ht=_0x473071(0x379),jt=_0x473071(0x366),Bt=_0x473071(0x348);var vt=(_0x44d9c1=>(_0x44d9c1[_0x44d9c1[_0x473071(0x3b2)]=0x0]=_0x473071(0x3b2),_0x44d9c1[_0x44d9c1['OK']=0x1]='OK',_0x44d9c1[_0x44d9c1[_0x473071(0x252)]=0x2]=_0x473071(0x252),_0x44d9c1[_0x44d9c1[_0x473071(0x494)]=0x3]=_0x473071(0x494),_0x44d9c1[_0x44d9c1[_0x473071(0x3dc)]=0x4]=_0x473071(0x3dc),_0x44d9c1[_0x44d9c1[_0x473071(0x29d)]=0x5]='UNAUTHENTICATED',_0x44d9c1[_0x44d9c1[_0x473071(0x44a)]=0x6]=_0x473071(0x44a),_0x44d9c1[_0x44d9c1['INVALID_ARGUMENT']=0x7]=_0x473071(0x30c),_0x44d9c1[_0x44d9c1[_0x473071(0x33d)]=0x8]='TOO_MANY_REQUESTS',_0x44d9c1[_0x44d9c1[_0x473071(0x36d)]=0x9]=_0x473071(0x36d),_0x44d9c1[_0x44d9c1[_0x473071(0x3f7)]=0xa]=_0x473071(0x3f7),_0x44d9c1[_0x44d9c1['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x44d9c1[_0x44d9c1[_0x473071(0x426)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x44d9c1[_0x44d9c1[_0x473071(0x318)]=0xd]=_0x473071(0x318),_0x44d9c1[_0x44d9c1[_0x473071(0x1ac)]=0xe]=_0x473071(0x1ac),_0x44d9c1[_0x44d9c1[_0x473071(0x1b0)]=0xf]=_0x473071(0x1b0),_0x44d9c1[_0x44d9c1[_0x473071(0x17c)]=0x10]=_0x473071(0x17c),_0x44d9c1[_0x44d9c1['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x473071(0x37b),_0x44d9c1[_0x44d9c1[_0x473071(0x2ce)]=0x65]=_0x473071(0x2ce),_0x44d9c1[_0x44d9c1[_0x473071(0x24e)]=0xc9]=_0x473071(0x24e),_0x44d9c1[_0x44d9c1['USER_IS_ANONYMOUS']=0xca]=_0x473071(0x21c),_0x44d9c1[_0x44d9c1[_0x473071(0x1c1)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x44d9c1[_0x44d9c1[_0x473071(0x402)]=0x1771]=_0x473071(0x402),_0x44d9c1[_0x44d9c1[_0x473071(0x271)]=0x1772]=_0x473071(0x271),_0x44d9c1[_0x44d9c1[_0x473071(0x328)]=0x1773]=_0x473071(0x328),_0x44d9c1[_0x44d9c1[_0x473071(0x479)]=0x1b59]='APPLY_REJECT',_0x44d9c1[_0x44d9c1[_0x473071(0x38f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x44d9c1[_0x44d9c1[_0x473071(0x47d)]=0x1b5b]=_0x473071(0x47d),_0x44d9c1[_0x44d9c1[_0x473071(0x255)]=0x1b5c]=_0x473071(0x255),_0x44d9c1[_0x44d9c1[_0x473071(0x36c)]=0x1b5d]=_0x473071(0x36c),_0x44d9c1[_0x44d9c1['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x473071(0x1e3),_0x44d9c1[_0x44d9c1[_0x473071(0x251)]=0x2329]=_0x473071(0x251),_0x44d9c1[_0x44d9c1['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x473071(0x41e),_0x44d9c1[_0x44d9c1[_0x473071(0x1a4)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x44d9c1[_0x44d9c1[_0x473071(0x2e9)]=0x232c]=_0x473071(0x2e9),_0x44d9c1[_0x44d9c1[_0x473071(0x16c)]=0x232d]=_0x473071(0x16c),_0x44d9c1[_0x44d9c1[_0x473071(0x17b)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x44d9c1[_0x44d9c1[_0x473071(0x190)]=0x2712]=_0x473071(0x190),_0x44d9c1[_0x44d9c1[_0x473071(0x174)]=0x2713]=_0x473071(0x174),_0x44d9c1[_0x44d9c1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x473071(0x19a),_0x44d9c1[_0x44d9c1[_0x473071(0x4e2)]=0x271a]=_0x473071(0x4e2),_0x44d9c1[_0x44d9c1['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x44d9c1[_0x44d9c1[_0x473071(0x3d0)]=0x271c]=_0x473071(0x3d0),_0x44d9c1[_0x44d9c1[_0x473071(0x3d9)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x44d9c1[_0x44d9c1[_0x473071(0x453)]=0x271e]=_0x473071(0x453),_0x44d9c1[_0x44d9c1['YUUMI_AI_RUN_FAILED']=0x271f]=_0x473071(0x4a7),_0x44d9c1[_0x44d9c1[_0x473071(0x16a)]=0x2720]=_0x473071(0x16a),_0x44d9c1[_0x44d9c1[_0x473071(0x1b4)]=0x2af9]=_0x473071(0x1b4),_0x44d9c1[_0x44d9c1[_0x473071(0x459)]=0x2ee1]=_0x473071(0x459),_0x44d9c1[_0x44d9c1[_0x473071(0x189)]=0x2ee2]=_0x473071(0x189),_0x44d9c1[_0x44d9c1[_0x473071(0x2a1)]=0x2ee3]=_0x473071(0x2a1),_0x44d9c1[_0x44d9c1['USER_NOT_INVITED_CODE']=0x2ee4]=_0x473071(0x1f9),_0x44d9c1[_0x44d9c1[_0x473071(0x1a6)]=0x2ee5]=_0x473071(0x1a6),_0x44d9c1[_0x44d9c1[_0x473071(0x2e2)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x44d9c1[_0x44d9c1[_0x473071(0x3df)]=0x32ca]=_0x473071(0x3df),_0x44d9c1[_0x44d9c1[_0x473071(0x1f7)]=0x32cb]=_0x473071(0x1f7),_0x44d9c1[_0x44d9c1[_0x473071(0x263)]=0x36b1]=_0x473071(0x263),_0x44d9c1[_0x44d9c1[_0x473071(0x45d)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x44d9c1[_0x44d9c1[_0x473071(0x3c7)]=0x36b3]=_0x473071(0x3c7),_0x44d9c1[_0x44d9c1[_0x473071(0x1d6)]=0x36b4]=_0x473071(0x1d6),_0x44d9c1[_0x44d9c1['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x44d9c1[_0x44d9c1[_0x473071(0x385)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x44d9c1[_0x44d9c1[_0x473071(0x342)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x44d9c1[_0x44d9c1[_0x473071(0x31e)]=0x36b8]=_0x473071(0x31e),_0x44d9c1[_0x44d9c1[_0x473071(0x451)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x44d9c1[_0x44d9c1[_0x473071(0x38d)]=0x3716]=_0x473071(0x38d),_0x44d9c1[_0x44d9c1[_0x473071(0x2b4)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x44d9c1[_0x44d9c1[_0x473071(0x4db)]=0x37dd]=_0x473071(0x4db),_0x44d9c1[_0x44d9c1['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x44d9c1[_0x44d9c1[_0x473071(0x335)]=0x3a9a]=_0x473071(0x335),_0x44d9c1[_0x44d9c1[_0x473071(0x4a5)]=0x3a9b]=_0x473071(0x4a5),_0x44d9c1[_0x44d9c1[_0x473071(0x234)]=0x3a9c]=_0x473071(0x234),_0x44d9c1[_0x44d9c1[_0x473071(0x319)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x44d9c1[_0x44d9c1['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x473071(0x30a),_0x44d9c1[_0x44d9c1[_0x473071(0x39b)]=0x3a9f]=_0x473071(0x39b),_0x44d9c1[_0x44d9c1['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x473071(0x386),_0x44d9c1[_0x44d9c1['UNRECOGNIZED']=-0x1]=_0x473071(0x170),_0x44d9c1))(vt||{}),X=(_0x10d1aa=>(_0x10d1aa[_0x10d1aa[_0x473071(0x467)]=0x0]='UNIVER_UNKNOWN',_0x10d1aa[_0x10d1aa[_0x473071(0x383)]=0x1]='UNIVER_DOC',_0x10d1aa[_0x10d1aa['UNIVER_SHEET']=0x2]=_0x473071(0x378),_0x10d1aa[_0x10d1aa['UNIVER_SLIDE']=0x3]=_0x473071(0x1c7),_0x10d1aa[_0x10d1aa[_0x473071(0x39e)]=0x4]=_0x473071(0x39e),_0x10d1aa[_0x10d1aa[_0x473071(0x170)]=-0x1]=_0x473071(0x170),_0x10d1aa))(X||{}),W=(_0xd3f59d=>(_0xd3f59d[_0xd3f59d[_0x473071(0x3e3)]=0x0]=_0x473071(0x3e3),_0xd3f59d[_0xd3f59d[_0x473071(0x35d)]=0x1]=_0x473071(0x35d),_0xd3f59d[_0xd3f59d['JOIN']=0x2]='JOIN',_0xd3f59d[_0xd3f59d[_0x473071(0x162)]=0x3]='LEAVE',_0xd3f59d[_0xd3f59d['INGEST']=0x4]=_0x473071(0x23d),_0xd3f59d[_0xd3f59d[_0x473071(0x40a)]=0x5]=_0x473071(0x40a),_0xd3f59d[_0xd3f59d['RECV']=0x6]='RECV',_0xd3f59d[_0xd3f59d[_0x473071(0x170)]=-0x1]='UNRECOGNIZED',_0xd3f59d))(W||{}),re=(_0x2a4491=>(_0x2a4491[_0x2a4491['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x2a4491[_0x2a4491['OK']=0x1]='OK',_0x2a4491[_0x2a4491[_0x473071(0x3e2)]=0x2]=_0x473071(0x3e2),_0x2a4491[_0x2a4491[_0x473071(0x305)]=0x3e9]=_0x473071(0x305),_0x2a4491[_0x2a4491[_0x473071(0x1c9)]=0x3ea]=_0x473071(0x1c9),_0x2a4491[_0x2a4491[_0x473071(0x42a)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x2a4491[_0x2a4491[_0x473071(0x3b4)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2a4491[_0x2a4491['UNRECOGNIZED']=-0x1]=_0x473071(0x170),_0x2a4491))(re||{}),dt=(_0x458f51=>(_0x458f51[_0x458f51[_0x473071(0x40f)]=0x0]='Undefined',_0x458f51[_0x458f51[_0x473071(0x22d)]=0x1]=_0x473071(0x22d),_0x458f51[_0x458f51[_0x473071(0x332)]=0x2]=_0x473071(0x332),_0x458f51[_0x458f51[_0x473071(0x2f4)]=0x3]='UnitEmbedded',_0x458f51[_0x458f51[_0x473071(0x333)]=0x4]=_0x473071(0x333),_0x458f51[_0x458f51[_0x473071(0x275)]=0x5]=_0x473071(0x275),_0x458f51[_0x458f51['ClipsheetFragments']=0x6]='ClipsheetFragments',_0x458f51[_0x458f51[_0x473071(0x170)]=-0x1]=_0x473071(0x170),_0x458f51))(dt||{});const Ft=_0x473071(0x298);function Vt(_0x4767ec){var _0x123f10=_0x473071;return JSON[_0x123f10(0x395)](_0x4767ec)['length'];}var J=(_0x596b27=>(_0x596b27[_0x473071(0x3a1)]=_0x473071(0x3a1),_0x596b27[_0x473071(0x494)]='PERMISSION_DENIED',_0x596b27['CONFLICT']=_0x473071(0x286),_0x596b27[_0x473071(0x188)]='CLOSE_ROOM',_0x596b27[_0x473071(0x237)]=_0x473071(0x237),_0x596b27[_0x473071(0x1fb)]='SOCKET_FAILED_RETRY',_0x596b27[_0x473071(0x3bd)]='SOCKET_FAILED',_0x596b27['SUBMIT_CHANGESET_TIMEOUT']=_0x473071(0x1b7),_0x596b27))(J||{});class ee{constructor(){var _0x4f4964=_0x473071;A(this,'_event$',new j['Subject']()),A(this,_0x4f4964(0x3d2),this[_0x4f4964(0x3e5)][_0x4f4964(0x2d5)]());}['emitEvent'](_0x41f037){var _0x24a9d9=_0x473071;this['_event$'][_0x24a9d9(0x37d)](_0x41f037);}}class $e{constructor(){var _0xd785cc=_0x473071;A(this,_0xd785cc(0x3bf),new j[(_0xd785cc(0x497))]()),A(this,_0xd785cc(0x208),this[_0xd785cc(0x3bf)]['asObservable']());}[_0x473071(0x3b0)](_0x18a012){var _0xbdb0b9=_0x473071;this['_commentUpdate$'][_0xbdb0b9(0x37d)](_0x18a012);}}var Wt=Object[_0x473071(0x1c5)],Gt=(_0x4a3698,_0xc57b2b,_0x1d2d62,_0x488bdc)=>{var _0x335ddb=_0x473071;for(var _0x570de3=_0x488bdc>0x1?void 0x0:_0x488bdc?Wt(_0xc57b2b,_0x1d2d62):_0xc57b2b,_0x3d900e=_0x4a3698[_0x335ddb(0x3cb)]-0x1,_0x49b9d4;_0x3d900e>=0x0;_0x3d900e--)(_0x49b9d4=_0x4a3698[_0x3d900e])&&(_0x570de3=_0x49b9d4(_0x570de3)||_0x570de3);return _0x570de3;},Ve=(_0x5e9b95,_0x3ad8f1)=>(_0x36304f,_0x53bfba)=>_0x3ad8f1(_0x36304f,_0x53bfba,_0x5e9b95);function _0x1e39(_0x517c3c,_0x5868cd){_0x517c3c=_0x517c3c-0x159;var _0x8596ca=_0x8596();var _0x1e39d8=_0x8596ca[_0x517c3c];return _0x1e39d8;}exports['MemberService']=class extends o[_0x473071(0x2d1)]{constructor(_0x5a2b53,_0x365a6f){var _0x2b2fe0=_0x473071;super(),A(this,_0x2b2fe0(0x299),new Map()),A(this,_0x2b2fe0(0x4ec),new j[(_0x2b2fe0(0x497))]()),(this[_0x2b2fe0(0x1cc)]=_0x5a2b53,this[_0x2b2fe0(0x2e4)]=_0x365a6f,this[_0x2b2fe0(0x463)](j['merge'](this[_0x2b2fe0(0x1cc)][_0x2b2fe0(0x3c5)](o[_0x2b2fe0(0x267)][_0x2b2fe0(0x378)])[_0x2b2fe0(0x34f)](V['map'](_0xce57a9=>_0xce57a9[_0x2b2fe0(0x22c)]())),this[_0x2b2fe0(0x1cc)][_0x2b2fe0(0x3c5)](o[_0x2b2fe0(0x267)]['UNIVER_DOC'])[_0x2b2fe0(0x34f)](V[_0x2b2fe0(0x3fa)](_0x5cc7da=>_0x5cc7da[_0x2b2fe0(0x22c)]())),this['_univerInstanceService'][_0x2b2fe0(0x3c5)](o[_0x2b2fe0(0x267)][_0x2b2fe0(0x1c7)])[_0x2b2fe0(0x34f)](V[_0x2b2fe0(0x3fa)](_0x4c577b=>_0x4c577b[_0x2b2fe0(0x22c)]())))[_0x2b2fe0(0x32e)](_0x5bf16e=>this[_0x2b2fe0(0x317)](_0x5bf16e))));}[_0x473071(0x46c)](_0xba8515){var _0x4bfb33=_0x473071;return this[_0x4bfb33(0x299)][_0x4bfb33(0x2dc)](_0xba8515)?j['of'](this[_0x4bfb33(0x299)][_0x4bfb33(0x1ba)](_0xba8515)):this[_0x4bfb33(0x4ec)][_0x4bfb33(0x34f)](V[_0x4bfb33(0x3fa)](_0xd198=>{var _0x43d4e3=_0x4bfb33;if(_0xd198===_0xba8515)return this[_0x43d4e3(0x299)]['get'](_0xd198);}));}[_0x473071(0x171)](_0x4e0461){this['_userManagerService']['setCurrentUser'](_0x4e0461);}[_0x473071(0x1fd)](){var _0x505519=_0x473071;return this[_0x505519(0x2e4)]['getCurrentUser']();}[_0x473071(0x197)](_0x3d3583,_0x478940){var _0x3bbd60=_0x473071;let _0x46a6eb=this['_roomMembers'][_0x3bbd60(0x1ba)](_0x3d3583);_0x46a6eb||(_0x46a6eb=new Yt(),this[_0x3bbd60(0x299)][_0x3bbd60(0x42b)](_0x3d3583,_0x46a6eb),this['_roomCreated$']['next'](_0x3d3583)),_0x46a6eb[_0x3bbd60(0x197)](_0x478940);}[_0x473071(0x1ab)](_0x13e80b,_0x4cda91){var _0x1f4572=_0x473071;const _0x33c1b7=this[_0x1f4572(0x299)]['get'](_0x13e80b);_0x33c1b7&&_0x33c1b7[_0x1f4572(0x1ab)](_0x4cda91);}[_0x473071(0x20d)](_0x3e4ada){var _0xe64f6a=_0x473071;return this[_0xe64f6a(0x299)][_0xe64f6a(0x1ba)](_0x3e4ada);}[_0x473071(0x4ac)](_0x3ee4a0,_0x3741b0){var _0x494bf8=_0x473071;const _0x546544=this['_roomMembers']['get'](_0x3ee4a0);if(_0x546544)return _0x546544[_0x494bf8(0x4ac)](_0x3741b0);}[_0x473071(0x317)](_0x9307df){var _0x5676e1=_0x473071;const _0x551785=this[_0x5676e1(0x299)][_0x5676e1(0x1ba)](_0x9307df);_0x551785&&(_0x551785[_0x5676e1(0x16d)](),this[_0x5676e1(0x299)][_0x5676e1(0x290)](_0x9307df));}[_0x473071(0x16d)](){var _0x3cdc29=_0x473071;this[_0x3cdc29(0x299)][_0x3cdc29(0x1e8)](_0x3b0b5d=>_0x3b0b5d[_0x3cdc29(0x16d)]()),this[_0x3cdc29(0x299)][_0x3cdc29(0x21a)](),this[_0x3cdc29(0x4ec)][_0x3cdc29(0x4ba)]();}},exports[_0x473071(0x376)]=Gt([Ve(0x0,o[_0x473071(0x4ae)]),Ve(0x1,o[_0x473071(0x1d0)](o[_0x473071(0x22a)]))],exports[_0x473071(0x376)]);class Yt extends o[_0x473071(0x2d1)]{constructor(){var _0x33f13a=_0x473071;super(...arguments),A(this,_0x33f13a(0x196),new Map()),A(this,_0x33f13a(0x19f),new j['BehaviorSubject'](this['_members'])),A(this,_0x33f13a(0x398),this[_0x33f13a(0x19f)][_0x33f13a(0x2d5)]());}[_0x473071(0x16d)](){var _0x135c12=_0x473071;this[_0x135c12(0x196)][_0x135c12(0x21a)]();}[_0x473071(0x197)](_0x2d3478){var _0x5399a3=_0x473071;this['_members'][_0x5399a3(0x42b)](_0x2d3478[_0x5399a3(0x302)],_0x2d3478),this['_emitMembers']();}['removeMember'](_0x1ea40a){var _0x39c86e=_0x473071;this[_0x39c86e(0x196)][_0x39c86e(0x290)](_0x1ea40a);}[_0x473071(0x4ac)](_0x49fec5){var _0x477df7=_0x473071;return this[_0x477df7(0x196)][_0x477df7(0x1ba)](_0x49fec5);}[_0x473071(0x24c)](){var _0x50a3a9=_0x473071;return Array[_0x50a3a9(0x428)](this[_0x50a3a9(0x196)][_0x50a3a9(0x1a3)]());}[_0x473071(0x291)](){var _0x586d4d=_0x473071;this[_0x586d4d(0x19f)]['next'](this[_0x586d4d(0x196)]);}}var Kt=Object[_0x473071(0x1c5)],qt=(_0x2c1e65,_0x209c2b,_0x4b6011,_0x400dff)=>{var _0x3cb0a5=_0x473071;for(var _0x290bb0=_0x400dff>0x1?void 0x0:_0x400dff?Kt(_0x209c2b,_0x4b6011):_0x209c2b,_0x3dc6f3=_0x2c1e65[_0x3cb0a5(0x3cb)]-0x1,_0x3da235;_0x3dc6f3>=0x0;_0x3dc6f3--)(_0x3da235=_0x2c1e65[_0x3dc6f3])&&(_0x290bb0=_0x3da235(_0x290bb0)||_0x290bb0);return _0x290bb0;},ce=(_0xcfe212,_0x3a5a75)=>(_0x411db9,_0x135422)=>_0x3a5a75(_0x411db9,_0x135422,_0xcfe212),se=(_0x4def05=>(_0x4def05[_0x4def05[_0x473071(0x41f)]=0x0]=_0x473071(0x41f),_0x4def05[_0x4def05[_0x473071(0x2e6)]=0x1]=_0x473071(0x2e6),_0x4def05[_0x4def05[_0x473071(0x2e3)]=0x2]=_0x473071(0x2e3),_0x4def05[_0x4def05[_0x473071(0x183)]=0x3]=_0x473071(0x183),_0x4def05))(se||{});const We={[re['FAIL']]:_0x473071(0x475),[re[_0x473071(0x305)]]:_0x473071(0x399),[re[_0x473071(0x1c9)]]:'session.room-not-exists',[re[_0x473071(0x42a)]]:_0x473071(0x278),[re['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x473071(0x1a8)};exports[_0x473071(0x4b9)]=class extends o[_0x473071(0x34b)]{constructor(_0x238675,_0x4c8481,_0x1af7bf,_0x55fde9,_0x509112,_0x242c9e,_0x3d00fa,_0x1eb536){var _0x531ece=_0x473071;super(),A(this,'_sessionStatus$',new j['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x531ece(0x4df)][_0x531ece(0x2d5)]()),A(this,_0x531ece(0x3e5),new j[(_0x531ece(0x497))]()),A(this,_0x531ece(0x3d2),this[_0x531ece(0x3e5)][_0x531ece(0x2d5)]()),A(this,_0x531ece(0x18b)),A(this,'_socketMessageSubscription'),A(this,_0x531ece(0x2ac)),A(this,_0x531ece(0x48a),!0x1),A(this,_0x531ece(0x2e7),null),(this[_0x531ece(0x285)]=_0x238675,this[_0x531ece(0x40d)]=_0x1af7bf,this[_0x531ece(0x4c1)]=_0x55fde9,this[_0x531ece(0x303)]=_0x509112,this['_commentService']=_0x242c9e,this[_0x531ece(0x4c9)]=_0x3d00fa,this[_0x531ece(0x4eb)]=_0x1eb536,this[_0x531ece(0x48a)]=!!this[_0x531ece(0x4eb)],_0x4c8481[_0x531ece(0x34f)](j['takeUntil'](this[_0x531ece(0x1c0)]))['subscribe'](_0x3c2352=>{var _0x105b84=_0x531ece,_0x4dc426;typeof _0x3c2352>'u'||(this[_0x105b84(0x18b)]=_0x3c2352,_0x3c2352?(this['_joinRoom'](_0x3c2352),this['_socketMessageSubscription']=_0x3c2352['message$']['subscribe'](_0x4672e6=>{var _0x72ee13=_0x105b84;_0x4672e6[_0x72ee13(0x173)]===this['_unitID']&&this[_0x72ee13(0x4e8)](_0x4672e6);})):(this[_0x105b84(0x211)](),this['_sessionStatus$'][_0x105b84(0x37d)](0x2),(_0x4dc426=this[_0x105b84(0x3d7)])==null||_0x4dc426[_0x105b84(0x2bc)](),this[_0x105b84(0x3d7)]=null));}));}get[_0x473071(0x43a)](){var _0x277c4f=_0x473071;return this[_0x277c4f(0x4df)][_0x277c4f(0x1e5)]();}[_0x473071(0x3e4)](){var _0x3b2fc8=_0x473071,_0x364a88,_0x7cbe58;return(_0x7cbe58=(_0x364a88=this[_0x3b2fc8(0x18b)])==null?void 0x0:_0x364a88[_0x3b2fc8(0x302)])!=null?_0x7cbe58:null;}['dispose'](){var _0x517933=_0x473071;super[_0x517933(0x16d)](),this['dispose$'][_0x517933(0x37d)](),this['dispose$'][_0x517933(0x4ba)]();}['close'](){var _0x272ce6=_0x473071,_0x3c2a4d,_0x30bbdb;this[_0x272ce6(0x211)](),(_0x3c2a4d=this[_0x272ce6(0x18b)])==null||_0x3c2a4d['send']({'cmd':W[_0x272ce6(0x162)],'data':{'roomID':this[_0x272ce6(0x285)]}}),(_0x30bbdb=this[_0x272ce6(0x18b)])==null||_0x30bbdb[_0x272ce6(0x442)](),this['_event$']['complete'](),this[_0x272ce6(0x4df)][_0x272ce6(0x4ba)](),this[_0x272ce6(0x16d)]();}[_0x473071(0x4e8)](_0x1f0249){var _0x375097=_0x473071;_0x1f0249['cmd']===W['JOIN']?this[_0x375097(0x310)](_0x1f0249):_0x1f0249[_0x375097(0x2fb)]===W[_0x375097(0x435)]&&this[_0x375097(0x338)](_0x1f0249);}[_0x473071(0x2e0)](_0x4bc399){var _0x2f270b=_0x473071;this[_0x2f270b(0x4df)][_0x2f270b(0x37d)](0x1),_0x4bc399[_0x2f270b(0x26b)]({'cmd':W[_0x2f270b(0x21b)],'routeKey':this[_0x2f270b(0x285)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2f270b(0x285)]}]}});}[_0x473071(0x310)](_0x4eb2ee){var _0x54ee0f=_0x473071,_0xf09eb2;if(_0x4eb2ee[_0x54ee0f(0x3bb)]in We){this[_0x54ee0f(0x4c9)][_0x54ee0f(0x3d5)]({'id':J[_0x54ee0f(0x237)],'data':We[_0x4eb2ee[_0x54ee0f(0x3bb)]]}),this[_0x54ee0f(0x4df)][_0x54ee0f(0x37d)](0x2);return;}this[_0x54ee0f(0x4df)][_0x54ee0f(0x37d)](0x3);const _0x4fedb6=(_0xf09eb2=_0x4eb2ee['data'][_0x54ee0f(0x495)][this[_0x54ee0f(0x285)]])==null?void 0x0:_0xf09eb2[_0x54ee0f(0x3e1)];_0x4fedb6&&_0x4fedb6[_0x54ee0f(0x1e8)](_0x192f34=>this[_0x54ee0f(0x303)][_0x54ee0f(0x197)](this[_0x54ee0f(0x285)],_0x192f34));}['_onRecvEvent'](_0x522229){var _0xb2488b=_0x473071;try{const _0x3d3833=_0x522229[_0xb2488b(0x3b3)];switch(_0x3d3833[_0xb2488b(0x498)]){case E[_0xb2488b(0x439)]['USERS_ENTER']:this['_onUserJoin'](_0x3d3833),this[_0xb2488b(0x3e5)][_0xb2488b(0x37d)](_0x3d3833);break;case E[_0xb2488b(0x439)][_0xb2488b(0x4e1)]:this[_0xb2488b(0x1ef)](_0x3d3833),this['_event$']['next'](_0x3d3833);break;case E[_0xb2488b(0x439)][_0xb2488b(0x1e0)]:case E[_0xb2488b(0x439)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0xb2488b(0x16f)](),this['_event$']['next'](_0x3d3833);break;case E[_0xb2488b(0x439)][_0xb2488b(0x418)]:this[_0xb2488b(0x40d)][_0xb2488b(0x2a4)](_0xb2488b(0x1a2)+JSON[_0xb2488b(0x395)](_0x3d3833)),this[_0xb2488b(0x3e5)][_0xb2488b(0x37d)](_0x3d3833);break;case E[_0xb2488b(0x439)][_0xb2488b(0x3f9)]:this['_commentService'][_0xb2488b(0x3b0)](_0x3d3833[_0xb2488b(0x3b3)]),this[_0xb2488b(0x3e5)][_0xb2488b(0x37d)](_0x3d3833);break;default:this['_event$'][_0xb2488b(0x37d)](_0x3d3833);}}catch(_0x1a6e24){this[_0xb2488b(0x40d)][_0xb2488b(0x2a4)](_0x1a6e24,_0x522229);}}[_0x473071(0x2b5)](_0x4ac6b2){var _0x457a9a=_0x473071;this[_0x457a9a(0x303)]['updateMember'](this[_0x457a9a(0x285)],_0x4ac6b2[_0x457a9a(0x3b3)]);}['_onUserLeave'](_0x1949f4){var _0x2fe440=_0x473071;this['_memberService']['removeMember'](this[_0x2fe440(0x285)],_0x1949f4[_0x2fe440(0x3b3)]['memberID']);}async[_0x473071(0x26b)](_0x566e16,_0x1c29ba){var _0x50988c=_0x473071;if(this[_0x50988c(0x43a)]!==0x3||!this[_0x50988c(0x18b)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x566e16[_0x50988c(0x498)]===E['CollaborationEvent'][_0x50988c(0x167)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x566e16)),this['_socket'][_0x50988c(0x26b)]({'cmd':W['INGEST'],'routeKey':_0x1c29ba,'routeType':'','data':_0x566e16});}catch(_0x18f5e0){this[_0x50988c(0x40d)][_0x50988c(0x2a4)](_0x18f5e0);}}[_0x473071(0x2e5)](){var _0x56a950=_0x473071,_0x32e37a;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x122c4d=_0x1e39;this[_0x122c4d(0x2ac)]=null,this[_0x122c4d(0x4c9)][_0x122c4d(0x3d5)]({'id':J['SUBMIT_CHANGESET_TIMEOUT']});},(_0x32e37a=this[_0x56a950(0x4c1)][_0x56a950(0x2a3)](ke))!=null?_0x32e37a:lt);}['_clearCollaborationTimeoutTimer'](){var _0x4d9086=_0x473071;this[_0x4d9086(0x2ac)]&&(clearTimeout(this[_0x4d9086(0x2ac)]),this['_collaborationTimeoutTimer']=null);}[_0x473071(0x41d)](_0x5eb2a7){var _0x2bbee7=_0x473071;if(!this['_shouldReportTelemetry'])return;const {data:_0x181c90}=_0x5eb2a7,{unitID:_0x397159,changeset:_0x3db947}=_0x181c90,{mutations:_0x5a4864,type:_0x244c00}=_0x3db947;this[_0x2bbee7(0x2e7)]={'unitId':_0x397159,'type':_0x244c00,'startTime':performance[_0x2bbee7(0x1e4)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x5a4864)};}[_0x473071(0x184)](){var _0x3e6d52=_0x473071;if(this[_0x3e6d52(0x48a)]){if(!this[_0x3e6d52(0x2e7)]){this['_logService'][_0x3e6d52(0x2a4)](_0x3e6d52(0x212),_0x3e6d52(0x3ab));return;}this['_telemetryInfo'][_0x3e6d52(0x178)]=performance[_0x3e6d52(0x1e4)](),this[_0x3e6d52(0x2e7)][_0x3e6d52(0x365)]=this[_0x3e6d52(0x2e7)][_0x3e6d52(0x178)]-this[_0x3e6d52(0x2e7)][_0x3e6d52(0x4d4)],this[_0x3e6d52(0x4eb)][_0x3e6d52(0x34c)](Ft,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x473071(0x211)](){this['_telemetryInfo']=null;}},exports[_0x473071(0x4b9)]=qt([ce(0x2,o[_0x473071(0x1dd)]),ce(0x3,o['IConfigService']),ce(0x4,o['Inject'](exports[_0x473071(0x376)])),ce(0x5,o[_0x473071(0x1d0)]($e)),ce(0x6,o[_0x473071(0x1d0)](ee)),ce(0x7,o[_0x473071(0x437)](Nt[_0x473071(0x23b)]))],exports[_0x473071(0x4b9)]);const q=o['createIdentifier'](_0x473071(0x20b));function zt(_0x167928){var _0x5bd511=_0x473071;return _0x5bd511(0x191)+_0x167928;}var Xt=Object[_0x473071(0x1c5)],Jt=(_0x28b160,_0x4d4124,_0x7258b,_0xce6eea)=>{for(var _0x892911=_0xce6eea>0x1?void 0x0:_0xce6eea?Xt(_0x4d4124,_0x7258b):_0x4d4124,_0x29447b=_0x28b160['length']-0x1,_0x4afc61;_0x29447b>=0x0;_0x29447b--)(_0x4afc61=_0x28b160[_0x29447b])&&(_0x892911=_0x4afc61(_0x892911)||_0x892911);return _0x892911;},Ue=(_0x22c919,_0x57c9e1)=>(_0x3974d9,_0x393bfa)=>_0x57c9e1(_0x3974d9,_0x393bfa,_0x22c919);function Zt(_0x38c0ed){var _0x504326=_0x473071;const {unitID:_0x158b45,mutations:_0x399298}=_0x38c0ed;return{'unitId':_0x158b45,'subUnitId':_0x399298[_0x504326(0x3cb)]>0x0?_0x399298[0x0]['params'][_0x504326(0x282)]:null};}exports[_0x473071(0x452)]=class{constructor(_0xcdf714,_0x3be21d,_0x5608cf){var _0x4872e2=_0x473071;this['_injector']=_0xcdf714,this[_0x4872e2(0x297)]=_0x3be21d,this[_0x4872e2(0x311)]=_0x5608cf;}[_0x473071(0x181)](_0x54ecf5){var _0x5c496b=_0x473071,_0x1bc470,_0x2b6914,_0x26aa8c,_0x43e15;const _0x1a7f1d=this[_0x5c496b(0x38c)][_0x5c496b(0x1ba)](Q['SheetsSelectionsService']),{unitId:_0x25875c,subUnitId:_0x586951}=Zt(_0x54ecf5),_0x2e9bb9=_0x1a7f1d==null?void 0x0:_0x1a7f1d['getWorkbookSelections'](_0x25875c)[_0x5c496b(0x35a)](),_0x4f6bf8=(_0x2b6914=(_0x1bc470=this[_0x5c496b(0x311)][_0x5c496b(0x370)](_0x25875c))==null?void 0x0:_0x1bc470[_0x5c496b(0x26d)]())==null?void 0x0:_0x2b6914[_0x5c496b(0x27b)]();if(_0x2e9bb9[_0x5c496b(0x3cb)]===0x0||!_0x25875c||!_0x586951)return;const _0x5e809e=[{'id':Q[_0x5c496b(0x492)]['id'],'params':{'unitId':_0x25875c,'subUnitId':_0x4f6bf8,'selections':o[_0x5c496b(0x34e)][_0x5c496b(0x443)](_0x2e9bb9)}}],_0x71da9e=this['_transformService']['transformMutationsWithChangeset'](_0x54ecf5,_0x5e809e);if(!E[_0x5c496b(0x404)](_0x71da9e))throw _0x71da9e[_0x5c496b(0x2a4)];const _0x5ab349=(_0x43e15=(_0x26aa8c=_0x71da9e['m2Prime'][0x0])==null?void 0x0:_0x26aa8c['params'])==null?void 0x0:_0x43e15[_0x5c496b(0x1be)];if(Array[_0x5c496b(0x4a8)](_0x5ab349)&&_0x5ab349[_0x5c496b(0x3cb)]){if(_0x5ab349[_0x5c496b(0x3cb)]===_0x5e809e[0x0][_0x5c496b(0x226)][_0x5c496b(0x1be)][_0x5c496b(0x3cb)]&&_0x5ab349[_0x5c496b(0x461)]((_0x497188,_0xca8bcb)=>o[_0x5c496b(0x2dd)][_0x5c496b(0x2b2)](_0x497188[_0x5c496b(0x4d9)],_0x5e809e[0x0]['params'][_0x5c496b(0x1be)][_0xca8bcb][_0x5c496b(0x4d9)])))return;this[_0x5c496b(0x38c)]['get'](o[_0x5c496b(0x23a)])[_0x5c496b(0x373)](Q[_0x5c496b(0x492)]['id'],{'unitId':_0x25875c,'subUnitId':_0x4f6bf8,'selections':_0x5ab349});}}},exports[_0x473071(0x452)]=Jt([Ue(0x0,o[_0x473071(0x1d0)](o[_0x473071(0x2a5)])),Ue(0x1,E[_0x473071(0x209)]),Ue(0x2,o[_0x473071(0x4ae)])],exports[_0x473071(0x452)]);const ve=o[_0x473071(0x180)]('univer-pro.collaboration-client.single-active-unit-service');var He=(_0x255fb0=>(_0x255fb0[_0x255fb0['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x473071(0x15b),_0x255fb0[_0x255fb0[_0x473071(0x277)]=0x1]=_0x473071(0x277),_0x255fb0))(He||{});const Y=_0x473071(0x272),Qt={};function ei(_0x1c567e){var _0xd2e1ad=_0x473071,_0x2f1808;return!!((_0x2f1808=_0x1c567e[_0xd2e1ad(0x226)])!=null&&_0x2f1808[_0xd2e1ad(0x4de)]);}const ti=new Set([Q['InsertSheetMutation']['id']]);function Ge(_0x360bb2,_0x3bfc48,_0x51b391,_0x545c75,_0xd0633d){var _0xcd5eb3=_0x473071,_0x2c5c50,_0x5a5d50,_0xb04f1b,_0x338df7;const _0x3f9e02=[];for(const _0x20ceeb of _0x360bb2){if(ti['has'](_0x20ceeb['id'])){if(_0x3f9e02[_0xcd5eb3(0x3cb)]>0x0)break;_0x3f9e02[_0xcd5eb3(0x206)](_0x20ceeb);break;}if(ei(_0x20ceeb)){if(_0x3f9e02[_0xcd5eb3(0x3cb)]>0x0)break;_0x3f9e02[_0xcd5eb3(0x206)](_0x20ceeb);break;}_0x3f9e02['push'](_0x20ceeb);}const _0x59ca93=(_0x5a5d50=(_0x2c5c50=_0xd0633d[_0xcd5eb3(0x1fd)]())==null?void 0x0:_0x2c5c50[_0xcd5eb3(0x361)])!=null?_0x5a5d50:'unknown',_0x191030=(_0x338df7=(_0xb04f1b=_0xd0633d['getCurrentUser']())==null?void 0x0:_0xb04f1b[_0xcd5eb3(0x302)])!=null?_0x338df7:_0xcd5eb3(0x314);return{'changeset':{'unitID':_0x3bfc48,'type':E[_0xcd5eb3(0x4c3)](_0x51b391[_0xcd5eb3(0x473)](_0x3bfc48)),'baseRev':_0x545c75[_0xcd5eb3(0x35c)](_0x3bfc48),'revision':0x0,'userID':_0x59ca93,'memberID':_0x191030,'mutations':_0x3f9e02},'pendingMutations':_0x360bb2[_0xcd5eb3(0x324)](_0x3f9e02[_0xcd5eb3(0x3cb)])};}function ii(_0x165b4d,_0x4dc1d0,_0x584ebe,_0xddc379,_0x2b4628){var _0x558e83=_0x473071,_0x1c2e70,_0x15d19e,_0x2264ae,_0x4728cf;const _0x2d549c=[_0x165b4d[_0x558e83(0x3f5)]((_0x3ab96c,_0x538322)=>{var _0x219187=_0x558e83,_0xb6abc0;const {id:_0x14f476}=_0x3ab96c,{id:_0x96a7b6,type:_0x17b32d}=_0x538322,_0x44ef8a=(_0xb6abc0=_0x3ab96c['params'])!=null?_0xb6abc0:{'actions':null},_0x173790=_0x538322[_0x219187(0x226)];if(_0x14f476&&_0x14f476!==_0x96a7b6)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x14f476+'\x20-\x20'+_0x96a7b6+'.');return{..._0x3ab96c,'id':_0x96a7b6,'type':_0x17b32d,'params':{'unitId':_0x173790[_0x219187(0x2a8)],'textRanges':_0x173790[_0x219187(0x1bd)],'actions':o[_0x219187(0x19d)][_0x219187(0x2ef)](_0x44ef8a[_0x219187(0x4dd)],_0x173790[_0x219187(0x4dd)])}};},{})],_0x153a5f=(_0x15d19e=(_0x1c2e70=_0x2b4628[_0x558e83(0x1fd)]())==null?void 0x0:_0x1c2e70[_0x558e83(0x361)])!=null?_0x15d19e:_0x558e83(0x314),_0x54fca5=(_0x4728cf=(_0x2264ae=_0x2b4628[_0x558e83(0x1fd)]())==null?void 0x0:_0x2264ae[_0x558e83(0x302)])!=null?_0x4728cf:'unknown';return{'changeset':{'unitID':_0x4dc1d0,'type':E['mapDocumentTypeToUniverType'](_0x584ebe[_0x558e83(0x473)](_0x4dc1d0)),'baseRev':_0xddc379[_0x558e83(0x35c)](_0x4dc1d0),'revision':0x0,'userID':_0x153a5f,'memberID':_0x54fca5,'mutations':_0x2d549c},'pendingMutations':[]};}function St(_0x2a9e68,_0x635730){var _0x4152a3=_0x473071;const _0x5819cc=new j[(_0x4152a3(0x280))](0x1);return setTimeout(()=>_0x5819cc[_0x4152a3(0x37d)](_0x635730),_0x2a9e68),_0x5819cc[_0x4152a3(0x2d5)]()['pipe'](j[_0x4152a3(0x4e0)](0x1));}var ni=Object[_0x473071(0x1c5)],ae=(_0x3790cc,_0x3b5586,_0x13057f,_0xc6fcc1)=>{var _0x4db61d=_0x473071;for(var _0x5bff3b=_0xc6fcc1>0x1?void 0x0:_0xc6fcc1?ni(_0x3b5586,_0x13057f):_0x3b5586,_0x423cae=_0x3790cc[_0x4db61d(0x3cb)]-0x1,_0xaf2243;_0x423cae>=0x0;_0x423cae--)(_0xaf2243=_0x3790cc[_0x423cae])&&(_0x5bff3b=_0xaf2243(_0x5bff3b)||_0x5bff3b);return _0x5bff3b;},L=(_0x5770d9,_0x2d2413)=>(_0x1376a4,_0x5a5187)=>_0x2d2413(_0x1376a4,_0x5a5187,_0x5770d9),je=(_0xf2607c=>(_0xf2607c['NOT_COLLAB']=_0x473071(0x2af),_0xf2607c[_0x473071(0x416)]=_0x473071(0x287),_0xf2607c[_0x473071(0x1ea)]=_0x473071(0x46e),_0xf2607c[_0x473071(0x44c)]=_0x473071(0x4d8),_0xf2607c[_0x473071(0x253)]='awaiting_with_pending',_0xf2607c['FETCH_MISS']=_0x473071(0x32c),_0xf2607c[_0x473071(0x286)]=_0x473071(0x3c3),_0xf2607c[_0x473071(0x2e3)]='offline',_0xf2607c))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x280396,_0x234a7b,_0x24ce82,_0x33c835,_0x57b181,_0x139beb,_0x14c285,_0xb4d1b7,_0x30a574){var _0x2137f7=_0x473071;A(this,_0x2137f7(0x3ac),null),A(this,'_pendingMutations',[]),(this[_0x2137f7(0x2c4)]=_0x280396,this[_0x2137f7(0x1ec)]=_0x234a7b,this[_0x2137f7(0x1fe)]=_0x57b181,this['_commandService']=_0x139beb,this[_0x2137f7(0x444)]=_0x14c285,this[_0x2137f7(0x2d7)]=_0xb4d1b7,this['_localCacheService']=_0x30a574,this['_awaitingChangeset']=_0x24ce82,this[_0x2137f7(0x3ea)]=_0x33c835);}[_0x473071(0x243)](_0x248fbd){var _0x1ea941=_0x473071;const _0x37896e=this[_0x1ea941(0x2d7)]['getCurrentRevOfUnit'](this[_0x1ea941(0x2c4)]);return _0x248fbd['revision']>_0x37896e+0x1?(this[_0x1ea941(0x1fe)][_0x1ea941(0x48d)]({'from':_0x37896e,'to':_0x248fbd[_0x1ea941(0x17e)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x29b982){var _0x238ced=_0x473071;this[_0x238ced(0x444)][_0x238ced(0x161)](this['unitID'],_0x29b982);}[_0x473071(0x3b9)](_0x45ecc2){var _0x5a6de3=_0x473071,_0x1b3c3e,_0x1ee881;(_0x1ee881=(_0x1b3c3e=this[_0x5a6de3(0x1fe)])[_0x5a6de3(0x2d9)])==null||_0x1ee881['call'](_0x1b3c3e,_0x45ecc2);}[_0x473071(0x1e1)](_0x52cd13){var _0x368c4f=_0x473071,_0x6e3a44,_0x5d0a19;return(_0x5d0a19=(_0x6e3a44=this[_0x368c4f(0x1fe)])[_0x368c4f(0x462)])==null?void 0x0:_0x5d0a19[_0x368c4f(0x276)](_0x6e3a44,_0x52cd13);}[_0x473071(0x3b6)](_0x315f78){var _0x463a20=_0x473071,_0x276474,_0x5adcdc;return(_0x5adcdc=(_0x276474=this[_0x463a20(0x1fe)])[_0x463a20(0x406)])==null?void 0x0:_0x5adcdc[_0x463a20(0x276)](_0x276474,_0x315f78);}['_transformRemoteChangesetByIMECache'](_0x28af1c){var _0x258d31=_0x473071,_0x1ca945,_0x4c9cea,_0x47e282;return(_0x47e282=(_0x4c9cea=(_0x1ca945=this[_0x258d31(0x1fe)])[_0x258d31(0x2b0)])==null?void 0x0:_0x4c9cea[_0x258d31(0x276)](_0x1ca945,_0x28af1c))!=null?_0x47e282:_0x28af1c;}[_0x473071(0x454)](_0x224da6){var _0x2c8159=_0x473071,_0x3b6aa8,_0x2aee61,_0x1ff941;return(_0x1ff941=(_0x2aee61=(_0x3b6aa8=this[_0x2c8159(0x1fe)])[_0x2c8159(0x15f)])==null?void 0x0:_0x2aee61['call'](_0x3b6aa8,_0x224da6))!=null?_0x1ff941:_0x224da6;}[_0x473071(0x372)](_0x332f0f){var _0x1f30e2=_0x473071,_0x41dd82,_0x5b732d;if(this[_0x1f30e2(0x1ec)]===X['UNIVER_DOC']){const {unitID:_0x2f198a,mutations:_0xfef9c1,memberID:_0x43d08e}=_0x332f0f,_0x1a5520=_0xfef9c1[_0x1f30e2(0x3cb)]>0x0?_0xfef9c1[0x0][_0x1f30e2(0x226)][_0x1f30e2(0x1bd)]:[];Array[_0x1f30e2(0x4a8)](_0x1a5520)&&_0x1a5520[_0x1f30e2(0x3cb)]>0x0&&((_0x5b732d=(_0x41dd82=this[_0x1f30e2(0x1fe)])[_0x1f30e2(0x33b)])==null||_0x5b732d[_0x1f30e2(0x276)](_0x41dd82,{'unitID':_0x2f198a,'memberID':_0x43d08e,'textRanges':_0x1a5520}));}}[_0x473071(0x308)](){var _0x562be8=_0x473071,_0x1316de;(_0x1316de=this['_localCacheService'])==null||_0x1316de[_0x562be8(0x20f)](this['unitID'],this['type'],this[_0x562be8(0x3ac)],this[_0x562be8(0x3ea)]);}[_0x473071(0x1aa)](){var _0xa13b71=_0x473071;return this['_revisionService'][_0xa13b71(0x35c)](this[_0xa13b71(0x2c4)]);}[_0x473071(0x28e)](){var _0x90c75f=_0x473071;this['_revisionService'][_0x90c75f(0x4a2)](this[_0x90c75f(0x2c4)]);}[_0x473071(0x3d6)](_0x3fdb2d){var _0x5c7d57=_0x473071,_0x3bf9f8;let _0x3cf5f9=this[_0x5c7d57(0x1c3)](_0x3fdb2d);_0x3cf5f9=this[_0x5c7d57(0x454)](_0x3cf5f9);const _0x134e90=o['sequenceExecute'](_0x3cf5f9[_0x5c7d57(0x215)],this[_0x5c7d57(0x347)],{'fromCollab':!0x0});if(!_0x134e90['result'])throw _0x134e90[_0x5c7d57(0x2a4)]instanceof Error?_0x134e90[_0x5c7d57(0x2a4)]:new Error((_0x3bf9f8=_0x134e90['error'])!=null?_0x3bf9f8:_0x5c7d57(0x25d));this[_0x5c7d57(0x1e1)](_0x3cf5f9),this[_0x5c7d57(0x3b6)](_0x3cf5f9),this[_0x5c7d57(0x39f)](_0x3fdb2d),this[_0x5c7d57(0x3b9)](_0x3cf5f9),this[_0x5c7d57(0x372)](_0x3cf5f9),this[_0x5c7d57(0x28e)]();}}exports[_0x473071(0x16e)]=class extends oe{constructor(_0x24a0c6,_0x3b8c6e,_0x2122be,_0x1cb0a2,_0x514866,_0x1e0837,_0x1a6768,_0x40d251,_0x39f5ad,_0x41db94){var _0x247313=_0x473071;super(_0x24a0c6,_0x3b8c6e,null,[],_0x2122be,_0x1a6768,_0x1e0837,_0x1cb0a2,_0x41db94),A(this,_0x247313(0x32d),_0x247313(0x287)),(this[_0x247313(0x38c)]=_0x514866,this['_logService']=_0x40d251,this[_0x247313(0x297)]=_0x39f5ad,this[_0x247313(0x3e7)]=_0x41db94);}['appendMutation'](_0x340447){var _0xe03cc3=_0x473071;const _0x9f95a7=this[_0xe03cc3(0x38c)]['createInstance'](exports[_0xe03cc3(0x4c7)],this[_0xe03cc3(0x2c4)],this[_0xe03cc3(0x1ec)],[_0x340447],this[_0xe03cc3(0x1fe)]);return _0x9f95a7[_0xe03cc3(0x42d)](),_0x9f95a7['_updateLocalCache'](),_0x9f95a7;}[_0x473071(0x2b9)](_0x17579a){var _0x597e25=_0x473071;if(this[_0x597e25(0x243)](_0x17579a))return this[_0x597e25(0x38c)][_0x597e25(0x1fc)](exports[_0x597e25(0x186)],this['unitID'],this['type'],null,[],null,[_0x17579a],this[_0x597e25(0x1fe)]);try{const _0x4aad10=this[_0x597e25(0x297)]['transformMutationsWithChangeset'](_0x17579a,[E['EmptyMutationInfo']]);if(E[_0x597e25(0x404)](_0x4aad10)){const {c1Prime:_0x516298}=_0x4aad10;return this[_0x597e25(0x3d6)](_0x516298),this;}throw _0x4aad10[_0x597e25(0x2a4)];}catch(_0x157fe5){return this[_0x597e25(0x40d)][_0x597e25(0x2a4)](_0x157fe5),this[_0x597e25(0x3f1)](!0x1);}}[_0x473071(0x3f1)](_0x5352e2){var _0x5adfce=_0x473071;return this[_0x5adfce(0x38c)][_0x5adfce(0x1fc)](exports[_0x5adfce(0x15a)],this[_0x5adfce(0x2c4)],this[_0x5adfce(0x1ec)],null,[],this['_handler'],_0x5352e2);}[_0x473071(0x49e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x473071(0x238)](){var _0x510ee5=_0x473071;throw new Error(_0x510ee5(0x46b));}[_0x473071(0x4bf)](){return this;}[_0x473071(0x1af)](){var _0x2235d4=_0x473071;return this[_0x2235d4(0x38c)][_0x2235d4(0x1fc)](exports[_0x2235d4(0x1a5)],this[_0x2235d4(0x2c4)],this[_0x2235d4(0x1ec)],null,[],this[_0x2235d4(0x1fe)]);}[_0x473071(0x322)](){return this;}['resend'](){var _0x373901=_0x473071;throw new Error(_0x373901(0x264));}[_0x473071(0x38a)](){var _0x2de444=_0x473071;const _0x4280fc=this[_0x2de444(0x2d7)][_0x2de444(0x35c)](this['unitID']);return this[_0x2de444(0x1fe)][_0x2de444(0x48d)]({'from':_0x4280fc,'to':0x0}),this[_0x2de444(0x38c)][_0x2de444(0x1fc)](exports[_0x2de444(0x186)],this[_0x2de444(0x2c4)],this['type'],null,[],null,[],this[_0x2de444(0x1fe)]);}},exports[_0x473071(0x16e)]=ae([L(0x3,o[_0x473071(0x1d0)](E[_0x473071(0x4b1)])),L(0x4,o['Inject'](o['Injector'])),L(0x5,o[_0x473071(0x445)]),L(0x6,o[_0x473071(0x23a)]),L(0x7,o[_0x473071(0x1dd)]),L(0x8,E[_0x473071(0x209)]),L(0x9,o[_0x473071(0x437)](q))],exports['SyncedState']),exports['PendingState']=class extends oe{constructor(_0x52458b,_0x3e7f24,_0x119a81,_0x1ee111,_0x59b1cd,_0xcfa5ce,_0x18cc07,_0x2ce6f4,_0x21c8c3,_0x4aeb86,_0x24aa63,_0x45d4df,_0x224c97,_0x12c41a){var _0x3f952f=_0x473071;super(_0x52458b,_0x3e7f24,null,_0x119a81,_0x1ee111,_0x21c8c3,_0x224c97,_0xcfa5ce,_0x12c41a),A(this,_0x3f952f(0x32d),'pending'),A(this,_0x3f952f(0x329),null),A(this,'_sendingTimer',null),(this[_0x3f952f(0x38c)]=_0x59b1cd,this[_0x3f952f(0x303)]=_0x18cc07,this[_0x3f952f(0x40d)]=_0x2ce6f4,this[_0x3f952f(0x4c1)]=_0x4aeb86,this['_transformService']=_0x24aa63,this[_0x3f952f(0x1cc)]=_0x45d4df);}[_0x473071(0x1e7)](_0x26f234){var _0x45a266=_0x473071;return this[_0x45a266(0x3ea)][_0x45a266(0x206)](_0x26f234),this[_0x45a266(0x308)](),this;}[_0x473071(0x2b9)](_0x3b4cb3){var _0x2f4780=_0x473071;if(this['_checkMissing'](_0x3b4cb3))return this[_0x2f4780(0x43d)](),this[_0x2f4780(0x38c)][_0x2f4780(0x1fc)](exports[_0x2f4780(0x186)],this[_0x2f4780(0x2c4)],this[_0x2f4780(0x1ec)],null,this['_pendingMutations'],null,[_0x3b4cb3],this[_0x2f4780(0x1fe)]);try{const _0x4c1dbe=this[_0x2f4780(0x297)][_0x2f4780(0x192)](_0x3b4cb3,this['_pendingMutations']);if(E[_0x2f4780(0x404)](_0x4c1dbe)){const {c1Prime:_0x30e21d,m2Prime:_0x188a5a}=_0x4c1dbe;this[_0x2f4780(0x3d6)](_0x30e21d);const _0x3b72a6=this[_0x2f4780(0x38c)]['createInstance'](exports['PendingState'],this[_0x2f4780(0x2c4)],this[_0x2f4780(0x1ec)],_0x188a5a,this[_0x2f4780(0x1fe)]);this[_0x2f4780(0x43d)]();const _0xa13ab0=new Date()['getTime'](),_0x2efc2b=this['_scheduleCompleteTimestamp']?Math[_0x2f4780(0x363)](this[_0x2f4780(0x329)]-_0xa13ab0,0x0):this[_0x2f4780(0x414)]();return _0x3b72a6['_schedule'](_0x2efc2b),_0x3b72a6;}throw _0x4c1dbe[_0x2f4780(0x2a4)];}catch(_0x31695c){return this[_0x2f4780(0x40d)][_0x2f4780(0x2a4)](_0x31695c),this['_onConflict'](!0x1);}}[_0x473071(0x49e)](){var _0x147b02=_0x473071;throw new Error(_0x147b02(0x357));}['onRemoteRej'](){var _0x22233c=_0x473071;throw new Error(_0x22233c(0x485));}[_0x473071(0x4bf)](){return this;}[_0x473071(0x1af)](){var _0x1640f4=_0x473071;return this['_clearScheduledTask'](),this[_0x1640f4(0x38c)][_0x1640f4(0x1fc)](exports[_0x1640f4(0x1a5)],this[_0x1640f4(0x2c4)],this[_0x1640f4(0x1ec)],null,this[_0x1640f4(0x3ea)],this[_0x1640f4(0x1fe)]);}[_0x473071(0x322)](){return this;}['_schedule'](_0x5e8eda){var _0x1cab88=_0x473071;const _0x4c9381=_0x5e8eda!=null?_0x5e8eda:this['_getSendChangesetTimeout']();this[_0x1cab88(0x329)]=new Date()[_0x1cab88(0x405)]()+_0x4c9381,this[_0x1cab88(0x472)]=setTimeout(()=>{var _0x3c64fa=_0x1cab88;this['_clearScheduledTask']();let _0x2b30db=null;switch(this[_0x3c64fa(0x1ec)]){case X[_0x3c64fa(0x378)]:{_0x2b30db=Ge(this[_0x3c64fa(0x3ea)],this[_0x3c64fa(0x2c4)],this[_0x3c64fa(0x1cc)],this['_revisionService'],this[_0x3c64fa(0x303)]);break;}case X[_0x3c64fa(0x383)]:{this[_0x3c64fa(0x3ea)][_0x3c64fa(0x461)](_0x4f4aa5=>_0x4f4aa5['id']===ct[_0x3c64fa(0x483)]['id'])?_0x2b30db=ii(this['_pendingMutations'],this['unitID'],this[_0x3c64fa(0x1cc)],this[_0x3c64fa(0x2d7)],this[_0x3c64fa(0x303)]):_0x2b30db=Ge(this[_0x3c64fa(0x3ea)],this['unitID'],this[_0x3c64fa(0x1cc)],this[_0x3c64fa(0x2d7)],this['_memberService']);break;}default:throw new Error(_0x3c64fa(0x434)+this['type']+_0x3c64fa(0x4e3));}const {changeset:_0x5b6dcc,pendingMutations:_0x183ba7}=_0x2b30db;this['_handler'][_0x3c64fa(0x1db)](_0x5b6dcc);const _0x11189a=_0x183ba7[_0x3c64fa(0x3cb)]?this['_injector'][_0x3c64fa(0x1fc)](exports[_0x3c64fa(0x42e)],this['unitID'],this[_0x3c64fa(0x1ec)],_0x5b6dcc,_0x183ba7,this[_0x3c64fa(0x1fe)],void 0x0):this['_injector'][_0x3c64fa(0x1fc)](exports[_0x3c64fa(0x3c9)],this[_0x3c64fa(0x2c4)],this['type'],_0x5b6dcc,this[_0x3c64fa(0x1fe)]);_0x11189a['_updateLocalCache'](),this[_0x3c64fa(0x1fe)]['onStateChange'](this,_0x11189a);},_0x4c9381);}[_0x473071(0x414)](){var _0x56860c=_0x473071,_0x302d7e;const _0x386586=this[_0x56860c(0x4c1)][_0x56860c(0x2a3)](Y);return(_0x302d7e=_0x386586==null?void 0x0:_0x386586['sendChangesetTimeout'])!=null?_0x302d7e:At;}[_0x473071(0x30d)](){var _0x6adbc=_0x473071;throw new Error(_0x6adbc(0x1c6));}['_clearScheduledTask'](){var _0xcb205d=_0x473071;this['_sendingTimer']!=null&&(clearTimeout(this[_0xcb205d(0x472)]),this[_0xcb205d(0x472)]=null);}[_0x473071(0x3f1)](_0x3d315f){var _0x2be6cc=_0x473071;return this[_0x2be6cc(0x43d)](),this['_injector'][_0x2be6cc(0x1fc)](exports[_0x2be6cc(0x15a)],this[_0x2be6cc(0x2c4)],this[_0x2be6cc(0x1ec)],null,this[_0x2be6cc(0x3ea)],this[_0x2be6cc(0x1fe)],_0x3d315f);}},exports[_0x473071(0x4c7)]=ae([L(0x4,o['Inject'](o[_0x473071(0x2a5)])),L(0x5,o['Inject'](E[_0x473071(0x4b1)])),L(0x6,o[_0x473071(0x1d0)](exports[_0x473071(0x376)])),L(0x7,o[_0x473071(0x1dd)]),L(0x8,o[_0x473071(0x23a)]),L(0x9,o[_0x473071(0x2c2)]),L(0xa,E[_0x473071(0x209)]),L(0xb,o[_0x473071(0x4ae)]),L(0xc,o['IUndoRedoService']),L(0xd,o[_0x473071(0x437)](q))],exports[_0x473071(0x4c7)]),exports[_0x473071(0x3c9)]=class extends oe{constructor(_0x4b8cee,_0x307ca6,_0x2f8d1b,_0x2b1e05,_0x42acba,_0x16a58a,_0x2636ed,_0x124489,_0x3cd676,_0x170225,_0x3a0ba4){var _0xc4ced6=_0x473071;super(_0x4b8cee,_0x307ca6,_0x2f8d1b,[],_0x2b1e05,_0x2636ed,_0x170225,_0x16a58a,_0x3a0ba4),A(this,_0xc4ced6(0x32d),_0xc4ced6(0x4d8)),A(this,_0xc4ced6(0x16b),0x0),A(this,_0xc4ced6(0x2fa),0x0),A(this,_0xc4ced6(0x29e)),A(this,_0xc4ced6(0x466)),(this['_injector']=_0x42acba,this[_0xc4ced6(0x40d)]=_0x124489,this[_0xc4ced6(0x297)]=_0x3cd676);}[_0x473071(0x1e7)](_0x23d12){var _0x8fd43b=_0x473071;this[_0x8fd43b(0x43d)]();const _0x27f7df=this[_0x8fd43b(0x38c)][_0x8fd43b(0x1fc)](exports[_0x8fd43b(0x42e)],this[_0x8fd43b(0x2c4)],this[_0x8fd43b(0x1ec)],this[_0x8fd43b(0x3ac)],[_0x23d12],this[_0x8fd43b(0x1fe)],this['_resendTimer']);return _0x27f7df[_0x8fd43b(0x308)](),_0x27f7df;}[_0x473071(0x2b9)](_0x3d1ab7){var _0x237336=_0x473071;if(this[_0x237336(0x243)](_0x3d1ab7))return this[_0x237336(0x43d)](),this['_injector'][_0x237336(0x1fc)](exports['FetchingMissState'],this['unitID'],this[_0x237336(0x1ec)],this[_0x237336(0x3ac)],[],null,[_0x3d1ab7],this[_0x237336(0x1fe)]);try{const _0x966668=this[_0x237336(0x297)][_0x237336(0x225)]([_0x3d1ab7],[this['_awaitingChangeset']],!0x1);if(E[_0x237336(0x260)](_0x966668)){const {c1Prime:_0x38793d,c2Prime:_0x15bc00}=_0x966668;this[_0x237336(0x3d6)](_0x38793d[0x0]),_0x15bc00[0x0][_0x237336(0x1d7)]=this[_0x237336(0x1aa)](),this[_0x237336(0x43d)]();const _0x303073=this['_injector'][_0x237336(0x1fc)](exports[_0x237336(0x3c9)],this[_0x237336(0x2c4)],this[_0x237336(0x1ec)],_0x15bc00[0x0],this[_0x237336(0x1fe)]);return _0x303073[_0x237336(0x308)](),_0x303073;}return this[_0x237336(0x3f1)](!0x1);}catch(_0x51fc90){return this[_0x237336(0x40d)][_0x237336(0x2a4)](_0x51fc90),this['_onConflict'](!0x1);}}[_0x473071(0x49e)](_0x6ad49b){var _0x1abb41=_0x473071;this[_0x1abb41(0x43d)]();const _0xac8c24=this['_revisionService'][_0x1abb41(0x35c)](this[_0x1abb41(0x2c4)]);if(_0x6ad49b['revision']<_0xac8c24-0x1)return this;if(this[_0x1abb41(0x243)](_0x6ad49b))return this[_0x1abb41(0x38c)][_0x1abb41(0x1fc)](exports[_0x1abb41(0x186)],this[_0x1abb41(0x2c4)],this[_0x1abb41(0x1ec)],null,[],this[_0x1abb41(0x3ac)],[],this[_0x1abb41(0x1fe)]);this[_0x1abb41(0x28e)]();const _0x38825=this[_0x1abb41(0x38c)][_0x1abb41(0x1fc)](exports['SyncedState'],this[_0x1abb41(0x2c4)],this[_0x1abb41(0x1ec)],this[_0x1abb41(0x1fe)]);return _0x38825[_0x1abb41(0x308)](),_0x38825;}['onRemoteRej'](_0x5389c5){var _0x3bd0e6=_0x473071;return this[_0x3bd0e6(0x3f1)](!!(_0x5389c5!=null&&_0x5389c5[_0x3bd0e6(0x2f1)]));}[_0x473071(0x4bf)](_0x1f7b46){var _0x37e102=_0x473071;return this[_0x37e102(0x2fa)]>ft?this[_0x37e102(0x1af)]():(this[_0x37e102(0x29e)]=St(this[_0x37e102(0x16b)],{'timeout':this[_0x37e102(0x16b)],'reqId':_0x1f7b46[_0x37e102(0x31c)]}),this[_0x37e102(0x466)]=this[_0x37e102(0x29e)]['subscribe'](({reqId:_0x39e54c,timeout:_0xd9078a})=>{var _0x291140=_0x37e102;this[_0x291140(0x1ae)](_0x39e54c,_0xd9078a);}),this);}[_0x473071(0x1af)](){var _0x51678a=_0x473071;return this[_0x51678a(0x43d)](),this['_injector'][_0x51678a(0x1fc)](exports[_0x51678a(0x1a5)],this['unitID'],this[_0x51678a(0x1ec)],this[_0x51678a(0x3ac)],[],this[_0x51678a(0x1fe)]);}[_0x473071(0x322)](){return this;}['resend'](){var _0x3fb068=_0x473071;this[_0x3fb068(0x1fe)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x497dea){var _0x7a2676=_0x473071;return this[_0x7a2676(0x43d)](),this[_0x7a2676(0x38c)][_0x7a2676(0x1fc)](exports[_0x7a2676(0x15a)],this['unitID'],this[_0x7a2676(0x1ec)],this[_0x7a2676(0x3ac)],[],this[_0x7a2676(0x1fe)],_0x497dea);}['_resendWithTimeout'](_0x35ade5,_0x52691a){var _0x2155c2=_0x473071,_0x32652c;_0x35ade5===((_0x32652c=this['_awaitingChangeset'])==null?void 0x0:_0x32652c[_0x2155c2(0x31c)])&&(this[_0x2155c2(0x30d)](),this[_0x2155c2(0x16b)]=_0x52691a===0x0?0x3e8:Math['min'](_0x52691a*0x2,It),this['_maxTotalRetryTimeout']+=this[_0x2155c2(0x16b)]);}['_clearScheduledTask'](){var _0x38b8ec=_0x473071,_0x7bb44;(_0x7bb44=this['_sender'])==null||_0x7bb44[_0x38b8ec(0x2bc)](),this['_resendTimeout']=0x0,this[_0x38b8ec(0x2fa)]=0x0;}},exports[_0x473071(0x3c9)]=ae([L(0x4,o[_0x473071(0x1d0)](o[_0x473071(0x2a5)])),L(0x5,o['Inject'](E[_0x473071(0x4b1)])),L(0x6,o[_0x473071(0x23a)]),L(0x7,o[_0x473071(0x1dd)]),L(0x8,E[_0x473071(0x209)]),L(0x9,o[_0x473071(0x445)]),L(0xa,o[_0x473071(0x437)](q))],exports['AwaitingState']),exports[_0x473071(0x42e)]=class extends oe{constructor(_0x42573b,_0x25ede4,_0x40f1e4,_0x3824ac,_0x1ec958,_0x316952,_0x408608,_0x290ad4,_0x228aa4,_0x1b847c,_0x3c24a6,_0x5f2ae0,_0x529661){var _0x25ce64=_0x473071;super(_0x42573b,_0x25ede4,_0x40f1e4,_0x3824ac,_0x1ec958,_0x228aa4,_0x5f2ae0,_0x290ad4,_0x529661),A(this,'status',_0x25ce64(0x1f8)),A(this,'_resendTimeout',0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,'_resendTimer'),A(this,_0x25ce64(0x466)),(this[_0x25ce64(0x38c)]=_0x408608,this[_0x25ce64(0x40d)]=_0x1b847c,this[_0x25ce64(0x297)]=_0x3c24a6,this['localCacheService']=_0x529661,_0x316952&&(this[_0x25ce64(0x29e)]=_0x316952,this[_0x25ce64(0x466)]=this[_0x25ce64(0x29e)]['subscribe'](({reqId:_0x591614,timeout:_0x439c03})=>{this['_resendWithTimeout'](_0x591614,_0x439c03);})));}[_0x473071(0x1e7)](_0x487cb1){var _0x5dfe79=_0x473071;return this[_0x5dfe79(0x3ea)][_0x5dfe79(0x206)](_0x487cb1),this;}[_0x473071(0x2b9)](_0x174ce0){var _0x2fea75=_0x473071;if(this[_0x2fea75(0x243)](_0x174ce0))return this[_0x2fea75(0x43d)](),this[_0x2fea75(0x38c)][_0x2fea75(0x1fc)](exports[_0x2fea75(0x186)],this[_0x2fea75(0x2c4)],this['type'],this[_0x2fea75(0x3ac)],this[_0x2fea75(0x3ea)],null,[_0x174ce0],this[_0x2fea75(0x1fe)]);try{const _0x4ac9ef=this[_0x2fea75(0x297)][_0x2fea75(0x225)]([_0x174ce0],[this[_0x2fea75(0x3ac)]],!0x1);if(E[_0x2fea75(0x260)](_0x4ac9ef)){const {c1Prime:_0x5342cb,c2Prime:_0x103d0b}=_0x4ac9ef,_0x282df8=this['_transformService']['transformMutationsWithChangeset'](_0x5342cb[0x0],this[_0x2fea75(0x3ea)]);if(E[_0x2fea75(0x404)](_0x282df8)){const {c1Prime:_0x55adb0,m2Prime:_0x4e8386}=_0x282df8;return this[_0x2fea75(0x3d6)](_0x55adb0),_0x103d0b[0x0][_0x2fea75(0x1d7)]=this[_0x2fea75(0x1aa)](),this[_0x2fea75(0x43d)](),this[_0x2fea75(0x38c)][_0x2fea75(0x1fc)](exports[_0x2fea75(0x42e)],this['unitID'],this[_0x2fea75(0x1ec)],_0x103d0b[0x0],_0x4e8386,this[_0x2fea75(0x1fe)],void 0x0);}throw _0x282df8[_0x2fea75(0x2a4)];}throw _0x4ac9ef[_0x2fea75(0x2a4)];}catch(_0x2920a5){return this[_0x2fea75(0x40d)][_0x2fea75(0x2a4)](_0x2920a5),this[_0x2fea75(0x3f1)](!0x1);}}[_0x473071(0x49e)](_0x31f7e5){var _0x809e3a=_0x473071;if(this[_0x809e3a(0x43d)](),this[_0x809e3a(0x243)](_0x31f7e5))return this[_0x809e3a(0x38c)][_0x809e3a(0x1fc)](exports[_0x809e3a(0x186)],this['unitID'],this[_0x809e3a(0x1ec)],null,this[_0x809e3a(0x3ea)],this[_0x809e3a(0x3ac)],[],this[_0x809e3a(0x1fe)]);this[_0x809e3a(0x28e)]();const _0xac2220=this[_0x809e3a(0x38c)][_0x809e3a(0x1fc)](exports[_0x809e3a(0x4c7)],this['unitID'],this[_0x809e3a(0x1ec)],this[_0x809e3a(0x3ea)],this['_handler']);return _0xac2220[_0x809e3a(0x42d)](),_0xac2220['_updateLocalCache'](),_0xac2220;}[_0x473071(0x238)](_0xbdf23e){var _0x38c613=_0x473071;return this[_0x38c613(0x3f1)](!!(_0xbdf23e!=null&&_0xbdf23e['isPermissionRej']));}['onRemoteRetry'](_0x1ff8d){var _0x1065f3=_0x473071;return this['_maxTotalRetryTimeout']>ft?this[_0x1065f3(0x1af)]():(this['_resendTimer']=St(this[_0x1065f3(0x16b)],{'timeout':this[_0x1065f3(0x16b)],'reqId':_0x1ff8d[_0x1065f3(0x31c)]}),this[_0x1065f3(0x466)]=this['_resendTimer']['subscribe'](({reqId:_0x1ad11f,timeout:_0x5b5980})=>{var _0x43b5dc=_0x1065f3;this[_0x43b5dc(0x1ae)](_0x1ad11f,_0x5b5980);}),this);}[_0x473071(0x1af)](){var _0x585c68=_0x473071;return this[_0x585c68(0x43d)](),this[_0x585c68(0x38c)][_0x585c68(0x1fc)](exports[_0x585c68(0x1a5)],this['unitID'],this['type'],this[_0x585c68(0x3ac)],this[_0x585c68(0x3ea)],this[_0x585c68(0x1fe)]);}[_0x473071(0x322)](){return this;}[_0x473071(0x30d)](){var _0x1fbf5a=_0x473071;this[_0x1fbf5a(0x1fe)][_0x1fbf5a(0x1db)](this['_awaitingChangeset']);}[_0x473071(0x3f1)](_0x4517fd){var _0x394314=_0x473071;return this['_clearScheduledTask'](),this[_0x394314(0x38c)]['createInstance'](exports[_0x394314(0x15a)],this[_0x394314(0x2c4)],this[_0x394314(0x1ec)],null,this['_pendingMutations'],this[_0x394314(0x1fe)],_0x4517fd);}['_resendWithTimeout'](_0x3de3ea,_0x596a7e){var _0x25bb9b=_0x473071,_0x383e33;_0x3de3ea===((_0x383e33=this[_0x25bb9b(0x3ac)])==null?void 0x0:_0x383e33[_0x25bb9b(0x31c)])&&(this['resend'](),this['_resendTimeout']=_0x596a7e===0x0?0x3e8:Math[_0x25bb9b(0x26c)](_0x596a7e*0x2,It),this[_0x25bb9b(0x2fa)]+=this[_0x25bb9b(0x16b)]);}[_0x473071(0x43d)](){var _0x28f03e=_0x473071,_0x9196b;(_0x9196b=this[_0x28f03e(0x466)])==null||_0x9196b['unsubscribe'](),this[_0x28f03e(0x16b)]=0x0,this[_0x28f03e(0x2fa)]=0x0;}},exports[_0x473071(0x42e)]=ae([L(0x6,o[_0x473071(0x1d0)](o[_0x473071(0x2a5)])),L(0x7,o[_0x473071(0x1d0)](E[_0x473071(0x4b1)])),L(0x8,o['ICommandService']),L(0x9,o[_0x473071(0x1dd)]),L(0xa,E['ITransformService']),L(0xb,o['IUndoRedoService']),L(0xc,o[_0x473071(0x437)](q))],exports['AwaitingWithPendingState']),exports[_0x473071(0x15a)]=class extends oe{constructor(_0x1b443d,_0x3fdb29,_0x336248,_0x20c408,_0x21cc49,_0x2d2ed5=!0x1,_0xd223f4,_0x403a8b,_0x2137aa,_0x4c7e0e,_0x29ae7e,_0x225ac8,_0x33bec8){var _0x52284a=_0x473071;super(_0x1b443d,_0x3fdb29,_0x336248,_0x20c408,_0x21cc49,_0x403a8b,_0x2137aa,_0x4c7e0e,_0x33bec8),A(this,'status',_0x52284a(0x3c3)),(this[_0x52284a(0x1bc)]=_0x2d2ed5,this[_0x52284a(0x2c6)]=_0xd223f4,this[_0x52284a(0x284)]=_0x29ae7e,this[_0x52284a(0x4c9)]=_0x225ac8,this[_0x52284a(0x3e7)]=_0x33bec8,this[_0x52284a(0x3cc)](),this[_0x52284a(0x40b)](),this[_0x52284a(0x3c0)]());}['appendMutation'](){return this;}[_0x473071(0x2b9)](){return this;}['onRemoteAck'](){return this;}[_0x473071(0x238)](){return this;}['onRemoteRetry'](){return this;}[_0x473071(0x1af)](){return this;}[_0x473071(0x322)](){return this;}[_0x473071(0x30d)](){var _0x56e276=_0x473071;throw new Error(_0x56e276(0x3a5));}[_0x473071(0x40b)](){var _0x4fd2a2=_0x473071,_0x47b5c2;(_0x47b5c2=this[_0x4fd2a2(0x384)])==null||_0x47b5c2['updateOfflineData'](this[_0x4fd2a2(0x2c4)],this[_0x4fd2a2(0x1ec)],null,[]);}[_0x473071(0x3cc)](){var _0x13a79f=_0x473071;this[_0x13a79f(0x1bc)]?this[_0x13a79f(0x4c9)][_0x13a79f(0x3d5)]({'id':J[_0x13a79f(0x494)]}):this['_collaborationUIEventService'][_0x13a79f(0x3d5)]({'id':J[_0x13a79f(0x286)]});}[_0x473071(0x3c0)](){var _0x443b27=_0x473071;this[_0x443b27(0x2c6)]['updatePermissionPoint'](new Q[(_0x443b27(0x469))](this[_0x443b27(0x2c4)])['id'],!0x1);}},exports[_0x473071(0x15a)]=ae([L(0x6,o[_0x473071(0x1d0)](o['IPermissionService'])),L(0x7,o[_0x473071(0x23a)]),L(0x8,o[_0x473071(0x445)]),L(0x9,o[_0x473071(0x1d0)](E[_0x473071(0x4b1)])),L(0xa,o['Inject'](o['LocaleService'])),L(0xb,o['Inject'](ee)),L(0xc,o[_0x473071(0x437)](q))],exports[_0x473071(0x15a)]),exports['OfflineState']=class extends oe{constructor(_0x162512,_0x3f0f5f,_0x122080,_0x3814a3,_0x1b2f5a,_0x27dc70,_0x7253f1,_0x23ac5f,_0x1555bc,_0x342a89){var _0x187139=_0x473071;super(_0x162512,_0x3f0f5f,_0x122080,_0x3814a3,_0x1b2f5a,_0x23ac5f,_0x1555bc,_0x7253f1,_0x342a89),A(this,_0x187139(0x32d),'offline'),this['_injector']=_0x27dc70;}[_0x473071(0x1e7)](_0x2a5dbf){var _0x46d4cc=_0x473071;return this[_0x46d4cc(0x3ea)][_0x46d4cc(0x206)](_0x2a5dbf),this['_updateLocalCache'](),this;}[_0x473071(0x2b9)](_0x42c8df){var _0x56376d=_0x473071;throw new Error(_0x56376d(0x2cb));}[_0x473071(0x49e)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x473071(0x238)](){var _0x2cb929=_0x473071;throw new Error(_0x2cb929(0x413));}[_0x473071(0x4bf)](){return this;}[_0x473071(0x1af)](){return this;}[_0x473071(0x322)](){var _0x5ea98e=_0x473071;const {_injector:_0xc8fa07,_pendingMutations:_0x2f3f0c,_awaitingChangeset:_0x39d190,unitID:_0x1e1602,_handler:_0x106624,type:_0x359317}=this,_0x1084ad=Et(_0xc8fa07,_0x1e1602,_0x359317,_0x39d190,_0x2f3f0c,_0x106624);return _0x1084ad instanceof exports[_0x5ea98e(0x4c7)]?_0x1084ad['_schedule']():(_0x1084ad instanceof exports['AwaitingWithPendingState']||_0x1084ad instanceof exports['AwaitingState'])&&_0x1084ad['resend'](),_0x1084ad;}['resend'](){var _0x1ce1c5=_0x473071;throw new Error(_0x1ce1c5(0x3a2));}},exports['OfflineState']=ae([L(0x5,o[_0x473071(0x1d0)](o['Injector'])),L(0x6,o[_0x473071(0x1d0)](E[_0x473071(0x4b1)])),L(0x7,o[_0x473071(0x23a)]),L(0x8,o[_0x473071(0x445)]),L(0x9,o[_0x473071(0x437)](q))],exports[_0x473071(0x1a5)]),exports[_0x473071(0x186)]=class extends oe{constructor(_0x37cdc7,_0x3d7e77,_0xdc6879,_0x410941,_0xa4c86f,_0x3b9872,_0x16b824,_0x188731,_0x34d3b6,_0x45c977,_0x446760,_0x2e38df,_0x1dac45,_0x500e27){var _0xf36b82=_0x473071;super(_0x37cdc7,_0x3d7e77,_0xdc6879,_0x410941,_0x16b824,_0x446760,_0x2e38df,_0x34d3b6,_0x500e27),A(this,_0xf36b82(0x32d),_0xf36b82(0x32c)),(this['_acknowledgedAwaitingChangeset']=_0xa4c86f,this[_0xf36b82(0x179)]=_0x3b9872,this[_0xf36b82(0x38c)]=_0x188731,this[_0xf36b82(0x40d)]=_0x45c977,this[_0xf36b82(0x297)]=_0x1dac45,this[_0xf36b82(0x3e7)]=_0x500e27);}[_0x473071(0x354)](_0x374f8a){var _0x51ce54=_0x473071;try{const _0x40b7c5=[..._0x374f8a,...this['_queuedRemoteChangesets']],_0x1d8082=[this[_0x51ce54(0x3ac)]||this[_0x51ce54(0x3be)]][_0x51ce54(0x2da)](_0x19980b=>!!_0x19980b);let _0x7ad1c3,_0xe91da3;if(_0x1d8082[_0x51ce54(0x3cb)]){const _0x3db3cf=this[_0x51ce54(0x297)][_0x51ce54(0x225)](_0x40b7c5,_0x1d8082,!0x1);if(!E[_0x51ce54(0x260)](_0x3db3cf))throw _0x3db3cf[_0x51ce54(0x2a4)];_0x7ad1c3=_0x3db3cf[_0x51ce54(0x4b8)],_0xe91da3=_0x3db3cf[_0x51ce54(0x1b2)];}else _0x7ad1c3=_0x40b7c5,_0xe91da3=[];let _0x899aaf=this['_pendingMutations'];_0x7ad1c3[_0x51ce54(0x1e8)](_0x4ab036=>{var _0x3b05c4=_0x51ce54;let _0x5d1959;if(_0x899aaf[_0x3b05c4(0x3cb)]){const _0x4f84c3=this['_transformService'][_0x3b05c4(0x192)](_0x4ab036,_0x899aaf);if(!E[_0x3b05c4(0x404)](_0x4f84c3))throw _0x4f84c3[_0x3b05c4(0x2a4)];_0x5d1959=_0x4f84c3[_0x3b05c4(0x4b8)],_0x899aaf=_0x4f84c3['m2Prime'];}else _0x5d1959=_0x4ab036;this[_0x3b05c4(0x3d6)](_0x5d1959);}),this[_0x51ce54(0x3be)]&&this[_0x51ce54(0x28e)](),this[_0x51ce54(0x3ac)]&&_0xe91da3['length']&&(_0xe91da3[0x0][_0x51ce54(0x1d7)]=this[_0x51ce54(0x1aa)]());let _0x124439;if(this['_awaitingChangeset']&&_0x899aaf[_0x51ce54(0x3cb)]!==0x0)_0x124439=this[_0x51ce54(0x38c)][_0x51ce54(0x1fc)](exports[_0x51ce54(0x42e)],this[_0x51ce54(0x2c4)],this['type'],_0xe91da3[0x0],_0x899aaf,this['_handler'],void 0x0);else{if(this[_0x51ce54(0x3ac)]&&_0x899aaf[_0x51ce54(0x3cb)]===0x0)_0xe91da3[0x0][_0x51ce54(0x1d7)]=this[_0x51ce54(0x1aa)](),_0x124439=this[_0x51ce54(0x38c)]['createInstance'](exports[_0x51ce54(0x3c9)],this[_0x51ce54(0x2c4)],this[_0x51ce54(0x1ec)],_0xe91da3[0x0],this[_0x51ce54(0x1fe)]);else{if(_0x899aaf[_0x51ce54(0x3cb)]!==0x0){const _0x6218fd=this[_0x51ce54(0x38c)]['createInstance'](exports[_0x51ce54(0x4c7)],this[_0x51ce54(0x2c4)],this[_0x51ce54(0x1ec)],_0x899aaf,this[_0x51ce54(0x1fe)]);_0x6218fd[_0x51ce54(0x42d)](),_0x124439=_0x6218fd;}else _0x124439=this[_0x51ce54(0x38c)]['createInstance'](exports['SyncedState'],this[_0x51ce54(0x2c4)],this['type'],this[_0x51ce54(0x1fe)]);}}return _0x124439[_0x51ce54(0x308)](),_0x124439;}catch(_0x163557){return this['_logService'][_0x51ce54(0x2a4)](_0x51ce54(0x4bb),_0x51ce54(0x325),_0x163557),this['_injector'][_0x51ce54(0x1fc)](exports[_0x51ce54(0x15a)],this['unitID'],this['type'],this[_0x51ce54(0x3ac)],this[_0x51ce54(0x3ea)],this[_0x51ce54(0x1fe)],!0x1);}}['resend'](){var _0x4a2018=_0x473071;throw new Error(_0x4a2018(0x23c));}[_0x473071(0x1e7)](_0x1e761a){var _0x485025=_0x473071;return this[_0x485025(0x3ea)][_0x485025(0x206)](_0x1e761a),this;}[_0x473071(0x2b9)](_0x1c348e){var _0x2677ca=_0x473071;return this[_0x2677ca(0x179)][_0x2677ca(0x206)](_0x1c348e),this;}[_0x473071(0x49e)](_0x1bcc92){var _0x259a8f=_0x473071;if(this[_0x259a8f(0x3ac)])return this['_acknowledgedAwaitingChangeset']=this[_0x259a8f(0x3ac)],this[_0x259a8f(0x3ac)]=null,this;throw new Error(_0x259a8f(0x295));}[_0x473071(0x238)](_0x52bd78){var _0x3f3268=_0x473071;return this[_0x3f3268(0x3f1)](!!(_0x52bd78!=null&&_0x52bd78[_0x3f3268(0x2f1)]));}[_0x473071(0x4bf)](){return this;}[_0x473071(0x1af)](){var _0x5ec9b5=_0x473071;return this['_injector'][_0x5ec9b5(0x1fc)](exports['OfflineState'],this[_0x5ec9b5(0x2c4)],this['type'],this['_awaitingChangeset'],this[_0x5ec9b5(0x3ea)],this['_handler']);}[_0x473071(0x322)](){return this;}['_onConflict'](_0x2488a8){var _0x19de74=_0x473071;return this[_0x19de74(0x38c)]['createInstance'](exports['ConflictState'],this[_0x19de74(0x2c4)],this[_0x19de74(0x1ec)],this[_0x19de74(0x3ac)],this[_0x19de74(0x3ea)],this[_0x19de74(0x1fe)],_0x2488a8);}},exports[_0x473071(0x186)]=ae([L(0x7,o[_0x473071(0x1d0)](o['Injector'])),L(0x8,o['Inject'](E[_0x473071(0x4b1)])),L(0x9,o['ILogService']),L(0xa,o[_0x473071(0x23a)]),L(0xb,o[_0x473071(0x445)]),L(0xc,E[_0x473071(0x209)]),L(0xd,o['Optional'](q))],exports[_0x473071(0x186)]);function Et(_0x41d77e,_0x2ef3d3,_0x445cda,_0x202ef4,_0x47f68e,_0x151006){var _0x16ceb8=_0x473071;return _0x202ef4&&_0x47f68e['length']?_0x41d77e[_0x16ceb8(0x1fc)](exports[_0x16ceb8(0x42e)],_0x2ef3d3,_0x445cda,_0x202ef4,_0x47f68e,_0x151006,void 0x0):_0x202ef4?_0x41d77e[_0x16ceb8(0x1fc)](exports[_0x16ceb8(0x3c9)],_0x2ef3d3,_0x445cda,_0x202ef4,_0x151006):_0x47f68e[_0x16ceb8(0x3cb)]?_0x41d77e[_0x16ceb8(0x1fc)](exports[_0x16ceb8(0x4c7)],_0x2ef3d3,_0x445cda,_0x47f68e,_0x151006):_0x41d77e['createInstance'](exports[_0x16ceb8(0x16e)],_0x2ef3d3,_0x445cda,_0x151006);}var si=Object[_0x473071(0x1c5)],Be=(_0x553f03,_0x48cbab,_0x345da3,_0x45db64)=>{var _0x57a234=_0x473071;for(var _0x14b902=_0x45db64>0x1?void 0x0:_0x45db64?si(_0x48cbab,_0x345da3):_0x48cbab,_0x1151ee=_0x553f03[_0x57a234(0x3cb)]-0x1,_0x5272a3;_0x1151ee>=0x0;_0x1151ee--)(_0x5272a3=_0x553f03[_0x1151ee])&&(_0x14b902=_0x5272a3(_0x14b902)||_0x14b902);return _0x14b902;},$=(_0x169c5e,_0x26485f)=>(_0x47caf1,_0x129285)=>_0x26485f(_0x47caf1,_0x129285,_0x169c5e);exports[_0x473071(0x3e8)]=class extends o[_0x473071(0x34b)]{constructor(_0xd5dd65,_0x241778,_0x39ad65,_0x11c947,_0x3c3763,_0x581443,_0x48f7b0,_0x2ff938,_0x55f946,_0x2a3613,_0x4c2e26,_0x9f5de8,_0x5c1b6f,_0x5d9c24){var _0x592d8b=_0x473071;super(),A(this,_0x592d8b(0x2be),new j['BehaviorSubject'](null)),A(this,_0x592d8b(0x2a0),this[_0x592d8b(0x2be)][_0x592d8b(0x2d5)]()),A(this,'_state'),A(this,_0x592d8b(0x2fe),!0x1),A(this,_0x592d8b(0x3db),''),A(this,_0x592d8b(0x401),0x0),A(this,_0x592d8b(0x163),this['state$']['pipe'](j['map'](_0xbe7cb=>_0xbe7cb?_0xbe7cb['status']:je['OFFLINE']),j['shareReplay'](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x592d8b(0x48f),[]),(this['unitID']=_0xd5dd65,this[_0x592d8b(0x353)]=_0x241778,this['_type']=_0x39ad65,this[_0x592d8b(0x38c)]=_0x11c947,this[_0x592d8b(0x1b8)]=_0x3c3763,this[_0x592d8b(0x284)]=_0x581443,this['_revisionService']=_0x48f7b0,this['_eventService']=_0x2ff938,this['_univerInstanceService']=_0x55f946,this[_0x592d8b(0x40d)]=_0x2a3613,this[_0x592d8b(0x347)]=_0x4c2e26,this['_permissionService']=_0x9f5de8,this[_0x592d8b(0x4b4)]=_0x5c1b6f,this[_0x592d8b(0x384)]=_0x5d9c24);}get[_0x473071(0x3eb)](){var _0x3bcf43=_0x473071;return this[_0x3bcf43(0x204)];}async[_0x473071(0x343)](){var _0x57c1f1=_0x473071;if(this[_0x57c1f1(0x3eb)])throw new Error(_0x57c1f1(0x46d));await this[_0x57c1f1(0x2eb)]();}[_0x473071(0x1c2)](){var _0x63f970=_0x473071;return this[_0x63f970(0x2fe)]=!0x0,o['toDisposable'](()=>{var _0x157af1=_0x63f970;this[_0x157af1(0x2fe)]=!0x1,this[_0x157af1(0x165)]();});}[_0x473071(0x4ad)](_0x483252){var _0x5ed1f2=_0x473071;this[_0x5ed1f2(0x425)](_0x483252);}['_updateState'](_0x170200){this['_state']=_0x170200,this['_state$']['next'](_0x170200);}async[_0x473071(0x2eb)](){var _0x19aa2f=_0x473071,_0x922ff;this[_0x19aa2f(0x3fc)](await this[_0x19aa2f(0x4ea)]()),this[_0x19aa2f(0x4b4)]&&((_0x922ff=this[_0x19aa2f(0x4b4)])==null||_0x922ff[_0x19aa2f(0x41b)](this[_0x19aa2f(0x2c4)]),this[_0x19aa2f(0x463)](this[_0x19aa2f(0x4b4)][_0x19aa2f(0x270)](this[_0x19aa2f(0x2c4)])[_0x19aa2f(0x32e)](_0x5f19db=>{var _0x366cb4=_0x19aa2f;this[_0x366cb4(0x40d)]['debug'](_0x366cb4(0x220),_0x366cb4(0x221),_0x5f19db),_0x5f19db===He[_0x366cb4(0x277)]?(this[_0x366cb4(0x244)][_0x366cb4(0x3d5)]({'id':J[_0x366cb4(0x3a1)]}),this[_0x366cb4(0x2c6)][_0x366cb4(0x2c9)](new Q[(_0x366cb4(0x469))](this[_0x366cb4(0x2c4)])['id'],!0x1),this[_0x366cb4(0x2c6)][_0x366cb4(0x26f)](!0x1)):(this['_permissionService'][_0x366cb4(0x2c9)](new Q[(_0x366cb4(0x469))](this[_0x366cb4(0x2c4)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x147145=!0x1;return this['disposeWithMe'](this[_0x19aa2f(0x353)][_0x19aa2f(0x3ae)][_0x19aa2f(0x32e)](_0x161623=>{var _0x3bbd4c=_0x19aa2f;_0x161623===se[_0x3bbd4c(0x183)]?this[_0x3bbd4c(0x24a)](_0x147145):_0x161623===se[_0x3bbd4c(0x2e3)]&&(_0x147145=!0x0,this[_0x3bbd4c(0x195)]());})),this[_0x19aa2f(0x463)](this['session'][_0x19aa2f(0x3d2)][_0x19aa2f(0x32e)](_0x39e764=>{var _0x223b67=_0x19aa2f;try{switch(_0x39e764[_0x223b67(0x498)]){case E[_0x223b67(0x439)][_0x223b67(0x28c)]:{this[_0x223b67(0x44b)](E[_0x223b67(0x232)](_0x39e764[_0x223b67(0x3b3)]));break;}case E[_0x223b67(0x439)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0x39e764[_0x223b67(0x3b3)]);break;}case E[_0x223b67(0x439)][_0x223b67(0x1bb)]:{this[_0x223b67(0x422)]();break;}case E['CollaborationEvent'][_0x223b67(0x43e)]:{this[_0x223b67(0x1a7)](_0x39e764['data']);break;}case E[_0x223b67(0x439)][_0x223b67(0x1e6)]:{this[_0x223b67(0x27a)](_0x39e764[_0x223b67(0x3b3)][_0x223b67(0x289)]['map'](_0x2c9044=>E[_0x223b67(0x232)](_0x2c9044)));break;}case E[_0x223b67(0x439)][_0x223b67(0x175)]:{this[_0x223b67(0x422)]({'isPermissionRej':!0x0});break;}case E[_0x223b67(0x439)][_0x223b67(0x31d)]:break;}}catch(_0x434e01){throw console['error'](_0x223b67(0x18c),_0x434e01),_0x434e01;}})),this[_0x19aa2f(0x204)];}[_0x473071(0x49a)](){var _0x52b7f0=_0x473071;this[_0x52b7f0(0x2cf)]=!0x1;}[_0x473071(0x3c1)](){var _0x24e96=_0x473071;if(this[_0x24e96(0x2cf)])throw new Error(_0x24e96(0x1da));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0xd94040){var _0x155b29=_0x473071;this['_lockTransition'](),this[_0x155b29(0x3fc)](this['_state'][_0x155b29(0x1e7)](_0xd94040)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x2675e3){var _0x23e34b=_0x473071;if(!(_0x2675e3[_0x23e34b(0x17e)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x23e34b(0x2c4)]))){if(this[_0x23e34b(0x2fe)]){this['_remoteChangesetQueue'][_0x23e34b(0x206)](_0x2675e3);return;}this[_0x23e34b(0x3e6)](_0x2675e3);}}[_0x473071(0x165)](){var _0x2ec2e7=_0x473071;this['_remoteChangesetQueue'][_0x2ec2e7(0x1e8)](_0x2932ac=>this[_0x2ec2e7(0x3e6)](_0x2932ac)),this['_remoteChangesetQueue']=[];}[_0x473071(0x3e6)](_0x2e930d){var _0x52399c=_0x473071;const _0x2cefb0=this[_0x52399c(0x1b8)][_0x52399c(0x41a)]['fetchThroughInterceptors'](this[_0x52399c(0x1b8)][_0x52399c(0x41a)][_0x52399c(0x25f)]()[_0x52399c(0x40c)])(_0x2e930d[_0x52399c(0x215)],null)||_0x2e930d[_0x52399c(0x215)],_0x1f5a2b={..._0x2e930d,'mutations':_0x2cefb0};this[_0x52399c(0x3c1)](),this[_0x52399c(0x3fc)](this['_state']['onRemoteChangeset'](_0x1f5a2b)),this['_unlockTransition']();}[_0x473071(0x358)](_0x1a2ab0){var _0x31e7e4=_0x473071;this['_lockTransition'](),this[_0x31e7e4(0x3fc)](this['_state'][_0x31e7e4(0x49e)](_0x1a2ab0)),this['_unlockTransition']();}[_0x473071(0x422)](_0x454b24){var _0x341362=_0x473071;this['_lockTransition'](),this[_0x341362(0x3fc)](this[_0x341362(0x204)][_0x341362(0x238)](_0x454b24)),this['_unlockTransition']();}['_onRemoteRetry'](_0x17aadc){var _0x2fb622=_0x473071;this[_0x2fb622(0x3c1)](),this[_0x2fb622(0x3fc)](this[_0x2fb622(0x204)][_0x2fb622(0x4bf)](_0x17aadc)),this[_0x2fb622(0x49a)]();}[_0x473071(0x27a)](_0x2ea883){var _0x363de3=_0x473071;if(!(this[_0x363de3(0x204)]instanceof exports[_0x363de3(0x186)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x166586=_0x2ea883[_0x363de3(0x3fa)](_0x161364=>{var _0x22bba4=_0x363de3;const _0x4dd9a7=this[_0x22bba4(0x1b8)][_0x22bba4(0x41a)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x22bba4(0x41a)][_0x22bba4(0x25f)]()[_0x22bba4(0x40c)])(_0x161364[_0x22bba4(0x215)],null)||_0x161364[_0x22bba4(0x215)];return{..._0x161364,'mutations':_0x4dd9a7};});this[_0x363de3(0x3c1)](),this[_0x363de3(0x3fc)](this['_state']['onMissedChangesetFetched'](_0x166586)),this[_0x363de3(0x49a)]();}[_0x473071(0x195)](){var _0x16226d=_0x473071;this[_0x16226d(0x3c1)](),this['_updateState'](this[_0x16226d(0x204)][_0x16226d(0x1af)]()),this[_0x16226d(0x49a)]();}[_0x473071(0x24a)](_0x265663=!0x1){var _0x5418ff=_0x473071;this[_0x5418ff(0x3c1)](),this[_0x5418ff(0x3fc)](this[_0x5418ff(0x204)][_0x5418ff(0x322)]()),this[_0x5418ff(0x49a)]();const _0x42959e=this[_0x5418ff(0x204)];_0x265663&&_0x42959e instanceof exports[_0x5418ff(0x16e)]&&(this[_0x5418ff(0x3c1)](),this[_0x5418ff(0x3fc)](_0x42959e['fetchMiss']()),this[_0x5418ff(0x49a)]());}async[_0x473071(0x4ea)](){return new Promise(_0x21d844=>{var _0x5af3b7=_0x1e39;this[_0x5af3b7(0x353)][_0x5af3b7(0x3ae)][_0x5af3b7(0x34f)](j[_0x5af3b7(0x4e0)](0x1))[_0x5af3b7(0x32e)](async _0x416943=>{var _0x45f22e=_0x5af3b7;_0x21d844(await this['_createInitialStateImpl'](_0x416943===se[_0x45f22e(0x183)]));});});}[_0x473071(0x3ff)](){const _0x4c26fb=this['unitID'];return{'onStateChange':(_0x311ec2,_0x2a53fd)=>{var _0x2fd68b=_0x1e39;if(_0x311ec2!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x311ec2[_0x2fd68b(0x32d)]+_0x2fd68b(0x48b)+_0x2a53fd[_0x2fd68b(0x32d)]+'\x0aCurrent:\x20'+this['_state'][_0x2fd68b(0x32d)]);this['_updateState'](_0x2a53fd);},'onSendChangeset':_0x3e17a9=>{var _0x545bb0=_0x1e39;_0x3e17a9[_0x545bb0(0x236)]||(_0x3e17a9[_0x545bb0(0x236)]=this[_0x545bb0(0x3db)],_0x3e17a9[_0x545bb0(0x31c)]=++this[_0x545bb0(0x401)]);const _0x3bf88f={'eventID':E[_0x545bb0(0x439)][_0x545bb0(0x167)],'data':{'unitID':_0x3e17a9[_0x545bb0(0x2c4)],'unitType':this['_type'],'changeset':_0x3e17a9,'memberID':this['session'][_0x545bb0(0x3e4)]()}};this[_0x545bb0(0x353)][_0x545bb0(0x26b)](_0x3bf88f,this[_0x545bb0(0x2c4)]);},'onMissingChangesets':({from:_0x1ef020,to:_0x5c5907})=>{var _0x53f981=_0x1e39;this['_logService'][_0x53f981(0x493)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x1ef020+_0x53f981(0x249)+_0x5c5907);const _0x55e2ff={'eventID':E[_0x53f981(0x439)][_0x53f981(0x4a9)],'data':{'unitID':_0x4c26fb,'unitType':this[_0x53f981(0x350)],'from':_0x1ef020,'to':_0x5c5907}};this[_0x53f981(0x353)][_0x53f981(0x26b)](_0x55e2ff,this['unitID']);}};}async[_0x473071(0x22b)](_0x84ef48){var _0xe6700f=_0x473071,_0x589db9,_0x23ef7c,_0x12ef7e;const _0x1135d3=await((_0x589db9=this[_0xe6700f(0x384)])==null?void 0x0:_0x589db9['loadOfflineData'](this['unitID'])),_0x6e3d6c=(_0x23ef7c=_0x1135d3==null?void 0x0:_0x1135d3[_0xe6700f(0x215)])!=null?_0x23ef7c:[],_0x563cfd=(_0x12ef7e=_0x1135d3==null?void 0x0:_0x1135d3[_0xe6700f(0x185)])!=null?_0x12ef7e:null,_0x277d13=!!(_0x563cfd!=null&&_0x563cfd[_0xe6700f(0x236)])&&!!(_0x563cfd!=null&&_0x563cfd[_0xe6700f(0x31c)]);this[_0xe6700f(0x3db)]=_0x277d13?_0x563cfd[_0xe6700f(0x236)]:E['uuidv4'](),this[_0xe6700f(0x401)]=_0x277d13?_0x563cfd['reqId']:0x0;const _0x399ea9=this[_0xe6700f(0x2c4)];try{this[_0xe6700f(0x48e)](_0x563cfd,_0x6e3d6c);}catch(_0x4315b5){this[_0xe6700f(0x40d)][_0xe6700f(0x2a4)](_0x4315b5);}const _0x32b3a7=this['_createHandler']();if(_0x84ef48){const _0x4dec1f=Et(this['_injector'],_0x399ea9,this[_0xe6700f(0x350)],_0x563cfd,_0x6e3d6c,_0x32b3a7);return _0x4dec1f instanceof exports[_0xe6700f(0x4c7)]?_0x4dec1f[_0xe6700f(0x42d)]():(_0x4dec1f instanceof exports[_0xe6700f(0x42e)]||_0x4dec1f instanceof exports[_0xe6700f(0x3c9)])&&_0x4dec1f[_0xe6700f(0x30d)](),_0x4dec1f;}return this[_0xe6700f(0x38c)]['createInstance'](exports[_0xe6700f(0x1a5)],_0x399ea9,this['_type'],_0x563cfd,_0x6e3d6c,_0x32b3a7);}[_0x473071(0x48e)](_0x40662f,_0xf79f24){var _0x372cb4=_0x473071,_0x5f09c1,_0x355d4d;const _0x47b2dc=this['_compressMutationService'][_0x372cb4(0x41a)][_0x372cb4(0x410)](this[_0x372cb4(0x1b8)][_0x372cb4(0x41a)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x5f09c1=_0x47b2dc((_0x40662f==null?void 0x0:_0x40662f[_0x372cb4(0x215)])||[],null))==null||_0x5f09c1['forEach'](_0x4a2aff=>this[_0x372cb4(0x347)][_0x372cb4(0x373)](_0x4a2aff['id'],_0x4a2aff[_0x372cb4(0x226)])),(_0x355d4d=_0x47b2dc(_0xf79f24||[],null))==null||_0x355d4d[_0x372cb4(0x1e8)](_0x294137=>this[_0x372cb4(0x347)][_0x372cb4(0x373)](_0x294137['id'],_0x294137[_0x372cb4(0x226)]));}},exports[_0x473071(0x3e8)]=Be([$(0x3,o['Inject'](o[_0x473071(0x2a5)])),$(0x4,o[_0x473071(0x1d0)](E[_0x473071(0x45a)])),$(0x5,o[_0x473071(0x1d0)](o[_0x473071(0x351)])),$(0x6,o[_0x473071(0x1d0)](E[_0x473071(0x4b1)])),$(0x7,o[_0x473071(0x1d0)](ee)),$(0x8,o[_0x473071(0x4ae)]),$(0x9,o[_0x473071(0x1dd)]),$(0xa,o[_0x473071(0x23a)]),$(0xb,o[_0x473071(0x3f4)]),$(0xc,o[_0x473071(0x437)](ve)),$(0xd,o[_0x473071(0x437)](q))],exports[_0x473071(0x3e8)]),exports[_0x473071(0x334)]=class extends exports[_0x473071(0x3e8)]{constructor(_0x3d55eb,_0x9470f8,_0x470faa,_0x38e29e,_0x14d744,_0x1d5781,_0x177756,_0x48fcd9,_0x5e9732,_0x5b93e8,_0x47deca,_0x59167a,_0x50c6d0,_0x2bc8c9){var _0x33fa46=_0x473071;super(_0x3d55eb,_0x470faa,_0x9470f8,_0x38e29e,_0x14d744,_0x1d5781,_0x177756,_0x48fcd9,_0x5e9732,_0x5b93e8,_0x47deca,_0x59167a,_0x50c6d0,_0x2bc8c9),A(this,_0x33fa46(0x20a),null),(this[_0x33fa46(0x2c4)]=_0x3d55eb,this[_0x33fa46(0x1ec)]=_0x9470f8);}[_0x473071(0x490)](_0x525313){var _0x4d58ea=_0x473071;this[_0x4d58ea(0x20a)]=_0x525313;}[_0x473071(0x16d)](){var _0x52856a=_0x473071;this['_handlerCallback']=null,super[_0x52856a(0x16d)]();}[_0x473071(0x3ff)](){var _0x59828d=_0x473071;const _0x10dc9a=super[_0x59828d(0x3ff)]();return _0x10dc9a[_0x59828d(0x462)]=_0x4e0c77=>{var _0x7d6717=_0x59828d,_0x2f413d,_0x19e28d;return(_0x19e28d=(_0x2f413d=this['_handlerCallback'])==null?void 0x0:_0x2f413d[_0x7d6717(0x462)])==null?void 0x0:_0x19e28d['call'](_0x2f413d,_0x4e0c77);},_0x10dc9a['onTransformState']=_0x3bc5d5=>{var _0x3e826a=_0x59828d,_0x214372,_0x4149da;return(_0x4149da=(_0x214372=this['_handlerCallback'])==null?void 0x0:_0x214372[_0x3e826a(0x406)])==null?void 0x0:_0x4149da[_0x3e826a(0x276)](_0x214372,_0x3bc5d5);},_0x10dc9a[_0x59828d(0x2d9)]=_0x10f044=>{var _0x579586=_0x59828d,_0x43beac,_0x4d00cb;return(_0x4d00cb=(_0x43beac=this['_handlerCallback'])==null?void 0x0:_0x43beac[_0x579586(0x2d9)])==null?void 0x0:_0x4d00cb[_0x579586(0x276)](_0x43beac,_0x10f044);},_0x10dc9a[_0x59828d(0x33b)]=_0x32a72e=>{var _0x94e5b5=_0x59828d,_0xee8b3b,_0x3fccbe;return(_0x3fccbe=(_0xee8b3b=this[_0x94e5b5(0x20a)])==null?void 0x0:_0xee8b3b[_0x94e5b5(0x33b)])==null?void 0x0:_0x3fccbe[_0x94e5b5(0x276)](_0xee8b3b,_0x32a72e);},_0x10dc9a['onTransformRemoteChangesetByIMECache']=_0x5e2467=>{var _0x13e107=_0x59828d,_0x41ce93,_0x2d708d,_0x3a6c8c;if(!((_0x41ce93=this['_handlerCallback'])!=null&&_0x41ce93[_0x13e107(0x2b0)]))throw new Error(_0x13e107(0x44f));return(_0x3a6c8c=(_0x2d708d=this[_0x13e107(0x20a)])==null?void 0x0:_0x2d708d['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3a6c8c[_0x13e107(0x276)](_0x2d708d,_0x5e2467);},_0x10dc9a[_0x59828d(0x15f)]=_0x477215=>{var _0x531aa7=_0x59828d,_0x4e189a,_0x90630a,_0x303149;if(!((_0x4e189a=this[_0x531aa7(0x20a)])!=null&&_0x4e189a['onTransformRemoteChangesetByStateCache']))throw new Error(_0x531aa7(0x4cc));return(_0x303149=(_0x90630a=this[_0x531aa7(0x20a)])==null?void 0x0:_0x90630a[_0x531aa7(0x15f)])==null?void 0x0:_0x303149[_0x531aa7(0x276)](_0x90630a,_0x477215);},_0x10dc9a;}async[_0x473071(0x2eb)](){var _0x1950f4=_0x473071;const _0x5af740=await super['_init']();return this[_0x1950f4(0x463)](this['_commandService'][_0x1950f4(0x1d8)]((_0xe2a395,_0x4e453c)=>{var _0x10f745=_0x1950f4;if(_0xe2a395[_0x10f745(0x1ec)]!==o[_0x10f745(0x1d1)][_0x10f745(0x465)]||_0x4e453c!=null&&_0x4e453c['fromCollab']||_0x4e453c!=null&&_0x4e453c[_0x10f745(0x487)]||_0xe2a395['id']===ct['RichTextEditingMutation']['id'])return;const _0x1bbd33=_0xe2a395[_0x10f745(0x226)];if((_0x1bbd33==null?void 0x0:_0x1bbd33[_0x10f745(0x2a8)])!==this['unitID'])return;const _0x413c53=_0xe2a395,_0x3e4e94=this[_0x10f745(0x1b8)]['interceptor'][_0x10f745(0x410)](this[_0x10f745(0x1b8)][_0x10f745(0x41a)][_0x10f745(0x25f)]()[_0x10f745(0x177)])([_0x413c53],this[_0x10f745(0x1cc)])||[_0x413c53];this[_0x10f745(0x425)](_0x3e4e94[0x0]);})),_0x5af740;}},exports['DocCollaborationEntity']=Be([$(0x3,o['Inject'](o[_0x473071(0x2a5)])),$(0x4,o['Inject'](E['CompressMutationService'])),$(0x5,o['Inject'](o[_0x473071(0x351)])),$(0x6,o[_0x473071(0x1d0)](E[_0x473071(0x4b1)])),$(0x7,o[_0x473071(0x1d0)](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o[_0x473071(0x1dd)]),$(0xa,o[_0x473071(0x23a)]),$(0xb,o[_0x473071(0x3f4)]),$(0xc,o[_0x473071(0x437)](ve)),$(0xd,o[_0x473071(0x437)](q))],exports[_0x473071(0x334)]),exports[_0x473071(0x3a8)]=class extends exports[_0x473071(0x3e8)]{constructor(_0x5037a6,_0x4e026b,_0x96dbeb,_0x5d4b18,_0x626243,_0x233e2e,_0x4bb9af,_0x3afd1b,_0x1ded20,_0xd3bb44,_0x58cdbb,_0x24a6c9,_0x1246fb,_0x578e9f,_0x24a681){var _0x38377c=_0x473071;super(_0x5037a6,_0x96dbeb,_0x4e026b,_0x5d4b18,_0x626243,_0x233e2e,_0x4bb9af,_0x1ded20,_0xd3bb44,_0x58cdbb,_0x24a6c9,_0x1246fb,_0x578e9f,_0x24a681),this[_0x38377c(0x2c4)]=_0x5037a6,this['type']=_0x4e026b,this[_0x38377c(0x1b1)]=_0x3afd1b;}[_0x473071(0x3ff)](){var _0x35433b=_0x473071;const _0x11ccce=super[_0x35433b(0x3ff)]();return _0x11ccce[_0x35433b(0x2d9)]=_0xe44be2=>this['_sheetTransformSelectionsService'][_0x35433b(0x181)](_0xe44be2),_0x11ccce;}async[_0x473071(0x2eb)](){var _0x48c84b=_0x473071;const _0x24a820=await super[_0x48c84b(0x2eb)]();return this['disposeWithMe'](this[_0x48c84b(0x347)][_0x48c84b(0x1d8)]((_0x9165cf,_0x5ea7ec)=>{var _0x54272c=_0x48c84b;if(_0x9165cf[_0x54272c(0x1ec)]!==o[_0x54272c(0x1d1)][_0x54272c(0x465)]||_0x5ea7ec!=null&&_0x5ea7ec[_0x54272c(0x4ab)]||_0x5ea7ec!=null&&_0x5ea7ec[_0x54272c(0x487)])return;const _0x2e2e43=_0x9165cf[_0x54272c(0x226)];if((_0x2e2e43==null?void 0x0:_0x2e2e43['unitId'])!==this[_0x54272c(0x2c4)])return;const _0x5d2d70=_0x9165cf,_0x4855b6=this[_0x54272c(0x1b8)][_0x54272c(0x41a)][_0x54272c(0x410)](this[_0x54272c(0x1b8)][_0x54272c(0x41a)]['getInterceptPoints']()[_0x54272c(0x177)])([_0x5d2d70],this[_0x54272c(0x1cc)])||[_0x5d2d70];this[_0x54272c(0x425)](_0x4855b6[0x0]);})),_0x24a820;}},exports[_0x473071(0x3a8)]=Be([$(0x3,o['Inject'](o['Injector'])),$(0x4,o[_0x473071(0x1d0)](E[_0x473071(0x45a)])),$(0x5,o[_0x473071(0x1d0)](o[_0x473071(0x351)])),$(0x6,o[_0x473071(0x1d0)](E[_0x473071(0x4b1)])),$(0x7,o['Inject'](exports['SheetTransformSelectionsService'])),$(0x8,o[_0x473071(0x1d0)](ee)),$(0x9,o[_0x473071(0x4ae)]),$(0xa,o['ILogService']),$(0xb,o[_0x473071(0x23a)]),$(0xc,o[_0x473071(0x3f4)]),$(0xd,o[_0x473071(0x437)](ve)),$(0xe,o[_0x473071(0x437)](q))],exports['SheetCollaborationEntity']);function _0x8596(){var _0x24eab7=['updatePermissionObjEvent','sessionStatus$','parse','onCommentUpdate','crypto','UNDEFINED','data','GLOBAL_ROOMS_CNT_EXCEEDS','snapshot','_transformStateCache','CollaborationImageIoService','algo','_transformSelections','SheetPermissionInitController','code','_initDependencies','SOCKET_FAILED','_acknowledgedAwaitingChangeset','_commentUpdate$','_disableEditing','_lockTransition','CollaborationSessionService','conflict','Latin1','getTypeOfUnitDisposed$','finalize','ENTITLE_DUP_SUBSCRIPTION','SHA1','AwaitingState','PERSON','length','_showConflictNotification','__creator','socketService','BehaviorSubject','YUUMI_TABLE_NOT_FOUND_IN_UNIT','toString','event$','string','_clearUndo','emitEvent','_executeRemoteChangeset','_socketMessageSubscription','NoPadding','YUUMI_ALL_TABLES_IS_INVALID','liveShareOperation','_changesetSessionId','NOT_FOUND','_iv','ImageUploadStatusType','MOBILE_HAS_BEEN_BOUND','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','members','FAIL','UNKNOWN_CMD','getMemberID','_event$','_applyRemoteChangeset','localCacheService','CollaborationEntity','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_pendingMutations','state','DEFAULT_WS_SESSION_TICKET_URL','_rescheduleHeartbeat','mergeOverrideWithDependencies','m2Prime','/resources','_onConflict','_getAPIPrefixPath','DisposableCollection','IPermissionService','reduce','Decryptor','LOGIN_FAILED','getFocusedUnit','COMMENT_UPDATE','map','_httpService','_updateState','ciphertext','enc','_createHandler','reset','_changesetReqId','SNAPSHOT_INVALID_SNAPSHOT','RETRY_CONNECTING_MAX_COUNT_KEY','isTransformMutationsWithChangesetSuccess','getTime','onTransformState','_getCtorByUniverType','_getUploadFileURL','padding','HEARTBEAT','_clearLocalCache','COMPRESS_MUTATION_APPLY','_logService','csShouldRetryEvent','Undefined','fetchThroughInterceptors','newCsEvent','random','[OfflineState]:\x20received\x20rejection.','_getSendChangesetTimeout','_snapshotServerService','SYNCED','/universer-api/snapshot','MSG_FOR_ERROR','textEncoder','interceptor','editingUnit','_waitCount','_startTelemetryCollaborationNewChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IDLE','enableCollaboration','/rev/','_onRemoteRejected','csAckEvent','_sessions','_onLocalMutation','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/unit/','from','refreshPermission','JOIN_ROOM_PERMISSION_DENIED','set','CollaborationStatus','_schedule','AwaitingWithPendingState','_prevBlock','getResourcesRequest','sheets','readyForCollab','_getUndoStack','[PendingState]:\x20unhandled\x20univer\x20type:\x20','RECV','headers','Optional','listRoles','CollaborationEvent','sessionStatus','_createSocket','put','_clearScheduledTask','CHANGESET_SHOULD_RETRY','toStringTag','isTransformMutationsWithChangesetFailure','reconnect','close','deepClone','_undoRedoService','IUndoRedoService','ERROR_EXCEED_SIZE','LocalUndoRedoService','ws://127.0.0.1:8000/universer-api/comb/connect','_change$','ALREADY_EXISTS','_onRemoteChangeset','AWAITING','UNIVER_COLLABORATION_CLIENT_PLUGIN','batchAllowed','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','deserializeToCombResponse','ENTITLE_CHAT_LIMIT_EXCEED','SheetTransformSelectionsService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_transformRemoteChangesetByStateCache','CollaborationSocketService','/universer-api/comb','Hasher','_getRedoStack','INVITE_CODE_HAS_BEEN_UES','CompressMutationService','5978540GJSGVY','submit\x20changeset\x20error!','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','generateRandomId','SessionStatus','originalMeta','every','onTransformIME','disposeWithMe','_getDownloadEndpointURL','MUTATION','_sender','UNIVER_UNKNOWN','HTTPService','WorkbookEditablePermission','_decreaseWaiting','[SyncedState]:\x20received\x20rejection.','waitForRoom$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','pending','_collaborationSessionService','IImageIoService','_append','_sendingTimer','getUnitType','_map','session.join-failed','_onConnectionFailed','function','collaboratorID','APPLY_REJECT','DEFAULT_COLLAB_WEB_SOCKET_URL','_fetchMissChangesets','deleteCollaborator','APPLY_REVISION_CONFILICT','MD5','localeService','requireSession','subject','join','RichTextEditingMutation','Encryptor','[PendingState]:\x20received\x20rejection.','_substituteUndoStack','onlyLocal','x-univer-host','_retryCount','_shouldReportTelemetry','\x0aAfter:\x20','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','onMissingChangesets','_replayCachedMutations','_remoteChangesetQueue','addHandlerCallback','/allowed','SetSelectionsOperation','debug','PERMISSION_DENIED','roomInfos','post','Subject','eventID','liveShareNewHost','_unlockTransition','socket$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','univer-pro.collaboration-client-socket-service','onRemoteAck','UniverCollaborationClientPlugin','getCollabEntity','MergeInterceptorFactory','incrementRevOfUnit','origin','AuthzIoHttpService','REDEMPTION_CODE_FULLY_REDEEMED','1496563taFwav','YUUMI_AI_RUN_FAILED','isArray','FETCH_MISSING','collabSubmitChangesetUrl','fromCollab','getMember','onLocalMutation','IUniverInstanceService','_createHelper','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','RevisionService','1150188xhogWE','BufferedBlockAlgorithm','_singleActiveUnitService','byteOffset','getCollabEntity$','createDecryptor','c1Prime','CollaborationSession','complete','[FetchMissState]','connection\x20error','ILocalCacheService','includes','onRemoteRetry','size','_configService','clamp','mapDocumentTypeToUniverType','POST','/universer-api/authz','OPTIONAL','PendingState','[CollaborationUndoRedoService]','_collaborationUIEventService','_sendHeartbeat','infoRsp','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_initUnitPermissionChange','list','LIVESHARE_FETCH_OPERATIONS','&source=','getImage','LIVESHARE_REQUEST_HOST','_clearRetryConnectingTimer','startTime','target','/universer-api/stream/file/upload','/object/','awaiting','range','_nDataBytes','ENTITLE_NEED_BILLING_ADDRESS','LIVESHARE_NEW_HOST','actions','__splitChunk__','_sessionStatus$','take','USERS_LEAVE','YUUMI_NO_CUBOID_FOR_QUESTION','\x20in\x20_schedule.','readAsDataURL','initWorkbookPermissionChange','&to=','href','_onCombEvent','Cipher','_createInitialState','_telemetryService','_roomCreated$','url','ConflictState','NO_OTHER_CLIENTS_EDITING','onload','serializeCombRequest','_startCollaboration','onTransformRemoteChangesetByStateCache','[CollaborationSessionService]','transformUndoRedo','LEAVE','status$','catch','_exhaustRemoteChangesetQueue','allowed','SUBMIT_CHANGESET','pad','/collaborator','YUUMI_CONNECTOR_URL_NOT_FOUND','_resendTimeout','LICENSE_DISTRO_REJECTED','dispose','SyncedState','_clearCollaborationTimeoutTimer','UNRECOGNIZED','setCurrentUser','lib','routeKey','YUUMI_RATE_OVER_LIMIT','PERMISSION_REJ','closeSession','COMPRESS_MUTATION_SEND','stopTime','_queuedRemoteChangesets','create','YUUMI_UNABLE_LOAD_URL','LOGIN_TOKEN_PROCESSING_FAILED','UPDATE_CURSOR','revision','confirm','createIdentifier','transformSelections','Quantity','ONLINE','_stopTelemetryCollaborationNewChangeset','awaitingChangeset','FetchingMissState','ERROR_IMAGE','CLOSE_ROOM','INVALID_INVITE_CODE','/block/','_socket','Error\x20on\x20receiving\x20event','_socketReady','_collabSessionService','setConfig','YUUMI_URL_COL_OUT_OF_RANGE','unit-cache-','transformMutationsWithChangeset','getSnapshotAPIPath','/universer-api/user/session-ticket','_toggleOffline','_members','updateMember','_replaceFileID','{fileID}','YUUMI_SUBSCRIPTION_NOT_FOUND','StreamCipher','unitId\x20is\x20not\x20found','JSONX','_clearHeartbeatTimer','_members$','takeUntil','_ENC_XFORM_MODE','save\x20fail\x20reason\x20is\x20','values','LICENSE_IMPORT_SIZE_EXCEEDED','OfflineState','INVITE_CODE_ALREADY_BOUND','_onRemoteRetry','session.room-cnt-exceeds','error$','_getCurrentRevision','removeMember','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','kdf','_resendWithTimeout','toggleOffline','AUTHORIZE_CODE_ILLEGAL','_sheetTransformSelectionsService','c2Prime','[DataLoaderService]','PY_RUNTIME_SCRIPT_ERROR','floor','roles','SUBMIT_CHANGESET_TIMEOUT','_compressMutationService','hasOwnProperty','get','CHANGESET_REJ','_isPermissionRej','textRanges','selections','enableSingleActiveInstanceLock','dispose$','CHANGESET_REVISION_CONFILICT','pauseCollaboration','_transformRemoteChangesetByIMECache','Pkcs7','getOwnPropertyDescriptor','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_SLIDE','unpad','JOIN_ROOM_NOT_EXISTS','encode','_tryReconnect','_univerInstanceService','DEFAULT_FILE_NAME','HMAC','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Inject','CommandType','getRandomValues','SnapshotServerOverHTTPService','salt','avatar','PAYMENT_CHANNEL_NOT_SUPPORT','baseRev','onMutationExecutedForCollab','BASE64','[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.','onSendChangeset','SnapshotService','ILogService','merge','exports','CHANGESET_ACK','_transformIMECache','_sendHeartbeatTimer','CONNECTOR_DATA_TOO_LARGE','now','getValue','PSEUDO_FETCH_MISSING_RESULT','appendMutation','forEach','_config','PENDING','_onMessage','type','CollaborativeUndoRedoService','CollaborationController','_onUserLeave','online$','HmacMD5','title','Base','_nRounds','_oKey','resolve','EMAIL_HAS_BEEN_BOUND','awaiting_with_pending','USER_NOT_INVITED_CODE','repeat','SOCKET_FAILED_RETRY','createInstance','getCurrentUser','_handler','collaborators','_tryEnsureSocket','8SzGmdV','saveSnapshot','HmacSHA1','_state','onStarting','push','1510270BVDjxU','commentUpdate$','ITransformService','_handlerCallback','collaboration-client.local-cache-service','_socketService','getRoom','requestParams','updateOfflineData','permissionRejEvent','_throwTelemetryCollaborationNewChangeset','[CollaborationSession]','_key','saveSheetBlock','mutations','DependentOn','b64DecodeUnicode','_imageSourceCache','getLatestCsReqIdBySid','clear','JOIN','USER_IS_ANONYMOUS','createSocket','_candidateSocket','parseChangesetToProtocol','[CollaborationEntity]','editing\x20status\x20changed\x20to','_registerDependencies','updateCollaborator','540906sYDGSn','transformChangesets','params','resourceIDs','loadUnitOfRevision','_iKey','UserManagerService','_createInitialStateImpl','getUnitId','HttpImport','update','src','csRejEvent','socket\x20close','parseProtocolChangeset','_keyPriorReset','REDEMPTION_CODE_NOT_STARTED','words','sid','JOIN_ROOM_FAILED','onRemoteRej','find','ICommandService','ITelemetryService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','INGEST','_transformStack','symbol','rev','append','_createHmacHelper','_checkMissing','_eventService','_substituteRedoStack','iterations','[UniverCollaborationClientPlugin]','_timeoutTimer','\x20to\x20','_toggleOnline','/-/object/-/batch_allowed','getAllMembers','INetworkConditionService','USER_NOT_FOUND','USERS_ENTER','image/bmp','LICENSE_MAX_UNITS_EXCEEDED','INTERNAL_ERROR','AWAITING_WITH_PENDING','authzUrl','APPLY_PERMISSION_DENIED','UnitStatus','extend','WordArray','EvpKDF','isInternalEditorID','UPDATE_PERMISSION_OBJ','_snapshotService','[CollaborationState]:\x20apply\x20error!','PasswordBasedCipher','getInterceptPoints','isTransformChangesetsSuccess','loadOfflineData','MentionType','ENTITLE_CAN_NOT_BUY_LOWER_OTP','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','cfg','open$','UniverInstanceType','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','clone','setWaitCount','send','min','getActiveSheet','hostname','setShowComponents','getUnitStatus$','SNAPSHOT_HAS_BEEN_REMOVED','collaboration-client.config','6620262nuLrTG','createEncryptor','UserProfileImg','call','OTHER_CLIENTS_EDITING','session.room-permission-denied','_getAPIPrefix','_onFetchMissResult','getSheetId','blockSize','copyFileMeta','IContextService','BlockCipher','ReplaySubject','message$','subUnitId','patch','_localeService','_unitID','CONFLICT','synced','221830oOjoup','changesets','keySize','objectID','NEW_CHANGESETS','getGlobalObject','_incrementRevisionNumber','substr','delete','_emitMembers','override','_redoStacks','compute','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','action','_transformService','collaboration_new_changeset','_roomMembers','_data','add','prototype','UNAUTHENTICATED','_resendTimer','People','state$','INVITE_CODE_REQUIRED','Hex','getConfig','error','Injector','_onOffline','Base64','unitId','pluginName','CommentService','disableLocalCache','_collaborationTimeoutTimer','_status$','$super','not_collab','onTransformRemoteChangesetByIMECache','_initMergeInterceptor','equals','MentionIoHttpService','ENTITLE_INSUFFICIENT_QUOTA','_onUserJoin','signUrlServerUrl','saveImage','method','onRemoteChangeset','image/png','_invKeySchedule','unsubscribe','Malformed\x20UTF-8\x20data','_state$','registerHTTPInterceptor','IAuthzIoService','/fetchmissing?from=','IConfigService','_socket$','unitID','decryptBlock','_permissionService','reject','key','updatePermissionPoint','fromCharCode','[OfflineState]:\x20received\x20changeset.','loadSheet','name','ERROR_AGAIN','_transitionLocked','then','Disposable','_waitForHeartbeatResponse','downloadEndpointUrl','ivSize','asObservable','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_revisionService','encodeURIComponent','onTransformSelections','filter','mode','has','Rectangle','sigBytes','msCrypto','_joinRoom','_updateStatus','WECHAT_HAS_BEEN_BOUND','OFFLINE','_userManagerService','_scheduleCollaborationTimeoutTimer','JOINING','_telemetryInfo','36GrqJbj','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_URL_KEY','_init','_entities','/universer-api/file/{fileID}/sign-url','_clearRedo','compose','_networkConditionService','isPermissionRej','_cipher','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','UnitEmbedded','getTypeOfUnitAdded$','charCodeAt','randomBytes','Univer','byteLength','_maxTotalRetryTimeout','cmd','_minBufferSize','_hasher','_collaborationPaused','Could\x20not\x20dynamically\x20require\x20\x22','getDeserializedSheetBlock','getSheetBlock','memberID','_memberService','_xformMode','JOIN_ROOM_FULL','ISocketService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_updateLocalCache','auth.needGotoLoginAlert','REDEMPTION_USER_REDEEM_TIMES_EXCEED','execute','INVALID_ARGUMENT','resend','_onConnectionOpen','_retryConnectingTimer','_onJoinRoomEvent','_instanceService','_doFinalize','concat','unknown','charAt','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_removeRoom','EMAIL_VERIFY_CODE_MISMATCH','REDEMPTION_USER_NOT_ELIGIBLE','objectType','entityInit$','reqId','UNISCRIPT_RUN','ENTITLE_USE_COUPON_NOT_1ST_TRADE','AES','decrypt','/role','toggleOnline','joinEvent','slice','failed\x20to\x20apply\x20missed\x20changesets!','72OLqXYw','LOCAL_CACHE_INTERVAL','ENSURE_SNAPSHOT_EXECUTION','_scheduleCompleteTimestamp','replace','HEARTBEAT_INTERVAL_KEY','fetch_missing','status','subscribe','focused$','mixIn','UniverNetworkPlugin','HttpExport','UnitSnapshot','DocCollaborationEntity','REDEMPTION_CODE_INACTIVE','toDisposable','_mode','_onRecvEvent','LIVESHARE_TERMINATE','loginUrlKey','onSyncEditingCollabCursor','LIVESHARE_OPERATION','TOO_MANY_REQUESTS','FileId','Utf8','_listenToNetworkCondition','getLocalCacheKey','ENTITLE_COUPON_USED_UP','init','Module','image/gif','concatMap','_commandService','/universer-api/uniscript','buffer','ICollaborationSocketService','RxDisposable','capture','encrypt','Tools','pipe','_type','LocaleService','startsWith','session','onMissedChangesetFetched','_entityInit$','formatter','[PendingState]:\x20received\x20acknowledgement.','_onRemoteACK','format','getCurrentSelections','_unitInfo$','getCurrentRevOfUnit','HELLO','_process','DataLoaderService','SHOULD_CLOSE_CONN','userID','2mvXdKE','max','ThresholdInterceptorFactory','duration','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','HTTPRequest','touchDependencies','joinRsp','close$','firstValueFrom','APPLY_DUPLICATED','COMPLETION_FINISHED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_HTTPService','getUnit','_hash','_syncEditingCollabCursor','executeCommand','RETRY_CONNECTING_MAX_COUNT','_doReset','MemberService','default','UNIVER_SHEET','/universer-api/oidc/authpage','commentUpdateEvent','CURRENT_STATUS_CANNOT_OPERATE','90klCeSx','next','_parse','_clearTimeoutTimer','location','ImageSourceType','transformStack\x20failed!','UNIVER_DOC','_localCacheService','ENTITLE_COUPON_EXPIRED','DATA_SOURCE_TOO_LARGE','updateSnapshot','?size=','defineProperty','fetchMiss','_getLoginPath','_injector','ENTITLE_REPORT_LIMIT_EXCEED','/universer-api/snapshot/','APPLY_NON_SEQUENTIAL_REVISION','ceil','collaMsg','apply','putCollaborators','body','stringify','reverse','splice','members$','session.room-full','objectActions','REDEMPTION_CODE_HAS_BEEN_CREATED','leaveEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNIVER_PROJECT','_transformUndoredo','_initCloseConn','OTHER_CLIENT_EDITING','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_reverseMap','hasher','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','__esModule','withCredentials','SheetCollaborationEntity','_initRequestHeader','_keySchedule','telemetry\x20info\x20is\x20not\x20initialized','_awaitingChangeset'];_0x8596=function(){return _0x24eab7;};return _0x8596();}const pt=o[_0x473071(0x180)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x2aa105){var _0x41a3ed=_0x473071,_0x460678,_0x4a1683,_0x8076ca,_0x893421,_0x223653;const _0x5692da=_0x2aa105[_0x41a3ed(0x3b3)],_0x5806b4=JSON[_0x41a3ed(0x3af)](_0x5692da);switch(_0x5806b4[_0x41a3ed(0x2fb)]){case W[_0x41a3ed(0x40a)]:case W[_0x41a3ed(0x35d)]:{const _0x41aa75=_0x5806b4[_0x41a3ed(0x4cb)];return{..._0x5806b4,'data':_0x41aa75,'cmd':_0x5806b4['cmd']};}case W['JOIN']:{const _0x49ac02=_0x5806b4[_0x41a3ed(0x369)];return{..._0x5806b4,'data':_0x49ac02,'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};}case W[_0x41a3ed(0x435)]:{const _0x270293=_0x5806b4[_0x41a3ed(0x391)];switch(_0x270293[_0x41a3ed(0x498)]){case E[_0x41a3ed(0x439)][_0x41a3ed(0x175)]:return{..._0x5806b4,'data':{..._0x270293,'data':(_0x460678=_0x270293[_0x41a3ed(0x210)])==null?void 0x0:_0x460678['cs']},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E['CollaborationEvent']['CHANGESET_ACK']:return{..._0x5806b4,'data':{..._0x270293,'data':(_0x4a1683=_0x270293[_0x41a3ed(0x423)])==null?void 0x0:_0x4a1683['cs']},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E[_0x41a3ed(0x439)][_0x41a3ed(0x28c)]:return{..._0x5806b4,'data':{..._0x270293,'data':(_0x8076ca=_0x270293[_0x41a3ed(0x411)])==null?void 0x0:_0x8076ca['cs']},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E[_0x41a3ed(0x439)][_0x41a3ed(0x1bb)]:return{..._0x5806b4,'data':{..._0x270293,'data':(_0x893421=_0x270293[_0x41a3ed(0x230)])==null?void 0x0:_0x893421['cs']},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E[_0x41a3ed(0x439)]['CHANGESET_SHOULD_RETRY']:return{..._0x5806b4,'data':{..._0x270293,'data':(_0x223653=_0x270293[_0x41a3ed(0x40e)])==null?void 0x0:_0x223653['cs']},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E[_0x41a3ed(0x439)]['UPDATE_CURSOR']:return{..._0x5806b4,'data':{..._0x270293,'data':_0x270293['updateCursorEvent']},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E[_0x41a3ed(0x439)]['USERS_ENTER']:return{..._0x5806b4,'data':{..._0x270293,'data':_0x270293[_0x41a3ed(0x323)]},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E['CollaborationEvent']['USERS_LEAVE']:return{..._0x5806b4,'data':{..._0x270293,'data':_0x270293[_0x41a3ed(0x39c)]},'cmd':_0x5806b4['cmd']};case E['CollaborationEvent'][_0x41a3ed(0x4dc)]:return{..._0x5806b4,'data':{..._0x270293,'data':_0x270293[_0x41a3ed(0x499)]},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case E[_0x41a3ed(0x439)][_0x41a3ed(0x33c)]:return{..._0x5806b4,'data':{..._0x270293,'data':_0x270293[_0x41a3ed(0x3da)]},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E['CollaborationEvent'][_0x41a3ed(0x339)]:return{..._0x5806b4,'data':{..._0x270293,'data':_0x270293[_0x41a3ed(0x499)]},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E[_0x41a3ed(0x439)][_0x41a3ed(0x418)]:return{..._0x5806b4,'data':_0x270293,'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E[_0x41a3ed(0x439)]['COMMENT_UPDATE']:return{..._0x5806b4,'data':{..._0x270293,'data':_0x270293[_0x41a3ed(0x37a)]},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E[_0x41a3ed(0x439)][_0x41a3ed(0x25b)]:return{..._0x5806b4,'data':{..._0x270293,'data':_0x270293[_0x41a3ed(0x3ad)]},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E[_0x41a3ed(0x439)][_0x41a3ed(0x360)]:return{..._0x5806b4,'data':{..._0x270293,'data':_0x270293['shouldCloseConn']},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};case E['CollaborationEvent'][_0x41a3ed(0x31d)]:return{..._0x5806b4,'data':{..._0x270293,'data':_0x270293['uniscriptRunEvent']},'cmd':_0x5806b4[_0x41a3ed(0x2fb)]};default:return _0x5806b4;}}default:return _0x5806b4;}}function gt(_0x1a978c){var _0x4399e7=_0x473071;switch(_0x1a978c[_0x4399e7(0x2fb)]){case W[_0x4399e7(0x40a)]:case W[_0x4399e7(0x35d)]:return JSON[_0x4399e7(0x395)]({'cmd':_0x1a978c[_0x4399e7(0x2fb)],'routeKey':_0x1a978c[_0x4399e7(0x173)]});case W[_0x4399e7(0x23d)]:{let _0x3c040a;switch(_0x1a978c[_0x4399e7(0x3b3)]['eventID']){case E['CollaborationEvent'][_0x4399e7(0x17d)]:{_0x3c040a={'eventID':E[_0x4399e7(0x439)][_0x4399e7(0x17d)],'updateCursorEvent':_0x1a978c[_0x4399e7(0x3b3)]['data']};break;}case E[_0x4399e7(0x439)][_0x4399e7(0x4e1)]:{_0x3c040a={'eventID':E['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x1a978c[_0x4399e7(0x3b3)][_0x4399e7(0x3b3)]};break;}case E['CollaborationEvent'][_0x4399e7(0x24f)]:{_0x3c040a={'eventID':E[_0x4399e7(0x439)][_0x4399e7(0x24f)],'joinEvent':_0x1a978c['data']['data']};break;}case E[_0x4399e7(0x439)][_0x4399e7(0x4dc)]:{_0x3c040a={'eventID':E[_0x4399e7(0x439)][_0x4399e7(0x4dc)],'liveShareNewHost':_0x1a978c[_0x4399e7(0x3b3)][_0x4399e7(0x3b3)]};break;}case E[_0x4399e7(0x439)][_0x4399e7(0x33c)]:{_0x3c040a={'eventID':E[_0x4399e7(0x439)][_0x4399e7(0x33c)],'liveShareOperation':_0x1a978c[_0x4399e7(0x3b3)][_0x4399e7(0x3b3)]};break;}case E['CollaborationEvent'][_0x4399e7(0x339)]:{_0x3c040a={'eventID':E[_0x4399e7(0x439)][_0x4399e7(0x339)],'liveShareTerminate':_0x1a978c[_0x4399e7(0x3b3)]['data']};break;}case E[_0x4399e7(0x439)][_0x4399e7(0x4d2)]:{_0x3c040a={'eventID':E[_0x4399e7(0x439)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1a978c[_0x4399e7(0x3b3)][_0x4399e7(0x3b3)]};break;}case E[_0x4399e7(0x439)][_0x4399e7(0x4cf)]:{_0x3c040a={'eventID':E[_0x4399e7(0x439)][_0x4399e7(0x4cf)]};break;}default:_0x3c040a={'eventID':_0x1a978c[_0x4399e7(0x3b3)][_0x4399e7(0x498)]};}return JSON['stringify']({'cmd':_0x1a978c[_0x4399e7(0x2fb)],'routeKey':_0x1a978c[_0x4399e7(0x173)],'collaMsg':_0x3c040a});}case W[_0x4399e7(0x21b)]:return JSON[_0x4399e7(0x395)]({'cmd':_0x1a978c[_0x4399e7(0x2fb)],'routeKey':_0x1a978c['routeKey'],'joinReq':_0x1a978c['data']});case W[_0x4399e7(0x162)]:return JSON[_0x4399e7(0x395)]({'cmd':_0x1a978c[_0x4399e7(0x2fb)],'routeKey':_0x1a978c[_0x4399e7(0x173)],'leaveReq':_0x1a978c['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var ri=Object['getOwnPropertyDescriptor'],ai=(_0x38e7b2,_0x2021c7,_0x2a0b19,_0x216c69)=>{for(var _0x59472d=_0x216c69>0x1?void 0x0:_0x216c69?ri(_0x2021c7,_0x2a0b19):_0x2021c7,_0x5408a7=_0x38e7b2['length']-0x1,_0x41ba81;_0x5408a7>=0x0;_0x5408a7--)(_0x41ba81=_0x38e7b2[_0x5408a7])&&(_0x59472d=_0x41ba81(_0x59472d)||_0x59472d);return _0x59472d;},he=(_0x3dbea7,_0x472d2e)=>(_0x692488,_0x3f87af)=>_0x472d2e(_0x692488,_0x3f87af,_0x3dbea7);const Fe=o[_0x473071(0x180)](_0x473071(0x49d));function oi(_0x4b98e4,_0x5e4cc9,_0x19a50f){var _0xe0cd14=_0x473071;return _0x4b98e4+'/'+_0x5e4cc9+_0xe0cd14(0x427)+_0x19a50f+'/new_changes';}exports[_0x473071(0x455)]=class extends o[_0x473071(0x2d1)]{constructor(_0xf9b828,_0x31f30c,_0x358710,_0x3a38bd,_0x3a06d4){var _0x413388=_0x473071;super(),this[_0x413388(0x38c)]=_0xf9b828,this[_0x413388(0x3fb)]=_0x31f30c,this[_0x413388(0x4c1)]=_0x358710,this[_0x413388(0x40d)]=_0x3a38bd,this[_0x413388(0x415)]=_0x3a06d4;}['_doCreateSocket'](_0x415c05){var _0x2aa2bc=_0x473071;const _0xe75123=this['_injector'][_0x2aa2bc(0x1ba)](K[_0x2aa2bc(0x306)]);if(!_0xe75123)throw new Error(_0x2aa2bc(0x39d));const _0x8e12b8=_0xe75123[_0x2aa2bc(0x21d)](_0x415c05);if(!_0x8e12b8)throw new Error(_0x2aa2bc(0x3e9));const _0x48518d=new o[(_0x2aa2bc(0x3f3))](),_0x10db95=new j['Subject']();_0x48518d[_0x2aa2bc(0x29b)](_0x8e12b8[_0x2aa2bc(0x36a)][_0x2aa2bc(0x32e)](_0xdebb23=>_0x10db95['next'](_0xdebb23))),_0x48518d[_0x2aa2bc(0x29b)](o[_0x2aa2bc(0x336)](()=>_0x10db95[_0x2aa2bc(0x4ba)]()));const _0x3b9a5a=new j[(_0x2aa2bc(0x497))]();_0x48518d[_0x2aa2bc(0x29b)](_0x8e12b8[_0x2aa2bc(0x1a9)][_0x2aa2bc(0x32e)](_0x5b5e97=>_0x3b9a5a['next'](_0x5b5e97))),_0x48518d[_0x2aa2bc(0x29b)](o[_0x2aa2bc(0x336)](()=>_0x3b9a5a[_0x2aa2bc(0x4ba)]()));const _0x240a66=new j[(_0x2aa2bc(0x497))]();_0x48518d[_0x2aa2bc(0x29b)](_0x8e12b8[_0x2aa2bc(0x281)][_0x2aa2bc(0x32e)](_0x4a8a97=>{var _0x5bb65d=_0x2aa2bc;const _0x5954ac=mt(_0x4a8a97);_0x240a66[_0x5bb65d(0x37d)](_0x5954ac);})),_0x48518d[_0x2aa2bc(0x29b)](o[_0x2aa2bc(0x336)](()=>_0x240a66[_0x2aa2bc(0x4ba)]()));let _0x3a8ede;const _0x2e9e67=()=>{var _0x2f3324=_0x2aa2bc;_0x3b9a5a['next'](new Event(_0x2f3324(0x4bc))),_0x10db95[_0x2f3324(0x37d)](new Event(_0x2f3324(0x4bc))),_0x3a8ede[_0x2f3324(0x442)]();};return _0x3a8ede={'memberID':'','close$':_0x10db95[_0x2aa2bc(0x2d5)](),'error$':_0x3b9a5a[_0x2aa2bc(0x2d5)](),'open$':_0x8e12b8[_0x2aa2bc(0x266)],'message$':_0x240a66[_0x2aa2bc(0x2d5)](),'send':_0x1c342c=>{var _0xed7fca=_0x2aa2bc;if(_0x1c342c[_0xed7fca(0x2fb)]===W[_0xed7fca(0x23d)]){if(_0x1c342c[_0xed7fca(0x3b3)][_0xed7fca(0x498)]===E[_0xed7fca(0x439)][_0xed7fca(0x167)]){this['_submitChangeset'](_0x3a8ede,_0x1c342c[_0xed7fca(0x3b3)])[_0xed7fca(0x164)](_0x19ad70=>{var _0x3ba315=_0xed7fca;this[_0x3ba315(0x40d)][_0x3ba315(0x2a4)](_0x19ad70),_0x2e9e67();});return;}if(_0x1c342c[_0xed7fca(0x3b3)][_0xed7fca(0x498)]===E[_0xed7fca(0x439)][_0xed7fca(0x4a9)]){const _0x4c78bb=_0x1c342c[_0xed7fca(0x3b3)];this[_0xed7fca(0x47b)](_0x4c78bb)[_0xed7fca(0x2d0)](_0x3b3b7a=>{var _0x5e0162=_0xed7fca;_0x240a66['next']({'cmd':W[_0x5e0162(0x435)],'code':re['OK'],'routeKey':_0x4c78bb[_0x5e0162(0x3b3)][_0x5e0162(0x2c4)],'routeType':'','data':{'eventID':E[_0x5e0162(0x439)][_0x5e0162(0x1e6)],'data':{'changesets':_0x3b3b7a}}});})[_0xed7fca(0x164)](_0x4307d8=>{var _0x4f2a8d=_0xed7fca;this['_logService'][_0x4f2a8d(0x2a4)](_0x4307d8),_0x2e9e67();});return;}}_0x8e12b8['send'](gt(_0x1c342c));},'close':()=>{var _0x12d627=_0x2aa2bc;_0x8e12b8['close'](),_0x48518d[_0x12d627(0x16d)]();}},_0x3a8ede;}async['_submitChangeset'](_0x458f5a,_0x40b6b5){var _0x3d2a74=_0x473071,_0x261456;const {unitType:_0x343a8e,unitID:_0x302a94,changeset:_0x4fa892}=_0x40b6b5[_0x3d2a74(0x3b3)],_0x81fc08={'unitID':_0x302a94,'memberID':_0x458f5a[_0x3d2a74(0x302)],'type':_0x343a8e,'changeset':E[_0x3d2a74(0x21f)](_0x4fa892)},_0x5b274d=this[_0x3d2a74(0x4c1)][_0x3d2a74(0x2a3)](Y),_0x199414=oi((_0x261456=_0x5b274d==null?void 0x0:_0x5b274d[_0x3d2a74(0x4aa)])!=null?_0x261456:$t,_0x343a8e,_0x302a94);try{await this[_0x3d2a74(0x3fb)]['post'](_0x199414,{'body':_0x81fc08});}catch(_0x3b5a6){throw this[_0x3d2a74(0x40d)]['error'](_0x3d2a74(0x212),_0x3d2a74(0x45c)),_0x3b5a6;}}async[_0x473071(0x47b)](_0x5baf3c){var _0x383546=_0x473071;const {unitID:_0x53e82e,from:_0x3e390f,to:_0x276e05,unitType:_0x12b618}=_0x5baf3c[_0x383546(0x3b3)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x53e82e,'type':_0x12b618,'from':_0x3e390f,'to':_0x276e05}))[_0x383546(0x289)][_0x383546(0x3fa)](_0x18c2cc=>((_0x18c2cc[_0x383546(0x215)]===null||_0x18c2cc[_0x383546(0x215)]===void 0x0)&&(_0x18c2cc[_0x383546(0x215)]=[]),_0x18c2cc));}},exports[_0x473071(0x455)]=ai([he(0x0,o[_0x473071(0x1d0)](o[_0x473071(0x2a5)])),he(0x1,o['Inject'](K[_0x473071(0x468)])),he(0x2,o[_0x473071(0x2c2)]),he(0x3,o[_0x473071(0x1dd)]),he(0x4,E['ISnapshotServerService'])],exports[_0x473071(0x455)]);var ci=Object[_0x473071(0x1c5)],_i=(_0x1a8af9,_0x4f4d8a,_0x43e665,_0x4dccd3)=>{var _0x1fea61=_0x473071;for(var _0x3efeac=_0x4dccd3>0x1?void 0x0:_0x4dccd3?ci(_0x4f4d8a,_0x43e665):_0x4f4d8a,_0x1d5548=_0x1a8af9[_0x1fea61(0x3cb)]-0x1,_0x1b3044;_0x1d5548>=0x0;_0x1d5548--)(_0x1b3044=_0x1a8af9[_0x1d5548])&&(_0x3efeac=_0x1b3044(_0x3efeac)||_0x3efeac);return _0x3efeac;},_e=(_0x3a9ccd,_0x54bd8f)=>(_0x8efb1f,_0x3e2875)=>_0x54bd8f(_0x8efb1f,_0x3e2875,_0x3a9ccd);exports[_0x473071(0x3c2)]=class extends o[_0x473071(0x2d1)]{constructor(_0xf99951,_0x5cf934,_0x3811fd,_0x216038,_0x452f05,_0x18fa20){var _0x4dd741=_0x473071;super(),A(this,_0x4dd741(0x2c3),new j[(_0x4dd741(0x3cf))](void 0x0)),A(this,_0x4dd741(0x49b),this[_0x4dd741(0x2c3)][_0x4dd741(0x2d5)]()),A(this,_0x4dd741(0x21e),null),A(this,_0x4dd741(0x424),new Map()),A(this,_0x4dd741(0x2ad),new j[(_0x4dd741(0x3cf))](se[_0x4dd741(0x41f)])),A(this,_0x4dd741(0x163),this[_0x4dd741(0x2ad)]['asObservable']()),A(this,_0x4dd741(0x18d),!0x1),A(this,_0x4dd741(0x30f)),A(this,_0x4dd741(0x489),0x0),A(this,_0x4dd741(0x1e2)),A(this,'_timeoutTimer'),(this['_injector']=_0xf99951,this[_0x4dd741(0x40d)]=_0x5cf934,this[_0x4dd741(0x4c1)]=_0x3811fd,this[_0x4dd741(0x20c)]=_0x216038,this[_0x4dd741(0x4c9)]=_0x452f05,this[_0x4dd741(0x2f0)]=_0x18fa20,this[_0x4dd741(0x340)]());}get['_socket'](){var _0x35eb45=_0x473071;return this[_0x35eb45(0x2c3)][_0x35eb45(0x1e5)]();}['_listenToNetworkCondition'](){var _0x13ad1a=_0x473071;this[_0x13ad1a(0x2f0)]&&this[_0x13ad1a(0x463)](this[_0x13ad1a(0x2f0)][_0x13ad1a(0x1f0)]['subscribe'](_0x11b485=>{var _0x2eef3a=_0x13ad1a;_0x11b485&&!this[_0x2eef3a(0x18b)]&&this[_0x2eef3a(0x441)](),_0x11b485||this[_0x2eef3a(0x2a6)]();}));}[_0x473071(0x16d)](){var _0x37d8a2=_0x473071;super[_0x37d8a2(0x16d)](),this[_0x37d8a2(0x4d3)](),this[_0x37d8a2(0x37f)](),this[_0x37d8a2(0x19e)](),this[_0x37d8a2(0x424)][_0x37d8a2(0x1e8)](_0x5ab903=>_0x5ab903[_0x37d8a2(0x16d)]()),this['_sessions'][_0x37d8a2(0x21a)](),this[_0x37d8a2(0x2ad)][_0x37d8a2(0x4ba)]();}async[_0x473071(0x480)](_0x3dc64a){var _0xfd398f=_0x473071;if(this[_0xfd398f(0x424)][_0xfd398f(0x2dc)](_0x3dc64a))return this[_0xfd398f(0x424)][_0xfd398f(0x1ba)](_0x3dc64a);this[_0xfd398f(0x200)]();const _0xf2f9ba=this['_injector'][_0xfd398f(0x1fc)](exports[_0xfd398f(0x4b9)],_0x3dc64a,this[_0xfd398f(0x2c3)][_0xfd398f(0x2d5)]());return this[_0xfd398f(0x424)]['set'](_0x3dc64a,_0xf2f9ba),_0xf2f9ba;}[_0x473071(0x176)](_0xdb9465){var _0x1dbfd4=_0x473071,_0x1b0b57;const _0x32f26d=this[_0x1dbfd4(0x424)][_0x1dbfd4(0x1ba)](_0xdb9465);_0x32f26d&&(this[_0x1dbfd4(0x424)][_0x1dbfd4(0x290)](_0xdb9465),_0x32f26d['close']()),this['_sessions'][_0x1dbfd4(0x4c0)]||(_0x1b0b57=this[_0x1dbfd4(0x18b)])==null||_0x1b0b57[_0x1dbfd4(0x442)]();}[_0x473071(0x441)](){var _0x39476c=_0x473071;this[_0x39476c(0x489)]=0x0,this[_0x39476c(0x4d3)](),this[_0x39476c(0x1cb)]();}[_0x473071(0x4d3)](){var _0x2f1240=_0x473071;this[_0x2f1240(0x30f)]!=null&&(clearTimeout(this[_0x2f1240(0x30f)]),this[_0x2f1240(0x30f)]=null);}async[_0x473071(0x43b)](){var _0x15944d=_0x473071,_0x5a592f;const _0x35f196=this[_0x15944d(0x4c1)][_0x15944d(0x2a3)](Y),_0x2b16b9=(_0x5a592f=_0x35f196==null?void 0x0:_0x35f196['collabWebSocketUrl'])!=null?_0x5a592f:_t,_0x8b8dce=await this[_0x15944d(0x20c)][_0x15944d(0x21d)](_0x2b16b9);return this[_0x15944d(0x21e)]=_0x8b8dce,_0x8b8dce;}async[_0x473071(0x200)](){var _0x384836=_0x473071,_0x11bfb3,_0x977692;try{const _0x55fb0f=(_0x977692=(_0x11bfb3=this['_socket'])!=null?_0x11bfb3:this[_0x384836(0x21e)])!=null?_0x977692:await this[_0x384836(0x43b)]();if(_0x55fb0f){const _0x435471=_0x55fb0f[_0x384836(0x26b)];_0x55fb0f[_0x384836(0x26b)]=_0x3ecf8e=>(this[_0x384836(0x3ed)](),_0x435471[_0x384836(0x392)](_0x55fb0f,[_0x3ecf8e])),_0x55fb0f['message$'][_0x384836(0x32e)](_0x1d9023=>this[_0x384836(0x1eb)](_0x55fb0f,_0x1d9023)),_0x55fb0f['error$'][_0x384836(0x34f)](V[_0x384836(0x4e0)](0x1))['subscribe'](_0x39556a=>this[_0x384836(0x40d)][_0x384836(0x2a4)]('[CollaborationSessionService]:\x20socket\x20error',_0x39556a)),_0x55fb0f[_0x384836(0x266)][_0x384836(0x34f)](V[_0x384836(0x4e0)](0x1))[_0x384836(0x32e)](()=>{var _0x4f7145=_0x384836;this[_0x4f7145(0x30e)](_0x55fb0f);}),_0x55fb0f['close$'][_0x384836(0x34f)](V[_0x384836(0x4e0)](0x1))['subscribe'](_0x883ffa=>{var _0x1a906b=_0x384836;this[_0x1a906b(0x40d)]['debug'](_0x1a906b(0x160),_0x1a906b(0x231),_0x883ffa),this['_onConnectionFailed']();});}}catch(_0x31ccaf){this['_logService'][_0x384836(0x2a4)](_0x31ccaf),this[_0x384836(0x476)]();}}['_onConnectionOpen'](_0x59070){var _0x4ff0ef=_0x473071;this[_0x4ff0ef(0x40d)][_0x4ff0ef(0x493)](_0x4ff0ef(0x160),'socket\x20open.'),_0x59070[_0x4ff0ef(0x26b)]({'cmd':W[_0x4ff0ef(0x35d)]}),this['_rescheduleHeartbeat']();}[_0x473071(0x2a6)](){var _0x514993=_0x473071;this['_socketReady']=!0x1,this[_0x514993(0x21e)]=null,this[_0x514993(0x2ad)][_0x514993(0x37d)](se['OFFLINE']),this[_0x514993(0x2c3)][_0x514993(0x37d)](null),this[_0x514993(0x37f)](),this[_0x514993(0x19e)]();}[_0x473071(0x476)](){var _0x463083=_0x473071,_0x4a0bed;this['_onOffline'](),this[_0x463083(0x489)]<((_0x4a0bed=this[_0x463083(0x4c1)]['getConfig'](ut))!=null?_0x4a0bed:wt)?(this[_0x463083(0x4c9)][_0x463083(0x3d5)]({'id':J['SOCKET_FAILED_RETRY']}),this[_0x463083(0x1cb)]()):this[_0x463083(0x4c9)][_0x463083(0x3d5)]({'id':J[_0x463083(0x3bd)]});}[_0x473071(0x1cb)](){var _0x57ee32=_0x473071,_0x11ecaf;const _0x55c1cb=this[_0x57ee32(0x489)],_0x1ebabe=this[_0x57ee32(0x4c1)][_0x57ee32(0x2a3)](Y),_0x38c716=_0x55c1cb===0x0?0x0:((_0x11ecaf=_0x1ebabe==null?void 0x0:_0x1ebabe['retryConnectingInterval'])!=null?_0x11ecaf:Mt)*0x2**_0x55c1cb;this[_0x57ee32(0x30f)]=setTimeout(()=>{var _0x56a8c0=_0x57ee32;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x56a8c0(0x200)]();},_0x38c716),this[_0x57ee32(0x489)]+=0x1;}['_onMessage'](_0x1e1cf7,_0xe0f72e){var _0x7bc23=_0x473071;const {cmd:_0x4213b1}=_0xe0f72e;_0x4213b1===W['HELLO']&&!this[_0x7bc23(0x18d)]&&(_0x1e1cf7['memberID']=_0xe0f72e['data'][_0x7bc23(0x302)],this[_0x7bc23(0x2c3)][_0x7bc23(0x37d)](_0x1e1cf7),this[_0x7bc23(0x2ad)]['next'](se['ONLINE']),this['_socketReady']=!0x0,this[_0x7bc23(0x21e)]=null),_0x4213b1===W[_0x7bc23(0x40a)]&&this[_0x7bc23(0x37f)](),this[_0x7bc23(0x3ed)]();}[_0x473071(0x3ed)](){var _0x3766b3=_0x473071,_0xce07cb;this[_0x3766b3(0x19e)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3766b3(0x4ca)](),(_0xce07cb=this['_configService'][_0x3766b3(0x2a3)](ht))!=null?_0xce07cb:Lt);}[_0x473071(0x4ca)](){var _0x923b09=_0x473071;this[_0x923b09(0x18b)]['send']({'cmd':W[_0x923b09(0x40a)]}),this[_0x923b09(0x2d2)]();}[_0x473071(0x2d2)](){var _0x22564b=_0x473071,_0x2b21fc;this[_0x22564b(0x248)]=setTimeout(()=>this[_0x22564b(0x476)](),(_0x2b21fc=this[_0x22564b(0x4c1)][_0x22564b(0x2a3)](ke))!=null?_0x2b21fc:lt);}[_0x473071(0x19e)](){var _0x56abe5=_0x473071;this[_0x56abe5(0x1e2)]!=null&&(clearTimeout(this[_0x56abe5(0x1e2)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x3361c0=_0x473071;this[_0x3361c0(0x248)]!=null&&(clearTimeout(this[_0x3361c0(0x248)]),this[_0x3361c0(0x248)]=null);}},exports['CollaborationSessionService']=_i([_e(0x0,o['Inject'](o[_0x473071(0x2a5)])),_e(0x1,o[_0x473071(0x1dd)]),_e(0x2,o[_0x473071(0x2c2)]),_e(0x3,Fe),_e(0x4,o[_0x473071(0x1d0)](ee)),_e(0x5,o[_0x473071(0x437)](pt))],exports['CollaborationSessionService']);var hi=Object[_0x473071(0x1c5)],li=(_0x3a884a,_0x267875,_0x4f8ddf,_0x115cd3)=>{var _0x47fb4d=_0x473071;for(var _0x3b7173=_0x115cd3>0x1?void 0x0:_0x115cd3?hi(_0x267875,_0x4f8ddf):_0x267875,_0x28b1ef=_0x3a884a[_0x47fb4d(0x3cb)]-0x1,_0x5042a7;_0x28b1ef>=0x0;_0x28b1ef--)(_0x5042a7=_0x3a884a[_0x28b1ef])&&(_0x3b7173=_0x5042a7(_0x3b7173)||_0x3b7173);return _0x3b7173;},Se=(_0x183034,_0x42c1dd)=>(_0x3026d3,_0x4006e0)=>_0x42c1dd(_0x3026d3,_0x4006e0,_0x183034);exports['CollaborationController']=class extends o['RxDisposable']{constructor(_0x393b95,_0x3d976a,_0x2ffd0a,_0x4772b2){var _0x238c20=_0x473071,_0x244066;super(),A(this,_0x238c20(0x2ec),new Map()),A(this,_0x238c20(0x355),new j[(_0x238c20(0x497))]()),A(this,_0x238c20(0x31b),this[_0x238c20(0x355)][_0x238c20(0x2d5)]()),(this[_0x238c20(0x38c)]=_0x393b95,this[_0x238c20(0x18e)]=_0x3d976a,this[_0x238c20(0x4c1)]=_0x2ffd0a,this['_univerInstanceService']=_0x4772b2,((_0x244066=this[_0x238c20(0x4c1)][_0x238c20(0x2a3)](Y))==null?void 0x0:_0x244066[_0x238c20(0x420)])!==!0x1&&this[_0x238c20(0x2eb)]());}[_0x473071(0x16d)](){var _0x6283f9=_0x473071;super[_0x6283f9(0x16d)](),this['_entities'][_0x6283f9(0x1e8)](_0x543ce4=>_0x543ce4['dispose']()),this[_0x6283f9(0x2ec)][_0x6283f9(0x21a)]();}[_0x473071(0x4a0)](_0x26ffc6){var _0x214fbd=_0x473071,_0x3d43c0;return(_0x3d43c0=this[_0x214fbd(0x2ec)][_0x214fbd(0x1ba)](_0x26ffc6))!=null?_0x3d43c0:null;}[_0x473071(0x4b6)](_0xd3f56f){var _0x5daeae=_0x473071;const _0x1b6c08=this[_0x5daeae(0x4a0)](_0xd3f56f);return _0x1b6c08?j['of'](_0x1b6c08):this[_0x5daeae(0x355)][_0x5daeae(0x34f)](V[_0x5daeae(0x2da)](_0x33ca2c=>_0x33ca2c[_0x5daeae(0x2c4)]===_0xd3f56f));}[_0x473071(0x432)](_0x613b95){var _0x445007=_0x473071;return j[_0x445007(0x36b)](this[_0x445007(0x4b6)](_0x613b95)[_0x445007(0x34f)](V['map'](()=>{})));}[_0x473071(0x2eb)](){var _0x4bc924=_0x473071;this[_0x4bc924(0x1cc)][_0x4bc924(0x2f5)](o['UniverInstanceType']['UNIVER_SHEET'])['pipe'](j[_0x4bc924(0x1a0)](this['dispose$']),V['delay'](0x10))[_0x4bc924(0x32e)](async _0x43f5b8=>{var _0x1bf0da=_0x4bc924;const _0x6ead4f=_0x43f5b8['getUnitId'](),_0x10bd14=await this[_0x1bf0da(0x15e)](_0x6ead4f,X[_0x1bf0da(0x378)]);this[_0x1bf0da(0x2ec)][_0x1bf0da(0x42b)](_0x6ead4f,_0x10bd14);}),this[_0x4bc924(0x1cc)][_0x4bc924(0x2f5)](o[_0x4bc924(0x267)]['UNIVER_DOC'])[_0x4bc924(0x34f)](j['takeUntil'](this[_0x4bc924(0x1c0)]),V['delay'](0x10))[_0x4bc924(0x34f)](V[_0x4bc924(0x2da)](_0x4401ea=>!_0x4401ea[_0x4bc924(0x22c)]()[_0x4bc924(0x352)]('__')))[_0x4bc924(0x32e)](async _0x546afa=>{var _0x1dad7f=_0x4bc924;const _0x299a42=_0x546afa[_0x1dad7f(0x22c)](),_0x5683f6=await this[_0x1dad7f(0x15e)](_0x299a42,X[_0x1dad7f(0x383)]);this[_0x1dad7f(0x2ec)]['set'](_0x299a42,_0x5683f6);}),j[_0x4bc924(0x1de)](this[_0x4bc924(0x1cc)][_0x4bc924(0x3c5)](o[_0x4bc924(0x267)][_0x4bc924(0x378)]),this[_0x4bc924(0x1cc)][_0x4bc924(0x3c5)](o[_0x4bc924(0x267)][_0x4bc924(0x383)]))[_0x4bc924(0x34f)](j[_0x4bc924(0x1a0)](this[_0x4bc924(0x1c0)]))[_0x4bc924(0x32e)](_0x3cce9e=>{var _0x40a03a=_0x4bc924;const _0x458330=_0x3cce9e[_0x40a03a(0x22c)](),_0x4036a4=this[_0x40a03a(0x2ec)]['get'](_0x458330);_0x4036a4&&(_0x4036a4[_0x40a03a(0x16d)](),this[_0x40a03a(0x2ec)][_0x40a03a(0x290)](_0x458330));});}async[_0x473071(0x15e)](_0x30c2dc,_0x3cf4e0){var _0x336d92=_0x473071;const _0x4185a1=await this['_collabSessionService']['requireSession'](_0x30c2dc),_0x40369=this[_0x336d92(0x38c)][_0x336d92(0x1fc)](this[_0x336d92(0x407)](_0x3cf4e0),_0x30c2dc,_0x3cf4e0,_0x4185a1);return await _0x40369[_0x336d92(0x343)](),this[_0x336d92(0x355)][_0x336d92(0x37d)](_0x40369),_0x40369;}['_getCtorByUniverType'](_0x3cb3e7){var _0x4a84dd=_0x473071;switch(_0x3cb3e7){case X['UNIVER_DOC']:return exports[_0x4a84dd(0x334)];case X[_0x4a84dd(0x378)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x4a84dd(0x1cf)+_0x3cb3e7);}}},exports[_0x473071(0x1ee)]=li([Se(0x0,o['Inject'](o['Injector'])),Se(0x1,o[_0x473071(0x1d0)](exports[_0x473071(0x3c2)])),Se(0x2,o['IConfigService']),Se(0x3,o[_0x473071(0x4ae)])],exports[_0x473071(0x1ee)]);var ui=Object['getOwnPropertyDescriptor'],vi=(_0x30cbb2,_0x47c72d,_0x4ed3f8,_0x90fa1a)=>{for(var _0x34457a=_0x90fa1a>0x1?void 0x0:_0x90fa1a?ui(_0x47c72d,_0x4ed3f8):_0x47c72d,_0xe0d6b4=_0x30cbb2['length']-0x1,_0x5a64e7;_0xe0d6b4>=0x0;_0xe0d6b4--)(_0x5a64e7=_0x30cbb2[_0xe0d6b4])&&(_0x34457a=_0x5a64e7(_0x34457a)||_0x34457a);return _0x34457a;},Ye=(_0x415a5d,_0x1c1c17)=>(_0x4495d6,_0x45b9f7)=>_0x1c1c17(_0x4495d6,_0x45b9f7,_0x415a5d);const di=_0x473071(0x1cd),Si=_0x473071(0x2f8);let xe=class extends o[_0x473071(0x2d1)]{constructor(_0x2c9458,_0x1fd2f9){var _0x3199c2=_0x473071;super(),this[_0x3199c2(0x1cc)]=_0x2c9458,this['_configService']=_0x1fd2f9,this[_0x3199c2(0x2eb)]();}[_0x473071(0x2eb)](){var _0x4aa59d=_0x473071;this[_0x4aa59d(0x463)](this[_0x4aa59d(0x1cc)][_0x4aa59d(0x32f)][_0x4aa59d(0x32e)](()=>{var _0x55c1b1=_0x4aa59d,_0x11c98f;const _0x3b5d5e=this[_0x55c1b1(0x1cc)][_0x55c1b1(0x3f8)]();let _0x2e3dc7=(_0x11c98f=this['_configService'][_0x55c1b1(0x2a3)](di))!=null?_0x11c98f:Si;_0x3b5d5e instanceof o['Workbook']&&(_0x2e3dc7=_0x3b5d5e[_0x55c1b1(0x2cd)]),document[_0x55c1b1(0x1f2)]=_0x2e3dc7;}));}};xe=vi([Ye(0x0,o[_0x473071(0x4ae)]),Ye(0x1,o[_0x473071(0x2c2)])],xe);var Ii=Object[_0x473071(0x1c5)],fi=(_0x3e5fc1,_0x54aebe,_0x5521da,_0x3a0819)=>{var _0x24e7f5=_0x473071;for(var _0x22fa0f=_0x3a0819>0x1?void 0x0:_0x3a0819?Ii(_0x54aebe,_0x5521da):_0x54aebe,_0x53de32=_0x3e5fc1[_0x24e7f5(0x3cb)]-0x1,_0x54ac6e;_0x53de32>=0x0;_0x53de32--)(_0x54ac6e=_0x3e5fc1[_0x53de32])&&(_0x22fa0f=_0x54ac6e(_0x22fa0f)||_0x22fa0f);return _0x22fa0f;},Ae=(_0x435a9e,_0x1fc8ff)=>(_0x3c3ab9,_0x3608c4)=>_0x1fc8ff(_0x3c3ab9,_0x3608c4,_0x435a9e);let Ne=class{constructor(_0x299e5e,_0x2ae09a,_0x270567){var _0x52b808=_0x473071;this[_0x52b808(0x4c1)]=_0x299e5e,this['_httpService']=_0x2ae09a,this['localeService']=_0x270567,this[_0x52b808(0x343)]();}[_0x473071(0x343)](){var _0x4ab3c5=_0x473071;this[_0x4ab3c5(0x3fb)][_0x4ab3c5(0x2bf)]({'priority':0x1,'interceptor':(_0x44d2ee,_0x4295ba)=>_0x4295ba(_0x44d2ee)[_0x4ab3c5(0x34f)](j[_0x4ab3c5(0x346)](async _0x3565a2=>{var _0x3564b8=_0x4ab3c5;const _0x4ebfde=_0x3565a2;if(_0x4ebfde[_0x3564b8(0x32d)]===0x191){if(typeof window>'u')throw new Error(_0x3564b8(0x3e0));if(window[_0x3564b8(0x17f)](this[_0x3564b8(0x47f)]['t'](_0x3564b8(0x309)))){const _0x5a9479=window[_0x3564b8(0x2d8)](window[_0x3564b8(0x380)][_0x3564b8(0x4e7)]);window['location'][_0x3564b8(0x4e7)]=this[_0x3564b8(0x38b)]()+'?url='+_0x5a9479;}}return _0x4ebfde;}))});}[_0x473071(0x38b)](){var _0x1e1c20=_0x473071,_0x5eb5fb;const _0x360ad0=this[_0x1e1c20(0x4c1)][_0x1e1c20(0x2a3)](Y);return(_0x5eb5fb=_0x360ad0==null?void 0x0:_0x360ad0[_0x1e1c20(0x33a)])!=null?_0x5eb5fb:Ht;}};Ne=fi([Ae(0x0,o[_0x473071(0x2c2)]),Ae(0x1,o[_0x473071(0x1d0)](K['HTTPService'])),Ae(0x2,o[_0x473071(0x1d0)](o[_0x473071(0x351)]))],Ne);var Ei=Object['getOwnPropertyDescriptor'],pi=(_0x5db30e,_0x51f5ea,_0x1c3871,_0x16e368)=>{var _0x47cf04=_0x473071;for(var _0x35812f=_0x16e368>0x1?void 0x0:_0x16e368?Ei(_0x51f5ea,_0x1c3871):_0x51f5ea,_0x11a1c7=_0x5db30e[_0x47cf04(0x3cb)]-0x1,_0x2d07ea;_0x11a1c7>=0x0;_0x11a1c7--)(_0x2d07ea=_0x5db30e[_0x11a1c7])&&(_0x35812f=_0x2d07ea(_0x35812f)||_0x35812f);return _0x35812f;},Ke=(_0x58ff6d,_0x557d01)=>(_0x5190f8,_0x47ea85)=>_0x557d01(_0x5190f8,_0x47ea85,_0x58ff6d);const mi=_0x473071(0x4c5);exports[_0x473071(0x4a4)]=class extends o[_0x473071(0x2d1)]{constructor(_0x2171a6,_0x279ced){var _0x33d505=_0x473071;super(),this[_0x33d505(0x36f)]=_0x2171a6,this[_0x33d505(0x4c1)]=_0x279ced,this['_initMergeInterceptor']();}[_0x473071(0x2b1)](){var _0x93ba4a=_0x473071;const _0x244264=this;this['disposeWithMe'](this[_0x93ba4a(0x36f)][_0x93ba4a(0x2bf)]({'priority':0x3e7,'interceptor':K[_0x93ba4a(0x4a1)]({'isMatch'(_0x243147){var _0x35a980=_0x93ba4a,_0x4de161;if(_0x243147[_0x35a980(0x2b8)]===_0x35a980(0x4c4)&&((_0x4de161=_0x243147[_0x35a980(0x20e)])!=null&&_0x4de161['body'])){const {objectID:_0x48ec38,objectType:_0x20b89c}=_0x243147[_0x35a980(0x20e)]['body']||{};if(!_0x48ec38||_0x20b89c===void 0x0)return!0x1;const _0x922fd9=_0x244264[_0x35a980(0x3f2)]()+'/'+_0x20b89c+_0x35a980(0x4d7)+_0x48ec38+_0x35a980(0x491);if(_0x243147[_0x35a980(0x159)]===_0x922fd9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34d419){var _0x5ea9be=_0x93ba4a,_0x540157;return(_0x540157=_0x34d419['requestParams'])==null?void 0x0:_0x540157[_0x5ea9be(0x394)];},'mergeParamsToRequest'(_0xe0e467,_0x10099e){var _0x553649=_0x93ba4a;const _0x46b3f5=_0x244264['_getAPIPrefixPath']()+_0x553649(0x24b),_0x2ac99e=_0xe0e467['reduce']((_0x34f21f,_0x5baa1b)=>{var _0x4035b1=_0x553649;const {unitID:_0x231e7d,objectID:_0x20bcd8,objectType:_0x236392,actions:_0x45358d}=_0x5baa1b;return _0x34f21f[_0x231e7d]||(_0x34f21f[_0x231e7d]={}),_0x34f21f[_0x231e7d][_0x20bcd8]||(_0x34f21f[_0x231e7d][_0x20bcd8]={'objectID':_0x20bcd8,'objectType':_0x236392,'actions':[]}),_0x34f21f[_0x231e7d][_0x20bcd8]['actions'][_0x4035b1(0x206)](..._0x45358d),_0x34f21f;},{}),_0x517984=[];for(const _0x45c944 in _0x2ac99e)for(const _0x1c5e35 in _0x2ac99e[_0x45c944]){const {actions:_0x1678f1,objectType:_0x16aefb}=_0x2ac99e[_0x45c944][_0x1c5e35],_0x21ecdc=[...new Set(_0x1678f1)];_0x517984[_0x553649(0x206)]({'unitID':_0x45c944,'objectID':_0x1c5e35,'objectType':_0x16aefb,'actions':_0x21ecdc});}return new K[(_0x553649(0x367))](_0x553649(0x4c4),_0x46b3f5,{'headers':_0x10099e[_0x553649(0x436)],'withCredentials':_0x10099e[_0x553649(0x3a7)],'responseType':_0x10099e['responseType'],'body':{'requests':_0x517984}});}},{'distributeResult'(_0x5f5a8b,_0x13acb1){const {objectActions:_0x2fc8cd}=_0x5f5a8b;return _0x13acb1['map'](_0x170272=>{var _0x170fa9=_0x1e39;const {unitID:_0x5f48cc,objectID:_0x43e3af,actions:_0x5e7a30}=_0x170272,_0x1a4046=_0x2fc8cd[_0x170fa9(0x239)](_0x10ce9c=>_0x10ce9c['unitID']===_0x5f48cc&&_0x10ce9c[_0x170fa9(0x28b)]===_0x43e3af),_0xbf6d7=_0x5e7a30[_0x170fa9(0x3fa)](_0x19a0aa=>_0x1a4046==null?void 0x0:_0x1a4046[_0x170fa9(0x4dd)][_0x170fa9(0x239)](_0xc0f8c3=>_0xc0f8c3[_0x170fa9(0x296)]===_0x19a0aa))[_0x170fa9(0x2da)](_0x3ef76d=>!!_0x3ef76d);return{'config':_0x170272,'result':{'actions':_0xbf6d7,'error':_0x5f5a8b[_0x170fa9(0x2a4)]}};});}})}));}['_getAPIPrefixPath'](){var _0x289b35=_0x473071,_0x63419c;const _0x923c6e=this[_0x289b35(0x4c1)][_0x289b35(0x2a3)](Y);return(_0x63419c=_0x923c6e==null?void 0x0:_0x923c6e[_0x289b35(0x254)])!=null?_0x63419c:mi;}async[_0x473071(0x17a)](_0x889fd8){var _0x3ce411=_0x473071;const _0x533e80=this[_0x3ce411(0x3f2)]()+'/'+_0x889fd8[_0x3ce411(0x31a)]+'/object';return(await this['_HTTPService'][_0x3ce411(0x496)](_0x533e80,{'body':_0x889fd8}))[_0x3ce411(0x394)][_0x3ce411(0x28b)]||'';}async[_0x473071(0x4ce)](_0x1e54cd){var _0x329cb2=_0x473071;const _0x4638aa=this[_0x329cb2(0x3f2)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x4638aa,{'body':_0x1e54cd}))[_0x329cb2(0x394)]['objects'];}async['update'](_0x39a528){var _0x4f6c6a=_0x473071,_0x1c292a,_0xd8c7bc;const _0x1f2cb0=this[_0x4f6c6a(0x3f2)]()+'/'+_0x39a528['objectType']+'/object/'+_0x39a528[_0x4f6c6a(0x28b)],_0x468c3e=await this[_0x4f6c6a(0x36f)][_0x4f6c6a(0x43c)](_0x1f2cb0,{'body':_0x39a528});if(((_0xd8c7bc=(_0x1c292a=_0x468c3e==null?void 0x0:_0x468c3e[_0x4f6c6a(0x394)])==null?void 0x0:_0x1c292a[_0x4f6c6a(0x2a4)])==null?void 0x0:_0xd8c7bc['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x473071(0x166)](_0x4c971c){var _0xe332fd=_0x473071;const _0x3015ea=this['_getAPIPrefixPath']()+'/'+_0x4c971c[_0xe332fd(0x31a)]+_0xe332fd(0x4d7)+_0x4c971c[_0xe332fd(0x28b)]+'/allowed';return(await this[_0xe332fd(0x36f)][_0xe332fd(0x496)](_0x3015ea,{'body':_0x4c971c}))['body'][_0xe332fd(0x4dd)];}async[_0x473071(0x44e)](_0x2470a9){var _0x2a5e59=_0x473071;const _0x128931=this[_0x2a5e59(0x3f2)]()+'/-/object/-/batch_allowed';return(await this[_0x2a5e59(0x36f)][_0x2a5e59(0x496)](_0x128931,{'body':{'requests':_0x2470a9}}))[_0x2a5e59(0x394)][_0x2a5e59(0x39a)];}async[_0x473071(0x438)](_0x4957bb){var _0xe7760=_0x473071;const _0x4b3d40=this[_0xe7760(0x3f2)]()+'/'+_0x4957bb[_0xe7760(0x31a)]+_0xe7760(0x321),_0x109043=await this[_0xe7760(0x36f)][_0xe7760(0x496)](_0x4b3d40,{'body':_0x4957bb});return{'roles':_0x109043[_0xe7760(0x394)][_0xe7760(0x1b6)],'actions':_0x109043[_0xe7760(0x394)][_0xe7760(0x4dd)]};}async[_0x473071(0x47c)](_0x21cc79){var _0x4f068d=_0x473071;const _0x26d5be=this[_0x4f068d(0x3f2)]()+_0x4f068d(0x169);await this[_0x4f068d(0x36f)][_0x4f068d(0x290)](_0x26d5be,{'params':{'collaboratorID':_0x21cc79[_0x4f068d(0x478)],'objectID':_0x21cc79[_0x4f068d(0x28b)],'unitID':_0x21cc79['unitID']}});}async[_0x473071(0x223)](_0x474f90){var _0xe0f1dd=_0x473071;const _0x2d9ce9=this[_0xe0f1dd(0x3f2)]()+'/collaborator';await this[_0xe0f1dd(0x36f)][_0xe0f1dd(0x283)](_0x2d9ce9,{'body':_0x474f90});}async['createCollaborator'](_0x222406){var _0x43c433=_0x473071;const _0x204e4e=this[_0x43c433(0x3f2)]()+_0x43c433(0x169);await this['_HTTPService']['post'](_0x204e4e,{'body':_0x222406});}async['listCollaborators'](_0x11ba9e){var _0x17bbc8=_0x473071;const _0x53ffad=this[_0x17bbc8(0x3f2)]()+_0x17bbc8(0x169);return(await this['_HTTPService'][_0x17bbc8(0x1ba)](_0x53ffad,{'params':{'objectID':_0x11ba9e[_0x17bbc8(0x28b)],'unitID':_0x11ba9e[_0x17bbc8(0x2c4)]}}))[_0x17bbc8(0x394)][_0x17bbc8(0x1ff)];}async[_0x473071(0x393)](_0x12d253){var _0x2ea03a=_0x473071;const _0x5be1a4=this[_0x2ea03a(0x3f2)]()+_0x2ea03a(0x169);await this[_0x2ea03a(0x36f)][_0x2ea03a(0x43c)](_0x5be1a4,{'body':_0x12d253});}},exports[_0x473071(0x4a4)]=pi([Ke(0x0,o['Inject'](K['HTTPService'])),Ke(0x1,o['Inject'](o[_0x473071(0x2c2)]))],exports[_0x473071(0x4a4)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x2818d2){var _0x478d5b=_0x473071;return _0x2818d2&&_0x2818d2[_0x478d5b(0x3a6)]&&Object[_0x478d5b(0x29c)][_0x478d5b(0x1b9)][_0x478d5b(0x276)](_0x2818d2,_0x478d5b(0x377))?_0x2818d2['default']:_0x2818d2;}var Ie={'exports':{}};function gi(_0x38f0f5){var _0x582e61=_0x473071;throw new Error(_0x582e61(0x2ff)+_0x38f0f5+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var fe={'exports':{}},Ti=fe[_0x473071(0x1df)],qe;function Z(){return qe||(qe=0x1,function(_0x54cbea,_0x35b5b3){(function(_0x139c76,_0x8b6d4e){var _0x4b86bc=_0x1e39;_0x54cbea[_0x4b86bc(0x1df)]=_0x8b6d4e();}(Ti,function(){var _0x540bb9=_0x540bb9||function(_0x2be072,_0x1a4f0f){var _0x27005a=_0x1e39,_0x24d18c;if(typeof window<'u'&&window[_0x27005a(0x3b1)]&&(_0x24d18c=window['crypto']),typeof self<'u'&&self[_0x27005a(0x3b1)]&&(_0x24d18c=self['crypto']),typeof globalThis<'u'&&globalThis[_0x27005a(0x3b1)]&&(_0x24d18c=globalThis[_0x27005a(0x3b1)]),!_0x24d18c&&typeof window<'u'&&window[_0x27005a(0x2df)]&&(_0x24d18c=window['msCrypto']),!_0x24d18c&&typeof Pe<'u'&&Pe[_0x27005a(0x3b1)]&&(_0x24d18c=Pe[_0x27005a(0x3b1)]),!_0x24d18c&&typeof gi==_0x27005a(0x477))try{_0x24d18c=require('crypto');}catch{}var _0x15e3a0=function(){var _0x5490f1=_0x27005a;if(_0x24d18c){if(typeof _0x24d18c['getRandomValues']==_0x5490f1(0x477))try{return _0x24d18c[_0x5490f1(0x1d2)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x24d18c[_0x5490f1(0x2f7)]==_0x5490f1(0x477))try{return _0x24d18c[_0x5490f1(0x2f7)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1cb5de=Object['create']||(function(){function _0x154ad4(){}return function(_0x17ab5d){var _0x2d604d;return _0x154ad4['prototype']=_0x17ab5d,_0x2d604d=new _0x154ad4(),_0x154ad4['prototype']=null,_0x2d604d;};}()),_0x1ebdc9={},_0x286ccf=_0x1ebdc9[_0x27005a(0x172)]={},_0x5ccfec=_0x286ccf['Base']=(function(){return{'extend':function(_0x222dfd){var _0x3c12c6=_0x1e39,_0x3054c8=_0x1cb5de(this);return _0x222dfd&&_0x3054c8[_0x3c12c6(0x330)](_0x222dfd),(!_0x3054c8[_0x3c12c6(0x1b9)](_0x3c12c6(0x343))||this['init']===_0x3054c8[_0x3c12c6(0x343)])&&(_0x3054c8[_0x3c12c6(0x343)]=function(){var _0x40e681=_0x3c12c6;_0x3054c8[_0x40e681(0x2ae)][_0x40e681(0x343)]['apply'](this,arguments);}),_0x3054c8[_0x3c12c6(0x343)][_0x3c12c6(0x29c)]=_0x3054c8,_0x3054c8[_0x3c12c6(0x2ae)]=this,_0x3054c8;},'create':function(){var _0x22cd34=_0x1e39,_0x46ba0c=this[_0x22cd34(0x257)]();return _0x46ba0c['init'][_0x22cd34(0x392)](_0x46ba0c,arguments),_0x46ba0c;},'init':function(){},'mixIn':function(_0x17c711){var _0x491c1e=_0x1e39;for(var _0x22aba7 in _0x17c711)_0x17c711[_0x491c1e(0x1b9)](_0x22aba7)&&(this[_0x22aba7]=_0x17c711[_0x22aba7]);_0x17c711[_0x491c1e(0x1b9)](_0x491c1e(0x3d1))&&(this[_0x491c1e(0x3d1)]=_0x17c711['toString']);},'clone':function(){var _0x41bed4=_0x1e39;return this[_0x41bed4(0x343)][_0x41bed4(0x29c)][_0x41bed4(0x257)](this);}};}()),_0x1069e9=_0x286ccf[_0x27005a(0x258)]=_0x5ccfec[_0x27005a(0x257)]({'init':function(_0x37d0ab,_0x2a0546){var _0x5252c6=_0x27005a;_0x37d0ab=this['words']=_0x37d0ab||[],_0x2a0546!=_0x1a4f0f?this['sigBytes']=_0x2a0546:this['sigBytes']=_0x37d0ab[_0x5252c6(0x3cb)]*0x4;},'toString':function(_0x254dc0){var _0x534dfa=_0x27005a;return(_0x254dc0||_0x10e174)[_0x534dfa(0x395)](this);},'concat':function(_0xd88a09){var _0xbe911c=_0x27005a,_0x5bad32=this[_0xbe911c(0x235)],_0x2f898f=_0xd88a09['words'],_0x1db74b=this['sigBytes'],_0x138461=_0xd88a09[_0xbe911c(0x2de)];if(this[_0xbe911c(0x4c2)](),_0x1db74b%0x4)for(var _0x3895f2=0x0;_0x3895f2<_0x138461;_0x3895f2++){var _0x39d77a=_0x2f898f[_0x3895f2>>>0x2]>>>0x18-_0x3895f2%0x4*0x8&0xff;_0x5bad32[_0x1db74b+_0x3895f2>>>0x2]|=_0x39d77a<<0x18-(_0x1db74b+_0x3895f2)%0x4*0x8;}else{for(var _0x1978a8=0x0;_0x1978a8<_0x138461;_0x1978a8+=0x4)_0x5bad32[_0x1db74b+_0x1978a8>>>0x2]=_0x2f898f[_0x1978a8>>>0x2];}return this[_0xbe911c(0x2de)]+=_0x138461,this;},'clamp':function(){var _0x48091a=_0x27005a,_0x1f9ea7=this[_0x48091a(0x235)],_0x395211=this['sigBytes'];_0x1f9ea7[_0x395211>>>0x2]&=0xffffffff<<0x20-_0x395211%0x4*0x8,_0x1f9ea7[_0x48091a(0x3cb)]=_0x2be072[_0x48091a(0x390)](_0x395211/0x4);},'clone':function(){var _0x1f1c59=_0x27005a,_0x28cd6d=_0x5ccfec[_0x1f1c59(0x269)][_0x1f1c59(0x276)](this);return _0x28cd6d['words']=this[_0x1f1c59(0x235)][_0x1f1c59(0x324)](0x0),_0x28cd6d;},'random':function(_0x57d007){var _0x45fcbd=_0x27005a;for(var _0x21afbc=[],_0x40b040=0x0;_0x40b040<_0x57d007;_0x40b040+=0x4)_0x21afbc[_0x45fcbd(0x206)](_0x15e3a0());return new _0x1069e9[(_0x45fcbd(0x343))](_0x21afbc,_0x57d007);}}),_0x19fcbd=_0x1ebdc9['enc']={},_0x10e174=_0x19fcbd[_0x27005a(0x2a2)]={'stringify':function(_0x40281a){var _0x4e10d3=_0x27005a;for(var _0x265501=_0x40281a[_0x4e10d3(0x235)],_0x57d270=_0x40281a[_0x4e10d3(0x2de)],_0x326c5c=[],_0x9e8b12=0x0;_0x9e8b12<_0x57d270;_0x9e8b12++){var _0x515ebe=_0x265501[_0x9e8b12>>>0x2]>>>0x18-_0x9e8b12%0x4*0x8&0xff;_0x326c5c[_0x4e10d3(0x206)]((_0x515ebe>>>0x4)[_0x4e10d3(0x3d1)](0x10)),_0x326c5c[_0x4e10d3(0x206)]((_0x515ebe&0xf)[_0x4e10d3(0x3d1)](0x10));}return _0x326c5c[_0x4e10d3(0x482)]('');},'parse':function(_0x5a88c8){var _0x92b384=_0x27005a;for(var _0x3c6298=_0x5a88c8[_0x92b384(0x3cb)],_0x2feb79=[],_0x2c9619=0x0;_0x2c9619<_0x3c6298;_0x2c9619+=0x2)_0x2feb79[_0x2c9619>>>0x3]|=parseInt(_0x5a88c8[_0x92b384(0x28f)](_0x2c9619,0x2),0x10)<<0x18-_0x2c9619%0x8*0x4;return new _0x1069e9[(_0x92b384(0x343))](_0x2feb79,_0x3c6298/0x2);}},_0x127a0f=_0x19fcbd[_0x27005a(0x3c4)]={'stringify':function(_0x3bde02){var _0x179ecd=_0x27005a;for(var _0x4df2a0=_0x3bde02[_0x179ecd(0x235)],_0x34eb4b=_0x3bde02[_0x179ecd(0x2de)],_0x4511c4=[],_0x269ecc=0x0;_0x269ecc<_0x34eb4b;_0x269ecc++){var _0x410e86=_0x4df2a0[_0x269ecc>>>0x2]>>>0x18-_0x269ecc%0x4*0x8&0xff;_0x4511c4['push'](String[_0x179ecd(0x2ca)](_0x410e86));}return _0x4511c4[_0x179ecd(0x482)]('');},'parse':function(_0x15eb1e){var _0x426399=_0x27005a;for(var _0x281433=_0x15eb1e[_0x426399(0x3cb)],_0x14975c=[],_0x1a2c2f=0x0;_0x1a2c2f<_0x281433;_0x1a2c2f++)_0x14975c[_0x1a2c2f>>>0x2]|=(_0x15eb1e[_0x426399(0x2f6)](_0x1a2c2f)&0xff)<<0x18-_0x1a2c2f%0x4*0x8;return new _0x1069e9[(_0x426399(0x343))](_0x14975c,_0x281433);}},_0x546761=_0x19fcbd['Utf8']={'stringify':function(_0x51203f){var _0x33aac=_0x27005a;try{return decodeURIComponent(escape(_0x127a0f['stringify'](_0x51203f)));}catch{throw new Error(_0x33aac(0x2bd));}},'parse':function(_0x4e602b){var _0x4003c0=_0x27005a;return _0x127a0f[_0x4003c0(0x3af)](unescape(encodeURIComponent(_0x4e602b)));}},_0xa439bf=_0x286ccf[_0x27005a(0x4b3)]=_0x5ccfec[_0x27005a(0x257)]({'reset':function(){var _0x193d6d=_0x27005a;this[_0x193d6d(0x29a)]=new _0x1069e9['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x317c0e){var _0x5f12e8=_0x27005a;typeof _0x317c0e==_0x5f12e8(0x3d3)&&(_0x317c0e=_0x546761[_0x5f12e8(0x3af)](_0x317c0e)),this[_0x5f12e8(0x29a)]['concat'](_0x317c0e),this[_0x5f12e8(0x4da)]+=_0x317c0e[_0x5f12e8(0x2de)];},'_process':function(_0x20be03){var _0x4b266b=_0x27005a,_0x36b521,_0x49a5ce=this[_0x4b266b(0x29a)],_0x44e234=_0x49a5ce['words'],_0x5673bb=_0x49a5ce[_0x4b266b(0x2de)],_0x18910f=this['blockSize'],_0xb9a455=_0x18910f*0x4,_0x52a35f=_0x5673bb/_0xb9a455;_0x20be03?_0x52a35f=_0x2be072[_0x4b266b(0x390)](_0x52a35f):_0x52a35f=_0x2be072['max']((_0x52a35f|0x0)-this[_0x4b266b(0x2fc)],0x0);var _0x362c91=_0x52a35f*_0x18910f,_0x4421b4=_0x2be072['min'](_0x362c91*0x4,_0x5673bb);if(_0x362c91){for(var _0x2fa841=0x0;_0x2fa841<_0x362c91;_0x2fa841+=_0x18910f)this['_doProcessBlock'](_0x44e234,_0x2fa841);_0x36b521=_0x44e234['splice'](0x0,_0x362c91),_0x49a5ce[_0x4b266b(0x2de)]-=_0x4421b4;}return new _0x1069e9[(_0x4b266b(0x343))](_0x36b521,_0x4421b4);},'clone':function(){var _0x361fdd=_0x27005a,_0x4d3eba=_0x5ccfec[_0x361fdd(0x269)][_0x361fdd(0x276)](this);return _0x4d3eba[_0x361fdd(0x29a)]=this[_0x361fdd(0x29a)][_0x361fdd(0x269)](),_0x4d3eba;},'_minBufferSize':0x0});_0x286ccf[_0x27005a(0x457)]=_0xa439bf[_0x27005a(0x257)]({'cfg':_0x5ccfec[_0x27005a(0x257)](),'init':function(_0xb09155){var _0x529bf4=_0x27005a;this[_0x529bf4(0x265)]=this['cfg']['extend'](_0xb09155),this[_0x529bf4(0x400)]();},'reset':function(){var _0x1baa45=_0x27005a;_0xa439bf[_0x1baa45(0x400)]['call'](this),this[_0x1baa45(0x375)]();},'update':function(_0x22c7ea){var _0x2967a5=_0x27005a;return this[_0x2967a5(0x471)](_0x22c7ea),this['_process'](),this;},'finalize':function(_0xa7c845){var _0x2f4356=_0x27005a;_0xa7c845&&this[_0x2f4356(0x471)](_0xa7c845);var _0x343b8d=this[_0x2f4356(0x312)]();return _0x343b8d;},'blockSize':0x10,'_createHelper':function(_0x2fc0b2){return function(_0x69f0d1,_0x554750){var _0x33ba37=_0x1e39;return new _0x2fc0b2[(_0x33ba37(0x343))](_0x554750)[_0x33ba37(0x3c6)](_0x69f0d1);};},'_createHmacHelper':function(_0x362fc8){return function(_0x2faded,_0x9563ac){var _0xcf9871=_0x1e39;return new _0x4b4274['HMAC'][(_0xcf9871(0x343))](_0x362fc8,_0x9563ac)[_0xcf9871(0x3c6)](_0x2faded);};}});var _0x4b4274=_0x1ebdc9['algo']={};return _0x1ebdc9;}(Math);return _0x540bb9;}));}(fe)),fe['exports'];}var Ee={'exports':{}},Ci=Ee[_0x473071(0x1df)],ze;function Tt(){return ze||(ze=0x1,function(_0x154eb4,_0xf16acb){(function(_0xa8b758,_0x24d8c5){var _0x22f3fd=_0x1e39;_0x154eb4[_0x22f3fd(0x1df)]=_0x24d8c5(Z());}(Ci,function(_0xd7ed4b){var _0x2c25b1=_0x1e39;return(function(){var _0x336131=_0x1e39,_0xe4fc85=_0xd7ed4b,_0x22bd8c=_0xe4fc85['lib'],_0x50f0c1=_0x22bd8c[_0x336131(0x258)],_0x10c158=_0xe4fc85['enc'];_0x10c158[_0x336131(0x2a7)]={'stringify':function(_0x4ed49c){var _0x454565=_0x336131,_0x4f4adc=_0x4ed49c[_0x454565(0x235)],_0x2d5280=_0x4ed49c[_0x454565(0x2de)],_0x3f0e49=this[_0x454565(0x474)];_0x4ed49c[_0x454565(0x4c2)]();for(var _0xb7f44e=[],_0x33b4cd=0x0;_0x33b4cd<_0x2d5280;_0x33b4cd+=0x3)for(var _0xb969ab=_0x4f4adc[_0x33b4cd>>>0x2]>>>0x18-_0x33b4cd%0x4*0x8&0xff,_0x43b2e4=_0x4f4adc[_0x33b4cd+0x1>>>0x2]>>>0x18-(_0x33b4cd+0x1)%0x4*0x8&0xff,_0x4e6f4b=_0x4f4adc[_0x33b4cd+0x2>>>0x2]>>>0x18-(_0x33b4cd+0x2)%0x4*0x8&0xff,_0x41fa5f=_0xb969ab<<0x10|_0x43b2e4<<0x8|_0x4e6f4b,_0x564b28=0x0;_0x564b28<0x4&&_0x33b4cd+_0x564b28*0.75<_0x2d5280;_0x564b28++)_0xb7f44e['push'](_0x3f0e49['charAt'](_0x41fa5f>>>0x6*(0x3-_0x564b28)&0x3f));var _0x548e15=_0x3f0e49['charAt'](0x40);if(_0x548e15){for(;_0xb7f44e[_0x454565(0x3cb)]%0x4;)_0xb7f44e[_0x454565(0x206)](_0x548e15);}return _0xb7f44e[_0x454565(0x482)]('');},'parse':function(_0x2b5b93){var _0x5a2f7c=_0x336131,_0xf12f51=_0x2b5b93[_0x5a2f7c(0x3cb)],_0x338c60=this['_map'],_0x3147f8=this[_0x5a2f7c(0x3a3)];if(!_0x3147f8){_0x3147f8=this[_0x5a2f7c(0x3a3)]=[];for(var _0x251c8=0x0;_0x251c8<_0x338c60['length'];_0x251c8++)_0x3147f8[_0x338c60[_0x5a2f7c(0x2f6)](_0x251c8)]=_0x251c8;}var _0x57e12c=_0x338c60[_0x5a2f7c(0x315)](0x40);if(_0x57e12c){var _0x5145df=_0x2b5b93['indexOf'](_0x57e12c);_0x5145df!==-0x1&&(_0xf12f51=_0x5145df);}return _0x5347d4(_0x2b5b93,_0xf12f51,_0x3147f8);},'_map':_0x336131(0x2f3)};function _0x5347d4(_0x5c6d0d,_0x35b863,_0x5ee8a5){var _0x4d809e=_0x336131;for(var _0x32dad4=[],_0x539513=0x0,_0x197bfb=0x0;_0x197bfb<_0x35b863;_0x197bfb++)if(_0x197bfb%0x4){var _0x32252e=_0x5ee8a5[_0x5c6d0d[_0x4d809e(0x2f6)](_0x197bfb-0x1)]<<_0x197bfb%0x4*0x2,_0x2eaeaa=_0x5ee8a5[_0x5c6d0d['charCodeAt'](_0x197bfb)]>>>0x6-_0x197bfb%0x4*0x2,_0x45ec4c=_0x32252e|_0x2eaeaa;_0x32dad4[_0x539513>>>0x2]|=_0x45ec4c<<0x18-_0x539513%0x4*0x8,_0x539513++;}return _0x50f0c1[_0x4d809e(0x17a)](_0x32dad4,_0x539513);}}()),_0xd7ed4b[_0x2c25b1(0x3fe)][_0x2c25b1(0x2a7)];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Oi=pe[_0x473071(0x1df)],Xe;function bi(){var _0x1a7690=_0x473071;return Xe||(Xe=0x1,function(_0x82cda7,_0x566dee){(function(_0x2b4e74,_0x575b26){var _0x52f7ad=_0x1e39;_0x82cda7[_0x52f7ad(0x1df)]=_0x575b26(Z());}(Oi,function(_0x25f9c8){var _0x5bbf72=_0x1e39;return function(_0x3affb4){var _0x3de98f=_0x1e39,_0x366138=_0x25f9c8,_0x364a47=_0x366138['lib'],_0xb91e92=_0x364a47[_0x3de98f(0x258)],_0x1399f8=_0x364a47[_0x3de98f(0x457)],_0x4ead0f=_0x366138[_0x3de98f(0x3b8)],_0x523ee0=[];(function(){for(var _0x498978=0x0;_0x498978<0x40;_0x498978++)_0x523ee0[_0x498978]=_0x3affb4['abs'](_0x3affb4['sin'](_0x498978+0x1))*0x100000000|0x0;}());var _0x85a32c=_0x4ead0f[_0x3de98f(0x47e)]=_0x1399f8[_0x3de98f(0x257)]({'_doReset':function(){var _0xa05b71=_0x3de98f;this[_0xa05b71(0x371)]=new _0xb91e92['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4bef9c,_0x34dede){var _0x2a9b58=_0x3de98f;for(var _0x2b1887=0x0;_0x2b1887<0x10;_0x2b1887++){var _0x538c3f=_0x34dede+_0x2b1887,_0x5d5c16=_0x4bef9c[_0x538c3f];_0x4bef9c[_0x538c3f]=(_0x5d5c16<<0x8|_0x5d5c16>>>0x18)&0xff00ff|(_0x5d5c16<<0x18|_0x5d5c16>>>0x8)&0xff00ff00;}var _0xf30ddc=this[_0x2a9b58(0x371)][_0x2a9b58(0x235)],_0x1d2cee=_0x4bef9c[_0x34dede+0x0],_0x4e9b45=_0x4bef9c[_0x34dede+0x1],_0x2759f9=_0x4bef9c[_0x34dede+0x2],_0x1c01b0=_0x4bef9c[_0x34dede+0x3],_0xb05019=_0x4bef9c[_0x34dede+0x4],_0x5690b5=_0x4bef9c[_0x34dede+0x5],_0x576f33=_0x4bef9c[_0x34dede+0x6],_0x488e4e=_0x4bef9c[_0x34dede+0x7],_0x41c7d4=_0x4bef9c[_0x34dede+0x8],_0x2162d1=_0x4bef9c[_0x34dede+0x9],_0x2de18b=_0x4bef9c[_0x34dede+0xa],_0x2478de=_0x4bef9c[_0x34dede+0xb],_0x42a042=_0x4bef9c[_0x34dede+0xc],_0x426b14=_0x4bef9c[_0x34dede+0xd],_0x3d46bc=_0x4bef9c[_0x34dede+0xe],_0x458c5b=_0x4bef9c[_0x34dede+0xf],_0x30c6d1=_0xf30ddc[0x0],_0x19d761=_0xf30ddc[0x1],_0x53e0a3=_0xf30ddc[0x2],_0x928f01=_0xf30ddc[0x3];_0x30c6d1=_0x2e4726(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x1d2cee,0x7,_0x523ee0[0x0]),_0x928f01=_0x2e4726(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x4e9b45,0xc,_0x523ee0[0x1]),_0x53e0a3=_0x2e4726(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x2759f9,0x11,_0x523ee0[0x2]),_0x19d761=_0x2e4726(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x1c01b0,0x16,_0x523ee0[0x3]),_0x30c6d1=_0x2e4726(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0xb05019,0x7,_0x523ee0[0x4]),_0x928f01=_0x2e4726(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x5690b5,0xc,_0x523ee0[0x5]),_0x53e0a3=_0x2e4726(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x576f33,0x11,_0x523ee0[0x6]),_0x19d761=_0x2e4726(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x488e4e,0x16,_0x523ee0[0x7]),_0x30c6d1=_0x2e4726(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x41c7d4,0x7,_0x523ee0[0x8]),_0x928f01=_0x2e4726(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x2162d1,0xc,_0x523ee0[0x9]),_0x53e0a3=_0x2e4726(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x2de18b,0x11,_0x523ee0[0xa]),_0x19d761=_0x2e4726(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x2478de,0x16,_0x523ee0[0xb]),_0x30c6d1=_0x2e4726(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x42a042,0x7,_0x523ee0[0xc]),_0x928f01=_0x2e4726(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x426b14,0xc,_0x523ee0[0xd]),_0x53e0a3=_0x2e4726(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x3d46bc,0x11,_0x523ee0[0xe]),_0x19d761=_0x2e4726(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x458c5b,0x16,_0x523ee0[0xf]),_0x30c6d1=_0x2983a2(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x4e9b45,0x5,_0x523ee0[0x10]),_0x928f01=_0x2983a2(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x576f33,0x9,_0x523ee0[0x11]),_0x53e0a3=_0x2983a2(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x2478de,0xe,_0x523ee0[0x12]),_0x19d761=_0x2983a2(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x1d2cee,0x14,_0x523ee0[0x13]),_0x30c6d1=_0x2983a2(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x5690b5,0x5,_0x523ee0[0x14]),_0x928f01=_0x2983a2(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x2de18b,0x9,_0x523ee0[0x15]),_0x53e0a3=_0x2983a2(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x458c5b,0xe,_0x523ee0[0x16]),_0x19d761=_0x2983a2(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0xb05019,0x14,_0x523ee0[0x17]),_0x30c6d1=_0x2983a2(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x2162d1,0x5,_0x523ee0[0x18]),_0x928f01=_0x2983a2(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x3d46bc,0x9,_0x523ee0[0x19]),_0x53e0a3=_0x2983a2(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x1c01b0,0xe,_0x523ee0[0x1a]),_0x19d761=_0x2983a2(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x41c7d4,0x14,_0x523ee0[0x1b]),_0x30c6d1=_0x2983a2(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x426b14,0x5,_0x523ee0[0x1c]),_0x928f01=_0x2983a2(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x2759f9,0x9,_0x523ee0[0x1d]),_0x53e0a3=_0x2983a2(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x488e4e,0xe,_0x523ee0[0x1e]),_0x19d761=_0x2983a2(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x42a042,0x14,_0x523ee0[0x1f]),_0x30c6d1=_0x2ae36c(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x5690b5,0x4,_0x523ee0[0x20]),_0x928f01=_0x2ae36c(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x41c7d4,0xb,_0x523ee0[0x21]),_0x53e0a3=_0x2ae36c(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x2478de,0x10,_0x523ee0[0x22]),_0x19d761=_0x2ae36c(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x3d46bc,0x17,_0x523ee0[0x23]),_0x30c6d1=_0x2ae36c(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x4e9b45,0x4,_0x523ee0[0x24]),_0x928f01=_0x2ae36c(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0xb05019,0xb,_0x523ee0[0x25]),_0x53e0a3=_0x2ae36c(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x488e4e,0x10,_0x523ee0[0x26]),_0x19d761=_0x2ae36c(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x2de18b,0x17,_0x523ee0[0x27]),_0x30c6d1=_0x2ae36c(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x426b14,0x4,_0x523ee0[0x28]),_0x928f01=_0x2ae36c(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x1d2cee,0xb,_0x523ee0[0x29]),_0x53e0a3=_0x2ae36c(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x1c01b0,0x10,_0x523ee0[0x2a]),_0x19d761=_0x2ae36c(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x576f33,0x17,_0x523ee0[0x2b]),_0x30c6d1=_0x2ae36c(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x2162d1,0x4,_0x523ee0[0x2c]),_0x928f01=_0x2ae36c(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x42a042,0xb,_0x523ee0[0x2d]),_0x53e0a3=_0x2ae36c(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x458c5b,0x10,_0x523ee0[0x2e]),_0x19d761=_0x2ae36c(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x2759f9,0x17,_0x523ee0[0x2f]),_0x30c6d1=_0x1f0515(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x1d2cee,0x6,_0x523ee0[0x30]),_0x928f01=_0x1f0515(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x488e4e,0xa,_0x523ee0[0x31]),_0x53e0a3=_0x1f0515(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x3d46bc,0xf,_0x523ee0[0x32]),_0x19d761=_0x1f0515(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x5690b5,0x15,_0x523ee0[0x33]),_0x30c6d1=_0x1f0515(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x42a042,0x6,_0x523ee0[0x34]),_0x928f01=_0x1f0515(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x1c01b0,0xa,_0x523ee0[0x35]),_0x53e0a3=_0x1f0515(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x2de18b,0xf,_0x523ee0[0x36]),_0x19d761=_0x1f0515(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x4e9b45,0x15,_0x523ee0[0x37]),_0x30c6d1=_0x1f0515(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0x41c7d4,0x6,_0x523ee0[0x38]),_0x928f01=_0x1f0515(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x458c5b,0xa,_0x523ee0[0x39]),_0x53e0a3=_0x1f0515(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x576f33,0xf,_0x523ee0[0x3a]),_0x19d761=_0x1f0515(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x426b14,0x15,_0x523ee0[0x3b]),_0x30c6d1=_0x1f0515(_0x30c6d1,_0x19d761,_0x53e0a3,_0x928f01,_0xb05019,0x6,_0x523ee0[0x3c]),_0x928f01=_0x1f0515(_0x928f01,_0x30c6d1,_0x19d761,_0x53e0a3,_0x2478de,0xa,_0x523ee0[0x3d]),_0x53e0a3=_0x1f0515(_0x53e0a3,_0x928f01,_0x30c6d1,_0x19d761,_0x2759f9,0xf,_0x523ee0[0x3e]),_0x19d761=_0x1f0515(_0x19d761,_0x53e0a3,_0x928f01,_0x30c6d1,_0x2162d1,0x15,_0x523ee0[0x3f]),_0xf30ddc[0x0]=_0xf30ddc[0x0]+_0x30c6d1|0x0,_0xf30ddc[0x1]=_0xf30ddc[0x1]+_0x19d761|0x0,_0xf30ddc[0x2]=_0xf30ddc[0x2]+_0x53e0a3|0x0,_0xf30ddc[0x3]=_0xf30ddc[0x3]+_0x928f01|0x0;},'_doFinalize':function(){var _0x69bdd6=_0x3de98f,_0x29ae83=this['_data'],_0x96e0c7=_0x29ae83[_0x69bdd6(0x235)],_0x4f6d58=this[_0x69bdd6(0x4da)]*0x8,_0x1e9d86=_0x29ae83[_0x69bdd6(0x2de)]*0x8;_0x96e0c7[_0x1e9d86>>>0x5]|=0x80<<0x18-_0x1e9d86%0x20;var _0xa15e88=_0x3affb4[_0x69bdd6(0x1b5)](_0x4f6d58/0x100000000),_0x189e6d=_0x4f6d58;_0x96e0c7[(_0x1e9d86+0x40>>>0x9<<0x4)+0xf]=(_0xa15e88<<0x8|_0xa15e88>>>0x18)&0xff00ff|(_0xa15e88<<0x18|_0xa15e88>>>0x8)&0xff00ff00,_0x96e0c7[(_0x1e9d86+0x40>>>0x9<<0x4)+0xe]=(_0x189e6d<<0x8|_0x189e6d>>>0x18)&0xff00ff|(_0x189e6d<<0x18|_0x189e6d>>>0x8)&0xff00ff00,_0x29ae83[_0x69bdd6(0x2de)]=(_0x96e0c7['length']+0x1)*0x4,this[_0x69bdd6(0x35e)]();for(var _0x58859b=this[_0x69bdd6(0x371)],_0x5626bc=_0x58859b[_0x69bdd6(0x235)],_0x5c7b82=0x0;_0x5c7b82<0x4;_0x5c7b82++){var _0x3f9d64=_0x5626bc[_0x5c7b82];_0x5626bc[_0x5c7b82]=(_0x3f9d64<<0x8|_0x3f9d64>>>0x18)&0xff00ff|(_0x3f9d64<<0x18|_0x3f9d64>>>0x8)&0xff00ff00;}return _0x58859b;},'clone':function(){var _0x541f79=_0x3de98f,_0x4b6d9f=_0x1399f8['clone']['call'](this);return _0x4b6d9f[_0x541f79(0x371)]=this['_hash']['clone'](),_0x4b6d9f;}});function _0x2e4726(_0x18c231,_0x7ae889,_0x53753f,_0xae27b0,_0x267bcf,_0x5def1a,_0x3934a5){var _0x3e3e2f=_0x18c231+(_0x7ae889&_0x53753f|~_0x7ae889&_0xae27b0)+_0x267bcf+_0x3934a5;return(_0x3e3e2f<<_0x5def1a|_0x3e3e2f>>>0x20-_0x5def1a)+_0x7ae889;}function _0x2983a2(_0x3a36f5,_0x1b61a3,_0x5a6a3b,_0x191fc7,_0x54f0d3,_0x309cb4,_0x37f1f3){var _0x5e2b9a=_0x3a36f5+(_0x1b61a3&_0x191fc7|_0x5a6a3b&~_0x191fc7)+_0x54f0d3+_0x37f1f3;return(_0x5e2b9a<<_0x309cb4|_0x5e2b9a>>>0x20-_0x309cb4)+_0x1b61a3;}function _0x2ae36c(_0x3a63e2,_0x3ae159,_0x222be4,_0x4a144d,_0x29ec17,_0x1a94d4,_0x5eebd7){var _0x273ef0=_0x3a63e2+(_0x3ae159^_0x222be4^_0x4a144d)+_0x29ec17+_0x5eebd7;return(_0x273ef0<<_0x1a94d4|_0x273ef0>>>0x20-_0x1a94d4)+_0x3ae159;}function _0x1f0515(_0x746e6c,_0x37d7aa,_0xb4a25b,_0x49a123,_0xec062e,_0x44b5f7,_0x1adc04){var _0x5f439a=_0x746e6c+(_0xb4a25b^(_0x37d7aa|~_0x49a123))+_0xec062e+_0x1adc04;return(_0x5f439a<<_0x44b5f7|_0x5f439a>>>0x20-_0x44b5f7)+_0x37d7aa;}_0x366138[_0x3de98f(0x47e)]=_0x1399f8[_0x3de98f(0x4af)](_0x85a32c),_0x366138[_0x3de98f(0x1f1)]=_0x1399f8[_0x3de98f(0x242)](_0x85a32c);}(Math),_0x25f9c8[_0x5bbf72(0x47e)];}));}(pe)),pe[_0x1a7690(0x1df)];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x473071(0x1df)],Je;function Ni(){var _0x339ad0=_0x473071;return Je||(Je=0x1,function(_0x91fa4e,_0x33051f){(function(_0x2712a8,_0x150ab6){_0x91fa4e['exports']=_0x150ab6(Z());}(Ri,function(_0x41fa9a){var _0x5e0214=_0x1e39;return(function(){var _0x5f0402=_0x1e39,_0x16efcf=_0x41fa9a,_0x38d870=_0x16efcf[_0x5f0402(0x172)],_0x58a0ec=_0x38d870[_0x5f0402(0x258)],_0x4ba569=_0x38d870['Hasher'],_0x42bf01=_0x16efcf['algo'],_0xcbc01d=[],_0xa60fc7=_0x42bf01[_0x5f0402(0x3c8)]=_0x4ba569['extend']({'_doReset':function(){var _0x578e79=_0x5f0402;this[_0x578e79(0x371)]=new _0x58a0ec[(_0x578e79(0x343))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2ea049,_0x16f7d2){var _0x25b580=_0x5f0402;for(var _0x4c2801=this[_0x25b580(0x371)][_0x25b580(0x235)],_0x450ca3=_0x4c2801[0x0],_0x4523df=_0x4c2801[0x1],_0x125ea0=_0x4c2801[0x2],_0x1f0ec6=_0x4c2801[0x3],_0xde23c4=_0x4c2801[0x4],_0x1e043a=0x0;_0x1e043a<0x50;_0x1e043a++){if(_0x1e043a<0x10)_0xcbc01d[_0x1e043a]=_0x2ea049[_0x16f7d2+_0x1e043a]|0x0;else{var _0x1b7c7b=_0xcbc01d[_0x1e043a-0x3]^_0xcbc01d[_0x1e043a-0x8]^_0xcbc01d[_0x1e043a-0xe]^_0xcbc01d[_0x1e043a-0x10];_0xcbc01d[_0x1e043a]=_0x1b7c7b<<0x1|_0x1b7c7b>>>0x1f;}var _0x219f6b=(_0x450ca3<<0x5|_0x450ca3>>>0x1b)+_0xde23c4+_0xcbc01d[_0x1e043a];_0x1e043a<0x14?_0x219f6b+=(_0x4523df&_0x125ea0|~_0x4523df&_0x1f0ec6)+0x5a827999:_0x1e043a<0x28?_0x219f6b+=(_0x4523df^_0x125ea0^_0x1f0ec6)+0x6ed9eba1:_0x1e043a<0x3c?_0x219f6b+=(_0x4523df&_0x125ea0|_0x4523df&_0x1f0ec6|_0x125ea0&_0x1f0ec6)-0x70e44324:_0x219f6b+=(_0x4523df^_0x125ea0^_0x1f0ec6)-0x359d3e2a,_0xde23c4=_0x1f0ec6,_0x1f0ec6=_0x125ea0,_0x125ea0=_0x4523df<<0x1e|_0x4523df>>>0x2,_0x4523df=_0x450ca3,_0x450ca3=_0x219f6b;}_0x4c2801[0x0]=_0x4c2801[0x0]+_0x450ca3|0x0,_0x4c2801[0x1]=_0x4c2801[0x1]+_0x4523df|0x0,_0x4c2801[0x2]=_0x4c2801[0x2]+_0x125ea0|0x0,_0x4c2801[0x3]=_0x4c2801[0x3]+_0x1f0ec6|0x0,_0x4c2801[0x4]=_0x4c2801[0x4]+_0xde23c4|0x0;},'_doFinalize':function(){var _0x43842f=_0x5f0402,_0x6865b3=this['_data'],_0x2b8246=_0x6865b3[_0x43842f(0x235)],_0x2dc2a5=this[_0x43842f(0x4da)]*0x8,_0x39b685=_0x6865b3[_0x43842f(0x2de)]*0x8;return _0x2b8246[_0x39b685>>>0x5]|=0x80<<0x18-_0x39b685%0x20,_0x2b8246[(_0x39b685+0x40>>>0x9<<0x4)+0xe]=Math[_0x43842f(0x1b5)](_0x2dc2a5/0x100000000),_0x2b8246[(_0x39b685+0x40>>>0x9<<0x4)+0xf]=_0x2dc2a5,_0x6865b3[_0x43842f(0x2de)]=_0x2b8246[_0x43842f(0x3cb)]*0x4,this[_0x43842f(0x35e)](),this['_hash'];},'clone':function(){var _0x1f1b2e=_0x5f0402,_0x45be31=_0x4ba569['clone'][_0x1f1b2e(0x276)](this);return _0x45be31[_0x1f1b2e(0x371)]=this[_0x1f1b2e(0x371)]['clone'](),_0x45be31;}});_0x16efcf[_0x5f0402(0x3c8)]=_0x4ba569[_0x5f0402(0x4af)](_0xa60fc7),_0x16efcf[_0x5f0402(0x203)]=_0x4ba569[_0x5f0402(0x242)](_0xa60fc7);}()),_0x41fa9a[_0x5e0214(0x3c8)];}));}(ge)),ge[_0x339ad0(0x1df)];}var Te={'exports':{}},Di=Te[_0x473071(0x1df)],Ze;function yi(){var _0x261872=_0x473071;return Ze||(Ze=0x1,function(_0x1c8716,_0x21f0bc){(function(_0x1ef116,_0x2d06c6){var _0x50ec4a=_0x1e39;_0x1c8716[_0x50ec4a(0x1df)]=_0x2d06c6(Z());}(Di,function(_0x41b0f7){(function(){var _0x25cdcf=_0x1e39,_0x392abf=_0x41b0f7,_0x117fc8=_0x392abf['lib'],_0x2ff5d5=_0x117fc8[_0x25cdcf(0x1f3)],_0x32a73f=_0x392abf[_0x25cdcf(0x3fe)],_0x41bb15=_0x32a73f['Utf8'],_0x130d92=_0x392abf['algo'];_0x130d92[_0x25cdcf(0x1ce)]=_0x2ff5d5['extend']({'init':function(_0x1c3021,_0x2a55b9){var _0x2f6fad=_0x25cdcf;_0x1c3021=this['_hasher']=new _0x1c3021[(_0x2f6fad(0x343))](),typeof _0x2a55b9==_0x2f6fad(0x3d3)&&(_0x2a55b9=_0x41bb15[_0x2f6fad(0x3af)](_0x2a55b9));var _0x266ee0=_0x1c3021[_0x2f6fad(0x27c)],_0x5c102e=_0x266ee0*0x4;_0x2a55b9['sigBytes']>_0x5c102e&&(_0x2a55b9=_0x1c3021['finalize'](_0x2a55b9)),_0x2a55b9[_0x2f6fad(0x4c2)]();for(var _0x6ff066=this[_0x2f6fad(0x1f5)]=_0x2a55b9[_0x2f6fad(0x269)](),_0x221dca=this[_0x2f6fad(0x229)]=_0x2a55b9[_0x2f6fad(0x269)](),_0x595951=_0x6ff066['words'],_0x5b4a79=_0x221dca[_0x2f6fad(0x235)],_0x5ec560=0x0;_0x5ec560<_0x266ee0;_0x5ec560++)_0x595951[_0x5ec560]^=0x5c5c5c5c,_0x5b4a79[_0x5ec560]^=0x36363636;_0x6ff066['sigBytes']=_0x221dca[_0x2f6fad(0x2de)]=_0x5c102e,this[_0x2f6fad(0x400)]();},'reset':function(){var _0x5e2b57=_0x25cdcf,_0x5a0d25=this['_hasher'];_0x5a0d25[_0x5e2b57(0x400)](),_0x5a0d25['update'](this[_0x5e2b57(0x229)]);},'update':function(_0x1a944c){var _0x888dc=_0x25cdcf;return this[_0x888dc(0x2fd)]['update'](_0x1a944c),this;},'finalize':function(_0x88e8d7){var _0x192a85=_0x25cdcf,_0x1efb8b=this[_0x192a85(0x2fd)],_0x30a506=_0x1efb8b[_0x192a85(0x3c6)](_0x88e8d7);_0x1efb8b[_0x192a85(0x400)]();var _0x4da763=_0x1efb8b['finalize'](this[_0x192a85(0x1f5)][_0x192a85(0x269)]()['concat'](_0x30a506));return _0x4da763;}});}());}));}(Te)),Te[_0x261872(0x1df)];}var Ui=me[_0x473071(0x1df)],Qe;function Ct(){var _0xa943e3=_0x473071;return Qe||(Qe=0x1,function(_0x161c97,_0x3c9ce6){(function(_0x45e159,_0x1d74a0,_0x5b42b8){var _0x51d4fc=_0x1e39;_0x161c97[_0x51d4fc(0x1df)]=_0x1d74a0(Z(),Ni(),yi());}(Ui,function(_0x20de81){return(function(){var _0x5f35ea=_0x1e39,_0x3022f9=_0x20de81,_0x32a6e6=_0x3022f9[_0x5f35ea(0x172)],_0x2995c3=_0x32a6e6[_0x5f35ea(0x1f3)],_0x4ec4e0=_0x32a6e6[_0x5f35ea(0x258)],_0x333687=_0x3022f9['algo'],_0x22dd43=_0x333687['MD5'],_0x4d7891=_0x333687['EvpKDF']=_0x2995c3['extend']({'cfg':_0x2995c3[_0x5f35ea(0x257)]({'keySize':0x80/0x20,'hasher':_0x22dd43,'iterations':0x1}),'init':function(_0xbf8fb6){var _0x2c1c62=_0x5f35ea;this[_0x2c1c62(0x265)]=this['cfg']['extend'](_0xbf8fb6);},'compute':function(_0x4e3e7e,_0x4d7c8){var _0x265424=_0x5f35ea;for(var _0x3c4301,_0x5884d5=this[_0x265424(0x265)],_0x38268a=_0x5884d5[_0x265424(0x3a4)][_0x265424(0x17a)](),_0x464a1f=_0x4ec4e0[_0x265424(0x17a)](),_0x255101=_0x464a1f[_0x265424(0x235)],_0x1ab496=_0x5884d5[_0x265424(0x28a)],_0x6b1649=_0x5884d5[_0x265424(0x246)];_0x255101['length']<_0x1ab496;){_0x3c4301&&_0x38268a[_0x265424(0x22e)](_0x3c4301),_0x3c4301=_0x38268a['update'](_0x4e3e7e)[_0x265424(0x3c6)](_0x4d7c8),_0x38268a['reset']();for(var _0x5d0733=0x1;_0x5d0733<_0x6b1649;_0x5d0733++)_0x3c4301=_0x38268a[_0x265424(0x3c6)](_0x3c4301),_0x38268a[_0x265424(0x400)]();_0x464a1f[_0x265424(0x313)](_0x3c4301);}return _0x464a1f['sigBytes']=_0x1ab496*0x4,_0x464a1f;}});_0x3022f9[_0x5f35ea(0x259)]=function(_0x7b5d12,_0x33473a,_0x48127c){var _0x5b9b7a=_0x5f35ea;return _0x4d7891['create'](_0x48127c)[_0x5b9b7a(0x294)](_0x7b5d12,_0x33473a);};}()),_0x20de81['EvpKDF'];}));}(me)),me[_0xa943e3(0x1df)];}var Ce={'exports':{}},Ai=Ce[_0x473071(0x1df)],et;function Ot(){return et||(et=0x1,function(_0x5b4ff3,_0x42ab60){(function(_0x3d26d8,_0x787671,_0x216291){var _0xbc3db=_0x1e39;_0x5b4ff3[_0xbc3db(0x1df)]=_0x787671(Z(),Ct());}(Ai,function(_0x1f00d1){var _0x35bcf2=_0x1e39;_0x1f00d1[_0x35bcf2(0x172)]['Cipher']||function(_0xefcf83){var _0x174798=_0x35bcf2,_0x11f240=_0x1f00d1,_0x57c6ab=_0x11f240[_0x174798(0x172)],_0x55ae01=_0x57c6ab[_0x174798(0x1f3)],_0x53c092=_0x57c6ab[_0x174798(0x258)],_0x49803c=_0x57c6ab[_0x174798(0x4b3)],_0x3cff3e=_0x11f240[_0x174798(0x3fe)];_0x3cff3e[_0x174798(0x33f)];var _0xe7061f=_0x3cff3e[_0x174798(0x2a7)],_0x18d3c2=_0x11f240[_0x174798(0x3b8)],_0xdfb4e4=_0x18d3c2[_0x174798(0x259)],_0x1e8462=_0x57c6ab[_0x174798(0x4e9)]=_0x49803c[_0x174798(0x257)]({'cfg':_0x55ae01[_0x174798(0x257)](),'createEncryptor':function(_0x5db753,_0x41a93e){var _0x3a2e83=_0x174798;return this[_0x3a2e83(0x17a)](this[_0x3a2e83(0x1a1)],_0x5db753,_0x41a93e);},'createDecryptor':function(_0x4900a1,_0x19e1d6){return this['create'](this['_DEC_XFORM_MODE'],_0x4900a1,_0x19e1d6);},'init':function(_0x288bc0,_0x1d1a2c,_0x1160df){var _0x2c8471=_0x174798;this[_0x2c8471(0x265)]=this['cfg'][_0x2c8471(0x257)](_0x1160df),this[_0x2c8471(0x304)]=_0x288bc0,this[_0x2c8471(0x213)]=_0x1d1a2c,this[_0x2c8471(0x400)]();},'reset':function(){var _0x32d6de=_0x174798;_0x49803c[_0x32d6de(0x400)][_0x32d6de(0x276)](this),this[_0x32d6de(0x375)]();},'process':function(_0x5bb4d3){var _0x3444c3=_0x174798;return this[_0x3444c3(0x471)](_0x5bb4d3),this[_0x3444c3(0x35e)]();},'finalize':function(_0x1dc1b9){var _0x311218=_0x174798;_0x1dc1b9&&this[_0x311218(0x471)](_0x1dc1b9);var _0x51cd82=this[_0x311218(0x312)]();return _0x51cd82;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x27754d(_0x42b523){var _0x11fc1c=_0x1e39;return typeof _0x42b523==_0x11fc1c(0x3d3)?_0x1753ab:_0x4d3066;}return function(_0x8ce8e3){return{'encrypt':function(_0x2f9bd3,_0x26078a,_0x3d9e18){return _0x27754d(_0x26078a)['encrypt'](_0x8ce8e3,_0x2f9bd3,_0x26078a,_0x3d9e18);},'decrypt':function(_0x36cfca,_0x1755db,_0xa921e2){var _0x3f24f9=_0x1e39;return _0x27754d(_0x1755db)[_0x3f24f9(0x320)](_0x8ce8e3,_0x36cfca,_0x1755db,_0xa921e2);}};};}())});_0x57c6ab[_0x174798(0x19b)]=_0x1e8462[_0x174798(0x257)]({'_doFinalize':function(){var _0x2ce25d=this['_process'](!0x0);return _0x2ce25d;},'blockSize':0x1});var _0x55861d=_0x11f240['mode']={},_0x1ab68c=_0x57c6ab['BlockCipherMode']=_0x55ae01[_0x174798(0x257)]({'createEncryptor':function(_0x16b0da,_0x1d72df){var _0x1ab490=_0x174798;return this[_0x1ab490(0x484)][_0x1ab490(0x17a)](_0x16b0da,_0x1d72df);},'createDecryptor':function(_0x3434e9,_0x25dc7a){var _0x119511=_0x174798;return this[_0x119511(0x3f6)][_0x119511(0x17a)](_0x3434e9,_0x25dc7a);},'init':function(_0x571435,_0x43ff45){var _0x2e882e=_0x174798;this[_0x2e882e(0x2f2)]=_0x571435,this[_0x2e882e(0x3dd)]=_0x43ff45;}}),_0x4e0d38=_0x55861d['CBC']=(function(){var _0x3d2614=_0x174798,_0x491ff3=_0x1ab68c['extend']();_0x491ff3['Encryptor']=_0x491ff3[_0x3d2614(0x257)]({'processBlock':function(_0x4a6e12,_0x595339){var _0x32afe3=_0x3d2614,_0xe52e36=this[_0x32afe3(0x2f2)],_0x2bbd17=_0xe52e36[_0x32afe3(0x27c)];_0x4d9a6e[_0x32afe3(0x276)](this,_0x4a6e12,_0x595339,_0x2bbd17),_0xe52e36['encryptBlock'](_0x4a6e12,_0x595339),this[_0x32afe3(0x42f)]=_0x4a6e12[_0x32afe3(0x324)](_0x595339,_0x595339+_0x2bbd17);}}),_0x491ff3[_0x3d2614(0x3f6)]=_0x491ff3[_0x3d2614(0x257)]({'processBlock':function(_0x4871af,_0xbd50b7){var _0x174eb8=_0x3d2614,_0x5a593d=this[_0x174eb8(0x2f2)],_0x13555e=_0x5a593d['blockSize'],_0x3ca14b=_0x4871af[_0x174eb8(0x324)](_0xbd50b7,_0xbd50b7+_0x13555e);_0x5a593d[_0x174eb8(0x2c5)](_0x4871af,_0xbd50b7),_0x4d9a6e['call'](this,_0x4871af,_0xbd50b7,_0x13555e),this[_0x174eb8(0x42f)]=_0x3ca14b;}});function _0x4d9a6e(_0x1eaff4,_0x55df0e,_0x331d21){var _0x495bf1=_0x3d2614,_0x5c884f,_0x42d855=this[_0x495bf1(0x3dd)];_0x42d855?(_0x5c884f=_0x42d855,this['_iv']=_0xefcf83):_0x5c884f=this[_0x495bf1(0x42f)];for(var _0x1f6f30=0x0;_0x1f6f30<_0x331d21;_0x1f6f30++)_0x1eaff4[_0x55df0e+_0x1f6f30]^=_0x5c884f[_0x1f6f30];}return _0x491ff3;}()),_0x19aeb0=_0x11f240[_0x174798(0x168)]={},_0x5298b4=_0x19aeb0[_0x174798(0x1c4)]={'pad':function(_0x1109c0,_0x31e668){var _0x113a08=_0x174798;for(var _0x1de24a=_0x31e668*0x4,_0x532187=_0x1de24a-_0x1109c0[_0x113a08(0x2de)]%_0x1de24a,_0x170b1a=_0x532187<<0x18|_0x532187<<0x10|_0x532187<<0x8|_0x532187,_0x38c26d=[],_0x4ff856=0x0;_0x4ff856<_0x532187;_0x4ff856+=0x4)_0x38c26d[_0x113a08(0x206)](_0x170b1a);var _0x5be289=_0x53c092[_0x113a08(0x17a)](_0x38c26d,_0x532187);_0x1109c0[_0x113a08(0x313)](_0x5be289);},'unpad':function(_0x407a44){var _0xda0588=_0x174798,_0x446895=_0x407a44[_0xda0588(0x235)][_0x407a44[_0xda0588(0x2de)]-0x1>>>0x2]&0xff;_0x407a44['sigBytes']-=_0x446895;}};_0x57c6ab[_0x174798(0x27f)]=_0x1e8462[_0x174798(0x257)]({'cfg':_0x1e8462[_0x174798(0x265)][_0x174798(0x257)]({'mode':_0x4e0d38,'padding':_0x5298b4}),'reset':function(){var _0x55d9a7=_0x174798,_0x3c0520;_0x1e8462[_0x55d9a7(0x400)][_0x55d9a7(0x276)](this);var _0xffd990=this[_0x55d9a7(0x265)],_0x3bffad=_0xffd990['iv'],_0x5f4a83=_0xffd990[_0x55d9a7(0x2db)];this['_xformMode']==this[_0x55d9a7(0x1a1)]?_0x3c0520=_0x5f4a83[_0x55d9a7(0x274)]:(_0x3c0520=_0x5f4a83['createDecryptor'],this[_0x55d9a7(0x2fc)]=0x1),this[_0x55d9a7(0x337)]&&this[_0x55d9a7(0x337)][_0x55d9a7(0x3cd)]==_0x3c0520?this[_0x55d9a7(0x337)][_0x55d9a7(0x343)](this,_0x3bffad&&_0x3bffad[_0x55d9a7(0x235)]):(this[_0x55d9a7(0x337)]=_0x3c0520[_0x55d9a7(0x276)](_0x5f4a83,this,_0x3bffad&&_0x3bffad[_0x55d9a7(0x235)]),this[_0x55d9a7(0x337)]['__creator']=_0x3c0520);},'_doProcessBlock':function(_0x359005,_0x1b623f){this['_mode']['processBlock'](_0x359005,_0x1b623f);},'_doFinalize':function(){var _0x237c31=_0x174798,_0x537079,_0x3786e8=this[_0x237c31(0x265)][_0x237c31(0x409)];return this[_0x237c31(0x304)]==this[_0x237c31(0x1a1)]?(_0x3786e8['pad'](this['_data'],this[_0x237c31(0x27c)]),_0x537079=this[_0x237c31(0x35e)](!0x0)):(_0x537079=this[_0x237c31(0x35e)](!0x0),_0x3786e8[_0x237c31(0x1c8)](_0x537079)),_0x537079;},'blockSize':0x80/0x20});var _0x3bf56e=_0x57c6ab['CipherParams']=_0x55ae01[_0x174798(0x257)]({'init':function(_0x310b2e){var _0x56f2d7=_0x174798;this[_0x56f2d7(0x330)](_0x310b2e);},'toString':function(_0x2dc5ef){var _0x5c21a9=_0x174798;return(_0x2dc5ef||this[_0x5c21a9(0x356)])[_0x5c21a9(0x395)](this);}}),_0x1ed2e3=_0x11f240[_0x174798(0x359)]={},_0x3b3ba2=_0x1ed2e3['OpenSSL']={'stringify':function(_0x2495d2){var _0x26917e=_0x174798,_0xe7d7c5,_0x6518e4=_0x2495d2[_0x26917e(0x3fd)],_0x4282ae=_0x2495d2['salt'];return _0x4282ae?_0xe7d7c5=_0x53c092[_0x26917e(0x17a)]([0x53616c74,0x65645f5f])[_0x26917e(0x313)](_0x4282ae)['concat'](_0x6518e4):_0xe7d7c5=_0x6518e4,_0xe7d7c5[_0x26917e(0x3d1)](_0xe7061f);},'parse':function(_0xa64f09){var _0x291ebd=_0x174798,_0x25cd0f,_0x4c378c=_0xe7061f[_0x291ebd(0x3af)](_0xa64f09),_0x6b0342=_0x4c378c[_0x291ebd(0x235)];return _0x6b0342[0x0]==0x53616c74&&_0x6b0342[0x1]==0x65645f5f&&(_0x25cd0f=_0x53c092[_0x291ebd(0x17a)](_0x6b0342[_0x291ebd(0x324)](0x2,0x4)),_0x6b0342['splice'](0x0,0x4),_0x4c378c[_0x291ebd(0x2de)]-=0x10),_0x3bf56e[_0x291ebd(0x17a)]({'ciphertext':_0x4c378c,'salt':_0x25cd0f});}},_0x4d3066=_0x57c6ab['SerializableCipher']=_0x55ae01['extend']({'cfg':_0x55ae01[_0x174798(0x257)]({'format':_0x3b3ba2}),'encrypt':function(_0x2ae39c,_0x519b7f,_0x37a5c1,_0xcb5810){var _0x4c24b7=_0x174798;_0xcb5810=this['cfg'][_0x4c24b7(0x257)](_0xcb5810);var _0x5e1093=_0x2ae39c[_0x4c24b7(0x274)](_0x37a5c1,_0xcb5810),_0x508453=_0x5e1093['finalize'](_0x519b7f),_0x2bbb03=_0x5e1093['cfg'];return _0x3bf56e[_0x4c24b7(0x17a)]({'ciphertext':_0x508453,'key':_0x37a5c1,'iv':_0x2bbb03['iv'],'algorithm':_0x2ae39c,'mode':_0x2bbb03[_0x4c24b7(0x2db)],'padding':_0x2bbb03[_0x4c24b7(0x409)],'blockSize':_0x2ae39c['blockSize'],'formatter':_0xcb5810['format']});},'decrypt':function(_0x19e6ad,_0x355a0d,_0x3adb0c,_0x5987bf){var _0x4e92a5=_0x174798;_0x5987bf=this[_0x4e92a5(0x265)]['extend'](_0x5987bf),_0x355a0d=this[_0x4e92a5(0x37e)](_0x355a0d,_0x5987bf[_0x4e92a5(0x359)]);var _0x803f3a=_0x19e6ad[_0x4e92a5(0x4b7)](_0x3adb0c,_0x5987bf)[_0x4e92a5(0x3c6)](_0x355a0d[_0x4e92a5(0x3fd)]);return _0x803f3a;},'_parse':function(_0x4c3300,_0x26754e){return typeof _0x4c3300=='string'?_0x26754e['parse'](_0x4c3300,this):_0x4c3300;}}),_0x45ab27=_0x11f240[_0x174798(0x1ad)]={},_0x542662=_0x45ab27['OpenSSL']={'execute':function(_0x381785,_0x7c7d6f,_0x1cddda,_0x3a6d2f,_0x11bcfb){var _0x3b5688=_0x174798;if(_0x3a6d2f||(_0x3a6d2f=_0x53c092[_0x3b5688(0x412)](0x40/0x8)),_0x11bcfb)var _0x1386cd=_0xdfb4e4['create']({'keySize':_0x7c7d6f+_0x1cddda,'hasher':_0x11bcfb})[_0x3b5688(0x294)](_0x381785,_0x3a6d2f);else var _0x1386cd=_0xdfb4e4['create']({'keySize':_0x7c7d6f+_0x1cddda})[_0x3b5688(0x294)](_0x381785,_0x3a6d2f);var _0x285d73=_0x53c092['create'](_0x1386cd[_0x3b5688(0x235)][_0x3b5688(0x324)](_0x7c7d6f),_0x1cddda*0x4);return _0x1386cd[_0x3b5688(0x2de)]=_0x7c7d6f*0x4,_0x3bf56e[_0x3b5688(0x17a)]({'key':_0x1386cd,'iv':_0x285d73,'salt':_0x3a6d2f});}},_0x1753ab=_0x57c6ab[_0x174798(0x25e)]=_0x4d3066[_0x174798(0x257)]({'cfg':_0x4d3066[_0x174798(0x265)]['extend']({'kdf':_0x542662}),'encrypt':function(_0x1a8414,_0x58ef53,_0x333db2,_0x594f9d){var _0xccdceb=_0x174798;_0x594f9d=this[_0xccdceb(0x265)][_0xccdceb(0x257)](_0x594f9d);var _0x3a2424=_0x594f9d[_0xccdceb(0x1ad)][_0xccdceb(0x30b)](_0x333db2,_0x1a8414[_0xccdceb(0x28a)],_0x1a8414[_0xccdceb(0x2d4)],_0x594f9d[_0xccdceb(0x1d4)],_0x594f9d[_0xccdceb(0x3a4)]);_0x594f9d['iv']=_0x3a2424['iv'];var _0x1b7b8d=_0x4d3066[_0xccdceb(0x34d)]['call'](this,_0x1a8414,_0x58ef53,_0x3a2424[_0xccdceb(0x2c8)],_0x594f9d);return _0x1b7b8d[_0xccdceb(0x330)](_0x3a2424),_0x1b7b8d;},'decrypt':function(_0x171784,_0x2c7fc2,_0x4076bb,_0x2a8e9e){var _0x2a56be=_0x174798;_0x2a8e9e=this['cfg'][_0x2a56be(0x257)](_0x2a8e9e),_0x2c7fc2=this[_0x2a56be(0x37e)](_0x2c7fc2,_0x2a8e9e[_0x2a56be(0x359)]);var _0x48b724=_0x2a8e9e[_0x2a56be(0x1ad)][_0x2a56be(0x30b)](_0x4076bb,_0x171784['keySize'],_0x171784[_0x2a56be(0x2d4)],_0x2c7fc2['salt'],_0x2a8e9e[_0x2a56be(0x3a4)]);_0x2a8e9e['iv']=_0x48b724['iv'];var _0x3018e3=_0x4d3066['decrypt'][_0x2a56be(0x276)](this,_0x171784,_0x2c7fc2,_0x48b724['key'],_0x2a8e9e);return _0x3018e3;}});}();}));}(Ce)),Ce['exports'];}var Pi=Ie[_0x473071(0x1df)],tt;function Li(){var _0x2733f9=_0x473071;return tt||(tt=0x1,function(_0x4c8f38,_0xd6b02b){(function(_0x427fca,_0x41520e,_0x1bb981){var _0x463623=_0x1e39;_0x4c8f38[_0x463623(0x1df)]=_0x41520e(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x45a890){return(function(){var _0x11750=_0x1e39,_0x3cca79=_0x45a890,_0x9de464=_0x3cca79[_0x11750(0x172)],_0x53a62a=_0x9de464[_0x11750(0x27f)],_0x5def0a=_0x3cca79[_0x11750(0x3b8)],_0x2047a4=[],_0x59b908=[],_0x72c57=[],_0x4a2070=[],_0x3d74bf=[],_0x43493d=[],_0x59a920=[],_0x10877a=[],_0x542d95=[],_0x3f3358=[];(function(){for(var _0x2cda0b=[],_0xfeb798=0x0;_0xfeb798<0x100;_0xfeb798++)_0xfeb798<0x80?_0x2cda0b[_0xfeb798]=_0xfeb798<<0x1:_0x2cda0b[_0xfeb798]=_0xfeb798<<0x1^0x11b;for(var _0x534000=0x0,_0x369b08=0x0,_0xfeb798=0x0;_0xfeb798<0x100;_0xfeb798++){var _0x4a3828=_0x369b08^_0x369b08<<0x1^_0x369b08<<0x2^_0x369b08<<0x3^_0x369b08<<0x4;_0x4a3828=_0x4a3828>>>0x8^_0x4a3828&0xff^0x63,_0x2047a4[_0x534000]=_0x4a3828,_0x59b908[_0x4a3828]=_0x534000;var _0x7bba79=_0x2cda0b[_0x534000],_0x491cb7=_0x2cda0b[_0x7bba79],_0x3f68c6=_0x2cda0b[_0x491cb7],_0x495090=_0x2cda0b[_0x4a3828]*0x101^_0x4a3828*0x1010100;_0x72c57[_0x534000]=_0x495090<<0x18|_0x495090>>>0x8,_0x4a2070[_0x534000]=_0x495090<<0x10|_0x495090>>>0x10,_0x3d74bf[_0x534000]=_0x495090<<0x8|_0x495090>>>0x18,_0x43493d[_0x534000]=_0x495090;var _0x495090=_0x3f68c6*0x1010101^_0x491cb7*0x10001^_0x7bba79*0x101^_0x534000*0x1010100;_0x59a920[_0x4a3828]=_0x495090<<0x18|_0x495090>>>0x8,_0x10877a[_0x4a3828]=_0x495090<<0x10|_0x495090>>>0x10,_0x542d95[_0x4a3828]=_0x495090<<0x8|_0x495090>>>0x18,_0x3f3358[_0x4a3828]=_0x495090,_0x534000?(_0x534000=_0x7bba79^_0x2cda0b[_0x2cda0b[_0x2cda0b[_0x3f68c6^_0x7bba79]]],_0x369b08^=_0x2cda0b[_0x2cda0b[_0x369b08]]):_0x534000=_0x369b08=0x1;}}());var _0x3946bf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3844ed=_0x5def0a['AES']=_0x53a62a['extend']({'_doReset':function(){var _0x577180=_0x11750,_0x315358;if(!(this[_0x577180(0x1f4)]&&this[_0x577180(0x233)]===this['_key'])){for(var _0x3a9070=this[_0x577180(0x233)]=this[_0x577180(0x213)],_0x7e7f34=_0x3a9070[_0x577180(0x235)],_0x5b27f5=_0x3a9070['sigBytes']/0x4,_0x39b4a0=this['_nRounds']=_0x5b27f5+0x6,_0x53e658=(_0x39b4a0+0x1)*0x4,_0x4303e7=this[_0x577180(0x3aa)]=[],_0x25c209=0x0;_0x25c209<_0x53e658;_0x25c209++)_0x25c209<_0x5b27f5?_0x4303e7[_0x25c209]=_0x7e7f34[_0x25c209]:(_0x315358=_0x4303e7[_0x25c209-0x1],_0x25c209%_0x5b27f5?_0x5b27f5>0x6&&_0x25c209%_0x5b27f5==0x4&&(_0x315358=_0x2047a4[_0x315358>>>0x18]<<0x18|_0x2047a4[_0x315358>>>0x10&0xff]<<0x10|_0x2047a4[_0x315358>>>0x8&0xff]<<0x8|_0x2047a4[_0x315358&0xff]):(_0x315358=_0x315358<<0x8|_0x315358>>>0x18,_0x315358=_0x2047a4[_0x315358>>>0x18]<<0x18|_0x2047a4[_0x315358>>>0x10&0xff]<<0x10|_0x2047a4[_0x315358>>>0x8&0xff]<<0x8|_0x2047a4[_0x315358&0xff],_0x315358^=_0x3946bf[_0x25c209/_0x5b27f5|0x0]<<0x18),_0x4303e7[_0x25c209]=_0x4303e7[_0x25c209-_0x5b27f5]^_0x315358);for(var _0x3ab174=this[_0x577180(0x2bb)]=[],_0x23d92e=0x0;_0x23d92e<_0x53e658;_0x23d92e++){var _0x25c209=_0x53e658-_0x23d92e;if(_0x23d92e%0x4)var _0x315358=_0x4303e7[_0x25c209];else var _0x315358=_0x4303e7[_0x25c209-0x4];_0x23d92e<0x4||_0x25c209<=0x4?_0x3ab174[_0x23d92e]=_0x315358:_0x3ab174[_0x23d92e]=_0x59a920[_0x2047a4[_0x315358>>>0x18]]^_0x10877a[_0x2047a4[_0x315358>>>0x10&0xff]]^_0x542d95[_0x2047a4[_0x315358>>>0x8&0xff]]^_0x3f3358[_0x2047a4[_0x315358&0xff]];}}},'encryptBlock':function(_0x290155,_0x54652d){var _0x516f47=_0x11750;this['_doCryptBlock'](_0x290155,_0x54652d,this[_0x516f47(0x3aa)],_0x72c57,_0x4a2070,_0x3d74bf,_0x43493d,_0x2047a4);},'decryptBlock':function(_0x1067de,_0x290937){var _0x420b06=_0x11750,_0x3680dc=_0x1067de[_0x290937+0x1];_0x1067de[_0x290937+0x1]=_0x1067de[_0x290937+0x3],_0x1067de[_0x290937+0x3]=_0x3680dc,this['_doCryptBlock'](_0x1067de,_0x290937,this[_0x420b06(0x2bb)],_0x59a920,_0x10877a,_0x542d95,_0x3f3358,_0x59b908);var _0x3680dc=_0x1067de[_0x290937+0x1];_0x1067de[_0x290937+0x1]=_0x1067de[_0x290937+0x3],_0x1067de[_0x290937+0x3]=_0x3680dc;},'_doCryptBlock':function(_0x81d603,_0x2ef0c8,_0x59e99f,_0x25e277,_0x50561b,_0x11a29a,_0x2d6a66,_0x2ed26f){var _0x967567=_0x11750;for(var _0x2821eb=this[_0x967567(0x1f4)],_0x4001b1=_0x81d603[_0x2ef0c8]^_0x59e99f[0x0],_0x5d4038=_0x81d603[_0x2ef0c8+0x1]^_0x59e99f[0x1],_0x95c924=_0x81d603[_0x2ef0c8+0x2]^_0x59e99f[0x2],_0x2e4eea=_0x81d603[_0x2ef0c8+0x3]^_0x59e99f[0x3],_0x4c5144=0x4,_0x327d30=0x1;_0x327d30<_0x2821eb;_0x327d30++){var _0x19ddba=_0x25e277[_0x4001b1>>>0x18]^_0x50561b[_0x5d4038>>>0x10&0xff]^_0x11a29a[_0x95c924>>>0x8&0xff]^_0x2d6a66[_0x2e4eea&0xff]^_0x59e99f[_0x4c5144++],_0x5d58a2=_0x25e277[_0x5d4038>>>0x18]^_0x50561b[_0x95c924>>>0x10&0xff]^_0x11a29a[_0x2e4eea>>>0x8&0xff]^_0x2d6a66[_0x4001b1&0xff]^_0x59e99f[_0x4c5144++],_0x237ec2=_0x25e277[_0x95c924>>>0x18]^_0x50561b[_0x2e4eea>>>0x10&0xff]^_0x11a29a[_0x4001b1>>>0x8&0xff]^_0x2d6a66[_0x5d4038&0xff]^_0x59e99f[_0x4c5144++],_0x1a15df=_0x25e277[_0x2e4eea>>>0x18]^_0x50561b[_0x4001b1>>>0x10&0xff]^_0x11a29a[_0x5d4038>>>0x8&0xff]^_0x2d6a66[_0x95c924&0xff]^_0x59e99f[_0x4c5144++];_0x4001b1=_0x19ddba,_0x5d4038=_0x5d58a2,_0x95c924=_0x237ec2,_0x2e4eea=_0x1a15df;}var _0x19ddba=(_0x2ed26f[_0x4001b1>>>0x18]<<0x18|_0x2ed26f[_0x5d4038>>>0x10&0xff]<<0x10|_0x2ed26f[_0x95c924>>>0x8&0xff]<<0x8|_0x2ed26f[_0x2e4eea&0xff])^_0x59e99f[_0x4c5144++],_0x5d58a2=(_0x2ed26f[_0x5d4038>>>0x18]<<0x18|_0x2ed26f[_0x95c924>>>0x10&0xff]<<0x10|_0x2ed26f[_0x2e4eea>>>0x8&0xff]<<0x8|_0x2ed26f[_0x4001b1&0xff])^_0x59e99f[_0x4c5144++],_0x237ec2=(_0x2ed26f[_0x95c924>>>0x18]<<0x18|_0x2ed26f[_0x2e4eea>>>0x10&0xff]<<0x10|_0x2ed26f[_0x4001b1>>>0x8&0xff]<<0x8|_0x2ed26f[_0x5d4038&0xff])^_0x59e99f[_0x4c5144++],_0x1a15df=(_0x2ed26f[_0x2e4eea>>>0x18]<<0x18|_0x2ed26f[_0x4001b1>>>0x10&0xff]<<0x10|_0x2ed26f[_0x5d4038>>>0x8&0xff]<<0x8|_0x2ed26f[_0x95c924&0xff])^_0x59e99f[_0x4c5144++];_0x81d603[_0x2ef0c8]=_0x19ddba,_0x81d603[_0x2ef0c8+0x1]=_0x5d58a2,_0x81d603[_0x2ef0c8+0x2]=_0x237ec2,_0x81d603[_0x2ef0c8+0x3]=_0x1a15df;},'keySize':0x100/0x20});_0x3cca79[_0x11750(0x31f)]=_0x53a62a[_0x11750(0x4af)](_0x3844ed);}()),_0x45a890['AES'];}));}(Ie)),Ie[_0x2733f9(0x1df)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x473071(0x1df)],nt;function $i(){return nt||(nt=0x1,function(_0x12efb7,_0x3cc3ce){(function(_0x11c083,_0x22b7d7){var _0x2a92e4=_0x1e39;_0x12efb7[_0x2a92e4(0x1df)]=_0x22b7d7(Z());}(ki,function(_0x5d0069){return _0x5d0069['enc']['Utf8'];}));}(Oe)),Oe['exports'];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x473071(0x1df)],st;function Fi(){var _0xa48373=_0x473071;return st||(st=0x1,function(_0x61ed90,_0x2b4944){(function(_0x213578,_0x5594b){var _0x12a75f=_0x1e39;_0x61ed90[_0x12a75f(0x1df)]=_0x5594b(Z());}(Bi,function(_0x38faae){var _0x5c3cae=_0x1e39;return(function(){var _0x46d0c9=_0x1e39;if(typeof ArrayBuffer==_0x46d0c9(0x477)){var _0x36a7ac=_0x38faae,_0x1a63c8=_0x36a7ac[_0x46d0c9(0x172)],_0x4e6d41=_0x1a63c8[_0x46d0c9(0x258)],_0x9aa0e6=_0x4e6d41[_0x46d0c9(0x343)],_0x5969bc=_0x4e6d41[_0x46d0c9(0x343)]=function(_0x369726){var _0x47b562=_0x46d0c9;if(_0x369726 instanceof ArrayBuffer&&(_0x369726=new Uint8Array(_0x369726)),(_0x369726 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x369726 instanceof Uint8ClampedArray||_0x369726 instanceof Int16Array||_0x369726 instanceof Uint16Array||_0x369726 instanceof Int32Array||_0x369726 instanceof Uint32Array||_0x369726 instanceof Float32Array||_0x369726 instanceof Float64Array)&&(_0x369726=new Uint8Array(_0x369726[_0x47b562(0x349)],_0x369726[_0x47b562(0x4b5)],_0x369726[_0x47b562(0x2f9)])),_0x369726 instanceof Uint8Array){for(var _0x4ebba3=_0x369726[_0x47b562(0x2f9)],_0x4e4e5e=[],_0x54de75=0x0;_0x54de75<_0x4ebba3;_0x54de75++)_0x4e4e5e[_0x54de75>>>0x2]|=_0x369726[_0x54de75]<<0x18-_0x54de75%0x4*0x8;_0x9aa0e6[_0x47b562(0x276)](this,_0x4e4e5e,_0x4ebba3);}else _0x9aa0e6[_0x47b562(0x392)](this,arguments);};_0x5969bc[_0x46d0c9(0x29c)]=_0x4e6d41;}}()),_0x38faae[_0x5c3cae(0x172)][_0x5c3cae(0x258)];}));}(be)),be[_0xa48373(0x1df)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re['exports'],rt;function Yi(){return rt||(rt=0x1,function(_0x3803c7,_0x340607){(function(_0x14be14,_0x4bed44,_0x57df36){_0x3803c7['exports']=_0x4bed44(Z(),Ot());}(Gi,function(_0x1c93e4){var _0x15a94c=_0x1e39;return _0x1c93e4[_0x15a94c(0x168)][_0x15a94c(0x3d8)]={'pad':function(){},'unpad':function(){}},_0x1c93e4['pad'][_0x15a94c(0x3d8)];}));}(Re)),Re['exports'];}var Ki=Yi();const qi=de(Ki);function zi(_0x5b6ed6,_0x3ccd55){var _0xf36fba=_0x473071;const _0x11f654=_0x3ccd55-_0x5b6ed6[_0xf36fba(0x3cb)]%_0x3ccd55,_0x570165=String[_0xf36fba(0x2ca)](_0x11f654)[_0xf36fba(0x1fa)](_0x11f654);return _0x5b6ed6+_0x570165;}function Xi(_0xeb96f7,_0xc18509){var _0x31bc3f=_0x473071;const _0x169fa2=Wi[_0x31bc3f(0x412)](0x10),_0x1477ef=zi(_0xeb96f7,0x10),_0x6297de=wi[_0x31bc3f(0x34d)](ji[_0x31bc3f(0x3af)](_0x1477ef),it['parse'](_0xc18509),{'iv':_0x169fa2,'padding':qi});return _0x169fa2[_0x31bc3f(0x313)](_0x6297de['ciphertext'])[_0x31bc3f(0x3d1)](it);}function Ji(){var _0x1b802b=_0x473071;const _0x256355=Dt[_0x1b802b(0x28d)]()['__Key__'];if(_0x256355){const _0x40b7e5={'time':Math[_0x1b802b(0x1b5)](Date[_0x1b802b(0x1e4)]()/0x3e8),'domain':location[_0x1b802b(0x26e)]};return Xi(JSON['stringify'](_0x40b7e5),_0x256355);}}var Zi=Object[_0x473071(0x1c5)],Qi=(_0x354e2a,_0x40b5f4,_0x2e79f6,_0x573770)=>{var _0x5a4b76=_0x473071;for(var _0x49fdca=_0x573770>0x1?void 0x0:_0x573770?Zi(_0x40b5f4,_0x2e79f6):_0x40b5f4,_0x107f55=_0x354e2a[_0x5a4b76(0x3cb)]-0x1,_0x59b5d8;_0x107f55>=0x0;_0x107f55--)(_0x59b5d8=_0x354e2a[_0x107f55])&&(_0x49fdca=_0x59b5d8(_0x49fdca)||_0x49fdca);return _0x49fdca;},en=(_0x39f11a,_0x56655c)=>(_0x386392,_0x16b30f)=>_0x56655c(_0x386392,_0x16b30f,_0x39f11a);let De=class{constructor(_0xf1a010){var _0x41441a=_0x473071;this[_0x41441a(0x3fb)]=_0xf1a010,this[_0x41441a(0x3a9)]();}[_0x473071(0x3a9)](){var _0x3d2157=_0x473071;this[_0x3d2157(0x3fb)][_0x3d2157(0x2bf)]({'interceptor':(_0x2af481,_0x115256)=>{var _0x22f126=_0x3d2157;const _0x5e5eb5=_0x2af481['headers'],_0x5e116f=Ji();return _0x5e116f&&_0x5e5eb5[_0x22f126(0x42b)](_0x22f126(0x488),_0x5e116f),_0x115256(_0x2af481);}});}};De=Qi([en(0x0,o['Inject'](K['HTTPService']))],De);var tn=Object[_0x473071(0x1c5)],nn=(_0x241732,_0x4d3b33,_0x4b5b8f,_0x3d449e)=>{var _0x3bc49a=_0x473071;for(var _0x4af6de=_0x3d449e>0x1?void 0x0:_0x3d449e?tn(_0x4d3b33,_0x4b5b8f):_0x4d3b33,_0x40ba48=_0x241732[_0x3bc49a(0x3cb)]-0x1,_0x16d9d9;_0x40ba48>=0x0;_0x40ba48--)(_0x16d9d9=_0x241732[_0x40ba48])&&(_0x4af6de=_0x16d9d9(_0x4af6de)||_0x4af6de);return _0x4af6de;},Le=(_0x28dca1,_0xac03aa)=>(_0x53c3fa,_0x67527e)=>_0xac03aa(_0x53c3fa,_0x67527e,_0x28dca1);exports[_0x473071(0x35f)]=class extends o[_0x473071(0x34b)]{constructor(_0x40bb5b,_0x155aae,_0x5252bc){var _0x1ce411=_0x473071;super(),A(this,'_unitInfo$',new j['BehaviorSubject'](null)),A(this,'unitInfo$',this[_0x1ce411(0x35b)][_0x1ce411(0x2d5)]()),(this[_0x1ce411(0x40d)]=_0x40bb5b,this[_0x1ce411(0x25c)]=_0x155aae,this[_0x1ce411(0x384)]=_0x5252bc);}async[_0x473071(0x228)](_0x1c02f5,_0xc2b927,_0x1875d1){var _0x200400=_0x473071;this['_unitInfo$'][_0x200400(0x37d)]({'unitId':_0x1c02f5,'type':_0xc2b927});let _0x232bf5=null;switch(_0xc2b927){case X[_0x200400(0x378)]:{_0x232bf5=await this['_snapshotService'][_0x200400(0x2cc)](_0x1c02f5,_0x1875d1);break;}case X[_0x200400(0x383)]:{_0x232bf5=await this['_snapshotService']['loadDoc'](_0x1c02f5,_0x1875d1);break;}default:{this['_logService']['error'](_0x200400(0x1b3),_0x200400(0x2d6));break;}}return _0x232bf5;}async['loadUnit'](_0x2202b0,_0xcb716f,_0x1234e6){var _0x26a630=_0x473071,_0x29fbd5;this['_unitInfo$']['next']({'unitId':_0x2202b0,'type':_0xcb716f,'subUnitId':_0x1234e6});let _0x1b0522=0x0;const _0x4e04ff=await((_0x29fbd5=this['_localCacheService'])==null?void 0x0:_0x29fbd5[_0x26a630(0x261)](_0x2202b0));return _0x4e04ff&&(_0x4e04ff[_0x26a630(0x185)]||_0x4e04ff['mutations'][_0x26a630(0x3cb)]!==0x0)&&(_0x1b0522=_0x4e04ff[_0x26a630(0x240)]),_0x1b0522===0x0&&this[_0x26a630(0x40d)]['debug'](_0x26a630(0x1b3),_0x26a630(0x4b0)),this['loadUnitOfRevision'](_0x2202b0,_0xcb716f,_0x1b0522);}},exports[_0x473071(0x35f)]=nn([Le(0x0,o[_0x473071(0x1dd)]),Le(0x1,o[_0x473071(0x1d0)](E[_0x473071(0x1dc)])),Le(0x2,o[_0x473071(0x437)](q))],exports[_0x473071(0x35f)]);var sn=Object[_0x473071(0x1c5)],rn=(_0x5f5d4e,_0x3f516b,_0x2ebdd3,_0x4a0d9d)=>{var _0x2738c1=_0x473071;for(var _0x50f9c9=_0x4a0d9d>0x1?void 0x0:_0x4a0d9d?sn(_0x3f516b,_0x2ebdd3):_0x3f516b,_0x150641=_0x5f5d4e[_0x2738c1(0x3cb)]-0x1,_0x582515;_0x150641>=0x0;_0x150641--)(_0x582515=_0x5f5d4e[_0x150641])&&(_0x50f9c9=_0x582515(_0x50f9c9)||_0x50f9c9);return _0x50f9c9;},Me=(_0x319974,_0x22f365)=>(_0x3bdbb2,_0xd45cdf)=>_0x22f365(_0x3bdbb2,_0xd45cdf,_0x319974);const an=[_0x473071(0x2ba),'image/jpeg','image/jpg',_0x473071(0x345),_0x473071(0x250)],on=0x5*0x400*0x400,cn=_0x473071(0x4d6),_n=_0x473071(0x2ed);exports[_0x473071(0x3b7)]=class{constructor(_0x294905,_0x53bd16,_0x36c748){var _0x51670a=_0x473071;A(this,_0x51670a(0x41c),0x0),A(this,'_change$',new j[(_0x51670a(0x497))]()),A(this,'change$',this[_0x51670a(0x449)]),A(this,_0x51670a(0x218),new Map()),(this[_0x51670a(0x3fb)]=_0x294905,this[_0x51670a(0x4c1)]=_0x53bd16,this[_0x51670a(0x1cc)]=_0x36c748);}[_0x473071(0x26a)](_0x7acc3e){var _0xbf5f1d=_0x473071;this['_waitCount']=_0x7acc3e,this[_0xbf5f1d(0x449)]['next'](_0x7acc3e);}['getImageSourceCache'](_0x3b75e2,_0x2dd8fc){var _0x43f2f2=_0x473071;if(_0x2dd8fc===z[_0x43f2f2(0x381)][_0x43f2f2(0x1d9)]){const _0x46b39c=new Image();return _0x46b39c[_0x43f2f2(0x22f)]=_0x3b75e2,_0x46b39c;}return this[_0x43f2f2(0x218)][_0x43f2f2(0x1ba)](_0x3b75e2);}['addImageSourceCache'](_0x5e49c6,_0x30ed4c,_0xc357f5){var _0xb26f83=_0x473071;_0x30ed4c===z['ImageSourceType']['BASE64']||_0xc357f5==null||this['_imageSourceCache'][_0xb26f83(0x42b)](_0x5e49c6,_0xc357f5);}async[_0x473071(0x4d1)](_0x31d253){var _0x342021=_0x473071;try{const _0x4cfa79=this[_0x342021(0x198)](this['_getSignURL'](),''+_0x31d253),_0x3cf698=(await this[_0x342021(0x3fb)][_0x342021(0x1ba)](_0x4cfa79))[_0x342021(0x394)];if(_0x3cf698[_0x342021(0x2a4)]&&_0x3cf698['error'][_0x342021(0x3bb)]===vt['OK']){const _0xcf3cd0=new URL(_0x3cf698[_0x342021(0x159)],this[_0x342021(0x464)]())['toString']();return Promise[_0x342021(0x1f6)](_0xcf3cd0);}return Promise[_0x342021(0x2c7)](_0x3cf698[_0x342021(0x2a4)]);}catch(_0x47eed2){return Promise['reject'](_0x47eed2);}}async[_0x473071(0x2b7)](_0x4089cb){var _0x543058=_0x473071;let _0x504f7d='';if(!an[_0x543058(0x4be)](_0x4089cb[_0x543058(0x1ec)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x543058(0x3de)]['ERROR_IMAGE_TYPE']));if(_0x4089cb[_0x543058(0x4c0)]>on)return this[_0x543058(0x46a)](),Promise[_0x543058(0x2c7)](new Error(z[_0x543058(0x3de)][_0x543058(0x446)]));try{const _0x3bbe38=new FormData();_0x3bbe38[_0x543058(0x241)]('file',_0x4089cb);const _0x51f738=this['_univerInstanceService'][_0x543058(0x3f8)](),_0x4cb3e7=_0x51f738==null?void 0x0:_0x51f738[_0x543058(0x22c)]();if(!_0x4cb3e7)throw new Error(_0x543058(0x19c));const _0x5b1abc=this[_0x543058(0x408)]()+_0x543058(0x388)+_0x4089cb['size'][_0x543058(0x3d1)]()+_0x543058(0x4d0)+dt['UnitEmbedded']+'&assign='+encodeURIComponent(_0x4cb3e7),_0x19996c={'body':_0x3bbe38},_0x44b10e=(await this[_0x543058(0x3fb)][_0x543058(0x496)](_0x5b1abc,_0x19996c))[_0x543058(0x394)];if(typeof _0x44b10e['FileId']!=_0x543058(0x3d3))return this[_0x543058(0x46a)](),Promise['reject'](new Error(z[_0x543058(0x3de)][_0x543058(0x187)]));_0x504f7d=_0x44b10e[_0x543058(0x33e)];}catch{return this[_0x543058(0x46a)](),Promise[_0x543058(0x2c7)](new Error(z[_0x543058(0x3de)][_0x543058(0x187)]));}return new Promise((_0x4e9b5b,_0x4c2ea0)=>{var _0x402f0f=_0x543058;const _0x49fbf3=new FileReader();_0x49fbf3[_0x402f0f(0x4e4)](_0x4089cb),_0x49fbf3[_0x402f0f(0x15c)]=_0x108c18=>{var _0x55c457=_0x402f0f,_0x42b59d;const _0x25a6c6=(_0x42b59d=_0x108c18[_0x55c457(0x4d5)])==null?void 0x0:_0x42b59d['result'];if(_0x25a6c6==null){this[_0x55c457(0x46a)](),_0x4c2ea0(new Error(z[_0x55c457(0x3de)][_0x55c457(0x187)]));return;}const _0x3e9572=o[_0x55c457(0x45e)](0x6);_0x4e9b5b({'imageId':_0x3e9572,'imageSourceType':z[_0x55c457(0x381)]['UUID'],'source':_0x504f7d,'base64Cache':_0x25a6c6,'status':z['ImageUploadStatusType']['SUCCUSS']}),this[_0x55c457(0x46a)]();};});}[_0x473071(0x408)](){var _0x366c33=_0x473071,_0x5a3373;const _0x190172=this[_0x366c33(0x4c1)]['getConfig'](Y);return(_0x5a3373=_0x190172==null?void 0x0:_0x190172['uploadFileServerUrl'])!=null?_0x5a3373:cn;}['_getSignURL'](){var _0x39f5ea=_0x473071,_0x1559c2;const _0xa3be5d=this[_0x39f5ea(0x4c1)][_0x39f5ea(0x2a3)](Y);return(_0x1559c2=_0xa3be5d==null?void 0x0:_0xa3be5d[_0x39f5ea(0x2b6)])!=null?_0x1559c2:_n;}['_getDownloadEndpointURL'](){var _0xfe4970=_0x473071,_0x2aeaa5;const _0x5261d8=this[_0xfe4970(0x4c1)]['getConfig'](Y);return(_0x2aeaa5=_0x5261d8==null?void 0x0:_0x5261d8[_0xfe4970(0x2d3)])!=null?_0x2aeaa5:location[_0xfe4970(0x4a3)];}['_replaceFileID'](_0x3395d9,_0xd0b0d8){var _0x5db26c=_0x473071;return _0x3395d9[_0x5db26c(0x32a)](_0x5db26c(0x199),_0xd0b0d8);}[_0x473071(0x46a)](){var _0x7d0bf3=_0x473071;this[_0x7d0bf3(0x41c)]-=0x1,this[_0x7d0bf3(0x449)]['next'](this['_waitCount']);}},exports[_0x473071(0x3b7)]=rn([Me(0x0,o[_0x473071(0x1d0)](K['HTTPService'])),Me(0x1,o[_0x473071(0x2c2)]),Me(0x2,o['Inject'](o[_0x473071(0x4ae)]))],exports[_0x473071(0x3b7)]);var hn=Object[_0x473071(0x1c5)],ln=(_0x2679e0,_0x44006b,_0x63a5d8,_0x1977d3)=>{for(var _0x3df4aa=_0x1977d3>0x1?void 0x0:_0x1977d3?hn(_0x44006b,_0x63a5d8):_0x44006b,_0x2c31a5=_0x2679e0['length']-0x1,_0x5411aa;_0x2c31a5>=0x0;_0x2c31a5--)(_0x5411aa=_0x2679e0[_0x2c31a5])&&(_0x3df4aa=_0x5411aa(_0x3df4aa)||_0x3df4aa);return _0x3df4aa;},at=(_0x44f4e3,_0x1ce3b3)=>(_0x206651,_0x4b0e6c)=>_0x1ce3b3(_0x206651,_0x4b0e6c,_0x44f4e3);const un='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x39b462,_0x54b1c9){var _0x3adadb=_0x473071;this['_configService']=_0x39b462,this[_0x3adadb(0x36f)]=_0x54b1c9;}[_0x473071(0x3f2)](){var _0x96cead=_0x473071,_0x213ba0;const _0x8b5a6f=this[_0x96cead(0x4c1)][_0x96cead(0x2a3)](Y);return(_0x213ba0=_0x8b5a6f==null?void 0x0:_0x8b5a6f[_0x96cead(0x254)])!=null?_0x213ba0:un;}async['list'](_0x5238ee){var _0x34fc1f=_0x473071;const _0x1e7c31=this['_getAPIPrefixPath']()+_0x34fc1f(0x169);return{'list':[{'title':_0x34fc1f(0x29f),'mentions':(await this[_0x34fc1f(0x36f)]['get'](_0x1e7c31,{'params':{'objectID':_0x5238ee['unitId'],'unitID':_0x5238ee[_0x34fc1f(0x2a8)]}}))[_0x34fc1f(0x394)][_0x34fc1f(0x1ff)][_0x34fc1f(0x3fa)](_0x31749a=>({'objectId':_0x31749a['id'],'name':_0x31749a['subject'][_0x34fc1f(0x2cd)],'metadata':{'icon':_0x31749a['subject'][_0x34fc1f(0x1d5)]},'label':_0x31749a[_0x34fc1f(0x481)][_0x34fc1f(0x2cd)],'objectType':o[_0x34fc1f(0x262)][_0x34fc1f(0x3ca)]})),'metadata':{},'type':o[_0x34fc1f(0x262)][_0x34fc1f(0x3ca)]}]};}},exports[_0x473071(0x2b3)]=ln([at(0x0,o[_0x473071(0x1d0)](o[_0x473071(0x2c2)])),at(0x1,o[_0x473071(0x1d0)](K[_0x473071(0x468)]))],exports[_0x473071(0x2b3)]);var vn=Object[_0x473071(0x1c5)],dn=(_0x1393cc,_0x1264a4,_0x401df8,_0x30e250)=>{var _0x3d06c3=_0x473071;for(var _0x4a0772=_0x30e250>0x1?void 0x0:_0x30e250?vn(_0x1264a4,_0x401df8):_0x1264a4,_0x33ffcf=_0x1393cc[_0x3d06c3(0x3cb)]-0x1,_0x4b0c82;_0x33ffcf>=0x0;_0x33ffcf--)(_0x4b0c82=_0x1393cc[_0x33ffcf])&&(_0x4a0772=_0x4b0c82(_0x4a0772)||_0x4a0772);return _0x4a0772;},le=(_0x4fa6a1,_0x403d95)=>(_0x5ee4b9,_0xaa5fd5)=>_0x403d95(_0x5ee4b9,_0xaa5fd5,_0x4fa6a1);let ye=class extends o[_0x473071(0x34b)]{constructor(_0x594a2e,_0x1a537f,_0xea98d7,_0x34735d,_0x1a71db){var _0x1fe05c=_0x473071;super(),this['_injector']=_0x594a2e,this[_0x1fe05c(0x1cc)]=_0x1a537f,this[_0x1fe05c(0x2c6)]=_0xea98d7,this['_collaborationSessionService']=_0x34735d,this[_0x1fe05c(0x4c9)]=_0x1a71db,this[_0x1fe05c(0x4cd)](),this[_0x1fe05c(0x3a0)]();}[_0x473071(0x3a0)](){var _0x3c8612=_0x473071;const _0x2292a8=async _0xf4d399=>{var _0x51897a=_0x1e39;(await this['_collaborationSessionService'][_0x51897a(0x480)](_0xf4d399))[_0x51897a(0x3d2)][_0x51897a(0x34f)](V[_0x51897a(0x2da)](_0x19a249=>_0x19a249[_0x51897a(0x498)]===E[_0x51897a(0x439)][_0x51897a(0x360)]),V[_0x51897a(0x1a0)](this[_0x51897a(0x1c0)]))[_0x51897a(0x32e)](_0x4f448a=>{var _0x266407=_0x51897a;const _0x32bee4=_0x4f448a,{reason:_0xe84062}=_0x32bee4[_0x266407(0x3b3)];this[_0x266407(0x4c9)][_0x266407(0x3d5)]({'id':J[_0x266407(0x188)],'data':_0xe84062}),this[_0x266407(0x2c6)]['updatePermissionPoint'](new Q[(_0x266407(0x469))](_0xf4d399)['id'],!0x1),this[_0x266407(0x46f)]['closeSession'](_0xf4d399);});};j[_0x3c8612(0x1de)](this[_0x3c8612(0x1cc)][_0x3c8612(0x2f5)](o['UniverInstanceType']['UNIVER_SHEET']),this[_0x3c8612(0x1cc)][_0x3c8612(0x2f5)](o[_0x3c8612(0x267)][_0x3c8612(0x383)]))[_0x3c8612(0x34f)](V[_0x3c8612(0x3fa)](_0x373005=>_0x373005[_0x3c8612(0x22c)]()),V[_0x3c8612(0x2da)](_0x1e5f58=>!o['isInternalEditorID'](_0x1e5f58)),V[_0x3c8612(0x1a0)](this[_0x3c8612(0x1c0)]))[_0x3c8612(0x32e)](_0x43bdc6=>{_0x2292a8(_0x43bdc6);});}[_0x473071(0x4cd)](){var _0x117e3d=_0x473071;const _0x4334c6=async _0x49c54e=>{var _0x493ac0=_0x1e39;const _0x4dfd8d=await this[_0x493ac0(0x46f)]['requireSession'](_0x49c54e),_0x1d1dec=this[_0x493ac0(0x38c)][_0x493ac0(0x1ba)](Q[_0x493ac0(0x3ba)]);_0x4dfd8d['event$'][_0x493ac0(0x34f)](V[_0x493ac0(0x2da)](_0xdff57d=>_0xdff57d['eventID']===E[_0x493ac0(0x439)][_0x493ac0(0x25b)]),V[_0x493ac0(0x1a0)](this[_0x493ac0(0x1c0)]))[_0x493ac0(0x32e)](_0x804942=>{var _0xe18554=_0x493ac0;const _0x3c004d=_0x804942,{objectId:_0xc8fe17}=_0x3c004d[_0xe18554(0x3b3)];_0xc8fe17===_0x49c54e?_0x1d1dec[_0xe18554(0x4e5)](_0x49c54e):_0x1d1dec[_0xe18554(0x429)](_0x49c54e,_0xc8fe17);});};j[_0x117e3d(0x1de)](this[_0x117e3d(0x1cc)][_0x117e3d(0x2f5)](o[_0x117e3d(0x267)][_0x117e3d(0x378)]))[_0x117e3d(0x34f)](V[_0x117e3d(0x3fa)](_0x4223b7=>_0x4223b7['getUnitId']()),V[_0x117e3d(0x2da)](_0x506f85=>!o[_0x117e3d(0x25a)](_0x506f85)),V[_0x117e3d(0x1a0)](this['dispose$']))['subscribe'](_0x280e69=>{_0x4334c6(_0x280e69);});}};ye=dn([le(0x0,o[_0x473071(0x1d0)](o[_0x473071(0x2a5)])),le(0x1,o['IUniverInstanceService']),le(0x2,o[_0x473071(0x3f4)]),le(0x3,o[_0x473071(0x1d0)](exports[_0x473071(0x3c2)])),le(0x4,o[_0x473071(0x1d0)](ee))],ye);var Sn=Object[_0x473071(0x1c5)],In=(_0x1568be,_0x26d966,_0x4d50bd,_0x5e1bcf)=>{for(var _0x2ee5bf=_0x5e1bcf>0x1?void 0x0:_0x5e1bcf?Sn(_0x26d966,_0x4d50bd):_0x26d966,_0x43dde2=_0x1568be['length']-0x1,_0x17152d;_0x43dde2>=0x0;_0x43dde2--)(_0x17152d=_0x1568be[_0x43dde2])&&(_0x2ee5bf=_0x17152d(_0x2ee5bf)||_0x2ee5bf);return _0x2ee5bf;},ot=(_0x769d6c,_0xb45411)=>(_0xbd7133,_0x4ab092)=>_0xb45411(_0xbd7133,_0x4ab092,_0x769d6c);exports[_0x473071(0x1d3)]=class{constructor(_0x351fd0,_0x107ea6){var _0x4acc22=_0x473071;this[_0x4acc22(0x4c1)]=_0x351fd0,this[_0x4acc22(0x3fb)]=_0x107ea6;}async['getUnitOnRev'](_0x1f4623,_0x38b47c){var _0x116446=_0x473071,_0x495d3e;const {unitID:_0x733aff,type:_0x175d61,revision:_0x16ba0d=0x0}=_0x38b47c,_0x4a2991=this['getSnapshotAPIPath']()+'/'+_0x175d61+'/unit/'+_0x733aff+_0x116446(0x421)+_0x16ba0d,_0x51c4b4=(await this[_0x116446(0x3fb)][_0x116446(0x1ba)](_0x4a2991))[_0x116446(0x394)],_0x5dc2a1=(_0x495d3e=_0x51c4b4[_0x116446(0x3b5)])==null?void 0x0:_0x495d3e['workbook'];if(_0x5dc2a1){const _0x5181eb=_0x5dc2a1==null?void 0x0:_0x5dc2a1[_0x116446(0x460)],_0xf9795c=E[_0x116446(0x419)][_0x116446(0x1ca)](E['b64DecodeUnicode'](_0x5181eb));_0x5dc2a1['originalMeta']=_0xf9795c,Object['entries'](_0x5dc2a1[_0x116446(0x431)])[_0x116446(0x1e8)](([,_0x19060e])=>{var _0x2dfea9=_0x116446;const _0x29fcb8=_0x19060e[_0x2dfea9(0x460)],_0x209741=E[_0x2dfea9(0x419)][_0x2dfea9(0x1ca)](E[_0x2dfea9(0x217)](_0x29fcb8));_0x19060e[_0x2dfea9(0x460)]=_0x209741;});}return _0x51c4b4;}async[_0x473071(0x301)](_0x1e7c96,_0x28b385){var _0xc2fc58=_0x473071;const {unitID:_0x3cd138,type:_0x16386b,blockID:_0x5c1997}=_0x28b385,_0x5b50ef=this[_0xc2fc58(0x279)]()+'/'+_0x16386b+_0xc2fc58(0x427)+_0x3cd138+_0xc2fc58(0x18a)+_0x5c1997;return(await this[_0xc2fc58(0x3fb)][_0xc2fc58(0x1ba)](_0x5b50ef))[_0xc2fc58(0x394)];}async[_0x473071(0x300)](_0x4c21c6,_0x3b9ced){var _0x30b51f=_0x473071;const {unitID:_0x4befe4,type:_0x59141c,blockID:_0x3d659e}=_0x3b9ced,_0xa15f63=this['_getAPIPrefix']()+_0x30b51f(0x18a)+_0x59141c+_0x30b51f(0x427)+_0x4befe4+_0x30b51f(0x18a)+_0x3d659e;return(await this[_0x30b51f(0x3fb)]['get'](_0xa15f63))[_0x30b51f(0x394)];}async['fetchMissingChangesets'](_0xf2c0a1,_0x42f986){var _0xe0b36c=_0x473071;const {unitID:_0x310c05,type:_0x20b72f,from:_0x51e266,to:_0x2caf41}=_0x42f986,_0x545156=this['_getAPIPrefix']()+'/'+_0x20b72f+_0xe0b36c(0x427)+_0x310c05+_0xe0b36c(0x2c1)+_0x51e266+_0xe0b36c(0x4e6)+_0x2caf41;return(await this['_httpService'][_0xe0b36c(0x1ba)](_0x545156))[_0xe0b36c(0x394)];}[_0x473071(0x193)](){var _0x4cbd96=_0x473071,_0x50d28e;return(_0x50d28e=this[_0x4cbd96(0x4c1)][_0x4cbd96(0x2a3)](Ut))!=null?_0x50d28e:this[_0x4cbd96(0x279)]();}['_getAPIPrefix'](){var _0x342bee=_0x473071,_0x31b7c0;const _0x3d08dd=this[_0x342bee(0x4c1)][_0x342bee(0x2a3)](Y);return(_0x31b7c0=_0x3d08dd==null?void 0x0:_0x3d08dd['snapshotServerUrl'])!=null?_0x31b7c0:yt;}async[_0x473071(0x430)](_0x5625c9,_0x38d03c){var _0x3198bd=_0x473071;const _0x15e6b6=_0x3198bd(0x38e)+_0x38d03c[_0x3198bd(0x1ec)]+'/unit/'+_0x38d03c['unitID']+_0x3198bd(0x3f0);return(await this[_0x3198bd(0x3fb)]['get'](_0x15e6b6,{'params':{'resourceId':JSON[_0x3198bd(0x395)](_0x38d03c[_0x3198bd(0x227)])}}))[_0x3198bd(0x394)];}[_0x473071(0x202)](){var _0x3769bb=_0x473071;throw new Error(_0x3769bb(0x268));}[_0x473071(0x387)](){var _0x4ee909=_0x473071;throw new Error(_0x4ee909(0x268));}[_0x473071(0x214)](){var _0x4d2947=_0x473071;throw new Error(_0x4d2947(0x268));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x473071(0x27d)](){var _0x4dcb52=_0x473071;throw new Error(_0x4dcb52(0x268));}[_0x473071(0x219)](){var _0x21079e=_0x473071;throw new Error(_0x21079e(0x268));}},exports[_0x473071(0x1d3)]=In([ot(0x0,o['IConfigService']),ot(0x1,o['Inject'](K[_0x473071(0x468)]))],exports['SnapshotServerOverHTTPService']);var fn=Object[_0x473071(0x1c5)],En=(_0x1319c2,_0x2dd093,_0x5707ab,_0x2812f4)=>{var _0x2fa691=_0x473071;for(var _0x39b322=_0x2812f4>0x1?void 0x0:_0x2812f4?fn(_0x2dd093,_0x5707ab):_0x2dd093,_0x24a35b=_0x1319c2[_0x2fa691(0x3cb)]-0x1,_0xfa6bd4;_0x24a35b>=0x0;_0x24a35b--)(_0xfa6bd4=_0x1319c2[_0x24a35b])&&(_0x39b322=_0xfa6bd4(_0x39b322)||_0x39b322);return _0x39b322;},ue=(_0x227584,_0x44409e)=>(_0xb69996,_0x4deb65)=>_0x44409e(_0xb69996,_0x4deb65,_0x227584);exports['CollaborativeUndoRedoService']=class extends o[_0x473071(0x447)]{constructor(_0x567553,_0x1045c3,_0x2ce012,_0x3a76f9,_0x41fb9e){var _0x536584=_0x473071;super(_0x567553,_0x1045c3,_0x2ce012),this[_0x536584(0x297)]=_0x3a76f9,this[_0x536584(0x40d)]=_0x41fb9e;}[_0x473071(0x161)](_0x35c911,_0x4fa342){var _0x2aa796=_0x473071;const _0x5c794b=this['_getUndoStack'](_0x35c911);if(_0x5c794b)try{const _0x4a5f49=this[_0x2aa796(0x23e)](_0x5c794b,_0x4fa342);this['_substituteUndoStack'](_0x35c911,_0x4a5f49);}catch(_0x54cc69){this[_0x2aa796(0x40d)][_0x2aa796(0x2a4)](_0x2aa796(0x4c8),_0x54cc69),this[_0x2aa796(0x3d4)](_0x35c911);}const _0x28b09e=this[_0x2aa796(0x458)](_0x35c911);if(_0x28b09e)try{const _0xeea045=this[_0x2aa796(0x23e)](_0x28b09e,_0x4fa342);this['_substituteRedoStack'](_0x35c911,_0xeea045);}catch(_0xac7991){this['_logService'][_0x2aa796(0x2a4)](_0xac7991),this['_clearRedo'](_0x35c911);}}[_0x473071(0x3d4)](_0x2b81a6){var _0x44ae04=_0x473071;const _0x526cb4=this[_0x44ae04(0x433)](_0x2b81a6);_0x526cb4&&(_0x526cb4[_0x44ae04(0x3cb)]=0x0,this[_0x44ae04(0x2e1)]());}[_0x473071(0x2ee)](_0x358f3a){var _0x9d7bfa=_0x473071;const _0x5f1664=this['_getRedoStack'](_0x358f3a);_0x5f1664&&(_0x5f1664[_0x9d7bfa(0x3cb)]=0x0,this[_0x9d7bfa(0x2e1)]());}[_0x473071(0x486)](_0x28cb7c,_0x8345cc){var _0x33c843=_0x473071;this['_undoStacks'][_0x33c843(0x42b)](_0x28cb7c,_0x8345cc),this[_0x33c843(0x2e1)]();}[_0x473071(0x245)](_0x9a0832,_0x45cf33){var _0x44c888=_0x473071;this[_0x44c888(0x293)]['set'](_0x9a0832,_0x45cf33),this[_0x44c888(0x2e1)]();}[_0x473071(0x23e)](_0xa4dad8,_0x592d95){var _0x4a9078=_0x473071;const _0xeeabd5=[];let _0x10d737=_0x592d95,_0x34da72=_0x592d95;for(let _0x41a325=_0xa4dad8[_0x4a9078(0x3cb)]-0x1;_0x41a325>=0x0;_0x41a325--){const {unitID:_0x4eba40,undoMutations:_0x3778cd,redoMutations:_0x353985}=_0xa4dad8[_0x41a325],_0x55c1a1=this[_0x4a9078(0x297)][_0x4a9078(0x192)](_0x10d737,_0x3778cd),_0x59cade=this[_0x4a9078(0x297)][_0x4a9078(0x192)](_0x34da72,_0x353985);if(E[_0x4a9078(0x440)](_0x55c1a1)||E[_0x4a9078(0x440)](_0x59cade)){this['_logService'][_0x4a9078(0x2a4)](_0x4a9078(0x4c8),_0x4a9078(0x382),_0x55c1a1,_0x59cade);break;}_0x10d737=_0x55c1a1[_0x4a9078(0x4b8)],_0x34da72=_0x59cade[_0x4a9078(0x4b8)],_0xeeabd5[_0x4a9078(0x206)]({'unitID':_0x4eba40,'undoMutations':_0x55c1a1[_0x4a9078(0x3ef)],'redoMutations':_0x59cade[_0x4a9078(0x3ef)]});}return _0xeeabd5[_0x4a9078(0x396)]();}},exports[_0x473071(0x1ed)]=En([ue(0x0,o[_0x473071(0x4ae)]),ue(0x1,o[_0x473071(0x23a)]),ue(0x2,o[_0x473071(0x27e)]),ue(0x3,E[_0x473071(0x209)]),ue(0x4,o[_0x473071(0x1dd)])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x473071(0x389)],mn=Object[_0x473071(0x1c5)],gn=(_0x57ffc5,_0x51bb4c,_0xc1dbb3)=>_0x51bb4c in _0x57ffc5?pn(_0x57ffc5,_0x51bb4c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc1dbb3}):_0x57ffc5[_0x51bb4c]=_0xc1dbb3,Tn=(_0x5a2203,_0x430b91,_0x3e5a36,_0x429d11)=>{for(var _0x49fda1=_0x429d11>0x1?void 0x0:_0x429d11?mn(_0x430b91,_0x3e5a36):_0x430b91,_0x3bdada=_0x5a2203['length']-0x1,_0x48150d;_0x3bdada>=0x0;_0x3bdada--)(_0x48150d=_0x5a2203[_0x3bdada])&&(_0x49fda1=_0x48150d(_0x49fda1)||_0x49fda1);return _0x49fda1;},we=(_0x73c2f3,_0x396654)=>(_0x34f7d,_0x1e2173)=>_0x396654(_0x34f7d,_0x1e2173,_0x73c2f3),Cn=(_0x32acb2,_0x50917d,_0x3c17fc)=>gn(_0x32acb2,_0x50917d+'',_0x3c17fc);const On=_0x473071(0x44d);exports['UniverCollaborationClientPlugin']=class extends o['Plugin']{constructor(_0x43e762,_0x472b30,_0x22c424,_0x2e4402){var _0x50b8ae=_0x473071;super(),A(this,_0x50b8ae(0x1e9)),(this[_0x50b8ae(0x40d)]=_0x472b30,this[_0x50b8ae(0x38c)]=_0x22c424,this['_configService']=_0x2e4402);const {..._0x1b800a}=o[_0x50b8ae(0x1de)]({},Qt,_0x43e762);if(!_0x1b800a['socketService'])throw new Error(_0x50b8ae(0x316));this['_config']=_0x1b800a,this['_configService'][_0x50b8ae(0x18f)](Y,_0x1b800a);}[_0x473071(0x205)](){var _0x440c29=_0x473071;this[_0x440c29(0x222)](),this['_initDependencies']();}[_0x473071(0x222)](){var _0x4752d0=_0x473071,_0x15a78d,_0x517535;this[_0x4752d0(0x38c)][_0x4752d0(0x2dc)](o[_0x4752d0(0x445)])&&this[_0x4752d0(0x40d)][_0x4752d0(0x2a4)](_0x4752d0(0x247),_0x4752d0(0x36e));const _0x382917=o[_0x4752d0(0x3ee)]([[o[_0x4752d0(0x445)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports[_0x4752d0(0x376)]],[exports[_0x4752d0(0x452)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x4752d0(0x35f)]],[Fe,{'useClass':this[_0x4752d0(0x1e9)][_0x4752d0(0x3ce)]}],[E['ISnapshotServerService'],{'useClass':exports[_0x4752d0(0x1d3)]}],[o[_0x4752d0(0x2c0)],{'useClass':exports[_0x4752d0(0x4a4)]}],[z[_0x4752d0(0x470)],{'useClass':exports[_0x4752d0(0x3b7)]}],[o['IMentionIOService'],{'useClass':exports['MentionIoHttpService']}],[exports[_0x4752d0(0x1ee)]],[xe]],(_0x15a78d=this['_config'])==null?void 0x0:_0x15a78d[_0x4752d0(0x292)]);if(!((_0x517535=this[_0x4752d0(0x1e9)])!=null&&_0x517535[_0x4752d0(0x1bf)])){const _0x4f0b20=_0x382917['findIndex'](([_0x1bb63f])=>_0x1bb63f===ve);_0x4f0b20!==-0x1&&_0x382917[_0x4752d0(0x397)](_0x4f0b20,0x1);}o['registerDependencies'](this[_0x4752d0(0x38c)],_0x382917);}[_0x473071(0x3bc)](){var _0x39276f=_0x473071,_0x1d5305,_0x38f9d1,_0x42e847;this[_0x39276f(0x38c)]['get'](K[_0x39276f(0x468)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':K[_0x39276f(0x364)]({'maxParallel':0x6})}),(_0x1d5305=this['_config'])!=null&&_0x1d5305['enableOfflineEditing']||(_0x38f9d1=this[_0x39276f(0x38c)]['get'](q,o[_0x39276f(0x182)][_0x39276f(0x4c6)]))==null||_0x38f9d1[_0x39276f(0x2ab)](),(_0x42e847=this[_0x39276f(0x1e9)])!=null&&_0x42e847['enableAuthServer']&&o[_0x39276f(0x368)](this['_injector'],[[Ne]]),o[_0x39276f(0x368)](this[_0x39276f(0x38c)],[[De],[exports['CollaborationController']],[ye]]);}},Cn(exports[_0x473071(0x49f)],_0x473071(0x2a9),On),exports[_0x473071(0x49f)]=Tn([o[_0x473071(0x216)](E['UniverCollaborationPlugin'],K[_0x473071(0x331)]),we(0x1,o[_0x473071(0x1dd)]),we(0x2,o[_0x473071(0x1d0)](o[_0x473071(0x2a5)])),we(0x3,o[_0x473071(0x2c2)])],exports[_0x473071(0x49f)]),exports[_0x473071(0x48c)]=Y,exports[_0x473071(0x42c)]=je,exports['CollaborationUIEventId']=J,exports['CollaborationUIEventService']=ee,exports[_0x473071(0x2aa)]=$e,exports[_0x473071(0x47a)]=_t,exports[_0x473071(0x307)]=Bt,exports[_0x473071(0x3ec)]=Pt,exports[_0x473071(0x32b)]=ht,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x473071(0x34a)]=Fe,exports[_0x473071(0x4bd)]=q,exports[_0x473071(0x24d)]=pt,exports['ISingleActiveUnitService']=ve,exports[_0x473071(0x327)]=kt,exports['LOCAL_CACHE_INTERVAL_KEY']=xt,exports[_0x473071(0x49c)]=jt,exports[_0x473071(0x403)]=ut,exports[_0x473071(0x45f)]=se,exports[_0x473071(0x256)]=He,exports[_0x473071(0x450)]=mt,exports[_0x473071(0x341)]=zt,exports[_0x473071(0x15d)]=gt;
1
+ 'use strict';var _0x10f867=_0x4aec;(function(_0x5a9c39,_0x3acaa4){var _0x29f815=_0x4aec,_0x55e6c0=_0x5a9c39();while(!![]){try{var _0xa76596=parseInt(_0x29f815(0x427))/0x1+parseInt(_0x29f815(0x3fd))/0x2+-parseInt(_0x29f815(0x182))/0x3*(-parseInt(_0x29f815(0x486))/0x4)+-parseInt(_0x29f815(0x1a0))/0x5+parseInt(_0x29f815(0x39e))/0x6*(-parseInt(_0x29f815(0x30a))/0x7)+-parseInt(_0x29f815(0x47b))/0x8+parseInt(_0x29f815(0x227))/0x9*(parseInt(_0x29f815(0x1bc))/0xa);if(_0xa76596===_0x3acaa4)break;else _0x55e6c0['push'](_0x55e6c0['shift']());}catch(_0x231475){_0x55e6c0['push'](_0x55e6c0['shift']());}}}(_0x4832,0x566d6));var bt=Object[_0x10f867(0x3f5)],Rt=(_0x342f2e,_0x437a92,_0xda8bae)=>_0x437a92 in _0x342f2e?bt(_0x342f2e,_0x437a92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xda8bae}):_0x342f2e[_0x437a92]=_0xda8bae,A=(_0x1909d9,_0x3a7e89,_0x29ddf6)=>Rt(_0x1909d9,typeof _0x3a7e89!='symbol'?_0x3a7e89+'':_0x3a7e89,_0x29ddf6);Object[_0x10f867(0x3f5)](exports,Symbol[_0x10f867(0x1dd)],{'value':_0x10f867(0x18f)});function _0x4aec(_0x4d8cc3,_0x2379f2){_0x4d8cc3=_0x4d8cc3-0x17d;var _0x483208=_0x4832();var _0x4aecc0=_0x483208[_0x4d8cc3];return _0x4aecc0;}const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt='/universer-api/snapshot',Ut=_0x10f867(0x4fd),At=0x7d0,_t=_0x10f867(0x291),Pt='/universer-api/user/session-ticket',ht=_0x10f867(0x3e0),Lt=0x7530,ke=_0x10f867(0x4fb),lt=0x4e20,Mt=0x4e20,ut=_0x10f867(0x4b8),wt=0x3,xt=_0x10f867(0x37e),kt=0x3e8,$t='/universer-api/comb',Ht=_0x10f867(0x1d0),jt=_0x10f867(0x1e2),Bt=_0x10f867(0x44a);var vt=(_0x4ae1ad=>(_0x4ae1ad[_0x4ae1ad['UNDEFINED']=0x0]=_0x10f867(0x327),_0x4ae1ad[_0x4ae1ad['OK']=0x1]='OK',_0x4ae1ad[_0x4ae1ad['INTERNAL_ERROR']=0x2]=_0x10f867(0x286),_0x4ae1ad[_0x4ae1ad['PERMISSION_DENIED']=0x3]=_0x10f867(0x23f),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x506)]=0x4]=_0x10f867(0x506),_0x4ae1ad[_0x4ae1ad['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x344)]=0x6]='ALREADY_EXISTS',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x475)]=0x7]=_0x10f867(0x475),_0x4ae1ad[_0x4ae1ad['TOO_MANY_REQUESTS']=0x8]=_0x10f867(0x242),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1c5)]=0x9]=_0x10f867(0x1c5),_0x4ae1ad[_0x4ae1ad['LOGIN_FAILED']=0xa]=_0x10f867(0x18a),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x208)]=0xb]=_0x10f867(0x208),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4dd)]=0xc]=_0x10f867(0x4dd),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x264)]=0xd]=_0x10f867(0x264),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x255)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3ae)]=0xf]=_0x10f867(0x3ae),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x2f6)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x26c)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x4ae1ad[_0x4ae1ad['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3ac)]=0xc9]='USER_NOT_FOUND',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x50b)]=0xca]='USER_IS_ANONYMOUS',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x38b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4ae1ad[_0x4ae1ad['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x10f867(0x29d),_0x4ae1ad[_0x4ae1ad['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x10f867(0x1aa),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1c0)]=0x1773]=_0x10f867(0x1c0),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x275)]=0x1b59]=_0x10f867(0x275),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3fc)]=0x1b5a]=_0x10f867(0x3fc),_0x4ae1ad[_0x4ae1ad['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x10f867(0x36f),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x189)]=0x1b5c]=_0x10f867(0x189),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x484)]=0x1b5d]=_0x10f867(0x484),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1bb)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4d5)]=0x2329]=_0x10f867(0x4d5),_0x4ae1ad[_0x4ae1ad['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x10f867(0x214),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1b8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4ae1ad[_0x4ae1ad['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x10f867(0x320),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x465)]=0x232d]=_0x10f867(0x465),_0x4ae1ad[_0x4ae1ad['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x10f867(0x498),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x367)]=0x2712]=_0x10f867(0x367),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x218)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4a4)]=0x2714]=_0x10f867(0x4a4),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4dc)]=0x271a]=_0x10f867(0x4dc),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x20e)]=0x271b]=_0x10f867(0x20e),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4e0)]=0x271c]=_0x10f867(0x4e0),_0x4ae1ad[_0x4ae1ad['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x10f867(0x3ed),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4bb)]=0x271e]=_0x10f867(0x4bb),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x181)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x50d)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x26a)]=0x2af9]=_0x10f867(0x26a),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x38e)]=0x2ee1]=_0x10f867(0x38e),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x43a)]=0x2ee2]=_0x10f867(0x43a),_0x4ae1ad[_0x4ae1ad['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1b1)]=0x2ee4]=_0x10f867(0x1b1),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x308)]=0x2ee5]=_0x10f867(0x308),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x235)]=0x32c9]=_0x10f867(0x235),_0x4ae1ad[_0x4ae1ad['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x10f867(0x1e5),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x438)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x49b)]=0x36b1]=_0x10f867(0x49b),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x2b9)]=0x36b2]=_0x10f867(0x2b9),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x417)]=0x36b3]=_0x10f867(0x417),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x33e)]=0x36b4]=_0x10f867(0x33e),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3d7)]=0x36b5]=_0x10f867(0x3d7),_0x4ae1ad[_0x4ae1ad['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x10f867(0x3c5),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x309)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1cb)]=0x36b8]=_0x10f867(0x1cb),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x265)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3d6)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x48e)]=0x3717]=_0x10f867(0x48e),_0x4ae1ad[_0x4ae1ad['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x10f867(0x1f0),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x271)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4e8)]=0x3a9a]=_0x10f867(0x4e8),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x418)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x420)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x460)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x351)]=0x3a9e]=_0x10f867(0x351),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x2db)]=0x3a9f]=_0x10f867(0x2db),_0x4ae1ad[_0x4ae1ad['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x10f867(0x456),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x46d)]=-0x1]=_0x10f867(0x46d),_0x4ae1ad))(vt||{}),X=(_0x164246=>(_0x164246[_0x164246['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x164246[_0x164246[_0x10f867(0x382)]=0x1]=_0x10f867(0x382),_0x164246[_0x164246[_0x10f867(0x3bf)]=0x2]=_0x10f867(0x3bf),_0x164246[_0x164246[_0x10f867(0x4a6)]=0x3]='UNIVER_SLIDE',_0x164246[_0x164246[_0x10f867(0x48f)]=0x4]=_0x10f867(0x48f),_0x164246[_0x164246[_0x10f867(0x46d)]=-0x1]=_0x10f867(0x46d),_0x164246))(X||{}),W=(_0x460921=>(_0x460921[_0x460921[_0x10f867(0x413)]=0x0]='UNKNOWN_CMD',_0x460921[_0x460921[_0x10f867(0x229)]=0x1]='HELLO',_0x460921[_0x460921[_0x10f867(0x37b)]=0x2]='JOIN',_0x460921[_0x460921[_0x10f867(0x46e)]=0x3]='LEAVE',_0x460921[_0x460921[_0x10f867(0x343)]=0x4]='INGEST',_0x460921[_0x460921[_0x10f867(0x2a0)]=0x5]=_0x10f867(0x2a0),_0x460921[_0x460921[_0x10f867(0x38d)]=0x6]=_0x10f867(0x38d),_0x460921[_0x460921[_0x10f867(0x46d)]=-0x1]=_0x10f867(0x46d),_0x460921))(W||{}),re=(_0x3f0112=>(_0x3f0112[_0x3f0112['UNKNOWN_CODE']=0x0]=_0x10f867(0x221),_0x3f0112[_0x3f0112['OK']=0x1]='OK',_0x3f0112[_0x3f0112['FAIL']=0x2]=_0x10f867(0x4ed),_0x3f0112[_0x3f0112[_0x10f867(0x2e1)]=0x3e9]=_0x10f867(0x2e1),_0x3f0112[_0x3f0112[_0x10f867(0x2b0)]=0x3ea]=_0x10f867(0x2b0),_0x3f0112[_0x3f0112[_0x10f867(0x49a)]=0x3eb]=_0x10f867(0x49a),_0x3f0112[_0x3f0112[_0x10f867(0x4d9)]=0x3ec]=_0x10f867(0x4d9),_0x3f0112[_0x3f0112[_0x10f867(0x46d)]=-0x1]='UNRECOGNIZED',_0x3f0112))(re||{}),dt=(_0x19520a=>(_0x19520a[_0x19520a['Undefined']=0x0]=_0x10f867(0x281),_0x19520a[_0x19520a['HttpImport']=0x1]='HttpImport',_0x19520a[_0x19520a['HttpExport']=0x2]=_0x10f867(0x1f9),_0x19520a[_0x19520a[_0x10f867(0x2b1)]=0x3]='UnitEmbedded',_0x19520a[_0x19520a[_0x10f867(0x1cf)]=0x4]=_0x10f867(0x1cf),_0x19520a[_0x19520a[_0x10f867(0x233)]=0x5]=_0x10f867(0x233),_0x19520a[_0x19520a[_0x10f867(0x1a2)]=0x6]='ClipsheetFragments',_0x19520a[_0x19520a[_0x10f867(0x46d)]=-0x1]='UNRECOGNIZED',_0x19520a))(dt||{});const Ft='collaboration_new_changeset';function Vt(_0x1e4d86){var _0x367913=_0x10f867;return JSON['stringify'](_0x1e4d86)[_0x367913(0x371)];}var J=(_0x3a080c=>(_0x3a080c['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x3a080c[_0x10f867(0x23f)]=_0x10f867(0x23f),_0x3a080c['CONFLICT']='CONFLICT',_0x3a080c['CLOSE_ROOM']=_0x10f867(0x386),_0x3a080c[_0x10f867(0x1ea)]=_0x10f867(0x1ea),_0x3a080c[_0x10f867(0x3da)]=_0x10f867(0x3da),_0x3a080c[_0x10f867(0x449)]='SOCKET_FAILED',_0x3a080c[_0x10f867(0x1d6)]=_0x10f867(0x1d6),_0x3a080c))(J||{});class ee{constructor(){var _0xd59102=_0x10f867;A(this,_0xd59102(0x1e1),new j[(_0xd59102(0x1d1))]()),A(this,_0xd59102(0x48b),this['_event$'][_0xd59102(0x440)]());}['emitEvent'](_0x12d110){var _0x24f464=_0x10f867;this[_0x24f464(0x1e1)]['next'](_0x12d110);}}class $e{constructor(){var _0x249a4e=_0x10f867;A(this,_0x249a4e(0x361),new j[(_0x249a4e(0x1d1))]()),A(this,_0x249a4e(0x3c8),this[_0x249a4e(0x361)]['asObservable']());}['onCommentUpdate'](_0xf9655e){var _0x18ad8d=_0x10f867;this[_0x18ad8d(0x361)][_0x18ad8d(0x19d)](_0xf9655e);}}var Wt=Object['getOwnPropertyDescriptor'],Gt=(_0xa418,_0x33f306,_0x9b4b3a,_0x47cb5f)=>{for(var _0xab6530=_0x47cb5f>0x1?void 0x0:_0x47cb5f?Wt(_0x33f306,_0x9b4b3a):_0x33f306,_0x1198db=_0xa418['length']-0x1,_0x1593ba;_0x1198db>=0x0;_0x1198db--)(_0x1593ba=_0xa418[_0x1198db])&&(_0xab6530=_0x1593ba(_0xab6530)||_0xab6530);return _0xab6530;},Ve=(_0xc65e99,_0x24a10e)=>(_0x54bc6d,_0xade8f3)=>_0x24a10e(_0x54bc6d,_0xade8f3,_0xc65e99);exports[_0x10f867(0x215)]=class extends o[_0x10f867(0x352)]{constructor(_0x24360c,_0x122af5){var _0x452ad7=_0x10f867;super(),A(this,_0x452ad7(0x3af),new Map()),A(this,_0x452ad7(0x487),new j[(_0x452ad7(0x1d1))]()),(this['_univerInstanceService']=_0x24360c,this[_0x452ad7(0x4bd)]=_0x122af5,this[_0x452ad7(0x241)](j['merge'](this[_0x452ad7(0x497)]['getTypeOfUnitDisposed$'](o[_0x452ad7(0x2a8)][_0x452ad7(0x3bf)])[_0x452ad7(0x4e4)](V[_0x452ad7(0x25e)](_0x24255d=>_0x24255d[_0x452ad7(0x298)]())),this[_0x452ad7(0x497)]['getTypeOfUnitDisposed$'](o[_0x452ad7(0x2a8)][_0x452ad7(0x382)])[_0x452ad7(0x4e4)](V[_0x452ad7(0x25e)](_0x1b91b9=>_0x1b91b9[_0x452ad7(0x298)]())),this['_univerInstanceService'][_0x452ad7(0x3a4)](o[_0x452ad7(0x2a8)]['UNIVER_SLIDE'])['pipe'](V['map'](_0xa586f5=>_0xa586f5[_0x452ad7(0x298)]())))['subscribe'](_0x6ce59c=>this[_0x452ad7(0x2ed)](_0x6ce59c))));}['waitForRoom$'](_0x2057cf){var _0x49c494=_0x10f867;return this['_roomMembers']['has'](_0x2057cf)?j['of'](this[_0x49c494(0x3af)]['get'](_0x2057cf)):this[_0x49c494(0x487)]['pipe'](V['map'](_0x2f893b=>{var _0x21b4dc=_0x49c494;if(_0x2f893b===_0x2057cf)return this[_0x21b4dc(0x3af)][_0x21b4dc(0x433)](_0x2f893b);}));}['setCurrentUser'](_0x52e849){var _0x3a1dc5=_0x10f867;this['_userManagerService'][_0x3a1dc5(0x317)](_0x52e849);}[_0x10f867(0x250)](){var _0x50b689=_0x10f867;return this[_0x50b689(0x4bd)][_0x50b689(0x250)]();}['updateMember'](_0x48f557,_0x5d61f7){var _0x6d8f41=_0x10f867;let _0x5dcae6=this['_roomMembers'][_0x6d8f41(0x433)](_0x48f557);_0x5dcae6||(_0x5dcae6=new Yt(),this[_0x6d8f41(0x3af)]['set'](_0x48f557,_0x5dcae6),this[_0x6d8f41(0x487)][_0x6d8f41(0x19d)](_0x48f557)),_0x5dcae6[_0x6d8f41(0x3f7)](_0x5d61f7);}[_0x10f867(0x4ca)](_0x34abc8,_0x2bd193){var _0x3673e4=_0x10f867;const _0x154e6a=this['_roomMembers'][_0x3673e4(0x433)](_0x34abc8);_0x154e6a&&_0x154e6a[_0x3673e4(0x4ca)](_0x2bd193);}[_0x10f867(0x33d)](_0x5c9b97){var _0x350405=_0x10f867;return this[_0x350405(0x3af)][_0x350405(0x433)](_0x5c9b97);}[_0x10f867(0x2c2)](_0x40e6df,_0x12b06a){var _0x1b510a=_0x10f867;const _0x79fb90=this[_0x1b510a(0x3af)][_0x1b510a(0x433)](_0x40e6df);if(_0x79fb90)return _0x79fb90[_0x1b510a(0x2c2)](_0x12b06a);}[_0x10f867(0x2ed)](_0x1d6426){var _0x3c5842=_0x10f867;const _0x5f42f7=this[_0x3c5842(0x3af)][_0x3c5842(0x433)](_0x1d6426);_0x5f42f7&&(_0x5f42f7[_0x3c5842(0x3dc)](),this[_0x3c5842(0x3af)][_0x3c5842(0x458)](_0x1d6426));}[_0x10f867(0x3dc)](){var _0x4671f7=_0x10f867;this[_0x4671f7(0x3af)][_0x4671f7(0x35b)](_0x9ad1c4=>_0x9ad1c4[_0x4671f7(0x3dc)]()),this[_0x4671f7(0x3af)][_0x4671f7(0x2aa)](),this[_0x4671f7(0x487)]['complete']();}},exports[_0x10f867(0x215)]=Gt([Ve(0x0,o[_0x10f867(0x470)]),Ve(0x1,o[_0x10f867(0x225)](o[_0x10f867(0x375)]))],exports[_0x10f867(0x215)]);class Yt extends o['Disposable']{constructor(){var _0x50e83f=_0x10f867;super(...arguments),A(this,_0x50e83f(0x3b7),new Map()),A(this,_0x50e83f(0x39b),new j[(_0x50e83f(0x1da))](this[_0x50e83f(0x3b7)])),A(this,'members$',this[_0x50e83f(0x39b)][_0x50e83f(0x440)]());}['dispose'](){var _0x3c6d44=_0x10f867;this[_0x3c6d44(0x3b7)][_0x3c6d44(0x2aa)]();}[_0x10f867(0x3f7)](_0x237c6c){var _0x10c644=_0x10f867;this['_members'][_0x10c644(0x186)](_0x237c6c['memberID'],_0x237c6c),this[_0x10c644(0x46a)]();}[_0x10f867(0x4ca)](_0x5aca44){var _0x4427bf=_0x10f867;this['_members'][_0x4427bf(0x458)](_0x5aca44);}[_0x10f867(0x2c2)](_0x3bfec6){var _0x108ba9=_0x10f867;return this[_0x108ba9(0x3b7)][_0x108ba9(0x433)](_0x3bfec6);}[_0x10f867(0x35c)](){var _0x1fabe5=_0x10f867;return Array[_0x1fabe5(0x318)](this['_members']['values']());}[_0x10f867(0x46a)](){var _0x542c2b=_0x10f867;this[_0x542c2b(0x39b)][_0x542c2b(0x19d)](this[_0x542c2b(0x3b7)]);}}var Kt=Object[_0x10f867(0x509)],qt=(_0x3d3c34,_0x5e90ed,_0x5dd70e,_0xa52033)=>{var _0x516ed0=_0x10f867;for(var _0x4a91f7=_0xa52033>0x1?void 0x0:_0xa52033?Kt(_0x5e90ed,_0x5dd70e):_0x5e90ed,_0x21eaa6=_0x3d3c34[_0x516ed0(0x371)]-0x1,_0x132adb;_0x21eaa6>=0x0;_0x21eaa6--)(_0x132adb=_0x3d3c34[_0x21eaa6])&&(_0x4a91f7=_0x132adb(_0x4a91f7)||_0x4a91f7);return _0x4a91f7;},ce=(_0x102791,_0x3799b7)=>(_0x47d85d,_0x8ae634)=>_0x3799b7(_0x47d85d,_0x8ae634,_0x102791),se=(_0x21f1b5=>(_0x21f1b5[_0x21f1b5[_0x10f867(0x2c8)]=0x0]=_0x10f867(0x2c8),_0x21f1b5[_0x21f1b5[_0x10f867(0x49f)]=0x1]=_0x10f867(0x49f),_0x21f1b5[_0x21f1b5[_0x10f867(0x2ef)]=0x2]=_0x10f867(0x2ef),_0x21f1b5[_0x21f1b5[_0x10f867(0x1fb)]=0x3]='ONLINE',_0x21f1b5))(se||{});const We={[re[_0x10f867(0x4ed)]]:_0x10f867(0x399),[re[_0x10f867(0x2e1)]]:'session.room-full',[re[_0x10f867(0x2b0)]]:_0x10f867(0x3a9),[re[_0x10f867(0x49a)]]:_0x10f867(0x390),[re[_0x10f867(0x4d9)]]:_0x10f867(0x237)};exports[_0x10f867(0x362)]=class extends o['RxDisposable']{constructor(_0x13f120,_0x21861b,_0x5cbde8,_0x1a358b,_0x2306ec,_0x574c4d,_0x250626,_0x4d3f10){var _0x56359c=_0x10f867;super(),A(this,_0x56359c(0x4c2),new j[(_0x56359c(0x1da))](0x0)),A(this,_0x56359c(0x191),this[_0x56359c(0x4c2)][_0x56359c(0x440)]()),A(this,'_event$',new j[(_0x56359c(0x1d1))]()),A(this,'event$',this[_0x56359c(0x1e1)]['asObservable']()),A(this,_0x56359c(0x1d3)),A(this,_0x56359c(0x3b1)),A(this,_0x56359c(0x3ec)),A(this,_0x56359c(0x274),!0x1),A(this,_0x56359c(0x192),null),(this[_0x56359c(0x4b1)]=_0x13f120,this[_0x56359c(0x280)]=_0x5cbde8,this['_configService']=_0x1a358b,this[_0x56359c(0x1bf)]=_0x2306ec,this[_0x56359c(0x330)]=_0x574c4d,this[_0x56359c(0x336)]=_0x250626,this[_0x56359c(0x504)]=_0x4d3f10,this[_0x56359c(0x274)]=!!this[_0x56359c(0x504)],_0x21861b[_0x56359c(0x4e4)](j[_0x56359c(0x45f)](this['dispose$']))[_0x56359c(0x34a)](_0x1c8b45=>{var _0x1aaf33=_0x56359c,_0x266b77;typeof _0x1c8b45>'u'||(this[_0x1aaf33(0x1d3)]=_0x1c8b45,_0x1c8b45?(this[_0x1aaf33(0x321)](_0x1c8b45),this[_0x1aaf33(0x3b1)]=_0x1c8b45['message$'][_0x1aaf33(0x34a)](_0x56de37=>{var _0xf26d29=_0x1aaf33;_0x56de37[_0xf26d29(0x31e)]===this['_unitID']&&this[_0xf26d29(0x314)](_0x56de37);})):(this[_0x1aaf33(0x40d)](),this[_0x1aaf33(0x4c2)][_0x1aaf33(0x19d)](0x2),(_0x266b77=this[_0x1aaf33(0x3b1)])==null||_0x266b77[_0x1aaf33(0x46c)](),this[_0x1aaf33(0x3b1)]=null));}));}get['sessionStatus'](){return this['_sessionStatus$']['getValue']();}[_0x10f867(0x31f)](){var _0x2c1d37=_0x10f867,_0xb40f81,_0xf02d2b;return(_0xf02d2b=(_0xb40f81=this[_0x2c1d37(0x1d3)])==null?void 0x0:_0xb40f81[_0x2c1d37(0x1f8)])!=null?_0xf02d2b:null;}[_0x10f867(0x3dc)](){var _0x4f6b09=_0x10f867;super[_0x4f6b09(0x3dc)](),this['dispose$'][_0x4f6b09(0x19d)](),this[_0x4f6b09(0x25c)][_0x4f6b09(0x443)]();}[_0x10f867(0x293)](){var _0x202d14=_0x10f867,_0x5939c9,_0x48aa05;this[_0x202d14(0x40d)](),(_0x5939c9=this[_0x202d14(0x1d3)])==null||_0x5939c9[_0x202d14(0x47d)]({'cmd':W[_0x202d14(0x46e)],'data':{'roomID':this['_unitID']}}),(_0x48aa05=this[_0x202d14(0x1d3)])==null||_0x48aa05[_0x202d14(0x293)](),this[_0x202d14(0x1e1)]['complete'](),this['_sessionStatus$']['complete'](),this['dispose']();}['_onCombEvent'](_0x5f3b8f){var _0x3eb65a=_0x10f867;_0x5f3b8f[_0x3eb65a(0x239)]===W[_0x3eb65a(0x37b)]?this['_onJoinRoomEvent'](_0x5f3b8f):_0x5f3b8f[_0x3eb65a(0x239)]===W[_0x3eb65a(0x38d)]&&this['_onRecvEvent'](_0x5f3b8f);}[_0x10f867(0x321)](_0xea798){var _0x4ce73a=_0x10f867;this[_0x4ce73a(0x4c2)][_0x4ce73a(0x19d)](0x1),_0xea798['send']({'cmd':W['JOIN'],'routeKey':this[_0x4ce73a(0x4b1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4ce73a(0x4b1)]}]}});}[_0x10f867(0x26b)](_0x3a95d2){var _0x592220=_0x10f867,_0x24c4f6;if(_0x3a95d2[_0x592220(0x429)]in We){this['_collaborationUIEventService'][_0x592220(0x3e2)]({'id':J['JOIN_ROOM_FAILED'],'data':We[_0x3a95d2[_0x592220(0x429)]]}),this['_sessionStatus$'][_0x592220(0x19d)](0x2);return;}this[_0x592220(0x4c2)][_0x592220(0x19d)](0x3);const _0x36d0d3=(_0x24c4f6=_0x3a95d2[_0x592220(0x46b)]['roomInfos'][this[_0x592220(0x4b1)]])==null?void 0x0:_0x24c4f6[_0x592220(0x447)];_0x36d0d3&&_0x36d0d3[_0x592220(0x35b)](_0x5df9db=>this['_memberService'][_0x592220(0x3f7)](this[_0x592220(0x4b1)],_0x5df9db));}['_onRecvEvent'](_0x1714d3){var _0x5bd030=_0x10f867;try{const _0x20d9eb=_0x1714d3['data'];switch(_0x20d9eb[_0x5bd030(0x2ad)]){case E[_0x5bd030(0x481)][_0x5bd030(0x196)]:this[_0x5bd030(0x4f3)](_0x20d9eb),this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);break;case E['CollaborationEvent']['USERS_LEAVE']:this[_0x5bd030(0x485)](_0x20d9eb),this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);break;case E['CollaborationEvent'][_0x5bd030(0x36b)]:case E[_0x5bd030(0x481)][_0x5bd030(0x3b9)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x5bd030(0x1e1)]['next'](_0x20d9eb);break;case E['CollaborationEvent'][_0x5bd030(0x304)]:this['_logService'][_0x5bd030(0x3a8)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x20d9eb)),this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);break;case E['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService'][_0x5bd030(0x4cf)](_0x20d9eb['data']),this[_0x5bd030(0x1e1)]['next'](_0x20d9eb);break;default:this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);}}catch(_0x5f0e7a){this[_0x5bd030(0x280)][_0x5bd030(0x3a8)](_0x5f0e7a,_0x1714d3);}}[_0x10f867(0x4f3)](_0x381142){var _0xb302e4=_0x10f867;this[_0xb302e4(0x1bf)][_0xb302e4(0x3f7)](this[_0xb302e4(0x4b1)],_0x381142[_0xb302e4(0x46b)]);}[_0x10f867(0x485)](_0x238c81){var _0x50221c=_0x10f867;this[_0x50221c(0x1bf)][_0x50221c(0x4ca)](this[_0x50221c(0x4b1)],_0x238c81['data'][_0x50221c(0x1f8)]);}async[_0x10f867(0x47d)](_0x416802,_0xe32c99){var _0x3d7b33=_0x10f867;if(this[_0x3d7b33(0x27f)]!==0x3||!this['_socket'])throw new Error(_0x3d7b33(0x37a));try{_0x416802['eventID']===E[_0x3d7b33(0x481)][_0x3d7b33(0x1c6)]&&(this[_0x3d7b33(0x4a2)](),this[_0x3d7b33(0x502)](_0x416802)),this[_0x3d7b33(0x1d3)]['send']({'cmd':W[_0x3d7b33(0x343)],'routeKey':_0xe32c99,'routeType':'','data':_0x416802});}catch(_0x405beb){this['_logService'][_0x3d7b33(0x3a8)](_0x405beb);}}['_scheduleCollaborationTimeoutTimer'](){var _0x586c25=_0x10f867,_0x297b64;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x50c083=_0x4aec;this['_collaborationTimeoutTimer']=null,this[_0x50c083(0x336)][_0x50c083(0x3e2)]({'id':J[_0x50c083(0x1d6)]});},(_0x297b64=this[_0x586c25(0x22b)]['getConfig'](ke))!=null?_0x297b64:lt);}[_0x10f867(0x4cc)](){var _0x27cb23=_0x10f867;this[_0x27cb23(0x3ec)]&&(clearTimeout(this[_0x27cb23(0x3ec)]),this[_0x27cb23(0x3ec)]=null);}[_0x10f867(0x502)](_0xebb4b1){var _0x335bac=_0x10f867;if(!this[_0x335bac(0x274)])return;const {data:_0x388159}=_0xebb4b1,{unitID:_0x1870e5,changeset:_0x3dd21d}=_0x388159,{mutations:_0x5edb86,type:_0x323ae5}=_0x3dd21d;this['_telemetryInfo']={'unitId':_0x1870e5,'type':_0x323ae5,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x5edb86)};}[_0x10f867(0x41a)](){var _0x363794=_0x10f867;if(this[_0x363794(0x274)]){if(!this[_0x363794(0x192)]){this[_0x363794(0x280)][_0x363794(0x3a8)](_0x363794(0x3c7),_0x363794(0x360));return;}this[_0x363794(0x192)]['stopTime']=performance[_0x363794(0x1ed)](),this[_0x363794(0x192)][_0x363794(0x43c)]=this[_0x363794(0x192)][_0x363794(0x1b6)]-this[_0x363794(0x192)]['startTime'],this[_0x363794(0x504)][_0x363794(0x446)](Ft,this['_telemetryInfo']),this[_0x363794(0x192)]=null;}}[_0x10f867(0x40d)](){var _0x43c0c3=_0x10f867;this[_0x43c0c3(0x192)]=null;}},exports[_0x10f867(0x362)]=qt([ce(0x2,o[_0x10f867(0x4f6)]),ce(0x3,o[_0x10f867(0x405)]),ce(0x4,o[_0x10f867(0x225)](exports[_0x10f867(0x215)])),ce(0x5,o['Inject']($e)),ce(0x6,o[_0x10f867(0x225)](ee)),ce(0x7,o[_0x10f867(0x244)](Nt['ITelemetryService']))],exports['CollaborationSession']);const q=o[_0x10f867(0x480)](_0x10f867(0x22f));function zt(_0x10b935){return'unit-cache-'+_0x10b935;}var Xt=Object[_0x10f867(0x509)],Jt=(_0x58b66f,_0x5a717d,_0x1f678b,_0x590acd)=>{var _0x5073ec=_0x10f867;for(var _0x34be67=_0x590acd>0x1?void 0x0:_0x590acd?Xt(_0x5a717d,_0x1f678b):_0x5a717d,_0x5c0efc=_0x58b66f[_0x5073ec(0x371)]-0x1,_0x5c0b47;_0x5c0efc>=0x0;_0x5c0efc--)(_0x5c0b47=_0x58b66f[_0x5c0efc])&&(_0x34be67=_0x5c0b47(_0x34be67)||_0x34be67);return _0x34be67;},Ue=(_0x3ca1e8,_0x16ca91)=>(_0x380bd1,_0x27e0bc)=>_0x16ca91(_0x380bd1,_0x27e0bc,_0x3ca1e8);function Zt(_0x50f6c2){var _0xa10d3d=_0x10f867;const {unitID:_0x377f9c,mutations:_0xba70a7}=_0x50f6c2;return{'unitId':_0x377f9c,'subUnitId':_0xba70a7[_0xa10d3d(0x371)]>0x0?_0xba70a7[0x0][_0xa10d3d(0x32c)][_0xa10d3d(0x38f)]:null};}exports[_0x10f867(0x508)]=class{constructor(_0x3945dc,_0x10890a,_0x3e6cd2){var _0x306919=_0x10f867;this[_0x306919(0x4f8)]=_0x3945dc,this[_0x306919(0x33c)]=_0x10890a,this[_0x306919(0x276)]=_0x3e6cd2;}[_0x10f867(0x2a4)](_0x5b3be5){var _0x4f45a1=_0x10f867,_0xd86046,_0x338a6f,_0x2bdc42,_0xddfcc6;const _0x3e1410=this[_0x4f45a1(0x4f8)]['get'](Q[_0x4f45a1(0x4be)]),{unitId:_0x409013,subUnitId:_0x7ebabf}=Zt(_0x5b3be5),_0x5a85eb=_0x3e1410==null?void 0x0:_0x3e1410[_0x4f45a1(0x3aa)](_0x409013)[_0x4f45a1(0x1fc)](),_0x51077b=(_0x338a6f=(_0xd86046=this[_0x4f45a1(0x276)][_0x4f45a1(0x4c0)](_0x409013))==null?void 0x0:_0xd86046[_0x4f45a1(0x392)]())==null?void 0x0:_0x338a6f[_0x4f45a1(0x4df)]();if(_0x5a85eb[_0x4f45a1(0x371)]===0x0||!_0x409013||!_0x7ebabf)return;const _0x4de673=[{'id':Q[_0x4f45a1(0x3d8)]['id'],'params':{'unitId':_0x409013,'subUnitId':_0x51077b,'selections':o[_0x4f45a1(0x378)][_0x4f45a1(0x3d2)](_0x5a85eb)}}],_0x30a1e2=this['_transformService']['transformMutationsWithChangeset'](_0x5b3be5,_0x4de673);if(!E['isTransformMutationsWithChangesetSuccess'](_0x30a1e2))throw _0x30a1e2[_0x4f45a1(0x3a8)];const _0x74922=(_0xddfcc6=(_0x2bdc42=_0x30a1e2[_0x4f45a1(0x323)][0x0])==null?void 0x0:_0x2bdc42[_0x4f45a1(0x32c)])==null?void 0x0:_0xddfcc6['selections'];if(Array[_0x4f45a1(0x34c)](_0x74922)&&_0x74922[_0x4f45a1(0x371)]){if(_0x74922[_0x4f45a1(0x371)]===_0x4de673[0x0][_0x4f45a1(0x32c)][_0x4f45a1(0x303)]['length']&&_0x74922['every']((_0x565fac,_0x470167)=>o[_0x4f45a1(0x3b5)][_0x4f45a1(0x1cc)](_0x565fac[_0x4f45a1(0x461)],_0x4de673[0x0][_0x4f45a1(0x32c)][_0x4f45a1(0x303)][_0x470167][_0x4f45a1(0x461)])))return;this[_0x4f45a1(0x4f8)]['get'](o['ICommandService'])['executeCommand'](Q[_0x4f45a1(0x3d8)]['id'],{'unitId':_0x409013,'subUnitId':_0x51077b,'selections':_0x74922});}}},exports[_0x10f867(0x508)]=Jt([Ue(0x0,o[_0x10f867(0x225)](o['Injector'])),Ue(0x1,E[_0x10f867(0x297)]),Ue(0x2,o[_0x10f867(0x470)])],exports[_0x10f867(0x508)]);const ve=o[_0x10f867(0x480)](_0x10f867(0x45d));var He=(_0x24d22b=>(_0x24d22b[_0x24d22b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x10f867(0x3cc),_0x24d22b[_0x24d22b[_0x10f867(0x25f)]=0x1]=_0x10f867(0x25f),_0x24d22b))(He||{});const Y=_0x10f867(0x1f4),Qt={};function ei(_0x34156c){var _0x2b1384=_0x10f867,_0x385c23;return!!((_0x385c23=_0x34156c[_0x2b1384(0x32c)])!=null&&_0x385c23[_0x2b1384(0x2f1)]);}const ti=new Set([Q[_0x10f867(0x1e9)]['id']]);function Ge(_0x100e2d,_0x509e72,_0x4e4f29,_0x57829f,_0xe1a2a9){var _0x512fa6=_0x10f867,_0x1439c7,_0x3129b8,_0x59f9d7,_0x1de042;const _0xa6c0e3=[];for(const _0x5bd5b4 of _0x100e2d){if(ti[_0x512fa6(0x295)](_0x5bd5b4['id'])){if(_0xa6c0e3['length']>0x0)break;_0xa6c0e3[_0x512fa6(0x24d)](_0x5bd5b4);break;}if(ei(_0x5bd5b4)){if(_0xa6c0e3['length']>0x0)break;_0xa6c0e3[_0x512fa6(0x24d)](_0x5bd5b4);break;}_0xa6c0e3['push'](_0x5bd5b4);}const _0x261959=(_0x3129b8=(_0x1439c7=_0xe1a2a9[_0x512fa6(0x250)]())==null?void 0x0:_0x1439c7[_0x512fa6(0x21e)])!=null?_0x3129b8:_0x512fa6(0x3c1),_0x32a578=(_0x1de042=(_0x59f9d7=_0xe1a2a9[_0x512fa6(0x250)]())==null?void 0x0:_0x59f9d7[_0x512fa6(0x1f8)])!=null?_0x1de042:'unknown';return{'changeset':{'unitID':_0x509e72,'type':E[_0x512fa6(0x401)](_0x4e4f29[_0x512fa6(0x33f)](_0x509e72)),'baseRev':_0x57829f[_0x512fa6(0x1b4)](_0x509e72),'revision':0x0,'userID':_0x261959,'memberID':_0x32a578,'mutations':_0xa6c0e3},'pendingMutations':_0x100e2d['slice'](_0xa6c0e3[_0x512fa6(0x371)])};}function ii(_0x1fd442,_0x242f9d,_0x3a75aa,_0x32bcfb,_0x26978b){var _0x111441=_0x10f867,_0x51ec5f,_0x1f1024,_0x399ee8,_0x5bc248;const _0x6a4514=[_0x1fd442[_0x111441(0x364)]((_0x182cb0,_0x3bcc24)=>{var _0x298321=_0x111441,_0x36de8c;const {id:_0x4f2531}=_0x182cb0,{id:_0x4af8bd,type:_0x56c81e}=_0x3bcc24,_0x1e2059=(_0x36de8c=_0x182cb0[_0x298321(0x32c)])!=null?_0x36de8c:{'actions':null},_0x584d49=_0x3bcc24[_0x298321(0x32c)];if(_0x4f2531&&_0x4f2531!==_0x4af8bd)throw new Error(_0x298321(0x31a)+_0x4f2531+_0x298321(0x27d)+_0x4af8bd+'.');return{..._0x182cb0,'id':_0x4af8bd,'type':_0x56c81e,'params':{'unitId':_0x584d49[_0x298321(0x1fa)],'textRanges':_0x584d49[_0x298321(0x1f3)],'actions':o[_0x298321(0x403)][_0x298321(0x3b3)](_0x1e2059[_0x298321(0x2b7)],_0x584d49[_0x298321(0x2b7)])}};},{})],_0x555cc7=(_0x1f1024=(_0x51ec5f=_0x26978b[_0x111441(0x250)]())==null?void 0x0:_0x51ec5f[_0x111441(0x21e)])!=null?_0x1f1024:'unknown',_0x4af9a3=(_0x5bc248=(_0x399ee8=_0x26978b['getCurrentUser']())==null?void 0x0:_0x399ee8['memberID'])!=null?_0x5bc248:_0x111441(0x3c1);return{'changeset':{'unitID':_0x242f9d,'type':E[_0x111441(0x401)](_0x3a75aa[_0x111441(0x33f)](_0x242f9d)),'baseRev':_0x32bcfb[_0x111441(0x1b4)](_0x242f9d),'revision':0x0,'userID':_0x555cc7,'memberID':_0x4af9a3,'mutations':_0x6a4514},'pendingMutations':[]};}function St(_0x4d8e32,_0x417cd9){var _0x4e32c5=_0x10f867;const _0x411f7b=new j[(_0x4e32c5(0x2ce))](0x1);return setTimeout(()=>_0x411f7b[_0x4e32c5(0x19d)](_0x417cd9),_0x4d8e32),_0x411f7b[_0x4e32c5(0x440)]()[_0x4e32c5(0x4e4)](j['take'](0x1));}var ni=Object[_0x10f867(0x509)],ae=(_0x2304e0,_0x3803f6,_0x190445,_0x4cfbe6)=>{var _0x2727ee=_0x10f867;for(var _0x2dd550=_0x4cfbe6>0x1?void 0x0:_0x4cfbe6?ni(_0x3803f6,_0x190445):_0x3803f6,_0x329d1f=_0x2304e0[_0x2727ee(0x371)]-0x1,_0x280834;_0x329d1f>=0x0;_0x329d1f--)(_0x280834=_0x2304e0[_0x329d1f])&&(_0x2dd550=_0x280834(_0x2dd550)||_0x2dd550);return _0x2dd550;},L=(_0x37e50e,_0x336ead)=>(_0x1788a7,_0x57b3cb)=>_0x336ead(_0x1788a7,_0x57b3cb,_0x37e50e),je=(_0x462b5b=>(_0x462b5b[_0x10f867(0x4f2)]='not_collab',_0x462b5b['SYNCED']=_0x10f867(0x4b0),_0x462b5b['PENDING']=_0x10f867(0x326),_0x462b5b['AWAITING']=_0x10f867(0x3dd),_0x462b5b[_0x10f867(0x2b4)]=_0x10f867(0x32e),_0x462b5b[_0x10f867(0x4fa)]=_0x10f867(0x310),_0x462b5b[_0x10f867(0x3e6)]='conflict',_0x462b5b['OFFLINE']=_0x10f867(0x45e),_0x462b5b))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0xba21f0,_0x594add,_0x55dd4e,_0x25bfcb,_0x49a495,_0x1f8c57,_0x45b631,_0x262378,_0x2ca3d9){var _0x591c13=_0x10f867;A(this,_0x591c13(0x3b6),null),A(this,'_pendingMutations',[]),(this['unitID']=_0xba21f0,this[_0x591c13(0x19e)]=_0x594add,this[_0x591c13(0x2ff)]=_0x49a495,this[_0x591c13(0x2ee)]=_0x1f8c57,this[_0x591c13(0x44b)]=_0x45b631,this['_revisionService']=_0x262378,this[_0x591c13(0x2de)]=_0x2ca3d9,this[_0x591c13(0x3b6)]=_0x55dd4e,this[_0x591c13(0x421)]=_0x25bfcb);}[_0x10f867(0x2a3)](_0x490a6b){var _0x5e7341=_0x10f867;const _0x2c92fa=this[_0x5e7341(0x380)][_0x5e7341(0x1b4)](this[_0x5e7341(0x2cd)]);return _0x490a6b['revision']>_0x2c92fa+0x1?(this[_0x5e7341(0x2ff)][_0x5e7341(0x43e)]({'from':_0x2c92fa,'to':_0x490a6b[_0x5e7341(0x357)]-0x1}),!0x0):!0x1;}[_0x10f867(0x23d)](_0x7b0bdb){var _0x572fbd=_0x10f867;this[_0x572fbd(0x44b)][_0x572fbd(0x3a0)](this[_0x572fbd(0x2cd)],_0x7b0bdb);}[_0x10f867(0x231)](_0xf5ff22){var _0x251d95=_0x10f867,_0x28cd8e,_0x48d6ce;(_0x48d6ce=(_0x28cd8e=this[_0x251d95(0x2ff)])[_0x251d95(0x1c3)])==null||_0x48d6ce[_0x251d95(0x411)](_0x28cd8e,_0xf5ff22);}[_0x10f867(0x334)](_0x3869ae){var _0x3c5fa5=_0x10f867,_0x1e3310,_0x3f311b;return(_0x3f311b=(_0x1e3310=this[_0x3c5fa5(0x2ff)])['onTransformIME'])==null?void 0x0:_0x3f311b[_0x3c5fa5(0x411)](_0x1e3310,_0x3869ae);}[_0x10f867(0x4b9)](_0x2a11f0){var _0x172d82=_0x10f867,_0x461e2e,_0xbeba7c;return(_0xbeba7c=(_0x461e2e=this[_0x172d82(0x2ff)])[_0x172d82(0x205)])==null?void 0x0:_0xbeba7c[_0x172d82(0x411)](_0x461e2e,_0x2a11f0);}['_transformRemoteChangesetByIMECache'](_0x4a32af){var _0x226c5b=_0x10f867,_0xf11ede,_0x3e3222,_0x92c613;return(_0x92c613=(_0x3e3222=(_0xf11ede=this[_0x226c5b(0x2ff)])[_0x226c5b(0x20f)])==null?void 0x0:_0x3e3222[_0x226c5b(0x411)](_0xf11ede,_0x4a32af))!=null?_0x92c613:_0x4a32af;}[_0x10f867(0x262)](_0x577553){var _0x3913ba=_0x10f867,_0x25fbb2,_0x268da8,_0x55277b;return(_0x55277b=(_0x268da8=(_0x25fbb2=this[_0x3913ba(0x2ff)])[_0x3913ba(0x451)])==null?void 0x0:_0x268da8[_0x3913ba(0x411)](_0x25fbb2,_0x577553))!=null?_0x55277b:_0x577553;}[_0x10f867(0x3bd)](_0x5a6772){var _0x4b15c7=_0x10f867,_0x2f48a0,_0x3fe678;if(this[_0x4b15c7(0x19e)]===X[_0x4b15c7(0x382)]){const {unitID:_0x195d8f,mutations:_0x589552,memberID:_0x3642f5}=_0x5a6772,_0x1f81eb=_0x589552[_0x4b15c7(0x371)]>0x0?_0x589552[0x0][_0x4b15c7(0x32c)][_0x4b15c7(0x1f3)]:[];Array[_0x4b15c7(0x34c)](_0x1f81eb)&&_0x1f81eb[_0x4b15c7(0x371)]>0x0&&((_0x3fe678=(_0x2f48a0=this[_0x4b15c7(0x2ff)])[_0x4b15c7(0x37c)])==null||_0x3fe678[_0x4b15c7(0x411)](_0x2f48a0,{'unitID':_0x195d8f,'memberID':_0x3642f5,'textRanges':_0x1f81eb}));}}[_0x10f867(0x49e)](){var _0x2df970=_0x10f867,_0x3016f7;(_0x3016f7=this[_0x2df970(0x2de)])==null||_0x3016f7['updateOfflineData'](this['unitID'],this[_0x2df970(0x19e)],this[_0x2df970(0x3b6)],this['_pendingMutations']);}[_0x10f867(0x1d9)](){var _0x48fb49=_0x10f867;return this[_0x48fb49(0x380)]['getCurrentRevOfUnit'](this[_0x48fb49(0x2cd)]);}[_0x10f867(0x2c1)](){var _0x4d5cb4=_0x10f867;this[_0x4d5cb4(0x380)][_0x4d5cb4(0x404)](this[_0x4d5cb4(0x2cd)]);}[_0x10f867(0x1a5)](_0x42e8c4){var _0x136304=_0x10f867,_0x363555;let _0x2c471e=this[_0x136304(0x313)](_0x42e8c4);_0x2c471e=this[_0x136304(0x262)](_0x2c471e);const _0xa98e3b=o[_0x136304(0x476)](_0x2c471e[_0x136304(0x44e)],this['_commandService'],{'fromCollab':!0x0});if(!_0xa98e3b[_0x136304(0x4e3)])throw _0xa98e3b[_0x136304(0x3a8)]instanceof Error?_0xa98e3b[_0x136304(0x3a8)]:new Error((_0x363555=_0xa98e3b[_0x136304(0x3a8)])!=null?_0x363555:_0x136304(0x3a5));this[_0x136304(0x334)](_0x2c471e),this[_0x136304(0x4b9)](_0x2c471e),this[_0x136304(0x23d)](_0x42e8c4),this[_0x136304(0x231)](_0x2c471e),this['_syncEditingCollabCursor'](_0x2c471e),this[_0x136304(0x2c1)]();}}exports[_0x10f867(0x4b4)]=class extends oe{constructor(_0x362056,_0x2c8fe6,_0x3f6b7d,_0x310718,_0x32419e,_0x48147f,_0x1b1e3a,_0x201156,_0x442090,_0x145968){var _0x4d9c82=_0x10f867;super(_0x362056,_0x2c8fe6,null,[],_0x3f6b7d,_0x1b1e3a,_0x48147f,_0x310718,_0x145968),A(this,_0x4d9c82(0x224),'synced'),(this[_0x4d9c82(0x4f8)]=_0x32419e,this[_0x4d9c82(0x280)]=_0x201156,this['_transformService']=_0x442090,this[_0x4d9c82(0x426)]=_0x145968);}[_0x10f867(0x1a4)](_0x38a8e8){var _0x441d2c=_0x10f867;const _0x361337=this[_0x441d2c(0x4f8)][_0x441d2c(0x22d)](exports[_0x441d2c(0x3a1)],this['unitID'],this[_0x441d2c(0x19e)],[_0x38a8e8],this[_0x441d2c(0x2ff)]);return _0x361337['_schedule'](),_0x361337['_updateLocalCache'](),_0x361337;}[_0x10f867(0x4c3)](_0x22f1eb){var _0x4d3bfe=_0x10f867;if(this[_0x4d3bfe(0x2a3)](_0x22f1eb))return this['_injector'][_0x4d3bfe(0x22d)](exports[_0x4d3bfe(0x201)],this['unitID'],this[_0x4d3bfe(0x19e)],null,[],null,[_0x22f1eb],this['_handler']);try{const _0x5ef65b=this[_0x4d3bfe(0x33c)][_0x4d3bfe(0x4da)](_0x22f1eb,[E['EmptyMutationInfo']]);if(E[_0x4d3bfe(0x25a)](_0x5ef65b)){const {c1Prime:_0x41681a}=_0x5ef65b;return this[_0x4d3bfe(0x1a5)](_0x41681a),this;}throw _0x5ef65b[_0x4d3bfe(0x3a8)];}catch(_0xe52672){return this[_0x4d3bfe(0x280)]['error'](_0xe52672),this[_0x4d3bfe(0x416)](!0x1);}}[_0x10f867(0x416)](_0x52f9ad){var _0xa2cf4a=_0x10f867;return this[_0xa2cf4a(0x4f8)][_0xa2cf4a(0x22d)](exports[_0xa2cf4a(0x35f)],this['unitID'],this[_0xa2cf4a(0x19e)],null,[],this[_0xa2cf4a(0x2ff)],_0x52f9ad);}['onRemoteAck'](){var _0x107a61=_0x10f867;throw new Error(_0x107a61(0x1df));}[_0x10f867(0x3f8)](){var _0x4e70c2=_0x10f867;throw new Error(_0x4e70c2(0x24e));}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){var _0x5e991c=_0x10f867;return this[_0x5e991c(0x4f8)][_0x5e991c(0x22d)](exports['OfflineState'],this[_0x5e991c(0x2cd)],this[_0x5e991c(0x19e)],null,[],this[_0x5e991c(0x2ff)]);}['toggleOnline'](){return this;}[_0x10f867(0x469)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x56eeba=_0x10f867;const _0x376069=this[_0x56eeba(0x380)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x56eeba(0x43e)]({'from':_0x376069,'to':0x0}),this['_injector'][_0x56eeba(0x22d)](exports[_0x56eeba(0x201)],this[_0x56eeba(0x2cd)],this['type'],null,[],null,[],this[_0x56eeba(0x2ff)]);}},exports['SyncedState']=ae([L(0x3,o[_0x10f867(0x225)](E['RevisionService'])),L(0x4,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),L(0x5,o['IUndoRedoService']),L(0x6,o['ICommandService']),L(0x7,o['ILogService']),L(0x8,E[_0x10f867(0x297)]),L(0x9,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x4b4)]),exports[_0x10f867(0x3a1)]=class extends oe{constructor(_0x31d117,_0x5653a6,_0xc6f69c,_0x154f30,_0x5aa81f,_0x2471b4,_0xd141c8,_0xf705ff,_0x3d5c70,_0xf0d797,_0x154f14,_0xf42588,_0xfd055c,_0x1d7609){var _0xf00d36=_0x10f867;super(_0x31d117,_0x5653a6,null,_0xc6f69c,_0x154f30,_0x3d5c70,_0xfd055c,_0x2471b4,_0x1d7609),A(this,'status',_0xf00d36(0x326)),A(this,_0xf00d36(0x243),null),A(this,_0xf00d36(0x47a),null),(this['_injector']=_0x5aa81f,this[_0xf00d36(0x1bf)]=_0xd141c8,this[_0xf00d36(0x280)]=_0xf705ff,this[_0xf00d36(0x22b)]=_0xf0d797,this[_0xf00d36(0x33c)]=_0x154f14,this['_univerInstanceService']=_0xf42588);}[_0x10f867(0x1a4)](_0x267504){var _0x4768d2=_0x10f867;return this['_pendingMutations'][_0x4768d2(0x24d)](_0x267504),this[_0x4768d2(0x49e)](),this;}[_0x10f867(0x4c3)](_0x4a99a2){var _0x29f474=_0x10f867;if(this[_0x29f474(0x2a3)](_0x4a99a2))return this[_0x29f474(0x2d1)](),this['_injector'][_0x29f474(0x22d)](exports[_0x29f474(0x201)],this[_0x29f474(0x2cd)],this[_0x29f474(0x19e)],null,this['_pendingMutations'],null,[_0x4a99a2],this[_0x29f474(0x2ff)]);try{const _0x4407a2=this[_0x29f474(0x33c)][_0x29f474(0x4da)](_0x4a99a2,this[_0x29f474(0x421)]);if(E['isTransformMutationsWithChangesetSuccess'](_0x4407a2)){const {c1Prime:_0x58e1d9,m2Prime:_0x5f3b66}=_0x4407a2;this[_0x29f474(0x1a5)](_0x58e1d9);const _0x487572=this[_0x29f474(0x4f8)][_0x29f474(0x22d)](exports[_0x29f474(0x3a1)],this['unitID'],this['type'],_0x5f3b66,this['_handler']);this[_0x29f474(0x2d1)]();const _0x1ecf44=new Date()[_0x29f474(0x3ee)](),_0x162742=this['_scheduleCompleteTimestamp']?Math[_0x29f474(0x3cf)](this[_0x29f474(0x243)]-_0x1ecf44,0x0):this[_0x29f474(0x43b)]();return _0x487572['_schedule'](_0x162742),_0x487572;}throw _0x4407a2['error'];}catch(_0x1aa3ed){return this[_0x29f474(0x280)]['error'](_0x1aa3ed),this[_0x29f474(0x416)](!0x1);}}[_0x10f867(0x349)](){var _0x574f85=_0x10f867;throw new Error(_0x574f85(0x3f4));}[_0x10f867(0x3f8)](){var _0x26f90e=_0x10f867;throw new Error(_0x26f90e(0x3f3));}[_0x10f867(0x29b)](){return this;}[_0x10f867(0x4f1)](){var _0x54d6be=_0x10f867;return this['_clearScheduledTask'](),this[_0x54d6be(0x4f8)][_0x54d6be(0x22d)](exports[_0x54d6be(0x2eb)],this[_0x54d6be(0x2cd)],this[_0x54d6be(0x19e)],null,this[_0x54d6be(0x421)],this[_0x54d6be(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}[_0x10f867(0x1c9)](_0xe8b9cc){var _0xf3f18f=_0x10f867;const _0x584e47=_0xe8b9cc!=null?_0xe8b9cc:this[_0xf3f18f(0x43b)]();this[_0xf3f18f(0x243)]=new Date()['getTime']()+_0x584e47,this[_0xf3f18f(0x47a)]=setTimeout(()=>{var _0x54d679=_0xf3f18f;this['_clearScheduledTask']();let _0x386d0b=null;switch(this[_0x54d679(0x19e)]){case X[_0x54d679(0x3bf)]:{_0x386d0b=Ge(this['_pendingMutations'],this[_0x54d679(0x2cd)],this['_univerInstanceService'],this['_revisionService'],this[_0x54d679(0x1bf)]);break;}case X[_0x54d679(0x382)]:{this[_0x54d679(0x421)][_0x54d679(0x423)](_0x5e18af=>_0x5e18af['id']===ct['RichTextEditingMutation']['id'])?_0x386d0b=ii(this[_0x54d679(0x421)],this[_0x54d679(0x2cd)],this['_univerInstanceService'],this[_0x54d679(0x380)],this['_memberService']):_0x386d0b=Ge(this[_0x54d679(0x421)],this[_0x54d679(0x2cd)],this[_0x54d679(0x497)],this[_0x54d679(0x380)],this['_memberService']);break;}default:throw new Error(_0x54d679(0x425)+this[_0x54d679(0x19e)]+'\x20in\x20_schedule.');}const {changeset:_0x4fb9a6,pendingMutations:_0x26c8a2}=_0x386d0b;this[_0x54d679(0x2ff)][_0x54d679(0x30f)](_0x4fb9a6);const _0x69767e=_0x26c8a2[_0x54d679(0x371)]?this[_0x54d679(0x4f8)][_0x54d679(0x22d)](exports['AwaitingWithPendingState'],this[_0x54d679(0x2cd)],this[_0x54d679(0x19e)],_0x4fb9a6,_0x26c8a2,this[_0x54d679(0x2ff)],void 0x0):this[_0x54d679(0x4f8)][_0x54d679(0x22d)](exports[_0x54d679(0x29f)],this[_0x54d679(0x2cd)],this[_0x54d679(0x19e)],_0x4fb9a6,this['_handler']);_0x69767e['_updateLocalCache'](),this[_0x54d679(0x2ff)][_0x54d679(0x17f)](this,_0x69767e);},_0x584e47);}['_getSendChangesetTimeout'](){var _0x477eec=_0x10f867,_0x32abdd;const _0x18dae8=this[_0x477eec(0x22b)][_0x477eec(0x345)](Y);return(_0x32abdd=_0x18dae8==null?void 0x0:_0x18dae8[_0x477eec(0x1d4)])!=null?_0x32abdd:At;}[_0x10f867(0x469)](){var _0x406873=_0x10f867;throw new Error(_0x406873(0x319));}[_0x10f867(0x2d1)](){var _0x780ddf=_0x10f867;this[_0x780ddf(0x47a)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x780ddf(0x47a)]=null);}[_0x10f867(0x416)](_0xd25597){var _0x30fa14=_0x10f867;return this[_0x30fa14(0x2d1)](),this[_0x30fa14(0x4f8)][_0x30fa14(0x22d)](exports[_0x30fa14(0x35f)],this[_0x30fa14(0x2cd)],this[_0x30fa14(0x19e)],null,this[_0x30fa14(0x421)],this[_0x30fa14(0x2ff)],_0xd25597);}},exports['PendingState']=ae([L(0x4,o['Inject'](o['Injector'])),L(0x5,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0x6,o['Inject'](exports[_0x10f867(0x215)])),L(0x7,o[_0x10f867(0x4f6)]),L(0x8,o[_0x10f867(0x374)]),L(0x9,o['IConfigService']),L(0xa,E[_0x10f867(0x297)]),L(0xb,o[_0x10f867(0x470)]),L(0xc,o[_0x10f867(0x4f9)]),L(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x3a1)]),exports[_0x10f867(0x29f)]=class extends oe{constructor(_0xeba57d,_0x1d9222,_0x2f5af7,_0xfc7272,_0x2a75a7,_0x207c8d,_0x5be193,_0x37dc17,_0x4be111,_0x421320,_0x995a18){var _0x2e6315=_0x10f867;super(_0xeba57d,_0x1d9222,_0x2f5af7,[],_0xfc7272,_0x5be193,_0x421320,_0x207c8d,_0x995a18),A(this,_0x2e6315(0x224),_0x2e6315(0x3dd)),A(this,_0x2e6315(0x454),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,'_resendTimer'),A(this,_0x2e6315(0x415)),(this['_injector']=_0x2a75a7,this[_0x2e6315(0x280)]=_0x37dc17,this['_transformService']=_0x4be111);}[_0x10f867(0x1a4)](_0x1217fe){var _0x300078=_0x10f867;this[_0x300078(0x2d1)]();const _0x4fe5e1=this[_0x300078(0x4f8)][_0x300078(0x22d)](exports[_0x300078(0x4c5)],this[_0x300078(0x2cd)],this[_0x300078(0x19e)],this['_awaitingChangeset'],[_0x1217fe],this[_0x300078(0x2ff)],this['_resendTimer']);return _0x4fe5e1[_0x300078(0x49e)](),_0x4fe5e1;}['onRemoteChangeset'](_0x3bafd3){var _0x1e6ccb=_0x10f867;if(this[_0x1e6ccb(0x2a3)](_0x3bafd3))return this[_0x1e6ccb(0x2d1)](),this[_0x1e6ccb(0x4f8)][_0x1e6ccb(0x22d)](exports[_0x1e6ccb(0x201)],this[_0x1e6ccb(0x2cd)],this[_0x1e6ccb(0x19e)],this[_0x1e6ccb(0x3b6)],[],null,[_0x3bafd3],this[_0x1e6ccb(0x2ff)]);try{const _0x2a58a0=this['_transformService'][_0x1e6ccb(0x1de)]([_0x3bafd3],[this['_awaitingChangeset']],!0x1);if(E[_0x1e6ccb(0x34d)](_0x2a58a0)){const {c1Prime:_0x234b64,c2Prime:_0x289c8b}=_0x2a58a0;this[_0x1e6ccb(0x1a5)](_0x234b64[0x0]),_0x289c8b[0x0][_0x1e6ccb(0x32b)]=this[_0x1e6ccb(0x1d9)](),this[_0x1e6ccb(0x2d1)]();const _0x18a025=this[_0x1e6ccb(0x4f8)]['createInstance'](exports[_0x1e6ccb(0x29f)],this[_0x1e6ccb(0x2cd)],this[_0x1e6ccb(0x19e)],_0x289c8b[0x0],this[_0x1e6ccb(0x2ff)]);return _0x18a025['_updateLocalCache'](),_0x18a025;}return this[_0x1e6ccb(0x416)](!0x1);}catch(_0x57ca6f){return this[_0x1e6ccb(0x280)][_0x1e6ccb(0x3a8)](_0x57ca6f),this[_0x1e6ccb(0x416)](!0x1);}}[_0x10f867(0x349)](_0x17f31b){var _0x39d8ee=_0x10f867;this[_0x39d8ee(0x2d1)]();const _0x1afecd=this[_0x39d8ee(0x380)][_0x39d8ee(0x1b4)](this[_0x39d8ee(0x2cd)]);if(_0x17f31b[_0x39d8ee(0x357)]<_0x1afecd-0x1)return this;if(this[_0x39d8ee(0x2a3)](_0x17f31b))return this[_0x39d8ee(0x4f8)][_0x39d8ee(0x22d)](exports[_0x39d8ee(0x201)],this[_0x39d8ee(0x2cd)],this[_0x39d8ee(0x19e)],null,[],this[_0x39d8ee(0x3b6)],[],this[_0x39d8ee(0x2ff)]);this['_incrementRevisionNumber']();const _0x116325=this[_0x39d8ee(0x4f8)][_0x39d8ee(0x22d)](exports[_0x39d8ee(0x4b4)],this[_0x39d8ee(0x2cd)],this[_0x39d8ee(0x19e)],this[_0x39d8ee(0x2ff)]);return _0x116325[_0x39d8ee(0x49e)](),_0x116325;}[_0x10f867(0x3f8)](_0x4eaac7){var _0x4716c2=_0x10f867;return this[_0x4716c2(0x416)](!!(_0x4eaac7!=null&&_0x4eaac7[_0x4716c2(0x2f5)]));}[_0x10f867(0x29b)](_0x4e26a4){var _0x172f5d=_0x10f867;return this['_maxTotalRetryTimeout']>ft?this['toggleOffline']():(this[_0x172f5d(0x3cd)]=St(this[_0x172f5d(0x454)],{'timeout':this[_0x172f5d(0x454)],'reqId':_0x4e26a4['reqId']}),this[_0x172f5d(0x415)]=this[_0x172f5d(0x3cd)][_0x172f5d(0x34a)](({reqId:_0x3aed05,timeout:_0xb8371f})=>{this['_resendWithTimeout'](_0x3aed05,_0xb8371f);}),this);}[_0x10f867(0x4f1)](){var _0x14d9e9=_0x10f867;return this[_0x14d9e9(0x2d1)](),this[_0x14d9e9(0x4f8)][_0x14d9e9(0x22d)](exports[_0x14d9e9(0x2eb)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x14d9e9(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}[_0x10f867(0x469)](){var _0x420723=_0x10f867;this[_0x420723(0x2ff)][_0x420723(0x30f)](this[_0x420723(0x3b6)]);}[_0x10f867(0x416)](_0x21fdb4){var _0x2ef4c2=_0x10f867;return this['_clearScheduledTask'](),this[_0x2ef4c2(0x4f8)][_0x2ef4c2(0x22d)](exports[_0x2ef4c2(0x35f)],this[_0x2ef4c2(0x2cd)],this[_0x2ef4c2(0x19e)],this[_0x2ef4c2(0x3b6)],[],this[_0x2ef4c2(0x2ff)],_0x21fdb4);}[_0x10f867(0x29c)](_0x119976,_0x2dad8d){var _0x7b33e1=_0x10f867,_0x11d0ef;_0x119976===((_0x11d0ef=this[_0x7b33e1(0x3b6)])==null?void 0x0:_0x11d0ef[_0x7b33e1(0x30e)])&&(this[_0x7b33e1(0x469)](),this['_resendTimeout']=_0x2dad8d===0x0?0x3e8:Math[_0x7b33e1(0x3df)](_0x2dad8d*0x2,It),this[_0x7b33e1(0x20b)]+=this[_0x7b33e1(0x454)]);}[_0x10f867(0x2d1)](){var _0x5e410d=_0x10f867,_0x2c3e28;(_0x2c3e28=this[_0x5e410d(0x415)])==null||_0x2c3e28['unsubscribe'](),this[_0x5e410d(0x454)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x10f867(0x29f)]=ae([L(0x4,o[_0x10f867(0x225)](o['Injector'])),L(0x5,o[_0x10f867(0x225)](E['RevisionService'])),L(0x6,o[_0x10f867(0x374)]),L(0x7,o[_0x10f867(0x4f6)]),L(0x8,E[_0x10f867(0x297)]),L(0x9,o[_0x10f867(0x4f9)]),L(0xa,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x29f)]),exports[_0x10f867(0x4c5)]=class extends oe{constructor(_0xb90075,_0x23f3d4,_0x2cf6d8,_0x30fe29,_0x27a6ba,_0x3b077e,_0x2c05c5,_0x313595,_0x3c3a4c,_0x32244b,_0x376986,_0x29b01d,_0x105e68){var _0x52412c=_0x10f867;super(_0xb90075,_0x23f3d4,_0x2cf6d8,_0x30fe29,_0x27a6ba,_0x3c3a4c,_0x29b01d,_0x313595,_0x105e68),A(this,_0x52412c(0x224),'awaiting_with_pending'),A(this,'_resendTimeout',0x0),A(this,_0x52412c(0x20b),0x0),A(this,_0x52412c(0x3cd)),A(this,_0x52412c(0x415)),(this[_0x52412c(0x4f8)]=_0x2c05c5,this[_0x52412c(0x280)]=_0x32244b,this[_0x52412c(0x33c)]=_0x376986,this[_0x52412c(0x426)]=_0x105e68,_0x3b077e&&(this[_0x52412c(0x3cd)]=_0x3b077e,this['_sender']=this[_0x52412c(0x3cd)]['subscribe'](({reqId:_0x49f234,timeout:_0x1a55f1})=>{var _0x310254=_0x52412c;this[_0x310254(0x29c)](_0x49f234,_0x1a55f1);})));}[_0x10f867(0x1a4)](_0x58c2bd){var _0x413cef=_0x10f867;return this[_0x413cef(0x421)]['push'](_0x58c2bd),this;}['onRemoteChangeset'](_0x47a63d){var _0x593198=_0x10f867;if(this['_checkMissing'](_0x47a63d))return this[_0x593198(0x2d1)](),this[_0x593198(0x4f8)][_0x593198(0x22d)](exports[_0x593198(0x201)],this[_0x593198(0x2cd)],this[_0x593198(0x19e)],this[_0x593198(0x3b6)],this[_0x593198(0x421)],null,[_0x47a63d],this[_0x593198(0x2ff)]);try{const _0x4c1818=this[_0x593198(0x33c)][_0x593198(0x1de)]([_0x47a63d],[this[_0x593198(0x3b6)]],!0x1);if(E[_0x593198(0x34d)](_0x4c1818)){const {c1Prime:_0x2b2105,c2Prime:_0x1453d7}=_0x4c1818,_0x1daa05=this[_0x593198(0x33c)][_0x593198(0x4da)](_0x2b2105[0x0],this['_pendingMutations']);if(E['isTransformMutationsWithChangesetSuccess'](_0x1daa05)){const {c1Prime:_0x289a68,m2Prime:_0x219604}=_0x1daa05;return this['_executeRemoteChangeset'](_0x289a68),_0x1453d7[0x0][_0x593198(0x32b)]=this[_0x593198(0x1d9)](),this[_0x593198(0x2d1)](),this[_0x593198(0x4f8)][_0x593198(0x22d)](exports[_0x593198(0x4c5)],this[_0x593198(0x2cd)],this[_0x593198(0x19e)],_0x1453d7[0x0],_0x219604,this[_0x593198(0x2ff)],void 0x0);}throw _0x1daa05[_0x593198(0x3a8)];}throw _0x4c1818['error'];}catch(_0x3b2514){return this[_0x593198(0x280)]['error'](_0x3b2514),this[_0x593198(0x416)](!0x1);}}[_0x10f867(0x349)](_0x2633e9){var _0xe4265b=_0x10f867;if(this[_0xe4265b(0x2d1)](),this['_checkMissing'](_0x2633e9))return this[_0xe4265b(0x4f8)][_0xe4265b(0x22d)](exports[_0xe4265b(0x201)],this[_0xe4265b(0x2cd)],this[_0xe4265b(0x19e)],null,this[_0xe4265b(0x421)],this[_0xe4265b(0x3b6)],[],this[_0xe4265b(0x2ff)]);this[_0xe4265b(0x2c1)]();const _0x24300c=this[_0xe4265b(0x4f8)][_0xe4265b(0x22d)](exports[_0xe4265b(0x3a1)],this[_0xe4265b(0x2cd)],this['type'],this[_0xe4265b(0x421)],this['_handler']);return _0x24300c[_0xe4265b(0x1c9)](),_0x24300c[_0xe4265b(0x49e)](),_0x24300c;}[_0x10f867(0x3f8)](_0x1f7768){var _0x396d45=_0x10f867;return this['_onConflict'](!!(_0x1f7768!=null&&_0x1f7768[_0x396d45(0x2f5)]));}['onRemoteRetry'](_0xcedf07){var _0x338015=_0x10f867;return this[_0x338015(0x20b)]>ft?this[_0x338015(0x4f1)]():(this[_0x338015(0x3cd)]=St(this[_0x338015(0x454)],{'timeout':this[_0x338015(0x454)],'reqId':_0xcedf07['reqId']}),this[_0x338015(0x415)]=this[_0x338015(0x3cd)][_0x338015(0x34a)](({reqId:_0x2e08a5,timeout:_0x17dfc8})=>{var _0x140d85=_0x338015;this[_0x140d85(0x29c)](_0x2e08a5,_0x17dfc8);}),this);}['toggleOffline'](){var _0x44a33c=_0x10f867;return this[_0x44a33c(0x2d1)](),this[_0x44a33c(0x4f8)][_0x44a33c(0x22d)](exports[_0x44a33c(0x2eb)],this[_0x44a33c(0x2cd)],this[_0x44a33c(0x19e)],this['_awaitingChangeset'],this[_0x44a33c(0x421)],this[_0x44a33c(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}['resend'](){var _0x40f340=_0x10f867;this[_0x40f340(0x2ff)][_0x40f340(0x30f)](this[_0x40f340(0x3b6)]);}[_0x10f867(0x416)](_0x5572c6){var _0x705d49=_0x10f867;return this[_0x705d49(0x2d1)](),this['_injector'][_0x705d49(0x22d)](exports[_0x705d49(0x35f)],this[_0x705d49(0x2cd)],this['type'],null,this[_0x705d49(0x421)],this['_handler'],_0x5572c6);}['_resendWithTimeout'](_0x14bbf8,_0x314578){var _0x167cf6=_0x10f867,_0x258618;_0x14bbf8===((_0x258618=this['_awaitingChangeset'])==null?void 0x0:_0x258618['reqId'])&&(this['resend'](),this[_0x167cf6(0x454)]=_0x314578===0x0?0x3e8:Math[_0x167cf6(0x3df)](_0x314578*0x2,It),this[_0x167cf6(0x20b)]+=this[_0x167cf6(0x454)]);}[_0x10f867(0x2d1)](){var _0x2cd995=_0x10f867,_0xee28e1;(_0xee28e1=this[_0x2cd995(0x415)])==null||_0xee28e1[_0x2cd995(0x46c)](),this[_0x2cd995(0x454)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports['AwaitingWithPendingState']=ae([L(0x6,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),L(0x7,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0x8,o[_0x10f867(0x374)]),L(0x9,o[_0x10f867(0x4f6)]),L(0xa,E[_0x10f867(0x297)]),L(0xb,o['IUndoRedoService']),L(0xc,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x4c5)]),exports[_0x10f867(0x35f)]=class extends oe{constructor(_0x3f2e91,_0x36989f,_0x868323,_0x4b6672,_0x299480,_0xfcdd5=!0x1,_0x52f619,_0x342dc9,_0x1a2ea5,_0x3d5612,_0xb80cd,_0x1b218a,_0x2eae6f){var _0x52ed48=_0x10f867;super(_0x3f2e91,_0x36989f,_0x868323,_0x4b6672,_0x299480,_0x342dc9,_0x1a2ea5,_0x3d5612,_0x2eae6f),A(this,_0x52ed48(0x224),_0x52ed48(0x4cb)),(this[_0x52ed48(0x270)]=_0xfcdd5,this[_0x52ed48(0x4f0)]=_0x52f619,this['_localeService']=_0xb80cd,this[_0x52ed48(0x336)]=_0x1b218a,this['localCacheService']=_0x2eae6f,this[_0x52ed48(0x2ca)](),this[_0x52ed48(0x4a7)](),this['_disableEditing']());}[_0x10f867(0x1a4)](){return this;}[_0x10f867(0x4c3)](){return this;}[_0x10f867(0x349)](){return this;}[_0x10f867(0x3f8)](){return this;}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){return this;}['toggleOnline'](){return this;}[_0x10f867(0x469)](){var _0x1706d2=_0x10f867;throw new Error(_0x1706d2(0x4de));}['_clearLocalCache'](){var _0x198463=_0x10f867,_0x381776;(_0x381776=this[_0x198463(0x2de)])==null||_0x381776[_0x198463(0x1a8)](this['unitID'],this[_0x198463(0x19e)],null,[]);}[_0x10f867(0x2ca)](){var _0x260388=_0x10f867;this['_isPermissionRej']?this[_0x260388(0x336)][_0x260388(0x3e2)]({'id':J['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x260388(0x3e2)]({'id':J[_0x260388(0x3e6)]});}[_0x10f867(0x223)](){var _0x43d0f4=_0x10f867;this['_permissionService'][_0x43d0f4(0x2fc)](new Q[(_0x43d0f4(0x3c6))](this[_0x43d0f4(0x2cd)])['id'],!0x1);}},exports[_0x10f867(0x35f)]=ae([L(0x6,o['Inject'](o[_0x10f867(0x36a)])),L(0x7,o['ICommandService']),L(0x8,o[_0x10f867(0x4f9)]),L(0x9,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0xa,o[_0x10f867(0x225)](o[_0x10f867(0x1ac)])),L(0xb,o[_0x10f867(0x225)](ee)),L(0xc,o[_0x10f867(0x244)](q))],exports['ConflictState']),exports[_0x10f867(0x2eb)]=class extends oe{constructor(_0x1145c4,_0x5441a5,_0x10c326,_0x29bb70,_0x118721,_0x357377,_0x29df13,_0x31eb7d,_0x12eaba,_0x45c704){var _0x4f42c4=_0x10f867;super(_0x1145c4,_0x5441a5,_0x10c326,_0x29bb70,_0x118721,_0x31eb7d,_0x12eaba,_0x29df13,_0x45c704),A(this,_0x4f42c4(0x224),_0x4f42c4(0x45e)),this[_0x4f42c4(0x4f8)]=_0x357377;}['appendMutation'](_0x1efec6){var _0x166f08=_0x10f867;return this[_0x166f08(0x421)][_0x166f08(0x24d)](_0x1efec6),this['_updateLocalCache'](),this;}[_0x10f867(0x4c3)](_0x1a970c){var _0x5318cb=_0x10f867;throw new Error(_0x5318cb(0x24c));}[_0x10f867(0x349)](){var _0x4ca91b=_0x10f867;throw new Error(_0x4ca91b(0x251));}[_0x10f867(0x3f8)](){var _0x524323=_0x10f867;throw new Error(_0x524323(0x32d));}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){return this;}[_0x10f867(0x4f4)](){var _0x3f43e7=_0x10f867;const {_injector:_0x2d2a4c,_pendingMutations:_0x1186f8,_awaitingChangeset:_0x1b8d65,unitID:_0x2d5ee6,_handler:_0x4a1344,type:_0x5a3ea2}=this,_0x22fad7=Et(_0x2d2a4c,_0x2d5ee6,_0x5a3ea2,_0x1b8d65,_0x1186f8,_0x4a1344);return _0x22fad7 instanceof exports[_0x3f43e7(0x3a1)]?_0x22fad7[_0x3f43e7(0x1c9)]():(_0x22fad7 instanceof exports[_0x3f43e7(0x4c5)]||_0x22fad7 instanceof exports[_0x3f43e7(0x29f)])&&_0x22fad7[_0x3f43e7(0x469)](),_0x22fad7;}[_0x10f867(0x469)](){var _0x1b196f=_0x10f867;throw new Error(_0x1b196f(0x409));}},exports[_0x10f867(0x2eb)]=ae([L(0x5,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),L(0x6,o[_0x10f867(0x225)](E['RevisionService'])),L(0x7,o[_0x10f867(0x374)]),L(0x8,o[_0x10f867(0x4f9)]),L(0x9,o['Optional'](q))],exports['OfflineState']),exports[_0x10f867(0x201)]=class extends oe{constructor(_0x598812,_0x305c55,_0x3b6e20,_0x186093,_0x43395c,_0x13df7d,_0x2cd2af,_0x3d286d,_0x1d3381,_0x495360,_0x4acbf0,_0x54092f,_0x290bef,_0xd39896){var _0x156acc=_0x10f867;super(_0x598812,_0x305c55,_0x3b6e20,_0x186093,_0x2cd2af,_0x4acbf0,_0x54092f,_0x1d3381,_0xd39896),A(this,_0x156acc(0x224),_0x156acc(0x310)),(this[_0x156acc(0x412)]=_0x43395c,this[_0x156acc(0x1a6)]=_0x13df7d,this['_injector']=_0x3d286d,this[_0x156acc(0x280)]=_0x495360,this[_0x156acc(0x33c)]=_0x290bef,this[_0x156acc(0x426)]=_0xd39896);}[_0x10f867(0x39f)](_0x5c0452){var _0x4fa2e5=_0x10f867;try{const _0x554eb7=[..._0x5c0452,...this[_0x4fa2e5(0x1a6)]],_0x2f2446=[this['_awaitingChangeset']||this[_0x4fa2e5(0x412)]]['filter'](_0x33aa5d=>!!_0x33aa5d);let _0x32f332,_0x5d692b;if(_0x2f2446[_0x4fa2e5(0x371)]){const _0x24052f=this['_transformService'][_0x4fa2e5(0x1de)](_0x554eb7,_0x2f2446,!0x1);if(!E['isTransformChangesetsSuccess'](_0x24052f))throw _0x24052f[_0x4fa2e5(0x3a8)];_0x32f332=_0x24052f[_0x4fa2e5(0x1a3)],_0x5d692b=_0x24052f[_0x4fa2e5(0x47f)];}else _0x32f332=_0x554eb7,_0x5d692b=[];let _0x561185=this[_0x4fa2e5(0x421)];_0x32f332[_0x4fa2e5(0x35b)](_0x5b436f=>{var _0x31a1d2=_0x4fa2e5;let _0x5a94af;if(_0x561185[_0x31a1d2(0x371)]){const _0x2b9534=this['_transformService']['transformMutationsWithChangeset'](_0x5b436f,_0x561185);if(!E[_0x31a1d2(0x25a)](_0x2b9534))throw _0x2b9534[_0x31a1d2(0x3a8)];_0x5a94af=_0x2b9534['c1Prime'],_0x561185=_0x2b9534[_0x31a1d2(0x323)];}else _0x5a94af=_0x5b436f;this['_executeRemoteChangeset'](_0x5a94af);}),this[_0x4fa2e5(0x412)]&&this[_0x4fa2e5(0x2c1)](),this[_0x4fa2e5(0x3b6)]&&_0x5d692b[_0x4fa2e5(0x371)]&&(_0x5d692b[0x0][_0x4fa2e5(0x32b)]=this[_0x4fa2e5(0x1d9)]());let _0x1430e1;if(this[_0x4fa2e5(0x3b6)]&&_0x561185[_0x4fa2e5(0x371)]!==0x0)_0x1430e1=this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports[_0x4fa2e5(0x4c5)],this[_0x4fa2e5(0x2cd)],this[_0x4fa2e5(0x19e)],_0x5d692b[0x0],_0x561185,this[_0x4fa2e5(0x2ff)],void 0x0);else{if(this[_0x4fa2e5(0x3b6)]&&_0x561185[_0x4fa2e5(0x371)]===0x0)_0x5d692b[0x0][_0x4fa2e5(0x32b)]=this['_getCurrentRevision'](),_0x1430e1=this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports[_0x4fa2e5(0x29f)],this[_0x4fa2e5(0x2cd)],this[_0x4fa2e5(0x19e)],_0x5d692b[0x0],this[_0x4fa2e5(0x2ff)]);else{if(_0x561185[_0x4fa2e5(0x371)]!==0x0){const _0x5b8c04=this[_0x4fa2e5(0x4f8)]['createInstance'](exports[_0x4fa2e5(0x3a1)],this[_0x4fa2e5(0x2cd)],this[_0x4fa2e5(0x19e)],_0x561185,this[_0x4fa2e5(0x2ff)]);_0x5b8c04['_schedule'](),_0x1430e1=_0x5b8c04;}else _0x1430e1=this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports[_0x4fa2e5(0x4b4)],this['unitID'],this['type'],this[_0x4fa2e5(0x2ff)]);}}return _0x1430e1[_0x4fa2e5(0x49e)](),_0x1430e1;}catch(_0x35ddce){return this[_0x4fa2e5(0x280)][_0x4fa2e5(0x3a8)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x35ddce),this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports['ConflictState'],this['unitID'],this['type'],this[_0x4fa2e5(0x3b6)],this[_0x4fa2e5(0x421)],this['_handler'],!0x1);}}[_0x10f867(0x469)](){var _0x14255e=_0x10f867;throw new Error(_0x14255e(0x3eb));}['appendMutation'](_0x2733c4){var _0x133b3a=_0x10f867;return this['_pendingMutations'][_0x133b3a(0x24d)](_0x2733c4),this;}[_0x10f867(0x4c3)](_0x264d37){var _0x3d287c=_0x10f867;return this[_0x3d287c(0x1a6)][_0x3d287c(0x24d)](_0x264d37),this;}[_0x10f867(0x349)](_0x53de75){var _0x292876=_0x10f867;if(this[_0x292876(0x3b6)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x292876(0x3b6)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x10f867(0x3f8)](_0x4234ec){var _0x269aff=_0x10f867;return this[_0x269aff(0x416)](!!(_0x4234ec!=null&&_0x4234ec['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){var _0x401415=_0x10f867;return this[_0x401415(0x4f8)][_0x401415(0x22d)](exports[_0x401415(0x2eb)],this[_0x401415(0x2cd)],this[_0x401415(0x19e)],this[_0x401415(0x3b6)],this['_pendingMutations'],this[_0x401415(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}[_0x10f867(0x416)](_0xdcede4){var _0x380cd2=_0x10f867;return this['_injector']['createInstance'](exports[_0x380cd2(0x35f)],this[_0x380cd2(0x2cd)],this[_0x380cd2(0x19e)],this[_0x380cd2(0x3b6)],this['_pendingMutations'],this[_0x380cd2(0x2ff)],_0xdcede4);}},exports[_0x10f867(0x201)]=ae([L(0x7,o['Inject'](o[_0x10f867(0x2c4)])),L(0x8,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0x9,o[_0x10f867(0x4f6)]),L(0xa,o[_0x10f867(0x374)]),L(0xb,o['IUndoRedoService']),L(0xc,E[_0x10f867(0x297)]),L(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x201)]);function Et(_0x353952,_0x353a29,_0x546907,_0x377538,_0x15b684,_0x2702da){var _0x4dfd0f=_0x10f867;return _0x377538&&_0x15b684[_0x4dfd0f(0x371)]?_0x353952[_0x4dfd0f(0x22d)](exports[_0x4dfd0f(0x4c5)],_0x353a29,_0x546907,_0x377538,_0x15b684,_0x2702da,void 0x0):_0x377538?_0x353952['createInstance'](exports['AwaitingState'],_0x353a29,_0x546907,_0x377538,_0x2702da):_0x15b684['length']?_0x353952[_0x4dfd0f(0x22d)](exports[_0x4dfd0f(0x3a1)],_0x353a29,_0x546907,_0x15b684,_0x2702da):_0x353952[_0x4dfd0f(0x22d)](exports[_0x4dfd0f(0x4b4)],_0x353a29,_0x546907,_0x2702da);}var si=Object[_0x10f867(0x509)],Be=(_0x45bc93,_0x38ae26,_0x2bac05,_0x125592)=>{for(var _0x26e26b=_0x125592>0x1?void 0x0:_0x125592?si(_0x38ae26,_0x2bac05):_0x38ae26,_0xf0406a=_0x45bc93['length']-0x1,_0x3fdd59;_0xf0406a>=0x0;_0xf0406a--)(_0x3fdd59=_0x45bc93[_0xf0406a])&&(_0x26e26b=_0x3fdd59(_0x26e26b)||_0x26e26b);return _0x26e26b;},$=(_0x2ddda4,_0x3c09cf)=>(_0x20d7ae,_0x2e523b)=>_0x3c09cf(_0x20d7ae,_0x2e523b,_0x2ddda4);exports['CollaborationEntity']=class extends o[_0x10f867(0x2d8)]{constructor(_0x2f8cb2,_0x59e89b,_0x1a06d9,_0x2d6043,_0x414eea,_0x23184d,_0x92ded2,_0x40963e,_0x1b5be5,_0x28d081,_0x4155f9,_0x2d58dd,_0x5e179b,_0x229357){var _0x5b408f=_0x10f867;super(),A(this,_0x5b408f(0x4ee),new j[(_0x5b408f(0x1da))](null)),A(this,_0x5b408f(0x198),this[_0x5b408f(0x4ee)][_0x5b408f(0x440)]()),A(this,_0x5b408f(0x45a)),A(this,_0x5b408f(0x253),!0x1),A(this,_0x5b408f(0x2fb),''),A(this,_0x5b408f(0x2e3),0x0),A(this,_0x5b408f(0x40a),this[_0x5b408f(0x198)][_0x5b408f(0x4e4)](j[_0x5b408f(0x25e)](_0x3a6eea=>_0x3a6eea?_0x3a6eea['status']:je[_0x5b408f(0x2ef)]),j[_0x5b408f(0x1f6)](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x5b408f(0x2dc),[]),(this['unitID']=_0x2f8cb2,this[_0x5b408f(0x4bc)]=_0x59e89b,this[_0x5b408f(0x316)]=_0x1a06d9,this[_0x5b408f(0x4f8)]=_0x2d6043,this['_compressMutationService']=_0x414eea,this['_localeService']=_0x23184d,this[_0x5b408f(0x380)]=_0x92ded2,this[_0x5b408f(0x45b)]=_0x40963e,this[_0x5b408f(0x497)]=_0x1b5be5,this[_0x5b408f(0x280)]=_0x28d081,this['_commandService']=_0x4155f9,this[_0x5b408f(0x4f0)]=_0x2d58dd,this['_singleActiveUnitService']=_0x5e179b,this['_localCacheService']=_0x229357);}get[_0x10f867(0x1f1)](){var _0x331b2c=_0x10f867;return this[_0x331b2c(0x45a)];}async['init'](){var _0x42ea6d=_0x10f867;if(this[_0x42ea6d(0x1f1)])throw new Error(_0x42ea6d(0x30c));await this['_init']();}[_0x10f867(0x2af)](){var _0x16ca64=_0x10f867;return this[_0x16ca64(0x253)]=!0x0,o[_0x16ca64(0x483)](()=>{var _0x5a592f=_0x16ca64;this[_0x5a592f(0x253)]=!0x1,this[_0x5a592f(0x466)]();});}[_0x10f867(0x180)](_0x37b48a){var _0x120aee=_0x10f867;this[_0x120aee(0x359)](_0x37b48a);}[_0x10f867(0x27c)](_0x5351b0){var _0x530c80=_0x10f867;this[_0x530c80(0x45a)]=_0x5351b0,this['_state$'][_0x530c80(0x19d)](_0x5351b0);}async[_0x10f867(0x358)](){var _0x37dae4=_0x10f867,_0x3cc382;this[_0x37dae4(0x27c)](await this[_0x37dae4(0x26d)]()),this[_0x37dae4(0x492)]&&((_0x3cc382=this[_0x37dae4(0x492)])==null||_0x3cc382['editingUnit'](this['unitID']),this[_0x37dae4(0x241)](this[_0x37dae4(0x492)][_0x37dae4(0x389)](this[_0x37dae4(0x2cd)])[_0x37dae4(0x34a)](_0x22bb94=>{var _0x55bde4=_0x37dae4;this[_0x55bde4(0x280)]['debug'](_0x55bde4(0x3f1),_0x55bde4(0x1ef),_0x22bb94),_0x22bb94===He[_0x55bde4(0x25f)]?(this[_0x55bde4(0x45b)][_0x55bde4(0x3e2)]({'id':J['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x55bde4(0x2fc)](new Q[(_0x55bde4(0x3c6))](this[_0x55bde4(0x2cd)])['id'],!0x1),this[_0x55bde4(0x4f0)][_0x55bde4(0x30d)](!0x1)):(this[_0x55bde4(0x4f0)]['updatePermissionPoint'](new Q['WorkbookEditablePermission'](this[_0x55bde4(0x2cd)])['id'],!0x0),this[_0x55bde4(0x4f0)][_0x55bde4(0x30d)](!0x0));})));let _0x1ce194=!0x1;return this[_0x37dae4(0x241)](this[_0x37dae4(0x4bc)][_0x37dae4(0x191)][_0x37dae4(0x34a)](_0x3b43ca=>{var _0x49887b=_0x37dae4;_0x3b43ca===se[_0x49887b(0x1fb)]?this[_0x49887b(0x431)](_0x1ce194):_0x3b43ca===se[_0x49887b(0x2ef)]&&(_0x1ce194=!0x0,this['_toggleOffline']());})),this[_0x37dae4(0x241)](this[_0x37dae4(0x4bc)][_0x37dae4(0x48b)][_0x37dae4(0x34a)](_0x3bcafe=>{var _0x38872f=_0x37dae4;try{switch(_0x3bcafe[_0x38872f(0x2ad)]){case E[_0x38872f(0x481)][_0x38872f(0x478)]:{this[_0x38872f(0x2fd)](E[_0x38872f(0x331)](_0x3bcafe[_0x38872f(0x46b)]));break;}case E[_0x38872f(0x481)][_0x38872f(0x36b)]:{this[_0x38872f(0x259)](_0x3bcafe[_0x38872f(0x46b)]);break;}case E[_0x38872f(0x481)][_0x38872f(0x3e8)]:{this['_onRemoteRejected']();break;}case E[_0x38872f(0x481)][_0x38872f(0x3b9)]:{this[_0x38872f(0x300)](_0x3bcafe[_0x38872f(0x46b)]);break;}case E['CollaborationEvent'][_0x38872f(0x3d3)]:{this[_0x38872f(0x381)](_0x3bcafe[_0x38872f(0x46b)]['changesets'][_0x38872f(0x25e)](_0x151701=>E['parseProtocolChangeset'](_0x151701)));break;}case E[_0x38872f(0x481)][_0x38872f(0x2fa)]:{this[_0x38872f(0x2c7)]({'isPermissionRej':!0x0});break;}case E['CollaborationEvent'][_0x38872f(0x36d)]:break;}}catch(_0x69a6d8){throw console[_0x38872f(0x3a8)](_0x38872f(0x3d5),_0x69a6d8),_0x69a6d8;}})),this[_0x37dae4(0x45a)];}[_0x10f867(0x1ca)](){var _0x25f56e=_0x10f867;this[_0x25f56e(0x2e0)]=!0x1;}[_0x10f867(0x4c9)](){var _0x2c01ed=_0x10f867;if(this['_transitionLocked'])throw new Error(_0x2c01ed(0x398));this[_0x2c01ed(0x2e0)]=!0x0;}[_0x10f867(0x359)](_0xf01d68){var _0x308e6e=_0x10f867;this['_lockTransition'](),this[_0x308e6e(0x27c)](this['_state'][_0x308e6e(0x1a4)](_0xf01d68)),this['_unlockTransition']();}[_0x10f867(0x2fd)](_0x12b175){var _0x3fbb90=_0x10f867;if(!(_0x12b175[_0x3fbb90(0x357)]<=this[_0x3fbb90(0x380)][_0x3fbb90(0x1b4)](this['unitID']))){if(this[_0x3fbb90(0x253)]){this['_remoteChangesetQueue']['push'](_0x12b175);return;}this[_0x3fbb90(0x2a9)](_0x12b175);}}['_exhaustRemoteChangesetQueue'](){var _0x5ebb8b=_0x10f867;this[_0x5ebb8b(0x2dc)]['forEach'](_0x116ef8=>this[_0x5ebb8b(0x2a9)](_0x116ef8)),this[_0x5ebb8b(0x2dc)]=[];}[_0x10f867(0x2a9)](_0x5f4ac7){var _0x5bc390=_0x10f867;const _0x24f36e=this[_0x5bc390(0x507)][_0x5bc390(0x428)][_0x5bc390(0x2c5)](this[_0x5bc390(0x507)][_0x5bc390(0x428)][_0x5bc390(0x44c)]()[_0x5bc390(0x2df)])(_0x5f4ac7[_0x5bc390(0x44e)],null)||_0x5f4ac7['mutations'],_0x20cc64={..._0x5f4ac7,'mutations':_0x24f36e};this[_0x5bc390(0x4c9)](),this['_updateState'](this['_state'][_0x5bc390(0x4c3)](_0x20cc64)),this[_0x5bc390(0x1ca)]();}['_onRemoteACK'](_0x184900){var _0x11a736=_0x10f867;this[_0x11a736(0x4c9)](),this[_0x11a736(0x27c)](this[_0x11a736(0x45a)]['onRemoteAck'](_0x184900)),this[_0x11a736(0x1ca)]();}[_0x10f867(0x2c7)](_0x2ea69b){var _0x5c7f5a=_0x10f867;this['_lockTransition'](),this[_0x5c7f5a(0x27c)](this['_state'][_0x5c7f5a(0x3f8)](_0x2ea69b)),this[_0x5c7f5a(0x1ca)]();}[_0x10f867(0x300)](_0x3aaa67){var _0x4659e3=_0x10f867;this[_0x4659e3(0x4c9)](),this[_0x4659e3(0x27c)](this[_0x4659e3(0x45a)]['onRemoteRetry'](_0x3aaa67)),this[_0x4659e3(0x1ca)]();}[_0x10f867(0x381)](_0x20fae3){var _0x55ebdd=_0x10f867;if(!(this['_state']instanceof exports[_0x55ebdd(0x201)]))throw new TypeError(_0x55ebdd(0x252));const _0x465754=_0x20fae3['map'](_0x32a127=>{var _0x1b8732=_0x55ebdd;const _0x51d3d9=this[_0x1b8732(0x507)][_0x1b8732(0x428)]['fetchThroughInterceptors'](this[_0x1b8732(0x507)]['interceptor'][_0x1b8732(0x44c)]()[_0x1b8732(0x2df)])(_0x32a127[_0x1b8732(0x44e)],null)||_0x32a127[_0x1b8732(0x44e)];return{..._0x32a127,'mutations':_0x51d3d9};});this['_lockTransition'](),this[_0x55ebdd(0x27c)](this[_0x55ebdd(0x45a)][_0x55ebdd(0x39f)](_0x465754)),this[_0x55ebdd(0x1ca)]();}[_0x10f867(0x42a)](){var _0x3590ee=_0x10f867;this[_0x3590ee(0x4c9)](),this[_0x3590ee(0x27c)](this[_0x3590ee(0x45a)][_0x3590ee(0x4f1)]()),this[_0x3590ee(0x1ca)]();}[_0x10f867(0x431)](_0x469ce2=!0x1){var _0x1efab6=_0x10f867;this[_0x1efab6(0x4c9)](),this['_updateState'](this['_state'][_0x1efab6(0x4f4)]()),this['_unlockTransition']();const _0x29d0c8=this[_0x1efab6(0x45a)];_0x469ce2&&_0x29d0c8 instanceof exports[_0x1efab6(0x4b4)]&&(this[_0x1efab6(0x4c9)](),this[_0x1efab6(0x27c)](_0x29d0c8[_0x1efab6(0x273)]()),this[_0x1efab6(0x1ca)]());}async[_0x10f867(0x26d)](){return new Promise(_0xf06c9d=>{var _0x27d0fd=_0x4aec;this[_0x27d0fd(0x4bc)][_0x27d0fd(0x191)]['pipe'](j[_0x27d0fd(0x257)](0x1))['subscribe'](async _0x9825f7=>{var _0x507d21=_0x27d0fd;_0xf06c9d(await this[_0x507d21(0x406)](_0x9825f7===se['ONLINE']));});});}[_0x10f867(0x190)](){var _0x9584f1=_0x10f867;const _0x2f00cc=this[_0x9584f1(0x2cd)];return{'onStateChange':(_0x23fe47,_0x4bf45a)=>{var _0x267181=_0x9584f1;if(_0x23fe47!==this[_0x267181(0x45a)])throw new Error(_0x267181(0x22e)+_0x23fe47[_0x267181(0x224)]+_0x267181(0x3bc)+_0x4bf45a[_0x267181(0x224)]+_0x267181(0x211)+this['_state']['status']);this['_updateState'](_0x4bf45a);},'onSendChangeset':_0x426e08=>{var _0x221e24=_0x9584f1;_0x426e08[_0x221e24(0x19a)]||(_0x426e08[_0x221e24(0x19a)]=this[_0x221e24(0x2fb)],_0x426e08[_0x221e24(0x30e)]=++this[_0x221e24(0x2e3)]);const _0x479aee={'eventID':E[_0x221e24(0x481)][_0x221e24(0x1c6)],'data':{'unitID':_0x426e08[_0x221e24(0x2cd)],'unitType':this[_0x221e24(0x316)],'changeset':_0x426e08,'memberID':this[_0x221e24(0x4bc)][_0x221e24(0x31f)]()}};this[_0x221e24(0x4bc)][_0x221e24(0x47d)](_0x479aee,this[_0x221e24(0x2cd)]);},'onMissingChangesets':({from:_0x1d726f,to:_0x94d2a0})=>{var _0xa655a5=_0x9584f1;this[_0xa655a5(0x280)][_0xa655a5(0x47e)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x1d726f+'\x20to\x20'+_0x94d2a0);const _0x343d05={'eventID':E[_0xa655a5(0x481)][_0xa655a5(0x25d)],'data':{'unitID':_0x2f00cc,'unitType':this[_0xa655a5(0x316)],'from':_0x1d726f,'to':_0x94d2a0}};this[_0xa655a5(0x4bc)][_0xa655a5(0x47d)](_0x343d05,this[_0xa655a5(0x2cd)]);}};}async[_0x10f867(0x406)](_0x50894f){var _0x5a6b37=_0x10f867,_0x3d749f,_0x4ee8df,_0x2ba7a8;const _0x4b84cb=await((_0x3d749f=this[_0x5a6b37(0x2de)])==null?void 0x0:_0x3d749f['loadOfflineData'](this[_0x5a6b37(0x2cd)])),_0x24deab=(_0x4ee8df=_0x4b84cb==null?void 0x0:_0x4b84cb[_0x5a6b37(0x44e)])!=null?_0x4ee8df:[],_0x31b217=(_0x2ba7a8=_0x4b84cb==null?void 0x0:_0x4b84cb['awaitingChangeset'])!=null?_0x2ba7a8:null,_0x4bd2c9=!!(_0x31b217!=null&&_0x31b217[_0x5a6b37(0x19a)])&&!!(_0x31b217!=null&&_0x31b217[_0x5a6b37(0x30e)]);this[_0x5a6b37(0x2fb)]=_0x4bd2c9?_0x31b217['sid']:E[_0x5a6b37(0x2e9)](),this[_0x5a6b37(0x2e3)]=_0x4bd2c9?_0x31b217[_0x5a6b37(0x30e)]:0x0;const _0x87c010=this['unitID'];try{this[_0x5a6b37(0x48a)](_0x31b217,_0x24deab);}catch(_0x3ed0cd){this[_0x5a6b37(0x280)][_0x5a6b37(0x3a8)](_0x3ed0cd);}const _0x82249e=this[_0x5a6b37(0x190)]();if(_0x50894f){const _0xb87a26=Et(this['_injector'],_0x87c010,this['_type'],_0x31b217,_0x24deab,_0x82249e);return _0xb87a26 instanceof exports[_0x5a6b37(0x3a1)]?_0xb87a26[_0x5a6b37(0x1c9)]():(_0xb87a26 instanceof exports['AwaitingWithPendingState']||_0xb87a26 instanceof exports[_0x5a6b37(0x29f)])&&_0xb87a26[_0x5a6b37(0x469)](),_0xb87a26;}return this['_injector']['createInstance'](exports[_0x5a6b37(0x2eb)],_0x87c010,this['_type'],_0x31b217,_0x24deab,_0x82249e);}[_0x10f867(0x48a)](_0x2762a4,_0x3861e9){var _0xe1abab=_0x10f867,_0x3b939d,_0x469e66;const _0x117d23=this[_0xe1abab(0x507)][_0xe1abab(0x428)][_0xe1abab(0x2c5)](this['_compressMutationService']['interceptor'][_0xe1abab(0x44c)]()['COMPRESS_MUTATION_APPLY']);(_0x3b939d=_0x117d23((_0x2762a4==null?void 0x0:_0x2762a4[_0xe1abab(0x44e)])||[],null))==null||_0x3b939d['forEach'](_0x531dda=>this[_0xe1abab(0x2ee)][_0xe1abab(0x238)](_0x531dda['id'],_0x531dda[_0xe1abab(0x32c)])),(_0x469e66=_0x117d23(_0x3861e9||[],null))==null||_0x469e66[_0xe1abab(0x35b)](_0x13c95b=>this['_commandService'][_0xe1abab(0x238)](_0x13c95b['id'],_0x13c95b[_0xe1abab(0x32c)]));}},exports[_0x10f867(0x30b)]=Be([$(0x3,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),$(0x4,o[_0x10f867(0x225)](E[_0x10f867(0x23c)])),$(0x5,o[_0x10f867(0x225)](o[_0x10f867(0x1ac)])),$(0x6,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x10f867(0x470)]),$(0x9,o[_0x10f867(0x4f6)]),$(0xa,o[_0x10f867(0x374)]),$(0xb,o[_0x10f867(0x36a)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x30b)]),exports[_0x10f867(0x22a)]=class extends exports[_0x10f867(0x30b)]{constructor(_0x4039a9,_0x42db52,_0x5a0b25,_0x2187b8,_0x303e57,_0x788d1d,_0x19924a,_0x32533f,_0x5780f8,_0x57a1f9,_0x45bfeb,_0x7cb195,_0x360067,_0x55e0f0){var _0x2a3274=_0x10f867;super(_0x4039a9,_0x5a0b25,_0x42db52,_0x2187b8,_0x303e57,_0x788d1d,_0x19924a,_0x32533f,_0x5780f8,_0x57a1f9,_0x45bfeb,_0x7cb195,_0x360067,_0x55e0f0),A(this,_0x2a3274(0x294),null),(this[_0x2a3274(0x2cd)]=_0x4039a9,this[_0x2a3274(0x19e)]=_0x42db52);}[_0x10f867(0x3c4)](_0x256483){this['_handlerCallback']=_0x256483;}[_0x10f867(0x3dc)](){var _0x4a7bee=_0x10f867;this[_0x4a7bee(0x294)]=null,super['dispose']();}[_0x10f867(0x190)](){var _0x3b079b=_0x10f867;const _0xe3a028=super[_0x3b079b(0x190)]();return _0xe3a028[_0x3b079b(0x184)]=_0x2e36ad=>{var _0x5ab5a3=_0x3b079b,_0x39fb51,_0xf176f2;return(_0xf176f2=(_0x39fb51=this[_0x5ab5a3(0x294)])==null?void 0x0:_0x39fb51[_0x5ab5a3(0x184)])==null?void 0x0:_0xf176f2['call'](_0x39fb51,_0x2e36ad);},_0xe3a028[_0x3b079b(0x205)]=_0x47a31a=>{var _0x5882f0=_0x3b079b,_0xcbd51b,_0x3ecc46;return(_0x3ecc46=(_0xcbd51b=this[_0x5882f0(0x294)])==null?void 0x0:_0xcbd51b['onTransformState'])==null?void 0x0:_0x3ecc46[_0x5882f0(0x411)](_0xcbd51b,_0x47a31a);},_0xe3a028['onTransformSelections']=_0x4489ae=>{var _0xec328e=_0x3b079b,_0x327f93,_0xe74912;return(_0xe74912=(_0x327f93=this[_0xec328e(0x294)])==null?void 0x0:_0x327f93[_0xec328e(0x1c3)])==null?void 0x0:_0xe74912[_0xec328e(0x411)](_0x327f93,_0x4489ae);},_0xe3a028['onSyncEditingCollabCursor']=_0x207d87=>{var _0x58db80=_0x3b079b,_0x1976d9,_0x5acaf0;return(_0x5acaf0=(_0x1976d9=this[_0x58db80(0x294)])==null?void 0x0:_0x1976d9[_0x58db80(0x37c)])==null?void 0x0:_0x5acaf0['call'](_0x1976d9,_0x207d87);},_0xe3a028[_0x3b079b(0x20f)]=_0x5d8305=>{var _0x3ed380=_0x3b079b,_0x508b48,_0x4564c9,_0x4ee819;if(!((_0x508b48=this['_handlerCallback'])!=null&&_0x508b48[_0x3ed380(0x20f)]))throw new Error(_0x3ed380(0x435));return(_0x4ee819=(_0x4564c9=this[_0x3ed380(0x294)])==null?void 0x0:_0x4564c9['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4ee819[_0x3ed380(0x411)](_0x4564c9,_0x5d8305);},_0xe3a028[_0x3b079b(0x451)]=_0x4e03a7=>{var _0x20cedb=_0x3b079b,_0x33f9ca,_0x58ea88,_0x484968;if(!((_0x33f9ca=this[_0x20cedb(0x294)])!=null&&_0x33f9ca['onTransformRemoteChangesetByStateCache']))throw new Error(_0x20cedb(0x4ce));return(_0x484968=(_0x58ea88=this[_0x20cedb(0x294)])==null?void 0x0:_0x58ea88[_0x20cedb(0x451)])==null?void 0x0:_0x484968[_0x20cedb(0x411)](_0x58ea88,_0x4e03a7);},_0xe3a028;}async['_init'](){var _0x54335f=_0x10f867;const _0x1176ef=await super['_init']();return this[_0x54335f(0x241)](this['_commandService'][_0x54335f(0x4c8)]((_0x5a6aaa,_0x4b9117)=>{var _0x4d4dea=_0x54335f;if(_0x5a6aaa[_0x4d4dea(0x19e)]!==o['CommandType']['MUTATION']||_0x4b9117!=null&&_0x4b9117['fromCollab']||_0x4b9117!=null&&_0x4b9117[_0x4d4dea(0x24a)]||_0x5a6aaa['id']===ct[_0x4d4dea(0x31c)]['id'])return;const _0x24e786=_0x5a6aaa[_0x4d4dea(0x32c)];if((_0x24e786==null?void 0x0:_0x24e786[_0x4d4dea(0x1fa)])!==this[_0x4d4dea(0x2cd)])return;const _0x55de6d=_0x5a6aaa,_0x2dac5f=this[_0x4d4dea(0x507)]['interceptor'][_0x4d4dea(0x2c5)](this[_0x4d4dea(0x507)][_0x4d4dea(0x428)][_0x4d4dea(0x44c)]()[_0x4d4dea(0x36e)])([_0x55de6d],this[_0x4d4dea(0x497)])||[_0x55de6d];this[_0x4d4dea(0x359)](_0x2dac5f[0x0]);})),_0x1176ef;}},exports[_0x10f867(0x22a)]=Be([$(0x3,o[_0x10f867(0x225)](o['Injector'])),$(0x4,o[_0x10f867(0x225)](E['CompressMutationService'])),$(0x5,o[_0x10f867(0x225)](o[_0x10f867(0x1ac)])),$(0x6,o['Inject'](E['RevisionService'])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x10f867(0x470)]),$(0x9,o['ILogService']),$(0xa,o[_0x10f867(0x374)]),$(0xb,o['IPermissionService']),$(0xc,o[_0x10f867(0x244)](ve)),$(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x22a)]),exports[_0x10f867(0x20a)]=class extends exports[_0x10f867(0x30b)]{constructor(_0x4431d7,_0x5eca33,_0x2a60b3,_0x454f92,_0x1231af,_0x5c56ed,_0x59d392,_0x34f3e6,_0x29dd06,_0xe2d2b7,_0x122467,_0x290eb2,_0x1d388b,_0x9271ea,_0x5cdfc4){var _0x32a51d=_0x10f867;super(_0x4431d7,_0x2a60b3,_0x5eca33,_0x454f92,_0x1231af,_0x5c56ed,_0x59d392,_0x29dd06,_0xe2d2b7,_0x122467,_0x290eb2,_0x1d388b,_0x9271ea,_0x5cdfc4),this[_0x32a51d(0x2cd)]=_0x4431d7,this['type']=_0x5eca33,this[_0x32a51d(0x26e)]=_0x34f3e6;}[_0x10f867(0x190)](){var _0x5da8ce=_0x10f867;const _0x3d02cb=super['_createHandler']();return _0x3d02cb[_0x5da8ce(0x1c3)]=_0x342aef=>this[_0x5da8ce(0x26e)][_0x5da8ce(0x2a4)](_0x342aef),_0x3d02cb;}async['_init'](){var _0x21f0a2=_0x10f867;const _0x4cf96a=await super[_0x21f0a2(0x358)]();return this[_0x21f0a2(0x241)](this[_0x21f0a2(0x2ee)][_0x21f0a2(0x4c8)]((_0x58b4d9,_0x1fbbc0)=>{var _0x18400e=_0x21f0a2;if(_0x58b4d9['type']!==o[_0x18400e(0x4b6)][_0x18400e(0x4e2)]||_0x1fbbc0!=null&&_0x1fbbc0['fromCollab']||_0x1fbbc0!=null&&_0x1fbbc0[_0x18400e(0x24a)])return;const _0x2fc290=_0x58b4d9[_0x18400e(0x32c)];if((_0x2fc290==null?void 0x0:_0x2fc290[_0x18400e(0x1fa)])!==this[_0x18400e(0x2cd)])return;const _0x2c7972=_0x58b4d9,_0x5688e8=this[_0x18400e(0x507)][_0x18400e(0x428)][_0x18400e(0x2c5)](this[_0x18400e(0x507)][_0x18400e(0x428)][_0x18400e(0x44c)]()[_0x18400e(0x36e)])([_0x2c7972],this['_univerInstanceService'])||[_0x2c7972];this[_0x18400e(0x359)](_0x5688e8[0x0]);})),_0x4cf96a;}},exports[_0x10f867(0x20a)]=Be([$(0x3,o['Inject'](o[_0x10f867(0x2c4)])),$(0x4,o[_0x10f867(0x225)](E[_0x10f867(0x23c)])),$(0x5,o['Inject'](o[_0x10f867(0x1ac)])),$(0x6,o[_0x10f867(0x225)](E['RevisionService'])),$(0x7,o[_0x10f867(0x225)](exports[_0x10f867(0x508)])),$(0x8,o[_0x10f867(0x225)](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o[_0x10f867(0x4f6)]),$(0xb,o[_0x10f867(0x374)]),$(0xc,o[_0x10f867(0x36a)]),$(0xd,o['Optional'](ve)),$(0xe,o['Optional'](q))],exports[_0x10f867(0x20a)]);const pt=o[_0x10f867(0x480)](_0x10f867(0x430));function mt(_0xe79fc9){var _0x1c2e14=_0x10f867,_0x103b00,_0x316099,_0x402b71,_0x1ab868,_0x596b98;const _0x569ef8=_0xe79fc9['data'],_0x48a7bd=JSON[_0x1c2e14(0x477)](_0x569ef8);switch(_0x48a7bd['cmd']){case W[_0x1c2e14(0x2a0)]:case W[_0x1c2e14(0x229)]:{const _0x37a9f1=_0x48a7bd[_0x1c2e14(0x21d)];return{..._0x48a7bd,'data':_0x37a9f1,'cmd':_0x48a7bd[_0x1c2e14(0x239)]};}case W[_0x1c2e14(0x37b)]:{const _0x3a701c=_0x48a7bd['joinRsp'];return{..._0x48a7bd,'data':_0x3a701c,'cmd':_0x48a7bd['cmd']};}case W[_0x1c2e14(0x38d)]:{const _0x23747c=_0x48a7bd[_0x1c2e14(0x17d)];switch(_0x23747c[_0x1c2e14(0x2ad)]){case E[_0x1c2e14(0x481)][_0x1c2e14(0x2fa)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x103b00=_0x23747c[_0x1c2e14(0x471)])==null?void 0x0:_0x103b00['cs']},'cmd':_0x48a7bd['cmd']};case E[_0x1c2e14(0x481)][_0x1c2e14(0x36b)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x316099=_0x23747c[_0x1c2e14(0x4e7)])==null?void 0x0:_0x316099['cs']},'cmd':_0x48a7bd['cmd']};case E['CollaborationEvent'][_0x1c2e14(0x478)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x402b71=_0x23747c['newCsEvent'])==null?void 0x0:_0x402b71['cs']},'cmd':_0x48a7bd['cmd']};case E['CollaborationEvent'][_0x1c2e14(0x3e8)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x1ab868=_0x23747c['csRejEvent'])==null?void 0x0:_0x1ab868['cs']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x3b9)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x596b98=_0x23747c[_0x1c2e14(0x206)])==null?void 0x0:_0x596b98['cs']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x332)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['updateCursorEvent']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x196)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x3ff)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E['CollaborationEvent']['USERS_LEAVE']:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['leaveEvent']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x4a0)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['liveShareNewHost']},'cmd':_0x48a7bd['cmd']};case E[_0x1c2e14(0x481)][_0x1c2e14(0x1ba)]:case E['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x278)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)]['LIVESHARE_TERMINATE']:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['liveShareNewHost']},'cmd':_0x48a7bd['cmd']};case E[_0x1c2e14(0x481)][_0x1c2e14(0x304)]:return{..._0x48a7bd,'data':_0x23747c,'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x491)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x1ff)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E['CollaborationEvent'][_0x1c2e14(0x2fe)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x289)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x42d)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x24b)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x36d)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['uniscriptRunEvent']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};default:return _0x48a7bd;}}default:return _0x48a7bd;}}function gt(_0x4b8d91){var _0x5b5d09=_0x10f867;switch(_0x4b8d91[_0x5b5d09(0x239)]){case W[_0x5b5d09(0x2a0)]:case W['HELLO']:return JSON[_0x5b5d09(0x34f)]({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91[_0x5b5d09(0x31e)]});case W['INGEST']:{let _0x1afd2a;switch(_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x2ad)]){case E['CollaborationEvent'][_0x5b5d09(0x332)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x332)],'updateCursorEvent':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x25b)]:{_0x1afd2a={'eventID':E['CollaborationEvent'][_0x5b5d09(0x25b)],'leaveEvent':_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x46b)]};break;}case E['CollaborationEvent']['USERS_ENTER']:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x196)],'joinEvent':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x4a0)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x4a0)],'liveShareNewHost':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x434)]:{_0x1afd2a={'eventID':E['CollaborationEvent'][_0x5b5d09(0x434)],'liveShareOperation':_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x2bb)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x2bb)],'liveShareTerminate':_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x41e)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x41e)],'liveShareRequestHost':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x1ba)]:{_0x1afd2a={'eventID':E['CollaborationEvent'][_0x5b5d09(0x1ba)]};break;}default:_0x1afd2a={'eventID':_0x4b8d91['data'][_0x5b5d09(0x2ad)]};}return JSON[_0x5b5d09(0x34f)]({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91['routeKey'],'collaMsg':_0x1afd2a});}case W[_0x5b5d09(0x37b)]:return JSON['stringify']({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91['routeKey'],'joinReq':_0x4b8d91['data']});case W[_0x5b5d09(0x46e)]:return JSON[_0x5b5d09(0x34f)]({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91['routeKey'],'leaveReq':_0x4b8d91['data']});default:throw new Error(_0x5b5d09(0x501));}}var ri=Object[_0x10f867(0x509)],ai=(_0x4b63f4,_0x23a51f,_0x5a3309,_0x5ad216)=>{var _0x242365=_0x10f867;for(var _0x4a77c4=_0x5ad216>0x1?void 0x0:_0x5ad216?ri(_0x23a51f,_0x5a3309):_0x23a51f,_0x2a39bf=_0x4b63f4[_0x242365(0x371)]-0x1,_0x6f43d4;_0x2a39bf>=0x0;_0x2a39bf--)(_0x6f43d4=_0x4b63f4[_0x2a39bf])&&(_0x4a77c4=_0x6f43d4(_0x4a77c4)||_0x4a77c4);return _0x4a77c4;},he=(_0x41ab2a,_0x35f2ab)=>(_0x35dc1c,_0xb7315f)=>_0x35f2ab(_0x35dc1c,_0xb7315f,_0x41ab2a);const Fe=o[_0x10f867(0x480)](_0x10f867(0x4b2));function oi(_0x37aa4c,_0x1c09ad,_0x1ee4de){var _0x43c7f0=_0x10f867;return _0x37aa4c+'/'+_0x1c09ad+_0x43c7f0(0x408)+_0x1ee4de+_0x43c7f0(0x4ba);}exports['CollaborationSocketService']=class extends o[_0x10f867(0x352)]{constructor(_0x10c8db,_0x5ea90b,_0x255421,_0x37df07,_0x3dfe1d){var _0x1a5d29=_0x10f867;super(),this[_0x1a5d29(0x4f8)]=_0x10c8db,this[_0x1a5d29(0x397)]=_0x5ea90b,this['_configService']=_0x255421,this[_0x1a5d29(0x280)]=_0x37df07,this[_0x1a5d29(0x505)]=_0x3dfe1d;}[_0x10f867(0x19b)](_0x1b2bb5){var _0x16961e=_0x10f867;const _0x31a637=this[_0x16961e(0x4f8)][_0x16961e(0x433)](K['ISocketService']);if(!_0x31a637)throw new Error(_0x16961e(0x4d4));const _0x32d965=_0x31a637[_0x16961e(0x50c)](_0x1b2bb5);if(!_0x32d965)throw new Error(_0x16961e(0x1ad));const _0x35d890=new o[(_0x16961e(0x193))](),_0x411350=new j[(_0x16961e(0x1d1))]();_0x35d890[_0x16961e(0x207)](_0x32d965[_0x16961e(0x2ba)][_0x16961e(0x34a)](_0x3a1a26=>_0x411350[_0x16961e(0x19d)](_0x3a1a26))),_0x35d890[_0x16961e(0x207)](o[_0x16961e(0x483)](()=>_0x411350['complete']()));const _0x2e4c91=new j[(_0x16961e(0x1d1))]();_0x35d890[_0x16961e(0x207)](_0x32d965['error$'][_0x16961e(0x34a)](_0x5f1e5e=>_0x2e4c91[_0x16961e(0x19d)](_0x5f1e5e))),_0x35d890[_0x16961e(0x207)](o[_0x16961e(0x483)](()=>_0x2e4c91[_0x16961e(0x443)]()));const _0x48b9b6=new j[(_0x16961e(0x1d1))]();_0x35d890[_0x16961e(0x207)](_0x32d965['message$'][_0x16961e(0x34a)](_0x1ec54f=>{var _0x1f88ad=_0x16961e;const _0x22565e=mt(_0x1ec54f);_0x48b9b6[_0x1f88ad(0x19d)](_0x22565e);})),_0x35d890[_0x16961e(0x207)](o[_0x16961e(0x483)](()=>_0x48b9b6[_0x16961e(0x443)]()));let _0x5768ba;const _0x25d13e=()=>{var _0x3b9e78=_0x16961e;_0x2e4c91[_0x3b9e78(0x19d)](new Event(_0x3b9e78(0x341))),_0x411350[_0x3b9e78(0x19d)](new Event(_0x3b9e78(0x341))),_0x5768ba[_0x3b9e78(0x293)]();};return _0x5768ba={'memberID':'','close$':_0x411350[_0x16961e(0x440)](),'error$':_0x2e4c91[_0x16961e(0x440)](),'open$':_0x32d965[_0x16961e(0x20c)],'message$':_0x48b9b6[_0x16961e(0x440)](),'send':_0x5c06e4=>{var _0x3b5282=_0x16961e;if(_0x5c06e4['cmd']===W[_0x3b5282(0x343)]){if(_0x5c06e4[_0x3b5282(0x46b)]['eventID']===E[_0x3b5282(0x481)][_0x3b5282(0x1c6)]){this[_0x3b5282(0x35e)](_0x5768ba,_0x5c06e4[_0x3b5282(0x46b)])[_0x3b5282(0x3f0)](_0x2336eb=>{var _0x324bfa=_0x3b5282;this[_0x324bfa(0x280)][_0x324bfa(0x3a8)](_0x2336eb),_0x25d13e();});return;}if(_0x5c06e4['data'][_0x3b5282(0x2ad)]===E[_0x3b5282(0x481)][_0x3b5282(0x25d)]){const _0x1e7e9e=_0x5c06e4[_0x3b5282(0x46b)];this[_0x3b5282(0x348)](_0x1e7e9e)[_0x3b5282(0x41c)](_0x287805=>{var _0x2fe8bb=_0x3b5282;_0x48b9b6[_0x2fe8bb(0x19d)]({'cmd':W['RECV'],'code':re['OK'],'routeKey':_0x1e7e9e[_0x2fe8bb(0x46b)][_0x2fe8bb(0x2cd)],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x2fe8bb(0x3d3)],'data':{'changesets':_0x287805}}});})[_0x3b5282(0x3f0)](_0x4ee491=>{var _0x5cb707=_0x3b5282;this[_0x5cb707(0x280)][_0x5cb707(0x3a8)](_0x4ee491),_0x25d13e();});return;}}_0x32d965[_0x3b5282(0x47d)](gt(_0x5c06e4));},'close':()=>{var _0x296a66=_0x16961e;_0x32d965[_0x296a66(0x293)](),_0x35d890['dispose']();}},_0x5768ba;}async[_0x10f867(0x35e)](_0x2a5f93,_0x2c46d8){var _0x27b9fb=_0x10f867,_0x156109;const {unitType:_0x4c6441,unitID:_0x3689b1,changeset:_0x1615ef}=_0x2c46d8['data'],_0x3fa704={'unitID':_0x3689b1,'memberID':_0x2a5f93[_0x27b9fb(0x1f8)],'type':_0x4c6441,'changeset':E[_0x27b9fb(0x42e)](_0x1615ef)},_0x12aca5=this[_0x27b9fb(0x22b)][_0x27b9fb(0x345)](Y),_0x4737d3=oi((_0x156109=_0x12aca5==null?void 0x0:_0x12aca5['collabSubmitChangesetUrl'])!=null?_0x156109:$t,_0x4c6441,_0x3689b1);try{await this[_0x27b9fb(0x397)]['post'](_0x4737d3,{'body':_0x3fa704});}catch(_0x1bc0b9){throw this['_logService'][_0x27b9fb(0x3a8)](_0x27b9fb(0x3c7),'submit\x20changeset\x20error!'),_0x1bc0b9;}}async[_0x10f867(0x348)](_0x1c4d7c){var _0x1f305c=_0x10f867;const {unitID:_0x1cc4d4,from:_0x3cd978,to:_0x219221,unitType:_0x1d2bb6}=_0x1c4d7c[_0x1f305c(0x46b)];return(await this[_0x1f305c(0x505)][_0x1f305c(0x3f2)]({'metadata':void 0x0},{'unitID':_0x1cc4d4,'type':_0x1d2bb6,'from':_0x3cd978,'to':_0x219221}))['changesets'][_0x1f305c(0x25e)](_0x29a986=>((_0x29a986[_0x1f305c(0x44e)]===null||_0x29a986[_0x1f305c(0x44e)]===void 0x0)&&(_0x29a986[_0x1f305c(0x44e)]=[]),_0x29a986));}},exports[_0x10f867(0x4a3)]=ai([he(0x0,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),he(0x1,o[_0x10f867(0x225)](K[_0x10f867(0x328)])),he(0x2,o[_0x10f867(0x405)]),he(0x3,o[_0x10f867(0x4f6)]),he(0x4,E['ISnapshotServerService'])],exports[_0x10f867(0x4a3)]);var ci=Object['getOwnPropertyDescriptor'],_i=(_0x5e6c8e,_0x298354,_0x3218d9,_0x4f6db9)=>{for(var _0x31ad56=_0x4f6db9>0x1?void 0x0:_0x4f6db9?ci(_0x298354,_0x3218d9):_0x298354,_0x14f550=_0x5e6c8e['length']-0x1,_0x2d0797;_0x14f550>=0x0;_0x14f550--)(_0x2d0797=_0x5e6c8e[_0x14f550])&&(_0x31ad56=_0x2d0797(_0x31ad56)||_0x31ad56);return _0x31ad56;},_e=(_0x21b4af,_0x532b70)=>(_0x6fba1,_0x24f92f)=>_0x532b70(_0x6fba1,_0x24f92f,_0x21b4af);exports[_0x10f867(0x1fd)]=class extends o['Disposable']{constructor(_0x375771,_0x16584e,_0x67ae24,_0xa97924,_0x596dc4,_0x19b696){var _0x211105=_0x10f867;super(),A(this,_0x211105(0x4d2),new j[(_0x211105(0x1da))](void 0x0)),A(this,'socket$',this[_0x211105(0x4d2)][_0x211105(0x440)]()),A(this,_0x211105(0x248),null),A(this,_0x211105(0x3ef),new Map()),A(this,_0x211105(0x4f7),new j[(_0x211105(0x1da))](se['IDLE'])),A(this,_0x211105(0x40a),this[_0x211105(0x4f7)][_0x211105(0x440)]()),A(this,_0x211105(0x1e8),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x211105(0x395),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x211105(0x2a2)),(this[_0x211105(0x4f8)]=_0x375771,this['_logService']=_0x16584e,this[_0x211105(0x22b)]=_0x67ae24,this[_0x211105(0x272)]=_0xa97924,this[_0x211105(0x336)]=_0x596dc4,this[_0x211105(0x26f)]=_0x19b696,this[_0x211105(0x32f)]());}get[_0x10f867(0x1d3)](){var _0x59320a=_0x10f867;return this[_0x59320a(0x4d2)][_0x59320a(0x1d8)]();}['_listenToNetworkCondition'](){var _0x5ad1f6=_0x10f867;this[_0x5ad1f6(0x26f)]&&this[_0x5ad1f6(0x241)](this[_0x5ad1f6(0x26f)][_0x5ad1f6(0x2ec)][_0x5ad1f6(0x34a)](_0x26381e=>{var _0x14302e=_0x5ad1f6;_0x26381e&&!this['_socket']&&this[_0x14302e(0x213)](),_0x26381e||this[_0x14302e(0x2a5)]();}));}['dispose'](){var _0x263886=_0x10f867;super[_0x263886(0x3dc)](),this['_clearRetryConnectingTimer'](),this[_0x263886(0x503)](),this[_0x263886(0x18b)](),this[_0x263886(0x3ef)]['forEach'](_0x311dd1=>_0x311dd1[_0x263886(0x3dc)]()),this[_0x263886(0x3ef)][_0x263886(0x2aa)](),this[_0x263886(0x4f7)][_0x263886(0x443)]();}async[_0x10f867(0x4ae)](_0x4dac0f){var _0x248895=_0x10f867;if(this[_0x248895(0x3ef)][_0x248895(0x295)](_0x4dac0f))return this[_0x248895(0x3ef)][_0x248895(0x433)](_0x4dac0f);this[_0x248895(0x269)]();const _0x21b8ed=this[_0x248895(0x4f8)]['createInstance'](exports[_0x248895(0x362)],_0x4dac0f,this[_0x248895(0x4d2)]['asObservable']());return this[_0x248895(0x3ef)]['set'](_0x4dac0f,_0x21b8ed),_0x21b8ed;}[_0x10f867(0x462)](_0x520321){var _0x31ba92=_0x10f867,_0xb6b174;const _0x2ba340=this[_0x31ba92(0x3ef)]['get'](_0x520321);_0x2ba340&&(this[_0x31ba92(0x3ef)][_0x31ba92(0x458)](_0x520321),_0x2ba340[_0x31ba92(0x293)]()),this[_0x31ba92(0x3ef)][_0x31ba92(0x363)]||(_0xb6b174=this[_0x31ba92(0x1d3)])==null||_0xb6b174[_0x31ba92(0x293)]();}[_0x10f867(0x213)](){var _0x30a18d=_0x10f867;this['_retryCount']=0x0,this[_0x30a18d(0x236)](),this[_0x30a18d(0x3d4)]();}[_0x10f867(0x236)](){var _0x424921=_0x10f867;this[_0x424921(0x419)]!=null&&(clearTimeout(this[_0x424921(0x419)]),this[_0x424921(0x419)]=null);}async['_createSocket'](){var _0x1ab258=_0x10f867,_0x163304;const _0x5a3a8f=this[_0x1ab258(0x22b)]['getConfig'](Y),_0x10e731=(_0x163304=_0x5a3a8f==null?void 0x0:_0x5a3a8f['collabWebSocketUrl'])!=null?_0x163304:_t,_0x266be3=await this[_0x1ab258(0x272)][_0x1ab258(0x50c)](_0x10e731);return this[_0x1ab258(0x248)]=_0x266be3,_0x266be3;}async[_0x10f867(0x269)](){var _0x2e1c4a=_0x10f867,_0x52d897,_0x11b367;try{const _0x592361=(_0x11b367=(_0x52d897=this['_socket'])!=null?_0x52d897:this['_candidateSocket'])!=null?_0x11b367:await this[_0x2e1c4a(0x28b)]();if(_0x592361){const _0x540090=_0x592361[_0x2e1c4a(0x47d)];_0x592361[_0x2e1c4a(0x47d)]=_0x16c2d9=>(this[_0x2e1c4a(0x4d7)](),_0x540090[_0x2e1c4a(0x21f)](_0x592361,[_0x16c2d9])),_0x592361[_0x2e1c4a(0x34b)][_0x2e1c4a(0x34a)](_0x857caf=>this['_onMessage'](_0x592361,_0x857caf)),_0x592361[_0x2e1c4a(0x18d)]['pipe'](V[_0x2e1c4a(0x257)](0x1))[_0x2e1c4a(0x34a)](_0x21e34f=>this['_logService'][_0x2e1c4a(0x3a8)](_0x2e1c4a(0x459),_0x21e34f)),_0x592361[_0x2e1c4a(0x20c)]['pipe'](V[_0x2e1c4a(0x257)](0x1))[_0x2e1c4a(0x34a)](()=>{this['_onConnectionOpen'](_0x592361);}),_0x592361[_0x2e1c4a(0x2ba)]['pipe'](V['take'](0x1))[_0x2e1c4a(0x34a)](_0x14c230=>{var _0x5d86e1=_0x2e1c4a;this['_logService'][_0x5d86e1(0x47e)]('[CollaborationSessionService]','socket\x20close',_0x14c230),this[_0x5d86e1(0x27a)]();});}}catch(_0x2af7ef){this[_0x2e1c4a(0x280)][_0x2e1c4a(0x3a8)](_0x2af7ef),this[_0x2e1c4a(0x27a)]();}}[_0x10f867(0x3cb)](_0x3d77f0){var _0x4d0431=_0x10f867;this[_0x4d0431(0x280)]['debug'](_0x4d0431(0x1a7),'socket\x20open.'),_0x3d77f0['send']({'cmd':W[_0x4d0431(0x229)]}),this[_0x4d0431(0x4d7)]();}[_0x10f867(0x2a5)](){var _0x487f78=_0x10f867;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x487f78(0x19d)](se[_0x487f78(0x2ef)]),this[_0x487f78(0x4d2)][_0x487f78(0x19d)](null),this[_0x487f78(0x503)](),this['_clearHeartbeatTimer']();}[_0x10f867(0x27a)](){var _0x4d15e1=_0x10f867,_0x3e2c4c;this[_0x4d15e1(0x2a5)](),this[_0x4d15e1(0x395)]<((_0x3e2c4c=this[_0x4d15e1(0x22b)][_0x4d15e1(0x345)](ut))!=null?_0x3e2c4c:wt)?(this['_collaborationUIEventService']['emitEvent']({'id':J[_0x4d15e1(0x3da)]}),this[_0x4d15e1(0x3d4)]()):this[_0x4d15e1(0x336)][_0x4d15e1(0x3e2)]({'id':J['SOCKET_FAILED']});}[_0x10f867(0x3d4)](){var _0x183cc0=_0x10f867,_0x597777;const _0x4c3652=this[_0x183cc0(0x395)],_0x1045aa=this['_configService'][_0x183cc0(0x345)](Y),_0xeece46=_0x4c3652===0x0?0x0:((_0x597777=_0x1045aa==null?void 0x0:_0x1045aa['retryConnectingInterval'])!=null?_0x597777:Mt)*0x2**_0x4c3652;this['_retryConnectingTimer']=setTimeout(()=>{clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0xeece46),this[_0x183cc0(0x395)]+=0x1;}[_0x10f867(0x372)](_0x3a3ae9,_0xdf33d2){var _0x5d3d0e=_0x10f867;const {cmd:_0x27a8e8}=_0xdf33d2;_0x27a8e8===W['HELLO']&&!this[_0x5d3d0e(0x1e8)]&&(_0x3a3ae9[_0x5d3d0e(0x1f8)]=_0xdf33d2[_0x5d3d0e(0x46b)][_0x5d3d0e(0x1f8)],this[_0x5d3d0e(0x4d2)][_0x5d3d0e(0x19d)](_0x3a3ae9),this['_status$'][_0x5d3d0e(0x19d)](se[_0x5d3d0e(0x1fb)]),this[_0x5d3d0e(0x1e8)]=!0x0,this[_0x5d3d0e(0x248)]=null),_0x27a8e8===W[_0x5d3d0e(0x2a0)]&&this[_0x5d3d0e(0x503)](),this[_0x5d3d0e(0x4d7)]();}[_0x10f867(0x4d7)](){var _0x1f828e=_0x10f867,_0x212458;this[_0x1f828e(0x18b)](),this[_0x1f828e(0x1d2)]=setTimeout(()=>this[_0x1f828e(0x453)](),(_0x212458=this[_0x1f828e(0x22b)][_0x1f828e(0x345)](ht))!=null?_0x212458:Lt);}['_sendHeartbeat'](){var _0x16b2b5=_0x10f867;this['_socket'][_0x16b2b5(0x47d)]({'cmd':W[_0x16b2b5(0x2a0)]}),this[_0x16b2b5(0x311)]();}[_0x10f867(0x311)](){var _0x2e4d2a=_0x10f867,_0x2deecc;this[_0x2e4d2a(0x2a2)]=setTimeout(()=>this[_0x2e4d2a(0x27a)](),(_0x2deecc=this['_configService'][_0x2e4d2a(0x345)](ke))!=null?_0x2deecc:lt);}['_clearHeartbeatTimer'](){var _0x64c9bd=_0x10f867;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x64c9bd(0x1d2)]),this[_0x64c9bd(0x1d2)]=null);}[_0x10f867(0x503)](){var _0x58222f=_0x10f867;this[_0x58222f(0x2a2)]!=null&&(clearTimeout(this[_0x58222f(0x2a2)]),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=_i([_e(0x0,o['Inject'](o[_0x10f867(0x2c4)])),_e(0x1,o[_0x10f867(0x4f6)]),_e(0x2,o[_0x10f867(0x405)]),_e(0x3,Fe),_e(0x4,o[_0x10f867(0x225)](ee)),_e(0x5,o[_0x10f867(0x244)](pt))],exports[_0x10f867(0x1fd)]);var hi=Object[_0x10f867(0x509)],li=(_0x5cc563,_0x1408bc,_0x282aa2,_0x3559df)=>{var _0x51b9b9=_0x10f867;for(var _0x41e7bc=_0x3559df>0x1?void 0x0:_0x3559df?hi(_0x1408bc,_0x282aa2):_0x1408bc,_0x4fe542=_0x5cc563[_0x51b9b9(0x371)]-0x1,_0x59f807;_0x4fe542>=0x0;_0x4fe542--)(_0x59f807=_0x5cc563[_0x4fe542])&&(_0x41e7bc=_0x59f807(_0x41e7bc)||_0x41e7bc);return _0x41e7bc;},Se=(_0x1ca275,_0x43ead7)=>(_0x3f43d0,_0x46db86)=>_0x43ead7(_0x3f43d0,_0x46db86,_0x1ca275);exports['CollaborationController']=class extends o['RxDisposable']{constructor(_0x5b1f28,_0x385063,_0x3cb4e3,_0x5b2f95){var _0xbab837=_0x10f867,_0x52d427;super(),A(this,_0xbab837(0x3e3),new Map()),A(this,'_entityInit$',new j[(_0xbab837(0x1d1))]()),A(this,'entityInit$',this[_0xbab837(0x1d7)][_0xbab837(0x440)]()),(this[_0xbab837(0x4f8)]=_0x5b1f28,this[_0xbab837(0x337)]=_0x385063,this[_0xbab837(0x22b)]=_0x3cb4e3,this['_univerInstanceService']=_0x5b2f95,((_0x52d427=this[_0xbab837(0x22b)]['getConfig'](Y))==null?void 0x0:_0x52d427[_0xbab837(0x21b)])!==!0x1&&this[_0xbab837(0x358)]());}[_0x10f867(0x3dc)](){var _0x1750e1=_0x10f867;super['dispose'](),this[_0x1750e1(0x3e3)]['forEach'](_0xa83fe2=>_0xa83fe2[_0x1750e1(0x3dc)]()),this[_0x1750e1(0x3e3)][_0x1750e1(0x2aa)]();}['getCollabEntity'](_0x27937b){var _0x1e0abb=_0x10f867,_0x59c78e;return(_0x59c78e=this['_entities'][_0x1e0abb(0x433)](_0x27937b))!=null?_0x59c78e:null;}[_0x10f867(0x3ce)](_0x16e2d9){var _0x587370=_0x10f867;const _0x2ce772=this[_0x587370(0x277)](_0x16e2d9);return _0x2ce772?j['of'](_0x2ce772):this[_0x587370(0x1d7)]['pipe'](V['filter'](_0x49bb8c=>_0x49bb8c[_0x587370(0x2cd)]===_0x16e2d9));}[_0x10f867(0x3f6)](_0x52bde1){var _0x21aeea=_0x10f867;return j[_0x21aeea(0x3e5)](this[_0x21aeea(0x3ce)](_0x52bde1)[_0x21aeea(0x4e4)](V['map'](()=>{})));}[_0x10f867(0x358)](){var _0xf2905e=_0x10f867;this[_0xf2905e(0x497)][_0xf2905e(0x256)](o[_0xf2905e(0x2a8)][_0xf2905e(0x3bf)])[_0xf2905e(0x4e4)](j['takeUntil'](this[_0xf2905e(0x25c)]),V[_0xf2905e(0x436)](0x10))[_0xf2905e(0x34a)](async _0xd88807=>{var _0x356646=_0xf2905e;const _0x48f608=_0xd88807['getUnitId'](),_0x5c9f20=await this[_0x356646(0x38a)](_0x48f608,X[_0x356646(0x3bf)]);this[_0x356646(0x3e3)][_0x356646(0x186)](_0x48f608,_0x5c9f20);}),this[_0xf2905e(0x497)][_0xf2905e(0x256)](o['UniverInstanceType'][_0xf2905e(0x382)])[_0xf2905e(0x4e4)](j[_0xf2905e(0x45f)](this[_0xf2905e(0x25c)]),V[_0xf2905e(0x436)](0x10))['pipe'](V[_0xf2905e(0x306)](_0x4950c6=>!_0x4950c6[_0xf2905e(0x298)]()[_0xf2905e(0x204)]('__')))[_0xf2905e(0x34a)](async _0x1ab91a=>{var _0x31a7e5=_0xf2905e;const _0x52ff1b=_0x1ab91a[_0x31a7e5(0x298)](),_0x3ad6bb=await this[_0x31a7e5(0x38a)](_0x52ff1b,X[_0x31a7e5(0x382)]);this[_0x31a7e5(0x3e3)][_0x31a7e5(0x186)](_0x52ff1b,_0x3ad6bb);}),j['merge'](this[_0xf2905e(0x497)][_0xf2905e(0x3a4)](o[_0xf2905e(0x2a8)][_0xf2905e(0x3bf)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0xf2905e(0x2a8)]['UNIVER_DOC']))[_0xf2905e(0x4e4)](j[_0xf2905e(0x45f)](this[_0xf2905e(0x25c)]))['subscribe'](_0x2b0dab=>{var _0x2733b4=_0xf2905e;const _0x34b398=_0x2b0dab[_0x2733b4(0x298)](),_0x4682cd=this['_entities'][_0x2733b4(0x433)](_0x34b398);_0x4682cd&&(_0x4682cd[_0x2733b4(0x3dc)](),this[_0x2733b4(0x3e3)][_0x2733b4(0x458)](_0x34b398));});}async[_0x10f867(0x38a)](_0x54074c,_0x586ff8){var _0xc88c0d=_0x10f867;const _0x392e8f=await this[_0xc88c0d(0x337)][_0xc88c0d(0x4ae)](_0x54074c),_0x465eda=this[_0xc88c0d(0x4f8)][_0xc88c0d(0x22d)](this['_getCtorByUniverType'](_0x586ff8),_0x54074c,_0x586ff8,_0x392e8f);return await _0x465eda[_0xc88c0d(0x1e0)](),this[_0xc88c0d(0x1d7)]['next'](_0x465eda),_0x465eda;}[_0x10f867(0x2f9)](_0x3e6836){var _0x311388=_0x10f867;switch(_0x3e6836){case X[_0x311388(0x382)]:return exports[_0x311388(0x22a)];case X[_0x311388(0x3bf)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x311388(0x3c3)+_0x3e6836);}}},exports[_0x10f867(0x4e5)]=li([Se(0x0,o[_0x10f867(0x225)](o['Injector'])),Se(0x1,o[_0x10f867(0x225)](exports[_0x10f867(0x1fd)])),Se(0x2,o[_0x10f867(0x405)]),Se(0x3,o[_0x10f867(0x470)])],exports[_0x10f867(0x4e5)]);var ui=Object[_0x10f867(0x509)],vi=(_0x1ed921,_0x2888ec,_0xbfc6d3,_0x2ac4fa)=>{for(var _0x5ad2c4=_0x2ac4fa>0x1?void 0x0:_0x2ac4fa?ui(_0x2888ec,_0xbfc6d3):_0x2888ec,_0x4dfeb0=_0x1ed921['length']-0x1,_0x88494e;_0x4dfeb0>=0x0;_0x4dfeb0--)(_0x88494e=_0x1ed921[_0x4dfeb0])&&(_0x5ad2c4=_0x88494e(_0x5ad2c4)||_0x5ad2c4);return _0x5ad2c4;},Ye=(_0x56ae7d,_0x2a72ac)=>(_0x5a0a95,_0x49c7a1)=>_0x2a72ac(_0x5a0a95,_0x49c7a1,_0x56ae7d);const di=_0x10f867(0x2d9),Si=_0x10f867(0x495);let xe=class extends o['Disposable']{constructor(_0x24641a,_0x182a66){var _0x49045c=_0x10f867;super(),this[_0x49045c(0x497)]=_0x24641a,this[_0x49045c(0x22b)]=_0x182a66,this[_0x49045c(0x358)]();}['_init'](){var _0x692e39=_0x10f867;this[_0x692e39(0x241)](this['_univerInstanceService'][_0x692e39(0x4a8)][_0x692e39(0x34a)](()=>{var _0x2d30a9=_0x692e39,_0x5edefd;const _0x516bce=this[_0x2d30a9(0x497)][_0x2d30a9(0x407)]();let _0xb0350e=(_0x5edefd=this[_0x2d30a9(0x22b)][_0x2d30a9(0x345)](di))!=null?_0x5edefd:Si;_0x516bce instanceof o[_0x2d30a9(0x2e4)]&&(_0xb0350e=_0x516bce['name']),document[_0x2d30a9(0x3fe)]=_0xb0350e;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o[_0x10f867(0x405)])],xe);var Ii=Object[_0x10f867(0x509)],fi=(_0x59f58b,_0x542b7b,_0x224a1b,_0x553be3)=>{var _0x10297e=_0x10f867;for(var _0x408fd4=_0x553be3>0x1?void 0x0:_0x553be3?Ii(_0x542b7b,_0x224a1b):_0x542b7b,_0x4fec5a=_0x59f58b[_0x10297e(0x371)]-0x1,_0xa9cdcc;_0x4fec5a>=0x0;_0x4fec5a--)(_0xa9cdcc=_0x59f58b[_0x4fec5a])&&(_0x408fd4=_0xa9cdcc(_0x408fd4)||_0x408fd4);return _0x408fd4;},Ae=(_0x423a8a,_0x585327)=>(_0x41762d,_0x22c266)=>_0x585327(_0x41762d,_0x22c266,_0x423a8a);let Ne=class{constructor(_0x1236b2,_0x5f52ff,_0x37a7f6){var _0x27fbcb=_0x10f867;this[_0x27fbcb(0x22b)]=_0x1236b2,this[_0x27fbcb(0x397)]=_0x5f52ff,this[_0x27fbcb(0x234)]=_0x37a7f6,this[_0x27fbcb(0x1e0)]();}[_0x10f867(0x1e0)](){var _0x5d841f=_0x10f867;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x518a57,_0x1dd788)=>_0x1dd788(_0x518a57)[_0x5d841f(0x4e4)](j[_0x5d841f(0x3a2)](async _0xd62fa4=>{var _0x4c4329=_0x5d841f;const _0x4aaba1=_0xd62fa4;if(_0x4aaba1[_0x4c4329(0x224)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x4c4329(0x234)]['t'](_0x4c4329(0x2f8)))){const _0x25d45e=window['encodeURIComponent'](window['location'][_0x4c4329(0x301)]);window[_0x4c4329(0x1c8)][_0x4c4329(0x301)]=this['_getLoginPath']()+_0x4c4329(0x1fe)+_0x25d45e;}}return _0x4aaba1;}))});}[_0x10f867(0x463)](){var _0x57962b=_0x10f867,_0x40230d;const _0x476318=this['_configService'][_0x57962b(0x345)](Y);return(_0x40230d=_0x476318==null?void 0x0:_0x476318[_0x57962b(0x261)])!=null?_0x40230d:Ht;}};Ne=fi([Ae(0x0,o[_0x10f867(0x405)]),Ae(0x1,o['Inject'](K[_0x10f867(0x328)])),Ae(0x2,o['Inject'](o[_0x10f867(0x1ac)]))],Ne);var Ei=Object[_0x10f867(0x509)],pi=(_0x571846,_0x3c6198,_0x333246,_0x73a2c8)=>{var _0x16d913=_0x10f867;for(var _0x57bfea=_0x73a2c8>0x1?void 0x0:_0x73a2c8?Ei(_0x3c6198,_0x333246):_0x3c6198,_0x256831=_0x571846[_0x16d913(0x371)]-0x1,_0x1acab2;_0x256831>=0x0;_0x256831--)(_0x1acab2=_0x571846[_0x256831])&&(_0x57bfea=_0x1acab2(_0x57bfea)||_0x57bfea);return _0x57bfea;},Ke=(_0x26b0b6,_0x41d417)=>(_0x5822cf,_0x1ceac7)=>_0x41d417(_0x5822cf,_0x1ceac7,_0x26b0b6);const mi='/universer-api/authz';exports[_0x10f867(0x441)]=class extends o[_0x10f867(0x352)]{constructor(_0x58ca96,_0x45111d){var _0x5a801f=_0x10f867;super(),this[_0x5a801f(0x388)]=_0x58ca96,this[_0x5a801f(0x22b)]=_0x45111d,this[_0x5a801f(0x29e)]();}[_0x10f867(0x29e)](){var _0x65b376=_0x10f867;const _0x433884=this;this['disposeWithMe'](this[_0x65b376(0x388)][_0x65b376(0x35a)]({'priority':0x3e7,'interceptor':K[_0x65b376(0x230)]({'isMatch'(_0x3c4483){var _0x8247d5=_0x65b376,_0x3420a0;if(_0x3c4483[_0x8247d5(0x4b7)]===_0x8247d5(0x2c9)&&((_0x3420a0=_0x3c4483[_0x8247d5(0x2e8)])!=null&&_0x3420a0[_0x8247d5(0x22c)])){const {objectID:_0x185ca3,objectType:_0xcec491}=_0x3c4483[_0x8247d5(0x2e8)][_0x8247d5(0x22c)]||{};if(!_0x185ca3||_0xcec491===void 0x0)return!0x1;const _0x5ef2fa=_0x433884[_0x8247d5(0x42f)]()+'/'+_0xcec491+_0x8247d5(0x365)+_0x185ca3+_0x8247d5(0x4d6);if(_0x3c4483[_0x8247d5(0x40b)]===_0x5ef2fa)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xc4fa3){var _0x40e8c8=_0x65b376,_0x555cee;return(_0x555cee=_0xc4fa3[_0x40e8c8(0x2e8)])==null?void 0x0:_0x555cee[_0x40e8c8(0x22c)];},'mergeParamsToRequest'(_0x41370d,_0x395568){var _0x402401=_0x65b376;const _0x252767=_0x433884['_getAPIPrefixPath']()+_0x402401(0x379),_0xf8338d=_0x41370d[_0x402401(0x364)]((_0x344abb,_0x5d3e33)=>{var _0x4070e9=_0x402401;const {unitID:_0xb91996,objectID:_0x4fe850,objectType:_0x1c26b5,actions:_0x154207}=_0x5d3e33;return _0x344abb[_0xb91996]||(_0x344abb[_0xb91996]={}),_0x344abb[_0xb91996][_0x4fe850]||(_0x344abb[_0xb91996][_0x4fe850]={'objectID':_0x4fe850,'objectType':_0x1c26b5,'actions':[]}),_0x344abb[_0xb91996][_0x4fe850]['actions'][_0x4070e9(0x24d)](..._0x154207),_0x344abb;},{}),_0x3dae97=[];for(const _0x1df2c5 in _0xf8338d)for(const _0x3fd68b in _0xf8338d[_0x1df2c5]){const {actions:_0x5d0eb4,objectType:_0x52c65a}=_0xf8338d[_0x1df2c5][_0x3fd68b],_0x24e361=[...new Set(_0x5d0eb4)];_0x3dae97['push']({'unitID':_0x1df2c5,'objectID':_0x3fd68b,'objectType':_0x52c65a,'actions':_0x24e361});}return new K['HTTPRequest'](_0x402401(0x2c9),_0x252767,{'headers':_0x395568[_0x402401(0x1eb)],'withCredentials':_0x395568[_0x402401(0x452)],'responseType':_0x395568[_0x402401(0x245)],'body':{'requests':_0x3dae97}});}},{'distributeResult'(_0x2a3dff,_0x3ad780){var _0x4585b3=_0x65b376;const {objectActions:_0x12ab49}=_0x2a3dff;return _0x3ad780[_0x4585b3(0x25e)](_0x3483bb=>{var _0x39d2f0=_0x4585b3;const {unitID:_0x276782,objectID:_0x1fa59a,actions:_0x55ba75}=_0x3483bb,_0x3ae231=_0x12ab49[_0x39d2f0(0x2da)](_0x2b95e7=>_0x2b95e7[_0x39d2f0(0x2cd)]===_0x276782&&_0x2b95e7[_0x39d2f0(0x254)]===_0x1fa59a),_0x207e1a=_0x55ba75[_0x39d2f0(0x25e)](_0x197886=>_0x3ae231==null?void 0x0:_0x3ae231['actions'][_0x39d2f0(0x2da)](_0x57c1f7=>_0x57c1f7[_0x39d2f0(0x3ab)]===_0x197886))[_0x39d2f0(0x306)](_0x225894=>!!_0x225894);return{'config':_0x3483bb,'result':{'actions':_0x207e1a,'error':_0x2a3dff[_0x39d2f0(0x3a8)]}};});}})}));}[_0x10f867(0x42f)](){var _0x2ea59b=_0x10f867,_0xf42e67;const _0x2e98fd=this['_configService'][_0x2ea59b(0x345)](Y);return(_0xf42e67=_0x2e98fd==null?void 0x0:_0x2e98fd['authzUrl'])!=null?_0xf42e67:mi;}async[_0x10f867(0x2be)](_0xab5ee1){var _0x362942=_0x10f867;const _0xc61d1d=this[_0x362942(0x42f)]()+'/'+_0xab5ee1[_0x362942(0x47c)]+'/object';return(await this['_HTTPService']['post'](_0xc61d1d,{'body':_0xab5ee1}))[_0x362942(0x22c)][_0x362942(0x254)]||'';}async[_0x10f867(0x18c)](_0x11eb0d){var _0x49947a=_0x10f867;const _0x52a920=this[_0x49947a(0x42f)]()+_0x49947a(0x3e1);return(await this[_0x49947a(0x388)][_0x49947a(0x338)](_0x52a920,{'body':_0x11eb0d}))[_0x49947a(0x22c)][_0x49947a(0x19f)];}async[_0x10f867(0x4e1)](_0x460751){var _0x3ab20a=_0x10f867,_0x5b5ec7,_0x37835b;const _0xf6c728=this[_0x3ab20a(0x42f)]()+'/'+_0x460751[_0x3ab20a(0x47c)]+_0x3ab20a(0x365)+_0x460751[_0x3ab20a(0x254)],_0xb1c65c=await this[_0x3ab20a(0x388)][_0x3ab20a(0x28c)](_0xf6c728,{'body':_0x460751});if(((_0x37835b=(_0x5b5ec7=_0xb1c65c==null?void 0x0:_0xb1c65c[_0x3ab20a(0x22c)])==null?void 0x0:_0x5b5ec7[_0x3ab20a(0x3a8)])==null?void 0x0:_0x37835b['code'])!==0x1)throw new Error(_0x3ab20a(0x402));}async[_0x10f867(0x288)](_0x3f2b04){var _0xd46bba=_0x10f867;const _0x1a229c=this['_getAPIPrefixPath']()+'/'+_0x3f2b04['objectType']+_0xd46bba(0x365)+_0x3f2b04['objectID']+_0xd46bba(0x4d6);return(await this['_HTTPService']['post'](_0x1a229c,{'body':_0x3f2b04}))[_0xd46bba(0x22c)]['actions'];}async[_0x10f867(0x4f5)](_0xa91258){var _0x63681=_0x10f867;const _0x255953=this[_0x63681(0x42f)]()+'/-/object/-/batch_allowed';return(await this[_0x63681(0x388)][_0x63681(0x338)](_0x255953,{'body':{'requests':_0xa91258}}))['body'][_0x63681(0x4fe)];}async[_0x10f867(0x2a7)](_0x188e23){var _0x599152=_0x10f867;const _0x4e7148=this[_0x599152(0x42f)]()+'/'+_0x188e23[_0x599152(0x47c)]+_0x599152(0x2ab),_0x178055=await this[_0x599152(0x388)][_0x599152(0x338)](_0x4e7148,{'body':_0x188e23});return{'roles':_0x178055[_0x599152(0x22c)][_0x599152(0x226)],'actions':_0x178055[_0x599152(0x22c)][_0x599152(0x2b7)]};}async['deleteCollaborator'](_0x5e60c4){var _0x3824a5=_0x10f867;const _0xfd72a9=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3824a5(0x388)][_0x3824a5(0x458)](_0xfd72a9,{'params':{'collaboratorID':_0x5e60c4[_0x3824a5(0x369)],'objectID':_0x5e60c4[_0x3824a5(0x254)],'unitID':_0x5e60c4['unitID']}});}async[_0x10f867(0x1d5)](_0x44a940){var _0x3a8e13=_0x10f867;const _0x2cd876=this[_0x3a8e13(0x42f)]()+_0x3a8e13(0x32a);await this['_HTTPService']['patch'](_0x2cd876,{'body':_0x44a940});}async[_0x10f867(0x195)](_0x43bbd3){var _0x3d20d4=_0x10f867;const _0xab539=this['_getAPIPrefixPath']()+_0x3d20d4(0x32a);await this[_0x3d20d4(0x388)]['post'](_0xab539,{'body':_0x43bbd3});}async['listCollaborators'](_0x518be2){var _0x385193=_0x10f867;const _0x4ed15=this[_0x385193(0x42f)]()+_0x385193(0x32a);return(await this[_0x385193(0x388)][_0x385193(0x433)](_0x4ed15,{'params':{'objectID':_0x518be2[_0x385193(0x254)],'unitID':_0x518be2['unitID']}}))[_0x385193(0x22c)][_0x385193(0x45c)];}async['putCollaborators'](_0x48ded4){var _0x29e2ed=_0x10f867;const _0x1a26f4=this[_0x29e2ed(0x42f)]()+'/collaborator';await this[_0x29e2ed(0x388)]['put'](_0x1a26f4,{'body':_0x48ded4});}},exports['AuthzIoHttpService']=pi([Ke(0x0,o[_0x10f867(0x225)](K['HTTPService'])),Ke(0x1,o[_0x10f867(0x225)](o['IConfigService']))],exports[_0x10f867(0x441)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x1d6c8f){var _0x349372=_0x10f867;return _0x1d6c8f&&_0x1d6c8f[_0x349372(0x39d)]&&Object[_0x349372(0x2d3)][_0x349372(0x4a9)][_0x349372(0x411)](_0x1d6c8f,'default')?_0x1d6c8f[_0x349372(0x39a)]:_0x1d6c8f;}var Ie={'exports':{}};function gi(_0x2c54ad){var _0x1c3e38=_0x10f867;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2c54ad+_0x1c3e38(0x383));}var fe={'exports':{}},Ti=fe[_0x10f867(0x1cd)],qe;function Z(){var _0x4c35a8=_0x10f867;return qe||(qe=0x1,function(_0x1b9957,_0x58aa64){(function(_0x3ad236,_0x240841){var _0x323182=_0x4aec;_0x1b9957[_0x323182(0x1cd)]=_0x240841();}(Ti,function(){var _0x30543e=_0x30543e||function(_0x1b9b63,_0x52ab81){var _0x1c5143=_0x4aec,_0x368db8;if(typeof window<'u'&&window[_0x1c5143(0x2d7)]&&(_0x368db8=window[_0x1c5143(0x2d7)]),typeof self<'u'&&self[_0x1c5143(0x2d7)]&&(_0x368db8=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1c5143(0x2d7)]&&(_0x368db8=globalThis[_0x1c5143(0x2d7)]),!_0x368db8&&typeof window<'u'&&window[_0x1c5143(0x3de)]&&(_0x368db8=window[_0x1c5143(0x3de)]),!_0x368db8&&typeof Pe<'u'&&Pe['crypto']&&(_0x368db8=Pe['crypto']),!_0x368db8&&typeof gi==_0x1c5143(0x4b3))try{_0x368db8=require('crypto');}catch{}var _0x143360=function(){var _0x49ccdd=_0x1c5143;if(_0x368db8){if(typeof _0x368db8[_0x49ccdd(0x1dc)]==_0x49ccdd(0x4b3))try{return _0x368db8[_0x49ccdd(0x1dc)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x368db8[_0x49ccdd(0x29a)]==_0x49ccdd(0x4b3))try{return _0x368db8[_0x49ccdd(0x29a)](0x4)[_0x49ccdd(0x410)]();}catch{}}throw new Error(_0x49ccdd(0x40f));},_0x480c1b=Object[_0x1c5143(0x2be)]||(function(){function _0xdb8b8d(){}return function(_0x40dedc){var _0x15bc42=_0x4aec,_0x5eb489;return _0xdb8b8d[_0x15bc42(0x2d3)]=_0x40dedc,_0x5eb489=new _0xdb8b8d(),_0xdb8b8d[_0x15bc42(0x2d3)]=null,_0x5eb489;};}()),_0x16c8a7={},_0x32a18c=_0x16c8a7['lib']={},_0x5314ff=_0x32a18c[_0x1c5143(0x35d)]=(function(){return{'extend':function(_0x449991){var _0xbbc175=_0x4aec,_0x457233=_0x480c1b(this);return _0x449991&&_0x457233[_0xbbc175(0x391)](_0x449991),(!_0x457233[_0xbbc175(0x4a9)](_0xbbc175(0x1e0))||this[_0xbbc175(0x1e0)]===_0x457233[_0xbbc175(0x1e0)])&&(_0x457233[_0xbbc175(0x1e0)]=function(){var _0x57ffd6=_0xbbc175;_0x457233['$super'][_0x57ffd6(0x1e0)][_0x57ffd6(0x21f)](this,arguments);}),_0x457233['init']['prototype']=_0x457233,_0x457233['$super']=this,_0x457233;},'create':function(){var _0x5b9869=_0x4aec,_0x524b41=this[_0x5b9869(0x285)]();return _0x524b41['init'][_0x5b9869(0x21f)](_0x524b41,arguments),_0x524b41;},'init':function(){},'mixIn':function(_0x467fca){var _0x3949d6=_0x4aec;for(var _0xda9bbb in _0x467fca)_0x467fca['hasOwnProperty'](_0xda9bbb)&&(this[_0xda9bbb]=_0x467fca[_0xda9bbb]);_0x467fca[_0x3949d6(0x4a9)](_0x3949d6(0x376))&&(this[_0x3949d6(0x376)]=_0x467fca[_0x3949d6(0x376)]);},'clone':function(){var _0x39eba9=_0x4aec;return this[_0x39eba9(0x1e0)][_0x39eba9(0x2d3)][_0x39eba9(0x285)](this);}};}()),_0x4396e5=_0x32a18c[_0x1c5143(0x4fc)]=_0x5314ff['extend']({'init':function(_0xc772c4,_0x250449){var _0x245f10=_0x1c5143;_0xc772c4=this['words']=_0xc772c4||[],_0x250449!=_0x52ab81?this['sigBytes']=_0x250449:this['sigBytes']=_0xc772c4[_0x245f10(0x371)]*0x4;},'toString':function(_0x2e9a58){return(_0x2e9a58||_0x756b63)['stringify'](this);},'concat':function(_0x224a44){var _0xa75121=_0x1c5143,_0x12bcb1=this[_0xa75121(0x3ea)],_0x1f2432=_0x224a44[_0xa75121(0x3ea)],_0x2caa88=this[_0xa75121(0x4cd)],_0x2fedeb=_0x224a44[_0xa75121(0x4cd)];if(this[_0xa75121(0x1ec)](),_0x2caa88%0x4)for(var _0x49f313=0x0;_0x49f313<_0x2fedeb;_0x49f313++){var _0x39fc65=_0x1f2432[_0x49f313>>>0x2]>>>0x18-_0x49f313%0x4*0x8&0xff;_0x12bcb1[_0x2caa88+_0x49f313>>>0x2]|=_0x39fc65<<0x18-(_0x2caa88+_0x49f313)%0x4*0x8;}else{for(var _0x269014=0x0;_0x269014<_0x2fedeb;_0x269014+=0x4)_0x12bcb1[_0x2caa88+_0x269014>>>0x2]=_0x1f2432[_0x269014>>>0x2];}return this[_0xa75121(0x4cd)]+=_0x2fedeb,this;},'clamp':function(){var _0x100063=_0x1c5143,_0x2b0068=this[_0x100063(0x3ea)],_0x5a17c5=this['sigBytes'];_0x2b0068[_0x5a17c5>>>0x2]&=0xffffffff<<0x20-_0x5a17c5%0x4*0x8,_0x2b0068[_0x100063(0x371)]=_0x1b9b63[_0x100063(0x329)](_0x5a17c5/0x4);},'clone':function(){var _0x2a399a=_0x1c5143,_0x3b7eec=_0x5314ff[_0x2a399a(0x33b)][_0x2a399a(0x411)](this);return _0x3b7eec[_0x2a399a(0x3ea)]=this[_0x2a399a(0x3ea)][_0x2a399a(0x4ab)](0x0),_0x3b7eec;},'random':function(_0x491beb){var _0x537806=_0x1c5143;for(var _0x332b87=[],_0x4d406d=0x0;_0x4d406d<_0x491beb;_0x4d406d+=0x4)_0x332b87[_0x537806(0x24d)](_0x143360());return new _0x4396e5[(_0x537806(0x1e0))](_0x332b87,_0x491beb);}}),_0x200c2f=_0x16c8a7[_0x1c5143(0x216)]={},_0x756b63=_0x200c2f[_0x1c5143(0x4a1)]={'stringify':function(_0xb1fc70){var _0x21a6d8=_0x1c5143;for(var _0x3f76d7=_0xb1fc70[_0x21a6d8(0x3ea)],_0x53dbcb=_0xb1fc70[_0x21a6d8(0x4cd)],_0x3498df=[],_0x283419=0x0;_0x283419<_0x53dbcb;_0x283419++){var _0x134a36=_0x3f76d7[_0x283419>>>0x2]>>>0x18-_0x283419%0x4*0x8&0xff;_0x3498df[_0x21a6d8(0x24d)]((_0x134a36>>>0x4)[_0x21a6d8(0x376)](0x10)),_0x3498df[_0x21a6d8(0x24d)]((_0x134a36&0xf)[_0x21a6d8(0x376)](0x10));}return _0x3498df[_0x21a6d8(0x315)]('');},'parse':function(_0x22708d){var _0x27a737=_0x1c5143;for(var _0x84fe49=_0x22708d['length'],_0x35be00=[],_0x1ed6f8=0x0;_0x1ed6f8<_0x84fe49;_0x1ed6f8+=0x2)_0x35be00[_0x1ed6f8>>>0x3]|=parseInt(_0x22708d['substr'](_0x1ed6f8,0x2),0x10)<<0x18-_0x1ed6f8%0x8*0x4;return new _0x4396e5[(_0x27a737(0x1e0))](_0x35be00,_0x84fe49/0x2);}},_0xe4d444=_0x200c2f['Latin1']={'stringify':function(_0x48b661){var _0x3bc2b4=_0x1c5143;for(var _0xd78868=_0x48b661[_0x3bc2b4(0x3ea)],_0x560645=_0x48b661[_0x3bc2b4(0x4cd)],_0xe9650d=[],_0x55ecfb=0x0;_0x55ecfb<_0x560645;_0x55ecfb++){var _0xcde0b=_0xd78868[_0x55ecfb>>>0x2]>>>0x18-_0x55ecfb%0x4*0x8&0xff;_0xe9650d[_0x3bc2b4(0x24d)](String[_0x3bc2b4(0x34e)](_0xcde0b));}return _0xe9650d[_0x3bc2b4(0x315)]('');},'parse':function(_0x5f3df4){var _0x1d4005=_0x1c5143;for(var _0x132655=_0x5f3df4[_0x1d4005(0x371)],_0xb8e585=[],_0x289199=0x0;_0x289199<_0x132655;_0x289199++)_0xb8e585[_0x289199>>>0x2]|=(_0x5f3df4['charCodeAt'](_0x289199)&0xff)<<0x18-_0x289199%0x4*0x8;return new _0x4396e5['init'](_0xb8e585,_0x132655);}},_0x39f0dc=_0x200c2f['Utf8']={'stringify':function(_0x3ae695){var _0x55084e=_0x1c5143;try{return decodeURIComponent(escape(_0xe4d444[_0x55084e(0x34f)](_0x3ae695)));}catch{throw new Error(_0x55084e(0x340));}},'parse':function(_0x425694){return _0xe4d444['parse'](unescape(encodeURIComponent(_0x425694)));}},_0x3336da=_0x32a18c[_0x1c5143(0x43f)]=_0x5314ff[_0x1c5143(0x285)]({'reset':function(){var _0x4ee760=_0x1c5143;this[_0x4ee760(0x268)]=new _0x4396e5[(_0x4ee760(0x1e0))](),this['_nDataBytes']=0x0;},'_append':function(_0x1f0044){var _0x47802b=_0x1c5143;typeof _0x1f0044==_0x47802b(0x356)&&(_0x1f0044=_0x39f0dc[_0x47802b(0x477)](_0x1f0044)),this['_data'][_0x47802b(0x448)](_0x1f0044),this['_nDataBytes']+=_0x1f0044[_0x47802b(0x4cd)];},'_process':function(_0x41c22e){var _0x16a6aa=_0x1c5143,_0x522238,_0x5148be=this[_0x16a6aa(0x268)],_0xfb5f37=_0x5148be[_0x16a6aa(0x3ea)],_0x524b98=_0x5148be[_0x16a6aa(0x4cd)],_0x54942c=this['blockSize'],_0x1d2cc4=_0x54942c*0x4,_0x2b2125=_0x524b98/_0x1d2cc4;_0x41c22e?_0x2b2125=_0x1b9b63['ceil'](_0x2b2125):_0x2b2125=_0x1b9b63[_0x16a6aa(0x3cf)]((_0x2b2125|0x0)-this[_0x16a6aa(0x3f9)],0x0);var _0x292965=_0x2b2125*_0x54942c,_0x16e560=_0x1b9b63['min'](_0x292965*0x4,_0x524b98);if(_0x292965){for(var _0x364322=0x0;_0x364322<_0x292965;_0x364322+=_0x54942c)this[_0x16a6aa(0x4db)](_0xfb5f37,_0x364322);_0x522238=_0xfb5f37[_0x16a6aa(0x50a)](0x0,_0x292965),_0x5148be[_0x16a6aa(0x4cd)]-=_0x16e560;}return new _0x4396e5['init'](_0x522238,_0x16e560);},'clone':function(){var _0x5b5b62=_0x1c5143,_0x2cd5c5=_0x5314ff['clone'][_0x5b5b62(0x411)](this);return _0x2cd5c5['_data']=this[_0x5b5b62(0x268)]['clone'](),_0x2cd5c5;},'_minBufferSize':0x0});_0x32a18c[_0x1c5143(0x3a7)]=_0x3336da[_0x1c5143(0x285)]({'cfg':_0x5314ff[_0x1c5143(0x285)](),'init':function(_0x37f972){var _0x1a1b3b=_0x1c5143;this[_0x1a1b3b(0x3fa)]=this[_0x1a1b3b(0x3fa)][_0x1a1b3b(0x285)](_0x37f972),this[_0x1a1b3b(0x232)]();},'reset':function(){var _0x367148=_0x1c5143;_0x3336da['reset'][_0x367148(0x411)](this),this['_doReset']();},'update':function(_0x58955d){var _0x52b8a2=_0x1c5143;return this[_0x52b8a2(0x28f)](_0x58955d),this[_0x52b8a2(0x44f)](),this;},'finalize':function(_0x5568a4){var _0xf267c5=_0x1c5143;_0x5568a4&&this[_0xf267c5(0x28f)](_0x5568a4);var _0x5f1686=this[_0xf267c5(0x23e)]();return _0x5f1686;},'blockSize':0x10,'_createHelper':function(_0x4d9b26){return function(_0x409d09,_0xefdbce){var _0x37f54f=_0x4aec;return new _0x4d9b26[(_0x37f54f(0x1e0))](_0xefdbce)[_0x37f54f(0x4ff)](_0x409d09);};},'_createHmacHelper':function(_0x13f2ee){return function(_0x4c72d1,_0x6e2fcf){var _0x396dc7=_0x4aec;return new _0x4d2f0b[(_0x396dc7(0x496))][(_0x396dc7(0x1e0))](_0x13f2ee,_0x6e2fcf)[_0x396dc7(0x4ff)](_0x4c72d1);};}});var _0x4d2f0b=_0x16c8a7[_0x1c5143(0x3db)]={};return _0x16c8a7;}(Math);return _0x30543e;}));}(fe)),fe[_0x4c35a8(0x1cd)];}var Ee={'exports':{}},Ci=Ee['exports'],ze;function Tt(){return ze||(ze=0x1,function(_0x1e8442,_0xea7d86){(function(_0x4e16b7,_0x2f1d70){_0x1e8442['exports']=_0x2f1d70(Z());}(Ci,function(_0x353ff8){var _0x5a419f=_0x4aec;return(function(){var _0xc382e8=_0x4aec,_0x3f261b=_0x353ff8,_0xac19c1=_0x3f261b[_0xc382e8(0x4eb)],_0x5852d1=_0xac19c1[_0xc382e8(0x4fc)],_0x5b49ff=_0x3f261b['enc'];_0x5b49ff[_0xc382e8(0x489)]={'stringify':function(_0x8c72b7){var _0x5098e3=_0xc382e8,_0x1bbf35=_0x8c72b7['words'],_0x3dd509=_0x8c72b7[_0x5098e3(0x4cd)],_0x18f3df=this[_0x5098e3(0x220)];_0x8c72b7['clamp']();for(var _0x2b2335=[],_0x17b2e5=0x0;_0x17b2e5<_0x3dd509;_0x17b2e5+=0x3)for(var _0x3dc42f=_0x1bbf35[_0x17b2e5>>>0x2]>>>0x18-_0x17b2e5%0x4*0x8&0xff,_0x4e8d10=_0x1bbf35[_0x17b2e5+0x1>>>0x2]>>>0x18-(_0x17b2e5+0x1)%0x4*0x8&0xff,_0x463941=_0x1bbf35[_0x17b2e5+0x2>>>0x2]>>>0x18-(_0x17b2e5+0x2)%0x4*0x8&0xff,_0x331e5f=_0x3dc42f<<0x10|_0x4e8d10<<0x8|_0x463941,_0x7fb81d=0x0;_0x7fb81d<0x4&&_0x17b2e5+_0x7fb81d*0.75<_0x3dd509;_0x7fb81d++)_0x2b2335[_0x5098e3(0x24d)](_0x18f3df[_0x5098e3(0x350)](_0x331e5f>>>0x6*(0x3-_0x7fb81d)&0x3f));var _0x2a9b9b=_0x18f3df[_0x5098e3(0x350)](0x40);if(_0x2a9b9b){for(;_0x2b2335[_0x5098e3(0x371)]%0x4;)_0x2b2335['push'](_0x2a9b9b);}return _0x2b2335['join']('');},'parse':function(_0x1bfd63){var _0x5d6e62=_0xc382e8,_0x434443=_0x1bfd63[_0x5d6e62(0x371)],_0x3ff055=this[_0x5d6e62(0x220)],_0x2d3eb6=this['_reverseMap'];if(!_0x2d3eb6){_0x2d3eb6=this[_0x5d6e62(0x1b0)]=[];for(var _0x2e649e=0x0;_0x2e649e<_0x3ff055['length'];_0x2e649e++)_0x2d3eb6[_0x3ff055[_0x5d6e62(0x1f2)](_0x2e649e)]=_0x2e649e;}var _0x3693dd=_0x3ff055[_0x5d6e62(0x350)](0x40);if(_0x3693dd){var _0x1e66e5=_0x1bfd63[_0x5d6e62(0x467)](_0x3693dd);_0x1e66e5!==-0x1&&(_0x434443=_0x1e66e5);}return _0x1613b0(_0x1bfd63,_0x434443,_0x2d3eb6);},'_map':_0xc382e8(0x2d6)};function _0x1613b0(_0x5b68a5,_0x3dc875,_0x4393fc){var _0x715bc8=_0xc382e8;for(var _0x26f1c9=[],_0xe9f502=0x0,_0x4fc08c=0x0;_0x4fc08c<_0x3dc875;_0x4fc08c++)if(_0x4fc08c%0x4){var _0x284a10=_0x4393fc[_0x5b68a5[_0x715bc8(0x1f2)](_0x4fc08c-0x1)]<<_0x4fc08c%0x4*0x2,_0x39e042=_0x4393fc[_0x5b68a5[_0x715bc8(0x1f2)](_0x4fc08c)]>>>0x6-_0x4fc08c%0x4*0x2,_0x184f3e=_0x284a10|_0x39e042;_0x26f1c9[_0xe9f502>>>0x2]|=_0x184f3e<<0x18-_0xe9f502%0x4*0x8,_0xe9f502++;}return _0x5852d1['create'](_0x26f1c9,_0xe9f502);}}()),_0x353ff8[_0x5a419f(0x216)][_0x5a419f(0x489)];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Oi=pe['exports'],Xe;function bi(){return Xe||(Xe=0x1,function(_0x5b0abe,_0x1a5af7){(function(_0x459d4d,_0x58d906){_0x5b0abe['exports']=_0x58d906(Z());}(Oi,function(_0x1a4dde){return function(_0xc201e8){var _0x2cb3fc=_0x4aec,_0x33a673=_0x1a4dde,_0x31b203=_0x33a673[_0x2cb3fc(0x4eb)],_0x184ef0=_0x31b203[_0x2cb3fc(0x4fc)],_0x445d38=_0x31b203[_0x2cb3fc(0x3a7)],_0x2fd78f=_0x33a673[_0x2cb3fc(0x3db)],_0x572225=[];(function(){var _0x4f8d80=_0x2cb3fc;for(var _0x561165=0x0;_0x561165<0x40;_0x561165++)_0x572225[_0x561165]=_0xc201e8[_0x4f8d80(0x1e4)](_0xc201e8['sin'](_0x561165+0x1))*0x100000000|0x0;}());var _0xcefe57=_0x2fd78f[_0x2cb3fc(0x2b8)]=_0x445d38['extend']({'_doReset':function(){var _0x54eab4=_0x2cb3fc;this[_0x54eab4(0x2b6)]=new _0x184ef0['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x54557d,_0x47723c){var _0xe113dd=_0x2cb3fc;for(var _0x3adf89=0x0;_0x3adf89<0x10;_0x3adf89++){var _0x3ced32=_0x47723c+_0x3adf89,_0x4e65eb=_0x54557d[_0x3ced32];_0x54557d[_0x3ced32]=(_0x4e65eb<<0x8|_0x4e65eb>>>0x18)&0xff00ff|(_0x4e65eb<<0x18|_0x4e65eb>>>0x8)&0xff00ff00;}var _0x490575=this[_0xe113dd(0x2b6)][_0xe113dd(0x3ea)],_0x1de2a5=_0x54557d[_0x47723c+0x0],_0x36d936=_0x54557d[_0x47723c+0x1],_0x5de48d=_0x54557d[_0x47723c+0x2],_0x331427=_0x54557d[_0x47723c+0x3],_0x18d042=_0x54557d[_0x47723c+0x4],_0x425110=_0x54557d[_0x47723c+0x5],_0xaa59bd=_0x54557d[_0x47723c+0x6],_0xc2972a=_0x54557d[_0x47723c+0x7],_0x12c751=_0x54557d[_0x47723c+0x8],_0x481849=_0x54557d[_0x47723c+0x9],_0x90dc65=_0x54557d[_0x47723c+0xa],_0x4cead6=_0x54557d[_0x47723c+0xb],_0x3d11fb=_0x54557d[_0x47723c+0xc],_0x8ae6b1=_0x54557d[_0x47723c+0xd],_0x5577d0=_0x54557d[_0x47723c+0xe],_0x339bfb=_0x54557d[_0x47723c+0xf],_0x47039a=_0x490575[0x0],_0x1820b5=_0x490575[0x1],_0x4e9cc1=_0x490575[0x2],_0x2ff46b=_0x490575[0x3];_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x1de2a5,0x7,_0x572225[0x0]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x36d936,0xc,_0x572225[0x1]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5de48d,0x11,_0x572225[0x2]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x331427,0x16,_0x572225[0x3]),_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x18d042,0x7,_0x572225[0x4]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x425110,0xc,_0x572225[0x5]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xaa59bd,0x11,_0x572225[0x6]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0xc2972a,0x16,_0x572225[0x7]),_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x12c751,0x7,_0x572225[0x8]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x481849,0xc,_0x572225[0x9]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x90dc65,0x11,_0x572225[0xa]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x4cead6,0x16,_0x572225[0xb]),_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x3d11fb,0x7,_0x572225[0xc]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x8ae6b1,0xc,_0x572225[0xd]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5577d0,0x11,_0x572225[0xe]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x339bfb,0x16,_0x572225[0xf]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x36d936,0x5,_0x572225[0x10]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0xaa59bd,0x9,_0x572225[0x11]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x4cead6,0xe,_0x572225[0x12]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1de2a5,0x14,_0x572225[0x13]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x425110,0x5,_0x572225[0x14]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x90dc65,0x9,_0x572225[0x15]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x339bfb,0xe,_0x572225[0x16]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x18d042,0x14,_0x572225[0x17]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x481849,0x5,_0x572225[0x18]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x5577d0,0x9,_0x572225[0x19]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x331427,0xe,_0x572225[0x1a]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x12c751,0x14,_0x572225[0x1b]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x8ae6b1,0x5,_0x572225[0x1c]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x5de48d,0x9,_0x572225[0x1d]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xc2972a,0xe,_0x572225[0x1e]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x3d11fb,0x14,_0x572225[0x1f]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x425110,0x4,_0x572225[0x20]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x12c751,0xb,_0x572225[0x21]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x4cead6,0x10,_0x572225[0x22]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x5577d0,0x17,_0x572225[0x23]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x36d936,0x4,_0x572225[0x24]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x18d042,0xb,_0x572225[0x25]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xc2972a,0x10,_0x572225[0x26]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x90dc65,0x17,_0x572225[0x27]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x8ae6b1,0x4,_0x572225[0x28]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x1de2a5,0xb,_0x572225[0x29]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x331427,0x10,_0x572225[0x2a]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0xaa59bd,0x17,_0x572225[0x2b]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x481849,0x4,_0x572225[0x2c]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x3d11fb,0xb,_0x572225[0x2d]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x339bfb,0x10,_0x572225[0x2e]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x5de48d,0x17,_0x572225[0x2f]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x1de2a5,0x6,_0x572225[0x30]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0xc2972a,0xa,_0x572225[0x31]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5577d0,0xf,_0x572225[0x32]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x425110,0x15,_0x572225[0x33]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x3d11fb,0x6,_0x572225[0x34]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x331427,0xa,_0x572225[0x35]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x90dc65,0xf,_0x572225[0x36]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x36d936,0x15,_0x572225[0x37]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x12c751,0x6,_0x572225[0x38]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x339bfb,0xa,_0x572225[0x39]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xaa59bd,0xf,_0x572225[0x3a]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x8ae6b1,0x15,_0x572225[0x3b]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x18d042,0x6,_0x572225[0x3c]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x4cead6,0xa,_0x572225[0x3d]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5de48d,0xf,_0x572225[0x3e]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x481849,0x15,_0x572225[0x3f]),_0x490575[0x0]=_0x490575[0x0]+_0x47039a|0x0,_0x490575[0x1]=_0x490575[0x1]+_0x1820b5|0x0,_0x490575[0x2]=_0x490575[0x2]+_0x4e9cc1|0x0,_0x490575[0x3]=_0x490575[0x3]+_0x2ff46b|0x0;},'_doFinalize':function(){var _0x40963d=_0x2cb3fc,_0x2eaa31=this[_0x40963d(0x268)],_0x1f1caf=_0x2eaa31[_0x40963d(0x3ea)],_0x5c68fe=this[_0x40963d(0x377)]*0x8,_0x577858=_0x2eaa31[_0x40963d(0x4cd)]*0x8;_0x1f1caf[_0x577858>>>0x5]|=0x80<<0x18-_0x577858%0x20;var _0x30c3e2=_0xc201e8[_0x40963d(0x28d)](_0x5c68fe/0x100000000),_0x2197cb=_0x5c68fe;_0x1f1caf[(_0x577858+0x40>>>0x9<<0x4)+0xf]=(_0x30c3e2<<0x8|_0x30c3e2>>>0x18)&0xff00ff|(_0x30c3e2<<0x18|_0x30c3e2>>>0x8)&0xff00ff00,_0x1f1caf[(_0x577858+0x40>>>0x9<<0x4)+0xe]=(_0x2197cb<<0x8|_0x2197cb>>>0x18)&0xff00ff|(_0x2197cb<<0x18|_0x2197cb>>>0x8)&0xff00ff00,_0x2eaa31['sigBytes']=(_0x1f1caf[_0x40963d(0x371)]+0x1)*0x4,this[_0x40963d(0x44f)]();for(var _0x326c75=this[_0x40963d(0x2b6)],_0x347581=_0x326c75['words'],_0x57e17b=0x0;_0x57e17b<0x4;_0x57e17b++){var _0x53c303=_0x347581[_0x57e17b];_0x347581[_0x57e17b]=(_0x53c303<<0x8|_0x53c303>>>0x18)&0xff00ff|(_0x53c303<<0x18|_0x53c303>>>0x8)&0xff00ff00;}return _0x326c75;},'clone':function(){var _0x53c011=_0x2cb3fc,_0x51277c=_0x445d38['clone'][_0x53c011(0x411)](this);return _0x51277c['_hash']=this[_0x53c011(0x2b6)]['clone'](),_0x51277c;}});function _0xe5311c(_0x30dffb,_0x4b997f,_0x14eab6,_0x30c20c,_0x4e340d,_0x5cb663,_0x6a4cd5){var _0x396cbb=_0x30dffb+(_0x4b997f&_0x14eab6|~_0x4b997f&_0x30c20c)+_0x4e340d+_0x6a4cd5;return(_0x396cbb<<_0x5cb663|_0x396cbb>>>0x20-_0x5cb663)+_0x4b997f;}function _0x7eb791(_0x2e5cad,_0x15af49,_0x223658,_0x61884c,_0x1967c5,_0x246955,_0x1e574d){var _0xf923ed=_0x2e5cad+(_0x15af49&_0x61884c|_0x223658&~_0x61884c)+_0x1967c5+_0x1e574d;return(_0xf923ed<<_0x246955|_0xf923ed>>>0x20-_0x246955)+_0x15af49;}function _0x909f29(_0x3922f7,_0x202eda,_0x584230,_0x3ef860,_0x32ee47,_0x512735,_0xcd4226){var _0x46a6bb=_0x3922f7+(_0x202eda^_0x584230^_0x3ef860)+_0x32ee47+_0xcd4226;return(_0x46a6bb<<_0x512735|_0x46a6bb>>>0x20-_0x512735)+_0x202eda;}function _0x3384b7(_0xa7839e,_0x34b68d,_0x36be6d,_0x387d68,_0x29947c,_0x5d69a9,_0x24f4c5){var _0x368859=_0xa7839e+(_0x36be6d^(_0x34b68d|~_0x387d68))+_0x29947c+_0x24f4c5;return(_0x368859<<_0x5d69a9|_0x368859>>>0x20-_0x5d69a9)+_0x34b68d;}_0x33a673[_0x2cb3fc(0x2b8)]=_0x445d38[_0x2cb3fc(0x283)](_0xcefe57),_0x33a673['HmacMD5']=_0x445d38[_0x2cb3fc(0x1bd)](_0xcefe57);}(Math),_0x1a4dde['MD5'];}));}(pe)),pe['exports'];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x10f867(0x1cd)],Je;function Ni(){return Je||(Je=0x1,function(_0x383090,_0x3a0dfe){(function(_0x415b30,_0x16d673){_0x383090['exports']=_0x16d673(Z());}(Ri,function(_0x2f87c2){return(function(){var _0x15cded=_0x4aec,_0x4af5b7=_0x2f87c2,_0x18f464=_0x4af5b7[_0x15cded(0x4eb)],_0x15300b=_0x18f464[_0x15cded(0x4fc)],_0x2b5909=_0x18f464[_0x15cded(0x3a7)],_0x3d0743=_0x4af5b7[_0x15cded(0x3db)],_0x5c0369=[],_0x1bfff8=_0x3d0743[_0x15cded(0x1b7)]=_0x2b5909[_0x15cded(0x285)]({'_doReset':function(){this['_hash']=new _0x15300b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xe3a632,_0x580b0e){var _0x157fe8=_0x15cded;for(var _0x28cb11=this[_0x157fe8(0x2b6)][_0x157fe8(0x3ea)],_0x2505fa=_0x28cb11[0x0],_0xe1d6fd=_0x28cb11[0x1],_0xd98506=_0x28cb11[0x2],_0x1fd9aa=_0x28cb11[0x3],_0x555c22=_0x28cb11[0x4],_0x2040b2=0x0;_0x2040b2<0x50;_0x2040b2++){if(_0x2040b2<0x10)_0x5c0369[_0x2040b2]=_0xe3a632[_0x580b0e+_0x2040b2]|0x0;else{var _0x2886f5=_0x5c0369[_0x2040b2-0x3]^_0x5c0369[_0x2040b2-0x8]^_0x5c0369[_0x2040b2-0xe]^_0x5c0369[_0x2040b2-0x10];_0x5c0369[_0x2040b2]=_0x2886f5<<0x1|_0x2886f5>>>0x1f;}var _0x488ea9=(_0x2505fa<<0x5|_0x2505fa>>>0x1b)+_0x555c22+_0x5c0369[_0x2040b2];_0x2040b2<0x14?_0x488ea9+=(_0xe1d6fd&_0xd98506|~_0xe1d6fd&_0x1fd9aa)+0x5a827999:_0x2040b2<0x28?_0x488ea9+=(_0xe1d6fd^_0xd98506^_0x1fd9aa)+0x6ed9eba1:_0x2040b2<0x3c?_0x488ea9+=(_0xe1d6fd&_0xd98506|_0xe1d6fd&_0x1fd9aa|_0xd98506&_0x1fd9aa)-0x70e44324:_0x488ea9+=(_0xe1d6fd^_0xd98506^_0x1fd9aa)-0x359d3e2a,_0x555c22=_0x1fd9aa,_0x1fd9aa=_0xd98506,_0xd98506=_0xe1d6fd<<0x1e|_0xe1d6fd>>>0x2,_0xe1d6fd=_0x2505fa,_0x2505fa=_0x488ea9;}_0x28cb11[0x0]=_0x28cb11[0x0]+_0x2505fa|0x0,_0x28cb11[0x1]=_0x28cb11[0x1]+_0xe1d6fd|0x0,_0x28cb11[0x2]=_0x28cb11[0x2]+_0xd98506|0x0,_0x28cb11[0x3]=_0x28cb11[0x3]+_0x1fd9aa|0x0,_0x28cb11[0x4]=_0x28cb11[0x4]+_0x555c22|0x0;},'_doFinalize':function(){var _0x45258b=_0x15cded,_0x7c8cdc=this['_data'],_0xe1fb1a=_0x7c8cdc[_0x45258b(0x3ea)],_0x3567c2=this[_0x45258b(0x377)]*0x8,_0x14d512=_0x7c8cdc[_0x45258b(0x4cd)]*0x8;return _0xe1fb1a[_0x14d512>>>0x5]|=0x80<<0x18-_0x14d512%0x20,_0xe1fb1a[(_0x14d512+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3567c2/0x100000000),_0xe1fb1a[(_0x14d512+0x40>>>0x9<<0x4)+0xf]=_0x3567c2,_0x7c8cdc[_0x45258b(0x4cd)]=_0xe1fb1a['length']*0x4,this[_0x45258b(0x44f)](),this['_hash'];},'clone':function(){var _0x16bb5c=_0x15cded,_0x26f4c4=_0x2b5909[_0x16bb5c(0x33b)][_0x16bb5c(0x411)](this);return _0x26f4c4[_0x16bb5c(0x2b6)]=this[_0x16bb5c(0x2b6)][_0x16bb5c(0x33b)](),_0x26f4c4;}});_0x4af5b7[_0x15cded(0x1b7)]=_0x2b5909['_createHelper'](_0x1bfff8),_0x4af5b7[_0x15cded(0x3b2)]=_0x2b5909[_0x15cded(0x1bd)](_0x1bfff8);}()),_0x2f87c2['SHA1'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Di=Te['exports'],Ze;function yi(){var _0x1ae132=_0x10f867;return Ze||(Ze=0x1,function(_0x1c3b9b,_0x241753){(function(_0x67697,_0x37ead2){_0x1c3b9b['exports']=_0x37ead2(Z());}(Di,function(_0x5e26ba){(function(){var _0x3196da=_0x4aec,_0x1cc2f3=_0x5e26ba,_0x1d40b5=_0x1cc2f3[_0x3196da(0x4eb)],_0x17cbd7=_0x1d40b5[_0x3196da(0x35d)],_0x2002c7=_0x1cc2f3[_0x3196da(0x216)],_0x422857=_0x2002c7['Utf8'],_0x5c5113=_0x1cc2f3[_0x3196da(0x3db)];_0x5c5113['HMAC']=_0x17cbd7[_0x3196da(0x285)]({'init':function(_0x10dd7b,_0xb333b4){var _0x11f1c3=_0x3196da;_0x10dd7b=this[_0x11f1c3(0x28e)]=new _0x10dd7b[(_0x11f1c3(0x1e0))](),typeof _0xb333b4==_0x11f1c3(0x356)&&(_0xb333b4=_0x422857[_0x11f1c3(0x477)](_0xb333b4));var _0x29ef82=_0x10dd7b['blockSize'],_0x330371=_0x29ef82*0x4;_0xb333b4[_0x11f1c3(0x4cd)]>_0x330371&&(_0xb333b4=_0x10dd7b[_0x11f1c3(0x4ff)](_0xb333b4)),_0xb333b4[_0x11f1c3(0x1ec)]();for(var _0x26a0fb=this['_oKey']=_0xb333b4[_0x11f1c3(0x33b)](),_0x55ed91=this[_0x11f1c3(0x1c4)]=_0xb333b4[_0x11f1c3(0x33b)](),_0x18afeb=_0x26a0fb[_0x11f1c3(0x3ea)],_0x21fe56=_0x55ed91['words'],_0x4084f8=0x0;_0x4084f8<_0x29ef82;_0x4084f8++)_0x18afeb[_0x4084f8]^=0x5c5c5c5c,_0x21fe56[_0x4084f8]^=0x36363636;_0x26a0fb[_0x11f1c3(0x4cd)]=_0x55ed91[_0x11f1c3(0x4cd)]=_0x330371,this[_0x11f1c3(0x232)]();},'reset':function(){var _0x5986a7=_0x3196da,_0x3f1011=this[_0x5986a7(0x28e)];_0x3f1011[_0x5986a7(0x232)](),_0x3f1011[_0x5986a7(0x4e1)](this['_iKey']);},'update':function(_0x30a34b){var _0x1514dc=_0x3196da;return this[_0x1514dc(0x28e)][_0x1514dc(0x4e1)](_0x30a34b),this;},'finalize':function(_0x2aa87e){var _0x297159=_0x3196da,_0x34e6d4=this['_hasher'],_0x2593d9=_0x34e6d4[_0x297159(0x4ff)](_0x2aa87e);_0x34e6d4[_0x297159(0x232)]();var _0x333723=_0x34e6d4['finalize'](this['_oKey'][_0x297159(0x33b)]()[_0x297159(0x448)](_0x2593d9));return _0x333723;}});}());}));}(Te)),Te[_0x1ae132(0x1cd)];}var Ui=me[_0x10f867(0x1cd)],Qe;function Ct(){var _0x3cbb32=_0x10f867;return Qe||(Qe=0x1,function(_0x1fe651,_0x5e485c){(function(_0x164eb2,_0x5ee3bf,_0x3a4815){var _0x267dc7=_0x4aec;_0x1fe651[_0x267dc7(0x1cd)]=_0x5ee3bf(Z(),Ni(),yi());}(Ui,function(_0xdbb29c){var _0x223ecc=_0x4aec;return(function(){var _0x202590=_0x4aec,_0x27b662=_0xdbb29c,_0x12641b=_0x27b662['lib'],_0x37acc4=_0x12641b[_0x202590(0x35d)],_0x2c35c6=_0x12641b[_0x202590(0x4fc)],_0x183d1a=_0x27b662[_0x202590(0x3db)],_0x4e3413=_0x183d1a[_0x202590(0x2b8)],_0x4eb62e=_0x183d1a[_0x202590(0x2c0)]=_0x37acc4[_0x202590(0x285)]({'cfg':_0x37acc4['extend']({'keySize':0x80/0x20,'hasher':_0x4e3413,'iterations':0x1}),'init':function(_0x342f50){var _0x3486fe=_0x202590;this[_0x3486fe(0x3fa)]=this[_0x3486fe(0x3fa)][_0x3486fe(0x285)](_0x342f50);},'compute':function(_0x355855,_0x1d29ed){var _0xdf6eaf=_0x202590;for(var _0x5b9745,_0x282e60=this[_0xdf6eaf(0x3fa)],_0x187773=_0x282e60[_0xdf6eaf(0x335)][_0xdf6eaf(0x2be)](),_0x519341=_0x2c35c6['create'](),_0x465249=_0x519341[_0xdf6eaf(0x3ea)],_0x1dff24=_0x282e60[_0xdf6eaf(0x3d9)],_0x533b38=_0x282e60['iterations'];_0x465249[_0xdf6eaf(0x371)]<_0x1dff24;){_0x5b9745&&_0x187773[_0xdf6eaf(0x4e1)](_0x5b9745),_0x5b9745=_0x187773['update'](_0x355855)[_0xdf6eaf(0x4ff)](_0x1d29ed),_0x187773[_0xdf6eaf(0x232)]();for(var _0x178409=0x1;_0x178409<_0x533b38;_0x178409++)_0x5b9745=_0x187773[_0xdf6eaf(0x4ff)](_0x5b9745),_0x187773[_0xdf6eaf(0x232)]();_0x519341[_0xdf6eaf(0x448)](_0x5b9745);}return _0x519341[_0xdf6eaf(0x4cd)]=_0x1dff24*0x4,_0x519341;}});_0x27b662[_0x202590(0x2c0)]=function(_0x2ab64f,_0x1e1cca,_0x3ecd50){var _0x485e37=_0x202590;return _0x4eb62e['create'](_0x3ecd50)[_0x485e37(0x366)](_0x2ab64f,_0x1e1cca);};}()),_0xdbb29c[_0x223ecc(0x2c0)];}));}(me)),me[_0x3cbb32(0x1cd)];}var Ce={'exports':{}},Ai=Ce['exports'],et;function Ot(){var _0x87f755=_0x10f867;return et||(et=0x1,function(_0x497544,_0x1f8693){(function(_0x4f12b3,_0x333dc3,_0x2cb507){var _0x2d5104=_0x4aec;_0x497544[_0x2d5104(0x1cd)]=_0x333dc3(Z(),Ct());}(Ai,function(_0x520f5e){var _0x23b6b3=_0x4aec;_0x520f5e[_0x23b6b3(0x4eb)][_0x23b6b3(0x4d0)]||function(_0x576133){var _0x518991=_0x23b6b3,_0x290048=_0x520f5e,_0x528eac=_0x290048[_0x518991(0x4eb)],_0x2647d0=_0x528eac['Base'],_0x4ffd36=_0x528eac['WordArray'],_0x1fe0f3=_0x528eac['BufferedBlockAlgorithm'],_0x505073=_0x290048[_0x518991(0x216)];_0x505073[_0x518991(0x4ef)];var _0x460307=_0x505073[_0x518991(0x489)],_0x1c2cda=_0x290048[_0x518991(0x3db)],_0xc720a5=_0x1c2cda[_0x518991(0x2c0)],_0x577e69=_0x528eac[_0x518991(0x4d0)]=_0x1fe0f3[_0x518991(0x285)]({'cfg':_0x2647d0[_0x518991(0x285)](),'createEncryptor':function(_0x5a615f,_0x28de6c){var _0x5761fe=_0x518991;return this[_0x5761fe(0x2be)](this[_0x5761fe(0x46f)],_0x5a615f,_0x28de6c);},'createDecryptor':function(_0x254826,_0x4861d9){var _0xf51f8b=_0x518991;return this[_0xf51f8b(0x2be)](this['_DEC_XFORM_MODE'],_0x254826,_0x4861d9);},'init':function(_0x9d96ea,_0x307525,_0x3f9280){var _0x5d3e0c=_0x518991;this[_0x5d3e0c(0x3fa)]=this['cfg']['extend'](_0x3f9280),this['_xformMode']=_0x9d96ea,this[_0x5d3e0c(0x41d)]=_0x307525,this[_0x5d3e0c(0x232)]();},'reset':function(){var _0x5ead81=_0x518991;_0x1fe0f3[_0x5ead81(0x232)][_0x5ead81(0x411)](this),this[_0x5ead81(0x387)]();},'process':function(_0x2a2ccd){var _0x3c92d7=_0x518991;return this[_0x3c92d7(0x28f)](_0x2a2ccd),this[_0x3c92d7(0x44f)]();},'finalize':function(_0x86cf02){var _0x2d0750=_0x518991;_0x86cf02&&this['_append'](_0x86cf02);var _0x1864b7=this[_0x2d0750(0x23e)]();return _0x1864b7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x13fa73(_0x5bf0a4){var _0x516028=_0x4aec;return typeof _0x5bf0a4==_0x516028(0x356)?_0x2b579f:_0x258f76;}return function(_0x3592d){return{'encrypt':function(_0xdd794b,_0x2998a7,_0x433715){return _0x13fa73(_0x2998a7)['encrypt'](_0x3592d,_0xdd794b,_0x2998a7,_0x433715);},'decrypt':function(_0x2817a,_0x232702,_0x23fcdf){var _0xa17468=_0x4aec;return _0x13fa73(_0x232702)[_0xa17468(0x31b)](_0x3592d,_0x2817a,_0x232702,_0x23fcdf);}};};}())});_0x528eac[_0x518991(0x473)]=_0x577e69['extend']({'_doFinalize':function(){var _0x2b2b9e=_0x518991,_0x88a88e=this[_0x2b2b9e(0x44f)](!0x0);return _0x88a88e;},'blockSize':0x1});var _0x2b1076=_0x290048[_0x518991(0x353)]={},_0x354839=_0x528eac[_0x518991(0x258)]=_0x2647d0[_0x518991(0x285)]({'createEncryptor':function(_0xbf924d,_0x429468){var _0xafa8f7=_0x518991;return this['Encryptor'][_0xafa8f7(0x2be)](_0xbf924d,_0x429468);},'createDecryptor':function(_0x47fdfa,_0x37e425){var _0x1a1103=_0x518991;return this['Decryptor'][_0x1a1103(0x2be)](_0x47fdfa,_0x37e425);},'init':function(_0xc3b7fa,_0x1d333e){var _0x3ea5f7=_0x518991;this['_cipher']=_0xc3b7fa,this[_0x3ea5f7(0x414)]=_0x1d333e;}}),_0x5e0ff8=_0x2b1076['CBC']=(function(){var _0x28d88a=_0x518991,_0x337fa0=_0x354839['extend']();_0x337fa0[_0x28d88a(0x3ad)]=_0x337fa0[_0x28d88a(0x285)]({'processBlock':function(_0x594077,_0x15c278){var _0x514ee2=_0x28d88a,_0x560723=this['_cipher'],_0x32f2ea=_0x560723[_0x514ee2(0x457)];_0xcadbb1[_0x514ee2(0x411)](this,_0x594077,_0x15c278,_0x32f2ea),_0x560723[_0x514ee2(0x2d5)](_0x594077,_0x15c278),this['_prevBlock']=_0x594077[_0x514ee2(0x4ab)](_0x15c278,_0x15c278+_0x32f2ea);}}),_0x337fa0[_0x28d88a(0x1be)]=_0x337fa0[_0x28d88a(0x285)]({'processBlock':function(_0xcce66e,_0x5dbc6e){var _0x150679=_0x28d88a,_0x2bfd42=this[_0x150679(0x3a3)],_0x54ea0c=_0x2bfd42[_0x150679(0x457)],_0x180377=_0xcce66e[_0x150679(0x4ab)](_0x5dbc6e,_0x5dbc6e+_0x54ea0c);_0x2bfd42[_0x150679(0x3d0)](_0xcce66e,_0x5dbc6e),_0xcadbb1[_0x150679(0x411)](this,_0xcce66e,_0x5dbc6e,_0x54ea0c),this['_prevBlock']=_0x180377;}});function _0xcadbb1(_0xdedbe6,_0x43286b,_0x50e7b5){var _0x3655a0=_0x28d88a,_0x5a20f3,_0x365554=this['_iv'];_0x365554?(_0x5a20f3=_0x365554,this[_0x3655a0(0x414)]=_0x576133):_0x5a20f3=this['_prevBlock'];for(var _0x1b562b=0x0;_0x1b562b<_0x50e7b5;_0x1b562b++)_0xdedbe6[_0x43286b+_0x1b562b]^=_0x5a20f3[_0x1b562b];}return _0x337fa0;}()),_0x400a88=_0x290048[_0x518991(0x27e)]={},_0x369aff=_0x400a88[_0x518991(0x2e6)]={'pad':function(_0x2f459b,_0x46232f){var _0x232b79=_0x518991;for(var _0x384314=_0x46232f*0x4,_0xe68b46=_0x384314-_0x2f459b[_0x232b79(0x4cd)]%_0x384314,_0x7d4382=_0xe68b46<<0x18|_0xe68b46<<0x10|_0xe68b46<<0x8|_0xe68b46,_0x31346c=[],_0x22ff73=0x0;_0x22ff73<_0xe68b46;_0x22ff73+=0x4)_0x31346c[_0x232b79(0x24d)](_0x7d4382);var _0xdb5c2c=_0x4ffd36[_0x232b79(0x2be)](_0x31346c,_0xe68b46);_0x2f459b[_0x232b79(0x448)](_0xdb5c2c);},'unpad':function(_0x398b3f){var _0x204131=_0x518991,_0x58819e=_0x398b3f[_0x204131(0x3ea)][_0x398b3f['sigBytes']-0x1>>>0x2]&0xff;_0x398b3f[_0x204131(0x4cd)]-=_0x58819e;}};_0x528eac[_0x518991(0x1a1)]=_0x577e69[_0x518991(0x285)]({'cfg':_0x577e69[_0x518991(0x3fa)][_0x518991(0x285)]({'mode':_0x5e0ff8,'padding':_0x369aff}),'reset':function(){var _0x56e472=_0x518991,_0x53901a;_0x577e69[_0x56e472(0x232)]['call'](this);var _0x13a0fe=this['cfg'],_0x4d0b37=_0x13a0fe['iv'],_0xb6e687=_0x13a0fe[_0x56e472(0x353)];this[_0x56e472(0x2e2)]==this['_ENC_XFORM_MODE']?_0x53901a=_0xb6e687[_0x56e472(0x4d3)]:(_0x53901a=_0xb6e687['createDecryptor'],this[_0x56e472(0x3f9)]=0x1),this[_0x56e472(0x325)]&&this[_0x56e472(0x325)]['__creator']==_0x53901a?this[_0x56e472(0x325)]['init'](this,_0x4d0b37&&_0x4d0b37[_0x56e472(0x3ea)]):(this[_0x56e472(0x325)]=_0x53901a[_0x56e472(0x411)](_0xb6e687,this,_0x4d0b37&&_0x4d0b37[_0x56e472(0x3ea)]),this[_0x56e472(0x325)][_0x56e472(0x3ca)]=_0x53901a);},'_doProcessBlock':function(_0x516157,_0x59eb96){var _0x2f9a49=_0x518991;this[_0x2f9a49(0x325)][_0x2f9a49(0x282)](_0x516157,_0x59eb96);},'_doFinalize':function(){var _0x3c0b66=_0x518991,_0x5eb532,_0x444687=this[_0x3c0b66(0x3fa)][_0x3c0b66(0x312)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x444687['pad'](this[_0x3c0b66(0x268)],this[_0x3c0b66(0x457)]),_0x5eb532=this[_0x3c0b66(0x44f)](!0x0)):(_0x5eb532=this[_0x3c0b66(0x44f)](!0x0),_0x444687[_0x3c0b66(0x40e)](_0x5eb532)),_0x5eb532;},'blockSize':0x80/0x20});var _0x25ef3d=_0x528eac['CipherParams']=_0x2647d0[_0x518991(0x285)]({'init':function(_0x2090d5){var _0x446faa=_0x518991;this[_0x446faa(0x391)](_0x2090d5);},'toString':function(_0x2cef21){var _0x57f576=_0x518991;return(_0x2cef21||this[_0x57f576(0x307)])[_0x57f576(0x34f)](this);}}),_0x4bd7c2=_0x290048[_0x518991(0x48d)]={},_0x271be7=_0x4bd7c2[_0x518991(0x1ce)]={'stringify':function(_0x574a82){var _0x5975f2=_0x518991,_0x57aab6,_0xa6d0a7=_0x574a82['ciphertext'],_0x47b12d=_0x574a82[_0x5975f2(0x222)];return _0x47b12d?_0x57aab6=_0x4ffd36[_0x5975f2(0x2be)]([0x53616c74,0x65645f5f])[_0x5975f2(0x448)](_0x47b12d)[_0x5975f2(0x448)](_0xa6d0a7):_0x57aab6=_0xa6d0a7,_0x57aab6[_0x5975f2(0x376)](_0x460307);},'parse':function(_0x4cb0dc){var _0x34e69a=_0x518991,_0x323eea,_0x5f44fe=_0x460307['parse'](_0x4cb0dc),_0x2cc0cb=_0x5f44fe[_0x34e69a(0x3ea)];return _0x2cc0cb[0x0]==0x53616c74&&_0x2cc0cb[0x1]==0x65645f5f&&(_0x323eea=_0x4ffd36[_0x34e69a(0x2be)](_0x2cc0cb['slice'](0x2,0x4)),_0x2cc0cb['splice'](0x0,0x4),_0x5f44fe['sigBytes']-=0x10),_0x25ef3d['create']({'ciphertext':_0x5f44fe,'salt':_0x323eea});}},_0x258f76=_0x528eac[_0x518991(0x266)]=_0x2647d0[_0x518991(0x285)]({'cfg':_0x2647d0[_0x518991(0x285)]({'format':_0x271be7}),'encrypt':function(_0x3693cd,_0x3b21a5,_0x4374c7,_0x476f06){var _0x57288c=_0x518991;_0x476f06=this['cfg']['extend'](_0x476f06);var _0x19c66f=_0x3693cd[_0x57288c(0x4d3)](_0x4374c7,_0x476f06),_0x5e11c6=_0x19c66f[_0x57288c(0x4ff)](_0x3b21a5),_0x46d415=_0x19c66f[_0x57288c(0x3fa)];return _0x25ef3d[_0x57288c(0x2be)]({'ciphertext':_0x5e11c6,'key':_0x4374c7,'iv':_0x46d415['iv'],'algorithm':_0x3693cd,'mode':_0x46d415['mode'],'padding':_0x46d415[_0x57288c(0x312)],'blockSize':_0x3693cd['blockSize'],'formatter':_0x476f06['format']});},'decrypt':function(_0xc8c710,_0xb38a25,_0x31848d,_0x4105a8){var _0x21af1d=_0x518991;_0x4105a8=this[_0x21af1d(0x3fa)][_0x21af1d(0x285)](_0x4105a8),_0xb38a25=this[_0x21af1d(0x3fb)](_0xb38a25,_0x4105a8['format']);var _0xd20dc9=_0xc8c710[_0x21af1d(0x200)](_0x31848d,_0x4105a8)[_0x21af1d(0x4ff)](_0xb38a25[_0x21af1d(0x324)]);return _0xd20dc9;},'_parse':function(_0x2ec8c5,_0x342fe9){var _0xc7b309=_0x518991;return typeof _0x2ec8c5==_0xc7b309(0x356)?_0x342fe9[_0xc7b309(0x477)](_0x2ec8c5,this):_0x2ec8c5;}}),_0xda9acb=_0x290048[_0x518991(0x394)]={},_0x395861=_0xda9acb['OpenSSL']={'execute':function(_0x425df3,_0x7769ea,_0x52a25d,_0x1bad70,_0x50e6f2){var _0x3482f3=_0x518991;if(_0x1bad70||(_0x1bad70=_0x4ffd36[_0x3482f3(0x1f7)](0x40/0x8)),_0x50e6f2)var _0x4fd7e8=_0xc720a5['create']({'keySize':_0x7769ea+_0x52a25d,'hasher':_0x50e6f2})['compute'](_0x425df3,_0x1bad70);else var _0x4fd7e8=_0xc720a5[_0x3482f3(0x2be)]({'keySize':_0x7769ea+_0x52a25d})[_0x3482f3(0x366)](_0x425df3,_0x1bad70);var _0x1d6cb9=_0x4ffd36['create'](_0x4fd7e8[_0x3482f3(0x3ea)][_0x3482f3(0x4ab)](_0x7769ea),_0x52a25d*0x4);return _0x4fd7e8[_0x3482f3(0x4cd)]=_0x7769ea*0x4,_0x25ef3d[_0x3482f3(0x2be)]({'key':_0x4fd7e8,'iv':_0x1d6cb9,'salt':_0x1bad70});}},_0x2b579f=_0x528eac[_0x518991(0x20d)]=_0x258f76[_0x518991(0x285)]({'cfg':_0x258f76[_0x518991(0x3fa)][_0x518991(0x285)]({'kdf':_0x395861}),'encrypt':function(_0x111325,_0x326278,_0xcab12,_0x15716e){var _0x2b4778=_0x518991;_0x15716e=this[_0x2b4778(0x3fa)][_0x2b4778(0x285)](_0x15716e);var _0x5200bc=_0x15716e[_0x2b4778(0x394)]['execute'](_0xcab12,_0x111325['keySize'],_0x111325[_0x2b4778(0x494)],_0x15716e[_0x2b4778(0x222)],_0x15716e[_0x2b4778(0x335)]);_0x15716e['iv']=_0x5200bc['iv'];var _0x49864e=_0x258f76['encrypt'][_0x2b4778(0x411)](this,_0x111325,_0x326278,_0x5200bc['key'],_0x15716e);return _0x49864e[_0x2b4778(0x391)](_0x5200bc),_0x49864e;},'decrypt':function(_0x48cf11,_0x3a8929,_0xfb724c,_0x1bccf8){var _0x540f2d=_0x518991;_0x1bccf8=this[_0x540f2d(0x3fa)]['extend'](_0x1bccf8),_0x3a8929=this[_0x540f2d(0x3fb)](_0x3a8929,_0x1bccf8['format']);var _0x150d80=_0x1bccf8[_0x540f2d(0x394)][_0x540f2d(0x287)](_0xfb724c,_0x48cf11[_0x540f2d(0x3d9)],_0x48cf11[_0x540f2d(0x494)],_0x3a8929[_0x540f2d(0x222)],_0x1bccf8[_0x540f2d(0x335)]);_0x1bccf8['iv']=_0x150d80['iv'];var _0x340327=_0x258f76['decrypt']['call'](this,_0x48cf11,_0x3a8929,_0x150d80[_0x540f2d(0x1ee)],_0x1bccf8);return _0x340327;}});}();}));}(Ce)),Ce[_0x87f755(0x1cd)];}var Pi=Ie[_0x10f867(0x1cd)],tt;function Li(){var _0x14c56f=_0x10f867;return tt||(tt=0x1,function(_0x489af9,_0x304057){(function(_0x14699a,_0x59e22e,_0x5ca579){_0x489af9['exports']=_0x59e22e(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x2d9482){return(function(){var _0x448766=_0x4aec,_0x58043b=_0x2d9482,_0x39f8e2=_0x58043b[_0x448766(0x4eb)],_0x59ed18=_0x39f8e2[_0x448766(0x1a1)],_0x5313af=_0x58043b[_0x448766(0x3db)],_0x4ecdbc=[],_0x14f312=[],_0x49823c=[],_0x4a7f05=[],_0x441927=[],_0x40ff7a=[],_0xeae7f5=[],_0x868835=[],_0x4288a6=[],_0x1c5bad=[];(function(){for(var _0x12befb=[],_0x48cb10=0x0;_0x48cb10<0x100;_0x48cb10++)_0x48cb10<0x80?_0x12befb[_0x48cb10]=_0x48cb10<<0x1:_0x12befb[_0x48cb10]=_0x48cb10<<0x1^0x11b;for(var _0x18b13e=0x0,_0x4903f6=0x0,_0x48cb10=0x0;_0x48cb10<0x100;_0x48cb10++){var _0x23362f=_0x4903f6^_0x4903f6<<0x1^_0x4903f6<<0x2^_0x4903f6<<0x3^_0x4903f6<<0x4;_0x23362f=_0x23362f>>>0x8^_0x23362f&0xff^0x63,_0x4ecdbc[_0x18b13e]=_0x23362f,_0x14f312[_0x23362f]=_0x18b13e;var _0x4c2ea8=_0x12befb[_0x18b13e],_0x31c0d5=_0x12befb[_0x4c2ea8],_0x18fbf8=_0x12befb[_0x31c0d5],_0x11ccad=_0x12befb[_0x23362f]*0x101^_0x23362f*0x1010100;_0x49823c[_0x18b13e]=_0x11ccad<<0x18|_0x11ccad>>>0x8,_0x4a7f05[_0x18b13e]=_0x11ccad<<0x10|_0x11ccad>>>0x10,_0x441927[_0x18b13e]=_0x11ccad<<0x8|_0x11ccad>>>0x18,_0x40ff7a[_0x18b13e]=_0x11ccad;var _0x11ccad=_0x18fbf8*0x1010101^_0x31c0d5*0x10001^_0x4c2ea8*0x101^_0x18b13e*0x1010100;_0xeae7f5[_0x23362f]=_0x11ccad<<0x18|_0x11ccad>>>0x8,_0x868835[_0x23362f]=_0x11ccad<<0x10|_0x11ccad>>>0x10,_0x4288a6[_0x23362f]=_0x11ccad<<0x8|_0x11ccad>>>0x18,_0x1c5bad[_0x23362f]=_0x11ccad,_0x18b13e?(_0x18b13e=_0x4c2ea8^_0x12befb[_0x12befb[_0x12befb[_0x18fbf8^_0x4c2ea8]]],_0x4903f6^=_0x12befb[_0x12befb[_0x4903f6]]):_0x18b13e=_0x4903f6=0x1;}}());var _0x5db09a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1b8c9e=_0x5313af[_0x448766(0x49d)]=_0x59ed18['extend']({'_doReset':function(){var _0x3297d1=_0x448766,_0xef024b;if(!(this['_nRounds']&&this[_0x3297d1(0x1b9)]===this[_0x3297d1(0x41d)])){for(var _0x16e017=this[_0x3297d1(0x1b9)]=this['_key'],_0x1e4699=_0x16e017[_0x3297d1(0x3ea)],_0x519b58=_0x16e017['sigBytes']/0x4,_0x176ee2=this[_0x3297d1(0x439)]=_0x519b58+0x6,_0xaa82c3=(_0x176ee2+0x1)*0x4,_0x35cd3e=this['_keySchedule']=[],_0xc1edd7=0x0;_0xc1edd7<_0xaa82c3;_0xc1edd7++)_0xc1edd7<_0x519b58?_0x35cd3e[_0xc1edd7]=_0x1e4699[_0xc1edd7]:(_0xef024b=_0x35cd3e[_0xc1edd7-0x1],_0xc1edd7%_0x519b58?_0x519b58>0x6&&_0xc1edd7%_0x519b58==0x4&&(_0xef024b=_0x4ecdbc[_0xef024b>>>0x18]<<0x18|_0x4ecdbc[_0xef024b>>>0x10&0xff]<<0x10|_0x4ecdbc[_0xef024b>>>0x8&0xff]<<0x8|_0x4ecdbc[_0xef024b&0xff]):(_0xef024b=_0xef024b<<0x8|_0xef024b>>>0x18,_0xef024b=_0x4ecdbc[_0xef024b>>>0x18]<<0x18|_0x4ecdbc[_0xef024b>>>0x10&0xff]<<0x10|_0x4ecdbc[_0xef024b>>>0x8&0xff]<<0x8|_0x4ecdbc[_0xef024b&0xff],_0xef024b^=_0x5db09a[_0xc1edd7/_0x519b58|0x0]<<0x18),_0x35cd3e[_0xc1edd7]=_0x35cd3e[_0xc1edd7-_0x519b58]^_0xef024b);for(var _0x6ae75b=this[_0x3297d1(0x2c3)]=[],_0x29e740=0x0;_0x29e740<_0xaa82c3;_0x29e740++){var _0xc1edd7=_0xaa82c3-_0x29e740;if(_0x29e740%0x4)var _0xef024b=_0x35cd3e[_0xc1edd7];else var _0xef024b=_0x35cd3e[_0xc1edd7-0x4];_0x29e740<0x4||_0xc1edd7<=0x4?_0x6ae75b[_0x29e740]=_0xef024b:_0x6ae75b[_0x29e740]=_0xeae7f5[_0x4ecdbc[_0xef024b>>>0x18]]^_0x868835[_0x4ecdbc[_0xef024b>>>0x10&0xff]]^_0x4288a6[_0x4ecdbc[_0xef024b>>>0x8&0xff]]^_0x1c5bad[_0x4ecdbc[_0xef024b&0xff]];}}},'encryptBlock':function(_0x583a30,_0x565380){var _0x575962=_0x448766;this['_doCryptBlock'](_0x583a30,_0x565380,this[_0x575962(0x1f5)],_0x49823c,_0x4a7f05,_0x441927,_0x40ff7a,_0x4ecdbc);},'decryptBlock':function(_0x26390a,_0x553858){var _0x5c0687=_0x448766,_0x4a57de=_0x26390a[_0x553858+0x1];_0x26390a[_0x553858+0x1]=_0x26390a[_0x553858+0x3],_0x26390a[_0x553858+0x3]=_0x4a57de,this['_doCryptBlock'](_0x26390a,_0x553858,this[_0x5c0687(0x2c3)],_0xeae7f5,_0x868835,_0x4288a6,_0x1c5bad,_0x14f312);var _0x4a57de=_0x26390a[_0x553858+0x1];_0x26390a[_0x553858+0x1]=_0x26390a[_0x553858+0x3],_0x26390a[_0x553858+0x3]=_0x4a57de;},'_doCryptBlock':function(_0x35ed03,_0x4332f9,_0x6ea3fa,_0x517943,_0x1727d4,_0x16ba75,_0xde57f6,_0x1871e9){var _0x460a73=_0x448766;for(var _0x47dde7=this[_0x460a73(0x439)],_0x329889=_0x35ed03[_0x4332f9]^_0x6ea3fa[0x0],_0x374bc2=_0x35ed03[_0x4332f9+0x1]^_0x6ea3fa[0x1],_0x3024fc=_0x35ed03[_0x4332f9+0x2]^_0x6ea3fa[0x2],_0x4c3cc6=_0x35ed03[_0x4332f9+0x3]^_0x6ea3fa[0x3],_0x256f0d=0x4,_0x370982=0x1;_0x370982<_0x47dde7;_0x370982++){var _0xe760e6=_0x517943[_0x329889>>>0x18]^_0x1727d4[_0x374bc2>>>0x10&0xff]^_0x16ba75[_0x3024fc>>>0x8&0xff]^_0xde57f6[_0x4c3cc6&0xff]^_0x6ea3fa[_0x256f0d++],_0x139b03=_0x517943[_0x374bc2>>>0x18]^_0x1727d4[_0x3024fc>>>0x10&0xff]^_0x16ba75[_0x4c3cc6>>>0x8&0xff]^_0xde57f6[_0x329889&0xff]^_0x6ea3fa[_0x256f0d++],_0x3b91dc=_0x517943[_0x3024fc>>>0x18]^_0x1727d4[_0x4c3cc6>>>0x10&0xff]^_0x16ba75[_0x329889>>>0x8&0xff]^_0xde57f6[_0x374bc2&0xff]^_0x6ea3fa[_0x256f0d++],_0x2fa616=_0x517943[_0x4c3cc6>>>0x18]^_0x1727d4[_0x329889>>>0x10&0xff]^_0x16ba75[_0x374bc2>>>0x8&0xff]^_0xde57f6[_0x3024fc&0xff]^_0x6ea3fa[_0x256f0d++];_0x329889=_0xe760e6,_0x374bc2=_0x139b03,_0x3024fc=_0x3b91dc,_0x4c3cc6=_0x2fa616;}var _0xe760e6=(_0x1871e9[_0x329889>>>0x18]<<0x18|_0x1871e9[_0x374bc2>>>0x10&0xff]<<0x10|_0x1871e9[_0x3024fc>>>0x8&0xff]<<0x8|_0x1871e9[_0x4c3cc6&0xff])^_0x6ea3fa[_0x256f0d++],_0x139b03=(_0x1871e9[_0x374bc2>>>0x18]<<0x18|_0x1871e9[_0x3024fc>>>0x10&0xff]<<0x10|_0x1871e9[_0x4c3cc6>>>0x8&0xff]<<0x8|_0x1871e9[_0x329889&0xff])^_0x6ea3fa[_0x256f0d++],_0x3b91dc=(_0x1871e9[_0x3024fc>>>0x18]<<0x18|_0x1871e9[_0x4c3cc6>>>0x10&0xff]<<0x10|_0x1871e9[_0x329889>>>0x8&0xff]<<0x8|_0x1871e9[_0x374bc2&0xff])^_0x6ea3fa[_0x256f0d++],_0x2fa616=(_0x1871e9[_0x4c3cc6>>>0x18]<<0x18|_0x1871e9[_0x329889>>>0x10&0xff]<<0x10|_0x1871e9[_0x374bc2>>>0x8&0xff]<<0x8|_0x1871e9[_0x3024fc&0xff])^_0x6ea3fa[_0x256f0d++];_0x35ed03[_0x4332f9]=_0xe760e6,_0x35ed03[_0x4332f9+0x1]=_0x139b03,_0x35ed03[_0x4332f9+0x2]=_0x3b91dc,_0x35ed03[_0x4332f9+0x3]=_0x2fa616;},'keySize':0x100/0x20});_0x58043b['AES']=_0x59ed18[_0x448766(0x283)](_0x1b8c9e);}()),_0x2d9482['AES'];}));}(Ie)),Ie[_0x14c56f(0x1cd)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x10f867(0x1cd)],nt;function $i(){var _0x377456=_0x10f867;return nt||(nt=0x1,function(_0x7e9080,_0x4fbfbd){(function(_0x4653f0,_0x434da4){var _0x2e93a3=_0x4aec;_0x7e9080[_0x2e93a3(0x1cd)]=_0x434da4(Z());}(ki,function(_0x38c689){var _0x17dc58=_0x4aec;return _0x38c689[_0x17dc58(0x216)][_0x17dc58(0x4ef)];}));}(Oe)),Oe[_0x377456(0x1cd)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be['exports'],st;function Fi(){var _0x49a748=_0x10f867;return st||(st=0x1,function(_0x335d27,_0x4e8790){(function(_0x309011,_0x562506){var _0x19a127=_0x4aec;_0x335d27[_0x19a127(0x1cd)]=_0x562506(Z());}(Bi,function(_0x446e66){var _0xfbc79c=_0x4aec;return(function(){var _0x4c610b=_0x4aec;if(typeof ArrayBuffer=='function'){var _0x1d7059=_0x446e66,_0x16fbf4=_0x1d7059[_0x4c610b(0x4eb)],_0x503f28=_0x16fbf4['WordArray'],_0x53d3d7=_0x503f28[_0x4c610b(0x1e0)],_0x657b19=_0x503f28[_0x4c610b(0x1e0)]=function(_0x2f6e54){var _0x992edd=_0x4c610b;if(_0x2f6e54 instanceof ArrayBuffer&&(_0x2f6e54=new Uint8Array(_0x2f6e54)),(_0x2f6e54 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2f6e54 instanceof Uint8ClampedArray||_0x2f6e54 instanceof Int16Array||_0x2f6e54 instanceof Uint16Array||_0x2f6e54 instanceof Int32Array||_0x2f6e54 instanceof Uint32Array||_0x2f6e54 instanceof Float32Array||_0x2f6e54 instanceof Float64Array)&&(_0x2f6e54=new Uint8Array(_0x2f6e54[_0x992edd(0x41b)],_0x2f6e54[_0x992edd(0x3a6)],_0x2f6e54[_0x992edd(0x490)])),_0x2f6e54 instanceof Uint8Array){for(var _0x478004=_0x2f6e54[_0x992edd(0x490)],_0x24233b=[],_0x5ab8e8=0x0;_0x5ab8e8<_0x478004;_0x5ab8e8++)_0x24233b[_0x5ab8e8>>>0x2]|=_0x2f6e54[_0x5ab8e8]<<0x18-_0x5ab8e8%0x4*0x8;_0x53d3d7['call'](this,_0x24233b,_0x478004);}else _0x53d3d7['apply'](this,arguments);};_0x657b19[_0x4c610b(0x2d3)]=_0x503f28;}}()),_0x446e66[_0xfbc79c(0x4eb)][_0xfbc79c(0x4fc)];}));}(be)),be[_0x49a748(0x1cd)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re['exports'],rt;function Yi(){return rt||(rt=0x1,function(_0x1b8bb1,_0x22dd2e){(function(_0x1f3306,_0xe9ba4f,_0x383458){_0x1b8bb1['exports']=_0xe9ba4f(Z(),Ot());}(Gi,function(_0x3f7c9b){var _0x51d9d3=_0x4aec;return _0x3f7c9b['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3f7c9b[_0x51d9d3(0x27e)][_0x51d9d3(0x3c9)];}));}(Re)),Re['exports'];}var Ki=Yi();const qi=de(Ki);function zi(_0x18871e,_0x5b52e9){var _0x2fab13=_0x10f867;const _0x25b99a=_0x5b52e9-_0x18871e['length']%_0x5b52e9,_0x51ce30=String['fromCharCode'](_0x25b99a)[_0x2fab13(0x4e9)](_0x25b99a);return _0x18871e+_0x51ce30;}function Xi(_0x367726,_0x4d408d){var _0x66d5b1=_0x10f867;const _0x29a055=Wi[_0x66d5b1(0x1f7)](0x10),_0x2e51fb=zi(_0x367726,0x10),_0x1647d1=wi[_0x66d5b1(0x4ad)](ji[_0x66d5b1(0x477)](_0x2e51fb),it[_0x66d5b1(0x477)](_0x4d408d),{'iv':_0x29a055,'padding':qi});return _0x29a055[_0x66d5b1(0x448)](_0x1647d1[_0x66d5b1(0x324)])['toString'](it);}function Ji(){var _0x4e2e37=_0x10f867;const _0x3e74ee=Dt['getGlobalObject']()['__Key__'];if(_0x3e74ee){const _0x319abc={'time':Math[_0x4e2e37(0x28d)](Date[_0x4e2e37(0x1ed)]()/0x3e8),'domain':location[_0x4e2e37(0x202)]};return Xi(JSON[_0x4e2e37(0x34f)](_0x319abc),_0x3e74ee);}}var Zi=Object[_0x10f867(0x509)],Qi=(_0x2a3912,_0x5522b8,_0x257673,_0x373e7a)=>{for(var _0x6cbe62=_0x373e7a>0x1?void 0x0:_0x373e7a?Zi(_0x5522b8,_0x257673):_0x5522b8,_0x4d7771=_0x2a3912['length']-0x1,_0x349eb1;_0x4d7771>=0x0;_0x4d7771--)(_0x349eb1=_0x2a3912[_0x4d7771])&&(_0x6cbe62=_0x349eb1(_0x6cbe62)||_0x6cbe62);return _0x6cbe62;},en=(_0x2b1c53,_0x57cd8a)=>(_0x5c4783,_0x5481de)=>_0x57cd8a(_0x5c4783,_0x5481de,_0x2b1c53);let De=class{constructor(_0x39259b){var _0x1da3a1=_0x10f867;this[_0x1da3a1(0x397)]=_0x39259b,this[_0x1da3a1(0x474)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1b1be3,_0x2f7f82)=>{var _0xda2744=_0x4aec;const _0x45a7a7=_0x1b1be3['headers'],_0x341973=Ji();return _0x341973&&_0x45a7a7['set'](_0xda2744(0x2c6),_0x341973),_0x2f7f82(_0x1b1be3);}});}};De=Qi([en(0x0,o[_0x10f867(0x225)](K[_0x10f867(0x328)]))],De);var tn=Object[_0x10f867(0x509)],nn=(_0x32ff41,_0x36e170,_0x380f94,_0xe7c68b)=>{var _0x57749e=_0x10f867;for(var _0x44b357=_0xe7c68b>0x1?void 0x0:_0xe7c68b?tn(_0x36e170,_0x380f94):_0x36e170,_0x2f6af1=_0x32ff41[_0x57749e(0x371)]-0x1,_0x35c620;_0x2f6af1>=0x0;_0x2f6af1--)(_0x35c620=_0x32ff41[_0x2f6af1])&&(_0x44b357=_0x35c620(_0x44b357)||_0x44b357);return _0x44b357;},Le=(_0xd61fe2,_0x4f8a88)=>(_0x12abdc,_0x40093d)=>_0x4f8a88(_0x12abdc,_0x40093d,_0xd61fe2);exports[_0x10f867(0x39c)]=class extends o[_0x10f867(0x2d8)]{constructor(_0x18b72b,_0xddcc47,_0x49dfb5){var _0x4d3efe=_0x10f867;super(),A(this,_0x4d3efe(0x424),new j[(_0x4d3efe(0x1da))](null)),A(this,_0x4d3efe(0x217),this[_0x4d3efe(0x424)][_0x4d3efe(0x440)]()),(this[_0x4d3efe(0x280)]=_0x18b72b,this[_0x4d3efe(0x450)]=_0xddcc47,this['_localCacheService']=_0x49dfb5);}async[_0x10f867(0x1e3)](_0x341e6f,_0x28cf04,_0x2d0002){var _0x1ca387=_0x10f867;this[_0x1ca387(0x424)][_0x1ca387(0x19d)]({'unitId':_0x341e6f,'type':_0x28cf04});let _0x21a809=null;switch(_0x28cf04){case X[_0x1ca387(0x3bf)]:{_0x21a809=await this[_0x1ca387(0x450)][_0x1ca387(0x479)](_0x341e6f,_0x2d0002);break;}case X[_0x1ca387(0x382)]:{_0x21a809=await this[_0x1ca387(0x450)][_0x1ca387(0x4ec)](_0x341e6f,_0x2d0002);break;}default:{this[_0x1ca387(0x280)][_0x1ca387(0x3a8)](_0x1ca387(0x3ba),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x21a809;}async[_0x10f867(0x472)](_0x4bab91,_0x32b1da,_0x3821c1){var _0x426edc=_0x10f867,_0x38d5d8;this[_0x426edc(0x424)][_0x426edc(0x19d)]({'unitId':_0x4bab91,'type':_0x32b1da,'subUnitId':_0x3821c1});let _0xf30f18=0x0;const _0x5bd399=await((_0x38d5d8=this[_0x426edc(0x2de)])==null?void 0x0:_0x38d5d8[_0x426edc(0x37f)](_0x4bab91));return _0x5bd399&&(_0x5bd399['awaitingChangeset']||_0x5bd399[_0x426edc(0x44e)][_0x426edc(0x371)]!==0x0)&&(_0xf30f18=_0x5bd399['rev']),_0xf30f18===0x0&&this[_0x426edc(0x280)][_0x426edc(0x47e)](_0x426edc(0x3ba),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x426edc(0x1e3)](_0x4bab91,_0x32b1da,_0xf30f18);}},exports[_0x10f867(0x39c)]=nn([Le(0x0,o[_0x10f867(0x4f6)]),Le(0x1,o['Inject'](E[_0x10f867(0x445)])),Le(0x2,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x39c)]);var sn=Object['getOwnPropertyDescriptor'],rn=(_0x3ae8f7,_0x446384,_0x18bcde,_0x2287ac)=>{var _0x4a8852=_0x10f867;for(var _0x49c09d=_0x2287ac>0x1?void 0x0:_0x2287ac?sn(_0x446384,_0x18bcde):_0x446384,_0x37cd3f=_0x3ae8f7[_0x4a8852(0x371)]-0x1,_0x409320;_0x37cd3f>=0x0;_0x37cd3f--)(_0x409320=_0x3ae8f7[_0x37cd3f])&&(_0x49c09d=_0x409320(_0x49c09d)||_0x49c09d);return _0x49c09d;},Me=(_0x3da249,_0x52a4d4)=>(_0x3c24ef,_0x5e7e1a)=>_0x52a4d4(_0x3c24ef,_0x5e7e1a,_0x3da249);const an=[_0x10f867(0x4e6),_0x10f867(0x292),_0x10f867(0x38c),_0x10f867(0x185),_0x10f867(0x3be)],on=0x5*0x400*0x400,cn='/universer-api/stream/file/upload',_n='/universer-api/file/{fileID}/sign-url';exports[_0x10f867(0x1c7)]=class{constructor(_0x354164,_0x2ddd1f,_0x44cd14){var _0x335eed=_0x10f867;A(this,_0x335eed(0x2b5),0x0),A(this,_0x335eed(0x199),new j[(_0x335eed(0x1d1))]()),A(this,_0x335eed(0x400),this[_0x335eed(0x199)]),A(this,'_imageSourceCache',new Map()),(this[_0x335eed(0x397)]=_0x354164,this[_0x335eed(0x22b)]=_0x2ddd1f,this['_univerInstanceService']=_0x44cd14);}[_0x10f867(0x500)](_0x134b26){var _0x4d85fd=_0x10f867;this[_0x4d85fd(0x2b5)]=_0x134b26,this[_0x4d85fd(0x199)][_0x4d85fd(0x19d)](_0x134b26);}[_0x10f867(0x2f0)](_0x912751,_0x3b28aa){var _0x5dae86=_0x10f867;if(_0x3b28aa===z[_0x5dae86(0x2f4)][_0x5dae86(0x188)]){const _0x15d0a3=new Image();return _0x15d0a3[_0x5dae86(0x36c)]=_0x912751,_0x15d0a3;}return this[_0x5dae86(0x2b2)][_0x5dae86(0x433)](_0x912751);}[_0x10f867(0x43d)](_0x570110,_0x2864af,_0x188626){var _0x3db587=_0x10f867;_0x2864af===z[_0x3db587(0x2f4)][_0x3db587(0x188)]||_0x188626==null||this[_0x3db587(0x2b2)][_0x3db587(0x186)](_0x570110,_0x188626);}async[_0x10f867(0x1db)](_0x5e9c64){var _0x3bd33b=_0x10f867;try{const _0x584893=this[_0x3bd33b(0x263)](this[_0x3bd33b(0x37d)](),''+_0x5e9c64),_0x590252=(await this['_httpService'][_0x3bd33b(0x433)](_0x584893))[_0x3bd33b(0x22c)];if(_0x590252[_0x3bd33b(0x3a8)]&&_0x590252['error']['code']===vt['OK']){const _0x5dee65=new URL(_0x590252[_0x3bd33b(0x40b)],this[_0x3bd33b(0x499)]())['toString']();return Promise[_0x3bd33b(0x212)](_0x5dee65);}return Promise['reject'](_0x590252['error']);}catch(_0xda4535){return Promise[_0x3bd33b(0x194)](_0xda4535);}}async[_0x10f867(0x4aa)](_0x5e1308){var _0x20c42e=_0x10f867;let _0x2f0b5d='';if(!an[_0x20c42e(0x2d4)](_0x5e1308['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x33a)]));if(_0x5e1308[_0x20c42e(0x363)]>on)return this['_decreaseWaiting'](),Promise[_0x20c42e(0x194)](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x4a5)]));try{const _0x508649=new FormData();_0x508649['append'](_0x20c42e(0x299),_0x5e1308);const _0xae4438=this[_0x20c42e(0x497)][_0x20c42e(0x407)](),_0x3c3e38=_0xae4438==null?void 0x0:_0xae4438['getUnitId']();if(!_0x3c3e38)throw new Error(_0x20c42e(0x3b4));const _0x1fae76=this['_getUploadFileURL']()+_0x20c42e(0x322)+_0x5e1308[_0x20c42e(0x363)]['toString']()+'&source='+dt[_0x20c42e(0x2b1)]+_0x20c42e(0x437)+encodeURIComponent(_0x3c3e38),_0x379408={'body':_0x508649},_0x2a63f2=(await this[_0x20c42e(0x397)]['post'](_0x1fae76,_0x379408))[_0x20c42e(0x22c)];if(typeof _0x2a63f2[_0x20c42e(0x249)]!=_0x20c42e(0x356))return this[_0x20c42e(0x2d2)](),Promise[_0x20c42e(0x194)](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x197)]));_0x2f0b5d=_0x2a63f2[_0x20c42e(0x249)];}catch{return this[_0x20c42e(0x2d2)](),Promise[_0x20c42e(0x194)](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x197)]));}return new Promise((_0x47cf4a,_0x2ad52b)=>{var _0x112928=_0x20c42e;const _0xd47959=new FileReader();_0xd47959['readAsDataURL'](_0x5e1308),_0xd47959[_0x112928(0x4d1)]=_0xfe629b=>{var _0x59945f=_0x112928,_0x28281c;const _0x26228b=(_0x28281c=_0xfe629b[_0x59945f(0x219)])==null?void 0x0:_0x28281c[_0x59945f(0x4e3)];if(_0x26228b==null){this['_decreaseWaiting'](),_0x2ad52b(new Error(z[_0x59945f(0x305)][_0x59945f(0x197)]));return;}const _0xe8132b=o[_0x59945f(0x23a)](0x6);_0x47cf4a({'imageId':_0xe8132b,'imageSourceType':z['ImageSourceType']['UUID'],'source':_0x2f0b5d,'base64Cache':_0x26228b,'status':z[_0x59945f(0x305)][_0x59945f(0x3b0)]}),this[_0x59945f(0x2d2)]();};});}['_getUploadFileURL'](){var _0x3c007f=_0x10f867,_0x5c5fae;const _0x4dd5f6=this[_0x3c007f(0x22b)][_0x3c007f(0x345)](Y);return(_0x5c5fae=_0x4dd5f6==null?void 0x0:_0x4dd5f6['uploadFileServerUrl'])!=null?_0x5c5fae:cn;}[_0x10f867(0x37d)](){var _0x2b83c3=_0x10f867,_0x31722a;const _0x3688db=this['_configService'][_0x2b83c3(0x345)](Y);return(_0x31722a=_0x3688db==null?void 0x0:_0x3688db[_0x2b83c3(0x187)])!=null?_0x31722a:_n;}['_getDownloadEndpointURL'](){var _0x2b4b20=_0x10f867,_0x450432;const _0x3c3c59=this['_configService'][_0x2b4b20(0x345)](Y);return(_0x450432=_0x3c3c59==null?void 0x0:_0x3c3c59[_0x2b4b20(0x209)])!=null?_0x450432:location['origin'];}['_replaceFileID'](_0xda88a0,_0x5dc84f){var _0xb5d56b=_0x10f867;return _0xda88a0[_0xb5d56b(0x260)](_0xb5d56b(0x4bf),_0x5dc84f);}[_0x10f867(0x2d2)](){var _0x1e8069=_0x10f867;this[_0x1e8069(0x2b5)]-=0x1,this[_0x1e8069(0x199)][_0x1e8069(0x19d)](this[_0x1e8069(0x2b5)]);}},exports[_0x10f867(0x1c7)]=rn([Me(0x0,o['Inject'](K[_0x10f867(0x328)])),Me(0x1,o[_0x10f867(0x405)]),Me(0x2,o[_0x10f867(0x225)](o[_0x10f867(0x470)]))],exports[_0x10f867(0x1c7)]);var hn=Object[_0x10f867(0x509)],ln=(_0x5d977e,_0x1f8594,_0x1514ed,_0x3fc26b)=>{var _0x2a364c=_0x10f867;for(var _0x10e0b4=_0x3fc26b>0x1?void 0x0:_0x3fc26b?hn(_0x1f8594,_0x1514ed):_0x1f8594,_0x4af28e=_0x5d977e[_0x2a364c(0x371)]-0x1,_0x274a9e;_0x4af28e>=0x0;_0x4af28e--)(_0x274a9e=_0x5d977e[_0x4af28e])&&(_0x10e0b4=_0x274a9e(_0x10e0b4)||_0x10e0b4);return _0x10e0b4;},at=(_0x5b5542,_0x1c4911)=>(_0x49b61e,_0x46eb34)=>_0x1c4911(_0x49b61e,_0x46eb34,_0x5b5542);const un=_0x10f867(0x432);exports[_0x10f867(0x1af)]=class{constructor(_0x465f0b,_0x345551){var _0x24dd70=_0x10f867;this['_configService']=_0x465f0b,this[_0x24dd70(0x388)]=_0x345551;}['_getAPIPrefixPath'](){var _0x498c69=_0x10f867,_0x1e0bfc;const _0xec9d8c=this[_0x498c69(0x22b)]['getConfig'](Y);return(_0x1e0bfc=_0xec9d8c==null?void 0x0:_0xec9d8c[_0x498c69(0x455)])!=null?_0x1e0bfc:un;}async['list'](_0x25df4c){var _0x661820=_0x10f867;const _0x59942e=this[_0x661820(0x42f)]()+_0x661820(0x32a);return{'list':[{'title':_0x661820(0x2cf),'mentions':(await this['_HTTPService'][_0x661820(0x433)](_0x59942e,{'params':{'objectID':_0x25df4c['unitId'],'unitID':_0x25df4c[_0x661820(0x1fa)]}}))[_0x661820(0x22c)][_0x661820(0x45c)]['map'](_0x16e299=>({'objectId':_0x16e299['id'],'name':_0x16e299[_0x661820(0x49c)][_0x661820(0x385)],'metadata':{'icon':_0x16e299[_0x661820(0x49c)][_0x661820(0x396)]},'label':_0x16e299[_0x661820(0x49c)][_0x661820(0x385)],'objectType':o[_0x661820(0x203)][_0x661820(0x368)]})),'metadata':{},'type':o['MentionType'][_0x661820(0x368)]}]};}},exports[_0x10f867(0x1af)]=ln([at(0x0,o[_0x10f867(0x225)](o[_0x10f867(0x405)])),at(0x1,o['Inject'](K[_0x10f867(0x328)]))],exports[_0x10f867(0x1af)]);var vn=Object[_0x10f867(0x509)],dn=(_0xd104c0,_0x19543f,_0x59c475,_0x47e6fa)=>{for(var _0x1f38a5=_0x47e6fa>0x1?void 0x0:_0x47e6fa?vn(_0x19543f,_0x59c475):_0x19543f,_0x8330c3=_0xd104c0['length']-0x1,_0x5dd305;_0x8330c3>=0x0;_0x8330c3--)(_0x5dd305=_0xd104c0[_0x8330c3])&&(_0x1f38a5=_0x5dd305(_0x1f38a5)||_0x1f38a5);return _0x1f38a5;},le=(_0x4c937d,_0x232fb7)=>(_0x26b196,_0x216cd0)=>_0x232fb7(_0x26b196,_0x216cd0,_0x4c937d);let ye=class extends o[_0x10f867(0x2d8)]{constructor(_0x59098f,_0x5a5b40,_0x38ae55,_0x4bfd68,_0x12c6e5){var _0x116524=_0x10f867;super(),this[_0x116524(0x4f8)]=_0x59098f,this[_0x116524(0x497)]=_0x5a5b40,this[_0x116524(0x4f0)]=_0x38ae55,this[_0x116524(0x2dd)]=_0x4bfd68,this[_0x116524(0x336)]=_0x12c6e5,this[_0x116524(0x2ea)](),this[_0x116524(0x24f)]();}[_0x10f867(0x24f)](){var _0x344f39=_0x10f867;const _0xbcb914=async _0xd686f=>{var _0x129582=_0x4aec;(await this[_0x129582(0x2dd)][_0x129582(0x4ae)](_0xd686f))[_0x129582(0x48b)][_0x129582(0x4e4)](V['filter'](_0x51467f=>_0x51467f[_0x129582(0x2ad)]===E[_0x129582(0x481)]['SHOULD_CLOSE_CONN']),V[_0x129582(0x45f)](this[_0x129582(0x25c)]))[_0x129582(0x34a)](_0x4b9845=>{var _0x239e96=_0x129582;const _0x1a1218=_0x4b9845,{reason:_0x154158}=_0x1a1218['data'];this['_collaborationUIEventService'][_0x239e96(0x3e2)]({'id':J[_0x239e96(0x386)],'data':_0x154158}),this[_0x239e96(0x4f0)]['updatePermissionPoint'](new Q[(_0x239e96(0x3c6))](_0xd686f)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0xd686f);});};j[_0x344f39(0x2f7)](this[_0x344f39(0x497)][_0x344f39(0x256)](o['UniverInstanceType']['UNIVER_SHEET']),this[_0x344f39(0x497)][_0x344f39(0x256)](o['UniverInstanceType'][_0x344f39(0x382)]))['pipe'](V['map'](_0x2c786e=>_0x2c786e[_0x344f39(0x298)]()),V[_0x344f39(0x306)](_0x4984bc=>!o[_0x344f39(0x1ab)](_0x4984bc)),V[_0x344f39(0x45f)](this[_0x344f39(0x25c)]))[_0x344f39(0x34a)](_0x51f58c=>{_0xbcb914(_0x51f58c);});}[_0x10f867(0x2ea)](){var _0x2ea2e0=_0x10f867;const _0x357c4c=async _0x11d56b=>{var _0x4cc9bd=_0x4aec;const _0x52aba7=await this[_0x4cc9bd(0x2dd)][_0x4cc9bd(0x4ae)](_0x11d56b),_0x2fe88e=this[_0x4cc9bd(0x4f8)][_0x4cc9bd(0x433)](Q[_0x4cc9bd(0x2bf)]);_0x52aba7['event$'][_0x4cc9bd(0x4e4)](V[_0x4cc9bd(0x306)](_0x1bea86=>_0x1bea86[_0x4cc9bd(0x2ad)]===E['CollaborationEvent'][_0x4cc9bd(0x2fe)]),V['takeUntil'](this[_0x4cc9bd(0x25c)]))[_0x4cc9bd(0x34a)](_0x2b5c90=>{var _0x3ffe74=_0x4cc9bd;const _0x147806=_0x2b5c90,{objectId:_0x15edea}=_0x147806[_0x3ffe74(0x46b)];_0x15edea===_0x11d56b?_0x2fe88e['initWorkbookPermissionChange'](_0x11d56b):_0x2fe88e[_0x3ffe74(0x2f2)](_0x11d56b,_0x15edea);});};j[_0x2ea2e0(0x2f7)](this['_univerInstanceService'][_0x2ea2e0(0x256)](o[_0x2ea2e0(0x2a8)][_0x2ea2e0(0x3bf)]))[_0x2ea2e0(0x4e4)](V[_0x2ea2e0(0x25e)](_0x410276=>_0x410276[_0x2ea2e0(0x298)]()),V['filter'](_0x2e7638=>!o[_0x2ea2e0(0x1ab)](_0x2e7638)),V[_0x2ea2e0(0x45f)](this[_0x2ea2e0(0x25c)]))['subscribe'](_0x3a6ea4=>{_0x357c4c(_0x3a6ea4);});}};ye=dn([le(0x0,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),le(0x1,o[_0x10f867(0x470)]),le(0x2,o['IPermissionService']),le(0x3,o['Inject'](exports[_0x10f867(0x1fd)])),le(0x4,o[_0x10f867(0x225)](ee))],ye);var Sn=Object[_0x10f867(0x509)],In=(_0x1fc0b0,_0x3a4382,_0x4a5a7c,_0x32bc0a)=>{var _0x37571c=_0x10f867;for(var _0x19e206=_0x32bc0a>0x1?void 0x0:_0x32bc0a?Sn(_0x3a4382,_0x4a5a7c):_0x3a4382,_0x53dfa4=_0x1fc0b0[_0x37571c(0x371)]-0x1,_0x1ff547;_0x53dfa4>=0x0;_0x53dfa4--)(_0x1ff547=_0x1fc0b0[_0x53dfa4])&&(_0x19e206=_0x1ff547(_0x19e206)||_0x19e206);return _0x19e206;},ot=(_0xdd002a,_0x5c207a)=>(_0x594f11,_0x52e90d)=>_0x5c207a(_0x594f11,_0x52e90d,_0xdd002a);exports[_0x10f867(0x2b3)]=class{constructor(_0x21dc8b,_0x1d563c){var _0x509063=_0x10f867;this[_0x509063(0x22b)]=_0x21dc8b,this[_0x509063(0x397)]=_0x1d563c;}async[_0x10f867(0x370)](_0x2b2f90,_0x38ee39){var _0x265810=_0x10f867,_0xfca8ba;const {unitID:_0x4accd8,type:_0x1bae83,revision:_0x50cdb1=0x0}=_0x38ee39,_0x203679=this[_0x265810(0x27b)]()+'/'+_0x1bae83+'/unit/'+_0x4accd8+_0x265810(0x284)+_0x50cdb1,_0x35bec1=(await this[_0x265810(0x397)]['get'](_0x203679))[_0x265810(0x22c)],_0x1732dc=(_0xfca8ba=_0x35bec1[_0x265810(0x464)])==null?void 0x0:_0xfca8ba['workbook'];if(_0x1732dc){const _0x44c133=_0x1732dc==null?void 0x0:_0x1732dc[_0x265810(0x28a)],_0x567c29=E[_0x265810(0x1b2)]['encode'](E[_0x265810(0x4b5)](_0x44c133));_0x1732dc[_0x265810(0x28a)]=_0x567c29,Object[_0x265810(0x2bc)](_0x1732dc[_0x265810(0x1c2)])[_0x265810(0x35b)](([,_0x39123a])=>{var _0xe3e983=_0x265810;const _0x19885c=_0x39123a[_0xe3e983(0x28a)],_0x2b734d=E[_0xe3e983(0x1b2)][_0xe3e983(0x1b3)](E['b64DecodeUnicode'](_0x19885c));_0x39123a[_0xe3e983(0x28a)]=_0x2b734d;});}return _0x35bec1;}async[_0x10f867(0x44d)](_0x575c48,_0x151261){var _0x1f6dbd=_0x10f867;const {unitID:_0x398099,type:_0x238a6c,blockID:_0xc28fc0}=_0x151261,_0x3192c2=this['_getAPIPrefix']()+'/'+_0x238a6c+_0x1f6dbd(0x408)+_0x398099+'/block/'+_0xc28fc0;return(await this[_0x1f6dbd(0x397)]['get'](_0x3192c2))[_0x1f6dbd(0x22c)];}async[_0x10f867(0x354)](_0xf764b1,_0x526c4a){var _0x140f00=_0x10f867;const {unitID:_0x3c81fa,type:_0x792585,blockID:_0x4b9a83}=_0x526c4a,_0x2af654=this[_0x140f00(0x42c)]()+'/block/'+_0x792585+_0x140f00(0x408)+_0x3c81fa+_0x140f00(0x4c1)+_0x4b9a83;return(await this[_0x140f00(0x397)][_0x140f00(0x433)](_0x2af654))[_0x140f00(0x22c)];}async[_0x10f867(0x3f2)](_0x4827de,_0xc553d0){var _0x2f758b=_0x10f867;const {unitID:_0x4b7beb,type:_0x2de84d,from:_0x5494d2,to:_0x57cc43}=_0xc553d0,_0x25aeb1=this['_getAPIPrefix']()+'/'+_0x2de84d+_0x2f758b(0x408)+_0x4b7beb+_0x2f758b(0x468)+_0x5494d2+_0x2f758b(0x228)+_0x57cc43;return(await this['_httpService'][_0x2f758b(0x433)](_0x25aeb1))[_0x2f758b(0x22c)];}[_0x10f867(0x27b)](){var _0x21d683=_0x10f867,_0x19921b;return(_0x19921b=this[_0x21d683(0x22b)][_0x21d683(0x345)](Ut))!=null?_0x19921b:this[_0x21d683(0x42c)]();}['_getAPIPrefix'](){var _0xd4260f=_0x10f867,_0x4ee5c1;const _0x22316c=this[_0xd4260f(0x22b)]['getConfig'](Y);return(_0x4ee5c1=_0x22316c==null?void 0x0:_0x22316c['snapshotServerUrl'])!=null?_0x4ee5c1:yt;}async[_0x10f867(0x2cb)](_0x3323d3,_0x16ae49){var _0x19fe8c=_0x10f867;const _0x3329b3='/universer-api/snapshot/'+_0x16ae49['type']+_0x19fe8c(0x408)+_0x16ae49[_0x19fe8c(0x2cd)]+_0x19fe8c(0x2a6);return(await this[_0x19fe8c(0x397)][_0x19fe8c(0x433)](_0x3329b3,{'params':{'resourceId':JSON[_0x19fe8c(0x34f)](_0x16ae49[_0x19fe8c(0x422)])}}))[_0x19fe8c(0x22c)];}[_0x10f867(0x210)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x905616=_0x10f867;throw new Error(_0x905616(0x19c));}[_0x10f867(0x384)](){var _0x273dcd=_0x10f867;throw new Error(_0x273dcd(0x19c));}[_0x10f867(0x2ac)](){var _0x4a4e12=_0x10f867;throw new Error(_0x4a4e12(0x19c));}[_0x10f867(0x3d1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x10f867(0x4d8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x10f867(0x2b3)]=In([ot(0x0,o[_0x10f867(0x405)]),ot(0x1,o[_0x10f867(0x225)](K[_0x10f867(0x328)]))],exports[_0x10f867(0x2b3)]);var fn=Object[_0x10f867(0x509)],En=(_0x5ef401,_0x22ede2,_0x331e1c,_0x598595)=>{var _0x57efa4=_0x10f867;for(var _0x277ba1=_0x598595>0x1?void 0x0:_0x598595?fn(_0x22ede2,_0x331e1c):_0x22ede2,_0x2301b0=_0x5ef401[_0x57efa4(0x371)]-0x1,_0x1d1c9f;_0x2301b0>=0x0;_0x2301b0--)(_0x1d1c9f=_0x5ef401[_0x2301b0])&&(_0x277ba1=_0x1d1c9f(_0x277ba1)||_0x277ba1);return _0x277ba1;},ue=(_0x819113,_0x3033a2)=>(_0x59f4f2,_0x1c9212)=>_0x3033a2(_0x59f4f2,_0x1c9212,_0x819113);exports['CollaborativeUndoRedoService']=class extends o[_0x10f867(0x482)]{constructor(_0x53260f,_0x505ef5,_0x3ea90a,_0x306b6b,_0x31a64c){var _0x273286=_0x10f867;super(_0x53260f,_0x505ef5,_0x3ea90a),this['_transformService']=_0x306b6b,this[_0x273286(0x280)]=_0x31a64c;}[_0x10f867(0x3a0)](_0x144b49,_0x57b7b8){var _0x183bb5=_0x10f867;const _0x5cc3f3=this[_0x183bb5(0x2ae)](_0x144b49);if(_0x5cc3f3)try{const _0x52ebba=this[_0x183bb5(0x342)](_0x5cc3f3,_0x57b7b8);this[_0x183bb5(0x1b5)](_0x144b49,_0x52ebba);}catch(_0x2b2052){this[_0x183bb5(0x280)][_0x183bb5(0x3a8)](_0x183bb5(0x3c2),_0x2b2052),this[_0x183bb5(0x31d)](_0x144b49);}const _0xed7e82=this['_getRedoStack'](_0x144b49);if(_0xed7e82)try{const _0x6e5778=this['_transformStack'](_0xed7e82,_0x57b7b8);this[_0x183bb5(0x4af)](_0x144b49,_0x6e5778);}catch(_0x2aa640){this[_0x183bb5(0x280)][_0x183bb5(0x3a8)](_0x2aa640),this[_0x183bb5(0x4ea)](_0x144b49);}}[_0x10f867(0x31d)](_0x49a114){var _0x131953=_0x10f867;const _0x39950b=this[_0x131953(0x2ae)](_0x49a114);_0x39950b&&(_0x39950b[_0x131953(0x371)]=0x0,this[_0x131953(0x1a9)]());}[_0x10f867(0x4ea)](_0x3c32d3){var _0x3b3bd7=_0x10f867;const _0x31c9e6=this[_0x3b3bd7(0x3e4)](_0x3c32d3);_0x31c9e6&&(_0x31c9e6['length']=0x0,this[_0x3b3bd7(0x1a9)]());}[_0x10f867(0x1b5)](_0x116bca,_0x25977c){var _0x3ee2f9=_0x10f867;this[_0x3ee2f9(0x3b8)][_0x3ee2f9(0x186)](_0x116bca,_0x25977c),this[_0x3ee2f9(0x1a9)]();}[_0x10f867(0x4af)](_0x5240a3,_0xcf547){var _0x4102a3=_0x10f867;this['_redoStacks'][_0x4102a3(0x186)](_0x5240a3,_0xcf547),this[_0x4102a3(0x1a9)]();}[_0x10f867(0x342)](_0x15e0f0,_0xf0aa94){var _0x4e56aa=_0x10f867;const _0x2f7b5d=[];let _0x106165=_0xf0aa94,_0x1416ef=_0xf0aa94;for(let _0x4eae2a=_0x15e0f0[_0x4e56aa(0x371)]-0x1;_0x4eae2a>=0x0;_0x4eae2a--){const {unitID:_0x41f9c3,undoMutations:_0x37c398,redoMutations:_0x1f777c}=_0x15e0f0[_0x4eae2a],_0x1d40ee=this[_0x4e56aa(0x33c)][_0x4e56aa(0x4da)](_0x106165,_0x37c398),_0x3c496=this[_0x4e56aa(0x33c)][_0x4e56aa(0x4da)](_0x1416ef,_0x1f777c);if(E[_0x4e56aa(0x240)](_0x1d40ee)||E[_0x4e56aa(0x240)](_0x3c496)){this[_0x4e56aa(0x280)][_0x4e56aa(0x3a8)](_0x4e56aa(0x3c2),_0x4e56aa(0x23b),_0x1d40ee,_0x3c496);break;}_0x106165=_0x1d40ee['c1Prime'],_0x1416ef=_0x3c496[_0x4e56aa(0x1a3)],_0x2f7b5d[_0x4e56aa(0x24d)]({'unitID':_0x41f9c3,'undoMutations':_0x1d40ee['m2Prime'],'redoMutations':_0x3c496[_0x4e56aa(0x323)]});}return _0x2f7b5d[_0x4e56aa(0x346)]();}},exports[_0x10f867(0x41f)]=En([ue(0x0,o[_0x10f867(0x470)]),ue(0x1,o[_0x10f867(0x374)]),ue(0x2,o[_0x10f867(0x3e7)]),ue(0x3,E[_0x10f867(0x297)]),ue(0x4,o[_0x10f867(0x4f6)])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x10f867(0x3f5)],mn=Object['getOwnPropertyDescriptor'],gn=(_0x5b7dc0,_0x58a50f,_0x726b8)=>_0x58a50f in _0x5b7dc0?pn(_0x5b7dc0,_0x58a50f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x726b8}):_0x5b7dc0[_0x58a50f]=_0x726b8,Tn=(_0x358426,_0x5008ec,_0x529ded,_0x4cad9c)=>{var _0x480835=_0x10f867;for(var _0x49d955=_0x4cad9c>0x1?void 0x0:_0x4cad9c?mn(_0x5008ec,_0x529ded):_0x5008ec,_0x4cfd62=_0x358426[_0x480835(0x371)]-0x1,_0x4a93ec;_0x4cfd62>=0x0;_0x4cfd62--)(_0x4a93ec=_0x358426[_0x4cfd62])&&(_0x49d955=_0x4a93ec(_0x49d955)||_0x49d955);return _0x49d955;},we=(_0x17dca2,_0x5d3883)=>(_0x48d8b4,_0x128daa)=>_0x5d3883(_0x48d8b4,_0x128daa,_0x17dca2),Cn=(_0x511d39,_0x30dac3,_0x1e555e)=>gn(_0x511d39,_0x30dac3+'',_0x1e555e);const On=_0x10f867(0x493);exports[_0x10f867(0x4c7)]=class extends o[_0x10f867(0x2e5)]{constructor(_0x287a5b,_0x1d202b,_0x580a19,_0x159b04){var _0x361cd4=_0x10f867;super(),A(this,_0x361cd4(0x1c1)),(this[_0x361cd4(0x280)]=_0x1d202b,this[_0x361cd4(0x4f8)]=_0x580a19,this[_0x361cd4(0x22b)]=_0x159b04);const {..._0x4271be}=o[_0x361cd4(0x2f7)]({},Qt,_0x287a5b);if(!_0x4271be[_0x361cd4(0x3bb)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x4271be,this[_0x361cd4(0x22b)][_0x361cd4(0x183)](Y,_0x4271be);}[_0x10f867(0x247)](){var _0x2ea53a=_0x10f867;this[_0x2ea53a(0x40c)](),this[_0x2ea53a(0x1ae)]();}[_0x10f867(0x40c)](){var _0x344cbe=_0x10f867,_0x1ef605,_0x215666;this['_injector']['has'](o['IUndoRedoService'])&&this[_0x344cbe(0x280)][_0x344cbe(0x3a8)](_0x344cbe(0x488),_0x344cbe(0x2cc));const _0x52dd49=o[_0x344cbe(0x1e7)]([[o[_0x344cbe(0x4f9)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x344cbe(0x1fd)]],[exports[_0x344cbe(0x215)]],[exports[_0x344cbe(0x508)]],[Ne],[De],[$e],[ye],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this[_0x344cbe(0x1c1)][_0x344cbe(0x3bb)]}],[E[_0x344cbe(0x296)],{'useClass':exports[_0x344cbe(0x2b3)]}],[o[_0x344cbe(0x2bd)],{'useClass':exports['AuthzIoHttpService']}],[z[_0x344cbe(0x18e)],{'useClass':exports['CollaborationImageIoService']}],[o[_0x344cbe(0x373)],{'useClass':exports[_0x344cbe(0x1af)]}],[exports['CollaborationController']],[xe]],(_0x1ef605=this['_config'])==null?void 0x0:_0x1ef605[_0x344cbe(0x21a)]);if(!((_0x215666=this[_0x344cbe(0x1c1)])!=null&&_0x215666['enableSingleActiveInstanceLock'])){const _0x33d5f7=_0x52dd49[_0x344cbe(0x2f3)](([_0x4880df])=>_0x4880df===ve);_0x33d5f7!==-0x1&&_0x52dd49['splice'](_0x33d5f7,0x1);}o['registerDependencies'](this[_0x344cbe(0x4f8)],_0x52dd49);}['_initDependencies'](){var _0x570627=_0x10f867,_0xff274,_0x1423cc,_0xa4e0ce;this[_0x570627(0x4f8)][_0x570627(0x433)](K[_0x570627(0x328)])[_0x570627(0x35a)]({'priority':0x14,'interceptor':K[_0x570627(0x17e)]({'maxParallel':0x6})}),(_0xff274=this[_0x570627(0x1c1)])!=null&&_0xff274[_0x570627(0x393)]||(_0x1423cc=this[_0x570627(0x4f8)]['get'](q,o['Quantity'][_0x570627(0x333)]))==null||_0x1423cc[_0x570627(0x246)](),(_0xa4e0ce=this[_0x570627(0x1c1)])!=null&&_0xa4e0ce[_0x570627(0x1e6)]&&o['touchDependencies'](this['_injector'],[[Ne]]),o[_0x570627(0x4c4)](this[_0x570627(0x4f8)],[[De],[exports[_0x570627(0x4e5)]],[ye]]);}},Cn(exports[_0x10f867(0x4c7)],_0x10f867(0x339),On),exports[_0x10f867(0x4c7)]=Tn([o[_0x10f867(0x355)](E[_0x10f867(0x2e7)],K[_0x10f867(0x442)]),we(0x1,o[_0x10f867(0x4f6)]),we(0x2,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),we(0x3,o[_0x10f867(0x405)])],exports[_0x10f867(0x4c7)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x10f867(0x3e9)]=je,exports['CollaborationUIEventId']=J,exports[_0x10f867(0x42b)]=ee,exports[_0x10f867(0x48c)]=$e,exports[_0x10f867(0x4ac)]=_t,exports[_0x10f867(0x4c6)]=Bt,exports[_0x10f867(0x347)]=Pt,exports['HEARTBEAT_INTERVAL_KEY']=ht,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=Fe,exports[_0x10f867(0x2a1)]=q,exports['INetworkConditionService']=pt,exports[_0x10f867(0x21c)]=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports[_0x10f867(0x290)]=xt,exports[_0x10f867(0x2d0)]=jt,exports[_0x10f867(0x3c0)]=ut,exports['SessionStatus']=se,exports[_0x10f867(0x267)]=He,exports[_0x10f867(0x444)]=mt,exports['getLocalCacheKey']=zt,exports[_0x10f867(0x302)]=gt;function _0x4832(){var _0x540dbc=['commentUpdate$','NoPadding','__creator','_onConnectionOpen','NO_OTHER_CLIENTS_EDITING','_resendTimer','getCollabEntity$','max','decryptBlock','copyFileMeta','deepClone','PSEUDO_FETCH_MISSING_RESULT','_tryReconnect','Error\x20on\x20receiving\x20event','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_INVALID_COUPON_CODE','SetSelectionsOperation','keySize','SOCKET_FAILED_RETRY','algo','dispose','awaiting','msCrypto','min','HEARTBEAT_INTERVAL','/-/object/list','emitEvent','_entities','_getRedoStack','firstValueFrom','CONFLICT','IContextService','CHANGESET_REJ','CollaborationStatus','words','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationTimeoutTimer','YUUMI_ALL_TABLES_IS_INVALID','getTime','_sessions','catch','[CollaborationEntity]','fetchMissingChangesets','[PendingState]:\x20received\x20rejection.','[PendingState]:\x20received\x20acknowledgement.','defineProperty','readyForCollab','updateMember','onRemoteRej','_minBufferSize','cfg','_parse','APPLY_NON_SEQUENTIAL_REVISION','1196088qBPDEX','title','joinEvent','change$','mapDocumentTypeToUniverType','Failed\x20to\x20update\x20permission\x20point','JSONX','incrementRevOfUnit','IConfigService','_createInitialStateImpl','getFocusedUnit','/unit/','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','status$','url','_registerDependencies','_throwTelemetryCollaborationNewChangeset','unpad','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','readInt32LE','call','_acknowledgedAwaitingChangeset','UNKNOWN_CMD','_iv','_sender','_onConflict','ENTITLE_DUP_SUBSCRIPTION','REDEMPTION_CODE_FULLY_REDEEMED','_retryConnectingTimer','_stopTelemetryCollaborationNewChangeset','buffer','then','_key','LIVESHARE_REQUEST_HOST','CollaborativeUndoRedoService','REDEMPTION_CODE_NOT_STARTED','_pendingMutations','resourceIDs','every','_unitInfo$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','localCacheService','499151UfoZXd','interceptor','code','_toggleOffline','CollaborationUIEventService','_getAPIPrefix','SHOULD_CLOSE_CONN','parseChangesetToProtocol','_getAPIPrefixPath','univer-pro.collaboration-client.network-condition.service','_toggleOnline','/universer-api/authz','get','LIVESHARE_OPERATION','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','delay','&assign=','EMAIL_HAS_BEEN_BOUND','_nRounds','INVALID_INVITE_CODE','_getSendChangesetTimeout','duration','addImageSourceCache','onMissingChangesets','BufferedBlockAlgorithm','asObservable','AuthzIoHttpService','UniverNetworkPlugin','complete','deserializeToCombResponse','SnapshotService','capture','members','concat','SOCKET_FAILED','/universer-api/uniscript','_undoRedoService','getInterceptPoints','getSheetBlock','mutations','_process','_snapshotService','onTransformRemoteChangesetByStateCache','withCredentials','_sendHeartbeat','_resendTimeout','authzUrl','DATA_SOURCE_TOO_LARGE','blockSize','delete','[CollaborationSessionService]:\x20socket\x20error','_state','_eventService','collaborators','univer-pro.collaboration-client.single-active-unit-service','offline','takeUntil','REDEMPTION_USER_NOT_ELIGIBLE','range','closeSession','_getLoginPath','snapshot','LICENSE_DISTRO_REJECTED','_exhaustRemoteChangesetQueue','indexOf','/fetchmissing?from=','resend','_emitMembers','data','unsubscribe','UNRECOGNIZED','LEAVE','_ENC_XFORM_MODE','IUniverInstanceService','permissionRejEvent','loadUnit','StreamCipher','_initRequestHeader','INVALID_ARGUMENT','sequenceExecute','parse','NEW_CHANGESETS','loadSheet','_sendingTimer','3706328VudXGy','objectType','send','debug','c2Prime','createIdentifier','CollaborationEvent','LocalUndoRedoService','toDisposable','APPLY_DUPLICATED','_onUserLeave','4nsCgvw','_roomCreated$','[UniverCollaborationClientPlugin]','Base64','_replayCachedMutations','event$','CommentService','format','ENTITLE_INSUFFICIENT_QUOTA','UNIVER_PROJECT','byteLength','COMMENT_UPDATE','_singleActiveUnitService','UNIVER_COLLABORATION_CLIENT_PLUGIN','ivSize','Univer','HMAC','_univerInstanceService','YUUMI_UNABLE_LOAD_URL','_getDownloadEndpointURL','JOIN_ROOM_PERMISSION_DENIED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','subject','AES','_updateLocalCache','JOINING','LIVESHARE_NEW_HOST','Hex','_scheduleCollaborationTimeoutTimer','CollaborationSocketService','YUUMI_SUBSCRIPTION_NOT_FOUND','ERROR_EXCEED_SIZE','UNIVER_SLIDE','_clearLocalCache','focused$','hasOwnProperty','saveImage','slice','DEFAULT_COLLAB_WEB_SOCKET_URL','encrypt','requireSession','_substituteRedoStack','synced','_unitID','univer-pro.collaboration-client-socket-service','function','SyncedState','b64DecodeUnicode','CommandType','method','RETRY_CONNECTING_MAX_COUNT','_transformStateCache','/new_changes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','session','_userManagerService','SheetsSelectionsService','{fileID}','getUnit','/block/','_sessionStatus$','onRemoteChangeset','touchDependencies','AwaitingWithPendingState','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverCollaborationClientPlugin','onMutationExecutedForCollab','_lockTransition','removeMember','conflict','_clearCollaborationTimeoutTimer','sigBytes','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onCommentUpdate','Cipher','onload','_socket$','createEncryptor','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','LICENSE_MAX_UNITS_EXCEEDED','/allowed','_rescheduleHeartbeat','getLatestCsReqIdBySid','GLOBAL_ROOMS_CNT_EXCEEDS','transformMutationsWithChangeset','_doProcessBlock','YUUMI_NO_CUBOID_FOR_QUESTION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getSheetId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','update','MUTATION','result','pipe','CollaborationController','image/png','csAckEvent','REDEMPTION_CODE_INACTIVE','repeat','_clearRedo','lib','loadDoc','FAIL','_state$','Utf8','_permissionService','toggleOffline','NOT_COLLAB','_onUserJoin','toggleOnline','batchAllowed','ILogService','_status$','_injector','IUndoRedoService','FETCH_MISS','HEARTBEAT_TIMEOUT','WordArray','SNAPSHOT_URL_KEY','objectActions','finalize','setWaitCount','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_startTelemetryCollaborationNewChangeset','_clearTimeoutTimer','_telemetryService','_snapshotServerService','NOT_FOUND','_compressMutationService','SheetTransformSelectionsService','getOwnPropertyDescriptor','splice','USER_IS_ANONYMOUS','createSocket','YUUMI_CONNECTOR_URL_NOT_FOUND','collaMsg','ThresholdInterceptorFactory','onStateChange','onLocalMutation','YUUMI_AI_RUN_FAILED','43638WzipUJ','setConfig','onTransformIME','image/gif','set','signUrlServerUrl','BASE64','APPLY_PERMISSION_DENIED','LOGIN_FAILED','_clearHeartbeatTimer','list','error$','IImageIoService','Module','_createHandler','sessionStatus$','_telemetryInfo','DisposableCollection','reject','createCollaborator','USERS_ENTER','ERROR_IMAGE','state$','_change$','sid','_doCreateSocket','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','next','type','objects','1150935HYDWBv','BlockCipher','ClipsheetFragments','c1Prime','appendMutation','_executeRemoteChangeset','_queuedRemoteChangesets','[CollaborationSessionService]','updateOfflineData','_updateStatus','SNAPSHOT_HAS_BEEN_REMOVED','isInternalEditorID','LocaleService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_initDependencies','MentionIoHttpService','_reverseMap','USER_NOT_INVITED_CODE','textEncoder','encode','getCurrentRevOfUnit','_substituteUndoStack','stopTime','SHA1','LICENSE_IMPORT_SIZE_EXCEEDED','_keyPriorReset','LIVESHARE_FETCH_OPERATIONS','CONNECTOR_DATA_TOO_LARGE','1110640jZYlvy','_createHmacHelper','Decryptor','_memberService','ENSURE_SNAPSHOT_EXECUTION','_config','sheets','onTransformSelections','_iKey','COMPLETION_FINISHED','SUBMIT_CHANGESET','CollaborationImageIoService','location','_schedule','_unlockTransition','ENTITLE_USE_COUPON_NOT_1ST_TRADE','equals','exports','OpenSSL','UnitSnapshot','/universer-api/oidc/authpage','Subject','_sendHeartbeatTimer','_socket','sendChangesetTimeout','updateCollaborator','SUBMIT_CHANGESET_TIMEOUT','_entityInit$','getValue','_getCurrentRevision','BehaviorSubject','getImage','getRandomValues','toStringTag','transformChangesets','[SyncedState]:\x20received\x20acknowledgement.','init','_event$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','loadUnitOfRevision','abs','MOBILE_HAS_BEEN_BOUND','enableAuthServer','mergeOverrideWithDependencies','_socketReady','InsertSheetMutation','JOIN_ROOM_FAILED','headers','clamp','now','key','editing\x20status\x20changed\x20to','ENTITLE_NEED_BILLING_ADDRESS','state','charCodeAt','textRanges','collaboration-client.config','_keySchedule','shareReplay','random','memberID','HttpExport','unitId','ONLINE','getCurrentSelections','CollaborationSessionService','?url=','commentUpdateEvent','createDecryptor','FetchingMissState','hostname','MentionType','startsWith','onTransformState','csShouldRetryEvent','add','MOBILE_VERIFY_CODE_MISMATCH','downloadEndpointUrl','SheetCollaborationEntity','_maxTotalRetryTimeout','open$','PasswordBasedCipher','YUUMI_ASYNCIO_CANCELLED','onTransformRemoteChangesetByIMECache','saveSnapshot','\x0aCurrent:\x20','resolve','reconnect','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','MemberService','enc','unitInfo$','YUUMI_RATE_OVER_LIMIT','target','override','enableCollaboration','ISingleActiveUnitService','infoRsp','userID','apply','_map','UNKNOWN_CODE','salt','_disableEditing','status','Inject','roles','27YhIRik','&to=','HELLO','DocCollaborationEntity','_configService','body','createInstance','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','collaboration-client.local-cache-service','MergeInterceptorFactory','_transformSelections','reset','UserProfileImg','localeService','WECHAT_HAS_BEEN_BOUND','_clearRetryConnectingTimer','session.room-cnt-exceeds','executeCommand','cmd','generateRandomId','transformStack\x20failed!','CompressMutationService','_transformUndoredo','_doFinalize','PERMISSION_DENIED','isTransformMutationsWithChangesetFailure','disposeWithMe','TOO_MANY_REQUESTS','_scheduleCompleteTimestamp','Optional','responseType','disableLocalCache','onStarting','_candidateSocket','FileId','onlyLocal','shouldCloseConn','[OfflineState]:\x20received\x20changeset.','push','[SyncedState]:\x20received\x20rejection.','_initCloseConn','getCurrentUser','[OfflineState]:\x20received\x20acknowledgement.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_collaborationPaused','objectID','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getTypeOfUnitAdded$','take','BlockCipherMode','_onRemoteACK','isTransformMutationsWithChangesetSuccess','USERS_LEAVE','dispose$','FETCH_MISSING','map','OTHER_CLIENTS_EDITING','replace','loginUrlKey','_transformRemoteChangesetByStateCache','_replaceFileID','EMAIL_VERIFY_CODE_MISMATCH','ENTITLE_CHAT_LIMIT_EXCEED','SerializableCipher','UnitStatus','_data','_tryEnsureSocket','PY_RUNTIME_SCRIPT_ERROR','_onJoinRoomEvent','CURRENT_STATUS_CANNOT_OPERATE','_createInitialState','_sheetTransformSelectionsService','_networkConditionService','_isPermissionRej','REDEMPTION_INVALID_CODE','_socketService','fetchMiss','_shouldReportTelemetry','APPLY_REJECT','_instanceService','getCollabEntity','liveShareOperation','RevisionService','_onConnectionFailed','getSnapshotAPIPath','_updateState','\x20-\x20','pad','sessionStatus','_logService','Undefined','processBlock','_createHelper','/rev/','extend','INTERNAL_ERROR','execute','allowed','updatePermissionObjEvent','originalMeta','_createSocket','put','floor','_hasher','_append','LOCAL_CACHE_INTERVAL_KEY','ws://127.0.0.1:8000/universer-api/comb/connect','image/jpeg','close','_handlerCallback','has','ISnapshotServerService','ITransformService','getUnitId','file','randomBytes','onRemoteRetry','_resendWithTimeout','SNAPSHOT_INVALID_SNAPSHOT','_initMergeInterceptor','AwaitingState','HEARTBEAT','ILocalCacheService','_timeoutTimer','_checkMissing','transformSelections','_onOffline','/resources','listRoles','UniverInstanceType','_applyRemoteChangeset','clear','/role','saveChangeset','eventID','_getUndoStack','pauseCollaboration','JOIN_ROOM_NOT_EXISTS','UnitEmbedded','_imageSourceCache','SnapshotServerOverHTTPService','AWAITING_WITH_PENDING','_waitCount','_hash','actions','MD5','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','close$','LIVESHARE_TERMINATE','entries','IAuthzIoService','create','SheetPermissionInitController','EvpKDF','_incrementRevisionNumber','getMember','_invKeySchedule','Injector','fetchThroughInterceptors','x-univer-host','_onRemoteRejected','IDLE','POST','_showConflictNotification','getResourcesRequest','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','unitID','ReplaySubject','People','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_clearScheduledTask','_decreaseWaiting','prototype','includes','encryptBlock','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','crypto','RxDisposable','DEFAULT_FILE_NAME','find','REDEMPTION_CODE_HAS_BEEN_CREATED','_remoteChangesetQueue','_collaborationSessionService','_localCacheService','COMPRESS_MUTATION_APPLY','_transitionLocked','JOIN_ROOM_FULL','_xformMode','_changesetReqId','Workbook','Plugin','Pkcs7','UniverCollaborationPlugin','requestParams','uuidv4','_initUnitPermissionChange','OfflineState','online$','_removeRoom','_commandService','OFFLINE','getImageSourceCache','__splitChunk__','refreshPermission','findIndex','ImageSourceType','isPermissionRej','LOGIN_TOKEN_PROCESSING_FAILED','merge','auth.needGotoLoginAlert','_getCtorByUniverType','PERMISSION_REJ','_changesetSessionId','updatePermissionPoint','_onRemoteChangeset','UPDATE_PERMISSION_OBJ','_handler','_onRemoteRetry','href','serializeCombRequest','selections','MSG_FOR_ERROR','ImageUploadStatusType','filter','formatter','INVITE_CODE_ALREADY_BOUND','ENTITLE_COUPON_USED_UP','11739LfTagP','CollaborationEntity','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','setShowComponents','reqId','onSendChangeset','fetch_missing','_waitForHeartbeatResponse','padding','_transformRemoteChangesetByIMECache','_onCombEvent','join','_type','setCurrentUser','from','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','decrypt','RichTextEditingMutation','_clearUndo','routeKey','getMemberID','LICENSE_EXPORT_SIZE_EXCEEDED','_joinRoom','?size=','m2Prime','ciphertext','_mode','pending','UNDEFINED','HTTPService','ceil','/collaborator','baseRev','params','[OfflineState]:\x20received\x20rejection.','awaiting_with_pending','_listenToNetworkCondition','_commentService','parseProtocolChangeset','UPDATE_CURSOR','OPTIONAL','_transformIMECache','hasher','_collaborationUIEventService','_collabSessionService','post','pluginName','ERROR_IMAGE_TYPE','clone','_transformService','getRoom','PAYMENT_CHANNEL_NOT_SUPPORT','getUnitType','Malformed\x20UTF-8\x20data','connection\x20error','_transformStack','INGEST','ALREADY_EXISTS','getConfig','reverse','DEFAULT_WS_SESSION_TICKET_URL','_fetchMissChangesets','onRemoteAck','subscribe','message$','isArray','isTransformChangesetsSuccess','fromCharCode','stringify','charAt','REDEMPTION_USER_REDEEM_TIMES_EXCEED','Disposable','mode','getDeserializedSheetBlock','DependentOn','string','revision','_init','_onLocalMutation','registerHTTPInterceptor','forEach','getAllMembers','Base','_submitChangeset','ConflictState','telemetry\x20info\x20is\x20not\x20initialized','_commentUpdate$','CollaborationSession','size','reduce','/object/','compute','YUUMI_URL_COL_OUT_OF_RANGE','PERSON','collaboratorID','IPermissionService','CHANGESET_ACK','src','UNISCRIPT_RUN','COMPRESS_MUTATION_SEND','APPLY_REVISION_CONFILICT','getUnitOnRev','length','_onMessage','IMentionIOService','ICommandService','UserManagerService','toString','_nDataBytes','Tools','/-/object/-/batch_allowed','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','JOIN','onSyncEditingCollabCursor','_getSignURL','LOCAL_CACHE_INTERVAL','loadOfflineData','_revisionService','_onFetchMissResult','UNIVER_DOC','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','saveSheetBlock','name','CLOSE_ROOM','_doReset','_HTTPService','getUnitStatus$','_startCollaboration','CHANGESET_REVISION_CONFILICT','image/jpg','RECV','INVITE_CODE_HAS_BEEN_UES','subUnitId','session.room-permission-denied','mixIn','getActiveSheet','enableOfflineEditing','kdf','_retryCount','avatar','_httpService','[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.','session.join-failed','default','_members$','DataLoaderService','__esModule','1422CcCqbE','onMissedChangesetFetched','transformUndoRedo','PendingState','concatMap','_cipher','getTypeOfUnitDisposed$','[CollaborationState]:\x20apply\x20error!','byteOffset','Hasher','error','session.room-not-exists','getWorkbookSelections','action','USER_NOT_FOUND','Encryptor','AUTHORIZE_CODE_ILLEGAL','_roomMembers','SUCCUSS','_socketMessageSubscription','HmacSHA1','compose','unitId\x20is\x20not\x20found','Rectangle','_awaitingChangeset','_members','_undoStacks','CHANGESET_SHOULD_RETRY','[DataLoaderService]','socketService','\x0aAfter:\x20','_syncEditingCollabCursor','image/bmp','UNIVER_SHEET','RETRY_CONNECTING_MAX_COUNT_KEY','unknown','[CollaborationUndoRedoService]','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','addHandlerCallback','ENTITLE_COUPON_EXPIRED','WorkbookEditablePermission','[CollaborationSession]'];_0x4832=function(){return _0x540dbc;};return _0x4832();}