@oxy.so/services 15.1.3 → 15.1.5

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 (69) hide show
  1. package/lib/commonjs/ui/boot/runProviderColdBoot.js +44 -328
  2. package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -1
  3. package/lib/commonjs/ui/illustrations/ThemedIllustration.js +27 -5
  4. package/lib/commonjs/ui/illustrations/ThemedIllustration.js.map +1 -1
  5. package/lib/commonjs/ui/illustrations/connected-apps.svg +1 -93
  6. package/lib/commonjs/ui/illustrations/connected-apps.svg.json +1 -1
  7. package/lib/commonjs/ui/illustrations/family.svg +1 -150
  8. package/lib/commonjs/ui/illustrations/family.svg.json +1 -1
  9. package/lib/commonjs/ui/illustrations/library.svg +1 -68
  10. package/lib/commonjs/ui/illustrations/library.svg.json +1 -1
  11. package/lib/commonjs/ui/illustrations/people.svg +1 -62
  12. package/lib/commonjs/ui/illustrations/people.svg.json +1 -1
  13. package/lib/commonjs/ui/illustrations/security.svg +1 -78
  14. package/lib/commonjs/ui/illustrations/security.svg.json +1 -1
  15. package/lib/commonjs/ui/illustrations/sessions.svg +1 -74
  16. package/lib/commonjs/ui/illustrations/sessions.svg.json +1 -1
  17. package/lib/commonjs/ui/session/tokenTransport.js +7 -69
  18. package/lib/commonjs/ui/session/tokenTransport.js.map +1 -1
  19. package/lib/module/ui/boot/runProviderColdBoot.js +44 -328
  20. package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -1
  21. package/lib/module/ui/illustrations/ThemedIllustration.js +27 -5
  22. package/lib/module/ui/illustrations/ThemedIllustration.js.map +1 -1
  23. package/lib/module/ui/illustrations/connected-apps.svg +1 -93
  24. package/lib/module/ui/illustrations/connected-apps.svg.json +1 -1
  25. package/lib/module/ui/illustrations/family.svg +1 -150
  26. package/lib/module/ui/illustrations/family.svg.json +1 -1
  27. package/lib/module/ui/illustrations/library.svg +1 -68
  28. package/lib/module/ui/illustrations/library.svg.json +1 -1
  29. package/lib/module/ui/illustrations/people.svg +1 -62
  30. package/lib/module/ui/illustrations/people.svg.json +1 -1
  31. package/lib/module/ui/illustrations/security.svg +1 -78
  32. package/lib/module/ui/illustrations/security.svg.json +1 -1
  33. package/lib/module/ui/illustrations/sessions.svg +1 -74
  34. package/lib/module/ui/illustrations/sessions.svg.json +1 -1
  35. package/lib/module/ui/session/tokenTransport.js +3 -68
  36. package/lib/module/ui/session/tokenTransport.js.map +1 -1
  37. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +8 -31
  38. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -1
  39. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
  40. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  41. package/lib/typescript/commonjs/ui/illustrations/ThemedIllustration.d.ts +1 -1
  42. package/lib/typescript/commonjs/ui/illustrations/ThemedIllustration.d.ts.map +1 -1
  43. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +1 -33
  44. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -1
  45. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +8 -31
  46. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -1
  47. package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
  48. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  49. package/lib/typescript/module/ui/illustrations/ThemedIllustration.d.ts +1 -1
  50. package/lib/typescript/module/ui/illustrations/ThemedIllustration.d.ts.map +1 -1
  51. package/lib/typescript/module/ui/session/tokenTransport.d.ts +1 -33
  52. package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -1
  53. package/package.json +3 -3
  54. package/src/ui/boot/runProviderColdBoot.ts +42 -363
  55. package/src/ui/illustrations/ThemedIllustration.tsx +43 -14
  56. package/src/ui/illustrations/__tests__/ThemedIllustration.test.ts +28 -0
  57. package/src/ui/illustrations/connected-apps.svg +1 -93
  58. package/src/ui/illustrations/connected-apps.svg.json +1 -1
  59. package/src/ui/illustrations/family.svg +1 -150
  60. package/src/ui/illustrations/family.svg.json +1 -1
  61. package/src/ui/illustrations/library.svg +1 -68
  62. package/src/ui/illustrations/library.svg.json +1 -1
  63. package/src/ui/illustrations/people.svg +1 -62
  64. package/src/ui/illustrations/people.svg.json +1 -1
  65. package/src/ui/illustrations/security.svg +1 -78
  66. package/src/ui/illustrations/security.svg.json +1 -1
  67. package/src/ui/illustrations/sessions.svg +1 -74
  68. package/src/ui/illustrations/sessions.svg.json +1 -1
  69. package/src/ui/session/tokenTransport.ts +3 -75
