@apextelemed/partner-core 0.19.0-dev.62 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/api/index.d.ts +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/api/index.jsx +3 -3
  4. package/dist/chunk/{GYAT2X65.js → BTDK3J34.js} +10 -2
  5. package/dist/chunk/BTDK3J34.js.map +1 -0
  6. package/dist/chunk/{U5DE7VZP.jsx → FKEDRIA7.jsx} +1792 -1585
  7. package/dist/chunk/{22EFLJGO.js → FZ4LIOG2.js} +6 -6
  8. package/dist/chunk/{22EFLJGO.js.map → FZ4LIOG2.js.map} +1 -1
  9. package/dist/chunk/{FL3DS5WN.jsx → HEXXZYK4.jsx} +4 -4
  10. package/dist/chunk/{W5QWCMTE.jsx → HSBATWVL.jsx} +2 -2
  11. package/dist/chunk/{UM5K75Y4.js → LJAMZMRF.js} +3 -3
  12. package/dist/chunk/{UM5K75Y4.js.map → LJAMZMRF.js.map} +1 -1
  13. package/dist/chunk/{GULO22W6.jsx → MVWCKLRH.jsx} +2 -2
  14. package/dist/chunk/{BPF2SSKF.js → O2VF7KNG.js} +3 -3
  15. package/dist/chunk/{BPF2SSKF.js.map → O2VF7KNG.js.map} +1 -1
  16. package/dist/chunk/{GSYL4J57.js → P6YCW73X.js} +1100 -855
  17. package/dist/chunk/P6YCW73X.js.map +1 -0
  18. package/dist/chunk/{PWEK34Q4.jsx → PZ4BRSEK.jsx} +9 -1
  19. package/dist/chunk/{2Q4GK4WD.jsx → UAZK2UTR.jsx} +2 -2
  20. package/dist/chunk/{XPYBZU45.js → WM5KNUNX.js} +5 -5
  21. package/dist/chunk/{XPYBZU45.js.map → WM5KNUNX.js.map} +1 -1
  22. package/dist/chunk/{CED3IYWX.js → WUVYCWKW.js} +3 -3
  23. package/dist/chunk/{CED3IYWX.js.map → WUVYCWKW.js.map} +1 -1
  24. package/dist/chunk/{I7L5WVA2.jsx → ZEQ5TNDM.jsx} +5 -5
  25. package/dist/{client-BQ8AEx5S.d.ts → client-C0MG1mOg.d.ts} +24 -1
  26. package/dist/flows/index.d.ts +1 -1
  27. package/dist/flows/index.js +6 -6
  28. package/dist/flows/index.jsx +6 -6
  29. package/dist/index/index.d.ts +1 -1
  30. package/dist/index/index.js +7 -7
  31. package/dist/index/index.jsx +7 -7
  32. package/dist/pages/index.d.ts +1 -1
  33. package/dist/pages/index.js +5 -5
  34. package/dist/pages/index.jsx +5 -5
  35. package/dist/stores/index.d.ts +1 -1
  36. package/dist/stores/index.js +2 -2
  37. package/dist/stores/index.jsx +2 -2
  38. package/dist/theme/admin.css +3 -0
  39. package/package.json +1 -1
  40. package/dist/chunk/GSYL4J57.js.map +0 -1
  41. package/dist/chunk/GYAT2X65.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { getTokens } from './GYAT2X65.js';
1
+ import { getTokens } from './BTDK3J34.js';
2
2
  import { getConfig } from './2IFPDU4D.js';
3
3
 
4
4
  // src/api/funnel.ts
@@ -174,5 +174,5 @@ function resetSmsConfigCache() {
174
174
  }
175
175
 
176
176
  export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, fetchSmsConfig, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, resetSmsConfigCache, saveFunnelDraft, stripResumeToken };
