@ovok/native 1.16.1-dev.2145 → 1.16.1-dev.2149

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 (260) hide show
  1. package/lib/commonjs/modules/auth/google-return-page/index.js +24 -0
  2. package/lib/commonjs/modules/auth/google-return-page/index.js.map +1 -0
  3. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.web.js +15 -0
  4. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.web.js.map +1 -0
  5. package/lib/commonjs/modules/auth/index.js +21 -10
  6. package/lib/commonjs/modules/auth/index.js.map +1 -1
  7. package/lib/commonjs/modules/auth/session/logout-session.js +1 -1
  8. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.web.js +73 -0
  9. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.web.js.map +1 -0
  10. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login.js +1 -1
  11. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.web.js +73 -0
  12. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.web.js.map +1 -0
  13. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login.js +1 -1
  14. package/lib/commonjs/modules/auth/sign-in/index.js +24 -0
  15. package/lib/commonjs/modules/auth/sign-in/index.js.map +1 -1
  16. package/lib/commonjs/modules/auth/sign-in/utils/apple-web-sign-in.js +90 -0
  17. package/lib/commonjs/modules/auth/sign-in/utils/apple-web-sign-in.js.map +1 -0
  18. package/lib/commonjs/modules/auth/sign-in/utils/google-redirect-sign-in.js +89 -0
  19. package/lib/commonjs/modules/auth/sign-in/utils/google-redirect-sign-in.js.map +1 -0
  20. package/lib/commonjs/modules/auth/sign-in/utils/jwt-claims.js +21 -0
  21. package/lib/commonjs/modules/auth/sign-in/utils/jwt-claims.js.map +1 -0
  22. package/lib/commonjs/modules/auth/utils/sign-out-google.web.js +10 -0
  23. package/lib/commonjs/modules/auth/utils/sign-out-google.web.js.map +1 -0
  24. package/lib/commonjs/modules/next/breathing-exercise/index.js +17 -0
  25. package/lib/commonjs/modules/next/breathing-exercise/index.js.map +1 -0
  26. package/lib/commonjs/modules/next/cms/index.js +17 -0
  27. package/lib/commonjs/modules/next/cms/index.js.map +1 -0
  28. package/lib/commonjs/modules/next/content/index.js +17 -0
  29. package/lib/commonjs/modules/next/content/index.js.map +1 -0
  30. package/lib/commonjs/modules/next/diary/index.js +17 -0
  31. package/lib/commonjs/modules/next/diary/index.js.map +1 -0
  32. package/lib/commonjs/modules/next/image/index.js +17 -0
  33. package/lib/commonjs/modules/next/image/index.js.map +1 -0
  34. package/lib/commonjs/modules/next/journal/index.js +17 -0
  35. package/lib/commonjs/modules/next/journal/index.js.map +1 -0
  36. package/lib/commonjs/modules/next/language-switcher/index.js +17 -0
  37. package/lib/commonjs/modules/next/language-switcher/index.js.map +1 -0
  38. package/lib/commonjs/modules/next/measurement/index.js +17 -0
  39. package/lib/commonjs/modules/next/measurement/index.js.map +1 -0
  40. package/lib/commonjs/modules/next/observation-detail/index.js +17 -0
  41. package/lib/commonjs/modules/next/observation-detail/index.js.map +1 -0
  42. package/lib/commonjs/modules/next/patient/index.js +17 -0
  43. package/lib/commonjs/modules/next/patient/index.js.map +1 -0
  44. package/lib/commonjs/modules/next/pdf/index.js +17 -0
  45. package/lib/commonjs/modules/next/pdf/index.js.map +1 -0
  46. package/lib/commonjs/modules/next/picker-sheet/index.js +17 -0
  47. package/lib/commonjs/modules/next/picker-sheet/index.js.map +1 -0
  48. package/lib/commonjs/modules/next/progress-bar/index.js +17 -0
  49. package/lib/commonjs/modules/next/progress-bar/index.js.map +1 -0
  50. package/lib/commonjs/modules/next/progress-ring/index.js +17 -0
  51. package/lib/commonjs/modules/next/progress-ring/index.js.map +1 -0
  52. package/lib/commonjs/modules/next/setting/index.js +17 -0
  53. package/lib/commonjs/modules/next/setting/index.js.map +1 -0
  54. package/lib/commonjs/modules/next/tab/index.js +17 -0
  55. package/lib/commonjs/modules/next/tab/index.js.map +1 -0
  56. package/lib/commonjs/modules/next/theme/index.js +17 -0
  57. package/lib/commonjs/modules/next/theme/index.js.map +1 -0
  58. package/lib/commonjs/modules/next/tile/index.js +17 -0
  59. package/lib/commonjs/modules/next/tile/index.js.map +1 -0
  60. package/lib/commonjs/modules/next/ui/index.js +17 -0
  61. package/lib/commonjs/modules/next/ui/index.js.map +1 -0
  62. package/lib/module/modules/auth/google-return-page/index.js +21 -0
  63. package/lib/module/modules/auth/google-return-page/index.js.map +1 -0
  64. package/lib/module/modules/auth/hooks/use-social-sign-in.web.js +10 -0
  65. package/lib/module/modules/auth/hooks/use-social-sign-in.web.js.map +1 -0
  66. package/lib/module/modules/auth/index.js +2 -1
  67. package/lib/module/modules/auth/index.js.map +1 -1
  68. package/lib/module/modules/auth/session/logout-session.js +1 -1
  69. package/lib/module/modules/auth/session/logout-session.js.map +1 -1
  70. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.web.js +67 -0
  71. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.web.js.map +1 -0
  72. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login.js +1 -1
  73. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login.js.map +1 -1
  74. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.web.js +68 -0
  75. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.web.js.map +1 -0
  76. package/lib/module/modules/auth/sign-in/components/social-logins/google-login.js +1 -1
  77. package/lib/module/modules/auth/sign-in/components/social-logins/google-login.js.map +1 -1
  78. package/lib/module/modules/auth/sign-in/index.js +2 -0
  79. package/lib/module/modules/auth/sign-in/index.js.map +1 -1
  80. package/lib/module/modules/auth/sign-in/utils/apple-web-sign-in.js +84 -0
  81. package/lib/module/modules/auth/sign-in/utils/apple-web-sign-in.js.map +1 -0
  82. package/lib/module/modules/auth/sign-in/utils/google-redirect-sign-in.js +84 -0
  83. package/lib/module/modules/auth/sign-in/utils/google-redirect-sign-in.js.map +1 -0
  84. package/lib/module/modules/auth/sign-in/utils/jwt-claims.js +17 -0
  85. package/lib/module/modules/auth/sign-in/utils/jwt-claims.js.map +1 -0
  86. package/lib/module/modules/auth/utils/sign-out-google.web.js +5 -0
  87. package/lib/module/modules/auth/utils/sign-out-google.web.js.map +1 -0
  88. package/lib/module/modules/next/breathing-exercise/index.js +5 -0
  89. package/lib/module/modules/next/breathing-exercise/index.js.map +1 -0
  90. package/lib/module/modules/next/cms/index.js +5 -0
  91. package/lib/module/modules/next/cms/index.js.map +1 -0
  92. package/lib/module/modules/next/content/index.js +5 -0
  93. package/lib/module/modules/next/content/index.js.map +1 -0
  94. package/lib/module/modules/next/diary/index.js +5 -0
  95. package/lib/module/modules/next/diary/index.js.map +1 -0
  96. package/lib/module/modules/next/image/index.js +5 -0
  97. package/lib/module/modules/next/image/index.js.map +1 -0
  98. package/lib/module/modules/next/journal/index.js +5 -0
  99. package/lib/module/modules/next/journal/index.js.map +1 -0
  100. package/lib/module/modules/next/language-switcher/index.js +5 -0
  101. package/lib/module/modules/next/language-switcher/index.js.map +1 -0
  102. package/lib/module/modules/next/measurement/index.js +5 -0
  103. package/lib/module/modules/next/measurement/index.js.map +1 -0
  104. package/lib/module/modules/next/observation-detail/index.js +5 -0
  105. package/lib/module/modules/next/observation-detail/index.js.map +1 -0
  106. package/lib/module/modules/next/patient/index.js +5 -0
  107. package/lib/module/modules/next/patient/index.js.map +1 -0
  108. package/lib/module/modules/next/pdf/index.js +5 -0
  109. package/lib/module/modules/next/pdf/index.js.map +1 -0
  110. package/lib/module/modules/next/picker-sheet/index.js +5 -0
  111. package/lib/module/modules/next/picker-sheet/index.js.map +1 -0
  112. package/lib/module/modules/next/progress-bar/index.js +5 -0
  113. package/lib/module/modules/next/progress-bar/index.js.map +1 -0
  114. package/lib/module/modules/next/progress-ring/index.js +5 -0
  115. package/lib/module/modules/next/progress-ring/index.js.map +1 -0
  116. package/lib/module/modules/next/setting/index.js +5 -0
  117. package/lib/module/modules/next/setting/index.js.map +1 -0
  118. package/lib/module/modules/next/tab/index.js +5 -0
  119. package/lib/module/modules/next/tab/index.js.map +1 -0
  120. package/lib/module/modules/next/theme/index.js +5 -0
  121. package/lib/module/modules/next/theme/index.js.map +1 -0
  122. package/lib/module/modules/next/tile/index.js +5 -0
  123. package/lib/module/modules/next/tile/index.js.map +1 -0
  124. package/lib/module/modules/next/ui/index.js +5 -0
  125. package/lib/module/modules/next/ui/index.js.map +1 -0
  126. package/lib/typescript/commonjs/src/modules/auth/google-return-page/index.d.ts +8 -0
  127. package/lib/typescript/commonjs/src/modules/auth/google-return-page/index.d.ts.map +1 -0
  128. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.web.d.ts +7 -0
  129. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.web.d.ts.map +1 -0
  130. package/lib/typescript/commonjs/src/modules/auth/index.d.ts +1 -0
  131. package/lib/typescript/commonjs/src/modules/auth/index.d.ts.map +1 -1
  132. package/lib/typescript/commonjs/src/modules/auth/register/components/register.d.ts +2 -2
  133. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/sign-in.d.ts +2 -2
  134. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts +5 -0
  135. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts.map +1 -0
  136. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts +1 -1
  137. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts +5 -0
  138. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts.map +1 -0
  139. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login.d.ts +1 -1
  140. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts +2 -2
  141. package/lib/typescript/commonjs/src/modules/auth/sign-in/index.d.ts +2 -0
  142. package/lib/typescript/commonjs/src/modules/auth/sign-in/index.d.ts.map +1 -1
  143. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts +13 -0
  144. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
  145. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts +13 -0
  146. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
  147. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts +17 -0
  148. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts.map +1 -0
  149. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts +14 -0
  150. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts.map +1 -0
  151. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/jwt-claims.d.ts +9 -0
  152. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/jwt-claims.d.ts.map +1 -0
  153. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.web.d.ts +3 -0
  154. package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.web.d.ts.map +1 -0
  155. package/lib/typescript/commonjs/src/modules/next/breathing-exercise/index.d.ts +3 -0
  156. package/lib/typescript/commonjs/src/modules/next/breathing-exercise/index.d.ts.map +1 -0
  157. package/lib/typescript/commonjs/src/modules/next/cms/index.d.ts +3 -0
  158. package/lib/typescript/commonjs/src/modules/next/cms/index.d.ts.map +1 -0
  159. package/lib/typescript/commonjs/src/modules/next/content/index.d.ts +3 -0
  160. package/lib/typescript/commonjs/src/modules/next/content/index.d.ts.map +1 -0
  161. package/lib/typescript/commonjs/src/modules/next/diary/index.d.ts +3 -0
  162. package/lib/typescript/commonjs/src/modules/next/diary/index.d.ts.map +1 -0
  163. package/lib/typescript/commonjs/src/modules/next/image/index.d.ts +3 -0
  164. package/lib/typescript/commonjs/src/modules/next/image/index.d.ts.map +1 -0
  165. package/lib/typescript/commonjs/src/modules/next/journal/index.d.ts +3 -0
  166. package/lib/typescript/commonjs/src/modules/next/journal/index.d.ts.map +1 -0
  167. package/lib/typescript/commonjs/src/modules/next/language-switcher/index.d.ts +3 -0
  168. package/lib/typescript/commonjs/src/modules/next/language-switcher/index.d.ts.map +1 -0
  169. package/lib/typescript/commonjs/src/modules/next/measurement/index.d.ts +3 -0
  170. package/lib/typescript/commonjs/src/modules/next/measurement/index.d.ts.map +1 -0
  171. package/lib/typescript/commonjs/src/modules/next/observation-detail/index.d.ts +3 -0
  172. package/lib/typescript/commonjs/src/modules/next/observation-detail/index.d.ts.map +1 -0
  173. package/lib/typescript/commonjs/src/modules/next/patient/index.d.ts +3 -0
  174. package/lib/typescript/commonjs/src/modules/next/patient/index.d.ts.map +1 -0
  175. package/lib/typescript/commonjs/src/modules/next/pdf/index.d.ts +3 -0
  176. package/lib/typescript/commonjs/src/modules/next/pdf/index.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/src/modules/next/picker-sheet/index.d.ts +3 -0
  178. package/lib/typescript/commonjs/src/modules/next/picker-sheet/index.d.ts.map +1 -0
  179. package/lib/typescript/commonjs/src/modules/next/progress-bar/index.d.ts +3 -0
  180. package/lib/typescript/commonjs/src/modules/next/progress-bar/index.d.ts.map +1 -0
  181. package/lib/typescript/commonjs/src/modules/next/progress-ring/index.d.ts +3 -0
  182. package/lib/typescript/commonjs/src/modules/next/progress-ring/index.d.ts.map +1 -0
  183. package/lib/typescript/commonjs/src/modules/next/setting/index.d.ts +3 -0
  184. package/lib/typescript/commonjs/src/modules/next/setting/index.d.ts.map +1 -0
  185. package/lib/typescript/commonjs/src/modules/next/tab/index.d.ts +3 -0
  186. package/lib/typescript/commonjs/src/modules/next/tab/index.d.ts.map +1 -0
  187. package/lib/typescript/commonjs/src/modules/next/theme/index.d.ts +3 -0
  188. package/lib/typescript/commonjs/src/modules/next/theme/index.d.ts.map +1 -0
  189. package/lib/typescript/commonjs/src/modules/next/tile/index.d.ts +3 -0
  190. package/lib/typescript/commonjs/src/modules/next/tile/index.d.ts.map +1 -0
  191. package/lib/typescript/commonjs/src/modules/next/ui/index.d.ts +3 -0
  192. package/lib/typescript/commonjs/src/modules/next/ui/index.d.ts.map +1 -0
  193. package/lib/typescript/module/src/modules/auth/google-return-page/index.d.ts +8 -0
  194. package/lib/typescript/module/src/modules/auth/google-return-page/index.d.ts.map +1 -0
  195. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.web.d.ts +7 -0
  196. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.web.d.ts.map +1 -0
  197. package/lib/typescript/module/src/modules/auth/index.d.ts +1 -0
  198. package/lib/typescript/module/src/modules/auth/index.d.ts.map +1 -1
  199. package/lib/typescript/module/src/modules/auth/register/components/register.d.ts +2 -2
  200. package/lib/typescript/module/src/modules/auth/sign-in/components/sign-in.d.ts +2 -2
  201. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts +5 -0
  202. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts.map +1 -0
  203. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts +1 -1
  204. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts +5 -0
  205. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts.map +1 -0
  206. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login.d.ts +1 -1
  207. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts +2 -2
  208. package/lib/typescript/module/src/modules/auth/sign-in/index.d.ts +2 -0
  209. package/lib/typescript/module/src/modules/auth/sign-in/index.d.ts.map +1 -1
  210. package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts +13 -0
  211. package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
  212. package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts +13 -0
  213. package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
  214. package/lib/typescript/module/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts +17 -0
  215. package/lib/typescript/module/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts.map +1 -0
  216. package/lib/typescript/module/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts +14 -0
  217. package/lib/typescript/module/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts.map +1 -0
  218. package/lib/typescript/module/src/modules/auth/sign-in/utils/jwt-claims.d.ts +9 -0
  219. package/lib/typescript/module/src/modules/auth/sign-in/utils/jwt-claims.d.ts.map +1 -0
  220. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.web.d.ts +3 -0
  221. package/lib/typescript/module/src/modules/auth/utils/sign-out-google.web.d.ts.map +1 -0
  222. package/lib/typescript/module/src/modules/next/breathing-exercise/index.d.ts +3 -0
  223. package/lib/typescript/module/src/modules/next/breathing-exercise/index.d.ts.map +1 -0
  224. package/lib/typescript/module/src/modules/next/cms/index.d.ts +3 -0
  225. package/lib/typescript/module/src/modules/next/cms/index.d.ts.map +1 -0
  226. package/lib/typescript/module/src/modules/next/content/index.d.ts +3 -0
  227. package/lib/typescript/module/src/modules/next/content/index.d.ts.map +1 -0
  228. package/lib/typescript/module/src/modules/next/diary/index.d.ts +3 -0
  229. package/lib/typescript/module/src/modules/next/diary/index.d.ts.map +1 -0
  230. package/lib/typescript/module/src/modules/next/image/index.d.ts +3 -0
  231. package/lib/typescript/module/src/modules/next/image/index.d.ts.map +1 -0
  232. package/lib/typescript/module/src/modules/next/journal/index.d.ts +3 -0
  233. package/lib/typescript/module/src/modules/next/journal/index.d.ts.map +1 -0
  234. package/lib/typescript/module/src/modules/next/language-switcher/index.d.ts +3 -0
  235. package/lib/typescript/module/src/modules/next/language-switcher/index.d.ts.map +1 -0
  236. package/lib/typescript/module/src/modules/next/measurement/index.d.ts +3 -0
  237. package/lib/typescript/module/src/modules/next/measurement/index.d.ts.map +1 -0
  238. package/lib/typescript/module/src/modules/next/observation-detail/index.d.ts +3 -0
  239. package/lib/typescript/module/src/modules/next/observation-detail/index.d.ts.map +1 -0
  240. package/lib/typescript/module/src/modules/next/patient/index.d.ts +3 -0
  241. package/lib/typescript/module/src/modules/next/patient/index.d.ts.map +1 -0
  242. package/lib/typescript/module/src/modules/next/pdf/index.d.ts +3 -0
  243. package/lib/typescript/module/src/modules/next/pdf/index.d.ts.map +1 -0
  244. package/lib/typescript/module/src/modules/next/picker-sheet/index.d.ts +3 -0
  245. package/lib/typescript/module/src/modules/next/picker-sheet/index.d.ts.map +1 -0
  246. package/lib/typescript/module/src/modules/next/progress-bar/index.d.ts +3 -0
  247. package/lib/typescript/module/src/modules/next/progress-bar/index.d.ts.map +1 -0
  248. package/lib/typescript/module/src/modules/next/progress-ring/index.d.ts +3 -0
  249. package/lib/typescript/module/src/modules/next/progress-ring/index.d.ts.map +1 -0
  250. package/lib/typescript/module/src/modules/next/setting/index.d.ts +3 -0
  251. package/lib/typescript/module/src/modules/next/setting/index.d.ts.map +1 -0
  252. package/lib/typescript/module/src/modules/next/tab/index.d.ts +3 -0
  253. package/lib/typescript/module/src/modules/next/tab/index.d.ts.map +1 -0
  254. package/lib/typescript/module/src/modules/next/theme/index.d.ts +3 -0
  255. package/lib/typescript/module/src/modules/next/theme/index.d.ts.map +1 -0
  256. package/lib/typescript/module/src/modules/next/tile/index.d.ts +3 -0
  257. package/lib/typescript/module/src/modules/next/tile/index.d.ts.map +1 -0
  258. package/lib/typescript/module/src/modules/next/ui/index.d.ts +3 -0
  259. package/lib/typescript/module/src/modules/next/ui/index.d.ts.map +1 -0
  260. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.jwtClaims = void 0;