@@ -1 +1 @@
1
- "<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"100%\" height=\"100%\" viewBox=\"0 0 512 440\" preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\"><path d=\"M394 26q10 7 16 19l6 6 13 2q18 1 31 15 9 11 9 24l2-1q6 0 10 3c8 7 8 7 8 12l-2 18-1 2-2 9-2 11-1 2q-2 8 2 16l2 5q27 60 4 125a188 188 0 0 1-38 67c-23 24-56 34-87 41h-2q-30 7-60 6-45 1-91 9c-41 9-86 18-124-5-26-17-40-44-51-73l-1-3c-23-60-34-131-7-192q33-67 103-95 46-15 94-4c27 5 44-2 67-15 30-17 72-27 102-4\" fill=\"#C65835\"/><path d=\"M479 93q7 3 10 11 1 10-2 20l-1 2-2 9-2 11-1 2q-2 8 2 16l2 5q27 60 4 125-12 36-37 65l-1 2c-23 24-56 34-87 41h-2q-29 6-57 6h-4l-10 1h-30v-7q-1-17 11-32l10-4 3-1q16-4 34-6l3-1 75-8-1-4-6-19-1-4-1-4-1-3-1-6-9 4-19 8-53 22-3 1-5 2-2 1-2 1-4 2q-4 1-9-1-4-3-6-8l2-21 1-4 15-72 2-14 2-6v-3q1-6 4-7l5-3-5-2q2-18 6-35l2-9q2-13 11-20l6-3h2l31-12 10-4 7-2 7-2 2-1 8-1 4 13 3 8q5 4 12 2 5-1 9-7l3-3 8 1q4 0 8-3l3-5 3-4h8l6-1q10-13 10-30 5-2 10 1\" fill=\"#0120B4\" data-bloom-role=\"vivid\" data-bloom-strength=\"68\"/><path d=\"M394 26q12 11 21 25h-9l-10-1q-22-2-39 11l-2 2h-4l-3-1-3-1-3-2q-6-3-13-4h-3c-20-1-38 10-54 23l-3 3-2 2h-2v2l-7 6-15 20q-4-1-6-5-2-6-5-6h-5l-5 9-1-1q-10-9-21-8-5 1-9 6c-5 8-3 16-2 24l-26 9c9 4 9 4 13 3h4q6 4 8 13-1 5-6 8l-3 6 2 5q2 6 0 13-3 6-10 9-7 1-12-4-2-3-2-7v-2l1-5-6-2-1 2q-6 9-16 13-6 0-11-4l-2-1-10-6-1-1-5-4q-4-2-9-1l-3 5-1 2-3 7-1 3-3 6-4-1-3-1-5-2q-22-5-41 6-10 6-18 15l-3 3q3-76 57-130c31-29 76-48 119-47q19 0 37 5c27 5 44-2 67-15 30-17 72-27 102-4\" fill=\"#D6B1F9\" data-bloom-role=\"surface\" data-bloom-strength=\"55\"/><path d=\"M478 158h2q33 64 10 133a189 189 0 0 1-39 70c-23 24-56 34-87 41h-2q-30 6-58 6h-14v-10q0-13 9-22c11-9 32-9 46-10l2-1 36-4h4l16-3h22l-6-15-1-3-9-26-1-2-10-26-3-6h-3q-10-4-16-14-4-13 1-25 8-12 22-16 12-1 22 6a29 29 0 0 1 7 32q0 8 5 15l1 2 2 5c11-4 11-4 14-8q4-7 5-16l2-6v-4l4-16 1-4z\" fill=\"#1667F9\" data-bloom-role=\"vivid\" data-bloom-strength=\"68\"/><path d=\"m310 160-5 23v4l-2 7-1 4-1 3v9l6 1-9 5-6 32-1 5-12 60-1 5c-4 21-4 21-2 27q2 3 6 5 8 0 15-3l2-1 8-3 5-2 52-22 2-1 12-6 3-1 5-1 9 40-22 3h-6l-51 7-9 2c-31 5-31 5-37 12q-7 13-8 27v2l-1 6-11 2h-2l-8 2h-10q-4-3-6-8-6-7-15-10v-2l3-1 11-4 4-2 7-3 2-1q11-2 15-12 2-6 0-10l1-5 2-2 2-2 2-2q5-6 3-13 0-5-3-8l4-8q5-7 3-16l-7-9 3-7q2-8 0-16-4-5-11-8c-25-2-48 8-69 21l12-43 3-10c4-16 4-16 11-20q9-2 19-1c11 0 11 0 16-3l5-8c13-15 42-40 63-40\" fill=\"#D1ACF8\" data-bloom-role=\"surface\" data-bloom-strength=\"55\"/><path d=\"M99 173q8 1 14 6l6 3 2 2 4 2-6 14-1 4-3 6-2 2-3 8-4-1 1 3q9 23 14 45l2-3 18 4 9 3q0 12-7 22l-6 11h-3a224 224 0 0 0-101 26l-11-39-1-2q-7-27-9-55v-2c-1-13-1-13 2-18l7-7 2-2 16-10 2-1q10-4 20-3h2q13 0 23 6l1-4c7-19 7-19 12-20\" fill=\"#F65501\"/><path d=\"M207 99q9 3 15 9l1-3 4-6 7 1q9 9 10 20v2h2q10 3 17 10v10q-6 6-15 7h-3v15q-14 0-25-9 0 11 7 21l8 4q7-1 10-5-1 12-8 20-10 5-20 4l-2-1q-5-1-10 2-12 8-21 17l3 2 2 2 3 3q1 8-5 15l-1 2-7 9q-3 4-2 9l-2 6-8 4q-8 4-14 10l-4 3 1-11-4-1-23-6-2 4-4-12-12-38 5 2 1-4 8-17 1-3 2-3 1-3 3-3 3 2h9q9-5 14-14l6 3v2c-1 8-1 8 2 12q5 4 11 3 8-4 10-12c0-6 0-6-2-9l-1-7 7-7q2-4 1-9l-5-6-1-3-2 1q-8 2-14-2l-2-1q2-3 6-4l3-1 3-1 4-1 11-3-1-2q-3-10 1-19 5-12 18-10\" fill=\"#F44D00\"/><path d=\"M389 49h9l8 1c40 3 40 3 54 18q11 15 9 35-2 14-13 21h-11l-5 7q-3 4-7 5l-10-1-1 2c-7 7-7 7-13 8q-5 1-10-2-4-7-6-16l-1-6-39 13-9 4-3 1-3 1h-2l-5 1q-13-15-12-37l-1-2q2-19 15-33l10-8 10 2 6-4q13-10 30-10\" fill=\"#CF5F3B\"/><path d=\"m347 60-2 1q-16 9-24 28-5 21 4 41l5 7 1 5-2 1q-11 3-17 12l-1 3-3 3-3 1a148 148 0 0 0-55 36q-6 4-6 7-2 4-5 6l-15 1h-12q-5 0-9 4-8 14-10 30l-1 3-3 10-2 1-5-2-3-2-2-1 4-8 1-3 2-2 3-5 2-2q3-5 2-11l-4-4-2-2-2-1q6-7 14-12l1-2c9-6 9-6 12-6h2q13 4 25-3 7-8 7-18l-2 2q-4 4-10 2-9-5-12-15v-10l11 5q7 4 14 4v-15l3-1 4-1 2-1 8-4q2-4 0-9-7-8-18-11l-2-6v-3l-1-2h2l1-2q6-11 16-20l3-4h2v-2c22-21 52-38 82-23\" fill=\"#F74CA0\"/><path d=\"m137 304-2 2-3 3-2 2a54 54 0 0 0-14 39v3a93 93 0 0 0 36 71l2 1v1c-32 1-60-5-84-28q-26-29-37-68 25-14 51-20l2-1q26-5 51-5\" fill=\"#F73A8D\"/><path d=\"m310 160-5 23v4l-2 7-1 4-1 3v9l6 1-6 4q-11 9-13 23l-2-2c-5-7-5-7-9-8h-6l-5 2-2 8-1 3-2 7-2 6-1 6-3 6-2-1c-18-6-40 3-56 11l-16 9 12-43 3-10c4-16 4-16 11-20q10-2 19-1c11 0 11 0 16-3l5-8c13-15 42-40 63-40\" fill=\"#D4AFF8\"/><path d=\"m57 191-7 12-5 9 2 1 8 2 3 1 19 7h-2l-1 2-4 12-1 3-2 6-1 2-1 3v6l6 3q13 6 23 15 1 14-2 28h-2l-5-2-5-2-7-2-18-4v2c1 22 1 22-4 27q-8 7-18 8l-11-39-1-2q-7-27-9-55v-2c-1-13-1-13 2-18l7-7 2-2c8-8 22-15 34-14\" fill=\"#F65201\"/><path d=\"M478 158h2q33 64 10 133-7 24-21 46l-1 2-3 4h-2l-10-20-3-6-5-10-1-3c-7-14-7-14-7-17q4-5 9-6 9-9 9-20l2-6v-4l4-16 1-4z\" fill=\"#D1ADF9\" data-bloom-role=\"surface\" data-bloom-strength=\"55\"/><path d=\"M196 69q11 6 15 19l2 6q2 5 6 9 3 2 3 6l-1-1q-10-9-21-8-5 1-9 6-5 11-2 24l-10 3 5-22-18 1-4 10q-1 7-8 12l-8 1h-17q-5 0-8 4-5 10-6 19l-2 4h-9l-7-1h-6q-5 0-8 3-6 8-6 17l-17-8-5-3q0-12 8-22 6-2 12 0l9 3 9 1 4-10 1-3q4-11 14-17 12-1 23 6 7 2 13-2l7-13 3-7 2-3 4-4q12 0 22 7l1-3q2-6 8-10l10-2c-11-10-11-10-18-12q-10 4-15 12l-14-5h-8l-4 7-2 4-1 3-6 11-2 4-1 3q-8 1-16-2-11-5-23-2-11 7-15 20l-18-2q3-16 15-27c12-6 27 0 39 3v-2q4-19 19-31 11-1 22 2c13 4 13 4 18 1l7-5q6-6 14-4\" fill=\"#C5B2A9\"/><path d=\"M392 121q4 7 3 15l-21 8-7 2-10 4-10 3-3 1c-15 5-15 5-18 12q-4 7-5 16v3l-2 11-3 11-5 26-7 33-2 14-5 25-1 3-2 12c-5 23-5 23-5 31q-4 1-9-1-4-3-6-8l2-21 1-4 15-72 2-14 2-6v-3q1-6 4-7l5-3-5-2q2-18 6-35l2-9q2-13 11-20l6-3h2l31-12 10-4 7-2 4-1 3-1 2-1z\" fill=\"#1560F3\" data-bloom-role=\"vivid\" data-bloom-strength=\"68\"/><path d=\"m347 60-2 1q-16 9-24 28-5 21 4 41l5 7 1 5-2 1q-11 3-17 12l-1 3-3 3-7 1q-10-14-16-32l-1-2q-9-26 2-53l1-3q6-11 17-15 22-7 43 3\" fill=\"#F84094\"/><path d=\"M207 99q9 3 15 9l1-3 4-6 7 1q9 9 10 20v2h2q10 3 17 10v10q-6 6-15 7h-3v15q-13 1-23-8h-6q-12-1-19-10l-5-9-2 1-7 3-2 1c-8 3-8 3-12 1l-2-1-5-2q2-3 6-4l3-1 3-1 4-1 11-3-1-2q-3-10 1-19 5-12 18-10\" fill=\"#4A0759\"/><path d=\"M128 304h9l-2 2-3 3-2 2a54 54 0 0 0-14 39v3a93 93 0 0 0 36 71l2 1v1h-22q-8 0-14-6l-2-2-2-2a92 92 0 0 1-23-71q3-23 19-39 8-3 18-2\" fill=\"#FA81C1\"/><path d=\"M190 79q10 4 16 13h-2q-7 0-13 5l-5 9-7-3q-7-5-15-3-5 5-8 13c-5 12-5 12-11 16q-9 1-19-4-6-3-14-2c-9 4-12 14-15 22l-2 4-2 4q-9 1-16-3l-12-2q-8 7-10 19v2q-6-1-10-7-4-8 0-17 1-8 8-12 14-3 27 1v-2q4-12 13-18 10-4 19-1l8 2 14 2 1-2 4-9 2-5 10-17 15 5h7l4-4q4-7 13-6\" fill=\"#FAE8D4\"/><path d=\"M224 218h14c22 0 22 0 27 3q2 3 1 7l-4 16-4 16-3 6-2-1c-17-6-38 3-53 10l-5 1 3-15 6-26q3-9 10-16 4-2 10-1\" fill=\"#4DC191\"/><path d=\"m136 305 1 2-1 2q-3 11-2 22v3q1 33 22 58l2 2q10 13 25 20l-3 9-12 2-3 1q-8 2-14-2c-17-13-31-36-35-57q-4-19 2-38l1-3c4-7 9-17 17-21\" fill=\"#D3115F\"/><path d=\"m192 137 3 5q6 8 14 12l6 1h5v2q0 12 9 20 5 3 10 2l6-4q-1 12-8 20-11 7-23 4-15-4-29-13v3q0 14-5 27l-33-17 3-5 2-3 5-7 1 3q1 6 7 8 5 1 9-2 5-3 7-10c0-6 0-6-2-9l-1-7 7-7q2-4 1-9l-5-5-1-5 5-2 3-1z\" fill=\"#CD5E3A\"/><path d=\"m163 140 3 1q5 3 10 1h4q6 4 8 13-1 5-6 8l-3 6 2 5q2 6 0 13-3 6-10 9-7 1-12-4-2-3-2-7v-2l1-5-6-2-1 2q-6 9-16 13-5 0-11-4l-2-1-6-4-3-2-5-3v-1h8l2-1 10-1 2-4v-3l2-6q1-10 8-17l14-3 5-1z\" fill=\"#DE6D3D\"/><path d=\"m43 213-6 14-7 23q16 0 31 5v12l-1 3-1 6-1 5-3 11H44l-3 1-18 1q-12-38-11-77 16-5 31-4\" fill=\"#FCB301\"/><path d=\"M75 223c9 2 16 10 23 16l2 2q2 2 2 6l-5 21v2l-1 6 4 5 3 2 3 2 13 12 3 2 4 5h-2a305 305 0 0 0-71 16c0-18 0-18 2-27q19 2 37 10v-13l1-4 1-3-1-8q-11-10-24-15l-6-5 2-7 1-2 1-3z\" fill=\"#FCAF01\"/><path d=\"M196 69q11 7 15 19l1 8-8-3v-3q-7-8-17-11-10 4-15 12l-14-5h-8l-4 7-2 4-1 3-6 11-2 4-1 3q-8 1-16-2-11-5-23-2-11 7-15 20l-18-2q3-16 15-27c12-6 27 0 39 3v-2q4-19 19-31 11-1 22 2c13 4 13 4 18 1l7-5q6-6 14-4\" fill=\"#C6B3AA\"/><path d=\"M208 62q8 7 10 17 1 9-3 17h-3v-2q-3-14-14-23-5-2-10-1l-8 6q-7 5-13 4l-10-2q-12-4-24-1c-9 6-13 21-17 31q-9 0-16-3-12-3-23 0-9 10-13 22l-7-2q-2-6 2-12c5-8 10-18 19-21s19 1 28 3v-2q5-17 19-26 11-6 24-1l3 1q8 3 15 0l14-6c8-3 20-4 27 1\" fill=\"#FAE8D5\"/><path d=\"M166 111h18c-1 18-1 18-5 22l-7 3-12 4-4 2-10 1q-6 2-9 6-4 6-5 14c-3 10-3 10-6 12l-11 1h-2q-6 1-10-2h-6l-3 5-1 2-3 7q-7-1-13-6-2-10 5-18l6-4h13l3 1h9l1-3c3-17 3-17 10-23l8-1h10c10 0 10 0 14-2l5-8 1-3 1-3z\" fill=\"#FAE8D3\"/><path d=\"m87 311-2 2c-12 9-17 28-19 42q-1 20 2 40c-18-17-28-42-35-65q21-12 44-18l2-1z\" fill=\"#FA83C2\"/><path d=\"M102 245q7 3 10 9l1 2 8 11 2-3 16 4h2l9 3q0 13-7 22l-6 11q-7 2-13-2l-11-10-2-2-6-5c-10-7-10-7-11-12l2-9 2-7z\" fill=\"#F54F00\"/><path d=\"m335 55 12 5-2 1q-16 9-24 28-5 21 4 41l5 7 1 5-6 2-3 2-6 2a80 80 0 0 1-14-59q5-17 17-28l2-2q6-7 14-4\" fill=\"#F989C5\"/><path d=\"M291 64q0 7-4 12-6 13-5 26v3q0 13 4 25l1 2q4 13 13 26l1 4 2 1-5 2-2 1-9 3q-15-23-21-50l-1-3q-4-20 6-38l6-5z\" fill=\"#FA8AC6\"/><path d=\"M269 80v7l-2 5-1 2c-4 24 6 50 19 70l2 6-7 4-2 2-4 2-5 2c-14-29-14-29-14-34l3-1 5-5q0-5-3-10l-16-8-2-6v-3l-1-2h2l1-2q6-11 16-20l3-4h2v-2z\" fill=\"#F84296\"/><path d=\"m350 62 2 3-2 2q-14 16-14 37v3q-1 13 8 25l1 5-8 3-6 1q-13-15-12-37l-1-2q2-19 15-33c9-9 9-9 17-7\" fill=\"#D61562\"/><path d=\"M229 105q4 0 5 3l2 2 1 2 2 5 3 4 4 1q10 3 17 10v10q-6 6-15 7h-3v15q-11 1-20-6l-4-4 2-1q7-4 8-12 1-11-4-22v-8z\" fill=\"#CB5C3B\"/><path d=\"m152 175 6 3q-1 7-5 13l-1 2-3 4h-2l-2 1-1 4-7 17-1 3-6 12-22-13 2-1 1-4 8-17 1-3 1-3 2-3 3-3 3 2h9q9-5 14-14\" fill=\"#F44E00\"/><path d=\"m218 210 15 1c26 0 26 0 31 4q3 4 2 8l-2-1q-14-4-28-3l-5-1c-15 0-15 0-19 3q-5 6-6 14l-1 2-2 9-1 5-1 3-1 5-2 10q0 6-4 9l-13 7 12-43 3-10c4-15 4-15 11-20q6-3 11-2\" fill=\"#83E8BC\"/><path d=\"M208 105q11 6 16 17t1 21q-1 5-5 6-7 1-12-2-12-10-14-26c0-9 0-9 3-13l1-2q4-3 10-1\" fill=\"#DA683A\"/><path d=\"m155 142-3 5q-3 6-2 13v4l2 8q0 6-5 11-4 6-12 8-7 0-12-5l-2-1-5-3-3-2-5-3v-1h8l2-1 10-1 2-4v-3l2-6q1-10 8-17 8-3 15-2\" fill=\"#C5B1A7\"/><path d=\"M64 190q14 2 25 9l-6 12-2 3-2 3-3 5-2-1-19-5-3-1h-2l-6-3 9-16q4-6 11-6\" fill=\"#FCBB02\"/><path d=\"m145 198 16 7 5 3-7 16-1 2-9 17-8-4-3-1-2-1-2-1-3-3q0-6 3-10l3-8 2-4z\" fill=\"#FCAF01\"/><path d=\"M220 400q7 5 10 13l-28 6-7 2-5 1h-2l-8 1 2-6 2-6c2-10 2-10 6-12q16-9 30 1\" fill=\"#F54F02\"/><path d=\"m106 175 2 1 17 10-6 14-1 4-3 6-2 2-3 8q-4 0-6-3l-10-12-2-6 5-12 1-2q3-6 8-10\" fill=\"#FCB601\"/><path d=\"M184 219q4 0 7 3 2 4 1 9l-6 10-7 9q-3 4-2 9l-2 6-14 7-2 1-8-2 1-8 1-2 3-14 12 3 1-2 4-9 2-3 2-3 3-7 2-3z\" fill=\"#FBAB01\"/><path d=\"m123 264 16 4h2l9 3q0 13-7 22l-6 11h-7l-6-19-1-4c-3-11-3-11 0-17\" fill=\"#FBAA01\"/><path d=\"m279 193 2 2q9 14 26 16l-6 4q-11 9-13 23l-2-2c-5-7-5-7-9-8h-10l1-1q10-11 11-26z\" fill=\"#FAF738\"/><path d=\"m105 218 2 1 28 17-4 11-1 4-2 4-2 4-4 9-3-3v-2l-1-3-1-3z\" fill=\"#D53500\"/><path d=\"m255 147 5 12 2 4 3 6 2 4 3 8-11 8q-7-7-9-15l-2-3q-5-11-3-22z\" fill=\"#FA8AC6\"/><path d=\"m67 316-1 2a88 88 0 0 0-21 40l-5-9-1-4-2-3-1-3-3-8 14-9 3-1c14-6 14-6 17-5\" fill=\"#F83E8F\"/><path d=\"M170 166q4 0 7 3c4 5 5 7 5 14q-2 8-9 12l-8 1q-5-2-8-7v-8l5-3q5 0 6-4z\" fill=\"#FAE8D3\"/><path d=\"M201 397q3 10 3 22l-10 2-3 1h-3l-3 1h-5l4-13c3-9 3-9 6-12z\" fill=\"#FAA601\"/><path d=\"m184 185 2 1 7 3 3 2 12 5v2l-6 5q-9 5-16 12l-4 2-2-1 1-4v-3l2-4v-9l1-2z\" fill=\"#72220F\"/><path d=\"m220 155 11 5 14 5c1 8 1 8-2 12l-7 4q-7-2-12-8-6-8-4-18\" fill=\"#FAEAD5\"/><path d=\"M206 93q10 3 15 12l1 4-1-1q-10-9-21-8-5 1-9 6-5 11-2 24l-10 3 4-16q2-14 11-24 5-3 12 0\" fill=\"#D5673F\"/><path d=\"M366 99q15 5 24 18l2 4-6 2-4 1-9 2-3-10-1-3z\" fill=\"#752410\"/><path d=\"M479 93q7 3 10 11v8l-1-2q-6-2-12 0l-4 2h-7l1-2q3-8 3-18 5-2 10 1\" fill=\"#1761F3\"/><path d=\"M107 226h2l8 24 1 3 2 7-1 5-2-3-3-4-2-2-1-1-4-6q-5-3-4-6v-5z\" fill=\"#FAAC01\"/><path d=\"m152 175 6 3q-1 7-5 13l-1 2q-1 3-5 5-4 0-8-3l-3-2-2-1 5-4q8-5 13-13\" fill=\"#74230F\"/><path d=\"M258 293v2h-4q-31 1-60 17l-5 1q2-4 5-6l5-2 2-2 21-8 3-1c8-3 25-5 33-1\" fill=\"#73240F\"/><path d=\"M395 74q12 3 17 13 13 17 13 39v7l-3 2v-4q0-29-21-51l-4-3-2-1z\" fill=\"#762510\"/><path d=\"M244 324h3q6 0 10 2l-1 2h-4q-28-1-53 12l-6 2q1-4 5-6l4-2 2-1 21-7 2-1z\" fill=\"#70220E\"/><path d=\"M423 67q11 4 16 16 11 19 8 40l-3 1v-2c0-19-3-36-17-50l-2-1z\" fill=\"#782611\"/><path d=\"m27 251-1 3-7 22h-1l-3-14v-3l-1-3v-4l4-1 3-1z\" fill=\"#F75600\"/><path d=\"M250 356v2h-3q-22-1-41 9l-5 1q1-4 6-6c11-5 31-13 43-6\" fill=\"#73230F\"/><path d=\"m226 227 3 4q0 4-3 7l-5 3-5-3v-9q4-5 10-2\" fill=\"#08613F\"/><path d=\"M180 142q6 5 8 13-1 5-6 8h-1v-2q-1-7-7-13l-2-4q3-2 8-2\" fill=\"#F9E6D1\"/><path d=\"m221 243 3 3q1 5-1 9-5 2-9 1l-3-3q-1-5 3-9z\" fill=\"#07603F\"/><path d=\"m188 402-4 12-9-4-2-2-3-3 7-2 4-1z\" fill=\"#71210D\"/><path d=\"M229 105q4 0 5 3c5 7 5 7 4 11l-11-1v-8z\" fill=\"#CCA7ED\"/><path d=\"m176 253 1 2 3 1 8 4-1 4-12 1z\" fill=\"#F14F08\"/><path d=\"m180 286-3 2-3 3-2 2-10 9q3-9 10-14c6-3 6-3 8-2\" fill=\"#762510\"/><path d=\"m219 122 3 2-1 3-3-2-6 1-4 6-1 1h-1q0-5 3-9 4-3 10-2\" fill=\"#180B06\"/></svg>"
1
+ "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 440\" width=\"512\" height=\"440\" preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\"><defs><clipPath id=\"oxy-oxy-services-sessions-silhouette\"><path d=\"M344.75 13.3C322.65 15.85 309 20.65 283 35.15 264.95 45.2 257.6 47.7 245.75 47.7c-7.7.05-11.9-.5-24.25-3-29.75-6-49-6-72.95.05C98.8 57.3 56 90.2 33.55 133.25c-11 21.05-17.1 40.8-20.4 66-1.1 8.75-1.3 36.05-.25 45.5 4.1 37.3 21.3 96 36.25 123.75 28.3 52.55 70.6 67.25 147.85 51.3 5.9-1.25 15.15-3.15 20.5-4.25 9.9-2.05 17.15-3.2 32-5.05 18.95-2.35 23.6-2.6 47.75-2.75 28.3-.2 37.6-.9 55-4.05 21.8-4 37-8.05 52.75-14.05 34.35-13.05 54.45-32.45 73-70.4 14.75-30.2 21.65-57.9 21.7-87 .05-25.35-4.75-44.5-17.75-70.4l-2.55-5 2.8-12.3c8.2-36.2 8.3-36.9 5.7-42.1-3.3-6.6-9-10.65-15-10.7h-3.35l-.3-3c-1.35-11.4-8.95-22.95-19.15-28.9-7.95-4.65-16.65-6.95-30.65-8.1l-3.8-.3-4.15-5.6C405.05 37.2 400.8 32.5 394 26.6c-4.7-4.05-13.5-8.45-21.7-10.8-7.55-2.2-20.1-3.35-27.55-2.5\"/></clipPath><linearGradient id=\"oxy-oxy-services-sessions-tone-2\" gradientUnits=\"userSpaceOnUse\" x1=\"6864.6\" y1=\"1385.9\" x2=\"4526.6\" y2=\"8324.1\"><stop offset=\"0\" stop-color=\"#d1acfa\" data-bloom-paints=\"stop-color:surface:55:#d1acfa\"/><stop offset=\"1\" stop-color=\"#d7b2fa\" data-bloom-paints=\"stop-color:surface:55:#d7b2fa\"/></linearGradient><linearGradient id=\"oxy-oxy-services-sessions-tone-1\" gradientUnits=\"userSpaceOnUse\" x1=\"5755.8\" y1=\"1750.6\" x2=\"3642.3\" y2=\"6353.9\"><stop offset=\"0\" stop-color=\"#c25535\"/><stop offset=\"1\" stop-color=\"#d5643b\"/></linearGradient><linearGradient id=\"oxy-oxy-services-sessions-tone-4\" gradientUnits=\"userSpaceOnUse\" x1=\"9140.9\" y1=\"2230.7\" x2=\"5666.3\" y2=\"3058.6\"><stop offset=\"0\" stop-color=\"#176afb\" data-bloom-paints=\"stop-color:vivid:68:#176afb\"/><stop offset=\"1\" stop-color=\"#1460f5\" data-bloom-paints=\"stop-color:vivid:68:#1460f5\"/></linearGradient><linearGradient id=\"oxy-oxy-services-sessions-tone-8\" gradientUnits=\"userSpaceOnUse\" x1=\"3550.4\" y1=\"337.0\" x2=\"1167.7\" y2=\"4853.9\"><stop offset=\"0\" stop-color=\"#fca000\"/><stop offset=\"1\" stop-color=\"#fcb901\"/></linearGradient><linearGradient id=\"oxy-oxy-services-sessions-tone-5\" gradientUnits=\"userSpaceOnUse\" x1=\"4918.4\" y1=\"1302.0\" x2=\"680.2\" y2=\"4812.3\"><stop offset=\"0\" stop-color=\"#f34700\"/><stop offset=\"1\" stop-color=\"#f65300\"/></linearGradient><linearGradient id=\"oxy-oxy-services-sessions-tone-10\" gradientUnits=\"userSpaceOnUse\" x1=\"5706.0\" y1=\"4371.7\" x2=\"1922.2\" y2=\"5566.9\"><stop offset=\"0\" stop-color=\"#f94399\"/><stop offset=\"1\" stop-color=\"#f83a8b\"/></linearGradient><linearGradient id=\"oxy-oxy-services-sessions-tone-9\" gradientUnits=\"userSpaceOnUse\" x1=\"3243.4\" y1=\"565.8\" x2=\"1359.6\" y2=\"5739.2\"><stop offset=\"0\" stop-color=\"#fa7fc0\"/><stop offset=\"1\" stop-color=\"#fb8cc9\"/></linearGradient><linearGradient id=\"oxy-oxy-services-sessions-tone-6\" gradientUnits=\"userSpaceOnUse\" x1=\"2341.4\" y1=\"1548.1\" x2=\"7001.8\" y2=\"1637.8\"><stop offset=\"0\" stop-color=\"#d30f5f\"/><stop offset=\"1\" stop-color=\"#d51363\"/></linearGradient><linearGradient id=\"oxy-oxy-services-sessions-tone-12\" gradientUnits=\"userSpaceOnUse\" x1=\"4809.2\" y1=\"841.1\" x2=\"3745.6\" y2=\"6365.4\"><stop offset=\"0\" stop-color=\"#6b1f0c\"/><stop offset=\"1\" stop-color=\"#72220e\"/></linearGradient><linearGradient id=\"oxy-oxy-services-sessions-tone-13\" gradientUnits=\"userSpaceOnUse\" x1=\"3691.1\" y1=\"4206.9\" x2=\"5222.3\" y2=\"4220.5\"><stop offset=\"0\" stop-color=\"#80e9bb\"/><stop offset=\"1\" stop-color=\"#86ebc0\"/></linearGradient><linearGradient id=\"oxy-oxy-services-sessions-tone-15\" gradientUnits=\"userSpaceOnUse\" x1=\"5892.5\" y1=\"4350.6\" x2=\"5500.8\" y2=\"4606.9\"><stop offset=\"0\" stop-color=\"#fbfa36\"/><stop offset=\"1\" stop-color=\"#fbf930\"/></linearGradient></defs><g clip-path=\"url(#oxy-oxy-services-sessions-silhouette)\"><g transform=\"matrix(.05 0 0 -.05 0 440)\"><path d=\"M0 0h10240v8800H0Z\" fill=\"url(#oxy-oxy-services-sessions-tone-2)\" data-bloom-role=\"surface\" data-bloom-strength=\"55\"/><path d=\"M8286 7830c-16-5-17-7-2-19 56-47-24-53-265-20-183 25-393 22-499-6-135-36-307-131-416-229-52-46-52-46-76-27-23 19-23 19-88-55-307-351-386-782-216-1175 63-148 143-261 192-273 20-5 98 18 303 90 152 54 282 102 290 108 23 18 29 49 15 86-24 65-107 390-101 397 4 3 26-7 49-22 213-139 338-318 378-537 24-132 40-172 92-225 138-141 387-105 507 72 35 53 36 53 118 36 130-26 304 79 355 217 11 29 16 33 38 27 73-18 116-16 174 5 119 45 204 154 269 342 42 123 42 123 41 288 0 154-2 171-28 250-126 381-424 598-892 650-60 6-134 15-165 19s-64 5-73 1m-4360-826c-168-53-248-188-316-531-16-83-43-190-59-238-51-147-20-174 136-119 145 52 148 58 126 216-20 145 8 272 77 352 32 36 87 72 97 63 2-3-4-8-15-11-11-4-40-29-65-55-67-71-91-158-84-294 13-274 180-535 390-613 34-13 52-23 41-23-33-1-156 64-208 110-25 23-76 85-111 139-83 126-82 126-251 65-71-26-135-53-143-60-30-29-17-73 36-128 78-81 103-124 103-179 0-54-14-64-24-18-18 95-126 240-230 309-28 19-84 45-125 58-91 29-157 20-224-31-122-93-194-335-154-522 34-160 88-249 181-300 29-16 29-16 6-27-13-7-60-72-106-145-45-73-89-141-99-152-28-31-17-100 16-100 5 0 85-40 177-89 440-233 487-254 518-240 52 26 124 303 124 481v78l108-54c59-29 139-65 177-80 39-15 88-36 111-46 23-11 48-20 57-20s53-9 99-20c319-77 554 58 639 366 34 126 16 197-51 197-22 0-40-10-68-41-34-36-44-42-81-42-23 0-57 6-76 14-80 34-173 170-193 284l-9 52 31-20c139-92 374-161 436-128 57 31 62 138 10 206-12 15-31 43-44 62l-22 35 41 3c306 20 475 159 420 348-34 118-201 243-405 305-41 12-91 30-110 41-46 24-48 23-46-14 1-38 8-37-126-17-83 12-88 14-88 37 0 31-30 26-46-7-12-24-12-24-29 10-10 19-27 48-40 64l-22 30 29 1c16 1 37 9 46 17 23 24 21 83-5 108-20 21-20 21-26-10-8-41-17-39-45 9-12 22-49 68-81 103-57 61-59 63-45 89 14 27 13 28-28 55-115 73-237 97-332 67m-407-1651c120-145 23-404-152-405-88-1-167 62-167 133 0 15-4 39-10 53-9 26-9 26 36 26 62 0 102 19 151 73 38 41 73 120 73 164 0 21 33 0 69-44m126-1768c-270-36-454-132-653-339-109-114-218-284-272-426-7-19-22-45-33-57s-19-35-19-50-13-82-29-148c-78-315-62-617 52-960 112-338 310-649 555-873 121-110 110-108 299-60 88 22 166 40 173 39 54-4 67-1 81 15 15 19 302 115 382 128 52 9 70 32 34 46-33 12-28 31 11 43 71 23 557 218 613 247 80 40 155 114 188 187 35 76 37 173 5 225l-23 36 74 74c163 163 210 362 114 489-18 23-36 48-41 55-7 9 1 25 28 54 167 185 181 433 30 556-24 20-44 41-44 48 0 6 18 47 40 91 84 166 71 310-37 426-36 39-47 57-45 78 4 35-8 44-92 70-239 73-750-47-1195-280-62-33-115-58-117-56-3 2 14 68 37 145 36 126 39 144 27 168-18 38-40 42-143 29\" fill=\"url(#oxy-oxy-services-sessions-tone-1)\"/><path d=\"M9466 6645c-71-25-130-46-131-48-1-1-8-18-15-37-35-90-114-183-185-216-55-26-98-30-156-12-34 10-39 15-39 41 0 22-4 28-16 23-9-3-20-6-26-6-5 0-8-15-7-33 4-43-42-138-91-187-77-77-200-106-279-65-28 14-32 21-29 46 3 16 3 29 2 29-2 0-14-4-29-10-21-8-25-15-23-42 3-48-59-140-120-179-125-79-258-73-344 18-30 32-58 91-58 125-1 54-4 54-291-47-151-53-364-128-474-166-553-194-542-190-606-240-43-34-92-106-114-168-30-86-241-1085-399-1891-122-622-228-1171-276-1420-22-118-47-246-55-284-21-109-13-113 112-67 248 91 1272 520 1641 688 139 64 256 113 259 109 9-9 223-788 218-796-2-4-60-12-127-19-508-51-1054-124-1628-220-568-95-661-120-743-205-110-113-190-359-204-628-6-113-7-117-30-123-30-7-25-26 11-44 23-11 51-11 160-1 72 6 202 15 289 19 125 5 160 10 173 23 12 12 20 54 29 165 30 344 94 461 283 517 221 65 1585 241 2170 280 182 11 205 15 224 33 11 12 20 32 20 45 0 12-66 197-145 409-155 412-265 710-354 959-61 171-74 191-136 209-190 57-342 222-367 400-36 251 132 506 383 582 106 33 250 25 338-18 104-52 183-142 231-262 34-87 31-256-6-369l-27-83 91-202c92-203 115-239 159-252 21-6 23-5 17 11-16 40-22 35 99 91 100 46 169 109 206 188 16 33 29 66 29 73 0 14 117 548 190 872 27 118 108 473 180 788 71 314 130 579 130 587 0 25 16 17 32-17 20-41 14-62 92 287 98 439 138 628 138 653 1 33-74 106-121 121-67 20-121 13-255-34\" fill=\"#0020b4\" data-bloom-role=\"vivid\" data-bloom-strength=\"68\" data-bloom-paints=\"fill:vivid:68:#0020b4\"/><path d=\"M9404 7022c-7-4-13-60-17-142-5-128-25-220-73-337-3-7 60 10 143 38 184 64 243 65 297 8 28-29 32-38 25-62-7-26-6-27 14-21 44 13 52 30 52 117 0 73-4 90-33 149-59 120-159 209-271 242-58 17-119 21-137 8m-1787-640c-119-43-157-61-154-72 3-8 6-21 8-28 3-9-78-42-261-107-146-52-269-95-274-95-6 0-19 9-31 20-19 18-26 19-51 9-16-6-122-44-235-84s-221-81-239-90c-45-23-137-110-167-159-28-43-76-175-65-177 4-1 19 0 34 1 26 1 26 0 18-32-11-39-147-672-181-841-24-119-24-119-52-113-26 5-28 4-21-17 3-12 13-29 20-38 12-13 10-18-17-38-31-23-42-43-53-101l-6-34 35 34c19 19 35 30 35 24 0-5-23-115-50-244-176-820-430-2099-430-2164 1-138 98-247 223-250 46-1 50 1 52 24 4 29 34 194 75 405 16 83 63 326 105 540 176 905 252 1288 351 1765 199 958 205 980 280 1056 49 49 98 71 379 169 138 48 331 115 430 150s258 90 354 124c95 33 178 58 183 55 32-20-46 281-82 316-3 3-10 14-16 25-17 30-26 28-197-33m302-2117c-275-90-456-366-419-637 27-200 195-389 398-449 23-7 46-17 51-23 4-6 33-81 64-166 79-220 204-559 355-965 72-192 132-357 134-365 2-11-31-16-192-27-284-19-556-47-1088-113-699-88-1055-149-1166-199-153-69-232-245-252-558-7-110-7-113-30-113-28 0-32-21-8-41 40-33 635-29 939 6 618 72 1316 264 1739 479 311 158 583 392 816 701 80 107 91 130 78 165l-9 25-19-22c-10-13-22-23-27-23s-43 71-85 158c-42 86-154 319-250 517-204 421-210 434-212 450-1 7-7 19-13 26-6 8-50 99-97 203l-86 188 27 82c34 105 39 270 9 356-57 167-163 286-304 341-90 35-252 37-353 4\" fill=\"url(#oxy-oxy-services-sessions-tone-4)\" data-bloom-role=\"vivid\" data-bloom-strength=\"68\"/><path d=\"M2084 5331c-74-33-124-104-210-295l-78-175-32 24-31 24-12-25c-6-14-15-24-19-22s-35 18-69 35c-134 70-314 104-477 88-77-7-77-7-122-63-24-32-79-116-121-189l-78-132-90-1c-115 0-236-15-349-42-75-19-92-26-115-55-31-40-41-41-41-7 0 33-29 29-48-6-26-48 3-711 32-759 17-27 55-30 141-11 71 15 86 16 81 4-3-7-26-80-51-161-25-82-56-180-69-218l-22-70 46-187c46-192 63-228 106-230 10-1 69 7 129 17 109 18 416 28 430 13 4-3 0-85-9-181-21-226-20-283 2-326 27-53 44-54 171-5 62 24 120 44 130 44 9 0 29 7 45 16 33 17 228 74 321 94 171 36 189 43 204 78 17 38 19 39 79 8l47-24 155 24c204 31 364 46 479 44l94-2-5 31c-3 17 0 32 7 35 6 2 20 26 30 53 47 127 156 308 238 399 26 29 47 60 47 70 0 49 11 62 40 54 24-7 37-1 100 47 105 78 233 138 341 158l36 7 5 86 5 87 146 214c185 270 206 321 171 424-28 83-153 178-206 158-34-13-48-34-115-162-60-114-240-436-253-452-4-4-48 8-98 28-94 36-122 37-149 3-7-8-30-101-53-208-22-107-43-205-45-217-3-13-9-23-14-23-12 0-378 106-429 124-30 11-50 13-67 6-23-9-25-6-36 33-76 289-178 619-210 679-6 10-20 23-32 27-20 8-20 9 8 22 35 16 38 23 180 331 57 125 122 263 145 306 44 87 44 117-2 145-102 62-366 215-379 220-9 3-34-3-55-12m-108-822c58-87 122-150 173-170 10-4 5-9-17-17-37-13-39-17-83-174l-33-117-85 82c-91 87-164 146-271 217-36 24-67 44-69 46-5 4 96 184 154 274l47 73 60-59c33-33 88-102 124-155m-849-74c114-28 272-85 301-110 1-1-26-72-61-156-35-85-83-208-106-274s-43-125-46-132c-2-8-36-1-107 22-129 42-230 63-366 76-59 5-110 11-113 12-9 3 104 266 192 448l74 151 67-7c37-3 112-17 165-30m1050-757c55-68 114-144 132-170 17-27 39-48 47-48 12 0 14-7 10-27-4-18 22-136 68-321l74-292-100 92c-140 129-206 189-336 297-62 52-112 98-112 102 0 36 106 489 114 489 2 0 49-55 103-122m-795-129c108-54 220-124 346-216 85-62 101-78 97-96-11-51-35-239-41-324-4-51-9-93-11-93s-61 21-131 46c-126 46-344 106-434 119-30 5-48 12-48 20 0 68 117 585 132 585 5 0 45-18 90-41m1508 1338c-31-15-64-80-221-446-111-260-121-288-113-320 9-35 16-40 203-134 204-103 213-105 259-63 13 11 98 169 189 350l164 329-98 52c-54 28-151 79-215 113-113 59-116 61-97 78 16 14 17 20 7 30-21 20-52 24-78 11M3911 836c-75-24-139-50-146-60-9-11-14-13-17-5s-13 10-29 6c-21-5-29-21-58-109-18-57-51-151-73-209-32-87-37-110-29-132 12-32 45-47 87-40 100 17 440 86 460 94 43 16 44 42 13 239-32 208-44 260-62 259-7 0-72-19-146-43\" fill=\"url(#oxy-oxy-services-sessions-tone-8)\"/><path d=\"M1945 5394c-72-26-96-61-169-238-39-94-40-112-7-118 19-3 19-7-19-93l-40-90 32-27c28-23 31-30 21-45-61-91-150-237-197-325l-58-108-60 31c-136 69-352 132-494 145-57 5-74 10-74 22 0 22 122 228 196 332 35 49 64 92 64 96 0 22-240-34-353-83-194-82-407-249-516-402l-25-34 25 7c128 36 218 56 294 65 105 13 282 15 289 3 3-4-20-56-50-114-102-199-271-594-259-606 3-3 29-5 58-3 132 5 339-30 522-89 65-22 121-38 123-36 1 2 25 68 52 147 45 133 160 422 196 491l15 29 50-28c106-61 239-163 355-275 67-65 124-118 127-118 2 0 26 77 52 170 47 169 66 203 81 145 7-29 21-24 35 12l9 25 38-23c85-52 211-123 272-156 55-28 70-32 92-24l27 10-35-82c-97-227-188-433-194-440-4-5-17 7-29 25-23 33-23 33-16 4 15-71 17-86 9-86-5 0-20 17-33 38-24 36-183 234-260 322-22 25-43 42-47 38-9-10-87-315-119-473-15-71-30-133-34-137s-56 29-116 73c-197 144-503 315-525 293-15-15-97-355-125-517-15-84-28-161-30-172-4-20-12-20-217-22-162-1-238-6-317-20l-104-19-11 28c-12 33-26 32-43-3-10-20-3-55 46-234 75-271 159-536 176-554 24-25 68-15 150 34 44 27 127 70 185 97 139 65 133 61 148 92 17 34 10 43-23 28-22-10-25-9-31 15-11 43 25 505 40 520 21 21 373-66 571-141 82-31 152-53 156-48 4 4 12 61 19 127 15 170 40 346 51 374l9 23 38-28c131-99 582-504 582-524 0-5-14-10-31-12-31-3-31-3-11-28 22-28 80-31 129-8 37 18 43 48 10 48-24 0-27 9-112 349l-87 348 26 51c14 28 29 53 34 56s51-9 103-25c52-17 166-51 254-75 87-24 163-48 168-53 7-7-9-122-29-206-3-12 34 17 94 75 56 54 94 98 88 101-6 4-37 13-70 20-32 7-60 18-62 24-3 6 9 78 26 161 17 82 38 185 47 229s19 84 23 88 53-10 110-33c85-34 105-39 116-28 17 18 191 324 276 485 38 73 74 135 79 138s17 1 28-5c25-13 33 0 18 30-11 21-110 90-129 90-4 0-10-11-14-25-3-14-8-25-10-25-1 0-64 32-139 71s-137 70-138 68-72-145-157-317-164-324-175-338l-21-26-177 88c-120 60-177 94-177 105 0 15 183 448 263 621 31 67 39 78 59 75 36-3 36 36 1 60-33 24-363 200-398 213-16 6-35 6-52-1-28-10-28-10-5-27 22-17 22-17-12-82-29-55-163-341-259-552-14-32-29-58-32-58-23 0-104 81-147 147-28 43-85 113-126 156-89 91-92 58 25 319 94 210 164 296 217 266 26-15 39 3 27 35-11 28-65 66-120 85-42 15-56 14-106-4M216 4516c-23-36-24-72-2-94 23-23 27-12 24 59l-3 63zm25-719c-22-27-22-75 3-219 33-190 64-324 79-336 32-24 49-23 46 6-1 15 1 34 4 42s22 71 41 140 53 177 75 240c21 63 37 118 35 122-8 13-64 9-158-12-50-11-91-20-93-20s-3 11-3 25c0 28-12 32-29 12m3300-57c-16-23-23-50-28-119-8-113-4-122 39-111 18 5 68 13 111 18l78 8-6-28c-13-59 55-22 73 40 22 72 0 100-128 162-47 22-92 45-101 50-12 6-22 1-38-20M1836 2722c-3-3-6-27-6-53 0-42-3-48-22-51-31-4-28-20 7-37 24-11 42-12 103-2 90 13 122 28 134 60 8 22 6 23-21 18-16-4-31-3-33 1-5 12-156 71-162 64M4069 887c-52-20-55-24-48-47 4-14 20-101 34-195 14-93 28-180 30-192 4-17 0-22-17-25-31-4-28-20 6-37 25-12 49-9 225 28 108 22 223 45 255 51 61 10 91 28 99 59 3 14-1 16-22 13s-28 2-38 25c-24 53-143 193-206 239-130 97-219 120-318 81\" fill=\"url(#oxy-oxy-services-sessions-tone-5)\"/><path d=\"M6345 7710c-125-17-278-69-405-138-30-16-84-46-120-65-62-33-67-39-107-118-52-105-118-306-138-423-44-262 0-592 121-905 83-214 270-539 303-525 9 3 59 21 111 39 94 34 94 34 111 83 23 67 57 119 113 170l47 43-41 62c-57 85-153 285-184 382-102 314-92 665 25 898 88 173 228 329 374 414 62 36 86 75 52 85-30 8-189 7-262-2m-1048-597c-158-157-266-281-376-435-42-59-82-107-88-107-7-1-16 11-19 25-6 21-9 23-20 12-22-21-20-48 6-136l25-82 70-21c243-72 402-218 380-349-12-72-102-147-198-165-43-8-43-10-17-67 10-24 43-99 71-168 68-164 180-398 206-430l21-25 116 78c64 43 163 105 219 138s104 62 105 64c2 2-17 35-42 73-369 566-491 1197-312 1619 20 49 24 68 16 88-5 14-13 25-16 25-4 0-70-62-147-137m-389-1501c0-4-1-27-2-52-1-42-3-45-31-50-29-5-30-7-30-55 0-27-4-88-8-135l-7-85 24 28c32 35 36 34 36-9 0-101-61-245-135-320-108-109-257-139-467-94-56 12-117 29-135 38-32 16-32 16-134-53-164-112-399-313-399-342 0-6 29-26 66-43 151-73 195-159 140-275-13-27-84-138-159-245-97-141-131-198-123-205 6-6 40-24 76-40 119-54 142-72 135-105-5-25-4-28 14-23 44 11 44 13 216 603 73 253 104 307 205 354 41 19 67 21 325 26 260 5 283 7 310 25l30 20-32 3c-18 2-33 7-33 12 0 33 380 450 411 450 4 0-27 73-70 163-43 89-97 212-121 272-24 61-47 115-52 121-10 14-47 25-50 16M2020 2655c-113-19-236-41-275-50-38-8-83-18-99-22-44-9-146-146-216-288-135-274-200-558-200-879 0-116 20-322 40-411 5-23 12-62 15-86 5-38 15-54 83-122 248-253 508-401 872-499 134-36 211-41 236-16 34 33 21 63-68 157-161 169-314 392-400 583-95 212-131 388-131 648-1 391 105 705 304 901 81 80 99 113 64 116-11 1-112-14-225-32m-684-164c-3-4-20-11-38-14-82-13-405-154-551-241-43-25-80-46-82-46-1 0-6 12-9 26-8 32-31 18-41-25-8-39 191-561 230-600 18-18 63-17 82 2 8 8 28 64 43 123 67 261 194 512 339 667 56 59 65 75 62 105-1 14-27 16-35 3\" fill=\"url(#oxy-oxy-services-sessions-tone-10)\"/><path d=\"M3715 7600c-81-21-136-42-255-98-217-102-261-114-328-88-240 94-349 117-462 96-213-39-352-175-520-510-27-54-53-101-57-103-4-3-78 13-163 35-204 52-299 54-394 10-141-66-285-260-382-515-40-104-40-104 47-143 33-15 59-29 59-31 0-13-33-79-43-85-7-4-26-8-43-8-131 0-239-122-278-312-29-143-18-260 30-317 27-33 201-143 208-132 2 3 14 42 25 86 47 184 91 273 146 300 43 20 87 13 267-44 304-95 322-89 403 129 165 443 247 494 577 360l123-50h-57c-127 0-232-72-295-201-32-63-103-302-103-342 0-17-5-19-37-14-108 17-352 38-383 32-118-21-208-83-256-177-25-49-58-163-68-234l-6-42 143-78c78-44 150-79 160-79 14 0 30 28 66 112 60 140 74 161 119 180 50 21 79 12 185-57l92-61 110 5c135 7 200 25 242 68s56 80 104 262c71 272 119 332 278 343 70 5 82 9 96 29 40 61 132 93 206 71 43-13 48-12 188 38 140 51 181 76 181 111 0 17-5 17-32 3-11-6-22-9-24-7-2 3 10 43 26 89 16 47 43 155 60 240 46 232 86 335 158 407 76 76 191 102 289 64 36-14 53-16 57-8 2 6 5 4 5-4 1-12 80-70 95-70 2 0 15 28 30 63 83 200 56 418-71 558-112 124-319 172-518 119m223-267c70-35 137-110 177-198 62-135 57-141-42-44-99 96-165 137-272 169-62 19-81 21-120 12l-46-10 35 29c90 74 177 88 268 42m-993-97c33-7 116-30 185-51 146-44 251-54 323-32 26 8 47 13 47 11s-21-31-46-64l-47-59-36 15c-127 54-282 115-307 120-44 8-80-10-119-63-40-55-150-271-245-480-43-96-70-143-80-143-9 0-76 18-149 40s-140 40-149 40c-12 0-8 9 15 33 19 20 48 78 78 157 165 427 281 531 530 476m581-532 99-49-162-5c-192-6-190-5-223-120-85-297-160-381-339-379h-86l50 14c28 8 53 14 57 15 3 0 28 17 55 39 66 52 104 114 178 291 100 237 114 254 211 247 47-3 84-16 160-53m-1649-40c174-35 179-38 100-51-167-28-283-126-377-319l-56-112c-1-2-35 3-75 11-41 8-96 18-122 22-35 5-46 10-39 18 6 7 28 56 51 109 90 214 165 306 269 334 69 19 112 17 249-12m1618-671c-82-29-108-49-85-63 8-5 41-35 72-67 73-73 118-162 126-250 4-37 12-68 18-70 18-6 76 40 95 77 43 79 15 170-82 275-33 34-59 65-59 68s12 8 27 11c22 6 24 9 12 21-26 24-54 24-124-2m896-246c-13-6-31-23-40-36-16-24-16-24 20-19 37 6 37 6 26-22-15-40 13-172 55-257 97-198 298-276 400-154 15 17 31 31 35 31 5 0 9 8 9 18 1 9 4 56 9 104 6 71 5 88-6 91-8 2-50 11-94 19-106 20-217 67-306 130l-71 50 28 19 28 18-28 10c-34 14-36 13-65-2m529-193c0-6 11-37 25-70l26-59-4 49c-3 31-12 56-26 69-12 12-21 17-21 11m-1523-81c-4-3-7-25-7-47 0-66-19-116-60-159-34-37-43-42-99-47-46-4-65-2-75 9-8 7-21 11-29 8-21-8-49-99-45-149l3-43 25 40 25 40 6-46c17-116 107-192 227-191 226 2 349 327 191 506-56 64-138 104-162 79\" fill=\"#fbe9d5\"/><path d=\"M6565 7710c3-5-12-18-34-29-102-52-239-186-333-324-189-278-224-664-98-1057 36-110 130-306 192-400l43-65 46 31c26 17 108 52 183 79 75 26 136 49 136 51s-23 33-51 70c-198 262-268 635-174 930 67 213 251 433 441 529 30 15 56 31 59 34 12 21-222 122-337 146-82 18-81 18-73 5m-835-257c-135-86-331-233-325-243 3-4-6-32-19-61-185-419-57-1080 321-1661 45-70 52-75 69-58 6 6 71 37 145 70s129 60 123 60c-18 0-130 178-200 316-294 580-301 1117-19 1598 15 25 23 46 18 46-4 0-55-30-113-67m-715-1610c-38-7-97-14-130-16l-60-2 2-53c2-52 45-152 65-152 4 0 8-6 8-13 0-24 111-291 186-445l73-154 33 27c18 14 69 54 113 87 44 34 84 65 89 69s-1 21-13 38c-29 40-134 261-200 421-77 186-84 201-90 204-3 1-37-4-76-11m-316-1253c-85-5-86-5-78-28 22-57 206-57 217 1 3 12-3 17-21 17-14 0-27 3-29 8-1 4-42 5-89 2M2495 2713c-27-1-101-8-163-14l-112-11-70-65c-299-277-420-903-273-1413 76-266 255-564 481-802l87-91-45 7-45 7 35-36c44-43 79-50 338-66 246-15 335-11 363 18 41 41 30 71-57 147-452 400-708 941-680 1442 17 308 117 544 316 744 48 48 71 103 55 129-6 10-104 12-230 4m-855-130c-30-7-110-30-178-50-122-36-122-36-191-108-154-162-289-424-356-688-14-55-27-102-29-104-2-3-10 12-17 31-17 46-25 45-33-4-7-48 12-102 91-250 139-258 347-543 403-550 8-1 24-2 34-1 19 1 19 2 1 21-10 11-20 32-21 46-2 15-8 48-13 75-53 246-53 581 0 837 60 293 221 613 365 725 54 42 43 46-56 20\" fill=\"url(#oxy-oxy-services-sessions-tone-9)\"/><path d=\"M3745 7404c-37-16-68-37-189-133-105-83-212-90-426-26-69 21-152 44-185 51-267 59-410-66-580-506-26-69-56-134-66-144-21-22-42-19-239 35-179 48-310 71-370 65-189-19-279-119-416-460-25-61-50-113-55-117-6-3 32-9 83-12 51-4 134-16 183-26 50-11 92-18 94-16 2 3 20 42 41 89 78 177 157 273 265 323 55 25 70 28 170 27 116-1 217-22 449-93 158-49 161-48 236 119 106 234 189 400 234 470 58 89 49 89 272-4 86-36 165-66 173-66 9 0 45 38 81 85 129 172 228 192 410 85 64-37 216-182 207-197-2-4 25-22 60-40 62-31 63-31 63-10 0 45-41 191-73 260-88 189-280 299-422 241m-470-598c-61-26-92-76-175-279-63-154-112-232-170-272-40-28-50-30-129-30-82 0-93 3-227 57-180 73-256 88-339 64-119-35-200-151-310-446-25-68-53-133-62-142-29-32-83-22-342 59s-323 33-416-309l-23-87 31-20c18-11 118-67 222-125l190-106 11 73c24 151 58 231 122 289 76 68 151 76 430 43 113-13 156-15 164-7 6 6 28 79 49 161 89 353 183 429 462 376 302-58 425 35 530 401l23 79h374l13 44 12 45-100 52c-170 89-268 112-340 80m-385-860c-139-37-183-105-261-400-42-159-59-198-99-227-32-24-136-39-268-39-66 0-101-4-97-10 9-14 251-157 426-252l147-79 59 27c74 35 229 186 267 261l26 52-25 19c-14 11-25 23-25 28 0 4-9 27-20 50-74 152-58 395 34 533l35 51-77-1c-42 0-97-6-122-13m1589-1378c12-34 48-48 121-48 69 0 113 15 118 41 4 21-42 29-160 29-86 0-87 0-79-22\" fill=\"#c5b1a9\"/><path d=\"M6825 7539c-154-98-313-289-381-458-111-275-92-587 56-881 54-107 133-220 154-220 7 0 58 16 112 36 55 20 113 40 131 45l32 10-40 52c-22 29-62 97-89 152-189 386-118 823 190 1169l61 68-33 25c-41 31-83 53-100 53-7 0-49-23-93-51M2639 2628c-218-214-327-464-345-792-27-498 243-1085 673-1457 94-82 104-99 55-99h-26l22-22c32-33 117-34 368-5 222 26 261 37 276 76 8 22 7 23-23 17-36-7-37-17 14 125l36 96-36 17c-19 9-72 41-118 71-76 50-85 54-115 45-29-8-38-6-64 14-248 189-493 553-610 906-109 330-124 638-46 948 17 68 30 128 28 133-2 6-42-27-89-73\" fill=\"url(#oxy-oxy-services-sessions-tone-6)\"/><path d=\"M4332 4484c-77-20-103-36-163-102-59-63-74-102-143-367-14-55-66-246-114-425-49-179-86-333-84-342 4-15 14-12 81 21 476 240 1010 340 1188 224 24-16 25-16 36 32 2 11 44 168 92 349 80 306 103 375 118 360 9-9 47 16 47 31 0 19-14 19-30 0-24-29-34-10-35 67 0 89-7 100-82 128-51 19-90 22-412 30-441 12-435 12-499-6m162-290c43-42-2-134-65-134-68 0-94 76-44 125 28 29 85 34 109 9m-89-328c27-19 24-80-6-112-43-46-119-24-119 34 0 66 77 114 125 78\" fill=\"#4dc191\"/><path d=\"M8454 7448c-4-6 5-19 22-31 91-64 206-209 278-355 98-195 140-375 138-594 0-141 2-151 38-128 12 8 15 40 14 192 0 165-3 192-27 281-30 114-77 226-138 332-105 184-291 358-325 303m-559-139c-8-13-14-7 65-65 138-101 288-281 370-443 81-162 127-388 116-578-3-61-2-114 3-117 42-26 69 145 51 325-26 259-142 511-330 712-112 120-252 204-275 166m-558-496c-3-5 13-75 34-158 21-82 51-196 65-252s31-109 38-117c9-13 34-6 175 45 91 32 167 61 170 64 19 20-123 192-223 271-82 65-251 161-259 147m-3485-294c-60-23-56-178 5-200 21-8 22-6 25 98 2 58 1 106-2 108-3 1-15-1-28-6m915-696c-3-5 12-34 33-66 22-32 49-76 61-97 31-55 38-50 32 23-12 143-12 142-70 145-28 2-53-1-56-5m-1752-563c-50-99-192-227-287-261-21-7-38-18-38-24 0-5 57-41 127-78 121-66 126-68 143-50 28 30 174 274 193 323 17 44 17 45-4 60-11 8-38 30-59 48-20 17-40 32-44 32-3 0-17-22-31-50m665-292c0-141-19-272-55-385-31-97-31-94 6-116 31-17 31-17 51 8 34 44 262 228 377 306 60 41 109 78 107 84-1 5-20 16-42 24-74 26-244 103-336 152-50 27-96 49-100 49s-8-55-8-122m-140-1889c-136-62-169-82-199-124-37-52-95-165-88-172 3-3 38 30 79 73 40 42 118 113 173 157s102 81 104 83c12 11-30 1-69-17m1195-125c-263-42-568-147-805-278-133-74-187-126-147-141 6-3 66 24 132 60 235 127 512 231 752 282 112 23 151 27 316 27 200 1 225 8 145 42-58 23-269 28-393 8m44-634c-340-31-909-238-909-331 0-35 26-31 128 20 194 97 397 170 604 218 100 23 138 26 326 28 117 2 216 5 218 8 13 12-54 42-120 54-78 13-119 14-247 3m-144-617c-245-33-644-198-610-252 10-18 25-14 143 39 143 63 301 115 426 141 111 22 309 28 366 10 24-8 37-8 45 0 14 14-25 45-73 59-35 9-233 12-297 3M3560 737c-85-22-157-42-160-45-15-13 230-175 258-170 14 3 92 210 92 245 0 18-14 16-190-30\" fill=\"url(#oxy-oxy-services-sessions-tone-12)\"/><path d=\"M3960 6801c-150-53-237-250-208-469 19-140 50-113-254-222-147-52-264-98-260-101s27-11 52-18 68-28 97-46l52-34 184 69c102 39 191 70 198 70 8-1 39-39 69-87 180-280 486-363 651-175 112 128 122 377 24 606-25 58-18 255 9 285 11 12 25 21 32 21 41 0 120-118 154-230 17-56 38-74 108-95 27-8 25 3-14 118-67 196-174 327-266 327-60 0-120-72-134-159-4-23-10-41-15-41s-30 21-56 46c-140 135-290 183-423 135m239-126c212-99 380-491 305-712-93-274-433-155-573 199-93 234-68 439 64 519 45 28 136 25 204-6\" fill=\"#45015a\"/><path d=\"M4235 4581c-105-27-184-91-228-182-15-30-52-142-83-249s-76-262-101-345c-24-82-69-233-98-335-30-102-65-222-79-268-13-45-20-84-16-87s34 12 66 33c33 21 87 54 122 73 58 32 64 38 77 84 19 65 157 581 191 710 63 243 75 274 122 326 90 100 103 102 590 90 381-10 397-11 441-33 29-15 51-35 61-55 20-42 30-41 30 2 0 48-24 103-63 143-59 61-88 70-273 81-232 14-722 22-759 12\" fill=\"url(#oxy-oxy-services-sessions-tone-13)\"/><path d=\"M5588 4804c6-209-40-338-174-482-74-80-88-106-46-83 39 21 126 24 186 7 73-22 133-80 180-178l34-71 7 69c21 220 127 381 304 466 38 18 70 36 70 40 1 3-23 9-51 13-188 24-366 133-458 278-19 31-39 56-45 57-6 0-9-43-7-116\" fill=\"url(#oxy-oxy-services-sessions-tone-15)\"/><path d=\"M2100 4422c0-4 20-52 45-107 73-160 213-625 260-857 8-40 19-35 43 20 60 133 252 583 252 591 0 5-69 46-152 91-166 90-332 192-393 240-38 30-55 37-55 22\" fill=\"#d53400\"/><path d=\"M4372 4250c-77-47-95-150-37-210 100-104 271 15 225 155-23 69-118 97-188 55m-47-321c-145-45-132-259 15-259 142 0 200 203 75 256-39 16-47 16-90 3\" fill=\"#045d3c\"/><path d=\"M4244 6356c-72-32-155-180-120-214 12-13 18-7 40 41 40 83 93 127 155 127 34 0 56-6 75-21 33-26 62-19 46 10-29 56-132 86-196 57\" fill=\"#050201\"/></g></g></svg>"
@@ -3,73 +3,11 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.createTokenTransport = createTokenTransport;
7
- var _core = require("@oxy.so/core");
8
- /**
9
- * Platform `TokenTransport` for `SessionClient` (device-first model).
10
- *
11
- * `ensureActiveToken` is the fallback the client uses when a `session_state`
12
- * push arrived WITHOUT an embedded `activeToken` and the planted bearer does not
13
- * already belong to the state's active account. It mints one through the ONE
14
- * unified single-flight the scheduler, the request-time preflight, and the 401
15
- * retry all use — `oxyServices.http.refreshAccessToken(...)` — which runs
16
- * the installed refresh handler (present the persisted zero-cookie `deviceId` +
17
- * `deviceSecret` at `POST /session/device/token`, which mints for the device's
18
- * CURRENT active account). Routing through the SAME entry point means this lane
19
- * can never double-rotate the device secret against the others: it has NO
20
- * private single-flight of its own.
21
- *
22
- * The short-circuit compares the planted bearer's ACCOUNT against
23
- * `state.activeAccountId`, not mere token presence: a bearer for the PREVIOUS
24
- * account (an account switch) must still mint the new account's token — skipping
25
- * on presence alone would leave a subscriber observing the new active account
26
- * under the old account's bearer (the account-switch 404 race).
27
- *
28
- * A failure is logged and swallowed: this method must never throw out (it runs
29
- * inside the socket state handler).
30
- *
31
- * `getPinnedAccountId` is the identity-bound escape hatch. Converging the bearer
32
- * on `state.activeAccountId` is precisely what an identity-bound client must
33
- * never do — its token is minted for the PINNED account by the cold boot /
34
- * re-mint lane. `SessionClient` already bypasses the transport entirely while
35
- * pinned; this guard is the services-side half of that contract, so no future
36
- * wiring can reintroduce the convergence from this end.
37
- */
38
- function createTokenTransport(oxyServices, getPinnedAccountId) {
39
- return {
40
- async ensureActiveToken(state) {
41
- if ((getPinnedAccountId?.() ?? null) !== null) {
42
- return;
43
- }
44
- try {
45
- // Skip the mint ONLY when the planted bearer already identifies the
46
- // active account. `getCurrentUserId()` decodes the bearer's `userId`/`id`
47
- // (null when absent/opaque), directly comparable to the account id.
48
- const activeAccountId = state.activeAccountId;
49
- if (activeAccountId !== null && oxyServices.session.userId === activeAccountId) {
50
- return;
51
- }
52
- } catch (error) {
53
- _core.logger.warn('ensureActiveToken: bearer-account check threw', {
54
- component: 'TokenTransport'
55
- }, error);
56
- }
57
- try {
58
- // The shared HttpService single-flight coalesces concurrent callers onto
59
- // one in-flight mint; no local `inFlightMint` guard is needed.
60
- const token = await oxyServices.http.refreshAccessToken('preflight');
61
- if (!token) {
62
- _core.logger.debug('ensureActiveToken: refresh produced no session', {
63
- component: 'TokenTransport',
64
- deviceId: state.deviceId
65
- });
66
- }
67
- } catch (error) {
68
- _core.logger.warn('ensureActiveToken: refresh failed', {
69
- component: 'TokenTransport'
70
- }, error);
71
- }
72
- }
73
- };
74
- }
6
+ Object.defineProperty(exports, "createTokenTransport", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _session.createTokenTransport;
10
+ }
11
+ });
12
+ var _session = require("@oxy.so/core/session");
75
13
  //# sourceMappingURL=tokenTransport.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_core","require","createTokenTransport","oxyServices","getPinnedAccountId","ensureActiveToken","state","activeAccountId","session","userId","error","logger","warn","component","token","http","refreshAccessToken","debug","deviceId"],"sourceRoot":"../../../../src","sources":["ui/session/tokenTransport.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,oBAAoBA,CAClCC,WAAwB,EACxBC,kBAAwC,EACxB;EAChB,OAAO;IACL,MAAMC,iBAAiBA,CAACC,KAAyB,EAAiB;MAChE,IAAI,CAACF,kBAAkB,GAAG,CAAC,IAAI,IAAI,MAAM,IAAI,EAAE;QAC7C;MACF;MACA,IAAI;QACF;QACA;QACA;QACA,MAAMG,eAAe,GAAGD,KAAK,CAACC,eAAe;QAC7C,IAAIA,eAAe,KAAK,IAAI,IAAIJ,WAAW,CAACK,OAAO,CAACC,MAAM,KAAKF,eAAe,EAAE;UAC9E;QACF;MACF,CAAC,CAAC,OAAOG,KAAK,EAAE;QACdC,YAAM,CAACC,IAAI,CACT,+CAA+C,EAC/C;UAAEC,SAAS,EAAE;QAAiB,CAAC,EAC/BH,KACF,CAAC;MACH;MAEA,IAAI;QACF;QACA;QACA,MAAMI,KAAK,GAAG,MAAMX,WAAW,CAACY,IAAI,CAACC,kBAAkB,CAAC,WAAW,CAAC;QACpE,IAAI,CAACF,KAAK,EAAE;UACVH,YAAM,CAACM,KAAK,CAAC,gDAAgD,EAAE;YAC7DJ,SAAS,EAAE,gBAAgB;YAC3BK,QAAQ,EAAEZ,KAAK,CAACY;UAClB,CAAC,CAAC;QACJ;MACF,CAAC,CAAC,OAAOR,KAAK,EAAE;QACdC,YAAM,CAACC,IAAI,CAAC,mCAAmC,EAAE;UAAEC,SAAS,EAAE;QAAiB,CAAC,EAAEH,KAAK,CAAC;MAC1F;IACF;EACF,CAAC;AACH","ignoreList":[]}