177
- //# sourceMappingURL=CED3IYWX.js.map
178
- //# sourceMappingURL=CED3IYWX.js.map
177
+ //# sourceMappingURL=WUVYCWKW.js.map
178
+ //# sourceMappingURL=WUVYCWKW.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/api/funnel.ts","../../src/api/sms.ts"],"names":["DISABLED","configPromise"],"mappings":";;;;AAmBA,IAAM,WAAyB,EAAE,SAAA,EAAW,OAAO,SAAA,EAAW,KAAA,EAAO,mBAAmB,KAAA,EAAM;AAE9F,IAAI,aAAA,GAA8C,IAAA;AAM3C,SAAS,iBAAA,GA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F,CAAA,GAAG;AAAA,EACL;AACA,EAAA,OAAOC,cAAAA;AACT;AAGO,SAAS,mBAAA,GAA4B;AAC1C,EAAAA,cAAAA,GAAgB,IAAA;AAClB","file":"CED3IYWX.js","sourcesContent":["import { getConfig } from '../config';\nimport { getTokens } from './client';\n\n// ── Funnel telemetry transport ──────────────────────────────────────────────\n//\n// Thin client for the-backend's abandoned-funnel capture endpoints:\n// GET /config/funnel → which capture features this tenant enabled\n// POST /funnel/events → survey-session telemetry sink\n//\n// Everything here is fire-and-forget and fail-silent: funnel capture is\n// marketing instrumentation, and it must never break or slow the survey.\n\nexport interface FunnelConfig {\n telemetry: boolean;\n emailGate: boolean;\n /** When true (tenant features.funnelEmailGateRequired), the gate offers no skip. */\n emailGateRequired: boolean;\n}\n\nconst DISABLED: FunnelConfig = { telemetry: false, emailGate: false, emailGateRequired: false };\n\nlet configPromise: Promise<FunnelConfig> | null = null;\n\n/**\n * The tenant's funnel-capture posture, fetched once per page load and cached.\n * Fails closed: any error reads as \"both off\".\n */\nexport function fetchFunnelConfig(): Promise<FunnelConfig> {\n if (!configPromise) {\n configPromise = (async () => {\n try {\n const cfg = getConfig();\n const res = await fetch(`${cfg.apiBase}/config/funnel`, {\n headers: { 'X-Tenant-Key': cfg.tenantKey },\n });\n if (!res.ok) return DISABLED;\n const body = (await res.json()) as Partial<FunnelConfig>;\n return {\n telemetry: body.telemetry === true,\n emailGate: body.emailGate === true,\n emailGateRequired: body.emailGateRequired === true,\n };\n } catch {\n return DISABLED;\n }\n })();\n }\n return configPromise;\n}\n\n/**\n * Continue an existing funnel session (resume-from-email): the emailed link\n * identifies the session that already holds this person's email and reminder\n * history, so adopting its id keeps everything on one row instead of forking a\n * new one that looks like a brand-new visitor.\n */\nexport function adoptFunnelSessionId(id: string): void {\n if (!id) return;\n try {\n sessionStorage.setItem(sessionIdKey(), id);\n } catch {\n /* storage unavailable — the session stays ephemeral */\n }\n}\n\n/** Test seam: forget the cached config so the next fetch re-resolves. */\nexport function resetFunnelConfigCache(): void {\n configPromise = null;\n}\n\nconst sessionIdKey = () => `${getConfig().storagePrefix}-funnel-session`;\n\n/**\n * Stable id for this survey session, minted on first use and kept in\n * sessionStorage — a refresh continues the same session (matching the survey\n * draft's resume behavior); a new tab or browser session starts a new one.\n */\nexport function funnelSessionId(): string {\n let id: string | null = null;\n try {\n id = sessionStorage.getItem(sessionIdKey());\n } catch {\n /* storage unavailable (private mode) — fall through to ephemeral id */\n }\n if (!id) {\n id =\n typeof crypto !== 'undefined' && 'randomUUID' in crypto\n ? crypto.randomUUID()\n : `${Date.now()}-${Math.random().toString(36).slice(2)}`;\n try {\n sessionStorage.setItem(sessionIdKey(), id);\n } catch {\n /* ephemeral it is */\n }\n }\n return id;\n}\n\n/**\n * The current survey session id, or null — WITHOUT minting one.\n *\n * `funnelSessionId()` creates an id on first read, which is right for the\n * survey (asking means a survey is starting) and wrong for anything else. Cart\n * capture uses this to say \"if this shopper also has a survey session, here it\n * is\" — letting the backend borrow the email the gate already collected —\n * without conjuring survey sessions on a storefront that never runs one.\n */\nexport function peekFunnelSessionId(): string | null {\n try {\n return sessionStorage.getItem(sessionIdKey());\n } catch {\n return null;\n }\n}\n\n/**\n * The member's access token, when this browser has one.\n *\n * Read raw and never refreshed: these are fire-and-forget telemetry posts, and\n * a token refresh is a real network round-trip on the unload path. An expired\n * token is not a failure either — the sinks take it with `optionalAuth`, so a\n * stale one simply reads as an anonymous visitor, which is what we had before.\n */\nexport function captureAuthHeader(): Record<string, string> {\n try {\n const token = getTokens()?.accessToken;\n return token ? { Authorization: `Bearer ${token}` } : {};\n } catch {\n return {};\n }\n}\n\n/**\n * Fire-and-forget event post. `keepalive` lets the request survive a page\n * unload — which is exactly when the `abandoned` event is sent. (This is why\n * it's `fetch` and not `navigator.sendBeacon`: beacons can't carry the\n * X-Tenant-Key header the tenant-scoped mount requires — nor the bearer token\n * below.)\n *\n * The token identifies a signed-in member to the sink. Without it a member's\n * session is stored anonymously, and the pre-survey email gate — the only\n * other writer of a session's identity — is deliberately never shown to\n * someone already signed in, so their drop-off could never be attributed to\n * them. That is the whole population of a site where the account is created\n * before the questionnaire (savings-program signups, returning members\n * starting a second intake).\n */\nexport function postFunnelEvent(type: string, data?: Record<string, unknown>): void {\n try {\n const cfg = getConfig();\n void fetch(`${cfg.apiBase}/funnel/events`, {\n method: 'POST',\n keepalive: true,\n headers: {\n 'Content-Type': 'application/json',\n 'X-Tenant-Key': cfg.tenantKey,\n ...captureAuthHeader(),\n },\n body: JSON.stringify({ sessionId: funnelSessionId(), type, data }),\n }).catch(() => {});\n } catch {\n /* not configured yet — drop */\n }\n}\n\n// ── Survey drafts (cross-device resume) ─────────────────────────────────────\n\nexport interface FunnelDraftPayload {\n answers: Array<{ questionId: string; value: unknown }>;\n stepIndex: number;\n}\n\n/**\n * Save in-progress answers to Apex (through the-backend's embed proxy) and\n * return the draft id, so the next save updates the same row.\n *\n * Answers travel to the CLINICAL system — the partner backend stores only the\n * returned pointer. Returns null on any failure: a draft is best-effort, and\n * losing one costs a retype, never correctness.\n */\nexport async function saveFunnelDraft(\n draft: FunnelDraftPayload & { draftId?: string; drugIds?: string[]; templateId?: string; mode?: string },\n): Promise<string | null> {\n try {\n const cfg = getConfig();\n if (!cfg.apexEmbedApiBase) return null;\n const res = await fetch(`${cfg.apexEmbedApiBase}/v2/embed/surveys/drafts`, {\n method: 'PUT',\n headers: { 'Content-Type': 'application/json', 'X-Tenant-Key': cfg.tenantKey },\n body: JSON.stringify(draft),\n });\n if (!res.ok) return null;\n const body = (await res.json()) as { draftId?: string };\n return body.draftId ?? null;\n } catch {\n return null;\n }\n}\n\nexport interface ResumedDraft extends FunnelDraftPayload {\n sessionId: string;\n draftId: string;\n}\n\n/**\n * Exchange an emailed resume token for the saved answers.\n *\n * The token is the ONLY thing authorizing this read — the-backend verifies its\n * HMAC before fetching from Apex with credentials the browser never sees. A\n * 404 (expired, already submitted, tampered) resolves to null so the caller\n * simply starts a fresh survey.\n */\nexport async function fetchResumedDraft(token: string): Promise<ResumedDraft | null> {\n try {\n const cfg = getConfig();\n const res = await fetch(`${cfg.apiBase}/funnel/resume?token=${encodeURIComponent(token)}`, {\n headers: { 'X-Tenant-Key': cfg.tenantKey },\n });\n if (!res.ok) return null;\n const body = (await res.json()) as Partial<ResumedDraft>;\n if (!body.draftId || !Array.isArray(body.answers)) return null;\n return {\n sessionId: String(body.sessionId ?? ''),\n draftId: body.draftId,\n answers: body.answers,\n stepIndex: typeof body.stepIndex === 'number' ? body.stepIndex : 0,\n };\n } catch {\n return null;\n }\n}\n\n/** Read the `?resume=` token from the current URL. */\nexport function readResumeToken(): string | null {\n try {\n const token = new URLSearchParams(window.location.search).get('resume');\n return token && token.length > 0 ? token : null;\n } catch {\n return null;\n }\n}\n\n/**\n * Drop `?resume=` from the address bar once it has been redeemed.\n *\n * This token authorizes a read of someone's clinical answers, so leaving it in\n * the address bar is worse than leaving the cart's there: it gets bookmarked,\n * pasted into a support chat, or captured by whatever the patient's browser\n * syncs. The answers are mirrored into local storage on redemption, so a\n * refresh resumes from this device without it. History is replaced, not\n * pushed — the token was never a page.\n */\nexport function stripResumeToken(): void {\n try {\n const url = new URL(window.location.href);\n if (!url.searchParams.has('resume')) return;\n url.searchParams.delete('resume');\n window.history.replaceState({}, '', url.toString());\n } catch {\n /* no history API — leaving the param is harmless */\n }\n}\n","import { getConfig } from '../config';\n\n// ── Customer text-message config ────────────────────────────────────────────\n//\n// Thin client for the-backend's tenant-level SMS posture:\n// GET /config/sms → whether this tenant texts customers at all, and the exact\n// consent wording (and its version) to show beside the box\n//\n// Sibling of ./cart and ./funnel, and the same posture: unauthenticated, cached\n// once per page load, fail-closed. Unlike those two it gates something a person\n// is asked to AGREE to, so \"any doubt\" reads as \"off\" — a consent box with no\n// wording to show must never render.\n\nexport interface SmsConfig {\n /** Tenant texts customers (feature on, number registered, switched on). false = show nothing. */\n enabled: boolean;\n /** The sender the consent wording names, e.g. \"Acme Health\". */\n brandName?: string;\n /** The consent wording, verbatim. Never reword it: what the person saw is what the record holds. */\n consentText?: string;\n /** Identifies `consentText`; sent back with a grant so the server knows which words were shown. */\n consentTextVersion?: string;\n termsUrl?: string;\n privacyUrl?: string;\n}\n\nconst DISABLED: SmsConfig = { enabled: false };\n\nconst str = (v: unknown): string | undefined => (typeof v === 'string' && v.trim() ? v : undefined);\n\nlet configPromise: Promise<SmsConfig> | null = null;\n\n/**\n * The tenant's text-message posture, fetched once per page load and cached.\n * Fails closed: any error — and an \"enabled\" reply that arrives without the\n * wording or its version — reads as \"off\".\n */\nexport function fetchSmsConfig(): Promise<SmsConfig> {\n if (!configPromise) {\n configPromise = (async () => {\n try {\n const cfg = getConfig();\n const res = await fetch(`${cfg.apiBase}/config/sms`, {\n headers: { 'X-Tenant-Key': cfg.tenantKey },\n });\n if (!res.ok) return DISABLED;\n const body = (await res.json()) as Partial<Record<keyof SmsConfig, unknown>>;\n const consentText = str(body.consentText);\n const consentTextVersion = str(body.consentTextVersion);\n if (body.enabled !== true || !consentText || !consentTextVersion) return DISABLED;\n return {\n enabled: true,\n brandName: str(body.brandName),\n consentText,\n consentTextVersion,\n termsUrl: str(body.termsUrl),\n privacyUrl: str(body.privacyUrl),\n };\n } catch {\n return DISABLED;\n }\n })();\n }\n return configPromise;\n}\n\n/** Test seam: forget the cached config so the next fetch re-resolves. */\nexport function resetSmsConfigCache(): void {\n configPromise = null;\n}\n"]}
1
+ {"version":3,"sources":["../../src/api/funnel.ts","../../src/api/sms.ts"],"names":["DISABLED","configPromise"],"mappings":";;;;AAmBA,IAAM,WAAyB,EAAE,SAAA,EAAW,OAAO,SAAA,EAAW,KAAA,EAAO,mBAAmB,KAAA,EAAM;AAE9F,IAAI,aAAA,GAA8C,IAAA;AAM3C,SAAS,iBAAA,GAA2C;AACzD,EAAA,IAAI,CAAC,aAAA,EAAe;AAClB,IAAA,aAAA,GAAA,CAAiB,YAAY;AAC3B,MAAA,IAAI;AACF,QAAA,MAAM,MAAM,SAAA,EAAU;AACtB,QA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ourcesContent":["import { getConfig } from '../config';\nimport { getTokens } from './client';\n\n// ── Funnel telemetry transport ──────────────────────────────────────────────\n//\n// Thin client for the-backend's abandoned-funnel capture endpoints:\n// GET /config/funnel → which capture features this tenant enabled\n// POST /funnel/events → survey-session telemetry sink\n//\n// Everything here is fire-and-forget and fail-silent: funnel capture is\n// marketing instrumentation, and it must never break or slow the survey.\n\nexport interface FunnelConfig {\n telemetry: boolean;\n emailGate: boolean;\n /** When true (tenant features.funnelEmailGateRequired), the gate offers no skip. */\n emailGateRequired: boolean;\n}\n\nconst DISABLED: FunnelConfig = { telemetry: false, emailGate: false, emailGateRequired: false };\n\nlet configPromise: Promise<FunnelConfig> | null = null;\n\n/**\n * The tenant's funnel-capture posture, fetched once per page load and cached.\n * Fails closed: any error reads as \"both off\".\n */\nexport function fetchFunnelConfig(): Promise<FunnelConfig> {\n if (!configPromise) {\n configPromise = (async () => {\n try {\n const cfg = getConfig();\n const res = await fetch(`${cfg.apiBase}/config/funnel`, {\n headers: { 'X-Tenant-Key': cfg.tenantKey },\n });\n if (!res.ok) return DISABLED;\n const body = (await res.json()) as Partial<FunnelConfig>;\n return {\n telemetry: body.telemetry === true,\n emailGate: body.emailGate === true,\n emailGateRequired: body.emailGateRequired === true,\n };\n } catch {\n return DISABLED;\n }\n })();\n }\n return configPromise;\n}\n\n/**\n * Continue an existing funnel session (resume-from-email): the emailed link\n * identifies the session that already holds this person's email and reminder\n * history, so adopting its id keeps everything on one row instead of forking a\n * new one that looks like a brand-new visitor.\n */\nexport function adoptFunnelSessionId(id: string): void {\n if (!id) return;\n try {\n sessionStorage.setItem(sessionIdKey(), id);\n } catch {\n /* storage unavailable — the session stays ephemeral */\n }\n}\n\n/** Test seam: forget the cached config so the next fetch re-resolves. */\nexport function resetFunnelConfigCache(): void {\n configPromise = null;\n}\n\nconst sessionIdKey = () => `${getConfig().storagePrefix}-funnel-session`;\n\n/**\n * Stable id for this survey session, minted on first use and kept in\n * sessionStorage — a refresh continues the same session (matching the survey\n * draft's resume behavior); a new tab or browser session starts a new one.\n */\nexport function funnelSessionId(): string {\n let id: string | null = null;\n try {\n id = sessionStorage.getItem(sessionIdKey());\n } catch {\n /* storage unavailable (private mode) — fall through to ephemeral id */\n }\n if (!id) {\n id =\n typeof crypto !== 'undefined' && 'randomUUID' in crypto\n ? crypto.randomUUID()\n : `${Date.now()}-${Math.random().toString(36).slice(2)}`;\n try {\n sessionStorage.setItem(sessionIdKey(), id);\n } catch {\n /* ephemeral it is */\n }\n }\n return id;\n}\n\n/**\n * The current survey session id, or null — WITHOUT minting one.\n *\n * `funnelSessionId()` creates an id on first read, which is right for the\n * survey (asking means a survey is starting) and wrong for anything else. Cart\n * capture uses this to say \"if this shopper also has a survey session, here it\n * is\" — letting the backend borrow the email the gate already collected —\n * without conjuring survey sessions on a storefront that never runs one.\n */\nexport function peekFunnelSessionId(): string | null {\n try {\n return sessionStorage.getItem(sessionIdKey());\n } catch {\n return null;\n }\n}\n\n/**\n * The member's access token, when this browser has one.\n *\n * Read raw and never refreshed: these are fire-and-forget telemetry posts, and\n * a token refresh is a real network round-trip on the unload path. An expired\n * token is not a failure either — the sinks take it with `optionalAuth`, so a\n * stale one simply reads as an anonymous visitor, which is what we had before.\n */\nexport function captureAuthHeader(): Record<string, string> {\n try {\n const token = getTokens()?.accessToken;\n return token ? { Authorization: `Bearer ${token}` } : {};\n } catch {\n return {};\n }\n}\n\n/**\n * Fire-and-forget event post. `keepalive` lets the request survive a page\n * unload — which is exactly when the `abandoned` event is sent. (This is why\n * it's `fetch` and not `navigator.sendBeacon`: beacons can't carry the\n * X-Tenant-Key header the tenant-scoped mount requires — nor the bearer token\n * below.)\n *\n * The token identifies a signed-in member to the sink. Without it a member's\n * session is stored anonymously, and the pre-survey email gate — the only\n * other writer of a session's identity — is deliberately never shown to\n * someone already signed in, so their drop-off could never be attributed to\n * them. That is the whole population of a site where the account is created\n * before the questionnaire (savings-program signups, returning members\n * starting a second intake).\n */\nexport function postFunnelEvent(type: string, data?: Record<string, unknown>): void {\n try {\n const cfg = getConfig();\n void fetch(`${cfg.apiBase}/funnel/events`, {\n method: 'POST',\n keepalive: true,\n headers: {\n 'Content-Type': 'application/json',\n 'X-Tenant-Key': cfg.tenantKey,\n ...captureAuthHeader(),\n },\n body: JSON.stringify({ sessionId: funnelSessionId(), type, data }),\n }).catch(() => {});\n } catch {\n /* not configured yet — drop */\n }\n}\n\n// ── Survey drafts (cross-device resume) ─────────────────────────────────────\n\nexport interface FunnelDraftPayload {\n answers: Array<{ questionId: string; value: unknown }>;\n stepIndex: number;\n}\n\n/**\n * Save in-progress answers to Apex (through the-backend's embed proxy) and\n * return the draft id, so the next save updates the same row.\n *\n * Answers travel to the CLINICAL system — the partner backend stores only the\n * returned pointer. Returns null on any failure: a draft is best-effort, and\n * losing one costs a retype, never correctness.\n */\nexport async function saveFunnelDraft(\n draft: FunnelDraftPayload & { draftId?: string; drugIds?: string[]; templateId?: string; mode?: string },\n): Promise<string | null> {\n try {\n const cfg = getConfig();\n if (!cfg.apexEmbedApiBase) return null;\n const res = await fetch(`${cfg.apexEmbedApiBase}/v2/embed/surveys/drafts`, {\n method: 'PUT',\n headers: { 'Content-Type': 'application/json', 'X-Tenant-Key': cfg.tenantKey },\n body: JSON.stringify(draft),\n });\n if (!res.ok) return null;\n const body = (await res.json()) as { draftId?: string };\n return body.draftId ?? null;\n } catch {\n return null;\n }\n}\n\nexport interface ResumedDraft extends FunnelDraftPayload {\n sessionId: string;\n draftId: string;\n}\n\n/**\n * Exchange an emailed resume token for the saved answers.\n *\n * The token is the ONLY thing authorizing this read — the-backend verifies its\n * HMAC before fetching from Apex with credentials the browser never sees. A\n * 404 (expired, already submitted, tampered) resolves to null so the caller\n * simply starts a fresh survey.\n */\nexport async function fetchResumedDraft(token: string): Promise<ResumedDraft | null> {\n try {\n const cfg = getConfig();\n const res = await fetch(`${cfg.apiBase}/funnel/resume?token=${encodeURIComponent(token)}`, {\n headers: { 'X-Tenant-Key': cfg.tenantKey },\n });\n if (!res.ok) return null;\n const body = (await res.json()) as Partial<ResumedDraft>;\n if (!body.draftId || !Array.isArray(body.answers)) return null;\n return {\n sessionId: String(body.sessionId ?? ''),\n draftId: body.draftId,\n answers: body.answers,\n stepIndex: typeof body.stepIndex === 'number' ? body.stepIndex : 0,\n };\n } catch {\n return null;\n }\n}\n\n/** Read the `?resume=` token from the current URL. */\nexport function readResumeToken(): string | null {\n try {\n const token = new URLSearchParams(window.location.search).get('resume');\n return token && token.length > 0 ? token : null;\n } catch {\n return null;\n }\n}\n\n/**\n * Drop `?resume=` from the address bar once it has been redeemed.\n *\n * This token authorizes a read of someone's clinical answers, so leaving it in\n * the address bar is worse than leaving the cart's there: it gets bookmarked,\n * pasted into a support chat, or captured by whatever the patient's browser\n * syncs. The answers are mirrored into local storage on redemption, so a\n * refresh resumes from this device without it. History is replaced, not\n * pushed — the token was never a page.\n */\nexport function stripResumeToken(): void {\n try {\n const url = new URL(window.location.href);\n if (!url.searchParams.has('resume')) return;\n url.searchParams.delete('resume');\n window.history.replaceState({}, '', url.toString());\n } catch {\n /* no history API — leaving the param is harmless */\n }\n}\n","import { getConfig } from '../config';\n\n// ── Customer text-message config ────────────────────────────────────────────\n//\n// Thin client for the-backend's tenant-level SMS posture:\n// GET /config/sms → whether this tenant texts customers at all, and the exact\n// consent wording (and its version) to show beside the box\n//\n// Sibling of ./cart and ./funnel, and the same posture: unauthenticated, cached\n// once per page load, fail-closed. Unlike those two it gates something a person\n// is asked to AGREE to, so \"any doubt\" reads as \"off\" — a consent box with no\n// wording to show must never render.\n\nexport interface SmsConfig {\n /** Tenant texts customers (feature on, number registered, switched on). false = show nothing. */\n enabled: boolean;\n /** The sender the consent wording names, e.g. \"Acme Health\". */\n brandName?: string;\n /** The consent wording, verbatim. Never reword it: what the person saw is what the record holds. */\n consentText?: string;\n /** Identifies `consentText`; sent back with a grant so the server knows which words were shown. */\n consentTextVersion?: string;\n termsUrl?: string;\n privacyUrl?: string;\n}\n\nconst DISABLED: SmsConfig = { enabled: false };\n\nconst str = (v: unknown): string | undefined => (typeof v === 'string' && v.trim() ? v : undefined);\n\nlet configPromise: Promise<SmsConfig> | null = null;\n\n/**\n * The tenant's text-message posture, fetched once per page load and cached.\n * Fails closed: any error — and an \"enabled\" reply that arrives without the\n * wording or its version — reads as \"off\".\n */\nexport function fetchSmsConfig(): Promise<SmsConfig> {\n if (!configPromise) {\n configPromise = (async () => {\n try {\n const cfg = getConfig();\n const res = await fetch(`${cfg.apiBase}/config/sms`, {\n headers: { 'X-Tenant-Key': cfg.tenantKey },\n });\n if (!res.ok) return DISABLED;\n const body = (await res.json()) as Partial<Record<keyof SmsConfig, unknown>>;\n const consentText = str(body.consentText);\n const consentTextVersion = str(body.consentTextVersion);\n if (body.enabled !== true || !consentText || !consentTextVersion) return DISABLED;\n return {\n enabled: true,\n brandName: str(body.brandName),\n consentText,\n consentTextVersion,\n termsUrl: str(body.termsUrl),\n privacyUrl: str(body.privacyUrl),\n };\n } catch {\n return DISABLED;\n }\n })();\n }\n return configPromise;\n}\n\n/** Test seam: forget the cached config so the next fetch re-resolves. */\nexport function resetSmsConfigCache(): void {\n configPromise = null;\n}\n"]}
@@ -8,7 +8,7 @@ import {
8
8
  readPromoCode,
9
9
  resetCartId,
10
10
  stripCartToken
11
- } from "./GULO22W6.jsx";
11
+ } from "./MVWCKLRH.jsx";
12
12
  import {
13
13
  PHONE_ERROR,
14
14
  bestOfferDiscount,
@@ -25,11 +25,11 @@ import {
25
25
  useCatalogAvailability,
26
26
  useSmsConsent,
27
27
  validateAddress
28
- } from "./FL3DS5WN.jsx";
28
+ } from "./HEXXZYK4.jsx";
29
29
  import {
30
30
  auth_default,
31
31
  cart_default
32
- } from "./W5QWCMTE.jsx";
32
+ } from "./HSBATWVL.jsx";
33
33
  import {
34
34
  ApiError,
35
35
  newIdempotencyKey,
@@ -37,7 +37,7 @@ import {
37
37
  promoCodesApi,
38
38
  subscriptionsApi,
39
39
  usersApi
40
- } from "./PWEK34Q4.jsx";
40
+ } from "./PZ4BRSEK.jsx";
41
41
  import {
42
42
  getConfig
43
43
  } from "./QVZ7BRNO.jsx";
