@naturalcycles/internal-web-lib 1.3.0 → 1.4.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.
@@ -305,7 +305,7 @@ export interface AnalyticsClientCfg {
305
305
  */
306
306
  localStorageKeyPrefix?: string;
307
307
  /**
308
- * Default `console`.
308
+ * Default `consoleLogger`.
309
309
  */
310
310
  logger?: CommonLogger;
311
311
  /**
@@ -3,6 +3,7 @@ import { ANALYTICS_IDENTIFY_EVENT_NAME, CANONICAL_UTM_PARAMS, truncateAnalyticsP
3
3
  import { _mapToObject } from "@naturalcycles/js-lib/array";
4
4
  import { AppError, _errorDataAppend } from "@naturalcycles/js-lib/error";
5
5
  import { getFetcher } from "@naturalcycles/js-lib/http";
6
+ import { consoleLogger } from "@naturalcycles/js-lib/log";
6
7
  import { nanoidBrowser, nanoidBrowserCustomAlphabet } from "@naturalcycles/js-lib/nanoid";
7
8
  import { _filterNullishValues, _filterObject } from "@naturalcycles/js-lib/object";
8
9
  import { _safeJsonStringify } from "@naturalcycles/js-lib/string";
@@ -52,7 +53,7 @@ var AnalyticsClient = class {
52
53
  persistQueue: true,
53
54
  maxPersistedAge: 864e5,
54
55
  localStorageKeyPrefix,
55
- logger: console,
56
+ logger: consoleLogger,
56
57
  debug: false,
57
58
  ...cfg
58
59
  };
@@ -125,7 +126,7 @@ var AnalyticsClient = class {
125
126
  if (event) this.notifyEventListeners(event);
126
127
  }
127
128
  } catch (err) {
128
- this.cfg.logger.warn("[analytics] could not replay a stubbed call", err);
129
+ this.cfg.logger.warn("[analytics] could not replay a stubbed call", { err });
129
130
  }
130
131
  stub.q.length = 0;
131
132
  }
@@ -148,7 +149,7 @@ var AnalyticsClient = class {
148
149
  for (const listener of this.eventListeners) try {
149
150
  listener(snapshot, distinctId);
150
151
  } catch (err) {
151
- this.cfg.logger.warn("[analytics] onEvent listener threw", err);
152
+ this.cfg.logger.warn("[analytics] onEvent listener threw", { err });
152
153
  }
153
154
  }
154
155
  /**
@@ -178,7 +179,7 @@ var AnalyticsClient = class {
178
179
  },
179
180
  userId: this.identity.getDistinctId()
180
181
  };
181
- if (this.cfg.debug) this.cfg.logger.log(`[analytics] ${event.name}`, event.props);
182
+ if (this.cfg.debug) this.cfg.logger.log(`[analytics] ${event.name}`, { props: event.props });
182
183
  this.queue.push(event);
183
184
  if (this.queue.length > this.cfg.maxQueueSize) {
184
185
  this.queue.shift();
@@ -238,7 +239,7 @@ var AnalyticsClient = class {
238
239
  if (!this.queue.length) return;
239
240
  this.clearFlushTimer();
240
241
  for (const batch of this.prepareBatches()) this.postBatch(batch, true).catch((err) => {
241
- this.cfg.logger.warn("[analytics] lifecycle batch failed to send; retained for retry", err);
242
+ this.cfg.logger.warn("[analytics] lifecycle batch failed to send; retained for retry", { err });
242
243
  });
243
244
  this.scheduleFlush();
244
245
  }
@@ -288,7 +289,7 @@ var AnalyticsClient = class {
288
289
  try {
289
290
  this.cfg.onError(_errorDataAppend(res.err, { firstTouch: true }));
290
291
  } catch (err) {
291
- this.cfg.logger.warn("[analytics] onError hook threw", err);
292
+ this.cfg.logger.warn("[analytics] onError hook threw", { err });
292
293
  }
293
294
  }
294
295
  getDefaultProps() {
@@ -316,7 +317,7 @@ var AnalyticsClient = class {
316
317
  try {
317
318
  res = await this.postBatch(batch, false, AbortSignal.timeout?.(this.cfg.requestTimeout));
318
319
  } catch (err) {
319
- this.cfg.logger.warn("[analytics] batch failed to send, will retry", err);
320
+ this.cfg.logger.warn("[analytics] batch failed to send, will retry", { err });
320
321
  return "retry";
321
322
  }
322
323
  if (res.ok) return "ok";
@@ -333,7 +334,7 @@ var AnalyticsClient = class {
333
334
  eventCount: batch.events.length
334
335
  }));
335
336
  } catch (err) {
336
- this.cfg.logger.warn("[analytics] onError hook threw", err);
337
+ this.cfg.logger.warn("[analytics] onError hook threw", { err });
337
338
  }
338
339
  return "drop";
339
340
  }
@@ -1,2 +1 @@
1
- import { AnalyticsClient, AnalyticsClientError, AnalyticsIdentity, getCookie, setCookie } from "./analyticsClient.js";
2
- export { AnalyticsClient, AnalyticsClientError, AnalyticsIdentity, getCookie, setCookie };
1
+ export { AnalyticsClient, AnalyticsClientError, AnalyticsIdentity, getCookie, setCookie } from "./analyticsClient.js";
@@ -2,8 +2,8 @@ import type { StringMap } from '@naturalcycles/js-lib/types';
2
2
  import type { ClientId, PageViewInput, PurchaseInput } from '@naturalcycles/shared';
3
3
  /**
4
4
  * Client for our Conversions API endpoints (`web/p`, `web/purchase`). Captures ad click ids from
5
- * the URL, stores them in cookies once marketing consent is given and sends them as headers. Calls
6
- * never throw, failures go to `onError`.
5
+ * the URL, stores them in cookies once marketing consent is given and sends them as headers. Nothing
6
+ * is sent without marketing consent. Calls never throw, failures go to `onError`.
7
7
  */
8
8
  export declare class ConversionClient {
9
9
  constructor(cfg: ConversionClientCfg);
@@ -15,6 +15,7 @@ export declare class ConversionClient {
15
15
  init(): void;
16
16
  pageView(input: PageViewInput, opt?: ConversionRequestOptions): void;
17
17
  purchase(input: PurchaseInput, opt?: ConversionRequestOptions): void;
18
+ private hasMarketingConsent;
18
19
  /** Returns null outside the allowed domains or on a path of their exclusion list. */
19
20
  private getAllowedPathname;
20
21
  private send;
@@ -10,8 +10,8 @@ var MAX_CLICK_ID_LENGTH = 200;
10
10
  var MIN_FBCLID_LENGTH = 20;
11
11
  /**
12
12
  * Client for our Conversions API endpoints (`web/p`, `web/purchase`). Captures ad click ids from
13
- * the URL, stores them in cookies once marketing consent is given and sends them as headers. Calls
14
- * never throw, failures go to `onError`.
13
+ * the URL, stores them in cookies once marketing consent is given and sends them as headers. Nothing
14
+ * is sent without marketing consent. Calls never throw, failures go to `onError`.
15
15
  */
16
16
  var ConversionClient = class {
17
17
  constructor(cfg) {
@@ -32,7 +32,7 @@ var ConversionClient = class {
32
32
  this.tryOrReport(() => this.captureClickIds(), void 0);
33
33
  }
34
34
  pageView(input, opt = {}) {
35
- if (!this.cfg.enabled) return;
35
+ if (!this.cfg.enabled || !this.hasMarketingConsent(input)) return;
36
36
  const pathname = this.getAllowedPathname(input.pathname);
37
37
  if (pathname === null) return;
38
38
  runInBackground(this.send("p", {
@@ -41,7 +41,7 @@ var ConversionClient = class {
41
41
  }, opt));
42
42
  }
43
43
  purchase(input, opt = {}) {
44
- if (!this.cfg.enabled) return;
44
+ if (!this.cfg.enabled || !this.hasMarketingConsent(input)) return;
45
45
  const pathname = this.getAllowedPathname(input.pathname);
46
46
  if (pathname === null) return;
47
47
  runInBackground(this.send("purchase", {
@@ -49,6 +49,9 @@ var ConversionClient = class {
49
49
  pathname
50
50
  }, opt));
51
51
  }
52
+ hasMarketingConsent(input) {
53
+ return (input.marketingConsent ?? input.marketingCookie) === true;
54
+ }
52
55
  /** Returns null outside the allowed domains or on a path of their exclusion list. */
53
56
  getAllowedPathname(pathname) {
54
57
  const { href, origin } = globalThis.location;
@@ -1,4 +1,4 @@
1
- import _palette_default from "../../node_modules/.pnpm/@naturalcycles_ncuikit@1.14.0_react@19.3.0_undici@8.11.2/node_modules/@naturalcycles/ncuikit/dist/styles/_palette.js";
1
+ import _palette_default from "../../node_modules/.pnpm/@naturalcycles_ncuikit@1.15.0_react@19.3.0_undici@8.11.2/node_modules/@naturalcycles/ncuikit/dist/styles/_palette.js";
2
2
  import fonts_default from "./fonts.js";
3
3
  import general_default from "./general.js";
4
4
  //#region src/cookie-monster/css/shared-sheets.ts
@@ -0,0 +1,4 @@
1
+ //#region ../../node_modules/.pnpm/@naturalcycles+ncuikit@1.15.0_react@19.3.0_undici@8.11.2/node_modules/@naturalcycles/ncuikit/dist/styles/_palette.css?inline
2
+ var _palette_default = "/**\n * Do not edit directly, this file was auto-generated.\n */\n\n:root {\n --color-purple-200: #f8f2f7;\n --color-purple-300: #edc4e6;\n --color-purple-400: #c377b4;\n --color-purple-500: #72035d;\n --color-purple-600: #560246;\n --color-purple-700: #3c0231;\n --color-purple-1000: #310629;\n --color-lavender-300: #ffcbff;\n --color-lavender-400: #fdabf5;\n --color-lavender-500: #f796ee;\n --color-lavender-600: #f471e8;\n --color-neue-blue-200: #e9f3ff;\n --color-neue-blue-250: #c9e0fd;\n --color-neue-blue-300: #9cbbff;\n --color-neue-blue-400: #709dff;\n --color-neue-blue-500: #3c6df0;\n --color-neue-blue-600: #204cc5;\n --color-neue-blue-700: #2547a7;\n --color-raspberry-300: #febfcf;\n --color-raspberry-400: #ed7f9d;\n --color-raspberry-500: #d71c5a;\n --color-raspberry-600: #c90d4b;\n --color-ink-100: rgba(26, 26, 26, 0.050980392156862744);\n --color-ink-200: rgba(26, 26, 26, 0.10196078431372549);\n --color-ink-300: #dedede;\n --color-ink-400: #a3a3a3;\n --color-ink-500: #757575;\n --color-ink-600: #5f5f5f;\n --color-ink-1000: #1a1a1a;\n --color-sand-50: rgba(252, 248, 248, 0.1607843137254902);\n --color-sand-100: #fcf8f8;\n --color-sand-300: #f8f2f2;\n --color-sand-500: #f3eeee;\n --color-sand-600: #e2d4d4;\n --color-sand-700: #d1c0c0;\n --color-white-100: rgba(255, 255, 255, 0.0784313725490196);\n --color-white-200: rgba(255, 255, 255, 0.1607843137254902);\n --color-white-1000: #ffffff;\n --color-green-50: rgba(243, 248, 236, 0.10196078431372549);\n --color-green-100: #f3f8ec;\n --color-green-300: #a0c95e;\n --color-green-500: #87b738;\n --color-green-600: #658d25;\n --color-red-50: rgba(252, 235, 235, 0.10196078431372549);\n --color-red-100: #fcebeb;\n --color-red-500: #ff7c7c;\n --color-red-600: #d83030;\n --color-orange-50: rgba(255, 244, 230, 0.10196078431372549);\n --color-orange-100: #f6d7b2;\n --color-orange-300: #ffa64d;\n --color-orange-500: #ff9000;\n --color-orange-700: #d16900;\n --color-orange-900: #65291f;\n --color-trackers-mood-100: rgba(255, 223, 92, 0.4);\n --color-trackers-mood-300: #fee996;\n --color-trackers-mood-500: #ffdf5c;\n --color-trackers-mood-600: #e0cb79;\n --color-trackers-pain-100: rgba(255, 154, 117, 0.4);\n --color-trackers-pain-300: #f39ab5;\n --color-trackers-pain-500: #ff9a75;\n --color-trackers-pain-600: #d57e98;\n --color-trackers-pain-700: #ac2e00;\n --color-trackers-lifestyle-100: rgba(166, 209, 166, 0.4);\n --color-trackers-lifestyle-300: #afd6af;\n --color-trackers-lifestyle-500: #a6d1a6;\n --color-trackers-lifestyle-600: #92b892;\n --color-trackers-lifestyle-700: #1a5c41;\n --color-trackers-external-factor-100: rgba(255, 184, 0, 0.4);\n --color-trackers-external-factor-300: #ffbf1a;\n --color-trackers-external-factor-500: #ffb800;\n --color-trackers-external-factor-600: #e0a200;\n --color-trackers-external-factor-700: #915f04;\n --color-trackers-skin-100: rgba(255, 146, 142, 0.4);\n --color-trackers-skin-300: #ff9d99;\n --color-trackers-skin-500: #ff928e;\n --color-trackers-skin-600: #e0807d;\n --color-trackers-skin-700: #b12a25;\n --color-trackers-sex-100: rgba(253, 144, 180, 0.4);\n --color-trackers-sex-300: #fd9bbc;\n --color-trackers-sex-500: #fd90b4;\n --color-trackers-sex-600: #df7f9e;\n --color-trackers-sex-700: #a93059;\n --color-trackers-tracker-500: #620d4e;\n --color-trackers-cervical-mucus-100: rgba(241, 150, 231, 0.4);\n --color-trackers-cervical-mucus-300: #dcb2ea;\n --color-trackers-cervical-mucus-500: #f196e7;\n --color-trackers-cervical-mucus-600: #be95cc;\n --color-trackers-cervical-mucus-700: #8f1f83;\n --color-trackers-bleeding-100: rgba(210, 148, 239, 0.4);\n --color-trackers-bleeding-300: #c48fd8;\n --color-trackers-bleeding-500: #d294ef;\n --color-trackers-bleeding-600: #a673bb;\n --color-trackers-excluded-500: #ff736f;\n --color-trackers-lh-test-100: rgba(141, 190, 255, 0.4);\n --color-trackers-lh-test-300: #98c5ff;\n --color-trackers-lh-test-500: #8dbeff;\n --color-trackers-lh-test-600: #7ca7e0;\n --color-trackers-lh-test-700: #16427b;\n --color-trackers-pregnancy-test-100: rgba(99, 164, 248, 0.4);\n --color-trackers-pregnancy-test-300: #73adf9;\n --color-trackers-pregnancy-test-500: #63a4f8;\n --color-trackers-pregnancy-test-600: #5790da;\n --color-trackers-pregnancy-test-700: #16427b;\n --color-trackers-sensitive-500: #e2d4d4;\n --color-trackers-sleep-100: rgba(171, 177, 210, 0.4);\n --color-trackers-sleep-300: #d1d5e6;\n --color-trackers-sleep-500: #abb1d2;\n --color-trackers-sleep-600: #8c91ad;\n --color-trackers-sleep-700: #4d5478;\n --color-trackers-breastfeeding-100: rgba(255, 205, 211, 0.4);\n --color-trackers-breastfeeding-300: #ffd2d7;\n --color-trackers-breastfeeding-500: #ffcdd3;\n --color-trackers-breastfeeding-600: #e0b4ba;\n --color-trackers-breastfeeding-700: #8f343f;\n --color-trackers-bottle-feeding-100: rgba(114, 214, 196, 0.4);\n --color-trackers-bottle-feeding-300: #80daca;\n --color-trackers-bottle-feeding-500: #72d6c4;\n --color-trackers-bottle-feeding-600: #64bcac;\n --color-trackers-bottle-feeding-700: #005a46;\n --color-trackers-pumping-100: rgba(255, 184, 0, 0.4);\n --color-trackers-pumping-300: #ffbf1a;\n --color-trackers-pumping-500: #ffb800;\n --color-trackers-pumping-600: #e0a200;\n --color-trackers-pumping-700: #915f04;\n --color-pale-purple-300: #512d4a;\n --color-pale-purple-500: #4a2d47;\n --color-pale-purple-700: #411a3a;\n --color-fertility-red-50: rgba(243, 59, 110, 0.5019607843137255); /** Peak Fertility */\n --color-fertility-red-100: #f3b6c7; /** Fertility unlikely */\n --color-fertility-red-200: #f590ad; /** Low Fertility */\n --color-fertility-red-500: #fb7598; /** Use Protection and Medium fertility */\n --color-fertility-red-800: #f15880; /** High Fertility */\n --color-fertility-red-900: #f74577; /** Very High Fertility */\n --color-fertility-red-1000: #f33b6e; /** Peak Fertility */\n --color-fertility-grey-500: #e8d2c6;\n --color-fertility-lavender-100: #f3e6f9;\n --color-fertility-lavender-500: #d294ef;\n --color-fertility-blue-500: #63a4f8;\n --color-fertility-green-600: #3ed08e;\n}\n";
3
+ //#endregion
4
+ export { _palette_default as default };
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "version": "1.3.0",
45
+ "version": "1.4.0",
46
46
  "description": "Internal web libraries for Natural Cycles, served via CDN and published from the NCBackend3 monorepo",
47
47
  "author": "Natural Cycles Team",
48
48
  "license": "UNLICENSED",
@@ -1,4 +0,0 @@
1
- //#region ../../node_modules/.pnpm/@naturalcycles+ncuikit@1.14.0_react@19.3.0_undici@8.11.2/node_modules/@naturalcycles/ncuikit/dist/styles/_palette.css?inline
2
- var _palette_default = "/**\n * Do not edit directly, this file was auto-generated.\n */\n\n:root {\n --color-purple-200: #f8f2f7;\n --color-purple-300: #edc4e6;\n --color-purple-400: #c377b4;\n --color-purple-500: #72035d;\n --color-purple-600: #560246;\n --color-purple-700: #3c0231;\n --color-purple-1000: #310629;\n --color-lavender-300: #ffcbff;\n --color-lavender-400: #fdabf5;\n --color-lavender-500: #f796ee;\n --color-lavender-600: #f471e8;\n --color-neue-blue-200: #e9f3ff;\n --color-neue-blue-250: #c9e0fd;\n --color-neue-blue-300: #9cbbff;\n --color-neue-blue-400: #709dff;\n --color-neue-blue-500: #3c6df0;\n --color-neue-blue-600: #204cc5;\n --color-neue-blue-700: #2547a7;\n --color-raspberry-300: #febfcf;\n --color-raspberry-400: #ed7f9d;\n --color-raspberry-500: #d71c5a;\n --color-raspberry-600: #c90d4b;\n --color-ink-100: rgba(26, 26, 26, 0.05);\n --color-ink-200: rgba(26, 26, 26, 0.1);\n --color-ink-300: #dedede;\n --color-ink-400: #a3a3a3;\n --color-ink-500: #757575;\n --color-ink-600: #5f5f5f;\n --color-ink-1000: #1a1a1a;\n --color-sand-50: rgba(252, 248, 248, 0.16);\n --color-sand-100: #fcf8f8;\n --color-sand-300: #f8f2f2;\n --color-sand-500: #f3eeee;\n --color-sand-600: #e2d4d4;\n --color-sand-700: #d1c0c0;\n --color-white-100: rgba(255, 255, 255, 0.08);\n --color-white-200: rgba(255, 255, 255, 0.16);\n --color-white-1000: #ffffff;\n --color-green-50: rgba(243, 248, 236, 0.1);\n --color-green-100: #f3f8ec;\n --color-green-300: #a0c95e;\n --color-green-500: #87b738;\n --color-green-600: #658d25;\n --color-red-50: rgba(252, 235, 235, 0.1);\n --color-red-100: #fcebeb;\n --color-red-500: #ff7c7c;\n --color-red-600: #d83030;\n --color-orange-50: rgba(255, 244, 230, 0.1);\n --color-orange-100: #f6d7b2;\n --color-orange-300: #ffa64d;\n --color-orange-500: #ff9000;\n --color-orange-700: #d16900;\n --color-orange-900: #65291f;\n --color-trackers-mood-100: rgba(255, 223, 92, 0.4);\n --color-trackers-mood-300: #fee996;\n --color-trackers-mood-500: #ffdf5c;\n --color-trackers-mood-600: #e0cb79;\n --color-trackers-pain-100: rgba(255, 154, 117, 0.4);\n --color-trackers-pain-300: #f39ab5;\n --color-trackers-pain-500: #ff9a75;\n --color-trackers-pain-600: #d57e98;\n --color-trackers-pain-700: #ac2e00;\n --color-trackers-lifestyle-100: rgba(166, 209, 166, 0.4);\n --color-trackers-lifestyle-300: #afd6af;\n --color-trackers-lifestyle-500: #a6d1a6;\n --color-trackers-lifestyle-600: #92b892;\n --color-trackers-lifestyle-700: #1a5c41;\n --color-trackers-external-factor-100: rgba(255, 184, 0, 0.4);\n --color-trackers-external-factor-300: #ffbf1a;\n --color-trackers-external-factor-500: #ffb800;\n --color-trackers-external-factor-600: #e0a200;\n --color-trackers-external-factor-700: #915f04;\n --color-trackers-skin-100: rgba(255, 146, 142, 0.4);\n --color-trackers-skin-300: #ff9d99;\n --color-trackers-skin-500: #ff928e;\n --color-trackers-skin-600: #e0807d;\n --color-trackers-skin-700: #b12a25;\n --color-trackers-sex-100: rgba(253, 144, 180, 0.4);\n --color-trackers-sex-300: #fd9bbc;\n --color-trackers-sex-500: #fd90b4;\n --color-trackers-sex-600: #df7f9e;\n --color-trackers-sex-700: #a93059;\n --color-trackers-tracker-500: #620d4e;\n --color-trackers-cervical-mucus-100: rgba(241, 150, 231, 0.4);\n --color-trackers-cervical-mucus-300: #dcb2ea;\n --color-trackers-cervical-mucus-500: #f196e7;\n --color-trackers-cervical-mucus-600: #be95cc;\n --color-trackers-cervical-mucus-700: #8f1f83;\n --color-trackers-bleeding-100: rgba(210, 148, 239, 0.4);\n --color-trackers-bleeding-300: #c48fd8;\n --color-trackers-bleeding-500: #d294ef;\n --color-trackers-bleeding-600: #a673bb;\n --color-trackers-excluded-500: #ff736f;\n --color-trackers-lh-test-100: rgba(141, 190, 255, 0.4);\n --color-trackers-lh-test-300: #98c5ff;\n --color-trackers-lh-test-500: #8dbeff;\n --color-trackers-lh-test-600: #7ca7e0;\n --color-trackers-lh-test-700: #16427b;\n --color-trackers-pregnancy-test-100: rgba(99, 164, 248, 0.4);\n --color-trackers-pregnancy-test-300: #73adf9;\n --color-trackers-pregnancy-test-500: #63a4f8;\n --color-trackers-pregnancy-test-600: #5790da;\n --color-trackers-pregnancy-test-700: #16427b;\n --color-trackers-sensitive-500: #e2d4d4;\n --color-trackers-sleep-100: rgba(171, 177, 210, 0.4);\n --color-trackers-sleep-300: #d1d5e6;\n --color-trackers-sleep-500: #abb1d2;\n --color-trackers-sleep-600: #8c91ad;\n --color-trackers-sleep-700: #4d5478;\n --color-trackers-breastfeeding-100: rgba(255, 205, 211, 0.4);\n --color-trackers-breastfeeding-300: #ffd2d7;\n --color-trackers-breastfeeding-500: #ffcdd3;\n --color-trackers-breastfeeding-600: #e0b4ba;\n --color-trackers-breastfeeding-700: #8f343f;\n --color-trackers-bottle-feeding-100: rgba(114, 214, 196, 0.4);\n --color-trackers-bottle-feeding-300: #80daca;\n --color-trackers-bottle-feeding-500: #72d6c4;\n --color-trackers-bottle-feeding-600: #64bcac;\n --color-trackers-bottle-feeding-700: #005a46;\n --color-trackers-pumping-100: rgba(255, 184, 0, 0.4);\n --color-trackers-pumping-300: #ffbf1a;\n --color-trackers-pumping-500: #ffb800;\n --color-trackers-pumping-600: #e0a200;\n --color-trackers-pumping-700: #915f04;\n --color-pale-purple-300: #512d4a;\n --color-pale-purple-500: #4a2d47;\n --color-pale-purple-700: #411a3a;\n --color-fertility-red-50: rgba(243, 59, 110, 0.5); /** Peak Fertility */\n --color-fertility-red-100: #f3b6c7; /** Fertility unlikely */\n --color-fertility-red-200: #f590ad; /** Low Fertility */\n --color-fertility-red-500: #fb7598; /** Use Protection and Medium fertility */\n --color-fertility-red-800: #f15880; /** High Fertility */\n --color-fertility-red-900: #f74577; /** Very High Fertility */\n --color-fertility-red-1000: #f33b6e; /** Peak Fertility */\n --color-fertility-grey-500: #e8d2c6;\n --color-fertility-lavender-100: #f3e6f9;\n --color-fertility-lavender-500: #d294ef;\n --color-fertility-blue-500: #63a4f8;\n --color-fertility-green-600: #3ed08e;\n}\n";
3
- //#endregion
4
- export { _palette_default as default };