1
+ {"version":3,"names":["_session","require"],"sourceRoot":"../../../../src","sources":["ui/session/tokenTransport.ts"],"mappings":";;;;;;;;;;;AAEA,IAAAA,QAAA,GAAAC,OAAA","ignoreList":[]}
@@ -2,47 +2,14 @@
2
2
 
3
3
  import { resolveApplicationSessionLane } from "../oauth/applicationSessionLane.js";
4
4
  import { logger as loggerUtil } from '@oxy.so/core';
5
- import { runSessionColdBoot } from '@oxy.so/core/session';
6
- import { loadPersistedDeviceCredential } from "../utils/deviceCredential.js";
5
+ import { runSessionColdBoot, runWebSessionColdBoot } from '@oxy.so/core/session';
7
6
  import { createPlatformSharedDeviceCredentialStore } from "../session/sharedDeviceCredentialStore.js";
8
7
  import { tryCompleteOAuthReturn } from "../utils/oauthReturn.js";
9
8
  import { isWebBrowser } from "../utils/isWebBrowser.js";
10
9
  import { isNetConnectivityOnline } from "../utils/netConnectivity.js";
11
10
  /**
12
- * Whether the URL carries an OAuth return (`?code=` or `?error=`) for
13
- * `tryCompleteOAuthReturn` to consume. Reads the address bar only.
14
- */
15
- function hasOAuthReturnOnUrl() {
16
- const search = globalThis.location?.search;
17
- if (!search) return false;
18
- const params = new URLSearchParams(search);
19
- return params.has('code') || params.has('error');
20
- }
21
-
22
- /**
23
- * Whether this origin's own store holds anything a web boot could restore from:
24
- * a warm access token to plant or a device secret to mint with. A presence
25
- * check only — nothing read here is used, sent or synced before the
26
- * classification allows it.
27
- */
28
- async function hasRestorableState(store) {
29
- const persisted = await store.load();
30
- return Boolean(persisted?.accessToken || persisted?.deviceSecret);
31
- }
32
-
33
- /** How long the cold boot waits for the post-boot SessionClient handoff (ms). */
34
- export const SESSION_HANDOFF_DEADLINE_MS = 6000;
35
-
36
- /**
37
- * HARD overall deadline (ms) for the whole `runSessionColdBoot` step chain.
38
- *
39
- * Bounds time-to-route: routing gates on `isAuthResolved`, which resolves when
40
- * the cold boot finishes, so a network step that never settles (a black-hole
41
- * network that neither connects nor rejects) would otherwise hang routing
42
- * indefinitely. 12s comfortably exceeds the healthy worst case of the
43
- * sequential, single-attempt (`retry:false`), 5s-capped network steps, so it is
44
- * INERT on healthy loads and only trips on a pathological network. Offline
45
- * devices short-circuit far sooner via the connectivity hint below.
11
+ * HARD overall deadline (ms) for the whole `runSessionColdBoot` step chain; see
12
+ * `runWebSessionColdBoot` in `@oxy.so/core/session`, which owns the boot.
46
13
  */