@@ -661,4 +661,4 @@ export {
661
661
  restoreCartFromLink,
662
662
  startCartCapture
663
663
  };
664
- //# sourceMappingURL=I7L5WVA2.jsx.map
664
+ //# sourceMappingURL=ZEQ5TNDM.jsx.map
@@ -1261,6 +1261,24 @@ interface AdminDashboardStats {
1261
1261
  totalRevenueCents: number;
1262
1262
  failedPayments30d: number;
1263
1263
  }
1264
+ /** One day of the billing forecast. */
1265
+ interface AdminBillingForecastDay {
1266
+ /** YYYY-MM-DD in the forecast's time zone. */
1267
+ date: string;
1268
+ amountCents: number;
1269
+ charges: number;
1270
+ }
1271
+ /** What the billing engine is set to charge on each coming day. */
1272
+ interface AdminBillingForecast {
1273
+ timeZone: string;
1274
+ from: string;
1275
+ to: string;
1276
+ days: AdminBillingForecastDay[];
1277
+ totalCents: number;
1278
+ totalCharges: number;
1279
+ /** Live subscriptions with nothing scheduled to project from. */
1280
+ unscheduled: number;
1281
+ }
1264
1282
  /** One price point in the recurring-revenue breakdown: everyone on the same
1265
1283
  * charge amount and billing cycle. */