7
+ /** The claims web sign-in reads from a provider's JWT. */
8
+
9
+ const asClaims = value => typeof value === "object" && value !== null ? value : {};
10
+
11
+ /** A JWT's claims, read without checking the signature; Ovok verifies the token itself. */
12
+ const jwtClaims = jwt => {
13
+ try {
14
+ const payload = (jwt.split(".")[1] ?? "").replace(/-/g, "+").replace(/_/g, "/");
15
+ return asClaims(JSON.parse(atob(payload)));
16
+ } catch {
17
+ return {};
18
+ }
19
+ };
20
+ exports.jwtClaims = jwtClaims;
21
+ //# sourceMappingURL=jwt-claims.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["asClaims","value","jwtClaims","jwt","payload","split","replace","JSON","parse","atob","exports"],"sourceRoot":"../../../../../../src","sources":["modules/auth/sign-in/utils/jwt-claims.ts"],"mappings":";;;;;;AAAA;;AAMA,MAAMA,QAAQ,GAAIC,KAAc,IAC9B,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,KAAK,IAAI,GAAIA,KAAK,GAAiB,CAAC,CAAC;;AAEzE;AACA,MAAMC,SAAS,GAAIC,GAAW,IAAgB;EAC5C,IAAI;IACF,MAAMC,OAAO,GAAG,CAACD,GAAG,CAACE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,EAAEC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAACA,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;IAE/E,OAAON,QAAQ,CAACO,IAAI,CAACC,KAAK,CAACC,IAAI,CAACL,OAAO,CAAC,CAAC,CAAC;EAC5C,CAAC,CAAC,MAAM;IACN,OAAO,CAAC,CAAC;EACX;AACF,CAAC;AAACM,OAAA,CAAAR,SAAA,GAAAA,SAAA","ignoreList":[]}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.signOutGoogleIfNeeded = void 0;
7
+ /** The web keeps no Google account in the app, so there is nothing to clear. */
8
+ const signOutGoogleIfNeeded = async () => undefined;
9
+ exports.signOutGoogleIfNeeded = signOutGoogleIfNeeded;
10
+ //# sourceMappingURL=sign-out-google.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["signOutGoogleIfNeeded","undefined","exports"],"sourceRoot":"../../../../../src","sources":["modules/auth/utils/sign-out-google.web.ts"],"mappings":";;;;;;AAAA;AACO,MAAMA,qBAAqB,GAAG,MAAAA,CAAA,KAA2BC,SAAS;AAACC,OAAA,CAAAF,qBAAA,GAAAA,qBAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../breathing-exercise/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/breathing-exercise/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../cms/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/cms/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../content/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/content/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../diary/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/diary/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../image/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/image/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../journal/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/journal/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../language-switcher/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/language-switcher/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../measurement/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/measurement/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../observation-detail/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/observation-detail/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../patient/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/patient/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../pdf/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/pdf/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../picker-sheet/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/picker-sheet/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../progress-bar/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/progress-bar/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../progress-ring/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/progress-ring/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../setting/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/setting/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../tab/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/tab/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../theme/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/theme/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../tile/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/tile/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("../../ui/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/ui/index.ts"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ import { GOOGLE_ANSWER_KEY, GOOGLE_REQUEST_KEY } from "../sign-in/utils/google-redirect-sign-in.js";
4
+
5
+ /**
6
+ * The page Google returns to when `GoogleLogin` signs in on the web.
7
+ *
8
+ * Serve it as a static file at the redirect URI, by default `/oauth/google.html`. It keeps Google's answer
9
+ * for this tab and sends the tab back to the sign-in screen, so the token never stays in the address.
10
+ */
11
+ export const GOOGLE_RETURN_PAGE_HTML = `<!doctype html>
12
+ <meta charset="utf-8">
13
+ <title>Signing in</title>
14
+ <script>
15
+ var request = JSON.parse(sessionStorage.getItem("${GOOGLE_REQUEST_KEY}") || "{}");
16
+ var target = new URL(request.returnTo || "/", location.origin);
17
+ sessionStorage.setItem("${GOOGLE_ANSWER_KEY}", location.hash.slice(1));
18
+ location.replace(target.origin === location.origin ? target.href : "/");
19
+ </script>
20
+ `;
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GOOGLE_ANSWER_KEY","GOOGLE_REQUEST_KEY","GOOGLE_RETURN_PAGE_HTML"],"sourceRoot":"../../../../../src","sources":["modules/auth/google-return-page/index.ts"],"mappings":";;AAAA,SACEA,iBAAiB,EACjBC,kBAAkB,QACb,6CAA0C;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,uBAA+B,GAAG;AAC/C;AACA;AACA;AACA,qDAAqDD,kBAAkB;AACvE;AACA,4BAA4BD,iBAAiB;AAC7C;AACA;AACA,CAAC","ignoreList":[]}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ import { useAuthAction } from "./use-auth-action.js";
4
+ const NOT_ON_THE_WEB = "useSocialSignIn is not available on the web; render SignIn.SocialLogins.GoogleLogin or AppleLogin instead";
5
+
6
+ /** Rejects: the web signs in through the `SignIn.SocialLogins` buttons, which leave and return to the page. */
7
+ export const useSocialSignIn = _options => useAuthAction(async () => {
8
+ throw new Error(NOT_ON_THE_WEB);
9
+ });
10
+ //# sourceMappingURL=use-social-sign-in.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useAuthAction","NOT_ON_THE_WEB","useSocialSignIn","_options","Error"],"sourceRoot":"../../../../../src","sources":["modules/auth/hooks/use-social-sign-in.web.ts"],"mappings":";;AAGA,SAASA,aAAa,QAAQ,sBAAmB;AAEjD,MAAMC,cAAc,GAClB,2GAA2G;;AAE7G;AACA,OAAO,MAAMC,eAAe,GAAIC,QAA6B,IAC3DH,aAAa,CAAC,YAA8B;EAC1C,MAAM,IAAII,KAAK,CAACH,cAAc,CAAC;AACjC,CAAC,CAAC","ignoreList":[]}
@@ -9,6 +9,7 @@
9
9
  */
10
10
  import "./default-translation.js";
11
11
  export * from "./sign-in/index.js";
12
+ export * from "./google-return-page/index.js";
12
13
  export * from "./register/index.js";
13
14
  export * from "./profile/index.js";
14
15
  export * from "./delete-account-button/index.js";
@@ -18,7 +19,7 @@ export * from "./hooks/use-rate-limit-cooldown.js";
18
19
  export * from "./hooks/use-auth-action.js";
19
20
  export * from "./hooks/use-sign-in.js";
20
21
  export * from "./hooks/use-accept-invite-link.js";
21
- export * from "./hooks/use-social-sign-in.js";
22
+ export * from "./hooks/use-social-sign-in";
22
23
  export * from "./hooks/use-sign-out.js";
23
24
  export * from "./hooks/use-delete-account.js";
24
25
  export * from "./utils/rate-limit.js";
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["modules/auth/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,0BAAuB;AAE9B,cAAc,oBAAW;AACzB,cAAc,qBAAY;AAC1B,cAAc,oBAAW;AACzB,cAAc,kCAAyB;AACvC,cAAc,0BAAiB;AAC/B,cAAc,2BAAkB;AAChC,cAAc,oCAAiC;AAC/C,cAAc,4BAAyB;AACvC,cAAc,wBAAqB;AACnC,cAAc,mCAAgC;AAC9C,cAAc,+BAA4B;AAC1C,cAAc,yBAAsB;AACpC,cAAc,+BAA4B;AAC1C,cAAc,uBAAoB;AAClC,cAAc,0BAAuB;AACrC,cAAc,wBAAqB;AACnC,cAAc,oBAAW","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["modules/auth/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,0BAAuB;AAE9B,cAAc,oBAAW;AACzB,cAAc,+BAAsB;AACpC,cAAc,qBAAY;AAC1B,cAAc,oBAAW;AACzB,cAAc,kCAAyB;AACvC,cAAc,0BAAiB;AAC/B,cAAc,2BAAkB;AAChC,cAAc,oCAAiC;AAC/C,cAAc,4BAAyB;AACvC,cAAc,wBAAqB;AACnC,cAAc,mCAAgC;AAC9C,cAAc,4BAA4B;AAC1C,cAAc,yBAAsB;AACpC,cAAc,+BAA4B;AAC1C,cAAc,uBAAoB;AAClC,cAAc,0BAAuB;AACrC,cAAc,wBAAqB;AACnC,cAAc,oBAAW","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import { signOutGoogleIfNeeded } from "../utils/sign-out-google.js";
3
+ import { signOutGoogleIfNeeded } from "../utils/sign-out-google";
4
4
  const logoutRequests = new WeakMap();
5
5
  const logoutInProgress = new WeakSet();
6
6
  const isLogoutInProgress = client => logoutInProgress.has(client);
@@ -1 +1 @@
1
- {"version":3,"names":["signOutGoogleIfNeeded","logoutRequests","WeakMap","logoutInProgress","WeakSet","isLogoutInProgress","client","has","logoutSession","key","pending","get","add","request","auth","logout","finally","delete","set"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/logout-session.ts"],"mappings":";;AAEA,SAASA,qBAAqB,QAAQ,6BAA0B;AAEhE,MAAMC,cAAc,GAAG,IAAIC,OAAO,CAAwB,CAAC;AAC3D,MAAMC,gBAAgB,GAAG,IAAIC,OAAO,CAAS,CAAC;AAE9C,MAAMC,kBAAkB,GAAIC,MAAc,IACxCH,gBAAgB,CAACI,GAAG,CAACD,MAAM,CAAC;;AAE9B;AACA,MAAME,aAAa,GAAIF,MAAY,IAAoB;EACrD,MAAMG,GAAG,GAAGH,MAAgB;EAC5B,MAAMI,OAAO,GAAGT,cAAc,CAACU,GAAG,CAACF,GAAG,CAAC;EAEvC,IAAIC,OAAO,EAAE;IACX,OAAOA,OAAO;EAChB;EAEAP,gBAAgB,CAACS,GAAG,CAACH,GAAG,CAAC;EAEzB,MAAMI,OAAO,GAAG,CAAC,YAAY;IAC3B,IAAI;MACF,MAAMP,MAAM,CAACQ,IAAI,CAACC,MAAM,CAAC,CAAC;IAC5B,CAAC,SAAS;MACR,MAAMf,qBAAqB,CAAC,CAAC;IAC/B;EACF,CAAC,EAAE,CAAC,CAACgB,OAAO,CAAC,MAAM;IACjBf,cAAc,CAACgB,MAAM,CAACR,GAAG,CAAC;IAC1BN,gBAAgB,CAACc,MAAM,CAACR,GAAG,CAAC;EAC9B,CAAC,CAAC;EAEFR,cAAc,CAACiB,GAAG,CAACT,GAAG,EAAEI,OAAO,CAAC;EAEhC,OAAOA,OAAO;AAChB,CAAC;AAED,SAASR,kBAAkB,EAAEG,aAAa","ignoreList":[]}
1
+ {"version":3,"names":["signOutGoogleIfNeeded","logoutRequests","WeakMap","logoutInProgress","WeakSet","isLogoutInProgress","client","has","logoutSession","key","pending","get","add","request","auth","logout","finally","delete","set"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/logout-session.ts"],"mappings":";;AAEA,SAASA,qBAAqB,QAAQ,0BAA0B;AAEhE,MAAMC,cAAc,GAAG,IAAIC,OAAO,CAAwB,CAAC;AAC3D,MAAMC,gBAAgB,GAAG,IAAIC,OAAO,CAAS,CAAC;AAE9C,MAAMC,kBAAkB,GAAIC,MAAc,IACxCH,gBAAgB,CAACI,GAAG,CAACD,MAAM,CAAC;;AAE9B;AACA,MAAME,aAAa,GAAIF,MAAY,IAAoB;EACrD,MAAMG,GAAG,GAAGH,MAAgB;EAC5B,MAAMI,OAAO,GAAGT,cAAc,CAACU,GAAG,CAACF,GAAG,CAAC;EAEvC,IAAIC,OAAO,EAAE;IACX,OAAOA,OAAO;EAChB;EAEAP,gBAAgB,CAACS,GAAG,CAACH,GAAG,CAAC;EAEzB,MAAMI,OAAO,GAAG,CAAC,YAAY;IAC3B,IAAI;MACF,MAAMP,MAAM,CAACQ,IAAI,CAACC,MAAM,CAAC,CAAC;IAC5B,CAAC,SAAS;MACR,MAAMf,qBAAqB,CAAC,CAAC;IAC/B;EACF,CAAC,EAAE,CAAC,CAACgB,OAAO,CAAC,MAAM;IACjBf,cAAc,CAACgB,MAAM,CAACR,GAAG,CAAC;IAC1BN,gBAAgB,CAACc,MAAM,CAACR,GAAG,CAAC;EAC9B,CAAC,CAAC;EAEFR,cAAc,CAACiB,GAAG,CAACT,GAAG,EAAEI,OAAO,CAAC;EAEhC,OAAOA,OAAO;AAChB,CAAC;AAED,SAASR,kBAAkB,EAAEG,aAAa","ignoreList":[]}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+
3
+ import { useOvok } from "@ovok/core/next/react";
4
+ import * as React from "react";
5
+ import { parseSignInError } from "../../../utils/sign-in-error.js";
6
+ import { isAppleCancel, loadAppleScript, signInWithApple } from "../../utils/apple-web-sign-in.js";
7
+ import { SocialLoginButton } from "./social-login-button.js";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ const AppleServicesLoginButton = ({
10
+ appleServicesId,
11
+ appleRedirectUri,
12
+ internalId,
13
+ onSuccess,
14
+ onError,
15
+ testID,
16
+ style,
17
+ disabled,
18
+ children,
19
+ ...props
20
+ }) => {
21
+ const client = useOvok();
22
+ const [isLoading, setIsLoading] = React.useState(false);
23
+ const handleAppleLogin = React.useCallback(async () => {
24
+ try {
25
+ setIsLoading(true);
26
+ const credentials = await signInWithApple({
27
+ servicesId: appleServicesId,
28
+ redirectUri: appleRedirectUri
29
+ });
30
+ const loginResponse = await client.auth.socialLogin("apple", {
31
+ ...credentials,
32
+ internalId
33
+ });
34
+ onSuccess?.(loginResponse);
35
+ } catch (cause) {
36
+ if (!isAppleCancel(cause)) {
37
+ onError?.(parseSignInError(cause).error);
38
+ }
39
+ } finally {
40
+ setIsLoading(false);
41
+ }
42
+ }, [appleRedirectUri, appleServicesId, client, internalId, onError, onSuccess]);
43
+
44
+ // Browsers only open the popup right after a tap, so Apple's script is loaded before one.
45
+ React.useEffect(() => {
46
+ loadAppleScript().catch(() => undefined);
47
+ }, []);
48
+ return /*#__PURE__*/_jsx(SocialLoginButton, {
49
+ ...props,
50
+ backgroundColor: "#000",
51
+ style: style,
52
+ disabled: disabled || isLoading,
53
+ onPress: handleAppleLogin,
54
+ testID: testID,
55
+ children: children
56
+ });
57
+ };
58
+
59
+ /** Sign in with Apple in a popup, for the Services ID registered for this site; renders nothing without one. */
60
+ export const AppleLoginButton = ({
61
+ appleServicesId,
62
+ ...props
63
+ }) => appleServicesId ? /*#__PURE__*/_jsx(AppleServicesLoginButton, {
64
+ ...props,
65
+ appleServicesId: appleServicesId
66
+ }) : null;
67
+ //# sourceMappingURL=apple-login-button.web.js.map