47
14
  export const COLD_BOOT_OVERALL_DEADLINE_MS = 12_000;
48
15
 
@@ -54,308 +21,57 @@ export const COLD_BOOT_OVERALL_DEADLINE_MS = 12_000;
54
21
  const OFFLINE_PROBE_TIMEOUT_MS = 500;
55
22
 
56
23
  /**
57
- * Best-effort, FAST connectivity probe run once before the cold boot.
58
- *
59
- * Returns `true` ONLY on an EXPLICIT disconnected verdict; every ambiguous
60
- * outcome (probe timeout, unknown/`null` state, NetInfo unavailable, a thrown
61
- * error) resolves to `false` (assume online) so a flaky probe can never falsely
62
- * skip a real sign-in. Never rejects. On web it reads `navigator.onLine`; on
63
- * native it races `NetInfo.fetch()` against {@link OFFLINE_PROBE_TIMEOUT_MS},
64
- * mirroring the existing NetInfo dynamic-import pattern in `OxyProvider`.
24
+ * The native half of the boot's connectivity probe: races `NetInfo.fetch()`
25
+ * against {@link OFFLINE_PROBE_TIMEOUT_MS}. `true` ONLY on an EXPLICIT
26
+ * disconnected verdict; a timeout or an unknown state is "online". A missing
27
+ * NetInfo rejects, which the boot also reads as "online".
65
28
  */