1266
1284
  interface AdminRecurringPricePoint {
@@ -2344,6 +2362,11 @@ interface AdminInviteResult {
2344
2362
  declare const adminApi: {
2345
2363
  getDashboard(): Promise<AdminDashboardStats>;
2346
2364
  getRecurringRevenue(): Promise<AdminRecurringRevenue>;
2365
+ /**
2366
+ * Charges due on each of the next `days` days (1–92, default 31), bucketed by
2367
+ * calendar day in `timeZone` (an IANA zone; default the browser's).
2368
+ */
2369
+ getBillingForecast(days?: number, timeZone?: string): Promise<AdminBillingForecast>;
2347
2370
  getCustomers(params?: AdminCustomerListParams & AdminListParams): Promise<{
2348
2371
  customers: AdminCustomerRow[];
2349
2372
  hasMore: boolean;
@@ -3177,4 +3200,4 @@ declare const affiliatePortalApi: {
3177
3200
  track(refCode: string, landingPage?: string): Promise<AffiliateTrackResponse>;
3178
3201
  };
3179
3202
 
3180
- export { type AdminRecurringPricePoint as $, ADMIN_ROLES as A, type AdminCustomerSupport as B, type AdminCustomerSupportThread as C, type AdminDashboardStats as D, type AdminFillAnchor as E, type AdminFillSchedule as F, type AdminInviteResult as G, type AdminLifecycle as H, type AdminLifecycleBucket as I, type AdminListParams as J, type AdminMe as K, type AdminOffer as L, type AdminOfferBase as M, type AdminOfferGrant as N, type AdminOfferGrantBase as O, type AdminOfferInput as P, type AdminOrderSummary as Q, type AdminOrphanReason as R, type AdminOrphanedDosePrice as S, type AdminPayment as T, type AdminPaymentDetail as U, type AdminProduct as V, type AdminProductOverlayField as W, type AdminProductPharmacy as X, type AdminProductStrength as Y, type AdminPromoCode as Z, type AdminPromoCodeInput as _, type AddPharmacyBody as a, type CatalogConversionPreview as a$, type AdminRecurringRevenue as a0, type AdminRefundResult as a1, type AdminRetimeFillBody as a2, type AdminRetimeFillResult as a3, type AdminRetimeSnapshot as a4, type AdminRole as a5, type AdminSale as a6, type AdminSaleInput as a7, type AdminScheduledRefund as a8, type AdminScheduledRefundProblem as a9, type AffiliateDashboardStats as aA, type AffiliateDownlineMember as aB, type AffiliateEarningsBreakdown as aC, type AffiliatePaymentMethod as aD, type AffiliateProgram as aE, type AffiliateRegisterInput as aF, type AffiliateRegisterResponse as aG, type AffiliateSession as aH, type AffiliateStatsResponse as aI, type AffiliateStatus as aJ, type AffiliateTrackResponse as aK, ApiError as aL, type ApiResponse as aM, type AttributionMethod as aN, type AuthTokens as aO, type BillingReminderSettings as aP, type CatalogAvailabilityItem as aQ, type CatalogAvailabilityReason as aR, type CatalogAvailabilityResult as aS, type CatalogClassification as aT, type CatalogConversionChoice as aU, type CatalogConversionCommitResult as aV, type CatalogConversionDose as aW, type CatalogConversionDoseMatch as aX, type CatalogConversionFinding as aY, type CatalogConversionPointers as aZ, type CatalogConversionPrepareResult as a_, type AdminSmsMessage as aa, type AdminSmsMessagesParams as ab, type AdminSmsNotReadyReason as ac, type AdminSmsSegmentInfo as ad, type AdminSmsSettings as ae, type AdminSmsTemplate as af, type AdminSmsTemplateChange as ag, type AdminSmsTemplateChanges as ah, type AdminSmsTestResult as ai, type AdminSmsTestStatus as aj, type AdminSubscription as ak, type AdminSubscriptionDetail as al, type AdminSubscriptionPatch as am, type AdminSubscriptionWriteResult as an, type AdminSupportCustomer as ao, type AdminSupportStats as ap, type AdminSupportThread as aq, type AdminTeamInvite as ar, type AdminTeamMember as as, type AdminWebhookEvent as at, type Affiliate as au, type AffiliateAuthTokens as av, type AffiliateClickRecord as aw, type AffiliateConversion as ax, type AffiliateDashboardLinks as ay, type AffiliateDashboardProfile as az, type AddPharmacyDoseMatch as b, type RenewalStatus as b$, type CatalogConversionRun as b0, type CatalogConversionSource as b1, type CatalogConversionStage as b2, type CatalogConversionTarget as b3, type CatalogConversionUndoOptions as b4, type CatalogConversionUndoResult as b5, type CatalogDose as b6, type CatalogDoseInput as b7, type CatalogDoseModel as b8, type CatalogDoseSuggestion as b9, type DiscountType as bA, type EmailNotificationSettings as bB, type EmailTemplatesMap as bC, type LoginPayload as bD, type MemberOffer as bE, type MemberPrescriptionRequest as bF, type MemberSurveyMode as bG, type MemberSurveyResponseSummary as bH, type MemberSurveyTranscript as bI, type MemberSurveyTranscriptItem as bJ, type MemberSurveyTranscriptSection as bK, type MembersMeResponse as bL, type OfferGrantState as bM, type Order as bN, type OrderItemInput as bO, type PaginationParams as bP, type PaymentCallbackPayload as bQ, type PaymentInitiatePayload as bR, type PaymentType as bS, type PendingRenewalSurvey as bT, type Placeholder as bU, type PlaceholderKind as bV, type ProductSaleSummary as bW, type PromoValidationResponse as bX, type PublicCategory as bY, type RegisterAndSubscribePayload as bZ, type RegisterPayload as b_, type CatalogDoseSuggestions as ba, type CatalogEquivalentSuggestions as bb, type CatalogFulfillment as bc, type CatalogFulfillmentInput as bd, type CatalogItem as be, type CatalogItemInput as bf, type CatalogMappableDrug as bg, type CatalogMatrixCell as bh, type CatalogProduct as bi, type CatalogReadiness as bj, type CategoryMetadata as bk, type CheckoutAddress as bl, type CheckoutPayload as bm, type CheckoutResult as bn, type CommissionConfig as bo, type CommissionStatus as bp, type CompleteSurveyPayload as bq, type CreateAffiliatePayload as br, type CreateAffiliateProgramPayload as bs, type CreateOrderPayload as bt, type CreateRequestPayload as bu, type CreateSubscriptionPayload as bv, type CustomTemplate as bw, type CustomTemplateInput as bx, type CustomerDiscountConfig as by, type DeliveryInfo as bz, type AddPharmacyDoseOption as c, usersApi as c$, SUPPORT_ATTACHMENT_MAX_BYTES as c0, SUPPORT_ATTACHMENT_MIME_TYPES as c1, type SelectDrugPayload as c2, type SendMessagePayload as c3, type SendToPharmacyPayload as c4, type SmsConsentResult as c5, type SmsConsentStatus as c6, type SmsRefusalReason as c7, type SubscriptionPreview as c8, type SubscriptionPreviewLine as c9, adminCatalogApi as cA, adminCatalogConversionApi as cB, adminProductPharmaciesApi as cC, affiliateAuthStorageKey as cD, affiliatePortalApi as cE, apexApi as cF, apiFetch as cG, authApi as cH, authStorageKey as cI, catalogApi as cJ, clearAffiliateTokens as cK, clearTokens as cL, getAffiliateTokens as cM, getTokens as cN, membersApi as cO, messagesApi as cP, newIdempotencyKey as cQ, offersApi as cR, onTokensCleared as cS, ordersApi as cT, paymentsApi as cU, productsApi as cV, promoCodesApi as cW, setAffiliateTokens as cX, setTokens as cY, subscriptionsApi as cZ, supportApi as c_, type SubscriptionPreviewPayload as ca, type SupportAttachment as cb, type SupportChannel as cc, type SupportChannelSettings as cd, type SupportMessage as ce, type SupportRealtimeToken as cf, type SupportThread as cg, type SupportThreadCategory as ch, type SupportThreadStatus as ci, type SurveySubmitPayload as cj, type TemplatePlaceholdersMap as ck, type TemplateText as cl, type TenantFeature as cm, type TenantFeatureAccess as cn, type TokenTrackName as co, type UpdateAffiliatePayload as cp, type UpdateAffiliateProgramPayload as cq, type UpdatePaymentMethodPayload as cr, type UpdateProfilePayload as cs, type UpdateProfileResponse as ct, type User as cu, type UserSmsEvent as cv, type UserSmsState as cw, addressesApi as cx, adminAffiliatesApi as cy, adminApi as cz, type AddPharmacyFinding as d, type AddPharmacyMatchQuestion as e, type AddPharmacyMatchSource as f, type AddPharmacyPlan as g, type AddPharmacyPrice as h, type AddPharmacyResult as i, type AddPharmacyStrengthAfter as j, type AddPharmacyStrengthBefore as k, type AddressVerifyResult as l, type AdminApexDrug as m, type AdminApexItemStatus as n, type AdminBillingAttempt as o, type AdminCategory as p, type AdminCategoryInput as q, type AdminCategoryUpdate as r, type AdminCustomer as s, type AdminCustomerFacts as t, type AdminCustomerFunnel as u, type AdminCustomerListParams as v, type AdminCustomerOverview as w, type AdminCustomerProfile as x, type AdminCustomerRequest as y, type AdminCustomerRow as z };
3203
+ export { type AdminPromoCode as $, ADMIN_ROLES as A, type AdminCustomerRequest as B, type AdminCustomerRow as C, type AdminCustomerSupport as D, type AdminCustomerSupportThread as E, type AdminDashboardStats as F, type AdminFillAnchor as G, type AdminFillSchedule as H, type AdminInviteResult as I, type AdminLifecycle as J, type AdminLifecycleBucket as K, type AdminListParams as L, type AdminMe as M, type AdminOffer as N, type AdminOfferBase as O, type AdminOfferGrant as P, type AdminOfferGrantBase as Q, type AdminOfferInput as R, type AdminOrderSummary as S, type AdminOrphanReason as T, type AdminOrphanedDosePrice as U, type AdminPayment as V, type AdminPaymentDetail as W, type AdminProduct as X, type AdminProductOverlayField as Y, type AdminProductPharmacy as Z, type AdminProductStrength as _, type AddPharmacyBody as a, type CatalogConversionPointers as a$, type AdminPromoCodeInput as a0, type AdminRecurringPricePoint as a1, type AdminRecurringRevenue as a2, type AdminRefundResult as a3, type AdminRetimeFillBody as a4, type AdminRetimeFillResult as a5, type AdminRetimeSnapshot as a6, type AdminRole as a7, type AdminSale as a8, type AdminSaleInput as a9, type AffiliateDashboardLinks as aA, type AffiliateDashboardProfile as aB, type AffiliateDashboardStats as aC, type AffiliateDownlineMember as aD, type AffiliateEarningsBreakdown as aE, type AffiliatePaymentMethod as aF, type AffiliateProgram as aG, type AffiliateRegisterInput as aH, type AffiliateRegisterResponse as aI, type AffiliateSession as aJ, type AffiliateStatsResponse as aK, type AffiliateStatus as aL, type AffiliateTrackResponse as aM, ApiError as aN, type ApiResponse as aO, type AttributionMethod as aP, type AuthTokens as aQ, type BillingReminderSettings as aR, type CatalogAvailabilityItem as aS, type CatalogAvailabilityReason as aT, type CatalogAvailabilityResult as aU, type CatalogClassification as aV, type CatalogConversionChoice as aW, type CatalogConversionCommitResult as aX, type CatalogConversionDose as aY, type CatalogConversionDoseMatch as aZ, type CatalogConversionFinding as a_, type AdminScheduledRefund as aa, type AdminScheduledRefundProblem as ab, type AdminSmsMessage as ac, type AdminSmsMessagesParams as ad, type AdminSmsNotReadyReason as ae, type AdminSmsSegmentInfo as af, type AdminSmsSettings as ag, type AdminSmsTemplate as ah, type AdminSmsTemplateChange as ai, type AdminSmsTemplateChanges as aj, type AdminSmsTestResult as ak, type AdminSmsTestStatus as al, type AdminSubscription as am, type AdminSubscriptionDetail as an, type AdminSubscriptionPatch as ao, type AdminSubscriptionWriteResult as ap, type AdminSupportCustomer as aq, type AdminSupportStats as ar, type AdminSupportThread as as, type AdminTeamInvite as at, type AdminTeamMember as au, type AdminWebhookEvent as av, type Affiliate as aw, type AffiliateAuthTokens as ax, type AffiliateClickRecord as ay, type AffiliateConversion as az, type AddPharmacyDoseMatch as b, type RegisterAndSubscribePayload as b$, type CatalogConversionPrepareResult as b0, type CatalogConversionPreview as b1, type CatalogConversionRun as b2, type CatalogConversionSource as b3, type CatalogConversionStage as b4, type CatalogConversionTarget as b5, type CatalogConversionUndoOptions as b6, type CatalogConversionUndoResult as b7, type CatalogDose as b8, type CatalogDoseInput as b9, type CustomerDiscountConfig as bA, type DeliveryInfo as bB, type DiscountType as bC, type EmailNotificationSettings as bD, type EmailTemplatesMap as bE, type LoginPayload as bF, type MemberOffer as bG, type MemberPrescriptionRequest as bH, type MemberSurveyMode as bI, type MemberSurveyResponseSummary as bJ, type MemberSurveyTranscript as bK, type MemberSurveyTranscriptItem as bL, type MemberSurveyTranscriptSection as bM, type MembersMeResponse as bN, type OfferGrantState as bO, type Order as bP, type OrderItemInput as bQ, type PaginationParams as bR, type PaymentCallbackPayload as bS, type PaymentInitiatePayload as bT, type PaymentType as bU, type PendingRenewalSurvey as bV, type Placeholder as bW, type PlaceholderKind as bX, type ProductSaleSummary as bY, type PromoValidationResponse as bZ, type PublicCategory as b_, type CatalogDoseModel as ba, type CatalogDoseSuggestion as bb, type CatalogDoseSuggestions as bc, type CatalogEquivalentSuggestions as bd, type CatalogFulfillment as be, type CatalogFulfillmentInput as bf, type CatalogItem as bg, type CatalogItemInput as bh, type CatalogMappableDrug as bi, type CatalogMatrixCell as bj, type CatalogProduct as bk, type CatalogReadiness as bl, type CategoryMetadata as bm, type CheckoutAddress as bn, type CheckoutPayload as bo, type CheckoutResult as bp, type CommissionConfig as bq, type CommissionStatus as br, type CompleteSurveyPayload as bs, type CreateAffiliatePayload as bt, type CreateAffiliateProgramPayload as bu, type CreateOrderPayload as bv, type CreateRequestPayload as bw, type CreateSubscriptionPayload as bx, type CustomTemplate as by, type CustomTemplateInput as bz, type AddPharmacyDoseOption as c, subscriptionsApi as c$, type RegisterPayload as c0, type RenewalStatus as c1, SUPPORT_ATTACHMENT_MAX_BYTES as c2, SUPPORT_ATTACHMENT_MIME_TYPES as c3, type SelectDrugPayload as c4, type SendMessagePayload as c5, type SendToPharmacyPayload as c6, type SmsConsentResult as c7, type SmsConsentStatus as c8, type SmsRefusalReason as c9, adminAffiliatesApi as cA, adminApi as cB, adminCatalogApi as cC, adminCatalogConversionApi as cD, adminProductPharmaciesApi as cE, affiliateAuthStorageKey as cF, affiliatePortalApi as cG, apexApi as cH, apiFetch as cI, authApi as cJ, authStorageKey as cK, catalogApi as cL, clearAffiliateTokens as cM, clearTokens as cN, getAffiliateTokens as cO, getTokens as cP, membersApi as cQ, messagesApi as cR, newIdempotencyKey as cS, offersApi as cT, onTokensCleared as cU, ordersApi as cV, paymentsApi as cW, productsApi as cX, promoCodesApi as cY, setAffiliateTokens as cZ, setTokens as c_, type SubscriptionPreview as ca, type SubscriptionPreviewLine as cb, type SubscriptionPreviewPayload as cc, type SupportAttachment as cd, type SupportChannel as ce, type SupportChannelSettings as cf, type SupportMessage as cg, type SupportRealtimeToken as ch, type SupportThread as ci, type SupportThreadCategory as cj, type SupportThreadStatus as ck, type SurveySubmitPayload as cl, type TemplatePlaceholdersMap as cm, type TemplateText as cn, type TenantFeature as co, type TenantFeatureAccess as cp, type TokenTrackName as cq, type UpdateAffiliatePayload as cr, type UpdateAffiliateProgramPayload as cs, type UpdatePaymentMethodPayload as ct, type UpdateProfilePayload as cu, type UpdateProfileResponse as cv, type User as cw, type UserSmsEvent as cx, type UserSmsState as cy, addressesApi as cz, type AddPharmacyFinding as d, supportApi as d0, usersApi as d1, type AddPharmacyMatchQuestion as e, type AddPharmacyMatchSource as f, type AddPharmacyPlan as g, type AddPharmacyPrice as h, type AddPharmacyResult as i, type AddPharmacyStrengthAfter as j, type AddPharmacyStrengthBefore as k, type AddressVerifyResult as l, type AdminApexDrug as m, type AdminApexItemStatus as n, type AdminBillingAttempt as o, type AdminBillingForecast as p, type AdminBillingForecastDay as q, type AdminCategory as r, type AdminCategoryInput as s, type AdminCategoryUpdate as t, type AdminCustomer as u, type AdminCustomerFacts as v, type AdminCustomerFunnel as w, type AdminCustomerListParams as x, type AdminCustomerOverview as y, type AdminCustomerProfile as z };
@@ -1,5 +1,5 @@
1
1
  import { Accessor, Resource } from 'solid-js';
2
- import { l as AddressVerifyResult, bl as CheckoutAddress, aS as CatalogAvailabilityResult, cu as User, bz as DeliveryInfo, b$ as RenewalStatus, bT as PendingRenewalSurvey, I as AdminLifecycleBucket, w as AdminCustomerOverview, al as AdminSubscriptionDetail, y as AdminCustomerRequest, ch as SupportThreadCategory, cc as SupportChannel, bi as CatalogProduct, ax as AffiliateConversion, aB as AffiliateDownlineMember, ay as AffiliateDashboardLinks, aA as AffiliateDashboardStats, bX as PromoValidationResponse, bE as MemberOffer, aT as CatalogClassification, b8 as CatalogDoseModel, S as AdminOrphanedDosePrice, V as AdminProduct, be as CatalogItem, b9 as CatalogDoseSuggestion, bg as CatalogMappableDrug, bb as CatalogEquivalentSuggestions, bj as CatalogReadiness, b5 as CatalogConversionUndoResult, a$ as CatalogConversionPreview, aX as CatalogConversionDoseMatch, b1 as CatalogConversionSource, aW as CatalogConversionDose, b4 as CatalogConversionUndoOptions, aV as CatalogConversionCommitResult, aY as CatalogConversionFinding, aU as CatalogConversionChoice, g as AddPharmacyPlan, i as AddPharmacyResult, f as AddPharmacyMatchSource, a as AddPharmacyBody, d as AddPharmacyFinding, cw as UserSmsState, cv as UserSmsEvent } from '../client-BQ8AEx5S.js';
2
+ import { l as AddressVerifyResult, bn as CheckoutAddress, aU as CatalogAvailabilityResult, cw as User, bB as DeliveryInfo, c1 as RenewalStatus, bV as PendingRenewalSurvey, K as AdminLifecycleBucket, y as AdminCustomerOverview, an as AdminSubscriptionDetail, B as AdminCustomerRequest, cj as SupportThreadCategory, ce as SupportChannel, bk as CatalogProduct, az as AffiliateConversion, aD as AffiliateDownlineMember, aA as AffiliateDashboardLinks, aC as AffiliateDashboardStats, bZ as PromoValidationResponse, bG as MemberOffer, aV as CatalogClassification, ba as CatalogDoseModel, U as AdminOrphanedDosePrice, X as AdminProduct, bg as CatalogItem, bb as CatalogDoseSuggestion, bi as CatalogMappableDrug, bd as CatalogEquivalentSuggestions, bl as CatalogReadiness, b7 as CatalogConversionUndoResult, b1 as CatalogConversionPreview, aZ as CatalogConversionDoseMatch, b3 as CatalogConversionSource, aY as CatalogConversionDose, b6 as CatalogConversionUndoOptions, aX as CatalogConversionCommitResult, a_ as CatalogConversionFinding, aW as CatalogConversionChoice, g as AddPharmacyPlan, i as AddPharmacyResult, f as AddPharmacyMatchSource, a as AddPharmacyBody, d as AddPharmacyFinding, cy as UserSmsState, cx as UserSmsEvent } from '../client-C0MG1mOg.js';
3
3
  import { C as CartItem } from '../cart-o6DpAu5y.js';
4
4
  export { U as UseSurveyV2FlowOptions, u as useSurveyV2Flow } from '../surveyV2-BgQHK0GE.js';
5
5
  import { EmbedEvent } from '@apextelemed/survey-solid';
@@ -1,9 +1,9 @@
1
- export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/22EFLJGO.js';
2
- import '../chunk/UM5K75Y4.js';
3
- export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/XPYBZU45.js';
4
- import '../chunk/CED3IYWX.js';
5
- import '../chunk/BPF2SSKF.js';
6
- import '../chunk/GYAT2X65.js';
1
+ export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/FZ4LIOG2.js';
2
+ import '../chunk/LJAMZMRF.js';
3
+ export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/WM5KNUNX.js';
4
+ import '../chunk/WUVYCWKW.js';
5
+ import '../chunk/O2VF7KNG.js';
6
+ import '../chunk/BTDK3J34.js';
7
7
  import '../chunk/2IFPDU4D.js';
8
8
  //# sourceMappingURL=index.js.map
9
9
  //# sourceMappingURL=index.js.map
@@ -4,8 +4,8 @@ import {
4
4
  startCartCapture,
5
5
  useSubscriptionIntakeFlow,
6
6
  validateResumedPromo
7
- } from "../chunk/I7L5WVA2.jsx";
8
- import "../chunk/GULO22W6.jsx";
7
+ } from "../chunk/ZEQ5TNDM.jsx";
8
+ import "../chunk/MVWCKLRH.jsx";
9
9
  import {
10
10
  DEFAULT_COLOR_PALETTE,
11
11
  LIFECYCLE_BUCKETS,
@@ -137,10 +137,10 @@ import {
137
137
  useUpdatePaymentMethodFlow,
138
138
  validateAddress,
139
139
  visibleWarnings
140
- } from "../chunk/FL3DS5WN.jsx";
141
- import "../chunk/2Q4GK4WD.jsx";
142
- import "../chunk/W5QWCMTE.jsx";
143
- import "../chunk/PWEK34Q4.jsx";
140
+ } from "../chunk/HEXXZYK4.jsx";
141
+ import "../chunk/UAZK2UTR.jsx";
142
+ import "../chunk/HSBATWVL.jsx";
143
+ import "../chunk/PZ4BRSEK.jsx";
144
144
  import "../chunk/QVZ7BRNO.jsx";
145
145
  export {
146
146
  DEFAULT_COLOR_PALETTE,
@@ -1,7 +1,7 @@
1
1
  export { PortalConfig, configure, getConfig } from '../config/index.js';
2
2
  export { BannerProps, BannerVariant, ButtonProps, ButtonSize, ButtonVariant, CardProps, CheckboxGroupProps, ChoiceOption, HeadingProps, Primitives, PrimitivesProvider, RadioGroupProps, SelectOption, SelectProps, SpinnerProps, Status, StatusPillProps, StepIndicatorProps, TextFieldProps, TextareaProps, usePrimitives } from '../primitives/index.js';
3
3
  export { defaultPrimitives } from '../primitives/default/index.js';
4
- export { A as ADMIN_ROLES, a as AddPharmacyBody, b as AddPharmacyDoseMatch, c as AddPharmacyDoseOption, d as AddPharmacyFinding, e as AddPharmacyMatchQuestion, f as AddPharmacyMatchSource, g as AddPharmacyPlan, h as AddPharmacyPrice, i as AddPharmacyResult, j as AddPharmacyStrengthAfter, k as AddPharmacyStrengthBefore, l as AddressVerifyResult, m as AdminApexDrug, n as AdminApexItemStatus, o as AdminBillingAttempt, p as AdminCategory, q as AdminCategoryInput, r as AdminCategoryUpdate, s as AdminCustomer, t as AdminCustomerFacts, u as AdminCustomerFunnel, v as AdminCustomerListParams, w as AdminCustomerOverview, x as AdminCustomerProfile, y as AdminCustomerRequest, z as AdminCustomerRow, B as AdminCustomerSupport, C as AdminCustomerSupportThread, D as AdminDashboardStats, E as AdminFillAnchor, F as AdminFillSchedule, G as AdminInviteResult, H as AdminLifecycle, I as AdminLifecycleBucket, J as AdminListParams, K as AdminMe, L as AdminOffer, M as AdminOfferBase, N as AdminOfferGrant, O as AdminOfferGrantBase, P as AdminOfferInput, Q as AdminOrderSummary, R as AdminOrphanReason, S as AdminOrphanedDosePrice, T as AdminPayment, U as AdminPaymentDetail, V as AdminProduct, W as AdminProductOverlayField, X as AdminProductPharmacy, Y as AdminProductStrength, Z as AdminPromoCode, _ as AdminPromoCodeInput, $ as AdminRecurringPricePoint, a0 as AdminRecurringRevenue, a1 as AdminRefundResult, a2 as AdminRetimeFillBody, a3 as AdminRetimeFillResult, a4 as AdminRetimeSnapshot, a5 as AdminRole, a6 as AdminSale, a7 as AdminSaleInput, a8 as AdminScheduledRefund, a9 as AdminScheduledRefundProblem, aa as AdminSmsMessage, ab as AdminSmsMessagesParams, ac as AdminSmsNotReadyReason, ad as AdminSmsSegmentInfo, ae as AdminSmsSettings, af as AdminSmsTemplate, ag as AdminSmsTemplateChange, ah as AdminSmsTemplateChanges, ai as AdminSmsTestResult, aj as AdminSmsTestStatus, ak as AdminSubscription, al as AdminSubscriptionDetail, am as AdminSubscriptionPatch, an as AdminSubscriptionWriteResult, ao as AdminSupportCustomer, ap as AdminSupportStats, aq as AdminSupportThread, ar as AdminTeamInvite, as as AdminTeamMember, at as AdminWebhookEvent, au as Affiliate, av as AffiliateAuthTokens, aw as AffiliateClickRecord, ax as AffiliateConversion, ay as AffiliateDashboardLinks, az as AffiliateDashboardProfile, aA as AffiliateDashboardStats, aB as AffiliateDownlineMember, aC as AffiliateEarningsBreakdown, aD as AffiliatePaymentMethod, aE as AffiliateProgram, aF as AffiliateRegisterInput, aG as AffiliateRegisterResponse, aH as AffiliateSession, aI as AffiliateStatsResponse, aJ as AffiliateStatus, aK as AffiliateTrackResponse, aL as ApiError, aM as ApiResponse, aN as AttributionMethod, aO as AuthTokens, aP as BillingReminderSettings, aQ as CatalogAvailabilityItem, aR as CatalogAvailabilityReason, aS as CatalogAvailabilityResult, aT as CatalogClassification, aU as CatalogConversionChoice, aV as CatalogConversionCommitResult, aW as CatalogConversionDose, aX as CatalogConversionDoseMatch, aY as CatalogConversionFinding, aZ as CatalogConversionPointers, a_ as CatalogConversionPrepareResult, a$ as CatalogConversionPreview, b0 as CatalogConversionRun, b1 as CatalogConversionSource, b2 as CatalogConversionStage, b3 as CatalogConversionTarget, b4 as CatalogConversionUndoOptions, b5 as CatalogConversionUndoResult, b6 as CatalogDose, b7 as CatalogDoseInput, b8 as CatalogDoseModel, b9 as CatalogDoseSuggestion, ba as CatalogDoseSuggestions, bb as CatalogEquivalentSuggestions, bc as CatalogFulfillment, bd as CatalogFulfillmentInput, be as CatalogItem, bf as CatalogItemInput, bg as CatalogMappableDrug, bh as CatalogMatrixCell, bi as CatalogProduct, bj as CatalogReadiness, bk as CategoryMetadata, bl as CheckoutAddress, bm as CheckoutPayload, bn as CheckoutResult, bo as CommissionConfig, bp as CommissionStatus, bq as CompleteSurveyPayload, br as CreateAffiliatePayload, bs as CreateAffiliateProgramPayload, bt as CreateOrderPayload, bu as CreateRequestPayload, bv as CreateSubscriptionPayload, bw as CustomTemplate, bx as CustomTemplateInput, by as CustomerDiscountConfig, bz as DeliveryInfo, bA as DiscountType, bB as EmailNotificationSettings, bC as EmailTemplatesMap, bD as LoginPayload, bE as MemberOffer, bF as MemberPrescriptionRequest, bG as MemberSurveyMode, bH as MemberSurveyResponseSummary, bI as MemberSurveyTranscript, bJ as MemberSurveyTranscriptItem, bK as MemberSurveyTranscriptSection, bL as MembersMeResponse, bM as OfferGrantState, bN as Order, bO as OrderItemInput, bP as PaginationParams, bQ as PaymentCallbackPayload, bR as PaymentInitiatePayload, bS as PaymentType, bT as PendingRenewalSurvey, bU as Placeholder, bV as PlaceholderKind, bW as ProductSaleSummary, bX as PromoValidationResponse, bY as PublicCategory, bZ as RegisterAndSubscribePayload, b_ as RegisterPayload, b$ as RenewalStatus, c0 as SUPPORT_ATTACHMENT_MAX_BYTES, c1 as SUPPORT_ATTACHMENT_MIME_TYPES, c2 as SelectDrugPayload, c3 as SendMessagePayload, c4 as SendToPharmacyPayload, c5 as SmsConsentResult, c6 as SmsConsentStatus, c7 as SmsRefusalReason, c8 as SubscriptionPreview, c9 as SubscriptionPreviewLine, ca as SubscriptionPreviewPayload, cb as SupportAttachment, cc as SupportChannel, cd as SupportChannelSettings, ce as SupportMessage, cf as SupportRealtimeToken, cg as SupportThread, ch as SupportThreadCategory, ci as SupportThreadStatus, cj as SurveySubmitPayload, ck as TemplatePlaceholdersMap, cl as TemplateText, cm as TenantFeature, cn as TenantFeatureAccess, co as TokenTrackName, cp as UpdateAffiliatePayload, cq as UpdateAffiliateProgramPayload, cr as UpdatePaymentMethodPayload, cs as UpdateProfilePayload, ct as UpdateProfileResponse, cu as User, cv as UserSmsEvent, cw as UserSmsState, cx as addressesApi, cy as adminAffiliatesApi, cz as adminApi, cA as adminCatalogApi, cB as adminCatalogConversionApi, cC as adminProductPharmaciesApi, cD as affiliateAuthStorageKey, cE as affiliatePortalApi, cF as apexApi, cG as apiFetch, cH as authApi, cI as authStorageKey, cJ as catalogApi, cK as clearAffiliateTokens, cL as clearTokens, cM as getAffiliateTokens, cN as getTokens, cO as membersApi, cP as messagesApi, cQ as newIdempotencyKey, cR as offersApi, cS as onTokensCleared, cT as ordersApi, cU as paymentsApi, cV as productsApi, cW as promoCodesApi, cX as setAffiliateTokens, cY as setTokens, cZ as subscriptionsApi, c_ as supportApi, c$ as usersApi } from '../client-BQ8AEx5S.js';
4
+ export { A as ADMIN_ROLES, a as AddPharmacyBody, b as AddPharmacyDoseMatch, c as AddPharmacyDoseOption, d as AddPharmacyFinding, e as AddPharmacyMatchQuestion, f as AddPharmacyMatchSource, g as AddPharmacyPlan, h as AddPharmacyPrice, i as AddPharmacyResult, j as AddPharmacyStrengthAfter, k as AddPharmacyStrengthBefore, l as AddressVerifyResult, m as AdminApexDrug, n as AdminApexItemStatus, o as AdminBillingAttempt, p as AdminBillingForecast, q as AdminBillingForecastDay, r as AdminCategory, s as AdminCategoryInput, t as AdminCategoryUpdate, u as AdminCustomer, v as AdminCustomerFacts, w as AdminCustomerFunnel, x as AdminCustomerListParams, y as AdminCustomerOverview, z as AdminCustomerProfile, B as AdminCustomerRequest, C as AdminCustomerRow, D as AdminCustomerSupport, E as AdminCustomerSupportThread, F as AdminDashboardStats, G as AdminFillAnchor, H as AdminFillSchedule, I as AdminInviteResult, J as AdminLifecycle, K as AdminLifecycleBucket, L as AdminListParams, M as AdminMe, N as AdminOffer, O as AdminOfferBase, P as AdminOfferGrant, Q as AdminOfferGrantBase, R as AdminOfferInput, S as AdminOrderSummary, T as AdminOrphanReason, U as AdminOrphanedDosePrice, V as AdminPayment, W as AdminPaymentDetail, X as AdminProduct, Y as AdminProductOverlayField, Z as AdminProductPharmacy, _ as AdminProductStrength, $ as AdminPromoCode, a0 as AdminPromoCodeInput, a1 as AdminRecurringPricePoint, a2 as AdminRecurringRevenue, a3 as AdminRefundResult, a4 as AdminRetimeFillBody, a5 as AdminRetimeFillResult, a6 as AdminRetimeSnapshot, a7 as AdminRole, a8 as AdminSale, a9 as AdminSaleInput, aa as AdminScheduledRefund, ab as AdminScheduledRefundProblem, ac as AdminSmsMessage, ad as AdminSmsMessagesParams, ae as AdminSmsNotReadyReason, af as AdminSmsSegmentInfo, ag as AdminSmsSettings, ah as AdminSmsTemplate, ai as AdminSmsTemplateChange, aj as AdminSmsTemplateChanges, ak as AdminSmsTestResult, al as AdminSmsTestStatus, am as AdminSubscription, an as AdminSubscriptionDetail, ao as AdminSubscriptionPatch, ap as AdminSubscriptionWriteResult, aq as AdminSupportCustomer, ar as AdminSupportStats, as as AdminSupportThread, at as AdminTeamInvite, au as AdminTeamMember, av as AdminWebhookEvent, aw as Affiliate, ax as AffiliateAuthTokens, ay as AffiliateClickRecord, az as AffiliateConversion, aA as AffiliateDashboardLinks, aB as AffiliateDashboardProfile, aC as AffiliateDashboardStats, aD as AffiliateDownlineMember, aE as AffiliateEarningsBreakdown, aF as AffiliatePaymentMethod, aG as AffiliateProgram, aH as AffiliateRegisterInput, aI as AffiliateRegisterResponse, aJ as AffiliateSession, aK as AffiliateStatsResponse, aL as AffiliateStatus, aM as AffiliateTrackResponse, aN as ApiError, aO as ApiResponse, aP as AttributionMethod, aQ as AuthTokens, aR as BillingReminderSettings, aS as CatalogAvailabilityItem, aT as CatalogAvailabilityReason, aU as CatalogAvailabilityResult, aV as CatalogClassification, aW as CatalogConversionChoice, aX as CatalogConversionCommitResult, aY as CatalogConversionDose, aZ as CatalogConversionDoseMatch, a_ as CatalogConversionFinding, a$ as CatalogConversionPointers, b0 as CatalogConversionPrepareResult, b1 as CatalogConversionPreview, b2 as CatalogConversionRun, b3 as CatalogConversionSource, b4 as CatalogConversionStage, b5 as CatalogConversionTarget, b6 as CatalogConversionUndoOptions, b7 as CatalogConversionUndoResult, b8 as CatalogDose, b9 as CatalogDoseInput, ba as CatalogDoseModel, bb as CatalogDoseSuggestion, bc as CatalogDoseSuggestions, bd as CatalogEquivalentSuggestions, be as CatalogFulfillment, bf as CatalogFulfillmentInput, bg as CatalogItem, bh as CatalogItemInput, bi as CatalogMappableDrug, bj as CatalogMatrixCell, bk as CatalogProduct, bl as CatalogReadiness, bm as CategoryMetadata, bn as CheckoutAddress, bo as CheckoutPayload, bp as CheckoutResult, bq as CommissionConfig, br as CommissionStatus, bs as CompleteSurveyPayload, bt as CreateAffiliatePayload, bu as CreateAffiliateProgramPayload, bv as CreateOrderPayload, bw as CreateRequestPayload, bx as CreateSubscriptionPayload, by as CustomTemplate, bz as CustomTemplateInput, bA as CustomerDiscountConfig, bB as DeliveryInfo, bC as DiscountType, bD as EmailNotificationSettings, bE as EmailTemplatesMap, bF as LoginPayload, bG as MemberOffer, bH as MemberPrescriptionRequest, bI as MemberSurveyMode, bJ as MemberSurveyResponseSummary, bK as MemberSurveyTranscript, bL as MemberSurveyTranscriptItem, bM as MemberSurveyTranscriptSection, bN as MembersMeResponse, bO as OfferGrantState, bP as Order, bQ as OrderItemInput, bR as PaginationParams, bS as PaymentCallbackPayload, bT as PaymentInitiatePayload, bU as PaymentType, bV as PendingRenewalSurvey, bW as Placeholder, bX as PlaceholderKind, bY as ProductSaleSummary, bZ as PromoValidationResponse, b_ as PublicCategory, b$ as RegisterAndSubscribePayload, c0 as RegisterPayload, c1 as RenewalStatus, c2 as SUPPORT_ATTACHMENT_MAX_BYTES, c3 as SUPPORT_ATTACHMENT_MIME_TYPES, c4 as SelectDrugPayload, c5 as SendMessagePayload, c6 as SendToPharmacyPayload, c7 as SmsConsentResult, c8 as SmsConsentStatus, c9 as SmsRefusalReason, ca as SubscriptionPreview, cb as SubscriptionPreviewLine, cc as SubscriptionPreviewPayload, cd as SupportAttachment, ce as SupportChannel, cf as SupportChannelSettings, cg as SupportMessage, ch as SupportRealtimeToken, ci as SupportThread, cj as SupportThreadCategory, ck as SupportThreadStatus, cl as SurveySubmitPayload, cm as TemplatePlaceholdersMap, cn as TemplateText, co as TenantFeature, cp as TenantFeatureAccess, cq as TokenTrackName, cr as UpdateAffiliatePayload, cs as UpdateAffiliateProgramPayload, ct as UpdatePaymentMethodPayload, cu as UpdateProfilePayload, cv as UpdateProfileResponse, cw as User, cx as UserSmsEvent, cy as UserSmsState, cz as addressesApi, cA as adminAffiliatesApi, cB as adminApi, cC as adminCatalogApi, cD as adminCatalogConversionApi, cE as adminProductPharmaciesApi, cF as affiliateAuthStorageKey, cG as affiliatePortalApi, cH as apexApi, cI as apiFetch, cJ as authApi, cK as authStorageKey, cL as catalogApi, cM as clearAffiliateTokens, cN as clearTokens, cO as getAffiliateTokens, cP as getTokens, cQ as membersApi, cR as messagesApi, cS as newIdempotencyKey, cT as offersApi, cU as onTokensCleared, cV as ordersApi, cW as paymentsApi, cX as productsApi, cY as promoCodesApi, cZ as setAffiliateTokens, c_ as setTokens, c$ as subscriptionsApi, d0 as supportApi, d1 as usersApi } from '../client-C0MG1mOg.js';
5
5
  export { EmbedApiError as ApexV2ApiError, EmbedApiClient, EmbedApiClientOptions, EmbedApiError, EmbedEvent, EmbedEventType, FetchLike, PatientInfo, V2Answer, V2ComposedSurvey, V2DrugResult, V2QualificationResult, V2Question, V2QuestionOption, V2Section, V2Step, V2SubmitResult, V2VisibilityCondition, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '@apextelemed/survey-core';
6
6
  export { SmsConfig, captureAffiliateRef, capturePromoCode, clearAffiliateRef, clearPromoCode, fetchSmsConfig, readAffiliateRef, readPromoCode, resetSmsConfigCache } from '../api/index.js';
7
7
  export { C as CartCaptureConfig, a as CartSnapshotLine, F as FunnelConfig, b as FunnelDraftPayload, R as ResumedCart, c as ResumedCartLine, d as ResumedDraft, e as adoptCartId, f as adoptFunnelSessionId, g as captureAuthHeader, h as cartId, i as fetchCartConfig, j as fetchFunnelConfig, k as fetchResumedCart, l as fetchResumedDraft, m as funnelSessionId, p as peekFunnelSessionId, n as postCartSnapshot, o as postFunnelEvent, r as readCartToken, q as readResumeToken, s as resetCartConfigCache, t as resetCartId, u as resetFunnelConfigCache, v as saveFunnelDraft, w as stripCartToken, x as stripResumeToken } from '../cart-BwUwSzWh.js';
@@ -1,15 +1,15 @@
1
1
  import '../chunk/XZVVZIRZ.js';
2
- export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/22EFLJGO.js';
3
- export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/UM5K75Y4.js';
4
- export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SmsConsentField, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/GSYL4J57.js';
2
+ export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/FZ4LIOG2.js';
3
+ export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/LJAMZMRF.js';
4
+ export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SmsConsentField, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/P6YCW73X.js';
5
5
  export { EmbedApiError2 as ApexV2ApiError, EmbedApiError, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '../chunk/LZWA44KD.js';
6
- export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/XPYBZU45.js';
7
- export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, fetchSmsConfig, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, resetSmsConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/CED3IYWX.js';
6
+ export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/WM5KNUNX.js';
7
+ export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, fetchSmsConfig, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, resetSmsConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/WUVYCWKW.js';
8
8
  export { PrimitivesProvider, usePrimitives } from '../chunk/67KHO66G.js';
9
9
  export { defaultPrimitives } from '../chunk/EXXI5Y7I.js';
10
10
  import '../chunk/NVRAOAVV.js';
11
- export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/BPF2SSKF.js';
12
- export { ADMIN_ROLES, ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, adminCatalogApi, adminCatalogConversionApi, adminProductPharmaciesApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, catalogApi, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, offersApi, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/GYAT2X65.js';
11
+ export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/O2VF7KNG.js';
12
+ export { ADMIN_ROLES, ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, adminCatalogApi, adminCatalogConversionApi, adminProductPharmaciesApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, catalogApi, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, offersApi, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/BTDK3J34.js';
13
13
  export { configure, getConfig } from '../chunk/2IFPDU4D.js';
14
14
  //# sourceMappingURL=index.js.map
15
15
  //# sourceMappingURL=index.js.map
@@ -5,7 +5,7 @@ import {
5
5
  startCartCapture,
6
6
  useSubscriptionIntakeFlow,
7
7
  validateResumedPromo
8
- } from "../chunk/I7L5WVA2.jsx";
8
+ } from "../chunk/ZEQ5TNDM.jsx";
9
9
  import {
10
10
  adoptCartId,
11
11
  capturePromoCode,
@@ -19,7 +19,7 @@ import {
19
19
  resetCartConfigCache,
20
20
  resetCartId,
21
21
  stripCartToken
22
- } from "../chunk/GULO22W6.jsx";
22
+ } from "../chunk/MVWCKLRH.jsx";
23
23
  import {
24
24
  ADMIN_TAB_SEGMENTS,
25
25
  AFFILIATE_SUB_TAB_SEGMENTS,
@@ -49,7 +49,7 @@ import {
49
49
  adminTabPath,
50
50
  affiliateSubTabFromPath,
51
51
  affiliateSubTabPath
52
- } from "../chunk/U5DE7VZP.jsx";
52
+ } from "../chunk/FKEDRIA7.jsx";
53
53
  import {
54
54
  EmbedApiError,
55
55
  EmbedApiError2,
@@ -189,7 +189,7 @@ import {
189
189
  useUpdatePaymentMethodFlow,
190
190
  validateAddress,
191
191
  visibleWarnings
192
- } from "../chunk/FL3DS5WN.jsx";
192
+ } from "../chunk/HEXXZYK4.jsx";
193
193
  import {
194
194
  adoptFunnelSessionId,
195
195
  captureAuthHeader,
@@ -204,7 +204,7 @@ import {
204
204
  resetSmsConfigCache,
205
205
  saveFunnelDraft,
206
206
  stripResumeToken
207
- } from "../chunk/2Q4GK4WD.jsx";
207
+ } from "../chunk/UAZK2UTR.jsx";
208
208
  import {
209
209
  PrimitivesProvider,
210
210
  usePrimitives
@@ -218,7 +218,7 @@ import {
218
218
  auth_default,
219
219
  cart_default,
220
220
  medication_default
221
- } from "../chunk/W5QWCMTE.jsx";
221
+ } from "../chunk/HSBATWVL.jsx";
222
222
  import {
223
223
  ADMIN_ROLES,
224
224
  ApiError,
@@ -258,7 +258,7 @@ import {
258
258
  subscriptionsApi,
259
259
  supportApi,
260
260
  usersApi
261
- } from "../chunk/PWEK34Q4.jsx";
261
+ } from "../chunk/PZ4BRSEK.jsx";
262
262
  import {
263
263
  configure,
264
264
  getConfig
@@ -2,7 +2,7 @@ import * as solid_js from 'solid-js';
2
2
  import { JSX } from 'solid-js';
3
3
  import { U as UseSurveyV2FlowOptions } from '../surveyV2-BgQHK0GE.js';
4
4
  import { V2SubmitResult, PatientInfo, V2DrugResult } from '@apextelemed/survey-core';
5
- import { I as AdminLifecycleBucket, V as AdminProduct } from '../client-BQ8AEx5S.js';
5
+ import { K as AdminLifecycleBucket, X as AdminProduct } from '../client-C0MG1mOg.js';
6
6
  import '@apextelemed/survey-solid';
7
7
 
8
8
  interface SurveyPageProps {
@@ -1,10 +1,10 @@
1
- export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/GSYL4J57.js';
1
+ export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/P6YCW73X.js';
2
2
  import '../chunk/LZWA44KD.js';
3
- import '../chunk/XPYBZU45.js';
4
- import '../chunk/CED3IYWX.js';
3
+ import '../chunk/WM5KNUNX.js';
4
+ import '../chunk/WUVYCWKW.js';
5
5
  import '../chunk/67KHO66G.js';
6
- import '../chunk/BPF2SSKF.js';
7
- import '../chunk/GYAT2X65.js';
6
+ import '../chunk/O2VF7KNG.js';
7
+ import '../chunk/BTDK3J34.js';
8
8
  import '../chunk/2IFPDU4D.js';
9
9
  //# sourceMappingURL=index.js.map
10
10
  //# sourceMappingURL=index.js.map
@@ -25,13 +25,13 @@ import {
25
25
  adminTabPath,
26
26
  affiliateSubTabFromPath,
27
27
  affiliateSubTabPath
28
- } from "../chunk/U5DE7VZP.jsx";
28
+ } from "../chunk/FKEDRIA7.jsx";
29
29
  import "../chunk/UZCST66N.jsx";
30
- import "../chunk/FL3DS5WN.jsx";
31
- import "../chunk/2Q4GK4WD.jsx";
30
+ import "../chunk/HEXXZYK4.jsx";
31
+ import "../chunk/UAZK2UTR.jsx";
32
32
  import "../chunk/J63XPQP4.jsx";
33
- import "../chunk/W5QWCMTE.jsx";
34
- import "../chunk/PWEK34Q4.jsx";
33
+ import "../chunk/HSBATWVL.jsx";
34
+ import "../chunk/PZ4BRSEK.jsx";
35
35
  import "../chunk/QVZ7BRNO.jsx";
36
36
  export {
37
37
  ADMIN_TAB_SEGMENTS,
@@ -1,5 +1,5 @@
1
1
  import * as solid_js from 'solid-js';
2
- import { aO as AuthTokens, cu as User, b_ as RegisterPayload, bZ as RegisterAndSubscribePayload, av as AffiliateAuthTokens, au as Affiliate, aF as AffiliateRegisterInput } from '../client-BQ8AEx5S.js';
2
+ import { aQ as AuthTokens, cw as User, c0 as RegisterPayload, b$ as RegisterAndSubscribePayload, ax as AffiliateAuthTokens, aw as Affiliate, aH as AffiliateRegisterInput } from '../client-C0MG1mOg.js';
3
3
  export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-o6DpAu5y.js';
4
4
 
5
5
  declare const authStore: {
@@ -1,6 +1,6 @@
1
1
  import '../chunk/NVRAOAVV.js';
2
- export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/BPF2SSKF.js';
3
- import '../chunk/GYAT2X65.js';
2
+ export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/O2VF7KNG.js';
3
+ import '../chunk/BTDK3J34.js';
4
4
  import '../chunk/2IFPDU4D.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -4,8 +4,8 @@ import {
4
4
  auth_default,
5
5
  cart_default,
6
6
  medication_default
7
- } from "../chunk/W5QWCMTE.jsx";
8
- import "../chunk/PWEK34Q4.jsx";
7
+ } from "../chunk/HSBATWVL.jsx";
8
+ import "../chunk/PZ4BRSEK.jsx";
9
9
  import "../chunk/QVZ7BRNO.jsx";
10
10
  export {
11
11
  affiliateAuth_default as affiliateAuthStore,
@@ -34,6 +34,9 @@
34
34
  --app-admin-font-body: inherit;
35
35
  --app-admin-font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
36
36
 
37
+ /* Chart bars (one series). */
38
+ --app-admin-chart-1: #2f81f7;
39
+
37
40
  /* Primary accent */
38
41
  --app-admin-primary: #2f81f7;
39
42
  --app-admin-primary-hover: #1f6feb;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apextelemed/partner-core",
3
- "version": "0.19.0-dev.62",
3
+ "version": "0.19.0",
4
4
  "description": "Shared frontend library for telehealth patient portals (api client, stores, headless flows).",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {