@transferwise/components 46.137.1 → 46.138.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.
@@ -16,6 +16,8 @@
16
16
  "neptune.DateLookup.selected": "вибрано",
17
17
  "neptune.DateLookup.twentyYears": "20 років",
18
18
  "neptune.DateLookup.year": "рік",
19
+ "neptune.Expander.collapseAriaLabel": "Згорнути",
20
+ "neptune.Expander.expandAriaLabel": "Розгорнути",
19
21
  "neptune.ExpressiveMoneyInput.currency.search.placeholder": "Вкажіть валюту / країну",
20
22
  "neptune.ExpressiveMoneyInput.currency.select.currency": "Виберіть валюту",
21
23
  "neptune.FlowNavigation.back": "назад до попереднього кроку",
@@ -20,6 +20,8 @@ var uk = {
20
20
  "neptune.DateLookup.selected": "вибрано",
21
21
  "neptune.DateLookup.twentyYears": "20 років",
22
22
  "neptune.DateLookup.year": "рік",
23
+ "neptune.Expander.collapseAriaLabel": "Згорнути",
24
+ "neptune.Expander.expandAriaLabel": "Розгорнути",
23
25
  "neptune.ExpressiveMoneyInput.currency.search.placeholder": "Вкажіть валюту / країну",
24
26
  "neptune.ExpressiveMoneyInput.currency.select.currency": "Виберіть валюту",
25
27
  "neptune.FlowNavigation.back": "назад до попереднього кроку",
@@ -1 +1 @@
1
- {"version":3,"file":"uk.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"uk.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -16,6 +16,8 @@ var uk = {
16
16
  "neptune.DateLookup.selected": "вибрано",
17
17
  "neptune.DateLookup.twentyYears": "20 років",
18
18
  "neptune.DateLookup.year": "рік",
19
+ "neptune.Expander.collapseAriaLabel": "Згорнути",
20
+ "neptune.Expander.expandAriaLabel": "Розгорнути",
19
21
  "neptune.ExpressiveMoneyInput.currency.search.placeholder": "Вкажіть валюту / країну",
20
22
  "neptune.ExpressiveMoneyInput.currency.select.currency": "Виберіть валюту",
21
23
  "neptune.FlowNavigation.back": "назад до попереднього кроку",
@@ -1 +1 @@
1
- {"version":3,"file":"uk.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"uk.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -73,16 +73,18 @@ function Logo({
73
73
  type = 'WISE',
74
74
  format = 'default',
75
75
  display = 'responsive',
76
+ size = 24,
76
77
  'aria-label': ariaLabel
77
78
  }) {
78
79
  const isScreenSm = !useScreenSize.useScreenSize(breakpoint.Breakpoint.SMALL);
79
80
  const compact = display === 'compact' || display === 'responsive' && isScreenSm;
80
81
  const assetName = compact ? 'FastFlag' : getAssetName(type, format);
81
82
  const Asset = logoAssets[assetName];
83
+ const sizes = logoAssets$1.logoAssetsDimensions[assetName];
82
84
  const {
83
85
  width,
84
86
  height
85
- } = logoAssets$1.logoAssetsDimensions[assetName];
87
+ } = logoAssets$1.logoAssetsDimensions[assetName][Number(size)] ?? sizes[24];
86
88
  return /*#__PURE__*/jsxRuntime.jsx("span", {
87
89
  className: clsx.clsx('np-logo', className),
88
90
  role: "img",
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.js","sources":["../../src/logo/Logo.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport {\n WiseLogo,\n WiseBusinessPrimary,\n WiseBusinessSecondary,\n WisePlatformPrimary,\n WisePlatformSecondary,\n FastFlag,\n logoAssetsDimensions,\n} from './logo-assets';\nimport type { LogoAssetName } from './logo-assets';\nimport { Breakpoint } from '../common';\nimport { useScreenSize } from '../common/hooks/useScreenSize';\nimport { AriaAttributes } from 'react';\n\nexport enum LogoType {\n WISE = 'WISE',\n WISE_BUSINESS = 'WISE_BUSINESS',\n WISE_PLATFORM = 'WISE_PLATFORM',\n}\n\nexport enum LogoDisplay {\n RESPONSIVE = 'responsive',\n COMPACT = 'compact',\n FULL = 'full',\n}\n\nexport enum LogoFormat {\n DEFAULT = 'default',\n PRIMARY_LOCKUP = 'primary-lockup',\n SECONDARY_LOCKUP = 'secondary-lockup',\n}\n\nexport interface LogoProps {\n /** Extra classes applied to Logo */\n className?: string;\n /**\n * Renders a light-coloured version suited for dark backgrounds.\n * @default false\n * @deprecated dark mode comes out of the box, this property has no effect\n */\n inverse?: boolean;\n /**\n * What type of logo to display\n * @default 'WISE'\n */\n type?: `${LogoType}`;\n /**\n * Controls which logo variant is shown.\n * - `\"responsive\"` (default): full wordmark on large screens, fast-flag mark on small screens (<600 px).\n * - `\"compact\"`: always renders the fast-flag mark regardless of screen size.\n * - `\"full\"`: always renders the full wordmark/lockup regardless of screen size.\n * @default 'responsive'\n */\n display?: `${LogoDisplay}`;\n /**\n * Controls the format of the logo.\n * - `\"default\"`: plain Wise wordmark, no product name.\n * - `\"primary-lockup\"`: product name shown inline alongside the wordmark.\n * - `\"secondary-lockup\"`: stacked (two-line) variant with the product name.\n * @default 'default'\n */\n format?: `${LogoFormat}`;\n /**\n * Override default ({@link labelByType}) screen reader messages\n */\n 'aria-label'?: AriaAttributes['aria-label'];\n}\n\nconst labelByType = {\n WISE: 'Wise',\n WISE_BUSINESS: 'Wise Business',\n WISE_PLATFORM: 'Wise Platform',\n} satisfies Record<`${LogoType}`, string>;\n\nconst logoAssets: Record<LogoAssetName, () => JSX.Element> = {\n FastFlag,\n WiseLogo,\n WiseBusinessPrimary,\n WiseBusinessSecondary,\n WisePlatformPrimary,\n WisePlatformSecondary,\n};\n\n/**\n * Renders the Wise wordmark logo. Responsive — shows the flag-only mark on small viewports\n * and the full wordmark on ≥576px (small breakpoint and above).\n *\n * @see {@link https://wise.design/foundations/logo Design Spec}\n */\nexport default function Logo({\n className,\n type = 'WISE',\n format = 'default',\n display = 'responsive',\n 'aria-label': ariaLabel,\n}: LogoProps) {\n const isScreenSm = !useScreenSize(Breakpoint.SMALL);\n const compact = display === 'compact' || (display === 'responsive' && isScreenSm);\n\n const assetName = compact ? 'FastFlag' : getAssetName(type, format);\n const Asset = logoAssets[assetName];\n const { width, height } = logoAssetsDimensions[assetName];\n\n return (\n <span\n className={clsx('np-logo', className)}\n role=\"img\"\n aria-label={ariaLabel ?? labelByType[type]}\n style={\n {\n '--wds-logo-width': `${width}px`,\n '--wds-logo-height': `${height}px`,\n } as React.CSSProperties\n }\n >\n <Asset />\n </span>\n );\n}\n\nfunction getAssetName(type: `${LogoType}`, format: `${LogoFormat}`): LogoAssetName {\n if (format !== 'default') {\n if (type === 'WISE_BUSINESS') {\n return format === 'secondary-lockup' ? 'WiseBusinessSecondary' : 'WiseBusinessPrimary';\n }\n if (type === 'WISE_PLATFORM') {\n return format === 'secondary-lockup' ? 'WisePlatformSecondary' : 'WisePlatformPrimary';\n }\n }\n return 'WiseLogo';\n}\n"],"names":["LogoType","LogoDisplay","LogoFormat","labelByType","WISE","WISE_BUSINESS","WISE_PLATFORM","logoAssets","FastFlag","WiseLogo","WiseBusinessPrimary","WiseBusinessSecondary","WisePlatformPrimary","WisePlatformSecondary","Logo","className","type","format","display","ariaLabel","isScreenSm","useScreenSize","Breakpoint","SMALL","compact","assetName","getAssetName","Asset","width","height","logoAssetsDimensions","_jsx","clsx","role","style","children"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBYA;AAAZ,CAAA,UAAYA,QAAQ,EAAA;AAClBA,EAAAA,QAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AAC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AAO,KAAK,SAAS,IAAKA,OAAO,KAAK,YAAY,IAAIE,UAAW;EAEjF,MAAMK,SAAS,GAAGD,OAAO,GAAG,UAAU,GAAGE,YAAY,CAACV,IAAI,EAAEC,MAAM,CAAC;AACnE,EAAA,MAAMU,KAAK,GAAGpB,UAAU,CAACkB,SAAS,CAAC;EACnC,MAAM;IAAEG,KAAK;AAAEC,IAAAA;AAAM,GAAE,GAAGC,iCAAoB,CAACL,SAAS,CAAC;AAEzD,EAAA,oBACEM,cAAA,CAAA,MAAA,EAAA;AACEhB,IAAAA,SAAS,EAAEiB,SAAI,CAAC,SAAS,EAAEjB,SAAS,CAAE;AACtCkB,IAAAA,IAAI,EAAC,KAAK;AACV,IAAA,YAAA,EAAYd,SAAS,IAAIhB,WAAW,CAACa,IAAI,CAAE;AAC3CkB,IAAAA,KAAK,EACH;MACE,kBAAkB,EAAE,CAAA,EAAGN,KAAK,CAAA,EAAA,CAAI;MAChC,mBAAmB,EAAE,GAAGC,MAAM,CAAA,EAAA;KAEjC;AAAAM,IAAAA,QAAA,eAEDJ,cAAA,CAACJ,KAAK,EAAA,EAAA;AACR,GAAM,CAAC;AAEX;AAEA,SAASD,YAAYA,CAACV,IAAmB,EAAEC,MAAuB,EAAA;EAChE,IAAIA,MAAM,KAAK,SAAS,EAAE;IACxB,IAAID,IAAI,KAAK,eAAe,EAAE;AAC5B,MAAA,OAAOC,MAAM,KAAK,kBAAkB,GAAG,uBAAuB,GAAG,qBAAqB;AACxF,IAAA;IACA,IAAID,IAAI,KAAK,eAAe,EAAE;AAC5B,MAAA,OAAOC,MAAM,KAAK,kBAAkB,GAAG,uBAAuB,GAAG,qBAAqB;AACxF,IAAA;AACF,EAAA;AACA,EAAA,OAAO,UAAU;AACnB;;;;"}
1
+ {"version":3,"file":"Logo.js","sources":["../../src/logo/Logo.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport {\n WiseLogo,\n WiseBusinessPrimary,\n WiseBusinessSecondary,\n WisePlatformPrimary,\n WisePlatformSecondary,\n FastFlag,\n logoAssetsDimensions,\n} from './logo-assets';\nimport type { LogoAssetName } from './logo-assets';\nimport { Breakpoint } from '../common';\nimport { useScreenSize } from '../common/hooks/useScreenSize';\nimport { AriaAttributes } from 'react';\n\nexport enum LogoType {\n WISE = 'WISE',\n WISE_BUSINESS = 'WISE_BUSINESS',\n WISE_PLATFORM = 'WISE_PLATFORM',\n}\n\nexport enum LogoDisplay {\n RESPONSIVE = 'responsive',\n COMPACT = 'compact',\n FULL = 'full',\n}\n\nexport enum LogoFormat {\n DEFAULT = 'default',\n PRIMARY_LOCKUP = 'primary-lockup',\n SECONDARY_LOCKUP = 'secondary-lockup',\n}\n\nexport type LogoSize = 16 | 18 | 20 | 24 | 28 | 36 | '16' | '18' | '20' | '24' | '28' | '36';\n\nexport interface LogoProps {\n /** Extra classes applied to Logo */\n className?: string;\n /**\n * Renders a light-coloured version suited for dark backgrounds.\n * @default false\n * @deprecated dark mode comes out of the box, this property has no effect\n */\n inverse?: boolean;\n /**\n * What type of logo to display\n * @default 'WISE'\n */\n type?: `${LogoType}`;\n /**\n * Controls which logo variant is shown.\n * - `\"responsive\"` (default): full wordmark on large screens, fast-flag mark on small screens (<600 px).\n * - `\"compact\"`: always renders the fast-flag mark regardless of screen size.\n * - `\"full\"`: always renders the full wordmark/lockup regardless of screen size.\n * @default 'responsive'\n */\n display?: `${LogoDisplay}`;\n /**\n * Controls the format of the logo.\n * - `\"default\"`: plain Wise wordmark, no product name.\n * - `\"primary-lockup\"`: product name shown inline alongside the wordmark.\n * - `\"secondary-lockup\"`: stacked (two-line) variant with the product name.\n * @default 'default'\n */\n format?: `${LogoFormat}`;\n /**\n * Controls the height and width of the logo in pixels.\n * @default 24\n */\n size?: LogoSize;\n /**\n * Override default ({@link labelByType}) screen reader messages\n */\n 'aria-label'?: AriaAttributes['aria-label'];\n}\n\nconst labelByType = {\n WISE: 'Wise',\n WISE_BUSINESS: 'Wise Business',\n WISE_PLATFORM: 'Wise Platform',\n} satisfies Record<`${LogoType}`, string>;\n\nconst logoAssets: Record<LogoAssetName, () => JSX.Element> = {\n FastFlag,\n WiseLogo,\n WiseBusinessPrimary,\n WiseBusinessSecondary,\n WisePlatformPrimary,\n WisePlatformSecondary,\n};\n\n/**\n * Renders the Wise wordmark logo. Responsive — shows the flag-only mark on small viewports\n * and the full wordmark on ≥576px (small breakpoint and above).\n *\n * @see {@link https://wise.design/foundations/logo Design Spec}\n */\nexport default function Logo({\n className,\n type = 'WISE',\n format = 'default',\n display = 'responsive',\n size = 24,\n 'aria-label': ariaLabel,\n}: LogoProps) {\n const isScreenSm = !useScreenSize(Breakpoint.SMALL);\n const compact = display === 'compact' || (display === 'responsive' && isScreenSm);\n\n const assetName = compact ? 'FastFlag' : getAssetName(type, format);\n const Asset = logoAssets[assetName];\n const sizes = logoAssetsDimensions[assetName];\n const { width, height } =\n logoAssetsDimensions[assetName][Number(size) as keyof typeof sizes] ?? sizes[24];\n\n return (\n <span\n className={clsx('np-logo', className)}\n role=\"img\"\n aria-label={ariaLabel ?? labelByType[type]}\n style={\n {\n '--wds-logo-width': `${width}px`,\n '--wds-logo-height': `${height}px`,\n } as React.CSSProperties\n }\n >\n <Asset />\n </span>\n );\n}\n\nfunction getAssetName(type: `${LogoType}`, format: `${LogoFormat}`): LogoAssetName {\n if (format !== 'default') {\n if (type === 'WISE_BUSINESS') {\n return format === 'secondary-lockup' ? 'WiseBusinessSecondary' : 'WiseBusinessPrimary';\n }\n if (type === 'WISE_PLATFORM') {\n return format === 'secondary-lockup' ? 'WisePlatformSecondary' : 'WisePlatformPrimary';\n }\n }\n return 'WiseLogo';\n}\n"],"names":["LogoType","LogoDisplay","LogoFormat","labelByType","WISE","WISE_BUSINESS","WISE_PLATFORM","logoAssets","FastFlag","WiseLogo","WiseBusinessPrimary","WiseBusinessSecondary","WisePlatformPrimary","WisePlatformSecondary","Logo","className","type","format","display","size","ariaLabel","isScreenSm","useScreenSize","Breakpoint","SMALL","compact","assetName","getAss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AkB,GAAG,uBAAuB,GAAG,qBAAqB;AACxF,IAAA;IACA,IAAID,IAAI,KAAK,eAAe,EAAE;AAC5B,MAAA,OAAOC,MAAM,KAAK,kBAAkB,GAAG,uBAAuB,GAAG,qBAAqB;AACxF,IAAA;AACF,EAAA;AACA,EAAA,OAAO,UAAU;AACnB;;;;"}
@@ -69,16 +69,18 @@ function Logo({
69
69
  type = 'WISE',
70
70
  format = 'default',
71
71
  display = 'responsive',
72
+ size = 24,
72
73
  'aria-label': ariaLabel
73
74
  }) {
74
75
  const isScreenSm = !useScreenSize(Breakpoint.SMALL);
75
76
  const compact = display === 'compact' || display === 'responsive' && isScreenSm;
76
77
  const assetName = compact ? 'FastFlag' : getAssetName(type, format);
77
78
  const Asset = logoAssets[assetName];
79
+ const sizes = logoAssetsDimensions[assetName];
78
80
  const {
79
81
  width,
80
82
  height
81
- } = logoAssetsDimensions[assetName];
83
+ } = logoAssetsDimensions[assetName][Number(size)] ?? sizes[24];
82
84
  return /*#__PURE__*/jsx("span", {
83
85
  className: clsx('np-logo', className),
84
86
  role: "img",
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.mjs","sources":["../../src/logo/Logo.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport {\n WiseLogo,\n WiseBusinessPrimary,\n WiseBusinessSecondary,\n WisePlatformPrimary,\n WisePlatformSecondary,\n FastFlag,\n logoAssetsDimensions,\n} from './logo-assets';\nimport type { LogoAssetName } from './logo-assets';\nimport { Breakpoint } from '../common';\nimport { useScreenSize } from '../common/hooks/useScreenSize';\nimport { AriaAttributes } from 'react';\n\nexport enum LogoType {\n WISE = 'WISE',\n WISE_BUSINESS = 'WISE_BUSINESS',\n WISE_PLATFORM = 'WISE_PLATFORM',\n}\n\nexport enum LogoDisplay {\n RESPONSIVE = 'responsive',\n COMPACT = 'compact',\n FULL = 'full',\n}\n\nexport enum LogoFormat {\n DEFAULT = 'default',\n PRIMARY_LOCKUP = 'primary-lockup',\n SECONDARY_LOCKUP = 'secondary-lockup',\n}\n\nexport interface LogoProps {\n /** Extra classes applied to Logo */\n className?: string;\n /**\n * Renders a light-coloured version suited for dark backgrounds.\n * @default false\n * @deprecated dark mode comes out of the box, this property has no effect\n */\n inverse?: boolean;\n /**\n * What type of logo to display\n * @default 'WISE'\n */\n type?: `${LogoType}`;\n /**\n * Controls which logo variant is shown.\n * - `\"responsive\"` (default): full wordmark on large screens, fast-flag mark on small screens (<600 px).\n * - `\"compact\"`: always renders the fast-flag mark regardless of screen size.\n * - `\"full\"`: always renders the full wordmark/lockup regardless of screen size.\n * @default 'responsive'\n */\n display?: `${LogoDisplay}`;\n /**\n * Controls the format of the logo.\n * - `\"default\"`: plain Wise wordmark, no product name.\n * - `\"primary-lockup\"`: product name shown inline alongside the wordmark.\n * - `\"secondary-lockup\"`: stacked (two-line) variant with the product name.\n * @default 'default'\n */\n format?: `${LogoFormat}`;\n /**\n * Override default ({@link labelByType}) screen reader messages\n */\n 'aria-label'?: AriaAttributes['aria-label'];\n}\n\nconst labelByType = {\n WISE: 'Wise',\n WISE_BUSINESS: 'Wise Business',\n WISE_PLATFORM: 'Wise Platform',\n} satisfies Record<`${LogoType}`, string>;\n\nconst logoAssets: Record<LogoAssetName, () => JSX.Element> = {\n FastFlag,\n WiseLogo,\n WiseBusinessPrimary,\n WiseBusinessSecondary,\n WisePlatformPrimary,\n WisePlatformSecondary,\n};\n\n/**\n * Renders the Wise wordmark logo. Responsive — shows the flag-only mark on small viewports\n * and the full wordmark on ≥576px (small breakpoint and above).\n *\n * @see {@link https://wise.design/foundations/logo Design Spec}\n */\nexport default function Logo({\n className,\n type = 'WISE',\n format = 'default',\n display = 'responsive',\n 'aria-label': ariaLabel,\n}: LogoProps) {\n const isScreenSm = !useScreenSize(Breakpoint.SMALL);\n const compact = display === 'compact' || (display === 'responsive' && isScreenSm);\n\n const assetName = compact ? 'FastFlag' : getAssetName(type, format);\n const Asset = logoAssets[assetName];\n const { width, height } = logoAssetsDimensions[assetName];\n\n return (\n <span\n className={clsx('np-logo', className)}\n role=\"img\"\n aria-label={ariaLabel ?? labelByType[type]}\n style={\n {\n '--wds-logo-width': `${width}px`,\n '--wds-logo-height': `${height}px`,\n } as React.CSSProperties\n }\n >\n <Asset />\n </span>\n );\n}\n\nfunction getAssetName(type: `${LogoType}`, format: `${LogoFormat}`): LogoAssetName {\n if (format !== 'default') {\n if (type === 'WISE_BUSINESS') {\n return format === 'secondary-lockup' ? 'WiseBusinessSecondary' : 'WiseBusinessPrimary';\n }\n if (type === 'WISE_PLATFORM') {\n return format === 'secondary-lockup' ? 'WisePlatformSecondary' : 'WisePlatformPrimary';\n }\n }\n return 'WiseLogo';\n}\n"],"names":["LogoType","LogoDisplay","LogoFormat","labelByType","WISE","WISE_BUSINESS","WISE_PLATFORM","logoAssets","FastFlag","WiseLogo","WiseBusinessPrimary","WiseBusinessSecondary","WisePlatformPrimary","WisePlatformSecondary","Logo","className","type","format","display","ariaLabel","isScreenSm","useScreenSize","Breakpoint","SMALL","compact","assetName","getAssetName","Asset","width","height","logoAssetsDimensions","_jsx","clsx","role","style","children"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgBYA;AAAZ,CAAA,UAAYA,QAAQ,EAAA;AAClBA,EAAAA,QAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACbA,EAAAA,QAAA,CAAA,eAAA,CAAA,GAAA,eAA+B;AAC/BA,EAAAA,QAAA,CAAA,eAAA,CAAA,GAAA,eAA+B;AACjC,CAAC,EAJWA,QAAQ,KAARA,QAAQ,GAAA,EAAA,CAAA,CAAA;IAMRC;AAAZ,CAAA,UAAYA,WAAW,EAAA;AACrBA,EAAAA,WAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AACzBA,EAAAA,WAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnBA,EAAAA,WAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACf,CAAC,EAJWA,WAAW,KAAXA,WAAW,GAAA,EAAA,CAAA,CAAA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AACV,IAAA,YAAA,EAAYd,SAAS,IAAIhB,WAAW,CAACa,IAAI,CAAE;AAC3CkB,IAAAA,KAAK,EACH;MACE,kBAAkB,EAAE,CAAA,EAAGN,KAAK,CAAA,EAAA,CAAI;MAChC,mBAAmB,EAAE,GAAGC,MAAM,CAAA,EAAA;KAEjC;AAAAM,IAAAA,QAAA,eAEDJ,GAAA,CAACJ,KAAK,EAAA,EAAA;AACR,GAAM,CAAC;AAEX;AAEA,SAASD,YAAYA,CAACV,IAAmB,EAAEC,MAAuB,EAAA;EAChE,IAAIA,MAAM,KAAK,SAAS,EAAE;IACxB,IAAID,IAAI,KAAK,eAAe,EAAE;AAC5B,MAAA,OAAOC,MAAM,KAAK,kBAAkB,GAAG,uBAAuB,GAAG,qBAAqB;AACxF,IAAA;IACA,IAAID,IAAI,KAAK,eAAe,EAAE;AAC5B,MAAA,OAAOC,MAAM,KAAK,kBAAkB,GAAG,uBAAuB,GAAG,qBAAqB;AACxF,IAAA;AACF,EAAA;AACA,EAAA,OAAO,UAAU;AACnB;;;;"}
1
+ {"version":3,"file":"Logo.mjs","sources":["../../src/logo/Logo.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport {\n WiseLogo,\n WiseBusinessPrimary,\n WiseBusinessSecondary,\n WisePlatformPrimary,\n WisePlatformSecondary,\n FastFlag,\n logoAssetsDimensions,\n} from './logo-assets';\nimport type { LogoAssetName } from './logo-assets';\nimport { Breakpoint } from '../common';\nimport { useScreenSize } from '../common/hooks/useScreenSize';\nimport { AriaAttributes } from 'react';\n\nexport enum LogoType {\n WISE = 'WISE',\n WISE_BUSINESS = 'WISE_BUSINESS',\n WISE_PLATFORM = 'WISE_PLATFORM',\n}\n\nexport enum LogoDisplay {\n RESPONSIVE = 'responsive',\n COMPACT = 'compact',\n FULL = 'full',\n}\n\nexport enum LogoFormat {\n DEFAULT = 'default',\n PRIMARY_LOCKUP = 'primary-lockup',\n SECONDARY_LOCKUP = 'secondary-lockup',\n}\n\nexport type LogoSize = 16 | 18 | 20 | 24 | 28 | 36 | '16' | '18' | '20' | '24' | '28' | '36';\n\nexport interface LogoProps {\n /** Extra classes applied to Logo */\n className?: string;\n /**\n * Renders a light-coloured version suited for dark backgrounds.\n * @default false\n * @deprecated dark mode comes out of the box, this property has no effect\n */\n inverse?: boolean;\n /**\n * What type of logo to display\n * @default 'WISE'\n */\n type?: `${LogoType}`;\n /**\n * Controls which logo variant is shown.\n * - `\"responsive\"` (default): full wordmark on large screens, fast-flag mark on small screens (<600 px).\n * - `\"compact\"`: always renders the fast-flag mark regardless of screen size.\n * - `\"full\"`: always renders the full wordmark/lockup regardless of screen size.\n * @default 'responsive'\n */\n display?: `${LogoDisplay}`;\n /**\n * Controls the format of the logo.\n * - `\"default\"`: plain Wise wordmark, no product name.\n * - `\"primary-lockup\"`: product name shown inline alongside the wordmark.\n * - `\"secondary-lockup\"`: stacked (two-line) variant with the product name.\n * @default 'default'\n */\n format?: `${LogoFormat}`;\n /**\n * Controls the height and width of the logo in pixels.\n * @default 24\n */\n size?: LogoSize;\n /**\n * Override default ({@link labelByType}) screen reader messages\n */\n 'aria-label'?: AriaAttributes['aria-label'];\n}\n\nconst labelByType = {\n WISE: 'Wise',\n WISE_BUSINESS: 'Wise Business',\n WISE_PLATFORM: 'Wise Platform',\n} satisfies Record<`${LogoType}`, string>;\n\nconst logoAssets: Record<LogoAssetName, () => JSX.Element> = {\n FastFlag,\n WiseLogo,\n WiseBusinessPrimary,\n WiseBusinessSecondary,\n WisePlatformPrimary,\n WisePlatformSecondary,\n};\n\n/**\n * Renders the Wise wordmark logo. Responsive — shows the flag-only mark on small viewports\n * and the full wordmark on ≥576px (small breakpoint and above).\n *\n * @see {@link https://wise.design/foundations/logo Design Spec}\n */\nexport default function Logo({\n className,\n type = 'WISE',\n format = 'default',\n display = 'responsive',\n size = 24,\n 'aria-label': ariaLabel,\n}: LogoProps) {\n const isScreenSm = !useScreenSize(Breakpoint.SMALL);\n const compact = display === 'compact' || (display === 'responsive' && isScreenSm);\n\n const assetName = compact ? 'FastFlag' : getAssetName(type, format);\n const Asset = logoAssets[assetName];\n const sizes = logoAssetsDimensions[assetName];\n const { width, height } =\n logoAssetsDimensions[assetName][Number(size) as keyof typeof sizes] ?? sizes[24];\n\n return (\n <span\n className={clsx('np-logo', className)}\n role=\"img\"\n aria-label={ariaLabel ?? labelByType[type]}\n style={\n {\n '--wds-logo-width': `${width}px`,\n '--wds-logo-height': `${height}px`,\n } as React.CSSProperties\n }\n >\n <Asset />\n </span>\n );\n}\n\nfunction getAssetName(type: `${LogoType}`, format: `${LogoFormat}`): LogoAssetName {\n if (format !== 'default') {\n if (type === 'WISE_BUSINESS') {\n return format === 'secondary-lockup' ? 'WiseBusinessSecondary' : 'WiseBusinessPrimary';\n }\n if (type === 'WISE_PLATFORM') {\n return format === 'secondary-lockup' ? 'WisePlatformSecondary' : 'WisePlatformPrimary';\n }\n }\n return 'WiseLogo';\n}\n"],"names":["LogoType","LogoDisplay","LogoFormat","labelByType","WISE","WISE_BUSINESS","WISE_PLATFORM","logoAssets","FastFlag","WiseLogo","WiseBusinessPrimary","WiseBusinessSecondary","WisePlatformPrimary","WisePlatformSecondary","Logo","className","type","format","display","size","ariaLabel","isScreenSm","useScreenSize","Breakpoint","SMALL","compact","assetName","getAssetName","Asset","sizes","logoAssetsDimensions","width","height","Number","_jsx","clsx","role","style","children"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgBYA;AAAZ,CAAA,UAAYA,QAAQ,EAAA;AAClBA,EAAAA,QAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACbA,EAAAA,QAAA,CAAA,eAAA,CAAA,GAAA,eAA+B;AAC/BA,EAAAA,QAAA,CAAA,eAAA,CAAA,GAAA,eAA+B;AACjC,CAAC,EAJWA,QAAQ,KAARA,QAAQ,GAAA,EAAA,CAAA,CAAA;IAMRC;AAAZ,CAAA,UAAYA,WAAW,EAAA;AACrBA,EAAAA,WAAA,CAAA,YAAA,CAAA,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,GAAGC,oBAAoB,CAACJ,SAAS,CAAC;EAC7C,MAAM;IAAEK,KAAK;AAAEC,IAAAA;GAAQ,GACrBF,oBAAoB,CAACJ,SAAS,CAAC,CAACO,MAAM,CAACd,IAAI,CAAuB,CAAC,IAAIU,KAAK,CAAC,EAAE,CAAC;AAElF,EAAA,oBACEK,GAAA,CAAA,MAAA,EAAA;AACEnB,IAAAA,SAAS,EAAEoB,IAAI,CAAC,SAAS,EAAEpB,SAAS,CAAE;AACtCqB,IAAAA,IAAI,EAAC,KAAK;AACV,IAAA,YAAA,EAAYhB,SAAS,IAAIjB,WAAW,CAACa,IAAI,CAAE;AAC3CqB,IAAAA,KAAK,EACH;MACE,kBAAkB,EAAE,CAAA,EAAGN,KAAK,CAAA,EAAA,CAAI;MAChC,mBAAmB,EAAE,GAAGC,MAAM,CAAA,EAAA;KAEjC;AAAAM,IAAAA,QAAA,eAEDJ,GAAA,CAACN,KAAK,EAAA,EAAA;AACR,GAAM,CAAC;AAEX;AAEA,SAASD,YAAYA,CAACX,IAAmB,EAAEC,MAAuB,EAAA;EAChE,IAAIA,MAAM,KAAK,SAAS,EAAE;IACxB,IAAID,IAAI,KAAK,eAAe,EAAE;AAC5B,MAAA,OAAOC,MAAM,KAAK,kBAAkB,GAAG,uBAAuB,GAAG,qBAAqB;AACxF,IAAA;IACA,IAAID,IAAI,KAAK,eAAe,EAAE;AAC5B,MAAA,OAAOC,MAAM,KAAK,kBAAkB,GAAG,uBAAuB,GAAG,qBAAqB;AACxF,IAAA;AACF,EAAA;AACA,EAAA,OAAO,UAAU;AACnB;;;;"}
@@ -4,39 +4,171 @@ var jsxRuntime = require('react/jsx-runtime');
4
4
 
5
5
  const logoAssetsDimensions = {
6
6
  FastFlag: {
7
- width: 22,
8
- height: 24
7
+ 16: {
8
+ width: 16,
9
+ height: 16
10
+ },
11
+ 18: {
12
+ width: 18,
13
+ height: 18
14
+ },
15
+ 20: {
16
+ width: 20,
17
+ height: 20
18
+ },
19
+ 24: {
20
+ width: 24,
21
+ height: 24
22
+ },
23
+ 28: {
24
+ width: 28,
25
+ height: 28
26
+ },
27
+ 36: {
28
+ width: 36,
29
+ height: 36
30
+ }
9
31
  },
10
32
  WiseLogo: {
11
- width: 94,
12
- height: 24
33
+ 16: {
34
+ width: 64,
35
+ height: 16
36
+ },
37
+ 18: {
38
+ width: 72,
39
+ height: 18
40
+ },
41
+ 20: {
42
+ width: 80,
43
+ height: 20
44
+ },
45
+ 24: {
46
+ width: 96,
47
+ height: 24
48
+ },
49
+ 28: {
50
+ width: 112,
51
+ height: 28
52
+ },
53
+ 36: {
54
+ width: 144,
55
+ height: 36
56
+ }
13
57
  },
14
58
  WiseBusinessPrimary: {
15
- width: 210,
16
- height: 24
59
+ 16: {
60
+ width: 140,
61
+ height: 16
62
+ },
63
+ 18: {
64
+ width: 157.5,
65
+ height: 18
66
+ },
67
+ 20: {
68
+ width: 175,
69
+ height: 20
70
+ },
71
+ 24: {
72
+ width: 210,
73
+ height: 24
74
+ },
75
+ 28: {
76
+ width: 245,
77
+ height: 28
78
+ },
79
+ 36: {
80
+ width: 315,
81
+ height: 36
82
+ }
17
83
  },
18
84
  WiseBusinessSecondary: {
19
- width: 97,
20
- height: 46
85
+ 16: {
86
+ width: 68,
87
+ height: 32
88
+ },
89
+ 18: {
90
+ width: 76.5,
91
+ height: 36
92
+ },
93
+ 20: {
94
+ width: 85,
95
+ height: 40
96
+ },
97
+ 24: {
98
+ width: 102,
99
+ height: 48
100
+ },
101
+ 28: {
102
+ width: 119,
103
+ height: 56
104
+ },
105
+ 36: {
106
+ width: 153,
107
+ height: 72
108
+ }
21
109
  },
22
110
  WisePlatformPrimary: {
23
- width: 205,
24
- height: 24
111
+ 16: {
112
+ width: 136,
113
+ height: 16
114
+ },
115
+ 18: {
116
+ width: 153,
117
+ height: 18
118
+ },
119
+ 20: {
120
+ width: 170,
121
+ height: 20
122
+ },
123
+ 24: {
124
+ width: 204,
125
+ height: 24
126
+ },
127
+ 28: {
128
+ width: 238,
129
+ height: 28
130
+ },
131
+ 36: {
132
+ width: 306,
133
+ height: 36
134
+ }
25
135
  },
26
136
  WisePlatformSecondary: {
27
- width: 94,
28
- height: 46
137
+ 16: {
138
+ width: 64,
139
+ height: 32
140
+ },
141
+ 18: {
142
+ width: 72,
143
+ height: 36
144
+ },
145
+ 20: {
146
+ width: 80,
147
+ height: 40
148
+ },
149
+ 24: {
150
+ width: 96,
151
+ height: 48
152
+ },
153
+ 28: {
154
+ width: 112,
155
+ height: 56
156
+ },
157
+ 36: {
158
+ width: 144,
159
+ height: 72
160
+ }
29
161
  }
30
162
  };
31
163
  function svgProps(name) {
32
164
  const {
33
165
  width,
34
166
  height
35
- } = logoAssetsDimensions[name];
167
+ } = logoAssetsDimensions[name][24];
36
168
  return {
37
169
  xmlns: 'http://www.w3.org/2000/svg',
38
- width,
39
- height,
170
+ width: '100%',
171
+ height: '100%',
40
172
  viewBox: `0 0 ${width} ${height}`
41
173
  };
42
174
  }
@@ -1 +1 @@
1
- {"version":3,"file":"logo-assets.js","sources":["../../src/logo/logo-assets.tsx"],"sourcesContent":["export const logoAssetsDimensions = {\n FastFlag: { width: 22, height: 24 },\n WiseLogo: { width: 94, height: 24 },\n WiseBusinessPrimary: { width: 210, height: 24 },\n WiseBusinessSecondary: { width: 97, height: 46 },\n WisePlatformPrimary: { width: 205, height: 24 },\n WisePlatformSecondary: { width: 94, height: 46 },\n} as const;\n\nexport type LogoAssetName = keyof typeof logoAssetsDimensions;\n\nfunction svgProps(name: LogoAssetName) {\n const { width, height } = logoAssetsDimensions[name];\n return { xmlns: 'http://www.w3.org/2000/svg', width, height, viewBox: `0 0 ${width} ${height}` };\n}\n\nexport function FastFlag() {\n return (\n <svg {...svgProps('FastFlag')}>\n <path\n fill=\"currentColor\"\n d=\"m0 15.02 5.835-6.818h-.002l-3.547-6.18h19.296L14.113 22.53H9.881l6.186-17.016h-7.98l1.775 3.052-.009.084-2.728 3.154h4.464l-1.171 3.215z\"\n />\n </svg>\n );\n}\n\nexport function WiseLogo() {\n return (\n <svg {...svgProps('WiseLogo')}>\n <path\n fill=\"currentColor\"\n d=\"M51.644 2.027h5.713l-2.874 20.506H48.77zm-7.203 0L40.585 13.84 38.903 2.027h-3.996l-5.048 11.778-.63-11.778h-5.54l1.929 20.506h4.592l5.678-12.97 1.998 12.97h4.522l7.466-20.506zm47.968 11.918H78.844c.07 2.664 1.665 4.417 4.014 4.417 1.77 0 3.172-.947 4.259-2.752l4.58 2.082c-1.575 3.1-4.89 5.121-8.98 5.121-5.573 0-9.27-3.75-9.27-9.78 0-6.624 4.346-11.321 10.48-11.321 5.398 0 8.798 3.645 8.798 9.324 0 .946-.105 1.893-.316 2.91m-5.082-3.926c0-2.383-1.332-3.89-3.47-3.89s-4.031 1.577-4.522 3.89zM5.833 8.207 0 15.023h10.414l1.17-3.214H7.124L9.85 8.656l.008-.084L8.085 5.52h7.976L9.878 22.533h4.23l7.467-20.506H2.285l3.546 6.18zm60.813-2.079c2.016 0 3.782 1.084 5.325 2.941l.81-5.78c-1.438-.972-3.383-1.577-5.96-1.577-5.117 0-7.991 2.997-7.991 6.8 0 2.638 1.472 4.25 3.89 5.293l1.157.526c2.156.92 2.734 1.375 2.734 2.348s-.973 1.648-2.454 1.648c-2.444.008-4.425-1.245-5.915-3.383l-.825 5.89c1.697 1.294 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.646-1.174-4.346-4.136-5.678l-1.262-.596c-1.752-.78-2.348-1.21-2.348-2.068 0-.929.815-1.648 2.383-1.648\"\n />\n </svg>\n );\n}\n\nexport function WiseBusinessPrimary() {\n return (\n <svg {...svgProps('WiseBusinessPrimary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.641 2.022h5.713L54.48 22.534h-5.713zm-7.202 0-3.856 11.816-1.682-11.816h-3.996l-5.047 11.781-.631-11.781h-5.538l1.928 20.512h4.591L35.887 9.56l1.997 12.974h4.522l7.466-20.512zm47.966 11.921H78.84c.07 2.665 1.665 4.418 4.014 4.418 1.77 0 3.172-.946 4.258-2.752l4.58 2.082c-1.575 3.102-4.891 5.124-8.978 5.124-5.573 0-9.271-3.752-9.271-9.783 0-6.627 4.346-11.326 10.48-11.326 5.397 0 8.797 3.647 8.797 9.327 0 .947-.105 1.894-.315 2.91m-5.082-3.927c0-2.384-1.332-3.892-3.47-3.892-2.209 0-4.031 1.578-4.522 3.892zM5.832 8.203 0 15.02h10.413l1.17-3.215H7.121l2.727-3.153.008-.084-1.773-3.053h7.976L9.877 22.534h4.23l7.466-20.512H2.286zm60.81-2.079c2.016 0 3.782 1.084 5.324 2.943l.81-5.783c-1.436-.973-3.382-1.578-5.958-1.578-5.117 0-7.991 2.998-7.991 6.802 0 2.639 1.472 4.252 3.89 5.295l1.157.526c2.155.92 2.734 1.376 2.734 2.35 0 1.007-.973 1.647-2.454 1.647-2.445.01-4.425-1.245-5.914-3.383l-.826 5.891c1.696 1.295 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.697 0-2.647-1.175-4.348-4.136-5.68l-1.262-.596c-1.753-.78-2.349-1.21-2.349-2.069 0-.93.815-1.648 2.384-1.648M99.733 22.579V2.004h7.485q2.176 0 3.603.723 1.428.713 2.136 1.939.709 1.215.709 2.743 0 1.285-.469 2.17a3.9 3.9 0 0 1-1.258 1.406 5.5 5.5 0 0 1-1.717.764v.2q1.019.05 1.986.664.979.602 1.617 1.718.639 1.114.639 2.712 0 1.578-.738 2.833-.729 1.245-2.256 1.98-1.527.723-3.902.723zm3.084-2.663h4.451q2.215 0 3.174-.864.958-.863.958-2.16 0-.974-.489-1.788-.49-.813-1.397-1.296-.898-.482-2.136-.482h-4.561zm0-9.011h4.132q1.038 0 1.866-.402a3.3 3.3 0 0 0 1.328-1.125q.498-.734.499-1.728 0-1.275-.889-2.14-.888-.864-2.724-.864h-4.212zM126.61 16.18V7.146h2.994V22.58h-2.934v-2.672h-.16q-.529 1.235-1.697 2.059-1.158.814-2.884.814-1.478 0-2.615-.653-1.128-.663-1.777-1.96-.638-1.295-.638-3.204V7.147h2.984v9.454q0 1.578.868 2.512.869.934 2.256.934.838 0 1.666-.422a3.5 3.5 0 0 0 1.388-1.276q.558-.853.549-2.17M144.117 10.915l-2.704.482a3.3 3.3 0 0 0-.539-.995 2.7 2.7 0 0 0-.978-.773q-.62-.302-1.547-.302-1.268 0-2.116.573-.849.562-.849 1.457 0 .773.569 1.246.57.471 1.837.773l2.435.563q2.115.492 3.154 1.517t1.038 2.662a4.06 4.06 0 0 1-.799 2.472q-.788 1.074-2.205 1.688-1.408.612-3.264.612-2.575 0-4.202-1.105-1.627-1.114-1.996-3.165l2.884-.442q.27 1.136 1.108 1.718.839.573 2.186.573 1.467 0 2.345-.613.879-.622.879-1.517 0-.723-.539-1.215-.53-.493-1.627-.744l-2.595-.572q-2.146-.493-3.174-1.568-1.017-1.075-1.018-2.722 0-1.367.759-2.391.758-1.026 2.096-1.598 1.337-.583 3.064-.583 2.484 0 3.912 1.085 1.427 1.075 1.886 2.884M146.714 22.579V7.147h2.984V22.58zm1.507-17.813q-.779 0-1.337-.522a1.7 1.7 0 0 1-.549-1.266q0-.744.549-1.266a1.87 1.87 0 0 1 1.337-.532q.779 0 1.328.532.558.522.558 1.266 0 .733-.558 1.266a1.86 1.86 0 0 1-1.328.522M155.713 13.416v9.163h-2.984V7.147h2.865V9.66h.189a4.4 4.4 0 0 1 1.657-1.97q1.137-.743 2.864-.743 1.567 0 2.745.663 1.178.654 1.826 1.95.65 1.296.649 3.204v9.816h-2.984v-9.454q0-1.677-.868-2.622-.868-.954-2.386-.955-1.038 0-1.846.453-.798.452-1.268 1.326-.459.864-.459 2.09M175.15 22.89q-2.266 0-3.903-.974-1.627-.985-2.515-2.763-.878-1.788-.878-4.19 0-2.37.878-4.179.888-1.807 2.475-2.823 1.597-1.014 3.733-1.015 1.297 0 2.515.432a6.1 6.1 0 0 1 2.186 1.357q.968.924 1.527 2.4.559 1.468.559 3.567v1.065h-12.186v-2.25h9.262q0-1.185-.48-2.1a3.63 3.63 0 0 0-1.347-1.457q-.858-.532-2.016-.532-1.257 0-2.196.623a4.2 4.2 0 0 0-1.437 1.607 4.66 4.66 0 0 0-.499 2.14v1.758q0 1.548.539 2.633.549 1.084 1.527 1.657.978.563 2.286.563.848 0 1.547-.241a3.3 3.3 0 0 0 1.207-.744 3.2 3.2 0 0 0 .779-1.215l2.824.512a5.16 5.16 0 0 1-1.217 2.2q-.869.935-2.186 1.457-1.308.512-2.984.512M195.542 10.915l-2.705.482a3.2 3.2 0 0 0-.539-.995 2.7 2.7 0 0 0-.978-.773q-.619-.302-1.547-.302-1.267 0-2.116.573-.848.562-.848 1.457 0 .773.569 1.246.569.471 1.836.773l2.435.563q2.116.492 3.154 1.517t1.038 2.662q0 1.387-.798 2.472-.789 1.074-2.206 1.688-1.407.612-3.264.612-2.574 0-4.201-1.105-1.627-1.114-1.997-3.165l2.885-.442q.269 1.136 1.108 1.718.838.573 2.185.573 1.467 0 2.346-.613.878-.622.878-1.517 0-.723-.539-1.215-.53-.493-1.627-.744l-2.595-.572q-2.145-.493-3.173-1.568-1.018-1.075-1.018-2.722 0-1.367.758-2.391.759-1.026 2.096-1.598 1.338-.583 3.064-.583 2.486 0 3.912 1.085 1.428 1.075 1.887 2.884M209.626 10.915l-2.705.482a3.2 3.2 0 0 0-.539-.995 2.66 2.66 0 0 0-.978-.773q-.618-.302-1.547-.302-1.267 0-2.116.573-.848.562-.848 1.457 0 .773.569 1.246.569.471 1.836.773l2.436.563q2.115.492 3.153 1.517t1.038 2.662q0 1.387-.798 2.472-.789 1.074-2.206 1.688-1.407.612-3.263.612-2.576 0-4.202-1.105-1.627-1.114-1.996-3.165l2.884-.442q.27 1.136 1.108 1.718.838.573 2.186.573 1.467 0 2.345-.613.879-.622.878-1.517 0-.723-.539-1.215-.528-.493-1.626-.744l-2.595-.572q-2.147-.493-3.174-1.568-1.018-1.075-1.018-2.722 0-1.367.758-2.391.76-1.026 2.096-1.598 1.338-.583 3.064-.583 2.485 0 3.913 1.085 1.427 1.075 1.886 2.884\"\n />\n </svg>\n );\n}\n\nexport function WiseBusinessSecondary() {\n return (\n <svg {...svgProps('WiseBusinessSecondary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.65 2.025h5.713L54.49 22.53h-5.713zm-7.202 0-3.856 11.813L38.91 2.025h-3.996l-5.048 11.778-.63-11.778h-5.538l1.927 20.505h4.592l5.678-12.969 1.998 12.97h4.522L49.88 2.024zm47.966 11.918H78.85c.07 2.664 1.664 4.416 4.013 4.416 1.77 0 3.172-.946 4.259-2.751l4.579 2.081c-1.575 3.1-4.89 5.122-8.978 5.122-5.573 0-9.271-3.75-9.271-9.78 0-6.624 4.346-11.321 10.48-11.321 5.398 0 8.798 3.645 8.798 9.324 0 .946-.106 1.892-.316 2.909m-5.082-3.926c0-2.383-1.332-3.89-3.47-3.89-2.208 0-4.031 1.577-4.522 3.89zM5.84 8.204.008 15.02h10.414l1.17-3.214H7.129l2.727-3.152.009-.084L8.092 5.52h7.976L9.885 22.53h4.231l7.466-20.505H2.294zm60.812-2.078c2.015 0 3.781 1.084 5.323 2.942l.81-5.78c-1.436-.973-3.382-1.578-5.958-1.578-5.117 0-7.991 2.997-7.991 6.8 0 2.637 1.472 4.25 3.89 5.293l1.157.525c2.155.92 2.734 1.376 2.734 2.349 0 1.007-.973 1.647-2.454 1.647-2.445.009-4.425-1.244-5.915-3.382l-.825 5.89c1.696 1.293 3.871 1.979 6.74 1.979 4.864 0 7.852-2.805 7.852-6.695 0-2.646-1.175-4.346-4.136-5.678l-1.262-.596c-1.753-.78-2.349-1.21-2.349-2.068 0-.93.815-1.648 2.384-1.648M9.8 45.312V28.964h5.924q1.722 0 2.851.575 1.13.567 1.69 1.54.562.966.561 2.18 0 1.021-.37 1.724-.372.694-.996 1.117a4.4 4.4 0 0 1-1.359.607v.16q.805.04 1.572.527.774.479 1.28 1.365.505.886.505 2.155 0 1.253-.584 2.25-.578.99-1.785 1.573-1.208.576-3.089.575zm2.44-2.115h3.523q1.755 0 2.512-.687.759-.686.758-1.716a2.72 2.72 0 0 0-1.492-2.45q-.712-.384-1.69-.384h-3.61zm0-7.16h3.27a3.3 3.3 0 0 0 1.478-.32q.663-.319 1.05-.894.395-.582.395-1.373 0-1.014-.703-1.7t-2.156-.686H12.24zM31.07 40.227v-7.176h2.37v12.261h-2.322V43.19h-.126q-.42.981-1.343 1.636-.917.647-2.283.647-1.17 0-2.07-.52-.891-.526-1.405-1.556-.506-1.03-.506-2.546v-7.799h2.362v7.512q0 1.252.687 1.995t1.785.743q.663 0 1.32-.336a2.8 2.8 0 0 0 1.097-1.013q.443-.679.435-1.725M44.926 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.489-.24-1.224-.24-1.003 0-1.675.455-.67.447-.671 1.158 0 .615.45.99T39.92 38l1.927.447q1.674.391 2.496 1.206.821.814.821 2.115 0 1.101-.631 1.964-.624.854-1.746 1.34-1.115.488-2.583.488-2.038 0-3.325-.879-1.288-.885-1.58-2.514l2.283-.351q.213.901.876 1.365.665.455 1.73.455 1.161 0 1.856-.487.696-.495.696-1.205 0-.576-.427-.966-.42-.392-1.287-.591l-2.054-.455q-1.698-.39-2.512-1.245-.806-.854-.806-2.163 0-1.087.6-1.9.6-.814 1.66-1.27 1.057-.462 2.424-.462 1.967 0 3.097.862 1.13.854 1.492 2.29M46.982 45.312v-12.26h2.361v12.26zm1.192-14.153q-.615 0-1.058-.415a1.36 1.36 0 0 1-.434-1.006q0-.59.434-1.005a1.48 1.48 0 0 1 1.058-.423q.617 0 1.05.423.444.415.443 1.005 0 .583-.442 1.006-.435.415-1.05.415M54.104 38.032v7.28h-2.362v-12.26h2.267v1.995h.15q.42-.974 1.311-1.565.9-.59 2.267-.59 1.24 0 2.172.526.933.519 1.446 1.549t.513 2.546v7.8h-2.361V37.8q0-1.334-.688-2.084-.687-.758-1.887-.758-.822 0-1.462.36a2.57 2.57 0 0 0-1.003 1.053q-.363.686-.363 1.66M69.486 45.56q-1.793 0-3.088-.775-1.288-.782-1.99-2.195-.696-1.42-.696-3.329 0-1.883.695-3.32.703-1.437 1.96-2.243 1.263-.806 2.953-.806a5.9 5.9 0 0 1 1.99.343q.965.343 1.73 1.077.766.735 1.21 1.908.441 1.166.441 2.834v.846h-9.644v-1.788h7.33q0-.942-.38-1.668a2.9 2.9 0 0 0-1.065-1.158q-.68-.423-1.596-.423-.995 0-1.738.495a3.3 3.3 0 0 0-1.137 1.277 3.7 3.7 0 0 0-.395 1.7v1.397q0 1.23.427 2.092.434.863 1.208 1.317.774.447 1.809.447a3.7 3.7 0 0 0 1.224-.192q.553-.2.956-.59a2.6 2.6 0 0 0 .616-.966l2.235.407a4.1 4.1 0 0 1-.963 1.748q-.688.742-1.73 1.158-1.035.406-2.362.407M85.625 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.49-.24-1.225-.24-1.003 0-1.674.455-.672.447-.672 1.158 0 .615.45.99t1.454.614l1.927.447q1.676.391 2.496 1.206.822.814.822 2.115 0 1.101-.632 1.964-.624.854-1.746 1.34-1.113.488-2.583.488-2.037 0-3.325-.879-1.287-.885-1.58-2.514l2.283-.351q.213.901.877 1.365.663.455 1.73.455 1.16 0 1.856-.487.695-.495.695-1.205 0-.576-.427-.966-.418-.392-1.287-.591l-2.054-.455q-1.699-.39-2.512-1.245-.805-.854-.805-2.163 0-1.087.6-1.9.6-.814 1.659-1.27 1.058-.462 2.425-.462 1.966 0 3.096.862 1.129.854 1.493 2.29M96.771 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.489-.24-1.224-.24-1.003 0-1.675.455-.67.447-.671 1.158 0 .615.45.99t1.453.614l1.928.447q1.674.391 2.496 1.206.82.814.821 2.115 0 1.101-.632 1.964-.624.854-1.745 1.34-1.114.488-2.583.488-2.038 0-3.326-.879-1.287-.885-1.58-2.514l2.284-.351q.213.901.876 1.365.665.455 1.73.455 1.161 0 1.856-.487.695-.495.695-1.205 0-.576-.426-.966-.419-.392-1.288-.591l-2.053-.455q-1.7-.39-2.512-1.245-.806-.854-.806-2.163 0-1.087.6-1.9.6-.814 1.66-1.27 1.057-.462 2.424-.462 1.967 0 3.096.862 1.13.854 1.493 2.29\"\n />\n </svg>\n );\n}\n\nexport function WisePlatformPrimary() {\n return (\n <svg {...svgProps('WisePlatformPrimary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.642 2.024h5.714L54.482 22.53h-5.714zm-7.203 0-3.855 11.813L38.9 2.024h-3.995l-5.048 11.778-.63-11.778h-5.539l1.928 20.507h4.592l5.678-12.97 1.998 12.97h4.522l7.465-20.507zm47.968 11.919H78.842c.07 2.664 1.665 4.417 4.013 4.417 1.77 0 3.172-.947 4.26-2.752l4.579 2.082c-1.574 3.1-4.89 5.122-8.979 5.122-5.573 0-9.27-3.751-9.27-9.78 0-6.626 4.346-11.324 10.48-11.324 5.397 0 8.797 3.646 8.797 9.325 0 .946-.105 1.893-.315 2.91m-5.083-3.927c0-2.383-1.331-3.89-3.47-3.89-2.138 0-4.03 1.577-4.521 3.89zM5.832 8.202 0 15.02h10.414l1.17-3.215H7.122L9.85 8.651l.01-.084-1.774-3.052h7.975L9.877 22.53h4.231l7.466-20.505H2.285l3.546 6.18zm60.812-2.077c2.016 0 3.782 1.083 5.325 2.941l.81-5.78c-1.438-.973-3.383-1.578-5.96-1.578-5.117 0-7.991 2.997-7.991 6.8 0 2.639 1.472 4.251 3.89 5.294l1.157.526c2.156.92 2.734 1.376 2.734 2.349s-.972 1.648-2.453 1.648c-2.445.008-4.426-1.245-5.915-3.383l-.826 5.89c1.697 1.294 3.872 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.647-1.174-4.347-4.136-5.679l-1.262-.596c-1.752-.78-2.348-1.21-2.348-2.068 0-.93.815-1.648 2.383-1.648m46.546-.897q-.784-1.513-2.362-2.388-1.578-.874-3.98-.874H99.51v20.588h3.105v-7.237h4.222q2.392 0 3.975-.88 1.582-.88 2.373-2.393.789-1.512.789-3.412 0-1.89-.784-3.403zm-2.784 5.482q-.443.914-1.387 1.443-.946.527-2.462.527h-3.94V4.629h3.9q1.548 0 2.497.514.95.513 1.392 1.418t.441 2.07q0 1.166-.441 2.08m8.71-8.744v20.588h-3.006V1.966zm7.907 20.93q-1.468 0-2.653-.549a4.4 4.4 0 0 1-1.875-1.593q-.69-1.045-.689-2.565 0-1.305.503-2.15a3.7 3.7 0 0 1 1.356-1.338 7 7 0 0 1 1.911-.743 19 19 0 0 1 2.15-.382q1.387-.16 2.252-.266.865-.105 1.257-.347t.392-.784v-.07q0-1.317-.739-2.04-.74-.723-2.196-.724c-.971 0-1.807.223-2.387.668q-.87.668-1.201 1.483l-2.825-.644q.502-1.406 1.472-2.276a6 6 0 0 1 2.236-1.268 8.9 8.9 0 0 1 2.664-.398q.926 0 1.965.216a5.9 5.9 0 0 1 1.951.789q.91.574 1.493 1.633t.583 2.75v10.254h-2.935v-2.11h-.121q-.292.584-.875 1.146-.583.563-1.498.934-.916.372-2.191.372zm.654-2.414q1.246 0 2.136-.492.89-.493 1.357-1.292a3.34 3.34 0 0 0 .468-1.714v-1.992q-.161.161-.619.297a8 8 0 0 1-1.041.231q-.584.095-1.136.172l-.925.126a7.4 7.4 0 0 0-1.593.372q-.719.262-1.146.748-.428.488-.428 1.292 0 1.116.824 1.684.822.568 2.101.568zm16.66-.533q-.15.032-.423.08-.271.051-.632.052-.492 0-.91-.156t-.678-.593q-.262-.436-.261-1.312V9.526h3.167V7.114h-3.167V3.412h-3.006v3.7h-2.261v2.412h2.261v9.118q0 1.396.633 2.322a3.8 3.8 0 0 0 1.658 1.367 5.3 5.3 0 0 0 2.211.423 6.2 6.2 0 0 0 1.206-.116q.484-.104.743-.207l-.543-2.483zm7.753-15.792q.467-.543 1.563-.544.474 0 .805.086.33.086.543.146l.704-2.433A7.145 7.145 0 0 0 153.203 1q-1.226 0-2.271.477a3.93 3.93 0 0 0-1.679 1.437q-.634.96-.633 2.408v1.79h-2.392v2.412h2.392v13.028h3.006V9.526h3.326V7.114h-3.326V5.727q0-1.025.467-1.568zm10.752 18.707q-2.172 0-3.789-.995-1.62-.996-2.513-2.786-.894-1.79-.894-4.182c0-1.595.298-3.002.894-4.201q.894-1.799 2.513-2.794t3.789-.996 3.789.996 2.513 2.794q.894 1.8.894 4.201c0 1.6-.298 2.989-.894 4.182q-.894 1.79-2.513 2.786-1.62.995-3.789.995m.01-2.522q1.407 0 2.333-.743.925-.745 1.372-1.98.447-1.237.447-2.725c0-.992-.149-1.891-.447-2.718q-.447-1.243-1.372-1.995-.924-.754-2.333-.754c-.939 0-1.728.251-2.346.754q-.931.754-1.378 1.995-.447 1.24-.447 2.718c0 .985.149 1.9.447 2.724q.447 1.237 1.378 1.98.93.745 2.346.744m9.596 2.21V7.112h2.904v2.452h.161a3.74 3.74 0 0 1 1.493-1.965q1.07-.717 2.427-.718.281 0 .668.019.387.02.608.05v2.875a6 6 0 0 0-.643-.115 7 7 0 0 0-.925-.065q-1.066 0-1.895.447t-1.311 1.235q-.483.79-.482 1.795v9.43zm10.249 0V7.112h2.884v2.513h.191q.484-1.277 1.578-1.994 1.096-.719 2.623-.719c1.018 0 1.898.242 2.599.724q1.051.723 1.553 1.991h.161q.552-1.237 1.76-1.975 1.207-.74 2.874-.74 2.1.001 3.433 1.316 1.333 1.318 1.332 3.972v10.354h-3.006V12.48q0-1.569-.853-2.272-.855-.705-2.04-.705-1.467 0-2.282.9t-.815 2.306v9.842h-2.995V12.288q0-1.256-.783-2.021-.784-.764-2.04-.764-.855 0-1.574.447a3.3 3.3 0 0 0-1.157 1.24q-.436.796-.436 1.84v9.519h-3.006z\"\n />\n </svg>\n );\n}\n\nexport function WisePlatformSecondary() {\n return (\n <svg {...svgProps('WisePlatformSecondary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.646 2.025h5.714l-2.874 20.507h-5.714zm-7.203 0L40.587 13.84 38.904 2.024h-3.996L29.86 13.803l-.63-11.778H23.69l1.928 20.507h4.592l5.679-12.97 1.998 12.97h4.522l7.466-20.507zm47.97 11.919H78.849c.07 2.664 1.665 4.416 4.013 4.416 1.77 0 3.173-.946 4.26-2.751l4.58 2.082c-1.575 3.1-4.89 5.121-8.98 5.121-5.573 0-9.272-3.75-9.272-9.78 0-6.625 4.347-11.322 10.481-11.322 5.399 0 8.799 3.646 8.799 9.324 0 .947-.105 1.893-.316 2.91m-5.082-3.926c0-2.384-1.332-3.891-3.47-3.891s-4.032 1.577-4.523 3.89zM5.833 8.205 0 15.022h10.414l1.171-3.215H7.123L9.85 8.654l.009-.084-1.774-3.051h7.977L9.878 22.532h4.231l7.467-20.507H2.286l3.545 6.18zm60.816-2.078c2.016 0 3.782 1.083 5.325 2.94l.81-5.78c-1.438-.972-3.383-1.577-5.96-1.577-5.117 0-7.992 2.997-7.992 6.8 0 2.638 1.472 4.25 3.891 5.293l1.157.526c2.156.92 2.734 1.376 2.734 2.349s-.973 1.647-2.454 1.647c-2.445.01-4.425-1.244-5.915-3.382l-.825 5.89c1.696 1.294 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.647-1.174-4.347-4.136-5.679l-1.262-.596c-1.753-.78-2.349-1.209-2.349-2.068 0-.929.816-1.647 2.384-1.647M18.794 29.697q-1.243-.69-3.136-.69h-5.78v16.217h2.447v-5.702h3.325q1.884 0 3.132-.692 1.246-.694 1.868-1.884.622-1.192.622-2.689c0-.997-.207-1.886-.617-2.68q-.618-1.191-1.861-1.88m-.333 6.199q-.349.72-1.092 1.136t-1.94.415h-3.104v-6.343h3.072q1.22 0 1.969.403.749.405 1.097 1.117.349.712.348 1.631 0 .918-.348 1.64zM25.323 29.008h-2.368v16.216h2.368zM35.918 33.695a4.6 4.6 0 0 0-1.537-.623 7.6 7.6 0 0 0-1.548-.17q-1.102 0-2.098.312a4.7 4.7 0 0 0-1.761.998q-.765.686-1.16 1.793l2.225.506q.261-.642.947-1.167.685-.526 1.88-.526c.798 0 1.343.19 1.73.57q.582.57.582 1.607v.056q0 .428-.308.617-.31.189-.99.273-.681.085-1.774.21-.863.103-1.695.302a5.6 5.6 0 0 0-1.504.585q-.673.389-1.07 1.054-.396.664-.395 1.695 0 1.196.541 2.019.542.822 1.476 1.255.934.43 2.091.43 1.005 0 1.726-.292.72-.291 1.18-.736.46-.443.689-.903h.094v1.664h2.312v-8.077q.001-1.33-.46-2.166-.459-.835-1.175-1.286zm-.733 7.142q0 .72-.368 1.35a2.75 2.75 0 0 1-1.07 1.018q-.7.388-1.682.387c-.653 0-1.221-.149-1.654-.447q-.65-.447-.649-1.327 0-.632.337-1.016T31 40.21a5.8 5.8 0 0 1 1.255-.293q.292-.04.73-.098.435-.06.893-.135.46-.074.82-.182.361-.108.488-.233v1.569zM44.858 43.237q-.212.04-.5.04-.388 0-.716-.123a1.05 1.05 0 0 1-.535-.468q-.205-.345-.205-1.034v-6.69h2.494v-1.9h-2.494v-2.914h-2.368v2.914h-1.78v1.9h1.78v7.182q0 1.101.5 1.83.498.729 1.306 1.077a4.15 4.15 0 0 0 1.742.332 5 5 0 0 0 .95-.09 4 4 0 0 0 .585-.164l-.428-1.956q-.117.024-.333.063zM51.297 30.732q.369-.427 1.23-.427.374 0 .633.066.262.068.428.116l.554-1.916a5.575 5.575 0 0 0-1.972-.324 4.3 4.3 0 0 0-1.79.377q-.824.377-1.32 1.132-.5.757-.5 1.896v1.41h-1.884v1.9h1.884v10.261h2.368V34.963h2.62v-1.9h-2.62V31.97q0-.807.368-1.236zM62.751 33.688q-1.275-.784-2.985-.784t-2.984.784-1.98 2.201-.704 3.31c0 1.26.235 2.353.705 3.293q.704 1.409 1.979 2.192t2.984.784 2.985-.784 1.979-2.192.704-3.294c0-1.255-.234-2.364-.704-3.309q-.705-1.418-1.979-2.201m-.058 7.648q-.352.974-1.081 1.56-.728.586-1.837.586c-.74 0-1.36-.195-1.849-.586q-.733-.586-1.085-1.56a6.3 6.3 0 0 1-.352-2.145c0-.78.117-1.49.352-2.142q.352-.978 1.085-1.572c.49-.396 1.104-.594 1.85-.594.744 0 1.35.198 1.836.594q.728.594 1.081 1.572t.353 2.142a6.3 6.3 0 0 1-.353 2.145M72.836 32.88q-1.07 0-1.912.566a2.96 2.96 0 0 0-1.176 1.547h-.126v-1.931h-2.29v12.162h2.369v-7.428a2.64 2.64 0 0 1 1.414-2.387q.652-.352 1.493-.352.365 0 .73.05.364.052.506.092v-2.265a7 7 0 0 0-.479-.04q-.304-.015-.527-.016zM90.892 33.94q-1.049-1.036-2.704-1.038-1.315 0-2.265.582a3.45 3.45 0 0 0-1.386 1.557h-.126q-.396-.999-1.224-1.567-.827-.57-2.047-.57c-.813 0-1.491.19-2.066.566q-.863.566-1.243 1.572h-.15v-1.978h-2.274v12.161h2.368v-7.498q0-.823.344-1.449.344-.625.911-.978.565-.352 1.24-.352.988 0 1.606.6.618.603.617 1.592v8.085h2.36v-7.752q0-1.109.64-1.817.643-.708 1.8-.708.933 0 1.606.554.674.554.673 1.79v7.933h2.368V37.07q0-2.09-1.05-3.128z\"\n />\n </svg>\n );\n}\n"],"names":["logoAssetsDimensions","FastFlag","width","height","WiseLogo","WiseBusinessPrimary","WiseBusinessSecondary","WisePlatformPrimary","WisePlatformSecondary","svgProps","name","xmlns","viewBox","_jsx","children","fill","d"],"mappings":";;;;AAAO,MAAMA,oBAAoB,GAAG;AAClCC,EAAAA,QAAQ,EAAE;AAAEC,IAAAA,KAAK,EAAE,EAAE;AAAEC,IAAAA,MAAM,EAAE;GAAI;AACnCC,EAAAA,QAAQ,EAAE;AAAEF,IAAAA,KAAK,EAAE,EAAE;AAAEC,IAAAA,MAAM,EAAE;GAAI;AACnCE,EAAAA,mBAAmB,EAAE;AAAEH,IAAAA,KAAK,EAAE,GAAG;AAAEC,IAAAA,MAAM,EAAE;GAAI;AAC/CG,EAAAA,qBAAqB,EAAE;AAAEJ,IAAAA,KAAK,EAAE,EAAE;AAAEC,IAAAA,MAAM,EAAE;GAAI;AA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AEgBV,qBAAqBA,GAAA;AACnC,EAAA,oBACEO,cAAA,CAAA,KAAA,EAAA;IAAA,GAASJ,QAAQ,CAAC,uBAAuB,CAAC;AAAAK,IAAAA,QAAA,eACxCD,cAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAAs8I;AAE58I,GAAK,CAAC;AAEV;SAEgBT,mBAAmBA,GAAA;AACjC,EAAA,oBACEM,cAAA,CAAA,KAAA,EAAA;IAAA,GAASJ,QAAQ,CAAC,qBAAqB,CAAC;AAAAK,IAAAA,QAAA,eACtCD,cAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAA61H;AAEn2H,GAAK,CAAC;AAEV;SAEgBR,qBAAqBA,GAAA;AACnC,EAAA,oBACEK,cAAA,CAAA,KAAA,EAAA;IAAA,GAASJ,QAAQ,CAAC,uBAAuB,CAAC;AAAAK,IAAAA,QAAA,eACxCD,cAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAAszH;AAE5zH,GAAK,CAAC;AAEV;;;;;;;;;;"}
1
+ {"version":3,"file":"logo-assets.js","sources":["../../src/logo/logo-assets.tsx"],"sourcesContent":["export const logoAssetsDimensions = {\n FastFlag: {\n 16: { width: 16, height: 16 },\n 18: { width: 18, height: 18 },\n 20: { width: 20, height: 20 },\n 24: { width: 24, height: 24 },\n 28: { width: 28, height: 28 },\n 36: { width: 36, height: 36 },\n },\n WiseLogo: {\n 16: { width: 64, height: 16 },\n 18: { width: 72, height: 18 },\n 20: { width: 80, height: 20 },\n 24: { width: 96, height: 24 },\n 28: { width: 112, height: 28 },\n 36: { width: 144, height: 36 },\n },\n WiseBusinessPrimary: {\n 16: { width: 140, height: 16 },\n 18: { width: 157.5, height: 18 },\n 20: { width: 175, height: 20 },\n 24: { width: 210, height: 24 },\n 28: { width: 245, height: 28 },\n 36: { width: 315, height: 36 },\n },\n WiseBusinessSecondary: {\n 16: { width: 68, height: 32 },\n 18: { width: 76.5, height: 36 },\n 20: { width: 85, height: 40 },\n 24: { width: 102, height: 48 },\n 28: { width: 119, height: 56 },\n 36: { width: 153, height: 72 },\n },\n WisePlatformPrimary: {\n 16: { width: 136, height: 16 },\n 18: { width: 153, height: 18 },\n 20: { width: 170, height: 20 },\n 24: { width: 204, height: 24 },\n 28: { width: 238, height: 28 },\n 36: { width: 306, height: 36 },\n },\n WisePlatformSecondary: {\n 16: { width: 64, height: 32 },\n 18: { width: 72, height: 36 },\n 20: { width: 80, height: 40 },\n 24: { width: 96, height: 48 },\n 28: { width: 112, height: 56 },\n 36: { width: 144, height: 72 },\n },\n} as const;\n\nexport type LogoAssetName = keyof typeof logoAssetsDimensions;\n\nfunction svgProps(name: LogoAssetName) {\n const { width, height } = logoAssetsDimensions[name][24];\n return {\n xmlns: 'http://www.w3.org/2000/svg',\n width: '100%',\n height: '100%',\n viewBox: `0 0 ${width} ${height}`,\n };\n}\n\nexport function FastFlag() {\n return (\n <svg {...svgProps('FastFlag')}>\n <path\n fill=\"currentColor\"\n d=\"m0 15.02 5.835-6.818h-.002l-3.547-6.18h19.296L14.113 22.53H9.881l6.186-17.016h-7.98l1.775 3.052-.009.084-2.728 3.154h4.464l-1.171 3.215z\"\n />\n </svg>\n );\n}\n\nexport function WiseLogo() {\n return (\n <svg {...svgProps('WiseLogo')}>\n <path\n fill=\"currentColor\"\n d=\"M51.644 2.027h5.713l-2.874 20.506H48.77zm-7.203 0L40.585 13.84 38.903 2.027h-3.996l-5.048 11.778-.63-11.778h-5.54l1.929 20.506h4.592l5.678-12.97 1.998 12.97h4.522l7.466-20.506zm47.968 11.918H78.844c.07 2.664 1.665 4.417 4.014 4.417 1.77 0 3.172-.947 4.259-2.752l4.58 2.082c-1.575 3.1-4.89 5.121-8.98 5.121-5.573 0-9.27-3.75-9.27-9.78 0-6.624 4.346-11.321 10.48-11.321 5.398 0 8.798 3.645 8.798 9.324 0 .946-.105 1.893-.316 2.91m-5.082-3.926c0-2.383-1.332-3.89-3.47-3.89s-4.031 1.577-4.522 3.89zM5.833 8.207 0 15.023h10.414l1.17-3.214H7.124L9.85 8.656l.008-.084L8.085 5.52h7.976L9.878 22.533h4.23l7.467-20.506H2.285l3.546 6.18zm60.813-2.079c2.016 0 3.782 1.084 5.325 2.941l.81-5.78c-1.438-.972-3.383-1.577-5.96-1.577-5.117 0-7.991 2.997-7.991 6.8 0 2.638 1.472 4.25 3.89 5.293l1.157.526c2.156.92 2.734 1.375 2.734 2.348s-.973 1.648-2.454 1.648c-2.444.008-4.425-1.245-5.915-3.383l-.825 5.89c1.697 1.294 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.646-1.174-4.346-4.136-5.678l-1.262-.596c-1.752-.78-2.348-1.21-2.348-2.068 0-.929.815-1.648 2.383-1.648\"\n />\n </svg>\n );\n}\n\nexport function WiseBusinessPrimary() {\n return (\n <svg {...svgProps('WiseBusinessPrimary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.641 2.022h5.713L54.48 22.534h-5.713zm-7.202 0-3.856 11.816-1.682-11.816h-3.996l-5.047 11.781-.631-11.781h-5.538l1.928 20.512h4.591L35.887 9.56l1.997 12.974h4.522l7.466-20.512zm47.966 11.921H78.84c.07 2.665 1.665 4.418 4.014 4.418 1.77 0 3.172-.946 4.258-2.752l4.58 2.082c-1.575 3.102-4.891 5.124-8.978 5.124-5.573 0-9.271-3.752-9.271-9.783 0-6.627 4.346-11.326 10.48-11.326 5.397 0 8.797 3.647 8.797 9.327 0 .947-.105 1.894-.315 2.91m-5.082-3.927c0-2.384-1.332-3.892-3.47-3.892-2.209 0-4.031 1.578-4.522 3.892zM5.832 8.203 0 15.02h10.413l1.17-3.215H7.121l2.727-3.153.008-.084-1.773-3.053h7.976L9.877 22.534h4.23l7.466-20.512H2.286zm60.81-2.079c2.016 0 3.782 1.084 5.324 2.943l.81-5.783c-1.436-.973-3.382-1.578-5.958-1.578-5.117 0-7.991 2.998-7.991 6.802 0 2.639 1.472 4.252 3.89 5.295l1.157.526c2.155.92 2.734 1.376 2.734 2.35 0 1.007-.973 1.647-2.454 1.647-2.445.01-4.425-1.245-5.914-3.383l-.826 5.891c1.696 1.295 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.697 0-2.647-1.175-4.348-4.136-5.68l-1.262-.596c-1.753-.78-2.349-1.21-2.349-2.069 0-.93.815-1.648 2.384-1.648M99.733 22.579V2.004h7.485q2.176 0 3.603.723 1.428.713 2.136 1.939.709 1.215.709 2.743 0 1.285-.469 2.17a3.9 3.9 0 0 1-1.258 1.406 5.5 5.5 0 0 1-1.717.764v.2q1.019.05 1.986.664.979.602 1.617 1.718.639 1.114.639 2.712 0 1.578-.738 2.833-.729 1.245-2.256 1.98-1.527.723-3.902.723zm3.084-2.663h4.451q2.215 0 3.174-.864.958-.863.958-2.16 0-.974-.489-1.788-.49-.813-1.397-1.296-.898-.482-2.136-.482h-4.561zm0-9.011h4.132q1.038 0 1.866-.402a3.3 3.3 0 0 0 1.328-1.125q.498-.734.499-1.728 0-1.275-.889-2.14-.888-.864-2.724-.864h-4.212zM126.61 16.18V7.146h2.994V22.58h-2.934v-2.672h-.16q-.529 1.235-1.697 2.059-1.158.814-2.884.814-1.478 0-2.615-.653-1.128-.663-1.777-1.96-.638-1.295-.638-3.204V7.147h2.984v9.454q0 1.578.868 2.512.869.934 2.256.934.838 0 1.666-.422a3.5 3.5 0 0 0 1.388-1.276q.558-.853.549-2.17M144.117 10.915l-2.704.482a3.3 3.3 0 0 0-.539-.995 2.7 2.7 0 0 0-.978-.773q-.62-.302-1.547-.302-1.268 0-2.116.573-.849.562-.849 1.457 0 .773.569 1.246.57.471 1.837.773l2.435.563q2.115.492 3.154 1.517t1.038 2.662a4.06 4.06 0 0 1-.799 2.472q-.788 1.074-2.205 1.688-1.408.612-3.264.612-2.575 0-4.202-1.105-1.627-1.114-1.996-3.165l2.884-.442q.27 1.136 1.108 1.718.839.573 2.186.573 1.467 0 2.345-.613.879-.622.879-1.517 0-.723-.539-1.215-.53-.493-1.627-.744l-2.595-.572q-2.146-.493-3.174-1.568-1.017-1.075-1.018-2.722 0-1.367.759-2.391.758-1.026 2.096-1.598 1.337-.583 3.064-.583 2.484 0 3.912 1.085 1.427 1.075 1.886 2.884M146.714 22.579V7.147h2.984V22.58zm1.507-17.813q-.779 0-1.337-.522a1.7 1.7 0 0 1-.549-1.266q0-.744.549-1.266a1.87 1.87 0 0 1 1.337-.532q.779 0 1.328.532.558.522.558 1.266 0 .733-.558 1.266a1.86 1.86 0 0 1-1.328.522M155.713 13.416v9.163h-2.984V7.147h2.865V9.66h.189a4.4 4.4 0 0 1 1.657-1.97q1.137-.743 2.864-.743 1.567 0 2.745.663 1.178.654 1.826 1.95.65 1.296.649 3.204v9.816h-2.984v-9.454q0-1.677-.868-2.622-.868-.954-2.386-.955-1.038 0-1.846.453-.798.452-1.268 1.326-.459.864-.459 2.09M175.15 22.89q-2.266 0-3.903-.974-1.627-.985-2.515-2.763-.878-1.788-.878-4.19 0-2.37.878-4.179.888-1.807 2.475-2.823 1.597-1.014 3.733-1.015 1.297 0 2.515.432a6.1 6.1 0 0 1 2.186 1.357q.968.924 1.527 2.4.559 1.468.559 3.567v1.065h-12.186v-2.25h9.262q0-1.185-.48-2.1a3.63 3.63 0 0 0-1.347-1.457q-.858-.532-2.016-.532-1.257 0-2.196.623a4.2 4.2 0 0 0-1.437 1.607 4.66 4.66 0 0 0-.499 2.14v1.758q0 1.548.539 2.633.549 1.084 1.527 1.657.978.563 2.286.563.848 0 1.547-.241a3.3 3.3 0 0 0 1.207-.744 3.2 3.2 0 0 0 .779-1.215l2.824.512a5.16 5.16 0 0 1-1.217 2.2q-.869.935-2.186 1.457-1.308.512-2.984.512M195.542 10.915l-2.705.482a3.2 3.2 0 0 0-.539-.995 2.7 2.7 0 0 0-.978-.773q-.619-.302-1.547-.302-1.267 0-2.116.573-.848.562-.848 1.457 0 .773.569 1.246.569.471 1.836.773l2.435.563q2.116.492 3.154 1.517t1.038 2.662q0 1.387-.798 2.472-.789 1.074-2.206 1.688-1.407.612-3.264.612-2.574 0-4.201-1.105-1.627-1.114-1.997-3.165l2.885-.442q.269 1.136 1.108 1.718.838.573 2.185.573 1.467 0 2.346-.613.878-.622.878-1.517 0-.723-.539-1.215-.53-.493-1.627-.744l-2.595-.572q-2.145-.493-3.173-1.568-1.018-1.075-1.018-2.722 0-1.367.758-2.391.759-1.026 2.096-1.598 1.338-.583 3.064-.583 2.486 0 3.912 1.085 1.428 1.075 1.887 2.884M209.626 10.915l-2.705.482a3.2 3.2 0 0 0-.539-.995 2.66 2.66 0 0 0-.978-.773q-.618-.302-1.547-.302-1.267 0-2.116.573-.848.562-.848 1.457 0 .773.569 1.246.569.471 1.836.773l2.436.563q2.115.492 3.153 1.517t1.038 2.662q0 1.387-.798 2.472-.789 1.074-2.206 1.688-1.407.612-3.263.612-2.576 0-4.202-1.105-1.627-1.114-1.996-3.165l2.884-.442q.27 1.136 1.108 1.718.838.573 2.186.573 1.467 0 2.345-.613.879-.622.878-1.517 0-.723-.539-1.215-.528-.493-1.626-.744l-2.595-.572q-2.147-.493-3.174-1.568-1.018-1.075-1.018-2.722 0-1.367.758-2.391.76-1.026 2.096-1.598 1.338-.583 3.064-.583 2.485 0 3.913 1.085 1.427 1.075 1.886 2.884\"\n />\n </svg>\n );\n}\n\nexport function WiseBusinessSecondary() {\n return (\n <svg {...svgProps('WiseBusinessSecondary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.65 2.025h5.713L54.49 22.53h-5.713zm-7.202 0-3.856 11.813L38.91 2.025h-3.996l-5.048 11.778-.63-11.778h-5.538l1.927 20.505h4.592l5.678-12.969 1.998 12.97h4.522L49.88 2.024zm47.966 11.918H78.85c.07 2.664 1.664 4.416 4.013 4.416 1.77 0 3.172-.946 4.259-2.751l4.579 2.081c-1.575 3.1-4.89 5.122-8.978 5.122-5.573 0-9.271-3.75-9.271-9.78 0-6.624 4.346-11.321 10.48-11.321 5.398 0 8.798 3.645 8.798 9.324 0 .946-.106 1.892-.316 2.909m-5.082-3.926c0-2.383-1.332-3.89-3.47-3.89-2.208 0-4.031 1.577-4.522 3.89zM5.84 8.204.008 15.02h10.414l1.17-3.214H7.129l2.727-3.152.009-.084L8.092 5.52h7.976L9.885 22.53h4.231l7.466-20.505H2.294zm60.812-2.078c2.015 0 3.781 1.084 5.323 2.942l.81-5.78c-1.436-.973-3.382-1.578-5.958-1.578-5.117 0-7.991 2.997-7.991 6.8 0 2.637 1.472 4.25 3.89 5.293l1.157.525c2.155.92 2.734 1.376 2.734 2.349 0 1.007-.973 1.647-2.454 1.647-2.445.009-4.425-1.244-5.915-3.382l-.825 5.89c1.696 1.293 3.871 1.979 6.74 1.979 4.864 0 7.852-2.805 7.852-6.695 0-2.646-1.175-4.346-4.136-5.678l-1.262-.596c-1.753-.78-2.349-1.21-2.349-2.068 0-.93.815-1.648 2.384-1.648M9.8 45.312V28.964h5.924q1.722 0 2.851.575 1.13.567 1.69 1.54.562.966.561 2.18 0 1.021-.37 1.724-.372.694-.996 1.117a4.4 4.4 0 0 1-1.359.607v.16q.805.04 1.572.527.774.479 1.28 1.365.505.886.505 2.155 0 1.253-.584 2.25-.578.99-1.785 1.573-1.208.576-3.089.575zm2.44-2.115h3.523q1.755 0 2.512-.687.759-.686.758-1.716a2.72 2.72 0 0 0-1.492-2.45q-.712-.384-1.69-.384h-3.61zm0-7.16h3.27a3.3 3.3 0 0 0 1.478-.32q.663-.319 1.05-.894.395-.582.395-1.373 0-1.014-.703-1.7t-2.156-.686H12.24zM31.07 40.227v-7.176h2.37v12.261h-2.322V43.19h-.126q-.42.981-1.343 1.636-.917.647-2.283.647-1.17 0-2.07-.52-.891-.526-1.405-1.556-.506-1.03-.506-2.546v-7.799h2.362v7.512q0 1.252.687 1.995t1.785.743q.663 0 1.32-.336a2.8 2.8 0 0 0 1.097-1.013q.443-.679.435-1.725M44.926 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.489-.24-1.224-.24-1.003 0-1.675.455-.67.447-.671 1.158 0 .615.45.99T39.92 38l1.927.447q1.674.391 2.496 1.206.821.814.821 2.115 0 1.101-.631 1.964-.624.854-1.746 1.34-1.115.488-2.583.488-2.038 0-3.325-.879-1.288-.885-1.58-2.514l2.283-.351q.213.901.876 1.365.665.455 1.73.455 1.161 0 1.856-.487.696-.495.696-1.205 0-.576-.427-.966-.42-.392-1.287-.591l-2.054-.455q-1.698-.39-2.512-1.245-.806-.854-.806-2.163 0-1.087.6-1.9.6-.814 1.66-1.27 1.057-.462 2.424-.462 1.967 0 3.097.862 1.13.854 1.492 2.29M46.982 45.312v-12.26h2.361v12.26zm1.192-14.153q-.615 0-1.058-.415a1.36 1.36 0 0 1-.434-1.006q0-.59.434-1.005a1.48 1.48 0 0 1 1.058-.423q.617 0 1.05.423.444.415.443 1.005 0 .583-.442 1.006-.435.415-1.05.415M54.104 38.032v7.28h-2.362v-12.26h2.267v1.995h.15q.42-.974 1.311-1.565.9-.59 2.267-.59 1.24 0 2.172.526.933.519 1.446 1.549t.513 2.546v7.8h-2.361V37.8q0-1.334-.688-2.084-.687-.758-1.887-.758-.822 0-1.462.36a2.57 2.57 0 0 0-1.003 1.053q-.363.686-.363 1.66M69.486 45.56q-1.793 0-3.088-.775-1.288-.782-1.99-2.195-.696-1.42-.696-3.329 0-1.883.695-3.32.703-1.437 1.96-2.243 1.263-.806 2.953-.806a5.9 5.9 0 0 1 1.99.343q.965.343 1.73 1.077.766.735 1.21 1.908.441 1.166.441 2.834v.846h-9.644v-1.788h7.33q0-.942-.38-1.668a2.9 2.9 0 0 0-1.065-1.158q-.68-.423-1.596-.423-.995 0-1.738.495a3.3 3.3 0 0 0-1.137 1.277 3.7 3.7 0 0 0-.395 1.7v1.397q0 1.23.427 2.092.434.863 1.208 1.317.774.447 1.809.447a3.7 3.7 0 0 0 1.224-.192q.553-.2.956-.59a2.6 2.6 0 0 0 .616-.966l2.235.407a4.1 4.1 0 0 1-.963 1.748q-.688.742-1.73 1.158-1.035.406-2.362.407M85.625 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.49-.24-1.225-.24-1.003 0-1.674.455-.672.447-.672 1.158 0 .615.45.99t1.454.614l1.927.447q1.676.391 2.496 1.206.822.814.822 2.115 0 1.101-.632 1.964-.624.854-1.746 1.34-1.113.488-2.583.488-2.037 0-3.325-.879-1.287-.885-1.58-2.514l2.283-.351q.213.901.877 1.365.663.455 1.73.455 1.16 0 1.856-.487.695-.495.695-1.205 0-.576-.427-.966-.418-.392-1.287-.591l-2.054-.455q-1.699-.39-2.512-1.245-.805-.854-.805-2.163 0-1.087.6-1.9.6-.814 1.659-1.27 1.058-.462 2.425-.462 1.966 0 3.096.862 1.129.854 1.493 2.29M96.771 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.489-.24-1.224-.24-1.003 0-1.675.455-.67.447-.671 1.158 0 .615.45.99t1.453.614l1.928.447q1.674.391 2.496 1.206.82.814.821 2.115 0 1.101-.632 1.964-.624.854-1.745 1.34-1.114.488-2.583.488-2.038 0-3.326-.879-1.287-.885-1.58-2.514l2.284-.351q.213.901.876 1.365.665.455 1.73.455 1.161 0 1.856-.487.695-.495.695-1.205 0-.576-.426-.966-.419-.392-1.288-.591l-2.053-.455q-1.7-.39-2.512-1.245-.806-.854-.806-2.163 0-1.087.6-1.9.6-.814 1.66-1.27 1.057-.462 2.424-.462 1.967 0 3.096.862 1.13.854 1.493 2.29\"\n />\n </svg>\n );\n}\n\nexport function WisePlatformPrimary() {\n return (\n <svg {...svgProps('WisePlatformPrimary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.642 2.024h5.714L54.482 22.53h-5.714zm-7.203 0-3.855 11.813L38.9 2.024h-3.995l-5.048 11.778-.63-11.778h-5.539l1.928 20.507h4.592l5.678-12.97 1.998 12.97h4.522l7.465-20.507zm47.968 11.919H78.842c.07 2.664 1.665 4.417 4.013 4.417 1.77 0 3.172-.947 4.26-2.752l4.579 2.082c-1.574 3.1-4.89 5.122-8.979 5.122-5.573 0-9.27-3.751-9.27-9.78 0-6.626 4.346-11.324 10.48-11.324 5.397 0 8.797 3.646 8.797 9.325 0 .946-.105 1.893-.315 2.91m-5.083-3.927c0-2.383-1.331-3.89-3.47-3.89-2.138 0-4.03 1.577-4.521 3.89zM5.832 8.202 0 15.02h10.414l1.17-3.215H7.122L9.85 8.651l.01-.084-1.774-3.052h7.975L9.877 22.53h4.231l7.466-20.505H2.285l3.546 6.18zm60.812-2.077c2.016 0 3.782 1.083 5.325 2.941l.81-5.78c-1.438-.973-3.383-1.578-5.96-1.578-5.117 0-7.991 2.997-7.991 6.8 0 2.639 1.472 4.251 3.89 5.294l1.157.526c2.156.92 2.734 1.376 2.734 2.349s-.972 1.648-2.453 1.648c-2.445.008-4.426-1.245-5.915-3.383l-.826 5.89c1.697 1.294 3.872 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.647-1.174-4.347-4.136-5.679l-1.262-.596c-1.752-.78-2.348-1.21-2.348-2.068 0-.93.815-1.648 2.383-1.648m46.546-.897q-.784-1.513-2.362-2.388-1.578-.874-3.98-.874H99.51v20.588h3.105v-7.237h4.222q2.392 0 3.975-.88 1.582-.88 2.373-2.393.789-1.512.789-3.412 0-1.89-.784-3.403zm-2.784 5.482q-.443.914-1.387 1.443-.946.527-2.462.527h-3.94V4.629h3.9q1.548 0 2.497.514.95.513 1.392 1.418t.441 2.07q0 1.166-.441 2.08m8.71-8.744v20.588h-3.006V1.966zm7.907 20.93q-1.468 0-2.653-.549a4.4 4.4 0 0 1-1.875-1.593q-.69-1.045-.689-2.565 0-1.305.503-2.15a3.7 3.7 0 0 1 1.356-1.338 7 7 0 0 1 1.911-.743 19 19 0 0 1 2.15-.382q1.387-.16 2.252-.266.865-.105 1.257-.347t.392-.784v-.07q0-1.317-.739-2.04-.74-.723-2.196-.724c-.971 0-1.807.223-2.387.668q-.87.668-1.201 1.483l-2.825-.644q.502-1.406 1.472-2.276a6 6 0 0 1 2.236-1.268 8.9 8.9 0 0 1 2.664-.398q.926 0 1.965.216a5.9 5.9 0 0 1 1.951.789q.91.574 1.493 1.633t.583 2.75v10.254h-2.935v-2.11h-.121q-.292.584-.875 1.146-.583.563-1.498.934-.916.372-2.191.372zm.654-2.414q1.246 0 2.136-.492.89-.493 1.357-1.292a3.34 3.34 0 0 0 .468-1.714v-1.992q-.161.161-.619.297a8 8 0 0 1-1.041.231q-.584.095-1.136.172l-.925.126a7.4 7.4 0 0 0-1.593.372q-.719.262-1.146.748-.428.488-.428 1.292 0 1.116.824 1.684.822.568 2.101.568zm16.66-.533q-.15.032-.423.08-.271.051-.632.052-.492 0-.91-.156t-.678-.593q-.262-.436-.261-1.312V9.526h3.167V7.114h-3.167V3.412h-3.006v3.7h-2.261v2.412h2.261v9.118q0 1.396.633 2.322a3.8 3.8 0 0 0 1.658 1.367 5.3 5.3 0 0 0 2.211.423 6.2 6.2 0 0 0 1.206-.116q.484-.104.743-.207l-.543-2.483zm7.753-15.792q.467-.543 1.563-.544.474 0 .805.086.33.086.543.146l.704-2.433A7.145 7.145 0 0 0 153.203 1q-1.226 0-2.271.477a3.93 3.93 0 0 0-1.679 1.437q-.634.96-.633 2.408v1.79h-2.392v2.412h2.392v13.028h3.006V9.526h3.326V7.114h-3.326V5.727q0-1.025.467-1.568zm10.752 18.707q-2.172 0-3.789-.995-1.62-.996-2.513-2.786-.894-1.79-.894-4.182c0-1.595.298-3.002.894-4.201q.894-1.799 2.513-2.794t3.789-.996 3.789.996 2.513 2.794q.894 1.8.894 4.201c0 1.6-.298 2.989-.894 4.182q-.894 1.79-2.513 2.786-1.62.995-3.789.995m.01-2.522q1.407 0 2.333-.743.925-.745 1.372-1.98.447-1.237.447-2.725c0-.992-.149-1.891-.447-2.718q-.447-1.243-1.372-1.995-.924-.754-2.333-.754c-.939 0-1.728.251-2.346.754q-.931.754-1.378 1.995-.447 1.24-.447 2.718c0 .985.149 1.9.447 2.724q.447 1.237 1.378 1.98.93.745 2.346.744m9.596 2.21V7.112h2.904v2.452h.161a3.74 3.74 0 0 1 1.493-1.965q1.07-.717 2.427-.718.281 0 .668.019.387.02.608.05v2.875a6 6 0 0 0-.643-.115 7 7 0 0 0-.925-.065q-1.066 0-1.895.447t-1.311 1.235q-.483.79-.482 1.795v9.43zm10.249 0V7.112h2.884v2.513h.191q.484-1.277 1.578-1.994 1.096-.719 2.623-.719c1.018 0 1.898.242 2.599.724q1.051.723 1.553 1.991h.161q.552-1.237 1.76-1.975 1.207-.74 2.874-.74 2.1.001 3.433 1.316 1.333 1.318 1.332 3.972v10.354h-3.006V12.48q0-1.569-.853-2.272-.855-.705-2.04-.705-1.467 0-2.282.9t-.815 2.306v9.842h-2.995V12.288q0-1.256-.783-2.021-.784-.764-2.04-.764-.855 0-1.574.447a3.3 3.3 0 0 0-1.157 1.24q-.436.796-.436 1.84v9.519h-3.006z\"\n />\n </svg>\n );\n}\n\nexport function WisePlatformSecondary() {\n return (\n <svg {...svgProps('WisePlatformSecondary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.646 2.025h5.714l-2.874 20.507h-5.714zm-7.203 0L40.587 13.84 38.904 2.024h-3.996L29.86 13.803l-.63-11.778H23.69l1.928 20.507h4.592l5.679-12.97 1.998 12.97h4.522l7.466-20.507zm47.97 11.919H78.849c.07 2.664 1.665 4.416 4.013 4.416 1.77 0 3.173-.946 4.26-2.751l4.58 2.082c-1.575 3.1-4.89 5.121-8.98 5.121-5.573 0-9.272-3.75-9.272-9.78 0-6.625 4.347-11.322 10.481-11.322 5.399 0 8.799 3.646 8.799 9.324 0 .947-.105 1.893-.316 2.91m-5.082-3.926c0-2.384-1.332-3.891-3.47-3.891s-4.032 1.577-4.523 3.89zM5.833 8.205 0 15.022h10.414l1.171-3.215H7.123L9.85 8.654l.009-.084-1.774-3.051h7.977L9.878 22.532h4.231l7.467-20.507H2.286l3.545 6.18zm60.816-2.078c2.016 0 3.782 1.083 5.325 2.94l.81-5.78c-1.438-.972-3.383-1.577-5.96-1.577-5.117 0-7.992 2.997-7.992 6.8 0 2.638 1.472 4.25 3.891 5.293l1.157.526c2.156.92 2.734 1.376 2.734 2.349s-.973 1.647-2.454 1.647c-2.445.01-4.425-1.244-5.915-3.382l-.825 5.89c1.696 1.294 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.647-1.174-4.347-4.136-5.679l-1.262-.596c-1.753-.78-2.349-1.209-2.349-2.068 0-.929.816-1.647 2.384-1.647M18.794 29.697q-1.243-.69-3.136-.69h-5.78v16.217h2.447v-5.702h3.325q1.884 0 3.132-.692 1.246-.694 1.868-1.884.622-1.192.622-2.689c0-.997-.207-1.886-.617-2.68q-.618-1.191-1.861-1.88m-.333 6.199q-.349.72-1.092 1.136t-1.94.415h-3.104v-6.343h3.072q1.22 0 1.969.403.749.405 1.097 1.117.349.712.348 1.631 0 .918-.348 1.64zM25.323 29.008h-2.368v16.216h2.368zM35.918 33.695a4.6 4.6 0 0 0-1.537-.623 7.6 7.6 0 0 0-1.548-.17q-1.102 0-2.098.312a4.7 4.7 0 0 0-1.761.998q-.765.686-1.16 1.793l2.225.506q.261-.642.947-1.167.685-.526 1.88-.526c.798 0 1.343.19 1.73.57q.582.57.582 1.607v.056q0 .428-.308.617-.31.189-.99.273-.681.085-1.774.21-.863.103-1.695.302a5.6 5.6 0 0 0-1.504.585q-.673.389-1.07 1.054-.396.664-.395 1.695 0 1.196.541 2.019.542.822 1.476 1.255.934.43 2.091.43 1.005 0 1.726-.292.72-.291 1.18-.736.46-.443.689-.903h.094v1.664h2.312v-8.077q.001-1.33-.46-2.166-.459-.835-1.175-1.286zm-.733 7.142q0 .72-.368 1.35a2.75 2.75 0 0 1-1.07 1.018q-.7.388-1.682.387c-.653 0-1.221-.149-1.654-.447q-.65-.447-.649-1.327 0-.632.337-1.016T31 40.21a5.8 5.8 0 0 1 1.255-.293q.292-.04.73-.098.435-.06.893-.135.46-.074.82-.182.361-.108.488-.233v1.569zM44.858 43.237q-.212.04-.5.04-.388 0-.716-.123a1.05 1.05 0 0 1-.535-.468q-.205-.345-.205-1.034v-6.69h2.494v-1.9h-2.494v-2.914h-2.368v2.914h-1.78v1.9h1.78v7.182q0 1.101.5 1.83.498.729 1.306 1.077a4.15 4.15 0 0 0 1.742.332 5 5 0 0 0 .95-.09 4 4 0 0 0 .585-.164l-.428-1.956q-.117.024-.333.063zM51.297 30.732q.369-.427 1.23-.427.374 0 .633.066.262.068.428.116l.554-1.916a5.575 5.575 0 0 0-1.972-.324 4.3 4.3 0 0 0-1.79.377q-.824.377-1.32 1.132-.5.757-.5 1.896v1.41h-1.884v1.9h1.884v10.261h2.368V34.963h2.62v-1.9h-2.62V31.97q0-.807.368-1.236zM62.751 33.688q-1.275-.784-2.985-.784t-2.984.784-1.98 2.201-.704 3.31c0 1.26.235 2.353.705 3.293q.704 1.409 1.979 2.192t2.984.784 2.985-.784 1.979-2.192.704-3.294c0-1.255-.234-2.364-.704-3.309q-.705-1.418-1.979-2.201m-.058 7.648q-.352.974-1.081 1.56-.728.586-1.837.586c-.74 0-1.36-.195-1.849-.586q-.733-.586-1.085-1.56a6.3 6.3 0 0 1-.352-2.145c0-.78.117-1.49.352-2.142q.352-.978 1.085-1.572c.49-.396 1.104-.594 1.85-.594.744 0 1.35.198 1.836.594q.728.594 1.081 1.572t.353 2.142a6.3 6.3 0 0 1-.353 2.145M72.836 32.88q-1.07 0-1.912.566a2.96 2.96 0 0 0-1.176 1.547h-.126v-1.931h-2.29v12.162h2.369v-7.428a2.64 2.64 0 0 1 1.414-2.387q.652-.352 1.493-.352.365 0 .73.05.364.052.506.092v-2.265a7 7 0 0 0-.479-.04q-.304-.015-.527-.016zM90.892 33.94q-1.049-1.036-2.704-1.038-1.315 0-2.265.582a3.45 3.45 0 0 0-1.386 1.557h-.126q-.396-.999-1.224-1.567-.827-.57-2.047-.57c-.813 0-1.491.19-2.066.566q-.863.566-1.243 1.572h-.15v-1.978h-2.274v12.161h2.368v-7.498q0-.823.344-1.449.344-.625.911-.978.565-.352 1.24-.352.988 0 1.606.6.618.603.617 1.592v8.085h2.36v-7.752q0-1.109.64-1.817.643-.708 1.8-.708.933 0 1.606.554.674.554.673 1.79v7.933h2.368V37.07q0-2.09-1.05-3.128z\"\n />\n </svg>\n );\n}\n"],"names":["logoAssetsDimensions","FastFlag","width","height","WiseLogo","WiseBusinessPrimary","WiseBusinessSecondary","WisePlatformPrimary","WisePlatformSecondary","svgProps","name","xmlns","viewBox","_jsx","children","fill","d"],"mappings":";;;;AAAO,MAAMA,oBAAoB,GAAG;AAClCC,EAAAA,QAAQ,EAAE;AACR,IAAA,EAAE,EAAE;AAAEC,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;AAAE;GAC5B;AACDC,EAAAA,QAAQ,EAAE;AACR,IAAA,EAAE,EAAE;AAAEF,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA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BC,MAAAA,CAAC,EAAC;KAAqsJ;AAE3sJ,GAAK,CAAC;AAEV;SAEgBV,qBAAqBA,GAAA;AACnC,EAAA,oBACEO,cAAA,CAAA,KAAA,EAAA;IAAA,GAASJ,QAAQ,CAAC,uBAAuB,CAAC;AAAAK,IAAAA,QAAA,eACxCD,cAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAAs8I;AAE58I,GAAK,CAAC;AAEV;SAEgBT,mBAAmBA,GAAA;AACjC,EAAA,oBACEM,cAAA,CAAA,KAAA,EAAA;IAAA,GAASJ,QAAQ,CAAC,qBAAqB,CAAC;AAAAK,IAAAA,QAAA,eACtCD,cAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAA61H;AAEn2H,GAAK,CAAC;AAEV;SAEgBR,qBAAqBA,GAAA;AACnC,EAAA,oBACEK,cAAA,CAAA,KAAA,EAAA;IAAA,GAASJ,QAAQ,CAAC,uBAAuB,CAAC;AAAAK,IAAAA,QAAA,eACxCD,cAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAAszH;AAE5zH,GAAK,CAAC;AAEV;;;;;;;;;;"}
@@ -2,39 +2,171 @@ import { jsx } from 'react/jsx-runtime';
2
2
 
3
3
  const logoAssetsDimensions = {
4
4
  FastFlag: {
5
- width: 22,
6
- height: 24
5
+ 16: {
6
+ width: 16,
7
+ height: 16
8
+ },
9
+ 18: {
10
+ width: 18,
11
+ height: 18
12
+ },
13
+ 20: {
14
+ width: 20,
15
+ height: 20
16
+ },
17
+ 24: {
18
+ width: 24,
19
+ height: 24
20
+ },
21
+ 28: {
22
+ width: 28,
23
+ height: 28
24
+ },
25
+ 36: {
26
+ width: 36,
27
+ height: 36
28
+ }
7
29
  },
8
30
  WiseLogo: {
9
- width: 94,
10
- height: 24
31
+ 16: {
32
+ width: 64,
33
+ height: 16
34
+ },
35
+ 18: {
36
+ width: 72,
37
+ height: 18
38
+ },
39
+ 20: {
40
+ width: 80,
41
+ height: 20
42
+ },
43
+ 24: {
44
+ width: 96,
45
+ height: 24
46
+ },
47
+ 28: {
48
+ width: 112,
49
+ height: 28
50
+ },
51
+ 36: {
52
+ width: 144,
53
+ height: 36
54
+ }
11
55
  },
12
56
  WiseBusinessPrimary: {
13
- width: 210,
14
- height: 24
57
+ 16: {
58
+ width: 140,
59
+ height: 16
60
+ },
61
+ 18: {
62
+ width: 157.5,
63
+ height: 18
64
+ },
65
+ 20: {
66
+ width: 175,
67
+ height: 20
68
+ },
69
+ 24: {
70
+ width: 210,
71
+ height: 24
72
+ },
73
+ 28: {
74
+ width: 245,
75
+ height: 28
76
+ },
77
+ 36: {
78
+ width: 315,
79
+ height: 36
80
+ }
15
81
  },
16
82
  WiseBusinessSecondary: {
17
- width: 97,
18
- height: 46
83
+ 16: {
84
+ width: 68,
85
+ height: 32
86
+ },
87
+ 18: {
88
+ width: 76.5,
89
+ height: 36
90
+ },
91
+ 20: {
92
+ width: 85,
93
+ height: 40
94
+ },
95
+ 24: {
96
+ width: 102,
97
+ height: 48
98
+ },
99
+ 28: {
100
+ width: 119,
101
+ height: 56
102
+ },
103
+ 36: {
104
+ width: 153,
105
+ height: 72
106
+ }
19
107
  },
20
108
  WisePlatformPrimary: {
21
- width: 205,
22
- height: 24
109
+ 16: {
110
+ width: 136,
111
+ height: 16
112
+ },
113
+ 18: {
114
+ width: 153,
115
+ height: 18
116
+ },
117
+ 20: {
118
+ width: 170,
119
+ height: 20
120
+ },
121
+ 24: {
122
+ width: 204,
123
+ height: 24
124
+ },
125
+ 28: {
126
+ width: 238,
127
+ height: 28
128
+ },
129
+ 36: {
130
+ width: 306,
131
+ height: 36
132
+ }
23
133
  },
24
134
  WisePlatformSecondary: {
25
- width: 94,
26
- height: 46
135
+ 16: {
136
+ width: 64,
137
+ height: 32
138
+ },
139
+ 18: {
140
+ width: 72,
141
+ height: 36
142
+ },
143
+ 20: {
144
+ width: 80,
145
+ height: 40
146
+ },
147
+ 24: {
148
+ width: 96,
149
+ height: 48
150
+ },
151
+ 28: {
152
+ width: 112,
153
+ height: 56
154
+ },
155
+ 36: {
156
+ width: 144,
157
+ height: 72
158
+ }
27
159
  }
28
160
  };
29
161
  function svgProps(name) {
30
162
  const {
31
163
  width,
32
164
  height
33
- } = logoAssetsDimensions[name];
165
+ } = logoAssetsDimensions[name][24];
34
166
  return {
35
167
  xmlns: 'http://www.w3.org/2000/svg',
36
- width,
37
- height,
168
+ width: '100%',
169
+ height: '100%',
38
170
  viewBox: `0 0 ${width} ${height}`
39
171
  };
40
172
  }
@@ -1 +1 @@
1
- {"version":3,"file":"logo-assets.mjs","sources":["../../src/logo/logo-assets.tsx"],"sourcesContent":["export const logoAssetsDimensions = {\n FastFlag: { width: 22, height: 24 },\n WiseLogo: { width: 94, height: 24 },\n WiseBusinessPrimary: { width: 210, height: 24 },\n WiseBusinessSecondary: { width: 97, height: 46 },\n WisePlatformPrimary: { width: 205, height: 24 },\n WisePlatformSecondary: { width: 94, height: 46 },\n} as const;\n\nexport type LogoAssetName = keyof typeof logoAssetsDimensions;\n\nfunction svgProps(name: LogoAssetName) {\n const { width, height } = logoAssetsDimensions[name];\n return { xmlns: 'http://www.w3.org/2000/svg', width, height, viewBox: `0 0 ${width} ${height}` };\n}\n\nexport function FastFlag() {\n return (\n <svg {...svgProps('FastFlag')}>\n <path\n fill=\"currentColor\"\n d=\"m0 15.02 5.835-6.818h-.002l-3.547-6.18h19.296L14.113 22.53H9.881l6.186-17.016h-7.98l1.775 3.052-.009.084-2.728 3.154h4.464l-1.171 3.215z\"\n />\n </svg>\n );\n}\n\nexport function WiseLogo() {\n return (\n <svg {...svgProps('WiseLogo')}>\n <path\n fill=\"currentColor\"\n d=\"M51.644 2.027h5.713l-2.874 20.506H48.77zm-7.203 0L40.585 13.84 38.903 2.027h-3.996l-5.048 11.778-.63-11.778h-5.54l1.929 20.506h4.592l5.678-12.97 1.998 12.97h4.522l7.466-20.506zm47.968 11.918H78.844c.07 2.664 1.665 4.417 4.014 4.417 1.77 0 3.172-.947 4.259-2.752l4.58 2.082c-1.575 3.1-4.89 5.121-8.98 5.121-5.573 0-9.27-3.75-9.27-9.78 0-6.624 4.346-11.321 10.48-11.321 5.398 0 8.798 3.645 8.798 9.324 0 .946-.105 1.893-.316 2.91m-5.082-3.926c0-2.383-1.332-3.89-3.47-3.89s-4.031 1.577-4.522 3.89zM5.833 8.207 0 15.023h10.414l1.17-3.214H7.124L9.85 8.656l.008-.084L8.085 5.52h7.976L9.878 22.533h4.23l7.467-20.506H2.285l3.546 6.18zm60.813-2.079c2.016 0 3.782 1.084 5.325 2.941l.81-5.78c-1.438-.972-3.383-1.577-5.96-1.577-5.117 0-7.991 2.997-7.991 6.8 0 2.638 1.472 4.25 3.89 5.293l1.157.526c2.156.92 2.734 1.375 2.734 2.348s-.973 1.648-2.454 1.648c-2.444.008-4.425-1.245-5.915-3.383l-.825 5.89c1.697 1.294 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.646-1.174-4.346-4.136-5.678l-1.262-.596c-1.752-.78-2.348-1.21-2.348-2.068 0-.929.815-1.648 2.383-1.648\"\n />\n </svg>\n );\n}\n\nexport function WiseBusinessPrimary() {\n return (\n <svg {...svgProps('WiseBusinessPrimary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.641 2.022h5.713L54.48 22.534h-5.713zm-7.202 0-3.856 11.816-1.682-11.816h-3.996l-5.047 11.781-.631-11.781h-5.538l1.928 20.512h4.591L35.887 9.56l1.997 12.974h4.522l7.466-20.512zm47.966 11.921H78.84c.07 2.665 1.665 4.418 4.014 4.418 1.77 0 3.172-.946 4.258-2.752l4.58 2.082c-1.575 3.102-4.891 5.124-8.978 5.124-5.573 0-9.271-3.752-9.271-9.783 0-6.627 4.346-11.326 10.48-11.326 5.397 0 8.797 3.647 8.797 9.327 0 .947-.105 1.894-.315 2.91m-5.082-3.927c0-2.384-1.332-3.892-3.47-3.892-2.209 0-4.031 1.578-4.522 3.892zM5.832 8.203 0 15.02h10.413l1.17-3.215H7.121l2.727-3.153.008-.084-1.773-3.053h7.976L9.877 22.534h4.23l7.466-20.512H2.286zm60.81-2.079c2.016 0 3.782 1.084 5.324 2.943l.81-5.783c-1.436-.973-3.382-1.578-5.958-1.578-5.117 0-7.991 2.998-7.991 6.802 0 2.639 1.472 4.252 3.89 5.295l1.157.526c2.155.92 2.734 1.376 2.734 2.35 0 1.007-.973 1.647-2.454 1.647-2.445.01-4.425-1.245-5.914-3.383l-.826 5.891c1.696 1.295 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.697 0-2.647-1.175-4.348-4.136-5.68l-1.262-.596c-1.753-.78-2.349-1.21-2.349-2.069 0-.93.815-1.648 2.384-1.648M99.733 22.579V2.004h7.485q2.176 0 3.603.723 1.428.713 2.136 1.939.709 1.215.709 2.743 0 1.285-.469 2.17a3.9 3.9 0 0 1-1.258 1.406 5.5 5.5 0 0 1-1.717.764v.2q1.019.05 1.986.664.979.602 1.617 1.718.639 1.114.639 2.712 0 1.578-.738 2.833-.729 1.245-2.256 1.98-1.527.723-3.902.723zm3.084-2.663h4.451q2.215 0 3.174-.864.958-.863.958-2.16 0-.974-.489-1.788-.49-.813-1.397-1.296-.898-.482-2.136-.482h-4.561zm0-9.011h4.132q1.038 0 1.866-.402a3.3 3.3 0 0 0 1.328-1.125q.498-.734.499-1.728 0-1.275-.889-2.14-.888-.864-2.724-.864h-4.212zM126.61 16.18V7.146h2.994V22.58h-2.934v-2.672h-.16q-.529 1.235-1.697 2.059-1.158.814-2.884.814-1.478 0-2.615-.653-1.128-.663-1.777-1.96-.638-1.295-.638-3.204V7.147h2.984v9.454q0 1.578.868 2.512.869.934 2.256.934.838 0 1.666-.422a3.5 3.5 0 0 0 1.388-1.276q.558-.853.549-2.17M144.117 10.915l-2.704.482a3.3 3.3 0 0 0-.539-.995 2.7 2.7 0 0 0-.978-.773q-.62-.302-1.547-.302-1.268 0-2.116.573-.849.562-.849 1.457 0 .773.569 1.246.57.471 1.837.773l2.435.563q2.115.492 3.154 1.517t1.038 2.662a4.06 4.06 0 0 1-.799 2.472q-.788 1.074-2.205 1.688-1.408.612-3.264.612-2.575 0-4.202-1.105-1.627-1.114-1.996-3.165l2.884-.442q.27 1.136 1.108 1.718.839.573 2.186.573 1.467 0 2.345-.613.879-.622.879-1.517 0-.723-.539-1.215-.53-.493-1.627-.744l-2.595-.572q-2.146-.493-3.174-1.568-1.017-1.075-1.018-2.722 0-1.367.759-2.391.758-1.026 2.096-1.598 1.337-.583 3.064-.583 2.484 0 3.912 1.085 1.427 1.075 1.886 2.884M146.714 22.579V7.147h2.984V22.58zm1.507-17.813q-.779 0-1.337-.522a1.7 1.7 0 0 1-.549-1.266q0-.744.549-1.266a1.87 1.87 0 0 1 1.337-.532q.779 0 1.328.532.558.522.558 1.266 0 .733-.558 1.266a1.86 1.86 0 0 1-1.328.522M155.713 13.416v9.163h-2.984V7.147h2.865V9.66h.189a4.4 4.4 0 0 1 1.657-1.97q1.137-.743 2.864-.743 1.567 0 2.745.663 1.178.654 1.826 1.95.65 1.296.649 3.204v9.816h-2.984v-9.454q0-1.677-.868-2.622-.868-.954-2.386-.955-1.038 0-1.846.453-.798.452-1.268 1.326-.459.864-.459 2.09M175.15 22.89q-2.266 0-3.903-.974-1.627-.985-2.515-2.763-.878-1.788-.878-4.19 0-2.37.878-4.179.888-1.807 2.475-2.823 1.597-1.014 3.733-1.015 1.297 0 2.515.432a6.1 6.1 0 0 1 2.186 1.357q.968.924 1.527 2.4.559 1.468.559 3.567v1.065h-12.186v-2.25h9.262q0-1.185-.48-2.1a3.63 3.63 0 0 0-1.347-1.457q-.858-.532-2.016-.532-1.257 0-2.196.623a4.2 4.2 0 0 0-1.437 1.607 4.66 4.66 0 0 0-.499 2.14v1.758q0 1.548.539 2.633.549 1.084 1.527 1.657.978.563 2.286.563.848 0 1.547-.241a3.3 3.3 0 0 0 1.207-.744 3.2 3.2 0 0 0 .779-1.215l2.824.512a5.16 5.16 0 0 1-1.217 2.2q-.869.935-2.186 1.457-1.308.512-2.984.512M195.542 10.915l-2.705.482a3.2 3.2 0 0 0-.539-.995 2.7 2.7 0 0 0-.978-.773q-.619-.302-1.547-.302-1.267 0-2.116.573-.848.562-.848 1.457 0 .773.569 1.246.569.471 1.836.773l2.435.563q2.116.492 3.154 1.517t1.038 2.662q0 1.387-.798 2.472-.789 1.074-2.206 1.688-1.407.612-3.264.612-2.574 0-4.201-1.105-1.627-1.114-1.997-3.165l2.885-.442q.269 1.136 1.108 1.718.838.573 2.185.573 1.467 0 2.346-.613.878-.622.878-1.517 0-.723-.539-1.215-.53-.493-1.627-.744l-2.595-.572q-2.145-.493-3.173-1.568-1.018-1.075-1.018-2.722 0-1.367.758-2.391.759-1.026 2.096-1.598 1.338-.583 3.064-.583 2.486 0 3.912 1.085 1.428 1.075 1.887 2.884M209.626 10.915l-2.705.482a3.2 3.2 0 0 0-.539-.995 2.66 2.66 0 0 0-.978-.773q-.618-.302-1.547-.302-1.267 0-2.116.573-.848.562-.848 1.457 0 .773.569 1.246.569.471 1.836.773l2.436.563q2.115.492 3.153 1.517t1.038 2.662q0 1.387-.798 2.472-.789 1.074-2.206 1.688-1.407.612-3.263.612-2.576 0-4.202-1.105-1.627-1.114-1.996-3.165l2.884-.442q.27 1.136 1.108 1.718.838.573 2.186.573 1.467 0 2.345-.613.879-.622.878-1.517 0-.723-.539-1.215-.528-.493-1.626-.744l-2.595-.572q-2.147-.493-3.174-1.568-1.018-1.075-1.018-2.722 0-1.367.758-2.391.76-1.026 2.096-1.598 1.338-.583 3.064-.583 2.485 0 3.913 1.085 1.427 1.075 1.886 2.884\"\n />\n </svg>\n );\n}\n\nexport function WiseBusinessSecondary() {\n return (\n <svg {...svgProps('WiseBusinessSecondary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.65 2.025h5.713L54.49 22.53h-5.713zm-7.202 0-3.856 11.813L38.91 2.025h-3.996l-5.048 11.778-.63-11.778h-5.538l1.927 20.505h4.592l5.678-12.969 1.998 12.97h4.522L49.88 2.024zm47.966 11.918H78.85c.07 2.664 1.664 4.416 4.013 4.416 1.77 0 3.172-.946 4.259-2.751l4.579 2.081c-1.575 3.1-4.89 5.122-8.978 5.122-5.573 0-9.271-3.75-9.271-9.78 0-6.624 4.346-11.321 10.48-11.321 5.398 0 8.798 3.645 8.798 9.324 0 .946-.106 1.892-.316 2.909m-5.082-3.926c0-2.383-1.332-3.89-3.47-3.89-2.208 0-4.031 1.577-4.522 3.89zM5.84 8.204.008 15.02h10.414l1.17-3.214H7.129l2.727-3.152.009-.084L8.092 5.52h7.976L9.885 22.53h4.231l7.466-20.505H2.294zm60.812-2.078c2.015 0 3.781 1.084 5.323 2.942l.81-5.78c-1.436-.973-3.382-1.578-5.958-1.578-5.117 0-7.991 2.997-7.991 6.8 0 2.637 1.472 4.25 3.89 5.293l1.157.525c2.155.92 2.734 1.376 2.734 2.349 0 1.007-.973 1.647-2.454 1.647-2.445.009-4.425-1.244-5.915-3.382l-.825 5.89c1.696 1.293 3.871 1.979 6.74 1.979 4.864 0 7.852-2.805 7.852-6.695 0-2.646-1.175-4.346-4.136-5.678l-1.262-.596c-1.753-.78-2.349-1.21-2.349-2.068 0-.93.815-1.648 2.384-1.648M9.8 45.312V28.964h5.924q1.722 0 2.851.575 1.13.567 1.69 1.54.562.966.561 2.18 0 1.021-.37 1.724-.372.694-.996 1.117a4.4 4.4 0 0 1-1.359.607v.16q.805.04 1.572.527.774.479 1.28 1.365.505.886.505 2.155 0 1.253-.584 2.25-.578.99-1.785 1.573-1.208.576-3.089.575zm2.44-2.115h3.523q1.755 0 2.512-.687.759-.686.758-1.716a2.72 2.72 0 0 0-1.492-2.45q-.712-.384-1.69-.384h-3.61zm0-7.16h3.27a3.3 3.3 0 0 0 1.478-.32q.663-.319 1.05-.894.395-.582.395-1.373 0-1.014-.703-1.7t-2.156-.686H12.24zM31.07 40.227v-7.176h2.37v12.261h-2.322V43.19h-.126q-.42.981-1.343 1.636-.917.647-2.283.647-1.17 0-2.07-.52-.891-.526-1.405-1.556-.506-1.03-.506-2.546v-7.799h2.362v7.512q0 1.252.687 1.995t1.785.743q.663 0 1.32-.336a2.8 2.8 0 0 0 1.097-1.013q.443-.679.435-1.725M44.926 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.489-.24-1.224-.24-1.003 0-1.675.455-.67.447-.671 1.158 0 .615.45.99T39.92 38l1.927.447q1.674.391 2.496 1.206.821.814.821 2.115 0 1.101-.631 1.964-.624.854-1.746 1.34-1.115.488-2.583.488-2.038 0-3.325-.879-1.288-.885-1.58-2.514l2.283-.351q.213.901.876 1.365.665.455 1.73.455 1.161 0 1.856-.487.696-.495.696-1.205 0-.576-.427-.966-.42-.392-1.287-.591l-2.054-.455q-1.698-.39-2.512-1.245-.806-.854-.806-2.163 0-1.087.6-1.9.6-.814 1.66-1.27 1.057-.462 2.424-.462 1.967 0 3.097.862 1.13.854 1.492 2.29M46.982 45.312v-12.26h2.361v12.26zm1.192-14.153q-.615 0-1.058-.415a1.36 1.36 0 0 1-.434-1.006q0-.59.434-1.005a1.48 1.48 0 0 1 1.058-.423q.617 0 1.05.423.444.415.443 1.005 0 .583-.442 1.006-.435.415-1.05.415M54.104 38.032v7.28h-2.362v-12.26h2.267v1.995h.15q.42-.974 1.311-1.565.9-.59 2.267-.59 1.24 0 2.172.526.933.519 1.446 1.549t.513 2.546v7.8h-2.361V37.8q0-1.334-.688-2.084-.687-.758-1.887-.758-.822 0-1.462.36a2.57 2.57 0 0 0-1.003 1.053q-.363.686-.363 1.66M69.486 45.56q-1.793 0-3.088-.775-1.288-.782-1.99-2.195-.696-1.42-.696-3.329 0-1.883.695-3.32.703-1.437 1.96-2.243 1.263-.806 2.953-.806a5.9 5.9 0 0 1 1.99.343q.965.343 1.73 1.077.766.735 1.21 1.908.441 1.166.441 2.834v.846h-9.644v-1.788h7.33q0-.942-.38-1.668a2.9 2.9 0 0 0-1.065-1.158q-.68-.423-1.596-.423-.995 0-1.738.495a3.3 3.3 0 0 0-1.137 1.277 3.7 3.7 0 0 0-.395 1.7v1.397q0 1.23.427 2.092.434.863 1.208 1.317.774.447 1.809.447a3.7 3.7 0 0 0 1.224-.192q.553-.2.956-.59a2.6 2.6 0 0 0 .616-.966l2.235.407a4.1 4.1 0 0 1-.963 1.748q-.688.742-1.73 1.158-1.035.406-2.362.407M85.625 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.49-.24-1.225-.24-1.003 0-1.674.455-.672.447-.672 1.158 0 .615.45.99t1.454.614l1.927.447q1.676.391 2.496 1.206.822.814.822 2.115 0 1.101-.632 1.964-.624.854-1.746 1.34-1.113.488-2.583.488-2.037 0-3.325-.879-1.287-.885-1.58-2.514l2.283-.351q.213.901.877 1.365.663.455 1.73.455 1.16 0 1.856-.487.695-.495.695-1.205 0-.576-.427-.966-.418-.392-1.287-.591l-2.054-.455q-1.699-.39-2.512-1.245-.805-.854-.805-2.163 0-1.087.6-1.9.6-.814 1.659-1.27 1.058-.462 2.425-.462 1.966 0 3.096.862 1.129.854 1.493 2.29M96.771 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.489-.24-1.224-.24-1.003 0-1.675.455-.67.447-.671 1.158 0 .615.45.99t1.453.614l1.928.447q1.674.391 2.496 1.206.82.814.821 2.115 0 1.101-.632 1.964-.624.854-1.745 1.34-1.114.488-2.583.488-2.038 0-3.326-.879-1.287-.885-1.58-2.514l2.284-.351q.213.901.876 1.365.665.455 1.73.455 1.161 0 1.856-.487.695-.495.695-1.205 0-.576-.426-.966-.419-.392-1.288-.591l-2.053-.455q-1.7-.39-2.512-1.245-.806-.854-.806-2.163 0-1.087.6-1.9.6-.814 1.66-1.27 1.057-.462 2.424-.462 1.967 0 3.096.862 1.13.854 1.493 2.29\"\n />\n </svg>\n );\n}\n\nexport function WisePlatformPrimary() {\n return (\n <svg {...svgProps('WisePlatformPrimary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.642 2.024h5.714L54.482 22.53h-5.714zm-7.203 0-3.855 11.813L38.9 2.024h-3.995l-5.048 11.778-.63-11.778h-5.539l1.928 20.507h4.592l5.678-12.97 1.998 12.97h4.522l7.465-20.507zm47.968 11.919H78.842c.07 2.664 1.665 4.417 4.013 4.417 1.77 0 3.172-.947 4.26-2.752l4.579 2.082c-1.574 3.1-4.89 5.122-8.979 5.122-5.573 0-9.27-3.751-9.27-9.78 0-6.626 4.346-11.324 10.48-11.324 5.397 0 8.797 3.646 8.797 9.325 0 .946-.105 1.893-.315 2.91m-5.083-3.927c0-2.383-1.331-3.89-3.47-3.89-2.138 0-4.03 1.577-4.521 3.89zM5.832 8.202 0 15.02h10.414l1.17-3.215H7.122L9.85 8.651l.01-.084-1.774-3.052h7.975L9.877 22.53h4.231l7.466-20.505H2.285l3.546 6.18zm60.812-2.077c2.016 0 3.782 1.083 5.325 2.941l.81-5.78c-1.438-.973-3.383-1.578-5.96-1.578-5.117 0-7.991 2.997-7.991 6.8 0 2.639 1.472 4.251 3.89 5.294l1.157.526c2.156.92 2.734 1.376 2.734 2.349s-.972 1.648-2.453 1.648c-2.445.008-4.426-1.245-5.915-3.383l-.826 5.89c1.697 1.294 3.872 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.647-1.174-4.347-4.136-5.679l-1.262-.596c-1.752-.78-2.348-1.21-2.348-2.068 0-.93.815-1.648 2.383-1.648m46.546-.897q-.784-1.513-2.362-2.388-1.578-.874-3.98-.874H99.51v20.588h3.105v-7.237h4.222q2.392 0 3.975-.88 1.582-.88 2.373-2.393.789-1.512.789-3.412 0-1.89-.784-3.403zm-2.784 5.482q-.443.914-1.387 1.443-.946.527-2.462.527h-3.94V4.629h3.9q1.548 0 2.497.514.95.513 1.392 1.418t.441 2.07q0 1.166-.441 2.08m8.71-8.744v20.588h-3.006V1.966zm7.907 20.93q-1.468 0-2.653-.549a4.4 4.4 0 0 1-1.875-1.593q-.69-1.045-.689-2.565 0-1.305.503-2.15a3.7 3.7 0 0 1 1.356-1.338 7 7 0 0 1 1.911-.743 19 19 0 0 1 2.15-.382q1.387-.16 2.252-.266.865-.105 1.257-.347t.392-.784v-.07q0-1.317-.739-2.04-.74-.723-2.196-.724c-.971 0-1.807.223-2.387.668q-.87.668-1.201 1.483l-2.825-.644q.502-1.406 1.472-2.276a6 6 0 0 1 2.236-1.268 8.9 8.9 0 0 1 2.664-.398q.926 0 1.965.216a5.9 5.9 0 0 1 1.951.789q.91.574 1.493 1.633t.583 2.75v10.254h-2.935v-2.11h-.121q-.292.584-.875 1.146-.583.563-1.498.934-.916.372-2.191.372zm.654-2.414q1.246 0 2.136-.492.89-.493 1.357-1.292a3.34 3.34 0 0 0 .468-1.714v-1.992q-.161.161-.619.297a8 8 0 0 1-1.041.231q-.584.095-1.136.172l-.925.126a7.4 7.4 0 0 0-1.593.372q-.719.262-1.146.748-.428.488-.428 1.292 0 1.116.824 1.684.822.568 2.101.568zm16.66-.533q-.15.032-.423.08-.271.051-.632.052-.492 0-.91-.156t-.678-.593q-.262-.436-.261-1.312V9.526h3.167V7.114h-3.167V3.412h-3.006v3.7h-2.261v2.412h2.261v9.118q0 1.396.633 2.322a3.8 3.8 0 0 0 1.658 1.367 5.3 5.3 0 0 0 2.211.423 6.2 6.2 0 0 0 1.206-.116q.484-.104.743-.207l-.543-2.483zm7.753-15.792q.467-.543 1.563-.544.474 0 .805.086.33.086.543.146l.704-2.433A7.145 7.145 0 0 0 153.203 1q-1.226 0-2.271.477a3.93 3.93 0 0 0-1.679 1.437q-.634.96-.633 2.408v1.79h-2.392v2.412h2.392v13.028h3.006V9.526h3.326V7.114h-3.326V5.727q0-1.025.467-1.568zm10.752 18.707q-2.172 0-3.789-.995-1.62-.996-2.513-2.786-.894-1.79-.894-4.182c0-1.595.298-3.002.894-4.201q.894-1.799 2.513-2.794t3.789-.996 3.789.996 2.513 2.794q.894 1.8.894 4.201c0 1.6-.298 2.989-.894 4.182q-.894 1.79-2.513 2.786-1.62.995-3.789.995m.01-2.522q1.407 0 2.333-.743.925-.745 1.372-1.98.447-1.237.447-2.725c0-.992-.149-1.891-.447-2.718q-.447-1.243-1.372-1.995-.924-.754-2.333-.754c-.939 0-1.728.251-2.346.754q-.931.754-1.378 1.995-.447 1.24-.447 2.718c0 .985.149 1.9.447 2.724q.447 1.237 1.378 1.98.93.745 2.346.744m9.596 2.21V7.112h2.904v2.452h.161a3.74 3.74 0 0 1 1.493-1.965q1.07-.717 2.427-.718.281 0 .668.019.387.02.608.05v2.875a6 6 0 0 0-.643-.115 7 7 0 0 0-.925-.065q-1.066 0-1.895.447t-1.311 1.235q-.483.79-.482 1.795v9.43zm10.249 0V7.112h2.884v2.513h.191q.484-1.277 1.578-1.994 1.096-.719 2.623-.719c1.018 0 1.898.242 2.599.724q1.051.723 1.553 1.991h.161q.552-1.237 1.76-1.975 1.207-.74 2.874-.74 2.1.001 3.433 1.316 1.333 1.318 1.332 3.972v10.354h-3.006V12.48q0-1.569-.853-2.272-.855-.705-2.04-.705-1.467 0-2.282.9t-.815 2.306v9.842h-2.995V12.288q0-1.256-.783-2.021-.784-.764-2.04-.764-.855 0-1.574.447a3.3 3.3 0 0 0-1.157 1.24q-.436.796-.436 1.84v9.519h-3.006z\"\n />\n </svg>\n );\n}\n\nexport function WisePlatformSecondary() {\n return (\n <svg {...svgProps('WisePlatformSecondary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.646 2.025h5.714l-2.874 20.507h-5.714zm-7.203 0L40.587 13.84 38.904 2.024h-3.996L29.86 13.803l-.63-11.778H23.69l1.928 20.507h4.592l5.679-12.97 1.998 12.97h4.522l7.466-20.507zm47.97 11.919H78.849c.07 2.664 1.665 4.416 4.013 4.416 1.77 0 3.173-.946 4.26-2.751l4.58 2.082c-1.575 3.1-4.89 5.121-8.98 5.121-5.573 0-9.272-3.75-9.272-9.78 0-6.625 4.347-11.322 10.481-11.322 5.399 0 8.799 3.646 8.799 9.324 0 .947-.105 1.893-.316 2.91m-5.082-3.926c0-2.384-1.332-3.891-3.47-3.891s-4.032 1.577-4.523 3.89zM5.833 8.205 0 15.022h10.414l1.171-3.215H7.123L9.85 8.654l.009-.084-1.774-3.051h7.977L9.878 22.532h4.231l7.467-20.507H2.286l3.545 6.18zm60.816-2.078c2.016 0 3.782 1.083 5.325 2.94l.81-5.78c-1.438-.972-3.383-1.577-5.96-1.577-5.117 0-7.992 2.997-7.992 6.8 0 2.638 1.472 4.25 3.891 5.293l1.157.526c2.156.92 2.734 1.376 2.734 2.349s-.973 1.647-2.454 1.647c-2.445.01-4.425-1.244-5.915-3.382l-.825 5.89c1.696 1.294 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.647-1.174-4.347-4.136-5.679l-1.262-.596c-1.753-.78-2.349-1.209-2.349-2.068 0-.929.816-1.647 2.384-1.647M18.794 29.697q-1.243-.69-3.136-.69h-5.78v16.217h2.447v-5.702h3.325q1.884 0 3.132-.692 1.246-.694 1.868-1.884.622-1.192.622-2.689c0-.997-.207-1.886-.617-2.68q-.618-1.191-1.861-1.88m-.333 6.199q-.349.72-1.092 1.136t-1.94.415h-3.104v-6.343h3.072q1.22 0 1.969.403.749.405 1.097 1.117.349.712.348 1.631 0 .918-.348 1.64zM25.323 29.008h-2.368v16.216h2.368zM35.918 33.695a4.6 4.6 0 0 0-1.537-.623 7.6 7.6 0 0 0-1.548-.17q-1.102 0-2.098.312a4.7 4.7 0 0 0-1.761.998q-.765.686-1.16 1.793l2.225.506q.261-.642.947-1.167.685-.526 1.88-.526c.798 0 1.343.19 1.73.57q.582.57.582 1.607v.056q0 .428-.308.617-.31.189-.99.273-.681.085-1.774.21-.863.103-1.695.302a5.6 5.6 0 0 0-1.504.585q-.673.389-1.07 1.054-.396.664-.395 1.695 0 1.196.541 2.019.542.822 1.476 1.255.934.43 2.091.43 1.005 0 1.726-.292.72-.291 1.18-.736.46-.443.689-.903h.094v1.664h2.312v-8.077q.001-1.33-.46-2.166-.459-.835-1.175-1.286zm-.733 7.142q0 .72-.368 1.35a2.75 2.75 0 0 1-1.07 1.018q-.7.388-1.682.387c-.653 0-1.221-.149-1.654-.447q-.65-.447-.649-1.327 0-.632.337-1.016T31 40.21a5.8 5.8 0 0 1 1.255-.293q.292-.04.73-.098.435-.06.893-.135.46-.074.82-.182.361-.108.488-.233v1.569zM44.858 43.237q-.212.04-.5.04-.388 0-.716-.123a1.05 1.05 0 0 1-.535-.468q-.205-.345-.205-1.034v-6.69h2.494v-1.9h-2.494v-2.914h-2.368v2.914h-1.78v1.9h1.78v7.182q0 1.101.5 1.83.498.729 1.306 1.077a4.15 4.15 0 0 0 1.742.332 5 5 0 0 0 .95-.09 4 4 0 0 0 .585-.164l-.428-1.956q-.117.024-.333.063zM51.297 30.732q.369-.427 1.23-.427.374 0 .633.066.262.068.428.116l.554-1.916a5.575 5.575 0 0 0-1.972-.324 4.3 4.3 0 0 0-1.79.377q-.824.377-1.32 1.132-.5.757-.5 1.896v1.41h-1.884v1.9h1.884v10.261h2.368V34.963h2.62v-1.9h-2.62V31.97q0-.807.368-1.236zM62.751 33.688q-1.275-.784-2.985-.784t-2.984.784-1.98 2.201-.704 3.31c0 1.26.235 2.353.705 3.293q.704 1.409 1.979 2.192t2.984.784 2.985-.784 1.979-2.192.704-3.294c0-1.255-.234-2.364-.704-3.309q-.705-1.418-1.979-2.201m-.058 7.648q-.352.974-1.081 1.56-.728.586-1.837.586c-.74 0-1.36-.195-1.849-.586q-.733-.586-1.085-1.56a6.3 6.3 0 0 1-.352-2.145c0-.78.117-1.49.352-2.142q.352-.978 1.085-1.572c.49-.396 1.104-.594 1.85-.594.744 0 1.35.198 1.836.594q.728.594 1.081 1.572t.353 2.142a6.3 6.3 0 0 1-.353 2.145M72.836 32.88q-1.07 0-1.912.566a2.96 2.96 0 0 0-1.176 1.547h-.126v-1.931h-2.29v12.162h2.369v-7.428a2.64 2.64 0 0 1 1.414-2.387q.652-.352 1.493-.352.365 0 .73.05.364.052.506.092v-2.265a7 7 0 0 0-.479-.04q-.304-.015-.527-.016zM90.892 33.94q-1.049-1.036-2.704-1.038-1.315 0-2.265.582a3.45 3.45 0 0 0-1.386 1.557h-.126q-.396-.999-1.224-1.567-.827-.57-2.047-.57c-.813 0-1.491.19-2.066.566q-.863.566-1.243 1.572h-.15v-1.978h-2.274v12.161h2.368v-7.498q0-.823.344-1.449.344-.625.911-.978.565-.352 1.24-.352.988 0 1.606.6.618.603.617 1.592v8.085h2.36v-7.752q0-1.109.64-1.817.643-.708 1.8-.708.933 0 1.606.554.674.554.673 1.79v7.933h2.368V37.07q0-2.09-1.05-3.128z\"\n />\n </svg>\n );\n}\n"],"names":["logoAssetsDimensions","FastFlag","width","height","WiseLogo","WiseBusinessPrimary","WiseBusinessSecondary","WisePlatformPrimary","WisePlatformSecondary","svgProps","name","xmlns","viewBox","_jsx","children","fill","d"],"mappings":";;AAAO,MAAMA,oBAAoB,GAAG;AAClCC,EAAAA,QAAQ,EAAE;AAAEC,IAAAA,KAAK,EAAE,EAAE;AAAEC,IAAAA,MAAM,EAAE;GAAI;AACnCC,EAAAA,QAAQ,EAAE;AAAEF,IAAAA,KAAK,EAAE,EAAE;AAAEC,IAAAA,MAAM,EAAE;GAAI;AACnCE,EAAAA,mBAAmB,EAAE;AAAEH,IAAAA,KAAK,EAAE,GAAG;AAAEC,IAAAA,MAAM,EAAE;GAAI;AAC/CG,EAAAA,qBAAqB,EAAE;AAAEJ,IAAAA,KAAK,EAAE,EAAE;AAAEC,IAAAA,MAAM,EAAE;GAAI;AAChDI,EAAAA,mBAAmB,EAAE;AAAEL,IAAAA,KAAK,EAAE,GAAG;AAAEC,IAAAA,MAAM,EAAE;GAAI;AAC/CK,EAAAA,qBAAqB,EAAE;AAAEN,IAAAA,KAAK,EAAE,EAAE;AAAEC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ACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAAs8I;AAE58I,GAAK,CAAC;AAEV;SAEgBT,mBAAmBA,GAAA;AACjC,EAAA,oBACEM,GAAA,CAAA,KAAA,EAAA;IAAA,GAASJ,QAAQ,CAAC,qBAAqB,CAAC;AAAAK,IAAAA,QAAA,eACtCD,GAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAA61H;AAEn2H,GAAK,CAAC;AAEV;SAEgBR,qBAAqBA,GAAA;AACnC,EAAA,oBACEK,GAAA,CAAA,KAAA,EAAA;IAAA,GAASJ,QAAQ,CAAC,uBAAuB,CAAC;AAAAK,IAAAA,QAAA,eACxCD,GAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAAszH;AAE5zH,GAAK,CAAC;AAEV;;;;"}
1
+ {"version":3,"file":"logo-assets.mjs","sources":["../../src/logo/logo-assets.tsx"],"sourcesContent":["export const logoAssetsDimensions = {\n FastFlag: {\n 16: { width: 16, height: 16 },\n 18: { width: 18, height: 18 },\n 20: { width: 20, height: 20 },\n 24: { width: 24, height: 24 },\n 28: { width: 28, height: 28 },\n 36: { width: 36, height: 36 },\n },\n WiseLogo: {\n 16: { width: 64, height: 16 },\n 18: { width: 72, height: 18 },\n 20: { width: 80, height: 20 },\n 24: { width: 96, height: 24 },\n 28: { width: 112, height: 28 },\n 36: { width: 144, height: 36 },\n },\n WiseBusinessPrimary: {\n 16: { width: 140, height: 16 },\n 18: { width: 157.5, height: 18 },\n 20: { width: 175, height: 20 },\n 24: { width: 210, height: 24 },\n 28: { width: 245, height: 28 },\n 36: { width: 315, height: 36 },\n },\n WiseBusinessSecondary: {\n 16: { width: 68, height: 32 },\n 18: { width: 76.5, height: 36 },\n 20: { width: 85, height: 40 },\n 24: { width: 102, height: 48 },\n 28: { width: 119, height: 56 },\n 36: { width: 153, height: 72 },\n },\n WisePlatformPrimary: {\n 16: { width: 136, height: 16 },\n 18: { width: 153, height: 18 },\n 20: { width: 170, height: 20 },\n 24: { width: 204, height: 24 },\n 28: { width: 238, height: 28 },\n 36: { width: 306, height: 36 },\n },\n WisePlatformSecondary: {\n 16: { width: 64, height: 32 },\n 18: { width: 72, height: 36 },\n 20: { width: 80, height: 40 },\n 24: { width: 96, height: 48 },\n 28: { width: 112, height: 56 },\n 36: { width: 144, height: 72 },\n },\n} as const;\n\nexport type LogoAssetName = keyof typeof logoAssetsDimensions;\n\nfunction svgProps(name: LogoAssetName) {\n const { width, height } = logoAssetsDimensions[name][24];\n return {\n xmlns: 'http://www.w3.org/2000/svg',\n width: '100%',\n height: '100%',\n viewBox: `0 0 ${width} ${height}`,\n };\n}\n\nexport function FastFlag() {\n return (\n <svg {...svgProps('FastFlag')}>\n <path\n fill=\"currentColor\"\n d=\"m0 15.02 5.835-6.818h-.002l-3.547-6.18h19.296L14.113 22.53H9.881l6.186-17.016h-7.98l1.775 3.052-.009.084-2.728 3.154h4.464l-1.171 3.215z\"\n />\n </svg>\n );\n}\n\nexport function WiseLogo() {\n return (\n <svg {...svgProps('WiseLogo')}>\n <path\n fill=\"currentColor\"\n d=\"M51.644 2.027h5.713l-2.874 20.506H48.77zm-7.203 0L40.585 13.84 38.903 2.027h-3.996l-5.048 11.778-.63-11.778h-5.54l1.929 20.506h4.592l5.678-12.97 1.998 12.97h4.522l7.466-20.506zm47.968 11.918H78.844c.07 2.664 1.665 4.417 4.014 4.417 1.77 0 3.172-.947 4.259-2.752l4.58 2.082c-1.575 3.1-4.89 5.121-8.98 5.121-5.573 0-9.27-3.75-9.27-9.78 0-6.624 4.346-11.321 10.48-11.321 5.398 0 8.798 3.645 8.798 9.324 0 .946-.105 1.893-.316 2.91m-5.082-3.926c0-2.383-1.332-3.89-3.47-3.89s-4.031 1.577-4.522 3.89zM5.833 8.207 0 15.023h10.414l1.17-3.214H7.124L9.85 8.656l.008-.084L8.085 5.52h7.976L9.878 22.533h4.23l7.467-20.506H2.285l3.546 6.18zm60.813-2.079c2.016 0 3.782 1.084 5.325 2.941l.81-5.78c-1.438-.972-3.383-1.577-5.96-1.577-5.117 0-7.991 2.997-7.991 6.8 0 2.638 1.472 4.25 3.89 5.293l1.157.526c2.156.92 2.734 1.375 2.734 2.348s-.973 1.648-2.454 1.648c-2.444.008-4.425-1.245-5.915-3.383l-.825 5.89c1.697 1.294 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.646-1.174-4.346-4.136-5.678l-1.262-.596c-1.752-.78-2.348-1.21-2.348-2.068 0-.929.815-1.648 2.383-1.648\"\n />\n </svg>\n );\n}\n\nexport function WiseBusinessPrimary() {\n return (\n <svg {...svgProps('WiseBusinessPrimary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.641 2.022h5.713L54.48 22.534h-5.713zm-7.202 0-3.856 11.816-1.682-11.816h-3.996l-5.047 11.781-.631-11.781h-5.538l1.928 20.512h4.591L35.887 9.56l1.997 12.974h4.522l7.466-20.512zm47.966 11.921H78.84c.07 2.665 1.665 4.418 4.014 4.418 1.77 0 3.172-.946 4.258-2.752l4.58 2.082c-1.575 3.102-4.891 5.124-8.978 5.124-5.573 0-9.271-3.752-9.271-9.783 0-6.627 4.346-11.326 10.48-11.326 5.397 0 8.797 3.647 8.797 9.327 0 .947-.105 1.894-.315 2.91m-5.082-3.927c0-2.384-1.332-3.892-3.47-3.892-2.209 0-4.031 1.578-4.522 3.892zM5.832 8.203 0 15.02h10.413l1.17-3.215H7.121l2.727-3.153.008-.084-1.773-3.053h7.976L9.877 22.534h4.23l7.466-20.512H2.286zm60.81-2.079c2.016 0 3.782 1.084 5.324 2.943l.81-5.783c-1.436-.973-3.382-1.578-5.958-1.578-5.117 0-7.991 2.998-7.991 6.802 0 2.639 1.472 4.252 3.89 5.295l1.157.526c2.155.92 2.734 1.376 2.734 2.35 0 1.007-.973 1.647-2.454 1.647-2.445.01-4.425-1.245-5.914-3.383l-.826 5.891c1.696 1.295 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.697 0-2.647-1.175-4.348-4.136-5.68l-1.262-.596c-1.753-.78-2.349-1.21-2.349-2.069 0-.93.815-1.648 2.384-1.648M99.733 22.579V2.004h7.485q2.176 0 3.603.723 1.428.713 2.136 1.939.709 1.215.709 2.743 0 1.285-.469 2.17a3.9 3.9 0 0 1-1.258 1.406 5.5 5.5 0 0 1-1.717.764v.2q1.019.05 1.986.664.979.602 1.617 1.718.639 1.114.639 2.712 0 1.578-.738 2.833-.729 1.245-2.256 1.98-1.527.723-3.902.723zm3.084-2.663h4.451q2.215 0 3.174-.864.958-.863.958-2.16 0-.974-.489-1.788-.49-.813-1.397-1.296-.898-.482-2.136-.482h-4.561zm0-9.011h4.132q1.038 0 1.866-.402a3.3 3.3 0 0 0 1.328-1.125q.498-.734.499-1.728 0-1.275-.889-2.14-.888-.864-2.724-.864h-4.212zM126.61 16.18V7.146h2.994V22.58h-2.934v-2.672h-.16q-.529 1.235-1.697 2.059-1.158.814-2.884.814-1.478 0-2.615-.653-1.128-.663-1.777-1.96-.638-1.295-.638-3.204V7.147h2.984v9.454q0 1.578.868 2.512.869.934 2.256.934.838 0 1.666-.422a3.5 3.5 0 0 0 1.388-1.276q.558-.853.549-2.17M144.117 10.915l-2.704.482a3.3 3.3 0 0 0-.539-.995 2.7 2.7 0 0 0-.978-.773q-.62-.302-1.547-.302-1.268 0-2.116.573-.849.562-.849 1.457 0 .773.569 1.246.57.471 1.837.773l2.435.563q2.115.492 3.154 1.517t1.038 2.662a4.06 4.06 0 0 1-.799 2.472q-.788 1.074-2.205 1.688-1.408.612-3.264.612-2.575 0-4.202-1.105-1.627-1.114-1.996-3.165l2.884-.442q.27 1.136 1.108 1.718.839.573 2.186.573 1.467 0 2.345-.613.879-.622.879-1.517 0-.723-.539-1.215-.53-.493-1.627-.744l-2.595-.572q-2.146-.493-3.174-1.568-1.017-1.075-1.018-2.722 0-1.367.759-2.391.758-1.026 2.096-1.598 1.337-.583 3.064-.583 2.484 0 3.912 1.085 1.427 1.075 1.886 2.884M146.714 22.579V7.147h2.984V22.58zm1.507-17.813q-.779 0-1.337-.522a1.7 1.7 0 0 1-.549-1.266q0-.744.549-1.266a1.87 1.87 0 0 1 1.337-.532q.779 0 1.328.532.558.522.558 1.266 0 .733-.558 1.266a1.86 1.86 0 0 1-1.328.522M155.713 13.416v9.163h-2.984V7.147h2.865V9.66h.189a4.4 4.4 0 0 1 1.657-1.97q1.137-.743 2.864-.743 1.567 0 2.745.663 1.178.654 1.826 1.95.65 1.296.649 3.204v9.816h-2.984v-9.454q0-1.677-.868-2.622-.868-.954-2.386-.955-1.038 0-1.846.453-.798.452-1.268 1.326-.459.864-.459 2.09M175.15 22.89q-2.266 0-3.903-.974-1.627-.985-2.515-2.763-.878-1.788-.878-4.19 0-2.37.878-4.179.888-1.807 2.475-2.823 1.597-1.014 3.733-1.015 1.297 0 2.515.432a6.1 6.1 0 0 1 2.186 1.357q.968.924 1.527 2.4.559 1.468.559 3.567v1.065h-12.186v-2.25h9.262q0-1.185-.48-2.1a3.63 3.63 0 0 0-1.347-1.457q-.858-.532-2.016-.532-1.257 0-2.196.623a4.2 4.2 0 0 0-1.437 1.607 4.66 4.66 0 0 0-.499 2.14v1.758q0 1.548.539 2.633.549 1.084 1.527 1.657.978.563 2.286.563.848 0 1.547-.241a3.3 3.3 0 0 0 1.207-.744 3.2 3.2 0 0 0 .779-1.215l2.824.512a5.16 5.16 0 0 1-1.217 2.2q-.869.935-2.186 1.457-1.308.512-2.984.512M195.542 10.915l-2.705.482a3.2 3.2 0 0 0-.539-.995 2.7 2.7 0 0 0-.978-.773q-.619-.302-1.547-.302-1.267 0-2.116.573-.848.562-.848 1.457 0 .773.569 1.246.569.471 1.836.773l2.435.563q2.116.492 3.154 1.517t1.038 2.662q0 1.387-.798 2.472-.789 1.074-2.206 1.688-1.407.612-3.264.612-2.574 0-4.201-1.105-1.627-1.114-1.997-3.165l2.885-.442q.269 1.136 1.108 1.718.838.573 2.185.573 1.467 0 2.346-.613.878-.622.878-1.517 0-.723-.539-1.215-.53-.493-1.627-.744l-2.595-.572q-2.145-.493-3.173-1.568-1.018-1.075-1.018-2.722 0-1.367.758-2.391.759-1.026 2.096-1.598 1.338-.583 3.064-.583 2.486 0 3.912 1.085 1.428 1.075 1.887 2.884M209.626 10.915l-2.705.482a3.2 3.2 0 0 0-.539-.995 2.66 2.66 0 0 0-.978-.773q-.618-.302-1.547-.302-1.267 0-2.116.573-.848.562-.848 1.457 0 .773.569 1.246.569.471 1.836.773l2.436.563q2.115.492 3.153 1.517t1.038 2.662q0 1.387-.798 2.472-.789 1.074-2.206 1.688-1.407.612-3.263.612-2.576 0-4.202-1.105-1.627-1.114-1.996-3.165l2.884-.442q.27 1.136 1.108 1.718.838.573 2.186.573 1.467 0 2.345-.613.879-.622.878-1.517 0-.723-.539-1.215-.528-.493-1.626-.744l-2.595-.572q-2.147-.493-3.174-1.568-1.018-1.075-1.018-2.722 0-1.367.758-2.391.76-1.026 2.096-1.598 1.338-.583 3.064-.583 2.485 0 3.913 1.085 1.427 1.075 1.886 2.884\"\n />\n </svg>\n );\n}\n\nexport function WiseBusinessSecondary() {\n return (\n <svg {...svgProps('WiseBusinessSecondary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.65 2.025h5.713L54.49 22.53h-5.713zm-7.202 0-3.856 11.813L38.91 2.025h-3.996l-5.048 11.778-.63-11.778h-5.538l1.927 20.505h4.592l5.678-12.969 1.998 12.97h4.522L49.88 2.024zm47.966 11.918H78.85c.07 2.664 1.664 4.416 4.013 4.416 1.77 0 3.172-.946 4.259-2.751l4.579 2.081c-1.575 3.1-4.89 5.122-8.978 5.122-5.573 0-9.271-3.75-9.271-9.78 0-6.624 4.346-11.321 10.48-11.321 5.398 0 8.798 3.645 8.798 9.324 0 .946-.106 1.892-.316 2.909m-5.082-3.926c0-2.383-1.332-3.89-3.47-3.89-2.208 0-4.031 1.577-4.522 3.89zM5.84 8.204.008 15.02h10.414l1.17-3.214H7.129l2.727-3.152.009-.084L8.092 5.52h7.976L9.885 22.53h4.231l7.466-20.505H2.294zm60.812-2.078c2.015 0 3.781 1.084 5.323 2.942l.81-5.78c-1.436-.973-3.382-1.578-5.958-1.578-5.117 0-7.991 2.997-7.991 6.8 0 2.637 1.472 4.25 3.89 5.293l1.157.525c2.155.92 2.734 1.376 2.734 2.349 0 1.007-.973 1.647-2.454 1.647-2.445.009-4.425-1.244-5.915-3.382l-.825 5.89c1.696 1.293 3.871 1.979 6.74 1.979 4.864 0 7.852-2.805 7.852-6.695 0-2.646-1.175-4.346-4.136-5.678l-1.262-.596c-1.753-.78-2.349-1.21-2.349-2.068 0-.93.815-1.648 2.384-1.648M9.8 45.312V28.964h5.924q1.722 0 2.851.575 1.13.567 1.69 1.54.562.966.561 2.18 0 1.021-.37 1.724-.372.694-.996 1.117a4.4 4.4 0 0 1-1.359.607v.16q.805.04 1.572.527.774.479 1.28 1.365.505.886.505 2.155 0 1.253-.584 2.25-.578.99-1.785 1.573-1.208.576-3.089.575zm2.44-2.115h3.523q1.755 0 2.512-.687.759-.686.758-1.716a2.72 2.72 0 0 0-1.492-2.45q-.712-.384-1.69-.384h-3.61zm0-7.16h3.27a3.3 3.3 0 0 0 1.478-.32q.663-.319 1.05-.894.395-.582.395-1.373 0-1.014-.703-1.7t-2.156-.686H12.24zM31.07 40.227v-7.176h2.37v12.261h-2.322V43.19h-.126q-.42.981-1.343 1.636-.917.647-2.283.647-1.17 0-2.07-.52-.891-.526-1.405-1.556-.506-1.03-.506-2.546v-7.799h2.362v7.512q0 1.252.687 1.995t1.785.743q.663 0 1.32-.336a2.8 2.8 0 0 0 1.097-1.013q.443-.679.435-1.725M44.926 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.489-.24-1.224-.24-1.003 0-1.675.455-.67.447-.671 1.158 0 .615.45.99T39.92 38l1.927.447q1.674.391 2.496 1.206.821.814.821 2.115 0 1.101-.631 1.964-.624.854-1.746 1.34-1.115.488-2.583.488-2.038 0-3.325-.879-1.288-.885-1.58-2.514l2.283-.351q.213.901.876 1.365.665.455 1.73.455 1.161 0 1.856-.487.696-.495.696-1.205 0-.576-.427-.966-.42-.392-1.287-.591l-2.054-.455q-1.698-.39-2.512-1.245-.806-.854-.806-2.163 0-1.087.6-1.9.6-.814 1.66-1.27 1.057-.462 2.424-.462 1.967 0 3.097.862 1.13.854 1.492 2.29M46.982 45.312v-12.26h2.361v12.26zm1.192-14.153q-.615 0-1.058-.415a1.36 1.36 0 0 1-.434-1.006q0-.59.434-1.005a1.48 1.48 0 0 1 1.058-.423q.617 0 1.05.423.444.415.443 1.005 0 .583-.442 1.006-.435.415-1.05.415M54.104 38.032v7.28h-2.362v-12.26h2.267v1.995h.15q.42-.974 1.311-1.565.9-.59 2.267-.59 1.24 0 2.172.526.933.519 1.446 1.549t.513 2.546v7.8h-2.361V37.8q0-1.334-.688-2.084-.687-.758-1.887-.758-.822 0-1.462.36a2.57 2.57 0 0 0-1.003 1.053q-.363.686-.363 1.66M69.486 45.56q-1.793 0-3.088-.775-1.288-.782-1.99-2.195-.696-1.42-.696-3.329 0-1.883.695-3.32.703-1.437 1.96-2.243 1.263-.806 2.953-.806a5.9 5.9 0 0 1 1.99.343q.965.343 1.73 1.077.766.735 1.21 1.908.441 1.166.441 2.834v.846h-9.644v-1.788h7.33q0-.942-.38-1.668a2.9 2.9 0 0 0-1.065-1.158q-.68-.423-1.596-.423-.995 0-1.738.495a3.3 3.3 0 0 0-1.137 1.277 3.7 3.7 0 0 0-.395 1.7v1.397q0 1.23.427 2.092.434.863 1.208 1.317.774.447 1.809.447a3.7 3.7 0 0 0 1.224-.192q.553-.2.956-.59a2.6 2.6 0 0 0 .616-.966l2.235.407a4.1 4.1 0 0 1-.963 1.748q-.688.742-1.73 1.158-1.035.406-2.362.407M85.625 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.49-.24-1.225-.24-1.003 0-1.674.455-.672.447-.672 1.158 0 .615.45.99t1.454.614l1.927.447q1.676.391 2.496 1.206.822.814.822 2.115 0 1.101-.632 1.964-.624.854-1.746 1.34-1.113.488-2.583.488-2.037 0-3.325-.879-1.287-.885-1.58-2.514l2.283-.351q.213.901.877 1.365.663.455 1.73.455 1.16 0 1.856-.487.695-.495.695-1.205 0-.576-.427-.966-.418-.392-1.287-.591l-2.054-.455q-1.699-.39-2.512-1.245-.805-.854-.805-2.163 0-1.087.6-1.9.6-.814 1.659-1.27 1.058-.462 2.425-.462 1.966 0 3.096.862 1.129.854 1.493 2.29M96.771 36.045l-2.14.383a2.6 2.6 0 0 0-.427-.79 2.1 2.1 0 0 0-.774-.615q-.489-.24-1.224-.24-1.003 0-1.675.455-.67.447-.671 1.158 0 .615.45.99t1.453.614l1.928.447q1.674.391 2.496 1.206.82.814.821 2.115 0 1.101-.632 1.964-.624.854-1.745 1.34-1.114.488-2.583.488-2.038 0-3.326-.879-1.287-.885-1.58-2.514l2.284-.351q.213.901.876 1.365.665.455 1.73.455 1.161 0 1.856-.487.695-.495.695-1.205 0-.576-.426-.966-.419-.392-1.288-.591l-2.053-.455q-1.7-.39-2.512-1.245-.806-.854-.806-2.163 0-1.087.6-1.9.6-.814 1.66-1.27 1.057-.462 2.424-.462 1.967 0 3.096.862 1.13.854 1.493 2.29\"\n />\n </svg>\n );\n}\n\nexport function WisePlatformPrimary() {\n return (\n <svg {...svgProps('WisePlatformPrimary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.642 2.024h5.714L54.482 22.53h-5.714zm-7.203 0-3.855 11.813L38.9 2.024h-3.995l-5.048 11.778-.63-11.778h-5.539l1.928 20.507h4.592l5.678-12.97 1.998 12.97h4.522l7.465-20.507zm47.968 11.919H78.842c.07 2.664 1.665 4.417 4.013 4.417 1.77 0 3.172-.947 4.26-2.752l4.579 2.082c-1.574 3.1-4.89 5.122-8.979 5.122-5.573 0-9.27-3.751-9.27-9.78 0-6.626 4.346-11.324 10.48-11.324 5.397 0 8.797 3.646 8.797 9.325 0 .946-.105 1.893-.315 2.91m-5.083-3.927c0-2.383-1.331-3.89-3.47-3.89-2.138 0-4.03 1.577-4.521 3.89zM5.832 8.202 0 15.02h10.414l1.17-3.215H7.122L9.85 8.651l.01-.084-1.774-3.052h7.975L9.877 22.53h4.231l7.466-20.505H2.285l3.546 6.18zm60.812-2.077c2.016 0 3.782 1.083 5.325 2.941l.81-5.78c-1.438-.973-3.383-1.578-5.96-1.578-5.117 0-7.991 2.997-7.991 6.8 0 2.639 1.472 4.251 3.89 5.294l1.157.526c2.156.92 2.734 1.376 2.734 2.349s-.972 1.648-2.453 1.648c-2.445.008-4.426-1.245-5.915-3.383l-.826 5.89c1.697 1.294 3.872 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.647-1.174-4.347-4.136-5.679l-1.262-.596c-1.752-.78-2.348-1.21-2.348-2.068 0-.93.815-1.648 2.383-1.648m46.546-.897q-.784-1.513-2.362-2.388-1.578-.874-3.98-.874H99.51v20.588h3.105v-7.237h4.222q2.392 0 3.975-.88 1.582-.88 2.373-2.393.789-1.512.789-3.412 0-1.89-.784-3.403zm-2.784 5.482q-.443.914-1.387 1.443-.946.527-2.462.527h-3.94V4.629h3.9q1.548 0 2.497.514.95.513 1.392 1.418t.441 2.07q0 1.166-.441 2.08m8.71-8.744v20.588h-3.006V1.966zm7.907 20.93q-1.468 0-2.653-.549a4.4 4.4 0 0 1-1.875-1.593q-.69-1.045-.689-2.565 0-1.305.503-2.15a3.7 3.7 0 0 1 1.356-1.338 7 7 0 0 1 1.911-.743 19 19 0 0 1 2.15-.382q1.387-.16 2.252-.266.865-.105 1.257-.347t.392-.784v-.07q0-1.317-.739-2.04-.74-.723-2.196-.724c-.971 0-1.807.223-2.387.668q-.87.668-1.201 1.483l-2.825-.644q.502-1.406 1.472-2.276a6 6 0 0 1 2.236-1.268 8.9 8.9 0 0 1 2.664-.398q.926 0 1.965.216a5.9 5.9 0 0 1 1.951.789q.91.574 1.493 1.633t.583 2.75v10.254h-2.935v-2.11h-.121q-.292.584-.875 1.146-.583.563-1.498.934-.916.372-2.191.372zm.654-2.414q1.246 0 2.136-.492.89-.493 1.357-1.292a3.34 3.34 0 0 0 .468-1.714v-1.992q-.161.161-.619.297a8 8 0 0 1-1.041.231q-.584.095-1.136.172l-.925.126a7.4 7.4 0 0 0-1.593.372q-.719.262-1.146.748-.428.488-.428 1.292 0 1.116.824 1.684.822.568 2.101.568zm16.66-.533q-.15.032-.423.08-.271.051-.632.052-.492 0-.91-.156t-.678-.593q-.262-.436-.261-1.312V9.526h3.167V7.114h-3.167V3.412h-3.006v3.7h-2.261v2.412h2.261v9.118q0 1.396.633 2.322a3.8 3.8 0 0 0 1.658 1.367 5.3 5.3 0 0 0 2.211.423 6.2 6.2 0 0 0 1.206-.116q.484-.104.743-.207l-.543-2.483zm7.753-15.792q.467-.543 1.563-.544.474 0 .805.086.33.086.543.146l.704-2.433A7.145 7.145 0 0 0 153.203 1q-1.226 0-2.271.477a3.93 3.93 0 0 0-1.679 1.437q-.634.96-.633 2.408v1.79h-2.392v2.412h2.392v13.028h3.006V9.526h3.326V7.114h-3.326V5.727q0-1.025.467-1.568zm10.752 18.707q-2.172 0-3.789-.995-1.62-.996-2.513-2.786-.894-1.79-.894-4.182c0-1.595.298-3.002.894-4.201q.894-1.799 2.513-2.794t3.789-.996 3.789.996 2.513 2.794q.894 1.8.894 4.201c0 1.6-.298 2.989-.894 4.182q-.894 1.79-2.513 2.786-1.62.995-3.789.995m.01-2.522q1.407 0 2.333-.743.925-.745 1.372-1.98.447-1.237.447-2.725c0-.992-.149-1.891-.447-2.718q-.447-1.243-1.372-1.995-.924-.754-2.333-.754c-.939 0-1.728.251-2.346.754q-.931.754-1.378 1.995-.447 1.24-.447 2.718c0 .985.149 1.9.447 2.724q.447 1.237 1.378 1.98.93.745 2.346.744m9.596 2.21V7.112h2.904v2.452h.161a3.74 3.74 0 0 1 1.493-1.965q1.07-.717 2.427-.718.281 0 .668.019.387.02.608.05v2.875a6 6 0 0 0-.643-.115 7 7 0 0 0-.925-.065q-1.066 0-1.895.447t-1.311 1.235q-.483.79-.482 1.795v9.43zm10.249 0V7.112h2.884v2.513h.191q.484-1.277 1.578-1.994 1.096-.719 2.623-.719c1.018 0 1.898.242 2.599.724q1.051.723 1.553 1.991h.161q.552-1.237 1.76-1.975 1.207-.74 2.874-.74 2.1.001 3.433 1.316 1.333 1.318 1.332 3.972v10.354h-3.006V12.48q0-1.569-.853-2.272-.855-.705-2.04-.705-1.467 0-2.282.9t-.815 2.306v9.842h-2.995V12.288q0-1.256-.783-2.021-.784-.764-2.04-.764-.855 0-1.574.447a3.3 3.3 0 0 0-1.157 1.24q-.436.796-.436 1.84v9.519h-3.006z\"\n />\n </svg>\n );\n}\n\nexport function WisePlatformSecondary() {\n return (\n <svg {...svgProps('WisePlatformSecondary')}>\n <path\n fill=\"currentColor\"\n d=\"M51.646 2.025h5.714l-2.874 20.507h-5.714zm-7.203 0L40.587 13.84 38.904 2.024h-3.996L29.86 13.803l-.63-11.778H23.69l1.928 20.507h4.592l5.679-12.97 1.998 12.97h4.522l7.466-20.507zm47.97 11.919H78.849c.07 2.664 1.665 4.416 4.013 4.416 1.77 0 3.173-.946 4.26-2.751l4.58 2.082c-1.575 3.1-4.89 5.121-8.98 5.121-5.573 0-9.272-3.75-9.272-9.78 0-6.625 4.347-11.322 10.481-11.322 5.399 0 8.799 3.646 8.799 9.324 0 .947-.105 1.893-.316 2.91m-5.082-3.926c0-2.384-1.332-3.891-3.47-3.891s-4.032 1.577-4.523 3.89zM5.833 8.205 0 15.022h10.414l1.171-3.215H7.123L9.85 8.654l.009-.084-1.774-3.051h7.977L9.878 22.532h4.231l7.467-20.507H2.286l3.545 6.18zm60.816-2.078c2.016 0 3.782 1.083 5.325 2.94l.81-5.78c-1.438-.972-3.383-1.577-5.96-1.577-5.117 0-7.992 2.997-7.992 6.8 0 2.638 1.472 4.25 3.891 5.293l1.157.526c2.156.92 2.734 1.376 2.734 2.349s-.973 1.647-2.454 1.647c-2.445.01-4.425-1.244-5.915-3.382l-.825 5.89c1.696 1.294 3.871 1.98 6.74 1.98 4.864 0 7.852-2.805 7.852-6.696 0-2.647-1.174-4.347-4.136-5.679l-1.262-.596c-1.753-.78-2.349-1.209-2.349-2.068 0-.929.816-1.647 2.384-1.647M18.794 29.697q-1.243-.69-3.136-.69h-5.78v16.217h2.447v-5.702h3.325q1.884 0 3.132-.692 1.246-.694 1.868-1.884.622-1.192.622-2.689c0-.997-.207-1.886-.617-2.68q-.618-1.191-1.861-1.88m-.333 6.199q-.349.72-1.092 1.136t-1.94.415h-3.104v-6.343h3.072q1.22 0 1.969.403.749.405 1.097 1.117.349.712.348 1.631 0 .918-.348 1.64zM25.323 29.008h-2.368v16.216h2.368zM35.918 33.695a4.6 4.6 0 0 0-1.537-.623 7.6 7.6 0 0 0-1.548-.17q-1.102 0-2.098.312a4.7 4.7 0 0 0-1.761.998q-.765.686-1.16 1.793l2.225.506q.261-.642.947-1.167.685-.526 1.88-.526c.798 0 1.343.19 1.73.57q.582.57.582 1.607v.056q0 .428-.308.617-.31.189-.99.273-.681.085-1.774.21-.863.103-1.695.302a5.6 5.6 0 0 0-1.504.585q-.673.389-1.07 1.054-.396.664-.395 1.695 0 1.196.541 2.019.542.822 1.476 1.255.934.43 2.091.43 1.005 0 1.726-.292.72-.291 1.18-.736.46-.443.689-.903h.094v1.664h2.312v-8.077q.001-1.33-.46-2.166-.459-.835-1.175-1.286zm-.733 7.142q0 .72-.368 1.35a2.75 2.75 0 0 1-1.07 1.018q-.7.388-1.682.387c-.653 0-1.221-.149-1.654-.447q-.65-.447-.649-1.327 0-.632.337-1.016T31 40.21a5.8 5.8 0 0 1 1.255-.293q.292-.04.73-.098.435-.06.893-.135.46-.074.82-.182.361-.108.488-.233v1.569zM44.858 43.237q-.212.04-.5.04-.388 0-.716-.123a1.05 1.05 0 0 1-.535-.468q-.205-.345-.205-1.034v-6.69h2.494v-1.9h-2.494v-2.914h-2.368v2.914h-1.78v1.9h1.78v7.182q0 1.101.5 1.83.498.729 1.306 1.077a4.15 4.15 0 0 0 1.742.332 5 5 0 0 0 .95-.09 4 4 0 0 0 .585-.164l-.428-1.956q-.117.024-.333.063zM51.297 30.732q.369-.427 1.23-.427.374 0 .633.066.262.068.428.116l.554-1.916a5.575 5.575 0 0 0-1.972-.324 4.3 4.3 0 0 0-1.79.377q-.824.377-1.32 1.132-.5.757-.5 1.896v1.41h-1.884v1.9h1.884v10.261h2.368V34.963h2.62v-1.9h-2.62V31.97q0-.807.368-1.236zM62.751 33.688q-1.275-.784-2.985-.784t-2.984.784-1.98 2.201-.704 3.31c0 1.26.235 2.353.705 3.293q.704 1.409 1.979 2.192t2.984.784 2.985-.784 1.979-2.192.704-3.294c0-1.255-.234-2.364-.704-3.309q-.705-1.418-1.979-2.201m-.058 7.648q-.352.974-1.081 1.56-.728.586-1.837.586c-.74 0-1.36-.195-1.849-.586q-.733-.586-1.085-1.56a6.3 6.3 0 0 1-.352-2.145c0-.78.117-1.49.352-2.142q.352-.978 1.085-1.572c.49-.396 1.104-.594 1.85-.594.744 0 1.35.198 1.836.594q.728.594 1.081 1.572t.353 2.142a6.3 6.3 0 0 1-.353 2.145M72.836 32.88q-1.07 0-1.912.566a2.96 2.96 0 0 0-1.176 1.547h-.126v-1.931h-2.29v12.162h2.369v-7.428a2.64 2.64 0 0 1 1.414-2.387q.652-.352 1.493-.352.365 0 .73.05.364.052.506.092v-2.265a7 7 0 0 0-.479-.04q-.304-.015-.527-.016zM90.892 33.94q-1.049-1.036-2.704-1.038-1.315 0-2.265.582a3.45 3.45 0 0 0-1.386 1.557h-.126q-.396-.999-1.224-1.567-.827-.57-2.047-.57c-.813 0-1.491.19-2.066.566q-.863.566-1.243 1.572h-.15v-1.978h-2.274v12.161h2.368v-7.498q0-.823.344-1.449.344-.625.911-.978.565-.352 1.24-.352.988 0 1.606.6.618.603.617 1.592v8.085h2.36v-7.752q0-1.109.64-1.817.643-.708 1.8-.708.933 0 1.606.554.674.554.673 1.79v7.933h2.368V37.07q0-2.09-1.05-3.128z\"\n />\n </svg>\n );\n}\n"],"names":["logoAssetsDimensions","FastFlag","width","height","WiseLogo","WiseBusinessPrimary","WiseBusinessSecondary","WisePlatformPrimary","WisePlatformSecondary","svgProps","name","xmlns","viewBox","_jsx","children","fill","d"],"mappings":";;AAAO,MAAMA,oBAAoB,GAAG;AAClCC,EAAAA,QAAQ,EAAE;AACR,IAAA,EAAE,EAAE;AAAEC,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;AAAE;GAC5B;AACDC,EAAAA,QAAQ,EAAE;AACR,IAAA,EAAE,EAAE;AAAEF,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AAAEC,MAAAA,MAAM,EAAE;KAAI;AAC7B,IAAA,EAAE,EAAE;AAAED,MAAAA,KAAK,EAAE,EAAE;AA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;AAAAK,IAAAA,QAAA,eACxCD,GAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAAs8I;AAE58I,GAAK,CAAC;AAEV;SAEgBT,mBAAmBA,GAAA;AACjC,EAAA,oBACEM,GAAA,CAAA,KAAA,EAAA;IAAA,GAASJ,QAAQ,CAAC,qBAAqB,CAAC;AAAAK,IAAAA,QAAA,eACtCD,GAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAA61H;AAEn2H,GAAK,CAAC;AAEV;SAEgBR,qBAAqBA,GAAA;AACnC,EAAA,oBACEK,GAAA,CAAA,KAAA,EAAA;IAAA,GAASJ,QAAQ,CAAC,uBAAuB,CAAC;AAAAK,IAAAA,QAAA,eACxCD,GAAA,CAAA,MAAA,EAAA;AACEE,MAAAA,IAAI,EAAC,cAAc;AACnBC,MAAAA,CAAC,EAAC;KAAszH;AAE5zH,GAAK,CAAC;AAEV;;;;"}
@@ -14,6 +14,7 @@ export declare enum LogoFormat {
14
14
  PRIMARY_LOCKUP = "primary-lockup",
15
15
  SECONDARY_LOCKUP = "secondary-lockup"
16
16
  }
17
+ export type LogoSize = 16 | 18 | 20 | 24 | 28 | 36 | '16' | '18' | '20' | '24' | '28' | '36';
17
18
  export interface LogoProps {
18
19
  /** Extra classes applied to Logo */
19
20
  className?: string;
@@ -44,6 +45,11 @@ export interface LogoProps {
44
45
  * @default 'default'
45
46
  */
46
47
  format?: `${LogoFormat}`;
48
+ /**
49
+ * Controls the height and width of the logo in pixels.
50
+ * @default 24
51
+ */
52
+ size?: LogoSize;
47
53
  /**
48
54
  * Override default ({@link labelByType}) screen reader messages
49
55
  */
@@ -55,5 +61,5 @@ export interface LogoProps {
55
61
  *
56
62
  * @see {@link https://wise.design/foundations/logo Design Spec}
57
63
  */
58
- export default function Logo({ className, type, format, display, 'aria-label': ariaLabel, }: LogoProps): import("react").JSX.Element;
64
+ export default function Logo({ className, type, format, display, size, 'aria-label': ariaLabel, }: LogoProps): import("react").JSX.Element;
59
65
  //# sourceMappingURL=Logo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../src/logo/Logo.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,oBAAY,QAAQ;IAClB,IAAI,SAAS;IACb,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;CAChC;AAED,oBAAY,WAAW;IACrB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,oBAAY,UAAU;IACpB,OAAO,YAAY;IACnB,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;CACtC;AAED,MAAM,WAAW,SAAS;IACxB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC;IACrB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,GAAG,WAAW,EAAE,CAAC;IAC3B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,GAAG,UAAU,EAAE,CAAC;IACzB;;OAEG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;CAC7C;AAiBD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,SAAS,EACT,IAAa,EACb,MAAkB,EAClB,OAAsB,EACtB,YAAY,EAAE,SAAS,GACxB,EAAE,SAAS,+BAuBX"}
1
+ {"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../src/logo/Logo.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,oBAAY,QAAQ;IAClB,IAAI,SAAS;IACb,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;CAChC;AAED,oBAAY,WAAW;IACrB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,oBAAY,UAAU;IACpB,OAAO,YAAY;IACnB,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;CACtC;AAED,MAAM,MAAM,QAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7F,MAAM,WAAW,SAAS;IACxB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC;IACrB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,GAAG,WAAW,EAAE,CAAC;IAC3B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,GAAG,UAAU,EAAE,CAAC;IACzB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;CAC7C;AAiBD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,SAAS,EACT,IAAa,EACb,MAAkB,EAClB,OAAsB,EACtB,IAAS,EACT,YAAY,EAAE,SAAS,GACxB,EAAE,SAAS,+BAyBX"}
@@ -1,27 +1,159 @@
1
1
  export declare const logoAssetsDimensions: {
2
2
  readonly FastFlag: {
3
- readonly width: 22;
4
- readonly height: 24;
3
+ readonly 16: {
4
+ readonly width: 16;
5
+ readonly height: 16;
6
+ };
7
+ readonly 18: {
8
+ readonly width: 18;
9
+ readonly height: 18;
10
+ };
11
+ readonly 20: {
12
+ readonly width: 20;
13
+ readonly height: 20;
14
+ };
15
+ readonly 24: {
16
+ readonly width: 24;
17
+ readonly height: 24;
18
+ };
19
+ readonly 28: {
20
+ readonly width: 28;
21
+ readonly height: 28;
22
+ };
23
+ readonly 36: {
24
+ readonly width: 36;
25
+ readonly height: 36;
26
+ };
5
27
  };
6
28
  readonly WiseLogo: {
7
- readonly width: 94;
8
- readonly height: 24;
29
+ readonly 16: {
30
+ readonly width: 64;
31
+ readonly height: 16;
32
+ };
33
+ readonly 18: {
34
+ readonly width: 72;
35
+ readonly height: 18;
36
+ };
37
+ readonly 20: {
38
+ readonly width: 80;
39
+ readonly height: 20;
40
+ };
41
+ readonly 24: {
42
+ readonly width: 96;
43
+ readonly height: 24;
44
+ };
45
+ readonly 28: {
46
+ readonly width: 112;
47
+ readonly height: 28;
48
+ };
49
+ readonly 36: {
50
+ readonly width: 144;
51
+ readonly height: 36;
52
+ };
9
53
  };
10
54
  readonly WiseBusinessPrimary: {
11
- readonly width: 210;
12
- readonly height: 24;
55
+ readonly 16: {
56
+ readonly width: 140;
57
+ readonly height: 16;
58
+ };
59
+ readonly 18: {
60
+ readonly width: 157.5;
61
+ readonly height: 18;
62
+ };
63
+ readonly 20: {
64
+ readonly width: 175;
65
+ readonly height: 20;
66
+ };
67
+ readonly 24: {
68
+ readonly width: 210;
69
+ readonly height: 24;
70
+ };
71
+ readonly 28: {
72
+ readonly width: 245;
73
+ readonly height: 28;
74
+ };
75
+ readonly 36: {
76
+ readonly width: 315;
77
+ readonly height: 36;
78
+ };
13
79
  };
14
80
  readonly WiseBusinessSecondary: {
15
- readonly width: 97;
16
- readonly height: 46;
81
+ readonly 16: {
82
+ readonly width: 68;
83
+ readonly height: 32;
84
+ };
85
+ readonly 18: {
86
+ readonly width: 76.5;
87
+ readonly height: 36;
88
+ };
89
+ readonly 20: {
90
+ readonly width: 85;
91
+ readonly height: 40;
92
+ };
93
+ readonly 24: {
94
+ readonly width: 102;
95
+ readonly height: 48;
96
+ };
97
+ readonly 28: {
98
+ readonly width: 119;
99
+ readonly height: 56;
100
+ };
101
+ readonly 36: {
102
+ readonly width: 153;
103
+ readonly height: 72;
104
+ };
17
105
  };
18
106
  readonly WisePlatformPrimary: {
19
- readonly width: 205;
20
- readonly height: 24;
107
+ readonly 16: {
108
+ readonly width: 136;
109
+ readonly height: 16;
110
+ };
111
+ readonly 18: {
112
+ readonly width: 153;
113
+ readonly height: 18;
114
+ };
115
+ readonly 20: {
116
+ readonly width: 170;
117
+ readonly height: 20;
118
+ };
119
+ readonly 24: {
120
+ readonly width: 204;
121
+ readonly height: 24;
122
+ };
123
+ readonly 28: {
124
+ readonly width: 238;
125
+ readonly height: 28;
126
+ };
127
+ readonly 36: {
128
+ readonly width: 306;
129
+ readonly height: 36;
130
+ };
21
131
  };
22
132
  readonly WisePlatformSecondary: {
23
- readonly width: 94;
24
- readonly height: 46;
133
+ readonly 16: {
134
+ readonly width: 64;
135
+ readonly height: 32;
136
+ };
137
+ readonly 18: {
138
+ readonly width: 72;
139
+ readonly height: 36;
140
+ };
141
+ readonly 20: {
142
+ readonly width: 80;
143
+ readonly height: 40;
144
+ };
145
+ readonly 24: {
146
+ readonly width: 96;
147
+ readonly height: 48;
148
+ };
149
+ readonly 28: {
150
+ readonly width: 112;
151
+ readonly height: 56;
152
+ };
153
+ readonly 36: {
154
+ readonly width: 144;
155
+ readonly height: 72;
156
+ };
25
157
  };
26
158
  };
27
159
  export type LogoAssetName = keyof typeof logoAssetsDimensions;
@@ -1 +1 @@
1
- {"version":3,"file":"logo-assets.d.ts","sourceRoot":"","sources":["../../../src/logo/logo-assets.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;CAOvB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAO9D,wBAAgB,QAAQ,gCASvB;AAED,wBAAgB,QAAQ,gCASvB;AAED,wBAAgB,mBAAmB,gCASlC;AAED,wBAAgB,qBAAqB,gCASpC;AAED,wBAAgB,mBAAmB,gCASlC;AAED,wBAAgB,qBAAqB,gCASpC"}
1
+ {"version":3,"file":"logo-assets.d.ts","sourceRoot":"","sources":["../../../src/logo/logo-assets.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDvB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAY9D,wBAAgB,QAAQ,gCASvB;AAED,wBAAgB,QAAQ,gCASvB;AAED,wBAAgB,mBAAmB,gCASlC;AAED,wBAAgB,qBAAqB,gCASpC;AAED,wBAAgB,mBAAmB,gCASlC;AAED,wBAAgB,qBAAqB,gCASpC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "46.137.1",
3
+ "version": "46.138.0",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/src/i18n/uk.json CHANGED
@@ -16,6 +16,8 @@
16
16
  "neptune.DateLookup.selected": "вибрано",
17
17
  "neptune.DateLookup.twentyYears": "20 років",
18
18
  "neptune.DateLookup.year": "рік",
19
+ "neptune.Expander.collapseAriaLabel": "Згорнути",
20
+ "neptune.Expander.expandAriaLabel": "Розгорнути",
19
21
  "neptune.ExpressiveMoneyInput.currency.search.placeholder": "Вкажіть валюту / країну",
20
22
  "neptune.ExpressiveMoneyInput.currency.select.currency": "Виберіть валюту",
21
23
  "neptune.FlowNavigation.back": "назад до попереднього кроку",
@@ -1,7 +1,9 @@
1
1
  import { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
 
3
3
  import Logo, { LogoType, LogoDisplay, LogoFormat } from './Logo';
4
+ import type { LogoSize } from './Logo';
4
5
  import { withVariantConfig } from '../../.storybook/helpers';
6
+ import Body from '../body';
5
7
 
6
8
  /**
7
9
  * **Design guidance**: <a href="https://wise.design/foundations/logo" target="_blank">wise.design/foundations/logo</a>
@@ -25,6 +27,10 @@ const meta: Meta<typeof Logo> = {
25
27
  control: 'radio',
26
28
  options: Object.values(LogoFormat),
27
29
  },
30
+ size: {
31
+ control: 'radio',
32
+ options: [16, 18, 20, 24, 28, 36] satisfies LogoSize[],
33
+ },
28
34
  inverse: { control: { disable: true } },
29
35
  },
30
36
  parameters: {
@@ -162,6 +168,40 @@ export const SecondaryLockup: Story = {
162
168
  },
163
169
  };
164
170
 
171
+ /**
172
+ * Controls the height and width of the logo in pixels.
173
+ */
174
+ export const Sizes: Story = {
175
+ argTypes: {
176
+ size: { table: { disable: true } },
177
+ },
178
+ render: (args) => (
179
+ <div style={{ display: 'flex', gap: '2rem', alignItems: 'flex-end', padding: '2rem' }}>
180
+ {([16, 18, 20, 24, 28, 36] as const).map((size) => (
181
+ <div
182
+ key={size}
183
+ style={{
184
+ display: 'flex',
185
+ flexDirection: 'column',
186
+ alignItems: 'center',
187
+ gap: '0.5rem',
188
+ }}
189
+ >
190
+ <Logo {...args} size={size} />
191
+ <Body>{size}</Body>
192
+ </div>
193
+ ))}
194
+ </div>
195
+ ),
196
+ parameters: {
197
+ docs: {
198
+ source: {
199
+ code: `<Logo size={..} />`,
200
+ },
201
+ },
202
+ },
203
+ };
204
+
165
205
  /**
166
206
  * When `display` is `"compact"`, only the fast-flag mark is rendered regardless of type or other settings.
167
207
  */
@@ -1,7 +1,10 @@
1
1
  import { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
 
3
3
  import Logo, { LogoType } from '.';
4
+ import { LogoFormat } from './Logo';
5
+ import type { LogoSize } from './Logo';
4
6
  import { withVariantConfig } from '../../.storybook/helpers';
7
+ import Body from '../body';
5
8
 
6
9
  const meta: Meta<typeof Logo> = {
7
10
  component: Logo,
@@ -42,3 +45,51 @@ export const Responsive: Story = {
42
45
  render: () => <AllVariants />,
43
46
  ...withVariantConfig(['mobile']),
44
47
  };
48
+
49
+ const sizes: LogoSize[] = [16, 18, 20, 24, 28, 36];
50
+
51
+ export const Sizes = () => (
52
+ <div style={{ display: 'flex', flexDirection: 'column', gap: '3rem' }}>
53
+ {(['compact', 'full'] as const).map((display) => (
54
+ <div key={display} style={{ display: 'flex', gap: '2rem', alignItems: 'flex-end' }}>
55
+ {sizes.map((size) => (
56
+ <div
57
+ key={size}
58
+ style={{
59
+ display: 'flex',
60
+ flexDirection: 'column',
61
+ alignItems: 'center',
62
+ gap: '0.5rem',
63
+ }}
64
+ >
65
+ <Logo type="WISE" size={size} display={display} />
66
+ <Body>{size}</Body>
67
+ </div>
68
+ ))}
69
+ </div>
70
+ ))}
71
+ {[LogoType.WISE_BUSINESS, LogoType.WISE_PLATFORM].map((type) =>
72
+ [LogoFormat.PRIMARY_LOCKUP, LogoFormat.SECONDARY_LOCKUP].map((format) => (
73
+ <div
74
+ key={`${type}-${format}`}
75
+ style={{ display: 'flex', gap: '2rem', alignItems: 'flex-end' }}
76
+ >
77
+ {sizes.map((size) => (
78
+ <div
79
+ key={size}
80
+ style={{
81
+ display: 'flex',
82
+ flexDirection: 'column',
83
+ alignItems: 'center',
84
+ gap: '0.5rem',
85
+ }}
86
+ >
87
+ <Logo type={type} format={format} size={size} display="full" />
88
+ <Body>{size}</Body>
89
+ </div>
90
+ ))}
91
+ </div>
92
+ )),
93
+ )}
94
+ </div>
95
+ );
package/src/logo/Logo.tsx CHANGED
@@ -32,6 +32,8 @@ export enum LogoFormat {
32
32
  SECONDARY_LOCKUP = 'secondary-lockup',
33
33
  }
34
34
 
35
+ export type LogoSize = 16 | 18 | 20 | 24 | 28 | 36 | '16' | '18' | '20' | '24' | '28' | '36';
36
+
35
37
  export interface LogoProps {
36
38
  /** Extra classes applied to Logo */
37
39
  className?: string;
@@ -62,6 +64,11 @@ export interface LogoProps {
62
64
  * @default 'default'
63
65
  */
64
66
  format?: `${LogoFormat}`;
67
+ /**
68
+ * Controls the height and width of the logo in pixels.
69
+ * @default 24
70
+ */
71
+ size?: LogoSize;
65
72
  /**
66
73
  * Override default ({@link labelByType}) screen reader messages
67
74
  */
@@ -94,6 +101,7 @@ export default function Logo({
94
101
  type = 'WISE',
95
102
  format = 'default',
96
103
  display = 'responsive',
104
+ size = 24,
97
105
  'aria-label': ariaLabel,
98
106
  }: LogoProps) {
99
107
  const isScreenSm = !useScreenSize(Breakpoint.SMALL);
@@ -101,7 +109,9 @@ export default function Logo({
101
109
 
102
110
  const assetName = compact ? 'FastFlag' : getAssetName(type, format);
103
111
  const Asset = logoAssets[assetName];
104
- const { width, height } = logoAssetsDimensions[assetName];
112
+ const sizes = logoAssetsDimensions[assetName];
113
+ const { width, height } =
114
+ logoAssetsDimensions[assetName][Number(size) as keyof typeof sizes] ?? sizes[24];
105
115
 
106
116
  return (
107
117
  <span
@@ -1,17 +1,64 @@
1
1
  export const logoAssetsDimensions = {
2
- FastFlag: { width: 22, height: 24 },
3
- WiseLogo: { width: 94, height: 24 },
4
- WiseBusinessPrimary: { width: 210, height: 24 },
5
- WiseBusinessSecondary: { width: 97, height: 46 },
6
- WisePlatformPrimary: { width: 205, height: 24 },
7
- WisePlatformSecondary: { width: 94, height: 46 },
2
+ FastFlag: {
3
+ 16: { width: 16, height: 16 },
4
+ 18: { width: 18, height: 18 },
5
+ 20: { width: 20, height: 20 },
6
+ 24: { width: 24, height: 24 },
7
+ 28: { width: 28, height: 28 },
8
+ 36: { width: 36, height: 36 },
9
+ },
10
+ WiseLogo: {
11
+ 16: { width: 64, height: 16 },
12
+ 18: { width: 72, height: 18 },
13
+ 20: { width: 80, height: 20 },
14
+ 24: { width: 96, height: 24 },
15
+ 28: { width: 112, height: 28 },
16
+ 36: { width: 144, height: 36 },
17
+ },
18
+ WiseBusinessPrimary: {
19
+ 16: { width: 140, height: 16 },
20
+ 18: { width: 157.5, height: 18 },
21
+ 20: { width: 175, height: 20 },
22
+ 24: { width: 210, height: 24 },
23
+ 28: { width: 245, height: 28 },
24
+ 36: { width: 315, height: 36 },
25
+ },
26
+ WiseBusinessSecondary: {
27
+ 16: { width: 68, height: 32 },
28
+ 18: { width: 76.5, height: 36 },
29
+ 20: { width: 85, height: 40 },
30
+ 24: { width: 102, height: 48 },
31
+ 28: { width: 119, height: 56 },
32
+ 36: { width: 153, height: 72 },
33
+ },
34
+ WisePlatformPrimary: {
35
+ 16: { width: 136, height: 16 },
36
+ 18: { width: 153, height: 18 },
37
+ 20: { width: 170, height: 20 },
38
+ 24: { width: 204, height: 24 },
39
+ 28: { width: 238, height: 28 },
40
+ 36: { width: 306, height: 36 },
41
+ },
42
+ WisePlatformSecondary: {
43
+ 16: { width: 64, height: 32 },
44
+ 18: { width: 72, height: 36 },
45
+ 20: { width: 80, height: 40 },
46
+ 24: { width: 96, height: 48 },
47
+ 28: { width: 112, height: 56 },
48
+ 36: { width: 144, height: 72 },
49
+ },
8
50
  } as const;
9
51
 
10
52
  export type LogoAssetName = keyof typeof logoAssetsDimensions;
11
53
 
12
54
  function svgProps(name: LogoAssetName) {
13
- const { width, height } = logoAssetsDimensions[name];
14
- return { xmlns: 'http://www.w3.org/2000/svg', width, height, viewBox: `0 0 ${width} ${height}` };
55
+ const { width, height } = logoAssetsDimensions[name][24];
56
+ return {
57
+ xmlns: 'http://www.w3.org/2000/svg',
58
+ width: '100%',
59
+ height: '100%',
60
+ viewBox: `0 0 ${width} ${height}`,
61
+ };
15
62
  }
16
63
 
17
64
  export function FastFlag() {
package/src/ssr.test.tsx CHANGED
@@ -183,6 +183,7 @@ describe('Server side rendering', () => {
183
183
 
184
184
  // Override props in case of name collision.
185
185
  const overrideProps: Partial<Record<keyof ExposedLibraryItemsType, Record<string, unknown>>> = {
186
+ Logo: { size: 16 },
186
187
  ActionPrompt: { action: { label: 'Action', onClick: jest.fn(), href: '#' } },
187
188
  Alert: { children: undefined, message: 'Fluffy kittens', size: undefined },
188
189
  Card: { isExpanded: true },