66
- async function detectOfflineHint() {
67
- try {
68
- if (isWebBrowser()) {
69
- const online = globalThis.navigator?.onLine;
70
- // Only an explicit `false` is an offline verdict; `undefined` ⇒ assume online.
71
- return online === false;
72
- }
73
- const NetInfo = await import('@react-native-community/netinfo');
74
- const state = await Promise.race([NetInfo.default.fetch(), new Promise(resolve => {
75
- setTimeout(() => resolve(null), OFFLINE_PROBE_TIMEOUT_MS);
76
- })]);
77
- // `null` ⇒ the probe timed out (unknown → assume online). Only an explicit
78
- // disconnected verdict disables the network steps (the same rule as the
79
- // online signal: `isConnected`, never the reachability probe).
80
- return state !== null && !isNetConnectivityOnline(state);
81
- } catch {
82
- // NetInfo missing / probe threw — never block sign-in on a probe failure.
83
- return false;
84
- }
29
+ async function probeNetInfoOffline() {
30
+ const NetInfo = await import('@react-native-community/netinfo');
31
+ const state = await Promise.race([NetInfo.default.fetch(), new Promise(resolve => {
32
+ setTimeout(() => resolve(null), OFFLINE_PROBE_TIMEOUT_MS);
33
+ })]);
34
+ // `null` ⇒ the probe timed out (unknown → assume online). Only an explicit
35
+ // disconnected verdict disables the network steps (the same rule as the
36
+ // online signal: `isConnected`, never the reachability probe).
37
+ return state !== null && !isNetConnectivityOnline(state);
85
38
  }
86
- /** Starts the provider's fresh classification; a rejection is observed, not swallowed. */
87
- function startClassification(opts) {
88
- const classification = (async () => opts.resolveSessionLane?.() ?? resolveApplicationSessionLane(opts.oxyServices, opts.clientId))();
89
- // Observed so a rejection that lands before it is awaited is not reported as
90
- // unhandled; every caller still awaits it and sees the rejection.
91
- classification.catch(() => undefined);
92
- return classification;
93
- }
94
-
95
- /** What the device lanes made of this holder: a session, a verdict against it, or no answer. */
96
-
97
39
  /**
98
- * The device lanes of the boot (`runSessionColdBoot`), for a first boot or for
99
- * the background check of a painted one.
40
+ * Device-first cold boot for `@oxy.so/services` providers: core's
41
+ * `runWebSessionColdBoot` (the order, the deadlines, the verdicts) with this
42
+ * package's platform parts — the registry classifier, the native connectivity
43
+ * probe, the shared device credential slot and the OAuth return leg.
100
44
  *
101
- * A first boot (`painted: false`) is on the critical path: its committed
102
- * session resolves auth, bounded by {@link SESSION_HANDOFF_DEADLINE_MS}. A
103
- * painted boot already resolved auth from the cache, so nothing waits on the
104
- * handoff and the pure-local warm token is skipped: the check needs the mint's
105
- * verdict, which a still-valid token cannot give.
45
+ * The boot NEVER navigates the top-level window; the OAuth return leg only
46
+ * consumes a code that is already in the address bar (#691 phase 7b).
106
47
  */
107
- async function restoreDeviceSession(opts, painted) {
48
+ export function runProviderColdBoot(opts) {
108
49
  const {
109
50
  oxyServices,
110
- authStore,
111
- sessionMode = 'account',
112
- identity,
113
- sessionClient,
114
- syncDeviceCredentialToHost,
115
- commitSession,
116
- markAuthResolved
117
- } = opts;
118
- await opts.beforeDeviceBoot?.();
119
-
120
- // Best-effort connectivity probe up front: an EXPLICIT offline verdict skips
121
- // the two doomed network steps so routing settles immediately instead of
122
- // burning the overall deadline on a mint that cannot succeed. Any ambiguity
123
- // resolves to "online" — the network steps still run.
124
- const offline = await detectOfflineHint();
125
- let outcome = 'unreachable';
126
- let holderRejected = false;
127
- await runSessionColdBoot({
128
- oxy: oxyServices,
129
- store: authStore,
130
- platform: {
131
- isWeb: isWebBrowser(),
132
- isNative: !isWebBrowser()
133
- },
134
- sessionMode,
135
- identity,
136
- // The device-wide shared credential slot, enabling the `shared-device-adopt`
137
- // lane: a newly installed official app joins this device's existing session
138
- // instead of falling back to signing a challenge with the Commons identity
139
- // key. `null` on web, where each origin is its own device by design; the
140
- // core lane is also skipped outright in `sessionMode: 'identity'`.
141
- // Off when the provider was given a platform's own store: the credential
142
- // then lives there and nowhere else.
143
- sharedDeviceCredential: opts.useSharedDeviceCredential === false ? undefined : createPlatformSharedDeviceCredentialStore() ?? undefined,
144
- overallDeadlineMs: COLD_BOOT_OVERALL_DEADLINE_MS,
145
- isOffline: () => offline,
146
- requireServerVerdict: painted,
147
- onHolderRejected: () => {
148
- holderRejected = true;
149
- },
150
- onStepDeadline: stepId => {
151
- loggerUtil.warn(`Cold-boot step "${stepId}" exceeded the ${COLD_BOOT_OVERALL_DEADLINE_MS}ms overall deadline — abandoned; routing proceeds signed-out`, {
152
- component: 'runProviderColdBoot',
153
- method: 'onStepDeadline'
154
- });
155
- },
156
- onSession: async session => {
157
- outcome = 'session';
158
- // Mint already persisted `{deviceId, deviceSecret}` to the store; sync the
159
- // in-memory SessionClient host so sockets + tab-focus re-mint can use it.
160
- await syncDeviceCredentialToHost();
161
- const handoff = commitSession({
162
- sessionId: session.sessionId,
163
- accessToken: session.accessToken,
164
- userId: session.userId,
165
- deviceState: session.state
166
- }, {
167
- activate: false
168
- });
169
- if (painted) {
170
- // The account is already on screen; the commit refreshes its profile.
171
- await handoff;
172
- return;
173
- }
174
- let handoffDeadlineId;
175
- await Promise.race([handoff, new Promise(resolve => {
176
- handoffDeadlineId = setTimeout(resolve, SESSION_HANDOFF_DEADLINE_MS);
177
- })]).finally(() => {
178
- if (handoffDeadlineId !== undefined) {
179
- clearTimeout(handoffDeadlineId);
180
- }
181
- });
182
- markAuthResolved();
183
- },
184
- onSignedOut: async () => {
185
- outcome = holderRejected ? 'rejected' : 'unreachable';
186
- await syncDeviceCredentialToHost();
187
- // A painted session is the caller's to end or keep (see verifyCachedSession).
188
- if (painted) return;
189
- const cred = await loadPersistedDeviceCredential(authStore);
190
- if (cred) {
191
- try {
192
- await sessionClient.start();
193
- } catch (socketError) {
194
- if (__DEV__) {
195
- loggerUtil.debug('Device socket start failed (non-fatal)', {
196
- component: 'runProviderColdBoot'
197
- }, socketError);
198
- }
199
- }
200
- }
201
- markAuthResolved();
202
- },
203
- onStepError: (id, error) => {
204
- if (__DEV__) {
205
- loggerUtil.debug(`Cold-boot step "${id}" errored (non-fatal, falling through)`, {
206
- component: 'runProviderColdBoot'
207
- }, error);
208
- }
209
- }
210
- });
211
- await opts.afterDeviceBoot?.();
212
- return outcome;
213
- }
214
-
215
- /**
216
- * The background check of a painted session: the registry's classification and
217
- * a mint with this holder's own credential (whose commit refreshes the profile).
218
- * Each is asked until the server answers it. A verdict against the session
219
- * signs out at that moment; no answer keeps the cached session on screen and
220
- * hands the caller a retry.
221
- */
222
- async function verifyCachedSession(opts, verified, classification) {
223
- if (!verified.lane) {
224
- let lane = null;
225
- try {
226
- lane = await classification;
227
- } catch {
228
- // The registry could not be asked (offline, timeout, 5xx). That is no
229
- // verdict on this app: the cached `device` classification stands until it
230
- // answers.
231
- }
232
- if (lane === 'oauth') {
233
- await opts.onCachedSessionRejected?.();
234
- return;
235
- }
236
- verified.lane = lane === 'device';
237
- }
238
- if (!verified.session) {
239
- const outcome = await restoreDeviceSession(opts, true);
240
- if (outcome === 'rejected') {
241
- await opts.onCachedSessionRejected?.();
242
- return;
243
- }
244
- verified.session = outcome === 'session';
245
- }
246
- if (!verified.lane || !verified.session) {
247
- opts.onCachedSessionUnconfirmed?.(() => verifyCachedSession(opts, verified, verified.lane ? Promise.resolve('device') : startClassification(opts)));
248
- }
249
- }
250
-
251
- /**
252
- * Device-first cold boot for `@oxy.so/services` providers.
253
- *
254
- * A returning session saved on this device (account mode, the app last
255
- * classified `device`, its profile cached) paints first, with no network, and
256
- * is then checked in the background — see `paintCachedSession`. Otherwise, a
257
- * first boot:
258
- *
259
- * Ordered pipeline:
260
- * 1. Complete an OAuth authorization-code return already on the URL (web)
261
- * 2. `runSessionColdBoot` — device-secret mint (+ the native Commons-proof lane,
262
- * or the primary-identity-key lane in `sessionMode: 'identity'`)
263
- *
264
- * Step 1 is ACCOUNT-MODE ONLY: it commits whichever account the IdP resolves,
265
- * which for an identity-bound client is somebody else's account by construction.
266
- * In `'identity'` mode the boot is exactly step 2.
267
- *
268
- * The boot NEVER navigates the top-level window. There is no automatic
269
- * `prompt=none` bounce to the IdP: a web origin with no local device credential
270
- * resolves SIGNED OUT and waits for the user's next explicit "Continue with
271
- * Oxy", which opens a popup from a real gesture (#691 phase 7b). Step 1 is not a
272
- * navigation — it only consumes a code that is already in the address bar.
273
- */
274
- export async function runProviderColdBoot(opts) {
275
- const {
276
- oxyServices,
277
- authStore,
278
51
  clientId,
279
52
  authRedirectUri,
280
- sessionMode = 'account',
281
- commitSession,
282
- markAuthResolved,
283
- setTokenReady
53
+ commitSession
284
54
  } = opts;
285
- const identityBound = sessionMode === 'identity';
286
- setTokenReady(false);
287
- try {
288
- // Classification precedes every USE of a local secret, the shared credential
289
- // and the identity key. Unavailable registry metadata fails closed on a first
290
- // boot, including offline. It starts now, before anything else, so its round
291
- // trip overlaps the local work below.
292
- const classification = startClassification(opts);
293
-
294
- // A returning session saved on this device paints at once from the cache:
295
- // the account, its cached content, auth resolved, no network on the way.
296
- // The classification and the session are then checked in the background,
297
- // and a verdict against either signs out at that moment. Identity-bound
298
- // clients and OAuth returns keep the path below.
299
- const freshLaunch = !identityBound && !hasOAuthReturnOnUrl();
300
- if (freshLaunch && (await opts.paintCachedSession?.())) {
301
- await verifyCachedSession(opts, {
302
- lane: false,
303
- session: false
304
- }, classification);
305
- return;
306
- }
307
-
308
- // The verdict decides HOW a session is restored, never WHETHER there is one.
309
- // A web origin with nothing to restore and no OAuth return on the URL ends
310
- // signed out on either lane, so routing need not wait a network round trip
311
- // for an answer that cannot change the outcome. The classification still
312
- // completes below and still gates every later sign-in
313
- // (`ensureDeviceSessionLane` shares this same in-flight lookup).
314
- if (freshLaunch && isWebBrowser()) {
315
- if (!(await hasRestorableState(authStore))) {
316
- markAuthResolved();
317
- const lane = await classification;
318
- await opts.onClassified?.(lane);
319
- if (lane === 'oauth') setTokenReady(true);
320
- return;
321
- }
322
- }
323
- const lane = await classification;
324
- await opts.onClassified?.(lane);
325
- if (identityBound && lane !== 'device') return;
326
- // The redirect transport's RETURN leg. An app reaches it whenever the browser
327
- // BLOCKED the sign-in popup and `startWebOAuthSignIn` fell back to a
328
- // full-page redirect (`popup-blocked` / `popup-navigation-failed`), so it is
329
- // load-bearing even though nothing here ever starts a redirect. It consumes a
330
- // code (or a stale OAuth `error`) already in the address bar and rewrites the
331
- // URL via `history.replaceState`; it never begins a navigation.
332
- const oauthCompleted = identityBound ? false : await tryCompleteOAuthReturn({
333
- oxyServices,
334
- clientId,
335
- authRedirectUri,
336
- commitSession: input => commitSession(input, {
337
- activate: true,
338
- oauth: true
339
- })
340
- });
341
- if (oauthCompleted) {
342
- setTokenReady(true);
343
- markAuthResolved();
344
- return;
345
- }
346
- if (lane === 'oauth') {
347
- setTokenReady(true);
348
- return;
349
- }
350
- await restoreDeviceSession(opts, false);
351
- } catch (error) {
352
- if (__DEV__) {
353
- loggerUtil.error('Cold boot error', error instanceof Error ? error : new Error(String(error)), {
354
- component: 'runProviderColdBoot'
355
- });
55
+ return runWebSessionColdBoot({
56
+ ...opts,
57
+ resolveSessionLane: () => opts.resolveSessionLane?.() ?? resolveApplicationSessionLane(oxyServices, clientId),
58
+ overallDeadlineMs: COLD_BOOT_OVERALL_DEADLINE_MS,
59
+ platform: {
60
+ isWeb: isWebBrowser,
61
+ probeNativeOffline: probeNetInfoOffline,
62
+ completeOAuthReturn: () => tryCompleteOAuthReturn({
63
+ oxyServices,
64
+ clientId,
65
+ authRedirectUri,
66
+ commitSession: input => commitSession(input, {
67
+ activate: true,
68
+ oauth: true
69
+ })
70
+ }),
71
+ sharedDeviceCredential: createPlatformSharedDeviceCredentialStore,
72
+ runSessionColdBoot,
73
+ logger: loggerUtil
356
74
  }
357
- } finally {
358
- markAuthResolved();
359
- }
75
+ });
360
76
  }
361
77
  //# sourceMappingURL=runProviderColdBoot.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["resolveApplicationSessionLane","logger","loggerUtil","runSessionColdBoot","loadPersistedDeviceCredential","createPlatformSharedDeviceCredentialStore","tryCompleteOAuthReturn","isWebBrowser","isNetConnectivityOnline","hasOAuthReturnOnUrl","search","globalThis","location","params","URLSearchParams","has","hasRestorableState","store","persisted","load","Boolean","accessToken","deviceSecret","SESSION_HANDOFF_DEADLINE_MS","COLD_BOOT_OVERALL_DEADLINE_MS","OFFLINE_PROBE_TIMEOUT_MS","detectOfflineHint","online","navigator","onLine","NetInfo","state","Promise","race","default","fetch","resolve","setTimeout","startClassification","opts","classification","resolveSessionLane","oxyServices","clientId","catch","undefined","restoreDeviceSession","painted","authStore","sessionMode","identity","sessionClient","syncDeviceCredentialToHost","commitSession","markAuthResolved","beforeDeviceBoot","offline","outcome","holderRejected","oxy","platform","isWeb","isNative","sharedDeviceCredential","useSharedDeviceCredential","overallDeadlineMs","isOffline","requireServerVerdict","onHolderRejected","onStepDeadline","stepId","warn","component","method","onSession","session","handoff","sessionId","userId","deviceState","activate","handoffDeadlineId","finally","clearTimeout","onSignedOut","cred","start","socketError","__DEV__","debug","onStepError","id","error","afterDeviceBoot","verifyCachedSession","verified","lane","onCachedSessionRejected","onCachedSessionUnconfirmed","runProviderColdBoot","authRedirectUri","setTokenReady","identityBound","freshLaunch","paintCachedSession","onClassified","oauthCompleted","input","oauth","Error","String"],"sourceRoot":"../../../../src","sources":["ui/boot/runProviderColdBoot.ts"],"mappings":";;AAAA,SAASA,6BAA6B,QAAQ,oCAAiC;AAC/E,SAASC,MAAM,IAAIC,UAAU,QAA0B,cAAc;AACrE,SACEC,kBAAkB,QAIb,sBAAsB;AAE7B,SAASC,6BAA6B,QAAQ,8BAA2B;AACzE,SAASC,yCAAyC,QAAQ,2CAAwC;AAClG,SAASC,sBAAsB,QAAQ,yBAAsB;AAC7D,SAASC,YAAY,QAAQ,0BAAuB;AACpD,SAASC,uBAAuB,QAAQ,6BAA0B;AAGlE;AACA;AACA;AACA;AACA,SAASC,mBAAmBA,CAAA,EAAY;EACtC,MAAMC,MAAM,GAAIC,UAAU,CAAwCC,QAAQ,EAAEF,MAAM;EAClF,IAAI,CAACA,MAAM,EAAE,OAAO,KAAK;EACzB,MAAMG,MAAM,GAAG,IAAIC,eAAe,CAACJ,MAAM,CAAC;EAC1C,OAAOG,MAAM,CAACE,GAAG,CAAC,MAAM,CAAC,IAAIF,MAAM,CAACE,GAAG,CAAC,OAAO,CAAC;AAClD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAeC,kBAAkBA,CAACC,KAAqB,EAAoB;EACzE,MAAMC,SAAS,GAAG,MAAMD,KAAK,CAACE,IAAI,CAAC,CAAC;EACpC,OAAOC,OAAO,CAACF,SAAS,EAAEG,WAAW,IAAIH,SAAS,EAAEI,YAAY,CAAC;AACnE;;AAEA;AACA,OAAO,MAAMC,2BAA2B,GAAG,IAAI;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,6BAA6B,GAAG,MAAM;;AAEnD;AACA;AACA;AACA;AACA;AACA,MAAMC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ACL,MAAMhG,sBAAsB,CAAC;MAC3BoC,WAAW;MACXC,QAAQ;MACRyD,eAAe;MACf/C,aAAa,EAAGsD,KAAK,IAAKtD,aAAa,CAACsD,KAAK,EAAE;QAAE3B,QAAQ,EAAE,IAAI;QAAE4B,KAAK,EAAE;MAAK,CAAC;IAChF,CAAC,CAAC;IACN,IAAIF,cAAc,EAAE;MAClBL,aAAa,CAAC,IAAI,CAAC;MACnB/C,gBAAgB,CAAC,CAAC;MAClB;IACF;IAEA,IAAI0C,IAAI,KAAK,OAAO,EAAE;MACpBK,aAAa,CAAC,IAAI,CAAC;MACnB;IACF;IAEA,MAAMvD,oBAAoB,CAACP,IAAI,EAAE,KAAK,CAAC;EACzC,CAAC,CAAC,OAAOqD,KAAK,EAAE;IACd,IAAIJ,OAAO,EAAE;MACXtF,UAAU,CAAC0F,KAAK,CACd,iBAAiB,EACjBA,KAAK,YAAYiB,KAAK,GAAGjB,KAAK,GAAG,IAAIiB,KAAK,CAACC,MAAM,CAAClB,KAAK,CAAC,CAAC,EACzD;QAAEpB,SAAS,EAAE;MAAsB,CACrC,CAAC;IACH;EACF,CAAC,SAAS;IACRlB,gBAAgB,CAAC,CAAC;EACpB;AACF","ignoreList":[]}
1
+ {"version":3,"names":["resolveApplicationSessionLane","logger","loggerUtil","runSessionColdBoot","runWebSessionColdBoot","createPlatformSharedDeviceCredentialStore","tryCompleteOAuthReturn","isWebBrowser","isNetConnectivityOnline","COLD_BOOT_OVERALL_DEADLINE_MS","OFFLINE_PROBE_TIMEOUT_MS","probeNetInfoOffline","NetInfo","state","Promise","race","default","fetch","resolve","setTimeout","runProviderColdBoot","opts","oxyServices","clientId","authRedirectUri","commitSession","resolveSessionLane","overallDeadlineMs","platform","isWeb","probeNativeOffline","completeOAuthReturn","input","activate","oauth","sharedDeviceCredential"],"sourceRoot":"../../../../src","sources":["ui/boot/runProviderColdBoot.ts"],"mappings":";;AAAA,SAASA,6BAA6B,QAAQ,oCAAiC;AAC/E,SAASC,MA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